Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for newPath (0.06 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: Sun Sep 07 00:10:21 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: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 52.2K 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.9K 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: Sun Sep 07 00:10:21 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: Thu Sep 04 12:52:25 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: Sun Sep 07 00:10:21 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: Sun Sep 07 00:10:21 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Hashing.java

        @Override
        HashCode makeHash(Hasher[] hashers) {
          byte[] bytes = new byte[bits() / 8];
          int i = 0;
          for (Hasher hasher : hashers) {
            HashCode newHash = hasher.hash();
            i += newHash.writeBytesTo(bytes, i, newHash.bits() / 8);
          }
          return HashCode.fromBytesNoCopy(bytes);
        }
    
        @Override
        public int bits() {
          int bitSum = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  10. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
Back to top