Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for statx (0.06 sec)

  1. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/InputTrackingStateTest.kt

            assertFalse(state.isEnabledForCurrentThread())
    
            state.restoreForCurrentThread() // Revert call at <1>, restore to "enabled" state
            assertTrue(state.isEnabledForCurrentThread())
        }
    
        @Test
        fun `disable and restore calls can be mixed non-trivially`() {
            val state = InputTrackingState()
            state.disableForCurrentThread() // <1>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. src/sync/waitgroup.go

    	if race.Enabled {
    		race.Disable()
    	}
    	for {
    		state := wg.state.Load()
    		v := int32(state >> 32)
    		w := uint32(state)
    		if v == 0 {
    			// Counter is 0, no need to wait.
    			if race.Enabled {
    				race.Enable()
    				race.Acquire(unsafe.Pointer(wg))
    			}
    			return
    		}
    		// Increment waiters count.
    		if wg.state.CompareAndSwap(state, state+1) {
    			if race.Enabled && w == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDebugLogIntegrationTest.groovy

            events.contains([profile: "build ':' state", type: "O", frame: "Gradle"])
            events.contains([profile: "build ':' state", type: "O", frame: "Work Graph"])
    
            and: "state frame events are logged"
            events.contains([profile: "build ':' state", type: "O", frame: ":ok"])
            events.contains([profile: "build ':' state", type: "C", frame: ":ok"])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. src/sync/mutex.go

    // in a particular use of mutexes.
    func (m *Mutex) TryLock() bool {
    	old := m.state
    	if old&(mutexLocked|mutexStarving) != 0 {
    		return false
    	}
    
    	// There may be a goroutine waiting for the mutex, but we are
    	// running now and can try to grab the mutex before that
    	// goroutine wakes up.
    	if !atomic.CompareAndSwapInt32(&m.state, old, old|mutexLocked) {
    		return false
    	}
    
    	if race.Enabled {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. src/runtime/coro.go

    	//
    	// The rules with thread-lock interactions are simple. When a coro goroutine is switched to,
    	// the same thread must be used, and the locked state must match with the thread-lock state of
    	// the goroutine which called newcoro. Thread-lock state consists of the thread and the number
    	// of internal (cgo callback, etc.) and external (LockOSThread) thread locks.
    	locked := gp.lockedm != 0
    	if c.mp != nil || locked {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:18 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheHost.kt

            gradle.services.getFactory(serviceType)
    
        private
        class DefaultVintageGradleBuild(override val state: BuildState) : VintageGradleBuild {
            override val isRootBuild: Boolean
                get() = state is RootBuildState
    
            override val gradle: GradleInternal
                get() = state.mutableModel
    
            override val hasScheduledWork: Boolean
                get() = gradle.taskGraph.size() > 0
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/IsolatedCodecs.kt

            writeSmallInt(value.factoryId)
            write(value.state)
        }
    
        override suspend fun ReadContext.decode(): IsolatedManagedValue {
            val targetType = readClass()
            val factoryId = readSmallInt()
            val state = readNonNull<Isolatable<Any>>()
            return IsolatedManagedValue(targetType, managedFactory.lookup(factoryId), state)
        }
    }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/InputTrackingState.kt

            ++inputTrackingDisabledCounterForThread
        }
    
        /**
         * Restores the input tracking state to the state it was in before the last call to
         * [disableForCurrentThread].
         */
        fun restoreForCurrentThread() {
            Preconditions.checkState(inputTrackingDisabledCounterForThread > 0, "Restore input tracking state without prior disable is detected")
            --inputTrackingDisabledCounterForThread
        }
    }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/initialization/ConfigurationCacheStartParameter.kt

         * This is because the builders are executed after the tasks (if any) in a build action,
         * and these builders may access project state as well as the task state.
         * Doing load-after-store would have discarded the project state and isolated the task state,
         * providing the builders with an incomplete view of the build.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. docs/site-replication/run-ssec-object-replication-with-compression.sh

    if [ "${repcount3}" -ne 1 ]; then
    	echo "BUG: object test-bucket/defpartsize not replicated"
    	exit_1
    fi
    
    # Stat the SSEC objects from source site
    echo "Stat minio1/test-bucket/encrypted"
    ./mc stat minio1/test-bucket/encrypted --enc-c "minio1/test-bucket/encrypted=${TEST_MINIO_ENC_KEY}" --insecure --json
    stat_out1=$(./mc stat minio1/test-bucket/encrypted --enc-c "minio1/test-bucket/encrypted=${TEST_MINIO_ENC_KEY}" --insecure --json)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top