text:
002},
pages = {1--59},
month = aug
}

@article{Anonymous:tzM-UfIr,
title = {{Rule-based Forwarding (RBF): improving the Internet{\textquoteright}s flexibility and security}},
year = {2009},
pages = {1--6},
month = oct
}

@inproceedings{Zhang:eh,
author = {Zhang, Liang-Jie and Zhou, Qun},
title = {{CCOA: Cloud Computing Open Architecture}},
booktitle = {2009 IEEE International Conference on Web Services (ICWS)},
pages = {607--616},
publisher = {IEEE}
}

@article{Asaduzzaman:tq,
author = {Asaduzzaman, Shah and Maheswaran, Muthucumaru},
title = {{How the Time-Before-Failure Reacts to Periodic Rejuvenation}},
pages = {3--4}
}

@article{Anonymous:IZaO7DzS,
title = {{Survivable Service-Oriented Computing Systems for Hostile Enviornments}},
year = {2007},
pages = {1--32},
month = sep
}

@article{Anonymous:UcAruvdg,
title = {{security and Privacy Challenges in the smart Grid}},
year = {2009},
pages = {1--3},
month = apr
}

@article{Anonymous:xJdu27Eb,
title = {{Smart Messages: A Distributed Computing Platform for Networks of Embedded Systems}},
year = {2003},
pages = {1--23},
month = dec
}

@article{Anonymous:vDfOpr6P,
title = {{arXiv:physics/0603222 v1 27 Mar 2006}},
year = {2006},
pages = {1--8},
month = may
}

@article{Golbeck:2011wn,
author = {Golbeck, Jennifer},
title = {{Identity Management Directions in Future Internet}},
year = {2011},
pages = {1--10},
month = nov
}

@article{Anonymous:56kEoSZJ,
title = {{mani.dvi}},
year = {2004},
pages = {1--1},
month = nov
}

@article{Anonymous:SNUFVPSn,
title = {{arXiv:physics/0504026 v2 7 May 2005}},
year = {2005},
pages = {1--13},
month = may
}

@article{Anonymous:wSzyKUWg,
title = {{Geoffrey G. Xie}},
year = {2000},
pages = {1--6},
month = jul
}

@article{Anonymous:0lJTAeem,
title = {{Game Kit Programming Guide}},
year = {2010},
pages = {1--84},
month = sep
}

@article{Maheswaran:2002vl,
author = {Maheswaran, Muthucumaru},
title = {{Pervasive Storage: Quality of Service Aware Wide-Area Storage Management}},
year = {2002},
pages = {1--7},
month = oct
}

@article{Anonymous:RrxMQyhE,
title = {{Wireless GINI: An Emulator for Ad-hoc Wireless Local Area Networks}},
year = {2005},
pages = {1--115},
month = oct
}

@article{JeHongPark:id,
author = {Je Hong Park and Minkyu Kim and Daesung Kwon},
title = {{Security Weakness in the Smart Grid Key Distribution Scheme Proposed by Xia and Wang}},
journal = {IEEE Transactions on Smart Grid},
volume = {4},
number = {3},
pages = {1613--1614}
}

@article{Anonymous:IllCvl-Z,
title = {{COMP 535 - wGINI Ethernet Gateway Report v4}},
year = {2012},
pages = {1--19},
month = dec
}

@inproceedings{schilit1994context,
author = {Schilit, Bill and Adams, Norman and Want, Roy},
title = {{Context-aware computing applications}},
booktitle = {First Workshop on Mobile Computing Systems and Applications, 1994. WMCSA 1994.},
year = {1994},
pages = {85--90},
organization = {IEEE}
}

@techreport{Anonymous:l9qG-KDT,
title = {{Laboratories over Web: Concept, Opportunities, and Challenges}},
year = {2013},
month = nov
}

@article{Anonymous:UZUzUZGN,
title = {{ XeTeX output 2008.05.06:1904}},
year = {2008},
pages = {1--78},
month = may
}

@article{Anonymous:TMHP01kk,
title = {{Arrakis: A Case for the End of the Empire}},
year = {2013},
pages = {1--7},
month = apr
}

@article{Zittrain:2012ur,
author = {Zittrain, Jonathan},
title = {{Research Publication No. 2012-10 April 2012}},
year = {2012},
pages = {1--20},
month = may
}

@article{vermesan2011internet,
author = {Vermesan, Ovidiu and Friess, Peter and Guillemin, Patrick and Gusmeroli, Sergio and Sundmaeker, Harald and Bassi, Alessandro and Jubert, Ignacio Soler and Mazura, Margaretha and Harrison, Mark and Eisenhauer, M and {others}},
title = {{Internet of Things Strategic Research Roadmap}},
journal = {Internet of Things-Global Technological and Societal Trends},
year = {2011},
pages = {9--52}
}

@article{Asaduzzaman:2006gl,
author = {Asaduzzaman, Shah and Maheswaran, Muthucumaru},
title = {{Utilizing unreliable public resources for higher profit and better SLA compliance in computing utilities}},
journal = {Journal of Parallel and Distributed Computing},
year = {2006},
volume = {66},
number = {6},
pages = {796--806},
month = jun
}

@article{Niederer:2010ce,
author = {Niederer, S and van Dijck, J},
title = {{Wisdom of the crowd or technicity of content? Wikipedia as a sociotechnical system}},
journal = {New Media {\&} Society},
year = {2010},
volume = {12},
number = {8},
pages = {1368--1387},
month = dec
}

@incollection{daCosta:2013jc,
author = {daCosta, Francis},
title = {{Pathways to the Internet of Things}},
booktitle = {Rethinking the Internet of Things},
year = {2013},
pages = {143--160},
publisher = {Apress},
month = jan
}

@article{Anonymous:naXc-f9_,
title = {{CA-in-a-Box}},
year = {2005},
pages = {1--11},
month = apr
}

@article{Anonymous:ReZesC1F,
title = {{Performance Evaluation of JXTA Communication Layers}},
year = {2014},
pages = {1--8},
month = nov
}

@techreport{Anonymous:rGf0ZO_M,
title = {{Science Clouds: Early Experiences in Cloud Computing for Scientific Applications}},
year = {2008},
month = aug
}

@article{Anonymous:4kfaYNAU,
title = {{QoS-Based Unicast Routing Algorithms for High Speed Internetworks}},
year = {2001},
pages = {1--9},
month = mar
}

@article{Anonymous:1DZuBlFq,
title = {{Data Quality Challenges in Crowdsourcing Systems}},
year = {2014},
pages = {1--4},
month = jan
}

