- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 1,885 for Parses (0.15 sec)
-
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) -
cluster/images/etcd/migrate/integration_test.go
} // mustParseEtcdVersionPair parses a "<version>/<storage-version>" string to an EtcdVersionPair // or panics if the parse fails. func mustParseEtcdVersionPair(s string) *EtcdVersionPair { pair, err := ParseEtcdVersionPair(s) if err != nil { panic(err) } return pair } // mustParseSupportedVersions parses a comma separated list of etcd versions or panics if the parse fails.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 28 07:33:23 UTC 2022 - 11.4K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/metadata/GccMetadataProviderTest.groovy
@Requires(UnitTestPreconditions.NotWindows) def "parses gcc system includes"() { def includes = correctPathSeparators(['/usr/local', '/usr/some/dir']) expect: def result = output(gcc4, gccVerboseOutput('4.2.1', includes), GCC) result.component.systemIncludes*.path == includes } @Requires(UnitTestPreconditions.NotWindows) def "parses clang system includes"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 16 06:01:47 UTC 2024 - 18.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/deprecation/deprecation.go
type apiLifecycleReplacement interface { APILifecycleReplacement() schema.GroupVersionKind } // extract all digits at the beginning of the string var leadingDigits = regexp.MustCompile(`^(\d+)`) // MajorMinor parses a numeric major/minor version from the provided version info. // The minor version drops all characters after the first non-digit character: // // version.Info{Major:"1", Minor:"2+"} -> 1,2
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 4.3K 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) -
cmd/bucket-quota.go
} } if len(dui.BucketsUsage) > 0 { bui, ok := dui.BucketsUsage[bucket] if ok { return bui, nil } } return BucketUsageInfo{}, nil } // parseBucketQuota parses BucketQuota from json func parseBucketQuota(bucket string, data []byte) (quotaCfg *madmin.BucketQuota, err error) { quotaCfg = &madmin.BucketQuota{} if err = json.Unmarshal(data, quotaCfg); err != nil { return quotaCfg, err
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 09 00:51:34 UTC 2024 - 4.3K bytes - Viewed (0) -
src/crypto/tls/tls.go
return c, nil } // LoadX509KeyPair reads and parses a public/private key pair from a pair of // files. The files must contain PEM encoded data. The certificate file may // contain intermediate certificates following the leaf certificate to form a // certificate chain. On successful return, Certificate.Leaf will be populated. // // Before Go 1.23 Certificate.Leaf was left nil, and the parsed certificate was
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 12.2K bytes - Viewed (0)