- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 1,609 for samme (0.02 seconds)
-
okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt
response("https://example.com/", EMPTY) { header("Content-Encoding", "zstd") code(204) message("NO CONTENT") } val same = zstdInterceptor.decompress(response) val responseString = same.body.string() assertThat(responseString).isEmpty() } private fun ByteString.zstdCompress(): ByteString { val result = Buffer()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Aug 01 06:04:22 GMT 2025 - 4.8K bytes - Click Count (1) -
android/guava/src/com/google/common/primitives/Ints.java
* Calling this method is as thread-safe as calling that method. * * @param collection a collection of {@code Number} instances * @return an array containing the same values as {@code collection}, in the same order, converted * to primitives * @throws NullPointerException if {@code collection} or any of its elements is null * @since 1.0 (parameter was {@code Collection<Integer>} before 12.0) */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 31.3K bytes - Click Count (0) -
docs/en/docs/advanced/testing-websockets.md
# Testing WebSockets { #testing-websockets } You can use the same `TestClient` to test WebSockets. For this, you use the `TestClient` in a `with` statement, connecting to the WebSocket: {* ../../docs_src/app_testing/tutorial002_py310.py hl[27:31] *} /// note For more details, check Starlette's documentation for [testing WebSockets](https://www.starlette.dev/testclient/#testing-websocket-sessions).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 411 bytes - Click Count (0) -
fastapi/routing.py
should have all the fields, including the ones that have the same value as the default. This is different from `response_model_exclude_unset` in that if the fields are set but contain the same default values, they will be excluded from the response.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 193K bytes - Click Count (0) -
mockwebserver/README.md
server to create representative test cases. Or test that your code survives in awkward-to-reproduce situations like 500 errors or slow-loading responses. ### Example Use MockWebServer the same way that you use mocking frameworks like [Mockito](https://github.com/mockito/mockito): 1. Script the mocks. 2. Run application code. 3. Verify that the expected requests were made. Here's a complete example:
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Oct 30 21:39:59 GMT 2025 - 8.1K bytes - Click Count (0) -
android/guava/src/com/google/common/base/MoreObjects.java
* again and get a more complete representation of the same object; but properties cannot be * removed, so this only allows limited reuse of the helper instance. The helper allows * duplication of properties (multiple name/value pairs with the same name can be added). */ @Override public String toString() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 05 17:38:41 GMT 2026 - 16.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableMap.java
} /** * Creates an ImmutableMap from the first n entries in entryArray. This implementation may replace * the entries in entryArray with its own entry objects (though they will have the same key/value * contents), and may take ownership of entryArray. */ static <K, V> ImmutableMap<K, V> fromEntryArray( int n, @Nullable Entry<K, V>[] entryArray, boolean throwIfDuplicateKeys) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 15.7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Request.java
* {@link #equals(Object)}, they have the same hashcode. * * @return a hash code value for this request */ @Override int hashCode(); /** * Returns {@code true} if the specified object is equal to this request. * Two requests are considered equal if they have the same type and all * significant fields are equal. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 4K bytes - Click Count (0) -
cmd/service.go
var GlobalContext, cancelGlobalContext = context.WithCancel(context.Background()) // restartProcess starts a new process passing it the active fd's. It // doesn't fork, but starts a new process using the same environment and // arguments as when it was originally started. This allows for a newly // deployed binary to be started. It returns the pid of the newly started // process when successful. func restartProcess() error {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Feb 28 07:02:14 GMT 2024 - 3.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java
*/ @CanIgnoreReturnValue @Override public SortedSet<V> removeAll(@Nullable Object key) { return (SortedSet<V>) super.removeAll(key); } /** * Stores a collection of values with the same key, replacing any existing values for that key. * The returned collection is immutable. * * <p>Because a {@code SortedSetMultimap} has unique sorted values for a given key, this method
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 20 13:05:10 GMT 2025 - 5.5K bytes - Click Count (0)