MCPcopy Create free account

hub / github.com/Water-Melon/Melon / functions

Functions1,346 in github.com/Water-Melon/Melon

↓ 6 callersFunctiontls_test_drain_rcv
Drain rcv_* into a flat buffer and return total bytes copied. * Advances left_pos to mark consumed bytes; chain nodes that still * have unread data
t/connection.c:986
↓ 5 callersFunctioncompile_spec
src/mln_lang_vm.c:1935
↓ 5 callersFunctionelapsed_us
Helper function to calculate elapsed time in microseconds */
t/connection.c:29
↓ 5 callersFunctionemit_load_int_one
Emit LOAD_INT 1 (adds the constant to iconsts if not already present). * Used by ++/-- code generation for non-local lvalues. */
src/mln_lang_vm.c:458
↓ 5 callersFunctionmln_alloc_c
src/mln_alloc.c:440
↓ 5 callersFunctionmln_bignum_os2ip
src/mln_bignum.c:1280
↓ 5 callersFunctionmln_cron_parse_field
* Generic cron field parser. * Supports: * (wildcard), N (value), N,N (list), N-N (range), /N (step). * Range and list can be combined: 1-5,10,20-25
src/mln_cron.c:158
↓ 5 callersFunctionmln_cron_utc_adjust
Inline utc_adjust: normalize overflowed fields (second -> year) */
src/mln_cron.c:88
↓ 5 callersFunctionmln_lang_stack_withdraw
src/mln_lang.c:428
↓ 5 callersFunctionmln_tcp_conn_tls_flush_wbio
Drain everything in wbio to the network. Returns: * M_C_FINISH wbio (and pending buffer) fully empty after the call * M_C_NOTYET bytes still
src/mln_connection.c:1223
↓ 5 callersFunctionnaive_is_leap
---- naive O(n) baseline for benchmarking ---- */
t/tools.c:40
↓ 5 callersFunctionrandom_matrix_data
t/matrix.c:504
↓ 5 callersFunctiontls_test_append_mem
Append a memory buf to a connection's send queue. */
t/connection.c:964
↓ 4 callersFunctionhex2bin
t/aes.c:22
↓ 4 callersFunctionhttps_wait
Wait up to `timeout_ms` for the desired events on `fd`. Returns 0 * on a successful (or signal-interrupted) wait, -1 on poll() error * or timeout s
t/connection.c:1537
↓ 4 callersFunctionmln_bignum_extend_eulid
src/mln_bignum.c:1147
↓ 4 callersFunctionmln_conf_destroy
src/mln_conf.c:448
↓ 4 callersFunctionmln_cron_is_leap
src/mln_cron.c:25
↓ 4 callersFunctionmln_cron_utc_gt
O(1) UTC struct comparison: is a strictly later than b? */
src/mln_cron.c:77
↓ 4 callersFunctionmln_expr_val_is_true
src/mln_expr.c:99
↓ 4 callersFunctionmln_json_obj_hash
src/mln_json.c:46
↓ 4 callersFunctionmln_log_destroy
src/mln_log.c:291
↓ 4 callersFunctionmln_tcp_conn_tls_drain_socket
Read available ciphertext off the socket and push into rbio. Returns: * M_C_FINISH one or more reads succeeded (or socket would block) * M_C_C
src/mln_connection.c:1309
↓ 4 callersFunctionroundtrip_test
Helper: encode 4 packets, lose one at given index, decode and verify recovery */
t/fec.c:167
↓ 4 callersFunctionset_nonblock
t/http.c:12
↓ 4 callersFunctionslow_runtime_detected
t/thread_pool.c:44
↓ 4 callersFunctiontime_diff_us
t/file.c:28
↓ 4 callersFunctiontry_fold_int_binop
Compile-time constant folding for integer binops. * * If the last two emitted instructions are both LOAD_INT and `op` is one * of the foldable arit
src/mln_lang_vm.c:509
↓ 4 callersFunctionvalue_peek_var
For opcodes that need a peek-only view of an existing VAR slot * (e.g. ARRAY_PUT peeking at the array on top of the stack). Returns * NULL if the sl
src/mln_lang_vm.c:2819
↓ 4 callersFunctionvm_frame_grow_opstack
src/mln_lang_vm.c:2997
↓ 4 callersFunctionvm_pop_frame_with_ret
Pop FRAME_TOP, deliver `ret` per discard_ret / prev rules. * On owns_top frames, also frees the chunk and the heap prototype. */
src/mln_lang_vm.c:3146
↓ 3 callersFunction__mln_json_obj_init
src/mln_json.c:91
↓ 3 callersFunctionadd_iconst
src/mln_lang_vm.c:297
↓ 3 callersFunctionalloc_temp_slot
Allocate an anonymous scratch slot (no name → find_local_slot never * returns it) for use as a temporary save register. Returns the slot * index or
src/mln_lang_vm.c:447
↓ 3 callersFunctioncompile_block
src/mln_lang_vm.c:1117
↓ 3 callersFunctioncompile_stm_chain
src/mln_lang_vm.c:850
↓ 3 callersFunctionelapsed_ns
t/queue.c:438
↓ 3 callersFunctionhttps_deadline_expired
t/connection.c:1549
↓ 3 callersFunctioninorder_collect
t/rbtree.c:1001
↓ 3 callersFunctionloop_ctx_init
src/mln_lang_vm.c:374
↓ 3 callersFunctionmln_alloc_available_capacity
src/mln_alloc.c:741
↓ 3 callersFunctionmln_event_active_fd_process
src/mln_event.c:1372
↓ 3 callersFunctionmln_event_fd_array_set
src/mln_event.c:119
↓ 3 callersFunctionmln_event_fd_clr_set
src/mln_event.c:809
↓ 3 callersFunctionmln_event_fd_timeout_process
src/mln_event.c:1467
↓ 3 callersFunctionmln_fheap_node_init
src/mln_fheap.c:171
↓ 3 callersFunctionmln_json_reset
src/mln_json.c:1736
↓ 3 callersFunctionmln_lang_scope_pop
src/mln_lang.c:635
↓ 3 callersFunctionmln_lang_scope_push
src/mln_lang.c:605
↓ 3 callersFunctionmln_lang_vm_env_is_active
Shared env-var truthy-check: returns non-zero when 'var_name' is set to * "1", "yes", "true" or "on" (all case-insensitive). All other values — * i
src/mln_lang.c:853
↓ 3 callersFunctionmln_lang_vm_try_compile
src/mln_lang_vm.c:2472
↓ 3 callersFunctionmln_log_init
* g_log */
src/mln_log.c:106
↓ 3 callersFunctionmln_log_logger_get
src/mln_log.c:98
↓ 3 callersFunctionmln_log_pid_path
src/mln_log.c:681
↓ 3 callersFunctionmln_rbtree_node_init
src/mln_rbtree.c:314
↓ 3 callersFunctionmln_span_move
src/mln_span.c:283
↓ 3 callersFunctionnaive_is_prime
* Naive primality test for verification. */
t/prime_generator.c:14
↓ 3 callersFunctionnaive_time2utc
t/tools.c:50
↓ 3 callersFunctionnaive_utc2time
t/tools.c:76
↓ 3 callersFunctionscan_block_for_eval
src/mln_lang_vm.c:2396
↓ 3 callersFunctionscan_block_for_int_overload
src/mln_lang_vm.c:2159
↓ 3 callersFunctionscan_stm_for_eval_call
src/mln_lang_vm.c:2416
↓ 3 callersFunctionscan_stm_for_int_overload
src/mln_lang_vm.c:2174
↓ 3 callersFunctionsign_verify_case
t/rsa.c:62
↓ 3 callersFunctionstrncasecmp
src/mln_string.c:190
↓ 3 callersFunctiontest_new_free
t/md5.c:232
↓ 3 callersFunctiontls_drive_handshake_pair
Drive both ends of the handshake until both report done. The 256 * iteration cap protects against a regression that would otherwise * stall forever
t/connection.c:947
↓ 3 callersFunctionunwrap_to_locate
Phase E: walk down the binary-op nesting to reach the locate node. All * intermediate ops must be NONE (otherwise it's an expression, not an * lvalu
src/mln_lang_vm.c:804
↓ 3 callersFunctionvalue_is_truthy
Read a value's truthiness without materializing it. Mirrors * mln_lang_condition_is_true for boxed variants. */
src/mln_lang_vm.c:2800
↓ 3 callersFunctionvm_push_frame
Push a fresh frame onto ctx->vm_frame_top. * - Caller has ALREADY called scope_push (via funccall_run_compat or * ctx_new for the top level) so
src/mln_lang_vm.c:3021
↓ 2 callersFunction__tolower
src/mln_string.c:183
↓ 2 callersFunctionbase_destroy
t/thread_pool.c:156
↓ 2 callersFunctioncompile_addsub
src/mln_lang_vm.c:1535
↓ 2 callersFunctioncompile_factor
src/mln_lang_vm.c:2049
↓ 2 callersFunctioncompile_logichigh
src/mln_lang_vm.c:1449
↓ 2 callersFunctioncompile_move
src/mln_lang_vm.c:1513
↓ 2 callersFunctioncompile_muldiv
src/mln_lang_vm.c:1557
↓ 2 callersFunctioncompile_not
src/mln_lang_vm.c:1580
↓ 2 callersFunctioncompile_relativehigh
src/mln_lang_vm.c:1493
↓ 2 callersFunctioncompile_relativelow
src/mln_lang_vm.c:1475
↓ 2 callersFunctiondispatch_one
src/mln_lang_vm.c:3429
↓ 2 callersFunctionelapsed_us
t/chain.c:8
↓ 2 callersFunctionextract_args
* Helper: extract real args from expr args array. * The expr parser inserts null entries as comma separators, so f(a, b) produces * [a_val, null_sep
t/expr.c:1003
↓ 2 callersFunctionfhv_circular_list_ok
P6: circular doubly-linked list integrity */
t/fheap.c:1062
↓ 2 callersFunctionfhv_count_subtree
--- helper: count nodes in a single subtree rooted at `node` --- */
t/fheap.c:916
↓ 2 callersFunctionhttps_drive_shutdown
Best-effort graceful close. Capped at 32 iterations; poll() errors * or timeouts inside https_wait abort early so a vanished peer cannot * hang the
t/connection.c:1632
↓ 2 callersFunctionhttps_handshake
Drive the TLS handshake to completion or hard-fail on deadline. */
t/connection.c:1557
↓ 2 callersFunctionhttps_recv_message
Receive bytes and feed mln_http_parse until one message is complete. */
t/connection.c:1570
↓ 2 callersFunctionhttps_send_chain
Send a generated chain until M_C_FINISH; releases sent buffers. */
t/connection.c:1612
↓ 2 callersFunctionlc_push_break
Append a break-patch index to lc->breaks, growing the array from the * pool if the inline capacity is exhausted. Returns 0 on success. */
src/mln_lang_vm.c:386
↓ 2 callersFunctionmeasure_baseline_throughput
* Run @n items through the baseline pool with @nw workers @trials * times. Returns the median ops/s across the trials. The median is * more robust t
t/thread_pool.c:195
↓ 2 callersFunctionmedian_of
t/thread_pool.c:181
↓ 2 callersFunctionmln_alloc_shm_new
src/mln_alloc.c:28
↓ 2 callersFunctionmln_asn1_deresult_reserve
src/mln_asn1.c:43
↓ 2 callersFunctionmln_bignum_random_prime
src/mln_bignum.c:1053
↓ 2 callersFunctionmln_cron_try
* Try a candidate value and update *save to the nearest future match. * is_minute: minute field has no 'greater' flag and always advances. */
src/mln_cron.c:122
↓ 2 callersFunctionmln_event_fd_block_set
src/mln_event.c:891
↓ 2 callersFunctionmln_event_fd_nonblock_set
* tools */
src/mln_event.c:877
↓ 2 callersFunctionmln_fd_is_nonblock
src/mln_connection.c:65
↓ 2 callersFunctionmln_json_write_back
src/mln_json.c:1149
← previousnext →101–200 of 1,346, ranked by callers