Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for producer (0.05 sec)

  1. src/test/java/jcifs/smb/WinErrorTest.java

            for (int i = 0; i < codes.length; i++) {
                if (codes[i] == code) {
                    return Optional.of(msgs[i]);
                }
            }
            return Optional.empty();
        }
    
        // Producer for code->message pairs covering all known constants (happy path)
        static Stream<Arguments> knownCodeMessagePairs() {
            return Stream.of(Arguments.of(WinError.ERROR_SUCCESS, "The operation completed successfully."),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  2. docs/bucket/notifications/README.md

    MINIO_NOTIFY_KAFKA_PRODUCER_COMPRESSION_CODEC  (none|snappy|gzip|lz4|zstd) compression codec for producer messages
    MINIO_NOTIFY_KAFKA_PRODUCER_COMPRESSION_LEVEL  (number)                    compression level for producer messages, defaults to '0'
    ```
    
    To update the configuration, use `mc admin config get` command to get the current configuration.
    
    ```sh
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 84.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/util/HMACT64Test.java

                    different = true;
                    break;
                }
            }
            assertEquals(true, different, "Different keys should produce different HMAC values");
        }
    
        @Test
        void testDifferentDataProducesDifferentResults() {
            // Test that different data produces different results
            byte[] data1 = "data1".getBytes();
            byte[] data2 = "data2".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)
  4. src/test/java/jcifs/util/CryptoTest.java

            // When
            MessageDigest md4 = Crypto.getMD4();
            byte[] hash = md4.digest(data);
    
            // Then
            assertNotNull(hash);
            assertEquals(16, hash.length); // MD4 produces 128-bit hash
        }
    
        @Test
        @DisplayName("Should calculate MD5 hash correctly")
        void testMD5Hash() {
            // Given
            String input = "Hello World";
            byte[] data = input.getBytes();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/Hashing.java

       *
       * @param minimumBits a positive integer. This can be arbitrarily large. The returned {@link
       *     HashFunction} instance may use memory proportional to this integer.
       * @return a hash function, described above, that produces hash codes of length {@code
       *     minimumBits} or greater
       */
      public static HashFunction goodFastHash(int minimumBits) {
        int bits = checkPositiveAndMakeMultipleOf32(minimumBits);
    
        if (bits == 32) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:06:57 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

                assertNull(nc.dc);
            }
        }
    
        @Nested
        @DisplayName("toString() Tests")
        class ToStringTests {
    
            @Test
            @DisplayName("toString with valid data produces expected format")
            void testToStringWithValidData() {
                byte[] challenge = new byte[] { (byte) 0x01, (byte) 0x02, (byte) 0x03, (byte) 0xFF };
                UniAddress dc = mock(UniAddress.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

            DirFileEntryEnumIterator2 it = new DirFileEntryEnumIterator2(tree, parent, "*", null, 0);
    
            // Assert: enumeration is empty and close produced no extra close call (no fileId opened)
            assertFalse(it.hasNext(), "Empty listing should produce no elements");
            it.close();
            // No close should be sent because directory was never successfully opened
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/spnego/NegTokenInitTest.java

            NegTokenInit parsed = new NegTokenInit(token);
            assertEquals(flags, parsed.getContextFlags(), "Context flags should parse from DER BIT STRING");
        }
    
        @Test
        @DisplayName("Sanity: toByteArray produces APPLICATION class wrapper and valid structure")
        void testToByteArrayStructureSanity() throws Exception {
            NegTokenInit init =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top