Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 458 for Custom (0.06 sec)

  1. docs/es/docs/tutorial/dependencies/dependencies-with-yield.md

    Una alternativa que podrías usar para capturar excepciones (y posiblemente también lanzar otra `HTTPException`) es crear un [Manejador de Excepciones Personalizado](../handling-errors.md#install-custom-exception-handlers){.internal-link target=_blank}.
    
    ## Dependencias con `yield` y `except`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/Striped.java

       *
       * @param stripes the minimum number of stripes (locks) required
       * @param supplier a {@code Supplier<L>} object to obtain locks from
       * @return a new {@code Striped<L>}
       */
      static <L> Striped<L> custom(int stripes, Supplier<L> supplier) {
        return new CompactStriped<>(stripes, supplier);
      }
    
      /**
       * Creates a {@code Striped<Lock>} with eagerly initialized, strongly referenced locks. Every lock
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

    @ExtendWith(MockitoExtension.class)
    class SmbUnsupportedOperationExceptionTest {
    
        // Provides a variety of messages including edge cases
        static Stream<String> messages() {
            return Stream.of("custom message", "", " ", "αβγ", "x".repeat(1000), null);
        }
    
        @Test
        @DisplayName("Default constructor sets the expected message and no cause")
        void defaultConstructor_setsExpectedMessage_andNoCause() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. .github/ISSUE_TEMPLATE/tflite-converter-issue.md

    - Provide links to your updated versions of the above two colab notebooks.
    - Provide links to your TensorFlow model and (optionally) TensorFlow Lite Model.
    ```
    
    #### Option B: Paste your code here or provide a link to a custom end-to-end colab
    
    ```
    (You can paste links or attach files by dragging & dropping them below)
    - Include code to invoke the TFLite Converter Python API and the errors.
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Jun 15 03:35:58 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/SuccessorsFunction.java

     * }
     *
     * This works because those types each implement {@code SuccessorsFunction}. It will also work with
     * any other implementation of this interface.
     *
     * <p>If you have your own graph implementation based around a custom node type {@code MyNode},
     * which has a method {@code getChildren()} that retrieves its successors in a graph:
     *
     * {@snippet :
     * someGraphAlgorithm(startNode, MyNode::getChildren);
     * }
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            assertNotNull(retry.getContext());
        }
    
        @Test
        @DisplayName("Should format message correctly")
        void testMessageFormatting() {
            // With custom message
            exception = new SmbOperationException(SmbOperationException.ErrorCode.FILE_EXISTS, "document.pdf already exists");
            assertTrue(exception.getMessage().contains("FILE_EXISTS"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

    import java.io.File;
    import java.io.IOException;
    import java.nio.file.Files;
    import java.util.logging.Logger;
    
    import org.apache.commons.io.output.DeferredFileOutputStream;
    
    /**
     * ContentOutputStream is a custom output stream that extends DeferredFileOutputStream.
     * It writes data to a temporary file once the data size exceeds a specified threshold.
     *
     * <p>This class ensures that the temporary file is deleted if it is not needed.
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. cmd/api-errors_test.go

    	{err: crypto.ErrCustomerKeyMD5Mismatch, errCode: ErrSSECustomerKeyMD5Mismatch},
    	{err: errObjectTampered, errCode: ErrObjectTampered},
    
    	{err: nil, errCode: ErrNone},
    	{err: errors.New("Custom error"), errCode: ErrInternalError}, // Case where err type is unknown.
    }
    
    func TestAPIErrCode(t *testing.T) {
    	ctx := t.Context()
    	for i, testCase := range toAPIErrorTests {
    		errCode := toAPIErrorCode(ctx, testCase.err)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/api/BaseApiManager.java

                out.print(text);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Writes custom headers to the HTTP response.
         * @param response The HTTP servlet response.
         */
        protected abstract void writeHeaders(final HttpServletResponse response);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java

            assertTrue(exception2.getCause() instanceof NullPointerException);
    
            StorageException exception3 = new StorageException("Custom", new FessSystemException("System error"));
            assertTrue(exception3.getCause() instanceof FessSystemException);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top