- Sort Score
- Num 10 results
- Language All
Results 501 - 510 of 692 for acceptX (0.24 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
Request .Builder() .url(server.url("/")) .header("Accept-Encoding", "custom") .build(), ) assertThat(readAscii(response.body.byteStream(), Int.MAX_VALUE)).isEqualTo("ABCDE") val request = server.takeRequest() assertThat(request.headers["Accept-Encoding"]).isEqualTo("custom") } /**Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Jun 21 20:36:35 GMT 2025 - 133.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
* <p> * <strong>SECURITY NOTE:</strong> When accepting file paths from untrusted sources, * always validate them using {@link #isPathSafe(Path, Path)} to prevent path traversal attacks. * Methods that accept path strings do not perform automatic validation to maintain backward compatibility. * </p> * * @author higa */ public abstract class FileUtil { /** * Do not instantiate. */
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 13.1K bytes - Click Count (0) -
android/guava/src/com/google/common/net/UrlEscapers.java
* href="https://url.spec.whatwg.org/#syntax-url-path-segment">URL path segments</a>. The returned * escaper escapes all non-ASCII characters, even though <a * href="https://url.spec.whatwg.org/#url-code-points">many of these are accepted in modern * URLs</a>. (<a href="https://url.spec.whatwg.org/#path-state">If the escaper were to leave these * characters unescaped, they would be escaped by the consumer at parse time, anyway.</a>)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 7.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
// throws it, unlike the JDK. Therefore, we accept ClassCastException as a // valid result thrown by java.util.TreeSet#equals. private static void assertNotEqualLenient(TreeSet<?> unexpected, SortedSet<?> actual) { try { assertThat(actual).isNotEqualTo(unexpected); } catch (ClassCastException accepted) { } } public void testHeadSetInclusive() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 46.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
val denied = server.takeRequest() assertThat(denied.headers["Authorization"]).isNull() val accepted = server.takeRequest() assertThat(accepted.requestLine).isEqualTo("GET / HTTP/2") assertThat(accepted.headers["Authorization"]).isEqualTo(credential) } @Test fun redirect() { server.enqueue( MockResponse(
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Nov 01 12:18:11 GMT 2025 - 67.4K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/HashCode.java
* Creates a {@code HashCode} from a hexadecimal ({@code base 16}) encoded string. The string must * be at least 2 characters long, and contain only valid, lower-cased hexadecimal characters. * * <p>This method accepts the exact format generated by {@link #toString}. If you require more * lenient {@code base 16} decoding, please use {@link com.google.common.io.BaseEncoding#decode} * (and pass the result to {@link #fromBytes}). *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 12.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/user/bsbhv/BsUserBhv.java
return doSelectEntity(xprepareCBAsPK(id), tp); } protected UserCB xprepareCBAsPK(String id) { assertObjectNotNull("id", id); return newConditionBean().acceptPK(id); } protected <ENTITY extends User> OptionalEntity<ENTITY> doSelectOptionalByPK(String id, Class<? extends ENTITY> tp) { return createOptionalEntity(doSelectByPK(id, tp), id); }
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 12K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
} value = (value * radix) + digit; } return value; } /** * Returns the unsigned {@code long} value represented by the given string. * * <p>Accepts a decimal, hexadecimal, or octal number given by specifying the following prefix: * * <ul> * <li>{@code 0x}<i>HexDigits</i> * <li>{@code 0X}<i>HexDigits</i> * <li>{@code #}<i>HexDigits</i>Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 17.8K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheStats.java
* * <p>Five parameters of the same type in a row is a bad thing, but this class is not constructed * by end users and is too fine-grained for a builder. */ @SuppressWarnings("GoodTime") // should accept a java.time.Duration public CacheStats( long hitCount, long missCount, long loadSuccessCount, long loadExceptionCount, long totalLoadTime, long evictionCount) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 12.6K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheStats.java
* * <p>Five parameters of the same type in a row is a bad thing, but this class is not constructed * by end users and is too fine-grained for a builder. */ @SuppressWarnings("GoodTime") // should accept a java.time.Duration public CacheStats( long hitCount, long missCount, long loadSuccessCount, long loadExceptionCount, long totalLoadTime, long evictionCount) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 12.6K bytes - Click Count (0)