Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for break (0.28 sec)

  1. src/cmd/cgo/internal/test/callback_windows.go

    			// For simplicity, don't unwind leaf entries, which are not used in this test.
    			break;
    		} else {
    			RtlVirtualUnwind(0, ImageBase, ControlPc, FunctionEntry, &context, &HandlerData, &EstablisherFrame, NULL);
    		}
    
    		ControlPc = context.Rip;
    		// Check if we left the user range.
    		if (ControlPc < 0x10000) {
    			break;
    		}
    
    		BackTrace[i] = (PVOID)(ControlPc);
    	}
    	return i;
    #else
    	return 0;
    #endif
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Nov 29 16:01:37 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  2. src/bytes/bytes.go

    	for len(s) > 0 {
    		if !as.contains(s[len(s)-1]) {
    			break
    		}
    		s = s[:len(s)-1]
    	}
    	return s
    }
    
    func trimRightUnicode(s []byte, cutset string) []byte {
    	for len(s) > 0 {
    		r, n := rune(s[len(s)-1]), 1
    		if r >= utf8.RuneSelf {
    			r, n = utf8.DecodeLastRune(s)
    		}
    		if !containsRune(cutset, r) {
    			break
    		}
    		s = s[:len(s)-n]
    	}
    	return s
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  3. src/archive/tar/example_test.go

    		}
    	}
    	if err := tw.Close(); err != nil {
    		log.Fatal(err)
    	}
    
    	// Open and iterate through the files in the archive.
    	tr := tar.NewReader(&buf)
    	for {
    		hdr, err := tr.Next()
    		if err == io.EOF {
    			break // End of archive
    		}
    		if err != nil {
    			log.Fatal(err)
    		}
    		fmt.Printf("Contents of %s:\n", hdr.Name)
    		if _, err := io.Copy(os.Stdout, tr); err != nil {
    			log.Fatal(err)
    		}
    		fmt.Println()
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 16 16:54:08 GMT 2017
    - 1.4K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/lex/input.go

    		acceptArg := true
    		args = []string{} // Zero length but not nil.
    	Loop:
    		for {
    			tok = in.Stack.Next()
    			switch tok {
    			case ')':
    				tok = in.Stack.Next() // First token of macro definition.
    				break Loop
    			case ',':
    				if acceptArg {
    					in.Error("bad syntax in definition for macro:", name)
    				}
    				acceptArg = true
    			case scanner.Ident:
    				if !acceptArg {
    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)
  5. src/cmd/asm/internal/asm/parse.go

    }
    
    func (p *Parser) Parse() (*obj.Prog, bool) {
    	scratch := make([][]lex.Token, 0, 3)
    	for {
    		word, cond, operands, ok := p.line(scratch)
    		if !ok {
    			break
    		}
    		scratch = operands
    
    		if p.pseudo(word, operands) {
    			continue
    		}
    		i, present := p.arch.Instructions[word]
    		if present {
    			p.instruction(i, word, cond, operands)
    			continue
    		}
    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. doc/go_spec.html

    	}
    	return
    }
    </pre>
    
    <h3 id="Break_statements">Break statements</h3>
    
    <p>
    A "break" statement terminates execution of the innermost
    <a href="#For_statements">"for"</a>,
    <a href="#Switch_statements">"switch"</a>, or
    <a href="#Select_statements">"select"</a> statement
    within the same function.
    </p>
    
    <pre class="ebnf">
    BreakStmt = "break" [ Label ] .
    </pre>
    
    <p>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  7. src/bufio/scan.go

    			if n < 0 || len(s.buf)-s.end < n {
    				s.setErr(ErrBadReadCount)
    				break
    			}
    			s.end += n
    			if err != nil {
    				s.setErr(err)
    				break
    			}
    			if n > 0 {
    				s.empties = 0
    				break
    			}
    			loop++
    			if loop > maxConsecutiveEmptyReads {
    				s.setErr(io.ErrNoProgress)
    				break
    			}
    		}
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  8. src/cmd/asm/main.go

    			pList := new(obj.Plist)
    			pList.Firstpc, ok = parser.Parse()
    			// reports errors to parser.Errorf
    			if ok {
    				obj.Flushplist(ctxt, pList, nil)
    			}
    		}
    		if !ok {
    			failedFile = f
    			break
    		}
    	}
    	if ok && !*flags.SymABIs {
    		ctxt.NumberSyms()
    		obj.WriteObjFile(ctxt, buf)
    	}
    	if !ok || diag {
    		if failedFile != "" {
    			log.Printf("assembly of %s failed", failedFile)
    		} else {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  9. api/go1.1.txt

    pkg syscall (windows-386), const CRYPT_SILENT = 64
    pkg syscall (windows-386), const CRYPT_VERIFYCONTEXT = 4026531840
    pkg syscall (windows-386), const CTRL_BREAK_EVENT = 1
    pkg syscall (windows-386), const CTRL_BREAK_EVENT ideal-int
    pkg syscall (windows-386), const CTRL_C_EVENT = 0
    pkg syscall (windows-386), const CTRL_C_EVENT ideal-int
    pkg syscall (windows-386), const DNS_TYPE_A = 1
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  10. doc/godebug.md

    Go's emphasis on backwards compatibility is one of its key strengths.
    There are, however, times when we cannot maintain complete compatibility.
    If code depends on buggy (including insecure) behavior,
    then fixing the bug will break that code.
    New features can also have similar impacts:
    enabling the HTTP/2 use by the HTTP client broke programs
    connecting to servers with buggy HTTP/2 implementations.
    These kinds of changes are unavoidable and
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
Back to top