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
↓ 4 callers
Function
updateStatusBar
()
vscode-extension/src/extension.ts:90
↓ 4 callers
Method
with_registry
(mut self, registry: &'static SymbolRegistry)
crates/otterc_typecheck/src/checker.rs:169
↓ 4 callers
Function
word_at_position
(text: &str, position: Position)
src/lsp/mod.rs:1336
↓ 3 callers
Method
add_constant
(&mut self, name: String)
crates/otterc_module/src/loader.rs:36
↓ 3 callers
Method
add_type
(&mut self, name: String)
crates/otterc_module/src/loader.rs:40
↓ 3 callers
Function
build_symbol_table
Build symbol table from program, tracking definitions and references
src/lsp/mod.rs:959
↓ 3 callers
Method
cast_argument_for_call
( &self, value: BasicValueEnum<'ctx>, from_ty: OtterType, param_type: &BasicTy
crates/otterc_codegen/src/llvm/compiler/expr.rs:1743
↓ 3 callers
Method
check_function
Type check a function
crates/otterc_typecheck/src/checker.rs:820
↓ 3 callers
Method
clear
Clear all statistics
crates/otterc_metrics/src/profiler/memory_profiler.rs:235
↓ 3 callers
Method
clear
Clear all task-local storage.
crates/otterc_runtime/src/task/tls.rs:68
↓ 3 callers
Function
createClient
(context: vscode.ExtensionContext)
vscode-extension/src/extension.ts:58
↓ 3 callers
Function
create_test_waker
(flag: Arc<AtomicBool>)
crates/otterc_runtime/src/task/timer.rs:121
↓ 3 callers
Function
current_time_ms
Get current time in milliseconds since epoch
crates/otterc_config/src/tiered_compiler.rs:6
↓ 3 callers
Method
decode_and_convert_tagged_value
( &mut self, encoded_value: BasicValueEnum<'ctx>, expected_type: &OtterType, )
crates/otterc_codegen/src/llvm/compiler/stmt.rs:642
↓ 3 callers
Method
display_colon
(&self)
crates/otterc_ffi/src/types.rs:193
↓ 3 callers
Method
emit_dict_comprehension_insert
( &mut self, map_handle: IntValue<'ctx>, key_expr: &Expr, value_expr: &Expr,
crates/otterc_codegen/src/llvm/compiler/expr.rs:2616
↓ 3 callers
Method
emit_snippet
( &self, snippet: &mut InlineSnippet, ctx: &InlineContext<'_>, stack: &mut Vec
crates/otterc_jit/src/optimization/inliner.rs:629
↓ 3 callers
Method
ensure_metadata
(&self, crate_name: &str)
crates/otterc_ffi/src/symbol_registry.rs:40
↓ 3 callers
Function
enum_field_kind
(field_type: &TypeInfo)
crates/otterc_codegen/src/llvm/compiler/expr.rs:3226
↓ 3 callers
Method
errors
Get collected errors
crates/otterc_typecheck/src/checker.rs:2843
↓ 3 callers
Method
execute
(&self, work: F)
crates/otterc_jit/src/concurrency/thread_pool.rs:44
↓ 3 callers
Function
extract_function_sig
(item_obj: &serde_json::Map<String, serde_json::Value>)
crates/otterc_ffi/src/rustdoc_extractor.rs:902
↓ 3 callers
Method
generate_function_specs
(&self, sig: &FnSig, path: &RustPath, is_method: bool, impl_for: Option<&RustTypeRef>)
crates/otterc_ffi/src/rust_stubgen.rs:65
↓ 3 callers
Method
get
Get current configuration
crates/otterc_runtime/src/config.rs:284
↓ 3 callers
Method
get_enum
(&self, name: &str)
crates/otterc_typecheck/src/types.rs:613
↓ 3 callers
Method
get_stats
Get profiling statistics
crates/otterc_runtime/src/memory/profiler.rs:146
↓ 3 callers
Method
hash
(&self)
crates/otterc_jit/src/specialization/mod.rs:58
↓ 3 callers
Function
impl_target_segments
(for_value: &serde_json::Value, crate_name: &str)
crates/otterc_ffi/src/rustdoc_extractor.rs:969
↓ 3 callers
Method
into_parts
(self)
crates/otterc_ast/src/nodes.rs:26
↓ 3 callers
Method
is_embedded
Check if this is an embedded target (no OS)
crates/otterc_config/src/target.rs:121
↓ 3 callers
Method
is_enabled
Check if profiling is enabled
crates/otterc_runtime/src/memory/profiler.rs:86
↓ 3 callers
Function
is_std_trait_impl
(path: &otterc_ffi::RustPath)
crates/otterc_ffi/examples/coverage_analysis.rs:190
↓ 3 callers
Method
is_stdlib_path
(&self, path: &Path)
crates/otterc_module/src/processor.rs:275
↓ 3 callers
Method
list_element_type
Exception handling (try/except/finally/raise) removed - use Result<T, E> pattern matching instead
crates/otterc_codegen/src/llvm/compiler/stmt.rs:560
↓ 3 callers
Method
list_functions
List all compiled functions with optional filtering
crates/otterc_runtime/src/introspection.rs:175
↓ 3 callers
Function
make_c_string
(value: &str)
crates/otterc_runtime/src/stdlib/exceptions.rs:25
↓ 3 callers
Function
metadata_root
()
crates/otterc_ffi/src/metadata.rs:224
↓ 3 callers
Method
name
(&self)
crates/otterc_runtime/src/task/task_impl.rs:152
↓ 3 callers
Function
next_handle_id
()
crates/otterc_runtime/src/stdlib/task.rs:57
↓ 3 callers
Method
next_tier
Get the next higher tier, if any
crates/otterc_config/src/tiered_compiler.rs:40
↓ 3 callers
Function
normalize_item_id
(value: &serde_json::Value)
crates/otterc_ffi/src/rustdoc_extractor.rs:444
↓ 3 callers
Function
obtain_metrics
()
crates/otterc_runtime/src/stdlib/task.rs:197
↓ 3 callers
Function
otter_diag_to_lsp
(kind: DiagnosticKind, diag: &OtterDiagnostic, text: &str)
src/lsp/mod.rs:1395
↓ 3 callers
Function
otter_free_string
(ptr: *mut c_char)
crates/otterc_runtime/src/strings.rs:100
↓ 3 callers
Function
otter_normalize_text
crates/otterc_codegen/src/llvm/runtimes/wasm.c:100
↓ 3 callers
Function
prepare_rust_bridges
( program: &Program, registry: &SymbolRegistry, )
crates/otterc_codegen/src/llvm/bridges.rs:12
↓ 3 callers
Function
print_timings
(stage: &CompilationStage)
src/cli.rs:1008
↓ 3 callers
Method
record_call
Record a function call and check if promotion is needed
crates/otterc_jit/src/tiered_compiler.rs:42
↓ 3 callers
Method
record_channel_waiters
(&self, delta: i64)
crates/otterc_runtime/src/task/metrics.rs:59
↓ 3 callers
Method
record_compilation
Record a compilation event
crates/otterc_metrics/src/profiler/compilation_profiler.rs:66
↓ 3 callers
Method
record_worker_task
(&self, worker_id: usize)
crates/otterc_runtime/src/task/metrics.rs:108
↓ 3 callers
Method
resolve_struct_method_name
(&self, struct_id: u32, method: &str)
crates/otterc_codegen/src/llvm/compiler/mod.rs:362
↓ 3 callers
Method
resolve_type_alias
(&self, name: &str)
crates/otterc_typecheck/src/types.rs:605
↓ 3 callers
Method
resolver_mut
Get mutable access to resolver
crates/otterc_module/src/loader.rs:211
↓ 3 callers
Function
restartServer
(context: vscode.ExtensionContext)
vscode-extension/src/extension.ts:184
↓ 3 callers
Method
run
(mut self)
crates/otterc_runtime/src/task/task_impl.rs:180
↓ 3 callers
Method
tag_of
(&self, variant: &str)
crates/otterc_typecheck/src/types.rs:779
↓ 3 callers
Function
task_metrics_clone
()
crates/otterc_runtime/src/stdlib/runtime.rs:322
↓ 3 callers
Function
test_crate
(name: &str, version: &str, features: Vec<&str>)
crates/otterc_ffi/examples/coverage_analysis.rs:92
↓ 3 callers
Method
try_build_enum_from_member
( &mut self, enum_name: &str, variant_name: &str, args: &[Node<Expr>],
crates/otterc_codegen/src/llvm/compiler/expr.rs:2941
↓ 3 callers
Method
try_inline_expr
( &self, expr: &mut Node<Expr>, needs_result: bool, ctx: &InlineContext<'_>,
crates/otterc_jit/src/optimization/inliner.rs:534
↓ 3 callers
Method
update_worker_info
(&self, worker_id: usize, state: WorkerState, queue_depth: usize)
crates/otterc_runtime/src/task/metrics.rs:86
↓ 2 callers
Method
add
(&mut self, function: &CachedFunction)
crates/otterc_jit/src/cache/eviction.rs:25
↓ 2 callers
Method
add_variable
(&mut self, name: String, span: Span, ty: Option<String>)
src/lsp/mod.rs:144
↓ 2 callers
Method
alloc
(&self, size: usize, align: usize)
crates/otterc_runtime/src/memory/arena.rs:24
↓ 2 callers
Method
allow_cache
(&self)
src/cli.rs:746
↓ 2 callers
Function
analyze_extraction
(spec: &otterc_ffi::CrateSpec, expected_core_items: usize)
crates/otterc_ffi/examples/coverage_analysis.rs:114
↓ 2 callers
Method
analyze_module
( &mut self, module: impl Into<String>, program: Program, )
crates/otterc_typecheck/src/workspace.rs:54
↓ 2 callers
Method
append_value_to_list
( &mut self, list_handle: IntValue<'ctx>, value: BasicValueEnum<'ctx>, value_t
crates/otterc_codegen/src/llvm/compiler/expr.rs:2228
↓ 2 callers
Function
apply_feature_list
(source: &str, flags: &mut LanguageFeatureFlags, label: &str)
src/cli.rs:845
↓ 2 callers
Method
apply_runtime_env
(&self, command: &mut std::process::Command)
src/cli.rs:759
↓ 2 callers
Method
build_call_arguments
( &self, function: &FunctionSpec, context: ArgContext<'_>, )
crates/otterc_ffi/src/rust_stubgen.rs:614
↓ 2 callers
Method
build_enum_value_from_type
( &mut self, enum_type: &TypeInfo, variant_name: &str, values: Vec<EvaluatedVa
crates/otterc_codegen/src/llvm/compiler/expr.rs:3042
↓ 2 callers
Method
build_equality_check
( &mut self, lhs: &EvaluatedValue<'ctx>, rhs: &EvaluatedValue<'ctx>, )
crates/otterc_codegen/src/llvm/compiler/expr.rs:1062
↓ 2 callers
Method
build_member_path
(&self, object: &Node<Expr>, field: &str)
crates/otterc_typecheck/src/checker.rs:2938
↓ 2 callers
Function
build_shared_library
Build a shared library (.so/.dylib) for JIT execution
crates/otterc_codegen/src/llvm/build.rs:488
↓ 2 callers
Method
build_string_concat
( &mut self, lhs: EvaluatedValue<'ctx>, rhs: EvaluatedValue<'ctx>, )
crates/otterc_codegen/src/llvm/compiler/expr.rs:2182
↓ 2 callers
Method
c_compiler
Get the appropriate C compiler for this target
crates/otterc_config/src/target.rs:139
↓ 2 callers
Method
check_statement
Type check a statement
crates/otterc_typecheck/src/checker.rs:1489
↓ 2 callers
Method
clean_block
(&self, block: &mut Block)
crates/otterc_jit/src/optimization/reoptimizer.rs:102
↓ 2 callers
Function
clone
(data: *const ())
crates/otterc_runtime/src/stdlib/time.rs:97
↓ 2 callers
Function
clone
(data: *const ())
crates/otterc_runtime/src/stdlib/task.rs:144
↓ 2 callers
Method
collect_minor
Minor GC: Collect nursery, promote survivors to old gen
crates/otterc_runtime/src/memory/gc.rs:306
↓ 2 callers
Method
command
(&self)
src/cli.rs:115
↓ 2 callers
Method
compile_function
(&mut self, func: &otterc_ast::nodes::Function)
crates/otterc_codegen/src/llvm/compiler/mod.rs:747
↓ 2 callers
Method
compile_program
Compile a program for JIT execution
crates/otterc_jit/src/engine.rs:124
↓ 2 callers
Method
comprehension_element_type
(&self, expr: &Expr)
crates/otterc_codegen/src/llvm/compiler/expr.rs:2657
↓ 2 callers
Function
create_condvar_waker
(pair: Arc<(Mutex<bool>, Condvar)>)
crates/otterc_runtime/src/stdlib/task.rs:141
↓ 2 callers
Method
create_enum_instance
( &mut self, _enum_name: &str, _variant_name: &str, tag: u32, field_ty
crates/otterc_codegen/src/llvm/compiler/expr.rs:3074
↓ 2 callers
Method
current_loop
(&self)
crates/otterc_codegen/src/llvm/compiler/types.rs:103
↓ 2 callers
Function
current_time_ms
Get current time in milliseconds
crates/otterc_metrics/src/profiler/compilation_profiler.rs:372
↓ 2 callers
Function
decrement_active_tasks
Decrement active task count
crates/otterc_runtime/src/stdlib/runtime.rs:312
↓ 2 callers
Method
define_enum
(&mut self, definition: EnumDefinition)
crates/otterc_typecheck/src/types.rs:609
↓ 2 callers
Method
define_struct
(&mut self, definition: StructDefinition)
crates/otterc_typecheck/src/types.rs:584
↓ 2 callers
Method
detect_blocking
(&self)
crates/otterc_jit/src/concurrency/monitoring.rs:67
↓ 2 callers
Method
detect_contention
(&self)
crates/otterc_jit/src/concurrency/monitoring.rs:73
↓ 2 callers
Method
detect_idle_cycles
(&self)
crates/otterc_jit/src/concurrency/monitoring.rs:80
↓ 2 callers
Method
detect_leaks
Detect memory leaks (allocations without matching deallocations)
crates/otterc_runtime/src/memory/profiler.rs:185
↓ 2 callers
Function
dispose_exception
(exception: OtterException)
crates/otterc_runtime/src/stdlib/exceptions.rs:31
↓ 2 callers
Method
elapsed
Get elapsed time
crates/otterc_metrics/src/profiler/compilation_profiler.rs:361
← previous
next →
201–300 of 1,790, ranked by callers