Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 32 for Sethostname (0.21 sec)

  1. src/syscall/asm_solaris_amd64.s

    TEXT ·exit(SB),NOSPLIT,$0
    	JMP	runtime·syscall_exit(SB)
    
    TEXT ·fcntl1(SB),NOSPLIT,$0
    	JMP	runtime·syscall_fcntl(SB)
    
    TEXT ·forkx(SB),NOSPLIT,$0
    	JMP	runtime·syscall_forkx(SB)
    
    TEXT ·gethostname(SB),NOSPLIT,$0
    	JMP	runtime·syscall_gethostname(SB)
    
    TEXT ·getpid(SB),NOSPLIT,$0
    	JMP	runtime·syscall_getpid(SB)
    
    TEXT ·ioctl(SB),NOSPLIT,$0
    	JMP	runtime·syscall_ioctl(SB)
    
    TEXT ·RawSyscall(SB),NOSPLIT,$0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 15 17:21:30 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/ntlm/NTLMCredentialsTest.groovy

            credentials.username >> "username"
            credentials.password >> "password"
    
            when:
            def ntlmCredentials = new NTLMCredentials(credentials) {
                protected String getHostName() {
                    return "hostname.domain.org"
                }
            }
    
            then:
            ntlmCredentials.workstation == 'HOSTNAME'
        }
    
        def "null username passed"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  5. 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)
  6. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/GradleVsMavenPerformanceTestRunner.groovy

                testId: testId,
                testProject: testProject,
                testGroup: testGroup,
                jvm: Jvm.current().toString(),
                host: InetAddress.getLocalHost().getHostName(),
                operatingSystem: OperatingSystem.current().toString(),
                versionUnderTest: GradleVersion.current().getVersion(),
                vcsBranch: Git.current().branchName,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_getters_test.go

    	exp = filepath.Join(root, "pods/abc123/containers/def456")
    	assert.Equal(t, exp, got)
    
    	got = kubelet.getPodResourcesDir()
    	exp = filepath.Join(root, "pod-resources")
    	assert.Equal(t, exp, got)
    
    	got = kubelet.GetHostname()
    	exp = "127.0.0.1"
    	assert.Equal(t, exp, got)
    
    	got = kubelet.getPodVolumeSubpathsDir("abc123")
    	exp = filepath.Join(root, "pods/abc123/volume-subpaths")
    	assert.Equal(t, exp, got)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 00:48:07 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt

          )
        val request = RecordedRequest("GET / HTTP/1.1", headers, emptyList(), 0, Buffer(), 0, socket)
        assertThat(request.requestUrl.toString()).isEqualTo("http://127.0.0.1/")
      }
    
      @Test fun testHostname() {
        val headers = headersOf("Host", "host-from-header.com")
        val socket =
          FakeSocket(
            localAddress =
              InetAddress.getByAddress(
                "host-from-address.com",
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. pkg/controller/volume/persistentvolume/volume_host.go

    }
    
    func (ctrl *PersistentVolumeController) GetMounter(pluginName string) mount.Interface {
    	return nil
    }
    
    func (ctrl *PersistentVolumeController) GetHostName() string {
    	return ""
    }
    
    func (ctrl *PersistentVolumeController) GetHostIP() (net.IP, error) {
    	return nil, fmt.Errorf("PersistentVolumeController.GetHostIP() is not implemented")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. src/net/dnsconfig_unix.go

    	if len(conf.servers) == 0 {
    		conf.servers = defaultNS
    	}
    	if len(conf.search) == 0 {
    		conf.search = dnsDefaultSearch()
    	}
    	return conf
    }
    
    func dnsDefaultSearch() []string {
    	hn, err := getHostname()
    	if err != nil {
    		// best effort
    		return nil
    	}
    	if i := bytealg.IndexByteString(hn, '.'); i >= 0 && i < len(hn)-1 {
    		return []string{ensureRooted(hn[i+1:])}
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 02 22:14:43 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top