Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 339 for foo (0.12 sec)

  1. tests/test_query.py

        assert response.status_code == 200
        assert response.json() == "foo bar"
    
    
    def test_query_int_optional_query_50():
        response = client.get("/query/int/optional?query=50")
        assert response.status_code == 200
        assert response.json() == "foo bar 50"
    
    
    def test_query_int_optional_query_foo():
        response = client.get("/query/int/optional?query=foo")
        assert response.status_code == 422
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  2. tests/test_response_by_alias.py

        return {"alias": "Foo"}
    
    
    @app.get("/by-alias/model", response_model=Model)
    def by_alias_model():
        return Model(alias="Foo")
    
    
    @app.get("/by-alias/list", response_model=List[Model])
    def by_alias_list():
        return [{"alias": "Foo"}, {"alias": "Bar"}]
    
    
    @app.get("/no-alias/dict", response_model=ModelNoAlias)
    def no_alias_dict():
        return {"name": "Foo"}
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        testDecodes(base32(), "MZXW6===", "foo"); // proper padding length
        testDecodes(base32(), "MZXW6====", "foo");
        testDecodes(base32(), "MZXW6=====", "foo");
      }
    
      public void testBase32AlternatePadding() {
        BaseEncoding enc = base32().withPadChar('~');
        testEncodingWithCasing(enc, "", "");
        testEncodingWithCasing(enc, "f", "MY~~~~~~");
        testEncodingWithCasing(enc, "fo", "MZXQ~~~~");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Aug 25 16:34:08 GMT 2022
    - 24.6K bytes
    - Viewed (0)
  4. .cm/plugins/filters/byCodeowner/ignore/index.js

            // > For example, "**/foo" matches file or directory "foo" anywhere,
            // > the same as pattern "foo".
            // > "**/foo/bar" matches file or directory "bar" anywhere that is directly
            // >   under directory "foo".
            // Notice that the '*'s have been replaced as '\\*'
            /^\^*\\\*\\\*\\\//,
    
            // '**/foo' <-> 'foo'
            () => '^(?:.*\\/)?'
        ],
    
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  5. maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java

            // these are local
            assertFalse(DefaultMirrorSelector.isExternalRepo(getRepo("foo", "http://localhost:8080")));
            assertFalse(DefaultMirrorSelector.isExternalRepo(getRepo("foo", "http://127.0.0.1:9090")));
            assertFalse(DefaultMirrorSelector.isExternalRepo(getRepo("foo", "file://localhost/somepath")));
            assertFalse(DefaultMirrorSelector.isExternalRepo(getRepo("foo", "file://localhost/D:/somepath")));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        EqualsTester tester =
            new EqualsTester()
                .addEqualityGroup(
                    named("foo").addPeers("bar", "baz"),
                    named("bar").addPeers("foo"),
                    named("baz").addPeers("foo"));
        try {
          tester.testEquals();
        } catch (AssertionFailedError e) {
          assertErrorMessage(e, "bar [group 1, item 2] must be Object#equals to baz [group 1, item 3]");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  7. src/archive/tar/tar_test.go

    		formats: FormatUSTAR | FormatPAX | FormatGNU,
    	}, {
    		header:  &Header{Xattrs: map[string]string{"foo": "bar"}},
    		paxHdrs: map[string]string{paxSchilyXattr + "foo": "bar"},
    		formats: FormatPAX,
    	}, {
    		header:  &Header{Xattrs: map[string]string{"foo": "bar"}, Format: FormatGNU},
    		paxHdrs: map[string]string{paxSchilyXattr + "foo": "bar"},
    		formats: FormatUnknown,
    	}, {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ListsTest.java

       */
      public void testArraysAsList() {
        List<String> ourWay = Lists.newArrayList("foo", "bar", "baz");
        List<String> otherWay = asList("foo", "bar", "baz");
    
        // They're logically equal
        assertEquals(ourWay, otherWay);
    
        // The result of Arrays.asList() is mutable
        otherWay.set(0, "FOO");
        assertEquals("FOO", otherWay.get(0));
    
        // But it can't grow
        try {
          otherWay.add("nope");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/mips64.s

    //	{
    //		outcode(int($1), &nullgen, 0, &nullgen);
    //	}
    	SYSCALL
    	BEQ	R1, 2(PC)
    	RET
    
    
    // More JMP/JAL cases, and canonical names JMP, CALL.
    
    	JAL	foo(SB) // CALL foo(SB)
    	BEQ	R1, 2(PC)
    	JMP	foo(SB)
    	CALL	foo(SB)
    	RET	foo(SB)
    
    	// unary operation
    	NEGW	R1, R2 // 00011023
    	NEGV	R1, R2 // 0001102f
    
    	WSBH	R1, R2 // 7c0110a0
    	DSBH	R1, R2 // 7c0110a4
    	DSHD	R1, R2 // 7c011164
    
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 08 12:17:12 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/DfsTest.java

            };
            dfs.cache(context, "\\" + hostname + "\\" + root + path, dr);
            DfsReferralData ref = dfs.resolve(context, hostname, root, path + "lalala\\foo\\");
            assertNotNull(ref);
            DfsReferralData ref2 = dfs.resolve(context, hostname, root, path + "lalala\\foo");
            assertNotNull(ref2);
        }
    
    
        /**
         * @return
         * @throws URISyntaxException
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Mar 01 09:46:04 GMT 2020
    - 13.5K bytes
    - Viewed (0)
Back to top