Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 704 for Package (0.91 sec)

  1. .github/ISSUE_TEMPLATE/02-pkgsite-removal.yml

    name: Pkg.go.dev package removal request
    description: Request a package be removed from the documentation site (pkg.go.dev)
    title: "x/pkgsite: package removal request for [type path here]"
    labels: ["pkgsite/package-removal"]
    body:
      - type: markdown
        attributes:
          value: "Please answer these questions before submitting your issue. Thanks!"
      - type: input
        id: package-path
        attributes:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 04 23:31:17 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/issues_test.go

    // for which there is (currently) no better location.
    
    package syntax
    
    import (
    	"strings"
    	"testing"
    )
    
    func TestIssue67866(t *testing.T) {
    	var tests = []string{
    		"package p; var _ = T{@0: 0}",
    		"package p; var _ = T{@1 + 2: 0}",
    		"package p; var _ = T{@x[i]: 0}",
    		"package p; var _ = T{@f(1, 2, 3): 0}",
    		"package p; var _ = T{@a + f(b) + <-ch: 0}",
    	}
    
    	for _, src := range tests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 17:49:19 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. doc/README.md

    glob "*stdlib/*minor" are treated specially. They should be in subdirectories
    corresponding to standard library package paths, and headings for those package
    paths will be generated automatically.
    
    Files in this repo's `api/next` directory must have corresponding files in
    `doc/next/*stdlib/*minor`.
    The files should be in the subdirectory for the package with the new
    API, and should be named after the issue number of the API proposal.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 19:56:43 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ir/func.go

    }
    
    // FuncName returns the name (without the package) of the function f.
    func FuncName(f *Func) string {
    	if f == nil || f.Nname == nil {
    		return "<nil>"
    	}
    	return f.Sym().Name
    }
    
    // PkgFuncName returns the name of the function referenced by f, with package
    // prepended.
    //
    // This differs from the compiler's internal convention where local functions
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/syntax/syntax.go

    // Copyright 2016 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.
    
    package syntax
    
    import (
    	"fmt"
    	"io"
    	"os"
    )
    
    // Mode describes the parser mode.
    type Mode uint
    
    // Modes supported by the parser.
    const (
    	CheckBranches Mode = 1 << iota // check correct use of labels, break, continue, and goto statements
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 01 18:18:07 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/callback_windows.go

    // Copyright 2023 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.
    
    package cgotest
    
    /*
    #include <windows.h>
    USHORT backtrace(ULONG FramesToCapture, PVOID *BackTrace) {
    #ifdef _AMD64_
    	CONTEXT context;
    	RtlCaptureContext(&context);
    	ULONG64 ControlPc;
    	ControlPc = context.Rip;
    	int i;
    	for (i = 0; i < FramesToCapture; i++) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 16:01:37 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testplugin/testdata/method3/main.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // An unexported method can be reachable from the plugin via interface
    // when a package is shared. So it need to be live.
    
    package main
    
    import (
    	"plugin"
    
    	"testplugin/method3/p"
    )
    
    var i p.I
    
    func main() {
    	pl, err := plugin.Open("method3.so")
    	if err != nil {
    		panic(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 533 bytes
    - Viewed (0)
  8. src/cmd/compile/internal/test/clobberdead_test.go

    // Copyright 2021 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.
    
    package test
    
    import (
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"testing"
    )
    
    const helloSrc = `
    package main
    import "fmt"
    func main() { fmt.Println("hello") }
    `
    
    func TestClobberDead(t *testing.T) {
    	// Test that clobberdead mode generates correct program.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:19:15 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/syntax/testing_test.go

    // Copyright 2020 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.
    
    package syntax
    
    import (
    	"fmt"
    	"regexp"
    	"strings"
    	"testing"
    )
    
    func TestCommentMap(t *testing.T) {
    	const src = `/* ERROR "0:0" */ /* ERROR "0:0" */ // ERROR "0:0"
    // ERROR "0:0"
    x /* ERROR "3:1" */                // ignore automatically inserted semicolon here
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:53:18 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/issue23555.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build cgo
    
    // Test that we can have two identical cgo packages in a single binary.
    // No runtime test; just make sure it compiles.
    
    package cgotest
    
    import (
    	_ "cmd/cgo/internal/test/issue23555a"
    	_ "cmd/cgo/internal/test/issue23555b"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 403 bytes
    - Viewed (0)
Back to top