Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 143 for 0x1fff (0.03 sec)

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

            assertEquals((byte) 0x12, dst[1]);
    
            // LIST_COUNT (2 bytes, LE)
            int listCount = Trans2FindFirst2.LIST_COUNT;
            assertEquals((byte) (listCount & 0xFF), dst[2]);
            assertEquals((byte) ((listCount >> 8) & 0xFF), dst[3]);
    
            // informationLevel (2 bytes, LE) -> 0x0104
            assertEquals((byte) 0x04, dst[4]);
            assertEquals((byte) 0x01, dst[5]);
    
            // resumeKey (4 bytes, LE)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            String str = info.toString();
            assertTrue(str.contains(specialName));
            assertTrue(str.contains(specialRemark));
        }
    
        @Test
        @DisplayName("Test type masking with 0xFFFF")
        void testTypeMasking() {
            // Test that only lower 16 bits are considered for type determination
            int typeWithUpperBits = 0xFFFF0001; // Should be treated as type 1 (printer)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

         */
        public void enc_ndr_small(final int s) {
            buf[index] = (byte) (s & 0xFF);
            advance(1);
        }
    
        /**
         * Decodes a small integer (1 byte) from NDR format.
         *
         * @return the decoded small integer value
         */
        public int dec_ndr_small() {
            final int val = buf[index] & 0xFF;
            advance(1);
            return val;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/Punycode.kt

                if (c.isLowSurrogate() || !low.isLowSurrogate()) {
                  '?'.code
                } else {
                  i++
                  0x010000 + (c.code and 0x03ff shl 10 or (low.code and 0x03ff))
                }
              }
    
              else -> c.code
            }
          i++
        }
        return result
      }
    
      private val Int.punycodeDigit: Int
        get() =
          when {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/arm64error.s

    	SUBS	$0xffff0, R6, RSP                                // ERROR "illegal destination register"
    	SUBS	$0x1000100010001000, R6, RSP                     // ERROR "illegal destination register"
    	SUBS	$0x10001000100011, R6, RSP                       // ERROR "illegal destination register"
    	SUBSW	$0xff, R6, RSP                                   // ERROR "illegal destination register"
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Mar 26 10:48:50 UTC 2025
    - 37.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                // Given
                byte[] buffer = new byte[60];
                SMBUtil.writeInt2(60, buffer, 0);
                SMBUtil.writeInt2(0xFFFF, buffer, 2); // Max flags
                SMBUtil.writeInt4(0xFFFFFFFF, buffer, 4); // Max reserved (ignored)
                SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 8); // Max times
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                jcifs.internal.smb1.com.SmbComReadAndX req = cap.getValue();
                assertEquals(0x12345 & 0xFFFF, req.getMaxCount(), "maxCount should contain lower 16 bits");
                assertEquals(0x12345, req.getMinCount(), "minCount should remain original full value");
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/dtyp/ACETest.java

            testBuffer[0] = (byte) 0xFF; // Non-zero = Deny
            testBuffer[1] = (byte) 0xFF; // All flags
            testBuffer[2] = (byte) 0xFF; // Size low byte
            testBuffer[3] = (byte) 0xFF; // Size high byte
            testBuffer[4] = (byte) 0xFF; // Access mask all bits
            testBuffer[5] = (byte) 0xFF;
            testBuffer[6] = (byte) 0xFF;
            testBuffer[7] = (byte) 0xFF;
    
            // Add minimal SID data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/PacDataInputStream.java

         * @return the unsigned short value as an integer
         * @throws IOException if an I/O error occurs
         */
        public int readUnsignedShort() throws IOException {
            return readShort() & 0xffff;
        }
    
        /**
         * Reads a Windows FILETIME value and converts it to a Date.
         * @return the Date object, or null if the time represents infinity
         * @throws IOException if an I/O error occurs
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

          h ^= fingerprint(buf, bufLen);
          h = remix(h);
          buf[bufLen++] = getChar(h);
    
          int x0 = buf[bufLen - 1] & 0xff;
          int x1 = buf[bufLen - 2] & 0xff;
          int x2 = buf[bufLen - 3] & 0xff;
          int x3 = buf[bufLen / 2] & 0xff;
          buf[((x0 << 16) + (x1 << 8) + x2) % bufLen] ^= x3;
          buf[((x1 << 16) + (x2 << 8) + x3) % bufLen] ^= i % 256;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
Back to top