Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 53 for EXTRA (4.56 sec)

  1. src/test/java/jcifs/pac/PacLogonInfoTest.java

        }
    
        @Test
        @DisplayName("Test user flags using mock")
        void testUserFlags() throws Exception {
            PacLogonInfo logonInfo = mock(PacLogonInfo.class);
    
            // Test with extra SIDs flag
            when(logonInfo.getUserFlags()).thenReturn(PacConstants.LOGON_EXTRA_SIDS);
            assertEquals(PacConstants.LOGON_EXTRA_SIDS, logonInfo.getUserFlags());
    
            // Test with resource groups flag
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

             * techinque that NTLMv2 specifically thwarts. A real NTLM Filter would
             * need to do a NETLOGON RPC that JCIFS will likely never implement
             * because it requires a lot of extra crypto not used by CIFS.
             */
            Config.setProperty("jcifs.smb1.smb.lmCompatibility", "0");
            Config.setProperty("jcifs.smb1.smb.client.useExtendedSecurity", "false");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/SMBSigningDigestTest.java

            verify(signingDigest, times(1)).verify(testData, offset, length, extraPad, message);
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 2, 4, 8, 16 })
        @DisplayName("Test verify method with different extra padding values")
        void testVerifyWithDifferentExtraPadding(int extraPad) {
            // Arrange
            int offset = 0;
            int length = testData.length;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

            assertTrue(secondBufferFormatIndex > 0, "Second buffer format byte not found");
            assertEquals((byte) 0x04, dst[secondBufferFormatIndex]);
            assertEquals((byte) 0x00, dst[secondBufferFormatIndex + 1]); // Extra null byte for Unicode alignment
        }
    
        /**
         * Test writeBytesWireFormat with empty file names
         */
        @Test
        @DisplayName("Test writeBytesWireFormat with empty file names")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            byte[] fileNameBytes = fileName.getBytes(StandardCharsets.UTF_16LE);
            int totalSize = 12 + fileNameBytes.length + 50; // Extra space for safety
            byte[] buffer = new byte[totalSize];
    
            // Write next entry offset (4 bytes)
            SMBUtil.writeInt4(nextOffset, buffer, 0);
    
            // Write action (4 bytes)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SecurityBlobTest.java

            SecurityBlob longer = new SecurityBlob(new byte[] { 1, 2, 9 });
    
            // Act & Assert
            // Due to implementation, iteration uses this.b.length and ignores extra bytes in argument
            assertTrue(shorter.equals(longer), "Shorter equals longer when prefix matches (implementation behavior)");
    
            // In the opposite direction, an out-of-bounds occurs internally and is caught as false
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

                newValue = newValue.replace(element, replacement);
            }
            return newValue;
        }
    
        /**
         * Builds the complete query string from the configured parameters.
         * Combines base query, extra queries, field filters, and sort field into a single query string.
         *
         * @return the complete formatted query string
         */
        public String build() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/BufferCacheImplTest.java

            assertEquals(4, impl.getBuffer().length);
        }
    
        // Capacity behavior: when full, additional releases are dropped; only cached buffers are returned
        @Test
        @DisplayName("Cache capacity respected: extra releases dropped; retrieval order by first free slot")
        void cacheCapacityAndRetrievalOrder() {
            BufferCacheImpl impl = new BufferCacheImpl(2, 3);
            byte[] a = new byte[1];
            byte[] c = new byte[2];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

            Thread.sleep(100);
    
            // Create additional update index (making 2 total)
            final String updateAlias = suggester.getIndex() + ".update";
            final String extraIndexName = suggester.getIndex() + ".extra";
    
            client.admin().indices().prepareCreate(extraIndexName).execute().actionGet();
            client.admin().indices().prepareAliases().addAlias(extraIndexName, updateAlias).execute().actionGet();
            Thread.sleep(100);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/Dfs.java

            /* Samba has a tendency to return referral paths and pathConsumed values
             * in such a way that there can be a slash at the end of the path. This
             * causes problems matching keys in resolve() where an extra slash causes
             * a mismatch. This strips trailing slashes from all keys to eliminate
             * this problem.
             */
            int ki = key.length();
            while (ki > 1 && key.charAt(ki - 1) == '\\') {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top