search for: testmod

Displaying 13 results from an estimated 13 matches for "testmod".

Did you mean: testmode
2009 Apr 09
3
[LLVMdev] Pass Manager Restriction?
...argetData object is added to the PassManager. Specifically, if ModPass1 above is changed to have addRequired<TargetData> then the first of the following code works, but the second fails with the TargetData assertion: ****** // Works! int main(int argc, char argv) { PassManager PM; Module TestMod = ...; PM.add(new TargetData(TestMod)); PM.add(new FunPass1); } ****** // Breaks with TargetData assertion rather than PMS.empty assertion int main(int argc, char argv) { PassManager PM; Module TestMod = ...; PM.add(new TargetData(TestMod)); PM.add(new ModPass2); } ******
2009 Apr 10
0
[LLVMdev] Pass Manager Restriction?
...er. Specifically, if ModPass1 above is > changed to have addRequired<TargetData> then the first of the > following code works, but the second fails with the TargetData > assertion: > > ****** > // Works! > int main(int argc, char argv) { > PassManager PM; > Module TestMod = ...; > PM.add(new TargetData(TestMod)); > PM.add(new FunPass1); > } > ****** > // Breaks with TargetData assertion rather than PMS.empty assertion > int main(int argc, char argv) { > PassManager PM; > Module TestMod = ...; > PM.add(new TargetData(TestMod)); > P...
2005 Jan 07
7
Channel Variable
Hi all, Does anyone know how to get the channel ID on the other side of the call? For example: When SIP/50 calls SIP/21, and the call is answered by SIP/21 I get: SIP/21-6735 answered SIP/50-b456 ${CHANNEL} will show me SIP/50-b456. Is there a parameter or a workaround to get the SIP/21-6735 part? Thanks. Assaf Benharoosh -------------- next part -------------- An HTML attachment was
2007 Jun 07
3
can i access module "files" w/o using client-server?
...puppet to find the module at all. I created a puppet.conf containing a modulepath declaration. At this point, even without a fileserver.conf file at all, it seems like puppet knows where my module is and should be able to find its files. Here is my test setup manifests/test.pp: import "testmod" include testmod modules/testmod/manifests/init.pp class testmod { file { "/tmp/hithere.txt": ensure => present, source => "/testmod/hello.txt" } } modules/testmod/files/hello.txt: hello world puppet.c...
2005 Nov 27
1
Question on KalmanSmooth
I am trying to use KalmanSmooth to smooth a time series fitted by arima (and with missing values), but the $smooth component of the output baffles me. Look at the following example: testts <- arima.sim(list(ar=0.9),n=100) testts[6:14] <- NA testmod <- arima(testts, c(1,0,0)) testsmooth <- KalmanSmooth(testts, testmod$model) par(mfrow=c(2,1)) plot(testsmooth$smooth, type="l") plot(testsmooth$var, type="l") Look at the lower panel plot, how the uncertainty of the smoothed values first is lowered, then being the highes...
2009 Apr 10
2
[LLVMdev] Pass Manager Restriction?
...is >> changed to have addRequired<TargetData> then the first of the >> following code works, but the second fails with the TargetData >> assertion: >> >> ****** >> // Works! >> int main(int argc, char argv) { >>  PassManager PM; >>  Module TestMod = ...; >>  PM.add(new TargetData(TestMod)); >>  PM.add(new FunPass1); >> } >> ****** >> // Breaks with TargetData assertion rather than PMS.empty assertion >> int main(int argc, char argv) { >>  PassManager PM; >>  Module TestMod = ...; >>  PM.a...
2012 Jul 02
1
[LLVMdev] Intrinsic::getDeclaration causing dump() segfault
...ncommented. This is with llvm 3.0. I'm only dipping my toes into the waters of llvm for the first time, and have no idea what I am doing incorrectly. In actual code, I would be wanting to call the memcpy intrinsic eventually, of course. int main(void) { Module *module = new Module("testmod", getGlobalContext()); FunctionType *ft = FunctionType::get( Type::getInt1Ty(getGlobalContext()), false); Function *func = Function::Create(ft, Function::ExternalLinkage, "", module); BasicBlock *bb = BasicBlock::Create(getGlo...
2015 Mar 04
0
Rebuilding SIS attachment links from log
...rbose provide verbose messages at each step" echo " -d | --debug provide additional debug messages" echo " -h | --help this screen" } while [ "$1" != "" ]; do case $1 in -d | --debug ) DEBUG=1 VERBOSE=1 ;; -t | --test-only ) TESTMODE=1 ;; -v | --verbose ) VERBOSE=1 ;; -h | --help ) usage exit ;; * ) usage exit 1 esac shift done while read -r LINE do ERR=$LINE # Format of log line has date, host, process, user, mail storage file, and then the # attachment path failure, followed by...
2015 Mar 03
3
Rebuilding SIS attachment links from log
This seems simple enough...I'm just not script wizard. If someone can throw together a starting point I can test and tweak it from there. It seems to me: 1. Read /var/mail/mail.err or specified logfile 2. For each "failed: read(/var/mail/attachments/aa/bb/attachmentHash-userHash" line, a. Confirm /var/mail/attachments/aa/bb/hashes/attachmentHash exists i. If
2020 Oct 17
10
[RFC] treewide: cleanup unreachable breaks
...return ath10k_htt_rx_proc_rx_frag_ind(htt, &resp->rx_frag_ind, skb); - break; } case HTT_T2H_MSG_TYPE_TEST: break; case HTT_T2H_MSG_TYPE_STATS_CONF: trace_ath10k_htt_stats(ar, skb->data, skb->len); diff --git a/drivers/net/wireless/ath/ath6kl/testmode.c b/drivers/net/wireless/ath/ath6kl/testmode.c index f3906dbe5495..89c7c4e25169 100644 --- a/drivers/net/wireless/ath/ath6kl/testmode.c +++ b/drivers/net/wireless/ath/ath6kl/testmode.c @@ -92,11 +92,10 @@ int ath6kl_tm_cmd(struct wiphy *wiphy, struct wireless_dev *wdev, ath6kl_wmi_test_cmd(ar...
2020 Oct 17
10
[RFC] treewide: cleanup unreachable breaks
...return ath10k_htt_rx_proc_rx_frag_ind(htt, &resp->rx_frag_ind, skb); - break; } case HTT_T2H_MSG_TYPE_TEST: break; case HTT_T2H_MSG_TYPE_STATS_CONF: trace_ath10k_htt_stats(ar, skb->data, skb->len); diff --git a/drivers/net/wireless/ath/ath6kl/testmode.c b/drivers/net/wireless/ath/ath6kl/testmode.c index f3906dbe5495..89c7c4e25169 100644 --- a/drivers/net/wireless/ath/ath6kl/testmode.c +++ b/drivers/net/wireless/ath/ath6kl/testmode.c @@ -92,11 +92,10 @@ int ath6kl_tm_cmd(struct wiphy *wiphy, struct wireless_dev *wdev, ath6kl_wmi_test_cmd(ar...
2020 Oct 17
1
[Cocci] [RFC] treewide: cleanup unreachable breaks
...probe line 58 drivers/pnp/pnpbios/rsparser.c: function pnpbios_encode_allocated_resource_data line 95 drivers/pnp/pnpbios/rsparser.c: function pnpbios_parse_compatible_ids line 48 drivers/pnp/pnpbios/rsparser.c: function pnpbios_parse_allocated_resource_data line 120 drivers/net/wireless/ath/ath6kl/testmode.c: function ath6kl_tm_cmd line 31 drivers/misc/mei/hbm.c: function mei_hbm_dispatch line 277 drivers/scsi/hptiop.c: function hptiop_finish_scsi_req line 45 drivers/pinctrl/samsung/pinctrl-s3c24xx.c: function s3c24xx_eint_get_trigger line 5 drivers/pinctrl/samsung/pinctrl-s3c24xx.c: function s3c24x...
2020 Oct 17
1
[Cocci] [RFC] treewide: cleanup unreachable breaks
...probe line 58 drivers/pnp/pnpbios/rsparser.c: function pnpbios_encode_allocated_resource_data line 95 drivers/pnp/pnpbios/rsparser.c: function pnpbios_parse_compatible_ids line 48 drivers/pnp/pnpbios/rsparser.c: function pnpbios_parse_allocated_resource_data line 120 drivers/net/wireless/ath/ath6kl/testmode.c: function ath6kl_tm_cmd line 31 drivers/misc/mei/hbm.c: function mei_hbm_dispatch line 277 drivers/scsi/hptiop.c: function hptiop_finish_scsi_req line 45 drivers/pinctrl/samsung/pinctrl-s3c24xx.c: function s3c24xx_eint_get_trigger line 5 drivers/pinctrl/samsung/pinctrl-s3c24xx.c: function s3c24x...