Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 919 for unixOS (0.39 sec)

  1. src/os/stat_openbsd.go

    package os
    
    import (
    	"internal/filepathlite"
    	"syscall"
    	"time"
    )
    
    func fillFileStatFromSys(fs *fileStat, name string) {
    	fs.name = filepathlite.Base(name)
    	fs.size = fs.sys.Size
    	fs.modTime = time.Unix(fs.sys.Mtim.Unix())
    	fs.mode = FileMode(fs.sys.Mode & 0777)
    	switch fs.sys.Mode & syscall.S_IFMT {
    	case syscall.S_IFBLK:
    		fs.mode |= ModeDevice
    	case syscall.S_IFCHR:
    		fs.mode |= ModeDevice | ModeCharDevice
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/term/term_unix_bsd.go

    // license that can be found in the LICENSE file.
    
    //go:build darwin || dragonfly || freebsd || netbsd || openbsd
    
    package term
    
    import "golang.org/x/sys/unix"
    
    const ioctlReadTermios = unix.TIOCGETA
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 349 bytes
    - Viewed (0)
  3. src/os/stat_solaris.go

    // These constants aren't in the syscall package, which is frozen.
    // Values taken from golang.org/x/sys/unix.
    const (
    	_S_IFNAM  = 0x5000
    	_S_IFDOOR = 0xd000
    	_S_IFPORT = 0xe000
    )
    
    func fillFileStatFromSys(fs *fileStat, name string) {
    	fs.name = filepathlite.Base(name)
    	fs.size = fs.sys.Size
    	fs.modTime = time.Unix(fs.sys.Mtim.Unix())
    	fs.mode = FileMode(fs.sys.Mode & 0777)
    	switch fs.sys.Mode & syscall.S_IFMT {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AbstractUserClassFilePermissions.java

    public abstract class AbstractUserClassFilePermissions implements UserClassFilePermissions {
    
        /**
         * Converts the user permission to a numeric Unix permission.
         * See {@link ConfigurableFilePermissions#unix(String)} for details,
         * returned value is equivalent to one of the three octal digits.
         */
        protected int toUnixNumeric() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. src/net/internal/cgotest/resstate.go

    //go:build cgo && darwin
    
    package cgotest
    
    /*
    #include <resolv.h>
    */
    import "C"
    
    import (
    	"internal/syscall/unix"
    	"unsafe"
    )
    
    // This will cause a compile error when the size of
    // unix.ResState is too small.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 18:09:52 UTC 2024
    - 455 bytes
    - Viewed (0)
  6. src/cmd/go/internal/telemetrystats/version_unix.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !cmd_go_bootstrap && unix
    
    package telemetrystats
    
    import (
    	"bytes"
    	"fmt"
    	"runtime"
    	"strings"
    
    	"cmd/internal/telemetry"
    
    	"golang.org/x/sys/unix"
    )
    
    func incrementVersionCounters() {
    	convert := func(nullterm []byte) string {
    		end := bytes.IndexByte(nullterm, 0)
    		if end < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 15:44:55 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. cmd/erasure-healing-common_test.go

    			[]time.Time{
    				time.Unix(0, 1).UTC(),
    				time.Unix(0, 2).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 2).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 1).UTC(),
    			},
    			time.Unix(0, 3).UTC(),
    			3,
    		},
    		{
    			// 2. Tests common time obtained when all elements are equal.
    			[]time.Time{
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 23K bytes
    - Viewed (0)
  8. src/archive/tar/stat_unix.go

    		case "linux":
    			// Copied from golang.org/x/sys/unix/dev_linux.go.
    			major := uint32((dev & 0x00000000000fff00) >> 8)
    			major |= uint32((dev & 0xfffff00000000000) >> 32)
    			minor := uint32((dev & 0x00000000000000ff) >> 0)
    			minor |= uint32((dev & 0x00000ffffff00000) >> 12)
    			h.Devmajor, h.Devminor = int64(major), int64(minor)
    		case "darwin", "ios":
    			// Copied from golang.org/x/sys/unix/dev_darwin.go.
    			major := uint32((dev >> 24) & 0xff)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go

    	// Use {{.Expired}} to handle the token expiry date string with correct timezone handling.
    	v := struct {
    		URL     string
    		Expired string
    	}{
    		URL:     ts.URL,
    		Expired: fmt.Sprintf("%v", time.Unix(expired.Unix(), 0)),
    	}
    	c.claims = replace(c.claims, &v)
    	c.openIDConfig = replace(c.openIDConfig, &v)
    	c.options.JWTAuthenticator.Issuer.URL = replace(c.options.JWTAuthenticator.Issuer.URL, &v)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 97.7K bytes
    - Viewed (0)
  10. src/os/stat_darwin.go

    package os
    
    import (
    	"internal/filepathlite"
    	"syscall"
    	"time"
    )
    
    func fillFileStatFromSys(fs *fileStat, name string) {
    	fs.name = filepathlite.Base(name)
    	fs.size = fs.sys.Size
    	fs.modTime = time.Unix(fs.sys.Mtimespec.Unix())
    	fs.mode = FileMode(fs.sys.Mode & 0777)
    	switch fs.sys.Mode & syscall.S_IFMT {
    	case syscall.S_IFBLK, syscall.S_IFWHT:
    		fs.mode |= ModeDevice
    	case syscall.S_IFCHR:
    		fs.mode |= ModeDevice | ModeCharDevice
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top