Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 518 for clocks (0.19 sec)

  1. pkg/controlplane/controller/legacytokentracking/controller.go

    	// or disabled.
    	creationRatelimiter *rate.Limiter
    	clock               clock.Clock
    }
    
    // NewController returns a Controller struct.
    func NewController(cs kubernetes.Interface) *Controller {
    	return newController(cs, clock.RealClock{}, rate.NewLimiter(rate.Every(30*time.Minute), 1))
    }
    
    func newController(cs kubernetes.Interface, cl clock.Clock, limiter *rate.Limiter) *Controller {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_progress.go

    		clock:                clock,
    		requestWatchProgress: requestWatchProgress,
    		contextMetadata:      contextMetadata,
    	}
    	pr.cond = sync.NewCond(&pr.mux)
    	return pr
    }
    
    type WatchProgressRequester func(ctx context.Context) error
    
    type TickerFactory interface {
    	NewTimer(time.Duration) clock.Timer
    }
    
    // conditionalProgressRequester will request progress notification if there
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 09:56:38 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonClientServicesSupport.java

            return new TcpOutgoingConnector();
        }
    
        @Provides
        Clock createClock() {
            return Time.clock();
        }
    
        @Provides
        BuildOperationIdFactory createBuildOperationIdFactory() {
            return new DefaultBuildOperationIdFactory();
        }
    
        @Provides
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 09:21:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	startBucketID     int64
    	clock             clock.Clock
    	bookmarkFrequency time.Duration
    }
    
    func newTimeBucketWatchers(clock clock.Clock, bookmarkFrequency time.Duration) *watcherBookmarkTimeBuckets {
    	return &watcherBookmarkTimeBuckets{
    		watchersBuckets:   make(map[int64][]*cacheWatcher),
    		createTime:        clock.Now(),
    		startBucketID:     0,
    		clock:             clock,
    		bookmarkFrequency: bookmarkFrequency,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/check.go

    					bb := s.Block()
    					if ln.b2l[b.ID] == nil && ln.b2l[bb.ID] != nil && bb != ln.b2l[bb.ID].header {
    						f.Fatalf("block %s not in loop branches to non-header block %s in loop", b.String(), bb.String())
    					}
    					if ln.b2l[b.ID] != nil && ln.b2l[bb.ID] != nil && bb != ln.b2l[bb.ID].header && !ln.b2l[b.ID].isWithinOrEq(ln.b2l[bb.ID]) {
    						f.Fatalf("block %s in loop branches to non-header block %s in non-containing loop", b.String(), bb.String())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/operations/TestExecutionBuildOperationBuildSessionScopeServices.java

    import org.gradle.internal.time.Clock;
    
    public class TestExecutionBuildOperationBuildSessionScopeServices implements ServiceRegistrationProvider {
    
        @Provides
        TestListenerBuildOperationAdapter createTestListenerBuildOperationAdapter(BuildOperationListenerManager listener, BuildOperationIdFactory buildOperationIdFactory, Clock clock) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/worker/WorkerTestClassProcessor.java

    import org.gradle.internal.time.Clock;
    
    public class WorkerTestClassProcessor extends SuiteTestClassProcessor {
    
        public WorkerTestClassProcessor(TestClassProcessor processor, Object workerSuiteId, String workerDisplayName,
                                        Clock clock) {
            super(new WorkerTestSuiteDescriptor(workerSuiteId, workerDisplayName), processor, clock);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. src/runtime/mklockrank.go

    // (or, if b is held, a cannot be acquired).
    //
    // "NONE < a" means no locks may be held when a is acquired.
    //
    // If a lock is not given a rank, then it is assumed to be a leaf
    // lock, which means no other lock can be acquired while it is held.
    // Therefore, leaf locks do not need to be given an explicit rank.
    //
    // Ranks in all caps are pseudo-nodes that help define order, but do
    // not actually define a rank.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNgTestClassProcessorFactory.java

            this.suiteFiles = suiteFiles;
        }
    
        @Override
        public TestClassProcessor create(IdGenerator<?> idGenerator, ActorFactory actorFactory, Clock clock) {
            return new TestNGTestClassProcessor(testReportDir, options, suiteFiles, idGenerator, clock, actorFactory);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. src/runtime/mgc.go

    var work workType
    
    type workType struct {
    	full  lfstack          // lock-free list of full blocks workbuf
    	_     cpu.CacheLinePad // prevents false-sharing between full and empty
    	empty lfstack          // lock-free list of empty blocks workbuf
    	_     cpu.CacheLinePad // prevents false-sharing between empty and nproc/nwait
    
    	wbufSpans struct {
    		lock mutex
    		// free is a list of spans dedicated to workbufs, but
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
Back to top