/dports/math/R-cran-xts/xts/ |
H A D | NAMESPACE | 2 useDynLib(xts) 42 # xts exports 72 export(xts, .xts) 73 export(as.xts) 74 export(is.xts) 91 export(use.xts, try.xts) 152 c.xts) 174 #export(Lag.xts, Next.xts) #, Diff.xts) 199 # xts methods 218 S3method(as.xts,xts) [all …]
|
H A D | NEWS | 1 Changed in xts 0.12.1: 24 o The .xts() constructor would create an xts object with row names if 'x' had 32 Changed in xts 0.12-0: 46 uncommon xts objects with other xts, matrix, or vector objects, could 141 xts::plot.xts() (#74). 170 o na.locf.xts() and na.omit.xts() now support character xts objects. Thanks to 235 o New xts FAQ. 483 o try.xts and reclass now are more efficient on xts objects, 486 to xts. 500 o (cbind)merge.xts and rbind.xts now copy index attributes [all …]
|
/dports/math/R-cran-xts/xts/inst/unitTests/ |
H A D | runit.binsearch.R | 11 checkIdentical(ans, xts:::binsearch(ikey, ivec, TRUE)) 12 checkIdentical(ans, xts:::binsearch(ikey, ivec, FALSE)) 20 checkIdentical(ans, xts:::binsearch(dkey, dvec, TRUE)) 27 checkIdentical(4L, xts:::binsearch(0L, ivec, TRUE)) 28 checkIdentical(4L, xts:::binsearch(0.0, dvec, TRUE)) 34 checkIdentical(5L, xts:::binsearch(0L, ivec, FALSE)) 35 checkIdentical(5L, xts:::binsearch(0.0, dvec, FALSE)) 41 checkIdentical(4L, xts:::binsearch(0L, ivec, TRUE)) 42 checkIdentical(4L, xts:::binsearch(0.0, dvec, TRUE)) 55 checkIdentical(1L, xts:::binsearch(-9L, ivec, TRUE)) [all …]
|
H A D | runit.xts.R | 51 y <- xts(1, i) 56 x <- xts() 63 x <- xts(1, as.Date("2018-05-02")) 72 x <- xts(1, as.Date("2018-05-02")) 81 x <- xts(1, as.Date("2018-05-02")) 140 checkXtsFormat <- function(xts, format) { argument 141 checkIdentical(tformat(xts), format) 176 checkXtsClass <- function(xts, class) { argument 177 checkEquals(tclass(xts), class) 197 checkXtsTz <- function(xts, tzone) { argument [all …]
|
/dports/security/dropbear/dropbear-2020.81/libtomcrypt/src/modes/xts/ |
H A D | xts_test.c | 18 symmetric_xts xts; in _xts_test_accel_xts_encrypt() local 45 symmetric_xts xts; in _xts_test_accel_xts_decrypt() local 203 symmetric_xts xts; in xts_test() 249 xts_done(&xts); in xts_test() 255 xts_done(&xts); in xts_test() 260 xts_done(&xts); in xts_test() 266 xts_done(&xts); in xts_test() 274 xts_done(&xts); in xts_test() 280 xts_done(&xts); in xts_test() 291 xts_done(&xts); in xts_test() [all …]
|
H A D | xts_encrypt.c | 33 if ((err = cipher_descriptor[xts->cipher].ecb_encrypt(C, C, &xts->key1)) != CRYPT_OK) { in _tweak_crypt() 62 symmetric_xts *xts) in xts_encrypt() argument 72 LTC_ARGCHK(xts != NULL); in xts_encrypt() 75 if ((err = cipher_is_valid(xts->cipher)) != CRYPT_OK) { in xts_encrypt() 94 if (cipher_descriptor[xts->cipher].accel_xts_encrypt && lim > 0) { in xts_encrypt() 97 …if ((err = cipher_descriptor[xts->cipher].accel_xts_encrypt(pt, ct, lim, tweak, &xts->key1, &xts->… in xts_encrypt() 109 if ((err = cipher_descriptor[xts->cipher].ecb_encrypt(tweak, T, &xts->key2)) != CRYPT_OK) { in xts_encrypt() 114 if ((err = _tweak_crypt(pt, ct, T, xts)) != CRYPT_OK) { in xts_encrypt() 125 if ((err = _tweak_crypt(pt, CC, T, xts)) != CRYPT_OK) { in xts_encrypt() 140 if ((err = _tweak_crypt(PP, ct, T, xts)) != CRYPT_OK) { in xts_encrypt() [all …]
|
H A D | xts_decrypt.c | 33 err = cipher_descriptor[xts->cipher].ecb_decrypt(P, P, &xts->key1); in _tweak_uncrypt() 60 symmetric_xts *xts) in xts_decrypt() argument 70 LTC_ARGCHK(xts != NULL); in xts_decrypt() 73 if ((err = cipher_is_valid(xts->cipher)) != CRYPT_OK) { in xts_decrypt() 92 if (cipher_descriptor[xts->cipher].accel_xts_decrypt && lim > 0) { in xts_decrypt() 95 …if ((err = cipher_descriptor[xts->cipher].accel_xts_decrypt(ct, pt, lim, tweak, &xts->key1, &xts->… in xts_decrypt() 106 if ((err = cipher_descriptor[xts->cipher].ecb_encrypt(tweak, T, &xts->key2)) != CRYPT_OK) { in xts_decrypt() 111 if ((err = _tweak_uncrypt(ct, pt, T, xts)) != CRYPT_OK) { in xts_decrypt() 125 if ((err = _tweak_uncrypt(ct, PP, CC, xts)) != CRYPT_OK) { in xts_decrypt() 139 if ((err = _tweak_uncrypt(CC, pt, T, xts)) != CRYPT_OK) { in xts_decrypt() [all …]
|
/dports/security/libtomcrypt/libtomcrypt-1.18.2/src/modes/xts/ |
H A D | xts_test.c | 18 symmetric_xts xts; in _xts_test_accel_xts_encrypt() local 45 symmetric_xts xts; in _xts_test_accel_xts_decrypt() local 203 symmetric_xts xts; in xts_test() 249 xts_done(&xts); in xts_test() 255 xts_done(&xts); in xts_test() 260 xts_done(&xts); in xts_test() 266 xts_done(&xts); in xts_test() 274 xts_done(&xts); in xts_test() 280 xts_done(&xts); in xts_test() 291 xts_done(&xts); in xts_test() [all …]
|
H A D | xts_decrypt.c | 33 err = cipher_descriptor[xts->cipher].ecb_decrypt(P, P, &xts->key1); in _tweak_uncrypt() 60 symmetric_xts *xts) in xts_decrypt() argument 70 LTC_ARGCHK(xts != NULL); in xts_decrypt() 73 if ((err = cipher_is_valid(xts->cipher)) != CRYPT_OK) { in xts_decrypt() 92 if (cipher_descriptor[xts->cipher].accel_xts_decrypt && lim > 0) { in xts_decrypt() 95 …if ((err = cipher_descriptor[xts->cipher].accel_xts_decrypt(ct, pt, lim, tweak, &xts->key1, &xts->… in xts_decrypt() 106 if ((err = cipher_descriptor[xts->cipher].ecb_encrypt(tweak, T, &xts->key2)) != CRYPT_OK) { in xts_decrypt() 111 if ((err = _tweak_uncrypt(ct, pt, T, xts)) != CRYPT_OK) { in xts_decrypt() 125 if ((err = _tweak_uncrypt(ct, PP, CC, xts)) != CRYPT_OK) { in xts_decrypt() 139 if ((err = _tweak_uncrypt(CC, pt, T, xts)) != CRYPT_OK) { in xts_decrypt() [all …]
|
H A D | xts_encrypt.c | 33 if ((err = cipher_descriptor[xts->cipher].ecb_encrypt(C, C, &xts->key1)) != CRYPT_OK) { in _tweak_crypt() 62 symmetric_xts *xts) in xts_encrypt() argument 72 LTC_ARGCHK(xts != NULL); in xts_encrypt() 75 if ((err = cipher_is_valid(xts->cipher)) != CRYPT_OK) { in xts_encrypt() 94 if (cipher_descriptor[xts->cipher].accel_xts_encrypt && lim > 0) { in xts_encrypt() 97 …if ((err = cipher_descriptor[xts->cipher].accel_xts_encrypt(pt, ct, lim, tweak, &xts->key1, &xts->… in xts_encrypt() 109 if ((err = cipher_descriptor[xts->cipher].ecb_encrypt(tweak, T, &xts->key2)) != CRYPT_OK) { in xts_encrypt() 114 if ((err = _tweak_crypt(pt, ct, T, xts)) != CRYPT_OK) { in xts_encrypt() 125 if ((err = _tweak_crypt(pt, CC, T, xts)) != CRYPT_OK) { in xts_encrypt() 140 if ((err = _tweak_crypt(PP, ct, T, xts)) != CRYPT_OK) { in xts_encrypt() [all …]
|
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/ext/crypto/libtomcrypt/src/modes/xts/ |
H A D | xts_test.c | 19 symmetric_xts xts; in _xts_test_accel_xts_encrypt() local 43 symmetric_xts xts; in _xts_test_accel_xts_decrypt() local 197 symmetric_xts xts; in xts_test() 243 xts_done(&xts); in xts_test() 249 xts_done(&xts); in xts_test() 254 xts_done(&xts); in xts_test() 268 xts_done(&xts); in xts_test() 276 xts_done(&xts); in xts_test() 282 xts_done(&xts); in xts_test() 298 xts_done(&xts); in xts_test() [all …]
|
H A D | xts_encrypt.c | 35 if ((err = cipher_descriptor[xts->cipher].ecb_encrypt(C, C, &xts->key1)) != CRYPT_OK) { in tweak_crypt() 64 symmetric_xts *xts) in xts_encrypt() argument 74 LTC_ARGCHK(xts != NULL); in xts_encrypt() 77 if ((err = cipher_is_valid(xts->cipher)) != CRYPT_OK) { in xts_encrypt() 96 if (cipher_descriptor[xts->cipher].accel_xts_encrypt && lim > 0) { in xts_encrypt() 99 …if ((err = cipher_descriptor[xts->cipher].accel_xts_encrypt(pt, ct, lim, tweak, &xts->key1, &xts->… in xts_encrypt() 111 if ((err = cipher_descriptor[xts->cipher].ecb_encrypt(tweak, T, &xts->key2)) != CRYPT_OK) { in xts_encrypt() 116 err = tweak_crypt(pt, ct, T, xts); in xts_encrypt() 125 if ((err = tweak_crypt(pt, CC, T, xts)) != CRYPT_OK) { in xts_encrypt() 140 if ((err = tweak_crypt(PP, ct, T, xts)) != CRYPT_OK) { in xts_encrypt() [all …]
|
H A D | xts_decrypt.c | 35 err = cipher_descriptor[xts->cipher].ecb_decrypt(P, P, &xts->key1); in tweak_uncrypt() 62 symmetric_xts *xts) in xts_decrypt() argument 72 LTC_ARGCHK(xts != NULL); in xts_decrypt() 75 if ((err = cipher_is_valid(xts->cipher)) != CRYPT_OK) { in xts_decrypt() 94 if (cipher_descriptor[xts->cipher].accel_xts_decrypt && lim > 0) { in xts_decrypt() 97 …if ((err = cipher_descriptor[xts->cipher].accel_xts_decrypt(ct, pt, lim, tweak, &xts->key1, &xts->… in xts_decrypt() 108 if ((err = cipher_descriptor[xts->cipher].ecb_encrypt(tweak, T, &xts->key2)) != CRYPT_OK) { in xts_decrypt() 113 err = tweak_uncrypt(ct, pt, T, xts); in xts_decrypt() 125 if ((err = tweak_uncrypt(ct, PP, CC, xts)) != CRYPT_OK) { in xts_decrypt() 139 if ((err = tweak_uncrypt(CC, pt, T, xts)) != CRYPT_OK) { in xts_decrypt() [all …]
|
/dports/devel/papilio-loader/Papilio-Loader-dd111c4/xc3sprog/trunk/ |
H A D | ioxpc.cpp | 428 if(xts->out != NULL) in xpcu_do_ext_transfer() 430 r = xpcu_shift (xpcu, 0xA6, xts->in_bits, in_len, xts->buf, in xpcu_do_ext_transfer() 445 memcpy(xts->out, xts->buf, aligned_bytes); in xpcu_do_ext_transfer() 462 xts->out[xts->out_done/8] = 0; in xpcu_do_ext_transfer() 464 xts->out[xts->out_done/8] |= (1<<(xts->out_done%8)); in xpcu_do_ext_transfer() 482 xts->in_bits = 0; in xpcu_do_ext_transfer() 483 xts->out_bits = 0; in xpcu_do_ext_transfer() 502 xts->in_bits++; in xpcu_add_bit_for_ext_transfer() 509 if(xts->out) in xpcu_add_bit_for_ext_transfer() 512 xts->out_bits++; in xpcu_add_bit_for_ext_transfer() [all …]
|
/dports/devel/xc3sprog/xc3sprog-r769/ |
H A D | ioxpc.cpp | 432 if(xts->out != NULL) in xpcu_do_ext_transfer() 434 r = xpcu_shift (xpcu, 0xA6, xts->in_bits, in_len, xts->buf, in xpcu_do_ext_transfer() 449 memcpy(xts->out, xts->buf, aligned_bytes); in xpcu_do_ext_transfer() 466 xts->out[xts->out_done/8] = 0; in xpcu_do_ext_transfer() 468 xts->out[xts->out_done/8] |= (1<<(xts->out_done%8)); in xpcu_do_ext_transfer() 486 xts->in_bits = 0; in xpcu_do_ext_transfer() 487 xts->out_bits = 0; in xpcu_do_ext_transfer() 506 xts->in_bits++; in xpcu_add_bit_for_ext_transfer() 513 if(xts->out) in xpcu_add_bit_for_ext_transfer() 516 xts->out_bits++; in xpcu_add_bit_for_ext_transfer() [all …]
|
/dports/math/R-cran-xts/xts/inst/doc/ |
H A D | xts-faq.Rnw | 107 lm(sample.xts[, "Res"] ~ sample.xts[, "ThisVar"] + sample.xts[, "ThatVar"]) 120 sample.xts[sample.xts==0] <- NA 121 cbind(orig=sample.xts, locf=na.locf(sample.xts)) 164 sample.xts.2 <- xts(t(apply(sample.xts, 1, myfun)), index(sample.xts)) 201 aligned.xts <- align.time(sample.xts, n=60*60*3) 205 empty.xts <- xts(, seq(start(aligned.xts), end(aligned.xts), by="3 hours")) 220 sample.xts <- as.xts(transform(sample.xts, ABC=1)) 251 sample.xts <- as.xts(sample_matrix) 252 wday.xts <- sample.xts[.indexwday(sample.xts) %in% 1:5] 268 sample.xts <- xts(Data[,-1], order.by=Data[,1]) [all …]
|
/dports/math/R-cran-xts/xts/vignettes/ |
H A D | xts-faq.Rnw | 107 lm(sample.xts[, "Res"] ~ sample.xts[, "ThisVar"] + sample.xts[, "ThatVar"]) 120 sample.xts[sample.xts==0] <- NA 121 cbind(orig=sample.xts, locf=na.locf(sample.xts)) 164 sample.xts.2 <- xts(t(apply(sample.xts, 1, myfun)), index(sample.xts)) 201 aligned.xts <- align.time(sample.xts, n=60*60*3) 205 empty.xts <- xts(, seq(start(aligned.xts), end(aligned.xts), by="3 hours")) 220 sample.xts <- as.xts(transform(sample.xts, ABC=1)) 251 sample.xts <- as.xts(sample_matrix) 252 wday.xts <- sample.xts[.indexwday(sample.xts) %in% 1:5] 268 sample.xts <- xts(Data[,-1], order.by=Data[,1]) [all …]
|
/dports/finance/R-cran-timeSeries/timeSeries/inst/extensionsTests/ |
H A D | xtsWrappers.R | 3 require(xts) 305 xts::period.apply(xts[, 1], INDEX, FUN=max) 306 xts::period.max(xts[, 1], INDEX) 307 xts::period.min(xts[, 1], INDEX) 308 xts::period.prod(xts[, 1], INDEX) 309 xts::period.sum(xts[, 1], INDEX) 401 to.weekly(xts) 404 to.yearly(xts) 417 indexTZ(xts, ) 418 tzone(xts, ) [all …]
|
H A D | aggregateWrappers.R | 209 xts::period.apply(xts[, 1], INDEX, FUN=max) 210 xts::period.max(xts[, 1], INDEX) 211 xts::period.min(xts[, 1], INDEX) 212 xts::period.prod(xts[, 1], INDEX) 213 xts::period.sum(xts[, 1], INDEX) 281 xts::to.period( 303 to.weekly(xts) 306 to.yearly(xts) 318 indexTZ(xts, ) 319 tzone(xts, ) [all …]
|
/dports/databases/mysql-connector-odbc/mysql-connector-odbc-5.3.13-src/test/ |
H A D | my_bug13766.c | 212 xts.year= 0; in DECLARE_TEST() 213 xts.month= 1; in DECLARE_TEST() 214 xts.day= 1; in DECLARE_TEST() 221 xts.year= 0; in DECLARE_TEST() 223 xts.day= 0; in DECLARE_TEST() 230 xts.year= 1; in DECLARE_TEST() 232 xts.day= 0; in DECLARE_TEST() 239 xts.year= 0; in DECLARE_TEST() 241 xts.day= 0; in DECLARE_TEST() 248 xts.year= 0; in DECLARE_TEST() [all …]
|
/dports/devel/urjtag/urjtag-2021.03/src/tap/cable/ |
H A D | xpc.c | 554 r = xpcu_shift (xts->xpcu, 0xA6, xts->in_bits, in_len, xts->buf, in xpcu_do_ext_transfer() 559 r = xpcu_shift (xts->xpcu, 0xA6, xts->in_bits, in_len, xts->buf, 0, in xpcu_do_ext_transfer() 572 rxw = (xts->buf[out_idx + 1] << 8) | xts->buf[out_idx]; in xpcu_do_ext_transfer() 581 xts->out[xts->out_done] = last_tdo; in xpcu_do_ext_transfer() 591 xts->in_bits = 0; in xpcu_do_ext_transfer() 614 xts->in_bits++; in xpcu_add_bit_for_ext_transfer() 621 if (xts->out) in xpcu_add_bit_for_ext_transfer() 656 xts.xpcu = in xpc_ext_transfer() 659 xts.in_bits = 0; in xpc_ext_transfer() 660 xts.out_bits = 0; in xpc_ext_transfer() [all …]
|
/dports/math/R-cran-xts/xts/man/ |
H A D | as.xts.methods.Rd | 1 \name{as.xts.methods} 2 \alias{as.xts.methods} 3 \alias{as.xts.timeSeries} 5 \alias{as.xts.xts} 6 \alias{as.xts.zoo} 7 \alias{as.xts.ts} 8 \alias{as.xts.fts} 10 \alias{as.xts.matrix} 11 \alias{as.fts.xts} 19 \method{as.xts}{xts}(x,...,.RECLASS=FALSE) [all …]
|
H A D | xts.Rd | 1 \name{xts} 2 \alias{xts} 3 \alias{is.xts} 8 \code{xts} is used to create an \code{xts} object from raw data inputs. 11 xts(x = NULL, 18 is.xts(x) 115 sample.xts <- as.xts(sample_matrix, descr='my new xts object') 117 class(sample.xts) 118 str(sample.xts) 121 attr(sample.xts,'descr') [all …]
|
H A D | diff.Rd | 1 \name{diff.xts} 2 \alias{diff.xts} 3 \alias{lag.xts} 4 \alias{lagts.xts} 5 \title{ Lags and Differences of xts Objects } 12 \method{lag}{xts}(x, k = 1, na.pad = TRUE, ...) 14 %\method{lagts}{xts}(x, k = 1, na.pad = TRUE, ...) 19 \item{x}{ an \code{xts} object } 43 defaults of lag.xts to k=-1 and na.pad=FALSE. 59 x <- xts(1:10, Sys.Date()+1:10) [all …]
|
/dports/devel/R-cran-data.table/data.table/man/ |
H A D | as.data.table.xts.Rd | 1 \name{as.data.table.xts} 2 \alias{as.data.table.xts} 3 \title{Efficient xts to as.data.table conversion} 5 Efficient conversion xts to data.table. 11 \item{x}{xts to convert to data.table} 16 \seealso{ \code{\link{as.xts.data.table}} } 19 data(sample_matrix, package = "xts") 20 sample.xts <- xts::as.xts(sample_matrix) # xts might not be attached on search path 21 # print head of xts 22 print(head(sample.xts)) [all …]
|