Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for offlet (0.18 sec)

  1. src/cmd/asm/internal/arch/arm.go

    func ARMMRCOffset(op obj.As, cond string, x0, x1, x2, x3, x4, x5 int64) (offset int64, op0 obj.As, ok bool) {
    	op1 := int64(0)
    	if op == arm.AMRC {
    		op1 = 1
    	}
    	bits, ok := ParseARMCondition(cond)
    	if !ok {
    		return
    	}
    	offset = (0xe << 24) | // opcode
    		(op1 << 20) | // MCR/MRC
    		((int64(bits) ^ arm.C_SCOND_XOR) << 28) | // scond
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Nov 18 17:59:44 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/amd64error.s

    	// Check offset overflow. Must fit in int32.
    	MOVQ 2147483647+1(AX), AX       // ERROR "offset too large"
    	MOVQ 3395469782(R10), R8        // ERROR "offset too large"
    	LEAQ 3395469782(AX), AX         // ERROR "offset too large"
    	ADDQ 3395469782(AX), AX         // ERROR "offset too large"
    	ADDL 3395469782(AX), AX         // ERROR "offset too large"
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 14 00:03:57 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  3. src/bytes/reader.go

    	return nil
    }
    
    // Seek implements the [io.Seeker] interface.
    func (r *Reader) Seek(offset int64, whence int) (int64, error) {
    	r.prevRune = -1
    	var abs int64
    	switch whence {
    	case io.SeekStart:
    		abs = offset
    	case io.SeekCurrent:
    		abs = r.i + offset
    	case io.SeekEnd:
    		abs = int64(len(r.s)) + offset
    	default:
    		return 0, errors.New("bytes.Reader.Seek: invalid whence")
    	}
    	if abs < 0 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 3.9K bytes
    - Viewed (1)
  4. src/bytes/reader_test.go

    		t.Errorf("ReadRune: got %d, %d, %v; want 0, 0, io.EOF", ch, size, err)
    	}
    
    	if offset, err := (&Reader{}).Seek(11, io.SeekStart); offset != 11 || err != nil {
    		t.Errorf("Seek: got %d, %v; want 11, nil", offset, err)
    	}
    
    	if s := (&Reader{}).Size(); s != 0 {
    		t.Errorf("Size: got %d, want 0", s)
    	}
    
    	if (&Reader{}).UnreadByte() == nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Dec 13 18:45:54 GMT 2021
    - 8K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/loong64.s

    #include "../../../../../runtime/textflag.h"
    // TODO: cover more instruction
    
    TEXT foo(SB),DUPOK|NOSPLIT,$0
    	JAL	1(PC)	//CALL 1(PC)	//00040054
    	JAL	(R4)	//CALL (R4)	//8100004c
    	// relocation in play so the assembled offset should be 0
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 22 18:50:59 GMT 2023
    - 434 bytes
    - Viewed (0)
  6. PATENTS

    Google as part of the Go project.
    
    Google hereby grants to You a perpetual, worldwide, non-exclusive,
    no-charge, royalty-free, irrevocable (except as stated in this section)
    patent license to make, have made, use, offer to sell, sell, import,
    transfer and otherwise run, modify and propagate the contents of this
    implementation of Go, where such license applies only to those patent
    claims, both currently owned or controlled by Google and acquired in
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Dec 06 21:31:59 GMT 2010
    - 1.3K bytes
    - Viewed (0)
  7. src/bytes/compare_test.go

    		buffer := make([]byte, len(tt.b)+numShifts)
    		// vary the input alignment of tt.b
    		for offset := 0; offset <= numShifts; offset++ {
    			shiftedB := buffer[offset : len(tt.b)+offset]
    			copy(shiftedB, tt.b)
    			cmp := Compare(tt.a, shiftedB)
    			if cmp != tt.i {
    				t.Errorf(`Compare(%q, %q), offset %d = %v; want %v`, tt.a, tt.b, offset, cmp, tt.i)
    			}
    		}
    	}
    }
    
    func TestCompareIdenticalSlice(t *testing.T) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 13 23:11:42 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/testdata/386enc.s

    	MOVQ (AX), M0  // 0f6f00
    	MOVQ M0, 8(SP) // 0f7f442408
    	MOVQ 8(SP), M0 // 0f6f442408
    	MOVQ M0, (AX)  // 0f7f00
    	MOVQ M0, (BX)  // 0f7f03
    	// On non-64bit arch, Go asm allowed uint32 offsets instead of int32.
    	// These tests check that property for backwards-compatibility.
    	MOVL 2147483648(AX), AX  // 8b8000000080
    	MOVL -2147483648(AX), AX // 8b8000000080
    	ADDL 2147483648(AX), AX  // 038000000080
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 11 18:32:50 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/loong64enc1.s

    TEXT asmtest(SB),DUPOK|NOSPLIT,$0
    lable1:
    	BFPT	1(PC)			// 00050048
    	BFPT	lable1	// BFPT 2	//1ffdff4b
    
    lable2:
    	BFPF	1(PC)			// 00040048
    	BFPF	lable2	// BFPF 4 	// 1ffcff4b
    
    	// relocation in play so the assembled offset should be 0
    	JMP	foo(SB)			// 00000050
    
    	JMP	(R4)			// 8000004c
    	JMP	1(PC)			// 00040050
    	MOVW	$65536, R4		// 04020014
    	MOVW	$4096, R4		// 24000014
    	MOVV	$65536, R4		// 04020014
    	MOVV	$4096, R4		// 24000014
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 31 02:56:19 GMT 2023
    - 6.4K bytes
    - Viewed (0)
Back to top