Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for illumos (0.2 sec)

  1. src/net/conf.go

    	// sources for "hosts", assume Go's DNS will work fine.
    	if errors.Is(nss.err, fs.ErrNotExist) || (nss.err == nil && len(srcs) == 0) {
    		if canUseCgo && c.goos == "solaris" {
    			// illumos defaults to
    			// "nis [NOTFOUND=return] files",
    			// which the go resolver doesn't support.
    			return hostLookupCgo, dnsConf
    		}
    
    		return hostLookupFilesDNS, dnsConf
    	}
    	if nss.err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. misc/go_android_exec/main.go

    // so for now it only builds on platforms that support that system call.
    // TODO(#33974): use a more portable library for file locking.
    
    //go:build darwin || dragonfly || freebsd || illumos || linux || netbsd || openbsd
    
    // This program can be used as go_android_GOARCH_exec by the Go tool.
    // It executes binaries on an android device using adb.
    package main
    
    import (
    	"bytes"
    	"errors"
    	"fmt"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  3. src/net/listen_test.go

    	}
    	return nil
    }
    
    func multicastRIBContains(ip IP) (bool, error) {
    	switch runtime.GOOS {
    	case "aix", "dragonfly", "netbsd", "openbsd", "plan9", "solaris", "illumos", "windows":
    		return true, nil // not implemented yet
    	case "linux":
    		if runtime.GOARCH == "arm" || runtime.GOARCH == "alpha" {
    			return true, nil // not implemented yet
    		}
    	}
    	ift, err := Interfaces()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  4. src/net/error_test.go

    			}
    			if err = parseDialError(err); err != nil {
    				t.Error(err)
    			}
    		})
    	}
    }
    
    func TestProtocolDialError(t *testing.T) {
    	switch runtime.GOOS {
    	case "solaris", "illumos":
    		t.Skipf("not supported on %s", runtime.GOOS)
    	}
    
    	for _, network := range []string{"tcp", "udp", "ip:4294967296", "unix", "unixpacket", "unixgram"} {
    		var err error
    		switch network {
    		case "tcp":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  5. src/cmd/go/internal/help/helpdoc.go

    those terms (in addition to any explicit constraints in the file).
    
    Using GOOS=android matches build tags and files as for GOOS=linux
    in addition to android tags and files.
    
    Using GOOS=illumos matches build tags and files as for GOOS=solaris
    in addition to illumos tags and files.
    
    Using GOOS=ios matches build tags and files as for GOOS=darwin
    in addition to ios tags and files.
    
    The defined architecture feature build tags are:
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testcshared/cshared_test.go

    	}
    	libgodir := GOOS + "_" + GOARCH
    	switch GOOS {
    	case "darwin", "ios":
    		if GOARCH == "arm64" {
    			libgodir += "_shared"
    		}
    	case "dragonfly", "freebsd", "linux", "netbsd", "openbsd", "solaris", "illumos":
    		libgodir += "_shared"
    	}
    	cc = append(cc, "-I", filepath.Join("pkg", libgodir))
    
    	// Force reallocation (and avoid aliasing bugs) for parallel tests that append to cc.
    	cc = cc[:len(cc):len(cc)]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 21K bytes
    - Viewed (0)
  7. src/runtime/crash_cgo_test.go

    					testenv.SkipFlaky(t, 39457)
    				}
    				t.Errorf("did not see %q in output", want)
    			}
    
    			// No runtime errors like "runtime: unknown pc".
    			switch runtime.GOOS {
    			case "darwin", "ios", "illumos", "solaris":
    				// Runtime sometimes throws when generating the traceback.
    				testenv.SkipFlaky(t, 49182)
    			case "linux":
    				if runtime.GOARCH == "386" {
    					// Runtime throws when generating a traceback from
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 16:44:47 UTC 2024
    - 22.2K bytes
    - Viewed (1)
  8. src/os/exec/exec_test.go

    		defer cancel()
    	}
    
    	c = exec.CommandContext(ctx, exe)
    	var stdout, stderr strings.Builder
    	c.Stdout = &stdout
    	c.Stderr = &stderr
    	c.ExtraFiles = []*os.File{tf}
    	if runtime.GOOS == "illumos" {
    		// Some facilities in illumos are implemented via access
    		// to /proc by libc; such accesses can briefly occupy a
    		// low-numbered fd.  If this occurs concurrently with the
    		// test that checks for leaked descriptors, the check can
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  9. src/runtime/cgocall.go

    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname cgocall
    //go:nosplit
    func cgocall(fn, arg unsafe.Pointer) int32 {
    	if !iscgo && GOOS != "solaris" && GOOS != "illumos" && GOOS != "windows" {
    		throw("cgocall unavailable")
    	}
    
    	if fn == nil {
    		throw("cgocall nil")
    	}
    
    	if raceenabled {
    		racereleasemerge(unsafe.Pointer(&racecgosync))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  10. src/runtime/crash_test.go

    		}
    	}
    }
    
    func TestTimePprof(t *testing.T) {
    	// This test is unreliable on any system in which nanotime
    	// calls into libc.
    	switch runtime.GOOS {
    	case "aix", "darwin", "illumos", "openbsd", "solaris":
    		t.Skipf("skipping on %s because nanotime calls libc", runtime.GOOS)
    	}
    
    	// Pass GOTRACEBACK for issue #41120 to try to get more
    	// information on timeout.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 27K bytes
    - Viewed (0)
Back to top