Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 213 for getPaths (0.1 seconds)

  1. 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)
  2. 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)
  3. 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)
  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. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/PublishPlugin.java

                pomTask -> pomTask.setDestination(
                    (Callable<String>) () -> String.format(
                        "%s/distributions/%s-%s.pom",
                        projectLayout.getBuildDirectory().get().getAsFile().getPath(),
                        archivesBaseName.get(),
                        projectVersion.get()
                    )
                )
            );
            var publishing = extensions.getByType(PublishingExtension.class);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Aug 11 07:30:51 GMT 2021
    - 8.9K bytes
    - Click Count (0)
  8. 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)
  9. 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)
  10. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 22.9K bytes
    - Click Count (0)
Back to Top