- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for sameType (0.17 sec)
-
schema/field.go
return fallbackSetter(ctx, value, v, field.Set) } } } } if field.Serializer != nil { var ( oldFieldSetter = field.Set sameElemType bool sameType = field.FieldType == reflect.ValueOf(field.Serializer).Type() ) if reflect.ValueOf(field.Serializer).Kind() == reflect.Ptr { sameElemType = field.FieldType == reflect.ValueOf(field.Serializer).Type().Elem()
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Apr 15 03:20:20 UTC 2024 - 32K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGeneratorTest.groovy
def "generates a node backed view class for an interface"() { expect: def impl = newNodeBackedInstance(SomeType) impl instanceof SomeType } def "generates a view class for an interface"() { expect: def impl = newSimpleInstance(SomeType) impl instanceof SomeType } def "generates a view class for an interface with type parameters"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 27.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/validation/ValidationMessageCheckerTest.groovy
def "tests output of missingValueMessage"() { when: render(missingValueMessage { type('SomeType') property('someProperty') }) then: outputEquals """ Type 'SomeType' property 'someProperty' doesn't have a configured value. Reason: This property isn't marked as optional and no value has been configured. Possible solutions:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 25.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/PublishArtifactNotationParserFactoryTest.groovy
when: def publishArtifact = publishArtifactNotationParser.parseNotation(file: file, type: 'someType', builtBy: task) then: publishArtifact instanceof DefaultPublishArtifact publishArtifact.file == file publishArtifact.type == 'someType' publishArtifact.name == 'some-file' publishArtifact.extension == 'zip'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 10.3K bytes - Viewed (0) -
platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/IsolatableSerializerRegistryTest.groovy
} def "can serialize/deserialize isolated Attribute values"() { Attribute attr1 = Attribute.of("foo", String.class) Attribute attr2 = Attribute.of("bar", SomeType.class) Isolatable<?>[] isolatables = [isolatableFactory.isolate(attr1), isolatableFactory.isolate(attr2)] when: serialize(isolatables) and:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 08 14:30:36 UTC 2024 - 11.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/tests/ops.mlir
%2 = tfr.constant i32 -> !tfr.attr %same_type = tfr.equal %0,%1 -> i1 %diff_type = tfr.equal %0,%2 -> i1 %3 = tfr.constant "hello" -> !tfr.attr %4 = tfr.constant "hello" -> !tfr.attr %5 = tfr.constant "how are you" -> !tfr.attr %same_str = tfr.equal %3,%4 -> i1 %diff_str = tfr.equal %3,%5 -> i1 func.return %same_type, %diff_type, %same_str, %diff_str : i1, i1, i1, i1 } // -----
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jan 14 22:15:06 UTC 2023 - 13.1K bytes - Viewed (0) -
subprojects/diagnostics/src/integTest/groovy/org/gradle/api/reporting/model/ModelReportIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 13:32:55 UTC 2024 - 22K bytes - Viewed (0) -
docs/en/docs/python-types.md
* đ¨ Avoid using `Optional[SomeType]` * Instead ⨠**use `Union[SomeType, None]`** â¨. Both are equivalent and underneath they are the same, but I would recommend `Union` instead of `Optional` because the word "**optional**" would seem to imply that the value is optional, and it actually means "it can be `None`", even if it's not optional and is still required. I think `Union[SomeType, None]` is more explicit about what it means.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri May 31 02:38:05 UTC 2024 - 17.1K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy
<title> <classname>SomeType</classname> <literal>readWriteProperty</literal> </title> <para>comment</para> </section> <section id="readOnlyProperty" role="detail"> <title><classname>SomeType</classname> <literal>readOnlyProperty</literal> (read-only)</title> <para>comment</para>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 40.8K bytes - Viewed (0) -
docs/em/docs/python-types.md
đĨ đ âī¸ đ âŦ đ 3ī¸âŖ.1ī¸âŖ0ī¸âŖ, đĨ đââ âĒī¸âĄī¸ đ đļ **đ¤** â đ: * đļ â âī¸ `Optional[SomeType]` * âŠī¸ đļ **âī¸ `Union[SomeType, None]`** đļ. đ¯ââī¸ đ & đ đĢ đ, âī¸ đ¤ đ đ `Union` âŠī¸ `Optional` âŠī¸ đ¤ "**đĻ**" đ đ đ đ đ˛ đĻ, & âĢī¸ đ¤ â "âĢī¸ đĒ `None`", đĨ âĢī¸ đĢ đĻ & â. đ¤ đ `Union[SomeType, None]` đ đ đ âĢī¸â âĢī¸ â. âĢī¸ đ đ¤ & đ. âī¸ đ đ¤ đĒ đ â đ & đ đ¤Ŋââ đ đ đ.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 13.6K bytes - Viewed (0)