Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for step (0.13 sec)

  1. 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)
  2. 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)
  3. src/bufio/scan.go

    }
    
    // ErrFinalToken is a special sentinel error value. It is intended to be
    // returned by a Split function to indicate that the scanning should stop
    // with no error. If the token being delivered with this error is not nil,
    // the token is the last token.
    //
    // The value is useful to stop processing early or when it is necessary to
    // deliver a final empty token (which is different from a nil token).
    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)
  4. doc/go1.17_spec.html

    Comments serve as program documentation. There are two forms:
    </p>
    
    <ol>
    <li>
    <i>Line comments</i> start with the character sequence <code>//</code>
    and stop at the end of the line.
    </li>
    <li>
    <i>General comments</i> start with the character sequence <code>/*</code>
    and stop with the first subsequent character sequence <code>*/</code>.
    </li>
    </ol>
    
    <p>
    A comment cannot start inside a <a href="#Rune_literals">rune</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)
  5. doc/go_spec.html

    <code>string</code> takes the place of <code>P</code>.
    And since <code>string</code> is identical to <code>string</code>,
    this unification step succeeds as well.
    Unification of the LHS and RHS of the equation is now finished.
    Type inference succeeds because there is only one type equation,
    no unification step failed, and the map is fully populated.
    </p>
    
    <p>
    Unification uses a combination of <i>exact</i> and <i>loose</i>
    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)
  6. src/cmd/asm/internal/asm/testdata/arm64enc.s

    	STLXPW (R6, R11), (R22), R21               // c6ae3588
    	//TODO STNPW 44(R1), R3, R10               // 2a8c0528
    	//TODO STNP 0x108(R3), ZR, R7              // 67fc10a8
    	LDP.P -384(R3), (R22, R26)                 // 7668e8a8
    	LDP.W 280(R8), (R19, R11)                  // 13add1a9
    	STP.P (R22, R27), 352(R0)                  // 166c96a8
    	STP.W (R17, R11), 96(R8)                   // 112d86a9
    	MOVW.P R20, -28(R1)                        // 34441eb8
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jul 24 01:11:41 GMT 2023
    - 43.9K bytes
    - Viewed (1)
  7. src/cmd/asm/internal/asm/testdata/arm64.s

    	LDPSW	8(R1), (ZR, R2)     // 3f084169
    	STP	(R3, R4), (R5)      // a31000a9
    	STP	(R3, R4), 8(R5)     // a39000a9
    	STP.W	(R3, R4), 8(R5)     // a39080a9
    	STP.P	(R3, R4), 8(R5)     // a39080a8
    	STP	(R3, R4), -8(R5)    // a3903fa9
    	STP	(R3, R4), -4(R5)    // bb1000d1631300a9
    	STP	(R3, R4), 11(R0)    // 1b2c0091631300a9
    	STP	(R3, R4), 1024(R0)  // 1b001091631300a9
    	STP	(R3, R4), (RSP)     // e31300a9
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 08 03:28:17 GMT 2023
    - 94.9K bytes
    - Viewed (0)
  8. src/bufio/example_test.go

    func ExampleScanner_earlyStop() {
    	onComma := func(data []byte, atEOF bool) (advance int, token []byte, err error) {
    		i := bytes.IndexByte(data, ',')
    		if i == -1 {
    			if !atEOF {
    				return 0, nil, nil
    			}
    			// If we have reached the end, return the last token.
    			return 0, data, bufio.ErrFinalToken
    		}
    		// If the token is "STOP", stop the scanning and ignore the rest.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  9. src/bytes/example_test.go

    func ExampleCutPrefix() {
    	show := func(s, sep string) {
    		after, found := bytes.CutPrefix([]byte(s), []byte(sep))
    		fmt.Printf("CutPrefix(%q, %q) = %q, %v\n", s, sep, after, found)
    	}
    	show("Gopher", "Go")
    	show("Gopher", "ph")
    	// Output:
    	// CutPrefix("Gopher", "Go") = "pher", true
    	// CutPrefix("Gopher", "ph") = "Gopher", false
    }
    
    func ExampleCutSuffix() {
    	show := func(s, sep string) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  10. doc/godebug.md

    and the [go command documentation](/cmd/go#hdr-Build_and_test_caching).
    
    ### Go 1.23
    
    Go 1.23 changed the channels created by package time to be unbuffered
    (synchronous), which makes correct use of the [`Timer.Stop`](/pkg/time/#Timer.Stop)
    and [`Timer.Reset`](/pkg/time/#Timer.Reset) method results much easier.
    The [`asynctimerchan` setting](/pkg/time/#NewTimer) disables this change.
    There are no runtime metrics for this change,
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
Back to top