Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for Hevery (0.24 sec)

  1. src/arena/arena.go

    // it is no longer referenced, so it must be kept alive (see runtime.KeepAlive)
    // until any memory allocated from it is no longer needed.
    //
    // An Arena must never be used concurrently by multiple goroutines.
    type Arena struct {
    	a unsafe.Pointer
    }
    
    // NewArena allocates a new arena.
    func NewArena() *Arena {
    	return &Arena{a: runtime_arena_newArena()}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    must be placed in preambles in other files, or in C source files.
    
    # Passing pointers
    
    Go is a garbage collected language, and the garbage collector needs to
    know the location of every pointer to Go memory. Because of this,
    there are restrictions on passing pointers between Go and C.
    
    In this section the term Go pointer means a pointer to memory
    allocated by Go (such as by using the & operator or calling the
    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/go1.17_spec.html

    </p>
    
    <p>
    Implementation restriction: Although numeric constants have arbitrary
    precision in the language, a compiler may implement them using an
    internal representation with limited precision.  That said, every
    implementation must:
    </p>
    
    <ul>
    	<li>Represent integer constants with at least 256 bits.</li>
    
    	<li>Represent floating-point constants, including the parts of
    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)
  4. src/archive/zip/reader_test.go

    	// uncompressed expected content.
    	// If content is very large, an alternative to setting Content or File
    	// is to set Size, which will then be checked against the header-reported size
    	// but will bypass the decompressing of the actual data.
    	// This last option is used for testing very large (multi-GB) compressed files.
    	ContentErr error
    	Content    []byte
    	File       string
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  5. .github/ISSUE_TEMPLATE/11-language-change.yml

      - type: textarea
        id: cost-description
        attributes:
          label: "Cost Description"
          description: "What is the cost of this proposal? (Every language change has a cost)"
    
      - type: input
        id: go-toolchain
        attributes:
          label: Changes to Go ToolChain
    Others
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Nov 22 20:49:24 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  6. src/bytes/boundary_test.go

    //
    //go:build linux
    
    package bytes_test
    
    import (
    	. "bytes"
    	"syscall"
    	"testing"
    )
    
    // This file tests the situation where byte operations are checking
    // data very near to a page boundary. We want to make sure those
    // operations do not read across the boundary and cause a page
    // fault where they shouldn't.
    
    // These tests run only on linux. The code being tested is
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 30 20:05:58 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  7. src/archive/tar/common.go

    	// the BSD tar utility.
    	if size < 0 {
    		return false
    	}
    	var pre sparseEntry
    	for _, cur := range sp {
    		switch {
    		case cur.Offset < 0 || cur.Length < 0:
    			return false // Negative values are never okay
    		case cur.Offset > math.MaxInt64-cur.Length:
    			return false // Integer overflow with large length
    		case cur.endOffset() > size:
    			return false // Region extends beyond the actual size
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  8. .github/PULL_REQUEST_TEMPLATE

    This PR will be imported into Gerrit with the title and first
    comment (this text) used to generate the subject and body of
    the Gerrit change.
    
    **Please ensure you adhere to every item in this list.**
    
    More info can be found at https://github.com/golang/go/wiki/CommitMessage
    
    + The PR title is formatted as follows: `net/http: frob the quux before blarfing`
      + The package name goes before the colon
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Feb 21 02:07:46 GMT 2018
    - 1.2K bytes
    - Viewed (0)
  9. src/archive/zip/writer_test.go

    				Name:   "foo",
    				Method: Deflate,
    			})
    			w.Write(bigBuf)
    		}
    		zw.Close()
    	}
    
    	b.ReportAllocs()
    	// Run once and then reset the timer.
    	// This effectively discards the very large initial flate setup cost,
    	// as well as the initialization of bigBuf.
    	runOnce(&bytes.Buffer{})
    	b.ResetTimer()
    
    	b.RunParallel(func(pb *testing.PB) {
    		var buf bytes.Buffer
    		for pb.Next() {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  10. src/cmd/cgo/gcc.go

    	// Minimum alignment for a struct is 1 byte.
    	align = 1
    
    	var buf strings.Builder
    	buf.WriteString("struct {")
    	fld := make([]*ast.Field, 0, 2*len(dt.Field)+1) // enough for padding around every field
    	sizes := make([]int64, 0, 2*len(dt.Field)+1)
    	off := int64(0)
    
    	// Rename struct fields that happen to be named Go keywords into
    	// _{keyword}.  Create a map from C ident -> Go ident. The Go ident will
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top