Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 66 for unwrapping (0.19 sec)

  1. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        // nothing really to assert?
        assertSame(CharStreams.nullWriter(), CharStreams.nullWriter());
      }
    
      /**
       * Returns a reader wrapping the given reader that only reads half of the maximum number of
       * characters that it could read in read(char[], int, int).
       */
      private static Reader newNonBufferFillingReader(Reader reader) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CharStreamsTest.java

        // nothing really to assert?
        assertSame(CharStreams.nullWriter(), CharStreams.nullWriter());
      }
    
      /**
       * Returns a reader wrapping the given reader that only reads half of the maximum number of
       * characters that it could read in read(char[], int, int).
       */
      private static Reader newNonBufferFillingReader(Reader reader) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  3. src/os/exec/exec_test.go

    			t.Fatal(err)
    		}
    		cancel()
    
    		err = cmd.Wait()
    		t.Logf("[%d] %v", cmd.Process.Pid, err)
    		if !errors.Is(err, errArbitrary) || err == errArbitrary {
    			t.Errorf("Wait error = %v; want an error wrapping %v", err, errArbitrary)
    		}
    	})
    
    	// If Cancel returns an error equivalent to ErrProcessDone,
    	// Wait should ignore that error. (ErrProcessDone indicates that the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  4. src/crypto/internal/boring/goboringcrypto.h

    // The BoringCrypto build for Go (which generates goboringcrypto_*.syso)
    // takes the standard libcrypto.a from BoringCrypto and adds the prefix
    // _goboringcrypto_ to every symbol, to avoid possible conflicts with
    // code wrapping a different BoringCrypto or OpenSSL.
    //
    // To make this header standalone (so that building Go does not require
    // having a full set of BoringCrypto headers), the struct details are not here.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. src/crypto/tls/handshake_server.go

    		}
    		ss, err := ParseSessionState(plaintext)
    		if err != nil {
    			return nil
    		}
    		sessionState = ss
    	}
    
    	// TLS 1.2 tickets don't natively have a lifetime, but we want to avoid
    	// re-wrapping the same master secret in different tickets over and over for
    	// too long, weakening forward secrecy.
    	createdAt := time.Unix(int64(sessionState.createdAt), 0)
    	if c.config.time().Sub(createdAt) > maxSessionTicketLifetime {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  6. pkg/scheduler/util/assumecache/assume_cache.go

    	if err != nil {
    		return -1, err
    	}
    
    	objResourceVersion, err := strconv.ParseInt(objAccessor.GetResourceVersion(), 10, 64)
    	if err != nil {
    		//nolint:errorlint // Intentionally not wrapping the error, the underlying error is an implementation detail.
    		return -1, fmt.Errorf("error parsing ResourceVersion %q for %v %q: %v", objAccessor.GetResourceVersion(), c.description, name, err)
    	}
    	return objResourceVersion, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. internal/ioutil/ioutil.go

    	return &LimitWriter{w, skipBytes, limit}
    }
    
    type nopCloser struct {
    	io.Writer
    }
    
    func (nopCloser) Close() error { return nil }
    
    // NopCloser returns a WriteCloser with a no-op Close method wrapping
    // the provided Writer w.
    func NopCloser(w io.Writer) io.WriteCloser {
    	return nopCloser{w}
    }
    
    // SkipReader skips a given number of bytes and then returns all
    // remaining data.
    type SkipReader struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/registry/rest/update.go

    		newObj, err = transformer(ctx, newObj, oldObj)
    		if err != nil {
    			return nil, err
    		}
    	}
    
    	return newObj, nil
    }
    
    // wrappedUpdatedObjectInfo allows wrapping an existing objInfo and
    // chaining additional transformations/checks on the result of UpdatedObject()
    type wrappedUpdatedObjectInfo struct {
    	// obj is the updated object
    	objInfo UpdatedObjectInfo
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 27 11:48:28 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  9. pkg/controller/replication/conversion.go

    	appsconversion "k8s.io/kubernetes/pkg/apis/apps/v1"
    	apiv1 "k8s.io/kubernetes/pkg/apis/core/v1"
    	"k8s.io/kubernetes/pkg/controller"
    )
    
    // informerAdapter implements ReplicaSetInformer by wrapping ReplicationControllerInformer
    // and converting objects.
    type informerAdapter struct {
    	rcInformer coreinformers.ReplicationControllerInformer
    }
    
    func (i informerAdapter) Informer() cache.SharedIndexInformer {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 14 18:43:33 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  10. src/io/io.go

    var ErrShortBuffer = errors.New("short buffer")
    
    // EOF is the error returned by Read when no more input is available.
    // (Read must return EOF itself, not an error wrapping EOF,
    // because callers will test for EOF using ==.)
    // Functions should return EOF only to signal a graceful end of input.
    // If the EOF occurs unexpectedly in a structured data stream,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:34:10 UTC 2024
    - 21.6K bytes
    - Viewed (0)
Back to top