Displaying 20 results from an estimated 35 matches for "subfield".
Did you mean:
subfields
2006 Jun 20
2
Accessing date subfields
Hello,
I can't figure out a "proper" way to extract the month number from a Date class variable. I can do it like this:
> today <- as.Date(Sys.time())
> as.integer (format.Date (today, "%m"))
but it must be inefficient, since I convert a date to text and back to a number. I tried:
> months(today)
but the months() function returns the name of the month, not
2010 Mar 02
1
Reading data file with both fixed and tab-delimited fields
...documented in the file la.txt
<ftp://ftp.bls.gov/pub/time.series/la/la.txt>. Each data file has five
tab-delimited fields:
* series_id
* year
* period (codes for things like quarter or month of year)
* value
* footnote_codes
The series_id consists of five fixed-width subfields (length in
parentheses):
* survey abbreviation (2)
* seasonal code (1)
* area type code (2)
* area code (6)
* measure code (2)
So an example record might be:
LASPS36040003 1990 M01 8.8 L
I want to read in the data in one pass and convert them to a data frame with the follo...
2010 Sep 01
3
[LLVMdev] Assertion failure in tablegen: rationale ?
...n.cpp:196
#13 0x0000000000550116 in main (argc=3, argv=0x7fffffffe208) at
TableGen.cpp:206
Looking at the code, it's triggered because UnOpInit::getFieldType only
handles the cast<> operator. I don't see a good reason for this given that
!car can give a value of which we can access a subfield. Of course, a
trivial solution to the problem is to use !cast with !car but this seems
ugly to me:
class Bli<string _t>
{
string t = _t;
}
class Bla<list<Bli> _bli>
: Bli<!cast<Bli>(!car(_bli)).t>
{
}
Is this a bug or is it the wanted behaviour that a cast must...
2010 Sep 01
0
[LLVMdev] Assertion failure in tablegen: rationale ?
...#13 0x0000000000550116 in main (argc=3, argv=0x7fffffffe208) at TableGen.cpp:206
>
> Looking at the code, it's triggered because UnOpInit::getFieldType only handles the cast<> operator. I don't see a good reason for this given that !car can give a value of which we can access a subfield. Of course, a trivial solution to the problem is to use !cast with !car but this seems ugly to me:
>
>
> class Bli<string _t>
> {
> string t = _t;
> }
>
> class Bla<list<Bli> _bli>
> : Bli<!cast<Bli>(!car(_bli)).t>
> {
> }
>...
2015 Feb 05
5
[LLVMdev] [lld] Representation of lld::Reference with a fake target
Hi,
I need an advice on implementation of a very specific kind of relocations
used by MIPS N64 ABI. As usual the main problem is how to pass target specific
data over Native/YAML conversion barrier.
In this ABI relocation record r_info field in fact consists of five subfields:
* r_sym - symbol index
* r_ssym - special symbol
* r_type3 - third relocation type
* r_type2 - second relocation type
* r_type - first relocation type
Up to three these relocations applied one by one. The first relocation uses
an addendum from the relocation record. Each subsequent relocatio...
2010 Sep 01
1
[LLVMdev] Assertion failure in tablegen: rationale ?
...b : Bla<!cast<Bla>(a.bla).blu>; // works
def b : Bla<a.bla.blu>; // doesn't work: Cannot access field 'blu' of value
'a.bla'
Although these issue are not the same, there are similar in the sense that
any Value of which the type is a class should have a working subfield lookup
and should not require a cast. Except if I'm missing something and there is
a real issue underneath.
Amaury Pouly
2010/9/1 Chris Lattner <clattner at apple.com>
>
> On Sep 1, 2010, at 4:35 AM, Amaury Pouly wrote:
>
> > Hello,
> > I was fiddling with TableGe...
2015 Feb 06
4
[LLVMdev] [lld] Representation of lld::Reference with a fake target
...on implementation of a very specific kind of relocations
>> used by MIPS N64 ABI. As usual the main problem is how to pass target
>> specific
>> data over Native/YAML conversion barrier.
>>
>> In this ABI relocation record r_info field in fact consists of five
>> subfields:
>> * r_sym - symbol index
>> * r_ssym - special symbol
>> * r_type3 - third relocation type
>> * r_type2 - second relocation type
>> * r_type - first relocation type
>>
>> Up to three these relocations applied one by one. The first relocation
>>...
2015 Feb 07
2
[LLVMdev] [lld] Representation of lld::Reference with a fake target
...;
> I need an advice on implementation of a very specific kind of relocations
> used by MIPS N64 ABI. As usual the main problem is how to pass target
> specific
> data over Native/YAML conversion barrier.
>
> In this ABI relocation record r_info field in fact consists of five
> subfields:
> * r_sym - symbol index
> * r_ssym - special symbol
> * r_type3 - third relocation type
> * r_type2 - second relocation type
> * r_type - first relocation type
>
> Up to three these relocations applied one by one. The first relocation
> uses
> an addendum from the...
2015 Feb 07
2
[LLVMdev] [lld] Representation of lld::Reference with a fake target
...ns
> >>> used by MIPS N64 ABI. As usual the main problem is how to pass target
> >>> specific
> >>> data over Native/YAML conversion barrier.
> >>>
> >>> In this ABI relocation record r_info field in fact consists of five
> >>> subfields:
> >>> * r_sym - symbol index
> >>> * r_ssym - special symbol
> >>> * r_type3 - third relocation type
> >>> * r_type2 - second relocation type
> >>> * r_type - first relocation type
> >>>
> >>> Up to three thes...
2000 Feb 23
3
newbie desperate for help
I just installed Samba for the first time. Installed and setup like a dream. Unfortunately, I can't login to save my life. The server appears in the Net. Neighborhood, but when I double-click to login, the login window give the following message:
Incorrect password or unknown username for \\SERVERNAME
Entering a username and password (from /etc/passwd) returns:
\\SERVERNAME is not
2015 Feb 09
2
[LLVMdev] [lld] Representation of lld::Reference with a fake target
...e on implementation of a very specific kind of relocations
>>> used by MIPS N64 ABI. As usual the main problem is how to pass target specific
>>> data over Native/YAML conversion barrier.
>>>
>>> In this ABI relocation record r_info field in fact consists of five subfields:
>>> * r_sym - symbol index
>>> * r_ssym - special symbol
>>> * r_type3 - third relocation type
>>> * r_type2 - second relocation type
>>> * r_type - first relocation type
>>>
>>> Up to three these relocations applied one by one. T...
2015 Feb 07
4
[LLVMdev] [lld] Representation of lld::Reference with a fake target
...l the main problem is how to pass
> target
> >> >>> specific
> >> >>> data over Native/YAML conversion barrier.
> >> >>>
> >> >>> In this ABI relocation record r_info field in fact consists of five
> >> >>> subfields:
> >> >>> * r_sym - symbol index
> >> >>> * r_ssym - special symbol
> >> >>> * r_type3 - third relocation type
> >> >>> * r_type2 - second relocation type
> >> >>> * r_type - first relocation type
> &g...
2007 Aug 07
0
Job postings are officially OK
...r the job postings get too
frequent because our community becomes so healthy.
My goal is to build a job board eventually, so it''ll be easy for
people to share and search job postings, because I think it''s
important to make it easy for people interested and skilled in this
subfield to stay within it and continue to help the community
forward, but I''m not going to bother with the job board until we''ve
had some success helping people find employees or employment.
So, post away for the foreseeable future.
--
I have learned to use the word ''im...
2015 Feb 07
2
[LLVMdev] [lld] Representation of lld::Reference with a fake target
...w to pass
>> target
>> >> >>> specific
>> >> >>> data over Native/YAML conversion barrier.
>> >> >>>
>> >> >>> In this ABI relocation record r_info field in fact consists of five
>> >> >>> subfields:
>> >> >>> * r_sym - symbol index
>> >> >>> * r_ssym - special symbol
>> >> >>> * r_type3 - third relocation type
>> >> >>> * r_type2 - second relocation type
>> >> >>> * r_type - first rel...
2015 Feb 09
2
[LLVMdev] [lld] Representation of lld::Reference with a fake target
...ocations
>>>>> used by MIPS N64 ABI. As usual the main problem is how to pass target
>> specific
>>>>> data over Native/YAML conversion barrier.
>>>>>
>>>>> In this ABI relocation record r_info field in fact consists of five
>> subfields:
>>>>> * r_sym - symbol index
>>>>> * r_ssym - special symbol
>>>>> * r_type3 - third relocation type
>>>>> * r_type2 - second relocation type
>>>>> * r_type - first relocation type
>>>>>
>>>>...
2007 Dec 10
1
[git patch] m-i-t support, ipconfig fix
...if /* _SYS_ELF64_H */
diff --git a/usr/include/sys/elfcommon.h b/usr/include/sys/elfcommon.h
index 0d81db5..ad5e459 100644
--- a/usr/include/sys/elfcommon.h
+++ b/usr/include/sys/elfcommon.h
@@ -184,4 +184,14 @@
#define ELFOSABI_NONE 0
#define ELFOSABI_LINUX 3
+/* Legal values for ST_BIND subfield of st_info (symbol binding). */
+#define STB_LOCAL 0 /* Local symbol */
+#define STB_GLOBAL 1 /* Global symbol */
+#define STB_WEAK 2 /* Weak symbol */
+#define STB_NUM 3 /* Number of defined types. */
+#define STB_LOOS 10 /* Start of OS-specific */
+#define STB_HIOS 12 /* End of OS-specif...
2014 Jan 21
0
[PATCH] builder: proper consider subkeys in index files
...Store_field (fv, j, v); /* assign to return array of fields */
}
diff --git a/builder/index-scan.l b/builder/index-scan.l
index 9a6a0e3..7a9618f 100644
--- a/builder/index-scan.l
+++ b/builder/index-scan.l
@@ -58,10 +58,17 @@ extern void yyerror (const char *);
/* field=value or field[subfield]=value */
^[A-Za-z0-9_.]+("["[A-Za-z0-9_,.]+"]")?"=".*\n {
- size_t i = strcspn (yytext, "=");
+ size_t i = strcspn (yytext, "=[");
yylval.field = malloc (sizeof (struct field));...
2014 Jan 21
2
Re: [PATCH] builder: proper consider subkeys in index files
On Tuesday 21 January 2014 16:37:20 Richard W.M. Jones wrote:
> On Tue, Jan 21, 2014 at 05:18:27PM +0100, Pino Toscano wrote:
> > + sv = caml_copy_string (fields->subkey ? fields->subkey : "");
> >
> > Store_field (v, 1, sv);
>
> Heh, sure would be nice if this was an option type :-)
>
> I believe the following should work:
>
>
2014 Mar 21
0
[PATCH RFC V2 4/4] tools: virtio: add a top-like utility for displaying vhost satistics
...in(sys_tracing, 'events', event_set)
+ self.event_set = event_set
+ fields = [f
+ for f in os.listdir(path)
+ if os.path.isdir(os.path.join(path, f))]
+ extra = []
+ for f in fields:
+ if f in filters:
+ subfield, values = filters[f]
+ for name, number in values.iteritems():
+ # kvm_exit(MMIO)
+ extra.append(f + '(' + name + ')')
+ fields += extra
+ self._setup(fields)
+ self.select(fields)
+ def fields(self):
+...
2007 Sep 22
3
[git patch] module-init-tools fixes
...if /* _SYS_ELF64_H */
diff --git a/usr/include/sys/elfcommon.h b/usr/include/sys/elfcommon.h
index 0d81db5..ad5e459 100644
--- a/usr/include/sys/elfcommon.h
+++ b/usr/include/sys/elfcommon.h
@@ -184,4 +184,14 @@
#define ELFOSABI_NONE 0
#define ELFOSABI_LINUX 3
+/* Legal values for ST_BIND subfield of st_info (symbol binding). */
+#define STB_LOCAL 0 /* Local symbol */
+#define STB_GLOBAL 1 /* Global symbol */
+#define STB_WEAK 2 /* Weak symbol */
+#define STB_NUM 3 /* Number of defined types. */
+#define STB_LOOS 10 /* Start of OS-specific */
+#define STB_HIOS 12 /* End of OS-specif...