- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 251 for prefix (0.4 sec)
-
src/cmd/internal/objabi/path.go
// Not enough characters remaining to be a valid escape // sequence. return "", fmt.Errorf("malformed prefix %q: escape sequence must contain two hex digits", s) } b, err := strconv.ParseUint(s[i+1:i+3], 16, 8) if err != nil { // Not a valid escape sequence. return "", fmt.Errorf("malformed prefix %q: escape sequence %q must contain two hex digits", s, s[i:i+3]) } p = append(p, byte(b)) i += 3 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 13:56:25 UTC 2023 - 1.9K bytes - Viewed (0) -
src/cmd/asm/doc.go
-p pkgpath Set expected package import to pkgpath. -shared Generate code that can be linked into a shared library. -spectre list Enable spectre mitigations in list (all, ret). -trimpath prefix Remove prefix from recorded source file paths. -v Print debug output. Input language: The assembler uses mostly the same syntax for all architectures, the main variation having to do with addressing modes. Input is
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 20:46:45 UTC 2023 - 1.8K bytes - Viewed (0) -
src/cmd/internal/test2json/testdata/benchshort.json
{"Action":"start"} {"Action":"output","Output":"# This file ends in an early EOF to trigger the Benchmark prefix test,\n"} {"Action":"output","Output":"# which only happens when a benchmark prefix is seen ahead of the \\n.\n"} {"Action":"output","Output":"# Normally that's due to the benchmark running and the \\n coming later,\n"} {"Action":"output","Output":"# but to avoid questions of timing, we just use a file with no \\n at all.\n"}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 09 17:33:07 UTC 2022 - 537 bytes - Viewed (0) -
src/README.vendor
imported normally and vendored by the standard library. Vendored packages are internally renamed with a "vendor/" prefix to preserve the invariant that all packages have distinct paths. This is necessary to avoid compiler and linker conflicts. Adding a "vendor/" prefix also maintains the invariant that standard library packages begin with a dotless path element.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 2.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/module/module.go
n := strings.Count(glob, "/") prefix := target // Walk target, counting slashes, truncating at the N+1'th slash. for i := 0; i < len(target); i++ { if target[i] == '/' { if n == 0 { prefix = target[:i] break } n-- } } if n > 0 { // Not enough prefix elements. continue } matched, _ := path.Match(glob, prefix) if matched { return true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 09 20:17:07 UTC 2024 - 26.9K bytes - Viewed (0) -
src/cmd/doc/pkg.go
} return path } // trim trims the directory prefix from the path, paying attention // to the path separator. If they are the same string or the prefix // is not present the original is returned. The boolean reports whether // the prefix is present. That path and prefix have slashes for separators. func trim(path, prefix string) (string, bool) { if !strings.HasPrefix(path, prefix) { return path, false } if path == prefix {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 08 20:15:52 UTC 2024 - 32K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/dcl.go
} s := autotmpnames[n] if s == "" { // Give each tmp a different name so that they can be registerized. // Add a preceding . to avoid clashing with legal names. prefix := ".autotmp_%d" s = fmt.Sprintf(prefix, n) autotmpnames[n] = s } return s } // f is method type, with receiver. // return function type, receiver as first argument (or not).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 13:15:50 UTC 2023 - 3.1K bytes - Viewed (0) -
src/archive/tar/writer_test.go
} // The prefix field should never appear in the GNU format. var blk block copy(blk[:], b.Bytes()) prefix := string(blk.toUSTAR().prefix()) prefix, _, _ = strings.Cut(prefix, "\x00") // Truncate at the NUL terminator if blk.getFormat() == FormatGNU && len(prefix) > 0 && strings.HasPrefix(name, prefix) { t.Errorf("test %d, found prefix in GNU format: %s", i, prefix) } tr := NewReader(&b)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 38.7K bytes - Viewed (0) -
src/cmd/go/internal/vcs/vcs_test.go
mi: metaImport{Prefix: "example.com/user/foo", VCS: "git", RepoRoot: "https://example.com/repo/target"}, }, { imports: []metaImport{ {Prefix: "example.com/user/foo", VCS: "git", RepoRoot: "https://example.com/repo/target"}, {Prefix: "example.com/user/fooa", VCS: "git", RepoRoot: "https://example.com/repo/target"}, }, path: "example.com/user/foo",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 03 15:33:59 UTC 2022 - 17K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/02-pkgsite-removal.yml
attributes: label: "What is the path of the package that you would like to have removed?" description: | We can remove packages with a shared path prefix. For example, a request for 'github.com/author' would remove all pkg.go.dev pages with that package path prefix. validations: required: true - type: textarea id: package-owner attributes: label: "Are you the owner of this package?"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 04 23:31:17 UTC 2024 - 1.9K bytes - Viewed (0)