- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for finalized (0.06 sec)
-
src/main/java/jcifs/smb/PreauthIntegrityService.java
} /** * Finalizes and removes the preauth integrity context for a session. * * @param sessionId the session identifier */ public void finalizeSession(String sessionId) { PreauthIntegrityContext context = sessionContexts.remove(sessionId); if (context != null) { context.invalidate();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 12.1K bytes - Viewed (0) -
docs/pt/docs/async.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:56:21 UTC 2025 - 23.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
} @Test @DisplayName("finalize() invokes checkRelease exactly once") void finalize_invokes_checkRelease() throws Throwable { // Arrange: spy to verify internal interaction with checkRelease() CIFSContext ctx = mock(CIFSContext.class); SmbTreeConnectionTrace trace = Mockito.spy(new SmbTreeConnectionTrace(ctx)); // Act: directly invoke finalize to simulate GC finalization path
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileHandleImpl.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.4K bytes - Viewed (1) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
} @Test @DisplayName("finalize() logs a warning when not closed (no exception)") void finalize_logsWhenNotClosed() throws Throwable { when(cfg.isTraceResourceUsage()).thenReturn(true); // exercise backtrace branch stubValidTree(2L, true, true); SmbFileHandleImpl h = new SmbFileHandleImpl(cfg, 1, tree, "//host/share", 0, 0, 0, 0, 0L); // Calling finalize directly to execute the logic; should not throw
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnectionTrace.java
SmbTreeConnectionTrace(final CIFSContext ctx) { super(ctx); } SmbTreeConnectionTrace(final SmbTreeConnection conn) { super(conn); } @Override protected void finalize() throws Throwable { checkRelease(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
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 if (this.usageCount != null && this.usageCount.get() != 0) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
System.arraycopy(stackTrace, s, res, 0, e - s); return res; } /** * {@inheritDoc} * * @see java.lang.Object#finalize() */ @Override protected void finalize() throws Throwable { try { if (isConnected() && this.usageCount.get() != 0) { log.warn("Tree was not properly released, performing emergency cleanup: " + this);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Transport.java
throw new RuntimeCIFSException("Usage count dropped below zero"); } } /** * {@inheritDoc} * * @see java.lang.Object#finalize() */ @Override protected void finalize() throws Throwable { try { if (!isDisconnected() && this.usageCount.get() != 0) { log.warn("Transport was not properly released, performing emergency cleanup");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 27.8K bytes - Viewed (0) -
cmd/net_test.go
found = true } } if !found { t.Fatalf("host: expected = %v, got = %v", testCase.expectedIPList, ipList) } } } } // Tests finalize api endpoints. func TestGetAPIEndpoints(t *testing.T) { host, port := globalMinioHost, globalMinioPort defer func() { globalMinioHost, globalMinioPort = host, port }() testCases := []struct {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 9.2K bytes - Viewed (0)