Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for shared_locks (0.14 sec)

  1. tensorflow/c/kernels_experimental.cc

          std::unique_ptr<std::vector<tensorflow::tf_shared_lock>> shared_locks)
          : vars(std::move(vars)),
            locks(std::move(locks)),
            shared_locks(std::move(shared_locks)) {}
    
      std::vector<tensorflow::Var*> vars;
      std::unique_ptr<std::vector<tensorflow::mutex_lock>> locks;
      std::unique_ptr<std::vector<tensorflow::tf_shared_lock>> shared_locks;
    };
    
    tensorflow::Status EnsureSparseVariableAccess(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/FixedSharedModeCrossProcessCacheAccessTest.groovy

            then:
            1 * lockManager.lock(file, lockOptions, "<cache>") >> sharedLock
            1 * initAction.requiresInitialization(sharedLock) >> false
    
            then:
            1 * onOpenAction.accept(sharedLock)
            0 * _
    
            when:
            cacheAccess.close()
    
            then:
            1 * onCloseAction.accept(sharedLock)
            1 * sharedLock.close()
            0 * _
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. cmd/shared-lock.go

    		case <-ctx.Done():
    		}
    
    		cancel()
    	}()
    	return ctx, cancel
    }
    
    func (ld sharedLock) GetLock(ctx context.Context) (context.Context, context.CancelFunc) {
    	l := <-ld.lockContext
    	return mergeContext(l.Context(), ctx)
    }
    
    func newSharedLock(ctx context.Context, objAPI ObjectLayer, lockName string) *sharedLock {
    	l := &sharedLock{
    		lockContext: make(chan LockContext),
    	}
    	go l.backgroundRoutine(ctx, objAPI, lockName)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 13 09:26:38 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultExclusiveCacheAccessCoordinatorTest.groovy

            1 * exclusiveLock.close()
    
            then:
            1 * lockManager.lock(lockFile, mode(Shared), "<display-name>") >> sharedLock
            1 * initializationAction.requiresInitialization(sharedLock) >> false
            _ * sharedLock.state
            0 * _._
        }
    
        def "initializes cache on open when lock mode is exclusive"() {
            def access = newAccess(Exclusive)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 24K bytes
    - Viewed (0)
  5. cmd/globals.go

    	globalDNSConfig dns.Store
    
    	// GlobalKMS initialized KMS configuration
    	GlobalKMS *kms.KMS
    
    	// Common lock for various subsystems performing the leader tasks
    	globalLeaderLock *sharedLock
    
    	// Auto-Encryption, if enabled, turns any non-SSE-C request
    	// into an SSE-S3 request. If enabled a valid, non-empty KMS
    	// configuration must be present.
    	globalAutoEncryption bool
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top