- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 19 for 2x (0.03 seconds)
-
guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java
.that(ratio) .isAtMost( 2 * constructionAsymptotics.applyAsDouble(largeSize) / constructionAsymptotics.applyAsDouble(smallSize)); // allow up to 2x wobble in the constant factors } } public void testResistsHashFloodingOnQuery() { CallsCounter smallCounter = new CallsCounter();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 9K bytes - Click Count (0) -
android-test/src/androidDeviceTest/java/okhttp/android/test/letsencrypt/LetsEncryptClientTest.kt
hkiG9w0BAQsFAAOCAgEAVR9YqbyyqFDQDLHYGmkgJykIrGF1XIpu+ILlaS/V9lZL ubhzEFnTIZd+50xx+7LSYK05qAvqFyFWhfFQDlnrzuBZ6brJFe+GnY+EgPbk6ZGQ 3BebYhtF8GaV0nxvwuo77x/Py9auJ/GpsMiu/X1+mvoiBOv/2X/qkSsisRcOj/KK NFtY2PwByVS5uCbMiogziUwthDyC3+6WVwW6LLv3xLfHTjuCvjHIInNzktHCgKQ5 ORAzI4JMPJ+GslWYHb4phowim57iaztXOoJwTdwJx4nLCgdNbOhdjsnvzqvHu7Ur TkXWStAmzOVyyghqpZXjFaH3pO3JLF+l+/+sKAIuvtd7u+Nxe5AW0wdeRlN8NwdCCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 26 07:38:51 GMT 2026 - 4.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CompactHashing.java
* * <p>For hashtable sizes less than or equal to 32, the returned power of 2 is 4x the current * hashtable size to reduce expensive rehashing. Otherwise the returned power of 2 is 2x the * current hashtable size. */ static int newCapacity(int mask) { return ((mask < 32) ? 4 : 2) * (mask + 1); } /** Returns the hash prefix given the current mask. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 7.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/CompactHashing.java
* * <p>For hashtable sizes less than or equal to 32, the returned power of 2 is 4x the current * hashtable size to reduce expensive rehashing. Otherwise the returned power of 2 is 2x the * current hashtable size. */ static int newCapacity(int mask) { return ((mask < 32) ? 4 : 2) * (mask + 1); } /** Returns the hash prefix given the current mask. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 7.1K bytes - Click Count (0) -
src/archive/zip/reader.go
f.UncompressedSize64 = uint64(f.UncompressedSize) filenameLen := int(b.uint16()) extraLen := int(b.uint16()) commentLen := int(b.uint16()) b = b[4:] // skipped start disk number and internal attributes (2x uint16) f.ExternalAttrs = b.uint32() f.headerOffset = int64(b.uint32()) d := make([]byte, filenameLen+extraLen+commentLen) if _, err := io.ReadFull(r, d); err != nil { return err }
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/org/codelibs/fess/query/QueryFieldConfigSetBasedLookupTest.java
assertTrue("Set-based lookup should be faster or comparable to array-based lookup for large datasets", setDuration <= arrayDuration * 2); // Allow 2x margin for test stability } /** * Helper method to create a test FessConfig. */ private FessConfig createTestFessConfig() { return new FessConfig.SimpleImpl() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 19.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
verify(raf, times(2)).write(any(byte[].class), anyInt(), eq(8)); // long and double } @Test @DisplayName("writeBytes(): writes string bytes; writeChars(): 2x length") void write_stringVariants() throws Exception { SmbRandomAccessFile raf = spy(newInstance("rw", false, true, false)); doNothing().when(raf).write(any(byte[].class), anyInt(), anyInt());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
src/bytes/buffer.go
// we allocate buffers rounded up to the closest size class. c := len(b) + n // ensure enough space for n elements if c < 2*cap(b) { // The growth rate has historically always been 2x. In the future, // we could rely purely on append to determine the growth rate. c = 2 * cap(b) } b2 := append([]byte(nil), make([]byte, c)...) i := copy(b2, b) return b2[:i] }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 16.5K bytes - Click Count (0) -
MIGRATION.md
### 2. Infrastructure Requirements Ensure your Fess environment meets these requirements: - **Java**: JDK 17 or later - **Memory**: Minimum 4GB RAM (8GB+ recommended for production) - **Storage**: At least 2x your current index size - **Network**: Access to crawl sources (web servers, file shares, databases) - **Elasticsearch/OpenSearch**: Compatible version running ### 3. Backup Existing System Before migration:
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 06 12:40:11 GMT 2025 - 23.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/MinMaxPriorityQueue.java
int newCapacity = calculateNewCapacity(); Object[] newQueue = new Object[newCapacity]; arraycopy(queue, 0, newQueue, 0, queue.length); queue = newQueue; } } /** Returns ~2x the old capacity if small; ~1.5x otherwise. */ private int calculateNewCapacity() { int oldCapacity = queue.length; int newCapacity =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 34K bytes - Click Count (0)