MCPcopy Create free account

hub / github.com/dalance/procs / functions

Functions323 in github.com/dalance/procs

↓ 45 callersFunctionbytify
(x: u64)
src/util.rs:301
↓ 36 callersMethodstat
(&self)
src/process/linux.rs:22
↓ 23 callersFunctionapply_color
( x: String, c: &ConfigColorByTheme, theme: &ConfigTheme, faded: bool, )
src/style.rs:79
↓ 16 callersFunctionrun_default
(opt: &mut Opt, config: &Config)
src/main.rs:211
↓ 12 callersMethodwrite_line
(&self, s: &str)
src/term_info.rs:35
↓ 7 callersMethodadd
(&mut self, proc: &ProcessInfo)
src/columns/uid.rs:35
↓ 6 callersMethodfilter
(&mut self, opt: &Opt, config: &Config, header_lines: usize)
src/view.rs:222
↓ 6 callersFunctiongen_completion
( shell: Shell, path: P, cmd: &mut clap::Command, )
src/opt.rs:204
↓ 5 callersFunctiontruncate
(s: &'_ str, width: usize)
src/util.rs:196
↓ 4 callersMethodclear_screen
(&self)
src/term_info.rs:47
↓ 4 callersFunctionformat_duration
(duration: Duration)
src/columns/elapsed_time.rs:42
↓ 4 callersFunctionformat_sid
(sid: &[u64], abbr: bool)
src/util.rs:286
↓ 4 callersFunctionlap
(instant: &mut Instant, msg: &str)
src/util.rs:307
↓ 4 callersFunctionparse_time
(x: u64)
src/util.rs:173
↓ 4 callersFunctionprocess_new
( pid: i32, procfs: &Option<std::path::PathBuf>, )
src/util.rs:375
↓ 4 callersMethodupdate_width
(&mut self, pid: i32, _max_width: Option<usize>)
src/columns/tree.rs:195
↓ 3 callersMethodadd
(&mut self, proc: &ProcessInfo)
src/columns/tree.rs:31
↓ 3 callersFunctionansi_trim_end
Trim trailing whitespace from a string that may contain ANSI escape sequences. Unlike str::trim_end(), this correctly handles ANSI codes at the end of
src/util.rs:229
↓ 3 callersMethodcgroups
(&self)
src/process/linux.rs:36
↓ 3 callersFunctioncommand_with_kind_values
()
src/main.rs:44
↓ 3 callersFunctiondefault_color_by_theme
()
src/config.rs:76
↓ 3 callersFunctiondeserialize_color
(s: &str)
src/config.rs:174
↓ 3 callersFunctionget_unchecked_str
(cp: *mut u8, start: *mut u8)
src/process/macos.rs:153
↓ 3 callersFunctionhas_regex_syntax
(pattern: &str)
src/util.rs:131
↓ 3 callersFunctionptr_to_cstr
std::ffi::FromBytesUntilNulError is missing until Rust 1.73.0 https://github.com/rust-lang/rust/pull/113701
src/util.rs:365
↓ 3 callersFunctionserialize_color
(c: &ConfigColor)
src/config.rs:152
↓ 2 callersMethodadd
(&mut self, proc: &ProcessInfo)
src/columns/tcp_port.rs:58
↓ 2 callersFunctionadjust
(x: &str, len: usize, align: &ConfigColumnAlign)
src/util.rs:152
↓ 2 callersMethodadjust
(&mut self, config: &Config, min_widths: &HashMap<usize, usize>)
src/view.rs:392
↓ 2 callersFunctionchange_endian
(val: u32)
src/util.rs:256
↓ 2 callersFunctioncollect_task
(iter: TasksIter, map: &mut HashMap<i32, (i32, Stat, Option<Status>, Option<Io>)>)
src/process/linux.rs:191
↓ 2 callersFunctiondeserialize_color_by_theme
(s: &str)
src/config.rs:209
↓ 2 callersMethoddisplay
( &mut self, opt: &Opt, config: &Config, theme: &ConfigTheme, )
src/view.rs:408
↓ 2 callersMethoddisplay_header
(&self, config: &Config, theme: &ConfigTheme)
src/view.rs:524
↓ 2 callersMethoddisplay_json
(&self)
src/view.rs:602
↓ 2 callersMethoddisplay_unit
(&self, config: &Config, theme: &ConfigTheme)
src/view.rs:551
↓ 2 callersMethodfd
(&self)
src/process/linux.rs:43
↓ 2 callersFunctionfind_column_kind
(pat: &str)
src/util.rs:238
↓ 2 callersFunctionfind_exact
( columns: &[&dyn Column], pid: i32, keyword: &[T], logic: &ConfigSearchLogic, case: &Conf
src/util.rs:77
↓ 2 callersFunctionfind_partial
( columns: &[&dyn Column], pid: i32, keyword: &[T], logic: &ConfigSearchLogic, case: &Conf
src/util.rs:31
↓ 2 callersFunctionfrom_wide_ptr
(ptr: *const u16)
src/process/windows.rs:620
↓ 2 callersFunctionget_handle
(pid: i32)
src/process/windows.rs:289
↓ 2 callersFunctionget_io
(handle: HANDLE)
src/process/windows.rs:402
↓ 2 callersFunctionget_name_cached
(psid: PSID)
src/process/windows.rs:564
↓ 2 callersMethodget_parent_pids
(&self, pid: i32, parent_pids: &mut Vec<i32>)
src/view.rs:372
↓ 2 callersFunctionget_sid
(psid: PSID)
src/process/windows.rs:535
↓ 2 callersFunctionget_theme
(opt: &Opt, config: &Config)
src/util.rs:318
↓ 2 callersFunctionget_times
(handle: HANDLE)
src/process/windows.rs:309
↓ 2 callersMethodloginuid
(&self)
src/process/linux.rs:50
↓ 2 callersFunctionrun_gen_config
()
src/main.rs:180
↓ 2 callersFunctionserialize_color_by_theme
(c: &ConfigColorByTheme)
src/config.rs:197
↓ 2 callersMethodsortable
(&self)
src/column.rs:11
↓ 1 callersFunctionapply_style_by_percentage
( x: String, s: &ConfigStyle, theme: &ConfigTheme, faded: bool, )
src/style.rs:59
↓ 1 callersFunctionapply_style_by_state
( x: String, s: &ConfigStyle, theme: &ConfigTheme, faded: bool, )
src/style.rs:22
↓ 1 callersFunctionapply_style_by_unit
( x: String, s: &ConfigStyle, theme: &ConfigTheme, faded: bool, )
src/style.rs:43
↓ 1 callersMethodapply_visible
(&mut self, visible_pids: &[i32])
src/columns/tree.rs:168
↓ 1 callersFunctionarch_from_pid
(pid: i32)
src/columns/arch.rs:51
↓ 1 callersMethodavailable
(&self)
src/column.rs:7
↓ 1 callersFunctioncheck_old_config
(s: &str, config: Result<Config, toml::de::Error>)
src/main.rs:103
↓ 1 callersFunctionclassify
(keyword: &str)
src/util.rs:123
↓ 1 callersMethodclear_rest_lines
(&self)
src/term_info.rs:57
↓ 1 callersFunctionclone_task_all_info
(src: &TaskAllInfo)
src/process/macos.rs:255
↓ 1 callersMethodcmdline
(&self)
src/process/linux.rs:29
↓ 1 callersFunctioncollect_proc
( interval: Duration, with_thread: bool, show_kthreads: bool, procfs_path: &Option<PathBuf>, )
src/process/linux.rs:83
↓ 1 callersFunctioncolor_to_column_style
(c: &ConfigColorByTheme)
src/style.rs:149
↓ 1 callersMethoddec_sort_column
(&mut self)
src/view.rs:765
↓ 1 callersMethoddisplay_content
( &self, config: &Config, pid: i32, theme: &ConfigTheme, auxiliary: bo
src/view.rs:573
↓ 1 callersMethodfind_exact
(&self, _pid: i32, _keyword: &str, _content_to_lowercase: bool)
src/columns/tree.rs:130
↓ 1 callersMethodfind_partial
(&self, _pid: i32, _keyword: &str, _content_to_lowercase: bool)
src/columns/tree.rs:126
↓ 1 callersFunctiongen_column
( kind: &ConfigColumnKind, header: Option<String>, _docker_path: &str, separator: &str, ab
src/columns/os_macos.rs:162
↓ 1 callersFunctiongen_pager
()
src/term_info.rs:66
↓ 1 callersFunctionget_arg_max
()
src/process/macos.rs:123
↓ 1 callersMethodget_child_pids
(&self, pid: i32, child_pids: &mut Vec<i32>)
src/view.rs:381
↓ 1 callersFunctionget_command
(handle: HANDLE)
src/process/windows.rs:367
↓ 1 callersFunctionget_config
(opt: &Opt)
src/main.rs:60
↓ 1 callersFunctionget_groups
(handle: HANDLE)
src/process/windows.rs:476
↓ 1 callersFunctionget_mem_total
()
src/columns/usage_mem.rs:38
↓ 1 callersFunctionget_memory_info
(handle: HANDLE)
src/process/windows.rs:337
↓ 1 callersFunctionget_name
(psid: PSID)
src/process/windows.rs:577
↓ 1 callersFunctionget_path_info
(pid: i32, mut size: size_t)
src/process/macos.rs:161
↓ 1 callersFunctionget_pids
()
src/process/windows.rs:247
↓ 1 callersFunctionget_ppid_threads
()
src/process/windows.rs:269
↓ 1 callersFunctionget_priority
(handle: HANDLE)
src/process/windows.rs:632
↓ 1 callersFunctionget_sys_value
( high: u32, low: u32, mut len: usize, value: *mut libc::c_void, mib: &mut [i32; 2], )
src/util.rs:266
↓ 1 callersFunctionget_tcp6_entry_list
()
src/columns/tcp_port.rs:265
↓ 1 callersFunctionget_tcp_entry_list
()
src/columns/tcp_port.rs:223
↓ 1 callersFunctionget_user
(handle: HANDLE)
src/process/windows.rs:420
↓ 1 callersMethodinc_sort_column
(&mut self)
src/view.rs:752
↓ 1 callersMethodis_match
(&self, text: &str)
src/search_regex.rs:23
↓ 1 callersMethodmove_cursor_to
(&self, x: usize, y: usize)
src/term_info.rs:52
↓ 1 callersMethodowner
(&self)
src/process/linux.rs:57
↓ 1 callersMethodreset_width
( &mut self, _order: Option<crate::config::ConfigSortOrder>, _config: &crate::config::
src/columns/tree.rs:185
↓ 1 callersFunctionrun
()
src/main.rs:141
↓ 1 callersFunctionrun_list
()
src/main.rs:187
↓ 1 callersFunctionrun_watch
(opt: &mut Opt, config: &Config, interval: u64)
src/main.rs:207
↓ 1 callersFunctionset_privilege
()
src/process/windows.rs:205
↓ 1 callersMethodsorted_pid
(&self, _order: &crate::config::ConfigSortOrder)
src/columns/tree.rs:134
↓ 1 callersFunctionvalidate_search_args
(opt: &Opt)
src/main.rs:243
↓ 1 callersMethodwchan
(&self)
src/process/linux.rs:64
Methodadd
(&mut self, proc: &ProcessInfo)
src/columns/command.rs:30
next →1–100 of 323, ranked by callers