Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 367 for typeOf (0.17 sec)

  1. src/runtime/type.go

    // license that can be found in the LICENSE file.
    
    // Runtime type representation.
    
    package runtime
    
    import (
    	"internal/abi"
    	"unsafe"
    )
    
    type nameOff = abi.NameOff
    type typeOff = abi.TypeOff
    type textOff = abi.TextOff
    
    type _type = abi.Type
    
    // rtype is a wrapper that allows us to define additional methods.
    type rtype struct {
    	*abi.Type // embedding is okay here (unlike reflect) because none of this is public
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h

      typedef T1 Head;
      typedef Types1<T2> Tail;
    };
    
    template <typename T1, typename T2, typename T3>
    struct Types3 {
      typedef T1 Head;
      typedef Types2<T2, T3> Tail;
    };
    
    template <typename T1, typename T2, typename T3, typename T4>
    struct Types4 {
      typedef T1 Head;
      typedef Types3<T2, T3, T4> Tail;
    };
    
    template <typename T1, typename T2, typename T3, typename T4, typename T5>
    struct Types5 {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 181.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    	}
    
    	if schema.XMapType != nil && schema.Type != "object" {
    		if len(schema.Type) == 0 {
    			allErrs.SchemaErrors = append(allErrs.SchemaErrors, field.Required(fldPath.Child("type"), "must be object if x-kubernetes-map-type is specified"))
    		} else {
    			allErrs.SchemaErrors = append(allErrs.SchemaErrors, field.Invalid(fldPath.Child("type"), schema.Type, "must be object if x-kubernetes-map-type is specified"))
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
  4. pkg/apis/core/v1/defaults_test.go

    				toVisit = append(toVisit, testPath{path: visit.path + "[*]", value: item})
    			} else if !isPrimitive(visit.value.Type().Elem().Kind()) {
    				t.Logf("unhandled non-primitive map type %s: %s", visit.path, visit.value.Type().Elem())
    			}
    
    		case visit.value.Kind() == reflect.Pointer:
    			if visit.value.IsNil() {
    				if visit.value.Type().Elem().Kind() == reflect.Struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  5. pkg/workloadapi/workload.pb.go

    // These resources cannot be looked up on-demand.
    type Address struct {
    	state         protoimpl.MessageState
    	sizeCache     protoimpl.SizeCache
    	unknownFields protoimpl.UnknownFields
    
    	// Types that are assignable to Type:
    	//
    	//	*Address_Workload
    	//	*Address_Service
    	Type isAddress_Type `protobuf_oneof:"type"`
    }
    
    func (x *Address) Reset() {
    	*x = Address{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    		t.Fatalf("Expected list resource version to be %s, got %s", resolvedResourceVersionFromThirdItem, out.ResourceVersion)
    	}
    }
    
    type PrefixTransformerModifier func(*PrefixTransformer) value.Transformer
    
    type InterfaceWithPrefixTransformer interface {
    	storage.Interface
    
    	UpdatePrefixTransformer(PrefixTransformerModifier) func()
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/api_test.go

    	}{
    		// void
    		{`package n0; func f() { f() }`, `f()`, `void`},
    
    		// types
    		{`package t0; type _ int`, `int`, `type`},
    		{`package t1; type _ []int`, `[]int`, `type`},
    		{`package t2; type _ func()`, `func()`, `type`},
    		{`package t3; type _ func(int)`, `int`, `type`},
    		{`package t3; type _ func(...int)`, `...int`, `type`},
    
    		// built-ins
    		{`package b0; var _ = len("")`, `len`, `builtin`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  8. src/database/sql/driver/types.go

    		return rv.Bool(), nil
    	case reflect.Slice:
    		ek := rv.Type().Elem().Kind()
    		if ek == reflect.Uint8 {
    			return rv.Bytes(), nil
    		}
    		return nil, fmt.Errorf("unsupported type %T, a slice of %s", v, ek)
    	case reflect.String:
    		return rv.String(), nil
    	}
    	return nil, fmt.Errorf("unsupported type %T, a %s", v, rv.Kind())
    }
    
    type decimalDecompose interface {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 16:30:20 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/apis/kubeadm/v1beta4/types.go

    }
    
    // Arg represents an argument with a name and a value.
    type Arg struct {
    	Name  string `json:"name"`
    	Value string `json:"value"`
    }
    
    // EnvVar represents an environment variable present in a Container.
    type EnvVar struct {
    	corev1.EnvVar `json:",inline"`
    }
    
    // EncryptionAlgorithmType can define an asymmetric encryption algorithm type.
    type EncryptionAlgorithmType string
    
    const (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/apis/output/types.go

    // BootstrapToken represents information for the bootstrap token output produced by kubeadm
    type BootstrapToken struct {
    	metav1.TypeMeta
    
    	bootstraptokenv1.BootstrapToken
    }
    
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    
    // Images represents information for the output produced by 'kubeadm config images list'
    type Images struct {
    	metav1.TypeMeta
    
    	Images []string
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 07:01:20 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top