Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 163 for isize (0.13 sec)

  1. src/cmd/asm/internal/asm/endtoend_test.go

    		if text == nil {
    			t.Errorf("%s: instruction outside TEXT", p)
    		}
    		size := int64(len(text.P)) - p.Pc
    		if p.Link != nil {
    			size = p.Link.Pc - p.Pc
    		} else if p.Isize != 0 {
    			size = int64(p.Isize)
    		}
    		var code []byte
    		if p.Pc < int64(len(text.P)) {
    			code = text.P[p.Pc:]
    			if size < int64(len(code)) {
    				code = code[:size]
    			}
    		}
    		codeHex := fmt.Sprintf("%x", code)
    		if codeHex == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 18:42:59 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/volumebinding/binder.go

    func (a byPVCSize) Swap(i, j int) {
    	a[i], a[j] = a[j], a[i]
    }
    
    func (a byPVCSize) Less(i, j int) bool {
    	iSize := a[i].Spec.Resources.Requests[v1.ResourceStorage]
    	jSize := a[j].Spec.Resources.Requests[v1.ResourceStorage]
    	// return true if iSize is less than jSize
    	return iSize.Cmp(jSize) == -1
    }
    
    // isCSIMigrationOnForPlugin checks if CSI migration is enabled for a given plugin.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/x86/asm6.go

    		pp := n.p
    		np := &obj.Prog{Link: pp.Link, Ctxt: pp.Ctxt, As: obj.ANOP, Pos: pp.Pos.WithNotStmt(), Pc: pp.Pc + int64(pp.Isize), Isize: uint8(n.n)}
    		pp.Link = np
    	}
    
    	s.Size = int64(c)
    
    	if false { /* debug['a'] > 1 */
    		fmt.Printf("span1 %s %d (%d tries)\n %.6x", s.Name, s.Size, n, 0)
    		var i int
    		for i = 0; i < len(s.P); i++ {
    			fmt.Printf(" %.2x", s.P[i])
    			if i%16 == 15 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/ianlancetaylor/demangle/rust.go

    	}
    }
    
    var rustBasicTypes = map[byte]string{
    	'a': "i8",
    	'b': "bool",
    	'c': "char",
    	'd': "f64",
    	'e': "str",
    	'f': "f32",
    	'h': "u8",
    	'i': "isize",
    	'j': "usize",
    	'l': "i32",
    	'm': "u32",
    	'n': "i128",
    	'o': "u128",
    	'p': "_",
    	's': "i16",
    	't': "u16",
    	'u': "()",
    	'v': "...",
    	'x': "i64",
    	'y': "u64",
    	'z': "!",
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 23.3K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/link.go

    	var sym LSym
    
    	var b [8]byte
    	writeByte := func(x byte) {
    		sym.WriteBytes(ctxt, sym.Size, []byte{x})
    	}
    	writeUint32 := func(x uint32) {
    		binary.LittleEndian.PutUint32(b[:], x)
    		sym.WriteBytes(ctxt, sym.Size, b[:4])
    	}
    	writeInt64 := func(x int64) {
    		binary.LittleEndian.PutUint64(b[:], uint64(x))
    		sym.WriteBytes(ctxt, sym.Size, b[:])
    	}
    	writeString := func(s string) {
    		writeUint32(uint32(len(s)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  6. src/runtime/msize.go

    // Malloc small size classes.
    //
    // See malloc.go for overview.
    // See also mksizeclasses.go for how we decide what size classes to use.
    
    package runtime
    
    // Returns size of the memory block that mallocgc will allocate if you ask for the size,
    // minus any inline space for metadata.
    func roundupsize(size uintptr, noscan bool) (reqSize uintptr) {
    	reqSize = size
    	if reqSize <= maxSmallSize-mallocHeaderSize {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types/size.go

    		intRegs += uint64(typ.intRegs)
    		floatRegs += uint64(typ.floatRegs)
    	}
    
    	// Final size includes trailing padding.
    	size = RoundUp(size, int64(maxAlign))
    
    	if intRegs > math.MaxUint8 || floatRegs > math.MaxUint8 {
    		intRegs = math.MaxUint8
    		floatRegs = math.MaxUint8
    	}
    
    	t.width = size
    	t.align = maxAlign
    	t.intRegs = uint8(intRegs)
    	t.floatRegs = uint8(floatRegs)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. src/math/big/rat.go

    func quotToFloat32(a, b nat) (f float32, exact bool) {
    	const (
    		// float size in bits
    		Fsize = 32
    
    		// mantissa
    		Msize  = 23
    		Msize1 = Msize + 1 // incl. implicit 1
    		Msize2 = Msize1 + 1
    
    		// exponent
    		Esize = Fsize - Msize1
    		Ebias = 1<<(Esize-1) - 1
    		Emin  = 1 - Ebias
    		Emax  = Ebias
    	)
    
    	// TODO(adonovan): specialize common degenerate cases: 1.0, integers.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  9. src/cmd/internal/archive/archive.go

    		fsize := size + size&1
    		if fsize < 0 || fsize < size {
    			return errCorruptArchive
    		}
    		switch name {
    		case "__.PKGDEF":
    			r.a.Entries = append(r.a.Entries, Entry{
    				Name:  name,
    				Type:  EntryPkgDef,
    				Mtime: mtime,
    				Uid:   uid,
    				Gid:   gid,
    				Mode:  mode,
    				Data:  Data{r.offset, size},
    			})
    			r.skip(size)
    		case "preferlinkext", "dynimportfail":
    			if size == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 15:39:57 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go

    }
    type Fsid64_t struct {
    	Val [2]uint64
    }
    
    type Statfs_t struct {
    	Version   int32
    	Type      int32
    	Bsize     uint32
    	Blocks    uint32
    	Bfree     uint32
    	Bavail    uint32
    	Files     uint32
    	Ffree     uint32
    	Fsid      Fsid_t
    	Vfstype   int32
    	Fsize     uint32
    	Vfsnumber int32
    	Vfsoff    int32
    	Vfslen    int32
    	Vfsvers   int32
    	Fname     [32]uint8
    	Fpack     [32]uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top