Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 257 for Bad (0.02 sec)

  1. src/internal/godebug/godebug_test.go

    		if strings.Contains(line, "godebug_test.go:") {
    			have = append(have, line[strings.LastIndex(line, "godebug_test.go:"):])
    		}
    	}
    	slices.Sort(have)
    
    	if !reflect.DeepEqual(have, want) {
    		t.Errorf("bad bisect output:\nhave %v\nwant %v\ncomplete output:\n%s", have, want, string(out))
    	}
    }
    
    // This test does nothing by itself, but you can run
    //
    //	bisect 'GODEBUG=buggy=1#PATTERN' go test -run='^TestBisectTestCase$'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. src/net/netip/netip_test.go

    			errstr: "zones cannot be present",
    		},
    		{
    			prefix: "1.1.1.0/+32",
    			errstr: "bad bits",
    		},
    		{
    			prefix: "1.1.1.0/-32",
    			errstr: "bad bits",
    		},
    		{
    			prefix: "1.1.1.0/032",
    			errstr: "bad bits",
    		},
    		{
    			prefix: "1.1.1.0/0032",
    			errstr: "bad bits",
    		},
    	}
    	for _, test := range tests {
    		t.Run(test.prefix, func(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
  3. pkg/kube/inject/inject_test.go

    			skipWebhook: true,
    		},
    		{
    			in:            "traffic-annotations-bad-includeipranges.yaml",
    			expectedError: "includeipranges",
    		},
    		{
    			in:            "traffic-annotations-bad-excludeipranges.yaml",
    			expectedError: "excludeipranges",
    		},
    		{
    			in:            "traffic-annotations-bad-includeinboundports.yaml",
    			expectedError: "includeinboundports",
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 20:35:11 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  4. src/runtime/traceruntime.go

    	// usage of the seqlock here, make sure to also look at what traceCPUSample is
    	// doing.
    	seq := mp.trace.seqlock.Add(1)
    	if debugTraceReentrancy && seq%2 != 1 {
    		throw("bad use of trace.seqlock or tracer is reentrant")
    	}
    
    	// N.B. This load of gen appears redundant with the one in traceEnabled.
    	// However, it's very important that the gen we use for writing to the trace
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/result/DefaultResolutionResultTest.groovy

                Stub(Path),
                Stub(Path),
                'test project'
            )
            def mid = DefaultModuleVersionIdentifier.newId("foo", "bar", "1.0")
            org.gradle.internal.Factory<String> broken = { "too bad" }
            def dep = new DefaultUnresolvedDependencyResult(
                Stub(ComponentSelector), false,
                Stub(ComponentSelectionReason),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:36:01 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. src/internal/fmtsort/sort.go

    		if c != 0 {
    			return c
    		}
    		return compare(aVal.Elem(), bVal.Elem())
    	default:
    		// Certain types cannot appear as keys (maps, funcs, slices), but be explicit.
    		panic("bad type in compare: " + aType.String())
    	}
    }
    
    // nilCompare checks whether either value is nil. If not, the boolean is false.
    // If either value is nil, the boolean is true and the integer is the comparison
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:31:45 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. src/internal/trace/event/go122/event.go

    	switch s {
    	case GoRunnable:
    		return "Runnable"
    	case GoRunning:
    		return "Running"
    	case GoSyscall:
    		return "Syscall"
    	case GoWaiting:
    		return "Waiting"
    	}
    	return "Bad"
    }
    
    type ProcStatus uint8
    
    const (
    	ProcBad ProcStatus = iota
    	ProcRunning
    	ProcIdle
    	ProcSyscall
    	ProcSyscallAbandoned
    )
    
    func (s ProcStatus) String() string {
    	switch s {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. src/runtime/export_test.go

    				break
    			}
    			gp.sig++
    		}
    		for j := 0; j < i; j++ {
    			if gs[j].sig != 1 {
    				print("bad element ", j, "(", gs[j].sig, ") at iter ", i, "\n")
    				throw("bad element")
    			}
    		}
    		if s != i/2 && s != i/2+1 {
    			print("bad steal ", s, ", want ", i/2, " or ", i/2+1, ", iter ", i, "\n")
    			throw("bad steal")
    		}
    	}
    }
    
    func RunSchedLocalQueueEmptyTest(iters int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  9. pkg/test/framework/components/environment/kube/kube.go

    }
    
    func buildClusters(configs []cluster.Config) (cluster.Clusters, error) {
    	scopes.Framework.Infof("=== BEGIN: Building clusters ===")
    
    	// use multierror to give as much detail as possible if the config is bad
    	var errs error
    	defer func() {
    		if errs != nil {
    			scopes.Framework.Infof("=== FAILED: Building clusters ===")
    		}
    	}()
    
    	allClusters := make(cluster.Map)
    	var clusters cluster.Clusters
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. src/internal/coverage/cfile/apis.go

    	// if we could just zero out the entire counter array, but for the
    	// moment we go through and zero out just the slots in the array
    	// corresponding to the counter values. We do this to avoid the
    	// following bad scenario: suppose that a user builds their Go
    	// program with "-cover", and that program has a function (call it
    	// main.XYZ) that invokes ClearCounters:
    	//
    	//     func XYZ() {
    	//       ... do some stuff ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top