Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 145 for mytype (0.14 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/typeconverter_test.go

    						},
    						map[interface{}]interface{}{
    							"group":   "mygroup",
    							"version": "v3",
    							"kind":    "MyOtherKind",
    						},
    					},
    				},
    			},
    		},
    	}
    
    	myTypes := []smdschema.TypeDef{
    		{
    			Name: "def0",
    			Atom: smdschema.Atom{},
    		},
    		{
    			Name: "def0.1",
    			Atom: smdschema.Atom{},
    		},
    		{
    			Name: "def0.2",
    			Atom: smdschema.Atom{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/concurrency_test.py

        def data_gen():
          for _ in range(255):
            yield {
                'x': ops.convert_to_tensor(
                    np.random.uniform(size=(10)).astype('f4')
                ),
                'y': ops.convert_to_tensor(
                    np.random.uniform(size=(10)).astype('f4')
                ),
            }
    
        root = ModelWithAdd()
    
        temp_path = self.create_tempdir().full_path
        saved_model_save.save(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 11 00:47:05 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/mkbuiltin.go

    	fmt.Fprintln(w, "}")
    }
    
    // typeInterner maps Go type expressions to compiler code that
    // constructs the denoted type. It recognizes and reuses common
    // subtype expressions.
    type typeInterner struct {
    	typs []string
    	hash map[string]int
    }
    
    func (i *typeInterner) intern(t ast.Expr) int {
    	x := i.mktype(t)
    	v, ok := i.hash[x]
    	if !ok {
    		v = len(i.typs)
    		if i.hash == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 6K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Type.java

        /**
         * Returns the dependency type id.
         * The id uniquely identifies this <i>dependency type</i>.
         *
         * @return the id of this type, never {@code null}.
         */
        @Nonnull
        String id();
    
        /**
         * Returns the dependency type language.
         *
         * @return the language of this type, never {@code null}.
         */
        @Nonnull
        Language getLanguage();
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/syntax/type.go

    package syntax
    
    import "go/constant"
    
    // A Type represents a type of Go.
    // All types implement the Type interface.
    // (This type originally lived in types2. We moved it here
    // so we could depend on it from other packages without
    // introducing an import cycle.)
    type Type interface {
    	// Underlying returns the underlying type of a type.
    	// Underlying types are never Named, TypeParam, or Alias types.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/compile/internal/ir/type.go

    func TypeNode(t *types.Type) Node {
    	if n := t.Obj(); n != nil {
    		if n.Type() != t {
    			base.Fatalf("type skew: %v has type %v, but expected %v", n, n.Type(), t)
    		}
    		return n.(*Name)
    	}
    	return newTypeNode(t)
    }
    
    // A DynamicType represents a type expression whose exact type must be
    // computed dynamically.
    type DynamicType struct {
    	miniExpr
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Aug 20 05:56:49 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. 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)
  9. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/GradleLazyType.java

            this.type = type;
        }
    
        public Type asType() {
            return type;
        }
    
        public TypeName asTypeName() {
            return TypeUtils.typeName(type);
        }
    
        public static boolean isAnyOf(Type type) {
            for (GradleLazyType gradleType : values()) {
                if (gradleType.type != null && gradleType.type.equals(type)) {
                    return true;
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types/universe.go

    			CheckSize(typ)
    		}
    		return typ
    	}
    
    	for _, s := range &basicTypes {
    		Types[s.etype] = defBasic(s.etype, BuiltinPkg, s.name)
    	}
    
    	for _, s := range &typedefs {
    		sameas := s.sameas32
    		if PtrSize == 8 {
    			sameas = s.sameas64
    		}
    		SimType[s.etype] = sameas
    
    		Types[s.etype] = defBasic(s.etype, BuiltinPkg, s.name)
    	}
    
    	// We create separate byte and rune types for better error messages
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top