- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 737 for State (0.18 sec)
-
docs/em/docs/how-to/sql-databases-peewee.md
```Python # db._state = PeeweeConnectionState() ``` & ๐ `sql_app/main.py` ๐, ๐ค ๐ช `async` ๐ `reset_db_state()` & โ โซ๏ธ โฎ๏ธ `pass`: ```Python async def reset_db_state(): # database.db._state._state.set(db_state_default.copy()) # database.db._state.reset() pass ``` โคด๏ธ ๐ ๐ ๐ฑ โฎ๏ธ Uvicorn: <div class="termy">
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 19.2K bytes - Viewed (0) -
tensorflow/c/eager/tape.h
new GradientTape<Gradient, BackwardFunction, TapeTensor>(false)); AccumulatorCallState& call_state = call_state_.top(); call_state.backward_tape = tape.get(); auto pop_backward_tape = gtl::MakeCleanup([&call_state] { call_state.backward_tape = nullptr; }); std::vector<Gradient*> forwardprop_aids; std::vector<int64_t> sources; std::unordered_set<int64_t> sources_set;
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 02 12:40:29 GMT 2024 - 47.2K bytes - Viewed (1) -
maven-core/src/main/java/org/apache/maven/project/Graph.java
private static List<String> visitAll( Collection<Vertex> children, Map<Vertex, DfsState> stateMap, List<String> list) { for (Vertex v : children) { DfsState state = stateMap.putIfAbsent(v, DfsState.VISITING); if (state == null) { visitAll(v.children, stateMap, list); stateMap.put(v, DfsState.VISITED); list.add(v.label); } }
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Sep 22 06:02:04 GMT 2023 - 3.9K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java
import java.util.concurrent.Executor; /** Measures the size of AbstractFuture implementations. */ public class AbstractFutureFootprintBenchmark { enum State { NOT_DONE, FINISHED, CANCELLED, FAILED } @Param State state; @Param Impl impl; @Param({"0", "1", "5", "10"}) int numListeners; @Param({"0", "1", "5", "10"}) int numThreads;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Jan 17 15:34:54 GMT 2018 - 3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java
import java.util.concurrent.Executor; /** Measures the size of AbstractFuture implementations. */ public class AbstractFutureFootprintBenchmark { enum State { NOT_DONE, FINISHED, CANCELLED, FAILED } @Param State state; @Param Impl impl; @Param({"0", "1", "5", "10"}) int numListeners; @Param({"0", "1", "5", "10"}) int numThreads;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jan 17 15:34:54 GMT 2018 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MoreCollectors.java
Collector.<@Nullable Object, ToOptionalState, @Nullable Object>of( ToOptionalState::new, (state, o) -> state.add((o == null) ? NULL_PLACEHOLDER : o), ToOptionalState::combine, state -> { Object result = state.getElement(); return (result == NULL_PLACEHOLDER) ? null : result; }, Collector.Characteristics.UNORDERED); /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Dec 08 18:58:42 GMT 2023 - 5.6K bytes - Viewed (0) -
cni/pkg/repair/repair_test_helpers.go
{ Name: "payload-container", State: corev1.ContainerState{ Waiting: &corev1.ContainerStateWaiting{ Reason: "PodInitializing", }, }, }, }, }, } return pod } // Container specs var ( brokenInitContainerWaiting = corev1.ContainerStatus{ Name: constants.ValidationContainerName, State: corev1.ContainerState{ Waiting: &corev1.ContainerStateWaiting{
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri May 12 17:39:53 GMT 2023 - 4.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmContext.java
",ntlmsspFlags=0x" + Hexdump.toHexString(ntlmsspFlags, 8) + ",workstation=" + workstation + ",isEstablished=" + isEstablished + ",state=" + state + ",serverChallenge="; if (serverChallenge == null) { ret += "null"; } else { ret += Hexdump.toHexString(serverChallenge, 0, serverChallenge.length * 2); }
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 5.9K bytes - Viewed (0) -
istioctl/pkg/writer/compare/sds/util.go
func (s *secretItemBuilder) Destination(dest string) SecretItemBuilder { s.dest = dest return s } // State sets the state of the secret on the agent or sidecar func (s *secretItemBuilder) State(state string) SecretItemBuilder { s.state = state return s } // Build takes the set fields from the builder and constructs the actual SecretItem
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Jun 06 15:14:48 GMT 2023 - 6.6K bytes - Viewed (0) -
docs/en/docs/how-to/sql-databases-peewee.md
```Python # db._state = PeeweeConnectionState() ``` And in the file `sql_app/main.py` file, comment the body of the `async` dependency `reset_db_state()` and replace it with a `pass`: ```Python async def reset_db_state(): # database.db._state._state.set(db_state_default.copy()) # database.db._state.reset() pass ``` Then run your app with Uvicorn:
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Jan 16 13:23:25 GMT 2024 - 23.6K bytes - Viewed (0)