- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 135 for Sethostname (0.55 sec)
-
src/net/dnsconfig_unix_test.go
timeout: 5 * time.Second, attempts: 2, search: []string{"domain.local."}, }, }, } func TestDNSReadConfig(t *testing.T) { origGetHostname := getHostname defer func() { getHostname = origGetHostname }() getHostname = func() (string, error) { return "host.domain.local", nil } for _, tt := range dnsReadConfigTests { want := *tt.want if len(want.search) == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 03 17:41:32 UTC 2022 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/netbios/UniAddress.java
* * @return the hostname associated with the address */ @Override public String getHostName () { if ( this.addr instanceof NbtAddress ) { return ( (NbtAddress) this.addr ).getHostName(); } return ( (InetAddress) this.addr ).getHostName(); } /** * Return the IP address as text such as "192.168.1.15". *
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 8.3K bytes - Viewed (0) -
platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/ntlm/NTLMCredentials.java
} try { return removeDotSuffix(getHostName()).toUpperCase(); } catch (UnknownHostException e) { return DEFAULT_WORKSTATION; } } protected String getHostName() throws UnknownHostException { return InetAddress.getLocalHost().getHostName(); } private String removeDotSuffix(String val) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 3.1K bytes - Viewed (0) -
tests/integration/ambient/wasm_test.go
t.Fatalf("failed to install WasmPlugin: %v", err) } if c.testHostname != "" { sendTrafficToHostname(t, check.ResponseHeader(injectedHeader, "0.0.1"), c.testHostname) } else { sendTraffic(t, check.ResponseHeader(injectedHeader, "0.0.1")) } }) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 21:02:05 UTC 2024 - 7.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/plugins/readOnlyNestedProperty/groovy/buildSrc/src/main/java/Resource.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 235 bytes - Viewed (0) -
src/os/sys_solaris.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 265 bytes - Viewed (0) -
platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/network/HostnameLookup.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.internal.nativeintegration.network; public interface HostnameLookup { String getHostname();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:06:40 UTC 2023 - 735 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/FileConfig.java
final String domain = map.get("domain"); smbAuth.setDomain(domain == null ? StringUtil.EMPTY : domain); smbAuth.setServer(fileAuth.getHostname()); smbAuth.setPort(fileAuth.getPort() == null ? -1 : fileAuth.getPort()); smbAuth.setUsername(fileAuth.getUsername()); smbAuth.setPassword(fileAuth.getPassword());
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.8K bytes - Viewed (0) -
src/os/sys_aix.go
// Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package os import "syscall" // gethostname syscall cannot be used because it also returns the domain. // Therefore, hostname is retrieve with uname syscall and the Nodename field. func hostname() (name string, err error) { var u syscall.Utsname
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 11 15:41:04 UTC 2018 - 682 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/plugins/readOnlyNestedProperty/groovy/buildSrc/src/main/java/Download.java
@TaskAction void run() { // Use the `resource` property System.out.println("Downloading https://" + getResource().getHostName().get() + "/" + getResource().getPath().get()); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 522 bytes - Viewed (0)