- Sort Score
- Num 10 results
- Language All
Results 771 - 780 of 1,085 for Ensure (0.13 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java
} // Make sure (whatever extra priority is set) that resolver file/apache is selected configProps.put(FILE_TRANSPORTER_PRIORITY_KEY, RESOLVER_MAX_PRIORITY); configProps.put(APACHE_HTTP_TRANSPORTER_PRIORITY_KEY, RESOLVER_MAX_PRIORITY); } else if (MAVEN_RESOLVER_TRANSPORT_WAGON.equals(transport)) { // Make sure (whatever extra priority is set) that wagon is selectedCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Mar 19 13:42:58 GMT 2026 - 25.8K bytes - Click Count (0) -
mockwebserver/src/test/java/mockwebserver3/CustomDispatcherTest.kt
mockWebServer.dispatcher = dispatcher val url = mockWebServer.url("/").toUrl() val conn = url.openConnection() as HttpURLConnection conn.responseCode // Force the connection to hit the "server". // Make sure our dispatcher got the request. assertThat(requestsMade.size).isEqualTo(1) } @Test fun outOfOrderResponses() { val firstResponseCode = AtomicInteger() val secondResponseCode = AtomicInteger()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 3.2K bytes - Click Count (1) -
android/guava/src/com/google/common/collect/Hashing.java
// Get the recommended table size. // Round down to the nearest power of 2. expectedEntries = max(expectedEntries, 2); int tableSize = Integer.highestOneBit(expectedEntries); // Check to make sure that we will not exceed the maximum load factor. if (expectedEntries > (int) (loadFactor * tableSize)) { tableSize <<= 1; return (tableSize > 0) ? tableSize : MAX_TABLE_SIZE; } return tableSize; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MapMakerTest.java
private final CountDownLatch delayLatch; DelayingIdentityLoader(CountDownLatch delayLatch) { this.delayLatch = delayLatch; } @CanIgnoreReturnValue // Sure, why not? @Override public T apply(T key) { awaitUninterruptibly(delayLatch); return key; } } /*Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt
override fun writeTo(sink: BufferedSink) { writeOrCountBytes(sink, false) } /** * Either writes this request to [sink] or measures its content length. We have one method do * double-duty to make sure the counting and content are consistent, particularly when it comes * to awkward operations like measuring the encoded length of header strings, or the * length-in-digits of an encoded integer. */
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 10.9K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CleanArgument.java
continue; } // if we haven't added this arg to the buffer, and we ARE building an argument // buffer, then append it with a preceding space...again, not sure what else to // do other than collapse whitespace. // NOTE: The case of a trailing quote is handled by nullifying the arg buffer. if (!addedToBuffer) { if (currentArg != null) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 28 12:11:25 GMT 2025 - 3.4K bytes - Click Count (0) -
docs/en/docs/tutorial/testing.md
With it, you can use [pytest](https://docs.pytest.org/) directly with **FastAPI**. ## Using `TestClient` { #using-testclient } /// info To use `TestClient`, first install [`httpx`](https://www.python-httpx.org). Make sure you create a [virtual environment](../virtual-environments.md), activate it, and then install it, for example: ```console $ pip install httpx ``` /// Import `TestClient`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5.7K bytes - Click Count (0) -
docs/throttle/README.md
Example: Limit a MinIO cluster to accept at max 1600 simultaneous S3 API requests across all nodes of the cluster. ```sh export MINIO_API_REQUESTS_MAX=1600
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 16 08:43:49 GMT 2024 - 1.5K bytes - Click Count (1) -
docker-buildx.sh
#!/bin/bash set -ex function _init() { ## All binaries are static make sure to disable CGO. export CGO_ENABLED=0 export CRED_DIR="/media/${USER}/minio" ## List of architectures and OS to test coss compilation. SUPPORTED_OSARCH="linux/ppc64le linux/amd64 linux/arm64" remote=$(git remote get-url upstream) if test "$remote" != "******@****.***:minio/minio.git"; then
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Oct 19 08:22:05 GMT 2025 - 1.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
when(handle.getFid()).thenReturn(fid); when(tree.send(any(CommonServerMessageBlockRequest.class), any(), any(), any())).thenReturn(resp); } // Ensures watch() fails fast if the underlying handle is invalid @Test @DisplayName("watch() throws when handle invalid") void watch_invalidHandle_throwsSmbException() throws Exception {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0)