Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Kasper (0.21 sec)

  1. src/bytes/buffer.go

    // converted to int they correspond to the rune size that was read.
    type readOp int8
    
    // Don't use iota for these, as the values need to correspond with the
    // names and comments, which is easier to see when being explicit.
    const (
    	opRead      readOp = -1 // Any other read operation.
    	opInvalid   readOp = 0  // Non-read operation.
    	opReadRune1 readOp = 1  // Read rune of size 1.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  2. src/bytes/bytes.go

    			return bytealg.Index(s, sep)
    		}
    		c0 := sep[0]
    		c1 := sep[1]
    		i := 0
    		t := len(s) - n + 1
    		fails := 0
    		for i < t {
    			if s[i] != c0 {
    				// IndexByte is faster than bytealg.Index, so use it as long as
    				// we're not getting lots of false positives.
    				o := IndexByte(s[i+1:t], c0)
    				if o < 0 {
    					return -1
    				}
    				i += o + 1
    			}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  3. doc/godebug.md

    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,
    This setting may be removed in a future release, Go 1.27 at the earliest.
    
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  4. doc/asm.html

    the package's Int function can be referred to as <code>·Int</code>.
    This convention avoids the need to hard-code a package's import path in its
    own source code, making it easier to move the code from one location to another.
    </p>
    
    <h3 id="directives">Directives</h3>
    
    <p>
    The assembler uses various directives to bind text and data to symbol names.
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  5. doc/go_mem.html

    and less like C and C++, where the meaning of any program with a race
    is entirely undefined, and the compiler may do anything at all.
    Go's approach aims to make errant programs more reliable and easier to debug,
    while still insisting that races are errors and that tools can diagnose and report them.
    </p>
    
    <h2 id="model">Memory Model</h2>
    
    <p>
    The following formal definition of Go's memory model closely follows
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  6. misc/go_android_exec/main.go

    			// walking the tree and copying it piecewise. If the directory tree
    			// contains nested modules this could push a lot of unnecessary contents,
    			// but for the golang.org/x repos it seems to be significantly (~2x)
    			// faster than copying one file at a time (via filepath.WalkDir),
    			// apparently due to high latency in 'adb' commands.
    			if err := adb("push", modDir, deviceModDir); err != nil {
    				return 0, err
    			}
    		} else {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  7. doc/go1.22.html

    <li>The <a href="/pkg/math/rand/v2/#Source"><code>Source</code></a>
    interface now has a single <code>Uint64</code> method;
    there is no <code>Source64</code> interface.
    
    <li>Many methods now use faster algorithms that were not possible to adopt in <code>math/rand</code>
    because they changed the output streams.
    
    <li>The
    <code>Intn</code>,
    <code>Int31</code>,
    <code>Int31n</code>,
    <code>Int63</code>,
    and
    HTML
    - Registered: Tue Feb 06 11:13:10 GMT 2024
    - Last Modified: Wed Jan 31 20:51:56 GMT 2024
    - 45.6K bytes
    - Viewed (0)
Back to top