Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 203 for KSession (0.22 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 21 03:35:09 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 30K bytes
    - Viewed (0)
  2. 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 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  3. 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 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 11K bytes
    - Viewed (0)
  4. 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)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultArtifactDescriptorReader.java

                    if (model != null) {
                        return model;
                    }
                }
    
                try {
                    Session iSession = InternalSession.from(session);
                    String gav =
                            pomArtifact.getGroupId() + ":" + pomArtifact.getArtifactId() + ":" + pomArtifact.getVersion();
                    ModelResolver modelResolver =
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 13.9K bytes
    - Viewed (0)
  6. 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 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  7. maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            initRepoSession(configuration);
    
            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);
            session.setSession(iSession);
    
            List<MavenProject> projects = new ArrayList<>();
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 11K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                MavenSession session = new MavenSession(closeableSession, request, result);
                session.setSession(defaultSessionFactory.newSession(session));
    
                sessionScope.seed(MavenSession.class, session);
                sessionScope.seed(Session.class, session.getSession());
                sessionScope.seed(InternalMavenSession.class, InternalMavenSession.from(session.getSession()));
    
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/plugin/DefaultBuildPluginManager.java

                            org.apache.maven.api.plugin.Mojo.class, session, mojoExecution);
                    mojo = new MojoWrapper(mojoV4);
                } else {
                    mojo = mavenPluginManager.getConfiguredMojo(Mojo.class, session, mojoExecution);
                }
    
                legacySupport.setSession(session);
    
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java

            MavenSession session = legacySupport.getSession();
    
            PluginDescriptor pluginDescriptor;
            try {
                pluginDescriptor = pluginManager.getPluginDescriptor(
                        plugin, session.getCurrentProject().getRemotePluginRepositories(), session.getRepositorySession());
    
                pluginManager.setupPluginRealm(pluginDescriptor, session, null, null, null);
            } catch (Exception e) {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 10K bytes
    - Viewed (0)
Back to top