Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1171 - 1180 of 1,709 for result2 (0.36 seconds)

  1. docs/en/docs/tutorial/encoder.md

    {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *}
    
    In this example, it would convert the Pydantic model to a `dict`, and the `datetime` to a `str`.
    
    The result of calling it is something that can be encoded with the Python standard <a href="https://docs.python.org/3/library/json.html#json.dumps" class="external-link" target="_blank">`json.dumps()`</a>.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  2. docs/es/docs/async.md

    Si estás usando paquetes de terceros que te dicen que los llames con `await`, como:
    
    ```Python
    results = await some_library()
    ```
    
    Entonces, declara tus *path operation functions* con `async def` así:
    
    ```Python hl_lines="2"
    @app.get('/')
    async def read_results():
        results = await some_library()
        return results
    ```
    
    /// note | Nota
    
    Solo puedes usar `await` dentro de funciones creadas con `async def`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 10:15:01 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            byte[] buffer = new byte[6];
            System.arraycopy("short".getBytes(), 0, buffer, 0, 5);
            buffer[5] = 0; // Null terminator
            String result = smb.readString(buffer, 0, 5, false);
            assertEquals("short", result);
        }
    
        @Test
        void testReadStringWithMaxLengthExceeded() {
            smb.useUnicode = false;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            when(ctx.getConfig()).thenReturn(cfg);
            SmbTreeConnectionTrace trace = new SmbTreeConnectionTrace(ctx);
    
            // Act
            Configuration result = trace.getConfig();
    
            // Assert
            assertSame(cfg, result);
            verify(ctx, times(1)).getConfig();
        }
    
        @Test
        @DisplayName("hasCapability(): without session/tree throws SmbException")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  5. internal/pubsub/pubsub_test.go

    	ch3 := make(chan Maskable, 1)
    	doneCh := make(chan struct{})
    	defer close(doneCh)
    	// Mask matches maskString, should get result
    	if err := ps.Subscribe(Mask(1), ch1, doneCh, func(entry Maskable) bool { return true }); err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	// Mask matches maskString, should get result
    	if err := ps.Subscribe(Mask(1|2), ch2, doneCh, func(entry Maskable) bool { return true }); err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Aug 14 17:11:51 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/primitives/CharsTest.java

            char result = Chars.fromByteArray(new byte[] {(byte) hi, (byte) lo});
            assertWithMessage(
                    String.format(
                        Locale.ROOT,
                        "hi=%s, lo=%s, expected=%s, result=%s",
                        hi,
                        lo,
                        (int) c,
                        (int) result))
                .that(result)
                .isEqualTo(c);
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsPagingResultBean.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.opensearch.user.allcommon;
    
    import org.apache.lucene.search.TotalHits;
    import org.dbflute.cbean.result.PagingResultBean;
    import org.opensearch.action.search.SearchRequestBuilder;
    import org.opensearch.search.aggregations.Aggregations;
    
    /**
     * @param <ENTITY> The type of entity.
     * @author ESFlute (using FreeGen)
     */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/body.md

    To add it to your *path operation*, declare it the same way you declared path and query parameters:
    
    {* ../../docs_src/body/tutorial001_py310.py hl[16] *}
    
    ...and declare its type as the model you created, `Item`.
    
    ## Results { #results }
    
    With just that Python type declaration, **FastAPI** will:
    
    * Read the body of the request as JSON.
    * Convert the corresponding types (if needed).
    * Validate the data.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsPagingResultBean.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.opensearch.config.allcommon;
    
    import org.apache.lucene.search.TotalHits;
    import org.dbflute.cbean.result.PagingResultBean;
    import org.opensearch.action.search.SearchRequestBuilder;
    import org.opensearch.search.aggregations.Aggregations;
    
    /**
     * @param <ENTITY> The type of entity.
     * @author ESFlute (using FreeGen)
     */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/ModelUtils.java

         * <p>
         * Given:
         * <pre>
         * parent: X -&gt; A -&gt; B -&gt; D -&gt; E
         * child: Y -&gt; A -&gt; C -&gt; D -&gt; F
         * </pre>
         * Result:
         * <pre>
         * X -&gt; Y -&gt; A -&gt; B -&gt; C -&gt; D -&gt; E -&gt; F
         * </pre>
         */
        public static void mergePluginLists(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
Back to Top