Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 691 - 700 of 841 for custom1 (0.1 seconds)

  1. src/main/java/org/codelibs/core/io/FileUtil.java

         */
        public static byte[] readBytes(final File file) {
            return readBytes(file, MAX_BUF_SIZE);
        }
    
        /**
         * Reads the contents of a file into a byte array and returns it with a custom size limit.
         * <p>
         * <strong>Note:</strong> This method loads the entire file into memory.
         * An {@link IORuntimeException} will be thrown if the file exceeds the specified maxSize
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

     */
    @ExtendWith(MockitoExtension.class)
    class NegotiateContextRequestTest {
    
        @Mock
        private Configuration mockConfig;
    
        private static final int BUFFER_SIZE = 1024;
    
        /**
         * Test custom implementation of NegotiateContextRequest for interface testing
         */
        static class TestNegotiateContextRequest implements NegotiateContextRequest {
            private final int contextType;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  3. docs/fr/docs/advanced/advanced-dependencies.md

    Avant FastAPI 0.106.0, lever des exceptions après `yield` n’était pas possible, le code d’arrêt dans les dépendances avec `yield` s’exécutait après l’envoi de la réponse, donc les [Gestionnaires d'exceptions](../tutorial/handling-errors.md#install-custom-exception-handlers) avaient déjà été exécutés.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  4. tensorflow/BUILD

    # TF_LoadLibrary/tf.load_op_library) register their ops and kernels with this
    # shared object directly.
    #
    # For example, from Python tf.load_op_library loads a custom op library (via
    # dlopen() on Linux), the library finds libtensorflow_framework.so (no
    # filesystem search takes place, since libtensorflow_framework.so has already
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Mar 24 21:00:18 GMT 2026
    - 53.1K bytes
    - Click Count (0)
  5. cmd/metacache-set.go

    		r, err := hash.NewReader(ctx, bytes.NewReader(b.data), int64(len(b.data)), "", "", int64(len(b.data)))
    		bugLogIf(ctx, err)
    		custom := b.headerKV()
    		_, err = er.putMetacacheObject(ctx, o.objectPath(b.n), NewPutObjReader(r), ObjectOptions{
    			UserDefined: custom,
    		})
    		if err != nil {
    			mc.setErr(err.Error())
    			cancel()
    			return err
    		}
    		if b.n == 0 {
    			return nil
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 30.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/hash/BloomFilter.java

         * values in the [-128, 127] range are valid for the compact serial form. Non-negative values
         * are reserved for enums defined in BloomFilterStrategies; negative values are reserved for any
         * custom, stateful strategy we may define (e.g. any kind of strategy that would depend on user
         * input).
         */
        int ordinal();
      }
    
      /** The bit set of the BloomFilter (not necessarily power of 2!) */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 10 22:28:12 GMT 2026
    - 27.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

            String value = "12345|role1;role2;role3";
    
            roleQueryHelper.parseRoleSet(value, false, roleSet);
    
            // The implementation may parse roles differently with custom separators
            assertTrue(roleSet.size() >= 0);
        }
    
        @Test
        public void test_parseRoleSet_decryptionFailure() {
            final RoleQueryHelper roleQueryHelper = new RoleQueryHelper();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  8. docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md

    但是如果你需要,它就在这里。🤓
    
    ///
    
    {* ../../docs_src/dependencies/tutorial008b_an_py310.py hl[18:22,31] *}
    
    如果你想捕获异常并基于它创建一个自定义响应,请创建一个[自定义异常处理器](../handling-errors.md#install-custom-exception-handlers)。
    
    ## 同时使用 `yield` 和 `except` 的依赖项 { #dependencies-with-yield-and-except }
    
    如果你在带有 `yield` 的依赖中使用 `except` 捕获了一个异常,并且你没有再次抛出它(或抛出一个新异常),FastAPI 将无法察觉发生过异常,就像普通的 Python 代码那样:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  9. fastapi/.agents/skills/fastapi/SKILL.md

    async def create_items(items: ItemList):
        return items
    
    ```
    
    FastAPI supports these type annotations and will create a Pydantic `TypeAdapter` for them, so that types can work as normally and there's no need for the custom logic and types in RootModels.
    
    ## Use one HTTP operation per function
    
    Don't mix HTTP operations in a single function, having one function per HTTP operation helps separate concerns and organize the code.
    
    Do this:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  10. docs/es/docs/tutorial/dependencies/dependencies-with-yield.md

    {* ../../docs_src/dependencies/tutorial008b_an_py310.py hl[18:22,31] *}
    
    Si quieres capturar excepciones y crear un response personalizado en base a eso, crea un [Manejador de Excepciones Personalizado](../handling-errors.md#install-custom-exception-handlers).
    
    ## Dependencias con `yield` y `except` { #dependencies-with-yield-and-except }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 13.3K bytes
    - Click Count (0)
Back to Top