- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 21 for maxEntries (0.07 seconds)
-
cmd/os_other.go
if err != nil { return nil, osErrToFileErr(err) } defer d.Close() maxEntries := 1000 if opts.count > 0 && opts.count < maxEntries { maxEntries = opts.count } done := false remaining := opts.count for !done { // Read up to max number of entries. fis, err := d.Readdir(maxEntries) if err != nil { if err == io.EOF { break }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Sep 13 15:14:36 GMT 2023 - 4K bytes - Click Count (0) -
src/archive/tar/format.go
type sparseArray []byte func (s sparseArray) entry(i int) sparseElem { return sparseElem(s[i*24:]) } func (s sparseArray) isExtended() []byte { return s[24*s.maxEntries():][:1] } func (s sparseArray) maxEntries() int { return len(s) / 24 } type sparseElem []byte func (s sparseElem) offset() []byte { return s[00:][:12] }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 11.3K bytes - Click Count (0) -
src/archive/tar/reader.go
var p parser hdr.Size = p.parseNumeric(blk.toGNU().realSize()) if p.err != nil { return nil, p.err } s := blk.toGNU().sparse() spd := make(sparseDatas, 0, s.maxEntries()) for { for i := 0; i < s.maxEntries(); i++ { // This termination condition is identical to GNU and BSD tar. if s.entry(i).offset()[0] == 0x00 { break // Don't return, need to process extended headers (even if empty) }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Oct 07 19:46:36 GMT 2025 - 26.9K bytes - Click Count (0) -
src/archive/tar/writer.go
spd = invertSparseEntries(sph, hdr.Size) // Format the sparse map. formatSPD := func(sp sparseDatas, sa sparseArray) sparseDatas { for i := 0; len(sp) > 0 && i < sa.MaxEntries(); i++ { f.formatNumeric(sa.Entry(i).Offset(), sp[0].Offset) f.formatNumeric(sa.Entry(i).Length(), sp[0].Length) sp = sp[1:] } if len(sp) > 0 { sa.IsExtended()[0] = 1 }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Feb 03 16:38:43 GMT 2025 - 19.7K bytes - Click Count (0) -
src/archive/tar/reader_test.go
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Dec 15 16:34:13 GMT 2025 - 47.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java
this.statistics = statistics; this.maxRetries = maxRetries; this.retryDelayMs = retryDelayMs; } /** * Create error handler with default settings * * @param statistics statistics tracker */ public RdmaErrorHandler(RdmaStatistics statistics) { this(statistics, 3, 1000); // 3 retries with 1 second delayCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 10.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java
* @param manager the persistent handle manager * @param maxRetries maximum number of retry attempts * @param retryDelay base retry delay in milliseconds */ public HandleReconnector(PersistentHandleManager manager, int maxRetries, long retryDelay) { this.handleManager = manager; this.maxRetries = maxRetries; this.retryDelay = retryDelay; } /**Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 8.5K bytes - Click Count (1) -
src/main/java/jcifs/smb/SmbTreeConnection.java
final String fullPath = "\\" + loc.getServer() + "\\" + loc.getShare() + loc.getUNCPath(); final int maxRetries = this.ctx.getConfig().getMaxRequestRetries(); for (int retries = 1; retries <= maxRetries; retries++) { if (rpath != null) { rpath.setFullUNCPath(null, null, fullPath); } try {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 30.4K bytes - Click Count (1) -
guava-testlib/src/com/google/common/collect/testing/TestMapEntrySetGenerator.java
this.keys = keys; this.values = values; } @Override public SampleElements<Entry<K, V>> samples() { return SampleElements.mapEntries(keys, values); } @Override public Set<Entry<K, V>> create(Object... elements) { Entry<K, V>[] entries = createArray(elements.length); arraycopy(elements, 0, entries, 0, elements.length);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.2K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.test-retry.gradle.kts
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Apr 26 06:43:17 GMT 2023 - 810 bytes - Click Count (0)