- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 202 for Statements (0.04 sec)
-
docs/es/docs/advanced/testing-websockets.md
# Probando WebSockets Puedes usar el mismo `TestClient` para probar WebSockets. Para esto, usas el `TestClient` en un statement `with`, conectándote al WebSocket: {* ../../docs_src/app_testing/tutorial002.py hl[27:31] *} /// note | Nota Para más detalles, revisa la documentación de Starlette sobre <a href="https://www.starlette.io/testclient/#testing-websocket-sessions" class="external-link" target="_blank">probando sesiones WebSocket</a>.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 457 bytes - Viewed (0) -
utils/tests/dummy_dialecter.go
return clause.Expr{SQL: "DEFAULT"} } func (DummyDialector) Migrator(*gorm.DB) gorm.Migrator { return nil } func (DummyDialector) BindVarTo(writer clause.Writer, stmt *gorm.Statement, v interface{}) { writer.WriteByte('?') } func (DummyDialector) QuoteTo(writer clause.Writer, str string) { var ( underQuoted, selfQuoted bool continuousBacktick int8 shiftDelimiter int8
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Mar 06 06:03:31 UTC 2023 - 2.2K bytes - Viewed (0) -
cmd/bucket-handlers_test.go
} // ExecObjectLayerAPIAnonTest - Calls the HTTP API handler using the anonymous request, validates the ErrAccessDeniedResponse, // sets the bucket policy using the policy statement generated from `getReadOnlyBucketStatement` so that the // unsigned request goes through and its validated again.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 39.8K bytes - Viewed (0) -
docs/en/docs/advanced/testing-events.md
# Testing Events: lifespan and startup - shutdown { #testing-events-lifespan-and-startup-shutdown } When you need `lifespan` to run in your tests, you can use the `TestClient` with a `with` statement: {* ../../docs_src/app_testing/tutorial004.py hl[9:15,18,27:28,30:32,41:43] *} You can read more details about the ["Running lifespan in tests in the official Starlette documentation site."](https://www.starlette.io/lifespan/#running-lifespan-in-tests)
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:29:21 UTC 2025 - 615 bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/SingleValueIterator.java
/** {@literal true} if the iterator has more elements. */ protected boolean hasNext = true; /** * Returns an {@link Iterable} that wraps a {@link SingleValueIterator} for use in a for-each statement. * * @param <E> the element type * @param value the single value returned by the iterator * @return an {@link Iterable} wrapping a {@link SingleValueIterator} */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ComparisonChain.java
import com.google.common.primitives.Booleans; import com.google.errorprone.annotations.InlineMe; import java.util.Comparator; import org.jspecify.annotations.Nullable; /** * A utility for performing a chained comparison statement. <b>Note:</b> Java 8+ users should * generally prefer the methods in {@link Comparator}; see <a href="#java8">below</a>. * * <p>Example usage of {@code ComparisonChain}: * * {@snippet :
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.1K bytes - Viewed (0) -
tests/transaction_test.go
// enable prepare statement tx3 := DB.Session(&gorm.Session{PrepareStmt: true}) if err := tx3.Transaction(func(tx4 *gorm.DB) error { // nested transaction return tx4.Transaction(func(tx5 *gorm.DB) error { return tx5.First(&User{}, "name = ?", "transaction-2").Error }) }); err != nil { t.Fatalf("prepare statement and nested transaction coexist" + err.Error()) } }) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 13.3K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/SneakyThrows.java
* sneaky checked exception. * * @return never; this method declares a return type of {@link Error} only so that callers can * write {@code throw sneakyThrow(t);} to convince the compiler that the statement will always * throw. */ @CanIgnoreReturnValue static Error sneakyThrow(Throwable t) { throw new SneakyThrows<Error>().throwIt(t); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Dec 30 18:44:22 UTC 2024 - 2.4K bytes - Viewed (0) -
guava/src/com/google/common/base/SneakyThrows.java
* sneaky checked exception. * * @return never; this method declares a return type of {@link Error} only so that callers can * write {@code throw sneakyThrow(t);} to convince the compiler that the statement will always * throw. */ @CanIgnoreReturnValue static Error sneakyThrow(Throwable t) { throw new SneakyThrows<Error>().throwIt(t); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Feb 03 21:52:39 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayIterator.java
protected final T[] items; /** The index of the currently referenced element */ protected int index = 0; /** * Returns an {@link Iterable} that wraps the array for use in a for-each statement. * * @param <T> the type of elements * @param items the array of elements to iterate (must not be {@literal null}) * @return an {@link Iterable} wrapping the array */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.5K bytes - Viewed (0)