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
d94b5d651e1fc92e91e4fa3aa375144b3e673f8c
1,674
hpp
C++
common/rendersystem.hpp
Mikko-Finell/bullet
0aa08008c58d4c6fb2c4e12322a8925257cecc1c
[ "Naumen", "Condor-1.1", "MS-PL" ]
1
2020-08-12T22:52:22.000Z
2020-08-12T22:52:22.000Z
common/rendersystem.hpp
Mikko-Finell/bullet
0aa08008c58d4c6fb2c4e12322a8925257cecc1c
[ "Naumen", "Condor-1.1", "MS-PL" ]
3
2019-06-19T19:15:26.000Z
2019-06-19T19:15:27.000Z
common/rendersystem.hpp
Mikko-Finell/bullet
0aa08008c58d4c6fb2c4e12322a8925257cecc1c
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
#ifndef rendersystem_hpp #define rendersystem_hpp #include "sprite.hpp" #include "stl.hpp" #include "sfml.hpp" /** * RenderSystem * Base class for rendering gameobjects. */ class RenderSystem { protected: std::unordered_set<SpriteImpl *> sprites; sf::Texture & texture; std::vector<sf::Vertex> vs; publ...
24.26087
77
0.685185
Mikko-Finell
d94bf94e227d13b0aa6146b827ce9f0971e17023
608
cpp
C++
Leetcode/1000-2000/1339. Maximum Product of Splitted Binary Tree/1339.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/1000-2000/1339. Maximum Product of Splitted Binary Tree/1339.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/1000-2000/1339. Maximum Product of Splitted Binary Tree/1339.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
class Solution { public: int maxProduct(TreeNode* root) { constexpr int kMod = 1e9 + 7; long ans = 0; vector<int> allSums; const long totalSum = treeSum(root, allSums); for (const long sum : allSums) ans = max(ans, sum * (totalSum - sum)); return ans % kMod; } private: int treeS...
22.518519
55
0.618421
Next-Gen-UI
d94c9ecc0a9d01b3e1c7f66f9a48abe0555e2c87
685
cpp
C++
ParallelEngine/animation.cpp
Archiving/ParallelEngine
53f287d6e71bcf323cfdad763c6b6818795ada7c
[ "MIT" ]
4
2019-07-29T14:35:17.000Z
2019-08-06T04:35:18.000Z
ParallelEngine/animation.cpp
Archiving/ParallelEngine
53f287d6e71bcf323cfdad763c6b6818795ada7c
[ "MIT" ]
6
2019-07-28T22:34:54.000Z
2019-08-29T07:18:04.000Z
ParallelEngine/animation.cpp
Archiving/ParallelEngine
53f287d6e71bcf323cfdad763c6b6818795ada7c
[ "MIT" ]
null
null
null
#include "animation.h" #include <iostream> Animation::Animation(ALLEGRO_BITMAP * img, int frameWidth, int frameHeight, int frameDelay, int maxFrames, int x, int y) : image(img), width(frameWidth), height(frameHeight), delay(frameDelay), numFrames(maxFrames) { currentFrame = 0; frameCount = 0; this->x = x; this-...
24.464286
123
0.681752
Archiving
d9539fbedcadbb7e5d6485aa4a514acb0adcf5f2
5,674
cpp
C++
sort/src/tracker.cpp
AsakusaRinne/tensorrt_yolov5_tracker
b9a3a6fc94710e8291d6a614ed2b04cbc4c56599
[ "MIT" ]
22
2021-03-03T10:16:37.000Z
2022-01-05T14:47:38.000Z
sort/src/tracker.cpp
AsakusaRinne/tensorrt_yolov5_tracker
b9a3a6fc94710e8291d6a614ed2b04cbc4c56599
[ "MIT" ]
3
2021-05-27T01:52:16.000Z
2021-07-13T08:49:30.000Z
sort/src/tracker.cpp
AsakusaRinne/tensorrt_yolov5_tracker
b9a3a6fc94710e8291d6a614ed2b04cbc4c56599
[ "MIT" ]
5
2021-03-23T07:13:05.000Z
2022-02-18T09:10:17.000Z
#include "tracker.h" Tracker::Tracker() { id_ = 0; } float Tracker::CalculateIou(const cv::Rect& det, const Track& track) { auto trk = track.GetStateAsBbox(); // get min/max points auto xx1 = std::max(det.tl().x, trk.tl().x); auto yy1 = std::max(det.tl().y, trk.tl().y); auto xx2 = std::min(de...
31.348066
85
0.527846
AsakusaRinne
d9561e5b654f0f2d887ec447b96bb9c62e313b7e
5,729
cpp
C++
pybindings/pyhdbscan.cpp
wangyiqiu/hdbscan
0f21522a4d34db040dd0cd6c6506ad39ed6f2a9e
[ "MIT" ]
7
2021-03-29T05:54:11.000Z
2021-12-28T04:13:10.000Z
pybindings/pyhdbscan.cpp
wangyiqiu/hdbscan
0f21522a4d34db040dd0cd6c6506ad39ed6f2a9e
[ "MIT" ]
1
2021-09-16T05:38:33.000Z
2021-09-16T22:18:26.000Z
pybindings/pyhdbscan.cpp
wangyiqiu/hdbscan
0f21522a4d34db040dd0cd6c6506ad39ed6f2a9e
[ "MIT" ]
3
2021-07-13T23:42:47.000Z
2021-12-05T12:55:20.000Z
#include "hdbscan/hdbscan.h" #include "hdbscan/point.h" #include "hdbscan/edge.h" #include <string> #include <limits> #include <pybind11/pybind11.h> #include <pybind11/stl.h> #include <pybind11/numpy.h> namespace py = pybind11; using namespace parlay; template<class T, class Seq> py::array_t<T> wrapArray2d(Seq& resu...
40.062937
117
0.579857
wangyiqiu
d9569c3daae5ab2508857810be13e24070662b22
6,383
hpp
C++
libraries/fc/include/fc/container/flat.hpp
theenemys/oasischain_inter
db968d4d0bd1a487f4edb4cb673fda481d24a06c
[ "MIT" ]
37
2018-06-14T07:17:36.000Z
2022-02-18T18:03:42.000Z
libraries/fc/include/fc/container/flat.hpp
theenemys/oasischain_inter
db968d4d0bd1a487f4edb4cb673fda481d24a06c
[ "MIT" ]
36
2018-07-14T16:18:20.000Z
2021-12-24T01:45:26.000Z
libraries/fc/include/fc/container/flat.hpp
theenemys/oasischain_inter
db968d4d0bd1a487f4edb4cb673fda481d24a06c
[ "MIT" ]
131
2017-05-31T02:15:02.000Z
2022-03-23T12:19:35.000Z
#pragma once #include <fc/container/flat_fwd.hpp> #include <fc/container/container_detail.hpp> #include <boost/container/flat_map.hpp> #include <boost/container/flat_set.hpp> #include <fc/crypto/hex.hpp> namespace fc { namespace raw { template<typename Stream, typename T, typename A> void pack( Strea...
34.13369
120
0.574025
theenemys
d958994bf32897ef9dafbc8fb82063e6ce96d0ac
660
cpp
C++
Apr'20/72(Edit Distance).cpp
JanaSabuj/Leetcode-solutions
78d10926b15252a969df598fbf1f9b69b2760b79
[ "MIT" ]
13
2019-10-12T14:36:32.000Z
2021-06-08T04:26:30.000Z
Apr'20/72(Edit Distance).cpp
JanaSabuj/Leetcode-solutions
78d10926b15252a969df598fbf1f9b69b2760b79
[ "MIT" ]
1
2020-02-29T14:02:39.000Z
2020-02-29T14:02:39.000Z
Apr'20/72(Edit Distance).cpp
JanaSabuj/Leetcode-solutions
78d10926b15252a969df598fbf1f9b69b2760b79
[ "MIT" ]
3
2020-02-08T12:04:28.000Z
2020-03-17T11:53:00.000Z
class Solution { public: int dp[1000][1000]; int ED(string& A, string& B, int m, int n){ if(m == 0) return n; if(n == 0) return m; if(dp[m][n] != -1) return dp[m][n]; if(A[m - 1] == B[n - 1]) return dp[m][n] =...
23.571429
86
0.398485
JanaSabuj
d959362abe77359494b1db24a55bbb67b54a7def
1,579
cpp
C++
crypto/Pbkdf2.cpp
Acidburn0zzz/NfWebCrypto
0186e3ebde1779419053384983612d7d494e6bcc
[ "Apache-2.0" ]
null
null
null
crypto/Pbkdf2.cpp
Acidburn0zzz/NfWebCrypto
0186e3ebde1779419053384983612d7d494e6bcc
[ "Apache-2.0" ]
null
null
null
crypto/Pbkdf2.cpp
Acidburn0zzz/NfWebCrypto
0186e3ebde1779419053384983612d7d494e6bcc
[ "Apache-2.0" ]
null
null
null
/* * * Copyright 2013 Netflix, Inc. * * 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 ap...
26.316667
83
0.673844
Acidburn0zzz
d95d2faee17dced9b66de9809813caec1c08cbc9
2,348
hh
C++
include/matrix.hh
KPO-2020-2021/zad3-Szymon-Sobczak
57a6409da5bd2971b71f93f4118d2e8c52b0f83d
[ "Unlicense" ]
null
null
null
include/matrix.hh
KPO-2020-2021/zad3-Szymon-Sobczak
57a6409da5bd2971b71f93f4118d2e8c52b0f83d
[ "Unlicense" ]
null
null
null
include/matrix.hh
KPO-2020-2021/zad3-Szymon-Sobczak
57a6409da5bd2971b71f93f4118d2e8c52b0f83d
[ "Unlicense" ]
null
null
null
#pragma once #include "size.hh" #include "vector.hh" #include <iostream> #include <cstdlib> #include <cmath> /************************************************************************************* | Klasa modelujaca w programie pojecie macierzy. | | Klasa posiada prywatne pole "val...
55.904762
140
0.611584
KPO-2020-2021
d960c6dd1f2255bbe3434f92e1c3c1893370a74c
153
hpp
C++
src/source/util/bytestream.hpp
mvpwizard/DLA
5ead2574e61e619ca3a93f1e771e3988fc144928
[ "MIT" ]
1
2019-03-24T12:07:46.000Z
2019-03-24T12:07:46.000Z
src/source/util/bytestream.hpp
nepitdev/DLA
5ead2574e61e619ca3a93f1e771e3988fc144928
[ "MIT" ]
10
2019-03-06T20:27:39.000Z
2019-11-27T08:28:12.000Z
src/source/util/bytestream.hpp
openepit/DLA
5ead2574e61e619ca3a93f1e771e3988fc144928
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <cinttypes> namespace dla { class bytestream { public: virtual uint8_t next() = 0; }; }
11.769231
35
0.594771
mvpwizard
d960e1141f07857795002d6608cc9b2bfdcf3aa4
18,824
cpp
C++
Sample001/src/main.cpp
Monsho/D3D12Samples
4624fd64b57c12fee1085ecfba1f770f802a236c
[ "MIT" ]
32
2017-10-11T00:23:17.000Z
2022-01-02T14:08:56.000Z
Sample001/src/main.cpp
Monsho/D3D12Samples
4624fd64b57c12fee1085ecfba1f770f802a236c
[ "MIT" ]
null
null
null
Sample001/src/main.cpp
Monsho/D3D12Samples
4624fd64b57c12fee1085ecfba1f770f802a236c
[ "MIT" ]
6
2019-01-18T13:16:01.000Z
2021-09-07T09:43:20.000Z
#include <sl12/device.h> #include <sl12/swapchain.h> #include <sl12/command_queue.h> #include <sl12/command_list.h> #include <sl12/descriptor_heap.h> #include <sl12/descriptor.h> #include <sl12/texture.h> #include <sl12/texture_view.h> #include <sl12/sampler.h> #include <sl12/fence.h> #include <sl12/buffer.h> #include...
29.184496
197
0.740703
Monsho
d961e99b79a916ca0f61a8909cbe1c26635b5d9a
2,443
cpp
C++
src/core/DataProxy.cpp
Opticalp/instrumentall
f952c1cd54f375dc4cb258fec5af34d14c2b8044
[ "MIT" ]
1
2020-05-19T02:06:55.000Z
2020-05-19T02:06:55.000Z
src/core/DataProxy.cpp
Opticalp/instrumentall
f952c1cd54f375dc4cb258fec5af34d14c2b8044
[ "MIT" ]
16
2015-11-18T13:25:30.000Z
2018-05-17T19:25:46.000Z
src/core/DataProxy.cpp
Opticalp/instrumentall
f952c1cd54f375dc4cb258fec5af34d14c2b8044
[ "MIT" ]
null
null
null
/** * @file src/core/DataProxy.cpp * @date Jul. 2016 * @author PhRG - opticalp.fr */ /* Copyright (c) 2016 Ph. Renaud-Goud / Opticalp 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 witho...
26.554348
78
0.714695
Opticalp
d9632bf50b6a41f647f6954a10d20645a2a9c57c
18,384
hpp
C++
src/sim-driver/SimCallbacks.hpp
LoganBarnes/SimulationDriver
25b68b653afa81f3b55681513d3dd99fd36f6a5e
[ "MIT" ]
null
null
null
src/sim-driver/SimCallbacks.hpp
LoganBarnes/SimulationDriver
25b68b653afa81f3b55681513d3dd99fd36f6a5e
[ "MIT" ]
1
2018-02-24T11:47:26.000Z
2018-02-24T11:47:26.000Z
src/sim-driver/SimCallbacks.hpp
LoganBarnes/SimulationDriver
25b68b653afa81f3b55681513d3dd99fd36f6a5e
[ "MIT" ]
null
null
null
#pragma once #include <sim-driver/CallbackWrapper.hpp> #include <sim-driver/SimData.hpp> #include <memory> #define GLFW_INCLUDE_NONE #include <GLFW/glfw3.h> namespace sim { template <size_t N> struct priority_tag : public priority_tag<N - 1> { }; template <> struct priority_tag<0> { }; template <typename C = Empt...
36.260355
120
0.631364
LoganBarnes
d9634f68149f776f57850245b4314d92d7b3da30
2,193
cpp
C++
cpp/game of two stack.cpp
kuwarkapur/Hacktoberfest-2022
efaafeba5ce51d8d2e2d94c6326cc20bff946f17
[ "MIT" ]
1
2021-12-03T09:23:41.000Z
2021-12-03T09:23:41.000Z
cpp/game of two stack.cpp
kuwarkapur/Hacktoberfest-2022
efaafeba5ce51d8d2e2d94c6326cc20bff946f17
[ "MIT" ]
null
null
null
cpp/game of two stack.cpp
kuwarkapur/Hacktoberfest-2022
efaafeba5ce51d8d2e2d94c6326cc20bff946f17
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; vector<string> split_string(string); class _stack{ public: int size = 0; int *nStack; _stack(int n){ size = 0; nStack = new int[n]; } _stack(int n, bool a){ size = n; nS...
21.712871
59
0.427725
kuwarkapur
d96cf49e6730cb56c4d72e6b5a8efcb85d7a8ad9
6,513
cpp
C++
OPERA-LG/src/GapCorrecter.cpp
lorenzgerber/OPERA-MS
bd1fb94f73a1bb7cefe3d9ad438bc3c53c069f9f
[ "MIT" ]
81
2018-03-22T15:01:08.000Z
2022-01-17T17:52:31.000Z
OPERA-LG/src/GapCorrecter.cpp
lorenzgerber/OPERA-MS
bd1fb94f73a1bb7cefe3d9ad438bc3c53c069f9f
[ "MIT" ]
68
2017-09-14T08:17:53.000Z
2022-03-09T18:56:12.000Z
OPERA-LG/src/GapCorrecter.cpp
lorenzgerber/OPERA-MS
bd1fb94f73a1bb7cefe3d9ad438bc3c53c069f9f
[ "MIT" ]
21
2017-09-14T06:15:18.000Z
2021-09-30T03:19:22.000Z
#include "GapCorrecter.h" GapCorrecter::GapCorrecter(void){ m_gapList = new vector<Gap*>; } GapCorrecter::GapCorrecter( int max, int min, int contigLength, int mean, int std, int readLength, vector<double> *pos ){ m_gapList = new vector<Gap*>(); m_contigLength = 0; m_contigLength = contigLength; m_maxGapSize = m...
24.393258
121
0.647014
lorenzgerber
d96dd08a6b14a3eaf66076413dcb98ef5c003663
2,716
cpp
C++
Cpp_Data_Structures_And_Algorithms/HashTableOpenAddressing.cpp
AnthonyDas/Cpp_Data_Structures_And_Algorithms
4ba834803dde0285ee2695b7ef97afbcdcf0484a
[ "MIT" ]
null
null
null
Cpp_Data_Structures_And_Algorithms/HashTableOpenAddressing.cpp
AnthonyDas/Cpp_Data_Structures_And_Algorithms
4ba834803dde0285ee2695b7ef97afbcdcf0484a
[ "MIT" ]
null
null
null
Cpp_Data_Structures_And_Algorithms/HashTableOpenAddressing.cpp
AnthonyDas/Cpp_Data_Structures_And_Algorithms
4ba834803dde0285ee2695b7ef97afbcdcf0484a
[ "MIT" ]
null
null
null
#include <string> #include <iostream> #include "HashTableOpenAddressing.h" HashTableOpenAddressing::HashTableOpenAddressing() { // Initialize current size as 0 currentSize = 0; // Initialize table arr = new HashElement *[TABLE_SIZE]; for (int i = 0; i < TABLE_SIZE; ++i) arr[i] = nullptr; // Specify deleted n...
24.468468
95
0.672312
AnthonyDas
d96eb2f9ec5a7d60f38c0f83da3303802db86ac1
1,710
cpp
C++
Source.cpp
UFFFF/TicTacToe
7ba20567f9d71c07f2a67a9e5d55aa1521ccd0fb
[ "CC0-1.0" ]
null
null
null
Source.cpp
UFFFF/TicTacToe
7ba20567f9d71c07f2a67a9e5d55aa1521ccd0fb
[ "CC0-1.0" ]
null
null
null
Source.cpp
UFFFF/TicTacToe
7ba20567f9d71c07f2a67a9e5d55aa1521ccd0fb
[ "CC0-1.0" ]
null
null
null
#include <iostream> #include <SFML/Graphics.hpp> #include "Visual.h" #include "Field.h" int main() { bool game_over = false; int a = 0; WinCon w; Field f; sf::RenderWindow window(sf::VideoMode(620, 620), "TicTacToe"); while (window.isOpen()) { sf::Event event; ...
34.897959
78
0.415205
UFFFF
d96f5dbe62d74dea33ddf962164768b362ec2e26
440
hpp
C++
src/visum/events/repeats/Weekdays.hpp
Mokon/visum
53f602fcf22eadd60f446d04a26b4a6e7217c052
[ "RSA-MD" ]
null
null
null
src/visum/events/repeats/Weekdays.hpp
Mokon/visum
53f602fcf22eadd60f446d04a26b4a6e7217c052
[ "RSA-MD" ]
null
null
null
src/visum/events/repeats/Weekdays.hpp
Mokon/visum
53f602fcf22eadd60f446d04a26b4a6e7217c052
[ "RSA-MD" ]
null
null
null
/* Copyright (C) 2013-2016 David 'Mokon' Bond, All Rights Reserved */ #pragma once enum Weekdays : uint8_t { Sunday = 0x01, Monday = 0x02, Tuesday = 0x04, Wednesday = 0x08, Thursday = 0x10, Friday = 0x20, Saturday = 0x40, }; inline Weekdays operator|(Weekdays a, Weekdays b) {...
20
69
0.588636
Mokon
d97165b8ba5d737885033466a61556bf7b114470
2,800
cpp
C++
src/scene.cpp
teamprova/ProvaEngine-CPP
0ba9b4b0d73a5a261194d5333e5a572c40c0c21f
[ "Unlicense" ]
null
null
null
src/scene.cpp
teamprova/ProvaEngine-CPP
0ba9b4b0d73a5a261194d5333e5a572c40c0c21f
[ "Unlicense" ]
null
null
null
src/scene.cpp
teamprova/ProvaEngine-CPP
0ba9b4b0d73a5a261194d5333e5a572c40c0c21f
[ "Unlicense" ]
null
null
null
#include <SDL.h> #include <math.h> #include <map> #include "scene.hpp" #include "entity.hpp" #include "screen.hpp" #include "collider2d.hpp" #include "vector2.hpp" #include "vector4.hpp" #include "rect.hpp" using namespace Prova; void Scene::EnableDebug() { _debug = true; } void Scene::DisableDebug() { _debug = ...
18.421053
70
0.666786
teamprova
d9745592d0b182ef1da12e586ee31f913dac15a4
2,160
cpp
C++
source/gtpBullet/gtCollisionShapeImpl.cpp
lineCode/gost.engine
5f69216b97fc638663b6a38bee3cacfea2abf7ba
[ "MIT" ]
null
null
null
source/gtpBullet/gtCollisionShapeImpl.cpp
lineCode/gost.engine
5f69216b97fc638663b6a38bee3cacfea2abf7ba
[ "MIT" ]
null
null
null
source/gtpBullet/gtCollisionShapeImpl.cpp
lineCode/gost.engine
5f69216b97fc638663b6a38bee3cacfea2abf7ba
[ "MIT" ]
2
2020-01-22T08:45:44.000Z
2020-02-15T20:08:41.000Z
#include "common.h" gtCollisionShapeImpl::gtCollisionShapeImpl(gtPhysicsBullet * ps): m_ps( ps ), m_shape( nullptr ), m_shapeBase( nullptr ) {} gtCollisionShapeImpl::~gtCollisionShapeImpl(){ if( m_shape ){ m_ps->_removeShape( m_shape ); } } bool gtCollisionShapeImpl::initBox( const v3f& size ){ m_shape = new...
31.764706
126
0.753704
lineCode
d976167f2d2eb026e00b5a036c28b9a3a44a8230
3,894
cpp
C++
fboss/agent/hw/benchmarks/HwTxSlowPathBenchmark.cpp
bkoray/fboss
31ba4fab15b61ee36b7a117a80c7d55bb4dc70c0
[ "BSD-3-Clause" ]
null
null
null
fboss/agent/hw/benchmarks/HwTxSlowPathBenchmark.cpp
bkoray/fboss
31ba4fab15b61ee36b7a117a80c7d55bb4dc70c0
[ "BSD-3-Clause" ]
null
null
null
fboss/agent/hw/benchmarks/HwTxSlowPathBenchmark.cpp
bkoray/fboss
31ba4fab15b61ee36b7a117a80c7d55bb4dc70c0
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2004-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #in...
34.460177
80
0.678223
bkoray
d97784a53ebaad89cdbcc8c73ea7f1034b620173
483
cpp
C++
src/Files/main.cpp
bbkane/Sandbox
848030da315045888fd8542ddee49b929fa2e64a
[ "Unlicense" ]
null
null
null
src/Files/main.cpp
bbkane/Sandbox
848030da315045888fd8542ddee49b929fa2e64a
[ "Unlicense" ]
null
null
null
src/Files/main.cpp
bbkane/Sandbox
848030da315045888fd8542ddee49b929fa2e64a
[ "Unlicense" ]
null
null
null
#include <fstream> #include <iostream> #include <stdio.h> /* defines FILENAME_MAX */ #ifdef _WIN32 #include <direct.h> #define GetCurrentDir _getcwd #else #include <unistd.h> #define GetCurrentDir getcwd #endif int main() { char cCurrentPath[FILENAME_MAX]; if (!GetCurrentDir(cCurrentPath, sizeof(cCurrentPath))) {...
20.125
73
0.722567
bbkane
d979215a6c8f2f05746a09d0f4d5f6a81360e3db
25,932
cpp
C++
src/Regard3DFeatures.cpp
RichardQZeng/Regard3D
2822275259e9ca140b77b89c1edeccf72bc45f07
[ "MIT" ]
213
2015-06-14T03:29:16.000Z
2022-03-25T17:42:43.000Z
src/Regard3DFeatures.cpp
RichardQZeng/Regard3D
2822275259e9ca140b77b89c1edeccf72bc45f07
[ "MIT" ]
45
2015-10-25T16:59:24.000Z
2022-02-08T22:44:52.000Z
src/Regard3DFeatures.cpp
RichardQZeng/Regard3D
2822275259e9ca140b77b89c1edeccf72bc45f07
[ "MIT" ]
49
2015-07-02T05:28:15.000Z
2022-01-23T06:37:31.000Z
/** * Copyright (C) 2015 Roman Hiestand * * 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, publi...
30.048667
138
0.691771
RichardQZeng
d97b756f548ad29a198f026ccfad34012c3c7b28
43,552
cpp
C++
lib/wx/c_src/gen/wxe_events.cpp
jjhoo/otp
808eccc796a05caf2f2a244db385df83c2680b9f
[ "Apache-2.0" ]
8,238
2015-01-02T01:05:29.000Z
2022-03-30T04:09:46.000Z
lib/wx/c_src/gen/wxe_events.cpp
jjhoo/otp
808eccc796a05caf2f2a244db385df83c2680b9f
[ "Apache-2.0" ]
2,988
2015-01-02T11:40:59.000Z
2022-03-31T18:29:54.000Z
lib/wx/c_src/gen/wxe_events.cpp
jjhoo/otp
808eccc796a05caf2f2a244db385df83c2680b9f
[ "Apache-2.0" ]
2,459
2015-01-01T18:54:55.000Z
2022-03-31T08:58:25.000Z
/* * %CopyrightBegin% * * Copyright Ericsson AB 2008-2021. 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 * ...
47.33913
132
0.686903
jjhoo
d97bd98e8c85f7c4376fb93ac89f2f0eb9c8bca8
1,640
hpp
C++
include/sqlitepp/exception.hpp
Fadis/SQLitepp_CMake
edb4bcc06563b715518834de941160dd7afa6d84
[ "BSL-1.0" ]
1
2015-04-30T10:18:47.000Z
2015-04-30T10:18:47.000Z
include/sqlitepp/exception.hpp
Fadis/SQLitepp_CMake
edb4bcc06563b715518834de941160dd7afa6d84
[ "BSL-1.0" ]
null
null
null
include/sqlitepp/exception.hpp
Fadis/SQLitepp_CMake
edb4bcc06563b715518834de941160dd7afa6d84
[ "BSL-1.0" ]
null
null
null
////////////////////////////////////////////////////////////////////////////// // $Id: exception.hpp 46 2006-09-05 06:38:56Z pmed $ // // Copyright (c) 2005 Pavel Medvedev // Use, modification and distribution is subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or c...
23.768116
79
0.50061
Fadis
d9805e6f15e837c1ebb5c6b571337cb7cdbce9a8
7,562
cpp
C++
src/server_main/engine/scripting/character_script.cpp
snowmeltarcade/projectfarm
6a35330f63bff06465c4ee1a0fbc5277c0d22982
[ "MIT" ]
null
null
null
src/server_main/engine/scripting/character_script.cpp
snowmeltarcade/projectfarm
6a35330f63bff06465c4ee1a0fbc5277c0d22982
[ "MIT" ]
7
2021-05-30T21:52:39.000Z
2021-06-25T22:35:28.000Z
src/server_main/engine/scripting/character_script.cpp
snowmeltarcade/projectfarm
6a35330f63bff06465c4ee1a0fbc5277c0d22982
[ "MIT" ]
null
null
null
#include "character_script.h" #include "character_script_object.h" #include "engine/entities/character.h" #include "engine/world/world.h" #include "api/logging/logging.h" namespace projectfarm::engine::scripting { std::vector<std::pair<shared::scripting::FunctionTypes, bool>> CharacterScript::GetFunctions() const ...
36.887805
125
0.626686
snowmeltarcade
d9828a63c8d6e902fef2c1b86520f97d36d25d98
86,229
cpp
C++
Engine/Source/Runtime/Landscape/Private/LandscapeGrass.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Runtime/Landscape/Private/LandscapeGrass.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Runtime/Landscape/Private/LandscapeGrass.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "CoreMinimal.h" #include "GenericPlatform/GenericPlatformStackWalk.h" #include "HAL/FileManager.h" #include "Templates/ScopedPointer.h" #include "Misc/FileHelper.h" #include "Misc/Paths.h" #include "Misc/Guid.h" #include "Math/RandomStream.h" #inclu...
34.811869
310
0.739194
windystrife
d986bd6f2e24f717ba44765c9c9857ef8aa460dc
2,074
cpp
C++
dbms/src/Functions/Conditional/NullMapBuilder.cpp
189569400/ClickHouse
0b8683c8c9f0e17446bef5498403c39e9cb483b8
[ "Apache-2.0" ]
null
null
null
dbms/src/Functions/Conditional/NullMapBuilder.cpp
189569400/ClickHouse
0b8683c8c9f0e17446bef5498403c39e9cb483b8
[ "Apache-2.0" ]
null
null
null
dbms/src/Functions/Conditional/NullMapBuilder.cpp
189569400/ClickHouse
0b8683c8c9f0e17446bef5498403c39e9cb483b8
[ "Apache-2.0" ]
2
2018-11-29T11:15:02.000Z
2019-04-12T16:56:31.000Z
#include <Functions/Conditional/NullMapBuilder.h> #include <Columns/ColumnsNumber.h> #include <Columns/ColumnNullable.h> namespace DB { namespace ErrorCodes { extern const int LOGICAL_ERROR; } namespace Conditional { Block NullMapBuilder::empty_block; void NullMapBuilder::init(const ColumnNumbers & args) ...
26.935065
89
0.600771
189569400
d98c96eea7780ad16bcfa4826a721d160ad83918
669
cpp
C++
P1816.cpp
daily-boj/SkyLightQP
5038819b6ad31f94d84a66c7679c746a870bb857
[ "Unlicense" ]
6
2020-04-08T09:05:38.000Z
2022-01-20T08:09:48.000Z
P1816.cpp
daily-boj/SkyLightQP
5038819b6ad31f94d84a66c7679c746a870bb857
[ "Unlicense" ]
null
null
null
P1816.cpp
daily-boj/SkyLightQP
5038819b6ad31f94d84a66c7679c746a870bb857
[ "Unlicense" ]
1
2020-05-23T21:17:10.000Z
2020-05-23T21:17:10.000Z
#include <iostream> #define MAX 1000001 typedef long long ll; using namespace std; int prime[MAX] = {}; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); for (int i = 2; i < MAX; ++i) { if (prime[i]) continue; for(int j = 2 * i; j <= MAX; j += i) { ...
18.583333
46
0.402093
daily-boj
d98df8b20431890f8718821f8f45ab4df72bd8ca
1,164
cpp
C++
LeetCode/494. Target Sum.cpp
Joon7891/Competitive-Programming
d860b7ad932cd5a6fb91fdc8c53101da57f4a408
[ "MIT" ]
2
2021-04-13T00:19:56.000Z
2021-04-13T01:19:45.000Z
LeetCode/494. Target Sum.cpp
Joon7891/Competitive-Programming
d860b7ad932cd5a6fb91fdc8c53101da57f4a408
[ "MIT" ]
null
null
null
LeetCode/494. Target Sum.cpp
Joon7891/Competitive-Programming
d860b7ad932cd5a6fb91fdc8c53101da57f4a408
[ "MIT" ]
1
2020-08-26T12:36:08.000Z
2020-08-26T12:36:08.000Z
class Solution { public: int findTargetSumWays(vector<int>& nums, int S) { set<int> s; vector<int> cur; map<int, int> freq; s.insert(nums[0]); s.insert(-nums[0]); freq[nums[0]] = 1; freq[-nums[0]] = 1; cur.push_back(nums[0]); cur.push_...
27.714286
58
0.366838
Joon7891
d98f915b5f9d0dff635e1231a5cb986e32b52bc6
4,243
cpp
C++
Modules/REPlatform/Sources/REPlatform/Scene/Private/Utils/RESceneUtils.cpp
stinvi/dava.engine
2b396ca49cdf10cdc98ad8a9ffcf7768a05e285e
[ "BSD-3-Clause" ]
26
2018-09-03T08:48:22.000Z
2022-02-14T05:14:50.000Z
Modules/REPlatform/Sources/REPlatform/Scene/Private/Utils/RESceneUtils.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
null
null
null
Modules/REPlatform/Sources/REPlatform/Scene/Private/Utils/RESceneUtils.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
45
2018-05-11T06:47:17.000Z
2022-02-03T11:30:55.000Z
#include "REPlatform/Scene/Utils/RESceneUtils.h" #include <FileSystem/FileSystem.h> #include <Logger/Logger.h> #include <Render/Renderer.h> #include <Render/RenderHelper.h> #include <Render/RHI/rhi_Public.h> #include <Utils/StringFormat.h> namespace DAVA { void RESceneUtils::CleanFolder(const FilePath& folderPathname...
30.746377
118
0.657318
stinvi
d99150de49d2059391a435d301295a0d27fea848
6,834
hpp
C++
src/asio_cares/include/asio_cares/channel.hpp
RobertLeahy/ASIO-C-ARES
f62150d4c5467396ac79fade11c6885cd5fe942c
[ "Unlicense" ]
5
2019-03-30T17:42:31.000Z
2021-07-02T18:48:05.000Z
src/asio_cares/include/asio_cares/channel.hpp
RobertLeahy/ASIO-C-ARES
f62150d4c5467396ac79fade11c6885cd5fe942c
[ "Unlicense" ]
null
null
null
src/asio_cares/include/asio_cares/channel.hpp
RobertLeahy/ASIO-C-ARES
f62150d4c5467396ac79fade11c6885cd5fe942c
[ "Unlicense" ]
3
2019-01-30T03:43:58.000Z
2020-03-04T04:01:55.000Z
/** * \file */ #pragma once #include <ares.h> #include <boost/asio/deadline_timer.hpp> #include <boost/asio/io_service.hpp> #include <boost/asio/strand.hpp> #include <boost/asio/ip/tcp.hpp> #include <boost/asio/ip/udp.hpp> #include <boost/system/error_code.hpp> #include <mpark/variant.hpp> #include <utility> #inclu...
31.348624
131
0.68803
RobertLeahy
d996397acbfa59e9d565c769b6c8f268a3d6b245
17,758
cpp
C++
lib/hip_surgery/xregPAOVolAfterRepo.cpp
rg2/xreg
c06440d7995f8a441420e311bb7b6524452843d3
[ "MIT" ]
30
2020-09-29T18:36:13.000Z
2022-03-28T09:25:13.000Z
lib/hip_surgery/xregPAOVolAfterRepo.cpp
gaocong13/Orthopedic-Robot-Navigation
bf36f7de116c1c99b86c9ba50f111c3796336af0
[ "MIT" ]
3
2020-10-09T01:21:27.000Z
2020-12-10T15:39:44.000Z
lib/hip_surgery/xregPAOVolAfterRepo.cpp
rg2/xreg
c06440d7995f8a441420e311bb7b6524452843d3
[ "MIT" ]
8
2021-05-25T05:14:48.000Z
2022-02-26T12:29:50.000Z
/* * MIT License * * Copyright (c) 2020 Robert Grupp * * 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, mod...
33.192523
115
0.661843
rg2
d996bc39b9c086bc4f86e8e00bf6342476f1f360
4,191
cpp
C++
src/luac/luactext.cpp
Twinklebear/LPCGame
f01a6ebe857b3b67cc1cb5cad39bf0641aa79e12
[ "MIT" ]
9
2015-09-09T05:59:40.000Z
2021-05-22T11:07:54.000Z
src/luac/luactext.cpp
Twinklebear/LPCGame
f01a6ebe857b3b67cc1cb5cad39bf0641aa79e12
[ "MIT" ]
null
null
null
src/luac/luactext.cpp
Twinklebear/LPCGame
f01a6ebe857b3b67cc1cb5cad39bf0641aa79e12
[ "MIT" ]
1
2015-08-06T06:55:12.000Z
2015-08-06T06:55:12.000Z
#include <string> #include <memory> #include <lua.hpp> #include "core/text.h" #include "luacscript.h" #include "luaccolor.h" #include "luactext.h" int LuaC::TextLib::luaopen_text(lua_State *l){ return LuaScriptLib::LuaOpenLib(l, mMetaTable, textClass, luaTextLib, newText); } const struct luaL_reg LuaC::TextLib::lu...
29.307692
83
0.606299
Twinklebear
d99794d41639388a565295350fec1c6877cae395
760
cpp
C++
src/ECS/Utility/IDConversions.cpp
InversePalindrome/ProceduralX
f53d734970be4300f06db295d25e1a012b1a8fd9
[ "MIT" ]
2
2020-02-06T14:39:56.000Z
2022-02-27T08:27:54.000Z
src/ECS/Utility/IDConversions.cpp
InversePalindrome/ProceduralX
f53d734970be4300f06db295d25e1a012b1a8fd9
[ "MIT" ]
null
null
null
src/ECS/Utility/IDConversions.cpp
InversePalindrome/ProceduralX
f53d734970be4300f06db295d25e1a012b1a8fd9
[ "MIT" ]
null
null
null
/* Copyright (c) 2020 Inverse Palindrome ProceduralX - ECS/Utility/IDConversions.cpp https://inversepalindrome.com/ */ #include "ECS/Utility/IDConversions.hpp" #include "ECS/Components/IDComponent.hpp" entt::entity ECS::Utility::getEntity(const entt::registry& registry, std::size_t id) { auto foundEntity = entt...
25.333333
88
0.596053
InversePalindrome
d9995906ce38c0755759dd44583e44c298787045
1,855
cc
C++
src/benchmark/solve/exhaustive/solve_exhaustive.cc
ojcole/re-pairing-brackets
1bd76bd5f19381d881116564bbaaa5e4e1395942
[ "MIT" ]
null
null
null
src/benchmark/solve/exhaustive/solve_exhaustive.cc
ojcole/re-pairing-brackets
1bd76bd5f19381d881116564bbaaa5e4e1395942
[ "MIT" ]
null
null
null
src/benchmark/solve/exhaustive/solve_exhaustive.cc
ojcole/re-pairing-brackets
1bd76bd5f19381d881116564bbaaa5e4e1395942
[ "MIT" ]
null
null
null
#include "solve/exhaustive/solve_exhaustive.h" #include <benchmark/benchmark.h> #include <fstream> #include <vector> #include "generate/generate_random.h" #include "solve/solve_approximate.h" static void BM_SolveExhaustiveRandom50(benchmark::State &state) { std::ifstream stream("benchmark/solve/exhaustive/exhaust...
23.782051
80
0.691644
ojcole
d9a02cfef35b191eea9203713a45672d73b9c2dc
585
cpp
C++
problemsets/Programming Challenges/Capitulo 10/111004 - 10039 Railroads (Incomplete)/b.out.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/Programming Challenges/Capitulo 10/111004 - 10039 Railroads (Incomplete)/b.out.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/Programming Challenges/Capitulo 10/111004 - 10039 Railroads (Incomplete)/b.out.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
/** * * Author: Juarez Paulino(coderemite) * Email: juarez.paulino@gmail.com * */ Scenario 1 Departure 1000 A Arrival 1300 C Scenario 2 Departure 0800 A Arrival 1400 D Scenario 3 No connection Scenario 4 Departure 0859 A Arrival 1300 D Scenario 5 No connection Scenario 6 No connection Scenario 7 No co...
11.037736
38
0.77265
juarezpaulino
d9a1e1b63eb0ac1c813a3c213b9af26ca417226d
5,481
cpp
C++
Source/SprueEngine/Texturing/SprueTextureBaker.cpp
Qt-Widgets/TexGraph
8fe72cea1afcf5e235c810003bf4ee062bb3fc13
[ "MIT" ]
35
2017-04-07T22:49:41.000Z
2021-08-03T13:59:20.000Z
Source/SprueEngine/Texturing/SprueTextureBaker.cpp
Qt-Widgets/TexGraph
8fe72cea1afcf5e235c810003bf4ee062bb3fc13
[ "MIT" ]
1
2017-04-13T17:43:54.000Z
2017-04-15T04:17:37.000Z
Source/SprueEngine/Texturing/SprueTextureBaker.cpp
Qt-Widgets/TexGraph
8fe72cea1afcf5e235c810003bf4ee062bb3fc13
[ "MIT" ]
7
2019-03-11T19:26:53.000Z
2021-03-04T07:17:10.000Z
#include "SprueTextureBaker.h" #include <SprueEngine/Logging.h> #include <SprueEngine/Texturing/RasterizerData.h> #include <SprueEngine/Core/SprueModel.h> #include <SprueEngine/Core/Components/TexturingComponent.h> #include <SprueEngine/Math/Trig.h> #include <SprueEngine/Texturing/Sampling.h> namespace Sprue...
40.902985
128
0.525999
Qt-Widgets
d2636086585df68d6257ee240525c85ff9e60ea7
1,752
cc
C++
src/selfmessagehandlers/crawlerselfmsgehandler/CrawlerSelfMsgHandler.cc
Seabreg/BSF
89bccd20359ec794cd19a1211d5e52c751e7405c
[ "MIT" ]
null
null
null
src/selfmessagehandlers/crawlerselfmsgehandler/CrawlerSelfMsgHandler.cc
Seabreg/BSF
89bccd20359ec794cd19a1211d5e52c751e7405c
[ "MIT" ]
null
null
null
src/selfmessagehandlers/crawlerselfmsgehandler/CrawlerSelfMsgHandler.cc
Seabreg/BSF
89bccd20359ec794cd19a1211d5e52c751e7405c
[ "MIT" ]
null
null
null
#include "CrawlerSelfMsgHandler.h" #include "omnetpp.h" using namespace omnetpp; CrawlerSelfMsgHandler::CrawlerSelfMsgHandler(NodeBase* node, CrawlerBase *crawler, double startTime) { this->node = node; this->crawler = crawler; this->startTime = startTime; } CrawlerSelfMsgHandler::~CrawlerSelfMs...
30.736842
77
0.635845
Seabreg
d26472cd5bad35551b7d593abe1715544bb5829b
851
cpp
C++
NOIP/oj.noi.cn/1100FunctionApplication.cpp
webturing/CPlusPlus
6b9c671b0c9a7c0d24d937610bf54e9aec9a5a1f
[ "AFL-2.0" ]
14
2018-06-21T14:41:26.000Z
2021-12-19T14:43:51.000Z
NOIP/oj.noi.cn/1100FunctionApplication.cpp
webturing/CPlusPlus
6b9c671b0c9a7c0d24d937610bf54e9aec9a5a1f
[ "AFL-2.0" ]
null
null
null
NOIP/oj.noi.cn/1100FunctionApplication.cpp
webturing/CPlusPlus
6b9c671b0c9a7c0d24d937610bf54e9aec9a5a1f
[ "AFL-2.0" ]
2
2018-06-19T12:18:30.000Z
2019-03-18T03:23:45.000Z
#include <bits/stdc++.h> using namespace std; typedef long long LL; inline void f0(LL &a) {}; inline void f1(LL &a) { a = a * 11 + 24; } inline void f2(LL &a) { a = (a >> 3) + 3; } inline void f3(LL &a) { a = a * a + 10 * a + 31; } inline void f4(LL &a) { a = a / 13 + 31; } inline void f5(LL &a) { a = a - (int) ...
21.820513
70
0.491187
webturing
d264e3574b91a9c4b56777745da44a5750aac03e
5,298
cpp
C++
Codeforces/E60/C_WA.cpp
Mindjolt2406/Competitive-Programming
d000d98bf7005ee4fb809bcea2f110e4c4793b80
[ "MIT" ]
2
2018-12-11T14:37:24.000Z
2022-01-23T18:11:54.000Z
Codeforces/E60/C_WA.cpp
Mindjolt2406/Competitive-Programming
d000d98bf7005ee4fb809bcea2f110e4c4793b80
[ "MIT" ]
null
null
null
Codeforces/E60/C_WA.cpp
Mindjolt2406/Competitive-Programming
d000d98bf7005ee4fb809bcea2f110e4c4793b80
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> #define mt make_tuple #define mp make_pair #define pu push_back #define INF 1000000001 #define MOD 1000000007 #define ll long long int #define ld long double #define vi vector<int> #define vll vector<long long int> #define fi first #define se second #define pr(v) { for(int i=0;i<v.size();i++) { ...
21.983402
152
0.415062
Mindjolt2406
d2664dc46a98979d200eefbe15b199bf717c247d
36,291
hpp
C++
src/axom/mint/execution/internal/for_all_faces.hpp
bmhan12/axom
fbee125aec6357340f35b6fd5d0d4a62a3c80733
[ "BSD-3-Clause" ]
null
null
null
src/axom/mint/execution/internal/for_all_faces.hpp
bmhan12/axom
fbee125aec6357340f35b6fd5d0d4a62a3c80733
[ "BSD-3-Clause" ]
null
null
null
src/axom/mint/execution/internal/for_all_faces.hpp
bmhan12/axom
fbee125aec6357340f35b6fd5d0d4a62a3c80733
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2017-2021, Lawrence Livermore National Security, LLC and // other Axom Project Developers. See the top-level LICENSE file for details. // // SPDX-License-Identifier: (BSD-3-Clause) #ifndef MINT_FOR_ALL_FACES_HPP_ #define MINT_FOR_ALL_FACES_HPP_ // Axom core includes #include "axom/config.hpp...
34.333964
86
0.525034
bmhan12
d266b8077013c9ffe750c9f6e334bf630be5fae3
4,056
cpp
C++
src/Seasons.cpp
powerof3/SeasonsOfSkyrim
6a35bf36e6c1d808eea6a77a485eb267e0b36236
[ "MIT" ]
6
2022-01-25T04:15:38.000Z
2022-03-04T13:02:30.000Z
src/Seasons.cpp
alandtse/SeasonsOfSkyrim
b26893a9bfb82bdcf655d0cbd6551d43e195f651
[ "MIT" ]
null
null
null
src/Seasons.cpp
alandtse/SeasonsOfSkyrim
b26893a9bfb82bdcf655d0cbd6551d43e195f651
[ "MIT" ]
4
2022-01-25T04:15:42.000Z
2022-03-14T02:53:59.000Z
#include "Seasons.h" void Season::LoadSettings(CSimpleIniA& a_ini, bool a_writeComment) { const auto& [seasonType, suffix] = ID; logger::info("{}", seasonType); INI::get_value(a_ini, validWorldspaces, seasonType.c_str(), "Worldspaces", a_writeComment ? ";Valid worldspaces." : ";"); INI::get_value(a_ini, swapAct...
31.44186
238
0.709073
powerof3
d26a2c70c3317556e82aa4db4c2d9767e6e90a97
1,300
hpp
C++
src/accel/bvh.hpp
jkrueger/phosphorus_mk2
f26330fc2d013ca875d68de78ea9f92f344ddf4e
[ "MIT" ]
2
2019-12-12T04:59:41.000Z
2020-09-15T12:57:35.000Z
src/accel/bvh.hpp
jkrueger/phosphorus_mk2
f26330fc2d013ca875d68de78ea9f92f344ddf4e
[ "MIT" ]
1
2020-09-15T12:58:42.000Z
2020-09-15T12:58:42.000Z
src/accel/bvh.hpp
jkrueger/phosphorus_mk2
f26330fc2d013ca875d68de78ea9f92f344ddf4e
[ "MIT" ]
null
null
null
#pragma once #include "../triangle.hpp" #include "bvh/node.hpp" #include "bvh/builder.hpp" #include "math/simd.hpp" namespace accel { namespace triangle { template<int N> struct moeller_trumbore_t; } /* this models a regular bounding volume hierarchy, but with n-wide * nodes, which allows to do multipl...
25.490196
80
0.685385
jkrueger
d26a321fcfeac98248db1d9c69c4a84976c46354
6,814
hpp
C++
sources/SceneGraph/Collision/spCollisionConfigTypes.hpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
14
2015-08-16T21:05:20.000Z
2019-08-21T17:22:01.000Z
sources/SceneGraph/Collision/spCollisionConfigTypes.hpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
null
null
null
sources/SceneGraph/Collision/spCollisionConfigTypes.hpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
3
2016-10-31T06:08:44.000Z
2019-08-02T16:12:33.000Z
/* * Collision configuration types header * * This file is part of the "SoftPixel Engine" (Copyright (c) 2008 by Lukas Hermanns) * See "SoftPixelEngine.hpp" for license information. */ #ifndef __SP_COLLISION_CONFIG_TYPES_H__ #define __SP_COLLISION_CONFIG_TYPES_H__ #include "Base/spStandard.hpp" #include "Base/...
30.150442
174
0.612709
rontrek
d270709304d1c91565917bfd4d0c1c804bb31c9d
2,565
hpp
C++
modules/core/include/facekit/core/utils/proto.hpp
cecabert/FaceKit
766a32fc7f65ae5deceeba5628c225631986c4d8
[ "Apache-2.0" ]
null
null
null
modules/core/include/facekit/core/utils/proto.hpp
cecabert/FaceKit
766a32fc7f65ae5deceeba5628c225631986c4d8
[ "Apache-2.0" ]
null
null
null
modules/core/include/facekit/core/utils/proto.hpp
cecabert/FaceKit
766a32fc7f65ae5deceeba5628c225631986c4d8
[ "Apache-2.0" ]
1
2017-11-29T12:03:08.000Z
2017-11-29T12:03:08.000Z
/** * @file proto.hpp * @brief Utility function for dealing with protocol buffer object * @ingroup core * * @author Christophe Ecabert * @date 01.03.18 * Copyright © 2018 Christophe Ecabert. All rights reserved. */ #ifndef __FACEKIT_PROTO__ #define __FACEKIT_PROTO__ #include <string> #include "face...
32.468354
78
0.634308
cecabert
d27350e83f6abfe6deec2e7ab9dbdec631d6aea1
3,442
hpp
C++
Recorder/src/WaitEventThread.hpp
vividos/OldStuff
dbfcce086d1101b576d99d25ef051efbd8dd117c
[ "BSD-2-Clause" ]
1
2015-03-26T02:35:13.000Z
2015-03-26T02:35:13.000Z
Recorder/src/WaitEventThread.hpp
vividos/OldStuff
dbfcce086d1101b576d99d25ef051efbd8dd117c
[ "BSD-2-Clause" ]
null
null
null
Recorder/src/WaitEventThread.hpp
vividos/OldStuff
dbfcce086d1101b576d99d25ef051efbd8dd117c
[ "BSD-2-Clause" ]
null
null
null
// // Recorder - a GPS logger app for Windows Mobile // Copyright (C) 2006-2019 Michael Fink // /// \file WaitEventThread.hpp WaitEvent() thread // #pragma once #include "WorkerThread.hpp" #include <boost/bind.hpp> /// \brief class that implements a worker thread that waits on a serial port for read/write events /// ...
27.536
98
0.663277
vividos
d27772768cf2451195785d4100799ba6e0d8f58c
22,468
cpp
C++
src/test-apps/TestTAKE.cpp
aiw-google/openweave-core
5dfb14b21d0898ef95bb62ff564cadfeea4b4702
[ "Apache-2.0" ]
249
2017-09-18T17:48:34.000Z
2022-02-02T06:46:21.000Z
src/test-apps/TestTAKE.cpp
aiw-google/openweave-core
5dfb14b21d0898ef95bb62ff564cadfeea4b4702
[ "Apache-2.0" ]
501
2017-11-10T11:25:32.000Z
2022-02-01T10:43:13.000Z
src/test-apps/TestTAKE.cpp
aiw-google/openweave-core
5dfb14b21d0898ef95bb62ff564cadfeea4b4702
[ "Apache-2.0" ]
116
2017-09-20T07:06:55.000Z
2022-01-08T13:41:15.000Z
/* * * Copyright (c) 2013-2017 Nest Labs, 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...
37.014827
283
0.686977
aiw-google
d279be24d0d49882a2c91748a78015c45fedfc20
1,026
cc
C++
code/render/graphics/stage.cc
sirAgg/nebula
3fbccc73779944aa3e56b9e8acdd6fedd1d38006
[ "BSD-2-Clause" ]
377
2018-10-24T08:34:21.000Z
2022-03-31T23:37:49.000Z
code/render/graphics/stage.cc
sirAgg/nebula
3fbccc73779944aa3e56b9e8acdd6fedd1d38006
[ "BSD-2-Clause" ]
11
2020-01-22T13:34:46.000Z
2022-03-07T10:07:34.000Z
code/render/graphics/stage.cc
sirAgg/nebula
3fbccc73779944aa3e56b9e8acdd6fedd1d38006
[ "BSD-2-Clause" ]
23
2019-07-13T16:28:32.000Z
2022-03-20T09:00:59.000Z
//------------------------------------------------------------------------------ // stage.cc // (C)2017-2020 Individual contributors, see AUTHORS file //------------------------------------------------------------------------------ #include "render/stdneb.h" #include "stage.h" namespace Graphics { __ImplementClass(Gr...
22.304348
80
0.35575
sirAgg
d27b6724563ff928837eaef6cdab1c7c2aa134ae
21,491
cpp
C++
src/sim/tcESMSensor.cpp
dhanin/friendly-bassoon
fafcfd3921805baddc1889dc0ee2fa367ad882f8
[ "BSD-3-Clause" ]
2
2021-11-17T10:59:38.000Z
2021-11-17T10:59:45.000Z
src/sim/tcESMSensor.cpp
dhanin/nws
87a3f24a7887d84b9884635064b48d456b4184e2
[ "BSD-3-Clause" ]
null
null
null
src/sim/tcESMSensor.cpp
dhanin/nws
87a3f24a7887d84b9884635064b48d456b4184e2
[ "BSD-3-Clause" ]
null
null
null
/** ** @file tcESMSensor.cpp */ /* ** Copyright (c) 2014, GCBLUE 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: ** ** 1. Redistributions of source code must retain the above copyr...
27.482097
146
0.627007
dhanin
d27d1696d8ed42ec726e940b9cf9f5dfc88a00fb
7,762
cc
C++
src/corbaExample/src/cpp/RemoteFileServerSK.cc
jahlborn/rmiio
58c05f29e6dbc44c0f18c9a2247aff113d487c71
[ "Apache-2.0" ]
7
2016-04-05T15:58:01.000Z
2020-10-30T18:38:05.000Z
src/corbaExample/src/cpp/RemoteFileServerSK.cc
jahlborn/rmiio
58c05f29e6dbc44c0f18c9a2247aff113d487c71
[ "Apache-2.0" ]
2
2016-07-04T01:32:56.000Z
2020-12-11T02:54:56.000Z
src/corbaExample/src/cpp/RemoteFileServerSK.cc
jahlborn/rmiio
58c05f29e6dbc44c0f18c9a2247aff113d487c71
[ "Apache-2.0" ]
6
2016-04-05T15:58:16.000Z
2020-04-27T21:45:47.000Z
// This file is generated by omniidl (C++ backend)- omniORB_4_1. Do not edit. #include "RemoteFileServer.hh" #include <omniORB4/IOP_S.h> #include <omniORB4/IOP_C.h> #include <omniORB4/callDescriptor.h> #include <omniORB4/callHandle.h> #include <omniORB4/objTracker.h> OMNI_USING_NAMESPACE(omni) static const char* _0...
27.820789
159
0.741304
jahlborn
d27f9baccf2d0070e506fc3f5a58051b2afa2117
1,039
cpp
C++
geospatial/test/cpp/suites/Cover.cpp
icarazob/mr4c
fe367fac1d634fe5cea477e14ba39d0df630255f
[ "Apache-2.0" ]
1,062
2015-02-18T18:26:33.000Z
2022-03-23T10:16:07.000Z
geospatial/test/cpp/suites/Cover.cpp
syzf1314/mr4c
fe367fac1d634fe5cea477e14ba39d0df630255f
[ "Apache-2.0" ]
22
2015-02-24T03:09:18.000Z
2020-07-04T05:53:10.000Z
geospatial/test/cpp/suites/Cover.cpp
syzf1314/mr4c
fe367fac1d634fe5cea477e14ba39d0df630255f
[ "Apache-2.0" ]
315
2015-02-18T22:29:52.000Z
2022-01-24T06:29:40.000Z
/** * Copyright 2014 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 requir...
33.516129
84
0.737247
icarazob
d2817fdc1cecd6818bc37383ccb537ab035c409e
32,675
cpp
C++
Classes/HelloWorldScene.cpp
otakuidoru/Reflection
05d55655a75813c7d4f0f5dee4d69a2c05476396
[ "MIT" ]
null
null
null
Classes/HelloWorldScene.cpp
otakuidoru/Reflection
05d55655a75813c7d4f0f5dee4d69a2c05476396
[ "MIT" ]
null
null
null
Classes/HelloWorldScene.cpp
otakuidoru/Reflection
05d55655a75813c7d4f0f5dee4d69a2c05476396
[ "MIT" ]
null
null
null
/**************************************************************************** Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal...
35.867179
353
0.673298
otakuidoru
d28479bb788c0602587c937612e7b37a57769cbc
23,099
cc
C++
art-extension/compiler/optimizing/extensions/infrastructure/ext_utility.cc
pramulkant/https-github.com-android-art-intel-marshmallow
87e8c22f248164780b92aaa0cdea14bf6cda3859
[ "Apache-2.0" ]
8
2016-08-11T09:46:36.000Z
2018-03-02T17:28:35.000Z
art-extension/compiler/optimizing/extensions/infrastructure/ext_utility.cc
android-art-intel/marshmallow
87e8c22f248164780b92aaa0cdea14bf6cda3859
[ "Apache-2.0" ]
null
null
null
art-extension/compiler/optimizing/extensions/infrastructure/ext_utility.cc
android-art-intel/marshmallow
87e8c22f248164780b92aaa0cdea14bf6cda3859
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2015 Intel Corporation * * 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...
32.216179
126
0.577384
pramulkant
d286697e41b470e6fcf9c7f7ff2491a79bf5183d
889
cc
C++
aoj/volumn5/0521/0521aoj.cc
punkieL/proCon
7e994d67e5efdf7ac0b1bee5e0b19b317f07e8af
[ "MIT" ]
1
2015-10-06T16:27:42.000Z
2015-10-06T16:27:42.000Z
aoj/volumn5/0521/0521aoj.cc
punkieL/proCon
7e994d67e5efdf7ac0b1bee5e0b19b317f07e8af
[ "MIT" ]
1
2016-03-02T16:18:11.000Z
2016-03-02T16:18:11.000Z
aoj/volumn5/0521/0521aoj.cc
punkieL/proCon
7e994d67e5efdf7ac0b1bee5e0b19b317f07e8af
[ "MIT" ]
null
null
null
/*c++11*/ #include <cstdio> #include <iostream> #include <algorithm> #include <vector> #include <map> #include <set> #include <string> #include <cstring> #include <cmath> #include <deque> using namespace std; int main(int args, char *argc[]){ char a,b,c; char t; int joi=0; int ioi=0; deque<char> que; whi...
17.431373
56
0.482565
punkieL
d28713ecd5b2df494c956cf82d037b165648833a
545
hpp
C++
hoibase/include/hoibase/helper/library.hpp
openhoi/openhoi
5705ea8456ac526645f943b78b37bb993d44320c
[ "BSD-2-Clause", "MIT" ]
2
2022-02-11T17:28:38.000Z
2022-03-17T00:57:40.000Z
hoibase/include/hoibase/helper/library.hpp
openhoi/openhoi
5705ea8456ac526645f943b78b37bb993d44320c
[ "BSD-2-Clause", "MIT" ]
1
2019-03-07T09:51:18.000Z
2019-03-07T09:51:18.000Z
hoibase/include/hoibase/helper/library.hpp
openhoi/openhoi
5705ea8456ac526645f943b78b37bb993d44320c
[ "BSD-2-Clause", "MIT" ]
6
2019-10-03T13:26:53.000Z
2022-03-20T14:33:22.000Z
// Copyright 2018-2019 the openhoi authors. See COPYING.md for legal info. #pragma once #if defined(_MSC_VER) // Microsoft Visual Studio # define OPENHOI_LIB_EXPORT __declspec(dllexport) # define OPENHOI_LIB_IMPORT __declspec(dllimport) #elif defined(__GNUC__) // GCC # define OPENHOI_LIB_EXPORT __attribute__((vi...
30.277778
74
0.783486
openhoi
d2877dd17038f63f0aee5411151cf78462356faf
2,048
cpp
C++
test/lexer.cpp
sethitow/stc
28894bda001f00828613941d1a6da7cc3720dd52
[ "MIT" ]
null
null
null
test/lexer.cpp
sethitow/stc
28894bda001f00828613941d1a6da7cc3720dd52
[ "MIT" ]
3
2021-07-24T23:06:37.000Z
2021-08-21T03:24:58.000Z
test/lexer.cpp
sethitow/stc
28894bda001f00828613941d1a6da7cc3720dd52
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include "../src/lexer.hpp" #include "../src/token.hpp" TEST(Lexer, Function) { std::string input = "FUNCTION F_Sample : INT" " VAR_INPUT" " x : INT;" " y : INT;" " END_VAR" ...
30.117647
94
0.487793
sethitow
d288d7f715b9921343373e937b2e6875650e0c31
2,247
cpp
C++
lib/VM/BuildMetadata.cpp
exced/hermes
c53fbe3f27677d5cda2a0c5b4e79e429eb5cd9e6
[ "MIT" ]
2
2020-02-09T21:47:10.000Z
2021-07-13T09:27:33.000Z
lib/VM/BuildMetadata.cpp
exced/hermes
c53fbe3f27677d5cda2a0c5b4e79e429eb5cd9e6
[ "MIT" ]
6
2021-03-11T07:21:46.000Z
2022-02-27T11:15:48.000Z
lib/VM/BuildMetadata.cpp
exced/hermes
c53fbe3f27677d5cda2a0c5b4e79e429eb5cd9e6
[ "MIT" ]
2
2020-10-25T04:11:10.000Z
2020-10-25T04:11:11.000Z
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "hermes/VM/BuildMetadata.h" #include "hermes/VM/CellKind.h" #include "llvm/Support/Debug.h" #include <cstdint> #define ...
29.181818
80
0.712061
exced
d28a42c1174cc5365e662ced523bcc0e01351f9e
2,463
cpp
C++
framework/code/gui/android/imguiAndroid.cpp
MikeCurrington/adreno-gpu-vulkan-code-sample-framework
2807e6204f5fcbbe9ff9bcc783e4cc2d66ca79cb
[ "BSD-3-Clause" ]
null
null
null
framework/code/gui/android/imguiAndroid.cpp
MikeCurrington/adreno-gpu-vulkan-code-sample-framework
2807e6204f5fcbbe9ff9bcc783e4cc2d66ca79cb
[ "BSD-3-Clause" ]
null
null
null
framework/code/gui/android/imguiAndroid.cpp
MikeCurrington/adreno-gpu-vulkan-code-sample-framework
2807e6204f5fcbbe9ff9bcc783e4cc2d66ca79cb
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2021, Qualcomm Innovation Center, Inc. All rights reserved. // SPDX-License-Identifier: BSD-3-Clause #include "imguiAndroid.hpp" #define NOMINMAX #include <imgui/imgui.h> // // Implementation of GuiImguiPlatform (for Android) // GuiImguiPlatform::GuiImguiPlatform() {} GuiImguiPlatform::~GuiImguiPl...
27.366667
147
0.574503
MikeCurrington
d28dff0987dbb8ae6edb9bcb56c0f3199a19a8da
1,606
cpp
C++
ext/stub/javax/swing/JComponent_ReadObjectCallback-stub.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/stub/javax/swing/JComponent_ReadObjectCallback-stub.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/stub/javax/swing/JComponent_ReadObjectCallback-stub.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar #include <javax/swing/JComponent_ReadObjectCallback.hpp> #include <javax/swing/JComponent.hpp> extern void unimplemented_(const char16_t* name); javax::swing::JComponent_ReadObjectCallback::JComponent_ReadObjectCallback(...
34.913043
137
0.750311
pebble2015
d28e3369e27864527358fa4c542e06a8913d58f7
450
cpp
C++
c++/xu/learn.cpp
nkysg/Asenal
12444c7e50fae2be82d3c4737715a52e3693a3cd
[ "Apache-2.0" ]
5
2017-04-10T03:35:40.000Z
2020-11-26T10:00:57.000Z
c++/xu/learn.cpp
nkysg/Asenal
12444c7e50fae2be82d3c4737715a52e3693a3cd
[ "Apache-2.0" ]
1
2015-04-09T13:45:25.000Z
2015-04-09T13:45:25.000Z
c++/xu/learn.cpp
baotiao/Asenal
102170aa92ae72b1d589dd74e8bbbc9ae27a8d97
[ "Apache-2.0" ]
15
2015-03-10T04:15:10.000Z
2021-03-19T13:00:48.000Z
#include<iostream> #include<stdio.h> using namespace std; class X { public: X(int x) { _val = x;} int val() { return _val;} private: int _val; }; class Y { public: Y(int y); static X xval(); static int callsXval(); private: static X _xval; ...
16.071429
33
0.502222
nkysg
d2904c04e891f05dddd6b2eaf3574eaa05531979
1,178
cpp
C++
TEST_C++/Test_env/src/robot-config.cpp
Asik007/1526B-VEX-code
69dc0187001b70793afa7a395be563daf303d163
[ "MIT" ]
1
2021-11-02T20:27:41.000Z
2021-11-02T20:27:41.000Z
TEST_C++/Test_env/src/robot-config.cpp
Asik007/1526B-VEX-code
69dc0187001b70793afa7a395be563daf303d163
[ "MIT" ]
null
null
null
TEST_C++/Test_env/src/robot-config.cpp
Asik007/1526B-VEX-code
69dc0187001b70793afa7a395be563daf303d163
[ "MIT" ]
1
2021-09-05T19:06:36.000Z
2021-09-05T19:06:36.000Z
#include "vex.h" using namespace vex; using signature = vision::signature; using code = vision::code; // A global instance of brain used for printing to the V5 Brain screen brain Brain; // VEXcode device constructors encoder EncoderA = encoder(Brain.ThreeWirePort.A); encoder EncoderB = encoder(Brain.ThreeWirePort.C...
33.657143
125
0.774194
Asik007
d2908c83591b7d84ac3eb321a2ef98cd310c9080
1,242
cc
C++
pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcraster_old_calc/calc_constantnumbertype.cc
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcraster_old_calc/calc_constantnumbertype.cc
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcraster_old_calc/calc_constantnumbertype.cc
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
#include "stddefx.h" #ifndef INCLUDED_CALC_CONSTANTNUMBERTYPE #include "calc_constantnumbertype.h" #define INCLUDED_CALC_CONSTANTNUMBERTYPE #endif #ifndef INCLUDED_CALC_VS #include "calc_vs.h" // intersect #define INCLUDED_CALC_VS #endif #ifndef INCLUDED_SSTREAM #include <sstream> #define INCLUDED_SSTREAM #endif...
23.884615
85
0.633655
quanpands
d2909926506b3d7751e7378311fa03c544095476
700
cpp
C++
CPP-BasicToAdvanced/CPP-BasicToAdvanced/Math.cpp
JCharlieDev/CPP-Intro
3d4888d413a09ae3579ef9079eaf1982a10c0d05
[ "MIT" ]
null
null
null
CPP-BasicToAdvanced/CPP-BasicToAdvanced/Math.cpp
JCharlieDev/CPP-Intro
3d4888d413a09ae3579ef9079eaf1982a10c0d05
[ "MIT" ]
null
null
null
CPP-BasicToAdvanced/CPP-BasicToAdvanced/Math.cpp
JCharlieDev/CPP-Intro
3d4888d413a09ae3579ef9079eaf1982a10c0d05
[ "MIT" ]
null
null
null
// #define INTEGER int // Stuff about how the compiler works and how to read the output files in the properties menu of the project. // How to set up the optimization and how it affects the code // How header files work and use them to generate and replace code. #include <iostream> #include "Log.h" //// Optimized ve...
21.212121
109
0.69
JCharlieDev
d293a1ca252bc7340d9cd21cc5b7164cfeebc84b
7,825
hpp
C++
tests/make_json.hpp
amoylel/json
551b4faac85a6a38754100bb8635a7a894476ccc
[ "MIT" ]
3
2020-02-16T15:26:30.000Z
2020-07-05T04:50:22.000Z
tests/make_json.hpp
amoylel/json
551b4faac85a6a38754100bb8635a7a894476ccc
[ "MIT" ]
null
null
null
tests/make_json.hpp
amoylel/json
551b4faac85a6a38754100bb8635a7a894476ccc
[ "MIT" ]
1
2020-06-11T02:58:11.000Z
2020-06-11T02:58:11.000Z
#include "./../json.hpp" typedef amo::json json_type; namespace { //dde.set_value(33); int32_t length = 10000; json_type make_json2() { json_type info; info.put("m_bool", true); //info.put("m_char", 'c'); info.put("m_int8_t", 8); info.put("m_int16_t", 16); ...
30.928854
118
0.532652
amoylel
d293c5755c27c9cb0da3e2df7cf15417ee7552a0
724
hpp
C++
src/mirrage/graphic/src/ktx_parser.hpp
lowkey42/mirrage
2527537989a548062d0bbca8370d063fc6b81a18
[ "MIT" ]
14
2017-10-26T08:45:54.000Z
2021-04-06T11:44:17.000Z
src/mirrage/graphic/src/ktx_parser.hpp
lowkey42/mirrage
2527537989a548062d0bbca8370d063fc6b81a18
[ "MIT" ]
17
2017-10-09T20:11:58.000Z
2018-11-08T22:05:14.000Z
src/mirrage/graphic/src/ktx_parser.hpp
lowkey42/mirrage
2527537989a548062d0bbca8370d063fc6b81a18
[ "MIT" ]
1
2018-09-26T23:10:06.000Z
2018-09-26T23:10:06.000Z
#pragma once #include <mirrage/asset/stream.hpp> #include <mirrage/graphic/vk_wrapper.hpp> #include <mirrage/utils/maybe.hpp> #include <vulkan/vulkan.hpp> namespace mirrage::graphic { // https://www.khronos.org/opengles/sdk/tools/KTX/file_format_spec/ struct Ktx_header { std::uint32_t width; std::uint32_t he...
24.965517
99
0.723757
lowkey42
d295da490be9ad3d3473fe46d9ca69bd4f30687d
21,046
cpp
C++
src/cmd/kits/row.cpp
caetanosauer/fineline-zero
74490df94728e513c2dd41f3edb8200698548b78
[ "Spencer-94" ]
12
2018-12-14T08:57:05.000Z
2021-12-14T17:37:44.000Z
src/cmd/kits/row.cpp
caetanosauer/fineline-zero
74490df94728e513c2dd41f3edb8200698548b78
[ "Spencer-94" ]
null
null
null
src/cmd/kits/row.cpp
caetanosauer/fineline-zero
74490df94728e513c2dd41f3edb8200698548b78
[ "Spencer-94" ]
2
2019-08-04T21:39:12.000Z
2019-11-09T03:18:48.000Z
/* -*- mode:C++; c-basic-offset:4 -*- Shore-kits -- Benchmark implementations for Shore-MT Copyright (c) 2007-2009 Data Intensive Applications and Systems Labaratory (DIAS) Ecole Polytechnique Federale de Lausanne All Rights Reserved. Permi...
29.311978
89
0.518483
caetanosauer
d29739c3adbe4c99a8a28120e1ecac258c85ba52
2,750
cpp
C++
src/external/coremltools_wrap/coremltools/caffeconverter/Caffe/InputLayers.cpp
LeeCenY/turicreate
fb2f3bf313e831ceb42a2e10aacda6e472ea8d93
[ "BSD-3-Clause" ]
2
2019-02-08T08:45:27.000Z
2020-09-07T05:55:18.000Z
src/external/coremltools_wrap/coremltools/caffeconverter/Caffe/InputLayers.cpp
znation/turicreate
f56f9ef9c138d8047037184afb6356c20bbc7f71
[ "BSD-3-Clause" ]
3
2022-02-15T04:42:24.000Z
2022-03-12T01:05:15.000Z
src/external/coremltools_wrap/coremltools/caffeconverter/Caffe/InputLayers.cpp
znation/turicreate
f56f9ef9c138d8047037184afb6356c20bbc7f71
[ "BSD-3-Clause" ]
1
2019-11-23T09:47:24.000Z
2019-11-23T09:47:24.000Z
// // InputLayers.cpp // CoreML // // Created by Srikrishna Sridhar on 11/13/16. // Copyright © 2016 Apple Inc. All rights reserved. // #include "CaffeConverter.hpp" #include "Utils-inl.hpp" #include <stdio.h> #include <string> #include <sstream> #include <iostream> using namespace CoreML; void CoreMLConverter::...
39.285714
169
0.614182
LeeCenY
d297aeafc8dcbdcc08449980c5e500b23432f323
5,171
cpp
C++
platform/mbedtls/network.cpp
jflynn129/aws-iot-device-sdk-mbed-c
3248e6ea5467aaa2fc5f66ee6baca9f50095daa8
[ "Apache-2.0" ]
null
null
null
platform/mbedtls/network.cpp
jflynn129/aws-iot-device-sdk-mbed-c
3248e6ea5467aaa2fc5f66ee6baca9f50095daa8
[ "Apache-2.0" ]
null
null
null
platform/mbedtls/network.cpp
jflynn129/aws-iot-device-sdk-mbed-c
3248e6ea5467aaa2fc5f66ee6baca9f50095daa8
[ "Apache-2.0" ]
null
null
null
/* * TCP/IP or UDP/IP networking functions * * This version of net_sockets.c is setup to use ARM easy-connect for network connectivity * * * 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 Lice...
23.188341
98
0.662928
jflynn129
d29bcda9f89d1f84ac4bc7f8f76e4f01426c6665
7,045
hpp
C++
OREData/ored/model/crossassetmodelbuilder.hpp
mrslezak/Engine
c46ff278a2c5f4162db91a7ab500a0bb8cef7657
[ "BSD-3-Clause" ]
335
2016-10-07T16:31:10.000Z
2022-03-02T07:12:03.000Z
OREData/ored/model/crossassetmodelbuilder.hpp
mrslezak/Engine
c46ff278a2c5f4162db91a7ab500a0bb8cef7657
[ "BSD-3-Clause" ]
59
2016-10-31T04:20:24.000Z
2022-01-03T16:39:57.000Z
OREData/ored/model/crossassetmodelbuilder.hpp
mrslezak/Engine
c46ff278a2c5f4162db91a7ab500a0bb8cef7657
[ "BSD-3-Clause" ]
180
2016-10-08T14:23:50.000Z
2022-03-28T10:43:05.000Z
/* Copyright (C) 2016 Quaternion Risk Management Ltd All rights reserved. This file is part of ORE, a free-software/open-source library for transparent pricing and risk analysis - http://opensourcerisk.org ORE is free software: you can redistribute it and/or modify it under the terms of the Modified BSD License...
41.19883
109
0.746771
mrslezak
d29f5e0ba91821cf5241b47ddb346d3a89d8fe18
477
cpp
C++
src/RE/Scaleform/GAtomic/GAtomic.cpp
thallada/CommonLibSSE
b092c699c3ccd1af6d58d05f677f2977ec054cfe
[ "MIT" ]
1
2021-08-30T20:33:43.000Z
2021-08-30T20:33:43.000Z
src/RE/Scaleform/GAtomic/GAtomic.cpp
thallada/CommonLibSSE
b092c699c3ccd1af6d58d05f677f2977ec054cfe
[ "MIT" ]
null
null
null
src/RE/Scaleform/GAtomic/GAtomic.cpp
thallada/CommonLibSSE
b092c699c3ccd1af6d58d05f677f2977ec054cfe
[ "MIT" ]
1
2020-10-08T02:48:33.000Z
2020-10-08T02:48:33.000Z
#include "RE/Scaleform/GAtomic/GAtomic.h" namespace RE { GLock::Locker::Locker(GLock* a_lock) { lock = a_lock; lock->Lock(); } GLock::Locker::~Locker() { lock->Unlock(); } GLock::GLock(std::uint32_t a_spinCount) { ::InitializeCriticalSectionAndSpinCount(&cs, a_spinCount); } GLock::~GLock() { ...
11.357143
60
0.637317
thallada
d2a1120223d31252ef287252028181cb58f0bdf7
533
cc
C++
CMC040/smg/lbr_get_record.cc
khandy21yo/aplus
3b4024a2a8315f5dcc78479a24100efa3c4a6504
[ "MIT" ]
1
2018-10-17T08:53:17.000Z
2018-10-17T08:53:17.000Z
CMC040/smg/lbr_get_record.cc
khandy21yo/aplus
3b4024a2a8315f5dcc78479a24100efa3c4a6504
[ "MIT" ]
null
null
null
CMC040/smg/lbr_get_record.cc
khandy21yo/aplus
3b4024a2a8315f5dcc78479a24100efa3c4a6504
[ "MIT" ]
null
null
null
//! \file //! \brief Get Record //! #include <string> #include "smg/lbr.h" //! //! \brief Get Record //! long lbr$get_record( lbr_index_cdd &lr_index, std::string &text) { // // Nothing left // if (lr_index.datum.size() == 0) { text = ""; return 0; } // // Pull off one line of text // int pos = lr_i...
12.690476
39
0.581614
khandy21yo
d2a1b5b1ccfe60bad3f46411a75cd9c3392d1189
6,731
cpp
C++
VirtualBox-5.0.0/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsUpdate.cpp
egraba/vbox_openbsd
6cb82f2eed1fa697d088cecc91722b55b19713c2
[ "MIT" ]
1
2015-04-30T14:18:45.000Z
2015-04-30T14:18:45.000Z
VirtualBox-5.0.0/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsUpdate.cpp
egraba/vbox_openbsd
6cb82f2eed1fa697d088cecc91722b55b19713c2
[ "MIT" ]
null
null
null
VirtualBox-5.0.0/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsUpdate.cpp
egraba/vbox_openbsd
6cb82f2eed1fa697d088cecc91722b55b19713c2
[ "MIT" ]
null
null
null
/* $Id: UIGlobalSettingsUpdate.cpp $ */ /** @file * VBox Qt GUI - UIGlobalSettingsUpdate class implementation. */ /* * Copyright (C) 2006-2013 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can re...
35.613757
125
0.735998
egraba
d2ac5ac9554243a34846ab68ca6b0c391af09960
7,821
cc
C++
src/blackbox_optimizer.cc
Coloquinte/minipart2
00b864bd21fab4909984aa6f5c07cae61d2c2c0a
[ "MIT" ]
1
2020-06-14T16:51:26.000Z
2020-06-14T16:51:26.000Z
src/blackbox_optimizer.cc
Coloquinte/minipart2
00b864bd21fab4909984aa6f5c07cae61d2c2c0a
[ "MIT" ]
null
null
null
src/blackbox_optimizer.cc
Coloquinte/minipart2
00b864bd21fab4909984aa6f5c07cae61d2c2c0a
[ "MIT" ]
null
null
null
// Copyright (C) 2019 Gabriel Gouvine - All Rights Reserved #include "blackbox_optimizer.hh" #include "objective.hh" #include "incremental_objective.hh" #include "partitioning_params.hh" #include "local_search_optimizer.hh" #include <iostream> #include <unordered_map> #include <cassert> #include <algorithm> #include ...
30.313953
185
0.694029
Coloquinte
d2ac93cfaa8397466000b001333848a5d5232da5
4,245
cpp
C++
cpp/wrappers/ffmpeg-wrapper/H264Utils.cpp
A-Ribeiro/OpenMultimedia
2bac6022f5a4c4bea57826191a9aa1b55e36f2b9
[ "MIT" ]
null
null
null
cpp/wrappers/ffmpeg-wrapper/H264Utils.cpp
A-Ribeiro/OpenMultimedia
2bac6022f5a4c4bea57826191a9aa1b55e36f2b9
[ "MIT" ]
null
null
null
cpp/wrappers/ffmpeg-wrapper/H264Utils.cpp
A-Ribeiro/OpenMultimedia
2bac6022f5a4c4bea57826191a9aa1b55e36f2b9
[ "MIT" ]
null
null
null
#include "H264Utils.h" #ifdef _WIN32 // win32 includes #include <stdlib.h> #include <stdio.h> #include <io.h> #include <fcntl.h> #include <process.h> #include <math.h> enum PIPES { READ, WRITE }; /* Constants 0 and 1 for READ and WRITE */ #endif namespace FFmpegWrapper { H264CheckNewFrame::H264CheckNewFrame(...
33.690476
113
0.577385
A-Ribeiro
d2b1af3211a02523576f5d63fe617aea84a3a3fb
1,786
hpp
C++
CfgLoadouts.hpp
TheeProTag/Atropia_Free
0988c6addaf7cd2334e0d8d553d61ed50dd6faa5
[ "Unlicense" ]
null
null
null
CfgLoadouts.hpp
TheeProTag/Atropia_Free
0988c6addaf7cd2334e0d8d553d61ed50dd6faa5
[ "Unlicense" ]
null
null
null
CfgLoadouts.hpp
TheeProTag/Atropia_Free
0988c6addaf7cd2334e0d8d553d61ed50dd6faa5
[ "Unlicense" ]
null
null
null
class CfgLoadouts { //Use POTATO to run gear assignment usePotato = 1; //Fast, Easy Settings to change loadouts without touching the arrays. For TVT Balancing. //Allow Zoomed Optics (1 is true, 0 is false) <Anything like a HAMR (4x) optic won't be added, "red dot" would be fine> allowMagnifiedOptics = 0; ...
44.65
121
0.68869
TheeProTag
d2b2eb6cf3915ec8d95adbc664266f87372bc5c2
367
cpp
C++
docs/atl-mfc-shared/codesnippet/CPP/cstringt-class_39.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
965
2017-06-25T23:57:11.000Z
2022-03-31T14:17:32.000Z
docs/atl-mfc-shared/codesnippet/CPP/cstringt-class_39.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
3,272
2017-06-24T00:26:34.000Z
2022-03-31T22:14:07.000Z
docs/atl-mfc-shared/codesnippet/CPP/cstringt-class_39.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
951
2017-06-25T12:36:14.000Z
2022-03-26T22:49:06.000Z
// typedef CStringT<TCHAR, StrTraitATL<TCHAR, ChTraitsCRT<TCHAR>>> CAtlString; CAtlString str(_T("%First Second#Third")); CAtlString resToken; int curPos = 0; resToken= str.Tokenize(_T("% #"),curPos); while (resToken != _T("")) { _tprintf_s(_T("Resulting token: %s\n"), resToken); resTo...
33.363636
81
0.615804
bobbrow
d2b61e4b76cb18e954f0173aade99523bd7bbcde
320
cpp
C++
src/widgets/fonteditor.cpp
Eggbertx/QtSphere-IDE
7ae7ed840fcef7a79fb47a6903afb95ca23838ca
[ "BSD-2-Clause" ]
12
2017-05-04T16:58:07.000Z
2021-06-09T03:08:29.000Z
src/widgets/fonteditor.cpp
Eggbertx/QtSphere-IDE
7ae7ed840fcef7a79fb47a6903afb95ca23838ca
[ "BSD-2-Clause" ]
1
2017-06-19T03:30:22.000Z
2018-04-09T21:35:00.000Z
src/widgets/fonteditor.cpp
Eggbertx/QtSphere-IDE
7ae7ed840fcef7a79fb47a6903afb95ca23838ca
[ "BSD-2-Clause" ]
1
2018-09-04T00:27:54.000Z
2018-09-04T00:27:54.000Z
#include "fonteditor.h" #include "ui_fonteditor.h" // This doesn't do anything yet, and with the direction // I'm planning on taking QSI, it might be removed. FontEditor::FontEditor(QWidget *parent): QWidget(parent), ui(new Ui::FontEditor) { ui->setupUi(this); } FontEditor::~FontEditor() { delete ui; }
24.615385
83
0.69375
Eggbertx
d2b727146b89d8598c5841c874e13f5542cbb3cf
2,387
cpp
C++
src/core/game/Asteroid.cpp
NoctisGames/insectoid-defense_opensource
23c348d41072fc4b8a18578cd341cf58d8dd8cd7
[ "MIT" ]
2
2016-12-10T03:27:07.000Z
2020-09-30T16:06:06.000Z
src/core/game/Asteroid.cpp
NoctisGames/insectoid-defense_opensource
23c348d41072fc4b8a18578cd341cf58d8dd8cd7
[ "MIT" ]
null
null
null
src/core/game/Asteroid.cpp
NoctisGames/insectoid-defense_opensource
23c348d41072fc4b8a18578cd341cf58d8dd8cd7
[ "MIT" ]
2
2015-10-07T00:32:18.000Z
2016-01-30T23:23:55.000Z
// // Asteroid.cpp // insectoid-defense // // Created by Stephen Gowen on 8/18/13. // Copyright (c) 2014 Gowen Game Dev. All rights reserved. // #include "Asteroid.h" #include "ScreenUtils.h" #include "World.h" #include "Vector2D.h" #include "macros.h" #include <ctime> #include <stdlib.h> #include...
25.945652
202
0.661081
NoctisGames
d2b7d290bdb806a18110e6c11e1380227f02f0a1
3,848
cc
C++
chrome/browser/extensions/api/autofill_assistant_private/autofill_assistant_private_apitest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/extensions/api/autofill_assistant_private/autofill_assistant_private_apitest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/extensions/api/autofill_assistant_private/autofill_assistant_private_apitest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/macros.h" #include "base/test/gmock_callback_support.h" #include "base/test/mock_callback.h" #include "base/values.h" #include "chrome/brow...
39.670103
100
0.765073
sarang-apps
d2bce2f1c6dd0acd4bc2cf66c4f25fc0a73a37d4
3,042
cpp
C++
libsmtutil/Z3CHCInterface.cpp
step21/solidity
2a0d701f709673162e8417d2f388b8171a34e892
[ "MIT" ]
null
null
null
libsmtutil/Z3CHCInterface.cpp
step21/solidity
2a0d701f709673162e8417d2f388b8171a34e892
[ "MIT" ]
1
2020-06-17T14:24:49.000Z
2020-06-17T14:24:49.000Z
libsmtutil/Z3CHCInterface.cpp
step21/solidity
2a0d701f709673162e8417d2f388b8171a34e892
[ "MIT" ]
null
null
null
/* This file is part of solidity. solidity is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. solidity is distributed in the hope that i...
27.405405
83
0.73307
step21
d2bf610f8676af660ad0a6574d700801e15affce
3,078
cpp
C++
src/plugins/sb2/tabunhidelistview.cpp
MellonQ/leechcraft
71cbb238d2dade56b3865278a6a8e6a58c217fc5
[ "BSL-1.0" ]
1
2017-01-12T07:05:45.000Z
2017-01-12T07:05:45.000Z
src/plugins/sb2/tabunhidelistview.cpp
MellonQ/leechcraft
71cbb238d2dade56b3865278a6a8e6a58c217fc5
[ "BSL-1.0" ]
null
null
null
src/plugins/sb2/tabunhidelistview.cpp
MellonQ/leechcraft
71cbb238d2dade56b3865278a6a8e6a58c217fc5
[ "BSL-1.0" ]
null
null
null
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Boost Software License - Version 1.0 - August 17th, 2003 * * Permission is hereby granted, free of charge, to any person or organiz...
35.790698
93
0.690058
MellonQ
d2c158a5d6b3e21981c3908c958902651f26de91
2,146
hpp
C++
decompiler/exe.hpp
WastedMeerkat/gm81decompiler
80040ac74f95af03b4b6649b0f5be11a7d13700b
[ "MIT" ]
40
2017-07-31T22:20:49.000Z
2022-01-28T14:57:44.000Z
decompiler/exe.hpp
nkrapivin/gm81decompiler
bae1f8c3f52ed80c50319555c96752d087520821
[ "MIT" ]
null
null
null
decompiler/exe.hpp
nkrapivin/gm81decompiler
bae1f8c3f52ed80c50319555c96752d087520821
[ "MIT" ]
15
2015-12-29T16:36:28.000Z
2021-12-19T09:04:54.000Z
/* * exe.hpp * GM EXE Abstraction */ #ifndef __EXE_HPP #define __EXE_HPP #include <iostream> #include <string> #include "gmk.hpp" #define SWAP_TABLE_SIZE 256 // Icon headers #pragma pack(push, 1) typedef struct { unsigned char bWidth; // Width, in pixels, of the image unsigned char ...
26.493827
84
0.66123
WastedMeerkat
d2c20f256d5fd0bec41871a5c726c73f480ca8b6
2,802
cpp
C++
mfcc/Feature/mathtool.cpp
wengsht/cuda-mfcc-gmm
83587058e3b023060de15f05d848d730add2fe65
[ "MIT", "Unlicense" ]
9
2015-07-07T11:56:20.000Z
2021-02-11T01:31:02.000Z
mfcc/Feature/mathtool.cpp
wengsht/cuda-mfcc-gmm
83587058e3b023060de15f05d848d730add2fe65
[ "MIT", "Unlicense" ]
1
2015-07-25T14:04:00.000Z
2015-07-25T14:04:00.000Z
mfcc/Feature/mathtool.cpp
wengsht/cuda-mfcc-gmm
83587058e3b023060de15f05d848d730add2fe65
[ "MIT", "Unlicense" ]
5
2015-04-23T12:30:48.000Z
2019-02-11T06:53:43.000Z
// // mathtool.cpp // SpeechRecongnitionSystem // // Created by Admin on 9/11/14. // Copyright (c) 2014 Admin. All rights reserved. // #include "mathtool.h" #include <assert.h> #include <iostream> #include "math.h" #include "Feature.h" using namespace std; const int MAXN = 1000; // fft(a, n, 1) -- dft // fft(a, ...
22.780488
95
0.457173
wengsht
d2c457ec8ff551a703e136a14bb0e854f7f24b58
1,530
cc
C++
pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcraster_aguila/ag_PropertiesDialog.cc
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcraster_aguila/ag_PropertiesDialog.cc
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcraster_aguila/ag_PropertiesDialog.cc
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
#include "ag_PropertiesDialog.h" // Library headers. // PCRaster library headers. // Module headers. #include "ag_PropertiesWidget.h" /*! \file This file contains the implementation of the PropertiesDialog class. */ //------------------------------------------------------------------------------ namespace...
19.125
80
0.367974
quanpands
d2c49949e6e8fcbcc67831349a64f1862e838466
13,978
cpp
C++
examples/platforms/utils/settings.cpp
mostafanfs/openthread
28c049f2ce0b664abf2f85562cfd9b79b4680389
[ "BSD-3-Clause" ]
null
null
null
examples/platforms/utils/settings.cpp
mostafanfs/openthread
28c049f2ce0b664abf2f85562cfd9b79b4680389
[ "BSD-3-Clause" ]
null
null
null
examples/platforms/utils/settings.cpp
mostafanfs/openthread
28c049f2ce0b664abf2f85562cfd9b79b4680389
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2016, The OpenThread Authors. * 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 copyright * notice, this ...
30.453159
124
0.645443
mostafanfs
d2c53e1ad0298b833d81da5f7bfe9da3b2aab22d
8,646
cc
C++
test/util/test_OrderedMap.cc
ecmwf-projects/dasi
0ca5c0a847b92586fae18d3b421ba9fb4014d716
[ "Apache-2.0" ]
null
null
null
test/util/test_OrderedMap.cc
ecmwf-projects/dasi
0ca5c0a847b92586fae18d3b421ba9fb4014d716
[ "Apache-2.0" ]
1
2022-03-21T16:20:10.000Z
2022-03-21T16:20:10.000Z
test/util/test_OrderedMap.cc
ecmwf-projects/dasi
0ca5c0a847b92586fae18d3b421ba9fb4014d716
[ "Apache-2.0" ]
null
null
null
#include "dasi/util/Test.h" #include "dasi/util/OrderedMap.h" CASE("Construct an ordered map and add things to it") { dasi::util::OrderedMap<std::string, std::string> om; EXPECT(om.empty()); std::vector<std::pair<std::string, std::string>> expected{ {"zzzz", "zvalue"}, {"yyyy",...
24.988439
96
0.516655
ecmwf-projects
d2c6555ef3950ab04bf037f26f7c58a15c32538f
1,014
cpp
C++
Source/OpenTournament/OpenTournament.cpp
HAARP-art/OpenTournament
1bb188983ba4d013a8ce00bbe1a333f2952814e8
[ "OML" ]
97
2020-05-24T23:09:26.000Z
2022-01-22T13:35:58.000Z
Source/OpenTournament/OpenTournament.cpp
HAARP-art/OpenTournament
1bb188983ba4d013a8ce00bbe1a333f2952814e8
[ "OML" ]
165
2020-05-26T02:42:54.000Z
2022-03-29T11:01:11.000Z
Source/OpenTournament/OpenTournament.cpp
HAARP-art/OpenTournament
1bb188983ba4d013a8ce00bbe1a333f2952814e8
[ "OML" ]
78
2020-05-24T23:10:29.000Z
2022-03-14T13:54:09.000Z
// Copyright (c) 2019-2020 Open Tournament Project, All Rights Reserved. ///////////////////////////////////////////////////////////////////////////////////////////////// #include "OpenTournament.h" #include "Modules/ModuleManager.h" ////////////////////////////////////////////////////////////////////////////...
34.965517
98
0.466469
HAARP-art
d2c83b39d7219d090d32fd1079c275a0d301ff43
357
hh
C++
c++/gtest_tryout/corba_proxy.hh
jdmichaud/snippets
1af85cf25156231165838b309860586f62bf43e2
[ "Apache-2.0" ]
null
null
null
c++/gtest_tryout/corba_proxy.hh
jdmichaud/snippets
1af85cf25156231165838b309860586f62bf43e2
[ "Apache-2.0" ]
null
null
null
c++/gtest_tryout/corba_proxy.hh
jdmichaud/snippets
1af85cf25156231165838b309860586f62bf43e2
[ "Apache-2.0" ]
null
null
null
#ifndef __CORBA_PROXY__ #define __CORBA_PROXY__ #include <iostream> class CorbaProxy { public: CorbaProxy() {} virtual ~CorbaProxy() {} virtual void corba_call_1(unsigned int i) { std::cout << "corba_call_1 " << i << std::endl; } virtual void corba_call_2() { std::cout << "corba_call_2" << std::end...
17.85
51
0.661064
jdmichaud
d2c944dac7af77e474a98b541e90d9d5ddfbdec4
4,780
cpp
C++
qt-creator-opensource-src-4.6.1/src/tools/valgrindfake/outputgenerator.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
5
2018-12-22T14:49:13.000Z
2022-01-13T07:21:46.000Z
qt-creator-opensource-src-4.6.1/src/tools/valgrindfake/outputgenerator.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
null
null
null
qt-creator-opensource-src-4.6.1/src/tools/valgrindfake/outputgenerator.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
8
2018-07-17T03:55:48.000Z
2021-12-22T06:37:53.000Z
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Author: Milian Wolff, KDAB (milian.wolff@kdab.com) ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid comme...
28.452381
110
0.596862
kevinlq
d2cb570e6a48c71f95aea0aac3e1e1c66db8b496
4,066
cc
C++
tests/ut/cpp/utils/orderedset_test.cc
unseenme/mindspore
4ba052f0cd9146ac0ccc4880a778706f1b2d0af8
[ "Apache-2.0" ]
55
2020-12-17T10:26:06.000Z
2022-03-28T07:18:26.000Z
tests/ut/cpp/utils/orderedset_test.cc
liyong126/mindspore
930a1fb0a8fa9432025442c4f4732058bb7af592
[ "Apache-2.0" ]
7
2020-03-30T08:31:56.000Z
2020-04-01T09:54:39.000Z
tests/ut/cpp/utils/orderedset_test.cc
liyong126/mindspore
930a1fb0a8fa9432025442c4f4732058bb7af592
[ "Apache-2.0" ]
14
2021-01-29T02:39:47.000Z
2022-03-23T05:00:26.000Z
/** * Copyright 2020 Huawei Technologies 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 law...
26.927152
75
0.665273
unseenme
d2cbdf2f76ae487e03495662b7b82b3948c23860
1,949
hh
C++
extern/polymesh/src/polymesh/attributes/fast_clear_attribute.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
extern/polymesh/src/polymesh/attributes/fast_clear_attribute.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
extern/polymesh/src/polymesh/attributes/fast_clear_attribute.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
#pragma once #include <polymesh/attributes.hh> #include <polymesh/primitives.hh> namespace polymesh { template <class T, class tag, class gen_t = int> struct fast_clear_attribute; template <class T, class gen_t = int, class mesh_ptr, class tag, class iterator> fast_clear_attribute<T, tag, gen_t> make_fast_clear_attr...
27.842857
141
0.654182
rovedit
d2cc8c0bca403ffbe14591ae09841c606490bdb7
2,298
cpp
C++
src/application.qt.objectview/ObjectViewPlugin.cpp
toeb/sine
96bcde571218f89a2b0b3cc51c19ad2b7be89c13
[ "MIT" ]
null
null
null
src/application.qt.objectview/ObjectViewPlugin.cpp
toeb/sine
96bcde571218f89a2b0b3cc51c19ad2b7be89c13
[ "MIT" ]
null
null
null
src/application.qt.objectview/ObjectViewPlugin.cpp
toeb/sine
96bcde571218f89a2b0b3cc51c19ad2b7be89c13
[ "MIT" ]
null
null
null
#include "ObjectViewPlugin.h" #include <application.qt/PluginContainer.h> #include "ui_objectview.h" #include <application.qt/DataBinding.h> #include <core.utilities.h> using namespace std; using namespace nspace; void ObjectViewPlugin::objectDoubleClicked(QListWidgetItem * qobject){ auto data= qobject->d...
32.828571
124
0.707572
toeb
d2ccdb52f03b4ec1f67b6546ec34c4aeec0eeca7
9,073
cpp
C++
src/decoder-phrasebased/src/native/decoder/moses/HypothesisStackNormal.cpp
ugermann/MMT
715ad16b4467f44c8103e16165261d1391a69fb8
[ "Apache-2.0" ]
3
2020-02-28T21:42:44.000Z
2021-03-12T13:56:16.000Z
tools/mosesdecoder-master/moses/HypothesisStackNormal.cpp
Pangeamt/nectm
6b84f048698f2530b9fdbb30695f2e2217c3fbfe
[ "Apache-2.0" ]
2
2020-11-06T14:40:10.000Z
2020-12-29T19:03:11.000Z
tools/mosesdecoder-master/moses/HypothesisStackNormal.cpp
Pangeamt/nectm
6b84f048698f2530b9fdbb30695f2e2217c3fbfe
[ "Apache-2.0" ]
2
2020-03-26T16:05:11.000Z
2020-08-06T16:35:39.000Z
// $Id$ /*********************************************************************** Moses - factored phrase-based language decoder Copyright (C) 2006 University of Edinburgh This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by th...
30.755932
118
0.654139
ugermann
d2cf5bf30439fa3e6d02f3d20095f943e27a9b7d
326
cpp
C++
10-generic-algorithms/10-32.cpp
aafulei/cppp5e
f8d254073866e3025c3a08b919d9bbe3965b6918
[ "MIT" ]
null
null
null
10-generic-algorithms/10-32.cpp
aafulei/cppp5e
f8d254073866e3025c3a08b919d9bbe3965b6918
[ "MIT" ]
null
null
null
10-generic-algorithms/10-32.cpp
aafulei/cppp5e
f8d254073866e3025c3a08b919d9bbe3965b6918
[ "MIT" ]
null
null
null
// Exercise 10.32: Rewrite the bookstore problem from Section 1.6 (p. 24) using // a vector to hold the transactions and various algorithms to do the // processing. Use sort with your compareIsbn function from Section 10.3.1 (p. // 387) to arrange the transactions in order, and then use find and accumulate // to do the...
54.333333
79
0.751534
aafulei
d2cff4f2cf7446839d32cb58f32ea78ce3b379d0
5,749
cpp
C++
PolarisEngine/src/Rendering/Camera.cpp
Delunado/PolarisEngine
9de5cb1a3c576f4908dae7b0122f6dd1dab0f7f1
[ "Apache-2.0" ]
2
2021-01-12T21:24:24.000Z
2021-02-19T15:06:23.000Z
PolarisEngine/src/Rendering/Camera.cpp
Delunado/PolarisEngine
9de5cb1a3c576f4908dae7b0122f6dd1dab0f7f1
[ "Apache-2.0" ]
2
2021-03-10T19:16:38.000Z
2021-12-01T22:47:13.000Z
PolarisEngine/src/Rendering/Camera.cpp
Delunado/PolarisEngine
9de5cb1a3c576f4908dae7b0122f6dd1dab0f7f1
[ "Apache-2.0" ]
null
null
null
#include <GL/glew.h> #include <iostream> #include <glm/glm.hpp> #include <glm/ext.hpp> #include <glm/gtc/matrix_transform.hpp> #include "Camera.h" namespace Render { Camera::Camera(glm::vec3 position, glm::vec3 lookAtPoint, GLfloat aspectRel) : position(position), lookAtPoint(lookAtPoint), aspectRel(as...
21.214022
162
0.69299
Delunado
d2d035b211db4b777fb4eaa2c2c8a5053db810fe
51
cpp
C++
third_party/vkmemalloc/src/VmaReplay/VmaUsage.cpp
Alan-love/filament
87ee5783b7f72bb5b045d9334d719ea2de9f5247
[ "Apache-2.0" ]
7
2020-02-28T05:45:58.000Z
2021-08-06T20:46:39.000Z
third_party/vkmemalloc/src/VmaReplay/VmaUsage.cpp
Alan-love/filament
87ee5783b7f72bb5b045d9334d719ea2de9f5247
[ "Apache-2.0" ]
7
2019-08-23T17:54:13.000Z
2020-02-01T06:59:52.000Z
third_party/vkmemalloc/src/VmaReplay/VmaUsage.cpp
Alan-love/filament
87ee5783b7f72bb5b045d9334d719ea2de9f5247
[ "Apache-2.0" ]
3
2018-07-30T22:07:00.000Z
2021-07-01T07:50:17.000Z
#define VMA_IMPLEMENTATION #include "VmaUsage.h"
17
27
0.784314
Alan-love
d2d1b51c836e4bc7fac9141910f2eb66fcc9d4d9
733
cpp
C++
class/inheritance.cpp
learnMachining/cplus2test
8cc0048627724bb967f27d5cd9860dbb5804a7d9
[ "Apache-2.0" ]
null
null
null
class/inheritance.cpp
learnMachining/cplus2test
8cc0048627724bb967f27d5cd9860dbb5804a7d9
[ "Apache-2.0" ]
null
null
null
class/inheritance.cpp
learnMachining/cplus2test
8cc0048627724bb967f27d5cd9860dbb5804a7d9
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <time.h> using namespace std; class B0 { public: B0(int n) { nV = n; cout<<"constructing B0"<<endl; } int nV; void fun() { cout<<"member of B0 "<<nV<<endl; } }; class B1:virtual public B0 { public: B1(int a):B0(a) { cout<<"constru...
11.822581
40
0.491132
learnMachining
d2d85d784771d7da94b3474e8be152c7dbed7b53
3,063
cpp
C++
project-code/PictureDecoder/Slice/Slice.cpp
Bho007/MPEG-2-TS-Decoder
6021af80f9a79b241da1db158b87ed3fe53f8e61
[ "MIT" ]
null
null
null
project-code/PictureDecoder/Slice/Slice.cpp
Bho007/MPEG-2-TS-Decoder
6021af80f9a79b241da1db158b87ed3fe53f8e61
[ "MIT" ]
null
null
null
project-code/PictureDecoder/Slice/Slice.cpp
Bho007/MPEG-2-TS-Decoder
6021af80f9a79b241da1db158b87ed3fe53f8e61
[ "MIT" ]
null
null
null
// // Created by elnsa on 2019-12-29. // #include "Slice.h" Slice::Slice(Slice::initializerStruct init) { stream_id = init.stream_id; packet_type = ESPacket::start_code::slice; slice_vertical_position_extension = init.slice_vertical_position_extension; quantiser_scale_code = init.quantiser_scale_code;...
33.293478
127
0.677114
Bho007
d2d9c93538a0b3c819e97e696dfa2d7d54d06e05
3,307
cpp
C++
src/betomnita/gameplay/Vehicle.cpp
bilbosz/Betomnita
23c4679a591bc64c40193fe0e661f35eec85f1b7
[ "MIT" ]
null
null
null
src/betomnita/gameplay/Vehicle.cpp
bilbosz/Betomnita
23c4679a591bc64c40193fe0e661f35eec85f1b7
[ "MIT" ]
1
2018-04-14T08:12:58.000Z
2018-04-14T08:12:58.000Z
src/betomnita/gameplay/Vehicle.cpp
bilbosz/Betomnita
23c4679a591bc64c40193fe0e661f35eec85f1b7
[ "MIT" ]
null
null
null
#include "betomnita/gameplay/Vehicle.hpp" #include "betomnita/gameplay/GamePlayLogic.hpp" #include "betomnita/gameplay/Projectile.hpp" #include "betomnita/gameplay/ProjectilePrototype.hpp" #include "betomnita/gameplay/PrototypeDict.hpp" #include "betomnita/gameplay/World.hpp" #include "game/utils/Utils.hpp" namespace...
36.340659
154
0.580284
bilbosz