Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 39 for mytype (0.11 sec)

  1. src/internal/reflectlite/type.go

    	}
    	return toType(tt.InSlice()[i])
    }
    
    func (t rtype) Key() Type {
    	tt := t.Type.MapType()
    	if tt == nil {
    		panic("reflect: Key of non-map type")
    	}
    	return toType(tt.Key)
    }
    
    func (t rtype) Len() int {
    	tt := t.Type.ArrayType()
    	if tt == nil {
    		panic("reflect: Len of non-array type")
    	}
    	return int(tt.Len)
    }
    
    func (t rtype) NumField() int {
    	tt := t.Type.StructType()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/typechecking.go

    	paramDeclType *apiservercel.DeclType
    
    	variables []v1.Variable
    }
    
    type typeOverwrite struct {
    	object *apiservercel.DeclType
    	params *apiservercel.DeclType
    }
    
    // TypeCheckingResult holds the issues found during type checking, any returned
    // error, and the gvk that the type checking is performed against.
    type TypeCheckingResult struct {
    	// GVK is the associated GVK
    	GVK schema.GroupVersionKind
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. src/internal/abi/type.go

    }
    func (mt *MapType) HashMightPanic() bool { // true if hash function might panic
    	return mt.Flags&16 != 0
    }
    
    func (t *Type) Key() *Type {
    	if t.Kind() == Map {
    		return (*MapType)(unsafe.Pointer(t)).Key
    	}
    	return nil
    }
    
    type SliceType struct {
    	Type
    	Elem *Type // slice element type
    }
    
    // funcType represents a function type.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  4. src/runtime/type.go

    	return unsafe.Pointer(res)
    }
    
    type uncommontype = abi.UncommonType
    
    type interfacetype = abi.InterfaceType
    
    type maptype = abi.MapType
    
    type arraytype = abi.ArrayType
    
    type chantype = abi.ChanType
    
    type slicetype = abi.SliceType
    
    type functype = abi.FuncType
    
    type ptrtype = abi.PtrType
    
    type name = abi.Name
    
    type structtype = abi.StructType
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. src/encoding/gob/type.go

    }
    
    func (g *gobEncoderType) string() string { return g.Name }
    
    // Map type
    type mapType struct {
    	CommonType
    	Key  typeId
    	Elem typeId
    }
    
    func newMapType(name string) *mapType {
    	m := &mapType{CommonType{Name: name}, 0, 0}
    	return m
    }
    
    func (m *mapType) init(key, elem gobType) {
    	// Set our type id before evaluating the element's, in case it's our own.
    	setTypeId(m)
    	m.Key = key.id()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValueSupplier.java

            static <T> Value<T> ofNullable(@Nullable T value) {
                if (value == null) {
                    return MISSING.asType();
                }
                return new Present<>(value);
            }
    
            static <T> Value<T> missing() {
                return MISSING.asType();
            }
    
            static <T> Value<T> of(T value) {
                if (value == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 20:31:29 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  7. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeAnnotatedMethodReader.java

                    return FILE_COLLECTION.asType();
                case DIRECTORY_PROPERTY:
                case REGULAR_FILE_PROPERTY:
                    return Type.getType(File.class);
                case LIST_PROPERTY:
                    return Type.getType(List.class);
                case SET_PROPERTY:
                    return Type.getType(Set.class);
                case MAP_PROPERTY:
                    return Type.getType(Map.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py

                  np.random.uniform(size=bias_shape), dtype=dtypes.float32
              )
    
            self._kernel = np.random.uniform(size=y_shape).astype('f4')
            self._min = (-0.8, -0.8, -0.9)
            self._max = (0.9, 0.9, 1.0)
    
          @def_function.function(
              input_signature=[
                  tensor_spec.TensorSpec(
                      name='x', shape=x_signature, dtype=dtypes.float32
                  )
              ]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeClassSourceGenerator.java

                default:
                    throw new UnsupportedOperationException("Generating get call for type: " + upgradedPropertyType.asType() + " is not supported");
            }
        }
    
        private static CodeBlock getSetCall(String propertyGetterName, PropertyUpgradeRequestExtra implementationExtra, GradleLazyType upgradedPropertyType) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 09:11:23 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultMapProperty.java

            this.keyType = keyType;
            this.valueType = valueType;
            keyCollector = new ValidatingValueCollector<>(Set.class, keyType, ValueSanitizers.forType(keyType));
            entryCollector = new ValidatingMapEntryCollector<>(keyType, valueType, ValueSanitizers.forType(keyType), ValueSanitizers.forType(valueType));
            init();
        }
    
        private void init() {
            defaultValue = emptySupplier();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 32.6K bytes
    - Viewed (0)
Back to top