Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for cleanAll (0.11 sec)

  1. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractFileLockManagerTest.groovy

        def "updateFile throws integrity exception when not cleanly unlocked file"() {
            given:
            unlockUncleanly()
    
            and:
            def lock = createLock(Exclusive)
    
            when:
            lock.updateFile {}
    
            then:
            thrown FileIntegrityViolationException
        }
    
        def "writeFile does not throw integrity exception when not cleanly unlocked file"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonStopState.java

    /**
     * Indicates the state of the daemon when it stops doing work.
     */
    public enum DaemonStopState {
        /**
         * Daemon was stopped cleanly and all work stopped.
         */
        Clean,
        /**
         * Daemon could not be stopped cleanly and some work may still be running.
         */
        Forced
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:45:11 UTC 2024
    - 953 bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonStateCoordinator.java

                                if (state != null) {
                                    // Could not cancel cleanly, so stop
                                    return state;
                                }
                                // Else, cancelled cleanly, so keep doing work
                                break;
                            case Broken:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. src/runtime/mpallocbits.go

    	}
    	_ = b[j/64]
    	// Clear leading bits.
    	b[i/64] &^= ^uint64(0) << (i % 64)
    	clear(b[i/64+1 : j/64])
    	// Clear trailing bits.
    	b[j/64] &^= (uint64(1) << (j%64 + 1)) - 1
    }
    
    // clearAll frees all the bits of b.
    func (b *pageBits) clearAll() {
    	clear(b[:])
    }
    
    // clearBlock64 clears the 64-bit aligned block of bits containing the i'th bit that
    // are set in v.
    func (b *pageBits) clearBlock64(i uint, v uint64) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 15:13:43 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. platforms/core-runtime/client-services/src/main/java/org/gradle/internal/daemon/client/clientinput/DaemonClientInputForwarder.java

        ) {
            this.userInput = userInput;
            // Use a single reader thread, and make it a daemon thread so that it does not block process shutdown
            // In most cases, we try to cleanly shut down all threads. However, in this case it is difficult to disconnect a thread blocked trying to read from the
            // process' stdin, so use a daemon thread instead.
            executor = Executors.newSingleThreadExecutor(r -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonProcessState.java

            this.stopState.set(stopState);
        }
    
        @Override
        public void close() {
            if (stopState.get() == DaemonStopState.Forced) {
                // The daemon could not be stopped cleanly, so the services could still be doing work.
                // Don't attempt to stop the services, just stop this process
                return;
            }
    
            // Daemon has finished work, so stop the services
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultPersistentDirectoryCache.java

                if (!lock.getUnlockedCleanly()) {
                    if (lock.getState().canDetectChanges() && !lock.getState().isInInitialState()) {
                        LOGGER.warn("Invalidating {} as it was not closed cleanly.", DefaultPersistentDirectoryCache.this);
                    }
                    return true;
                }
    
                if (!properties.isEmpty()) {
                    if (!propertiesFile.exists()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 19:20:15 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. pilot/pkg/xds/discovery.go

    func (s *DiscoveryServer) dropCacheForRequest(req *model.PushRequest) {
    	// If we don't know what updated, cannot safely cache. Clear the whole cache
    	if len(req.ConfigsUpdated) == 0 {
    		s.Cache.ClearAll()
    	} else {
    		// Otherwise, just clear the updated configs
    		s.Cache.Clear(req.ConfigsUpdated)
    	}
    }
    
    // Push is called to push changes on config updates using ADS.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 20:21:09 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolve/extensions/KtResolveExtension.kt

         *
         * Any files in the module that are included in this scope will be removed from analysis results. This allows the files provided by
         * [getKtFiles] to cleanly replace those files from the module.
         *
         * If this resolve extension is being used to generate declarations that would normally be provided by sources generated by an external
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultPersistentDirectoryCacheTest.groovy

            then:
            0 * _  // Does not call initialization action.
            dir.file("cache.properties").isFile()
            dir.file("some-file").isFile()
        }
    
        def "will rebuild cache if not unlocked cleanly"() {
            given:
            def dir = temporaryFolder.testDirectory.createDir("cache")
            def initialized = false
            def init = { initialized = true } as Consumer
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:40:49 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top