- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 200 for S1 (0.08 sec)
-
test/codegen/switch.go
return 8 default: return len(x) } } // Use single-byte ordered comparisons for binary searching strings. // See issue 53333. func mimetype(ext string) string { // amd64: `CMPB\s1\(.*\), \$104$`,-`cmpstring` // arm64: `MOVB\s1\(R.*\), R.*$`, `CMPW\s\$104, R.*$`, -`cmpstring` switch ext { // amd64: `CMPL\s\(.*\), \$1836345390$` // arm64: `MOVD\s\$1836345390`, `CMPW\sR.*, R.*$` case ".htm": return "A"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 09 18:39:50 UTC 2023 - 3.6K bytes - Viewed (0) -
src/strings/builder_test.go
b.WriteString("alpha") check(t, &b, "alpha") s1 := b.String() b.WriteString("beta") check(t, &b, "alphabeta") s2 := b.String() b.WriteString("gamma") check(t, &b, "alphabetagamma") s3 := b.String() // Check that subsequent operations didn't change the returned strings. if want := "alpha"; s1 != want { t.Errorf("first String result is now %q; want %q", s1, want) } if want := "alphabeta"; s2 != want {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 19 19:51:15 UTC 2024 - 8.1K bytes - Viewed (0) -
src/cmd/link/internal/loader/loader_test.go
irm := ldr.IsReflectMethod(es1) if 0 != es1val { t.Errorf("expected IsReflectMethod(es1) value of 0, got %v", irm) } } func sameRelocSlice(s1 *Relocs, s2 []Reloc) bool { if s1.Count() != len(s2) { return false } for i := 0; i < s1.Count(); i++ { r1 := s1.At(i) r2 := &s2[i] if r1.Sym() != r2.Sym() || r1.Type() != r2.Type() || r1.Off() != r2.Off() || r1.Add() != r2.Add() ||
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 19:08:09 UTC 2024 - 12K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/interpodaffinity/scoring_test.go
} labelAzAz2 := map[string]string{ "az": "az2", } labelRgChinaAzAz1 := map[string]string{ "region": "China", "az": "az1", } podLabelSecurityS1 := map[string]string{ "security": "S1", } podLabelSecurityS2 := map[string]string{ "security": "S2", } // considered only preferredDuringSchedulingIgnoredDuringExecution in pod affinity stayWithS1InRegion := &v1.Affinity{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 03:30:06 UTC 2023 - 44.8K bytes - Viewed (0) -
src/net/http/routing_index_test.go
// genConcat2 generates the cross product of the strings of g1 concatenated // with those of g2. func genConcat2(g1, g2 generator) generator { return func(collect func(string)) { g1(func(s1 string) { g2(func(s2 string) { collect(s1 + s2) }) }) } } // genConcat generalizes genConcat2 to any number of generators. func genConcat(gs ...generator) generator { if len(gs) == 0 { return genConst("")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 22:14:00 UTC 2024 - 4K bytes - Viewed (0) -
security/pkg/pki/ra/common.go
return false } if err := csr.CheckSignature(); err != nil { return false } csrIDs, err := util.ExtractIDs(csr.Extensions) if err != nil { return false } for _, s1 := range csrIDs { if !slices.Contains(subjectIDs, s1) { return false } } return true } // NewIstioRA is a factory method that returns an RA that implements the RegistrationAuthority functionality.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Sep 11 19:57:30 UTC 2023 - 4.4K bytes - Viewed (0) -
pkg/config/schema/collection/schemas_test.go
}) } } func TestSchemas_Validate_Error(t *testing.T) { g := NewWithT(t) b := collection.NewSchemasBuilder() s1 := resource.Builder{ Kind: "Zoo", ProtoPackage: "github.com/gogo/protobuf/types", Proto: "zoo", }.BuildNoValidate() b.MustAdd(s1) err := b.Build().Validate() g.Expect(err).NotTo(BeNil()) } func TestSchemas_ForEach(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 5.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/constant-fold.mlir
func.func @testBroadcastGradientArgsSameShape() -> (tensor<0xi32>, tensor<0xi32>) { %s0 = "tf.Const"() {value = dense<[1, 2]> : tensor<2xi32>} : () -> tensor<2xi32> %s1 = "tf.Const"() {value = dense<[1, 2]> : tensor<2xi32>} : () -> tensor<2xi32> %r0, %r1 = "tf.BroadcastGradientArgs"(%s0, %s1) {} : (tensor<2xi32>, tensor<2xi32>) -> (tensor<0xi32>, tensor<0xi32>) // CHECK-DAG: %[[R:.*]] = "tf.Const"() <{value = dense<> : tensor<0xi32>}> : () -> tensor<0xi32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jan 31 23:22:24 UTC 2024 - 36.7K bytes - Viewed (0) -
pkg/spiffe/spiffe_test.go
// Create servers that will act as SPIFFE bundle endpoints. s1 := httptest.NewTLSServer(h) s2 := httptest.NewTLSServer(h) // The system needs to trust these server certs to securely connect to // the SPIFFE bundle endpoints. serverCerts := []*x509.Certificate{s1.Certificate(), s2.Certificate()} input1 := map[string]string{ "foo": s1.Listener.Addr().String(), }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 18.1K bytes - Viewed (0) -
test/newinline.go
x = x + 1 } foo() // ERROR "inlining call to s0.func1" return x } func s1(x int) int { // ERROR "can inline s1" foo := func() int { // ERROR "can inline s1.func1" "func literal does not escape" return x } x = x + 1 return foo() // ERROR "inlining call to s1.func1" } func switchBreak(x, y int) int { // ERROR "can inline switchBreak" var n int switch x { case 0:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 20:15:25 UTC 2023 - 11.2K bytes - Viewed (0)