Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 177 for jarKey (0.11 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/issue26213/jni.h

    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: Fri May 12 12:00:02 UTC 2023
    - 874 bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultPolymorphicDomainObjectContainerTest.groovy

            container.findByName("fred") == fred
            container.findByName("barney") == barney
            container.elementsAsDynamicObject.getProperty("fred") == fred
            container.elementsAsDynamicObject.getProperty("barney") == barney
            container.createableTypes == Collections.singleton(Person)
        }
    
        def "maybe create elements without specifying type"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 10 22:34:19 UTC 2021
    - 16K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitClassDetectionIntegrationTest.groovy

            new DefaultTestExecutionResult(testDirectory).assertTestClassesExecuted('com.example.SomeTest')
    
            when:
            createNewJarWithoutPackageEntries(jar, jarNew)
            String entry = "org/gradle/BasePlatformTestCase.class"
            assertJarContainsOnlyOneEntry(jarNew, entry)
            testDirectory.file("build.gradle").replace(jarName, jarNameNew)
            succeeds("test", "--tests", "SomeTest")
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue26213/test26213.go

    	var x1 C.jobject = 0 // Note: 0, not nil. That makes sure we use uintptr for these types.
    	_ = x1
    	var x2 C.jclass = 0
    	_ = x2
    	var x3 C.jthrowable = 0
    	_ = x3
    	var x4 C.jstring = 0
    	_ = x4
    	var x5 C.jarray = 0
    	_ = x5
    	var x6 C.jbooleanArray = 0
    	_ = x6
    	var x7 C.jbyteArray = 0
    	_ = x7
    	var x8 C.jcharArray = 0
    	_ = x8
    	var x9 C.jshortArray = 0
    	_ = x9
    	var x10 C.jintArray = 0
    	_ = x10
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 835 bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformEnvironmentIntegrationTest.groovy

                    "opentest4j-${OPENTEST4J_VERSION}.jar",
                    "apiguardian-api-${API_GUARDIAN_VERSION}.jar"
                ));
                assertTrue(jars.containsAll(jarSet));
                jars.removeAll(jarSet);
    
                // The distribtuion-loaded jars can vary in version, since the GE test acceleration
                // plugins inject their own versions of these libraries during integration tests.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  8. src/cmd/fix/jnitype.go

    	return typefix(f, func(s string) bool {
    		switch s {
    		case "C.jobject":
    			return true
    		case "C.jclass":
    			return true
    		case "C.jthrowable":
    			return true
    		case "C.jstring":
    			return true
    		case "C.jarray":
    			return true
    		case "C.jbooleanArray":
    			return true
    		case "C.jbyteArray":
    			return true
    		case "C.jcharArray":
    			return true
    		case "C.jshortArray":
    			return true
    		case "C.jintArray":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/TestIntegerSortedSetGenerator.java

    import java.util.Collections;
    import java.util.List;
    import java.util.SortedSet;
    
    /**
     * Create integer sets for testing collections that are sorted by natural ordering.
     *
     * @author Chris Povirk
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestIntegerSortedSetGenerator extends TestIntegerSetGenerator {
      @Override
      protected abstract SortedSet<Integer> create(Integer[] elements);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/UnmodifiableMultimapAsMapImplementsMapTest.java

    import com.google.common.collect.testing.MapInterfaceTest;
    import java.util.Collection;
    import java.util.Map;
    
    /**
     * Test {@link Multimap#asMap()} for an unmodifiable multimap with {@link MapInterfaceTest}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class UnmodifiableMultimapAsMapImplementsMapTest
        extends AbstractMultimapAsMapImplementsMapTest {
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top