Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 44 for Shift1 (0.09 sec)

  1. test/fixedbugs/issue31747.go

    	_ = 0xabci // ERROR "hexadecimal floating-point"
    	_ = 0x0p1i // ERROR "hexadecimal floating-point"
    )
    
    // signed shift counts
    var (
    	s int
    	_ = 1 << s // ERROR "invalid operation: 1 << s \(signed shift count type int\) requires go1.13 or later|signed shift count"
    	_ = 1 >> s // ERROR "signed shift count"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 02:54:13 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/go1_12.go

    	_ = 0xabci // ERROR "hexadecimal floating-point"
    	_ = 0x0p1i // ERROR "hexadecimal floating-point"
    )
    
    // signed shift counts
    var (
    	s int
    	_ = 1 << s // ERROR "invalid operation: signed shift count s (variable of type int) requires go1.13 or later"
    	_ = 1 >> s // ERROR "signed shift count"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 02:54:13 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. src/crypto/md5/md5block_arm.s

    	MOVM.IA (Rc0), [Ra,Rb,Rc,Rd]
    
    // a += (((c^d)&b)^d) + X[index] + const
    // a = a<<shift | a>>(32-shift) + b
    #define ROUND1(Ra, Rb, Rc, Rd, index, shift, Rconst) \
    	EOR	Rc, Rd, Rt0		; \
    	AND	Rb, Rt0			; \
    	EOR	Rd, Rt0			; \
    	MOVW	(index<<2)(Rdata), Rt1	; \
    	ADD	Rt1, Rt0			; \
    	ADD	Rconst, Rt0			; \
    	ADD	Rt0, Ra			; \
    	ADD	Ra@>(32-shift), Rb, Ra	;
    
    	MOVM.IA.W (Rtable), [Rc0,Rc1,Rc2,Rc3]
    	ROUND1(Ra, Rb, Rc, Rd,  0,	7, Rc0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. src/crypto/md5/md5block_386.s

    	ORL	DI,		BP; \
    	MOVL	(index*4)(SI),DI; \
    	ADDL	BP,		a; \
    	ROLL	$shift,	a; \
    	ADDL	b,		a
    
    #define ROUND3(a, b, c, d, index, const, shift) \
    	LEAL	const(a)(DI*1),a; \
    	MOVL	(index*4)(SI),DI; \
    	XORL	d,		BP; \
    	XORL	b,		BP; \
    	ADDL	BP,		a; \
    	ROLL	$shift,		a; \
    	MOVL	b,		BP; \
    	ADDL	b,		a
    
    #define ROUND4(a, b, c, d, index, const, shift) \
    	LEAL	const(a)(DI*1),a; \
    	ORL	b,		BP; \
    	XORL	c,		BP; \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. src/crypto/md5/md5block_arm64.s

    	MOVW	R5, R13
    	MOVW	R6, R14
    	MOVW	R7, R15
    
    	MOVW	(0*4)(R1), R8
    	MOVW	R7, R9
    
    #define ROUND1(a, b, c, d, index, const, shift) \
    	ADDW	$const, a; \
    	ADDW	R8, a; \
    	MOVW	(index*4)(R1), R8; \
    	EORW	c, R9; \
    	ANDW	b, R9; \
    	EORW	d, R9; \
    	ADDW	R9, a; \
    	RORW	$(32-shift), a; \
    	MOVW	c, R9; \
    	ADDW	b, a
    
    	ROUND1(R4,R5,R6,R7, 1,0xd76aa478, 7);
    	ROUND1(R7,R4,R5,R6, 2,0xe8c7b756,12);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. src/crypto/md5/md5block_ppc64x.s

    #define ROUND1(a, b, c, d, index, const, shift) \
    	ADD	$const, index, R9; \
    	ADD	R9, a; \
    	AND     b, c, R9; \
    	ANDN    b, d, R31; \
    	OR	R9, R31, R9; \
    	ADD	R9, a; \
    	ROTLW	$shift, a; \
    	ADD	b, a;
    
    #define ROUND2(a, b, c, d, index, const, shift) \
    	ADD	$const, index, R9; \
    	ADD	R9, a; \
    	AND	b, d, R31; \
    	ANDN	d, c, R9; \
    	OR	R9, R31; \
    	ADD	R31, a; \
    	ROTLW	$shift, a; \
    	ADD	b, a;
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:05:32 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. src/cmd/vet/main.go

    	"golang.org/x/tools/go/analysis/passes/lostcancel"
    	"golang.org/x/tools/go/analysis/passes/nilfunc"
    	"golang.org/x/tools/go/analysis/passes/printf"
    	"golang.org/x/tools/go/analysis/passes/shift"
    	"golang.org/x/tools/go/analysis/passes/sigchanyzer"
    	"golang.org/x/tools/go/analysis/passes/slog"
    	"golang.org/x/tools/go/analysis/passes/stdmethods"
    	"golang.org/x/tools/go/analysis/passes/stdversion"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. src/internal/runtime/atomic/atomic_mips64x.s

    	MOVBU	val+8(FP), R2
    	// Align ptr down to 4 bytes so we can use 32-bit load/store.
    	MOVV	$~3, R3
    	AND	R1, R3
    	// Compute val shift.
    #ifdef GOARCH_mips64
    	// Big endian.  ptr = ptr ^ 3
    	XOR	$3, R1
    #endif
    	// R4 = ((ptr & 3) * 8)
    	AND	$3, R1, R4
    	SLLV	$3, R4
    	// Shift val for aligned ptr. R2 = val << R4
    	SLLV	R4, R2
    
    	SYNC
    	LL	(R3), R4
    	OR	R2, R4
    	SC	R4, (R3)
    	BEQ	R4, -4(PC)
    	SYNC
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 21:29:34 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. src/math/big/floatexample_test.go

    	// z = 1002.718282 (0x.faadf854p+10, prec = 32, acc = Below)
    }
    
    func ExampleFloat_shift() {
    	// Implement Float "shift" by modifying the (binary) exponents directly.
    	for s := -5; s <= 5; s++ {
    		x := big.NewFloat(0.5)
    		x.SetMantExp(x, x.MantExp(nil)+s) // shift x by s
    		fmt.Println(x)
    	}
    	// Output:
    	// 0.015625
    	// 0.03125
    	// 0.0625
    	// 0.125
    	// 0.25
    	// 0.5
    	// 1
    	// 2
    	// 4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/crypto/internal/poly1305/sum_ppc64le.s

    	// Greater than 8 -- load the rightmost remaining bytes in msg
    	// and put into R17 (h1)
    	MOVD (R4)(R21), R17
    	MOVD $16, R22
    
    	// Find the offset to those bytes
    	SUB R5, R22, R22
    	SLD $3, R22
    
    	// Shift to get only the bytes in msg
    	SRD R22, R17, R17
    
    	// Put 1 at high end
    	MOVD $1, R23
    	SLD  $3, R21
    	SLD  R21, R23, R23
    	OR   R23, R17, R17
    
    	// Remainder is 8
    	MOVD $8, R5
    
    just1:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top