- Sort Score
- Num 10 results
- Language All
Results 401 - 410 of 1,852 for else (0.02 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt
server.useHttps(serverSslSocketFactory) } else if (socketMode == Channel) { socketFactory(ChannelSocketFactory()) } }.build() server.enqueue(MockResponse(body = "abc")) @Suppress("HttpUrlsUsage") val url = if (socketMode is TlsInstance) { "https://$hostname:${server.port}/get" } else { "http://$hostname:${server.port}/get" }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Nov 01 12:18:11 GMT 2025 - 7.9K bytes - Click Count (0) -
fastapi/dependencies/models.py
from fastapi.security.base import SecurityBase from fastapi.types import DependencyCacheKey from typing_extensions import Literal if sys.version_info >= (3, 13): # pragma: no cover from inspect import iscoroutinefunction else: # pragma: no cover from asyncio import iscoroutinefunction def _unwrapped_call(call: Optional[Callable[..., Any]]) -> Any: if call is None: return call # pragma: no cover
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 7.1K bytes - Click Count (0) -
schema/utils.go
values := strings.Split(tag, ":") k := strings.TrimSpace(strings.ToUpper(values[0])) if len(values) >= 2 { val := strings.Join(values[1:], ":") val = strings.ReplaceAll(val, `\"`, `"`) settings[k] = val } else if k != "" { settings[k] = k } } return settings } func toColumns(val string) (results []string) { if val != "" { for _, v := range strings.Split(val, ",") {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Oct 30 11:15:36 GMT 2025 - 5.9K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/testing/TestType.kt
systemProperties.compute("include.spock.annotation") { _, oldValue -> if (oldValue == null) fqcn else "$oldValue,$fqcn" } } fun Test.excludeSpockAnnotation(fqcn: String) { systemProperties.compute("exclude.spock.annotation") { _, oldValue -> if (oldValue == null) fqcn else "$oldValue,$fqcn" }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Sat Sep 30 16:17:28 GMT 2023 - 1.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/AbstractVersionTransformation.java
message += " from repository " + artifact.getRepository().getId(); } else { message += " from local repository"; } getLogger().debug(message); } else { // Locally installed file is newer, don't use the resolved version
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.2K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
} BuildSummary buildSummary = result.getBuildSummary(project); if (buildSummary == null) { buffer.append(builder().warning("SKIPPED")); } else if (buildSummary instanceof BuildSuccess) { buffer.append(builder().success("SUCCESS")); buffer.append(" ["); String buildTimeDuration = formatDuration(buildSummary.getTime());Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 08 08:49:11 GMT 2024 - 17.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
return value; } else { replaceValueInEntry(entryForKey, value, force); return oldValue; } } int valueHash = Hashing.smearedHash(value); int valueEntry = findEntryByValue(value, valueHash); if (force) { if (valueEntry != ABSENT) { removeEntryValueHashKnown(valueEntry, valueHash); } } else {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Dec 16 14:46:34 GMT 2025 - 37.1K bytes - Click Count (0) -
tests/scan_test.go
} var resPointer *result if err := DB.Table("users").Select("id, name, age").Where("id = ?", user3.ID).Scan(&resPointer).Error; err != nil { t.Fatalf("Failed to query with pointer of value, got error %v", err) } else if resPointer.ID != user3.ID || resPointer.Name != user3.Name || resPointer.Age != int(user3.Age) { t.Fatalf("Scan into struct should work, got %#v, should %#v", res, user3) }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Wed Jun 12 10:57:36 GMT 2024 - 10.9K bytes - Click Count (0) -
.teamcity/src/main/kotlin/configurations/SmokeTests.kt
splitNumber: Int = 1, flakyTestStrategy: FlakyTestStrategy, ) : OsAwareBaseGradleBuildType(os = Os.LINUX, stage = stage, init = { val suffix = if (flakyTestStrategy == FlakyTestStrategy.ONLY)"_FlakyTestQuarantine" else "" id("${model.projectId}_SmokeTest_$id$suffix") name = "Smoke Tests with 3rd Party Plugins ($task) - ${testJava.version.toCapitalized()} Linux$suffix"Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Dec 22 07:15:16 GMT 2025 - 1.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticator.kt
proxyAddress.port, url.scheme, challenge.realm, challenge.scheme, url.toUrl(), Authenticator.RequestorType.PROXY, ) } else { Authenticator.requestPasswordAuthentication( url.host, proxy.connectToInetAddress(url, dns), url.port, url.scheme, challenge.realm,Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.2K bytes - Click Count (0)