Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 349 for 0x0F (0.02 sec)

  1. src/archive/zip/reader.go

    	return nil
    }
    
    func findSignatureInBlock(b []byte) int {
    	for i := len(b) - directoryEndLen; i >= 0; i-- {
    		// defined from directoryEndSignature in struct.go
    		if b[i] == 'P' && b[i+1] == 'K' && b[i+2] == 0x05 && b[i+3] == 0x06 {
    			// n is length of comment
    			n := int(b[i+directoryEndLen-2]) | int(b[i+directoryEndLen-1])<<8
    			if n+directoryEndLen+i > len(b) {
    				// Truncated comment.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Mar 11 22:19:38 UTC 2025
    - 28.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java

     */
    public class SmbDirectNegotiateResponse {
    
        // Protocol constants
        /** SMB Direct negotiate response message type */
        public static final int NEGOTIATE_RESPONSE = 0x02;
        /** Status indicating successful negotiation */
        public static final int STATUS_SUCCESS = 0x00000000;
        /** Status indicating SMB Direct is not supported */
        public static final int STATUS_NOT_SUPPORTED = 0x00000001;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/util/HMACT64Test.java

            assertNotNull(hmac);
        }
    
        @Test
        void testEngineUpdateByte() {
            // Test engineUpdate(byte b)
            HMACT64 hmac = new HMACT64(TEST_KEY);
            hmac.engineUpdate((byte) 0x01);
            // No exception means success
        }
    
        @Test
        void testEngineUpdateByteArray() {
            // Test engineUpdate(byte[] input, int offset, int len)
            HMACT64 hmac = new HMACT64(TEST_KEY);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.kt

          this.terminalBitCount = 0 // Not read.
        }
    
        /** Construct a terminal node. */
        constructor(symbol: Int, bits: Int) {
          this.children = null
          this.symbol = symbol
          val b = bits and 0x07
          this.terminalBitCount = if (b == 0) 8 else b
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

                        return null;
                    }
                    return (long) Encdec.dec_uint64le(this.sbuf, 28);
                }
    
                if (this.sbuf[0] == (byte) 0x00 && this.sbuf[1] == (byte) 0x00 && this.sbuf[4] == (byte) 0xFF && this.sbuf[5] == (byte) 'S'
                        && this.sbuf[6] == (byte) 'M' && this.sbuf[7] == (byte) 'B') {
                    break; /* all good (SMB) */
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/UUIDTest.java

                assertEquals((byte) 0xCC, uuid.node[2]);
                assertEquals((byte) 0xDD, uuid.node[3]);
                assertEquals((byte) 0xEE, uuid.node[4]);
                assertEquals((byte) 0x00, uuid.node[5]); // Missing data defaults to 0
            }
    
            @Test
            @DisplayName("Constructor with empty node array in rpc.uuid_t should handle gracefully")
            void testConstructorWithEmptyNode() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

        }
    
        @Test
        @DisplayName("Test setCommand with various SMB command codes")
        void testSetCommandWithVariousCodes() {
            // Test common SMB command codes
            int[] commandCodes = { 0x00, 0x72, 0x73, 0x74, 0x75, 0xFF };
    
            for (int command : commandCodes) {
                doNothing().when(messageBlock).setCommand(command);
                when(messageBlock.getCommand()).thenReturn(command);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/xml/XmlEscapers.java

     *
     * @author Alex Matevossian
     * @author David Beaumont
     * @since 15.0
     */
    @GwtCompatible
    public class XmlEscapers {
      private XmlEscapers() {}
    
      private static final char MIN_ASCII_CONTROL_CHAR = 0x00;
      private static final char MAX_ASCII_CONTROL_CHAR = 0x1F;
    
      // For each xxxEscaper() method, please add links to external reference pages
      // that are considered authoritative for the behavior of that escaper.
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jun 20 17:15:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            assertTrue(n > 0);
            // Common AndX header: command at +1, reserved at +2, offset at +3/+4
            assertEquals((byte) 0xFF, buf[1], "AndX command should be 0xFF when no chaining");
            assertEquals((byte) 0x00, buf[2], "Reserved byte must be 0");
            assertEquals((byte) 0xDE, buf[3], "Sentinel low offset when no chaining");
            assertEquals((byte) 0xDE, buf[4], "Sentinel high offset when no chaining");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

                byte[] originalFileId = Smb2Constants.UNSPECIFIED_FILEID;
                byte[] copyFileId = Smb2Constants.UNSPECIFIED_FILEID.clone();
    
                // Modify the copy
                copyFileId[0] = 0x00;
    
                // Verify original is unchanged
                assertEquals((byte) 0xFF, originalFileId[0], "Original FileId should remain unchanged");
                assertArrayEquals(
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top