Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 47 for sameType (0.43 sec)

  1. 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)
  2. 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)
  3. platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/eclipse/model/ProjectTest.groovy

        def static final CUSTOM_NATURES = ['org.eclipse.jdt.core.scalanature']
        def static final CUSTOM_LINKED_RESOURCES = [new Link('somename', 'sometype', 'somelocation', '')] as Set
        def static final CUSTOM_RESOURCE_FILTERS = [
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  4. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/reporting/model/ModelReportIntegrationTest.groovy

        def "renders sensible value for node whose toString() method returns null"() {
            given:
            buildFile << """
                @Managed abstract class SomeType {
                    String toString() { null }
                }
                model {
                    something(SomeType)
                }
            """.stripIndent()
    
            when:
            succeeds 'model'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:32:55 UTC 2024
    - 22K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. docs/em/docs/python-types.md

    🚥 👆 ⚙️ 🐍 ⏬ 🔛 3️⃣.1️⃣0️⃣, 📥 💁‍♂ ⚪️➡️ 👇 📶 **🤔** ☝ 🎑:
    
    * 👶 ❎ ⚙️ `Optional[SomeType]`
    * ↩️ 👶 **⚙️ `Union[SomeType, None]`** 👶.
    
    👯‍♂️ 🌓 &amp; 🔘 👫 🎏, ✋️ 👤 🔜 👍 `Union` ↩️ `Optional` ↩️ 🔤 "**📦**" 🔜 😑 🔑 👈 💲 📦, &amp; ⚫️ 🤙 ⛓ "⚫️ 💪 `None`", 🚥 ⚫️ 🚫 📦 &amp; ✔.
    
    👤 💭 `Union[SomeType, None]` 🌖 🔑 🔃 ⚫️❔ ⚫️ ⛓.
    
    ⚫️ 🔃 🔤 &amp; 📛. ✋️ 👈 🔤 💪 📉 ❔ 👆 &amp; 👆 🤽‍♂ 💭 🔃 📟.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  8. src/encoding/xml/typeinfo.go

    var nameType = reflect.TypeFor[Name]()
    
    // getTypeInfo returns the typeInfo structure with details necessary
    // for marshaling and unmarshaling typ.
    func getTypeInfo(typ reflect.Type) (*typeInfo, error) {
    	if ti, ok := tinfoMap.Load(typ); ok {
    		return ti.(*typeInfo), nil
    	}
    
    	tinfo := &typeInfo{}
    	if typ.Kind() == reflect.Struct && typ != nameType {
    		n := typ.NumField()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:23:29 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/tests/canonicalize.mlir

      %1 = tfr.constant f32 -> !tfr.attr
      %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: Mon Oct 30 06:52:55 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  10. docs/bn/docs/python-types.md

    * 🚨 `Optional[SomeType]` ব্যবহার এড়িয়ে চলুন।
    * এর পরিবর্তে ✨ **`Union[SomeType, None]` ব্যবহার করুন** ✨।
    
    উভয়ই সমতুল্য এবং মূলে একই, কিন্তু আমি `Union`-এর পক্ষে সুপারিশ করব কারণ "**অপশনাল**" শব্দটি মনে হতে পারে যে মানটি ঐচ্ছিক,অথচ এটি আসলে মানে "এটি হতে পারে `None`", এমনকি যদি এটি ঐচ্ছিক না হয়েও আবশ্যিক হয়।
    
    আমি মনে করি `Union[SomeType, None]` এর অর্থ আরও স্পষ্টভাবে প্রকাশ করে।
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Apr 03 15:34:37 UTC 2024
    - 36K bytes
    - Viewed (0)
Back to top