MCPcopy Create free account

hub / github.com/Firstyear/opensuse-proxy-cache / functions

Functions102 in github.com/Firstyear/opensuse-proxy-cache

↓ 15 callersMethodget
(&self, req_path: &str)
opensuse-proxy-cache/src/memcache.rs:81
↓ 15 callersMethodinsert
Add an item?
arc-disk-cache/src/lib.rs:566
↓ 12 callersFunctiontype_parser
(input: &[u8])
redis-server/src/parser.rs:74
↓ 11 callersMethodnew_tempfile
(&self)
arc-disk-cache/src/lib.rs:791
↓ 8 callersMethodurl
(&self, _cls: &Classification, req_path: &Path, context: &Backend)
opensuse-proxy-cache/src/cache.rs:276
↓ 7 callersMethodupdate
(&mut self, tstats: TraceStat)
arc-disk-cache/src/lib.rs:52
↓ 5 callersFunctionfound
( state: Arc<AppState>, obj: CacheObj<PathBuf, Status>, metadata: bool, range: Option<(u64, Op
opensuse-proxy-cache/src/main.rs:1175
↓ 5 callersFunctionline_parser
(input: &[u8])
redis-server/src/parser.rs:34
↓ 4 callersFunctionfilter_headers
(headers: &HeaderMap, metadata: bool)
opensuse-proxy-cache/src/main.rs:448
↓ 4 callersMethodpath
(&self)
arc-disk-cache/src/lib.rs:537
↓ 4 callersFunctionprefetch
( prefetch_tx: Sender<PrefetchReq>, submit_tx: &Sender<CacheMeta>, prefetch_paths: Option<Vec<Pref
opensuse-proxy-cache/src/main.rs:1092
↓ 4 callersMethodprefetch
( &self, context: &Backend, path: &Path, pri_cache: &ArcDiskCache<PathBuf, S
opensuse-proxy-cache/src/cache.rs:122
↓ 4 callersMethodremove
Remove a key
arc-disk-cache/src/lib.rs:779
↓ 4 callersFunctionsend_headers
(range: Option<(u64, Option<u64>)>)
opensuse-proxy-cache/src/main.rs:425
↓ 4 callersFunctionstream
( state: Arc<AppState>, url: Url, metadata: bool, range: Option<(u64, Option<u64>)>, clien
opensuse-proxy-cache/src/main.rs:477
↓ 3 callersFunctioncrc32c_len
(file: &mut File)
arc-disk-cache/src/lib.rs:185
↓ 3 callersFunctionmissing
()
opensuse-proxy-cache/src/main.rs:1347
↓ 3 callersFunctiontrace_client_req_size
( daily_quota: Option<&Mutex<Quota>>, client_ip_addr: IpAddr, cnt_amt: usize, )
opensuse-proxy-cache/src/main.rs:1322
↓ 2 callersFunctionasync_refresh
( client: reqwest::Client, prefetch_tx: Sender<PrefetchReq>, url: &Url, submit_tx: &Sender<Cac
opensuse-proxy-cache/src/main.rs:347
↓ 2 callersFunctionbulkstrln_parser
(input: &[u8])
redis-server/src/parser.rs:46
↓ 2 callersFunctioncmd_parser
(input: &[u8])
redis-server/src/parser.rs:237
↓ 2 callersMethoddecision
(&self, req_path: &Path, head_req: bool)
opensuse-proxy-cache/src/cache.rs:283
↓ 2 callersMethodexpiry
(&self, etime: OffsetDateTime)
opensuse-proxy-cache/src/cache.rs:199
↓ 2 callersFunctionmiss
( state: Arc<AppState>, fetch_url: Url, cache_key: PathBuf, tmp_file: NamedTempFile, submi
opensuse-proxy-cache/src/main.rs:529
↓ 2 callersFunctionnormalise_path
(req_path: &str)
opensuse-proxy-cache/src/main.rs:125
↓ 2 callersMethodprocess_set
(&mut self, buf: &mut BytesMut)
redis-server/src/codec.rs:141
↓ 2 callersFunctionrefresh
(client: &reqwest::Client, url: Url, obj: &CacheObj<PathBuf, Status>)
opensuse-proxy-cache/src/main.rs:1284
↓ 2 callersFunctionrun_server
( cache_size: usize, cache_path: PathBuf, durable_fs: bool, addr: net::SocketAddr, mut shu
redis-server/src/main.rs:184
↓ 2 callersFunctionwrite_file
( cache_key: PathBuf, mut headers: HeaderMap, file: NamedTempFile, submit_tx: Sender<CacheMeta
opensuse-proxy-cache/src/main.rs:949
↓ 1 callersFunctionasync_refresh_task
( client: reqwest::Client, prefetch_tx: Sender<PrefetchReq>, fetch_url: Url, submit_tx: Sender
opensuse-proxy-cache/src/main.rs:365
↓ 1 callersFunctioncache_mgr
( map: Arc<HashMap<String, Arc<MemCacheObj>>>, mut submit_rx: Receiver<MemCacheMeta>, )
opensuse-proxy-cache/src/memcache.rs:28
↓ 1 callersFunctioncache_mgr
(mut submit_rx: Receiver<CacheMeta>, pri_cache: ArcDiskCache<PathBuf, Status>)
opensuse-proxy-cache/src/cache.rs:699
↓ 1 callersFunctioncache_stats
(pri_cache: ArcDiskCache<PathBuf, Status>)
opensuse-proxy-cache/src/cache.rs:685
↓ 1 callersMethodclassify
(&self, fname: &str, req_path: &Path)
opensuse-proxy-cache/src/cache.rs:503
↓ 1 callersMethoddecode_cmd
(&mut self, buf: &mut BytesMut)
redis-server/src/codec.rs:63
↓ 1 callersFunctiondo_main
()
redis-server/src/main.rs:269
↓ 1 callersFunctiondo_main
()
opensuse-proxy-cache/src/main.rs:1701
↓ 1 callersMethodget
(&self, q: &Q)
arc-disk-cache/src/lib.rs:483
↓ 1 callersMethodhandle
( &self, mut request: tide::Request<State>, next: tide::Next<'_, State>, )
opensuse-proxy-cache/src/auth.rs:23
↓ 1 callersFunctionmonitor_upstream
( client: reqwest::Client, state: Arc<AppState>, mut rx: broadcast::Receiver<bool>, )
opensuse-proxy-cache/src/main.rs:1353
↓ 1 callersFunctionprefetch_task
( state: Arc<AppState>, mut prefetch_rx: Receiver<PrefetchReq>, mut rx: broadcast::Receiver<bool>,
opensuse-proxy-cache/src/main.rs:1411
↓ 1 callersFunctiontag_eol
(input: &[u8])
redis-server/src/parser.rs:249
↓ 1 callersMethodupdate_userdata
Given key, update the ud.
arc-disk-cache/src/lib.rs:682
↓ 1 callersMethodview_stats
(&self)
arc-disk-cache/src/lib.rs:541
Functionaddress_lookup_middleware
( extract::State(state): extract::State<Arc<AppState>>, mut request: Request, next: Next, )
opensuse-proxy-cache/src/main.rs:1549
Methodall_seen_keys
(&mut self, i: u64)
arc-disk-cache/src/lib.rs:125
Functionarray1_parser
(input: &[u8])
redis-server/src/parser.rs:215
Functionarray2_parser
(input: &[u8])
redis-server/src/parser.rs:167
Functionarray3_parser
(input: &[u8])
redis-server/src/parser.rs:115
Functionarray4_parser
(input: &[u8])
redis-server/src/parser.rs:78
Functionauth_test
()
redis-server/src/parser.rs:259
Functionbulkstr_parser
(input: &[u8])
redis-server/src/parser.rs:59
Functionclient_process
( mut r: FramedRead<R, RedisCodec>, mut w: FramedWrite<W, RedisCodec>, client_address: net::Socket
redis-server/src/main.rs:29
Functioncmd_test
()
redis-server/src/parser.rs:326
Functionconfig_get_test
()
redis-server/src/parser.rs:286
Functionconfigure_oauth
( client_id: &str, client_secret: &str, client_url: &str, server_url: &str, )
opensuse-proxy-cache/src/auth.rs:48
Methoddecode
(&mut self, buf: &mut BytesMut)
redis-server/src/codec.rs:239
Functiondisk_cache_test_basic
()
arc-disk-cache/src/lib.rs:805
Methoddrop
(&mut self)
arc-disk-cache/src/lib.rs:169
Methodencode
(&mut self, msg: RedisServerMsg<'_>, buf: &mut BytesMut)
redis-server/src/codec.rs:250
Methodevict_from_frequent
(&mut self, k: &K)
arc-disk-cache/src/lib.rs:105
Methodevict_from_recent
(&mut self, k: &K)
arc-disk-cache/src/lib.rs:101
Methodfreq
(&mut self, i: u64)
arc-disk-cache/src/lib.rs:117
Functionget_test
()
redis-server/src/parser.rs:300
Functionget_view
( headers: HeaderMap, extract::Extension(client_ip_addr): extract::Extension<IpAddr>, extract::Sta
opensuse-proxy-cache/src/main.rs:199
Methodghost_frequent_revive
(&mut self, k: &K)
arc-disk-cache/src/lib.rs:93
Methodghost_recent_revive
(&mut self, k: &K)
arc-disk-cache/src/lib.rs:97
Functionhead_view
( headers: HeaderMap, extract::Extension(client_ip_addr): extract::Extension<IpAddr>, extract::Sta
opensuse-proxy-cache/src/main.rs:131
Methodinclude
(&mut self, k: &K)
arc-disk-cache/src/lib.rs:81
Methodinclude_haunted
(&mut self, k: &K)
arc-disk-cache/src/lib.rs:85
Methodinsert_bytes
(&self, k: K, d: D, bytes: &[u8])
arc-disk-cache/src/lib.rs:546
Functionipxe_menu_view
( _headers: HeaderMap, extract::State(state): extract::State<Arc<AppState>>, )
opensuse-proxy-cache/src/main.rs:1503
Functionipxe_static
(extract::Path(fname): extract::Path<PathBuf>)
opensuse-proxy-cache/src/main.rs:1468
Functionlogin_view
Not authenticated - kick of the redir to oauth.
opensuse-proxy-cache/src/auth.rs:68
Functionmain
()
redis-server/src/main.rs:318
Functionmain
()
opensuse-proxy-cache/src/main.rs:2029
Methodmodify
(&mut self, k: &K)
arc-disk-cache/src/lib.rs:89
Methodmonitor_backends
(&self)
opensuse-proxy-cache/src/cache.rs:270
Methodnew
(capacity: usize, content_dir: P, durable_fs: bool)
arc-disk-cache/src/lib.rs:279
Methodnew
(cache: Arc<CacheT>)
redis-server/src/codec.rs:56
Methodnew
( capacity: usize, content_dir: &Path, durable_fs: bool, client: reqwest::Clie
opensuse-proxy-cache/src/main.rs:85
Methodnew
()
opensuse-proxy-cache/src/auth.rs:16
Methodnew
()
opensuse-proxy-cache/src/memcache.rs:66
Methodnew
( capacity: usize, content_dir: &Path, durable_fs: bool, default_backend: Back
opensuse-proxy-cache/src/cache.rs:243
Functionoauth_view
Handle the response
opensuse-proxy-cache/src/auth.rs:102
Methodp_weight
(&mut self, p: u64)
arc-disk-cache/src/lib.rs:109
Methodparse
(config_path: P)
opensuse-proxy-cache/src/config.rs:32
Methodpoll_flush
(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
opensuse-proxy-cache/src/main.rs:790
Methodpoll_next
Required method
opensuse-proxy-cache/src/main.rs:863
Methodpoll_shutdown
(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
opensuse-proxy-cache/src/main.rs:814
Methodpoll_write
Required methods
opensuse-proxy-cache/src/main.rs:695
Functionprefetch_dl_task
( client: reqwest::Client, fetch_url: Url, submit_tx: Sender<CacheMeta>, cache_key: PathBuf,
opensuse-proxy-cache/src/main.rs:1122
Methodrecent
(&mut self, i: u64)
arc-disk-cache/src/lib.rs:121
Methodreopen
(&self)
arc-disk-cache/src/lib.rs:179
Functionrobots_view
()
opensuse-proxy-cache/src/main.rs:1524
Functionserver_it_works
()
redis-server/src/main.rs:350
Functionset_test
()
redis-server/src/parser.rs:314
Methodshared_max
(&mut self, i: u64)
arc-disk-cache/src/lib.rs:113
Methodsize_hint
(&self)
opensuse-proxy-cache/src/main.rs:943
Functionstatus_view
()
opensuse-proxy-cache/src/main.rs:1533
next →1–100 of 102, ranked by callers