Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 117 for aligned (4.73 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            bufferIndex += 4;
            this.server.serverTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
            int tzOffset = SMBUtil.readInt2(buffer, bufferIndex);
            // tzOffset is signed!
            if (tzOffset > Short.MAX_VALUE) {
                tzOffset = -1 * (65536 - tzOffset);
            }
            this.server.serverTimeZone = tzOffset;
            bufferIndex += 2;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                int bytesRead = response.readBytesWireFormat(buffer, 0);
    
                assertEquals(16, bytesRead);
                assertEquals(-1, response.getCount()); // -1 as signed int represents max unsigned value
                assertEquals(-2, response.getRemaining());
            }
    
            private byte[] createValidWriteResponse(int count, int remaining) {
                byte[] buffer = new byte[64];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbTransportPoolTest.java

                SmbTransport signed = transportPool.getSmbTransport(context, address, DEFAULT_PORT, false, true);
    
                // Then
                assertEquals(sharedTransport, shared);
                assertEquals(exclusiveTransport, exclusive);
                assertEquals(signedTransport, signed);
                verify(transportPool).getSmbTransport(context, address, DEFAULT_PORT, false);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java

            dstIndex += 4;
    
            // Write context name
            System.arraycopy(CONTEXT_NAME_BYTES, 0, dst, dstIndex, 4);
            dstIndex += 4;
    
            // Padding to align data to 8-byte boundary
            dstIndex += 4;
    
            // Write durable handle V2 request data (32 bytes total)
            // MS-SMB2 2.2.13.2.4 structure:
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

        @ParameterizedTest
        @CsvSource({ "1, 1", // DISK
                "2, 2", // PIPE
                "3, 3", // PRINT
                "0, 0", // Unknown
                "255, -1" // Byte overflow to signed
        })
        void testDifferentShareTypes(int shareTypeValue, int expectedValue) throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = new byte[256];
            SMBUtil.writeInt2(16, buffer, 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/GenericsUtil.java

         * Returns <code>true</code> if the raw type of <code>type</code> can be assigned to <code>clazz</code>,
         * <code>false</code> otherwise.
         *
         * @param type
         *            the type to check. Cannot be null.
         * @param clazz
         *            the class to check against. Cannot be null.
         * @return <code>true</code> if the raw type of <code>type</code> can be assigned to <code>clazz</code>
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

            // DFS alternate path offset (2 bytes)
            SMBUtil.writeInt2(0, buffer, 22);
    
            // Network address offset (2 bytes)
            SMBUtil.writeInt2(0, buffer, 24);
    
            // Padding to align string data
            buffer[26] = 0;
            buffer[27] = 0;
    
            // Add the path string at stringDataStart
            System.arraycopy(pathBytes, 0, buffer, stringDataStart, pathBytes.length);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

        }
    
        @Test
        @DisplayName("Test decode with negative values")
        void testDecodeWithNegativeValues() throws SMBProtocolDecodingException {
            // Prepare test data with negative values (when interpreted as signed)
            byte[] buffer = new byte[16];
            int bufferIndex = 0;
    
            // Set up negative values
            int namedPipeState = -1;
            int readDataAvailable = -100;
            int numberOfMessages = -200;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                assertEquals("Expected structureSize = 4", exception.getMessage());
            }
    
            @Test
            @DisplayName("Should handle signed byte value correctly")
            void testReadBytesWireFormatSignedByteValue() {
                // Given
                byte[] buffer = new byte[10];
                // Write 4 in little-endian format
                buffer[0] = 0x04;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  10. src/main/webapp/css/admin/font-awesome.min.css

    adversal:before{content:"\f36a"}.fa-affiliatetheme:before{content:"\f36b"}.fa-air-freshener:before{content:"\f5d0"}.fa-airbnb:before{content:"\f834"}.fa-algolia:before{content:"\f36c"}.fa-align-center:before{content:"\f037"}.fa-align-justify:before{content:"\f039"}.fa-align-left:before{content:"\f036"}.fa-align-right:before{content:"\f038"}.fa-alipay:before{content:"\f642"}.fa-allergies:before{content:"\f461"}.fa-amazon:before{content:"\f270"}.fa-amazon-pay:before{content:"\f42c"}.fa-ambulance:b...
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 14 21:22:25 UTC 2019
    - 55.8K bytes
    - Viewed (0)
Back to top