Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 148 for Fileno (0.16 sec)

  1. cmd/os-dirent_fileino.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import "syscall"
    
    func direntInode(dirent *syscall.Dirent) uint64 {
    	return uint64(dirent.Fileno)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 950 bytes
    - Viewed (0)
  2. api/except.txt

    pkg syscall (freebsd-386), const O_CLOEXEC = 0
    pkg syscall (freebsd-386), func Fchflags(string, int) error
    pkg syscall (freebsd-386), func Mknod(string, uint32, int) error
    pkg syscall (freebsd-386), type Dirent struct, Fileno uint32
    pkg syscall (freebsd-386), type Dirent struct, Namlen uint8
    pkg syscall (freebsd-386), type Stat_t struct, Blksize uint32
    pkg syscall (freebsd-386), type Stat_t struct, Dev uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:13:30 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/sink/AnsiConsoleUtil.java

         */
        private static OutputStream wrapOutputStream(final OutputStream stream, int fileno) {
    
            // If the jansi.passthrough property is set, then don't interpret
            // any of the ansi sequences.
            if (Boolean.getBoolean("jansi.passthrough")) {
                return stream;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 6K bytes
    - Viewed (0)
  4. src/syscall/syscall_netbsd.go

    			}
    		}
    		if len(mib) != partno+1 {
    			return nil, EINVAL
    		}
    	}
    
    	return mib, nil
    }
    
    func direntIno(buf []byte) (uint64, bool) {
    	return readInt(buf, unsafe.Offsetof(Dirent{}.Fileno), unsafe.Sizeof(Dirent{}.Fileno))
    }
    
    func direntReclen(buf []byte) (uint64, bool) {
    	return readInt(buf, unsafe.Offsetof(Dirent{}.Reclen), unsafe.Sizeof(Dirent{}.Reclen))
    }
    
    func direntNamlen(buf []byte) (uint64, bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:12:35 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  5. src/syscall/syscall_openbsd.go

    		default:
    			right = idx - 1
    		}
    		if left > right {
    			break
    		}
    	}
    	return nil, EINVAL
    }
    
    func direntIno(buf []byte) (uint64, bool) {
    	return readInt(buf, unsafe.Offsetof(Dirent{}.Fileno), unsafe.Sizeof(Dirent{}.Fileno))
    }
    
    func direntReclen(buf []byte) (uint64, bool) {
    	return readInt(buf, unsafe.Offsetof(Dirent{}.Reclen), unsafe.Sizeof(Dirent{}.Reclen))
    }
    
    func direntNamlen(buf []byte) (uint64, bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 10:34:00 UTC 2023
    - 7K bytes
    - Viewed (0)
  6. src/runtime/symtab.go

    	if !f.valid() {
    		return "?", 0
    	}
    	fileno, _ := pcvalue(f, f.pcfile, targetpc, strict)
    	line, _ = pcvalue(f, f.pcln, targetpc, strict)
    	if fileno == -1 || line == -1 || int(fileno) >= len(datap.filetab) {
    		// print("looking for ", hex(targetpc), " in ", funcname(f), " got file=", fileno, " line=", lineno, "\n")
    		return "?", 0
    	}
    	file = funcfile(f, fileno)
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  7. src/syscall/ztypes_netbsd_386.go

    	Spare         [2]uint32
    }
    
    type Statfs_t [0]byte
    
    type Flock_t struct {
    	Start  int64
    	Len    int64
    	Pid    int32
    	Type   int16
    	Whence int16
    }
    
    type Dirent struct {
    	Fileno    uint64
    	Reclen    uint16
    	Namlen    uint16
    	Type      uint8
    	Name      [512]int8
    	Pad_cgo_0 [3]byte
    }
    
    type Fsid struct {
    	X__fsid_val [2]int32
    }
    
    const (
    	pathMax = 0x400
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6K bytes
    - Viewed (0)
  8. src/syscall/ztypes_netbsd_amd64.go

    	Pad_cgo_2     [4]byte
    }
    
    type Statfs_t [0]byte
    
    type Flock_t struct {
    	Start  int64
    	Len    int64
    	Pid    int32
    	Type   int16
    	Whence int16
    }
    
    type Dirent struct {
    	Fileno    uint64
    	Reclen    uint16
    	Namlen    uint16
    	Type      uint8
    	Name      [512]int8
    	Pad_cgo_0 [3]byte
    }
    
    type Fsid struct {
    	X__fsid_val [2]int32
    }
    
    const (
    	pathMax = 0x400
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6.2K bytes
    - Viewed (0)
  9. src/syscall/syscall_freebsd.go

    		return nil, err
    	}
    	return buf[0 : n/siz], nil
    }
    
    func direntIno(buf []byte) (uint64, bool) {
    	return readInt(buf, unsafe.Offsetof(Dirent{}.Fileno), unsafe.Sizeof(Dirent{}.Fileno))
    }
    
    func direntReclen(buf []byte) (uint64, bool) {
    	return readInt(buf, unsafe.Offsetof(Dirent{}.Reclen), unsafe.Sizeof(Dirent{}.Reclen))
    }
    
    func direntNamlen(buf []byte) (uint64, bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:12:35 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/resolver.go

    // filename returns a filename suitable for debugging output.
    func (check *Checker) filename(fileNo int) string {
    	file := check.files[fileNo]
    	if pos := file.Pos(); pos.IsKnown() {
    		// return check.fset.File(pos).Name()
    		// TODO(gri) do we need the actual file name here?
    		return pos.RelFilename()
    	}
    	return fmt.Sprintf("file[%d]", fileNo)
    }
    
    func (check *Checker) importPackage(pos syntax.Pos, path, dir string) *Package {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
Back to top