- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 60 for end (0.14 sec)
-
src/bytes/buffer.go
func (b *Buffer) readSlice(delim byte) (line []byte, err error) { i := IndexByte(b.buf[b.off:], delim) end := b.off + i + 1 if i < 0 { end = len(b.buf) err = io.EOF } line = b.buf[b.off:end] b.off = end b.lastRead = opRead return line, err } // ReadString reads until the first occurrence of delim in the input,
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 17:10:31 GMT 2023 - 15.7K bytes - Viewed (0) -
src/archive/zip/zip_test.go
_, err := f.Write(chunk[:frag]) if err != nil { t.Fatal("write chunk:", err) } } end := []byte("END\n") _, err = f.Write(end) if err != nil { t.Fatal("write end:", err) } if err := w.Close(); err != nil { t.Fatal(err) } // read back zip file and check that we get to the end of it r, err := NewReader(buf, buf.Size()) if err != nil { t.Fatal("reader:", err) }
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) -
api/README
except.txt lists features that may disappear without breaking true compatibility. Starting with go1.19.txt, each API feature line must end in "#nnnnn" giving the GitHub issue number of the proposal issue that accepted the new API. This helps with our end-of-cycle audit of new APIs. The same requirement applies to next/* (described below), which will become a go1.XX.txt for XX >= 19.
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Jan 31 19:22:50 GMT 2024 - 1.2K bytes - Viewed (0) -
src/archive/tar/common.go
dst := src[:0] for _, s := range src { pos, end := s.Offset, s.endOffset() pos += blockPadding(+pos) // Round-up to nearest blockSize if end != size { end -= blockPadding(-end) // Round-down to nearest blockSize } if pos < end { dst = append(dst, sparseEntry{Offset: pos, Length: end - pos}) } } return dst }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Mar 15 16:01:50 GMT 2024 - 24.7K bytes - Viewed (2) -
src/archive/zip/reader_test.go
return } got, err := io.ReadAll(rw) if err != nil { t.Errorf("%v: OpenRaw ReadAll error=%v", f.Name, err) return } end := uint64(start) + f.CompressedSize64 want := raw[start:end] if !bytes.Equal(got, want) { t.Logf("got %q", got) t.Logf("want %q", want) t.Errorf("%v: OpenRaw returned unexpected bytes", f.Name) return } r, err := f.Open()
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 55.3K bytes - Viewed (0) -
src/bytes/bytes.go
func FieldsFunc(s []byte, f func(rune) bool) [][]byte { // A span is used to record a slice of s of the form s[start:end]. // The start index is inclusive and the end index is exclusive. type span struct { start int end int } spans := make([]span, 0, 32) // Find the field start and end indices. // Doing this in a separate pass (rather than slicing the string s
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/cgo/gcc.go
repl := " " + gofmtPos(expr, old.Pos()) end := fset.Position(old.End()) // Subtract 1 from the column if we are going to // append a close parenthesis. That will set the // correct column for the following characters. sub := 0 if r.Name.Kind != "type" { sub = 1 } if end.Column > sub { repl = fmt.Sprintf("%s /*line :%d:%d*/", repl, end.Line, end.Column-sub) }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Nov 02 16:43:23 GMT 2023 - 97K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/armv6.s
MOVWD R6, F8 // 106b0feecf8bb8ee MOVWD.U F6, F8 // 468bb8ee MOVWD.U R6, F8 // 106b0fee4f8bb8ee
Others - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Dec 21 16:30:51 GMT 2017 - 4.6K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/amd64enc_extra.s
TPAUSE BX // 660faef3 UMONITOR BX // f30faef3 UMWAIT BX // f20faef3 RDPID DX // f30fc7fa RDPID R11 // f3410fc7fb // End of tests.
Others - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Apr 11 18:32:50 GMT 2023 - 57.6K bytes - Viewed (0) -
api/go1.5.txt
pkg go/types, method (*Pointer) String() string pkg go/types, method (*Pointer) Underlying() Type pkg go/types, method (*Scope) Child(int) *Scope pkg go/types, method (*Scope) Contains(token.Pos) bool pkg go/types, method (*Scope) End() token.Pos pkg go/types, method (*Scope) Innermost(token.Pos) *Scope pkg go/types, method (*Scope) Insert(Object) Object pkg go/types, method (*Scope) Len() int pkg go/types, method (*Scope) Lookup(string) Object
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Jul 30 21:14:09 GMT 2015 - 46.6K bytes - Viewed (0)