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 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
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 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
98118f0fb48ff3e1f504eea13c9f2f18a200fb36 | 7b9e626cfc3aa45ff44f79b0fb31b782a17d6c98 | /src/functors/lattice/blockReduction2D1D.cpp | bf6cfe10c3b84cc0667c66f85d67b9c081ac428e | [] | no_license | lex16000/LBv1.2 | e95b1b42925aaa892e6099be83496a0a56271dff | cee82cc6fe75d2f9b25a9f62ce8d50d3480c47ac | refs/heads/master | 2021-04-06T01:41:48.099885 | 2018-04-04T12:01:09 | 2018-04-04T12:01:09 | 125,254,173 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,086 | cpp | /* This file is part of the OpenLB library
*
* Copyright (C) 2018 Adrian Kummerländer
* E-mail contact: info@openlb.net
* The most recent release of OpenLB can be downloaded at
* <http://www.openlb.net/>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the ... | [
"schulz_a_alexander@hotmail.com"
] | schulz_a_alexander@hotmail.com |
eaca35ffd8d1751217ad74cce26acc950fc48cdf | 71734273f0efd015e771aeb8026e2cdb045870cc | /cef/libcef_dll/cpptoc/post_data_element_cpptoc.cc | 4f21d7a8751c39d7615e764505f01b0536e54858 | [
"Apache-2.0"
] | permissive | killvxk/miniblink49 | 6efc4ff4a65eaface992d6bf02e537caa9131ed2 | ff3d0e133d18de1748c688b0c0e173965db17033 | refs/heads/master | 2020-03-18T01:43:40.001114 | 2019-04-27T12:11:45 | 2019-04-27T12:11:45 | 134,156,673 | 1 | 0 | MIT | 2019-04-27T12:11:46 | 2018-05-20T14:17:42 | C++ | UTF-8 | C++ | false | false | 5,266 | cc | // Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights
// reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file.
//
// ---------------------------------------------------------------------------
//
// This file was generated by the CEF translato... | [
"22249030@qq.com"
] | 22249030@qq.com |
3b7c051a9c94b036a3cb39ae8f89b37531d95f20 | 2572a2dc50392495be992c1f5b9225feac707dce | /CodeChef/STRSUB.cpp | ebc8491383eb20db7200a8606e5ca0869b481d9f | [] | no_license | agentmishra/DSA | f60aabb0c77f07a665944f224935103b29cedcf5 | 63cd024bafec0b25e150b51b88e4563e31a62ef9 | refs/heads/master | 2023-03-25T23:44:44.199513 | 2021-01-02T16:00:08 | 2021-01-02T16:00:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,732 | cpp | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
#define int long long
#define ll long long
#define oset tree<int, null_type,less<int>, rb_tree_tag,tree_order_statistics_node_update>
#define nl "\n";
#define loop(fr... | [
"praful.mohanan@gmail.com"
] | praful.mohanan@gmail.com |
fb537fb4ec0010a33d7c719a432ea04e0976ec6e | 3d01c099673783c2f84146dc9dbd05e0bd60d5b8 | /include/sancus_fd.h | 0757ac737e73b756b85a1a976bdad5a7fac84ebb | [] | no_license | sancus-project/sancus-core-old | 58aa3544c8f34c289efa5b6a4e28c60783b41fbd | 712c8f38caca2aeca205dca01bfbc820e8135efd | refs/heads/master | 2016-09-10T04:32:00.321564 | 2011-12-06T19:20:14 | 2011-12-06T19:20:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,482 | h | /*
* This file is part of sancus-core <http://github.com/amery/sancus-core>
*
* Copyright (c) 2010-2011, Alejandro Mery <amery@geeks.cl>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* ... | [
"amery@geeks.cl"
] | amery@geeks.cl |
788e178cfde1695fe886c153ed6503fa21e4cb3a | 7d1cc7ee88219f5ffeff36fd81da8058c7f04d03 | /BFGS/Cpp/examples/bealeFunction.cpp | fbe0ff0ac5467a99a4962f44236b2161798c160e | [] | no_license | dnhsieh/Optimization | 243737a59d4bc34c8d5d2e242e7034aabd5e2977 | 980b62efde37072f7e266755b58ffa0fe76ad772 | refs/heads/main | 2023-04-29T22:47:20.439819 | 2021-05-12T02:42:37 | 2021-05-12T02:42:37 | 366,477,552 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 756 | cpp | #include "struct.h"
// global minimum : 0
// global minimizer: (3, 0.5)
void objgrd(double *fcnVal, double *grdVec, double *posVec, fcndata &fcnObj)
{
double xVal = posVec[0];
double yVal = posVec[1];
double f1Val = 1.5 + xVal * (-1.0 + yVal );
double f2Val = 2.25 + xVal * (-1.0 + yVal * yVal ... | [
"noreply@github.com"
] | dnhsieh.noreply@github.com |
c1de9cc3e192c9440e768c76db0d6ee2e4194ec5 | 12e83a2eb7997a69865a1b0736a1f6034da76dd5 | /OOP5/at_home/Robot.cpp | cdec2d346674a7d161646c74ca5ef02a4e2d127d | [] | no_license | kimphuongtu135/OOP244 | 1157d86e7dfc1dfc5d8dbcb5821fc85dab46ed2e | 41abe9cdab170b1bc7138578a56208053deac272 | refs/heads/master | 2022-07-31T09:12:49.078877 | 2020-05-20T20:54:25 | 2020-05-20T20:54:25 | 265,682,503 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,988 | cpp | // Robot.cpp
// Robot.cpp
/*-------------------------
Name: Kim Phuong Tu
Student Number: 148886179
Date: OCT 12th, 2019
---------------------------*/
#define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <cstring>
#include "Parts.h"
#include "Robot.h"
using namespace std;
namespace sdds {
//Set the empty st... | [
"kimphuongtu135@gmail.com"
] | kimphuongtu135@gmail.com |
6dd247a725ae400d4db1fc388a7081f0413cbc86 | 4a4c1dcd29abe87745bb30adfbdf5205eb39f3b5 | /havok/Source/Physics/Collide/Shape/Compound/Collection/ExtendedMeshShape/hkpExtendedMeshShape.h | c45dd7806e234a212d644fe2fcfcea3165bad681 | [] | no_license | Hengle/ThirdParty | e7c4d794088712ec88bcea28a27f3acb71b6208c | a7ebed87d43e9cc58ec50836a2cc747bc539fd93 | refs/heads/master | 2023-03-16T04:24:59.905476 | 2014-01-20T16:54:54 | 2014-01-20T16:54:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,635 | h | /*
*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Product and Trade Secret source code contains trade secrets ... | [
"evg.gamedev@gmail.com"
] | evg.gamedev@gmail.com |
3ecc6400d5b4a1647749f43da3d7329950f5c867 | 4986b051e2d7502c1e76369c8cb9314a15c58247 | /Lighting.h | 6039aa3a5250810cdd0f26402b620e20623cb0d3 | [] | no_license | mostafa-kamal-99/SnakeAndLadder-Monopoly | 4d492620887bf46f3117c6e7e9599db889d61bc2 | 4af46ad125728fc1e6659e7855a90faf7fa83e0a | refs/heads/master | 2020-11-27T04:05:58.448974 | 2019-12-20T17:17:02 | 2019-12-20T17:17:02 | 229,298,184 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 256 | h | #pragma once
#include "Attack.h"
class Attack;
class Lighting : public Attack
{
public:
Lighting( Grid*g,Player *p=NULL); // A Constructor for Attack that takes the Player to act on of it
Lighting();
void Apply ();
~Lighting(void);
};
| [
"noreply@github.com"
] | mostafa-kamal-99.noreply@github.com |
4c5a6699aed75152acca5c5ef95f52c0913a1ab3 | 8de4f46db32c7ccfd77d25b7697f9a013ab13187 | /MakeTes_02/good_morning.hpp | c843edc9ce3cd3fb38b241dc6e3f5c2cec6eb9df | [] | no_license | yoshi-jun/Make_practice | dbd1ab9389b633ee5a6f21d99610d58bbc7a4b36 | 7c4073fe7b4f483d87a85958c308b2f6eb7cbbd6 | refs/heads/master | 2023-04-12T01:00:38.321163 | 2021-05-17T06:10:52 | 2021-05-17T06:10:52 | 365,935,182 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 76 | hpp | #ifndef GOOF_MORNING_H
#define GOOD_MORNINF_H
void good_morning();
#endif
| [
"noreply@github.com"
] | yoshi-jun.noreply@github.com |
c685e76c72b62c93c805ba2852627b25655b58ae | a78390c58814a59998f330adab061c7f7678725e | /sources/sedris_cpp_sdk_4.1.4/src/lib/taccess/interface/include/seIterator.h | 0b77a31d1d0b0b3a6fd479184c7318d2a3e6bb83 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | Geo4Win/sedris-dynamic | d632c3c496bdd111b8cb27d69de359cd7cc7c420 | cfb3b2f1605221bb1cfd86c8315ff0ca740767b8 | refs/heads/master | 2021-07-06T16:47:05.668696 | 2017-10-02T04:55:03 | 2017-10-02T04:55:03 | 105,417,233 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 15,485 | h | /*
* Copyright (c) 2006 Accent Geographic. All rights reserved.
* See the license file for licensing information.
* Created 2003/05/30
*/
// SEDRIS C++ SDK Release 4.1.4 - July 1, 2011
/*
* NOTICE
*
* This software is provided openly and freely for use in representing and
* int... | [
"sysbender@gmail.com"
] | sysbender@gmail.com |
12ab4c301b5725b3c1549c7e59ec17a1da48e063 | 8476eb45fe9dfd43818245e17a1c661b88e69400 | /CustomCodes/utils/funcs/KinDyn200511_221619/kin/mex/Inertia_LeftPelvisRotation_mex.hh | b1c17b38ac6ef44a58d2941a79ee1a0f72cc3195 | [] | no_license | prem-chand/Cassie_Controller_AngularMomentum | f8c7521bc990b42d8ff098759e04637afaca2cc1 | c784242f1a949525accb8f9e9fe4a53feb0fba87 | refs/heads/main | 2023-08-15T02:09:23.748744 | 2021-09-21T21:43:24 | 2021-09-21T21:43:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 901 | hh | /*
* Automatically Generated from Mathematica.
* Mon 11 May 2020 22:23:50 GMT-04:00
*/
#ifndef INERTIA_LEFTPELVISROTATION_MEX_HH
#define INERTIA_LEFTPELVISROTATION_MEX_HH
#ifdef MATLAB_MEX_FILE
// No need for external definitions
#else // MATLAB_MEX_FILE
#include "math2mat.hpp"
#include "mdefs.hpp"
namespace Sy... | [
"gyk199305@gmail.com"
] | gyk199305@gmail.com |
f7b6c49b275368197e138ba0c5665ca4d00d881e | ad62d5a6236c35d71a647802cf4d6d2ead2558a8 | /src/WalletLegacy/WalletTransactionSender.h | 64c67e3e90112b3124f3cc5331016c92a824d9d8 | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | cycere/quid | 7af570e6d2fd6a8e4cbd5c5253060c76c488bd72 | 889b5bd36339d4e632c07a037db9ba38bf89ea30 | refs/heads/master | 2023-01-21T22:13:08.580206 | 2020-12-01T00:00:40 | 2020-12-01T00:00:40 | 316,043,120 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,163 | h | // Copyright (c) 2011-2016 The Cryptonote developers
// Copyright (c) 2017-2021 The Cycere developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#pragma once
#include "QuidCore/Account.h"
#include "QuidCore/Currency.h"... | [
"cycereorg@gmail.com"
] | cycereorg@gmail.com |
64131c5a4e0f175298626558390e583c3d7c24fe | 26ad4cc35496d364b31396e43a863aee08ef2636 | /SDK/SoT_BP_BountyRewardSkull_Proxy_Common_DVR_functions.cpp | d0cafb96bcf9bdf590af9d1e3ca5eb01f8d4c06d | [] | no_license | cw100/SoT-SDK | ddb9b19ce6ae623299b2b02dee51c29581537ba1 | 3e6f12384c8e21ed83ef56f00030ca0506d297fb | refs/heads/master | 2020-05-05T12:09:55.938323 | 2019-03-20T14:11:57 | 2019-03-20T14:11:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 374 | cpp | // Sea of Thieves (1.4) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_BP_BountyRewardSkull_Proxy_Common_DVR_classes.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//--------------------------------------------------------------------... | [
"igromanru@yahoo.de"
] | igromanru@yahoo.de |
0012a71e0e45802949458127cb2d9b67cc12a108 | 84875d668911475f4bbf6aa5e44a70f19e941e42 | /src/utils/S64String.cc | ebb9805746d45fb525712cfce468bc6bd1fc07ea | [
"MIT"
] | permissive | sroycode/zapdos | 26592d95f51828f53dd104fe04fe98eb127706b0 | 8818ef109e072dcbe990914d9a2a6d70ef190d3e | refs/heads/master | 2021-06-24T06:18:54.712462 | 2020-12-07T08:06:25 | 2020-12-07T08:06:25 | 156,883,254 | 5 | 0 | MIT | 2020-08-02T09:12:57 | 2018-11-09T15:47:05 | C++ | UTF-8 | C++ | false | false | 1,965 | cc | /**
* @project zapdos
* @file src/utils/S64String.cc
* @author S Roychowdhury < sroycode at gmail dot com >
* @version 1.0.0
*
* @section LICENSE
*
* Copyright (c) 2018-2020 S Roychowdhury
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated docu... | [
"sroycode@gmail.com"
] | sroycode@gmail.com |
80989780b4cdc378496cf853505faa689e297c65 | 629f7423b91988b6c735a417b72f6fd886198d16 | /AOJ/ITP1/2-d.cpp | f2dc9b588c48177efc98f6b0b3b024952e907365 | [
"MIT"
] | permissive | yu1k/competitive-programming | 6af576f51255ee6edc77f0e6d5b24bac0f65596f | 0c47db99ce7fb9bcf6e3b0dbfb8c84d9cfa165fd | refs/heads/master | 2021-12-11T15:14:19.201721 | 2021-12-01T14:49:29 | 2021-12-01T14:49:29 | 192,532,915 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 290 | cpp | #include <iostream>
using namespace std;
int main(){
int w;
int h;
int x;
int y;
int r;
cin >> w >> h >> x >> y >> r;
if((x >= r) && (x <= w - r) && (y >= r) && (y <= h - r)){
cout << "Yes" << endl;
}
else{
cout << "No" << endl;
}
} | [
"48705423+yu1k@users.noreply.github.com"
] | 48705423+yu1k@users.noreply.github.com |
de94617abbacb7bba63cd0587bb7eb7c74556a32 | 4d556635b5649fb711acd215276687573c5d427c | /P03/bonus/test.cpp | 157b68b4ee7cc9f52cbd77d17b1cc61d16e68c87 | [] | no_license | sworup-bhattarai/cse1325 | fe7099c75270ddd8b5486ccf3335e33017347914 | 6bc9096f179b0927507371ef85c5fbb197edfb5b | refs/heads/main | 2023-04-08T13:41:27.875255 | 2021-04-27T04:01:41 | 2021-04-27T04:01:41 | 330,570,220 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,293 | cpp | #include "fraction.h"
#include <iostream>
#include <sstream>
int main() {
// Vector is the bit representing the test being performed
// Result accumulates all failures, and is the return code
int vector = 1;
int result = 0;
// Four fractions to handle the test cases
Fraction f1{1, 2};
Frac... | [
"sworup.bhattarai@mavs.uta.edu"
] | sworup.bhattarai@mavs.uta.edu |
f4ca8c1611d7c7d5f4510f61277a3dc451054f7a | f58365bcef42779533bcc3b93d7449b26139dfba | /av/avAnimation/AnimationPrototype.cpp | 7d5c74bf64f56dd59ebe122d820ef79be6890c27 | [] | no_license | hl0071/test_osg | 763b83895f30e1761b6b3e86171fca5c0508a08e | 2ea41efe216e15f7a4452c6b105397a923f3b04f | refs/heads/master | 2023-03-19T09:02:48.435332 | 2017-03-16T18:32:40 | 2017-03-16T18:32:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,348 | cpp | //#include <avDebug.h>
#include "av/avCore/Database.h"
#include "Animation.h"
#include "AnimationPrototype.h"
namespace avAnimation
{
bool readXFile ( std::istream * is, AnimationLoader* Loader );
bool IsEqual ( float delta, const osg::Matrixf& A, const osg::Matrixf& B )
{
const float *pA = A.... | [
"yaroslav.tarasov@gmail.com"
] | yaroslav.tarasov@gmail.com |
269c089b72e18b7131bdc98ee382456382beb9ad | 16c2aa1096e8d0efed3f3219b22f1b0a86a78c52 | / cf-B - Hills And Valleys - code.cpp | 6da2e4540c8975dceed56642d3a7ef6d93e790f5 | [] | no_license | ash1526/CodeLibrary | e1c36045c979031f98f99fbfbd446d3e29c050b7 | 7ee6fa852e1cc4b38c9160c927fdb0cf580eb5ab | refs/heads/master | 2023-08-17T12:50:16.964705 | 2021-10-19T16:51:43 | 2021-10-19T16:51:43 | 361,191,580 | 0 | 2 | null | 2021-10-04T17:43:18 | 2021-04-24T15:02:46 | C++ | UTF-8 | C++ | false | false | 3,727 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
#define pb push_back
#define inf LLONG_MAX
#define ninf LLONG_MIN
#define io ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
#define all(s) s.begin(),s.end()
#define rep(i, a, b) for(ll i = a; i < b; i++)
#define rr(v) for(au... | [
"noreply@github.com"
] | ash1526.noreply@github.com |
e993629f4ad66a7c3abdd15a97e26bb09896c78a | 717a6d38827731fc75f7966eb86ea9f2e1e00235 | /src/GenSimSteppingVerbose.cc | bc2f5f63b07b193966ee72f9516218e8f1a9dc02 | [] | no_license | hansoullee20/GenSim | e1b0088ef198d1cf07421389275d173002236e30 | dddfe5ee20fcbebb1ac59ec6dc6623213d863451 | refs/heads/master | 2020-04-06T11:49:59.000776 | 2018-11-13T19:19:44 | 2018-11-13T19:19:44 | 157,432,329 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,203 | cc |
#include "GenSimSteppingVerbose.hh"
GenSimSteppingVerbose::GenSimSteppingVerbose()
{;}
GenSimSteppingVerbose::~GenSimSteppingVerbose()
{}
void GenSimSteppingVerbose::StepInfo()
{
// G4cout << "In GenSimSteppingVerbose::StepInfo()" << G4endl;
CopyState();// ??? , from G4VSteppingVerbose
G4int prec = G4cout... | [
"leehs3@myumanitoba.ca"
] | leehs3@myumanitoba.ca |
2b1f2d640789b9d59376b7f96fbc956a8c80fdb4 | 7d7ad5c623eef9ca6e73a632a6383ba72bad68f8 | /macro.cpp | 41472f637a5eb996ce28f5fc16ce10225feee32a | [] | no_license | avk2/mathfc | 577b7ce70a47c491dd5390c0ba3c3da6c9367947 | 22efafd0048bd272976fd81fa65205b59d6a030f | refs/heads/master | 2023-01-04T23:12:25.583327 | 2020-10-31T19:29:58 | 2020-10-31T19:29:58 | 308,948,438 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 4,563 | cpp | /*
Math function compiler version 4.0
File macro.cpp
Platrorms supported : x86 / Win32 and Win64
Author: Kavinov A.V.
*/
#include <algorithm>
#include <cstring>
#ifdef _DEBUG
#include <iostream> // for debugging
#endif
#include "expr.h"
// Some functions are immediately translated to ... | [
"alekseyvladimirovich1@yandex.ru"
] | alekseyvladimirovich1@yandex.ru |
57ac081f26d392c1cc68746da5bb6375c94a6714 | fa7d492fe04ce4119dad28a24121487f596cd1ef | /cppcolormap.hpp | 03dc1c36319bd0b2fbb7581003d5fb560c45b9ea | [] | no_license | randomplum/wxteq1 | c6eacff828b9992c27222e28ac4088fd970e0773 | 88c397c9d1a214c9d5430c7e5e3aa8f92c681f48 | refs/heads/main | 2023-06-08T15:10:42.033649 | 2021-06-21T22:39:39 | 2021-06-21T22:39:39 | 379,080,197 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 143,295 | hpp | /**
\file cppcolormap.h Colormaps in C++
(c - GPLv3) T.W.J. de Geus (Tom) | tom@geus.me | www.geus.me | github.com/tdegeus/cppcolormap
*/
#ifndef CPPCOLORMAP_H
#define CPPCOLORMAP_H
#define CPPCOLORMAP_VERSION_MAJOR 1
#define CPPCOLORMAP_VERSION_MINOR 3
#define CPPCOLORMAP_VERSION_PATCH 0
#define CPPCOLORMAP_VERS... | [
"dominik@sliwa.io"
] | dominik@sliwa.io |
222882eba238a12cd9b2a5a96cac1b019093a1a0 | c5c2633980fa4629bda09b26f12e2321c6837d12 | /Discrete Math/2 course/Labs/02_semestr/01_subword_search/GSearch4/main.cpp | c81f6276e968289b990a22a964fcfdf3c12f0232 | [] | no_license | DimaPhil/ITMO | bb5dbcc12730cb932ffc6c94bed7e69b71c583e1 | 356a781ae599129f318a469786d34fa088e9dd45 | refs/heads/master | 2021-03-24T14:05:13.915854 | 2017-02-26T12:02:47 | 2017-02-26T12:02:47 | 20,375,933 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,958 | cpp | #include <bits/stdc++.h>
const int alphabet = 30;
struct node {
node *parent, *link, *up;
node *children[alphabet];
node *next[alphabet];
char toParent;
bool isLeaf;
std::vector <int> id;
void cleanNode() {
parent = 0;
link = 0;
up = 0;
for (int i = 0; i < ... | [
"dima239.philippov@gmail.com"
] | dima239.philippov@gmail.com |
b5f8272ffb5fc67470c713950fa0b2adb382e956 | 932f17cb8f225dce669f73d8ce15c46a2fce9f7a | /ScaryMaze/Source/ScaryMaze/Ground.cpp | dbb275a9b9169a0150ff533c9b0c830fbcd30683 | [] | no_license | cop4331-group-14/COP4331-Project | 634960552c30b045d961a1ed86c1999e84f49806 | c3ddd3258703f56cfe39a1aa8dd52031611a5838 | refs/heads/master | 2021-10-26T10:02:16.489285 | 2019-04-11T18:21:08 | 2019-04-11T18:21:08 | 170,191,528 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 492 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Ground.h"
// Constructor. Ground has no properties other than it's mesh.
AGround::AGround()
{
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActorTick.bC... | [
"jamesdwyer1@live.com"
] | jamesdwyer1@live.com |
4ee859788d3a61e42df7bffb4b4185e340cc8bd5 | c4fea8d1653fe862daac5dda6bb7fc67749c4ec4 | /chapter13/ex13_22.h | b2d8843f1de99b8424150d147a00cfa0e907b868 | [] | no_license | zhuanggengzhen/cpp-primer | c2beec0c5f477e016fa9c2024b14811cdf165676 | 5d2f6f9ca83eb239196486c682724addb6750e89 | refs/heads/master | 2021-01-10T01:47:25.242357 | 2015-11-15T10:58:32 | 2015-11-15T10:58:32 | 43,162,407 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 430 | h | #include <string>
class HasPtr
{
public:
HasPtr(const std::string &s = std::string()) : ps(new std::string(s)), i(0) {}
HasPtr(const HasPtr &hp) : ps(new std::string(*(hp.ps))), i(hp.i) { }
HasPtr &operator=(const HasPtr &rhs)
{
std::string *new_ps = new std::string(*rhs.ps);
delete ps;//To avoid memory leaks
... | [
"630153122@qq.com"
] | 630153122@qq.com |
263c2d48eca69bf9078ec2c82bd56276972f97f0 | 28a65d7e2e0c1ff8ba5b008f027f736763f299fc | /engine/modules/scene/terrain/editor/terrain_editor.cpp | dcf4dc6f7cd2086d862623caf54b24bb21ee5a30 | [
"MIT"
] | permissive | jaccen2007/echo | b1837ac97d53a201f6ba926982c8c8a5ba7000fb | f32e94ed22f842f4a0a67f4417f9ca617b970147 | refs/heads/master | 2021-05-21T10:14:41.952721 | 2020-03-30T15:30:16 | 2020-03-30T15:30:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 443 | cpp | #include "terrain_editor.h"
#include "engine/core/editor/editor.h"
namespace Echo
{
#ifdef ECHO_EDITOR_MODE
TerrainEditor::TerrainEditor(Object* object)
: ObjectEditor(object)
{
}
TerrainEditor::~TerrainEditor()
{
}
// get camera2d icon, used for editor
const char* Terrain... | [
"qq79402005@gmail.com"
] | qq79402005@gmail.com |
ffc7c4c5602167f23f51b64624df43e672457b9a | c71c0c5d693bccd4cb64b2282cbedbac25b6e114 | /src/Magnum/SceneGraph/FeatureGroup.h | 9bc76c9b1bb95b0464ce8d45e69bdd00ba600b21 | [
"MIT"
] | permissive | janbajana/magnum | 69287c6d4fc0be577e7b19078406131484f4c53f | 9870cd72c96a3e09d5d79cbcd838bb365f84abc6 | refs/heads/master | 2023-08-23T07:20:47.202851 | 2021-10-24T17:52:08 | 2021-10-24T18:17:34 | 269,671,008 | 1 | 0 | NOASSERTION | 2020-06-05T14:47:21 | 2020-06-05T14:47:20 | null | UTF-8 | C++ | false | false | 7,630 | h | #ifndef Magnum_SceneGraph_FeatureGroup_h
#define Magnum_SceneGraph_FeatureGroup_h
/*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019,
2020, 2021 Vladimír Vondruš <mosra@centrum.cz>
Permission is hereby granted, free of charge, to any pers... | [
"mosra@centrum.cz"
] | mosra@centrum.cz |
ac6fe2623b94911e18a1ce91419063b3aaa22dfd | 1b49df9a4361c57a9e291d13fc85dce8dc349455 | /WH7/作業2/送一收多/server.cpp | cf8616585b4d6ed5428251bab51733fbffb78b4a | [] | no_license | davidchen0970/computer-network | 10cc786afd05ec10b133daa7e3165ba3baeb4c55 | 7ea722dbaa8f4abce56c4cd7eb52289cb2cd1c6b | refs/heads/main | 2023-04-18T17:03:24.815127 | 2021-05-03T02:40:14 | 2021-05-03T02:40:14 | 360,529,326 | 0 | 0 | null | null | null | null | BIG5 | C++ | false | false | 1,457 | cpp | #include<iostream>
#include<winsock.h>
using namespace std;
int main()
{
//------------------------------------------------
//初始化記憶體空間
SOCKET server_socket, client_socket;
WSAData wsadata;
struct sockaddr_in server, client;
char recieve[1024] = {};
char sending[1024] = "I love Algorithm?";
char Ip_Address[10... | [
"apple1051629@gmail.com"
] | apple1051629@gmail.com |
f2e0459c2dd8a6ee22f549c4015dbc89d68fea15 | fec81bfe0453c5646e00c5d69874a71c579a103d | /blazetest/src/utiltest/memory/OperationTest.cpp | fadd76f7a56ab632303f5b7dc0496d71c42e56b4 | [
"BSD-3-Clause"
] | permissive | parsa/blaze | 801b0f619a53f8c07454b80d0a665ac0a3cf561d | 6ce2d5d8951e9b367aad87cc55ac835b054b5964 | refs/heads/master | 2022-09-19T15:46:44.108364 | 2022-07-30T04:47:03 | 2022-07-30T04:47:03 | 105,918,096 | 52 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 11,335 | cpp | //=================================================================================================
/*!
// \file src/utiltest/memory/OperationTest.cpp
// \brief Source file for the memory operation test
//
// Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserved
//
// This file is part of the Blaze library.... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
cab696804c2ef282ac39b8dddf772ecf5d8ece68 | 33035c05aad9bca0b0cefd67529bdd70399a9e04 | /src/boost_mpi_collectives_scan.hpp | 14509c184fc6ec91fa5eac107bceaea6c4d5b364 | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | elvisbugs/BoostForArduino | 7e2427ded5fd030231918524f6a91554085a8e64 | b8c912bf671868e2182aa703ed34076c59acf474 | refs/heads/master | 2023-03-25T13:11:58.527671 | 2021-03-27T02:37:29 | 2021-03-27T02:37:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42 | hpp | #include <boost/mpi/collectives/scan.hpp>
| [
"k@kekyo.net"
] | k@kekyo.net |
6dbd06ab141026ca54aae043c847f084181cb21a | f81124e4a52878ceeb3e4b85afca44431ce68af2 | /re20_2/processor22/constant/polyMesh/boundary | 1ccba1fd10e1cd6ebb917fe5538613b2342b793f | [] | no_license | chaseguy15/coe-of2 | 7f47a72987638e60fd7491ee1310ee6a153a5c10 | dc09e8d5f172489eaa32610e08e1ee7fc665068c | refs/heads/master | 2023-03-29T16:59:14.421456 | 2021-04-06T23:26:52 | 2021-04-06T23:26:52 | 355,040,336 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,187 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"chaseh13@login4.stampede2.tacc.utexas.edu"
] | chaseh13@login4.stampede2.tacc.utexas.edu | |
815a9489ca93ccd7df83bc1e973bdfc287a23663 | f1074252cf5d16c2b166d467cecda5041d3634ff | /PAPER/TESTMBAHRA/main.cpp | 08039ca6fc3562760016fef2e6e4f3f72d39a20e | [] | no_license | asyllh/RESEARCH | a9bcfad391ec3b350a04761cec9c0fe50cc8206e | 5eca9f163b27bf4c027ac39e306b7e0590aacac1 | refs/heads/master | 2021-01-01T15:27:15.615702 | 2018-10-01T14:21:21 | 2018-10-01T14:21:21 | 97,621,687 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 47,692 | cpp | /*--------------
ALH
Fixing bug in mbahra from SCSPP
16/02/2018
---------------*/
#include <iostream>
#include <vector>
#include <algorithm>
#include <iterator>
#include <ctime>
#include <random>
#include <cmath>
using namespace std;
int main(int argc, char **argv) {
//int randseed = atoi(argv[1]);
int instance;
... | [
"asylhawa@rocketmail.com"
] | asylhawa@rocketmail.com |
507d4c6f90f0fc04fee3748536d2e277b4df95bb | f53267d2223a023e1c643a648dd9bed4f1e58c53 | /FT68000/trunk/software/cc64/source/Analyze.cpp | e783fafecb0b6f715a7e87a8953026630c2db4c2 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | robfinch/Cores | 9eec2c88ba7c2495ed5c1bdde9ff1fd82436a6cd | 0015669674bafdc4eff56e816cf714c975536fc3 | refs/heads/master | 2023-07-06T21:07:31.639981 | 2023-06-28T23:05:20 | 2023-06-28T23:05:20 | 13,174,959 | 58 | 27 | null | 2017-08-12T12:03:51 | 2013-09-28T15:03:00 | C++ | UTF-8 | C++ | false | false | 22,341 | cpp | // ============================================================================
// __
// \\__/ o\ (C) 2012-2017 Robert Finch, Waterloo
// \ __ / All rights reserved.
// \/_// robfinch<remove>@finitron.ca
// ||
//
// C64 - 'C' derived language compiler
// - 64 bit CPU
//
// This source... | [
"robfinch@sympatico.ca"
] | robfinch@sympatico.ca |
91f0ebed8c6306550882f5e3fdb34855fed06d41 | dcc54530b7c7b380803029295ffe71585af525b3 | /Handy2D/src/SDLManager.cpp | 087903c2d255c767d45221271dc60775fb9cb5c3 | [
"MIT"
] | permissive | HadaHector/Handy2D | 17683faf0fc62cb9b4bafd3f0fc9b5f65e0e328e | 265b427e02879fef01d1e29338e5049b7dfe5cbe | refs/heads/master | 2020-04-13T08:50:01.931888 | 2020-01-04T12:22:19 | 2020-01-04T12:22:19 | 147,951,469 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,577 | cpp | #include "SDLManager.h"
#include <chrono>
#include <array>
#include <iostream>
#include "RenderLayer.h"
#include "Input.h"
#include "SDL.h"
#include "SDL_image.h"
#include "SDL_ttf.h"
#include "PaintedImage.h"
#include "Texture.h"
#include "Time.h"
#include "CollisionManager.h"
#include "SDL_mixer.h"
//#include "vld.h... | [
"hada.adam@gmail.com"
] | hada.adam@gmail.com |
0388175da9943f03c03df50c21e9a996bb1120c7 | 4a28104787a4ce3bf362fda9182e4f1fe6276c30 | /codeforces Ladders/Level 3/151A.cpp | e82a4a480ab304bed4be7afea47b28a35a23aa74 | [] | no_license | Ason4901/geeksforgeeks | d0538a22db00c86e97ec8b9f6c548ebd1ecef8ce | 777aa4c0752bb0a9b942922e1ad99095a161cc6b | refs/heads/master | 2023-02-24T07:51:15.469015 | 2021-01-30T15:36:20 | 2021-01-30T15:36:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 780 | cpp | //A. Soft Drinking
#include <bits/stdc++.h>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <cstring>
#include <chrono>
#include <complex>
#define endl "\n"
#define vi vector<int>
#define vll vector<ll>
#define vvi vector < vi >
#define pii pair<int,int>
#define pll pair<long long, long long>
#define m... | [
"51023991+abhinavprkash@users.noreply.github.com"
] | 51023991+abhinavprkash@users.noreply.github.com |
149cbd4744e8c3c78866b7b920829ddd19a65d63 | 44289ecb892b6f3df043bab40142cf8530ac2ba4 | /Sources/Elastos/Packages/Apps/Dialer/inc/elastos/droid/dialer/list/CRemoveView.h | a0919b21fafa63e08cd1d8c9156f4df8934a788e | [
"Apache-2.0"
] | permissive | warrenween/Elastos | a6ef68d8fb699fd67234f376b171c1b57235ed02 | 5618eede26d464bdf739f9244344e3e87118d7fe | refs/heads/master | 2021-01-01T04:07:12.833674 | 2017-06-17T15:34:33 | 2017-06-17T15:34:33 | 97,120,576 | 2 | 1 | null | 2017-07-13T12:33:20 | 2017-07-13T12:33:20 | null | UTF-8 | C++ | false | false | 1,232 | h | //=========================================================================
// Copyright (C) 2012 The Elastos Open Source Project
//
// 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
//
// ... | [
"cao.jing@kortide.com"
] | cao.jing@kortide.com |
59db8cdb778dd88c082b57bdb8b1b33e6002b1a8 | 82c4f8be9dd4e38ec7b50d14fbdfd93f5bd878f0 | /champ_config/include/quadruped_description.h | b22fc86b7c8d1fe9c61de7029937017a2c62db5d | [] | permissive | chvmp/champ | 8489c9882f551c3e139201c1ae5932248e866b77 | cf71f39a550798c003376e54c9ab1cc7f8068bd6 | refs/heads/master | 2023-05-12T23:52:46.689934 | 2022-08-15T08:17:43 | 2022-08-15T08:17:43 | 186,157,988 | 1,274 | 308 | BSD-3-Clause | 2023-05-02T14:59:08 | 2019-05-11T16:44:17 | C++ | UTF-8 | C++ | false | false | 1,235 | h | #ifndef QUADRUPED_DESCRIPTION_H
#define QUADRUPED_DESCRIPTION_H
#include <quadruped_base/quadruped_base.h>
namespace champ
{
namespace URDF
{
void loadFromHeader(champ::QuadrupedBase &base)
{
base.lf.hip.setOrigin(0.175, 0.105, 0, 0, 0, 0);
base.lf.upper_leg.setOrigin(0... | [
"jimenojmm@gmail.com"
] | jimenojmm@gmail.com |
b8f6817b969f60a6c4a60f72c51f800094c00398 | 43aa6c8707e4307dd4d41a70cc79c1560bc77fca | /oldskool/fridge_level/kriek.hpp | 57b586eb6247d4e433526ba2fec7d43560b06189 | [] | no_license | IMULMUL/stuffz | 5640ac70f0069042bf58737fd85f051ed42db172 | f5941bac060a8fb4cb66e605000d3bd706875458 | refs/heads/master | 2022-12-22T16:26:48.636866 | 2022-12-18T00:44:39 | 2022-12-18T00:44:39 | 202,901,822 | 0 | 0 | null | 2022-12-18T08:40:00 | 2019-08-17T15:55:00 | C | UTF-8 | C++ | false | false | 313 | hpp | #ifndef KRIEK_HPP
#define KRIEK_HPP
#include "beer.hpp"
class Kriek : public Beer
{
public:
explicit Kriek();
explicit Kriek(char* name);
~Kriek();
std::string get_type();
private:
unsigned int alcohol_percentage;
unsigned int bla;
};
#endif
| [
"0vercl0k@tuxfamily.org"
] | 0vercl0k@tuxfamily.org |
18956c1cf380b7ab64a3b37b20d8657867c24848 | 6fac50aa19020566f2e01595a6a0632a42ba3da3 | /UVA/350.cpp | 7e4e7737d0a29e5046df08ce16547321d1393275 | [] | no_license | sayemimtiaz/competitive-programming | c36905ee99b1cfeb578c2b47367eff901a5e444f | 58ff86e0d3804bd072d733e5fa491d6c192e4345 | refs/heads/master | 2023-01-27T14:47:06.767566 | 2023-01-08T21:50:49 | 2023-01-08T21:50:49 | 36,745,247 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 394 | cpp | #include<stdio.h>
#include<math.h>
int main()
{
long double z,i,m,l,count,p,c,k;
c=1;
while(1)
{
scanf("%Lf %Lf %Lf %Lf",&z,&i,&m,&l);
if(z==0&&i==0&&l==0&&m==0)
break;
count=0;
while(1)
{
p=(z*l)+i;
p=fmodl(p,m);
if(count==0)
k=p;
else if(p==k)
break;
count++;
... | [
"imtiaz.cuet@gmail.com"
] | imtiaz.cuet@gmail.com |
e9d21255f30e45b032aeb2e24a0dfa5b591de7c9 | 00b7e7e932c5b714e6288f13ef0b1e56a471dd93 | /arduino uwu/wave.ino | 90e95bc2bd0e213c41c1d2f9dbbb7d3a1235ed76 | [] | no_license | th3arsene/code | ab26d41a99dcca0cbf27b08fe991893db912fb51 | 6fd6be238d79e879a6ae82e6fdb1b8deb630cfc0 | refs/heads/master | 2020-04-08T19:52:52.250312 | 2018-11-30T14:35:15 | 2018-11-30T14:35:15 | 159,674,703 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 689 | ino | const int rLed1 = 2;
const int rLed2 = 6;
const int rLed3 = 5;
const int rLed4 = 4;
const int rLed5 = 3;
void setup()
{
pinMode(rLed1, OUTPUT);
pinMode(rLed2, OUTPUT);
pinMode(rLed3, OUTPUT);
pinMode(rLed4, OUTPUT);
pinMode(rLed5, OUTPUT);
}
void loop()
{
digit... | [
"noreply@github.com"
] | th3arsene.noreply@github.com |
fc6b39cd24a70d6ae70b3d020f9f89f24f85bcc9 | 062715f71bd2fa347d0591ebc2b6c178cb227a95 | /src/bitcoin-tx.cpp | 32ab8cc28bb4a7b72c02c0902e8e374eabfab352 | [
"MIT"
] | permissive | minblock/vickcoin | 5fad9bb523419689d4dc81f16e7ed597e9509d68 | 21c95da576d321ca9ef6b771255528e10a1d8db6 | refs/heads/master | 2021-05-22T14:35:12.960456 | 2020-04-04T10:12:11 | 2020-04-04T10:12:11 | 252,964,490 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,922 | cpp | // Copyright (c) 2009-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include "config/bitcoin-config.h"
#endif
#include "base58.h"
#include "clientversion.h"
#include... | [
"POSTMASTER@provgn.com"
] | POSTMASTER@provgn.com |
a2a10da23d009cc2b986f7fb0ba8896e7f81d8dc | 62a56825aaf39e8249d55be5ab593cc8b8484f69 | /src/graphics/ShaderProgram.h | 2495e2c1d5a670d6985c2f91472fd6784c4d5f36 | [] | no_license | BenStraubinger/enjen | e48bfd35d2b439d397f9f3424ff805af80a4d5bd | b1960cad0e08ebf466eb11d026ab11cb4936a55a | refs/heads/master | 2020-12-07T21:09:44.743229 | 2016-10-31T14:08:12 | 2016-10-31T14:08:12 | 67,774,259 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 513 | h | #ifndef ENJEN_SHADERPROGRAM_H
#define ENJEN_SHADERPROGRAM_H
#define GLEW_STATIC
#include "GL/glew.h"
#include "SDL.h"
#include "glm/vec2.hpp"
#include "glm/vec3.hpp"
#include <string>
class ShaderProgram
{
public:
ShaderProgram();
~ShaderProgram();
GLuint ID();
bool Loaded();
bool Load( std::string ... | [
"BenStraubingerDev@gmail.com"
] | BenStraubingerDev@gmail.com |
f2b5f592923d6cefc10fb1f6c85bc40e60a3d54c | f5a58a1ad2795535c84ebdad1394e8d9e9f5be28 | /source/linevariables/lv_chi.h | fd48b0ebe8b206ec7a69617cd63b6f63050f1007 | [] | no_license | aquila21/odt20_fistler | 2e8541340a8807e97649e079560db577a10f0755 | 1414629587e4b7fd7b8ca70c1b50259c4825399c | refs/heads/master | 2022-12-07T02:40:07.538929 | 2020-09-01T15:44:49 | 2020-09-01T15:44:49 | 292,041,427 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 958 | h | /**
* @file lv_chi.h
* Header file for class lv_chi
*/
#ifndef LV_CHI_H
#define LV_CHI_H
#include "lv.h"
#include <string>
#include <vector>
class odtline;
using namespace std;
////////////////////////////////////////////////////////////////////////////////
/** Class implementing child lv_chi of parent lv obje... | [
"marco.fistler@gmail.com"
] | marco.fistler@gmail.com |
b1d96c9013c395972fed2d2c97c6a77cb9265e1b | 49ed7092c32168d2abdb127f93f7aaba3c898f64 | /2019-pd2-pacman-master/pacman.h | a439a70801b5820cbb90943ba57181d0d5a765f3 | [] | no_license | Korin777/Programing-Language-Homework | cb4e07cf713fa2281b0b93d38f695dbc2044e5f7 | a9f440162948ee6838785f3acdfcaed365bdc214 | refs/heads/main | 2023-02-20T20:31:53.713452 | 2021-01-14T08:49:04 | 2021-01-14T08:49:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 774 | h | #ifndef PACMAN_H
#define PACMAN_H
#include "movableitem.h"
class Pacman : public movableitem
{
public:
Pacman();
QPixmap pacleft1,pacleft2,pacleft3,pacright1,pacright2,pacright3,pacup1,pacup2,pacup3,pacdown1,pacdown2,pacdown3;
virtual void move();
virtual QRectF boundingRect() const;
... | [
"noreply@github.com"
] | Korin777.noreply@github.com |
2139f8ff29e04ae253dacbe3eabc20240b96a6a8 | 22afbddd2e6add2b51d17d5bfbfe28307b095cb9 | /Source/RTS/Plugins/RTSPlugin/Source/RTSPlugin/Classes/RTSGameState.h | 912811bd04e115e232ef5fb146d94760a810e31c | [
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | jashking/ue4-rts | 9a9cef1f5b65cf001ca39bbfe1bc80efe8fa6e88 | 360f684db4199cefa7bf5376c8844873c1b512e0 | refs/heads/develop | 2021-05-12T18:10:38.440215 | 2019-05-22T02:59:36 | 2019-05-22T02:59:36 | 117,061,553 | 3 | 1 | MIT | 2019-05-22T02:59:37 | 2018-01-11T06:45:39 | C++ | UTF-8 | C++ | false | false | 411 | h | #pragma once
#include "RTSPluginPCH.h"
#include "GameFramework/GameStateBase.h"
#include "RTSGameState.generated.h"
class ARTSTeamInfo;
/**
* Game state with RTS features, such as teams.
*/
UCLASS()
class RTSPLUGIN_API ARTSGameState : public AGameStateBase
{
GENERATED_BODY()
public:
/** Teams of the current m... | [
"dev@npruehs.de"
] | dev@npruehs.de |
06404ef3c68477a3202949769a1e171b803d1909 | bc39fe77f82affcc39cf2a24ad827c13fd471e5f | /cocos2dx/misc_nodes/CCClippingNode.h | a174702b26abf83226cffaaf86e240fca08632ea | [] | no_license | pigpigyyy/Dorothy | c3a11323fe5b0f46f40955074cffbe28d824c0e8 | ac9eeaf84a5abb0b23de741b747e0fb970c78aba | refs/heads/master | 2022-04-29T09:02:48.788574 | 2022-03-03T08:29:04 | 2022-03-03T08:29:04 | 24,334,351 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,522 | h | /*
* cocos2d for iPhone: http://www.cocos2d-iphone.org
* cocos2d-x: http://www.cocos2d-x.org
*
* Copyright (c) 2012 Pierre-David Bélanger
* Copyright (c) 2012 cocos2d-x.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the... | [
"dragon-fly@qq.com"
] | dragon-fly@qq.com |
7fdc73a9092ccfa8f320dfdb78f53991b8840534 | 84f2653e51a756c33e8504edc00e7dfa66e04db7 | /ExosipTestClient/handlesipevents.cpp | 5d56b3c147b0ea5510f668fafbea4dfdf36ab67e | [] | no_license | zhoudd1/ExosipClientAndServer | be915d185313d43091e3b577c8ba974a71325328 | 65c402fd86c0ccb29484bed4768cbbd56980c77b | refs/heads/master | 2020-04-13T07:12:35.422237 | 2018-09-14T02:29:31 | 2018-09-14T02:29:31 | 163,044,091 | 2 | 0 | null | 2018-12-25T03:52:13 | 2018-12-25T03:52:13 | null | UTF-8 | C++ | false | false | 5,104 | cpp | #include "handlesipevents.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <vector>
#include <QDebug>
#include <QSettings>
#include <QFile>
#include <QCoreApplication>
#include <QDateTime>
#include "gbsip.h"
#ifdef WIN32
#include <winsock2.h>
#else
#include <sys/socket.h>
#include <netinet/in.h... | [
"ling.chen@bmi-tech.cn"
] | ling.chen@bmi-tech.cn |
3e93b0a1e6fbe50f0241e8c5241221b52bb9cdbd | cb0201ded1bbbe05d9f98f6d9393c8d17e3c872b | /CppSprtPkg/Include/tr1/array | 6861ce08f259bf06f62341b2e78ad16e4ff91772 | [
"BSD-2-Clause",
"OpenSSL"
] | permissive | mikeniu/uefi-longson | 43999ccae33372f5875680eb43578fa103518cce | d6fba2f83e00125ff0362b4583461958d459fb4b | refs/heads/main | 2023-03-16T23:04:00.293750 | 2021-03-04T03:09:38 | 2021-03-04T03:09:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,801 | // class template array -*- C++ -*-
// Copyright (C) 2004, 2005, 2006, 2007, 2009 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Fr... | [
"lvjianmin@loongson.cn"
] | lvjianmin@loongson.cn | |
f06c828da2dde7137e0019795dca268887d1aa46 | 06b58aaec7037703f360f56a05e62ba0ead7d0d3 | /00-CppHelloWorld/hello.cpp | 903d9685a4a77a196b073b7d4da65079d449c670 | [] | no_license | camilolestani/AED | 8c930b4e818e13af956ef683cd18f571d5ad1ea0 | cf4b83dbf8cb7435dc918ab175514d1989379af0 | refs/heads/main | 2023-04-18T20:50:48.170990 | 2021-05-05T01:02:03 | 2021-05-05T01:02:03 | 357,036,474 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 97 | cpp | /* Hello World
JMS
20130411
*/
#include <iostream>
int main() {
std::cout << "Hello, World!\n";
} | [
"noreply@github.com"
] | camilolestani.noreply@github.com |
f6445eb7304dde6c34c046afb5af2d519aa86274 | 98fee08e9f19521f58855039fd85f9b103239007 | /src/tests/jsoncpptest.cpp | 9815698882a300d4006ece527876e37d4a69c8b0 | [
"MIT"
] | permissive | styac/cxx-json-benchmark | 62463e57715c64ac27a9ed9493e21474868e3dd3 | 2d0d367155982c1d03fbcb328ebb52dbc5e9a9ea | refs/heads/main | 2023-02-13T01:21:43.417930 | 2021-01-12T16:28:40 | 2021-01-12T16:28:40 | 311,129,077 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,319 | cpp | #include <memory>
#include "../test.h"
#include "jsoncpp/src/lib_json/json_reader.cpp"
#include "jsoncpp/src/lib_json/json_value.cpp"
#include "jsoncpp/src/lib_json/json_writer.cpp"
using namespace Json;
static void GenStat(Stat& stat, const Value& v) {
switch (v.type()) {
case arrayValue:
for (Value... | [
"stevens37@gmail.com"
] | stevens37@gmail.com |
ab9f0982ce547da82d73e1b1bed5a09038e1da26 | 76d79c0a95fe22f4397d3b377353346f4ee7f498 | /Led.cpp | 6eaea1071cd473bd8c72245c6800627e96b78a21 | [] | no_license | BeamOfLight/LedClientServer | a1495fb0d64896ecb7f737a84270182c9e107615 | 6fb71cd22c27468942fb54c3d1717965c597969b | refs/heads/master | 2021-01-23T13:29:16.881528 | 2015-09-27T06:41:06 | 2015-09-28T05:40:32 | 42,980,686 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,679 | cpp | #include "Led.h"
Led::Led()
{
state = false;
color = COLOR_RED;
rate = 0;
}
bool Led::getState()
{
return state;
}
std::string Led::getStateText()
{
std::string state_text = "off";
if (getState()) {
state_text = "on";
}
return state_text;
}
void Le... | [
"denis.borisoglebsky@gmail.com"
] | denis.borisoglebsky@gmail.com |
d620b15dcdf6f3d911451f71575aaa3c3c79ea5e | 40fb439ee3b512cb0dc3b06d4a70eb07419c6996 | /bslib/src/bslib/sqlitepp/sqlitepp.cpp | 4a4e2b9aee1749fc9ae0c13e5a4cc76101ff483a | [] | no_license | zsims/af | bcaa8b46f73756e96e148f8b08b723ebaa968b7e | a807d0a2e01db5c92520be172c2cf2f9f21915c3 | refs/heads/master | 2021-05-07T14:23:49.212537 | 2017-02-12T02:50:26 | 2017-02-12T02:50:26 | 109,813,747 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,639 | cpp | #include "bslib/sqlitepp/sqlitepp.hpp"
#include <boost/format.hpp>
#include <string>
namespace af {
namespace bslib {
namespace sqlitepp {
void open_database_or_throw(const char* filename, sqlite3** ppDb, int flags)
{
const auto result = sqlite3_open_v2(filename, ppDb, flags, 0);
if (result != SQLITE_OK)
{
th... | [
"zac.sims@gmail.com"
] | zac.sims@gmail.com |
1efae9ba4201a6b7dd8d074ae15b029dd73bff61 | e6581e760f20a75a0c2135e10f9bf2d0b1dabd37 | /Code Framework/Actions/SELECT.h | ff5f8d18bd121dd8327f2664c2155f9910b5b17e | [] | no_license | tokaalokda/LogicSimulator | 74f4d86c3381e600e00a19e9d05b0edcb26ea3d9 | 6093d6d242801c0f8764b5c16889e0b9c12a153e | refs/heads/main | 2023-04-06T09:37:37.428674 | 2023-03-21T09:19:43 | 2023-03-21T09:19:43 | 321,353,472 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 337 | h | #ifndef _SELECT
#define _SELECT
#include "action.h"
#include "..\Components\Component.h"
class Select : public Action
{
private:
int Cx, Cy;
public:
Select(ApplicationManager* pApp, int x, int y);
virtual ~Select(void);
//Execute action (code depends on action type)
virtual void Execute();
... | [
"noreply@github.com"
] | tokaalokda.noreply@github.com |
1b4c00bc6ee5ee4e8ee04a5249652bbdd29329d4 | 6fb28da8006f73cc27b926816062bdbf4126721f | /Source/ReBots/GameModes/StarCellGameMode.cpp | 819cd404a881b5db4642e3cc1c96ad82962e92c4 | [] | no_license | USC-PRL/ReMod3D | ebaa956baf5f2246e6b30230644b1245748b83fe | f146449b812402280c29c0ddf3f8f0ca0f4a89f2 | refs/heads/master | 2020-03-18T01:46:00.738356 | 2019-06-17T02:15:01 | 2019-06-17T02:15:01 | 134,158,722 | 7 | 2 | null | 2019-06-17T02:15:02 | 2018-05-20T14:42:40 | C++ | UTF-8 | C++ | false | false | 29,894 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "StarCellGameMode.h"
#include "PhysXPublic.h"
//#pragma mark -
//#pragma Superbot Docking
/**
* @brief get corrective docking transform
* @param d1 dock 1
* @param d2 dock 2
* @return corrective trnasform
*/
FTransform A... | [
"weiminshen99@gmail.com"
] | weiminshen99@gmail.com |
0d8b27d26c68fef974fdd0615d3241643de26a54 | 1157c7dd6976ff670de2e0939ffd4d04d9de04ce | /LEX/lexMain.cpp | 5a2c2e6eb84b30111f81a39d36b3bad4cea8a2b2 | [
"MIT"
] | permissive | lpuls/UnU | 570a71e9649b54daa5e8b10c17664aaefeb5bbde | 0d8b4b5200cff68795dd8e961e56f12ea7c7ea7f | refs/heads/master | 2021-01-22T10:56:56.360126 | 2017-02-22T11:46:37 | 2017-02-22T11:46:37 | 56,965,247 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 46,395 | cpp | #line 2 "lexMain.cpp"
#line 4 "lexMain.cpp"
#define YY_INT_ALIGNED short int
/* A lexical scanner generated by flex */
#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION 2
#define YY_FLEX_MINOR_VERSION 5
#define YY_FLEX_SUBMINOR_VERSION 35
#if YY_FLEX_SUBMINOR_VERSION > 0
#define FLEX_BETA
#endif
/* First, we dea... | [
"linepuls@gmail.com"
] | linepuls@gmail.com |
024d2587c96421ca699921c9e2d1ab1c7e8cadbf | 34b22618cc53750a239ee7d3c98314d8e9b19093 | /framework/samples/cctrlhelloworld/src/main.cpp | 7b05a2da73a206f81015875f14d88aa70dbd80b4 | [] | no_license | ivan-kits/cframework | 7beef16da89fb4f9559c0611863d05ac3de25abd | 30015ddf1e5adccd138a2988455fe8010d1d9f50 | refs/heads/master | 2023-06-12T05:09:30.355989 | 2021-07-04T09:00:00 | 2021-07-04T09:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 170 | cpp | //#include <vld.h>
#include "cctrlhelloworld/TestApp.h"
int main()
{
CTest::TestApp::GetInstance().Start();
CTest::TestApp::DestroyInstance();
return 0;
}
| [
"dev@oeing.eu"
] | dev@oeing.eu |
7a9eed7274efa81ae3983d93e32376227a160e33 | 238e46a903cf7fac4f83fa8681094bf3c417d22d | /Code/GraphicsAnalyse/CTK/Libs/Widgets/ctkProxyStyle.h | 34a97b7d2a32e8e3ee7ff2e91fc9e5c61e4f9c2c | [
"BSD-3-Clause"
] | permissive | baojunli/FastCAE | da1277f90e584084d461590a3699b941d8c4030b | a3f99f6402da564df87fcef30674ce5f44379962 | refs/heads/master | 2023-02-25T20:25:31.815729 | 2021-02-01T03:17:33 | 2021-02-01T03:17:33 | 268,390,180 | 1 | 0 | BSD-3-Clause | 2020-06-01T00:39:31 | 2020-06-01T00:39:31 | null | UTF-8 | C++ | false | false | 4,070 | h | /*=========================================================================
Library: CTK
Copyright (c) Kitware 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
htt... | [
"l”ibaojunqd@foxmail.com“"
] | l”ibaojunqd@foxmail.com“ |
8ad026d46e57b0e4f24d897efea67e494c19fc22 | 858a7bc54ae3df781ac54585baac81439cf4cfba | /include/MeasurementModel.hpp | 69ae19faa36e73f28ace00915a12c009f907b1ec | [
"BSD-3-Clause"
] | permissive | sebdi/RFS-SLAM | fedd21494ed4b2c75a2a98dc01bbf875a7133100 | 80fd086a36a8323548abdc652c07e85df0736391 | refs/heads/master | 2021-01-23T21:22:58.416892 | 2014-11-03T20:56:59 | 2014-11-03T20:56:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,266 | hpp | /*
* Software License Agreement (New BSD License)
*
* Copyright (c) 2013, Keith Leung, Felipe Inostroza
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source c... | [
"kykleung@gmail.com"
] | kykleung@gmail.com |
dea291f5f9a858ede759ae81ba12d9fe0941d8fb | e232be5c6831bc7d6ab4f1939010f30d5959015a | /suif/include/suif1/tree_string_index.h | 06179a8f68052396724d37d76a780ebc301600f5 | [
"LicenseRef-scancode-proprietary-license",
"BSD-3-Clause"
] | permissive | lottaquestions/taskgraph-metaprogramming | 9a8f1a3d9e65d56b2d0c426479df5f8c52c87d53 | 54c4e2806a97bec555a90784ab4cf0880660bf89 | refs/heads/master | 2023-08-29T10:56:06.099505 | 2020-04-14T21:09:28 | 2020-04-14T21:09:28 | 681,137,540 | 0 | 0 | BSD-3-Clause | 2023-08-21T10:54:05 | 2023-08-21T10:54:02 | null | UTF-8 | C++ | false | false | 2,691 | h | /* file "tree_string_index.h" */
/* Copyright (c) 1995 Stanford University
All rights reserved.
This software is provided under the terms described in
the "suif_copyright.h" include file. */
#include <suif_copyright.h>
#ifndef TREE_STRING_INDEX_H
#define TREE_STRING_INDEX_H
#pragma interface
RCS_HEA... | [
"p.kelly@imperial.ac.uk"
] | p.kelly@imperial.ac.uk |
77ed15b5f5343bb0b376ec378d461fb2d0997487 | 230daca075b260db4c55ea40bb67833139931dca | /src/net/ssl/ssl_platform_key_chromecast.cc | 4aa0a1402e5592e16f8a51e13002aa33ff6b5e0d | [
"BSD-3-Clause"
] | permissive | bopopescu/quic-inverse-multiplex | 81e023f5124a6da68512f3ea453b8ee47cfe5d6b | aff7985020bb2a094626bf427a99b3b8d43eb1af | refs/heads/master | 2022-11-21T13:08:35.034526 | 2016-12-16T01:58:06 | 2016-12-16T01:58:06 | 282,431,161 | 0 | 0 | null | 2020-07-25T11:34:57 | 2020-07-25T11:34:56 | null | UTF-8 | C++ | false | false | 4,250 | cc | // Copyright 2016 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 <keyhi.h>
#include <pk11pub.h>
#include <prerror.h>
#include "base/logging.h"
#include "base/macros.h"
#include "base/memory/ptr_util.h"
#includ... | [
"briantruong777@gmail.com"
] | briantruong777@gmail.com |
1665f9bc20a9b2b6e4a9341cbe49089baa352f95 | 9beeeda1d7d800bae53cd0751668d6aad0c2a52c | /main.cpp | 369db8c9e9341d8eddaba90195cc450296b32b30 | [] | no_license | JonBrodziak/MAS-1 | c566953ed3f59fe171efc12eba3e2797f4bfe469 | a215b840986ee6e1c0231369f19f0d8c84050681 | refs/heads/master | 2022-11-26T18:24:29.191204 | 2020-07-29T20:16:05 | 2020-07-29T20:16:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,520 | cpp | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: main.cpp
* Author: matthewsupernaw
*
* Created on September 14, 2016, 9:57 AM
*/
#include <cstdlib>
#include <ios... | [
"mattadmin@SECML4425558.local"
] | mattadmin@SECML4425558.local |
d5b97258315d30700fbce677f3a8920886a6ed7e | 999909dea40af0132435e195309650d5a5b0047f | /src/Input/PointerState.h | e27c3e14ce1c5900c5c5134d33264c5569914f38 | [] | no_license | gvnq/Conception | 484b40ad595a373497b0e6d0cec8b48af02be7a6 | 781986cb8985300565a14bf80f496c7db907877d | refs/heads/master | 2020-12-11T08:01:25.973509 | 2013-04-06T05:53:39 | 2013-04-06T05:53:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,012 | h | #pragma once
#ifndef __PointerState_H__
#define __PointerState_H__
class PointerState
{
private:
double m_Timestamp;
std::vector<bool> m_ButtonStates; // True means pressed
std::vector<Input::AxisState> m_AxisStates;
public:
PointerState();
~PointerState();
decltype(m_Timestamp) GetTimestamp() co... | [
"shurcooL@gmail.com"
] | shurcooL@gmail.com |
5a789c92306f443973ef3d77f0f67c724cb2c8e7 | e6adab24de03f902351d1743a0aa60ae332c1195 | /rahul_6.cpp | c042261d806bc07e85a33a3e584222485763336f | [] | no_license | shadab16/Learning-CPP | 66de972177e10ba5c03098a864782b96e0ea83e7 | 6504be6e5bc3a1cf2d257ef2ccd0163264d4ee4e | refs/heads/master | 2020-06-15T04:34:32.664737 | 2013-04-02T16:37:00 | 2013-04-02T16:37:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 179 | cpp | #include <iostream>
using namespace std;
class A {
public:
A(int a) {
cout << "Value passed: " << a << endl;
}
};
int main() {
A rahul = 65;
return 0;
}
| [
"shadab@geekpoint.net"
] | shadab@geekpoint.net |
07b115d61e7a064ce6c065c9e49c47437b808f83 | 79b95d1a5c0cd5e00ba8ebd943f0167bbda66ba2 | /Group C/4.1_4.2/4.2_Drive_Robot_Until_ultra_with_LED/drive_until_ultrasonic_with_response/drive_until_ultrasonic_with_response.ino | 8a361402f507bddac3ea16f836952a159bd97b8f | [] | no_license | FRCTeam1073-TheForceTeam/RookiePreseason2014 | 76c31cc382461034d2622ee7a75e49b4e86904f9 | ae9fe1d5a26b6c511c9499ee907af053a162234f | refs/heads/master | 2016-09-06T09:00:10.988970 | 2014-11-20T01:33:45 | 2014-11-20T01:33:45 | 21,775,486 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,153 | ino | /* Software 1073 Example Program
Written and debugged for use on the Arduino boebot platform
last updated: 8/16/14
Program: Drive the robot forward until the ultrasonic sensor sees a wall
*/
#include <Servo.h>
#include <NewPing.h>
//Ultrasonic Definitions using the Newping library
#define TRIGGER_PIN 12 // Arduino... | [
"technoD@outlook.com"
] | technoD@outlook.com |
8cae8f61219c0210dcede6102c46bd59f6cb5123 | 961d97d4b6bbcbf0b64e4f55d9f936eca69a05f9 | /include/Container/attributeContainer.h | 2f5f8f3cddaafd402af9ddf3364752935729a65c | [] | no_license | cgogn/Mesher | 9b754d241f8b3319a2874e2f75e790376b521ed6 | a1f16d3f71a2a1fc19784945fc67e6086ab46a94 | refs/heads/master | 2020-12-24T15:49:18.957952 | 2014-04-04T11:20:55 | 2014-04-04T11:20:55 | 16,103,227 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,662 | h | /*******************************************************************************
* CGoGN: Combinatorial and Geometric modeling with Generic N-dimensional Maps *
* version 0.1 *
* Copyright (C) 2009-2012, IGG Team, LSIIT, University of Strasbourg ... | [
"thery@unistra.fr"
] | thery@unistra.fr |
42aad09954a6f1efc5578f1ffb348a1434136eda | 25f51364a26bd4fc606ef982f33e324737d244dd | /Source/Scapegorc/ScapegorcGameMode.h | d0e7f82c1b7b9415613f6639cd8070db331ef023 | [] | no_license | flanmi/Scapegorc | ce5eb7bdc73751685ef20f454de772a2d13a8a01 | a53550df81d95867f2ebbff0b8a74c83154a4184 | refs/heads/master | 2020-05-28T09:40:29.482272 | 2017-02-21T18:07:51 | 2017-02-21T18:07:51 | 82,586,240 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 282 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "GameFramework/GameMode.h"
#include "ScapegorcGameMode.generated.h"
/**
*
*/
UCLASS()
class SCAPEGORC_API AScapegorcGameMode : public AGameMode
{
GENERATED_BODY()
};
| [
"flanmi@gmail.com"
] | flanmi@gmail.com |
ad9bb48e21e82ab864c235e2bf35b19abf1c50de | f6703d3ade2f7c218bc2c9174fb61dec70fd0f9e | /00_RTL_Design/Source/Filter_Test/Filter_Test_Verilog/Float_Adder/Float_Adder_CPP/float_adder.cpp | ec9d92c3e6ee0bc0074d436e5d20b879f74a9a5c | [] | no_license | thomaswang525/khu_sensor | 5083c2981c824cbcf11e9605ca34965af39693ab | eaa44af01d0d040cb10294a70a0c2bf330ed8c25 | refs/heads/master | 2023-04-16T10:45:26.741144 | 2020-11-21T11:23:24 | 2020-11-21T11:23:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 297 | cpp | //
// Created by jin on 4/2/20.
//
#include <iostream>
int main(){
float f = 1.0;
unsigned int a, b, i;
while(1){
std::cin >> a;
std::cin >> b;
f = *(float*)&a + *(float*)&b;
i = *(int*)&f;
std::cout << i << std::endl;
}
return 0;
}
| [
"wjdwls0630@gmail.com"
] | wjdwls0630@gmail.com |
47d7112b6f990807c1cc23e4990f89e605d36972 | 9177fe8ba12b31584b605df93495708bed0dfa37 | /Source/onward/Public/onwardTestItem.h | 07755baabddaf2eaffdfd965b9fbaaa90d0a23c8 | [] | no_license | icannotfly/onward | 5ff7f9ae50edd2cbc5dd41afb3668c39ed89c0c8 | c1d4cb0584985c20367b8c3bdd1e2e14bbc79cf0 | refs/heads/master | 2018-03-09T01:33:40.454037 | 2016-11-03T01:17:06 | 2016-11-03T01:17:06 | 55,205,228 | 0 | 0 | null | 2016-11-03T01:17:06 | 2016-04-01T05:07:45 | C++ | UTF-8 | C++ | false | false | 1,845 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "onwardUsableActor.h"
#include "onwardTestItem.generated.h"
UCLASS()
class ONWARD_API AonwardTestItem : public AonwardUsableActor
{
GENERATED_BODY()
AonwardTestItem(const class FObjectInitializer& ObjectInitial... | [
"icannotfly@icannotfly.net"
] | icannotfly@icannotfly.net |
9a586d765dfbdd8256a6a178f9c9b14e13583baf | 627e8ff9a43076931c5bfbde739191d3b6915e68 | /avt/Pipeline/Data/avtDataValidity.h | 496f3e06187b4789adf18fb888601c7ea2ea39d0 | [] | no_license | visit-vis/VisIt29RC_Trunk | 3db3aed5aefe26b8ce11cbf9050d410626bb6e17 | 13d7d392b8a2d47e925b472d2582e51393e6b0ea | refs/heads/master | 2021-01-10T19:48:28.778844 | 2015-07-01T05:44:04 | 2015-07-01T05:44:04 | 33,211,571 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,814 | h | /*****************************************************************************
*
* Copyright (c) 2000 - 2015, Lawrence Livermore National Security, LLC
* Produced at the Lawrence Livermore National Laboratory
* LLNL-CODE-442911
* All rights reserved.
*
* This file is part of VisIt. For details, see https://visit.llnl... | [
"brugger@18c085ea-50e0-402c-830e-de6fd14e8384"
] | brugger@18c085ea-50e0-402c-830e-de6fd14e8384 |
e098071654a526bb630c0c179ab540ce32fc708d | 4000e7fc82df36d483db739db5714ab144d8a5b2 | /DOTplatformio/packages/framework-arduinopsoc5/cores/CY8CKIT-059-SpeeduinoWBO2/Arduino_TimerCounters.cpp | 4db6116323e47f35fa775d5ba57ac00ea35c20e5 | [] | no_license | J-f-Jensen/PSOC5 | db25f742be4ed95f41d8bf5a679f6335042cf040 | d99e58413b8fbd5f772649497b402754f93f1c77 | refs/heads/master | 2021-05-02T09:15:01.170635 | 2018-02-08T22:38:45 | 2018-02-08T22:38:45 | 120,818,692 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 325 | cpp | /*******************************************************
* This file includes timers and counters needed for Speeduino
* but can be used for other Arduino PSOC5 projects if you find
* it use full
*
******************************************************/
#include "Arduino_TimerCounters.h"
/* [] END OF FILE */
... | [
"jens@2stroke4fun.dk"
] | jens@2stroke4fun.dk |
d979963391651814bc39ba3c59afb58373c108ec | 0e53a42e9bc27b8353a04b4121d63dc61b615ec8 | /src/InstrumentationEngine.Lib/ConfigurationLocator.h | 2433421ef9da22b0328e4b7624fe3d4393761b7f | [
"LicenseRef-scancode-generic-cla",
"MIT"
] | permissive | microsoft/CLRInstrumentationEngine | 2b899b981323e7c96a3a7b50f370314370d78a3c | 8f085c2c18d82577c94e2425bd58f0e301603e3a | refs/heads/main | 2023-08-26T07:38:19.043373 | 2023-04-20T16:44:34 | 2023-04-20T16:44:34 | 144,217,162 | 86 | 49 | NOASSERTION | 2023-09-06T11:36:07 | 2018-08-10T00:31:22 | C++ | UTF-8 | C++ | false | false | 2,275 | h | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
#include "ConfigurationSource.h"
namespace MicrosoftInstrumentationEngine
{
class CConfigurationLocator final
{
typedef std::vector<CComPtr<CConfigurationSource>> SourceVector;
private:
... | [
"noreply@github.com"
] | microsoft.noreply@github.com |
b069692477c04b472fb266a24b25d4f3724f87f3 | df147b59a8c55bde3eab1bf4dd729d07683d0f87 | /Desktop/redes/exer5/exer5.ino | a60205ce341868402cab4ee7c65f3c324226853e | [] | no_license | andriov/lab9WirelessNetwork | 5847929dc6f5ba2ac766ac43971ee2474c98d798 | 22de86736287eb043c5bb84a8b1a2b9d378a2c4e | refs/heads/master | 2020-05-18T14:53:01.470504 | 2019-05-01T21:14:23 | 2019-05-01T21:14:23 | 184,481,915 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 936 | ino | #include <ESP8266WiFi.h>
#include <DHT.h>
/*** Sensor model ***/
#define DHTTYPE DHT11 //’DHT21, DHT22’
/*** Pin GPIO2***/
#define DHTPIN 2 // GPIO2
DHT dht(DHTPIN, DHTTYPE, 27); // ’DHT11 works fine for ESP8266 threshold => MHZ CPU’
/*** Variables for Humidity and Temperature ***/
float temperature; // ’double’
flo... | [
"rvandres001@gmail.com"
] | rvandres001@gmail.com |
a5778071e897a20f2533500f64b9939758d140f9 | fa800a1cea9ae09e49f61a05343acc02e9b79a57 | /GAME2005_A2_LeTrung_ShuDeng/src/main.cpp | de38cb12221442ede6d1765745d8dd0538edbd31 | [] | no_license | KojimaMcMaple/GAME_2005_GAME-PHYSICS | b8c547b5faeb85b012876ef141cb1db64dc0bce9 | fda17a895b0082a77c833b9330b522b56725c53a | refs/heads/master | 2023-02-02T16:48:49.382055 | 2020-12-20T04:12:44 | 2020-12-20T04:12:44 | 297,480,492 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 811 | cpp | // Core Libraries
#include <crtdbg.h>
#include <iostream>
#include <Windows.h>
#include "Game.h"
const int FPS = 60;
const int DELAY_TIME = 1000.0f / FPS;
int main(int argc, char * args[])
{
Uint32 frameStart, frameTime;
UINT32 frames = 0;
// show console
AllocConsole();
freopen("CON", "w", stdout);
TheGam... | [
"dengshu9127@gmail.com"
] | dengshu9127@gmail.com |
f8e8b1814894ab0998ff9818fbbf04f162b148e9 | 9a94e85ef2820d626cd76123b9aa49190c991003 | /HSPF_MRO_ANDR/build/iOS/Preview/include/Uno.Net.Sockets.ProtocolType.h | 932d0025fae46d1505164192f4df6181f6d645ae | [] | no_license | jaypk-104/FUSE | 448db1717a29052f7b551390322a6167dfea34cd | 0464afa07998eea8de081526a9337bd9af42dcf3 | refs/heads/master | 2023-03-13T14:32:43.855977 | 2021-03-18T01:57:10 | 2021-03-18T01:57:10 | 348,617,284 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 360 | h | // This file was generated based on /usr/local/share/uno/Packages/Uno.Net.Sockets/1.12.0/Socket.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Int.h>
namespace g{
namespace Uno{
namespace Net{
namespace Sockets{
// public enum ProtocolType
uEnumType* ProtocolType_ty... | [
"sommelier0052@gmail.com"
] | sommelier0052@gmail.com |
44ad303095853ed8141e9e517c32aee4cfeedc13 | e71cf8bc0077df065f7778d19a3be85e4a894776 | /one.cpp | e6a2629d9ccbebe7b2ac46f184d389366233159b | [] | no_license | NishantRaj/program_files | c33ac91523a65dc6a1af7cdc35e6c18e969b10f3 | 934a9f1dcdbc2851c50f36e0f33c4e08d214e2e7 | refs/heads/master | 2021-01-21T04:54:46.691639 | 2019-05-11T09:22:25 | 2019-05-11T09:22:25 | 39,347,684 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 741 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pii pair < int , int >
#define pb push_back
#define mp make_pair
#define mod 1000000009
int total = 0;
int calc(int a[] , int n){
int res = 0;
for(int i = 0 , j = n-1 ; i< n/2 ;j--, i++)
res += abs(a[i] - a[j]);
return res;
}
void ans(int a... | [
"raj.nishant360@gmail.com"
] | raj.nishant360@gmail.com |
a5388ddbc02a426d3da2975bf5e943b7854acde0 | 1d32130b0ce06d8e86da638051894c3c2258ecb3 | /d1 t20.cpp | 0c4e30ed3e75b302ab142175d2725eaedf023a1b | [] | no_license | anzeder/practice | d046ec4450389ad5a55689a0e5345abf5741a29b | abc4295420810ea9ab7619f00c774f4fc99b807a | refs/heads/master | 2023-01-04T05:58:24.622271 | 2020-10-28T08:12:20 | 2020-10-28T08:12:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 138 | cpp | #include <iostream>
#include <cmath>
using namespace std;
int main(){
double a,b;
cin>>a>>b;
cout<<(b*1000)/(a*60)<<endl;
return 0;
}
| [
"noreply@github.com"
] | anzeder.noreply@github.com |
b0f9728d76b076d099577fac0d4a874f11e7fe7f | b9ebace50f2239fe93a18075df8b59214c342d07 | /6WrTgaizMC7mUR4H/r6KVfUc2BF4C5Rmd.cpp | 917fd3120832baab95c9fce05c96ab927e5e5f26 | [] | no_license | urlib/XPdDzM | e70162a11f8b59930155765ae4e69efe263edc8f | e5e829694236072a1afcc3e7ff1d16782a45fa5b | refs/heads/master | 2023-01-07T17:49:53.837357 | 2020-04-15T04:52:27 | 2020-04-15T04:52:27 | 252,056,961 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 26,989 | cpp | 騎𘎻𦆈𥚸𨿟衯𬏊𠙠ᩐ🙡쬃𠎗傡줔𪆇𦦥𣮶샵ꈓ𠮽𭾘𗰥𫧍𥻛𭪮萢䛷培🦀ꑗ𦩫狊𖢢뫀𭖮㥥𐅂𩀩𧥘儽긚鐃𝕊톩𩜩づ螀浑凉𤝖𗾠恘ᇟ𩺀𠞯𠥩姪𗚭䟾𛈾৭ꆗ𝙉𤭰ﺩ𡬩큆𤠄皦𫪴𭾗癘鸴큿吠𧂦貌𫁂泈礎䔷𭯝쓹炄𗰋𮔤𧆀츳𨡰𧹋슖𨵛𩵚𦕐𫳵抠𝦄𡷺𣖰𨍴𣶪ꢌ𑒩𞥃𡨕𢜭䞱鐈𭋲𢌾𮓢𫦴禶𫠾𥍢𠑠𩜑𤜶ɲ⦭𮬡𤏠𥮖檗𪆣𧀾簶𩍎Ɵ𪓉𪣶镤𥴟𑲗ꖌɥ𒑣𒅌贁𪵉ᛙ腾帅헃𒓶𣊸ꐕ𠈸𥞣𡘂穭쟌𐡛𧨜괭𨄵𤵧𥲽𔕊屵𫒛𩕪𤵅𤈞ਦ⯫𛁻𔗅𗘣𐴐𮡮턗𧉠𠥺귟珈𫾳𢜏덅𗶂㩶亲嶥𮏁𪾘𦝶𭂤𥨻㟖𑦵𤖒ﰓ䶈롄𨙘𦌯繻𖨰ᚢ𣘂𩫺... | [
"45290401+vmlankub@users.noreply.github.com"
] | 45290401+vmlankub@users.noreply.github.com |
1dae7a8213df6d472497f92547b72534e3b8a7ff | 26fa27876e7ec3853b0cb53c41bd07633f2f757d | /cpp.c++17/bind/bind.cpp | 8e9b27fa4877abfe7befe64426fab894a82de003 | [] | no_license | gabi3721/code | 9d70bff91a1068ed33c300809ea4283a03e25d33 | 8776ab62096002c75f5820f8e06c6298960ca831 | refs/heads/master | 2022-11-28T13:01:43.995968 | 2020-08-03T15:38:41 | 2020-08-03T15:38:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 683 | cpp | #include <random>
#include <functional>
#include <iostream>
using namespace std;
void f(int n1, int n2, int n3, int const& n4, int n5)
{
cout << n1 << ' ' << n2 << ' ' << n3 << ' '
<< n4 << ' ' << n5 << '\n';
}
int g(int n1)
{
return n1;
}
int main(int argc, char const* argv[])
{
using namespace std::p... | [
"yielding@gmail.com"
] | yielding@gmail.com |
f8fc667ddefda1ca604ca7e5f8da7cd2ae706b67 | 620ced74bccba847a8d824e7ae67b6c29f5bbf85 | /Configuration/analysis/common/src/KinematicReconstruction_LSroutines.cc | 0bd21195bd5c5805a102e09d756db6462a861a6d | [] | no_license | muell149/TopAnalysis | 3327eed360d18108fda3eb5a135b729ecbfcbfef | 78ba2318d106b24367e96740f00feacadcf17331 | refs/heads/master | 2021-01-13T01:40:14.551811 | 2014-05-06T15:42:32 | 2014-05-06T15:42:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39,873 | cc |
#include <iostream>
#include <stdio.h>
#include <vector>
#include <TAttLine.h>
#include <TLorentzVector.h>
#include <TF2.h>
#include <TH1.h>
#include <TFile.h>
#include "KinematicReconstruction_LSroutines.h"
#include "classesFwd.h"
#define printout 0
using namespace std;
KinematicReconstruction_LSroutines::Kinema... | [
"johauk@desy-cms012.desy.de"
] | johauk@desy-cms012.desy.de |
59fb2190673cffad3464ca59f8b1ded700923353 | ceeddddcf3e99e909c4af5ff2b9fad4a8ecaeb2a | /tags/release-1.1/source/Irrlicht/CCSMLoader.cpp | f8fa3f9d28ab29ad6c4b6e84f472cb564f13b48b | [
"Zlib",
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jivibounty/irrlicht | d9d6993bd0aee00dce2397a887b7f547ade74fbb | c5c80cde40b6d14fe5661440638d36a16b41d7ab | refs/heads/master | 2021-01-18T02:56:08.844268 | 2015-07-21T08:02:25 | 2015-07-21T08:02:25 | 39,405,895 | 0 | 0 | null | 2015-07-20T20:07:06 | 2015-07-20T20:07:06 | null | UTF-8 | C++ | false | false | 18,458 | cpp | // Copyright (C) 2002-2006 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
//
// This file was written by Saurav Mohapatra and modified by Nikolaus Gebhardt.
// See CCSMLoader.h for details.
#include "CCSMLoader.h"
#... | [
"hybrid@dfc29bdd-3216-0410-991c-e03cc46cb475"
] | hybrid@dfc29bdd-3216-0410-991c-e03cc46cb475 |
51aafa0b527a224a892bd8f11ed21e7594715266 | cbefd47058e3eab94d7fb502c69c2451875b5fc3 | /DesktopSprite/Scripts/SpriteAction.cpp | b63e98b1ecfcb61fbd6d72065ead9c7c137cea2f | [] | no_license | lineCode/WindowsSprite | b4615527c637d7f566794f38819a0c503a781536 | 498790a3049a024b541a6ef40107a26ae9b55bfa | refs/heads/master | 2020-03-27T19:12:46.248005 | 2018-07-29T12:10:59 | 2018-07-29T12:10:59 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,047 | cpp |
#include "SpriteAction.h"
namespace Sprite {
SpriteAction::SpriteAction(ID2D1Bitmap* images[], int length, float delay, bool reverse = false)
{
currentIndex = 0;
// 数组长度
this->length = length;
this->images = new ID2D1Bitmap*[length];
for (int i = 0; i < length; i++)
{
this->images[i] = images[i];
}... | [
"zhanghuachang.com@outlook.com"
] | zhanghuachang.com@outlook.com |
d73841ca633b36613541971c75b61878774843d4 | 4cc4d9d488939dde56fda368faf58d8564047673 | /system/chre/core/sensor_request.cc | 0d6ddc30834dd475c99cf50946763c87e6da916f | [] | no_license | Tosotada/android-8.0.0_r4 | 24b3e4590c9c0b6c19f06127a61320061e527685 | 7b2a348b53815c068a960fe7243b9dc9ba144fa6 | refs/heads/master | 2020-04-01T11:39:03.926512 | 2017-08-28T16:26:25 | 2017-08-28T16:26:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,434 | cc | /*
* Copyright (C) 2016 The Android Open Source Project
*
* 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 app... | [
"xdtianyu@gmail.com"
] | xdtianyu@gmail.com |
507e96ffec873975c9f28f747a4b7cc94b5a6aa7 | 9c7c1541194bc2d559eb6f7cb8613afbb501fb7c | /final/B0KstMuMu2/plugins/RooBernsteinEffiDictionary.h | 5a1fccaa40782eac4d1cf59625c8eef66f455807 | [] | no_license | lixfrank/qinxl | 885ca08c6cc84de45c507a07b4c80e1e21a037e4 | e2b5d9ea92f58f15ce88c60f2c6980d635399a3c | refs/heads/master | 2020-07-13T00:01:12.393128 | 2019-08-28T13:40:47 | 2019-08-28T13:40:47 | 204,940,674 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,575 | h | /********************************************************************
* RooBernsteinEffiDictionary.h
* CAUTION: DON'T CHANGE THIS FILE. THIS FILE IS AUTOMATICALLY GENERATED
* FROM HEADER FILES LISTED IN G__setup_cpp_environmentXXX().
* CHANGE THOSE HEADER FILES AND REGENERATE THIS FILE.
**************... | [
"li.linwei@cern.ch"
] | li.linwei@cern.ch |
7c49f7a648bc293d4ac2470f2aa79ce8971f7a9e | 38effee0814e5b77c44fa38992b9cb55f6e0f841 | /Submission-by-Uva-etc/volume102/UVA Q10209.cpp | dace9fa3c992236fcaa899d8a0baa2ef99813cc0 | [] | no_license | 89snnfk561/Online-Judge-Submissions | 2168df54ed3b755ae24d0cacf61efce9e6b73bc9 | 670752bb71a36ca184e18795a7e7d3ad235b4d75 | refs/heads/main | 2023-08-04T01:53:19.128449 | 2021-09-30T03:14:36 | 2021-09-30T03:14:36 | 410,538,143 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 342 | cpp | #include <iostream>
#include <iomanip>
#include <cmath>
using namespace std;
int main (){
double a;
double x, y, z;
cin >> a;
x = a*a - 4*(a*a*2.0*acos(0.0)/12 - (a*a*2.0*acos(0.0)/6 - a*a*sqrt(3.0)/4.0));
y = 4*(a*a*2.0*acos(0.0)/4 - a*a/2) - 2*x;
z = a*a - x - y;
cout << fixed << setprecision(3) << x <<" "<< y... | [
"kenny89002006@gmail.com"
] | kenny89002006@gmail.com |
9d2afacfcbd3aabec548cdd5bd01c7e6ffe9985b | d08af04bf2c406f6083e0dd2e99591871136fc79 | /Teaching Labs/Lab4/Earth/Earth.cpp | 4653b64c0e0300c17aced0c9d05793e196c67c26 | [] | no_license | SilentLongbow/computer-graphics-uc | bef754afe212a589394bbb82a00f42ecd49fdfa6 | e473d1bafc6f03cf041a98048e8cd4380afe7a9f | refs/heads/master | 2023-01-02T16:44:46.965864 | 2020-10-18T13:08:19 | 2020-10-18T13:08:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,835 | cpp | // ========================================================================
// COSC363: Computer Graphics (2019); University of Canterbury.
//
// FILE NAME: Earth.cpp
// See Lab04.pdf for details.
// ========================================================================
#include <iostream>
#include <GL/freeglu... | [
"matt.j.kenny@gmail.com"
] | matt.j.kenny@gmail.com |
381651c1becee858c57d6888edfdf06774657550 | 6e5dd817898751cfe83acebc56a6a04e98508af0 | /CPP/brickWall.cpp | 7f756bf669ffee4af9251c2e01d50f8ae25e6557 | [] | no_license | xiaotianzhao/leetcode | 9293ad672d2e79d0da94066e18f58b5c3fa0369a | cbddb3d0400ef3d25d2f9e2b2447fc4a9d25daf8 | refs/heads/master | 2021-07-13T08:47:02.833168 | 2019-02-18T07:50:02 | 2019-02-18T07:50:02 | 90,983,253 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,597 | cpp | #include <iostream>
#include <vector>
#include <map>
using namespace std;
class Solution {
public:
int leastBricks(vector<vector<int> >& wall) {
int heightOfWall = wall.size();
map<int,int> hash;
int maxCount = 0;
for (int i = 0 ; i < heightOfWall ; i++){
vector<int> t... | [
"393504144@qq.com"
] | 393504144@qq.com |
953b83bed6e456a62b312bccfa7ca1b1ddc942ba | f5c9e7e6d9049c377696aa30fe54ac1100df1f63 | /hpps/common/waiter.h | 86793f625a94b5a9d633d947984950ea2a47a776 | [
"MIT"
] | permissive | kiminh/ddls | c343d6ac8b870ee44ce88a05f312922144592bc2 | 3333a669c59ce2e525945f814a54784dafc6191b | refs/heads/master | 2021-10-10T19:40:15.533725 | 2019-01-16T02:32:59 | 2019-01-16T02:32:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 696 | h | /*
* \file waiter.h
* \brief The waiter for synchronization.
*/
#pragma once
#include <mutex>
#include <condition_variable>
namespace hpps {
class Waiter {
public:
explicit Waiter(int num_wait = 1) : num_wait_(num_wait) { }
virtual ~Waiter() { }
void Wait() {
std::unique_lock<std::mutex> lock(mutex_)... | [
"huzelin1008@163.com"
] | huzelin1008@163.com |
487ff6298d7a1de70db75d3fc689fb1c5714f980 | d62f5208f788e59d04da547d2f397763a631fa80 | /Project/primitiveLib/curveprimitive.h | 5622d6044b3ead59799ca5a5a636cb079393d543 | [] | no_license | wyt0602/MyPaper | 4ee876c024a1d9ae6f75c544e4bf0a89cd829a54 | 8832b880717d70f230a23c519725a97beabfa18c | refs/heads/master | 2021-01-12T06:22:23.629013 | 2017-05-14T01:48:58 | 2017-05-14T01:48:58 | 77,350,250 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 504 | h | #ifndef CURVEPRIMITIVE_H
#define CURVEPRIMITIVE_H
#include "primitive.h"
class CurvePrimitive : public Primitive
{
Q_OBJECT
public:
explicit CurvePrimitive(QWidget *parent = 0);
QListWidgetItem* getListWidgetItem();
void adjustPosition(QPoint p);
Primitive* clone(QWidget *parent);
protected:
v... | [
"w_y_tao@163.com"
] | w_y_tao@163.com |
216c2b248b91289939142826efacd868791af82d | 939c23eac0cf00779fa27f4b29ef4f52a3b98629 | /ecbs_node.h | 93f488c65ec2ce7d452501f8b2e4aef03767520e | [] | no_license | hangma-usc/ECBS_MIX | e8f1bff32d560f65ef2143cab6874adf63e76e19 | d9bb8f77ed42e7b8db750ea5ecfbb656513b31dd | refs/heads/master | 2021-01-20T20:24:11.974852 | 2016-06-17T05:52:36 | 2016-06-17T05:52:36 | 61,349,302 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,763 | h | // Represents 2D-Nodes
#ifndef ECBSNODE_H
#define ECBSNODE_H
#include <string>
#include <vector>
#include <list>
#include <climits>
#include <tuple>
#include <boost/heap/fibonacci_heap.hpp>
using boost::heap::fibonacci_heap;
using boost::heap::compare;
using namespace std;
class ECBSNode {
public:
int type_id;
tu... | [
"HangMa@HANGMA-PC"
] | HangMa@HANGMA-PC |
7cb67dd3addb4cd74b2e916a918748320243eb29 | d1fec4f96227fa9548e3bfd1e71c21822dceaff4 | /main.cpp | 2407e715beaf875daf6b5edc7be4f7dab8c1e675 | [] | no_license | BeenEncoded/linuxtimer | 3b2ed80bf3c9b6ce4b40aa29ddf713687856305d | b8efe202a5a6ff2198f8d2672557d8e037584587 | refs/heads/master | 2016-09-16T13:14:10.885454 | 2014-02-02T19:38:08 | 2014-02-02T19:38:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,008 | cpp | #include <iostream>
#include <unistd.h>
#include <sstream>
#include "cwrapper.hpp"
#include "common.hpp"
#include "timer_class.hpp"
#include "global_defines.hpp"
using namespace cwrap;
/** Menu stuff: */
namespace
{
void main_menu();
void set_timer(timerObj::timer_class&);
void start_timer(timerObj... | [
"jonathancw@me.com"
] | jonathancw@me.com |
01d0dd743e5f14510d6794367abb70b3dcee7e52 | f611a5fa1c8aad118094cf690a170603ccef4ce7 | /effective_cplusplus/Item08/Prevent_exceptions_from_leaving_destructors.cpp | a0c5bad2d1fd47fbd257d52956056c47c9f16e59 | [] | no_license | kushuaiming/cplusplus_book_example | 4dd09264a84aff74d535f4d606e2fdca31d0f618 | 6adac5a75f17bce61135efaea2039847a577eb21 | refs/heads/master | 2023-08-18T17:16:11.330642 | 2021-10-16T09:22:57 | 2021-10-16T09:22:57 | 352,328,089 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,143 | cpp | #include <iostream>
#include <vector>
using namespace std;
class Widget {
public:
//...
~Widget() {
// ...假设这里可能发生异常
}
};
void doSomething() {
vector<Widget> v;
}
// v在这里被销毁
// 用于数据库链接的类
class DBConnection {
public:
// 这个函数返回DBconnection对象,为求简化暂时省略参数
static DBConnection create();
// 关闭联机,失败则抛出异常
void clos... | [
"xm2534911078@outlook.com"
] | xm2534911078@outlook.com |
cb2d7e7b331e9ffb9e876faa91f3895d814a5920 | ec2c810bfb74bdcbc23b630262dcd6c39d900039 | /week2/fib/fibonacci.cc | 7b466b203f8ab520316730bb3f8baf685273d07f | [] | no_license | TTeun/TDJ | 280251861e131b9c364e9916f97a76eefc61addd | d9d3f3e5cba7c1e1e7dc72650bb82141f6c283ca | refs/heads/master | 2020-12-02T00:30:54.891020 | 2016-11-08T16:06:50 | 2016-11-08T16:06:50 | 67,924,547 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 258 | cc | #include <iostream>
#include "main.ih"
using namespace std;
int main(int argc, char * argv[]) {
if (argc > 2)
cout << rawfib(strtoul(argv[1], NULL, 10)) << '\n';
else
cout << fib(strtoul(argv[1], NULL, 10)) << '\n';
return 0;
} | [
"teunverstraaten@gmail.com"
] | teunverstraaten@gmail.com |
427541dc6c9a4280999bc5c133b3061285e9f6f0 | 1f74553b050b88a3484f6d3d93fa09f8aaa9a826 | /Homework/bai55_hinhchunhatkitu1.cpp | c4ef2474e544778caa4e8dd0ecaa2e33af6ff0f4 | [] | no_license | dattocngan/THCS2_PTIT | 2e970942ee28a87b0c66d31667185b1c1e58e340 | edbf6b944a0f3cf0065b02c49ed83b7c39c1526a | refs/heads/main | 2023-04-29T06:36:45.770537 | 2021-05-19T16:35:24 | 2021-05-19T16:35:24 | 345,918,636 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 648 | cpp | #include<stdio.h>
#include<math.h>
#include<string.h>
int main(){
int n,m;
scanf("%d%d",&n,&m);
int a;
int i,j;
if( n > m ){
for( i = 0 ; i < n ; i++ ){
a = 96+n;
if(i > m){
for( j = 0 ; j < m ; j++ ){
printf("%c",a);
a--;
}
printf("\n");
continue;
}
for( j = 0 ; j < i ; j+... | [
"dattocngan@gmail.com"
] | dattocngan@gmail.com |
7f9be9c0fdb875bbcdb0376a93f9fd01f5493d3f | 5923bb4b34629ca87fd387d9588a85089c685ad6 | /src/main.cpp | e4452d0405419b6eb4f4bfc1a00c00277733dcb9 | [] | no_license | quannl280201/Assignment2_CO2003 | f1ac7ac7f1a0e7a7de78fd810d2fb596857220e5 | 762d37e21b4a06592e7e57ffd14f0b72a4d064da | refs/heads/master | 2023-04-17T20:17:31.464011 | 2021-04-30T02:59:12 | 2021-04-30T02:59:12 | 362,145,589 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,673 | cpp | #include <stdio.h>
#include "main.h"
#include "Cache.h"
#include "Cache.cpp"
Data* getData(string s) {
stringstream ss(s);
int idata;
float fdata;
if (ss >> idata)
return new Int(idata);
else if (ss >> fdata)
return new Float(fdata);
else if (s.compare("true") || s.compare("false"))
retu... | [
"83nguyenlapquan@gmail.com"
] | 83nguyenlapquan@gmail.com |
b0dd8c6ef9310fb39b6d1d6edc7e090206ca183c | 55562b54d397407c7561c2385b1319399633448e | /src/cposv.cpp | b5c42cc883a78c591667429c7e22f8bd0a1e589a | [] | no_license | kjbartel/clmagma | 0183fa30d7a0e27c53bfd8aa4b8dca64895ccaa4 | 86a58e5d4f28af7942e31d742c3104598d41d796 | refs/heads/master | 2020-05-26T22:07:09.530467 | 2015-07-05T11:26:42 | 2015-07-05T11:26:42 | 38,567,931 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 4,709 | cpp | /*
-- clMAGMA (version 1.3.0) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date November 2014
@generated from zposv.cpp normal z -> c, Sat Nov 15 00:21:37 2014
*/
#include "common_magma.h"
extern "C" magma_int_t
magma_cposv (
... | [
"kjbartel@users.noreply.github.com"
] | kjbartel@users.noreply.github.com |
06a967d4bf5ac9cdeeb5673553e6e7f9e471dfa5 | 166a09b5fb77ba2c7c79ec8f7c28846ed37cffc0 | /src/Cvisits.cpp | 69fadf9cf53b4bf9932751c58f4b4a9ce49012f0 | [
"MIT"
] | permissive | rekmus/ip2loc | f4c5e84b5ea8412ba91c166824ae9f4ede0a041d | 84fc4b0a7f62e2dbe87e6576c08c9afcfb238c40 | refs/heads/master | 2022-12-25T01:06:12.541745 | 2020-09-30T15:54:57 | 2020-09-30T15:54:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,745 | cpp | /* ---------------------------------------------------------------------------
Table access class
Generated on silgy.org on 2020-05-30 10:37:38, generator v.1.0.0
Using C-style strings
Using exceptions
--------------------------------------------------------------------------- */
#include "Cvisits.h"
boo... | [
"noreply@github.com"
] | rekmus.noreply@github.com |
ad9bd623380c7c64409883d38fc1dc8daa66df69 | 94360bb04d669fa92d3084ab6a4cadcbd8308196 | /Graph/dfs.cpp | 4918ebbcc66915e462c787af55e2dc1568321335 | [] | no_license | orkhasnat/AlgorithmWithCodes | 0a5d9d3f5e0bbda36017bd8f0a98ff780bf1973f | 98003de5f21314170bdb94483b2cd484fd6bd86d | refs/heads/master | 2023-03-21T16:49:39.498363 | 2021-03-15T17:41:28 | 2021-03-15T17:41:28 | 349,251,566 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,461 | cpp | /*
Name: Depth First Search
Time Complexity:
* O(V+E), V is number of vertices, E is number of edges
Space Complexity:
* O(H), H is the maximum height of the tree
*/
/* Resources:
1. https://cp-algorithms.com/graph/depth-first-search.html
2. http://www.shafaetsplanet.com/?p=973
*/
#include <iostrea... | [
"labib.bzs@gmail.com"
] | labib.bzs@gmail.com |
680c638d46968c11738a55245c7f3e4a3989d22e | 79eb4aa95d6eb8d712952a80fd09959c33401bfb | /wordBreak2.cpp | 4a785a61b6085641e2063e15696fdffb745d4eb5 | [] | no_license | li3939108/leetcode | 6b6c829e10c5143419f96f46421273cf40a726b3 | 8e4d103419a31363e012990b1618a3e626592f76 | refs/heads/master | 2021-01-02T22:45:33.402236 | 2017-02-26T03:56:57 | 2017-02-26T03:56:57 | 16,051,686 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,648 | cpp | #include <iostream>
#include <string>
#include <unordered_set>
#include <vector>
using namespace std;
void backtracking(vector<vector<bool> > &dp, int loc, string si, string &s, vector<string> &sv){
if(loc == 0){
sv.push_back(si);
}else{
for(int i = 0; i < loc; i++){
if(dp[i][... | [
"li3939108@gmail.com"
] | li3939108@gmail.com |
c105b9f8894aaf47c4bb8c21cf452480a8692719 | 00b472cce6dd54354de618d476c67d5e4e79fcc2 | /Node.h | f01c4bbcad94ae024f0d05a6aabe759fc8235306 | [] | no_license | bm600/cs235-avl | 56a4c4b3c7365005a8922f5af191924b86033f05 | aa8f6a8bec9ce579b84c0e13ac77987da8c91d1e | refs/heads/master | 2023-04-17T00:56:30.205755 | 2017-12-05T05:18:08 | 2017-12-05T05:18:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 867 | h | #ifndef NODE_H
#define NODE_H
#include <iostream>
#include "NodeInterface.h"
class Node :
public NodeInterface
{
public:
Node * leftChild;
Node * rightChild;
int data;
int height;
Node(int value) {
height = 0;
data = value;
leftChild = NULL;
rightChild = NULL;
}
~Node()
{
}
/*
* Returns the da... | [
"reederda@gmail.com"
] | reederda@gmail.com |
a5376c3d67c87f360e0b09bbf7b5e184cf6665b4 | 38b73cffea46b42dcb210f03369d4de804dec75a | /connectionsdialog.h | 1648faa7d063c074c1a8887c1609aa054bfe8f0e | [
"MIT"
] | permissive | kilab/qt-sqlmanager | ca6560326472c0ac6b78b181ae93d076d2203078 | ef510cdde95b3fce426997295824a2f354b6357a | refs/heads/master | 2020-04-13T01:39:07.224422 | 2019-07-08T00:26:12 | 2019-07-08T00:26:12 | 162,879,809 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,146 | h | #ifndef CONNECTIONSDIALOG_H
#define CONNECTIONSDIALOG_H
#include "sqlconnection.h"
#include <QDialog>
#include <QListWidgetItem>
#include <QSettings>
#include <QStandardItemModel>
#include <QString>
namespace Ui {
class ConnectionsDialog;
}
struct ConnectionValid {
bool status;
QString message;
};
class Co... | [
"pawel@kilab.pl"
] | pawel@kilab.pl |
c0ffa751c223f60e0b43666c3e1c47c298fdac61 | d1866c2bca22c38577e1a202039e1252a2380bfd | /.svn/pristine/c3/c366aca43bff89075e75a48af6535de5fed0be63.svn-base | c2ae44496beb03021c0318b5cc665ffae717569e | [] | no_license | scottrehlander/UnstableGame | db0091f77e4b571fcb814881d77f324361cd14eb | 1dfc6f5fdf2b7d942bb1c636ac38f23cf732b4e3 | refs/heads/master | 2021-01-22T05:09:58.592609 | 2017-02-11T02:16:19 | 2017-02-11T02:16:19 | 81,624,318 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 203 | // stdafx.cpp : source file that includes just the standard includes
// SceneManager.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
| [
"scott@rehlander.com"
] | scott@rehlander.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.