Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for mytype (0.21 sec)

  1. subprojects/core-api/src/main/java/org/gradle/api/Project.java

         * have to specify the context of a configuration statement multiple times. <p> Instead of:</p>
         * <pre>
         * MyType myType = new MyType()
         * myType.doThis()
         * myType.doThat()
         * </pre>
         * <p> you can do:
         * <pre>
         * MyType myType = configure(new MyType()) {
         *     doThis()
         *     doThat()
         * }
         * </pre>
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 04:56:22 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/compile/internal/types/type.go

    }
    
    // Map contains Type fields specific to maps.
    type Map struct {
    	Key  *Type // Key type
    	Elem *Type // Val (elem) type
    
    	Bucket *Type // internal struct type representing a hash bucket
    }
    
    // MapType returns t's extra map-specific fields.
    func (t *Type) MapType() *Map {
    	t.wantEtype(TMAP)
    	return t.extra.(*Map)
    }
    
    // Forward contains Type fields specific to forward types.
    type Forward struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

            rng.uniform(low=0.0, high=1.0, size=static_input_shape).astype(
                np.float32
            )
        )
    
        def data_gen() -> repr_dataset.RepresentativeDataset:
          for _ in range(100):
            yield {
                'input_tensor': rng.uniform(
                    low=0.0, high=1.0, size=static_input_shape
                ).astype(np.float32)
            }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  5. src/reflect/type.go

    func typeOffFor(t *abi.Type, off aTypeOff) *abi.Type {
    	return toRType(t).typeOff(off)
    }
    
    func (t *interfaceType) typeOff(off aTypeOff) *abi.Type {
    	return toRType(&t.Type).typeOff(off)
    }
    
    func (t *interfaceType) common() *abi.Type {
    	return &t.Type
    }
    
    func (t *interfaceType) uncommon() *abi.UncommonType {
    	return t.Uncommon()
    }
    
    // mapType represents a map type.
    type mapType struct {
    	abi.MapType
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/DefaultModelRegistryTest.groovy

                .configure(ModelActionRole.Initialize) { it.path("foo").type(Bean).action(action) }
                .configure(ModelActionRole.Mutate) { it.path("foo").type(Bean).action(action) }
                .configure(ModelActionRole.Finalize) { it.path("foo").type(Bean).action(action) }
                .configure(ModelActionRole.Validate) { it.path("foo").type(Bean).action(action) }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 56K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/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: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  8. src/go/types/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: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  9. 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)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KaFirResolver.kt

            }
        }
    
        /**
         * Maps [typeArguments] to the type parameters of [partiallyAppliedSymbol].
         *
         * If too many type arguments are provided, a mapping is still created. Extra type arguments are simply ignored. If this wasn't the
         * case, the resulting [KaCall] would contain no type arguments at all, which can cause problems later. If too few type arguments are
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 73K bytes
    - Viewed (0)
Back to top