- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 116 for adopted (0.08 sec)
-
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt
@FromJson fun byteStringFromJson(json: String) = json.decodeHex() }, ) .add(KotlinJsonAdapterFactory()) .build() private val STORY_JSON_ADAPTER = MOSHI.adapter(Story::class.java) private val fileSystem = FileSystem.SYSTEM private fun readStory(source: BufferedSource): Story { return STORY_JSON_ADAPTER.fromJson(source)!! }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.3K bytes - Viewed (0) -
samples/simple-client/src/main/java/okhttp3/sample/OkHttpContributors.java
private static final Moshi MOSHI = new Moshi.Builder().build(); private static final JsonAdapter<List<Contributor>> CONTRIBUTORS_JSON_ADAPTER = MOSHI.adapter( Types.newParameterizedType(List.class, Contributor.class)); static class Contributor { String login; int contributions; } public static void main(String... args) throws Exception {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 2.2K bytes - Viewed (0) -
cmd/object_api_suite_test.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 02 15:13:05 UTC 2024 - 33.3K bytes - Viewed (0) -
docs/changelogs/changelog_1x.md
* Fix a bug in `Content-Length` reporting for gzipped streams in the Apache HTTP client adapter. (thanks kwuollett) * Work around the Alcatel `getByInetAddress` bug (thanks k.kocel) * Be more aggressive about testing pooled sockets before reuse. (thanks warpspin) * Include `Content-Type` and `Content-Encoding` in the Apache HTTP client adapter. (thanks kwuollett) * Add a media type class to OkHttp. * Change custom header prefix:
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 6.4K bytes - Viewed (0) -
.github/workflows/maven.yml
os: [ubuntu-latest, windows-latest] steps: - uses: actions/checkout@v2 - name: Set up JDK 11 uses: actions/setup-java@v2 with: java-version: '11' distribution: 'adopt' - name: Build with Maven
Registered: Thu Oct 31 02:32:13 UTC 2024 - Last Modified: Sat Feb 19 00:40:24 UTC 2022 - 675 bytes - Viewed (0) -
guava/src/com/google/common/hash/ChecksumHashFunction.java
import java.lang.reflect.UndeclaredThrowableException; import java.nio.ByteBuffer; import java.util.zip.Checksum; import org.checkerframework.checker.nullness.qual.Nullable; /** * {@link HashFunction} adapter for {@link Checksum} instances. * * @author Colin Decker */ @Immutable @ElementTypesAreNonnullByDefault final class ChecksumHashFunction extends AbstractHashFunction implements Serializable {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:05:16 UTC 2024 - 4.6K bytes - Viewed (0) -
CREDITS
No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 26 15:03:08 UTC 2024 - 1.6M bytes - Viewed (0) -
guava/src/com/google/common/hash/MessageDigestHashFunction.java
import java.io.Serializable; import java.nio.ByteBuffer; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.Arrays; /** * {@link HashFunction} adapter for {@link MessageDigest} instances. * * @author Kevin Bourrillion * @author Dimitris Andreou */ @Immutable @ElementTypesAreNonnullByDefault
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 25 20:32:46 UTC 2022 - 5K bytes - Viewed (0) -
internal/dsync/drwmutex_test.go
expected := false if locked != expected { t.Errorf("TestDualWriteLockTimedOut(): \nexpected %#v\ngot %#v", expected, locked) } } // Test cases below are copied 1 to 1 from sync/rwmutex_test.go (adapted to use DRWMutex) // Borrowed from rwmutex_test.go func parallelReader(ctx context.Context, m *DRWMutex, clocked, cunlock, cdone chan bool) { if m.GetRLock(ctx, nil, id, source, Options{Timeout: time.Second}) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 24 03:49:07 UTC 2022 - 9.7K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/RequestBodyCompression.java
.addInterceptor(new GzipRequestInterceptor()) .build(); private final Moshi moshi = new Moshi.Builder().build(); private final JsonAdapter<Map<String, String>> mapJsonAdapter = moshi.adapter( Types.newParameterizedType(Map.class, String.class, String.class)); public void run() throws Exception { Map<String, String> requestBody = new LinkedHashMap<>();
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat May 25 18:02:55 UTC 2019 - 3.8K bytes - Viewed (0)