Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 761 for 16 (0.01 sec)

  1. src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java

            MockitoAnnotations.openMocks(this);
            reconnector = new HandleReconnector(mockManager, 2, 50); // 2 retries, 50ms delay
    
            HandleGuid guid = new HandleGuid();
            byte[] fileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                fileId[i] = (byte) (i + 1);
            }
    
            testHandle = new HandleInfo("/test/file.txt", guid, fileId, HandleType.DURABLE_V2, 120000, null);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/rdma/Smb2RdmaTransform.java

         *
         * @return buffer length
         */
        public int getLength() {
            return length;
        }
    
        /**
         * Get size of this structure
         *
         * @return size in bytes (16)
         */
        public static int size() {
            return 16; // 8 + 4 + 4
        }
    
        /**
         * Encode this structure to byte array
         *
         * @param dst destination buffer
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            void testSize8NoAlignment() {
                assertEquals(8, ServerMessageBlock2.size8(8));
                assertEquals(16, ServerMessageBlock2.size8(9));
                assertEquals(16, ServerMessageBlock2.size8(15));
                assertEquals(16, ServerMessageBlock2.size8(16));
                assertEquals(24, ServerMessageBlock2.size8(17));
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  4. CHANGELOG/README.md

    - [CHANGELOG-1.10.md](./CHANGELOG-1.10.md)
    - [CHANGELOG-1.9.md](./CHANGELOG-1.9.md)
    - [CHANGELOG-1.8.md](./CHANGELOG-1.8.md)
    - [CHANGELOG-1.7.md](./CHANGELOG-1.7.md)
    - [CHANGELOG-1.6.md](./CHANGELOG-1.6.md)
    - [CHANGELOG-1.5.md](./CHANGELOG-1.5.md)
    - [CHANGELOG-1.4.md](./CHANGELOG-1.4.md)
    - [CHANGELOG-1.3.md](./CHANGELOG-1.3.md)
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Wed Oct 08 14:22:30 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/ParseRequest.java

        char firstChar = stringValue.charAt(0);
        if (stringValue.startsWith("0x") || stringValue.startsWith("0X")) {
          rawValue = stringValue.substring(2);
          radix = 16;
        } else if (firstChar == '#') {
          rawValue = stringValue.substring(1);
          radix = 16;
        } else if (firstChar == '0' && stringValue.length() > 1) {
          rawValue = stringValue.substring(1);
          radix = 8;
        } else {
          rawValue = stringValue;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            case CIPHER_AES_128_CCM, CIPHER_AES_128_GCM -> 16; // AES-128 ciphers use 16-byte keys
            case CIPHER_AES_256_CCM, CIPHER_AES_256_GCM -> 32; // AES-256 ciphers use 32-byte keys
            default -> throw new IllegalArgumentException("Unsupported cipher: " + this.cipherId);
            };
        }
    
        private int getAuthTagLength() {
            return 16; // All SMB3 ciphers use 16-byte authentication tags
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                byte[] buffer = new byte[100];
                when(request.encode(any(byte[].class), anyInt())).thenReturn(16);
    
                int result = request.encode(buffer, 0);
                assertEquals(16, result);
                verify(request, times(1)).encode(buffer, 0);
            }
    
            @Test
            @DisplayName("size() method should return correct size")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakNotification.java

            this.flags = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            // LeaseKey (16 bytes)
            byte[] keyBytes = new byte[16];
            System.arraycopy(buffer, bufferIndex, keyBytes, 0, 16);
            this.leaseKey = new Smb2LeaseKey(keyBytes);
            bufferIndex += 16;
    
            // CurrentLeaseState (4 bytes)
            this.currentLeaseState = SMBUtil.readInt4(buffer, bufferIndex);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

        private byte[] testMachineId = new byte[16];
        private byte[] testSalt = new byte[32];
    
        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
            mockContext = mock(CIFSContext.class);
            mockRandom = mock(SecureRandom.class);
    
            // Initialize test data
            for (int i = 0; i < 16; i++) {
                testMachineId[i] = (byte) (i + 1);
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/Encdec.java

            dst[di] = (byte) (i >> 24 & 0xFF);
            di++;
            dst[di++] = (byte) (i >> 16 & 0xFF);
            dst[di++] = (byte) (i >> 8 & 0xFF);
            dst[di] = (byte) (i & 0xFF);
            return 4;
        }
    
        /**
         * Encodes a 16-bit unsigned integer in little-endian byte order.
         *
         * @param s the short value to encode
         * @param dst the destination byte array
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.4K bytes
    - Viewed (0)
Back to top