- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 53 for set_protocol (0.08 seconds)
-
tensorflow/c/eager/c_api_test_util.cc
} } TF_DeleteDeviceList(devices); return false; } tensorflow::ServerDef GetServerDef(const string& job_name, int num_tasks) { tensorflow::ServerDef server_def; server_def.set_protocol("grpc"); server_def.set_job_name(job_name); server_def.set_task_index(0); tensorflow::ClusterDef* cluster_def = server_def.mutable_cluster(); tensorflow::JobDef* job_def = cluster_def->add_job();
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 23.4K bytes - Click Count (0) -
tensorflow/c/eager/c_api_test.cc
const tensorflow::ServerDef& cluster_server_def, int task_index) { tensorflow::ServerDef single_host_server_def; single_host_server_def.set_job_name("worker"); single_host_server_def.set_protocol(cluster_server_def.protocol()); single_host_server_def.set_task_index(0); tensorflow::ClusterDef* cluster_def = single_host_server_def.mutable_cluster();Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 94.6K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/repository/Proxy.java
* Get the protocol of the proxy server. * * @return the protocol of the proxy server */ public String getProtocol() { return protocol; } /** * @param protocol the protocol of the proxy server like <i>SOCKSv4</i> */ public void setProtocol(String protocol) { this.protocol = protocol; } public String getNonProxyHosts() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
ArtifactRepository repository, List<org.apache.maven.settings.Proxy> proxies) { if (proxies != null && repository.getProtocol() != null) { for (org.apache.maven.settings.Proxy proxy : proxies) { if (proxy.isActive() && repository.getProtocol().equalsIgnoreCase(proxy.getProtocol())) { if (proxy.getNonProxyHosts() != null && !proxy.getNonProxyHosts().isEmpty()) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 31.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java
URL url = new URL(originalRepository.getUrl()); return ("http".equalsIgnoreCase(url.getProtocol()) || "dav".equalsIgnoreCase(url.getProtocol()) || "dav:http".equalsIgnoreCase(url.getProtocol()) || "dav+http".equalsIgnoreCase(url.getProtocol())) && !isLocal(url.getHost()); } catch (MalformedURLException e) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 33.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/HandlerTest.java
// Both should use the same handler instance assertNotNull(url1); assertNotNull(url2); // Protocol should be consistent assertEquals(url1.getProtocol(), url2.getProtocol()); assertEquals("smb", url1.getProtocol()); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java
URL url = new URL(originalRepository.getUrl()); return ("http".equalsIgnoreCase(url.getProtocol()) || "dav".equalsIgnoreCase(url.getProtocol()) || "dav:http".equalsIgnoreCase(url.getProtocol()) || "dav+http".equalsIgnoreCase(url.getProtocol())) && !isLocal(url.getHost()); } catch (MalformedURLException e) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 8K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java
if (proxies != null) { for (Proxy proxy : proxies) { if (proxy.isActive() && protocol.equalsIgnoreCase(proxy.getProtocol())) { SettingsDecryptionResult result = settingsDecrypter.decrypt(new DefaultSettingsDecryptionRequest(proxy));Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 6.5K bytes - Click Count (0) -
samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java
socketFile.delete(); // Clean up from previous runs. MockWebServer server = new MockWebServer(); server.setServerSocketFactory(new UnixDomainServerSocketFactory(socketFile)); server.setProtocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE)); server.enqueue(new MockResponse().setBody("hello")); server.start(); OkHttpClient client = new OkHttpClient.Builder()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Dec 24 03:46:30 GMT 2018 - 2.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/HandlerTest.java
Handler handler = newHandler(); URL url = new URL(null, "smb://", handler); // Assert assertEquals("smb", url.getProtocol()); assertEquals(SmbConstants.DEFAULT_PORT, url.getPort(), "Default port applied for root smb URL"); assertNull(url.getRef(), "Ref should remain null for root URL"); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.8K bytes - Click Count (0)