Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 331 for 0x02 (0.12 sec)

  1. src/main/java/jcifs/pac/kerberos/KerberosToken.java

                }
    
                int readLow = stream.read() & 0xff;
                int readHigh = stream.read() & 0xff;
                int read = (readHigh << 8) + readLow;
                if (read != 0x01) {
                    throw new PACDecodingException("Malformed kerberos token");
                }
    
                ASN1TaggedObject mechToken = ASN1Util.as(ASN1TaggedObject.class, stream.readObject());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. doc/asm.html

    	MOVL	ptr+0(FP), AX
    	TESTL	$7, AX
    	JZ	2(PC)
    	MOVL	0, AX // crash with nil ptr deref
    	LEAL	ret_lo+4(FP), BX
    	// MOVQ (%EAX), %MM0
    	BYTE $0x0f; BYTE $0x6f; BYTE $0x00
    	// MOVQ %MM0, 0(%EBX)
    	BYTE $0x0f; BYTE $0x7f; BYTE $0x03
    	// EMMS
    	BYTE $0x0F; BYTE $0x77
    	RET
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Nov 28 19:15:27 UTC 2023
    - 36.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

            // 2 bytes for fileAttributes, 4 bytes for lastWriteTime, 4 bytes for fileSize
            byte[] buffer = new byte[20];
            // File Attributes: 0x0010 (Directory)
            buffer[0] = 0x10;
            buffer[1] = 0x00;
            // Last Write Time (UTime): A sample timestamp in milliseconds
            long sampleTimeMillis = 1672531200000L; // Represents a specific date in milliseconds
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            request = new Smb2CreateRequest(mockConfig, "test.txt");
    
            request.setSecurityFlags((byte) 0x01);
            // Verify through writeBytesWireFormat
            byte[] buffer = new byte[1024];
            request.writeBytesWireFormat(buffer, 0);
            assertEquals((byte) 0x01, buffer[2]);
        }
    
        @Test
        @DisplayName("Test oplock level setter")
        void testSetRequestedOplockLevel() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComWrite.java

            return dstIndex - start;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            dst[dstIndex] = (byte) 0x01; /* BufferFormat */
            dstIndex++;
            SMBUtil.writeInt2(this.count, dst, dstIndex); /* DataLength? */
            dstIndex += 2;
            System.arraycopy(this.b, this.off, dst, dstIndex, this.count);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

            byte[] bufferData = buf.getBuffer();
            assertEquals((byte) 0xCD, bufferData[startIndex + alignmentBytes], "Least significant byte should be first");
            assertEquals((byte) 0x00, bufferData[startIndex + alignmentBytes + 1], "Most significant byte should be second");
        }
    
        /**
         * When given a buffer with sufficient length, decode performs
         * the inverse of encode.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/Lmhosts.java

         * @return resolved name, null if not found
         */
        public synchronized NbtAddress getByName(final String host, final CIFSContext tc) {
            return getByName(new Name(tc.getConfig(), host, 0x20, null), tc);
        }
    
        synchronized NbtAddress getByName(final Name name, final CIFSContext tc) {
            NbtAddress result = null;
    
            try {
                if (tc.getConfig().getLmHostsFileName() != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/Utf8Test.java

        assertWellFormed(
            0x61, 0xc8, 0x8a, 0x63, 0xc2, 0xa2, 0x62, 0x5c, 0x75, 0x30, 0x32, 0x34, 0x42, 0x36, 0x32,
            0x75, 0x30, 0x32, 0x30, 0x61, 0x63, 0x63, 0xc2, 0xa2, 0x64, 0x65, 0xc9, 0x8b, 0x36, 0x32);
        // Not a valid string
        assertNotWellFormed(-1, 0, -1, 0);
      }
    
      public void testShardsHaveExpectedRoundTrippables() {
        // A sanity check.
        long actual = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

            // Assert
            assertEquals(10, bytesWritten, "Should write 10 bytes");
            // Check FID (little-endian)
            assertEquals(0x34, dst[0] & 0xFF);
            assertEquals(0x12, dst[1] & 0xFF);
            // Check count
            assertEquals(10, dst[2] & 0xFF);
            assertEquals(0, dst[3] & 0xFF);
            // Check offset
            assertEquals(0x78, dst[4] & 0xFF);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java

            this.domain = domain;
            this.serverTypes = serverTypes;
            this.name = "\\PIPE\\LANMAN";
    
            this.maxParameterCount = 8;
            this.maxDataCount = 16384;
            this.maxSetupCount = (byte) 0x00;
            this.setupCount = 0;
            this.timeout = 5000;
        }
    
        @Override
        public void reset(final int key, final String lastN) {
            super.reset();
            this.lastName = lastN;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top