Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 182 for gethostname (0.28 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. platforms/documentation/docs/src/snippets/plugins/readOnlyNestedProperty/groovy/buildSrc/src/main/java/Resource.java

    import org.gradle.api.provider.Property;
    import org.gradle.api.tasks.Input;
    // tag::resource[]
    
    public interface Resource {
        @Input
        Property<String> getHostName();
        @Input
        Property<String> getPath();
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 235 bytes
    - Viewed (0)
  6. src/os/sys_solaris.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package os
    
    import "syscall"
    
    func hostname() (name string, err error) {
    	return syscall.Gethostname()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 265 bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top