Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for newPath (1.93 sec)

  1. src/test/java/jcifs/internal/RequestWithPathTest.java

        void testSetPath() {
            // Test with mock
            String newPath = "/new/path/file.txt";
            doNothing().when(requestWithPath).setPath(newPath);
    
            requestWithPath.setPath(newPath);
            verify(requestWithPath, times(1)).setPath(newPath);
    
            // Test with implementation
            testImplementation.setPath(newPath);
            assertEquals(newPath, testImplementation.getPath());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

            String newPath = path.replace(".", "\\.").replace("?", "\\?").replace("*", ".*");
            if (newPath.charAt(0) != '/') {
                newPath = ".*" + newPath;
            }
            if (!newPath.endsWith("$") && !newPath.endsWith(".*")) {
                newPath = newPath + ".*";
            }
            return newPath.replace(".*.*", ".*");
        }
    
        /*
         * (non-Javadoc)
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 53.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                            final String filename = getImageFilename(docId);
                            final Path newPath = basePath.resolve(filename);
                            if (!path.equals(newPath)) {
                                try {
                                    try {
                                        Files.createDirectories(newPath.getParent());
                                    } catch (final FileAlreadyExistsException e) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 27K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

        void testGetPath() {
            request = new Smb2CreateRequest(mockConfig, "share\\file.txt");
            assertEquals("\\share\\file.txt", request.getPath());
    
            request.setPath("newpath\\newfile.txt");
            assertEquals("\\newpath\\newfile.txt", request.getPath());
        }
    
        @Test
        @DisplayName("Test setFullUNCPath and related getters")
        void testFullUNCPath() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  5. src/main/webapp/js/admin/adminlte.min.js.map

    this._trimText(name)\n    itemObject.link = link\n    itemObject.path = path\n\n    if (navTreeview.length === 0) {\n      SearchItems.push(itemObject)\n    } else {\n      const newPath = itemObject.path.concat([itemObject.name])\n      navTreeview.children().each((i, child) => {\n        this._parseItem(child, newPath)\n      })\n    }\n  }\n\n  _trimText(text) {\n    return trim(text.replace(/(\\r\\n|\\n|\\r)/gm, ' '))\n  }\n\n  _renderItem(name, link, path) {\n    path = path.join(` ${this.options.arrowSign}...
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 132.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/context/CIFSContextCredentialWrapper.java

            if (auth != null) {
                final NtlmPasswordAuthenticator newAuth =
                        NtlmAuthenticator.requestNtlmPasswordAuthentication(auth, locationHint, error instanceof SmbAuthException s ? s : null);
                if (newAuth != null) {
                    this.creds = newAuth;
                    return true;
                }
            }
            return false;
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/PreauthIntegrityService.java

                    return currentHash.clone();
                }
            }
    
            public void updateHash(byte[] newHash) {
                synchronized (hashLock) {
                    if (newHash != null && newHash.length == currentHash.length) {
                        this.currentHash = newHash.clone();
                    }
                }
            }
    
            public boolean isValid() {
                return isValid;
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/PreauthIntegrityTest.java

            byte[] input = "test data".getBytes();
            byte[] oldHash = new byte[64];
    
            byte[] newHash = (byte[]) calcMethod.invoke(transport, input, 0, input.length, oldHash);
    
            assertNotNull(newHash);
            assertEquals(64, newHash.length); // SHA-512 produces 64 bytes
            assertNotEquals(oldHash, newHash); // Should be different instance
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                digest.secureWipeKey();
    
                // Verify digest fails after wiping
                byte[] newData = new byte[128];
                Arrays.fill(newData, (byte) 0x66);
    
                assertThrows(IllegalStateException.class, () -> {
                    digest.sign(newData, 0, newData.length, request, response);
                }, "Should throw exception after key is wiped");
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java

         */
        public XPath createXPath(final Consumer<XPathFactory> builder) {
            try {
                final XPathFactory factory = XPathFactory.newInstance();
                builder.accept(factory);
                return factory.newXPath();
            } catch (final Exception e) {
                throw new CrawlerSystemException("Failed to create XPath instance.", e);
            }
        }
    
        /**
         *  Use an XPath string to select a nodelist.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top