Search Options

Results per page
Sort
Preferred Languages
Advance

Results 671 - 680 of 3,270 for switch (0.03 sec)

  1. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

        }
    
        @Test
        @DisplayName("Test with various file ID patterns")
        void testWithVariousFileIdPatterns() {
            // Test with all zeros
            byte[] zeroFileId = new byte[16];
            Smb2CloseRequest zeroRequest = new Smb2CloseRequest(mockConfig, zeroFileId, testFileName);
            testFileIdInRequest(zeroRequest, zeroFileId);
    
            // Test with all ones
            byte[] onesFileId = new byte[16];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            assertEquals(fileName, notifyInfo.getFileName());
        }
    
        @ParameterizedTest
        @DisplayName("Test decode with various file names")
        @CsvSource({ "a.txt", "very_long_filename_with_many_characters_to_test_buffer_handling.docx", "file with spaces.pdf", "文件.txt", // Unicode filename
                "file-with-special-chars!@#$%^&().bin" })
        void testDecodeWithVariousFileNames(String fileName) throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/body-nested-models.md

    But Python has a specific way to declare lists with internal types, or "type parameters":
    
    ### Import typing's `List` { #import-typings-list }
    
    In Python 3.9 and above you can use the standard `list` to declare these type annotations as we'll see below. 💡
    
    But in Python versions before 3.9 (3.6 and above), you first need to import `List` from standard Python's `typing` module:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/sql-databases.md

    ### Read One Hero with `HeroPublic` { #read-one-hero-with-heropublic }
    
    We can **read** a single hero:
    
    {* ../../docs_src/sql_databases/tutorial002_an_py310.py ln[75:80] hl[77] *}
    
    ### Update a Hero with `HeroUpdate` { #update-a-hero-with-heroupdate }
    
    We can **update a hero**. For this we use an HTTP `PATCH` operation.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/behind-a-proxy.md

    * **X-Forwarded-Host**: The original host (`mysuperapp.com`)
    
    When **FastAPI CLI** is configured with `--forwarded-allow-ips`, it trusts these headers and uses them, for example to generate the correct URLs in redirects.
    
    ## Proxy with a stripped path prefix { #proxy-with-a-stripped-path-prefix }
    
    You could have a proxy that adds a path prefix to your application.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 19:34:08 UTC 2025
    - 16K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java

            discloser.setSubject("Subject with \\ backslash");
            discloser.setPlainText("Content with \\ backslash");
    
            String result = notificationHelper.toSlackMessage(discloser);
    
            assertNotNull(result);
            assertTrue(result.contains("Subject with"));
            assertTrue(result.contains("Content with"));
            assertTrue(result.contains("backslash"));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

            assertNotNull(manager);
        }
    
        // Test insert with no chains
        public void test_insert_noChains() {
            User user = createTestUser("testuser");
            authenticationManager.insert(user);
            // Should not throw exception even with no chains
        }
    
        // Test insert with single chain
        public void test_insert_singleChain() {
            User user = createTestUser("testuser");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/collection/Maps.java

         *
         * @param <KEY> the key type of the <code>Map</code>
         * @param <VALUE> the value type of the <code>Map</code>
         * @param key the key to be added to the <code>Map</code>
         * @param value the value to be added to the <code>Map</code>
         * @return a {@literal Maps} for constructing a {@link Map} with the specified key and value
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/additional-responses.md

    ## Additional Response with `model` { #additional-response-with-model }
    
    You can pass to your *path operation decorators* a parameter `responses`.
    
    It receives a `dict`: the keys are status codes for each response (like `200`), and the values are other `dict`s with the information for each of them.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. cmd/signature-v4-parser_test.go

    		expectedErrCode     APIErrorCode
    	}{
    		// Test Case - 1.
    		// Test case with no '=' in te inputCredentialStr.
    		{
    			inputCredentialStr:  "Credential",
    			expectedCredentials: credentialHeader{},
    			expectedErrCode:     ErrMissingFields,
    		},
    		// Test Case - 2.
    		// Test case with no "Credential" string in te inputCredentialStr.
    		{
    			inputCredentialStr:  "Cred=",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 27.4K bytes
    - Viewed (0)
Back to top