- Sort Score
- Num 10 results
- Language All
Results 831 - 840 of 1,182 for helper (0.03 seconds)
-
mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt
assertThat(request.url.toString()).isEqualTo("http://127.0.0.1/") } @Test fun testHostname() { val headers = headersOf("Host", "host-from-header.com") val socket = MockWebServerSocket( FakeSocket( localAddress = InetAddress.getByAddress( "host-from-address.com",
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Aug 02 20:36:00 GMT 2025 - 5.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ForwardingSortedMapTest.java
* limitations under the License. */ package com.google.common.collect; import com.google.common.base.Function; import com.google.common.collect.testing.Helpers.NullsBeforeTwo; import com.google.common.collect.testing.SafeTreeMap; import com.google.common.collect.testing.SortedMapTestSuiteBuilder; import com.google.common.collect.testing.TestStringSortedMapGenerator;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 7.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java
import static com.google.common.collect.Maps.toImmutableEnumMap; import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows; import static com.google.common.collect.testing.Helpers.mapEntry; import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_QUERIES; import static com.google.common.collect.testing.features.CollectionFeature.SERIALIZABLE;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 6.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
return millis.toInt() } internal fun List<Header>.toHeaders(): Headers { val builder = Headers.Builder() for ((name, value) in this) { builder.addLenient(name.utf8(), value.utf8()) } return builder.build() } internal fun Headers.toHeaderList(): List<Header> = (0 until size).map { Header(name(it), value(it)) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 10.3K bytes - Click Count (1) -
guava-tests/test/com/google/common/primitives/BytesTest.java
import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.collect.testing.Helpers; import com.google.common.testing.NullPointerTester; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.List; import junit.framework.TestCase;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 17.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt
*/ @Test fun `reading a large part with small byteCount`() { val multipartBody = MultipartBody .Builder("foo") .addPart( headersOf("header-name", "header-value"), object : RequestBody() { override fun contentType() = "application/octet-stream".toMediaTypeOrNull() override fun contentLength() = 1024L * 1024L * 100LCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed May 28 02:11:14 GMT 2025 - 15.4K bytes - Click Count (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt
} return apply { status = "HTTP/1.1 $code $reason" } } fun clearHeaders() = apply { headersBuilder = Headers.Builder() } fun addHeader(header: String) = apply { headersBuilder.add(header) } fun addHeader( name: String, value: Any, ) = apply { headersBuilder.add(name, value.toString()) } fun addHeaderLenient(Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 7.1K bytes - Click Count (1) -
src/test/java/org/codelibs/fess/crawler/interval/FessIntervalControllerTest.java
FessIntervalController controller = new FessIntervalController(); controller.setDelayMillisForWaitingNewUrl(0L); // Set to 0 to avoid actual delay // This should not throw any exceptions even if helpers are not available try { // Note: In unit test environment, ComponentUtil may not be fully initialized // The improved error handling should catch and log any exceptions
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 6.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java
* limitations under the License. */ package com.google.common.collect.testing.google; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.collect.testing.Helpers.mapEntry; import static java.util.Arrays.asList; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.ImmutableSortedMap; import com.google.common.collect.Ordering;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 4.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect.testing; import static com.google.common.collect.testing.Helpers.mapEntry; import com.google.common.annotations.GwtCompatible; import java.util.Arrays; import java.util.Iterator; import java.util.List; import java.util.Map.Entry; import org.jspecify.annotations.NullMarked;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 4.2K bytes - Click Count (0)