- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 76 for dropped (0.91 sec)
-
src/test/java/jcifs/smb/BufferCacheImplTest.java
// Subsequent get should still work assertEquals(4, impl.getBuffer().length); } // Capacity behavior: when full, additional releases are dropped; only cached buffers are returned @Test @DisplayName("Cache capacity respected: extra releases dropped; retrieval order by first free slot") void cacheCapacityAndRetrievalOrder() { BufferCacheImpl impl = new BufferCacheImpl(2, 3);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
if (usage == 0) { synchronized (this) { log.debug("Usage dropped to zero, release session"); if (this.sessionAcquired.compareAndSet(true, false)) { this.session.release(); } } } else if (usage < 0) { log.error("Usage count dropped below zero " + this); dumpResource();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
} } } } else if (usage < 0) { log.error("Usage count dropped below zero " + this); throw new RuntimeCIFSException("Usage count dropped below zero"); } } /** * Close the tree connection (implements AutoCloseable) *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (1) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
final long us = this.usageCount.decrementAndGet(); if (us == 0) { this.treeConnection.release(); } else if (us < 0) { throw new RuntimeCIFSException("Usage count dropped below zero"); } } @Override protected void finalize() throws Throwable { try { // Add null check to prevent NPE if object was not fully constructed
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
RuntimeException ex = assertThrows(RuntimeException.class, trace::release); assertTrue(ex.getMessage() != null && ex.getMessage().contains("Usage count dropped below zero")); } @Test @DisplayName("getTreeId(): no tree returns -1") void getTreeId_noTree_returnsMinusOne() { // Arrange CIFSContext ctx = mock(CIFSContext.class);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.7K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Transport.java
} if (usage == 0) { if (log.isTraceEnabled()) { log.trace("Transport usage dropped to zero " + this); } } else if (usage < 0) { throw new RuntimeCIFSException("Usage count dropped below zero"); } } /** * {@inheritDoc} * * @see java.lang.Object#finalize() */ @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 27.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
// Act: type USER, decrement true SID sid = new SID(st, jcifs.SID.SID_TYPE_USER, "DOM", "alice", true); // Assert: last element dropped assertEquals("S-1-5-10-20", sid.toString()); assertEquals("DOM", sid.getDomainName()); assertEquals("alice", sid.getAccountName()); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
if (log.isTraceEnabled()) { log.trace("Release session " + usage + " " + this); } if (usage == 0) { if (log.isDebugEnabled()) { log.debug("Usage dropped to zero, release connection " + this.transport); } // Ensure atomic cleanup of all resources synchronized (this) { // Double-check usage count within synchronized block
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/UnicodeString.java
*/ public UnicodeString(final boolean zterm) { this.zterm = zterm; } /** * Constructs a UnicodeString by wrapping an existing unicode_string. * * @param rus wrapped string * @param zterm whether the string should be zero terminated */ public UnicodeString(final rpc.unicode_string rus, final boolean zterm) { this.length = rus.length;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K bytes - Viewed (0)