- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for crash (0.14 sec)
-
doc/next/6-stdlib/99-minor/runtime/debug/42888.md
The [SetCrashOutput] function allows the user to specify an alternate file to which the runtime should write its fatal crash report. It may be used to construct an automated reporting mechanism for all unexpected crashes, not just those in goroutines that explicitly use
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Apr 12 20:57:18 GMT 2024 - 283 bytes - Viewed (0) -
src/cmd/cgo/internal/test/callstub_linux_ppc64le.go
// return notoc_func(); // } import "C" import "testing" func testPPC64CallStubs(t *testing.T) { // Verify the trampolines run on the testing machine. If they // do not, or are missing, a crash is expected. if C.TestPPC64Stubs() != 0 { t.Skipf("This test requires binutils 2.35 or newer.") }
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Sep 22 15:06:17 GMT 2023 - 540 bytes - Viewed (0) -
src/bufio/bufio_test.go
} type dataAndEOFReader string func (r dataAndEOFReader) Read(p []byte) (int, error) { return copy(p, r), io.EOF } func TestPeekThenUnreadRune(t *testing.T) { // This sequence used to cause a crash. r := NewReader(strings.NewReader("x")) r.ReadRune() r.Peek(1) r.UnreadRune() r.ReadRune() // Used to panic here } var testOutput = []byte("0123456789abcdefghijklmnopqrstuvwxy")
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) -
src/cmd/cgo/internal/test/callback.go
stringFromGo = s } func testCallbackStack(t *testing.T) { // Make cgo call and callback with different amount of stack available. // We do not do any explicit checks, just ensure that it does not crash. for _, f := range splitTests { f() } } //export goStackCheck func goStackCheck() { // use some stack memory to trigger split stack check var buf [256]byte use(buf[:]) }
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 111.5K bytes - Viewed (0) -
misc/cgo/gmp/gmp.go
init bool } // NewInt returns a new Int initialized to x. func NewInt(x int64) *Int { return new(Int).SetInt64(x) } // Int promises that the zero value is a 0, but in gmp // the zero value is a crash. To bridge the gap, the // init bool says whether this is a valid gmp value. // doinit initializes z.i if it needs it. This is not inherent // to FFI, just a mismatch between Go's convention of
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Apr 11 16:34:30 GMT 2022 - 9.5K bytes - Viewed (0) -
doc/asm.html
// so actually // void atomicload64(uint64 *res, uint64 volatile *addr); TEXT runtime·atomicload64(SB), NOSPLIT, $0-12 MOVL ptr+0(FP), AX TESTL $7, AX JZ 2(PC) MOVL 0, AX // crash with nil ptr deref LEAL ret_lo+4(FP), BX // MOVQ (%EAX), %MM0 BYTE $0x0f; BYTE $0x6f; BYTE $0x00 // MOVQ %MM0, 0(%EBX) BYTE $0x0f; BYTE $0x7f; BYTE $0x03 // EMMS BYTE $0x0F; BYTE $0x77 RET
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/cmd/cgo/gcc.go
if name == nil || name.Kind != "func" { // Probably a type conversion. return "", false } params := name.FuncType.Params args := call.Call.Args end := call.Call.End() // Avoid a crash if the number of arguments doesn't match // the number of parameters. // This will be caught when the generated file is compiled. if len(args) != len(params) { return "", false } any := false
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/archive/tar/reader_test.go
{data2[:1536] + trash[:1], 1, io.ErrUnexpectedEOF}, {data2[:1536] + trash[:511], 1, io.ErrUnexpectedEOF}, {data2[:1536] + trash, 1, ErrHeader}, {data2[:2048], 1, io.EOF}, // Exactly 1 empty block {data2[:2048] + trash[:1], 1, io.ErrUnexpectedEOF}, {data2[:2048] + trash[:511], 1, io.ErrUnexpectedEOF}, {data2[:2048] + trash, 1, ErrHeader},
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Nov 21 21:14:38 GMT 2022 - 47.1K bytes - Viewed (0) -
doc/go_mem.html
</p> <p> If the channel were buffered (e.g., <code>c = make(chan int, 1)</code>) then the program would not be guaranteed to print <code>"hello, world"</code>. (It might print the empty string, crash, or do something else.) </p> <p class="rule"> The <i>k</i>th receive on a channel with capacity <i>C</i> is synchronized before the completion of the <i>k</i>+<i>C</i>th send from that channel completes. </p>
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) -
src/cmd/asm/internal/asm/testdata/arm64.s
LDORLB R5, (RSP), R7 // e7336538 CASD R1, (R2), ZR // 5f7ca1c8 CASW R1, (RSP), ZR // ff7fa188 CASB ZR, (R5), R3 // a37cbf08 CASH R3, (RSP), ZR // ff7fa348 CASW R5, (R7), R6 // e67ca588 CASLD ZR, (RSP), R8 // e8ffbfc8 CASLW R9, (R10), ZR // 5ffda988
Others - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Dec 08 03:28:17 GMT 2023 - 94.9K bytes - Viewed (0)