Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 311 - 320 of 687 for resolver (0.08 seconds)

  1. cmd/metacache-entries.go

    	// Reusable slice for resolution
    	candidates [][]xlMetaV2ShallowVersion
    }
    
    // resolve multiple entries.
    // entries are resolved by majority, then if tied by mod-time and versions.
    // Names must match on all entries in m.
    func (m metaCacheEntries) resolve(r *metadataResolutionParams) (selected *metaCacheEntry, ok bool) {
    	if len(m) == 0 {
    		return nil, false
    	}
    
    	dirExists := 0
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 08 15:29:58 GMT 2024
    - 24.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/DfsResolverTest.java

            assertNull(dfsResolver.getDc(mockContext, "anyDomain"));
        }
    
        // Test for resolve method
        @Test
        void testResolve_DfsDisabled() throws CIFSException {
            when(mockConfig.isDfsDisabled()).thenReturn(true);
            assertNull(dfsResolver.resolve(mockContext, "anyDomain", "anyRoot", "anyPath"));
        }
    
        @Test
        void testResolve_NullRoot() throws CIFSException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

        Path path = tempDir.resolve("nonexistent.file");
        assertTrue(Files.exists(path.getParent()));
        MoreFiles.createParentDirectories(path); // test that there's no exception
      }
    
      public void testCreateParentDirectories_oneParentNeeded() throws IOException {
        Path path = tempDir.resolve("parent/nonexistent.file");
        Path parent = path.getParent();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  4. api/maven-api-core/src/test/java/org/apache/maven/api/services/ModelSourceTest.java

        @Test
        void testResolvedSourceWithModelId() {
            String location = "/tmp/resolved-pom.xml";
            Path path = Paths.get(location);
            String modelId = "org.apache.maven:maven-core:4.0.0";
    
            ModelSource source = Sources.resolvedSource(path, modelId);
    
            assertNotNull(source);
            assertEquals(modelId, source.getModelId(), "Resolved source should return the provided modelId");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbTreeConnection.java

                // for standalone DFS we could be checking for a referral here, too
                DfsReferralData dr = this.ctx.getDfs().resolve(this.ctx, loc.getServer(), loc.getShare(), loc.getUNCPath());
                if (dr != null) {
                    if (log.isDebugEnabled()) {
                        log.debug("Resolved " + rfullpath + " -> " + dr);
                    }
    
                    final String dunc = loc.handleDFSReferral(dr, rpath);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 30.4K bytes
    - Click Count (1)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java

                    return actual.toString();
                }
    
                @Override
                public Source resolve(String relative) {
                    return Sources.buildSource(actual.resolve(relative));
                }
    
                @Override
                public ModelSource resolve(ModelLocator modelLocator, String relative) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 04 19:49:40 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainImpl.java

            Path bin = installDir.resolve("bin"); // NOI18N
            if (Files.isDirectory(bin)) {
                if (Os.IS_WINDOWS) {
                    Path tool = bin.resolve(toolName + ".exe");
                    if (Files.exists(tool)) {
                        return tool;
                    }
                }
                Path tool = bin.resolve(toolName);
                if (Files.exists(tool)) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/DfsImplTest.java

            assertNull(dfsImpl.getDc(mockContext, "anydomain.com"));
        }
    
        // Tests for resolve
        @Test
        void testResolve_DfsDisabled() throws SmbAuthException {
            // Scenario: DFS is disabled.
            when(mockConfig.isDfsDisabled()).thenReturn(true);
            assertNull(dfsImpl.resolve(mockContext, "domain", "root", "/path"));
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

            // Test that Files.createDirectories works correctly for nested paths
            Path tempDir = Files.createTempDirectory("toctou_test");
            try {
                Path nestedPath = tempDir.resolve("level1").resolve("level2").resolve("level3");
                assertFalse(Files.exists(nestedPath));
    
                Files.createDirectories(nestedPath);
    
                assertTrue(Files.exists(nestedPath));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  10. docs/en/docs/js/custom.js

        const imagePromises = Array.from(sponsorImages).map(img => {
            return new Promise((resolve, reject) => {
                if (img.complete && img.naturalHeight !== 0) {
                    resolve();
                } else {
                    img.addEventListener('load', () => {
                        if (img.naturalHeight !== 0) {
                            resolve();
                        } else {
                            reject();
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 17:59:48 GMT 2026
    - 7.7K bytes
    - Click Count (2)
Back to Top