Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for borrowed (0.17 sec)

  1. internal/jwt/parser.go

    	return HashBorrower{pool: &s.HasherPool, borrowed: make([]hash.Hash, 0, 2)}
    }
    
    // HashBorrower keeps track of borrowed hashers and allows to return them all.
    type HashBorrower struct {
    	pool     *sync.Pool
    	borrowed []hash.Hash
    }
    
    // Borrow a single hasher.
    func (h *HashBorrower) Borrow() hash.Hash {
    	hasher := h.pool.Get().(hash.Hash)
    	h.borrowed = append(h.borrowed, hasher)
    	hasher.Reset()
    	return hasher
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. internal/dsync/dsync_test.go

    		t.Fatal("Unlock timed out, which should not happen")
    	case <-timer.C:
    	}
    }
    
    // Borrowed from mutex_test.go
    func HammerMutex(m *DRWMutex, loops int, cdone chan bool) {
    	for i := 0; i < loops; i++ {
    		m.Lock(id, source)
    		m.Unlock(context.Background())
    	}
    	cdone <- true
    }
    
    // Borrowed from mutex_test.go
    func TestMutex(t *testing.T) {
    	loops := 200
    	if testing.Short() {
    		loops = 5
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 14:35:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. cmd/healthcheck-handler.go

    			case http.MethodGet:
    				writeErrorResponse(r.Context(), w, toAPIError(r.Context(), err), r.URL)
    			}
    			return
    		}
    	}
    
    	if globalEtcdClient != nil {
    		// Borrowed from
    		// https://github.com/etcd-io/etcd/blob/main/etcdctl/ctlv3/command/ep_command.go#L118
    		ctx, cancel := context.WithTimeout(r.Context(), defaultContextTimeout)
    		defer cancel()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 26 07:44:34 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/flowcontrol/v1beta3/generated.proto

      optional LimitResponse limitResponse = 2;
    
      // `lendablePercent` prescribes the fraction of the level's NominalCL that
      // can be borrowed by other priority levels. The value of this
      // field must be between 0 and 100, inclusive, and it defaults to 0.
      // The number of seats that other levels can borrow from this level, known
      // as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.
      //
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/flowcontrol/v1beta1/generated.proto

      optional LimitResponse limitResponse = 2;
    
      // `lendablePercent` prescribes the fraction of the level's NominalCL that
      // can be borrowed by other priority levels. The value of this
      // field must be between 0 and 100, inclusive, and it defaults to 0.
      // The number of seats that other levels can borrow from this level, known
      // as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.
      //
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  6. docs/sts/web-identity.md

    | :--        | :--      |
    | *Type*     | *String* |
    | *Required* | *No*     |
    
    ### Version
    
    Indicates STS API version information, the only supported value is '2011-06-15'. This value is borrowed from AWS STS API documentation for compatibility reasons.
    
    | Params     | Value    |
    | :--        | :--      |
    | *Type*     | *String* |
    | *Required* | *Yes*    |
    
    ### DurationSeconds
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/flowcontrol/v1alpha1/generated.proto

      optional LimitResponse limitResponse = 2;
    
      // `lendablePercent` prescribes the fraction of the level's NominalCL that
      // can be borrowed by other priority levels. The value of this
      // field must be between 0 and 100, inclusive, and it defaults to 0.
      // The number of seats that other levels can borrow from this level, known
      // as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.
      //
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/flowcontrol/v1beta2/generated.proto

      optional LimitResponse limitResponse = 2;
    
      // `lendablePercent` prescribes the fraction of the level's NominalCL that
      // can be borrowed by other priority levels. The value of this
      // field must be between 0 and 100, inclusive, and it defaults to 0.
      // The number of seats that other levels can borrow from this level, known
      // as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.
      //
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. docs/sts/ldap.md

    | _Required_           | _Yes_                                          |
    
    ### Version
    
    Indicates STS API version information, the only supported value is '2011-06-15'.  This value is borrowed from AWS STS API documentation for compatibility reasons.
    
    | Params     | Value    |
    | :--        | :--      |
    | _Type_     | _String_ |
    | _Required_ | _Yes_    |
    
    ### DurationSeconds
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  10. cmd/sts-handlers.go

    		return
    	}
    
    	ctx = newContext(r, w, action)
    
    	// Validate the authentication result here so that failures will be audit-logged.
    	if apiErrCode != ErrNone {
    		stsErr := apiToSTSError(apiErrCode)
    		// Borrow the description error from the API error code
    		writeSTSErrorResponse(ctx, w, stsErr, errors.New(errorCodes[apiErrCode].Description))
    		return
    	}
    
    	if err := claims.populateSessionPolicy(r.Form); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 33.9K bytes
    - Viewed (0)
Back to top