Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 3,996 for get3 (0.02 sec)

  1. android/guava-tests/test/com/google/common/collect/ForwardingConcurrentMapTest.java

        assertEquals(Integer.valueOf(1), map.get("foo"));
        assertThat(map.putIfAbsent("bar", 3)).isNull();
        assertEquals(Integer.valueOf(3), map.get("bar"));
      }
    
      public void testRemove() {
        TestMap map = new TestMap();
        map.put("foo", 1);
        assertFalse(map.remove("foo", 2));
        assertFalse(map.remove("bar", 1));
        assertEquals(Integer.valueOf(1), map.get("foo"));
        assertTrue(map.remove("foo", 1));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        builder.putAll("foo", Arrays.asList(6, 7));
        Multimap<String, Integer> multimap = builder.build();
        assertThat(multimap.get("foo")).containsExactly(1, 2, 3, 6, 7).inOrder();
        assertThat(multimap.get("bar")).containsExactly(4, 5).inOrder();
        assertEquals(7, multimap.size());
      }
    
      public void testBuilderPutAllVarargs() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbAuthenticationHolderTest.java

            assertNull(smbAuthenticationHolder.get(null));
            assertNull(smbAuthenticationHolder.get(""));
            assertNull(smbAuthenticationHolder.get(" "));
            assertNull(smbAuthenticationHolder.get("smb://"));
            assertNull(smbAuthenticationHolder.get("smb://hoge:1000/"));
            assertNull(smbAuthenticationHolder.get("smb://foo/"));
            assertNull(smbAuthenticationHolder.get("smb://foo:10000/"));
        }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. internal/config/dns/etcd_dns_test.go

    		t.Errorf("Failure to get domain from etcd key (without trailing '/'), expect: 'service.staging.cluster.local.' actually get: '%s'", result2)
    	}
    
    	result3 := msgUnPath("/singleleveldomain/")
    	if result3 != "singleleveldomain" {
    		t.Errorf("Failure to get domain from etcd key (with leading and trailing '/'), expect: 'singleleveldomain.' actually get: '%s'", result3)
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Aug 28 17:31:12 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt

        client =
          client
            .newBuilder()
            .cookieJar(JavaNetCookieJar(cookieManager))
            .build()
        get(urlWithIpAddress(server, "/"))
        val request1 = server.takeRequest()
        assertThat(request1.headers["Cookie"]).isNull()
        get(urlWithIpAddress(server, "/"))
        val request2 = server.takeRequest()
        assertThat(request2.headers["Cookie"]).isEqualTo("a=android; b=banana")
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            if (this.next != null) {
                this.next.setDigest(digest);
            }
        }
    
        /**
         * Gets the status code for this message.
         *
         * @return the status
         */
        public final int getStatus() {
            return this.status;
        }
    
        /**
         * Gets the session identifier for this message.
         *
         * @return the sessionId
         */
        public long getSessionId() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  7. internal/config/compress/compress.go

    	}
    
    	allowEnc := env.Get(EnvCompressAllowEncryption, "")
    	if allowEnc == "" {
    		allowEnc = env.Get(EnvCompressAllowEncryptionLegacy, kvs.Get(AllowEncrypted))
    	}
    
    	cfg.AllowEncrypted, err = config.ParseBool(allowEnc)
    	if err != nil {
    		return cfg, err
    	}
    
    	compressExtensions := env.Get(EnvCompressExtensions, kvs.Get(Extensions))
    	compressExtensionsLegacy := env.Get(EnvCompressExtensionsLegacy, "")
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sat Sep 06 17:37:10 UTC 2025
    - 5K bytes
    - Viewed (0)
  8. tests/test_schema_extra_examples.py

        response = client.get("/query_examples/")
        assert response.status_code == 200, response.text
        response = client.get("/query_example_examples/")
        assert response.status_code == 200, response.text
        response = client.get("/header_example/")
        assert response.status_code == 200, response.text
        response = client.get("/header_examples/")
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 32.2K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuildingRequest.java

         * @return This request, never {@code null}.
         */
        ProjectBuildingRequest setSystemProperties(Properties systemProperties);
    
        /**
         * Gets the system properties to use for interpolation and profile activation. The system properties are collected
         * from the runtime environment like {@link System#getProperties()} and environment variables.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. tests/test_query.py

    def test_query_optional():
        response = client.get("/query/optional")
        assert response.status_code == 200
        assert response.json() == "foo bar"
    
    
    def test_query_optional_query_baz():
        response = client.get("/query/optional?query=baz")
        assert response.status_code == 200
        assert response.json() == "foo bar baz"
    
    
    def test_query_optional_not_declared_baz():
        response = client.get("/query/optional?not_declared=baz")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top