Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1021 - 1030 of 1,848 for lengths (0.06 sec)

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

            void testLength() throws SmbException {
                // Arrange
                long expectedLength = 1024L;
                doReturn(expectedLength).when(smbFile).length();
    
                // Act & Assert
                assertEquals(expectedLength, smbFile.length());
            }
    
            @Test
            void testLastModified() throws SmbException {
                // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

            rcv_buf = new byte[RCV_BUF_SIZE];
            out = new DatagramPacket(snd_buf, SND_BUF_SIZE, baddr, NAME_SERVICE_UDP_PORT);
            in = new DatagramPacket(rcv_buf, RCV_BUF_SIZE);
    
            if (RO == null || RO.length() == 0) {
    
                /* No resolveOrder has been specified, use the
                 * default which is LMHOSTS,DNS,WINS,BCAST
                 * LMHOSTS,BCAST,DNS if jcifs.smb1.netbios.wins has not
                 * been specified.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

            // Then
            assertTrue(result > 0);
            assertEquals((byte) 0x04, dst[0]); // First buffer format byte
    
            // Find the second buffer format byte
            int secondBufferFormatIndex = oldFileName.length() + 2; // 1 for first 0x04, 1 for null terminator
            assertEquals((byte) 0x04, dst[secondBufferFormatIndex]);
        }
    
        /**
         * Test writeBytesWireFormat with Unicode encoding
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

            }
    
            if (limitPercentage.endsWith("%")) {
                this.limitPercentage = Integer.parseInt(limitPercentage.substring(0, limitPercentage.length() - 1));
            } else {
                this.limitPercentage = Integer.parseInt(limitPercentage);
            }
    
            if (this.limitPercentage > 100) {
                this.limitPercentage = 100;
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableCollection.java

        checkNotNull(other);
        int size = size();
    
        if (other.length < size) {
          Object[] internal = internalArray();
          if (internal != null) {
            return Platform.copy(internal, internalArrayStart(), internalArrayEnd(), other);
          }
          other = ObjectArrays.newArray(other, size);
        } else if (other.length > size) {
          other[size] = null;
        }
        copyIntoArray(other, 0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Joiner.java

               */
              toJoin = Arrays.copyOf(toJoin, expandedCapacity(toJoin.length, toJoin.length + 1));
            }
            toJoin[i++] = toString(part);
          }
          // We might not have seen the expected number of elements, as discussed above.
          if (i != toJoin.length) {
            toJoin = Arrays.copyOf(toJoin, i);
          }
          return String.join(separator, toJoin);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 21K bytes
    - Viewed (0)
  7. src/main/java/jcifs/audit/SecurityAuditLogger.java

                return username;
            }
    
            // Show first and last character only
            if (username.length() <= 2) {
                return "***";
            }
    
            return username.charAt(0) + "***" + username.charAt(username.length() - 1);
        }
    
        private String maskIpAddress(String ip) {
            if (!maskSensitiveData || ip == null) {
                return ip;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

                        final String[] names = StreamUtil.split(entry.getName(), "/")
                                .get(stream -> stream.filter(s -> !"..".equals(s)).toArray(n -> new String[n]));
                        if (names.length < 2) {
                            continue;
                        }
                        if (logger.isDebugEnabled()) {
                            logger.debug("Loading {}", entry.getName());
                        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java

            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
    
            // Verify cause's stack trace is also preserved
            assertNotNull(exception.getCause().getStackTrace());
            assertTrue(exception.getCause().getStackTrace().length > 0);
        }
    
        public void test_multiLevelCause() {
            // Test with nested exceptions
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java

                    if (doc.get(indexFieldTitle) instanceof final String title) {
                        contentLength += title.length();
                    }
                    if (doc.get(indexFieldContent) instanceof final String content) {
                        contentLength += content.length();
                    }
                    doc.put(indexFieldContentLength, contentLength);
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top