Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 88 for Boundary (0.42 sec)

  1. src/cmd/compile/internal/ssa/trim.go

    		s.Preds[j] = Edge{p, i}
    
    		for _, e := range b.Preds[1:] {
    			p, i := e.b, e.i
    			p.Succs[i] = Edge{s, len(s.Preds)}
    			s.Preds = append(s.Preds, Edge{p, i})
    		}
    
    		// Attempt to preserve a statement boundary
    		if bIsStmt {
    			sawStmt := false
    			for _, v := range s.Values {
    				if isPoorStatementOp(v.Op) {
    					continue
    				}
    				if v.Pos.SameFileAndLine(bPos) {
    					v.Pos = v.Pos.WithIsStmt()
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  2. src/internal/bytealg/count_amd64.s

    	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
    	MOVQ $1, R10
    	SALQ CL, R10
    	SUBQ $1, R10
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 20:54:43 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/test/testdata/gen/arithBoundaryGen.go

    						fmt.Fprintf(w, ", div: %d, mod: %d", icast(i/j, s), icast(i%j, s))
    					}
    					fmt.Fprint(w, "},\n")
    				}
    			}
    			fmt.Fprintf(w, "}\n")
    		}
    	}
    
    	fmt.Fprintf(w, "//TestArithmeticBoundary tests boundary results for arithmetic operations.\n")
    	fmt.Fprintf(w, "func TestArithmeticBoundary(t *testing.T) {\n\n")
    
    	verify, err := template.New("tst").Parse(
    		`if got := {{.Name}}_{{.Stype}}_ssa(v.a, v.b); got != v.{{.Name}} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/net/http2/hpack/huffman.go

    	y := uint32(x)
    	return append(dst, byte(y>>24), byte(y>>16), byte(y>>8), byte(y))
    }
    
    // HuffmanEncodeLength returns the number of bytes required to encode
    // s in Huffman codes. The result is round up to byte boundary.
    func HuffmanEncodeLength(s string) uint64 {
    	n := uint64(0)
    	for i := 0; i < len(s); i++ {
    		n += uint64(huffmanCodeLen[s[i]])
    	}
    	return (n + 7) / 8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 05 19:54:32 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  5. src/hash/crc32/crc32_amd64.go

    	// values.
    
    	crc = ^crc
    
    	// If a buffer is long enough to use the optimization, process the first few
    	// bytes to align the buffer to an 8 byte boundary (if necessary).
    	if len(p) >= castagnoliK1*3 {
    		delta := int(uintptr(unsafe.Pointer(&p[0])) & 7)
    		if delta != 0 {
    			delta = 8 - delta
    			crc = castagnoliSSE42(crc, p[:delta])
    			p = p[delta:]
    		}
    	}
    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/go/doc/doc_test.go

    	return strings.ReplaceAll(strings.TrimSpace(buf.String()), "\n", "\n\t")
    }
    
    func synopsisFmt(s string) string {
    	const n = 64
    	if len(s) > n {
    		// cut off excess text and go back to a word boundary
    		s = s[0:n]
    		if i := strings.LastIndexAny(s, "\t\n "); i >= 0 {
    			s = s[0:i]
    		}
    		s = strings.TrimSpace(s) + " ..."
    	}
    	return "// " + strings.ReplaceAll(s, "\n", " ")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:52 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  7. src/internal/bytealg/equal_ppc64x.s

    	RET
    
    check0_7:
    	CMP	R5,$0
    	MOVD	$1, R3
    	BEQLR		// return if len == 0
    
    	// Check < 8B loads with a single compare, but select the load address
    	// such that it cannot cross a page boundary. Load a few bytes from the
    	// lower address if that does not cross the lower page. Or, load a few
    	// extra bytes from the higher addresses. And align those values
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 16:47:45 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. src/runtime/memclr_amd64.s

    	// for a memory subsystem as the GC requires this.
    	MOVQ	BX, CX
    	SHRQ	$3, CX
    	ANDQ	$7, BX
    	REP;	STOSQ
    	JMP	tail
    
    loop_preheader_avx2_huge:
    	// Align to 32 byte boundary
    	VMOVDQU  Y0, 0(DI)
    	MOVQ	DI, SI
    	ADDQ	$32, DI
    	ANDQ	$~31, DI
    	SUBQ	DI, SI
    	ADDQ	SI, BX
    loop_avx2_huge:
    	VMOVNTDQ	Y0, 0(DI)
    	VMOVNTDQ	Y0, 32(DI)
    	VMOVNTDQ	Y0, 64(DI)
    	VMOVNTDQ	Y0, 96(DI)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 20:52:34 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/completion.go

            # Leave out first character
            printf %q "${1:1}"
        else
        	printf %q "$1"
        fi
    }
    
    autoload -U +X bashcompinit && bashcompinit
    
    # use word boundary patterns for BSD or GNU sed
    LWORD='[[:<:]]'
    RWORD='[[:>:]]'
    if sed --version 2>&1 | grep -q GNU; then
    	LWORD='\<'
    	RWORD='\>'
    fi
    
    __kubeadm_convert_bash_to_zsh() {
    	sed \
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 25 09:28:34 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  10. src/cmd/cover/html.go

    }
    
    // htmlGen generates an HTML coverage report with the provided filename,
    // source code, and tokens, and writes it to the given Writer.
    func htmlGen(w io.Writer, src []byte, boundaries []cover.Boundary) error {
    	dst := bufio.NewWriter(w)
    	for i := range src {
    		for len(boundaries) > 0 && boundaries[0].Offset == i {
    			b := boundaries[0]
    			if b.Start {
    				n := 0
    				if b.Count > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 08 14:33:36 UTC 2022
    - 6.8K bytes
    - Viewed (0)
Back to top