Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for findTermination (0.11 sec)

  1. src/main/java/jcifs/util/Strings.java

            }
        }
    
    
        /**
         * @param buffer
         * @param bufferIndex
         * @param maxLen
         * @return position of terminating null byte
         */
        public static int findTermination ( byte[] buffer, int bufferIndex, int maxLen ) {
            int len = 0;
            while ( buffer[ bufferIndex + len ] != (byte) 0x00 ) {
                len++;
                if ( len > maxLen ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

                        this.server.oemDomainName = Strings.fromUNIBytes(buffer, bufferIndex, len);
                    }
                    else {
                        len = Strings.findTermination(buffer, bufferIndex, 256);
                        this.server.oemDomainName = Strings.fromOEMBytes(buffer, bufferIndex, len, getConfig());
                    }
                    bufferIndex += len;
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 15.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

                }
                return Strings.fromUNIBytes(src, srcIndex, Strings.findUNITermination(src, srcIndex, maxLen));
            }
    
            return Strings.fromOEMBytes(src, srcIndex, Strings.findTermination(src, srcIndex, maxLen), getConfig());
        }
    
    
        /**
         * 
         * @param src
         * @param srcIndex
         * @param srcEnd
         * @param maxLen
         * @param unicode
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 32.7K bytes
    - Viewed (0)
Back to top