Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for crctab (1.28 sec)

  1. src/compress/bzip2/bzip2.go

    // causing the bits in the input to be processed in the reverse of the usual order.
    
    var crctab [256]uint32
    
    func init() {
    	const poly = 0x04C11DB7
    	for i := range crctab {
    		crc := uint32(i) << 24
    		for j := 0; j < 8; j++ {
    			if crc&0x80000000 != 0 {
    				crc = (crc << 1) ^ poly
    			} else {
    				crc <<= 1
    			}
    		}
    		crctab[i] = crc
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. src/debug/gosym/pclntab.go

    		t.funcnametab = data(3)
    		t.cutab = data(4)
    		t.filetab = data(5)
    		t.pctab = data(6)
    		t.funcdata = data(7)
    		t.functab = data(7)
    		functabsize := (int(t.nfunctab)*2 + 1) * t.functabFieldSize()
    		t.functab = t.functab[:functabsize]
    	case ver116:
    		t.nfunctab = uint32(offset(0))
    		t.nfiletab = uint32(offset(1))
    		t.funcnametab = data(2)
    		t.cutab = data(3)
    		t.filetab = data(4)
    		t.pctab = data(5)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 19:43:24 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  3. src/hash/crc32/crc32_amd64.s

    //     a, b, c []byte,
    //     rounds uint32,
    // ) (retA uint32, retB uint32, retC uint32)
    TEXT ·castagnoliSSE42Triple(SB),NOSPLIT,$0
    	MOVL crcA+0(FP), AX
    	MOVL crcB+4(FP), CX
    	MOVL crcC+8(FP), DX
    
    	MOVQ a+16(FP), R8   // data pointer
    	MOVQ b+40(FP), R9   // data pointer
    	MOVQ c+64(FP), R10  // data pointer
    
    	MOVL rounds+88(FP), R11
    
    loop:
    	CRC32Q (R8), AX
    	CRC32Q (R9), CX
    	CRC32Q (R10), DX
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 01 21:52:00 UTC 2018
    - 5.4K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/pcln.go

    	return cuOffsets
    }
    
    // generatePctab creates the runtime.pctab variable, holding all the
    // deduplicated pcdata.
    func (state *pclntab) generatePctab(ctxt *Link, funcs []loader.Sym) {
    	ldr := ctxt.loader
    
    	// Pctab offsets of 0 are considered invalid in the runtime. We respect
    	// that by just padding a single byte at the beginning of runtime.pctab,
    	// that way no real offsets can be zero.
    	size := int64(1)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  5. src/hash/crc32/crc32_amd64.go

    		// Compute CRC(I, A), CRC(0, B), and CRC(0, C).
    		crcA, crcB, crcC := castagnoliSSE42Triple(
    			crc, 0, 0,
    			p, p[castagnoliK2:], p[castagnoliK2*2:],
    			castagnoliK2/24)
    
    		// CRC(I, AB) = CRC(CRC(I, A), O) xor CRC(0, B)
    		crcAB := castagnoliShift(castagnoliSSE42TableK2, crcA) ^ crcB
    		// CRC(I, ABC) = CRC(CRC(I, AB), O) xor CRC(0, C)
    		crc = castagnoliShift(castagnoliSSE42TableK2, crcAB) ^ crcC
    		p = p[castagnoliK2*3:]
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/inline/inlheur/scoring.go

    	if resultNameTab != nil {
    		csa.rescoreBasedOnCallResultUses(fn, resultNameTab, cstab)
    	}
    
    	disableDebugTrace()
    
    	if ic != nil && callSiteTab != nil {
    		// Integrate the calls from this cstab into the table for the caller.
    		if err := callSiteTab.merge(cstab); err != nil {
    			base.FatalfAt(ic.Pos(), "%v", err)
    		}
    	} else {
    		callSiteTab = cstab
    	}
    }
    
    // ScoreCallsCleanup resets the state of the callsite cache
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  7. src/runtime/symtab.go

    	funcnameOffset uintptr // offset to the funcnametab variable from pcHeader
    	cuOffset       uintptr // offset to the cutab variable from pcHeader
    	filetabOffset  uintptr // offset to the filetab variable from pcHeader
    	pctabOffset    uintptr // offset to the pctab variable from pcHeader
    	pclnOffset     uintptr // offset to the pclntab variable from pcHeader
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  8. src/math/cmplx/log.go

    //
    // DESCRIPTION:
    //
    // Returns complex logarithm to the base e (2.718...) of
    // the complex argument z.
    //
    // If
    //       z = x + iy, r = sqrt( x**2 + y**2 ),
    // then
    //       w = log(r) + i arctan(y/x).
    //
    // The arctangent ranges from -PI to +PI.
    //
    // ACCURACY:
    //
    //                      Relative error:
    // arithmetic   domain     # trials      peak         rms
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/walk/switch.go

    	ifNil.Cond = ir.NewBinaryExpr(base.Pos, ir.OEQ, srcItab, typecheck.NodNil())
    	base.Pos = base.Pos.WithNotStmt() // disable statement marks after the first check.
    	ifNil.Cond = typecheck.Expr(ifNil.Cond)
    	ifNil.Cond = typecheck.DefaultLit(ifNil.Cond, nil)
    	// ifNil.Nbody assigned later.
    	sw.Compiled.Append(ifNil)
    
    	// Load hash from type or itab.
    	dotHash := typeHashFieldOf(base.Pos, srcItab)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  10. src/cmd/covdata/metamerge.go

    	// array and then call "f" on it.
    	for pidx, p := range mm.pkgs {
    		fids := make([]int, 0, len(p.ctab))
    		for fid := range p.ctab {
    			fids = append(fids, int(fid))
    		}
    		sort.Ints(fids)
    		if *verbflag >= 4 {
    			fmt.Printf("fids for pk=%d: %+v\n", pidx, fids)
    		}
    		for _, fid := range fids {
    			fp := p.ctab[uint32(fid)]
    			if *verbflag >= 4 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 17:17:47 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top