- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 197 for triggered (0.05 sec)
-
okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt
val parentFile = parentFile ?: return false if (parentFile == directory) return true return parentFile.isDescendentOf(directory) } /** * See FinalizationTester for discussion on how to best trigger GC in tests. * https://android.googlesource.com/platform/libcore/+/master/support/src/test/java/libcore/ * java/lang/ref/FinalizationTester.java */ @Throws(Exception::class) @JvmStatic
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java
assertEquals(NtStatus.NT_STATUS_UNSUCCESSFUL, ex.getNtStatus(), "Status should default to unsuccessful for message+cause ctor"); } // Interaction: passing a mocked cause should not trigger interactions (nothing to call) @Test @DisplayName("Mocked cause: no interactions occur when stored as cause") void mockedCause_isStored_withoutInteraction() { // Arrange
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/HandlerTest.java
} @Test @DisplayName("parseURL: exact 'smb://' sets default port") void testParseURL_ExactRoot_DefaultPort() throws MalformedURLException { // Arrange & Act: constructing this URL triggers Handler.parseURL("smb://") Handler handler = newHandler(); URL url = new URL(null, "smb://", handler); // Assert assertEquals("smb", url.getProtocol());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
assertTrue(repr.contains("typeOfLock=7")); assertTrue(repr.contains("newOplockLevel=2")); } /** * Test decoding of bytes buffer that is too short triggers an exception. * Note: The actual implementation throws ArrayIndexOutOfBoundsException * when the buffer is too short, not SMBProtocolDecodingException. */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java
* of a Maven project. Each phase represents a specific step, such as compiling the * code, running tests, packaging the project, and deploying it. Executing a phase * triggers all preceding phases, ensuring that each step of the build process is * completed in the correct order. The three main lifecycles in Maven are * {@link #DEFAULT default}, {@link #CLEAN clean}, and {@link #SITE site}, with the
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 7.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java
* * <p>Currently, this method is invoked while holding a lock. If an implementation of this method * blocks, it can prevent this service from changing state. If you need to performing a blocking * operation in order to trigger shutdown, consider instead registering a listener and * implementing {@code stopping}. Note, however, that {@code stopping} does not run at exactly the * same times as {@code triggerShutdown}. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
assertNotNull(encrypted1); // Encrypt larger message to trigger rotation byte[] largeMessage = new byte[150]; // Exceed 100 byte limit Arrays.fill(largeMessage, (byte) 'A'); // Should trigger automatic rotation and succeed byte[] encrypted2 = assertDoesNotThrow(() -> context.encryptMessage(largeMessage, 2L));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/MIENameTest.java
return buf; }, IllegalArgumentException.class), // Negative NAME_LEN (0xFFFFFFFF) causes StringIndexOutOfBoundsException Arguments.of("negative name length triggers SIOOBE", (java.util.function.Supplier<byte[]>) () -> { byte[] tok = new byte[] { 0x04, 0x01 }; byte[] buf = new byte[2 + 2 + der.length + 4]; int p = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/EnumHashBiMap.java
/* * TODO: cpovirk - Pre-size the HashMap based on the number of enum values? (But *not* based on * the number of entries in the map, as that makes it easy for hostile inputs to trigger lots of * allocation—not that any program should be deserializing hostile inputs to begin with!) */ setDelegates(new EnumMap<K, V>(keyTypeOrObjectUnderJ2cl), new HashMap<V, K>());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
// Register a mock file with cache leaseManager.registerFileCache(path, null); // Using null for simplicity in test // Handle lease break which should trigger cache operations leaseManager.handleLeaseBreak(key, Smb2LeaseState.SMB2_LEASE_NONE); LeaseEntry entry = leaseManager.getLease(key); assertNotNull(entry);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 13.2K bytes - Viewed (0)