Displaying 3 results from an estimated 3 matches for "majmin".
Did you mean:
madmin
2016 Dec 19
2
[lld] RFC: Finding shared libraries on OpenBSD
...e EC;
+ for (fs::directory_iterator LI(Dir, EC), LE;
+ !EC && LI != LE; LI = LI.increment(EC)) {
+ StringRef FilePath = LI->path();
+ StringRef FileName = path::filename(FilePath);
+ if (!(FileName.startswith(LibName)))
+ continue;
+ std::pair<StringRef, StringRef> MajMin =
+ FileName.substr(LibName.size()).split('.');
+ int Maj, Min;
+ if (MajMin.first.getAsInteger(10, Maj) || Maj < 0)
+ continue;
+ if (MajMin.second.getAsInteger(10, Min) || Min < 0)
+ continue;
+ if (Maj > MaxMaj)
+ MaxMaj = Maj, MaxMin = Min;
+ if (MaxMaj == Maj &&...
2016 Dec 20
0
[lld] RFC: Finding shared libraries on OpenBSD
...t; + !EC && LI != LE; LI = LI.increment(EC)) {
> + StringRef FilePath = LI->path();
> + StringRef FileName = path::filename(FilePath);
> + if (!(FileName.startswith(LibName)))
> + continue;
> + std::pair<StringRef, StringRef> MajMin =
> + FileName.substr(LibName.size()).split('.');
> + int Maj, Min;
> + if (MajMin.first.getAsInteger(10, Maj) || Maj < 0)
> + continue;
> + if (MajMin.second.getAsInteger(10, Min) || Min < 0)
> + continue;
> + if (M...
2013 Jul 02
2
Recoding variables based on reference values in data frame
I'm new to R (previously used SAS primarily) and I have a genetics data
frame consisting of genotypes for each of 300+ subjects (ID1, ID2, ID3,
...) at 3000+ genetic locations (SNP1, SNP2, SNP3...). A small subset of
the data is shown below:
SNP_ID SNP1 SNP2 SNP3 SNP4 Maj_Allele C G C A Min_Allele T A T G ID1
CC GG CT AA ID2 CC GG CC AA ID3 CC GG
nc
AA