Home
last modified time | relevance | path

Searched refs:stateSize (Results 1 – 4 of 4) sorted by relevance

/external/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/scheduler/
DStatefulAwaitsBenchmark.kt49 private val stateSize = 2048 constant
65 …state = Array(Runtime.getRuntime().availableProcessors() * 4) { LongArray(stateSize) { ThreadLocal… in setup()
111 for (i in 0 until stateSize) { in launchJob()
/external/freetype/src/gxvalid/
Dgxvcommn.c944 FT_UShort stateSize, in gxv_ClassTable_validate() argument
993 if ( classID >= stateSize ) in gxv_ClassTable_validate()
1003 for ( i = 0; i < stateSize; i++ ) in gxv_ClassTable_validate()
1010 stateSize, *maxClassID_p )); in gxv_ClassTable_validate()
1021 FT_UShort stateSize, in gxv_StateArray_validate() argument
1031 FT_UNUSED( stateSize ); /* for the non-debugging case */ in gxv_StateArray_validate()
1037 (int)(*length_p), stateSize, (int)(maxClassID) )); in gxv_StateArray_validate()
1212 FT_UShort stateSize; in gxv_StateTable_validate() local
1234 stateSize = FT_NEXT_USHORT( p ); in gxv_StateTable_validate()
1239 GXV_TRACE(( "stateSize=0x%04x\n", stateSize )); in gxv_StateTable_validate()
[all …]
/external/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/scheduler/actors/
DConcurrentStatefulActorBenchmark.kt62 var stateSize: Int = -1 variable in benchmarks.scheduler.actors.ConcurrentStatefulActorBenchmark
70 val computations = (0 until CORES_COUNT).map { computationActor(stateSize) } in <lambda>()
79 val computations = (0 until CORES_COUNT).map { computationActor(stateSize) } in <lambda>()
DStatefulActorBenchmark.kt101 fun CoroutineScope.computationActor(stateSize: Int = STATE_SIZE) = in computationActor()
103 val coefficients = LongArray(stateSize) { ThreadLocalRandom.current().nextLong(0, 100) } in computationActor()