Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for 0x99999999 (0.12 sec)

  1. src/cmd/internal/obj/x86/asm6.go

    		//
    		// For 32bit mode rules are more permissive.
    		// If offset fits uint32, it's permitted.
    		// This is allowed for assembly that wants to use 32-bit hex
    		// constants, e.g. LEAL 0x99999999(AX), AX.
    		overflowOK := (ctxt.Arch.Family == sys.AMD64 && p.As == ALEAL) ||
    			(ctxt.Arch.Family != sys.AMD64 &&
    				int64(uint32(a.Offset)) == a.Offset &&
    				ab.rexflag&Rxw == 0)
    		if !overflowOK {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  2. src/net/http/serve_test.go

    func TestHandlerFinishSkipBigContentLengthRead(t *testing.T) {
    	setParallel(t)
    	conn := newTestConn()
    	conn.readBuf.WriteString(
    		"POST / HTTP/1.1\r\n" +
    			"Host: test\r\n" +
    			"Content-Length: 9999999999\r\n" +
    			"\r\n" + strings.Repeat("a", 1<<20))
    
    	ls := &oneConnListener{conn}
    	var inHandlerLen int
    	go Serve(ls, HandlerFunc(func(rw ResponseWriter, req *Request) {
    		inHandlerLen = conn.readBuf.Len()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
Back to top