Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for BP (0.14 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:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  2. 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)",
    		),
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  3. 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 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.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)"},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  5. 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 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
Back to top