Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for testNet (0.17 sec)

  1. src/cmd/go/internal/test/test.go

    	ctx, span := trace.StartSpan(ctx, fmt.Sprint("Running ", cmd.Name(), " command"))
    	defer span.Done()
    
    	work.FindExecCmd() // initialize cached result
    
    	work.BuildInit()
    	work.VetFlags = testVet.flags
    	work.VetExplicit = testVet.explicit
    
    	pkgOpts := load.PackageOpts{ModResolveTests: true}
    	pkgs = load.PackagesAndErrors(ctx, pkgOpts, pkgArgs)
    	load.CheckPackageErrors(pkgs)
    	if len(pkgs) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  2. src/crypto/tls/handshake_client_test.go

    u58=
    -----END CERTIFICATE-----`
    
    func TestHandshakeRSATooBig(t *testing.T) {
    	testCert, _ := pem.Decode([]byte(largeRSAKeyCertPEM))
    
    	c := &Conn{conn: &discardConn{}, config: testConfig.Clone()}
    
    	expectedErr := "tls: server sent certificate containing RSA key larger than 8192 bits"
    	err := c.verifyServerCertificate([][]byte{testCert.Bytes})
    	if err == nil || err.Error() != expectedErr {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/registry/rest/resttest/resttest.go

    // By default "foo%d" is used
    func (t *Tester) Namer(namer func(int) string) *Tester {
    	t.namer = namer
    	return t
    }
    
    func (t *Tester) ClusterScope() *Tester {
    	t.clusterScope = true
    	return t
    }
    
    func (t *Tester) AllowCreateOnUpdate() *Tester {
    	t.createOnUpdate = true
    	return t
    }
    
    func (t *Tester) GeneratesName() *Tester {
    	t.generatesName = true
    	return t
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    	return Quantity{d: bigDec(i, exponent), Format: format}
    }
    
    func intQuantity(i int64, exponent Scale, format Format) Quantity {
    	return Quantity{i: int64Amount{value: i, scale: exponent}, Format: format}
    }
    
    func TestDec(t *testing.T) {
    	table := []struct {
    		got    infDecAmount
    		expect string
    	}{
    		{dec(1, 0), "1"},
    		{dec(1, 1), "10"},
    		{dec(5, 2), "500"},
    		{dec(8, 3), "8000"},
    		{dec(2, 0), "2"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  5. src/strings/strings_test.go

    	{"abc", "c", "ab", "", true},
    	{"abc", "abc", "", "", true},
    	{"abc", "", "", "abc", true},
    	{"abc", "d", "abc", "", false},
    	{"", "d", "", "", false},
    	{"", "", "", "", true},
    }
    
    func TestCut(t *testing.T) {
    	for _, tt := range cutTests {
    		if before, after, found := Cut(tt.s, tt.sep); before != tt.before || after != tt.after || found != tt.found {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  6. src/bytes/bytes_test.go

    	{"abc", "c", "ab", "", true},
    	{"abc", "abc", "", "", true},
    	{"abc", "", "", "abc", true},
    	{"abc", "d", "abc", "", false},
    	{"", "d", "", "", false},
    	{"", "", "", "", true},
    }
    
    func TestCut(t *testing.T) {
    	for _, tt := range cutTests {
    		if before, after, found := Cut([]byte(tt.s), []byte(tt.sep)); string(before) != tt.before || string(after) != tt.after || found != tt.found {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
Back to top