Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,799 for full (0.49 sec)

  1. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

        void testReadMethodsReturnZero() {
            Trans2QueryFSInformation cmd = new Trans2QueryFSInformation(10);
            assertEquals(0, cmd.readSetupWireFormat(null, 0, 0));
            assertEquals(0, cmd.readParametersWireFormat(null, 0, 0));
            assertEquals(0, cmd.readDataWireFormat(null, 0, 0));
        }
    
        @Test
        @DisplayName("toString includes information level in hex")
        void testToString() {
            int level = 0xABC;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/ntlmssp/Type3Message.java

            setDomain(domain);
            setUser(user);
    
            if (password == null && passwordHash == null || !nonAnonymous && password != null && password.length() == 0) {
                setLMResponse(null);
                setNTResponse(null);
                return;
            }
    
            if (passwordHash == null) {
                passwordHash = NtlmUtil.getNTHash(password);
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

         */
        public byte[] getBuffer() {
            return this.buf;
        }
    
        /**
         * Aligns the buffer index to the specified boundary with a fill value.
         *
         * @param boundary the alignment boundary
         * @param value the fill value for padding
         * @return the number of bytes added for alignment
         */
        public int align(final int boundary, final byte value) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

             * @return The absolute file path of the resource, or null if not found
             */
            protected String getResourcePath(final String path) {
                final File file = ResourceUtil.getResourceAsFileNoException(path);
                if (file != null) {
                    return file.getAbsolutePath();
                }
                return null;
            }
    
            /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.8K bytes
    - Viewed (3)
  5. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

                assertEquals(mockConfig, configField.get(request));
            }
    
            @Test
            @DisplayName("Should handle null configuration")
            void testConstructorWithNullConfig() {
                assertDoesNotThrow(() -> {
                    Smb2EchoRequest request = new Smb2EchoRequest(null);
                    assertNotNull(request);
                });
            }
        }
    
        @Nested
        @DisplayName("CreateResponse Tests")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

            jcifs.smb1.Config.setProperty("jcifs.smb1.smb.lmCompatibility", "3");
        }
    
        @AfterAll
        static void tearDownClass() {
            // Restore original property
            if (originalLmCompatibility != null) {
                jcifs.smb1.Config.setProperty("jcifs.smb1.smb.lmCompatibility", originalLmCompatibility);
            } else {
                System.clearProperty("jcifs.smb1.smb.lmCompatibility");
            }
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

        }
    
        @Test
        @DisplayName("Should handle null configuration gracefully")
        void testNullConfiguration() {
            // When - constructor accepts null config without throwing
            Smb2TreeDisconnectResponse responseWithNull = new Smb2TreeDisconnectResponse(null);
    
            // Then - response is created successfully
            assertNotNull(responseWithNull);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/QueryHelper.java

         * @return a fully constructed QueryContext ready for OpenSearch execution
         */
        public QueryContext build(final SearchRequestType searchRequestType, final String query, final Consumer<QueryContext> context) {
            String q;
            if (additionalQuery != null && StringUtil.isNotBlank(query)) {
                q = query + " " + additionalQuery;
            } else {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            assertEquals(0, serverData.encryptionKey.length);
    
            // Test with null
            serverData.encryptionKey = null;
            assertNull(serverData.encryptionKey);
    
            // Test guid (typically 16 bytes)
            byte[] guid = new byte[16];
            Arrays.fill(guid, (byte) 0xAB);
            serverData.guid = guid;
            assertNotNull(serverData.guid);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top