Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 159 for filemode (0.12 sec)

  1. src/os/dirent_wasip1.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
    	}
    	switch syscall.Filetype(buf[off]) {
    	case syscall.FILETYPE_BLOCK_DEVICE:
    		return ModeDevice
    	case syscall.FILETYPE_CHARACTER_DEVICE:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:21 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. src/io/fs/fs.go

    func (m FileMode) IsDir() bool {
    	return m&ModeDir != 0
    }
    
    // IsRegular reports whether m describes a regular file.
    // That is, it tests that no mode type bits are set.
    func (m FileMode) IsRegular() bool {
    	return m&ModeType == 0
    }
    
    // Perm returns the Unix permission bits in m (m & [ModePerm]).
    func (m FileMode) Perm() FileMode {
    	return m & ModePerm
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 15 21:21:41 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. api/except.txt

    pkg os, const ModeAppend FileMode
    pkg os, const ModeCharDevice FileMode
    pkg os, const ModeDevice FileMode
    pkg os, const ModeDir FileMode
    pkg os, const ModeExclusive FileMode
    pkg os, const ModeIrregular FileMode
    pkg os, const ModeNamedPipe FileMode
    pkg os, const ModePerm FileMode
    pkg os, const ModeSetgid FileMode
    pkg os, const ModeSetuid FileMode
    pkg os, const ModeSocket FileMode
    pkg os, const ModeSticky FileMode
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:13:30 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  4. src/io/fs/format_test.go

    type formatTest struct {
    	name    string
    	size    int64
    	mode    FileMode
    	modTime time.Time
    	isDir   bool
    }
    
    func (fs *formatTest) Name() string {
    	return fs.name
    }
    
    func (fs *formatTest) Size() int64 {
    	return fs.size
    }
    
    func (fs *formatTest) Mode() FileMode {
    	return fs.mode
    }
    
    func (fs *formatTest) ModTime() time.Time {
    	return fs.modTime
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 02 17:59:28 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. 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)
  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