Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 42 for Sant (0.18 sec)

  1. src/cmd/asm/internal/asm/line_test.go

    		err := tryParse(t, func() {
    			parser.Parse()
    		})
    
    		switch {
    		case err == nil:
    			t.Errorf("#%d: %q: want error %q; have none", i, test.input, test.error)
    		case !strings.Contains(err.Error(), test.error):
    			t.Errorf("#%d: %q: want error %q; have %q", i, test.input, test.error, err)
    		}
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  2. api/go1.1.txt

    pkg syscall (linux-386), const IPV6_PMTUDISC_DO = 2
    pkg syscall (linux-386), const IPV6_PMTUDISC_DONT = 0
    pkg syscall (linux-386), const IPV6_PMTUDISC_PROBE = 3
    pkg syscall (linux-386), const IPV6_PMTUDISC_WANT = 1
    pkg syscall (linux-386), const IPV6_RECVDSTOPTS = 58
    pkg syscall (linux-386), const IPV6_RECVERR = 25
    pkg syscall (linux-386), const IPV6_RECVHOPLIMIT = 51
    pkg syscall (linux-386), const IPV6_RECVHOPOPTS = 53
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/archive/tar/writer_test.go

    				}
    			}
    
    			if v.file != "" {
    				want, err := os.ReadFile(v.file)
    				if err != nil {
    					t.Fatalf("ReadFile() = %v, want nil", err)
    				}
    				got := buf.Bytes()
    				if !bytes.Equal(want, got) {
    					t.Fatalf("incorrect result: (-got +want)\n%v", bytediff(got, want))
    				}
    			}
    		})
    	}
    }
    
    func TestPax(t *testing.T) {
    	// Create an archive with a large name
    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)
  6. src/bufio/scan_test.go

    	scanner := NewScanner(&r)
    	c := 0
    	for scanner.Scan() {
    		c++
    		if c > 1 {
    			t.Error("read too many lines")
    			break
    		}
    	}
    	if got, want := scanner.Err(), ErrBadReadCount; got != want {
    		t.Errorf("scanner.Err: got %v, want %v", got, want)
    	}
    }
    
    // largeReader returns an invalid count that is larger than the number
    // of bytes requested.
    type largeReader struct{}
    
    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)
  7. src/bytes/compare_test.go

    		for offset := 0; offset <= numShifts; offset++ {
    			shiftedB := buffer[offset : len(tt.b)+offset]
    			copy(shiftedB, tt.b)
    			cmp := Compare(tt.a, shiftedB)
    			if cmp != tt.i {
    				t.Errorf(`Compare(%q, %q), offset %d = %v; want %v`, tt.a, tt.b, offset, cmp, tt.i)
    			}
    		}
    	}
    }
    
    func TestCompareIdenticalSlice(t *testing.T) {
    	var b = []byte("Hello Gophers!")
    	if Compare(b, b) != 0 {
    		t.Error("b != b")
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 13 23:11:42 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  8. src/archive/zip/writer.go

    	if !fh.Modified.IsZero() {
    		// Contrary to the FileHeader.SetModTime method, we intentionally
    		// do not convert to UTC, because we assume the user intends to encode
    		// the date using the specified timezone. A user may want this control
    		// because many legacy ZIP readers interpret the timestamp according
    		// to the local timezone.
    		//
    		// The timezone is only non-UTC if a user directly sets the Modified
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  9. src/archive/tar/reader.go

    // and the GODEBUG environment variable contains `tarinsecurepath=0`,
    // Next returns the header with an [ErrInsecurePath] error.
    // A future version of Go may introduce this behavior by default.
    // Programs that want to accept non-local names can ignore
    // the [ErrInsecurePath] error and use the returned header.
    func (tr *Reader) Next() (*Header, error) {
    	if tr.err != nil {
    		return nil, tr.err
    	}
    	hdr, err := tr.next()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/endtoend_test.go

    			printed = f[0] + "\t" + strings.Join(f[1:], " ")
    		}
    
    		want := fmt.Sprintf("%05d (%s:%d)\t%s", seq, input, lineno, printed)
    		for len(output) > 0 && (output[0] < want || output[0] != want && len(output[0]) >= 5 && output[0][:5] == want[:5]) {
    			if len(output[0]) >= 5 && output[0][:5] == want[:5] {
    				t.Errorf("mismatched output:\nhave %s\nwant %s", output[0], want)
    				output = output[1:]
    				continue Diff
    			}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
Back to top