- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 171 for triggered (0.05 sec)
-
src/test/java/jcifs/smb/SmbSessionImplTest.java
assertSame(session, session.unwrap(SmbSessionInternal.class)); assertSame(session, session.unwrap(jcifs.SmbSession.class)); // Edge: force incompatible class via raw type to trigger ClassCastException assertThrows(ClassCastException.class, () -> session.unwrap((Class) String.class)); } @Test @DisplayName("toString contains key identifiers") void testToString() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
testBlock.headerStart = 0; buffer[0] = 4; // wordCount at position 0 buffer[1] = (byte) 0x42; // andxCommand SMBUtil.writeInt2(0, buffer, 3); // andxOffset = 0 (triggers Snap workaround) SMBUtil.writeInt2(20, buffer, 9); // byteCount int length = testBlock.readAndXWireFormat(buffer, 0); assertTrue(length > 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashSet.java
* good job of distributing the elements to the buckets to a distribution not far from uniform), and * amortized since some operations can trigger a hash table resize. * * <p>Unlike {@code java.util.HashSet}, iteration is only proportional to the actual {@code size()}, * which is optimal, and <i>not</i> the size of the internal hashtable, which could be much larger
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 23.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
// Given when(mockTreeHandle.isSMB2()).thenReturn(true); when(mockTreeHandle.getSendBufferSize()).thenReturn(65536); when(mockFileHandle.isValid()).thenReturn(false, true); // First false to trigger ensureOpen, then true when(mockFileHandle.getFileId()).thenReturn(new byte[16]); when(mockFileHandle.acquire()).thenReturn(mockFileHandle); // Mock for ensureOpen to reopen file
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PreconditionsTest.java
* null _failure message_) * * That combination upsets NullPointerTester, which wants any call that passes null for a * non-@Nullable parameter to trigger a NullPointerException. * * (We still define this empty method to keep PackageSanityTests from generating its own * automated nullness tests, which would fail.) */ }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PreconditionsTest.java
* null _failure message_) * * That combination upsets NullPointerTester, which wants any call that passes null for a * non-@Nullable parameter to trigger a NullPointerException. * * (We still define this empty method to keep PackageSanityTests from generating its own * automated nullness tests, which would fail.) */ }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
assertNotNull(s2); assertEquals(1, transport.getNumSessions(), "Should reuse existing session"); s2.close(); } @Test @DisplayName("DFS referrals: invalid double-slash prefix triggers exception") void dfsReferrals_invalidPath() { CIFSException ex = assertThrows(CIFSException.class, () -> transport.getDfsReferrals(ctx, "\\\\server\\share", null, null, 1));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
connection.idleAtNs = now - keepAliveDurationNs return 0 } } return references.size } /** * Adds or replaces the policy for [address]. * This will trigger a background task to start creating connections as needed. */ fun setPolicy( address: Address, policy: AddressPolicy, ) { val state = AddressState(address, taskRunner.newQueue(), policy)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jun 03 17:10:08 UTC 2025 - 16.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* the warnings the {@link MoreExecutors#directExecutor} documentation. * * @param input the primary input {@code Future} * @param exceptionType the exception type that triggers use of {@code fallback}. The exception * type is matched against the input's exception. "The input's exception" means the cause of
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
} /** * Emergency cleanup method called during finalization to prevent memory leaks */ private void emergencyCleanup() { try { // Force usage count to zero to trigger cleanup this.usageCount.set(0); synchronized (this) { // Emergency release of transport if (this.transportAcquired.compareAndSet(true, false)) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0)