- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 291 for valueDoc (1.73 sec)
-
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) -
tensorflow/compiler/mlir/lite/transforms/quantize_variables.cc
auto assign_variable_op = dyn_cast_or_null<AssignVariableOp>(var_handle_user); if (!assign_variable_op) continue; auto value_op = assign_variable_op.getValue().getDefiningOp(); auto dq_op = dyn_cast_or_null<DequantizeOp>(value_op); if (!dq_op || ref_qtype) continue; ref_qtype = dq_op.getInput().getType(); } return ref_qtype; } class QuantizeVariablesPass
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.5K 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) -
staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/construct.go
case reflect.String: // use Convert to set into string alias types correctly v.Set(reflect.ValueOf(dataString + "Value").Convert(t)) case reflect.Bool: // set to true to ensure we serialize omitempty fields v.Set(reflect.ValueOf(true).Convert(t)) case reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 27 19:12:59 UTC 2023 - 6.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonContextParser.java
boolean applyInstrumentationAgent = Boolean.parseBoolean(matcher.group(8)); NativeServicesMode nativeServicesMode = matcher.group(9) == null ? NativeServicesMode.ENABLED : NativeServicesMode.valueOf(matcher.group(9));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 09:22:54 UTC 2024 - 5.8K bytes - Viewed (0) -
utils/utils.go
} return false } func AssertEqual(x, y interface{}) bool { if reflect.DeepEqual(x, y) { return true } if x == nil || y == nil { return false } xval := reflect.ValueOf(x) yval := reflect.ValueOf(y) if xval.Kind() == reflect.Ptr && xval.IsNil() || yval.Kind() == reflect.Ptr && yval.IsNil() { return false } if valuer, ok := x.(driver.Valuer); ok { x, _ = valuer.Value() }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Apr 22 06:43:02 UTC 2024 - 3.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/BigDecimalConversionUtilTest.java
assertEquals(new BigDecimal("10"), BigDecimalConversionUtil.toBigDecimal(Short.valueOf((short) 10))); assertEquals(new BigDecimal("100"), BigDecimalConversionUtil.toBigDecimal(Integer.valueOf(100))); assertEquals(new BigDecimal("1000"), BigDecimalConversionUtil.toBigDecimal(Long.valueOf(1000L)));
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4.8K bytes - Viewed (0) -
platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/fixtures/IdeCommandLineUtil.groovy
Properties properties = new Properties() properties.JAVA_HOME = String.valueOf(System.getenv('JAVA_HOME')) properties.GRADLE_USER_HOME = String.valueOf(gradle.gradleUserHomeDir.absolutePath) properties.GRADLE_OPTS = String.valueOf(System.getenv('GRADLE_OPTS')) return properties } void assertEquals(key, expected, actual) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 4.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) -
src/net/http/h2_error.go
//go:build !nethttpomithttp2 package http import ( "reflect" ) func (e http2StreamError) As(target any) bool { dst := reflect.ValueOf(target).Elem() dstType := dst.Type() if dstType.Kind() != reflect.Struct { return false } src := reflect.ValueOf(e) srcType := src.Type() numField := srcType.NumField() if dstType.NumField() != numField { return false } for i := 0; i < numField; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:27 UTC 2023 - 812 bytes - Viewed (0)