Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for 123_ (0.15 sec)

  1. src/archive/zip/writer_test.go

    func TestWriterDirAttributes(t *testing.T) {
    	var buf bytes.Buffer
    	w := NewWriter(&buf)
    	if _, err := w.CreateHeader(&FileHeader{
    		Name:               "dir/",
    		Method:             Deflate,
    		CompressedSize64:   1234,
    		UncompressedSize64: 5678,
    	}); err != nil {
    		t.Fatal(err)
    	}
    	if err := w.Close(); err != nil {
    		t.Fatal(err)
    	}
    	b := buf.Bytes()
    
    	var sig [4]byte
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  2. src/archive/tar/tar_test.go

    		formats: FormatGNU,
    	}, {
    		header:  &Header{AccessTime: time.Unix(-123, 0)},
    		paxHdrs: map[string]string{paxAtime: "-123"},
    		formats: FormatPAX | FormatGNU,
    	}, {
    		header:  &Header{AccessTime: time.Unix(-123, 0), Format: FormatPAX},
    		paxHdrs: map[string]string{paxAtime: "-123"},
    		formats: FormatPAX,
    	}, {
    		header:  &Header{ChangeTime: time.Unix(123, 456)},
    		paxHdrs: map[string]string{paxCtime: "123.000000456"},
    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

    			t.Errorf("want full output %q, got %q", text, got)
    		}
    	}
    	wantErr = regexp.MustCompile("^no exit code")
    	check("abc")
    	check("exitcode")
    	check("exitcode=")
    	check("exitcode=123\n")
    	wantErr = regexp.MustCompile("^bad exit code: .* value out of range")
    	check("exitcode=999999999999999999999999")
    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

    		t.Fatalf("expected %q got %v", testError, err)
    	}
    }
    
    // Test that an EOF is overridden by a user-generated scan error.
    func TestErrAtEOF(t *testing.T) {
    	s := NewScanner(strings.NewReader("1 2 33"))
    	// This splitter will fail on last entry, after s.err==EOF.
    	split := func(data []byte, atEOF bool) (advance int, token []byte, err error) {
    		advance, token, err = ScanWords(data, atEOF)
    		if len(token) > 1 {
    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. misc/ios/go_ios_exec.go

    exitStatus = process.GetExitStatus()
    exitDesc = process.GetExitDescription()
    process.Kill()
    debugger.Terminate()
    if exitStatus == 0 and exitDesc is not None:
    	# Ensure tests fail when killed by a signal.
    	exitStatus = 123
    
    sys.exit(exitStatus)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
Back to top