- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 2,048 for size8 (0.39 sec)
-
cmd/bitrot.go
return bw.Sum(nil) } return nil } // Returns the size of the file with bitrot protection func bitrotShardFileSize(size int64, shardSize int64, algo BitrotAlgorithm) int64 { if algo != HighwayHash256S { return size } return ceilFrac(size, shardSize)*int64(algo.New().Size()) + size } // bitrotVerify a single stream of data.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jan 30 20:43:25 UTC 2024 - 7.6K bytes - Viewed (0) -
cmd/s3-zip-handlers.go
if err != nil { return nil, ObjectInfo{}, err } if size > len(b) { size = len(b) } // Calculate the object real size if encrypted if _, ok := crypto.IsEncrypted(gr.ObjInfo.UserDefined); ok { objSize, err = gr.ObjInfo.DecryptedSize() if err != nil { return nil, ObjectInfo{}, err } } else { objSize = gr.ObjInfo.Size }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 15.8K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java
} } enum Topology { BALANCED { @Override Optional<BinaryNode> createTree(int size, Random rng) { if (size == 0) { return Optional.absent(); } else { int leftChildSize = (size - 1) / 2; int rightChildSize = size - 1 - leftChildSize; return Optional.of( new BinaryNode(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 26 19:18:53 UTC 2019 - 4.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Dispatcher.kt
return Collections.unmodifiableList(runningSyncCalls + runningAsyncCalls.map { it.call }) } fun queuedCallsCount(): Int = this.withLock { readyAsyncCalls.size } fun runningCallsCount(): Int = this.withLock { runningAsyncCalls.size + runningSyncCalls.size } @JvmName("-deprecated_executorService") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "executorService"),
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Jun 20 14:10:53 UTC 2024 - 9K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt
.firstOrNull { ktCtor -> val sameName = ktCtor.containingClassOrObject?.fqName?.asString() == classFqName val sameParamCount = ktCtor.valueParameters.size == ctorParamTypes.size val sameParamTypes = sameParamCount && ctorParamTypes.mapIndexed { idx, paramType -> paramType.endsWith(ktCtor.valueParameters[idx].typeReference!!.text) }.all { it }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Jul 04 08:05:22 UTC 2024 - 11.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/QueryResponseListTest.java
qrList = new QueryResponseList(null, 0, 20, 0) { @Override public int size() { return 20; } }; qrList.allRecordCount = 20; qrList.calculatePageInfo(); pnList = qrList.getPageNumberList(); assertEquals(1, pnList.size()); assertEquals("1", pnList.get(0)); qrList = new QueryResponseList(null, 0, 20, 0) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 14K bytes - Viewed (0) -
cmd/object-handlers.go
} putObjectTar := func(reader io.Reader, info os.FileInfo, object string) error { size := info.Size() metadata := map[string]string{ xhttp.AmzStorageClass: sc, // save same storage-class as incoming stream. } actualSize := size var idxCb func() []byte if isCompressible(r.Header, object) && size > minCompressibleSize { // Storing the compression metadata.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 05 05:16:15 UTC 2024 - 117.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt
val inflater = MessageInflater(false) val goldenValue = "Hello deflate!".repeat(100).encodeUtf8() val deflated = deflater.deflate(goldenValue) assertThat(deflated.size).isLessThan(goldenValue.size) val inflated = inflater.inflate(deflated) assertThat(inflated).isEqualTo(goldenValue) } @Test fun `inflate deflate empty message`() { val deflater = MessageDeflater(false)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 06 05:31:00 UTC 2024 - 5K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractIndexedListIterator.java
* size} * @throws IllegalArgumentException if {@code size} is negative */ protected AbstractIndexedListIterator(int size, int position) { checkPositionIndex(position, size); this.size = size; this.position = position; } @Override public final boolean hasNext() { return position < size; } @Override @ParametricNullness
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 09 17:31:04 UTC 2021 - 3.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java
int numGoodQueries = (int) (numQueries * hitRate + 0.5); // add good queries int size = elementsInSet.size(); if (size > 0) { int minCopiesOfEachGoodQuery = numGoodQueries / size; int extras = numGoodQueries % size; for (int i = 0; i < minCopiesOfEachGoodQuery; i++) { queryList.addAll(elementsInSet); } List<Element> tmp = Lists.newArrayList(elementsInSet); shuffle(tmp, random);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.1K bytes - Viewed (0)