- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for close (0.13 sec)
-
src/archive/zip/reader_test.go
if size != ft.Size { t.Errorf("%v: uncompressed size %#x, want %#x", ft.Name, size, ft.Size) } r.Close() return } var b bytes.Buffer _, err = io.Copy(&b, r) if err != ft.ContentErr { t.Errorf("copying contents: %v (want %v)", err, ft.ContentErr) } if err != nil { return } r.Close() if g := uint64(b.Len()); g != size {
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/cmd/cgo/gcc.go
// with '/', which would give us a "//" comment. 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 {
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/bytes/bytes_test.go
var cloneTests = [][]byte{ []byte(nil), []byte{}, Clone([]byte{}), []byte(strings.Repeat("a", 42))[:0], []byte(strings.Repeat("a", 42))[:0:0], []byte("short"), []byte(strings.Repeat("a", 42)), } for _, input := range cloneTests { clone := Clone(input) if !Equal(clone, input) { t.Errorf("Clone(%q) = %q; want %q", input, clone, input) } if input == nil && clone != nil {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jan 24 16:07:25 GMT 2024 - 56.2K bytes - Viewed (0)