Home
last modified time | relevance | path

Searched refs:CacheDirective (Results 1 – 25 of 32) sorted by relevance

12

/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/hyper-0.11.27/src/header/common/
H A Dcache_control.rs51 pub struct CacheControl(pub Vec<CacheDirective>);
53 __hyper__deref!(CacheControl => Vec<CacheDirective>);
84 pub enum CacheDirective { enum
118 impl fmt::Display for CacheDirective { implementation
120 use self::CacheDirective::*; in fmt()
144 impl FromStr for CacheDirective { implementation
147 use self::CacheDirective::*; in from_str()
181 assert_eq!(cache.ok(), Some(CacheControl(vec![CacheDirective::NoCache, in test_parse_multiple_headers()
182 CacheDirective::Private]))) in test_parse_multiple_headers()
189 CacheDirective::Private]))) in test_parse_argument()
[all …]
/dports/devel/sccache/sccache-0.2.15/cargo-crates/hyperx-0.12.0/src/header/common/
H A Dcache_control.rs51 pub struct CacheControl(pub Vec<CacheDirective>);
53 __hyper__deref!(CacheControl => Vec<CacheDirective>);
84 pub enum CacheDirective { enum
118 impl fmt::Display for CacheDirective { implementation
120 use self::CacheDirective::*; in fmt()
144 impl FromStr for CacheDirective { implementation
147 use self::CacheDirective::*; in from_str()
181 assert_eq!(cache.ok(), Some(CacheControl(vec![CacheDirective::NoCache, in test_parse_multiple_headers()
182 CacheDirective::Private]))) in test_parse_multiple_headers()
189 CacheDirective::Private]))) in test_parse_argument()
[all …]
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/hyper-0.10.16/src/header/common/
H A Dcache_control.rs48 pub struct CacheControl(pub Vec<CacheDirective>);
50 __hyper__deref!(CacheControl => Vec<CacheDirective>);
81 pub enum CacheDirective { enum
115 impl fmt::Display for CacheDirective { implementation
117 use self::CacheDirective::*; in fmt()
141 impl FromStr for CacheDirective { implementation
144 use self::CacheDirective::*; in from_str()
178 assert_eq!(cache.ok(), Some(CacheControl(vec![CacheDirective::NoCache, in test_parse_multiple_headers()
179 CacheDirective::Private]))) in test_parse_multiple_headers()
186 CacheDirective::Private]))) in test_parse_argument()
[all …]
H A Dmod.rs24 pub use self::cache_control::{CacheControl, CacheDirective};
/dports/lang/spidermonkey60/firefox-60.9.0/third_party/rust/hyper/src/header/common/
H A Dcache_control.rs48 pub struct CacheControl(pub Vec<CacheDirective>);
50 __hyper__deref!(CacheControl => Vec<CacheDirective>);
81 pub enum CacheDirective { enum
115 impl fmt::Display for CacheDirective { implementation
117 use self::CacheDirective::*; in fmt()
141 impl FromStr for CacheDirective { implementation
144 use self::CacheDirective::*; in from_str()
178 assert_eq!(cache.ok(), Some(CacheControl(vec![CacheDirective::NoCache, in test_parse_multiple_headers()
179 CacheDirective::Private]))) in test_parse_multiple_headers()
186 CacheDirective::Private]))) in test_parse_argument()
[all …]
H A Dmod.rs24 pub use self::cache_control::{CacheControl, CacheDirective};
/dports/textproc/angle-grinder/angle-grinder-0.18.0/cargo-crates/hyper-old-types-0.11.0/src/header/common/
H A Dcache_control.rs51 pub struct CacheControl(pub Vec<CacheDirective>);
53 __hyper__deref!(CacheControl => Vec<CacheDirective>);
84 pub enum CacheDirective { enum
118 impl fmt::Display for CacheDirective { implementation
120 use self::CacheDirective::*; in fmt()
144 impl FromStr for CacheDirective { implementation
147 use self::CacheDirective::*; in from_str()
181 assert_eq!(cache.ok(), Some(CacheControl(vec![CacheDirective::NoCache, in test_parse_multiple_headers()
182 CacheDirective::Private]))) in test_parse_multiple_headers()
189 CacheDirective::Private]))) in test_parse_argument()
[all …]
/dports/www/ffsend/ffsend-ccd489ce2e75b91c0f17fbf13dbd91fe84f5ad98/cargo-crates/hyper-0.10.16/src/header/common/
H A Dcache_control.rs48 pub struct CacheControl(pub Vec<CacheDirective>);
50 __hyper__deref!(CacheControl => Vec<CacheDirective>);
81 pub enum CacheDirective { enum
115 impl fmt::Display for CacheDirective { implementation
117 use self::CacheDirective::*; in fmt()
141 impl FromStr for CacheDirective { implementation
144 use self::CacheDirective::*; in from_str()
178 assert_eq!(cache.ok(), Some(CacheControl(vec![CacheDirective::NoCache, in test_parse_multiple_headers()
179 CacheDirective::Private]))) in test_parse_multiple_headers()
186 CacheDirective::Private]))) in test_parse_argument()
[all …]
H A Dmod.rs24 pub use self::cache_control::{CacheControl, CacheDirective};
/dports/www/websocat/websocat-1.9.0/cargo-crates/hyper-0.10.16/src/header/common/
H A Dcache_control.rs48 pub struct CacheControl(pub Vec<CacheDirective>);
50 __hyper__deref!(CacheControl => Vec<CacheDirective>);
81 pub enum CacheDirective { enum
115 impl fmt::Display for CacheDirective { implementation
117 use self::CacheDirective::*; in fmt()
141 impl FromStr for CacheDirective { implementation
144 use self::CacheDirective::*; in from_str()
178 assert_eq!(cache.ok(), Some(CacheControl(vec![CacheDirective::NoCache, in test_parse_multiple_headers()
179 CacheDirective::Private]))) in test_parse_multiple_headers()
186 CacheDirective::Private]))) in test_parse_argument()
[all …]
/dports/audio/spotifyd/spotifyd-0.3.0/cargo-crates/hyper-0.11.27/src/header/common/
H A Dcache_control.rs51 pub struct CacheControl(pub Vec<CacheDirective>);
53 __hyper__deref!(CacheControl => Vec<CacheDirective>);
84 pub enum CacheDirective { enum
118 impl fmt::Display for CacheDirective { implementation
120 use self::CacheDirective::*; in fmt()
144 impl FromStr for CacheDirective { implementation
147 use self::CacheDirective::*; in from_str()
181 assert_eq!(cache.ok(), Some(CacheControl(vec![CacheDirective::NoCache, in test_parse_multiple_headers()
182 CacheDirective::Private]))) in test_parse_multiple_headers()
189 CacheDirective::Private]))) in test_parse_argument()
[all …]
/dports/net/proby/proby-1.0.2/cargo-crates/actix-http-1.0.1/src/header/common/
H A Dcache_control.rs52 pub struct CacheControl(pub Vec<CacheDirective>);
54 __hyper__deref!(CacheControl => Vec<CacheDirective>);
94 pub enum CacheDirective { enum
128 impl fmt::Display for CacheDirective { implementation
130 use self::CacheDirective::*; in fmt()
158 impl FromStr for CacheDirective { implementation
161 use self::CacheDirective::*; in from_str()
205 CacheDirective::NoCache, in test_parse_multiple_headers()
206 CacheDirective::Private, in test_parse_multiple_headers()
220 CacheDirective::MaxAge(100), in test_parse_argument()
[all …]
H A Dmod.rs15 pub use self::cache_control::{CacheControl, CacheDirective};
/dports/www/miniserve/miniserve-0.18.0/cargo-crates/actix-web-4.0.0-beta.8/src/http/header/
H A Dcache_control.rs50 pub struct CacheControl(pub Vec<CacheDirective>);
92 pub enum CacheDirective { enum
126 impl fmt::Display for CacheDirective { implementation
128 use self::CacheDirective::*; in fmt()
156 impl FromStr for CacheDirective { implementation
159 use self::CacheDirective::*; in from_str()
202 CacheDirective::NoCache, in test_parse_multiple_headers()
203 CacheDirective::Private, in test_parse_multiple_headers()
217 CacheDirective::MaxAge(100), in test_parse_argument()
218 CacheDirective::Private, in test_parse_argument()
[all …]
H A Dmod.rs17 pub use self::cache_control::{CacheControl, CacheDirective};
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/
H A DCacheManager.java125 new TreeMap<Long, CacheDirective>();
137 new TreeMap<String, List<CacheDirective>>();
507 CacheDirective entry = new CacheDirective(directive); in addDirectiveFromEditLog()
520 CacheDirective directive; in addDirective()
588 CacheDirective prevEntry = getById(id); in modifyDirectiveFromEditLog()
606 CacheDirective prevEntry = getById(id); in modifyDirective()
674 CacheDirective directive = getById(id); in removeDirective()
713 SortedMap<Long, CacheDirective> tailMap = in listCacheDirectives()
867 CacheDirective directive = iter.next(); in removeCachePool()
1077 CacheDirective directive = new CacheDirective(p.getId(), new Path( in loadState()
[all …]
H A DCachePool.java29 import org.apache.hadoop.hdfs.protocol.CacheDirective;
87 extends IntrusiveCollection<CacheDirective> {
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/
H A DCacheDirective.java40 public final class CacheDirective implements IntrusiveCollection.Element { class
55 public CacheDirective(CacheDirectiveInfo info) { in CacheDirective() method in CacheDirective
63 public CacheDirective(long id, String path, in CacheDirective() method in CacheDirective
155 CacheDirective other = (CacheDirective)o; in equals()
/dports/lang/spidermonkey60/firefox-60.9.0/servo/components/net/
H A Dhttp_cache.rs119 header::CacheDirective::NoStore => return false, in response_is_cacheable()
120 header::CacheDirective::Public | header::CacheDirective::SMaxAge(_) in response_is_cacheable()
121 … | header::CacheDirective::MaxAge(_) | header::CacheDirective::NoCache => is_cacheable = true, in response_is_cacheable()
152 header::CacheDirective::NoCache == *directive in get_response_expiry()
160 … header::CacheDirective::SMaxAge(secs) | header::CacheDirective::MaxAge(secs) => { in get_response_expiry()
221 header::CacheDirective::Public == *directive in get_response_expiry()
H A Dwebsocket_loader.rs11 use hyper::header::{CacheControl, CacheDirective, Connection, ConnectionOption};
487 headers.set(CacheControl(vec![CacheDirective::NoCache])); in http_network_or_cache_fetch()
H A Dhttp_loader.rs24 use hyper::header::{Authorization, Basic, CacheControl, CacheDirective};
796 http_request.headers.set(CacheControl(vec![CacheDirective::MaxAge(0)])); in http_network_or_cache_fetch()
808 http_request.headers.set(CacheControl(vec![CacheDirective::NoCache])); in http_network_or_cache_fetch()
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/
H A DCacheReplicationMonitor.java39 import org.apache.hadoop.hdfs.protocol.CacheDirective;
313 for (CacheDirective directive: cacheManager.getCacheDirectives()) { in resetStatistics()
325 for (CacheDirective directive : cacheManager.getCacheDirectives()) { in rescanCacheDirectives()
371 private void rescanFile(CacheDirective directive, INodeFile file) { in rescanFile()
/dports/lang/spidermonkey60/firefox-60.9.0/testing/webdriver/src/
H A Dserver.rs8 use hyper::header::{ContentType, CacheControl, CacheDirective};
233 .set(CacheControl(vec![CacheDirective::NoCache])); in handle()
/dports/security/vaultwarden/Rocket-263e39b5b429de1913ce7e3036575a7b4d88b6d7/core/http/src/
H A Dhyper.rs56 AccessControlAllowOrigin, ByteRangeSpec, CacheDirective, Charset,
/dports/devel/sccache/sccache-0.2.15/src/simples3/
H A Ds3.rs184 header::CacheDirective::MaxAge(1_296_000), in put()

12