Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 8,088 for StructI (0.15 sec)

  1. src/unique/clone.go

    type cloneSeq struct {
    	stringOffsets []uintptr
    }
    
    // makeCloneSeq creates a cloneSeq for a type.
    func makeCloneSeq(typ *abi.Type) cloneSeq {
    	if typ == nil {
    		return cloneSeq{}
    	}
    	if typ.Kind() == abi.String {
    		return singleStringClone
    	}
    	var seq cloneSeq
    	switch typ.Kind() {
    	case abi.Struct:
    		buildStructCloneSeq(typ, &seq, 0)
    	case abi.Array:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:24:21 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modindex/index_format.txt

    “go index v0\n”
    str uint32 - offset of string table
    for the single RawPackage:
    	[same RawPackage format as above]
    [string table]
    
    The following is the definition of the json-serialized parseError struct:
    
    type parseError struct {
    	ErrorList *scanner.ErrorList // non-nil if the error was an ErrorList, nil otherwise
    	ErrorString string // non-empty for all other cases
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 13 00:22:50 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  3. src/structs/hostlayout.go

    package structs
    
    // HostLayout marks a struct as using host memory layout. A struct with a
    // field of type HostLayout will be laid out in memory according to host
    // expectations, generally following the host's C ABI.
    //
    // HostLayout does not affect layout within any other struct-typed fields
    // of the containing struct, nor does it affect layout of structs
    // containing the struct marked as host layout.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 21:19:39 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. hack/verify-description.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    # This script checks API-related files for missing descriptions and outputs a
    # list of structs and fields that are missing descriptions.
    # Usage: `hack/verify-description.sh`.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:32 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. test/fixedbugs/issue4585.go

    // Issue 4585: comparisons and hashes process blank
    // fields and padding in structs.
    
    package main
    
    import "unsafe"
    
    // T is a structure with padding.
    type T struct {
    	A     int16
    	B     int64
    	C     int16
    	D     int64
    	Dummy [64]byte
    }
    
    // U is a structure with a blank field
    type U struct {
    	A, _, B int
    	Dummy   [64]byte
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 2.5K bytes
    - Viewed (0)
  6. src/structs/doc.go

    // license that can be found in the LICENSE file.
    
    // Package structs defines marker types that can be used as struct fields
    // to modify the properties of a struct.
    //
    // By convention, a marker type should be used as the type of a field
    // named "_", placed at the beginning of a struct type definition.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 21:19:39 UTC 2024
    - 431 bytes
    - Viewed (0)
  7. test/nilcheck.go

    package p
    
    type Struct struct {
    	X int
    	Y float64
    }
    
    type BigStruct struct {
    	X int
    	Y float64
    	A [1 << 20]int
    	Z string
    }
    
    type Empty struct {
    }
    
    type Empty1 struct {
    	Empty
    }
    
    var (
    	intp       *int
    	arrayp     *[10]int
    	array0p    *[0]int
    	bigarrayp  *[1 << 26]int
    	structp    *Struct
    	bigstructp *BigStruct
    	emptyp     *Empty
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 30 18:41:59 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  8. src/encoding/gob/doc.go

    schematically,
    
    	struct { A, B int }
    
    can be sent from or received into any of these Go types:
    
    	struct { A, B int }	// the same
    	*struct { A, B int }	// extra indirection of the struct
    	struct { *A, **B int }	// extra indirection of the fields
    	struct { A, B int64 }	// different concrete value type; see below
    
    It may also be received into any of these:
    
    	struct { A, B int }	// the same
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  9. pkg/apis/core/json.go

    // to prevent anyone from marshaling these internal structs.
    
    var _ = json.Marshaler(&AvoidPods{})
    var _ = json.Unmarshaler(&AvoidPods{})
    
    // MarshalJSON panics to prevent marshalling of internal structs
    func (AvoidPods) MarshalJSON() ([]byte, error) { panic("do not marshal internal struct") }
    
    // UnmarshalJSON panics to prevent unmarshalling of internal structs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 25 18:06:51 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  10. pkg/fuzz/util.go

    	"istio.io/istio/pkg/test"
    )
    
    const panicPrefix = "go-fuzz-skip: "
    
    // Helper is a helper struct for fuzzing
    type Helper struct {
    	cf *fuzzheaders.ConsumeFuzzer
    	t  test.Failer
    }
    
    type Validator interface {
    	// FuzzValidate returns true if the current struct is valid for fuzzing.
    	FuzzValidate() bool
    }
    
    // Fuzz is a wrapper around:
    //
    //	 fuzz.BaseCases(f)
    //		f.Fuzz(func(...) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 30 15:31:14 UTC 2022
    - 3.4K bytes
    - Viewed (0)
Back to top