Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for crash (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. api/go1.16.txt

    pkg syscall (darwin-arm64), const NET_RT_MAXID ideal-int
    pkg syscall (darwin-arm64), const NET_RT_STAT = 4
    pkg syscall (darwin-arm64), const NET_RT_STAT ideal-int
    pkg syscall (darwin-arm64), const NET_RT_TRASH = 5
    pkg syscall (darwin-arm64), const NET_RT_TRASH ideal-int
    pkg syscall (darwin-arm64), const NOFLSH = 2147483648
    pkg syscall (darwin-arm64), const NOFLSH ideal-int
    pkg syscall (darwin-arm64), const NOTE_ABSOLUTE = 8
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
  10. 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)
Back to top