Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 235 for sweeping (0.33 sec)

  1. src/runtime/mgcscavenge.go

    	printControllerReset bool
    
    	// targetCPUFraction is the target CPU overhead for the scavenger.
    	targetCPUFraction float64
    
    	// sleepRatio is the ratio of time spent doing scavenging work to
    	// time spent sleeping. This is used to decide how long the scavenger
    	// should sleep for in between batches of work. It is set by
    	// critSleepController in order to maintain a CPU overhead of
    	// targetCPUFraction.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertFalse("Capable of acquiring an additional permit", r.tryAcquire());
        stopwatch.sleepMillis(Integer.MAX_VALUE);
        assertFalse("Capable of acquiring an additional permit after sleeping", r.tryAcquire());
      }
    
      public void testSimpleRateUpdate() {
        RateLimiter limiter = RateLimiter.create(5.0, 5, SECONDS);
        assertEquals(5.0, limiter.getRate());
        limiter.setRate(10.0);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertFalse("Capable of acquiring an additional permit", r.tryAcquire());
        stopwatch.sleepMillis(Integer.MAX_VALUE);
        assertFalse("Capable of acquiring an additional permit after sleeping", r.tryAcquire());
      }
    
      public void testSimpleRateUpdate() {
        RateLimiter limiter = RateLimiter.create(5.0, 5, SECONDS);
        assertEquals(5.0, limiter.getRate());
        limiter.setRate(10.0);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  4. platforms/core-runtime/instrumentation-agent-services/src/integTest/groovy/org/gradle/internal/instrumentation/agent/AgentApplicationTest.groovy

            then:
            agentWasApplied()
        }
    
        @Requires(
            value = IntegTestPreconditions.IsConfigCached,
            reason = "Tests the configuration cache behavior"
        )
        def "keeping agent status does not invalidate the configuration cache"() {
            def configurationCache = new ConfigurationCacheFixture(this)
            given:
            withDumpAgentStatusAtConfiguration()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. src/runtime/trace.go

    		racerelease(unsafe.Pointer(&s.lock))
    	}
    	unlock(&s.lock)
    }
    
    // close wakes any goroutine sleeping on the timer and prevents
    // further sleeping on it.
    //
    // Once close is called, the wakeableSleep must no longer be used.
    //
    // It must only be called once no goroutine is sleeping on the
    // timer *and* nothing else will call wake concurrently.
    func (s *wakeableSleep) close() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  6. src/go/ast/example_test.go

    	f, err := parser.ParseFile(fset, "src.go", src, parser.ParseComments)
    	if err != nil {
    		panic(err)
    	}
    
    	// Create an ast.CommentMap from the ast.File's comments.
    	// This helps keeping the association between comments
    	// and AST nodes.
    	cmap := ast.NewCommentMap(fset, f, f.Comments)
    
    	// Remove the first variable declaration from the list of declarations.
    	for i, decl := range f.Decls {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:44:50 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. cmd/metacache-bucket.go

    	// Test on a copy
    	// cleanup is the only one deleting caches.
    	caches, _ := b.cloneCaches()
    
    	for id, cache := range caches {
    		if !cache.worthKeeping() {
    			b.debugf("cache %s not worth keeping", id)
    			remove[id] = struct{}{}
    			continue
    		}
    		if cache.id != id {
    			logger.Info("cache ID mismatch %s != %s", id, cache.id)
    			remove[id] = struct{}{}
    			continue
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

    import org.slf4j.LoggerFactory;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * A {@link TransferListener} implementation that wraps another delegate {@link TransferListener} but makes it run
     * on single thread, keeping the listener logic simple. This listener also blocks on last transfer event to allow
     * output to perform possible cleanup. It spawns a daemon thread to consume queued events that may fall in even
     * concurrently.
     *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 20:50:56 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. src/unique/handle.go

    	}
    	m := ma.(*uniqueMap[T])
    
    	// Keep around any values we allocate for insertion. There
    	// are a few different ways we can race with other threads
    	// and create values that we might discard. By keeping
    	// the first one we make around, we can avoid generating
    	// more than one per racing thread.
    	var (
    		toInsert     *T // Keep this around to keep it alive.
    		toInsertWeak weak.Pointer[T]
    	)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.td

      "AreSplatValuesEqual<"# type #">($0, $1)">>;
    
    // Returns defining op of this value.
    def GetDefiningOp :  NativeCodeCall<"$0.getDefiningOp()">;
    
    // Clones an operation with new operands while keeping attributes.
    def CloneOpWithReplacedOperands : NativeCodeCall<
      "CloneOpWithReplacedOperands("
        "$_builder, $0, llvm::SmallVector<Value>{$1...}).front()">;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 08 04:55:44 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top