- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 156 for getHash (0.03 sec)
-
src/test/java/jcifs/smb/HandlerTest.java
URL url = new URL(null, "smb://server/share#frag", handler); // Assert: ref is moved into path by Handler.parseURL assertNull(url.getRef(), "Ref must be cleared by Handler"); assertTrue(url.getPath().endsWith("/share#frag"), "Path must contain the fragment suffix"); assertEquals(SmbConstants.DEFAULT_PORT, url.getPort(), "Default port applied when not explicitly set"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesTest.java
private static class BadLengthFile extends File { private final long badLength; BadLengthFile(File delegate, long badLength) { super(delegate.getPath()); this.badLength = badLength; } @Override public long length() { return badLength; } private static final long serialVersionUID = 0; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 22.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactManager.java
/** * Returns the path of the file previously associated to this artifact * or {@code Optional.empty()} if no path has been associated. */ @Nonnull Optional<Path> getPath(@Nonnull Artifact artifact); /** * Associates the given file path to the artifact. */ void setPath(@Nonnull ProducedArtifact artifact, Path path);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
String url = "smb1://server/share/file.txt"; SmbFile smbFile = new SmbFile(url); assertNotNull(smbFile); assertEquals("smb1://server/share/file.txt", smbFile.getPath()); } @Test public void testConstructorWithValidUrlAndAuth() throws MalformedURLException { // Test constructor with authentication
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java
*/ public void updateAccessTime() { this.lastAccessTime = System.currentTimeMillis(); } /** * Get the file path * @return the path */ public String getPath() { return path; } /** * Get the create GUID * @return the create GUID */ public HandleGuid getCreateGuid() { return createGuid; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ResourceUtilTest.java
ResourceUtil.getResource("hoge", "xml"); fail("2"); } catch (final ResourceNotFoundRuntimeException e) { System.out.println(e); assertEquals("3", "hoge.xml", e.getPath()); } System.out.println(ResourceUtil.getResource(".")); } /** * @throws Exception */ public void testGetResourceAsStreamNoException() throws Exception {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java
form.dictId = dictId; }); }).renderWith(data -> { kuromojiService.getKuromojiFile(dictId).ifPresent(file -> { RenderDataUtil.register(data, "path", file.getPath()); }).orElse(() -> { throwValidationError(messages -> messages.addErrorsFailedToDownloadKuromojiFile(GLOBAL), this::asDictIndexHtml); }); }); } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 21.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleInfoTest.java
@Test public void testHandleInfoCreation() { HandleInfo info = new HandleInfo("/test/file.txt", testGuid, testFileId, HandleType.DURABLE_V2, 120000, testLeaseKey); assertEquals("/test/file.txt", info.getPath()); assertEquals(testGuid, info.getCreateGuid()); assertArrayEquals(testFileId, info.getFileId()); assertEquals(HandleType.DURABLE_V2, info.getType()); assertEquals(120000, info.getTimeout());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Handler.java
} else if (!spec.startsWith("smb1://") && host != null && host.length() == 0) { spec = "//" + spec; limit += 2; } super.parseURL(u, spec, start, limit); path = u.getPath(); ref = u.getRef(); if (ref != null) { path += '#' + ref; } port = u.getPort(); if (port == -1) { port = getDefaultPort(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0)