Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Ottrlang/otterlang
/ functions
Functions
1,790 in github.com/Ottrlang/otterlang
⨍
Functions
1,790
◇
Types & classes
327
↓ 7 callers
Method
rewrite_nested_block
(&mut self, block: &Node<Block>)
crates/otterc_jit/src/optimization/inliner.rs:862
↓ 7 callers
Method
spawn
(&mut self, task: Task)
crates/otterc_jit/src/concurrency/scheduler.rs:38
↓ 6 callers
Method
adjust_thread_count
(&self, target_count: usize)
crates/otterc_jit/src/concurrency/thread_pool.rs:66
↓ 6 callers
Method
basic_type
(&self, ty: OtterType)
crates/otterc_codegen/src/llvm/compiler/expr.rs:1558
↓ 6 callers
Function
cleanup_task_local_storage
Remove task-local storage for a task.
crates/otterc_runtime/src/task/tls.rs:144
↓ 6 callers
Method
collect_captured_names
( &self, expr: &Expr, ctx: &FunctionContext<'ctx>, captures: &mut BTreeSet<Str
crates/otterc_codegen/src/llvm/compiler/expr.rs:208
↓ 6 callers
Method
collect_metadata_in_expr
( &self, expr: &Node<Expr>, spans: &mut Vec<Span>, expr_ids: &mut Vec<usize>,
crates/otterc_typecheck/src/checker.rs:389
↓ 6 callers
Function
collect_references_from_expr
Collect references from an expression
src/lsp/mod.rs:1156
↓ 6 callers
Function
decode_value_kind
(encoded: u64)
crates/otterc_runtime/src/stdlib/builtins.rs:109
↓ 6 callers
Function
encode_runtime_value
(value: &Value)
crates/otterc_runtime/src/stdlib/builtins.rs:62
↓ 6 callers
Method
end
(&self)
crates/otterc_span/src/lib.rs:49
↓ 6 callers
Function
find_name_span
Find span of a name in tokens (approximate)
src/lsp/mod.rs:1211
↓ 6 callers
Method
inline_expr
( &self, expr: &mut Node<Expr>, ctx: &InlineContext<'_>, stack: &mut Vec<Strin
crates/otterc_jit/src/optimization/inliner.rs:389
↓ 6 callers
Method
lower_block
( &mut self, block: &Block, function: FunctionValue<'ctx>, ctx: &mut FunctionC
crates/otterc_codegen/src/llvm/compiler/stmt.rs:18
↓ 6 callers
Function
map_value
(handle: HandleId, key: &str)
crates/otterc_runtime/src/stdlib/builtins.rs:205
↓ 6 callers
Function
otter_write_stderr
crates/otterc_codegen/src/llvm/runtimes/wasm.c:29
↓ 6 callers
Method
process_expired
Process all expired timers, waking their associated wakers. Returns the duration until the next timer expires, or None if no timers are scheduled.
crates/otterc_runtime/src/task/timer.rs:67
↓ 6 callers
Method
raw_ptr_type
(&self)
crates/otterc_codegen/src/llvm/compiler/expr.rs:402
↓ 6 callers
Method
record_allocation
Record an allocation
crates/otterc_metrics/src/profiler/memory_profiler.rs:73
↓ 6 callers
Method
record_completion
(&self)
crates/otterc_runtime/src/task/metrics.rs:44
↓ 6 callers
Method
register_object
(&self, _ptr: usize, _size: usize, _kind: ObjectKind)
crates/otterc_runtime/src/memory/gc.rs:80
↓ 6 callers
Method
remove_variable
(&mut self, name: &str)
crates/otterc_typecheck/src/types.rs:564
↓ 6 callers
Method
rename_local
(&mut self, original: &str)
crates/otterc_jit/src/optimization/inliner.rs:1040
↓ 6 callers
Method
struct_id
(&self, name: &str)
crates/otterc_codegen/src/llvm/compiler/mod.rs:313
↓ 6 callers
Method
substitute
Substitute generic type parameters with concrete types
crates/otterc_typecheck/src/types.rs:78
↓ 6 callers
Method
to_bool_value
(&self, val: EvaluatedValue<'ctx>)
crates/otterc_codegen/src/llvm/compiler/expr.rs:1583
↓ 6 callers
Function
with_enum_object
(handle: u64, f: impl FnOnce(&EnumObject) -> R)
crates/otterc_runtime/src/stdlib/enums.rs:32
↓ 6 callers
Method
with_help
(mut self, help: impl Into<String>)
crates/otterc_utils/src/errors.rs:51
↓ 5 callers
Method
add_dependency
Add a dependency edge from `from` to `to`
crates/otterc_module/src/resolver.rs:159
↓ 5 callers
Method
all_symbols
(&self)
src/lsp/mod.rs:255
↓ 5 callers
Method
check_program
Type check a program
crates/otterc_typecheck/src/checker.rs:237
↓ 5 callers
Method
close
Close the channel, waking all waiting receivers.
crates/otterc_runtime/src/task/channel.rs:132
↓ 5 callers
Method
enum_layout
(&self, name: &str)
crates/otterc_codegen/src/llvm/compiler/mod.rs:287
↓ 5 callers
Method
functions_from_crate_spec
Convert a CrateSpec's public synchronous functions into bridge FunctionSpec entries.
crates/otterc_ffi/src/rust_stubgen.rs:43
↓ 5 callers
Method
get_function_stats
Get statistics for a function
crates/otterc_metrics/src/profiler/memory_profiler.rs:201
↓ 5 callers
Method
is_cancelled
(&self)
crates/otterc_runtime/src/task/task_impl.rs:54
↓ 5 callers
Method
kind
(&self)
crates/otterc_lexer/src/token.rs:317
↓ 5 callers
Method
load_local_dependency
( &mut self, owner: &Path, resolved: PathBuf, dependencies: &mut Vec<PathBuf>,
crates/otterc_module/src/processor.rs:252
↓ 5 callers
Method
load_stdlib_dependency
( &mut self, resolved: PathBuf, dependencies: &mut Vec<PathBuf>, )
crates/otterc_module/src/processor.rs:239
↓ 5 callers
Method
map_ast_type
Map AST type to LLVM type
crates/otterc_codegen/src/llvm/compiler/mod.rs:592
↓ 5 callers
Function
next_handle_id
()
crates/otterc_runtime/src/stdlib/time.rs:28
↓ 5 callers
Function
otter_normalize_text
crates/otterc_codegen/src/llvm/runtimes/standard.c:107
↓ 5 callers
Function
percentile
Calculate percentile from sorted durations
crates/otterc_runtime/src/benchmark.rs:323
↓ 5 callers
Function
preferred_target_flag
(driver: &str)
crates/otterc_codegen/src/llvm/config.rs:14
↓ 5 callers
Function
read_c_string
(ptr: *const c_char)
crates/otterc_runtime/src/stdlib/http.rs:6
↓ 5 callers
Method
record_expr_spans
(&mut self, expr: &Node<Expr>)
crates/otterc_codegen/src/llvm/compiler/mod.rs:120
↓ 5 callers
Method
resolve_re_exports
Resolve re-exports for a module after all modules are loaded This processes `pub use` statements and adds re-exported items to the module's exports
crates/otterc_module/src/loader.rs:142
↓ 5 callers
Method
run
Run a benchmark with the given function
crates/otterc_utils/src/bench.rs:21
↓ 5 callers
Function
runtime
()
crates/otterc_runtime/src/task/mod.rs:46
↓ 5 callers
Method
schedule_wakeup
Schedule a waker to be notified after the specified duration.
crates/otterc_runtime/src/task/timer.rs:53
↓ 5 callers
Method
scheduler
(&self)
crates/otterc_runtime/src/task/mod.rs:39
↓ 5 callers
Method
snapshot
(&self)
crates/otterc_runtime/src/task/metrics.rs:71
↓ 5 callers
Method
stop
Stop profiling
crates/otterc_runtime/src/memory/profiler.rs:81
↓ 5 callers
Method
try_recv
Try to receive a value without blocking. Returns None if no value is available.
crates/otterc_runtime/src/task/channel.rs:95
↓ 4 callers
Function
bootstrap_stdlib
()
crates/otterc_ffi/src/providers.rs:27
↓ 4 callers
Function
cache_root
Cache path utilities
crates/otterc_cache/src/path.rs:4
↓ 4 callers
Function
check_library_available
Check if a library is available on the system
crates/otterc_codegen/src/llvm/build.rs:28
↓ 4 callers
Function
compile_pipeline
( path: &Path, source: &str, settings: &CompilationSettings, )
src/cli.rs:407
↓ 4 callers
Function
emit_diagnostics
(diagnostics: &[Diagnostic], source: &str)
crates/otterc_utils/src/errors.rs:113
↓ 4 callers
Method
emit_newline_token
(&mut self)
crates/otterc_lexer/src/tokenizer.rs:182
↓ 4 callers
Method
enum_layouts
(&self)
crates/otterc_typecheck/src/types.rs:623
↓ 4 callers
Method
eval_literal
( &mut self, lit: &Literal, type_info: Option<&TypeInfo>, )
crates/otterc_codegen/src/llvm/compiler/expr.rs:1162
↓ 4 callers
Method
extract_callees_from_block
(&self, block: &Block, callees: &mut Vec<String>)
crates/otterc_jit/src/optimization/call_graph.rs:64
↓ 4 callers
Function
ffi_type_to_typeinfo
(ft: &FfiType)
crates/otterc_typecheck/src/checker.rs:2997
↓ 4 callers
Method
fold_constants_in_expr
(&self, expr: &mut Expr)
crates/otterc_jit/src/optimization/reoptimizer.rs:160
↓ 4 callers
Function
format_type
Format type for display
src/lsp/mod.rs:1264
↓ 4 callers
Method
get_function
(&self, name: &str)
crates/otterc_typecheck/src/types.rs:568
↓ 4 callers
Method
get_stats
(&self)
crates/otterc_jit/src/concurrency/mod.rs:91
↓ 4 callers
Method
get_struct
(&self, name: &str)
crates/otterc_typecheck/src/types.rs:588
↓ 4 callers
Method
get_variable
(&self, name: &str)
crates/otterc_typecheck/src/types.rs:560
↓ 4 callers
Method
id
(&self)
crates/otterc_runtime/src/task/task_impl.rs:148
↓ 4 callers
Method
init
Initialize from environment and optional config file
crates/otterc_runtime/src/config.rs:269
↓ 4 callers
Method
into_type_maps
( self, )
crates/otterc_typecheck/src/checker.rs:2851
↓ 4 callers
Method
is_enabled
(&self)
crates/otterc_runtime/src/memory/gc.rs:549
↓ 4 callers
Function
lcg_next
Linear Congruential Generator
crates/otterc_runtime/src/stdlib/rand.rs:28
↓ 4 callers
Function
llvm_triple_to_string
(triple: &LlvmTargetTriple)
crates/otterc_codegen/src/llvm/config.rs:6
↓ 4 callers
Method
lower_collection_for_loop
( &mut self, var: &str, iterable_val: crate::llvm::compiler::types::EvaluatedValue<'ct
crates/otterc_codegen/src/llvm/compiler/stmt.rs:442
↓ 4 callers
Method
mean
(&self)
crates/otterc_utils/src/bench.rs:57
↓ 4 callers
Method
needs_pic
Check if this target needs position-independent code
crates/otterc_config/src/target.rs:190
↓ 4 callers
Function
next_handle_id
()
crates/otterc_runtime/src/stdlib/sync.rs:21
↓ 4 callers
Function
next_handle_id
()
crates/otterc_runtime/src/stdlib/net.rs:17
↓ 4 callers
Method
normalize_type
(&self, ty: TypeInfo)
crates/otterc_typecheck/src/types.rs:711
↓ 4 callers
Method
otter_type_from_annotation
(&self, ty: &otterc_ast::nodes::Type)
crates/otterc_codegen/src/llvm/compiler/mod.rs:615
↓ 4 callers
Function
otter_write_stdout
crates/otterc_codegen/src/llvm/runtimes/wasm.c:18
↓ 4 callers
Function
print_profile
(metadata: &CacheMetadata)
src/cli.rs:1097
↓ 4 callers
Method
push_phase
(&mut self, name: impl Into<String>, duration: Duration)
crates/otterc_utils/src/profiler.rs:26
↓ 4 callers
Function
read_c_string
(ptr: *const c_char)
crates/otterc_runtime/src/stdlib/yaml.rs:9
↓ 4 callers
Function
read_c_string
(ptr: *const c_char)
crates/otterc_runtime/src/stdlib/json.rs:8
↓ 4 callers
Function
read_source
(path: &Path)
src/cli.rs:873
↓ 4 callers
Method
record_channel_backlog
(&self, delta: i64)
crates/otterc_runtime/src/task/metrics.rs:65
↓ 4 callers
Method
record_function_spans
(&mut self, func: &Function)
crates/otterc_codegen/src/llvm/compiler/mod.rs:62
↓ 4 callers
Method
recv
Receive a value, blocking if none is available. This is a legacy blocking API. For task-aware code, use `recv_async` instead.
crates/otterc_runtime/src/task/channel.rs:74
↓ 4 callers
Method
register_function
Register a new function at a specific tier
crates/otterc_jit/src/tiered_compiler.rs:62
↓ 4 callers
Method
remove
(&mut self, name: &str)
crates/otterc_codegen/src/llvm/compiler/types.rs:91
↓ 4 callers
Method
reset
(&self)
crates/otterc_runtime/src/memory/arena.rs:28
↓ 4 callers
Method
resolve
(&self, name: &str)
crates/otterc_symbol/src/registry.rs:185
↓ 4 callers
Method
resolver
Get the module resolver
crates/otterc_module/src/loader.rs:206
↓ 4 callers
Function
set_field
(handle: u64, index: usize, value: EnumFieldValue)
crates/otterc_runtime/src/stdlib/enums.rs:40
↓ 4 callers
Method
source_id
(&self)
crates/otterc_utils/src/errors.rs:68
↓ 4 callers
Method
to_diagnostic
(&self, source_id: &str)
crates/otterc_parser/src/grammar.rs:22
← previous
next →
101–200 of 1,790, ranked by callers