- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 27 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 Apr 05 19:28:12 GMT 2026 - 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 Apr 07 11:13:11 GMT 2026 - 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 Apr 07 11:13:11 GMT 2026 - 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 Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Feb 03 16:38:43 GMT 2025 - 19.7K bytes - Click Count (0) -
src/archive/tar/reader_test.go
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Dec 30 15:28:53 GMT 2025 - 47.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: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 8.5K bytes - Click Count (1) -
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: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 10.5K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rerun/executer/RerunTestExecuter.java
this.delegate = delegate; } @Override public void execute(JvmTestExecutionSpec spec, TestResultProcessor testResultProcessor) { int maxRetries = extension.getMaxReruns().get(); if (maxRetries <= 0) { delegate.execute(spec, testResultProcessor); return; }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 3.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSetMultimap.java
return ImmutableSetMultimap.of(); } Collection<Map.Entry<K, ImmutableCollection.Builder<V>>> mapEntries = builderMap.entrySet(); if (keyComparator != null) { mapEntries = Ordering.from(keyComparator).<K>onKeys().immutableSortedCopy(mapEntries); } return fromMapBuilderEntries(mapEntries, valueComparator); } } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 19 22:57:35 GMT 2026 - 26.3K bytes - Click Count (0) -
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: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 30.4K bytes - Click Count (1)