Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Burns (0.24 sec)

  1. doc/go_spec.html

    </pre>
    
    <p>
    A <a href="#Type_parameter_declarations">type parameter</a> or a <a href="#Type_declarations">generic type</a>
    may be used as a type in a case. If upon <a href="#Instantiations">instantiation</a> that type turns
    out to duplicate another entry in the switch, the first matching case is chosen.
    </p>
    
    <pre>
    func f[P any](x any) int {
    	switch x.(type) {
    	case P:
    		return 0
    	case string:
    		return 1
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/lex/lex.go

    // A Macro represents the definition of a #defined macro.
    type Macro struct {
    	name   string   // The #define name.
    	args   []string // Formal arguments.
    	tokens []Token  // Body of macro.
    }
    
    // Tokenize turns a string into a list of Tokens; used to parse the -D flag and in tests.
    func Tokenize(str string) []Token {
    	t := NewTokenizer("command line", strings.NewReader(str), nil)
    	var tokens []Token
    	for {
    		tok := t.Next()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/swig/testdata/stdio/main.go

    // Copyright 2017 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.
    
    // This file is here just to cause problems.
    // main.swig turns into a file also named main.go.
    // Make sure cmd/go keeps them separate
    // when both are passed to cgo.
    
    package main
    
    //int F(void) { return 1; }
    import "C"
    import (
    	"fmt"
    	"os"
    )
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 975 bytes
    - Viewed (0)
  4. src/archive/zip/reader.go

    		// The ZIP specification (APPNOTE.TXT) specifies that directories, which
    		// are technically zero-byte files, must not have any associated file
    		// data. We previously tried failing here if f.CompressedSize64 != 0,
    		// but it turns out that a number of implementations (namely, the Java
    		// jar tool) don't properly set the storage method on directories
    		// resulting in a file with compressed size > 0 but uncompressed size ==
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/ppc64.s

    	// Hex constant 0xFFFFFFFE00000001
    	MOVD $-8589934591, R5           // 38a0ffff or 0602000038a00001
    
    	// For #66955. Verify this opcode turns into a load and assembles.
    	MOVD $-6795364578871345152, R5  // 3ca00000e8a50000 or 04100000e4a00000
    
    	MOVD 8(R3), R4                  // e8830008
    	MOVD (R3)(R4), R5               // 7ca4182a
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 15:53:25 GMT 2024
    - 49K bytes
    - Viewed (0)
Back to top