Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for James (0.13 sec)

  1. doc/go1.17_spec.html

    	    identical, and either both functions are variadic or neither is.
    	    Parameter and result names are not required to match.</li>
    
    	<li>Two interface types are identical if they have the same set of methods
    	    with the same names and identical function types.
    	    <a href="#Exported_identifiers">Non-exported</a> method names from different
    	    packages are always different. The order of the methods is irrelevant.</li>
    
    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)
  2. src/cmd/cgo/doc.go

    	import "C"
    
    The preamble may contain any C code, including function and variable
    declarations and definitions. These may then be referred to from Go
    code as though they were defined in the package "C". All names
    declared in the preamble may be used, even if they start with a
    lower-case letter. Exception: static variables in the preamble may
    not be referenced from Go code; static functions are permitted.
    
    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

    	entryNames := []string{`/`, `//`, `\`, `/test.txt`}
    	var names []string
    	for _, f := range r.File {
    		names = append(names, f.Name)
    		if _, err := f.Open(); err != nil {
    			t.Errorf("Error opening %q: %v", f.Name, err)
    		}
    		if _, err := r.Open(f.Name); err == nil {
    			t.Errorf("Opening %q with fs.FS API succeeded", f.Name)
    		}
    	}
    	if !reflect.DeepEqual(names, entryNames) {
    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. lib/time/mkzip.go

    //
    // We use this program instead of 'zip -0 -r ../../zoneinfo.zip *' to get
    // a reproducible generator that does not depend on which version of the
    // external zip tool is used or the ordering of file names in a directory
    // or the current time.
    package main
    
    import (
    	"archive/zip"
    	"bytes"
    	"flag"
    	"fmt"
    	"hash/crc32"
    	"io/fs"
    	"log"
    	"os"
    	"path/filepath"
    	"strings"
    )
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 17:32:07 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  5. doc/go_spec.html

    arguments must be identifiers denoting the type parameters being declared, one
    for each type parameter of the receiver base type.
    The type parameter names do not need to match their corresponding parameter names in the
    receiver base type definition, and all non-blank parameter names must be unique in the
    receiver parameter section and the method signature.
    The receiver type parameter constraints are implied by the receiver base type definition:
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  6. doc/next/6-stdlib/1-time.md

    When Go 1.23 builds older programs, the old behaviors remain in effect.
    The new [GODEBUG setting](/doc/godebug) [`asynctimerchan=1`](/pkg/time/#NewTimer)
    can be used to revert back to asynchronous channel behaviors
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  7. src/cmd/api/main_test.go

    			case *ast.ValueSpec:
    				if isDeprecated(n.Doc) {
    					for _, id := range n.Names {
    						mark(id)
    					}
    				}
    				return false
    			case *ast.Field:
    				if isDeprecated(n.Doc) {
    					for _, id := range n.Names {
    						mark(id)
    					}
    					if len(n.Names) == 0 {
    						// embedded field T or *T?
    						typ := n.Type
    						if ptr, ok := typ.(*ast.StarExpr); ok {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  8. src/archive/tar/writer_test.go

    // TestIssue12594 tests that the Writer does not attempt to populate the prefix
    // field when encoding a header in the GNU format. The prefix field is valid
    // in USTAR and PAX, but not GNU.
    func TestIssue12594(t *testing.T) {
    	names := []string{
    		"0/1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/file.txt",
    		"0/1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/file.txt",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  9. src/archive/tar/reader.go

    // Next returns the header with an [ErrInsecurePath] error.
    // A future version of Go may introduce this behavior by default.
    // Programs that want to accept non-local names can ignore
    // the [ErrInsecurePath] error and use the returned header.
    func (tr *Reader) Next() (*Header, error) {
    	if tr.err != nil {
    		return nil, tr.err
    	}
    	hdr, err := tr.next()
    	tr.err = err
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
Back to top