Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 248 for getHash (0.14 seconds)

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

                    task.setCoreConfig(testConfig);
                    task.setXpackConfig(xpackTestConfig);
                    // If this is the rest spec project, don't copy the tests again
                    if (project.getPath().equals(":rest-api-spec") == false) {
                        task.getIncludeCore().set(extension.getRestTests().getIncludeCore());
                    }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jun 23 09:36:58 GMT 2021
    - 6.4K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/PomInlinerTransformer.java

                        && artifact.getClassifier().isEmpty()) {
                    try {
                        Path tmpPom = Files.createTempFile("pom-inliner-", ".xml");
                        String originalPom = Files.readString(artifact.getPath());
                        String interpolatedPom = interpolator.interpolate(
                                originalPom,
                                property -> {
                                    if (needsInlining.contains(property)) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  3. 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);
                });
            });
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 23.7K bytes
    - Click Count (1)
  4. 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;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top