Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,363 for aloop (0.04 sec)

  1. tensorflow/cc/framework/while_gradients.h

    // Utility functions for constructing while loop gradients
    
    namespace tensorflow {
    
    // Adds the gradient computation for the while loop associated with
    // `while_ctx`. `grad_inputs` are the partial derivatives w.r.t. the loop
    // outputs, i.e. the exit nodes.  The partial derivatives w.r.t. the loop
    // inputs, i.e. the input loop vars, are returned in `grad_outputs`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 15:48:53 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  2. test/fixedbugs/issue49145.go

    // license that can be found in the LICENSE file.
    
    package main
    
    func f(j int) {
    loop:
    	switch j {
    	case 1:
    		break loop
    	default:
    		println(j)
    	}
    }
    
    func main() {
    loop:
    	for j := 0; j < 5; j++ {
    		f(j)
    		if j == 3 {
    			break loop
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 25 16:07:11 UTC 2021
    - 357 bytes
    - Viewed (0)
  3. test/fixedbugs/issue49100b.go

    // license that can be found in the LICENSE file.
    
    package main
    
    func r(j int) {
    loop:
    	for i, c := range "goclang" {
    		if i == 2 {
    			continue loop
    		}
    		println(string(c))
    	}
    }
    
    func main() {
    loop:
    	for j := 0; j < 4; j++ {
    		r(j)
    		if j == 0 {
    			break loop
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 14:25:03 UTC 2021
    - 387 bytes
    - Viewed (0)
  4. src/internal/bytealg/indexbyte_riscv64.s

    	// X11 = b_len
    	// X12 = b_cap (unused)
    	// X13 = byte to find
    	AND	$0xff, X13
    	MOV	X10, X12		// store base for later
    	ADD	X10, X11		// end
    	SUB	$1, X10
    
    loop:
    	ADD	$1, X10
    	BEQ	X10, X11, notfound
    	MOVBU	(X10), X14
    	BNE	X13, X14, loop
    
    	SUB	X12, X10		// remove base
    	RET
    
    notfound:
    	MOV	$-1, X10
    	RET
    
    TEXT ·IndexByteString<ABIInternal>(SB),NOSPLIT,$0-32
    	// X10 = b_base
    	// X11 = b_len
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 919 bytes
    - Viewed (0)
  5. src/cmd/compile/internal/s390x/ggen.go

    	"cmd/compile/internal/objw"
    	"cmd/internal/obj"
    	"cmd/internal/obj/s390x"
    )
    
    // clearLoopCutOff is the (somewhat arbitrary) value above which it is better
    // to have a loop of clear instructions (e.g. XCs) rather than just generating
    // multiple instructions (i.e. loop unrolling).
    // Must be between 256 and 4096.
    const clearLoopCutoff = 1024
    
    // zerorange clears the stack in the given range.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 19 15:59:22 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  6. src/internal/abi/rangefuncconsts.go

    // For best code generation, RF_DONE and RF_READY should be 0 and 1.
    const (
    	RF_DONE          = RF_State(iota) // body of loop has exited in a non-panic way
    	RF_READY                          // body of loop has not exited yet, is not running  -- this is not a panic index
    	RF_PANIC                          // body of loop is either currently running, or has panicked
    	RF_EXHAUSTED                      // iterator function return, i.e., sequence is "exhausted"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:04:30 UTC 2024
    - 940 bytes
    - Viewed (0)
  7. src/internal/bytealg/indexbyte_mips64x.s

    	MOVV	b_base+0(FP), R1
    	MOVV	b_len+8(FP), R2
    	MOVBU	c+24(FP), R3	// byte to find
    	MOVV	R1, R4		// store base for later
    	ADDV	R1, R2		// end
    	ADDV	$-1, R1
    
    loop:
    	ADDV	$1, R1
    	BEQ	R1, R2, notfound
    	MOVBU	(R1), R5
    	BNE	R3, R5, loop
    
    	SUBV	R4, R1		// remove base
    	MOVV	R1, ret+32(FP)
    	RET
    
    notfound:
    	MOVV	$-1, R1
    	MOVV	R1, ret+32(FP)
    	RET
    
    TEXT ·IndexByteString(SB),NOSPLIT,$0-32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 985 bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/cfg/builder.go

    	loop := body                       // target of back-edge
    	if s.Cond != nil {
    		loop = b.newBlock(KindForLoop, s)
    	}
    	cont := loop // target of 'continue'
    	if s.Post != nil {
    		cont = b.newBlock(KindForPost, s)
    	}
    	if label != nil {
    		label._break = done
    		label._continue = cont
    	}
    	b.jump(loop)
    	b.current = loop
    	if loop != body {
    		b.add(s.Cond)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. src/internal/bytealg/indexbyte_loong64.s

    	// R5 = b_len
    	// R6 = b_cap (unused)
    	// R7 = byte to find
    	AND	$0xff, R7
    	MOVV	R4, R6		// store base for later
    	ADDV	R4, R5		// end
    	ADDV	$-1, R4
    
    	PCALIGN	$16
    loop:
    	ADDV	$1, R4
    	BEQ	R4, R5, notfound
    	MOVBU	(R4), R8
    	BNE	R7, R8, loop
    
    	SUBV	R6, R4		// remove base
    	RET
    
    notfound:
    	MOVV	$-1, R4
    	RET
    
    TEXT ·IndexByteString<ABIInternal>(SB),NOSPLIT,$0-32
    	// R4 = s_base
    	// R5 = s_len
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 905 bytes
    - Viewed (0)
  10. src/cmd/compile/internal/riscv64/ggen.go

    		p.To.Name = obj.NAME_EXTERN
    		p.To.Sym = ir.Syms.Duffzero
    		p.To.Offset = 8 * (128 - cnt/int64(types.PtrSize))
    		return p
    	}
    
    	// Loop, zeroing pointer width bytes at a time.
    	// ADD	$(off), SP, T0
    	// ADD	$(cnt), T0, T1
    	// loop:
    	// 	MOV	ZERO, (T0)
    	// 	ADD	$Widthptr, T0
    	//	BNE	T0, T1, loop
    	p = pp.Append(p, riscv.AADD, obj.TYPE_CONST, 0, off, obj.TYPE_REG, riscv.REG_T0, 0)
    	p.Reg = riscv.REG_SP
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 19 15:59:22 UTC 2022
    - 1.8K bytes
    - Viewed (0)
Back to top