- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for TS (0.28 sec)
-
src/arena/arena_test.go
func TestSmoke(t *testing.T) { a := arena.NewArena() defer a.Free() tt := arena.New[T1](a) tt.n = 1 ts := arena.MakeSlice[T1](a, 99, 100) if len(ts) != 99 { t.Errorf("Slice() len = %d, want 99", len(ts)) } if cap(ts) != 100 { t.Errorf("Slice() cap = %d, want 100", cap(ts)) } ts[1].n = 42 } func TestSmokeLarge(t *testing.T) { a := arena.NewArena() defer a.Free() for i := 0; i < 10*64; i++ {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Oct 12 20:23:36 GMT 2022 - 742 bytes - Viewed (0) -
src/archive/zip/zip_test.go
func TestHeaderInvalidTagAndSize(t *testing.T) { const timeFormat = "20060102T150405.000.txt" ts := time.Now() filename := ts.Format(timeFormat) h := FileHeader{ Name: filename, Method: Deflate, Extra: []byte(ts.Format(time.RFC3339Nano)), // missing tag and len, but Extra is best-effort parsing } h.SetModTime(ts) testValidHeader(&h, t) } func TestHeaderTooShort(t *testing.T) {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 19.5K bytes - Viewed (0) -
src/archive/zip/reader.go
} fieldBuf.uint32() // AcTime (ignored) ts := int64(fieldBuf.uint32()) // ModTime since Unix epoch modified = time.Unix(ts, 0) case extTimeExtraID: if len(fieldBuf) < 5 || fieldBuf.uint8()&1 == 0 { continue parseExtras } ts := int64(fieldBuf.uint32()) // ModTime since Unix epoch modified = time.Unix(ts, 0) } }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 27.7K bytes - Viewed (0) -
src/archive/tar/strconv_test.go
} for _, v := range vectors { ts, err := parsePAXTime(v.in) ok := (err == nil) if v.ok != ok { if v.ok { t.Errorf("parsePAXTime(%q): got parsing failure, want success", v.in) } else { t.Errorf("parsePAXTime(%q): got parsing success, want failure", v.in) } } if ok && !ts.Equal(v.want) { t.Errorf("parsePAXTime(%q): got (%ds %dns), want (%ds %dns)",
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Feb 09 05:28:50 GMT 2021 - 14K bytes - Viewed (0) -
src/archive/tar/common.go
paxHdrs[paxKey] = v } } verifyTime := func(ts time.Time, size int, name, paxKey string) { if ts.IsZero() { return // Always okay } if !fitsInBase256(size, ts.Unix()) { whyNoGNU = fmt.Sprintf("GNU cannot encode %s=%v", name, ts) format.mustNotBe(FormatGNU) } isMtime := paxKey == paxMtime fitsOctal := fitsInOctal(size, ts.Unix()) if (isMtime && !fitsOctal) || !isMtime {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Mar 15 16:01:50 GMT 2024 - 24.7K bytes - Viewed (2) -
src/archive/tar/strconv.go
} return time.Unix(secs, nsecs), nil } // formatPAXTime converts ts into a time of the form %d.%d as described in the // PAX specification. This function is capable of negative timestamps. func formatPAXTime(ts time.Time) (s string) { secs, nsecs := ts.Unix(), ts.Nanosecond() if nsecs == 0 { return strconv.FormatInt(secs, 10) }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 01 14:28:42 GMT 2023 - 9K bytes - Viewed (0) -
api/go1.1.txt
pkg syscall (freebsd-arm), const DLT_MATCHING_MIN = 104 pkg syscall (freebsd-arm), const DLT_MFR = 182 pkg syscall (freebsd-arm), const DLT_MOST = 211 pkg syscall (freebsd-arm), const DLT_MPEG_2_TS = 243 pkg syscall (freebsd-arm), const DLT_MPLS = 219 pkg syscall (freebsd-arm), const DLT_MTP2 = 140 pkg syscall (freebsd-arm), const DLT_MTP2_WITH_PHDR = 139 pkg syscall (freebsd-arm), const DLT_MTP3 = 141
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Mar 31 20:37:15 GMT 2022 - 2.6M bytes - Viewed (0) -
api/go1.3.txt
pkg syscall (freebsd-386), const AF_INET_SDP ideal-int pkg syscall (freebsd-386), const AF_MAX = 42 pkg syscall (freebsd-386), const DLT_MATCHING_MAX = 246 pkg syscall (freebsd-386), const DLT_MPEG_2_TS = 243 pkg syscall (freebsd-386), const DLT_MPEG_2_TS ideal-int pkg syscall (freebsd-386), const DLT_NFC_LLCP = 245 pkg syscall (freebsd-386), const DLT_NFC_LLCP ideal-int pkg syscall (freebsd-386), const DLT_NG40 = 244
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Jun 02 02:45:00 GMT 2014 - 117K bytes - Viewed (0) -
src/cmd/asm/internal/asm/operand_test.go
{"retoffset+28(FP)", "retoffset+28(FP)"}, {"runtime·_GetStdHandle(SB)", "runtime._GetStdHandle(SB)"}, {"sync\u2215atomic·AddInt64(SB)", "sync/atomic.AddInt64(SB)"}, {"timeout+20(FP)", "timeout+20(FP)"}, {"ts+16(FP)", "ts+16(FP)"}, {"x+24(FP)", "x+24(FP)"}, {"x·y(SB)", "x.y(SB)"}, {"x·y(SP)", "x.y(SP)"}, {"x·y+8(SB)", "x.y+8(SB)"}, {"x·y+8(SP)", "x.y+8(SP)"}, {"y+56(FP)", "y+56(FP)"},
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 29 18:31:05 GMT 2023 - 23.9K bytes - Viewed (0) -
api/go1.2.txt
pkg syscall (freebsd-arm), const DLT_MATCHING_MIN ideal-int pkg syscall (freebsd-arm), const DLT_MFR ideal-int pkg syscall (freebsd-arm), const DLT_MOST ideal-int pkg syscall (freebsd-arm), const DLT_MPEG_2_TS ideal-int pkg syscall (freebsd-arm), const DLT_MPLS ideal-int pkg syscall (freebsd-arm), const DLT_MTP2 ideal-int pkg syscall (freebsd-arm), const DLT_MTP2_WITH_PHDR ideal-int
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 18 04:36:59 GMT 2013 - 1.9M bytes - Viewed (2)