- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 143 for val3 (0.01 sec)
-
tests/lru_test.go
lc.Add(fmt.Sprintf("key-%d", i/10), fmt.Sprintf("val-%d", i/10)) wg.Done() }(i) } wg.Wait() if lc.Len() != 100 { t.Fatalf("length differs from expected") } } func TestLRUInvalidateAndEvict(t *testing.T) { var evicted int lc := lru.NewLRU(-1, func(_, _ string) { evicted++ }, 0) lc.Add("key1", "val1") lc.Add("key2", "val2") val, ok := lc.Get("key1") if !ok {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Sep 08 09:19:22 UTC 2025 - 10.4K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java
pw.println(""); pw.println("# A value comment"); pw.println("key1 = val1"); pw.println(""); pw.println("# Another value comment"); pw.println("key2 = ${key1}/foo"); pw.println(""); pw.println("# A third comment"); pw.println("key3 = val3"); pw.println(""); MavenProperties props = new MavenProperties();
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Oct 16 06:12:36 UTC 2025 - 16.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java
*/ protected DcerpcHandle() { // Default constructor } /* Bindings are in the form: * proto:\\server[key1=val1,key2=val2] * or * proto:server[key1=val1,key2=val2] * or * proto:[key1=val1,key2=val2] * * If a key is absent it is assumed to be 'endpoint'. Thus the * following are equivalent: * proto:\\ts0.win.net[endpoint=\pipe\srvsvc]Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcHandle.java
*/ public abstract class DcerpcHandle implements DcerpcConstants, AutoCloseable { /* * Bindings are in the form: * proto:\\server[key1=val1,key2=val2] * or * proto:server[key1=val1,key2=val2] * or * proto:[key1=val1,key2=val2] * * If a key is absent it is assumed to be 'endpoint'. Thus the * following are equivalent: * proto:\\ts0.win.net[endpoint=\pipe\srvsvc]Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.9K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
override fun intercept(chain: Interceptor.Chain): Response { val level = this.level val request = chain.request() if (level == Level.NONE) { return chain.proceed(request) } val logBody = level == Level.BODY val logHeaders = logBody || level == Level.HEADERS val requestBody = request.body val connection = chain.connection() var requestStartMessage =
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Nov 07 02:57:33 UTC 2025 - 11.5K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java
} for (int i = 1; i < valueLines.size(); i++) { String val = valueLines.get(i); valueLines.set(i, typed ? val : escapeJava(val) /*+ (i < lastLine? "\\": "")*/); while (!val.isEmpty() && Character.isWhitespace(val.charAt(0))) { val = val.substring(1); } sb.append(val); } String[] property = PropertiesReader.parseProperty(sb.toString());Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Oct 16 09:03:48 UTC 2025 - 38.5K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java
} for (int i = 1; i < valueLines.size(); i++) { String val = valueLines.get(i); valueLines.set(i, typed ? val : escapeJava(val) /*+ (i < lastLine? "\\": "")*/); while (!val.isEmpty() && Character.isWhitespace(val.charAt(0))) { val = val.substring(1); } sb.append(val); } String[] property = PropertiesReader.parseProperty(sb.toString());Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 38.4K bytes - Viewed (0) -
docs/changelogs/upgrading_to_okhttp_4.md
with OkHttp 3.x: must use `object :` with OkHttp 4.x: Kotlin calling OkHttp 3.x: ```kotlin val client = OkHttpClient.Builder() .dns { hostname -> InetAddress.getAllByName(hostname).toList() } .build() ``` Kotlin calling OkHttp 4.x: ```kotlin val client = OkHttpClient.Builder() .dns(object : Dns { override fun lookup(hostname: String) =
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 16:58:16 UTC 2022 - 10.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed May 28 02:11:14 UTC 2025 - 15.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt
val cookieManager = CookieManager(null, CookiePolicy.ACCEPT_ORIGINAL_SERVER) val cookieJar = JavaNetCookieJar(cookieManager) val url1 = "https://api.squareup.com/".toHttpUrl() cookieJar.saveFromResponse(url1, listOf(parse(url1, "a=android; Domain=api.squareup.com")!!)) val url2 = "https://www.squareup.com/".toHttpUrl() val actualCookies = cookieJar.loadForRequest(url2)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 13K bytes - Viewed (0)