- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for incorrect (0.3 sec)
-
src/cmd/cgo/internal/test/callback_windows.go
fname = strings.TrimPrefix(fname, "cmd/cgo/internal/") if !strings.HasPrefix(fname, "test.") { continue } got = append(got, fname) } if !reflect.DeepEqual(want, got) { t.Errorf("incorrect backtrace:\nwant:\t%v\ngot:\t%v", want, got) }
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Wed Nov 29 16:01:37 GMT 2023 - 2.6K bytes - Viewed (0) -
src/bytes/buffer_test.go
} if nbytes != size { t.Fatalf("WriteRune(%U) expected %d, got %d", r, size, nbytes) } n += size } b = b[0:n] // Check the resulting bytes if !Equal(buf.Bytes(), b) { t.Fatalf("incorrect result from WriteRune: %q not %q", buf.Bytes(), b) } p := make([]byte, utf8.UTFMax) // Read it back with ReadRune for r := rune(0); r < NRune; r++ { size := utf8.EncodeRune(p, r)
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) -
doc/go_mem.html
slices, and strings in most Go implementations, such races can in turn lead to arbitrary memory corruption. </p> <p> Examples of incorrect synchronization are given in the “Incorrect synchronization” section below. </p> <p> Examples of the limitations on implementations are given in the “Incorrect compilation” section below. </p> <h2 id="synchronization">Synchronization</h2> <h3 id="init">Initialization</h3>
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Mon Mar 04 15:54:42 GMT 2024 - 26.6K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/00-bug.yml
validations: required: true - type: textarea id: expected-behavior attributes: label: "What did you expect to see?" description: Why is the current output incorrect, and any additional context we may need to understand the issue. validations:
Others - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Jan 04 23:31:17 GMT 2024 - 3.3K 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) -
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
# in the CL match the update.bash in the CL. # Versions to use. CODE=2024a DATA=2024a set -e cd $(dirname $0) rm -rf work mkdir work go build -o work/mkzip mkzip.go # build now for correct paths in build errors cd work mkdir zoneinfo curl -sS -L -O https://www.iana.org/time-zones/repository/releases/tzcode$CODE.tar.gz curl -sS -L -O https://www.iana.org/time-zones/repository/releases/tzdata$DATA.tar.gz
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) -
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) -
doc/asm.html
If <code>NOSPLIT</code> is not specified for the <code>TEXT</code>, the argument size must be provided. For assembly functions with Go prototypes, <code>go</code> <code>vet</code> will check that the argument size is correct. </p> <p> Note that the symbol name uses a middle dot to separate the components and is specified as an offset from the static base pseudo-register <code>SB</code>.
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Tue Nov 28 19:15:27 GMT 2023 - 36.3K bytes - Viewed (0) -
src/bytes/bytes_test.go
} } } } // test a small index across all page offsets func TestIndexByteSmall(t *testing.T) { b := make([]byte, 5015) // bigger than a page // Make sure we find the correct byte even when straddling a page. for i := 0; i <= len(b)-15; i++ { for j := 0; j < 15; j++ { b[i+j] = byte(100 + j) } for j := 0; j < 15; j++ { p := IndexByte(b[i:i+15], byte(100+j))
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)