Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 145 for value_dtype (0.22 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultMapProperty.java

        private final Class<V> valueType;
        private final ValueCollector<K> keyCollector;
        private final MapEntryCollector<K, V> entryCollector;
        private MapSupplier<K, V> defaultValue = emptySupplier();
    
        public DefaultMapProperty(PropertyHost propertyHost, Class<K> keyType, Class<V> valueType) {
            super(propertyHost);
            this.keyType = keyType;
            this.valueType = valueType;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/profile/legacy_java_profile.go

    				}
    			case "heap/resolution":
    				p.SampleType = []*ValueType{
    					{Type: "inuse_objects", Unit: "count"},
    					{Type: "inuse_space", Unit: value},
    				}
    			case "contention/resolution":
    				p.SampleType = []*ValueType{
    					{Type: "contentions", Unit: "count"},
    					{Type: "delay", Unit: value},
    				}
    			case "contention/sampling period":
    				p.PeriodType = &ValueType{
    					Type: "contentions", Unit: "count",
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/DefaultSerializerRegistry.java

            }
    
            private TypeInfo map(Class<?> valueType) {
                TypeInfo typeInfo = serializersByType.get(valueType);
                if (typeInfo != null) {
                    return typeInfo;
                }
                for (Map.Entry<Class<?>, TypeInfo> entry : typeHierarchies.entrySet()) {
                    if (entry.getKey().isAssignableFrom(valueType)) {
                        return entry.getValue();
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/MapPropertyIntegrationTest.groovy

                    final Class<K> keyType
                    @Internal
                    final Class<V> valueType
    
                    AbstractVerificationTask(Class<K> keyType, Class<V> valueType) {
                        this.keyType = keyType
                        this.valueType = valueType
                        prop = project.objects.mapProperty(keyType, valueType)
                    }
    
                    @TaskAction
                    void validate() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 15:28:53 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/EnumBiMap.java

       *
       * @param keyType the key type
       * @param valueType the value type
       */
      public static <K extends Enum<K>, V extends Enum<V>> EnumBiMap<K, V> create(
          Class<K> keyType, Class<V> valueType) {
        return new EnumBiMap<>(keyType, valueType);
      }
    
      /**
       * Returns a new bimap with the same mappings as the specified map. If the specified map is an
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/EnumBiMap.java

       *
       * @param keyType the key type
       * @param valueType the value type
       */
      public static <K extends Enum<K>, V extends Enum<V>> EnumBiMap<K, V> create(
          Class<K> keyType, Class<V> valueType) {
        return new EnumBiMap<>(keyType, valueType);
      }
    
      /**
       * Returns a new bimap with the same mappings as the specified map. If the specified map is an
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  7. src/internal/profile/encode.go

    	return err
    }
    
    func (p *ValueType) decoder() []decoder {
    	return valueTypeDecoder
    }
    
    func (p *ValueType) encode(b *buffer) {
    	encodeInt64Opt(b, 1, p.typeX)
    	encodeInt64Opt(b, 2, p.unitX)
    }
    
    var valueTypeDecoder = []decoder{
    	nil, // 0
    	// optional int64 type = 1
    	func(b *buffer, m message) error { return decodeInt64(b, &m.(*ValueType).typeX) },
    	// optional int64 unit = 2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:52:28 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultPropertyFactory.java

            return new DefaultSetProperty<>(propertyHost, elementType);
        }
    
        @Override
        public <V, K> DefaultMapProperty<K, V> mapProperty(Class<K> keyType, Class<V> valueType) {
            return new DefaultMapProperty<>(propertyHost, keyType, valueType);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/IndexedCacheParameters.java

        }
    
        public static <K, V> IndexedCacheParameters<K, V> of(String cacheName, Class<K> keyType, Class<V> valueType) {
            return new IndexedCacheParameters<K, V>(cacheName, SERIALIZER_FACTORY.getSerializerFor(keyType), SERIALIZER_FACTORY.getSerializerFor(valueType), null);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/DefaultProviderTest.groovy

        }
    
        def "infers value type from callable implementation"() {
            def provider = new DefaultProvider(callable)
    
            expect:
            provider.type == valueType
    
            where:
            callable                    | valueType
            new RawCallable()           | null
            new StringCallable()        | String
            new ParameterizedCallable() | null
            ({ 123 } as Callable)       | null
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 20:21:32 UTC 2023
    - 4.2K bytes
    - Viewed (0)
Back to top