Search Options

Results per page
Sort
Preferred Languages
Advance

Results 921 - 930 of 1,875 for length (0.04 sec)

  1. src/test/java/org/codelibs/fess/util/OptionalUtilTest.java

            assertEquals(3, result.get().length);
        }
    
        public void test_ofNullable_withEmptyArray() {
            String[] testValue = new String[0];
            OptionalEntity<String[]> result = OptionalUtil.ofNullable(testValue);
    
            assertNotNull(result);
            assertTrue(result.isPresent());
            assertSame(testValue, result.get());
            assertEquals(0, result.get().length);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CharSourceTest.java

        assertEquals(SPLIT_LINES, lines);
      }
    
      public void testCopyTo_appendable() throws IOException {
        StringBuilder builder = new StringBuilder();
    
        assertEquals(STRING.length(), source.copyTo(builder));
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
    
        assertEquals(STRING, builder.toString());
      }
    
      public void testCopyTo_charSink() throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            trans2SetFileInfo = new Trans2SetFileInformation(config, TEST_FID, mockFileInfo);
    
            byte[] buffer = new byte[256];
            int read = trans2SetFileInfo.readSetupWireFormat(buffer, 0, buffer.length);
    
            // Should always return 0
            assertEquals(0, read);
        }
    
        @Test
        @DisplayName("Test readParametersWireFormat returns 0")
        void testReadParametersWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

        protected String[] parsePath(final String path) {
            if (StringUtil.isNotEmpty(path)) {
                final String[] values = path.split("/", 2);
                if (values.length == 2) {
                    return values;
                }
                if (values.length == 1 && StringUtil.isNotEmpty(values[0])) {
                    return new String[] { values[0], StringUtil.EMPTY };
                }
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 17.9K bytes
    - Viewed (2)
  5. src/main/java/org/codelibs/fess/app/service/BadWordService.java

            String item = list.get(index).trim();
            if (StringUtil.isBlank(item)) {
                return StringUtil.EMPTY;
            }
            if (item.length() > 1 && item.charAt(0) == '"' && item.charAt(item.length() - 1) == '"') {
                item = item.substring(1, item.length() - 1);
            }
            return item;
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/UserInfoHelperTest.java

            String id2 = userInfoHelper.getId();
    
            assertNotNull(id1);
            assertNotNull(id2);
            assertNotSame(id1, id2);
            assertEquals(32, id1.length());
            assertEquals(32, id2.length());
            assertTrue(id1.matches("[0-9a-f]+"));
            assertTrue(id2.matches("[0-9a-f]+"));
        }
    
        public void test_storeQueryId() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java

                // String data in UTF-16LE
                buf.writeOctetArray(wideBytes, 0, wideBytes.length);
                buf.enc_ndr_short(0); // Wide null terminator
    
                // Pad to 4-byte boundary
                int padding = (4 - ((wideBytes.length + 2) % 4)) % 4;
                for (int i = 0; i < padding; i++) {
                    buf.enc_ndr_small(0);
                }
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipe.java

         * @param config the SMB configuration
         * @param pipeName the name of the pipe to call
         * @param data the data buffer to write to the pipe
         * @param off the offset in the data buffer
         * @param len the length of data to write
         */
        public TransCallNamedPipe(final Configuration config, final String pipeName, final byte[] data, final int off, final int len) {
            super(config, SMB_COM_TRANSACTION, TRANS_CALL_NAMED_PIPE);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipe.java

         *
         * @param config the configuration to use
         * @param fid the file ID of the named pipe
         * @param data the data buffer to send
         * @param off the offset in the data buffer
         * @param len the length of data to send
         */
        public TransTransactNamedPipe(final Configuration config, final int fid, final byte[] data, final int off, final int len) {
            super(config, SMB_COM_TRANSACTION, TRANS_TRANSACT_NAMED_PIPE);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

            String item = list.get(index).trim();
            if (StringUtil.isBlank(item)) {
                return StringUtil.EMPTY;
            }
            if (item.length() > 1 && item.charAt(0) == '"' && item.charAt(item.length() - 1) == '"') {
                item = item.substring(1, item.length() - 1);
            }
            return item;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.3K bytes
    - Viewed (0)
Back to top