Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 729 for Parses (0.72 sec)

  1. 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)
  2. 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)
  3. tools/bug-report/pkg/cluster/cluster.go

    	config2 "istio.io/istio/tools/bug-report/pkg/config"
    	"istio.io/istio/tools/bug-report/pkg/util/path"
    )
    
    var versionRegex = regexp.MustCompile(`.*(\d\.\d\.\d).*`)
    
    // ParsePath parses path into its components. Input must have the form namespace/deployment/pod/container.
    func ParsePath(path string) (namespace string, deployment, pod string, container string, err error) {
    	pv := strings.Split(path, "/")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 14 02:11:31 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/cmd/vendor/github.com/google/pprof/internal/driver/interactive.go

    			comment = commentStart + " " + comment
    		}
    		args = append(args, fmt.Sprintf("  %-25s = %-20s %s", n, v, comment))
    	}
    	sort.Strings(args)
    	ui.Print(strings.Join(args, "\n"))
    }
    
    // parseCommandLine parses a command and returns the pprof command to
    // execute and the configuration to use for the report.
    func parseCommandLine(input []string) ([]string, config, error) {
    	cmd, args := input[:1], input[1:]
    	name := cmd[0]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 10.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/cc/save_variables_test.cc

    #include "absl/strings/string_view.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/IR/OwningOpRef.h"  // from @llvm-project
    #include "mlir/Parser/Parser.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.h"
    #include "tensorflow/core/framework/tensor.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/net/HostAndPort.java

       * Chain this call after {@link #fromString(String)} to increase the strictness of the parser, and
       * disallow IPv6 literals that don't contain these brackets.
       *
       * <p>Note that this parser identifies IPv6 literals solely based on the presence of a colon. To
       * perform actual validation of IP addresses, see the {@link InetAddresses#forString(String)}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Aug 22 20:55:57 UTC 2023
    - 11.3K 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. staging/src/k8s.io/apiserver/pkg/cel/library/ip.go

    	ip, ok := arg.(apiservercel.IP)
    	if !ok {
    		return types.MaybeNoSuchOverloadErr(arg)
    	}
    
    	return types.Bool(ip.Addr.IsGlobalUnicast())
    }
    
    // parseIPAddr parses a string into an IP address.
    // We use this function to parse IP addresses in the CEL library
    // so that we can share the common logic of rejecting IP addresses
    // that contain zones or are IPv4-mapped IPv6 addresses.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 11:02:34 UTC 2023
    - 9.8K bytes
    - Viewed (0)
Back to top