Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for crash (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
Back to top