Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for getPath (0.04 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                        String projectId = extractProjectId(r);
                        File sourcePomFile = r.getSource() != null && r.getSource().getPath() != null
                                ? r.getSource().getPath().toFile()
                                : null;
                        results.add(new DefaultProjectBuildingResult(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 51.8K bytes
    - Viewed (0)
  2. 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");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 27 13:24:03 UTC 2025
    - 78.1K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

                if (f != null && scopeFilter.test(a.getScope())) {
                    final ArtifactHandler h = a.getArtifactHandler();
                    if (h.isAddedToClasspath()) {
                        list.add(f.getPath());
                    }
                }
            }
            return list;
        }
    
        /**
         * Returns the elements placed on the classpath for compilation.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:47:20 UTC 2025
    - 67K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

     *
     * ```java
     * String attack = "http://example.com/static/images/../../../../../etc/passwd";
     * System.out.println(new URL(attack).getPath());
     * System.out.println(new URI(attack).getPath());
     * System.out.println(HttpUrl.parse(attack).encodedPath());
     * ```
     *
     * By canonicalizing the input paths, they are complicit in directory traversal attacks. Code that
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbSessionImpl.java

                        return chainedResponse;
                    }
    
                    if (request instanceof SmbComTreeConnectAndX tcax) {
                        if (this.netbiosName != null && tcax.getPath().endsWith("\\IPC$")) {
                            /*
                             * Some pipes may require that the hostname in the tree connect
                             * be the netbios name. So if we have the netbios server name
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportImpl.java

            case NtStatus.NT_STATUS_PATH_NOT_COVERED:
                // samba fails to report the proper status for some operations
            case 0xC00000A2: // NT_STATUS_MEDIA_WRITE_PROTECTED
                checkReferral(resp, req.getPath(), req);
            case NtStatus.NT_STATUS_BUFFER_OVERFLOW:
                break; /* normal for DCERPC named pipes */
            case NtStatus.NT_STATUS_MORE_PROCESSING_REQUIRED:
                break; /* normal for NTLMSSP */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            SmbFile file = new SmbFile(baseUrl + "shared/path/file.txt", context);
    
            assertEquals("file.txt", file.getName(), "Name should be extracted correctly");
            assertTrue(file.getPath().endsWith("/shared/path/file.txt"), "Path should end correctly");
            assertEquals("shared", file.getShare(), "Share should be extracted correctly");
            assertNotNull(file.getParent(), "Parent should not be null");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals(expected, a);
        }
    
        private void assertPathWithNormalizedFileSeparators(Object value) {
            assertEquals(new File(value.toString()).getPath(), value.toString());
        }
    
        private PomTestWrapper buildPom(String pomPath, String... profileIds) throws Exception {
            return buildPom(pomPath, null, null, profileIds);
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 94.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        int hash = original.getHash();
        return segmentFor(hash).copyEntry(original, newNext);
      }
    
      int hash(Object key) {
        int h = keyEquivalence.hash(key);
        return rehash(h);
      }
    
      void reclaimValue(WeakValueReference<K, V, E> valueReference) {
        E entry = valueReference.getEntry();
        int hash = entry.getHash();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 89.9K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                        if (dfos.isInMemory()) {
                            responseData.setResponseBody(dfos.getData());
                            contentLength = dfos.getData().length;
                            if (contentType == null) {
                                try (InputStream is = new ByteArrayInputStream(dfos.getData())) {
                                    contentType = mimeTypeHelper.getContentType(is, url);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 53.7K bytes
    - Viewed (0)
Back to top