| J | |
| join_str, text | |
| L | |
| lc_first, text | |
| le | |
| ljust, text | |
| log, journal | |
| lstrip, text | |
| lt | |
| M | |
| make_divisible, data_stream | |
| max, choice | |
| merge | |
| min, choice |
(STATIC) Returns a string by concatenating the strings in the given string queue, separated by the specified separator.
static function string join_str( string_q strings, string separator = "" )
(STATIC) Returns a copy of the given string with the first character lowercased and the remainder unchanged.
static function string lc_first( string s )
(VIRTUAL) Returns 1 if x is less than or equal to y.
virtual function bit le( T x, T y )
Returns 1 if this object is less than or equal to the specified pair.
function bit le( const ref this_type p )
Returns 1 if this object is less than or equal to the specified tuple.
function bit le( const ref this_type t )
(STATIC) Returns a string of the specified width with the given string left justified and padded with the specified character.
static function string ljust( string s, int width, byte fill_char = " ", bit trim_right = 0 )
(STATIC) Stores a transaction to the file specified by the log_fd using the format shown in the Example below.
static function void log( string desc, string from_unit = "journal", string to_unit = from_unit )
(STATIC) Returns a copy of the given string with leading characters removed.
static function string lstrip( string s, string chars = " \t\n" )
(VIRTUAL) Returns 1 if x is less than y.
virtual function bit lt( T x, T y )
(VIRTUAL) Returns 1 if x is less than y.
virtual function bit lt( T x, T y )
Returns 1 if this object is less than the specified pair.
function bit lt( const ref this_type p )
(VIRTUAL) Returns 1 if x is less than y.
virtual function bit lt( T x, T y )
Returns 1 if this object is less than the specified tuple.
function bit lt( const ref this_type t )
(VIRTUAL) Returns 1 if x is less than y.
virtual function bit lt( T x, T y )
(STATIC) Makes the data stream divisible by the specified number by padding data.
static function ds_type make_divisible( ds_type ds, int divisible_by = 1, pa_type padding = 0 )
(STATIC) Returns the larger item.
static function T max( T x, T y, comparator#(T) cmp = null )
(STATIC) Merges two dynamic arrays into one by alternating the elements from the two arrays.
static function da_type merge( da_type da0, da_type da1, bit truncate = 0 )
(STATIC) Merges two queues into one by alternating the elements from the two queues.
static function q_type merge( q_type q0, q_type q1, bit truncate = 0 )
(STATIC) Returns the smaller item.
static function T min( T x, T y, comparator#(T) cmp = null )