- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 931 for suffix2 (0.12 sec)
-
src/internal/stringslite/strings.go
} func CutSuffix(s, suffix string) (before string, found bool) { if !HasSuffix(s, suffix) { return s, false } return s[:len(s)-len(suffix)], true } func TrimPrefix(s, prefix string) string { if HasPrefix(s, prefix) { return s[len(prefix):] } return s } func TrimSuffix(s, suffix string) string { if HasSuffix(s, suffix) { return s[:len(s)-len(suffix)] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 01:23:42 UTC 2024 - 2.9K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/testdata/weighted.yaml.golden
host: foo-svc.default.svc.domain.suffix port: number: 8000 headers: request: add: foo: bar response: add: response: header - match: - uri: prefix: /get name: default.http.0 route: - destination: host: httpbin.default.svc.domain.suffix port: number: 80
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 10 18:54:10 UTC 2024 - 2.7K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/legacy.go
} containerIDWithSuffix := parts[len(parts)-1] suffix := fmt.Sprintf(".%s", legacyLogSuffix) if !strings.HasSuffix(containerIDWithSuffix, suffix) { return "", fmt.Errorf("%q doesn't end with %q", logSymlink, suffix) } containerIDWithoutSuffix := strings.TrimSuffix(containerIDWithSuffix, suffix) // container can be retrieved with container Id as short as 6 characters
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 08 16:05:48 UTC 2022 - 2.7K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/testFixtures/groovy/org/gradle/testkit/runner/fixtures/PluginUnderTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 6.5K bytes - Viewed (0) -
src/strings/search.go
// that the suffix pattern[i+1:] matches, but the byte pattern[i] does // not. There are two cases to consider: // // 1. The matched suffix occurs elsewhere in pattern (with a different // byte preceding it that we might possibly match). In this case, we can // shift the matching frame to align with the next suffix chunk. For // example, the pattern "mississi" has the suffix "issi" next occurring
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 07 18:49:51 UTC 2023 - 4.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_get_go_file.txt
# argument has .go suffix, is a file and exists ! go get test.go stderr 'go: test.go: arguments must be package or module paths' # argument has .go suffix, doesn't exist and has no slashes ! go get test_missing.go stderr 'arguments must be package or module paths' # argument has .go suffix, is a file and exists in sub-directory ! go get test/test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 28 17:19:08 UTC 2021 - 2.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/modfile/read.go
continue } xcom := x.Comment() for len(suffix) > 0 && end.Byte <= suffix[len(suffix)-1].Start.Byte { if debug { fmt.Fprintf(os.Stderr, "ASSIGN SUFFIX %q #%d\n", suffix[len(suffix)-1].Token, suffix[len(suffix)-1].Start.Byte) } xcom.Suffix = append(xcom.Suffix, suffix[len(suffix)-1]) suffix = suffix[:len(suffix)-1] } } // We assigned suffix comments in reverse.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 23.1K bytes - Viewed (0) -
src/cmd/internal/bootstrap_test/overlaydir_test.go
} if filepath.Base(srcPath) == "testdata" { // We're just building, so no need to copy those. return fs.SkipDir } suffix := strings.TrimPrefix(srcPath, srcRoot) for len(suffix) > 0 && suffix[0] == filepath.Separator { suffix = suffix[1:] } dstPath := filepath.Join(dstRoot, suffix) info, err := entry.Info() perm := info.Mode() & os.ModePerm if info.Mode()&os.ModeSymlink != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:35:05 UTC 2023 - 2.1K bytes - Viewed (0) -
internal/event/rules.go
) // NewPattern - create new pattern for prefix/suffix. func NewPattern(prefix, suffix string) (pattern string) { if prefix != "" { if !strings.HasSuffix(prefix, "*") { prefix += "*" } pattern = prefix } if suffix != "" { if !strings.HasPrefix(suffix, "*") { suffix = "*" + suffix } pattern += suffix } pattern = strings.ReplaceAll(pattern, "**", "*")
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 2.7K bytes - Viewed (0) -
platforms/jvm/language-java/src/testFixtures/groovy/org/gradle/language/fixtures/HelperProcessorFixture.groovy
String resourceLocation = StandardLocation.CLASS_OUTPUT.toString() private String suffix = "" HelperProcessorFixture() { super("Helper") declaredType = IncrementalAnnotationProcessorType.DYNAMIC } void setSuffix(String suffix) { this.suffix = suffix ? " " + suffix : "" } def writeSupportLibraryTo(TestFile projectDir) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 4.6K bytes - Viewed (0)