Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 37 for got (0.15 sec)

  1. src/cmd/addr2line/addr2line_test.go

    func testAddr2Line(t *testing.T, dbgExePath, addr string) {
    	funcName, srcPath, srcLineNo := runAddr2Line(t, dbgExePath, addr)
    	if symName != funcName {
    		t.Fatalf("expected function name %v; got %v", symName, funcName)
    	}
    	fi1, err := os.Stat("addr2line_test.go")
    	if err != nil {
    		t.Fatalf("Stat failed: %v", err)
    	}
    
    	// Debug paths are stored slash-separated, so convert to system-native.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 22:16:54 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/archive/tar/tar_test.go

    		}
    		if got, want := h2.Uname, v.h.Uname; got != want {
    			t.Errorf("i=%d: Uname: got %q, want %q", i, got, want)
    		}
    		if got, want := h2.Gname, v.h.Gname; got != want {
    			t.Errorf("i=%d: Gname: got %q, want %q", i, got, want)
    		}
    		if got, want := h2.Linkname, v.h.Linkname; got != want {
    			t.Errorf("i=%d: Linkname: got %v, want %v", i, got, want)
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  3. misc/go_android_exec/exitcode_test.go

    	if want, got := pre, out.String(); want != got {
    		t.Errorf("filter should have already flushed %q, but flushed %q", want, got)
    	}
    
    	code, err := f.Finish()
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Nothing more should have been written to out.
    	if want, got := pre, out.String(); want != got {
    		t.Errorf("want output %q, got %q", want, got)
    	}
    	if want := 1; want != code {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed May 03 14:54:58 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  4. src/bufio/scan_test.go

    				break
    			}
    			runeCount++
    			got, _ := utf8.DecodeRune(s.Bytes())
    			if got != expect {
    				t.Errorf("#%d: %d: expected %q got %q", n, i, expect, got)
    			}
    		}
    		if s.Scan() {
    			t.Errorf("#%d: scan ran too long, got %q", n, s.Text())
    		}
    		testRuneCount := utf8.RuneCountInString(test)
    		if runeCount != testRuneCount {
    			t.Errorf("#%d: termination expected at %d; got %d", n, testRuneCount, runeCount)
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/lex/input.go

    	}
    	fmt.Fprintf(os.Stderr, "%s:%d: %s", in.File(), in.Line(), fmt.Sprintln(args...))
    	os.Exit(1)
    }
    
    // expectText is like Error but adds "got XXX" where XXX is a quoted representation of the most recent token.
    func (in *Input) expectText(args ...interface{}) {
    	in.Error(append(args, "; got", strconv.Quote(in.Stack.Text()))...)
    }
    
    // enabled reports whether the input is enabled by an ifdef, or is at the top level.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  6. src/archive/tar/writer_test.go

    				}
    				if got := fw.physicalRemaining(); got != tf.wantPCnt {
    					t.Errorf("test %d.%d, physicalRemaining() = %d, want %d", i, j, got, tf.wantPCnt)
    				}
    			default:
    				t.Fatalf("test %d.%d, unknown test operation: %T", i, j, tf)
    			}
    		}
    
    		if got := bb.String(); got != wantStr {
    			t.Fatalf("test %d, String() = %q, want %q", i, got, wantStr)
    		}
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  7. api/go1.10.txt

    pkg debug/elf, const R_ARM_GOTRELAX = 99
    pkg debug/elf, const R_ARM_GOTRELAX R_ARM
    pkg debug/elf, const R_ARM_GOT_ABS = 95
    pkg debug/elf, const R_ARM_GOT_ABS R_ARM
    pkg debug/elf, const R_ARM_GOT_BREL12 = 97
    pkg debug/elf, const R_ARM_GOT_BREL12 R_ARM
    pkg debug/elf, const R_ARM_GOT_PREL = 96
    pkg debug/elf, const R_ARM_GOT_PREL R_ARM
    pkg debug/elf, const R_ARM_IRELATIVE = 160
    pkg debug/elf, const R_ARM_IRELATIVE R_ARM
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Feb 06 05:00:01 GMT 2018
    - 30.1K bytes
    - Viewed (0)
  8. api/go1.4.txt

    pkg debug/elf, const R_AARCH64_ABS64 R_AARCH64
    pkg debug/elf, const R_AARCH64_ADD_ABS_LO12_NC = 277
    pkg debug/elf, const R_AARCH64_ADD_ABS_LO12_NC R_AARCH64
    pkg debug/elf, const R_AARCH64_ADR_GOT_PAGE = 311
    pkg debug/elf, const R_AARCH64_ADR_GOT_PAGE R_AARCH64
    pkg debug/elf, const R_AARCH64_ADR_PREL_LO21 = 274
    pkg debug/elf, const R_AARCH64_ADR_PREL_LO21 R_AARCH64
    pkg debug/elf, const R_AARCH64_ADR_PREL_PG_HI21 = 275
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 12 03:01:01 GMT 2014
    - 34K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/lex/lex_test.go

    		input.Push(NewTokenizer(test.error, strings.NewReader(test.input), nil))
    		err := firstError(input)
    		if err == nil {
    			t.Errorf("%s: got no error", test.error)
    			continue
    		}
    		if !strings.Contains(err.Error(), test.error) {
    			t.Errorf("got error %q expected %q", err.Error(), test.error)
    		}
    	}
    }
    
    // firstError returns the first error value triggered by the input.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  10. api/go1.20.txt

    pkg debug/elf, const R_LARCH_GOT_HI20 = 79 #54222
    pkg debug/elf, const R_LARCH_GOT_HI20 R_LARCH #54222
    pkg debug/elf, const R_LARCH_GOT_LO12 = 80 #54222
    pkg debug/elf, const R_LARCH_GOT_LO12 R_LARCH #54222
    pkg debug/elf, const R_LARCH_GOT_PC_HI20 = 75 #54222
    pkg debug/elf, const R_LARCH_GOT_PC_HI20 R_LARCH #54222
    pkg debug/elf, const R_LARCH_GOT_PC_LO12 = 76 #54222
    pkg debug/elf, const R_LARCH_GOT_PC_LO12 R_LARCH #54222
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
Back to top