Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 410 for Real (0.49 sec)

  1. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

        // ISO 8859-1 only has 0-255 (ubyte) representation so throws away UTF-8 characters
        // greater than 127 (ie with their top bit set).
        // Don't attempt to do this in real code.
        assertEquals(
            fingerprint(stringA.getBytes(ISO_8859_1)), fingerprint(stringB.getBytes(ISO_8859_1)));
      }
    
      public void testPutNonChars() {
        Hasher hasher = HASH_FN.newHasher();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

         *
         * @throws GeneralSecurityException if a security error occurs
         */
        @Test
        void testDecryptRc4() throws GeneralSecurityException {
            // This is a simplified test and does not use real encrypted data from Kerberos
            // It mainly tests the decryption logic path
            Key key = new KerberosKey(null, new byte[16], KerberosConstants.RC4_ENC_TYPE, 0);
            byte[] data = new byte[32]; // Dummy data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/util/LogStreamTest.java

                LogStream.setInstance(null);
            });
        }
    
        @Test
        void testPrintStreamDelegation() {
            // Test that LogStream properly delegates to underlying PrintStream
            // Use a real PrintStream with ByteArrayOutputStream to test delegation
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            PrintStream realStream = new PrintStream(baos);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

        @Test
        void testLsarDomainInfoEncode() throws NdrException {
            lsarpc.LsarDomainInfo domainInfo = new lsarpc.LsarDomainInfo();
            domainInfo.name = new rpc.unicode_string(); // Use real object, not mock
            domainInfo.name.length = 10;
            domainInfo.name.maximum_length = 20;
            domainInfo.name.buffer = new short[10];
            domainInfo.sid = mock(rpc.sid_t.class);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 60.8K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/testing.md

    ///
    
    ## Separating tests { #separating-tests }
    
    In a real application, you probably would have your tests in a different file.
    
    And your **FastAPI** application might also be composed of several files/modules, etc.
    
    ### **FastAPI** app file { #fastapi-app-file }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

                int originalValue = 150;
                NdrShort ndrShort1 = new NdrShort(originalValue);
    
                // Create separate mocks for encoding and decoding to simulate real buffer
                NdrBuffer encodeBuffer = mock(NdrBuffer.class);
                NdrBuffer decodeBuffer = mock(NdrBuffer.class);
                when(decodeBuffer.dec_ndr_short()).thenReturn(originalValue);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/ListeningExecutorService.java

     * MoreExecutors#listeningDecorator(ExecutorService)}.
     *
     * @author Chris Povirk
     * @since 10.0
     */
    @DoNotMock(
        "Use TestingExecutors.sameThreadScheduledExecutor, or wrap a real Executor from "
            + "java.util.concurrent.Executors with MoreExecutors.listeningDecorator")
    @GwtIncompatible
    public interface ListeningExecutorService extends ExecutorService {
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/NullnessCasts.java

       * next} field is lazily initialized. The type of that field would be {@code @Nullable T}, and the
       * code would be responsible for populating a "real" {@code T} (which might still be the value
       * {@code null}!) before returning it to callers. Depending on how the code is structured, a
       * nullness analysis might not understand that the field has been populated. To avoid that problem
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 20:49:47 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. mockwebserver/README.md

    then verify that requests were made as expected.
    
    Because it exercises your full HTTP stack, you can be confident that you're
    testing everything. You can even copy & paste HTTP responses from your real web
    server to create representative test cases. Or test that your code survives in
    awkward-to-reproduce situations like 500 errors or slow-loading responses.
    
    
    ### Example
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 13:40:52 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/extra-models.md

    )
    ```
    
    /// warning | Advertencia
    
    Las funciones adicionales de soporte `fake_password_hasher` y `fake_save_user` son solo para demostrar un posible flujo de datos, pero por supuesto no proporcionan ninguna seguridad real.
    
    ///
    
    ## Reducir duplicación
    
    Reducir la duplicación de código es una de las ideas centrales en **FastAPI**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top