- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for ustar (0.03 sec)
-
src/archive/tar/format.go
const ( magicGNU, versionGNU = "ustar ", " \x00" magicUSTAR, versionUSTAR = "ustar\x00", "00" trailerSTAR = "tar\x00" ) // Size constants from various tar specifications. const ( blockSize = 512 // Size of each block in a tar stream nameSize = 100 // Max length of the name field in USTAR format prefixSize = 155 // Max length of the prefix field in USTAR format
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Oct 13 18:36:46 UTC 2023 - 11.3K bytes - Viewed (0) -
src/archive/tar/common.go
} } // Check basic fields. var blk block v7 := blk.toV7() ustar := blk.toUSTAR() gnu := blk.toGNU() verifyString(h.Name, len(v7.name()), "Name", paxPath) verifyString(h.Linkname, len(v7.linkName()), "Linkname", paxLinkpath) verifyString(h.Uname, len(ustar.userName()), "Uname", paxUname) verifyString(h.Gname, len(ustar.groupName()), "Gname", paxGname) verifyNumeric(h.Mode, len(v7.mode()), "Mode", paxNone)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 13 21:03:27 UTC 2024 - 24.5K bytes - Viewed (0) -
src/archive/tar/reader.go
if format > formatV7 { ustar := tr.blk.toUSTAR() hdr.Uname = p.parseString(ustar.userName()) hdr.Gname = p.parseString(ustar.groupName()) hdr.Devmajor = p.parseNumeric(ustar.devMajor()) hdr.Devminor = p.parseNumeric(ustar.devMinor()) var prefix string switch { case format.has(FormatUSTAR | FormatPAX): hdr.Format = format ustar := tr.blk.toUSTAR()
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Mar 08 01:59:14 UTC 2024 - 26.8K bytes - Viewed (0) -
src/archive/tar/writer_test.go
Gname: "guillaume", ModTime: time.Unix(1399583047, 0), }, nil}, }, }, { // This file was produced using GNU tar v1.17. // gnutar -b 4 --format=ustar (longname/)*15 + file.txt file: "testdata/ustar.tar", tests: []testFnc{ testHeader{Header{ Typeflag: TypeReg, Name: strings.Repeat("longname/", 15) + "file.txt", Size: 6, Mode: 0644,
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 39.4K bytes - Viewed (0) -
src/archive/tar/writer.go
fmtNum(v7.uid(), int64(hdr.Uid)) fmtNum(v7.gid(), int64(hdr.Gid)) fmtNum(v7.size(), hdr.Size) fmtNum(v7.modTime(), modTime.Unix()) ustar := tw.blk.toUSTAR() fmtStr(ustar.userName(), hdr.Uname) fmtStr(ustar.groupName(), hdr.Gname) fmtNum(ustar.devMajor(), hdr.Devmajor) fmtNum(ustar.devMinor(), hdr.Devminor) return &tw.blk } // writeRawFile writes a minimal file with the given name and flag type.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Oct 02 14:22:59 UTC 2024 - 19.6K bytes - Viewed (0) -
src/archive/tar/reader_test.go
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 03 15:48:09 UTC 2024 - 46.9K bytes - Viewed (0) -
src/archive/tar/tar_test.go
} } } func Benchmark(b *testing.B) { type file struct { hdr *Header body []byte } vectors := []struct { label string files []file }{{ "USTAR", []file{{ &Header{Name: "bar", Mode: 0640, Size: int64(3)}, []byte("foo"), }, { &Header{Name: "world", Mode: 0640, Size: int64(5)}, []byte("hello"), }}, }, { "GNU",
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jul 25 00:25:45 UTC 2024 - 23.9K bytes - Viewed (0) -
docs/pt/docs/tutorial/security/simple-oauth2.md
Mas não se preocupe, você pode mostrá-lo como quiser aos usuários finais no frontend. E seus modelos de banco de dados podem usar qualquer outro nome que você desejar. Mas para a *operação de rota* de login, precisamos usar esses nomes para serem compatíveis com a especificação (e poder, por exemplo, usar o sistema integrado de documentação da API).
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Oct 31 12:17:45 UTC 2024 - 13.3K bytes - Viewed (0) -
docs/pt/docs/async.md
Mas se você quiser usar `async` / `await` sem FastAPI, <a href="https://docs.python.org/3/library/asyncio-task.html#coroutine" class="external-link" target="_blank">verifique a documentação oficial Python</a>. ### Outras formas de código assíncrono Esse estilo de usar `async` e `await` é relativamente novo na linguagem.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 22.2K bytes - Viewed (0) -
docs/es/docs/async.md
En el caso de que desees usar `async` / `await` sin FastAPI, <a href="https://docs.python.org/3/library/asyncio-task.html#coroutine" class="external-link" target="_blank">revisa la documentación oficial de Python</a>. ### Otras formas de código asíncrono Este estilo de usar `async` y `await` es relativamente nuevo en el lenguaje.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Aug 19 18:15:21 UTC 2024 - 24.9K bytes - Viewed (0)