Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of about 10,000 for fStruct (0.15 sec)

  1. test/fixedbugs/issue19482.go

    )
    
    func bad() {
    	var z = T{_: "verse"} // ERROR "invalid field name _ in struct initializer|expected struct field name|unknown field _ in struct literal of type T"
    	_ = z
    	_ = T{_: "itinerary"} // ERROR "invalid field name _ in struct initializer|expected struct field name|unknown field _ in struct literal of type T"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 21:59:09 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  2. test/convert2.go

    	t = u    // ERROR "cannot use .* in assignment|incompatible type"
    	t = T(u)
    }
    
    func _() {
    	type E struct{ x int }
    	type S struct {
    		f func(struct {
    			x int "foo"
    		})
    	}
    	type T struct {
    		f func(struct {
    			x int "bar"
    		})
    	}
    	var s S
    	var t T
    	var u struct{ f func(E) }
    	s = s
    	s = t // ERROR "cannot use .* in assignment|incompatible type"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 08 15:55:44 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  3. src/go/printer/testdata/declarations.input

    	var _ func() int
    
    	type _ struct{}
    	type _ *struct{}
    	type _ []struct{}
    	type _ map[string]struct{}
    	type _ chan struct{}
    	type _ func() struct{}
    
    	type _ interface{}
    	type _ *interface{}
    	type _ []interface{}
    	type _ map[string]interface{}
    	type _ chan interface{}
    	type _ func() interface{}
    
    	var _ struct{}
    	var _ *struct{}
    	var _ []struct{}
    	var _ map[string]struct{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 13 22:24:31 UTC 2021
    - 16.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/msrpc/netdfs.idl

    	const uint32_t DFS_STORAGE_STATE_ACTIVE = 0x0004;
    
    	typedef struct {
    		[string] wchar_t *entry_path;
    	} DfsInfo1;
    
    	typedef struct {
    		uint32_t count;
    		[size_is(count)] DfsInfo1 *s;
    	} DfsEnumArray1;
    
    	typedef struct {
    		uint32_t state;
    		[string] wchar_t *server_name;
    		[string] wchar_t *share_name;
    	} DfsStorageInfo;
    
    	typedef struct {
    		[string] wchar_t *path;
    		[string] wchar_t *comment;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  5. src/runtime/runtime-gdb_test.go

    	types := []string{
    		"[]main.astruct;",
    		"bucket<string,main.astruct>;",
    		"hash<string,main.astruct>;",
    		"main.astruct;",
    		"hash<string,main.astruct> * map[string]main.astruct;",
    	}
    	for _, name := range types {
    		if !strings.Contains(sgot, name) {
    			t.Fatalf("could not find %s in 'info typrs astruct' output", name)
    		}
    	}
    }
    
    const constsSource = `
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  6. src/syscall/types_windows.go

    	DnsSectionAdditional = 0x0003
    )
    
    type DNSSRVData struct {
    	Target   *uint16
    	Priority uint16
    	Weight   uint16
    	Port     uint16
    	Pad      uint16
    }
    
    type DNSPTRData struct {
    	Host *uint16
    }
    
    type DNSMXData struct {
    	NameExchange *uint16
    	Preference   uint16
    	Pad          uint16
    }
    
    type DNSTXTData struct {
    	StringCount uint16
    	StringArray [1]*uint16
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  7. src/runtime/defs_linux_s390x.go

    	sa_mask     uint64
    }
    
    type siginfoFields struct {
    	si_signo int32
    	si_errno int32
    	si_code  int32
    	// below here is a union; si_addr is the only field we use
    	si_addr uint64
    }
    
    type siginfo struct {
    	siginfoFields
    
    	// Pad struct to the max size in the kernel.
    	_ [_si_max_size - unsafe.Sizeof(siginfoFields{})]byte
    }
    
    type itimerspec struct {
    	it_interval timespec
    	it_value    timespec
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. api/go1.txt

    pkg archive/tar, type Header struct
    pkg archive/tar, type Header struct, AccessTime time.Time
    pkg archive/tar, type Header struct, ChangeTime time.Time
    pkg archive/tar, type Header struct, Devmajor int64
    pkg archive/tar, type Header struct, Devminor int64
    pkg archive/tar, type Header struct, Gid int
    pkg archive/tar, type Header struct, Gname string
    pkg archive/tar, type Header struct, Linkname string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  9. src/internal/reflectlite/all_test.go

    	{struct{ x int64 }{}, "int64"},
    	{struct{ x uint }{}, "uint"},
    	{struct{ x uint8 }{}, "uint8"},
    	{struct{ x uint16 }{}, "uint16"},
    	{struct{ x uint32 }{}, "uint32"},
    	{struct{ x uint64 }{}, "uint64"},
    	{struct{ x float32 }{}, "float32"},
    	{struct{ x float64 }{}, "float64"},
    	{struct{ x int8 }{}, "int8"},
    	{struct{ x (**int8) }{}, "**int8"},
    	{struct{ x (**integer) }{}, "**reflectlite_test.integer"},
    	{struct{ x ([32]int32) }{}, "[32]int32"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:26:08 UTC 2023
    - 24.2K bytes
    - Viewed (0)
  10. src/go/doc/testdata/e.go

    type U4 struct {
    	*u5
    }
    
    // U4.M should appear as method of U4.
    func (*U4) M() {}
    
    type u5 struct {
    	*U4
    }
    
    // ----------------------------------------------------------------------------
    // A higher-level embedded type (and its methods) wins over the same type (and
    // its methods) embedded at a lower level.
    
    type V1 struct {
    	*V2
    	*V5
    }
    
    type V2 struct {
    	*V3
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 2.8K bytes
    - Viewed (0)
Back to top