Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for locate (0.16 sec)

  1. misc/go_android_exec/main.go

    	out, err = cmd.Output()
    	if err != nil {
    		return fmt.Errorf("%v: %w", cmd, err)
    	}
    	platformBin := filepath.Dir(string(bytes.TrimSpace(out)))
    	if platformBin == "." {
    		return errors.New("failed to locate cmd/go for target platform")
    	}
    	if err := adb("push", platformBin, path.Join(deviceGoroot, "bin")); err != nil {
    		return err
    	}
    
    	// Copy only the relevant subdirectories from pkg: pkg/include and the
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    //go:cgo_import_static <local>
    
    	In external linking mode, allow unresolved references to
    	<local> in the go.o object file prepared for the host linker,
    	under the assumption that <local> will be supplied by the
    	other object files that will be linked with go.o.
    
    	Example:
    	//go:cgo_import_static puts_wrapper
    
    //go:cgo_export_static <local> <remote>
    
    	In external linking mode, put the Go symbol
    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. src/archive/zip/reader_test.go

    		t.Errorf("Error opening file: %v", err)
    	}
    }
    
    func TestCVE202133196(t *testing.T) {
    	// Archive that indicates it has 1 << 128 -1 files,
    	// this would previously cause a panic due to attempting
    	// to allocate a slice with 1 << 128 -1 elements.
    	data := []byte{
    		0x50, 0x4b, 0x03, 0x04, 0x14, 0x00, 0x08, 0x08,
    		0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    		0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    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)
  4. src/bytes/buffer.go

    	// This avoids unnecessary zero-ing of the first len(b) bytes of the
    	// allocated slice, but this pattern causes b to escape onto the heap.
    	//
    	// Instead use the append-make pattern with a nil slice to ensure that
    	// we allocate buffers rounded up to the closest size class.
    	c := len(b) + n // ensure enough space for n elements
    	if c < 2*cap(b) {
    		// The growth rate has historically always been 2x. In the future,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    			// other than try to determine a Go representation.
    			tt := *t
    			tt.C = &TypeRepr{"%s %s", []interface{}{dt.Kind, tag}}
    			// We don't know what the representation of this struct is, so don't let
    			// anyone allocate one on the Go side. As a side effect of this annotation,
    			// pointers to this type will not be considered pointers in Go. They won't
    			// get writebarrier-ed or adjusted during a stack copy. This should handle
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  6. doc/asm.html

    </li>
    <li>
    <code>LOCAL</code> = 128
    <br>
    This symbol is local to the dynamic shared object.
    </li>
    <li>
    <code>TLSBSS</code> = 256
    <br>
    (For <code>DATA</code> and <code>GLOBL</code> items.)
    Put this data in thread local storage.
    </li>
    <li>
    <code>NOFRAME</code> = 512
    <br>
    (For <code>TEXT</code> items.)
    Do not insert instructions to allocate a stack frame and save/restore the return
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  7. src/bufio/bufio.go

    // delim.
    // For simple uses, a Scanner may be more convenient.
    func (b *Reader) ReadBytes(delim byte) ([]byte, error) {
    	full, frag, n, err := b.collectFragments(delim)
    	// Allocate new buffer to hold the full pieces and the fragment.
    	buf := make([]byte, n)
    	n = 0
    	// Copy full pieces and fragment in.
    	for i := range full {
    		n += copy(buf[n:], full[i])
    	}
    	copy(buf[n:], frag)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  8. src/archive/zip/writer.go

    	// think, see e.g. comments in zipfile.c:putextended() and
    	// https://bugs.openjdk.org/browse/JDK-7073588.
    	// The approach here is to write 8 byte sizes if needed without
    	// adding a zip64 extra in the local header (too late anyway).
    	var buf []byte
    	if w.isZip64() {
    		buf = make([]byte, dataDescriptor64Len)
    	} else {
    		buf = make([]byte, dataDescriptorLen)
    	}
    	b := writeBuf(buf)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top