- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 38 for Loos (0.31 sec)
-
internal/logger/utils.go
} func ansiMoveRight(n int) { if runtime.GOOS == "windows" { return } if color.IsTerminal() { ansiEscape("[%dC", n) } } func ansiSaveAttributes() { if runtime.GOOS == "windows" { return } if color.IsTerminal() { ansiEscape("7") } } func ansiRestoreAttributes() { if runtime.GOOS == "windows" { return } if color.IsTerminal() { ansiEscape("8")
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Aug 04 23:10:08 GMT 2022 - 1.7K bytes - Viewed (0) -
cmd/xl-storage-errors.go
func isSysErrNotEmpty(err error) bool { if errors.Is(err, syscall.ENOTEMPTY) { return true } if errors.Is(err, syscall.EEXIST) && runtime.GOOS == "solaris" { return true } var pathErr *os.PathError if errors.As(err, &pathErr) { if runtime.GOOS == globalWindowsOSName { var errno syscall.Errno if errors.As(pathErr.Err, &errno) { // ERROR_DIR_NOT_EMPTY return errno == 0x91 } } }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Mar 06 16:56:29 GMT 2023 - 3.8K bytes - Viewed (0) -
cmd/xl-storage-errors_test.go
} pathErr = &os.PathError{Err: syscall.ENOTDIR} ok = isSysErrNotDir(pathErr) if !ok { t.Fatalf("Unexpected error expecting %s", syscall.ENOTDIR) } if runtime.GOOS != globalWindowsOSName { pathErr = &os.PathError{Err: syscall.ENOTEMPTY} ok = isSysErrNotEmpty(pathErr) if !ok { t.Fatalf("Unexpected error expecting %s", syscall.ENOTEMPTY) } } else {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 1.7K bytes - Viewed (0) -
cmd/xl-storage.go
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. if runtime.GOOS == "windows" && len(pathName) > 1024 { return errFileNameTooLong }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 84.7K bytes - Viewed (0) -
cmd/common-main.go
if !term.IsTerminal(int(os.Stdout.Fd())) || !term.IsTerminal(int(os.Stderr.Fd())) { color.TurnOff() } if env.Get("NO_COLOR", "") != "" || env.Get("TERM", "") == "dumb" { color.TurnOff() } if runtime.GOOS == "windows" { if mousetrap.StartedByExplorer() { fmt.Printf("Don't double-click %s\n", os.Args[0]) fmt.Println("You need to open cmd.exe/PowerShell and run it from the command line")
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat May 04 00:17:57 GMT 2024 - 35.8K bytes - Viewed (2) -
cmd/server-rlimit.go
} } var maxLimit uint64 // Set open files limit to maximum. if _, maxLimit, err = sys.GetMaxOpenFileLimit(); err != nil { return err } if maxLimit < 4096 && runtime.GOOS != globalWindowsOSName { logger.Info("WARNING: maximum file descriptor limit %d is too low for production servers. At least 4096 is recommended. Fix with \"ulimit -n 4096\"", maxLimit) }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:06:57 GMT 2024 - 2.8K bytes - Viewed (0) -
cmd/object-api-utils.go
// to do case insensitive checks. func HasSuffix(s string, suffix string) bool { if runtime.GOOS == globalWindowsOSName { return strings.HasSuffix(strings.ToLower(s), strings.ToLower(suffix)) } return strings.HasSuffix(s, suffix) } // Validates if two strings are equal. func isStringEqual(s1 string, s2 string) bool { if runtime.GOOS == globalWindowsOSName { return strings.EqualFold(s1, s2) } return s1 == s2 }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Mar 11 11:55:34 GMT 2024 - 35.6K bytes - Viewed (1) -
cmd/object-api-multipart_test.go
"github.com/minio/minio/internal/ioutil" ) // Wrapper for calling NewMultipartUpload tests for both Erasure multiple disks and single node setup. func TestObjectNewMultipartUpload(t *testing.T) { if runtime.GOOS == globalWindowsOSName { t.Skip() } ExecObjectLayerTest(t, testObjectNewMultipartUpload) } // Tests validate creation of new multipart upload instance.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 77.1K bytes - Viewed (0) -
cmd/storage-rest-server.go
if err != nil { s.writeErrorResponse(w, err) return } defer rc.Close() rf, ok := w.(io.ReaderFrom) if ok && runtime.GOOS != "windows" { // Attempt to use splice/sendfile() optimization, A very specific behavior mentioned below is necessary. // See https://github.com/golang/go/blob/f7c5cbb82087c55aa82081e931e0142783700ce8/src/net/sendfile_linux.go#L20
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 44.8K bytes - Viewed (0) -
cmd/net.go
ifs, err := net.Interfaces() logger.FatalIf(err, "Unable to get IP addresses of this host") for _, interf := range ifs { addrs, err := interf.Addrs() if err != nil { continue } if runtime.GOOS == "windows" && interf.Flags&net.FlagUp == 0 { continue } for _, addr := range addrs { var ip net.IP switch v := addr.(type) { case *net.IPNet: ip = v.IP case *net.IPAddr:
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Mar 26 15:00:38 GMT 2024 - 9.3K bytes - Viewed (0)