Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 53 for SHL (0.06 sec)

  1. src/go/types/expr.go

    }
    
    // This is only used for operations that may cause overflow.
    var op2str2 = [...]string{
    	token.ADD: "addition",
    	token.SUB: "subtraction",
    	token.XOR: "bitwise XOR",
    	token.MUL: "multiplication",
    	token.SHL: "shift",
    }
    
    // If typ is a type parameter, underIs returns the result of typ.underIs(f).
    // Otherwise, underIs returns the result of f(under(typ)).
    func underIs(typ Type, f func(Type) bool) bool {
    	typ = Unalias(typ)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/arch/x86/x86asm/gnu.go

    SuffixLoop:
    	for i, a := range inst.Args {
    		if a == nil {
    			break
    		}
    		switch a := a.(type) {
    		case Reg:
    			switch inst.Op {
    			case MOVSX, MOVZX:
    				continue
    
    			case SHL, SHR, RCL, RCR, ROL, ROR, SAR:
    				if i == 1 {
    					// shift count does not tell us operand size
    					continue
    				}
    
    			case CRC32:
    				// The source argument does tell us operand size,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 21.4K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

      }
    
      @Test fun streamIdHasReservedBit() {
        val writer = Http2Writer(Buffer(), true)
        assertFailsWith<IllegalArgumentException> {
          var streamId = 3
          streamId = streamId or (1L shl 31).toInt() // set reserved bit
          writer.frameHeader(streamId, Http2.INITIAL_MAX_FRAME_SIZE, Http2.TYPE_DATA, FLAG_NONE)
        }.also { expected ->
          assertThat(expected.message).isEqualTo("reserved bit set: -2147483645")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  4. src/go/scanner/scanner.go

    		case '^':
    			tok = s.switch2(token.XOR, token.XOR_ASSIGN)
    		case '<':
    			if s.ch == '-' {
    				s.next()
    				tok = token.ARROW
    			} else {
    				tok = s.switch4(token.LSS, token.LEQ, '<', token.SHL, token.SHL_ASSIGN)
    			}
    		case '>':
    			tok = s.switch4(token.GTR, token.GEQ, '>', token.SHR, token.SHR_ASSIGN)
    		case '=':
    			tok = s.switch2(token.ASSIGN, token.EQL)
    		case '!':
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  5. src/go/scanner/scanner_test.go

    	{token.MUL, "*", operator},
    	{token.QUO, "/", operator},
    	{token.REM, "%", operator},
    
    	{token.AND, "&", operator},
    	{token.OR, "|", operator},
    	{token.XOR, "^", operator},
    	{token.SHL, "<<", operator},
    	{token.SHR, ">>", operator},
    	{token.AND_NOT, "&^", operator},
    
    	{token.ADD_ASSIGN, "+=", operator},
    	{token.SUB_ASSIGN, "-=", operator},
    	{token.MUL_ASSIGN, "*=", operator},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 15:38:31 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  6. src/math/big/int_test.go

    			}
    		}
    	}
    }
    
    func BenchmarkModInverse(b *testing.B) {
    	p := new(Int).SetInt64(1) // Mersenne prime 2**1279 -1
    	p.abs = p.abs.shl(p.abs, 1279)
    	p.Sub(p, intOne)
    	x := new(Int).Sub(p, intOne)
    	z := new(Int)
    	for i := 0; i < b.N; i++ {
    		z.ModInverse(x, p)
    	}
    }
    
    // testModSqrt is a helper for TestModSqrt,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  7. src/math/big/int.go

    	default:
    		// Otherwise, use Tonelli-Shanks.
    		return z.modSqrtTonelliShanks(x, p)
    	}
    }
    
    // Lsh sets z = x << n and returns z.
    func (z *Int) Lsh(x *Int, n uint) *Int {
    	z.abs = z.abs.shl(x.abs, n)
    	z.neg = x.neg
    	return z
    }
    
    // Rsh sets z = x >> n and returns z.
    func (z *Int) Rsh(x *Int, n uint) *Int {
    	if x.neg {
    		// (-x) >> s == ^(x-1) >> s == ^((x-1) >> s) == -(((x-1) >> s) + 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 17:02:38 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/inst.json

    {"Name":"SHL","Bits":"0|1|0|1|1|1|1|1|0|immh:4|immb:3|0|1|0|1|0|1|Rn:5|Rd:5","Arch":"Scalar Scalar variant","Syntax":"SHL <V><d>, <V><n>, #<shift>","Code":"","Alias":""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 17:57:48 UTC 2017
    - 234.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/AMD64Ops.go

    		{name: "TESTBconst", argLength: 1, reg: gp1flags, asm: "TESTB", typ: "Flags", aux: "Int8"},
    
    		// S{HL, HR, AR}x: shift operations
    		// SHL: shift left
    		// SHR: shift right logical (0s are shifted in from beyond the word size)
    		// SAR: shift right arithmetic (sign bit is shifted in from beyond the word size)
    		// arg0 is the value being shifted
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 16:40:24 UTC 2023
    - 98K bytes
    - Viewed (1)
  10. src/regexp/testdata/re2-exhaustive.txt.bz2

    |�"�w{��3�t8�p��.T����Wl�wm-�»$�h\��X$ |�ʹ�okz�1SG �3�$���R�m���t�(���d�Mf�uԠ���b�ڠ4��1;�� q����a�'pp$$�OƉR�4 I*CDcP%7��z���$�II=*M40 ��M H�I%)M�/kn�z�ۦ�����ӧd]�ιv�y{���+��W\����F�\�r��r5���v�ѮW#\�F���(�y��F�\�sHl���cj�.N;����=��1��m]��1�%%%7����F�\�r��SֻIEIF�E%+[��Ѩ�4Q6lMTQPl�-U捯6��k���k�z�WMp[�]5�n�t� �|�-�f6���m�[�`, k3��DV��m��Wcb�Qe�V��4h��j���-�65���V4h��#TlF�Z�"Ŋ5Ej����j""&@!��c,l�U|0�8��1˅[mM� ��MUX6F�f�5;m�֣2��M���6T� �R...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 13 14:52:20 UTC 2021
    - 418.2K bytes
    - Viewed (0)
Back to top