Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for talking (0.24 sec)

  1. src/cmd/cgo/doc.go

    to it. Whether Go memory is pinned is a dynamic property of that memory
    region; it has nothing to do with the type of the pointer.
    
    Go values created by calling new, by taking the address of a composite
    literal, or by taking the address of a local variable may also have their
    memory pinned using [runtime.Pinner]. This type may be used to manage
    the duration of the memory's pinned status, potentially beyond 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)
  2. src/cmd/cgo/internal/test/callback_c_gc.c

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build gc
    
    #include "_cgo_export.h"
    #include <stdint.h>
    #include <stdio.h>
    #include <stdlib.h>
    
    /* Test calling panic from C.  This is what SWIG does.  */
    
    extern void crosscall2(void (*fn)(void *, int), void *, int);
    extern void _cgo_panic(void *, int);
    extern void _cgo_allocate(void *, int);
    
    void
    callPanic(void)
    {
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 592 bytes
    - Viewed (0)
  3. src/arena/arena.go

    }
    
    // NewArena allocates a new arena.
    func NewArena() *Arena {
    	return &Arena{a: runtime_arena_newArena()}
    }
    
    // Free frees the arena (and all objects allocated from the arena) so that
    // memory backing the arena can be reused fairly quickly without garbage
    // collection overhead. Applications must not call any method on this
    // arena after it has been freed.
    func (a *Arena) Free() {
    	runtime_arena_arena_Free(a.a)
    	a.a = nil
    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)
  4. src/cmd/asm/internal/asm/testdata/mips64.s

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This input was created by taking the ppc64 testcase and modified
    // by hand.
    
    #include "../../../../../runtime/textflag.h"
    
    TEXT foo(SB),DUPOK|NOSPLIT,$0
    //
    // branch
    //
    //	LBRA rel
    //	{
    //		outcode(int($1), &nullgen, 0, &$2);
    //	}
    	BEQ	R1, 2(PC)
    label0:
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 08 12:17:12 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  5. src/cmd/cgo/ast.go

    	ctxFile
    	ctxDecl
    	ctxSpec
    	ctxDefer
    	ctxCall  // any function call other than ctxCall2
    	ctxCall2 // function call whose result is assigned to two variables
    	ctxSelector
    )
    
    // walk walks the AST x, calling visit(f, x, context) for each node.
    func (f *File) walk(x interface{}, context astContext, visit func(*File, interface{}, astContext)) {
    	visit(f, x, context)
    	switch n := x.(type) {
    	case *ast.Expr:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  6. doc/go1.17_spec.html

    of a <a href="#Function_declarations">function declaration</a>
    or <a href="#Function_literals">function literal</a> reserves
    storage for a named variable.
    
    Calling the built-in function <a href="#Allocation"><code>new</code></a>
    or taking the address of a <a href="#Composite_literals">composite literal</a>
    allocates storage for a variable at run time.
    Such an anonymous variable is referred to via a (possibly implicit)
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  7. src/bytes/buffer_test.go

    		check(t, testname+" (fill 4)", buf, s)
    	}
    	return s
    }
    
    func TestNewBuffer(t *testing.T) {
    	buf := NewBuffer(testBytes)
    	check(t, "NewBuffer", buf, testString)
    }
    
    var buf Buffer
    
    // Calling NewBuffer and immediately shallow copying the Buffer struct
    // should not result in any allocations.
    // This can be used to reset the underlying []byte of an existing Buffer.
    func TestNewBufferShallow(t *testing.T) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  8. src/bufio/bufio_test.go

    	{"byte", iotest.OneByteReader},
    	{"half", iotest.HalfReader},
    	{"data+err", iotest.DataErrReader},
    	{"timeout", iotest.TimeoutReader},
    }
    
    // Call ReadString (which ends up calling everything else)
    // to accumulate the text of a file.
    func readLines(b *Reader) string {
    	s := ""
    	for {
    		s1, err := b.ReadString('\n')
    		if err == io.EOF {
    			break
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/amd64enc_extra.s

    	KSHIFTLW $196, K1, K5 // c4e3f932e9c4
    	KSHIFTLD $0, K7, K0   // c4e37933c700
    	KSHIFTLD $196, K1, K5 // c4e37933e9c4
    	KSHIFTLQ $0, K7, K0   // c4e3f933c700
    	KSHIFTLQ $196, K1, K5 // c4e3f933e9c4
    	// EVEX: masking with K1-K7.
    	VADDPD X2, X1, K1, X0            // 62f1f50958c2
    	VADDPD X12, X1, K4, X10          // 6251f50c58d4
    	VADDPD X22, X1, K7, X20          // 62a1f50f58e6
    	VADDPD (AX), X1, K1, X1          // 62f1f5095808
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 11 18:32:50 GMT 2023
    - 57.6K bytes
    - Viewed (0)
  10. misc/chrome/gophertool/popup.js

        if (url)
          links[i].addEventListener("click", function () {
            openURL(this.getAttribute("url"));
          });
      }
    }
    
    window.addEventListener("load", function () {
      addLinks();
      console.log("hacking gopher pop-up loaded.");
      document.getElementById("inputbox").focus();
    });
    
    window.addEventListener("submit", function () {
      console.log("submitting form");
      var box = document.getElementById("inputbox");
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Oct 21 17:05:21 GMT 2012
    - 1020 bytes
    - Viewed (0)
Back to top