Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 127 for ret1 (0.11 sec)

  1. tests/test_response_model_data_filter.py

    @app.get("/pets/", response_model=List[PetOut])
    async def read_pets():
        user = UserDB(
            email="******@****.***",
            hashed_password="secrethashed",
        )
        pet1 = PetDB(name="Nibbler", owner=user)
        pet2 = PetDB(name="Zoidberg", owner=user)
        return [pet1, pet2]
    
    
    client = TestClient(app)
    
    
    def test_filter_top_level_model():
        response = client.post(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. internal/s3select/csv/reader.go

    	newCsvReader := func(r io.Reader) *csv.Reader {
    		ret := csv.NewReader(r)
    		ret.Comma = []rune(args.FieldDelimiter)[0]
    		ret.Comment = []rune(args.CommentCharacter)[0]
    		ret.Quote = []rune{}
    		if len([]rune(args.QuoteCharacter)) > 0 {
    			// Add the first rune of args.QuoteCharacter
    			ret.Quote = append(ret.Quote, []rune(args.QuoteCharacter)[0])
    		}
    		ret.QuoteEscape = []rune(args.QuoteEscapeCharacter)[0]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/lang/ClassUtilTest.java

        @Test
        public void testSplitPackageAndShortClassName() {
            String[] ret = ClassUtil.splitPackageAndShortClassName("aaa.Hoge");
            assertThat(ret[0], is("aaa"));
            assertThat(ret[1], is("Hoge"));
            ret = ClassUtil.splitPackageAndShortClassName("Hoge");
            assertThat(ret[0], is(nullValue()));
            assertThat(ret[1], is("Hoge"));
        }
    
        /**
         *
         */
        @Test
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmUtil.java

            hmac.update(clientData, offset, length);
            byte[] mac = hmac.digest();
            byte[] ret = new byte[mac.length + clientData.length];
            System.arraycopy(mac, 0, ret, 0, mac.length);
            System.arraycopy(clientData, 0, ret, mac.length, clientData.length);
            return ret;
        }
    
    
        /**
         * 
         * @param domain
         * @param username
         * @param password
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 9.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SecurityBlob.java

         */
        @Override
        public String toString () {
            String ret = "";
            for ( int i = 0; i < this.b.length; i++ ) {
                int n = this.b[ i ] & 0xff;
                if ( n <= 0x0f ) {
                    ret += "0";
                }
                ret += Integer.toHexString(n);
            }
            return ret;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/ResourceBundleUtil.java

            assertArgumentNotNull("bundle", bundle);
    
            final Map<String, String> ret = newHashMap();
            for (final Enumeration<String> e = bundle.getKeys(); e.hasMoreElements();) {
                final String key = e.nextElement();
                final String value = bundle.getString(key);
                ret.put(key, value);
            }
            return ret;
        }
    
        /**
         * リソースバンドルを{@link Map}に変換して返します。
         *
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/mips64.s

    	BREAK	R1, (R1)
    
    //
    // RET
    //
    //	LRETRN	comma // asm doesn't support the trailing comma.
    //	{
    //		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
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/DcerpcBinding.java

        public String toString() {
            String ret = proto + ":" + server + "[" + endpoint;
            if (options != null) {
                Iterator iter = options.keySet().iterator();
                while (iter.hasNext()) {
                    Object key = iter.next();
                    Object val = options.get(key);
                    ret += "," + key + "=" + val;
                }
            }
            ret += "]";
            return ret;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.2K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/duperror.s

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // 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)
  10. cmd/net_test.go

    		{"192.168.1.0", true},
    		{"[2001:3984:3989::20%eth0]:9000", true},
    	}
    
    	for _, testCase := range testCases {
    		ret := isHostIP(testCase.args)
    		if testCase.expectedResult != ret {
    			t.Fatalf("expected: %v , got: %v", testCase.expectedResult, ret)
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 19 08:43:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top