- Sort Score
- Num 10 results
- Language All
Results 1051 - 1060 of 1,590 for EXAMPLE (0.54 seconds)
-
src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java
// Test with normal URLs String parentUrl = "http://example.com/parent"; String url = "http://example.com/child"; ContentNotFoundException exception = new ContentNotFoundException(parentUrl, url); assertNotNull(exception); assertEquals("Not Found: http://example.com/child Parent: http://example.com/parent", exception.getMessage()); assertNull(exception.getCause()); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.9K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java
* <code>'t'</code>.</p> * * <p>The only difference between Java strings and JavaScript strings * is that in JavaScript, a single quote must be escaped.</p> * * <p>Example:</p> * <pre> * input string: He didn't say, "Stop!" * output string: He didn't say, \"Stop!\" * </pre> * * * @param str String to escape values in, may be null
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 38.4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java
* <code>'t'</code>.</p> * * <p>The only difference between Java strings and JavaScript strings * is that in JavaScript, a single quote must be escaped.</p> * * <p>Example:</p> * <pre> * input string: He didn't say, "Stop!" * output string: He didn't say, \"Stop!\" * </pre> * * * @param str String to escape values in, may be null
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 09:03:48 GMT 2025 - 38.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt
@Test fun curlGet() { val request = Request .Builder() .url("https://example.com") .header("Authorization", "Bearer abc123") .build() val curl = request.toCurl() assertThat(curl) .isEqualTo( """ |curl 'https://example.com/' \ | -H 'Authorization: Bearer abc123' """.trimMargin(), ) } @Test
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 24.6K bytes - Click Count (0) -
tests/test_tutorial/test_body_nested_models/test_tutorial008.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 6K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractJavaNullabilityChangesTest.kt
""" ) { assertHasErrors( "Field nonFinalField: Nullability breaking change.", "Method com.example.Source.foo(java.lang.String): Parameter 0 from null accepting to non-null accepting breaking change.", "Constructor com.example.Source(java.lang.String): Parameter 0 from null accepting to non-null accepting breaking change." ) assertHasNoWarning()Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Feb 04 09:55:47 GMT 2025 - 5.1K bytes - Click Count (0) -
tests/test_tutorial/test_body_nested_models/test_tutorial006.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 9.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
* add configuration to the derived client for a specific purpose. * * This example shows the single instance with default configurations. * * ```java * public final OkHttpClient client = new OkHttpClient.Builder() * .readTimeout(1000, TimeUnit.MILLISECONDS) * .writeTimeout(1000, TimeUnit.MILLISECONDS) * .build(); * ``` * * This example shows a call with a short 500 millisecond read timeout and a 1000 millisecond
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 51.5K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinModifiersChangeTest.kt
assertHasErrors( "Method com.example.Source.plus(java.lang.String,java.util.List): Breaking Kotlin modifier change.", "Method com.example.Source.plus(int,java.util.List): Breaking Kotlin modifier change.", "Method com.example.SourceKt.invoke(java.lang.String,int): Breaking Kotlin modifier change.", "Method com.example.SourceKt.invoke(long,int): Breaking Kotlin modifier change.",
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 2.6K bytes - Click Count (0) -
okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt
@Test fun simple() { val request = fromArgs("http://example.com").createRequest() assertThat(request.method).isEqualTo("GET") assertThat(request.url.toString()).isEqualTo("http://example.com/") assertThat(request.body).isNull() } @Test @Throws(IOException::class) fun put() { val request = fromArgs("-X", "PUT", "-d", "foo", "http://example.com").createRequest() assertThat(request.method).isEqualTo("PUT")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.3K bytes - Click Count (0)