Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 282 for getData (0.46 sec)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesLoaderTest.java

            Path mavenHome = fs.getPath("/maven");
            Files.createDirectories(mavenHome);
            Path mavenConf = mavenHome.resolve("conf");
            Files.createDirectories(mavenConf);
            Path mavenUserProps = mavenConf.resolve("maven.properties");
            Files.writeString(mavenUserProps, "${includes} = ?\"/user/ma ven.properties\",  ?/foo/bar\n");
            Path userDirectory = fs.getPath("/user");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Dec 01 19:41:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultPathTranslator.java

                File file = new File(path);
                if (file.isAbsolute()) {
                    // path was already absolute, just normalize file separator and we're done
                    result = file.getPath();
                } else if (file.getPath().startsWith(File.separator)) {
                    // drive-relative Windows path, don't align with project directory but with drive root
                    result = file.getAbsolutePath();
                } else {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

                        // Flush any cached data before eviction
                        if (lease.hasWriteCache()) {
                            flushCachedWrites(lease.getPath());
                        }
                        if (lease.hasReadCache()) {
                            invalidateReadCache(lease.getPath());
                        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java

                if (dirManager == null) {
                    log.debug("Directory leasing not available for: {}", smbFile.getPath());
                    return null;
                }
    
                return dirManager.requestDirectoryLease(smbFile.getPath(), requestedState, scope);
            } catch (CIFSException e) {
                throw SmbException.wrap(e);
            }
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                assertEquals("path2", combined.getPath());
                assertEquals("DOMAIN", combined.getDomain());
                assertEquals(second.getExpiration(), combined.getExpiration());
    
                // Path consumed should be combined
                int expectedPathConsumed = 20 + 15;
                if (first.getPath() != null) {
                    expectedPathConsumed -= (first.getPath().length() + 1);
                }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  6. api/maven-api-core/src/test/java/org/apache/maven/api/services/ModelSourceTest.java

            assertNotNull(source);
            assertEquals(modelId, source.getModelId(), "Resolved source should return the provided modelId");
            assertNull(source.getPath(), "Resolved sources should return null for getPath()");
            assertEquals(path.toString(), source.getLocation());
        }
    
        @Test
        void testModelIdFormat() {
            String location = "/tmp/test.xml";
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

                Files.deleteIfExists(target);
                result = null;
            } else if (!Files.exists(src.getPath())) {
                Files.deleteIfExists(target);
                result = "";
            } else {
                String current = ChecksumAlgorithmHelper.calculate(
                                src.getPath(), List.of(new Sha1ChecksumAlgorithmFactory()))
                        .get(Sha1ChecksumAlgorithmFactory.NAME);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

                    StandardOpenOption.WRITE, StandardOpenOption.TRUNCATE_EXISTING))) {
                oos.writeObject(info);
                log.debug("Persisted handle: {}", info.getPath());
            } catch (IOException e) {
                log.error("Failed to persist handle: " + info.getPath(), e);
            }
        }
    
        private void removePersistedHandle(HandleInfo info) {
            if (info.getType() != HandleType.PERSISTENT) {
                return;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

        }
    
        @Override
        public String getPathForLocalMetadata(Metadata metadata) {
            return getPath(metadata, "local");
        }
    
        @Override
        public String getPathForRemoteMetadata(Metadata metadata, RemoteRepository repository, String context) {
            return getPath(metadata, getRepositoryKey(repository, context));
        }
    
        String getRepositoryKey(RemoteRepository repository, String context) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. impl/maven-core/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

        }
    
        @Override
        public String getPathForLocalMetadata(Metadata metadata) {
            return getPath(metadata, "local");
        }
    
        @Override
        public String getPathForRemoteMetadata(Metadata metadata, RemoteRepository repository, String context) {
            return getPath(metadata, getRepositoryKey(repository, context));
        }
    
        String getRepositoryKey(RemoteRepository repository, String context) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top