Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for It (0.18 sec)

  1. doc/go1.17_spec.html

    <a href="#Types">underlying type</a> and operations as the given type,
    and binds an identifier to it.
    </p>
    
    <pre class="ebnf">
    TypeDef = identifier Type .
    </pre>
    
    <p>
    The new type is called a <i>defined type</i>.
    It is <a href="#Type_identity">different</a> from any other type,
    including the type it is created from.
    </p>
    
    <pre>
    type (
    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/bytes/buffer_test.go

    type panicReader struct{ panic bool }
    
    func (r panicReader) Read(p []byte) (int, error) {
    	if r.panic {
    		panic("oops")
    	}
    	return 0, io.EOF
    }
    
    // Make sure that an empty Buffer remains empty when
    // it is "grown" before a Read that panics
    func TestReadFromPanicReader(t *testing.T) {
    
    	// First verify non-panic behaviour
    	var buf Buffer
    	i, err := buf.ReadFrom(panicReader{})
    	if err != nil {
    		t.Fatal(err)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  3. doc/godebug.md

    field is only used during parsing, when it is populated with policy OIDs, but
    not used during marshaling. It can be used to marshal these larger OIDs, instead
    of the existing PolicyIdentifiers field, by using the
    [`x509usepolicies` setting.](/pkg/crypto/x509/#CreateCertificate).
    
    
    ### Go 1.21
    
    Go 1.21 made it a run-time error to call `panic` with a nil interface value,
    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)
  4. src/builtin/builtin.go

    // stand-in for either complex type: complex64 or complex128.
    type ComplexType complex64
    
    // The append built-in function appends elements to the end of a slice. If
    // it has sufficient capacity, the destination is resliced to accommodate the
    // new elements. If it does not, a new underlying array will be allocated.
    // Append returns the updated slice. It is therefore necessary to store the
    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)
  5. doc/go_spec.html

    and binds an identifier, the <i>type name</i>, to it.
    </p>
    
    <pre class="ebnf">
    TypeDef = identifier [ TypeParameters ] Type .
    </pre>
    
    <p>
    The new type is called a <i>defined type</i>.
    It is <a href="#Type_identity">different</a> from any other type,
    including the type it is created from.
    </p>
    
    <pre>
    type (
    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/99-minor/unicode/utf16/44940.md

    The [RuneLen] function returns the number of 16-bit words in
    the UTF-16 encoding of the rune. It returns -1 if the rune
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 162 bytes
    - Viewed (0)
  7. doc/next/6-stdlib/1-time.md

    that for any call to a `Reset` or `Stop` method, no stale values
    prepared before that call will be sent or received after the call.
    Earlier versions of Go used channels with a one-element buffer,
    making it difficult to use `Reset` and `Stop` correctly.
    A visible effect of this change is that `len` and `cap` of timer channels
    now returns 0 instead of 1, which may affect programs that
    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)
  8. src/cmd/asm/internal/asm/testdata/ppc64.s

    	// Hex constant 0xFFFFFFFE00010001
    	ADD $-8589869055, R5            // 3fe0fffe63ff00017bff83e463ff00017cbf2a14 or 0602000138a50001
    
    	//TODO: this compiles to add r5,r6,r0. It should be addi r5,r6,0.
    	//      this is OK since r0 == $0, but the latter is preferred.
    	ADD $0, R6, R5             	// 7ca60214
    
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 15:53:25 GMT 2024
    - 49K bytes
    - Viewed (0)
  9. doc/next/6-stdlib/99-minor/net/http/66008.md

    The new [ParseCookie] function parses a Cookie header value and
    returns all the cookies which were set in it. Since the same cookie
    name can appear multiple times the returned Values can contain
    more than one value for a given key.
    
    The new [ParseSetCookie] function parses a Set-Cookie header value and
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Apr 17 17:43:50 GMT 2024
    - 359 bytes
    - Viewed (0)
  10. doc/next/6-stdlib/99-minor/path/filepath/63703.md

    This behavior is controlled by the `winsymlink` setting.
    For Go 1.23, it defaults to `winsymlink=1`.
    Previous versions default to `winsymlink=0`.
    
    On Windows, [EvalSymlinks] no longer tries to normalize
    volumes to drive letters, which was not always even possible.
    This behavior is controlled by the `winreadlinkvolume` setting.
    For Go 1.23, it defaults to `winreadlinkvolume=1`.
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 545 bytes
    - Viewed (0)
Back to top