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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e9592098b15692159f9ebf619750a46713585b80 | bd57e8411bfd1dd07d0b7b09d2e80029b1af4066 | /SCRambl/utils.h | b497ef57e58840886c4f11c23660761f6d36957b | [
"MIT"
] | permissive | indirivacua/SCRambl | a80d8b911cc177ee5f70ec01b8605ec96d5c5860 | cf6eb64272b4126094c77a720c2402ed47822a50 | refs/heads/master | 2021-12-08T04:23:30.100043 | 2016-02-09T01:24:05 | 2016-02-09T01:24:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,728 | h | /**********************************************************/
// SCRambl Advanced SCR Compiler/Assembler
// This program is distributed freely under the MIT license
// (See the LICENSE file provided
// or copy at http://opensource.org/licenses/MIT)
/**********************************************************/
#pragma on... | [
"the_zone@hotmail.co.uk"
] | the_zone@hotmail.co.uk |
5c2ed4b4da5da41f0390dd50b8e9073b965f084e | 4b3c29d33aa05f837de60e460a51b9085b6a816e | /P314-3.cpp | f6151fac43dc8f5c599b94d2fae23a0cd8fd0b96 | [] | no_license | lyMeiSEU/Data-Structures-Homework | 2f5f79b73aa742ff128d9a7226dae29e15a2e92f | 8220e8f74a9bbc64cef6b8f3756cf1a8a600bf30 | refs/heads/master | 2020-04-01T16:36:12.458562 | 2019-01-07T13:08:37 | 2019-01-07T13:08:37 | 153,388,988 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,082 | cpp | #include<iostream>
using namespace std;
#define HeapSize 10
class Sets {
public:
Sets(int p[]) {
n = (sizeof(p) / sizeof(int)) + 1;
parent = new int[n];
for (int i = 0; i < sizeof(p) / sizeof(int); ++i) {
parent[i] = p[i];
}
}
Sets(int sz = HeapSize) {
n = sz;
parent = new int[sz];
for (int i = 0; i... | [
"213173625@seu.edu.cn"
] | 213173625@seu.edu.cn |
1076a6e1ad98ac3050d1d4258404c2469516d5fd | d80c8a7d82ec3784d0c77e9546b097ee532e6413 | /src/qt/sendmessagesentry.cpp | 4343e7fa3c6a418b5d7b3ea3889c203e7e722fac | [
"MIT",
"OpenSSL"
] | permissive | padima1/Intermodal-Coin | 4892e7459d8ab21e8bc79bd8604fa9cdee72c40c | 0b35bef33c6613adad7c58fcf0faa5785e2c1a2c | refs/heads/master | 2020-03-18T05:18:11.893544 | 2018-05-21T18:55:55 | 2018-05-21T18:55:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,227 | cpp | #include "sendmessagesentry.h"
#include "ui_sendmessagesentry.h"
#include "guiutil.h"
#include "addressbookpage.h"
#include "walletmodel.h"
#include "messagemodel.h"
#include "optionsmodel.h"
#include "addresstablemodel.h"
#include "smessage.h"
#include <QApplication>
#include <QClipboard>
SendMessagesEntry::SendMes... | [
"37194729+Intermodalcoin@users.noreply.github.com"
] | 37194729+Intermodalcoin@users.noreply.github.com |
dbc233ba0fe35e21df422080dc432e31e20c9348 | 21c9a61c287a8a63525ec473d56d43d30cce872e | /Core/src/SkeletonAnimation/InterpolationTransformTimeLine_Types.cpp | 7f06b5afbd0879c8bf16e501711428284edd447f | [] | no_license | lazarev-pv/robot-game | 444242166766bc4753e170177522f6286ae46df5 | f4f22f2f2f7da51c07eb3b148d844fbd187fe867 | refs/heads/master | 2021-01-10T09:17:15.792534 | 2015-10-01T16:57:54 | 2015-10-01T16:57:54 | 43,508,571 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 373 | cpp | #include <ChibiEngine/SkeletonAnimation/InterpolationTransformTimeLine_Types.h>
#include <ChibiEngine/SkeletonAnimation/EventTransformTimeLine_Types.h>
using namespace glm;
const glm::vec2 game::MOVE_DEFAULT_VALUE(0,0);
const glm::quat game::ROTATE_DEFAULT_VALUE(1,0,0,0);
const glm::vec2 game::SCALE_DEFAULT_VALUE(1,1... | [
"lazarev.p.v@gmail.com"
] | lazarev.p.v@gmail.com |
2666e6168266523c5d20c502ff1173100c7532a8 | dd07992b73261436174e493ba6bf9cdd46d3297a | /samples/ball/NxTileSprite.h | 481c2d3856ff71bfb093abb0f253388d7a9ece1a | [
"Apache-2.0"
] | permissive | doyaGu/nxlib | d898473ef5c9357cdbcf1acc3c400dcfe7c179ff | bfb07fc7357e80e40f0a4678fd295e3ef9de1c0a | refs/heads/master | 2022-04-08T14:05:00.387618 | 2020-03-05T02:39:37 | 2020-03-05T02:39:37 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,317 | h | // NxTileSprite.h: CNxTileSprite クラスのインターフェイス
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_NXTILESPRITE_H__13072461_65E0_11D4_8835_0000E842F190__INCLUDED_)
#define AFX_NXTILESPRITE_H__13072461_65E0_11D4_8835_0000E842F190__INCLUDED_
#if _MSC_VER >= 1000
#pragma onc... | [
"noreply@github.com"
] | doyaGu.noreply@github.com |
c0e1741176672d453e47a89d3397a407cfeec01b | 362ce01e7ddb6a5b94a4c69f5e0ae71c2d960b3a | /src/DoodadRTree.h | efb5bd89ed5c504f1c5ad424846f3bed57132b73 | [
"BSD-2-Clause"
] | permissive | nathanmentley/EssexEngineLibIsoMap | 351dd559a448394dc9b360228aa9c900d41cdede | 59fe0db6d139647eb9675365c269c8d166d631a7 | refs/heads/master | 2021-03-22T04:26:33.238856 | 2018-05-12T16:54:50 | 2018-05-12T16:54:50 | 103,860,015 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,403 | h | /*
* Essex Engine
*
* Copyright (C) 2018 Nathan Mentley - All Rights Reserved
* You may use, distribute and modify this code under the
* terms of the BSD license.
*
* You should have received a copy of the BSD license with
* this file. If not, please visit: https://github.com/nathanmentley/EssexEngine
*/
#pr... | [
"nathanmentley@gmail.com"
] | nathanmentley@gmail.com |
a9ebf14ae06ae7108591abc5c9785460c0502348 | 9e5979f0336e6b8432b0f4c23f7b9145d863a2d5 | /Array/Rotate Array.cpp | fab273beaec579dec62fd7b99a9fd16d9db5b30f | [] | no_license | akarshjoice/Competitive-Coding | fc179ae37c02090c8e3d258d4b306679947e1da6 | d705d366df7c0fae40562987ad75820a46b71e09 | refs/heads/main | 2023-06-10T04:39:07.834888 | 2021-06-16T02:51:11 | 2021-06-16T02:51:11 | 330,808,538 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,938 | cpp | // Question:
/*
Given an unsorted array arr[] of size N, rotate it by D elements in the counter-clockwise direction.
Example 1:
Input:
N = 5, D = 2
arr[] = {1,2,3,4,5}
Output: 3 4 5 1 2
Explanation: 1 2 3 4 5 when rotated
by 2 elements, it becomes 3 4 5 1 2.
Example 2:
Input:
N = 10, D = 3... | [
"noreply@github.com"
] | akarshjoice.noreply@github.com |
016361b6092fbf7d6625287ee2bde5da0e135255 | d2650b73a3d64ec4c0614b08a4b0ba7370b7327a | /cpp/dynamic-programming/sequence-hab.cpp | ec33f2c460a057f7caa88c94efaab1903932aa25 | [] | no_license | jodnddus/nojam | 1fdf90805be8ea8bdfad5030f5ac39bc5b08d89f | a2e646ab06bc81f89bd451faea1da6231547de05 | refs/heads/master | 2020-05-18T07:57:21.808166 | 2019-08-15T10:05:53 | 2019-08-15T10:05:53 | 184,280,261 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 429 | cpp | // https://www.acmicpc.net/problem/1912
#include <cstdio>
#include <algorithm>
#include <vector>
using namespace std;
int main()
{
int N, MAX=-1000;
scanf("%d", &N);
vector<int> c(N, 0);
vector<int> d(N, 0);
for (int i=0; i<N; i++)
scanf("%d", &c[i]);
d[0] = c[0];
for (int i=1; i<N; i++)
{
d[i] = max... | [
"lockhost23@gmail.com"
] | lockhost23@gmail.com |
11568b75e1dbe28d70c8136b59ff3cc36e148d8f | 1650248808c35bd5f460f6b2af687958d9b9bcd3 | /src/client/ParticleTexture.h | 89ac5b4987ac9ceda302ea5b894173fe4a370330 | [
"Zlib"
] | permissive | Sondro/spear | bf7e424c29091600e30991119e339186319daaaf | 727f41fa5197f9681337d1ff37ea63c44708f0d4 | refs/heads/master | 2023-03-25T02:30:09.418017 | 2021-01-09T16:00:12 | 2021-01-09T16:00:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 402 | h | #pragma once
#include "sp/Asset.h"
#include "sp/Renderer.h"
namespace cl {
struct ParticleTexture : sp::Asset
{
static sp::AssetType SelfType;
using PropType = sp::NoAssetProps;
sg_image image;
static sg_pixel_format pixelFormat;
static sg_image defaultImage;
// Lifecycle
static void globalInit();
static ... | [
"samuli.1995@hotmail.com"
] | samuli.1995@hotmail.com |
95513b3863279dad2abe4075ed51feea70b4ced4 | 8dadb9c657008f1944f0fc233b8e2c3e2fe7423f | /Library/Il2cppBuildCache/Android/armeabi-v7a/il2cppOutput/UnityEngine.InputLegacyModule_Attr.cpp | 3b28f979a7b4882a0e5a16ee14d9ac17f2f7314c | [] | no_license | sohay19/Treasure | 6b43954c2a0fbcbec26a60b1412ca5068bf03c6d | 2af22901156a07a247b1c194d6ef70b188710993 | refs/heads/master | 2023-07-28T10:08:36.351773 | 2021-09-12T11:05:46 | 2021-09-12T11:05:46 | 404,665,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 99,044 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
// System.Char[]
struct CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34;
// System.Runtime.CompilerServices.CompilationRelaxationsAttribute
struct CompilationRelaxationsAttrib... | [
"84175668+sohay19@users.noreply.github.com"
] | 84175668+sohay19@users.noreply.github.com |
70702d3a42a6f91bceaa489b984fd90f1bcb1623 | 6a72396fda41b742fd199c988987e3f90cdc0b44 | /AtCoderBeginnerContest/ABC148/ABC148_B.cpp | 7af1877e756ac5afa3f1583886da5582614f3638 | [
"MIT"
] | permissive | XXQ2/AtCoder_Cpp | df916a8454624bee799cec397c0fc41387a59192 | d436553333031498845c0f35c68a5f37092b04db | refs/heads/master | 2021-01-02T18:10:21.778015 | 2020-05-26T00:39:47 | 2020-05-26T00:39:47 | 239,737,187 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 582 | cpp | #include <bits/stdc++.h>
#define forn(i, n) for (int i = 0; i < (int)(n); ++i)
#define for1(i, n) for (int i = 1; i <= (int)(n); ++i)
#define fore(i, l, r) for (int i = (int)(l); i <= (int)(r); ++i)
#define ford(i, n) for (int i = (int)(n) - 1; i >= 0; --i)
#define all(x) (x).begin(), (x).end()
#define PI 3.14159265358... | [
"asbo0502@gmail.com"
] | asbo0502@gmail.com |
e9f18853c00226aee60ff84c31838830a10b6ed0 | 10ffc88adb8757b70e555e5091563714a28cb464 | /souki/number.h | b2978fcbea217c7304c56f99e54b9d6803cef1c8 | [] | no_license | TaichiNikaido/3DTeamGame | 2647e77393baf0e591d12365850c405caddfa80c | e7ef052834ee2961a882cb18164203789b40f4d4 | refs/heads/master | 2023-03-19T12:50:32.420818 | 2021-03-18T18:36:57 | 2021-03-18T18:36:57 | 344,369,196 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,390 | h | //================================================
//
// 数字表示処理 [number.h]
// Author : 佐藤颯紀
//
//================================================
#ifndef _NUMBER_H_
#define _NUMBER_H_
#include "main.h"
//================================================
//マクロ定義
//========================================... | [
"miwa6421@gmail.com"
] | miwa6421@gmail.com |
430fbac2c13a71ec35ee5c7bc00e1a7673be635a | 27515c7b60b71f4fabf86c1e080b66d6b10cca03 | /J04/ex00/main.cpp | a8cdf9c55bd631651e13fcebe7b13d500582c597 | [] | no_license | bvan-dyc/CPPPool | ff6e4a054385c6506f8bdf1d0fb5ea9758982bbf | 67057d3717b4794dfe2729bc0966e52f32563006 | refs/heads/master | 2021-05-08T22:36:38.304435 | 2018-02-28T13:11:09 | 2018-02-28T13:11:09 | 119,678,302 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 278 | cpp | #include "Sorcerer.hpp"
#include "Victim.hpp"
#include "Peon.hpp"
int main(void)
{
Sorcerer robert("Robert", "the Magnificent");
Victim jim("Jimmy");
Peon joe("Joe");
std::cout << robert << jim << joe;
robert.polymorph(jim);
robert.polymorph(joe);
return 0;
}
| [
"bvan-dyc@student.42.fr"
] | bvan-dyc@student.42.fr |
b2c8701b3ed1ba619205319ceb26061fed2f9fe3 | 3ecce7ff41b6416df296c34d7a0f720e936310f1 | /SklepGui/core/Bill.cpp | 12a565a3f8cd87681f52b3ac3dfca12eb9e9a487 | [] | no_license | KonradKacperDomian/CashRegisterSimulator | 6606db906d87ccb6b659ec4b9637cec057c416a7 | 45016c4586d2778bd5fbdcad4f1d878301bd0a4c | refs/heads/master | 2023-03-31T04:30:54.430361 | 2020-06-23T21:00:43 | 2020-06-23T21:00:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,427 | cpp | #include "Bill.h"
#include "TakeTime.h"
#include "TaxesCounter.h"
#include <string>
#include <iomanip>
#include "ProductListManager.h"
#include "DailyRaport.h"
#include "vatTax.h"
Bill::Bill(int billNumber)
{
TakeTime timeOfBill;
numberOfBill = billNumber;
this->dateOfBill = timeOfBill.hourMinutes;
}
Bill:... | [
"k.domian@stud.elka.pw.edu.pl"
] | k.domian@stud.elka.pw.edu.pl |
9892ab0f327c430649adefa33f1552f7ba82e5a6 | 3d7f40a09ca2a6f58c81877b2f9985e8fabe0d66 | /C++/Week 2/Classwork/menu0.cpp | 4dc1ed460a7815fd9c82632902cf0c1545204dd9 | [] | no_license | mkieft/Computing | 36dbd36ba7ef4c1e3c606d5f05ad81559b756562 | ecabc32ca501a60d62b5e9cb68d5c6a2b7033af1 | refs/heads/master | 2022-12-05T03:48:10.173132 | 2020-08-25T18:15:38 | 2020-08-25T18:15:38 | 290,288,258 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 655 | cpp | /// File: week2/whileDice1.cpp MM
/// roll die til first 5 or 6
#include <iostream>
using namespace std;
#include <ctime>
#include <cstdlib> // for random
void game();
int main() {
int option;
srand(time(0));
cout << "\nMenu: 1. Help\n"
<< "2. Game\n"
<< "0. Exit\n";
cout << "Option? ";
... | [
"45219678+mkieft@users.noreply.github.com"
] | 45219678+mkieft@users.noreply.github.com |
212089c935a90f671be8e3b299cca2ccbc4f0364 | 27c24223df7bc52457810995a2ebd9d3520965f2 | /day14.cpp | dadf8d763e18b9f5c99366ca982e6d23504f4705 | [] | no_license | Row/advent-of-code-2015 | 7b96be1866e5a187ffd69b75b810434b0200a9a7 | 1f1f34f31294ae8fbd1ea010f260cc3d3a6dc717 | refs/heads/master | 2020-09-25T23:42:38.074439 | 2016-09-04T21:51:39 | 2016-09-04T21:51:39 | 67,369,822 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,296 | cpp | //
// day14.cpp
// advent-of-code
//
// --- Day 14: Reindeer Olympics ---
// This year is the Reindeer Olympics! Reindeer can fly at high speeds, but must rest occasionally to recover their energy. Santa would like to know which of his reindeer is fastest, and so he has them race.
// Reindeer can only either be flyin... | [
"jon@powha.net"
] | jon@powha.net |
c62628045d6d6bca99a873cdb3ced5d8a13788c4 | d0ba6c4eab5e357323f57c82e508a99954a674a0 | /Ardupilot/TurnOn_Motors/TurnOn_Motors.ino | b79ddc5def1011ed9083383467dad2b665c5b870 | [] | no_license | EduardoCibernetica/Turn_on_Drone_with_RFID | c8f7232e522b6ae985f5f95d490c09aeb3729dba | 24f85e9bda48c96b2bbdae658ab3ed1c8d3ce622 | refs/heads/master | 2021-01-23T02:16:05.950836 | 2017-03-24T18:07:50 | 2017-03-24T18:07:50 | 85,980,711 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,785 | ino |
#include <AP_Common.h>
#include <AP_Math.h>
#include <AP_Param.h>
#include <AP_Progmem.h>
#include <AP_ADC.h>
#include <AP_InertialSensor.h>
#include <AP_HAL.h>
#include <AP_HAL_AVR.h>
const AP_HAL::HAL& hal = AP_HAL_AVR_APM2; // Hardware abstraction layer
void setup()
{
hal.rcout->set_freq(0xF, 490);
hal.rc... | [
"luis.valtierra@gsi.mx"
] | luis.valtierra@gsi.mx |
5e4d9fa1d197f20581d87e578c3d1b8690695aff | 83f78c63720941e4c38fc93b128db7cec95d9222 | /实验六/实验六.cpp | 054a5c25a63f0dff054f1709c2859c6b0e23e2b8 | [] | no_license | Ppsyche/dataStructure | de6d0e1c892d169748f6b7df3e75a5e769e4fd6c | 0e3b4ef59fe4387f70b64e7ee83479d81d498c69 | refs/heads/master | 2021-06-20T13:15:08.177137 | 2017-07-07T05:29:34 | 2017-07-07T05:29:34 | 96,501,442 | 1 | 1 | null | null | null | null | GB18030 | C++ | false | false | 4,805 | cpp | #include<iostream>
using namespace std;
#define MAX 100
int t=-1,w=1,c=1;
typedef struct BTN
{
int a[4];
struct BTN *nf,*nfl,*nfy,*nfb;
}BTN,*BT;
typedef struct
{
BT *b;
int front;
int rear;
}SS;
SS S;
BT bt[10]={NULL};
void nf(BT T,BT st[],int z);
int panduan1(BT &T,BT ct[],int n);
int panduan2(BT &T);
void ... | [
"15145032896@163.com"
] | 15145032896@163.com |
a0a4fd4182b6092f7a4f422665a260b84fd815a5 | 33eab256de2307c19b6a92e9f92bef94cec16aa0 | /208A.cpp | de094080f619891f9fc6e67fc0127d830a52736c | [] | no_license | latteprog/Codeforces | 6856357e7d51c0d4346dd1eb8fb3b45507786451 | 1873c5167cd2834eda2ba14eaeed9fdac5ee6ec2 | refs/heads/master | 2021-01-09T23:35:16.047481 | 2016-11-30T18:19:34 | 2016-11-30T18:19:34 | 73,215,513 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,283 | cpp | /**************************************************
WhatTheFua
Anan Schuett
arnan_s@msn.com
**************************************************/
#define BL for(int K = 1; K <= T; K++)
#define F first
#define INF 2147483647
#define LNF 8000000000000000000
#define P107 1000000007
#define P109 1000000009
#defi... | [
"arnan_s@msn.com"
] | arnan_s@msn.com |
5116aacc5961bdca9d743d6d70b2910ffab7be98 | 6cfcec94a215981d26a60c7b5e8b65e1da45660a | /initial.h | 2e70d25eca5d1781b0e06f74194ad06fa1608f0e | [] | no_license | gun7992/send_arp | f85432924336623dc914fbe6a184c0a69a245e5b | a73c8cdc933e0264c0501bf5fd867c9f5f9154fb | refs/heads/master | 2021-06-21T23:53:31.236153 | 2021-03-10T01:30:04 | 2021-03-10T01:30:04 | 200,410,389 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,734 | h | #pragma once
#include <iostream>
#include <stdio.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <errno.h>
#include <string.h>
#include <stdlib.h>
#include <sys/ioctl.h>
#include <fcntl.h>
#include <net/if.h>
#include <unistd.h>
#include <pcap.h>
#include <stdint.h>
#include "headers.... | [
"gun7992@gmail.com"
] | gun7992@gmail.com |
a3a83b285237c686900528b03839e0c1f3faf749 | 91b01a32feaebb06d0ac3e6c32a09e2b6e043745 | /core.math/includes/core.math/matrix/operations/MatrixInversion.h | 7053370dbcf9c59bac830e4ad7373a34d97a05ef | [
"MIT"
] | permissive | toeb/cpp.core | 4c5a58f247079351ffe61dbe846be2acba6bc9a9 | 84c782b1e0919dd598c3c19c8e5c71f27453ebf2 | refs/heads/master | 2021-01-23T12:48:05.043451 | 2015-03-20T09:43:26 | 2015-03-20T09:43:26 | 32,568,867 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 466 | h | #pragma once
#include <core.math/core.math.h>
NS_BEGIN(CORE_MATH_NAMESPACE)
enum MatrixProperty{
Default = 0,
PositiveDefinite=1,
PositiveSemidefinite=2,
Diagonal=3,
Symmetric=4
};
template<typename InvertedMatrixType, typename OriginalMatrixType, MatrixProperty props=Default>
class Matrix... | [
"becker.tobi@gmai.com"
] | becker.tobi@gmai.com |
ec6972b90b5735d5d6199a7afa523732b2e42869 | 192f639939307313737969763ccbdbaa68352317 | /func/demo/time.cpp | ecf7dccf8e13976ae4e5dcce7e92ae781263eea6 | [
"Apache-2.0"
] | permissive | mkvoya/faasm | 90f0fee34377266ce162f1583b7ddd21a43f30f6 | 6d85a5507a2ce10fcd0c486251e1d26c0e013e28 | refs/heads/master | 2022-12-28T23:22:28.128943 | 2020-10-21T18:53:24 | 2020-10-21T18:53:24 | 306,117,491 | 0 | 0 | Apache-2.0 | 2020-10-21T18:45:48 | 2020-10-21T18:45:46 | null | UTF-8 | C++ | false | false | 326 | cpp | #include "faasm/faasm.h"
#include "faasm/time.h"
#include <stdio.h>
FAASM_MAIN_FUNC() {
double secs = faasm::getSecondsSinceEpoch();
size_t strLen = 8 + sizeof(double);
char str[strLen];
sprintf(str, "Seconds: %.3f", secs);
auto output = BYTES(str);
faasmSetOutput(output, strLen);
retur... | [
"noreply@github.com"
] | mkvoya.noreply@github.com |
2d119eef7fe277782569131429eab4695e59c859 | fe14c4e61d410fe18ea66a785b5b345b69a222e4 | /NetmfPkg/Library/UefiCppEntryPoint/TestCpp/TestCpp.cpp | db6230bc4817bb4856a8b99d13363b4560f362bc | [] | no_license | RastusZhang/UefiNetmf | 3ebd3e29feedd7d7476975340fffcd7018d1efc5 | 0ca8dcf121e299ebd0a837fcee4057b5695ad6ed | refs/heads/master | 2023-01-11T05:45:44.905528 | 2020-11-13T09:21:29 | 2020-11-13T09:21:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,002 | cpp | /** @file
Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
http://opensource.or... | [
"jiewen.yao@intel.com"
] | jiewen.yao@intel.com |
f300db451b0309567ace1f283ffbbae2f3c6c4e0 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14061/function14061_schedule_13/function14061_schedule_13.cpp | 4d2dfbd1260b6578c932091982b82172813462c2 | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,065 | cpp | #include <tiramisu/tiramisu.h>
using namespace tiramisu;
int main(int argc, char **argv){
tiramisu::init("function14061_schedule_13");
constant c0("c0", 512), c1("c1", 256), c2("c2", 512);
var i0("i0", 0, c0), i1("i1", 0, c1), i2("i2", 0, c2), i100("i100", 2, c0 - 2), i101("i101", 2, c1 - 2), i102("i102... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
817e68e73dd86fa4b3cf5dab8540e308bf713ea1 | 22d9640edca14b31280fae414f188739a82733e4 | /Code/VTK/include/vtk-5.2/vtkExtractCTHPart.h | 27fa82f27de065ba41c0cc3171ce0f74008b3abd | [] | no_license | tack1/Casam | ad0a98febdb566c411adfe6983fcf63442b5eed5 | 3914de9d34c830d4a23a785768579bea80342f41 | refs/heads/master | 2020-04-06T03:45:40.734355 | 2009-06-10T14:54:07 | 2009-06-10T14:54:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,879 | h | /*=========================================================================
Program: Visualization Toolkit
Module: $RCSfile: vtkExtractCTHPart.h,v $
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.... | [
"nnsmit@9b22acdf-97ab-464f-81e2-08fcc4a6931f"
] | nnsmit@9b22acdf-97ab-464f-81e2-08fcc4a6931f |
09f991cdb0adcf26e5e9e18311d6a0c88832386e | c6ee9dd637b9698b74b3ea08783ba19edece3ffb | /Demo.cpp | bfd917291930fe7279f352020f4fc30b0ce79c88 | [] | no_license | chimarry/ConwayGameOfLife | 732bd159997d0841b56cd4849df5c7619709107a | 97f7ea8d75756eed321dc94ebb92a54a527e15ec | refs/heads/master | 2023-02-16T01:35:44.418198 | 2021-01-09T13:32:41 | 2021-01-09T13:32:41 | 327,843,972 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 202 | cpp | #pragma warning(disable : 4996)
#include <iostream>
#include <CL\cl.hpp>
#include <vector>
#include "ConwayGameOfLifeExecutor.h"
int main() {
ConwayGameOfLifeExecutor executor;
executor.simulate();
} | [
"marija.vanja.novakovic@gmail.com"
] | marija.vanja.novakovic@gmail.com |
b14c06e67273b397b8f9f88eef31222a42293578 | 766d3903bf3bd2fc54d26e3eb6850095e9690117 | /src/Event.cpp | 17548c905ba346668ecdb649cc72d8ec42ccc5b3 | [] | no_license | HelloUSTC114/TimeStampProcess | b2d525ebefd4b723013cf5a5ad83385fae1247b1 | 1abbb10ce872d9cca1e6deab970d107f20d440a4 | refs/heads/master | 2023-04-29T15:04:32.318593 | 2023-04-24T05:20:17 | 2023-04-24T05:20:17 | 298,754,632 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,610 | cpp | #include "Event.h"
ClassImp(Track);
ClassImp(T0Data);
ClassImp(Event);
Track::Track(UChar_t mac5, UShort_t chg[32], UInt_t ts0, UInt_t ts1, UInt_t ts0_ref, UInt_t ts1_ref)
{
fMac5 = mac5;
memcpy(fChg, chg, sizeof(UShort_t) * 32);
fTs0 = ts0;
fTs1 = ts1;
fTs0_ref = ts0_ref;
fTs1_ref = ts1_ref;
... | [
"liangzheng1021@163.com"
] | liangzheng1021@163.com |
0c248904e3a66e767ed376058eee9e9c6a48faf3 | 64dccd45009486beb7c7f9595bfaa16f9442dc05 | /BaseLib/win/patch_util.cpp | 0f8522ccb202e8e937efe88ac277452c0f47a47f | [] | no_license | xjyu007/BaseLib | cbb2d1baa32012a0bce1a33579336b8f93e722f2 | 46985fd2551f9e16619f361559c5a8c3a08c6ec5 | refs/heads/master | 2020-07-16T10:27:18.854060 | 2019-10-18T08:25:25 | 2019-10-18T08:25:25 | 205,770,219 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,357 | cpp | // Copyright 2017 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 "win/patch_util.h"
#include "logging.h"
namespace base::win::internal
{
DWORD ModifyCode(void* destination, const void* source, int length)... | [
"xjyu_007@hotmail.com"
] | xjyu_007@hotmail.com |
694396e2fdfc63f102defcb13980ad346d58f383 | bdcb90d603d722d0ddfe3c1dd69e815133f14d51 | /opae-libs/tests/opae-c/test_hostif_c.cpp | 37be0b1ee4a694a043bf22b0f926e2c86b1bd3b4 | [
"BSD-3-Clause",
"MIT"
] | permissive | r-rojo/opae-sdk | 181a52c44d46c403bbaee92e3946ff4dc7bc50ea | 0615a4965ba99c1e11828c8a833c07bef933cb92 | refs/heads/master | 2021-05-11T08:53:35.126186 | 2020-12-16T00:23:05 | 2020-12-16T00:23:05 | 118,062,318 | 0 | 0 | NOASSERTION | 2020-12-09T18:35:21 | 2018-01-19T01:53:59 | C++ | UTF-8 | C++ | false | false | 4,646 | cpp | // Copyright(c) 2018, Intel Corporation
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice,
// this list of conditions and the ... | [
"tim.whisonant@intel.com"
] | tim.whisonant@intel.com |
aec53170355a583cb514a77db6e2b9fbafed80c0 | 1cd87b5c7c05efc43d0ed751b729b618dfbeac5e | /subject/8_1952560_安江涛.cpp | 4abc00d6cf8926e7c044a393ccfc4e111b116508 | [] | no_license | AnJT/Course-design-of-data-structure | 7823e3b749155e962a44cfae8c86ed2c9f312b9e | 327f1c5f9e8ea4f88f80e510fbb40e9298792f31 | refs/heads/main | 2023-02-10T08:28:36.427850 | 2021-01-06T04:59:31 | 2021-01-06T04:59:31 | 304,854,671 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,892 | cpp | #include<unordered_map>
#include<iostream>
#include<string>
#include<algorithm>
#include"../H/Vector.h"
#include<map>
#include<cstring>
#include<vector>
#include<limits.h>
const int maxn = 1e2;
const int INF = 1e9 + 7;
struct edge {
edge(std::string f,std::string t,int d){
from=f;to=t;dist=d;
}
edge(){from=to=" ... | [
"57489474+1952560@users.noreply.github.com"
] | 57489474+1952560@users.noreply.github.com |
d77349092edb121e5b2663ab4f95d86d198e990f | 10c14c1e7783e2e7976b8eb813cfdcaa7bb04cdd | /algoritmika/lab1/dtim1806_L1_8.cpp | d72eb3ba6b82a27c726deb4ae36441082c69d51c | [] | no_license | demeter4444/uni | d8d077ae7773f6b4da5057177e8abf31c7a05f20 | a87bc30e7cef557030e726dd2032d349421d2b62 | refs/heads/master | 2022-04-14T21:39:19.891433 | 2020-04-14T12:05:21 | 2020-04-14T12:05:21 | 255,591,867 | 0 | 0 | null | null | null | null | ISO-8859-2 | C++ | false | false | 2,383 | cpp | //Demeter Tamás
//511/2
//Számítsuk ki, hány napot éltünk a mai nappal bezárólag!
#include <stdio.h>
//elso megoldas
//hasznaljuk azt az informaciot,hogy szokoeveket ertelmezve egy ev 365.242199 nap-bol al --> egy honap 30.4368499 nap, atlagosan
//nem egy teljesen tokeletes megoldas, de sokkal tobb olyan pa... | [
"noreply@github.com"
] | demeter4444.noreply@github.com |
e2bc41699990a47eb0e5556703ce00ae8714c94c | a64eeba4575eee849b459dab9c7000350ee636f1 | /mediapipe/tasks/cc/vision/face_detector/face_detector.cc | a21b6edcfb279e07b228bb5a1e6dc2f3fe00a607 | [
"Apache-2.0",
"dtoa"
] | permissive | google/mediapipe | 0b6b56aff8bacc7b680c205f0788f1b49dd33f5e | 007824594bf1d07c7c1467df03a43886f8a4b3ad | refs/heads/master | 2023-09-01T16:11:21.218234 | 2023-09-01T11:55:21 | 2023-09-01T11:57:34 | 191,820,100 | 23,940 | 5,164 | Apache-2.0 | 2023-09-14T09:01:36 | 2019-06-13T19:16:41 | C++ | UTF-8 | C++ | false | false | 8,591 | cc | /* Copyright 2023 The MediaPipe Authors.
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 agreed to in writing, s... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
456a0ae1a2147a3b99c1d82c33b33965fc62dc22 | a05abfdf10b048bdc8025a8417213710eff4e66b | /SaleApp/OA/OAChecker.h | 1ea7b8dc9aa28a59b44453fc6782f6106d22f263 | [] | no_license | GetUserNameByNetwork/PMXE7 | 40900a89091f5f435f7e5b467456f9c0fc119701 | b6a6f03be291a9c330003ca8bb01f233986c65f2 | refs/heads/master | 2022-06-16T17:50:27.418813 | 2020-05-03T08:04:31 | 2020-05-03T08:04:31 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 5,541 | h | //---------------------------------------------------------------------------
#ifndef OACheckerH
#define OACheckerH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <FMX.Controls.hpp>
#include <FMX.Forms.hpp>
#include "BaseListForm.h"
#include "StartA... | [
"zhanws@vip.163.com"
] | zhanws@vip.163.com |
66992f2be1200d0a33071d6de7d4a17014f783d8 | cb80a8562d90eb969272a7ff2cf52c1fa7aeb084 | /inletTest7/0.194/U | f5085807a794e308dbe18b81d0864cb420ea14c3 | [] | no_license | mahoep/inletCFD | eb516145fad17408f018f51e32aa0604871eaa95 | 0df91e3fbfa60d5db9d52739e212ca6d3f0a28b2 | refs/heads/main | 2023-08-30T22:07:41.314690 | 2021-10-14T19:23:51 | 2021-10-14T19:23:51 | 314,657,843 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 253,854 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2006 |
... | [
"mhoeper3234@gmail.com"
] | mhoeper3234@gmail.com | |
2ddf2c6eab3674e675d0408440f778da6c620d0a | 0ab83725e2b65397f2b6258bd63e3df4f781af4f | /动态规划/思想巧妙/BZOJ 1042 [HAOI2008]硬币购物 容斥原理背包.cpp | 9e6cf7bccb3f8e834947fcb7ed590295bd89bdde | [] | no_license | ailyanlu1/ACM-14 | 422ba583916bedbe294453697e085f8fe56109d4 | 7bab8918818e3b78c2796d93b99ee1cff67317cf | refs/heads/master | 2020-06-23T07:24:31.348924 | 2013-11-05T09:25:41 | 2013-11-05T09:25:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,526 | cpp | /*
分析:
背包問題的另一種寫法。如果對於每個詢問都進行一次多重背包會TLE。
假設dp[i]表示四種硬幣不受限制的情況下的方案數,則方程如下:
dp[i] = sigma(dp[i-c[j]]),c[j]<=i
爲了避免重複計算,我們需要以j作為階段劃分。
對於每個問題,我們可以先算出價值為sum的方案數,然後-第一種硬幣超過
限制的數-第二種硬幣超過限制的數-第三種硬幣超過限制的數-第四種硬幣
超過限制的數+第一第二種超過限制的數....
很顯然,價值為sum的方案數為 dp[sum]
以下若下標為負數,方案數為0
第... | [
"545883134@qq.com"
] | 545883134@qq.com |
eede786449d3e49c3f8f438e6d73b39f7513a672 | c24b88037eb5b73a039ca7f9dd20264049759e04 | /ocpl_ros/include/ocpl_ros/rviz.h | aa96ebd28e430372d73fc4c8b19388b77845188a | [
"MIT"
] | permissive | JeroenDM/ocpl | 573f20aa4d1b21eefa823f4313bfa2913472e217 | f42bc1f53d673933868d8c64cded00520c7b6f1f | refs/heads/main | 2023-09-03T03:52:18.127627 | 2021-10-22T15:10:51 | 2021-10-22T15:10:51 | 323,396,968 | 0 | 0 | MIT | 2021-01-25T16:05:10 | 2020-12-21T16:56:25 | C++ | UTF-8 | C++ | false | false | 777 | h | /** Rviz wrapper
*
* Collect code I often use to visualize stuff in rviz.
* Not really super extra useful compared to the existing visual tools class,
* but I like it this way.
*
* */
#pragma once
#include <moveit_visual_tools/moveit_visual_tools.h>
namespace ocpl
{
typedef Eigen::Isometry3d Transform;
struct ... | [
"jeroendemaeyer@live.be"
] | jeroendemaeyer@live.be |
f72f4e5daa751e8129a2afcf064e5a1fa08956e2 | d09945668f19bb4bc17087c0cb8ccbab2b2dd688 | /atcoder/arc051-100/arc054/c.cpp | ec7b9e5a0ba3b82996b248d5ab463f26ab121d19 | [] | no_license | kmjp/procon | 27270f605f3ae5d80fbdb28708318a6557273a57 | 8083028ece4be1460150aa3f0e69bdb57e510b53 | refs/heads/master | 2023-09-04T11:01:09.452170 | 2023-09-03T15:25:21 | 2023-09-03T15:25:21 | 30,825,508 | 23 | 2 | null | 2023-08-18T14:02:07 | 2015-02-15T11:25:23 | C++ | UTF-8 | C++ | false | false | 1,288 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef signed long long ll;
#undef _P
#define _P(...) (void)printf(__VA_ARGS__)
#define FOR(x,to) for(x=0;x<(to);x++)
#define FORR(x,arr) for(auto& x:arr)
#define ITR(x,c) for(__typeof(c.begin()) x=c.begin();x!=c.end();x++)
#define ALL(a) (a.begin()),(a.end())
#... | [
"kmjp@users.noreply.github.com"
] | kmjp@users.noreply.github.com |
49cf4ca2d573011ec8689e75a5770bce35780bfb | babb754e41adc329a823e6fdbe04d384ee20448d | /QvtkData/QvtkPolyDataActor2D.cpp | 629fbefccf07ffb722554ada6c8b42a27c61d744 | [] | no_license | wuzhuobin/QvtkUtil | 15679ff0b6a11a8a72a2b42d3335a6591634a56c | a15d9a454a82c1221db436d0c1a5b025a6c4049a | refs/heads/master | 2021-06-03T20:15:58.680820 | 2021-01-28T01:36:31 | 2021-01-28T01:36:31 | 130,037,280 | 2 | 2 | null | 2021-01-28T01:36:32 | 2018-04-18T09:22:15 | C++ | UTF-8 | C++ | false | false | 9,781 | cpp | // me
#include "QvtkPolyDataActor2D.h"
#include "QvtkScene.h"
#include "QvtkData.h"
#include "QvtkPolyData.h"
// vtk
#include <vtkBox.h>
#include <vtkClipPolyData.h>
#include <vtkPlane.h>
#include <vtkCutter.h>
#include <vtkStripper.h>
#include <vtkTriangleFilter.h>
#include <vtkPolyDataMapper.h>
#include <vtkPolyData... | [
"jiejin2022@163.com"
] | jiejin2022@163.com |
646ba78b4b4f2c3a19940eb7e25bdc107a757108 | b303693c03a5623916689350cc9108dca22a9b1a | /FactoryPattern/FactoryPattern/FactoryMethod/FruitePizza.h | 6ea43f8825abad19739b47bce167c30c9648a9b8 | [] | no_license | BigFinger/HeadFirst | 17f51ce1b2b080aadd0e3b8e9416d7f282145a52 | 43589cd3581a60be1074f3001e66595e19a9b765 | refs/heads/master | 2021-05-07T22:19:14.571034 | 2019-05-19T02:59:22 | 2019-05-19T02:59:22 | 109,197,403 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 163 | h | #pragma once
#include "FactoryMethod/Pizza.h"
namespace FactoryMethod{
class FruitePizza:public Pizza{
public:
FruitePizza(PIZZATYPE type):Pizza(type){}
};
} | [
"youzhen.yz@alibaba-inc.com"
] | youzhen.yz@alibaba-inc.com |
7ace7e5fb757f3c929cbc86bc4b65d1a48c5f563 | c1c1aa16d58eea64584484eebda0f888e20d7c55 | /moses/src/RuleTable/PhraseDictionaryFuzzyMatch.h | 8679bdd1c3bcb838b25c9e682d29e0d2a6a39fd8 | [] | no_license | wlin12/mosesdecoder | 4fac02fff81fb27b222b96162cbe91009ced8627 | 92b15c103fa542a19789c043d47b629d2563bad8 | refs/heads/master | 2021-01-15T21:03:24.008359 | 2012-09-02T11:14:32 | 2012-09-02T11:14:32 | 5,650,311 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,878 | h | /***********************************************************************
Moses - statistical machine translation system
Copyright (C) 2006-2011 University of Edinburgh
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 ... | [
"fishandfrolick@gmail.com"
] | fishandfrolick@gmail.com |
d0b7506ac8ea32aa1e33b44add58f8c3815a5437 | 3f85f03f43d4c83018d512960b434a473a0784e7 | /TopAmazonQuestions/DesignAnExpressionTreeWithEvaluateFunction.cpp | bbc81e957008e24f790855ce3bedd8b34a55e3cf | [] | no_license | saubhik/ctci | e7f96c67cf7e0acbefdc7c90fb22b113221d4a94 | adcbcb49f5c9b14e2cf07d6046962a5e5faec9ba | refs/heads/main | 2023-08-20T06:18:27.977911 | 2021-09-22T01:32:16 | 2021-09-22T01:32:16 | 371,275,995 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,154 | cpp | #include <stack>
#include <string>
#include <vector>
/**
* This is the interface for the expression tree Node.
* You should not remove it, and you can define some classes to implement it.
*/
class Node {
public:
virtual ~Node() {}
virtual int evaluate() const = 0;
};
class NumNode : public Node {
public:... | [
"saubhik.mukherjee@gmail.com"
] | saubhik.mukherjee@gmail.com |
4a7e1da841d1527805b9795b3bf7c4f1ec829069 | cf3a137d90a84ad694bc3e22948086a5e5359d34 | /test/pudge-wars/UserInputProxyTest.cpp | 0e0b7c63f48128393fc418d07dd887c3e4436293 | [] | no_license | Orangeyness/pudge-wars | fcdf96ab328835a3f7638e99ea84aa915695276a | e2a80dad8382c31d501a950a37e79c04b0815722 | refs/heads/master | 2020-04-13T00:14:06.458072 | 2014-07-16T08:19:37 | 2014-07-16T08:19:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,338 | cpp | #include "UserInputProxy.cpp"
#include "gtest/gtest.h"
#include <cmath>
#include <allegro5/allegro.h>
#define _AL_KEYBOARD_STATE_INI(STATE) \
memset(STATE, 0, sizeof(ALLEGRO_KEYBOARD_STATE))
#define _AL_KEYBOARD_STATE_KEY_DOWN(STATE, KEYCODE) \
(((STATE).__key_down__internal__[(KEYCOD... | [
"reuben_bell@hotmail.com"
] | reuben_bell@hotmail.com |
f1ca5424e44c3a70bb817f9c23e4cffb1173e3a8 | d7b52e8598aac836d941186fb5d55f09ee84aa2e | /bullet/BulletCollision/NarrowPhaseCollision/btPersistentManifold.cpp | d9bd7bd9ab84a3001e1beab8a83ba9bb45c8e8bc | [] | no_license | Greentwip/external | 1ac9d88ff328d7b2c07aad665a22610263da61e7 | 9ab80480e53c2c826f0d859a69df2d56a1181bbd | refs/heads/master | 2022-11-15T10:53:08.060618 | 2020-07-11T21:59:42 | 2020-07-11T21:59:42 | 278,929,872 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | cpp | version https://git-lfs.github.com/spec/v1
oid sha256:f378532015ec13bd5c270eb5c8496be5acf9ea3bf6da57e443d36c4460b5ab97
size 8822
| [
"vjlopezcarrillo@gmail.com"
] | vjlopezcarrillo@gmail.com |
01d1c7227f401ea8f95812350cbd254d631bdb1a | 94a859bf4168ceba1a33db3b1507df8f7a6ef4b5 | /tests/button_test.cc | 52ace16796a865d1e6b04fa80a972d22f67cac31 | [] | no_license | jlivshots/epidemic-simulator | c295f07345893cda6273fa9ebc900698452c6f93 | 21cdb406af67cbb74e2cee51275541941212e897 | refs/heads/main | 2023-01-25T05:22:46.301063 | 2020-12-10T02:04:43 | 2020-12-10T02:04:43 | 320,467,695 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,234 | cc | #include <core/button.h>
#include <catch2/catch.hpp>
TEST_CASE("Button with dimensions 10 X 15") {
epidemic_simulator::Button button(glm::vec2(10, 15));
SECTION("Playing status is false by default") {
REQUIRE_FALSE(button.IsPlaying());
}
SECTION("Clicking outside of the button does not change playing sta... | [
"jlivshots@gmail.com"
] | jlivshots@gmail.com |
871bb3ad2f5bbc440d024f2a51976430cdde09b0 | f6e673c25b8f325baed7a5b8cc86c68932d7f3e8 | /Practica/PaxHeaders.2000/rellotge.hh | 1e0b21d5c3cdc02a2b1d26b9a5d663a862b063f6 | [] | no_license | carlotacb/PRO2 | a327084eef3beb60b9c78a53fe3993264a808d63 | 815111f1db6c3f69f79e1d70245a10dd6018efbd | refs/heads/master | 2021-05-15T23:03:16.384517 | 2017-10-17T06:39:07 | 2017-10-17T06:39:07 | 106,867,642 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 60 | hh | 30 atime=1431905265.867524392
30 ctime=1431803997.626270216
| [
"carkbra@gmail.com"
] | carkbra@gmail.com |
709941decdda10b400f464c082a6e82753a7275a | e98e505de1a1a3542189125ef4bdde147f9c77cd | /mojo/public/cpp/bindings/lib/binding_state.h | ca7d5a11b73adf2c9a086d42d94fa0a69e5f2104 | [
"BSD-3-Clause"
] | permissive | jesonlay/chromium | b98fca219ab71d230df9a758252058a18e075a06 | 292532fedbb55d68a83b46c106fd04849a47571d | refs/heads/master | 2022-12-16T15:25:13.723395 | 2017-03-20T14:36:34 | 2017-03-20T15:37:49 | 158,929,892 | 0 | 0 | NOASSERTION | 2018-11-24T11:32:20 | 2018-11-24T11:32:19 | null | UTF-8 | C++ | false | false | 4,161 | h | // Copyright 2015 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 MOJO_PUBLIC_CPP_BINDINGS_LIB_BINDING_STATE_H_
#define MOJO_PUBLIC_CPP_BINDINGS_LIB_BINDING_STATE_H_
#include <memory>
#include <string>
#include ... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
9c1c24a924a2447e3657d529b58438a5d7f5bdc7 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_2463486_0/C++/Aerodonkey/C-small-0.cc | d9cba0498f860c9ca39a4e0f763a32b76e15c0fe | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,329 | cc | #include <algorithm>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <math.h>
bool IsPalindrome(long long n) {
std::ostringstream oss;
oss << n;
std::string str = oss.str();
std::string::size_type len = str.length();
for (std::string::size_type i = 0; i < len / 2; i++) {
... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
3e6ff028678127f720e0bcad6983d7c135252672 | 6b01f24e25105643066989031fa763e303c6436d | /maya/Workshop2017/include/HelloWorldArgsCmd.h | fe4f9f43277a83ffda507e45e5f88ce602dd25b1 | [
"MIT"
] | permissive | smoi23/sandbox | 0d38a5a7b6d98f8ff29d32faf8ca7dd4cf459f9b | 4d02a509c82b2ec3712f91bbc86cc5df37174396 | refs/heads/master | 2019-07-28T19:24:14.162881 | 2018-02-06T14:37:20 | 2018-02-06T14:37:20 | 29,189,484 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 784 | h | /*
* HelloWorldArgs.h
*
* Created on: Jul 10, 2017
* Author: Andreas Schuster (smoi)
*/
#pragma once
#ifndef INCLUDE_HELLOWORLDARGSCMD_H_
#define INCLUDE_HELLOWORLDARGSCMD_H_
#include <maya/MPxCommand.h>
#include <maya/MArgList.h>
#include <maya/MStatus.h>
#include <maya/MSelectionList.h>
class HelloWorl... | [
"smoi@blechfisch.de"
] | smoi@blechfisch.de |
116c3cfae9ee7f8333b85058d3f4cebed93a4a6e | 10377d9a5b1e2d451d07bb64d3981e936e1035d7 | /include/NumCpp/Functions/deleteIndices.hpp | dd000627b9427ade9687ed9d26572a6c2a697c12 | [
"MIT"
] | permissive | faichele/NumCpp | 03ac79cde618d6dfe08c3352fff7d235527a130f | 7c8fc50fbe44b80eaa105f0f9258120abddfcec2 | refs/heads/master | 2020-12-29T16:25:21.426391 | 2020-01-20T05:23:34 | 2020-01-20T05:23:34 | 238,668,660 | 0 | 0 | MIT | 2020-02-06T11:02:13 | 2020-02-06T11:02:12 | null | UTF-8 | C++ | false | false | 6,977 | hpp | /// @file
/// @author David Pilger <dpilger26@gmail.com>
/// [GitHub Repository](https://github.com/dpilger26/NumCpp)
/// @version 1.2
///
/// @section License
/// Copyright 2019 David Pilger
///
/// Permission is hereby granted, free of charge, to any person obtaining a copy of this
/// software and associated documen... | [
"dpilger26@gmail.com"
] | dpilger26@gmail.com |
12130d7a6ccebbb8875f845fef0722854ca18f6e | 3f3e9283587c9e6fe3d6bd6d2ce1c16d1fca6218 | /base/src/InstructionConstraint.cc | 31fa4bc36be3c48264848f4e8f240089ddc35260 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | nujgnayuf/force-riscv | 5deedc074e130d467e4204ab51e4d28fc89af989 | 4c1e837263c80145359eb48e3cd62766c13f9cc4 | refs/heads/master | 2022-10-17T18:09:11.118800 | 2020-06-13T23:26:17 | 2020-06-13T23:26:17 | 272,687,985 | 0 | 1 | null | 2020-06-16T11:18:55 | 2020-06-16T11:18:55 | null | UTF-8 | C++ | false | false | 3,179 | cc | //
// Copyright (C) [2020] Futurewei Technologies, Inc.
//
// FORCE-RISCV is 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
//
// THIS SOFTW... | [
"jwang1@futurewei.com"
] | jwang1@futurewei.com |
88397638e6eec250a628ce6034bd3c3f718fb213 | 26a2ac17474978c2d838187cbf57d684b7250e07 | /ch09/ex9_27.cpp | 92034c24550fcd61f988c51d6a99c368ecacba8d | [] | no_license | Huangtuzhi/CppPrimer | ab2d0b7881f4c5cf402cbd2310119e8c723a5911 | f8594341c9865a9b2c22bc997690ddffac58e383 | refs/heads/master | 2016-09-05T17:04:42.576479 | 2015-05-24T14:17:00 | 2015-05-24T14:17:00 | 32,782,742 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 549 | cpp | #include <vector>
#include <string>
#include <list>
#include <iostream>
#include <forward_list>
using namespace std;
bool rmOddNumber(forward_list<int>& list)
{
forward_list<int>::iterator pre = list.before_begin();
forward_list<int>::iterator curr = list.begin();
for(curr;curr!=list.end();)
{
if(*curr % 2)
... | [
"heying1991@gmail.com"
] | heying1991@gmail.com |
5a1ddf18ea2f511476d1b21147bb4241aa635b8e | e69fb3786ca884e9f4949854f1d68e9833b0cb11 | /647.回文子串.cpp | 7973f890c97facc3a2006062f2cd0177c69b145c | [] | no_license | YangfeiLiu/LeeCode | fe39f7bd142925cf6e126dbaad3436668997c694 | 8e518ffff8f7f8a74d20240b64557c906af80faf | refs/heads/master | 2022-12-11T06:42:58.813220 | 2020-09-13T02:44:58 | 2020-09-13T02:44:58 | 288,401,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,498 | cpp | /*
* @lc app=leetcode.cn id=647 lang=cpp
*
* [647] 回文子串
*/
// @lc code=start
class Solution {
public:
/*
//暴力,时间复杂度是O(n^2logn)
int countSubstrings(string s) {
int len = s.length();
if(len < 2) return len;
int cnt = len;
for(int i = 0; i < len - 1; i++){
for(i... | [
"gentleman_lyf@163.com"
] | gentleman_lyf@163.com |
c0b20934bc1fb3c45c8f2bbacdff4dc943104a1f | 9e42255b4e4bfa3f3a83be729a8612dc0b2dc1eb | /src/GlobalConfig.cpp | 98caf00a9f14f315d3d39db7a946ab1aaa2d19d6 | [] | no_license | brian-kelley/Magnate | 69abcfb1e4d01da59070a2b2718ace6d7631d26e | d9f18f94a95c67932f23cd132391bf5878b314f2 | refs/heads/master | 2021-03-27T19:52:53.759746 | 2017-03-05T21:05:47 | 2017-03-05T21:05:47 | 61,687,786 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 150 | cpp | #include "GlobalConfig.h"
const int GlobalConfig::WORLD_SIZE = 257;
const int GlobalConfig::WINDOW_W = 640;
const int GlobalConfig::WINDOW_H = 480;
| [
"brian.honda11@gmail.com"
] | brian.honda11@gmail.com |
a31718bfa34de0fb6dba37a03b143146ce17d694 | cdba8cfd0256a0159068bc9ea525c60f3764b6ef | /UnnamedRPG/Source/UnnamedRPG/QuestSystem/QuestObjective.cpp | 0594ad755f799e265a5dedfdae226b6ccdb7f715 | [] | no_license | JNecov75/Sellsword | 8e871a772152a940efda084ee2fea2ecd6d2b55e | d3b22d04d85c136a13f0f0c762ffdc4dd99fce27 | refs/heads/master | 2021-01-10T16:27:50.468934 | 2015-12-12T18:31:17 | 2015-12-12T18:31:17 | 47,864,234 | 1 | 0 | null | 2015-12-12T15:19:01 | 2015-12-12T04:31:43 | null | UTF-8 | C++ | false | false | 859 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "UnnamedRPG.h"
#include "QuestObjective.h"
FQuestObjective::FQuestObjective() : _Handler(nullptr), _ObjectiveStatus(EQuestStatus::NotStarted)
{
}
void FQuestObjective::Init()
{
if (ObjectiveType == EQuestObjectiveTypes::EnterAre... | [
"alademm@gmail.com"
] | alademm@gmail.com |
1d7ba2338d67e4c5cd159680c41ce6dce7364b12 | 0c0d2baaf1925196c8963bea3c57347341ef6ba1 | /lineagehw/livedisplay/MixedDisplayModes.h | 8db5fd569c0185ee71d2520b855e3fabec3cf7b0 | [] | no_license | LineageOS/android_device_oneplus_oneplus3 | 87566b55349f89833722eb1f87aea385a3a60341 | e975bda0561217fae2a342c2e8c1848b3e3cf370 | refs/heads/lineage-18.1 | 2023-06-09T19:00:49.941566 | 2021-12-05T07:09:06 | 2021-12-05T07:09:06 | 75,635,972 | 244 | 419 | null | 2022-10-02T20:07:05 | 2016-12-05T15:02:55 | C++ | UTF-8 | C++ | false | false | 1,853 | h | /*
* Copyright (C) 2019-2020 The LineageOS 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 applicab... | [
"dianlujitao@lineageos.org"
] | dianlujitao@lineageos.org |
d048ab813f79b0e6ef001924b5b3e859f9c5a67b | bad16eb9b35971135f8fc055b40d87006621d2de | /playground/2020/cf1436/D.cc | 3c70a40a2ef6e32777f63d93274fea26c1e77d8a | [] | no_license | ymd45921/HUST-ACM-training | 1e1c47e40d419987731e047f493d614f0220346b | 1976e8351c0ba445ad8bfe0124dd88215d768cc8 | refs/heads/master | 2023-06-12T13:52:31.974586 | 2021-07-14T14:30:49 | 2021-07-14T14:30:49 | 317,748,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,303 | cc | /**
*
* 这个树形…… 还真不算难(
* 首先要想到市民是尽可能平均分配的,强盗抓大头
* 如果子树更优,那么一定会更新答案==
*
* 日常爆 int 不用 long long(
*/
#include <bits/stdc++.h>
using namespace std;
using longs = long long;
using uint = unsigned;
using ulongs = unsigned long long;
using longd = long double;
#define eprintf(x...) fprintf(stderr, x)
#define var(x) "... | [
"ymd45921@163.com"
] | ymd45921@163.com |
1d8f7aa4ca9203a86d4c447cb6f9a39e56472c69 | adec2460d6c440ceca87c319645bea27aff23c67 | /Calculator/Expression.h | 62f4acf47998a8262c48dead16535c3ac07229ab | [] | no_license | Trompowsky/Calculator | 88bea261f24561d0e23630483e1bf110ac57fdee | af1830ef8fa60531ad6ec1ecd8643502ecbd859c | refs/heads/master | 2020-12-24T18:41:31.170378 | 2016-04-22T00:33:21 | 2016-04-22T00:33:21 | 56,814,010 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 422 | h | #ifndef EXPRESSION_H_INCLUDED
#define EXPRESSION_H_INCLUDED
#include <vector>
#include <iostream>
using namespace std;
class Expression{
public:
Expression(string Exp);
~Expression();
float eval();
string printnum();
string printop();
float Left();
float Right();
bool Emp();
int po... | [
"ali.gh.abdulla@gmail.com"
] | ali.gh.abdulla@gmail.com |
f39d1904c3aadd594a4dbe81a3da9e349ce06cc6 | 721ecafc8ab45066f3661cbde2257f6016f5b3a8 | /csacademy/bits/postivie-xor.cpp | 05bfb715ddb11f1d141907b4e2b5902960df4015 | [] | no_license | dr0pdb/competitive | 8651ba9722ec260aeb40ef4faf5698e6ebd75d4b | fd0d17d96f934d1724069c4e737fee37a5874887 | refs/heads/master | 2022-04-08T02:14:39.203196 | 2020-02-15T19:05:38 | 2020-02-15T19:05:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,908 | cpp | #include<bits/stdc++.h>
#define ABS(a) ((a < 0) ? ((-1)*(a)) : (a))
#define F(i,a,b) for(long long i = (long long)(a); i < (long long)(b); i++)
#define RF(i,a,b) for(long long i = (long long)(a); i >= (long long)(b); i--)
#define MIN3(a,b,c) (a)<(b)?((a)<(c)?(a):(c)):((b)<(c)?(b):(c))
#define MAX(a,b) (a)>(b)?(a):(b)
#... | [
"saurav007tiwary@gmail.com"
] | saurav007tiwary@gmail.com |
90b01375389df970772bf779ad570f9bfdeff5c5 | d35b0bd401bcc2089fcabb1d0d2fd298b8cc1941 | /GDAL/include/xercesc/util/NetAccessors/WinSock/BinHTTPURLInputStream.hpp | cd5e6b6f93f417c19b7436ebe3cd0b356b46f20e | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"Zlib"
] | permissive | hex-hex/ZxLib | 9bad09c8190d4458a84279c02b6e5070201a9c7b | 286d4f48217b38920cf81404774617915ea99874 | refs/heads/master | 2021-07-23T04:28:29.255180 | 2016-10-17T07:41:01 | 2016-10-17T07:41:01 | 71,088,540 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,287 | hpp | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... | [
"noreply@github.com"
] | hex-hex.noreply@github.com |
340d18b3e428485b6bf17ee14d79965f36c3a388 | 5b1dd812023bbc62fd0efe8856c1f80a881383c1 | /lecture_4/exercise_3.cpp | 733778ace7d538ed8460148c307597bc456c29d0 | [] | no_license | oskarski/pjc_cw | e5bff228bc95d3e11b2c24c72c1b2165ab6c16d8 | 38b3a0a86ecb0ce3e15538d266deb9a23993b3c2 | refs/heads/master | 2023-02-24T12:32:25.950485 | 2021-01-09T11:08:50 | 2021-01-09T11:08:50 | 305,766,907 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,224 | cpp | #include <iostream>
#include <cmath>
#include <vector>
using namespace std;
template<typename T>
vector<size_t> smallSum3(const vector<T> &input_vector) {
vector<size_t> output_vector(3);
T smallest_abs_sum = abs(input_vector.at(0) + input_vector.at(1) + input_vector.at(2));
for (int i = 0; i < input_vec... | [
"oskar.kupski@gmail.com"
] | oskar.kupski@gmail.com |
66d11d442ee80fe7c0fc74aa825caff24090b01d | 4c6d33d33b1b42b394110c8d97fa2fd0f2a01bfe | /Src/TitleScene.cpp | 25f98f0b2c5471633475226ab6065f486c40bfbe | [
"MIT"
] | permissive | tn-mai/OpenGL3D2018 | 191efb113ef564a6646f23a5a85c991220430d17 | 39f93ee123794fbd805ab395d9356c1968bead80 | refs/heads/master | 2020-03-30T02:21:41.912517 | 2019-08-20T05:35:52 | 2019-08-20T05:35:52 | 150,627,813 | 1 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,806 | cpp | /**
* @file TitleScene.h
*/
#include "TitleScene.h"
#include <glm/gtc/matrix_transform.hpp>
/**
* 初期化.
*/
bool TitleScene::Initialize()
{
std::vector<std::string> modelList;
modelList.push_back("Res/Plane.obj");
if (!meshList.Allocate(modelList)) {
return false;
}
progSimple.Reset(Shader::BuildFromFile(... | [
"rabitfiver@gmail.com"
] | rabitfiver@gmail.com |
1ce0bd2fece732d5bb2220d18110cc4789888f0d | 7fca73b8b2c41ae60c7428ca69ace83214fc0f2a | /algorithms/C++/Euler Toient Theorem/toient.cpp | dab931e284a7640ab2a48e0def435542641e5e5f | [
"Apache-2.0"
] | permissive | akash19jain/Algorithms | e849842364f47d4c44117693ca28ddb147747de0 | 0fcb6c3c6a625232281c8c05c6ce44da3c8323f8 | refs/heads/master | 2023-01-03T17:04:41.731439 | 2020-10-29T05:57:50 | 2020-10-29T05:57:50 | 212,042,970 | 0 | 0 | Apache-2.0 | 2019-10-01T08:04:44 | 2019-10-01T08:04:43 | null | UTF-8 | C++ | false | false | 875 | cpp | #include<bits/stdc++.h>
using namespace std;
// O(sqrtN)
// what we are doind is -> result = result*(1-1/p)
int phi(int n){
int result = n;
for(int i=2; i*i<=n; i++){
if(n%i == 0){
while(n%i == 0){
n = n/i;
}
result -= result/i;
}
}
if(n>1)
result -= result/n;
return result;
}
//Euler's Toien... | [
"noreply@github.com"
] | akash19jain.noreply@github.com |
7cee6882c74bab744674622033929cdb0f4f8f1f | 4e9aa6d8635d6bfcbaeecbb9420ebdc4c4489fba | /ARXTest/cadtest/MineGECmds/PropertyDataDlg2.h | ea0ac95f6cf428a34205d62a0ef00c68b6e8b3b8 | [] | no_license | softwarekid/myexercise | 4daf73591917c8ba96f81e620fd2c353323a1ae5 | 7bea007029c4c656c49490a69062648797084117 | refs/heads/master | 2021-01-22T11:47:01.421922 | 2014-03-15T09:47:41 | 2014-03-15T09:47:41 | 18,024,710 | 0 | 3 | null | null | null | null | GB18030 | C++ | false | false | 889 | h | #pragma once
#include "afxcmn.h"
#include "resource.h"
#include "ListCtrlEx.h"
class PropertyDataDlg2 : public CDialog
{
DECLARE_DYNAMIC(PropertyDataDlg2)
public:
PropertyDataDlg2(CWnd* pParent = NULL); // 标准构造函数
virtual ~PropertyDataDlg2();
// 对话框数据
enum { IDD = IDD_PROPERTY_DLG2 };
protected:
virtual voi... | [
"anheihb03dlj@163.com"
] | anheihb03dlj@163.com |
c2ecfd0509717f62eb9deb5900b703059a904353 | 249b89bffe7f6f493866d4b0a559f7819dc8e896 | /heap1.cpp | bae9b617eed37345c14c60e0f24d06612d877148 | [] | no_license | arpitarik/heap | 0ab2529d9220f15ca1f0432b6aa8f08c5aca2b18 | e3420d230f62617d2955f98fc323bbedac2dfc68 | refs/heads/master | 2020-05-09T10:47:11.602520 | 2019-04-12T17:50:05 | 2019-04-12T17:50:05 | 181,057,545 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,683 | cpp | #include<iostream>
using namespace std;
//create node
class Node{
public:
int data;
Node*parent;
Node*left;
Node*right;
//constructor and this time temp->data=value == Node*temp(value)
Node(int value){
data=value;
parent=NULL;
left=NULL;
right=NULL;
}
};
//create class
class BiST{
public:
Node*root... | [
"noreply@github.com"
] | arpitarik.noreply@github.com |
6fa796820ae8153dfbc9ee04e48986b4836ecfbf | 680d9b3a49693438388d00a7d688f0021138e257 | /src/notes_database.cc | d09a43f855cc5081d00541fa4dba7e785c6122e6 | [] | no_license | nthjelme/nodejs-domino | 4853773d9e9cd34c1e33b654f95dfedd8123e006 | a3ec53131a51b455b8db9e9412f460a6e9b715ce | refs/heads/master | 2020-04-07T04:50:02.852830 | 2019-06-25T06:25:54 | 2019-06-25T06:25:54 | 55,603,999 | 16 | 8 | null | 2017-01-28T08:48:49 | 2016-04-06T12:30:10 | C++ | UTF-8 | C++ | false | false | 4,277 | cc | #include "notes_database.h"
#include "DataHelper.h"
#include <iostream>
#include <map>
#include <iterator>
#include <vector>
#include <nsfdb.h>
#include <nif.h>
#include <nsfnote.h>
#include <osmem.h>
#include <osmisc.h>
#include <ctime>
#include <stdio.h>
NAN_METHOD(openDatabase) {
v8::String::Utf8Value val(info[0]-... | [
"nhjelme@gmail.com"
] | nhjelme@gmail.com |
6fb462fdb97a4ee081ab756e630ac20bb6c7c93f | 1cb289f37bf81ecda0d943864eb5937a9487ce50 | /Left_Parenthesis_Command.cpp | c1e0bf1a19ab4eade339cdf3860df0a0250a0bca | [] | no_license | arvindnair/aooadassign3 | 3d9295079e7d815bffbdc6895cff0c78a5806f6f | 082b39d06f2205ddfaed98e2bfe42f5f260e33f3 | refs/heads/master | 2020-12-04T00:28:16.374466 | 2016-08-31T23:51:39 | 2016-08-31T23:51:39 | 67,081,745 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,355 | cpp | // Honor Pledge:
//
// I pledge that I have neither given nor received any help
// on this assignment.
#include <string> // for printing std::string definition.
#include <iostream> // for printing I/O messages.
#include <stdexcept> // for throwing excepti... | [
"arvnair@iupui.edu"
] | arvnair@iupui.edu |
de9e8bed52e17cf44c166bc7bec7557f03330d65 | 3a320e53c3cc7d651ecfeb854d8366895517d20a | /Lab6/graphics.h | 3aced2820d494bf4476c0311bb385e40467057a9 | [] | no_license | CChongQ/Programming-Fundamentals | 2bfb1af94999cbf526a86e435019d6bc5969502f | 01da19594bdd2d535854b518fcd8089feb3f0626 | refs/heads/master | 2023-03-18T10:39:14.390769 | 2021-03-16T16:54:43 | 2021-03-16T16:54:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,687 | h | #ifndef GRAPHICS_H
#define GRAPHICS_H
#include <iostream>
#include <string>
#include "easygl_constants.h"
using namespace std;
// Set X11 by default, if neither NO_GRAPHICS nor WIN32 are defined
#ifndef NO_GRAPHICS
#ifndef WIN32
#ifndef X11
#define X11
#endif
#endif // !WIN32
#endif // !NO_GRAPHICS
/* Graphics.h
*... | [
"noreply@github.com"
] | CChongQ.noreply@github.com |
75bdebd49c0c3e087139bb81de40cea5a0307f38 | 635cb95f31b066700103b48f8f6ae65002d67ff4 | /include/util/server_config.h | 85f775c4720166ba9142cc97fdd7874ab1bd5f0d | [] | no_license | pesiwang/vcs | de625f522af3fe31f18104e89ae46b3818965297 | 3e69d1309f74dab4d5f47ae3232c6db6616327a0 | refs/heads/master | 2020-05-21T01:59:21.717780 | 2017-03-20T10:23:15 | 2017-03-20T10:23:15 | 84,554,713 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 943 | h | #ifndef _UTIL_SERVER_CONFIG_H
#define _UTIL_SERVER_CONFIG_H
#include <string>
#include <map>
#include "json/json.h"
class ServerConfig
{
public:
void load(const char* configFile);
int getIntValue(const std::string& key) const;
const std::string& getStrValue(const std::string& key) const;
double getDoubleValue(con... | [
"wanglei6@yy.com"
] | wanglei6@yy.com |
dd6499faeaa150379a894049dd47fd8412a4c637 | 2b6263485f7b45d048387744f82198abe3230505 | /VS/Arduino.VC/Laser/Laser.cpp | 2d56602b25e2949f46c3b75dcf4a38402b894a33 | [] | no_license | unkaMoMo/CNCStepper | b7338ae368ab670b24c69b28c4d3e3f826857bd6 | 672206dc37b775dcd07a49dc926b39b6900f9a53 | refs/heads/master | 2020-04-01T00:21:36.099052 | 2018-09-23T20:41:16 | 2018-09-23T20:41:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,583 | cpp | ////////////////////////////////////////////////////////
/*
This file is part of CNCLib - A library for stepper motors.
Copyright (c) 2013-2018 Herbert Aitenbichler
CNCLib is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free So... | [
"h.aitenbichler@eduhi.at"
] | h.aitenbichler@eduhi.at |
021372455f89bdb63fc3f563cf1af05ef002b381 | c7bb17447090c359eb9ce240c58189bc934a19a2 | /ouzel/audio/coreaudio/CAAudioDevice.cpp | 1178c8d8f95fb2ec2347c7a8e63db688f5eae930 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | jaccen2007/ouzel | f06ee604c250d19f6ab23e4414b097ebbbd1e013 | 6981f79f6ddf5fb93d4cacf6e6357383a0cf7d2f | refs/heads/master | 2022-01-08T15:04:10.811120 | 2019-07-19T12:35:16 | 2019-07-19T12:35:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,387 | cpp | // Copyright 2015-2019 Elviss Strazdins. All rights reserved.
#include "core/Setup.h"
#if OUZEL_COMPILE_COREAUDIO
#include <system_error>
#include "CAAudioDevice.hpp"
#include "core/Engine.hpp"
#include "utils/Log.hpp"
#if TARGET_OS_IOS || TARGET_OS_TV
# include <objc/message.h>
# include <objc/NSObjCRuntime.h>
e... | [
"elviss@elviss.lv"
] | elviss@elviss.lv |
282a58cc0d3e6ad9a2793d58dbc5cb824ec86f2b | 6c5d618691d02faf1c1dafc5d27397fbc4d65df4 | /ch7/Exercise/uva11214/main.cpp | 08fcb42ad09b26e3cbc8b6d8d9fe666b2f7ebb26 | [] | no_license | zenmiao7/AOAPC | 1df23232d5f2e371bb74f4ba00fed70fad6fe902 | 0940159c017b77402252856f35d74fb7a7cecff7 | refs/heads/master | 2023-06-06T23:53:50.755520 | 2018-08-09T16:09:49 | 2018-08-09T16:09:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,454 | cpp | #include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>
using namespace std;
int n, m, kase = 0;
int vis[4][30]; //行、列,主对角线、副对角线
int map[10][10];
bool in(){
cin >> n;
if(n == 0) return false;
cin >> m;
char ch;
memset(map,0, sizeof(map));
for(int i=0;i < n;++i)
... | [
"blacksmith96@yahoo.com"
] | blacksmith96@yahoo.com |
c61f12db94c2a5cdb42a1a0cd4a18f79a3d7ec22 | 083b3f5b0d23c269c6a9ff1ea413e70fb799a497 | /Leetcode Challenge/08_August_2020/C++/Week 4/2_Stream of Charcaters.cpp | d4ee526db9e3994d111ebd456350a66c21af8cb4 | [] | no_license | HectorIGH/Competitive-Programming | b2e02dff140d9ebb06c646f7be0b53ea0afe90c9 | 467058c63e8a7e76805feebe3020bac4d20516a6 | refs/heads/master | 2022-12-31T18:32:46.824626 | 2020-10-16T20:38:33 | 2020-10-16T20:38:33 | 279,733,136 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,800 | cpp | //Implement the StreamChecker class as follows:
//
//StreamChecker(words): Constructor, init the data structure with the given words.
//query(letter): returns true if and only if for some k >= 1, the last k characters queried (in order from oldest to newest, including this letter just queried) spell one of the words in... | [
"HectorIGH@users.noreply.github.com"
] | HectorIGH@users.noreply.github.com |
6a3ef1fab17c2fbce87daae0904b2065b90d823f | 8020ba999df6a02f547654ad3a64fddee8671941 | /mq135_AirQuality/mq135_AirQuality.ino | 64efc872cdc2fd015c8165fc4ff8cef4196db5db | [] | no_license | MautassimAshrafAli/Pollution | dd5be5382954c0cb21977bdb28a8389825af82af | 162a2d1c8f225aa5411c7666214946d1f6bbc756 | refs/heads/master | 2023-03-07T18:10:00.876167 | 2021-02-16T02:56:56 | 2021-02-16T02:56:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,342 | ino | /*
* Atmospheric CO Level..............400ppm
* Average indoor co.............350-450ppm
* Maxiumum acceptable co...........1000ppm
* Dangerous co levels.............>2000ppm
* to convert ppm to % -----> ppm / 10000
*/
#include <LiquidCrystal.h> //Header file for LCD
const int rs = 13, en = 12, d4 = 11,... | [
"mutassimashraf8@gmail.com"
] | mutassimashraf8@gmail.com |
2e0859280f39f0836d14b9c22393ab2dafeafc03 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_old_hunk_4538.cpp | 6e64fefc715fbaf86bca6185df95c469779e47e0 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 557 | cpp | h2_proxy_request_done *done)
{
if (!h2_proxy_ihash_empty(session->streams)) {
cleanup_iter_ctx ctx;
ctx.session = session;
ctx.done = done;
ap_log_cerror(APLOG_MARK, APLOG_DEBUG, 0, session->c, APLOGNO(03366)
"h2_proxy_session(%s): ... | [
"993273596@qq.com"
] | 993273596@qq.com |
3f62639ab3a914e0ec6b1d94c687877a0f484536 | fcdea24e6466d4ec8d7798555358a9af8acf9b35 | /Engine/mrayOIS/mrayOISInputManager.cpp | 160c6d3869cbf665c8d25319e1a4486629c91a83 | [] | no_license | yingzhang536/mrayy-Game-Engine | 6634afecefcb79c2117cecf3e4e635d3089c9590 | 6b6fcbab8674a6169e26f0f20356d0708620b828 | refs/heads/master | 2021-01-17T07:59:30.135446 | 2014-11-30T16:10:54 | 2014-11-30T16:10:54 | 27,630,181 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,977 | cpp |
#include "stdafx.h"
#include "mrayOISInputManager.h"
#include <EventMemoryManager.h>
#include <MouseEvent.h>
#include <KeyboardEvent.h>
#include <JoystickEvent.h>
#include <EventQueue.h>
#include <TraceManager.h>
#include <StringConverter.h>
#include <LogManager.h>
#include <sstream>
#include <CJ... | [
"mrayyamen@gmail.com"
] | mrayyamen@gmail.com |
7b8cb9d30e722b6a2c24f4dc24c5695528aa6de8 | adbca08eb9f4f8a96968817a07611dae010777b4 | /DSPX_engine.h | defb8241c9a19523ad6c40d0d3da707ec08aa8c1 | [
"MIT"
] | permissive | marcoStocchi/DSPX_Fast_wavelet_transform_assisted_predictors_of_streaming_time_series | 8d891970d8172eb8a59dd3823275465b4748b2d9 | 26ea4135805961e3fdae9e899c2148874998de22 | refs/heads/master | 2021-01-19T21:33:56.680568 | 2017-04-25T15:58:15 | 2017-04-25T15:58:15 | 88,669,328 | 10 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 15,231 | h | // Copyright (c) <2016> <Marco Stocchi, UNICA>
// 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 use, copy, modify, merge, publish,... | [
"noreply@github.com"
] | marcoStocchi.noreply@github.com |
0bf7bf120912267dd9f108060af2ecb99cae3d65 | f81124e4a52878ceeb3e4b85afca44431ce68af2 | /re110_2/37/phi | b22bf1ec06679cf1092679481a8f45840ea6ba5e | [] | 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 | 928,328 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"chaseguy15"
] | chaseguy15 | |
449a114346b70b281ebfbce21444c7c6f4a19bf3 | 2f1fd1d5e06fb9b58f84d5b2606daa51925c1d5a | /Assignment 3/Q5 ASSIGNMENT 5.cpp | af7ba9647541aa137d18224c13d31dd1552181fe | [] | no_license | ishita555/CST_JIET_Assignments | dc06454aae3a5c1e3a313578415938864c61923c | 97f50f52723c03d73cc8bf2cfe3c7c57c22f322e | refs/heads/master | 2022-06-18T05:11:20.626823 | 2020-05-14T08:07:06 | 2020-05-14T08:07:06 | 263,578,401 | 0 | 0 | null | 2020-05-13T09:02:15 | 2020-05-13T09:02:14 | null | UTF-8 | C++ | false | false | 789 | cpp | //sorting using function
#include <stdio.h>
int sort(int *a,int n)
{
int i,j,temp;
for(i=0; i<n-1; i++)
{
for(j=0; j<n-i-1; j++)
{
if(a[j]>a[j+1])
{
temp=a[j];
a[j]=a[j+1];
a[j+1]=temp;
}
... | [
"noreply@github.com"
] | ishita555.noreply@github.com |
554f9131a34252cded7cbd240310d4f40853da51 | 775acebaa6559bb12365c930330a62365afb0d98 | /source/public/includes/XMLContentIterator.h | b17e27837f615d4920f97abe88ebbf1d51cc6fbc | [] | no_license | Al-ain-Developers/indesing_plugin | 3d22c32d3d547fa3a4b1fc469498de57643e9ee3 | 36a09796b390e28afea25456b5d61597b20de850 | refs/heads/main | 2023-08-14T13:34:47.867890 | 2021-10-05T07:57:35 | 2021-10-05T07:57:35 | 339,970,603 | 1 | 1 | null | 2021-10-05T07:57:36 | 2021-02-18T07:33:40 | C++ | UTF-8 | C++ | false | false | 5,682 | h | //========================================================================================
//
// $File: //depot/devtech/16.0.x/plugin/source/public/includes/XMLContentIterator.h $
//
// Owner: Lonnie Millett
//
// $Author: pmbuilder $
//
// $DateTime: 2020/11/06 13:08:29 $
//
// $Revision: #2 $
//
// ... | [
"75730278+Tarekhesham10@users.noreply.github.com"
] | 75730278+Tarekhesham10@users.noreply.github.com |
c7decbaa9d0fb838a72537332d289e17da411055 | 6a408c6754e8cad8376ff030570129963a0f7b2c | /lesson19/l19-7/l19-7/main.cpp | 499e5e464bf41d99fd76588d757afe8ca89ea71b | [] | no_license | dimmkan/MSHP | e4ed8cb6528747f10900c6fe5bcf650238d3f9f6 | 956629ee2b83df28caacc2554bf7a00e1aad848c | refs/heads/master | 2020-09-07T00:56:01.756864 | 2020-05-30T08:54:08 | 2020-05-30T08:54:08 | 220,607,366 | 1 | 0 | null | 2020-01-31T15:52:26 | 2019-11-09T07:29:26 | C++ | UTF-8 | C++ | false | false | 430 | cpp | #include <iostream>
using namespace std;
int main()
{
int n, min, max;
cin >> n;
int arr[n] = {};
for(int i = 0; i < n; i++){
cin >> arr[i];
}
min = max = arr[0];
for(int i = 1; i < n; i++){
if(arr[i] > max){
max = arr[i];
}
if(a... | [
"dimmkan@mail.ru"
] | dimmkan@mail.ru |
f27a3cc496acbea92a9c1f03fb0b7055287647e8 | 10ae6a2fb20ac0897a025b2b390849fc8c972aa3 | /slitscan/src/RemoteEvent.h | c9e11683b6723fbdb1c640b33c4a8ecf8d98ce26 | [
"MIT"
] | permissive | silky/MicroMacro | 7837987177cf8a39f549df5c1d3d165be95e1742 | 91d868a3bc1df59dd0fae3f1512ea25f0b758958 | refs/heads/master | 2020-05-29T11:52:29.692210 | 2015-04-16T11:06:19 | 2015-04-16T11:06:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 675 | h | //
// RemoteEvent.h
// slitscan
//
// Created by Chris Mullany on 16/03/2015.
//
//
#pragma once
#include "ofMain.h"
class RemoteEvent : public ofEventArgs {
public:
enum Type {SWITCH_MODE};
Type type;
string groupIdsString;
RemoteEvent(Type type, string groupIdsString) {
this->ty... | [
"me@chrismullany.com"
] | me@chrismullany.com |
34eb8b05b61c67cd2953a0e0792884c7e8ee6ea1 | d5784a924fa8777c24d58923a3857c4889a8b3ec | /Algorith_cpp/Sort/BubbleSort.hpp | 60c2379efd790659dc33a9ced53778fefa5143bc | [] | no_license | RootRefresh/algorithm | 0ccf87250131e4f63e338890ebabe0dd233ce4d0 | c3d87847b9b0d3ded11268bc5ca3ab52e81d7b0c | refs/heads/master | 2021-01-01T17:35:15.596743 | 2018-08-09T16:22:38 | 2018-08-09T16:22:38 | 98,106,313 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 277 | hpp | //
// BubbleSort.hpp
// Algorith_cpp
//
// Created by 丰华财经 on 2018/8/9.
// Copyright © 2018年 com.lottery.www. All rights reserved.
//
#ifndef BubbleSort_hpp
#define BubbleSort_hpp
#include <stdio.h>
void bubbleSort(int *a, int n);
#endif /* BubbleSort_hpp */
| [
"1779752566@qq.com"
] | 1779752566@qq.com |
28a6c483cc2dc3196f60317fc033c0d1c73c97e1 | 8e6bf6f14721fa4ae2ca64d011bb49c01cf2a5a0 | /prvlabel.cpp | d00cb80d5aafda3ed47860ad389b211f67ef81b8 | [] | no_license | Forlorin/PigFarm | cb27d9e492ec7a9b81f45be7b4a00ceb97ea5025 | 088250e3c5e7d7bdfe0f13a3e70f5247fe04f815 | refs/heads/master | 2023-01-04T08:07:08.070448 | 2020-10-19T14:18:28 | 2020-10-19T14:18:28 | 292,446,332 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,342 | cpp | #include "prvlabel.h"
#include <QString>
#include <qdebug.h>
PrvLabel::PrvLabel()
{
bindFarm=nullptr;
mode=detail;
this->setStyleSheet("background-color:rgb(42, 57, 80);");
this->setAlignment(Qt::AlignTop);
this->move(1040,20);
this->setFixedSize(500,780);
QFont ft;
f... | [
"noreply@github.com"
] | Forlorin.noreply@github.com |
b9509c31259cd558196403cdbd414acb7a4a81a9 | 16790af9c66ecca10eb32c8ee9396bfb43bcf5a1 | /src/shared/engine/loader/DLLoader.hpp | 5a0910ab04db19a75bde69dffe4fdc697f63370f | [] | no_license | TomCOUSIN/R-Type | 03ec48af00ca9876df7d910af1c37760b440dffc | 17028d3121bbfbcf1078f020483759c7764f8560 | refs/heads/master | 2021-05-17T12:09:49.763507 | 2019-12-03T08:06:12 | 2019-12-03T08:06:12 | 250,768,399 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,996 | hpp | /*
** EPITECH PROJECT, 2022
** CPP_rtype_2019
** File description:
** Created by tomcousin,
*/
#ifndef CPP_RTYPE_2019_DLLOADER_HPP
#define CPP_RTYPE_2019_DLLOADER_HPP
#include <iostream>
#include <dlfcn.h>
#include <memory>
namespace rtype::engine::loader {
/**
* @brief DLLoader to load shared library
... | [
"tom.cousin@epitech.eu"
] | tom.cousin@epitech.eu |
520626cf12cd089d8e0e5413777ae028c9deb5c2 | 4f8e66ebd1bc845ba011907c9fc7c6400dd7a6be | /SDL_Core/src/components/JSONHandler/src/RPC2ObjectsImpl/NsRPC2Communication/UI/UpdateTurnListResponse.cpp | c54fe06de6b23a8cee53f607d43c5b80bd7ec2ac | [] | no_license | zhanzhengxiang/smartdevicelink | 0145c304f28fdcebb67d36138a3a34249723ae28 | fbf304e5c3b0b269cf37d3ab22ee14166e7a110b | refs/heads/master | 2020-05-18T11:54:10.005784 | 2014-05-18T09:46:33 | 2014-05-18T09:46:33 | 20,008,961 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,572 | cpp | //
// Copyright (c) 2013, Ford Motor Company
// 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 code must retain the above copyright notice, this
// list of condit... | [
"kburdet1@ford.com"
] | kburdet1@ford.com |
e692010556edb75483b163e6932e5d547da75d04 | 961d86ab773227f82ab8c3ee3b0022ecaabc2da9 | /example/websocket-client-ssl/websocket_client_ssl.cpp | 5338c23a4fc115c1effcef0b2777095d1070edb4 | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | agnat/beast | d4951ef029f107437a53a867d0c5168d3df477f7 | 20a8f7d75b45f0ababc2547f50833b7f4ba636d3 | refs/heads/develop | 2021-01-02T23:11:50.833731 | 2017-08-05T01:40:54 | 2017-08-05T02:02:21 | 99,490,399 | 0 | 0 | null | 2017-08-06T14:04:31 | 2017-08-06T14:04:31 | null | UTF-8 | C++ | false | false | 2,987 | cpp | //
// Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// 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)
//
// Official repository: https://github.com/boostorg/beast
//
#include "../common/... | [
"vinnie.falco@gmail.com"
] | vinnie.falco@gmail.com |
b5f0600c68f4bb94b8414cb1bb9271af1a4f2425 | aab2c122967a4b75d9d9fe07ade381c173f2b360 | /src/mpi/contention-mt/main.cpp | 62740559cf425c133a13975de8650dae8c446151 | [] | no_license | ashwinma/mpiacc-contention-tests | 764071aa5eb3042edfb332a1f3b335e5fac8b291 | 6246ad9b177095220aa9cea5c85def7effd78222 | refs/heads/master | 2016-08-12T03:17:40.589829 | 2016-02-24T19:04:36 | 2016-02-24T19:04:36 | 52,473,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,184 | cpp | #include <string.h>
#include <iomanip>
#include <pthread.h>
//#include <cuda_profiler_api.h>
// When using MPICH and MPICH-derived MPI implementations, there is a
// naming conflict between stdio.h and MPI's C++ binding.
// Since we do not use the C++ MPI binding, we can avoid the ordering
// issue by ignoring the C++ ... | [
"ashwinma@gmail.com"
] | ashwinma@gmail.com |
406edea90722a2d0c7142573cc72072a59c6f679 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/095/581/CWE36_Absolute_Path_Traversal__char_connect_socket_fopen_74b.cpp | d9a3ce5173d43eb719cd1e70087068b1a1de33ab | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,657 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE36_Absolute_Path_Traversal__char_connect_socket_fopen_74b.cpp
Label Definition File: CWE36_Absolute_Path_Traversal.label.xml
Template File: sources-sink-74b.tmpl.cpp
*/
/*
* @description
* CWE: 36 Absolute Path Traversal
* BadSource: connect_socket Read data using a c... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
e398698c2953c2044e97d5beb703c18bb357d537 | da928b4caac01429918efce74dc4d945d1a3d1e4 | /MMOServer/Util.h | b9702683e26a87a54199bc7dc10decb8dda8f3f7 | [] | no_license | rnsk1243/MMOServer | 172f813f5fe2d15999dfc74eafb49b6a795e37a2 | abf8dcf4ddb75266c9ae3bc8aa1ed5ee7350a89c | refs/heads/master | 2021-05-11T15:13:41.567605 | 2018-02-20T19:59:28 | 2018-02-20T19:59:28 | 117,714,433 | 2 | 1 | null | 2018-02-24T03:44:43 | 2018-01-16T17:07:57 | C++ | UTF-8 | C++ | false | false | 347 | h | #pragma once
#include<vector>
#include<time.h>
#include<iostream>
#include"EnumInfo.h"
#include"ConstValue.h"
class CUtil
{
CUtil();
public:
~CUtil();
static CUtil* GetInstance();
void GetCurtime(std::vector<std::string> & targetStrVec);
const std::string IntToString(const int& targetInt);
};
static CUtil* UtilPt... | [
"rnsk8945@gmail.com"
] | rnsk8945@gmail.com |
5e1e207323f9cb37349d1be051ce26e649a26a8c | 9f1fa0a8259aebe001d1f2a3591963e200c91ff8 | /Shadow/Shadow_Grid.cpp | 2ed6a80414c4ab521cb02d1291e915e149c2d7f1 | [
"Zlib"
] | permissive | tringi/emphasize | 0e95a697d69c5a580a5b7196fe1f87e1731977b9 | ad017ec3e7a4f03267943ccfa3b9a4fead4a5930 | refs/heads/master | 2022-06-30T08:20:00.258569 | 2022-06-17T18:45:19 | 2022-06-17T18:45:19 | 98,049,754 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 92,026 | cpp | #include "Shadow_Grid.hpp"
/* Emphasize Shadow Controls Library - Grid
// Shadow_Grid.cpp
//
// Author: Jan Ringos, http://Tringi.MX-3.cz, jan@ringos.cz
// Version: 0.9
//
// Changelog:
// 10.01.2014 - initial version
// 25.01.2014 - first usable version 0.9 for Konipas project
*/
#include "../Windows/Wind... | [
"tringi@trimcore.cz"
] | tringi@trimcore.cz |
101ec5fc39c472708616607658d64be52916ed51 | 7cf342e7ab00ad52955d1427a69bfd80bb92d1fe | /MyML/Source/MyML/Public/MyCube.h | 51d8f4891e51b7d15102d88c9cfce2b50f6b7e62 | [] | no_license | FranciscoRamonAsensiDomingo/ML | 97a660da5a51e2ed2bb44a08685ca22e8cc8a756 | 67e245f5d0ae9fe499f6479afe731a1915db90e5 | refs/heads/master | 2022-04-16T06:36:02.291867 | 2020-02-24T10:57:57 | 2020-02-24T10:57:57 | 242,604,000 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,570 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "Containers/Array.h"
#include "../JsonStructs.h"
#include "GameFramework/SpringArmComponent.h"
#include "Engine.h"
#include "CollisionQueryParams.h"
#include "DrawDebugHelpers.h"
#include "CoreMinimal.h"
#include... | [
"asensido@esat-alumni.com"
] | asensido@esat-alumni.com |
22ebc3ed2f1d11d243cbf79171098a08b936232a | 11bd53364f8212f8c188a4f9d88b8539b08452cf | /FileSystem.h | 2b2f6d134019151422766181f9b6781513690343 | [] | no_license | ondra-vaic/Zos | 0e50580560b8ff9092205d027c8ae1c7e2be03c9 | 6cec47eb8a7296c6df0dae75969ba9fc53509933 | refs/heads/master | 2022-11-18T12:46:21.445273 | 2020-06-28T14:04:31 | 2020-06-28T14:04:31 | 233,320,080 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,827 | h | //
// Created by me on 1/10/20.
//
#ifndef ZOS_FILESYSTEM_H
#define ZOS_FILESYSTEM_H
#include <vector>
#include <string>
#include <functional>
#include <map>
#include "SuperBlock.h"
#include "DirectoryItem.h"
#include "Bitmap.h"
#include "PseudoInode.h"
using namespace std;
const int32_t CLUSTER_SIZE_B = 512 * 8;
c... | [
"ondra.vaic@gmail.com"
] | ondra.vaic@gmail.com |
983bb200a09912e449765d2dce7a1e41ac8eee01 | e91f216ea2cf9f2ecf2a770ebc6334d7034cbf94 | /camp/3/1525퍼즐.cpp | 88f80f658d8e02fb8392da91a423881990cde169 | [] | no_license | HelloMandu/OnlineJudge | 4c870a737ba8c479adf0f7763ca38afd7761e9a3 | 2dd0abc4066fd0b1f28346f8913ece88167eee99 | refs/heads/master | 2023-01-09T22:53:27.036594 | 2022-12-28T09:38:39 | 2022-12-28T09:38:39 | 168,956,239 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,189 | cpp | #include<bits/stdc++.h>
using namespace std;
string str;
int dy[4] = { -1, 0, 1, 0 };
int dx[4] = { 0, 1, 0, -1 };
bool isRange(int y, int x){
return y < 3 && y >= 0 && x < 3 && x >= 0;
}
int traverse(){
queue<pair<string, int> > Queue;
set<string> Set;
Queue.push(make_pair(str, 0));
Set.insert(s... | [
"tjdals6695@gmail.com"
] | tjdals6695@gmail.com |
397809cb64329f1687ac4ed63cb964427fd4268b | 14a5a94d073ac0c75be37aaa1e3ca1a231ac6cc7 | /Zrodla/MAIN/stdafx.cpp | 91f576959cd29c1de01b67d32906829b4a5d45b4 | [] | no_license | Akshei/JA.K_Tytko_PodmianaSlow | 60b7fd6fbcef26e05aecb59c098255862a2a605e | 717094470b66b0d4162933505a4814d166c41916 | refs/heads/master | 2020-04-06T04:53:00.115512 | 2017-01-04T13:07:58 | 2017-01-04T13:07:58 | 73,635,467 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 302 | cpp | // stdafx.cpp : source file that includes just the standard includes
// JA.K_Tytko_PodmianaSlow.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"karotyt226@student.polsl.pl"
] | karotyt226@student.polsl.pl |
529ae4f7b5434fef2362d4e0b04063746d99a557 | c3d1104b79303e4901cde679670b24a2e47cc0fd | /2048/game.h | 52caae5190d892c8e7d1522f69ac96a2c39d155a | [] | no_license | thib31/2048 | c1c156269ea4a26f4e254cccd36c980c3859fe4b | 56755bf47bbbbdebd991a41adebebe9636d1c97c | refs/heads/master | 2022-04-25T02:43:45.533935 | 2020-04-27T16:23:25 | 2020-04-27T16:23:25 | 252,261,205 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,001 | h | #ifndef GAME_H
#define GAME_H
#include <QObject>
#include <vector>
using namespace std;
class game : public QObject
{
Q_OBJECT
public:
explicit game(QObject *parent = nullptr);
Q_INVOKABLE void nouvPartie(); // Fonction qui initialise le jeu / remet à zero
Q_PROPERTY(QStringList val... | [
"thilvig@gmail.com"
] | thilvig@gmail.com |
85a159e552b6dab2dc28e3b5bc1c9f71b405d56e | 28b02bae144ae7c0a1d899f679436c2051b7ae87 | /Plugins/Marketplace/ShapefileReader/Source/ShapefileLib/Private/ShapefileObject.cpp | f9c8155337c9b7ea5d1394fc5411b5303a6a18d4 | [] | no_license | GitGhibli/MultiThreadReadUE4 | 5d3a5d69471c56093ac53e4a56b446d52beca5ca | bc55af42d004db8e965fe771cbe3d3358ea0d6fb | refs/heads/master | 2020-05-23T21:04:53.935026 | 2019-05-15T06:38:00 | 2019-05-15T06:38:00 | 186,945,071 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,586 | cpp | // Copyright (c) 2018 Isara Technologies. All Rights Reserved.
#include "ShapefileObject.h"
#include "ShapefileHandler.h"
void UShapefileObject::SetObject(SHPObject* object)
{
_object = object;
ShapefileType = UShapefileHandler::IntToShapefileType(_object->nSHPType);
ShapeId = _object->nShapeId;
for(int i = 0 ;... | [
"39234575+GitGhibli@users.noreply.github.com"
] | 39234575+GitGhibli@users.noreply.github.com |
d447a8c1eb52a286da0a0c2e02d5939916267764 | fcb4d4a5e594cbf9733575160baad687284c3615 | /lesson_017/word.cpp | 1f38c5f2a31bacf74b1b0f33897c197c058aa25c | [] | no_license | AndreSci/Cpp | 261c4a6fb45c59cff4b199eb1ccee6b039ad05ae | f1a7567e83739f9367360dde9b053a5c69f65f32 | refs/heads/main | 2023-03-18T04:39:44.265725 | 2021-03-15T10:44:10 | 2021-03-15T10:44:10 | 308,345,800 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 363 | cpp | #include <iostream>
#include <string>
#include <algorithm>
using namespace std;
class ReversibleString
{
public:
ReversibleString();
ReversibleString(const string& w)
{
word = w;
}
void Reverse()
{
reverse(word.begin(), word.end());
}
string ToString() const
{
return word;
}
private:
string word;
... | [
"noreply@github.com"
] | AndreSci.noreply@github.com |
53314511a8131027c8674fec503be80898d57101 | 524c9bcd0850595b388ac6a97ec5e2145229e6c8 | /RanchoLosPatosHermanos/Item.h | bf9893b9ea0cd03bea1509d47ba0092cb1b6ea6c | [] | no_license | Adidier/Harvest | f1aafc2a314f0aba6e07afa6b10ac0ad84c1fb08 | ec40195ba7d13e2d0a3f9dfa7cb7a1b0376ba2d7 | refs/heads/master | 2022-12-06T16:43:51.655375 | 2020-08-11T13:51:48 | 2020-08-11T13:51:48 | 284,378,405 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 354 | h | #pragma once
#include<string>
#include "Image.h"
class Item
{
private:
float precio;
std::string nombre;
std::string rutaImagen;
Imagen imagen;
public:
float GetPrecio();
std::string GetNombre();
std::string GetRutaImagen();
void SetPrecio(const float &p);
void SetNombre(const std::string &n);
void SetRutaI... | [
"adidier.perez@gmail.com"
] | adidier.perez@gmail.com |
271a75b4a9e733e983f39e01caf2a2e88314cfe9 | 86aa55e5c9f5388537febad5b077ac90575a38ba | /src/rpcdarksend.cpp | 2d6c988f95b1ce47a69f163edd29ad570fd0157b | [
"MIT"
] | permissive | intarontr/intarocryptocurrency | a4fd3856148fd4583b788cf5fec5d44de3287703 | c702a9e952ac7496d4ab873cbe08094c7353cb57 | refs/heads/master | 2022-11-22T12:43:16.102972 | 2020-07-24T08:09:55 | 2020-07-24T08:09:55 | 281,864,836 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,162 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Darkcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "main.h"
#include "core.h"
#include "db.h"
#include "init.h"
#include "active... | [
"intarocryptocurrency@gmail.com"
] | intarocryptocurrency@gmail.com |
c430aa5001b7ded1808b2f519e52ce4f22fb39aa | 1e49ed951f2d97becedb4ce794f3745bf06b096d | /2d_laser_scanner/Draw.h | 67b9c0373b1a4588ed46659ee480f6afcaab6bcd | [] | no_license | anthonyzeng99/2d_laser_scanner | 3733e47c126f9562a86f737e45271fe2472fa326 | 9558c315e79149de97172c9ef08b9acb0a396fb7 | refs/heads/master | 2021-01-18T23:24:02.161976 | 2017-05-30T00:46:31 | 2017-05-30T00:46:31 | 87,108,238 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 147 | h | #ifndef DRAW_H
#define DRAW_H
#include "Arduino.h"
class Draw {
public:
Draw(String filename);
private:
String filename;
};
#endif
| [
"anthonyzeng99@gmail.com"
] | anthonyzeng99@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.