- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for reverting (0.04 sec)
-
src/main/java/jcifs/util/ResourceManager.java
/** * Centralized resource management for preventing resource leaks. * Tracks all AutoCloseable resources and ensures proper cleanup. * * Features: * - Automatic resource cleanup with weak references * - Resource leak detection * - Resource usage monitoring * - Periodic cleanup of abandoned resources * - Detailed resource tracking and reporting */ public class ResourceManager {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K bytes - Viewed (0) -
src/main/java/jcifs/util/InputValidator.java
/** * Validates buffer size to prevent overflow * * @param size the buffer size to validate * @param maxSize the maximum allowed size * @param fieldName the field name for error reporting * @throws IllegalArgumentException if size is invalid */ public static void validateBufferSize(int size, int maxSize, String fieldName) { if (size < 0) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt
* synchronization to safely receive incoming data frames, it is not intended for use by multiple * readers. */ inner class FramingSource internal constructor( /** Maximum number of bytes to buffer before reporting a flow control error. */ private val maxByteCount: Long, /** * True if either side has cleanly shut down this stream. We will receive no more bytes beyond * those already in the buffer. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 18:57:05 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
when(treeHandle.send(any(), any(), (RequestParam[]) any())).thenAnswer(invocation -> { return invocation.getArgument(1); }); // When: Create iterator with rejecting filter NetServerEnumIterator iterator = new NetServerEnumIterator(parent, treeHandle, "*", 0, nameFilter); // Then: Iterator should have no elements assertFalse(iterator.hasNext());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java
// With filter, resource should be closed due to try-with-resources verify(filter).accept(resource); verify(resource).close(); } @Test @DisplayName("Iterator with rejecting filter - finds next acceptable") void iteratorWithRejectingFilter() throws Exception { // Setup: first entry rejected, second accepted FileEntry entry1 = mock(FileEntry.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java
*/ @Nullable XmlNode child(String name); /** * Returns the input location information for this node, if available. * This can be useful for error reporting and debugging. * * @return the input location object, or {@code null} if not available */ @Nullable Object inputLocation(); // Deprecated methods that delegate to new ones
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sat Jul 19 11:09:56 UTC 2025 - 18.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
0xFFFFFFFF00000000L, // High 32 bits set 0x7FFFFFFFFFFFFFFFL, // Long.MAX_VALUE 0x8000000000000000L, // Long.MIN_VALUE 0x0101010101010101L, // Repeating pattern 0xFEFEFEFEFEFEFEFEL // Another pattern }; for (long testValue : testValues) { FileInternalInfo testInfo = new FileInternalInfo();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java
* * @param requirements the existing requirements object * @param moreRequirements more requirements to incorporate * @param source the source of the additional requirements (used only for error reporting) * @return the existing requirements object, modified to include the additional requirements * @throws ConflictingRequirementsException if the additional requirements are inconsistent with * the existing requirements
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 12.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java
try { // Exponential backoff with overflow protection - ensure safe calculation if (retryDelayMs > 0) { // Safe calculation preventing overflow: use Math.max(0, retryCount - 1) and limit shift int safeShift = Math.min(MAX_BACKOFF_SHIFT, Math.max(0, retryCount - 1)); long multiplier = 1L << safeShift;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java
translatedPrefixes.add("build.sourceDirectory"); translatedPrefixes.add("build.testSourceDirectory"); translatedPrefixes.add("build.scriptSourceDirectory"); translatedPrefixes.add("reporting.outputDirectory"); TRANSLATED_PATH_EXPRESSIONS = translatedPrefixes; } @Inject private PathTranslator pathTranslator; private Interpolator interpolator;
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 13.6K bytes - Viewed (0)