- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for coreit (0.2 sec)
-
src/bytes/buffer_test.go
buf.Write(yBytes) }) // Check no allocation occurs in write, as long as we're single-threaded. if allocs != 0 { t.Errorf("allocation occurred during write") } // Check that buffer has correct data. if !Equal(buf.Bytes()[0:startLen-readBytes], xBytes[readBytes:]) { t.Errorf("bad initial data at %d %d", startLen, growLen) } if !Equal(buf.Bytes()[startLen-readBytes:startLen-readBytes+growLen], yBytes) {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 26 13:31:36 GMT 2024 - 18.6K bytes - Viewed (0) -
src/archive/zip/reader_test.go
} else if size != f.UncompressedSize64 { t.Errorf("%v: UncompressedSize=%#x does not match UncompressedSize64=%#x", f.Name, size, f.UncompressedSize64) } // Check that OpenRaw returns the correct byte segment rw, err := f.OpenRaw() if err != nil { t.Errorf("%v: OpenRaw error=%v", f.Name, err) return } start, err := f.DataOffset() if err != nil {
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/bufio/bufio_test.go
for j := 0; j < len(bufsizes); j++ { nwrite := bufsizes[i] bs := bufsizes[j] // Write nwrite bytes using buffer size bs. // Check that the right amount makes it out // and that the data is correct. w.Reset() buf := NewWriterSize(w, bs) context := fmt.Sprintf("nwrite=%d bufsize=%d", nwrite, bs) n, e1 := buf.Write(data[0:nwrite]) if e1 != nil || n != nwrite {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Feb 10 18:56:01 GMT 2023 - 51.5K bytes - Viewed (0) -
doc/go1.17_spec.html
a <a href="#Run_time_panics">run-time panic</a> occurs. In other words, even though the dynamic type of <code>x</code> is known only at run time, the type of <code>x.(T)</code> is known to be <code>T</code> in a correct program. </p> <pre> var x interface{} = 7 // x has dynamic type int and value 7 i := x.(int) // i has type int and value 7 type I interface { m() } func f(y I) {
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
lib/time/update.bash
echo No updates needed. exit 0 fi echo Updated for $CODE/$DATA: $files commitmsg="lib/time: update to $CODE/$DATA Commit generated by update.bash. For #22487. " if [ "$1" = "-commit" ]; then echo "Creating commit. Run 'git reset HEAD^' to undo commit." echo git commit -m "$commitmsg" $files echo git log -n1 --stat echo
Shell Script - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Feb 02 18:20:41 GMT 2024 - 1.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) -
api/go1.txt
pkg database/sql/driver, type Stmt interface, NumInput() int pkg database/sql/driver, type Stmt interface, Query([]Value) (Rows, error) pkg database/sql/driver, type Tx interface { Commit, Rollback } pkg database/sql/driver, type Tx interface, Commit() error pkg database/sql/driver, type Tx interface, Rollback() error pkg database/sql/driver, type Value interface {} pkg database/sql/driver, type ValueConverter interface { ConvertValue }
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Viewed (2) -
src/archive/zip/struct.go
This package does not support disk spanning. A note about ZIP64: To be backwards compatible the FileHeader has both 32 and 64 bit Size fields. The 64 bit fields will always contain the correct value and for normal archives both fields will be the same. For files requiring the ZIP64 format the 32 bit fields will be 0xffffffff and the 64 bit fields must be used instead.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 12.1K bytes - Viewed (0) -
doc/godebug.md
and the [go command documentation](/cmd/go#hdr-Build_and_test_caching). ### Go 1.23 Go 1.23 changed the channels created by package time to be unbuffered (synchronous), which makes correct use of the [`Timer.Stop`](/pkg/time/#Timer.Stop) and [`Timer.Reset`](/pkg/time/#Timer.Reset) method results much easier. The [`asynctimerchan` setting](/pkg/time/#NewTimer) disables this change.
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Tue Apr 16 17:29:58 GMT 2024 - 13.5K bytes - Viewed (0) -
src/bufio/scan.go
if atEOF && len(data) == 0 { return 0, nil, nil } // Fast path 1: ASCII. if data[0] < utf8.RuneSelf { return 1, data[0:1], nil } // Fast path 2: Correct UTF-8 decode without error. _, width := utf8.DecodeRune(data) if width > 1 { // It's a valid encoding. Width cannot be one for a correctly encoded // non-ASCII rune. return width, data[0:width], nil }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Oct 23 09:06:30 GMT 2023 - 14.2K bytes - Viewed (0)