Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 3,858 for full (0.06 sec)

  1. src/test/java/jcifs/netbios/NameTest.java

        }
    
        @Test
        void equals_withBothNullScope_shouldReturnTrue() {
            Name name1 = new Name(mockConfig, "TEST", 0x20, null);
            name1.scope = null;
            Name name2 = new Name(mockConfig, "TEST", 0x20, null);
            name2.scope = null;
    
            assertTrue(name1.equals(name2));
        }
    
        @Test
        void equals_withNonNameObject_shouldReturnFalse() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

            response = new Smb2QueryDirectoryResponse(mockConfig, expectInfoClass);
    
            assertNotNull(response);
            assertNull(response.getResults()); // Should be null before decoding
        }
    
        @Test
        @DisplayName("Test getResults returns null initially")
        void testGetResultsInitiallyNull() {
            response = new Smb2QueryDirectoryResponse(mockConfig, (byte) 0x03);
    
            assertNull(response.getResults());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

         */
        public void secureWipeKey() {
            this.signingLock.lock();
            try {
                if (this.signingKey != null) {
                    java.util.Arrays.fill(this.signingKey, (byte) 0);
                    this.signingKey = null;
                }
                this.closed = true;
            } finally {
                this.signingLock.unlock();
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

        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) {
                    log.warn("Tree handle was not properly released, performing emergency cleanup: "
                            + (this.resourceLoc != null ? this.resourceLoc.getURL() : "unknown"));
                    emergencyReleaseHandle();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        }
    
        /**
         * Remove lease contexts and fall back to oplock
         * @param oplockLevel the oplock level to fall back to
         */
        public void fallbackToOplock(byte oplockLevel) {
            // Remove any lease contexts
            if (this.createContexts != null) {
                CreateContextRequest[] filteredContexts = null;
                int count = 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmContext.java

            this.isEstablished = false;
            this.sealClientHandle = null;
            this.sealServerHandle = null;
            this.sealClientKey = null;
            this.sealServerKey = null;
            this.masterKey = null;
            this.signKey = null;
            this.verifyKey = null;
            this.type1Bytes = null;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/PacMac.java

                byte[] dgst = md.digest(data);
                mac.reset();
                mac.init(new SecretKeySpec(dk, HMAC_KEY));
                return mac.doFinal(dgst);
            } finally {
                Arrays.fill(dk, 0, dk.length, (byte) 0);
            }
        }
    
        private static int mapArcfourMD5KeyUsage(int keyusage) {
            int ms_usage = keyusage;
            switch (ms_usage) {
            case 3:
                ms_usage = 8;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java

    import java.net.URLClassLoader;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.apache.maven.usability.plugin.io.xpp3.ParamdocXpp3Reader;
    import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
    
    /**
     * ExpressionDocumenter
     */
    @Deprecated
    public class ExpressionDocumenter {
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/PreauthIntegrityService.java

         */
        public PreauthIntegrityContext initializeSession(String sessionId, byte[] salt, int hashAlgorithm) throws CIFSException {
            if (sessionId == null || sessionId.isEmpty()) {
                throw new CIFSException("Session ID cannot be null or empty");
            }
            if (salt == null || salt.length < 16) {
                throw new CIFSException("Invalid preauth salt: minimum 16 bytes required");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                 * is serviced. The alternative complicates things
                 * more than I think is worth it.
                 */
    
                if (socket != null) {
                    socket.close();
                    socket = null;
                }
                thread = null;
                responseTable.clear();
            }
        }
    
        @Override
        public void run() {
            int nameTrnId;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top