Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for docs (0.19 sec)

  1. src/cmd/cgo/doc.go

    The go command and any other Go-aware build systems invoke cmd/link
    to link a collection of packages into a single binary. By default, cmd/link will
    present the same interface it does today:
    
    	cmd/link main.a
    
    produces a file named a.out, even if cmd/link does so by invoking the host
    linker in external linking mode.
    
    By default, cmd/link will decide the linking mode as follows: if the only
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  2. src/cmd/cgo/ast.go

    			error_(c.Pos(), "export comment has wrong name %q, want %q", name, n.Name.Name)
    		}
    
    		doc := ""
    		for _, c1 := range n.Doc.List {
    			if c1 != c {
    				doc += c1.Text + "\n"
    			}
    		}
    
    		f.ExpFunc = append(f.ExpFunc, &ExpFunc{
    			Func:    n,
    			ExpName: name,
    			Doc:     doc,
    		})
    		break
    	}
    }
    
    // Make f.ExpFunc[i] point at the Func from this AST instead of the other one.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/callback_c_gc.c

    // 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)
    {
    	struct { const char *p; } a;
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 592 bytes
    - Viewed (0)
  4. doc/go1.17_spec.html

    in a declaration, but it does not introduce a binding and thus is not declared.
    In the package block, the identifier <code>init</code> may only be used for
    <a href="#Package_initialization"><code>init</code> function</a> declarations,
    and like the blank identifier it does not introduce a new binding.
    </p>
    
    <pre class="ebnf">
    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)
  5. src/bufio/bufio_test.go

    }
    
    func TestNewReaderSizeIdempotent(t *testing.T) {
    	const BufSize = 1000
    	b := NewReaderSize(strings.NewReader("hello world"), BufSize)
    	// Does it recognize itself?
    	b1 := NewReaderSize(b, BufSize)
    	if b1 != b {
    		t.Error("NewReaderSize did not detect underlying Reader")
    	}
    	// Does it wrap if existing buffer is too small?
    	b2 := NewReaderSize(b, 2*BufSize)
    	if b2 == b {
    		t.Error("NewReaderSize did not enlarge buffer")
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  6. misc/wasm/wasm_exec.js

    			}
    
    			const timeOrigin = Date.now() - performance.now();
    			this.importObject = {
    				_gotest: {
    					add: (a, b) => a + b,
    				},
    				gojs: {
    					// Go's SP does not change as long as no Go code is running. Some operations (e.g. calls, getters and setters)
    					// may synchronously trigger a Go event handler. This makes Go code get executed in the middle of the imported
    JavaScript
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  7. src/archive/zip/reader_test.go

    			},
    		},
    	},
    	{
    		Name: "utf8-infozip.zip",
    		File: []ZipTestFile{
    			{
    				Name:    "世界",
    				Content: []byte{},
    				Mode:    0644,
    				// Name is valid UTF-8, but format does not have UTF-8 flag set.
    				// We don't do UTF-8 detection for multi-byte runes due to
    				// false-positives with other encodings (e.g., Shift-JIS).
    				// Format says encoding is not UTF-8, so we trust it.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/testdata/amd64enc_extra.s

    	VADDPD 8128(DX), Z28, Z29       // 62619d40586a7f
    	VADDPD 8128(DX)(AX*2), Z0, Z29  // 6261fd48586c427f
    	VADDPD 8128(DX)(AX*2), Z29, Z1  // 62f19540584c427f
    	// EVEX: compressed displacement that does not fit into 8bits.
    	VADDPD 2048(DX), X29, X0        // 62f19500588200080000
    	VADDPD 2048(DX), X1, X29        // 6261f50858aa00080000
    	VADDPD 2048(DX), X29, X28       // 6261950058a200080000
    Others
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Apr 11 18:32:50 GMT 2023
    - 57.6K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/callback.go

    func goWithString(s string) {
    	stringFromGo = s
    }
    
    func testCallbackStack(t *testing.T) {
    	// Make cgo call and callback with different amount of stack available.
    	// We do not do any explicit checks, just ensure that it does not crash.
    	for _, f := range splitTests {
    		f()
    	}
    }
    
    //export goStackCheck
    func goStackCheck() {
    	// use some stack memory to trigger split stack check
    	var buf [256]byte
    	use(buf[:])
    }
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
  10. .github/ISSUE_TEMPLATE/00-bug.yml

    # https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#creating-issue-forms
    # https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema
    name: Bugs
    description: The go command, standard library, or anything else
    title: "import/path: issue title"
    
    body:
      - type: markdown
        attributes:
    Others
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 3.3K bytes
    - Viewed (0)
Back to top