- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for Suffix (0.03 sec)
-
src/cmd/asm/internal/asm/testdata/armerror.s
SWPW.S R1, (R2), R3 // ERROR "invalid .S suffix" MOVF.S (R0), F1 // ERROR "invalid .S suffix" MOVF.S F9, (R4) // ERROR "invalid .S suffix" MOVF.S 0xfff0(R0), F1 // ERROR "invalid .S suffix" MOVF.S F9, 0xfff0(R4) // ERROR "invalid .S suffix" ADDF.S F1, F2, F3 // ERROR "invalid .S suffix" SUBD.U F1, F2 // ERROR "invalid .U suffix" NEGF.W F9, F10 // ERROR "invalid .W suffix"
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Oct 23 15:18:14 UTC 2024 - 14.5K bytes - Viewed (0) -
cmd/endpoint-ellipses_test.go
[]ellipses.ArgPattern{ []ellipses.Pattern{ { Prefix: "", Suffix: "", Seq: getSequences(1, 2, 0), }, { Prefix: "", Suffix: "/test", Seq: getSequences(1, 64, 0), }, { Prefix: "http://minio", Suffix: "/export/set", Seq: getSequences(2, 3, 0), }, }, }, nil,Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 15.1K bytes - Viewed (0) -
src/bytes/bytes.go
// CutSuffix returns s without the provided ending suffix byte slice // and reports whether it found the suffix. // If s doesn't end with suffix, CutSuffix returns s, false. // If suffix is the empty byte slice, CutSuffix returns s, true. // // CutSuffix returns slices of the original slice s, not copies. func CutSuffix(s, suffix []byte) (before []byte, found bool) { if !HasSuffix(s, suffix) { return s, false }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Sep 03 14:04:47 UTC 2025 - 35.5K bytes - Viewed (0) -
src/archive/tar/writer_test.go
{sr("a/", nameSize), sr("a/", 77) + "a", sr("a/", 22), true}, } for _, v := range vectors { prefix, suffix, ok := splitUSTARPath(v.input) if prefix != v.prefix || suffix != v.suffix || ok != v.ok { t.Errorf("splitUSTARPath(%q):\ngot (%q, %q, %v)\nwant (%q, %q, %v)", v.input, prefix, suffix, ok, v.prefix, v.suffix, v.ok) } } } // TestIssue12594 tests that the Writer does not attempt to populate the prefixRegistered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Feb 03 16:38:43 UTC 2025 - 39.8K bytes - Viewed (0) -
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/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) -
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)