Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 385 for Parses (0.28 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/cmd/vendor/github.com/google/pprof/driver/driver.go

    	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, using
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/helpers.go

    	return filepath.Join(podLogsDir, strings.Join([]string{podNamespace, podName,
    		string(podUID)}, logPathDelimiter))
    }
    
    // parsePodUIDFromLogsDirectory parses pod logs directory name and returns the pod UID.
    // It supports both the old pod log directory /var/log/pods/UID, and the new pod log
    // directory /var/log/pods/NAMESPACE_NAME_UID.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. src/mime/mediatype.go

    // the media type value was found but there was an error parsing
    // the optional parameters
    var ErrInvalidMediaParameter = errors.New("mime: invalid media parameter")
    
    // ParseMediaType parses a media type value and any optional
    // parameters, per RFC 1521.  Media types are the values in
    // Content-Type and Content-Disposition headers (RFC 2183).
    // On success, ParseMediaType returns the media type converted
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top