Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,634 for Tstruct (0.13 sec)

  1. src/cmd/link/internal/ld/dwarf_test.go

    	mustHaveDWARF(t)
    
    	t.Parallel()
    
    	dir := t.TempDir()
    
    	const prog = `package main
    
    import "fmt"
    
    type astruct struct {
    	X int
    }
    
    type bstruct struct {
    	X float32
    }
    
    var globalptr *astruct
    var globalvar astruct
    var bvar0, bvar1, bvar2 bstruct
    
    func main() {
    	fmt.Println(globalptr, globalvar, bvar0, bvar1, bvar2)
    }
    `
    
    	f := gobuild(t, dir, prog, NoOpt)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 01:38:11 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  2. pkg/slices/slices_test.go

    			}
    		})
    	}
    }
    
    // nolint: unused
    type myStruct struct {
    	a, b, c, d string
    	n          int
    }
    
    func makeRandomStructs(n int) []*myStruct {
    	rand.Seed(42) // nolint: staticcheck
    	structs := make([]*myStruct, n)
    	for i := 0; i < n; i++ {
    		structs[i] = &myStruct{n: rand.Intn(n)} // nolint: gosec
    	}
    	return structs
    }
    
    const N = 100_000
    
    func BenchmarkSort(b *testing.B) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/decompose.go

    	fnames := []*LocalSlot{} // slots for struct in name
    	t := name.Type
    	n := t.NumFields()
    
    	for i := 0; i < n; i++ {
    		fs := f.SplitStruct(name, i)
    		fnames = append(fnames, fs)
    		// arrays and structs will be decomposed further, so
    		// there's no need to record a name
    		if !fs.Type.IsArray() && !fs.Type.IsStruct() {
    			slots = maybeAppend(f, slots, fs)
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 21:22:15 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  4. pkg/bootstrap/option/convert.go

    	"istio.io/istio/pkg/wellknown"
    )
    
    // TransportSocket wraps UpstreamTLSContext
    type TransportSocket struct {
    	Name        string          `json:"name,omitempty"`
    	TypedConfig *pstruct.Struct `json:"typed_config,omitempty"`
    }
    
    // TCPKeepalive wraps is a thin JSON for xDS proto
    type TCPKeepalive struct {
    	KeepaliveProbes   *wrappers.UInt32Value `json:"keepalive_probes,omitempty"`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 00:35:05 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. test/live.go

    var pstructarr [10]pstruct
    
    // Struct size chosen to make pointer to element in pstructarr
    // not computable by strength reduction.
    type pstruct struct {
    	intp *int
    	_    [8]byte
    }
    
    func f30(b bool) {
    	// live temp during printintpointer(p):
    	// the internal iterator pointer if a pointer to pstruct in pstructarr
    	// can not be easily computed by strength reduction.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 18K bytes
    - Viewed (0)
  6. test/live_regabi.go

    var pstructarr [10]pstruct
    
    // Struct size chosen to make pointer to element in pstructarr
    // not computable by strength reduction.
    type pstruct struct {
    	intp *int
    	_    [8]byte
    }
    
    func f30(b bool) {
    	// live temp during printintpointer(p):
    	// the internal iterator pointer if a pointer to pstruct in pstructarr
    	// can not be easily computed by strength reduction.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  7. pkg/adsc/adsc.go

    	}
    	if config.Meta == nil {
    		n.Metadata = &pstruct.Struct{
    			Fields: map[string]*pstruct.Value{
    				"ISTIO_VERSION": {Kind: &pstruct.Value_StringValue{StringValue: "65536.65536.65536"}},
    			},
    		}
    	} else {
    		n.Metadata = config.Meta
    		if config.Meta.Fields["ISTIO_VERSION"] == nil {
    			config.Meta.Fields["ISTIO_VERSION"] = &pstruct.Value{Kind: &pstruct.Value_StringValue{StringValue: "65536.65536.65536"}}
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 05 22:18:49 UTC 2024
    - 35K bytes
    - Viewed (0)
  8. pkg/test/framework/components/echo/calloptions.go

    	// Skip verifying peer's certificate.
    	InsecureSkipVerify bool
    }
    
    // Retry settings
    type Retry struct {
    	// NoRetry if true, no retry will be attempted.
    	NoRetry bool
    
    	// Options to be used when retrying. If not specified, defaults will be used.
    	Options []retry.Option
    }
    
    // TCP settings
    type TCP struct {
    	// ExpectedResponse asserts this is in the response for TCP requests.
    	ExpectedResponse *wrappers.StringValue
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 08 09:39:20 UTC 2023
    - 13K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_386.go

    	Ivsize      uint32
    }
    
    type CryptoReportComp struct {
    	Type [64]int8
    }
    
    type CryptoReportRNG struct {
    	Type     [64]int8
    	Seedsize uint32
    }
    
    type CryptoReportAKCipher struct {
    	Type [64]int8
    }
    
    type CryptoReportKPP struct {
    	Type [64]int8
    }
    
    type CryptoReportAcomp struct {
    	Type [64]int8
    }
    
    type LoopInfo struct {
    	Number           int32
    	Device           uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go

    	Ivsize      uint32
    }
    
    type CryptoReportComp struct {
    	Type [64]int8
    }
    
    type CryptoReportRNG struct {
    	Type     [64]int8
    	Seedsize uint32
    }
    
    type CryptoReportAKCipher struct {
    	Type [64]int8
    }
    
    type CryptoReportKPP struct {
    	Type [64]int8
    }
    
    type CryptoReportAcomp struct {
    	Type [64]int8
    }
    
    type LoopInfo struct {
    	Number           int32
    	Device           uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top