Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Heckel (0.03 sec)

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

            // When
            byte[] decKey = Smb3KeyDerivation.deriveDecryptionKey(dialect, sessionKey, preauthIntegrity);
    
            // Then
            assertNotNull(decKey, "Decryption key should not be null");
            assertEquals(16, decKey.length, "Decryption key should be 16 bytes");
            assertFalse(Arrays.equals(sessionKey, decKey), "Decryption key should be different from session key");
        }
    
    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/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            try {
                int expectedKeyLength = getKeyLength();
                byte[] encKey = getEncryptionKey();
                byte[] decKey = getDecryptionKey();
    
                try {
                    boolean valid =
                            encKey != null && encKey.length == expectedKeyLength && decKey != null && decKey.length == expectedKeyLength;
                    return valid;
                } finally {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/TestByteSink.java

    import java.io.IOException;
    import java.io.OutputStream;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * A byte sink for testing that has configurable behavior.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class TestByteSink extends ByteSink implements TestStreamSupplier {
    
      private final ByteArrayOutputStream bytes = new ByteArrayOutputStream();
      private final ImmutableSet<TestOption> options;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/TestByteSource.java

    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * A byte source for testing that has configurable behavior.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public final class TestByteSource extends ByteSource implements TestStreamSupplier {
    
      private final byte[] bytes;
      private final ImmutableSet<TestOption> options;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/TestByteSource.java

    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * A byte source for testing that has configurable behavior.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public final class TestByteSource extends ByteSource implements TestStreamSupplier {
    
      private final byte[] bytes;
      private final ImmutableSet<TestOption> options;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            // Given
            byte[] encKey = new byte[16];
            byte[] decKey = new byte[16];
            new SecureRandom().nextBytes(encKey);
            new SecureRandom().nextBytes(decKey);
    
            // When using try-with-resources
            assertDoesNotThrow(() -> {
                try (Smb2EncryptionContext context = new Smb2EncryptionContext(1, DialectVersion.SMB311, encKey, decKey)) {
                    assertNotNull(context, "Context should be created");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/AbstractByteHasher.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Abstract {@link Hasher} that handles converting primitives to bytes using a scratch {@code
     * ByteBuffer} and streams all bytes to a sink to compute the hash.
     *
     * @author Colin Decker
     */
    abstract class AbstractByteHasher extends AbstractHasher {
      private @Nullable ByteBuffer scratch;
    
      /** Updates this hasher with the given byte. */
      protected abstract void update(byte b);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 12:40:17 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/CloserTest.java

    import java.util.Objects;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link Closer}.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class CloserTest extends TestCase {
    
      private TestSuppressor suppressor;
    
      @Override
      protected void setUp() throws Exception {
        suppressor = new TestSuppressor();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/eventbus/SubscriberRegistry.java

    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.CopyOnWriteArraySet;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Registry of subscribers to a single event bus.
     *
     * @author Colin Decker
     */
    final class SubscriberRegistry {
    
      /**
       * All registered subscribers, indexed by event type.
       *
       * <p>The {@link CopyOnWriteArraySet} values make it easy and relatively lightweight to get an
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/CharStreams.java

    import java.util.List;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Provides utility methods for working with character streams.
     *
     * @author Chris Nokleberg
     * @author Bin Zhu
     * @author Colin Decker
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class CharStreams {
    
      // 2K chars (4K bytes)
      private static final int DEFAULT_BUF_SIZE = 0x800;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 30 17:25:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top