Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for readOperation (0.35 sec)

  1. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Running.kt

    import kotlin.coroutines.startCoroutine
    
    
    /**
     * Runs the given [readOperation] synchronously.
     */
    fun <T : ReadContext, R> T.runReadOperation(readOperation: suspend T.() -> R): R {
        contract {
            callsInPlace(readOperation, InvocationKind.EXACTLY_ONCE)
        }
        return runToCompletion {
            readOperation()
        }
    }
    
    
    /**
     * Runs the given [writeOperation] synchronously.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 20:48:51 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheIO.kt

            inputStream: InputStream,
            readOperation: suspend DefaultReadContext.(Codecs) -> R
        ): R =
            readerContextFor(inputStream).let { (context, codecs) ->
                context.use {
                    context.run {
                        initClassLoader(javaClass.classLoader)
                        runReadOperation {
                            readOperation(codecs)
                        }.also {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. src/internal/trace/traceviewer/static/trace_viewer_full.html

    prevStats.other_transfer_count;stats.bytes_other_per_sec=bytesTransfer/timeIntervalSeconds;}
    if(statName==='read_operation_count'){const readOperation=stats.read_operation_count-
    prevStats.read_operation_count;stats.read_operation_per_sec=readOperation/timeIntervalSeconds;}
    if(statName==='write_operation_count'){const writeOperation=stats.write_operation_count-
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (0)
Back to top