Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 2,512 for size8 (0.02 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/SimplexTransferListener.java

        /**
         * Constructor that may alter behaviour of this listener.
         *
         * @param delegate The delegate that should run on single thread.
         * @param queueSize The event queue size (default {@code 1024}).
         * @param batchMaxSize The maximum batch size delegate should receive (default {@code 500}).
         * @param blockOnLastEvent Should this listener block on last transfer end (completed or corrupted) block? (default {@code true}).
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Feb 06 11:28:05 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

          }
        };
      }
    
      @Override
      Spliterator<V> valueSpliterator() {
        return CollectSpliterators.flatMap(
            map.values().spliterator(), Collection::spliterator, Spliterator.SIZED, size());
      }
    
      /*
       * TODO(kevinb): should we copy this javadoc to each concrete class, so that
       * classes like LinkedHashMultimap that need to say something different are
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 48.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

        class ReadBytesWireFormatTests {
    
            @Test
            @DisplayName("Should read valid structure size of 4")
            void testReadBytesWireFormatValid() throws SMBProtocolDecodingException {
                byte[] buffer = new byte[1024];
                int bufferIndex = 100;
    
                // Write structure size = 4
                SMBUtil.writeInt2(4, buffer, bufferIndex);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

        /**
         * Constructor that may alter behaviour of this listener.
         *
         * @param delegate The delegate that should run on single thread.
         * @param queueSize The event queue size (default {@code 1024}).
         * @param batchMaxSize The maximum batch size delegate should receive (default {@code 500}).
         * @param blockOnLastEvent Should this listener block on last transfer end (completed or corrupted) block? (default {@code true}).
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/util/CryptoTest.java

        }
    
        @ParameterizedTest
        @ValueSource(strings = { "", "a", "short", "medium length text", "very long text that exceeds typical block sizes" })
        @DisplayName("Should handle various input sizes for hashing")
        void testHashVariousInputSizes(String input) {
            // Given
            byte[] data = input.getBytes();
    
            // When
            MessageDigest md4 = Crypto.getMD4();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

                Smb2EncryptionContext context = new Smb2EncryptionContext(1, DialectVersion.SMB311, key128, key256);
                assertNotNull(context, "Context should be created with different key sizes");
            }, "Should accept different key sizes");
        }
    
        @Test
        @DisplayName("Should be immutable after creation")
        void testImmutability() {
            // Given
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 44.1K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/Collections2.java

            sb.append(o);
          }
        }
        return sb.append(']').toString();
      }
    
      /** Returns best-effort-sized StringBuilder based on the given collection size. */
      static StringBuilder newStringBuilderForCollection(int size) {
        checkNonnegative(size, "size");
        return new StringBuilder((int) min(size * 8L, Ints.MAX_POWER_OF_TWO));
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

        @Test
        @DisplayName("Should handle different session key sizes")
        void testDeriveKeys_DifferentSessionKeySizes() {
            // Test with various session key sizes
            int[] keySizes = { 8, 16, 24, 32, 64, 128 };
            int dialect = Smb2Constants.SMB2_DIALECT_0311;
    
            for (int size : keySizes) {
                // Given
                byte[] testKey = new byte[size];
                new SecureRandom().nextBytes(testKey);
    
    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)
  9. internal/bpool/bpool.go

    type BytePoolCap struct {
    	c    chan []byte
    	w    int
    	wcap int
    }
    
    // NewBytePoolCap creates a new BytePool bounded to the given maxSize, with new
    // byte arrays sized based on width.
    func NewBytePoolCap(maxSize uint64, width int, capwidth int) (bp *BytePoolCap) {
    	if capwidth <= 0 {
    		panic("total buffer capacity must be provided")
    	}
    	if capwidth < 64 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            testSessionId = 0x123456789ABCDEF0L;
        }
    
        @Test
        @DisplayName("Should create transform header with correct size")
        void testTransformHeaderSize() {
            // When
            int headerSize = transformHeader.size();
    
            // Then
            assertEquals(52, headerSize); // SMB2 Transform Header is 52 bytes
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.7K bytes
    - Click Count (0)
Back to Top