- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 164 for CSession (0.08 sec)
-
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();
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Oct 15 03:16:52 UTC 2021 - 17.8K bytes - Viewed (0) -
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. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 16:43:07 UTC 2024 - 36.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
} InternalSession iSession = InternalSession.from(configuration.getRepositorySession()); InternalMavenSession mSession = InternalMavenSession.from(iSession); MavenSession session = mSession.getMavenSession(); session.setProjects(projects); session.setAllProjects(session.getProjects()); return session; } protected void initRepoSession(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java
.build()) { MavenSession mSession = new MavenSession(repoSession, request, new DefaultMavenExecutionResult()); InternalSession iSession = new SimpleSession(mSession, repoSystem, null); InternalSession.associate(repoSession, iSession); List<RemoteRepository> repositories = RepositoryUtils.toRepos(request.getPluginArtifactRepositories());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.2K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java
injector.discover(ProtoSession.class.getClassLoader()); Session session = injector.getInstance(Session.class); SessionScope scope = new SessionScope(); scope.enter(); scope.seed(Session.class, session); injector.bindScope(SessionScoped.class, scope); return session; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 15.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java
InternalSession iSession = InternalSession.from(session); ModelBuilderRequest.ModelBuilderRequestBuilder request = ModelBuilderRequest.builder(); request.requestType(ModelBuilderRequest.RequestType.CONSUMER_POM); request.session(iSession); // in order to resolve parents, we need to fake being at the correct location request.source(new PomConsumerModelSource(project.getModel().getPomPath(), src));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 11K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt
.build() val session = session(heldCertificate.certificatePem()) assertThat(verifier.verify("foo.com", session)).isFalse() assertThat(verifier.verify("bar.com", session)).isFalse() assertThat(verifier.verify("k.com", session)).isTrue() assertThat(verifier.verify("K.com", session)).isTrue() assertThat(verifier.verify("\u2121.com", session)).isFalse()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 40.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java
return new DependencyResolverRequestBuilder() .session(session) .requestType(requestType) .project(project) .pathScope(scope) .build(); } @Nonnull
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Oct 16 14:15:37 UTC 2024 - 17.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java
@Nonnull static ModelBuilderRequest build(@Nonnull Session session, @Nonnull ModelSource source) { return builder() .session(nonNull(session, "session cannot be null")) .source(nonNull(source, "source cannot be null")) .build(); } @Nonnull static ModelBuilderRequest build(@Nonnull Session session, @Nonnull Path path) { return builder()
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Oct 09 11:07:31 UTC 2024 - 13.3K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java
metadataRequest.setTrace(trace); metadataRequests.add(metadataRequest); } List<MetadataResult> metadataResults = metadataResolver.resolveMetadata(session, metadataRequests); WorkspaceReader workspace = session.getWorkspaceReader(); if (workspace != null) { List<String> versions = workspace.findVersions(request.getArtifact()); for (String version : versions) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.2K bytes - Viewed (0)