Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 800 for eval (1.67 sec)

  1. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupRootPlugin.kt

            require(project.rootProject == project) { "This plugin should be applied to root project!" }
            val globalExtension = project.extensions.create<TestFilesCleanupBuildServiceRootExtension>("testFilesCleanupRoot")
            project.gradle.taskGraph.whenReady {
                val testFilesCleanupService = project.gradle.sharedServices.registerIfAbsent("testFilesCleanupBuildService", TestFilesCleanupService::class.java) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Jul 06 10:57:13 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/FallbackTestClientSocketFactory.kt

      private class TlsFallbackScsvDisabledSSLSocket(
        socket: SSLSocket,
      ) : DelegatingSSLSocket(socket) {
        override fun setEnabledCipherSuites(suites: Array<String>) {
          val enabledCipherSuites = mutableListOf<String>()
          for (suite in suites) {
            if (suite != TLS_FALLBACK_SCSV) {
              enabledCipherSuites.add(suite)
            }
          }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcBinding.java

        /**
         * @return the minor
         */
        int getMinor() {
            return this.minor;
        }
    
        void setOption(final String key, final Object val) throws DcerpcException {
            if (key.equals("endpoint")) {
                this.endpoint = val.toString();
                final String lep = this.endpoint.toLowerCase(Locale.ENGLISH);
                if (lep.startsWith("\\pipe\\")) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  4. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt

        logWithTime("cacheConditionalHit: $cachedResponse")
      }
    
      private fun logWithTime(message: String) {
        val timeMs = TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startNs)
        logger.log("[$timeMs ms] $message")
      }
    
      open class Factory
        @JvmOverloads
        constructor(
          private val logger: HttpLoggingInterceptor.Logger = HttpLoggingInterceptor.Logger.DEFAULT,
        ) : EventListener.Factory {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Oct 06 13:40:20 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

        name == candidateName.replace(".*\\$".toRegex(), "") // strip outer class names
    
    private
    val SINCE_REGEX = Regex("""@since ([^\s]+)""")
    
    private
    fun BodyDeclaration<*>.getSince(): String? =
        comment?.orElse(null)?.content?.let { content ->
            SINCE_REGEX.find(content)?.groupValues?.get(1)
        }
    
    
    private
    val FieldDeclaration.fieldName: String
        get() = variables.first().name.asString()
    
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jun 06 17:52:09 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.collect-failed-tasks.gradle.kts

    abstract class CollectFailedTaskPathsBuildService : AbstractBuildScanInfoCollectingService() {
        private val failedTaskPaths = CopyOnWriteArrayList<String>()
        override val collectedInformation: Serializable = failedTaskPaths
    
        override fun shouldInclude(taskPath: String): Boolean {
            // https://github.com/gradle/gradle/issues/21351
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Apr 11 20:57:49 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. build-logic/integration-testing/src/main/kotlin/gradlebuild.distribution-testing.gradle.kts

    import gradlebuild.integrationtests.setSystemPropertiesOfTestJVM
    import gradlebuild.integrationtests.tasks.DistributionTest
    
    plugins {
        java
        id("gradlebuild.module-identity")
    }
    
    val intTestHomeDir = repoRoot().dir("intTestHomeDir")
    
    val cachesCleanerService = gradle.sharedServices.registerIfAbsent("cachesCleaner", CachesCleaner::class) {
        parameters.gradleVersion = gradleModule.identity.version.map { it.version }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Aug 18 18:02:41 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt

      }
    
      @Test fun doesNotConsumeBuffer() {
        val buffer = Buffer()
        buffer.writeUtf8("hello ".repeat(1024))
        assertThat(buffer.isProbablyUtf8(100L)).isTrue()
        assertThat(buffer.readUtf8()).isEqualTo("hello ".repeat(1024))
      }
    
      /** Confirm [isProbablyUtf8] doesn't attempt to read the entire stream. */
      @Test fun doesNotReadEntireSource() {
        val unlimitedSource =
          object : Source {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Oct 06 22:47:06 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/Lockable.kt

    internal inline fun Lockable.notify() = (this as Object).notify()
    
    internal inline fun Lockable.notifyAll() = (this as Object).notifyAll()
    
    internal inline fun Lockable.awaitNanos(nanos: Long) {
      val ms = nanos / 1_000_000L
      val ns = nanos - (ms * 1_000_000L)
      if (ms > 0L || nanos > 0) {
        (this as Object).wait(ms, ns.toInt())
      }
    }
    
    internal inline fun Lockable.assertLockNotHeld() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. build-logic/buildquality/src/main/kotlin/gradlebuild.arch-test.gradle.kts

    plugins {
        `jvm-test-suite`
        id("gradlebuild.dependency-modules")
        id("gradlebuild.code-quality")
        id("gradlebuild.jvm-compile")
    }
    
    val packageCyclesExtension = extensions.create<PackageCyclesExtension>("packageCycles").apply {
        excludePatterns.convention(emptyList())
    }
    
    val sharedArchTestClasses by configurations.creating {
        isCanBeResolved = true
        isCanBeConsumed = false
        attributes {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Dec 22 18:51:33 UTC 2025
    - 3.2K bytes
    - Viewed (0)
Back to top