Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 936 for Bad (0.12 sec)

  1. src/time/internal_test.go

    	t := newTimer(runtimeNano(), 1<<63-1, empty, nil, nil)
    	defer t.Stop()
    
    	// If this test fails, we will either throw (when siftdownTimer detects
    	// bad when on update), or other timers will hang (if the timer in a
    	// heap is in a bad state). There is no reliable way to test this, but
    	// we wait on a short timer here as a smoke test (alternatively, timers
    	// in later tests may hang).
    	<-After(25 * Millisecond)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:37 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_edit.txt

    cmpenv go.mod $WORK/go.mod.edit2
    
    # -exclude and -retract reject invalid versions.
    ! go mod edit -exclude=example.com/m@bad
    stderr '^go: -exclude=example.com/m@bad: version "bad" invalid: must be of the form v1.2.3$'
    ! go mod edit -retract=bad
    stderr '^go: -retract=bad: version "bad" invalid: must be of the form v1.2.3$'
    
    ! go mod edit -exclude=example.com/m@v2.0.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/HttpAuthenticationDependencyResolutionIntegrationTest.groovy

            authScheme | credsName | creds
            BASIC      | 'missing' | ''
            DIGEST     | 'missing' | ''
            NTLM       | 'missing' | ''
            BASIC      | 'bad'     | badCredentials
            DIGEST     | 'bad'     | badCredentials
            NTLM       | 'bad'     | badCredentials
        }
    
        def "reports failure resolving with #credsName credentials from #authScheme authenticated HTTP maven repository"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-groovy/src/integTest/groovy/org/gradle/java/compile/AbstractGroovyCompileAvoidanceIntegrationSpec.groovy

                public class MyASTTransformation extends AbstractASTTransformation {
                    @Override
                    public void visit(ASTNode[] nodes, SourceUnit source) {
                        assert false: "Bad AST transformation!"
                    }
                    public void foo() {}
                }
            """
        }
    
        private String astTransformationDeclaration() {
            """
                project(':b') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/upgrade/diff_test.go

    		},
    		{
    			name:            "invalid: valid config but bad manifest path",
    			cfgPath:         testUpgradeDiffConfig,
    			setManifestPath: true,
    			manifestPath:    "bad-path",
    			expectedError:   true,
    		},
    		{
    			name:          "invalid: badly formatted version as argument",
    			cfgPath:       testUpgradeDiffConfig,
    			args:          []string{"bad-version"},
    			expectedError: true,
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 04:08:57 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/cpumanager/policy_options.go

    			optValue, err := strconv.ParseBool(value)
    			if err != nil {
    				return opts, fmt.Errorf("bad value for option %q: %w", name, err)
    			}
    			opts.FullPhysicalCPUsOnly = optValue
    		case DistributeCPUsAcrossNUMAOption:
    			optValue, err := strconv.ParseBool(value)
    			if err != nil {
    				return opts, fmt.Errorf("bad value for option %q: %w", name, err)
    			}
    			opts.DistributeCPUsAcrossNUMA = optValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  7. pkg/util/iptree/iptree_test.go

    		}
    	}
    	if r.Len(false) != len(keys) {
    		t.Fatalf("bad len: %v %v", r.Len(false), len(keys))
    	}
    
    	expected := []string{
    		"10.0.0.0/8",
    		"192.168.0.0/20",
    		"172.16.0.0/12",
    	}
    	parents := r.TopLevelPrefixes(false)
    	if len(parents) != len(expected) {
    		t.Fatalf("bad len: %v %v", len(parents), len(expected))
    	}
    
    	for _, k := range expected {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 17.8K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/gotoolchain_net.txt

    go version
    stderr 'go: downloading go1.999testmod \(.*/.*\)'
    
    # GOTOOLCHAIN cached from network
    go version
    ! stderr downloading
    stdout go1.999testmod
    
    # GOTOOLCHAIN with GOSUMDB enabled but at a bad URL should operate in cache and not try badurl
    env oldsumdb=$GOSUMDB
    env GOSUMDB=$oldsumdb' http://badurl'
    go version
    ! stderr downloading
    stdout go1.999testmod
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 17:16:47 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. src/io/fs/glob_test.go

    			continue
    		}
    		if len(matches) != 0 {
    			t.Errorf("Glob(%#q) = %#v want []", pattern, matches)
    		}
    	}
    }
    
    func TestGlobError(t *testing.T) {
    	bad := []string{`[]`, `nonexist/[]`}
    	for _, pattern := range bad {
    		_, err := Glob(os.DirFS("."), pattern)
    		if err != path.ErrBadPattern {
    			t.Errorf("Glob(fs, %#q) returned err=%v, want path.ErrBadPattern", pattern, err)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:36:52 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. 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)
Back to top