Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 417 for shortp (0.03 sec)

  1. src/main/java/org/codelibs/fess/entity/QueryContext.java

        }
    
        /**
         * Adds sort builders to the query context.
         * @param sortBuilders Variable number of sort builders to add.
         */
        public void addSorts(final SortBuilder<?>... sortBuilders) {
            stream(sortBuilders).of(stream -> stream.forEach(sortBuilder -> sortBuilderList.add(sortBuilder)));
        }
    
        /**
         * Checks if any sort builders have been added to this context.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

        void testGetFileInformationLevel() {
            assertEquals(FileInformation.FILE_RENAME_INFO, fileRenameInfo.getFileInformationLevel());
        }
    
        @Test
        @DisplayName("Test size calculation with short filename")
        void testSizeWithShortFilename() {
            FileRenameInformation2 info = new FileRenameInformation2("test.txt", false);
            // 20 bytes fixed + 2 * 8 chars = 20 + 16 = 36
            assertEquals(36, info.size());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

            assertEquals(4, readLen, "Byte count returned should be 4");
        }
    
        @Test
        @DisplayName("readParameterWordsWireFormat with a too-short buffer - throws exception")
        void testReadParameterWordsWithShortBuffer() {
            byte[] buffer = new byte[] { 0x00, 0x01, 0x02 }; // only three bytes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java

            helper.delayByRules();
            end = System.currentTimeMillis();
            assertTrue(end - start < 50); // Should return quickly
    
            // Test with rule that has delay (we'll use a very short delay for testing)
            helper.ruleList.clear();
            helper.addIntervalRule("12:00", "13:00", "*", 10);
            start = System.currentTimeMillis();
            helper.delayByRules();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/Cache.java

       * value. Otherwise, a call that passes one {@code loader} may return the result of another call
       * with a differently behaving {@code loader}. For example, a call that requests a short timeout
       * for an RPC may wait for a similar call that requests a long timeout, or a call by an
       * unprivileged user may return a resource accessible only to a privileged user making a similar
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/witness/WitnessUnregisterMessage.java

            if (contextHandle != null) {
                buf.writeOctetArray(contextHandle, 0, Math.min(contextHandle.length, 20));
                // Pad with zeros if context handle is shorter than 20 bytes
                for (int i = contextHandle.length; i < 20; i++) {
                    buf.enc_ndr_small(0);
                }
            } else {
                // Write 20 zero bytes for null context handle
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

            return getQueryProcessor().execute(context, new PrefixQuery(new Term(field, text.substring(0, text.length() - 1))), boost);
        }
    
        /**
         * Converts a sort field query to add sort criteria to the context.
         *
         * @param fessConfig the Fess configuration
         * @param context the query context
         * @param termQuery the term query to convert
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/CryptoTest.java

            assertNotNull(encrypted);
            assertEquals(8, encrypted.length);
            assertNotEquals(new String(plaintext), new String(encrypted));
        }
    
        @ParameterizedTest
        @ValueSource(strings = { "", "a", "short", "medium length text", "very long text that exceeds typical block sizes" })
        @DisplayName("Should handle various input sizes for hashing")
        void testHashVariousInputSizes(String input) {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/ASN1UtilTest.java

                ASN1Util.readTagNumber(s, 0x1F);
            });
        }
    
        // --- readLength ---
    
        @Test
        void testReadLength_ShortForm() throws IOException {
            // Definite-length short form (length 10)
            InputStream s = new ByteArrayInputStream(new byte[] { 0x0A });
            int length = ASN1Util.readLength(s, 100, false);
            assertEquals(10, length);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            Smb2LeaseKey key = leaseManager.requestLease(path, requestedState);
            assertNotNull(leaseManager.getLease(key));
    
            // Wait a bit and then cleanup with a very short expiration time
            Thread.sleep(10);
            int cleaned = leaseManager.cleanupExpiredLeases(1); // 1ms expiration
    
            assertEquals(1, cleaned);
            assertNull(leaseManager.getLease(key));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
Back to top