- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 6,307 for session (0.05 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java
eps.setProperty("jre.home", new File(pom.getParentFile(), "jdk/jre").getPath()); MavenSession session = createMavenSession(pom, eps); MavenProject project = session.getCurrentProject(); project.setArtifacts(resolver.resolve(project, Collections.singleton(Artifact.SCOPE_COMPILE), session)); List<String> elements = project.getCompileClasspathElements(); assertEquals(2, elements.size());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
} private void injectSession(MetadataResolutionRequest request) { RepositorySystemSession session = legacySupport.getRepositorySession(); if (session != null) { request.setOffline(session.isOffline()); request.setForceUpdate(RepositoryPolicy.UPDATE_POLICY_ALWAYS.equals(session.getUpdatePolicy())); } } @Override public ResolutionGroup retrieve(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 30.3K bytes - Viewed (0) -
finisher_api.go
if !selectedUpdate { tx.Statement.Selects = append(tx.Statement.Selects, "*") } updateTx := tx.callbacks.Update().Execute(tx.Session(&Session{Initialized: true})) if updateTx.Error == nil && updateTx.RowsAffected == 0 && !updateTx.DryRun && !selectedUpdate { return tx.Session(&Session{SkipHooks: true}).Clauses(clause.OnConflict{UpdateAll: true}).Create(value) } return updateTx } return }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Sep 14 12:58:29 UTC 2024 - 22.8K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/SimplexTransferListenerTest.java
TransferEvent transferInitiatedEvent = event(session, resource, TransferEvent.EventType.INITIATED); TransferEvent transferStartedEvent = event(session, resource, TransferEvent.EventType.STARTED); TransferEvent transferProgressedEvent = event(session, resource, TransferEvent.EventType.PROGRESSED); TransferEvent transferSucceededEvent = event(session, resource, TransferEvent.EventType.SUCCEEDED);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/ProjectDependenciesResolver.java
* @param project The project whose dependencies should be resolved, must not be {@code null}. * @param scopesToResolve The dependency scopes that should be resolved, may be {@code null}. * @param session The current build session, must not be {@code null}. * @return The transitive dependencies of the specified project that match the requested scopes, never {@code null}. * @throws ArtifactResolutionException in case of resolution issue
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ExecutionEvent.java
/** * Gets the type of the event. * * @return The type of the event, never {@code null}. */ Type getType(); /** * Gets the session from which this event originates. * * @return The current session, never {@code null}. */ MavenSession getSession(); /** * Gets the current project (if any). *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.3K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
} return ret; } TF_Tensor* TF_DequeueNamedTensor(TF_Session* session, int tensor_id, TF_Status* status) { assert(session); { tensorflow::mutex_lock c(session->graph->mu); VLOG(1) << "Dequeuing named tensor with id " << tensor_id << ", with input graph: " << session->graph->graph.ToGraphDefDebug().DebugString(); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 29.5K bytes - Viewed (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/SessionScoped.java
import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Indicates that annotated component should be instantiated before session execution starts * and discarded after session execution completes. * <p> * A {@code org.apache.maven.api.Session} object is available in the scope of this annotation. * * @since 4.0.0 */ @Scope @Documented @Retention(RUNTIME) @Target({TYPE, METHOD})
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Sep 12 06:14:46 UTC 2024 - 1.5K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java
.setLocalRepository(getLocalRepository()); DefaultRepositorySystemSession session = new DefaultRepositorySystemSession(); LocalRepository localRepo = new LocalRepository(request.getLocalRepository().getBasedir()); session.setLocalRepositoryManager(new SimpleLocalRepositoryManagerFactory().newInstance(session, localRepo)); LegacySupport legacySupport = container.lookup(LegacySupport.class);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java
DefaultRepositorySystemSession session = new DefaultRepositorySystemSession(h -> false); session.setScopeManager(new ScopeManagerImpl(Maven4ScopeManagerConfiguration.INSTANCE)); session.setArtifactDescriptorPolicy(new SimpleArtifactDescriptorPolicy(true, true)); DependencyTraverser depTraverser = new FatArtifactTraverser(); session.setDependencyTraverser(depTraverser);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.8K bytes - Viewed (0)