Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for monomorphic (0.63 sec)

  1. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/NamedContainersDslTest.kt

    import org.hamcrest.CoreMatchers.hasItems
    import org.hamcrest.MatcherAssert.assertThat
    
    import org.junit.Test
    
    
    class NamedContainersDslTest : AbstractDslTest() {
    
        @Test
        fun `monomorphic named domain object container api`() {
    
            testConfigurationContainerVia(
                "api",
                """
    
                val foo: Configuration = configurations.getByName("foo")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/NamedDomainObjectContainerExtensionsTest.kt

    import org.junit.Test
    
    
    class NamedDomainObjectContainerExtensionsTest {
    
        data class DomainObject(var foo: String? = null, var bar: Boolean? = null)
    
        @Test
        fun `can use monomorphic container api`() {
    
            val alice = DomainObject()
            val bob = DomainObject()
            val john = DomainObject()
            val marty = mockDomainObjectProviderFor(DomainObject())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 22:58:28 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. src/go/types/mono.go

    	// vertex.
    	obj *TypeName
    }
    
    type monoEdge struct {
    	dst, src int
    	weight   int
    
    	pos token.Pos
    	typ Type
    }
    
    func (check *Checker) monomorph() {
    	// We detect unbounded instantiation cycles using a variant of
    	// Bellman-Ford's algorithm. Namely, instead of always running |V|
    	// iterations, we run until we either reach a fixed point or we've
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/mono.go

    	// vertex.
    	obj *TypeName
    }
    
    type monoEdge struct {
    	dst, src int
    	weight   int
    
    	pos syntax.Pos
    	typ Type
    }
    
    func (check *Checker) monomorph() {
    	// We detect unbounded instantiation cycles using a variant of
    	// Bellman-Ford's algorithm. Namely, instead of always running |V|
    	// iterations, we run until we either reach a fixed point or we've
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 00:05:29 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/check.go

    		print("== unusedImports ==")
    		check.unusedImports()
    	}
    
    	print("== recordUntyped ==")
    	check.recordUntyped()
    
    	if check.firstErr == nil {
    		// TODO(mdempsky): Ensure monomorph is safe when errors exist.
    		check.monomorph()
    	}
    
    	check.pkg.goVersion = check.conf.GoVersion
    	check.pkg.complete = true
    
    	// no longer needed - release memory
    	check.imports = nil
    	check.dotImportMap = nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  6. src/go/types/check.go

    		print("== unusedImports ==")
    		check.unusedImports()
    	}
    
    	print("== recordUntyped ==")
    	check.recordUntyped()
    
    	if check.firstErr == nil {
    		// TODO(mdempsky): Ensure monomorph is safe when errors exist.
    		check.monomorph()
    	}
    
    	check.pkg.goVersion = check.conf.GoVersion
    	check.pkg.complete = true
    
    	// no longer needed - release memory
    	check.imports = nil
    	check.dotImportMap = nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  7. src/internal/trace/traceviewer/static/trace_viewer_full.html

        <div style="padding-right: 200px">
          <div style="float:right;  border-style: solid; border-width: 1px; padding:20px">
            X no feedback<br>
            0 uninitialized<br>
            . premonomorphic<br>
            1 monomorphic<br>
            ^ recompute handler<br>
            P polymorphic<br>
            N megamorphic<br>
            G generic
          </div>
        </div>
        <div id="total">
        </div>
        <div id="groupOption">
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (1)
Back to top