- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for contentCached (0.21 sec)
-
platforms/software/resources/src/test/groovy/org/gradle/internal/resource/StringTextResourceTest.groovy
resource.exists !resource.hasEmptyContent resource.contentCached } def emptyStringResourceHasEmptyContent() { expect: def resource = new StringTextResource('displayname', '') resource.text == '' resource.exists resource.hasEmptyContent resource.contentCached } def resourceHasNoIdentity() { expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/io/ContentCache.java
import java.util.logging.Logger; public class ContentCache implements Closeable { protected static final Logger logger = Logger.getLogger(ContentCache.class.getName()); private final byte[] data; private final File file; public ContentCache(final byte[] data) { this.data = data; this.file = null; } public ContentCache(final File file) { this.data = null;
Registered: Wed Jun 12 08:29:43 UTC 2024 - Last Modified: Mon Nov 14 21:05:19 UTC 2022 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlResponse.java
import java.util.List; import java.util.Locale; import java.util.Map; import java.util.function.Function; import org.codelibs.curl.io.ContentCache; public class CurlResponse implements Closeable { private int httpStatusCode; private ContentCache contentCache; private String encoding; private Exception contentException; private Map<String, List<String>> headers; @Override
Registered: Wed Jun 12 08:29:43 UTC 2024 - Last Modified: Mon Nov 14 21:05:19 UTC 2022 - 4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/cache/internal/DefaultFileContentCacheFactory.java
private final IndexedCache<HashCode, V> contentCache; private final Calculator<? extends V> calculator; DefaultFileContentCache(String name, FileSystemAccess fileSystemAccess, IndexedCache<HashCode, V> contentCache, Calculator<? extends V> calculator) { this.name = name; this.fileSystemAccess = fileSystemAccess; this.contentCache = contentCache; this.calculator = calculator;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 10 15:51:31 UTC 2024 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
} dfos.flush(); final ContentCache contentCache; logger.fine(() -> "Response in " + (dfos.isInMemory() ? "Memory" : "File")); if (dfos.isInMemory()) { contentCache = new ContentCache(dfos.getData()); } else { contentCache = new ContentCache(dfos.getFile()); }
Registered: Wed Jun 12 08:29:43 UTC 2024 - Last Modified: Sun Feb 12 12:21:25 UTC 2023 - 12.3K bytes - Viewed (0)