- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 36 for Seed (0.15 sec)
-
maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java
throw new IllegalStateException(); } values.remove(0); } public <T> void seed(Class<T> clazz, Provider<T> value) { getScopeState().seed(clazz, value); } public <T> void seed(Class<T> clazz, final T value) { seed(clazz, (Provider<T>) () -> value); } public <T> Provider<T> scope(final Key<T> key, final Provider<T> unscoped) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Apr 23 12:52:20 GMT 2024 - 6.8K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/artifact/installer/ArtifactInstallerTest.java
protected String component() { return "installer"; } @Test void testArtifactInstallation() throws Exception { sessionScope.enter(); try { sessionScope.seed(MavenSession.class, mock(MavenSession.class)); String artifactBasedir = new File(getBasedir(), "src/test/resources/artifact-install").getAbsolutePath();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 2.1K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java
protected String component() { return "deployer"; } @Test void testArtifactInstallation() throws Exception { sessionScope.enter(); try { sessionScope.seed(MavenSession.class, mock(MavenSession.class)); String artifactBasedir = new File(getBasedir(), "src/test/resources/artifact-install").getAbsolutePath();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 2.8K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/session/scope/SessionScopeProxyTest.java
assertNotSame(bean.myBean.getClass(), MySessionScopedBean.class); assertThrows(OutOfScopeException.class, () -> bean.myBean.getSession()); sessionScope.enter(); sessionScope.seed(Session.class, this.session); assertNotNull(bean.myBean.getSession()); assertNotNull(bean.myBean.getAnotherBean()); assertSame(bean.myBean.getAnotherBean().getClass(), AnotherBean.class);
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Tue Apr 23 12:52:20 GMT 2024 - 4.2K bytes - Viewed (0) -
cmd/erasure-decode.go
shardSize := int(e.ShardSize()) if cap(b) < len(readers)*shardSize { // We should always have enough capacity, but older objects may be bigger. globalBytePoolCap.Load().Put(b) b = nil } else { // Seed the buffers. for i := range bufs { bufs[i] = b[i*shardSize : (i+1)*shardSize] } } return ¶llelReader{ readers: readers, orgReaders: readers, dataBlocks: e.dataBlocks,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 19 16:44:59 GMT 2024 - 9.4K bytes - Viewed (0) -
docs/en/docs/features.md
### Short It has sensible **defaults** for everything, with optional configurations everywhere. All the parameters can be fine-tuned to do what you need and to define the API you need. But by default, it all **"just works"**. ### Validation * Validation for most (or all?) Python **data types**, including: * JSON objects (`dict`).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 9.3K bytes - Viewed (0) -
cni/pkg/nodeagent/informers.go
// We have no good way to distinguish between these two cases from here. But we don't need to! // Existing pods will be handled by the dataplane using `GetAmbientPods`, // and the initial enqueueNamespace, and new pods will be handled by the CNI. case controllers.EventUpdate: // For update, we just need to handle opt outs newPod := event.New.(*corev1.Pod) oldPod := event.Old.(*corev1.Pod)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 9.6K bytes - Viewed (0) -
.cm/platform_labels.cm
# The `automations` section lists automations to run on PRs in this repository. # Each automation has an `if` key that defines conditions to run the automation, # as well as a `run` key with the actions to do. All the conditions need to be true # for the actions to run (there is an implicit AND relation between # the conditions on each line). Each condition is specified as a Jinja expression. You
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Mon Apr 22 15:32:31 GMT 2024 - 2.5K bytes - Viewed (0) -
docs/en/docs/deployment/manually.md
FastAPI uses a standard for building Python web frameworks and servers called <abbr title="Asynchronous Server Gateway Interface">ASGI</abbr>. FastAPI is an ASGI web framework. The main thing you need to run a **FastAPI** application (or any other ASGI application) in a remote server machine is an ASGI server program like **Uvicorn**, this is the one that comes by default in the `fastapi` command.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 9.2K bytes - Viewed (0) -
docker/Dockerfile.base
FROM ubuntu:noble ENV DEBIAN_FRONTEND=noninteractive # Do not add more stuff to this list that isn't small or critically useful. # If you occasionally need something on the container do # sudo apt-get update && apt-get whichever # hadolint ignore=DL3005,DL3008 RUN apt-get update && \ apt-get install --no-install-recommends -y \ ca-certificates \ curl \ iptables \ iproute2 \ iputils-ping \ knot-dnsutils \
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 18:50:51 GMT 2024 - 1000 bytes - Viewed (0)