Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 392 for Mutation (0.15 sec)

  1. cmd/namespace-lock.go

    	lockMap       map[string]*nsLock
    	lockMapMutex  sync.Mutex
    }
    
    // Lock the namespace resource.
    func (n *nsLockMap) lock(ctx context.Context, volume string, path string, lockSource, opsID string, readLock bool, timeout time.Duration) (locked bool) {
    	resource := pathJoin(volume, path)
    
    	n.lockMapMutex.Lock()
    	nsLk, found := n.lockMap[resource]
    	if !found {
    		nsLk = &nsLock{
    			LRWMutex: lsync.NewLRWMutex(),
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. internal/config/identity/openid/jwt.go

    )
    
    func updateClaimsExpiry(dsecs string, claims map[string]interface{}) error {
    	expStr := claims["exp"]
    	if expStr == "" {
    		return ErrTokenExpired
    	}
    
    	// No custom duration requested, the claims can be used as is.
    	if dsecs == "" {
    		return nil
    	}
    
    	if _, err := auth.ExpToInt64(expStr); err != nil {
    		return err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 02:46:36 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. cmd/ftp-server-driver.go

    	var errStr string
    	if err != nil {
    		errStr = err.Error()
    	}
    	return madmin.TraceInfo{
    		TraceType: madmin.TraceFTP,
    		Time:      startTime,
    		NodeName:  globalLocalNodeName,
    		FuncName:  s.Cmd,
    		Duration:  time.Since(startTime),
    		Path:      objPath,
    		Error:     errStr,
    		Bytes:     sz,
    		Custom: map[string]string{
    			"user":   s.Sess.LoginUser(),
    			"cmd":    s.Cmd,
    			"param":  s.Param,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. CHANGELOG.md

        We'd prefer a multiplatform HTTP client API that's backed by OkHttp on Android and JVM, and
        other engines on other platforms. [Ktor] does this pretty well today!
    
     *  Breaking: Use `kotlin.time.Duration` in APIs like `OkHttpClient.Builder.callTimeout()`. This
        update also drops support for the `DurationUnit` functions introduced in earlier alpha releases
        of OkHttp 5.
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:31:39 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/Chars.java

        for (int i = fromIndex, j = toIndex - 1; i < j; i++, j--) {
          char tmp = array[i];
          array[i] = array[j];
          array[j] = tmp;
        }
      }
    
      /**
       * Performs a right rotation of {@code array} of "distance" places, so that the first element is
       * moved to index "distance", and the element at index {@code i} ends up at index {@code (distance
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  6. okhttp/api/okhttp.api

    	public final fun callTimeout (Ljava/time/Duration;)Lokhttp3/OkHttpClient$Builder;
    	public final fun callTimeout-LRDsOJo (J)Lokhttp3/OkHttpClient$Builder;
    	public final fun certificatePinner (Lokhttp3/CertificatePinner;)Lokhttp3/OkHttpClient$Builder;
    	public final fun connectTimeout (JLjava/util/concurrent/TimeUnit;)Lokhttp3/OkHttpClient$Builder;
    	public final fun connectTimeout (Ljava/time/Duration;)Lokhttp3/OkHttpClient$Builder;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Ints.java

        for (int i = fromIndex, j = toIndex - 1; i < j; i++, j--) {
          int tmp = array[i];
          array[i] = array[j];
          array[j] = tmp;
        }
      }
    
      /**
       * Performs a right rotation of {@code array} of "distance" places, so that the first element is
       * moved to index "distance", and the element at index {@code i} ends up at index {@code (distance
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  8. cmd/local-locker.go

    			}
    		}
    	}
    }
    
    // Similar to removeEntry but only removes an entry only if the lock entry exists in map.
    // Caller must hold 'l.mutex' lock.
    func (l *localLocker) expireOldLocks(interval time.Duration) {
    	l.mutex.Lock()
    	defer l.mutex.Unlock()
    
    	for k, lris := range l.lockMap {
    		modified := false
    		for i := 0; i < len(lris); {
    			lri := &lris[i]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. cmd/signature-v4-parser_test.go

    		}
    	}
    }
    
    // TestParsePreSignV4 - Validates the parsing logic of Presignied v4 request from its url query values.
    func TestParsePreSignV4(t *testing.T) {
    	// converts the duration in seconds into string format.
    	getDurationStr := strconv.Itoa
    
    	// used in expected preSignValues, preSignValues.Date is of type time.Time .
    	queryTime := UTCNow()
    
    	sampleTimeStr := UTCNow().Format(yyyymmdd)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  10. cmd/data-usage-cache.go

    func (d *dataUsageCache) load(ctx context.Context, store objectIO, name string) error {
    	// By default, empty data usage cache
    	*d = dataUsageCache{}
    
    	load := func(name string, timeout time.Duration) (bool, error) {
    		// Abandon if more than time.Minute, so we don't hold up scanner.
    		// drive timeout by default is 2 minutes, we do not need to wait longer.
    		ctx, cancel := context.WithTimeout(ctx, timeout)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
Back to top