- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 143 for 152 (0.03 sec)
-
src/math/bits/example_test.go
fmt.Printf("%08b\n", 15) fmt.Printf("%08b\n", bits.RotateLeft8(15, 2)) fmt.Printf("%08b\n", bits.RotateLeft8(15, -2)) // Output: // 00001111 // 00111100 // 11000011 } func ExampleRotateLeft16() { fmt.Printf("%016b\n", 15) fmt.Printf("%016b\n", bits.RotateLeft16(15, 2)) fmt.Printf("%016b\n", bits.RotateLeft16(15, -2)) // Output: // 0000000000001111 // 0000000000111100
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 18:16:09 UTC 2019 - 5.3K bytes - Viewed (0) -
src/math/bits/make_examples.go
}, { name: "RotateLeft", in: 15, out: [4]any{bits.RotateLeft8(15, 2), bits.RotateLeft16(15, 2), bits.RotateLeft32(15, 2), bits.RotateLeft64(15, 2)}, out2: [4]any{bits.RotateLeft8(15, -2), bits.RotateLeft16(15, -2), bits.RotateLeft32(15, -2), bits.RotateLeft64(15, -2)}, }, { name: "Reverse", in: 19,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:27 UTC 2023 - 3K bytes - Viewed (0) -
src/crypto/des/cipher.go
for i := 0; i < 8; i++ { left, right = feistel(left, right, c.cipher3.subkeys[15-2*i], c.cipher3.subkeys[15-(2*i+1)]) } for i := 0; i < 8; i++ { right, left = feistel(right, left, c.cipher2.subkeys[2*i], c.cipher2.subkeys[2*i+1]) } for i := 0; i < 8; i++ { left, right = feistel(left, right, c.cipher1.subkeys[15-2*i], c.cipher1.subkeys[15-(2*i+1)]) } left = (left << 31) | (left >> 1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 4K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/toolchain/RequirementMatcherFactoryTest.java
*/ @Test void testCreateVersionMatcher() { RequirementMatcher matcher; matcher = RequirementMatcherFactory.createVersionMatcher("1.5.2"); assertFalse(matcher.matches("1.5")); assertTrue(matcher.matches("1.5.2")); assertFalse(matcher.matches("[1.4,1.5)")); assertFalse(matcher.matches("[1.5,1.5.2)")); assertFalse(matcher.matches("(1.5.2,1.6)"));
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 2.3K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_proxy_invalid.txt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 15 00:06:54 UTC 2021 - 397 bytes - Viewed (0) -
src/cmd/compile/internal/ssa/testdata/fma.go
//go:noinline func f(x float64) float64 { return x } func inlineFma(x, y, z float64) float64 { return x + y*z } func main() { w, x, y := 1.0, 1.0, 1.0 x = f(x + x/(1<<52)) w = f(w / (1 << 27)) y = f(y + y/(1<<52)) w0 := f(2 * w * (1 - w)) w1 := f(w * (1 + w)) x = x + w0*w1 x = inlineFma(x, w0, w1) y = y + f(w0*w1) y = y + f(w0*w1) fmt.Println(x, y, x-y) if x != y { os.Exit(1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 10 17:02:09 UTC 2022 - 602 bytes - Viewed (0) -
pkg/kube/version.go
"strconv" "k8s.io/apimachinery/pkg/util/version" kubeVersion "k8s.io/apimachinery/pkg/version" ) // IsAtLeastVersion returns true if the client is at least the specified version. // For example, on Kubernetes v1.15.2, IsAtLeastVersion(13) == true, IsAtLeastVersion(17) == false func IsAtLeastVersion(client Client, minorVersion uint) bool { clusterVersion, err := client.GetKubernetesVersion() if err != nil { return true }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 17 23:16:29 UTC 2024 - 2.8K bytes - Viewed (0) -
src/runtime/preempt_s390x.s
IPM R10 MOVD R14, -248(R15) ADD $-248, R15 MOVW R10, 8(R15) STMG R0, R12, 16(R15) FMOVD F0, 120(R15) FMOVD F1, 128(R15) FMOVD F2, 136(R15) FMOVD F3, 144(R15) FMOVD F4, 152(R15) FMOVD F5, 160(R15) FMOVD F6, 168(R15) FMOVD F7, 176(R15) FMOVD F8, 184(R15) FMOVD F9, 192(R15) FMOVD F10, 200(R15) FMOVD F11, 208(R15) FMOVD F12, 216(R15) FMOVD F13, 224(R15)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 21 21:52:38 UTC 2021 - 1K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/test.requirements.txt
# Test dependencies for pip tests grpcio ~= 1.42.0 portpicker ~= 1.5.2 scipy ~= 1.7.3 jax ~= 0.2.26
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Sep 18 14:52:45 UTC 2023 - 117 bytes - Viewed (0) -
src/runtime/cgo/gcc_riscv64.S
sd x23, 64(sp) sd x24, 72(sp) sd x25, 80(sp) sd x26, 88(sp) sd x27, 96(sp) fsd f8, 104(sp) fsd f9, 112(sp) fsd f18, 120(sp) fsd f19, 128(sp) fsd f20, 136(sp) fsd f21, 144(sp) fsd f22, 152(sp) fsd f23, 160(sp) fsd f24, 168(sp) fsd f25, 176(sp) fsd f26, 184(sp) fsd f27, 192(sp) // a0 = *fn, a1 = *setg_gcc, a2 = *g mv s1, a0 mv s0, a1 mv a0, a2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 05 16:41:48 UTC 2022 - 1.6K bytes - Viewed (0)