Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,088 for different (0.1 sec)

  1. src/test/java/jcifs/BufferCacheTest.java

            assertEquals(1024, buffer1.length, "Buffer should have expected size");
            assertEquals(1024, buffer2.length, "Buffer should have expected size");
            assertNotSame(buffer1, buffer2, "Different calls should return different buffers initially");
        }
    
        @Test
        @DisplayName("releaseBuffer and getBuffer should implement buffer reuse")
        void testBufferReuse() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

            assertEquals(0, result);
        }
    
        /**
         * Test writeParameterWordsWireFormat with various buffer sizes
         */
        @Test
        @DisplayName("Test writeParameterWordsWireFormat with different buffer sizes")
        public void testWriteParameterWordsWireFormatWithDifferentBufferSizes() {
            // Given
            smbComTreeDisconnect = new SmbComTreeDisconnect(config);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

            netShareEnum = new NetShareEnum(realConfig);
            byte[] dst = new byte[100];
    
            int result = netShareEnum.writeSetupWireFormat(dst, 0);
            assertEquals(0, result);
    
            // Test with different offset
            result = netShareEnum.writeSetupWireFormat(dst, 50);
            assertEquals(0, result);
    
            // Verify no data was written
            assertArrayEquals(new byte[100], dst);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

    import org.opentest4j.TestAbortedException
    
    /**
     * This test binds two different web servers (IPv4 and IPv6) to the same port, but on different
     * local IP addresses. Requests made to `127.0.0.1` will reach the IPv4 server, and requests made to
     * `::1` will reach the IPv6 server.
     *
     * By orchestrating two different servers with the same port but different IP addresses, we can
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/HostSpecifier.java

        }
    
        if (addr != null) {
          return new HostSpecifier(InetAddresses.toUriString(addr));
        }
    
        // It is not any kind of IP address; must be a domain name or invalid.
    
        // TODO(user): different versions of this for different factories?
        InternetDomainName domain = InternetDomainName.from(host);
    
        if (domain.hasPublicSuffix()) {
          return new HostSpecifier(domain.toString());
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthenticationHolder.java

     * with a specific path prefix. When a path is provided, it iterates through the stored
     * authentications to find the one whose path prefix matches the beginning of the given path.
     * This allows for different SMB shares to use different authentication credentials.</p>
     *
     */
    public class SmbAuthenticationHolder {
        private final Map<String, SmbAuthentication> authMap = new HashMap<>();
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

                assertNotNull(cryptographer);
                assertSame(oneWayCryptographer, cryptographer);
            }
        }
    
        // Test with different cipher types
        public void test_withBlowfishCipher() {
            // Test with Blowfish cipher
            InvertibleCryptographer blowfish = InvertibleCryptographer.createBlowfishCipher("secretkey");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/additional-responses.md

                }
            }
        }
    }
    ```
    
    ## Additional media types for the main response { #additional-media-types-for-the-main-response }
    
    You can use this same `responses` parameter to add different media types for the same main response.
    
    For example, you can add an additional media type of `image/png`, declaring that your *path operation* can return a JSON object (with media type `application/json`) or a PNG image:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/response-model.md

    ### `response_model` or Return Type { #response-model-or-return-type }
    
    In this case, because the two models are different, if we annotated the function return type as `UserOut`, the editor and tools would complain that we are returning an invalid type, as those are different classes.
    
    That's why in this example we have to declare it in the `response_model` parameter.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 16K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

            byte[] dst = new byte[100];
    
            int result = netServerEnum2.writeSetupWireFormat(dst, 0);
            assertEquals(0, result);
    
            // Test with different offset
            result = netServerEnum2.writeSetupWireFormat(dst, 50);
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test writeParametersWireFormat for NET_SERVER_ENUM2")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.7K bytes
    - Viewed (0)
Back to top