Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 643 for os (0.01 sec)

  1. cmd/os-rename_nolinux.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"os"
    )
    
    // RenameSys is low level call in case of non-Linux this just uses os.Rename()
    func RenameSys(src, dst string) (err error) {
    	return os.Rename(src, dst)
    Registered: 2024-11-03 19:28
    - Last Modified: 2024-02-15 01:09
    - 985 bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/utils/Os.java

        /**
         * The OS version.
         */
        public static final String OS_VERSION = System.getProperty("os.version").toLowerCase(Locale.ENGLISH);
    
        /**
         * OS Family
         */
        public static final String OS_FAMILY;
    
        /**
         * Boolean indicating if the running OS is a Windows system.
         */
    Registered: 2024-11-03 03:35
    - Last Modified: 2024-10-25 12:31
    - 7.3K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/common/Os.kt

        AMD64("64bit", "amd64", "x86_64"),
        AARCH64("aarch64", "aarch64", "aarch64");
    
        fun asName() = name.lowercase().toCapitalized()
    }
    
    enum class Os(
        val agentRequirement: String,
        val androidHome: String,
        val jprofilerHome: String,
        val perfTestWorkingDir: String = "%teamcity.build.checkoutDir%",
        val perfTestJavaVendor: JvmVendor = JvmVendor.openjdk,
    Registered: 2024-11-06 11:36
    - Last Modified: 2024-10-11 18:32
    - 3.5K bytes
    - Viewed (0)
  4. cmd/os-dirent_namelen_bsd.go

    Harshavardhana <******@****.***> 1629336922 -0700
    Registered: 2024-11-03 19:28
    - Last Modified: 2021-08-19 01:35
    - 982 bytes
    - Viewed (0)
  5. cmd/os-instrumented.go

    func Stat(name string) (info os.FileInfo, err error) {
    	defer updateOSMetrics(osMetricStat, name)(err)
    	return os.Stat(name)
    }
    
    // Create captures time taken to call os.Create
    func Create(name string) (f *os.File, err error) {
    	defer updateOSMetrics(osMetricCreate, name)(err)
    	return os.Create(name)
    }
    
    // Fdatasync captures time taken to call Fdatasync
    func Fdatasync(f *os.File) (err error) {
    	fn := ""
    	if f != nil {
    Registered: 2024-11-03 19:28
    - Last Modified: 2024-02-15 01:09
    - 6.3K bytes
    - Viewed (0)
  6. cmd/os-readdir_test.go

    	if runtime.GOOS == "linux" {
    		permDir := path.Join(os.TempDir(), "perm-dir")
    		if err := os.MkdirAll(permDir, os.FileMode(0o200)); err != nil {
    			t.Fatal(err)
    		}
    		defer os.RemoveAll(permDir)
    
    		// Check if permission denied.
    		if _, err := readDir(permDir); err == nil {
    			t.Fatalf("expected = an error, got: nil")
    		}
    	}
    }
    
    // Represents data type for all the test results.
    type result struct {
    Registered: 2024-11-03 19:28
    - Last Modified: 2022-09-19 18:05
    - 7.5K bytes
    - Viewed (0)
  7. cmd/os-reliable_test.go

    Harshavardhana <******@****.***> 1694618076 -0700
    Registered: 2024-11-03 19:28
    - Last Modified: 2023-09-13 15:14
    - 3.1K bytes
    - Viewed (0)
  8. cmd/os-reliable.go

    			return errFileAccessDenied
    		}
    		return osErrToFileErr(err)
    	}
    
    	return nil
    }
    
    // Reliably retries os.MkdirAll if for some reason os.MkdirAll returns
    // syscall.ENOENT (parent does not exist).
    func reliableMkdirAll(dirPath string, mode os.FileMode, baseDir string) (err error) {
    	i := 0
    	for {
    		// Creates all the parent directories, with mode 0777 mkdir honors system umask.
    Registered: 2024-11-03 19:28
    - Last Modified: 2024-04-22 17:49
    - 5.8K bytes
    - Viewed (0)
  9. cmd/os-dirent_ino.go

    Harshavardhana <******@****.***> 1629336922 -0700
    Registered: 2024-11-03 19:28
    - Last Modified: 2021-08-19 01:35
    - 953 bytes
    - Viewed (0)
  10. cmd/os-rename_linux.go

    Harshavardhana <******@****.***> 1707959378 -0800
    Registered: 2024-11-03 19:28
    - Last Modified: 2024-02-15 01:09
    - 999 bytes
    - Viewed (0)
Back to top