- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 381 for valueDoc (0.41 sec)
-
maven-core/src/main/java/org/apache/maven/plugin/DefaultExtensionRealmCache.java
File file = artifact.getFile(); files.add(file); timestamps.add((file != null) ? Long.valueOf(file.lastModified()) : Long.valueOf(0)); sizes.add((file != null) ? Long.valueOf(file.length()) : Long.valueOf(0)); ids.add(artifact.getVersion()); } this.hashCode =
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Dec 26 15:12:32 UTC 2022 - 4.7K bytes - Viewed (0) -
schema/callbacks_test.go
for _, str := range []string{"BeforeSave", "AfterCreate"} { if !reflect.Indirect(reflect.ValueOf(user)).FieldByName(str).Interface().(bool) { t.Errorf("%v should be true", str) } } for _, str := range []string{"BeforeCreate", "BeforeUpdate", "AfterUpdate", "AfterSave", "BeforeDelete", "AfterDelete", "AfterFind"} { if reflect.Indirect(reflect.ValueOf(user)).FieldByName(str).Interface().(bool) { t.Errorf("%v should be false", str) }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 939 bytes - Viewed (0) -
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) -
android/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) -
src/main/java/org/codelibs/core/convert/NumberConversionUtil.java
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5.7K 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) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/DataSeries.java
} // This isn't quite right, as we may lose precision when converting to a double BigDecimal result = BigDecimal.valueOf(Math.sqrt(sumSquares.divide(BigDecimal.valueOf(size()), RoundingMode.HALF_UP).doubleValue())).setScale(2, RoundingMode.HALF_UP); standardError = Amount.valueOf(result, baseUnits); } public Amount<Q> getAverage() { return average; } public Amount<Q> getMedian() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.9K bytes - Viewed (0) -
src/sort/slice.go
// the Interface type's Less method. // // Note: in many situations, the newer [slices.SortFunc] function is more // ergonomic and runs faster. func Slice(x any, less func(i, j int) bool) { rv := reflectlite.ValueOf(x) swap := reflectlite.Swapper(x) length := rv.Len() limit := bits.Len(uint(length)) pdqsort_func(lessSwap{less, swap}, 0, length, limit) } // SliceStable sorts the slice x using the provided less
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 28 16:40:32 UTC 2023 - 1.8K bytes - Viewed (0)