Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for terminating (0.21 sec)

  1. doc/go1.17_spec.html

    SimpleStmt = EmptyStmt | ExpressionStmt | SendStmt | IncDecStmt | Assignment | ShortVarDecl .
    </pre>
    
    <h3 id="Terminating_statements">Terminating statements</h3>
    
    <p>
    A <i>terminating statement</i> interrupts the regular flow of control in
    a <a href="#Blocks">block</a>. The following statements are terminating:
    </p>
    
    <ol>
    <li>
    	A <a href="#Return_statements">"return"</a> or
    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/archive/tar/strconv.go

    func (*parser) parseString(b []byte) string {
    	if i := bytes.IndexByte(b, 0); i >= 0 {
    		return string(b[:i])
    	}
    	return string(b)
    }
    
    // formatString copies s into b, NUL-terminating if possible.
    func (f *formatter) formatString(b []byte, s string) {
    	if len(s) > len(b) {
    		f.err = ErrFieldTooLong
    	}
    	copy(b, s)
    	if len(s) < len(b) {
    		b[len(s)] = 0
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  3. src/builtin/builtin.go

    // invocation of F then behaves like a call to panic, terminating G's
    // execution and running any deferred functions. This continues until all
    // functions in the executing goroutine have stopped, in reverse order. At
    // that point, the program is terminated with a non-zero exit code. This
    // termination sequence is called panicking and can be controlled by the
    // built-in function recover.
    //
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  4. doc/go_spec.html

    SimpleStmt = EmptyStmt | ExpressionStmt | SendStmt | IncDecStmt | Assignment | ShortVarDecl .
    </pre>
    
    <h3 id="Terminating_statements">Terminating statements</h3>
    
    <p>
    A <i>terminating statement</i> interrupts the regular flow of control in
    a <a href="#Blocks">block</a>. The following statements are terminating:
    </p>
    
    <ol>
    <li>
    	A <a href="#Return_statements">"return"</a> or
    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)
  5. src/archive/tar/reader_test.go

    			ChangeTime: time.Unix(1389782956, 794414986),
    			Xattrs: map[string]string{
    				"user.key":  "value",
    				"user.key2": "value2",
    				// Interestingly, selinux encodes the terminating null inside the xattr
    				"security.selinux": "unconfined_u:object_r:default_t:s0\x00",
    			},
    			PAXRecords: map[string]string{
    				"mtime":                         "1386065770.44825232",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/parse.go

    	var tok lex.ScanToken
    	for {
    		tok = p.nextToken()
    		// We save the line number here so error messages from this instruction
    		// are labeled with this line. Otherwise we complain after we've absorbed
    		// the terminating newline and the line numbers are off by one in errors.
    		p.lineNum = p.lex.Line()
    		switch tok {
    		case '\n', ';':
    			continue
    		case scanner.EOF:
    			return "", "", nil, false
    		}
    		break
    	}
    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)
  7. doc/go_mem.html

    <p>
    While programmers should write Go programs without data races,
    there are limitations to what a Go implementation can do in response to a data race.
    An implementation may always react to a data race by reporting the race and terminating the program.
    Otherwise, each read of a single-word-sized or sub-word-sized memory location
    must observe a value actually written to that location (perhaps by a concurrent executing goroutine)
    and not yet overwritten.
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  8. src/bufio/scan.go

    // the bytes between the tokens. The specification of a token is
    // defined by a split function of type [SplitFunc]; the default split
    // function breaks the input into lines with line termination stripped. [Scanner.Split]
    // functions are defined in this package for scanning a file into
    // lines, bytes, UTF-8-encoded runes, and space-delimited words. The
    // client may instead provide a custom split function.
    //
    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)
  9. src/bufio/scan_test.go

    	for i = 0; s.Scan(); i++ {
    		if len(s.Bytes()) != 1 || text[i] != s.Bytes()[0] {
    			t.Errorf("#%d: expected %q got %q", i, text[i], s.Bytes()[0])
    		}
    	}
    	// Check correct termination location and error.
    	if i != okCount {
    		t.Errorf("unexpected termination; expected %d tokens got %d", okCount, i)
    	}
    	err := s.Err()
    	if err != testError {
    		t.Fatalf("expected %q got %v", testError, err)
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  10. src/archive/tar/reader.go

    	if p.err != nil {
    		return nil, p.err
    	}
    	s := blk.toGNU().sparse()
    	spd := make(sparseDatas, 0, s.maxEntries())
    	for {
    		for i := 0; i < s.maxEntries(); i++ {
    			// This termination condition is identical to GNU and BSD tar.
    			if s.entry(i).offset()[0] == 0x00 {
    				break // Don't return, need to process extended headers (even if empty)
    			}
    			offset := p.parseNumeric(s.entry(i).offset())
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
Back to top