Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Darwin (0.23 sec)

  1. src/cmd/cgo/gcc.go

    func (p *Package) gccMachine() []string {
    	switch goarch {
    	case "amd64":
    		if goos == "darwin" {
    			return []string{"-arch", "x86_64", "-m64"}
    		}
    		return []string{"-m64"}
    	case "arm64":
    		if goos == "darwin" {
    			return []string{"-arch", "arm64"}
    		}
    	case "386":
    		return []string{"-m32"}
    	case "arm":
    		return []string{"-marm"} // not thumb
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  2. cmd/xl-storage_test.go

    	"runtime"
    	"strings"
    	"syscall"
    	"testing"
    
    	"github.com/google/uuid"
    )
    
    func TestCheckPathLength(t *testing.T) {
    	// Check path length restrictions are not same on windows/darwin
    	if runtime.GOOS == "windows" || runtime.GOOS == "darwin" {
    		t.Skip()
    	}
    
    	testCases := []struct {
    		path        string
    		expectedErr error
    	}{
    		{".", errFileAccessDenied},
    		{"/", errFileAccessDenied},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  3. cmd/xl-storage.go

    	walkReadMu *sync.Mutex
    }
    
    // checkPathLength - returns error if given path name length more than 255
    func checkPathLength(pathName string) error {
    	// Apple OS X path length is limited to 1016
    	if runtime.GOOS == "darwin" && len(pathName) > 1016 {
    		return errFileNameTooLong
    	}
    
    	// Disallow more than 1024 characters on windows, there
    	// are no known name_max limits on Windows.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  4. cmd/peer-rest-server.go

    		atomic.AddUint64(&globalNetPerfRX.RX, uint64(n))
    		if err != nil && err != io.EOF {
    			// If there is a disconnection before globalNetPerfMinDuration (we give a margin of error of 1 sec)
    			// would mean the network is not stable. Logging here will help in debugging network issues.
    			if time.Since(connectTime) < (globalNetPerfMinDuration - time.Second) {
    				peersLogIf(ctx, err)
    			}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
Back to top