Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 880 for val3 (0.07 sec)

  1. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

    import org.junit.Test
    
    
    class SinceAndIncubatingRulesKotlinTest : AbstractBinaryCompatibilityTest() {
    
        private
        val publicKotlinMembers = """
    
            fun foo() {}
    
            val bar: String = "bar"
    
            val bool: Boolean = true
    
            val isBool: Boolean = true
    
            var bazar = "bazar"
    
            var bazool: Boolean = true
    
            var isFool: Boolean = true
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jul 11 06:57:51 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt

     */
    class HostnameVerifierTest {
      private val verifier = OkHostnameVerifier
    
      @RegisterExtension
      var platform = PlatformRule()
    
      @Test fun verify() {
        val session = FakeSSLSession()
        assertThat(verifier.verify("localhost", session)).isFalse()
      }
    
      @Test fun verifyCn() {
        // CN=foo.com
        val session =
          session(
            """
            -----BEGIN CERTIFICATE-----
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/-ResponseCommon.kt

    @Throws(IOException::class)
    fun Response.commonPeekBody(byteCount: Long): ResponseBody {
      val peeked = body.source().peek()
      val buffer = Buffer()
      peeked.request(byteCount)
      buffer.write(peeked, minOf(byteCount, peeked.buffer.size))
      return buffer.asResponseBody(body.contentType(), buffer.size)
    }
    
    fun Response.commonNewBuilder(): Response.Builder = Response.Builder(this)
    
    val Response.commonIsRedirect: Boolean
      get() =
        when (code) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/RoutePlanner.kt

       * (success), just an exception (permanent failure), or just a plan (non-exceptional retry).
       */
      data class ConnectResult(
        val plan: Plan,
        val nextPlan: Plan? = null,
        val throwable: Throwable? = null,
      ) {
        val isSuccess: Boolean
          get() = nextPlan == null && throwable == null
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTaskIntegrationTest.kt

                        ]
                    }
                """.trimIndent()
            )
    
            val initialVerifyResult = run(":verifyAcceptedApiChangesOrdering").buildAndFail()
            assertEquals(TaskOutcome.FAILED, initialVerifyResult.task(":verifyAcceptedApiChangesOrdering")!!.outcome)
    
            val sortingResult = run(":sortAcceptedApiChanges").build()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  6. apache-maven/src/test/resources/maven-configuration.md.vm

    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.
    -->
    
    ]]#
    
    #macro(yesno $val)
      #if ($val) Yes #else No #end
    #end
    
    #macro(value $val)
    #if ($val) `$val` #else - #end
    #end
    
    | No | Key | Type | Description | Default Value | Since | Source |
    | --- | --- | --- | --- | --- | --- | --- |
    #foreach($key in $keys)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 13:39:33 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/feature/Features.java

            return doGet(userProperties != null ? userProperties.get(key) : null, def);
        }
    
        private static boolean doGet(Object val, boolean def) {
            if (val instanceof Boolean) {
                return (Boolean) val;
            } else if (val != null) {
                return Boolean.parseBoolean(val.toString());
            } else {
                return def;
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Sep 11 16:31:06 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-defaults.gradle.kts

    plugins {
        id("publishing")
    }
    
    val artifactoryUrl
        get() = System.getenv("GRADLE_INTERNAL_REPO_URL") ?: ""
    
    val artifactoryUserName
        get() = project.providers.gradleProperty("artifactoryUserName").orNull
    
    val artifactoryUserPassword
        get() = project.providers.gradleProperty("artifactoryUserPassword").orNull
    
    tasks.withType<AbstractPublishToMaven>().configureEach {
        val noUpload = project.gradleProperty("noUpload")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Sep 25 08:20:22 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. mockwebserver-junit5/README.md

    ```
    class MyTest(
      private val server: MockWebServer
    ) {
      @Test
      fun test() {
        ...
      }
    }
    ```
    
    Multiple instances can be obtained by naming additional ones:
    
    ```
    class MyTest(
      private val server: MockWebServer,
      @MockWebServerInstance("server2") private val server2: MockWebServer,
      @MockWebServerInstance("server3") private val server3: MockWebServer
    ) {
      @Test
      fun test() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Story.kt

     * reflectively with Moshi to parse stories from files.
     */
    data class Story(
      val description: String? = null,
      val cases: List<Case>,
      val fileName: String? = null,
    ) {
      // Used as the test name.
      override fun toString() = fileName ?: "?"
    
      companion object {
        @JvmField
        val MISSING = Story(description = "Missing", cases = listOf(), "missing")
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top