Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 117 for pickers (0.29 sec)

  1. internal/dsync/drwmutex.go

    func (dm *DRWMutex) lockBlocking(ctx context.Context, lockLossCallback func(), id, source string, isReadLock bool, opts Options) (locked bool) {
    	restClnts, _ := dm.clnt.GetLockers()
    
    	// Create lock array to capture the successful lockers
    	locks := make([]string, len(restClnts))
    
    	// Add total timeout
    	ctx, cancel := context.WithTimeout(ctx, opts.Timeout)
    	defer cancel()
    
    	// Tolerance is not set, defaults to half of the locker clients.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  2. internal/bucket/bandwidth/monitor.go

    	bucketsThrottle    map[BucketOptions]*bucketThrottle
    	bucketsMeasurement map[BucketOptions]*bucketMeasurement // Buckets with objects in flight
    
    	bucketMovingAvgTicker *time.Ticker    // Ticker for calculating moving averages
    	ctx                   context.Context // Context for generate
    	NodeCount             uint64
    }
    
    // NewMonitor returns a monitor with defaults.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

          @Override
          public String toString() {
            return string;
          }
        };
      }
    
      @Generates
      Ticker generateTicker() {
        return new Ticker() {
          @Override
          public long read() {
            return 0;
          }
    
          final String string = paramString(Ticker.class, generateInt());
    
          @Override
          public String toString() {
            return string;
          }
        };
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
  4. cni/pkg/install/install_test.go

    				t.Fatal(err)
    			}
    
    			// Listen for isReady to be set to true
    			ticker := time.NewTicker(500 * time.Millisecond)
    			defer ticker.Stop()
    			readyChan := make(chan bool)
    			go func(ctx context.Context, tick <-chan time.Time) {
    				for {
    					select {
    					case <-ctx.Done():
    						return
    					case <-tick:
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

        assertEquals("valueStrength", a.valueStrength, b.valueStrength);
        assertEquals("statsCounterSupplier", a.statsCounterSupplier, b.statsCounterSupplier);
        assertEquals("ticker", a.ticker, b.ticker);
        assertEquals("recordStats", a.isRecordingStats(), b.isRecordingStats());
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.2K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

        sslSocket: SSLSocket,
        hostname: String?,
        protocols: List<Protocol>,
      ) {
        // No TLS extensions if the socket class is custom.
        if (matchesSocket(sslSocket)) {
          try {
            // Enable session tickets.
            setUseSessionTickets.invoke(sslSocket, true)
    
            // Assume platform support on 24+
            if (hostname != null && Build.VERSION.SDK_INT <= 23) {
              // This is SSLParameters.setServerNames() in API 24+.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt

      override fun configureTlsExtensions(
        sslSocket: SSLSocket,
        hostname: String?,
        protocols: List<@JvmSuppressWildcards Protocol>,
      ) {
        if (Conscrypt.isConscrypt(sslSocket)) {
          // Enable session tickets.
          Conscrypt.setUseSessionTickets(sslSocket, true)
    
          // Enable ALPN.
          val names = alpnProtocolNames(protocols)
          Conscrypt.setApplicationProtocols(sslSocket, names.toTypedArray())
        } else {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  8. internal/config/identity/plugin/config.go

    }
    
    var (
    	healthCheckInterval = 1 * time.Minute
    	healthCheckTimeout  = 5 * time.Second
    )
    
    func (o *AuthNPlugin) doPeriodicHealthCheck() {
    	ticker := time.NewTicker(healthCheckInterval)
    	defer ticker.Stop()
    
    	for {
    		select {
    		case <-ticker.C:
    			now := time.Now()
    			isConnected := o.checkConnectivity(o.shutdownCtx)
    			if isConnected {
    				o.serviceMetrics.setConnSuccess(now)
    			} else {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.3K bytes
    - Viewed (3)
  9. internal/crypto/key.go

    // UnsealETag unseals the etag using the provided object key.
    // It does not try to decrypt the ETag if len(etag) == 16
    // because such ETags indicate that the S3 client hasn't sent
    // an ETag = MD5(object) and the backend has picked an ETag value.
    func (key ObjectKey) UnsealETag(etag []byte) ([]byte, error) {
    	if !IsETagSealed(etag) {
    		return etag, nil
    	}
    	mac := hmac.New(sha256.New, key[:])
    	mac.Write([]byte("SSE-etag"))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 19 20:28:10 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(com.google.common.base.Optional.class, com.google.common.base.Optional.absent())
              .put(Predicate.class, Predicates.alwaysTrue())
              .put(Equivalence.class, Equivalence.equals())
              .put(Ticker.class, Ticker.systemTicker())
              .put(Stopwatch.class, Stopwatch.createUnstarted())
              // io types
              .put(InputStream.class, new ByteArrayInputStream(new byte[0]))
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 21K bytes
    - Viewed (1)
Back to top