- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 1,885 for Parses (0.09 sec)
-
src/internal/buildcfg/exp.go
// platforms that support it. // // Note: must agree with runtime.framepointer_enabled. var FramePointerEnabled = GOARCH == "amd64" || GOARCH == "arm64" // ParseGOEXPERIMENT parses a (GOOS, GOARCH, GOEXPERIMENT) // configuration tuple and returns the enabled and baseline experiment // flag sets. // // TODO(mdempsky): Move to internal/goexperiment.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:38:52 UTC 2024 - 5.5K bytes - Viewed (0) -
src/os/user/lookup_unix.go
"bytes" "errors" "io" "os" "strconv" "strings" ) // lineFunc returns a value, an error, or (nil, nil) to skip the row. type lineFunc func(line []byte) (v any, err error) // readColonFile parses r as an /etc/group or /etc/passwd style file, running // fn for each row. readColonFile returns a value, an error, or (nil, nil) if // the end of the file is reached without a match. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 07 23:34:21 UTC 2023 - 6K bytes - Viewed (0) -
cmd/kubeadm/app/util/marshal.go
gvkmap[*gvk] = b } if err := errorsutil.NewAggregate(errs); err != nil { return nil, err } return gvkmap, nil } // GroupVersionKindsFromBytes parses the bytes and returns a gvk slice func GroupVersionKindsFromBytes(b []byte) ([]schema.GroupVersionKind, error) { gvkmap, err := SplitYAMLDocuments(b) if err != nil { return nil, err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 5.8K bytes - Viewed (0) -
pkg/test/framework/resource/version.go
out := make(RevVerMap) for k := range m { version := m.String(k) v, err := NewIstioVersion(version) if err != nil { return fmt.Errorf("could not parse %s as version: %w", version, err) } out[k] = v } *rv = out return nil } // Set parses IstioVersions from a string flag in the form "a=1.5.6,b,c=1.4". // If no version is specified for a revision assume latest, represented as ""
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 5.7K bytes - Viewed (0) -
src/cmd/go/internal/vet/vetflag.go
} if err != nil { fmt.Fprintln(os.Stderr, err) exitWithUsage() } if isVetFlag[f.Name] { // Forward the raw arguments rather than cleaned equivalents, just in // case the vet tool parses them idiosyncratically. explicitFlags = append(explicitFlags, args[:len(args)-len(remainingArgs)]...) // This flag has been overridden explicitly, so don't forward its implicit // value from GOFLAGS.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 19 14:42:39 UTC 2023 - 5.1K bytes - Viewed (0) -
cmd/kubeadm/app/features/features.go
pre = fmt.Sprintf("%s - ", v.PreRelease) } known = append(known, fmt.Sprintf("%s=true|false (%sdefault=%t)", k, pre, v.Default)) } sort.Strings(known) return known } // NewFeatureGate parses a string of the form "key1=value1,key2=value2,..." into a // map[string]bool of known keys or returns an error. func NewFeatureGate(f *FeatureList, value string) (map[string]bool, error) { featureGate := map[string]bool{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 20 13:55:11 UTC 2024 - 6.1K bytes - Viewed (0) -
src/go/build/read.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 14.1K bytes - Viewed (0) -
src/cmd/gofmt/internal.go
// in a public API. See also #11844 for context. package main import ( "bytes" "go/ast" "go/parser" "go/printer" "go/token" "strings" ) // parse parses src, which was read from the named file, // as a Go source file, declaration, or statement list. func parse(fset *token.FileSet, filename string, src []byte, fragmentOk bool) ( file *ast.File, sourceAdj func(src []byte, indent int) []byte,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 28 14:23:08 UTC 2020 - 5K bytes - Viewed (0) -
src/crypto/x509/pkcs8.go
if _, err := asn1.Unmarshal(der, &ecPrivateKey{}); err == nil { return nil, errors.New("x509: failed to parse private key (use ParseECPrivateKey instead for this key format)") } if _, err := asn1.Unmarshal(der, &pkcs1PrivateKey{}); err == nil { return nil, errors.New("x509: failed to parse private key (use ParsePKCS1PrivateKey instead for this key format)") } return nil, err } switch {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:09:47 UTC 2023 - 5.8K bytes - Viewed (0) -
src/go/format/internal.go
// in a public API. See also #11844 for context. package format import ( "bytes" "go/ast" "go/parser" "go/printer" "go/token" "strings" ) // parse parses src, which was read from the named file, // as a Go source file, declaration, or statement list. func parse(fset *token.FileSet, filename string, src []byte, fragmentOk bool) ( file *ast.File, sourceAdj func(src []byte, indent int) []byte,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 28 14:23:08 UTC 2020 - 5K bytes - Viewed (0)