Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 347 for directly (4.91 sec)

  1. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            System.arraycopy(buffer, securityBufferOffset, actualToken, 0, token.length);
            assertArrayEquals(token, actualToken);
        }
    
        @Test
        @DisplayName("Should test writeBytesWireFormat directly")
        void testWriteBytesWireFormatDirect() throws Exception {
            // Given
            byte[] buffer = new byte[512];
            int offset = 100;
    
            // First encode to set headerStart
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            assertEquals(0, Encdec.dec_uint32le(buffer, 0)); // Should encode 0 for null
        }
    
        @Test
        void testToString() {
            ndrBuffer.setIndex(10);
            ndrBuffer.setLength(20); // Set length directly for toString test
            String expected = "start=0,index=10,length=20";
            assertEquals(expected, ndrBuffer.toString());
    
            NdrBuffer offsetBuffer = new NdrBuffer(buffer, 5);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

                    assertEquals(0, buffer[pathStart + i * 2 + 1]);
                }
            }
        }
    
        @Test
        @DisplayName("Should test writeBytesWireFormat directly")
        void testWriteBytesWireFormatDirect() {
            // Given
            byte[] buffer = new byte[512];
            int offset = 100;
    
            // First encode to set headerStart
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/NameQueryResponseTest.java

        }
    
        @Test
        void readBodyWireFormat_shouldCallReadResourceRecordWireFormat() throws NoSuchFieldException, IllegalAccessException {
            // This method directly calls a superclass method (readResourceRecordWireFormat).
            // We need to setup fields to avoid NPE when parsing
    
            // Set recordName for parsing
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

            stubValidTree(2L, true, true);
            SmbFileHandleImpl h = new SmbFileHandleImpl(cfg, 1, tree, "//host/share", 0, 0, 0, 0, 0L);
            // Calling finalize directly to execute the logic; should not throw
            h.finalize();
        }
    
        @Test
        @DisplayName("toString() contains UNC and id representation")
        void toString_containsExpected() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                testBlock.setUseUnicode(true);
                // Test reading Unicode string with alignment
    
                byte[] buffer = new byte[100];
                // Write "Test" in UTF-16LE directly at position 2 (even offset)
                System.arraycopy(Strings.getUNIBytes("Test\0"), 0, buffer, 2, 10);
    
                String result = testBlock.readString(buffer, 2);
    
                assertEquals("Test", result);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  7. MIGRATION.md

    - **Google Site Search (GSS) / Google Custom Search (CSE)** - JavaScript replacement
    - **Elasticsearch / OpenSearch** - Direct data migration via bulk APIs
    - **Apache Solr** - Document import via REST API
    - **Database Systems** - Direct connection via DataStore plugins
    - **File Systems** - SMB, FTP, local file crawling
    - **Custom Systems** - REST API for bulk document indexing
    
    ---
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 12:40:11 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

                assertNotNull(auth.getPasswordAsCharArray());
                assertEquals("AutoClosePass123!", auth.getPassword());
            }
    
            // After try-with-resources, auth should be closed
            // We can't directly test if password is wiped since auth is out of scope,
            // but the close() method should have been called
        }
    
        /**
         * Test secure memory clearing in close()
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            // maxDataCount should be 800
            // maxSetupCount should be 0
            assertNotNull(trans2QueryFSInfo);
    
            // Since these are protected fields, we can't access them directly
            // But we can verify the object is created successfully with these values
        }
    
        @Test
        @DisplayName("Test information level mapping edge cases")
        void testInformationLevelMappingEdgeCases() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            // maxParameterCount should be 6
            // maxDataCount should be 0
            // maxSetupCount should be 0
    
            // Since these are protected fields, we can't access them directly
            // But we can verify the object is created successfully with these values
            assertNotNull(trans2SetFileInfo);
        }
    
        @Test
        @DisplayName("Test concurrent access")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top