similar to: Noob: need help with go bindings

Displaying 20 results from an estimated 200 matches similar to: "Noob: need help with go bindings"

2016 Jun 29
0
Noob: need help with go bindings
On Wed, 29 Jun 2016 at 00:32 Brian Picciano via llvm-dev < llvm-dev at lists.llvm.org> wrote: > I have the following code to generate a really basic IR: > http://gobin.io/LtdJ > > And the output I get from it is: http://gobin.io/XgkH > > That IR code which is dumped seems to work fine if I do llc then gcc on > it, so I'm not sure why it won't work through the
2016 Jun 30
1
Noob: need help with go bindings
That did it, thanks for the help! For the future is there a set of documentation for these bindings, or their equivalent c functions? I tried looking but was having trouble finding anything that seemed to match. On Wed, Jun 29, 2016 at 1:35 AM Andrew Wilkins <axwalk at gmail.com> wrote: > On Wed, 29 Jun 2016 at 00:32 Brian Picciano via llvm-dev < > llvm-dev at lists.llvm.org>
2013 Jan 23
1
How to extract values of results in gamlss.tr
Dear R helpers, I have following loss data and I need to fit LEFT truncated Log Normal distribution to this data which is Truncated at 1000000. dat = c(1333834,5710254,9987567,7809469,6940935,3473671,1270209,1102523,1124002, 5830159,4302300,3925242,2638409,2324421,7238436,9088709,7439250,4976551,4864319, 8741334,1863770,7098310,4942288,4971829,4986372) library(gamlss.tr) gen.trun(5, LOGNO)
2013 Jul 26
1
[LLVMdev] Building libLLVMSupport library - special tricks?
Duncan, Yes, I'd been pretty much performing the same diagnosis in parallel - it seems we just don't have that libLLVMSupport library built. Last night, tried the build of clang a few different ways to get that library built - including specifying the --gcc-toolchain option. No Joy! Which of the clang/llvm source trees provides it? or is it in another source package? tools? Is there a
2013 Jul 25
1
[LLVMdev] First Pass at building dragon egg-3.3 for clang 3.3 - using gcc-4.7
Duncan, Many thanks for your comments. The core issue we're running into is this: $ GCC=/usr/bin/gcc LLVM_CONFIG=/usr/bin/llvm-config make Compiling utils/TargetInfo.cpp Linking TargetInfo ld: fatal: library -lLLVMSupport: not found ld: fatal: file processing errors. No output written to TargetInfo collect2: error: ld returned 1 exit statusAll other gyrations are attempts to shoehorn
2013 Mar 28
6
How to delete Identical columns
Dear R forum Suppose I have a data.frame df = data.frame(id = c(1:6), x = c(15, 21, 14, 21, 14, 38), y = c(36, 38, 55, 11, 5, 18), x.1 = c(15, 21, 14, 21, 14, 38), z = c("D", "B", "A", "F", "H", "P")) > df   id  x  y    x.1 z 1  1 15 36  15 D 2  2 21 38  21 B 3  3 14 55  14 A 4  4 21 11  21 F 5  5 14  5  14 H 6  6 38 18  38 P
2013 Apr 15
6
Sorting data.frame and again sorting within data.frame
Dear R forum, I have a data.frame as defied below - df = data.frame(names = c("C", "A", "A", "B", "C", "B", "A", "B", "C"), dates = c("4/15/2013", "4/13/2013", "4/15/2013", "4/13/2013", "4/13/2013", "4/15/2013", "4/14/2013",
2013 Apr 16
3
Splitting the Elements of character vector
Dear R forum I have a data.frame df = data.frame(currency_type = c("EURO_o_n", "EURO_o_n", "EURO_1w", "EURO_1w", "USD_o_n", "USD_o_n", "USD_1w", "USD_1w"), rates = c(0.47, 0.475, 0.461, 0.464, 1.21, 1.19, 1.41, 1.43))   currency_type     rates 1      EURO_o_n   0.470 2      EURO_o_n   0.475 3       EURO_1w   0.461
2013 Apr 17
3
Creating a vector with repeating dates
Dear R forum I have a data.frame df = data.frame(dates = c("4/15/2013", "4/14/2013", "4/13/2013", "4/12/2013"), values = c(47, 38, 56, 92)) I need to to create a vector by repeating the dates as "Current_date", 4/15/2013, 4/14/2013, 4/13/2013, 4/12/2013,  "Current_date", 4/15/2013, 4/14/2013, 4/13/2013, 4/12/2013, Current_date,
2013 Apr 23
0
Fw: Error with function - USING library(plyr)
Dear R forum, Please refer to my query regarding "Error with function". I forgot to mention that I am using "plyr" library. Sorry for inconvenience. Regards Katherine --- On Tue, 23/4/13, Katherine Gobin <katherine_gobin@yahoo.com> wrote: From: Katherine Gobin <katherine_gobin@yahoo.com> Subject: [R] Error with function To: r-help@r-project.org Date:
2013 Apr 23
0
Fw: " PROBLEM SOLVED" - Error with function
Dear R forum Please refer to my query captioned Error with function. I had missed in bracket ")" in the return statement and hence I was getting the error. I has struggled for more than 2 hours to find out the problem and only then has posted to the forum. I sincerely apologize to all for consuming your valuable time. Thanks for the efforts at your end. Regards Katherine --- On
2016 Aug 10
2
crash JIT with AVX intrinsics
Hi all, I have some old code using the JIT via the LLVM-3.0-C API. I want to upgrade to newer versions of LLVM. As a simple example I wrote a C program that creates the following function and calls it: ; ModuleID = 'round-avx.bc' target triple = "x86_64-pc-linux-gnu" define void @round(<8 x float>*) { _L1: %1 = load <8 x float>* %0 %2 = call <8 x
2018 Dec 31
0
Aw: Re: rsync remote raw block device with --inplace
These responses have been very useful. Thanks especially to *Roland* devzero at web.de <rsync%40lists.samba.org?Subject=Re%3A%20Aw%3A%20Re%3A%20rsync%20remote%20raw%20block%20device%20with%20--inplace&In-Reply-To=%3Ctrinity-177d08a5-29f5-475c-916b-85273fc31962-1546203055586%403c-app-webde-bs15%3E>because...I'm installing diskrsync <https://github.com/dop251/diskrsync> . So
2012 Dec 20
2
How to count the nos. in a range?
Dear R forum I have a following vector of random no.s x = runif(100, 0.01, 0.99)  [1] 0.47212037 0.77867992 0.33947474 0.93369035   [5] 0.03720073 0.79307831 0.81801835 0.92710688 ................................................. I need to count the random no. falling in the range (0 - 0.10), (0.10 - 0.20), (0.20 - 0.30)..upto (0.90 - 1) Thus, I need to have a data frame as
2013 Mar 26
2
Counting various elemnts in a vactor
Dear R forum I have a vector say as given below df = c("F", "C", "F", "B", "D", "A", "D", "D", "A", "F", "D", "F", "B",    "C") I need to find (1) how many times each element occurs? e.g. in above vector F occurs 4 times, C occurs 2 times etc. (2)
2012 Dec 21
2
Can data.frame be saved as image?
Dear R forum I have one stupid question, but I have no other solution to it in sight? Suppose some R process creates graphs etc alongwith main output as data.frame e.g output1 = data.frame(bands = c("A", "B", "C"), results = c(74, 108,  65)) I normally save this output as some csv file. But I need to save this output as some image (I understand this is weird,
2013 Oct 17
4
Subseting a data.frame
Dear Forum, I have a data frame as  mydat = data.frame(basel_asset_class = c(2, 8, 8 ,8), defa_frequency = c(0.15, 0.07, 0.03, 0.001)) > mydat   basel_asset_class defa_frequency 1                 2          0.150 2                 8          0.070 3                 8          0.030 4                 8          0.001 I need to get the subset of this data.frame where no of records for the
2013 Oct 17
4
Subseting a data.frame
Dear Forum, I have a data frame as  mydat = data.frame(basel_asset_class = c(2, 8, 8 ,8), defa_frequency = c(0.15, 0.07, 0.03, 0.001)) > mydat   basel_asset_class defa_frequency 1                 2          0.150 2                 8          0.070 3                 8          0.030 4                 8          0.001 I need to get the subset of this data.frame where no of records for the
2013 Apr 03
4
Better way of writing R code
Dear R forum, (Pl note this is not a finance problem) I have two data.frames as currency_df = data.frame(current_date = c("3/4/2013", "3/4/2013", "3/4/2013", "3/4/2013"), issue_date = c("27/11/2012", "9/12/2012", "14/01/2013", "28/02/2013"), maturity_date = c("27/04/2013", "3/5/2013",
2013 Oct 16
1
How to write an error to output
Dear R forum, The example below is just an indicative one and I have constructed it. My real life data and conditions are different. I have a data.frame as given below mydat = data.frame(A = c(19, 20, 19, 19, 19, 18, 16, 18, 19, 20), B = c(19, 20, 20, 19, 20, 18, 19, 18, 17, 16)) if (length(mydat$A) > 10) { stop("A has length more than 10") }else if (max(mydat$B) > 18) {