Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 246 for 0x22 (0.02 sec)

  1. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

            assertEquals(2, written, "writeParametersWireFormat should write exactly 2 bytes");
    
            // Verify little-endian encoding (0x1234 -> 0x34 0x12)
            assertEquals((byte) 0x34, buf[0], "First byte should be low byte of level");
            assertEquals((byte) 0x12, buf[1], "Second byte should be high byte of level");
        }
    
        @Test
        @DisplayName("all read* methods return zero")
        void testReadMethodsReturnZero() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/Lmhosts.java

         * @param host the hostname to resolve
         * @return the resolved NbtAddress or null if not found
         */
    
        public synchronized static NbtAddress getByName(final String host) {
            return getByName(new Name(host, 0x20, null));
        }
    
        synchronized static NbtAddress getByName(final Name name) {
            NbtAddress result = null;
    
            try {
                if (FILENAME != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

                  // 01NNNNNN
                  val index = readInt(b, PREFIX_6_BITS)
                  readLiteralHeaderWithIncrementalIndexingIndexedName(index - 1)
                }
                b and 0x20 == 0x20 -> {
                  // 001NNNNN
                  maxDynamicTableByteCount = readInt(b, PREFIX_5_BITS)
                  if (maxDynamicTableByteCount < 0 || maxDynamicTableByteCount > headerTableSizeSetting) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/LmhostsTest.java

            tableField.setAccessible(true);
            Map<Name, NbtAddress> table = (Map<Name, NbtAddress>) tableField.get(lmhosts);
    
            Name name1 = new Name(mockConfig, "HOST1", 0x20, null);
            Name name2 = new Name(mockConfig, "HOST2", 0x20, null);
    
            assertNotNull(table.get(name1));
            assertNotNull(table.get(name2));
        }
    
        @Test
        void testPopulateWithIncludeDirective() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ntlmssp/av/AvPairTest.java

    class AvPairTest {
    
        @Test
        void testConstructorAndGetters() {
            // Test with a valid type and raw data
            int type = AvPair.MsvAvTimestamp;
            byte[] raw = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            AvPair avPair = new AvPair(type, raw);
    
            assertEquals(type, avPair.getType(), "Type should match the constructor argument.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt

        } else if (codePoint == '+'.code && plusIsSpace) {
          // Encode '+' as '%2B' since we permit ' ' to be encoded as either '+' or '%20'.
          writeUtf8(if (alreadyEncoded) "+" else "%2B")
        } else if (codePoint < 0x20 ||
          codePoint == 0x7f ||
          codePoint >= 0x80 &&
          !unicodeAllowed ||
          codePoint.toChar() in encodeSet ||
          codePoint == '%'.code &&
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

         */
        public static final int SMB2_SHAREFLAG_VDO_CACHING = 0x20;
        /**
         * Share flag indicating the share is in a DFS namespace.
         */
        public static final int SMB2_SHAREFLAG_DFS = 0x1;
        /**
         * Share flag indicating the share is a DFS root.
         */
        public static final int SMB2_SHAREFLAG_DFS_ROOT = 0x2;
        /**
         * Share flag indicating that exclusive opens are restricted on this share.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

            }
    
            @Test
            @DisplayName("Directory leasing capability should be 0x20")
            void testGlobalCapDirectoryLeasing() {
                assertEquals(0x20, Smb2Constants.SMB2_GLOBAL_CAP_DIRECTORY_LEASING, "Directory leasing capability must be 0x20");
            }
    
            @Test
            @DisplayName("Encryption capability should be 0x40")
            void testGlobalCapEncryption() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

                + "abcdefghijklmnopqrstuvwxyz"
                + "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
                + "1234567890";
        assertEquals(s, xmlEscaper.escape(s));
    
        // Test ASCII control characters.
        for (char ch = 0; ch < 0x20; ch++) {
          if (ch == '\t' || ch == '\n' || ch == '\r') {
            // Only these whitespace chars are permitted in XML,
            if (shouldEscapeWhitespaceChars) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

            assertTrue((flags0 & 0x10) != 0, "flag should be set after addFlags0");
            // Calling again should combine rather than overwrite
            req.addFlags0(0x20);
            flags0 = (int) getPrivateField(req, "flags0");
            assertTrue((flags0 & 0x20) != 0, "flag should accumulate");
        }
    
        @Test
        @DisplayName("initResponse prepares a response instance")
        void initResponseCreatesResponse() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top