- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for publicSuffix (0.06 seconds)
-
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}. OnlyCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 21:21:59 GMT 2026 - 26.2K bytes - Click Count (0) -
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) -
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) -
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) -
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) -
android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.java
* 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 com.google.thirdparty.publicsuffix; import com.google.common.annotations.Beta; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.ImmutableList; /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 06 20:41:51 GMT 2026 - 290.5K bytes - Click Count (1)