Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 198 for filemode (0.1 sec)

  1. src/os/dirent_aix.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_linux.go

    	if !ok {
    		return 0, false
    	}
    	return reclen - uint64(unsafe.Offsetof(syscall.Dirent{}.Name)), true
    }
    
    func direntType(buf []byte) FileMode {
    	off := unsafe.Offsetof(syscall.Dirent{}.Type)
    	if off >= uintptr(len(buf)) {
    		return ^FileMode(0) // unknown
    	}
    	typ := buf[off]
    	switch typ {
    	case syscall.DT_BLK:
    		return ModeDevice
    	case syscall.DT_CHR:
    		return ModeDevice | ModeCharDevice
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 00:59:20 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  3. src/os/dirent_openbsd.go

    	return readInt(buf, unsafe.Offsetof(syscall.Dirent{}.Namlen), unsafe.Sizeof(syscall.Dirent{}.Namlen))
    }
    
    func direntType(buf []byte) FileMode {
    	off := unsafe.Offsetof(syscall.Dirent{}.Type)
    	if off >= uintptr(len(buf)) {
    		return ^FileMode(0) // unknown
    	}
    	typ := buf[off]
    	switch typ {
    	case syscall.DT_BLK:
    		return ModeDevice
    	case syscall.DT_CHR:
    		return ModeDevice | ModeCharDevice
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 00:59:20 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  4. src/os/types_plan9.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     any
    }
    
    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: Sat Oct 08 03:57:40 UTC 2022
    - 797 bytes
    - Viewed (0)
  5. src/go/doc/testdata/blank.1.golden

    		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
    - 1001 bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/DefaultCopySpecResolutionTest.groovy

            childResolver.fileMode == 0x1
            childResolver.dirMode == 0x2
    
            when:
            child.fileMode = 0x3
            child.dirMode = 0x4
    
            then:
            childResolver.fileMode == 0x3
            childResolver.dirMode == 0x4
        }
    
        def canWalkDownTreeCreatedUsingFromIntegrationTest() {
    
            CopySpec child = parentSpec.from('somedir') { into 'child' }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 28 12:39:32 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  7. src/os/types.go

    type FileInfo = fs.FileInfo
    
    // A FileMode represents a file's mode and permission bits.
    // The bits have the same definition on all systems, so that
    // information about files can be moved from one system
    // to another portably. Not all bits apply to all systems.
    // The only required bit is [ModeDir] for directories.
    type FileMode = fs.FileMode
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. pkg/kubelet/certificate/kubelet_test.go

    	}
    
    	certPath := filepath.Join(certDir, "kubelet.cert")
    	keyPath := filepath.Join(certDir, "kubelet.key")
    	if err := removeThenCreate(certPath, cert, os.FileMode(0644)); err != nil {
    		return "", "", err
    	}
    
    	if err := removeThenCreate(keyPath, key, os.FileMode(0600)); err != nil {
    		return "", "", err
    	}
    
    	return certPath, keyPath, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 03:07:40 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. testing/architecture-test/src/changes/archunit-store/internal-api-symmetrical-accessors-nullability.txt

    Accessors for org.gradle.api.internal.file.copy.CopySpecWrapper.fileMode don't use symmetrical @Nullable
    Accessors for org.gradle.api.internal.file.copy.DefaultCopySpec.dirMode don't use symmetrical @Nullable
    Accessors for org.gradle.api.internal.file.copy.DefaultCopySpec.fileMode don't use symmetrical @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. apache-maven/src/assembly/component.xml

            <include>mvnDebug</include>
            <!-- This is so that CI systems can periodically run the profiler -->
            <include>mvnyjp</include>
          </includes>
          <lineEnding>unix</lineEnding>
          <fileMode>0755</fileMode>
        </fileSet>
        <fileSet>
          <directory>src/assembly/maven/conf</directory>
          <outputDirectory>conf</outputDirectory>
        </fileSet>
        <fileSet>
          <directory>src/assembly/maven/lib</directory>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Jun 04 19:03:41 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top