Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,769 for os (0.08 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/Os.java

    import java.util.stream.Stream;
    
    /**
     * OS support
     */
    public class Os {
    
        /**
         * The OS Name.
         */
        public static final String OS_NAME = System.getProperty("os.name").toLowerCase(Locale.ENGLISH);
    
        /**
         * The OA architecture.
         */
        public static final String OS_ARCH = System.getProperty("os.arch").toLowerCase(Locale.ENGLISH);
    
        /**
         * The OS version.
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. pkg/kubelet/container/os.go

    	Chmod(path string, perm os.FileMode) error
    	Hostname() (name string, err error)
    	Chtimes(path string, atime time.Time, mtime time.Time) error
    	Pipe() (r *os.File, w *os.File, err error)
    	ReadDir(dirname string) ([]os.DirEntry, error)
    	Glob(pattern string) ([]string, error)
    	Open(name string) (*os.File, error)
    	OpenFile(name string, flag int, perm os.FileMode) (*os.File, error)
    	Rename(oldpath, newpath string) error
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 03:35:26 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  3. 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: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 15 01:09:38 UTC 2024
    - 985 bytes
    - Viewed (0)
  4. maven-model-builder/src/main/java/org/apache/maven/utils/Os.java

    import java.util.stream.Stream;
    
    /**
     * OS support
     */
    public class Os {
    
        /**
         * The OS Name.
         */
        public static final String OS_NAME = System.getProperty("os.name").toLowerCase(Locale.ENGLISH);
    
        /**
         * The OA architecture.
         */
        public static final String OS_ARCH = System.getProperty("os.arch").toLowerCase(Locale.ENGLISH);
    
        /**
         * The OS version.
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. pkg/kubelet/container/testing/os.go

    package testing
    
    import (
    	"errors"
    	"os"
    	"sync"
    	"time"
    )
    
    // FakeOS mocks out certain OS calls to avoid perturbing the filesystem
    // If a member of the form `*Fn` is set, that function will be called in place
    // of the real call.
    type FakeOS struct {
    	StatFn     func(string) (os.FileInfo, error)
    	ReadDirFn  func(string) ([]os.DirEntry, error)
    	MkdirAllFn func(string, os.FileMode) error
    	SymlinkFn  func(string, string) error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 07 13:37:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. .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: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. cmd/os-reliable_test.go

    Harshavardhana <******@****.***> 1694618076 -0700
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Sep 13 15:14:36 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. cmd/os-dirent_namelen_bsd.go

    Harshavardhana <******@****.***> 1629336922 -0700
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 982 bytes
    - Viewed (0)
  9. 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: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 15 01:09:38 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. 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: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 7.5K bytes
    - Viewed (0)
Back to top