- Sort Score
- Result 10 results
- Languages All
Results 841 - 850 of 1,848 for lengths (0.14 sec)
-
internal/lru/lru.go
func (c *LRU[K, V]) Len() int { c.mu.Lock() defer c.mu.Unlock() return c.evictList.Length() } // Resize changes the cache size. Size of 0 means unlimited. func (c *LRU[K, V]) Resize(size int) (evicted int) { c.mu.Lock() defer c.mu.Unlock() if size <= 0 { c.size = 0 return 0 } diff := c.evictList.Length() - size if diff < 0 { diff = 0 } for i := 0; i < diff; i++ {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Apr 25 08:22:26 UTC 2025 - 12.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java
return generator.samples(); } @Override public T create(Object... elements) { return generator.create(elements); } @Override public E[] createArray(int length) { return generator.createArray(length); } @Override public T createTestSubject() { Collection<E> elements = getSampleElements(getCollectionSize().getNumElements()); return generator.create(elements.toArray()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SessionRequestPacket.java
} @Override int readTrailerWireFormat(final InputStream in, final byte[] buffer, int bufferIndex) throws IOException { final int start = bufferIndex; if (in.read(buffer, bufferIndex, length) != length) { throw new IOException("invalid session request wire format"); } bufferIndex += calledName.readWireFormat(buffer, bufferIndex);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmNtHashAuthenticator.java
super(domain, username, (String) null, AuthenticationType.USER); if (passwordHash == null || passwordHash.length != 16) { throw new IllegalArgumentException("Password hash must be provided, expected length 16 byte"); } this.ntHash = passwordHash; } /** * Create username/password credentials with specified domain *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndXResponse.java
int readBytesWireFormat(final byte[] buffer, int bufferIndex) { final int start = bufferIndex; if (extendedSecurity) { System.arraycopy(buffer, bufferIndex, blob, 0, blob.length); bufferIndex += blob.length; } nativeOs = readString(buffer, bufferIndex); bufferIndex += stringWireLength(nativeOs, bufferIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java
assertNotNull(providers[i]); } // Verify all providers are different instances for (int i = 0; i < providers.length; i++) { for (int j = i + 1; j < providers.length; j++) { assertNotSame(providers[i], providers[j]); } } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.4K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java
assertThrows(IllegalArgumentException.class, () -> { new DurableHandleReconnect(new byte[8]); // Wrong length }); assertThrows(IllegalArgumentException.class, () -> { new DurableHandleReconnect(new byte[20]); // Wrong length }); } @Test public void testHandleType() { assertEquals(0, HandleType.NONE.getValue());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashMap.java
* next = 00000bbb * entry = aaaaabbb * </pre> * * <p>The pointers in [size(), entries.length) are all "null" (UNSET). */ @VisibleForTesting transient int @Nullable [] entries; /** * The keys of the entries in the map, in the range of [0, size()). The keys in [size(), * keys.length) are all {@code null}. */ @VisibleForTesting transient @Nullable Object @Nullable [] keys; /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 39.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/WebConfig.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 9.9K bytes - Viewed (0)