Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,114 for 0bytes (0.05 sec)

  1. src/main/java/jcifs/util/SecureKeyManager.java

                // Wipe input
                Arrays.fill(input, (byte) 0);
            }
    
            return derived;
        }
    
        /**
         * Generate a random key
         *
         * @param length key length in bytes
         * @return random key bytes
         */
        public byte[] generateRandomKey(int length) {
            checkNotClosed();
    
            byte[] key = new byte[length];
            secureRandom.nextBytes(key);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  2. cmd/os_unix.go

    // By default at least 128 entries in single getdents call (1MiB buffer)
    var (
    	direntPool = bpool.Pool[*[]byte]{
    		New: func() *[]byte {
    			buf := make([]byte, blockSize*128)
    			return &buf
    		},
    	}
    
    	direntNamePool = bpool.Pool[*[]byte]{
    		New: func() *[]byte {
    			buf := make([]byte, blockSize)
    			return &buf
    		},
    	}
    )
    
    // unexpectedFileMode is a sentinel (and bogus) os.FileMode
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java

        private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes();
        private static final int STRUCTURE_SIZE = 16;
    
        private byte[] fileId; // 16-byte file ID from previous open
    
        /**
         * Create a new durable handle reconnect context
         * @param fileId the 16-byte file ID from the previous open
         */
        public DurableHandleReconnect(byte[] fileId) {
            if (fileId.length != 16) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/FilesTest.java

      }
    
      public void testMap_readWrite() throws IOException {
        // Test data
        int size = 1024;
        byte[] expectedBytes = new byte[size];
        byte[] bytes = newPreFilledByteArray(1024);
    
        // Setup
        File file = createTempFile();
        Files.write(bytes, file);
    
        Random random = new Random();
        random.nextBytes(expectedBytes);
    
        // Test
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

            // Encode input parameters for WitnessAsyncNotify
    
            // Context handle (20 bytes)
            if (contextHandle != null) {
                buf.writeOctetArray(contextHandle, 0, Math.min(contextHandle.length, 20));
                // Pad with zeros if context handle is shorter than 20 bytes
                for (int i = contextHandle.length; i < 20; i++) {
                    buf.enc_ndr_small(0);
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  6. cmd/encryption-v1.go

    	// SSECustomerKeySize is the size of valid client provided encryption keys in bytes.
    	// Currently AWS supports only AES256. So the SSE-C key size is fixed to 32 bytes.
    	SSECustomerKeySize = 32
    
    	// SSEIVSize is the size of the IV data
    	SSEIVSize = 32 // 32 bytes
    
    	// SSEDAREPackageBlockSize - SSE dare package block size.
    	SSEDAREPackageBlockSize = 64 * 1024 // 64KiB bytes
    
    	// SSEDAREPackageMetaSize - SSE dare package meta padding bytes.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            securityDescriptorBytes[22] = 8; // ACL size (low byte)
            securityDescriptorBytes[23] = 0; // ACL size (high byte)
            securityDescriptorBytes[24] = 0; // ACE count (low byte) - 0 ACEs
            securityDescriptorBytes[25] = 0; // ACE count (high byte)
            securityDescriptorBytes[26] = 0; // sbz2 (low byte)
            securityDescriptorBytes[27] = 0; // sbz2 (high byte)
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/Hashing.java

          }
        }
    
        @Override
        HashCode makeHash(Hasher[] hashers) {
          byte[] bytes = new byte[bits() / 8];
          int i = 0;
          for (Hasher hasher : hashers) {
            HashCode newHash = hasher.hash();
            i += newHash.writeBytesTo(bytes, i, newHash.bits() / 8);
          }
          return HashCode.fromBytesNoCopy(bytes);
        }
    
        @Override
        public int bits() {
          int bitSum = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            assertEquals((byte) 0xEF, buffer[0]); // Little-endian
            assertEquals((byte) 0xCD, buffer[1]);
            assertEquals((byte) 0xAB, buffer[2]);
            assertEquals((byte) 0x89, buffer[3]);
            assertEquals((byte) 0x67, buffer[4]);
            assertEquals((byte) 0x45, buffer[5]);
            assertEquals((byte) 0x23, buffer[6]);
            assertEquals((byte) 0x01, buffer[7]);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            doNothing().when(raf).write(any(byte[].class), anyInt(), anyInt());
    
            raf.writeBytes("hi");
            raf.writeChars("yo");
    
            verify(raf).write(any(byte[].class), eq(0), eq(2)); // bytes
            verify(raf).write(any(byte[].class), eq(0), eq(4)); // chars
        }
    
        @Test
        @DisplayName("writeUTF(): prefixes size and writes encoded bytes")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top