Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 178 for shorter (0.45 sec)

  1. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

                                        .filter(StringUtil::isNotBlank)
                                        .orElse(null))
                                .distinct()
                                .sorted()
                                .collect(Collectors.joining(","));
                        addToList(list, entity.getSuggestWord());
                        addToList(list, entity.getReading());
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

        void testConstructorWithConfigOnly() {
            request = new Smb2QueryInfoRequest(mockConfig);
    
            assertNotNull(request);
            // SMB2_QUERY_INFO command value is 0x0010
            assertEquals((short) 0x0010, request.getCommand());
    
            // Verify that default file ID is set
            byte[] expectedFileId = Smb2Constants.UNSPECIFIED_FILEID;
            Field fileIdField;
            try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

            valueMap.put("user", user.map(FessUserBean::getUserId).orElse("-"));
            final Comparator<Map.Entry<String, String>> c = Comparator.comparing(Map.Entry::getKey);
            params.entrySet().stream().sorted(c).forEach(e -> {
                valueMap.put(e.getKey(), e.getValue().replace('\t', '_'));
            });
            log(valueMap);
        }
    
        /**
         * Log the value map.
         * @param valueMap The value map.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

            // Arrange
            TransTransactNamedPipe trans = new TransTransactNamedPipe(mockConfig, TEST_FID, TEST_DATA, TEST_OFFSET, TEST_LENGTH);
            byte[] dst = new byte[TEST_LENGTH - 1]; // One byte short
            int dstIndex = 0;
    
            // Act
            int bytesWritten = trans.writeDataWireFormat(dst, dstIndex);
    
            // Assert
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  6. 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: 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/test/java/jcifs/smb/SpnegoContextTest.java

            // The mock setup is unnecessary since we never call it
            assertFalse(ctx.isMICAvailable());
            verify(this.mechContext, never()).isMICAvailable();
        }
    
        @Test
        @DisplayName("isEstablished short-circuits on not completed and does not call delegate")
        void testIsEstablishedShortCircuit() {
            SpnegoContext ctx = newContext();
            // The mock setup is unnecessary since we never call it
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/PacDataInputStreamTest.java

            // Little-endian 0x1234 -> 0x34 0x12
            byte[] data = new byte[] { 0x34, 0x12, 0x00, 0x00 };
            PacDataInputStream pdis = createInputStream(data);
            assertEquals((short) 0x1234, pdis.readShort());
        }
    
        @Test
        public void testReadInt() throws IOException {
            // Little-endian 0x12345678 -> 0x78 0x56 0x34 0x12
            byte[] data = new byte[] { 0x78, 0x56, 0x34, 0x12 };
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         *
         * @param <K> the key type of {@link ConcurrentSkipListMap}
         * @param <V> the value type of {@link ConcurrentSkipListMap}
         * @param m the sorted map to be placed in the created map
         * @return a new instance of {@link ConcurrentSkipListMap}
         * @see ConcurrentSkipListMap#ConcurrentSkipListMap(SortedMap)
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 49.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                final int n = readBytesWireFormat(buffer, bufferIndex);
                if (n != this.byteCount && log.isTraceEnabled()) {
                    log.trace("Short read, have " + n + ", want " + this.byteCount);
                }
                bufferIndex += this.byteCount;
            }
    
            /*
             * if there is an andx and it itself is an andx then just recur by
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top