- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 70 for gethostname (0.75 sec)
-
staging/src/k8s.io/apiserver/pkg/cel/library/urls.go
// url('https://[::1]/').getHost() // returns '[::1]' // url('/path').getHost() // returns '' // url('https://example.com:80/').getHostname() // returns 'example.com' // url('https://127.0.0.1:80/').getHostname() // returns '127.0.0.1' // url('https://[::1]:80/').getHostname() // returns '::1' // url('/path').getHostname() // returns '' // url('https://example.com:80/').getPort() // returns '80' // url('https://example.com/').getPort() // returns ''
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 23 21:31:27 UTC 2023 - 7.9K bytes - Viewed (0) -
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) -
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/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) -
src/main/java/org/codelibs/fess/job/PingSearchEngineJob.java
} else { postcard.addTo(fessConfig.getMailFromAddress()); postcard.dryrun(); } postcard.setHostname(systemHelper.getHostname()); postcard.setClustername(ping.getClusterName()); postcard.setClusterstatus(ping.getClusterStatus()); });
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.1K bytes - Viewed (0)