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
02dfa6a9fb11874b7dc2e1a743474f3184b26bad
25,614
cpp
C++
test/catalog/constraints_test.cpp
Nov11/15-721
b52c173d4be6838faa86b69959c0c341748f3e58
[ "Apache-2.0" ]
2
2021-03-29T01:29:18.000Z
2022-02-27T11:22:15.000Z
test/catalog/constraints_test.cpp
lym953/15721-p3
c5ba8004c6f0f10472aa004303c04be1c860ade9
[ "Apache-2.0" ]
null
null
null
test/catalog/constraints_test.cpp
lym953/15721-p3
c5ba8004c6f0f10472aa004303c04be1c860ade9
[ "Apache-2.0" ]
null
null
null
//===----------------------------------------------------------------------===// // // Peloton // // constraints_test.cpp // // Identification: test/catalog/constraints_test.cpp // // Copyright (c) 2015-16, Carnegie Mellon University Database Group // //===---------------------------------------...
37.557185
85
0.654837
Nov11
02dfbb902eade56371c5928ff45c8610e0860600
235
cpp
C++
main.cpp
bguina/gomoku
bfce942ba8c0b5cb75675772eaf36ea0611c60b2
[ "Apache-2.0" ]
null
null
null
main.cpp
bguina/gomoku
bfce942ba8c0b5cb75675772eaf36ea0611c60b2
[ "Apache-2.0" ]
null
null
null
main.cpp
bguina/gomoku
bfce942ba8c0b5cb75675772eaf36ea0611c60b2
[ "Apache-2.0" ]
null
null
null
#include <libgen.h> #include "Gomoku.hpp" #include "ResourceMgr.hpp" int main(int ac, char** av) { Gomoku app; (void)ac; ResourceMgr::set_binary_directory(std::string(dirname(av[0]))); app.run(); return 0; }
14.6875
67
0.625532
bguina
02e13227a9bdbeb5269f929e0625f1b0a96d2149
2,474
cpp
C++
games_old/Pacman/lib/Ncurse.cpp
HugoSohm/Arcade
2363078a8bd5864c3812d1a25061ac72dd099eee
[ "MIT" ]
null
null
null
games_old/Pacman/lib/Ncurse.cpp
HugoSohm/Arcade
2363078a8bd5864c3812d1a25061ac72dd099eee
[ "MIT" ]
null
null
null
games_old/Pacman/lib/Ncurse.cpp
HugoSohm/Arcade
2363078a8bd5864c3812d1a25061ac72dd099eee
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2018 ** OOP_arcade_2018 ** File description: ** ncurse.cpp */ #include "Ncurse.hpp" Ncurse::Ncurse() { initscr(); //noecho(); //cbreak(); //getch(); } Ncurse::~Ncurse() = default; void Ncurse::drawASquare(float x, float y, float width, float height, unsigned int color) { /* if (has_colors...
18.191176
134
0.656023
HugoSohm
02e46d87300aca3ff80abd54d5874a4dd4d4fd63
640
ipp
C++
Plugins/Modio/Source/ThirdParty/NativeSDK/modio/modio/core/entities/ModioModDetails.ipp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
24
2020-11-15T05:37:53.000Z
2022-03-26T19:00:17.000Z
Plugins/Modio/Source/ThirdParty/NativeSDK/modio/modio/core/entities/ModioModDetails.ipp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
10
2020-11-30T06:47:14.000Z
2021-12-21T04:16:34.000Z
Plugins/Modio/Source/ThirdParty/NativeSDK/modio/modio/core/entities/ModioModDetails.ipp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
11
2020-12-08T15:09:41.000Z
2022-03-26T19:00:20.000Z
/* * Copyright (C) 2021 mod.io Pty Ltd. <https://mod.io> * * This file is part of the mod.io SDK. * * Distributed under the MIT License. (See accompanying file LICENSE or * view online at <https://github.com/modio/modio-sdk/blob/main/LICENSE>) * */ #ifdef MODIO_SEPARATE_COMPILATION #include "modi...
25.6
75
0.714063
trumank
02e5d887a776d290e7c1d6c775d66222d0b22583
4,697
cpp
C++
fake_main.cpp
AmberLJC/FALCONN
9438b38633283c851f8dd2692586e692260ac7b3
[ "MIT" ]
null
null
null
fake_main.cpp
AmberLJC/FALCONN
9438b38633283c851f8dd2692586e692260ac7b3
[ "MIT" ]
null
null
null
fake_main.cpp
AmberLJC/FALCONN
9438b38633283c851f8dd2692586e692260ac7b3
[ "MIT" ]
null
null
null
// // Created by 刘嘉晨 on 2019-06-22. // #include <omp.h> #include <numeric> #include <iostream> #include <vector> #include <algorithm> using namespace std; #include <string.h> #include <cstdlib> #include <string> #include<fstream> #include "float.h" #include<sstream> template <typename T> vector<size_t> sort_indexes...
21.545872
100
0.507984
AmberLJC
02e66dc92c0347f55b5f2fbc2db2245d183e668a
880
cpp
C++
gameobjects/PlayerServer.cpp
notbaab/HEAT
c8821a789e530216aa961ac9a4bee7f0a1a8736b
[ "MIT" ]
2
2019-11-15T18:49:09.000Z
2022-01-31T04:12:29.000Z
gameobjects/PlayerServer.cpp
notbaab/HEAT
c8821a789e530216aa961ac9a4bee7f0a1a8736b
[ "MIT" ]
37
2019-08-08T01:53:51.000Z
2022-02-01T04:35:03.000Z
gameobjects/PlayerServer.cpp
notbaab/HEAT
c8821a789e530216aa961ac9a4bee7f0a1a8736b
[ "MIT" ]
null
null
null
#include "PlayerServer.h" #include "events/PlayerInputEvent.h" namespace gameobjects { std::shared_ptr<PhysicsComponentUpdate> PlayerServer::CreateStateUpdateEvent() { return std::make_shared<PhysicsComponentUpdate>(this->GetWorldId(), lastMoveSeq, this->physicsComponent); } void PlayerServer::Update() { if ...
25.882353
109
0.711364
notbaab
02e75331acc5259abc0e8746e7cd0d371642a31a
1,365
cpp
C++
problems/election.cpp
migcruz/algorithms
802d6e4e0b463d887be1c2d62a6dbdd543522a7c
[ "MIT" ]
null
null
null
problems/election.cpp
migcruz/algorithms
802d6e4e0b463d887be1c2d62a6dbdd543522a7c
[ "MIT" ]
null
null
null
problems/election.cpp
migcruz/algorithms
802d6e4e0b463d887be1c2d62a6dbdd543522a7c
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> using namespace std; struct candidate { int votes; string name; }; candidate findWinner(vector<candidate> &candidateList){ candidate winner; int currentVotes = 0; for (vector<candidate>::iterator it = candidateList.begin(); it != candidateList.end(); +...
21.328125
96
0.676923
migcruz
02e998d09bfce8e0465620db48d00f93573f7bc2
3,174
cpp
C++
tests/Unit/NumericalAlgorithms/SphericalHarmonics/Test_SpherepackIterator.cpp
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
117
2017-04-08T22:52:48.000Z
2022-03-25T07:23:36.000Z
tests/Unit/NumericalAlgorithms/SphericalHarmonics/Test_SpherepackIterator.cpp
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
3,177
2017-04-07T21:10:18.000Z
2022-03-31T23:55:59.000Z
tests/Unit/NumericalAlgorithms/SphericalHarmonics/Test_SpherepackIterator.cpp
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
85
2017-04-07T19:36:13.000Z
2022-03-01T10:21:00.000Z
// Distributed under the MIT License. // See LICENSE.txt for details. #include "Framework/TestingFramework.hpp" #include <algorithm> #include <cstddef> #include <string> #include <vector> #include "Framework/TestHelpers.hpp" #include "NumericalAlgorithms/SphericalHarmonics/SpherepackIterator.hpp" #include "Utilities...
35.266667
78
0.603025
nilsvu
02ea8fd38c78908d30d34b303b722ddb5b2f8ca7
6,221
cc
C++
pigasus/software/src/stream/ip/ip_module.cc
zhipengzhaocmu/fpga2022_artifact
0ac088a5b04c5c75ae6aef25202b66b0f674acd3
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
null
null
null
pigasus/software/src/stream/ip/ip_module.cc
zhipengzhaocmu/fpga2022_artifact
0ac088a5b04c5c75ae6aef25202b66b0f674acd3
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
null
null
null
pigasus/software/src/stream/ip/ip_module.cc
zhipengzhaocmu/fpga2022_artifact
0ac088a5b04c5c75ae6aef25202b66b0f674acd3
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
null
null
null
//-------------------------------------------------------------------------- // Copyright (C) 2014-2018 Cisco and/or its affiliates. All rights reserved. // // This program is free software; you can redistribute it and/or modify it // under the terms of the GNU General Public License Version 2 as published // by the Fr...
28.022523
80
0.662112
zhipengzhaocmu
02eab0641c46b403b2d3713b545cab51fe645fab
1,673
cpp
C++
Project/Part4/Example/driver.cpp
BlakeBerry26/ProgLangS22
32619e751f3a9a7ff2ff0f9ed31d9b6817303420
[ "MIT" ]
null
null
null
Project/Part4/Example/driver.cpp
BlakeBerry26/ProgLangS22
32619e751f3a9a7ff2ff0f9ed31d9b6817303420
[ "MIT" ]
null
null
null
Project/Part4/Example/driver.cpp
BlakeBerry26/ProgLangS22
32619e751f3a9a7ff2ff0f9ed31d9b6817303420
[ "MIT" ]
null
null
null
//***************************************************************************** // purpose: driver file for interpreter example // version: Spring 2022 // author: Joe Crumpton / Ed Swan //***************************************************************************** #ifdef _MSC_VER #define _CRT_SECURE_NO_WARNINGS #endif...
26.555556
79
0.588763
BlakeBerry26
02ee48b730b0657571d19095f67b4e1bed1d3f02
1,774
cpp
C++
source/ff.ui/source/stream.cpp
spadapet/ff_game_library
f1bf00f90adde66c2c2aa35b109fe61b8d2c6352
[ "MIT" ]
null
null
null
source/ff.ui/source/stream.cpp
spadapet/ff_game_library
f1bf00f90adde66c2c2aa35b109fe61b8d2c6352
[ "MIT" ]
null
null
null
source/ff.ui/source/stream.cpp
spadapet/ff_game_library
f1bf00f90adde66c2c2aa35b109fe61b8d2c6352
[ "MIT" ]
null
null
null
#include "pch.h" #include "stream.h" ff::internal::ui::stream::stream(ff::auto_resource_value&& resource) : resource_(std::move(resource)) { auto resource_file = this->resource_.valid() ? std::dynamic_pointer_cast<ff::resource_file>(this->resource_.value()->get<ff::resource_object_base>()) : nu...
21.901235
112
0.603157
spadapet
02ef14bf890e376f0d8cad173b481bcacf150d69
1,505
cpp
C++
engine/source/gfx/source/src/Animation_player.cpp
mateusgondim/Demos
6aa5da3a6c0e960d10811c9e71e9a0a746e8d6ab
[ "MIT" ]
5
2019-02-12T07:23:55.000Z
2020-06-22T15:03:36.000Z
engine/source/gfx/source/src/Animation_player.cpp
mateusgondim/Demos
6aa5da3a6c0e960d10811c9e71e9a0a746e8d6ab
[ "MIT" ]
null
null
null
engine/source/gfx/source/src/Animation_player.cpp
mateusgondim/Demos
6aa5da3a6c0e960d10811c9e71e9a0a746e8d6ab
[ "MIT" ]
2
2019-06-17T05:04:21.000Z
2020-04-22T09:05:57.000Z
#include <vector> #include <iostream> #include "Animation_player.hpp" #include "Animation.hpp" gfx::Animation_player::Animation_player(const gfx::Animation & animation) : m_animation(animation), m_playing(true), m_current_frame(-1), m_local_clock(0.0f), m_changed_frame(true) { m_seconds_per_frame = 1.0f / m_anima...
20.902778
107
0.712292
mateusgondim
02efc05f529ab7e818edc9e8d04393f741330639
3,260
cxx
C++
cuda_test/bp2bin/bp2bin.cxx
cjy7117/MGARD-Research
34706abbdc99acaa69662fdba367ce9cd37f27b9
[ "Apache-2.0" ]
null
null
null
cuda_test/bp2bin/bp2bin.cxx
cjy7117/MGARD-Research
34706abbdc99acaa69662fdba367ce9cd37f27b9
[ "Apache-2.0" ]
null
null
null
cuda_test/bp2bin/bp2bin.cxx
cjy7117/MGARD-Research
34706abbdc99acaa69662fdba367ce9cd37f27b9
[ "Apache-2.0" ]
null
null
null
#include <adios2.h> #include <iostream> #include <stdlib.h> #include <iomanip> #include <mpi.h> #include <string> #include <stdio.h> #include <vector> #include <iostream> #include <fstream> #include <bits/stdc++.h> #include <chrono> int main(int argc, char *argv[]) { MPI_Init(NULL, NULL); MPI_Comm comm = MPI...
27.394958
145
0.591718
cjy7117
02f1ecc84f8ddba26bd5657da9b9e8c8cfb300c7
155
cpp
C++
src/Qt5Sql/QSqlDriverCreatorBase.cpp
dafrito/luacxx
278bf8a7c6664536ea7f1dd1f59d35b6fb8d2dad
[ "MIT" ]
128
2015-01-07T19:47:09.000Z
2022-01-22T19:42:14.000Z
src/Qt5Sql/QSqlDriverCreatorBase.cpp
dafrito/luacxx
278bf8a7c6664536ea7f1dd1f59d35b6fb8d2dad
[ "MIT" ]
null
null
null
src/Qt5Sql/QSqlDriverCreatorBase.cpp
dafrito/luacxx
278bf8a7c6664536ea7f1dd1f59d35b6fb8d2dad
[ "MIT" ]
24
2015-01-07T19:47:10.000Z
2022-01-25T17:42:37.000Z
#include "QSqlDriverCreatorBase.hpp" namespace lua { void QSqlDriverCreatorBase_metatable(lua_State* const state, const int pos) { } } // namespace lua
15.5
75
0.774194
dafrito
02f1fa5cda8dcad8043b57289b4afbec682f789d
964
hh
C++
packages/solid/Sphere.hh
brbass/ibex
5a4cc5b4d6d46430d9667970f8a34f37177953d4
[ "MIT" ]
2
2020-04-13T20:06:41.000Z
2021-02-12T17:55:54.000Z
packages/solid/Sphere.hh
brbass/ibex
5a4cc5b4d6d46430d9667970f8a34f37177953d4
[ "MIT" ]
1
2018-10-22T21:03:35.000Z
2018-10-22T21:03:35.000Z
packages/solid/Sphere.hh
brbass/ibex
5a4cc5b4d6d46430d9667970f8a34f37177953d4
[ "MIT" ]
3
2019-04-03T02:15:37.000Z
2022-01-04T05:50:23.000Z
#ifndef Sphere_hh #define Sphere_hh #include "Surface.hh" class Sphere : public Surface { public: Sphere(int index, int dimension, Surface_Type surface_type); // Sphere methods virtual double radius() const = 0; virtual std::vector<double> const &origin() const = 0; ...
29.212121
94
0.621369
brbass
02f25d8294c5f536346ee749ae9d3e6464a84c6a
3,659
cpp
C++
dialogs/dialogfieldinformation.cpp
avttrue/fungus
c6ca9ef94317ecbe930da25606ca7331f048ef60
[ "MIT" ]
null
null
null
dialogs/dialogfieldinformation.cpp
avttrue/fungus
c6ca9ef94317ecbe930da25606ca7331f048ef60
[ "MIT" ]
2
2020-08-20T05:04:33.000Z
2020-09-22T17:10:39.000Z
dialogs/dialogfieldinformation.cpp
avttrue/fungus
c6ca9ef94317ecbe930da25606ca7331f048ef60
[ "MIT" ]
null
null
null
#include "dialogfieldinformation.h" #include "properties.h" #include "controls/infopanel.h" #include "controls/separators.h" #include "field/field.h" #include "field/fieldinformation.h" #include <QDebug> #include <QToolBar> #include <QApplication> #include <QIcon> #include <QScrollArea> #include <QVBoxLayout> #include...
43.559524
130
0.68434
avttrue
02f2b1486d84769c925e4e4aa0197da9b0555728
11,932
cpp
C++
ios/versioned-react-native/ABI37_0_0/ReactNative/ReactCommon/fabric/mounting/ABI37_0_0Differentiator.cpp
rudylee/expo
b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc
[ "Apache-2.0", "MIT" ]
3
2020-09-06T17:32:53.000Z
2021-05-20T19:04:48.000Z
ios/versioned-react-native/ABI37_0_0/ReactNative/ReactCommon/fabric/mounting/ABI37_0_0Differentiator.cpp
rudylee/expo
b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc
[ "Apache-2.0", "MIT" ]
2
2021-09-02T20:34:01.000Z
2021-12-09T04:01:45.000Z
ios/versioned-react-native/ABI37_0_0/ReactNative/ReactCommon/fabric/mounting/ABI37_0_0Differentiator.cpp
rudylee/expo
b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc
[ "Apache-2.0", "MIT" ]
2
2020-04-25T16:31:11.000Z
2020-04-25T16:31:13.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 "ABI37_0_0Differentiator.h" #include <better/map.h> #include <better/small_vector.h> #include <ABI37_0_0React/core/LayoutableShado...
34.189112
80
0.7029
rudylee
02f344ce9f29f0c714e4a49cbb59e581fd892afc
2,600
hpp
C++
src/framework/frontend/type/type.hpp
aamshukov/arcturus
4d10cd15ff2b79f23621853961a2178c0bde7d79
[ "MIT" ]
1
2020-12-10T02:33:41.000Z
2020-12-10T02:33:41.000Z
src/framework/frontend/type/type.hpp
aamshukov/arcturus
4d10cd15ff2b79f23621853961a2178c0bde7d79
[ "MIT" ]
null
null
null
src/framework/frontend/type/type.hpp
aamshukov/arcturus
4d10cd15ff2b79f23621853961a2178c0bde7d79
[ "MIT" ]
null
null
null
//.............................. // UI Lab Inc. Arthur Amshukov . //.............................. #ifndef __TYPE_H__ #define __TYPE_H__ #pragma once BEGIN_NAMESPACE(frontend) USING_NAMESPACE(core) class type : public visitable { public: using index_type = int32_t; enum class flag : uint64_t ...
26.530612
108
0.521923
aamshukov
02f7e0741d115d9cad1db6806420b4e53ff02d62
1,003
cpp
C++
problems/codeforces/1210/c-kamil-and-making-a-stream/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
7
2020-10-15T22:37:10.000Z
2022-02-26T17:23:49.000Z
problems/codeforces/1210/c-kamil-and-making-a-stream/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
problems/codeforces/1210/c-kamil-and-making-a-stream/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define long int64_t // ***** constexpr long mod = 1e9 + 7; long ans = 0; vector<vector<int>> adj; vector<long> beauty; void dfs(int u, int p, unordered_map<long, int> cnts) { unordered_map<long, int> new_cnts; for (auto [g, n] : cnts) { new_cnts[gcd(g,...
18.236364
55
0.464606
brunodccarvalho
02fa14c64095878d7774d113a6ebbaa087515bca
2,104
cpp
C++
mppi/src/policies/spline_policy.cpp
ethz-asl/sampling_based_control
2b6b337e773991b7fe32bc617998dd33131abaa3
[ "BSD-3-Clause" ]
11
2021-12-04T06:59:37.000Z
2022-03-24T05:16:52.000Z
mppi/src/policies/spline_policy.cpp
ethz-asl/sampling_based_control
2b6b337e773991b7fe32bc617998dd33131abaa3
[ "BSD-3-Clause" ]
1
2021-12-07T20:07:20.000Z
2021-12-07T20:07:20.000Z
mppi/src/policies/spline_policy.cpp
ethz-asl/sampling_based_control
2b6b337e773991b7fe32bc617998dd33131abaa3
[ "BSD-3-Clause" ]
null
null
null
// // Created by giuseppe on 25.05.21. // #include "mppi/policies/spline_policy.h" using namespace mppi; // Spline Policy // TODO(giuseppe) take params from config SplinePolicy::SplinePolicy(int nu, const Config& config) : Policy(nu) { BSplinePolicyConfig cfg; // TODO(giuseppe) better config cfg.horizon = confi...
29.633803
105
0.676331
ethz-asl
02fe3f90279ec1444460af6d46b30df012bcd050
2,364
cpp
C++
data-structures/reverse_polish_notation/main.cpp
stoimenoff/OOP-Cpp
5bd60f2ad1bd8c433c786bb9716853946b37b875
[ "MIT" ]
3
2017-01-07T23:37:14.000Z
2017-02-23T06:00:56.000Z
data-structures/reverse_polish_notation/main.cpp
stoimenoff/OOP-Cpp
5bd60f2ad1bd8c433c786bb9716853946b37b875
[ "MIT" ]
null
null
null
data-structures/reverse_polish_notation/main.cpp
stoimenoff/OOP-Cpp
5bd60f2ad1bd8c433c786bb9716853946b37b875
[ "MIT" ]
null
null
null
#include "expressionparser.h" #include <iostream> struct Node { string value; Node *left; Node *right; Node(string value, Node *left = nullptr, Node *right = nullptr) : value(value), left(left), right(right) {} ~Node() {delete left; delete right;} }; Node* nodeFromStack(stack<string>& tokens, const OperatorR...
23.176471
85
0.674281
stoimenoff
02fede09ff91b1f539ae503e098b3f0db91676c5
379
cpp
C++
allMatuCommit/7_将输入单词译成密码_2021010911010_20210920145352.cpp
BachWV/matu
d4e3a89385f0a205431dd34c2c7214af40bb8ddb
[ "MIT" ]
null
null
null
allMatuCommit/7_将输入单词译成密码_2021010911010_20210920145352.cpp
BachWV/matu
d4e3a89385f0a205431dd34c2c7214af40bb8ddb
[ "MIT" ]
null
null
null
allMatuCommit/7_将输入单词译成密码_2021010911010_20210920145352.cpp
BachWV/matu
d4e3a89385f0a205431dd34c2c7214af40bb8ddb
[ "MIT" ]
null
null
null
#include<stdio.h> #include<string.h> int main() { int i; char a[21]; gets(a); for (i = 0; a[i] != 0; i++) { if ((a[i] >= 'A' && a[i] <= 'V') || (a[i] >= 'a' && a[i] <= 'v')) printf("%c", a[i] + 4); else if ((a[i] >= 'W' && a[i] <= 'Z') || (a[i] >= 'w' && a[i] <= 'z')) printf("%c", a[i]...
19.947368
74
0.356201
BachWV
02ff84352a4fce7d7782262154dc621f3bc5c3d5
1,143
cpp
C++
nTA/Source/unit_MoveInfo.cpp
loganjones/nTA-Total-Annihilation-Clone
d7d0e4d33f1d452d17cf2fed2b2bcb7f6d7d4d14
[ "MIT" ]
2
2020-05-09T20:50:12.000Z
2021-06-20T08:34:58.000Z
nTA/Source/unit_MoveInfo.cpp
loganjones/nTA-Total-Annihilation-Clone
d7d0e4d33f1d452d17cf2fed2b2bcb7f6d7d4d14
[ "MIT" ]
null
null
null
nTA/Source/unit_MoveInfo.cpp
loganjones/nTA-Total-Annihilation-Clone
d7d0e4d33f1d452d17cf2fed2b2bcb7f6d7d4d14
[ "MIT" ]
2
2018-01-08T00:12:04.000Z
2020-06-14T10:56:50.000Z
// unit_MoveInfo.cpp // \author Logan Jones ////////////////////// \date 4/16/2002 /// \file /// \brief ... ///////////////////////////////////////////////////////////////////// #include "unit.h" #include "unit_MoveInfo.h" // Include inline implementa...
30.891892
71
0.328084
loganjones
f30011dd875bf4a9842d428b290747e077cd5b82
181
hpp
C++
src/agl/engine/camera/world_to_eye.hpp
the-last-willy/abstractgl
d685bef25ac18773d3eea48ca52806c3a3485ddb
[ "MIT" ]
null
null
null
src/agl/engine/camera/world_to_eye.hpp
the-last-willy/abstractgl
d685bef25ac18773d3eea48ca52806c3a3485ddb
[ "MIT" ]
null
null
null
src/agl/engine/camera/world_to_eye.hpp
the-last-willy/abstractgl
d685bef25ac18773d3eea48ca52806c3a3485ddb
[ "MIT" ]
null
null
null
#pragma once #include "camera.hpp" #include "eye_to_world.hpp" namespace agl::engine { inline auto world_to_eye(const eng::Camera& c) { return inverse(eye_to_world(c)); } }
12.928571
41
0.712707
the-last-willy
f30035019a68899ecaa6872a2ac4b6432aa28522
3,454
cc
C++
serving/processor/serving/processor.cc
aalbersk/DeepRec
f673a950780959b44dcda99398880a1d883ab338
[ "Apache-2.0" ]
292
2021-12-24T03:24:33.000Z
2022-03-31T15:41:05.000Z
serving/processor/serving/processor.cc
aalbersk/DeepRec
f673a950780959b44dcda99398880a1d883ab338
[ "Apache-2.0" ]
54
2021-12-24T06:40:09.000Z
2022-03-30T07:57:24.000Z
serving/processor/serving/processor.cc
aalbersk/DeepRec
f673a950780959b44dcda99398880a1d883ab338
[ "Apache-2.0" ]
75
2021-12-24T04:48:21.000Z
2022-03-29T10:13:39.000Z
#include "processor.h" #include "model_serving.h" #include "tensorflow/core/lib/core/status.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/lib/strings/strcat.h" #include "serving/processor/serving/predict.pb.h" extern "C" { void* initialize(const char* model_entry, const char* model_config,...
33.533981
77
0.666763
aalbersk
f300d206a6f749a2e2374f08ee78187daa983deb
35,523
cpp
C++
src/WEDProperties/WED_PropertyTable.cpp
maboehme/xptools
24bc6023f45d3ba73a282e97dc6e04a2e5fbd898
[ "X11", "MIT" ]
null
null
null
src/WEDProperties/WED_PropertyTable.cpp
maboehme/xptools
24bc6023f45d3ba73a282e97dc6e04a2e5fbd898
[ "X11", "MIT" ]
null
null
null
src/WEDProperties/WED_PropertyTable.cpp
maboehme/xptools
24bc6023f45d3ba73a282e97dc6e04a2e5fbd898
[ "X11", "MIT" ]
null
null
null
/* * Copyright (c) 2007, Laminar Research. * * 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, ...
28.282643
208
0.677364
maboehme
f302086f5871c9e0578af1d5a3b366be8ae08cf0
6,216
hpp
C++
tp/libs/memo/include/memo.hpp
pg83/zm
ef9027bd9ee260118fdf80e8b53361da1b7892f3
[ "MIT" ]
16
2017-09-21T13:01:28.000Z
2022-01-13T06:56:31.000Z
tp/libs/memo/include/memo.hpp
pg83/zm
ef9027bd9ee260118fdf80e8b53361da1b7892f3
[ "MIT" ]
1
2021-09-02T12:05:45.000Z
2021-09-03T16:53:18.000Z
tp/libs/memo/include/memo.hpp
pg83/zm
ef9027bd9ee260118fdf80e8b53361da1b7892f3
[ "MIT" ]
3
2020-07-13T23:52:22.000Z
2022-01-05T23:44:06.000Z
#ifndef INC_MEMO_HPP #define INC_MEMO_HPP #include <functional> #include <map> #include <type_traits> namespace memo { namespace detail { // This is identical to the C++20 type trait. template<typename T> struct remove_cvref : std::remove_cv<std::remove_reference_t<T>> {}; template<typename T> ...
31.236181
80
0.648166
pg83
f30b49e727a35627ce3ef1c0ccfc8ad27a3c0917
76,576
cpp
C++
sdktools/debuggers/ntsd64/dbgclt.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
sdktools/debuggers/ntsd64/dbgclt.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
sdktools/debuggers/ntsd64/dbgclt.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//---------------------------------------------------------------------------- // // Debug client implementation. // // Copyright (C) Microsoft Corporation, 1999-2002. // //---------------------------------------------------------------------------- #include "ntsdp.hpp" #include "dbgver.h" #define VER_STRI...
22.469484
80
0.553607
npocmaka
f30c8484815dbe32536af7eda17e7e10f4d4ae26
295
hpp
C++
OCR/ANN/PreprocessorANN.hpp
liuouya/basicOCR
99940949db010839ca42c4e5dad07dd9cf611e64
[ "MIT" ]
null
null
null
OCR/ANN/PreprocessorANN.hpp
liuouya/basicOCR
99940949db010839ca42c4e5dad07dd9cf611e64
[ "MIT" ]
null
null
null
OCR/ANN/PreprocessorANN.hpp
liuouya/basicOCR
99940949db010839ca42c4e5dad07dd9cf611e64
[ "MIT" ]
null
null
null
#pragma once #include <opencv2/core.hpp> #include "../IPreprocessor.hpp" class PreprocessorANN : public IPreprocessor { public: virtual ~PreprocessorANN() {} virtual cv::Mat apply(cv::Mat* image, bool target = false); virtual std::vector<cv::Mat> segmentation(cv::Mat* image); };
18.4375
62
0.698305
liuouya
f30df695f8ccd4004ad1adf0735ca51ce607a6b2
637
cpp
C++
C++/0254-Factor-Combinations/soln-1.cpp
wyaadarsh/LeetCode-Solutions
3719f5cb059eefd66b83eb8ae990652f4b7fd124
[ "MIT" ]
5
2020-07-24T17:48:59.000Z
2020-12-21T05:56:00.000Z
C++/0254-Factor-Combinations/soln-1.cpp
zhangyaqi1989/LeetCode-Solutions
2655a1ffc8678ad1de6c24295071308a18c5dc6e
[ "MIT" ]
null
null
null
C++/0254-Factor-Combinations/soln-1.cpp
zhangyaqi1989/LeetCode-Solutions
2655a1ffc8678ad1de6c24295071308a18c5dc6e
[ "MIT" ]
2
2020-07-24T17:49:01.000Z
2020-08-31T19:57:35.000Z
class Solution { public: vector<vector<int>> getFactors(int n) { return dfs(n, 2); } private: vector<vector<int>> dfs(int n, int lo) { vector<vector<int>> factors; for(int factor = lo; factor * factor <= n; ++factor) { if (n % factor == 0) { factors.p...
27.695652
67
0.463108
wyaadarsh
f30e8c71d68ef695059d706b7cd74b9160789285
3,405
cc
C++
hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/tools/hdfs-allow-snapshot/hdfs-allow-snapshot.cc
luoyuan3471/hadoop
20b78c8f978dc74f03a0dd5551904f8ec40ccf82
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSD-3-Clause" ]
14,425
2015-01-01T15:34:43.000Z
2022-03-31T15:28:37.000Z
hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/tools/hdfs-allow-snapshot/hdfs-allow-snapshot.cc
bharatviswa504/hadoop-1
3bf014d8717603828ef2dd166d9ec014b7d9b2c9
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSD-3-Clause" ]
3,805
2015-03-20T15:58:53.000Z
2022-03-31T23:58:37.000Z
hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/tools/hdfs-allow-snapshot/hdfs-allow-snapshot.cc
bharatviswa504/hadoop-1
3bf014d8717603828ef2dd166d9ec014b7d9b2c9
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSD-3-Clause" ]
9,521
2015-01-01T19:12:52.000Z
2022-03-31T03: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 you under the Apache License, Version 2.0 (the "License"); you may no...
29.608696
78
0.659031
luoyuan3471
f30f51755007b57339865aed77869ac55dab2cd2
618
cpp
C++
state.cpp
MatthewSmithPhysics/Ising-Model
af5e150603aa0cdae4fd73cdfe36975651ec528d
[ "MIT" ]
null
null
null
state.cpp
MatthewSmithPhysics/Ising-Model
af5e150603aa0cdae4fd73cdfe36975651ec528d
[ "MIT" ]
null
null
null
state.cpp
MatthewSmithPhysics/Ising-Model
af5e150603aa0cdae4fd73cdfe36975651ec528d
[ "MIT" ]
null
null
null
#include"state.h" using namespace std; State::State() { this->scramble(); } State::State(int d, int n) { this->d = d; this->n = n; this->scramble(); } State::State(int d, int n, double J) { this->d = d; this->n = n; this->J = J; this->scramble(); } State State::copy() { State Y =...
14.372093
69
0.490291
MatthewSmithPhysics
f310d16cfc96110602cbb8ad8eb738b37b3e1549
24,606
cpp
C++
test/pt-client-2/test_pt_client.cpp
costanic/mbed-edge
4900e950ff67f8974b7aeef955289ef56606c964
[ "Apache-2.0" ]
24
2018-03-27T16:44:18.000Z
2020-04-28T15:28:34.000Z
test/pt-client-2/test_pt_client.cpp
costanic/mbed-edge
4900e950ff67f8974b7aeef955289ef56606c964
[ "Apache-2.0" ]
19
2021-01-28T20:14:45.000Z
2021-11-23T13:08:59.000Z
test/pt-client-2/test_pt_client.cpp
costanic/mbed-edge
4900e950ff67f8974b7aeef955289ef56606c964
[ "Apache-2.0" ]
28
2018-04-02T02:36:48.000Z
2020-10-13T05:37:16.000Z
#include <stdint.h> #include "CppUTest/TestHarness.h" #include "CppUTestExt/MockSupport.h" #include "test-lib/msg_api_mocks.h" #include "test-lib/mutex_helper.h" extern "C" { #include "common/edge_mutex.h" #include "test-lib/evbase_mock.h" #include "libwebsocket-mock/lws_mock.h" #include "pt-client-2/pt_api_internal....
33.432065
114
0.736731
costanic
f3129105bbf6009f766bca0bc87eda7dbeaf7254
3,060
cpp
C++
modules/core/gallery/unit/gallery/magic.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/core/gallery/unit/gallery/magic.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/core/gallery/unit/gallery/magic.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
38.25
84
0.448693
psiha
f31525d3f14956f46ae95478176b673f0912151f
18,220
cpp
C++
src/gle/color.cpp
vlabella/GLE
ff6b424fda75d674c6a9f270ccdade3ab149e24f
[ "BSD-3-Clause" ]
3
2022-03-03T06:48:33.000Z
2022-03-13T21:18:11.000Z
src/gle/color.cpp
vlabella/GLE
ff6b424fda75d674c6a9f270ccdade3ab149e24f
[ "BSD-3-Clause" ]
1
2022-03-14T13:01:29.000Z
2022-03-14T13:13:23.000Z
src/gle/color.cpp
vlabella/GLE
ff6b424fda75d674c6a9f270ccdade3ab149e24f
[ "BSD-3-Clause" ]
1
2021-12-21T23:14:06.000Z
2021-12-21T23:14:06.000Z
/************************************************************************ * * * GLE - Graphics Layout Engine <http://www.gle-graphics.org/> * * * * Modified BSD License ...
40.669643
92
0.727607
vlabella
f31593352a123aaa0e2807e203b40874e0904bbc
7,106
cc
C++
components/update_client/crx_downloader.cc
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
components/update_client/crx_downloader.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
components/update_client/crx_downloader.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.000Z
// Copyright 2014 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 "components/update_client/crx_downloader.h" #include <utility> #include "base/bind.h" #include "base/bind_helpers.h" #include "base/files/file_...
32.153846
79
0.715311
google-ar
f316e308be7b2fa57871fcd8fe66d4de14e32ecf
29,905
cpp
C++
llvm/lib/Target/Mips/MipsBranchExpansion.cpp
rhausam/wine-crossover
b954f98f25f195f9de29c28c41fcb074d77de0f0
[ "MIT" ]
null
null
null
llvm/lib/Target/Mips/MipsBranchExpansion.cpp
rhausam/wine-crossover
b954f98f25f195f9de29c28c41fcb074d77de0f0
[ "MIT" ]
null
null
null
llvm/lib/Target/Mips/MipsBranchExpansion.cpp
rhausam/wine-crossover
b954f98f25f195f9de29c28c41fcb074d77de0f0
[ "MIT" ]
null
null
null
//===----------------------- MipsBranchExpansion.cpp ----------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
34.612269
80
0.628958
rhausam
f3180be9e3e08ecbc66586b42743f74714df8bda
1,839
cpp
C++
VectorOfPtr/VectorOfPtr.cpp
jbcoe/CppSandbox
574dc31bbd3640a8cf1b7642c4a449bee687cce5
[ "MIT" ]
7
2015-01-18T13:30:09.000Z
2021-08-21T19:50:26.000Z
VectorOfPtr/VectorOfPtr.cpp
jbcoe/CppSandbox
574dc31bbd3640a8cf1b7642c4a449bee687cce5
[ "MIT" ]
1
2016-03-13T21:26:37.000Z
2016-03-13T21:26:37.000Z
VectorOfPtr/VectorOfPtr.cpp
jbcoe/CppSandbox
574dc31bbd3640a8cf1b7642c4a449bee687cce5
[ "MIT" ]
1
2016-02-16T04:56:25.000Z
2016-02-16T04:56:25.000Z
#include <iostream> #include <algorithm> #include <memory> #include <iterator> #include <boost/date_time/posix_time/posix_time.hpp> #include <boost/lexical_cast.hpp> #include <Common/Timer.h> class MySimpleClass { public: double m_x = 0.0; double m_y = 0.0; std::string m_name; }; int main(int argc, char* argv[]...
23.576923
72
0.49429
jbcoe
f3183b43096ec65d144211f22ee0f1647f408d01
2,978
cpp
C++
src/APSPAlgorithms.cpp
Lee-W/All-Pair-Short-Path-Algorithm-Comparsion
ffe819532c1090200224964abfb9d1e3a3c05b67
[ "MIT" ]
null
null
null
src/APSPAlgorithms.cpp
Lee-W/All-Pair-Short-Path-Algorithm-Comparsion
ffe819532c1090200224964abfb9d1e3a3c05b67
[ "MIT" ]
null
null
null
src/APSPAlgorithms.cpp
Lee-W/All-Pair-Short-Path-Algorithm-Comparsion
ffe819532c1090200224964abfb9d1e3a3c05b67
[ "MIT" ]
null
null
null
#include "APSPAlgorithms.h" bool APSPAlgorithms::arcCmp(Arc a1, Arc a2) { if (a1.from == a2.from) { if (a1.to < a2.to) return a1.arcLength < a2.arcLength; return a1.to < a2.to; } return a1.from < a2.from; } void APSPAlgorithms::initial(int n, vector<Arc> inputArcs) { arcs =...
25.895652
93
0.535594
Lee-W
f31a7bfae275da175e093bf63b8a0ee5beaa3a9d
10,021
cc
C++
RecoLocalCalo/CastorReco/src/CastorSimpleRecAlgo.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
RecoLocalCalo/CastorReco/src/CastorSimpleRecAlgo.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
RecoLocalCalo/CastorReco/src/CastorSimpleRecAlgo.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
#include "RecoLocalCalo/CastorReco/interface/CastorSimpleRecAlgo.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "CalibCalorimetry/CastorCalib/interface/CastorTimeSlew.h" #include "DataFormats/METReco/interface/HcalCaloFlagLabels.h" #include <algorithm> // for "max" #include <math.h> constexpr do...
33.403333
142
0.653328
pasmuss
f31c4e16ccd63618003fe917d4b2d8dedfd6c4f6
3,507
cpp
C++
llvm-7.0.0.src/tools/clang/test/Index/annotate-comments-availability-attrs.cpp
sillywalk/grazz
a0adb1a90d41ff9006d8c1476546263f728b3c83
[ "Apache-2.0" ]
1,073
2017-06-28T05:11:54.000Z
2022-03-31T12:52:07.000Z
llvm-7.0.0.src/tools/clang/test/Index/annotate-comments-availability-attrs.cpp
sillywalk/grazz
a0adb1a90d41ff9006d8c1476546263f728b3c83
[ "Apache-2.0" ]
51
2019-10-23T11:55:08.000Z
2021-12-21T06:32:11.000Z
llvm-7.0.0.src/tools/clang/test/Index/annotate-comments-availability-attrs.cpp
sillywalk/grazz
a0adb1a90d41ff9006d8c1476546263f728b3c83
[ "Apache-2.0" ]
244
2017-06-28T05:08:57.000Z
2022-03-13T05:03:12.000Z
// rdar://12378879 // RUN: rm -rf %t // RUN: mkdir %t // RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-schema.rng %s > %t/out // RUN: FileCheck %s < %t/out // Ensure that XML we generate is not invalid. // RUN: FileCheck %s -check-prefix=WRONG < %t/out // WRONG-NOT: Co...
79.704545
679
0.739664
sillywalk
f31c7aea2800bb394da04b1a45f74cbf78ac91e3
2,089
cpp
C++
test/function/scalar/ilog2.cpp
TobiasLudwig/boost.simd
c04d0cc56747188ddb9a128ccb5715dd3608dbc1
[ "BSL-1.0" ]
6
2018-02-25T22:23:33.000Z
2021-01-15T15:13:12.000Z
test/function/scalar/ilog2.cpp
remymuller/boost.simd
3caefb7ee707e5f68dae94f8f31f72f34b7bb5de
[ "BSL-1.0" ]
null
null
null
test/function/scalar/ilog2.cpp
remymuller/boost.simd
3caefb7ee707e5f68dae94f8f31f72f34b7bb5de
[ "BSL-1.0" ]
7
2017-12-12T12:36:31.000Z
2020-02-10T14:27:07.000Z
//================================================================================================== /*! Copyright 2016 NumScale SAS Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ //====================================...
29.013889
100
0.611297
TobiasLudwig
f31cb3e5f507357586ad321d38cdde45f3fe6c14
1,588
hpp
C++
src/Evento.hpp
lucasjoao/traffic_light_simulator
ebd0a7af9cd87845efcc3f27ee88ec653c457d6c
[ "Unlicense" ]
null
null
null
src/Evento.hpp
lucasjoao/traffic_light_simulator
ebd0a7af9cd87845efcc3f27ee88ec653c457d6c
[ "Unlicense" ]
null
null
null
src/Evento.hpp
lucasjoao/traffic_light_simulator
ebd0a7af9cd87845efcc3f27ee88ec653c457d6c
[ "Unlicense" ]
null
null
null
#ifndef EVENTO_HPP #define EVENTO_HPP /** *@brief Implementação da classe Evento; * *@param _tempo Dado por int que representa tempo de acontecimento do evento *@param _tipo Representa o tipo do evento, podendo diferenciar-se em 4 tipos(0 a 3). *@param *_elemento Representa o elemento do even...
28.357143
94
0.643577
lucasjoao
f31f30360a0263520b0a9a4c131682b95fc55a5a
1,514
cc
C++
src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/sim/test/set_multicast_test.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
5
2022-01-10T20:22:17.000Z
2022-01-21T20:14:17.000Z
src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/sim/test/set_multicast_test.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
1
2022-03-01T01:12:04.000Z
2022-03-01T01:17:26.000Z
src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/sim/test/set_multicast_test.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2020 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <functional> #include <gtest/gtest.h> #include "src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/fwil.h" #include "src/connectivity/w...
32.913043
97
0.771466
allansrc
f32133642073fd1278db485b674e43248210c4a0
4,610
cc
C++
src/Model.cc
AnotherHermit/VoxelConeTracing
3c10cd07584fcec805c154abc08cf07838933a66
[ "Beerware" ]
16
2016-08-09T15:25:27.000Z
2021-06-11T21:48:31.000Z
src/Model.cc
AnotherHermit/VoxelConeTracing
3c10cd07584fcec805c154abc08cf07838933a66
[ "Beerware" ]
null
null
null
src/Model.cc
AnotherHermit/VoxelConeTracing
3c10cd07584fcec805c154abc08cf07838933a66
[ "Beerware" ]
3
2021-03-22T09:48:29.000Z
2021-07-04T11:14:13.000Z
/////////////////////////////////////// // // Computer Graphics TSBK03 // Conrad Wahlén - conwa099 // /////////////////////////////////////// #include "Model.h" #include "GL_utilities.h" #include <iostream> Model::Model() { subDrawID = 0; subVoxelizeID = 0; diffuseID = 0; maskID = 0; diffColor = glm::vec3(1.0...
27.771084
95
0.756833
AnotherHermit
f321c686da4ee3466d9e7fec998ba7657c76e1fc
5,840
cpp
C++
src/dawn_native/vulkan/BindGroupVk.cpp
fujunwei/dawn
77f091ce4653f466113d8d35455a275ee0ed9cea
[ "Apache-2.0" ]
2
2019-12-06T05:45:04.000Z
2019-12-06T05:45:51.000Z
src/dawn_native/vulkan/BindGroupVk.cpp
fujunwei/dawn
77f091ce4653f466113d8d35455a275ee0ed9cea
[ "Apache-2.0" ]
null
null
null
src/dawn_native/vulkan/BindGroupVk.cpp
fujunwei/dawn
77f091ce4653f466113d8d35455a275ee0ed9cea
[ "Apache-2.0" ]
null
null
null
// Copyright 2018 The Dawn Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
42.014388
100
0.638527
fujunwei
f322fde77daf78dd7e91117d9027a40ae4552f4b
793
hpp
C++
contracts/system/test/include/ramconsumption.hpp
EOSPowerNetwork/system-epn
dfa836101f6b148916b08b3c2988b591ed92ce9e
[ "MIT" ]
null
null
null
contracts/system/test/include/ramconsumption.hpp
EOSPowerNetwork/system-epn
dfa836101f6b148916b08b3c2988b591ed92ce9e
[ "MIT" ]
null
null
null
contracts/system/test/include/ramconsumption.hpp
EOSPowerNetwork/system-epn
dfa836101f6b148916b08b3c2988b591ed92ce9e
[ "MIT" ]
null
null
null
#pragma once #include <eosio/eosio.hpp> namespace system_epn { namespace ramConsumption_bytes { namespace firstEmplace { constexpr int64_t DraftDonation = 237; constexpr int64_t SignDonation = 900; } // namespace firstEmplace namespace subsequentEmplace { ...
33.041667
56
0.598991
EOSPowerNetwork
f323c56e9a241ca5fd268d7d67c4ef6af7a9899a
23,625
cpp
C++
windows_desktop/e_transactions_w.cpp
MrCryptoT/mwc-qt-wallet
7de81b73f4259ef203f8031c31cc25811e70e338
[ "Apache-2.0" ]
1
2021-05-06T22:54:13.000Z
2021-05-06T22:54:13.000Z
windows_desktop/e_transactions_w.cpp
MrCryptoT/mwc-qt-wallet
7de81b73f4259ef203f8031c31cc25811e70e338
[ "Apache-2.0" ]
null
null
null
windows_desktop/e_transactions_w.cpp
MrCryptoT/mwc-qt-wallet
7de81b73f4259ef203f8031c31cc25811e70e338
[ "Apache-2.0" ]
1
2021-12-09T06:15:16.000Z
2021-12-09T06:15:16.000Z
// Copyright 2019 The MWC Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed...
38.539967
169
0.600085
MrCryptoT
f3289870f2eefd025f37b488bec90568e604a650
39,828
cpp
C++
Source/General/Driver/Filter/BPTC/Core/BC7CompressorSIMD.cpp
paintdream/paintsnow
3a1cbc9e571eaa2e62a3a2d60f75817b45f0c781
[ "MIT" ]
null
null
null
Source/General/Driver/Filter/BPTC/Core/BC7CompressorSIMD.cpp
paintdream/paintsnow
3a1cbc9e571eaa2e62a3a2d60f75817b45f0c781
[ "MIT" ]
null
null
null
Source/General/Driver/Filter/BPTC/Core/BC7CompressorSIMD.cpp
paintdream/paintsnow
3a1cbc9e571eaa2e62a3a2d60f75817b45f0c781
[ "MIT" ]
null
null
null
//-------------------------------------------------------------------------------------- // Copyright 2011 Intel Corporation // All Rights Reserved // // Permission is granted to use, copy, distribute and prepare derivative works of this // software for any purpose and without fee, provided, that the above copyright no...
31.939054
255
0.657
paintdream
f3289a364207d1bc7600864e1de90fd816ea0a59
1,775
hpp
C++
serial_communication/include/serial_communication/serial_windows.hpp
Terabee/hardware_drivers
09eb0404cff615ccba7cbb2866c4b65fe8d6a517
[ "MIT" ]
1
2020-06-22T21:44:32.000Z
2020-06-22T21:44:32.000Z
serial_communication/include/serial_communication/serial_windows.hpp
Terabee/hardware_drivers
09eb0404cff615ccba7cbb2866c4b65fe8d6a517
[ "MIT" ]
null
null
null
serial_communication/include/serial_communication/serial_windows.hpp
Terabee/hardware_drivers
09eb0404cff615ccba7cbb2866c4b65fe8d6a517
[ "MIT" ]
2
2020-06-24T07:07:50.000Z
2021-03-30T15:37:40.000Z
#ifndef SERIAL_WINDOWS_H #define SERIAL_WINDOWS_H #include "serial_communication/iserial.hpp" #include <windows.h> namespace terabee { namespace serial_communication { class SerialWindows : public ISerial { public: SerialWindows() = delete; /** * Constructs Serial from given port, e.g. /dev/tt...
27.307692
67
0.703099
Terabee
f328daa5f04e0ff9af389bb2528d3f8f99888cdd
26
cpp
C++
VendingMachine/src/Application/ProductSlot.cpp
harryfilis/Microcontrollers-Peripherals-8thSemester
ffbfe9c7d6ed4aaaf083c92893ae38ec6cb13dc8
[ "MIT" ]
null
null
null
VendingMachine/src/Application/ProductSlot.cpp
harryfilis/Microcontrollers-Peripherals-8thSemester
ffbfe9c7d6ed4aaaf083c92893ae38ec6cb13dc8
[ "MIT" ]
null
null
null
VendingMachine/src/Application/ProductSlot.cpp
harryfilis/Microcontrollers-Peripherals-8thSemester
ffbfe9c7d6ed4aaaf083c92893ae38ec6cb13dc8
[ "MIT" ]
null
null
null
#include "ProductSlot.h"
13
25
0.730769
harryfilis
f3314bdc07fc13583b425d4d663513c73a2d7497
1,543
cpp
C++
tests_cpp14/benchmark/benchmark.cpp
p-groarke/fea_libs
b7ddec06be807efb0eba51cf52bedf1cd800ef52
[ "BSD-3-Clause" ]
4
2021-01-23T03:35:33.000Z
2022-03-19T03:04:28.000Z
tests_cpp14/benchmark/benchmark.cpp
p-groarke/fea_libs
b7ddec06be807efb0eba51cf52bedf1cd800ef52
[ "BSD-3-Clause" ]
null
null
null
tests_cpp14/benchmark/benchmark.cpp
p-groarke/fea_libs
b7ddec06be807efb0eba51cf52bedf1cd800ef52
[ "BSD-3-Clause" ]
null
null
null
#include <chrono> #include <cstdio> #include <fea/benchmark/benchmark.hpp> #include <gtest/gtest.h> #include <thread> using namespace std::chrono_literals; namespace { TEST(fea_benchmark, basics) { // TODO : This tests nothing, rewrite. fea::bench::suite suite; suite.title("suite test"); suite.benchmark("test1...
26.152542
77
0.631238
p-groarke
f331e7771d5abc9cbe231128b8d14133f3cfa403
3,424
cpp
C++
qtmultimedia/src/plugins/android/src/mediacapture/qandroidcameracontrol.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
1
2020-04-30T15:47:35.000Z
2020-04-30T15:47:35.000Z
qtmultimedia/src/plugins/android/src/mediacapture/qandroidcameracontrol.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
qtmultimedia/src/plugins/android/src/mediacapture/qandroidcameracontrol.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may ...
32
106
0.722547
wgnet
f334ac0378a9d44121561464ecbd5e84fc934a3f
5,076
cpp
C++
CrossCppWPApp/Twitter.xaml.cpp
bobbyz-dk/cross-cpp-prototype
2e6261e72a13934fae966a8843507f051264a8f2
[ "MIT" ]
null
null
null
CrossCppWPApp/Twitter.xaml.cpp
bobbyz-dk/cross-cpp-prototype
2e6261e72a13934fae966a8843507f051264a8f2
[ "MIT" ]
null
null
null
CrossCppWPApp/Twitter.xaml.cpp
bobbyz-dk/cross-cpp-prototype
2e6261e72a13934fae966a8843507f051264a8f2
[ "MIT" ]
null
null
null
// // Twitter.xaml.cpp // Implementation of the Twitter class // #include "pch.h" #include "Twitter.xaml.h" using namespace CrossCppWPApp; using namespace Platform; using namespace Platform::Collections; using namespace Windows::Foundation; using namespace Windows::Foundation::Collections; using namespace Windows::...
35.006897
123
0.75394
bobbyz-dk
f334aebe60b0ab8eaba6ef7d14e7c33e99e17f83
1,263
cpp
C++
example.cpp
wzhao18/easy-just-in-time
4f28cb18a8d7783fe9fd55d6b5a37a546e426125
[ "BSD-3-Clause" ]
null
null
null
example.cpp
wzhao18/easy-just-in-time
4f28cb18a8d7783fe9fd55d6b5a37a546e426125
[ "BSD-3-Clause" ]
null
null
null
example.cpp
wzhao18/easy-just-in-time
4f28cb18a8d7783fe9fd55d6b5a37a546e426125
[ "BSD-3-Clause" ]
1
2021-06-29T19:15:31.000Z
2021-06-29T19:15:31.000Z
// RUN: %clangxx %cxxflags %include_flags %ld_flags %s -Xclang -load -Xclang %lib_pass -o %t // RUN: %t > %t.out // RUN: %FileCheck %s < %t.out #include <easy/jit.h> #include <llvm/Transforms/Utils/Cloning.h> #include <functional> #include <cstdio> using namespace std::placeholders; double add (double a, double b) ...
26.3125
92
0.683294
wzhao18
f334cef79172b00b66fa68fb1460ccb65a0d904c
422
cpp
C++
src/Functions/like.cpp
amosnothing/ClickHouse
cf49a839806290c41a3a1ccd5808687d7ccaca78
[ "Apache-2.0" ]
8
2019-06-04T02:50:13.000Z
2022-02-10T06:46:51.000Z
src/Functions/like.cpp
amosnothing/ClickHouse
cf49a839806290c41a3a1ccd5808687d7ccaca78
[ "Apache-2.0" ]
16
2021-06-07T21:32:30.000Z
2022-03-31T21:08:29.000Z
src/Functions/like.cpp
amosnothing/ClickHouse
cf49a839806290c41a3a1ccd5808687d7ccaca78
[ "Apache-2.0" ]
2
2021-01-04T06:43:51.000Z
2021-05-14T03:17:13.000Z
#include "FunctionsStringSearch.h" #include "FunctionFactory.h" #include "MatchImpl.h" namespace DB { struct NameLike { static constexpr auto name = "like"; }; namespace { using LikeImpl = MatchImpl</*SQL LIKE */ true, /*revert*/false>; } using FunctionLike = FunctionsStringSearch<LikeImpl, NameLike>; voi...
16.230769
68
0.732227
amosnothing
f3356db94db7c66fc5d0f42d454550da332ce7e8
697
cpp
C++
concurrency/ex2_1.cpp
hahnjiang/cpp-practices
c8ea5e5e82b9c42c9c99b92b60bb0efaea879e12
[ "MIT" ]
null
null
null
concurrency/ex2_1.cpp
hahnjiang/cpp-practices
c8ea5e5e82b9c42c9c99b92b60bb0efaea879e12
[ "MIT" ]
null
null
null
concurrency/ex2_1.cpp
hahnjiang/cpp-practices
c8ea5e5e82b9c42c9c99b92b60bb0efaea879e12
[ "MIT" ]
null
null
null
#include <algorithm> #include <functional> #include <iostream> #include <thread> #include <vector> using namespace std; class WorkerThread { public: void operator()() { cout << "Worker Thread " << this_thread::get_id() << "is Executing" << endl; } }; int main(void) { vector<thread> t...
23.233333
75
0.615495
hahnjiang
f335b95156763a5021a572e39d7672b0d35cedfd
2,271
cc
C++
src/xpdf/goo/FixedPoint.cc
hackbinary/pdfedit
5efb58265d0b86c2786d7b218aa0d6f895b926d3
[ "CECILL-B" ]
63
2016-01-08T14:48:19.000Z
2022-03-23T11:21:28.000Z
src/xpdf/goo/FixedPoint.cc
mmoselhy/PDF-X
b72597bbb0c6c86d99e44cf18f7b46d5175a7bfa
[ "CECILL-B" ]
2
2017-05-12T02:57:20.000Z
2020-08-15T13:16:00.000Z
src/xpdf/goo/FixedPoint.cc
mmoselhy/PDF-X
b72597bbb0c6c86d99e44cf18f7b46d5175a7bfa
[ "CECILL-B" ]
27
2015-01-21T01:33:56.000Z
2022-03-22T19:42:45.000Z
//======================================================================== // // FixedPoint.cc // // Fixed point type, with C++ operators. // // Copyright 2004 Glyph & Cog, LLC // //======================================================================== #include <xpdf-aconf.h> #if USE_FIXEDPOINT #ifdef USE_GCC_PRAG...
19.084034
76
0.459269
hackbinary
f3371ebd667ad084db50fb42547ca725350cac23
6,731
hpp
C++
src/server/UserCommandProcessor.hpp
nopdotcom/opentxs
140428ba8f1bd4c09654ebf0a1c1725f396efa8b
[ "MIT" ]
null
null
null
src/server/UserCommandProcessor.hpp
nopdotcom/opentxs
140428ba8f1bd4c09654ebf0a1c1725f396efa8b
[ "MIT" ]
null
null
null
src/server/UserCommandProcessor.hpp
nopdotcom/opentxs
140428ba8f1bd4c09654ebf0a1c1725f396efa8b
[ "MIT" ]
null
null
null
// Copyright (c) 2018 The Open-Transactions developers // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #pragma once #include "Internal.hpp" #include "opentxs/Types...
38.462857
80
0.710741
nopdotcom
f33777ff123a37ff9c34b4f3edf49fe5bc5fc534
1,635
cpp
C++
control/MwcLabel.cpp
velezladonna/mwc-qt-wallet
bd241b91d28350e17e52a10208e663fcb992d7cc
[ "Apache-2.0" ]
1
2020-03-19T10:02:16.000Z
2020-03-19T10:02:16.000Z
control/MwcLabel.cpp
velezladonna/mwc-qt-wallet
bd241b91d28350e17e52a10208e663fcb992d7cc
[ "Apache-2.0" ]
null
null
null
control/MwcLabel.cpp
velezladonna/mwc-qt-wallet
bd241b91d28350e17e52a10208e663fcb992d7cc
[ "Apache-2.0" ]
null
null
null
// Copyright 2019 The MWC Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed...
25.546875
89
0.727217
velezladonna
f3378089971b220c12c735ba6f52957dde086632
1,545
cpp
C++
shared_model/backend/protobuf/query_responses/impl/proto_account_asset_response.cpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
1,467
2016-10-25T12:27:19.000Z
2022-03-28T04:32:05.000Z
shared_model/backend/protobuf/query_responses/impl/proto_account_asset_response.cpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
2,366
2016-10-25T10:07:57.000Z
2022-03-31T22:03:24.000Z
shared_model/backend/protobuf/query_responses/impl/proto_account_asset_response.cpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
662
2016-10-26T04:41:22.000Z
2022-03-31T04:15:02.000Z
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #include "backend/protobuf/query_responses/proto_account_asset_response.hpp" namespace shared_model { namespace proto { AccountAssetResponse::AccountAssetResponse( iroha::protocol::QueryResponse &query_...
35.113636
76
0.640777
akshatkarani
f3396f82b6dfe8824d24e36429412f5454147af0
3,896
cpp
C++
Bachelors Year 1/Algorithm of Graphs/Clustering on strings/main.cpp
marianlupascu/School-Projects
3da91ac0a5a996028ed3ff9207cc89b1e7f8c20e
[ "MIT" ]
1
2019-11-26T14:54:52.000Z
2019-11-26T14:54:52.000Z
Bachelors Year 1/Algorithm of Graphs/Clustering on strings/main.cpp
marianlupascu/Bachelors-Projects
3da91ac0a5a996028ed3ff9207cc89b1e7f8c20e
[ "MIT" ]
null
null
null
Bachelors Year 1/Algorithm of Graphs/Clustering on strings/main.cpp
marianlupascu/Bachelors-Projects
3da91ac0a5a996028ed3ff9207cc89b1e7f8c20e
[ "MIT" ]
1
2018-05-21T09:55:24.000Z
2018-05-21T09:55:24.000Z
//Fişierul cuvinte.in conţine cuvinte separate prin spaţiu. Se citeşte de //la tastatură un număr natural k. Se consideră distanţa Levenshtein între //două cuvinte https://en.wikipedia.org/wiki/Levenshtein_distance, calculată //prin subprogramul distanta definit mai jos (detalii la cursul de Tehnici //de programare)...
23.756098
115
0.526951
marianlupascu
f339ddb5db89a64b0a37ea73ea78c32c0887d4e9
2,423
cpp
C++
src/nnfusion/core/operators/generic_op/generic_op_define/Convert.cpp
lynex/nnfusion
6332697c71b6614ca6f04c0dac8614636882630d
[ "MIT" ]
null
null
null
src/nnfusion/core/operators/generic_op/generic_op_define/Convert.cpp
lynex/nnfusion
6332697c71b6614ca6f04c0dac8614636882630d
[ "MIT" ]
null
null
null
src/nnfusion/core/operators/generic_op/generic_op_define/Convert.cpp
lynex/nnfusion
6332697c71b6614ca6f04c0dac8614636882630d
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #include "nnfusion/common/type/element_type.hpp" #include "nnfusion/core/operators/generic_op/generic_op.hpp" REGISTER_OP(Convert) .infershape(nnfusion::op::infershape::unimplemented_and_not_used) .translate([](std::shared_ptr<graph::G...
52.673913
149
0.616178
lynex
f33a674ad77349ac79036c36f8c60a6281aee5aa
12,411
cc
C++
src/engine/lua.cc
lightsey/ModSecurity
6d5198b1a60992416c9c8f1d77754e8e5edba996
[ "Apache-2.0" ]
1
2019-05-07T14:55:34.000Z
2019-05-07T14:55:34.000Z
src/engine/lua.cc
lightsey/ModSecurity
6d5198b1a60992416c9c8f1d77754e8e5edba996
[ "Apache-2.0" ]
null
null
null
src/engine/lua.cc
lightsey/ModSecurity
6d5198b1a60992416c9c8f1d77754e8e5edba996
[ "Apache-2.0" ]
1
2020-10-24T02:28:45.000Z
2020-10-24T02:28:45.000Z
/* * ModSecurity, http://www.modsecurity.org/ * Copyright (c) 2015 Trustwave Holdings, Inc. (http://www.trustwave.com/) * * 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 * * If any of the files rela...
26.128421
79
0.572879
lightsey
f33b4109bf8fdaef88c35f8ad1f9cd00388bad0f
2,621
cpp
C++
compiler/moco-tf/src/Optimizer.cpp
bogus-sudo/ONE-1
7052a817eff661ec2854ed2e7ee0de5e8ba82b55
[ "Apache-2.0" ]
1
2020-05-22T13:53:40.000Z
2020-05-22T13:53:40.000Z
compiler/moco-tf/src/Optimizer.cpp
bogus-sudo/ONE-1
7052a817eff661ec2854ed2e7ee0de5e8ba82b55
[ "Apache-2.0" ]
1
2020-09-23T23:12:23.000Z
2020-09-23T23:20:34.000Z
compiler/moco-tf/src/Optimizer.cpp
bogus-sudo/ONE-1
7052a817eff661ec2854ed2e7ee0de5e8ba82b55
[ "Apache-2.0" ]
1
2021-07-22T11:02:43.000Z
2021-07-22T11:02:43.000Z
/* * Copyright (c) 2019 Samsung Electronics Co., Ltd. All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
28.802198
91
0.706219
bogus-sudo
f33b5eca580d7501cb35b8a0a215e6fdfc904b42
3,920
cpp
C++
week10/BattleShip/BBoardTest.cpp
WeiChienHsu/CS165
65e95efc90415c8acc707e2d544eb384d3982e18
[ "MIT" ]
1
2019-01-06T22:36:01.000Z
2019-01-06T22:36:01.000Z
week10/BattleShip/BBoardTest.cpp
WeiChienHsu/CS165
65e95efc90415c8acc707e2d544eb384d3982e18
[ "MIT" ]
null
null
null
week10/BattleShip/BBoardTest.cpp
WeiChienHsu/CS165
65e95efc90415c8acc707e2d544eb384d3982e18
[ "MIT" ]
null
null
null
#include <iostream> #include "BBoard.hpp" #include <gtest/gtest.h> namespace { class BBoardTest : public ::testing::Test { protected: Ship destroyer1; Ship destroyer2; Ship carrier1; Ship carrier2; Ship battleship1; Ship battleship2; BBoard board; ...
31.612903
72
0.577551
WeiChienHsu
f33bd8f2e7870fcafeb5e6ff5ac265d47af15f2b
21,172
cpp
C++
owl/Context.cpp
jeffamstutz/owl
fff3b9b29a01f39292f62c173f9bd8452b2fcef1
[ "Apache-2.0" ]
null
null
null
owl/Context.cpp
jeffamstutz/owl
fff3b9b29a01f39292f62c173f9bd8452b2fcef1
[ "Apache-2.0" ]
null
null
null
owl/Context.cpp
jeffamstutz/owl
fff3b9b29a01f39292f62c173f9bd8452b2fcef1
[ "Apache-2.0" ]
null
null
null
// ======================================================================== // // Copyright 2019-2021 Ingo Wald // // // // Licensed under the Apache License, Version 2.0 (the "License"); // // y...
34.093398
95
0.584026
jeffamstutz
f33c035eff045f8263df44781692910ca022c268
2,095
cpp
C++
src/util/helpers.cpp
darksworm/imgsel-x11
5271301932de3af9fd3e2312e89e8e145db86949
[ "MIT" ]
null
null
null
src/util/helpers.cpp
darksworm/imgsel-x11
5271301932de3af9fd3e2312e89e8e145db86949
[ "MIT" ]
null
null
null
src/util/helpers.cpp
darksworm/imgsel-x11
5271301932de3af9fd3e2312e89e8e145db86949
[ "MIT" ]
null
null
null
#include "helpers.h" #include <unistd.h> #include <pwd.h> #include <iostream> void drawText(WindowManager *windowManager, const std::string &text, Dimensions position) { XClearArea( windowManager->getDisplay(), windowManager->getWindow(), position.x - 10, position.y ...
26.858974
99
0.596659
darksworm
f33f888a0be3caa0fcc9651244a677fa1edfe367
424,079
cpp
C++
Acceleration/memcached/hls/memcachedPipeline_prj/solution1/syn/systemc/response_r.cpp
pratik0509/HLSx_Xilinx_edit
14bdbcdb3107aa225e46a0bfe7d4a2a426e9e1ca
[ "BSD-3-Clause" ]
null
null
null
Acceleration/memcached/hls/memcachedPipeline_prj/solution1/syn/systemc/response_r.cpp
pratik0509/HLSx_Xilinx_edit
14bdbcdb3107aa225e46a0bfe7d4a2a426e9e1ca
[ "BSD-3-Clause" ]
null
null
null
Acceleration/memcached/hls/memcachedPipeline_prj/solution1/syn/systemc/response_r.cpp
pratik0509/HLSx_Xilinx_edit
14bdbcdb3107aa225e46a0bfe7d4a2a426e9e1ca
[ "BSD-3-Clause" ]
1
2018-11-13T17:59:49.000Z
2018-11-13T17:59:49.000Z
// ============================================================== // RTL generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC // Version: 2018.2 // Copyright (C) 1986-2018 Xilinx, Inc. All Rights Reserved. // // =========================================================== #include "response_r.h" ...
64.665904
642
0.737896
pratik0509
f3417e0ea4b44777de3be19447a4e6429f311131
740
cpp
C++
Game/Client/WXClient/Network/PacketHandler/GCBankItemInfoHandler.cpp
hackerlank/SourceCode
b702c9e0a9ca5d86933f3c827abb02a18ffc9a59
[ "MIT" ]
4
2021-07-31T13:56:01.000Z
2021-11-13T02:55:10.000Z
Game/Client/WXClient/Network/PacketHandler/GCBankItemInfoHandler.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
null
null
null
Game/Client/WXClient/Network/PacketHandler/GCBankItemInfoHandler.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
7
2021-08-31T14:34:23.000Z
2022-01-19T08:25:58.000Z
#include "StdAfx.h" #include "GCBankItemInfo.h" #include "..\..\Procedure\GameProcedure.h" #include "..\..\Object\ObjectManager.h" #include "..\..\DataPool\GMDataPool.h" #include "..\..\Action\GMActionSystem.h" #include "..\..\Event\GMEventSystem.h" uint GCBankItemInfoHandler::Execute( GCBankItemInfo* pPacket, Player...
27.407407
113
0.745946
hackerlank
f344053e7537b04247707f3857039d3b5875377f
250
hh
C++
lib/extras/src/MythConfig.hh
koktf23/live555
6e84a1c310f60a95010377d0482fd97d0139d247
[ "MIT" ]
24
2017-08-10T16:33:03.000Z
2022-03-25T16:18:18.000Z
lib/extras/src/MythConfig.hh
koktf23/live555
6e84a1c310f60a95010377d0482fd97d0139d247
[ "MIT" ]
6
2017-11-01T09:58:05.000Z
2020-10-17T13:17:48.000Z
lib/extras/src/MythConfig.hh
koktf23/live555
6e84a1c310f60a95010377d0482fd97d0139d247
[ "MIT" ]
11
2017-08-28T13:02:43.000Z
2021-04-15T07:19:02.000Z
#pragma once #if (defined _WIN32) || (defined WIN32) # define _CRT_SECURE_NO_WARNINGS #endif #include <stdio.h> //#include "IniFile.h" #if (defined _WIN32) || (defined WIN32) # pragma comment(lib,"iphlpapi.lib") # pragma comment(lib,"ws2_32") #endif
22.727273
39
0.72
koktf23
f34540411e0e84a4c18bafeaf17c1ad829af9d03
2,863
cpp
C++
samples/RTSample.cpp
keima97/ouzel
e6673e678b4739235371a15ae3863942b692c5fb
[ "BSD-2-Clause" ]
null
null
null
samples/RTSample.cpp
keima97/ouzel
e6673e678b4739235371a15ae3863942b692c5fb
[ "BSD-2-Clause" ]
null
null
null
samples/RTSample.cpp
keima97/ouzel
e6673e678b4739235371a15ae3863942b692c5fb
[ "BSD-2-Clause" ]
null
null
null
// Copyright (C) 2016 Elviss Strazdins // This file is part of the Ouzel engine. #include "RTSample.h" #include "MainMenu.h" using namespace std; using namespace ouzel; RTSample::RTSample(Samples& aSamples): samples(aSamples), characterSprite("run.json"), backButton("button.png", "button_selected.png", "...
32.168539
176
0.683199
keima97
f345777e8ee9aead06e70a2d9550ce192df34f38
2,430
cpp
C++
Underlight/cSending.cpp
christyganger/ULClient
bc008ab3042ff9b74d47cdda47ce2318311a51db
[ "BSD-3-Clause" ]
5
2018-08-17T17:17:01.000Z
2020-11-14T05:41:31.000Z
Underlight/cSending.cpp
christyganger/ULClient
bc008ab3042ff9b74d47cdda47ce2318311a51db
[ "BSD-3-Clause" ]
16
2018-08-16T15:37:04.000Z
2019-12-24T19:09:19.000Z
Underlight/cSending.cpp
christyganger/ULClient
bc008ab3042ff9b74d47cdda47ce2318311a51db
[ "BSD-3-Clause" ]
5
2018-08-16T15:34:41.000Z
2019-03-04T04:06:11.000Z
// cSending: The local monster (sending) class. // Copyright Lyra LLC, 1996. All rights reserved. #define STRICT #include "Central.h" #include "4dx.h" #include "cDSound.h" #include "cChat.h" #include "cPlayer.h" #include "cItem.h" #include "Realm.h" #include "cLevel.h" #include "Move.h" #include "cMissile.h" #includ...
17.357143
144
0.663786
christyganger
f349236102d5ec3d2e055f245cdf9cf85385ef63
582
cpp
C++
strcharcount.cpp
Re-taro/report-code
e8ff7543a251c33c8a58f6a8818af9c2cbb8f659
[ "MIT" ]
null
null
null
strcharcount.cpp
Re-taro/report-code
e8ff7543a251c33c8a58f6a8818af9c2cbb8f659
[ "MIT" ]
null
null
null
strcharcount.cpp
Re-taro/report-code
e8ff7543a251c33c8a58f6a8818af9c2cbb8f659
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; unsigned strcharcount(char *str, char c); int main() { char str[20]="ABCDBEFGGGIJB"; cout << strcharcount(str, 'A') << endl; // 1 cout << strcharcount(str, 'B') << endl; // 3 cout << strcharcount(str+4, 'B') << endl; // 2 cout << strcharcount(str, 'G') << e...
21.555556
50
0.496564
Re-taro
f34b8b07c1fdb8e4ea310455e83d97d38631b3c0
752
cpp
C++
Source/RPG/Game/RPGEngineEditor.cpp
Aboutdept/RPGFramework
34c5c578e0ca1e455637082587291f6eac1bf35d
[ "BSD-2-Clause" ]
64
2015-01-04T01:47:31.000Z
2022-03-18T10:12:18.000Z
Source/RPG/Game/RPGEngineEditor.cpp
iniside/RPGFramework
72c83cd9a814ac18b19cfaa7fadbee88417f64e3
[ "BSD-2-Clause" ]
null
null
null
Source/RPG/Game/RPGEngineEditor.cpp
iniside/RPGFramework
72c83cd9a814ac18b19cfaa7fadbee88417f64e3
[ "BSD-2-Clause" ]
39
2015-01-20T02:37:56.000Z
2021-11-27T11:11:13.000Z
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved. #include "RPG.h" #include "GameplayTagsModule.h" #include "GameplayTags.h" #include "RPGEngineEditor.h" URPGEngineEditor::URPGEngineEditor(const class FPostConstructInitializeProperties& PCIP) : Super(PCIP) { } //bool URPGEngineEditor::Exec(UWorld* InWo...
28.923077
96
0.773936
Aboutdept
f34d69a90976ed7baed04505f7600cc5e7f4cca8
304
cc
C++
chrome/test/chromedriver/chrome/devtools_client.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
chrome/test/chromedriver/chrome/devtools_client.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
chrome/test/chromedriver/chrome/devtools_client.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright (c) 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 "chrome/test/chromedriver/chrome/devtools_client.h" bool DevToolsClient::IsMainPage() { return GetRootClient() == this; }
30.4
73
0.75
zealoussnow
f34e7b8f121b06bf197c61369eea39447768932d
10,771
cxx
C++
module/ParquetFP/src/netlist.cxx
ilesser/TritonMacroPlace
83866e14a6077e5ebaaed1f32d08344e0528d2b0
[ "BSD-3-Clause" ]
15
2019-07-21T02:15:52.000Z
2021-04-13T01:14:18.000Z
module/ParquetFP/src/netlist.cxx
abk-openroad/TritonMacroPlace
83866e14a6077e5ebaaed1f32d08344e0528d2b0
[ "BSD-3-Clause" ]
6
2019-08-12T19:20:42.000Z
2020-07-03T08:29:53.000Z
module/ParquetFP/src/netlist.cxx
abk-openroad/TritonMacroPlace
83866e14a6077e5ebaaed1f32d08344e0528d2b0
[ "BSD-3-Clause" ]
12
2019-12-12T02:57:08.000Z
2021-12-21T13:18:39.000Z
/************************************************************************** *** *** Copyright (c) 2000-2006 Regents of the University of Michigan, *** Saurabh N. Adya, Hayward Chan, Jarrod A. Roy *** and Igor L. Markov *** *** Contact author(s): sadya@umich.edu, imarkov@umich.edu *** O...
31.040346
94
0.505431
ilesser
f3504b68af81f33b275db3000818ffc59d77f0b9
1,104
cpp
C++
IOI/speed/grid.cpp
zzh8829/CompetitiveProgramming
36f36b10269b4648ca8be0b08c2c49e96abede25
[ "MIT" ]
1
2017-10-01T00:51:39.000Z
2017-10-01T00:51:39.000Z
IOI/speed/grid.cpp
zzh8829/CompetitiveProgramming
36f36b10269b4648ca8be0b08c2c49e96abede25
[ "MIT" ]
null
null
null
IOI/speed/grid.cpp
zzh8829/CompetitiveProgramming
36f36b10269b4648ca8be0b08c2c49e96abede25
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <fstream> #include <cstdlib> #include <cstring> #include <cstdio> #include <string> #include <vector> #include <cmath> #include <queue> #include <map> #include <set> using namespace std; int R,C,L; char m[201][201]; long long dp[201][201][8][101]; st...
20.444444
46
0.48279
zzh8829
f35315950015aa1a85cc07f9049094923c5fca9b
3,857
cpp
C++
directfire_github/trunk/gameui/battle.net/gamepagetitle.cpp
zhwsh00/DirectFire-android
10c757e1be0b25dee951f9ba3a0e1f6d5c04a938
[ "MIT" ]
1
2015-08-12T04:05:33.000Z
2015-08-12T04:05:33.000Z
directfire_github/trunk/gameui/battle.net/gamepagetitle.cpp
zhwsh00/DirectFire-android
10c757e1be0b25dee951f9ba3a0e1f6d5c04a938
[ "MIT" ]
null
null
null
directfire_github/trunk/gameui/battle.net/gamepagetitle.cpp
zhwsh00/DirectFire-android
10c757e1be0b25dee951f9ba3a0e1f6d5c04a938
[ "MIT" ]
null
null
null
#include "gamepagetitle.h" GamePageTitle::GamePageTitle() { m_refreshListener = 0; m_refreshFunc = 0; m_nameSortListener = 0; m_nameSortFunc = 0; m_numSortListener = 0; m_numSortFunc = 0; m_dfListener = 0; m_dfFunc = 0; m_towerListener = 0; m_towerFunc = 0; m_theme = "defaul...
31.357724
131
0.705989
zhwsh00
f3536343f7075fe5a9ac4fcd8747d2a3779c1d7d
237
cpp
C++
solved/i-k/joana-and-the-odd-numbers/joana.cpp
abuasifkhan/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-09-30T19:18:04.000Z
2021-06-26T21:11:30.000Z
solved/i-k/joana-and-the-odd-numbers/joana.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
null
null
null
solved/i-k/joana-and-the-odd-numbers/joana.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-01-04T09:49:54.000Z
2021-06-03T13:18:44.000Z
#include <cstdio> typedef long long i64; i64 n; int main() { while (true) { if (scanf("%lld", &n) != 1) break; i64 l = n + (n - 1) * ((n - 1) / 2 + 1); printf("%lld\n", 3*l - 6); } return 0; }
11.285714
48
0.417722
abuasifkhan
f3557354993496a15b49d64f98e91c0b5f7fb343
1,101
hpp
C++
include/parse/node_expr_field.hpp
BastianBlokland/novus
3b984c36855aa84d6746c14ff7e294ab7d9c1575
[ "MIT" ]
14
2020-04-14T17:00:56.000Z
2021-08-30T08:29:26.000Z
include/parse/node_expr_field.hpp
BastianBlokland/novus
3b984c36855aa84d6746c14ff7e294ab7d9c1575
[ "MIT" ]
27
2020-12-27T16:00:44.000Z
2021-08-01T13:12:14.000Z
include/parse/node_expr_field.hpp
BastianBlokland/novus
3b984c36855aa84d6746c14ff7e294ab7d9c1575
[ "MIT" ]
1
2020-05-29T18:33:37.000Z
2020-05-29T18:33:37.000Z
#pragma once #include "lex/token.hpp" #include "parse/node.hpp" namespace parse { // Field access expression. // Example in source: 'u.name'. class FieldExprNode final : public Node { friend auto fieldExprNode(NodePtr lhs, lex::Token dot, lex::Token id) -> NodePtr; public: FieldExprNode() = delete; auto opera...
27.525
83
0.702089
BastianBlokland
f355aacd268c9c69756049031a4bd21db012cf90
38,444
cc
C++
ggadget/gtk/view_widget_binder.cc
suzhe/google-gadgets-for-linux
b58baabd8458c8515c9902b8176151a08d240983
[ "Apache-2.0" ]
175
2015-01-01T12:40:33.000Z
2019-05-24T22:33:59.000Z
ggadget/gtk/view_widget_binder.cc
suzhe/google-gadgets-for-linux
b58baabd8458c8515c9902b8176151a08d240983
[ "Apache-2.0" ]
11
2015-01-19T16:30:56.000Z
2018-04-25T01:06:52.000Z
ggadget/gtk/view_widget_binder.cc
suzhe/google-gadgets-for-linux
b58baabd8458c8515c9902b8176151a08d240983
[ "Apache-2.0" ]
97
2015-01-19T15:35:29.000Z
2019-05-15T05:48:02.000Z
/* Copyright 2008 Google 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 applicable law or agreed to in writing,...
34.29438
81
0.638487
suzhe
f35795252c46127548d77e93a667a0460b0a487b
31,652
cc
C++
content/browser/renderer_host/media/media_stream_manager.cc
quisquous/chromium
b25660e05cddc9d0c3053b3514f07037acc69a10
[ "BSD-3-Clause" ]
2
2020-06-10T07:15:26.000Z
2020-12-13T19:44:12.000Z
content/browser/renderer_host/media/media_stream_manager.cc
quisquous/chromium
b25660e05cddc9d0c3053b3514f07037acc69a10
[ "BSD-3-Clause" ]
null
null
null
content/browser/renderer_host/media/media_stream_manager.cc
quisquous/chromium
b25660e05cddc9d0c3053b3514f07037acc69a10
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/renderer_host/media/media_stream_manager.h" #include <list> #include "base/bind.h" #include "base/compiler_specific.h" #in...
35.090909
80
0.680241
quisquous
f3585d17b16b4fa691d45b18daa513dc336ff2a9
759
cpp
C++
libs/gzstream/gzutil.cpp
hoehleatsu/besiq
94959e2819251805e19311ce377919e6bccb7bf9
[ "BSD-3-Clause" ]
1
2015-10-21T14:22:12.000Z
2015-10-21T14:22:12.000Z
libs/gzstream/gzutil.cpp
hoehleatsu/besiq
94959e2819251805e19311ce377919e6bccb7bf9
[ "BSD-3-Clause" ]
2
2019-05-26T20:52:31.000Z
2019-05-28T16:19:49.000Z
libs/gzstream/gzutil.cpp
hoehleatsu/besiq
94959e2819251805e19311ce377919e6bccb7bf9
[ "BSD-3-Clause" ]
2
2016-11-06T14:58:37.000Z
2019-05-26T14:03:13.000Z
#include <gzstream/gzutil.hpp> bool ends_with(const std::string &str, const std::string &end) { return str.rfind( end ) == ( str.size( ) - end.size( ) ); } shared_ptr<std::istream> open_possible_gz(const std::string &path) { if( ends_with( path, ".gz" ) ) { return shared_ptr<std::istream>( new gz:...
22.323529
78
0.592885
hoehleatsu
f35b7afb3e08dbcdd441df54c05ea755cff81ee5
25,166
cpp
C++
tests/AsyncAgencyComm/AsyncAgencyCommTest.cpp
trooso/arangodb
3a3eb78dcab73cdc7aa6bb9cfdf4c7b20bc2857c
[ "Apache-2.0" ]
1
2022-03-25T19:26:09.000Z
2022-03-25T19:26:09.000Z
tests/AsyncAgencyComm/AsyncAgencyCommTest.cpp
solisoft/arangodb
ebb11f901fdcac72ca298f7f329427c7ec51b157
[ "Apache-2.0" ]
null
null
null
tests/AsyncAgencyComm/AsyncAgencyCommTest.cpp
solisoft/arangodb
ebb11f901fdcac72ca298f7f329427c7ec51b157
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2020 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
40.009539
99
0.619129
trooso
f35e5fb16b60821e95e72f930299c5bc4be4afa5
15,656
cpp
C++
Source/ChilliSource/Core/File/FileStream.cpp
mclaughlinhugh4/ChilliSource
bfd86242b28125371804ef35ee512a3908763795
[ "MIT" ]
1
2015-05-08T14:29:03.000Z
2015-05-08T14:29:03.000Z
Source/ChilliSource/Core/File/FileStream.cpp
mclaughlinhugh4/ChilliSource
bfd86242b28125371804ef35ee512a3908763795
[ "MIT" ]
null
null
null
Source/ChilliSource/Core/File/FileStream.cpp
mclaughlinhugh4/ChilliSource
bfd86242b28125371804ef35ee512a3908763795
[ "MIT" ]
null
null
null
// // FileStream.cpp // Chilli Source // Created by Scott Downie on 16/05/2012. // // The MIT License (MIT) // // Copyright (c) 2012 Tag Games Limited // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to dea...
39.336683
108
0.354497
mclaughlinhugh4
f3615d6aa36a30eb2f2a7accce0658d248cd1bd7
26,868
cpp
C++
ThirdParty/bullet-2.82-r2704/Extras/Serialize/BulletXmlWorldImporter/btBulletXmlWorldImporter.cpp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
75
2016-12-22T14:53:01.000Z
2022-03-31T08:04:19.000Z
Extras/Serialize/BulletXmlWorldImporter/btBulletXmlWorldImporter.cpp
biojppm/bullet3
aff3fe089fb3f5fe5c4b07de7de99bbccb531443
[ "Zlib" ]
6
2017-04-03T21:27:16.000Z
2019-08-28T17:05:23.000Z
Extras/Serialize/BulletXmlWorldImporter/btBulletXmlWorldImporter.cpp
biojppm/bullet3
aff3fe089fb3f5fe5c4b07de7de99bbccb531443
[ "Zlib" ]
53
2017-03-16T16:38:34.000Z
2022-02-25T14:31:01.000Z
/* Bullet Continuous Collision Detection and Physics Library Copyright (c) 2003-2012 Erwin Coumans http://bulletphysics.org This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is grant...
30.811927
243
0.754206
vif
f361fe616d81e4c92dc9aeb668f378273c971dca
28
cpp
C++
Pogo/src/Logic/Player.cpp
pinam45/UTBM_IA41_Pogo
1512825278d75f13e6169d3ff02c37ab19c31d16
[ "MIT" ]
null
null
null
Pogo/src/Logic/Player.cpp
pinam45/UTBM_IA41_Pogo
1512825278d75f13e6169d3ff02c37ab19c31d16
[ "MIT" ]
null
null
null
Pogo/src/Logic/Player.cpp
pinam45/UTBM_IA41_Pogo
1512825278d75f13e6169d3ff02c37ab19c31d16
[ "MIT" ]
null
null
null
#include <Logic/Player.hpp>
14
27
0.75
pinam45
f362343c753d47d69e1f9dc5b8c18475c6a39e99
3,859
hpp
C++
engine/include/Engine/Keys.hpp
Alexthehuman3/ASGE
a9cf473a3117f4b67a2dbe8fac00b1a2a4fd6e44
[ "MIT" ]
8
2020-04-26T11:48:29.000Z
2022-02-23T15:13:50.000Z
engine/include/Engine/Keys.hpp
Alexthehuman3/ASGE
a9cf473a3117f4b67a2dbe8fac00b1a2a4fd6e44
[ "MIT" ]
null
null
null
engine/include/Engine/Keys.hpp
Alexthehuman3/ASGE
a9cf473a3117f4b67a2dbe8fac00b1a2a4fd6e44
[ "MIT" ]
1
2021-05-13T16:37:24.000Z
2021-05-13T16:37:24.000Z
// Copyright (c) 2021 James Huxtable. All rights reserved. // // This work is licensed under the terms of the MIT license. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE...
37.105769
94
0.601451
Alexthehuman3
f3659cb2d8fca80418b3abf2d18eb7d59f26feb6
48,982
cpp
C++
tests/IResearch/ExpressionFilterTest.cpp
kapahimansi123/arangodb
66e4b96ab21baf0a857fd50bb6916e71c0defc06
[ "Apache-2.0" ]
null
null
null
tests/IResearch/ExpressionFilterTest.cpp
kapahimansi123/arangodb
66e4b96ab21baf0a857fd50bb6916e71c0defc06
[ "Apache-2.0" ]
null
null
null
tests/IResearch/ExpressionFilterTest.cpp
kapahimansi123/arangodb
66e4b96ab21baf0a857fd50bb6916e71c0defc06
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2020 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
35.779401
136
0.641501
kapahimansi123
f365cf2c3b1d1b1e63bc6bbc4acf0688f8cf2310
11,883
cpp
C++
src/algebra/curves/edwards/edwards_g2.cpp
amiller/libsnark
d34b477ed9c0e36f74c78946012658bdecde0c00
[ "MIT" ]
null
null
null
src/algebra/curves/edwards/edwards_g2.cpp
amiller/libsnark
d34b477ed9c0e36f74c78946012658bdecde0c00
[ "MIT" ]
null
null
null
src/algebra/curves/edwards/edwards_g2.cpp
amiller/libsnark
d34b477ed9c0e36f74c78946012658bdecde0c00
[ "MIT" ]
null
null
null
/** @file ***************************************************************************** * @author This file is part of libsnark, developed by SCIPR Lab * and contributors (see AUTHORS). * @copyright MIT license (see LICENSE file) ********************************************************************...
28.496403
128
0.541698
amiller
f366b8e91529b3cc3caf3050449ada5fd5fb2e33
1,279
cpp
C++
aoj/ALDS1/ALDS5B/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
8
2020-12-23T07:54:53.000Z
2021-11-23T02:46:35.000Z
aoj/ALDS1/ALDS5B/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2020-11-07T13:22:29.000Z
2020-12-20T12:54:00.000Z
aoj/ALDS1/ALDS5B/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2021-01-16T03:40:10.000Z
2021-01-16T03:40:10.000Z
#include <bits/stdc++.h> using namespace std; void dump(vector<int>& A) { for (int i = 0; i < A.size(); ++i) { if (i > 0) cout << " "; cout << A[i]; } cout << endl; } const int inf = 1e9+1; int merge(vector<int>& A, int l, int m, int r) { int count = 0; const int n1 = m - l; c...
20.301587
50
0.42846
xirc
f36a9d30304238b9acc0d0e3f254dc88467fc998
5,776
cpp
C++
NoOneDies/cocos2d/cocos/editor-support/cocostudio/CCActionManagerEx.cpp
endaye/c2d-NoOneDies
b27f2848aab927daad0772c4bf73551dbb52622f
[ "MIT" ]
3
2017-07-23T23:37:34.000Z
2017-09-22T06:28:34.000Z
NoOneDies/cocos2d/cocos/editor-support/cocostudio/CCActionManagerEx.cpp
endaye/c2d-NoOneDies
b27f2848aab927daad0772c4bf73551dbb52622f
[ "MIT" ]
1
2018-05-09T08:39:17.000Z
2018-06-13T05:44:43.000Z
NoOneDies/cocos2d/cocos/editor-support/cocostudio/CCActionManagerEx.cpp
endaye/c2d-NoOneDies
b27f2848aab927daad0772c4bf73551dbb52622f
[ "MIT" ]
1
2020-05-11T17:21:16.000Z
2020-05-11T17:21:16.000Z
/**************************************************************************** Copyright (c) 2013-2014 Chukong Technologies Inc. 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 in the Sof...
31.053763
108
0.651143
endaye
f36e3eece104c0e98e371819cf73401c1a178609
608
cxx
C++
competitive_coding/spoj/dp/assign.cxx
5aurabhpathak/src
dda72beba2aaae67542a2f10e89048e86d04cb28
[ "BSD-3-Clause" ]
1
2021-07-07T06:51:18.000Z
2021-07-07T06:51:18.000Z
competitive_coding/spoj/dp/assign.cxx
5aurabhpathak/all-I-ve-done
dda72beba2aaae67542a2f10e89048e86d04cb28
[ "BSD-3-Clause" ]
null
null
null
competitive_coding/spoj/dp/assign.cxx
5aurabhpathak/all-I-ve-done
dda72beba2aaae67542a2f10e89048e86d04cb28
[ "BSD-3-Clause" ]
1
2020-08-11T09:53:22.000Z
2020-08-11T09:53:22.000Z
#include <cstdio> #include <cstring> using namespace std; bool a[20][20]; int n; void solve(); int main() { int c; scanf("%d", &c); while (c--) { scanf("%d", &n); for (int i = 0; i < n; i++) for (int j = 0; j < n; j++) scanf("%d", a[i]+j); solve(); } } void solve() { long long dp[1<<20]; memset(dp, 0,...
15.589744
55
0.444079
5aurabhpathak
f36f99939a4c85ca9b46df789f4309bc60ce4350
5,311
cpp
C++
demo/cpp/dis.cpp
berak/opencv_smallfry
fd8f64980dff0527523791984d6cb3dfcd2bc9bc
[ "BSD-3-Clause" ]
57
2015-02-16T06:43:24.000Z
2022-03-16T06:21:36.000Z
demo/cpp/dis.cpp
berak/opencv_smallfry
fd8f64980dff0527523791984d6cb3dfcd2bc9bc
[ "BSD-3-Clause" ]
4
2016-03-08T09:51:09.000Z
2021-03-29T10:18:55.000Z
demo/cpp/dis.cpp
berak/opencv_smallfry
fd8f64980dff0527523791984d6cb3dfcd2bc9bc
[ "BSD-3-Clause" ]
27
2015-03-28T19:55:34.000Z
2022-01-09T15:03:15.000Z
#include <iostream> #include <string> #include <opencv2/opencv.hpp> #include "opencv2/optflow.hpp" using namespace std; using namespace cv; using namespace optflow; Mat flowToDisplay(const Mat &flow) { Mat flow_split[2]; Mat magnitude, angle; Mat hsv_split[3], hsv, rgb; split(flow, flow_split); ...
27.952632
104
0.619092
berak
f372480df865e3401bc350cea1ee5426ce160881
15,056
cpp
C++
Gems/Atom/RHI/Code/Source/RHI/FrameGraphLogger.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-09-13T00:01:12.000Z
2021-09-13T00:01:12.000Z
Gems/Atom/RHI/Code/Source/RHI/FrameGraphLogger.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/Atom/RHI/Code/Source/RHI/FrameGraphLogger.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-07-20T11:07:25.000Z
2021-07-20T11:07:25.000Z
/* * Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <Atom/RHI/FrameGraphLogger.h> #include <Atom/RHI/FrameGraph.h> #include <Atom/RHI/FrameGrap...
44.676558
158
0.471971
aaarsene
f372494af13e38f70e6df7a924e52bbcb8a6ec6c
3,222
cpp
C++
CoreTest/FaceTest.cpp
PremiumGraphicsCodes/CGLib
eecd73c5af1a9e0c044e7d675318dbb496aec6b5
[ "MIT" ]
null
null
null
CoreTest/FaceTest.cpp
PremiumGraphicsCodes/CGLib
eecd73c5af1a9e0c044e7d675318dbb496aec6b5
[ "MIT" ]
null
null
null
CoreTest/FaceTest.cpp
PremiumGraphicsCodes/CGLib
eecd73c5af1a9e0c044e7d675318dbb496aec6b5
[ "MIT" ]
1
2022-02-03T08:09:03.000Z
2022-02-03T08:09:03.000Z
#include "stdafx.h" #include "../Core/Face.h" #include "../Core/Vertex.h" #include "../Core/FaceBuilder.h" using namespace Crystal::Math; using namespace Crystal::Core; TEST(FaceTest, TestGetArea) { Vertex v1(Vector3d<float>(-1, 0, 0), 0); Vertex v2(Vector3d<float>( 1, 0, 0), 0); Vertex v3(Vector3d<flo...
29.559633
77
0.612353
PremiumGraphicsCodes
f3726e0b9a5fdfc65372fdb8e6272caf8d61c986
4,706
cpp
C++
src/sleek/driver/texture3d.cpp
Phirxian/sleek-engine
741d55c8daad67ddf631e8b8fbdced59402d7bda
[ "BSD-2-Clause" ]
null
null
null
src/sleek/driver/texture3d.cpp
Phirxian/sleek-engine
741d55c8daad67ddf631e8b8fbdced59402d7bda
[ "BSD-2-Clause" ]
null
null
null
src/sleek/driver/texture3d.cpp
Phirxian/sleek-engine
741d55c8daad67ddf631e8b8fbdced59402d7bda
[ "BSD-2-Clause" ]
null
null
null
#include "texture3d.h" #include "context.h" #include <cstring> namespace sleek { namespace driver { static const unsigned int TextureFormatSize[] = { 1, 2, 3, 4, 4, 8, 12, 16 }; static const unsigned int TextureFormatComponant[] = { 1, 2, 3, 4, ...
30.558442
130
0.473013
Phirxian
f373255465c9ca7dff37603f6c870d56a0660f4b
1,000
cpp
C++
rescue.cpp
FlavioFalcao/open-source-search-engine
a7342404745360a6542caf2ff09158b95c96ab38
[ "Apache-2.0" ]
1
2021-02-19T22:01:50.000Z
2021-02-19T22:01:50.000Z
rescue.cpp
miketung/open-source-search-engine
205ef500bd49a76d738c57825ea82a22369eec85
[ "Apache-2.0" ]
null
null
null
rescue.cpp
miketung/open-source-search-engine
205ef500bd49a76d738c57825ea82a22369eec85
[ "Apache-2.0" ]
null
null
null
// Matt Wells, copyright Apr 2002 // program to rescue data from a core and save it as coreSeg.offset.size #include "gb-include.h" #include "File.h" int main ( int argc , char *argv[] ) { // must have big filename if ( argc != 4 ) { fprintf(stderr,"rescure [corefile] [offset] [size]\n"); exit(-1); } long co...
23.255814
72
0.611
FlavioFalcao
f375fbf482cc7c385a04be9f369f0037bf87d31b
442
cpp
C++
Leetcode/Search_in_Rotated_Sorted_Array.cpp
ujjwalgulecha/Coding
d04c19d8f673749a00c85cd5e8935960fb7e8b16
[ "MIT" ]
null
null
null
Leetcode/Search_in_Rotated_Sorted_Array.cpp
ujjwalgulecha/Coding
d04c19d8f673749a00c85cd5e8935960fb7e8b16
[ "MIT" ]
1
2018-02-14T16:00:44.000Z
2021-10-17T16:32:50.000Z
Leetcode/Search_in_Rotated_Sorted_Array.cpp
ujjwalgulecha/Coding
d04c19d8f673749a00c85cd5e8935960fb7e8b16
[ "MIT" ]
null
null
null
class Solution { public: int search(vector<int>& A, int key) { int L = 0; int R = A.size() - 1; while (L <= R) { int M = L + ((R - L) / 2); if (A[M] == key) return M; if (A[L] <= A[M]) { if (A[L] <= key && key < A[M]) R = M - 1; else L = M + 1; } els...
14.733333
41
0.337104
ujjwalgulecha