Skip to content

Coverage Notes

Ken Haase edited this page Jun 6, 2019 · 1 revision

For lexenv.c: Need code with gets, copies, prints, and dumps environments.

For stacks.c: Display some more backtraces

ffi.c: Use it

cprims.c: Try writing a cprim to a dtype. Remove redundant definition methods.

apply.c: stack blowouts call some primitives with weird numbers of arguments more error cases

bufio.c: buffer growing code underscore functions zlib/snappy compression functions

choices.c: kno_cleanup_choice prechoice copying, unparsing, preparing kno_init_choice no elements, copy data, etc Normalizing empty and singleton prechoices prechoice_append results in singleton qchoice copy, unparse, dtype, kno_make_qchoice kno_intersect_choices with conses? kno_containsp

cons.c: kno_register_constant _KNO_INIT_CONS and friends kno_conv_string kno_list_length kno_reverse_list (improper list) kno_cons_vector with bigalloc kno_fill_vector kno_init_code (??) kno_make_nrail packetfns, negative lengths, NULL data kno_register_immediate_type kno_bad_pointer error

compare.c: OID compare non-atomically SYMBOL compare no natural sort PRECHOICE compares compare choices, natsorted string_compare ci compare_uuid kno_get_compare_flags kno_compound_ref kno_init_compound initfn errors

consblocks.c: unparsing

copy.c: Copying static conses Copying terminals Copying packets and secrets kno_copy_vec copy_compound

fcnids.c: kno_resolve_fcnid() kno_set_fcnid kno_deregister_fcnid unparse_fcnid format_secs hours or longer

misctypes.c: uuid copy/dtype/compare/hash/restore timestamp unparsefn, parse timestamp_restore bigint to timestamp kno_make_regex kno_wrap_pointer

numbers.c: bigint_equalp bigint_compare bigint_divide bigint_quotient kno_long_to_bigint kno_bigint_to_... kno_bigint_length_in_bits bigint_equalp_unsigned bigint_multiply_unsigned bigint* copy_bigint unparse_flonum exp < -10 or exp > 20 compare_flonum make_complex unparse_complex make_rational with bigints bignum_gcd kno_pow kno_to_longlong numvecs free elements copy short/long/double numvecs unparse numvecs make float/int vecs string2number #x #d #b #o #e

oids.c: knob32 functions zero pool ops recycle_uuid recycle_timestamp recycle_rawptr recycle_compund w/freefn recycle_mystery recycle_regex/rawptr in kno_recycle_cons kno_incref_vec with static conses and deep copy

sequences.c: sequence functions on numeric vectors sequence ops with extended sequence objects unicode string position rposition generic_position vector search with ambig elements kno_make_seq with character elements kno_remove

symbols.c: kno_probe_symbol kno_fixcase_symbol

parse.c: skip_whitespace # parse {} unicode escapes parse \U unicode escapes parse slash ? and | escapes parse \x escapes constant conflict UUID parsing interpret pointers default_parse_oid parse_regex with flags parse_opaque parse_text_packet with \ escapes hex escape errors really big base64 packets copy_string recreate_record with compound_parser parse start with ) } ] symbol | escapes reader macros read records histref parsing read_arg with initial \

unparse.c: | and \ escapes output_ellipsis, max chars or max_elts unparsing unparse_packet/secret, kno_unparse_packet kno_lisp2string get_compound_tag with compound descriptor kno_unparse_arg unparse_regex unparse_uuid unparse_mystery unparse_rawptr

tables.c:

cons_sort_keyvals (slotmaps with consed keys) _kno_keyvec_get slotmap_fail _kno_slotmap_test kno_slotmap_delete slotmap_readonly kno_slotmap_max kno_slotmap_skim unparse_slotmap compare_slotmaps while comparing slots lispv_swap _kno_schemap_test kno_schemap_drop schemap_getsize schemap_modified schemap_readonly unparse_schemap hash_lisp: opaque compounds, prechoices kno_hash_bucket_insert kno_hashvec_insert kno_hashtable_get_no* restore_hashtable kno_hash_quality kno_hashtable_itervals hashtable_modified hashtable_readonly kno_fast_reset_hashtable kno_remove_deadwood kno_hashtable_stats kno_copy_hashtable kno_hashtable_keyvals kno_hashtable_set_readonly kno_make_hashset hashset_intern kno_reset_hashset hashset_modified copy_hashset hashset_test_drop unparse_hashset hahset_get hashset_store bad_table_call kno_add/drop w/store+get kno_readonlyp/set_readonlyp/finishedp/etc kno_getvalues/getassocs (non-hashtable/slotmap) hashmax/hashskim parigetsize kno_table_max/skim

Clone this wiki locally