Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for street (0.17 sec)

  1. doc/go1.17_spec.html

    	</li>
    </ul>
    
    <p>
    <a href="#Struct_types">Struct tags</a> are ignored when comparing struct types
    for identity for the purpose of conversion:
    </p>
    
    <pre>
    type Person struct {
    	Name    string
    	Address *struct {
    		Street string
    		City   string
    	}
    }
    
    var data *struct {
    	Name    string `json:"name"`
    	Address *struct {
    		Street string `json:"street"`
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    Within the Go file, C's struct field names that are keywords in Go
    can be accessed by prefixing them with an underscore: if x points at a C
    struct with a field named "type", x._type accesses the field.
    C struct fields that cannot be expressed in Go, such as bit fields
    or misaligned data, are omitted in the Go struct, replaced by
    appropriate padding to reach the next field or the end of the struct.
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  3. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), type BpfInsn struct, Jf uint8
    pkg syscall (netbsd-arm64-cgo), type BpfInsn struct, Jt uint8
    pkg syscall (netbsd-arm64-cgo), type BpfInsn struct, K uint32
    pkg syscall (netbsd-arm64-cgo), type BpfProgram struct
    pkg syscall (netbsd-arm64-cgo), type BpfProgram struct, Insns *BpfInsn
    pkg syscall (netbsd-arm64-cgo), type BpfProgram struct, Len uint32
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  4. api/go1.5.txt

    pkg go/types, type Config struct, FakeImportC bool
    pkg go/types, type Config struct, IgnoreFuncBodies bool
    pkg go/types, type Config struct, Importer Importer
    pkg go/types, type Config struct, Sizes Sizes
    pkg go/types, type Const struct
    pkg go/types, type Error struct
    pkg go/types, type Error struct, Fset *token.FileSet
    pkg go/types, type Error struct, Msg string
    pkg go/types, type Error struct, Pos token.Pos
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  5. api/go1.3.txt

    pkg debug/macho, type FatArchHeader struct, SubCpu uint32
    pkg debug/macho, type FatFile struct
    pkg debug/macho, type FatFile struct, Arches []FatArch
    pkg debug/macho, type FatFile struct, Magic uint32
    pkg debug/macho, var ErrNotFat *FormatError
    pkg debug/pe, type DataDirectory struct
    pkg debug/pe, type DataDirectory struct, Size uint32
    pkg debug/pe, type DataDirectory struct, VirtualAddress uint32
    pkg debug/pe, type File struct, OptionalHeader interface{}
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  6. src/cmd/api/testdata/src/pkg/p1/p1.go

    func TakesFunc(f func(dontWantName int) int)
    
    type Codec struct {
    	Func func(x int, y int) (z int)
    }
    
    type SI struct {
    	I int
    }
    
    var SIVal = SI{}
    var SIPtr = &SI{}
    var SIPtr2 *SI
    
    type T struct {
    	common
    }
    
    type B struct {
    	common
    }
    
    type common struct {
    	i int
    }
    
    type TPtrUnexported struct {
    	*common
    }
    
    type TPtrExported struct {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  7. src/cmd/api/api_test.go

    		// say "pkg syscall (darwin-amd64), type RawSockaddrInet6 struct" is missing.
    		// See https://go.dev/issue/4303.
    		{
    			name: "contexts reconverging after api/next/* update",
    			features: []string{
    				"A",
    				"pkg syscall, type RawSockaddrInet6 struct",
    			},
    			required: []string{
    				"A",
    				"pkg syscall (darwin-amd64), type RawSockaddrInet6 struct", // api/go1.n.txt
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Jan 04 17:31:12 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/issue26430/b.go

    // Copyright 2018 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.
    
    package a
    
    // typedef struct S ST;
    // struct S { int f; };
    import "C"
    
    func F2(p *C.ST) {
    	p.f = 1
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 261 bytes
    - Viewed (0)
  9. src/archive/tar/strconv_test.go

    // license that can be found in the LICENSE file.
    
    package tar
    
    import (
    	"math"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestFitsInBase256(t *testing.T) {
    	vectors := []struct {
    		in    int64
    		width int
    		ok    bool
    	}{
    		{+1, 8, true},
    		{0, 8, true},
    		{-1, 8, true},
    		{1 << 56, 8, false},
    		{(1 << 56) - 1, 8, true},
    		{-1 << 56, 8, true},
    		{(-1 << 56) - 1, 8, false},
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Feb 09 05:28:50 GMT 2021
    - 14K bytes
    - Viewed (0)
  10. src/bufio/bufio_test.go

    			t.Fatalf("on line %d/2; ReadLine=%#v, %v; want non-nil line or Error, but not both",
    				i+1, l, err)
    		}
    	}
    }
    
    type readLineResult struct {
    	line     []byte
    	isPrefix bool
    	err      error
    }
    
    var readLineNewlinesTests = []struct {
    	input  string
    	expect []readLineResult
    }{
    	{"012345678901234\r\n012345678901234\r\n", []readLineResult{
    		{[]byte("012345678901234"), true, nil},
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
Back to top