Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for prefixes (0.15 sec)

  1. src/cmd/cgo/gcc.go

    	// exported so that they become global symbols
    	// that the C code can refer to.
    	prefix := "_C"
    	if *gccgo && n.IsVar() {
    		prefix = "C"
    	}
    	n.Mangle = prefix + n.Kind + "_" + n.Go
    }
    
    func (f *File) isMangledName(s string) bool {
    	prefix := "_C"
    	if strings.HasPrefix(s, prefix) {
    		t := s[len(prefix):]
    		for _, k := range nameKinds {
    			if strings.HasPrefix(t, k+"_") {
    				return true
    			}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    	-import_syscall
    		If set (which it is by default) import syscall in
    		generated output.
    	-gccgo
    		Generate output for the gccgo compiler rather than the
    		gc compiler.
    	-gccgoprefix prefix
    		The -fgo-prefix option to be used with gccgo.
    	-gccgopkgpath path
    		The -fgo-pkgpath option to be used with gccgo.
    	-gccgo_define_cgoincomplete
    		Define cgo.Incomplete locally rather than importing it from
    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>
    The final incoming parameter in a function signature may have
    a type prefixed with <code>...</code>.
    A function with such a parameter is called <i>variadic</i> and
    may be invoked with zero or more arguments for that parameter.
    </p>
    
    <pre>
    func()
    func(x int) int
    func(a, _ int, z float32) bool
    func(a, b int, z float32) (bool)
    func(prefix string, values ...int)
    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/bytes/bytes.go

    // CutPrefix returns s without the provided leading prefix byte slice
    // and reports whether it found the prefix.
    // If s doesn't start with prefix, CutPrefix returns s, false.
    // If prefix is the empty byte slice, CutPrefix returns s, true.
    //
    // CutPrefix returns slices of the original slice s, not copies.
    func CutPrefix(s, prefix []byte) (after []byte, found bool) {
    	if !HasPrefix(s, prefix) {
    		return s, false
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  5. src/archive/zip/reader_test.go

    				Name:     "gophercolor16x16.png",
    				File:     "gophercolor16x16.png",
    				Modified: time.Date(2010, 9, 5, 15, 52, 58, 0, timeZone(+10*time.Hour)),
    				Mode:     0644,
    			},
    		},
    	},
    	{
    		Name:    "test-prefix.zip",
    		Comment: "This is a zipfile comment.",
    		File: []ZipTestFile{
    			{
    				Name:     "test.txt",
    				Content:  []byte("This is a test text file.\n"),
    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)
  6. src/bufio/bufio_test.go

    		for {
    			line, isPrefix, err := l.ReadLine()
    			if len(line) > 0 && err != nil {
    				t.Errorf("ReadLine returned both data and error: %s", err)
    			}
    			if isPrefix {
    				t.Errorf("ReadLine returned prefix")
    			}
    			if err != nil {
    				if err != io.EOF {
    					t.Fatalf("Got unknown error: %s", err)
    				}
    				break
    			}
    			if want := testOutput[done : done+len(line)]; !bytes.Equal(want, line) {
    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)
  7. api/go1.18.txt

    pkg net/netip, method (Prefix) Addr() Addr
    pkg net/netip, method (Prefix) AppendTo([]uint8) []uint8
    pkg net/netip, method (Prefix) Bits() int
    pkg net/netip, method (Prefix) Contains(Addr) bool
    pkg net/netip, method (Prefix) IsSingleIP() bool
    pkg net/netip, method (Prefix) IsValid() bool
    pkg net/netip, method (Prefix) MarshalBinary() ([]uint8, error)
    pkg net/netip, method (Prefix) MarshalText() ([]uint8, error)
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 13K bytes
    - Viewed (0)
  8. src/README.vendor

    imported normally and vendored by the standard library.
    
    Vendored packages are internally renamed with a "vendor/" prefix
    to preserve the invariant that all packages have distinct paths.
    This is necessary to avoid compiler and linker conflicts. Adding
    a "vendor/" prefix also maintains the invariant that standard
    library packages begin with a dotless path element.
    
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 02 02:20:05 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  9. .github/ISSUE_TEMPLATE/02-pkgsite-removal.yml

        attributes:
          label: "What is the path of the package that you would like to have removed?"
          description: |
            We can remove packages with a shared path prefix.
            For example, a request for 'github.com/author' would remove all pkg.go.dev pages with that package path prefix.
        validations:
          required: true
      - type: textarea
        id: package-owner
        attributes:
          label: "Are you the owner of this package?"
    Others
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  10. src/archive/tar/common.go

    )
    
    type headerError []string
    
    func (he headerError) Error() string {
    	const prefix = "archive/tar: cannot encode header"
    	var ss []string
    	for _, s := range he {
    		if s != "" {
    			ss = append(ss, s)
    		}
    	}
    	if len(ss) == 0 {
    		return prefix
    	}
    	return fmt.Sprintf("%s: %v", prefix, strings.Join(ss, "; and "))
    }
    
    // Type flags for Header.Typeflag.
    const (
    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)
Back to top