Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 132 for positions (1.45 sec)

  1. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

            try (InputStream stream = cache.getInputStream()) {
                for (int i = 0; i < 256; i++) {
                    int byteValue = stream.read();
                    assertEquals("Byte at position " + i, i & 0xFF, byteValue);
                }
                assertEquals(-1, stream.read()); // End of stream
            }
        }
    
        @Test
        public void testStreamReadPartial() throws IOException {
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            // Fill rest with spaces (0x20)
            for (int i = nameWithSpaces.length(); i < 15; i++) {
                nameBytes[i] = 0x20;
            }
            nameBytes[15] = 0x00; // Last byte for hex code position
    
            System.arraycopy(nameBytes, 0, src, srcIndex + 1, 16);
            src[srcIndex + 16] = 0x00; // hex code
            src[srcIndex + 17] = 0x04; // active flag
    
            // MAC and stats
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                testBlock.setUseUnicode(true);
                // Test reading Unicode string with alignment
    
                byte[] buffer = new byte[100];
                // Write "Test" in UTF-16LE directly at position 2 (even offset)
                System.arraycopy(Strings.getUNIBytes("Test\0"), 0, buffer, 2, 10);
    
                String result = testBlock.readString(buffer, 2);
    
                assertEquals("Test", result);
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            byte[] data = new byte[] { 1, 2, 3, 4, 5, 6, 7, 8 };
            System.arraycopy(data, 0, ctx, 0x20, data.length);
    
            // Update base to point to the context area
            int offsetFieldPos = base.length - 8; // position of CreateContextsOffset
            SMBUtil.writeInt4(contextStartOffsetFromHeader, base, offsetFieldPos);
            SMBUtil.writeInt4(ctx.length, base, offsetFieldPos + 4);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/main/webapp/css/bootstrap.min.css

    {position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:992px){.sticky-lg-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:1200px){.sticky-xl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:1400px){.sticky-xxl-top{position:-webkit-sticky;position:...
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Jan 12 06:14:02 UTC 2025
    - 227.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            buf[33] = 4; // wordCount
            buf[34] = 0x55; // andxCommand != 0xFF
            // andxOffset arbitrarily > 0
            ServerMessageBlock.writeInt2(80, buf, 36);
            // byteCount position: 33 + 1 + 8 = 42
            ServerMessageBlock.writeInt2(0, buf, 42);
    
            assertThrows(RuntimeException.class, () -> block.decode(buf, 0));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            int written = request.writeBytesWireFormat(buffer, offset);
    
            assertEquals(24, written);
            assertEquals(24, SMBUtil.readInt2(buffer, offset));
    
            // Verify file ID at correct position
            byte[] copiedFileId = new byte[16];
            System.arraycopy(buffer, offset + 8, copiedFileId, 0, 16);
            assertArrayEquals(testFileId, copiedFileId);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            byte[] buf = new byte[bodyLen];
            SMBUtil.writeInt2(9, buf, 0); // structureSize
            buf[2] = (byte) errorContextCount; // ErrorContextCount
            // one reserved byte at position 3
            SMBUtil.writeInt4(bc, buf, 4); // ByteCount
            if (bc > 0 && errorData != null) {
                System.arraycopy(errorData, 0, buf, 8, bc);
            }
            return buf;
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/MD4.java

         *    <p>
         *    Transforms context based on 512 bits from input block starting
         *    from the offset'th byte.
         *
         *    @param    block    input sub-array.
         *    @param    offset    starting position of sub-array.
         */
        private void transform(final byte[] block, int offset) {
    
            // encodes 64 bytes from input block into an array of 16 32-bit
            // entities. Use A as a temp var.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            // Set SMB 3.1.1 dialect and 1 context
            SMBUtil.writeInt2(0x0311, buffer, 4);
            SMBUtil.writeInt2(1, buffer, 6);
            SMBUtil.writeInt4(100, buffer, 60); // Context offset
    
            // At context position, set data that extends beyond buffer
            int contextPos = 164; // 100 + 64 (header start)
            if (contextPos + 8 < buffer.length) {
                SMBUtil.writeInt2(1, buffer, contextPos); // Context type
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top