- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for Shift2 (0.09 sec)
-
src/cmd/compile/internal/ssa/_gen/PPC64.rules
(Rsh16x(64|32|16|8) x y) && shiftIsBounded(v) => (SRAD (MOVHreg x) y) (Rsh8x(64|32|16|8) x y) && shiftIsBounded(v) => (SRAD (MOVBreg x) y) // Unbounded shifts. Go shifts saturate to 0 or -1 when shifting beyond the number of // bits in a type, PPC64 shifts do not (see the ISA for details). // // Note, y is always non-negative. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 53.2K bytes - Viewed (0) -
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) -
guava/src/com/google/common/hash/LittleEndianByteArray.java
long result = 0; // Due to the way we shift, we can stop iterating once we've run out of data, the rest // of the result already being filled with zeros. // This loop is critical to performance, so please check HashBenchmark if altering it. int limit = Math.min(length, 8); for (int i = 0; i < limit; i++) { // Shift value left while iterating logically through the array.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 9.8K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/LittleEndianByteArray.java
long result = 0; // Due to the way we shift, we can stop iterating once we've run out of data, the rest // of the result already being filled with zeros. // This loop is critical to performance, so please check HashBenchmark if altering it. int limit = Math.min(length, 8); for (int i = 0; i < limit; i++) { // Shift value left while iterating logically through the array.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 9.7K bytes - Viewed (0) -
src/math/big/float.go
// TODO(gri) having a combined add-and-shift primitive // could make this code significantly faster switch { case ex < ey: if al { t := nat(nil).shl(y.mant, uint(ey-ex)) z.mant = z.mant.add(x.mant, t) } else { z.mant = z.mant.shl(y.mant, uint(ey-ex)) z.mant = z.mant.add(x.mant, z.mant) } default: // ex == ey, no shift needed z.mant = z.mant.add(x.mant, y.mant)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 15:46:54 UTC 2024 - 44.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewrite.go
} func newPPC64ShiftAuxInt(sh, mb, me, sz int64) int32 { if sh < 0 || sh >= sz { panic("PPC64 shift arg sh out of range") } if mb < 0 || mb >= sz { panic("PPC64 shift arg mb out of range") } if me < 0 || me >= sz { panic("PPC64 shift arg me out of range") } return int32(sh<<16 | mb<<8 | me) } func GetPPC64Shiftsh(auxint int64) int64 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 64.2K bytes - Viewed (0) -
build/common.sh
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 16:13:15 UTC 2024 - 26.5K bytes - Viewed (0) -
guava/src/com/google/common/primitives/UnsignedBytes.java
* little-endian. Long.numberOfTrailingZeros(diff) tells us the least significant * nonzero bit, and zeroing out the first three bits of L.nTZ gives us the shift to get * that least significant nonzero byte. */ int n = Long.numberOfTrailingZeros(lw ^ rw) & ~0x7;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 18.3K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedBytes.java
* little-endian. Long.numberOfTrailingZeros(diff) tells us the least significant * nonzero bit, and zeroing out the first three bits of L.nTZ gives us the shift to get * that least significant nonzero byte. */ int n = Long.numberOfTrailingZeros(lw ^ rw) & ~0x7;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 18.3K bytes - Viewed (0) -
cluster/gce/upgrade.sh
env_os_distro=true ;; h) usage exit 0 ;; \?) echo "Invalid option: -$OPTARG" >&2 usage exit 1 ;; esac done shift $((OPTIND-1)) if [[ $# -gt 1 ]]; then echo "Error: Only one parameter (<version number or publication>) may be passed after the set of flags!" >&2 usage exit 1 fi
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 21:13:22 UTC 2024 - 25.2K bytes - Viewed (0)