- Sort Score
- Result 10 results
- Languages All
Results 1881 - 1890 of 3,096 for objTest (0.06 sec)
-
samples/guide/src/main/java/okhttp3/recipes/kt/PostString.kt
) client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") println(response.body.string()) } } companion object { val MEDIA_TYPE_MARKDOWN = "text/x-markdown; charset=utf-8".toMediaType() } } fun main() { PostString().run()Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/OneSizeTestContainerGenerator.java
* TestCollectionGenerator}. * * @author George van den Driessche */ @GwtCompatible @NullMarked public interface OneSizeTestContainerGenerator<T, E extends @Nullable Object> extends TestSubjectGenerator<T>, TestContainerGenerator<T, E> { TestContainerGenerator<T, E> getInnerGenerator(); Collection<E> getSampleElements(int howMany); CollectionSize getCollectionSize();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.5K bytes - Viewed (0) -
cmd/os-readdir-common.go
// Copyright (c) 2015-2021 MinIO, Inc. // // This file is part of MinIO Object Storage stack // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jul 09 23:20:51 UTC 2021 - 1.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/SRuntimeExceptionTest.java
final ClRuntimeException ex = new ClRuntimeException("ECL0001", asArray("hoge")); assertThat(ex.getMessageCode(), is("ECL0001")); assertThat(ex.getArgs().length, is(1)); assertThat(ex.getArgs()[0], is((Object) "hoge")); System.out.println(ex.getMessage()); } /** * @throws Exception */ @Test public void testGetCause() throws Exception {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/JoinerTest.java
* mean, ideally we'd fix it....) Also, we specifically need a List so that we trigger the fast * path in join(Iterable). */ private static final class MisleadingSizeList<E extends @Nullable Object> extends ForwardingList<E> { final List<E> delegate; final int delta; MisleadingSizeList(List<E> delegate, int delta) { this.delegate = delegate; this.delta = delta; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SpnegoContext.java
private ASN1ObjectIdentifier[] remoteMechs; private final boolean disableMic; private boolean requireMic; /** * Instance a <code>SpnegoContext</code> object by wrapping a {@link SSPContext} * with the same mechanism this {@link SSPContext} used. * * @param source * the {@link SSPContext} to be wrapped */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/ReserializingTestSetGenerator.java
super(delegate); } public static <E> TestSetGenerator<E> newInstance(TestSetGenerator<E> delegate) { return new ReserializingTestSetGenerator<>(delegate); } @Override public Set<E> create(Object... elements) { return (Set<E>) super.create(elements); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Oct 01 17:18:04 UTC 2021 - 1.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapGetTester.java
import com.google.common.annotations.GwtCompatible; import com.google.common.collect.SortedSetMultimap; import org.junit.Ignore; /** * Tester for {@link SortedSetMultimap#get(Object)}. * * @author Louis Wasserman */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build")Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.3K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt
fun run() { val request = Request .Builder() .url("http://publicobject.com/helloworld.txt") .build() client.newCall(request).enqueue( object : Callback { override fun onFailure( call: Call, e: IOException, ) { e.printStackTrace() } override fun onResponse( call: Call,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacSidAttributesTest.java
class PacSidAttributesTest { private SID sidMock; private PacSidAttributes pacSidAttributes; private final int attributes = 12345; @BeforeEach void setUp() { // Mock the SID object sidMock = mock(SID.class); // Create a new PacSidAttributes instance before each test pacSidAttributes = new PacSidAttributes(sidMock, attributes); } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K bytes - Viewed (0)