Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 368 for os (0.15 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.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  2. cmd/os_unix.go

    			return &buf
    		},
    	}
    )
    
    // unexpectedFileMode is a sentinel (and bogus) os.FileMode
    // value used to represent a syscall.DT_UNKNOWN Dirent.Type.
    const unexpectedFileMode os.FileMode = os.ModeNamedPipe | os.ModeSocket | os.ModeDevice
    
    func parseDirEnt(buf []byte) (consumed int, name []byte, typ os.FileMode, err error) {
    	// golang.org/issue/15653
    	dirent := (*syscall.Dirent)(unsafe.Pointer(&buf[0]))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  3. 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.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  4. 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 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  5. 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)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 985 bytes
    - Viewed (0)
  6. cmd/os-rename_linux.go

    Harshavardhana <******@****.***> 1707959378 -0800
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 999 bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/common/extensions.kt

            }
            skipConditionally(buildType)
        }
    
    fun Requirements.requiresOs(os: Os) {
        contains("teamcity.agent.jvm.os.name", os.agentRequirement)
    }
    
    fun Requirements.requiresArch(os: Os, arch: Arch) {
        if (os == Os.MACOS) {
            contains("teamcity.agent.jvm.os.arch", arch.nameOnMac)
        } else {
            contains("teamcity.agent.jvm.os.arch", arch.nameOnLinuxWindows)
        }
    }
    
    fun Requirements.requiresNotEc2Agent() {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 10:49:15 GMT 2024
    - 13K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/configurations/FlakyTestQuarantine.kt

    class FlakyTestQuarantine(model: CIBuildModel, stage: Stage, os: Os, arch: Arch = Arch.AMD64) : BaseGradleBuildType(stage = stage, init = {
        id("${model.projectId}_FlakyQuarantine_${os.asName()}_${arch.asName()}")
        name = "Flaky Test Quarantine - ${os.asName()} ${arch.asName()}"
        description = "Run all flaky tests skipped multiple times"
    
        applyDefaultSettings(os = os, arch = arch, buildJvm = BuildToolBuildJvm, timeout = 180)
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 08:17:56 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/OperatingSystemProfileActivator.java

            if (active && os.getFamily() != null) {
                active = determineFamilyMatch(os.getFamily(), actualOsName);
            }
            if (active && os.getName() != null) {
                active = determineNameMatch(os.getName(), actualOsName);
            }
            if (active && os.getArch() != null) {
                active = determineArchMatch(os.getArch(), actualOsArch);
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  10. cmd/service.go

    // process when successful.
    func restartProcess() error {
    	if runtime.GOOS == globalWindowsOSName {
    		cmd := exec.Command(os.Args[0], os.Args[1:]...)
    		cmd.Stdout = os.Stdout
    		cmd.Stderr = os.Stderr
    		cmd.Stdin = os.Stdin
    		cmd.Env = os.Environ()
    		err := cmd.Run()
    		if err == nil {
    			os.Exit(0)
    		}
    		return err
    	}
    
    	// Use the original binary location. This works with symlinks such that if
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 28 07:02:14 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top