Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for fallthrough (0.25 sec)

  1. doc/go1.17_spec.html

    </p>
    
    <h3 id="Fallthrough_statements">Fallthrough statements</h3>
    
    <p>
    A "fallthrough" statement transfers control to the first statement of the
    next case clause in an <a href="#Expression_switches">expression "switch" statement</a>.
    It may be used only as the final non-empty statement in such a clause.
    </p>
    
    <pre class="ebnf">
    FallthroughStmt = "fallthrough" .
    </pre>
    
    
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/lex/input.go

    		case scanner.Ident:
    			// Is it a macro name?
    			name := in.Stack.Text()
    			macro := in.macros[name]
    			if macro != nil {
    				nesting++
    				in.invokeMacro(macro)
    				continue
    			}
    			fallthrough
    		default:
    			if tok == scanner.EOF && len(in.ifdefStack) > 0 {
    				// We're skipping text but have run out of input with no #endif.
    				in.Error("unclosed #ifdef or #ifndef")
    			}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  3. doc/go_spec.html

    </p>
    
    <h3 id="Fallthrough_statements">Fallthrough statements</h3>
    
    <p>
    A "fallthrough" statement transfers control to the first statement of the
    next case clause in an <a href="#Expression_switches">expression "switch" statement</a>.
    It may be used only as the final non-empty statement in such a clause.
    </p>
    
    <pre class="ebnf">
    FallthroughStmt = "fallthrough" .
    </pre>
    
    
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  4. doc/asm.html

    The last instruction in a <code>TEXT</code> block must be some sort of jump, usually a <code>RET</code> (pseudo-)instruction.
    (If it's not, the linker will append a jump-to-itself instruction; there is no fallthrough in <code>TEXTs</code>.)
    After the symbol, the arguments are flags (see below)
    and the frame size, a constant (but see below):
    </p>
    
    <pre>
    TEXT runtime·profileloop(SB),NOSPLIT,$8
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/parse.go

    		case sys.ARM64:
    			// arm64 special operands.
    			if opd := arch.GetARM64SpecialOperand(name); opd != arm64.SPOP_END {
    				a.Type = obj.TYPE_SPECIAL
    				a.Offset = int64(opd)
    				break
    			}
    			fallthrough
    		default:
    			// We have a symbol. Parse $sym±offset(symkind)
    			p.symbolReference(a, p.qualifySymbol(name), prefix)
    		}
    		// fmt.Printf("SYM %s\n", obj.Dconv(&emptyProg, 0, a))
    		if p.peek() == scanner.EOF {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  6. src/bytes/bytes_test.go

    	for i := range x {
    		switch rand.Intn(10) {
    		case 0:
    			x[i] = ' '
    		case 1:
    			if i > 0 && x[i-1] == 'x' {
    				copy(x[i-1:], "χ")
    				break
    			}
    			fallthrough
    		default:
    			x[i] = 'x'
    		}
    	}
    	return x
    }
    
    var makeFieldsInputASCII = func() []byte {
    	x := make([]byte, 1<<20)
    	// Input is ~10% space, rest ASCII non-space.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/asm.go

    			prog.From = a[0]
    			// Second arg is always a register type on ppc64.
    			prog.Reg = p.getRegister(prog, op, &a[1])
    			prog.AddRestSourceArgs([]obj.Addr{a[2], a[3], a[4]})
    			prog.To = a[5]
    			break
    		}
    		fallthrough
    	default:
    		p.errorf("can't handle %s instruction with %d operands", op, len(a))
    		return
    	}
    
    	p.append(prog, cond, true)
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  8. api/go1.1.txt

    pkg go/token, const DEFER = 67
    pkg go/token, const DEFINE = 47
    pkg go/token, const ELLIPSIS = 48
    pkg go/token, const ELSE = 68
    pkg go/token, const EOF = 1
    pkg go/token, const EQL = 39
    pkg go/token, const FALLTHROUGH = 69
    pkg go/token, const FLOAT = 6
    pkg go/token, const FOR = 70
    pkg go/token, const FUNC = 71
    pkg go/token, const GEQ = 46
    pkg go/token, const GO = 72
    pkg go/token, const GOTO = 73
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
Back to top