- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 43 for Suffix (0.03 sec)
-
cmd/iam-etcd-store.go
// Extract path string by stripping off the `prefix` value and the suffix, // value, usually in the following form. // // s := "config/iam/users/foo/config.json" // prefix := "config/iam/users/" // suffix := "config.json" // result is foo func extractPathPrefixAndSuffix(s string, prefix string, suffix string) string { return pathClean(strings.TrimSuffix(strings.TrimPrefix(s, prefix), suffix)) } // IAMEtcdStore implements IAMStorageAPI
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 13.9K bytes - Viewed (0) -
src/archive/tar/writer.go
default: return err // Non-fatal error } } func (tw *Writer) writeUSTARHeader(hdr *Header) error { // Check if we can use USTAR prefix/suffix splitting. var namePrefix string if prefix, suffix, ok := splitUSTARPath(hdr.Name); ok { namePrefix, hdr.Name = prefix, suffix } // Pack the main header. var f formatter blk := tw.templateV7Plus(hdr, f.formatString, f.formatOctal)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Feb 03 16:38:43 UTC 2025 - 19.7K bytes - Viewed (0) -
cmd/httprange.go
// Case 3: bytes=10- (absolute start offset with end offset unspecified) -> RangeSpec{false, 10, -1} // Case 4: bytes=-30 (suffix length specification) -> RangeSpec{true, -30, -1} type HTTPRangeSpec struct { // Does the range spec refer to a suffix of the object? IsSuffixLength bool // Start and end offset specified in range spec Start, End int64 } // GetLength - get length of rangeRegistered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.9K bytes - Viewed (0) -
cmd/object-api-utils.go
return strings.HasPrefix(s, prefix) } // HasSuffix - Suffix matcher string matches suffix in a platform specific way. // For example on windows since its case insensitive we are supposed // to do case insensitive checks. func HasSuffix(s string, suffix string) bool { if runtime.GOOS == globalWindowsOSName { return strings.HasSuffix(strings.ToLower(s), strings.ToLower(suffix)) } return strings.HasSuffix(s, suffix) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jun 25 15:08:54 UTC 2025 - 37.3K bytes - Viewed (0) -
src/bytes/example_test.go
// CutPrefix("Gopher", "Go") = "pher", true // CutPrefix("Gopher", "ph") = "Gopher", false } func ExampleCutSuffix() { show := func(s, suffix string) { before, found := bytes.CutSuffix([]byte(s), []byte(suffix)) fmt.Printf("CutSuffix(%q, %q) = %q, %v\n", s, suffix, before, found) } show("Gopher", "Go") show("Gopher", "er") // Output: // CutSuffix("Gopher", "Go") = "Gopher", false
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon May 12 16:07:54 UTC 2025 - 16.5K bytes - Viewed (0) -
src/archive/zip/zip_test.go
if !generatesZip64(t, gen(0xffff)) { t.Error("expected zip64") } }) } // suffixSaver is an io.Writer & io.ReaderAt that remembers the last 0 // to 'keep' bytes of data written to it. Call Suffix to get the // suffix bytes. type suffixSaver struct { keep int buf []byte start int size int64 } func (ss *suffixSaver) Size() int64 { return ss.size }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.6K bytes - Viewed (0) -
.github/workflows/update-jdks.yml
title: "Update jdks.yaml" body: "This PR updates JDK to the latest versions available in `.teamcity/jdks.yaml`." delete-branch: true branch: "devprod/update-jdks" branch-suffix: timestamp labels: | in:building-gradle @dev-productivity - name: Trigger a build uses: peter-evans/create-or-update-comment@v4
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Tue Aug 12 07:00:55 UTC 2025 - 2.1K bytes - Viewed (0) -
.github/workflows/update-perf-test-buckets.yml
uses: peter-evans/create-pull-request@v7 with: commit-message: Update performance test durations branch: bot-update-performance-test-durations branch-suffix: timestamp delete-branch: true title: 'Update performance test durations' signoff: true sign-commits: true labels: | in:building-gradleRegistered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Thu Sep 04 04:26:32 UTC 2025 - 1.9K bytes - Viewed (0) -
src/cmd/asm/internal/arch/arm64.go
func IsARM64CASP(op obj.As) bool { switch op { case arm64.ACASPD, arm64.ACASPW: return true } return false } // ARM64Suffix handles the special suffix for the ARM64. // It returns a boolean to indicate success; failure means // cond was unrecognized. func ARM64Suffix(prog *obj.Prog, cond string) bool { if cond == "" { return true }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Feb 14 15:13:11 UTC 2025 - 10.3K bytes - Viewed (0) -
api/README
to the next release of Go. The files in this directory only affect the warning output from the go api tool. Each file should be named nnnnn.txt, after the issue number for the accepted proposal. (The #nnnnn suffix must also appear at the end of each line in the file; that will be preserved when next/*.txt is concatenated into go1.XX.txt.) When you add a file to the api/next directory, you must add at least one file
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 31 19:22:50 UTC 2024 - 1.2K bytes - Viewed (0)