Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 351 - 360 of 470 for ktlint (0.08 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTestData.kt

                'r'.code -> append('\r')
                's'.code -> append(' ')
                't'.code -> append('\t')
                'f'.code -> append('\u000c')
                'u'.code -> append(buffer.readUtf8(4).toInt(16).toChar())
                else -> throw IllegalArgumentException("unexpected escape character in $s")
              }
            }
          }
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        assertTrue(set.contains(1));
        assertTrue(set.contains(2));
        assertTrue(set.contains(3));
        assertFalse(set.contains(4));
      }
    
      // TODO: https://youtrack.jetbrains.com/issue/KT-71001/ - Enable when Kotlin throws expected CCE.
      @J2ktIncompatible
      public void testContains_typeMismatch() {
        ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.open(0, 4), integers());
        assertFalse(set.contains((Object) "blah"));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt

            val DEFAULT_EXCLUDES: List<String> = listOf(
                "org/gradle",
                "java",
                "javax/annotation",
                "javax/inject",
                "javax/xml",
                "kotlin",
                "groovy",
                "groovyjarjarantlr",
                "net/rubygrapefruit",
                "org/codehaus/groovy",
                "org/apache/groovy",
                "org/apache/tools/ant",
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Apr 11 15:53:18 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  4. schema/naming.go

    		bs := h.Sum(nil)
    
    		formattedName = formattedName[0:ns.IdentifierMaxLength-8] + hex.EncodeToString(bs)[:8]
    	}
    	return formattedName
    }
    
    var (
    	// https://github.com/golang/lint/blob/master/lint.go#L770
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Jun 12 03:46:59 GMT 2024
    - 5.3K bytes
    - Click Count (0)
  5. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/DistributionTest.kt

         */
        @Internal
        val srcDistributionZip = DistributionZipEnvironmentProvider(project, "src")
    
        /**
         * A local repository if needed by the tests (for Tooling API Jar or Kotlin DSL plugins)
         */
        @Internal
        val localRepository = LocalRepositoryEnvironmentProvider(project)
    
        @get:Internal
        abstract val tracker: Property<BuildService<*>>
    
        @get:Internal
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 18 18:02:41 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  6. .github/workflows/build.yml

            with:
              distribution: 'zulu'
              java-version: |
                11
                17
                24
    
          - name: Allow incompatible JVM versions
            run: |
              echo 'kotlin.jvm.target.validation.mode=ignore' >> ./gradle.properties
    
          - name: Setup Gradle
            uses: gradle/actions/setup-gradle@v5
    
          - name: Run Tests
            run: ./gradlew test allTests -Dtest.java.version=24
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 12 04:49:37 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

      var longestRunOffset = -1
      var longestRunLength = 0
      run {
        var i = 0
        while (i < address.size) {
          val currentRunOffset = i
          while (i < 16 && address[i].toInt() == 0 && address[i + 1].toInt() == 0) {
            i += 2
          }
          val currentRunLength = i - currentRunOffset
          if (currentRunLength > longestRunLength && currentRunLength >= 4) {
            longestRunOffset = currentRunOffset
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  8. tensorflow/c/c_api.cc

    #include <memory>
    #include <optional>
    #include <unordered_set>
    #include <utility>
    #include <vector>
    
    #include "absl/strings/match.h"
    // Required for IS_MOBILE_PLATFORM
    #include "tensorflow/core/platform/platform.h"  // NOLINT
    
    #if !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
    #include "tensorflow/c/experimental/filesystem/modular_filesystem.h"
    #include "tensorflow/cc/framework/gradients.h"
    #include "tensorflow/cc/framework/ops.h"
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Sat Oct 04 05:55:32 GMT 2025
    - 102.4K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        assertTrue(set.contains(1));
        assertTrue(set.contains(2));
        assertTrue(set.contains(3));
        assertFalse(set.contains(4));
      }
    
      // TODO: https://youtrack.jetbrains.com/issue/KT-71001/ - Enable when Kotlin throws expected CCE.
      @J2ktIncompatible
      public void testContains_typeMismatch() {
        ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.open(0, 4), integers());
        assertFalse(set.contains((Object) "blah"));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CertificateChainCleanerTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import java.security.cert.Certificate
    import javax.net.ssl.SSLPeerUnverifiedException
    import kotlin.test.assertFailsWith
    import okhttp3.internal.tls.CertificateChainCleaner.Companion.get
    import okhttp3.tls.HandshakeCertificates
    import okhttp3.tls.HeldCertificate
    import org.junit.jupiter.api.Test
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 9.5K bytes
    - Click Count (1)
Back to Top