/dports/www/py-webob/WebOb-1.8.7/tests/ |
H A D | test_byterange.py | 4 from webob.byterange import ContentRange 68 ContentRange(None, 99, None) 71 contentrange = ContentRange(0, 99, 100) 75 contentrange = ContentRange(0, 99, None) 77 contentrange = ContentRange(None, None, 100) 81 contentrange = ContentRange(0, 99, 100) 83 assert ContentRange.parse('bytes 0-99/100').__class__ == ContentRange 84 assert ContentRange.parse(None) is None 85 assert ContentRange.parse('0-99 100') is None 89 assert ContentRange.parse('bytes */100').__class__ == ContentRange [all …]
|
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/hyper-0.11.27/src/header/common/ |
H A D | content_range.rs | 7 (ContentRange, "Content-Range") => [ContentRangeSpec] 12 Some(ContentRange(ContentRangeSpec::Bytes { 19 Some(ContentRange(ContentRangeSpec::Bytes { 26 Some(ContentRange(ContentRangeSpec::Bytes { 40 None::<ContentRange>); 44 None::<ContentRange>); 48 None::<ContentRange>); 52 None::<ContentRange>); 56 None::<ContentRange>); 60 None::<ContentRange>); [all …]
|
/dports/devel/sccache/sccache-0.2.15/cargo-crates/hyperx-0.12.0/src/header/common/ |
H A D | content_range.rs | 7 (ContentRange, "Content-Range") => [ContentRangeSpec] 12 Some(ContentRange(ContentRangeSpec::Bytes { 19 Some(ContentRange(ContentRangeSpec::Bytes { 26 Some(ContentRange(ContentRangeSpec::Bytes { 40 None::<ContentRange>); 44 None::<ContentRange>); 48 None::<ContentRange>); 52 None::<ContentRange>); 56 None::<ContentRange>); 60 None::<ContentRange>); [all …]
|
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/hyper-0.10.16/src/header/common/ |
H A D | content_range.rs | 7 (ContentRange, "Content-Range") => [ContentRangeSpec] 12 Some(ContentRange(ContentRangeSpec::Bytes { 19 Some(ContentRange(ContentRangeSpec::Bytes { 26 Some(ContentRange(ContentRangeSpec::Bytes { 40 None::<ContentRange>); 44 None::<ContentRange>); 48 None::<ContentRange>); 52 None::<ContentRange>); 56 None::<ContentRange>); 60 None::<ContentRange>); [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/third_party/rust/hyper/src/header/common/ |
H A D | content_range.rs | 7 (ContentRange, "Content-Range") => [ContentRangeSpec] 12 Some(ContentRange(ContentRangeSpec::Bytes { 19 Some(ContentRange(ContentRangeSpec::Bytes { 26 Some(ContentRange(ContentRangeSpec::Bytes { 40 None::<ContentRange>); 44 None::<ContentRange>); 48 None::<ContentRange>); 52 None::<ContentRange>); 56 None::<ContentRange>); 60 None::<ContentRange>); [all …]
|
/dports/textproc/angle-grinder/angle-grinder-0.18.0/cargo-crates/hyper-old-types-0.11.0/src/header/common/ |
H A D | content_range.rs | 7 (ContentRange, "Content-Range") => [ContentRangeSpec] 12 Some(ContentRange(ContentRangeSpec::Bytes { 19 Some(ContentRange(ContentRangeSpec::Bytes { 26 Some(ContentRange(ContentRangeSpec::Bytes { 40 None::<ContentRange>); 44 None::<ContentRange>); 48 None::<ContentRange>); 52 None::<ContentRange>); 56 None::<ContentRange>); 60 None::<ContentRange>); [all …]
|
/dports/www/ffsend/ffsend-ccd489ce2e75b91c0f17fbf13dbd91fe84f5ad98/cargo-crates/hyper-0.10.16/src/header/common/ |
H A D | content_range.rs | 7 (ContentRange, "Content-Range") => [ContentRangeSpec] 12 Some(ContentRange(ContentRangeSpec::Bytes { 19 Some(ContentRange(ContentRangeSpec::Bytes { 26 Some(ContentRange(ContentRangeSpec::Bytes { 40 None::<ContentRange>); 44 None::<ContentRange>); 48 None::<ContentRange>); 52 None::<ContentRange>); 56 None::<ContentRange>); 60 None::<ContentRange>); [all …]
|
/dports/www/websocat/websocat-1.9.0/cargo-crates/hyper-0.10.16/src/header/common/ |
H A D | content_range.rs | 7 (ContentRange, "Content-Range") => [ContentRangeSpec] 12 Some(ContentRange(ContentRangeSpec::Bytes { 19 Some(ContentRange(ContentRangeSpec::Bytes { 26 Some(ContentRange(ContentRangeSpec::Bytes { 40 None::<ContentRange>); 44 None::<ContentRange>); 48 None::<ContentRange>); 52 None::<ContentRange>); 56 None::<ContentRange>); 60 None::<ContentRange>); [all …]
|
/dports/audio/spotifyd/spotifyd-0.3.0/cargo-crates/hyper-0.11.27/src/header/common/ |
H A D | content_range.rs | 7 (ContentRange, "Content-Range") => [ContentRangeSpec] 12 Some(ContentRange(ContentRangeSpec::Bytes { 19 Some(ContentRange(ContentRangeSpec::Bytes { 26 Some(ContentRange(ContentRangeSpec::Bytes { 40 None::<ContentRange>); 44 None::<ContentRange>); 48 None::<ContentRange>); 52 None::<ContentRange>); 56 None::<ContentRange>); 60 None::<ContentRange>); [all …]
|
/dports/net/proby/proby-1.0.2/cargo-crates/actix-http-1.0.1/src/header/common/ |
H A D | content_range.rs | 12 (ContentRange, CONTENT_RANGE) => [ContentRangeSpec] 17 Some(ContentRange(ContentRangeSpec::Bytes { 24 Some(ContentRange(ContentRangeSpec::Bytes { 31 Some(ContentRange(ContentRangeSpec::Bytes { 45 None::<ContentRange>); 49 None::<ContentRange>); 53 None::<ContentRange>); 57 None::<ContentRange>); 61 None::<ContentRange>); 65 None::<ContentRange>); [all …]
|
/dports/www/miniserve/miniserve-0.18.0/cargo-crates/actix-web-4.0.0-beta.8/src/http/header/ |
H A D | content_range.rs | 10 (ContentRange, CONTENT_RANGE) => [ContentRangeSpec] 15 Some(ContentRange(ContentRangeSpec::Bytes { 22 Some(ContentRange(ContentRangeSpec::Bytes { 29 Some(ContentRange(ContentRangeSpec::Bytes { 43 None::<ContentRange>); 47 None::<ContentRange>); 51 None::<ContentRange>); 55 None::<ContentRange>); 59 None::<ContentRange>); 63 None::<ContentRange>); [all …]
|
/dports/www/trafficserver/trafficserver-9.1.1/plugins/experimental/slice/unit-tests/ |
H A D | test_content_range.cc | 30 CHECK_FALSE(ContentRange().isValid()); // null range 31 CHECK_FALSE(ContentRange(1024, 1024, 4000).isValid()); // zero range 32 CHECK_FALSE(ContentRange(0, 1024, 1023).isValid()); // past end 33 CHECK_FALSE(ContentRange(-5, 13, 40).isValid()); // negative start 38 ContentRange const exprange(1023, 1048576, 307232768); 53 ContentRange gotrange; 72 ContentRange cr;
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/headers-0.3.4/src/common/ |
H A D | content_range.rs | 38 pub struct ContentRange { struct 49 impl ContentRange { argument 54 ) -> Result<ContentRange, InvalidContentRange> { in bytes() argument 72 Ok(ContentRange { in bytes() 82 ContentRange { in unsatisfied_bytes() 101 impl ::Header for ContentRange { implementation 137 Some(ContentRange { in decode() 146 struct Adapter<'a>(&'a ContentRange); in encode()
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/headers-0.3.2/src/common/ |
H A D | content_range.rs | 38 pub struct ContentRange { struct 49 impl ContentRange { argument 54 ) -> Result<ContentRange, InvalidContentRange> { in bytes() argument 72 Ok(ContentRange { in bytes() 82 ContentRange { in unsatisfied_bytes() 101 impl ::Header for ContentRange { implementation 137 Some(ContentRange { in decode() 146 struct Adapter<'a>(&'a ContentRange); in encode()
|
/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/headers-0.2.1/src/common/ |
H A D | content_range.rs | 38 pub struct ContentRange { struct 49 impl ContentRange { argument 51 … RangeBounds<u64>, complete_length: impl Into<Option<u64>>) -> Result<ContentRange, InvalidContent… in bytes() argument 69 Ok(ContentRange { in bytes() 79 ContentRange { in unsatisfied_bytes() 98 impl ::Header for ContentRange { implementation 134 Some(ContentRange { in decode() 143 struct Adapter<'a>(&'a ContentRange); in encode()
|
/dports/www/firefox/firefox-99.0/third_party/rust/headers/src/common/ |
H A D | content_range.rs | 38 pub struct ContentRange { struct 49 impl ContentRange { impl 54 ) -> Result<ContentRange, InvalidContentRange> { in bytes() argument 72 Ok(ContentRange { in bytes() 82 ContentRange { in unsatisfied_bytes() 101 impl ::Header for ContentRange { implementation 137 Some(ContentRange { in decode() 146 struct Adapter<'a>(&'a ContentRange); in encode()
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/headers/src/common/ |
H A D | content_range.rs | 38 pub struct ContentRange { struct 49 impl ContentRange { implementation 54 ) -> Result<ContentRange, InvalidContentRange> { in bytes() argument 72 Ok(ContentRange { in bytes() 82 ContentRange { in unsatisfied_bytes() 101 impl ::Header for ContentRange { implementation 137 Some(ContentRange { in decode() 146 struct Adapter<'a>(&'a ContentRange); in encode()
|
/dports/net/oha/oha-0.4.7/cargo-crates/headers-0.3.4/src/common/ |
H A D | content_range.rs | 38 pub struct ContentRange { struct 49 impl ContentRange { argument 54 ) -> Result<ContentRange, InvalidContentRange> { in bytes() argument 72 Ok(ContentRange { in bytes() 82 ContentRange { in unsatisfied_bytes() 101 impl ::Header for ContentRange { implementation 137 Some(ContentRange { in decode() 146 struct Adapter<'a>(&'a ContentRange); in encode()
|
/dports/textproc/mdbook/mdBook-0.4.13/cargo-crates/headers-0.3.4/src/common/ |
H A D | content_range.rs | 38 pub struct ContentRange { struct 49 impl ContentRange { implementation 54 ) -> Result<ContentRange, InvalidContentRange> { in bytes() argument 72 Ok(ContentRange { in bytes() 82 ContentRange { in unsatisfied_bytes() 101 impl ::Header for ContentRange { implementation 137 Some(ContentRange { in decode() 146 struct Adapter<'a>(&'a ContentRange); in encode()
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/headers/src/common/ |
H A D | content_range.rs | 38 pub struct ContentRange { struct 49 impl ContentRange { argument 54 ) -> Result<ContentRange, InvalidContentRange> { in bytes() argument 72 Ok(ContentRange { in bytes() 82 ContentRange { in unsatisfied_bytes() 101 impl ::Header for ContentRange { implementation 137 Some(ContentRange { in decode() 146 struct Adapter<'a>(&'a ContentRange); in encode()
|
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/headers-0.3.5/src/common/ |
H A D | content_range.rs | 38 pub struct ContentRange { struct 49 impl ContentRange { argument 54 ) -> Result<ContentRange, InvalidContentRange> { in bytes() argument 72 Ok(ContentRange { in bytes() 82 ContentRange { in unsatisfied_bytes() 101 impl ::Header for ContentRange { implementation 137 Some(ContentRange { in decode() 146 struct Adapter<'a>(&'a ContentRange); in encode()
|
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/headers/src/common/ |
H A D | content_range.rs | 38 pub struct ContentRange { struct 49 impl ContentRange { argument 54 ) -> Result<ContentRange, InvalidContentRange> { in bytes() argument 72 Ok(ContentRange { in bytes() 82 ContentRange { in unsatisfied_bytes() 101 impl ::Header for ContentRange { implementation 137 Some(ContentRange { in decode() 146 struct Adapter<'a>(&'a ContentRange); in encode()
|
/dports/www/trafficserver/trafficserver-9.1.1/plugins/experimental/slice/ |
H A D | ContentRange.h | 27 struct ContentRange { struct 32 ContentRange() {} in ContentRange() function 33 …explicit ContentRange(int64_t const begin, int64_t const end, int64_t const len) : m_beg(begin), m… in ContentRange() function
|
/dports/audio/spotifyd/spotifyd-0.3.0/cargo-crates/librespot-protocol-0.1.1/src/ |
H A D | playlist4content.rs | 520 pub struct ContentRange { struct 530 fn default() -> &'a ContentRange { in default() 535 impl ContentRange { implementation 536 pub fn new() -> ContentRange { in new() 579 impl ::protobuf::Message for ContentRange { implementation 662 fn new() -> ContentRange { in new() 663 ContentRange::new() in new() 696 ptr: 0 as *const ContentRange, in default_instance() 699 instance.get(ContentRange::new) in default_instance() 704 impl ::protobuf::Clear for ContentRange { implementation [all …]
|
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/librespot-protocol-0.1.2/src/ |
H A D | playlist4content.rs | 556 pub struct ContentRange { struct 566 fn default() -> &'a ContentRange { in default() 571 impl ContentRange { implementation 572 pub fn new() -> ContentRange { in new() 613 impl ::protobuf::Message for ContentRange { implementation 711 fn new() -> ContentRange { in new() 712 ContentRange::new() in new() 726 |m: &ContentRange| &m.pos, in descriptor_static() 734 |m: &ContentRange| &m.length, in descriptor_static() 752 impl ::protobuf::Clear for ContentRange { implementation [all …]
|