Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for jarKey (0.14 sec)

  1. src/net/http/cookiejar/jar.go

    	colons := strings.Count(host, ":")
    	if colons == 0 {
    		return false
    	}
    	if colons == 1 {
    		return true
    	}
    	return host[0] == '[' && strings.Contains(host, "]:")
    }
    
    // jarKey returns the key to use for a jar.
    func jarKey(host string, psl PublicSuffixList) string {
    	if isIP(host) {
    		return host
    	}
    
    	var i int
    	if psl == nil {
    		i = strings.LastIndex(host, ".")
    		if i <= 0 {
    			return host
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. src/net/http/cookiejar/jar_test.go

    	".net":          ".net",
    	"a.":            "a.",
    	"b.a.":          "a.",
    	"weird.stuff..": ".",
    }
    
    func TestJarKey(t *testing.T) {
    	for host, want := range jarKeyTests {
    		if got := jarKey(host, testPSL{}); got != want {
    			t.Errorf("%q: got %q, want %q", host, got, want)
    		}
    	}
    }
    
    var jarKeyNilPSLTests = map[string]string{
    	"foo.www.example.com": "example.com",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 34K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/test.go

    typedef jobject jclass;
    typedef jobject jthrowable;
    typedef jobject jstring;
    typedef jobject jarray;
    typedef jarray jbooleanArray;
    typedef jarray jbyteArray;
    typedef jarray jcharArray;
    typedef jarray jshortArray;
    typedef jarray jintArray;
    typedef jarray jlongArray;
    typedef jarray jfloatArray;
    typedef jarray jdoubleArray;
    typedef jarray jobjectArray;
    
    typedef jobject jweak;
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

    import java.util.Arrays;
    import java.util.Map.Entry;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link ImmutableMultimap}.
     *
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class ImmutableMultimapTest extends TestCase {
    
      public void testBuilder_withImmutableEntry() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    	"jthrowable":    "jobject",
    	"jstring":       "jobject",
    	"jarray":        "jobject",
    	"jbooleanArray": "jarray",
    	"jbyteArray":    "jarray",
    	"jcharArray":    "jarray",
    	"jshortArray":   "jarray",
    	"jintArray":     "jarray",
    	"jlongArray":    "jarray",
    	"jfloatArray":   "jarray",
    	"jdoubleArray":  "jarray",
    	"jobjectArray":  "jarray",
    	"jweak":         "jobject",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  6. pom.xml

    			<artifactId>javax.transaction-api</artifactId>
    			<version>${javax.transaction.api.version}</version>
    		</dependency>
    		<dependency>
    			<groupId>org.glassfish.jersey.core</groupId>
    			<artifactId>jersey-common</artifactId>
    			<version>${jersey.common.version}</version>
    			<exclusions>
    				<exclusion>
    					<groupId>jakarta.annotation</groupId>
    					<artifactId>jakarta.annotation-api</artifactId>
    				</exclusion>
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 30 06:49:02 UTC 2024
    - 48.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MultisetsTest.java

    import java.util.Arrays;
    import java.util.Collections;
    import java.util.List;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link Multisets}.
     *
     * @author Mike Bostock
     * @author Jared Levy
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class MultisetsTest extends TestCase {
    
      /* See MultisetsImmutableEntryTest for immutableEntry() tests. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/FilteredEntryMultimap.java

    import java.util.Set;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Implementation of {@link Multimaps#filterEntries(Multimap, Predicate)}.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    class FilteredEntryMultimap<K extends @Nullable Object, V extends @Nullable Object>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

    import java.util.Set;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Implementation of {@link Multimaps#filterEntries(Multimap, Predicate)}.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    class FilteredEntryMultimap<K extends @Nullable Object, V extends @Nullable Object>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableMultiset.java

     * element when the multiset was created.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/ImmutableCollectionsExplained">immutable collections</a>.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible(serializable = true, emulated = true)
    @SuppressWarnings("serial") // we're overriding default serialization
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top