- Sort Score
- Num 10 results
- Language All
Results 831 - 840 of 1,755 for else_ (0.03 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/cisupport/CIDetectorHelperRunner.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Apr 13 18:50:07 GMT 2025 - 1.3K bytes - Click Count (0) -
tests/test_security_api_key_cookie_optional.py
return user @app.get("/users/me") def read_current_user(current_user: User = Depends(get_current_user)): if current_user is None: return {"msg": "Create an account first"} else: return current_user def test_security_api_key(): client = TestClient(app, cookies={"key": "secret"}) response = client.get("/users/me") assert response.status_code == 200, response.text
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 2.1K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformVersion.kt
* limitations under the License. */ package okhttp3.testing object PlatformVersion { val majorVersion: Int by lazy { when (val jvmSpecVersion = getJvmSpecVersion()) { "1.8" -> 8 else -> jvmSpecVersion.toInt() } } fun getJvmSpecVersion(): String = System.getProperty("java.specification.version", "unknown")Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 902 bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Address.kt
* this URL are always empty, since they are not significant for planning a route. */ @get:JvmName("url") val url: HttpUrl = HttpUrl .Builder() .scheme(if (sslSocketFactory != null) "https" else "http") .host(uriHost) .port(uriPort) .build() /** * The protocols the client supports. This method always returns a non-null list that * contains minimally [Protocol.HTTP_1_1]. */Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 7.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellInvoker.java
sb.style(AttributedStyle.DEFAULT.bold().foreground(69)); } else { sb.style(AttributedStyle.DEFAULT.foreground(AttributedStyle.CYAN)); } } else { sb.style(AttributedStyle.DEFAULT.boldOff().foregroundOff()); } } }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 10.1K bytes - Click Count (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
if (entry == null) { entry = new CacheEntry(hostName, addr, expiration); this.addressCache.put(hostName, entry); } else { entry.address = addr; entry.expiration = expiration; } } } void cacheAddressArray(final NbtAddress[] addrs) {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 38.5K bytes - Click Count (0) -
cmd/site-replication.go
iamLogIf(ctx, err) } else if foundGroupDN == nil || !underBaseDN { return wrapSRErr(errNoSuchGroup) } entityName = foundGroupDN.NormDN } else { var foundUserDN *xldap.DNSearchResult if foundUserDN, err = globalIAMSys.LDAPConfig.GetValidatedDNForUsername(entityName); err != nil { iamLogIf(ctx, err) } else if foundUserDN == nil { return wrapSRErr(errNoSuchUser)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 184.8K bytes - Click Count (1) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java
: Files.createTempFile(CONSUMER_POM_CLASSIFIER + "-", ".pom"); deferDeleteFile(consumer); project.addAttachedArtifact(createConsumerPomArtifact(project, consumer, session)); } else if (project.getModel().getDelegate().isRoot()) { throw new IllegalStateException( "The use of the root attribute on the model requires the buildconsumer feature to be active"); } }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Nov 06 18:32:25 GMT 2025 - 8.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
int oldCount = backingMap.getValue(entryIndex); int numberRemoved; if (oldCount > occurrences) { numberRemoved = occurrences; backingMap.setValue(entryIndex, oldCount - occurrences); } else { numberRemoved = oldCount; backingMap.removeEntry(entryIndex); } size -= numberRemoved; return oldCount; } @CanIgnoreReturnValue @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 05 23:15:58 GMT 2025 - 7.9K bytes - Click Count (0) -
tests/joins_test.go
Joins("LEFT OUTER JOIN pets ON pets.user_id = users.id").Find(&results) if len(results) == 0 { t.Fatalf("no record find") } else if results[0].Pet.UserID == nil || *(results[0].Pet.UserID) != user.ID { t.Fatalf("wrong user id in pet") } else if results[0].Pet.Name != user.Pets[0].Name { t.Fatalf("wrong pet name") } } func TestJoinArgsWithDB(t *testing.T) {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun May 25 07:40:40 GMT 2025 - 15K bytes - Click Count (0)