Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 111 for 0x8008 (0.03 sec)

  1. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

                // setFileInfoClass sets the info type to SMB2_0_INFO_FILE (1)
                assertEquals(Smb2Constants.SMB2_0_INFO_FILE, buffer[66]);
                assertEquals((byte) 0x08, buffer[67]);
    
                // Verify output buffer length
                assertEquals(0x4000, SMBUtil.readInt4(buffer, 68));
    
                // Verify input buffer length
                assertEquals(50, SMBUtil.readInt4(buffer, 76));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java

            ByteBuffer bb = ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN);
            bb.putShort((short) fid);
            bb.put((byte) 0x00); // Reserved
            bb.put((byte) 0x00); // Reserved
            bb.putInt(securityInformation);
            return bb.array();
        }
    
        /**
         * Provide a range of values that are valid for the constructor.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

            String result = response.toString();
            assertNotNull(result);
            assertTrue(result.startsWith("SmbComQueryInformationResponse["));
            assertTrue(result.contains("fileAttributes=0x0000"));
            assertTrue(result.contains("lastWriteTime=" + new Date(0L)));
            assertTrue(result.contains("fileSize=0"));
            assertTrue(result.endsWith("]"));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

            assertArrayEquals(expectedDescrBytes, actualDescrBytes);
    
            // Verify level (0x0001 - 2 bytes)
            int descrEnd = 2 + expectedDescrBytes.length;
            assertEquals(0x01, dst[descrEnd]);
            assertEquals(0x00, dst[descrEnd + 1]);
    
            // Verify maxDataCount (2 bytes)
            int maxDataCount = SMBUtil.readInt2(dst, descrEnd + 2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/CharStreams.java

     * @author Bin Zhu
     * @author Colin Decker
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class CharStreams {
    
      // 2K chars (4K bytes)
      private static final int DEFAULT_BUF_SIZE = 0x800;
    
      /** Creates a new {@code CharBuffer} for buffering reads or writes. */
      static CharBuffer createBuffer() {
        return CharBuffer.allocate(DEFAULT_BUF_SIZE);
      }
    
      private CharStreams() {}
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 30 17:25:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/PercentEscaper.java

          cp >>>= 2;
          dest[2] = upperHexDigits[cp & 0xF];
          cp >>>= 4;
          dest[1] = upperHexDigits[0xC | cp];
          return dest;
        } else if (cp <= 0xffff) {
          // Three byte UTF-8 characters [cp >= 0x800 && cp <= 0xffff]
          // Start with "%E-%--%--" and fill in the blanks
          char[] dest = new char[9];
          dest[0] = '%';
          dest[1] = 'E';
          dest[3] = '%';
          dest[6] = '%';
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/SecureCredentialStorage.java

            for (char c : chars) {
                if (c < 0x80) {
                    bytes[byteIndex++] = (byte) c;
                } else if (c < 0x800) {
                    bytes[byteIndex++] = (byte) (0xC0 | (c >> 6));
                    bytes[byteIndex++] = (byte) (0x80 | (c & 0x3F));
                } else {
                    bytes[byteIndex++] = (byte) (0xE0 | (c >> 12));
                    bytes[byteIndex++] = (byte) (0x80 | ((c >> 6) & 0x3F));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

        void testConstructor() throws Exception {
            // Verify command is set correctly (SMB2_FLUSH = 0x0007)
            Field commandField = ServerMessageBlock2.class.getDeclaredField("command");
            commandField.setAccessible(true);
            int command = (int) commandField.get(request);
            assertEquals(0x0007, command); // SMB2_FLUSH value
    
            // Verify file ID is set
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/util/SMBUtilTest.java

                    (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF,
                    // 0x0000000000000000L
                    (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 };
    
            assertEquals(0x123456789ABCDEF0L, SMBUtil.readInt8(src, 0));
            assertEquals(0xFFFFFFFFFFFFFFFFL, SMBUtil.readInt8(src, 8));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/NetServerEnum2.java

            }
    
            writeInt2(subCommand & 0xFF, dst, dstIndex);
            dstIndex += 2;
            System.arraycopy(descr, 0, dst, dstIndex, descr.length);
            dstIndex += descr.length;
            writeInt2(0x0001, dst, dstIndex);
            dstIndex += 2;
            writeInt2(maxDataCount, dst, dstIndex);
            dstIndex += 2;
            writeInt4(serverTypes, dst, dstIndex);
            dstIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top