hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
073b4edfb7d5c65ba6509a0b0a5ae8010b1a704c
302
cxx
C++
source/game/host_system/SceneManager.cxx
stblr/mkw-cs
520254ee41c262332fd2fe429a9364202fd02dc0
[ "MIT" ]
12
2021-06-30T20:05:33.000Z
2022-01-15T23:10:53.000Z
source/game/host_system/SceneManager.cxx
stblr/mkw-cs
520254ee41c262332fd2fe429a9364202fd02dc0
[ "MIT" ]
13
2021-07-04T10:06:07.000Z
2021-11-07T22:41:34.000Z
source/game/host_system/SceneManager.cxx
stblr/mkw-cs
520254ee41c262332fd2fe429a9364202fd02dc0
[ "MIT" ]
null
null
null
#include "SceneManager.hxx" namespace System { void SceneManager::my_changeSceneWithCreator(s32 sceneId, EGG::SceneCreator *creator) { m_creator = creator; changeSiblingScene(sceneId); } } // namespace System REPLACE(changeSceneWithCreator__Q26System12SceneManagerFlPQ23EGG12SceneCreator);
23.230769
87
0.804636
stblr
073bbe665f0eb80791d35a3390cbca720c51f76f
1,683
cpp
C++
LAB6/LAB6/Circuit.cpp
florinERotaru/oop-et-al
750af01be09967e4112e7c783439fe2bdc0a11ce
[ "MIT" ]
null
null
null
LAB6/LAB6/Circuit.cpp
florinERotaru/oop-et-al
750af01be09967e4112e7c783439fe2bdc0a11ce
[ "MIT" ]
null
null
null
LAB6/LAB6/Circuit.cpp
florinERotaru/oop-et-al
750af01be09967e4112e7c783439fe2bdc0a11ce
[ "MIT" ]
null
null
null
#include "Circuit.h" #include <iostream> Circuit::Circuit() { carsNumber = 0; // stoppedNumber = 0; } void Circuit::AddCar(Car* model) { cars[carsNumber++] = model; //pun adresa direct } //void Circuit::AddStopped(Car* model) { // stopped[stoppedNumber++] = model; //} void Circuit::SetWeather(int we...
26.714286
167
0.52347
florinERotaru
073d220e276741a6a49cf1e9c500ce08d329e39b
5,929
cpp
C++
ojcpp/leetcode/400/450_m_delnodeinbst.cpp
softarts/oj
2f51f360a7a6c49e865461755aec2f3a7e721b9e
[ "Apache-2.0" ]
3
2019-05-04T03:26:02.000Z
2019-08-29T01:20:44.000Z
ojcpp/leetcode/400/450_m_delnodeinbst.cpp
softarts/oj
2f51f360a7a6c49e865461755aec2f3a7e721b9e
[ "Apache-2.0" ]
null
null
null
ojcpp/leetcode/400/450_m_delnodeinbst.cpp
softarts/oj
2f51f360a7a6c49e865461755aec2f3a7e721b9e
[ "Apache-2.0" ]
null
null
null
// // Created by Rui Zhou on 27/3/18. // /* * https://leetcode.com/problems/delete-node-in-a-bst/description/ * Given a root node reference of a BST and a key, delete the node with the given key in the BST. Return the root node reference (possibly updated) of the BST. Basically, the deletion can be divided into two...
31.705882
443
0.492663
softarts
0741ce49e8ea2c827bec247be56a22381a89299a
923
hpp
C++
inference-engine/tools/calibration_tool/statistics_collector/utils.hpp
zhoub/dldt
e42c01cf6e1d3aefa55e2c5df91f1054daddc575
[ "Apache-2.0" ]
3
2020-02-09T23:25:37.000Z
2021-01-19T09:44:12.000Z
inference-engine/tools/calibration_tool/statistics_collector/utils.hpp
zhoub/dldt
e42c01cf6e1d3aefa55e2c5df91f1054daddc575
[ "Apache-2.0" ]
null
null
null
inference-engine/tools/calibration_tool/statistics_collector/utils.hpp
zhoub/dldt
e42c01cf6e1d3aefa55e2c5df91f1054daddc575
[ "Apache-2.0" ]
2
2020-04-18T16:24:39.000Z
2021-01-19T09:42:19.000Z
// Copyright (C) 2019 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <deque> #include <string> #include <ie_blob.h> std::string getFullName(const std::string& name, const std::string& dir); /** * @brief Looking for regular file in directory * @param dir - path to the target dir...
28.84375
110
0.748646
zhoub
074357f99cac48070d29f37d6bdf8191dbe7d9e3
65,289
cpp
C++
src/Backends/Helmholtz/TransportRoutines.cpp
friederikeboehm/CoolProp
44325d9e6abd9e6f88f428720f4f64a0c1962784
[ "MIT" ]
null
null
null
src/Backends/Helmholtz/TransportRoutines.cpp
friederikeboehm/CoolProp
44325d9e6abd9e6f88f428720f4f64a0c1962784
[ "MIT" ]
null
null
null
src/Backends/Helmholtz/TransportRoutines.cpp
friederikeboehm/CoolProp
44325d9e6abd9e6f88f428720f4f64a0c1962784
[ "MIT" ]
null
null
null
#include "TransportRoutines.h" #include "CoolPropFluid.h" namespace CoolProp { CoolPropDbl TransportRoutines::viscosity_dilute_kinetic_theory(HelmholtzEOSMixtureBackend& HEOS) { if (HEOS.is_pure_or_pseudopure) { CoolPropDbl Tstar = HEOS.T() / HEOS.components[0].transport.epsilon_over_k; CoolPropD...
48.942279
174
0.578489
friederikeboehm
07435cfeb75f5c3e1334bad63d90566a9506acfc
7,109
cpp
C++
test/moddims.cpp
ckeitz/arrayfire
a1a1bbbc8487a032eb27a6c894b1b3dfb19d123b
[ "BSD-3-Clause" ]
null
null
null
test/moddims.cpp
ckeitz/arrayfire
a1a1bbbc8487a032eb27a6c894b1b3dfb19d123b
[ "BSD-3-Clause" ]
null
null
null
test/moddims.cpp
ckeitz/arrayfire
a1a1bbbc8487a032eb27a6c894b1b3dfb19d123b
[ "BSD-3-Clause" ]
null
null
null
/******************************************************* * Copyright (c) 2014, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause **********************************************...
29.135246
142
0.620059
ckeitz
07439ae178f5d7834cc88f2c47ef09141dc3f310
1,644
cpp
C++
work/day14_figure.cpp
eatyouzi/AH
2beb8252f967d8492a63498c5866d5268eaed4af
[ "Unlicense" ]
null
null
null
work/day14_figure.cpp
eatyouzi/AH
2beb8252f967d8492a63498c5866d5268eaed4af
[ "Unlicense" ]
null
null
null
work/day14_figure.cpp
eatyouzi/AH
2beb8252f967d8492a63498c5866d5268eaed4af
[ "Unlicense" ]
null
null
null
#include<iostream> #include <cstdio> #include <fstream> #include <stdlib.h> using namespace std; class Figure{ public: Figure(); Figure(string name) :_typename(name) { } virtual double getArea( )=0; virtual string getName( )=0; virtual void show()=0; //打印图形的相关信息 protected: string _typename ; }; class ...
15.807692
51
0.607664
eatyouzi
0743b6b5e08885bcbeeb031436fd67c4ba897a65
124
cpp
C++
vortex/assert.cpp
LeDYoM/sgh
66a56d0df5c0acc8a3f47212a91da7ea889695de
[ "MIT" ]
null
null
null
vortex/assert.cpp
LeDYoM/sgh
66a56d0df5c0acc8a3f47212a91da7ea889695de
[ "MIT" ]
null
null
null
vortex/assert.cpp
LeDYoM/sgh
66a56d0df5c0acc8a3f47212a91da7ea889695de
[ "MIT" ]
null
null
null
#include "include/assert.hpp" #include "common_def_priv.hpp" namespace vtx { Assert::Assert() {} Assert::~Assert() {} }
12.4
30
0.677419
LeDYoM
0743bb506b4373046e27d38d925a41bbcc7ff2d7
8,847
cc
C++
chrome/browser/chrome_main_browsertest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
chrome/browser/chrome_main_browsertest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
chrome/browser/chrome_main_browsertest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright (c) 2012 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 "base/command_line.h" #include "base/process/launch.h" #include "base/run_loop.h" #include "base/strings/stringprintf.h" #include "base/strin...
41.731132
80
0.756076
zealoussnow
0745802cf61c83a6b3b707eb4973f77385475d5a
836
cpp
C++
external/FW1FontWrapper/Source/FW1FontWrapper.cpp
CptLucky8/OpenXR-Toolkit
82bfe926d64faa119556725ab5e8bcd2cd7dbab5
[ "MIT" ]
54
2018-12-18T01:43:15.000Z
2022-02-13T09:37:41.000Z
external/FW1FontWrapper/Source/FW1FontWrapper.cpp
CptLucky8/OpenXR-Toolkit
82bfe926d64faa119556725ab5e8bcd2cd7dbab5
[ "MIT" ]
162
2021-12-29T09:27:33.000Z
2022-03-31T02:59:04.000Z
external/FW1FontWrapper/Source/FW1FontWrapper.cpp
CptLucky8/OpenXR-Toolkit
82bfe926d64faa119556725ab5e8bcd2cd7dbab5
[ "MIT" ]
17
2018-12-16T12:16:35.000Z
2022-02-15T18:58:01.000Z
// FW1FontWrapper.cpp #include "FW1Precompiled.h" #include "CFW1Factory.h" #ifndef FW1_DELAYLOAD_DWRITE_DLL #pragma comment (lib, "DWrite.lib") #endif #ifndef FW1_DELAYLOAD_D3DCOMPILER_XX_DLL #pragma comment (lib, "DWrite.lib") #endif #ifdef FW1_COMPILETODLL #ifndef _M_X64 #pragma comment (linker, "/EXPORT:FW...
19.44186
96
0.740431
CptLucky8
074aa629651f56e34920eceb191d702d723480cf
10,284
cpp
C++
src/d_effect.cpp
Krzysiek-K/dxfw
ca8010fd1dc3969a5cdeee062c4ca43090b0815a
[ "BSD-4-Clause" ]
1
2019-01-17T22:57:40.000Z
2019-01-17T22:57:40.000Z
src/d_effect.cpp
Krzysiek-K/dxfw
ca8010fd1dc3969a5cdeee062c4ca43090b0815a
[ "BSD-4-Clause" ]
null
null
null
src/d_effect.cpp
Krzysiek-K/dxfw
ca8010fd1dc3969a5cdeee062c4ca43090b0815a
[ "BSD-4-Clause" ]
null
null
null
#include "dxfw.h" using namespace std; using namespace base; static bool _load_scrambled(const char *path,vector<byte> &data) { if(!NFS.GetFileBytes(path,data)) return false; unsigned int key = 1716253875; for(int i=0;i<(int)data.size();i++) { data[i] ^= (key>>24); key = key*134775813 + 1...
22.405229
121
0.615908
Krzysiek-K
074aba4ac8cd17f5b576a985f4a93691da34d019
8,760
cpp
C++
game/bg_slidemove.cpp
kugelrund/Elite-Reinforce
a2fe0c0480ff2d9cdc241b9e5416ee7f298f00ca
[ "DOC" ]
10
2017-07-04T14:38:48.000Z
2022-03-08T22:46:39.000Z
game/bg_slidemove.cpp
UberGames/SP-Mod-Source-Code
04e0e618d1ee57a2919f1a852a688c03b1aa155d
[ "DOC" ]
null
null
null
game/bg_slidemove.cpp
UberGames/SP-Mod-Source-Code
04e0e618d1ee57a2919f1a852a688c03b1aa155d
[ "DOC" ]
2
2017-04-23T18:24:44.000Z
2021-11-19T23:27:03.000Z
#include "q_shared.h" #include "bg_public.h" #include "bg_local.h" /* input: origin, velocity, bounds, groundPlane, trace function output: origin, velocity, impacts, stairup boolean */ /* ================== PM_SlideMove Returns qtrue if the velocity was clipped in some way ================== */ #define MAX_CLIP_P...
26.465257
134
0.638128
kugelrund
074bda5fb0986fa2c221fd1829df4b2502550247
9,107
cpp
C++
PIPS-IPM/Drivers/statgdx/p3Custom2.cpp
dRehfeldt/PIPS
24d3ea89a0a1aa77c133cfc698a568eb685c9fdb
[ "BSD-3-Clause-LBNL" ]
6
2020-10-29T15:14:14.000Z
2021-07-14T13:31:54.000Z
PIPS-IPM/Drivers/statgdx/p3Custom2.cpp
dRehfeldt/PIPS
24d3ea89a0a1aa77c133cfc698a568eb685c9fdb
[ "BSD-3-Clause-LBNL" ]
null
null
null
PIPS-IPM/Drivers/statgdx/p3Custom2.cpp
dRehfeldt/PIPS
24d3ea89a0a1aa77c133cfc698a568eb685c9fdb
[ "BSD-3-Clause-LBNL" ]
1
2019-02-15T16:30:44.000Z
2019-02-15T16:30:44.000Z
/* $Id: p3Custom2.cpp 52165 2015-05-19 13:33:37Z sdirkse $ * This code is sensitive to the order of the #defines, so inlining is not OK */ #if defined(__linux) && ! defined(_GNU_SOURCE) # define _GNU_SOURCE /* required for dladdr() but no desired globally */ #endif #include <stdio.h> #include <stdlib.h> #include <...
26.16954
103
0.527616
dRehfeldt
074ee619919e35a87faa43567db8bba57c56a062
747
cpp
C++
sorting/bubbleSort.cpp
slowy07/c-lesson
89f3b90c75301d59f64a6659eb8da8a3f8be1582
[ "MIT" ]
2
2020-06-02T17:32:09.000Z
2020-11-29T01:24:52.000Z
sorting/bubbleSort.cpp
slowy07/c-lesson
89f3b90c75301d59f64a6659eb8da8a3f8be1582
[ "MIT" ]
null
null
null
sorting/bubbleSort.cpp
slowy07/c-lesson
89f3b90c75301d59f64a6659eb8da8a3f8be1582
[ "MIT" ]
2
2020-09-23T14:40:28.000Z
2020-11-26T12:32:44.000Z
#include<stdio.h> #include<iostream> using namespace std; void bubbleSort(int arr[], int n) { int i, j; bool changed; for (i = 0; i < n-1; i++) { changed = false; for (j = 0; j < n-i-1; j++) { if (arr[j] > arr[j+1]) { swap(arr[j],arr[j+1]); ...
16.6
48
0.433735
slowy07
074ef64e1adb81315179e0c97678b58f80be9f71
8,342
cpp
C++
arimaa_com.cpp
TFiFiE/4steps
fa0830bea3187dd49d5e8ad1476a8ad29a676cdf
[ "Apache-2.0" ]
9
2018-01-12T08:22:35.000Z
2022-01-05T01:31:39.000Z
arimaa_com.cpp
TFiFiE/4steps
fa0830bea3187dd49d5e8ad1476a8ad29a676cdf
[ "Apache-2.0" ]
4
2018-02-05T21:57:39.000Z
2018-12-01T23:38:31.000Z
arimaa_com.cpp
TFiFiE/4steps
fa0830bea3187dd49d5e8ad1476a8ad29a676cdf
[ "Apache-2.0" ]
2
2018-02-05T23:18:51.000Z
2021-12-17T18:42:02.000Z
#include <QNetworkReply> #include <QNetworkCookieJar> #include <QNetworkCookie> #include <QCheckBox> #include <QDesktopServices> #include "arimaa_com.hpp" #include "asip1.hpp" #include "asip2.hpp" #include "server.hpp" #include "io.hpp" #include "bots.hpp" template<class Base> Arimaa_com<Base>::Arimaa_com(QNetworkAcce...
33.502008
179
0.729921
TFiFiE
074fe694149040fd783f4924745efdb59c55ddfa
413
cpp
C++
llvm-2.9/tools/clang/test/SemaTemplate/instantiate-expr-basic.cpp
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
1
2016-04-09T02:58:13.000Z
2016-04-09T02:58:13.000Z
llvm-2.9/tools/clang/test/SemaTemplate/instantiate-expr-basic.cpp
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
llvm-2.9/tools/clang/test/SemaTemplate/instantiate-expr-basic.cpp
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
// RUN: %clang_cc1 -fsyntax-only -Wno-unused-value -std=c++0x %s template <typename T> struct S { void f() { __func__; // PredefinedExpr 10; // IntegerLiteral 10.5; // FloatingLiteral 'c'; // CharacterLiteral "hello"; // StringLiteral true; // CXXBooleanLiteralExpr nul...
22.944444
64
0.610169
vidkidz
07523f5e62cb8bfa9024884c587f485ffb63e4b2
267
hpp
C++
flocking_simulation/src/engine/systems/entity/planet_mesh.hpp
jotask/Flocking-Simulation
7607e9f100963ef11980d9f91468e22e034c94bd
[ "MIT" ]
null
null
null
flocking_simulation/src/engine/systems/entity/planet_mesh.hpp
jotask/Flocking-Simulation
7607e9f100963ef11980d9f91468e22e034c94bd
[ "MIT" ]
null
null
null
flocking_simulation/src/engine/systems/entity/planet_mesh.hpp
jotask/Flocking-Simulation
7607e9f100963ef11980d9f91468e22e034c94bd
[ "MIT" ]
null
null
null
#pragma once #include "engine/systems/entity/mesh.hpp" #include "Horde3D.h" namespace aiko { class Entity; class PlanetMesh : public Mesh { public: PlanetMesh(Entity& owner); virtual void init() override; private: }; }
11.608696
41
0.614232
jotask
0754f28f523f0241dceb47eec5faa20c19e5dd21
484
cpp
C++
src/utils.cpp
KarateSnoopy/vcv-karatesnoopy
4168a22c4fd90790697f8a2416472fe257153294
[ "MIT" ]
25
2017-10-26T12:44:09.000Z
2019-11-19T16:56:05.000Z
src/utils.cpp
KarateSnoopy/vcv-snoopy
4168a22c4fd90790697f8a2416472fe257153294
[ "MIT" ]
10
2017-10-27T06:17:58.000Z
2021-02-05T15:42:43.000Z
src/utils.cpp
KarateSnoopy/vcv-snoopy
4168a22c4fd90790697f8a2416472fe257153294
[ "MIT" ]
2
2017-11-09T09:06:23.000Z
2018-03-01T00:32:33.000Z
#include "utils.h" static long _stepCount = 0; void log_increase_step_number() { _stepCount++; } void write_log(long freq, const char *format, ...) { if (freq == 0) freq++; if (_stepCount % freq == 0) // log every "freq". eg pass in 10000 to issue this log every 10k steps { va_list ...
16.689655
104
0.566116
KarateSnoopy
075a3596da6b58797cace9ac32894b335d51b1f5
1,464
cpp
C++
Medusa/Medusa/Node/Action/Animation/SkeletonSlotAttachmentNameTimeline.cpp
JamesLinus/Medusa
243e1f67e76dba10a0b69d4154b47e884c3f191f
[ "MIT" ]
1
2019-04-22T09:09:50.000Z
2019-04-22T09:09:50.000Z
Medusa/Medusa/Node/Action/Animation/SkeletonSlotAttachmentNameTimeline.cpp
JamesLinus/Medusa
243e1f67e76dba10a0b69d4154b47e884c3f191f
[ "MIT" ]
null
null
null
Medusa/Medusa/Node/Action/Animation/SkeletonSlotAttachmentNameTimeline.cpp
JamesLinus/Medusa
243e1f67e76dba10a0b69d4154b47e884c3f191f
[ "MIT" ]
1
2021-06-30T14:08:03.000Z
2021-06-30T14:08:03.000Z
// Copyright (c) 2015 fjz13. All rights reserved. // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file. #include "MedusaPreCompiled.h" #include "SkeletonSlotAttachmentNameTimeline.h" #include "Node/INode.h" #include "Resource/Timeline/StringTimelineModel.h" #include "No...
24.4
132
0.764344
JamesLinus
075c6da5785e389ddbebf04c64bf0e0eb79df09e
640
hpp
C++
test/vector/vml/v_max.hpp
rigarash/monolish-debian-package
70b4917370184bcf07378e1907c5239a1ad9579b
[ "Apache-2.0" ]
172
2021-04-05T10:04:40.000Z
2022-03-28T14:30:38.000Z
test/vector/vml/v_max.hpp
rigarash/monolish-debian-package
70b4917370184bcf07378e1907c5239a1ad9579b
[ "Apache-2.0" ]
96
2021-04-06T01:53:44.000Z
2022-03-09T07:27:09.000Z
test/vector/vml/v_max.hpp
termoshtt/monolish
1cba60864002b55bc666da9baa0f8c2273578e01
[ "Apache-2.0" ]
8
2021-04-05T13:21:07.000Z
2022-03-09T23:24:06.000Z
#include "../../test_utils.hpp" template <typename T> T ans_vmax(monolish::vector<T> &ans) { return *(std::max_element(ans.begin(), ans.end())); } template <typename T> bool test_send_vmax(const size_t size, double tol) { monolish::vector<T> x(size, 0.1, 10.0); T ans = ans_vmax(x); monolish::util::send(x);...
22.068966
74
0.65625
rigarash
075d179f3323a3b75a0e8da989d723b44ae57668
1,489
cpp
C++
data/shaders/ssao.cpp
nczeroshift/nctoolkit
c9f0be533843d52036ec45200512ac54c1faeb11
[ "MIT" ]
2
2016-10-16T22:26:01.000Z
2022-03-29T14:32:15.000Z
data/shaders/ssao.cpp
nczeroshift/nctoolkit
c9f0be533843d52036ec45200512ac54c1faeb11
[ "MIT" ]
1
2015-12-08T00:27:10.000Z
2016-10-30T21:59:50.000Z
data/shaders/ssao.cpp
nczeroshift/nctoolkit
c9f0be533843d52036ec45200512ac54c1faeb11
[ "MIT" ]
2
2016-07-18T21:42:10.000Z
2019-12-16T01:33:20.000Z
#pragma vertex_shader_glx2 uniform mat4 gphModelMatrix; void main() { gl_TexCoord[0] = gl_MultiTexCoord0; gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; gl_FrontColor = gl_Color; } #pragma fragment_shader_glx2 uniform sampler2D gphTexture0; uniform sampler2D gphTexture1; uniform sampler2D gphTexture2; ...
22.223881
89
0.605776
nczeroshift
075f30d00377f3e0a27342f4fdf1ab7d5535e71b
2,829
cpp
C++
Source/Objects/Shop.cpp
DrStrangelove42/DearmOfaRidiculousMan
a19af08c0a044ed4a30194ffdfac912475618b14
[ "MIT" ]
null
null
null
Source/Objects/Shop.cpp
DrStrangelove42/DearmOfaRidiculousMan
a19af08c0a044ed4a30194ffdfac912475618b14
[ "MIT" ]
7
2020-11-20T08:57:10.000Z
2021-03-22T20:40:04.000Z
Source/Objects/Shop.cpp
DrStrangelove42/DreamOfaRidiculousMan
a19af08c0a044ed4a30194ffdfac912475618b14
[ "MIT" ]
null
null
null
#include "Shop.h" //#include "../Characters/Player.h" Shop::Shop(string id, string name, string speech, int posx, int posy, RenderContext& renderer, Map* map) : NPC(id, name, speech, posx, posy, "shop", renderer, map, false), player(NULL) { } Shop::~Shop() { for (auto& entry : contents) { delete entry.first; ...
24.179487
153
0.653588
DrStrangelove42
0760d04fd5fbbfcc0ef8e580bc1211275043e0e8
1,378
cpp
C++
MineGame_Lib/View/ConfigForm.cpp
xinhuang/mUI
69d4835cdc88abafc47574471eee7bb20e67bd2f
[ "Apache-2.0" ]
3
2016-02-14T03:43:40.000Z
2018-07-26T17:05:54.000Z
MineGame_Lib/View/ConfigForm.cpp
xinhuang/mUI
69d4835cdc88abafc47574471eee7bb20e67bd2f
[ "Apache-2.0" ]
null
null
null
MineGame_Lib/View/ConfigForm.cpp
xinhuang/mUI
69d4835cdc88abafc47574471eee7bb20e67bd2f
[ "Apache-2.0" ]
null
null
null
#include "ConfigForm.h" struct ConfigForm::Data { Label widthLabel; Label heightLabel; Label mineTotalLabel; TextBox widthTextBox; }; ConfigForm::ConfigForm() : _d(new Data()) { InitializeComponents(); } ConfigForm::~ConfigForm() { delete _d; } void ConfigForm::InitializeComponents() { set_Size(Size(100, 70...
27.019608
109
0.744557
xinhuang
076188d3b38034867405a8190c6ff683f53f0bf6
2,177
cpp
C++
ex01-09.cpp
GabrielScalici/UVA
e5a56b1ad10df8f1e3d1d6f8fd6d32348a16349f
[ "MIT" ]
null
null
null
ex01-09.cpp
GabrielScalici/UVA
e5a56b1ad10df8f1e3d1d6f8fd6d32348a16349f
[ "MIT" ]
null
null
null
ex01-09.cpp
GabrielScalici/UVA
e5a56b1ad10df8f1e3d1d6f8fd6d32348a16349f
[ "MIT" ]
null
null
null
#include <iostream> #include <string.h> #include <algorithm> #include <stdio.h> #include <stdlib.h> #include <vector> #include <stack> #include <queue> #include <math.h> #define MAX 100 #define GRANDE 100000.0 #define TAM 2 using namespace std; int main(int argc, char const *argv[]){ double P[MAX][TAM]; int...
21.989899
58
0.47175
GabrielScalici
79e45a3459f7bccf1f06af827911d93a3425021c
233
cpp
C++
0744_find_smallest_letter_greater_than_target.cpp
fxshan/LeetCode
a54bbe22bc335dcb3c7efffcc34357cab7641492
[ "Apache-2.0" ]
2
2020-06-04T13:20:20.000Z
2020-06-04T14:49:10.000Z
0744_find_smallest_letter_greater_than_target.cpp
fxshan/LeetCode
a54bbe22bc335dcb3c7efffcc34357cab7641492
[ "Apache-2.0" ]
null
null
null
0744_find_smallest_letter_greater_than_target.cpp
fxshan/LeetCode
a54bbe22bc335dcb3c7efffcc34357cab7641492
[ "Apache-2.0" ]
null
null
null
class Solution { public: char nextGreatestLetter(vector<char>& letters, char target) { for (int i = 0; i < letters.size(); i++) { if ((int)target < (int)letters[i]) return letters[i]; } return letters[0]; } };
23.3
63
0.596567
fxshan
79ed1e5b281d02b10c8e8d7bb46485a4f357abdf
86,647
cc
C++
src/app/common/proto/data.pb.cc
mloves0824/Antalk
fdca57697fb69a6e14bfc12ff2878da419aef793
[ "MIT" ]
null
null
null
src/app/common/proto/data.pb.cc
mloves0824/Antalk
fdca57697fb69a6e14bfc12ff2878da419aef793
[ "MIT" ]
null
null
null
src/app/common/proto/data.pb.cc
mloves0824/Antalk
fdca57697fb69a6e14bfc12ff2878da419aef793
[ "MIT" ]
null
null
null
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: data.proto #include "data.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/port.h> #include <google/protobuf/stubs/once.h> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/...
36.421606
131
0.708057
mloves0824
79ed8886bd48c8320f7f94ad19dce2f56980b498
301
hpp
C++
include/Interpreter/Import.hpp
ferhatgec/flascript
e9db83422b7e008b2fd64a62d763dbedf1d5d1d2
[ "MIT" ]
15
2020-07-30T17:29:12.000Z
2021-08-19T04:05:49.000Z
include/Interpreter/Import.hpp
FerhatGec/flascript
e9db83422b7e008b2fd64a62d763dbedf1d5d1d2
[ "MIT" ]
null
null
null
include/Interpreter/Import.hpp
FerhatGec/flascript
e9db83422b7e008b2fd64a62d763dbedf1d5d1d2
[ "MIT" ]
2
2020-09-18T12:36:22.000Z
2021-05-14T05:24:20.000Z
/* MIT License # # Copyright (c) 2020 Ferhat Geçdoğan All Rights Reserved. # Distributed under the terms of the MIT License. # # */ #ifndef IMPORT_HPP #define IMPORT_HPP #include <iostream> #include <cstring> class FImport { public: void Import(std::string, std::string); }; #endif // IMPORT_HPP
15.05
57
0.717608
ferhatgec
79ee93b07a364b66815622c71430f589c4b034da
1,294
cpp
C++
alica_tests/src/test/test_success_spam.cpp
rapyuta-robotics/alica
4235004015f3ecd5c98426712117997f0ceb4aea
[ "MIT" ]
22
2018-03-08T05:43:45.000Z
2022-03-28T15:03:49.000Z
alica_tests/src/test/test_success_spam.cpp
rapyuta-robotics/alica
4235004015f3ecd5c98426712117997f0ceb4aea
[ "MIT" ]
50
2018-03-30T10:32:01.000Z
2022-03-22T11:58:34.000Z
alica_tests/src/test/test_success_spam.cpp
rapyuta-robotics/alica
4235004015f3ecd5c98426712117997f0ceb4aea
[ "MIT" ]
6
2019-03-04T12:28:27.000Z
2022-02-10T04:09:01.000Z
#include "test_alica.h" #include "BehaviourCreator.h" #include "ConditionCreator.h" #include "ConstraintCreator.h" #include <alica_tests/CounterClass.h> #include "UtilityFunctionCreator.h" #include <alica/test/Util.h> #include <engine/Assignment.h> #include <engine/BasicBehaviour.h> #include <engine/BehaviourPool.h> ...
24.884615
90
0.738794
rapyuta-robotics
79ef41d0c35c576c2f0aad5e54868f50983bad0e
897
cpp
C++
src/Protein.cpp
pelafustan/aed_u1g0
69342941c1dc22f6641b39a80ce35e2fe9076fbd
[ "MIT" ]
null
null
null
src/Protein.cpp
pelafustan/aed_u1g0
69342941c1dc22f6641b39a80ce35e2fe9076fbd
[ "MIT" ]
null
null
null
src/Protein.cpp
pelafustan/aed_u1g0
69342941c1dc22f6641b39a80ce35e2fe9076fbd
[ "MIT" ]
null
null
null
#include "../include/Protein.h" // default constructor Protein::Protein() { // default attributes this->Name = ""; this->ID = ""; } // specific constructor Protein::Protein(std::string name, std::string id) { // user defined attributes this->Name = name; this->ID = id; } // overloaded specifi...
26.382353
77
0.654404
pelafustan
79f4c2940f75053ea6f5a9d091814cfbf11c2d42
4,748
cpp
C++
Doom/src/Doom/Doom.cpp
Shturm0weak/OpenGL_Engine
6e6570f8dd9000724274942fff5a100f0998b780
[ "MIT" ]
126
2020-10-20T21:39:53.000Z
2022-01-25T14:43:44.000Z
Doom/src/Doom/Doom.cpp
Shturm0weak/2D_OpenGL_Engine
6e6570f8dd9000724274942fff5a100f0998b780
[ "MIT" ]
2
2021-01-07T17:29:19.000Z
2021-08-14T14:04:28.000Z
Doom/src/Doom/Doom.cpp
Shturm0weak/2D_OpenGL_Engine
6e6570f8dd9000724274942fff5a100f0998b780
[ "MIT" ]
16
2021-01-09T09:08:40.000Z
2022-01-25T14:43:46.000Z
#include "pch.h" #include "Core/World.h" #include "Core/Core.h" #include "Render/Renderer.h" #include "Text/Character.h" #include "Core/Timer.h" #include "Render/Batch.h" #include "Objects/Line.h" #include "Objects/ParticleSystem.h" #include "Audio/SoundManager.h" #include "Core/Editor.h" #include "Components/Rectangle...
38.290323
108
0.771693
Shturm0weak
79fa92b27f3137bfbed6662649626a55c9f6671a
9,104
cpp
C++
Mercury3/src/renderer/OpenVRRenderTarget.cpp
axlecrusher/hgengine3
7eed878015e47a3275e2dae53cac00e93b74dc19
[ "MIT" ]
4
2018-05-27T18:56:59.000Z
2020-08-02T21:41:30.000Z
Mercury3/src/renderer/OpenVRRenderTarget.cpp
axlecrusher/hgengine3
7eed878015e47a3275e2dae53cac00e93b74dc19
[ "MIT" ]
null
null
null
Mercury3/src/renderer/OpenVRRenderTarget.cpp
axlecrusher/hgengine3
7eed878015e47a3275e2dae53cac00e93b74dc19
[ "MIT" ]
2
2019-05-16T05:23:12.000Z
2020-04-17T10:16:04.000Z
#include <OpenVRRenderTarget.h> #include <HgUtils.h> #include <HgCamera.h> #include <MercuryWindow.h> #include <RenderBackend.h> #include <Win32Window.h> #include <OGLFramebuffer.h> #include <EventSystem.h> #include <Logging.h> OpenVRRenderTarget::OpenVRRenderTarget(OpenVrProxy* openvr) :m_openvr(openvr), m_initaliz...
29.462783
149
0.745826
axlecrusher
79ff22d850d7e3df640a66fcaa1eb9c2a8b5e3e3
3,352
cpp
C++
src/LuminoEngine/src/Graphics/RHIs/RHIResource.cpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
113
2020-03-05T01:27:59.000Z
2022-03-28T13:20:51.000Z
src/LuminoEngine/src/Graphics/RHIs/RHIResource.cpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
13
2020-03-23T20:36:44.000Z
2022-02-28T11:07:32.000Z
src/LuminoEngine/src/Graphics/RHIs/RHIResource.cpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
12
2020-12-21T12:03:59.000Z
2021-12-15T02:07:49.000Z
 #include "Internal.hpp" #include "GraphicsDeviceContext.hpp" #include "RHIProfiler.hpp" #include "RHIResource.hpp" namespace ln { namespace detail { //============================================================================= // RHIResource RHIResource::RHIResource() : m_type(RHIResourceType::Unknown) , m_us...
