Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 290 for 0x80 (0.02 sec)

  1. src/test/java/jcifs/http/NtlmSspTest.java

            message[58] = 0;
            message[59] = 0;
    
            // Flags (NTLMSSP_NEGOTIATE_UNICODE)
            message[60] = 0x01; // NTLMSSP_NEGOTIATE_UNICODE
            message[61] = 0x00;
            message[62] = 0x00;
            message[63] = 0x00;
    
            // Add dummy LM response (24 zeros at offset 64)
            for (int i = 0; i < 24; i++) {
                message[64 + i] = 0;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

            // Then
            assertEquals(2, bytesWritten);
            assertEquals(SmbComTransaction.TRANS2_GET_DFS_REFERRAL, dst[0]);
            assertEquals((byte) 0x00, dst[1]);
        }
    
        @Test
        @DisplayName("writeSetupWireFormat should handle different buffer positions")
        void testWriteSetupWireFormatWithOffset() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

         * according to the XML 1.0 specification. Valid characters include:
         * - Tab (0x9)
         * - Line feed (0xA)
         * - Carriage return (0xD)
         * - Any character between 0x20 and 0xD7FF
         * - Any character between 0xE000 and 0xFFFD
         * - Any character between 0x10000 and 0x10FFFF
         *
         * @param in the input string to be processed
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComDeleteDirectoryTest.java

            byte[] expected = new byte[1 + dirName.length() + 1];
            expected[0] = 0x04; // buffer format
            System.arraycopy(dirName.getBytes(), 0, expected, 1, dirName.length());
            expected[dirName.length() + 1] = 0x00; // null terminator
    
            byte[] dst = new byte[100];
            int len = sdd.writeBytesWireFormat(dst, 0);
    
            assertEquals(expected.length, len);
    
            byte[] result = new byte[len];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/Name.java

        int writeWireFormat(final byte[] dst, final int dstIndex) {
            // write 0x20 in first byte
            dst[dstIndex] = 0x20;
    
            // write name
            try {
                final byte tmp[] = name.getBytes(Name.OEM_ENCODING);
                int i;
                for (i = 0; i < tmp.length; i++) {
                    dst[dstIndex + 2 * i + 1] = (byte) (((tmp[i] & 0xF0) >> 4) + 0x41);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

                }
            }
    
            assertTrue(secondBufferFormatIndex > 0, "Second buffer format byte not found");
            assertEquals((byte) 0x04, dst[secondBufferFormatIndex]);
            assertEquals((byte) 0x00, dst[secondBufferFormatIndex + 1]); // Extra null byte for Unicode alignment
        }
    
        /**
         * Test writeBytesWireFormat with empty file names
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

        }
    
        /**
         * Test constructor with a malformed ASN.1 token.
         */
        @Test
        void testConstructor_MalformedToken() {
            // 1. GIVEN
            byte[] malformedToken = new byte[] { 0x00, 0x01, 0x02, 0x03 }; // Not a valid ASN.1 sequence
            Map<Integer, KerberosKey> keys = new HashMap<>();
    
            // 2. WHEN & 3. THEN
            PACDecodingException exception = assertThrows(PACDecodingException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageDeflater.kt

          deflatedBytes.readAndWriteUnsafe().use { cursor ->
            cursor.resizeBuffer(newSize)
          }
        } else {
          // Same as adding EMPTY_DEFLATE_BLOCK and then removing 4 bytes.
          deflatedBytes.writeByte(0x00)
        }
    
        buffer.write(deflatedBytes, deflatedBytes.size)
      }
    
      @Throws(IOException::class)
      override fun close() = deflaterSink.close()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

            // Assert
            assertNotNull(trans);
            assertEquals(0, trans.maxParameterCount);
            assertEquals(0xFFFF, trans.maxDataCount);
            assertEquals(0x00, trans.maxSetupCount);
            assertEquals(2, trans.setupCount);
            assertEquals("\\PIPE\\", trans.name);
        }
    
        @Test
        @DisplayName("Test writeSetupWireFormat writes correct data")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/StringsTest.java

                System.arraycopy(stringBytes, 0, bufferWithTermination, 0, stringBytes.length);
                bufferWithTermination[stringBytes.length] = 0x00;
                bufferWithTermination[stringBytes.length + 1] = 0x00;
    
                // When
                int terminationPos = Strings.findUNITermination(bufferWithTermination, 0, bufferWithTermination.length);
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top