Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 144 for toHexString (0.29 sec)

  1. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                final byte[] addr = localInetAddress.getAddress();
                localHostname =
                        "JCIFS" + (addr[2] & 0xFF) + "_" + (addr[3] & 0xFF) + "_" + Hexdump.toHexString((int) (Math.random() * 0xFF), 2);
            }
    
            /*
             * Create an NbtAddress for the local interface with
             * the name deduced above possibly with scope applied and
             * cache it forever.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformation.java

            return 0;
        }
    
        @Override
        public String toString() {
            return ("Trans2QueryPathInformation[" + super.toString() + ",informationLevel=0x" + Hexdump.toHexString(informationLevel, 3)
                    + ",filename=" + path + "]");
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/fscc/FileBasicInfo.java

                    + ",lastWriteTime=" + new Date(this.lastWriteTime) + ",changeTime=" + new Date(this.changeTime) + ",attributes=0x"
                    + Hexdump.toHexString(this.attributes, 4) + "]");
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java

            buf.reset();
            NdrHyper decoded = new NdrHyper(0);
            decoded.decode(buf);
            assertEquals(val, decoded.value, "Decoded value should match encoded value for " + Long.toHexString(val));
        }
    
        /**
         * Ensure encode throws NPE when passed a null buffer.
         */
        @Test
        @DisplayName("Encode with null buffer throws NullPointerException")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

        @Override
        public String toString() {
            return ("Smb2NegotiateResponse[" + super.toString() + ",dialectRevision=" + this.dialectRevision + ",securityMode=0x"
                    + Hexdump.toHexString(this.securityMode, 1) + ",capabilities=0x" + Hexdump.toHexString(this.capabilities, 8)
                    + ",serverTime=" + new Date(this.systemTime));
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

            LeaseEntry entry = leases.get(key);
            if (entry != null) {
                log.info("Handling lease break for {} from state 0x{} to 0x{}", key, Integer.toHexString(entry.getLeaseState()),
                        Integer.toHexString(newState));
    
                entry.setBreaking(true);
                int oldState = entry.getLeaseState();
                entry.updateState(newState);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponse.java

                        + ",lastWriteTime=" + new Date(lastWriteTime) + ",changeTime=" + new Date(changeTime) + ",attributes=0x"
                        + Hexdump.toHexString(attributes, 4) + "]");
            }
        }
    
        class SmbQueryFileStandardInfo implements Info {
            long allocationSize;
            long endOfFile;
            int numberOfLinks;
            boolean deletePending;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComDelete.java

            return 0;
        }
    
        @Override
        public String toString() {
            return ("SmbComDelete[" + super.toString() + ",searchAttributes=0x" + Hexdump.toHexString(this.searchAttributes, 4) + ",fileName="
                    + this.path + "]");
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java

            // Get private searchAttributes field to verify the hex value
            int searchAttributes = getSearchAttributes(smbComDelete);
            String expectedSearchAttributes = "searchAttributes=0x" + Hexdump.toHexString(searchAttributes, 4);
            assertTrue(result.contains(expectedSearchAttributes));
        }
    
        // Helper method to get private searchAttributes field using reflection
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImpl.java

            return bufferIndex - start;
        }
    
        @Override
        public String toString() {
            return "FileNotifyInformation[nextEntry=" + this.nextEntryOffset + ",action=0x" + Hexdump.toHexString(this.action, 4) + ",file="
                    + this.fileName + "]";
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
Back to top