- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 664 for KSession (0.27 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
/** * Creates a derived session using the given local repository. * * @param localRepository the new local repository * @return the derived session * @throws NullPointerException if {@code localRepository} is null */ @Nonnull Session withLocalRepository(@Nonnull LocalRepository localRepository); /** * Creates a derived session using the given remote repositories. *
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 30K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/model/ModelBuilderTest.java
RepositorySystemSession.CloseableSession rsession = repositorySessionFactory .newRepositorySessionBuilder(mavenRequest) .build(); request.setRepositorySession(rsession); MavenSession msession = new MavenSession(rsession, mavenRequest, new DefaultMavenExecutionResult()); InternalSession session =
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Tue Apr 23 12:55:57 GMT 2024 - 3.1K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
DefaultSession iSession = new DefaultSession( msession, mock(org.eclipse.aether.RepositorySystem.class), null, null, new DefaultLookup(container), null); InternalSession.associate(session, iSession); }
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 6.4K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/internal/transformation/AbstractRepositoryTestCase.java
DefaultRepositorySystemSession rsession = new DefaultRepositorySystemSession(h -> false); LocalRepository localRepo = new LocalRepository("target/local-repo"); rsession.setLocalRepositoryManager(system.newLocalRepositoryManager(rsession, localRepo)); rsession.setTransferListener(Mockito.mock(TransferListener.class)); rsession.setRepositoryListener(Mockito.mock(RepositoryListener.class));
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Tue Apr 23 12:55:57 GMT 2024 - 3.4K bytes - Viewed (0) -
maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/ApiRunner.java
DefaultRepositorySystemSession rsession = new DefaultRepositorySystemSession(h -> false); rsession.setSystemProperties(properties); rsession.setConfigProperties(properties); DefaultSession session = new DefaultSession( rsession, system, List.of(lookup.lookup(RepositoryFactory.class)
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Apr 25 14:13:36 GMT 2024 - 17.1K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/InternalSession.java
return cast(InternalSession.class, session.getData().get(InternalSession.class), "session"); } static void associate(org.eclipse.aether.RepositorySystemSession rsession, Session session) { if (!rsession.getData().set(InternalSession.class, null, from(session))) { throw new IllegalStateException("A maven session is already associated with the repository session");
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Tue Apr 23 12:55:57 GMT 2024 - 3.4K bytes - Viewed (0) -
tensorflow/c/c_test_util.h
// Returns a sorted vector of names contained in `grad_def` std::vector<string> GetFuncNames(const tensorflow::GraphDef& graph_def); class CSession { public: CSession(TF_Graph* graph, TF_Status* s, bool use_XLA = false); explicit CSession(TF_Session* session); ~CSession(); void SetInputs(std::vector<std::pair<TF_Operation*, TF_Tensor*>> inputs); void SetOutputs(std::initializer_list<TF_Operation*> outputs);
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Aug 09 01:06:53 GMT 2018 - 6K bytes - Viewed (0) -
tensorflow/c/c_test_util.cc
return names; } CSession::CSession(TF_Graph* graph, TF_Status* s, bool use_XLA) { TF_SessionOptions* opts = TF_NewSessionOptions(); TF_EnableXLACompilation(opts, use_XLA); session_ = TF_NewSession(graph, opts, s); TF_DeleteSessionOptions(opts); } CSession::CSession(TF_Session* session) : session_(session) {} CSession::~CSession() { TF_Status* s = TF_NewStatus();
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:52 GMT 2021 - 17.8K bytes - Viewed (2) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelResolver.java
} @Override public void addRepository(@Nonnull Session session, Repository repository) { addRepository(session, repository, false); } @Override public void addRepository(Session session, Repository repository, boolean replace) { RepositorySystemSession rsession = InternalSession.from(session).getSession(); if (rsession.isIgnoreArtifactDescriptorRepositories()) { return;
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 11K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java
MavenSession mavenSession = new MavenSession(container, session, mavenExecutionRequest, new DefaultMavenExecutionResult()); legacySupport.setSession(mavenSession); InternalSession iSession = new DefaultSession(mavenSession, null, null, null, null, null); InternalSession.associate(session, iSession); ArtifactResolutionResult result = repositorySystem.resolve(request);
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 8.2K bytes - Viewed (0)