Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chipnertkj/chipbox
/ functions
Functions
394 in github.com/chipnertkj/chipbox
⨍
Functions
394
◇
Types & classes
97
↓ 1 callers
Function
download_sdk_archive
Download the ASIO SDK.
crates/chipbox-portaudio-sys/asio.rs:61
↓ 1 callers
Function
dumpServedPlugin
* Dump served modules to a JSON file.
node/chipbox-frontend/vite.config.ts:270
↓ 1 callers
Method
emit
(self)
crates/chipbox-build/src/build_script.rs:13
↓ 1 callers
Function
entries_with_partial
Iterates over initialized entries in the logger. ## Safety All [`MaybeUninit`] entries must be initialized before calling this function.
crates/xtask/src/logger/parse.rs:27
↓ 1 callers
Method
eval
( &self, source: impl Into<Vec<u8>>, )
crates/chipbox-js/src/runtime.rs:217
↓ 1 callers
Method
eval_hmr_accept
(&self, path: &str)
crates/chipbox-js/src/runtime.rs:354
↓ 1 callers
Method
eval_hmr_prune
(&self, path: &str)
crates/chipbox-js/src/runtime.rs:397
↓ 1 callers
Function
extractSourcemap
Extract sourcemap comment from code.
node/chipbox-frontend/vite/module-transform.ts:87
↓ 1 callers
Function
extract_sdk_archive
()
crates/chipbox-portaudio-sys/asio.rs:92
↓ 1 callers
Function
fetch_module
Async fetch module code from Vite dev server.
crates/chipbox-js/src/runtime/vite.rs:111
↓ 1 callers
Function
fg_color
(param: u16)
crates/xtask/src/logger/parse/sgr.rs:7
↓ 1 callers
Function
find_newline_pos
Finds the position of the first newline byte.
crates/xtask/src/logger.rs:114
↓ 1 callers
Function
format_array
( arr: &rquickjs::Array<'_>, depth: usize, seen: &mut std::collections::HashSet<usize>, )
crates/chipbox-js/src/display.rs:56
↓ 1 callers
Function
format_object
( obj: &rquickjs::Object<'_>, depth: usize, seen: &mut std::collections::HashSet<usize>, )
crates/chipbox-js/src/display.rs:34
↓ 1 callers
Function
forward_output
Async task that forwards the output of a command to the logger.
crates/xtask/src/app.rs:265
↓ 1 callers
Method
from
(directive: Directive)
crates/chipbox/src/init.rs:69
↓ 1 callers
Function
generate_bindings
(portaudio_path: impl AsRef<Path>)
crates/chipbox-portaudio-sys/build.rs:51
↓ 1 callers
Function
handle_binary
(data: &tungstenite::Bytes)
crates/chipbox-js/src/hmr/task.rs:64
↓ 1 callers
Function
handle_close_frame
Handle a close frame from the HMR server.
crates/chipbox-js/src/hmr/task.rs:73
↓ 1 callers
Function
handle_frame
(frame: &tungstenite::protocol::frame::Frame)
crates/chipbox-js/src/hmr/task.rs:68
↓ 1 callers
Method
handle_hmr_event
(&self, event: HmrEvent)
crates/chipbox-js/src/runtime.rs:410
↓ 1 callers
Function
handle_message
Handle a message from the HMR server.
crates/chipbox-js/src/hmr/task.rs:25
↓ 1 callers
Function
handle_messages
Await and handle every message from the HMR websocket stream until the connection is closed.
crates/chipbox-js/src/hmr/task.rs:12
↓ 1 callers
Function
handle_pong
(data: &tungstenite::Bytes)
crates/chipbox-js/src/hmr/task.rs:60
↓ 1 callers
Function
handle_text_message
Handle a text message from the HMR server. If the message cannot be parsed, an error is logged. The function still returns `Ok(())` in this case.
crates/chipbox-js/src/hmr/task.rs:83
↓ 1 callers
Function
init_client
()
crates/chipbox-js/src/runtime/vite.rs:36
↓ 1 callers
Method
into_output
Consumes the performer and returns the output.
crates/xtask/src/logger/parse/performer.rs:76
↓ 1 callers
Method
is_in_area
(&self, column: u16, row: u16)
crates/xtask/src/app/pane.rs:171
↓ 1 callers
Method
is_msvc
(&self)
crates/chipbox-build/src/build_script.rs:56
↓ 1 callers
Method
is_release
(self)
crates/xtask/src/command.rs:46
↓ 1 callers
Function
js_task
(#[cfg(debug_assertions)] mut hmr_recv: chipbox_js::HmrRecv)
crates/chipbox/src/main.rs:68
↓ 1 callers
Function
jsx
(type: any, props: any)
node/chipbox-solid-render/src/jsx-runtime.ts:46
↓ 1 callers
Function
load
(id)
node/chipbox-frontend/vite.config.ts:217
↓ 1 callers
Function
log_style
Returns the base style for a given log kind.
crates/xtask/src/logger/parse.rs:77
↓ 1 callers
Method
message
(&self)
crates/chipbox-js/src/exception.rs:35
↓ 1 callers
Method
ok_and_then
(self, f: F)
crates/chipbox-portaudio/src/error.rs:18
↓ 1 callers
Function
open_clear_file
Opens a file for appending and clears its contents beforehand.
crates/xtask/src/fs.rs:99
↓ 1 callers
Method
output_to
(mut self, output: ProgramOutputId)
crates/xtask/src/program.rs:28
↓ 1 callers
Method
page_down
(&mut self)
crates/xtask/src/app/pane.rs:98
↓ 1 callers
Method
page_up
(&mut self)
crates/xtask/src/app/pane.rs:94
↓ 1 callers
Method
pane_id_at
(&self, column: u16, row: u16)
crates/xtask/src/app.rs:83
↓ 1 callers
Function
parseModule
(code: string)
node/chipbox-frontend/vite/module-transform.ts:100
↓ 1 callers
Function
pkg
Find a package with the given name in the lockfile. ## Errors - Unable to find a package with the given name.
crates/chipbox-build/src/lockfile.rs:12
↓ 1 callers
Function
plugins
(dev: boolean)
node/chipbox-frontend/vite.config.ts:129
↓ 1 callers
Function
pnpm_workspace
Attempts to find the root directory of a pnpm workspace. Searches from the current working directory, based on the presence of a `pnpm-workspace.yaml`
crates/chipbox-build/src/fs.rs:105
↓ 1 callers
Function
portaudio
()
crates/chipbox-build/src/fs.rs:118
↓ 1 callers
Method
pretty_display
(&self)
crates/chipbox-js/src/display.rs:8
↓ 1 callers
Method
prune_modules
(&self, paths: &[String])
crates/chipbox-js/src/runtime.rs:343
↓ 1 callers
Function
quickjsHmrPlugin
* Log HMR connection events.
node/chipbox-frontend/vite.config.ts:291
↓ 1 callers
Method
recv
Receive the next HMR event, waiting if necessary.
crates/chipbox-js/src/hmr.rs:30
↓ 1 callers
Method
reload_modules
(&self, paths: &[String])
crates/chipbox-js/src/runtime.rs:320
↓ 1 callers
Function
repl
(js_runtime: &Runtime)
crates/chipbox-js/src/repl.rs:10
↓ 1 callers
Method
reset
Reset scroll state
crates/xtask/src/app/pane.rs:135
↓ 1 callers
Method
reset_context
(&mut self)
crates/chipbox-js/src/runtime.rs:181
↓ 1 callers
Method
reset_runtime
(&mut self)
crates/chipbox-js/src/runtime.rs:191
↓ 1 callers
Method
restart_program
(&mut self)
crates/xtask/src/app/pane.rs:198
↓ 1 callers
Function
run
( mut app: T, mut receiver: mpsc::Receiver<T::Message>, mut terminal: ratatui::Terminal<Term>, )
crates/xtask/src/tui.rs:35
↓ 1 callers
Function
sanitize_path
Sanitize a file path to ensure cross-platform compatibility.
crates/xtask/src/fs.rs:57
↓ 1 callers
Function
sanitize_path
Sanitize a file path to ensure cross-platform compatibility.
crates/chipbox-build/src/fs.rs:59
↓ 1 callers
Method
scroll_offset
Get current scroll offset for paragraph
crates/xtask/src/app/pane.rs:130
↓ 1 callers
Function
sdk_cached
Check if the `asiodir` subdirectory exists under the target directory.
crates/chipbox-portaudio-sys/asio.rs:33
↓ 1 callers
Method
set_default_style
Sets the default style used for style reset operations. Also apply it as the current style.
crates/xtask/src/logger/parse/performer.rs:37
↓ 1 callers
Function
set_registry
(ctx: &Ctx<'js>, globals: &Object<'js>)
crates/chipbox-js/src/runtime/vite.rs:44
↓ 1 callers
Function
set_require
(ctx: &Ctx<'js>, globals: &Object<'js>)
crates/chipbox-js/src/runtime/vite.rs:50
↓ 1 callers
Function
setup_sdk
Download the ASIO SDK if it's not available.
crates/chipbox-portaudio-sys/asio.rs:109
↓ 1 callers
Method
spawn
Spawns the command, returning a [`Child`] handle that can be joined.
crates/xtask/src/command.rs:221
↓ 1 callers
Method
start
(mut self)
crates/chipbox-js/src/hmr.rs:81
↓ 1 callers
Method
target_folder
(self)
crates/chipbox-build/src/lib.rs:28
↓ 1 callers
Function
to_lines
Converts entries in the logger to a vector of [`ratatui::text::Line`]s.
crates/xtask/src/logger/parse.rs:51
↓ 1 callers
Method
to_lines
Converts the logger to a vector of [`ratatui::text::Line`]s.
crates/xtask/src/logger.rs:61
↓ 1 callers
Function
transformDefaultExport
(path: any)
node/chipbox-frontend/vite/module-transform.ts:328
↓ 1 callers
Function
transformExportAll
(path: any)
node/chipbox-frontend/vite/module-transform.ts:340
↓ 1 callers
Function
transformImportsPlugin
* Transform served JS modules for QuickJS. * * Intercepts responses by wrapping res.end() BEFORE Vite's middleware runs. * Transforms ALL JavaScrip
node/chipbox-frontend/vite.config.ts:233
↓ 1 callers
Function
transformModule
(code: string, modulePath: string)
node/chipbox-frontend/vite/module-transform.ts:72
↓ 1 callers
Function
transformNamedExport
(path: any)
node/chipbox-frontend/vite/module-transform.ts:166
↓ 1 callers
Function
ts_bindings_output
()
crates/chipbox-build/src/fs.rs:114
↓ 1 callers
Method
up_mouse
(&mut self)
crates/xtask/src/app/pane.rs:86
↓ 1 callers
Method
update
(&mut self)
crates/xtask/src/app/pane.rs:235
↓ 1 callers
Method
update_state
Update scroll state based on text height and area
crates/xtask/src/app/pane.rs:103
↓ 1 callers
Method
view
(&mut self, frame: &mut Frame, mut area: Rect)
crates/xtask/src/app/pane.rs:249
↓ 1 callers
Function
viteClientPlugin
* Override /@vite/client for QuickJS runtime. * * Intercepts the HTTP request for /@vite/client and serves our stub * instead. Uses transformReques
node/chipbox-frontend/vite.config.ts:171
↓ 1 callers
Method
watch_npm_pkg_defs
( mut self, packages: impl IntoIterator<Item = impl Into<Arc<str>>>, )
crates/xtask/src/program/task/builder.rs:54
↓ 1 callers
Method
with_eval
(&self, source: impl Into<Vec<u8>>, f: F)
crates/chipbox-js/src/runtime.rs:257
↓ 1 callers
Function
wrapModule
( bodyCode: string, importCode: string[], modulePath: string, hasExports: boolean, // TODO
node/chipbox-frontend/vite/module-transform.ts:441
Function
App
()
node/chipbox-frontend/src/main.tsx:3
Function
ExportAllDeclaration
(path)
node/chipbox-frontend/vite/module-transform.ts:144
Function
ExportDefaultDeclaration
(path)
node/chipbox-frontend/vite/module-transform.ts:140
Function
ExportNamedDeclaration
(path)
node/chipbox-frontend/vite/module-transform.ts:136
Function
Fragment
(props: { children: any })
node/chipbox-solid-render/src/jsx-runtime.ts:78
Function
ImportDeclaration
(path)
node/chipbox-frontend/vite/module-transform.ts:112
Function
MetaProperty
(path)
node/chipbox-frontend/vite/module-transform.ts:156
Function
__qjs_require
(ctx: Ctx<'_>, path: String)
crates/chipbox-js/src/runtime/vite.rs:57
Method
abort_on
(mut self, condition: TaskCondition)
crates/xtask/src/program/task/builder.rs:99
Function
accept
(cb)
node/chipbox-frontend/vite/client.ts:52
Method
accept
(cb?: (mod?: any) => void)
node/chipbox-frontend/vite/client.ts:19
Method
add_pane
Add a new pane to the app.
crates/xtask/src/app.rs:70
Method
all_tasks_completed
(tasks: impl IntoIterator<Item = TaskId>)
crates/xtask/src/program/task.rs:43
Function
ancestor_with_subdir
( dir: impl AsRef<Path>, subdir: impl AsRef<str>, )
crates/chipbox-build/src/fs.rs:88
Method
async_eval
( &self, source: impl Into<Vec<u8>>, )
crates/chipbox-js/src/runtime.rs:237
Method
at_path
Shorthand constructor for [`FsError::AtPath`].
crates/xtask/src/fs.rs:46
← previous
next →
101–200 of 394, ranked by callers