Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for zeroed (2.38 sec)

  1. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            assertTrue(file.isFile(), "Should be identified as a file");
            assertFalse(file.isDirectory(), "Should not be identified as a directory");
            assertEquals(0, file.length(), "New file should have zero length");
        }
    
        @Test
        void testFileWriteAndRead() throws Exception {
            SmbFile file = new SmbFile(baseUrl + "shared/content.txt", context);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbSessionImpl.java

            } else if (usage < 0) {
                throw new RuntimeCIFSException("Usage count dropped below zero");
            }
        }
    
        /**
         * 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) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportImpl.java

                            && grantedCredits == 0) {
                        if (this.credits.availablePermits() > 0 || n > 0) {
                            log.debug("Server " + this + " returned zero credits for " + curReq);
                        } else {
                            log.warn("Server " + this + " took away all our credits");
                        }
                    } else if (!curReq.isResponseAsync()) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
Back to top