Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 487 for isImplicit (0.18 sec)

  1. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        }
    
        assertThat(buffer.readByteString()).isEqualTo("A20743054A6F6E6573".decodeHex())
      }
    
      @Test fun `decode implicit tagged implicit prefixed type`() {
        // Type1 ::= VisibleString
        // Type2 ::= [APPLICATION 3] IMPLICIT Type1
        // Type3 ::= [2] Type2
        // Type4 ::= [APPLICATION 7] IMPLICIT Type3
        val buffer =
          Buffer()
            .write("670743054A6F6E6573".decodeHex())
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationPublicationsTest.groovy

            expect:
            def variants = getOutgoingVariants(publications)
            variants.size() == 2
    
            def implicit = variants.first()
            implicit.displayName == displayName
            implicit.attributes == AttributeTestUtil.attributes(["thing": "value1"])
            implicit.artifacts == allArtifacts
    
            def explicit = (variants as List)[1]
            explicit.displayName.displayName == '<config> variant child'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:21:15 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexerTest.groovy

        }
    
        def "closes implicit <p> element at start of block element"() {
            expect:
            parse(source) == transformed
    
            where:
            source              | transformed
            "text<p>para 2</p>" | "<p>text</p><p>para 2</p>"
            "text<h2>text</h2>" | "<p>text</p><h2>text</h2>"
        }
    
        def "does not add implicit <p> element for elements with inline content"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.5K bytes
    - Viewed (0)
  4. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtReferenceResolveMixIn.kt

        }
    
        /**
         * Checks if the reference is an implicit reference to a companion object via the containing class.
         *
         * Example:
         * ```
         * class A {
         *    companion object {
         *       fun foo() {}
         *    }
         * }
         * ```
         *
         * For the case provided, inside the call `A.foo()`,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu May 23 08:30:49 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolution/KaReceiverValue.kt

        override val type: KaType by validityAsserted(type)
    }
    
    /**
     * An implicit receiver. For example
     * ```
     * class A {
     *   val i: Int = 1
     *   fun test() {
     *     i // implicit receiver bound to class `A`
     *   }
     * }
     *
     * fun String.test() {
     *   length // implicit receiver bound to the `KaReceiverParameterSymbol` of type `String` declared by `test`.
     * }
     * ```
     */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testshared/testdata/explicit/explicit.go

    package explicit
    
    import (
    	"testshared/implicit"
    )
    
    func E() int {
    	return implicit.I()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 91 bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testshared/testdata/implicitcmd/implicitcmd.go

    package main
    
    import (
    	"testshared/explicit"
    	"testshared/implicit"
    )
    
    func main() {
    	println(implicit.I() + explicit.E())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 126 bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/support/ImplicitImportsTest.kt

    import org.hamcrest.CoreMatchers.containsString
    import org.hamcrest.MatcherAssert.assertThat
    import org.junit.Test
    
    
    class ImplicitImportsTest : AbstractKotlinIntegrationTest() {
    
        @Test
        fun `implicit imports are fully qualified to allow use of the preferred type amongst those with same simple name in different Gradle API packages`() {
    
            // given:
            withBuildScript(
                """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Sep 24 17:45:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_get_promote_implicit.txt

    # We can promote the implicit requirement by getting the importing package.
    # NOTE: the hint recommends getting the imported package (tested below) since
    # it's more obvious and doesn't require -d. However, that adds an '// indirect'
    # comment on the requirement.
    go get m/use-indirect
    cmp go.mod go.mod.use
    cp go.mod.orig go.mod
    
    # We can also promote implicit requirements using 'go get' on them, or their
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  10. test/fixedbugs/bug184.go

    func (*Buffer) Read() {}
    
    type Reader interface {
    	Read()
    }
    
    func f() *Buffer { return nil }
    
    func g() Reader {
    	// implicit interface conversion in assignment during return
    	return f()
    }
    
    func h() (b *Buffer, ok bool) { return }
    
    func i() (r Reader, ok bool) {
    	// implicit interface conversion in multi-assignment during return
    	return h()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:49:30 UTC 2012
    - 849 bytes
    - Viewed (0)
Back to top