Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 533 for Parses (0.34 sec)

  1. src/crypto/internal/mlkem768/mlkem768.go

    	copy(b[:], dk.dk[decryptionKeySize:])
    	return b[:]
    }
    
    // encryptionKey is the parsed and expanded form of a PKE encryption key.
    type encryptionKey struct {
    	t [k]nttElement     // ByteDecode₁₂(ek[:384k])
    	A [k * k]nttElement // A[i*k+j] = sampleNTT(ρ, j, i)
    }
    
    // decryptionKey is the parsed and expanded form of a PKE decryption key.
    type decryptionKey struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  2. pkg/config/security/security.go

    	if cs == "" || cs == "ALL" {
    		return true
    	}
    	if !unicode.IsNumber(rune(cs[0])) && !unicode.IsLetter(rune(cs[0])) {
    		// Not all of these are correct, but this is needed to support advanced cases like - and + operators
    		// without needing to parse the full expression
    		return true
    	}
    	return ValidCipherSuites.Contains(cs)
    }
    
    func IsValidECDHCurve(cs string) bool {
    	if cs == "" {
    		return true
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 04:43:34 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.h

    // Returns the host device used for outside compilation in generic pipeline.
    mlir::LogicalResult GetHostDeviceOutsideCompilationInGenericPipeline(
        mlir::TF::RuntimeDevices devices, std::string* host_device);
    
    // Parses XLA compilation and execution devices from a tf_device.cluster and
    // returns the host device for the head and tail computations. For TPU device,
    // if the computation is replicated, GetDeviceAliasForHostOfLogicalCore(0) is
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. internal/crypto/sse-kms.go

    		// Return only true if the SSE header is specified and does not contain the SSE-S3 value
    		return strings.ToUpper(h.Get(xhttp.AmzServerSideEncryption)) != xhttp.AmzEncryptionAES
    	}
    	return false
    }
    
    // ParseHTTP parses the SSE-KMS headers and returns the SSE-KMS key ID
    // and the KMS context on success.
    func (ssekms) ParseHTTP(h http.Header) (string, kms.Context, error) {
    	if h == nil {
    		return "", nil, ErrInvalidEncryptionMethod
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/ambient/waypoints.go

    		return InboundBinding{}
    	}
    
    	// parse port
    	port := uint32(0)
    	if len(parts) == 2 {
    		parsed, err := strconv.ParseUint(parts[1], 10, 32)
    		if err != nil {
    			log.Warnf("invalid port %s for %s.", parts[1], constants.AmbientWaypointInboundBinding)
    		}
    		port = uint32(parsed)
    	}
    
    	return InboundBinding{
    		Port:     port,
    		Protocol: protocol,
    	}
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. src/internal/trace/internal/oldtrace/parser.go

    // version.ReadHeader.
    func Parse(r io.Reader, vers version.Version) (Trace, error) {
    	// We accept the version as an argument because internal/trace will have
    	// already read the version to determine which parser to use.
    	p, err := newParser(r, vers)
    	if err != nil {
    		return Trace{}, err
    	}
    	return p.parse()
    }
    
    // parse parses, post-processes and verifies the trace.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go

    	// AddExtraUsage appends additional text to the end of the extra usage message.
    	AddExtraUsage(eu string)
    
    	// Parse initializes the flags with their values for this run
    	// and returns the non-flag command line arguments.
    	// If an unknown flag is encountered or there are no arguments,
    	// Parse should call usage and return nil.
    	Parse(usage func()) []string
    }
    
    // A Fetcher reads and returns the profile named by src. src can be a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. src/cmd/pack/pack.go

    // op holds the operation we are doing (prtx).
    // verbose tells whether the 'v' option was specified.
    var (
    	op      rune
    	verbose bool
    )
    
    // setOp parses the operation string (first argument).
    func setOp(arg string) {
    	// Recognize 'go tool pack grc' because that was the
    	// formerly canonical way to build a new archive
    	// from a set of input files. Accepting it keeps old
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. src/crypto/tls/ticket.go

    }
    
    func certificatesToBytesSlice(certs []*x509.Certificate) [][]byte {
    	s := make([][]byte, 0, len(certs))
    	for _, c := range certs {
    		s = append(s, c.Raw)
    	}
    	return s
    }
    
    // ParseSessionState parses a [SessionState] encoded by [SessionState.Bytes].
    func ParseSessionState(data []byte) (*SessionState, error) {
    	ss := &SessionState{}
    	s := cryptobyte.String(data)
    	var typ, extMasterSecret, earlyData uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. pkg/bootstrap/config.go

    		}
    	}
    	return &core.Node{
    		Id:       node.ID,
    		Cluster:  getServiceCluster(node.Metadata),
    		Locality: node.Locality,
    		Metadata: pbst,
    	}
    }
    
    // ConvertXDSNodeToNode parses Istio node descriptor from an Envoy node descriptor, using only typed metadata.
    func ConvertXDSNodeToNode(node *core.Node) *model.Node {
    	b, err := protomarshal.MarshalProtoNames(node.Metadata)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
Back to top