- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for spaces (1.12 sec)
-
src/bytes/bytes.go
} if f(r) { if start >= 0 { spans = append(spans, span{start, i}) start = -1 } } else { if start < 0 { start = i } } i += size } // Last field might end at EOF. if start >= 0 { spans = append(spans, span{start, len(s)}) } // Create subslices from recorded field indices. a := make([][]byte, len(spans)) for i, span := range spans {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Feb 19 19:51:15 GMT 2024 - 33.8K bytes - Viewed (0) -
src/cmd/asm/internal/asm/endtoend_test.go
hexByLine[fmt.Sprintf("%s:%d", input, lineno)] = hexes } // Canonicalize spacing in printed form. // First field is opcode, then tab, then arguments separated by spaces. // Canonicalize spaces after commas first. // Comma to separate argument gets a space; comma within does not. var buf []byte nest := 0 for i := 0; i < len(printed); i++ { c := printed[i] switch c { case '{', '[': nest++
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Dec 07 18:42:59 GMT 2023 - 11.6K bytes - Viewed (0) -
src/builtin/builtin.go
// number c. The return value will be floating point type corresponding to // the type of c. func imag(c ComplexType) FloatType // The clear built-in function clears maps and slices. // For maps, clear deletes all entries, resulting in an empty map. // For slices, clear sets all elements up to the length of the slice // to the zero value of the respective element type. If the argument // type is a type parameter, the type parameter's type set must
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 12.7K bytes - Viewed (0) -
src/cmd/cgo/doc.go
Put all generated files in directory. -srcdir directory */ package main /* Implementation details. Cgo provides a way for Go programs to call C code linked into the same address space. This comment explains the operation of cgo. Cgo reads a set of Go source files and looks for statements saying import "C". If the import has a doc comment, that comment is
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Sun Mar 31 09:02:45 GMT 2024 - 42.1K bytes - Viewed (0) -
src/archive/zip/zip_test.go
return buf } func (ss *suffixSaver) Write(p []byte) (n int, err error) { n = len(p) ss.size += int64(len(p)) if len(ss.buf) < ss.keep { space := ss.keep - len(ss.buf) add := len(p) if add > space { add = space } ss.buf = append(ss.buf, p[:add]...) p = p[add:] } for len(p) > 0 { n := copy(ss.buf[ss.start:], p) p = p[n:] ss.start += n
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 19.5K bytes - Viewed (0) -
src/cmd/asm/internal/asm/asm.go
if len(operands) != 2 && len(operands) != 3 { p.errorf("expect two or three operands for TEXT") return } // Labels are function scoped. Patch existing labels and // create a new label space for this TEXT. p.patch() p.labels = make(map[string]*obj.Prog) // Operand 0 is the symbol name in the form foo(SB). // That means symbol plus indirect on SB and no offset. nameAddr := p.address(operands[0])
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 14:34:57 GMT 2024 - 25.3K bytes - Viewed (0)