Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for StructType (0.32 sec)

  1. staging/src/k8s.io/api/core/v1/types.go

    	// Expected to be non-nil when bound.
    	// claim.VolumeName is the authoritative bind between PV and PVC.
    	// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding
    	// +optional
    	// +structType=granular
    	ClaimRef *ObjectReference `json:"claimRef,omitempty" protobuf:"bytes,4,opt,name=claimRef"`
    	// persistentVolumeReclaimPolicy defines what happens to a persistent volume when released from its claim.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 390.8K bytes
    - Viewed (0)
  2. src/go/types/expr.go

    	case *ast.BadExpr,
    		*ast.FuncLit,
    		*ast.CompositeLit,
    		*ast.IndexExpr,
    		*ast.SliceExpr,
    		*ast.TypeAssertExpr,
    		*ast.StarExpr,
    		*ast.KeyValueExpr,
    		*ast.ArrayType,
    		*ast.StructType,
    		*ast.FuncType,
    		*ast.InterfaceType,
    		*ast.MapType,
    		*ast.ChanType:
    		// These expression are never untyped - nothing to do.
    		// The respective sub-expressions got their final types
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  3. src/runtime/cgocall.go

    		}
    	case abi.String:
    		ss := (*stringStruct)(p)
    		if !cgoIsGoPointer(ss.str) {
    			return
    		}
    		if !top && !isPinned(ss.str) {
    			panic(errorString(msg))
    		}
    	case abi.Struct:
    		st := (*structtype)(unsafe.Pointer(t))
    		if !indir {
    			if len(st.Fields) != 1 {
    				throw("can't happen")
    			}
    			cgoCheckArg(st.Fields[0].Typ, p, st.Fields[0].Typ.Kind_&abi.KindDirectIface == 0, top, msg)
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/autoscaling/v1/types.go

    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    )
    
    // CrossVersionObjectReference contains enough information to let you identify the referred resource.
    // +structType=atomic
    type CrossVersionObjectReference struct {
    	// kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  5. src/go/doc/reader.go

    	r.order++
    }
    
    // fields returns a struct's fields or an interface's methods.
    func fields(typ ast.Expr) (list []*ast.Field, isStruct bool) {
    	var fields *ast.FieldList
    	switch t := typ.(type) {
    	case *ast.StructType:
    		fields = t.Fields
    		isStruct = true
    	case *ast.InterfaceType:
    		fields = t.Methods
    	}
    	if fields != nil {
    		list = fields.List
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/expr.go

    		*syntax.CompositeLit,
    		*syntax.IndexExpr,
    		*syntax.SliceExpr,
    		*syntax.AssertExpr,
    		*syntax.ListExpr,
    		//*syntax.StarExpr,
    		*syntax.KeyValueExpr,
    		*syntax.ArrayType,
    		*syntax.StructType,
    		*syntax.FuncType,
    		*syntax.InterfaceType,
    		*syntax.MapType,
    		*syntax.ChanType:
    		// These expression are never untyped - nothing to do.
    		// The respective sub-expressions got their final types
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  7. src/reflect/value.go

    // It panics if v's Kind is not [Struct] or i is out of range.
    func (v Value) Field(i int) Value {
    	if v.kind() != Struct {
    		panic(&ValueError{"reflect.Value.Field", v.kind()})
    	}
    	tt := (*structType)(unsafe.Pointer(v.typ()))
    	if uint(i) >= uint(len(tt.Fields)) {
    		panic("reflect: Field index out of range")
    	}
    	field := &tt.Fields[i]
    	typ := field.Typ
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool.go

    		// simply a read on JSON from MinIO and write it back as "parquet".
    		//
    		// import org.apache.spark.sql.SparkSession
    		// import org.apache.spark.sql.types.{IntegerType, StringType, StructField, StructType}
    		// object SparkJSONRead {
    		//   def main(args: Array[String]): Unit = {
    		//     val spark:SparkSession = SparkSession.builder()
    		//       .appName("SparkByExample")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    		err = errnoErr(e1)
    	}
    	return
    }
    
    func CryptDecodeObject(encodingType uint32, structType *byte, encodedBytes *byte, lenEncodedBytes uint32, flags uint32, decoded unsafe.Pointer, decodedLen *uint32) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  10. doc/go_spec.html

    <pre class="ebnf">
    Type      = TypeName [ TypeArgs ] | TypeLit | "(" Type ")" .
    TypeName  = identifier | QualifiedIdent .
    TypeArgs  = "[" TypeList [ "," ] "]" .
    TypeList  = Type { "," Type } .
    TypeLit   = ArrayType | StructType | PointerType | FunctionType | InterfaceType |
                SliceType | MapType | ChannelType .
    </pre>
    
    <p>
    The language <a href="#Predeclared_identifiers">predeclares</a> certain type names.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
Back to top