@article{mahes:2006wh,
author = {{mahes25}},
title = {{EDAS (105010 - maheswar@cs.mcgill.ca): {\#}1568997672: Trusted G...}},
year = {2006},
pages = {1--3},
month = nov
}

@article{mahes:2009vuc,
author = {{mahes25}},
title = {{Socially Governed Networks}},
year = {2009},
pages = {1--2},
month = feb
}

@article{IJCSI:2011wz,
author = {{IJCSI}},
title = {{A Survey on Web-based AR Applications}},
year = {2011},
pages = {1--9},
month = aug
}

@article{Anonymous:PmIV2DGB,
title = {{Spectroscopy of traceroute delays}},
year = {2005},
pages = {1--14},
month = mar
}

@article{Anonymous:Ro7aO8ft,
title = {{bare_conf.dvi}},
year = {2012},
pages = {1--26},
month = nov
}

@article{Giani:br,
author = {Giani, Annarita and Bitar, Eilyan and Garcia, Manuel and McQueen, Miles and Khargonekar, Pramod and Poolla, Kameshwar},
title = {{Smart Grid Data Integrity Attacks}},
journal = {IEEE Transactions on Smart Grid},
volume = {4},
number = {3},
pages = {1244--1253}
}

@article{perrig2002spins,
author = {Perrig, Adrian and Szewczyk, Robert and Tygar, J D and Wen, Victor and Culler, David E},
title = {{SPINS: Security protocols for sensor networks}},
journal = {Wireless networks},
year = {2002},
volume = {8},
number = {5},
pages = {521--534}
}

@article{Anonymous:4tbnPMyS,
title = {{xetexmain}},
year = {2010},
pages = {1--112},
month = aug
}

@techreport{BruceSchneier,
title = {{The Internet of Things Is Wildly Insecure {\textemdash} And Often Unpatchable}},
year = {2014},
month = apr
}

@article{Anglehart:2008vg,
author = {Anglehart, James},
title = {{Specification}},
year = {2008},
pages = {1--42},
month = sep
}

@incollection{cheng2008self,
author = {Cheng, Lawrence and Galis, Alex and Mathieu, Bertrand and Jean, Kerry and Ocampo, Roel and Mamatas, Lefteris and Rubio-Loyola, Javier and Serrat, Joan and Berl, Andreas and de Meer, Hermann and {others}},
title = {{Self-organising Management Overlays for Future Internet Services}},
booktitle = {Modelling Autonomic Communications Environments},
year = {2008},
pages = {74--89},
publisher = {Springer}
}

@article{Anonymous:0b7Xuh8y,
title = {{7113X.pdf}},
year = {2004},
pages = {1--9},
month = dec
}

@article{Anonymous:sTMoQBha,
title = {{Quality of Business Driven Service Composition and Utility Computing}},
year = {2002},
pages = {1--18},
month = mar
}

@article{Matsuoka:2006vg,
author = {Matsuoka, Hosei Nakashima Yusuke Yoshimura Takeshi},
title = {{Acoustic Communication with OFDM Signal Embedded in Audio}},
year = {2006},
pages = {1--6},
month = jun
}

@article{Anonymous:74Wxg7kR,
title = {{OPE Study Guide(2)}},
year = {2010},
pages = {1--274},
month = feb
}

@article{Author:2009vw,
author = {{Author}},
title = {{Secure Document Service for Cloud Computing}},
year = {2009},
pages = {1--6},
month = nov
}

@article{Anonymous:2DA3IHa0,
title = {{Design and Implementation of the}},
year = {2002},
pages = {1--10},
month = sep
}

@article{Yuanyuan:2006tt,
author = {Yuanyuan, Gao},
title = {{Implementing and Evaluating Network Positioning in the Resource Addressable Network}},
year = {2006},
pages = {1--69},
month = dec
}

@article{Anonymous:rUlAsy8J,
title = {{The Design Principles of PlanetLab}},
year = {2006},
pages = {1--7},
month = feb
}

@inproceedings{Pignotti:2013:TTT:2523501.2523503,
author = {Pignotti, Edoardo and Edwards, Peter},
title = {{Trusted Tiny Things: Making the Internet of Things More Transparent to Users}},
booktitle = {Proceedings of the International Workshop on Adaptive Security},
year = {2013},
pages = {2:1--2:4},
publisher = {ACM},
address = {New York, NY, USA}
}

@inproceedings{Mockapetris:1984uz,
author = {Mockapetris, Paul V},
title = {{The domain name system}},
booktitle = {Proc. of the IFIP WG 6.5 working conference on Computer-based message services},
year = {1984},
publisher = {~Elsevier North-Holland, Inc},
month = nov
}

@article{Anonymous:_gGEDbZa,
title = {{Hosting Online Game on Wide-Area Computing Utilities Using Model-based Resource Provisioning}},
year = {2014},
pages = {1--47},
month = nov
}

@article{Anonymous:S05VuQSk,
title = {{myForm58}},
year = {1998},
pages = {1--2},
month = oct
}

@article{:2005vf,
author = {10, kerr},
title = {{Microsoft Word - Brands 11-27.doc}},
year = {2005},
pages = {1--17},
month = apr
}

@article{mahes:2008vp,
author = {{mahes25}},
title = {{Digital Identity Providers from Web-Based Social Networks}},
year = {2008},
pages = {1--12},
month = feb
}

@inproceedings{Hendricks,
author = {Hendricks, James and van Doorn, Leendert},
title = {{Secure Bootstrap is Not Enough: Shoring Up the Trusted Computing Base}},
booktitle = {Proceedings of the 11th Workshop on ACM SIGOPS European Workshop},
year = {2004},
publisher = {ACM},
address = {New York, NY, USA}
}

@article{Asaeda:2014ds,
author = {Asaeda, H and Li, Ruidong and Choi, Nakjung},
title = {{Container-based unified testbed for information-centric networking}},
journal = {Network, IEEE},
year = {2014},
volume = {28},
number = {6},
pages = {60--66}
}

@article{Anonymous:lu1HwJ54,
title = {{􏷼$􏷿􏷾􏸀 􏷽 %􏸃􏷼}},
year = {1909},
pages = {1--9},
month = dec
}

@article{IBM:2006wm,
author = {{IBM}},
title = {{TCP/IP Tutorial and Technical Overview}},
year = {2006},
pages = {1--1004},
month = dec
}

@article{Anonymous:eEDbT5ks,
title = {{A Client-Aware Dispatching Algorithm for Web Clusters Providing Multiple Services}},
year = {2001},
pages = {1--10},
month = feb
}

@article{Anonymous:hWSiV_W1,
title = {{reco_robert.dvi}},
year = {2010},
pages = {1--1},
month = jan
}

@article{u:2009un,
author = {000u, 376 377 000S 000h 000u 000p 000i 000n 000g 000 000L 000i},
title = {{\376\377\000C\000h\000e\000d\000u\000-\000S\000C\000C\0000\0009\000-\000s\000u\000b\000m\000i\000t\000t\000e\000d\000-\000S\000e\000p\000t\0007\000-\0002\0000\0000\0009}},
year = {2009},
pages = {1--8},
month = sep
}

@article{sarma2009identities,
author = {Sarma, Amardeo C and Gir{\~a}o, Jo{\~a}o},
title = {{Identities in the future internet of things}},
journal = {Wireless Personal Communications},
year = {2009},
volume = {49},
number = {3},
pages = {353--363}
}

@article{Blankstein:2014bh,
author = {Blankstein, Aaron and Freedman, Michael J},
title = {{Automating Isolation and Least Privilege in Web Services.}},
journal = {IEEE Symposium on Security and Privacy},
year = {2014},
pages = {133--148}
}

@article{Anonymous:NPlfcYnD,
title = {{A Secured Trust and Incentive Management Framework for Public-Resource Based Computing Utilities}},
year = {2014},
pages = {1--13},
month = nov
}

@inproceedings{Thereska:2013cn,
author = {Thereska, Eno and Ballani, Hitesh and O'Shea, Greg and Karagiannis, Thomas and Rowstron, Antony and Talpey, Tom and Black, Richard and Zhu, Timothy},
title = {{IOFlow}},
booktitle = {the Twenty-Fourth ACM Symposium},
year = {2013},
pages = {182--196},
publisher = {ACM Press},
address = {New York, New York, USA}
}

@article{heterogeneity,
author = {De Poorter, Eli and Moerman, Ingrid and Demeester, Piet},
title = {{Enabling Direct Connectivity Between Heterogeneous Objects in the Internet of Things Through a Network-Service-Oriented Architecture}},
journal = {EURASIP Journal on Wireless Communications and Networking},
year = {2011},
volume = {2011},
number = {1},
pages = {61}
}

@article{Cooper:2004cg,
author = {Cooper, Alan},
title = {{Game Theory and Partnership in Child Protection Practice}},
journal = {Practice},
year = {2004},
volume = {16},
number = {3},
pages = {165--184},
month = sep
}

@article{Agarwal:2009uo,
author = {Agarwal, Nitin and Liu, Huan and Murthy, Sudheendra and Sen, Arunabha and Wang, Xufei},
title = {{A Social Identity Approach to Identify Familiar Strangers in a Social Network}},
year = {2009},
pages = {1--8},
month = mar
}

@inproceedings{Distefano:hw,
author = {Distefano, Salvatore and Merlino, Giovanni and Puliafito, Antonio},
title = {{Enabling the Cloud of Things}},
booktitle = {2012 Sixth International Conference on Innovative Mobile and Internet Services in Ubiquitous Computing (IMIS)},
pages = {858--863},
publisher = {IEEE}
}

@article{Anonymous:ifjYdD2Q,
title = {{CURRICULUM VITAE 2003}},
year = {2014},
pages = {1--16},
month = nov
}

@techreport{SANS,
author = {Pescatore, John},
title = {{Securing the ``Internet of Things'' Survey}},
year = {2014},
month = jan
}

@article{Anonymous:2014ch,
title = {{Data Quality Challenges in Crowdsourcing Systems}},
year = {2014},
pages = {1--13},
month = jun
}

@article{maheswar:2004vb,
author = {{maheswar}},
title = {{Microsoft Word - Extended_abstract.doc}},
year = {2004},
pages = {1--2},
month = oct
}

@article{Anonymous:SdP9322A,
title = {{arXiv:1309.3914v1 [cs.PL] 16 Sep 2013}},
year = {2013},
pages = {1--7},
month = sep
}

@techreport{MicroPassport,
title = {{Microsoft Passport: Streamlining Commerce and Communication on the Web}},
year = {2014},
month = apr
}

@article{Anonymous:NbdqJRyf,
title = {{Allocating Independent Tasks to Parallel Processors: An Experimental Study}},
year = {1998},
pages = {1--13},
month = feb
}

@article{Anonymous:9JsKVKKC,
title = {{Leveraging Spatial Reuse in 802.11 Mesh Networks with Enhanced Physical Carrier Sensing}},
year = {2001},
pages = {1--8},
month = jul
}

@article{Abbas:2014bj,
author = {Abbas, Haider and Qaemi Mahmoodzadeh, Moeen and Aslam Khan, Farrukh and Pasha, Maruf},
title = {{Identifying an OpenID anti-phishing scheme for cyberspace}},
journal = {Security and Communication Networks},
year = {2014},
pages = {n/a--n/a},
month = may
}

@article{Anonymous:OMpgoLIt,
title = {{WebJail: Least-privilege Integration of Third-party Components in Web Mashups}},
year = {2011},
pages = {1--10},
month = sep
}

@article{Anonymous:YCNAKHDV,
title = {{Bandwidth and Echo: Trust, Information, and Gossip in Social Networks}},
year = {2001},
pages = {1--42},
month = mar
}

@article{Anonymous:eDGdWirP,
title = {{SVMult Document Class Author Instructionsfor{\textendash} Contributed Books {\textendash}}},
year = {2008},
pages = {1--13},
month = jun
}

@article{Anonymous:2UxM1Mg3,
title = {{untitled}},
year = {2006},
pages = {1--31},
month = jul
}

@webpage{Anonymous:XqEWEFMa,
title = {{New Study: 'Cloud of Things' Could Make Customer Service Better, Humanity Worse - The Atlantic}},
year = {2014},
month = nov,
url = {http://www.theatlantic.com/technology/archive/2014/05/new-study-cloud-of-things-could-make-customer-service-better-humanity-worse/370852/?single_page=true}
}

@article{Anonymous:JidXuYxA,
title = {{A Trust Brokering System and Its Application to Resource Management in Public-Resource Grids}},
year = {2003},
pages = {1--18},
month = oct
}

@article{Anonymous:-quQDx14,
title = {{Chapter 24 Property Rights}},
year = {2010},
pages = {1--13},
month = feb
}

@article{Anonymous:9KT4_DJy,
title = {{Using Social Networks as Privacy Preserving Digital Identity Providers}},
year = {2007},
pages = {1--6},
month = nov
}

@article{vkeirl:2011wt,
author = {{vkeirl}},
title = {{Microsoft Word - Annual Activities Solicitation.0809.doc}},
year = {2011},
pages = {1--3},
month = jan
}

@webpage{Anonymous:6zUlOzr_,
title = {{NeWS - eNotes.com Reference}},
year = {2011},
month = sep
}

@article{Anonymous:PUo5PGAA,
title = {{Distributed Admission Control, Scheduling, and Routing with Stale Information}},
year = {2001},
pages = {1--9},
month = mar
}

@article{asad:2008tk,
author = {{asad}},
title = {{Managing Opportunistic and Dedicated Resources in a Bi-modal Service Deployment Architecture}},
year = {2008},
pages = {1--177},
month = feb
}

@article{Anonymous:_DahcJ2u,
title = {{The Social Cost of Cheap Pseudonyms}},
year = {1999},
pages = {1--30},
month = aug
}

@article{Anonymous:SV3cqDnY,
title = {{Harnessing the Cloud for Securely Outsourcing Large-scale Systems of Linear Equations}},
year = {2011},
pages = {1--14},
month = mar
}

@article{group:2010wn,
author = {group, The Cloud Computing Use Cases Google},
title = {{Security Scenarios and Use Cases}},
year = {2010},
pages = {1--11},
month = jan
}

@article{Kazman:2009jn,
author = {Kazman, Rick and Chen, Hong-Mei},
title = {{The metropolis model a new logic for development of crowdsourced systems}},
journal = {Communications of the ACM},
year = {2009},
volume = {52},
number = {7},
pages = {76--84},
month = jul
}

@article{Anonymous:A8dgsB1j,
title = {{Teaching Statement}},
year = {2002},
pages = {1--2},
month = mar
}

@article{Anonymous:Y_0EFU_N,
title = {{Public-Key Parameters}},
year = {2000},
pages = {1--37},
month = apr
}

@article{Anonymous:PbvRwc-T,
title = {{Photo Directories: A Tool for Organizing Sociability in Neighborhoods and Organizations}},
year = {2003},
pages = {1--48},
month = apr
}

@article{Anonymous:E1ZGDMJS,
title = {{The Stanford Virtual Router}},
year = {2002},
pages = {1--1},
month = sep
}

@article{Anonymous:sSrbx1Wy,
title = {{Using Chaotic Encryption Schemes in Distributed Image Storage}},
year = {2013},
pages = {1--95},
month = jun
}

@article{Anonymous:J4zVEx5l,
title = {{Measuring Scalability of Resource Management Systems}},
year = {2014},
pages = {1--13},
month = nov
}

@inproceedings{Lerner:2013fr,
author = {Lerner, Benjamin S and Politz, Joe Gibbs and Guha, Arjun and Krishnamurthi, Shriram},
title = {{TeJaS}},
booktitle = {the 9th symposium},
year = {2013},
pages = {1--16},
publisher = {ACM Press},
address = {New York, New York, USA}
}

@article{Anonymous:M8ELNBmF,
title = {{maheswaranM_TableofContents(2)}},
year = {2008},
pages = {1--2},
month = sep
}

@techreport{zigbee,
title = {{ZigBee Alliance}},
year = {2014},
month = apr
}

@article{Anonymous:ZqREfOYU,
author = {Teixeira, Thiago and Hachem, Sara and Issarny, Val{\'e}rie and Georgantas, Nikolaos},
title = {{Service Oriented Middleware for the Internet of Things: A Perspective - (Invited Paper).}},
journal = {ServiceWave},
year = {2011},
volume = {6994},
number = {Chapter 21},
pages = {220--229}
}

@article{Anonymous:IMms8eo8,
title = {{CiJ01}},
year = {2001},
pages = {1--6},
month = sep
}

@article{Anonymous:YvlTwgPH,
title = {{reco(2)}},
year = {2013},
pages = {1--1},
month = jan
}

@article{Tang:2011vu,
author = {Tang, Fugui},
title = {{Online Identities and Social Networking}},
year = {2011},
pages = {1--84},
month = oct
}

@article{Anonymous:bUlg5QHz,
title = {{ON THE BENEFITS OF PROFILE-BASED NAMING FOR LARGE NETWORK COMPUTING SYSTEMS}},
year = {2004},
pages = {1--7},
month = jul
}

@article{mahes:2005tz,
author = {{mahes}},
title = {{arindam_journal_v3.jnt}},
year = {2005},
pages = {1--31},
month = jun
}

@article{Incomplete:2004wu,
author = {Incomplete, Status and Progress, Work},
title = {{Measuring the Scalability of Resource Management Systems for Grid Computing Systems}},
year = {2004},
pages = {1--10},
month = jan
}

@article{Anonymous:u-s7y-_u,
title = {{Securing the Internet of Things}},
year = {2012},
pages = {1--10},
month = jan
}

@article{Anonymous:OxRJTlM3,
title = {{A Survey of Free Math Fonts for TEX and L}},
year = {2006},
pages = {1--23},
month = may
}

@article{Anonymous:Hw6EXvWp,
title = {{Confidentiality and Integrity in Crowdsourcing Information Systems}},
year = {2013},
pages = {1--86},
month = aug
}

@article{Anonymous:h3AMLPfo,
title = {{Electronic Authentication Partnership Trust Framework}},
year = {2005},
pages = {1--92},
month = oct
}

@article{Anonymous:oZJrl-lu,
title = {{latex_primer}},
year = {2003},
pages = {1--155},
month = sep
}

@article{Anonymous:GeOR2bti,
title = {{A Fair Resource Participation Model for Public Resources in Computing Utilities}},
year = {2004},
pages = {1--24},
month = jun
}

@article{Ali:GzMAn02E,
author = {Ali, Shoukat},
title = {{A Taxonomy of Network Computing Systems University of Missouri-Rolla}}
}

@inproceedings{Prehofer:js,
author = {Prehofer, Christian},
title = {{From the Internet of Things to Trusted Apps for Things}},
booktitle = {2013 IEEE International Conference on Green Computing and Communications (GreenCom) and IEEE Internet of Things(iThings) and IEEE Cyber, Physical and Social Computing(CPSCom)},
pages = {2037--2042},
publisher = {IEEE}
}

@article{Anonymous:HUcZxmu9,
title = {{chap2}},
year = {2000},
pages = {1--40},
month = apr
}

@article{mahes:2007wf,
author = {{mahes25}},
title = {{Microsoft Word - social_identity.doc}},
year = {2007},
pages = {1--2},
month = jul
}

@article{Riesen:2011km,
author = {Riesen, Rolf and Maccabe, Arthur B},
title = {{Single System Image.}},
journal = {Encyclopedia of Parallel Computing},
year = {2011},
pages = {1820--1827}
}

@article{Navlakha:2015eva,
author = {Navlakha, Saket and Bar-Joseph, Ziv},
title = {{Distributed information processing in biological and computational systems.}},
journal = {Communications of the ACM},
year = {2015},
volume = {58},
number = {1},
pages = {94--102}
}

@article{Anonymous:ujvJC5zz,
title = {{How the Time-Before-Failure Reacts to Periodic Rejuvenation}},
year = {2007},
pages = {1--2},
month = apr
}

@article{Anonymous:R0-Mn8m9,
title = {{OPNET in Advanced Networking Education}},
year = {2014},
pages = {1--6},
month = nov
}

@article{Anonymous:8RAjmRjj,
title = {{ft_gateway.cfm14}},
year = {2000},
pages = {1--20},
month = jun
}

@article{Anonymous:6kxioPSj,
title = {{A Spatial Logic for Concurrency}},
year = {2007},
pages = {1--43},
month = nov
}

@proceedings{CloudsImagesand:FpvW3Lbk,
title = {{Clouds, Images, and Videos}},
year = {2013},
month = mar
}

@article{Anonymous:TvVYsCnN,
title = {{draft8M}},
year = {2003},
pages = {1--13},
month = may
}

@article{Anonymous:iGOaT5Vu,
title = {{Internet Indirection Infrastructure}},
year = {2002},
pages = {1--6},
month = mar
}

@inproceedings{Steiner:2012dx,
author = {Steiner, Moritz and Gaglianello, Bob Gaglianello and Gurbani, Vijay and Hilt, Volker and Roome, W D and Scharf, Michael and Voith, Thomas},
title = {{Network-aware service placement in a distributed cloud environment}},
booktitle = {the ACM SIGCOMM 2012 conference},
year = {2012},
pages = {73--74},
publisher = {ACM Press},
address = {New York, New York, USA}
}

@article{Anonymous:TQIiGjTk,
title = {{exceptional}},
year = {2006},
pages = {1--10},
month = jul
}

@article{Anonymous:eQczwQ79,
title = {{Towards Secure Image Storage and Privacy-Preserving Image Search in the Cloud}},
year = {2012},
pages = {1--4},
month = mar
}

@article{Anonymous:qLd_2ujG,
title = {{The Experimental Literature of The Internet: An Annotated Bibliography}},
year = {1999},
pages = {1--20},
month = jan
}

@phdthesis{damianou2002policy,
author = {Damianou, Nicodemos C},
title = {{A policy framework for management of distributed systems}},
school = {Imperial College},
year = {2002}
}

@inproceedings{Nebeling:2011bi,
author = {Nebeling, Michael and Matulic, Fabrice and Streit, Lucas and Norrie, Moira C},
title = {{Adaptive layout template for effective web content presentation in large-screen contexts}},
booktitle = {the 11th ACM symposium},
year = {2011},
pages = {219--228},
publisher = {ACM Press},
address = {New York, New York, USA}
}

@article{Anonymous:7TcyY9Ws,
title = {{RBAC_Sandhu_Computer_Paper}},
year = {1998},
pages = {1--10},
month = feb
}

@article{cole2008networked,
author = {Cole, Peter H and Ranasinghe, Damith C},
title = {{Networked RFID systems and lightweight cryptography}},
journal = {London, UK: Springer. doi},
year = {2008},
volume = {10},
pages = {978--973}
}

@inproceedings{brachmann2012security,
author = {Brachmann, Martina and Morchon, O and Keoh, S and Kumar, S},
title = {{Security Considerations around End-to-End Security in the IP-Based Internet of Things}},
booktitle = {Proceedings of the Workshop on Smart Object Security, in Conjunction with IETF83, Paris, France},
year = {2012},
pages = {25--30}
}

@article{Anonymous:_02mBs3s,
title = {{IOT_Projectdrawing}},
year = {2014},
pages = {1--1},
month = feb
}

@article{Anonymous:MwcSE8IS,
title = {{University of Trieste}},
year = {2011},
pages = {1--77},
month = oct
}

@article{Balestrino:2008kc,
author = {Balestrino, Alessandro},
title = {{It is a theft but not a crime}},
journal = {European Journal of Political Economy},
year = {2008},
volume = {24},
number = {2},
pages = {455--469},
month = jun
}

@article{Anonymous:Da1vgxhZ,
title = {{support_letter}},
year = {2014},
pages = {1--2},
month = nov
}

@article{Bainomugisha:2013bh,
author = {Bainomugisha, Engineer and Carreton, Andoni Lombide and Cutsem, Tom van and Mostinckx, Stijn and Meuter, Wolfgang de},
title = {{A survey on reactive programming}},
journal = {ACM Computing Surveys},
year = {2013},
volume = {45},
number = {4},
pages = {1--34},
month = aug
}

@article{Anonymous:cL1PJATe,
title = {{Key Infection: Smart Trust for Smart Dust}},
year = {1913},
pages = {1--10},
month = jun
}

@article{Vishkin:2011hpa,
author = {Vishkin, Uzi},
title = {{Using simple abstraction to reinvent computing for parallelism}},
journal = {Communications of the ACM},
year = {2011},
volume = {54},
number = {1},
pages = {75--85},
month = jan
}

@article{Anonymous:PvXzkpkF,
title = {{FACETED ID/ENTITY:}},
year = {2002},
pages = {1--118},
month = aug
}

@article{PbD,
author = {Schaar, Peter},
title = {{Privacy by Design}},
journal = {Identity in the Information Society},
year = {2010},
volume = {3},
number = {2},
pages = {267--274}
}

@article{Ahuja:1986if,
author = {Ahuja, S and Carriero, N and Gelernter, D},
title = {{Linda and Friends}},
journal = {Computer},
year = {1986},
volume = {19},
number = {8},
pages = {26--34}
}

@article{Wang:2005fv,
author = {Wang, Xuebing and Zhang, Linhua and Liao, Xiaofeng},
title = {{An image encryption approach based on chaotic maps}},
journal = {Chaos, Solitons {\&} Fractals},
year = {2005},
volume = {24},
number = {3},
pages = {759--765},
month = may
}

@article{Yuan:2006ty,
author = {Yuan, Weiquan},
title = {{Model-based Resource Provisioning of Online Games on Wide-Area Computing Utilities}},
year = {2006},
pages = {1--19},
month = jun
}

@incollection{UnivOfCal,
author = {Bhattasali, Tapalina and Chaki, Rituparna and Chaki, Nabendu},
title = {{Study of Security Issues in Pervasive Environment of Next Generation Internet of Things}},
booktitle = {Computer Information Systems and Industrial Management},
year = {2013},
editor = {Saeed, Khalid and Chaki, Rituparna and Cortesi, Agostino and Wierzcho{\'{n}}, S{\l}awomir},
pages = {206--217},
publisher = {Springer Berlin Heidelberg}
}

@article{Simmhan:2005:SDP,
author = {Simmhan, Yogesh L and Plale, Beth and Gannon, Dennis},
title = {{A Survey of Data Provenance in e-Science}},
journal = {SIGMOD Rec.},
year = {2005},
volume = {34},
number = {3},
pages = {31--36},
month = sep
}

@article{Anonymous:2izhBEdx,
title = {{Architecture for a Grid Operating System}},
year = {2000},
pages = {1--12},
month = may
}

@article{Anonymous:EKZ0ZDDU,
title = {{Computationally_efficient_method_for_tru}},
year = {2014},
pages = {1--20},
month = nov
}

@incollection{Knudsen:2001ib,
author = {Knudsen, J rgen Lindskov},
title = {{Fault Tolerance and Exception Handling in BETA}},
booktitle = {Advances in Exception Handling Techniques},
year = {2001},
pages = {1--17},
publisher = {Springer Berlin Heidelberg},
address = {Berlin, Heidelberg},
month = apr
}

@article{Anonymous:kNQeprcF,
title = {{Heuristics for Resource Provisioning in Computing Utilities Using Dedicated and Non-Dedicated Resources}},
year = {2004},
pages = {1--10},
month = sep
}

@article{Anonymous:9w55TNlY,
title = {{proposal2(2)}},
year = {2014},
pages = {1--7},
month = oct
}

@article{Sung:2013wh,
author = {{Sung}},
title = {{Microsoft Word - 4-125_Feuerstein_final.doc}},
year = {2013},
pages = {1--6},
month = nov
}

@article{Anonymous:4eDJVxhr,
title = {{ft_gateway.cfm}},
year = {1999},
pages = {1--16},
month = oct
}

@article{Anonymous:5qrPHtlP,
title = {{Social Distribution Networks: Design and Analysis}},
year = {2013},
pages = {1--16},
month = sep
}

@article{Anonymous:yLCEm-eH,
title = {{access_control_lattice}},
year = {1998},
pages = {1--11},
month = feb
}

@article{Anonymous:swKnk3Rm,
title = {{Heuristics for Virtual Machine Level Rescheduling for Improving QoS in Public Computing Utilities}},
year = {2005},
pages = {1--66},
month = apr
}

@article{FridgeHack,
title = {{Cyber criminals hack smart fridge to send out spam}},
journal = {The Economic Times},
year = {2014},
month = jan
}

@techreport{IBM2,
author = {Goncalves, Jose Carlos Duarte},
title = {{Internet of Things}},
year = {2012}
}

@article{Anonymous:r4KvD5mp,
title = {{Security Analysis of OpenID}},
year = {2010},
pages = {1--12},
month = jun
}

@webpage{Anonymous:71_LSqO3,
title = {{Microsoft Word - HotMobile2007-user-controllable-security-privacy submitted FINAL.doc}},
year = {2013},
month = jun
}

@inproceedings{Wang:2013hy,
author = {Wang, Jingpei and Yang, Yu and Niu, Xinxin and Sun, Bin and Bin Sun},
title = {{Distributed Trust Management Mechanism for the Internet of Things}},
booktitle = {2nd International Conference on Computer Science and Electronics Engineering (ICCSEE 2013)},
year = {2013},
publisher = {Atlantis Press},
address = {Paris, France}
}

@article{Anonymous:QyC9K_Do,
title = {{Graphic Object Layout with Interactive Genetic Algorithms}},
year = {1997},
pages = {1--7},
month = may
}

@article{Anonymous:X6QxRi_u,
title = {{Free at What Cost?: Cloud Computing Privacy Under the Stored Communications Act}},
year = {2011},
pages = {1--45},
month = oct
}

@article{Anderson:2006uz,
author = {Anderson, Paul},
title = {{Digital Rights Expression Languages (DRELs)}},
year = {2006},
pages = {1--42},
month = jul
}

@article{Anonymous:b28FY1-e,
title = {{A Framework for Classifying Peer-to-Peer Technologies}},
year = {2002},
pages = {1--8},
month = mar
}

@article{Anonymous:UItO9vN0,
title = {{form120_e}},
year = {1910},
pages = {1--1},
month = feb
}

@article{Anonymous:w07JIWxK,
title = {{10 Network Papers that Changed the World}},
year = {2007},
pages = {1--2},
month = aug
}

@article{Anonymous:aiKjVsM2,
title = {{untitled}},
year = {2007},
pages = {1--2},
month = mar
}

@article{Anonymous:Z43FVAlp,
title = {{pseudocode-QARD-LB(2)}},
year = {2003},
pages = {1--1},
month = jan
}

@article{Blackstock:2010wo,
author = {Blackstock, Michael},
title = {{MAGICBroker2-cr-2010-09-15}},
year = {2010},
pages = {1--8},
month = sep
}

@article{Anonymous:tRRpw3gi,
title = {{Bare Demo of IEEEtran.cls for Computer Society Journals}},
year = {2009},
pages = {1--1},
month = oct
}

@article{Anonymous:AWMeCr7k,
title = {{How Unique Is Your Web Browser?}},
year = {2010},
pages = {1--19},
month = may
}

@article{Anonymous:pf6fjyL6,
title = {{Privacy Analysis of the Privad}},
year = {2009},
pages = {1--15},
month = nov
}

@article{Anonymous:x6CbYBrO,
title = {{_temp(2)}},
year = {2008},
pages = {1--2},
month = sep
}

@techreport{Bussu:2014uk,
author = {Bussu, Sonia},
title = {{The Internet of Things:
the case for public voice}},
year = {2014}
}

@article{Weber2011133,
author = {Weber, Rolf H},
title = {{Accountability in the Internet of Things}},
journal = {Computer Law {\&} Security Review},
year = {2011},
volume = {27},
number = {2},
pages = {133--138}
}

@article{Anonymous:RoCVz7Ny,
title = {{VIOLIN: Virtual Internetworking on Overlay Infrastructure}},
year = {2014},
pages = {1--6},
month = nov
}

@article{Anonymous:_UyrBzjI,
title = {{The Distributed Spanning Tree:A Scalable Interconnection Topology for Efficient and Equitable Traversal}},
year = {2005},
pages = {1--8},
month = feb
}


text:
package authentication

import (
	"api/src/config"
	"errors"
	"fmt"
	jwt "github.com/dgrijalva/jwt-go"
	"net/http"
	"strconv"
	"strings"
	"time"
)

// CreateToken -> create a token
func CreateToken(usuarioId uint64) (string, error) {
	permissoes := jwt.MapClaims{}
	permissoes["authorized"] = true
	permissoes["expiration"] = time.Now().Add(time.Hour * 6).Unix()
	permissoes["id"] = usuarioId

	token := jwt.NewWithClaims(jwt.SigningMethodHS256, permissoes)
	return token.SignedString([]byte(config.SecretKey))
}

// ValidarToken -> validate the toke
func ValidarToken(r *http.Request) error {
	tokenString := extrairToken(r)
	token, erro := jwt.Parse(tokenString, retornarChaveDeVerificacao)
	if erro != nil {
		return erro
	}

	//fmt.Println(token)

	if _, ok := token.Claims.(jwt.MapClaims); ok && token.Valid {
		return nil
	}

	return errors.New("invalid token")
}

// ExtrairUsuarioID -> Extract user id
func ExtrairUsuarioID(r *http.Request) (uint64, error) {
	tokenString := extrairToken(r)
	token, erro := jwt.Parse(tokenString, retornarChaveDeVerificacao)
	if erro != nil {
		return 0, erro
	}

	if permissoes, ok := token.Claims.(jwt.MapClaims); ok && token.Valid {
		usuarioID, erro := strconv.ParseUint(fmt.Sprintf("%.0f", permissoes["id"]), 10, 64)
		if erro != nil {
			return 0, erro
		}

		return usuarioID, nil
	}

	return 0, errors.New("invalid token")
}

// extrairToken -> Separate the token of Bearer
func extrairToken(r *http.Request) string {
	token := r.Header.Get("Authorization")

	// Bearer token
	if len(strings.Split(token, " ")) == 2 {
		return strings.Split(token, " ")[1]
	}

	return ""
}

// retornarChaveDeVerificacao -> Return key of token
func retornarChaveDeVerificacao(token *jwt.Token) (interface{}, error) {
	if _, ok := token.Method.(*jwt.SigningMethodHMAC); !ok {
		return nil, fmt.Errorf("method unexpected! %v", token.Header["alg"])
	}

	return config.SecretKey, nil
}

repository: Josimar/GoLangDevBook

license_type: permissive

repo_name: Josimar/GoLangDevBook

branch_name: refs/heads/main

extension: go


text:
package clusters

import (
	"github.com/gophercloud/gophercloud"
)

var apiName = "clusters"

func commonURL(client *gophercloud.ServiceClient) string {
	return client.ServiceURL(apiName)
}

func createURL(client *gophercloud.ServiceClient) string {
	return commonURL(client)
}

repository: lblackstone/gophercloud

repo_name: lblackstone/gophercloud

branch_name: refs/heads/master


text:
@article{DBLP:journals/corr/abs-1301-3781,
  author    = {Tomas Mikolov and
               Kai Chen and
               Greg Corrado and
               Jeffrey Dean},
  title     = {Efficient Estimation of Word Representations in Vector Space},
  journal   = {CoRR},
  volume    = {abs/1301.3781},
  year      = {2013},
  url       = {http://arxiv.org/abs/1301.3781},
  timestamp = {Mon, 18 Feb 2013 20:50:59 +0100},
  biburl    = {http://dblp.uni-trier.de/rec/bib/journals/corr/abs-1301-3781},
  bibsource = {dblp computer science bibliography, http://dblp.org}
}
@InProceedings{D14-1162,
  author={Pennington, Jeffrey and Socher, Richard and Manning, Christopher},
  title="Glove: Global Vectors for Word Representation",
  booktitle="Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP)",
  year={2014},
  publisher="Association for Computational Linguistics",
  pages="1532--1543",
  location="Doha, Qatar",
  url="http://aclweb.org/anthology/D14-1162"
}

repository: cestella/presentations

repo_name: cestella/presentations

gha_language: HTML

extension: bib


text:
package http

import (
	"net/http"

	"github.com/labstack/echo/v4"
	"github.com/pkg/errors"

	gopayd "github.com/libsv/payd"
)

type txStatusHandler struct {
	svc gopayd.TxStatusService
}

// NewTxStatusHandler will setup and return a new echo txStatus handler.
func NewTxStatusHandler(svc gopayd.TxStatusService) *txStatusHandler {
	return &txStatusHandler{svc: svc}
}

// RegisterRoutes will setup all proof routes with the supplied echo group.
func (t *txStatusHandler) RegisterRoutes(g *echo.Group) {
	g.GET(RouteTxStatus, t.status)
}

func (t *txStatusHandler) status(c echo.Context) error {
	var args gopayd.TxStatusArgs
	if err := c.Bind(&args); err != nil {
		return errors.WithStack(err)
	}
	resp, err := t.svc.Status(c.Request().Context(), args)
	if err != nil {
		return errors.WithStack(err)
	}
	return c.JSON(http.StatusOK, resp)
}

license: MIT,ISC

repository: wireturn/bsv

detected_licenses: MIT ISC

repo_name: wireturn/bsv

gha_license_id: MIT

gha_language: Go


text:
# CMake version number components.
set(CMake_VERSION_MAJOR 3)
set(CMake_VERSION_MINOR 10)
set(CMake_VERSION_PATCH 20171018)
#set(CMake_VERSION_RC 1)

extension: cmake


text:
// cpp_58__funciones3.cpp
// Este programa forma parte del tutorial de introducción al lenguaje C++
// http://ehack.info/leguaje-c-introduccion/
// Se ilustra el uso de funciones con varios parámetros y la llamada de funciones
// por otra función
// 2018, Por http://about.me/carlosgbr
// Versión 1
// Compilado en https://www.onlinegdb.com/online_c++_compiler

#include <iostream>

using namespace std;

float Suma(float x, float y)
{
    return x+y;
}

float Resta(float x, float y)
{
    return x-y;
}

float Producto(float x, float y)
{
    return x*y;
}

float Division(float x, float y)
{
    return x/y;
}

float Operacion(float x, float y, char operando)
{
    float resultado = 0;

    switch (operando)
    {
        case '+': {
            resultado = Suma(x, y);
            break;
        }
        case '-': {
            resultado = Resta(x, y);
            break;
        }
        case '*': {
            resultado = Producto(x, y);
            break;
        }
        case '/': {
            resultado = Division(x, y);
            break;
        }
    }

    return resultado;
}

int main()
{
    float operando1 = 0, operando2 = 0;
    char operador;

    cout << "Este programa realiza la operación solicitada sobre 2 operandos" << endl << endl;
    cout << "Escribe el símbolo de la operación que deseas realizar: + - * /" << endl;
    cin >> operador;
    cout << "Escribe el primero operando: ";
    cin >> operando1;
    cout << "Escribe el segundo operando: ";
    cin >> operando2;

    cout << "El resultado de " << operando1 << " " << operador << " " << operando2
                        << " = " << Operacion(operando1, operando2, operador) << endl;

    return 0;
}

license: MIT

extension: cpp


text:
@article{cocktail-shaker,
    author = {{Suliman Sharif}},
    title = "{Cocktail Shaker: An open source drug expansion and enumeration library using Python and RDKit}",
    journal = {\aap},
    keywords = {methods: cheminformatics, drug design, chemistry methods: python3, RDKit},
    year = 2013,
    month = oct,
    volume = 558,
    doi = {},
    adsurl = {www.github.com/Sulstice/Cocktail-Shaker}
}

repository: OlivierBeq/cocktail-shaker

repo_name: OlivierBeq/cocktail-shaker


text:
package main

import (
	"testing"
)

func TestStatusRegistrySetStatus(t *testing.T) {
	r := NewStatusRegistry()
	r.SetStatus("test", "value")
	if r["test"].Status != "value" {
		t.Error("SetStatus didn't update the internal state of the registry")
	}
}

repository: renesugar/statusd

repo_name: renesugar/statusd


text:
@article{Betz2020CriticalTF,
  title={Critical Thinking for Language Models},
  author={Gregor Betz and Kyle Richardson},
  journal={ArXiv},
  year={2020},
  volume={abs/2009.07185}
}

url: https://raw.githubusercontent.com/rbt-c/DL-NLP-Readings/82ca76e9184a3b00ac87129d99391477c85cfcd2/Bibtex/Critical Thinking for Language Models.bib

repository: rbt-c/DL-NLP-Readings

repo_name: rbt-c/DL-NLP-Readings


text:
DESCRIPTION = "LuaSys is a portable Lua library providing access to system and networking functions."
LICENSE = "MIT"
HOMEPAGE = "https://github.com/tnodir/luasys"
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=eb20c1e17a9cbfb068bd4d63a5d56544"

DEPENDS += "lua-native lua"

SRC_URI = "git://github.com/tnodir/luasys.git;branch=master \
           file://0001-build-patch.patch"

SRCREV = "5be1bced86ec175ba71e8f86ee5174a9a17b76bb"
S = "${WORKDIR}/git"
LUA_VERSION = "5.3"

inherit autotools pkgconfig

EXTRA_OEMAKE = "LUA_V=${LUA_VERSION}"
CFLAGS_append = " -I${RECIPE_SYSROOT}/usr/include -fPIC"

do_configure() {
}

do_compile() {
    cd ${S}/src
    oe_runmake linux
}

do_install() {
    install -d ${D}/${libdir}/lua/${LUA_VERSION}
    install -m 644 ${S}/src/sys.so ${D}/${libdir}/lua/${LUA_VERSION}
}

FILES_${PN} = "${libdir}/lua/${LUA_VERSION}/sys.so"

INSANE_SKIP_${PN} += "ldflags"

extension: bb


text:
set(root_build_options)

#---------------------------------------------------------------------------------------------------
#---ROOT_BUILD_OPTION( name defvalue [description] )
#---------------------------------------------------------------------------------------------------
function(ROOT_BUILD_OPTION opt defvalue)
  if(ARGN)
    set(description ${ARGN})
  else()
    set(description " ")
  endif()
  set(${opt}_defvalue    ${defvalue} PARENT_SCOPE)
  set(${opt}_description ${description} PARENT_SCOPE)
  set(root_build_options  ${root_build_options} ${opt} PARENT_SCOPE )
endfunction()

#---------------------------------------------------------------------------------------------------
#---ROOT_APPLY_OPTIONS()
#---------------------------------------------------------------------------------------------------
function(ROOT_APPLY_OPTIONS)
  foreach(opt ${root_build_options})
     option(${opt} "${${opt}_description}" ${${opt}_defvalue})
  endforeach()
endfunction()

#---------------------------------------------------------------------------------------------------
#---ROOT_SHOW_OPTIONS([var] )
#---------------------------------------------------------------------------------------------------
function(ROOT_SHOW_OPTIONS)
  set(enabled)
  foreach(opt ${root_build_options})
    if(${opt})
      set(enabled "${enabled} ${opt}")
    endif()
  endforeach()
  if(NOT ARGN)
    message(STATUS "Enabled support for: ${enabled}")
  else()
    set(${ARGN} "${enabled}" PARENT_SCOPE)
  endif()
endfunction()

#---------------------------------------------------------------------------------------------------
#---ROOT_WRITE_OPTIONS(file )
#---------------------------------------------------------------------------------------------------
function(ROOT_WRITE_OPTIONS file)
  file(WRITE ${file} "#---Options enabled for the build of ROOT-----------------------------------------------\n")
  foreach(opt ${root_build_options})
    if(${opt})
      file(APPEND ${file} "set(${opt} ON)\n")
    else()
      file(APPEND ${file} "set(${opt} OFF)\n")
    endif()
  endforeach()
endfunction()

#--------------------------------------------------------------------------------------------------
#---Full list of options with their descriptions and default values
#   The default value can be changed as many times as we wish before calling ROOT_APPLY_OPTIONS()
#--------------------------------------------------------------------------------------------------

ROOT_BUILD_OPTION(afdsmgrd OFF "Dataset manager for PROOF-based analysis facilities")
ROOT_BUILD_OPTION(alien OFF "AliEn support, requires libgapiUI from ALICE")
ROOT_BUILD_OPTION(asimage ON "Image processing support, requires libAfterImage")
ROOT_BUILD_OPTION(arrow OFF "Apache Arrow in memory columnar storage support")
ROOT_BUILD_OPTION(astiff ON "Include tiff support in image processing")
ROOT_BUILD_OPTION(bonjour OFF "Bonjour support, requires libdns_sd and/or Avahi")
#ROOT_BUILD_OPTION(builtin_afterimage ON "Build included libAfterImage, or use system libAfterImage")
ROOT_BUILD_OPTION(builtin_cfitsio OFF "Build the FITSIO library internally (downloading tarfile from the Web)")
ROOT_BUILD_OPTION(builtin_davix OFF "Build the Davix library internally (downloading tarfile from the Web)")
ROOT_BUILD_OPTION(builtin_fftw3 OFF "Build the FFTW3 library internally (downloading tarfile from the Web)")
ROOT_BUILD_OPTION(builtin_freetype OFF "Build included libfreetype, or use system libfreetype")
#ROOT_BUILD_OPTION(builtin_ftgl ON "Build included libFTGL, or use system libftgl")
ROOT_BUILD_OPTION(builtin_gl2ps OFF "Build included libgl2ps, or use system libgl2ps")
ROOT_BUILD_OPTION(builtin_glew ON "Build included libGLEW, or use system libGLEW")
ROOT_BUILD_OPTION(builtin_gsl OFF "Build the GSL library internally (downloading tarfile from the Web)")
ROOT_BUILD_OPTION(builtin_llvm ON "Build llvm internally")
ROOT_BUILD_OPTION(builtin_clang ON "Build clang internally")
ROOT_BUILD_OPTION(builtin_lzma OFF "Build included liblzma, or use system liblzma")
ROOT_BUILD_OPTION(builtin_lz4 OFF "Built included liblz4, or use system liblz4")
ROOT_BUILD_OPTION(builtin_openssl OFF "Build OpenSSL internally, or use system OpenSSL")
ROOT_BUILD_OPTION(builtin_pcre OFF "Build included libpcre, or use system libpcre")
ROOT_BUILD_OPTION(builtin_tbb OFF "Build the TBB internally")
ROOT_BUILD_OPTION(builtin_unuran OFF "Build included libunuran, or use system libunuran")
ROOT_BUILD_OPTION(builtin_vc OFF "Build the Vc package internally")
ROOT_BUILD_OPTION(builtin_vdt OFF "Build the VDT package internally")
ROOT_BUILD_OPTION(builtin_veccore OFF "Build VecCore internally")
ROOT_BUILD_OPTION(builtin_xrootd OFF "Build the XROOTD internally (downloading tarfile from the Web)")
ROOT_BUILD_OPTION(builtin_xxhash OFF "Build included xxHash library")
ROOT_BUILD_OPTION(builtin_zlib OFF "Build included libz, or use system libz")
ROOT_BUILD_OPTION(castor ON "CASTOR support, requires libshift from CASTOR >= 1.5.2")
ROOT_BUILD_OPTION(ccache OFF "Enable ccache usage for speeding up builds")
ROOT_BUILD_OPTION(cefweb OFF "Chromium Embedded Framework web-based display")
ROOT_BUILD_OPTION(clad ON "Enable clad, the cling automatic differentiation plugin.")
ROOT_BUILD_OPTION(cling ON "Enable new CLING C++ interpreter")
ROOT_BUILD_OPTION(cocoa OFF "Use native Cocoa/Quartz graphics backend (MacOS X only)")
set(compression_default "zlib" CACHE STRING "ROOT compression algorithm used as a default, default option is zlib. Can be lz4, zlib, or lzma")
ROOT_BUILD_OPTION(cuda OFF "Use CUDA if it is found in the system")
ROOT_BUILD_OPTION(cxx11 ON "Build using C++11 compatible mode, requires gcc > 4.7.x or clang")
ROOT_BUILD_OPTION(cxx14 OFF "Build using C++14 compatible mode, requires gcc > 4.9.x or clang")
ROOT_BUILD_OPTION(cxx17 OFF "Build using C++17 compatible mode, requires gcc >= 7.2.0 or clang")
ROOT_BUILD_OPTION(cxxmodules OFF "Compile with C++ modules enabled.")
ROOT_BUILD_OPTION(davix ON "DavIx library for HTTP/WEBDAV access")
ROOT_BUILD_OPTION(dcache OFF "dCache support, requires libdcap from DESY")
ROOT_BUILD_OPTION(exceptions ON "Turn on compiler exception handling capability")
ROOT_BUILD_OPTION(explicitlink ON "Explicitly link with all dependent libraries")
ROOT_BUILD_OPTION(fftw3 ON "Fast Fourier Transform support, requires libfftw3")
ROOT_BUILD_OPTION(fitsio ON "Read images and data from FITS files, requires cfitsio")
ROOT_BUILD_OPTION(fortran OFF "Enable the Fortran components of ROOT")
set(gcctoolchain "" CACHE PATH "Path for the gcctoolchain in case not the system gcc is used to build clang/LLVM")
ROOT_BUILD_OPTION(gdml ON "GDML writer and reader")
ROOT_BUILD_OPTION(geocad OFF "ROOT-CAD Interface")
ROOT_BUILD_OPTION(gfal ON "GFAL support, requires libgfal")
ROOT_BUILD_OPTION(globus OFF "Globus authentication support, requires Globus toolkit")
ROOT_BUILD_OPTION(gnuinstall OFF "Perform installation following the GNU guidelines")
ROOT_BUILD_OPTION(gsl_shared OFF "Enable linking against shared libraries for GSL (default no)")
ROOT_BUILD_OPTION(gviz OFF "Graphs visualization support, requires graphviz")
ROOT_BUILD_OPTION(hdfs OFF "HDFS support; requires libhdfs from HDFS >= 0.19.1")
ROOT_BUILD_OPTION(http ON "HTTP Server support")
ROOT_BUILD_OPTION(imt ON "Implicit multi-threading support")
ROOT_BUILD_OPTION(jemalloc OFF "Using the jemalloc allocator")
ROOT_BUILD_OPTION(krb5 OFF "Kerberos5 support, requires Kerberos libs")
ROOT_BUILD_OPTION(ldap OFF "LDAP support, requires (Open)LDAP libs")
ROOT_BUILD_OPTION(libcxx OFF "Build using libc++, requires cxx11 option (MacOS X only, for the time being)")
ROOT_BUILD_OPTION(macos_native OFF "Disable looking for libraries, includes and binaries in locations other than a native installation (MacOS only)")
ROOT_BUILD_OPTION(mathmore ON "Build the new libMathMore extended math library, requires GSL (vers. >= 1.8)")
ROOT_BUILD_OPTION(memory_termination OFF "Free internal ROOT memory before process termination (experimental, used for leak checking)")
ROOT_BUILD_OPTION(memstat OFF "A memory statistics utility, helps to detect memory leaks")
ROOT_BUILD_OPTION(minuit2 OFF "Build the new libMinuit2 minimizer library")
ROOT_BUILD_OPTION(monalisa OFF "Monalisa monitoring support, requires libapmoncpp")
ROOT_BUILD_OPTION(mysql ON "MySQL support, requires libmysqlclient")
ROOT_BUILD_OPTION(odbc OFF "ODBC support, requires libiodbc or libodbc")
ROOT_BUILD_OPTION(opengl ON "OpenGL support, requires libGL and libGLU")
ROOT_BUILD_OPTION(oracle ON "Oracle support, requires libocci")
ROOT_BUILD_OPTION(pch ON)
ROOT_BUILD_OPTION(pgsql ON "PostgreSQL support, requires libpq")
ROOT_BUILD_OPTION(pythia6 ON "Pythia6 EG support, requires libPythia6")
ROOT_BUILD_OPTION(pythia6_nolink OFF "Delayed linking of Pythia6 library")
ROOT_BUILD_OPTION(pythia8 ON "Pythia8 EG support, requires libPythia8")
ROOT_BUILD_OPTION(python ON "Python ROOT bindings, requires python >= 2.2")
ROOT_BUILD_OPTION(pyroot_experimental OFF "Use experimental Python bindings for ROOT")
ROOT_BUILD_OPTION(qt OFF "Qt4 graphics backend, requires Qt4 >= 4.8")
ROOT_BUILD_OPTION(qtgsi OFF "GSI's Qt4 integration, requires Qt4 >= 4.8")
ROOT_BUILD_OPTION(qt5web OFF "Qt5 web-based display, requires Qt5")
ROOT_BUILD_OPTION(r OFF "R ROOT bindings, requires R, Rcpp and RInside")
ROOT_BUILD_OPTION(rfio OFF "RFIO support, requires libshift from CASTOR >= 1.5.2")
ROOT_BUILD_OPTION(roofit ON "Build the libRooFit advanced fitting package")
ROOT_BUILD_OPTION(root7 OFF "Build the ROOT 7 interface prototype, requires >= cxx14")
ROOT_BUILD_OPTION(rpath OFF "Set run-time library load path on executables and shared libraries (at installation area)")
ROOT_BUILD_OPTION(runtime_cxxmodules OFF "Enable runtime support for C++ modules.")
ROOT_BUILD_OPTION(shadowpw OFF "Shadow password support")
ROOT_BUILD_OPTION(shared ON "Use shared 3rd party libraries if possible")
ROOT_BUILD_OPTION(soversion OFF "Set version number in sonames (recommended)")
ROOT_BUILD_OPTION(sqlite ON "SQLite support, requires libsqlite3")
ROOT_BUILD_OPTION(ssl ON "SSL encryption support, requires openssl")
ROOT_BUILD_OPTION(table OFF "Build libTable contrib library")
ROOT_BUILD_OPTION(tcmalloc OFF "Using the tcmalloc allocator")
ROOT_BUILD_OPTION(thread ON "Using thread library (cannot be disabled)")
ROOT_BUILD_OPTION(tmva ON "Build TMVA multi variate analysis library")
ROOT_BUILD_OPTION(tmva-cpu ON "Build TMVA with CPU support for deep learning. Requires BLAS")
ROOT_BUILD_OPTION(tmva-gpu ON "Build TMVA with GPU support for deep learning. Requries CUDA")
ROOT_BUILD_OPTION(unuran OFF "UNURAN - package for generating non-uniform random numbers")
ROOT_BUILD_OPTION(vc OFF "Vc adds a few new types for portable and intuitive SIMD programming")
ROOT_BUILD_OPTION(vdt ON "VDT adds a set of fast and vectorisable mathematical functions")
ROOT_BUILD_OPTION(veccore OFF "VecCore SIMD abstraction library")
ROOT_BUILD_OPTION(vecgeom OFF "VecGeom is a vectorized geometry library enhancing the performance of geometry navigation.")
ROOT_BUILD_OPTION(winrtdebug OFF "Link against the Windows debug runtime library")
ROOT_BUILD_OPTION(x11 ON "X11 support")
ROOT_BUILD_OPTION(xft ON "Xft support (X11 antialiased fonts)")
ROOT_BUILD_OPTION(xml ON "XML parser interface")
ROOT_BUILD_OPTION(xrootd ON "Build xrootd file server and its client (if supported)")
ROOT_BUILD_OPTION(coverage OFF "Test coverage")

option(fail-on-missing "Fail the configure step if a required external package is missing" OFF)
option(minimal "Do not automatically search for support libraries" OFF)
option(gminimal "Do not automatically search for support libraries, but include X11" OFF)
option(all "Enable all optional components" OFF)
option(testing "Enable testing with CTest" OFF)
option(roottest "Include roottest, if roottest exists in root or if it is a sibling directory." OFF)
option(rootbench "Include rootbench, if rootbench exists in root or if it is a sibling directory." OFF)
option(clingtest "Include cling tests. NOTE that this makes llvm/clang symbols visible in libCling." OFF)

if (runtime_cxxmodules)
  set(pch_defvalue OFF)
endif(runtime_cxxmodules)

#--- Compression algorithms in ROOT-------------------------------------------------------------
if(NOT compression_default MATCHES "zlib|lz4|lzma")
  message(STATUS "Not supported compression algorithm, ROOT compression algorithms are zlib, lzma and lz4.
    ROOT will fall back to default algorithm: zlib")
  set(compression_default "zlib" CACHE STRING "" FORCE)
else()
  message(STATUS "ROOT default compression algorithm is " ${compression_default})
endif()

#--- Minor chnages in defaults due to platform--------------------------------------------------
if(WIN32)
  set(x11_defvalue OFF)
  set(memstat_defvalue OFF)
  set(davix_defvalue OFF)
  set(cxx11_defvalue OFF)
  set(cxx14_defvalue ON)
  set(root7_defvalue OFF)
  set(imt_defvalue OFF)
  set(builtin_tbb_defvalue OFF)
  set(tmva_defvalue OFF)
  set(roofit_defvalue OFF)
  set(roottest_defvalue OFF)
  set(testing_defvalue OFF)
  set(vdt_defvalue OFF)
elseif(APPLE)
  set(x11_defvalue OFF)
  set(cocoa_defvalue ON)
endif()

#--- The 'all' option swithes ON major options---------------------------------------------------
if(all)
 set(arrow_defvalue ON)
 set(bonjour_defvalue ON)
 set(dcache_defvalue ON)
 set(fitsio_defvalue ON)
 set(fortran_defvalue ON)
 set(gdml_defvalue ON)
 set(gviz_defvalue ON)
 set(hdfs_defvalue ON)
 set(http_defvalue ON)
 set(krb5_defvalue ON)
 set(ldap_defvalue ON)
 set(memstat_defvalue ON)
 set(minuit2_defvalue ON)
 set(monalisa_defvalue ON)
 set(odbc_defvalue ON)
 set(qt_defvalue ON)
 set(qtgsi_defvalue ON)
 set(r_defvalue ON)
 set(rfio_defvalue ON)
 set(roofit_defvalue ON)
 set(root7_defvalue ON)
 set(shadowpw_defvalue ON)
 set(table_defvalue ON)
 set(unuran_defvalue ON)
 set(vc_defvalue ON)
 set(vdt_defvalue ON)
 set(veccore_defvalue ON)
endif()

#--- The 'builtin_all' option swithes ON old the built in options-------------------------------
if(builtin_all)
  set(builtin_afterimage_defvalue ON)
  set(builtin_cfitsio_defvalue ON)
  set(builtin_clang_defvalue ON)
  set(builtin_davix_defvalue ON)
  set(builtin_fftw3_defvalue ON)
  set(builtin_freetype_defvalue ON)
  set(builtin_ftgl_defvalue ON)
  set(builtin_gl2ps_defvalue ON)
  set(builtin_glew_defvalue ON)
  set(builtin_gsl_defvalue ON)
  set(builtin_llvm_defvalue ON)
  set(builtin_lz4_defvalue ON)
  set(builtin_lzma_defvalue ON)
  set(builtin_openssl_defvalue ON)
  set(builtin_pcre_defvalue ON)
  set(builtin_tbb_defvalue ON)
  set(builtin_unuran_defvalue ON)
  set(builtin_vc_defvalue ON)
  set(builtin_vdt_defvalue ON)
  set(builtin_veccore_defvalue ON)
  set(builtin_xrootd_defvalue ON)
  set(builtin_xxhash_defvalue ON)
  set(builtin_zlib_defvalue ON)
endif()

#---Vc supports only x86_64 architecture-------------------------------------------------------
if (NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
  message(STATUS "Vc does not support ${CMAKE_SYSTEM_PROCESSOR}. Support for Vc disabled.")
  set(vc_defvalue OFF)
endif()

#---Options depending of CMake Generator-------------------------------------------------------
if( CMAKE_GENERATOR STREQUAL Ninja)
   set(fortran_defvalue OFF)
endif()

#---Apply minimal or gminimal------------------------------------------------------------------
foreach(opt ${root_build_options})
  if(NOT opt MATCHES "thread|cxx11|cling|builtin_llvm|builtin_clang|builtin_ftgl|explicitlink")
    if(minimal)
      set(${opt}_defvalue OFF)
    elseif(gminimal AND NOT opt MATCHES "x11|cocoa")
      set(${opt}_defvalue OFF)
    endif()
  endif()
endforeach()

#---Apply root7 versus language------------------------------------------------------------------
if(cxx14 OR cxx17 OR cxx14_defval OR cxx17_defval)
  set(root7_defvalue ON)
endif()

#---roottest option implies testing
if(roottest OR rootbench)
  set(testing ON CACHE BOOL "" FORCE)
endif()

#---Define at moment the options with the selected default values-----------------------------
ROOT_APPLY_OPTIONS()

#---Avoid creating dependencies to 'non-standard' header files -------------------------------
include_regular_expression("^[^.]+$|[.]h$|[.]icc$|[.]hxx$|[.]hpp$")

#---Add Installation Variables------------------------------------------------------------------
include(RootInstallDirs)

#---RPATH options-------------------------------------------------------------------------------
#  When building, don't use the install RPATH already (but later on when installing)
set(CMAKE_SKIP_BUILD_RPATH FALSE)         # don't skip the full RPATH for the build tree
set(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE) # use always the build RPATH for the build tree
set(CMAKE_MACOSX_RPATH TRUE)              # use RPATH for MacOSX
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) # point to directories outside the build tree to the install RPATH

# Check whether to add RPATH to the installation (the build tree always has the RPATH enabled)
if(rpath)
  set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_FULL_LIBDIR}) # install LIBDIR
  set(CMAKE_SKIP_INSTALL_RPATH FALSE)          # don't skip the full RPATH for the install tree
elseif(APPLE)
  set(CMAKE_INSTALL_NAME_DIR "@rpath")
  if(gnuinstall)
    set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_FULL_LIBDIR}) # install LIBDIR
  else()
    set(CMAKE_INSTALL_RPATH "@loader_path/../lib")    # self relative LIBDIR
  endif()
  set(CMAKE_SKIP_INSTALL_RPATH FALSE)          # don't skip the full RPATH for the install tree
else()
  set(CMAKE_SKIP_INSTALL_RPATH TRUE)           # skip the full RPATH for the install tree
endif()

#---deal with the DCMAKE_IGNORE_PATH------------------------------------------------------------
if(macos_native)
  if(APPLE)
    set(CMAKE_IGNORE_PATH)
    foreach(_prefix /sw /opt/local /usr/local) # Fink installs in /sw, and MacPort in /opt/local and Brew in /usr/local
      list(APPEND CMAKE_IGNORE_PATH ${_prefix}/bin ${_prefix}/include ${_prefix}/lib)
    endforeach()
  else()
    message(STATUS "Option 'macos_native' is only for MacOS systems. Ignoring it.")
  endif()
endif()

repository: camillescott/cookiecutter-cppyy-cmake

repo_name: camillescott/cookiecutter-cppyy-cmake


text:
set(CMAKE_CONFIGURATION_TYPES Debug)
enable_language(C)
enable_language(CXX)

add_executable(DPIAWARE-TGT-BADPARAM-C empty.c)
set_property(TARGET DPIAWARE-TGT-BADPARAM-C PROPERTY VS_DPI_AWARE "Foo")
add_executable(DPIAWARE-TGT-BADPARAM-CXX empty.cxx)
set_property(TARGET DPIAWARE-TGT-BADPARAM-CXX PROPERTY VS_DPI_AWARE "Bar")


text:
SECTION = "libs"
require ncurses_${PV}.bb
inherit native
EXTRA_OEMAKE = '"BUILD_CCFLAGS=${BUILD_CCFLAGS}"  "LIBTOOL=${HOST_SYS}-libtool"'
EXTRA_OECONF_append_samygo += " --with-libtool"
DEPENDS = ""
FILESPATH = "${FILE_DIRNAME}/local:${FILE_DIRNAME}/ncurses-${PV}-${PR}:${FILE_DIRNAME}/ncurses-${PV}:${FILE_DIRNAME}/ncurses:${FILE_DIRNAME}"

repository: metalsky/SamyGO

repo_name: metalsky/SamyGO


text:
/*
 *  This file was autogenerated by the GPUdb schema processor.
 *
 *  DO NOT EDIT DIRECTLY.
 */
#ifndef __GRANT_PERMISSION_DIRECTORY_H__
#define __GRANT_PERMISSION_DIRECTORY_H__

namespace gpudb
{

    /**
     * A set of input parameters for {@link
     * #grantPermissionDirectory(const GrantPermissionDirectoryRequest&) const}.
     *

     * Grants a KiFS
     * directory-level permission to a user or role.
     */
    struct GrantPermissionDirectoryRequest
    {

        /**
         * Constructs a GrantPermissionDirectoryRequest object with default
         * parameter values.
         */
        GrantPermissionDirectoryRequest() :
            name(std::string()),
            permission(std::string()),
            directoryName(std::string()),
            options(std::map<std::string, std::string>())
        {
        }

        /**
         * Constructs a GrantPermissionDirectoryRequest object with the
         * specified parameters.
         *
         * @param[in] name_  Name of the user or role to which the permission
         *                   will be granted. Must be an existing user or role.
         * @param[in] permission_  Permission to grant to the user or role.
         *

         *

         *                         gpudb::grant_permission_directory_directory_read:
         *                         For files in the directory, access to list
         *                         files, download files, or use files in
         *                         server side functions
         *

         *                         gpudb::grant_permission_directory_directory_write:
         *                         Access to upload files to, or delete files
         *                         from, the directory. A user or role with
         *                         write access automatically has read access
         *

         * @param[in] directoryName_  Name of the KiFS directory to which the
         *                            permission grants access. An empty
         *                            directory name grants access to all KiFS
         *                            directories
         * @param[in] options_  Optional parameters.
         *
         */
        GrantPermissionDirectoryRequest(const std::string& name_, const std::string& permission_, const std::string& directoryName_, const std::map<std::string, std::string>& options_):
            name( name_ ),
            permission( permission_ ),
            directoryName( directoryName_ ),
            options( options_ )
        {
        }

        std::string name;
        std::string permission;
        std::string directoryName;
        std::map<std::string, std::string> options;
    };
}

namespace avro
{
    template<> struct codec_traits<gpudb::GrantPermissionDirectoryRequest>
    {
        static void encode(Encoder& e, const gpudb::GrantPermissionDirectoryRequest& v)
        {
            ::avro::encode(e, v.name);
            ::avro::encode(e, v.permission);
            ::avro::encode(e, v.directoryName);
            ::avro::encode(e, v.options);
        }

        static void decode(Decoder& d, gpudb::GrantPermissionDirectoryRequest& v)
        {
            if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
            {
                const std::vector<size_t> fo = rd->fieldOrder();

                for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
                {
                    switch (*it)
                    {
                        case 0:
                            ::avro::decode(d, v.name);
                            break;

                        case 1:
                            ::avro::decode(d, v.permission);
                            break;

                        case 2:
                            ::avro::decode(d, v.directoryName);
                            break;

                        case 3:
                            ::avro::decode(d, v.options);
                            break;

                        default:
                            break;
                    }
                }
            }
            else
            {
                ::avro::decode(d, v.name);
                ::avro::decode(d, v.permission);
                ::avro::decode(d, v.directoryName);
                ::avro::decode(d, v.options);
            }
        }
    };
}

namespace gpudb
{

    /**
     * A set of output parameters for {@link
     * #grantPermissionDirectory(const GrantPermissionDirectoryRequest&) const}.
     *

     * Grants a KiFS
     * directory-level permission to a user or role.
     */
    struct GrantPermissionDirectoryResponse
    {

        /**
         * Constructs a GrantPermissionDirectoryResponse object with default
         * parameter values.
         */
        GrantPermissionDirectoryResponse() :
            name(std::string()),
            permission(std::string()),
            directoryName(std::string()),
            info(std::map<std::string, std::string>())
        {
        }

        std::string name;
        std::string permission;
        std::string directoryName;
        std::map<std::string, std::string> info;
    };
}

namespace avro
{
    template<> struct codec_traits<gpudb::GrantPermissionDirectoryResponse>
    {
        static void encode(Encoder& e, const gpudb::GrantPermissionDirectoryResponse& v)
        {
            ::avro::encode(e, v.name);
            ::avro::encode(e, v.permission);
            ::avro::encode(e, v.directoryName);
            ::avro::encode(e, v.info);
        }

        static void decode(Decoder& d, gpudb::GrantPermissionDirectoryResponse& v)
        {
            if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
            {
                const std::vector<size_t> fo = rd->fieldOrder();

                for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
                {
                    switch (*it)
                    {
                        case 0:
                            ::avro::decode(d, v.name);
                            break;

                        case 1:
                            ::avro::decode(d, v.permission);
                            break;

                        case 2:
                            ::avro::decode(d, v.directoryName);
                            break;

                        case 3:
                            ::avro::decode(d, v.info);
                            break;

                        default:
                            break;
                    }
                }
            }
            else
            {
                ::avro::decode(d, v.name);
                ::avro::decode(d, v.permission);
                ::avro::decode(d, v.directoryName);
                ::avro::decode(d, v.info);
            }
        }
    };
}

#endif

repository: kineticadb/kinetica-api-cpp

repo_name: kineticadb/kinetica-api-cpp

extension: h


text:
package main

import (
	"fmt"
)

// sleepせずにgoroutinを実行してみる
func main() {
	for i := 0; i < 100; i++ {
		j := i

		go func() {
			// for文の変数jをそのまま使用 (Bad practice)
			fmt.Println("goroutin 1 task count - ", j)
		}()
	}

	fmt.Println("finish without waiting.")
}


text:
package main

import (
	"delay"

	"nrf51/hal/clock"
	"nrf51/hal/gpio"
	"nrf51/hal/irq"
	"nrf51/hal/rtc"
	"nrf51/hal/system"
	"nrf51/hal/system/timer/rtcst"
)

const (
	led0 = 18 + iota
	led1
	led2
	led3
	led4
)

var p0 = gpio.P0

func init() {
	system.Setup(clock.Xtal, clock.Xtal, true)
	rtcst.Setup(rtc.RTC0, 1)

	for led := led0; led <= led4; led++ {
		p0.SetMode(led, gpio.Out)
	}
}

func main() {
	for {
		for led := led0; led <= led4; led++ {
			p0.ClearPins(1<<led0 | 1<<led1 | 1<<led2 | 1<<led3 | 1<<led4)
			p0.SetPin(led)
			delay.Millisec(500)
		}
	}
}

//emgo:const
//c:__attribute__((section(".ISRs")))
var ISRs = [...]func(){
	irq.RTC0: rtcst.ISR,
}

repository: leobcn/emgo

repo_name: leobcn/emgo


text:
# Copyright (C) 2019 Zhu Yi <dev.yi.zhu@gmail.com>
# Released under the MIT license (see COPYING.MIT for the terms)

SUMMARY = "A multimedia image for rpi-home device."
LICENSE = "MIT"

require rpi-home-base.bb

IMAGE_INSTALL += " \
    opencv \
    ffmpeg \
"

IMAGE_INSTALL += "packagegroup-rpi-home-test"

repository: droidboxma/meta-rpi-home

repo_name: droidboxma/meta-rpi-home


text:
@inproceedings{CascadeZhao2018,
 address = {California},
 author = {Zhao, Yunwei and Wang, Can and Chi, Chi Hung and Lam, Kwok Yan and Wang, Sen},
 booktitle = {IJCAI},
 doi = {10.24963/ijcai.2018/169},
 month = {jul},
 pages = {1212--1218},
 title = {A comparative study of transactional and semantic approaches for predicting cascades on twitter},
 volume = {2018-July},
 year = {2018}
}

repository: csenw/csenw-website

repo_name: csenw/csenw-website


text:
package xentity

import (
	"github.com/go-xe2/x/encoding/xjson"
	"github.com/go-xe2/x/encoding/xxml"
	. "github.com/go-xe2/x/xf/ef/xqi"
)

type tEntitySelectSingle struct {
	sel *tEntitySelect
}

var _ EntitySelectSingle = (*tEntitySelectSingle)(nil)

func newEntitySelectSingle(entSelect *tEntitySelect) *tEntitySelectSingle {
	return &tEntitySelectSingle{
		sel: entSelect,
	}
}

func (ess *tEntitySelectSingle) Map() (data map[string]interface{}, err error) {
	rows, err := ess.sel.Top(1).List().Rows()
	if err != nil {
		return nil, err
	}
	if len(rows) == 0 {
		return nil, nil
	}
	return rows[0], nil
}

func (ess *tEntitySelectSingle) Xml() (data xxml.XmlStr, err error) {
	rows, err := ess.sel.Top(1).List().Xml()
	if err != nil {
		return "", err
	}
	return rows, nil
}

func (ess *tEntitySelectSingle) Json() (data xjson.JsonStr, err error) {
	rows, err := ess.sel.Top(1).List().Json()
	if err != nil {
		return "", err
	}
	return rows, nil
}

func (ess *tEntitySelectSingle) Dataset() (data Dataset, err error) {
	rows, err := ess.sel.Top(1).List().Dataset()
	if err != nil {
		return nil, err
	}
	return rows, nil
}

func (ess *tEntitySelectSingle) Slice() (data []interface{}, err error) {
	rows, err := ess.sel.Top(1).List().Slice()
	if err != nil {
		return nil, err
	}
	if len(rows) == 0 {
		return nil, nil
	}
	return rows[0], nil
}

func (ess *tEntitySelectSingle) Visit(visitor QueryBinderVisit) (data interface{}, err error) {
	v, err := ess.sel.Top(1).List().Visit(visitor)
	if err != nil {
		return nil, err
	}
	if rows, ok := v.([]interface{}); ok {
		data = rows[0]
	} else {
		data = v
	}
	return
}

func (ess *tEntitySelectSingle) Convert() EntitySelectConvert {
	return ess.sel
}


text:
# Copyright (C) 2012 Khem Raj <raj.khem@gmail.com>
# Released under the MIT license (see COPYING.MIT for the terms)

require kmod.inc

DEPENDS += "zlib-native"

inherit native

SRC_URI += "file://Change-to-calling-bswap_-instead-of-htobe-and-be-toh_debian.patch \
           "

do_install_append (){
	for tool in depmod insmod lsmod modinfo modprobe rmmod
	do
		ln -s kmod ${D}${bindir}/$tool
	done
}

repository: meta-debian/meta-debian

repo_name: meta-debian/meta-debian

branch_name: refs/heads/warrior

gha_language: BitBake


text:
DESCRIPTION = "freesmartphone.org Alsa data files"
LICENSE = "MIT"
PV = "0.1.0"
PR = "r0"

SRC_URI = "\
  file://default \
  file://default.conf \
"

do_install() {
	install -d ${D}${sysconfdir}/freesmartphone/alsa/default/
	# master conf
	install -m 0644 ${WORKDIR}/default.conf ${D}${sysconfdir}/freesmartphone/alsa/
	# scenarii
	install -m 0644 ${WORKDIR}/default/* ${D}${sysconfdir}/freesmartphone/alsa/default/
}

FILES_${PN} = "\
	${sysconfdir} \
"

repository: overo/overo-oe-natty

repo_name: overo/overo-oe-natty

branch_name: HEAD


text:
package data

import (
	"bytes"
	"encoding/json"
	"io/ioutil"
	"net/url"
	"os"
	"path/filepath"
	"strings"

	"github.com/spf13/afero"

	"github.com/pkg/errors"
)

func readFile(source *Source, args ...string) ([]byte, error) {
	if source.fs == nil {
		source.fs = afero.NewOsFs()
	}

	p := filepath.FromSlash(source.URL.Path)

	if len(args) == 1 {
		parsed, err := url.Parse(args[0])
		if err != nil {
			return nil, err
		}

		if parsed.Path != "" {
			p = filepath.Join(p, parsed.Path)
		}
	}

	// make sure we can access the file
	i, err := source.fs.Stat(p)
	if err != nil {
		return nil, errors.Wrapf(err, "Can't stat %s", p)
	}

	if strings.HasSuffix(p, string(filepath.Separator)) {
		source.mediaType = jsonArrayMimetype
		if i.IsDir() {
			return readFileDir(source, p)
		}
		return nil, errors.Errorf("%s is not a directory", p)
	}

	f, err := source.fs.OpenFile(p, os.O_RDONLY, 0)
	if err != nil {
		return nil, errors.Wrapf(err, "Can't open %s", p)
	}

	b, err := ioutil.ReadAll(f)
	if err != nil {
		return nil, errors.Wrapf(err, "Can't read %s", p)
	}
	return b, nil
}

func readFileDir(source *Source, p string) ([]byte, error) {
	names, err := afero.ReadDir(source.fs, p)
	if err != nil {
		return nil, err
	}
	files := make([]string, len(names))
	for i, v := range names {
		files[i] = v.Name()
	}

	var buf bytes.Buffer
	enc := json.NewEncoder(&buf)
	if err := enc.Encode(files); err != nil {
		return nil, err
	}
	b := buf.Bytes()
	// chop off the newline added by the json encoder
	return b[:len(b)-1], nil
}

repository: VonRosenchild/gomplate

repo_name: VonRosenchild/gomplate


text:
Automatically generated by Mendeley Desktop 1.13.3
Any changes to this file will be lost if it is regenerated by Mendeley.

BibTeX export options can be customized via Options -> BibTeX in Mendeley Desktop

@inproceedings{Gemignani2014,
annote = {Primarily evaluation paper -- no system description.},
author = {Gemignani, Guglielmo and Nardi, Daniele and Bloisi, Domenico Daniele and Capobianco, Roberto and Iocchi, Luca},
booktitle = {International Symposium on Experimental Robotics},
file = {:home/fduvalle/proj/mendeley/papers/Gemignani et al. - 2014 - Interactive Semantic Mapping Experimental Evaluation.pdf:pdf},
keywords = {cognitive robotics,human robot interaction,knowledge repre-,semantic mapping,sentation and reasoning},
title = {{Interactive Semantic Mapping: Experimental Evaluation}},
year = {2014}
}
@article{Zender2008,
author = {Zender, H and Mart, O and Jensfelt, P and Kruijff, G M and Burgard, W},
file = {:home/fduvalle/proj/mendeley/papers/Zender et al. - 2008 - Conceptual Spatial Representations for Indoor Mobile Robots.pdf:pdf},
journal = {Robotics and Autonomous Systems},
keywords = {conceptual map,mapping,mobile robots,service robots,spatial representation},
title = {{Conceptual Spatial Representations for Indoor Mobile Robots}},
year = {2008}
}
@inproceedings{Lai2014,
author = {Lai, Kevin and Bo, Liefeng and Fox, Dieter},
booktitle = {International Conference on Robotics and Automation},
file = {:home/fduvalle/proj/mendeley/papers/Lai, Bo, Fox - 2014 - Unsupervised Feature Learning for 3D Scene Labeling.pdf:pdf},
title = {{Unsupervised Feature Learning for 3D Scene Labeling}},
year = {2014}
}
@article{Nuchter2008,
author = {N\"{u}chter, Andreas and Hertzberg, Joachim},
file = {:home/fduvalle/proj/mendeley/papers/N\"{u}chter, Hertzberg - 2008 - Towards semantic maps for mobile robots(2).pdf:pdf},
journal = {Robotics and Autonomous Systems},
title = {{Towards semantic maps for mobile robots}},
year = {2008}
}
@inproceedings{Bastianelli2013,
author = {Bastianelli, Emanuele and Bloisi, Domenico Daniele and Capobianco, Roberto and Cossu, Fabrizio and Gemignani, Guglielmo and Iocchi, Luca and Nardi, Daniele},
booktitle = {International Conference on Advanced Robotics},
file = {:home/fduvalle/proj/mendeley/papers/Bastianelli et al. - 2013 - On-line Semantic Mapping.pdf:pdf},
title = {{On-line Semantic Mapping}},
year = {2013}
}
@inproceedings{Friedman2007,
author = {Friedman, Stephen and Pasula, Hanna and Fox, Dieter},
booktitle = {International Joint Conference on Artificial Intelligence},
file = {:home/fduvalle/proj/mendeley/papers/Friedman, Pasula, Fox - 2007 - Voronoi Random Fields Extracting the Topological Structure of Indoor Environments via Place Labeling.pdf:pdf},
title = {{Voronoi Random Fields: Extracting the Topological Structure of Indoor Environments via Place Labeling}},
year = {2007}
}
@article{Pronobis2010,
author = {Pronobis, Andrzej and {Martinez Mozos}, O. and Caputo, B. and Jensfelt, P.},
file = {:home/fduvalle/proj/mendeley/papers/Pronobis et al. - 2010 - Multi-modal Semantic Place Classification.pdf:pdf},
journal = {The International Journal of Robotics Research},
keywords = {localization,multi-modal place classification,recognition,semantic annotation of space,sensor and cue integration,sensor fusion},
title = {{Multi-modal Semantic Place Classification}},
year = {2010}
}
@inproceedings{Hemachandra2014,
author = {Hemachandra, Sachithra and Walter, Matthew R and Tellex, Stefanie and Teller, Seth},
booktitle = {International Conference on Robotics and Automation},
file = {:home/fduvalle/proj/mendeley/papers/Hemachandra et al. - 2014 - Learning Spatial-Semantic Representations from Natural Language Descriptions and Scene Classifications.pdf:pdf},
title = {{Learning Spatial-Semantic Representations from Natural Language Descriptions and Scene Classifications}},
year = {2014}
}
@article{Mozos2007,
author = {Mozos, Oscar Martinez and Triebel, Rudolph and Jensfelt, Patric and Rottmann, Axel and Burgard, Wolfram},
file = {:home/fduvalle/proj/mendeley/papers/Mozos et al. - 2007 - Supervised semantic labeling of places using information extracted from sensor data.pdf:pdf},
journal = {Robotics and Autonomous Systems},
keywords = {human-robot interaction,place categorization,semantic place classification,topological maps},
title = {{Supervised semantic labeling of places using information extracted from sensor data}},
year = {2007}
}
@article{Walter2014,
author = {Walter, M. R. and Hemachandra, S. and Homberg, B. and Tellex, S. and Teller, S.},
file = {:home/fduvalle/proj/mendeley/papers/Walter et al. - 2014 - A framework for learning semantic maps from grounded natural language descriptions.pdf:pdf},
journal = {The International Journal of Robotics Research},
title = {{A framework for learning semantic maps from grounded natural language descriptions}},
year = {2014}
}
@inproceedings{Stachniss2005a,
author = {Stachniss, Cyrill and Martinez-Mozos, Oscar and Rottmann, Axel and Burgard, Wolfram},
booktitle = {International Symposium of Robotics Research},
file = {:home/fduvalle/proj/mendeley/papers/Stachniss et al. - 2005 - Semantic labeling of places.pdf:pdf},
title = {{Semantic labeling of places}},
year = {2005}
}
@article{Anand2012,
author = {Anand, Abhishek and Koppula, Hema Swetha and Joachims, Thorsten and Saxena, Ashutosh},
file = {:home/fduvalle/proj/mendeley/papers/Anand et al. - 2012 - Contextually Guided Semantic Labeling and Search for 3D Point Clouds.pdf:pdf},
journal = {International Journal of Robotics Research},
title = {{Contextually Guided Semantic Labeling and Search for 3D Point Clouds}},
year = {2012}
}
@article{Kuipers2000,
abstract = {The Spatial Semantic Hierarchy (SSH) is a model of knowledge of large-scale space consisting of multiple interacting representations, both qualitative and quantitative. It is inspired by the properties of the human cognitive map, and is intended to serve both as a model of the human cognitive map and as a method for robot exploration and map-building. This article describes the assumptions and guarantees behind the generality of the SSH across environments and sensorimotor systems. Evidence is given from several partial implementation of the SSH on simulated and physical robots.},
author = {Kuipers, Benjamin},
file = {:home/fduvalle/proj/mendeley/papers/Kuipers - 2000 - Spatial semantic hierarchy.pdf:pdf},
journal = {Artificial Intelligence},
publisher = {Elsevier Science Publishers B.V.},
title = {{Spatial semantic hierarchy}},
year = {2000}
}


text:
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package devtestlab

import (
	"context"
	"reflect"

	"github.com/pkg/errors"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

// A Disk.
// API Version: 2018-09-15.
type Disk struct {
	pulumi.CustomResourceState

	// The creation date of the disk.
	CreatedDate pulumi.StringOutput `pulumi:"createdDate"`
	// When backed by a blob, the name of the VHD blob without extension.
	DiskBlobName pulumi.StringPtrOutput `pulumi:"diskBlobName"`
	// The size of the disk in Gibibytes.
	DiskSizeGiB pulumi.IntPtrOutput `pulumi:"diskSizeGiB"`
	// The storage type for the disk (i.e. Standard, Premium).
	DiskType pulumi.StringPtrOutput `pulumi:"diskType"`
	// When backed by a blob, the URI of underlying blob.
	DiskUri pulumi.StringPtrOutput `pulumi:"diskUri"`
	// The host caching policy of the disk (i.e. None, ReadOnly, ReadWrite).
	HostCaching pulumi.StringPtrOutput `pulumi:"hostCaching"`
	// The resource ID of the VM to which this disk is leased.
	LeasedByLabVmId pulumi.StringPtrOutput `pulumi:"leasedByLabVmId"`
	// The location of the resource.
	Location pulumi.StringPtrOutput `pulumi:"location"`
	// When backed by managed disk, this is the ID of the compute disk resource.
	ManagedDiskId pulumi.StringPtrOutput `pulumi:"managedDiskId"`
	// The name of the resource.
	Name pulumi.StringOutput `pulumi:"name"`
	// The provisioning status of the resource.
	ProvisioningState pulumi.StringOutput `pulumi:"provisioningState"`
	// When backed by a blob, the storage account where the blob is.
	StorageAccountId pulumi.StringPtrOutput `pulumi:"storageAccountId"`
	// The tags of the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The type of the resource.
	Type pulumi.StringOutput `pulumi:"type"`
	// The unique immutable identifier of a resource (Guid).
	UniqueIdentifier pulumi.StringOutput `pulumi:"uniqueIdentifier"`
}

// NewDisk registers a new resource with the given unique name, arguments, and options.
func NewDisk(ctx *pulumi.Context,
	name string, args *DiskArgs, opts ...pulumi.ResourceOption) (*Disk, error) {
	if args == nil {
		return nil, errors.New("missing one or more required arguments")
	}

	if args.LabName == nil {
		return nil, errors.New("invalid value for required argument 'LabName'")
	}
	if args.ResourceGroupName == nil {
		return nil, errors.New("invalid value for required argument 'ResourceGroupName'")
	}
	if args.UserName == nil {
		return nil, errors.New("invalid value for required argument 'UserName'")
	}
	aliases := pulumi.Aliases([]pulumi.Alias{
		{
			Type: pulumi.String("azure-nextgen:devtestlab:Disk"),
		},
		{
			Type: pulumi.String("azure-native:devtestlab/v20160515:Disk"),
		},
		{
			Type: pulumi.String("azure-nextgen:devtestlab/v20160515:Disk"),
		},
		{
			Type: pulumi.String("azure-native:devtestlab/v20180915:Disk"),
		},
		{
			Type: pulumi.String("azure-nextgen:devtestlab/v20180915:Disk"),
		},
	})
	opts = append(opts, aliases)
	var resource Disk
	err := ctx.RegisterResource("azure-native:devtestlab:Disk", name, args, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}

// GetDisk gets an existing Disk resource's state with the given name, ID, and optional
// state properties that are used to uniquely qualify the lookup (nil if not required).
func GetDisk(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DiskState, opts ...pulumi.ResourceOption) (*Disk, error) {
	var resource Disk
	err := ctx.ReadResource("azure-native:devtestlab:Disk", name, id, state, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}

// Input properties used for looking up and filtering Disk resources.
type diskState struct {
}

type DiskState struct {
}

func (DiskState) ElementType() reflect.Type {
	return reflect.TypeOf((*diskState)(nil)).Elem()
}

type diskArgs struct {
	// When backed by a blob, the name of the VHD blob without extension.
	DiskBlobName *string `pulumi:"diskBlobName"`
	// The size of the disk in Gibibytes.
	DiskSizeGiB *int `pulumi:"diskSizeGiB"`
	// The storage type for the disk (i.e. Standard, Premium).
	DiskType *string `pulumi:"diskType"`
	// When backed by a blob, the URI of underlying blob.
	DiskUri *string `pulumi:"diskUri"`
	// The host caching policy of the disk (i.e. None, ReadOnly, ReadWrite).
	HostCaching *string `pulumi:"hostCaching"`
	// The name of the lab.
	LabName string `pulumi:"labName"`
	// The resource ID of the VM to which this disk is leased.
	LeasedByLabVmId *string `pulumi:"leasedByLabVmId"`
	// The location of the resource.
	Location *string `pulumi:"location"`
	// When backed by managed disk, this is the ID of the compute disk resource.
	ManagedDiskId *string `pulumi:"managedDiskId"`
	// The name of the disk.
	Name *string `pulumi:"name"`
	// The name of the resource group.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// When backed by a blob, the storage account where the blob is.
	StorageAccountId *string `pulumi:"storageAccountId"`
	// The tags of the resource.
	Tags map[string]string `pulumi:"tags"`
	// The name of the user profile.
	UserName string `pulumi:"userName"`
}

// The set of arguments for constructing a Disk resource.
type DiskArgs struct {
	// When backed by a blob, the name of the VHD blob without extension.
	DiskBlobName pulumi.StringPtrInput
	// The size of the disk in Gibibytes.
	DiskSizeGiB pulumi.IntPtrInput
	// The storage type for the disk (i.e. Standard, Premium).
	DiskType pulumi.StringPtrInput
	// When backed by a blob, the URI of underlying blob.
	DiskUri pulumi.StringPtrInput
	// The host caching policy of the disk (i.e. None, ReadOnly, ReadWrite).
	HostCaching pulumi.StringPtrInput
	// The name of the lab.
	LabName pulumi.StringInput
	// The resource ID of the VM to which this disk is leased.
	LeasedByLabVmId pulumi.StringPtrInput
	// The location of the resource.
	Location pulumi.StringPtrInput
	// When backed by managed disk, this is the ID of the compute disk resource.
	ManagedDiskId pulumi.StringPtrInput
	// The name of the disk.
	Name pulumi.StringPtrInput
	// The name of the resource group.
	ResourceGroupName pulumi.StringInput
	// When backed by a blob, the storage account where the blob is.
	StorageAccountId pulumi.StringPtrInput
	// The tags of the resource.
	Tags pulumi.StringMapInput
	// The name of the user profile.
	UserName pulumi.StringInput
}

func (DiskArgs) ElementType() reflect.Type {
	return reflect.TypeOf((*diskArgs)(nil)).Elem()
}

type DiskInput interface {
	pulumi.Input

	ToDiskOutput() DiskOutput
	ToDiskOutputWithContext(ctx context.Context) DiskOutput
}

func (*Disk) ElementType() reflect.Type {
	return reflect.TypeOf((*Disk)(nil))
}

func (i *Disk) ToDiskOutput() DiskOutput {
	return i.ToDiskOutputWithContext(context.Background())
}

func (i *Disk) ToDiskOutputWithContext(ctx context.Context) DiskOutput {
	return pulumi.ToOutputWithContext(ctx, i).(DiskOutput)
}

type DiskOutput struct {
	*pulumi.OutputState
}

func (DiskOutput) ElementType() reflect.Type {
	return reflect.TypeOf((*Disk)(nil))
}

func (o DiskOutput) ToDiskOutput() DiskOutput {
	return o
}

func (o DiskOutput) ToDiskOutputWithContext(ctx context.Context) DiskOutput {
	return o
}

func init() {
	pulumi.RegisterOutputType(DiskOutput{})
}

repository: morrell/pulumi-azure-native

repo_name: morrell/pulumi-azure-native


text:
package tests

import (
	"context"
	"testing"
	// please only use the gateway types in this test
	// other other tests should use the provider types
)

func Test_ProviderInfo(t *testing.T) {
	systeminfo, err := config.Client.GetSystemInfo(context.Background())

	if err != nil {
		t.Fatal(err)
	}

	p, ok := systeminfo["provider"]
	if !ok {
		t.Fatal("provider info should be present")
	}
	provider := p.(map[string]interface{})

	if orch, ok := provider["orchestration"]; !ok || orch.(string) == "" {
		t.Fatal("provider orchestration name may not be empty")
	}

	if name, ok := provider["provider"]; !ok || name.(string) == "" {
		t.Fatal("provider name may not be empty")
	}

	pv, ok := provider["version"]
	if !ok {
		t.Fatal("provider version cannot be empty")
	}
	providerVersion := pv.(map[string]interface{})
	if release, ok := providerVersion["release"]; !ok || release.(string) == "" {
		t.Fatal("provider version release may not be empty")
	}
	if sha, ok := providerVersion["sha"]; !ok || sha.(string) == "" {
		t.Fatal("provider version sha may not be empty")
	}

	v, ok := systeminfo["version"]
	version := v.(map[string]interface{})

	if !ok {
		t.Fatal("gateway version may not be nil")
	}

	if release, ok := version["release"]; !ok || release.(string) == "" {
		t.Fatal("gateway version release may not be empty")
	}

	if sha, ok := version["sha"]; !ok || sha.(string) == "" {
		t.Fatal("gateway version sha may not be empty")
	}

}

repository: developer-guy/certifier

repo_name: developer-guy/certifier


text:
package traderate

// GetMixRateListResult 结构体
type GetMixRateListResult struct {
	// 评价明细信息
	MixRates []MixRateVo `json:"mix_rates,omitempty" xml:"mix_rates>mix_rate_vo,omitempty"`
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 是否下一页
	HasNextPage int64 `json:"has_next_page,omitempty" xml:"has_next_page,omitempty"`
	// 评价统计信息
	ItemStatistic *ItemStatisticVo `json:"item_statistic,omitempty" xml:"item_statistic,omitempty"`
	// 总数量
	TotalNum int64 `json:"total_num,omitempty" xml:"total_num,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

repository: bububa/opentaobao

repo_name: bububa/opentaobao


text:
package select_test

import (
  "testing"
  "fmt"
  "time"
)

func serviceWith100MS() int {
  time.Sleep(time.Millisecond * 100)
  return 100
}

func serviceWith500MS() int {
  time.Sleep(time.Millisecond * 500)
  return 500
}

func AsyncService(serviceFunc func() int) chan int {
  retChan := make(chan int, 1)
  go func() {
    ret := serviceFunc()
    retChan <- ret
  }()

  return retChan
}

func TestSelect(t *testing.T)  {
  retChan1 := AsyncService(serviceWith100MS)
  retChan2 := AsyncService(serviceWith500MS)

  select {
  case ret := <-retChan1:
    fmt.Println("select Async call serviceWith100MS returned ", ret)
  case ret := <-retChan2:
    fmt.Println("select Async call serviceWith500MS returned ", ret)
  case <-time.After(time.Second * 1):
    fmt.Println("time out.")
  // default:
  //   fmt.Println("select default!")
  }

  fmt.Println("Done.")
}

repository: wang-junjian/geektime

repo_name: wang-junjian/geektime


text:
DESCRIPTION = "Linux zram compressed in-memory swap systemd service"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"

inherit allarch systemd

PR = "r0"

SRC_URI = "file://rpi-zram.service \
           file://rpi-load-zram.sh \
          "

do_compile() {
    :
}

do_install () {
	install -d ${D}/${bindir}

	install -m 0755 ${WORKDIR}/rpi-load-zram.sh ${D}/${bindir}

	install -d ${D}/${base_libdir}/systemd/system
	install -m 0644 ${WORKDIR}/rpi-zram.service ${D}/${base_libdir}/systemd/system/
}

SYSTEMD_PACKAGES = "${PN}"
SYSTEMD_SERVICE_${PN} = "rpi-zram.service"

FILES_${PN} += "${base_libdir}/systemd"

repository: tylerwhall/meta-raspberrypi

repo_name: tylerwhall/meta-raspberrypi


text:
DESCRIPTION = "LyX is an advanced type setting processor - a frontend for LaTeX"
SECTION = "x11/office"
LICENSE = "GPL"
HOMEPAGE = "http://www.lyx.org"
DEPENDS = "boost qt4-x11-free"
RSUGGESTS = "tetex"
RDEPENDS = "python-shell python-textutils"
PR = "r0"

SRC_URI = "http://lyx.cybermirror.org/stable/lyx-${PV}.tar.bz2"

inherit qt4x11 autotools

EXTRA_OECONF = " --with-qt4-dir=${QTDIR} -enable-pch"
EXTRA_QMAKEVARS_POST = "DEFINES+=_LIBC"
PARALLEL_MAKE = ""

do_configure_prepend() {
	echo "NOTE: touching missing files, please report to upstream"
	touch lib/configure.ac lib/doc/LaTeXConfig.lyx lib/textclass.lst
}

export UIC="${OE_QMAKE_UIC}"
export MOC="${OE_QMAKE_MOC}"
export OE_QMAKE_LIBS_X11="-lX11 -lXext"

repository: scoutcamper/slugos

repo_name: scoutcamper/slugos


text:
@Book{test-buch,
author = {1 Autor},
title = {1 Buch},
publisher = {Verlag},
year = {2018}
}


text:
@InProceedings{daia16,
  title = {The knockoff filter for FDR control in group-sparse and multitask regression},
  author = {Ran Dai and Rina Barber},
  pages = {1851-1859},
  abstract = {We propose the group knockoff filter, a method for false discovery rate control in a linear regression setting where the features are grouped, and we would like to select a set of relevant groups which have a nonzero effect on the response. By considering the set of true and false discoveries at the group level, this method gains power relative to sparse regression methods. We also apply our method to the multitask regression problem where multiple response variables share similar sparsity patterns across the set of possible features. Empirically, the group knockoff filter successfully controls false discoveries at the group level in both settings, with substantially more discoveries made by leveraging the group structure.},
}

repository: mreid/papersite

repo_name: mreid/papersite

gha_language: TeX


text:
@book{bard1974,
  author = "Bard, Yonathan",
  title = "Nonlinear Parameter Estimation",
  publisher = "Academic Press",
  address = "New York",
  year = 1974,
}

@Article{RePEc:eee:empfin:v:5:y:1998:i:2:p:155-173,
  author={Danielsson, Jon},
  title={Multivariate stochastic volatility models: Estimation and a comparison with {\sc vgarch}  models},
  journal={Journal of Empirical Finance},
  year=1998,
  volume={5},
  number={2},
  pages={155--173},
  month={June},
  keywords={},
  abstract={},
  url={http://ideas.repec.org/a/eee/empfin/v5y1998i2p155-173.html}
}

@book{gelmancarlinsternrubin,
  author = "Gelman, Andrew and John B. Carlin and Hal S. Stern and Donald B. Rubin",
  year = 1995,
  title = "Bayesian Data Analysis",
  publisher = "Chapman and Hall",
  address = "London",
}

@article{hamilton1989,
  author = "Hamilton, James D.",
  year = 1989,
  title = "A new approach to the economic analysis of nonstationary time series and the business cycle",
  journal = "Econometrica",
  volume = 57,
  number = 2,
  pages = "357--384",
}

@book{hamilton1994,
  author = "Hamilton, James D.",
  year = 1994,
  title = "Time Series Analysis",
  address = "Princeton, N.J.",
  publisher = "Princeton University Press",
}

@book{harvey1990,
  author = "Harvey, Andrew C.",
  title = "Forecasting structural time series models and the Kalman filter",
  publisher = "Cambridge University Press",
  year = 1990,
}

@book{hilbornwalters1992,
  author = "Hilborn, Ray and Walters, Carl J.",
  year = 1992,
  title = "Quantitative Fisheries Stock Assessment and Management: Choice, Dynamics, and Uncertainty",
  publisher = "Chapman and Hall",
  address = "New York",
}

repository: admb-project/admb

repo_name: admb-project/admb

gha_license_id: NOASSERTION