Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 146 for 0xfeff (0.02 sec)

  1. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

                    assertTrue(value > 0, "Constant " + field.getName() + " should have positive value");
                    // Values should be within reasonable range for security flags
                    assertTrue(value <= 0xFFFF, "Constant " + field.getName() + " value seems unusually large");
                }
            }
        }
    
        /**
         * Helper method to check if a number is a power of two
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

                assertEquals((byte) 0xFF, originalFileId[0], "Original FileId should remain unchanged");
                assertArrayEquals(
                        new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF,
                                (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF },
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComWriteResponse.java

            return 0;
        }
    
        @Override
        int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
            count = readInt2(buffer, bufferIndex) & 0xFFFFL;
            return 8;
        }
    
        @Override
        int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

        }
    
        @Test
        @DisplayName("Test with maximum values")
        void testWithMaximumValues() {
            trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test", "*.*", 0xFFFF, 65535, Integer.MAX_VALUE);
    
            byte[] buffer = new byte[256];
            int written = trans2FindFirst2.writeParametersWireFormat(buffer, 0);
    
            // Verify search attributes are still masked
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

            @Test
            @DisplayName("Should handle hash algorithms with maximum value")
            void testMaximumHashAlgoValues() throws SMBProtocolDecodingException {
                int[] hashAlgos = { 0xFFFF, 0x0000, 0x7FFF };
                byte[] salt = { (byte) 0xFF, 0x00, 0x7F };
                PreauthIntegrityNegotiateContext originalContext = new PreauthIntegrityNegotiateContext(mockConfig, hashAlgos, salt);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt

        frameLength = (b1 and B1_MASK_LENGTH).toLong()
        if (frameLength == PAYLOAD_SHORT.toLong()) {
          frameLength = (source.readShort() and 0xffff).toLong() // Value is unsigned.
        } else if (frameLength == PAYLOAD_LONG.toLong()) {
          frameLength = source.readLong()
          if (frameLength < 0L) {
            throw ProtocolException(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/FileEntryTest.java

                    Arguments.of((IntGetter) FileEntry::getAttributes, 0, "no attributes"),
                    Arguments.of((IntGetter) FileEntry::getAttributes, 0xFFFF, "many attributes"),
    
                    Arguments.of((IntGetter) FileEntry::getFileIndex, -5, "negative index"),
                    Arguments.of((IntGetter) FileEntry::getFileIndex, 0, "zero index"));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

            }
    
            @ParameterizedTest
            @DisplayName("Should encode consistently with various flag values")
            @ValueSource(ints = { 0, 1, 2, 4, 16, 0xFF, 0xFFFF, 0xFFFFFF, 0x7FFFFFFF, -1 })
            void testEncodingWithVariousFlags(int flags) {
                lock = new Smb2Lock(1024L, 2048L, flags);
                int encoded = lock.encode(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt

        val version = fromSource.readByte() and 0xff
        if (version != VERSION_5) throw ProtocolException("unexpected version: $version")
    
        val command = fromSource.readByte() and 0xff
    
        val reserved = fromSource.readByte() and 0xff
        if (reserved != 0) throw ProtocolException("unexpected reserved: $reserved")
    
        val addressType = fromSource.readByte() and 0xff
        val toAddress =
          when (addressType) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            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)
            assertEquals((byte) 0xEF, dst[6]);
            assertEquals((byte) 0xCD, dst[7]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
Back to top