Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for toHexString (0.05 sec)

  1. src/test/java/jcifs/util/HexdumpTest.java

            assertEquals("00000000", Hexdump.toHexString(0, 8));
            assertEquals("000000FF", Hexdump.toHexString(255, 8));
            assertEquals("00001000", Hexdump.toHexString(4096, 8));
            assertEquals("FFFFFFFF", Hexdump.toHexString(-1, 8));
    
            // Test different sizes
            assertEquals("00", Hexdump.toHexString(0, 2));
            assertEquals("FF", Hexdump.toHexString(255, 2));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

                    + Hexdump.toHexString(desiredAccess, 4) + ",searchAttributes=0x" + Hexdump.toHexString(searchAttributes, 4)
                    + ",fileAttributes=0x" + Hexdump.toHexString(fileAttributes, 4) + ",creationTime=" + new Date(creationTime)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

                    + rootDirectoryFid + ",desiredAccess=0x" + Hexdump.toHexString(desiredAccess, 4) + ",allocationSize=" + allocationSize
                    + ",extFileAttributes=0x" + Hexdump.toHexString(extFileAttributes, 4) + ",shareAccess=0x"
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

                assertTrue(result.startsWith("NtlmChallenge[challenge=0x"));
                assertTrue(result.endsWith(",dc=SERVER123]"));
    
                // Hexdump.toHexString with size = length * 2 produces 8 uppercase hex chars
                // The hex should be "010203FF"
                assertTrue(result.contains("010203FF"));
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/collect/InternersBenchmark.java

        for (int i = 0; i < reps; i++) {
          String unused = interner.intern(Double.toHexString(Math.random()));
        }
        return reps;
      }
    
      @CanIgnoreReturnValue
      @Benchmark
      int strongInterner(int reps) {
        Interner<String> interner = Interners.newStrongInterner();
        for (int i = 0; i < reps; i++) {
          String unused = interner.intern(Double.toHexString(Math.random()));
        }
        return reps;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 19:03:19 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/Hexdump.java

         * @return a hexadecimal string representation of the entire byte array
         */
        public static String toHexString(final byte[] data) {
            return toHexString(data, 0, data.length);
        }
    
        /**
         * This is the same as {@link jcifs.util.Hexdump#toHexString(int val, int
         * size)} but provides a more practical form when trying to avoid {@link
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

                    + Hexdump.toHexString(this.desiredAccess, 4) + ",searchAttributes=0x" + Hexdump.toHexString(this.searchAttributes, 4)
                    + ",fileAttributes=0x" + Hexdump.toHexString(this.fileAttributes, 4) + ",creationTime=" + new Date(this.creationTime)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

                    + this.rootDirectoryFid + ",desiredAccess=0x" + Hexdump.toHexString(this.desiredAccess, 4) + ",allocationSize="
                    + this.allocationSize + ",extFileAttributes=0x" + Hexdump.toHexString(this.extFileAttributes, 4) + ",shareAccess=0x"
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDesc.java

            return 0;
        }
    
        @Override
        public String toString() {
            return ("NtTransQuerySecurityDesc[" + super.toString() + ",fid=0x" + Hexdump.toHexString(this.fid, 4) + ",securityInformation=0x"
                    + Hexdump.toHexString(this.securityInformation, 8) + "]");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/Pac.java

                            Hexdump.toHexString(checksum), Hexdump.toHexString(this.serverSignature.getChecksum()),
                            this.serverSignature.getType(), data.length));
                }
                if (log.isTraceEnabled()) {
                    log.trace(String.format("Checksum data %s", Hexdump.toHexString(checksumData)));
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top