Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for hexCode (0.14 sec)

  1. src/main/java/jcifs/smb1/netbios/Name.java

                return false;
            }
            n = (Name)obj;
            if( scope == null && n.scope == null ) {
                return name.equals( n.name ) && hexCode == n.hexCode;
            }
            return name.equals( n.name ) && hexCode == n.hexCode && scope.equals( n.scope );
        }
        public String toString() {
            StringBuffer sb = new StringBuffer();
            String n = name;
    
            // fix MSBROWSE name
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/NodeStatusRequest.java

        }
    
    
        @Override
        int writeBodyWireFormat ( byte[] dst, int dstIndex ) {
            int tmp = this.questionName.hexCode;
            this.questionName.hexCode = 0x00; // type has to be 0x00 for node status
            int result = writeQuestionSectionWireFormat(dst, dstIndex);
            this.questionName.hexCode = tmp;
            return result;
        }
    
    
        @Override
        int readBodyWireFormat ( byte[] src, int srcIndex ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/Name.java

                return false;
            }
            n = (Name) obj;
            if ( this.scope == null && n.scope == null ) {
                return this.name.equals(n.name) && this.hexCode == n.hexCode;
            }
            return this.name.equals(n.name) && this.hexCode == n.hexCode && this.scope.equals(n.scope);
        }
    
    
        @Override
        public String toString () {
            StringBuffer sb = new StringBuffer();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java

         */
                    if( !addrFound && queryAddress.hostName.hexCode == hexCode &&
                            ( queryAddress.hostName == NbtAddress.UNKNOWN_NAME ||
                            queryAddress.hostName.name.equals( n ))) {
        
                        if( queryAddress.hostName == NbtAddress.UNKNOWN_NAME ) {
                            queryAddress.hostName = new Name( n, hexCode, scope );
                        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NodeStatusResponse.java

                 */
                if ( !addrFound && this.queryAddress.hostName.hexCode == hexCode
                        && ( this.queryAddress.hostName.isUnknown() || this.queryAddress.hostName.name.equals(n) ) ) {
    
                    if ( this.queryAddress.hostName.isUnknown() ) {
                        this.queryAddress.hostName = new Name(this.config, n, hexCode, scope);
                    }
                    this.queryAddress.groupName = groupName;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/NodeStatusRequest.java

            isBroadcast = false;
        }
    
        int writeBodyWireFormat( byte[] dst, int dstIndex ) {
            int tmp = questionName.hexCode;
            questionName.hexCode = 0x00; // type has to be 0x00 for node status
            int result = writeQuestionSectionWireFormat( dst, dstIndex );
            questionName.hexCode = tmp;
            return result;
        }
        int readBodyWireFormat( byte[] src, int srcIndex ) {
            return 0;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/NameServiceClient.java

         * for a description of <code>type</code>
         * and <code>scope</code>.
         *
         * @param host
         *            hostname to lookup all addresses for
         * @param type
         *            the hexcode of the name
         * @param scope
         *            the scope of the name
         * @return resolved addresses
         * @throws java.net.UnknownHostException
         *             if there is an error resolving the name
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/NbtAddress.java

                NbtAddress[] addrs;
    
                try {
                    addrs = CLIENT.getNodeStatus( this );
                    if( hostName.hexCode == 0x1D ) {
                        for( int i = 0; i < addrs.length; i++ ) {
                            if( addrs[i].hostName.hexCode == 0x20 ) {
                                return addrs[i].hostName.name;
                            }
                        }
                        return null;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 30.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            return session;
        }
    
        private static final char[] hexCode = "0123456789ABCDEF".toCharArray();
    
        private static String printHexBinary(byte[] data) {
            StringBuilder r = new StringBuilder(data.length * 2);
            for (byte b : data) {
                r.append(hexCode[(b >> 4) & 0xF]);
                r.append(hexCode[(b & 0xF)]);
            }
            return r.toString();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/NbtAddress.java

                    if ( i < len && data[ i ] == '.' ) {
                        dots++;
                        i++;
                    }
                }
            }
            else {
                switch ( this.hostName.hexCode ) {
                case 0x1B:
                case 0x1C:
                case 0x1D:
                    this.calledName = SMBSERVER_NAME;
                }
            }
    
            return this.calledName;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 15.2K bytes
    - Viewed (0)
Back to top