Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 102 for astype (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultMapProperty.java

                    throw new IllegalArgumentException(String.format("Cannot set the %s of a property of type %s with key type %s and value type %s " +
                            "using a provider with key type %s and value type %s.", valueKind, Map.class.getName(), keyType.getName(), valueType.getName(),
                        providerKeyType.getName(), providerValueType.getName()));
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/Collectors.java

            private final Class<? extends T> type;
            protected final Collector<T> delegate;
            private final ValueCollector<T> valueCollector;
    
            public TypedCollector(@Nullable Class<? extends T> type, Collector<T> delegate) {
                this.type = type;
                this.delegate = delegate;
                this.valueCollector = ValueSanitizers.collectorFor(type);
            }
    
            @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:15:09 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractCollectionProperty.java

                    throw new IllegalArgumentException(String.format("Cannot set the value of a property of type %s with element type %s using a provider with element type %s.", collectionType.getName(), elementType.getName(), collectionProp.getElementType().getName()));
                }
            }
            setSupplier(new CollectingSupplier(new ElementsFromCollectionProvider<>(p)));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/Hashing.java

             * CRC32C to Checksum. This may carry some performance cost
             * (https://stackoverflow.com/a/22321671/28465), but I'd have to benchmark more carefully to
             * even detect it.
             */
            return MethodHandles.lookup()
                .findConstructor(clazz, methodType(void.class))
                .asType(methodType(Checksum.class));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 09 00:37:15 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  9. cmd/auth-handler.go

    }
    
    func reqSignatureV4Verify(r *http.Request, region string, stype serviceType) (s3Error APIErrorCode) {
    	sha256sum := getContentSha256Cksum(r, stype)
    	switch {
    	case isRequestSignatureV4(r):
    		return doesSignatureMatch(sha256sum, r, region, stype)
    	case isRequestPresignedSignatureV4(r):
    		return doesPresignedSignatureMatch(sha256sum, r, region, stype)
    	default:
    		return ErrAccessDenied
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 26K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/HEAD/apps.v1.Deployment.yaml

          volumes:
          - awsElasticBlockStore:
              fsType: fsTypeValue
              partition: 3
              readOnly: true
              volumeID: volumeIDValue
            azureDisk:
              cachingMode: cachingModeValue
              diskName: diskNameValue
              diskURI: diskURIValue
              fsType: fsTypeValue
              kind: kindValue
              readOnly: true
            azureFile:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top