Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 61 for Heckel (0.34 sec)

  1. guava-tests/test/com/google/common/io/TestReader.java

    import java.io.ByteArrayInputStream;
    import java.io.FilterReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * @author Colin Decker
     */
    @NullUnmarked
    public class TestReader extends FilterReader {
    
      private final TestInputStream in;
    
      public TestReader(TestOption... options) throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.4K 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/src/com/google/common/annotations/VisibleForTesting.java

     * representation will be hard to change. Instead, use <a
     * href="http://errorprone.info/bugpattern/RestrictedApi">RestrictedApiChecker</a>, which enforces
     * fine-grained visibility policies.
     *
     * @author Johannes Henkel
     */
    @GwtCompatible
    public @interface VisibleForTesting {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jan 30 22:25:16 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. android/guava-tests/test/com/google/common/io/TestCharSink.java

    import java.io.IOException;
    import java.io.OutputStreamWriter;
    import java.io.Writer;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * A char sink for testing that has configurable behavior.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class TestCharSink extends CharSink implements TestStreamSupplier {
    
      private final TestByteSink byteSink;
    
      public TestCharSink(TestOption... options) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. 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)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/GoogleHelpers.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.Multimap;
    
    /**
     * Helper methods/assertions for use with {@code com.google.common.collect} types.
     *
     * @author Colin Decker
     */
    @GwtCompatible
    final class GoogleHelpers {
    
      private GoogleHelpers() {}
    
      static void assertEmpty(Multimap<?, ?> multimap) {
        if (!multimap.isEmpty()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 1.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/FileWriteMode.java

    import com.google.common.annotations.J2ktIncompatible;
    
    /**
     * Modes for opening a file for writing. The default when mode when none is specified is to truncate
     * the file before writing.
     *
     * @author Colin Decker
     */
    @J2ktIncompatible
    @GwtIncompatible
    public enum FileWriteMode {
      /** Specifies that writes to the opened file should append to the end of the file. */
      APPEND
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top