Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Live (0.16 sec)

  1. src/arena/arena.go

    // arena it may have been allocated from, returning the copy. If it was not
    // allocated from an arena, it is returned untouched. This function is useful
    // to more easily let an arena-allocated value out-live its arena.
    // T must be a pointer, a slice, or a string, otherwise this function will panic.
    func Clone[T any](s T) T {
    	return runtime_arena_heapify(s).(T)
    }
    
    //go:linkname reflect_arena_New reflect.arena_New
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  2. doc/asm.html

    (It's not a subtraction, just idiosyncratic syntax.)
    The frame size <code>$24-8</code> states that the function has a 24-byte frame
    and is called with 8 bytes of argument, which live on the caller's frame.
    If <code>NOSPLIT</code> is not specified for the <code>TEXT</code>,
    the argument size must be provided.
    For assembly functions with Go prototypes, <code>go</code> <code>vet</code> will check that the
    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)
  3. src/bytes/bytes.go

    			if o < 0 {
    				break
    			}
    			i += o + 1
    		}
    		if s[i+1] == c1 && Equal(s[i:i+n], sep) {
    			return i
    		}
    		i++
    		fails++
    		if fails >= 4+i>>4 && i < t {
    			// Give up on IndexByte, it isn't skipping ahead
    			// far enough to be better than Rabin-Karp.
    			// Experiments (using IndexPeriodic) suggest
    			// the cutover is about 16 byte skips.
    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)
  4. doc/go_spec.html

    	    a complex constant, with a mantissa of at least 256 bits
    	    and a signed binary exponent of at least 16 bits.</li>
    
    	<li>Give an error if unable to represent an integer constant
    	    precisely.</li>
    
    	<li>Give an error if unable to represent a floating-point or
    	    complex constant due to overflow.</li>
    
    	<li>Round to the nearest representable constant if unable to
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 279.3K bytes
    - Viewed (0)
  5. CONTRIBUTING.md

    See the [security policy](https://golang.org/security) for details.
    
    The recommended way to file an issue is by running `go bug`.
    Otherwise, when filing an issue, make sure to answer these five questions:
    
    1. What version of Go are you using (`go version`)?
    2. What operating system and processor architecture are you using?
    3. What did you do?
    4. What did you expect to see?
    5. What did you see instead?
    
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 29 22:00:27 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  6. src/bufio/scan.go

    // SplitFunc is the signature of the split function used to tokenize the
    // input. The arguments are an initial substring of the remaining unprocessed
    // data and a flag, atEOF, that reports whether the [Reader] has no more data
    // to give. The return values are the number of bytes to advance the input
    // and the next token to return to the user, if any, plus an error, if any.
    //
    // Scanning stops if the function returns an error, in which case some of
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  7. src/bytes/example_test.go

    	fmt.Println(bytes.ContainsFunc([]byte("World"), f))
    	// Output:
    	// false
    	// true
    }
    
    func ExampleCount() {
    	fmt.Println(bytes.Count([]byte("cheese"), []byte("e")))
    	fmt.Println(bytes.Count([]byte("five"), []byte(""))) // before & after each rune
    	// Output:
    	// 3
    	// 5
    }
    
    func ExampleCut() {
    	show := func(s, sep string) {
    		before, after, found := bytes.Cut([]byte(s), []byte(sep))
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  8. src/cmd/asm/internal/arch/arch.go

    	instructions["B"] = obj.AJMP
    	instructions["BL"] = obj.ACALL
    	// MCR differs from MRC by the way fields of the word are encoded.
    	// (Details in arm.go). Here we add the instruction so parse will find
    	// it, but give it an opcode number known only to us.
    	instructions["MCR"] = aMCR
    
    	return &Arch{
    		LinkArch:       &arm.Linkarm,
    		Instructions:   instructions,
    		Register:       register,
    		RegisterPrefix: registerPrefix,
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Mar 21 06:51:28 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  9. src/bytes/buffer_test.go

    			t.Errorf("after too-large Grow, recover() = %v; want %v", err, ErrTooLarge)
    		}
    	}()
    
    	buf := NewBuffer(make([]byte, 1))
    	const maxInt = int(^uint(0) >> 1)
    	buf.Grow(maxInt)
    }
    
    // Was a bug: used to give EOF reading empty slice at EOF.
    func TestReadEmptyAtEOF(t *testing.T) {
    	b := new(Buffer)
    	slice := make([]byte, 0)
    	n, err := b.Read(slice)
    	if err != nil {
    		t.Errorf("read error: %v", err)
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 20 01:07:29 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  10. doc/go1.17_spec.html

    	    a complex constant, with a mantissa of at least 256 bits
    	    and a signed binary exponent of at least 16 bits.</li>
    
    	<li>Give an error if unable to represent an integer constant
    	    precisely.</li>
    
    	<li>Give an error if unable to represent a floating-point or
    	    complex constant due to overflow.</li>
    
    	<li>Round to the nearest representable constant if unable to
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
Back to top