Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Needzero (0.07 sec)

  1. src/internal/bytealg/count_amd64.s

    	PCMPEQB	X0, X1
    	PMOVMSKB X1, DX
    	// Apply mask
    	ANDQ R10, DX
    	POPCNTL DX, DX
    	ADDQ DX, R12
    end:
    	MOVQ R12, (R8)
    	RET
    
    // handle for lengths < 16
    small:
    	TESTQ	BX, BX
    	JEQ	endzero
    
    	// Check if we'll load across a page boundary.
    	LEAQ	16(SI), AX
    	TESTW	$0xff0, AX
    	JEQ	endofpage
    
    	// We must ignore high bytes as they aren't part of our slice.
    	// Create mask.
    	MOVB BX, CX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 20:54:43 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. src/encoding/gob/encgen.go

    	slice, ok := v.Interface().([]%[1]s)
    	if !ok {
    		// It is kind %[1]s but not type %[1]s. TODO: We can handle this unsafely.
    		return false
    	}
    	for _, x := range slice {
    		if x != %[3]s || state.sendZero {
    			%[4]s
    		}
    	}
    	return true
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:39:09 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top