- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for test_value (0.32 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/types_test.go
name := apiservercel.NewField(1, "name") name.Ref = testValue(t, 2, "test-instance") nestedVal := apiservercel.NewMapValue() flags := apiservercel.NewField(5, "flags") flagsVal := apiservercel.NewMapValue() myFlag := apiservercel.NewField(6, "my_flag") myFlag.Ref = testValue(t, 7, true) flagsVal.AddField(myFlag) flags.Ref = testValue(t, 8, flagsVal) dates := apiservercel.NewField(9, "dates")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 08 15:52:31 UTC 2023 - 3.8K bytes - Viewed (0) -
platforms/jvm/language-java/src/test/groovy/org/gradle/external/javadoc/internal/StringJavadocOptionFileOptionTest.groovy
0 * writerContextMock._ } def testWriteNoneNullValue() throws IOException { final String testValue = "testValue" stringOption.setValue(testValue) when: stringOption.write(writerContextMock) then: 1 * writerContextMock.writeValueOption(optionName, testValue) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/jvm/language-java/src/test/groovy/org/gradle/external/javadoc/internal/FileJavadocOptionFileOptionTest.groovy
} def testWriteNonNullValue() throws IOException { final File testValue = new File("dummyTestFileValue") fileOption.setValue(testValue) when: fileOption.write(writerContextMock) then: 1 * writerContextMock.writeValueOption(optionName, testValue.absolutePath) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 1.4K bytes - Viewed (0) -
test/typeparam/issue54225.go
package main func main() { One[TextValue]() } func One[V Value]() { Two[Node[V]]() } func Two[V interface{ contentLen() int }]() { var v V v.contentLen() } type Value interface { Len() int } type Node[V Value] struct{} func (Node[V]) contentLen() int { var value V return value.Len() } type TextValue struct{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 19 19:37:22 UTC 2022 - 532 bytes - Viewed (0) -
src/os/env_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 04 15:31:54 UTC 2023 - 5K bytes - Viewed (0) -
test/fixedbugs/issue9604b.go
for _, t := range types { for _, n := range t.testvalues() { fmt.Printf("var %s_%s %s = %d\n", t.name, valname(n), t.name, n) } } fmt.Println("func main() {") for _, t := range types { // test binary ops for _, op := range binops { for _, x := range t.testvalues() { for _, y := range t.testvalues() { if (op.name == "/" || op.name == "%") && y.Sign() == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/decompose_reduce_dataset.mlir
// CHECK-NEXT: %[[IF:.*]]:2 = "tf.IfRegion"(%[[HAS_VALUE]]) // CHECK-NEXT: %[[GET_VALUE:[0-9]*]]:2 = "tf.OptionalGetValue"(%[[GET_NEXT]]) // CHECK-NEXT: %[[FUNC_CALL:[0-9]*]]:2 = func.call @__reduce_func_3(%[[ARG_11]], %[[ARG_12]], %[[GET_VALUE]]#0, %[[GET_VALUE]]#1, %[[ARG_13]], %[[ARG_14]]) // CHECK-SAME: _xla_compile_device_type = "TPU"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 18 17:16:34 UTC 2022 - 9.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/helper.go
return fmt.Errorf("couldn't find %v field in %T", fieldName, v.Interface()) } destValue, err := conversion.EnforcePtr(dest) if err != nil { return err } if field.Type().AssignableTo(destValue.Type()) { destValue.Set(field) return nil } if field.Type().ConvertibleTo(destValue.Type()) { destValue.Set(field.Convert(destValue.Type())) return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 13 22:54:34 UTC 2023 - 8.4K bytes - Viewed (0) -
platforms/jvm/scala/src/test/groovy/org/gradle/api/tasks/scala/BaseScalaOptionTest.groovy
} else { assert value(fixture.antProperty) == fixture.defaultValue } when: testObject."${fixture.fieldName}" = fixture.testValue then: value(fixture.antProperty) == fixture.testValue where: fixture << stringProperties() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 15:43:33 UTC 2023 - 3K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/internal/operations/notify/BuildOperationNotificationFixture.groovy
for (String key : present) { if (!testValue(expectedPayload[key], actualPayload[key])) { return false } } true } as Predicate } private static boolean testValue(expectedValue, actualValue) { if (expectedValue instanceof Closure) { expectedValue.call(actualValue)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 20 11:47:00 UTC 2022 - 7.5K bytes - Viewed (0)