- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 111 for spare (0.1 sec)
-
src/bytes/bytes_test.go
return predicate{ func(r rune) bool { return !p.f(r) }, "not " + p.name, } } var trimFuncTests = []TrimFuncTest{ {isSpace, space + " hello " + space, []byte("hello"), []byte("hello " + space), []byte(space + " hello")}, {isDigit, "\u0e50\u0e5212hello34\u0e50\u0e51", []byte("hello"), []byte("hello34\u0e50\u0e51"), []byte("\u0e50\u0e5212hello")},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 12:58:37 UTC 2024 - 56.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/xposmap.go
"cmd/internal/src" "fmt" ) type lineRange struct { first, last uint32 } // An xposmap is a map from fileindex and line of src.XPos to int32, // implemented sparsely to save space (column and statement status are ignored). // The sparse skeleton is constructed once, and then reused by ssa phases // that (re)move values with statements attached. type xposmap struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 18:48:16 UTC 2019 - 3.3K bytes - Viewed (0) -
src/cmd/go/internal/work/shell_test.go
f.Add([]byte("\\\n")) f.Add([]byte(`-fPIC -I/test/include/foo -DQUOTED='"/test/share/doc"'`)) f.Add([]byte(`-fPIC -I/test/include/foo -DQUOTED="/test/share/doc"`)) f.Add([]byte(`-fPIC -I/test/include/foo -DQUOTED=\"/test/share/doc\"`)) f.Add([]byte(`-fPIC -I/test/include/foo -DQUOTED='/test/share/doc'`)) f.Add([]byte(`-DQUOTED='/te\st/share/d\oc'`)) f.Add([]byte(`-Dhello=10 -Dworld=+32 -DDEFINED_FROM_PKG_CONFIG=hello\ world`))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 15 15:30:05 UTC 2023 - 4.5K bytes - Viewed (0) -
src/cmd/go/internal/web/url.go
if i < 0 { // A degenerate case. // \\host.example.com (without a share name) // becomes // file://host.example.com/ return &url.URL{ Scheme: "file", Host: path, Path: "/", }, nil } // \\host.example.com\Share\path\to\file // becomes // file://host.example.com/Share/path/to/file return &url.URL{ Scheme: "file", Host: path[:i],
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 13:43:51 UTC 2019 - 2K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/dumper.go
if x, ok := x.Interface().(*Name); ok { p.printf("%s @ %v", x.Value, x.Pos()) return } p.printf("*") // Fields may share type expressions, and declarations // may share the same group - use ptrmap to keep track // of nodes that have been printed already. if ptr, ok := x.Interface().(Node); ok { if line, exists := p.ptrmap[ptr]; exists {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 08 17:32:14 UTC 2021 - 4.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/abi.go
// need to allocate stack space, so it should be OK to mark them // as NOSPLIT in these cases. In addition, my assumption is that // functions written in assembly are NOSPLIT in most (but not all) // cases. In the case of an ABIInternal target that has too many // parameters to fit into registers, the wrapper would need to // allocate stack space, but this seems like an unlikely scenario.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 13.8K bytes - Viewed (0) -
src/cmd/go/internal/modindex/build_read.go
// It reports whether it found a comment. // (Otherwise it found an error or EOF.) func (r *importReader) findEmbed(first bool) bool { // The import block scan stopped after a non-space character, // so the reader is not at the start of a line on the first call. // After that, each //go:embed extraction leaves the reader // at the end of a line. startLine := !first var c byte
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 23 10:10:21 UTC 2023 - 13K bytes - Viewed (0) -
src/archive/tar/strconv.go
// If parsing is successful, it will slice off the currently read record and // return the remainder as r. func parsePAXRecord(s string) (k, v, r string, err error) { // The size field ends at the first space. nStr, rest, ok := strings.Cut(s, " ") if !ok { return "", "", s, ErrHeader } // Parse the first token as a decimal integer. n, perr := strconv.ParseInt(nStr, 10, 0) // Intentionally parse as native int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 01 14:28:42 UTC 2023 - 9K bytes - Viewed (0) -
src/archive/tar/format.go
// // The table's lower portion shows specialized features of each format, // such as supported string encodings, support for sub-second timestamps, // or support for sparse files. // // The Writer currently provides no support for sparse files. type Format int // Constants to identify various tar formats. const ( // Deliberately hide the meaning of constants from public API.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 18:36:46 UTC 2023 - 11.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/interface.go
embeddeds []Type // ordered list of explicitly embedded elements embedPos *[]syntax.Pos // positions of embedded elements; or nil (for error messages) - use pointer to save space implicit bool // interface is wrapper for type set literal (non-interface T, ~T, or A|B) complete bool // indicates that all fields (except for tset) are set up
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 17:24:42 UTC 2023 - 6.2K bytes - Viewed (0)