Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 200 for getHash (0.25 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/CopyRestApiTask.java

            fileSystemOperations.delete(d -> d.delete(outputResourceDir));
    
            // always copy the core specs if the task executes
            String projectPath = getProjectPathFromTask(getPath());
            File restSpecOutputDir = new File(outputResourceDir.get().getAsFile(), REST_API_PREFIX);
    
            getLogger().debug("Rest specs for project [{}] will be copied to the test resources.", projectPath);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 7.4K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/resources/forbidden/jdk-signatures.txt

    # 2.0 and the Server Side Public License, v 1; you may not use this file except
    # in compliance with, at your election, the Elastic License 2.0 or the Server
    # Side Public License, v 1.
    
    @defaultMessage Convert to URI
    java.net.URL#getPath()
    java.net.URL#getFile()
    
    @defaultMessage Usage of getLocalHost is discouraged
    java.net.InetAddress#getLocalHost()
    
    @defaultMessage Use java.nio.file instead of java.io.File API
    java.util.jar.JarFile
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 4.8K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertThat(Iterators.getLast(iterator, "bar")).isEqualTo("foo");
      }
    
      public void testGetLast_withDefault_empty() {
        Iterator<String> iterator = emptyIterator();
        assertThat(Iterators.getLast(iterator, "bar")).isEqualTo("bar");
      }
    
      public void testGetLast_withDefault_empty_null() {
        Iterator<String> iterator = emptyIterator();
        assertThat(Iterators.<@Nullable String>getLast(iterator, null)).isNull();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 57.3K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/DependenciesGraphTask.java

            }
            // We add one package and one node for each dependency, it suffices to check packages.
            if (packages.size() > 0) {
                final String projectName = "elastic/elasticsearch" + getProject().getPath();
                final StringBuilder output = new StringBuilder();
                output.append("{\"depGraph\": {\"schemaVersion\": \"1.2.0\",\"pkgManager\": {\"name\": \"gradle\"},\"pkgs\": [")
                    .append("{\"id\": \"")
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.3K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java

            assert myResource != null : "The resource is this class itself loaded by its own classloader and must exist";
    
            String myClasspathEntry = myResource.getPath();
    
            myClasspathEntry = myClasspathEntry.substring(0, myClasspathEntry.length() - (myResourcePath.length() + 2));
    
            if (myClasspathEntry.startsWith("file:")) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.2K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                mavenConf = fileSystem.getPath(systemProperties.getProperty(MAVEN_INSTALLATION_CONF));
            } else if (systemProperties.getProperty("maven.conf") != null) {
                mavenConf = fileSystem.getPath(systemProperties.getProperty("maven.conf"));
            } else if (systemProperties.getProperty(MAVEN_HOME) != null) {
                mavenConf = fileSystem.getPath(systemProperties.getProperty(MAVEN_HOME), "conf");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  7. 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)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/zip/ZipFileUtil.java

         * @return The path of the Zip file specified by the URL.
         */
        public static String toZipFilePath(final URL zipUrl) {
            assertArgumentNotNull("zipUrl", zipUrl);
    
            final String urlString = zipUrl.getPath();
            final int pos = urlString.lastIndexOf('!');
            final String zipFilePath = urlString.substring(0, pos);
            final File zipFile = new File(URLUtil.decode(zipFilePath, "UTF8"));
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java

                for (Map.Entry<File, List<Error>> e : errors.entrySet()) {
                    sb.append(" - ").append(e.getKey().getPath()).append("\n");
                    for (Error err : e.getValue()) {
                        sb.append("    line ").append(err.line).append(": ").append(err.message).append("\n");
                    }
                }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Aug 29 10:12:17 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/CopyRestTestsTask.java

        void copy() {
            // clean the output directory to ensure no stale files persist
            fileSystemOperations.delete(d -> d.delete(outputResourceDir));
    
            String projectPath = getProjectPathFromTask(getPath());
            File restTestOutputDir = new File(outputResourceDir.get().getAsFile(), REST_TEST_PREFIX);
    
            // only copy core tests if explicitly instructed
            if (includeCore.get().isEmpty() == false) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jul 20 21:05:16 GMT 2021
    - 7.7K bytes
    - Click Count (0)
Back to Top