Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 6,880 for fill (0.02 sec)

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

                byte[] buffer = new byte[10];
                int bufferIndex = 0;
    
                // Write structure size = 4
                SMBUtil.writeInt2(4, buffer, bufferIndex);
    
                // Fill rest of buffer with garbage
                for (int i = 2; i < buffer.length; i++) {
                    buffer[i] = (byte) 0xFF;
                }
    
                // Should only read the structure size (2 bytes) and not go beyond
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

            void testConstructor_ByteArray_InvalidSignature() {
                // Given
                byte[] invalidSignature = new byte[100];
                Arrays.fill(invalidSignature, (byte) 0xFF); // Fill with non-NTLMSSP signature
    
                // When & Then
                IOException thrown = assertThrows(IOException.class, () -> new Type2Message(invalidSignature));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        assertThat(removalListener.getCount()).isEqualTo(1);
    
        // 2 will be cached
        assertThat(cache.getUnchecked(2)).isEqualTo(2);
        assertThat(cache.asMap().keySet()).containsExactly(2);
    
        CacheTesting.processPendingNotifications(cache);
        CacheTesting.checkValidState(cache);
        assertThat(removalListener.getCount()).isEqualTo(1);
    
        // 4 will be cached
        assertThat(cache.getUnchecked(4)).isEqualTo(4);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 15K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

        @DisplayName("Test decode reads correct number of bytes")
        void testDecodeReadsCorrectBytes() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = new byte[22];
    
            // Fill with pattern to verify we read correct bytes
            for (int i = 0; i < buffer.length; i++) {
                buffer[i] = (byte) (i + 1);
            }
    
            // Decode
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. lib/wasm/wasm_exec.js

    				NaN,
    				0,
    				null,
    				true,
    				false,
    				globalThis,
    				this,
    			];
    			this._goRefCounts = new Array(this._values.length).fill(Infinity); // number of references that Go has to a JS value, indexed by reference id
    			this._ids = new Map([ // mapping from JS values to reference ids
    				[0, 1],
    				[null, 2],
    				[true, 3],
    				[false, 4],
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Sun Dec 08 15:34:47 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        char[][] arrays = new char[arraysDim1][];
        // it's shared to avoid using too much memory in tests
        char[] sharedArray = new char[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Chars.concat(arrays);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      @GwtIncompatible // Chars.fromByteArray
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  7. docs/smb3-features/05-rdma-smb-direct-design.md

        
        SmbFile file = new SmbFile("smb://server/share/largefile.dat", context);
        
        // Measure RDMA transfer performance
        byte[] data = new byte[10485760];  // 10MB
        Arrays.fill(data, (byte)0x42);
        
        long start = System.currentTimeMillis();
        
        try (OutputStream os = file.getOutputStream()) {
            os.write(data);
        }
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        // in a recursive loop.  Sneaky.
        if (level == stimuli.length) {
          // We've filled the array.
          compareResultsForThisListOfStimuli();
        } else {
          // Keep recursing to fill the array.
          for (Stimulus<E, ? super I> stimulus : getStimulusValues()) {
            stimuli[level] = stimulus;
            recurse(level + 1);
          }
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                } else {
                    // NTLM2 Session Response
    
                    final byte[] clientChallenge = new byte[24];
                    RANDOM.nextBytes(clientChallenge);
                    java.util.Arrays.fill(clientChallenge, 8, 24, (byte) 0x00);
    
                    // NTLMv1 w/ NTLM2 session sec and key exch all been verified with a debug build of smbclient
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        double[][] arrays = new double[arraysDim1][];
        // it's shared to avoid using too much memory in tests
        double[] sharedArray = new double[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Doubles.concat(arrays);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testEnsureCapacity() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
Back to top