- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 240 for 1000KB (0.03 sec)
-
src/bytes/buffer_test.go
n := testing.AllocsPerRun(100, func() { got.Reset() for i := 0; i < 1000; i++ { b := got.AvailableBuffer() b = strconv.AppendInt(b, int64(i), 10) got.Write(b) } }) if n > 0 { t.Errorf("allocations occurred while appending") } } func TestRuneIO(t *testing.T) { const NRune = 1000 // Built a test slice while we write the data b := make([]byte, utf8.UTFMax*NRune)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon May 19 16:13:04 UTC 2025 - 18.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/IntsTest.java
} public void testByteArrayRoundTrips() { Random r = new Random(5); byte[] b = new byte[Ints.BYTES]; // total overkill, but, it takes 0.1 sec so why not... for (int i = 0; i < 10000; i++) { int num = r.nextInt(); assertThat(Ints.fromByteArray(Ints.toByteArray(num))).isEqualTo(num); r.nextBytes(b); assertThat(Ints.toByteArray(Ints.fromByteArray(b))).isEqualTo(b); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ListsTest.java
assertThat(Lists.<Object>cartesianProduct(x, y)) .containsExactly(exp1, exp2, exp3, exp4) .inOrder(); } public void testCartesianProductTooBig() { List<String> list = nCopies(10000, "foo"); assertThrows( IllegalArgumentException.class, () -> cartesianProduct(list, list, list, list, list)); } public void testTransformHashCodeRandomAccess() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
} @Test @DisplayName("Should generate multiple unique nonces without collision") void testGenerateMultipleNoncesNoCollision() { // Given int count = 10000; // Test with larger number for collision detection Set<String> nonceSet = new HashSet<>(); // When for (int i = 0; i < count; i++) { byte[] nonce = encryptionContext.generateNonce();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/archive/zip/reader.go
ts := int64(attrBuf.uint64()) // ModTime since Windows epoch secs := ts / ticksPerSecond nsecs := (1e9 / ticksPerSecond) * (ts % ticksPerSecond) epoch := time.Date(1601, time.January, 1, 0, 0, 0, 0, time.UTC) modified = time.Unix(epoch.Unix()+secs, nsecs) } case unixExtraID, infoZipUnixExtraID: if len(fieldBuf) < 8 { continue parseExtras }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Mar 11 22:19:38 UTC 2025 - 28.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java
return value.longValue(); } value = getAsInteger("elasticsearch.heartbeat_interval"); if (value != null) { return value.longValue(); } return 10000L; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 86.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
for (int i = 0; i < 9; i++) { builder.add(i); } for (int j = 0; j < 1000; j++) { builder.add(9); } ImmutableSortedSet<Integer> unused = builder.build(); assertThat(compares[0]).isAtMost(10000); // hopefully something quadratic would have more digits }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 46.7K bytes - Viewed (0) -
cmd/bucket-handlers.go
if r.ContentLength <= 0 { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrMissingContentLength), r.URL) return } // The max. XML contains 100000 object names (each at most 1024 bytes long) + XML overhead const maxBodySize = 2 * 100000 * 1024 if r.ContentLength > maxBodySize { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrEntityTooLarge), r.URL) return
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 63.9K bytes - Viewed (0) -
guava/src/com/google/common/math/LongMath.java
3, 2, 2, 2, 1, 1, 1, 0, 0, 0 }; @GwtIncompatible // TODO @VisibleForTesting static final long[] powersOf10 = { 1L, 10L, 100L, 1000L, 10000L, 100000L, 1000000L, 10000000L, 100000000L, 1000000000L, 10000000000L, 100000000000L, 1000000000000L, 10000000000000L, 100000000000000L,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 29 16:20:07 UTC 2025 - 46.8K bytes - Viewed (0) -
cmd/testdata/undeleteable-object.tgz
¦EcDistœ ¨CSumAlgo ¨PartNums‘ ©PartETagsÀ©PartSizes‘Ñ$CªPartASizes‘Ñ$C¤SizeÑ$C¥MTimeÓ É ¸Åñ€§MetaSys ¼x-minio-internal-inline-dataÄ true§MetaUsr‚¤etagÙ d6566afb36d109141150¬content-type°application/json¡v ÎÇ ±” ¤nullÅ , bµvKö; ª *!먵 ®¤@x ^ m§»ú—1É} 100000"},{"key":"queue_dir","value":""}]},"batch":{"_":[{"key":"replication_workers_wait","value":"0ms"},{"key":"keyrotation_workers_wait","value":"0ms"},{"key":"expiration_workers_wait","value":"0ms"}]},"browser":{"_":[{"key":"csp_policy","value":"default-src...
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 26 00:31:12 UTC 2024 - 8.7M bytes - Viewed (0)