Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 733 for clocks (0.12 sec)

  1. src/cmd/vendor/golang.org/x/sync/errgroup/errgroup.go

    	return &Group{cancel: cancel}, ctx
    }
    
    // Wait blocks until all function calls from the Go method have returned, then
    // returns the first non-nil error (if any) from them.
    func (g *Group) Wait() error {
    	g.wg.Wait()
    	if g.cancel != nil {
    		g.cancel(g.err)
    	}
    	return g.err
    }
    
    // Go calls the given function in a new goroutine.
    // It blocks until the new goroutine can be added without the number of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/ClassLoaderCache.java

    import javax.annotation.Nullable;
    import javax.annotation.concurrent.ThreadSafe;
    import java.util.UUID;
    import java.util.concurrent.locks.Lock;
    import java.util.concurrent.locks.ReentrantLock;
    
    @ThreadSafe
    @ServiceScope(Scope.Global.class)
    public class ClassLoaderCache {
        private final Lock lock = new ReentrantLock();
        private final Cache<ClassLoader, ClassLoaderDetails> classLoaderDetails;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_test.go

    	indexerFuncs   map[string]storage.IndexerFunc
    	clock          clock.WithTicker
    }
    
    type setupOption func(*setupOptions)
    
    func withDefaults(options *setupOptions) {
    	prefix := "/pods"
    
    	options.resourcePrefix = prefix
    	options.keyFunc = func(obj runtime.Object) (string, error) { return storage.NamespaceKeyFunc(prefix, obj) }
    	options.clock = clock.RealClock{}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 17K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultFileLockManager.java

             * on the information region and write our details (port and lock id) there, and then we release lock of information region.
             * That way other processes can read our details and ping us. That is important for {@link LockMode#OnDemand} mode.<br>
             * 2b. If we use shared lock, and we succeed in step 1., then we just hold the lock. We don't write anything to the information region
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:32 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/copyelim.go

    // A subsequent deadcode pass is needed to actually remove the copies.
    func copyelim(f *Func) {
    	phielim(f)
    
    	// loop of copyelimValue(v) process has been done in phielim() pass.
    	// Update block control values.
    	for _, b := range f.Blocks {
    		for i, v := range b.ControlValues() {
    			if v.Op == OpCopy {
    				b.ReplaceControl(i, v.Args[0])
    			}
    		}
    	}
    
    	// Update named values.
    	for _, name := range f.Names {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. pkg/kubelet/pod_workers_test.go

    	}
    }
    
    func (w *timeIncrementingWorkers) tick() {
    	w.lock.Lock()
    	defer w.lock.Unlock()
    	w.w.clock.(*clocktesting.FakePassiveClock).SetTime(w.w.clock.Now().Add(time.Second))
    }
    
    // createTimeIncrementingPodWorkers will guarantee that each call to UpdatePod and each worker goroutine invocation advances the clock by one second,
    // although multiple workers will advance the clock in an unpredictable order. Use to observe
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/func.go

    	f.freeValues = v
    }
    
    // NewBlock allocates a new Block of the given kind and places it at the end of f.Blocks.
    func (f *Func) NewBlock(kind BlockKind) *Block {
    	var b *Block
    	if f.freeBlocks != nil {
    		b = f.freeBlocks
    		f.freeBlocks = b.succstorage[0].b
    		b.succstorage[0].b = nil
    	} else {
    		ID := f.bid.get()
    		if int(ID) < len(f.Cache.blocks) {
    			b = &f.Cache.blocks[ID]
    			b.ID = ID
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  8. .github/workflows/slack-notifier.yml

                  "text": "<https://github.com/gradle/gradle/issues/${{ github.event.issue.number }}|[gradle/gradle#${{ github.event.issue.number }}]> `${{ github.event.issue.title }}` has label `${{ github.event.label.name }}`",
                  "blocks": [
                    {
                      "type": "section",
                      "text": {
                        "type": "mrkdwn",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/services/internal/DefaultBuildServicesRegistry.java

    import javax.annotation.Nullable;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.Set;
    import java.util.concurrent.locks.Lock;
    import java.util.concurrent.locks.ReentrantLock;
    import java.util.function.Function;
    import java.util.function.Supplier;
    
    import static org.gradle.api.services.internal.BuildServiceProvider.asBuildServiceProvider;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:45 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  10. pkg/controller/testutil/test_utils.go

    }
    
    // FakeRecorder is used as a fake during testing.
    type FakeRecorder struct {
    	sync.Mutex
    	source v1.EventSource
    	Events []*v1.Event
    	clock  clock.Clock
    }
    
    // Event emits a fake event to the fake recorder
    func (f *FakeRecorder) Event(obj runtime.Object, eventtype, reason, message string) {
    	f.generateEvent(obj, metav1.Now(), eventtype, reason, message)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top