Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 165 for Reproduce (0.16 sec)

  1. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

            byte[] signingKey2 = Smb3KeyDerivation.deriveSigningKey(dialect, sessionKey, preauthIntegrity);
    
            // Then - should produce identical results
            assertArrayEquals(signingKey1, signingKey2, "Same input should produce same output");
        }
    
        @Test
        @DisplayName("Should handle empty session key")
        void testDeriveKeys_EmptySessionKey() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/util/HMACT64Test.java

            hmac.engineUpdate(TEST_DATA, 0, TEST_DATA.length);
            byte[] result2 = hmac.engineDigest();
    
            // Should produce the same result
            assertArrayEquals(result1, result2);
        }
    
        @Test
        void testDifferentKeysProduceDifferentResults() {
            // Test that different keys produce different results
            byte[] key1 = "key1".getBytes();
            byte[] key2 = "key2".getBytes();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/NtlmUtilTest.java

            // Assert
            assertArrayEquals(expected, actual, "NT hash must match known test vector");
        }
    
        @Test
        @DisplayName("getNTHash: verify different passwords produce different hashes")
        void testGetNTHash_differentPasswords() {
            // Arrange
            String password1 = "password";
            String password2 = "Password";
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. guava-gwt/src/com/google/common/DummyJavadocClass.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common;
    
    /**
     * A dummy class so that the Maven Javadoc plugin will produce a jar. If it doesn't produce a jar,
     * then the Sonatype repository manager issues an error.
     *
     * @author Chris Povirk
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jan 07 19:38:21 UTC 2020
    - 848 bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/StringsTest.java

                if (input == null || input.isEmpty()) {
                    assertEquals(0, result.length, "Null or empty input should produce empty array");
                } else {
                    assertTrue(result.length > 0, "Non-empty input should produce non-empty array");
                }
            }
        }
    
        @Nested
        @DisplayName("Unicode and ASCII Encoding")
        class UnicodeAndASCIITests {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/CryptoTest.java

            // When
            MessageDigest hmac = Crypto.getHMACT64(key);
            byte[] result = hmac.digest(data);
    
            // Then
            assertNotNull(result);
            assertTrue(result.length > 0, "HMAC-T64 should produce non-empty result");
        }
    
        @Test
        @DisplayName("Should perform RC4 encryption/decryption")
        void testRC4() throws Exception {
            // Given
            byte[] key = "testkey123456789".getBytes(); // 16 bytes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/UrlEscapers.java

       * using the ampersand unless you must interoperate with systems that require semicolons.
       *
       * <p><b>Note:</b> Unlike other escapers, URL escapers produce <a
       * href="https://url.spec.whatwg.org/#percent-encode">uppercase</a> hexadecimal sequences.
       *
       */
      public static Escaper urlFormParameterEscaper() {
        return URL_FORM_PARAMETER_ESCAPER;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/net/UrlEscapers.java

       * using the ampersand unless you must interoperate with systems that require semicolons.
       *
       * <p><b>Note:</b> Unlike other escapers, URL escapers produce <a
       * href="https://url.spec.whatwg.org/#percent-encode">uppercase</a> hexadecimal sequences.
       *
       */
      public static Escaper urlFormParameterEscaper() {
        return URL_FORM_PARAMETER_ESCAPER;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestSubjectGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * To be implemented by test generators that can produce test subjects without requiring any
     * parameters.
     *
     * @param <T> the type created by this generator.
     * @author George van den Driessche
     */
    @GwtCompatible
    @NullMarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

      }
    
      public Runnable getTearDown() {
        return tearDown;
      }
    
      // Features
    
      private final Set<Feature<?>> features = new LinkedHashSet<>();
    
      /**
       * Configures this builder to produce tests appropriate for the given features. This method may be
       * called more than once to add features in multiple groups.
       */
      @CanIgnoreReturnValue
      public B withFeatures(Feature<?>... features) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top