Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 157 for Failure (0.47 sec)

  1. 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)
  2. 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)
  3. src/runtime/sys_openbsd_386.s

    	PUSHL	BP
    	MOVL	SP, BP
    	SUBL	$4, SP
    	MOVL	12(SP), DX		// pointer to args
    	MOVL	0(DX), AX
    	MOVL	AX, 0(SP)		// arg 1 - status
    	CALL	libc_exit(SB)
    	MOVL	$0xf1, 0xf1		// crash on failure
    	MOVL	BP, SP
    	POPL	BP
    	RET
    
    TEXT runtime·getthrid_trampoline(SB),NOSPLIT,$0
    	PUSHL	BP
    	CALL	libc_getthrid(SB)
    	NOP	SP			// tell vet SP changed - stop checking offsets
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  4. src/runtime/sys_openbsd_arm.s

    	CMP	$-1, R0
    	BNE	3(PC)
    	MOVW	$0, R8			// crash on failure
    	MOVW	R8, (R8)
    	MOVW	R9, R13
    	RET
    
    TEXT runtime·madvise_trampoline(SB), NOSPLIT, $0
    	MOVW	R13, R9
    	BIC     $0x7, R13		// align for ELF ABI
    	MOVW	4(R0), R1		// arg 2 len
    	MOVW	8(R0), R2		// arg 3 advice
    	MOVW	0(R0), R0		// arg 1 addr
    	BL	libc_madvise(SB)
    	// ignore failure - maybe pages are locked
    	MOVW	R9, R13
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  5. src/runtime/sys_openbsd_arm64.s

    	CALL	libc_munmap(SB)
    	CMP	$-1, R0
    	BNE	3(PC)
    	MOVD	$0, R0			// crash on failure
    	MOVD	R0, (R0)
    	RET
    
    TEXT runtime·madvise_trampoline(SB), NOSPLIT, $0
    	MOVD	8(R0), R1		// arg 2 - len
    	MOVW	16(R0), R2		// arg 3 - advice
    	MOVD	0(R0), R0		// arg 1 - addr
    	CALL	libc_madvise(SB)
    	// ignore failure - maybe pages are locked
    	RET
    
    TEXT runtime·open_trampoline(SB),NOSPLIT,$0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top