Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for garbage (0.2 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

       * Calls are leaked if the connection is tracking them but the application code has abandoned
       * them. Leak detection is imprecise and relies on garbage collection.
       */
      private fun pruneAndGetAllocationCount(
        connection: RealConnection,
        now: Long,
      ): Int {
        connection.lock.assertHeld()
    
        val references = connection.calls
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

            // This work was already done by calling lruEntries.get().
          }
    
          else -> throw IOException("unexpected journal line: $line")
        }
      }
    
      /**
       * Computes the initial size and collects garbage as a part of opening the cache. Dirty entries
       * are assumed to be inconsistent and will be deleted.
       */
      @Throws(IOException::class)
      private fun processJournal() {
        fileSystem.deleteIfExists(journalFileTmp)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
Back to top