Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for executed (0.17 sec)

  1. doc/go1.17_spec.html

    </pre>
    
    <pre>
    for i := 0; i &lt; 10; i++ {
    	f(i)
    }
    </pre>
    
    <p>
    If non-empty, the init statement is executed once before evaluating the
    condition for the first iteration;
    the post statement is executed after each execution of the block (and
    only if the block was executed).
    Any element of the ForClause may be empty but the
    <a href="#Semicolons">semicolons</a> are
    required unless there is only a condition.
    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/builtin/builtin.go

    // implied by the type argument.
    func clear[T ~[]Type | ~map[Type]Type1](t T)
    
    // The close built-in function closes a channel, which must be either
    // bidirectional or send-only. It should be executed only by the sender,
    // never the receiver, and has the effect of shutting down the channel after
    // the last sent value is received. After the last value has been received
    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)
  3. doc/go_spec.html

    </pre>
    
    <pre>
    for i := 0; i &lt; 10; i++ {
    	f(i)
    }
    </pre>
    
    <p>
    If non-empty, the init statement is executed once before evaluating the
    condition for the first iteration;
    the post statement is executed after each execution of the block (and
    only if the block was executed).
    Any element of the ForClause may be empty but the
    <a href="#Semicolons">semicolons</a> are
    required unless there is only a condition.
    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/go_mem.html

    If the effect of an atomic operation <i>A</i> is observed by atomic operation <i>B</i>,
    then <i>A</i> is synchronized before <i>B</i>.
    All the atomic operations executed in a program behave as though executed
    in some sequentially consistent order.
    </p>
    
    <p>
    The preceding definition has the same semantics as C++’s sequentially consistent atomics
    and Java’s <code>volatile</code> variables.
    </p>
    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)
  5. src/cmd/asm/internal/asm/testdata/riscv64error.s

    	SRAIW	$-1, X5, X6			// ERROR "immediate out of range 0 to 31"
    	SD	X5, 4294967296(X6)		// ERROR "constant 4294967296 too large"
    	SRLI	$1, X5, F1			// ERROR "expected integer register in rd position but got non-integer register F1"
    	SRLI	$1, F1, X5			// ERROR "expected integer register in rs1 position but got non-integer register F1"
    	FNES	F1, (X5)			// ERROR "needs an integer register output"
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Apr 07 03:32:27 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  6. src/cmd/addr2line/addr2line_test.go

    package main
    
    import (
    	"bufio"
    	"bytes"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"sync"
    	"testing"
    )
    
    // TestMain executes the test binary as the addr2line command if
    // GO_ADDR2LINETEST_IS_ADDR2LINE is set, and runs the tests otherwise.
    func TestMain(m *testing.M) {
    	if os.Getenv("GO_ADDR2LINETEST_IS_ADDR2LINE") != "" {
    		main()
    		os.Exit(0)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 22:16:54 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/bytes/bytes_test.go

    	for _, ct := range ContainsAnyTests {
    		if ContainsAny(ct.b, ct.substr) != ct.expected {
    			t.Errorf("ContainsAny(%s, %s) = %v, want %v",
    				ct.b, ct.substr, !ct.expected, ct.expected)
    		}
    	}
    }
    
    var ContainsRuneTests = []struct {
    	b        []byte
    	r        rune
    	expected bool
    }{
    	{[]byte(""), 'a', false},
    	{[]byte("a"), 'a', true},
    	{[]byte("aaa"), 'a', true},
    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)
  8. doc/asm.html

    a <code>_lo</code> or <code>_hi</code> suffix to the name, as in <code>arg_lo+0(FP)</code> or <code>arg_hi+4(FP)</code>.
    If a Go prototype does not name its result, the expected assembly name is <code>ret</code>.
    </p>
    
    <p>
    The <code>SP</code> pseudo-register is a virtual stack pointer
    used to refer to frame-local variables and the arguments being
    prepared for function calls.
    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)
  9. src/cmd/asm/internal/asm/parse.go

    	}
    	return scanner.EOF
    }
    
    func (p *Parser) more() bool {
    	return p.inputPos < len(p.input)
    }
    
    // get verifies that the next item has the expected type and returns it.
    func (p *Parser) get(expected lex.ScanToken) lex.Token {
    	p.expect(expected, expected.String())
    	return p.next()
    }
    
    // expectOperandEnd verifies that the parsing state is properly at the end of an operand.
    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)
  10. src/archive/zip/zip_test.go

    	}
    
    	b := buf.Bytes()
    	zf, err := NewReader(bytes.NewReader(b), int64(len(b)))
    	if err != nil {
    		t.Fatalf("got %v, expected nil", err)
    	}
    	zh := zf.File[0].FileHeader
    	if zh.Name != h.Name || zh.Method != h.Method || zh.UncompressedSize64 != uint64(len("hi")) {
    		t.Fatalf("got %q/%d/%d expected %q/%d/%d", zh.Name, zh.Method, zh.UncompressedSize64, h.Name, h.Method, len("hi"))
    	}
    }
    
    // Issue 4302.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
Back to top