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
359c34365f18b5023115075d4f1f2ae4a0f9631e
829
cxx
C++
dtool/src/dtoolutil/globPattern_ext.cxx
cmarshall108/panda3d-python3
8bea2c0c120b03ec1c9fd179701fdeb7510bb97b
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
dtool/src/dtoolutil/globPattern_ext.cxx
cmarshall108/panda3d-python3
8bea2c0c120b03ec1c9fd179701fdeb7510bb97b
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
dtool/src/dtoolutil/globPattern_ext.cxx
cmarshall108/panda3d-python3
8bea2c0c120b03ec1c9fd179701fdeb7510bb97b
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
/** * PANDA 3D SOFTWARE * Copyright (c) Carnegie Mellon University. All rights reserved. * * All use of this software is subject to the terms of the revised BSD * license. You should have received a copy of this license along * with this source code in a file named "LICENSE." * * @file globPattern_ext.cxx * ...
23.685714
70
0.704463
cmarshall108
359daed756953a06ec7e66f9f817cbd0ff5f97f0
524
cpp
C++
unit_tests/test_ftoa_rev.cpp
shreyasbharath/nanoprintf
7dc843a6201df5c2daabf675224183d3cc1a3264
[ "Unlicense" ]
1
2020-06-29T13:30:04.000Z
2020-06-29T13:30:04.000Z
unit_tests/test_ftoa_rev.cpp
shreyasbharath/nanoprintf
7dc843a6201df5c2daabf675224183d3cc1a3264
[ "Unlicense" ]
null
null
null
unit_tests/test_ftoa_rev.cpp
shreyasbharath/nanoprintf
7dc843a6201df5c2daabf675224183d3cc1a3264
[ "Unlicense" ]
null
null
null
#include "nanoprintf_in_unit_tests.h" #include "CppUTest/TestHarness.h" #include <cstring> TEST_GROUP(ftoa_rev) { void setup() override { memset(buf, 0, sizeof(buf)); } char buf[64]; int frac_bytes; npf__format_spec_conversion_case_t const lower = NPF_FMT_SPEC_CONV_CASE_LOWER; npf__format...
23.818182
68
0.709924
shreyasbharath
359e392ba31ff6313bede241351a2de52e092074
8,734
cpp
C++
GPUPerfStudio/Server/DX12Server/Objects/DX12WrappedObjectDatabase.cpp
davidlee80/amd-gpuperfstudio-dx12
4ce82d2eb0c9b8a8fc2889372b370ab23383a0fe
[ "MIT" ]
1
2017-03-25T02:09:15.000Z
2017-03-25T02:09:15.000Z
GPUPerfStudio/Server/DX12Server/Objects/DX12WrappedObjectDatabase.cpp
davidlee80/amd-gpuperfstudio-dx12
4ce82d2eb0c9b8a8fc2889372b370ab23383a0fe
[ "MIT" ]
null
null
null
GPUPerfStudio/Server/DX12Server/Objects/DX12WrappedObjectDatabase.cpp
davidlee80/amd-gpuperfstudio-dx12
4ce82d2eb0c9b8a8fc2889372b370ab23383a0fe
[ "MIT" ]
3
2017-03-15T03:35:13.000Z
2022-02-23T06:29:02.000Z
//============================================================================== // Copyright (c) 2015 Advanced Micro Devices, Inc. All rights reserved. /// \author AMD Developer Tools Team /// \file /// \brief The DX12WrappedObjectDatabase is responsible for tracking /// wrapped and destroyed objects. //=====...
46.705882
162
0.6248
davidlee80
35a06a63f02917d0b697f2d18e1da85af01b9726
4,275
cpp
C++
CaWE/MapEditor/wxExt/valTextNumber.cpp
dns/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
3
2020-04-11T13:00:31.000Z
2020-12-07T03:19:10.000Z
CaWE/MapEditor/wxExt/valTextNumber.cpp
DNS/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
null
null
null
CaWE/MapEditor/wxExt/valTextNumber.cpp
DNS/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
1
2020-04-11T13:00:04.000Z
2020-04-11T13:00:04.000Z
/* Cafu Engine, http://www.cafu.de/ Copyright (c) Carsten Fuchs and other contributors. This project is licensed under the terms of the MIT license. */ #ifndef WX_PRECOMP #include <stdio.h> #include "wx/textctrl.h" #include "wx/utils.h" #include "wx/msgdlg.h" #include "wx/intl.h" #endif #include "valTextNum...
18.832599
105
0.673684
dns
35a6be359ec0744a53421193f51356684f8f7746
1,243
hpp
C++
simulator/physics/Field.hpp
guyfleeman/robocup-software
0e9c543c463d41905a906e95da7c7776fed4cb46
[ "Apache-2.0" ]
1
2018-09-25T20:28:58.000Z
2018-09-25T20:28:58.000Z
simulator/physics/Field.hpp
justbuchanan/robocup-software
1055fac355c93e30a29ac0563dfe80cc3e602fd3
[ "Apache-2.0" ]
null
null
null
simulator/physics/Field.hpp
justbuchanan/robocup-software
1055fac355c93e30a29ac0563dfe80cc3e602fd3
[ "Apache-2.0" ]
null
null
null
#pragma once #include "Entity.hpp" #include <GL/glut.h> #include <BulletDynamics/Dynamics/btRigidBody.h> class btTriangleIndexVertexArray; class SimEngine; class btVector3; class Field : public Entity { protected: // Terrain components class btTriangleIndexVertexArray* _indexVertexArrays; btVector3* _ver...
23.903846
78
0.656476
guyfleeman
35ac952e9eb904c05e9753e378d32f76d65155af
1,610
cpp
C++
PriorityQueues/RunningMedian.cpp
tanmayagarwal06/CompetitiveProgramming
ce1df2dbe829a0babfb18e65beee8604eb80915c
[ "MIT" ]
null
null
null
PriorityQueues/RunningMedian.cpp
tanmayagarwal06/CompetitiveProgramming
ce1df2dbe829a0babfb18e65beee8604eb80915c
[ "MIT" ]
null
null
null
PriorityQueues/RunningMedian.cpp
tanmayagarwal06/CompetitiveProgramming
ce1df2dbe829a0babfb18e65beee8604eb80915c
[ "MIT" ]
3
2020-10-06T02:57:41.000Z
2020-10-20T06:54:04.000Z
#include <iostream> #include<queue> #include<bits/stdc++.h> #include<math.h> using namespace std; void findMedian(int arr[], int n){ priority_queue<int, vector<int>, greater<int>> minHeap; priority_queue<int> maxHeap; for(int i = 0; i<n; i++){ if(maxHeap.size() != 0 && arr[i] > ...
24.393939
64
0.398758
tanmayagarwal06
35ae4b9cc45ef13cef10a51b450bff522a99faba
718
hpp
C++
ultra/not_released/dark/sapi.hpp
badryasuo/UltraDark
c9f60e3a754b051db33c29129f943807c6010b9e
[ "MIT" ]
null
null
null
ultra/not_released/dark/sapi.hpp
badryasuo/UltraDark
c9f60e3a754b051db33c29129f943807c6010b9e
[ "MIT" ]
null
null
null
ultra/not_released/dark/sapi.hpp
badryasuo/UltraDark
c9f60e3a754b051db33c29129f943807c6010b9e
[ "MIT" ]
null
null
null
// Speech API from Microsoft is required. #include <sapi.h> #include "std.hpp" namespace dark { class Voice { protected: HRESULT hr = S_OK; ISpVoice * me = NULL; // child/teen/etc dark::char_ptr voice; // 'F' for Female, 'M' for Male dark::uchar gender; // -10 to +10 dark::ushort pitch; // 0 to 100...
17.95
85
0.629526
badryasuo
35af3e44df6420ffba7ad8544cef62d0a6e0f812
251
cpp
C++
src/cubo.cpp
Italo1994/Laboratorio2-IMD0030
ebe3df127ec78914d2feca77f92bf398e61c023c
[ "MIT" ]
null
null
null
src/cubo.cpp
Italo1994/Laboratorio2-IMD0030
ebe3df127ec78914d2feca77f92bf398e61c023c
[ "MIT" ]
null
null
null
src/cubo.cpp
Italo1994/Laboratorio2-IMD0030
ebe3df127ec78914d2feca77f92bf398e61c023c
[ "MIT" ]
null
null
null
#include "cubo.h" Cubo::Cubo(int m_aresta): aresta(m_aresta) { area = 6 * pow(aresta, 2); volume = aresta * aresta * aresta; } Cubo::~Cubo() { } int Cubo::getAreaCubo() { return area; } int Cubo::getVolumeCubo() { return volume; }
13.944444
45
0.605578
Italo1994
35b2407029bfd5c4d96d001938c60ab06ef28a22
1,746
cpp
C++
src/Board.cpp
jsgaonac/towdef-ai
5973a736d02b7e3420d2367ffd81b564519c65c9
[ "MIT" ]
null
null
null
src/Board.cpp
jsgaonac/towdef-ai
5973a736d02b7e3420d2367ffd81b564519c65c9
[ "MIT" ]
null
null
null
src/Board.cpp
jsgaonac/towdef-ai
5973a736d02b7e3420d2367ffd81b564519c65c9
[ "MIT" ]
null
null
null
#include "Board.hpp" logic::Board::Board() { } void logic::Board::reset() { for (std::size_t i = 0; i < BOARD_W; i++) { for (std::size_t j = 0; j < BOARD_H; j++) { board[i][j].clear(); } } } bool logic::Board::isCoordValid(int x, int y) const { if (x >= BOARD_W || y >= BOARD_H) return false; if (x <...
19.840909
90
0.632875
jsgaonac
35b68a7ca1a76af5b7f3cfb7425186cc2a2569dc
259
cpp
C++
CodeForces Problems/Ladder/Less than 1300/EvenOdds.cpp
AshishSingh13s/HactoberFest21
93cdfc80a971cd8904f313e5b0dd339642366854
[ "Unlicense" ]
1
2021-11-21T03:37:18.000Z
2021-11-21T03:37:18.000Z
CodeForces Problems/Ladder/Less than 1300/EvenOdds.cpp
sonishsinghal/HactoberFest21
c4ca69f2f8198585db9914e8b113290dad07a188
[ "Unlicense" ]
1
2021-10-06T04:41:55.000Z
2021-10-06T04:41:55.000Z
CodeForces Problems/Ladder/Less than 1300/EvenOdds.cpp
sonishsinghal/HactoberFest21
c4ca69f2f8198585db9914e8b113290dad07a188
[ "Unlicense" ]
1
2021-10-08T12:31:04.000Z
2021-10-08T12:31:04.000Z
#include <bits/stdc++.h> using namespace std; int main() { long long int n, k; cin >> n >> k; if (k<=(n+1)/2) { cout << k * 2 - 1; } else { cout << (k - (n+1)/2)*2; } return 0; }
13.631579
33
0.351351
AshishSingh13s
35c0be14308b3b3b2b34a8b72194a51e163b86fd
610
cpp
C++
A1/BTech.cpp
anish-sk/CS2810
982259146b210c201ea94ce5068c05c8471cbf30
[ "MIT" ]
null
null
null
A1/BTech.cpp
anish-sk/CS2810
982259146b210c201ea94ce5068c05c8471cbf30
[ "MIT" ]
null
null
null
A1/BTech.cpp
anish-sk/CS2810
982259146b210c201ea94ce5068c05c8471cbf30
[ "MIT" ]
null
null
null
#ifndef BTECH_H #define BTECH_H #include<string> #include<iostream> #include "Faculty.cpp" using namespace std; class Btech { public: int Rollnumber;string hostel; Faculty facad,BTPguide; float cgpa; Btech(int Rollnumber,string hostel,Faculty facad,float cgpa) { this->Rollnumber=Rollnumber; this->hostel=h...
13.555556
61
0.7
anish-sk
35c0d6191a09a3afe5c6a97b52c10e99b6c4b85f
2,303
cpp
C++
1343C.cpp
JiangWeibeta/Answers-to-Codeforces-Problems
f258ed0d441f587551ae0fc55215dca189a9dcef
[ "Apache-2.0" ]
1
2021-10-30T02:17:29.000Z
2021-10-30T02:17:29.000Z
1343C.cpp
JiangWeibeta/Answers-to-codeforces-problemset
f258ed0d441f587551ae0fc55215dca189a9dcef
[ "Apache-2.0" ]
null
null
null
1343C.cpp
JiangWeibeta/Answers-to-codeforces-problemset
f258ed0d441f587551ae0fc55215dca189a9dcef
[ "Apache-2.0" ]
null
null
null
#include <algorithm> #include <iostream> #include <map> #include <stdlib.h> #include <vector> using namespace std; typedef long long ll; struct ans { ll len = 0; ll sum = 0; ll last_element = 0; }; void solve() { int size = 0; cin >> size; ans ...
21.726415
83
0.366479
JiangWeibeta
35c5d14a654a57e23c92e5c0ab6aa86496d3ea2b
13,208
cpp
C++
Iron/territory/vmap.cpp
biug/titan
aacb4e2dc4d55601abd45cb8321d8e5160851eec
[ "MIT" ]
null
null
null
Iron/territory/vmap.cpp
biug/titan
aacb4e2dc4d55601abd45cb8321d8e5160851eec
[ "MIT" ]
null
null
null
Iron/territory/vmap.cpp
biug/titan
aacb4e2dc4d55601abd45cb8321d8e5160851eec
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////// // // This file is part of Iron's source files. // Iron is free software, licensed under the MIT/X11 License. // A copy of the license is provided with the library in the LICENSE file. // Copyright (c) 2016, 2017, Igor Dimitrijevic // /////////...
26.310757
134
0.58457
biug
35c6d8e728175661d80749ca30c0cfdf97d38ab0
6,123
cpp
C++
tests/unit_tests/common.shared/message_processing/test_message_tokenizer.cpp
Vavilon3000/icq
9fe7a3c42c07eb665d2e3b0ec50052de382fd89c
[ "Apache-2.0" ]
1
2019-12-02T08:37:10.000Z
2019-12-02T08:37:10.000Z
tests/unit_tests/common.shared/message_processing/test_message_tokenizer.cpp
Vavilon3000/icq
9fe7a3c42c07eb665d2e3b0ec50052de382fd89c
[ "Apache-2.0" ]
null
null
null
tests/unit_tests/common.shared/message_processing/test_message_tokenizer.cpp
Vavilon3000/icq
9fe7a3c42c07eb665d2e3b0ec50052de382fd89c
[ "Apache-2.0" ]
null
null
null
#include <boost/test/unit_test.hpp> #include <common.shared/message_processing/message_tokenizer.h> #ifdef CHECK_TOKEN_START #error Rename the macros #endif #define CHECK_TOKEN_START common::tools::message_tokenizer tokenizer(_message); #ifdef CHECK_TOKEN_N #error Rename the macros #endif #define CHECK_T...
37.564417
168
0.633186
Vavilon3000
35c76a51505fa3fbde7fe3a1fd3e938148a84ebc
3,335
hpp
C++
src/libs/base/sa_threadbase.hpp
suggitpe/RPMS
7a12da0128f79b8b0339fd7146105ba955079b8c
[ "Apache-2.0" ]
null
null
null
src/libs/base/sa_threadbase.hpp
suggitpe/RPMS
7a12da0128f79b8b0339fd7146105ba955079b8c
[ "Apache-2.0" ]
null
null
null
src/libs/base/sa_threadbase.hpp
suggitpe/RPMS
7a12da0128f79b8b0339fd7146105ba955079b8c
[ "Apache-2.0" ]
null
null
null
#ifndef __sa_threadbase_hpp #define __sa_threadbase_hpp #include <base/sa_baseobject.hpp> #include <tools/sc_basicmutex.hpp> namespace rpms { /** * Base class for all threads. * All thread classes should derive from this one so that they * have all the base functionality they need. * ...
39.702381
100
0.563418
suggitpe
35c8d42ec40349d3089c09d7aabd452044557ebf
130
cpp
C++
Espina.cpp
ConejoMoncada/P3Examen2_AndresMoncada
8e97d0fc8e517b7fc0d787e33696e48f32d050ce
[ "MIT" ]
null
null
null
Espina.cpp
ConejoMoncada/P3Examen2_AndresMoncada
8e97d0fc8e517b7fc0d787e33696e48f32d050ce
[ "MIT" ]
null
null
null
Espina.cpp
ConejoMoncada/P3Examen2_AndresMoncada
8e97d0fc8e517b7fc0d787e33696e48f32d050ce
[ "MIT" ]
null
null
null
#include "Espina.h" Espina::Espina():Bomba(){ } Espina::Espina(int nr, int nc,bool v):Bomba(nr,nc,v){ } Espina::~Espina(){ }
10
53
0.615385
ConejoMoncada
35ca07e268ab19c75ca7f0d4bc9b680e300ef6f8
1,743
cpp
C++
hackerrank/practice/data_structures/advanced/fibonacci_numbers_tree__sto.cpp
Loks-/competitions
3bb231ba9dd62447048832f45b09141454a51926
[ "MIT" ]
4
2018-06-05T14:15:52.000Z
2022-02-08T05:14:23.000Z
hackerrank/practice/data_structures/advanced/fibonacci_numbers_tree__sto.cpp
Loks-/competitions
3bb231ba9dd62447048832f45b09141454a51926
[ "MIT" ]
null
null
null
hackerrank/practice/data_structures/advanced/fibonacci_numbers_tree__sto.cpp
Loks-/competitions
3bb231ba9dd62447048832f45b09141454a51926
[ "MIT" ]
1
2018-10-21T11:01:35.000Z
2018-10-21T11:01:35.000Z
// https://www.hackerrank.com/challenges/fibonacci-numbers-tree #include "common/graph/tree.h" #include "common/graph/tree/lca.h" #include "common/graph/tree/sto.h" #include "common/modular/static/fibonacci_matrix.h" #include "common/modular_io.h" #include "common/segment_tree/action/add_each.h" #include "common/stl/b...
23.876712
74
0.563396
Loks-
35cb2cfa2ba37c20b291f68b82e034e1b86eacbd
14,402
cpp
C++
tests/String.cpp
borisblizzard/hltypes
4a4e1891fa76e62f6c8a9c7f75c3fdaef8cb6f18
[ "BSD-3-Clause" ]
null
null
null
tests/String.cpp
borisblizzard/hltypes
4a4e1891fa76e62f6c8a9c7f75c3fdaef8cb6f18
[ "BSD-3-Clause" ]
null
null
null
tests/String.cpp
borisblizzard/hltypes
4a4e1891fa76e62f6c8a9c7f75c3fdaef8cb6f18
[ "BSD-3-Clause" ]
null
null
null
#define _HTEST_LIB hltypes #define _HTEST_CLASS String #include <htest/htest.h> #include "harray.h" #include "hstring.h" HTEST_SUITE_BEGIN HTEST_CASE(floatingPoint) { hstr floatString("5.75"); float f = floatString; floatString = 6.75f; HTEST_ASSERT(f == 5.75f, "floatingPoint1"); HTEST_ASSERT(floatString == 6.75...
30.773504
83
0.631579
borisblizzard
35d0da7eebdf514a79697e044e0d5fdf794b0240
3,363
cpp
C++
Codeforces/1000~1999/1252/L.cpp
tiger0132/code-backup
9cb4ee5e99bf3c274e34f1e59d398ab52e51ecf7
[ "MIT" ]
6
2018-12-30T06:16:54.000Z
2022-03-23T08:03:33.000Z
Codeforces/1000~1999/1252/L.cpp
tiger0132/code-backup
9cb4ee5e99bf3c274e34f1e59d398ab52e51ecf7
[ "MIT" ]
null
null
null
Codeforces/1000~1999/1252/L.cpp
tiger0132/code-backup
9cb4ee5e99bf3c274e34f1e59d398ab52e51ecf7
[ "MIT" ]
null
null
null
#include <algorithm> #include <cstdio> #include <cstring> #include <map> #include <queue> #include <stack> #include <vector> #define int ll void fuck(bool exp) { while (!exp) exp = 0; } typedef long long ll; const int N = 3e4 + 43, M = 2e6 + 62, K = 2e3 + 32; struct { struct edge { int to, next, w; } e[M << 1]; ...
25.477273
81
0.470116
tiger0132
35d4620b8e7dfdbb17232f69f6cfde5933e06ceb
441
hpp
C++
GazeTracker/GazeTracker_Qt/ProcessingUI.hpp
bernhardrieder/GazeTracker
b468a03cb986a4950ee1d2a49df759e17a80c5cc
[ "MIT" ]
null
null
null
GazeTracker/GazeTracker_Qt/ProcessingUI.hpp
bernhardrieder/GazeTracker
b468a03cb986a4950ee1d2a49df759e17a80c5cc
[ "MIT" ]
null
null
null
GazeTracker/GazeTracker_Qt/ProcessingUI.hpp
bernhardrieder/GazeTracker
b468a03cb986a4950ee1d2a49df759e17a80c5cc
[ "MIT" ]
null
null
null
#pragma once #include <QWidget> #include "ui_processingui.h" namespace gt { class ProcessingUI : public QWidget { Q_OBJECT public: ProcessingUI(QWidget* parent = Q_NULLPTR); ~ProcessingUI(); signals: void closing(); public slots: void show(); void close(); void stateChanged(int); void changePr...
15.206897
47
0.705215
bernhardrieder
35d763f100a1c71e9a9b267eebe32697c7b0d73c
1,701
cpp
C++
lecture_examples/smart_ptr.cpp
oKermorgant/ecn_ARPRO
1b375d64c746eb5a2839627062668833eb14b641
[ "MIT" ]
9
2017-07-08T07:30:51.000Z
2021-09-09T19:00:02.000Z
lecture_examples/smart_ptr.cpp
oKermorgant/ecn_ARPRO
1b375d64c746eb5a2839627062668833eb14b641
[ "MIT" ]
null
null
null
lecture_examples/smart_ptr.cpp
oKermorgant/ecn_ARPRO
1b375d64c746eb5a2839627062668833eb14b641
[ "MIT" ]
12
2017-09-03T08:51:59.000Z
2021-09-26T11:00:15.000Z
#include <memory> #include <random> #include <ctime> #include <vector> #include <iostream> class Obj { public: static int created; static int destructed; int value; Obj(int n) : value(n%100) { created++; } ~Obj() { destructed++; } }; int Obj::created = 0; int O...
17.71875
80
0.525573
oKermorgant
35da501742ede6aff84f3f2b1928fd902b6d4b38
9,612
cxx
C++
src/StripDisplay.cxx
fermi-lat/DetDisplay
d68760923734a5238f30e5ba96bed8147bee505f
[ "BSD-3-Clause" ]
null
null
null
src/StripDisplay.cxx
fermi-lat/DetDisplay
d68760923734a5238f30e5ba96bed8147bee505f
[ "BSD-3-Clause" ]
null
null
null
src/StripDisplay.cxx
fermi-lat/DetDisplay
d68760923734a5238f30e5ba96bed8147bee505f
[ "BSD-3-Clause" ]
null
null
null
/** * @file StripDisplay.cxx * @brief Declaration and definition of the algorithm StripDisplay. * * $Header: /nfs/slac/g/glast/ground/cvs/GlastRelease-scons/DetDisplay/src/StripDisplay.cxx,v 1.6 2011/05/20 15:00:23 heather Exp $ */ // Original Author: T. Burnett // Include files #include "GaudiKernel/MsgStream.h" #...
32.583051
131
0.632231
fermi-lat
35de09f94b16c562532ddb8f1b6f9523499f664d
1,483
cc
C++
RecoTracker/TkDetLayers/src/GlobalDetRodRangeZPhi.cc
bisnupriyasahu/cmssw
6cf37ca459246525be0e8a6f5172c6123637d259
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
RecoTracker/TkDetLayers/src/GlobalDetRodRangeZPhi.cc
bisnupriyasahu/cmssw
6cf37ca459246525be0e8a6f5172c6123637d259
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
RecoTracker/TkDetLayers/src/GlobalDetRodRangeZPhi.cc
bisnupriyasahu/cmssw
6cf37ca459246525be0e8a6f5172c6123637d259
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
#include "GlobalDetRodRangeZPhi.h" #include "DataFormats/GeometrySurface/interface/Plane.h" #include "DataFormats/GeometrySurface/interface/Bounds.h" #include "DataFormats/GeometryVector/interface/VectorUtil.h" #include <array> GlobalDetRodRangeZPhi::GlobalDetRodRangeZPhi( const Plane& plane) { float dx = plane.bo...
30.265306
87
0.647336
bisnupriyasahu
35dfe14a1f1fecf3af4fd987e3be6b9840c7da8a
2,466
cpp
C++
qws/src/gui/QStyleOptionTitleBar.cpp
keera-studios/hsQt
8aa71a585cbec40005354d0ee43bce9794a55a9a
[ "BSD-2-Clause" ]
42
2015-02-16T19:29:16.000Z
2021-07-25T11:09:03.000Z
qws/src/gui/QStyleOptionTitleBar.cpp
keera-studios/hsQt
8aa71a585cbec40005354d0ee43bce9794a55a9a
[ "BSD-2-Clause" ]
1
2017-11-23T12:49:25.000Z
2017-11-23T12:49:25.000Z
qws/src/gui/QStyleOptionTitleBar.cpp
keera-studios/hsQt
8aa71a585cbec40005354d0ee43bce9794a55a9a
[ "BSD-2-Clause" ]
5
2015-10-15T21:25:30.000Z
2017-11-22T13:18:24.000Z
///////////////////////////////////////////////////////////////////////////// // // File : QStyleOptionTitleBar.cpp // Copyright : (c) David Harley 2010 // Project : qtHaskell // Version : 1.1.4 // Modified : 2010-09-02 17:02:05 // // Warning : this file is machine ...
28.674419
112
0.680049
keera-studios
35e12de63fd6a79419fe8655ba095a734315a264
2,238
cpp
C++
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/google/mms/pdu/CPduPersisterHelper.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/google/mms/pdu/CPduPersisterHelper.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/google/mms/pdu/CPduPersisterHelper.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
29.84
75
0.658624
jingcao80
35e14b5db92f7e5ca2cdda6f80d6d33b017b7b8b
3,435
cpp
C++
topologies/src/IO/unit_test/test_tooga.cpp
USArmyResearchLab/ARL_Topologies
2c0d3d806b34171c824705b3e1a00e12460c0930
[ "CC0-1.0" ]
19
2017-08-28T13:05:24.000Z
2021-12-10T00:19:16.000Z
topologies/src/IO/unit_test/test_tooga.cpp
USArmyResearchLab/ARL_Topologies
2c0d3d806b34171c824705b3e1a00e12460c0930
[ "CC0-1.0" ]
null
null
null
topologies/src/IO/unit_test/test_tooga.cpp
USArmyResearchLab/ARL_Topologies
2c0d3d806b34171c824705b3e1a00e12460c0930
[ "CC0-1.0" ]
7
2018-07-09T12:10:06.000Z
2021-09-25T18:57:41.000Z
/* * ARL_Topologies - An extensible topology optimization program * * Written in 2017 by Raymond A. Wildman <raymond.a.wildman.civ@mail.mil> * This project constitutes a work of the United States Government and is not * subject to domestic copyright protection under 17 USC Sec. 105. * Release authorized by the ...
39.034091
93
0.738865
USArmyResearchLab
35e1cf174455cf1dad50e68bb6bb2817733691dd
3,320
cpp
C++
docalculation.cpp
jlee975/qfractal
76fd98b1775c20495c46de0a8a0280151a47ef8a
[ "MIT" ]
1
2021-05-18T02:43:43.000Z
2021-05-18T02:43:43.000Z
docalculation.cpp
jlee975/qfractal
76fd98b1775c20495c46de0a8a0280151a47ef8a
[ "MIT" ]
null
null
null
docalculation.cpp
jlee975/qfractal
76fd98b1775c20495c46de0a8a0280151a47ef8a
[ "MIT" ]
null
null
null
#include "docalculation.h" #include <iostream> #include "mandelbrot.h" namespace { int msb(int x) { if (x == 0) return 0; int m = 1; while (x / m > 1) m += m; return m; } color_t color_index(int i) { #if 0 color_t c = { (i % 512 >= 256 ? 255 - i % 256 : i % 256), 0, 0 }; return c; #else std::size_t ncol...
18.444444
191
0.540663
jlee975
35e7eaa22dba72458669bbba5439256339b86e87
486
hpp
C++
dm-heom/include/heom/git_version.hpp
noma/dm-heom
85c94f947190064d21bd38544094731113c15412
[ "BSD-3-Clause" ]
7
2019-07-28T01:02:52.000Z
2021-11-09T04:01:36.000Z
dm-heom/include/heom/git_version.hpp
noma/dm-heom
85c94f947190064d21bd38544094731113c15412
[ "BSD-3-Clause" ]
null
null
null
dm-heom/include/heom/git_version.hpp
noma/dm-heom
85c94f947190064d21bd38544094731113c15412
[ "BSD-3-Clause" ]
2
2020-04-04T15:20:30.000Z
2021-08-24T15:16:40.000Z
// This file is part of DM-HEOM (https://github.com/noma/dm-heom) // // Copyright (c) 2015-2019 Matthias Noack, Zuse Institute Berlin // // Licensed under the 3-clause BSD License, see accompanying LICENSE, // CONTRIBUTORS.md, and README.md for further information. #ifndef git_version_hpp #define git_version_hpp #inc...
27
69
0.76749
noma
35e7ed7927b6c3e310ef9e7946d0b4d0f3164841
10,599
hpp
C++
Source/VkToolbox/InPlaceFunction.hpp
glampert/VulkanDemo
cd9cae2dcbc790bbe6c42f811cb3aee792242ae0
[ "MIT" ]
null
null
null
Source/VkToolbox/InPlaceFunction.hpp
glampert/VulkanDemo
cd9cae2dcbc790bbe6c42f811cb3aee792242ae0
[ "MIT" ]
null
null
null
Source/VkToolbox/InPlaceFunction.hpp
glampert/VulkanDemo
cd9cae2dcbc790bbe6c42f811cb3aee792242ae0
[ "MIT" ]
null
null
null
#pragma once // ================================================================================================ // File: VkToolbox/InPlaceFunction.hpp // Author: Guilherme R. Lampert // Created on: 14/05/17 // Brief: std::function-like functor that has an inline buffer to store the // callable object. It is gu...
31.544643
138
0.613171
glampert
e302f7119a7ac9cd4ba9831fbed09bf23cb41dd3
1,237
cpp
C++
includes/graph.cpp
AnthonyN1/Advent-of-Code
28782b219a50d92b2621dc88ecf00ae2e3b45b0a
[ "MIT" ]
null
null
null
includes/graph.cpp
AnthonyN1/Advent-of-Code
28782b219a50d92b2621dc88ecf00ae2e3b45b0a
[ "MIT" ]
null
null
null
includes/graph.cpp
AnthonyN1/Advent-of-Code
28782b219a50d92b2621dc88ecf00ae2e3b45b0a
[ "MIT" ]
null
null
null
/* Advent of Code - Graph Implementation Author: Anthony Nool (AnthonyN1) */ #include <map> #include <set> #include <string> #include <utility> #include <vector> #include "graph.h" //==================================================// // Observer // //=====================...
24.74
84
0.510105
AnthonyN1
e30599c49e0377b4855430e63e76ab6907e5a983
2,789
cpp
C++
tests/tests/os/jni/android_os_cts_NoExecutePermissionTest.cpp
HelixOS/cts
1956c3f1525d6b7bf668f1671e7c29cb6fbb9c9a
[ "Apache-2.0" ]
null
null
null
tests/tests/os/jni/android_os_cts_NoExecutePermissionTest.cpp
HelixOS/cts
1956c3f1525d6b7bf668f1671e7c29cb6fbb9c9a
[ "Apache-2.0" ]
null
null
null
tests/tests/os/jni/android_os_cts_NoExecutePermissionTest.cpp
HelixOS/cts
1956c3f1525d6b7bf668f1671e7c29cb6fbb9c9a
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
32.057471
93
0.678021
HelixOS
e30c126b0c6cdf31aa7bf8fead2905fb57279693
4,583
cpp
C++
src/OpenAnalysis/Location/LocIdxSubSet.cpp
sriharikrishna/OpenAnalysis
0d0c3819bd091cc0c83db5555cc20bfbc07ecbdc
[ "BSD-3-Clause" ]
null
null
null
src/OpenAnalysis/Location/LocIdxSubSet.cpp
sriharikrishna/OpenAnalysis
0d0c3819bd091cc0c83db5555cc20bfbc07ecbdc
[ "BSD-3-Clause" ]
null
null
null
src/OpenAnalysis/Location/LocIdxSubSet.cpp
sriharikrishna/OpenAnalysis
0d0c3819bd091cc0c83db5555cc20bfbc07ecbdc
[ "BSD-3-Clause" ]
null
null
null
/*! \file \brief Definition for index sub set location abstraction. \authors Michelle Strout, Andy Stone Copyright (c) 2002-2005, Rice University <br> Copyright (c) 2004-2005, University of Chicago <br> Copyright (c) 2006, Contributors <br> All rights reserved. <br> See ../../../Copyright.txt for det...
28.116564
76
0.661794
sriharikrishna
e31480b7cabea3e7798bf1bdc6fa7e89f116e6dc
1,736
cpp
C++
src/MCP23S17.cpp
tobiasjaster/MCP23X17
853fb9ff73e0d9d484c8eb67829802e1505f2fcc
[ "BSD-3-Clause" ]
null
null
null
src/MCP23S17.cpp
tobiasjaster/MCP23X17
853fb9ff73e0d9d484c8eb67829802e1505f2fcc
[ "BSD-3-Clause" ]
null
null
null
src/MCP23S17.cpp
tobiasjaster/MCP23X17
853fb9ff73e0d9d484c8eb67829802e1505f2fcc
[ "BSD-3-Clause" ]
null
null
null
#include "MCP23S17.h" MCP23S17::MCP23S17(uint8_t address, uint8_t chipSelect) : MCP23X17() { _deviceAddr = address; _cs = chipSelect; pinMode(_cs, OUTPUT); digitalWrite(_cs, HIGH); _bus = &SPI; } MCP23S17::MCP23S17(uint8_t address, uint8_t chipSelect, SPIClass *bus) : MCP23X17() { _deviceAdd...
27.555556
86
0.652074
tobiasjaster
e3190cc1c3666f4e7dc0a6cba874f20501fbc199
832
hh
C++
src/Utilities/planarReflectingOperator.hh
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
22
2018-07-31T21:38:22.000Z
2020-06-29T08:58:33.000Z
src/Utilities/planarReflectingOperator.hh
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
41
2020-09-28T23:14:27.000Z
2022-03-28T17:01:33.000Z
src/Utilities/planarReflectingOperator.hh
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
7
2019-12-01T07:00:06.000Z
2020-09-15T21:12:39.000Z
//---------------------------------Spheral++----------------------------------// // planarReflectingOperator // Generate the reflection operator for the given plane. // // Created by JMO, Wed Feb 16 21:01:02 PST 2000 //----------------------------------------------------------------------------// #ifndef __Spheral_plan...
26.83871
80
0.653846
jmikeowen
e31cb582e73bda40042c7e497c90f14b7f7b501b
8,172
cpp
C++
src/mailews/libews/src/libews_c_subscribe.cpp
stonewell/exchange-ews-thunderbird
7b8cc41621ff29deb4145ad905344fecd60ccb0c
[ "MIT" ]
17
2016-02-24T15:13:04.000Z
2022-03-31T22:07:20.000Z
src/mailews/libews/src/libews_c_subscribe.cpp
stonewell/exchange-ews-thunderbird
7b8cc41621ff29deb4145ad905344fecd60ccb0c
[ "MIT" ]
3
2016-02-24T20:05:09.000Z
2017-04-18T04:23:56.000Z
src/mailews/libews/src/libews_c_subscribe.cpp
stonewell/exchange-ews-thunderbird
7b8cc41621ff29deb4145ad905344fecd60ccb0c
[ "MIT" ]
8
2018-06-01T08:32:35.000Z
2021-07-01T01:22:20.000Z
/* * libews_c_subscribe.cpp * * Created on: Jan 5, 2015 * Author: stone */ #include "libews.h" #include <memory> #include <stdlib.h> #include <map> #include <string> #include <stdio.h> using namespace ews; #define ON_ERROR_RETURN(x) \ if ((x)) { \ if (pp_err_msg) \ *pp_err_msg = strdup(error.GetEr...
38.366197
143
0.506486
stonewell
e31f4972e6a1595e7a6f376095f21079d663db1a
2,259
cpp
C++
lib/sync/SocketSyncClient.cpp
jroelofs/uwh-display
d3639f1a5791ddec7bec3cb3f57d56b3b6f17fcd
[ "BSD-3-Clause" ]
null
null
null
lib/sync/SocketSyncClient.cpp
jroelofs/uwh-display
d3639f1a5791ddec7bec3cb3f57d56b3b6f17fcd
[ "BSD-3-Clause" ]
null
null
null
lib/sync/SocketSyncClient.cpp
jroelofs/uwh-display
d3639f1a5791ddec7bec3cb3f57d56b3b6f17fcd
[ "BSD-3-Clause" ]
null
null
null
//===-- SocketSyncClient.cpp - Socket Syncing for GameModel -------- c++ --===// // // UWH Timer // // This file is distributed under the BSD 3-Clause License. // See LICENSE.TXT for details. // //===-----------------------------------------------------------...
24.031915
81
0.645861
jroelofs
e31f630b614766efb76a14c72746594f0b6be709
1,463
cpp
C++
cpp/leetcode/13.roman-to-integer.cpp
Gerrard-YNWA/piece_of_code
ea8c9f05a453c893cc1f10e9b91d4393838670c1
[ "MIT" ]
1
2021-11-02T05:17:24.000Z
2021-11-02T05:17:24.000Z
cpp/leetcode/13.roman-to-integer.cpp
Gerrard-YNWA/code
546230593c33ff322d3205499fe17cd6a9a437c1
[ "MIT" ]
null
null
null
cpp/leetcode/13.roman-to-integer.cpp
Gerrard-YNWA/code
546230593c33ff322d3205499fe17cd6a9a437c1
[ "MIT" ]
null
null
null
/* * @lc app=leetcode id=13 lang=cpp * * [13] Roman to Integer */ #include<iostream> #include<string> using namespace std; // @lc code=start class Solution { public: int romanToInt(string s) { auto len = s.length(); if (len == 1) { return charToNumber(s[0]); } int sum...
22.859375
43
0.420369
Gerrard-YNWA
e32128124cae61f0afd671e4df899c964284ba42
1,423
cpp
C++
libRay/Shaders/NormalVizBump.cpp
RA-Kooi/Ray-Tracer
8a4f133c1a7cc479f9f33819eb200d5a3ffa48d0
[ "MIT" ]
3
2019-03-22T02:15:18.000Z
2019-11-12T08:12:57.000Z
libRay/Shaders/NormalVizBump.cpp
RA-Kooi/Ray-Tracer
8a4f133c1a7cc479f9f33819eb200d5a3ffa48d0
[ "MIT" ]
null
null
null
libRay/Shaders/NormalVizBump.cpp
RA-Kooi/Ray-Tracer
8a4f133c1a7cc479f9f33819eb200d5a3ffa48d0
[ "MIT" ]
null
null
null
#include "NormalVizBump.hpp" #include <algorithm> #include "../Material/Color.hpp" #include "../Math/MathUtils.hpp" #include "../Shapes/Shape.hpp" #include "../Intersection.hpp" #include "../Light.hpp" namespace LibRay { using namespace Materials; using namespace Math; using namespace Shapes; Color NormalVizShaderB...
27.901961
74
0.718201
RA-Kooi
e3220c1ece2062acbcd7e12a61aa0d9d057aef83
2,744
cpp
C++
src/apps/drivesetup/DriveSetup.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
1,338
2015-01-03T20:06:56.000Z
2022-03-26T13:49:54.000Z
src/apps/drivesetup/DriveSetup.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
15
2015-01-17T22:19:32.000Z
2021-12-20T12:35:00.000Z
src/apps/drivesetup/DriveSetup.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
350
2015-01-08T14:15:27.000Z
2022-03-21T18:14:35.000Z
/* * Copyright 2002-2013 Haiku Inc. All rights reserved. * Distributed under the terms of the MIT license. * * Authors: * Erik Jaesler <ejakowatz@users.sourceforge.net> * Ithamar R. Adema <ithamar@unet.nl> * Stephan Aßmus <superstippi@gmx.de> */ #include "DriveSetup.h" #include "MainWindow.h" #include <std...
17.15
71
0.672376
Kirishikesan
e326a46ad99767bf5812f3a99e5c79f395a3090c
31,172
cpp
C++
unused/crypto/des6.cpp
jlmucb/crypto
b2b929600368fd9f6e5a3dcb715d3f22c718747e
[ "ECL-2.0", "Apache-2.0" ]
3
2016-03-27T20:23:40.000Z
2020-10-08T20:04:01.000Z
unused/crypto/des6.cpp
jlmucb/crypto
b2b929600368fd9f6e5a3dcb715d3f22c718747e
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
unused/crypto/des6.cpp
jlmucb/crypto
b2b929600368fd9f6e5a3dcb715d3f22c718747e
[ "ECL-2.0", "Apache-2.0" ]
2
2017-07-28T05:14:44.000Z
2018-07-15T18:09:05.000Z
#include <stdio.h> #ifndef JLMUNIX #include <io.h> #endif #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <time.h> #include <string.h> #include"BigCount.h" // des6.cpp // Differential cryptanalysis of 6 Round DES // // John Manferdelli typedef unsigned ch...
25.955037
109
0.47501
jlmucb
e32949fc823f62dba3a8aed367af9ed8924dbd1a
461
hpp
C++
num_t.hpp
kensmith/mancalc
db0c2d15811f0da76689ec3c3cc94d9d56d1612d
[ "BSL-1.0" ]
1
2020-03-24T22:51:38.000Z
2020-03-24T22:51:38.000Z
num_t.hpp
kensmith/mancalc
db0c2d15811f0da76689ec3c3cc94d9d56d1612d
[ "BSL-1.0" ]
null
null
null
num_t.hpp
kensmith/mancalc
db0c2d15811f0da76689ec3c3cc94d9d56d1612d
[ "BSL-1.0" ]
null
null
null
#ifndef __num_t_hpp__ #define __num_t_hpp__ #include <boost/multiprecision/cpp_dec_float.hpp> #include <boost/multiprecision/cpp_int.hpp> using int_t = boost::multiprecision::number < boost::multiprecision::cpp_int_backend<>, boost::multiprecision::expression_template_option::et_off >; using num_t = boost::mul...
23.05
60
0.787419
kensmith
e329ed7083ae94cecc3350a304dfc38b9dd210c5
5,157
cpp
C++
common/src/wrap/python/filter.cpp
ane-community/botan-crypto-ane
71056f5f0d5fd706e6d42e2f7ec0f7f55d86fb74
[ "MIT" ]
1
2018-03-09T20:21:47.000Z
2018-03-09T20:21:47.000Z
common/src/wrap/python/filter.cpp
ane-community/botan-crypto-ane
71056f5f0d5fd706e6d42e2f7ec0f7f55d86fb74
[ "MIT" ]
null
null
null
common/src/wrap/python/filter.cpp
ane-community/botan-crypto-ane
71056f5f0d5fd706e6d42e2f7ec0f7f55d86fb74
[ "MIT" ]
1
2020-03-05T23:42:00.000Z
2020-03-05T23:42:00.000Z
/* * Boost.Python module definition * (C) 1999-2007 Jack Lloyd * * Distributed under the terms of the Botan license */ #include <boost/python.hpp> using namespace boost::python; #include <botan/pipe.h> #include <botan/lookup.h> using namespace Botan; class Py_Filter : public Filter { public: virtual void...
28.97191
78
0.631375
ane-community
e32b5a14be51c0f0a0e105c03ef1f5137163d550
2,516
hpp
C++
include/omw/array.hpp
vtavernier/omw
3f598496c8564ea7ad1878f29c48f0e949ef0dd9
[ "Unlicense", "MIT" ]
null
null
null
include/omw/array.hpp
vtavernier/omw
3f598496c8564ea7ad1878f29c48f0e949ef0dd9
[ "Unlicense", "MIT" ]
null
null
null
include/omw/array.hpp
vtavernier/omw
3f598496c8564ea7ad1878f29c48f0e949ef0dd9
[ "Unlicense", "MIT" ]
null
null
null
/** * @file omw/array.hpp * @brief Definition of omw::array * @author Vincent TAVERNIER <vincent.tavernier@inria.fr> * @date 2018 */ #ifndef _OMW_ARRAY_HPP_ #define _OMW_ARRAY_HPP_ #include <memory> #include <vector> #include "omw/pre.hpp" namespace omw { /** * @brief Represents a 1D array without managi...
23.735849
89
0.669714
vtavernier
e32d2f9a73b14d38860897ed8c8ce95550f0fbb0
373
hpp
C++
wield/tests/acceptance_test/queue_stress/queue_stress/ProcessingFunctorBase.hpp
paxos1977/wield
a4e4c2df28763d2a720e14b3d6e903b083eb3a7d
[ "BSD-4-Clause" ]
null
null
null
wield/tests/acceptance_test/queue_stress/queue_stress/ProcessingFunctorBase.hpp
paxos1977/wield
a4e4c2df28763d2a720e14b3d6e903b083eb3a7d
[ "BSD-4-Clause" ]
null
null
null
wield/tests/acceptance_test/queue_stress/queue_stress/ProcessingFunctorBase.hpp
paxos1977/wield
a4e4c2df28763d2a720e14b3d6e903b083eb3a7d
[ "BSD-4-Clause" ]
null
null
null
#pragma once #include <queue_stress/Message.hpp> namespace queue_stress { namespace message { class TestMessage; }} namespace queue_stress { class ProcessingFunctorBase { public: virtual ~ProcessingFunctorBase(){} virtual void operator()(Message&){} virtual vo...
18.65
57
0.632708
paxos1977
e32eaab1db8757d11e8c2ba915e8eda90c3ea6a4
11,698
cc
C++
dcmdata/apps/dcm2json.cc
palmerc/dcmtk
716832be091d138f3e119c47a4e1e243f5b261d3
[ "Apache-2.0" ]
null
null
null
dcmdata/apps/dcm2json.cc
palmerc/dcmtk
716832be091d138f3e119c47a4e1e243f5b261d3
[ "Apache-2.0" ]
null
null
null
dcmdata/apps/dcm2json.cc
palmerc/dcmtk
716832be091d138f3e119c47a4e1e243f5b261d3
[ "Apache-2.0" ]
null
null
null
/* * * Copyright (C) 2016, OFFIS e.V. * All rights reserved. See COPYRIGHT file for details. * * This software and supporting documentation were developed by * * OFFIS e.V. * R&D Division Health * Escherweg 2 * D-26121 Oldenburg, Germany * * * Module: dcmdata * * Author: Sebastian Grallert * * Purp...
38.735099
143
0.583091
palmerc
e32eaf89bb21afb619ffde0fd81dd73a7ce17673
14,894
cpp
C++
src/acFindWidget.cpp
nfogh/common-src-AMDTApplicationComponents
9fc0fa073b8af5d8552eb331fc47ede8becca642
[ "MIT" ]
1
2017-01-28T14:14:18.000Z
2017-01-28T14:14:18.000Z
src/acFindWidget.cpp
nfogh/common-src-AMDTApplicationComponents
9fc0fa073b8af5d8552eb331fc47ede8becca642
[ "MIT" ]
null
null
null
src/acFindWidget.cpp
nfogh/common-src-AMDTApplicationComponents
9fc0fa073b8af5d8552eb331fc47ede8becca642
[ "MIT" ]
2
2018-10-26T09:34:00.000Z
2019-11-01T23:05:53.000Z
//================================================================================== // Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file acFindWidget.cpp /// //================================================================================== // ...
38.585492
429
0.675574
nfogh
e331aab1842240bd5f58eed4f6f47cf4232c891d
1,436
cpp
C++
src/C/Security-57031.40.6/SecurityTests/clxutils/p12/p12Encode.cpp
GaloisInc/hacrypto
5c99d7ac73360e9b05452ac9380c1c7dc6784849
[ "BSD-3-Clause" ]
34
2015-02-04T18:03:14.000Z
2020-11-10T06:45:28.000Z
src/C/Security-57031.40.6/SecurityTests/clxutils/p12/p12Encode.cpp
GaloisInc/hacrypto
5c99d7ac73360e9b05452ac9380c1c7dc6784849
[ "BSD-3-Clause" ]
5
2015-06-30T21:17:00.000Z
2016-06-14T22:31:51.000Z
src/C/Security-57031.40.6/SecurityTests/clxutils/p12/p12Encode.cpp
GaloisInc/hacrypto
5c99d7ac73360e9b05452ac9380c1c7dc6784849
[ "BSD-3-Clause" ]
15
2015-10-29T14:21:58.000Z
2022-01-19T07:33:14.000Z
/* * Decode P12 PFX using P12Coder, reencode to file */ #include <security_pkcs12/pkcs12Coder.h> #include <stdlib.h> #include <stdio.h> #include <Security/cssmtype.h> #include <security_cdsa_utils/cuPrintCert.h> #include <security_cdsa_utils/cuFileIo.h> /* decode --> encode */ int p12Reencode( const CSSM_DATA &p...
21.117647
70
0.633705
GaloisInc
e3336236ba0da367b30e6f765895e8f9b625a9b3
1,233
hpp
C++
audio/XaSystem.hpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
26
2015-04-22T05:25:25.000Z
2020-11-15T11:07:56.000Z
audio/XaSystem.hpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
2
2015-01-05T10:41:27.000Z
2015-01-06T20:46:11.000Z
audio/XaSystem.hpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
5
2016-08-02T11:13:57.000Z
2018-10-26T11:19:27.000Z
#ifndef ___INANITY_AUDIO_XA_SYSTEM_HPP___ #define ___INANITY_AUDIO_XA_SYSTEM_HPP___ #include "System.hpp" #include "Format.hpp" #include "xaudio2.hpp" #include "../CriticalSection.hpp" #include "../ComPointer.hpp" #include <unordered_set> BEGIN_INANITY_AUDIO class Device; struct Format; class XaPlayer; /// Класс зв...
23.711538
97
0.781833
quyse
e33bee1ba954c9bdd570b033cb806d73c5960c53
1,865
cpp
C++
vendor/ltfat/libltfat/examples/example_dgtprocessor.cpp
sevagh/Music-Separation-TF
1e21d3802b7df8f6c25778bca6a6c576f805fc4a
[ "MIT" ]
4
2021-03-02T15:47:59.000Z
2021-04-26T02:46:00.000Z
vendor/ltfat/libltfat/examples/example_dgtprocessor.cpp
sevagh/Music-Separation-TF
1e21d3802b7df8f6c25778bca6a6c576f805fc4a
[ "MIT" ]
null
null
null
vendor/ltfat/libltfat/examples/example_dgtprocessor.cpp
sevagh/Music-Separation-TF
1e21d3802b7df8f6c25778bca6a6c576f805fc4a
[ "MIT" ]
1
2021-03-19T03:21:41.000Z
2021-03-19T03:21:41.000Z
#include "ltfat.h" class DGTProcessor { public: class Callback { public: virtual int callback(const std::complex<float> in[], const int M2, const int W, std::complex<float> out[]) noexcept = 0; }; DGTProcessor(LTFAT_FIRWIN win, int ...
27.835821
122
0.620912
sevagh
e33ff4d2348d5074ae64245c610851f71d3625df
1,360
cc
C++
default/vm/instructions_kbc.cc
ChangMinPark/immix-gc-dart
aad91578d9d80f13626f95d14c6513ced1d20286
[ "MIT" ]
null
null
null
default/vm/instructions_kbc.cc
ChangMinPark/immix-gc-dart
aad91578d9d80f13626f95d14c6513ced1d20286
[ "MIT" ]
null
null
null
default/vm/instructions_kbc.cc
ChangMinPark/immix-gc-dart
aad91578d9d80f13626f95d14c6513ced1d20286
[ "MIT" ]
null
null
null
// Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. #include "vm/globals.h" #if !defined(DART_PRECOMPILED_RUNTIME) #include "vm/instructions.h" #include "...
37.777778
80
0.735294
ChangMinPark
e3412ca26c6407d00a49c620aa74dd803e496285
687
cpp
C++
credit.cpp
TomGlint/ANSim
f02edc65a80fbbcf3bc812f4f6841658571c2024
[ "MIT" ]
null
null
null
credit.cpp
TomGlint/ANSim
f02edc65a80fbbcf3bc812f4f6841658571c2024
[ "MIT" ]
null
null
null
credit.cpp
TomGlint/ANSim
f02edc65a80fbbcf3bc812f4f6841658571c2024
[ "MIT" ]
null
null
null
// $Id$ /*credit.cpp * *A class for credits */ #include "booksim.hpp" #include "credit.hpp" stack<Credit *> Credit::_all; stack<Credit *> Credit::_free; Credit::Credit() { Reset(); } void Credit::Reset() { vc.clear(); head = false; tail = false; id = -1; } Credit *Credit::New() { Credit *c; if (_...
11.080645
36
0.551674
TomGlint
e34776e65acd191846eca1b767bc7d1d29f8790c
1,307
cpp
C++
android-31/java/util/concurrent/CyclicBarrier.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/java/util/concurrent/CyclicBarrier.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/java/util/concurrent/CyclicBarrier.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "./TimeUnit.hpp" #include "./locks/ReentrantLock.hpp" #include "./CyclicBarrier.hpp" namespace java::util::concurrent { // Fields // QJniObject forward CyclicBarrier::CyclicBarrier(QJniObject obj) : JObject(obj) {} // Constructors CyclicBarrier::CyclicBarrier(jint arg0) : JObject( "java.util.con...
17.662162
83
0.648049
YJBeetle
e348827d92e0bc791efe14e521f4f459c9173efc
1,810
hpp
C++
src/thunder/include/thunder/spdlog/sinks/file_hourly_sink.hpp
Lyrex/thunder
f664aca2d74e6edbdd4188989feade38345a3f6f
[ "MIT" ]
null
null
null
src/thunder/include/thunder/spdlog/sinks/file_hourly_sink.hpp
Lyrex/thunder
f664aca2d74e6edbdd4188989feade38345a3f6f
[ "MIT" ]
null
null
null
src/thunder/include/thunder/spdlog/sinks/file_hourly_sink.hpp
Lyrex/thunder
f664aca2d74e6edbdd4188989feade38345a3f6f
[ "MIT" ]
null
null
null
#include <mutex> #include <spdlog/spdlog.h> #include <spdlog/sinks/sink.h> #include <spdlog/sinks/base_sink.h> #include <spdlog/sinks/file_sinks.h> #include <spdlog/details/null_mutex.h> namespace thunder { namespace sinks { /* * Rotating file sink based on hour. rotates every hour */ template<class Mutex, class ...
27.846154
94
0.733149
Lyrex
e34a61c1604eb2a07f69e91380832ca39d4805d0
5,732
cpp
C++
ExLemmings/Lemmings/02-Lemming/MenuScene.cpp
GuillemCastro/LemmingsVJ
03cfc73d198213b1629ab36d61c85d2fbae603b9
[ "MIT" ]
null
null
null
ExLemmings/Lemmings/02-Lemming/MenuScene.cpp
GuillemCastro/LemmingsVJ
03cfc73d198213b1629ab36d61c85d2fbae603b9
[ "MIT" ]
null
null
null
ExLemmings/Lemmings/02-Lemming/MenuScene.cpp
GuillemCastro/LemmingsVJ
03cfc73d198213b1629ab36d61c85d2fbae603b9
[ "MIT" ]
null
null
null
#include "MenuScene.h" #include <glm/gtc/matrix_transform.hpp> #include <iostream> #include "Game.h" MenuScene::MenuScene() { } MenuScene::~MenuScene() { menuScreen->free(); levelButton->free(); delete menuScreen; delete levelButton; } void MenuScene::init() { glm::vec2 geom[2] = { glm::vec2...
31.322404
105
0.686148
GuillemCastro
e34ce03f8cfdd46fc6dfbc08b94a4a48305d7b13
2,348
cpp
C++
pointers_references_sau.cpp
saurabhkakade21/Cpp-Practice-Code
ac5e77f1a53bb164f7b265e9291b3ca63a2a2f60
[ "MIT" ]
null
null
null
pointers_references_sau.cpp
saurabhkakade21/Cpp-Practice-Code
ac5e77f1a53bb164f7b265e9291b3ca63a2a2f60
[ "MIT" ]
null
null
null
pointers_references_sau.cpp
saurabhkakade21/Cpp-Practice-Code
ac5e77f1a53bb164f7b265e9291b3ca63a2a2f60
[ "MIT" ]
null
null
null
// Section 12 // Challenge /* Write a C++ function named apply_all that expects two arrays of integers and their sizes and dynamically allocates a new array of integers whose size is the product of the 2 array sizes The function should loop through the second array and multiplies each element across each elemen...
23.48
124
0.587734
saurabhkakade21
e34d58650f4126fb33ca0f368b011f51bf4790ee
7,729
cpp
C++
OpenCP/libGaussian/gaussian_conv_sii.cpp
norishigefukushima/OpenCP
63090131ec975e834f85b04e84ec29b2893845b2
[ "BSD-3-Clause" ]
137
2015-03-27T07:11:19.000Z
2022-03-30T05:58:22.000Z
OpenCP/libGaussian/gaussian_conv_sii.cpp
Pandinosaurus/OpenCP
a5234ed531c610d7944fa14d42f7320442ea34a1
[ "BSD-3-Clause" ]
2
2016-05-18T06:33:16.000Z
2016-07-11T17:39:17.000Z
OpenCP/libGaussian/gaussian_conv_sii.cpp
Pandinosaurus/OpenCP
a5234ed531c610d7944fa14d42f7320442ea34a1
[ "BSD-3-Clause" ]
43
2015-02-20T15:34:25.000Z
2022-01-27T14:59:37.000Z
/** * \file gaussian_conv_sii.c * \brief Gaussian convolution using stacked integral images * \author Pascal Getreuer <getreuer@cmla.ens-cachan.fr> * * Copyright (c) 2012-2013, Pascal Getreuer * All rights reserved. * * This program is free software: you can redistribute it and/or modify it * under, at your op...
33.899123
145
0.6561
norishigefukushima
e34e4fcab1e2253f7da8483740c4d57d6b9d93b8
3,356
cpp
C++
monitor/src/v20180724/model/DescribeServiceDiscoveryRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
monitor/src/v20180724/model/DescribeServiceDiscoveryRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
monitor/src/v20180724/model/DescribeServiceDiscoveryRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
28
2019-07-12T09:06:22.000Z
2022-03-30T08:04:18.000Z
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
27.966667
98
0.744338
suluner
e352278ada03254c205dcab212897db1ea1eb2fb
2,357
cpp
C++
qm-dsp/dsp/signalconditioning/Framer.cpp
jaouahbi/VampPlugins
27c2248d1c717417fe4d448cdfb4cb882a8a336a
[ "Apache-2.0" ]
null
null
null
qm-dsp/dsp/signalconditioning/Framer.cpp
jaouahbi/VampPlugins
27c2248d1c717417fe4d448cdfb4cb882a8a336a
[ "Apache-2.0" ]
null
null
null
qm-dsp/dsp/signalconditioning/Framer.cpp
jaouahbi/VampPlugins
27c2248d1c717417fe4d448cdfb4cb882a8a336a
[ "Apache-2.0" ]
null
null
null
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ /* QM DSP Library Centre for Digital Music, Queen Mary, University of London. This file 2005-2006 Christian Landone. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Ge...
21.427273
82
0.605855
jaouahbi
e3546459fa3a551d62c1432c7b4140b821a217e5
15,422
cpp
C++
src/C/Security-57031.40.6/Security/libsecurity_cdsa_utilities/lib/cssmdb.cpp
GaloisInc/hacrypto
5c99d7ac73360e9b05452ac9380c1c7dc6784849
[ "BSD-3-Clause" ]
34
2015-02-04T18:03:14.000Z
2020-11-10T06:45:28.000Z
src/C/Security-57031.40.6/Security/libsecurity_cdsa_utilities/lib/cssmdb.cpp
GaloisInc/hacrypto
5c99d7ac73360e9b05452ac9380c1c7dc6784849
[ "BSD-3-Clause" ]
5
2015-06-30T21:17:00.000Z
2016-06-14T22:31:51.000Z
src/C/Security-57031.40.6/Security/libsecurity_cdsa_utilities/lib/cssmdb.cpp
GaloisInc/hacrypto
5c99d7ac73360e9b05452ac9380c1c7dc6784849
[ "BSD-3-Clause" ]
15
2015-10-29T14:21:58.000Z
2022-01-19T07:33:14.000Z
/* * Copyright (c) 2000-2004,2006,2011-2012,2014 Apple Inc. All Rights Reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use thi...
26.094755
110
0.720205
GaloisInc
e357126fade8c8daeba51ab1b7d2c4e967f82856
6,331
hxx
C++
main/sw/source/ui/vba/vbaselection.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sw/source/ui/vba/vbaselection.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sw/source/ui/vba/vbaselection.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
62.068627
246
0.716632
Grosskopf
e35bfe487c5aff4fc46f3240c454844e689acb0a
849
hpp
C++
android-31/android/os/storage/OnObbStateChangeListener.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/os/storage/OnObbStateChangeListener.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/android/os/storage/OnObbStateChangeListener.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#pragma once #include "../../../JObject.hpp" class JString; namespace android::os::storage { class OnObbStateChangeListener : public JObject { public: // Fields static jint ERROR_ALREADY_MOUNTED(); static jint ERROR_COULD_NOT_MOUNT(); static jint ERROR_COULD_NOT_UNMOUNT(); static jint ERROR_INTERNAL(); ...
24.970588
165
0.727915
YJBeetle
e35c46fee5e0447817270af245fdb67e45fd9bb5
4,696
cpp
C++
src/via/http/request.cpp
aestuarium/via-httplib
8906ad438e4126aaac17633eded467cc8eac55bb
[ "BSL-1.0" ]
null
null
null
src/via/http/request.cpp
aestuarium/via-httplib
8906ad438e4126aaac17633eded467cc8eac55bb
[ "BSL-1.0" ]
null
null
null
src/via/http/request.cpp
aestuarium/via-httplib
8906ad438e4126aaac17633eded467cc8eac55bb
[ "BSL-1.0" ]
null
null
null
////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2013-2015 Ken Barker // (ken dot barker at via-technology dot co dot uk) // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LIC...
24.082051
79
0.397785
aestuarium
e35dab2baee8b47dde1349a488114b424175c848
336
cpp
C++
src/module.cpp
dylangentile/DFK
a627073f0d54bedec10e7b344b86912669d2e070
[ "MIT" ]
1
2020-06-26T06:31:33.000Z
2020-06-26T06:31:33.000Z
src/module.cpp
dylangentile/DFK
a627073f0d54bedec10e7b344b86912669d2e070
[ "MIT" ]
null
null
null
src/module.cpp
dylangentile/DFK
a627073f0d54bedec10e7b344b86912669d2e070
[ "MIT" ]
null
null
null
#include <kernel/module.h> Module::Module(ModuleType type) : mType(type) { } Module::~Module() { } #include <module/fs_module.h> FileSystem::FileSystem() : Module(kModuleType_FileSystem) { } FileSystem::~FileSystem() { } FileSystem::FileDescriptor::FileDescriptor() { } FileSystem::FileDescriptor::~FileDe...
9.6
57
0.696429
dylangentile
e362284ca189ac75567d9a77252bd666f0df1147
7,251
hxx
C++
tools/VisualizeECC/draw_epipolar_lines.hxx
mareikethies/EpipolarConsistency
63d7ca2fd705911a6c93ca4247486fc66a9d31c7
[ "Apache-2.0" ]
2
2020-03-21T16:33:51.000Z
2021-09-12T03:03:00.000Z
tools/VisualizeECC/draw_epipolar_lines.hxx
mareikethies/EpipolarConsistency
63d7ca2fd705911a6c93ca4247486fc66a9d31c7
[ "Apache-2.0" ]
1
2018-06-14T07:48:55.000Z
2018-06-14T07:48:55.000Z
tools/VisualizeECC/draw_epipolar_lines.hxx
mareikethies/EpipolarConsistency
63d7ca2fd705911a6c93ca4247486fc66a9d31c7
[ "Apache-2.0" ]
6
2018-05-15T21:38:35.000Z
2022-01-06T07:20:47.000Z
// Utilities for Displaying Images and Plots #include <LibUtilsQt/Figure.hxx> #include <LibUtilsQt/Plot.hxx> using UtilsQt::Figure; using UtilsQt::Plot; #include <LibEpipolarConsistency/EpipolarConsistencyCommon.hxx> /// Function called when user clicks into projection images. Epipolar lines are drawn in 2 and 3 dime...
42.156977
196
0.71728
mareikethies
e362ec8e242c5c7af2c450760bbe89bf28e38b44
2,500
cpp
C++
Demos/VerveTutorialBase/source/Verve/Extension/LightObject/VLightObjectAnimationEvent.cpp
AnteSim/Verve
22a55d182f86e3d7684fdc52f628ca57837cac8a
[ "MIT" ]
1
2021-01-02T09:17:18.000Z
2021-01-02T09:17:18.000Z
Templates/Verve/source/Verve/Extension/LightObject/VLightObjectAnimationEvent.cpp
AnteSim/Verve
22a55d182f86e3d7684fdc52f628ca57837cac8a
[ "MIT" ]
null
null
null
Templates/Verve/source/Verve/Extension/LightObject/VLightObjectAnimationEvent.cpp
AnteSim/Verve
22a55d182f86e3d7684fdc52f628ca57837cac8a
[ "MIT" ]
4
2015-05-16T17:35:07.000Z
2021-01-02T09:17:26.000Z
//----------------------------------------------------------------------------- // Verve // Copyright (C) - Violent Tulip //----------------------------------------------------------------------------- #include "Verve/Extension/LightObject/VLightObjectAnimationEvent.h" #include "console/consoleTypes.h" //-----------...
33.333333
129
0.4588
AnteSim
e363c1db75b0657a40842f3f1b736903b73f8048
660
cpp
C++
source/lab2/n_optimizer.cpp
Jovvik/methopt-lab-1
2c3acaf653c7214a925ed1292b9d1d30a33d2737
[ "Unlicense" ]
null
null
null
source/lab2/n_optimizer.cpp
Jovvik/methopt-lab-1
2c3acaf653c7214a925ed1292b9d1d30a33d2737
[ "Unlicense" ]
null
null
null
source/lab2/n_optimizer.cpp
Jovvik/methopt-lab-1
2c3acaf653c7214a925ed1292b9d1d30a33d2737
[ "Unlicense" ]
null
null
null
#include "lab2/n_optimizer.h" #include <lab2/quadratic_function.h> using namespace lab2; Vector NOptimizer::optimize(NFunction& f, const Vector& starting_point, double epsilon) { iteration_count = 0; points.clear(); points.push_back(starting_point); while (!is_done(f, epsi...
27.5
76
0.663636
Jovvik
e36dd322e0ea1d1f018564473dd9a3f6b7a7734c
10,999
cc
C++
paddle/fluid/operators/argsort_op_npu.cc
wwqgtxx/Paddle
109ca9d250e37e723e364366e8402c307b110169
[ "Apache-2.0" ]
17,085
2016-11-18T06:40:52.000Z
2022-03-31T22:52:32.000Z
paddle/fluid/operators/argsort_op_npu.cc
wwqgtxx/Paddle
109ca9d250e37e723e364366e8402c307b110169
[ "Apache-2.0" ]
29,769
2016-11-18T06:35:22.000Z
2022-03-31T16:46:15.000Z
paddle/fluid/operators/argsort_op_npu.cc
wwqgtxx/Paddle
109ca9d250e37e723e364366e8402c307b110169
[ "Apache-2.0" ]
4,641
2016-11-18T07:43:33.000Z
2022-03-31T15:15:02.000Z
/* Copyright (c) 2021 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 by applicable law or ag...
41.980916
80
0.664606
wwqgtxx
e373e7fa9e5e49fc4f231e274be782d5e644845f
707
cpp
C++
luogu_U68608/luogu_U68608.cpp
skyfackr/luogu_personal_cppcode
b59af9839745d65091e6c01cddf53e5bb6fb274a
[ "BSD-3-Clause" ]
null
null
null
luogu_U68608/luogu_U68608.cpp
skyfackr/luogu_personal_cppcode
b59af9839745d65091e6c01cddf53e5bb6fb274a
[ "BSD-3-Clause" ]
null
null
null
luogu_U68608/luogu_U68608.cpp
skyfackr/luogu_personal_cppcode
b59af9839745d65091e6c01cddf53e5bb6fb274a
[ "BSD-3-Clause" ]
null
null
null
/*头像上传*/ #include<bits/stdc++.h> using namespace std; #define ll long long #define gou1 "Too Young" #define gou2 "Too Simple" #define gou3 "Sometimes Naive" int n,l,g; void preanalyse(int &w,int &h) { //int maxbian=max(w,h); while (max(w,h)>g) { w/=2; h/=2; } return; } int main() { ...
16.44186
30
0.445545
skyfackr
e375b0f0afc248bce5e837b9b49405634083b8f2
1,684
cpp
C++
Days 201 - 210/Day 207/IsGraphBipartite.cpp
LucidSigma/Daily-Coding-Problems
21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a
[ "MIT" ]
null
null
null
Days 201 - 210/Day 207/IsGraphBipartite.cpp
LucidSigma/Daily-Coding-Problems
21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a
[ "MIT" ]
null
null
null
Days 201 - 210/Day 207/IsGraphBipartite.cpp
LucidSigma/Daily-Coding-Problems
21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a
[ "MIT" ]
null
null
null
#include <algorithm> #include <array> #include <cstddef> #include <iostream> #include <iterator> template <std::size_t Size> using Graph = std::array<std::array<unsigned int, Size>, Size>; static constexpr int NullColour = -1; template <std::size_t Size> bool IsBipartiteGraphHelper(const Graph<Size>& graph, std::arr...
23.068493
154
0.663302
LucidSigma
e377c98ce78962e28e97354ea71e7a60aae05778
3,448
cpp
C++
src/ESBServer/src/Utilities/Properties.cpp
Kochise/BeSweet
fc58c24a32a96cc4026fdf2ff97c1a99b89ba86f
[ "MIT" ]
null
null
null
src/ESBServer/src/Utilities/Properties.cpp
Kochise/BeSweet
fc58c24a32a96cc4026fdf2ff97c1a99b89ba86f
[ "MIT" ]
null
null
null
src/ESBServer/src/Utilities/Properties.cpp
Kochise/BeSweet
fc58c24a32a96cc4026fdf2ff97c1a99b89ba86f
[ "MIT" ]
2
2020-04-10T12:49:05.000Z
2021-01-11T09:34:31.000Z
/** /* Copyright (c) 2003by Marco Welti /* /* This document is bound by the QT Public License /* (http://www.trolltech.com/licenses/qpl.html). /* See License.txt for more information. /* /* /* /* ALL RIGHTS RESERVED. /* /* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS /* OR IMPLI...
26.728682
111
0.684165
Kochise
e37d30affcccc7498f6b18a6e9df66dc6f01adbf
896
hpp
C++
C++/Examples/AHRS/AHRS.hpp
PhiliLegault/Navio2
b3ed81b9e50838cb21677ba4dfd79d811ed8737a
[ "BSD-3-Clause" ]
150
2016-03-21T00:41:14.000Z
2022-03-16T22:40:43.000Z
docExamples/RPI+Navio/AHRS/AHRS.hpp
torressantiago/PINISAT
21809d7a96ffd44d48d43b5ed1cfb866dcc97be5
[ "MIT" ]
34
2016-05-09T14:25:21.000Z
2021-08-03T13:10:55.000Z
docExamples/RPI+Navio/AHRS/AHRS.hpp
torressantiago/PINISAT
21809d7a96ffd44d48d43b5ed1cfb866dcc97be5
[ "MIT" ]
132
2016-02-25T01:52:01.000Z
2022-02-25T13:29:27.000Z
/* Mahony AHRS algorithm implemented by Madgwick See: http://x-io.co.uk/open-source-imu-and-ahrs-algorithms/ Adapted by Igor Vereninov (igor.vereninov@emlid.com) Provided to you by Emlid Ltd (c) 2014. twitter.com/emlidtech || www.emlid.com || info@emlid.com */ #ifndef AHRS_HPP #define AHRS_HPP #include <cmath> #incl...
21.333333
59
0.699777
PhiliLegault
e3824cbbd5f0531bfd7c351555618baba005d1eb
5,064
cpp
C++
source/libgui/MYGUI/mygui_button.cpp
Lauvak/ray
906d3991ddd232a7f78f0e51f29aeead008a139a
[ "BSD-3-Clause" ]
113
2015-06-25T06:24:59.000Z
2021-09-26T02:46:02.000Z
source/libgui/MYGUI/mygui_button.cpp
Lauvak/ray
906d3991ddd232a7f78f0e51f29aeead008a139a
[ "BSD-3-Clause" ]
2
2015-05-03T07:22:49.000Z
2017-12-11T09:17:20.000Z
source/libgui/MYGUI/mygui_button.cpp
Lauvak/ray
906d3991ddd232a7f78f0e51f29aeead008a139a
[ "BSD-3-Clause" ]
17
2015-11-10T15:07:15.000Z
2021-01-19T15:28:16.000Z
// +---------------------------------------------------------------------- // | Project : ray. // | All rights reserved. // +---------------------------------------------------------------------- // | Copyright (c) 2013-2015. // +---------------------------------------------------------------------- // | * Redistributi...
23.553488
117
0.69767
Lauvak
e382bac57b649e79ab48be66f69a6800a017d78d
13,239
cpp
C++
ork.lev2/src/gfx/gl/glfx/parser_node_top.cpp
tweakoz/orkid
e3f78dfb3375853fd512a9d0828b009075a18345
[ "BSL-1.0" ]
25
2015-02-21T04:21:21.000Z
2022-01-20T05:19:27.000Z
ork.lev2/src/gfx/gl/glfx/parser_node_top.cpp
tweakoz/orkid
e3f78dfb3375853fd512a9d0828b009075a18345
[ "BSL-1.0" ]
113
2019-08-23T04:52:14.000Z
2021-09-13T04:04:11.000Z
ork.lev2/src/gfx/gl/glfx/parser_node_top.cpp
tweakoz/orkid
e3f78dfb3375853fd512a9d0828b009075a18345
[ "BSL-1.0" ]
4
2017-02-20T18:17:55.000Z
2020-06-28T03:47:55.000Z
//////////////////////////////////////////////////////////////// // Orkid Media Engine // Copyright 1996-2020, Michael T. Mayers. // Distributed under the Boost Software License - Version 1.0 - August 17, 2003 // see http://www.boost.org/LICENSE_1_0.txt //////////////////////////////////////////////////////////////// ...
39.284866
112
0.537125
tweakoz
be6383f9e229412d3277cf6b846216e26ec8e4c7
1,495
cpp
C++
source/binutil/buffer.cpp
cburggie/c3d
928ff7a9984c0d1e3cbb015286afeab731a743cd
[ "MIT" ]
null
null
null
source/binutil/buffer.cpp
cburggie/c3d
928ff7a9984c0d1e3cbb015286afeab731a743cd
[ "MIT" ]
null
null
null
source/binutil/buffer.cpp
cburggie/c3d
928ff7a9984c0d1e3cbb015286afeab731a743cd
[ "MIT" ]
null
null
null
namespace binutil { typedef unsigned char Byte; class Buffer { private: int size; int len; Byte * buf; public: Buffer(); Buffer(int length); Buffer(const Buffer & buffer); ~Buffer(); //byte order up to implementation int geti(int index); Buffer & append(int i); ...
21.056338
65
0.622074
cburggie
be644f093ff3a05f9b6e2f3753151570be13e866
16,689
cpp
C++
dfgTestQt/dfgTestCsvItemModel.cpp
tc3t/dfglib
7157973e952234a010da8e9fbd551a912c146368
[ "MIT", "BSL-1.0", "BSD-3-Clause" ]
1
2017-08-01T04:42:29.000Z
2017-08-01T04:42:29.000Z
dfgTestQt/dfgTestCsvItemModel.cpp
tc3t/dfglib
7157973e952234a010da8e9fbd551a912c146368
[ "MIT", "BSL-1.0", "BSD-3-Clause" ]
128
2018-04-06T23:01:51.000Z
2022-03-31T20:19:38.000Z
dfgTestQt/dfgTestCsvItemModel.cpp
tc3t/dfglib
7157973e952234a010da8e9fbd551a912c146368
[ "MIT", "BSL-1.0", "BSD-3-Clause" ]
3
2018-03-21T01:11:05.000Z
2021-04-05T19:20:31.000Z
#include <dfg/qt/CsvItemModel.hpp> #include <dfg/io.hpp> #include <dfg/io/OmcByteStream.hpp> #include <dfg/qt/containerUtils.hpp> #include <dfg/qt/connectHelper.hpp> #include <dfg/math.hpp> #include <dfg/qt/sqlTools.hpp> #include <dfg/qt/PatternMatcher.hpp> #include <dfg/iter/FunctionValueIterator.hpp> #include <dfg/os...
44.504
213
0.646773
tc3t
be66252d05a4655b56ebad756c296958b72001b1
717
cpp
C++
experimental/brunsc/python_console/generated_code/QWidget.pypp.cpp
lens-biophotonics/v3d_external
44ff3b60a297a96eaa77ca092e0de9af5c990ed3
[ "MIT" ]
39
2015-05-10T23:23:03.000Z
2022-01-26T01:31:30.000Z
experimental/brunsc/python_console/generated_code/QWidget.pypp.cpp
lens-biophotonics/v3d_external
44ff3b60a297a96eaa77ca092e0de9af5c990ed3
[ "MIT" ]
13
2016-03-04T05:29:23.000Z
2021-02-07T01:11:10.000Z
experimental/brunsc/python_console/generated_code/QWidget.pypp.cpp
lens-biophotonics/v3d_external
44ff3b60a297a96eaa77ca092e0de9af5c990ed3
[ "MIT" ]
44
2015-11-11T07:30:59.000Z
2021-12-26T16:41:21.000Z
// This file has been generated by Py++. #include "boost/python.hpp" #include "wrappable_v3d.h" #include "QWidget.pypp.hpp" namespace bp = boost::python; void register_QWidget_class(){ { //::QWidget typedef bp::class_< QWidget, boost::noncopyable > QWidget_exposer_t; QWidget_exposer_t QWidget_ex...
29.875
88
0.65272
lens-biophotonics
be71bf464a61cf0eb1e1cf0498d59102e0e8fbb0
2,100
cpp
C++
sword_Offer/15_MergeList/15_MergeList.cpp
bastamon/CodingInterviewChinese2
625c3907c6c5fe36d5cc1f2f91d8e062c90c932e
[ "BSD-3-Clause" ]
null
null
null
sword_Offer/15_MergeList/15_MergeList.cpp
bastamon/CodingInterviewChinese2
625c3907c6c5fe36d5cc1f2f91d8e062c90c932e
[ "BSD-3-Clause" ]
null
null
null
sword_Offer/15_MergeList/15_MergeList.cpp
bastamon/CodingInterviewChinese2
625c3907c6c5fe36d5cc1f2f91d8e062c90c932e
[ "BSD-3-Clause" ]
1
2021-04-12T03:06:44.000Z
2021-04-12T03:06:44.000Z
#include<iostream> #include<cstdio> #include<cstdlib> #include<vector> using namespace std; typedef unsigned int uint32_t; struct ListNode { int val; struct ListNode *next; ListNode(int x):val(x), next(nullptr) { } }; class Solution { public: ListNode* Merge(ListNode* pHead1, ListNode* pHead2) { if (...
19.626168
70
0.57381
bastamon
be7549bb9547b3ee1500cee7415bc14096aaa0f9
245
cpp
C++
engine/src/wolf.render/vulkan/w_queue.cpp
SiminBadri/Wolf.Engine
3da04471ec26e162e1cbb7cc88c7ce37ee32c954
[ "BSL-1.0", "Apache-2.0", "libpng-2.0" ]
1
2020-07-15T13:14:26.000Z
2020-07-15T13:14:26.000Z
engine/src/wolf.render/vulkan/w_queue.cpp
foroughmajidi/Wolf.Engine
f08a8cbd519ca2c70b1c8325250dc9af7ac4c498
[ "BSL-1.0", "Apache-2.0", "libpng-2.0" ]
null
null
null
engine/src/wolf.render/vulkan/w_queue.cpp
foroughmajidi/Wolf.Engine
f08a8cbd519ca2c70b1c8325250dc9af7ac4c498
[ "BSL-1.0", "Apache-2.0", "libpng-2.0" ]
null
null
null
#include "w_render_pch.h" #include "w_graphics_device_manager.h" #include "w_queue.h" using namespace wolf::render::vulkan; ULONG w_queue::release() { #ifdef __VULKAN__ this->queue = 0; #endif this->index = UINT32_MAX; return 0; }
16.333333
38
0.706122
SiminBadri
be779e91d8257040e758a8786c3507e3a5da7fc5
1,017
hpp
C++
Source/Gui/Windows/MainWindow.hpp
SCOTT-HAMILTON/OTPGen
706ba9a3546abddc1d1eb8f4edac710fe35a0b22
[ "BSD-2-Clause" ]
8
2018-12-21T12:04:19.000Z
2022-03-20T04:11:44.000Z
Source/Gui/Windows/MainWindow.hpp
SCOTT-HAMILTON/OTPGen
706ba9a3546abddc1d1eb8f4edac710fe35a0b22
[ "BSD-2-Clause" ]
8
2019-11-24T19:51:10.000Z
2021-01-23T19:02:57.000Z
Source/Gui/Windows/MainWindow.hpp
SCOTT-HAMILTON/OTPGen
706ba9a3546abddc1d1eb8f4edac710fe35a0b22
[ "BSD-2-Clause" ]
5
2019-01-28T03:36:02.000Z
2020-11-04T07:27:05.000Z
#ifndef MAINWINDOW_HPP #define MAINWINDOW_HPP #include <memory> #include <QLayout> #include <QSystemTrayIcon> #include <QEvent> #include <QTimer> #include <QShortcut> #include <QClipboard> #include <WidgetHelpers/QRootWidget.hpp> class MainWindow : public QRootWidget { Q_OBJECT public: MainWindow(QWidget...
18.833333
55
0.723697
SCOTT-HAMILTON
be7848a05dfa45d2f9b923655cfa196b96cf4459
2,542
cpp
C++
xs/src/Geometry.cpp
Lenbok/Slic3r
bc44611f241a5f1d7ab66f14ffc0b1f3d563fc59
[ "CC-BY-3.0" ]
null
null
null
xs/src/Geometry.cpp
Lenbok/Slic3r
bc44611f241a5f1d7ab66f14ffc0b1f3d563fc59
[ "CC-BY-3.0" ]
null
null
null
xs/src/Geometry.cpp
Lenbok/Slic3r
bc44611f241a5f1d7ab66f14ffc0b1f3d563fc59
[ "CC-BY-3.0" ]
null
null
null
#include "Geometry.hpp" #include "clipper.hpp" #include <algorithm> #include <map> #include <vector> namespace Slic3r { namespace Geometry { static bool sort_points (Point a, Point b) { return (a.x < b.x) || (a.x == b.x && a.y < b.y); } /* This implementation is based on Andrew's monotone chain 2D convex hull al...
29.55814
110
0.630606
Lenbok
be78a1bc0d677423a54f3642c06c75d64788e75f
5,753
cpp
C++
examples/shape_visitor/shape_visitor.cpp
cesiumsolutions/dynamic_generic_visitor
da8fe928bf77270e1a64beae0051bfadba7ea256
[ "MIT" ]
null
null
null
examples/shape_visitor/shape_visitor.cpp
cesiumsolutions/dynamic_generic_visitor
da8fe928bf77270e1a64beae0051bfadba7ea256
[ "MIT" ]
null
null
null
examples/shape_visitor/shape_visitor.cpp
cesiumsolutions/dynamic_generic_visitor
da8fe928bf77270e1a64beae0051bfadba7ea256
[ "MIT" ]
null
null
null
#include <shapes/Area.hpp> #include <shapes/Circumference.hpp> #include <visitor/DynamicVisitor.hpp> #include <visitor/Visitable.hpp> #include <boost/dll.hpp> #include <boost/function.hpp> #include <functional> #include <iostream> #include <vector> struct NonShape { }; using ShapeVisitor = DynamicVisitor<f...
33.447674
79
0.615505
cesiumsolutions
be798bd7d9254706e90695873217fa9b42c15cad
4,052
cpp
C++
ophidian/parser/Guide.cpp
sheiny/ophidian
037ae44357e0093d60b379513615b467c1f841cf
[ "Apache-2.0" ]
40
2016-04-22T14:42:42.000Z
2021-05-25T23:14:23.000Z
ophidian/parser/Guide.cpp
sheiny/ophidian
037ae44357e0093d60b379513615b467c1f841cf
[ "Apache-2.0" ]
64
2016-04-28T21:10:47.000Z
2017-11-07T11:33:17.000Z
ophidian/parser/Guide.cpp
eclufsc/openeda
037ae44357e0093d60b379513615b467c1f841cf
[ "Apache-2.0" ]
25
2016-04-18T19:31:48.000Z
2021-05-05T15:50:41.000Z
#include <fstream> #include <regex> #include <boost/algorithm/string.hpp> #include <boost/lexical_cast.hpp> #include "Guide.h" #include "ParserException.h" namespace ophidian::parser { Guide::Guide(const std::string &guide_file): m_nets{} { read_file(guide_file); } void Guide::read_fi...
29.794118
92
0.498026
sheiny
be7b22d8fc9f371a4247a393f425f5757397d3e6
90
cpp
C++
multi_goal_pure_pursuit/test/test_fuzzy.cpp
szenergy/szenergy-path-tracking
83cccd326d9999234e289507e35e65531a86bed9
[ "MIT" ]
null
null
null
multi_goal_pure_pursuit/test/test_fuzzy.cpp
szenergy/szenergy-path-tracking
83cccd326d9999234e289507e35e65531a86bed9
[ "MIT" ]
null
null
null
multi_goal_pure_pursuit/test/test_fuzzy.cpp
szenergy/szenergy-path-tracking
83cccd326d9999234e289507e35e65531a86bed9
[ "MIT" ]
null
null
null
/* * test_fuzzy.cpp * * Created on: Nov 25, 2019 * Author: kyberszittya */
8.181818
28
0.544444
szenergy
be7b941183275b023eb357d753bfa4012c7837e8
3,569
cpp
C++
tools/AppInsights/src/core/contracts/Session.cpp
crossmob/WinObjC
7bec24671c4c18b81aaf85eff2887438f18a697c
[ "MIT" ]
6,717
2015-08-06T18:04:37.000Z
2019-05-04T12:38:51.000Z
tools/AppInsights/src/core/contracts/Session.cpp
Michael-Young48/WinObjC
7bec24671c4c18b81aaf85eff2887438f18a697c
[ "MIT" ]
2,711
2015-08-06T18:41:09.000Z
2019-04-29T12:14:23.000Z
tools/AppInsights/src/core/contracts/Session.cpp
Michael-Young48/WinObjC
7bec24671c4c18b81aaf85eff2887438f18a697c
[ "MIT" ]
1,021
2015-08-06T18:08:56.000Z
2019-04-14T06:50:57.000Z
#include "Session.h" #include "../common/Utils.h" using namespace ApplicationInsights::core; #ifdef WINAPI_FAMILY_PARTITION // it's SOME kind of Windows #if !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) // store or phone using namespace Platform; using namespace Windows::Foundation; using namespace Windows::Stor...
24.613793
72
0.726254
crossmob
be7cfd09493ed8969fedd5f63630e700790d1e6f
1,661
cpp
C++
CONTESTS/CODEFORCES/div2 1008/D.cpp
priojeetpriyom/competitive-programming
0024328972d4e14c04c0fd5d6dd3cdf131d84f9d
[ "MIT" ]
1
2021-11-22T02:26:43.000Z
2021-11-22T02:26:43.000Z
CONTESTS/CODEFORCES/div2 1008/D.cpp
priojeetpriyom/competitive-programming
0024328972d4e14c04c0fd5d6dd3cdf131d84f9d
[ "MIT" ]
null
null
null
CONTESTS/CODEFORCES/div2 1008/D.cpp
priojeetpriyom/competitive-programming
0024328972d4e14c04c0fd5d6dd3cdf131d84f9d
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; vector<int> pre [100100]; int a,b,c; set<pair<int, pair<int, int> > >sset; pair<int, pair<int, int> > gett(int i, int j, int k) { i = pre[a][i]; j = pre[b][j]; k = pre[c][k]; if(k<i) swap(k, i); if(k<j) swap(k, j); ...
21.294872
78
0.376881
priojeetpriyom
be7db08de46a532fd979f06ed37d77136e1adf13
3,906
cpp
C++
Fractal/Fractal/src/core/systems/Engine.cpp
talislincoln/fractals
a9ed52e99b9737ce0a6bba715f61e4d122e37dd5
[ "MIT" ]
2
2016-09-22T16:11:17.000Z
2016-09-22T16:11:55.000Z
Fractal/Fractal/src/core/systems/Engine.cpp
talislincoln/FractalGameEngine
a9ed52e99b9737ce0a6bba715f61e4d122e37dd5
[ "MIT" ]
null
null
null
Fractal/Fractal/src/core/systems/Engine.cpp
talislincoln/FractalGameEngine
a9ed52e99b9737ce0a6bba715f61e4d122e37dd5
[ "MIT" ]
null
null
null
#include "core\systems\Engine.h" #include <iostream> namespace fractal { namespace fcore { Engine::Engine(AbstractGame* game) : m_game(game), m_isRunning(false), m_maxFPS(60.0f) { } Engine::~Engine() { } int Engine::run() { if (!initialize()) { printf("Engine failed to init."); ...
21.94382
115
0.649002
talislincoln
be7faef478ae77d4ae662b434c89274f29ade1ad
246
cpp
C++
main.cpp
marcomalabag/GDGRAPX-Assignment---Simple-Portrait
b51ce5634eb433de06e0f660f6d29e3728f1cca8
[ "Unlicense" ]
null
null
null
main.cpp
marcomalabag/GDGRAPX-Assignment---Simple-Portrait
b51ce5634eb433de06e0f660f6d29e3728f1cca8
[ "Unlicense" ]
null
null
null
main.cpp
marcomalabag/GDGRAPX-Assignment---Simple-Portrait
b51ce5634eb433de06e0f660f6d29e3728f1cca8
[ "Unlicense" ]
null
null
null
#include <stdio.h> #include <GL/glew.h> #include <GLFW/glfw3.h> #include "AppWindow.h" int main() { AppWindow app; // AppWindow extends the Window class. The Window class is responsible for initializing the window while (app.isRunning()); }
22.363636
115
0.723577
marcomalabag
be81de1370ce4263d832cf1d7cb041645e4b05b3
868
cpp
C++
vne/commandbase.cpp
tuxzz/codebase
a7279a4b1e782811b12d4adc30f7381e7ed94b70
[ "Unlicense" ]
null
null
null
vne/commandbase.cpp
tuxzz/codebase
a7279a4b1e782811b12d4adc30f7381e7ed94b70
[ "Unlicense" ]
null
null
null
vne/commandbase.cpp
tuxzz/codebase
a7279a4b1e782811b12d4adc30f7381e7ed94b70
[ "Unlicense" ]
null
null
null
#include "commandbase.hpp" #include <QtGlobal> #include "gamecontext.hpp" CommandBase::CommandBase(CommandType t) { m_type = t; m_context = nullptr; m_position = -1; } CommandBase::~CommandBase() {} void CommandBase::requestStop() { Q_ASSERT(m_type != Sync); } void CommandBase::lo...
17.019608
62
0.670507
tuxzz
be831c663b131547b9b1cd4688c960bfa3636e5f
4,603
cpp
C++
NinjaVsZombie/NinjaVsZombies - final/source/PowerUp.cpp
Cabrra/SPG-Project
7602de287b750c882f9fe9e2bc57e0492d36a76f
[ "MIT" ]
null
null
null
NinjaVsZombie/NinjaVsZombies - final/source/PowerUp.cpp
Cabrra/SPG-Project
7602de287b750c882f9fe9e2bc57e0492d36a76f
[ "MIT" ]
null
null
null
NinjaVsZombie/NinjaVsZombies - final/source/PowerUp.cpp
Cabrra/SPG-Project
7602de287b750c882f9fe9e2bc57e0492d36a76f
[ "MIT" ]
null
null
null
#include "PowerUp.h" #include "../SGD Wrappers/SGD_GraphicsManager.h" #include "../SGD Wrappers/SGD_AudioManager.h" #include "Game.h" #include "DestroyEntityMessage.h" #include "GamePlayState.h" #include "CreateEmiterMessage.h" #include "DeleteEmitterMessage.h" #include "Player.h" #define POWER_UP_LIFETIME 8.0f Po...
26.761628
150
0.647404
Cabrra
be8430c9381033571dfd35209380f01d3d4b5456
513
hpp
C++
source/x86/source_moss/kernel/memory/gdt.hpp
imallett/MOSS
5ab7bc9c6b1669e2c99aa797d7091c6b52a0ea38
[ "MIT" ]
2
2020-04-02T14:00:33.000Z
2021-06-29T05:50:30.000Z
source/x86/source_moss/kernel/memory/gdt.hpp
imallett/MOSS
5ab7bc9c6b1669e2c99aa797d7091c6b52a0ea38
[ "MIT" ]
null
null
null
source/x86/source_moss/kernel/memory/gdt.hpp
imallett/MOSS
5ab7bc9c6b1669e2c99aa797d7091c6b52a0ea38
[ "MIT" ]
null
null
null
#pragma once #include "../../includes.hpp" namespace MOSS { namespace Memory { //Load the global descriptor table (GDT), which describes memory layout to the CPU. See ".cpp" // file for more info. Note: this function ought to be called with hardware interrupts // disabled. void load_gdt(void); //...
24.428571
99
0.711501
imallett
be8d8a710e6fe5f151e7a82eec8095b71ae69f76
246
hpp
C++
include/RED4ext/Scripting/Natives/Generated/ent/RepellingShape.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
42
2020-12-25T08:33:00.000Z
2022-03-22T14:47:07.000Z
include/RED4ext/Scripting/Natives/Generated/ent/RepellingShape.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
38
2020-12-28T22:36:06.000Z
2022-02-16T11:25:47.000Z
include/RED4ext/Scripting/Natives/Generated/ent/RepellingShape.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
20
2020-12-28T22:17:38.000Z
2022-03-22T17:19:01.000Z
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> namespace RED4ext { namespace ent { enum class RepellingShape : uint32_t { Sphere = 0, Capsule = 1, }; } // namespace ent } // namespace RED4ext
15.375
57
0.695122
jackhumbert
be90c7f5e6941c8162d45435f42eb60efb0282b1
16,436
cc
C++
Coordinator.cc
cafaro/DUDDSketch
75660f3c689e1761ccf0f5a97accf82dc45cda57
[ "MIT" ]
null
null
null
Coordinator.cc
cafaro/DUDDSketch
75660f3c689e1761ccf0f5a97accf82dc45cda57
[ "MIT" ]
null
null
null
Coordinator.cc
cafaro/DUDDSketch
75660f3c689e1761ccf0f5a97accf82dc45cda57
[ "MIT" ]
null
null
null
/********************************************************/ /* Distributed UDDSketch */ /* */ /* Coded by Catiuscia Melle */ /* */ /* April 8, 2021 ...
30.047532
193
0.435994
cafaro
be94b3e1328e0f7937890e5f6240c560ece3c0c1
1,006
cpp
C++
ACM/2018-2019 Summer UESTC ACM Training/UESTC 2019 Summer Training #7/G.cpp
lyh543/Some-Codes
2b295338f802e71c6b613350f1b6e8299856780f
[ "MIT" ]
3
2020-06-05T08:29:16.000Z
2021-12-09T05:44:54.000Z
ACM/2018-2019 Summer UESTC ACM Training/UESTC 2019 Summer Training #7/G.cpp
lyh543/Some-Codes
6648d57be5cc9642d623563b35780446ed986edc
[ "MIT" ]
null
null
null
ACM/2018-2019 Summer UESTC ACM Training/UESTC 2019 Summer Training #7/G.cpp
lyh543/Some-Codes
6648d57be5cc9642d623563b35780446ed986edc
[ "MIT" ]
1
2020-09-15T14:50:31.000Z
2020-09-15T14:50:31.000Z
#include<bits/stdc++.h> #define ld long double #define ll long long #define infty 0x3fffffffll #define fastio ios::sync_with_stdio(0);cin.tie(0);cout.tie(0); using namespace std; typedef pair<ll, ll> P; const int maxn = 1e5+5; P operator + (P a, P b) { return make_pair(a.first + b.first, a.second + b.se...
17.649123
63
0.513917
lyh543
be98c0be0a4ec14805f6a73fa59a7d234602899a
3,086
cpp
C++
src/fps_map/local_map.cpp
Lab-RoCoCo/fps_mapper
376e557c8f5012e05187fe85ee3f4044f99f944a
[ "BSD-3-Clause" ]
1
2017-12-01T14:57:16.000Z
2017-12-01T14:57:16.000Z
src/fps_map/local_map.cpp
Lab-RoCoCo/fps_mapper
376e557c8f5012e05187fe85ee3f4044f99f944a
[ "BSD-3-Clause" ]
null
null
null
src/fps_map/local_map.cpp
Lab-RoCoCo/fps_mapper
376e557c8f5012e05187fe85ee3f4044f99f944a
[ "BSD-3-Clause" ]
null
null
null
#include "local_map.h" #include "GL/gl.h" #include "gl_helpers/opengl_primitives.h" #include <iostream> namespace fps_mapper { using namespace std; LocalMap::LocalMap(const Eigen::Isometry3f& transform, int id, boss::IdContext* context) : MapNode(transform, id, context){...
28.841121
99
0.639339
Lab-RoCoCo
be99a6c7f521b15b4e0159e34337e154ff518940
469
cpp
C++
fileio.cpp
MarioBreitenbach/FittsLawChecker
4eadf00d94fe4bbadd6c0948ab3937531c78ac08
[ "MIT" ]
null
null
null
fileio.cpp
MarioBreitenbach/FittsLawChecker
4eadf00d94fe4bbadd6c0948ab3937531c78ac08
[ "MIT" ]
null
null
null
fileio.cpp
MarioBreitenbach/FittsLawChecker
4eadf00d94fe4bbadd6c0948ab3937531c78ac08
[ "MIT" ]
null
null
null
#include "fileio.h" #include <QFile> #include <QTextStream> #include <QMessageLogger> FileIO::FileIO(QObject *parent) : QObject(parent) {} FileIO::~FileIO() {} void FileIO::writeToFile(const QString &inputText) { QString filename = "Results.csv"; QFile file( filename ); if ( file.open(QIODevice::Read...
18.76
81
0.641791
MarioBreitenbach
be9b6586133fe42ab4a0c33e252bfbdeb482ae95
4,954
cc
C++
metrics/src/LongAdder.cc
benjamin-bader/cppmetrics
a5ab3295ad3a9774522f3bffa67732a0048a140e
[ "Apache-2.0" ]
7
2018-07-09T20:41:10.000Z
2022-01-04T07:41:11.000Z
metrics/src/LongAdder.cc
benjamin-bader/cppmetrics
a5ab3295ad3a9774522f3bffa67732a0048a140e
[ "Apache-2.0" ]
6
2018-07-09T20:54:51.000Z
2022-01-11T17:50:37.000Z
metrics/src/LongAdder.cc
benjamin-bader/cppmetrics
a5ab3295ad3a9774522f3bffa67732a0048a140e
[ "Apache-2.0" ]
2
2018-07-09T20:22:16.000Z
2019-02-07T20:44:56.000Z
// Copyright 2019 Benjamin Bader // // 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 agree...
20.556017
100
0.631813
benjamin-bader
be9e13daa6e50c1daf8efc41ba5a4ea0c671e43a
13,998
cpp
C++
imagecore/image/colorpalette.cpp
shahzadlone/vireo
73e7176d0255a9506b009c9ab8cc532ecd86e98c
[ "MIT" ]
890
2017-12-15T17:55:42.000Z
2022-03-27T07:46:49.000Z
imagecore/image/colorpalette.cpp
shahzadlone/vireo
73e7176d0255a9506b009c9ab8cc532ecd86e98c
[ "MIT" ]
29
2017-12-16T21:49:08.000Z
2021-09-08T23:04:10.000Z
imagecore/image/colorpalette.cpp
shahzadlone/vireo
73e7176d0255a9506b009c9ab8cc532ecd86e98c
[ "MIT" ]
88
2017-12-15T19:29:49.000Z
2022-03-21T00:59:29.000Z
/* * MIT License * * Copyright (c) 2017 Twitter * * 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, ...
32.553488
164
0.65788
shahzadlone
bea733bb5b61b7a00afb2cf23c29c9c8e2cf8a38
4,009
cc
C++
ppapi/cpp/audio_encoder.cc
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
ppapi/cpp/audio_encoder.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
ppapi/cpp/audio_encoder.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ppapi/cpp/audio_encoder.h" #include "ppapi/c/pp_errors.h" #include "ppapi/c/ppb_audio_encoder.h" #include "ppapi/cpp/completion_callback.h" #in...
33.689076
80
0.708656
google-ar
bea9c06deb3dd0d25c237efb67d158d958cb257a
2,065
cpp
C++
Advent of Code/2021/09_1_smoke_basin.cpp
aleksi-kangas/competitive-programming
149c38158c889b3417034b5d9d6cd4517f937447
[ "MIT" ]
null
null
null
Advent of Code/2021/09_1_smoke_basin.cpp
aleksi-kangas/competitive-programming
149c38158c889b3417034b5d9d6cd4517f937447
[ "MIT" ]
null
null
null
Advent of Code/2021/09_1_smoke_basin.cpp
aleksi-kangas/competitive-programming
149c38158c889b3417034b5d9d6cd4517f937447
[ "MIT" ]
null
null
null
#include <algorithm> #include <bitset> #include <climits> #include <cmath> #include <deque> #include <functional> #include <iostream> #include <iterator> #include <map> #include <memory> #include <numeric> #include <queue> #include <set> #include <sstream> #include <stack> #include <string> #include <tuple> #include <u...
21.510417
84
0.502179
aleksi-kangas
beb157cd2d9ef531f5d298b710051a788c7e8fac
6,010
cpp
C++
src/pam/pam.cpp
merelabs/mere-auth-lib
f4b09375563094af74ba937b4c2dca440c0d4431
[ "BSD-2-Clause" ]
2
2021-12-09T22:44:39.000Z
2022-03-26T16:29:50.000Z
src/pam/pam.cpp
merelabs/mere-auth
f4b09375563094af74ba937b4c2dca440c0d4431
[ "BSD-2-Clause" ]
null
null
null
src/pam/pam.cpp
merelabs/mere-auth
f4b09375563094af74ba937b4c2dca440c0d4431
[ "BSD-2-Clause" ]
null
null
null
#include "pam.h" #include <iostream> Mere::Auth::PAM::~PAM() { } Mere::Auth::PAM::PAM(const std::string &service, int flags) : m_flags(flags), m_service(service), handler(NULL) { } int Mere::Auth::PAM::login(const Applicant &applicant) { const struct pam_conv converse = { handshake, (void *) &a...
27.072072
123
0.557903
merelabs