Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 56 for unwrapping (0.51 sec)

  1. 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/crypto/tls/tls.go

    		switch key := key.(type) {
    		case *rsa.PrivateKey, *ecdsa.PrivateKey, ed25519.PrivateKey:
    			return key, nil
    		default:
    			return nil, errors.New("tls: found unknown private key type in PKCS#8 wrapping")
    		}
    	}
    	if key, err := x509.ParseECPrivateKey(der); err == nil {
    		return key, nil
    	}
    
    	return nil, errors.New("tls: failed to parse private key")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/aot/tfcompile.bzl

          freeze_saver: If provided, run freeze_graph with this saver, in SaverDef
            binary form, to convert variables into constants.
          cpp_class: The name of the generated C++ class, wrapping the generated
            function.  The syntax of this flag is
            [[<optional_namespace>::],...]<class_name>.  This mirrors the C++ syntax
            for referring to a class, where multiple namespaces may precede the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 19:18:08 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/internal/passes/clustering_passes.td

        the attributes of `cluster_func`. This is done by parsing the
        `XlaSharding` / `TPUPartitionedOutput` / `TPUPartitionedInput` ops inside
        `cluster_func`.
    
        For example, given the following `cluster_func` wrapping `func`:
    
        ```mlir
          func @test(%arg0: tensor<*xi32>) {
            "tf_device.cluster_func"(%arg0) {
                func = @func,
                step_marker_location = ""} : (tensor<*xi32>) -> tensor<*xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 19.8K bytes
    - Viewed (0)
Back to top