- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 437 for Shift2 (0.1 sec)
-
src/crypto/md5/gen.go
if err != nil { log.Fatal(err) } err = os.WriteFile(*filename, data, 0644) if err != nil { log.Fatal(err) } } type Data struct { a, b, c, d string Shift1 []int Shift2 []int Shift3 []int Shift4 []int Table1 []uint32 Table2 []uint32 Table3 []uint32 Table4 []uint32 } var funcs = template.FuncMap{ "dup": dup, "relabel": relabel,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 4.7K bytes - Viewed (0) -
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) -
src/cmd/internal/obj/riscv/obj.go
sllOp, srlOp = ASLLW, ASRLW } shift1, shift2 := sllOp, srlOp if ins.as == AROR || ins.as == ARORW { shift1, shift2 = shift2, shift1 } return []*instruction{ &instruction{as: ASUB, rs1: REG_ZERO, rs2: ins.rs2, rd: REG_TMP}, &instruction{as: shift2, rs1: ins.rs1, rs2: REG_TMP, rd: REG_TMP}, &instruction{as: shift1, rs1: ins.rs1, rs2: ins.rs2, rd: ins.rd},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 07 03:32:27 UTC 2024 - 77K bytes - Viewed (0) -
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) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/shift/shift.go
} } }) return nil, nil } // checkLongShift checks if shift or shift-assign operations shift by more than // the length of the underlying variable. func checkLongShift(pass *analysis.Pass, node ast.Node, x, y ast.Expr) { if pass.TypesInfo.Types[x].Value != nil { // Ignore shifts of constants. // These are frequently used for bit-twiddling tricks
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 3.5K bytes - Viewed (0) -
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) -
src/go/types/testdata/local/shifts.go
// Copyright 2022 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // The following shift tests are disabled in the shared // testdata/check/shifts.go file because they don't work // correctly with types2 at the moment. See go.dev/issue/52080. // Make sure we keep testing them with go/types. // // TODO(gri) Once go.dev/issue/52080 is fixed, this file can be
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 01 21:31:01 UTC 2023 - 886 bytes - Viewed (0) -
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) -
test/codegen/bitfield.go
return x<<7 ^ x2>>25 // arm64:"EXTRW\t[$]25," } // check 32-bit shift masking func mask32(x uint32) uint32 { return (x << 29) >> 29 // arm64:"AND\t[$]7, R[0-9]+",-"LSR",-"LSL" } // check 16-bit shift masking func mask16(x uint16) uint16 { return (x << 14) >> 14 // arm64:"AND\t[$]3, R[0-9]+",-"LSR",-"LSL" } // check 8-bit shift masking func mask8(x uint8) uint8 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 23 06:11:32 UTC 2022 - 9.6K bytes - Viewed (0) -
test/fixedbugs/issue28079c.go
// license that can be found in the LICENSE file. // Non-Go-constant but constant values aren't ok for shifts. package p import "unsafe" func f() { _ = complex(1<<uintptr(unsafe.Pointer(nil)), 0) // ERROR "invalid operation: shifted operand 1 \(type float64\) must be integer|non-integer type for left operand of shift"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 28 22:28:41 UTC 2022 - 451 bytes - Viewed (0)