Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 108 for Failure (0.1 sec)

  1. src/net/http/roundtrip_js.go

    	var (
    		respCh           = make(chan *Response, 1)
    		errCh            = make(chan error, 1)
    		success, failure js.Func
    	)
    	success = js.FuncOf(func(this js.Value, args []js.Value) any {
    		success.Release()
    		failure.Release()
    
    		result := args[0]
    		header := Header{}
    		// https://developer.mozilla.org/en-US/docs/Web/API/Headers/entries
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. src/crypto/tls/bogo_shim_test.go

    	// NOTE: we don't immediately check the error, because the failure could be either because
    	// the runner failed for some unexpected reason, or because a test case failed, and we
    	// cannot easily differentiate these cases. We check if the JSON results file was written,
    	// which should only happen if the failure was because of a test failure, and use that
    	// to determine the failure mode.
    
    	resultsJSON, jsonErr := os.ReadFile(resultsFile)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:25:39 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/elf_test.go

    	argv := []string{"build", "-o", path, filepath.Join(wd, "testdata", "issue39256")}
    	out, err := testenv.Command(t, testenv.GoToolPath(t), argv...).CombinedOutput()
    	if err != nil {
    		t.Fatalf("Build failure: %s\n%s\n", err, string(out))
    	}
    
    	f, err := elf.Open(path)
    	if err != nil {
    		t.Fatalf("Failed to open ELF file: %v", err)
    	}
    	libs, err := f.ImportedLibraries()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 13:44:07 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. src/crypto/tls/auth.go

    		}
    		if !ecdsa.VerifyASN1(pubKey, signed, sig) {
    			return errors.New("ECDSA verification failure")
    		}
    	case signatureEd25519:
    		pubKey, ok := pubkey.(ed25519.PublicKey)
    		if !ok {
    			return fmt.Errorf("expected an Ed25519 public key, got %T", pubkey)
    		}
    		if !ed25519.Verify(pubKey, signed, sig) {
    			return errors.New("Ed25519 verification failure")
    		}
    	case signaturePKCS1v15:
    		pubKey, ok := pubkey.(*rsa.PublicKey)
    		if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/README

    	-- $WORK/d2/src/p2/p2.go --
    	package p2
    	func F() {}
    	-- $WORK/p2x.go --
    	package p2
    	func F() {}
    	func G() {}
    
    The bug is that the final phase installs p11 instead of p1. The test failure looks like:
    
    	$ go test -run=Script
    	--- FAIL: TestScript (3.75s)
    	    --- FAIL: TestScript/install_rebuild_gopath (0.16s)
    	        script_test.go:223:
    	            # GOPATH with p1 in d2, p2 in d2 (0.000s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/asm_zos_s390x.s

    	MOVD $0, R15 // Move SVC args into registers (entry point still in r0 from SVC 08)
    	SVC_DELETE
    	MOVD R2, R15 // Restore go stack pointer
    
    error:
    	MOVD $0, ret+8(FP) // Return 0 on failure
    
    done:
    	XOR R0, R0 // Reset r0 to 0
    	RET
    
    // func svcUnload(name *byte, fnptr unsafe.Pointer) int64
    TEXT ·svcUnload(SB), NOSPLIT, $0
    	MOVD R15, R2          // Save go stack pointer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  7. src/net/lookup_test.go

    		cname, srvs, err := LookupSRV(tt.service, tt.proto, tt.name)
    		if err != nil {
    			testenv.SkipFlakyNet(t)
    			if attempts < len(backoffDuration) {
    				dur := backoffDuration[attempts]
    				t.Logf("backoff %v after failure %v\n", dur, err)
    				time.Sleep(dur)
    				attempts++
    				i--
    				continue
    			}
    			t.Fatal(err)
    		}
    		if len(srvs) == 0 {
    			t.Error("got no record")
    		}
    		if !hasSuffixFold(cname, tt.cname) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  8. src/internal/bisect/bisect.go

    // See [golang.org/x/tools/cmd/bisect] for details about using the tool.
    //
    // To be a bisect target, allowing bisect to help determine which of a set of independent
    // changes provokes a failure, a program needs to:
    //
    //  1. Define a way to accept a change pattern on its command line or in its environment.
    //     The most common mechanism is a command-line flag.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 17:28:43 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  9. src/net/lookup_plan9.go

    		stringslite.HasSuffix(err.Error(), "dns: resource does not exist; negrcode 0") ||
    		stringslite.HasSuffix(err.Error(), "dns: resource does not exist; negrcode") ||
    		stringslite.HasSuffix(err.Error(), "dns failure") {
    		err = errNoSuchHost
    	}
    	return newDNSError(err, name, "")
    }
    
    // toLower returns a lower-case version of in. Restricting us to
    // ASCII is sufficient to handle the IP protocol names and allow
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:08:38 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. src/regexp/all_test.go

    	if re == nil {
    		return
    	}
    	m := re.MatchString(test.text)
    	if m != (len(test.matches) > 0) {
    		t.Errorf("MatchString failure on %s: %t should be %t", test, m, len(test.matches) > 0)
    	}
    	// now try bytes
    	m = re.Match([]byte(test.text))
    	if m != (len(test.matches) > 0) {
    		t.Errorf("Match failure on %s: %t should be %t", test, m, len(test.matches) > 0)
    	}
    }
    
    func TestMatch(t *testing.T) {
    	for _, test := range findTests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top