- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 392 for Apply (0.05 sec)
-
guava-tests/test/com/google/common/collect/InternersTest.java
Function<String, String> internerFunction = Interners.asFunction(Interners.<String>newStrongInterner()); assertSame(canonical, internerFunction.apply(canonical)); assertSame(canonical, internerFunction.apply(not)); } public void testNullPointerExceptions() { new NullPointerTester().testAllPublicStaticMethods(Interners.class); } public void testConcurrencyLevel_zero() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
C filtered = filter(createUnfiltered(contents), EVEN); try { assertEquals(expectedResult, filtered.add(toAdd)); assertTrue(EVEN.apply(toAdd)); } catch (IllegalArgumentException e) { assertFalse(EVEN.apply(toAdd)); } } } } public void testRemove() { for (List<Integer> contents : SAMPLE_INPUTS) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 13.1K bytes - Viewed (0) -
guava/src/com/google/common/net/UrlEscapers.java
* any unpaired carriage return or line feed characters with a CR+LF pair</a> on any non-file * inputs before escaping them with this escaper. * * <p>When escaping a String, the following rules apply: * * <ul> * <li>The alphanumeric characters "a" through "z", "A" through "Z" and "0" through "9" remain * the same. * <li>The special characters ".", "-", "*", and "_" remain the same.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 7.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/FormBody.kt
) { private val names = mutableListOf<String>() private val values = mutableListOf<String>() fun add( name: String, value: String, ) = apply { names += name.canonicalizeWithCharset( encodeSet = FORM_ENCODE_SET, // Plus is encoded as `%2B`, space is encoded as plus. plusIsSpace = false,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTesterJvm.kt
*/ fun escapeForUri(vararg codePoints: Int) = apply { uriEscapedCodePoints.append(String(*codePoints)) } /** * Configure code points to be stripped in conversion to `java.net.URI`. That class is more * strict than the others. */ fun stripForUri(vararg codePoints: Int) = apply { uriStrippedCodePoints.append(String(*codePoints)) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 5.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 23.1K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/daterangepicker/daterangepicker.js
// * if the time picker is enabled, apply the hour/minute/second from the select boxes to the clicked date // * if autoapply is enabled, and an end date was chosen, apply the selection // * if single date picker mode, and time picker isn't enabled, apply the selection immediately
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Oct 26 01:49:09 UTC 2024 - 64.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
apply { this.pushObserver = pushObserver } fun pingIntervalMillis(pingIntervalMillis: Int) = apply { this.pingIntervalMillis = pingIntervalMillis } fun flowControlListener(flowControlListener: FlowControlListener) = apply { this.flowControlListener = flowControlListener } fun build(): Http2Connection = Http2Connection(this) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 31.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt
*/ fun maxAge(maxAge: Duration) = apply { val maxAgeSeconds = maxAge.inWholeSeconds require(maxAgeSeconds >= 0) { "maxAge < 0: $maxAgeSeconds" } this.maxAgeSeconds = maxAgeSeconds.commonClampToInt() } fun maxStale(maxStale: Duration) = apply { val maxStaleSeconds = maxStale.inWholeSeconds
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 10K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/ForwardingLoadingCache.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.9K bytes - Viewed (0)