Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 1,187 for Different (0.05 seconds)

  1. tests/test_router_circular_import.py

    
    def test_router_circular_import():
        router = APIRouter()
    
        with pytest.raises(
            AssertionError,
            match="Cannot include the same APIRouter instance into itself. Did you mean to include a different router?",
        ):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 10 10:58:40 GMT 2026
    - 317 bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

          assertThat(out).isSameInstanceAs(in);
        } else {
          assertThat(out).isEqualTo(expected);
        }
      }
    
      // Test collapse() a little differently than the rest, as we really want to
      // cover lots of different configurations of input text
      public void testCollapse() {
        // collapsing groups of '-' into '_' or '-'
        doTestCollapse("-", "_");
        doTestCollapse("x-", "x_");
        doTestCollapse("-x", "_x");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 32.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

                Thread.sleep(5); // Small delay to ensure different timestamps
                Smb2LeaseKey key2 = limitedManager.requestLease("/share/file2.txt", Smb2LeaseState.SMB2_LEASE_READ_CACHING);
                Thread.sleep(5); // Small delay to ensure different timestamps
                Smb2LeaseKey key3 = limitedManager.requestLease("/share/file3.txt", Smb2LeaseState.SMB2_LEASE_READ_CACHING);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java

            String path = provider.provideDefaultPath();
            assertNull(path);
    
            Integer expire = provider.provideDefaultExpire();
            assertNull(expire);
        }
    
        // Test with different expire values
        @Test
        public void test_differentExpireValues() {
            int[] testExpires = { 0, 1, 60, 3600, 86400, Integer.MAX_VALUE };
    
            for (int expire : testExpires) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/advanced-dependencies.md

    All the dependencies we have seen are a fixed function or class.
    
    But there could be cases where you want to be able to set parameters on the dependency, without having to declare many different functions or classes.
    
    Let's imagine that we want to have a dependency that checks if the query parameter `q` contains some fixed content.
    
    But we want to be able to parameterize that fixed content.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("readSetupWireFormat with various parameters should return 0")
        void testReadSetupWireFormatVariousParams() {
            // Test with different buffer sizes and offsets
            int[][] testCases = { { 0, 50 }, // No offset, 50 bytes
                    { 10, 90 }, // 10 byte offset, 90 bytes
                    { 50, 50 }, // 50 byte offset, 50 bytes
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java

            assertEquals(0x1, Smb2IoctlRequest.SMB2_O_IOCTL_IS_FSCTL);
        }
    
        @Test
        @DisplayName("Test configuration with different control codes")
        void testDifferentControlCodes() {
            setupMockConfig();
            // Test with different control codes
            int[] controlCodes = { Smb2IoctlRequest.FSCTL_PIPE_PEEK, Smb2IoctlRequest.FSCTL_PIPE_WAIT, Smb2IoctlRequest.FSCTL_PIPE_TRANSCEIVE,
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  8. docs/en/docs/environment-variables.md

    That means that **any value** read in Python from an environment variable **will be a `str`**, and any conversion to a different type or any validation has to be done in code.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

     * It coordinates with DictionaryCreator instances to handle different
     * dictionary types and manages file synchronization through ConfigSync.
     *
     */
    public class DictionaryManager {
        private static final Logger logger = LogManager.getLogger(DictionaryManager.class);
    
        /** List of dictionary creators for handling different dictionary types */
        protected List<DictionaryCreator> creatorList = new ArrayList<>();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java

            char[] clonedPassword = (char[]) passwordField.get(cloned);
    
            assertNotSame(originalPassword, clonedPassword, "Cloned password should be a different array instance");
            assertArrayEquals(originalPassword, clonedPassword, "Cloned password content should match");
    
            // Wipe original - should not affect clone
            authenticator.secureWipePassword();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.5K bytes
    - Click Count (0)
Back to Top