Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 182 for endswith (0.04 sec)

  1. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

            // Act
            String result = response.toString();
    
            // Assert
            assertNotNull(result);
            assertTrue(result.contains("TransWaitNamedPipeResponse["));
            assertTrue(result.endsWith("]"));
        }
    
        @Test
        @DisplayName("toString should include parent class information")
        void testToStringIncludesParentInfo() {
            // Act
            String result = response.toString();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            assertEquals(0, pluginFiles.length);
        }
    
        public void test_getPluginJarFiles_withFilter() {
            FilenameFilter filter = (dir, name) -> name.endsWith(".jar");
            File[] pluginFiles = ResourceUtil.getPluginJarFiles(filter);
            assertNotNull(pluginFiles);
            // Should return empty array when plugin directory doesn't exist
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

         */
        private SmbFile createSmbFileFromCache(String directoryPath, DirectoryCacheEntry.FileInfo fileInfo) throws IOException {
            String filePath = directoryPath;
            if (!filePath.endsWith("/")) {
                filePath += "/";
            }
            filePath += fileInfo.getName();
    
            // Ensure proper SMB URL format
            if (!filePath.startsWith("smb://")) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

            if (logger.isInfoEnabled()) {
                logger.info("Set document limitPercentage: {}", limitPercentage);
            }
    
            if (limitPercentage.endsWith("%")) {
                this.limitPercentage = Integer.parseInt(limitPercentage.substring(0, limitPercentage.length() - 1));
            } else {
                this.limitPercentage = Integer.parseInt(limitPercentage);
            }
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

            assertTrue(result.contains("versionMinor=1"));
            assertTrue(result.contains("type=0x00000801"));
            assertTrue(result.contains("commentOrMasterBrowser=Test server"));
            assertTrue(result.endsWith("]"));
        }
    
        @Test
        @DisplayName("Test toString method")
        void testToString() throws Exception {
            // Set some test values
            setStatus(response, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            // Should start with the class name
            assertTrue(str.startsWith("Trans2SetFileInformationResponse["));
    
            // Should end with closing bracket
            assertTrue(str.endsWith("]"));
    
            // Should contain parent toString content
            // Note: The parent toString might include various fields
            assertNotNull(str);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

                final float boost, final String field, final String text) {
            if (fessConfig.getQueryReplaceTermWithPrefixQueryAsBoolean() && text.length() > 1 && text.endsWith("*")) {
                return convertPrefixQuery(fessConfig, context, termQuery, boost, field, text);
            }
            if (DEFAULT_FIELD.equals(field)) {
    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/main/java/jcifs/util/InputValidator.java

            path = path.replace('/', '\\');
    
            // Remove redundant slashes
            path = path.replaceAll("\\\\+", "\\\\");
    
            // Remove trailing slash unless it's root
            if (path.length() > 1 && path.endsWith("\\")) {
                path = path.substring(0, path.length() - 1);
            }
    
            return path;
        }
    
        /**
         * Validates username
         *
         * @param username the username to validate
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            assertTrue(str.contains("lastWriteTime="));
            assertTrue(str.contains("changeTime="));
            assertTrue(str.contains("attributes=0x"));
            assertTrue(str.endsWith("]"));
        }
    
        @Test
        @DisplayName("Test decode with minimum buffer size")
        void testDecodeMinimumBuffer() throws SMBProtocolDecodingException {
            // First create and encode
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

        void testToString() {
            String result = response.toString();
    
            assertNotNull(result);
            assertTrue(result.startsWith("NtTransQuerySecurityResponse["));
            assertTrue(result.endsWith("]"));
        }
    
        @Test
        @DisplayName("Test readParametersWireFormat with zero nextEntryOffset stops iteration")
        void testReadParametersWireFormatZeroNextEntryOffset() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.7K bytes
    - Viewed (0)
Back to top