Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for emptyCaches (0.04 sec)

  1. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepository.kt

                BinaryCompatibilityRepository(SourcesRepository(sourceRoots, compilationClasspath))
        }
    
        @VisibleForTesting
        fun emptyCaches() =
            sources.close()
    
        override fun close() =
            emptyCaches()
    
        fun isOverride(method: JApiMethod): Boolean =
            apiSourceFileFor(method).let { apiSourceFile ->
                when (apiSourceFile) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 24 14:15:15 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

                    }
                """
    
            then:
            rule.maybeViolation(jApiType).humanExplanation =~ 'Is not annotated with @since 11.38'
    
            when:
            repository.emptyCaches()
            sourceFile.text = apiElement == 'enum' ? """
                    /**
                     * @since 11.38
                     */
                    public enum $TEST_INTERFACE_SIMPLE_NAME {
                        field;
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jun 06 17:52:09 UTC 2025
    - 16K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        while (!toClose.isEmpty()) {
          toClose.pop().close()
        }
        taskFaker.close()
    
        (filesystem.delegate as? FakeFileSystem)?.checkNoOpenFiles()
      }
    
      @Test
      fun emptyCache() {
        cache.close()
        assertJournalEquals()
      }
    
      @Test
      fun recoverFromInitializationFailure() {
        // Add an uncommitted entry. This will get detected on initialization, and the cache will
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 59.4K bytes
    - Viewed (0)
Back to top