Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for mention (0.18 sec)

  1. doc/go1.17_spec.html

    <pre class="ebnf">
    MethodDecl = "func" Receiver MethodName Signature [ FunctionBody ] .
    Receiver   = Parameters .
    </pre>
    
    <p>
    The receiver is specified via an extra parameter section preceding the method
    name. That parameter section must declare a single non-variadic parameter, the receiver.
    Its type must be a <a href="#Type_definitions">defined</a> type <code>T</code> or a
    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

    The C types __int128_t and __uint128_t are represented by [16]byte.
    
    A few special C types which would normally be represented by a pointer
    type in Go are instead represented by a uintptr.  See the Special
    cases section below.
    
    To access a struct, union, or enum type directly, prefix it with
    struct_, union_, or enum_, as in C.struct_stat.
    
    The size of any C type T is available as C.sizeof_T, as in
    C.sizeof_struct_stat.
    
    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

    			t.Fatalf("NewReader panicked: %s", r)
    		}
    	}()
    	// Previously, this would trigger a panic as we attempt to read from
    	// an io.SectionReader which would access a slice at a negative offset
    	// as the section reader offset & size were < 0.
    	NewReader(bytes.NewReader(data), int64(len(data))+1875)
    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. src/archive/tar/common.go

    	// Uname should give a user name.
    	Uname() (string, error)
    	// Gname should give a group name.
    	Gname() (string, error)
    }
    
    // isHeaderOnlyType checks if the given type flag is of the type that has no
    // data section even if a size is specified.
    func isHeaderOnlyType(flag byte) bool {
    	switch flag {
    	case TypeLink, TypeSymlink, TypeChar, TypeBlock, TypeDir, TypeFifo:
    		return true
    	default:
    		return false
    	}
    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)
  5. doc/godebug.md

    files are treated as directives for the test's main package.
    In any other context, `//go:debug` lines are ignored by the toolchain;
    `go` `vet` reports such lines as misplaced.
    
    ## GODEBUG History {#history}
    
    This section documents the GODEBUG settings introduced and removed in each major Go release
    for compatibility reasons.
    Packages or programs may define additional settings for internal debugging purposes;
    for example,
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  6. doc/asm.html

    </p>
    
    <p>
    Global data symbols are defined by a sequence of initializing
    <code>DATA</code> directives followed by a <code>GLOBL</code> directive.
    Each <code>DATA</code> directive initializes a section of the
    corresponding memory.
    The memory not explicitly initialized is zeroed.
    The general form of the <code>DATA</code> directive is
    
    <pre>
    DATA	symbol+offset(SB)/width, value
    </pre>
    
    <p>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  7. src/builtin/builtin.go

    //	         if v is nil, len(v) is zero.
    //
    // For some arguments, such as a string literal or a simple array expression, the
    // result can be a constant. See the Go language specification's "Length and
    // capacity" section for details.
    func len(v Type) int
    
    // The cap built-in function returns the capacity of v, according to its type:
    //
    //	Array: the number of elements in v (same as len(v)).
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  8. doc/go_spec.html

    <pre class="ebnf">
    MethodDecl = "func" Receiver MethodName Signature [ FunctionBody ] .
    Receiver   = Parameters .
    </pre>
    
    <p>
    The receiver is specified via an extra parameter section preceding the method
    name. That parameter section must declare a single non-variadic parameter, the receiver.
    Its type must be a <a href="#Type_definitions">defined</a> type <code>T</code> or a
    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)
  9. doc/go_mem.html

    is documented in the “Synchronization” section below.
    Individual packages are responsible for providing similar documentation
    for their own operations.
    </p>
    
    <h2 id="restrictions">Implementation Restrictions for Programs Containing Data Races</h2>
    
    <p>
    The preceding section gave a formal definition of data-race-free program execution.
    This section informally describes the semantics that implementations must provide
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  10. src/archive/tar/reader.go

    		}
    	}
    }
    
    // handleRegularFile sets up the current file reader and padding such that it
    // can only read the following logical data section. It will properly handle
    // special headers that contain no data section.
    func (tr *Reader) handleRegularFile(hdr *Header) error {
    	nb := hdr.Size
    	if isHeaderOnlyType(hdr.Typeflag) {
    		nb = 0
    	}
    	if nb < 0 {
    		return ErrHeader
    	}
    
    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