Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 195 for produce (0.06 seconds)

  1. 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();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  2. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.5K bytes
    - Click Count (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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12K bytes
    - Click Count (1)
  4. 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 {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserEdgeCaseTest.java

                    defaultReadingConverter, defaultReadingConverter, defaultNormalizer, analyzer);
    
            // Empty string should produce empty or no items
            assertTrue("Empty content should not produce items", items.size() == 0);
        }
    
        @Test
        public void test_parseDocument_whitespaceOnlyContent() throws Exception {
            Map<String, Object> document = new HashMap<>();
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 20.3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemBoundaryTest.java

            SuggestItem item2 = new SuggestItem(text2, readings2, null, 0L, 0L, 1.0f, null, null, null, SuggestItem.Kind.QUERY);
    
            // Different word order should produce different IDs (since text is "word1 word2" vs "word2 word1")
            assertFalse("Different word order should produce different IDs", item1.getId().equals(item2.getId()));
        }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Jan 17 05:10:37 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestQueryBuildingTest.java

            assertNotNull(result);
            assertTrue("Empty query should produce MatchAllQuery", result instanceof MatchAllQueryBuilder);
        }
    
        @Test
        public void test_buildQuery_nullQuery() {
            QueryBuilder result = request.buildQuery(null, Collections.emptyList());
            assertNotNull(result);
            assertTrue("Null query should produce MatchAllQuery", result instanceof MatchAllQueryBuilder);
        }
    
        @Test
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 19.8K bytes
    - Click Count (0)
  8. 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) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java

            // Note: Serialized bytes may not be identical due to metadata,
            // but deserialization should produce the same result
            Object deserialized1 = serializer.fromBinaryToObject(serialized1);
            Object deserialized2 = serializer.fromBinaryToObject(serialized2);
    
            assertEquals("Multiple deserializations should produce identical results", deserialized1, deserialized2);
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/FluentIterable.java

       * stream.collect(ImmutableListMultimap.toImmutableListMultimap(keyFunction, v -> v))}.
       *
       * @param keyFunction the function used to produce the key for each value
       * @throws NullPointerException if any element of this iterable is {@code null}, or if {@code
       *     keyFunction} produces {@code null} for any key
       * @since 14.0
       */
      @SuppressWarnings("nullness") // Unsafe, but we can't do much about it now.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
Back to Top