- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 508 for bar3 (0.03 sec)
-
android/guava-tests/test/com/google/common/collect/ForwardingConcurrentMapTest.java
assertEquals(Integer.valueOf(1), map.get("foo")); assertNull(map.putIfAbsent("bar", 3)); 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.4K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/duperror.s
// license that can be found in the LICENSE file. TEXT foo(SB), 0, $0 RET TEXT foo(SB), 0, $0 // ERROR "symbol foo redeclared" RET GLOBL bar(SB), 0, $8 GLOBL bar(SB), 0, $8 // ERROR "symbol bar redeclared" DATA bar+0(SB)/8, $0
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Dec 05 23:21:07 UTC 2022 - 404 bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java
assertEquals("bar x 2", entry("bar", 2).toString()); } public void testToStringNull() { assertEquals("null", entry(NE, 1).toString()); assertEquals("null x 2", entry(NE, 2).toString()); } public void testEquals() { assertEquals(control("foo", 1), entry("foo", 1)); assertEquals(control("bar", 2), entry("bar", 2));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.8K bytes - Viewed (0) -
tests/test_query.py
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 Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 21:56:59 UTC 2024 - 11.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java
exp = "file://C .doc"; assertEquals(exp, transformer.decodeUrlAsName(url, true)); url = "http://example.com/foo/" + encodeUrl("#") + "/@@bar/index.html#fragment?foo=bar"; exp = "http://example.com/foo/#/@@bar/index.html#fragment?foo=bar"; assertEquals(exp, transformer.decodeUrlAsName(url, false)); } public void test_getFileName_ok() throws Exception { String url, exp;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jul 04 06:20:49 UTC 2024 - 9.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ComparisonChainTest.java
*/ public void testTrueFirstFalseFirst() { Bar trueBar = new Bar(true); Bar falseBar = new Bar(false); assertThat(ComparisonChain.start().compareTrueFirst(trueBar.isBaz(), falseBar.isBaz()).result()) .isLessThan(0); Comparator<Bar> trueFirstComparator = comparing(Bar::isBaz, Booleans.trueFirst()); assertThat(trueFirstComparator.compare(trueBar, falseBar)).isLessThan(0);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 27 13:27:08 UTC 2024 - 7.5K bytes - Viewed (0) -
istioctl/pkg/workload/workload_test.go
client.Kube().CoreV1().ServiceAccounts("bar").Create(context.Background(), &v1.ServiceAccount{ ObjectMeta: metav1.ObjectMeta{Namespace: "bar", Name: "vm-serviceaccount"}, Secrets: []v1.ObjectReference{{Name: "test"}}, }, metav1.CreateOptions{}) client.Kube().CoreV1().ConfigMaps("bar").Create(context.Background(), &v1.ConfigMap{ ObjectMeta: metav1.ObjectMeta{Namespace: "bar", Name: "istio-ca-root-cert"},
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 20:04:20 UTC 2024 - 14.6K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesLoaderTest.java
Files.writeString(defPath, "foo=bar"); Path envPath = userDirectory.resolve("env-ci.properties"); Files.writeString(envPath, "foo=bar-env\nfoo-env=bar\n"); Properties p = new Properties(); p.put("user.home", userDirectory.toString()); MavenPropertiesLoader.loadProperties(p, mavenUserProps, p::getProperty, false); assertEquals("bar", p.getProperty("foo"));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.1K bytes - Viewed (0) -
tests/test_tutorial/test_response_model/test_tutorial005_py310.py
@needs_py310 def test_read_item_name(client: TestClient): response = client.get("/items/bar/name") assert response.status_code == 200, response.text assert response.json() == {"name": "Bar", "description": "The Bar fighters"} @needs_py310 def test_read_item_public_data(client: TestClient): response = client.get("/items/bar/public") assert response.status_code == 200, response.text assert response.json() == {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 04 20:47:07 UTC 2023 - 6.2K bytes - Viewed (0) -
tests/test_serialize_response_model.py
return [ Item(aliased_name="foo"), Item(aliased_name="bar", price=1.0), Item(aliased_name="baz", price=2.0, owner_ids=[1, 2, 3]), ] @app.get("/items/validdict", response_model=Dict[str, Item]) def get_validdict(): return { "k1": Item(aliased_name="foo"), "k2": Item(aliased_name="bar", price=1.0), "k3": Item(aliased_name="baz", price=2.0, owner_ids=[1, 2, 3]), }
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 4.2K bytes - Viewed (0)