- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for isTraceResourceUsage (0.19 seconds)
-
src/test/java/jcifs/ConfigurationTest.java
mockConfig.getBatchLimit("cmd"); mockConfig.getNotifyBufferSize(); mockConfig.getMaxRequestRetries(); mockConfig.isStrictResourceLifecycle(); mockConfig.isTraceResourceUsage(); mockConfig.isAllowCompound("cmd"); mockConfig.getMachineId(); mockConfig.isDisableSpnegoIntegrity(); mockConfig.isEnforceSpnegoIntegrity();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.9K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileHandleImpl.java
this.access = access; this.attrs = attrs; this.options = options; this.tree = tree.acquire(); this.tree_num = tree.getTreeId(); if (cfg.isTraceResourceUsage()) { this.creationBacktrace = Thread.currentThread().getStackTrace(); } else { this.creationBacktrace = null; } } /** * @param cfg * @param fidCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.4K bytes - Click Count (1) -
src/test/java/jcifs/smb/SmbTreeImplTest.java
when(session.getContext()).thenReturn(context); when(session.getTransport()).thenReturn(transport); when(session.acquire()).thenReturn(session); when(config.isTraceResourceUsage()).thenReturn(false); when(context.getConfig()).thenReturn(config); when(session.isConnected()).thenReturn(true); } // Test case for the constructor of SmbTreeImpl @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/HandlerTest.java
void testOpenConnection_UsesProvidedContext() throws MalformedURLException, IOException { // Arrange when(mockCtx.getConfig()).thenReturn(mockCfg); when(mockCfg.isTraceResourceUsage()).thenReturn(false); Handler handler = newHandlerWith(mockCtx); URL url = new URL(null, "smb://example-host/share/", new Handler()); // Act
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.8K bytes - Click Count (0)