Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 18 for globalWindowsOSName (0.45 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 1.7K bytes
    - Click Count (0)
  2. cmd/update-notifier.go

    	topLeftChar := "┏"
    	topRightChar := "┓"
    	bottomLeftChar := "┗"
    	bottomRightChar := "┛"
    	horizBarChar := "━"
    	vertBarChar := "┃"
    	// on windows terminal turn off unicode characters.
    	if runtime.GOOS == globalWindowsOSName {
    		topLeftChar = "+"
    		topRightChar = "+"
    		bottomLeftChar = "+"
    		bottomRightChar = "+"
    		horizBarChar = "-"
    		vertBarChar = "|"
    	}
    
    	lines := []string{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  3. 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)
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jul 02 15:09:36 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  4. cmd/object-api-input-checks.go

    	if len(object) == 0 {
    		return ObjectNameInvalid{Bucket: bucket, Object: object}
    	}
    	if !IsValidObjectPrefix(object) {
    		return ObjectNameInvalid{Bucket: bucket, Object: object}
    	}
    	if runtime.GOOS == globalWindowsOSName && strings.Contains(object, "\\") {
    		// Objects cannot be contain \ in Windows and is listed as `Characters to Avoid`.
    		return ObjectNameInvalid{Bucket: bucket, Object: object}
    	}
    	return nil
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.7K bytes
    - Click Count (0)
  5. cmd/admin-handlers-users-race_test.go

    	suite.SetUpSuite(c)
    	suite.TestDeleteUserRace(c)
    	suite.TearDownSuite(c)
    }
    
    func TestIAMInternalIDPConcurrencyServerSuite(t *testing.T) {
    	if runtime.GOOS == globalWindowsOSName {
    		t.Skip("windows is clunky")
    	}
    
    	baseTestCases := []TestSuiteCommon{
    		// Init and run test on ErasureSD backend with signature v4.
    		{serverType: "ErasureSD", signer: signerV4},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4K bytes
    - Click Count (0)
  6. cmd/object-api-utils.go

    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
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jun 25 15:08:54 GMT 2025
    - 37.3K bytes
    - Click Count (0)
  7. cmd/metrics-v3-system-process.go

    	m.Set(processGoRoutineTotal, float64(runtime.NumGoroutine()))
    
    	if !globalBootTime.IsZero() {
    		m.Set(processUptimeSeconds, time.Since(globalBootTime).Seconds())
    	}
    
    	if runtime.GOOS != globalWindowsOSName && runtime.GOOS != globalMacOSName {
    		p, err := procfs.Self()
    		if err != nil {
    			metricsLogIf(ctx, err)
    		} else {
    			loadProcFSMetrics(ctx, p, m)
    		}
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Jun 20 17:55:03 GMT 2024
    - 6.5K bytes
    - Click Count (0)
  8. cmd/os-readdir_test.go

    	return testResults
    }
    
    // Test to read non-empty directory with symlinks.
    func setupTestReadDirSymlink(t *testing.T) (testResults []result) {
    	if runtime.GOOS == globalWindowsOSName {
    		t.Skip("symlinks not available on windows")
    		return nil
    	}
    	dir := t.TempDir()
    	entries := []string{}
    	for i := range 10 {
    		name1 := fmt.Sprintf("file-%d", i)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  9. cmd/globals.go

    	globalMinioDefaultOwnerID      = "02d6176db174dc93cb1b899f7c6078f08654445fe8cf1b6ce98d8855f66bdbf4"
    	globalMinioDefaultStorageClass = "STANDARD"
    	globalWindowsOSName            = "windows"
    	globalMacOSName                = "darwin"
    	globalMinioModeFS              = "mode-server-fs"
    	globalMinioModeErasureSD       = "mode-server-xl-single"
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Sep 03 18:23:41 GMT 2024
    - 16.2K bytes
    - Click Count (1)
  10. cmd/object-api-utils_test.go

    		b.ResetTimer()
    		b.ReportAllocs()
    
    		for b.Loop() {
    			pathJoin("volume", "path/path/path")
    		}
    	})
    }
    
    // Wrapper
    func TestPathTraversalExploit(t *testing.T) {
    	if runtime.GOOS != globalWindowsOSName {
    		t.Skip()
    	}
    	defer DetectTestLeak(t)()
    	ExecExtendedObjectLayerAPITest(t, testPathTraversalExploit, []string{"PutObject"})
    }
    
    // testPathTraversal exploit test, exploits path traversal on windows
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 24.1K bytes
    - Click Count (0)
Back to Top