Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for longestMatchWins (0.14 sec)

  1. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

    import okio.Path.Companion.toPath
    import okio.buffer
    import okio.use
    import org.junit.jupiter.api.Test
    
    class PublicSuffixDatabaseTest {
      private val publicSuffixDatabase = PublicSuffixDatabase()
    
      @Test fun longestMatchWins() {
        val buffer =
          Buffer()
            .writeUtf8("com\n")
            .writeUtf8("my.square.com\n")
            .writeUtf8("square.com\n")
        publicSuffixDatabase.setListBytes(buffer.readByteArray(), byteArrayOf())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top