Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for bp (0.04 sec)

  1. internal/bpool/bpool.go

    func (bp *BytePoolCap) Populate() {
    	for _, buf := range reedsolomon.AllocAligned(cap(bp.c), bp.wcap) {
    		bp.Put(buf[:bp.w])
    	}
    }
    
    // Get gets a []byte from the BytePool, or creates a new one if none are
    // available in the pool.
    func (bp *BytePoolCap) Get() (b []byte) {
    	if bp == nil {
    		return nil
    	}
    	select {
    	case b = <-bp.c:
    		// reuse existing buffer
    	default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/amd64error.s

    	VPGATHERQQ (BP)(X2*2), K1, X2   // ERROR "index and destination registers should be distinct"
    	VPGATHERQQ (BP)(Y15*2), K1, Y15 // ERROR "index and destination registers should be distinct"
    	VPGATHERQQ (BP)(Z20*2), K1, Z20 // ERROR "index and destination registers should be distinct"
    	VPGATHERDQ (BP)(X2*2), K1, X2   // ERROR "index and destination registers should be distinct"
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  3. internal/bpool/bpool_test.go

    	bp.Put(make([]byte, bp.w, bp.wcap+1)) // wrong capacity is rejected (more)
    	bp.Put(make([]byte, width))           // wrong capacity is rejected (very less)
    	if len(bp.c) > 0 {
    		t.Fatal("bytepool should have rejected invalid packets")
    	}
    
    	// Try putting a short slice into pool
    	bp.Put(make([]byte, bp.w, bp.wcap)[:2])
    	if len(bp.c) != 1 {
    		t.Fatal("bytepool should have accepted short slice with sufficient capacity")
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/operand_test.go

    	{"$~15", "$-16"},
    	{"(((8)&0xf)*4)(SP)", "32(SP)"},
    	{"(((8-14)&0xf)*4)(SP)", "40(SP)"},
    	{"(6+8)(AX)", "14(AX)"},
    	{"(8*4)(BP)", "32(BP)"},
    	{"(AX)", "(AX)"},
    	{"(AX)(CX*8)", "(AX)(CX*8)"},
    	{"(BP)(CX*4)", "(BP)(CX*4)"},
    	{"(BP)(DX*4)", "(BP)(DX*4)"},
    	{"(BP)(R8*4)", "(BP)(R8*4)"},
    	{"(BX)", "(BX)"},
    	{"(DI)", "(DI)"},
    	{"(DI)(BX*1)", "(DI)(BX*1)"},
    	{"(DX)", "(DX)"},
    	{"(R9)", "(R9)"},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/amd64enc_extra.s

    	VPGATHERDQ Y0, 664(X14*8), Y6           // c4a2fd9034f598020000
    	VPGATHERQQ X2, (BP)(X7*2), X1           // c4e2e9914c7d00
    	VPGATHERQQ Y2, (BP)(Y7*2), Y1           // c4e2ed914c7d00
    	VPGATHERQQ X12, (R13)(X14*2), X11       // c40299915c7500
    	VPGATHERQQ Y12, (R13)(Y14*2), Y11       // c4029d915c7500
    	VPGATHERQQ X2, (BP)(X7*2), X1           // c4e2e9914c7d00
    	VPGATHERQQ Y2, (BP)(Y7*2), Y1           // c4e2ed914c7d00
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Apr 11 18:32:50 UTC 2023
    - 57.6K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/lex/lex_test.go

    			"#define KEYROUND(xmm, load, off, r1, r2, index) \\",
    			"\tMOVBLZX	(BP)(DX*4),	R8 \\",
    			"\tload((off+1), r2) \\",
    			"\tMOVB	R8,		(off*4)(R12) \\",
    			"\tPINSRW	$index, (BP)(R8*4), xmm",
    			"#define LOAD(off, reg) \\",
    			"\tMOVBLZX	(off*4)(R12),	reg \\",
    			"\tADDB	reg,		DX",
    			"KEYROUND(X0, LOAD, 8, AX, BX, 0)",
    		),
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. src/bytes/bytes.go

    	for _, v := range s {
    		if len(v) > maxInt-n {
    			panic("bytes: Join output length overflow")
    		}
    		n += len(v)
    	}
    
    	b := bytealg.MakeNoZero(n)[:n:n]
    	bp := copy(b, s[0])
    	for _, v := range s[1:] {
    		bp += copy(b[bp:], sep)
    		bp += copy(b[bp:], v)
    	}
    	return b
    }
    
    // HasPrefix reports whether the byte slice s begins with prefix.
    func HasPrefix(s, prefix []byte) bool {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  8. doc/asm.html

    </p>
    
    <pre>
    get_tls(CX)
    MOVQ	g(CX), AX     // Move g into AX.
    MOVQ	g_m(AX), BX   // Move g.m into BX.
    </pre>
    
    <p>
    Register <code>BP</code> is callee-save.
    The assembler automatically inserts <code>BP</code> save/restore when frame size is larger than zero.
    Using <code>BP</code> as a general purpose register is allowed,
    however it can interfere with sampling-based profiling.
    </p>
    
    <h3 id="arm">ARM</h3>
    
    <p>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Nov 28 19:15:27 UTC 2023
    - 36.3K bytes
    - Viewed (0)
  9. cmd/xl-storage.go

    	if basePath == "" || deletePath == "" {
    		return nil
    	}
    
    	bp := pathutil.Clean(basePath) // do not override basepath / or deletePath /
    	dp := pathutil.Clean(deletePath)
    	if !strings.HasPrefix(dp, bp) || dp == bp {
    		return nil
    	}
    
    	var err error
    	if recursive {
    		err = s.moveToTrash(deletePath, true, immediate)
    	} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.java

    nah?rtgnauq??kalkad?m&an&ah?gnauq??oc?utnok??n&a&ehgn?gnol?kcab?uhthni&b?n???e&ibneid?y&gnuh?u&gniaht?hp????osgnal??o&fni?ht&nac?uhp??i?rp??pahtgnod?t&en?ni?opsgolb,?u&a&hcial?mac?tgnuv-airab??de?eilcab??vog?zib???wo&rc?t!epac????o&76i4orfy--nx?a!.&bp?de?go?oc?ti?vg??boat??b!.&a&ci&sum?tilop??i&c&arcomed?neic??golo&ce?ncet??m&edaca?onoce??rt&ap?sudni??vilob??n&egidni?icidem??serpme?tsiver?vitarepooc??b&ew?og??dulas?e&rbmon?tr&a?op&ed?snart????g&olb?ro??ikiw?l&a&noi&canirulp?seforp??rutan??im??mo...
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 02:37:31 UTC 2024
    - 73.6K bytes
    - Viewed (0)
Back to top