Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for toHexString (0.07 sec)

  1. src/main/java/jcifs/smb/NtlmContext.java

                log.debug("Sign key is " + Hexdump.toHexString(this.signKey));
                log.debug("Verify key is " + Hexdump.toHexString(this.verifyKey));
            }
    
            this.sealClientKey = deriveKey(mk, C2S_SEAL_CONSTANT);
            this.sealClientHandle = Crypto.getArcfour(this.sealClientKey);
            if (log.isDebugEnabled()) {
                log.debug("Seal key is " + Hexdump.toHexString(this.sealClientKey));
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/util/HexdumpTest.java

            // Test zero
            assertEquals("00000000", Hexdump.toHexString(0, 8));
            assertEquals("0000", Hexdump.toHexString(0, 4));
            assertEquals("00", Hexdump.toHexString(0, 2));
    
            // Test positive values
            assertEquals("000000FF", Hexdump.toHexString(255, 8));
            assertEquals("00FF", Hexdump.toHexString(255, 4));
            assertEquals("FF", Hexdump.toHexString(255, 2));
    
            // Test larger values
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            String str = notifyChange.toString();
            assertTrue(str.contains("NtTransNotifyChange"));
            assertTrue(str.contains("fid=0x" + Hexdump.toHexString(fid, 4)));
            assertTrue(str.contains("filter=0x" + Hexdump.toHexString(completionFilter, 4)));
            assertTrue(str.contains("watchTree=" + watchTree));
        }
    
        @Test
        @DisplayName("Test constructor with watchTree enabled")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

                    if (log.isDebugEnabled()) {
                        log.debug("signature verification failure"); //$NON-NLS-1$
                        log.debug("Expect: " + Hexdump.toHexString(signature, 0, 8));
                        log.debug("Have: " + Hexdump.toHexString(data, offset + SmbConstants.SIGNATURE_OFFSET, 8));
                    }
                    return true;
                }
            }
    
            return false;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

                    + ",maxBufferSize=" + this.server.maxBufferSize + ",maxRawSize=" + this.server.maxRawSize + ",sessionKey=0x"
                    + Hexdump.toHexString(this.server.sessKey, 8) + ",capabilities=0x" + Hexdump.toHexString(this.server.scapabilities, 8)
                    + ",serverTime=" + new Date(this.server.serverTime) + ",serverTimeZone=" + this.server.serverTimeZone
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            // Test toString contains the expected values to verify field initialization
            String str = querySecurityDesc.toString();
            assertTrue(str.contains("fid=0x" + Hexdump.toHexString(fid, 4)));
            assertTrue(str.contains("securityInformation=0x" + Hexdump.toHexString(securityInfo, 8)));
        }
    
        @Test
        @DisplayName("Test constructor with different security information flags")
        void testConstructorWithDifferentSecurityFlags() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt

          else -> {
            throw ProtocolException("Unknown control opcode: " + opcode.toHexString())
          }
        }
      }
    
      @Throws(IOException::class)
      private fun readMessageFrame() {
        val opcode = this.opcode
        if (opcode != OPCODE_TEXT && opcode != OPCODE_BINARY) {
          throw ProtocolException("Unknown opcode: ${opcode.toHexString()}")
        }
    
        readMessage()
    
        if (readingCompressedMessage) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

            case ACT_ERR -> "ACT_ERR";
            case CFT_ERR -> "CFT_ERR";
            default -> "0x" + Hexdump.toHexString(resultCode, 1);
            };
            questionTypeString = switch (questionType) {
            case NB -> "NB";
            case NBSTAT -> "NBSTAT";
            default -> "0x" + Hexdump.toHexString(questionType, 4);
            };
            recordTypeString = switch (recordType) {
            case A -> "A";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/NameServicePacket.java

            case ACT_ERR -> "ACT_ERR";
            case CFT_ERR -> "CFT_ERR";
            default -> "0x" + Hexdump.toHexString(this.resultCode, 1);
            };
            questionTypeString = switch (this.questionType) {
            case NB -> "NB";
            case NBSTAT -> "NBSTAT";
            default -> "0x" + Hexdump.toHexString(this.questionType, 4);
            };
            recordTypeString = switch (this.recordType) {
            case A -> "A";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

      try {
        close()
      } catch (rethrown: RuntimeException) {
        throw rethrown
      } catch (_: Exception) {
      }
    }
    
    internal fun Long.toHexString(): String = java.lang.Long.toHexString(this)
    
    internal fun Int.toHexString(): String = Integer.toHexString(this)
    
    internal fun <T> readFieldOrNull(
      instance: Any,
      fieldType: Class<T>,
      fieldName: String,
    ): T? {
      var c: Class<*> = instance.javaClass
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (1)
Back to top