Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 51 for sethostname (0.19 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/documentation/docs/src/snippets/modelRules/configureAsRequired/groovy/build.gradle

    @Managed
    interface Person {
        String getFirstName()
        void setFirstName(String n)
    
        String getLastName()
        void setLastName(String n)
    }
    
    // tag::configure-rule[]
    model {
        person {
            println "configuring person"
            lastName = "Smith"
        }
    }
    // end::configure-rule[]
    model {
        person(Person) {
            firstName = "John"
        }
        tasks {
            showPerson(Task) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 648 bytes
    - Viewed (0)
  9. 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)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/AbstractRedirectResolveBaseIntegrationTest.groovy

        def module = ivyRepo().module('group', 'projectA').publish()
    
        abstract void beforeServerStart();
    
        def setupServer() {
            beforeServerStart()
            server.useHostname()
            backingServer.useHostname()
            backingServer.start()
        }
    
        @Override
        def setup() {
            setupServer()
            executer.withWarningMode(WarningMode.All)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top