24.115108
130
0.724642
infinnie
0301d55e286597f3520052d182d8971d0afa307d
871
cpp
C++
standalone/main.cpp
sirofen/read-memory-dll
035b008cdb6ffbf2d00f30234f9ef976c04eee1e
[ "MIT" ]
null
null
null
standalone/main.cpp
sirofen/read-memory-dll
035b008cdb6ffbf2d00f30234f9ef976c04eee1e
[ "MIT" ]
null
null
null
standalone/main.cpp
sirofen/read-memory-dll
035b008cdb6ffbf2d00f30234f9ef976c04eee1e
[ "MIT" ]
null
null
null
// spdlog #define SPDLOG_ACTIVE_LEVEL SPDLOG_LEVEL_TRACE #include <spdlog/spdlog.h> #include <spdlog/sinks/stdout_color_sinks.h> // module #include <module/base_listener.hpp> #include <module/internal/kbd_remap_pointer_dep.hpp> #include <module/module_run.hpp> // C++ STL #include <iostream> class listener : public m...
24.194444
68
0.711825
sirofen
03026d4887903c4c70d5da191529fa77062736ca
9,454
cpp
C++
Half Robot/Model.cpp
marcus1337/HalfRobot
1f1b66b3e8a999a103b027f72d94492f465f96be
[ "MIT" ]
null
null
null
Half Robot/Model.cpp
marcus1337/HalfRobot
1f1b66b3e8a999a103b027f72d94492f465f96be
[ "MIT" ]
null
null
null
Half Robot/Model.cpp
marcus1337/HalfRobot
1f1b66b3e8a999a103b027f72d94492f465f96be
[ "MIT" ]
null
null
null
#pragma once #include "Model.h" #include "Entity.h" #include "Graphics.h" #include "Physics.h" #include "EntityInput.h" #include "SDL.h" #include "PlayerInput.h" #include "GraphicsPlayer.h" #include "PhysicsPlayer.h" #include "GraphicsBullet.h" #include "BulletInput.h" #include "PhysicsBullet.h" #include "AIInput.h" #i...
23.285714
96
0.636556
marcus1337
0303818b3d61bf06e82889b364eee1d52f707e4e
2,608
cc
C++
src/ragnarok/object_factory.cc
X-EcutiOnner/Bourgeon
c8f92df01f21846e994fac888508e40106205f1a
[ "MIT" ]
20
2018-01-25T03:16:13.000Z
2022-03-30T04:30:05.000Z
src/ragnarok/object_factory.cc
X-EcutiOnner/Bourgeon
c8f92df01f21846e994fac888508e40106205f1a
[ "MIT" ]
6
2018-01-27T12:19:35.000Z
2021-06-05T18:39:17.000Z
src/ragnarok/object_factory.cc
X-EcutiOnner/Bourgeon
c8f92df01f21846e994fac888508e40106205f1a
[ "MIT" ]
13
2018-01-27T16:20:19.000Z
2021-05-17T19:08:42.000Z
#include "ragnarok/object_factory.h" #include "ragnarok/object_layouts/session/layouts.h" #include "utils/log_console.h" Session::Pointer ObjectFactory::CreateSession( const YAML::Node& session_configuration) { Session::Pointer result; const auto session_layout = session_configuration["layout"]; if (!sessi...
29.977011
78
0.700537
X-EcutiOnner
030760168ca9cfa92c8fa38ddbdbeadc8472a4dd
32,100
cpp
C++
kernel/thor/generic/address-space.cpp
64/managarm
8250ae9110703e5db796011078d8d856b8119f3c
[ "MIT" ]
1
2021-02-03T09:21:08.000Z
2021-02-03T09:21:08.000Z
kernel/thor/generic/address-space.cpp
MichaelTrikergiotis/managarm
7966d1ca02bf5295a51c56dbb5496c4ad4de9730
[ "MIT" ]
null
null
null
kernel/thor/generic/address-space.cpp
MichaelTrikergiotis/managarm
7966d1ca02bf5295a51c56dbb5496c4ad4de9730
[ "MIT" ]
null
null
null
#include <type_traits> #include <thor-internal/coroutine.hpp> #include <thor-internal/physical.hpp> #include <thor-internal/fiber.hpp> #include <frg/container_of.hpp> #include <thor-internal/types.hpp> namespace thor { extern size_t kernelMemoryUsage; namespace { constexpr bool logCleanup = false; constexpr bool ...
31.782178
103
0.673115
64
030c119e42ce28723ff3883ec3513ba8666b1d52
16,531
cpp
C++
dev/spark/Gem/Code/Components/GameManagerSystemComponent.cpp
chrisinajar/spark
3c6b30592c00bc38738cc3aaca2144edfc6cc8b2
[ "AML" ]
2
2020-08-20T03:40:24.000Z
2021-02-07T20:31:43.000Z
dev/spark/Gem/Code/Components/GameManagerSystemComponent.cpp
chrisinajar/spark
3c6b30592c00bc38738cc3aaca2144edfc6cc8b2
[ "AML" ]
null
null
null
dev/spark/Gem/Code/Components/GameManagerSystemComponent.cpp
chrisinajar/spark
3c6b30592c00bc38738cc3aaca2144edfc6cc8b2
[ "AML" ]
5
2020-08-27T20:44:18.000Z
2021-08-21T22:54:11.000Z
#include "spark_precompiled.h" #include <ISystem.h> #include <CryAction.h> #include <AzCore/Component/Component.h> #include <AzCore/Component/Entity.h> #include <AzFramework/Script/ScriptComponent.h> #include <AzCore/Asset/AssetManagerBus.h> #include <AzFramework/Entity/EntityContextBus.h> #include <AzFramework/Entit...
30.443831
163
0.721432
chrisinajar
030f051b9c430e2f2dd8095b2a5b04b7dfb1beb8
10,593
cc
C++
mysql-server/storage/myisam/ft_update.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
mysql-server/storage/myisam/ft_update.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
mysql-server/storage/myisam/ft_update.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
/* Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free Software Foundation. This program is also distributed with certai...
32.493865
80
0.663268
silenc3502
030f6cd98e071ed25741e7a0ff17d0cc8e16ff18
6,139
cpp
C++
ContextCommon2/src/file_logger.cpp
crutchwalkfactory/jaikuengine-mobile-client
c47100ec009d47a4045b3d98addc9b8ad887b132
[ "MIT" ]
null
null
null
ContextCommon2/src/file_logger.cpp
crutchwalkfactory/jaikuengine-mobile-client
c47100ec009d47a4045b3d98addc9b8ad887b132
[ "MIT" ]
null
null
null
ContextCommon2/src/file_logger.cpp
crutchwalkfactory/jaikuengine-mobile-client
c47100ec009d47a4045b3d98addc9b8ad887b132
[ "MIT" ]
null
null
null
// Copyright (c) 2007-2009 Google Inc. // Copyright (c) 2006-2007 Jaiku Ltd. // Copyright (c) 2002-2006 Mika Raento and Renaud Petit // // This software is licensed at your choice under either 1 or 2 below. // // 1. MIT License // // Permission is hereby granted, free of charge, to any person obtaining a copy // of thi...
28.16055
111
0.735136
crutchwalkfactory
030fffffe2cce81add201e252639f814437619a3
4,237
cpp
C++
model/UpdateCallbackSettingsInputObject.cpp
imissyouso/textmagic-rest-cpp
b5810fd41c08dbab320a52e93d524896e2c2200f
[ "MIT" ]
null
null
null
model/UpdateCallbackSettingsInputObject.cpp
imissyouso/textmagic-rest-cpp
b5810fd41c08dbab320a52e93d524896e2c2200f
[ "MIT" ]
null
null
null
model/UpdateCallbackSettingsInputObject.cpp
imissyouso/textmagic-rest-cpp
b5810fd41c08dbab320a52e93d524896e2c2200f
[ "MIT" ]
null
null
null
/** * TextMagic API * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: 2 * * * NOTE: This class is auto generated by the swagger code generator 2.4.8. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class man...
30.049645
136
0.71206
imissyouso
0310133372a8a8f1654321664c21e429d0545c45
930
cpp
C++
[376] Wiggle Subsequence/376.wiggle-subsequence.cpp
Coolzyh/Leetcode
4abf685501427be0ce36b83016c4fa774cdf1a1a
[ "MIT" ]
null
null
null
[376] Wiggle Subsequence/376.wiggle-subsequence.cpp
Coolzyh/Leetcode
4abf685501427be0ce36b83016c4fa774cdf1a1a
[ "MIT" ]
null
null
null
[376] Wiggle Subsequence/376.wiggle-subsequence.cpp
Coolzyh/Leetcode
4abf685501427be0ce36b83016c4fa774cdf1a1a
[ "MIT" ]
null
null
null
/* * @lc app=leetcode id=376 lang=cpp * * [376] Wiggle Subsequence */ // @lc code=start class Solution { public: int wiggleMaxLength(vector<int>& nums) { // O(n) dp method int n = nums.size(); if (n == 1) return 1; // up[] and down[] record the max wiggle sequence length so far ...
25.135135
83
0.416129
Coolzyh
0310cab9b39f630f6690e0d7fb042e7772a016b2
5,038
cpp
C++
Plugin/DateFormat.cpp
matanki-saito/CK2dll
882d09b44bcd750447b7cf76412ca0e78aeb5818
[ "MIT" ]
228
2018-07-09T05:20:03.000Z
2022-03-28T12:35:07.000Z
Plugin/DateFormat.cpp
matanki-saito/CK2dll
882d09b44bcd750447b7cf76412ca0e78aeb5818
[ "MIT" ]
81
2018-08-04T21:03:34.000Z
2021-12-08T03:08:29.000Z
Plugin/DateFormat.cpp
matanki-saito/CK2dll
882d09b44bcd750447b7cf76412ca0e78aeb5818
[ "MIT" ]
40
2018-08-27T10:57:37.000Z
2022-02-08T10:55:17.000Z
#include "stdinc.h" #include "byte_pattern.h" // Menu bar date format // https://github.com/matanki-saito/CK2dll/issues/38 namespace DateFormat { /*-----------------------------------------------*/ uintptr_t issue_38_copyBufFunc_v28; /*-----------------------------------------------*/ errno_t copyBufFunc_hoo...
27.988889
102
0.627829
matanki-saito
031179759ea7cb3f1760bfa730032d403f328af9
8,742
cpp
C++
LightBase/src/scene.cpp
vsiles/learnopengl
9e5221128755cd7621a3ae9f2ea8d2f90d84e68c
[ "BSD-3-Clause" ]
null
null
null
LightBase/src/scene.cpp
vsiles/learnopengl
9e5221128755cd7621a3ae9f2ea8d2f90d84e68c
[ "BSD-3-Clause" ]
null
null
null
LightBase/src/scene.cpp
vsiles/learnopengl
9e5221128755cd7621a3ae9f2ea8d2f90d84e68c
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <SDL.h> #include <SDL_image.h> /* #define GLM_FORCE_MESSAGES */ #include "glm/glm.hpp" #include "glm/gtc/matrix_transform.hpp" #include "glm/gtc/type_ptr.hpp" #include "cube.hpp" #include "scene.hpp" using namespace std; using namespace vinz; Scene::Scene(string name, int width, int heig...
31.559567
77
0.544498
vsiles
03123a6d86ea7e87e1afe345039412b79c1ff84b
12,852
cpp
C++
src/gpu/gl/GrGLNameAllocator.cpp
Perspex/skia
e25fe5a294e9cee8f23207eef63fad6cffa9ced4
[ "Apache-2.0" ]
7
2016-01-12T23:32:32.000Z
2021-12-03T11:21:26.000Z
src/gpu/gl/GrGLNameAllocator.cpp
AvaloniaUI/skia
e25fe5a294e9cee8f23207eef63fad6cffa9ced4
[ "Apache-2.0" ]
null
null
null
src/gpu/gl/GrGLNameAllocator.cpp
AvaloniaUI/skia
e25fe5a294e9cee8f23207eef63fad6cffa9ced4
[ "Apache-2.0" ]
6
2015-12-09T14:00:19.000Z
2021-12-06T03:08:43.000Z
/* * Copyright 2014 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "GrGLNameAllocator.h" /** * This is the abstract base class for a nonempty AVL tree that tracks allocated * names within the half-open range [fFirst, fEnd). The i...
34.641509
109
0.625506
Perspex
0312f6af041724cd83fe29671b1210937fdb98e0
40,147
cpp
C++
ompi/contrib/vt/vt/extlib/otf/tools/otfaux/State.cpp
bringhurst/ompi
7da12594dc72085162265188b505aca0d0cfe811
[ "BSD-3-Clause-Open-MPI" ]
1
2016-05-01T09:37:07.000Z
2016-05-01T09:37:07.000Z
ompi/contrib/vt/vt/extlib/otf/tools/otfaux/State.cpp
bringhurst/ompi
7da12594dc72085162265188b505aca0d0cfe811
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
ompi/contrib/vt/vt/extlib/otf/tools/otfaux/State.cpp
bringhurst/ompi
7da12594dc72085162265188b505aca0d0cfe811
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
/* This is part of the OTF library. Copyright by ZIH, TU Dresden 2005-2011. Authors: Andreas Knuepfer, Holger Brunst, Ronny Brendel, Thomas Kriebitzsch */ #include "OTF_Platform.h" #include "State.h" #include <iostream> #include <cassert> using namespace std; FunctionCall::FunctionCall( uint64_t _time, uint32_t...
25.951519
122
0.645353
bringhurst
0315b9a79c66e94e3b82f15fc90e4e3758bfaefd
2,112
cpp
C++
C++17TemplateFeatures/folding_basics.cpp
rostislav-nikitin/edu.cpp
3cbb87b32042cc24ebfc9937927ba86ca24a92aa
[ "MIT" ]
null
null
null
C++17TemplateFeatures/folding_basics.cpp
rostislav-nikitin/edu.cpp
3cbb87b32042cc24ebfc9937927ba86ca24a92aa
[ "MIT" ]
null
null
null
C++17TemplateFeatures/folding_basics.cpp
rostislav-nikitin/edu.cpp
3cbb87b32042cc24ebfc9937927ba86ca24a92aa
[ "MIT" ]
null
null
null
// Single-line comment /* * Multiple line comment */ #include <iostream> #include <sstream> using namespace std; // Variadic tempalte auto sum() { return 0; } template<typename T, typename...Args> auto sum(T current, Args ...args) { return current + sum(args...); } //C++17 fold expressions //Unary templa...
18.526316
79
0.552557
rostislav-nikitin
031b13288a44c73b9bb85d08c2c8372ed60e2bc4
2,259
cpp
C++
database/moviemodel.cpp
softmarch/learnqml
9aded6804e74f8f5383ab577437bc5c9dc4a0d56
[ "MIT" ]
3
2020-09-25T09:32:01.000Z
2021-07-10T05:17:39.000Z
database/moviemodel.cpp
heafox/learnqml
37f9d7a22dad03c0bb4b7bb036a4638a9a9e4354
[ "MIT" ]
null
null
null
database/moviemodel.cpp
heafox/learnqml
37f9d7a22dad03c0bb4b7bb036a4638a9a9e4354
[ "MIT" ]
5
2020-09-24T05:27:12.000Z
2022-02-22T17:44:29.000Z
#include "moviemodel.h" #include <QSqlQuery> #include <QVariant> MovieModel::MovieModel(QObject *parent) : QObject(parent) { } void MovieModel::create() { QSqlQuery q; q.exec("drop table Movies"); q.exec("drop table Names"); q.exec("create table Movies (id integer primary key, Title varchar, Dire...
22.147059
107
0.585215
softmarch
0320601242ad93efda44e5ebcbaee0ab884cf04e
1,447
cc
C++
Sandbox/src/MakeTestInputFile_module.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
9
2020-03-28T00:21:41.000Z
2021-12-09T20:53:26.000Z
Sandbox/src/MakeTestInputFile_module.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
684
2019-08-28T23:37:43.000Z
2022-03-31T22:47:45.000Z
Sandbox/src/MakeTestInputFile_module.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
61
2019-08-16T23:28:08.000Z
2021-12-20T08:29:48.000Z
// // Write a text file that can be used as input for the Source00 module. // // Original author Rob Kutschke // // The format of the file is one event per line: // runNumber subRunNumber eventNumber dataProduct // // where dataProduct is a trivial data product: it is a single // integer whose value is: // // 1...
24.525424
95
0.67519
bonventre
03227cc465d6db467bdfe80cb1188d727e76839c
17,870
cpp
C++
Src/MainLib/InterceptLog.cpp
vinjn/glintercept
f82166d3a774bfb02459f6b3ae2a03d4c9eaf64f
[ "MIT" ]
468
2015-04-13T19:03:57.000Z
2022-03-23T00:11:24.000Z
Src/MainLib/InterceptLog.cpp
vinjn/glintercept
f82166d3a774bfb02459f6b3ae2a03d4c9eaf64f
[ "MIT" ]
12
2015-05-25T11:15:21.000Z
2020-10-26T02:46:50.000Z
Src/MainLib/InterceptLog.cpp
vinjn/glintercept
f82166d3a774bfb02459f6b3ae2a03d4c9eaf64f
[ "MIT" ]
67
2015-04-22T13:22:48.000Z
2022-03-05T01:11:02.000Z
/*============================================================================= GLIntercept - OpenGL intercept/debugging tool Copyright (C) 2004 Damian Trebilco Licensed under the MIT license - See Docs\license.txt for details. =============================================================================*/ #inc...
22.70648
136
0.548853
vinjn
032be2b0115cffea95fc220954cdd2f0b383a2ca
11,175
cpp
C++
src/Recording.cpp
JanitzaElectronics/umg801-recordings
39b39bcbe9dfcf1e7c5b31726951e5d00f2ba63a
[ "MIT" ]
null
null
null
src/Recording.cpp
JanitzaElectronics/umg801-recordings
39b39bcbe9dfcf1e7c5b31726951e5d00f2ba63a
[ "MIT" ]
null
null
null
src/Recording.cpp
JanitzaElectronics/umg801-recordings
39b39bcbe9dfcf1e7c5b31726951e5d00f2ba63a
[ "MIT" ]
null
null
null
/* * Recording.cpp * * Created on: 06.09.2021 * Copyright: 2021 by Janitza electronics GmbH */ #include "Recording.hpp" #include "Umg801.hpp" #include <iostream> #include <iomanip> #include <chrono> #include <ctime> Recording::Recording(Umg801& client, const uint32_t& id, const NodeId& nodeId) : m_client(cl...
38.270548
155
0.708993
JanitzaElectronics
032c358fc56460a3c22230f24741725a9c05edcb
3,346
cpp
C++
src/engine/entity/src/diagnostics/world_stats.cpp
code-disaster/halley
5c85c889b76c69c6bdef6f4801c6aba282b7af80
[ "Apache-2.0" ]
3,262
2016-04-10T15:24:10.000Z
2022-03-31T17:47:08.000Z
src/engine/entity/src/diagnostics/world_stats.cpp
code-disaster/halley
5c85c889b76c69c6bdef6f4801c6aba282b7af80
[ "Apache-2.0" ]
53
2016-10-09T16:25:04.000Z
2022-01-10T13:52:37.000Z
src/engine/entity/src/diagnostics/world_stats.cpp
code-disaster/halley
5c85c889b76c69c6bdef6f4801c6aba282b7af80
[ "Apache-2.0" ]
193
2017-10-23T06:08:41.000Z
2022-03-22T12:59:58.000Z
#include "diagnostics/world_stats.h" #include "halley/core/graphics/render_context.h" #include "halley/core/graphics/text/font.h" #include "halley/core/resources/resources.h" #include "halley/core/api/core_api.h" #include "world.h" #include "system.h" #include "halley/core/api/halley_api.h" #include "halley/text/string...
36.769231
270
0.69217
code-disaster
032f82f4bb639fc066a787a8c605c634685a8aa4
1,616
cpp
C++
webrtc-jni/src/main/cpp/src/media/audio/AudioProcessingStats.cpp
preciate/webrtc-java
9073e12b57a74e8c89ed0950d41d29ab7f5cc691
[ "Apache-2.0" ]
1
2022-02-11T16:26:08.000Z
2022-02-11T16:26:08.000Z
webrtc-jni/src/main/cpp/src/media/audio/AudioProcessingStats.cpp
preciate/webrtc-java
9073e12b57a74e8c89ed0950d41d29ab7f5cc691
[ "Apache-2.0" ]
1
2022-02-11T16:30:13.000Z
2022-02-11T16:30:13.000Z
webrtc-jni/src/main/cpp/src/media/audio/AudioProcessingStats.cpp
internet-of-presence/webrtc-java
26ab2091f962533288e2267a16980008d7008528
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2021 Alex Andres * * 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 ...
37.581395
98
0.741337
preciate
033491cc97254a0ce5e5e614a7138c018d9fd099
12,229
cpp
C++
src/db/db_bookshelf.cpp
cuhk-eda/ripple-fpga
059646fcaa0c8d77e4283f55be2bd5692862a039
[ "Unlicense" ]
60
2019-05-15T13:21:40.000Z
2021-12-11T14:38:56.000Z
src/db/db_bookshelf.cpp
jordanpui/ripplefpga
059646fcaa0c8d77e4283f55be2bd5692862a039
[ "Unlicense" ]
3
2020-05-31T13:14:05.000Z
2021-12-11T14:27:59.000Z
src/db/db_bookshelf.cpp
cuhk-eda/ripple-fpga
059646fcaa0c8d77e4283f55be2bd5692862a039
[ "Unlicense" ]
16
2019-06-07T14:56:34.000Z
2022-03-29T20:22:38.000Z
#include "db.h" using namespace db; bool read_line_as_tokens(istream &is, vector<string> &tokens) { tokens.clear(); string line; getline(is, line); while (is && tokens.empty()) { string token = ""; for (unsigned i=0; i<line.size(); ++i) { char currChar = line[i]; ...
32.962264
96
0.485567
cuhk-eda
0335ed4041cad29100751e37044a798e3b592f78
8,910
cpp
C++
Beta 3 casi final/gestionarowner.cpp
roiso/unisys
f23f66ccb426a8127ebe79479953c7b4367121d8
[ "MIT" ]
null
null
null
Beta 3 casi final/gestionarowner.cpp
roiso/unisys
f23f66ccb426a8127ebe79479953c7b4367121d8
[ "MIT" ]
null
null
null
Beta 3 casi final/gestionarowner.cpp
roiso/unisys
f23f66ccb426a8127ebe79479953c7b4367121d8
[ "MIT" ]
null
null
null
#include "gestionarowner.h" #include "ui_gestionarowner.h" #include <qmessagebox.h> #include <QDebug> //Guillermo gestionarOwner::gestionarOwner(QWidget *parent) : QDialog(parent), ui(new Ui::gestionarOwner){ ui->setupUi(this); } gestionarOwner::~gestionarOwner() { compania v2; v2.setController(...
39.955157
320
0.63771
roiso
033f3439742b4c8100746e943d5ff7fcd865af51
339
hpp
C++
Server/include/Pages/ControlPannel.hpp
siisgoo/siisty
66103c54e0d1b35b88177c290e2bf60012607309
[ "MIT" ]
null
null
null
Server/include/Pages/ControlPannel.hpp
siisgoo/siisty
66103c54e0d1b35b88177c290e2bf60012607309
[ "MIT" ]
null
null
null
Server/include/Pages/ControlPannel.hpp
siisgoo/siisty
66103c54e0d1b35b88177c290e2bf60012607309
[ "MIT" ]
null
null
null
#ifndef CONTROLPANNEL_HPP #define CONTROLPANNEL_HPP #include <QWidget> namespace Ui { class ControlPannel; } class ControlPannel : public QWidget { Q_OBJECT public: explicit ControlPannel(QWidget *parent = nullptr); ~ControlPannel(); private: Ui::ControlPannel *ui; }; #endif //...
15.409091
58
0.690265
siisgoo
034018a24168009ea6ac2846053c600e898da0fa
1,321
cpp
C++
Source/FactoryGame/FGTargetPointLinkedList.cpp
iam-Legend/Project-Assembly
1ff3587704232d5e330515bc0d2aceb64ff09a7f
[ "MIT" ]
null
null
null
Source/FactoryGame/FGTargetPointLinkedList.cpp
iam-Legend/Project-Assembly
1ff3587704232d5e330515bc0d2aceb64ff09a7f
[ "MIT" ]
null
null
null
Source/FactoryGame/FGTargetPointLinkedList.cpp
iam-Legend/Project-Assembly
1ff3587704232d5e330515bc0d2aceb64ff09a7f
[ "MIT" ]
null
null
null
// This file has been automatically generated by the Unreal Header Implementation tool #include "FGTargetPointLinkedList.h" UFGTargetPointLinkedList::UFGTargetPointLinkedList(){ } void UFGTargetPointLinkedList::PreSaveGame_Implementation( int32 saveVersion, int32 gameVersion){ } void UFGTargetPointLinkedList::PostSav...
66.05
110
0.84103
iam-Legend
03409f67932eecc7dff926f199e2c962a793cf50
3,052
inl
C++
include/eagine/memory/alloc_arena.inl
matus-chochlik/eagine-core
5bc2d6b9b053deb3ce6f44f0956dfccd75db4649
[ "BSL-1.0" ]
1
2022-01-25T10:31:51.000Z
2022-01-25T10:31:51.000Z
include/eagine/memory/alloc_arena.inl
matus-chochlik/eagine-core
5bc2d6b9b053deb3ce6f44f0956dfccd75db4649
[ "BSL-1.0" ]
null
null
null
include/eagine/memory/alloc_arena.inl
matus-chochlik/eagine-core
5bc2d6b9b053deb3ce6f44f0956dfccd75db4649
[ "BSL-1.0" ]
null
null
null
/// @file /// /// Copyright Matus Chochlik. /// 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 /// #include <eagine/assert.hpp> #include <cstdlib> namespace eagine::memory { //------------------------------------...
31.142857
80
0.524574
matus-chochlik
034422cdc98a49c025a3585cef8bfe146bc259bf
1,383
cpp
C++
source/Cell.cpp
LgHS/GameOfLife-3DS-ClubMatrix
f3c73be09cb9ebeda7334679aa3b83df7dbb428e
[ "MIT" ]
null
null
null
source/Cell.cpp
LgHS/GameOfLife-3DS-ClubMatrix
f3c73be09cb9ebeda7334679aa3b83df7dbb428e
[ "MIT" ]
null
null
null
source/Cell.cpp
LgHS/GameOfLife-3DS-ClubMatrix
f3c73be09cb9ebeda7334679aa3b83df7dbb428e
[ "MIT" ]
null
null
null
#include <3ds.h> #include <stdio.h> #include <string.h> #include "Cell.h" #include <stdlib.h> Cell::Cell(Vector2* position, int isAlive, Vector2* worldSize) { this->IsAlive = isAlive; this->Position = position; this->newState = IsAlive; this->worldSize = worldSize; memset(neighbours, ...
23.440678
63
0.587852
LgHS
0345f5a370de078b505293ad5169e5656305f4cf
2,378
cpp
C++
modules/ti.UI/url/URLUtils.cpp
Gussy/titanium_desktop
37dbaab5664e595115e2fcdc348ed125cd50b48d
[ "Apache-2.0" ]
3
2020-01-31T03:40:26.000Z
2022-02-06T12:20:52.000Z
modules/ti.UI/url/URLUtils.cpp
appcelerator-archive/titanium_desktop
37dbaab5664e595115e2fcdc348ed125cd50b48d
[ "Apache-2.0" ]
null
null
null
modules/ti.UI/url/URLUtils.cpp
appcelerator-archive/titanium_desktop
37dbaab5664e595115e2fcdc348ed125cd50b48d
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2008-2010 Appcelerator, Inc. 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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
28.650602
75
0.654331
Gussy
034a73e43802c08ce8cdb045177e3d679765d325
302
hpp
C++
sources/CastlesStrategy/Server/Managers/Manager.hpp
KonstantinTomashevich/castles-strategy
5e57119ba7701e0f1f9c8d84ffb45abb6ad33a21
[ "MIT" ]
null
null
null
sources/CastlesStrategy/Server/Managers/Manager.hpp
KonstantinTomashevich/castles-strategy
5e57119ba7701e0f1f9c8d84ffb45abb6ad33a21
[ "MIT" ]
null
null
null
sources/CastlesStrategy/Server/Managers/Manager.hpp
KonstantinTomashevich/castles-strategy
5e57119ba7701e0f1f9c8d84ffb45abb6ad33a21
[ "MIT" ]
null
null
null
#pragma once namespace CastlesStrategy { class ManagersHub; class Manager { public: explicit Manager (ManagersHub *managersHub); virtual ~Manager (); ManagersHub * GetManagersHub () const; virtual void HandleUpdate (float timeStep) = 0; private: ManagersHub *managersHub_; }; }
15.1
51
0.715232
KonstantinTomashevich
034ac56e05fcf45cc11692058e406937fb7ca319
6,513
cpp
C++
xfa/fwl/core/ifwl_tooltip.cpp
isabella232/pdfium-1
d8f710cedd62c1d28beee15d7dc3d31ddd148437
[ "BSD-3-Clause" ]
38
2015-11-25T02:25:25.000Z
2022-01-04T01:11:15.000Z
xfa/fwl/core/ifwl_tooltip.cpp
isabella232/pdfium-1
d8f710cedd62c1d28beee15d7dc3d31ddd148437
[ "BSD-3-Clause" ]
1
2021-02-23T22:36:54.000Z
2021-02-23T22:36:54.000Z
xfa/fwl/core/ifwl_tooltip.cpp
isabella232/pdfium-1
d8f710cedd62c1d28beee15d7dc3d31ddd148437
[ "BSD-3-Clause" ]
13
2016-08-03T02:35:18.000Z
2020-12-17T10:14:04.000Z
// Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "xfa/fwl/core/ifwl_tooltip.h" #include "third_party/base/ptr_util.h"...
31.926471
80
0.698142
isabella232
034ae43994310df4301f805397fb442d10c7f6ff
12,728
cpp
C++
Homework/boilerplate/main.cpp
lflame/Router-Lab
58cbcf72fd8e86babbdb3abbe03b4eb23826b79b
[ "Linux-OpenIB" ]
1
2021-09-13T02:38:19.000Z
2021-09-13T02:38:19.000Z
Homework/boilerplate/main.cpp
lflame/Router-Lab
58cbcf72fd8e86babbdb3abbe03b4eb23826b79b
[ "Linux-OpenIB" ]
null
null
null
Homework/boilerplate/main.cpp
lflame/Router-Lab
58cbcf72fd8e86babbdb3abbe03b4eb23826b79b
[ "Linux-OpenIB" ]
1
2021-05-22T08:09:28.000Z
2021-05-22T08:09:28.000Z
#include "router_hal.h" #include "rip.h" #include "router.h" #include <stdint.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <time.h> #include <vector> #define RIP_MAX_ENTRY 25 #define TICKS_PER_SEC 1000 #define TIMEOUT 60 // TODO 暂定为 60s 超时 // 注意1s有1000个TICKS extern bool validateIPChecksum(uin...
34.032086
110
0.594987
lflame
034d3551c0d88596c40765d5a675830546e30a42
6,421
cpp
C++
source/thewizardplusplus/anna/sound/OpenALSource.cpp
thewizardplusplus/anna-sound
317cb26b9d968e2813a45cc7579b0dbe3451c282
[ "MIT" ]
null
null
null
source/thewizardplusplus/anna/sound/OpenALSource.cpp
thewizardplusplus/anna-sound
317cb26b9d968e2813a45cc7579b0dbe3451c282
[ "MIT" ]
null
null
null
source/thewizardplusplus/anna/sound/OpenALSource.cpp
thewizardplusplus/anna-sound
317cb26b9d968e2813a45cc7579b0dbe3451c282
[ "MIT" ]
null
null
null
#include "OpenALSource.h" #include "OpenALAudioDevice.h" #include <AL/al.h> #include <cfloat> using namespace thewizardplusplus::anna::sound; using namespace thewizardplusplus::anna::maths; OpenALSource::OpenALSource(OpenALAudioDevice* audio_device, unsigned int openal_source) : audio_device(audio_device), openal_...
26.423868
77
0.781031
thewizardplusplus
034fcc273045ccc0e78d1ab866f9407015901004
7,244
cpp
C++
src/Util/VRMLWriter.cpp
snozawa/choreonoid
12ab42ccbf287d68216637e55ddae8412771c752
[ "MIT" ]
null
null
null
src/Util/VRMLWriter.cpp
snozawa/choreonoid
12ab42ccbf287d68216637e55ddae8412771c752
[ "MIT" ]
null
null
null
src/Util/VRMLWriter.cpp
snozawa/choreonoid
12ab42ccbf287d68216637e55ddae8412771c752
[ "MIT" ]
null
null
null
/*! @file @author Shin'ichiro Nakaoka */ #include "VRMLWriter.h" using namespace std; using namespace boost; using namespace cnoid; namespace { typedef void (VRMLWriter::*VRMLWriterNodeMethod)(VRMLNodePtr node); typedef std::map<std::string, VRMLWriterNodeMethod> TNodeMethodMap; typedef std::pair<std::string, V...
23.367742
89
0.583793
snozawa
0350f1705a77c68a74f42c0d54992730d42b45c3
1,580
hpp
C++
caffe/include/caffe/layers/sparse_histogram_extractor_layer.hpp
gustavla/autocolorizer
79d4ce1054d35c06bdfcc93236b71e161e082ebb
[ "BSD-3-Clause" ]
234
2016-04-04T15:12:24.000Z
2022-03-14T12:55:09.000Z
caffe/include/caffe/layers/sparse_histogram_extractor_layer.hpp
TrinhQuocNguyen/autocolorize
79d4ce1054d35c06bdfcc93236b71e161e082ebb
[ "BSD-3-Clause" ]
20
2016-04-05T12:44:04.000Z
2022-02-22T06:02:17.000Z
caffe/include/caffe/layers/sparse_histogram_extractor_layer.hpp
TrinhQuocNguyen/autocolorize
79d4ce1054d35c06bdfcc93236b71e161e082ebb
[ "BSD-3-Clause" ]
71
2016-07-12T15:28:16.000Z
2021-12-16T12:22:57.000Z
#ifndef CAFFE_SPARSE_PATCH_LAYER_HPP #define CAFFE_SPARSE_PATCH_LAYER_HPP #include <string> #include <utility> #include <vector> #include "caffe/blob.hpp" #include "caffe/common.hpp" #include "caffe/layer.hpp" namespace caffe { /** * Takes locations and extracts a stack of histograms. */ template <typename Dtype>...
29.259259
80
0.729747
gustavla
03568559c8068436b36aa4d72dab560a5e174e05
2,939
cpp
C++
opcodes.cpp
stavros-avramidis/Assembler
5c061cfd7c98e1b607f024f30e2545a19d0a70ea
[ "MIT" ]
null
null
null
opcodes.cpp
stavros-avramidis/Assembler
5c061cfd7c98e1b607f024f30e2545a19d0a70ea
[ "MIT" ]
null
null
null
opcodes.cpp
stavros-avramidis/Assembler
5c061cfd7c98e1b607f024f30e2545a19d0a70ea
[ "MIT" ]
null
null
null
/* opcodes.cpp * * Created by purpl3f0x on 9/12/18. * Stavros Avramidis */ #include "opcodes.hpp" /*-------------------------------------------*/ /*-------------- OpCodes ---------------*/ unsigned int OpCodes::getBinary(std::string name) const { for (auto op: *this) if (op.name==name) return...
22.265152
57
0.578088
stavros-avramidis
03576a32c36935551439518249e7a4f5e922bae5
982
hpp
C++
src/main/include/Interfaces/IStateSupplier.hpp
Koldar/pathfinding-utils
e1c67bbb9eb0dca9f9f748f2f929310a7ab319f8
[ "MIT" ]
2
2020-10-04T00:52:20.000Z
2020-10-19T06:46:04.000Z
src/main/include/Interfaces/IStateSupplier.hpp
Koldar/pathfinding-utils
e1c67bbb9eb0dca9f9f748f2f929310a7ab319f8
[ "MIT" ]
null
null
null
src/main/include/Interfaces/IStateSupplier.hpp
Koldar/pathfinding-utils
e1c67bbb9eb0dca9f9f748f2f929310a7ab319f8
[ "MIT" ]
null
null
null
#ifndef _ISTATESUPPLIER_HEADER__ #define _ISTATESUPPLIER_HEADER__ #include "ISearchState.hpp" #include <cpp-utils/pool.hpp> #include <cpp-utils/imemory.hpp> #include <cpp-utils/ICleanable.hpp> #include <memory> namespace pathfinding::search { template <typename STATE, typename... STATE_IMPORTANT_TYPES> class IStateS...
26.540541
83
0.758656
Koldar
035d9bb4998f07127523f0ec169ac61e67a2b910
508
cpp
C++
UnitTest/IntentTest.cpp
omarekik/EmbeddedIntentRecognizer
dc3104702e1d3c572f62d9deb763a9b60f97e14e
[ "MIT" ]
null
null
null
UnitTest/IntentTest.cpp
omarekik/EmbeddedIntentRecognizer
dc3104702e1d3c572f62d9deb763a9b60f97e14e
[ "MIT" ]
null
null
null
UnitTest/IntentTest.cpp
omarekik/EmbeddedIntentRecognizer
dc3104702e1d3c572f62d9deb763a9b60f97e14e
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include "Intent.h" TEST(Intent, canFindContextInSentence) { Intent intent({"HELLO", "HI", "MORNING"}, "GREETING"); EXPECT_FALSE(intent.find("IT WILL BE THE BEST DAY.")); EXPECT_TRUE(intent.find("GOOD MORNING MY CAR.")); } TEST(Intent, canFindExpressionContextInSentence)...
29.882353
64
0.661417
omarekik
035db36438e670f15e3f72d03de21b4be307d031
434
cpp
C++
src_compressible/conservedPrimitiveConversions.cpp
ckim103/FHDeX
9182d7589db7e7ee318ca2a0f343c378d9c120a0
[ "BSD-3-Clause-LBNL" ]
null
null
null
src_compressible/conservedPrimitiveConversions.cpp
ckim103/FHDeX
9182d7589db7e7ee318ca2a0f343c378d9c120a0
[ "BSD-3-Clause-LBNL" ]
null
null
null
src_compressible/conservedPrimitiveConversions.cpp
ckim103/FHDeX
9182d7589db7e7ee318ca2a0f343c378d9c120a0
[ "BSD-3-Clause-LBNL" ]
null
null
null
#include "compressible_functions.H" #include "compressible_functions_F.H" void conservedToPrimitive(MultiFab& prim, const MultiFab& cons) { // Loop over boxes for ( MFIter mfi(prim); mfi.isValid(); ++mfi) { const Box& bx = mfi.validbox(); cons_to_prim(ARLIM_3D(bx.loVect()), ARLIM_3D(b...
27.125
68
0.576037
ckim103
035e3f6d11f0a2b7634651309c930cfacac9808e
2,953
cpp
C++
src/tasks.cpp
Algorithms-and-Data-Structures-2021/h00_cpp_basics-if-tim
f4e5c4959a4d8848823c1eccf85c53251962df3b
[ "MIT" ]
null
null
null
src/tasks.cpp
Algorithms-and-Data-Structures-2021/h00_cpp_basics-if-tim
f4e5c4959a4d8848823c1eccf85c53251962df3b
[ "MIT" ]
null
null
null
src/tasks.cpp
Algorithms-and-Data-Structures-2021/h00_cpp_basics-if-tim
f4e5c4959a4d8848823c1eccf85c53251962df3b
[ "MIT" ]
null
null
null
#include <iostream> // cout #include <algorithm> // copy, fill #include "tasks.hpp" // ИСПОЛЬЗОВАНИЕ ЛЮБЫХ ДРУГИХ БИБЛИОТЕК НЕ СОВЕТУЕТСЯ И МОЖЕТ ПОВЛИЯТЬ НА ВАШИ БАЛЛЫ using std::cout; using std::fill; using std::copy; // Задание 1 void swap_args(int *lhs, int *rhs) { if (lhs == nullptr || rhs == nullptr) {...
26.603604
95
0.568574
Algorithms-and-Data-Structures-2021
03639be17057299e455cb996a2b7e61f1d06d155
19,827
cc
C++
chrome/browser/gtk/browser_toolbar_gtk.cc
zachlatta/chromium
c4625eefca763df86471d798ee5a4a054b4716ae
[ "BSD-3-Clause" ]
1
2021-09-24T22:49:10.000Z
2021-09-24T22:49:10.000Z
chrome/browser/gtk/browser_toolbar_gtk.cc
changbai1980/chromium
c4625eefca763df86471d798ee5a4a054b4716ae
[ "BSD-3-Clause" ]
null
null
null
chrome/browser/gtk/browser_toolbar_gtk.cc
changbai1980/chromium
c4625eefca763df86471d798ee5a4a054b4716ae
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2009 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 "chrome/browser/gtk/browser_toolbar_gtk.h" #include <gdk/gdkkeysyms.h> #include <X11/XF86keysym.h> #include "app/l10n_util.h" #include "app...
36.990672
80
0.685832
zachlatta
0363c7505ed00c6aa0609f4dbe1da1174a8f301e
3,510
cpp
C++
samples/stencil/matrix_mult/main.cpp
Jerry-Ma/grppi
d6e5435a2c146605fc53eed899d1777ac0b35699
[ "ECL-2.0", "Apache-2.0" ]
75
2017-05-05T08:22:47.000Z
2022-02-18T23:48:13.000Z
samples/stencil/matrix_mult/main.cpp
Jerry-Ma/grppi
d6e5435a2c146605fc53eed899d1777ac0b35699
[ "ECL-2.0", "Apache-2.0" ]
317
2017-03-29T15:26:18.000Z
2021-10-02T04:18:27.000Z
samples/stencil/matrix_mult/main.cpp
Yagoloco2210/grppi
03f3712f282298a64b37dc560b28f6109437b774
[ "ECL-2.0", "Apache-2.0" ]
21
2017-08-02T14:35:19.000Z
2022-02-17T22:19:06.000Z
/* * Copyright 2018 Universidad Carlos III de Madrid * * 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 appl...
25.434783
82
0.628205
Jerry-Ma
24e9859e191191bb2ea014dc368064b20bf174f9
1,113
cc
C++
python/jittor/src/opt/tuner/reorder_tuner.cc
Exusial/jittor
eca21d5bba5098bce4f492fa44908677b6e76588
[ "Apache-2.0" ]
2,571
2020-03-20T03:38:35.000Z
2022-03-31T08:20:05.000Z
python/jittor/src/opt/tuner/reorder_tuner.cc
Exusial/jittor
eca21d5bba5098bce4f492fa44908677b6e76588
[ "Apache-2.0" ]
197
2020-03-20T04:11:47.000Z
2022-03-31T10:14:24.000Z
python/jittor/src/opt/tuner/reorder_tuner.cc
Exusial/jittor
eca21d5bba5098bce4f492fa44908677b6e76588
[ "Apache-2.0" ]
284
2020-03-20T03:53:15.000Z
2022-03-28T07:20:32.000Z
// *************************************************************** // Copyright (c) 2021 Jittor. All Rights Reserved. // Maintainers: Dun Liang <randonlang@gmail.com>. // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. // ******************...
41.222222
78
0.630728
Exusial
24e9d1f3329528c4b173fab20fa8988fea791da1
652
cpp
C++
windows/wrapper/impl_org_webRtc.cpp
webrtc-uwp/webrtc-windows-apis
accb133e195da9b0e77f59d749a282d133a80f24
[ "BSD-3-Clause" ]
9
2019-03-27T12:19:29.000Z
2022-01-25T05:13:55.000Z
windows/wrapper/impl_org_webRtc.cpp
webrtc-uwp/webrtc-windows-apis
accb133e195da9b0e77f59d749a282d133a80f24
[ "BSD-3-Clause" ]
8
2018-11-07T19:09:19.000Z
2019-11-27T15:20:08.000Z
windows/wrapper/impl_org_webRtc.cpp
webrtc-uwp/webrtc-windows-apis
accb133e195da9b0e77f59d749a282d133a80f24
[ "BSD-3-Clause" ]
12
2019-06-06T14:15:26.000Z
2022-01-24T13:35:30.000Z
#include <zsLib/Log.h> #include "Org.WebRtc.Glue.events.h" #include "Org.WebRtc.Glue.events.jman.h" namespace wrapper { namespace impl { namespace org { namespace webRtc { ZS_IMPLEMENT_SUBSYSTEM(wrapper_org_webRtc); } } } } ZS_EVENTING_SUBSYSTEM_DEFAULT_LEVEL(wrapper_org_webRtc, Debug) namespace wrapper ...
25.076923
124
0.745399
webrtc-uwp
24eb934681d78000ad65cb9e4a4409f1e88088d8
4,340
cpp
C++
tools/jsoncons/tests/src/jsonpath/jsonpath_error_tests.cpp
SheldonHH/eosio.cdt
64448283307b2daebb7db4df947fafd3fc56a83c
[ "MIT" ]
476
2018-09-07T01:27:11.000Z
2022-03-21T05:16:50.000Z
tools/jsoncons/tests/src/jsonpath/jsonpath_error_tests.cpp
SheldonHH/eosio.cdt
64448283307b2daebb7db4df947fafd3fc56a83c
[ "MIT" ]
594
2018-09-06T02:03:01.000Z
2022-03-23T19:18:26.000Z
tools/jsoncons/tests/src/jsonpath/jsonpath_error_tests.cpp
SheldonHH/eosio.cdt
64448283307b2daebb7db4df947fafd3fc56a83c
[ "MIT" ]
349
2018-09-06T05:02:09.000Z
2022-03-12T11:07:17.000Z
// Copyright 2013 Daniel Parker // Distributed under Boost license #ifdef __linux__ #define BOOST_TEST_DYN_LINK #endif #include <boost/test/unit_test.hpp> #include <sstream> #include <vector> #include <utility> #include <ctime> #include <new> #include <jsoncons/json.hpp> #include <jsoncons_ext/jsonpath/json_query.hpp...
35.284553
608
0.62765
SheldonHH
24edf49e181944da98af31a868f2d29d7553e08a
1,387
cpp
C++
general/occa.cpp
benzwick/mfem
4d5fdfd553b24ff37716f736f83df2d238d9a696
[ "BSD-3-Clause" ]
1
2020-08-15T07:00:22.000Z
2020-08-15T07:00:22.000Z
general/occa.cpp
benzwick/mfem
4d5fdfd553b24ff37716f736f83df2d238d9a696
[ "BSD-3-Clause" ]
1
2019-04-24T21:18:24.000Z
2019-04-25T18:00:45.000Z
general/occa.cpp
benzwick/mfem
4d5fdfd553b24ff37716f736f83df2d238d9a696
[ "BSD-3-Clause" ]
1
2021-09-15T14:14:29.000Z
2021-09-15T14:14:29.000Z
// Copyright (c) 2010-2020, Lawrence Livermore National Security, LLC. Produced // at the Lawrence Livermore National Laboratory. All Rights reserved. See files // LICENSE and NOTICE for details. LLNL-CODE-806117. // // This file is part of the MFEM library. For more information and source code // availability visit ht...
30.822222
80
0.740447
benzwick
24f2abc15752f49ebf22d4295f33d62b280dd16a
432
hpp
C++
src/gs/gsTundraTextureGenerator.hpp
frmr/gs
b9721ad27f59ca2e19f637bccd9eba32b663b6a3
[ "MIT" ]
2
2016-12-06T17:51:30.000Z
2018-06-21T08:52:58.000Z
src/gs/gsTundraTextureGenerator.hpp
frmr/gs
b9721ad27f59ca2e19f637bccd9eba32b663b6a3
[ "MIT" ]
null
null
null
src/gs/gsTundraTextureGenerator.hpp
frmr/gs
b9721ad27f59ca2e19f637bccd9eba32b663b6a3
[ "MIT" ]
null
null
null
#pragma once #include "gsLandTile.hpp" #include "gsColor.hpp" #include <vector> #include "../FastNoise/FastNoise.h" namespace gs { class TundraTextureGenerator { private: static const std::vector<gs::Vec3d> colors; static const std::vector<float> limits; FastNoise noiseA; FastNoise noiseB; public: g...
17.28
80
0.722222
frmr
24f4d724ede6f8e8482fe1bab8097ce7277e0eb2
3,237
hh
C++
ACAP_linux/3rd/CoMISo/NSolver/FiniteElementLogBarrier.hh
shubhMaheshwari/Automatic-Unpaired-Shape-Deformation-Transfer
8c9afe017769f9554706bcd267b6861c4c144999
[ "MIT" ]
216
2018-09-09T11:53:56.000Z
2022-03-19T13:41:35.000Z
ACAP_linux/3rd/CoMISo/NSolver/FiniteElementLogBarrier.hh
gaolinorange/Automatic-Unpaired-Shape-Deformation-Transfer
8c9afe017769f9554706bcd267b6861c4c144999
[ "MIT" ]
13
2018-10-23T08:29:09.000Z
2021-09-08T06:45:34.000Z
ACAP_linux/3rd/CoMISo/NSolver/FiniteElementLogBarrier.hh
shubhMaheshwari/Automatic-Unpaired-Shape-Deformation-Transfer
8c9afe017769f9554706bcd267b6861c4c144999
[ "MIT" ]
41
2018-09-13T08:50:41.000Z
2022-02-23T00:33:54.000Z
//============================================================================= // // CLASS FiniteElementLogBarrier // //============================================================================= #ifndef COMISO_FINITEELEMENTLOGBARRIER_HH #define COMISO_FINITEELEMENTLOGBARRIER_HH //== INCLUDES ==================...
25.488189
100
0.531047
shubhMaheshwari
24f4e64bc56fa15c9f344524594aacc9f448f597
2,464
cpp
C++
devices/GNSS/NMEA/src/GGAProcessor.cpp
gboyraz/macchina.io
3e26fea95e87512459693831242b297f0780cc21
[ "Apache-2.0" ]
2
2020-11-23T23:37:00.000Z
2020-12-22T04:02:41.000Z
devices/GNSS/NMEA/src/GGAProcessor.cpp
gboyraz/macchina.io
3e26fea95e87512459693831242b297f0780cc21
[ "Apache-2.0" ]
null
null
null
devices/GNSS/NMEA/src/GGAProcessor.cpp
gboyraz/macchina.io
3e26fea95e87512459693831242b297f0780cc21
[ "Apache-2.0" ]
1
2020-11-23T23:37:09.000Z
2020-11-23T23:37:09.000Z
// // GGAProcessor.cpp // // Library: IoT/GNSS/NMEA // Package: Sentences // Module: GGAProcessor // // Copyright (c) 2010-2015, Applied Informatics Software Engineering GmbH. // All rights reserved. // // SPDX-License-Identifier: Apache-2.0 // #include "IoT/GNSS/NMEA/GGAProcessor.h" #include "Poco/DateTimeParser.h"...
19.25
119
0.609172
gboyraz
24f81a976aadb3e9f2db1da58b7f25ccc91f344e
8,104
cpp
C++
src/OptimalContactFinder.cpp
ShihaoWang/Multi-contact-Humanoid-Push-Recovery
0f40f319d8aece9a172d9864643a4c82bb39b060
[ "MIT" ]
null
null
null
src/OptimalContactFinder.cpp
ShihaoWang/Multi-contact-Humanoid-Push-Recovery
0f40f319d8aece9a172d9864643a4c82bb39b060
[ "MIT" ]
null
null
null
src/OptimalContactFinder.cpp
ShihaoWang/Multi-contact-Humanoid-Push-Recovery
0f40f319d8aece9a172d9864643a4c82bb39b060
[ "MIT" ]
null
null
null
#include "CommonHeader.h" #include "NonlinearOptimizerInfo.h" #include <queue> extern std::vector<LinkInfo> LinkInfoObj; extern SDFInfo SDFInfoObj; extern ReachabilityMap ReachabilityMapObj; extern AnyCollisionGeometry3D TerrColGeomObj; typedef std::pair<double, Vector3> qEle; static std::...
45.785311
222
0.74272
ShihaoWang
24faa860c54e73e6cfb94c387fb5968c6e320630
878
cpp
C++
algorithms/cpp/134.cpp
viing937/leetcode
e21ca52c98bddf59e43522c0aace5e8cf84350eb
[ "MIT" ]
3
2016-10-01T10:15:09.000Z
2017-07-09T02:53:36.000Z
algorithms/cpp/134.cpp
viing937/leetcode
e21ca52c98bddf59e43522c0aace5e8cf84350eb
[ "MIT" ]
null
null
null
algorithms/cpp/134.cpp
viing937/leetcode
e21ca52c98bddf59e43522c0aace5e8cf84350eb
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; class Solution { public: int canCompleteCircuit(vector<int>& gas, vector<int>& cost) { int len = gas.size(); int tank = 0, start = 0; for ( int cur = 0; cur < start+len; cur++ ) { tank += gas[cur%len]-cost[cu...
24.388889
74
0.512528
viing937
24faecdf69e9cb2a9a9a76567079c752184286af
27,128
cpp
C++
src/Kiln.cpp
0xc0dec/kiln
4fbaf31a2f9e07f1dca7af2bed86f479e0079fa5
[ "MIT" ]
null
null
null
src/Kiln.cpp
0xc0dec/kiln
4fbaf31a2f9e07f1dca7af2bed86f479e0079fa5
[ "MIT" ]
null
null
null
src/Kiln.cpp
0xc0dec/kiln
4fbaf31a2f9e07f1dca7af2bed86f479e0079fa5
[ "MIT" ]
null
null
null
// TODO Refactor ImageData/Font using pointers avoiding pimpl // TODO Font geometry and rendering // TODO Use shaderc (see Granite project on Github) /* Copyright (c) Aleksey Fedotov MIT license */ #include "Input.h" #include "FileSystem.h" #include "Spectator.h" #include "Camera.h" #include "Win...
40.855422
138
0.656812
0xc0dec
7000baede852b6a9e293ddfe18e4980ef432280e
7,458
cpp
C++
src/colin_main.cpp
ferhatgec/colin
d0502da986198869765e3d98b5c6928292095658
[ "MIT" ]
4
2021-03-30T00:33:39.000Z
2021-04-08T20:56:33.000Z
src/colin_main.cpp
ferhatgec/colin
d0502da986198869765e3d98b5c6928292095658
[ "MIT" ]
null
null
null
src/colin_main.cpp
ferhatgec/colin
d0502da986198869765e3d98b5c6928292095658
[ "MIT" ]
null
null
null
// MIT License // // Copyright (c) 2021 Ferhat Geçdoğan All Rights Reserved. // Distributed under the terms of the MIT License. // // #include "../include/colin_main.hpp" #define TABLE_LIGHT_GRAY() \ std::cout << \ this->light_gray << \ this->table_item << \ this->white <<...
24.058065
68
0.345267
ferhatgec
70053f070cef049d40b9d50d3bd58b4823cafb54
1,978
cpp
C++
test/main_gtest.cpp
Ali2500/nao_whole_body_ik
5955415c6a248eda2343098407ef0c080b7d60ec
[ "BSD-2-Clause" ]
null
null
null
test/main_gtest.cpp
Ali2500/nao_whole_body_ik
5955415c6a248eda2343098407ef0c080b7d60ec
[ "BSD-2-Clause" ]
null
null
null
test/main_gtest.cpp
Ali2500/nao_whole_body_ik
5955415c6a248eda2343098407ef0c080b7d60ec
[ "BSD-2-Clause" ]
null
null
null
#include "database_reader_test.h" #include "whole_body_ik_solver_test.h" nao_whole_body_ik::DatabaseReader2Ptr database_reader; TEST_F(DatabaseReaderTest, databaseLoadingTest) { ASSERT_TRUE(databaseLoadTest()); } TEST_F(DatabaseReaderTest, DefaultValuesRightArmKNNTest) { ASSERT_TRUE(knnDifferenceDefaultPositionR...
26.026316
84
0.822042
Ali2500
7006c26b1c4d19162f5f98022c7e12137e9a43ab
4,872
hpp
C++
capo/sequence.hpp
mutouyun/capo
d90528cf5bb59bdf76cdf94dfa6a55bcb1bfdc13
[ "MIT" ]
58
2015-03-22T03:26:07.000Z
2022-03-30T05:15:22.000Z
capo/sequence.hpp
mutouyun/capo
d90528cf5bb59bdf76cdf94dfa6a55bcb1bfdc13
[ "MIT" ]
1
2019-03-07T12:32:41.000Z
2019-03-16T15:01:55.000Z
capo/sequence.hpp
mutouyun/capo
d90528cf5bb59bdf76cdf94dfa6a55bcb1bfdc13
[ "MIT" ]
21
2015-02-27T06:44:56.000Z
2022-03-05T15:53:30.000Z
/* The Capo Library Code covered by the MIT License Author: mutouyun (http://orzz.org) */ #pragma once #include "capo/assert.hpp" #include "capo/iterator.hpp" #include <type_traits> // std::add_const, std::add_lvalue_reference #include <tuple> // std::tuple, std::tie #include <stdexcept> // s...
24.984615
103
0.476396
mutouyun
701178a3f85e3f48ee623745c6709532f279d4f5
766
cc
C++
2021_1004_1010/265.cc
guohaoqiang/leetcode
802447c029c36892e8dd7391c825bcfc7ac0fd0b
[ "MIT" ]
null
null
null
2021_1004_1010/265.cc
guohaoqiang/leetcode
802447c029c36892e8dd7391c825bcfc7ac0fd0b
[ "MIT" ]
null
null
null
2021_1004_1010/265.cc
guohaoqiang/leetcode
802447c029c36892e8dd7391c825bcfc7ac0fd0b
[ "MIT" ]
null
null
null
class Solution { public: int minCostII(vector<vector<int>>& costs) { int n = costs.size(); int k = costs.at(0).size(); vector<vector<int>> dp(n, vector<int>(k,2021)); for (int i=0; i<k; ++i){ dp.at(n-1).at(i) = costs.at(n-1).at(i); } ...
26.413793
97
0.353786
guohaoqiang
7011b277bf89acabd297d37e10d5f82c30fe0216
2,494
cpp
C++
tests/data/ModelProperty_Tests.cpp
Jamiras/RAIntegration
ccf3dea24d81aefdcf51535f073889d03272b259
[ "MIT" ]
71
2018-04-15T13:02:43.000Z
2022-03-26T11:19:18.000Z
tests/data/ModelProperty_Tests.cpp
Jamiras/RAIntegration
ccf3dea24d81aefdcf51535f073889d03272b259
[ "MIT" ]
309
2018-04-15T12:10:59.000Z
2022-01-22T20:13:04.000Z
tests/data/ModelProperty_Tests.cpp
Jamiras/RAIntegration
ccf3dea24d81aefdcf51535f073889d03272b259
[ "MIT" ]
17
2018-04-17T16:09:31.000Z
2022-03-04T08:49:03.000Z
#include "data\ModelProperty.hh" using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace ra { namespace data { namespace tests { TEST_CLASS(ModelProperty_Tests) { void AssertProperty(int nKey, const ModelPropertyBase* pExpected) { const ModelPropertyBase* pLookup = ModelPropertyBase:...
28.340909
88
0.60425
Jamiras
70150516962287d6c6cb22d764f61a1dbc4e9ec5
2,623
hpp
C++
include/codegen/include/RootMotion/FinalIK/InteractionSystem_InteractionDelegate.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/RootMotion/FinalIK/InteractionSystem_InteractionDelegate.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/RootMotion/FinalIK/InteractionSystem_InteractionDelegate.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:09:17 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: System.MulticastDelegate #include "System/MulticastDelegate....
50.442308
211
0.775829
Futuremappermydud
7015b97992eab9f30fd34acf4fbf3c2761711766
3,743
cpp
C++
CIM_Framework/CIMFramework/CPPClasses/Src/AMT_AgentPresenceWatchdogAction.cpp
rgl/lms
cda6a25e0f39b2a18f10415560ee6a2cfc5fbbcb
[ "Apache-2.0" ]
18
2019-04-17T10:43:35.000Z
2022-03-22T22:30:39.000Z
CIM_Framework/CIMFramework/CPPClasses/Src/AMT_AgentPresenceWatchdogAction.cpp
rgl/lms
cda6a25e0f39b2a18f10415560ee6a2cfc5fbbcb
[ "Apache-2.0" ]
9
2019-10-03T15:29:51.000Z
2021-12-27T14:03:33.000Z
CIM_Framework/CIMFramework/CPPClasses/Src/AMT_AgentPresenceWatchdogAction.cpp
isabella232/lms
50d16f81b49aba6007388c001e8137352c5eb42e
[ "Apache-2.0" ]
8
2019-06-13T23:30:50.000Z
2021-06-25T15:51:59.000Z
//---------------------------------------------------------------------------- // // Copyright (c) Intel Corporation, 2003 - 2012 All Rights Reserved. // // File: AMT_AgentPresenceWatchdogAction.cpp // // Contents: Represents an action which is triggered on an application watchdog state transition. // // ...
32.267241
143
0.747796
rgl
70165506ceb745c49a5e850c651aa9f1618910c8
1,459
cpp
C++
src/stl_copy_it_insert/main.cpp
MaksimPopp/STL_practice_UNN_381906-3
83dedf756b170b4ce89e0c74e615bbfd72c4e0a7
[ "Apache-2.0" ]
null
null
null
src/stl_copy_it_insert/main.cpp
MaksimPopp/STL_practice_UNN_381906-3
83dedf756b170b4ce89e0c74e615bbfd72c4e0a7
[ "Apache-2.0" ]
1
2020-12-12T09:55:31.000Z
2020-12-12T11:04:55.000Z
src/stl_copy_it_insert/main.cpp
MaksimPopp/STL_practice_UNN_381906-3
83dedf756b170b4ce89e0c74e615bbfd72c4e0a7
[ "Apache-2.0" ]
12
2020-12-12T09:42:22.000Z
2020-12-19T11:44:27.000Z
#include <iostream> #include <vector> #include <list> using namespace std; #define COPY int main() { int a[4] = { 10,20,30,40 };//создаём массив a[] на 4 элемента //копируем массив a[] в вектор v(указатель на начало участка который нужно скопировать,конец участка копирования) vector<int> v(a, a + 4); #ifdef CO...
31.717391
168
0.703221
MaksimPopp
701760b91996bb0439dd44c7fbde49cfa6a5a77b
103
hpp
C++
src/agl/opengl/function/sampler/all.hpp
the-last-willy/abstractgl
d685bef25ac18773d3eea48ca52806c3a3485ddb
[ "MIT" ]
null
null
null
src/agl/opengl/function/sampler/all.hpp
the-last-willy/abstractgl
d685bef25ac18773d3eea48ca52806c3a3485ddb
[ "MIT" ]
null
null
null
src/agl/opengl/function/sampler/all.hpp
the-last-willy/abstractgl
d685bef25ac18773d3eea48ca52806c3a3485ddb
[ "MIT" ]
null
null
null
#pragma once #include "bind.hpp" #include "create.hpp" #include "delete.hpp" #include "parameter.hpp"
14.714286
24
0.728155
the-last-willy
7019415f3760818b6829d9b312ba55aa882cef45
128
cpp
C++
tensorflow-yolo-ios/dependencies/eigen/failtest/fullpivqr_int.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
27
2017-06-07T19:07:32.000Z
2020-10-15T10:09:12.000Z
tensorflow-yolo-ios/dependencies/eigen/failtest/fullpivqr_int.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
3
2017-08-25T17:39:46.000Z
2017-11-18T03:40:55.000Z
tensorflow-yolo-ios/dependencies/eigen/failtest/fullpivqr_int.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
10
2017-06-16T18:04:45.000Z
2018-07-05T17:33:01.000Z
version https://git-lfs.github.com/spec/v1 oid sha256:b7c6229e11e2ea021cf66d05b528c35bf8936f5109e7bfb4413548b392e111d9 size 258
32
75
0.882813
initialz
701d1cc7548fb12f539c5d23004549ff99e6bcc6
22,952
cpp
C++
branches/g3d-8.0-64ffmpeg-win/GLG3D.lib/source/ThirdPersonManipulator.cpp
brown-ccv/VRG3D
0854348453ac150b27a8ae89024ef57360f15d45
[ "BSD-3-Clause" ]
null
null
null
branches/g3d-8.0-64ffmpeg-win/GLG3D.lib/source/ThirdPersonManipulator.cpp
brown-ccv/VRG3D
0854348453ac150b27a8ae89024ef57360f15d45
[ "BSD-3-Clause" ]
null
null
null
branches/g3d-8.0-64ffmpeg-win/GLG3D.lib/source/ThirdPersonManipulator.cpp
brown-ccv/VRG3D
0854348453ac150b27a8ae89024ef57360f15d45
[ "BSD-3-Clause" ]
null
null
null
/** @file GLG3D/ThirdPersonManipulator.cpp @maintainer Morgan McGuire, http://graphics.cs.williams.edu @created 2006-06-09 @edited 2010-01-11 */ #include "GLG3D/ThirdPersonManipulator.h" #include "GLG3D/RenderDevice.h" #include "GLG3D/Draw.h" #include "GLG3D/OSWindow.h" #include "GLG3D/UserInput.h" #include...
29.126904
116
0.572935
brown-ccv
702427a1dd34e78d8a72eb295907bde3d145dd98
5,229
cpp
C++
tests/spmc_fifo.cpp
drbobbeaty/DKit
b3ae323449a8ad6c93e46dd4d07443f8fcc1a001
[ "Unlicense" ]
19
2015-01-16T10:11:39.000Z
2022-02-17T01:48:25.000Z
tests/spmc_fifo.cpp
drbobbeaty/DKit
b3ae323449a8ad6c93e46dd4d07443f8fcc1a001
[ "Unlicense" ]
null
null
null
tests/spmc_fifo.cpp
drbobbeaty/DKit
b3ae323449a8ad6c93e46dd4d07443f8fcc1a001
[ "Unlicense" ]
3
2015-06-28T13:20:15.000Z
2015-12-01T08:35:35.000Z
/** * This is the tests for the SPMC CircularFIFO */ // System Headers #include <iostream> #include <string> // Third-Party Headers // Other Headers #include "spmc/CircularFIFO.h" #include "util/timer.h" #include "hammer.h" #include "drain.h" int main(int argc, char *argv[]) { bool error = false; // make a circ...
27.81383
196
0.536814
drbobbeaty
702ac5ddfe1b70c5668a5f3e1250734676e10b0c
2,054
cpp
C++
Source/Engine/Editor/Widgets/PropertyWidget.cpp
muit/FecoEngine
b2f8729c0bf0893b770434645c2a0fa8e7717cb7
[ "Apache-2.0" ]
3
2019-03-01T19:34:26.000Z
2021-03-31T09:25:16.000Z
Source/Engine/Editor/Widgets/PropertyWidget.cpp
muit/FecoEngine
b2f8729c0bf0893b770434645c2a0fa8e7717cb7
[ "Apache-2.0" ]
null
null
null
Source/Engine/Editor/Widgets/PropertyWidget.cpp
muit/FecoEngine
b2f8729c0bf0893b770434645c2a0fa8e7717cb7
[ "Apache-2.0" ]
1
2019-01-21T21:45:13.000Z
2019-01-21T21:45:13.000Z
// Copyright 2015-2019 Piperift - All rights reserved #include "PropertyWidget.h" #if WITH_EDITOR #include "Core/Reflection/Runtime/TPropertyHandle.h" #include "Properties/BoolPropertyWidget.h" #include "Properties/UInt8PropertyWidget.h" #include "Properties/Int32PropertyWidget.h" #include "Properties/FloatPropertyW...
34.813559
132
0.757059
muit
702c85fa25150642f93577e4c912e3b0ae9312bb
2,129
cpp
C++
Windows/Controls/DefinitionView.cpp
TrevorShelton/cplot
8bf40e94519cc4fd69b2e0677d3a3dcf8695245a
[ "MIT" ]
32
2017-11-27T03:04:44.000Z
2022-01-21T17:03:40.000Z
Windows/Controls/DefinitionView.cpp
TrevorShelton/cplot
8bf40e94519cc4fd69b2e0677d3a3dcf8695245a
[ "MIT" ]
30
2017-11-10T09:47:16.000Z
2018-11-21T22:36:47.000Z
Windows/Controls/DefinitionView.cpp
TrevorShelton/cplot
8bf40e94519cc4fd69b2e0677d3a3dcf8695245a
[ "MIT" ]
20
2018-01-05T17:15:11.000Z
2021-07-30T14:11:01.000Z
#include "../stdafx.h" #include "DefinitionView.h" #include "../Document.h" #include "../res/resource.h" #include "ViewUtil.h" #include "SideSectionDefs.h" #include "../MainWindow.h" #include "../MainView.h" #include "../CPlotApp.h" #ifdef _DEBUG #define new DEBUG_NEW #endif enum { ID_def = 2000 }; IMPLEMENT_DYNAMI...
21.29
102
0.721465
TrevorShelton
702ebc555e0536e62e3091d3c25c340bddce8033
878
hpp
C++
src/crossserver/crossserver/crossactivity/impl/crossactivitycrossboss.hpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
3
2021-12-16T13:57:28.000Z
2022-03-26T07:50:08.000Z
src/crossserver/crossserver/crossactivity/impl/crossactivitycrossboss.hpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
null
null
null
src/crossserver/crossserver/crossactivity/impl/crossactivitycrossboss.hpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
1
2022-03-26T07:50:11.000Z
2022-03-26T07:50:11.000Z
#ifndef __CROSS_ACTIVITY_CROSS_BOSS_HPP__ #define __CROSS_ACTIVITY_CROSS_BOSS_HPP__ #include "crossactivity/crossactivity.hpp" #include "servercommon/internalprotocal/crossgameprotocal.h" #include <map> class CrossActivityCrossBoss : public CrossActivity { public: CrossActivityCrossBoss(CrossActivityManager *cross_a...
29.266667
110
0.823462
mage-game
70319f9109bd638d460b7dc5701da2e20d4cc9f9
1,322
cpp
C++
CrimeEngine/source/Core/Input/Event.cpp
boschman32/Crime-Engine
128529634011d41a1f7fc1a356245d7f7ef77cb3
[ "MIT" ]
1
2021-07-21T17:14:35.000Z
2021-07-21T17:14:35.000Z
CrimeEngine/source/Core/Input/Event.cpp
boschman32/Crime-Engine
128529634011d41a1f7fc1a356245d7f7ef77cb3
[ "MIT" ]
null
null
null
CrimeEngine/source/Core/Input/Event.cpp
boschman32/Crime-Engine
128529634011d41a1f7fc1a356245d7f7ef77cb3
[ "MIT" ]
3
2021-03-07T15:51:03.000Z
2021-07-13T20:01:34.000Z
#include "cepch.h" #include "Core/Input/Event.h" #include "Core/Input/KeyEvent.h" void Event::NotifyHandlers(const KeyEvent& a_notifyKey) { std::vector<std::shared_ptr<EventHandler>>::iterator handle = m_handlers.begin(); for (; handle != m_handlers.end(); ++handle) { if (*handle != nullptr) { (*(*handle))(a_n...
22.793103
82
0.728442
boschman32
70352f5fc6776a15b8dc643421f35ea9b5fc9982
1,170
cc
C++
CPP/No73.cc
hxz1998/funny_leetcode
1d2c425af09b57a030fc018ddc1e1a5ffb966cd0
[ "Apache-2.0" ]
null
null
null
CPP/No73.cc
hxz1998/funny_leetcode
1d2c425af09b57a030fc018ddc1e1a5ffb966cd0
[ "Apache-2.0" ]
null
null
null
CPP/No73.cc
hxz1998/funny_leetcode
1d2c425af09b57a030fc018ddc1e1a5ffb966cd0
[ "Apache-2.0" ]
null
null
null
/** * Created by Xiaozhong on 2020/7/24. * Copyright (c) 2020/7/24 Xiaozhong. All rights reserved. */ #include <iostream> #include <vector> #include <set> using namespace std; class Solution { public: void setZeroes(vector<vector<int>> &matrix) { set<int> row; set<int> col; // 首先遍历第一遍,...
22.941176
58
0.41453
hxz1998
70392118b102124f1f9745e03372a8deb357bbf9
1,249
cpp
C++
WRK-V1.2/TOOLS/TOOLSX/atlmfc/src/mfc/appdlg.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
2
2021-01-27T10:19:30.000Z
2021-02-09T06:24:30.000Z
WRK-V1.2/TOOLS/TOOLSX/atlmfc/src/mfc/appdlg.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
WRK-V1.2/TOOLS/TOOLSX/atlmfc/src/mfc/appdlg.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
1
2021-01-27T10:19:36.000Z
2021-01-27T10:19:36.000Z
// This is a part of the Microsoft Foundation Classes C++ library. // Copyright (C) Microsoft Corporation // All rights reserved. // // This source code is only intended as a supplement to the // Microsoft Foundation Classes Reference and related // electronic documentation provided with the library. // See these sourc...
29.046512
79
0.614091
intj-t