- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 391 for value_or (0.16 sec)
-
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/Amount.java
normalised = units.scaleTo(value, units.getBaseUnits()); } public static <Q> Amount<Q> valueOf(long value, Units<Q> units) { return valueOf(BigDecimal.valueOf(value), units); } /** * Returns null if the given value is null. */ @Nullable public static <Q> Amount<Q> valueOf(@Nullable BigDecimal value, Units<Q> units) { if (value == null) { return null; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.2K bytes - Viewed (0) -
schema/utils.go
for _, rel := range rels { reflectResults = reflect.MakeSlice(reflect.SliceOf(reflect.PtrTo(rel.FieldSchema.ModelType)), 0, 1) appendToResults := func(value reflect.Value) { if _, isZero := rel.Field.ValueOf(ctx, value); !isZero { result := reflect.Indirect(rel.Field.ReflectValueOf(ctx, value)) switch result.Kind() { case reflect.Struct: reflectResults = reflect.Append(reflectResults, result.Addr())
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Sat Aug 19 13:35:14 UTC 2023 - 5.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java
for (int a : TEST_INTS) { long value = a & 0xffffffffL; equalsTester.addEqualityGroup( UnsignedInteger.fromIntBits(a), UnsignedInteger.valueOf(value), UnsignedInteger.valueOf(Long.toString(value)), UnsignedInteger.valueOf(Long.toString(value, 16), 16)); } equalsTester.testEquals(); } public void testIntValue() { for (int a : TEST_INTS) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 9.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/unfuse_batch_norm_pass.cc
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.h" #include "xla/mlir_hlo/mhlo/IR/hlo_ops.h" namespace mlir { namespace odml { // Broadcasts the 1D value tensor 'value_1d' to the shape of 'result_type'. If // 'shape_value' is initialized, creates a dynamic broadcast, otherwise creates // a static broadcast. Value broadcastToFeatureDim(Location loc, RankedTensorType result_type,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.2K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/report/CompositeTestResults.java
if (getRunTestCount() == 0) { return null; } BigDecimal runTests = BigDecimal.valueOf(getRunTestCount()); BigDecimal successful = BigDecimal.valueOf(getRunTestCount() - getFailureCount()); return successful.divide(runTests, 2, RoundingMode.DOWN).multiply(BigDecimal.valueOf(100)).intValue(); } protected void failed(TestResult failedTest) { failures.add(failedTest);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 4.3K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacDataInputStream.java
BigInteger lastBigInt = BigInteger.valueOf(last); BigInteger firstBigInt = BigInteger.valueOf(first); BigInteger completeBigInt = lastBigInt.add(firstBigInt.shiftLeft(32)); completeBigInt = completeBigInt.divide(BigInteger.valueOf(10000L)); completeBigInt = completeBigInt.add(BigInteger.valueOf(-SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601));
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sat Jul 21 21:19:58 UTC 2018 - 5.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/DefaultProviderFactoryTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_test.cc
// Create a tensor on the first parallel device TensorHandlePtr value_one(FloatTensorHandle(1., status.get())); TensorHandlePtr value_two(FloatTensorHandle(2., status.get())); ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get()); std::array<TFE_TensorHandle*, 2> components{value_one.get(), value_two.get()}; TensorHandlePtr first_combined_value = CreatePerDeviceValues(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 08 23:47:35 UTC 2021 - 29.3K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/core-plugins/project_report_plugin.adoc
The projects to generate the reports for. _Default value_: A one element set with the project the plugin was applied to. `projectReportDirName` — `String`:: The name of the directory to generate the project report into, relative to the reports directory. _Default value_: `"project"`. `projectReportDir` — `File` (read-only):: The directory to generate the project report into. _Default value_: `__reportsDir__/__projectReportDirName__`.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 4.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java
assertThrows( UnsupportedOperationException.class, () -> map.put(TypeToken.of(Integer.class), Integer.valueOf(5))); } public void testPutAllThrows() { assertThrows( UnsupportedOperationException.class, () -> map.putAll(ImmutableMap.of(TypeToken.of(Integer.class), Integer.valueOf(5)))); } public void testEntrySetMutationThrows() { map.putInstance(String.class, "test");
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 7.9K bytes - Viewed (0)