Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 936 for Bad (0.02 sec)

  1. src/runtime/testdata/testprogcgo/coro.go

    		if !ok {
    			break
    		}
    		if v != 5 {
    			return fmt.Errorf("bad iterator: wanted value %d, got %d", 5, v)
    		}
    	}
    	return nil
    }
    
    func callerExhaustCallback(i iter.Seq[int]) (err error) {
    	callFromC(func() {
    		next, _ := iter.Pull(i)
    		for {
    			v, ok := next()
    			if !ok {
    				break
    			}
    			if v != 5 {
    				err = fmt.Errorf("bad iterator: wanted value %d, got %d", 5, v)
    			}
    		}
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. pkg/kubelet/clustertrustbundle/clustertrustbundle_manager_test.go

    		t.Fatalf("Got bad bundle; diff (-got +want)\n%s", diff)
    	}
    
    	gotBundle, err = ctbManager.GetTrustAnchorsByName("ctb2", false)
    	if err != nil {
    		t.Fatalf("Error while calling GetTrustAnchorsByName: %v", err)
    	}
    
    	if diff := diffBundles(gotBundle, []byte(ctb2.Spec.TrustBundle)); diff != "" {
    		t.Fatalf("Got bad bundle; diff (-got +want)\n%s", diff)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  3. src/cmd/covdata/tool_test.go

    	want := []string{mainPkgPath, mainPkgPath + "/dep"}
    	bad := false
    	if len(lines) != 2 {
    		t.Errorf("expect pkglist to return two lines")
    		bad = true
    	} else {
    		for i := 0; i < 2; i++ {
    			lines[i] = strings.TrimSpace(lines[i])
    			if want[i] != lines[i] {
    				t.Errorf("line %d want %s got %s", i, want[i], lines[i])
    				bad = true
    			}
    		}
    	}
    	if bad {
    		dumplines(lines)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  4. src/net/http/main_test.go

    	}
    	var stacks string
    	for i := 0; i < 2500; i++ {
    		bad = ""
    		stacks = strings.Join(interestingGoroutines(), "\n\n")
    		for substr, what := range badSubstring {
    			if strings.Contains(stacks, substr) {
    				bad = what
    			}
    		}
    		if bad == "" {
    			leakReported = false
    			return
    		}
    		// Bad stuff found, but goroutines might just still be
    		// shutting down, so give it some time.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:49:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. .github/workflows/CheckBadMerge.groovy

                if (!badFiles.isEmpty()) {
                    throw new RuntimeException("Found bad files in merge commit $commit: $badFiles")
                } else {
                    println("No bad files found in $commit")
                }
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 10:35:44 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/DefaultComponentSelectionTest.groovy

        }
    
        def "accepted until rejected"() {
            when:
            selection.reject("bad")
    
            then:
            selection.rejected
            selection.rejectionReason == "bad"
        }
    
        def "last rejection wins"() {
            when:
            selection.reject("bad")
            selection.reject("worse")
    
            then:
            selection.rejected
            selection.rejectionReason == "worse"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/rtinfo/internal/DefaultRuntimeInformationTest.java

                    () -> rtInfo.isMavenVersion("[3.0,"),
                    "Bad version range wasn't rejected");
    
            assertThrows(
                    IllegalArgumentException.class, () -> rtInfo.isMavenVersion(""), "Bad version range wasn't rejected");
    
            assertThrows(
                    NullPointerException.class, () -> rtInfo.isMavenVersion(null), "Bad version range wasn't rejected");
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 07:40:37 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. src/crypto/tls/alert.go

    	alertBadRecordMAC:                 "bad record MAC",
    	alertDecryptionFailed:             "decryption failed",
    	alertRecordOverflow:               "record overflow",
    	alertDecompressionFailure:         "decompression failure",
    	alertHandshakeFailure:             "handshake failure",
    	alertBadCertificate:               "bad certificate",
    	alertUnsupportedCertificate:       "unsupported certificate",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. test/fixedbugs/issue36705.go

    import "C"
    
    import "os"
    
    func main() {
    	os.Setenv("FOO", "bar")
    	s := C.GoString(C.getenv(C.CString("FOO")))
    	if s != "bar" {
    		panic("bad setenv, environment variable only has value \"" + s + "\"")
    	}
    	os.Unsetenv("FOO")
    	s = C.GoString(C.getenv(C.CString("FOO")))
    	if s != "" {
    		panic("bad unsetenv, environment variable still has value \"" + s + "\"")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 649 bytes
    - Viewed (0)
  10. 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)
Back to top