Displaying 5 results from an estimated 5 matches for "get_num".
Did you mean:
get_name
2010 May 26
2
[LLVMdev] i256 for x86_64
...out =
"e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
target triple = "x86_64-unknown-linux-gnu"
define i32 @main(i32 %argc, i8** nocapture %argv) nounwind {
entry:
%0 = tail call i256 (...)* @get_num() nounwind ;comment here
ret i32 0
}
declare i256 @get_num(...)
---------------------------------------------
First line of error:
Call result #2 has unhandled type i64UNREACHABLE executed at
CallingConvLower.cpp:148!
-------------- next part --------------
An HTML attachment was scrubbed......
2010 May 26
0
[LLVMdev] i256 for x86_64
...8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
> target triple = "x86_64-unknown-linux-gnu"
>
> define i32 @main(i32 %argc, i8** nocapture %argv) nounwind {
> entry:
>
> %0 = tail call i256 (...)* @get_num() nounwind ;comment here
> ret i32 0
> }
>
> declare i256 @get_num(...)
>
> ---------------------------------------------
>
> First line of error:
>
> Call result #2 has unhandled type i64UNREACHABLE executed at CallingConvLower.cpp:148!
> ____________________...
2010 May 26
2
[LLVMdev] i256 for x86_64
...-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
> > target triple = "x86_64-unknown-linux-gnu"
> >
> > define i32 @main(i32 %argc, i8** nocapture %argv) nounwind {
> > entry:
> >
> > %0 = tail call i256 (...)* @get_num() nounwind ;comment here
> > ret i32 0
> > }
> >
> > declare i256 @get_num(...)
> >
> > ---------------------------------------------
> >
> > First line of error:
> >
> > Call result #2 has unhandled type i64UNREACHABLE executed at
>...
2013 Oct 18
0
[RFC/PATCH 3/3] Wire up MultiFS support.
...artition %i\n",
+ iter->abs_lba, iter->index, partition);
+
+ *_iter = iter;
+ return 0;
+bail:
+ pi_del(&iter);
+ return -1;
+}
+
+/*
+ * Get a number till the delimiter is found.
+ *
+ * @ret: addr to delimiter+1 on success, NULL on failure.
+ */
+static const char *get_num(const char *p, char delimiter, uint8_t *data)
+{
+ uint32_t n = 0;
+
+ while (*p) {
+ if (*p < '0' || *p > '9')
+ break;
+
+ n = (n * 10) + (*p - '0');
+ p++;
+
+ if (*p == delimiter) {
+ p++; /* Skip delimiter */
+ *data = min(n, UINT8_MAX); /* Avoi...
2015 Jul 22
13
[PULL 0/8] MultiFS suppport for BIOS and EFI
So last week I was wondering if XFS was still working -- even with its
last on-disk structure changes -- and it _suprisingly_ worked as
expected. Right, now I can finally get rid of GRUB and use Syslinux to
boot my Linux on EFI from a rootfs with xfs. Shit, I have two
partitions (the first one being the required ESP) so there is no way to
access the other partitions since because Syslinux does not