Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for msgid (0.18 sec)

  1. src/archive/tar/common.go

    	// Set file permission bits.
    	mode = fs.FileMode(fi.h.Mode).Perm()
    
    	// Set setuid, setgid and sticky bits.
    	if fi.h.Mode&c_ISUID != 0 {
    		mode |= fs.ModeSetuid
    	}
    	if fi.h.Mode&c_ISGID != 0 {
    		mode |= fs.ModeSetgid
    	}
    	if fi.h.Mode&c_ISVTX != 0 {
    		mode |= fs.ModeSticky
    	}
    
    	// Set file mode bits; clear perm, setuid, setgid, and sticky bits.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  2. api/go1.txt

    pkg syscall, const S_IFLNK ideal-int
    pkg syscall, const S_IFMT ideal-int
    pkg syscall, const S_IFREG ideal-int
    pkg syscall, const S_IFSOCK ideal-int
    pkg syscall, const S_IRUSR ideal-int
    pkg syscall, const S_ISGID ideal-int
    pkg syscall, const S_ISUID ideal-int
    pkg syscall, const S_ISVTX ideal-int
    pkg syscall, const S_IWUSR ideal-int
    pkg syscall, const S_IXUSR ideal-int
    pkg syscall, const TCP_NODELAY ideal-int
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
  3. api/go1.1.txt

    pkg syscall, const S_IFIFO = 4096
    pkg syscall, const S_IFLNK = 40960
    pkg syscall, const S_IFREG = 32768
    pkg syscall, const S_IFSOCK = 49152
    pkg syscall, const S_IRUSR = 256
    pkg syscall, const S_ISGID = 1024
    pkg syscall, const S_ISUID = 2048
    pkg syscall, const S_ISVTX = 512
    pkg syscall, const S_IWUSR = 128
    pkg syscall, const S_IXUSR = 64
    pkg syscall, const TCP_NODELAY = 1
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  4. src/archive/zip/struct.go

    	s_IFMT   = 0xf000
    	s_IFSOCK = 0xc000
    	s_IFLNK  = 0xa000
    	s_IFREG  = 0x8000
    	s_IFBLK  = 0x6000
    	s_IFDIR  = 0x4000
    	s_IFCHR  = 0x2000
    	s_IFIFO  = 0x1000
    	s_ISUID  = 0x800
    	s_ISGID  = 0x400
    	s_ISVTX  = 0x200
    
    	msdosDir      = 0x10
    	msdosReadOnly = 0x01
    )
    
    // Mode returns the permission and mode bits for the [FileHeader].
    func (h *FileHeader) Mode() (mode fs.FileMode) {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  5. src/archive/tar/tar_test.go

    	if err != nil {
    		t.Fatalf("FileInfoHeader: %v", err)
    	}
    	if g, e := h.Name, "testdata/"; g != e {
    		t.Errorf("Name = %q; want %q", g, e)
    	}
    	// Ignoring c_ISGID for golang.org/issue/4867
    	if g, e := h.Mode&^c_ISGID, int64(fi.Mode().Perm()); g != e {
    		t.Errorf("Mode = %#o; want %#o", g, e)
    	}
    	if g, e := h.Size, int64(0); g != e {
    		t.Errorf("Size = %v; want %v", g, e)
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
Back to top