Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for cleanAll (0.18 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/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)
  3. 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)
  4. 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)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

       */
      inner class FramingSource internal constructor(
        /** Maximum number of bytes to buffer before reporting a flow control error. */
        private val maxByteCount: Long,
        /**
         * True if either side has cleanly shut down this stream. We will receive no more bytes beyond
         * those already in the buffer.
         */
        internal var finished: Boolean,
      ) : Source {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_tf.cc

    // Patterns whose root op is in the set `include_ops` are moved from the set
    // `from` to the returned set. This is used to partition patterns by op so they
    // can be cleanly migrated from the old bridge to the MLIR bridge.
    RewritePatternSet PatternsIncludeOps(RewritePatternSet &from) {
      RewritePatternSet to(from.getContext());
      // Filter NativePatterns.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonStateCoordinatorTest.groovy

            }
    
            and:
            stopped
    
            and:
            1 * onStartCommand.run()
            0 * _._
        }
    
        def "multiple stop requests are handled cleanly"() {
            Runnable command = Mock()
    
            when:
            coordinator.runCommand(command, "some command")
    
            then:
            1 * command.run() >> {
                assert busy
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  8. pilot/pkg/model/endpointshards.go

    	for svc, shardsByNamespace := range e.shardsBySvc {
    		for ns := range shardsByNamespace {
    			e.deleteServiceInner(shardKey, svc, ns, false)
    		}
    	}
    	if e.cache == nil {
    		return
    	}
    	e.cache.ClearAll()
    }
    
    // must be called with lock
    func (e *EndpointIndex) deleteServiceInner(shard ShardKey, serviceName, namespace string, preserveKeys bool) {
    	if e.shardsBySvc[serviceName] == nil ||
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/config.go

    		// Without this callback, if a user runs just the "upload"
    		// command without a subcommand, or with an invalid subcommand,
    		// cobra will print usage information, but still exit cleanly.
    		// We want to return an error code in these cases so that the
    		// user knows that their command was invalid.
    		Run: cmdutil.SubCmdRun(),
    	}
    
    	options.AddKubeConfigFlag(cmd.PersistentFlags(), &kubeConfigFile)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultFileLockManager.java

            private void assertOpenAndIntegral() {
                assertOpen();
                if (lockState.isDirty()) {
                    throw new FileIntegrityViolationException(String.format("The file '%s' was not unlocked cleanly", target));
                }
            }
    
            @Override
            public void close() {
                CompositeStoppable stoppable = new CompositeStoppable();
                stoppable.add((Stoppable) () -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:32 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top