Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 11 for PublicSuffix (0.07 seconds)

  1. android/guava/src/com/google/common/net/InternetDomainName.java

    import com.google.errorprone.annotations.Immutable;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    import com.google.thirdparty.publicsuffix.PublicSuffixPatterns;
    import com.google.thirdparty.publicsuffix.PublicSuffixType;
    import java.util.List;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An immutable well-formed internet domain name, such as {@code com} or {@code foo.co.uk}. Only
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 21:21:59 GMT 2026
    - 26.2K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/net/InternetDomainNameTest.java

        InternetDomainName domain = InternetDomainName.from("foo.city.yokohama.jp");
        assertTrue(domain.hasPublicSuffix());
        assertThat(domain.publicSuffix().toString()).isEqualTo("yokohama.jp");
    
        // Behold the weirdness!
        assertFalse(domain.publicSuffix().isPublicSuffix());
      }
    
      public void testPublicSuffixMultipleUnders() {
        // PSL has both *.uk and *.sch.uk; the latter should win.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

        InternetDomainName domain = InternetDomainName.from("foo.city.yokohama.jp");
        assertTrue(domain.hasPublicSuffix());
        assertThat(domain.publicSuffix().toString()).isEqualTo("yokohama.jp");
    
        // Behold the weirdness!
        assertFalse(domain.publicSuffix().isPublicSuffix());
      }
    
      public void testPublicSuffixMultipleUnders() {
        // PSL has both *.uk and *.sch.uk; the latter should win.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  4. okhttp/src/jvmMain/java9/module-info.java

      exports okhttp3.internal.platform to okhttp3.logging, okhttp3.java.net.cookiejar, okhttp3.dnsoverhttps, mockwebserver3, okhttp3.mockwebserver, okhttp3.tls;
      exports okhttp3.internal.publicsuffix to okhttp3.dnsoverhttps;
      exports okhttp3.internal.ws to mockwebserver3, okhttp3.mockwebserver;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 992 bytes
    - Click Count (0)
  5. okhttp/src/androidHostTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixTesting.android.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.publicsuffix
    
    import androidx.test.core.app.ApplicationProvider
    import okhttp3.internal.platform.PlatformRegistry
    import org.robolectric.RobolectricTestRunner
    
    actual typealias PublicSuffixTestRunner = RobolectricTestRunner
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 26 07:38:51 GMT 2026
    - 974 bytes
    - Click Count (0)
  6. guava-tests/test/com/google/thirdparty/publicsuffix/PublicSuffixTrieTest.java

    package com.google.thirdparty.publicsuffix;
    
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.collect.ImmutableList;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    @RunWith(JUnit4.class)
    public final class PublicSuffixTrieTest {
    
      @Test
      public void testFindSuffixIndex() {
        // Tests based on PublicSuffixPatterns.TRIE which is generated from PSL.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 21:21:59 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt

    import javax.net.ssl.TrustManager
    import javax.net.ssl.TrustManagerFactory
    import javax.net.ssl.X509TrustManager
    import okhttp3.OkHttpClient
    import okhttp3.Protocol
    import okhttp3.internal.publicsuffix.PublicSuffixDatabase
    import okhttp3.internal.readFieldOrNull
    import okhttp3.internal.tls.BasicCertificateChainCleaner
    import okhttp3.internal.tls.BasicTrustRootIndex
    import okhttp3.internal.tls.CertificateChainCleaner
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  8. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixTrie.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.thirdparty.publicsuffix;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ImmutableList;
    import java.util.List;
    import org.jspecify.annotations.Nullable;
    
    /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 21:21:59 GMT 2026
    - 9.1K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

    import okhttp3.internal.delimiterOffset
    import okhttp3.internal.http.MAX_DATE
    import okhttp3.internal.http.toHttpDateString
    import okhttp3.internal.indexOfControlOrNonAscii
    import okhttp3.internal.publicsuffix.PublicSuffixDatabase
    import okhttp3.internal.toCanonicalHost
    import okhttp3.internal.trimSubstring
    import okhttp3.internal.unmodifiable
    import org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
    
    /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 23.1K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

    import okhttp3.internal.canParseAsIpAddress
    import okhttp3.internal.delimiterOffset
    import okhttp3.internal.indexOfFirstNonAsciiWhitespace
    import okhttp3.internal.indexOfLastNonAsciiWhitespace
    import okhttp3.internal.publicsuffix.PublicSuffixDatabase
    import okhttp3.internal.toCanonicalHost
    import okhttp3.internal.unmodifiable
    import okhttp3.internal.url.FRAGMENT_ENCODE_SET
    import okhttp3.internal.url.FRAGMENT_ENCODE_SET_URI
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 63.5K bytes
    - Click Count (0)
Back to Top