Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 149 for plucker (0.15 sec)

  1. cmd/local-locker.go

    	}
    	return lockCopy
    }
    
    func (l *localLocker) Close() error {
    	return nil
    }
    
    // IsOnline - local locker is always online.
    func (l *localLocker) IsOnline() bool {
    	return true
    }
    
    // IsLocal - local locker returns true.
    func (l *localLocker) IsLocal() bool {
    	return true
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. src/sync/rwmutex.go

    	return r < 0 && r+rwmutexMaxReaders > 0
    }
    
    // RLocker returns a [Locker] interface that implements
    // the [RWMutex.Lock] and [RWMutex.Unlock] methods by calling rw.RLock and rw.RUnlock.
    func (rw *RWMutex) RLocker() Locker {
    	return (*rlocker)(rw)
    }
    
    type rlocker RWMutex
    
    func (r *rlocker) Lock()   { (*RWMutex)(r).RLock() }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_interval.go

    	// possible, Locker obtained through RLocker() is provided.
    	lock sync.Locker
    }
    
    type attrFunc func(runtime.Object) (labels.Set, fields.Set, error)
    type indexerFunc func(int) *watchCacheEvent
    type indexValidator func(int) bool
    
    func newCacheInterval(startIndex, endIndex int, indexer indexerFunc, indexValidator indexValidator, locker sync.Locker) *watchCacheInterval {
    	return &watchCacheInterval{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/caching/internal/services/DefaultBuildCacheControllerFactory.java

            TemporaryFileProvider temporaryFileProvider,
            BuildCacheEntryPacker packer
        ) {
            super(
                startParameter,
                buildOperationRunner,
                originMetadataFactory,
                stringInterner
            );
            this.temporaryFileProvider = temporaryFileProvider;
            this.packer = packer;
            this.buildOperationProgressEmitter = buildOperationProgressEmitter;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 17:08:26 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. platforms/core-execution/build-cache/src/test/groovy/org/gradle/caching/internal/controller/DefaultBuildCacheControllerPackOperationExecutorTest.groovy

        def packer = Mock(BuildCacheEntryPacker)
        def originFactory = Mock(OriginMetadataFactory)
        def stringInterner = new StringInterner()
        def buildOperationContext = Mock(BuildOperationContext)
        def buildOperationRunner = Mock(BuildOperationRunner)
        PackOperationExecutor packOperationExecutor = new PackOperationExecutor(buildOperationRunner, packer, originFactory, stringInterner)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/DefaultBuildCacheController.java

            private final BuildOperationRunner buildOperationRunner;
            private final BuildCacheEntryPacker packer;
            private final OriginMetadataFactory originMetadataFactory;
            private final Interner<String> stringInterner;
    
            PackOperationExecutor(BuildOperationRunner buildOperationRunner, BuildCacheEntryPacker packer, OriginMetadataFactory originMetadataFactory, Interner<String> stringInterner) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 14K bytes
    - Viewed (0)
  7. src/sync/cond.go

    type Cond struct {
    	noCopy noCopy
    
    	// L is held while observing or changing the condition
    	L Locker
    
    	notify  notifyList
    	checker copyChecker
    }
    
    // NewCond returns a new Cond with Locker l.
    func NewCond(l Locker) *Cond {
    	return &Cond{L: l}
    }
    
    // Wait atomically unlocks c.L and suspends execution
    // of the calling goroutine. After later resuming execution,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. cmd/callhome.go

    	// Make sure only 1 callhome is running on the cluster.
    	locker := objAPI.NewNSLock(minioMetaBucket, "callhome/runCallhome.lock")
    	lkctx, err := locker.GetLock(ctx, callhomeLeaderLockTimeout)
    	if err != nil {
    		// lock timedout means some other node is the leader,
    		// cycle back return 'true'
    		return true
    	}
    
    	ctx = lkctx.Context()
    	defer locker.Unlock(lkctx)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 16:53:34 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. tests/query_test.go

    func TestPluck(t *testing.T) {
    	users := []*User{
    		GetUser("pluck-user1", Config{}),
    		GetUser("pluck-user2", Config{}),
    		GetUser("pluck-user3", Config{}),
    	}
    
    	DB.Create(&users)
    
    	var names []string
    	if err := DB.Model(User{}).Where("name like ?", "pluck-user%").Order("name").Pluck("name", &names).Error; err != nil {
    		t.Errorf("got error when pluck name: %v", err)
    	}
    
    	var names2 []string
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectMethod.java

            replaceBody(new SendFileContents(file), null);
            return this;
        }
    
        private void replaceBody(ResponseProducer producer, BlockingRequest blocker) {
            this.responseBody = producer;
            this.blockingRequest = blocker;
        }
    
        @Override
        public void writeTo(int requestId, HttpExchange exchange) throws IOException {
            producer.writeTo(requestId, exchange);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top