- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 174 for getHash (0.07 sec)
-
guava-tests/test/com/google/common/io/SourceSinkFactories.java
protected Path createFile() throws IOException { Path file = java.nio.file.Files.createTempFile("SinkSourceFile", "txt"); fileThreadLocal.set(file); return file; } protected Path getPath() { return fileThreadLocal.get(); } public final void tearDown() throws IOException { try { java.nio.file.Files.delete(fileThreadLocal.get()); } catch (IOException e) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 17.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/LocalRepository.java
* * @since 4.0.0 * @see Repository * @see org.apache.maven.api.settings.Settings */ @Experimental @Immutable public interface LocalRepository extends Repository { @Nonnull Path getPath();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java
+ new File(System.getProperty("basedir", "."), "src/test/remote-repo") .getAbsoluteFile() .toURI() .getPath(), new DefaultRepositoryLayout(), new ArtifactRepositoryPolicy(), new ArtifactRepositoryPolicy()); } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12K bytes - Viewed (0) -
src/test/java/jcifs/tests/DfsTest.java
return '\\' + dfsShareRoot.getPath().substring(2 + dfsShare.length()).replace('/', '\\'); } /** * @return * @throws URISyntaxException */ private String getDFSShare () throws URISyntaxException { URI dfsRoot = new URI(getDFSRootURL()); String dfsRootPath = dfsRoot.getPath(); int firstSep = dfsRootPath.indexOf('/', 1);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Mar 01 09:46:04 UTC 2020 - 13.5K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/resident/DefaultResidentMavenInvokerTest.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ExtractGradleApiInfoTask.java
URI uri = URI.create("jar:" + gradleRuntimeApiInfoJar.getAbsoluteFile().toURI()); try (FileSystem fs = FileSystems.newFileSystem(uri, Collections.emptyMap())) { Path upgradedPropertiesJson = fs.getPath(UPGRADED_PROPERTIES_FILE); if (Files.exists(upgradedPropertiesJson)) { Files.copy(upgradedPropertiesJson, to.getAsFile().get().toPath(), StandardCopyOption.REPLACE_EXISTING); } else {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Nov 22 22:15:41 UTC 2023 - 3.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java
File f = new File(getBasedir(), path); f.createNewFile(); return artifactRepositoryFactory.createArtifactRepository( "test", "file://" + f.getPath(), repoLayout, null, null); } protected String getRepositoryLayout() { return "default"; } protected ArtifactRepository localRepository() throws Exception {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
assertEquals("foo", Iterators.getLast(iterator, "bar")); } public void testGetLast_withDefault_empty() { Iterator<String> iterator = emptyIterator(); assertEquals("bar", Iterators.getLast(iterator, "bar")); } public void testGetLast_withDefault_empty_null() { Iterator<String> iterator = emptyIterator(); assertNull(Iterators.<@Nullable String>getLast(iterator, null)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 54.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
*/ RequestWithPath preq = (RequestWithPath) request; if ( preq.getPath() != null && preq.getPath().length() > 0 ) { if ( log.isDebugEnabled() ) { log.debug(String.format("Setting DFS request path from %s to %s", preq.getPath(), preq.getFullUNCPath())); } preq.setResolveInDfs(true);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:06:39 UTC 2023 - 29.6K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java
} /** When the browser hits the redirect URL, use the provided code to ask Slack for a session. */ @Override public MockResponse dispatch(RecordedRequest request) { HttpUrl requestUrl = mockWebServer.url(request.getPath()); String code = requestUrl.queryParameter("code"); String stateString = requestUrl.queryParameter("state"); ByteString state = stateString != null ? ByteString.decodeBase64(stateString) : null;
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Aug 12 07:26:27 UTC 2021 - 3.8K bytes - Viewed (0)