Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,499 for aloop (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/go/parser/testdata/resolution/resolution.src

    func _(count /* =@count */ T /* @T */) {
    	x /* =@x1 */ := c /* @cdecl */{}
    	switch x /* =@x2 */ := x /* @x1 */; x /* =@x3 */ := x /* @x2 */.(type) {
    	case c /* @cdecl */:
    	default:
    	}
    loop /* =@loop */:
    	for {
    		if true {
    			break loop /* @loop */
    		}
    	}
    	select {
    	case err /* =@err1 */ := <-_:
    		return err /* @err1 */
    	case err /* =@err2 */ := <-_:
    		return err /* @err2 */
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 16 21:19:23 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. pkg/registry/core/service/portallocator/controller/metrics.go

    	// divided by the type of error:
    	// leak, repair, full, outOfRange, duplicate, unknown
    	nodePortRepairPortErrors = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Namespace:      namespace,
    			Subsystem:      subsystem,
    			Name:           "port_errors_total",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 30 15:46:06 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. test/fixedbugs/bug463.go

    // license that can be found in the LICENSE file.
    
    // Issue 3757: unhelpful typechecking loop message
    // for constants that refer to themselves.
    
    package main
    
    const a = a // ERROR "refers to itself|definition loop|initialization cycle"
    
    const (
    	X    = A
    	A    = B // ERROR "refers to itself|definition loop|initialization cycle"
    	B    = D
    	C, D = 1, A
    )
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 497 bytes
    - Viewed (0)
  10. src/internal/bytealg/indexbyte_mipsx.s

    TEXT ·IndexByte(SB),NOSPLIT,$0-20
    	MOVW	b_base+0(FP), R1
    	MOVW	b_len+4(FP), R2
    	MOVBU	c+12(FP), R3	// byte to find
    	ADDU	$1, R1, R4	// store base+1 for later
    	ADDU	R1, R2	// end
    
    loop:
    	BEQ	R1, R2, notfound
    	MOVBU	(R1), R5
    	ADDU	$1, R1
    	BNE	R3, R5, loop
    
    	SUBU	R4, R1	// R1 will be one beyond the position we want so remove (base+1)
    	MOVW	R1, ret+16(FP)
    	RET
    
    notfound:
    	MOVW	$-1, R1
    	MOVW	R1, ret+16(FP)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 1012 bytes
    - Viewed (0)
Back to top