Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 232 for Shift2 (0.1 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        assertEquals(0, removalListener.getCount());
    
        int shift2 = shift1 + 10;
        loader.setValuePrefix(shift2);
        // fill with new data - has to live for 20 ms more
        for (int i = 0; i < 10; i++) {
          cache.invalidate(keyPrefix + i);
          assertEquals(
              "key: " + keyPrefix + i, Integer.valueOf(i + shift2), cache.getUnchecked(keyPrefix + i));
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Aug 05 17:21:46 UTC 2022
    - 18.7K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/shifts.go

    		u1 = 1.0 /* ERROR "must be integer" */ <<s != 0   // illegal: 1.0 has type float64, cannot shift
    		u2 = 1 /* ERROR "must be integer" */ <<s != 1.0   // illegal: 1 has type float64, cannot shift
    		v float32 = 1 /* ERROR "must be integer" */ <<s   // illegal: 1 has type float32, cannot shift
    		w int64 = 1.0<<33  // 1.0<<33 is a constant shift expression
    	)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  3. test/codegen/shift.go

    	if shift >= 0 && shift < 64 {
    		// arm64:"LSL",-"CSEL"
    		r1 = val64 << shift
    	}
    	if shift >= 0 && shift < 32 {
    		// arm64:"LSL",-"CSEL"
    		r2 = val32 << shift
    	}
    	if shift >= 0 && shift < 16 {
    		// arm64:"LSL",-"CSEL"
    		r3 = val16 << shift
    	}
    	if shift >= 0 && shift < 8 {
    		// arm64:"LSL",-"CSEL"
    		r4 = val8 << shift
    	}
    	return r1, r2, r3, r4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/memcombine.go

    		}
    	}
    
    	// Check for reads in little-endian or big-endian order.
    	shift0 := r[0].shift
    	isLittleEndian := true
    	for i := int64(0); i < n; i++ {
    		if r[i].shift != shift0+i*size*8 {
    			isLittleEndian = false
    			break
    		}
    	}
    	isBigEndian := true
    	for i := int64(0); i < n; i++ {
    		if r[i].shift != shift0-i*size*8 {
    			isBigEndian = false
    			break
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. cmd/metacache-entries_test.go

    "src/compress/flate/testdata/huffman-rand-max.in", "src/compress/flate/testdata/huffman-shifts.dyn.expect", "src/compress/flate/testdata/huffman-shifts.dyn.expect-noinput", "src/compress/flate/testdata/huffman-shifts.golden", "src/compress/flate/testdata/huffman-shifts.in", "src/compress/flate/testdata/huffman-shifts.wb.expect", "src/compress/flate/testdata/huffman-shifts.wb.expect-noinput", "src/compress/flate/testdata/huffman-text-shift.dyn.expect", "src/compress/flate/testdata/huffman-text-shift.dyn.expect-noinput",...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 31.6K bytes
    - Viewed (0)
  6. cmd/metacache-stream_test.go

    "src/compress/flate/testdata/huffman-rand-max.in", "src/compress/flate/testdata/huffman-shifts.dyn.expect", "src/compress/flate/testdata/huffman-shifts.dyn.expect-noinput", "src/compress/flate/testdata/huffman-shifts.golden", "src/compress/flate/testdata/huffman-shifts.in", "src/compress/flate/testdata/huffman-shifts.wb.expect", "src/compress/flate/testdata/huffman-shifts.wb.expect-noinput", "src/compress/flate/testdata/huffman-text-shift.dyn.expect", "src/compress/flate/testdata/huffman-text-shift.dyn.expect-noinput",...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 15K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/dec64.rules

    (Rsh64x64 [c] x (Int64Make (Const32 [0]) lo)) => (Rsh64x32 [c] x lo)
    (Rsh64Ux64 [c] x (Int64Make (Const32 [0]) lo)) => (Rsh64Ux32 [c] x lo)
    
    // turn x64 non-constant shifts to x32 shifts
    // if high 32-bit of the shift is nonzero, make a huge shift
    (Lsh64x64 x (Int64Make hi lo)) && hi.Op != OpConst32 =>
           (Lsh64x32 x (Or32 <typ.UInt32> (Zeromask hi) lo))
    (Rsh64x64 x (Int64Make hi lo)) && hi.Op != OpConst32 =>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 04 19:35:46 UTC 2022
    - 14.2K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/ppc64/doc.go

    specified alignment.
    
    6. Shift instructions
    
    The simple scalar shifts on PPC64 expect a shift count that fits in 5 bits for
    32-bit values or 6 bit for 64-bit values. If the shift count is a constant value
    greater than the max then the assembler sets it to the max for that size (31 for
    32 bit values, 63 for 64 bit values). If the shift count is in a register, then
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 16:47:45 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/test/shift_test.go

    	if one16<<N<<N == 1 {
    		t.Errorf("shift overflow mishandled")
    	}
    	if one16>>N>>N == 1 {
    		t.Errorf("shift overflow mishandled")
    	}
    	if one16u>>N>>N == 1 {
    		t.Errorf("shift overflow mishandled")
    	}
    	if one8<<N<<N == 1 {
    		t.Errorf("shift overflow mishandled")
    	}
    	if one8>>N>>N == 1 {
    		t.Errorf("shift overflow mishandled")
    	}
    	if one8u>>N>>N == 1 {
    		t.Errorf("shift overflow mishandled")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 22:26:39 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/testdata/arm64error.s

    	ADDS	R7@>2, R5, R16                                   // ERROR "unsupported shift operator"
    	ADDSW	R7@>2, R5, R16                                   // ERROR "unsupported shift operator"
    	SUB	R7@>2, R5, R16                                   // ERROR "unsupported shift operator"
    	SUBW	R7@>2, R5, R16                                   // ERROR "unsupported shift operator"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 03:28:17 UTC 2023
    - 37.8K bytes
    - Viewed (0)
Back to top