- Sort Score
- Result 10 results
- Languages All
Results 2841 - 2850 of 4,820 for if (0.05 sec)
-
okhttp-osgi-tests/src/test/kotlin/okhttp3/osgi/OsgiTest.kt
} } private fun RepositoryPlugin.deployFile(file: Path) { if (fileSystem.metadataOrNull(file)?.isRegularFile != true) return try { fileSystem.read(file) { put(inputStream(), RepositoryPlugin.PutOptions()) println("Deployed ${file.name}") } } catch (e: IllegalArgumentException) { if ("Jar does not have a symbolic name" in e.message!!) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 5K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/SlackApi.java
@ToJson String urlToJson(HttpUrl httpUrl) { return httpUrl.toString(); } @FromJson HttpUrl urlFromJson(String urlString) { if (urlString.startsWith("wss:")) urlString = "https:" + urlString.substring(4); if (urlString.startsWith("ws:")) urlString = "http:" + urlString.substring(3); return HttpUrl.get(urlString); } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jul 06 19:30:55 UTC 2018 - 4.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ListeningExecutorService.java
* sequential order as produced by the iterator for the given task list. If the operation did * not time out, each task will have completed. If it did time out, some of these tasks will * not have completed. * @throws RejectedExecutionException {@inheritDoc} * @throws NullPointerException if any task is null */ @Override <T extends @Nullable Object> List<Future<T>> invokeAll(Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/DosErrorTest.java
class DosErrorTest { // Helper that performs a lookup over the constants exposed by DosError. // Returns -1 if the DOS code is not mapped. private static int findNtStatusOrMinusOne(int dosCode) { for (int[] pair : DosError.DOS_ERROR_CODES) { // each pair is [dosCode, ntStatus] if (pair != null && pair.length == 2 && pair[0] == dosCode) { return pair[1]; } }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RecordingExecutor.kt
private val dispatcherTest: DispatcherTest, ) : AbstractExecutorService() { private var shutdown: Boolean = false private val calls = mutableListOf<RealCall.AsyncCall>() override fun execute(command: Runnable) { if (shutdown) throw RejectedExecutionException() calls.add(command as RealCall.AsyncCall) } fun assertJobs(vararg expectedUrls: String) { val actualUrls = calls.map { it.request.url.toString() }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResult.java
* * @param t the Throwable to add */ public void addFailure(final Throwable t) { failures.add(t); } /** * Checks if there are any failures recorded. * * @return true if there is at least one failure, false otherwise */ public boolean hasFailure() { return !failures.isEmpty(); } /** * Returns the list of failures.Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 1.9K bytes - Viewed (0) -
cmd/api-errors.go
func (e errorCodeMap) ToAPIErrWithErr(errCode APIErrorCode, err error) APIError { apiErr, ok := e[errCode] if !ok { apiErr = e[ErrInternalError] } if err != nil { apiErr.Description = fmt.Sprintf("%s (%s)", apiErr.Description, err) } if region := globalSite.Region(); region != "" { if errCode == ErrAuthorizationHeaderMalformed {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 16 07:34:24 UTC 2025 - 93K bytes - Viewed (2) -
src/main/java/org/codelibs/fess/app/service/AccessTokenService.java
if (StringUtil.isNotBlank(token)) { return accessTokenBhv.selectEntity(cb -> { cb.query().setToken_Term(token); }).map(accessToken -> { final Set<String> permissionSet = new HashSet<>(); final Long expiredTime = accessToken.getExpiredTime(); if (expiredTime != null && expiredTime.longValue() > 0
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java
private Optional<BinaryNode> createTreap(List<Integer> keys) { if (keys.isEmpty()) { return Optional.absent(); } int minIndex = 0; for (int i = 1; i < keys.size(); i++) { if (keys.get(i) < keys.get(minIndex)) { minIndex = i; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/AndroidIncompatible.java
* continuing to run {@code FooTest} itself. This is exactly what happens with {@code * AndroidIncompatible}. But I'm not sure what would happen if we annotated the {@code * suite()} method with {@code Suppress}. Would {@code FooTest} itself be suppressed, too? * <li>In at least one case, a use of {@code sun.misc.FpUtils}, the test will not evenRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 07 15:40:13 UTC 2023 - 3.9K bytes - Viewed (0)