Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 1,693 for byte2 (0.02 sec)

  1. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                    final byte[] userSessionKey = hmac.digest();
    
                    if ((getFlags() & NTLMSSP_NEGOTIATE_KEY_EXCH) != 0) {
                        masterKey = new byte[16];
                        RANDOM.nextBytes(masterKey);
    
                        final byte[] exchangedKey = new byte[16];
                        final RC4 rc4 = new RC4(userSessionKey);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java

            }
            bufferIndex += 2;
    
            // Reserved (2 bytes)
            bufferIndex += 2;
    
            // Flags (4 bytes)
            this.flags = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            // LeaseKey (16 bytes)
            byte[] keyBytes = new byte[16];
            System.arraycopy(buffer, bufferIndex, keyBytes, 0, 16);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/PacTest.java

            byte[] emptyData = new byte[8];
    
            PACDecodingException e = assertThrows(PACDecodingException.class, () -> new Pac(emptyData, keys));
            // Any PACDecodingException is acceptable for this test
            assertNotNull(e.getMessage());
        }
    
        @Test
        void testTooSmallPac() {
            // Test that PAC smaller than 8 bytes is rejected
            byte[] smallData = new byte[4];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java

        public synchronized void reset() throws IOException {
            inputStream.reset();
        }
    
        /**
         * Skips over and discards n bytes of data from this input stream.
         *
         * @param n the number of bytes to be skipped
         * @return the actual number of bytes skipped
         * @throws IOException if an I/O error occurs
         */
        @Override
        public long skip(final long n) throws IOException {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        /**
         * SMB command to rename a file.
         */
        public static final byte SMB_COM_RENAME = (byte) 0x07;
    
        /**
         * SMB command to query file information.
         */
        public static final byte SMB_COM_QUERY_INFORMATION = (byte) 0x08;
    
        /**
         * SMB command to set file information.
         */
        public static final byte SMB_COM_SET_INFORMATION = (byte) 0x09;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java

        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            byte[] buffer = new byte[256];
            int written = trans2FindNext2.writeParametersWireFormat(buffer, 0);
    
            // Verify sid (2 bytes)
            assertEquals(TEST_SID, SMBUtil.readInt2(buffer, 0));
    
            // Verify maxItems (2 bytes)
            assertEquals(TEST_BATCH_COUNT, SMBUtil.readInt2(buffer, 2));
    
            // Verify informationLevel (2 bytes) - should be SMB_FILE_BOTH_DIRECTORY_INFO (0x104)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java

        }
    
        @Override
        public Hasher putByte(byte b) {
          stream.write(b);
          return this;
        }
    
        @Override
        public Hasher putBytes(byte[] bytes, int off, int len) {
          stream.write(bytes, off, len);
          return this;
        }
    
        @Override
        public Hasher putBytes(ByteBuffer bytes) {
          stream.write(bytes);
          return this;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/persistent/HandleGuidTest.java

            assertEquals(16, guid2.toBytes().length);
        }
    
        @Test
        public void testHandleGuidRoundTrip() {
            HandleGuid original = new HandleGuid();
            byte[] bytes = original.toBytes();
            HandleGuid reconstructed = new HandleGuid(bytes);
    
            assertEquals(original, reconstructed);
            assertEquals(original.toString(), reconstructed.toString());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

        }
    
        private byte[] createMockFileInternalInfoBuffer() {
            // Create a buffer that represents FileInternalInfo data
            // FileInternalInfo contains an 8-byte index number
            byte[] buffer = new byte[8];
    
            for (int i = 0; i < 8; i++) {
                buffer[i] = (byte) (0xFF - i);
            }
    
            return buffer;
        }
    
        private byte[] createMockBuffer(byte infoLevel) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top