Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for 27 (0.01 sec)

  1. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            // dataCount (4 bytes)
            SMBUtil.writeInt4(200, buffer, bufferIndex + 23);
    
            // dataOffset (4 bytes)
            SMBUtil.writeInt4(128, buffer, bufferIndex + 27);
    
            // dataDisplacement (4 bytes)
            SMBUtil.writeInt4(0, buffer, bufferIndex + 31);
    
            // setupCount (1 byte) + 1 reserved byte
            buffer[bufferIndex + 35] = 0x00; // setupCount = 0
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/AbstractCacheTest.java

        }
        for (int i = 0; i < 17; i++) {
          counter.recordLoadException(i);
        }
        for (int i = 0; i < 23; i++) {
          counter.recordMisses(1);
        }
        for (int i = 0; i < 27; i++) {
          counter.recordEviction();
        }
        CacheStats stats = counter.snapshot();
        int requestCount = 11 + 23;
        assertThat(stats.requestCount()).isEqualTo(requestCount);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            // Verify parameter offset (4 bytes at position 23)
            assertEquals(80, SMBUtil.readInt4(dst, 23));
    
            // Verify data count (4 bytes at position 27)
            assertEquals(150, SMBUtil.readInt4(dst, 27));
    
            // Verify data offset (4 bytes at position 31)
            assertEquals(130, SMBUtil.readInt4(dst, 31));
    
            // Verify setup count
            assertEquals(1, dst[35]);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java

                    "parameterOffset should be written correctly");
            assertEquals(smbComNtTransaction.dataCount, SmbComTransaction.readInt4(dst, 27), "dataCount should be written correctly");
            assertEquals(smbComNtTransaction.dataOffset, SmbComTransaction.readInt4(dst, 31), "dataOffset should be written correctly");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

                buffer[i] = (byte) (i + 1);
            }
    
            // Add context length (reserved) - 4 bytes
            buffer[24] = 0x00;
            buffer[25] = 0x00;
            buffer[26] = 0x00;
            buffer[27] = 0x00;
    
            // Decode
            int bytesConsumed = response.decode(buffer, 0, 28);
    
            // Verify
            assertEquals(28, bytesConsumed, "Should consume exactly 28 bytes");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/DES.java

                (byte) 19, (byte) 11, (byte) 3 };
        private static int[] totrot = { 1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28 };
    
        private static byte[] pc2 = { (byte) 13, (byte) 16, (byte) 10, (byte) 23, (byte) 0, (byte) 4, (byte) 2, (byte) 27, (byte) 14, (byte) 5,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                    final SmbComReadAndXResponse r = (SmbComReadAndXResponse) resp;
                    int off = HEADER_LENGTH;
                    /* WordCount thru dataOffset always 27 */
                    readn(in, BUF, 4 + off, 27);
                    off += 27;
                    resp.decode(BUF, 4);
                    /* EMC can send pad w/o data */
                    final int pad = r.dataOffset - off;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            // Read desired access from buffer (offset 24-27 after 8 bytes reserved)
            int readAccess = (buffer[24] & 0xFF) | ((buffer[25] & 0xFF) << 8) | ((buffer[26] & 0xFF) << 16) | ((buffer[27] & 0xFF) << 24);
            assertEquals(access, readAccess);
        }
    
        @Test
        @DisplayName("Test file attributes setter")
        void testSetFileAttributes() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            buffer[22] = 0x00;
            buffer[23] = 0x00;
    
            // TID (2 bytes)
            buffer[24] = 0x01;
            buffer[25] = 0x00;
    
            // PID (2 bytes)
            buffer[26] = 0x02;
            buffer[27] = 0x00;
    
            // UID (2 bytes)
            buffer[28] = 0x03;
            buffer[29] = 0x00;
    
            // MID (2 bytes)
            buffer[30] = 0x04;
            buffer[31] = 0x00;
    
            // Word count
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            testBuffer[22] = 0x00; // identifier authority
            testBuffer[23] = 0x00;
            testBuffer[24] = 0x00;
            testBuffer[25] = 0x00;
            testBuffer[26] = 0x00;
            testBuffer[27] = 0x05;
            SMBUtil.writeInt4(21, testBuffer, 28); // sub-authority 1
            SMBUtil.writeInt4(1000, testBuffer, 32); // sub-authority 2
            SMBUtil.writeInt4(2000, testBuffer, 36); // sub-authority 3
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top