Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for Siz (0.02 sec)

  1. src/cmd/internal/obj/data.go

    	}
    	r.Siz = uint8(siz)
    	r.Sym = rsym
    	r.Type = rtype
    	r.Add = roff
    }
    
    // WriteAddr writes an address of size siz into s at offset off.
    // rsym and roff specify the relocation for the address.
    func (s *LSym) WriteAddr(ctxt *Link, off int64, siz int, rsym *LSym, roff int64) {
    	s.writeAddr(ctxt, off, siz, rsym, roff, objabi.R_ADDR)
    }
    
    // WriteWeakAddr writes an address of size siz into s at offset off.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 24 14:38:53 UTC 2021
    - 6.7K bytes
    - Viewed (0)
  2. src/internal/coverage/calloc/batchcounteralloc.go

    type BatchCounterAlloc struct {
    	pool []uint32
    }
    
    func (ca *BatchCounterAlloc) AllocateCounters(n int) []uint32 {
    	const chunk = 8192
    	if n > cap(ca.pool) {
    		siz := chunk
    		if n > chunk {
    			siz = n
    		}
    		ca.pool = make([]uint32, siz)
    	}
    	rv := ca.pool[:n]
    	ca.pool = ca.pool[n:]
    	return rv
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:47:16 UTC 2022
    - 754 bytes
    - Viewed (0)
  3. src/runtime/cgo/handle_test.go

    			t.Fatalf("Value of a Handle got wrong, got %+v %+v, want %+v", h1v, h2v, tt.v1)
    		}
    
    		h1.Delete()
    		h2.Delete()
    	}
    
    	siz := 0
    	handles.Range(func(k, v any) bool {
    		siz++
    		return true
    	})
    	if siz != 0 {
    		t.Fatalf("handles are not cleared, got %d, want %d", siz, 0)
    	}
    }
    
    func TestInvalidHandle(t *testing.T) {
    	t.Run("zero", func(t *testing.T) {
    		h := Handle(0)
    
    		defer func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  4. src/crypto/aes/gcm_s390x.go

    	var ctrbuf, srcbuf [2048]byte
    	for len(src) >= 16 {
    		siz := len(src)
    		if len(src) > len(ctrbuf) {
    			siz = len(ctrbuf)
    		}
    		siz &^= 0xf // align siz to 16-bytes
    		copy(srcbuf[:], src[:siz])
    		cryptBlocksGCM(g.block.function, g.block.key, dst[:siz], srcbuf[:siz], ctrbuf[:], cnt)
    		src = src[siz:]
    		dst = dst[siz:]
    	}
    	if len(src) > 0 {
    		var x [16]byte
    		g.block.Encrypt(x[:], cnt[:])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. src/cmd/link/internal/s390x/asm.go

    			if isdbl {
    				switch siz {
    				case 2:
    					elfrel = elf.R_390_PLT16DBL
    				case 4:
    					elfrel = elf.R_390_PLT32DBL
    				}
    			} else {
    				switch siz {
    				case 4:
    					elfrel = elf.R_390_PLT32
    				case 8:
    					elfrel = elf.R_390_PLT64
    				}
    			}
    		} else {
    			if isdbl {
    				switch siz {
    				case 2:
    					elfrel = elf.R_390_PC16DBL
    				case 4:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  6. src/cmd/internal/goobj/objfile_test.go

    	var s2 Sym
    	s2.fromBytes(b)
    	if s2.ABI() != 1 || s2.Type() != uint8(objabi.STEXT) || s2.Flag() != 0x12 || s2.Siz() != 12345 || s2.Align() != 8 {
    		t.Errorf("read Sym2 mismatch: got %v %v %v %v %v", s2.ABI(), s2.Type(), s2.Flag(), s2.Siz(), s2.Align())
    	}
    
    	b = b[SymSize:]
    	var r2 Reloc
    	r2.fromBytes(b)
    	if r2.Off() != 12 || r2.Siz() != 4 || r2.Type() != uint16(objabi.R_ADDR) || r2.Add() != 54321 || r2.Sym() != (SymRef{11, 22}) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:22:12 UTC 2022
    - 3K bytes
    - Viewed (0)
  7. src/crypto/aes/gcm_ppc64x.go

    // 16-bytes. It then calculates a new value for hash using the ghash
    // algorithm.
    func (g *gcmAsm) paddedGHASH(hash *[16]byte, data []byte) {
    	if siz := len(data) - (len(data) % gcmBlockSize); siz > 0 {
    		gcmHash(hash[:], &g.productTable, data[:], siz)
    		data = data[siz:]
    	}
    	if len(data) > 0 {
    		var s [16]byte
    		copy(s[:], data)
    		gcmHash(hash[:], &g.productTable, s[:], len(s))
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. docs/az/docs/learn/index.md

    # Öyrən
    
    Burada **FastAPI** öyrənmək üçün giriş bölmələri və dərsliklər yer alır.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 09 00:39:20 UTC 2024
    - 212 bytes
    - Viewed (0)
  9. src/cmd/link/internal/x86/asm.go

    	out.Write32(uint32(sectoff))
    
    	elfsym := ld.ElfSymForReloc(ctxt, r.Xsym)
    	siz := r.Size
    	switch r.Type {
    	default:
    		return false
    	case objabi.R_ADDR, objabi.R_DWARFSECREF:
    		if siz == 4 {
    			out.Write32(uint32(elf.R_386_32) | uint32(elfsym)<<8)
    		} else {
    			return false
    		}
    	case objabi.R_GOTPCREL:
    		if siz == 4 {
    			out.Write32(uint32(elf.R_386_GOTPC))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  10. src/cmd/internal/objfile/goobj.go

    			Addr: uint64(r.DataOff(i)),
    			Size: int64(osym.Siz()),
    			Code: code,
    		}
    
    		relocs := r.Relocs(i)
    		sym.Relocs = make([]Reloc, len(relocs))
    		for j := range relocs {
    			rel := &relocs[j]
    			sym.Relocs[j] = Reloc{
    				Addr: uint64(r.DataOff(i)) + uint64(rel.Off()),
    				Size: uint64(rel.Siz()),
    				Stringer: goobjReloc{
    					Off:  rel.Off(),
    					Size: rel.Siz(),
    					Type: objabi.RelocType(rel.Type()),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 15:39:57 UTC 2023
    - 7.8K bytes
    - Viewed (0)
Back to top