Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 51 for unwrapping (0.13 sec)

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

    	if err == nil {
    		return nil
    	}
    	var ae AlertError
    	if errors.As(err, &ae) {
    		return err
    	}
    	var a alert
    	if !errors.As(err, &a) {
    		a = alertInternalError
    	}
    	// Return an error wrapping the original error and an AlertError.
    	// Truncate the text of the alert to 0 characters.
    	return fmt.Errorf("%w%.0w", err, AlertError(a))
    }
    
    func (c *Conn) quicReadHandshakeBytes(n int) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * invokeAll}, and {@code invokeAny} methods, so any special handling of tasks must be implemented
       * in the delegate's {@code execute} method or by wrapping the returned {@code
       * ListeningExecutorService}.
       *
       * <p>If the delegate executor was already an instance of {@code ListeningExecutorService}, it is
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 15 10:40:05 UTC 2024
    - 39K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * invokeAll}, and {@code invokeAny} methods, so any special handling of tasks must be implemented
       * in the delegate's {@code execute} method or by wrapping the returned {@code
       * ListeningExecutorService}.
       *
       * <p>If the delegate executor was already an instance of {@code ListeningExecutorService}, it is
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 15 10:40:05 UTC 2024
    - 43.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/GrammarToTree.kt

                val innerSourceData = sourceData(inner, 0)
                return UnsupportedConstruct(outerSourceData, innerSourceData, feature)
            } // TODO: hack, due to script wrapping
        }
    
        fun script(originalTree: LightTree): LanguageTreeResult {
            val tree = CachingLightTree(originalTree)
            val packageNode = packageNode(tree)
            val importNodes = importNodes(tree)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 22:06:18 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc

            is_op_calling_func_for_cluster,
        llvm::SmallDenseMap<StringRef, llvm::SmallDenseSet<Operation*>>&
            cluster_to_tpu_ops_map,
        Operation* op, bool* changed) {
      // Find the first island wrapping a single operation with the
      // `_replication_info` attribute, it'll be used as the root of the algorithm
      // to find the other operations that are part of the same cluster.
      IslandOp island = dyn_cast<IslandOp>(*op);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/ppc64/obj9.go

    // of the form: 0..01..10..0 or 1..10..01..1 or 1...1
    func isPPC64DoublewordRotateMask(v64 int64) bool {
    	// Isolate rightmost 1 (if none 0) and add.
    	v := uint64(v64)
    	vp := (v & -v) + v
    	// Likewise, for the wrapping case.
    	vn := ^v
    	vpn := (vn & -vn) + vn
    	return (v&vp == 0 || vn&vpn == 0) && v != 0
    }
    
    // Encode a doubleword rotate mask into mb (mask begin) and
    // me (mask end, inclusive). Note, POWER ISA labels bits in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
Back to top