Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 565 for KSession (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. maven-core/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            MavenSession session = new MavenSession(
                    getContainer(), configuration.getRepositorySession(), request, new DefaultMavenExecutionResult());
            session.setProjects(projects);
            session.setAllProjects(session.getProjects());
            session.setSession(defaultSessionFactory.newSession(session));
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  10. maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            MavenSession session = new MavenSession(
                    getContainer(), configuration.getRepositorySession(), request, new DefaultMavenExecutionResult());
            DefaultSession iSession =
                    new DefaultSession(session, mock(org.eclipse.aether.RepositorySystem.class), null, null, null, null);
            InternalSession.associate(session.getRepositorySession(), iSession);
            session.setSession(iSession);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 11.2K bytes
    - Viewed (0)
Back to top