Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 206 for isize (0.04 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/math/big/gcd_test.go

    	"testing"
    )
    
    // randInt returns a pseudo-random Int in the range [1<<(size-1), (1<<size) - 1]
    func randInt(r *rand.Rand, size uint) *Int {
    	n := new(Int).Lsh(intOne, size-1)
    	x := new(Int).Rand(r, n)
    	return x.Add(x, n) // make sure result > 1<<(size-1)
    }
    
    func runGCD(b *testing.B, aSize, bSize uint) {
    	if isRaceBuilder && (aSize > 1000 || bSize > 1000) {
    		b.Skip("skipping on race builder")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 19:11:43 UTC 2016
    - 2.2K bytes
    - Viewed (0)
  7. 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)
  8. src/main/java/jcifs/smb/SmbCopyUtil.java

                    do {
                        long ooff = 0;
                        while ( ooff < size ) {
                            long wsize = size - ooff;
                            if ( wsize > byteLimit ) {
                                wsize = byteLimit;
                            }
    
                            int chunks = (int) ( wsize / maxChunkSize );
                            int lastChunkSize;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 17.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top