Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 69 for S1 (0.03 sec)

  1. src/runtime/signal_riscv64.go

    	print("gp  ", hex(c.gp()), "\t")
    	print("tp  ", hex(c.tp()), "\n")
    	print("t0  ", hex(c.t0()), "\t")
    	print("t1  ", hex(c.t1()), "\n")
    	print("t2  ", hex(c.t2()), "\t")
    	print("s0  ", hex(c.s0()), "\n")
    	print("s1  ", hex(c.s1()), "\t")
    	print("a0  ", hex(c.a0()), "\n")
    	print("a1  ", hex(c.a1()), "\t")
    	print("a2  ", hex(c.a2()), "\n")
    	print("a3  ", hex(c.a3()), "\t")
    	print("a4  ", hex(c.a4()), "\n")
    	print("a5  ", hex(c.a5()), "\t")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 02:55:17 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/main/java/org/gradle/util/TextUtil.java

                    builder.append('\n');
                }
            }
    
            return builder.toString();
        }
    
        public static String shorterOf(String s1, String s2) {
            logDeprecation();
            if (s2.length() >= s1.length()) {
                return s1;
            } else {
                return s2;
            }
        }
    
        /**
         * Same behavior as Groovy minus operator between Strings
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. src/crypto/tls/prf.go

    	"crypto/sha1"
    	"crypto/sha256"
    	"crypto/sha512"
    	"errors"
    	"fmt"
    	"hash"
    )
    
    // Split a premaster secret in two as specified in RFC 4346, Section 5.
    func splitPreMasterSecret(secret []byte) (s1, s2 []byte) {
    	s1 = secret[0 : (len(secret)+1)/2]
    	s2 = secret[len(secret)/2:]
    	return
    }
    
    // pHash implements the P_hash function, as defined in RFC 4346, Section 5.
    func pHash(result, secret, seed []byte, hash func() hash.Hash) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 16:29:49 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  4. pkg/proxy/util/linebuffer_test.go

    			name:     "one slice",
    			input:    []interface{}{[]string{"test1", "test2"}},
    			expected: "test1 test2\n",
    		},
    		{
    			name:     "mixed",
    			input:    []interface{}{"s1", "s2", []string{"s3", "s4"}, "", "s5", []string{}, []string{"s6"}, "s7"},
    			expected: "s1 s2 s3 s4  s5  s6 s7\n",
    		},
    	}
    	testBuffer := NewLineBuffer()
    	for _, testCase := range testCases {
    		t.Run(testCase.name, func(t *testing.T) {
    			testBuffer.Reset()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 12:38:25 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. test/typeparam/graph.go

    )
    
    // _SliceEqual reports whether two slices are equal: the same length and all
    // elements equal. All floating point NaNs are considered equal.
    func _SliceEqual[Elem comparable](s1, s2 []Elem) bool {
    	if len(s1) != len(s2) {
    		return false
    	}
    	for i, v1 := range s1 {
    		v2 := s2[i]
    		if v1 != v2 {
    			isNaN := func(f Elem) bool { return f != f }
    			if !isNaN(v1) || !isNaN(v2) {
    				return false
    			}
    		}
    	}
    	return true
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top