Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 172 for 0xffe0 (0.03 sec)

  1. src/main/java/jcifs/netbios/SessionServicePacket.java

        static int readInt2(final byte[] src, final int srcIndex) {
            return ((src[srcIndex] & 0xFF) << 8) + (src[srcIndex + 1] & 0xFF);
        }
    
        static int readInt4(final byte[] src, final int srcIndex) {
            return ((src[srcIndex] & 0xFF) << 24) + ((src[srcIndex + 1] & 0xFF) << 16) + ((src[srcIndex + 2] & 0xFF) << 8)
                    + (src[srcIndex + 3] & 0xFF);
        }
    
        static int readLength(final byte[] src, int srcIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/config/BaseConfigurationTest.java

            assertFalse(config.isForceExtendedSecurity());
        }
    
        @Test
        @DisplayName("Test buffer configuration getters")
        void testBufferConfigurationGetters() {
            assertEquals(0xFFFF - 512, config.getTransactionBufferSize());
            assertEquals(0x10000, config.getMaximumBufferSize());
            assertEquals(16, config.getBufferCacheSize());
            assertEquals(200, config.getListCount());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. 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)
  4. src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java

            // Verify the size field (first 4 bytes)
            assertEquals(48, (value[0] & 0xFF) | ((value[1] & 0xFF) << 8) | ((value[2] & 0xFF) << 16) | ((value[3] & 0xFF) << 24));
            // Verify the zero field (next 4 bytes)
            assertEquals(0, (value[4] & 0xFF) | ((value[5] & 0xFF) << 8) | ((value[6] & 0xFF) << 16) | ((value[7] & 0xFF) << 24));
    
            // Verify customData part
            byte[] actualCustomData = new byte[8];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

            // fid 0x1234, lastWriteTime 0 -> UTime all 0xFF
            return Stream.of(Arguments.of(0x1234, 0L, new byte[] { 0x34, 0x12, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF }),
                    // negative fid wraps around, lastWriteTime = 1000 -> 1 second -> int value 1
                    Arguments.of(-1, 1000L, new byte[] { (byte) 0xFF, (byte) 0xFF, 0x01, 0x00, 0x00, 0x00 }));
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/PacMac.java

            int mshigh = msbit >>> 3, mslow = msbit & 7;
            int b = c + (out[i % olen] & 0xff)
                    + (((data[(ilen - 1 - mshigh) % ilen] & 0xff) << 8 | data[(ilen - mshigh) % ilen] & 0xff) >>> mslow + 1 & 0xff);
            out[i % olen] = (byte) (b & 0xff);
            return b >>>= 8;
        }
    
        private static int lcm(int u, int v) {
            int a = u, b = v, c;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/DES.java

            key8[0] = (byte) (key7[0] >> 1 & 0xff);
            key8[1] = (byte) (((key7[0] & 0x01) << 6 | (key7[1] & 0xff) >> 2 & 0xff) & 0xff);
            key8[2] = (byte) (((key7[1] & 0x03) << 5 | (key7[2] & 0xff) >> 3 & 0xff) & 0xff);
            key8[3] = (byte) (((key7[2] & 0x07) << 4 | (key7[3] & 0xff) >> 4 & 0xff) & 0xff);
            key8[4] = (byte) (((key7[3] & 0x0F) << 3 | (key7[4] & 0xff) >> 5 & 0xff) & 0xff);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

                NdrShort ndrShort = new NdrShort(inputValue);
    
                // Then: Value should be masked with 0xFF (lower 8 bits)
                assertEquals(inputValue & 0xFF, ndrShort.value, "Constructor should mask value with 0xFF");
            }
    
            @Test
            @DisplayName("Should handle zero value correctly")
            void testConstructorZero() {
                // Given/When: Creating NdrShort with zero
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/SipHashFunction.java

          for (int i = 0; buffer.hasRemaining(); i += 8) {
            finalM ^= (buffer.get() & 0xFFL) << i;
          }
        }
    
        @Override
        protected HashCode makeHash() {
          // End with a byte encoding the positive integer b mod 256.
          finalM ^= b << 56;
          processM(finalM);
    
          // Finalization
          v2 ^= 0xFFL;
          sipRound(d);
          return HashCode.fromLong(v0 ^ v1 ^ v2 ^ v3);
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java

        }
    
        @Test
        @DisplayName("Test default buffer size constant")
        void testBufferSizeConstant() {
            assertEquals(0xFFFF, SmbComTransaction.TRANSACTION_BUF_SIZE, "TRANSACTION_BUF_SIZE should be 0xFFFF");
        }
    
        @Test
        @DisplayName("Test transaction subcommand constants")
        void testSubcommandConstants() {
            // Test Trans2 subcommands
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top