- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 108 for Sethostname (0.18 sec)
-
src/net/conf_test.go
nss: nssStr(t, "hosts: dns mymachines files"), hostTests: []nssHostTest{ {"x.com", "myhostname", hostLookupDNSFiles}, }, }, } origGetHostname := getHostname defer func() { getHostname = origGetHostname }() defer setSystemNSS(getSystemNSS(), 0) conf, err := newResolvConfTest() if err != nil { t.Fatal(err) } defer conf.teardown() for _, tt := range tests {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:46:36 UTC 2024 - 12.3K bytes - Viewed (0) -
pkg/proxy/nftables/proxier_test.go
NodeName: ptr.To(testHostname), }, { Addresses: []string{"10.0.1.2"}, Conditions: discovery.EndpointConditions{Ready: ptr.To(true)}, NodeName: ptr.To(testHostname), }, { Addresses: []string{"10.0.1.3"}, Conditions: discovery.EndpointConditions{Ready: ptr.To(true)}, NodeName: ptr.To(testHostname), }, { // not ready endpoints should be ignored
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 01:31:57 UTC 2024 - 173.5K bytes - Viewed (0) -
tests/integration/telemetry/api/wasmplugin_test.go
t.Fatalf("failed to install WasmPlugin: %v", err) } if c.testHostname != "" { sendTrafficToHostname(t, check.ResponseHeader(injectedHeader, c.expectedVersion), c.testHostname) } else { sendTraffic(t, check.ResponseHeader(injectedHeader, c.expectedVersion)) } }) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 14.4K bytes - Viewed (0) -
pkg/proxy/ipvs/proxier_test.go
endpointsChanges: proxy.NewEndpointsChangeTracker(testHostname, nil, ipFamily, nil, nil), excludeCIDRs: excludeCIDRs, iptables: ipt, ipvs: ipvs, ipset: ipset, conntrack: conntrack.NewFake(), strictARP: false, localDetector: proxyutil.NewNoOpLocalDetector(), hostname: testHostname,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 01:31:57 UTC 2024 - 186.8K bytes - Viewed (0) -
platforms/software/resources-sftp/src/main/java/org/gradle/internal/resource/transport/sftp/SftpHost.java
hostname = uri.getHost(); port = uri.getPort(); username = credentials.getUsername(); password = credentials.getPassword(); } public String getHostname() { return hostname; } public int getPort() { return port; } public String getUsername() { return username; } public String getPassword() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 2.5K bytes - Viewed (0) -
src/net/dnsconfig.go
// - github.com/metacubex/mihomo // // Do not remove or change the type signature. // See go.dev/issue/67401. // //go:linkname defaultNS var defaultNS = []string{"127.0.0.1:53", "[::1]:53"} var getHostname = os.Hostname // variable for testing type dnsConfig struct { servers []string // server addresses (in host:port form) to use search []string // rooted suffixes to append to local name
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 2.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
assertNotNull(systemHelper.getHostname()); try { envMap.put("COMPUTERNAME", "xxx"); assertEquals("xxx", systemHelper.getHostname()); } finally { envMap.remove("COMPUTERNAME"); } try { envMap.put("HOSTNAME", "yyy"); assertEquals("yyy", systemHelper.getHostname()); } finally {
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 18.5K bytes - Viewed (0) -
platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/ntlm/NTLMCredentialsTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 3.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/library_compatibility_test.go
knownFunctions := sets.New( // Kubernetes 1.24: "isSorted", "sum", "max", "min", "indexOf", "lastIndexOf", "find", "findAll", "url", "getScheme", "getHost", "getHostname", "getPort", "getEscapedPath", "getQuery", "isURL", // Kubernetes <1.27>: "path", "group", "serviceAccount", "resource", "subresource", "namespace", "name", "check", "allowed", "reason", // Kubernetes <1.28>:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 12:03:04 UTC 2023 - 2.6K bytes - Viewed (0) -
pkg/kubelet/volumemanager/volume_manager_test.go
volumetest "k8s.io/kubernetes/pkg/volume/testing" "k8s.io/kubernetes/pkg/volume/util" "k8s.io/kubernetes/pkg/volume/util/hostutil" "k8s.io/kubernetes/pkg/volume/util/types" ) const ( testHostname = "test-hostname" ) func TestGetMountedVolumesForPodAndGetVolumesInUse(t *testing.T) { tests := []struct { name string pvMode, podMode v1.PersistentVolumeMode expectMount bool
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.1K bytes - Viewed (0)