- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 873 for Parses (0.22 sec)
-
internal/arn/arn.go
arn.Partition, arn.Service, arn.Region, "", // account-id is always empty in this implementation arn.ResourceType + "/" + arn.ResourceID, }, ":", ) } // Parse - parses an ARN string into a type. func Parse(arnStr string) (arn ARN, err error) { ps := strings.Split(arnStr, ":") if len(ps) != 6 || ps[0] != string(arnPrefixArn) { err = errors.New("invalid ARN string format") return }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Apr 04 08:31:34 UTC 2024 - 3.5K bytes - Viewed (0) -
src/net/http/request.go
func (r *Request) UserAgent() string { return r.Header.Get("User-Agent") } // Cookies parses and returns the HTTP cookies sent with the request. func (r *Request) Cookies() []*Cookie { return readCookies(r.Header, "") } // CookiesNamed parses and returns the named HTTP cookies sent with the request // or an empty slice if none matched.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 49.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/test_lift_quantizable_spots_as_functions_with_quantization_specs.cc
} } // Parses a text proto into a `QuantizationSpecs` proto. Returns // `InvalidArgumentError` if `text_proto` is invalid. absl::StatusOr<QuantizationSpecs> ParseTextProto( const absl::string_view text_proto) { QuantizationSpecs quantization_specs; TextFormat::Parser parser; ArrayInputStream input_stream(text_proto.data(), text_proto.size()); if (parser.Parse(&input_stream, &quantization_specs)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 23:21:42 UTC 2024 - 5.4K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/parser.go
// need to parse a full expression. Notably, name <- x // is not a concern because name <- x is a statement and // not an expression. var x Expr = p.name() if p.tok != _Lbrack { // To parse the expression starting with name, expand // the call sequence we would get by passing in name // to parser.expr, and pass in name to parser.pexpr. p.xnest++
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 62.9K bytes - Viewed (0) -
internal/bucket/replication/destination.go
if !d.IsValid() { return Errorf("invalid destination") } if !wildcard.Match(d.Bucket, bucketName) { return Errorf("bucket name does not match") } return nil } // parseDestination - parses string to Destination. func parseDestination(s string) (Destination, error) { if !strings.HasPrefix(s, DestinationARNPrefix) && !strings.HasPrefix(s, DestinationARNMinIOPrefix) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4K bytes - Viewed (0) -
pilot/pkg/config/monitor/file_snapshot.go
if _, ok := collections.Pilot.FindByGroupVersionKind(k.GroupVersionKind()); ok { snapshot.configTypeFilter[k.GroupVersionKind()] = true } } return snapshot } // ReadConfigFiles parses files in the root directory and returns a sorted slice of // eligible model.Config. This can be used as a configFunc when creating a Monitor. func (f *FileSnapshot) ReadConfigFiles() ([]*config.Config, error) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 12 17:36:33 UTC 2024 - 3.6K bytes - Viewed (0) -
internal/config/certs.go
// ParsePublicCertFile - parses public cert into its *x509.Certificate equivalent. func ParsePublicCertFile(certFile string) (x509Certs []*x509.Certificate, err error) { // Read certificate file. var data []byte if data, err = os.ReadFile(certFile); err != nil { return nil, err } // Trimming leading and tailing white spaces. data = bytes.TrimSpace(data) // Parse all certs in the chain. current := data
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 3.8K bytes - Viewed (0) -
cni/pkg/plugin/plugin.go
} // parseConfig parses the supplied configuration (and prevResult) from stdin. func parseConfig(stdin []byte) (*Config, error) { conf := Config{} if err := json.Unmarshal(stdin, &conf); err != nil { return nil, fmt.Errorf("failed to parse network configuration: %v", err) } log.Debugf("istio-cni: Config is: %+v", conf) // Parse previous result. Remove this if your plugin is not chained.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 16:26:35 UTC 2024 - 10.7K bytes - Viewed (0) -
src/cmd/internal/pgo/pprof.go
// intermediate representation. package pgo import ( "errors" "fmt" "internal/profile" "io" "sort" ) // FromPProf parses Profile from a pprof profile. func FromPProf(r io.Reader) (*Profile, error) { p, err := profile.Parse(r) if errors.Is(err, profile.ErrNoData) { // Treat a completely empty file the same as a profile with no // samples: nothing to do. return emptyProfile(), nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 20:20:01 UTC 2024 - 4K bytes - Viewed (0) -
internal/bucket/versioning/versioning.go
// prefixes or if ExcludeFolders is true. func (v Versioning) PrefixesExcluded() bool { return len(v.ExcludedPrefixes) > 0 || v.ExcludeFolders } // ParseConfig - parses data in given reader to VersioningConfiguration. func ParseConfig(reader io.Reader) (*Versioning, error) { var v Versioning if err := xml.NewDecoder(reader).Decode(&v); err != nil { return nil, err }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.6K bytes - Viewed (0)