Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 137 for getResource (0.06 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

            cache[key] ?: return null
          } catch (_: IOException) {
            return null // Give up because the cache cannot be read.
          }
    
        val entry: Entry =
          try {
            Entry(snapshot.getSource(ENTRY_METADATA))
          } catch (_: IOException) {
            snapshot.closeQuietly()
            return null
          }
    
        val response = entry.response(snapshot)
        if (!entry.matches(request, response)) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 17:41:45 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

            tasks.register("checkstyleApi", Checkstyle.class, task -> {
                task.source(extension.getDocumentedSource());
                // TODO: This is ugly
                task.setConfig(project.getResources().getText().fromFile(checkstyle.getConfigDirectory().file("checkstyle-api.xml")));
                task.setClasspath(layout.files());
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 02 14:18:24 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                        .filter(p -> p.getLocation("version") != null
                                && p.getLocation("version").getSource() != null
                                && defaulModelId.equals(
                                        p.getLocation("version").getSource().getModelId()))
                        .distinct()
                        .map(Plugin::getArtifactId) // managed by us, groupId is always o.a.m.plugins
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 55.1K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

                return null;
            }
    
            List<MetadataGraphEdge> res = new ArrayList<>(edges.size());
    
            for (MetadataGraphEdge e : edges) {
                if (e.getSource().equals(vFrom)) {
                    res.add(e);
                }
            }
    
            return res;
        }
        // ------------------------------------------------------------------------
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. api/maven-api-toolchain/src/main/mdo/toolchains.mdo

          <codeSegments>
            <codeSegment>
              <version>1.2.0+</version>
              <code>
    
        @Override
        public String toString() {
            return getLineNumber() + " : " + getColumnNumber() + ", " + getSource();
        }
              </code>
            </codeSegment>
          </codeSegments>
        </class>
        <class sourceTracker="source">
          <name>InputSource</name>
          <version>1.2.0+</version>
          <fields>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun May 18 09:15:56 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

         */
        @Deprecated(since = "4.0.0")
        public List<Resource> getResources() {
            return getResources(ProjectScope.MAIN);
        }
    
        /**
         * @deprecated Replaced by {@code getEnabledSourceRoots(ProjectScope.TEST, Language.RESOURCES)}.
         */
        @Deprecated(since = "4.0.0")
        public List<Resource> getTestResources() {
            return getResources(ProjectScope.TEST);
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:47:20 UTC 2025
    - 67K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

            final String path = basePackage.replace('.', '/');
            final ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
            try {
                final Enumeration<java.net.URL> resources = classLoader.getResources(path);
    
                while (resources.hasMoreElements()) {
                    final java.net.URL resource = resources.nextElement();
                    logger.debug("Loading resource: url={}", resource);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Dec 12 13:58:40 UTC 2025
    - 12.4K bytes
    - Viewed (1)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

      fun removeAbsentElement() {
        cache.remove("a")
      }
    
      @Test
      fun readingTheSameStreamMultipleTimes() {
        set("a", "a", "b")
        val snapshot = cache["a"]!!
        assertThat(snapshot.getSource(0)).isSameAs(snapshot.getSource(0))
        snapshot.close()
      }
    
      @Test
      fun rebuildJournalOnRepeatedReads() {
        set("a", "a", "a")
        set("b", "b", "b")
        while (taskFaker.isIdle()) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 59.4K bytes
    - Viewed (0)
  9. cmd/ftp-server-driver.go

    			"login":  fmt.Sprintf("%t", s.Sess.IsLogin()),
    			"source": source,
    		},
    	}
    }
    
    func (m *ftpMetrics) log(s *ftp.Context, paths ...string) func(sz int64, err error) {
    	startTime := time.Now()
    	source := getSource(2)
    	return func(sz int64, err error) {
    		globalTrace.Publish(ftpTrace(s, startTime, source, strings.Join(paths, " "), err, sz))
    	}
    }
    
    // Stat implements ftpDriver
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

            }
    
            if (mojoDescriptor.isOnlineRequired() && session.isOffline()) {
                if (MojoExecution.Source.CLI.equals(mojoExecution.getSource())) {
                    Throwable cause = new IllegalStateException(
                            "Goal requires online mode for execution" + " but Maven is currently offline.");
                    throw new LifecycleExecutionException(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jun 12 14:55:55 UTC 2025
    - 21K bytes
    - Viewed (0)
Back to top