Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 961 for dsbyte (0.05 seconds)

  1. src/main/java/jcifs/smb1/util/DES.java

                (byte) 26, (byte) 18, (byte) 10, (byte) 2, (byte) 59, (byte) 51, (byte) 43, (byte) 35, (byte) 62, (byte) 54, (byte) 46,
                (byte) 38, (byte) 30, (byte) 22, (byte) 14, (byte) 6, (byte) 61, (byte) 53, (byte) 45, (byte) 37, (byte) 29, (byte) 21,
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/util/HMACT64Test.java

            // instead of being hashed when it exceeds the block size.
    
            byte[] key = { (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b,
                    (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b };
            byte[] data = "Hi There".getBytes();
    
            // Calculate expected HMACT64 result manually
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            // Test multiple calls to readDataWireFormat to ensure buffer is overwritten
            byte[] firstData = "First data set".getBytes();
            byte[] secondData = "Second data set".getBytes();
            byte[] buffer1 = new byte[100];
            byte[] buffer2 = new byte[100];
    
            System.arraycopy(firstData, 0, buffer1, 0, firstData.length);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java

        }
    
        /**
         * Test constructor AvSingleHost(byte[] customData, byte[] machineId).
         * Should correctly encode custom data and machine ID.
         */
        @Test
        void testAvSingleHostCustomDataMachineIdConstructor() {
            byte[] customData = new byte[8];
            customData[0] = 0x01;
            customData[7] = 0x08;
    
            byte[] machineId = new byte[32];
            machineId[0] = 0x10;
            machineId[31] = 0x20;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SSPContextTest.java

                DummySSPContext ctx = new DummySSPContext(new byte[] { 1 }, true, null, null, 0, true);
                byte[] data = new byte[] { 1, 2, 3 };
                byte[] wrongMic = new byte[] { 0 };
                assertThrows(CIFSException.class, () -> ctx.verifyMIC(data, wrongMic));
                assertThrows(CIFSException.class, () -> ctx.verifyMIC(null, new byte[] { 0 }));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            void testEncodeWithoutSignature() {
                byte[] buffer = new byte[1024];
    
                int length = testBlock.encode(buffer, 0);
    
                assertTrue(length > 0);
                assertEquals(length, testBlock.getLength());
                // SMB_HEADER is {0xFF, 'S', 'M', 'B'}
                byte[] expectedHeader = { (byte) 0xFF, (byte) 'S', (byte) 'M', (byte) 'B' };
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 36.2K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

            // array.
            while (mid > -1 && this[mid] != '\n'.code.toByte()) {
              mid--
            }
            mid++
    
            // Now look for the ending '\n'.
            var end = 1
            while (this[mid + end] != '\n'.code.toByte()) {
              end++
            }
            val publicSuffixLength = mid + end - mid
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            byte[] fileId2 = new byte[16];
            Arrays.fill(fileId2, (byte) 0xFF);
    
            byte[] fileId3 = new byte[16];
            for (int i = 0; i < 16; i++) {
                fileId3[i] = (byte) i;
            }
    
            // When & Then for each file ID
            testFileIdWriting(fileId1);
            testFileIdWriting(fileId2);
            testFileIdWriting(fileId3);
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

            public TestCreateContextRequest(byte[] name, byte[] data) {
                this.name = name;
                this.data = data;
                this.encodedSize = (name != null ? name.length : 0) + (data != null ? data.length : 0) + 16;
            }
    
            @Override
            public byte[] getName() {
                return name;
            }
    
            @Override
            public int encode(byte[] dst, int dstIndex) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java

                    (byte) 0xCC, (byte) 0xDD, (byte) 0xEE, (byte) 0xFF, 0x00 };
    
            Smb2LeaseKey key = new Smb2LeaseKey(testBytes);
            byte[] buffer = new byte[20];
    
            key.encode(buffer, 2);
    
            for (int i = 0; i < 16; i++) {
                assertEquals(testBytes[i], buffer[i + 2]);
            }
        }
    
        @Test
        @DisplayName("Should implement equals correctly")
        void testEquals() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 6K bytes
    - Click Count (0)
Back to Top