Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 107 for bear (0.14 sec)

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

            create("foo", 3, 'c', "foo", 1, 'a', "bar", 1, 'b');
        Table<String, Integer, @Nullable Character> smaller = create("foo", 1, 'a', "bar", 1, 'b');
        Table<String, Integer, @Nullable Character> swapOuter =
            create("bar", 1, 'a', "foo", 1, 'b', "bar", 3, 'c');
        Table<String, Integer, @Nullable Character> swapValues =
            create("foo", 1, 'c', "bar", 1, 'b', "foo", 3, 'a');
    
        new EqualsTester()
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ArrayTableTest.java

            create("foo", 3, 'c', "foo", 1, 'a', "bar", 1, 'b');
        Table<String, Integer, @Nullable Character> smaller = create("foo", 1, 'a', "bar", 1, 'b');
        Table<String, Integer, @Nullable Character> swapOuter =
            create("bar", 1, 'a', "foo", 1, 'b', "bar", 3, 'c');
        Table<String, Integer, @Nullable Character> swapValues =
            create("foo", 1, 'c', "bar", 1, 'b', "foo", 3, 'a');
    
        new EqualsTester()
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableTableTest.java

        Table<Character, Integer, String> expectedTable = HashBasedTable.create();
        expectedTable.put('a', 1, "foo");
        expectedTable.put('b', 1, "bar");
        expectedTable.put('a', 2, "baz");
        Table<Character, Integer, String> otherTable = HashBasedTable.create();
        otherTable.put('b', 1, "bar");
        otherTable.put('a', 2, "baz");
        assertEquals(expectedTable, builder.putAll(otherTable).build());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  4. tests/test_jsonable_encoder.py

        with pytest.raises(ValidationError):
            ModelWithAlias(foo="Bar")
    
    
    def test_encode_model_with_alias():
        model = ModelWithAlias(Foo="Bar")
        assert jsonable_encoder(model) == {"Foo": "Bar"}
    
    
    def test_encode_model_with_default():
        model = ModelWithDefault(foo="foo", bar="bar")
        assert jsonable_encoder(model) == {"foo": "foo", "bar": "bar", "bla": "bla"}
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 9K bytes
    - Viewed (0)
  5. 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"},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  6. tests/test_annotated.py

            ("/default?foo=bar", 200, {"foo": "bar"}),
            ("/required?foo=bar", 200, {"foo": "bar"}),
            ("/required", 422, foo_is_missing),
            ("/required?foo=", 422, foo_is_short),
            ("/multiple?foo=bar", 200, {"foo": "bar"}),
            ("/multiple", 422, foo_is_missing),
            ("/multiple?foo=", 422, foo_is_short),
            ("/unrelated?foo=bar", 200, {"foo": "bar"}),
            ("/unrelated", 422, foo_is_missing),
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  7. tests/main.py

        if query is None:
            return "foo bar"
        return f"foo bar {query}"
    
    
    @app.get("/query/int/default")
    def get_query_type_int_default(query: int = 10):
        return f"foo bar {query}"
    
    
    @app.get("/query/param")
    def get_query_param(query=Query(default=None)):
        if query is None:
            return "foo bar"
        return f"foo bar {query}"
    
    
    @app.get("/query/param-required")
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MultimapsTest.java

        assertEquals(3, multimap.size());
        assertTrue(multimap.containsKey("bar"));
        assertEquals(Collections.singleton(2), multimap.removeAll("bar"));
        assertEquals(2, multimap.size());
        assertFalse(multimap.containsKey("bar"));
      }
    
      public void testForMapAsMap() {
        Map<String, Integer> map = Maps.newHashMap();
        map.put("foo", 1);
        map.put("bar", 2);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ObjectArraysTest.java

        String[] result = ObjectArrays.concat("foo", new String[] {"bar"});
        assertThat(result).asList().containsExactly("foo", "bar").inOrder();
      }
    
      public void testPrependTwoElements() {
        String[] result = ObjectArrays.concat("foo", new String[] {"bar", "baz"});
        assertThat(result).asList().containsExactly("foo", "bar", "baz").inOrder();
      }
    
      public void testAppendZeroElements() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/net/InternetDomainNameTest.java

              "",
              " ",
              "127.0.0.1",
              "::1",
              "13",
              "abc.12c",
              "foo-.com",
              "_bar.quux",
              "foo+bar.com",
              "foo!bar.com",
              ".foo.com",
              "..bar.com",
              "baz..com",
              "..quiffle.com",
              "fleeb.com..",
              ".",
              "..",
              "...",
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
Back to top