Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 123 for Bad (0.03 sec)

  1. src/runtime/runtime1.go

    	if unsafe.Sizeof(a) != 1 {
    		throw("bad a")
    	}
    	if unsafe.Sizeof(b) != 1 {
    		throw("bad b")
    	}
    	if unsafe.Sizeof(c) != 2 {
    		throw("bad c")
    	}
    	if unsafe.Sizeof(d) != 2 {
    		throw("bad d")
    	}
    	if unsafe.Sizeof(e) != 4 {
    		throw("bad e")
    	}
    	if unsafe.Sizeof(f) != 4 {
    		throw("bad f")
    	}
    	if unsafe.Sizeof(g) != 8 {
    		throw("bad g")
    	}
    	if unsafe.Sizeof(h) != 8 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  2. src/crypto/ed25519/ed25519.go

    	}
    	switch {
    	case hash == crypto.SHA512: // Ed25519ph
    		if l := len(message); l != sha512.Size {
    			return nil, errors.New("ed25519: bad Ed25519ph message hash length: " + strconv.Itoa(l))
    		}
    		if l := len(context); l > 255 {
    			return nil, errors.New("ed25519: bad Ed25519ph context length: " + strconv.Itoa(l))
    		}
    		signature := make([]byte, SignatureSize)
    		sign(signature, priv, message, domPrefixPh, context)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. pkg/apis/resource/validation/validation_resourceclaimtemplate_test.go

    		},
    		"missing-name": {
    			wantFailures: field.ErrorList{field.Required(field.NewPath("metadata", "name"), "name or generateName is required")},
    			template:     testClaimTemplate("", goodNS, goodClaimSpec),
    		},
    		"bad-name": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. src/runtime/runtime_test.go

    	for i := 0; i < b.N; i++ {
    		for j := 0; j < 100; j++ {
    			if errfn() == io.EOF {
    				b.Fatal("bad comparison")
    			}
    		}
    	}
    }
    
    func BenchmarkIfaceCmpNil100(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		for j := 0; j < 100; j++ {
    			if errfn1() == nil {
    				b.Fatal("bad comparison")
    			}
    		}
    	}
    }
    
    var efaceCmp1 any
    var efaceCmp2 any
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. pkg/apis/resource/validation/validation_resourceclass_test.go

    		},
    		"missing-name": {
    			wantFailures: field.ErrorList{field.Required(field.NewPath("metadata", "name"), "name or generateName is required")},
    			class:        testClass("", goodName),
    		},
    		"bad-name": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. src/testing/fstest/testfs.go

    func (t *fsTester) checkBadPath(file string, desc string, open func(string) error) {
    	bad := []string{
    		"/" + file,
    		file + "/.",
    	}
    	if file == "." {
    		bad = append(bad, "/")
    	}
    	if i := strings.Index(file, "/"); i >= 0 {
    		bad = append(bad,
    			file[:i]+"//"+file[i+1:],
    			file[:i]+"/./"+file[i+1:],
    			file[:i]+`\`+file[i+1:],
    			file[:i]+"/../"+file,
    		)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  7. src/internal/trace/summary_test.go

    		(summary.StartTime != 0 && summary.EndTime != 0 && summary.StartTime > summary.EndTime) {
    		t.Errorf("bad summary creation/start/end times for G %d: creation=%d start=%d end=%d", summary.ID, summary.CreationTime, summary.StartTime, summary.EndTime)
    	}
    	if (summary.PC != 0 && summary.Name == "") || (summary.PC == 0 && summary.Name != "") {
    		t.Errorf("bad name and/or PC for G %d: pc=0x%x name=%q", summary.ID, summary.PC, summary.Name)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. src/crypto/tls/boring_test.go

    		if (clientErr == nil) == ok {
    			if ok {
    				t.Logf("%s: accept", desc)
    			} else {
    				t.Logf("%s: reject", desc)
    			}
    		} else {
    			if ok {
    				t.Errorf("%s: BAD reject (%v)", desc, clientErr)
    			} else {
    				t.Errorf("%s: BAD accept", desc)
    			}
    		}
    	}
    
    	// server verifying client cert
    	testClientCert := func(t *testing.T, desc string, pool *x509.CertPool, key interface{}, list [][]byte, ok bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go

    	{7, "E2BIG", "argument list too long"},
    	{8, "ENOEXEC", "exec format error"},
    	{9, "EBADF", "bad file descriptor"},
    	{10, "ECHILD", "no child processes"},
    	{11, "EAGAIN", "resource temporarily unavailable"},
    	{12, "ENOMEM", "cannot allocate memory"},
    	{13, "EACCES", "permission denied"},
    	{14, "EFAULT", "bad address"},
    	{15, "ENOTBLK", "block device required"},
    	{16, "EBUSY", "device or resource busy"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  10. src/go/types/stmt.go

    		if !buildcfg.Experiment.RangeFunc && allowVersion != nil && !allowVersion(go1_23) {
    			return bad("requires go1.23 or later")
    		}
    		assert(typ.Recv() == nil)
    		switch {
    		case typ.Params().Len() != 1:
    			return bad("func must be func(yield func(...) bool): wrong argument count")
    		case toSig(typ.Params().At(0).Type()) == nil:
    			return bad("func must be func(yield func(...) bool): argument is not func")
    		case typ.Results().Len() != 0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
Back to top