- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 162 for reuse (0.18 sec)
-
guava-gwt/src-super/com/google/common/escape/super/com/google/common/escape/Platform.java
* @author Jesse Wilson */ final class Platform { private static final char[] CHAR_BUFFER = new char[1024]; static char[] charBufferFromThreadLocal() { // ThreadLocal is not available to GWT, so we always reuse the same // instance. It is always safe to return the same instance because // javascript is single-threaded, and only used by blocks that doesn't // involve async callbacks. return CHAR_BUFFER; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 1.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeHandleInternal.java
* SMB tree connections and their lifecycle. * * @author mbechler */ public interface SmbTreeHandleInternal extends SmbTreeHandle { /** * Releases this tree handle back to the pool for reuse */ void release(); /** * Ensures that DFS referrals have been resolved for this tree * @throws SmbException if an SMB-specific error occurs
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java
annotationClass.getDeclaringClass(), returnType.getComponentType()); } } // This is public so that tests for Feature enums we haven't yet imagined // can reuse it. public static <E extends Enum<?> & Feature<?>> void assertGoodFeatureEnum( Class<E> featureEnumClass) { Class<?>[] classes = featureEnumClass.getDeclaredClasses(); for (Class<?> containedClass : classes) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
// Transaction should be ready for reuse assertTrue(transaction.hasMoreElements()); } @Test @DisplayName("Test reset with key and lastName") void testResetWithKeyAndLastName() { // Reset with parameters should not throw exception assertDoesNotThrow(() -> transaction.reset(123, "testName")); // Transaction should be ready for reuse
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/main/java/jcifs/BufferCache.java
* * @return a buffer from the cache, or a new one */ byte[] getBuffer(); /** * Return a buffer to the cache * * @param buf the buffer to return to the cache for reuse */ void releaseBuffer(byte[] buf);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.3K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/ReferenceEntry.java
* * <p>Invalid: * * <ul> * <li>Expired: time expired (key/value may still be set) * <li>Collected: key/value was partially collected, but not yet cleaned up * <li>Unset: marked as unset, awaiting cleanup or reuse * </ul> */ @GwtIncompatible interface ReferenceEntry<K, V> { /** Returns the value reference from this entry. */ @Nullable ValueReference<K, V> getValueReference();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 18:34:30 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/BufferCacheTest.java
void testBufferReuse() { // Given byte[] originalBuffer = testCache.getBuffer(); // When - release and get again testCache.releaseBuffer(originalBuffer); byte[] reusedBuffer = testCache.getBuffer(); // Then assertSame(originalBuffer, reusedBuffer, "Released buffer should be reused"); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/sub-dependencies.md
And it will save the returned value in a <abbr title="A utility/system to store computed/generated values, to reuse them instead of computing them again.">"cache"</abbr> and pass it to all the "dependants" that need it in that specific request, instead of calling the dependency multiple times for the same request.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
byte[] buffer2 = BufferCache.getBuffer(); // Then - Buffer should be valid assertNotNull(buffer2, "Reused buffer should not be null"); assertEquals(SmbComTransaction.TRANSACTION_BUF_SIZE, buffer2.length, "Reused buffer should have correct size"); // Note: We don't check if content is cleared as that's not a security requirement
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.6K bytes - Viewed (0) -
docs/en/docs/how-to/custom-docs-ui-assets.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.8K bytes - Viewed (0)