- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 137 for getRpath (0.04 sec)
-
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
// Stub the getPath method to return a specific value when(mockDir.getPath()).thenReturn("/share/folder/"); // Implementation uses dir.getPath() to check if file should be in that path SmbFilenameFilter filter = (dir, name) -> { if (dir == null) return false; String path = dir.getPath();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/DfsReferralDataTest.java
void testGetPath() { // Given String path = "/test/path"; when(mockReferralData.getPath()).thenReturn(path); // When String result = mockReferralData.getPath(); // Then assertEquals(path, result); verify(mockReferralData).getPath(); } @Test @DisplayName("Should get expiration") void testGetExpiration() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/FileUtilTest.java
} /** * @throws Exception */ @Test public void testReadUTF8() throws Exception { assertThat(FileUtil.readUTF8(getPath("hoge_utf8.txt")), is("あ")); } private String getPath(final String fileName) { return getClass().getName().replace('.', '/').replaceFirst(getClass().getSimpleName(), fileName); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java
StandardOpenOption.WRITE, StandardOpenOption.TRUNCATE_EXISTING))) { oos.writeObject(info); log.debug("Persisted handle: {}", info.getPath()); } catch (IOException e) { log.error("Failed to persist handle: " + info.getPath(), e); } } private void removePersistedHandle(HandleInfo info) { if (info.getType() != HandleType.PERSISTENT) { return;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 13K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java
this.path = requireNonNull(path, "path").normalize(); this.location = location != null ? location : this.path.toString(); } @Override @Nullable public Path getPath() { return path; } @Override @Nonnull public InputStream openStream() throws IOException { return Files.newInputStream(path); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java
} @Override public String getPathForLocalMetadata(Metadata metadata) { return getPath(metadata, "local"); } @Override public String getPathForRemoteMetadata(Metadata metadata, RemoteRepository repository, String context) { return getPath(metadata, getRepositoryKey(repository, context)); } String getRepositoryKey(RemoteRepository repository, String context) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
assertEquals("path2", combined.getPath()); assertEquals("DOMAIN", combined.getDomain()); assertEquals(second.getExpiration(), combined.getExpiration()); // Path consumed should be combined int expectedPathConsumed = 20 + 15; if (first.getPath() != null) { expectedPathConsumed -= (first.getPath().length() + 1); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/DictionaryManager.java
throw new DictionaryException("Failed to update " + dictFile.getPath()); } } catch (final IOException e) { throw new DictionaryException("Failed to update " + dictFile.getPath(), e); } }).orElse(() -> { throw new DictionaryException(dictFile.getPath() + " does not exist."); }); } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java
HandleInfo info1 = manager.getHandleByGuid(guid1); HandleInfo info2 = manager.getHandleByGuid(guid2); assertNotNull(info1); assertNotNull(info2); assertNotEquals(info1.getPath(), info2.getPath()); assertNotEquals(info1.getType(), info2.getType()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 6.6K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
if (directoryLeaseManager != null && directoryLeaseManager.canCacheDirectoryListing(getPath())) { List<SmbFile> cachedFiles = directoryLeaseManager.getCachedDirectoryListing(getPath()); if (cachedFiles != null) { log.debug("Using cached directory listing for: {}", getPath()); return cachedFiles.toArray(new SmbFile[0]); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0)