blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6dce8298cb97791002e90eb41990a970a8b9cf04 | 9bd2e0abd36191df0373d8927df85b2a12304816 | /Calibration/OpenShortCalib/moc_hardwareinterface.cpp | 4c95d369e2d3621ee77f25203fb799253365db51 | [] | no_license | Qmax/PT6 | 8c92c3566c082843fc561bd684faa427183a6f04 | e4c670beb058ec246cf6f823b4414e19ba956e5f | refs/heads/master | 2021-01-19T08:59:47.400962 | 2014-09-02T14:04:19 | 2014-09-02T14:04:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,158 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'hardwareinterface.h'
**
** Created: Mon Jul 15 16:41:08 2013
** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
**
** WARNING! All changes made in this file will be lost!
*****************... | [
"ravivarman@ravivarman.(none)"
] | ravivarman@ravivarman.(none) |
572c1db87c7f1ee2182b31f55b10bb5c21b08dd0 | 7fefd2e7345e165d9f4e50fb4d95417e8441eac0 | /line.h | 984707563fea6a79d57d30c08ed1101abfe74596 | [] | no_license | jpreiss/molasses | 30ea94fd39b66328cee66742179a7473ab44ca11 | 9fa6e3d05fabad5e92025cc441961f9878ab9517 | refs/heads/master | 2021-01-17T08:29:30.623443 | 2016-06-28T21:27:56 | 2016-06-28T21:27:56 | 12,252,235 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 969 | h | #pragma once
#include "vec.h"
class Line
{
public:
Line(Vec const &s, Vec const &e) : start(s), end(e) {}
Vec start;
Vec end;
float length2()
{
return (end - start).length2();
}
float length()
{
return (end - start).length();
}
};
/* Not needed yet, wrote before I decided to ditch scan line rasterizer... | [
"donjeezy@gmail.com"
] | donjeezy@gmail.com |
4f9641178f717ba23ebf244be5d52db3062fe933 | 1a54220fad88ff1a8e83a1c6aed7c62013fcd2e4 | /Unique Paths/main.cpp | 3fc43265f92684927ffa3c8ab6a04ad30eeb400b | [] | no_license | akashc777/LeetCodeChallenge | ef7d6335c05d782de039a70af34463571ff0cde1 | 41f900dddb411f5ba076bcea2fb7e896bb16c966 | refs/heads/master | 2022-11-29T02:07:26.132812 | 2020-08-05T16:40:03 | 2020-08-05T16:40:03 | 281,602,695 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 412 | cpp | class Solution {
public:
int uniquePaths(int m, int n) {
int arr[m][n];
for(int i=0; i<m; i++){
for(int j=0; j<n; j++){
if(i==0 || j==0){
arr[i][j] = 1;
continue;
}else{
arr[i][j]= arr[i][j-1] + a... | [
"contact@akash.page"
] | contact@akash.page |
c5acb5d682dae47ae7beff77ab46551ed20d38e6 | 723aba9051f6c05ad63d7d0f06c96dc8152be9fb | /NewSandbox/AnimNotifies/Weapons/Mag/MagOut/MagOutAnimNotify_PlaySound.cpp | 7ab2f74c88093785929da8819e89adf567a77b26 | [] | no_license | JTuthill01/NewSandbox | 94efe5521c85dd2d3ca62f48f0e877ff69fd1aae | 916d2cb60ba3da4330d2af98da3aad376e2d6788 | refs/heads/main | 2023-07-17T14:41:18.389959 | 2021-09-03T13:02:25 | 2021-09-03T13:02:25 | 384,204,538 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 406 | cpp | #include "MagOutAnimNotify_PlaySound.h"
#include "NewSandbox/Actors/Weapons/WeaponBase/WeaponBase.h"
#include "Kismet/GameplayStatics.h"
void UMagOutAnimNotify_PlaySound::Notify(USkeletalMeshComponent* MeshComp, UAnimSequenceBase* Animation)
{
auto Weapon = Cast<AWeaponBase>(MeshComp->GetOwner());
if (!Weapon)
re... | [
"emt_tuthill@hotmail.com"
] | emt_tuthill@hotmail.com |
e3ec9623eeae9c35129670b40d583fb951d73dc0 | 756acc543ca1bc54a8317733db22f870c183967b | /Session.cpp | 36b4cf2ef232735362c44551fcf2502e15da9671 | [] | no_license | urbanscenery/ReservationSystem | 70048856f0a5e03fb99b1cbf92004adc82a3c16d | f0d26180ecb7b95038b30e504d9771c878cb25a2 | refs/heads/master | 2020-03-18T19:26:39.219208 | 2018-06-03T05:13:33 | 2018-06-03T05:13:33 | 135,154,646 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 598 | cpp | #include "Session.h"
Session::Session()
{
}
Session::Session(char *newUserID)
{
strcpy(userID, newUserID);
}
/*Session::Session(char *newUserID, char *newMemberType)
{
strcpy_s(userID, sizeof(userID), newUserID);
if (strcmp("guest", newMemberType) == 0)
memberType = 1;
else
memberType = 2;
}... | [
"urbanscenery@gmail.com"
] | urbanscenery@gmail.com |
ef159e0c8d54636b21fc453b65d0c237876f98ae | 7e68c3e0e86d1a1327026d189a613297b769c411 | /parsergen/lexgen/DFA.cpp | d37e8e71ef041bb03e666800f40797c476827459 | [] | no_license | staticlibs/Big-Numbers | bc08092e36c7c640dcf43d863448cd066abaebed | adbfa38cc2e3b8ef706a3ac8bbd3e398f741baf3 | refs/heads/master | 2023-03-16T20:25:08.699789 | 2020-12-20T20:50:25 | 2020-12-20T20:50:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,360 | cpp | #include "stdafx.h"
#include <string.h>
#include "DFA.h"
DFA::DFA(const NFA &nfa) : m_NFA(nfa), m_verboseFile(stdoutMarginFile) {
const Options &options = Options::getInstance();
makeTransitions();
if(isDFAVerbose()) {
_tprintf(_T("Unminimized DFA table:\n"));
for(size_t i = 0; i < m_states.size(); i++)... | [
"jesper.gr.mikkelsen@gmail.com"
] | jesper.gr.mikkelsen@gmail.com |
637314c2d7c941b4fccffb9044d42b2d07b78867 | 3603a0c374fae8eb00437b0bd3086230e12874de | /twxes10/libs/cocos2dx/platform/CCCommon.cpp | c6f0e0347a6b829fa03b86e447f77ee6b141a216 | [
"MIT"
] | permissive | diwu/Tiny-Wings-Remake-on-Android | b5bfb8dada7783546622464690c5f212ebba9479 | a9fd714432a350b69615bf8dbb40448231a54524 | refs/heads/master | 2021-01-01T18:06:41.598507 | 2017-04-18T02:09:20 | 2017-04-18T02:09:20 | 4,390,705 | 50 | 23 | null | 2017-04-18T02:09:21 | 2012-05-21T06:53:30 | C | UTF-8 | C++ | false | false | 8,098 | cpp | /****************************************************************************
Copyright (c) 2010 cocos2d-x.org
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software with... | [
"diwwu@zynga.com"
] | diwwu@zynga.com |
2d9a3e185e3edc34cea89d8f9e74ebe432030a84 | 86f3b7e119705f5cdfe3921925e93c883f0b8445 | /BeatDetectionPlugin.h | 1c557288bd3f43e16d9c635c83062db683e2191a | [
"MIT"
] | permissive | m0r13/vamp-beat-detection | cb6ebb2dee5891b931fd70a1592f8e5fba799844 | 68f4c449248f883de5d3ff1541dd0fcaa3555c18 | refs/heads/master | 2020-07-21T19:16:08.457921 | 2016-11-15T18:56:00 | 2016-11-15T18:56:00 | 73,841,627 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,431 | h | #ifndef _BEAT_DETECTION_PLUGIN_H_
#define _BEAT_DETECTION_PLUGIN_H_
#include <vamp-sdk/Plugin.h>
using std::string;
class BeatDetectionPlugin : public Vamp::Plugin {
public:
BeatDetectionPlugin(float inputSampleRate);
virtual ~BeatDetectionPlugin();
string getIdentifier() const;
string getName() con... | [
"moritz.hilscher@gmail.com"
] | moritz.hilscher@gmail.com |
690b35d6c170e8efbfbf09d7f135fb59a238acca | c6b920f08a4615a7471d026005c2ecc3267ddd71 | /adapters/Lammps/src/Glue/LammpsNativeAtomPositionDefinition.cpp | 147fdcfdfe8b706f37685f774a42c5367f90d7fd | [] | no_license | etomica/legacy-api | bcbb285395f27aa9685f02cc7905ab75f87b017c | defcfb6650960bf6bf0a3e55cb5ffabb40d76d8b | refs/heads/master | 2021-01-20T14:07:57.547442 | 2010-04-22T21:19:19 | 2010-04-22T21:19:19 | 82,740,861 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,241 | cpp | /*
* LammpsNativeAtomPositionDefinition.cpp
* API Glue
*
*/
#include "IAPIMolecule.h"
#include "IAPIAtomList.h"
#include "IAPIVector.h"
#include "LammpsNativeAtomPositionDefinition.h"
#include "LammpsVector2D.h"
namespace lammpswrappers
{
LammpsNativeAtomPositionDefinition::LammpsNativeAtomPositionDefinit... | [
"rrassler@buffalo.edu"
] | rrassler@buffalo.edu |
324207603de7a838bab5c3e44901d3b41886a513 | 46bf6fc69231692b467f50eba2299db7f1784ace | /Proj/Attr/hfwidget_facade_attr.cpp | 691765fa0ef2908b1bb6df51739d9bdcca3df892 | [] | no_license | RabbitChenc/crasherror | 5080c6629659a04721e27a04a5100d982c264ff6 | 2b3c589f00e60fc32b0715d795d6ac5070126113 | refs/heads/master | 2022-09-17T13:19:21.198554 | 2020-06-03T09:03:28 | 2020-06-03T09:03:28 | 269,039,710 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,331 | cpp | #include "hfwidget_facade_attr.h"
#include <QtDebug>
#include "../hfsin_hungry.h"
PtrHungry &hungry1 = PtrHungry::getInstance();
QXmlStreamReader &xmlReader1 = hungry1.xmlReader;
HFWidgetFacadeAttrs::HFWidgetFacadeAttrs()
{
setWidgetAttri(attriWidget);
}
const tHFWidgetFacadeAttri*HFWidgetFacadeAttrs::getWidgetA... | [
"357778342@qq.com"
] | 357778342@qq.com |
4c7c353e3587d5a3db4b89bc7dd9d991d985b52b | d93c9f0239e33fcb8ccc20ce999b094659003202 | /aero_srr_supervisor/include/aero_srr_supervisor/StateTable.h | 29d260f24b185fe4ae93435f1f38cc4f567abf74 | [] | no_license | Sprann9257/aero_srr_13 | 6657b5f464b3b43f11b8c8b4091b21660a7df910 | f378a11bc6de8b280262cb3de7d58eab95a4eee7 | refs/heads/master | 2021-05-27T19:23:10.092640 | 2013-06-06T17:15:20 | 2013-06-06T17:15:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,855 | h | /**
* @file StateTable.h
*
* @date May 2, 2013
* @author parallels
* @brief \TODO
*/
#ifndef STATETABLE_H_
#define STATETABLE_H_
//*********** SYSTEM DEPENDANCIES ****************//
#include<boost/unordered_map.hpp>
#include<boost/foreach.hpp>
//************ LOCAL DEPENDANCIES ****************//
#include <... | [
"adampanzica@gmail.com"
] | adampanzica@gmail.com |
750a5bca2982fa6d23a05fe6d603366b43bdbe6a | 27a2bcbe3757071a0e1174f849e487dc9f315294 | /minisql/storage/record/RecordFile.h | daab26ed1d38868db885ea7ee89d7944f7be3fdf | [] | no_license | bluealert/MiniSQL | 3b6873896fe1a17c1e681d6f5be2efc98e6cd92c | 7195c6aa2c300601ad284e04c273e4f083680c63 | refs/heads/master | 2020-03-09T20:52:56.137690 | 2019-06-07T06:48:27 | 2019-06-07T06:48:27 | 128,995,731 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,065 | h | #pragma once
#include <storage/record/RID.h>
#include <storage/record/RecordPage.h>
#include <string>
namespace minisql {
namespace storage {
namespace tx {
class Transaction;
}
namespace record {
class TableInfo;
class RecordFile {
public:
RecordFile(const std::shared_ptr<TableInfo> &ti, tx::Transaction &tx);... | [
"tao.zhou2009@gmail.com"
] | tao.zhou2009@gmail.com |
e375f6af0c89fd7e42b0c682f5c51fe6bd95fb7f | c7506dcd5b5eb0a47eea30a939cc5fd042c44a8b | /x.cpp | 34781c24a0375e70f64eb8db05dd7855fcaff501 | [] | no_license | blocklimemal/test | 0521a9496fce05f435bfd563b75a2efa8d7d3cff | 9550cbcf1cfbe6e7f4148484a29ad6d1a3b5339d | refs/heads/master | 2022-12-01T03:19:05.001559 | 2020-08-19T08:57:39 | 2020-08-19T08:57:39 | 288,655,410 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6 | cpp | dnsdj
| [
"deven.sharma@siemens.com"
] | deven.sharma@siemens.com |
f9cef69bf5f6ee30822b9a3bb3960e759b7560f3 | 61f861b29683ff9e979a4719611aef9b3b029bf1 | /kakui/kakui/net/SocketsOps.h | b9285482a9fad337d16c4d7ecf81872520c9eae6 | [] | no_license | kakitgogogo/Bauble | 001c1a09562852a7ad8547fc14374c068826165a | ecc1d0dab96e1335e194c45cf1af178cac79d1bc | refs/heads/master | 2020-05-21T08:54:04.981182 | 2017-08-26T04:22:24 | 2017-08-26T04:22:24 | 69,658,608 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,155 | h | #pragma once
#include <arpa/inet.h>
#include <endian.h>
namespace kakui
{
namespace sockets
{
inline uint64_t hostToNetwork64(uint64_t host64)
{
return htobe64(host64);
}
inline uint32_t hostToNetwork32(uint32_t host32)
{
return htonl(host32);
}
inline uint16_t hostToNetwork16(uint16_t host16)
{
return htons(h... | [
"707828130@qq.com"
] | 707828130@qq.com |
d5361d5fe77876646583cb88d78dd5b41edfb086 | b1aa3bfe1732d75fdd2adb0abe7051384015e3d1 | /apps/c/CloverLeaf_3D_HDF5/MPI_OpenMP/update_halo_kernel5_plus_4_b_omp_kernel.cpp | 975cfdd4a307bc48ed12d347a18c47f2e2f2bda5 | [] | no_license | lipk/OPS | 56a04e863a6e32ed250e74047adc9ec083b850ca | 33d2801dd898abe031cba5b9aaae1d0d2c8ce9ad | refs/heads/master | 2021-01-22T23:48:42.671026 | 2017-03-17T09:09:20 | 2017-03-17T09:09:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,496 | cpp | //
// auto-generated by ops.py
//
#ifdef _OPENMP
#include <omp.h>
#endif
// user function
inline void update_halo_kernel5_plus_4_b(double *vol_flux_z,
double *mass_flux_z,
const int *fields) {
if (fields[FIELD_VOL_FLUX_Z] == 1)
vo... | [
"mudalige@octon.arc.ox.ac.uk"
] | mudalige@octon.arc.ox.ac.uk |
67445f330f384106d48e30491d77589367d534b0 | 3d4d930bafe20349d7cc9f084a803800204380fb | /THE_DEV_GAME/PROYECT/THE DEV GAME/THE DEV GAME/TextureManager.cpp | 2607088a7e50653ce620e457b8b63a69d0527c5b | [] | no_license | HafWalker/TheDevGame | e93b66fc72bdab4ae68de499bb05e1e8b709563a | 424b056b40ba5fd26cf4a4f427b3c885d1014f2a | refs/heads/master | 2023-08-05T11:53:29.174662 | 2021-09-24T13:42:06 | 2021-09-24T13:42:06 | 388,254,825 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 472 | cpp | #include "stdafx.h"
#include "TextureManager.h"
sf::RenderWindow* window = nullptr;
void TextureManager::SetRenderTarget(sf::RenderWindow* win) {
window = win;
}
sf::Texture* TextureManager::LoadTexture(const char* fileName) {
sf::Texture* texture = new sf::Texture();
if (texture->loadFromFile(fileName))... | [
"hernan.angel.ferrari@gmail.com"
] | hernan.angel.ferrari@gmail.com |
9bc2c7fbcfd48acdb3831d29e9e45bc1b4c4f5b8 | 76926ce6279623fa5ecec91b6d45c1fadc43ff27 | /tests/ut_spreadsheet/ut_spreadsheet.cpp | c49417de5b964a3b5c723a62fbfe233c3e13b0f8 | [] | no_license | hallarempt/office-tools | 166508afc45a8070c18dec503c703502b897742c | 1457f7fee87d0139a25dccf274785ba7422e4e26 | refs/heads/master | 2021-05-29T01:16:43.124994 | 2015-07-06T07:51:22 | 2015-07-06T07:51:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,010 | cpp | #include "ut_spreadsheet.h"
#define private public
#include <officeviewerspreadsheet.h>
#undef private
#include <actionpool.h>
#include <definitions.h>
#include <mapplication.h>
const QString testDocuments = "/usr/share/office-tools-tests/data/spreadsheet.ods";
Ut_SpreadSheet::Ut_SpreadSheet()
{
spreadsheet = new... | [
"boud@valdyas.org"
] | boud@valdyas.org |
fcd714e19ee8b75a62dda65cab11950eb015a4ec | b6e8a1fa1085a52d7ba6ed6b6f11dbd82905f3ba | /source/windows/brwindowsversion.cpp | b00a40a4e15fd767fd10fd12f53fbc64122acab7 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"Zlib"
] | permissive | etsangsplk/burgerlib | ed4039b175ec96fe28c0ccd52d19f5715fbeccc9 | bec821be1ba1d7fbe08e3b128b086158d3bb1b21 | refs/heads/master | 2022-04-03T20:56:46.598519 | 2020-02-24T09:25:15 | 2020-02-24T09:25:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,483 | cpp | /***************************************
Shims for version.dll
Copyright (c) 1995-2017 by Rebecca Ann Heineman <becky@burgerbecky.com>
It is released under an MIT Open Source license. Please see LICENSE for
license details. Yes, you can use it in a commercial title without paying
anything, just g... | [
"becky@burgerbecky.com"
] | becky@burgerbecky.com |
d043e62354f9d5959cc5f05105052a5553738991 | e050f7477be615e3a0a3add741dc547a99f7b85a | /1099-Consecutive_Odd_Numbers_II/main.cpp | c1c59614addf209edb88f4788d4ca906fa8b52a4 | [] | no_license | NateJ892/OnlineJudge | 1c1cc3742bcd3701190a3e79772ad7900916e665 | f6cfb6da1b82d26d05c45a3d1e80ea4b28007a59 | refs/heads/master | 2023-03-10T20:58:44.361634 | 2021-02-26T18:35:15 | 2021-02-26T18:35:15 | 333,303,062 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 345 | cpp | #include <iostream>
int main(void)
{
int n;
std::cin >> n;
for (int i = 0; i < n; i++)
{
int x, y, s, t, b;
std::cin >> x >> y;
if (x > y)
{
t = y;
b = x;
}
else
{
t = x;
b = y;
}
for (int a = t+1; a < b; a++)
{
if(a%2 != 0) s += a;
}
std::cout << s << std::endl;
x=y=s... | [
"natej892@gmail.com"
] | natej892@gmail.com |
7497d8640e97e43364ae39082a317ac2d0bd7896 | 83bacfbdb7ad17cbc2fc897b3460de1a6726a3b1 | /node/src/signal_wrap.cc | 582d1a9ecfdc026d38e0ce0ef9703b727a28efa5 | [
"Apache-2.0",
"BSD-3-Clause",
"MIT",
"ISC",
"BSD-2-Clause",
"LicenseRef-scancode-openssl",
"ICU",
"LicenseRef-scancode-unknown-license-reference",
"NAIST-2003",
"NTP",
"LicenseRef-scancode-unicode",
"Zlib",
"Artistic-2.0",
"LicenseRef-scancode-public-domain"
] | permissive | cool2528/miniblink49 | d909e39012f2c5d8ab658dc2a8b314ad0050d8ea | 7f646289d8074f098cf1244adc87b95e34ab87a8 | refs/heads/master | 2020-06-05T03:18:43.211372 | 2019-06-01T08:57:37 | 2019-06-01T08:59:56 | 192,294,645 | 2 | 0 | Apache-2.0 | 2019-06-17T07:16:28 | 2019-06-17T07:16:27 | null | UTF-8 | C++ | false | false | 3,342 | cc | #include "async-wrap.h"
#include "async-wrap-inl.h"
#include "env.h"
#include "env-inl.h"
#include "handle_wrap.h"
#include "util.h"
#include "util-inl.h"
#include "v8.h"
namespace node {
using v8::Context;
using v8::FunctionCallbackInfo;
using v8::FunctionTemplate;
using v8::HandleScope;
using v8::Integer;
using v8:... | [
"22249030@qq.com"
] | 22249030@qq.com |
a7d39a334f1adbf329883594347d04f81c841a78 | 8c314a99c6429a4f31099380394b0daa8b07e898 | /src/pro/Juego/ej_modulos/Menus/InicioJuego.cpp | 251a12156cbd02569594b1652f6045ff9e3d0e32 | [] | no_license | raquelgg00/TheFirstForm | 40479e83483eb6915429ad5ac064d88e6e02b8f4 | d09f264414e882c5f81e210a5e814468ea0e2690 | refs/heads/main | 2023-07-01T06:39:24.774878 | 2021-07-19T18:53:28 | 2021-07-19T18:53:28 | 384,072,042 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,880 | cpp | #include "InicioJuego.h"
// Singleton
InicioJuego* InicioJuego::pinstance = 0;
InicioJuego* InicioJuego::Instance(){
if(pinstance == 0){
pinstance = new InicioJuego;
}
return pinstance;
}
// Constructor
InicioJuego::InicioJuego(){
motor = Motor::Instance();
texto_sprite = new Sprite()... | [
"raquelgarciaguillem@gmail.com"
] | raquelgarciaguillem@gmail.com |
e12f2b53d066e907bd946caf5b2d33160b62bbe8 | 8ddf1ae9e439d54e0ceda6705e0bc49df4c3c39f | /VR_Chatting/Plugins/PluginExercise/Intermediate/Build/Win64/UE4/Inc/OneImmersCustom/StereoLayerWidgetComponent.gen.cpp | 1f56d8b1e5aece4d704cecc22188d908762f7330 | [] | no_license | Yuni-Children/VR_Chatting | 4a951a33035c30247cf0c1b5930fcd05e4227e2c | 8cec0c224a9ca10ce32093901b5a0bc2323cc4a8 | refs/heads/master | 2022-07-15T00:58:36.856074 | 2020-05-19T10:23:15 | 2020-05-19T10:23:15 | 264,922,475 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,324 | cpp | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
==========================================================... | [
"gur6531@naver.com"
] | gur6531@naver.com |
2cec7376e2bae8af76c656831adc7c5f803a67a8 | 4f5c41b5fbb97e310543c7514ed5414e10d5e3d5 | /Employee Management Software/code/threads/threadtest.cc | 9147f0110f017fb9699e1fabc90729034116f960 | [
"MIT-Modern-Variant"
] | permissive | anish9461/Operating-System | 46c4e437d5fa897907721401fab07a0712a1d480 | fac865b249b4d89d5ea316dbd04f127ebdb4972c | refs/heads/master | 2020-07-02T00:02:39.173479 | 2019-08-09T00:02:16 | 2019-08-09T00:02:16 | 201,352,902 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 14,846 | cc | #include "kernel.h"
#include "main.h"
#include "thread.h"
#include "list.h"
#include "string.h"
#include "employee.h"
#include <fstream>
#include <cstdlib>
//----------< Initialize global Employee ID >-----------
int idMax = 8001;
int order;
int compare(Employee *a, Employee *b);
void readFromFile();
void enterNewReco... | [
"anish9461@gmail.com"
] | anish9461@gmail.com |
8beaf49d1967e22083a70d6cfbcf840e3fdd9531 | 3843f6622e9e488fb3f6aec5243de4aa08fa5ab2 | /S005/S005.cpp | f820904bdc27ef77c73e5e02cce9bcf09b730d16 | [] | no_license | Olya-ycheba/S005 | 619b5ca5fc045892f9746ac239b04fa96c33d4da | c705e3a46c48ecee4522bcb12a0212b763d171c2 | refs/heads/master | 2023-04-22T11:24:07.410149 | 2021-04-27T09:27:16 | 2021-04-27T09:27:16 | 362,054,863 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,621 | cpp | // S005.cpp : Этот файл содержит функцию "main". Здесь начинается и заканчивается выполнение программы.
//
#include <iostream>
using namespace std;
int main()
{
char strok[256]; //вводимая строка
char Findstr[256];
char f[] = "%s";//формат строки
char fd[] = "%d";//формат числа
cout << "Enter string: ";
char ... | [
"Asus@LAPTOP-EIH2MNAJ"
] | Asus@LAPTOP-EIH2MNAJ |
88c184830f0870778342bb9782f4c96f83b25c08 | c7817c0efd91bfcdceb0e4e55702ce057d6e556e | /src/wpb_home_apps/src/shopping.cpp | cc6da4b33a4a6b664b3e72d2dd76e03d5798d4ae | [
"MIT"
] | permissive | THUwelcomerobot/robot | fa3fd2102f882bec73614c9c815a010b3ebcd718 | a8c8e5105cf4a3be478c89249e818aa970bfc243 | refs/heads/master | 2020-03-22T14:56:01.875578 | 2018-07-19T08:53:50 | 2018-07-19T08:53:50 | 140,215,854 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,023 | cpp | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2017-2020, Waterplus http://www.6-robot.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that ... | [
"1584666784@qq.com"
] | 1584666784@qq.com |
f005462218d793a8204176846c1624793575daef | c252a4c41233b24cf82f1868737a37d57b3a35fa | /windows/runner/main.cpp | 931f148eb246ed1bbfb249cdfb7b9f62a3a82fc8 | [] | no_license | leoyuguanall38/radiology_call_helper | 4c7877f54b5e9cab600723958ed3c9ae6498ae62 | dcd26d58b053c8604b7673cd3d875027f57fddd9 | refs/heads/master | 2023-03-29T20:37:42.045750 | 2021-04-05T06:54:59 | 2021-04-05T06:54:59 | 348,952,710 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,231 | cpp | #include <flutter/dart_project.h>
#include <flutter/flutter_view_controller.h>
#include <windows.h>
#include "flutter_window.h"
#include "run_loop.h"
#include "utils.h"
int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
_In_ wchar_t *command_line, _In_ int show_command) {
... | [
"51035633+leoyuguanall38@users.noreply.github.com"
] | 51035633+leoyuguanall38@users.noreply.github.com |
25346991cc0c2472949c7feceb80a9d00e664fda | e1c5cfbb8e307d35482ab97330035c7a52a382c6 | /src/GvimExt/gvimext.h | b6be3a7975b718c507c83cace079753c45ecdb8d | [
"Vim"
] | permissive | drichardson/vim | 49d9e75e67c37e86055b8edc15962eb51c7c5d37 | e9fd95588cc553dae11bd6e3c5ff9fc50e46c4f2 | refs/heads/master | 2022-02-02T18:26:41.402767 | 2022-01-19T01:27:53 | 2022-01-19T01:30:10 | 251,437,053 | 0 | 0 | NOASSERTION | 2020-03-30T21:53:56 | 2020-03-30T21:53:55 | null | UTF-8 | C++ | false | false | 4,494 | h | /* vi:set ts=8 sts=4 sw=4:
*
* VIM - Vi IMproved gvimext by Tianmiao Hu
*
* Do ":help uganda" in Vim to read copying and usage conditions.
* Do ":help credits" in Vim to see a list of people who contributed.
*/
/*
* If you have any questions or any suggestions concerning gvimext, please
* contact Tianmiao Hu:... | [
"Bram@vim.org"
] | Bram@vim.org |
4c4d85dec60f1a4942cfd934cd3604cf497687d5 | 057aef2128a747a7e739ea5dd37e745344dbff95 | /framework/mem/shm.h | 53e772a48cc5a305cc583c0c6ca59791ac175470 | [] | no_license | neaos/myserver | 64932b96418ae3009ef1227da34e81fa4aa6be31 | a2d7e826401fcddbb5a23c3dab66c9953c85a9a3 | refs/heads/master | 2023-03-23T10:44:17.610383 | 2020-06-26T08:18:28 | 2020-06-26T08:18:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,783 | h | //
// shm.h
// 共享内存块管理类
// Created by DGuco on 17/03/23.
// Copyright © 2016年 DGuco. All rights reserved.
//
#ifndef _SHM_H_
#define _SHM_H_
#include "base.h"
#define YEARSEC 31536000
typedef enum
{
SHM_INIT = 1,
SHM_RECOVER = 0
} EIMode;
class CSharedMem
{
//禁止在栈上生成对象
protected:
//构造函数
CSharedMem();
... | [
"1139140929@qq.com"
] | 1139140929@qq.com |
e62219a60b604b890c641f0845b6a6bf817c29f8 | e0279edbc6619c7c18358a9697ebc1f2dc6ee499 | /DMOJ/cco14p1.cpp | 3b90ed01120615f5890ad74ff9f66d60cdd9b316 | [] | no_license | tikul/Competitive-Programming | 9e9830301f5f7a4a4553992a9ccc74a8d5d2748e | 83b0afeb8ed85d60787d097120b0af7e99b20b47 | refs/heads/master | 2021-01-01T06:15:19.515610 | 2017-11-14T03:36:20 | 2017-11-14T03:36:20 | 97,393,776 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,284 | cpp | #include <stdio.h>
#include <cstring>
#include <algorithm>
using namespace std;
int N, dp[2002], L[2002][2002], R[2002][2002];
char grid[2002][2002];
int main(){
scanf("%i", &N);
char x;
for(int i = 0; i < N; i++){
for(int j = 0; j < N; j++){
scanf(" %c", &grid[i][j]);
}
}
... | [
"tikul@users.noreply.github.com"
] | tikul@users.noreply.github.com |
f2d44a8d3feb3e180abde4231192df0a23065a73 | 2ccbccf91ce4b6802e20fe9b31206416b4c5064b | /cpp01/ex07/include/replace.hpp | 23bda63bdcd55f4f1880a30c9f143e984cf9d706 | [] | no_license | TerryDodre/42 | 84e4097b5a9e0d40f904858c3d7d9330914133fa | c044a895e84adbccb1126c264a02b723b6cd32ff | refs/heads/master | 2023-03-26T23:15:53.441341 | 2021-03-26T16:04:00 | 2021-03-26T16:04:00 | 302,292,552 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 391 | hpp | #ifndef REPLACE_HPP
# define REPLACE_HPP
# include <iostream>
# include <fstream>
# include <string>
# include <sstream>
class replace {
private:
std::string filename;
std::string s1;
std::string s2;
public:
replace(std::string file, std::string argv1, std::string argv2);
~replace();
int check();
int ... | [
"terrydodre@hotmail.fr"
] | terrydodre@hotmail.fr |
b84e557f2c0f36544425a44541654a6136e13a44 | b6f38c6bc4626db2422477a03c2616fe4f94427a | /unittests/expectation/FullOutputExpectationTests.cpp | c5b42d86242a30b3436c55bae446490aebfb53df | [
"BSD-3-Clause"
] | permissive | chyla/OutputMatchTestingTool | ae0b6f5bd833aef497d665d29e52065051948cb6 | d45fe3433e15e0dc396f62577c49d2673a531359 | refs/heads/master | 2023-08-11T13:34:59.332006 | 2023-07-29T09:02:27 | 2023-07-29T09:02:27 | 209,099,990 | 5 | 0 | BSD-3-Clause | 2021-07-18T17:30:43 | 2019-09-17T16:10:44 | C++ | UTF-8 | C++ | false | false | 6,413 | cpp | /*
* Copyright (c) 2019-2023, Adam Chyła <adam@chyla.org>.
* All rights reserved.
*
* Distributed under the terms of the BSD 3-Clause License.
*/
#include "unittests/test_framework.hpp"
#include "headers/expectation/FullOutputExpectation.hpp"
#include "headers/expectation/validation/FullOutputCause.hpp"
#include... | [
"adam@chyla.org"
] | adam@chyla.org |
a0ee0c0b2a43b89e935f80e46f8a174ee37b9245 | e69d1dd68c62c3addee6c961ed91ee22dc7badfb | /等价二叉树.cpp | 83ef1d38ceb65da677558ce4d2dbd24ef616ff19 | [] | no_license | Juliiii/lintcode | 20004dd793208906572e5fda3ff67d6a0364801c | 74d627b4e7b0f9ceb07f8811f8605359a77ff88e | refs/heads/master | 2021-01-15T17:28:59.681662 | 2017-11-25T11:34:20 | 2017-11-25T11:34:20 | 99,755,193 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 910 | cpp | /**
* Definition of TreeNode:
* class TreeNode {
* public:
* int val;
* TreeNode *left, *right;
* TreeNode(int val) {
* this->val = val;
* this->left = this->right = NULL;
* }
* }
*/
class Solution {
public:
/*
* @param a: the root of binary tree a.
* @par... | [
"820917549@qq.com"
] | 820917549@qq.com |
51a8f415335279bfbc269edf2a2a34fde3437770 | 875301066242d901f782beed96fa40c7265862b2 | /src/main.h | 4c3a1434304850fdc66fbccd47457fbc0c28a6e3 | [
"MIT"
] | permissive | totorajo/indocoin | 7cabada5d4c42ca00477950b481c61e017f72118 | ed4fa980283ec75b6a06f6580528d72a810e30ea | refs/heads/master | 2021-05-28T09:49:02.930639 | 2014-05-25T12:58:30 | 2014-05-25T12:58:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 72,511 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2013-2014 Indocoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_MAIN_H
#define BITCO... | [
"admin@indocoin.net"
] | admin@indocoin.net |
4798d698ec7e16987d335bbe133c8adc93b6b05d | f8b56b711317fcaeb0fb606fb716f6e1fe5e75df | /Internal/SDK/BP_fod_SplashTail_03_SeafoamRaw_00_a_ItemDesc_classes.h | 9c341625ceda5b9ee51b7a0c3a73055dce742105 | [] | no_license | zanzo420/SoT-SDK-CG | a5bba7c49a98fee71f35ce69a92b6966742106b4 | 2284b0680dcb86207d197e0fab6a76e9db573a48 | refs/heads/main | 2023-06-18T09:20:47.505777 | 2021-07-13T12:35:51 | 2021-07-13T12:35:51 | 385,600,112 | 0 | 0 | null | 2021-07-13T12:42:45 | 2021-07-13T12:42:44 | null | UTF-8 | C++ | false | false | 873 | h | #pragma once
// Name: Sea of Thieves, Version: 2.2.0.2
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//-------------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
b4fcff27293878beaa94321151dfd8c5ca5aaac5 | 1f95e2144280d1ef46d4b62b49eaead585e3235e | /CRSInfoServer/AxPublic/AxReadWriteINI.h | 783551fb8552c8b4e0ca2dc3f335d7a0ffcc298d | [] | no_license | jack-liaojie/EQ_C- | 0a74ebe8399f897b1ae369c728ba4bd23e84c48b | 518b099c3cc55196d6c38500f36544ccd9aefb67 | refs/heads/master | 2022-12-03T01:26:11.061817 | 2020-08-05T15:53:28 | 2020-08-05T15:53:28 | 285,261,010 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,809 | h | #pragma once
class CAxReadWriteINI
{
public:
//-----------------------------------------------------------------
// Get application pathes.
//-----------------------------------------------------------------
public:
// the returned value is a pointer to an internal static buffer,
// which contains full dir path ... | [
"274939380@QQ.com"
] | 274939380@QQ.com |
a59f372b2b0d9abcf9538c0e53c253c11cf09d66 | 6116ae26d6525c960b5a8dae43fa0eb097a85d20 | /src/tests/unit/tst_server/tst_server.cpp | 7f8ce97e864e5a799d7a45662673823f82197fb5 | [] | no_license | SfietKonstantin/harmony | c77710403a243e255725a6004bb829b6429a7294 | 0e5641fa2cb804c55c163a27d351e9b5ce414d12 | refs/heads/master | 2020-12-30T10:36:45.957499 | 2015-08-16T20:52:40 | 2015-08-16T20:52:40 | 29,784,614 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,356 | cpp | /*
* Copyright (C) 2014 Lucien XU <sfietkonstantin@free.fr>
*
* You may use this file under the terms of the BSD license as follows:
*
* "Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of so... | [
"sfietkonstantin@free.fr"
] | sfietkonstantin@free.fr |
7f5d1c65f1bbac05dca316bef4fe7e64e2bdd000 | b3da88b96df80a5e87f04500b1a83c7d7f565727 | /Object_Oriented_Programming/Unified Project/Object Oriented Programming/Const_and_References.cpp | 60c078ef1f6e8b9876cf19b4a56a5bce237015e6 | [] | no_license | BarcinoLechiguino/Programming-II | 2e821ec46b663e96f8e9d1603daba0d445546757 | b792865aa34dbecd148223f9c84c35d31fb759bf | refs/heads/master | 2020-09-27T10:00:42.032948 | 2019-12-07T10:53:15 | 2019-12-07T10:53:15 | 226,490,807 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,909 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <iostream>
using namespace std;
typedef unsigned int uint;
//const Objects and Class Methods
class Foo
{
public:
int n;
Foo() : n(0){}
void set(int v) { n = v; }
int get() const { return n; }
};
//References
void increment(int& n) //The n parameter of the functio i... | [
"angotov@gmail.com"
] | angotov@gmail.com |
a571c9df3ade79ac9fdf9079919dfa669b3c1785 | 5988ea61f0a5b61fef8550601b983b46beba9c5d | /3rd/ACE-5.7.0/ACE_wrappers/examples/Export/dll.h | e95fd10fb7e9d176d0e051151cd028973a50852e | [
"MIT"
] | permissive | binghuo365/BaseLab | e2fd1278ee149d8819b29feaa97240dec7c8b293 | 2b7720f6173672efd9178e45c3c5a9283257732a | refs/heads/master | 2016-09-15T07:50:48.426709 | 2016-05-04T09:46:51 | 2016-05-04T09:46:51 | 38,291,364 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,322 | h | // $Id: dll.h 80826 2008-03-04 14:51:23Z wotte $
// To use the export macros with a DLL, a file will need to be
// created (see ACE_wrapper/bin/generate_export_file.pl) and
// included. This file defines Test_Export (and the
// TEST_SINGLETON_* macros).
#include "test_export.h"
#include "ace/Singleton.h"
#include "a... | [
"binghuo365@hotmail.com"
] | binghuo365@hotmail.com |
b81febcc8a7c440f454cc88f68138b4bbb29bcda | eaab7e8e7c96cb4e7c7784716a4b55bbaff9bc4f | /Project 2/Sequence.cpp | 0d9f209a0971be8d31e1af3051a68bf30d5bee4f | [] | no_license | joeljgeorge/CS32 | 6341dfb9ca935ac706de06d254100d12aee4c97c | a4748ff817ffef3fa6fe081378a4008731ec1058 | refs/heads/master | 2021-08-30T04:00:59.191301 | 2017-12-15T23:47:17 | 2017-12-15T23:47:17 | 114,420,638 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,567 | cpp | // Sequence.cpp
#include "Sequence.h"
#include <iostream>
Sequence::Sequence()
: m_size(0)
{
head = nullptr;
tail = nullptr;
}
bool Sequence::insert(int pos, const ItemType& value)
{
if (pos < 0 || pos > size())//if position is negative or greater than the size of the array (i.e. it is beyond the last position),... | [
"joelgeorge03@gmail.com"
] | joelgeorge03@gmail.com |
6276c5aa1bc1ebf72f26cbd2b92c191d367874a9 | 3144e4b6e9675da79bc7affea6e1ac68b379c9f0 | /src/qt/cornellieisaddressvalidator.h | bed3e38a4db736f89b830df5ffc9c0e78b827041 | [
"MIT"
] | permissive | Milanisius/cornellieis | e4b3cccb65de235f7accc89510f2988a734093b0 | 004100044453ff5e23d3bcaa74d392242ec6fcce | refs/heads/master | 2023-04-03T09:49:14.676096 | 2021-04-16T09:48:33 | 2021-04-16T09:48:33 | 358,549,741 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 919 | h | // Copyright (c) 2011-2014 The Cornellieis developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOINADDRESSVALIDATOR_H
#define BITCOINADDRESSVALIDATOR_H
#include <QValidator>
/** Base58 entry widget valida... | [
"milanisius@gmail.com"
] | milanisius@gmail.com |
d6adaa294f9d87fe66e16ea785f60f34a05e0757 | 19ac850b28564e2b2a61b283eed3a981b19ea5ce | /School KTU/SG/OOP_examples/courseGrade/studentType.cpp | 792d6d4b512705e9df90422b8a563797d0f769bc | [] | no_license | muhammet-mucahit/My-CPlusPlus-Studies | 03b1d29e9fbb3733e98ba79406f3b0484948df76 | 8ade7e263bb218252c3edc0655bbe3850fd26e0d | refs/heads/master | 2020-06-28T14:31:55.762214 | 2019-08-02T15:19:29 | 2019-08-02T15:19:29 | 200,255,928 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,868 | cpp |
#include "studentType.h"
void studentType::setInfo(string fName, string lName, int ID, int nOfCourses, bool isTPaid, courseType courses[]) {
int i;
personType::setName(fName,lName);
sId = ID;
isTuitionPaid = isTPaid;
numberOfCourses = nOfCourses ;
for(i = 0; i < numberOfCourses; i++) ... | [
"mucahit@zeo.org"
] | mucahit@zeo.org |
0c58ce2b4ba9d80bee6c6c6c670d8a4b47186c86 | 729266d893d7641e82d9b5fe0bc99f54c55820b7 | /ch7-item38.cc | 44054bd148d3607916b50f49891fdc8804cd1cf5 | [] | no_license | CppOpenSourceProjects/effective-modern-cpp-1 | 32b8c5e340954f20157e3a11fefaca17fbfe150a | 3c8902b2e8982f29a87ba4dcc444a0ef778307bf | refs/heads/master | 2021-01-11T06:36:15.330419 | 2015-10-22T06:51:13 | 2015-10-22T06:51:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 346 | cc | #include <vector>
#include <future>
std::vector<std::future<void>> futs;
class Widget {
public:
private:
std::shared_future<double> fut;
};
int calcValue() { return 0; }
int main()
{
{
std::packaged_task<int()>
pt(calcValue);
auto fut = pt.get_future();
std::thread t(std::move(pt));
t.j... | [
"luuvish@gmail.com"
] | luuvish@gmail.com |
cfebd4cda74a281a34a15535b059477b05bc1106 | d77c1546826f05aaeaced5671b997050d05916c8 | /Br_Sim.h | b9c4a739aeafa81c4d5484ba26951dc2c2397063 | [] | no_license | Davidelama/Brownian-Simulation | 0be46e7643e66bb84811d6942eca67d724c5d414 | c8854fe371ad85015fe0c45008f259db9732d53a | refs/heads/master | 2022-04-23T14:18:48.172194 | 2020-04-21T08:47:07 | 2020-04-21T08:47:07 | 256,529,033 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,569 | h | int Ntrial, N, Nsim, Neq, Ncell, Nmax, dim, Nneigh, Nmeas, Nhist, Nlevel, Nblock;
double L, sigma, rho, rc, T, dt, mu;
double *x, *y, *z, *vx, *vy, *vz, *fx, *fy, *fz;
int *cell_list_index, *hist;
int **cell_list, **neighbor;
class RanMars *random_mars;
void rand_init_pos();
void init_vel();
void init_output(FILE* ... | [
"davide.breoni@outlook.it"
] | davide.breoni@outlook.it |
604ab7071fbea90d1119827666900cd9fc717eae | d56f8b19c6de1ea21b77647560fd99cded4fd267 | /src/util.cpp | c8e9815758ab2760abdda73c4bf156bdc55a46b5 | [
"MIT"
] | permissive | profitforall/PFA | a723116f2e1c9c6bbd6e55d220a57c0025459569 | 7302419647cff650edece88f6823c2ebc3e87d02 | refs/heads/main | 2023-08-31T07:57:03.936675 | 2021-09-29T01:01:32 | 2021-09-29T01:01:32 | 410,308,037 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,038 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "util.h"
#include "chainparamsbase.h"
#include "random.h"
#include "ser... | [
"91382848+profitforall@users.noreply.github.com"
] | 91382848+profitforall@users.noreply.github.com |
9e681733d12bab232da0df4007502bb96a41403a | 920c4ef30727f0c51b5c9f00bdd9b923b541853e | /Code_Cpp/cppserver备份资料/code/common/source/include/cfg_data/clientData/clientData.h | b6bd88df7be53b82327a37fe67218497a1e12624 | [] | no_license | fishney/TDServer | 10e50cd156b9109816ddebde241614a28546842a | 19305fc7bf649a9add86146bd1bfd253efa6e9cb | refs/heads/master | 2023-03-16T22:24:45.802339 | 2017-10-19T07:02:56 | 2017-10-19T07:02:56 | null | 0 | 0 | null | null | null | null | IBM852 | C++ | false | false | 1,278 | h | /*----------------- clientData.h
*
* Copyright (C): 2016 MokyliníĄMokyqi
* Author : │┬┴┴
* Version : V1.0
* Date : 2016/5/20 17:24:21
*--------------------------------------------------------------
*
*------------------------------------------------------------*/
#pragma once
#include "stl/std_map.h... | [
"haibo tang"
] | haibo tang |
5ee589250a872fc1a5479d86fdd15fdcf69c6b08 | 9d364070c646239b2efad7abbab58f4ad602ef7b | /platform/external/chromium_org/chrome/browser/services/gcm/fake_gcm_profile_service.h | eb0ed02f8024ac5095d9b2367451b9b8a2747363 | [
"BSD-3-Clause"
] | permissive | denix123/a32_ul | 4ffe304b13c1266b6c7409d790979eb8e3b0379c | b2fd25640704f37d5248da9cc147ed267d4771c2 | refs/heads/master | 2021-01-17T20:21:17.196296 | 2016-08-16T04:30:53 | 2016-08-16T04:30:53 | 65,786,970 | 0 | 2 | null | 2020-03-06T22:00:52 | 2016-08-16T04:15:54 | null | UTF-8 | C++ | false | false | 1,923 | h | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_SERVICES_GCM_FAKE_GCM_PROFILE_SERVICE_H_
#define CHROME_BROWSER_SERVICES_GCM_FAKE_GCM_PROFILE_SERVICE_H_
#include <list>
#include ... | [
"allegrant@mail.ru"
] | allegrant@mail.ru |
5854d2146466ad50f519643ac4c221c14dd91ce0 | ed45ea4470bcfc497e2584697d7842a540e04fd9 | /C++/gtest/gtest/catkin_gtest/src/ros_gtest/src/talker/main.cpp | 8b27072cab32d59b76e2d26b22653c232778ed75 | [] | no_license | cf-zhang/documents | ffcd8213587f8aa9c47406cf2491bf77beec9c33 | 8a4439932017b67fba7988ff7fadd9829bce1e4c | refs/heads/master | 2022-03-03T13:52:27.333343 | 2022-02-25T11:31:22 | 2022-02-25T11:31:22 | 154,789,912 | 11 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 257 | cpp | #include "rostalker.h"
int main(int argc, char **argv){
ros::init(argc, argv, "rosTalker");
ros_gtest::RosTalker rt;
ros::Rate loop_rate(5);
while(ros::ok()){
rt.talk("hello world");
loop_rate.sleep();
}
return 0;
}
| [
"cfzhang@forwardx.com"
] | cfzhang@forwardx.com |
cb7a609b0df4979d39e9c5e11d4b43db6dd1df25 | 1e182a138eae8be72594052ad78d4037a0ff1aba | /src/chord/src/DHT/NodeBucket.h | 527970c1aabbe6d225b5153441b64e6f5d46905f | [] | no_license | KitWong2048/VideoMesh | 63e56a8cecce7a61e3f6b4d9eacbb7446999a550 | 2057a8d648c50f82f757e2f19f50037d2f21b6e9 | refs/heads/master | 2020-03-13T04:04:10.302045 | 2018-04-26T05:47:04 | 2018-04-26T05:47:04 | 130,956,229 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,738 | h | /*
NodeBucket.h
Copyright (c) 2007 Hong Kong University of Science and Technology ("HKUST")
This source code is an intellectual property owned by HKUST and funded by
Innovation and Technology Fund (Ref No. GHP/045/05)
Permission is hereby granted, to any person and party obtaining a copy of this
software and associat... | [
"hjie.huang@gmail.com"
] | hjie.huang@gmail.com |
e1340a208d28aee55b6a44b98b82d01dd2149770 | afb8cdd50e05a7dcd39756cd4efc0a8fb36eb6b2 | /dbus_bindings/dbus-proxies.h | d602cb550459c0e48d7d3eef2c02b4811a7ea56a | [] | no_license | baorepo/hello_world | 562bd28bf68270ff3ba96333e4085aa76e7c6bb8 | e92cc5f1fd2fda691157ac6b17a8b0912aedd09c | refs/heads/master | 2020-04-06T17:45:29.069097 | 2018-11-16T03:32:02 | 2018-11-16T03:32:02 | 157,672,582 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 35,861 | h | // Automatic generation of D-Bus interfaces:
// - org.chromium.HelloWorldInterface
#ifndef ____CHROMEOS_DBUS_BINDING__DBUS_PROXIES_H
#define ____CHROMEOS_DBUS_BINDING__DBUS_PROXIES_H
#include <memory>
#include <string>
#include <vector>
#include <base/bind.h>
#include <base/callback.h>
#include <base/files/scoped_fil... | [
"baozhu.zuo@gmail.com"
] | baozhu.zuo@gmail.com |
8d3cf6c02123fc5c7ecf38a8b4a921b7a3aa28ed | b665a8cb647dce1cc89258903dc9ee55cd5c384c | /Sources/aaplus-v2.08/include/AAVSOP87_URA.h | 45936f66f9f877a944c64e71f0e6ac5d5c995fde | [
"LicenseRef-scancode-proprietary-license",
"MIT"
] | permissive | OmniBus/SwiftAA | 8baa80ddd179d0d844dd9612001360130a44c497 | 108c03bcb23ae72d395f451ef8010d078cce3c41 | refs/heads/master | 2021-06-30T10:12:00.908663 | 2020-10-09T04:38:24 | 2020-10-09T04:38:24 | 170,970,094 | 0 | 0 | MIT | 2020-10-09T04:38:25 | 2019-02-16T06:16:29 | C++ | UTF-8 | C++ | false | false | 1,490 | h | /*
Module : AAVSOP87_URA.h
Purpose: Implementation for the algorithms for VSOP87
Created: PJN / 13-09-2015
History: PJN / 13-09-2015 1. Initial public release.
Copyright (c) 2015 - 2019 by PJ Naughter (Web: www.naughter.com, Email: pjna@naughter.com)
All rights reserved.
Copyright / Usage Details:
You a... | [
"cedric@onekilopars.ec"
] | cedric@onekilopars.ec |
d2d1e07543d4f58a58c674af1f9b6696850ccc00 | 55f290e2a84baa90c0eac68481613894100eb3fe | /engine/world/scene_graph.h | 9972bce42e411c99eb71380d572431160dd8d3d9 | [
"MIT"
] | permissive | wibbe/crown | 520d07aeaff0d792f9f8c8f3e267baf026cfb405 | e4c837905bda9cd36710761bfc33dd45425cf0ea | refs/heads/master | 2021-01-18T01:46:32.338598 | 2014-10-17T11:08:21 | 2014-10-17T11:08:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,397 | h | /*
Copyright (c) 2013 Daniele Bartolini, Michele Rossi
Copyright (c) 2012 Daniele Bartolini, Simone Boscaratto
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including withou... | [
"danyatk@gmail.com"
] | danyatk@gmail.com |
358068e6c21ffe75694bd0b41852f0da6afad128 | 757dc9f8c6d58b947ef449270cbe1c3253cb0902 | /Source/QuicksandEngine/Physics/PhysicsDebugDrawer.hpp | 1d0ad6db346df4468f559f2b8fd5725a00a3657c | [] | no_license | KevinMackenzie/AmberRabbit | bbe268d41ba83b3c6848f473f6a65c74bc41bcd5 | 803f1a57c235ae5ddbd864013e1328eee7ada283 | refs/heads/master | 2021-01-13T01:41:45.242855 | 2015-01-05T01:18:34 | 2015-01-05T01:18:34 | 21,077,167 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,265 | hpp | #ifndef QSE_PHYSICSDEBUGDRAWER_HPP
#define QSE_PHYSICSDEBUGDRAWER_HPP
#include "../../BulletPhysics/btBulletDynamicsCommon.h"
//////////////////////////////////////////////////////////////////////////////
// class BulletDebugDrawer - Chapter 17, page 605
//
// Bullet uses this object to draw debug information. ... | [
"kjmack305@gmail.com"
] | kjmack305@gmail.com |
a8433c59cb78c617cf757d68bc61bd9220d5ec37 | ea046eaa55d452ef2760ae9934a9cb71a273b811 | /src/leaderboard.cpp | 9d8fbd1e1f87e32d8cd1cf4111c8c247679f897e | [
"MIT"
] | permissive | kanavkhanna/Battleship | 7ee05ae5ab4d4a9e6e30993f294f5e93adee2733 | d7859da32ecf5a871403f9b09f33b0e319cfb8b0 | refs/heads/master | 2022-12-10T06:17:00.148192 | 2020-05-06T21:00:29 | 2020-05-06T21:00:29 | 298,666,803 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,580 | cpp | //
// Created by Kanav Khanna on 4/26/20.
//
#include "battleship/leaderboard.h"
namespace battleship {
using std::string;
using std::vector;
LeaderBoard::LeaderBoard(const string& db_path) : db_{db_path} {
db_ << "CREATE TABLE if not exists leaderboard (\n"
" name TEXT NOT NULL,\n"
" score I... | [
"kanavk2@illinois.edu"
] | kanavk2@illinois.edu |
cd280f70e114b4f64fa2df0242c4c94989a7ef3d | 317f2542cd92aa527c2e17af5ef609887a298766 | /tools/target_10_2_0_1155/qnx6/usr/include/bb/pim/calendar/BbmConferencePreferredData.hpp | 997f1c9a96045f7d7e159f4a096ecc04d1e4d841 | [] | no_license | sborpo/bb10qnx | ec77f2a96546631dc38b8cc4680c78a1ee09b2a8 | 33a4b75a3f56806f804c7462d5803b8ab11080f4 | refs/heads/master | 2020-07-05T06:53:13.352611 | 2014-12-12T07:39:35 | 2014-12-12T07:39:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,082 | hpp |
/*!
* @copyright
* Copyright Research In Motion Limited, 2012-2013
* Research In Motion Limited. All rights reserved.
*/
#ifndef BB_PIM_CALENDAR_BBMCONFERENCEPREFERREDDATA_HPP
#define BB_PIM_CALENDAR_BBMCONFERENCEPREFERREDDATA_HPP
#include <bb/pim/Global>
#include <bb/pim/calendar/DataTypes>
#include <QSharedDat... | [
"dev@dclark.us"
] | dev@dclark.us |
70f4aef0feef7e6eb983d21a63240aa5bbcec3f5 | 805c32c852574ae16b4f339aa6f8679a049d7ccc | /Player.hpp | 0cd2709d6354f81b87e1670ffa558ced12ec44dd | [] | no_license | piotrku91/Flooooow2D_Game | d2d1f0b8b04cb8198158e3a9f5703952a9fe0e97 | 7d7293e8d084b245e3d0800417896c0dbe738f0f | refs/heads/master | 2023-08-12T08:49:11.511930 | 2021-09-29T16:37:50 | 2021-09-29T16:37:50 | 411,060,871 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 215 | hpp | #pragma once
#include "Body.hpp"
class Player : public Body {
public:
Player(const sf::Texture& texture, float posX, float posY, float sizeX, float sizeY)
: Body(texture, posX, posY, sizeX, sizeY){};
}; | [
"piotrku91@github.com"
] | piotrku91@github.com |
75db408bdef42ae97a3d4c068eb53b3dc132850b | 65964baaae2c631c0b73716886d0eeae2013838b | /jump_game_II/jump_game_II.cpp | c360a52cd59bdad2dcbafc72c76fff5d1d1dfa20 | [] | no_license | try-your-best/leetcode | d3a5f53bee8e917b11f12c3f21b34fd11a7eafb3 | 859ff86a138d667a839adec0d352e39ae88a15da | refs/heads/master | 2016-09-15T20:33:30.394740 | 2014-10-13T14:42:28 | 2014-10-13T14:42:28 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 819 | cpp | /*
思路:一开始想到的是用DP。结果超时。看答案才知用贪心!
即每次都选择在当前跳跃次数下,下一步能跳跃到最远的点!
*/
class Solution {
public:
int jump(int A[], int n) {
int step_num = 0;//到达当前距离所用的最小跳跃次数。
int last_reached_distance = 0;//目前跳跃次数下,所能到达的最大距离。
int next_max_reached_distance = 0;//下一次跳跃所能到达的最大距离。
for(int i = 0; i < n; i++)
... | [
"damonhao@qq.com"
] | damonhao@qq.com |
9a7c28797451840cf4cfe55f77252350008b4a4c | dc679291fd34186e69fd6186fe7c1fd346b5e360 | /src/Day 9 - Stream Processing/Main.cpp | 379802c0616a7707840ed6506aca61fbc401b01b | [] | no_license | Biendeo/Advent-Of-Code-2017 | 7087610e8898cc094a771930c12e54add4d454a6 | afbdf7271d64733e9431defd382b418e2cb1354e | refs/heads/master | 2021-08-31T16:34:58.332265 | 2017-12-21T06:51:06 | 2017-12-21T06:51:06 | 112,828,595 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 683 | cpp | // Day 9: Main.cpp
// Just begins the program's execution. For this program, you must pass the input file as a
// commandline argument to the program. That file will be read it. The file should be a single line
// of characters.
// Same deal as yesterday for structure. This one ended up being very brief.
#include <io... | [
"pantherman1996@gmail.com"
] | pantherman1996@gmail.com |
23e446769a2ad6f175d05c76ec7ad753d95a9a82 | 3850eac3882e8753be5f8d2d33bbc45f261141ab | /trees/vertical_traversal.cpp | dc3b9407fac08ff59d268f1b6fd6d0f1d9d00738 | [] | no_license | ankitkumarsamota121/geeksforgeeks_practice | 0f2ab48bc76dceadc465ad8bf588a70db053f83c | 27cbca1d44e2e6105ae8729ab9f4ea1b4a97d13c | refs/heads/master | 2023-02-07T14:58:37.107833 | 2021-01-03T11:55:47 | 2021-01-03T11:55:47 | 255,017,249 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,316 | cpp | // { Driver Code Starts
#include <bits/stdc++.h>
using namespace std;
// Tree Node
struct Node {
int data;
Node* left;
Node* right;
};
// Utility function to create a new Tree Node
Node* newNode(int val) {
Node* temp = new Node;
temp->data = val;
temp->left = NULL;
temp->right = NULL;
... | [
"ankitkumarsamota121@gmail.com"
] | ankitkumarsamota121@gmail.com |
2df0215d666689a28f3c4e11875024bb8f1c20c7 | 572580660d475027fa349e47a078479222066726 | /Server/kennel/Ecc_Common/opens/snmp++/snmp++/Snmp++/src/md5c.cpp | 8c3a7a6ee51dac7fec807e927ef82e3045f34783 | [] | no_license | SiteView/ecc82Server | 30bae118932435e226ade01bfbb05b662742e6dd | 084b06af3a7ca6c5abf5064e0d1f3f8069856d25 | refs/heads/master | 2021-01-10T21:11:37.487455 | 2013-01-16T09:22:02 | 2013-01-16T09:22:02 | 7,639,874 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 11,970 | cpp | /*_############################################################################
_##
_## md5c.cpp
_##
_## SNMP++v3.2.15
_## -----------------------------------------------
_## Copyright (c) 2001-2004 Jochen Katz, Frank Fock
_##
_## This software is based on SNMP++2.6 from Hewlett Packard:
_## ... | [
"xingyu.cheng@dragonflow.com"
] | xingyu.cheng@dragonflow.com |
b16fdeee6e23075620355d9da72d8f946dc2907f | c3f2a0f3e0de7cf1177230c7912a54024e1ced2f | /instructions_label.h | 3cf48610011eefae5ce7beb50f97001f165794af | [] | no_license | ziqumu/ose | 46cd099818c9c6b8ca4b3b54cd61c7c32e0f7ba3 | 1861ea0c133710e67fc1de2fdd52d3a5057dc359 | refs/heads/master | 2021-01-01T05:50:04.233244 | 2014-02-25T12:18:19 | 2014-02-25T12:18:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 696 | h | #ifndef INSTRUCTIONSLABEL_H
#define INSTRUCTIONSLABEL_H
#include <QLabel>
#include <QDebug>
#include <QMouseEvent>
#include <QContextMenuEvent>
#include <QPaintEvent>
#include <QTextDocument>
#include <cstdint>
#include <QTextEdit>
class InstructionsLabel : public QLabel
{
Q_OBJECT
private:
uint32_t offset = ... | [
"ziqumu@gmail.com"
] | ziqumu@gmail.com |
948a652ab0c53c8880f1125d8a5bb58279c3bdf3 | d2a5e35a42305044ecf74fa1800d77c2abad40e7 | /projects/EarthWeb/EarthWeb/Source/TileSource/TileSourceNoise/TileSourceNoise.h | 480d548eebf7f134fdc07282e9f79fc497b8f180 | [] | no_license | geobeans/Earth3d | 262f94f3e6768a63fcd84c698bb56681e453bf1b | c9af88cc94a2b8ec8328c356f38715301a258cd3 | refs/heads/master | 2020-04-13T08:55:21.183339 | 2018-12-28T07:44:13 | 2018-12-28T07:44:13 | 163,096,175 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 666 | h | #ifndef OSGEARTHX_WEB_TILE_SOURCE_NOISE_H
#define OSGEARTHX_WEB_TILE_SOURCE_NOISE_H 1
#include <EarthWeb/Source/SourceDispatchImpl.h>
#include <EarthWeb/Source/TileSource/ITileSourceDispath.h>
#include <osgEarthDrivers/noise/NoiseOptions>
#define TileSourceNoiseDispatchImpl SourceDispatchImpl< osgEarth::Drivers::No... | [
"jinping74@outlook.com"
] | jinping74@outlook.com |
f2862bd8c627582bfa26960bfacd85c239daf97c | ee21530730a7d843ca6dae2d2394f1b9fda0f464 | /Integral/Source.cpp | 2a6b264f9ef9532190560ded230c56d5242f317a | [] | no_license | devvados/numeric-methods | 5303a9f8df60615ba067864bf4fb89034bc77299 | b85326d23116b613855761e48fcbfafc5b5ca5b1 | refs/heads/master | 2021-09-10T10:43:12.450991 | 2018-03-24T18:20:21 | 2018-03-24T18:20:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,594 | cpp | #include <iostream>
#include <cmath>
using namespace std;
double f(const double & x)
{
return (x + 1.5)*sin(x*x);
}
double f1(const double & x)
{
return 1/(sqrt(x*x + 4));
}
double deriv(const double & x)
{
return (2 * (pow(x, 2) - 2)) / pow((pow(x, 2) + 4), 5.0 / 2.0);
}
double fault()
{
int n = 10;
double a ... | [
"vadim-cavs@yandex.ru"
] | vadim-cavs@yandex.ru |
7d8dde4765a6150ea6db61fed06b64073d4ca5e3 | b24ac9ebbcd0a3668cd2f64a45cbfc3c98fdaa1e | /thrift/lib/cpp2/transport/inmemory/test/InMemoryConnectionTest.cpp | 3a7df8cbcc1bc60e806a7e4fc447f418bb623997 | [
"Apache-2.0"
] | permissive | martina6hall/fbthrift | 4946e51af9172d986c5508aabc524e1f85035454 | 898e259cb1bc30702262dd2f2dc5351be793bca9 | refs/heads/master | 2021-01-24T19:37:38.055423 | 2018-02-28T02:08:34 | 2018-02-28T02:17:26 | 123,242,017 | 1 | 0 | Apache-2.0 | 2018-02-28T06:45:18 | 2018-02-28T06:45:18 | null | UTF-8 | C++ | false | false | 5,436 | cpp | /*
* Copyright 2017-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
7b040775968b7569506a04ddd86eae957f80dde2 | 72d9009d19e92b721d5cc0e8f8045e1145921130 | /frailtySurv/inst/testfiles/deriv_dlognormal_c/deriv_dlognormal_c_DeepState_TestHarness.cpp | 891cd3aba8cf7a6af2045d4d2f3f730ce7765b1e | [] | no_license | akhikolla/TestedPackages-NoIssues | be46c49c0836b3f0cf60e247087089868adf7a62 | eb8d498cc132def615c090941bc172e17fdce267 | refs/heads/master | 2023-03-01T09:10:17.227119 | 2021-01-25T19:44:44 | 2021-01-25T19:44:44 | 332,027,727 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,214 | cpp | // AUTOMATICALLY GENERATED BY RCPPDEEPSTATE PLEASE DO NOT EDIT BY HAND, INSTEAD EDIT
// deriv_dlognormal_c_DeepState_TestHarness_generation.cpp and deriv_dlognormal_c_DeepState_TestHarness_checks.cpp
#include <fstream>
#include <RInside.h>
#include <iostream>
#include <RcppDeepState.h>
#include <qs.h>
#include <DeepSt... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
c579aa05cd6009087bebb26756b8b117b19aaa57 | 92a31ac0a6437d1ed4f252d4c9acfe57a2230873 | /netwerk/protocol/ccnx/nsCCNxCore.cpp | b7cee83e58c7898f7959759e1476be81ed997b03 | [] | no_license | goodcjw/ffccnx | c69b7d78c1cbe2795f3ebdfed425a25f30fc3392 | e9c310c02a55dc1b5149ee8a57959a528cd95161 | refs/heads/master | 2020-12-24T14:17:41.498077 | 2012-06-01T07:27:58 | 2012-06-01T07:27:58 | 4,007,351 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,649 | cpp | #include "nsCCNxCore.h"
#include "nsCCNxChannel.h"
#include "nsCCNxTransport.h"
#include "nsIOService.h"
#include "nsIURL.h"
#include "nsStreamUtils.h"
#if defined(PR_LOGGING)
extern PRLogModuleInfo* gCCNxLog;
#endif
#define LOG(args) PR_LOG(gCCNxLog, PR_LOG_DEBUG, args)
// nsBaseContentStream::nsISupports
... | [
"goodcjw2@gmail.com"
] | goodcjw2@gmail.com |
d9f1adb60d7878c5aba609766f13473546d67df6 | be6eab2a509676503399dab108b335d0150e2b60 | /build/px4/topics_sources/mission.cpp | 9b62580cb5a36d50ea58586e0dd1ea8fcb7904a8 | [] | no_license | SwastikNandan/Open_UAV_colab | 23ebf8da8c5088a6730dfdd1fb6e7cd6cdccd7d4 | 9493de0cd312e792a7e8fe5c1668be02e8394ae6 | refs/heads/master | 2021-03-10T18:48:56.305634 | 2020-03-11T05:09:19 | 2020-03-11T05:09:19 | 246,476,826 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,289 | cpp | /****************************************************************************
*
* Copyright (C) 2013-2016 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Red... | [
"s.swastiknandan@gmail.com"
] | s.swastiknandan@gmail.com |
272e4207f4ba6af97cd2e536ad2e6c7a75dc7329 | a27e6562c3263aecc6265ee2bd2a0fab9de93aed | /[1] KWACIK - Kwadracik.cpp | d3b5a31dcf0fbd4567970fd54568dd47226a724e | [] | no_license | mrotko/spoj | 301749892590b216ba910fcf0795c4973b479812 | 2c352059d0e22406f2cc15ce5cb4b0ed928e6332 | refs/heads/master | 2021-06-12T17:29:18.176929 | 2017-02-12T23:22:28 | 2017-02-12T23:22:28 | 56,945,855 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,333 | cpp | #include <iostream>
using namespace std;
int main() {
int t, n;
cin >> t;
while(t--) {
cin >> n;
int sum = 0, x;
if(n > 36) cout << 0 << endl;
else {
for(int s = 0; s <= min(9, n); s++) {
for(int d1 = 0; d1 <= min(9, n); d1++) {
... | [
"michalr835@gmail.com"
] | michalr835@gmail.com |
4046bae7587fc608aebba5e4e9e89aa48489e68b | c90b939502d5b864b9d1cbc95feeb58073744534 | /qctimage.cpp | 3a698cdca75f96184eed8581e1285d798f948a67 | [] | no_license | howff/xqctide | c728bfdca3ce8529d96969479e05496f341fe7a0 | 8c91c51e3f8c709cf75450be734042365f2c4f01 | refs/heads/master | 2020-04-02T06:32:54.740777 | 2018-10-23T17:24:21 | 2018-10-23T17:24:21 | 154,155,572 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,405 | cpp | /* > qctimage.cpp
* 1.00 arb Thu May 27 09:18:38 BST 2010
*/
static const char SCCSid[] = "@(#)qctimage.cpp 1.00 (C) 2010 arb QCT image scrollview";
/*
* QCTImage is a class to display a QCT (QuickChart) image.
* It is a subclass of QScrollView so it can be used like a widget
* that displays an image with scrol... | [
"arb@sat.dundee.ac.uk"
] | arb@sat.dundee.ac.uk |
dc02d27689090f5f5331a2c37499e08ab379c6fe | 08bee5927c2322ae85ff43a2742ed6aa13d1125c | /queue/queue_implementation .cpp | 0c795f76a12c88bed3cec013e9fdb9c16d5d4244 | [] | no_license | Shuvo-mandol/My_acm_code_library | a9245bd0d412008e03183ca9c99c5be3693e6e68 | 41d59109825eb095e7e6109223b6ffbb01f38047 | refs/heads/master | 2022-03-15T21:47:30.451486 | 2022-02-25T08:25:38 | 2022-02-25T08:25:38 | 88,274,539 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,804 | cpp | #include<bits/stdc++.h>
using namespace std;
#define MAX 10
int qu[MAX];
int front= -1;
int rear = -1;
void insert_element();
void delete_element();
void display_element();
int main()
{
int option;
cout<<">>> C program to display queue >>> "<<endl;
do
{
cout<< "1. Insert_element"<<endl;
... | [
"shuvocseiu@gmail.com"
] | shuvocseiu@gmail.com |
cbbcb213f9036fc298619dcc1199dda6cbee0fce | d2190cbb5ea5463410eb84ec8b4c6a660e4b3d0e | /old_hydra/hydra/tags/apr07/hadesgo4/Go4HadesOnline/TGo4TriggerOnlineStatus.h | 4d613c0cf66c2887cfdde6f3737382a369252b59 | [] | no_license | wesmail/hydra | 6c681572ff6db2c60c9e36ec864a3c0e83e6aa6a | ab934d4c7eff335cc2d25f212034121f050aadf1 | refs/heads/master | 2021-07-05T17:04:53.402387 | 2020-08-12T08:54:11 | 2020-08-12T08:54:11 | 149,625,232 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 733 | h | /* Generated by Together */
#ifndef TGO4TRIGGERONLINESTATUS_H
#define TGO4TRIGGERONLINESTATUS_H
#include "Go4StatusBase/TGo4Status.h"
#include "TObjArray.h"
#include "TIterator.h"
#include "TObject.h"
class TGo4TriggerOnlineStatus : public TGo4Status {
public:
~TGo4TriggerOnlineStatus();
TGo4TriggerOnli... | [
"waleed.physics@gmail.com"
] | waleed.physics@gmail.com |
01e3a12111956025c8c47347ed5f12165ab7fb92 | 4f8c9afb157c4bafae771bc16c885848a3c28496 | /src/chainparams.h | 849c8b9f4ed09e1d9749b3feb5e7864adf2dc032 | [
"MIT"
] | permissive | jubus08/goldy | 4df4f383cc3b423c35441d2ded00a0901f992f9c | 1e7b3606907a39e4b184b67215562a305355e22f | refs/heads/master | 2020-04-25T16:10:39.167927 | 2019-03-14T11:32:44 | 2019-03-14T11:32:44 | 172,901,250 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,559 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_CHAINPARAMS_H
#define BITCOIN_CHAINPARAMS_H
#include "chainparamsbase... | [
"root@server1500.nazwa.pl"
] | root@server1500.nazwa.pl |
e3a08c6bf34647a7a27c2e2c4208ddc1c22fe7e9 | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /gpu/khronos_glcts_support/native/main.cc | 94d4dbf38aa0df2066b1fad37e87398d9d2ccc31 | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 1,702 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <cstdio>
#include "base/at_exit.h"
#include "base/command_line.h"
#include "base/message_loop/message_pump_type.h"
#include "base/task/single_th... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
7c79cc120403328a8522d1cf0f0fc4adbafbf307 | 65ab93cb4b9e8eec7e53bb4207c4b692d0602053 | /pat1012.cpp | 9892dfc0888b0179e1b33bba81f12d31e9129b59 | [] | no_license | ChordXD/2019Autumn | c4a8075ae46046b7e4be95bc21f74aec972f4259 | 21ba78c30d1afc6bbfef2772f9bcdeec994db52a | refs/heads/master | 2020-08-02T05:31:50.266551 | 2019-10-15T02:03:10 | 2019-10-15T02:03:10 | 211,249,523 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,182 | cpp | /* ***********************************************
Author :Chord
Email:pengrj2018@gmail.com
Created Time :2019/10/4 11:50:36
File Name :pat1012.cpp
************************************************ */
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <algorithm>
#include <vector>
#include <q... | [
"376841573@qq.com"
] | 376841573@qq.com |
cd57029f8f5e56f6e939b0a496f2754bc8823ce7 | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE126_Buffer_Overread/s01/CWE126_Buffer_Overread__CWE129_fgets_33.cpp | 63bbf8ac5003d8ee2e1f80a5daa83b225a2854d2 | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 4,486 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE126_Buffer_Overread__CWE129_fgets_33.cpp
Label Definition File: CWE126_Buffer_Overread__CWE129.label.xml
Template File: sources-sinks-33.tmpl.cpp
*/
/*
* @description
* CWE: 126 Buffer Overread
* BadSource: fgets Read data from the console using fgets()
* Go... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
9cf95ec1c4548e9f6ea2e556f4538df8e00f6d0c | d85b1f3ce9a3c24ba158ca4a51ea902d152ef7b9 | /testcases/CWE78_OS_Command_Injection/s09/CWE78_OS_Command_Injection__wchar_t_listen_socket_w32_spawnlp_81.h | 6fd8ca2791196ea28669e62b75f0bfc8b52c7e31 | [] | no_license | arichardson/juliet-test-suite-c | cb71a729716c6aa8f4b987752272b66b1916fdaa | e2e8cf80cd7d52f824e9a938bbb3aa658d23d6c9 | refs/heads/master | 2022-12-10T12:05:51.179384 | 2022-11-17T15:41:30 | 2022-12-01T15:25:16 | 179,281,349 | 34 | 34 | null | 2022-12-01T15:25:18 | 2019-04-03T12:03:21 | null | UTF-8 | C++ | false | false | 1,796 | h | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__wchar_t_listen_socket_w32_spawnlp_81.h
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-81.tmpl.h
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: listen_socket Read data u... | [
"Alexander.Richardson@cl.cam.ac.uk"
] | Alexander.Richardson@cl.cam.ac.uk |
37264df8121f7adff4fe80e2fea6486a38b2b3e5 | d1a43e0597519b24cb185e9e239eda286c58f000 | /select/tcp_epoll_server.hpp | 40c018a71947f39128750cf49ceaad6b9a5cd9d1 | [] | no_license | NietzscheMYB/study-for-Linux | 5159661a3d9b23889d494ed295d32929a2000d74 | f0ba86623b98842aa53fa3739be081f0c8f3a0ed | refs/heads/master | 2020-05-19T08:00:32.908384 | 2020-01-08T11:55:54 | 2020-01-08T11:55:54 | 184,910,827 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,088 | hpp | #pragma once
#include<sys/epoll.h>
#include<vector>
#include"tcp_socket.hpp"
#include<functional>
#if 0
//相当于接口 Interface
class Base
{
public:
virtual void Add(const TcpSocket&)=0;
virtual void Del(const TcpSocket&)=0;
virtual void Wait(std::vector<TcpSocket>* output)=0;
};
#endif
//epoll 这个类就对标selector这个类... | [
"1023826776@qq.com"
] | 1023826776@qq.com |
0a3a081e8c90b3e1524d7e21b5a1e1a373842359 | 061577d99f928066f7a8b314875152dd6b2c1193 | /multimedia/mrvl_media_player/player/MRVLFFPlayer.cpp | ffa7c1d96f255ac3170c29a91a06953c09d62719 | [] | no_license | xfdingustc/mmp | ff1c1e03f4d74ce3e01ebc4d5efa66c8f59edc87 | d1cc648cdf2865be04ab8045d8e721af633494cd | refs/heads/master | 2020-12-02T08:01:06.535151 | 2017-07-10T09:44:32 | 2017-07-10T09:44:32 | 96,760,049 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,261 | cpp | /*
** Copyright 2012, MARVELL SEMICONDUCTOR, LTD.
** THIS CODE CONTAINS CONFIDENTIAL INFORMATION OF MARVELL.
** NO RIGHTS ARE GRANTED HEREIN UNDER ANY PATENT, MASK WORK RIGHT OR COPYRIGHT
** OF MARVELL OR ANY THIRD PARTY. MARVELL RESERVES THE RIGHT AT ITS SOLE
** DISCRETION TO REQUEST THAT THIS CODE... | [
"ding.xiaofei@whaley.cn"
] | ding.xiaofei@whaley.cn |
42632d724a206e894e3e01d90b572e482934e5de | 9eb8b09eb8a0af700e68ce909ad3291857ffafc3 | /src/x3d/OpenGLRenderer.cpp | 46b599a75a2f25e35d8c027489dc244c3a1fe500 | [] | no_license | fry/x3d | 2f91783351906813e4f4b2fff9ff51068ba53983 | 8ee8f5f2412a9f498c47c1acdf0707ce37f3f90c | refs/heads/master | 2021-01-10T20:22:45.528571 | 2010-11-07T18:44:59 | 2010-11-07T18:44:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,077 | cpp | #if defined(__WIN32__)
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <gl/glew.h>
#else
#include <gl/glew.h>
#endif
#include "x3d/OpenGLRenderer.hpp"
#include "x3d/OpenGLTexture.hpp"
#include <iostream>
namespace {
void set_matrix(GLenum mode, const x3d::Matrix4<float>& mat) {
glMatrixMode(m... | [
"e.siew@londeroth.org"
] | e.siew@londeroth.org |
294a4963b7cb57fcc3a0c1fcf748016249123f9b | 6dbe76259489be2f21fde27bbe7093621a0789f9 | /libraries/TFT/TFT.cpp | 00959cd9eb6a94d561934409fe4f7fa3e60e81c8 | [] | no_license | kbarre123/Arduino | d846e7285dcd4ca84db0853acf3126748b2e1ca9 | e306c2d197f33a968ba23957d96a55e6f9202fd4 | refs/heads/master | 2021-01-22T07:13:35.436236 | 2015-04-08T14:25:18 | 2015-04-08T14:25:18 | 13,965,746 | 0 | 0 | null | 2013-11-09T23:42:45 | 2013-10-29T19:10:09 | Arduino | UTF-8 | C++ | false | false | 11,648 | cpp | /*
ST7781R TFT Library.
2011 Copyright (c) Seeed Technology Inc.
Authors: Albert.Miao, Visweswara R (with initializtion code from TFT vendor)
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the F... | [
"kbarre123@gmail.com"
] | kbarre123@gmail.com |
a950a59135fbce0065db4b3bc6bee85e7af850b6 | 0c72211ec4c78a6c11455af308590952ddae107f | /problem_14.cpp | e2552f3214e48e11c8392a5889baa95f7153cc97 | [] | no_license | zmcneilly/cpp_euler | 0084128143740dfb197a86adfb6d8919cbaf8bf9 | 2d5f6774f350675132e61dc841f7453865fc5e0b | refs/heads/master | 2016-09-03T07:29:52.859400 | 2015-02-13T16:34:44 | 2015-02-13T16:34:44 | 30,469,132 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 467 | cpp | #include <iostream>
int main() {
int longest = 0, len = 0, max = 1000000;
for (int i = 2; i < max; i++) {
int count = 1;
unsigned long long value = i; // in C++ size fails silently!
while (value > 1) {
count++;
if (value & 1 == 1) {
value = (3 * value) + 1;
}
else {
... | [
"zach.mcneilly@gmail.com"
] | zach.mcneilly@gmail.com |
a634c98cae46cafe8b69c9ad77476c7c3a1b954c | 51be8db88a49f7bebeefddf431faff6048ac4f37 | /xpcc/src/xpcc/architecture/platform/cortex_m3/common/hard_fault_handler.cpp | bc8ebcc495f8082896572cf4840fc98625992ffb | [
"MIT"
] | permissive | jrahlf/3D-Non-Contact-Laser-Profilometer | 0a2cee1089efdcba780f7b8d79ba41196aa22291 | 912eb8890442f897c951594c79a8a594096bc119 | refs/heads/master | 2016-08-04T23:07:48.199953 | 2014-07-13T07:09:31 | 2014-07-13T07:09:31 | 17,915,736 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,457 | cpp | // coding: utf-8
// ----------------------------------------------------------------------------
/* Copyright (c) 2011, Roboterclub Aachen e.V.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
... | [
"dev.jonas.rahlf@gmail.com"
] | dev.jonas.rahlf@gmail.com |
533e7a7092de1834ffef131d6d27df1a95779812 | 261ff029c1355a8a1f74a46f76155bc44ca2f44b | /Engine/Resources/Codes/AnimationCtrl.cpp | 55ff1f01619ed76069403766e9a4cb763d113a35 | [] | no_license | bisily/DirectX3D_Personal_-portfolio | 39aa054f60228e703a6d942a7df94a9faaa7a00a | e06878690793d103273f2b50213a92bdfb923b33 | refs/heads/master | 2022-11-26T11:51:29.985373 | 2020-08-04T09:17:09 | 2020-08-04T09:17:09 | 284,932,529 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 5,864 | cpp | #include "AnimationCtrl.h"
USING(Engine)
Engine::CAnimationCtrl::CAnimationCtrl(LPD3DXANIMATIONCONTROLLER pAniCtrl)
: m_pAniCtrl(pAniCtrl)
, m_iCurrentTrack(0)
, m_iNewTrack(1)
, m_fAccTime(0.f)
, m_iOldAniIdx(99)
{
m_pAniCtrl->AddRef();
}
Engine::CAnimationCtrl::CAnimationCtrl(const CAnimationCtrl & rhs)
: m... | [
"mnopw2@naver.com"
] | mnopw2@naver.com |
a44171e3344b06fda31d2506fd1ccdd14e62943f | fd9800b743629cfc9b45aff97834df7bd6a4bfdc | /Project1/MyForm.h | 54d1620e32d73ace5d0c144868f5c0e7b2ab85ca | [] | no_license | nowito/Project1 | e48e8bc294e5b5a3640b5e670e0ed30f06084b26 | 562f7e9670ef5c3c24418d405ecd77f54caee947 | refs/heads/master | 2021-01-10T05:45:46.222112 | 2016-03-28T16:25:37 | 2016-03-28T16:25:37 | 54,903,966 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 7,845 | h | #pragma once
namespace Project1 {
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Text;
using namespace System::Threading;
using namespace System::Drawing;
using ... | [
"arrallatemillos@gmail.com"
] | arrallatemillos@gmail.com |
57799264eda352fd8c77b23d77fb62da8ebaca27 | 42699a6711b6f02c25acdb79e2791b67db015257 | /include/App.hpp | 9a05894eb07baa96a40c6233fbab036736bea969 | [] | no_license | nacho-vlad/digit-recognition | 10605ff509255b6fdc3cb5c13e43f6472f633615 | 09ce08b201dcd6642ec2932d82858eec22b0d0bd | refs/heads/master | 2023-01-03T11:12:42.242861 | 2020-10-29T18:18:53 | 2020-10-29T18:18:53 | 240,187,835 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,945 | hpp | #pragma once
#include <iostream>
#include <vector>
#include <Widget.hpp>
#include <Button.hpp>
#include <TextArea.hpp>
#include <PaintArea.hpp>
#include <neural_network.hpp>
#include <utils.hpp>
gui::PaintArea *paintArea;
gui::TextArea *digitText;
gui::Button *clearButton;
gui::Button *calculateButton;
g... | [
"sabauflorin28@gmail.com"
] | sabauflorin28@gmail.com |
2a13c6b746539740c5c624276dac1bd3e61ccce6 | 64aa3159d0cf52c71f3a68d5be6d95cb7e3e0d7f | /include/physics/collider.h | 822c2490eea6565ddc13151111da30980ea33d7c | [] | no_license | LoshkinOleg/NekoEngine | 87d376576793f91f5468bdc66179bde93ebcccbf | e89a3b33a81d8c0ee9ed06bc8616cb3fba220989 | refs/heads/master | 2022-11-20T07:01:49.816600 | 2019-10-10T09:18:59 | 2019-10-10T09:18:59 | 263,606,128 | 1 | 0 | null | 2020-05-13T11:08:43 | 2020-05-13T11:08:42 | null | UTF-8 | C++ | false | false | 1,781 | h | #pragma once
/*
MIT License
Copyright (c) 2017 SAE Institute Switzerland AG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to ... | [
"elias.farhan@gmail.com"
] | elias.farhan@gmail.com |
bdaa31617e0a5811b228d187d9418ed475f7dec1 | 9a48be80edc7692df4918c0222a1640545384dbb | /Libraries/Boost1.40/libs/interprocess/example/doc_vectorstream.cpp | 8ddd3a6636647d486174bdc6498ede078ce2c32a | [
"BSL-1.0"
] | permissive | fcrick/RepSnapper | 05e4fb1157f634acad575fffa2029f7f655b7940 | a5809843f37b7162f19765e852b968648b33b694 | refs/heads/master | 2021-01-17T21:42:29.537504 | 2010-06-07T05:38:05 | 2010-06-07T05:38:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,502 | cpp | //////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2006-2007. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/libs/i... | [
"metrix@Blended.(none)"
] | metrix@Blended.(none) |
c438c4d86e2d206c203d07c6fe2feeaab8f79fff | a4c45cc2ce9fc90e0ba27f647136b3a69ce0bf09 | /problems/maximum-product-difference-between-two-pairs/SOLUTION.cpp | 09ae1104dc3926b1a49e320494aa2ffa4f49033d | [] | no_license | AhJo53589/leetcode-cn | fd8cb65a2d86f25d2e32553f6b32dbfc9cb7bae7 | 7acba71548c41e276003682833e04b8fab8bc8f8 | refs/heads/master | 2023-01-29T19:35:13.816866 | 2023-01-15T03:21:37 | 2023-01-15T03:21:37 | 182,630,154 | 268 | 47 | null | null | null | null | UTF-8 | C++ | false | false | 851 | cpp |
//////////////////////////////////////////////////////////////////////////
class Solution {
public:
int maxProductDifference(vector<int>& nums) {
sort(nums.begin(), nums.end());
int j = nums.size() - 1;
return nums[j] * nums[j - 1] - nums[0] * nums[1];
}
};
////////////////////////////... | [
"ahjo_bb@hotmail.com"
] | ahjo_bb@hotmail.com |
4765116f75c597fa462e36f47c48e146a8837876 | 8bcd52f1157a7710bb93430188d9f28809ccfd1f | /sources/L02SpotLightBalls/main.cpp | 08ecee4e64d86576a9d21f6d6603339b5f5e6e5a | [] | no_license | dknife/oldGraphicsLecture | 2f297424d0034183df15baeeb80dcea721f636c9 | 23884497cc545cce1bbb7c882cb0c56b12d90c00 | refs/heads/master | 2016-09-05T23:22:51.905039 | 2015-05-22T08:10:11 | 2015-05-22T08:10:11 | 33,981,553 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,446 | cpp | #ifdef __APPLE__
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#include <GLUT/glut.h>
#else
#ifdef _WIN32
#include <windows.h>
#endif
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glut.h>
#endif
#include <math.h>
#include <math.h>
float angle = 0.0;
bool bAnimation = true;
bool bPointLight = true;
// 재질에 설정될 값... | [
"ymkang@San302-YMKang.local"
] | ymkang@San302-YMKang.local |
45c6bf8fe5dbeaf2d76a9a1f257ad2a35351e02b | ef5731de317f1f6e30303944e2f5d26ba1d54619 | /pehill-5-cases-OpenFOAM/case_1p2/0/p | 527446ca123b22f1b80af769805dfe15e5d2917d | [] | no_license | xiaoh/para-database-for-PIML | a2e85360cd9ca67c1c200000a5d4a509d927f121 | c01a100fe5a76af0afb2949865c113b8624feb4c | refs/heads/master | 2023-05-28T02:34:38.160883 | 2023-05-18T14:57:57 | 2023-05-18T14:57:57 | 212,373,599 | 17 | 15 | null | null | null | null | UTF-8 | C++ | false | false | 181,553 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.x |
... | [
"hengxiao@vt.edu"
] | hengxiao@vt.edu | |
2e07200c0e94efec93991d47d14ba2e813734631 | 44a55b0ff8dc111d3a052219798faaa3bf0fd0db | /main.cpp | 34ed5344cc6a5515a8e86b9deb68c87d52f40122 | [] | no_license | baldwinvs/boost_socket_testing | 8c7f27e560b10e57230ef7993ae310c2274b3ebd | aa941ce8164b9e325ee1f18254667088bcb028a3 | refs/heads/master | 2023-05-06T08:32:18.064478 | 2021-06-01T02:16:32 | 2021-06-01T02:16:32 | 372,510,162 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,820 | cpp | #include <thread>
#include <boost/asio.hpp>
#include <array>
#include <atomic>
#include <cstdio>
#include <cstddef>
#include <cstring>
#include <iomanip>
#include <iostream>
constexpr uint16_t portToUse {141};
constexpr size_t bufSize {16};
inline const std::string address {"127.0.0.1"};
std::atomic_bool received {tr... | [
"baldwinvs@outlook.com"
] | baldwinvs@outlook.com |
ce597a8aa400a53734cb0377393b7b5d255b24d9 | cecac291a46aa5a71bf48be4df651ab679767acd | /Ch9_10_Person_Detection/ArduCAM/ArduCAM/examples/mini/ArduCAM_Mini_2MP_Plus_Multi_Capture2SD/ArduCAM_Mini_2MP_Plus_Multi_Capture2SD.ino | bf212ead1b31ecb25b25d677a619957289d0755d | [
"MIT",
"LGPL-2.1-only"
] | permissive | TinyML-Study/TinyML-Code-Practice-Peter | 21abd09070634e3915e931f0ce3f6e41fee2b5e6 | eb3978328d63ff8054003dc8e4cacbb3d12189b6 | refs/heads/master | 2022-12-28T20:33:41.580367 | 2020-10-20T14:48:12 | 2020-10-20T14:48:12 | 295,699,200 | 0 | 1 | MIT | 2020-10-20T14:48:14 | 2020-09-15T10:59:40 | C++ | UTF-8 | C++ | false | false | 6,075 | ino | // ArduCAM Mini demo (C)2018 Lee
// Web: http://www.ArduCAM.com
// This program is a demo of how to use the enhanced functions
// This demo was made for ArduCAM_Mini_2MP_Plus.
// It can continue shooting and store it into the SD card in JPEG format
// The demo sketch will do the following tasks
// 1. Set the camera t... | [
"petercha90@gmail.com"
] | petercha90@gmail.com |
3c997390641683ba576171d6c1f091468b85eaa0 | b517081a8537beddf629c973d4322951dcd78edd | /dynamic_solver/FastConsensusSolver/src/BayesianQuenchedConsensusSolver.cpp | 13d5343e0f665f7f4b5c70e499fc7002efdeab5c | [] | no_license | andresantoro/Social_Consensus | a979a93e8c0089070675683be3f49b2245530e20 | 8b9637c41b9bd9ccaa5615c1b4741069f2505f39 | refs/heads/master | 2021-07-16T18:07:14.705800 | 2019-02-14T22:14:08 | 2019-02-14T22:14:08 | 138,658,928 | 0 | 0 | null | 2019-02-14T22:14:09 | 2018-06-25T23:06:00 | Jupyter Notebook | UTF-8 | C++ | false | false | 3,908 | cpp | /**
* \file BayesianQuenchedConsensusSolver.cpp
* \brief Methods for the class BayesianQuenchedConsensusSolver
* \author Guillaume St-Onge
* \version 1.0
* \date 27/09/2018
*/
#include "BayesianQuenchedConsensusSolver.hpp"
using namespace std;
namespace soc
{//start of namespace net
/*---------------------------
*... | [
"guillaume.st-onge.4@ulaval.ca"
] | guillaume.st-onge.4@ulaval.ca |
b52f93b339edf61bca883127853b263754d931d1 | b8be35d7f0d82c7a4892c7cb6f772c26def63073 | /src/timedata.cpp | d0008194096ffde3a86b8de3844e73a6f8151ae8 | [
"MIT"
] | permissive | poseidondev/posq | 9fec53574e601f9666caef61c9439d6143b62ee8 | fe1915b8a8a1bf72117395ef3bb033f3b1edba53 | refs/heads/master | 2021-03-27T19:59:39.746053 | 2019-01-09T03:08:58 | 2019-01-09T03:08:58 | 121,125,177 | 5 | 21 | MIT | 2019-01-09T03:14:09 | 2018-02-11T13:17:28 | C++ | UTF-8 | C++ | false | false | 3,610 | cpp | // Copyright (c) 2014 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "timedata.h"
#include "netbase.h"
#include "sync.h"
#include "ui_interface.h"
#include "util.h"
#include "utilstrencodings.h"... | [
"sh.an.ebuckley92@gmail.com"
] | sh.an.ebuckley92@gmail.com |
014edd9436449c0ca8b7f5a3cde434195598e041 | 4ff7cfd989f2345416a9e8760077e75147f1dfca | /C++/tsoj/1150细菌繁殖.cpp | f401e5eecb0114d0e06cd23db8205e6fcbfa138b | [] | no_license | gqzcl/code_save | bc7de0974402e1ef85dbaeb51d38699d11d32a0f | 47a817ab6e5c0ad16450c3d36263274c1ff3dcd1 | refs/heads/master | 2020-04-07T08:16:31.591946 | 2018-12-21T07:59:55 | 2018-12-21T07:59:55 | 158,206,968 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,414 | cpp | #include<iostream>
using namespace std;
const int N=180;
int months[12]={31,28,31,30,31,30,31,31,30,31,30,31};
int days(int day1,int month1,int day2,int month2)
{
int count=0;
for(int i=month1;i<=month2;i++)
{
if(month1==month2)
count=day2-day1;
else if(i==month1)
count=count+months[i-1]-day1;
else if(i=... | [
"1476048558@qq.com"
] | 1476048558@qq.com |
574d4c2d771b1e53e3c12bf8524daac09277ff79 | 241a8475d685d42eab3a600785bb03afd934b1b1 | /punteros/main.cpp | 2dc9f84d9487258e11ce56e579b56d57f89bd23c | [] | no_license | lonelyday01/EDD2015 | 3d1db0c646bc7d62f7c166fe25111dce016322db | d2ea390864478358fb22e936b7f825c8bc743c5c | refs/heads/master | 2020-05-09T17:07:43.114871 | 2016-01-12T08:45:57 | 2016-01-12T08:45:57 | 42,542,664 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 317 | cpp | #include <iostream>
using namespace std;
int main()
{
int taman=0,cont;
int * puntero;
cout<<"ingresa el tamaño del arreglo"<<endl;
cin>>taman;
int arreglo[taman];
puntero = arreglo;
*puntero=1;
for (cont=0;cont < taman; cont ++)
{
puntero[cont]=&puntero++;
cout<<arreglo[cont]<<endl;
}
return 0;
}
| [
"janixiox@gmail.com"
] | janixiox@gmail.com |
9c182d3c1565ceb4b5893f41a0803928f9e48614 | b4d312da77b8d3f2eebbfde092643428343d9c00 | /Classes/CppCallJava/CppCallJava.h | 149072f2a273d7df563b40e1e9259157de572765 | [] | no_license | droidsde/HaiMianBaoBao | 6558fa49f0b5125b53a228493490a4b8d63c2188 | 4b8a89012e8bfde1197fd709b3d1f6a5a6eed721 | refs/heads/master | 2020-04-08T18:19:07.364875 | 2015-12-04T09:25:50 | 2015-12-04T09:25:50 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,334 | h | #ifndef CPP_CALL_JAVA__H
#define CPP_CALL_JAVA__H
#include "cocos2d.h"
#include "string.h"
USING_NS_CC;
class CppCallJava
{
public:
//************************************
// Method: getPlatfromInfo
// FullName: CppCallJava::getPlatfromInfo
// Access: public
// Returns: void
// Explain: 登录前必须获取
// Pa... | [
"769875137@qq.com"
] | 769875137@qq.com |
dcd83500bdc9365df3c88d82031c416ba492a4a1 | f45c8775c0517fdc46939e6d5d728a09a7fe55e3 | /atcoder/abc133/C.cpp | 1b36bdca8cdc25cdb041c4a4043499178d9bc63f | [] | no_license | Radhesh-Sarma/Competitive-Coding | 6550af86545d7456923c559a78784af201f57e4e | ce71acaa912249717a8f6cbf7584034548db7951 | refs/heads/main | 2023-02-23T09:40:57.401882 | 2021-01-31T15:53:24 | 2021-01-31T15:53:24 | 191,410,831 | 0 | 1 | null | 2019-06-11T16:34:32 | 2019-06-11T16:34:31 | null | UTF-8 | C++ | false | false | 1,950 | cpp | //Keep Working Hard
// I__Like__Food
#include<bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#define rep(i,a,b) for(int i = a; i <=b; i++)
#define rep2(i,a,b) for(int i = a; i>=b; i--)
#pragma GCC optimize("O3")
#pragma GCC optimize("Ofast")
... | [
"radhesh@pop-os.localdomain"
] | radhesh@pop-os.localdomain |
542136170dcaff77ba6d75fa417e1d501eca23c5 | 243548920b4a8f6aa024419f56fd34332a23fa60 | /modelos/write_cdt_to_vtk_xml_file.h | cfb48396c80b8292b34a5920ed9d5be2c7c69052 | [] | no_license | lvsdvale/Simula-o-computacional-da-Laringe | 3e55aa5677a784505911ca63eb1035bb488aea21 | 382e0edaffbf017bb23c5cd6ae0301e0ca391afe | refs/heads/master | 2022-11-19T09:37:57.626955 | 2020-07-16T19:43:18 | 2020-07-16T19:43:18 | 267,971,026 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,376 | h | #ifndef Mesh_3_example_write_cdt_to_vtk_xml_file_h
#define Mesh_3_example_write_cdt_to_vtk_xml_file_h
#include<fstream>
namespace CGAL {
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
typedef CGAL::Triangulation_vertex_base_2<K> Vb;
typedef CGAL::Delaunay_mesh_face_base_2<K> Fb;
typedef CGAL::Triangul... | [
"vale@alunos.utfpr.edu.br"
] | vale@alunos.utfpr.edu.br |
023d04bd761fd0563abb0e1a985cc0fa84735186 | 8e567498a9224d7c6bf71cfe66ec5360e056ec02 | /mars/boost/numeric/conversion/detail/is_subranged.hpp | d045b7f3e1a3d321b681d5fdf81c486e327693bf | [
"MIT",
"Zlib",
"LicenseRef-scancode-unknown-license-reference",
"OpenSSL",
"BSD-3-Clause",
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-ssleay-windows",
"BSL-1.0",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | Tencent/mars | db31afeeb5c0325bfceede594038381bce3c1635 | 6c7028fffe01e2b49a66c221b1ac2f548649053f | refs/heads/master | 2023-08-31T07:29:50.430084 | 2023-08-09T07:24:42 | 2023-08-09T07:24:42 | 76,222,419 | 18,118 | 3,828 | NOASSERTION | 2023-09-12T07:37:07 | 2016-12-12T04:39:54 | C++ | UTF-8 | C++ | false | false | 7,984 | hpp | // (c) Copyright Fernando Luis Cacciola Carballal 2000-2004
// Use, modification, and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// See library home page at http://www.boost.org/libs/numeric... | [
"garryyan@tencent.com"
] | garryyan@tencent.com |
9d3742da7c7a375016ebdcd45b10218d87108fed | 522a944acfc5798d6fb70d7a032fbee39cc47343 | /d6k/trunk/src/scadastudio/deviceview.cpp | 797e708f9ac97ffc84b52c871568f5cd0408c921 | [] | no_license | liuning587/D6k2.0master | 50275acf1cb0793a3428e203ac7ff1e04a328a50 | 254de973a0fbdd3d99b651ec1414494fe2f6b80f | refs/heads/master | 2020-12-30T08:21:32.993147 | 2018-03-30T08:20:50 | 2018-03-30T08:20:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,819 | cpp | #include "deviceview.h"
#include "fesmodule.h"
#include "aitable.h"
#include "ditable.h"
#include "aotable.h"
#include "dotable.h"
#include "scadastudiodefine.h"
#include "config_data.h"
#include "scadastudio/icore.h"
#include "devicetable.h"
#include "devicemodel.h"
CDeviceView::CDeviceView(IMainModuleInterface *pCor... | [
"xingzhibing_ab@hotmail.com"
] | xingzhibing_ab@hotmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.