Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for steps (0.17 sec)

  1. doc/go1.17_spec.html

    There can be at most one default case and it may appear anywhere
    in the list of cases.
    </p>
    
    <p>
    Execution of a "select" statement proceeds in several steps:
    </p>
    
    <ol>
    <li>
    For all the cases in the statement, the channel operands of receive operations
    and the channel and right-hand-side expressions of send statements are
    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/cgo/doc.go

    present to create such a binary.
    
    Most builds both compile source code and invoke the linker to create a
    binary. When cgo is involved, the compile step already requires gcc, so
    it is not problematic for the link step to require gcc too.
    
    An important exception is builds using a pre-compiled copy of the
    standard library. In particular, package net uses cgo on most systems,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  3. doc/go_spec.html

    	The fields are compared in source order, and comparison stops as
    	soon as two field values differ (or all fields have been compared).
    	</li>
    
    	<li>
    	Array types are comparable if their array element types are comparable.
    	Two array values are equal if their corresponding element values are equal.
    	The elements are compared in ascending index order, and comparison stops
    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. src/bytes/bytes_test.go

    		buf[n-7] = '\x00'
    	})
    }
    
    func BenchmarkCountSingle(b *testing.B) {
    	benchBytes(b, indexSizes, func(b *testing.B, n int) {
    		buf := bmbuf[0:n]
    		step := 8
    		for i := 0; i < len(buf); i += step {
    			buf[i] = 1
    		}
    		expect := (len(buf) + (step - 1)) / step
    		for i := 0; i < b.N; i++ {
    			j := Count(buf, []byte{1})
    			if j != expect {
    				b.Fatal("bad count", j, expect)
    			}
    		}
    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)
  5. src/builtin/builtin.go

    //
    //	x, ok := <-c
    //
    // will also set ok to false for a closed and empty channel.
    func close(c chan<- Type)
    
    // The panic built-in function stops normal execution of the current
    // goroutine. When a function F calls panic, normal execution of F stops
    // immediately. Any functions whose execution was deferred by F are run in
    // the usual way, and then F returns to its caller. To the caller G, the
    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)
  6. src/cmd/api/main_test.go

    		log.Fatal(err)
    	}
    	s := string(bs)
    
    	// Diagnose common mistakes people make,
    	// since there is no apifmt to format these files.
    	// The missing final newline is important for the
    	// final release step of cat next/*.txt >go1.X.txt.
    	// If the files don't end in full lines, the concatenation goes awry.
    	if strings.Contains(s, "\r") {
    		log.Printf("%s: contains CRLFs", filename)
    		exitCode = 1
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
Back to top