/dports/www/jwt-cli/jwt-cli-5.0.0/cargo-crates/parse_duration-2.1.1/src/ |
H A D | tests.rs | 27 macro_rules! test_parse { macro 45 test_parse!(fn nano1("1nsec", 0, 1)); 46 test_parse!(fn nano2("1ns", 0, 1)); 76 test_parse!(fn sec2("1second", 1, 0)); 77 test_parse!(fn sec3("1sec", 1, 0)); 78 test_parse!(fn sec4("1s", 1, 0)); 89 test_parse!(fn min3("1min", 60, 0)); 90 test_parse!(fn min4("1m", 60, 0)); 102 test_parse!(fn hour4("1h", 3_600, 0)); 113 test_parse!(fn day3("1d", 86_400, 0)); [all …]
|
/dports/net/rabbitmq/rabbitmq-server-3.9.11/deps/cuttlefish/src/ |
H A D | cuttlefish_duration.erl | 98 test_parse(500, "500ms"), 99 test_parse(500, ".5s"), 100 test_parse(1001, "1s1ms"), 102 test_parse(1599, "1.599s"), 104 test_parse(60000, "1m"), 105 test_parse(60000, "60s"), 107 test_parse(90000, "1.5m"), 108 test_parse(90000, "1m30s"), 110 test_parse(1800000, ".5h"), 111 test_parse(3600000, "1h"), [all …]
|
/dports/math/gap/gap-4.11.0/pkg/json-2.0.1/tst/ |
H A D | test_parse.tst | 12 gap> test_parse("1",1); 13 gap> test_parse(" 1 ",1); 14 gap> test_parse("1.0",1.); 19 gap> test_parse("0e0", 0); 20 gap> test_parse("0e+0", 0); 21 gap> test_parse("0e-0", 0.); 22 gap> test_parse("0e+1", 0); 23 gap> test_parse("0e-1", 0.); 25 gap> test_parse("1e1", 10); 27 gap> test_parse("1e+0", 1); [all …]
|
/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/lib/stdlib/test/ |
H A D | calendar_SUITE.erl | 201 test_parse("1985-04-12T23:20:50.52+02:00", Ms), 205 test_parse("1985-04-12t23:20:50.52z", Mys), 240 test_parse("1970-01-01T23:59:60.55Z", Mys), 242 test_parse("1970-01-01T23:59:60.55Z", Ns), 244 test_parse("1970-01-01T23:59:60.999999Z", Mys), 246 test_parse("1970-01-01T23:59:60.999999Z", Ms), 251 test_parse("1918-11-11T11:00:00+02:00", Mys), 253 test_parse("1970-01-01T00:00:00.000001Z", Mys), 316 test_parse(String) -> function 317 test_parse(String, []). [all …]
|
/dports/lang/erlang-runtime21/otp-OTP-21.3.8.24/lib/stdlib/test/ |
H A D | calendar_SUITE.erl | 201 test_parse("1985-04-12T23:20:50.52+02:00", Ms), 205 test_parse("1985-04-12t23:20:50.52z", Mys), 239 test_parse("1970-01-01T23:59:60.55Z", Mys), 241 test_parse("1970-01-01T23:59:60.55Z", Ns), 243 test_parse("1970-01-01T23:59:60.999999Z", Mys), 245 test_parse("1970-01-01T23:59:60.999999Z", Ms), 250 test_parse("1918-11-11T11:00:00+02:00", Mys), 252 test_parse("1970-01-01T00:00:00.000001Z", Mys), 315 test_parse(String) -> function 316 test_parse(String, []). [all …]
|
/dports/lang/erlang-runtime22/otp-OTP-22.3.4.24/lib/stdlib/test/ |
H A D | calendar_SUITE.erl | 201 test_parse("1985-04-12T23:20:50.52+02:00", Ms), 205 test_parse("1985-04-12t23:20:50.52z", Mys), 240 test_parse("1970-01-01T23:59:60.55Z", Mys), 242 test_parse("1970-01-01T23:59:60.55Z", Ns), 244 test_parse("1970-01-01T23:59:60.999999Z", Mys), 246 test_parse("1970-01-01T23:59:60.999999Z", Ms), 251 test_parse("1918-11-11T11:00:00+02:00", Mys), 253 test_parse("1970-01-01T00:00:00.000001Z", Mys), 316 test_parse(String) -> function 317 test_parse(String, []). [all …]
|
/dports/lang/erlang-runtime24/otp-OTP-24.1.7/lib/stdlib/test/ |
H A D | calendar_SUITE.erl | 201 test_parse("1985-04-12T23:20:50.52+02:00", Ms), 205 test_parse("1985-04-12t23:20:50.52z", Mys), 240 test_parse("1970-01-01T23:59:60.55Z", Mys), 242 test_parse("1970-01-01T23:59:60.55Z", Ns), 244 test_parse("1970-01-01T23:59:60.999999Z", Mys), 246 test_parse("1970-01-01T23:59:60.999999Z", Ms), 251 test_parse("1918-11-11T11:00:00+02:00", Mys), 253 test_parse("1970-01-01T00:00:00.000001Z", Mys), 316 test_parse(String) -> function 317 test_parse(String, []). [all …]
|
/dports/lang/erlang-wx/otp-OTP-24.1.7/lib/stdlib/test/ |
H A D | calendar_SUITE.erl | 201 test_parse("1985-04-12T23:20:50.52+02:00", Ms), 205 test_parse("1985-04-12t23:20:50.52z", Mys), 240 test_parse("1970-01-01T23:59:60.55Z", Mys), 242 test_parse("1970-01-01T23:59:60.55Z", Ns), 244 test_parse("1970-01-01T23:59:60.999999Z", Mys), 246 test_parse("1970-01-01T23:59:60.999999Z", Ms), 251 test_parse("1918-11-11T11:00:00+02:00", Mys), 253 test_parse("1970-01-01T00:00:00.000001Z", Mys), 316 test_parse(String) -> function 317 test_parse(String, []). [all …]
|
/dports/lang/erlang/otp-OTP-24.1.7/lib/stdlib/test/ |
H A D | calendar_SUITE.erl | 201 test_parse("1985-04-12T23:20:50.52+02:00", Ms), 205 test_parse("1985-04-12t23:20:50.52z", Mys), 240 test_parse("1970-01-01T23:59:60.55Z", Mys), 242 test_parse("1970-01-01T23:59:60.55Z", Ns), 244 test_parse("1970-01-01T23:59:60.999999Z", Mys), 246 test_parse("1970-01-01T23:59:60.999999Z", Ms), 251 test_parse("1918-11-11T11:00:00+02:00", Mys), 253 test_parse("1970-01-01T00:00:00.000001Z", Mys), 316 test_parse(String) -> function 317 test_parse(String, []). [all …]
|
/dports/lang/erlang-java/otp-OTP-24.1.7/lib/stdlib/test/ |
H A D | calendar_SUITE.erl | 201 test_parse("1985-04-12T23:20:50.52+02:00", Ms), 205 test_parse("1985-04-12t23:20:50.52z", Mys), 240 test_parse("1970-01-01T23:59:60.55Z", Mys), 242 test_parse("1970-01-01T23:59:60.55Z", Ns), 244 test_parse("1970-01-01T23:59:60.999999Z", Mys), 246 test_parse("1970-01-01T23:59:60.999999Z", Ms), 251 test_parse("1918-11-11T11:00:00+02:00", Mys), 253 test_parse("1970-01-01T00:00:00.000001Z", Mys), 316 test_parse(String) -> function 317 test_parse(String, []). [all …]
|
/dports/net/p5-Parse-Netstat/Parse-Netstat-0.14/t/ |
H A D | 01-basics.t | 12 sub test_parse { 64 …test_parse(name=>'all' , data=>$data, args=>{flavor=>"linux"}, num_tcp=>10, num_udp=>4… 65 …test_parse(name=>'no tcp' , data=>$data, args=>{flavor=>"linux", tcp=>0}, num_tcp=>0 , num_udp=>4… 66 …test_parse(name=>'no udp' , data=>$data, args=>{flavor=>"linux", udp=>0}, num_tcp=>10, num_udp=>0… 67 …test_parse(name=>'no unix', data=>$data, args=>{flavor=>"linux", unix=>0}, num_tcp=>10, num_udp=>4… 80 …test_parse(name=>'all' , args=>{flavor=>"darwin"}, data=>$data, num_tcp=>3, num_udp=>3… 81 …test_parse(name=>'no tcp' , args=>{flavor=>"darwin", tcp=>0}, data=>$data, num_tcp=>0, num_udp=>3… 82 …test_parse(name=>'no udp' , args=>{flavor=>"darwin", udp=>0}, data=>$data, num_tcp=>3, num_udp=>0… 96 … test_parse(name=>'all' , args=>{flavor=>"win32"}, data=>$data, num_tcp=>4, num_udp=>2); 97 … test_parse(name=>'no tcp', args=>{flavor=>"win32", tcp=>0}, data=>$data, num_tcp=>0, num_udp=>2); [all …]
|
/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/http-0.1.17/src/uri/ |
H A D | tests.rs | 57 test_parse! { 69 test_parse! { 82 test_parse! { 95 test_parse! { 107 test_parse! { 120 test_parse! { 133 test_parse! { 147 test_parse! { 160 test_parse! { 173 test_parse! { [all …]
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/http-0.2.4/src/uri/ |
H A D | tests.rs | 57 test_parse! { 69 test_parse! { 82 test_parse! { 95 test_parse! { 107 test_parse! { 120 test_parse! { 133 test_parse! { 146 test_parse! { 159 test_parse! { 172 test_parse! { [all …]
|
/dports/devel/sccache/sccache-0.2.15/cargo-crates/http-0.1.21/src/uri/ |
H A D | tests.rs | 57 test_parse! { 69 test_parse! { 82 test_parse! { 95 test_parse! { 107 test_parse! { 120 test_parse! { 133 test_parse! { 147 test_parse! { 160 test_parse! { 173 test_parse! { [all …]
|
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/http-0.2.5/src/uri/ |
H A D | tests.rs | 57 test_parse! { 69 test_parse! { 82 test_parse! { 95 test_parse! { 107 test_parse! { 120 test_parse! { 133 test_parse! { 146 test_parse! { 159 test_parse! { 172 test_parse! { [all …]
|
/dports/lang/gleam/gleam-0.18.2/cargo-crates/http-0.2.5/src/uri/ |
H A D | tests.rs | 57 test_parse! { 69 test_parse! { 82 test_parse! { 95 test_parse! { 107 test_parse! { 120 test_parse! { 133 test_parse! { 146 test_parse! { 159 test_parse! { 172 test_parse! { [all …]
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/http-0.2.1/src/uri/ |
H A D | tests.rs | 57 test_parse! { 69 test_parse! { 82 test_parse! { 95 test_parse! { 107 test_parse! { 120 test_parse! { 133 test_parse! { 146 test_parse! { 159 test_parse! { 172 test_parse! { [all …]
|
/dports/dns/encrypted-dns-server/encrypted-dns-server-0.9.1/cargo-crates/http-0.2.5/src/uri/ |
H A D | tests.rs | 57 test_parse! { 69 test_parse! { 82 test_parse! { 95 test_parse! { 107 test_parse! { 120 test_parse! { 133 test_parse! { 146 test_parse! { 159 test_parse! { 172 test_parse! { [all …]
|
/dports/net-im/fractal/fractal-4.4.0/vendor/http/src/uri/ |
H A D | tests.rs | 57 test_parse! { 69 test_parse! { 82 test_parse! { 95 test_parse! { 107 test_parse! { 120 test_parse! { 133 test_parse! { 146 test_parse! { 159 test_parse! { 172 test_parse! { [all …]
|
/dports/net-mgmt/nfs-exporter/freebsd-nfs-exporter-0.3.0/cargo-crates/http-0.1.21/src/uri/ |
H A D | tests.rs | 57 test_parse! { 69 test_parse! { 82 test_parse! { 95 test_parse! { 107 test_parse! { 120 test_parse! { 133 test_parse! { 147 test_parse! { 160 test_parse! { 173 test_parse! { [all …]
|
/dports/net/routinator/routinator-0.10.2/cargo-crates/http-0.2.4/src/uri/ |
H A D | tests.rs | 57 test_parse! { 69 test_parse! { 82 test_parse! { 95 test_parse! { 107 test_parse! { 120 test_parse! { 133 test_parse! { 146 test_parse! { 159 test_parse! { 172 test_parse! { [all …]
|
/dports/textproc/angle-grinder/angle-grinder-0.18.0/cargo-crates/http-0.2.4/src/uri/ |
H A D | tests.rs | 57 test_parse! { 69 test_parse! { 82 test_parse! { 95 test_parse! { 107 test_parse! { 120 test_parse! { 133 test_parse! { 146 test_parse! { 159 test_parse! { 172 test_parse! { [all …]
|
/dports/www/rearx/rearx-0.1.4/cargo-crates/http-0.2.3/src/uri/ |
H A D | tests.rs | 57 test_parse! { 69 test_parse! { 82 test_parse! { 95 test_parse! { 107 test_parse! { 120 test_parse! { 133 test_parse! { 146 test_parse! { 159 test_parse! { 172 test_parse! { [all …]
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/http-0.1.21/src/uri/ |
H A D | tests.rs | 57 test_parse! { 69 test_parse! { 82 test_parse! { 95 test_parse! { 107 test_parse! { 120 test_parse! { 133 test_parse! { 147 test_parse! { 160 test_parse! { 173 test_parse! { [all …]
|
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/http-0.2.5/src/uri/ |
H A D | tests.rs | 57 test_parse! { 69 test_parse! { 82 test_parse! { 95 test_parse! { 107 test_parse! { 120 test_parse! { 133 test_parse! { 146 test_parse! { 159 test_parse! { 172 test_parse! { [all …]
|