Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 198 for filemode (0.15 sec)

  1. src/os/dirent_solaris.go

    	reclen, ok := direntReclen(buf)
    	if !ok {
    		return 0, false
    	}
    	return reclen - uint64(unsafe.Offsetof(syscall.Dirent{}.Name)), true
    }
    
    func direntType(buf []byte) FileMode {
    	return ^FileMode(0) // unknown
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 00:59:20 UTC 2020
    - 759 bytes
    - Viewed (0)
  2. src/os/dirent_js.go

    	reclen, ok := direntReclen(buf)
    	if !ok {
    		return 0, false
    	}
    	return reclen - uint64(unsafe.Offsetof(syscall.Dirent{}.Name)), true
    }
    
    func direntType(buf []byte) FileMode {
    	return ^FileMode(0) // unknown
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 00:59:20 UTC 2020
    - 678 bytes
    - Viewed (0)
  3. pom.xml

    						<mapping>
    							<directory>${packaging.fess.var.dir}</directory>
    							<filemode>755</filemode>
    							<username>${packaging.fess.user}</username>
    							<groupname>${packaging.fess.group}</groupname>
    						</mapping>
    						<!-- bin -->
    						<mapping>
    							<directory>${packaging.fess.bin.dir}</directory>
    							<filemode>755</filemode>
    							<sources>
    								<source>
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 30 06:49:02 UTC 2024
    - 48.7K bytes
    - Viewed (1)
  4. 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]))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. src/os/types_unix.go

    // A fileStat is the implementation of FileInfo returned by Stat and Lstat.
    type fileStat struct {
    	name    string
    	size    int64
    	mode    FileMode
    	modTime time.Time
    	sys     syscall.Stat_t
    }
    
    func (fs *fileStat) Size() int64        { return fs.size }
    func (fs *fileStat) Mode() FileMode     { return fs.mode }
    func (fs *fileStat) ModTime() time.Time { return fs.modTime }
    func (fs *fileStat) Sys() any           { return &fs.sys }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 776 bytes
    - Viewed (0)
  6. pkg/kubelet/container/testing/os.go

    	MkdirAllFn func(string, os.FileMode) error
    	SymlinkFn  func(string, string) error
    	GlobFn     func(string, string) bool
    	HostName   string
    	Removes    []string
    	Files      map[string][]*os.FileInfo
    	FilesLock  sync.RWMutex
    }
    
    // Mkdir is a fake call that just returns nil.
    func (f *FakeOS) MkdirAll(path string, perm os.FileMode) error {
    	if f.MkdirAllFn != nil {
    		return f.MkdirAllFn(path, perm)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 07 13:37:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. src/go/doc/testdata/blank.go

    	C3
    	redQueen int = iota
    	C4
    )
    
    // Constants with a single type that is not propagated.
    const (
    	zero     os.FileMode = 0
    	Default              = 0644
    	Useless              = 0312
    	WideOpen             = 0777
    )
    
    // Constants with an imported type that is propagated.
    const (
    	zero os.FileMode = 0
    	M1
    	M2
    	M3
    )
    
    // Package constants.
    const (
    	_ int = iota
    	I1
    	I2
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 18:01:14 UTC 2017
    - 1.1K bytes
    - Viewed (0)
  8. cmd/kube-scheduler/app/options/configfile_test.go

    	if err := os.WriteFile(correctConfigFile,
    		[]byte(schedulerConfigMinimalCorrect),
    		os.FileMode(0600)); err != nil {
    		t.Fatal(err)
    	}
    
    	decodeErrConfigFile := filepath.Join(tmpDir, "decode_err_no_version_config.yaml")
    	if err := os.WriteFile(decodeErrConfigFile,
    		[]byte(schedulerConfigDecodeErr),
    		os.FileMode(0600)); err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 22 13:43:42 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. cmd/os-instrumented.go

    }
    
    // Mkdir captures time taken to call os.Mkdir
    func Mkdir(dirPath string, mode os.FileMode) (err error) {
    	defer updateOSMetrics(osMetricMkdir, dirPath)(err)
    	return os.Mkdir(dirPath, mode)
    }
    
    // MkdirAll captures time taken to call os.MkdirAll
    func MkdirAll(dirPath string, mode os.FileMode, baseDir string) (err error) {
    	defer updateOSMetrics(osMetricMkdirAll, dirPath)(err)
    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. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/DefaultCopySpecCodec.kt

                if (dirMode != null) {
                    copySpec.dirPermissions.set(fileSystemOperations.permissions(dirMode))
                }
                if (fileMode != null) {
                    copySpec.filePermissions.set(fileSystemOperations.permissions(fileMode))
                }
                isolate.identities.putInstance(id, copySpec)
                copySpec
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top