- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 313 for 180000 (0.03 seconds)
-
guava-tests/test/com/google/common/primitives/ShortsTest.java
public void testByteArrayRoundTrips() { Random r = new Random(5); byte[] b = new byte[Shorts.BYTES]; // total overkill, but, it takes 0.1 sec so why not... for (int i = 0; i < 10000; i++) { short num = (short) r.nextInt(); assertThat(Shorts.fromByteArray(Shorts.toByteArray(num))).isEqualTo(num); r.nextBytes(b);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 27.6K bytes - Click Count (0) -
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)
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 19.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/IntsTest.java
for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) { radixEncodeParseAndAssertEquals(0, radix); radixEncodeParseAndAssertEquals(8000, radix); radixEncodeParseAndAssertEquals(-8000, radix); radixEncodeParseAndAssertEquals(GREATEST, radix); radixEncodeParseAndAssertEquals(LEAST, radix);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 29.4K bytes - Click Count (0) -
src/main/resources/suggest_indices/suggest_analyzer.json
}, "content_length_filter": { "type": "length", "max": 30 }, "limit_token_count_filter": { "type": "limit", "max_token_count": 10000 }, "stemmer_en_filter": { "type": "stemmer", "name": "possessive_english" }, "arabic_stop": { "type": "stop", "stopwords": "_arabic_"Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Thu Oct 03 02:51:59 GMT 2019 - 57.3K bytes - Click Count (3) -
src/main/java/org/codelibs/fess/Constants.java
/** Default interval time in milliseconds for file system crawling. */ public static final int DEFAULT_INTERVAL_TIME_FOR_FS = 1000; /** Default interval time in milliseconds for web crawling. */ public static final int DEFAULT_INTERVAL_TIME_FOR_WEB = 10000; /** Default number of threads for file system crawling. */ public static final int DEFAULT_NUM_OF_THREAD_FOR_FS = 5;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:55:54 GMT 2026 - 35.8K bytes - Click Count (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();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 44.1K bytes - Click Count (0) -
doc/godebug.md
of query parameters that net/url will accept when parsing a URL-encoded query string. If the number of parameters exceeds the number set in `urlmaxqueryparams`, parsing will fail early. The default value is `urlmaxqueryparams=10000`. Setting `urlmaxqueryparams=0` disables the limit. To avoid denial of service attacks, this setting and default was backported to Go 1.25.6 and Go 1.24.12.
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Mar 20 15:49:10 GMT 2026 - 26K bytes - Click Count (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 }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 15 18:35:56 GMT 2026 - 28.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
} @Test @DisplayName("Should handle hash algorithms with maximum value") void testMaximumHashAlgoValues() throws SMBProtocolDecodingException { int[] hashAlgos = { 0xFFFF, 0x0000, 0x7FFF }; byte[] salt = { (byte) 0xFF, 0x00, 0x7F }; PreauthIntegrityNegotiateContext originalContext = new PreauthIntegrityNegotiateContext(mockConfig, hashAlgos, salt);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 34K bytes - Click Count (0) -
src/archive/tar/writer_test.go
// the behavior is verified by researching the source code. // // $ bsdtar -tvf pax-global-records.tar // ---------- 0 0 0 0 Dec 31 1969 file1 // ---------- 0 0 0 0 Dec 31 1969 file2 // ---------- 0 0 0 0 Dec 31 1969 file3 // ---------- 0 0 0 0 May 13 2014 file4 // // GNU tar v1.27.1 applies global headers to subsequent records,
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Dec 15 16:34:13 GMT 2025 - 40.2K bytes - Click Count (0)