Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1031 - 1040 of over 10,000 for Switch (0.06 seconds)

  1. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

            assertEquals(expectedIndexNumber, fileInternalInfo.getIndexNumber());
        }
    
        @Test
        @DisplayName("Test decode with buffer offset")
        void testDecodeWithBufferOffset() throws SMBProtocolDecodingException {
            // Prepare test data with offset
            byte[] buffer = new byte[20]; // Extra space to test offset
            int bufferIndex = 7; // Start at offset 7
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       *   absent.
       */
    
      /**
       * If {@code key} is not already associated with a value or if {@code key} is associated with
       * zero, associate it with {@code newValue}. Returns the previous value associated with {@code
       * key}, or zero if there was no mapping for {@code key}.
       */
      long putIfAbsent(K key, long newValue) {
        while (true) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 13:21:19 GMT 2025
    - 14K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java

            assertTrue(exception instanceof RuntimeException);
        }
    
        @Test
        public void test_constructor_withMessageAndCause() {
            // Test constructor with message and cause
            String message = "Command execution failed with error";
            Throwable cause = new IllegalStateException("Invalid state");
            CommandExecutionException exception = new CommandExecutionException(message, cause);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  4. docs/en/docs/how-to/graphql.md

    * [Strawberry](https://strawberry.rocks/) 🍓
        * With [docs for FastAPI](https://strawberry.rocks/docs/integrations/fastapi)
    * [Ariadne](https://ariadnegraphql.org/)
        * With [docs for FastAPI](https://ariadnegraphql.org/docs/fastapi-integration)
    * [Tartiflette](https://tartiflette.io/)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            // Test delete with non-existent index
            SuggestUtil.deleteByQuery(client, settings, "nonexistent_index", QueryBuilders.matchAllQuery());
        }
    
        @Test
        public void testDeleteScrollContext() {
            // Test with null scrollId (should not throw exception)
            SuggestUtil.deleteScrollContext(client, null);
    
            // Test with non-null scrollId
            String scrollId = "test_scroll_id";
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/debugging.md

    ```
    
    will not be executed.
    
    /// info
    
    For more information, check [the official Python docs](https://docs.python.org/3/library/__main__.html).
    
    ///
    
    ## Run your code with your debugger { #run-your-code-with-your-debugger }
    
    Because you are running the Uvicorn server directly from your code, you can call your Python program (your FastAPI application) directly from the debugger.
    
    ---
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

            String username = "******@****.***";
            FessUserNotFoundException exception = new FessUserNotFoundException(username);
    
            assertNotNull(exception);
            assertEquals("User is not found: ******@****.***", exception.getMessage());
            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructor_withLongUsername() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/security/get-current-user.md

    So now we can use the same `Depends` with our `get_current_user` in the *path operation*:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[31] *}
    
    Notice that we declare the type of `current_user` as the Pydantic model `User`.
    
    This will help us inside of the function with all the completion and type checks.
    
    /// tip
    
    You might remember that request bodies are also declared with Pydantic models.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 4K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/security/oauth2-jwt.md

    /// note
    
    Notice the header `Authorization`, with a value that starts with `Bearer `.
    
    ///
    
    ## Advanced usage with `scopes` { #advanced-usage-with-scopes }
    
    OAuth2 has the notion of "scopes".
    
    You can use them to add a specific set of permissions to a JWT token.
    
    Then you can give this token to a user directly or a third party, to interact with your API with a set of restrictions.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/extra-models.md

    {* ../../docs_src/extra_models/tutorial002_py310.py hl[7,13:14,17:18,21:22] *}
    
    ## `Union` or `anyOf` { #union-or-anyof }
    
    You can declare a response to be the `Union` of two or more types, that means, that the response would be any of them.
    
    It will be defined in OpenAPI with `anyOf`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.7K bytes
    - Click Count (0)
Back to Top