- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 389 for Uses (0.02 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java
for (E element : collection) { // uses iterator() iteratorElements.add(element); } assertEqualIgnoringOrder(asList(createSamplesArray()), iteratorElements); } @CollectionFeature.Require(KNOWN_ORDER) public void testIterationOrdering() { List<E> iteratorElements = new ArrayList<>(); for (E element : collection) { // uses iterator() iteratorElements.add(element); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java
return new ResolvedPathSource(requireNonNull(path, "path"), location); } /** * Basic implementation of {@link Source} that uses a {@link Path} as the underlying source. */ static class PathSource implements Source { @Nonnull protected final Path path; @Nonnull protected final String location;
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 8K bytes - Viewed (0) -
.github/workflows/stale.yml
# specific language governing permissions and limitations # under the License. name: Stale on: schedule: - cron: '29 3 * * *' issue_comment: types: [ 'created' ] jobs: stale:
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sat Feb 15 15:39:54 UTC 2025 - 976 bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/StatusLine.kt
} } else if (statusLine.startsWith("ICY ")) { // Shoutcast uses ICY instead of "HTTP/1.0". protocol = Protocol.HTTP_1_0 codeStart = 4 } else if (statusLine.startsWith("SOURCETABLE ")) { // NTRIP r1 uses SOURCETABLE instead of HTTP/1.1 protocol = Protocol.HTTP_1_1 codeStart = 12 } else {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java
// Test that stack trace is not writable when using message-only constructor ThumbnailGenerationException exception = new ThumbnailGenerationException("Test message"); // The message-only constructor uses super(message, false, false) which disables stack trace assertEquals(0, exception.getStackTrace().length); } public void test_stackTraceForMessageAndCauseConstructor() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
// timeout is small we shouldn't park(). This needs to be traded off with the cpu overhead of // spinning, so we use SPIN_THRESHOLD_NANOS which is what AbstractQueuedSynchronizer uses for // similar purposes. // * We want to behave reasonably for timeouts of 0 // * We are more responsive to completion than timeouts. This is because parkNanos depends on
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 33.2K bytes - Viewed (0) -
.github/workflows/release-drafter.yml
# under the License. name: Release Drafter on: push: branches: - master workflow_dispatch: jobs: update_release_draft:
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:30:05 UTC 2025 - 993 bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/internal/IsProbablyUtf8.kt
* limitations under the License. */ package okhttp3.logging.internal import java.io.EOFException import okio.Buffer /** * Returns true if the body in question probably contains human readable text. Uses a small * sample of code points to detect unicode control characters commonly used in binary file * signatures. */ fun Buffer.isProbablyUtf8(): Boolean { try { val prefix = Buffer()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Jan 07 16:05:34 UTC 2024 - 1.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java
// Utility class - prevent instantiation } private static final Logger log = LoggerFactory.getLogger(SmbFileDirectoryLeasingExtension.class); /** * Enhanced listFiles method that uses directory leasing for caching when available * * @param smbFile the SmbFile directory to list * @return array of SmbFile objects representing the directory contents * @throws SmbException if an error occurs
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 7.1K bytes - Viewed (0) -
okhttp-coroutines/README.md
call.executeAsync().use { response -> withContext(Dispatchers.IO) { println(response.body?.string()) } } ``` This is implemented using `suspendCancellableCoroutine` but uses the standard Dispatcher in OkHttp. This means that by default Kotlin's Dispatchers are not used. Cancellation if implemented sensibly in both directions. Cancelling a coroutine scope, will cancel the call.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Nov 09 15:47:27 UTC 2023 - 609 bytes - Viewed (0)