- Sort Score
- Result 10 results
- Languages All
Results 1251 - 1260 of 2,143 for ELSE (0.06 sec)
-
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt
nextEvent() as Closed } fun assertFailure(message: String?) { val event = nextEvent() as Failure if (message != null) { assertThat(event.t!!.message).isEqualTo(message) } else { assertThat(event.t).isNull() } } internal data class Open( val eventSource: EventSource, val response: Response, ) internal data class Failure(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.1K bytes - Viewed (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-jar.gradle.kts
while (queue.isNotEmpty()) { val dependency = when (val result = queue.removeFirst()) { is ResolvedDependencyResult -> result is UnresolvedDependencyResult -> throw result.failure else -> throw AssertionError("Unknown dependency type: $result") } if (dependency.isConstraint) { continue } val to = dependency.resolvedVariant
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed May 01 08:59:48 UTC 2024 - 4.4K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/wheel_verification.bats
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Tue Jan 23 02:14:00 UTC 2024 - 2.7K bytes - Viewed (0) -
Makefile
MAKE_DOCKER = $(RUN) make --no-print-directory -e -f Makefile.core.mk %: @$(MAKE_DOCKER) $@ default: @$(MAKE_DOCKER) shell: @$(RUN) /bin/bash .PHONY: default shell else # If we are not in build container, we need a workaround to get environment properly set # Write to file, then include $(shell mkdir -p out) $(shell $(shell pwd)/common/scripts/setup_env.sh envfile > out/.env)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jul 23 15:00:31 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
Object instance = tester.instantiate(classToTest); if (instance != null) { if (isEqualsDefined(classToTest)) { SerializableTester.reserializeAndAssert(instance); } else { SerializableTester.reserialize(instance); } } } catch (Throwable e) { throw sanityError(classToTest, SERIALIZABLE_TEST_METHOD_NAMES, "serializable test", e);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:43:49 UTC 2024 - 17.9K bytes - Viewed (0) -
fastapi/security/oauth2.py
if not authorization: if self.auto_error: raise HTTPException( status_code=HTTP_403_FORBIDDEN, detail="Not authenticated" ) else: return None return authorization class OAuth2PasswordBearer(OAuth2): """ OAuth2 flow for authentication using a bearer token obtained with a password.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 23 18:30:18 UTC 2024 - 21.1K bytes - Viewed (0) -
cmd/encryption-v1_test.go
t.Errorf("Test %d: Decryption returned wrong error code: got %d , want %d", i, err, test.expErr) } else if _, enc := crypto.IsEncrypted(test.info.UserDefined); encrypted && enc != encrypted { t.Errorf("Test %d: Decryption thinks object is encrypted but it is not", i) } else if !encrypted && enc != encrypted { t.Errorf("Test %d: Decryption thinks object is not encrypted but it is", i) } } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Sep 24 04:17:08 UTC 2022 - 19.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractBehavior.java
} bulkBuilder.add((IndexRequestBuilder) builder); } else if (builder instanceof UpdateRequestBuilder) { if (builderEntityCall != null) { builderEntityCall.callback(builder); } bulkBuilder.add((UpdateRequestBuilder) builder); } else if (builder instanceof DeleteRequestBuilder) { if (builderEntityCall != null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 26.4K bytes - Viewed (0) -
tests/test_regex_deprecated_params.py
@app.get("/items/") async def read_items( q: Annotated[str | None, Query(regex="^fixedquery$")] = None, ): if q: return f"Hello {q}" else: return "Hello World" client = TestClient(app) return client @needs_py310 def test_query_params_str_validations_no_query(): client = get_client()
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 5.5K bytes - Viewed (0) -
build-logic-commons/code-quality-rules/src/main/java/gradlebuild/codenarc/rules/IntegrationTestFixtureVisitor.java
} @Override public void visitMethodCallExpression(MethodCallExpression mce) { if (AstUtil.isMethodNamed(mce, "contains")) { checkOutputContains(mce); } else if (AstUtil.isMethodNamed(mce, "assertOutputContains")) { Expression objectExpr = mce.getObjectExpression(); checkIndirectOutputContains(objectExpr, mce); } }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.9K bytes - Viewed (0)