Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 132 for Failure (0.18 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/cmd/link/internal/ld/ld_test.go

    	if err != nil {
    		t.Fatalf("build failure: %s\n%s\n", err, string(out))
    	}
    
    	// Check that we did split text sections.
    	out, err = testenv.Command(t, testenv.GoToolPath(t), "tool", "nm", exe).CombinedOutput()
    	if err != nil {
    		t.Fatalf("nm failure: %s\n%s\n", err, string(out))
    	}
    	if !bytes.Contains(out, []byte("runtime.text.1")) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 05:45:53 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  3. src/testing/sub_test.go

    				realTest.Error("sequential test was not run")
    			}
    		},
    	}, {
    		desc:   "failure in parallel test propagates upwards",
    		ok:     false,
    		maxPar: 1,
    		output: `
    --- FAIL: failure in parallel test propagates upwards (N.NNs)
        --- FAIL: failure in parallel test propagates upwards/#00 (N.NNs)
            --- FAIL: failure in parallel test propagates upwards/#00/par (N.NNs)
            `,
    		f: func(t *T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 21:27:08 UTC 2023
    - 23.8K bytes
    - Viewed (0)
  4. 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)
  5. src/runtime/sys_openbsd_riscv64.s

    	CALL	libc_munmap(SB)
    	MOV	$-1, X5
    	BNE	X5, X10, 3(PC)
    	MOV	$0, X5			// crash on failure
    	MOV	X5, (X5)
    	RET
    
    TEXT runtime·madvise_trampoline(SB),NOSPLIT,$8
    	MOV	8(X10), X11		// arg 2 - len
    	MOVW	16(X10), X12		// arg 3 - advice
    	MOV	0(X10), X10		// arg 1 - addr
    	CALL	libc_madvise(SB)
    	// ignore failure - maybe pages are locked
    	RET
    
    TEXT runtime·open_trampoline(SB),NOSPLIT,$8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 02:55:17 UTC 2023
    - 16.8K bytes
    - Viewed (0)
  6. src/runtime/sys_openbsd_ppc64.s

    	CALL	libc_munmap(SB)
    	CMP	R3, $-1
    	BNE	3(PC)
    	MOVD	$0, R3			// crash on failure
    	MOVD	R3, (R3)
    	RET
    
    TEXT runtime·madvise_trampoline(SB),NOSPLIT,$32
    	MOVD	8(R3), R4		// arg 2 - len
    	MOVW	16(R3), R5		// arg 3 - advice
    	MOVD	0(R3), R3		// arg 1 - addr
    	CALL	libc_madvise(SB)
    	// ignore failure - maybe pages are locked
    	RET
    
    TEXT runtime·open_trampoline(SB),NOSPLIT,$32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 02:48:11 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  7. 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)
  8. src/debug/pe/file.go

    	var err error
    	read := func(data any) bool {
    		err = binary.Read(r, binary.LittleEndian, data)
    		return err == nil
    	}
    
    	if !read(&ohMagic) {
    		return nil, fmt.Errorf("failure to read optional header magic: %v", err)
    
    	}
    
    	switch ohMagic {
    	case 0x10b: // PE32
    		var (
    			oh32 OptionalHeader32
    			// There can be 0 or more data directories. So the minimum size of optional
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top