- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 133 for getHash (0.04 sec)
-
src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java
body.dictId = dictId; validateApi(body, messages -> {}); return protwordsService.getProtwordsFile(body.dictId) .map(file -> asStream(new File(file.getPath()).getName()).contentTypeOctetStream().stream(out -> { file.writeOut(out); })) .orElseGet(() -> {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
final CIFSContext tc = parent.getContext(); final URL u = locator.getURL(); FileEntry[] entries; if (u.getPath().lastIndexOf('/') != u.getPath().length() - 1) { throw new SmbException(u.toString() + " directory must end with '/'"); } if (locator.getType() != SmbConstants.TYPE_SERVER) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
CIFSException last = null; final RequestWithPath rpath = request instanceof RequestWithPath r ? r : null; final String savedPath = rpath != null ? rpath.getPath() : null; final String savedFullPath = rpath != null ? rpath.getFullUNCPath() : null; final String fullPath = "\\" + loc.getServer() + "\\" + loc.getShare() + loc.getUNCPath();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (1) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java
@Override protected final FileEntry open() throws CIFSException { final SmbResourceLocator loc = this.getParent().getLocator(); final String unc = loc.getUNCPath(); final String p = loc.getURL().getPath(); if (p.lastIndexOf('/') != p.length() - 1) { throw new SmbException(loc.getURL() + " directory must end with '/'"); } if (unc.lastIndexOf('\\') != unc.length() - 1) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java
form.dictId = dictId; }); }).renderWith(data -> { synonymService.getSynonymFile(dictId).ifPresent(file -> { RenderDataUtil.register(data, "path", file.getPath()); }).orElse(() -> { throwValidationError(messages -> messages.addErrorsFailedToDownloadSynonymFile(GLOBAL), this::asDictIndexHtml); }); }); } /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 23.7K bytes - Viewed (1) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
return new Smb2CreateResponse(tc.getConfig(), this.name); } /** * {@inheritDoc} * * @see jcifs.internal.RequestWithPath#getPath() */ @Override public String getPath() { return '\\' + this.name; } /** * {@inheritDoc} * * @see jcifs.internal.RequestWithPath#getFullUNCPath() */ @Override
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 22.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
* * @return The uncanonicalized full URL of this SMB resource. */ public String getPath() { return url.toString(); } String getUncPath0() { if (unc == null) { final char[] in = url.getPath().toCharArray(); final char[] out = new char[in.length]; final int length = in.length; int i, o, state;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0) -
samples/static-server/src/main/java/okhttp3/sample/SampleServer.java
server.useHttps(sslContext.getSocketFactory(), false); server.setDispatcher(this); server.start(port); } @Override public MockResponse dispatch(RecordedRequest request) { String path = request.getPath(); try { if (!path.startsWith("/") || path.contains("..")) throw new FileNotFoundException(); File file = new File(root + path); return file.isDirectory() ? directoryToResponse(path, file)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jan 02 02:50:44 UTC 2019 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileTest.java
} @Test void testGetPath() { // Arrange doReturn("/share/file.txt").when(smbFile).getPath(); // Act & Assert assertEquals("/share/file.txt", smbFile.getPath()); } } @Nested class WhenHandlingStreams { @Mock private SmbTreeHandleImpl mockTreeHandle;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.8K bytes - Viewed (0)