Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 202 for shorterOf (0.16 sec)

  1. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook/webhook.go

    		result *authenticationv1.TokenReview
    		auds   authenticator.Audiences
    		cancel context.CancelFunc
    	)
    
    	// set a hard timeout if it was defined
    	// if the child has a shorter deadline then it will expire first,
    	// otherwise if the parent has a shorter deadline then the parent will expire and it will be propagate to the child
    	if w.requestTimeout > 0 {
    		ctx, cancel = context.WithTimeout(ctx, w.requestTimeout)
    		defer cancel()
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 18 00:47:42 UTC 2022
    - 11.5K bytes
    - Viewed (0)
  2. src/crypto/x509/pkcs8_test.go

    //
    // Note that OpenSSL will truncate the private key if it can (i.e. it emits it
    // like an integer, even though it's an OCTET STRING field). Thus if you
    // regenerate this you may, randomly, find that it's a byte shorter than
    // expected and the Go test will fail to recreate it exactly.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 19 16:45:10 UTC 2022
    - 9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/aes/aes.go

    func (t *gcm) TransformFromStorage(ctx context.Context, data []byte, dataCtx value.Context) ([]byte, bool, error) {
    	nonceSize := t.aead.NonceSize()
    	if len(data) < nonceSize {
    		return nil, false, errors.New("the stored data was shorter than the required size")
    	}
    	result, err := t.aead.Open(nil, data[:nonceSize], data[nonceSize:], dataCtx.AuthenticatedData())
    	return result, false, err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 19:25:52 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_load_badchain.txt

    ! go get example.com/badchain/a
    cmp stderr update-a-expected
    cmp go.mod go.mod.orig
    
    # Try to update the main module. This updates everything, including
    # modules that aren't direct requirements, so the error stack is shorter.
    go get -u ./...
    cmp stderr update-main-expected
    cmp go.mod go.mod.withc
    
    # Update manually. Listing modules should produce an error.
    cp go.mod.orig go.mod
    go mod edit -require=example.com/badchain/a@v1.1.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 13:05:03 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonLifecycleSpec.groovy

     */
    class DaemonLifecycleSpec extends AbstractDaemonLifecycleSpec {
    
        def "daemons do some work - sit idle - then timeout and die"() {
            //in this particular test we need to make the daemon timeout
            //shorter than the state transition timeout so that
            //we can detect the daemon idling out within state verification window
            daemonIdleTimeout = stateTransitionTimeout / 2
    
            when:
            startBuild()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  6. src/crypto/internal/edwards25519/scalar.go

    	// expects an input lower than l, which is a little over 252 bits.
    	//
    	// Instead of writing a reduction function that operates on wider inputs, we
    	// can interpret x as the sum of three shorter values a, b, and c.
    	//
    	//    x = a + b * 2^168 + c * 2^336  mod l
    	//
    	// We then precompute 2^168 and 2^336 modulo l, and perform the reduction
    	// with two multiplications and two additions.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. tools/packaging/common/sidecar.env

    # allows rotation of the secrets. Users may also use longer-lived PROV_CERT, rotated under the control
    # of the provisioning tool.
    # Istiod may return a certificate with additional information and shorter lived, to be used for
    # workload communication. In order to use the certificate with applications not supporting SDS, set this
    # environment variable. If the value is different from PROV_CERTS the workload certs will be saved, but
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 31 18:02:42 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/process/internal/worker/DefaultWorkerProcessSpec.groovy

        def jvmMemoryStatus = Mock(JvmMemoryStatus)
        def workerProcess = new DefaultWorkerProcess(1, TimeUnit.SECONDS, jvmMemoryStatus)
        def acceptor = Mock(ConnectionAcceptor)
        // Use a shorter wait time before callback is called, so that we don't hit the 1 sec connection timeout
        def op = concurrent.waitsForAsyncCallback().withWaitTime(200)
    
        def startsChildProcessAndBlocksUntilConnectionEstablished() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 07 07:21:35 UTC 2021
    - 6.6K bytes
    - Viewed (0)
  9. pkg/test/util/assert/assert.go

    func EventuallyEqual[T any](t test.Failer, fetch func() T, expected T, retryOpts ...retry.Option) {
    	t.Helper()
    	var a T
    	// Unit tests typically need shorter default; opts can override though
    	ro := []retry.Option{retry.Timeout(time.Second * 2), retry.BackoffDelay(time.Millisecond * 2)}
    	ro = append(ro, retryOpts...)
    	err := retry.UntilSuccess(func() error {
    		a = fetch()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 18 17:21:50 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

      }
    
      /**
       * Wrapper for {@link Map#get(Object)} that forces the caller to pass in a key of the same type as
       * the map. Besides being slightly shorter than code that uses {@link #getMap()}, it also ensures
       * that callers don't pass an {@link Entry} by mistake.
       */
      protected V get(K key) {
        return getMap().get(key);
      }
    
      protected final K k0() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top