Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 175 for So (0.81 sec)

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

                Object arg = inv.getArgument(0);
                if (arg instanceof Smb2CreateRequest) {
                    Smb2CreateRequest create = (Smb2CreateRequest) arg;
                    // Initialize response chain so query exists
                    create.initResponse(cifsContext);
                    Smb2QueryDirectoryRequest q = (Smb2QueryDirectoryRequest) getNextOf(create);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

            void testLockSequenceInformation() {
                // Note: lockSequenceNumber and lockSequenceIndex are private and not settable
                // They default to 0, so we test the default encoding
                byte[] buffer = new byte[256];
                request.writeBytesWireFormat(buffer, 0);
    
                int lockSequence = SMBUtil.readInt4(buffer, 4);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            // Flags (2 bytes) - should be 0 by default
            assertEquals(0, SMBUtil.readInt2(buffer, 2));
    
            // Reserved (4 bytes) - The implementation skips writing these bytes,
            // so they will have the initial pattern (0xCCCCCCCC)
            // This is expected behavior as seen in the implementation at line 131
            assertEquals((byte) 0xCC, buffer[4]);
            assertEquals((byte) 0xCC, buffer[5]);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

        void testDeriveKeys_NullPreauthForSMB300() {
            // Given
            int dialect = Smb2Constants.SMB2_DIALECT_0300;
    
            // When - SMB 3.0.0 doesn't use preauth integrity, so null should be acceptable
            byte[] signingKey = Smb3KeyDerivation.deriveSigningKey(dialect, sessionKey, null);
    
            // Then
            assertNotNull(signingKey, "Should handle null preauth for SMB 3.0.0");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

         */
        @Test
        @DisplayName("Test toString requires valid configuration")
        public void testToStringRequiresValidConfig() {
            // Constructor with null config throws exception, so we can't test toString with null config
            // Instead, test that toString works with a valid config
    
            // Given
            smbComTreeDisconnect = new SmbComTreeDisconnect(config);
    
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

            String lang = "en";
    
            List<AnalyzeToken> tokens = analyzer.analyze(text, field, lang);
    
            assertNotNull(tokens);
            assertEquals(4, tokens.size()); // Our simple tokenizer splits on '.' so 456.789 becomes 456 and 789
            assertEquals("123", tokens.get(0).getTerm());
            assertEquals("456", tokens.get(1).getTerm());
            assertEquals("0xFF", tokens.get(2).getTerm());
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbSession.java

                    if (netbiosName != null && tcax.path.endsWith("\\IPC$")) {
                        /* Some pipes may require that the hostname in the tree connect
                         * be the netbios name. So if we have the netbios server name
                         * from the NTLMSSP type 2 message, and the share is IPC$, we
                         * assert that the tree connect path uses the netbios hostname.
                         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

            assertEquals("serializeRule", deserializedRule.getRuleId());
            assertNotNull(deserializedRule.getResponseProcessor());
    
            // Note: crawlerContainer is transient (marked with @Resource)
            // so it won't be serialized
            assertNull(deserializedRule.crawlerContainer);
        }
    
        /**
         * Test with null CrawlerContainer
         */
        public void test_nullCrawlerContainer() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/NameServicePacketTest.java

            assertEquals(1, packet.addrEntry.length);
        }
    
        @Test
        void testReadResourceRecordWireFormat_differentRecordName() {
            byte[] src = new byte[20];
            // No pointer, so mockRecordName will be read
            NameServicePacket.writeInt2(NameServicePacket.A, src, 10); // recordType (assuming name takes 10 bytes)
            NameServicePacket.writeInt2(NameServicePacket.IN, src, 12); // recordClass
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

        }
    
        @Test
        @DisplayName("getInput/getOutput return cached streams when open; throw when closed")
        void getInputOutput_caching_and_closed() throws Exception {
            // Arrange: minimal stubs so stream construction works
            SmbPipeHandleImpl handle = newHandleWithBasicStubs(0, "\\\\pipe\\\\foo");
            when(pipe.ensureTreeConnected()).thenReturn(tree);
            when(tree.acquire()).thenReturn(tree);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
Back to top