Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 197 for Bad (0.06 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. maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            SimpleProblemCollector result = validate("bad-dependency-scope.xml");
    
            assertViolations(result, 0, 0, 2);
    
            assertTrue(result.getWarnings().get(0).contains("test:f"));
    
            assertTrue(result.getWarnings().get(1).contains("test:g"));
        }
    
        @Test
        void testBadDependencyManagementScope() throws Exception {
            SimpleProblemCollector result = validate("bad-dependency-management-scope.xml");
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 13:13:07 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  3. src/crypto/x509/name_constraints_test.go

    		if err == nil {
    			t.Errorf("bad name %q unexpectedly accepted in name constraint", test.name)
    			continue
    		} else {
    			if !test.matcher(err) {
    				t.Errorf("bad name %q triggered unrecognised error: %s", test.name, err)
    			}
    		}
    	}
    }
    
    func TestBadNamesInSANs(t *testing.T) {
    	// Bad names in URI and IP SANs should not parse. Bad DNS and email SANs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 22:40:21 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. pkg/scheduler/apis/config/validation/validation_test.go

    		wantErrs field.ErrorList
    	}{
    		"good": {
    			config: validConfig,
    		},
    		"bad-parallelism-invalid-value": {
    			config: invalidParallelismValue,
    			wantErrs: field.ErrorList{
    				&field.Error{
    					Type:  field.ErrorTypeInvalid,
    					Field: "parallelism",
    				},
    			},
    		},
    		"bad-resource-name-not-set": {
    			config: resourceNameNotSet,
    			wantErrs: field.ErrorList{
    				&field.Error{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 06:27:01 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/cmd/vendor/golang.org/x/mod/sumdb/tlog/tile.go

    	if err != nil {
    		return nil, err
    	}
    	if len(data) != len(tiles) {
    		return nil, fmt.Errorf("TileReader returned bad result slice (len=%d, want %d)", len(data), len(tiles))
    	}
    	for i, tile := range tiles {
    		if len(data[i]) != tile.W*HashSize {
    			return nil, fmt.Errorf("TileReader returned bad result slice (%v len=%d, want %d)", tile.Path(), len(data[i]), tile.W*HashSize)
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top