Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for isTraceResourceUsage (0.09 sec)

  1. 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();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. 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 fid
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
  4. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top