- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 54 for name (0.15 sec)
-
src/archive/zip/reader_test.go
<-done } } func equalTimeAndZone(t1, t2 time.Time) bool { name1, offset1 := t1.Zone() name2, offset2 := t2.Zone() return t1.Equal(t2) && name1 == name2 && offset1 == offset2 } func readTestFile(t *testing.T, zt ZipTest, ft ZipTestFile, f *File, raw []byte) { if f.Name != ft.Name { t.Errorf("name=%q, want %q", f.Name, ft.Name) } if !ft.Modified.IsZero() && !equalTimeAndZone(f.Modified, ft.Modified) {
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 55.3K bytes - Viewed (0) -
src/cmd/cgo/ast.go
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Wed Jun 07 16:54:27 GMT 2023 - 14.3K bytes - Viewed (0) -
src/cmd/api/api_test.go
t.Errorf("package %s: extra feature not in golden file: %q", fi.Name(), feature) } } } func TestCompareAPI(t *testing.T) { tests := []struct { name string features, required, exception []string ok bool // want out string // want }{ { name: "equal", features: []string{"A", "B", "C"},
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu Jan 04 17:31:12 GMT 2024 - 7.1K bytes - Viewed (0) -
src/cmd/asm/internal/arch/s390x.go
"CRJ", "CGRJ", "CLRJ", "CLGRJ", "CIJ", "CGIJ", "CLIJ", "CLGIJ", "CALL", "JMP": return true } return false } func s390xRegisterNumber(name string, n int16) (int16, bool) { switch name { case "AR": if 0 <= n && n <= 15 { return s390x.REG_AR0 + n, true } case "F": if 0 <= n && n <= 15 { return s390x.REG_F0 + n, true } case "R":
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu Oct 17 14:55:25 GMT 2019 - 1.2K bytes - Viewed (0) -
src/archive/zip/fuzz_test.go
if err != nil { f.Fatalf("failed to read testdata directory: %s", err) } for _, de := range testdata { if de.IsDir() { continue } b, err := os.ReadFile(filepath.Join("testdata", de.Name())) if err != nil { f.Fatalf("failed to read testdata: %s", err) } f.Add(b) } f.Fuzz(func(t *testing.T, b []byte) { r, err := NewReader(bytes.NewReader(b), int64(len(b))) if err != nil {
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu Jan 13 18:06:33 GMT 2022 - 1.7K bytes - Viewed (0) -
src/cmd/asm/internal/arch/ppc64.go
ppc64.ASUBME, ppc64.ASUBZECC, ppc64.ASUBZEVCC, ppc64.ASUBZEV, ppc64.ASUBZE: return true } return false } func ppc64RegisterNumber(name string, n int16) (int16, bool) { switch name { case "CR": if 0 <= n && n <= 7 { return ppc64.REG_CR0 + n, true } case "A": if 0 <= n && n <= 8 { return ppc64.REG_A0 + n, true } case "VS":
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Wed Sep 07 20:53:33 GMT 2022 - 2.2K bytes - Viewed (0) -
src/cmd/api/testdata/src/pkg/p1/p1.go
*URL } type S2 struct { // Deprecated: use T. S Extra bool } var X0 int64 var ( Y int X I ) type Namer interface { Name() string } type I interface { Namer ptwo.Twoer Set(name string, balance int64) // Deprecated: use GetNamed. Get(string) int64 GetNamed(string) (balance int64) private() } type Public interface { X() Y()
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Dec 02 16:29:41 GMT 2022 - 3.3K bytes - Viewed (0) -
src/bufio/bufio_test.go
buf := NewReaderSize(read, bufsize) s := bufreader.fn(buf) if s != text { t.Errorf("reader=%s fn=%s bufsize=%d want=%q got=%q", readmaker.name, bufreader.name, bufsize, text, s) } } } } } } type zeroReader struct{} func (zeroReader) Read(p []byte) (int, error) { return 0, nil }
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Feb 10 18:56:01 GMT 2023 - 51.5K bytes - Viewed (0) -
src/cmd/cgo/doc.go
In internal linking mode, allow an unresolved reference to <local>, assuming it will be resolved by a dynamic library symbol. The optional <remote> specifies the symbol's name and possibly version in the dynamic library, and the optional "<library>" names the specific library where the symbol should be found. On AIX, the library pattern is slightly different. It must be "lib.a/obj.o" with obj.o the member of this library exporting
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Sun Mar 31 09:02:45 GMT 2024 - 42.1K bytes - Viewed (0) -
src/cmd/asm/internal/asm/operand_test.go
wantName = wantName[1:] } if i := strings.Index(wantName, "+"); i >= 0 { wantName = wantName[:i] } } if ok != isFuncSym || name != wantName { t.Errorf("fail at %s as function address: got %s, %v; expected %s, %v", test.input, name, ok, wantName, isFuncSym) } } }) } } type operandTest struct { input, output string } type badOperandTest struct {
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Tue Aug 29 18:31:05 GMT 2023 - 23.9K bytes - Viewed (0)