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 109 | 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 48.5k ⌀ | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0e39d7bed8caff08a494c329fd309d991dd0dbdf | 2,580 | cpp | C++ | programs/chapter_11/pruebas/ldr_sensor_con_average.cpp | epernia/arm_book | ffdd17618c2c7372cef338fc743f517bf6f0f42b | [
"BSD-3-Clause"
] | 2 | 2021-05-03T17:21:37.000Z | 2021-06-08T08:32:07.000Z | programs/chapter_11/pruebas/ldr_sensor_con_average.cpp | epernia/arm_book | ffdd17618c2c7372cef338fc743f517bf6f0f42b | [
"BSD-3-Clause"
] | null | null | null | programs/chapter_11/pruebas/ldr_sensor_con_average.cpp | epernia/arm_book | ffdd17618c2c7372cef338fc743f517bf6f0f42b | [
"BSD-3-Clause"
] | 2 | 2020-10-14T19:06:24.000Z | 2021-06-08T08:32:09.000Z | //=====[Libraries]=============================================================
#include "arm_book_lib.h"
#include "smart_home_system.h"
#include "ldr_sensor.h"
//=====[Declaration of private defines]======================================
#define LDR_SAMPLE_TIME 100
#define LDR_NUMBER_OF_AVG_SAMPLES ... | 30.352941 | 79 | 0.581008 | epernia |
0e3a60ed0c26684ee8208e40b558c18677e0a534 | 309 | cpp | C++ | CollinsJustin_MidtermProject/CollinsJustin_MidtermProject/Reshape.cpp | justcollins/SolarSystem | 66ebb11961afe4723ac7431b268a8ecad1ec4d0d | [
"MIT"
] | null | null | null | CollinsJustin_MidtermProject/CollinsJustin_MidtermProject/Reshape.cpp | justcollins/SolarSystem | 66ebb11961afe4723ac7431b268a8ecad1ec4d0d | [
"MIT"
] | null | null | null | CollinsJustin_MidtermProject/CollinsJustin_MidtermProject/Reshape.cpp | justcollins/SolarSystem | 66ebb11961afe4723ac7431b268a8ecad1ec4d0d | [
"MIT"
] | null | null | null | #include "globals.h"
void reshape(int w, int h)
{
glViewport (0, 0, (GLsizei) w, (GLsizei) h);
glMatrixMode (GL_PROJECTION);
glLoadIdentity ();
gluPerspective(60.0, (GLfloat) w/(GLfloat) h, 1.0, 201.0);
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
gluLookAt (x, y, z, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0);
} | 25.75 | 59 | 0.653722 | justcollins |
0e4095fc790d74504815b3a645e19452dd1767ba | 2,895 | inl | C++ | Code/Engine/System/Window/Implementation/SFML/Window_SFML.inl | Manuzor/ezEngine | 876ad33ef21c6b986bb9bb333b2a3cbfed2be5ef | [
"CC-BY-3.0"
] | null | null | null | Code/Engine/System/Window/Implementation/SFML/Window_SFML.inl | Manuzor/ezEngine | 876ad33ef21c6b986bb9bb333b2a3cbfed2be5ef | [
"CC-BY-3.0"
] | null | null | null | Code/Engine/System/Window/Implementation/SFML/Window_SFML.inl | Manuzor/ezEngine | 876ad33ef21c6b986bb9bb333b2a3cbfed2be5ef | [
"CC-BY-3.0"
] | 1 | 2020-03-08T04:55:16.000Z | 2020-03-08T04:55:16.000Z |
#include <System/PCH.h>
#include <System/Window/Window.h>
#include <Foundation/Math/Size.h>
ezResult ezWindow::Initialize()
{
EZ_LOG_BLOCK("ezWindow");
if (m_bInitialized)
Destroy();
EZ_ASSERT_RELEASE(m_CreationDescription.m_ClientAreaSize.HasNonZeroArea(), "The client area size can't be zero sized!");
... | 21.444444 | 122 | 0.725734 | Manuzor |
0e413bf65a7b9d01ec590bba70c4e8594e534b8c | 2,174 | cpp | C++ | src/pose.cpp | criptolot/estatero | 20df006e76297b8ba750ad81980d893867e45752 | [
"MIT"
] | null | null | null | src/pose.cpp | criptolot/estatero | 20df006e76297b8ba750ad81980d893867e45752 | [
"MIT"
] | null | null | null | src/pose.cpp | criptolot/estatero | 20df006e76297b8ba750ad81980d893867e45752 | [
"MIT"
] | null | null | null | #include "pose.h"
#include "clientversion.h"
#include "chainparams.h"
#include "init.h"
#include "net.h"
#include "utilstrencodings.h"
#include "utiltime.h"
#include "masternode-sync.h"
static int64_t nPoosProcessTime = 0;
void ThreadPOOS(CConnman& connman)
{
SyncSideChain(0);
int nIterations = 0;
while (1 == 1)... | 24.426966 | 158 | 0.632015 | criptolot |
0e41a8974b7b9a3a3739e22d9457b8221b8d4a66 | 57,583 | cc | C++ | xic/src/gtkxic/gtkcmp.cc | bernardventer/xictools | 4ea72c118679caed700dab3d49a8d36445acaec3 | [
"Apache-2.0"
] | 3 | 2020-01-26T14:18:52.000Z | 2020-12-09T20:07:22.000Z | xic/src/gtkxic/gtkcmp.cc | chris-ayala/xictools | 4ea72c118679caed700dab3d49a8d36445acaec3 | [
"Apache-2.0"
] | null | null | null | xic/src/gtkxic/gtkcmp.cc | chris-ayala/xictools | 4ea72c118679caed700dab3d49a8d36445acaec3 | [
"Apache-2.0"
] | 2 | 2020-01-26T14:19:02.000Z | 2021-08-14T16:33:28.000Z |
/*========================================================================*
* *
* Distributed by Whiteley Research Inc., Sunnyvale, California, USA *
* http://wrcad.com *
* Copyright (... | 33.556527 | 80 | 0.610979 | bernardventer |
0e443c012b83e9cc6616a6217d523238a588954e | 3,572 | cpp | C++ | rs_gl.cpp | darkedge/rasterizer | c0384e97afb847173d446d6ad499c6d5d6f055e6 | [
"MIT"
] | null | null | null | rs_gl.cpp | darkedge/rasterizer | c0384e97afb847173d446d6ad499c6d5d6f055e6 | [
"MIT"
] | null | null | null | rs_gl.cpp | darkedge/rasterizer | c0384e97afb847173d446d6ad499c6d5d6f055e6 | [
"MIT"
] | null | null | null | #include <malloc.h>
#include "glad/glad.h"
#include <GLFW/glfw3.h>
#include <stdio.h>
#include <assert.h>
#include "rs_gl.h"
static unsigned int framebufferTexID[2];
static GLuint fbPBO[2];
static Texture texture;
static int index;
void CheckOpenGLError(const char* expr, const char* fname, int line) {
GLenum err... | 31.06087 | 107 | 0.694289 | darkedge |
0e44f3266eaf12d191036ed2058a925a74a07a94 | 188 | cpp | C++ | Array1.cpp | csdeptku/Python-for-cpp-programmers | 6fcca9afc6df1e40a1554d5fa4c4d57dbc50b7e6 | [
"Apache-2.0"
] | null | null | null | Array1.cpp | csdeptku/Python-for-cpp-programmers | 6fcca9afc6df1e40a1554d5fa4c4d57dbc50b7e6 | [
"Apache-2.0"
] | null | null | null | Array1.cpp | csdeptku/Python-for-cpp-programmers | 6fcca9afc6df1e40a1554d5fa4c4d57dbc50b7e6 | [
"Apache-2.0"
] | null | null | null | //Arrays
#include <iostream>
using namespace std;
int main() {
int A[10] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} ;
for(int i = 0; i < 10; i++){
cout<<A[i]<<endl;
}
return 0;
} | 15.666667 | 48 | 0.478723 | csdeptku |
0e4b40e2a6f1f4e277827bad64996e31326a798a | 619 | cpp | C++ | source/tvision/nmdirbox.cpp | gpaulsen/tvision | 638f963fe4f6c84854f60f1e9c5772bf6603e4b2 | [
"MIT"
] | 1,202 | 2020-05-10T18:43:45.000Z | 2022-03-31T18:23:27.000Z | source/tvision/nmdirbox.cpp | skywind3000/tvision | 7ab5f195c572de0d496e92f4e3f7b3b0771ac699 | [
"MIT"
] | 54 | 2020-05-10T17:36:55.000Z | 2022-03-15T12:22:07.000Z | source/tvision/nmdirbox.cpp | skywind3000/tvision | 7ab5f195c572de0d496e92f4e3f7b3b0771ac699 | [
"MIT"
] | 90 | 2020-06-28T13:51:47.000Z | 2022-03-26T21:00:17.000Z | /*------------------------------------------------------------*/
/* filename - nmdirbox.cpp */
/* */
/* defines the streamable name for class TDirListBox */
/*------------------------------------------------------... | 30.95 | 65 | 0.397415 | gpaulsen |
0e4dad05a7cedca437ee435d7a51599354d686cb | 657 | cpp | C++ | Game winkel & Autohuur/Autohuur/Main.cpp | hassoonsy2/High-Performance-Programming | 7407da7f53546bd136b313d9055505ad0848d19b | [
"MIT"
] | null | null | null | Game winkel & Autohuur/Autohuur/Main.cpp | hassoonsy2/High-Performance-Programming | 7407da7f53546bd136b313d9055505ad0848d19b | [
"MIT"
] | null | null | null | Game winkel & Autohuur/Autohuur/Main.cpp | hassoonsy2/High-Performance-Programming | 7407da7f53546bd136b313d9055505ad0848d19b | [
"MIT"
] | null | null | null | #include <iostream>
#include "AutoHuur.hpp"
#include "Auto.hpp"
#include "Klant.hpp"
int main()
{
Klant k("Mijnheer de Vries");
k.set_korting_percentage(10.0);
Auto a1("Peugeot 207", 50);
AutoHuur ah1(a1, k, 4);
std::cout << "Eerste autohuur:"<< ah1 <<endl;
std::cout << endl;
Auto a2(... | 24.333333 | 63 | 0.585997 | hassoonsy2 |
0e559ebeb552dc9bcaf053bf1111f032533f7ead | 5,717 | cpp | C++ | Engine/Terrain/TerrainData.cpp | gaspardpetit/INF740-GameEngine | 075b6563204fb3d1cf7531599f30dd296c2c9239 | [
"Apache-2.0"
] | null | null | null | Engine/Terrain/TerrainData.cpp | gaspardpetit/INF740-GameEngine | 075b6563204fb3d1cf7531599f30dd296c2c9239 | [
"Apache-2.0"
] | null | null | null | Engine/Terrain/TerrainData.cpp | gaspardpetit/INF740-GameEngine | 075b6563204fb3d1cf7531599f30dd296c2c9239 | [
"Apache-2.0"
] | 1 | 2015-09-25T22:24:16.000Z | 2015-09-25T22:24:16.000Z | #include "Precompiled.h"
#include "TerrainData.h"
#include "Import/Images/OLEImageImporter.h"
#include "Core/GameManagers/IRenderManager.h"
#include "Core/GameManagers/ISimulationManager.h"
#include "Core/Game/Game.h"
#include "Core/Logging/Logger.h"
#include <d3d9.h>
using namespace physx;
namespace engine {
//-... | 31.761111 | 154 | 0.676054 | gaspardpetit |
0e565285e586b0148324fd6da6155022ba25f2b3 | 11,663 | cpp | C++ | OrionUO/Target.cpp | alerdenisov/OrionUO | d0bb54ce62af68a0152edd02d94fdf92eef90d4d | [
"MIT"
] | 25 | 2018-10-30T01:19:10.000Z | 2021-06-02T15:35:49.000Z | OrionUO/Target.cpp | alerdenisov/OrionUO | d0bb54ce62af68a0152edd02d94fdf92eef90d4d | [
"MIT"
] | 74 | 2018-10-13T00:41:32.000Z | 2021-09-04T20:00:12.000Z | OrionUO/Target.cpp | alerdenisov/OrionUO | d0bb54ce62af68a0152edd02d94fdf92eef90d4d | [
"MIT"
] | 20 | 2018-10-09T17:42:32.000Z | 2022-03-26T05:57:47.000Z | // MIT License
// Copyright (C) August 2016 Hotride
#include "Target.h"
#include "Config.h"
#include "OrionUO.h"
#include "Multi.h"
#include "plugin/mulstruct.h"
#include "plugin/commoninterfaces.h"
#include "Network/Packets.h"
#include "Managers/FileManager.h"
#include "Managers/MouseManager.h"
#include "Managers/Map... | 23.466801 | 96 | 0.564606 | alerdenisov |
0e569d184eb0be9e8e7d3fb5caad65fa55994e77 | 3,573 | hpp | C++ | X11/context.hpp | beProsto/OWL | 8fbb64a65eebd5c51395a646695ed4ea5e4e82a5 | [
"BSD-2-Clause-FreeBSD"
] | 2 | 2021-05-23T05:56:19.000Z | 2021-08-17T11:40:00.000Z | X11/context.hpp | beProsto/OWL | 8fbb64a65eebd5c51395a646695ed4ea5e4e82a5 | [
"BSD-2-Clause-FreeBSD"
] | 2 | 2020-01-04T14:18:04.000Z | 2021-11-26T06:47:16.000Z | X11/context.hpp | beProsto/OWL | 8fbb64a65eebd5c51395a646695ed4ea5e4e82a5 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | #ifndef _OWL_X11_CONTEXT_HPP_HEADER_FILE_GUARD
#define _OWL_X11_CONTEXT_HPP_HEADER_FILE_GUARD
#include "X11.hpp"
namespace OWL {
namespace X11 {
#define OWL_X11_WINDOW_EVENT_MASKS ExposureMask | ButtonPressMask | ButtonReleaseMask | EnterWindowMask | LeaveWindowMask | PointerMotionMask | PointerMotionHintMask | Butt... | 25.340426 | 334 | 0.687098 | beProsto |
0e61f46ba4dc28116f1ac24dfda96567d302d2a6 | 4,792 | cc | C++ | src/pks/flow/Darcy_TI.cc | ajkhattak/amanzi | fed8cae6af3f9dfa5984381d34b98401c3b47655 | [
"RSA-MD"
] | 1 | 2021-02-23T18:34:47.000Z | 2021-02-23T18:34:47.000Z | src/pks/flow/Darcy_TI.cc | ajkhattak/amanzi | fed8cae6af3f9dfa5984381d34b98401c3b47655 | [
"RSA-MD"
] | null | null | null | src/pks/flow/Darcy_TI.cc | ajkhattak/amanzi | fed8cae6af3f9dfa5984381d34b98401c3b47655 | [
"RSA-MD"
] | null | null | null | /*
Flow PK
Copyright 2010-201x held jointly by LANS/LANL, LBNL, and PNNL.
Amanzi is released under the three-clause BSD License.
The terms of use and "as is" disclaimer for this license are
provided in the top-level COPYRIGHT file.
Author: Konstantin Lipnikov (lipnikov@lanl.gov)
*/
#include "Darcy_P... | 30.522293 | 92 | 0.563022 | ajkhattak |
0e628df487b729debc1bf78daf600e06a3eb6955 | 40,045 | cc | C++ | src/dialogs.cc | snmsts/xyzzy | 3291c7898d17f90b1a50c3de1aeb5f9a446d9061 | [
"RSA-MD"
] | 1 | 2015-06-03T18:11:12.000Z | 2015-06-03T18:11:12.000Z | src/dialogs.cc | snmsts/xyzzy | 3291c7898d17f90b1a50c3de1aeb5f9a446d9061 | [
"RSA-MD"
] | null | null | null | src/dialogs.cc | snmsts/xyzzy | 3291c7898d17f90b1a50c3de1aeb5f9a446d9061 | [
"RSA-MD"
] | null | null | null | #include "stdafx.h"
#include "ed.h"
#include "conf.h"
#include "privctrl.h"
#include "dialogs.h"
#include "ofn.h"
#include "thread.h"
#include "xstrlist.h"
#include "version.h"
#include "monitor.h"
void
set_window_icon (HWND hwnd)
{
SendMessage (hwnd, WM_SETICON, 1,
LPARAM (LoadIcon (app.hinst, MAKEIN... | 25.360988 | 99 | 0.572006 | snmsts |
0e6465a8bb720131beaf1acc32a2f024448bd283 | 1,114 | cpp | C++ | algorithm/poj3704.cpp | chtld/Programming-and-Algorithm-Course | 669f266fc97db9050013ffbb388517667de33433 | [
"MIT"
] | 2 | 2019-06-10T11:50:06.000Z | 2019-10-14T08:00:41.000Z | algorithm/poj3704.cpp | chtld/Programming-and-Algorithm-Course | 669f266fc97db9050013ffbb388517667de33433 | [
"MIT"
] | null | null | null | algorithm/poj3704.cpp | chtld/Programming-and-Algorithm-Course | 669f266fc97db9050013ffbb388517667de33433 | [
"MIT"
] | null | null | null | #include<iostream>
#include<cstring>
using namespace std;
char str[101];
int len;
int match(int pos){
int i;
i = pos + 1;
while (1) {
while (str[i] != '(' && str[i] != ')' && str[i] != 0)
i++;
if (str[i] == '(') {
i = match(i);
}
else if (str[i] == ')... | 21.018868 | 61 | 0.29623 | chtld |
0e6b265c3ec6f26828883e502425f3a32c9bba44 | 223 | hpp | C++ | include/sywu/api_defs.hpp | bzeller/sywu | a0eeffcd46d74e68dc4115c31a7aaedc2a5be830 | [
"MIT"
] | null | null | null | include/sywu/api_defs.hpp | bzeller/sywu | a0eeffcd46d74e68dc4115c31a7aaedc2a5be830 | [
"MIT"
] | null | null | null | include/sywu/api_defs.hpp | bzeller/sywu | a0eeffcd46d74e68dc4115c31a7aaedc2a5be830 | [
"MIT"
] | null | null | null | #ifndef API_DEFS_HPP
#define API_DEFS_HPP
#include <config.hpp>
#ifdef CONFIG_LIBRARY
# define SYWU_API DECL_EXPORT
#else
# define SYWU_API DECL_IMPORT
#endif
#define SYWU_TEMPLATE_API
#endif // API_DEFS_HPP
| 15.928571 | 35 | 0.762332 | bzeller |
0e6bbbf6a77e9886aa751de3338ba8f62d1630b7 | 38,276 | cpp | C++ | src/refdb.cpp | overcookedpanda/merit | 5fb1604ae69aae71f746d018fd86f1e4b9c60ccc | [
"MIT"
] | null | null | null | src/refdb.cpp | overcookedpanda/merit | 5fb1604ae69aae71f746d018fd86f1e4b9c60ccc | [
"MIT"
] | null | null | null | src/refdb.cpp | overcookedpanda/merit | 5fb1604ae69aae71f746d018fd86f1e4b9c60ccc | [
"MIT"
] | null | null | null | // Copyright (c) 2017-2020 The Merit Foundation
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "refdb.h"
#include "base58.h"
#include <boost/rational.hpp>
#include <boost/multiprecision/cpp_int.hpp>
#include <limits>
... | 33.753086 | 130 | 0.547811 | overcookedpanda |
0e6dac03d70187a0f4efe4b044d70be27d1542b6 | 2,522 | cpp | C++ | cube/HashFunctions.cpp | ypavlou/LSH-HYPERCUBE | fda86a704a215d03593e0f0c0506a2d9308cf3b1 | [
"MIT"
] | null | null | null | cube/HashFunctions.cpp | ypavlou/LSH-HYPERCUBE | fda86a704a215d03593e0f0c0506a2d9308cf3b1 | [
"MIT"
] | null | null | null | cube/HashFunctions.cpp | ypavlou/LSH-HYPERCUBE | fda86a704a215d03593e0f0c0506a2d9308cf3b1 | [
"MIT"
] | null | null | null | #include "HashFunctions.h"
double generateNumber(double const& range_from,double const& range_to){ //https://en.cppreference.com/w/cpp/numeric/random/uniform_real_distribution
random_device rand_dev;
mt19937 generator(rand_dev());
uniform_real_distribut... | 29.670588 | 154 | 0.587629 | ypavlou |
0e75f6eb1d62984bd07fa6cf810d40273bdc64eb | 10,086 | cpp | C++ | AVNA8main/src/SerialCommandR2/SerialCommandR2.cpp | boblark/AudioTestInstrument | 43400f271bcdefbb0105e1abd5152480e207b871 | [
"MIT"
] | 2 | 2021-03-04T06:38:31.000Z | 2021-09-13T17:17:36.000Z | AVNA8main/src/SerialCommandR2/SerialCommandR2.cpp | boblark/AudioTestInstrument | 43400f271bcdefbb0105e1abd5152480e207b871 | [
"MIT"
] | 1 | 2021-05-03T23:46:48.000Z | 2021-05-04T16:29:17.000Z | AVNA8main/src/SerialCommandR2/SerialCommandR2.cpp | boblark/AudioTestInstrument | 43400f271bcdefbb0105e1abd5152480e207b871 | [
"MIT"
] | 1 | 2021-05-03T23:07:04.000Z | 2021-05-03T23:07:04.000Z | /*******************************************************************************
SerialCommandR - Modified from Steven Cogswell Llibrary noted below.
Bob Larkin 21 Jan 2017 - See .h file for notes.
*
SerialCommand - An Arduino library to tokenize and parse commands received over
a serial port.
Copyright (C) 2011-2... | 37.217712 | 116 | 0.586556 | boblark |
0e76ec6683b5828ad682fa300250f7ef9fe7655b | 1,281 | cpp | C++ | vteffect/goto.cpp | LegalizeAdulthood/vteffect | 36ecb0d166ba9d88c2681975c1c6c8a867b5702e | [
"MIT"
] | 3 | 2019-09-22T13:10:54.000Z | 2021-12-21T14:01:53.000Z | vteffect/goto.cpp | LegalizeAdulthood/vteffect | 36ecb0d166ba9d88c2681975c1c6c8a867b5702e | [
"MIT"
] | null | null | null | vteffect/goto.cpp | LegalizeAdulthood/vteffect | 36ecb0d166ba9d88c2681975c1c6c8a867b5702e | [
"MIT"
] | null | null | null | #include "goto.h"
#include <cstdio>
void goto_coord(const coord &c, coord &last)
{
if (last.row == c.row)
{
if (last.col == c.col-1)
{
}
else if (last.col == c.col+1)
{
std::printf("\010\010");
}
else if (last.col > c.col)
{
... | 20.66129 | 54 | 0.37861 | LegalizeAdulthood |
0e7b09abd246cc1e53a6a638265b822f31287ff8 | 1,350 | cpp | C++ | cmdstan/stan/lib/stan_math/test/unit/math/prim/arr/fun/rep_array_test.cpp | yizhang-cae/torsten | dc82080ca032325040844cbabe81c9a2b5e046f9 | [
"BSD-3-Clause"
] | null | null | null | cmdstan/stan/lib/stan_math/test/unit/math/prim/arr/fun/rep_array_test.cpp | yizhang-cae/torsten | dc82080ca032325040844cbabe81c9a2b5e046f9 | [
"BSD-3-Clause"
] | null | null | null | cmdstan/stan/lib/stan_math/test/unit/math/prim/arr/fun/rep_array_test.cpp | yizhang-cae/torsten | dc82080ca032325040844cbabe81c9a2b5e046f9 | [
"BSD-3-Clause"
] | null | null | null | #include <stan/math/prim/arr.hpp>
#include <gtest/gtest.h>
TEST(MathMatrix,rep_array) {
using stan::math::rep_array;
std::vector<double> x = rep_array(2.0, 3);
EXPECT_EQ(3U,x.size());
for (size_t i = 0; i < x.size(); ++i)
EXPECT_FLOAT_EQ(2.0, x[i]);
EXPECT_THROW(rep_array(2.0,-2), std::domain_error);
}
... | 31.395349 | 59 | 0.602963 | yizhang-cae |
0e821f4253f5b94e92e6b7dc8ecae170f231f224 | 1,197 | cpp | C++ | files/soko1/qutim_0.1.1/protocol/oscar/icq/readawaydialog.cpp | truebsdorg/truebsdorg.github.io | 8663d8f6fae3b1bb1e2fb29614677f2863521951 | [
"BSD-4-Clause-UC"
] | null | null | null | files/soko1/qutim_0.1.1/protocol/oscar/icq/readawaydialog.cpp | truebsdorg/truebsdorg.github.io | 8663d8f6fae3b1bb1e2fb29614677f2863521951 | [
"BSD-4-Clause-UC"
] | null | null | null | files/soko1/qutim_0.1.1/protocol/oscar/icq/readawaydialog.cpp | truebsdorg/truebsdorg.github.io | 8663d8f6fae3b1bb1e2fb29614677f2863521951 | [
"BSD-4-Clause-UC"
] | null | null | null | /*
readAwayDialog
Copyright (c) 2008 by Rustam Chakin <qutim.develop@gmail.com>
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *... | 27.837209 | 101 | 0.492899 | truebsdorg |
0e8229737beb80be7ecc1bf3d732de3952df12cd | 4,433 | cpp | C++ | src/network_manager.cpp | hsrob/BBCF-Improvement-Mod-GGPO | 2d327b942c3b58190078afb235e2c83a7c390784 | [
"MIT"
] | 1 | 2020-09-15T10:45:06.000Z | 2020-09-15T10:45:06.000Z | src/network_manager.cpp | hsrob/BBCF-Improvement-Mod-GGPO | 2d327b942c3b58190078afb235e2c83a7c390784 | [
"MIT"
] | null | null | null | src/network_manager.cpp | hsrob/BBCF-Improvement-Mod-GGPO | 2d327b942c3b58190078afb235e2c83a7c390784 | [
"MIT"
] | null | null | null | #include "../include/network_manager.h"
#include "../include/ImGui/ImGuiSystem.h"
#include "../include/custom_palette.h"
#include "../include/utils.h"
#include "../include/bbcf_im_networking.h"
#include "../include/containers.h"
NetworkManager::NetworkManager(SteamNetworkingWrapper *SteamNetworking)
{
pSteamNetworkin... | 31.892086 | 136 | 0.747575 | hsrob |
0e885bc0cdfc2aaf5b4435dbe04d955d0ef4cf5e | 10,917 | hpp | C++ | src/xpcc/utils/arithmetic_traits.hpp | walmis/xpcc | 1d87c4434530c6aeac923f57d379aeaf32e11e1e | [
"BSD-3-Clause"
] | 5 | 2016-02-06T14:57:35.000Z | 2018-01-02T23:34:18.000Z | src/xpcc/utils/arithmetic_traits.hpp | walmis/xpcc | 1d87c4434530c6aeac923f57d379aeaf32e11e1e | [
"BSD-3-Clause"
] | null | null | null | src/xpcc/utils/arithmetic_traits.hpp | walmis/xpcc | 1d87c4434530c6aeac923f57d379aeaf32e11e1e | [
"BSD-3-Clause"
] | 1 | 2020-04-19T13:16:31.000Z | 2020-04-19T13:16:31.000Z | // coding: utf-8
// ----------------------------------------------------------------------------
/* Copyright (c) 2009, Roboterclub Aachen e.V.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are... | 25.388372 | 80 | 0.608226 | walmis |
0e89635f1a94d8ab082928f111b26a716568fc71 | 2,477 | hxx | C++ | opencascade/math_FunctionSetWithDerivatives.hxx | mgreminger/OCP | 92eacb99497cd52b419c8a4a8ab0abab2330ed42 | [
"Apache-2.0"
] | null | null | null | opencascade/math_FunctionSetWithDerivatives.hxx | mgreminger/OCP | 92eacb99497cd52b419c8a4a8ab0abab2330ed42 | [
"Apache-2.0"
] | null | null | null | opencascade/math_FunctionSetWithDerivatives.hxx | mgreminger/OCP | 92eacb99497cd52b419c8a4a8ab0abab2330ed42 | [
"Apache-2.0"
] | null | null | null | // Created on: 1991-05-13
// Created by: Laurent PAINNOT
// Copyright (c) 1991-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GN... | 28.147727 | 109 | 0.757771 | mgreminger |
0e8c2db1c9f9cd5120ac2d359ed11dfbf2248683 | 1,378 | cpp | C++ | src/gl/hqnx/init.cpp | 351ELEC/lzdoom | 2ee3ea91bc9c052b3143f44c96d85df22851426f | [
"RSA-MD"
] | 5 | 2021-07-31T03:34:09.000Z | 2021-08-31T21:43:50.000Z | source/common/textures/hires/hqnx/init.cpp | Quake-Backup/Raze | 16c81f0b1f409436ebf576d2c23f2459a29b34b4 | [
"RSA-MD"
] | 4 | 2021-09-02T00:05:17.000Z | 2021-09-07T14:56:12.000Z | source/common/textures/hires/hqnx/init.cpp | Quake-Backup/Raze | 16c81f0b1f409436ebf576d2c23f2459a29b34b4 | [
"RSA-MD"
] | 1 | 2021-09-28T19:03:39.000Z | 2021-09-28T19:03:39.000Z | /*
* Copyright (C) 2010 Cameron Zemek ( grom@zeminvaders.net)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | 35.333333 | 74 | 0.642235 | 351ELEC |
0e8edae199014bbf286010cf02974041d6f5dd07 | 5,286 | cpp | C++ | src/UT_Base/StringTest.cpp | CronosTs/phobos3d | c0336456d946f3a9e62fb9b7815831ad32820da5 | [
"Zlib"
] | 2 | 2015-01-14T20:20:51.000Z | 2015-09-08T15:49:18.000Z | src/UT_Base/StringTest.cpp | CronosTs/phobos3d | c0336456d946f3a9e62fb9b7815831ad32820da5 | [
"Zlib"
] | null | null | null | src/UT_Base/StringTest.cpp | CronosTs/phobos3d | c0336456d946f3a9e62fb9b7815831ad32820da5 | [
"Zlib"
] | 1 | 2015-11-03T13:58:58.000Z | 2015-11-03T13:58:58.000Z | /*
Phobos 3d
January 2010
Copyright (c) 2005-2011 Bruno Sanches http://code.google.com/p/phobos3d
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this s... | 24.933962 | 243 | 0.695233 | CronosTs |
0e915123ca572f6ea04d3034f4e498cf90597f67 | 2,312 | cpp | C++ | engine/mono/src/managed_interface/resources/filesystem_collection_provider.cpp | aeon-engine/aeon-engine | 9efcf83985110c36ebf0964bd4f76b261f2f6717 | [
"MIT"
] | 12 | 2017-02-25T17:14:15.000Z | 2021-08-02T13:39:18.000Z | engine/mono/src/managed_interface/resources/filesystem_collection_provider.cpp | aeon-engine/aeon-engine | 9efcf83985110c36ebf0964bd4f76b261f2f6717 | [
"MIT"
] | 31 | 2017-02-23T06:59:44.000Z | 2017-05-21T11:49:10.000Z | engine/mono/src/managed_interface/resources/filesystem_collection_provider.cpp | aeon-engine/aeon-engine | 9efcf83985110c36ebf0964bd4f76b261f2f6717 | [
"MIT"
] | 5 | 2017-05-02T05:34:53.000Z | 2020-05-19T06:57:50.000Z | /*
* Copyright (c) 2012-2018 Robin Degen
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,
* copy, modify, merge,... | 39.862069 | 111 | 0.740052 | aeon-engine |
0e92670f7af3cdc722448aef82c3396557643c5c | 1,309 | hpp | C++ | src/umpire/util/AllocationRecord.hpp | PhilipDeegan/Umpire | 3f047822380435131a00a0c7e356c9e845bbfef3 | [
"MIT-0",
"MIT"
] | 229 | 2018-03-12T19:16:04.000Z | 2022-03-25T15:21:39.000Z | src/umpire/util/AllocationRecord.hpp | PhilipDeegan/Umpire | 3f047822380435131a00a0c7e356c9e845bbfef3 | [
"MIT-0",
"MIT"
] | 504 | 2018-07-03T23:37:14.000Z | 2022-03-23T20:15:26.000Z | src/umpire/util/AllocationRecord.hpp | PhilipDeegan/Umpire | 3f047822380435131a00a0c7e356c9e845bbfef3 | [
"MIT-0",
"MIT"
] | 53 | 2018-06-29T23:37:19.000Z | 2022-03-28T17:39:20.000Z | //////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2016-21, Lawrence Livermore National Security, LLC and Umpire
// project contributors. See the COPYRIGHT file for details.
//
// SPDX-License-Identifier: (MIT)
////////////////////////////////////////////////////////////////... | 25.173077 | 105 | 0.640183 | PhilipDeegan |
0e934556ea4c1539cba78495c5ac7be0aaf7fb1e | 6,379 | cpp | C++ | tool_kits/ui_component/av_kit/gui/local_video_player/local_video_player_form_ui.cpp | stephenzhj/NIM_PC_Demo | 0d2933955e079afa5c9e4df196ee017fad6c79af | [
"BSD-2-Clause",
"OpenSSL"
] | 161 | 2016-01-24T13:55:15.000Z | 2021-06-01T03:48:56.000Z | tool_kits/ui_component/av_kit/gui/local_video_player/local_video_player_form_ui.cpp | stephenzhj/NIM_PC_Demo | 0d2933955e079afa5c9e4df196ee017fad6c79af | [
"BSD-2-Clause",
"OpenSSL"
] | 49 | 2016-01-24T14:06:52.000Z | 2021-06-01T07:14:53.000Z | tool_kits/ui_component/av_kit/gui/local_video_player/local_video_player_form_ui.cpp | xiejiulong/NIM_PC_Demo | 47f74270b200bb365035209c9734723f1cb7efea | [
"BSD-2-Clause",
"OpenSSL"
] | 140 | 2016-02-22T09:42:07.000Z | 2021-05-26T01:15:12.000Z | #include "stdafx.h"
#include "local_video_player_form.h"
#include "shared/modal_wnd/file_dialog_ex.h"
#ifdef SUPPORTLOCALPLAYER
const LPTSTR LocalVideoPlayerForm::kClassName = L"LocalVideoPlayerForm";
unsigned int LocalVideoPlayerForm::InstanceNum = 0;
using namespace ui;
LocalVideoPlayerForm::LocalVideoPlayerForm(co... | 23.981203 | 141 | 0.726446 | stephenzhj |
0e968553b2656d4f10819f4e7227e479db0c27a2 | 503 | hpp | C++ | northstar/include/mock/MockIEnvironmentSensor.hpp | BryanChrisBrown/project_northstar_openvr_driver | cf16e98e24804aee699805dca766b8153f4e52e5 | [
"Unlicense"
] | null | null | null | northstar/include/mock/MockIEnvironmentSensor.hpp | BryanChrisBrown/project_northstar_openvr_driver | cf16e98e24804aee699805dca766b8153f4e52e5 | [
"Unlicense"
] | null | null | null | northstar/include/mock/MockIEnvironmentSensor.hpp | BryanChrisBrown/project_northstar_openvr_driver | cf16e98e24804aee699805dca766b8153f4e52e5 | [
"Unlicense"
] | null | null | null | #pragma once
#include <doctest/doctest.h>
#include <doctest/trompeloeil.hpp>
#include <ST/XRSession.h>
#include <openvr_driver.h>
#include "driver/IEnvironmentSensor.hpp"
namespace northstar {
namespace driver {
class MockIEnvironmentSensor:
public IEnvironmentSensor{
public:
... | 25.15 | 93 | 0.662028 | BryanChrisBrown |
0e98a2ce70cbd34d6e69579e94a6690563bf4c2b | 571 | cpp | C++ | cpp/template_debugging/runtime.cpp | jl-wynen/code_stuffs | 91ee6cd9075a7bc8697b03ce2eec13cb4fffb3ad | [
"MIT"
] | null | null | null | cpp/template_debugging/runtime.cpp | jl-wynen/code_stuffs | 91ee6cd9075a7bc8697b03ce2eec13cb4fffb3ad | [
"MIT"
] | null | null | null | cpp/template_debugging/runtime.cpp | jl-wynen/code_stuffs | 91ee6cd9075a7bc8697b03ce2eec13cb4fffb3ad | [
"MIT"
] | null | null | null | // gcc and clang only
// Jonathan O'Connor
// https://www.youtube.com/watch?v=83fMx7Grxys
#include <iostream>
#include <string>
template <typename T>
auto name_of_type(T* = nullptr)
{
std::string const pretty_func{__PRETTY_FUNCTION__};
auto const pos = pretty_func.find('=');
if (pos == std::string::npos)... | 22.84 | 68 | 0.61296 | jl-wynen |
0e9accd60c5b2fc640ba3c5e76b28e269666fff3 | 8,394 | cpp | C++ | segmentation/segmentation_common.cpp | ayghor/video_segment | c930c4555ff171e5013d525e218a4d8201ed0d51 | [
"BSD-3-Clause"
] | 159 | 2015-01-14T21:24:12.000Z | 2021-08-29T19:38:27.000Z | segmentation/segmentation_common.cpp | Robotertechnik/video_segment | c930c4555ff171e5013d525e218a4d8201ed0d51 | [
"BSD-3-Clause"
] | 21 | 2015-01-06T15:51:10.000Z | 2020-06-21T18:58:01.000Z | segmentation/segmentation_common.cpp | Robotertechnik/video_segment | c930c4555ff171e5013d525e218a4d8201ed0d51 | [
"BSD-3-Clause"
] | 86 | 2015-01-14T21:25:29.000Z | 2020-06-21T18:52:19.000Z | // Copyright (c) 2010-2014, The Video Segmentation Project
// All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
// * Redistributions of source code must retain the above copyright
// notice... | 38.682028 | 88 | 0.704313 | ayghor |
0e9bbff8a77f5c38b1e1a480ea1a84b99b417eae | 4,750 | cpp | C++ | build/luadbg/luadbg.cpp | oceancx/xLua | cba692cc63d1748d876ab7eb3b292d15fd796468 | [
"BSD-3-Clause"
] | null | null | null | build/luadbg/luadbg.cpp | oceancx/xLua | cba692cc63d1748d876ab7eb3b292d15fd796468 | [
"BSD-3-Clause"
] | null | null | null | build/luadbg/luadbg.cpp | oceancx/xLua | cba692cc63d1748d876ab7eb3b292d15fd796468 | [
"BSD-3-Clause"
] | null | null | null | #include "luadbg.h"
#include "lua_net.h"
#include "net_thread_queue.h"
#include <functional>
#include <thread>
#include "buffer.h"
#include "luadbg.inl"
#include "lua_bind.h"
#include "asio.hpp"
using namespace cxezio;
using asio::ip::tcp;
std::string LUADBG_LINES_ENDING = "";
bool check_lua_error(lua_State* L, ... | 22.511848 | 86 | 0.717895 | oceancx |
0e9da5e0721ec9c5c076fabe698ab814ad922c4f | 2,799 | cpp | C++ | math/modular_inverse_fermat_little_theorem.cpp | dvijaymanohar/C-Plus-Plus | c987381c25858f08d0fe9301712ab6c1a10b433f | [
"MIT"
] | null | null | null | math/modular_inverse_fermat_little_theorem.cpp | dvijaymanohar/C-Plus-Plus | c987381c25858f08d0fe9301712ab6c1a10b433f | [
"MIT"
] | null | null | null | math/modular_inverse_fermat_little_theorem.cpp | dvijaymanohar/C-Plus-Plus | c987381c25858f08d0fe9301712ab6c1a10b433f | [
"MIT"
] | null | null | null | /**
* @file
* @brief C++ Program to find the modular inverse using [Fermat's Little
* Theorem](https://en.wikipedia.org/wiki/Fermat%27s_little_theorem)
*
* Fermat's Little Theorem state that \f[ϕ(m) = m-1\f]
* where \f$m\f$ is a prime number.
* \f{eqnarray*}{
* a \cdot x &≡& 1 \;\text{mod}\; m\\
* x &≡& a^{-... | 23.923077 | 78 | 0.538049 | dvijaymanohar |
0e9db0a3bfc04e857dadce1d7c4bbe6121f1f642 | 5,754 | hpp | C++ | include/eve/function/fuzzy.hpp | the-moisrex/eve | 80b52663eefee11460abb0aedf4158a5067cf7dc | [
"MIT"
] | 340 | 2020-09-16T21:12:48.000Z | 2022-03-28T15:40:33.000Z | third-party/eve/function/fuzzy.hpp | aguinet/ecsimd | cba9e7fe76601b98cbaeea317b6c4e671272e70b | [
"Apache-2.0"
] | 383 | 2020-09-17T06:56:35.000Z | 2022-03-13T15:58:53.000Z | third-party/eve/function/fuzzy.hpp | aguinet/ecsimd | cba9e7fe76601b98cbaeea317b6c4e671272e70b | [
"Apache-2.0"
] | 28 | 2021-02-27T23:11:23.000Z | 2022-03-25T12:31:29.000Z | //==================================================================================================
/*
EVE - Expressive Vector Engine
Copyright : EVE Contributors & Maintainers
SPDX-License-Identifier: MIT
*/
//==================================================================================================
#pr... | 36.188679 | 106 | 0.434654 | the-moisrex |
0e9f82aa4cf1defb1eea7821dd5e3e66bfa4c2d9 | 1,342 | cpp | C++ | src/voronoi/src/mp_sample_generator.cpp | frmr/gs | b9721ad27f59ca2e19f637bccd9eba32b663b6a3 | [
"MIT"
] | 2 | 2016-12-06T17:51:30.000Z | 2018-06-21T08:52:58.000Z | src/voronoi/src/mp_sample_generator.cpp | frmr/gs | b9721ad27f59ca2e19f637bccd9eba32b663b6a3 | [
"MIT"
] | null | null | null | src/voronoi/src/mp_sample_generator.cpp | frmr/gs | b9721ad27f59ca2e19f637bccd9eba32b663b6a3 | [
"MIT"
] | null | null | null | #include "mp_sample_generator.h"
#include <iostream>
#include <cstdlib>
#include <time.h>
MPSampleGenerator::MPSampleGenerator()
: seed(time(NULL)),
re(seed)
{
//std::cout << "seed = " << seed << "\n";
unif = std::uniform_real_distribution<long double>(0.0,1.0);
}
MPSampleGenerator::MPSamp... | 22 | 64 | 0.568554 | frmr |
0ea387cb3bde12039b48aeb0e7caf36c8c8b6f94 | 11,752 | cpp | C++ | src/executor/update_executor.cpp | xinzhang1234/peloton | 9b11d92dd5a2a0b32d5c39a9ba0b1aa45fe0b654 | [
"Apache-2.0"
] | 7 | 2017-03-12T01:57:48.000Z | 2022-03-16T12:44:07.000Z | src/executor/update_executor.cpp | xinzhang1234/peloton | 9b11d92dd5a2a0b32d5c39a9ba0b1aa45fe0b654 | [
"Apache-2.0"
] | null | null | null | src/executor/update_executor.cpp | xinzhang1234/peloton | 9b11d92dd5a2a0b32d5c39a9ba0b1aa45fe0b654 | [
"Apache-2.0"
] | 2 | 2017-03-30T00:43:50.000Z | 2021-07-21T06:27:44.000Z | //===----------------------------------------------------------------------===//
//
// Peloton
//
// update_executor.cpp
//
// Identification: src/executor/update_executor.cpp
//
// Copyright (c) 2015-16, Carnegie Mellon University Database Group
//
//===-----------------------------------------... | 36.610592 | 80 | 0.604663 | xinzhang1234 |
0ea51f282b2ac2a56f70ddf2af67ec7e664aec40 | 4,498 | cpp | C++ | Gems/Terrain/Code/Source/EditorComponents/EditorTerrainSurfaceGradientListComponent.cpp | ComarPers922/o3de | f321789456ceb1bd62405ee647c55900e980b4f8 | [
"Apache-2.0",
"MIT"
] | 1 | 2022-01-11T14:38:59.000Z | 2022-01-11T14:38:59.000Z | Gems/Terrain/Code/Source/EditorComponents/EditorTerrainSurfaceGradientListComponent.cpp | ComarPers922/o3de | f321789456ceb1bd62405ee647c55900e980b4f8 | [
"Apache-2.0",
"MIT"
] | null | null | null | Gems/Terrain/Code/Source/EditorComponents/EditorTerrainSurfaceGradientListComponent.cpp | ComarPers922/o3de | f321789456ceb1bd62405ee647c55900e980b4f8 | [
"Apache-2.0",
"MIT"
] | null | null | null | /*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include <EditorComponents/EditorTerrainSurfaceGradientListComponent.h>
#include <AzCore/Serializa... | 44.098039 | 139 | 0.656959 | ComarPers922 |
0ea645dc8746ba3c9b1d20f8e3563de325bdb957 | 10,290 | cpp | C++ | src/AlienBlob.cpp | gregfriedland/AuroraV6 | 1199e4f7e4a17cf6fa08063ab9f22d6702a4ec5f | [
"MIT"
] | null | null | null | src/AlienBlob.cpp | gregfriedland/AuroraV6 | 1199e4f7e4a17cf6fa08063ab9f22d6702a4ec5f | [
"MIT"
] | null | null | null | src/AlienBlob.cpp | gregfriedland/AuroraV6 | 1199e4f7e4a17cf6fa08063ab9f22d6702a4ec5f | [
"MIT"
] | null | null | null | #include <map>
#include <vector>
#include "AlienBlob.h"
#include "Drawer.h"
#include "Util.h"
#define DECAY 0.5f
#define ALIENBLOB_SPEED_MULTIPLIER 0.07f
static void init_noise(void);
static float noise(float x, float y, float z, int octaves, float decay);
static void alienblob(int width, int height, int numColor... | 34.072848 | 135 | 0.563751 | gregfriedland |
0ea7001ff1f926124d546459a7d27c79ea3038d4 | 10,673 | cpp | C++ | src/world_interface/simulator_interface.cpp | huskyroboticsteam/Resurgence | 649f78103b6d76709fdf55bb38d08c0ff50da140 | [
"Apache-2.0"
] | 3 | 2021-12-23T23:31:42.000Z | 2022-02-16T07:17:41.000Z | src/world_interface/simulator_interface.cpp | huskyroboticsteam/Resurgence | 649f78103b6d76709fdf55bb38d08c0ff50da140 | [
"Apache-2.0"
] | 2 | 2021-11-22T05:33:43.000Z | 2022-01-23T07:01:47.000Z | src/world_interface/simulator_interface.cpp | huskyroboticsteam/Resurgence | 649f78103b6d76709fdf55bb38d08c0ff50da140 | [
"Apache-2.0"
] | null | null | null | #include "../Constants.h"
#include "../Globals.h"
#include "../Networking/websocket/WebSocketProtocol.h"
#include "../Util.h"
#include "../ar/read_landmarks.h"
#include "../base64/base64_img.h"
#include "../camera/Camera.h"
#include "../camera/CameraConfig.h"
#include "../kinematics/DiffDriveKinematics.h"
#include "../... | 27.794271 | 92 | 0.733908 | huskyroboticsteam |
0ea7b29eb1781cfdd6af250e64ceda5b604f54dc | 6,562 | hpp | C++ | ql/experimental/commodities/commodityindex.hpp | haozhangphd/QuantLib-noBoost | ddded069868161099843c04840454f00816113ad | [
"BSD-3-Clause"
] | 76 | 2017-06-28T21:24:38.000Z | 2021-12-19T18:07:37.000Z | ql/experimental/commodities/commodityindex.hpp | haozhangphd/QuantLib-noBoost | ddded069868161099843c04840454f00816113ad | [
"BSD-3-Clause"
] | 2 | 2017-07-05T09:20:13.000Z | 2019-10-31T12:06:51.000Z | ql/experimental/commodities/commodityindex.hpp | haozhangphd/QuantLib-noBoost | ddded069868161099843c04840454f00816113ad | [
"BSD-3-Clause"
] | 34 | 2017-07-02T14:49:21.000Z | 2021-11-26T15:32:04.000Z | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2008 J. Erik Radmall
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is free software: you can redistribute it and... | 31.854369 | 80 | 0.615666 | haozhangphd |
0ea829a616240ef4014e96462dd5fb036c3e06c9 | 981 | cpp | C++ | leetcode/problemset-algorithms/two-sum-iv-input-is-a-bst.cpp | riteshkumar99/coding-for-placement | b45f90f662808bf4bf038ff98a016d49b9d71f71 | [
"MIT"
] | null | null | null | leetcode/problemset-algorithms/two-sum-iv-input-is-a-bst.cpp | riteshkumar99/coding-for-placement | b45f90f662808bf4bf038ff98a016d49b9d71f71 | [
"MIT"
] | null | null | null | leetcode/problemset-algorithms/two-sum-iv-input-is-a-bst.cpp | riteshkumar99/coding-for-placement | b45f90f662808bf4bf038ff98a016d49b9d71f71 | [
"MIT"
] | null | null | null | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode() : val(0), left(nullptr), right(nullptr) {}
* TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
* TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l... | 25.815789 | 93 | 0.474006 | riteshkumar99 |
0ea90a6de5944af6d2a9c1010401ee43e522f1f0 | 32,135 | hpp | C++ | example/GHAME6/class_hierarchy.hpp | SwaggyTyrion/CADAC | f5405b82fedfbc9fc9bdacfb0dfd83eb0a46fa41 | [
"MIT"
] | 5 | 2020-04-12T10:00:49.000Z | 2022-01-25T05:29:24.000Z | example/GHAME6/class_hierarchy.hpp | SwaggyTyrion/CADAC | f5405b82fedfbc9fc9bdacfb0dfd83eb0a46fa41 | [
"MIT"
] | null | null | null | example/GHAME6/class_hierarchy.hpp | SwaggyTyrion/CADAC | f5405b82fedfbc9fc9bdacfb0dfd83eb0a46fa41 | [
"MIT"
] | 2 | 2022-01-13T19:56:19.000Z | 2022-02-07T20:13:05.000Z | ///////////////////////////////////////////////////////////////////////////////
//FILE: class_hierarchy.hpp
//
//Contains the classes of the hierarchy of base class 'Cadac'
//
//011128 Created by Peter H Zipfel
//030415 Adapted to HYPER simulation, PZi
///////////////////////////////////////////////////////////////////... | 38.716867 | 114 | 0.704466 | SwaggyTyrion |
0ea964c76e00a1d9122e688fd902adf71ab32509 | 716,061 | cpp | C++ | test/bidi_character_test_022.cpp | eightysquirrels/text | d935545648777786dc196a75346cde8906da846a | [
"BSL-1.0"
] | null | null | null | test/bidi_character_test_022.cpp | eightysquirrels/text | d935545648777786dc196a75346cde8906da846a | [
"BSL-1.0"
] | 1 | 2021-03-05T12:56:59.000Z | 2021-03-05T13:11:53.000Z | test/bidi_character_test_022.cpp | eightysquirrels/text | d935545648777786dc196a75346cde8906da846a | [
"BSL-1.0"
] | 3 | 2019-10-30T18:38:15.000Z | 2021-03-05T12:10:13.000Z | // Warning! This file is autogenerated.
#include <boost/text/bidirectional.hpp>
#include "bidi_tests.hpp"
#include <gtest/gtest.h>
#include <algorithm>
TEST(bidi_character, bidi_character_022_000)
{
{
// line 15401
std::vector<uint32_t> const cps = { 0x0028, 0x2680, 0x0029, 0x2681, 0x05D0, 0x0... | 33.71444 | 109 | 0.439169 | eightysquirrels |
0ea9f4977b18998a9f7903fbc5e90955cc00012c | 9,702 | cpp | C++ | StateMachine/src/GroupDFA.cpp | krystianAndrzejewski/regular_expression | b49a7e0eb0d9ec8e34db3dbd8701d5b186c59784 | [
"MIT"
] | null | null | null | StateMachine/src/GroupDFA.cpp | krystianAndrzejewski/regular_expression | b49a7e0eb0d9ec8e34db3dbd8701d5b186c59784 | [
"MIT"
] | null | null | null | StateMachine/src/GroupDFA.cpp | krystianAndrzejewski/regular_expression | b49a7e0eb0d9ec8e34db3dbd8701d5b186c59784 | [
"MIT"
] | null | null | null | #include "GroupDFA.h"
#include "NFA.h"
#include <stack>
#include <queue>
#include <sstream>
#include <algorithm>
#include <iterator>
GroupDFA::GroupDFA()
{
}
GroupDFA::~GroupDFA()
{
for (auto state : states)
{
delete state;
}
}
void GroupDFA::createFromInitialDFA(const InitialDFA& initialDfa, ... | 35.28 | 118 | 0.502989 | krystianAndrzejewski |
0eaac8587a2e1ccf18405c65346aa5e87754d22d | 1,370 | hpp | C++ | socket/tcp_socket.hpp | xqq/drawboard | 993f0f90c127c51ad5837656fc1383b2d9e7ddde | [
"MIT"
] | 10 | 2020-01-18T09:28:47.000Z | 2020-04-28T15:37:42.000Z | socket/tcp_socket.hpp | xqq/drawboard | 993f0f90c127c51ad5837656fc1383b2d9e7ddde | [
"MIT"
] | 1 | 2020-04-28T15:29:52.000Z | 2020-04-28T15:35:03.000Z | socket/tcp_socket.hpp | xqq/drawboard | 993f0f90c127c51ad5837656fc1383b2d9e7ddde | [
"MIT"
] | 2 | 2020-01-20T06:54:26.000Z | 2022-01-11T09:01:42.000Z | //
// @author magicxqq <xqq@xqq.im>
//
#ifndef DRAWBOARD_TCP_SOCKET_HPP
#define DRAWBOARD_TCP_SOCKET_HPP
#include <string>
#include <functional>
#include "common/noncopyable.hpp"
struct sockaddr_in;
class ReadWriteBuffer;
class TcpSocket : public Noncopyable {
public:
using OnConnectedCallback = std::function<... | 28.541667 | 112 | 0.683942 | xqq |
0eab754810dc17bd1e95ba081e9ff469a0a04b21 | 630 | cpp | C++ | ilya_and_queries.cpp | Delfad0r/CompetitiveProgrammingCourse | a986045372138f550e38f6262933ed34f7a57d77 | [
"Apache-2.0"
] | null | null | null | ilya_and_queries.cpp | Delfad0r/CompetitiveProgrammingCourse | a986045372138f550e38f6262933ed34f7a57d77 | [
"Apache-2.0"
] | null | null | null | ilya_and_queries.cpp | Delfad0r/CompetitiveProgrammingCourse | a986045372138f550e38f6262933ed34f7a57d77 | [
"Apache-2.0"
] | null | null | null | /*
We build a binary array containing 1 at position n when S[n]==S[n-1],
and then compute prefix sums. Then answering the queries is trivial.
Time complexity: O(N)
Space complexity: O(N)
*/
#include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie... | 19.090909 | 69 | 0.495238 | Delfad0r |
0eae0cf7b092d48af1e0f8dc624bd5bb0f1a94a3 | 650 | cpp | C++ | Engine/Firework.cpp | AleixBueso/Engine-Project-v.2 | 6838b18dd508d0404688c5a360706a49acb6c6ac | [
"Apache-2.0"
] | null | null | null | Engine/Firework.cpp | AleixBueso/Engine-Project-v.2 | 6838b18dd508d0404688c5a360706a49acb6c6ac | [
"Apache-2.0"
] | null | null | null | Engine/Firework.cpp | AleixBueso/Engine-Project-v.2 | 6838b18dd508d0404688c5a360706a49acb6c6ac | [
"Apache-2.0"
] | null | null | null | #include "Firework.h"
#include "Globals.h"
#include "OpenGL.h"
#include "Application.h"
#include "ModuleGOmanager.h"
#include "Particle Emitter.h"
Firework::Firework()
{
};
Firework::~Firework()
{
};
void Firework::CreateFirework()
{
Particle_Emitter* tmp = new Particle_Emitter(nullptr, true);
firework_emitters... | 21.666667 | 113 | 0.698462 | AleixBueso |
0eaea8ccaeba5c0b9d1e5fd838e3070230958c47 | 6,754 | hpp | C++ | code/vpp/include/vppSampler.hpp | maikebing/vpp | efa6c32f898e103d749764ce3a0b7dc29d6e9a51 | [
"BSD-2-Clause"
] | null | null | null | code/vpp/include/vppSampler.hpp | maikebing/vpp | efa6c32f898e103d749764ce3a0b7dc29d6e9a51 | [
"BSD-2-Clause"
] | null | null | null | code/vpp/include/vppSampler.hpp | maikebing/vpp | efa6c32f898e103d749764ce3a0b7dc29d6e9a51 | [
"BSD-2-Clause"
] | null | null | null | /*
Copyright 2016-2019 SOFT-ERG, Przemek Kuczmierczyk (www.softerg.com)
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above... | 32.946341 | 140 | 0.5382 | maikebing |
0eb30d66785902c6e5e4fdb724e2eeb15cacca07 | 3,474 | cpp | C++ | Shiny_Engine/ResourcesMesh.cpp | AleixCas95/Shiny_Engine | a5dca52725ed20c11f929a581e1b442988ec3237 | [
"MIT"
] | null | null | null | Shiny_Engine/ResourcesMesh.cpp | AleixCas95/Shiny_Engine | a5dca52725ed20c11f929a581e1b442988ec3237 | [
"MIT"
] | null | null | null | Shiny_Engine/ResourcesMesh.cpp | AleixCas95/Shiny_Engine | a5dca52725ed20c11f929a581e1b442988ec3237 | [
"MIT"
] | null | null | null | #include "Application.h"
#include "ResourcesMesh.h"
#include "ModuleFBX.h"
#include "Glew/include/glew.h"
#include <gl/GL.h>
ResourceMesh::ResourceMesh(scriptType uuid) : Resource(uuid, ResourceType::Mesh)
{
}
ResourceMesh::~ResourceMesh()
{
if (loaded > 0)
UnloadInMemory(); //TODO!!!
}
bool ResourceMesh::LoadIn... | 24.992806 | 101 | 0.715314 | AleixCas95 |
0eb77d07718e37ad232d72354ccebf3d61e17068 | 1,043 | cpp | C++ | source/oc/ocMain.cpp | mackron/openchernobyl | 47c854ce37e1c361b184e29a59e4881a6faa387c | [
"BSD-3-Clause"
] | 2 | 2021-05-24T21:18:13.000Z | 2021-12-20T07:21:20.000Z | source/oc/ocMain.cpp | openchernobyl/openchernobyl | 47c854ce37e1c361b184e29a59e4881a6faa387c | [
"BSD-3-Clause"
] | null | null | null | source/oc/ocMain.cpp | openchernobyl/openchernobyl | 47c854ce37e1c361b184e29a59e4881a6faa387c | [
"BSD-3-Clause"
] | null | null | null | // Copyright (C) 2018 David Reid. See included LICENSE file.
// This is main source file for the entire game, and is the only file that needs to be compiled (not including dependencies).
#include "ocGame/ocGame.cpp"
int ocMain(int argc, char** argv)
{
(void)argc;
(void)argv;
// The first thing to do on ... | 24.833333 | 125 | 0.703739 | mackron |
0eb907efa2a1697d173674628b15cd564f9884c9 | 18,604 | cpp | C++ | bulletgba/generator/data/code/kotuanzenx/bb04-r7.cpp | pqrs-org/BulletGBA | a294007902970242b496f2528b4762cfef22bc86 | [
"Unlicense"
] | 5 | 2020-03-24T07:44:49.000Z | 2021-08-30T14:43:31.000Z | bulletgba/generator/data/code/kotuanzenx/bb04-r7.cpp | pqrs-org/BulletGBA | a294007902970242b496f2528b4762cfef22bc86 | [
"Unlicense"
] | null | null | null | bulletgba/generator/data/code/kotuanzenx/bb04-r7.cpp | pqrs-org/BulletGBA | a294007902970242b496f2528b4762cfef22bc86 | [
"Unlicense"
] | null | null | null | // XXX uniqID XXX 6dfd0e0d2b04618ffe2fdb6da6d4df76 XXX
#include <gba_types.h>
#include "bullet.hpp"
#include "fixed.hpp"
#include "kotuanzenx/bb04-r7.hpp"
extern const BulletStepFunc bullet_f1f3d5f55c5d318a36d3fbde506fd1af_6dfd0e0d2b04618ffe2fdb6da6d4df76[] = {
stepfunc_05798bae9c12d6be89270ea1e2488f81_6dfd0e0d2... | 72.389105 | 380 | 0.851 | pqrs-org |
0eb991684de26e856fff5254f586f544f15a6ac0 | 461 | cpp | C++ | applications/DebugApp/main.cpp | InfiniteInteractive/LimitlessSDK | cb71dde14d8c59cbf8a1ece765989c5787fffefa | [
"MIT"
] | 3 | 2017-05-13T20:36:03.000Z | 2021-07-16T17:23:01.000Z | applications/DebugApp/main.cpp | InfiniteInteractive/LimitlessSDK | cb71dde14d8c59cbf8a1ece765989c5787fffefa | [
"MIT"
] | null | null | null | applications/DebugApp/main.cpp | InfiniteInteractive/LimitlessSDK | cb71dde14d8c59cbf8a1ece765989c5787fffefa | [
"MIT"
] | 2 | 2016-08-04T00:16:50.000Z | 2017-09-07T14:50:03.000Z | #include "debugapp.h"
#include <QtWidgets/QApplication>
#include "Media/MediaPluginFactory.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QCoreApplication::setOrganizationName("Infinite Interactive");
QCoreApplication::setOrganizationDomain("infiniteinteractive.com");
QCoreApplication::setAppli... | 21.952381 | 68 | 0.754881 | InfiniteInteractive |
0ebc89a7d0619d64d95806157acd06cea6e38142 | 3,255 | cpp | C++ | Source/Diagnostics/ReducedDiags/FieldReduction.cpp | Yin-YinjianZhao/WarpX | a194b909f73c44703b013b39dbcead0f278a8ba6 | [
"BSD-3-Clause-LBNL"
] | 131 | 2018-09-29T08:11:40.000Z | 2022-03-28T23:24:22.000Z | Source/Diagnostics/ReducedDiags/FieldReduction.cpp | Yin-YinjianZhao/WarpX | a194b909f73c44703b013b39dbcead0f278a8ba6 | [
"BSD-3-Clause-LBNL"
] | 1,656 | 2018-10-02T01:49:24.000Z | 2022-03-31T21:27:31.000Z | Source/Diagnostics/ReducedDiags/FieldReduction.cpp | Yin-YinjianZhao/WarpX | a194b909f73c44703b013b39dbcead0f278a8ba6 | [
"BSD-3-Clause-LBNL"
] | 100 | 2018-10-01T20:41:14.000Z | 2022-03-10T10:30:42.000Z | /* Copyright 2021 Neil Zaim
*
* This file is part of WarpX.
*
* License: BSD-3-Clause-LBNL
*/
#include "FieldReduction.H"
#include "Utils/IntervalsParser.H"
#include "Utils/WarpXAlgorithmSelection.H"
#include "Utils/WarpXUtil.H"
#include <AMReX_Algorithm.H>
#include <AMReX_BLassert.H>
#include <AMReX_ParmParse.... | 30.138889 | 102 | 0.639324 | Yin-YinjianZhao |
0ebe27e4d9ee13dd85d4f0332faf6dce9012d6ca | 654 | hpp | C++ | Edge.hpp | opendatasurgeon/DijkstrasShortestPathAlgorithm_cpp | b6cadd89c50762b61fdd868f1ba17bce785400f8 | [
"CC0-1.0"
] | null | null | null | Edge.hpp | opendatasurgeon/DijkstrasShortestPathAlgorithm_cpp | b6cadd89c50762b61fdd868f1ba17bce785400f8 | [
"CC0-1.0"
] | null | null | null | Edge.hpp | opendatasurgeon/DijkstrasShortestPathAlgorithm_cpp | b6cadd89c50762b61fdd868f1ba17bce785400f8 | [
"CC0-1.0"
] | null | null | null | /*
Author: Mihir Patel
Purpose: Following is a header+source file for the Edge. It keeps the graph's
edges, edge's weight.
*/
#ifndef EDGE_HPP
#define EDGE_HPP
#include <string>
class Edge {
private:
std::string edge_a; /*Current edge*/
std::string edge_b; /*adjacent edge*/
unsigned long weigh... | 23.357143 | 79 | 0.652905 | opendatasurgeon |
b1c1cea7701da88498bfeb31236e530ee95a8106 | 5,527 | cpp | C++ | src/client/commands/CmdImportCash.cpp | rfree2/opentxs | 3f61dd0abe2e35b7bc52008517873174b2f9dfa7 | [
"MIT"
] | null | null | null | src/client/commands/CmdImportCash.cpp | rfree2/opentxs | 3f61dd0abe2e35b7bc52008517873174b2f9dfa7 | [
"MIT"
] | null | null | null | src/client/commands/CmdImportCash.cpp | rfree2/opentxs | 3f61dd0abe2e35b7bc52008517873174b2f9dfa7 | [
"MIT"
] | null | null | null | /************************************************************
*
* OPEN TRANSACTIONS
*
* Financial Cryptography and Digital Cash
* Library, Protocol, API, Server, CLI, GUI
*
* -- Anonymous Numbered Accounts.
* -- Untraceable Digital Cash.
* -- Triple-Signed Receipts... | 33.907975 | 80 | 0.590194 | rfree2 |
b1c3e7a7beb28365fe2bd951c652708162801550 | 229 | cpp | C++ | src/_281A.cpp | Big-Totoro/codeforces | ccead5e7bbb94c635bb6d6132de2aee26acb9e70 | [
"MIT"
] | null | null | null | src/_281A.cpp | Big-Totoro/codeforces | ccead5e7bbb94c635bb6d6132de2aee26acb9e70 | [
"MIT"
] | null | null | null | src/_281A.cpp | Big-Totoro/codeforces | ccead5e7bbb94c635bb6d6132de2aee26acb9e70 | [
"MIT"
] | null | null | null | //
// https://codeforces.com/problemset/problem/281/A
//
#include <iostream>
using namespace std;
int main() {
string input;
cin >> input;
input[0] = toupper(input[0]);
cout << input << "\n";
return 0;
} | 12.722222 | 50 | 0.580786 | Big-Totoro |
b1c43c9897709861b945fb5562f85a413e3363a1 | 9,007 | cpp | C++ | source/libraries/core.cpp | Ragora/TribalScript | b7f7cc6b311cee1422f1c7dffd58c85c4f29cc1d | [
"MIT"
] | null | null | null | source/libraries/core.cpp | Ragora/TribalScript | b7f7cc6b311cee1422f1c7dffd58c85c4f29cc1d | [
"MIT"
] | 1 | 2021-07-24T16:29:11.000Z | 2021-07-26T20:00:17.000Z | source/libraries/core.cpp | Ragora/TribalScript | b7f7cc6b311cee1422f1c7dffd58c85c4f29cc1d | [
"MIT"
] | null | null | null | /**
* Copyright 2021 Robert MacGregor
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge, publish,... | 45.720812 | 207 | 0.709115 | Ragora |
b1c49b3518b299032d8624592aa2ed62f4da5e76 | 4,602 | cc | C++ | code/render/animation/animeventserver.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 67 | 2015-03-30T19:56:16.000Z | 2022-03-11T13:52:17.000Z | code/render/animation/animeventserver.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 5 | 2015-04-15T17:17:33.000Z | 2016-02-11T00:40:17.000Z | code/render/animation/animeventserver.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 34 | 2015-03-30T15:08:00.000Z | 2021-09-23T05:55:10.000Z | //------------------------------------------------------------------------------
// audioserver.cc
// (C) 2008 Radon Labs GmbH
// (C) 2013-2016 Individual contributors, see AUTHORS file
//------------------------------------------------------------------------------
#include "stdneb.h"
#include "animation/animevents... | 26 | 149 | 0.515428 | gscept |
b1c697629cedc32b9ef2615ab89fb38bfa0c254c | 55 | cpp | C++ | test/autogen/smp@utility@is_specialization_of.cpp | jonathanpoelen/jln.mp | e5f05fc4467f14ac0047e3bdc75a04076e689985 | [
"MIT"
] | 9 | 2020-07-04T16:46:13.000Z | 2022-01-09T21:59:31.000Z | test/autogen/smp@utility@is_specialization_of.cpp | jonathanpoelen/jln.mp | e5f05fc4467f14ac0047e3bdc75a04076e689985 | [
"MIT"
] | null | null | null | test/autogen/smp@utility@is_specialization_of.cpp | jonathanpoelen/jln.mp | e5f05fc4467f14ac0047e3bdc75a04076e689985 | [
"MIT"
] | 1 | 2021-05-23T13:37:40.000Z | 2021-05-23T13:37:40.000Z | #include "jln/mp/smp/utility/is_specialization_of.hpp"
| 27.5 | 54 | 0.818182 | jonathanpoelen |
b1c6e9e0d599ff828661c22f8b2f9ee8329bde2a | 56,223 | inl | C++ | DrvApp/StlInclude/afxwin1.inl | jackqk/mystudy | 84313c1eaed7351d37b609288d1d32bf3b808859 | [
"Apache-2.0"
] | 15 | 2017-05-27T16:02:51.000Z | 2018-11-30T07:02:22.000Z | DrvApp/StlInclude/afxwin1.inl | jackqk/mystudy | 84313c1eaed7351d37b609288d1d32bf3b808859 | [
"Apache-2.0"
] | null | null | null | DrvApp/StlInclude/afxwin1.inl | jackqk/mystudy | 84313c1eaed7351d37b609288d1d32bf3b808859 | [
"Apache-2.0"
] | 11 | 2017-11-10T01:28:59.000Z | 2018-11-15T11:59:33.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... | 56.448795 | 169 | 0.754318 | jackqk |
b1c8689301f4fa2d10a66fd7f998595402734ebc | 12,882 | cpp | C++ | src/d3d12/d3d12-constants.cpp | Impulse21/nvrhi | f272a6595dd0768a8e3419f0075f0edf40d00391 | [
"MIT"
] | null | null | null | src/d3d12/d3d12-constants.cpp | Impulse21/nvrhi | f272a6595dd0768a8e3419f0075f0edf40d00391 | [
"MIT"
] | null | null | null | src/d3d12/d3d12-constants.cpp | Impulse21/nvrhi | f272a6595dd0768a8e3419f0075f0edf40d00391 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2014-2021, NVIDIA CORPORATION. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use,... | 41.288462 | 165 | 0.680562 | Impulse21 |
b1c8d4cc5fec8a3d1323059870a603e5b4f1d80a | 57 | cpp | C++ | libboost-format/tests/basics/driver.cpp | build2-packaging/boost | 203d505dd3ba04ea50785bc8b247a295db5fc718 | [
"BSL-1.0"
] | 4 | 2021-02-23T11:24:33.000Z | 2021-09-11T20:10:46.000Z | libboost-format/tests/basics/driver.cpp | build2-packaging/boost | 203d505dd3ba04ea50785bc8b247a295db5fc718 | [
"BSL-1.0"
] | null | null | null | libboost-format/tests/basics/driver.cpp | build2-packaging/boost | 203d505dd3ba04ea50785bc8b247a295db5fc718 | [
"BSL-1.0"
] | null | null | null | #include <boost/format.hpp>
int
main ()
{
return 0;
}
| 7.125 | 27 | 0.614035 | build2-packaging |
b1c970f0df9ed60d27c8752b36c0906ea73620f6 | 1,324 | cpp | C++ | Serna_Esteban.assignment1.09/event.cpp | Este-iv/Rouge_like_game | 90cd68608276c593f2c2f5ab369ee149fc9fc6ec | [
"MIT"
] | null | null | null | Serna_Esteban.assignment1.09/event.cpp | Este-iv/Rouge_like_game | 90cd68608276c593f2c2f5ab369ee149fc9fc6ec | [
"MIT"
] | null | null | null | Serna_Esteban.assignment1.09/event.cpp | Este-iv/Rouge_like_game | 90cd68608276c593f2c2f5ab369ee149fc9fc6ec | [
"MIT"
] | null | null | null | #include "event.h"
#include "character.h"
static uint32_t next_event_number(void)
{
static uint32_t sequence_number;
/* We need to special case the first PC insert, because monsters go *
* into the queue before the PC. Pre-increment ensures that this *
* starts at 1, so we can use a zero there. ... | 21.354839 | 73 | 0.621601 | Este-iv |
b1caa1215da2e50636d8c3092c2ce18937cc0cf0 | 9,202 | cc | C++ | tests/core/test_core_interaction_control_manager.cc | nugulinux/nugu-linux | c166d61b2037247d4574b7f791c31ba79ceb575e | [
"Apache-2.0"
] | null | null | null | tests/core/test_core_interaction_control_manager.cc | nugulinux/nugu-linux | c166d61b2037247d4574b7f791c31ba79ceb575e | [
"Apache-2.0"
] | null | null | null | tests/core/test_core_interaction_control_manager.cc | nugulinux/nugu-linux | c166d61b2037247d4574b7f791c31ba79ceb575e | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2019 SK Telecom Co., Ltd. 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 requir... | 41.264574 | 122 | 0.749185 | nugulinux |
b1cd6b21651ba38c4d8b89ef4b389a3d08f35c33 | 313 | hxx | C++ | type/is.hxx | blake-sheridan/include-b | 16c1712e38f5bc423565e97de6b07eeca6a9223d | [
"MIT"
] | null | null | null | type/is.hxx | blake-sheridan/include-b | 16c1712e38f5bc423565e97de6b07eeca6a9223d | [
"MIT"
] | null | null | null | type/is.hxx | blake-sheridan/include-b | 16c1712e38f5bc423565e97de6b07eeca6a9223d | [
"MIT"
] | null | null | null | #ifndef b_type_is_hxx_
#define b_type_is_hxx_
namespace b {
namespace type {
/*
* Variable template which is true iff `X` is `Y`.
*/
template <typename X, typename Y>
static constexpr
bool
is = false;
template <typename X>
static constexpr
bool
is<X, X> = true;
} // namespace type
} // namespace b
#endif
| 13.041667 | 50 | 0.70607 | blake-sheridan |
b1d7b0af58d668851ca7b8410165a609920ef712 | 3,816 | cpp | C++ | AnalysisExample/TaskA.cpp | MagdaSkurzok/PET_Analysis | 1527d2658d574b494f9f9eb234166e6e1f220d4e | [
"Apache-2.0"
] | null | null | null | AnalysisExample/TaskA.cpp | MagdaSkurzok/PET_Analysis | 1527d2658d574b494f9f9eb234166e6e1f220d4e | [
"Apache-2.0"
] | null | null | null | AnalysisExample/TaskA.cpp | MagdaSkurzok/PET_Analysis | 1527d2658d574b494f9f9eb234166e6e1f220d4e | [
"Apache-2.0"
] | null | null | null | /**
* @copyright Copyright 2016 The J-PET Framework Authors. 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 find a copy of the License in the LICENCE file.
*
* Unless required by applicable law... | 30.774194 | 108 | 0.698113 | MagdaSkurzok |
b1d96d08ebf65c111702e0a56dfc40d9745fcc38 | 244 | hpp | C++ | src/cmd/command.hpp | sop/cygregext | 81a8bf7a18cf71729de221b0f1dc0d64e0803d88 | [
"MIT"
] | 4 | 2017-05-04T17:26:23.000Z | 2020-05-13T16:47:55.000Z | src/cmd/command.hpp | sop/cygregext | 81a8bf7a18cf71729de221b0f1dc0d64e0803d88 | [
"MIT"
] | 2 | 2019-01-07T21:12:34.000Z | 2021-09-08T05:53:25.000Z | src/cmd/command.hpp | sop/cygextreg | 81a8bf7a18cf71729de221b0f1dc0d64e0803d88 | [
"MIT"
] | null | null | null | #ifndef __COMMAND_HPP__
#define __COMMAND_HPP__
namespace cygextreg {
class ICommand
{
public:
virtual ~ICommand() {
}
/**
* Run the command and return exit code.
*
* @return int Exit code
*/
virtual int run() = 0;
};
}
#endif
| 10.608696 | 41 | 0.655738 | sop |
b1dca098f5e0c28be34296c78398d13ceea7025c | 1,414 | hpp | C++ | src/forms/ModulePropertiesDialog.hpp | stoneface86/gbsynth | b585378227522e02cc76f29e7b4b4be4b0568689 | [
"MIT"
] | null | null | null | src/forms/ModulePropertiesDialog.hpp | stoneface86/gbsynth | b585378227522e02cc76f29e7b4b4be4b0568689 | [
"MIT"
] | null | null | null | src/forms/ModulePropertiesDialog.hpp | stoneface86/gbsynth | b585378227522e02cc76f29e7b4b4be4b0568689 | [
"MIT"
] | null | null | null |
#pragma once
#include "core/Module.hpp"
#include "model/SongListModel.hpp"
#include <QButtonGroup>
#include <QDialog>
#include <QDialogButtonBox>
#include <QLineEdit>
#include <QListView>
#include <QPushButton>
#include <QSpinBox>
class ModulePropertiesDialog : public QDialog {
Q_OBJECT
public:
//
/... | 16.635294 | 98 | 0.686704 | stoneface86 |
b1dd88e9498ab2162abaac6f7ebf2e996ea6a1fa | 71 | inl | C++ | serialization/serialize_post.inl | antonthefirst/am_core | b4ec7a70252105c07e6e58b2978d7dd395cee604 | [
"Unlicense"
] | null | null | null | serialization/serialize_post.inl | antonthefirst/am_core | b4ec7a70252105c07e6e58b2978d7dd395cee604 | [
"Unlicense"
] | null | null | null | serialization/serialize_post.inl | antonthefirst/am_core | b4ec7a70252105c07e6e58b2978d7dd395cee604 | [
"Unlicense"
] | null | null | null | #undef STRUCT
#undef VAR
#undef BUNCH
#undef BIN
#undef END
#undef POD
| 10.142857 | 13 | 0.746479 | antonthefirst |
b1e6cc23a1928c0a5caa04e6ee9f6d1a9b4414ec | 811 | hpp | C++ | Sources/etwprof/Utility/ResponseFile.hpp | Donpedro13/etwprof | a9db371ef556d564529c5112c231157d3789292b | [
"MIT"
] | 38 | 2018-06-11T19:09:16.000Z | 2022-03-17T04:15:15.000Z | Sources/etwprof/Utility/ResponseFile.hpp | killvxk/etwprof | 37ca044b5dd6be39dbd77ba7653395aa95768692 | [
"MIT"
] | 12 | 2018-06-12T20:24:05.000Z | 2021-07-31T18:28:48.000Z | Sources/etwprof/Utility/ResponseFile.hpp | killvxk/etwprof | 37ca044b5dd6be39dbd77ba7653395aa95768692 | [
"MIT"
] | 5 | 2019-02-23T04:11:03.000Z | 2022-03-17T04:15:18.000Z | #ifndef ETWP_RESPONSE_FILE_HPP
#define ETWP_RESPONSE_FILE_HPP
#include <memory>
#include <string>
#include <vector>
#include "OS/FileSystem/Utility.hpp"
#include "Utility/Exception.hpp"
#include "Utility/Macros.hpp"
namespace ETWP {
namespace Impl { class ResponseFileImpl; }
class ResponseFile final {
public:
... | 20.794872 | 84 | 0.725031 | Donpedro13 |
b1ead3c9907f402c726df66e655976f7e3c6644e | 1,534 | cc | C++ | food-finder/supplier-client.cc | nholbrook/opentelemetry-starter-project | 5a2303f71b1e8eb19cc7d9bdd5bfe7f159339a38 | [
"Apache-2.0"
] | null | null | null | food-finder/supplier-client.cc | nholbrook/opentelemetry-starter-project | 5a2303f71b1e8eb19cc7d9bdd5bfe7f159339a38 | [
"Apache-2.0"
] | null | null | null | food-finder/supplier-client.cc | nholbrook/opentelemetry-starter-project | 5a2303f71b1e8eb19cc7d9bdd5bfe7f159339a38 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <memory>
#include <string>
#include <cfloat>
#include "food-finder/supplier-client.h"
#include <grpcpp/grpcpp.h>
#include <grpcpp/ext/proto_server_reflection_plugin.h>
#include "opencensus/trace/span.h"
#ifdef BAZEL_BUILD
#include "proto/foodfinder.grpc.pb.h"
#else
#include "foodfinder.... | 25.147541 | 78 | 0.715124 | nholbrook |
b1eae5878a239f42de7b3f32cda17c5bf0627636 | 432 | cpp | C++ | AuthenticationServer/Holder.cpp | zbeckerman/attac | ca07aeb7fbb14e2aea8d19aeb0b044bbc27721e7 | [
"Apache-2.0"
] | 1 | 2019-05-01T23:43:55.000Z | 2019-05-01T23:43:55.000Z | JumpgateServer/Holder.cpp | zbeckerman/attac | ca07aeb7fbb14e2aea8d19aeb0b044bbc27721e7 | [
"Apache-2.0"
] | null | null | null | JumpgateServer/Holder.cpp | zbeckerman/attac | ca07aeb7fbb14e2aea8d19aeb0b044bbc27721e7 | [
"Apache-2.0"
] | null | null | null | // Holder.cpp: implementation of the CHolder class.
//
#include "stdafx.h"
#include "Holder.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
CHolder::CHolder()
{
}
CHolder::~CHolder()
{
}
//////////////////////////////////////////////////////////////////////
SO... | 14.896552 | 70 | 0.465278 | zbeckerman |
b1f019b6e19e7f95e852b3d7ebeba5e08ea0f0dd | 2,804 | cpp | C++ | src/affinity.cpp | f-tischler/affinity | 48856696b5e89c676a04d46b25b6694e8655853c | [
"Apache-2.0"
] | null | null | null | src/affinity.cpp | f-tischler/affinity | 48856696b5e89c676a04d46b25b6694e8655853c | [
"Apache-2.0"
] | null | null | null | src/affinity.cpp | f-tischler/affinity | 48856696b5e89c676a04d46b25b6694e8655853c | [
"Apache-2.0"
] | null | null | null | #include <thread>
#include <cmath>
#include <cstdint>
#include <cstddef>
#include <cstring>
#include <cstdlib>
#include <iostream>
#include <cstdio>
#ifdef __linux
#include <unistd.h>
#include <sys/sysinfo.h>
#include <sys/types.h>
#endif
#include <errno.h>
#include <cassert>
#include "affinity.hpp"
#ifdef __linux
/*... | 23.762712 | 86 | 0.620185 | f-tischler |
b1f6083b7e59bd5bcf5a26538fbcca41cfe877d2 | 22,307 | cpp | C++ | Source/AllProjects/Drivers/GenProto/Server/GenProtoS_RuntimeExpression.cpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 51 | 2020-12-26T18:17:16.000Z | 2022-03-15T04:29:35.000Z | Source/AllProjects/Drivers/GenProto/Server/GenProtoS_RuntimeExpression.cpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | null | null | null | Source/AllProjects/Drivers/GenProto/Server/GenProtoS_RuntimeExpression.cpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 4 | 2020-12-28T07:24:39.000Z | 2021-12-29T12:09:37.000Z | //
// FILE NAME: GenProtoS_RuntimeExpression.cpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 11/24/2003
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2020
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https... | 31.286115 | 86 | 0.530506 | MarkStega |
b1f70752b9c87ca72b1e2761d8384cd75ec7dde1 | 5,747 | cpp | C++ | src/vlGraphics/Light.cpp | pasenau/VisualizationLibrary | 2fcf1808475aebd4862f40377754be62a7f77a52 | [
"BSD-2-Clause"
] | 1 | 2017-06-29T18:25:11.000Z | 2017-06-29T18:25:11.000Z | src/vlGraphics/Light.cpp | pasenau/VisualizationLibrary | 2fcf1808475aebd4862f40377754be62a7f77a52 | [
"BSD-2-Clause"
] | null | null | null | src/vlGraphics/Light.cpp | pasenau/VisualizationLibrary | 2fcf1808475aebd4862f40377754be62a7f77a52 | [
"BSD-2-Clause"
] | 1 | 2021-01-01T10:43:33.000Z | 2021-01-01T10:43:33.000Z | /**************************************************************************************/
/* */
/* Visualization Library */
/* http://visualizationlibrary.org ... | 44.550388 | 89 | 0.478163 | pasenau |
b1f8ec6ab4c7de8b6338e7c29e469fb4488766cf | 2,341 | hpp | C++ | srcs/common/itempropertyassociation.hpp | Reflectioner/heif | bdac2fc9c66d8c1e8994eaf81f1a5db116b863ab | [
"BSD-3-Clause"
] | null | null | null | srcs/common/itempropertyassociation.hpp | Reflectioner/heif | bdac2fc9c66d8c1e8994eaf81f1a5db116b863ab | [
"BSD-3-Clause"
] | null | null | null | srcs/common/itempropertyassociation.hpp | Reflectioner/heif | bdac2fc9c66d8c1e8994eaf81f1a5db116b863ab | [
"BSD-3-Clause"
] | null | null | null | /* This file is part of Nokia HEIF library
*
* Copyright (c) 2015-2020 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
*
* Contact: heif@nokia.com
*
* This software, including documentation, is protected by copyright controlled by Nokia Corporation and/ or its
* subsidiaries. All rights are r... | 35.469697 | 120 | 0.715933 | Reflectioner |
b1fb2348db940335ecbfd3c5cc2777bc11a756fd | 909 | cpp | C++ | pair/myPair.cpp | kamal2git/DSA-Practice-Questions | ae2f4e83d0166d046e617e1159c0a55f91591ef0 | [
"Apache-2.0"
] | null | null | null | pair/myPair.cpp | kamal2git/DSA-Practice-Questions | ae2f4e83d0166d046e617e1159c0a55f91591ef0 | [
"Apache-2.0"
] | null | null | null | pair/myPair.cpp | kamal2git/DSA-Practice-Questions | ae2f4e83d0166d046e617e1159c0a55f91591ef0 | [
"Apache-2.0"
] | null | null | null | #include<iostream>
using namespace std;
template <typename T,typename V>
class myPair{
T x;
V y;
public:
void setX(T x){
this->x=x;
}
void setY(V y){
this->y=y;
}
T getX(){
return x;
}
V getY(){
return y;
}
void print(myPair<int,int> p){
... | 20.2 | 67 | 0.49725 | kamal2git |
b1fbfe7a5ff366bb7ccec0eb25a89dfad5339add | 3,315 | hpp | C++ | Qv2ray/src/Qv2rayApplication.hpp | DWXXX/cnRepo | 3e54581699e4bf4d0d2d8a7c85fe340ebbbb8eef | [
"Apache-2.0"
] | null | null | null | Qv2ray/src/Qv2rayApplication.hpp | DWXXX/cnRepo | 3e54581699e4bf4d0d2d8a7c85fe340ebbbb8eef | [
"Apache-2.0"
] | null | null | null | Qv2ray/src/Qv2rayApplication.hpp | DWXXX/cnRepo | 3e54581699e4bf4d0d2d8a7c85fe340ebbbb8eef | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "core/handler/ConfigHandler.hpp"
#include "core/handler/RouteHandler.hpp"
#include "libs/QJsonStruct/QJsonStruct.hpp"
#include <QSystemTrayIcon>
#ifdef Q_OS_ANDROID
#include <QApplication>
#else
#include <SingleApplication>
#endif
#ifdef Q_OS_ANDROID
#define QV2RAY_NO_SINGLEAPPLICAT... | 26.102362 | 127 | 0.647059 | DWXXX |
b1fdb59b0eed2154e54ce32a3ea44706c7c97c53 | 911 | hpp | C++ | src/read_mapper/mapper/align_query_to_reference.hpp | seqan/learning-resources | e6447edca3a349cb350b73b31dbed9e3215447fc | [
"CC0-1.0",
"CC-BY-4.0"
] | 7 | 2019-08-21T11:38:01.000Z | 2021-01-28T06:41:44.000Z | src/read_mapper/mapper/align_query_to_reference.hpp | seqan/learning-resources | e6447edca3a349cb350b73b31dbed9e3215447fc | [
"CC0-1.0",
"CC-BY-4.0"
] | 7 | 2019-09-03T10:32:03.000Z | 2021-09-01T10:10:56.000Z | src/read_mapper/mapper/align_query_to_reference.hpp | seqan/learning-resources | e6447edca3a349cb350b73b31dbed9e3215447fc | [
"CC0-1.0",
"CC-BY-4.0"
] | 5 | 2019-08-21T11:39:30.000Z | 2020-07-12T14:31:33.000Z |
#pragma once
#include <seqan3/alignment/matrix/detail/aligned_sequence_builder.hpp>
#include <seqan3/alphabet/nucleotide/dna4.hpp>
namespace read_mapper::mapper
{
using alignment_t = typename seqan3::detail::make_pairwise_alignment_type<std::span<seqan3::dna4 const> const,
... | 39.608696 | 117 | 0.635565 | seqan |
b1feba8a5885bf5c11508e8c267a9d2c32d45c8b | 4,338 | cpp | C++ | dali-toolkit/internal/transition-effects/cube-transition-fold-effect-impl.cpp | zyndor/dali-toolkit | 9e3fd659c4d25706ab65345bc7c562ac27248325 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | dali-toolkit/internal/transition-effects/cube-transition-fold-effect-impl.cpp | zyndor/dali-toolkit | 9e3fd659c4d25706ab65345bc7c562ac27248325 | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2020-10-19T15:47:43.000Z | 2020-10-19T15:47:43.000Z | dali-toolkit/internal/transition-effects/cube-transition-fold-effect-impl.cpp | zyndor/dali-toolkit | 9e3fd659c4d25706ab65345bc7c562ac27248325 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2014 Samsung Electronics Co., Ltd.
*
* 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... | 29.310811 | 159 | 0.665975 | zyndor |
b1ffe636f815f8a5fb24caac853eac92983f0438 | 666 | cc | C++ | lib/asan/lit_tests/TestCases/Linux/syscalls.cc | darnic10/motocompiler | 7cba5f1d950495b02bc8da53d27bdbb1b0d4f117 | [
"MIT"
] | 2 | 2015-02-22T14:05:30.000Z | 2016-06-10T02:51:15.000Z | lib/asan/lit_tests/TestCases/Linux/syscalls.cc | darnic10/motocompiler | 7cba5f1d950495b02bc8da53d27bdbb1b0d4f117 | [
"MIT"
] | null | null | null | lib/asan/lit_tests/TestCases/Linux/syscalls.cc | darnic10/motocompiler | 7cba5f1d950495b02bc8da53d27bdbb1b0d4f117 | [
"MIT"
] | 3 | 2017-07-31T18:26:06.000Z | 2020-02-29T06:06:26.000Z | // RUN: %clangxx_asan -O0 %s -o %t && not %t 2>&1 | FileCheck %s
// RUN: %clangxx_asan -O3 %s -o %t && not %t 2>&1 | FileCheck %s
#include <assert.h>
#include <errno.h>
#include <glob.h>
#include <stdio.h>
#include <string.h>
#include <sanitizer/linux_syscall_hooks.h>
/* Test the presence of __sanitizer_syscall_ in ... | 28.956522 | 77 | 0.657658 | darnic10 |
5901717c63546ae5afec50f3c64f3199cde8c715 | 134 | cpp | C++ | src/classwork/04_assign/loops.cpp | acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-Hannah-Kim-acc | 6df68153283d7c974bf3fb3f174fd8185fa75372 | [
"MIT"
] | null | null | null | src/classwork/04_assign/loops.cpp | acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-Hannah-Kim-acc | 6df68153283d7c974bf3fb3f174fd8185fa75372 | [
"MIT"
] | null | null | null | src/classwork/04_assign/loops.cpp | acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-Hannah-Kim-acc | 6df68153283d7c974bf3fb3f174fd8185fa75372 | [
"MIT"
] | null | null | null | //cpp
#include "loops.h"
int factorial(int num)
{
int fac = 1, i;
for (i=1;i<=num;i++)
{
fac = fac * i;
}
return fac;
} | 11.166667 | 22 | 0.507463 | acc-cosc-1337-spring-2021 |
59039b979d6453c36c53b2459a8b1da67ea5f77a | 5,585 | cpp | C++ | SDK/PUBG_BP_FlaregunUiWidget_functions.cpp | realrespecter/PUBG-FULL-SDK | 5e2b0f103c74c95d2329c4c9dfbfab48aa0da737 | [
"MIT"
] | 7 | 2019-03-06T11:04:52.000Z | 2019-07-10T20:00:51.000Z | SDK/PUBG_BP_FlaregunUiWidget_functions.cpp | realrespecter/PUBG-FULL-SDK | 5e2b0f103c74c95d2329c4c9dfbfab48aa0da737 | [
"MIT"
] | null | null | null | SDK/PUBG_BP_FlaregunUiWidget_functions.cpp | realrespecter/PUBG-FULL-SDK | 5e2b0f103c74c95d2329c4c9dfbfab48aa0da737 | [
"MIT"
] | 10 | 2019-03-06T11:53:46.000Z | 2021-02-18T14:01:11.000Z | // PUBG FULL SDK - Generated By Respecter (5.3.4.11 [06/03/2019]) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "PUBG_BP_FlaregunUiWidget_parameters.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//----------------------------------------... | 31.553672 | 140 | 0.689705 | realrespecter |
5907fe3a335f678a2d86107a1b46cfc6fb2ee8e7 | 3,474 | cpp | C++ | MyApplication/Middlewares/ST/touchgfx/framework/source/touchgfx/widgets/AnimatedImage.cpp | rshane960/TouchGFX | 1f1465f1aa1215d52264ae0199dafa821939de64 | [
"MIT"
] | null | null | null | MyApplication/Middlewares/ST/touchgfx/framework/source/touchgfx/widgets/AnimatedImage.cpp | rshane960/TouchGFX | 1f1465f1aa1215d52264ae0199dafa821939de64 | [
"MIT"
] | null | null | null | MyApplication/Middlewares/ST/touchgfx/framework/source/touchgfx/widgets/AnimatedImage.cpp | rshane960/TouchGFX | 1f1465f1aa1215d52264ae0199dafa821939de64 | [
"MIT"
] | null | null | null | /******************************************************************************
* Copyright (c) 2018(-2021) STMicroelectronics.
* All rights reserved.
*
* This file is part of the TouchGFX 4.18.1 distribution.
*
* This software is licensed under terms that can be found in the LICENSE file in
* the root directory of thi... | 22.705882 | 109 | 0.553541 | rshane960 |
590e4e912367f4e3eb59f72fc24f122c1539b204 | 13,487 | cc | C++ | tensorflow/core/kernels/queue_base.cc | ryan-collins-forks/tensorflow | 080a1f6c64976b11437d2dc4ef4178e4ca1205b7 | [
"Apache-2.0"
] | null | null | null | tensorflow/core/kernels/queue_base.cc | ryan-collins-forks/tensorflow | 080a1f6c64976b11437d2dc4ef4178e4ca1205b7 | [
"Apache-2.0"
] | null | null | null | tensorflow/core/kernels/queue_base.cc | ryan-collins-forks/tensorflow | 080a1f6c64976b11437d2dc4ef4178e4ca1205b7 | [
"Apache-2.0"
] | 1 | 2019-11-15T21:19:42.000Z | 2019-11-15T21:19:42.000Z | /* Copyright 2015 Google 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 required by applicable law or agreed to in ... | 34.670951 | 80 | 0.61259 | ryan-collins-forks |
590ed4ca49028a484fcdebe5965235d7a9b12bff | 9,585 | cpp | C++ | lib/Transforms/BreakConstantGEPs/BreakConstantGEPs.cpp | seec-team/seec | 4b92456011e86b70f9d88833a95c1f655a21cf1a | [
"MIT"
] | 7 | 2018-06-25T12:06:13.000Z | 2022-01-18T09:20:13.000Z | lib/Transforms/BreakConstantGEPs/BreakConstantGEPs.cpp | seec-team/seec | 4b92456011e86b70f9d88833a95c1f655a21cf1a | [
"MIT"
] | 20 | 2016-12-01T23:46:12.000Z | 2019-08-11T02:41:04.000Z | lib/Transforms/BreakConstantGEPs/BreakConstantGEPs.cpp | seec-team/seec | 4b92456011e86b70f9d88833a95c1f655a21cf1a | [
"MIT"
] | 1 | 2020-10-19T03:20:05.000Z | 2020-10-19T03:20:05.000Z | //===- BreakConstantGEPs.cpp - Change constant GEPs into GEP instructions - --//
//
// The SAFECode Compiler
//
// This file was developed by the LLVM research group and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===-------------... | 30.819936 | 80 | 0.59614 | seec-team |
590f37657e8ada6e3fe917bbe0be2a57e9a2e329 | 166 | hpp | C++ | addons/uh60_sfmplus/script_component.hpp | ZHANGTIANYAO1/H-60 | 4c6764f74190dbe7d81ddeae746cf78d8b7dff92 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | addons/uh60_sfmplus/script_component.hpp | ZHANGTIANYAO1/H-60 | 4c6764f74190dbe7d81ddeae746cf78d8b7dff92 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | addons/uh60_sfmplus/script_component.hpp | ZHANGTIANYAO1/H-60 | 4c6764f74190dbe7d81ddeae746cf78d8b7dff92 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | #define COMPONENT uh60_sfmplus
#define COMPONENT_BEAUTIFIED UH60_SFMPLUS
#include "\z\vtx\addons\main\script_mod.hpp"
#include "\z\vtx\addons\main\script_macros.hpp" | 33.2 | 47 | 0.819277 | ZHANGTIANYAO1 |
591033ee343329a6afb928d983ea1afe9fb1b32d | 119 | cpp | C++ | ThreadsFuturePromise/source/SensorData.cpp | DennyMarx/modern-cpp-samples | d44d46495143795f5a8ddd61a1c21950e76a3ef2 | [
"MIT"
] | null | null | null | ThreadsFuturePromise/source/SensorData.cpp | DennyMarx/modern-cpp-samples | d44d46495143795f5a8ddd61a1c21950e76a3ef2 | [
"MIT"
] | null | null | null | ThreadsFuturePromise/source/SensorData.cpp | DennyMarx/modern-cpp-samples | d44d46495143795f5a8ddd61a1c21950e76a3ef2 | [
"MIT"
] | null | null | null | #include "SensorData.h"
SensorData::SensorData()
: sensorValue(0)
{
}
SensorData::~SensorData()
{
}
| 8.5 | 26 | 0.588235 | DennyMarx |
5914655ca4149f1d58c977418edc5e61bafc101f | 16,612 | cpp | C++ | lib/src/btv_l1_gpu.cpp | raulnguyen/SuperResolution | 59a783cce8032f1eeb7e6c95c95902f1b5c7c673 | [
"BSD-3-Clause"
] | 16 | 2015-03-12T10:55:27.000Z | 2022-01-15T11:31:12.000Z | lib/src/btv_l1_gpu.cpp | raulnguyen/SuperResolution | 59a783cce8032f1eeb7e6c95c95902f1b5c7c673 | [
"BSD-3-Clause"
] | null | null | null | lib/src/btv_l1_gpu.cpp | raulnguyen/SuperResolution | 59a783cce8032f1eeb7e6c95c95902f1b5c7c673 | [
"BSD-3-Clause"
] | 4 | 2015-03-16T10:34:47.000Z | 2017-12-13T13:28:28.000Z | // Copyright (c) 2012, Vladislav Vinogradov (jet47)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
// * Redistributions of source code must retain the above copyright
// notice, thi... | 34.040984 | 149 | 0.613894 | raulnguyen |
59155c01940c6f8573a8c37037c1355552bf2138 | 1,696 | cpp | C++ | include/util/FrameBuffer.cpp | hvidal/GameEngine3D | 1794ad891d2200260be935283645a03af3ebcfcc | [
"MIT"
] | 6 | 2020-07-03T21:14:56.000Z | 2021-11-11T09:37:40.000Z | include/util/FrameBuffer.cpp | hvidal/GameEngine3D | 1794ad891d2200260be935283645a03af3ebcfcc | [
"MIT"
] | null | null | null | include/util/FrameBuffer.cpp | hvidal/GameEngine3D | 1794ad891d2200260be935283645a03af3ebcfcc | [
"MIT"
] | 2 | 2020-08-15T22:37:21.000Z | 2021-01-17T11:31:27.000Z | #include "FrameBuffer.h"
FrameBuffer::FrameBuffer() {
glGenFramebuffers(1, &mFboId);
glBindFramebuffer(GL_FRAMEBUFFER, mFboId);
}
FrameBuffer::~FrameBuffer() {
Log::debug("Deleting FrameBuffer");
glDeleteFramebuffers(1, &mFboId);
}
void FrameBuffer::check() const {
GLenum status = glCheckFramebufferStatus(GL... | 29.754386 | 104 | 0.774764 | hvidal |
5915b7a8aadfec38c1388177d726d6a33d612349 | 3,152 | cc | C++ | lite/kernels/npu/bridges/pool_op.cc | StarryRain/Paddle-Lite | f9930fc191f5289ad963fbd8b21ae0d711418fcd | [
"Apache-2.0"
] | null | null | null | lite/kernels/npu/bridges/pool_op.cc | StarryRain/Paddle-Lite | f9930fc191f5289ad963fbd8b21ae0d711418fcd | [
"Apache-2.0"
] | null | null | null | lite/kernels/npu/bridges/pool_op.cc | StarryRain/Paddle-Lite | f9930fc191f5289ad963fbd8b21ae0d711418fcd | [
"Apache-2.0"
] | 1 | 2020-02-13T10:45:37.000Z | 2020-02-13T10:45:37.000Z | // Copyright (c) 2019 PaddlePaddle Authors. 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 required... | 37.082353 | 80 | 0.704949 | StarryRain |
5916c712411bb69bb0e0d916c014633aa54360f2 | 897 | cpp | C++ | win64/Win64_Renderer.cpp | Fjellstedt/dk30 | b9fea347620fafe2d9994b4be6e20be0b2cee6f2 | [
"MIT"
] | null | null | null | win64/Win64_Renderer.cpp | Fjellstedt/dk30 | b9fea347620fafe2d9994b4be6e20be0b2cee6f2 | [
"MIT"
] | null | null | null | win64/Win64_Renderer.cpp | Fjellstedt/dk30 | b9fea347620fafe2d9994b4be6e20be0b2cee6f2 | [
"MIT"
] | null | null | null | /* ========================================================================
$Creator: Patrik Fjellstedt $
======================================================================== */
#include "w_pch.h"
#include "Win64_Renderer.h"
namespace Cryptic
{
Win64_Renderer::Win64_Renderer()
{
}
Win64_Rende... | 24.243243 | 78 | 0.526198 | Fjellstedt |
59179e81690629886ccc95409299b3778d7c4b6a | 8,303 | cpp | C++ | src/Scheduling/APA/E_APAScheduler.cpp | ha1082104/KENS_2 | 7b0b9f805ad89df8e23cdc1fc7599119d600366d | [
"MIT"
] | null | null | null | src/Scheduling/APA/E_APAScheduler.cpp | ha1082104/KENS_2 | 7b0b9f805ad89df8e23cdc1fc7599119d600366d | [
"MIT"
] | null | null | null | src/Scheduling/APA/E_APAScheduler.cpp | ha1082104/KENS_2 | 7b0b9f805ad89df8e23cdc1fc7599119d600366d | [
"MIT"
] | 1 | 2018-11-18T16:16:54.000Z | 2018-11-18T16:16:54.000Z | /*
* E_APAScheduler.cpp
*
* Created on: 2014. 11. 27.
* Author: 근홍
*/
#include <E/E_System.hpp>
#include <E/Scheduling/E_Computer.hpp>
#include <E/Scheduling/E_Task.hpp>
#include <E/Scheduling/E_Job.hpp>
#include <E/Scheduling/E_Processor.hpp>
#include <E/Scheduling/E_Scheduler.hpp>
#include <E/Scheduling/A... | 23.323034 | 107 | 0.666024 | ha1082104 |
59191833d1194317d6dd11f5a9ee325531988504 | 5,519 | cpp | C++ | appshell/native_menu_model.cpp | sabanaya/brackets-shell | 999145fe996c54d91b3a539b8f05ba25902a39df | [
"MIT"
] | 524 | 2015-01-02T15:26:14.000Z | 2022-03-02T10:42:42.000Z | appshell/native_menu_model.cpp | sabanaya/brackets-shell | 999145fe996c54d91b3a539b8f05ba25902a39df | [
"MIT"
] | 458 | 2021-08-17T18:30:53.000Z | 2021-08-17T18:59:34.000Z | appshell/native_menu_model.cpp | sabanaya/brackets-shell | 999145fe996c54d91b3a539b8f05ba25902a39df | [
"MIT"
] | 403 | 2015-01-01T21:32:43.000Z | 2021-11-10T10:24:31.000Z | /*
* Copyright (c) 2013 - present Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* ... | 31.901734 | 152 | 0.698858 | sabanaya |
591dc60cf428163d4d94efbeeafc8ea4e8aaf7af | 9,486 | cpp | C++ | ext/extfs.cpp | zhoujie-jay/sortix | 7348cb0b9ad5931bf73c8b3fa2dd63c99cae6afa | [
"0BSD"
] | 5 | 2018-06-13T14:56:57.000Z | 2021-08-25T01:07:32.000Z | ext/extfs.cpp | zhoujie-jay/sortix | 7348cb0b9ad5931bf73c8b3fa2dd63c99cae6afa | [
"0BSD"
] | null | null | null | ext/extfs.cpp | zhoujie-jay/sortix | 7348cb0b9ad5931bf73c8b3fa2dd63c99cae6afa | [
"0BSD"
] | null | null | null | /*
* Copyright (c) 2013, 2014, 2015 Jonas 'Sortie' Termansen.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS"... | 29.830189 | 85 | 0.668248 | zhoujie-jay |
591ea797eef73eb7ae54e36fa57cbe5c148d5e02 | 244 | hpp | C++ | src/ComputeSYMGS_ref.hpp | zabookey/Kokkos-HPCG | 7ca081e51a275c4fb6b21e8871788e88e8715dbc | [
"BSD-3-Clause"
] | 5 | 2015-07-10T16:35:08.000Z | 2021-09-13T03:29:37.000Z | src/ComputeSYMGS_ref.hpp | zabookey/Kokkos-HPCG | 7ca081e51a275c4fb6b21e8871788e88e8715dbc | [
"BSD-3-Clause"
] | null | null | null | src/ComputeSYMGS_ref.hpp | zabookey/Kokkos-HPCG | 7ca081e51a275c4fb6b21e8871788e88e8715dbc | [
"BSD-3-Clause"
] | null | null | null | #ifndef COMPUTESYMGS_REF_HPP
#define COMPUTESYMGS_REF_HPP
#include "SparseMatrix.hpp"
#include "Vector.hpp"
#include "KokkosSetup.hpp"
int ComputeSYMGS_ref(const SparseMatrix & A, const Vector & r, Vector & x);
#endif // COMPUTESYMGS_REF_HPP
| 24.4 | 75 | 0.786885 | zabookey |
59213eb5e0cd3378c0ad476e1a79e2b4db24caea | 36,053 | cpp | C++ | src/ChessDotCpp/search.cpp | GediminasMasaitis/chess-dot-cpp | 60995f235387efc5acc03d46c8245960efef3e81 | [
"MIT"
] | null | null | null | src/ChessDotCpp/search.cpp | GediminasMasaitis/chess-dot-cpp | 60995f235387efc5acc03d46c8245960efef3e81 | [
"MIT"
] | null | null | null | src/ChessDotCpp/search.cpp | GediminasMasaitis/chess-dot-cpp | 60995f235387efc5acc03d46c8245960efef3e81 | [
"MIT"
] | 1 | 2021-05-01T11:57:03.000Z | 2021-05-01T11:57:03.000Z | #include "search.h"
#include "attacks.h"
#include "movegen.h"
#include "evaluation.h"
#include "moveorder.h"
#include "see.h"
#include "stopper.h"
#include "options.h"
#include "tablebases.h"
#include <thread>
#include <algorithm>
#include "zobrist.h"
bool Search::TryProbeTranspositionTable(const ZobristKey key, co... | 31.296007 | 180 | 0.564031 | GediminasMasaitis |
5921558f78644b3af23bd8b577e5c13f02be87c1 | 6,321 | hpp | C++ | IGC/Compiler/CISACodeGen/CodeSinking.hpp | bader/intel-graphics-compiler | 04f51dc2f3d5047f334da5cb5eebe568480622f5 | [
"MIT"
] | null | null | null | IGC/Compiler/CISACodeGen/CodeSinking.hpp | bader/intel-graphics-compiler | 04f51dc2f3d5047f334da5cb5eebe568480622f5 | [
"MIT"
] | null | null | null | IGC/Compiler/CISACodeGen/CodeSinking.hpp | bader/intel-graphics-compiler | 04f51dc2f3d5047f334da5cb5eebe568480622f5 | [
"MIT"
] | null | null | null | /*========================== begin_copyright_notice ============================
Copyright (c) 2000-2021 Intel Corporation
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, inc... | 40.261146 | 117 | 0.636925 | bader |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.