Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 139 for sethostname (0.2 sec)

  1. 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)
  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. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/runtime/syscall2_solaris.go

    //go:cgo_import_dynamic libc_execve execve "libc.so"
    //go:cgo_import_dynamic libc_fcntl fcntl "libc.so"
    //go:cgo_import_dynamic libc_forkx forkx "libc.so"
    //go:cgo_import_dynamic libc_gethostname gethostname "libc.so"
    //go:cgo_import_dynamic libc_getpid getpid "libc.so"
    //go:cgo_import_dynamic libc_ioctl ioctl "libc.so"
    //go:cgo_import_dynamic libc_setgid setgid "libc.so"
    //go:cgo_import_dynamic libc_setgroups setgroups "libc.so"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top