- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 152 for unwrapping (0.15 sec)
-
staging/src/k8s.io/apiserver/pkg/server/httplog/httplog.go
const respLoggerContextKey respLoggerContextKeyType = iota // Add a layer on top of ResponseWriter, so we can track latency and error // message sources. // // TODO now that we're using go-restful, we shouldn't need to be wrapping // the http.ResponseWriter. We can recover panics from go-restful, and // the logging value is questionable. type respLogger struct { hijacked bool statusRecorded bool status int
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 07 10:10:35 UTC 2023 - 9.7K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
src/io/fs/fs.go
// In this case, if ReadDir returns an empty slice, it will return // a non-nil error explaining why. // At the end of a directory, the error is io.EOF. // (ReadDir must return io.EOF itself, not an error wrapping io.EOF.) // // If n <= 0, ReadDir returns all the DirEntry values from the directory // in a single slice. In this case, if ReadDir succeeds (reads all the way
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 15 21:21:41 UTC 2024 - 9.4K bytes - Viewed (0) -
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) -
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) -
src/go/doc/comment/text.go
if j > 0 { out.WriteString(" ") } out.WriteString(w) } writeNL(out) } } // oneLongLine prints the text sequence x to out as one long line, // without worrying about line wrapping. // Explicit links have the [ ] dropped to improve readability. func (p *textPrinter) oneLongLine(out *strings.Builder, x []Text) { for _, t := range x { switch t := t.(type) { case Plain:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 8.8K bytes - Viewed (0) -
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)