- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 82 for S1 (0.02 sec)
-
src/runtime/runtime_test.go
v := *(*byte)(unsafe.Pointer(addr)) t.Logf("addr %#x: %#x\n", addr, v) } func eqstring_generic(s1, s2 string) bool { if len(s1) != len(s2) { return false } // optimization in assembly versions: // if s1.str == s2.str { return true } for i := 0; i < len(s1); i++ { if s1[i] != s2[i] { return false } } return true } func TestEqString(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 11.7K bytes - Viewed (0) -
src/math/rand/rand_test.go
// disagree, or <0 if the lengths are the same and all elements // are identical. func compareUint32Slices(s1, s2 []uint32) int { if len(s1) != len(s2) { if len(s1) > len(s2) { return len(s2) + 1 } return len(s1) + 1 } for i := range s1 { if s1[i] != s2[i] { return i } } return -1 } // compareFloat32Slices returns the first index where the two slices
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 16.9K bytes - Viewed (0) -
src/cmd/compile/internal/test/abiutils_test.go
} func TestABIUtilsMethod(t *testing.T) { // type s1 struct { f1 int16; f2 int16; f3 int16 } // func(p1 *s1, p2 [7]*s1, p3 float64, p4 int16, p5 int16, p6 int16) // (r1 [7]*s1, r2 float64, r3 int64) i16 := types.Types[types.TINT16] i64 := types.Types[types.TINT64] f64 := types.Types[types.TFLOAT64] s1 := mkstruct(i16, i16, i16) ps1 := types.NewPtr(s1) a7 := types.NewArray(ps1, 7)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 04 15:11:40 UTC 2023 - 14.2K bytes - Viewed (0) -
pkg/slices/slices_test.go
}, want: []*string{}, }, { name: "slice with 1 element", args: args[string]{ []string{s1}, }, want: []*string{&s1}, }, { name: "slice with many elements", args: args[string]{ []string{s1, s2, s3}, }, want: []*string{&s1, &s2, &s3}, }, } intTests := []testCase[int]{ { name: "empty slice", args: args[int]{ []int{},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 18.2K bytes - Viewed (0) -
src/encoding/json/encode_test.go
CaseName: Name("DominantField"), // Both S1 and S2 have a field named X, but since S has an X field as // well, it takes precedence over S1.X and S2.X. makeInput: func() any { type ( S1 struct{ x, X int } S2 struct{ x, X int } S struct { S1 S2 x, X int } ) return S{S1{1, 2}, S2{3, 4}, 5, 6} }, want: `{"X":6}`, }, {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 29.4K bytes - Viewed (0) -
pkg/kube/multicluster/secretcontroller_test.go
c := buildTestController(t, false) c.AddSecret("s0", "c0") c.AddSecret("s1", "c1") c.Run(stop) // before sync assert.EventuallyEqual(t, c.controller.ListRemoteClusters, []cluster.DebugInfo{ {ID: "config", SyncStatus: "syncing"}, {ID: "c0", SecretName: "istio-system/s0", SyncStatus: "syncing"}, {ID: "c1", SecretName: "istio-system/s1", SyncStatus: "syncing"}, })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 17.6K bytes - Viewed (0) -
test/codegen/memcombine.go
_ = b[2] // arm64:`MOVH\sR[0-9]+,\s1\(R[0-9]+\)`,-`MOVB` // 386:`MOVW\s[A-Z]+,\s1\([A-Z]+\)`,-`MOVB` // amd64:`MOVW\s[A-Z]+,\s1\([A-Z]+\)`,-`MOVB` // ppc64le:`MOVH\s`,-`MOVB` // ppc64:`MOVHBR`,-`MOVB` b[1], b[2] = byte(val), byte(val>>8) } func store_le_byte_2_inv(b []byte, val uint16) { _ = b[2] // 386:`MOVW\s[A-Z]+,\s1\([A-Z]+\)`,-`MOVB` // amd64:`MOVW\s[A-Z]+,\s1\([A-Z]+\)`,-`MOVB`
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 19:45:41 UTC 2024 - 29.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/tests/compose-uniform-quantized-type.mlir
%3 = stablehlo.constant dense<4> : tensor<1x1x3xi32> // Precalculated q2 * z1. %4 = stablehlo.constant dense<3.000000e+03> : tensor<1x1x3xf32> // Merged scale: s1 * s2. %5 = stablehlo.constant dense<2.000000e+02> : tensor<1x1x1xf32> // Output inverse scale. %6 = stablehlo.constant dense<2> : tensor<1x1x1xi8> // Output zero point.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 17:10:32 UTC 2024 - 37K bytes - Viewed (0) -
src/crypto/sha256/sha256block_ppc64x.s
VSHASIGMAW $0, xj_1, $0, s0; \ VSEL g, f, e, FUNC; \ VSHASIGMAW $15, e, $1, S1; \ VADDUWM xi, h, h; \ VSHASIGMAW $0, a, $1, S0; \ VSHASIGMAW $15, xj_14, $0, s1; \ VADDUWM FUNC, h, h; \ VXOR b, a, FUNC; \ VADDUWM xj_9, xj, xj; \ VADDUWM S1, h, h; \ VSEL b, c, FUNC, FUNC; \ VADDUWM KI, g, g; \ VADDUWM h, d, d; \ VADDUWM FUNC, S0, S0; \
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 14.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ModelRuleBindingFailureIntegrationTest.groovy
failure.assertHasCause("""Type-only model reference of type java.lang.String (parameter 1) is ambiguous as multiple model elements are available for this type: - s1 (created by: Plugin1.Rules#s1()) - s2 (created by: Plugin2.Rules#s2())""") } def "fails on incompatible by-type reference"() { given: buildScript """ class Plugin1 {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 10.3K bytes - Viewed (0)