blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4c8c28e0c991b557e45d93775a7369c4b8ceb8cf | 7bd101aa6d4eaf873fb9813b78d0c7956669c6f0 | /PPTShell/PPTShell/DUI/PencelView.h | 84afd185c7282c373d9e814f26ac3dea684a446c | [] | no_license | useafter/PPTShell-1 | 3cf2dad609ac0adcdba0921aec587e7168ee91a0 | 16d9592e8fa2d219a513e9f8cfbaf7f7f3d3c296 | refs/heads/master | 2021-06-24T13:33:54.039140 | 2017-09-10T06:31:11 | 2017-09-10T06:35:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 713 | h | #pragma once
#include "InstrumentView.h"
class CPencelViewUI:
public CInstrumentView,
public INotifyUI
{
public:
CPencelViewUI(void);
virtual ~CPencelViewUI(void);
UIBEGIN_MSG_MAP
EVENT_ID_HANDLER(DUI_MSGTYPE_CLICK, _T("color_item"), OnColorItemClick);
UIEND_MSG_MAP
public:
virtual void Init();
protected:... | [
"794549193@qq.com"
] | 794549193@qq.com |
e585e5d4e332f9c2b79ad5ffedbcc746d1c05eaa | ff1f8e352bcbf059e2c1c0aaafff120c56f3cf49 | /Zhengrui/Zhengrui2193.cpp | d1a1ecf8f411a537b1066b3726c0191324b41c04 | [] | no_license | keywet06/code | 040bc189fbabd06fc3026525ae3553cd4f395bf3 | fe0d570144e580f37281b13fd4106438d3169ab9 | refs/heads/master | 2022-12-19T12:12:16.635994 | 2022-11-27T11:39:29 | 2022-11-27T11:39:29 | 182,518,309 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,258 | cpp | #include <bits/stdc++.h>
#define Deb std::cerr
#define Delin Deb << "[Debug] at Line " << __LINE__
#define Debug Delin << " : "
#define Deline Delin << std::endl;
using int64 = long long;
template <typename Type>
class Fenwick {
protected:
std::vector<Type> a;
public:
Fenwick() {}
Fenwick(size_t n... | [
"keywet06@tom.com"
] | keywet06@tom.com |
ee06cb2b9e5ac829d491eddfc159774c8b16866f | 5ebb2fea57c526137bd9b4ef2ac32d2853f3137f | /SwordToOffer/29_TwoSum/main.cpp | c12e24b2144bc18cdeaaa946bc57db308890cf4c | [] | no_license | zshellzhang1993-2025/algorithms | 918024b65c4de83bc100e4cfd45c7788ae2c8999 | c90142d33916840efa872c0390bb1d730b9a21cc | refs/heads/master | 2021-05-30T21:13:44.031788 | 2016-01-03T11:01:25 | 2016-01-03T11:01:25 | 28,854,364 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 926 | cpp | #include <iostream>
#include <vector>
using namespace std;
class Solution_29 {
public:
vector<int> FindNumbersWithSum ( vector<int> array, int sum ) {
vector<int> result;
if ( array.empty() )
return result;
int begin = 0;
int end = array.size() - 1;
while ( begin... | [
"1557983850@qq.com"
] | 1557983850@qq.com |
8d650b4b31c3e6a0351a477d64a981f4cf099d54 | 780836c70e0a2649ba8b214f8c7f2e8ef034b9a0 | /File_Factory/File_Factory/CsvFile.h | dc49d638975d1739415399eef0dd1493a9354d79 | [
"Apache-2.0"
] | permissive | kboba/s3_File_Factory | cc3c06bf732599a477f2b43ae51b6060276c14e8 | 5640235c963beb96d9f5f9ca577106fa9bd05edc | refs/heads/master | 2022-10-22T20:17:27.695776 | 2020-06-16T22:23:55 | 2020-06-16T22:23:55 | 271,790,925 | 0 | 0 | Apache-2.0 | 2020-06-16T10:10:07 | 2020-06-12T12:17:49 | null | UTF-8 | C++ | false | false | 386 | h | #pragma once
#include "iFile.h"
class CsvFile : public iFile
{
void writeLine(const Point& p);
std::vector<std::string> split(std::string std, char delim);
public:
CsvFile(std::string path, std::string mode);
~CsvFile();
FileError write(const std::vector<Point>& points);
FileError read(std::v... | [
"boba.krzysztof98@gmail.com"
] | boba.krzysztof98@gmail.com |
f68a755d42ebebdb7050fae12f734fc7da7b5a05 | ec4897cce9465140a04fb9947c844ed06178ea53 | /entrywriter.cpp | 57daaa5b258ef9a084f948655ba9cd8ad0e37d3a | [] | no_license | vlitomsk/evlog3 | 998c1c9bafaa1f92474b7bd11b3108f812c8a249 | 5c4d98c1ac8ea7b81cb2cc7a71fdab9a8da09f9c | refs/heads/master | 2020-06-30T23:44:57.350015 | 2016-12-14T02:51:51 | 2016-12-14T02:51:51 | 74,561,989 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 371 | cpp | #include "entrywriter.hpp"
EntryWriter::EntryWriter(std::ostream &os)
: os(os)
, first(true)
{}
EntryWriter::~EntryWriter() {
os << "\n]\n";
}
void EntryWriter::operator <<(const Entry &ent) {
if (first) {
os << "[\n";
first = false;
} else {
os << ",\n";
}
os << ent.... | [
"kvas.omsk@gmail.com"
] | kvas.omsk@gmail.com |
a7db9b26ecd045926a29624c8c1852cb85bd3f23 | 950b506e3f8fd978f076a5b9a3a950f6f4d5607b | /cf/vkcup-2018/qual-1/C.cpp | d636a75893510e816f94adc054bdce9847c6961d | [] | no_license | Mityai/contests | 2e130ebb8d4280b82e7e017037fc983063228931 | 5b406b2a94cc487b0c71cb10386d1b89afd1e143 | refs/heads/master | 2021-01-09T06:09:17.441079 | 2019-01-19T12:47:20 | 2019-01-19T12:47:20 | 80,909,953 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,637 | cpp | #include <bits/stdc++.h>
#define proj asdajslkdjalskd
using namespace std;
using proj = pair<string, int>;
int main() {
#if __APPLE__
freopen("C.in", "r", stdin);
freopen("C.out", "w", stdout);
#endif
ios_base::sync_with_stdio(false);
size_t n;
while (cin >> n) {
map<proj, vector<proj>> ... | [
"dimaz1301@gmail.com"
] | dimaz1301@gmail.com |
9f57f926a6a6d6937fa899fe2b25a17460e68f17 | b3a042d294a90a1632d38a498a144129a22e7ade | /autograder/ioutils.cpp | d5f66bb8208cabaf57fce7ab72dcfbe22248f6e9 | [] | no_license | swordcyber/stanford-cpp-library | 4f0dd17397dc086add30b28e5a225d920a8f2e8d | cf5de556c65fff91a18aca4c8bb031dc280d4224 | refs/heads/master | 2020-03-30T02:57:14.809006 | 2018-09-26T01:28:40 | 2018-09-26T01:28:40 | 150,660,069 | 1 | 0 | null | 2018-09-27T23:42:13 | 2018-09-27T23:42:12 | null | UTF-8 | C++ | false | false | 3,811 | cpp | /*
* File: ioutils.cpp
* ---------------
* This file contains implementations of functions to help capture, redirect,
* and feed input to cin/cout/err.
* See ioutils.h for documentation of each function.
*
* @author Marty Stepp
* @version 2016/10/28
* - bug fix for output limit static var
* @version 2016/10/... | [
"stepp@cs.stanford.edu"
] | stepp@cs.stanford.edu |
82326aa9d3d6a6373bad30b6e67a64f9e45c1eec | 9c5ea7c1df4192291e3bec709d2526dfebdf59ae | /_Includes/precomp.h | 5a4474c712e16092e9c3e2a2d96a0348f29a1cfc | [] | no_license | Walter-Haynes/SMB_Unchained | c402741aa8ecde77d7afc7ec9b75626e0aaa7765 | 3e3f32420d4d7cb25d64d421a843b0d9226a15ba | refs/heads/develop | 2023-01-06T17:28:07.449521 | 2020-11-06T07:36:27 | 2020-11-06T07:36:27 | 308,101,067 | 0 | 0 | null | 2020-11-06T07:20:07 | 2020-10-28T18:04:53 | C | UTF-8 | C++ | false | false | 662 | h | // add your external includes to this file instead of to individual .cpp files
#include <GameSettings.h>
//#define SCRWIDTH Game::SCREEN_HEIGHT_PIXELS;
//#define SCRHEIGHT Game::SCREEN_WIDTH_PIXELS;
constexpr int SCRWIDTH = Game::SCREEN_WIDTH_PIXELS;
constexpr int SCRHEIGHT = Game::SCREEN_HEIGHT_PIXELS;
// #de... | [
"walter-haynes@outlook.com"
] | walter-haynes@outlook.com |
7a4dee754b5bb4610c04e0403511ef622681d754 | be07e3597fef471738fd5204b4690320acc07f74 | /src-generated/wxNode_wxPanel.h | 54964d96ecdb686fc661a7979598f2f34f67c247 | [] | no_license | happyhub/wxNode | 7a88e02187ddcbbe88abf111f638e49f87f7b49a | 4c4846656baaba0c9dea275a119d002e7e0f96de | refs/heads/master | 2020-04-09T00:30:08.392946 | 2012-02-09T05:25:31 | 2012-02-09T05:25:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,853 | h |
#ifndef _wxNode_wxPanel_h_
#define _wxNode_wxPanel_h_
#include "wxnode.h"
#include "wxNode_wxEvtHandler.h"
class wxNode_wxEvtHandler;
class wxNode_wxNavigationEnabled;
class wxNode_wxWindow;
class wxNode_wxPoint;
class wxNode_wxSize;
class wxNode_wxPanel : public wxPanel, public wxNodeObject, public NodeExEvtHandle... | [
"joe@fernsroth.com"
] | joe@fernsroth.com |
bb423b99f66827cd8017a6a5e2a262fbc160a83c | 03ffeb8290b24d81e8a0beba53a708fb604bc10d | /code/nepal/cc/src/struct.h | 59addc644227c4617defa804439d5b0ee2de6198 | [] | no_license | skn123/Nepal | ab027a1708884c557521ccd111a79c62a75b9ab6 | d1359862484fbd84625e56c7f9e9486e3499dad7 | refs/heads/master | 2021-09-06T11:33:42.966859 | 2018-02-06T03:56:14 | 2018-02-06T03:56:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 168 | h | #ifndef _STRUCT_H_
#define _STRUCT_H_
struct inputdata
{
std::string name;
std::string seq;
std::vector<std::vector<float>> pssm;
std::string alseq="";
};
#endif
| [
"yamada@sb.ecei.tohoku.ac.jp"
] | yamada@sb.ecei.tohoku.ac.jp |
1c922ddafad12901d428b5b4e98122f1033d1441 | bc7c30f48c5322cde4d810ff5fb0912ed49150df | /Assignments/PhysicsAssignment2/PhysicsAssignment2/Vec3.h | 900f950975c093b0d90458a571f7a8ffadcc5850 | [] | no_license | DustinBrown917/GamePhysics1 | ca7c1df9c10dda277266e8af22b2a67c7bab8a2f | 936106db5df38a636c9fa0688554943cbfc6ac45 | refs/heads/master | 2020-04-01T15:07:20.942644 | 2018-11-14T00:04:37 | 2018-11-14T00:04:37 | 153,322,126 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,748 | h |
#include <string> // Just for the ToString() method.
using namespace std;
//Guard statement - Prevents Vec3.h from being compiled more than once.
#ifndef VEC3_H
#define VEC3_H
//Vec3 Class Header
struct Vec3 {
//Member variables
float x, y, z;
//Constructors
//Create a Vec3 with all member properties initialize... | [
"43157195+DustinBrown917@users.noreply.github.com"
] | 43157195+DustinBrown917@users.noreply.github.com |
078899c9184b7b6016e2bdb8d7a8bc176df51be2 | f5f451c3e1c420789107addacb0da3107685bc4f | /TCMPhysicEngine/stdafx.cpp | ead1df20d5a5f9d319ed91cd4c255d21718e4c34 | [] | no_license | cl4nk/TayCaMead-Engine | 4db6089fd7d952f1aecee82378db0c3bad407c99 | 4e6a9281fbaf9b7708db95a95078e97b5aeb2772 | refs/heads/master | 2021-01-01T19:21:17.655499 | 2019-06-11T09:11:39 | 2019-06-11T09:11:39 | 98,566,424 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 294 | cpp | // stdafx.cpp : source file that includes just the standard includes
// TCMPhysicEngine.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
| [
"n.fontes@student.isartdigital.com"
] | n.fontes@student.isartdigital.com |
7b48930687cccc3afc730d43865eee5b4805aa6b | 7af9c24bb6cea6e77c74990fbdf061bd03c0e779 | /src/acpp/Stack_set.h | cb4f7f914d24c53bd09d498f77d2217fdddb32fa | [] | no_license | dtbinh/sedgewick_cpp | abfca17d774f03cfde912fe5404770fad68a8628 | b488e5df2ad9c855aaaed66397c457dba55a4463 | refs/heads/master | 2023-03-16T09:11:31.240153 | 2017-08-23T23:39:20 | 2017-08-23T23:39:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,005 | h | // Program 4.16 - Stack with index items and no duplicates
#ifndef STACK_SET_H
#define STACK_SET_H
#include <cstddef>
#include <vector>
#include <deque>
template<typename Item_t> // Item_t must be an integer type
class Stack_set {
public:
Stack_set(std::size_t size)
: _stack(size),
_size... | [
"timothyshull@gmail.com"
] | timothyshull@gmail.com |
19ba21ea42085a4c0cd5df1c04eef3928f90725f | de80b91a12b10bd962b59a89b2badbb83a0193da | /ClientProject/Mof/MofLibrary/Include/Graphics/PMD/ConvertPMD.h | 221e955307109d5791c1d5fc9cfca436fc5ca3b0 | [
"MIT"
] | permissive | OIC-Shinchaemin/RatchetNclank-PrivateCopy | 8845eea799b3346646c8c93435c0149e842dede8 | e2e646e89ef3c29d474a503f5ca80405c4c676c9 | refs/heads/main | 2023-08-15T06:36:05.244293 | 2021-10-08T00:34:48 | 2021-10-08T00:34:48 | 350,923,064 | 0 | 0 | MIT | 2021-10-06T11:05:03 | 2021-03-24T02:35:36 | C++ | SHIFT_JIS | C++ | false | false | 17,532 | h | /*****************************************************************************
[ファイル名] ConvertPMD.h
[処理概要] PMDメッシュ変換クラス
Author 濱田 享
Since 2009.04.01
*****************************************************************************/
//ONCE
#ifndef __CONVERTPMDMESH__H__
#def... | [
"shin@oic.jp"
] | shin@oic.jp |
41e7838aed24679ed4016b9f41791e515a2a5fc1 | f9c465192c40433fc67057471e9173dae3d4a8ca | /05_03/sortarray012.cpp | 5850094b6961106b48b5191e4f8373312121accb | [] | no_license | mlkorra/Prep | f77ebd4867008aaa457a7819e89ea1a2bfc95152 | fe2c4542c864bffae111923101048fb77b962bc9 | refs/heads/master | 2021-03-24T11:57:49.152570 | 2018-07-30T08:58:31 | 2018-07-30T08:58:31 | 107,019,861 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 413 | cpp | #include <bits/stdc++.h>
using namespace std;
void swap(int *a,int *b){
int temp;
temp = *a;
*a = *b;
*b = temp;
}
int main()
{
int t;cin>>t;
while(t--){
int i,j,n;cin>>n;
int v[n];
for(i=0;i<n;i++){
cin>>v[i];
}
for(i=0;i<n;i++){
for(j=0;j<n;j++){
if(v[i]<=v[j]){
swap(&v[i],&v[j]);
... | [
"korrarahuldev@gmail.com"
] | korrarahuldev@gmail.com |
9e11e113d06c127b82bbc5ddb26af8f79212740c | 86a9081a05b837ad0f0feaf6e003a1cbb276993f | /cg_exercises-cg_exercise_03/cg_exercise_03/cglib/lib/glm/glm/gtx/matrix_interpolation.hpp | 7cf42e984d08e11b2fb8029a9d060cb608e0203a | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-happy-bunny",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | flex3r/cg_exercises | e2defd27427c251d5f0f567a8d192af8d87bca3c | 7c4b699a8211ba66710ac2137f0d460933069331 | refs/heads/master | 2020-12-11T14:06:15.052585 | 2018-02-11T13:58:23 | 2018-02-11T13:58:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,899 | hpp | /// @ref gtx_matrix_interpolation
/// @file glm/gtx/matrix_interpolation.hpp
/// @author Ghenadii Ursachi (the.asteroth@gmail.com)
///
/// @see core (dependence)
///
/// @defgroup gtx_matrix_interpolation GLM_GTX_matrix_interpolation
/// @ingroup gtx
///
/// @brief Allows to directly interpolate two exiciting ... | [
"n1085633848@outlook.com"
] | n1085633848@outlook.com |
d1da66b2796bd59ad37d39324a7c68d2e9e82ab7 | ec4711e5444c280fc4fcd6505d5c0acca0627d55 | /hermit/scrollcom.h | 085aebe0a1a52ffb76185604950006e39f399533 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | ancientlore/hermit | 18f605d1cc8f145c6d936268c9139c92f6182590 | 0b6b5b3e364fe9a7080517a7f3ddb8cdb03f5b14 | refs/heads/master | 2020-05-16T21:02:57.517459 | 2012-01-26T00:17:12 | 2012-01-26T00:17:12 | 3,269,934 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,782 | h | // Scrollable COM Custom Viewer class
// Copyright (C) 1997 Michael D. Lore All Rights Reserved
#ifndef SCROLLCOM_H
#define SCROLLCOM_H
#include "console/scrollable.h"
#include "console/screen.h"
#include "hmtobjs.h"
class ScrollCOM : public Scrollable {
const CLSID& mClass;
IHermitScrollable ... | [
"michael.lore@gmail.com"
] | michael.lore@gmail.com |
79dff7c56116a5ac19f9dbb908a1bbccd5b5cd10 | 3cf2add5c4358157fb31390e3c2fc6ebd8ebb9c8 | /Samples_Cplusplus/sample_traverse_directory.cpp | 45e65c0b7be52ef75b308d13393bb541f4fdc556 | [] | no_license | fengbingchun/Linux_Code_Test | 4b4f4eef5805f47f757a2bfae2d598c4ba9788c4 | 87c1a30e2d9d6a8183c44611663593ef1189eded | refs/heads/master | 2023-08-03T12:41:50.793738 | 2023-07-23T05:20:18 | 2023-07-23T05:20:18 | 55,020,430 | 71 | 52 | null | null | null | null | UTF-8 | C++ | false | false | 3,864 | cpp | #include <dirent.h>
#include <string.h>
#include <iostream>
#include <vector>
#include <string>
namespace {
void Usage(const char* exe)
{
fprintf(stderr, "input params error, run this exe as following command line:\n");
fprintf(stderr, "\t%s arg1 arg2 arg3\n", exe);
fprintf(stderr, "\targ1: specify the directory t... | [
"fengbingchun@163.com"
] | fengbingchun@163.com |
4f1613f0ccddd76fd46d2393322883c77637be6f | 18da60961156696d4dfa7368cab91a6ed20cc223 | /Source/RRM/LinkAdaptation/LinkAdaptation.h | d0b88addc9af0e97f2c44894df785729b372dc33 | [] | no_license | Snorlaxgithub/4g-lte | d377dfb59657152f595a36589bea1c5490950ed2 | 55d15c04bccb847622da5c25e65669f1ee7f00d9 | refs/heads/master | 2020-03-27T10:02:09.798542 | 2013-11-20T19:11:55 | 2013-11-20T19:11:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,350 | h | /**
* @file LinkAdaptation.h
* Name: 3G LTE System Simulator
* @author Guilherme Silveira Rabelo
* Date: 03/12/2008
*
* This file is part of the undergraduate final project, under the supervision
* of Robson Domingos and Paulo Portela.
*
* @author_2 Luiz Gustavo da Silva Carvalho
* @author_3 Mar... | [
"marcos.samuel@gmail.com"
] | marcos.samuel@gmail.com |
4564d52d10c333a63137b207b1109fc6efe2f17e | e92afca02bd03aa5d8d92147fa854c51d0bd4705 | /src/node_main.cc | 5091594db413034b177c0b657731d921b2690c98 | [
"ICU",
"LicenseRef-scancode-unicode",
"NAIST-2003",
"MIT",
"ISC",
"LicenseRef-scancode-public-domain",
"NTP",
"Artistic-2.0",
"BSD-3-Clause",
"BSD-2-Clause",
"Zlib",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-openssl"
] | permissive | ajamshed/node.js | 18725a630c82b5188ec43929be6330c17ef8e496 | 9faeacbd97a09024ee984a0140f7dac2af74bc20 | refs/heads/master | 2021-08-28T17:18:28.712229 | 2017-12-12T22:31:47 | 2017-12-12T22:31:47 | 113,892,329 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,129 | cc | #include "node.h"
#ifdef _WIN32
#include <VersionHelpers.h>
#include <WinError.h>
int wmain(int argc, wchar_t *wargv[]) {
if (!IsWindows7OrGreater()) {
fprintf(stderr, "This application is only supported on Windows 7, "
"Windows Server 2008 R2, or higher.");
exit(ERROR_EXE_MACHINE_TYPE_M... | [
"ajamshed@ndsl.kaist.edu"
] | ajamshed@ndsl.kaist.edu |
5c78d634cb27994fcb03a2dbb68c17d4e52dee90 | d85fa954775b1bf2ecca0d3291cbe3df408ed1ce | /homework_lection_6/alloc.cpp | f83f3f762c4679c7930c875198a401b4a5f06601 | [] | no_license | cojuer/advanced_cpp_2018 | 546a73f6e18aa57bb997543cd9448a1425ccfcca | 4655b5ad39506af2d3e34b4c063cd3347c8e967c | refs/heads/master | 2020-03-29T07:31:37.994210 | 2018-12-24T08:20:02 | 2018-12-24T08:20:02 | 149,668,502 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,253 | cpp | #include <iostream>
#include <vector>
#define STACK_SIZE 40
template <class T>
struct TestAllocator {
public:
using value_type = T;
T* allocate (size_t n)
{
if (n == 0) return nullptr;
if (!m_is_buf_used && n * sizeof(T) < STACK_SIZE) {
std::cout << "alloc " ... | [
"akovalev@arccn.ru"
] | akovalev@arccn.ru |
50e0aa78e26f3a06a405b50af70609a15ba9635d | 51f2e9c389af4fe6070a822ca39755ffd20bcd05 | /src/appinfo.cpp | 61a9f0d53829ba519220c8a2c1f7dced37081603 | [
"BSD-3-Clause"
] | permissive | tapir-dream/berserkjs-2.0 | 0927b59e4ac9d2bfaa26aa6297938c8a29427ba2 | b4daf997f4d35e8f2d45807e50df1ff72a31345b | refs/heads/master | 2021-01-22T11:37:01.494648 | 2020-03-26T11:03:02 | 2020-03-26T11:03:02 | 34,240,472 | 9 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 5,255 | cpp | #include "appinfo.h"
#if defined(Q_OS_WIN32)
#include <w32api.h>
#include <windows.h>
#include <psapi.h>
CRITICAL_SECTION cs; // 供多线程同步的临界区变量
HANDLE hd; // 当前进程的句柄
DWORD t1; // 时间戳
double percent; // 最近一次计算的CPU占用率
__int64 oldp;
// 时间格式转换
__int64 fileTimeToInt64(const FILETIME& time)
{
ULARGE_INTEGER tt... | [
"tapir.dream@gmail.com"
] | tapir.dream@gmail.com |
7e007c9098cb1459535979fd19534ec51af5fe84 | 80a4bea7acdfb6ce22f2d1b0b0603c418dd85fc9 | /OpenGL/src/GLObject/VertexBufferLayout/VertexBufferLayout.cpp | 99b73f477f33814e19ff3bd9a00d568b56225b4d | [
"MIT"
] | permissive | dusko2/OpenGL | 859dd5a191cc5230a85c2f66407f89afc0919c68 | 3610f83698a0ddc54760afef1e90822adf8d16db | refs/heads/master | 2023-03-19T22:16:17.536614 | 2021-02-26T19:01:17 | 2021-02-26T19:01:17 | 340,934,579 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 919 | cpp | #include <glad/glad.h>
#include "VertexBufferLayout.h"
VertexBufferLayout::VertexBufferLayout() : stride(0) {}
template<>
void VertexBufferLayout::Add<float>(uint32 count, bool normalized) {
elements.push_back({ GL_FLOAT, count, normalized });
stride += count * sizeof(float);
}
template<>
void VertexBufferL... | [
"mirkovic.dusko.16@sinergija.com"
] | mirkovic.dusko.16@sinergija.com |
33497a22342d4eca468edccab99877102a1f334f | 408c27cbe3407cc770ab4149e52498ae7da4ed0b | /hangman.h | 1ad49be41b25d9dccdbad4a89bd4d42ef9b046d7 | [] | no_license | JulianFortik/POP2-HANGMAN | d03ac42362e416f62b4744ae5a286dda4ddf2294 | 47819cc41daaf2932300592505cb41bead08d31d | refs/heads/main | 2023-04-03T15:42:38.335990 | 2021-04-09T15:36:33 | 2021-04-09T15:36:33 | 356,315,709 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,841 | h | /*************************************************************
* Instructor's Name: Mrs. Vernelle Sylvester *
* Group Members: Lianni Mathews, Jason Fortik *
* Project: Hangman *
* De... | [
"fortikdev@gmail.com"
] | fortikdev@gmail.com |
594fe263bec14a62807954ceed574c68b196184f | 6e6d008c24d8540e28a3dd6b51a7387d7c700921 | /Vision week 3&4/Vision_timer/BinaryYellow.cpp | 4b7a36b1bd517cc9cef247404d613cd74e723890 | [] | no_license | bryanbaan/Themaopdracht-07---Lokalisatie-2 | a8a9c4779e4f3054ce98b6c5835c7ada64a4b711 | e3490029d6b67f97ba96b0c5bcb2226bd44b0e2c | refs/heads/master | 2021-01-22T17:58:45.149697 | 2014-04-14T12:31:49 | 2014-04-14T12:31:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,099 | cpp | #include "BinaryYellow.h"
//AUTHOR Lars Veenendaal
BinaryYellow::BinaryYellow() {
bt = new BaseTimer();
}
BinaryYellow::~BinaryYellow() {
delete bt;
}
void BinaryYellow::CreateBinaryImage(Image &sourceImage, Image &destinationImage) {
bt->reset();
bt->start();
if (sourceImage.GetWidth() != destinationImage.Ge... | [
"chanan_van_ooijen13_7@hotmail.com"
] | chanan_van_ooijen13_7@hotmail.com |
06cbfcb7ca794e640e5896f098522bb8bdba81e7 | 436d5cde84d3ec4bd16c0b663c7fdc68db02a723 | /ch01/e1.16.cpp | b71d72661721ae3692f6a4ef8252ad8a2311029a | [] | no_license | focus000/cppprimer | 31f0cadd1ee69f20a6a2a20fc62ddfa0c5341b83 | c901b55da35922a96857a108d25213fa37121b33 | refs/heads/master | 2020-09-13T04:56:55.130773 | 2020-05-09T09:23:00 | 2020-05-09T09:23:00 | 222,660,434 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 264 | cpp | //
// Created by 李蕴方 on 2019-02-19.
//
#include <iostream>
int main() {
int sum = 0, i = 0;
std::cout << "input: " << std::endl;
while (std::cin >> i) {
sum += i;
}
std::cout << "the sum is: " << sum <<std::endl;
return 0;
} | [
"hanszimmerme@gmail.com"
] | hanszimmerme@gmail.com |
aa5d2677f30a0759a5839a283a7b403b2f8eed40 | a92b18defb50c5d1118a11bc364f17b148312028 | /src/prod/src/Hosting2/NonActivatedApplicationHost.h | b9345e32c4cb4358dd68cc3e6a89a7c675619eb5 | [
"MIT"
] | permissive | KDSBest/service-fabric | 34694e150fde662286e25f048fb763c97606382e | fe61c45b15a30fb089ad891c68c893b3a976e404 | refs/heads/master | 2023-01-28T23:19:25.040275 | 2020-11-30T11:11:58 | 2020-11-30T11:11:58 | 301,365,601 | 1 | 0 | MIT | 2020-11-30T11:11:59 | 2020-10-05T10:05:53 | null | UTF-8 | C++ | false | false | 1,719 | h | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#pragma once
namespace Hostin... | [
"noreply-sfteam@microsoft.com"
] | noreply-sfteam@microsoft.com |
0aa65fb44a251568f07449ce6d78dfd0f1548de5 | 36d16576057cafec3dd4a35fd5a6fc05e4baa08e | /qglv_gallery/src/background_image.cpp | 249650cdbdb51df68d1c2841400b5c7d832a55ae | [] | no_license | yichoe/qglv_toolkit | 44774941ba51510632ed487510e7a95b752bfdc8 | 1f12b2866a3c6cd0b7864ed7591a09e709011e53 | refs/heads/devel | 2020-06-19T08:26:34.839694 | 2017-06-13T07:33:36 | 2017-06-13T07:33:36 | 94,182,308 | 0 | 0 | null | 2017-06-13T07:16:18 | 2017-06-13T07:16:18 | null | UTF-8 | C++ | false | false | 5,397 | cpp | /**
* @file /dslam_viewer/src/qgl_gallery/background_image.cpp
*
* @brief Short description of this file.
**/
/*****************************************************************************
** Includes
*****************************************************************************/
#include <qapplication.h>
#include... | [
"d.stonier@gmail.com"
] | d.stonier@gmail.com |
1fbc595629bc7a242e2a482d35309306f100b542 | 8cb2d3088cee07199c9778adf8d4856a3301a555 | /Game.h | ff2e3569b0465317e38dbb5ccd3375a865dbcf1b | [] | no_license | cj-dimaggio/OldRogueLike | 7b72dff89afb7d1afb5242c68cd1b6d9cb119b66 | 251b994c077ee272d50fea728fca20bbe6bc65b6 | refs/heads/master | 2021-05-28T00:49:48.495217 | 2014-10-26T14:47:49 | 2014-10-26T14:47:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,133 | h | #ifndef GAME_H_INCLUDED
#define GAME_H_INCLUDED
#include "precompiledheaders.h"
#include "GameObject.h"
#include "Tile.h"
#include "Message.h"
class Game
{
public:
Game();
static void Start();
static void GameLoop();
static void HandleKeys();
static void Render... | [
"ssawaa@yahoo.com"
] | ssawaa@yahoo.com |
e64ceabac9c703dd2b111bf4945500619ee6a24b | 5413baae6a6d9ec1c64d6ba45de4defbad796a45 | /NES Emulator/Source/Audio/DMC.hpp | 6b3322f27cdc05e57815666cbb0e92ac0da18770 | [] | no_license | Sjhunt93/Nes-Emulator | e17f93a98d71472e7b196270a406b0cc0682dd83 | 385e4f595c6a482c77a3afef5a555b15ea76ee5d | refs/heads/master | 2020-04-21T14:10:40.298245 | 2019-03-12T16:28:10 | 2019-03-12T16:28:10 | 169,625,647 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,811 | hpp | //
// DMC.hpp
// NES Emulator - App
//
// Created by Samuel Hunt on 21/02/2019.
//
#ifndef DMC_hpp
#define DMC_hpp
#include "Audio.h"
class CPU;
class DMC {
public:
CPU * cpu;
bool enabled;
Byte value;
UInt16 sampleAddress;
UInt16 sampleLength;
UInt16 currentAddress;
UInt16 currentL... | [
"samuel.hunt@uwe.ac.uk"
] | samuel.hunt@uwe.ac.uk |
d8e274d32e4ef0708993c3fe2f26c12c90818d3c | 62a7d30053e7640ef770e041f65b249d101c9757 | /Discover Vladivostok 2019. Division A Day 4/F.cpp | 2a857af646340fe5de4618db6f31b002ed2e2cb1 | [] | no_license | wcysai/Calabash | 66e0137fd59d5f909e4a0cab940e3e464e0641d0 | 9527fa7ffa7e30e245c2d224bb2fb77a03600ac2 | refs/heads/master | 2022-05-15T13:11:31.904976 | 2022-04-11T01:22:50 | 2022-04-11T01:22:50 | 148,618,062 | 76 | 16 | null | 2019-11-07T05:27:40 | 2018-09-13T09:53:04 | C++ | UTF-8 | C++ | false | false | 1,546 | cpp | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < int(n); i++)
#define Rep(i, n) for (int i = 1; i <=int(n); i++)
#define range(x) begin(x), end(x)
#ifdef __LOCAL_DEBUG__
#define _debug(fmt, ...) fprintf(stderr, "[%s] " fmt "\n", __func__, ##__VA_ARGS__)
#else
#define _debug(...) ((vo... | [
"wcysai@foxmail.com"
] | wcysai@foxmail.com |
b15688c875a4660140c9e800aa40da02977c6729 | 10c0a8cb0899692014417ef60093ace05e5e1763 | /include/RMsg_Ping.i | 8b329294c78ba907e31b08b3c847d7014d85819e | [
"BSD-3-Clause"
] | permissive | openunderlight/ULServer | 56cb96360c57598be6f72f2a20c41f69b41b56bd | 42e12e245506e6a76c3905d64378eff79c908fc5 | refs/heads/dev | 2023-03-10T22:50:51.591229 | 2023-01-31T20:27:44 | 2023-01-31T20:27:44 | 145,008,033 | 7 | 5 | NOASSERTION | 2019-12-24T19:08:59 | 2018-08-16T15:40:15 | TSQL | UTF-8 | C++ | false | false | 427 | i | // RMsg_Ping.i -*- C++ -*-
// $Id: RMsg_Ping.i,v 1.3 1997-07-18 17:26:00-07 jason Exp $
// Copyright 1996-1997 Lyra LLC, All rights reserved.
//
// conditionally inline methods/functions
#ifndef USE_DEBUG
INLINE void RMsg_Ping::Dump(FILE*, int) const
{
// empty
}
#endif /* !USE_DEBUG */
INLINE int RMsg_Ping::Nonc... | [
"root@underlightlyra.(none)"
] | root@underlightlyra.(none) |
0936992199c97ed6d8ab51f8b53caacb340cc923 | ac719e4e5d8bf134a6ad3ce1175e68a10ad52da2 | /Classes/Native/System_Core_System_Func_2_gen2397331331.h | 69f22e2785a0a41db810d7f06ba7df25466b3d30 | [
"MIT"
] | permissive | JasonMcCoy/BOOM-Bound | b5fa6305ec23fd6742d804da0e206a923ff22118 | 574223c5643f8d89fdad3b8fc3c5d49a6a669e6e | refs/heads/master | 2021-01-11T06:23:28.917883 | 2020-05-20T17:28:58 | 2020-05-20T17:28:58 | 72,157,115 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 811 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// UnityEngine.Purchasing.ProductDefinition
struct ProductDefinition_t2168837728;
// System.IAsyncResult
struct IAsyncResult_t2754620036;
// System.AsyncCallback
struct AsyncCallback_... | [
"jasonmccoy@Jasons-MacBook-Pro.local"
] | jasonmccoy@Jasons-MacBook-Pro.local |
a9c05e1433f2e6aec0fdef34856b7d50cd32292d | cc1701cadaa3b0e138e30740f98d48264e2010bd | /chrome/browser/policy/messaging_layer/encryption/test_encryption_module.cc | f35841d79c82e645230169cf7e0c60289ef7c333 | [
"BSD-3-Clause"
] | permissive | dbuskariol-org/chromium | 35d3d7a441009c6f8961227f1f7f7d4823a4207e | e91a999f13a0bda0aff594961762668196c4d22a | refs/heads/master | 2023-05-03T10:50:11.717004 | 2020-06-26T03:33:12 | 2020-06-26T03:33:12 | 275,070,037 | 1 | 3 | BSD-3-Clause | 2020-06-26T04:04:30 | 2020-06-26T04:04:29 | null | UTF-8 | C++ | false | false | 715 | cc | // Copyright 2020 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 <string>
#include "chrome/browser/policy/messaging_layer/encryption/test_encryption_module.h"
#include "chrome/browser/policy/messaging_layer/u... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
c305ad949e2f362d6d5db7aaab186b20967ce5d8 | bd60b432bd871101c1e2c1dc28fcf695c4940e50 | /Source/BattleTanks/Public/TankTurret.h | 13698e27bfdd0c87cb49d072aaa978593cac61f1 | [] | no_license | setg2002/04_BattleTanks | 1b2e7da456671eecc2c7771e229a34a38f0fda5a | cd880a871b0219b4a6fc577d747784bad909328d | refs/heads/master | 2021-07-14T06:55:03.630232 | 2019-03-05T20:57:06 | 2019-03-05T20:57:06 | 149,185,824 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 549 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Components/StaticMeshComponent.h"
#include "TankTurret.generated.h"
/**
*
*/
UCLASS( meta = (BlueprintSpawnableComponent) )
class BATTLETANKS_API UTankTurret : public UStaticMeshComponent... | [
"soren.gilbertson13@gmail.com"
] | soren.gilbertson13@gmail.com |
8e477f86d56901db2564fdd0237b8ff96fba6f61 | 48c116c9b62998dbd6d4823cff15e1480783703b | /Class/22.08.20/22.08.20/Source.cpp | 004302903aab59f18750a188d3196e459568f3bc | [] | no_license | Orest3321/C---Base | f28bbc4c4e5dcd213fb134244e30d6b17a68c142 | 9e0e9740abbfd644ecef87824c8d08c880f6d56b | refs/heads/master | 2022-12-03T13:51:03.724087 | 2020-08-22T14:25:35 | 2020-08-22T14:25:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 99 | cpp | #include<iostream>
using namespace std;
int main()
{
system("pause");
return 0;
} | [
"mka@rivne.itstep.org"
] | mka@rivne.itstep.org |
adceae0e77b4cc5271094d3eb40aa47f8663c227 | 6197740e6297da2f3d0c8ffd2a1d7ef5d8b3d2cb | /cmake-2.8.12.2/Source/cmGetTargetPropertyCommand.cxx | bacd051a9750ff98f7e0f2d08e681dd8888c91e2 | [
"BSD-3-Clause"
] | permissive | ssh352/cppcode | 1159d4137b68ada253678718b3d416639d3849ba | 5b7c28963286295dfc9af087bed51ac35cd79ce6 | refs/heads/master | 2020-11-24T18:07:17.587795 | 2016-07-15T13:13:05 | 2016-07-15T13:13:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,632 | cxx | /*============================================================================
CMake - Cross Platform Makefile Generator
Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
Distributed under the OSI-approved BSD License (the "License");
see accompanying file Copyright.txt for details.
This... | [
"qq410029478@ff87cf93-6e24-4a51-a1f1-68835326ac4f"
] | qq410029478@ff87cf93-6e24-4a51-a1f1-68835326ac4f |
2cf5572094068417d5d7eb55cb9b6fc2b25d6242 | 2723bc08dfb2499343e7ba5e3e0edd2ddfb65291 | /lldb/source/Plugins/Process/Windows/DebuggerThread.h | 586a1a76856e4326fa1d5d76d544c6e0827468d4 | [
"NCSA"
] | permissive | Rombur/llvm-project | ff5f223655f8af875eb39651b84b3144d9ca57bc | 2d153d08a9514ca4e602b96f56d94ac38f439a0a | refs/heads/master | 2020-05-29T11:35:25.185427 | 2014-12-09T18:45:30 | 2014-12-09T18:45:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,125 | h | //===-- DebuggerThread.h ----------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"zturner@google.com"
] | zturner@google.com |
e9afa857d14c2f627df07c3567b1764e1680850f | c3a2034eaa707b98462b788c2882e105e78a239f | /src/txdb-leveldb.cpp | d88d3b197113cd8db9a296eff36194624bbdd05e | [
"MIT"
] | permissive | nixoncoindev/nixon | da11def9cc6b7fbc02573c2c0f5ccd2781d1ed31 | 992f49841463198559e9f0e5f6a13c22f9f6163e | refs/heads/master | 2021-01-09T20:11:16.738774 | 2017-02-07T19:11:35 | 2017-02-07T19:11:35 | 81,244,241 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,146 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
#include <map>
#include <boost/version.hpp>
#include <boost/filesystem.hpp>
#... | [
"nixoncoin@protonmail"
] | nixoncoin@protonmail |
b22839aff57a4bbe0c23e5047dde5b28d0f46894 | db557a30a28f77774cf4662c119a9197fb3ae0a0 | /HelperFunctions/getVkGeometryAABBNV.cpp | 86a5bd76ede73ddf573e5275e8e3f8f18ff09bc5 | [
"Apache-2.0"
] | permissive | dkaip/jvulkan-natives-Linux-x86_64 | b076587525a5ee297849e08368f32d72098ae87e | ea7932f74e828953c712feea11e0b01751f9dc9b | refs/heads/master | 2021-07-14T16:57:14.386271 | 2020-09-13T23:04:39 | 2020-09-13T23:04:39 | 183,515,517 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,021 | cpp | /*
* Copyright 2019-2020 Douglas Kaip
*
* 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 t... | [
"dkaip@earthlink.net"
] | dkaip@earthlink.net |
0bb0dc322175d3a9d95dc71b591b535cbfc28f91 | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE590_Free_Memory_Not_on_Heap/s01/CWE590_Free_Memory_Not_on_Heap__delete_array_char_static_16.cpp | 8efca7a69ba827068e64262e73e3281d5f8a28d3 | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 2,824 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE590_Free_Memory_Not_on_Heap__delete_array_char_static_16.cpp
Label Definition File: CWE590_Free_Memory_Not_on_Heap__delete_array.label.xml
Template File: sources-sink-16.tmpl.cpp
*/
/*
* @description
* CWE: 590 Free Memory Not on Heap
* BadSource: static Data ... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
8c22d629f321ccdddff30c45e76141a155398334 | 6012374a36d037c2b609d99fdefdee087c6e2bfa | /World.h | adb6d904f8a1b8c000ce28edc4b30d054d6f6d24 | [] | no_license | super-nova/Allegro5Framework | c61cefb6e29fb7d9e91493257c5f6036ab3e4927 | 9054c58d88777d8ec861d4429d4fd5b437d4b22c | refs/heads/master | 2020-06-05T18:07:43.732412 | 2012-09-07T18:18:04 | 2012-09-07T18:18:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 677 | h | #pragma once
class Entity;
class BaseComponent;
#include "Entity.h"
#include "BaseComponent.h"
#include <vector>
#include <boost/multi_array.hpp>
using std::vector;
typedef unsigned __int16 uint_16;
typedef uint_16 entityId;
typedef uint_16 componentId;
class World
{
entityId lastid;
componentId lastCo... | [
"super_nova26@hotmail.com"
] | super_nova26@hotmail.com |
e1179e891c8c1cfe2fbc8e13c76543be840f863d | c6563a1fd7008f1bd6b63e71d9a4b1c50ea4a206 | /JewelThief2/Game/MapLoader.cpp | 868c4c207460df27799eaabf9157005a363620f0 | [
"MIT"
] | permissive | Munky665/AIForGames | 7a1a421f88e60384565d45eb646e362f18ab6e65 | 5b77c257c5453df867537b37a5ebf960f90bcc82 | refs/heads/master | 2020-09-22T14:09:58.362779 | 2020-03-03T04:07:13 | 2020-03-03T04:07:13 | 225,225,308 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,109 | cpp | #include "MapLoader.h"
#include "Room.h"
#include "Player.h"
#include "Collider.cpp"
#include "Tile.h"
#include "Node.h"
MapLoader::MapLoader()
{
//push rooms to list based on number of rooms
for (int i = 0; i < m_numberOfRooms; ++i)
{
m_rooms.push_back(new Room(i));
}
}
MapLoader::~MapLoader()
{
}
//load new ... | [
"adam.b.whitty@gmail.com"
] | adam.b.whitty@gmail.com |
54f460049e86385f65f41cffef4f27fb82461349 | d6a66abbeda631e1534141eab6061001c57eb583 | /Prepost_CCP/constant/triSurface/nozzle_down.eMesh | c59e18c378852f2bb74157ea81172bcd65910c0c | [] | no_license | MelodyLiu666/Mold_straightNozzle | 243c265e3e361175d207de185372de2ad9d036e1 | 81c942e6ebdfb949a71bf377385e9294ae4df799 | refs/heads/master | 2021-02-04T11:31:16.108979 | 2020-03-03T12:54:00 | 2020-03-03T12:54:00 | 243,661,662 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,063 | emesh | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"xiaoyuliu_neu@163.com"
] | xiaoyuliu_neu@163.com |
8f8eb32af4b815bcddcafcd6756e929e416b64f6 | 298bf79bae0ca3d499b066259f148dbd0e28fce9 | /src/main/cpp/pistis/concurrent/EpollEventType.cpp | 317926f67c703b91b147c58edafb45b8536c9eaf | [
"Apache-2.0"
] | permissive | tomault/pistis-concurrent | 12b54fb4132a05d015db052addc8d1f2a152de83 | ce3206feb3ca42468e35f6d276cd1871c0f9133f | refs/heads/master | 2020-04-11T10:19:29.794117 | 2019-08-25T19:33:51 | 2019-08-25T19:33:51 | 161,710,957 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,340 | cpp | #include "EpollEventType.hpp"
#include <tuple>
#include <vector>
using namespace pistis::concurrent;
namespace {
static const std::vector< std::tuple<EpollEventType, std::string> >&
eventToNameMap() {
static const std::vector< std::tuple<EpollEventType, std::string> >
EVENT_TO_NAME_MAP{
s... | [
"ault.tom@gmail.com"
] | ault.tom@gmail.com |
ae73cc115e7d7eef9d0324fdfa347b87c0c77f81 | 85b6258fce5bf77b996800563374e4455b3dd421 | /c++/first.cpp | 131e0cc0179d6f5730197de3ef9c26dd92ceecef | [] | no_license | YaoChungLiang/NTUclass | 09786048d88b37e0d66a87f53397055d3961e2ed | 9e2a597fd9766e27b6695e98238963c7560ae30c | refs/heads/master | 2022-10-25T10:55:20.904284 | 2020-06-19T11:07:53 | 2020-06-19T11:07:53 | 262,518,405 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 481 | cpp |
class Position{
private :
int x;
int y;
public:
Position(int x, int y):x(x),y(y) {} // damn c++ 17, when do we need
void Print() {
// ....
}
void SetX(int x){ // this encapsulate the idea of interface
this->x = x; // x(x) == this-.x = x
... | [
"yliang2@uw.edu"
] | yliang2@uw.edu |
a539632454770dbe999b0555f46a77173fee6006 | 1990964ad16e40e560e5796e52725cb395e1e926 | /src/datasets/DataSetClassifier.cpp | 7b3f6f98443cd1c93450e9132568ccebfd9c305a | [] | no_license | tnas/neural-networks | 4775e6337143e0c1e437e6f8142619b94cc6514d | 9ed6d27e9a18c918d715595669ede8756523725f | refs/heads/master | 2020-07-29T03:13:35.919578 | 2019-10-24T18:58:35 | 2019-10-24T18:58:35 | 209,646,799 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,315 | cpp | #include "../../include/datasets/DataSetClassifier.h"
void DataSetClassifier::buildDataMatrix()
{
this->dataMatrix[0][0] = 0;
this->dataMatrix[0][1] = 1;
this->dataMatrix[1][0] = 0;
this->dataMatrix[1][1] = 2;
this->dataMatrix[2][0] = 1;
this->dataMatrix[2][1] = 1;
this->dataMatrix[3][0] = ... | [
"nascimenthiago@gmail.com"
] | nascimenthiago@gmail.com |
07634842868bb695c4a643d5886a0b4c1d15d82d | e1d6417b995823e507a1e53ff81504e4bc795c8f | /gbk/Common/GameStruct.h | 6cfe483de49b1d4bd0e30d4c3a10f7ce422ecd09 | [] | no_license | cjmxp/pap_full | f05d9e3f9390c2820a1e51d9ad4b38fe044e05a6 | 1963a8a7bda5156a772ccb3c3e35219a644a1566 | refs/heads/master | 2020-12-02T22:50:41.786682 | 2013-11-15T08:02:30 | 2013-11-15T08:02:30 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 36,993 | h |
#ifndef __GAMESTRUCT_H__
#define __GAMESTRUCT_H__
#include "Type.h"
#include "GameDefine.h"
#pragma pack(push, 1)
//用来定义在世界的浮点位置
struct WORLD_POS
{
FLOAT m_fX ;
FLOAT m_fZ ;
WORLD_POS(VOID) : m_fX(0.0f), m_fZ(0.0f) {}
WORLD_POS(FLOAT fX, FLOAT fZ) : m_fX(fX) , m_fZ(fZ) {}
VOID CleanUp( ){
m_fX = 0.0... | [
"viticm@126.com"
] | viticm@126.com |
24f7345de7a7cdd9f8dc25f659afad3a4c41e153 | c6eeb0463648da5b8d8c6ba44cb2d058adfcdbb0 | /ProceduralTexture.cpp | a5e4a9e593c7ee9e3a157071a2612fd80870b214 | [] | no_license | fbgtoke/TerrainGenerator | 1091e7a8e4e54728ee6a5559ad987caccf2ff9d1 | 6c96cf7613ca1c7c133ec8d572d8e74f1c9d4a2b | refs/heads/master | 2021-01-18T16:12:09.426363 | 2018-06-18T08:22:29 | 2018-06-18T08:22:29 | 86,726,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,003 | cpp | #include "ProceduralTexture.h"
ProceduralTexture::ProceduralTexture() {}
ProceduralTexture::~ProceduralTexture() {
if (mTextureId != GL_INVALID_VALUE)
glDeleteTextures(1, &mTextureId);
if (mPixels != nullptr) free(mPixels);
}
void ProceduralTexture::generate(unsigned int width, unsigned int height, uint64_t see... | [
"fabio.banchelli@bsc.es"
] | fabio.banchelli@bsc.es |
7b20efd5814f9e912ba6de14b3644813f20dc095 | 080d2db2d45683f760bfa0f7f64755e8b8e6e466 | /src/checkpoints.cpp | 4926d37644c66cb96bf1c9fac1a68251bfbcd7ab | [
"MIT"
] | permissive | latinumcoin/latinumcoin | 5ae2109388f89fca66833201af704aafdb5e4860 | 441e4ac7fcfe25041e0f71e193b552fd3d5638e2 | refs/heads/master | 2021-03-12T23:05:44.467689 | 2014-07-08T19:28:34 | 2014-07-08T19:28:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,641 | cpp | // Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "checkpoints.h"
#include "main.h"
#include "uint256.h"
#include <stdint.h>
#include <boost/assign/list_of.hpp> // ... | [
"einewton@gmail.com"
] | einewton@gmail.com |
86d2bebb57176fbc11821a5392d56b4ea5a5e9c4 | 14104bd60d0ba1316e71d9557440b4aaf61e8dc2 | /98/include/Date.h | 1a74c37f31d234430b0cea9e63eb6da6ab17a75b | [] | no_license | xiaoyujia66/xiao_yujia | b935d49f8d79c05a91794dbc7ec0651dcf411c22 | 1eafd7bfd483479556debdfd4e827568d225c212 | refs/heads/master | 2020-04-27T23:48:51.897277 | 2019-06-02T11:24:39 | 2019-06-02T11:24:39 | 174,791,389 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 467 | h | #ifndef DATE_H
#define DATE_H
class Date
{
public:
Date( int, int, int );
void print();
void setDate( int, int, int );
void setMonth( int );
void setDay( int );
void setYear( int );
int getMonth();
int getDay();
int getYear();
void ne... | [
"435713285@qq.com"
] | 435713285@qq.com |
d4b0f0bf1f9e43f4f5d73c00616c906302087b5b | 19c74c41c2cee8c0b8b56f76d2156950e0ba8391 | /debug_log.h | 212bc58401a85873d6f3d7ce2a6b178c28085a5b | [] | no_license | tyzjames/midi-editor | cd32296d849a36feef60058bc491e432c8587828 | 64fdfb30c0bc0321fabe1ebba46da5249618ba36 | refs/heads/master | 2021-01-25T07:19:51.683076 | 2016-01-12T16:14:29 | 2016-01-12T16:14:29 | 42,509,662 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 252 | h | #ifndef DEBUG_LOG
#define DEBUG_LOG
#include <QTextStream>
#include <QFile>
#include <QCoreApplication>
class debug_log {
public:
debug_log(bool newFile);
void writeLog(QString text);
private:
QString filename;
};
#endif // DEBUG_LOG
| [
"tyzjames@hotmail.com"
] | tyzjames@hotmail.com |
d3a6aec92141a50773a0612b26a2bc19c0203621 | aaa60b19f500fc49dbaac1ec87e9c535a66b4ff5 | /array-easy/605.种花问题.cpp | 52ad3db8bcf8aed7dd5b8dde825fdff4012b1c35 | [] | no_license | younger-1/leetcode-younger | c24e4a2a77c2f226c064c4eaf61e7f47d7e98d74 | a6dc92bbb90c5a095ac405476aeae6690e204b6b | refs/heads/master | 2023-07-25T02:31:42.430740 | 2021-09-09T08:06:05 | 2021-09-09T08:06:05 | 334,441,040 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 937 | cpp | /*
* @lc app=leetcode.cn id=605 lang=cpp
*
* [605] 种花问题
*/
#include <iostream>
#include <vector>
using namespace std;
// @lc code=start
// 124/124 cases passed (24 ms)
// Your runtime beats 80.42 % of cpp submissions
// Your memory usage beats 5 % of cpp submissions (20.7 MB)
class Solution {
public:
bool... | [
"45989017+younger-1@users.noreply.github.com"
] | 45989017+younger-1@users.noreply.github.com |
bc253f95d204a419e9e65a867abab6c08aac4a1d | 2b7ca25e4fba0ce04104987328f28dd6c2b4195e | /2018-2019/sem06/05_class_templ.cpp | 9bff485e3d29441a9d42befe145ee15022ca3018 | [] | no_license | blackav/cmc-cpp-seminars | 7da500782901115cfc4f808b8ad367d126ea3879 | 48c94bb340e98c3856a4f0ea8267fafd73ae318d | refs/heads/master | 2023-04-30T05:16:17.788261 | 2023-04-15T03:37:48 | 2023-04-15T03:37:48 | 53,767,957 | 18 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 443 | cpp | template<typename T>
struct is_int
{
static constexpr auto value = false;
};
template<>
struct is_int<int>
{
static constexpr auto value = true;
};
#include <iostream>
using namespace std;
int main()
{
cout << is_int<double>::value << endl;
cout << is_int<int>::value << endl;
int x = 10;
st... | [
"blackav@gmail.com"
] | blackav@gmail.com |
e6f481e76204dc3913615119602e8689fa5e61c6 | 0f527eb8d84d99f9dba8ee9e7d34d9062434d03b | /Convert/Convert/Src/BSPHandler.h | 63a9f290832224c2dcd37255399a3a3db576c393 | [] | no_license | weichx/pof_to_dae | 50212d519a3b70252b8bae21155c96f10f5c6339 | 38b3f81b4e892e4cd2fe65f66de38fc979c3c6ef | refs/heads/master | 2016-09-06T09:26:55.390228 | 2015-06-29T04:03:07 | 2015-06-29T04:03:07 | 38,220,327 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,682 | h | #include "BSPDataStructs.h"
#include <ios>
#if !defined(_BSP_HANDLER_H_)
#define _BSP_HANDLER_H_
class BSP
{
public:
std::vector<BSP_BoundBox> bounders;
std::vector<BSP_DefPoints> points;
std::vector<BSP_FlatPoly> fpolys;
std::vector<BSP_SortNorm> snorms;
std::vector<BSP_TmapPoly> tpolys;
int numbounders, nu... | [
"matthew.weichselbaum@gmail.com"
] | matthew.weichselbaum@gmail.com |
fabd888fca8f42911693a7d0e6a018660eca6c08 | 33683be0126967b13c5af32e979d8242fb85acaa | /MyClient_System_Editing/tabs/group.h | 39286a9de929be99f4f85bf2db582396a4d57413 | [
"MIT"
] | permissive | ASIKOO/metin2-myclient-system-editing | 5b5a8bb9e1b42d077640cee2398daa2621d7bf8e | 067e0b5cd0b0b4341321be810b0e2dd6ec424df7 | refs/heads/master | 2021-06-07T06:18:50.744992 | 2016-10-14T09:48:08 | 2016-10-14T09:48:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 456 | h | #ifndef MANAGER_H
#define MANAGER_H
#include "global.h"
struct GroupStruct
{
QString Name;
uint32_t Vnum;
QString Leader;
uint32_t LeaderVnum;
QStringList SubMob;
QList<uint32_t> SubMobVnum;
};
class GroupInfo
{
public:
GroupInfo();
static QList<GroupStruct> *Groups;
bool CheckT... | [
"christian.roggia@gmail.com"
] | christian.roggia@gmail.com |
b13047b14d7705f1be3079b301e7b3c85dc22373 | 6ce014545af76c9f52c3a80ef3a93fc249437a0b | /include/query_structs.h | 1e5cde84395e8415904d64c9d863290790466c9a | [] | no_license | David-Durst/nba_queries | fd9340b9c140531068fa195e2249c800cbc80d47 | 0a7a2a9925d8d008b22b389fe05afd7a6c88284a | refs/heads/master | 2023-03-06T15:17:26.390528 | 2021-02-16T05:10:26 | 2021-02-16T05:10:26 | 311,221,043 | 1 | 0 | null | 2021-02-15T04:53:42 | 2020-11-09T04:13:33 | C++ | UTF-8 | C++ | false | false | 8,652 | h | #ifndef QUERY_STRUCTS_H
#define QUERY_STRUCTS_H
#include <string>
#include <vector>
#include <cmath>
#include <functional>
using std::string;
using std::vector;
struct moment {
long int team_id;
int player_id;
double x_loc;
double y_loc;
double radius;
double game_clock;
double shot_clock;... | [
"davidbdurst@gmail.com"
] | davidbdurst@gmail.com |
9b89b3931cca6621aa0e2901cc2d08e403988de1 | ad07a5478488e166dfd057db46ef22fb652e6bb1 | /src/BookKeeping.h | bbc009bbf4ce4edff4f4b9ae0d55a7bcd927ea75 | [
"Zlib"
] | permissive | shaobohou/pearley | d51714722c0055a3131f6b04d78ebeb5eb11e4fe | d451c03e9d8465135fb0c4a4cf54408db60b1e3f | refs/heads/master | 2021-01-01T05:51:10.638506 | 2012-05-21T13:21:13 | 2012-05-21T13:21:13 | 3,509,166 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,812 | h | #ifndef BOOKKEEPING
#define BOOKKEEPING
class ParseEntry
{
public:
ParseEntry()
: the_col(static_cast<unsigned int>(-1)), the_row(static_cast<unsigned int>(-1))
{}
ParseEntry(unsigned int col, unsigned int row)
: the_col(col), the_row(row)
{}
unsigned int& ... | [
"shaobohou@c06704c2-2886-2df8-2b27-5efbbc2a7cc3"
] | shaobohou@c06704c2-2886-2df8-2b27-5efbbc2a7cc3 |
37dd0de3ead170c8a563d05c7e26cdfef21f9d22 | 083100943aa21e05d2eb0ad745349331dd35239a | /aws-cpp-sdk-iam/include/aws/iam/model/GetPolicyVersionResult.h | 3618f23ea1b4485bee601b346f0cbeae79cc4afc | [
"JSON",
"MIT",
"Apache-2.0"
] | permissive | bmildner/aws-sdk-cpp | d853faf39ab001b2878de57aa7ba132579d1dcd2 | 983be395fdff4ec944b3bcfcd6ead6b4510b2991 | refs/heads/master | 2021-01-15T16:52:31.496867 | 2015-09-10T06:57:18 | 2015-09-10T06:57:18 | 41,954,994 | 1 | 0 | null | 2015-09-05T08:57:22 | 2015-09-05T08:57:22 | null | UTF-8 | C++ | false | false | 3,946 | h | /*
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file... | [
"henso@amazon.com"
] | henso@amazon.com |
feaf53f3f38334a2fa6380792c126afbc5009595 | f4e5d2bde7171e0e9ccc4592cf66147de9a06f67 | /OGFLoader.h | b51c672168c77c7bf316cfc12fbc78f2af42ea72 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | mortany/OGFViewer | 585b48883e8036bffb35d7cbd670cb77a2af5592 | 35d380eaafd9bd1481f2da68349eca80cc00ed25 | refs/heads/master | 2021-10-19T14:32:47.360825 | 2019-02-21T19:49:57 | 2019-02-21T19:56:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 753 | h | #pragma once
#include "OGFModel.h"
struct Chunk2564
{
int header[3]; //1 44 2564
float info[10]; //data chunk
};
struct Chunk1284
{
int header[3]; //1 44 284
char data[40];
};
struct OGFHeader
{
int count;
int size;
char modelname[1024];
int hz1; //9
int pos1;
int hz2; //1638
int pos2;
int hz3; //0
i... | [
"dmitrysafronov1996@gmail.com"
] | dmitrysafronov1996@gmail.com |
cd52a0f7c0eaca90bc84c9cd5cf20a9753ed8601 | 892a394660d04682b486792f6850146113b34db6 | /uncharted-client/UnchartedClient/Input.cpp | 50663f353cda8dae755e7a82e98df7ce498acc47 | [] | no_license | inhibitor1217/Direct3D-tutorial | d2ef49d7f0270185bf3d31d90821f3a7f7589e28 | 37668a7c61960b95d14c7920b088d43d988e7a13 | refs/heads/master | 2020-04-11T13:35:33.982227 | 2019-01-18T04:14:28 | 2019-01-18T04:14:28 | 161,822,738 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,521 | cpp | #include "Input.h"
Input::Input()
{
}
Input::Input(const Input &other)
{
}
Input::~Input()
{
}
bool Input::Init(HINSTANCE hInstance, HWND hwnd, int screenWidth, int screenHeight)
{
for (int i = 0; i < 256; i++) {
m_keyboardState[i] = false;
}
m_screenWidth = screenWidth;
m_screenHeight = screenHeight;
... | [
"cytops1217@gmail.com"
] | cytops1217@gmail.com |
f389226213bd0f506ac04b3c4a3c733d888eb7ac | 349fe789ab1e4e46aae6812cf60ada9423c0b632 | /FIB_DataModule/GurRoznDoc/UDMGurRoznDoc.h | 125cafca16aa6508422e462650d89684e4b66fea | [] | no_license | presscad/ERP | a6acdaeb97b3a53f776677c3a585ca860d4de980 | 18ecc6c8664ed7fc3f01397d587cce91fc3ac78b | refs/heads/master | 2020-08-22T05:24:15.449666 | 2019-07-12T12:59:13 | 2019-07-12T12:59:13 | 216,326,440 | 1 | 0 | null | 2019-10-20T07:52:26 | 2019-10-20T07:52:26 | null | WINDOWS-1251 | C++ | false | false | 3,043 | h | //---------------------------------------------------------------------------
#ifndef UDMGurRoznDocH
#define UDMGurRoznDocH
//---------------------------------------------------------------------------
#include "IDMFibConnection.h"
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <For... | [
"sasha@kaserv.ru"
] | sasha@kaserv.ru |
f760d13b3d558f6a17afa89a04a4f466d8a711a4 | 136ee4eec7e1591af2ba60ba6ae342d05b187cee | /traversingBinaryTree.cpp | c88ac4ae4710a0fb54b941b8f09974b20332fff0 | [] | no_license | hujunyu1222/leetcode | 7cd79c6d5287a6cf1db8ce0e7abb225bd53e525b | b20d4a607bdcbc1fc92670b11142433214d7e32b | refs/heads/master | 2021-01-11T06:06:55.377430 | 2017-04-11T02:54:30 | 2017-04-11T02:54:30 | 71,687,068 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,285 | cpp | #include <iostream>
#include <stack>
using namespace std;
struct TreeNode{
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x):val(x), left(NULL), right(NULL){}
};
//后续遍历用于标记节点
enum Tags {Left,Right};
struct element{
TreeNode *pointer;
Tags tag;
};
//前序遍历 非递归
void PreOrder(TreeNode *ro... | [
"hujunyu1222@gmail.com"
] | hujunyu1222@gmail.com |
d9b62a95dead57b38aac2cb4ef7da6bc5903750e | 59c94d223c8e1eb1720d608b9fc040af22f09e3a | /garnet/bin/run_test_component/run_test_component.cc | 4cf09e53e5cdee8d008d01abadd7fa6b154fdc39 | [
"BSD-3-Clause"
] | permissive | bootingman/fuchsia2 | 67f527712e505c4dca000a9d54d3be1a4def3afa | 04012f0aa1edd1d4108a2ac647a65e59730fc4c2 | refs/heads/master | 2022-12-25T20:28:37.134803 | 2019-05-14T08:26:08 | 2019-05-14T08:26:08 | 186,606,695 | 1 | 1 | BSD-3-Clause | 2022-12-16T21:17:16 | 2019-05-14T11:17:16 | C++ | UTF-8 | C++ | false | false | 3,219 | cc | // Copyright 2018 The Fuchsia 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 "garnet/bin/run_test_component/run_test_component.h"
#include <fuchsia/sys/index/cpp/fidl.h>
#include <glob.h>
#include <lib/fit/defer.h>
#includ... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
cb82e1c523f9630a1e956e2563e02bb529a80012 | 01193a36c2c26af2856333e7ee4d535716b0bb32 | /Source/UePortal/Portal/Throughable.h | c5d76f79ba2ff1c60a42a4e4c38fb284669837b2 | [] | no_license | WeaponSoon/UePortal | 50310ac14e17c8786a32b0eb8d336a0a4f9d2c3f | b139cb8042273a652b30d000f0611a7b04ccb413 | refs/heads/master | 2020-04-11T19:20:52.562799 | 2019-01-07T08:19:35 | 2019-01-07T08:19:35 | 162,031,031 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,593 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "UObject/Interface.h"
#include "PortalDoorComponent.h"
#include "Throughable.generated.h"
class UThroughableComponent;
USTRUCT()
struct FThroughablePrePhysicsTickFunction : public FTickFunct... | [
"sdswp@126.com"
] | sdswp@126.com |
64ceb2929e3822d9dae61e0431532518b9941a61 | 8cf32b4cbca07bd39341e1d0a29428e420b492a6 | /programs/nodeseat/main.cpp | 6a4709d381d452bbd27c04f11c5a349aa837cb0d | [
"MIT"
] | permissive | cubetrain/CubeTrain | e1cd516d5dbca77082258948d3c7fc70ebd50fdc | b930a3e88e941225c2c54219267f743c790e388f | refs/heads/master | 2020-04-11T23:00:50.245442 | 2018-12-17T16:07:16 | 2018-12-17T16:07:16 | 156,970,178 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,229 | cpp | /**
* @file
* @copyright defined in cubetrain/LICENSE.txt
*/
#include <appbase/application.hpp>
#include <cubetrain/chain_plugin/chain_plugin.hpp>
#include <cubetrain/http_plugin/http_plugin.hpp>
#include <cubetrain/history_plugin/history_plugin.hpp>
#include <cubetrain/net_plugin/net_plugin.hpp>
#inclu... | [
"1848@shanchain.com"
] | 1848@shanchain.com |
938b9a5384ad75f399c62be573d118e86ee5d15b | c971f2bb3a0a547daedfdc637c9be4a6ed63be29 | /environmental/main.cpp | 85768f670a84d0d1d06d511b7925e7914509fbfe | [
"BSD-3-Clause"
] | permissive | eric33440/project_connect | fc6ab5ee97844d1879289c638713887318553db1 | 531dd94d22b8af83d0837f1c73c492ea0ac341dd | refs/heads/master | 2020-12-20T04:53:41.446443 | 2019-12-14T09:00:15 | 2019-12-14T09:00:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 482 | cpp | /**
* @file main.cpp
* @author Eric Rebillon (eric.rebillon@ynov.com)
* @brief
* @version 0.1
* @date 2019-11-29
*
* @copyright Copyright (c) 2019
*
*/
#include <QCoreApplication>
#include <QObject>
#include "Sensor.h"
/**
* @brief main
* @param argc
* @param argv
* @return
* call the class contains th... | [
"offougajoris@gmail.com"
] | offougajoris@gmail.com |
4242e38f548e2919099daa905b9db61b73e7f2fe | 63d2a6e4de06261adb6eedf312171be3f8c45f46 | /Lab5/Hash_Table/login.cpp | a32776cd4ca6a44b09c77ef7f9615c9ebbc91dd0 | [
"MIT"
] | permissive | HanlinHu/CS210_LAB_code | 17963ae5e801d81407fd1affd91fda10d6bd6c3c | c0f2d89cb6b1d2047bd6fea7e2a041660245dc32 | refs/heads/master | 2020-05-29T21:25:45.776141 | 2015-08-21T22:46:48 | 2015-08-21T22:46:48 | 39,524,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,205 | cpp | //--------------------------------------------------------------------
//
// Hash Table Application: STL unordered_map
// Based on Laboratory 12 from
// A Laboratory Course in C++ Data Structures, Second Edition
//
// Modified by Alex Clarke on Nov. 8, 2014
//
// Complete this program so that it:
// 1) Inserts Pas... | [
"HanlinHu@users.noreply.github.com"
] | HanlinHu@users.noreply.github.com |
8e27382a945eefbdcc9852a9a0b672a732f72453 | 7046a5f8618ec6b3b015d03e68e2f4b7b7090288 | /3DAugmentation/Ferns/RealFerns/affine_image_generator06.cc | 2ede4e8528d777491a79e12fbcf9562af5af8836 | [] | no_license | dmaulikr/3DAugmentation | ca48bbb2dddcdd5fe1766c357595cbeba76b8292 | fc41bd799e81c387720f5870d1b1418691050b9a | refs/heads/master | 2021-01-01T19:36:15.639180 | 2013-06-19T10:09:35 | 2013-06-19T10:09:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,583 | cc | /*
Copyright 2007 Computer Vision Lab,
Ecole Polytechnique Federale de Lausanne (EPFL), Switzerland.
All rights reserved.
Author: Vincent Lepetit (http://cvlab.epfl.ch/~lepetit)
This file is part of the ferns_demo software.
ferns_demo is free software; you can redistribute it and/or modify it under the
... | [
"yltastep@gmail.com"
] | yltastep@gmail.com |
4be381803c1e27e1848e59c4b612f93092e82185 | be4737ec5e569506a3beea5cdfedafdd778e32e1 | /secondmaximum.cpp | abe1f70de3483272e273778742a40ba78411cbaf | [] | no_license | Samykakkar/DSA-practice | 8fd49c690f9c6af56437cb09475e7796538df77b | d10938f34e9467688f178b6570ccc740d3cc4dff | refs/heads/master | 2023-07-24T22:10:26.953125 | 2021-09-06T09:26:00 | 2021-09-06T09:26:00 | 392,998,137 | 0 | 1 | null | 2021-08-13T10:46:25 | 2021-08-05T10:21:28 | C++ | UTF-8 | C++ | false | false | 727 | cpp | #include <iostream>
#include<vector>
using namespace std;
vector<int> largestandsecondlargest(int sizeofarray, int arr[])
{
int max= INT_MIN , max2=INT_MIN;
for(int i=0;i<sizeofarray;i++)
{
if(arr[i]>max)
{
max2=max;
max=arr[i];
}
else if(arr[i]>max... | [
"sam8377984375@gmail.com"
] | sam8377984375@gmail.com |
bd175753adeec83d03cdd8ce7e1be7dfdd41e764 | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE122_Heap_Based_Buffer_Overflow/s01/CWE122_Heap_Based_Buffer_Overflow__cpp_CWE193_char_cpy_42.cpp | e8aa2f4df60dace10399f6fffeb07b6f1899cf38 | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 2,830 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE193_char_cpy_42.cpp
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE193.label.xml
Template File: sources-sink-42.tmpl.cpp
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Allocate ... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
f09dbbfe499a36150b1b63d5b52c635b4d547c1e | 05f6bc4445a4e7d4dcf2d899520abd5ff5913599 | /trunk/VoiceEngine/audio_engine/modules/utility/source/audio_frame_operations.cc | ecda730daf905d175c0b64185712f7b23cedef3a | [] | no_license | XudongPan/audio-engine | c76deee93c751c5da2425b9ef56cf92337f191e6 | eea8b1f3943fb88088a90eab01d3572e49078eba | refs/heads/master | 2022-03-26T01:10:47.430520 | 2020-01-06T20:09:11 | 2020-01-06T20:09:11 | 32,212,042 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,977 | cc | #include "audio_engine/modules/interface/module_common_types.h"
#include "audio_engine/modules/utility/interface/audio_frame_operations.h"
namespace VoIP {
void AudioFrameOperations::MonoToStereo(const int16_t* src_audio,
int samples_per_channel,
... | [
"hawking81@gmail.com"
] | hawking81@gmail.com |
3c8f8470d2bf3b4c4d7d339c0b3c89d421010eca | 0914ef830712bcddd43732f4f6d4c83d42f62430 | /SupportedTitles.cpp | 480cea409d8050d7ba44a1b994d246e45d9a6f2c | [] | no_license | interdpth/RD1Engine | e6f6cf8191429bb33d6e2e60434ed1b87ceccbdf | fb9ba7d7357fed4bfc490c5a97b9bd6163640932 | refs/heads/master | 2023-03-28T18:00:30.651415 | 2021-03-29T03:07:44 | 2021-03-29T03:07:44 | 150,758,140 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 113 | cpp | #include "SupportedTitles.h"
SupportedTitles::SupportedTitles()
{
}
SupportedTitles::~SupportedTitles()
{
}
| [
"interdpth@gmail.com"
] | interdpth@gmail.com |
3061e44c92b3fa6cbd719990c6229d6e879b68d3 | 286d04e93943ab67f18e9cad96211c050e4f9aee | /Arduino/msp430f2013_SD16_I2C/msp430f2013_SD16_I2C.ino | af3514e39aba4f16210bb81c74439d6795a4116f | [
"MIT"
] | permissive | agaelema/msp430f20x3_as_i2c_16bit_adc | 3b66a38be10e7bf505201b2adf3587338377a775 | 5c788fb15cdd05bb998a9a159e4da4baf5c56305 | refs/heads/master | 2020-05-16T01:28:43.140584 | 2019-04-22T04:45:32 | 2019-04-22T04:45:32 | 182,603,578 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,170 | ino | /******************************************************************************
* control SD16_A of MSP430F2013 as a I2C ADC
* - MSP430 address: 0X0B
******************************************************************************
*
* Arduino Uno/Nano
* -----------------
* | ... | [
"agaelema@gmail.com"
] | agaelema@gmail.com |
4ff9a7669503e0562497176e8e0cba38d8c47038 | 1ef4c6274b3cfb29789c1f7f2fb513d489b7e6d7 | /stack/stack.cpp | 7dec1acecbf76d9238969662113cd606c861bc92 | [
"MIT"
] | permissive | theMorning/katas | 0b0bb797dabb8b72b54d32473c095680604c46a1 | b88bab906b3891eac9c375c865cd91ab8dcef6b8 | refs/heads/master | 2020-12-19T12:06:45.660274 | 2020-01-31T05:06:13 | 2020-01-31T05:06:13 | 235,729,036 | 0 | 0 | null | 2020-01-23T05:26:30 | 2020-01-23T05:26:29 | null | UTF-8 | C++ | false | false | 452 | cpp | #include "stack.hpp"
template <typename T> Stack<T>::Stack(int lim) {
size = 0;
position = 0;
limit = lim;
items = new T[lim];
}
template <typename T> Stack<T>::~Stack() { delete[] items; }
template <typename T> void Stack<T>::push(T item) {
items[position] = item;
size++;
position++;
}
template <type... | [
"ryantmcdermott@gmail.com"
] | ryantmcdermott@gmail.com |
4f8f3bae2902a4cf0c04e2e9fec2a6f27fcb5ed8 | 7f62f204ffde7fed9c1cb69e2bd44de9203f14c8 | /DboServer/Server/GameServer/BotAiAction_Escort.cpp | 240f0e6c9f8de42de0d4f8fe64f14f8fdea81fce | [] | no_license | 4l3dx/DBOGLOBAL | 9853c49f19882d3de10b5ca849ba53b44ab81a0c | c5828b24e99c649ae6a2953471ae57a653395ca2 | refs/heads/master | 2022-05-28T08:57:10.293378 | 2020-05-01T00:41:08 | 2020-05-01T00:41:08 | 259,094,679 | 3 | 3 | null | 2020-04-29T17:06:22 | 2020-04-26T17:43:08 | null | UTF-8 | C++ | false | false | 2,076 | cpp | #include "stdafx.h"
#include "BotAiAction_Escort.h"
#include "SPSNodeAction_Escort.h"
#include "BotAiAction_EscortFollow.h"
#include "BotAiState.h"
CBotAiAction_Escort::CBotAiAction_Escort(CNpc* pBot)
: CBotAiAction(pBot, BOTCONTROL_ACTION_DIRECT_PLAY, "BOTCONTROL_ACTION_DIRECT_PLAY")
{
m_eEscortType = INVALID_ESCO... | [
"64261665+dboguser@users.noreply.github.com"
] | 64261665+dboguser@users.noreply.github.com |
3161e4e9ca836dea1657c32bbab01941ec4cb567 | 2a8364c331fd6d052bf6001aa21ff8131830af0a | /boost/optional/stdafx.cpp | 2b1e85f26c8d3dcaf62fe4218b6c76deaf6f72ae | [] | no_license | sld666666/cpp_small_code | 5ceb3555be035079a9eb697707ebfc74c1ec3151 | aca310c403b2fd44da3d5a7924bc86c5944f8cc2 | refs/heads/master | 2021-01-10T22:03:12.161120 | 2014-08-25T15:27:48 | 2014-08-25T15:27:48 | 5,014,970 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 260 | cpp | // stdafx.cpp : 只包括标准包含文件的源文件
// optional.pch 将作为预编译头
// stdafx.obj 将包含预编译类型信息
#include "stdafx.h"
// TODO: 在 STDAFX.H 中
// 引用任何所需的附加头文件,而不是在此文件中引用
| [
"sld666666@gmail.com"
] | sld666666@gmail.com |
79fca7ded61a43d50d58b437f972fbac21d2c716 | 5ec61911b971de3deb2e98b3fe92df1bba63db77 | /prj_4/obj_dir/Vmem__Syms.h | 243b42c70bd995cc4875679e876a88b992f08c7d | [] | no_license | nchronas/verilator_examples | 574ff2a9505ff47e33ae2861d61236ceb98678eb | 3fab42395a02f762ccfff7b71ad2f6bc4801e28d | refs/heads/master | 2021-01-23T16:53:00.316724 | 2017-06-09T10:53:38 | 2017-06-09T10:53:38 | 93,307,996 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 948 | h | // Verilated -*- C++ -*-
// DESCRIPTION: Verilator output: Symbol table internal header
//
// Internal details; most calling programs do not need this header
#ifndef _Vmem__Syms_H_
#define _Vmem__Syms_H_
#include "verilated_heavy.h"
// INCLUDE MODULE CLASSES
#include "Vmem.h"
// SYMS CLASS
class Vmem__Syms : public... | [
"nchronas@gmail.com"
] | nchronas@gmail.com |
bdcfa4aa5b724b6ba93dedb1075261714d934925 | d0a6fc4f9a4a2d96451faa34cf99df92039ba9b3 | /ReactCommon/turbomodule/core/TurboModuleBinding.cpp | 5b370eede9ae6d59ee1db793982d65b0629779d5 | [
"CC-BY-4.0",
"CC-BY-NC-SA-4.0",
"CC-BY-SA-4.0",
"MIT"
] | permissive | kylieclin/local_pick2 | 2e8bc0ca0995e38dacf8cb3bfd0f9ef722bb82ce | d696fcee4615ad4cb70545dfdf1f074c452fa175 | refs/heads/master | 2023-01-08T19:10:45.790326 | 2019-12-13T01:22:23 | 2019-12-13T01:22:23 | 192,242,298 | 0 | 0 | MIT | 2023-01-04T00:42:59 | 2019-06-16T22:24:26 | JavaScript | UTF-8 | C++ | false | false | 2,343 | cpp | /**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "TurboModuleBinding.h"
#include <string>
#include <cxxreact/SystraceSection.h>
#include <jsireact/LongLivedObject.h>
u... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
d09caa8585ae593996bf75ed91e8d4477624461d | 9d1f6a1a84410652961fbff5aff437d7dc658eca | /Training001/Training001/stdafx.cpp | dc158effba270a4aec56478713ec5c540548c28e | [] | no_license | matei-re/holiday2018 | d46b87e1075a7a387a342b41fa09aca348bf775b | d22de5b887d979c4418ae2b5efa888a67f99e6e2 | refs/heads/master | 2020-03-21T09:26:01.955254 | 2018-08-01T16:02:57 | 2018-08-01T16:02:57 | 138,399,542 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 290 | cpp | // stdafx.cpp : source file that includes just the standard includes
// Training001.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
| [
"re.matei@gmail.com"
] | re.matei@gmail.com |
8608aa9b6c947fe1ae5e9c64a8a6e94d66b6141a | f38fed03bd6efedc0c28cae62a60994a4f5a621c | /src/main.cpp | b66a7b1de82132836c5928cfb4eb98a6d666860a | [
"MIT"
] | permissive | fubendong2/kaiyuancoind | 8419effa746a783e63993966dcb212a7632c91c9 | 712b69af211c9dbdc6e1bb2a2db7164082db8dee | refs/heads/master | 2021-01-10T18:59:14.004257 | 2014-03-15T16:47:36 | 2014-03-15T16:47:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 111,003 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2012 Litecoin Developers
// Copyright (c) 2013 Kaiyuancoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-lice... | [
"fubendong100@163.com"
] | fubendong100@163.com |
a3e67b3f3d07fd3af99f1114b1d92233993c49f9 | b233702c5bb01514838ad6d3213f785f54f83ecb | /extra/chromium/files/patch-extensions_browser_api_serial_serial__api.cc | 8d02a3abb95dbdf00d447ddb5a30077385a24516 | [] | no_license | markzz/abs | f44d8d3c03653c7fec96f0702dd16c93790ea23e | f142c918c3d679b807f4548bcb926976364d0a8b | refs/heads/master | 2021-01-21T15:37:29.684333 | 2017-05-19T23:21:51 | 2017-05-19T23:21:51 | 91,852,456 | 0 | 0 | null | 2017-05-19T23:26:25 | 2017-05-19T23:26:25 | null | UTF-8 | C++ | false | false | 662 | cc | --- extensions/browser/api/serial/serial_api.cc.orig 2016-05-25 15:01:02.000000000 -0400
+++ extensions/browser/api/serial/serial_api.cc 2016-05-27 11:12:01.060235000 -0400
@@ -86,11 +86,13 @@
void SerialGetDevicesFunction::Work() {
DCHECK_CURRENTLY_ON(BrowserThread::FILE);
+#if !defined(OS_BSD)
scoped_ptr<dev... | [
"amzo@archbsd.com"
] | amzo@archbsd.com |
d141ab65cb1f6eb22265e5a12aaf937ca18c202d | f1bd4d38d8a279163f472784c1ead12920b70be2 | /xrFS/xr_ini.h | 31a13155f53ec242a0c87497706c1c3519d18552 | [] | no_license | YURSHAT/stk_2005 | 49613f4e4a9488ae5e3fd99d2b60fd9c6aca2c83 | b68bbf136688d57740fd9779423459ef5cbfbdbb | refs/heads/master | 2023-04-05T16:08:44.658227 | 2021-04-18T09:08:18 | 2021-04-18T18:35:59 | 361,129,668 | 1 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 6,152 | h | #ifndef xr_iniH
#define xr_iniH
// refs
class CInifile;
struct xr_token;
//-----------------------------------------------------------------------------------------------------------
//Описание Inifile
//-----------------------------------------------------------------------------------------------------------
clas... | [
"loxotron@bk.ru"
] | loxotron@bk.ru |
4d46cb688a4ffb8aabeb3de832dd1624269181df | 9cea22db134f1fcec4ac14dfc8cf8f4fc123a14f | /test/test_json.cc | 14cd55410016c3a8f54f9bc1e921407bdb366020 | [] | no_license | plasorak/ptmp | d17e48c6c053378384e62da40afead94df3b5860 | 2718cd63cff564521d02ed8a5a3116f162d3f000 | refs/heads/master | 2020-04-25T05:23:33.034321 | 2019-06-25T23:40:22 | 2019-06-25T23:40:22 | 172,541,335 | 0 | 0 | null | 2019-02-25T16:23:14 | 2019-02-25T16:23:13 | null | UTF-8 | C++ | false | false | 626 | cc | #include "json.hpp"
#include <iostream>
using json = nlohmann::json;
int main()
{
// note, this isn't real JSON schema for anything in PTMP
auto jcfg = R"(
{
"name": "testcontrol",
"ports": [ ],
"type": "control",
"bind": "tcp://127.0.0.1:12345"
}
)"_json;
std::cout << jcfg.dump() << std::end... | [
"brett.viren@gmail.com"
] | brett.viren@gmail.com |
b48dddf61a18abe1dc81e415a2ad0435fd464144 | 84257c31661e43bc54de8ea33128cd4967ecf08f | /ppc_85xx/usr/include/c++/4.2.2/gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.h | 6f87aec7cbae33e15784f69604abdd71769e3e06 | [] | no_license | nateurope/eldk | 9c334a64d1231364980cbd7bd021d269d7058240 | 8895f914d192b83ab204ca9e62b61c3ce30bb212 | refs/heads/master | 2022-11-15T01:29:01.991476 | 2020-07-10T14:31:34 | 2020-07-10T14:31:34 | 278,655,691 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 801 | h | // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_javax_crypto_jce_key_SquareSecretKeyFactoryImpl__
#define __gnu_javax_crypto_jce_key_SquareSecretKeyFactoryImpl__
#pragma interface
#include <gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.h>
extern "Java"
{
namespace gnu
{
namespac... | [
"Andre.Mueller@nateurope.com"
] | Andre.Mueller@nateurope.com |
af365a047d27ce34fba65ea7c227c84c97527b7d | 4999e175dff66ebed9bfcd7a6090eaea5dc4ee49 | /Chapter3/Chapter3_test.cc | b0c62b7509936e1f8974574640eb526641df08ba | [] | no_license | zhiminJimmyXiang/CrackingTheCodingInterview | fea16250c77d5aca75b98c7e52da846f83504d7a | 00041b7397dcc368ab29a11bf06f62d0272ce38b | refs/heads/master | 2021-01-25T08:48:49.439884 | 2014-06-27T06:01:17 | 2014-06-27T06:01:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,289 | cc | #include "Chapter3.h"
bool Chapter3_test::Problem_2_test(){
Chapter3 chapter3;
int a[]={2,3,9,0,8,-1,3,3,-2,-3};
int minVal[]={2,2,2,0,0,-1,-1,-1,-2,-3};
for(int i=0; i<10; ++i){
chapter3.problem_2.push(a[i]);
if(chapter3.problem_2.top()!=a[i])
return false;
if(chapter3.problem_2.getMin()!... | [
"zhiminx1@uci.edu"
] | zhiminx1@uci.edu |
607063e44f2926877646a7d444e5f74534461c8b | 64b5c5e0e86733601c268c173c6c89a8dbe9b093 | /AnimalBobble/cpp&h/tlybg.h | 3b364a7b8decb3c68d7dfb63a279d13a0ce210af | [] | no_license | Nishin3614/KOKI_NISHIYAMA | ab2ef12de5072b73fe49318a4742fedc5fc23f14 | 64bc2144f3c7655ab501606fe41bba68ea46f2e0 | refs/heads/master | 2020-09-30T13:45:25.199250 | 2020-01-31T07:26:06 | 2020-01-31T07:26:06 | 227,298,698 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,358 | h | // ----------------------------------------
//
// 試し背景処理の説明[tlybg.h]
// Author : Koki Nishiyama
//
// ----------------------------------------
#ifndef _TLYBG_H_
#define _TLYBG_H_ // ファイル名を基準を決める
// ----------------------------------------
//
// インクルードファイル
//
// ----------------------------------------
#include "main.... | [
"work.nishio240@gmail.com"
] | work.nishio240@gmail.com |
3544c4d3b05b6fd3ec6b3fbdf372e8fa7c897086 | 0a09ae843324049a02df2430a42443518887779c | /client/src/inventoryboard.cpp | eda7ce07f888aea549b7f864b7f8d02f3a78c048 | [] | no_license | FlingPenguin/mir2x | 7653b3e6179042bac94069127e4cb3276428314b | 35e9deeee4b304198fd087f4ca368d32373d8d23 | refs/heads/master | 2023-06-02T04:30:15.810406 | 2021-06-10T17:56:43 | 2021-06-10T17:56:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,131 | cpp | /*
* =====================================================================================
*
* Filename: inventoryboard.cpp
* Created: 10/08/2017 19:22:30
* Description:
*
* Version: 1.0
* Revision: none
* Compiler: gcc
*
* Author: ANHONG
* Email: anhonghe... | [
"anhonghe@gmail.com"
] | anhonghe@gmail.com |
52a364b2ac5fdc6bcf4d4c9ddbed3c7b1432ac5d | 88ff7bd277882913983145850d0d14457241b525 | /src/SingleLayerOptics/tst/units/RectangularPerforatedScatteringShade1.unit.cpp | 2012c82bb0aa6009d2eff3ecd3989ff99bd6b88b | [
"BSD-3-Clause-LBNL"
] | permissive | LBNL-ETA/Windows-CalcEngine | 4a3f7eeff094a277d0cce304c9339c8c8c238f19 | 610cc20b4beddfe379c566aa1adcffc71d2dd75e | refs/heads/main | 2023-08-10T17:02:43.415941 | 2023-08-03T15:32:16 | 2023-08-03T15:32:16 | 54,597,431 | 17 | 13 | NOASSERTION | 2023-08-24T16:59:01 | 2016-03-23T22:31:42 | C++ | UTF-8 | C++ | false | false | 2,779 | cpp | #include <memory>
#include <gtest/gtest.h>
#include "WCESingleLayerOptics.hpp"
#include "WCECommon.hpp"
using namespace SingleLayerOptics;
using namespace FenestrationCommon;
class TestRectangularPerforatedScatteringShade1 : public testing::Test
{
protected:
virtual void SetUp()
{}
};
TEST_F(TestRectangula... | [
"dvvidanovic@lbl.gov"
] | dvvidanovic@lbl.gov |
57925ea0e476b821a17b75d7e104b0d4f1007135 | 4d3b52892720a540e35809c8c3a6925f1b887857 | /src/symboltable.cpp | 2d7652baf3a50c0be8871b9cf866b20ab4426c09 | [
"MIT"
] | permissive | AshOlogn/ash-language-interpreter | f2376785a1bdd09bea982902691c79601e8019ff | add9f2cc76edd3a91e38446fb4c11a1ce1348af0 | refs/heads/master | 2020-03-18T18:22:42.991069 | 2018-08-28T10:32:37 | 2018-08-28T10:32:37 | 135,088,789 | 6 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,313 | cpp | #include <string>
#include <vector>
#include <iostream>
#include <unordered_map>
#include "parsetoken.h"
#include "symboltable.h"
using namespace std;
SymbolTable::SymbolTable() {
table = new vector<unordered_map<string, ParseData>*>();
table->push_back(new unordered_map<string, ParseData>());
depth = 0;
}
void... | [
"ashwin.dev.pro@gmail.com"
] | ashwin.dev.pro@gmail.com |
5824ef7db52242bad8e07095fdd4ceb727cc48e1 | 2134298eaeedc3d0efe98939676b41b17a8db7c8 | /RoutTableAdder.h | b96c87f43530e76eb0fca7664f2d6f2eadf6643b | [] | no_license | CSEKimDoYeon/DC-RouterTestApp | dfd26454f8c55a42d3a97d81dc0c3cb63d86f620 | ab16209eb5078d7d1f23781ef008185809213806 | refs/heads/master | 2020-04-07T16:11:43.652915 | 2018-11-21T08:57:59 | 2018-11-21T08:57:59 | 158,519,255 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,212 | h | #pragma once
#include "afxcmn.h"
#include "afxwin.h"
// CRoutTableAdder 대화 상자입니다.
class CRoutTableAdder : public CDialog
{
DECLARE_DYNAMIC(CRoutTableAdder)
public:
CRoutTableAdder(); // 표준 생성자입니다.
virtual ~CRoutTableAdder();
// 대화 상자 데이터입니다.
enum { IDD = IDD_ROUTE_ADD_DLG };
protected:
virtual void DoDataExc... | [
"ehdus0008@naver.com"
] | ehdus0008@naver.com |
f94f59e3ac65a3a0451c0ac3c0142e540c8e7cfd | 3d424a8d682d4e056668b5903206ccc603f6e997 | /NeoGUI/GUI/DetailsView.h | 363cb75cdd2748cb83d190ba1fd81898ee189d1a | [] | no_license | markus851/NeoLoader | 515e238b385354b83bbc4f7399a85524d5b03d12 | 67c9b642054ead500832406a9c301a7b4cbfffd3 | refs/heads/master | 2022-04-22T07:51:15.418184 | 2015-05-08T11:37:53 | 2015-05-08T11:37:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,333 | h | #pragma once
class CCoverView;
#include "ProgressBar.h"
class CDetailsView: public QWidget
{
Q_OBJECT
public:
CDetailsView(UINT Mode, QWidget *parent = 0);
~CDetailsView();
void ShowDetails(uint64 ID);
void ChangeMode(UINT Mode) {m_Mode = Mode;}
public slots:
void UpdateDetails();
void OnMen... | [
"David@X.com"
] | David@X.com |
041be98441ab83c76d9f870115002ccd8052b464 | 27c917a12edbfd2dba4f6ce3b09aa2e3664d3bb1 | /Tree/array_to_BST.cpp | 2e2345db1c9314994badcf7c23c5079e95d822a0 | [] | no_license | Spetsnaz-Dev/CPP | 681ba9be0968400e00b5b2cb9b52713f947c66f8 | 88991e3b7164dd943c4c92784d6d98a3c9689653 | refs/heads/master | 2023-06-24T05:32:30.087866 | 2021-07-15T19:33:02 | 2021-07-15T19:33:02 | 193,662,717 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,344 | cpp | #include<iostream>
using namespace std;
struct Node{
int data;
Node* right;
Node* left;
};
Node* newNode(int x)
{
Node* ptr = (Node*)malloc(sizeof(Node*));
ptr->data =x;
ptr->left = NULL;
ptr->right = NULL;
return ptr;
}
Node *buildBST(int arr[], int low, int high)
{
int mid = (low+high)/2;
... | [
"ravindrafk@gmail.com"
] | ravindrafk@gmail.com |
3c4237f37b509e8bde03ecc435459419c7b57fb0 | 006ac2f948ad3cf5e7ca646daa1a2130d23c42dd | /c++/《OpenCV图像处理编程实例-源码-20160801/chapter2/2-11.cpp | 0889a54f248573248dc443072ff28c512e7f8e0d | [] | no_license | gitgaoqian/OpenCv | 610463e2bc8bfdb648cf4378ebe6f6891803c3c3 | 2f86037969f002bb7787364deabcb4ea7e753830 | refs/heads/master | 2020-04-10T22:05:44.031755 | 2018-12-11T10:15:52 | 2018-12-11T10:15:52 | 161,315,015 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,573 | cpp | // 功能:代码 2-11 旋转变换
// 作者:朱伟 zhu1988wei@163.com
// 来源:《OpenCV图像处理编程实例》
// 博客:http://blog.csdn.net/zhuwei1988
// 更新:2016-8-1
// 说明:版权所有,引用或摘录请联系作者,并按照上面格式注明出处,谢谢。
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <iostream>
#includ... | [
"734756851@qq.com"
] | 734756851@qq.com |
3211bc94d9280920198f3c8840d58597b848c6b2 | bf023953b735f3c877e5af047526688e88e17bb3 | /demos/simple-udp/playground/net_stream.h | e90b7a1358298eeff1ce9c6516034215bb59ea52 | [] | no_license | puma10100505/documents | f38d37496602009deb1910d55a91bbaee27e82dd | c1b8b69d1109403de4215852e6768370a5bd214b | refs/heads/master | 2020-11-26T05:39:59.094822 | 2020-09-04T12:13:32 | 2020-09-04T12:13:32 | 228,979,105 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,298 | h | /*
Simple Network Library from "Networking for Game Programmers"
http://www.gaffer.org/networking-for-game-programmers
Author: Glenn Fiedler <gaffer@gaffer.org>
*/
#ifndef NET_STREAM_H
#define NET_STREAM_H
#include <assert.h>
#include <string.h>
#include <algorithm>
namespace net
{
// bitpacker class
// + read... | [
"yinpsoft@vip.qq.com"
] | yinpsoft@vip.qq.com |
cdf81bf63d2da602e6de8925a3439d07eb248eb9 | 93294d148df93b4378f59ac815476919273d425f | /src/Lib/steam/isteamugc.h | 4a7d2964b66dd427ab4869f7ed9678240a8f854f | [
"MIT"
] | permissive | FreeAllegiance/Allegiance | f1addb3b26efb6b8518705a0b0300974820333c3 | 3856ebcd8c35a6d63dbf398a4bc7f0264d6c823c | refs/heads/master | 2023-07-06T17:53:24.363387 | 2023-06-29T00:24:26 | 2023-06-29T00:24:26 | 98,829,929 | 86 | 34 | MIT | 2023-06-28T03:57:34 | 2017-07-30T23:09:14 | C++ | UTF-8 | C++ | false | false | 28,116 | h | //====== Copyright 1996-2013, Valve Corporation, All rights reserved. =======
//
// Purpose: interface to steam ugc
//
//=============================================================================
#ifndef ISTEAMUGC_H
#define ISTEAMUGC_H
#ifdef _WIN32
#pragma once
#endif
#include "isteamclient.h"
// callbacks
#if d... | [
"nick@zaphop.com"
] | nick@zaphop.com |
d62f08a68dae57354f14046bfc572f2d1682234d | cb3fff5404fc151e064a586895245e796f025425 | /assignment2/salestax.cpp | ce718424a877990f7328d39206b1f57dd91b0bd0 | [] | no_license | hkumar01/interterm2021-c- | 5dd5b70bb30d633e6ed29f570387a25439d1d411 | a63b53d98b5aff2bbe85d3ae00b6a51b003efb17 | refs/heads/main | 2023-02-25T14:07:23.616171 | 2021-01-29T12:28:22 | 2021-01-29T12:28:22 | 333,880,268 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 480 | cpp | #include <iostream>
using namespace std;
float addTax(float cost, float taxRate)
{
cost = cost + (cost * taxRate);
return cost;
}
int main(int argc, char**argv)
{
float totalCost;
float salesTax;
cout << "Enter total cost: " << endl;
cin >> totalCost;
cout << "Enter sales tax rate a... | [
"hkumar@chapman.edu"
] | hkumar@chapman.edu |
4e60a470cb6bc71862a230112518cabc30f44ba0 | 6499b38172ef0f86be100d024d7ed4e74f6aa2bc | /Engine/Sprite.h | e8887e3bde985bc3d171dc27c7c370be83addd79 | [] | no_license | ralphsmith80/Game_Engine | a76ab08b0a3834571658915f7c52c71fbce3a01a | 6ad9544638c247de0ead285a5e36b244949cf036 | refs/heads/master | 2020-05-20T09:27:08.919374 | 2012-11-03T20:13:06 | 2012-11-03T20:13:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,215 | h | /*
* Sprite.h
* Advanced2D
*
* Created by Ralph Smith on 8/3/10.
* Copyright 2010 Ralph Smith. All rights reserved.
*
*/
#include "Advanced2D.h"
#ifndef __SPRITE_H__
#define __SPRITE_H__
namespace Advanced2D {
enum CollisionType {
COLLISION_NONE = 0,
COLLISION_RECT = 1,
COLLISIO... | [
"ralphsmith80@gmail.com"
] | ralphsmith80@gmail.com |
7c63e0ef398760ee517e826e76540ca70537ea12 | 6180c9e8278145285dbc2bf880a32cb20ca5a5a0 | /scenargie_simulator/2.2/source/simulator/routing/nuOLSRv2/olsrv2/ibase_n.h | 5ef90cf542b6d302470ff5522801afeba1a4c080 | [] | no_license | superzaxi/DCC | 0c529002e9f84a598247203a015f0f4ee0d61c22 | cd3e5755410a1266d705d74c0b037cc1609000cf | refs/heads/main | 2023-07-15T05:15:31.466339 | 2021-08-10T11:23:42 | 2021-08-10T11:23:42 | 384,296,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,170 | h | //
// (N) Neighbor Set
//
#ifndef OLSRV2_IBASE_N_H_
#define OLSRV2_IBASE_N_H_
#include "core/pvector.h"
namespace NuOLSRv2Port { //ScenSim-Port://
/************************************************************//**
* @defgroup ibase_n OLSRv2 :: (N) Neighbor Tuple
* @{
*/
/**
* (N) Neighbor Tuple
... | [
"zaki@keio.jp"
] | zaki@keio.jp |
175be1719b2a04ab851a40fb2dc411f85b87f774 | a5ea23ee7cd18bde94b8ae26bdf3224f64ebc70f | /C++/Day-1/Day-1-B.cpp | a9a73fab5772d861a7c982ab85325bc7128f9a19 | [] | no_license | Back-Log/AITH-CP-Club | f8c9f59c85bf6bc9d4a05ad0525b908a4dacdc35 | 164b4bca8a427c9608a891d3d684f49424f1b0ea | refs/heads/main | 2023-02-18T15:25:59.513175 | 2021-01-23T17:00:27 | 2021-01-23T17:00:27 | 332,251,508 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 143 | cpp | #include<bits/stdc++.h>
using namespace std;
int main() {
int n;
cin>>n;
cout<<(((n%2==0) and (n!=2))?"YES":"NO");
return 0;
}
| [
"64234448+Back-Log-Pratyush@users.noreply.github.com"
] | 64234448+Back-Log-Pratyush@users.noreply.github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.