hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
ad2e5639aecfa16fcd70bc9b17e518eacc9fb232
655
cpp
C++
Chapter 3. Strings, Vectors, and Arrays/Codes/3.45.cpp
Yunxiang-Li/Cpp_Primer
b5c857e3f6be993b2ff8fc03f634141ae24925fc
[ "MIT" ]
null
null
null
Chapter 3. Strings, Vectors, and Arrays/Codes/3.45.cpp
Yunxiang-Li/Cpp_Primer
b5c857e3f6be993b2ff8fc03f634141ae24925fc
[ "MIT" ]
null
null
null
Chapter 3. Strings, Vectors, and Arrays/Codes/3.45.cpp
Yunxiang-Li/Cpp_Primer
b5c857e3f6be993b2ff8fc03f634141ae24925fc
[ "MIT" ]
1
2021-09-30T14:08:03.000Z
2021-09-30T14:08:03.000Z
#include <iostream> using std::cout; using std::endl; int main() { int ia[3][4] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}; // Use a range for to manage the iteration // Use auto for (auto& p : ia) for (auto& q : p) cout << q << " "; cout << endl; // Use ordinary for loop u...
20.46875
62
0.432061
Yunxiang-Li
ad330f3b84f5f441445ee356b83ff25d021f5abb
56,000
cpp
C++
tests/rtest_ac_chol_d.cpp
dgburnette/ac_math
518629af779ae26167462055ea4a3c30738ba5f9
[ "Apache-2.0" ]
2
2018-03-22T08:46:54.000Z
2018-04-03T06:09:00.000Z
tests/rtest_ac_chol_d.cpp
dgburnette/ac_math
518629af779ae26167462055ea4a3c30738ba5f9
[ "Apache-2.0" ]
null
null
null
tests/rtest_ac_chol_d.cpp
dgburnette/ac_math
518629af779ae26167462055ea4a3c30738ba5f9
[ "Apache-2.0" ]
null
null
null
/************************************************************************** * * * Algorithmic C (tm) Math Library * * * * Software Ver...
38.251366
194
0.645357
dgburnette
ad356c7c8976183d272c49e659ce12c10a3104b4
1,019
cpp
C++
LeetCode/cpp/987.cpp
ZintrulCre/LeetCode_Archiver
de23e16ead29336b5ee7aa1898a392a5d6463d27
[ "MIT" ]
279
2019-02-19T16:00:32.000Z
2022-03-23T12:16:30.000Z
LeetCode/cpp/987.cpp
ZintrulCre/LeetCode_Archiver
de23e16ead29336b5ee7aa1898a392a5d6463d27
[ "MIT" ]
2
2019-03-31T08:03:06.000Z
2021-03-07T04:54:32.000Z
LeetCode/cpp/987.cpp
ZintrulCre/LeetCode_Crawler
de23e16ead29336b5ee7aa1898a392a5d6463d27
[ "MIT" ]
12
2019-01-29T11:45:32.000Z
2019-02-04T16:31:46.000Z
class Solution { public: unordered_map<int, unordered_map<int, set<int>>> nums; vector<vector<int>> verticalTraversal(TreeNode *root) { if (!root) return {}; nums.clear(); Traverse(root, 0, 0); vector<vector<int>> ret; for (int i = -1000; i <= 1000; ++i) { ...
31.84375
95
0.44946
ZintrulCre
ad37155c15863c09f98819ffa51767eeb2cdb9b1
1,959
cpp
C++
topic_wise/graphs/courseSchedule.cpp
archit-1997/LeetCode
7c0f74da0836d3b0855f09bae8960f81a384f3f3
[ "MIT" ]
1
2021-01-27T16:37:36.000Z
2021-01-27T16:37:36.000Z
topic_wise/graphs/courseSchedule.cpp
archit-1997/LeetCode
7c0f74da0836d3b0855f09bae8960f81a384f3f3
[ "MIT" ]
null
null
null
topic_wise/graphs/courseSchedule.cpp
archit-1997/LeetCode
7c0f74da0836d3b0855f09bae8960f81a384f3f3
[ "MIT" ]
null
null
null
/** * @author : archit * @GitHub : archit-1997 * @Email : architsingh456@gmail.com * @file : courseSchedule.cpp * @created : Sunday Aug 01, 2021 17:31:53 IST */ #include <bits/stdc++.h> using namespace std; class Solution { public: vector<vector<int>> buildGraph(int numCourse...
29.681818
104
0.562532
archit-1997
ad3d2261d56ac74aa29612af22b45007cfa4c7ad
1,462
cpp
C++
MAze/Aliados.cpp
IzaguirreYamile/MAze
d6e0f0a0ef1231dd53c32514c5b7f940ff801890
[ "MIT" ]
1
2021-09-02T21:19:19.000Z
2021-09-02T21:19:19.000Z
MAze/Aliados.cpp
IzaguirreYamile/MAze
d6e0f0a0ef1231dd53c32514c5b7f940ff801890
[ "MIT" ]
null
null
null
MAze/Aliados.cpp
IzaguirreYamile/MAze
d6e0f0a0ef1231dd53c32514c5b7f940ff801890
[ "MIT" ]
null
null
null
#include "Aliados.h" Aliados::Aliados() {} Aliados::Aliados(int px, int py, Bitmap^ aliados) { x = px; y = py; this->ancho = aliados->Width / 13; this->alto = aliados->Height / 21; dx = 4; dy = 4; direccion = Caminar2Derecha; } void Aliados::Mover(Graphics^ g) { switch(direccion) { case Caminar2Abajo: fila...
21.5
89
0.634063
IzaguirreYamile
ad459393c1c02e07c2383cbf3d6be37ea27cb740
4,150
cpp
C++
src/AutonomousSystem/AutonomousManager.cpp
frc2081/2018-RobotCode
6eec5af9b42df4bbd9f43ae6bd0cedc8fa7e0019
[ "MIT" ]
null
null
null
src/AutonomousSystem/AutonomousManager.cpp
frc2081/2018-RobotCode
6eec5af9b42df4bbd9f43ae6bd0cedc8fa7e0019
[ "MIT" ]
5
2018-01-18T03:25:07.000Z
2018-03-16T13:27:53.000Z
src/AutonomousSystem/AutonomousManager.cpp
frc2081/2018-RobotCode
6eec5af9b42df4bbd9f43ae6bd0cedc8fa7e0019
[ "MIT" ]
null
null
null
/* * AutonomousManager.cpp * * Created on: Jan 17, 2018 * Author: Matthew */ #include "AutonomousManager.h" namespace Autonomous { AutonomousManager::AutonomousManager(IO *io, RobotCommands *commands, CubeManager *cube) { _io = io; _commands = commands; _actionselector = 0; _stationsele...
35.470085
164
0.673976
frc2081
ad493ad1a9322a3fd93a8e4a7bbc106271cdba67
381
hpp
C++
Source/Game/Match3Cell.fwd.hpp
gabr1e11/cornerstone
bc696e22af350b867219ef3ac99840b3e8a3f20a
[ "MIT" ]
null
null
null
Source/Game/Match3Cell.fwd.hpp
gabr1e11/cornerstone
bc696e22af350b867219ef3ac99840b3e8a3f20a
[ "MIT" ]
null
null
null
Source/Game/Match3Cell.fwd.hpp
gabr1e11/cornerstone
bc696e22af350b867219ef3ac99840b3e8a3f20a
[ "MIT" ]
null
null
null
// // Match3Cell.fwd.hpp // // @author Roberto Cano // #pragma once #include <memory> #include <glm/glm.hpp> namespace Match3 { namespace Game { class Cell; } namespace Types { namespace Cell { using PtrType = std::shared_ptr<Match3::Game::Cell>; using Position = glm::ivec2; enum class State : i...
11.205882
55
0.611549
gabr1e11
ad49669b2083f2df29e59344d6dbd6bc414b0947
4,025
cpp
C++
src/clock.cpp
Cyberax/lstructural
3496e46fe7e671575ea9eaf9ce6063acad8d9006
[ "Apache-2.0" ]
null
null
null
src/clock.cpp
Cyberax/lstructural
3496e46fe7e671575ea9eaf9ce6063acad8d9006
[ "Apache-2.0" ]
null
null
null
src/clock.cpp
Cyberax/lstructural
3496e46fe7e671575ea9eaf9ce6063acad8d9006
[ "Apache-2.0" ]
null
null
null
/* MIT License Copyright (c) 2013-2017 Evgeny Safronov <division494@gmail.com> Copyright (c) 2013-2017 Other contributors as noted in the AUTHORS file. 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 th...
30.492424
95
0.680745
Cyberax
ad4b484f12f66e02542b58aa48c332f707c4ef57
3,258
cpp
C++
src/math/optimizer_math/sgd_momentum.cpp
Boxun-coder/magmadnn
76d23ff8ea9c63839da6965b9c5ab4aad07f9250
[ "MIT" ]
2
2020-07-20T08:39:47.000Z
2020-07-20T08:40:06.000Z
src/math/optimizer_math/sgd_momentum.cpp
Boxun-coder/magmadnn
76d23ff8ea9c63839da6965b9c5ab4aad07f9250
[ "MIT" ]
null
null
null
src/math/optimizer_math/sgd_momentum.cpp
Boxun-coder/magmadnn
76d23ff8ea9c63839da6965b9c5ab4aad07f9250
[ "MIT" ]
null
null
null
/** * @file sgd_momentum.cpp * @author Sedrick Keh * @version 1.0 * @date 2019-07-25 * * @copyright Copyright (c) 2019 */ #include "math/optimizer_math/sgd_momentum.h" #include <cassert> #include <vector> #include "magmadnn/config.h" namespace magmadnn { namespace math { template <typename T> void sgd_moment...
34.659574
116
0.655617
Boxun-coder
ad4b5084a5651fac8d7da4f62a637f9a26abb93f
93
cpp
C++
IA/StupidAgent.cpp
GP-S/HOTS
85903015033184694e3b2b70af401a0ea5de11b7
[ "Unlicense", "MIT" ]
1
2021-05-30T02:13:37.000Z
2021-05-30T02:13:37.000Z
IA/StupidAgent.cpp
GP-S/HOTS
85903015033184694e3b2b70af401a0ea5de11b7
[ "Unlicense", "MIT" ]
null
null
null
IA/StupidAgent.cpp
GP-S/HOTS
85903015033184694e3b2b70af401a0ea5de11b7
[ "Unlicense", "MIT" ]
null
null
null
#include "StupidAgent.h" StupidAgent::StupidAgent() { } StupidAgent::~StupidAgent() { }
7.153846
27
0.677419
GP-S
ad4bff05071bbbce5bf15953b5213fc6cd5c2265
1,128
cpp
C++
src/tools/strong_cc_main.cpp
FantaApps/zgraph
9e25c6d52f8f730b9f65bbd92c3dea7aa20b7688
[ "MIT" ]
1
2020-11-30T04:26:41.000Z
2020-11-30T04:26:41.000Z
src/tools/strong_cc_main.cpp
FantaApps/zgraph
9e25c6d52f8f730b9f65bbd92c3dea7aa20b7688
[ "MIT" ]
9
2019-11-04T06:31:02.000Z
2019-11-28T16:19:23.000Z
src/tools/strong_cc_main.cpp
FantaApps/zgraph
9e25c6d52f8f730b9f65bbd92c3dea7aa20b7688
[ "MIT" ]
null
null
null
#include "../lib/graph.h" #include "../lib/graph_algo.h" #include <omp.h> #include <sys/resource.h> #include <map> #include <vector> using namespace std; using namespace apsara::odps::graph::query; int main(int argc, char* argv[]) { const rlim_t kStackSize = 2 * 1024 * 1024 * 1024; // min stack size = 16 MB ...
25.066667
86
0.590426
FantaApps
ad4de507bf1b2599fc4636a4d364f560474ca8d2
14,333
cpp
C++
external/soci/postgresql/statement.cpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
5
2015-09-15T16:24:14.000Z
2021-08-12T11:05:55.000Z
external/soci/postgresql/statement.cpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
null
null
null
external/soci/postgresql/statement.cpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
3
2016-11-17T04:38:38.000Z
2021-04-10T17:23:52.000Z
// // Copyright (C) 2004-2006 Maciej Sobczak, Stephen Hutton // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // #define SOCI_POSTGRESQL_SOURCE #include "soci-postgresql.h" #include <soci.h> #include <libpq/libpq...
27.777132
78
0.534431
saga-project
ad4e124c911f97684146a7fc6387892dbbcc24f0
8,465
cpp
C++
ScreenKeyboard/KeyboardHandler.cpp
jscipione/HaikuUtils
82cb2c1c1484244ab1041b71ca7632b4322bd643
[ "MIT" ]
1
2021-05-23T18:03:58.000Z
2021-05-23T18:03:58.000Z
ScreenKeyboard/KeyboardHandler.cpp
jscipione/HaikuUtils
82cb2c1c1484244ab1041b71ca7632b4322bd643
[ "MIT" ]
null
null
null
ScreenKeyboard/KeyboardHandler.cpp
jscipione/HaikuUtils
82cb2c1c1484244ab1041b71ca7632b4322bd643
[ "MIT" ]
null
null
null
#include "KeyboardHandler.h" #include <Message.h> #include <malloc.h> #include <string.h> void PressKey(uint8 *state, uint32 code) { state[code/8] |= 1 << (code%8); } void ReleaseKey(uint8 *state, uint32 code) { state[code/8] &= ~(uint8)(1 << (code%8)); } bool IsKeyPressed(uint8 *state, uint32 code) { return sta...
27.57329
131
0.6443
jscipione
ad5073b098a914fab2c0838b03e8ebe936ff1f03
348
cpp
C++
leetcode/Two Sum II - Input array is sorted.cpp
ANONYMOUS609/Competitive-Programming
d3753eeee24a660963f1d8911bf887c8f41f5677
[ "MIT" ]
2
2019-01-30T12:45:18.000Z
2021-05-06T19:02:51.000Z
leetcode/Two Sum II - Input array is sorted.cpp
ANONYMOUS609/Competitive-Programming
d3753eeee24a660963f1d8911bf887c8f41f5677
[ "MIT" ]
null
null
null
leetcode/Two Sum II - Input array is sorted.cpp
ANONYMOUS609/Competitive-Programming
d3753eeee24a660963f1d8911bf887c8f41f5677
[ "MIT" ]
3
2020-10-02T15:42:04.000Z
2022-03-27T15:14:16.000Z
class Solution { public: vector<int> twoSum(vector<int>& numbers, int target) { int l = 0, r = numbers.size()-1; while(l<r) { int sum = numbers[l] + numbers[r]; if(sum == target) return {l+1, r+1}; else if(sum < target) l++; else r--; } ...
26.769231
58
0.454023
ANONYMOUS609
ad577e3639b783744ad2c4220e9095984ba8d610
3,573
cc
C++
src/messages/text_document_rename.cc
Gei0r/cquery
6ff8273e8b8624016f9363f444acfee30c4bbf64
[ "MIT" ]
1,652
2018-01-24T03:19:58.000Z
2020-07-28T19:04:00.000Z
src/messages/text_document_rename.cc
Gei0r/cquery
6ff8273e8b8624016f9363f444acfee30c4bbf64
[ "MIT" ]
490
2018-01-24T00:55:38.000Z
2020-07-03T19:44:16.000Z
src/messages/text_document_rename.cc
Gei0r/cquery
6ff8273e8b8624016f9363f444acfee30c4bbf64
[ "MIT" ]
154
2018-01-31T05:57:33.000Z
2020-07-05T00:02:46.000Z
#include "message_handler.h" #include "query_utils.h" #include "queue_manager.h" namespace { MethodType kMethodType = "textDocument/rename"; lsWorkspaceEdit BuildWorkspaceEdit(QueryDatabase* db, WorkingFiles* working_files, QueryId::SymbolRef sym, ...
32.481818
79
0.678701
Gei0r
ad5c5bc67ba224c112effaee5146319c6b05093c
45
cpp
C++
ml/src/Serv_Converters.cpp
georgephilipp/cppgstd_legacy
e130860da7700aae42b915bc36a7efa4cae06d56
[ "MIT" ]
null
null
null
ml/src/Serv_Converters.cpp
georgephilipp/cppgstd_legacy
e130860da7700aae42b915bc36a7efa4cae06d56
[ "MIT" ]
null
null
null
ml/src/Serv_Converters.cpp
georgephilipp/cppgstd_legacy
e130860da7700aae42b915bc36a7efa4cae06d56
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "Converters.h"
11.25
23
0.711111
georgephilipp
ad5d2e7f67596381adaae88265de8f7f5103396c
1,536
cpp
C++
src/common/RNG.cpp
usc-csci-545/aikido
afd8b203c17cb0b05d7db436f8bffbbe2111a75a
[ "BSD-3-Clause" ]
null
null
null
src/common/RNG.cpp
usc-csci-545/aikido
afd8b203c17cb0b05d7db436f8bffbbe2111a75a
[ "BSD-3-Clause" ]
null
null
null
src/common/RNG.cpp
usc-csci-545/aikido
afd8b203c17cb0b05d7db436f8bffbbe2111a75a
[ "BSD-3-Clause" ]
null
null
null
#include <aikido/common/RNG.hpp> namespace aikido { namespace common { //============================================================================== // This namespace-scoped definition is required to enable odr-use. constexpr std::size_t RNG::NUM_BITS; //===========================================================...
34.133333
80
0.621094
usc-csci-545
ad5f309ec3a01966982ea48381ad8ad082354f9e
7,262
hpp
C++
src/shelly_hap_chars.hpp
lucaspinelli85/shelly-homekit
f22f5186284f5840fde5a595587a6957be2a15b0
[ "Apache-2.0" ]
1
2020-11-17T13:46:48.000Z
2020-11-17T13:46:48.000Z
src/shelly_hap_chars.hpp
schemhad/shelly-homekit
82d8d64524af20ba30941a64c7ba060301512785
[ "Apache-2.0" ]
null
null
null
src/shelly_hap_chars.hpp
schemhad/shelly-homekit
82d8d64524af20ba30941a64c7ba060301512785
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2020 Deomid "rojer" Ryabkov * 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 re...
35.252427
80
0.667585
lucaspinelli85
ad67028febc405a69bfae0a4d58fd3d60ff5fa07
2,973
cpp
C++
02/src/assignment/menu.cpp
KHN190/IGME-740
0e0321ceb7a2f2ade9a99caf15be16f916b12393
[ "Unlicense" ]
null
null
null
02/src/assignment/menu.cpp
KHN190/IGME-740
0e0321ceb7a2f2ade9a99caf15be16f916b12393
[ "Unlicense" ]
null
null
null
02/src/assignment/menu.cpp
KHN190/IGME-740
0e0321ceb7a2f2ade9a99caf15be16f916b12393
[ "Unlicense" ]
null
null
null
void menu(int value) { switch (value) { // clear case 0: poly.clear(); poly_color.clear(); curr_poly.clear(); n_vertices = 0; glutPostRedisplay(); break; // exit case 1: exit(0); // color...
28.586538
97
0.510932
KHN190
ad67eaf99e802df0517537360e2027db6f1a45f6
2,296
cpp
C++
11_dynamic_1/6_coin_change.cpp
ShyamNandanKumar/coding-ninja2
a43a21575342261e573f71f7d8eff0572f075a17
[ "MIT" ]
11
2021-01-02T10:07:17.000Z
2022-03-16T00:18:06.000Z
11_dynamic_1/6_coin_change.cpp
meyash/cp_master
316bf47db2a5b40891edd73cff834517993c3d2a
[ "MIT" ]
null
null
null
11_dynamic_1/6_coin_change.cpp
meyash/cp_master
316bf47db2a5b40891edd73cff834517993c3d2a
[ "MIT" ]
5
2021-05-19T11:17:18.000Z
2021-09-16T06:23:31.000Z
/* You are given an infinite supply of coins of each of denominations D = {D0, D1, D2, D3, ...... Dn-1}. You need to figure out the total number of ways W, in which you can make change for Value V using coins of denominations D. Note : Return 0, if change isn't possible. Input Format Line 1 : Integer n i.e. total numbe...
26.697674
225
0.692944
ShyamNandanKumar
ad6c2a49df9bc9bcb60ca1a02d36e2837e67b352
270
cpp
C++
tests/op/testdata/unknown_imports.cpp
PeaStew/contentos-go
dc6029153cda3969d4879f0af5e6c9407d33b031
[ "MIT" ]
50
2018-10-22T08:12:35.000Z
2022-01-31T10:28:10.000Z
tests/op/testdata/unknown_imports.cpp
hassoon1986/contentos-go
5810123c4b353c8733e3b6fd2bb11229bc17bf6b
[ "MIT" ]
12
2019-01-04T03:06:33.000Z
2022-01-05T09:42:17.000Z
tests/op/testdata/unknown_imports.cpp
hassoon1986/contentos-go
5810123c4b353c8733e3b6fd2bb11229bc17bf6b
[ "MIT" ]
19
2019-04-28T04:46:28.000Z
2022-03-21T09:50:51.000Z
#include <cosiolib/contract.hpp> extern "C" void unknown_func(uint32_t); class unknown_imports : public cosio::contract { public: using cosio::contract::contract; void hello(uint32_t n) { unknown_func(n); } }; COSIO_ABI(unknown_imports, (hello))
18
48
0.696296
PeaStew
ad6c726c957eff3c2181f350da5bbc63fcd9f7de
5,517
cc
C++
src/lib/storage/fs_management/cpp/mount.cc
PlugFox/fuchsia
39afe5230d41628b3c736a6e384393df954968c8
[ "BSD-2-Clause" ]
2
2021-12-29T10:11:08.000Z
2022-01-04T15:37:09.000Z
src/lib/storage/fs_management/cpp/mount.cc
PlugFox/fuchsia
39afe5230d41628b3c736a6e384393df954968c8
[ "BSD-2-Clause" ]
null
null
null
src/lib/storage/fs_management/cpp/mount.cc
PlugFox/fuchsia
39afe5230d41628b3c736a6e384393df954968c8
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2016 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 <errno.h> #include <fcntl.h> #include <fidl/fuchsia.hardware.block/cpp/wire.h> #include <fidl/fuchsia.io.admin/cpp/wire.h> #include <fidl/fuchsia....
33.846626
100
0.699474
PlugFox
ad6cffae77963f86606f1bf89512a8d731965953
8,869
cpp
C++
openstudiocore/src/model/AirGap.cpp
hellok-coder/OS-Testing
e9e18ad9e99f709a3f992601ed8d2e0662175af4
[ "blessing" ]
1
2019-11-12T02:07:03.000Z
2019-11-12T02:07:03.000Z
openstudiocore/src/model/AirGap.cpp
hellok-coder/OS-Testing
e9e18ad9e99f709a3f992601ed8d2e0662175af4
[ "blessing" ]
1
2019-02-04T23:30:45.000Z
2019-02-04T23:30:45.000Z
openstudiocore/src/model/AirGap.cpp
hellok-coder/OS-Testing
e9e18ad9e99f709a3f992601ed8d2e0662175af4
[ "blessing" ]
null
null
null
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2019, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without m...
31.78853
125
0.7038
hellok-coder
ad6f041656d64c087ad6bb0bfde7db987fc3e0f5
2,113
cpp
C++
blockchain/chain.cpp
p-shubham/resilientdb
8e69c28e73ddebdfca8359479be4499c1cb5de41
[ "MIT" ]
1
2022-03-04T20:34:29.000Z
2022-03-04T20:34:29.000Z
blockchain/chain.cpp
p-shubham/resilientdb
8e69c28e73ddebdfca8359479be4499c1cb5de41
[ "MIT" ]
null
null
null
blockchain/chain.cpp
p-shubham/resilientdb
8e69c28e73ddebdfca8359479be4499c1cb5de41
[ "MIT" ]
1
2020-02-12T01:20:26.000Z
2020-02-12T01:20:26.000Z
#include "chain.h" /* Set the identifier for the block. */ void BChainStruct::set_txn_id(uint64_t tid) { txn_id = tid; } /* Get the identifier of this block. */ uint64_t BChainStruct::get_txn_id() { return txn_id; } /* Store the BatchRequests to this block. */ void BChainStruct::add_batch(BatchRequests *msg) { c...
22.72043
79
0.661619
p-shubham
ad70fb393035ed63f8a45bd219bceb896d6cfb10
2,263
hpp
C++
contracts/libraries/include/gxclib/token.hpp
Game-X-Coin/gxc-contracts-v1
cc5cc59cab0422238a44d2c4d909a31200817a35
[ "MIT" ]
1
2019-07-01T01:41:02.000Z
2019-07-01T01:41:02.000Z
contracts/libraries/include/gxclib/token.hpp
Game-X-Coin/gxc-contracts-v1
cc5cc59cab0422238a44d2c4d909a31200817a35
[ "MIT" ]
null
null
null
contracts/libraries/include/gxclib/token.hpp
Game-X-Coin/gxc-contracts-v1
cc5cc59cab0422238a44d2c4d909a31200817a35
[ "MIT" ]
null
null
null
/** * @file * @copyright defined in gxc/LICENSE */ #pragma once #include <eosio/name.hpp> #include <eosio/asset.hpp> #include <eosio/action.hpp> #include <eoslib/crypto.hpp> #include <eoslib/symbol.hpp> #include <cmath> namespace gxc { using namespace eosio; using namespace eosio::internal_use_do_not_use; const...
29.38961
105
0.699072
Game-X-Coin
ad7281476dc7e4bb30b4e2a95ff1a68dcbc9978d
1,699
hh
C++
src/elle/reactor/network/udp-server-socket.hh
infinitio/elle
d9bec976a1217137436db53db39cda99e7024ce4
[ "Apache-2.0" ]
null
null
null
src/elle/reactor/network/udp-server-socket.hh
infinitio/elle
d9bec976a1217137436db53db39cda99e7024ce4
[ "Apache-2.0" ]
null
null
null
src/elle/reactor/network/udp-server-socket.hh
infinitio/elle
d9bec976a1217137436db53db39cda99e7024ce4
[ "Apache-2.0" ]
null
null
null
#pragma once #include <elle/reactor/network/fwd.hh> #include <elle/reactor/network/socket.hh> #include <elle/reactor/signal.hh> namespace elle { namespace reactor { namespace network { /// XXX[doc]. class UDPServerSocket : public Socket { /*---------. | Typedefs |...
22.959459
58
0.446733
infinitio
ad89ce8726d1e335d53394bf745b277e22bc1fa0
26,897
cxx
C++
MUON/MUONmapping/AliMpTriggerReader.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
MUON/MUONmapping/AliMpTriggerReader.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
MUON/MUONmapping/AliMpTriggerReader.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors are ...
29.952116
93
0.57921
AllaMaevskaya
ad8edf10042df96058e2b21cb955b9ee51cf9501
1,710
cpp
C++
GRUT Engine/src/Scene/SceneManager.cpp
lggmonclar/GRUT
b7d06fd314141395b54a86122374f4f955f653cf
[ "MIT" ]
2
2019-02-14T03:20:59.000Z
2019-03-12T01:34:59.000Z
GRUT Engine/src/Scene/SceneManager.cpp
lggmonclar/GRUT
b7d06fd314141395b54a86122374f4f955f653cf
[ "MIT" ]
null
null
null
GRUT Engine/src/Scene/SceneManager.cpp
lggmonclar/GRUT
b7d06fd314141395b54a86122374f4f955f653cf
[ "MIT" ]
null
null
null
#include "grutpch.h" #include "Scene.h" #include "Core/Parallelism/FrameParams.h" #include "Core/Memory/MemoryManager.h" #include "Core/Memory/ObjectHandle.h" #include "SceneManager.h" #include "Core/Jobs/JobManager.h" #include "Components/Rendering/Camera.h" namespace GRUT { void SceneManager::Initialize() { ...
36.382979
118
0.65848
lggmonclar
74e8170d79d8f40103d188b39789cda88b0b3f79
3,056
cpp
C++
plugins/core/qPCL/PclUtils/filters/dialogs/MLSDialog.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
null
null
null
plugins/core/qPCL/PclUtils/filters/dialogs/MLSDialog.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
null
null
null
plugins/core/qPCL/PclUtils/filters/dialogs/MLSDialog.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
1
2019-02-03T12:19:42.000Z
2019-02-03T12:19:42.000Z
//########################################################################## //# # //# CLOUDCOMPARE PLUGIN: qPCL # //# # //# This pr...
34.337079
118
0.578534
ohanlonl
74e983c73966096c53b2032c6bc0a7448a9b688b
1,766
cpp
C++
ToneArmEngine/OpenGLMaterial.cpp
GDAP/ToneArmEngine
85da7b8da30c714891bdadfe824bae1bbdd49f94
[ "Zlib", "BSD-2-Clause" ]
null
null
null
ToneArmEngine/OpenGLMaterial.cpp
GDAP/ToneArmEngine
85da7b8da30c714891bdadfe824bae1bbdd49f94
[ "Zlib", "BSD-2-Clause" ]
null
null
null
ToneArmEngine/OpenGLMaterial.cpp
GDAP/ToneArmEngine
85da7b8da30c714891bdadfe824bae1bbdd49f94
[ "Zlib", "BSD-2-Clause" ]
null
null
null
#include "OpenGLMaterial.h" #include "OpenGLProgram.h" namespace vgs { /* ======== OpenGLMaterial::OpenGLMaterial OpenGLMaterial default constructor ======== */ OpenGLMaterial::OpenGLMaterial( void ) : m_requiredFeatures( ProgramFeatures::NONE ) {} /* ======== OpenGLMaterial::~OpenGLMaterial OpenGLMaterial destru...
23.236842
107
0.722537
GDAP
74e98437f534d06652bcc354c66ceadfd37a9e60
1,729
cpp
C++
ACM-ICPC/1238.cpp
KimBoWoon/ACM-ICPC
146c36999488af9234d73f7b4b0c10d78486604f
[ "MIT" ]
null
null
null
ACM-ICPC/1238.cpp
KimBoWoon/ACM-ICPC
146c36999488af9234d73f7b4b0c10d78486604f
[ "MIT" ]
null
null
null
ACM-ICPC/1238.cpp
KimBoWoon/ACM-ICPC
146c36999488af9234d73f7b4b0c10d78486604f
[ "MIT" ]
null
null
null
#include <cstdio> #include <queue> #include <vector> #include <algorithm> using namespace std; #pragma warning(disable:4996) #define INF 987654321 vector<pair<int, int> > v[10001], rv[10001]; // first는 거리, second는 다음 정점. priority_queue<pair<int, int> > q; int dist[10001], rdist[10001]; int n, m, x, maxDi...
19.647727
61
0.526894
KimBoWoon
74eb73259fc55722766192f5a0a1c89e6033143c
4,864
cpp
C++
src/fume/vr_field.cpp
ekhidbor/FUMe
de50357efcb6dbfd0114802bc72ad316daca0ce3
[ "CC0-1.0" ]
null
null
null
src/fume/vr_field.cpp
ekhidbor/FUMe
de50357efcb6dbfd0114802bc72ad316daca0ce3
[ "CC0-1.0" ]
null
null
null
src/fume/vr_field.cpp
ekhidbor/FUMe
de50357efcb6dbfd0114802bc72ad316daca0ce3
[ "CC0-1.0" ]
null
null
null
/** * This file is a part of the FUMe project. * * To the extent possible under law, the person who associated CC0 with * FUMe has waived all copyright and related or neighboring rights * to FUMe. * * You should have received a copy of the CC0 legalcode along with this * work. If not, see http://creativecommon...
23.384615
80
0.4706
ekhidbor
74efc4e4a78fc6b3dcbb6d3bcfb4398025191cbe
1,375
cpp
C++
Uebungsaufgaben/ListenStrukturen/stack.cpp
TEL21D/Informatik2
d0a6b6b5a0fe5dd404dadfd50d25543d5c6d5075
[ "MIT" ]
null
null
null
Uebungsaufgaben/ListenStrukturen/stack.cpp
TEL21D/Informatik2
d0a6b6b5a0fe5dd404dadfd50d25543d5c6d5075
[ "MIT" ]
null
null
null
Uebungsaufgaben/ListenStrukturen/stack.cpp
TEL21D/Informatik2
d0a6b6b5a0fe5dd404dadfd50d25543d5c6d5075
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> struct element { /* data */ int _data; element *_next; element(int data = 0, element *next = nullptr) { _data = data; _next = next; } bool empty() { return _next == nullptr; } }; struct s_stack { // Member Variablen int _size = 0; element *_he...
14.945652
56
0.528727
TEL21D
74f0c3868289fe5fece793fb2f91691eacd80877
3,136
cc
C++
dash/src/util/Trace.cc
RuhanDev/dash
c56193149c334e552df6f8439c3fb1510048b7f1
[ "BSD-3-Clause" ]
1
2019-05-19T20:31:20.000Z
2019-05-19T20:31:20.000Z
dash/src/util/Trace.cc
RuhanDev/dash
c56193149c334e552df6f8439c3fb1510048b7f1
[ "BSD-3-Clause" ]
null
null
null
dash/src/util/Trace.cc
RuhanDev/dash
c56193149c334e552df6f8439c3fb1510048b7f1
[ "BSD-3-Clause" ]
null
null
null
#include <dash/util/Trace.h> #include <dash/util/Config.h> #include <dash/Team.h> #include <map> #include <iostream> #include <fstream> #include <sstream> #include <iomanip> #include <string> #include <vector> #include <unistd.h> std::map<std::string, dash::util::TraceStore::trace_events_t> dash::util::TraceStore::_...
24.310078
72
0.583227
RuhanDev
74f1e7388a837ed992b18edab72ab69646eba10a
266
cpp
C++
Chess_2.1.1/Pieces/Empty.cpp
jeremy-pouzargues/Projet-Tutor-
fa20a5887235f754424087ea776efe608f9ec411
[ "CC-BY-4.0" ]
null
null
null
Chess_2.1.1/Pieces/Empty.cpp
jeremy-pouzargues/Projet-Tutor-
fa20a5887235f754424087ea776efe608f9ec411
[ "CC-BY-4.0" ]
null
null
null
Chess_2.1.1/Pieces/Empty.cpp
jeremy-pouzargues/Projet-Tutor-
fa20a5887235f754424087ea776efe608f9ec411
[ "CC-BY-4.0" ]
null
null
null
#include <iostream> #include "Pieces/Empty.h" using namespace std; Empty::Empty(const pairCoord & coord) { myCarac = KEMPTY; myCoord = coord; myColor = empty; myName = "Empty"; myValue = 0; myInitCoord = coord; canCastling = false; }
15.647059
37
0.631579
jeremy-pouzargues
74f70f7eebb5748585b252b47529fc89a447600e
1,558
cpp
C++
Hdu/hdu4738.cpp
Tunghohin/Competitive_coding
879238605d5525cda9fd0cfa1155ba67959179a6
[ "MIT" ]
2
2021-09-06T08:34:00.000Z
2021-11-22T14:52:41.000Z
Hdu/hdu4738.cpp
Tunghohin/Competitive_coding
879238605d5525cda9fd0cfa1155ba67959179a6
[ "MIT" ]
null
null
null
Hdu/hdu4738.cpp
Tunghohin/Competitive_coding
879238605d5525cda9fd0cfa1155ba67959179a6
[ "MIT" ]
null
null
null
#include <cstring> #include <iostream> using namespace std; const int N = 1010, M = 200; struct edge { int to, next, val; }e[M]; int head[N], tot = 0; void add_edge(int from, int to, int val) { e[++tot].to = to; e[tot].val = val; e[tot].next = head[from]; head[from] = tot; } int inv_edge(int i) { return i - ...
15.126214
69
0.497433
Tunghohin
74f72855523f3b8a69ece22a604780126cb0d917
10,662
cpp
C++
src/ui-win/light/LightSpillCust.cpp
steptosky/3DsMax-X-Obj-Exporter
c70f5a60056ee71aba1569f1189c38b9e01d2f0e
[ "BSD-3-Clause" ]
20
2017-07-07T06:07:30.000Z
2022-03-09T12:00:57.000Z
src/ui-win/light/LightSpillCust.cpp
steptosky/3DsMax-X-Obj-Exporter
c70f5a60056ee71aba1569f1189c38b9e01d2f0e
[ "BSD-3-Clause" ]
28
2017-07-07T06:08:27.000Z
2022-03-09T12:09:23.000Z
src/ui-win/light/LightSpillCust.cpp
steptosky/3DsMax-X-Obj-Exporter
c70f5a60056ee71aba1569f1189c38b9e01d2f0e
[ "BSD-3-Clause" ]
7
2018-01-24T19:43:22.000Z
2020-01-06T00:05:40.000Z
/* ** Copyright(C) 2017, StepToSky ** ** 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 ** list of conditions and the following di...
39.488889
110
0.450291
steptosky
74f880678a1f202c00c1f5643fcb9c6449eec575
699
cpp
C++
saori.cpp
Taromati2/OICQ-saori
179ade6088df59ad985909da8eb82161c46902c3
[ "WTFPL" ]
null
null
null
saori.cpp
Taromati2/OICQ-saori
179ade6088df59ad985909da8eb82161c46902c3
[ "WTFPL" ]
null
null
null
saori.cpp
Taromati2/OICQ-saori
179ade6088df59ad985909da8eb82161c46902c3
[ "WTFPL" ]
null
null
null
#include <iostream> // 使用静态库必须要在引入 mirai.h 前定义这个宏 #define MIRAICPP_STATICLIB #include <mirai.h> int main() { using namespace std; using namespace Cyan; using namespace SSTP_link_n; system("chcp 65001"); SSTP_link_t linker({{L"Charset",L"UTF-8"},{L"Sender",L"OICQ-saori"}}); MiraiBot bot("127.0.0.1", 539); bot...
18.394737
71
0.692418
Taromati2
2d0043b6fa999d1f02a31bcbaa29ec9b6160ace6
1,229
hpp
C++
lib/xpath_ctxt.hpp
timeout/xml_named_entity_miner
0d3c6f59b7cb1c2f585b25d86eb0cc8a6a532839
[ "0BSD" ]
null
null
null
lib/xpath_ctxt.hpp
timeout/xml_named_entity_miner
0d3c6f59b7cb1c2f585b25d86eb0cc8a6a532839
[ "0BSD" ]
null
null
null
lib/xpath_ctxt.hpp
timeout/xml_named_entity_miner
0d3c6f59b7cb1c2f585b25d86eb0cc8a6a532839
[ "0BSD" ]
null
null
null
#pragma once #include "xml_doc.hpp" #include "libxml2_error_handlers.hpp" #include <libxml/xpath.h> #include <memory> class XPathQuery; class FreeXPathCtxt { public: auto operator( )( xmlXPathContext *xpathCtxt ) const -> void; }; class XPathCtxt { friend class XPathQuery; public: XPathCtxt( ); exp...
27.931818
85
0.702197
timeout
2d07795c7a925ca206dca3ca11fe4b2c197d1c5c
9,503
cpp
C++
src/planning/lanelet2_global_planner_nodes/src/lanelet2_global_planner_node.cpp
Nova-UTD/navigator
1db2c614f9c53fb012842b8653ae1bed58a7ffdf
[ "Apache-2.0" ]
11
2021-11-26T14:06:51.000Z
2022-03-18T16:49:33.000Z
src/planning/lanelet2_global_planner_nodes/src/lanelet2_global_planner_node.cpp
Nova-UTD/navigator
1db2c614f9c53fb012842b8653ae1bed58a7ffdf
[ "Apache-2.0" ]
222
2021-10-29T22:00:27.000Z
2022-03-29T20:56:34.000Z
src/planning/lanelet2_global_planner_nodes/src/lanelet2_global_planner_node.cpp
Nova-UTD/navigator
1db2c614f9c53fb012842b8653ae1bed58a7ffdf
[ "Apache-2.0" ]
1
2021-12-10T18:05:03.000Z
2021-12-10T18:05:03.000Z
/* * Package: lanelet2_global_planner_nodes * Filename: lanelet2_global_planner_node.cpp * Author: Egan Johnson * Email: egan.johnson@utdallas.edu * Copyright: 2021, Nova UTD * License: MIT License */ #include <rclcpp/node_options.hpp> #include <rclcpp_components/register_node_macro.hpp> #include <t...
34.183453
99
0.645901
Nova-UTD
2d0d85f2a0738acad3798b737d26b87ed2c72cce
23,249
cpp
C++
kuntar.cpp
ridgeware/dekaf2
b914d880d1a5b7f5c8f89dedd36b13b7f4b0ee33
[ "MIT" ]
null
null
null
kuntar.cpp
ridgeware/dekaf2
b914d880d1a5b7f5c8f89dedd36b13b7f4b0ee33
[ "MIT" ]
null
null
null
kuntar.cpp
ridgeware/dekaf2
b914d880d1a5b7f5c8f89dedd36b13b7f4b0ee33
[ "MIT" ]
1
2021-08-20T16:15:01.000Z
2021-08-20T16:15:01.000Z
/* // // DEKAF(tm): Lighter, Faster, Smarter (tm) // // Copyright (c) 2018, Ridgeware, Inc. // // +-------------------------------------------------------------------------+ // | /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\| // |/+-------------------------------------------------------------...
27.383981
112
0.503678
ridgeware
2d101d27bd25729bdbd00f556345f40ac5a982ba
1,800
hpp
C++
iehl/src/forward_rendering/vertex_array.hpp
the-last-willy/id3d
dc0d22e7247ac39fbc1fd8433acae378b7610109
[ "MIT" ]
null
null
null
iehl/src/forward_rendering/vertex_array.hpp
the-last-willy/id3d
dc0d22e7247ac39fbc1fd8433acae378b7610109
[ "MIT" ]
null
null
null
iehl/src/forward_rendering/vertex_array.hpp
the-last-willy/id3d
dc0d22e7247ac39fbc1fd8433acae378b7610109
[ "MIT" ]
null
null
null
#pragma once #include "scene/vertex_attribute/all.hpp" #include "forward_renderer.hpp" inline gl::VertexArray vertex_array( const ForwardRenderer&, const VertexAttributeGroup& vag) { auto vao = gl::VertexArray(); if(gl::GetNamedBufferParameter(vag.normal_buffer, GL_BUFFER_SIZE) > 0) { auto att...
36
79
0.654444
the-last-willy
2d167a9cf4824caebe65c82b788698d5b5c7d84d
5,780
cpp
C++
osquery/sql/benchmarks/sql_benchmarks.cpp
trizt/osquery
9256819b8161ab1e02ea0d7eb55da132f197723d
[ "BSD-3-Clause" ]
1
2018-10-30T03:58:24.000Z
2018-10-30T03:58:24.000Z
osquery/sql/benchmarks/sql_benchmarks.cpp
trizt/osquery
9256819b8161ab1e02ea0d7eb55da132f197723d
[ "BSD-3-Clause" ]
null
null
null
osquery/sql/benchmarks/sql_benchmarks.cpp
trizt/osquery
9256819b8161ab1e02ea0d7eb55da132f197723d
[ "BSD-3-Clause" ]
2
2020-09-23T04:49:23.000Z
2022-03-29T17:32:31.000Z
/* * Copyright (c) 2014-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...
29.191919
79
0.692907
trizt
2d1776aac2e4aea98a712e4896a4aad4c598364a
2,658
cpp
C++
visual/kinect2/kinect2.cpp
TimothyYong/Tachikoma-Project
c7af70f2c58fe43f25331fd03589845480ae0f16
[ "MIT" ]
1
2016-02-02T23:13:54.000Z
2016-02-02T23:13:54.000Z
visual/kinect2/kinect2.cpp
TimothyYong/Tachikoma-Project
c7af70f2c58fe43f25331fd03589845480ae0f16
[ "MIT" ]
null
null
null
visual/kinect2/kinect2.cpp
TimothyYong/Tachikoma-Project
c7af70f2c58fe43f25331fd03589845480ae0f16
[ "MIT" ]
null
null
null
#include <cstdio> #include <cmath> #include <opencv2/imgproc/imgproc.hpp> #include "kinect.h" using namespace cv; using namespace std; /* This file accesses the Kinect Device and gets its video and depth frames. If a depth frame is deteced, a new distance frame is created as well */ KinectDevice::KinectDevice(freene...
26.848485
148
0.667043
TimothyYong
2d25bd97f5de8c170c7d94ce038e3042e8cce6f2
3,396
cc
C++
core/gen/server.grpc.pb.cc
dishanphilips/Jade
abefc34ec81b5c2f69e68f10ec1309fb1d786aba
[ "MIT" ]
null
null
null
core/gen/server.grpc.pb.cc
dishanphilips/Jade
abefc34ec81b5c2f69e68f10ec1309fb1d786aba
[ "MIT" ]
null
null
null
core/gen/server.grpc.pb.cc
dishanphilips/Jade
abefc34ec81b5c2f69e68f10ec1309fb1d786aba
[ "MIT" ]
null
null
null
// Generated by the gRPC C++ plugin. // If you make any local change, they will be lost. // source: server.proto #include "server.pb.h" #include "server.grpc.pb.h" #include <functional> #include <grpcpp/impl/codegen/async_stream.h> #include <grpcpp/impl/codegen/async_unary_call.h> #include <grpcpp/impl/codegen/channe...
45.891892
179
0.746466
dishanphilips
2d26b1a96815542357f0887e0615d0e1fca59309
6,313
cpp
C++
lightstep/src/ngx_http_lightstep_module.cpp
SEJeff/nginx-opentracing
2cea68b20c744842171533b10385576f8380a8a4
[ "Apache-2.0" ]
2
2019-06-17T22:54:04.000Z
2019-06-18T10:50:01.000Z
lightstep/src/ngx_http_lightstep_module.cpp
SEJeff/nginx-opentracing
2cea68b20c744842171533b10385576f8380a8a4
[ "Apache-2.0" ]
null
null
null
lightstep/src/ngx_http_lightstep_module.cpp
SEJeff/nginx-opentracing
2cea68b20c744842171533b10385576f8380a8a4
[ "Apache-2.0" ]
null
null
null
#include <lightstep/tracer.h> #include <opentracing/tracer.h> #include <cstdlib> extern "C" { #include <nginx.h> #include <ngx_config.h> #include <ngx_core.h> #include <ngx_http.h> extern ngx_module_t ngx_http_lightstep_module; } //------------------------------------------------------------------------------ // to_...
42.655405
80
0.569301
SEJeff
2d291cac9b621afceb0a49f76d6cbb67dd2bf702
4,508
cpp
C++
bltail.cpp
brendane/bltools
b25906c46d30339b5a009bddeeeb6b1de6700048
[ "MIT" ]
1
2021-05-19T11:35:47.000Z
2021-05-19T11:35:47.000Z
bltail.cpp
brendane/bltools
b25906c46d30339b5a009bddeeeb6b1de6700048
[ "MIT" ]
null
null
null
bltail.cpp
brendane/bltools
b25906c46d30339b5a009bddeeeb6b1de6700048
[ "MIT" ]
null
null
null
/* * Equivalent of tail for biological sequences. * */ #include <iostream> #include <queue> #include <string> #include <vector> #include <seqan/seq_io.h> #include <tclap/CmdLine.h> #include <SeqFileInWrapper.h> using std::cerr; using std::cin; using std::cout; using std::endl; using std::ifstream; using std::is...
27.156627
105
0.557453
brendane
2d2cca0e5fa20914f6211d594622f29f905f2164
201
cpp
C++
Challenges/Challenge29/src/main.cpp
GamesTrap/PracticeChallenges
46ad8b2c18515a9740910162381a3dea18be72ab
[ "MIT" ]
null
null
null
Challenges/Challenge29/src/main.cpp
GamesTrap/PracticeChallenges
46ad8b2c18515a9740910162381a3dea18be72ab
[ "MIT" ]
null
null
null
Challenges/Challenge29/src/main.cpp
GamesTrap/PracticeChallenges
46ad8b2c18515a9740910162381a3dea18be72ab
[ "MIT" ]
null
null
null
#include <cstdint> constexpr uint32_t Summation(const uint32_t num) { return num * (num + 1) / 2; } int main() { static_assert(Summation(1) == 1); static_assert(Summation(8) == 36); return 0; }
14.357143
48
0.661692
GamesTrap
2d3232def81d485798f2ee7da6b978e9ec8917cf
13,860
cpp
C++
FEBioMech/FEReactiveViscoelastic.cpp
wzaylor/FEBio
5444c06473dd66dc0bfdf6e3b2c79d3c0cd0b7a6
[ "MIT" ]
null
null
null
FEBioMech/FEReactiveViscoelastic.cpp
wzaylor/FEBio
5444c06473dd66dc0bfdf6e3b2c79d3c0cd0b7a6
[ "MIT" ]
null
null
null
FEBioMech/FEReactiveViscoelastic.cpp
wzaylor/FEBio
5444c06473dd66dc0bfdf6e3b2c79d3c0cd0b7a6
[ "MIT" ]
null
null
null
/*This file is part of the FEBio source code and is licensed under the MIT license listed below. See Copyright-FEBio.txt for details. Copyright (c) 2020 University of Utah, The Trustees of Columbia University in the City of New York, and others. Permission is hereby granted, free of charge, to any person obtaining ...
31.216216
114
0.571934
wzaylor
2d3234ac80649d190768ace625b253d8215ddcdd
641
cpp
C++
App/Lib/Bal/Test/test/testModule.cpp
belmayze/bal
710a96d011855fdab4e4b6962a2ba5b6b6b35aae
[ "MIT" ]
null
null
null
App/Lib/Bal/Test/test/testModule.cpp
belmayze/bal
710a96d011855fdab4e4b6962a2ba5b6b6b35aae
[ "MIT" ]
null
null
null
App/Lib/Bal/Test/test/testModule.cpp
belmayze/bal
710a96d011855fdab4e4b6962a2ba5b6b6b35aae
[ "MIT" ]
null
null
null
/*! * @file testModule.cpp * @brief * @author belmayze * * Copyright (c) 2020 belmayze. All rights reserved. */ // app #include <test/testModule.h> #include <test/container/testList.h> #include <test/container/testTreeMap.h> namespace app::test { // --------------------------------------------------------...
16.868421
79
0.365055
belmayze
2d367d9d35a41e486d6bbcb8a6b74243ccc03b33
553
cpp
C++
Cplus/CountNumberofTexts.cpp
Jum1023/leetcode
d8248aa84452cb1ea768d9b05ecd72a6746c0016
[ "MIT" ]
1
2018-01-22T12:06:28.000Z
2018-01-22T12:06:28.000Z
Cplus/CountNumberofTexts.cpp
Jum1023/leetcode
d8248aa84452cb1ea768d9b05ecd72a6746c0016
[ "MIT" ]
null
null
null
Cplus/CountNumberofTexts.cpp
Jum1023/leetcode
d8248aa84452cb1ea768d9b05ecd72a6746c0016
[ "MIT" ]
null
null
null
#include <string> #include <vector> using namespace std; class Solution { public: int countTexts(string pressedKeys) { int N = pressedKeys.length(); vector<int> keys = {0, 0, 3, 3, 3, 3, 3, 4, 3, 4}; vector<int> dp(N + 1); dp[N] = 1; for (int i = N - 1; i >= 0; --i) { dp[i] = dp[i + 1]; int index =...
21.269231
98
0.528029
Jum1023
2d387a5f8e3bb0a84f8ee21de2a5fc29af7539d8
1,928
cpp
C++
Aufgabe03/aufgabe2/main.cpp
Freshman83/mos.idk
2e8f4065228b98b612a0b284f9e552c46a5d1c04
[ "Apache-2.0" ]
1
2020-06-14T22:47:58.000Z
2020-06-14T22:47:58.000Z
Aufgabe03/aufgabe2/main.cpp
Freshman83/mos.idk
2e8f4065228b98b612a0b284f9e552c46a5d1c04
[ "Apache-2.0" ]
null
null
null
Aufgabe03/aufgabe2/main.cpp
Freshman83/mos.idk
2e8f4065228b98b612a0b284f9e552c46a5d1c04
[ "Apache-2.0" ]
null
null
null
// -------------------------------------------------------------------------- // DashBoard - Aufgabe 3.2 // // Bearbeitet von: // Sascha Niklas, 257146 // David Rotärmel, 258201 // // -------------------------------------------------------------------------- // Header #include <stdio.h> // printf, fprin...
20.083333
77
0.576245
Freshman83
2d38e46592f54c07ca1e7bff0fe34a6d11224604
6,534
cpp
C++
SDKs/CryCode/3.6.15/CryEngine/CryAction/MaterialEffects/MFXDecalEffect.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
4
2017-12-18T20:10:16.000Z
2021-02-07T21:21:24.000Z
SDKs/CryCode/3.6.15/CryEngine/CryAction/MaterialEffects/MFXDecalEffect.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
null
null
null
SDKs/CryCode/3.6.15/CryEngine/CryAction/MaterialEffects/MFXDecalEffect.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
3
2019-03-11T21:36:15.000Z
2021-02-07T21:21:26.000Z
//////////////////////////////////////////////////////////////////////////// // // Crytek Engine Source File. // Copyright (C), Crytek Studios, 2006. // ------------------------------------------------------------------------- // File name: MFXDecalEffect.cpp // Version: v1.00 // Created: 28/11/2006 by J...
29.7
129
0.712274
amrhead
2d3bb4ef8e93d2b8d86ac5bb77b0e7864bcde0bc
5,309
hh
C++
DetectorModel/DetElem.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
DetectorModel/DetElem.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
DetectorModel/DetElem.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
// ------------------------------------------------------------------------------ // File and Version Information: // $Id: DetElem.hh,v 1.32 2004/12/14 07:10:17 bartoldu Exp $ // // Description: // Base Class to define a specific element of the tracking detector. The types // must exist before elements can be ...
36.363014
81
0.70955
brownd1978
2d3f52c0e5774d7b23a26448ba4d68899d0c1413
5,489
cpp
C++
clessc/src/Selector.cpp
shoichikaji/CSS-clessc
194be6f00ad6f9277efedd7cadab76c6f69a540e
[ "Artistic-1.0" ]
1
2015-03-17T06:27:25.000Z
2015-03-17T06:27:25.000Z
clessc/src/Selector.cpp
shoichikaji/CSS-clessc
194be6f00ad6f9277efedd7cadab76c6f69a540e
[ "Artistic-1.0" ]
null
null
null
clessc/src/Selector.cpp
shoichikaji/CSS-clessc
194be6f00ad6f9277efedd7cadab76c6f69a540e
[ "Artistic-1.0" ]
null
null
null
/* * Copyright 2012 Bram van der Kroef * * This file is part of LESS CSS Compiler. * * LESS CSS Compiler 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 o...
25.178899
81
0.567316
shoichikaji
2d40e9d2a5dd8d0b7d0a30d5b57c75c3acc3dead
1,240
cpp
C++
Game/GameEngine/Events/EventMove.cpp
arthurChennetier/R-Type
bac6f8cf6502f74798181181a819d609b1d82e3a
[ "MIT" ]
1
2018-07-22T13:45:47.000Z
2018-07-22T13:45:47.000Z
Game/GameEngine/Events/EventMove.cpp
arthurChennetier/R-Type
bac6f8cf6502f74798181181a819d609b1d82e3a
[ "MIT" ]
null
null
null
Game/GameEngine/Events/EventMove.cpp
arthurChennetier/R-Type
bac6f8cf6502f74798181181a819d609b1d82e3a
[ "MIT" ]
1
2018-07-20T12:52:42.000Z
2018-07-20T12:52:42.000Z
// // Created by chauvin on 28/01/18. // #include "EventMove.hpp" #include "../Rigidbody/Rigidbody.hpp" #include "../Input/Input.h" TacosEngine::EventMove::EventMove(const std::shared_ptr<TacosEngine::GameObject> &obj, const Vector2 &dir) { this->_object = obj; this->_dir = dir; std::cout << "X :" << dir.get_x(...
33.513514
131
0.651613
arthurChennetier
2d438f7c51dd615adffd85f9b5201eab1a437bbc
863
hpp
C++
src/cipher/DummyCipher.hpp
devktor/libbitcrypto
1b08fb75e6884a622f3a646bfb7bf22609f968ea
[ "MIT" ]
1
2016-01-31T14:16:41.000Z
2016-01-31T14:16:41.000Z
src/cipher/DummyCipher.hpp
BitProfile/libethcrypto
1b08fb75e6884a622f3a646bfb7bf22609f968ea
[ "MIT" ]
null
null
null
src/cipher/DummyCipher.hpp
BitProfile/libethcrypto
1b08fb75e6884a622f3a646bfb7bf22609f968ea
[ "MIT" ]
null
null
null
#pragma once #include <algorithm> #include <stdexcept> #include "../detail/Data.hpp" #include "../key/PrivateKey.hpp" #include "EncryptedData.hpp" #include "ScryptParams.hpp" #include "ScryptParamsGenerator.hpp" namespace Ethereum{ class DummyKey {}; class DummyCipher { public: typedef ScryptParam...
17.26
69
0.651217
devktor
2d4a525f107c2b72b03cc24ddd09e71ed1cc6962
618
cpp
C++
1098_Sequence IJ 4.cpp
Aunkon/URI
668181ba977d44823d228b6ac01dfed16027d524
[ "RSA-MD" ]
null
null
null
1098_Sequence IJ 4.cpp
Aunkon/URI
668181ba977d44823d228b6ac01dfed16027d524
[ "RSA-MD" ]
null
null
null
1098_Sequence IJ 4.cpp
Aunkon/URI
668181ba977d44823d228b6ac01dfed16027d524
[ "RSA-MD" ]
null
null
null
/**** Md. Walid Bin khalid Aunkon ****/ /**** Daffodil International University ****/ /**** ID: 121-15-1669 ****/ /**** Email: mdwalidbinkhalidaunkon@gmail.com ****/ /**** Mobile No: +88-01916-492926 ****/ #incl...
32.526316
62
0.351133
Aunkon
2d4d91501f4073ae4acd194f5d365eee47cf6b21
380
cc
C++
nofx/nofx_ofTexture/nofx_ofEnableNormalizedTexCoords.cc
sepehr-laal/nofx
7abc9da3d4fc0f5b72c6b3d591a08cf44d00277e
[ "MIT" ]
null
null
null
nofx/nofx_ofTexture/nofx_ofEnableNormalizedTexCoords.cc
sepehr-laal/nofx
7abc9da3d4fc0f5b72c6b3d591a08cf44d00277e
[ "MIT" ]
null
null
null
nofx/nofx_ofTexture/nofx_ofEnableNormalizedTexCoords.cc
sepehr-laal/nofx
7abc9da3d4fc0f5b72c6b3d591a08cf44d00277e
[ "MIT" ]
null
null
null
#include "nofx_ofEnableNormalizedTexCoords.h" #include "ofTexture.h" namespace nofx { namespace ClassWrappers { NAN_METHOD(nofx_ofEnableNormalizedTexCoords) { ofEnableNormalizedTexCoords(); NanReturnUndefined(); } // !nofx_ofEnableNormalizedTexC...
23.75
52
0.647368
sepehr-laal
2d5484871292df699cffd6926ea3afb2238d9dc3
18,529
cpp
C++
SOURCES/sim/digi/sfusion.cpp
IsraelyFlightSimulator/Negev-Storm
86de63e195577339f6e4a94198bedd31833a8be8
[ "Unlicense" ]
1
2021-02-19T06:06:31.000Z
2021-02-19T06:06:31.000Z
src/sim/digi/sfusion.cpp
markbb1957/FFalconSource
07b12e2c41a93fa3a95b912a2433a8056de5bc4d
[ "BSD-2-Clause" ]
null
null
null
src/sim/digi/sfusion.cpp
markbb1957/FFalconSource
07b12e2c41a93fa3a95b912a2433a8056de5bc4d
[ "BSD-2-Clause" ]
2
2019-08-20T13:35:13.000Z
2021-04-24T07:32:04.000Z
#include "stdhdr.h" #include "classtbl.h" #include "digi.h" #include "sensors.h" #include "simveh.h" #include "missile.h" #include "object.h" #include "sensclas.h" #include "Entity.h" #include "team.h" #include "Aircrft.h" /* 2001-03-15 S.G. */#include "campbase.h" /* 2001-03-21 S.G. */#include "flight.h" /* 2001-03-21...
34.504655
391
0.602407
IsraelyFlightSimulator
2d5a9693443c446abe97ab6844e8633fc6be3fde
11,025
cpp
C++
1_Widgets-examples/1_4_Widgets_Surfing/src/ofApp.cpp
Daandelange/ofxSurfingImGui
122241ebcb900d30a5fa6b548de41b2910a27401
[ "MIT" ]
null
null
null
1_Widgets-examples/1_4_Widgets_Surfing/src/ofApp.cpp
Daandelange/ofxSurfingImGui
122241ebcb900d30a5fa6b548de41b2910a27401
[ "MIT" ]
null
null
null
1_Widgets-examples/1_4_Widgets_Surfing/src/ofApp.cpp
Daandelange/ofxSurfingImGui
122241ebcb900d30a5fa6b548de41b2910a27401
[ "MIT" ]
null
null
null
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup_ImGui() { ImGuiConfigFlags flags = ImGuiConfigFlags_DockingEnable; bool bRestore = true; bool bMouse = false; bool bAutoDraw = true; // NOTE: it seems that must be false when multiple ImGui instances created! g...
29.637097
149
0.655964
Daandelange
2d5beed9a2b8139f1e89c0b2a37b75774f14f85f
14,455
cpp
C++
Source/SupportGLUT/Viewer/ScreenBase.cpp
GoTamura/KVS
121ede0b9b81da56e9ea698a45ccfd71ff64ed41
[ "BSD-3-Clause" ]
null
null
null
Source/SupportGLUT/Viewer/ScreenBase.cpp
GoTamura/KVS
121ede0b9b81da56e9ea698a45ccfd71ff64ed41
[ "BSD-3-Clause" ]
null
null
null
Source/SupportGLUT/Viewer/ScreenBase.cpp
GoTamura/KVS
121ede0b9b81da56e9ea698a45ccfd71ff64ed41
[ "BSD-3-Clause" ]
null
null
null
/*****************************************************************************/ /** * @file ScreenBase.cpp * @author Naohisa Sakamoto */ /*---------------------------------------------------------------------------- * * Copyright (c) Visualization Laboratory, Kyoto University. * All rights reserved. * See...
31.699561
89
0.499896
GoTamura
2d5bfd3aa2596cf710d4c1672e818b1c94d8d81f
1,967
hh
C++
src/mem/cache/c_dynamic_cache.hh
xiaoyaozi5566/DynamicCache
250e7a901f3244f69d0c8de4d3f525a92dbfaac5
[ "BSD-3-Clause" ]
null
null
null
src/mem/cache/c_dynamic_cache.hh
xiaoyaozi5566/DynamicCache
250e7a901f3244f69d0c8de4d3f525a92dbfaac5
[ "BSD-3-Clause" ]
null
null
null
src/mem/cache/c_dynamic_cache.hh
xiaoyaozi5566/DynamicCache
250e7a901f3244f69d0c8de4d3f525a92dbfaac5
[ "BSD-3-Clause" ]
1
2021-07-05T18:02:56.000Z
2021-07-05T18:02:56.000Z
#include "mem/cache/base.hh" #include "mem/cache/blk.hh" #include "mem/cache/cache.hh" #include "params/BaseCache.hh" #include "stdio.h" typedef BaseCacheParams Params; template <class TagStore> class C_DynamicCache : public SplitRPortCache<TagStore> { public: C_DynamicCache( const Params *p, TagStore *tags );...
25.217949
96
0.685308
xiaoyaozi5566
2d5f5558224e023aec9b9a7ab47971122f40f8f8
2,023
hh
C++
src/random/distributions/ReciprocalDistribution.i.hh
amandalund/celeritas
c631594b00c040d5eb4418fa2129f88c01e29316
[ "Apache-2.0", "MIT" ]
null
null
null
src/random/distributions/ReciprocalDistribution.i.hh
amandalund/celeritas
c631594b00c040d5eb4418fa2129f88c01e29316
[ "Apache-2.0", "MIT" ]
null
null
null
src/random/distributions/ReciprocalDistribution.i.hh
amandalund/celeritas
c631594b00c040d5eb4418fa2129f88c01e29316
[ "Apache-2.0", "MIT" ]
null
null
null
//----------------------------------*-C++-*----------------------------------// // Copyright 2021 UT-Battelle, LLC, and other Celeritas developers. // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: (Apache-2.0 OR MIT) //-------------------------------------------------------------------------...
31.609375
79
0.499259
amandalund
2d5fd58d1f97ac9c3c8d2e42c7a9249bafa07e07
1,174
hpp
C++
DnsUdpStateMachine.hpp
luotuo44/ADNS
ccc85b11c9a3fc7250493451429a44abc81bec39
[ "BSD-2-Clause" ]
3
2016-04-10T04:58:37.000Z
2020-09-07T05:54:51.000Z
DnsUdpStateMachine.hpp
luotuo44/ADNS
ccc85b11c9a3fc7250493451429a44abc81bec39
[ "BSD-2-Clause" ]
null
null
null
DnsUdpStateMachine.hpp
luotuo44/ADNS
ccc85b11c9a3fc7250493451429a44abc81bec39
[ "BSD-2-Clause" ]
null
null
null
//Filename: //Date: 2015-8-11 //Author: luotuo44 http://blog.csdn.net/luotuo44 //Copyright 2015, luotuo44. All rights reserved. //Use of this source code is governed by a BSD-style license #ifndef DNSUDPSTATEMACHINE #define DNSUDPSTATEMACHINE #include<map> #include<memory> #include"typedef.hpp" #include"typedef-...
20.241379
74
0.741908
luotuo44
2d60b4d8b1d0f74b28dd9ab79ee33c3a8aad5d31
8,456
cc
C++
examples/mp.cc
kaishengyao/cnn
a034b837e88f82bd8adf2c5b0a5defb26fd52096
[ "Apache-2.0" ]
16
2015-09-10T07:50:50.000Z
2017-09-17T03:02:38.000Z
examples/mp.cc
kaishengyao/cnn
a034b837e88f82bd8adf2c5b0a5defb26fd52096
[ "Apache-2.0" ]
null
null
null
examples/mp.cc
kaishengyao/cnn
a034b837e88f82bd8adf2c5b0a5defb26fd52096
[ "Apache-2.0" ]
10
2015-09-08T12:43:13.000Z
2018-09-26T07:32:47.000Z
#include "cnn/cnn.h" #include "cnn/training.h" #include "cnn/expr.h" #include <boost/archive/text_oarchive.hpp> #include <boost/archive/text_iarchive.hpp> #include <boost/algorithm/string.hpp> #include <sys/types.h> #include <sys/wait.h> #include <sys/shm.h> #include <iostream> #include <fstream> #include <vector> #in...
29.158621
133
0.629849
kaishengyao
2d69f8d87d1ae27ea07aa88742e616f842578904
2,969
cpp
C++
hexl/eltwise/eltwise-cmp-add.cpp
tgonzalez89-intel/hexl
352e9ed14cb615defa33e4768d156eea3413361a
[ "Apache-2.0" ]
136
2021-03-26T15:24:31.000Z
2022-03-30T07:50:15.000Z
hexl/eltwise/eltwise-cmp-add.cpp
tgonzalez89-intel/hexl
352e9ed14cb615defa33e4768d156eea3413361a
[ "Apache-2.0" ]
24
2021-04-03T06:10:47.000Z
2022-03-24T03:34:50.000Z
hexl/eltwise/eltwise-cmp-add.cpp
tgonzalez89-intel/hexl
352e9ed14cb615defa33e4768d156eea3413361a
[ "Apache-2.0" ]
27
2021-04-01T07:50:11.000Z
2022-03-22T00:54:23.000Z
// Copyright (C) 2020-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 #include "hexl/eltwise/eltwise-cmp-add.hpp" #include "eltwise/eltwise-cmp-add-avx512.hpp" #include "eltwise/eltwise-cmp-add-internal.hpp" #include "hexl/logging/logging.hpp" #include "hexl/number-theory/number-theory.hpp" #include "he...
26.990909
80
0.534187
tgonzalez89-intel
062231383872e4d1289bb030778b03619543b79d
5,365
cpp
C++
tc 160+/WarTransportation.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc 160+/WarTransportation.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc 160+/WarTransportation.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
#include <algorithm> #include <cassert> #include <cstdio> #include <iostream> #include <sstream> #include <string> #include <vector> #include <cstring> #include <queue> #include <numeric> using namespace std; vector<string> cutUp(const string &s, const string &delim=" ") { int lastPos = 0, pos = 0; v...
36.746575
309
0.492265
ibudiselic
06286b2b18cfd53d64bd9681f7984f231baa8655
123,585
cpp
C++
tools/flang2/flang2exe/mwd.cpp
kammerdienerb/flang
8cc4a02b94713750f09fe6b756d33daced0b4a74
[ "Apache-2.0" ]
null
null
null
tools/flang2/flang2exe/mwd.cpp
kammerdienerb/flang
8cc4a02b94713750f09fe6b756d33daced0b4a74
[ "Apache-2.0" ]
null
null
null
tools/flang2/flang2exe/mwd.cpp
kammerdienerb/flang
8cc4a02b94713750f09fe6b756d33daced0b4a74
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2000-2019, NVIDIA CORPORATION. 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 ...
21.91612
95
0.568653
kammerdienerb
06311e251ef6551dd4c1494ace2781442008794a
9,775
cpp
C++
src/node_server_actions_1.cpp
srinivasyadav18/octotiger
4d93c50fe345a081b7985ecb4cb698d16c121565
[ "BSL-1.0" ]
35
2016-11-17T22:35:11.000Z
2022-01-24T19:07:36.000Z
src/node_server_actions_1.cpp
srinivasyadav18/octotiger
4d93c50fe345a081b7985ecb4cb698d16c121565
[ "BSL-1.0" ]
123
2016-11-17T21:29:25.000Z
2022-03-03T21:40:04.000Z
src/node_server_actions_1.cpp
srinivasyadav18/octotiger
4d93c50fe345a081b7985ecb4cb698d16c121565
[ "BSL-1.0" ]
10
2018-11-28T18:17:42.000Z
2022-01-25T12:52:37.000Z
// Copyright (c) 2019 AUTHORS // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include "octotiger/config.hpp" #include "octotiger/container_device.hpp" #include "octotiger/defs.hpp" #include "octotiger/diagn...
31.230032
189
0.668951
srinivasyadav18
0632117eadb9df1777de7677ec3db36e22dfec98
2,811
hpp
C++
graphics/source/geometry/curve.hpp
HrvojeFER/irg-lab
53f27430d39fa099dd605cfd632e38b55a392699
[ "MIT" ]
null
null
null
graphics/source/geometry/curve.hpp
HrvojeFER/irg-lab
53f27430d39fa099dd605cfd632e38b55a392699
[ "MIT" ]
null
null
null
graphics/source/geometry/curve.hpp
HrvojeFER/irg-lab
53f27430d39fa099dd605cfd632e38b55a392699
[ "MIT" ]
null
null
null
#ifndef IRGLAB_CURVE_HPP #define IRGLAB_CURVE_HPP #include "external/external.hpp" #include "primitive/primitive.hpp" namespace il { // Type traits [[nodiscard, maybe_unused]] constexpr bool is_curve_description_supported( small_natural_number dimension_count) { ret...
28.11
114
0.622554
HrvojeFER
06352ea040e35c97c36f7dbbbd6831e090340c34
3,068
cpp
C++
wpilibcExamples/src/main/cpp/templates/sample/cpp/Robot.cpp
balupillai/allwpilib
6992f5421f8222e1edf872a8788d88016ba46f2b
[ "BSD-3-Clause" ]
1
2021-10-10T06:52:41.000Z
2021-10-10T06:52:41.000Z
wpilibcExamples/src/main/cpp/templates/sample/cpp/Robot.cpp
balupillai/allwpilib
6992f5421f8222e1edf872a8788d88016ba46f2b
[ "BSD-3-Clause" ]
null
null
null
wpilibcExamples/src/main/cpp/templates/sample/cpp/Robot.cpp
balupillai/allwpilib
6992f5421f8222e1edf872a8788d88016ba46f2b
[ "BSD-3-Clause" ]
null
null
null
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2017-2018 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
32.989247
80
0.650587
balupillai
0638e398efc5a165f675d66a600f7203bbdcafee
1,304
cpp
C++
cppcheck/data/c_files/82.cpp
awsm-research/LineVul
246baf18c1932094564a10c9b81efb21914b2978
[ "MIT" ]
2
2022-03-23T12:16:20.000Z
2022-03-31T06:19:40.000Z
cppcheck/data/c_files/82.cpp
awsm-research/LineVul
246baf18c1932094564a10c9b81efb21914b2978
[ "MIT" ]
null
null
null
cppcheck/data/c_files/82.cpp
awsm-research/LineVul
246baf18c1932094564a10c9b81efb21914b2978
[ "MIT" ]
null
null
null
status_t SampleTable::setTimeToSampleParams( off64_t data_offset, size_t data_size) { if (!mTimeToSample.empty() || data_size < 8) { return ERROR_MALFORMED; } uint8_t header[8]; if (mDataSource->readAt( data_offset, header, sizeof(header)) < (ssize_t)sizeof(header)) { return ERROR_IO; } if (U32_AT(header) != 0) {...
28.347826
71
0.721626
awsm-research
063c6beca76fd6308e9eabe47e48eaa887948f89
6,980
cpp
C++
apps/enumeration/numericalSemigroups/hivert.cpp
ruairidhm98/YewPar
dfcc204a308232ceca3223252f3a1b4a2f6f42f6
[ "MIT" ]
null
null
null
apps/enumeration/numericalSemigroups/hivert.cpp
ruairidhm98/YewPar
dfcc204a308232ceca3223252f3a1b4a2f6f42f6
[ "MIT" ]
null
null
null
apps/enumeration/numericalSemigroups/hivert.cpp
ruairidhm98/YewPar
dfcc204a308232ceca3223252f3a1b4a2f6f42f6
[ "MIT" ]
null
null
null
/* Original Numerical Semigroups Code by Florent Hivert: https://www.lri.fr/~hivert/ Link: https://github.com/hivert/NumericMonoid/blob/master/src/Cilk++/monoid.hpp */ #include <hpx/hpx_init.hpp> #include <hpx/include/iostreams.hpp> #include <vector> #include <chrono> #include "YewPar.hpp" #include "skeletons/Se...
40.581395
87
0.571777
ruairidhm98
063dc7485b02ff563021ac01662259de76748e96
3,180
cpp
C++
mcommon/ui/ui_manager.cpp
cmaughan/mgfx
488453333f23b38b22ba06b984615a8069dadcbf
[ "MIT" ]
36
2017-03-27T16:57:47.000Z
2022-01-12T04:17:55.000Z
mcommon/ui/ui_manager.cpp
cmaughan/mgfx
488453333f23b38b22ba06b984615a8069dadcbf
[ "MIT" ]
5
2017-03-04T12:13:54.000Z
2017-03-26T21:55:08.000Z
mcommon/ui/ui_manager.cpp
cmaughan/mgfx
488453333f23b38b22ba06b984615a8069dadcbf
[ "MIT" ]
7
2017-03-04T11:01:44.000Z
2018-08-28T09:25:47.000Z
#include "mcommon.h" #include "ui_manager.h" // Statics uint64_t UIMessage::CurrentID = 1; namespace { uint64_t InvalidMessageID = 0; } void UIMessage::Log() { /* uint32_t level = easyloggingERROR; if (m_type & MessageType::Warning) { level = WARNING; } */ std:...
22.553191
136
0.555031
cmaughan
064065e6ba627b73355756f7706d3276ca4312ff
2,602
hpp
C++
Simulator/includes/BitMaskEnums.hpp
lilggamegenius/M68KSimulator
af22bde681c11b0a8ee6fa4692be969566037926
[ "MIT" ]
null
null
null
Simulator/includes/BitMaskEnums.hpp
lilggamegenius/M68KSimulator
af22bde681c11b0a8ee6fa4692be969566037926
[ "MIT" ]
null
null
null
Simulator/includes/BitMaskEnums.hpp
lilggamegenius/M68KSimulator
af22bde681c11b0a8ee6fa4692be969566037926
[ "MIT" ]
null
null
null
// // Created by ggonz on 11/22/2021. // #pragma once namespace M68K::Opcodes{ template<typename Enum> struct EnableBitMaskOperators { static const bool enable = false; }; template<typename Enum> typename std::enable_if<EnableBitMaskOperators<Enum>::enable, Enum>::type operator|(Enum lhs, Enum rhs) { usin...
26.02
76
0.691391
lilggamegenius
06471850e2f566be10650a5176216815fb6e0acc
128
cpp
C++
1d/kill_waw_scalar/main.cpp
realincubus/clang_plugin_tests
018e22f37baaa7c072de8d455ad16057c953fd96
[ "MIT" ]
null
null
null
1d/kill_waw_scalar/main.cpp
realincubus/clang_plugin_tests
018e22f37baaa7c072de8d455ad16057c953fd96
[ "MIT" ]
null
null
null
1d/kill_waw_scalar/main.cpp
realincubus/clang_plugin_tests
018e22f37baaa7c072de8d455ad16057c953fd96
[ "MIT" ]
null
null
null
int main(int argc, char** argv){ for (int i = 0; i < 100; ++i){ double x; x = 0; } return 0; }
9.846154
34
0.398438
realincubus
06478b1e2d9c4788f6910906e30f5f34f4c2ce66
552
cpp
C++
Cpp/298_binary_tree_longest_consecutive_sequence/solution.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
1
2015-12-19T23:05:35.000Z
2015-12-19T23:05:35.000Z
Cpp/298_binary_tree_longest_consecutive_sequence/solution.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
null
null
null
Cpp/298_binary_tree_longest_consecutive_sequence/solution.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: int longestConsecutive(TreeNode* root) { return search(root, NULL, 0); } int search(...
25.090909
88
0.586957
zszyellow
0647d760d8c25460239aa4c791a20256d53410ee
3,694
hh
C++
net.ssa/xrLC/OpenMesh/Core/Utils/Noncopyable.hh
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:19.000Z
2022-03-26T17:00:19.000Z
xrLC/OpenMesh/Core/Utils/Noncopyable.hh
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
null
null
null
xrLC/OpenMesh/Core/Utils/Noncopyable.hh
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:21.000Z
2022-03-26T17:00:21.000Z
//============================================================================= // // OpenMesh // Copyright (C) 2003 by Computer Graphics Group, RWTH Aachen ...
47.974026
80
0.319708
ixray-team
064e9fd8c85114ba9966dba4b6453fda5a1af84f
49,053
cpp
C++
src/Microsoft.DotNet.Wpf/src/WpfGfx/core/hw/hwpipelinebuilder.cpp
nsivov/wpf
d36941860f05dd7a09008e99d1bcd635b0a69fdb
[ "MIT" ]
2
2020-05-18T17:00:43.000Z
2021-12-01T10:00:29.000Z
src/Microsoft.DotNet.Wpf/src/WpfGfx/core/hw/hwpipelinebuilder.cpp
nsivov/wpf
d36941860f05dd7a09008e99d1bcd635b0a69fdb
[ "MIT" ]
5
2020-05-05T08:05:01.000Z
2021-12-11T21:35:37.000Z
src/Microsoft.DotNet.Wpf/src/WpfGfx/core/hw/hwpipelinebuilder.cpp
nsivov/wpf
d36941860f05dd7a09008e99d1bcd635b0a69fdb
[ "MIT" ]
4
2020-05-04T06:43:25.000Z
2022-02-20T12:02:50.000Z
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. //+----------------------------------------------------------------------------- // // // $TAG ENGR // $Mod...
28.142857
125
0.586651
nsivov
0650d75d16eac84dbc9aa8c85c38361f5d0cdfc7
834
hpp
C++
include/lastfmpp/image.hpp
chrismanning/lastfmpp
59439e62d2654359a48f8244a4b69b95d398beb3
[ "MIT" ]
null
null
null
include/lastfmpp/image.hpp
chrismanning/lastfmpp
59439e62d2654359a48f8244a4b69b95d398beb3
[ "MIT" ]
null
null
null
include/lastfmpp/image.hpp
chrismanning/lastfmpp
59439e62d2654359a48f8244a4b69b95d398beb3
[ "MIT" ]
null
null
null
/************************************************************************** ** Copyright (C) 2015 Christian Manning ** ** This software may be modified and distributed under the terms ** of the MIT license. See the LICENSE file for details. **************************************************************************/ #...
22.540541
75
0.585132
chrismanning
0653790c4e7d89850c8d214c0d2d3add74b8d1ac
598
cpp
C++
Primitive-Root.cpp
cirno99/Algorithms
6425b143f406693caf8f882bdfe5497c81df255a
[ "Unlicense" ]
1,210
2016-08-07T13:32:12.000Z
2022-03-21T01:01:57.000Z
Primitive-Root.cpp
NeilQingqing/Algorithms-2
c10d4c212fa1fbf8b9fb3c781d61f41e75e96aaa
[ "Unlicense" ]
7
2016-09-11T11:41:03.000Z
2017-10-29T02:12:57.000Z
Primitive-Root.cpp
NeilQingqing/Algorithms-2
c10d4c212fa1fbf8b9fb3c781d61f41e75e96aaa
[ "Unlicense" ]
514
2016-10-17T03:52:16.000Z
2022-03-19T16:23:33.000Z
#include <cstdio> typedef long long ll; using namespace std; ll p; ll qpow(ll x, ll y) { if (y == 1) return x; ll t = qpow(x, y >> 1); t = t * t % p; if ((y & 1) == 0) return t; return t * x % p; } int main() { ll x; while (true) { scanf("%lld", &p); for (ll k = 2; ; k++) { x = p - 1; for (ll i...
13
46
0.404682
cirno99
065b60abd82dd78935f3cfdc9cbc8c764ada5733
16,479
hpp
C++
include/morphotree/tree/mtree.hpp
dennisjosesilva/morphotree
3be4ff7f36de65772ef273a61b0bc5916e2904d9
[ "MIT" ]
null
null
null
include/morphotree/tree/mtree.hpp
dennisjosesilva/morphotree
3be4ff7f36de65772ef273a61b0bc5916e2904d9
[ "MIT" ]
3
2022-03-23T19:16:08.000Z
2022-03-28T00:40:19.000Z
include/morphotree/tree/mtree.hpp
dennisjosesilva/morphotree
3be4ff7f36de65772ef273a61b0bc5916e2904d9
[ "MIT" ]
null
null
null
#pragma once #include "morphotree/core/alias.hpp" #include "morphotree/core/box.hpp" #include <memory> #include <list> #include <vector> #include <limits> #include "morphotree/tree/ct_builder.hpp" #include "morphotree/adjacency/adjacency.hpp" #include "morphotree/core/sort.hpp" #include <queue> #include <stack> nam...
29.532258
126
0.642879
dennisjosesilva
06623c4a5e54afdd80e862ffdc06b39ad69895b3
42,167
cpp
C++
Source/WebSocketEntities.cpp
braindigitalis/DiscordCoreAPI
1cc087ea8435051afb8a7ef9bb171665127df419
[ "Apache-2.0" ]
null
null
null
Source/WebSocketEntities.cpp
braindigitalis/DiscordCoreAPI
1cc087ea8435051afb8a7ef9bb171665127df419
[ "Apache-2.0" ]
null
null
null
Source/WebSocketEntities.cpp
braindigitalis/DiscordCoreAPI
1cc087ea8435051afb8a7ef9bb171665127df419
[ "Apache-2.0" ]
null
null
null
// WebSocketEntities.cpp - Source file for the webSocket related classes and structs. // May 13, 2021 // Chris M. // https://github.com/RealTimeChris #include "WebSocketEntities.hpp" #include "JSONIfier.hpp" #include "EventManager.hpp" #include "CommandController.hpp" #include "DiscordCoreClient.hpp" namespace Discor...
38.264065
198
0.682548
braindigitalis
066469719d36c5564bf1b88e3a934da65e4363d3
13,371
cpp
C++
eval.cpp
maxime-tournier/slip
a3765b27280cb29880e448310fbcb2c9a40a88cd
[ "MIT" ]
1
2017-03-19T21:43:42.000Z
2017-03-19T21:43:42.000Z
eval.cpp
maxime-tournier/slip
a3765b27280cb29880e448310fbcb2c9a40a88cd
[ "MIT" ]
null
null
null
eval.cpp
maxime-tournier/slip
a3765b27280cb29880e448310fbcb2c9a40a88cd
[ "MIT" ]
null
null
null
#include "eval.hpp" #include <vector> #include "sexpr.hpp" #include "package.hpp" #include "gc.hpp" #include "stack.hpp" // #include "repr.hpp" namespace eval { //////////////////////////////////////////////////////////////////////////////// const symbol cons = "cons"; const symbol nil = "nil"; con...
25.468571
82
0.544238
maxime-tournier
06657b9629f5f8883f5c19899ccaa69c6e22bbe5
289
cpp
C++
src/liquid/string_std.cpp
kainjow/Jeqyll
3a234a345087c5d3366b1eda98d3ed92d3888101
[ "MIT" ]
4
2018-02-01T04:46:37.000Z
2021-01-13T18:20:38.000Z
src/liquid/string_std.cpp
kainjow/Jeqyll
3a234a345087c5d3366b1eda98d3ed92d3888101
[ "MIT" ]
null
null
null
src/liquid/string_std.cpp
kainjow/Jeqyll
3a234a345087c5d3366b1eda98d3ed92d3888101
[ "MIT" ]
3
2017-03-27T19:12:56.000Z
2021-03-23T04:24:51.000Z
#include "string.hpp" Liquid::StringRef Liquid::String::midRef(size_type pos, size_type num) const { if (pos > size()) { return {}; } const size_type len = num == static_cast<size_type>(-1) || size() < num ? size() - pos : num; return StringRef(this, pos, len); }
26.272727
97
0.608997
kainjow
06666820f2556feae941ec03439afd62c07f5374
4,464
cpp
C++
OpenCTD_Particle_Boron/OpenCTD_SDCard/OpenCTD_SDCard/src/OpenCTD_SDCard.cpp
sio-testtank-makerspace/OpenCTD
0595126c56dbd7e131d17491b5679a944ab44660
[ "MIT" ]
2
2019-05-30T23:44:24.000Z
2019-09-04T00:50:38.000Z
OpenCTD_Particle_Boron/OpenCTD_SDCard/OpenCTD_SDCard/src/OpenCTD_SDCard.cpp
sio-testtank-makerspace/OpenCTD
0595126c56dbd7e131d17491b5679a944ab44660
[ "MIT" ]
null
null
null
OpenCTD_Particle_Boron/OpenCTD_SDCard/OpenCTD_SDCard/src/OpenCTD_SDCard.cpp
sio-testtank-makerspace/OpenCTD
0595126c56dbd7e131d17491b5679a944ab44660
[ "MIT" ]
null
null
null
#include "application.h" #line 1 "/Users/pjb/Dropbox/Particle_Projects/OPO_OpenCTDTest/OpenCTD_SDCard/OpenCTD_SDCard/src/OpenCTD_SDCard.ino" /* * Simple data logger. */ #include <SPI.h> #include "SdFat.h" // SD chip select pin. Be sure to disable any other SPI devices such as Enet. void writeHeader(); void logData(...
27.9
115
0.575269
sio-testtank-makerspace
06691fe7604608f281cdf1b73c26e841e47ba944
4,319
cc
C++
physics/hadron/models/src/HadronicFinalStateModelStore.cc
Geant-RnD/geant
ffff95e23547531f3254ada2857c062a31f33e8f
[ "ECL-2.0", "Apache-2.0" ]
2
2016-10-16T14:37:42.000Z
2018-04-05T15:49:09.000Z
physics/hadron/models/src/HadronicFinalStateModelStore.cc
Geant-RnD/geant
ffff95e23547531f3254ada2857c062a31f33e8f
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
physics/hadron/models/src/HadronicFinalStateModelStore.cc
Geant-RnD/geant
ffff95e23547531f3254ada2857c062a31f33e8f
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
#include "Geant/HadronicFinalStateModelStore.h" #include "Geant/HadronicFinalStateModel.h" #include "Geant/Isotope.h" using namespace geantphysics; //------------------------------------------------ // HadronicFinalStateModelStore non-inline methods //------------------------------------------------ HadronicFinalSta...
39.990741
117
0.656865
Geant-RnD
06696f0f06efe1d4c70f313abf88e6b996dec1cb
954
cpp
C++
AYK/src/AYK/Renderer/OrthographicCamera.cpp
AreYouReal/AYK
c6859047cfed674291692cc31095d8bb61b27a35
[ "Apache-2.0" ]
null
null
null
AYK/src/AYK/Renderer/OrthographicCamera.cpp
AreYouReal/AYK
c6859047cfed674291692cc31095d8bb61b27a35
[ "Apache-2.0" ]
null
null
null
AYK/src/AYK/Renderer/OrthographicCamera.cpp
AreYouReal/AYK
c6859047cfed674291692cc31095d8bb61b27a35
[ "Apache-2.0" ]
null
null
null
#include "aykpch.h" #include "OrthographicCamera.h" #include <glm/gtc/matrix_transform.hpp> namespace AYK { OrthographicCamera::OrthographicCamera(float Left, float Right, float Bottom, float Top) : ProjectionMatrix(glm::ortho(Left, Right, Bottom, Top, -1.0f, 1.0f)), ViewMatrix(1.0f){ AYK_PROFILE_FUNCTION(); V...
28.058824
178
0.736897
AreYouReal
066beba3c0647677cff0bddc2d0c969a82cda3f3
1,054
cpp
C++
FlyEngine/Source/FlyVariable.cpp
rogerta97/FlyEngine
33abd70c5b4307cd552e2b6269b401772b4327ba
[ "MIT" ]
null
null
null
FlyEngine/Source/FlyVariable.cpp
rogerta97/FlyEngine
33abd70c5b4307cd552e2b6269b401772b4327ba
[ "MIT" ]
null
null
null
FlyEngine/Source/FlyVariable.cpp
rogerta97/FlyEngine
33abd70c5b4307cd552e2b6269b401772b4327ba
[ "MIT" ]
null
null
null
#include "FlyVariable.h" #include "RandomNumberGenerator.h" #include "mmgr.h" FlyVariable::FlyVariable() { } FlyVariable::~FlyVariable() { } void FlyVariable::CleanUp() { } void FlyVariable::SetDefault() { name = ""; varType = Var_Integer; varIntegerValue = 0; varToogleValue = true; uniqueID = RandomNumberGen...
23.954545
80
0.767552
rogerta97
066f9426ba98e9c4f33791fd877a1ed30b71d398
3,010
cpp
C++
src/MexUtils.cpp
markjolah/MexIface
42118754e7d4175d452fa7cdbd9335561ff69900
[ "Apache-2.0" ]
4
2019-03-04T08:28:50.000Z
2021-09-30T16:50:51.000Z
src/MexUtils.cpp
markjolah/MexIFace
42118754e7d4175d452fa7cdbd9335561ff69900
[ "Apache-2.0" ]
null
null
null
src/MexUtils.cpp
markjolah/MexIFace
42118754e7d4175d452fa7cdbd9335561ff69900
[ "Apache-2.0" ]
null
null
null
/** @file MexUtils.cpp * @author Mark J. Olah (mjo\@cs.unm DOT edu) * @date 2013-2017 * @copyright Licensed under the Apache License, Version 2.0. See LICENSE file. * @brief Helper functions for working with Matlab mxArrays and mxClassIDs */ #include <memory> #include <cxxabi.h> #include "MexIFace/MexUtils.h" #i...
35.411765
104
0.690033
markjolah
067009b97de9b3c912abfa77d7276ea3f9ff39be
34,300
cpp
C++
RC.cpp
eanmcgilvery/Embedded-Sys-Visualizer
412b23f0f90f5e9ee68d139f73f15df48c88d5a4
[ "MIT" ]
null
null
null
RC.cpp
eanmcgilvery/Embedded-Sys-Visualizer
412b23f0f90f5e9ee68d139f73f15df48c88d5a4
[ "MIT" ]
null
null
null
RC.cpp
eanmcgilvery/Embedded-Sys-Visualizer
412b23f0f90f5e9ee68d139f73f15df48c88d5a4
[ "MIT" ]
null
null
null
/*MIT License Copyright (c) 2021 Ean McGilvery, Janeen Yamak 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, mer...
34.857724
128
0.504169
eanmcgilvery
0673d8a0bb1d3dbb436e0614d53d563f245fa063
8,212
cc
C++
deploy/pptracking/cpp/src/jde_predictor.cc
Amanda-Barbara/PaddleDetection
65ac13074eaaa2447c644a2df71969d8a3dd1fae
[ "Apache-2.0" ]
3
2022-03-23T08:48:06.000Z
2022-03-28T01:59:34.000Z
deploy/pptracking/cpp/src/jde_predictor.cc
Amanda-Barbara/PaddleDetection
65ac13074eaaa2447c644a2df71969d8a3dd1fae
[ "Apache-2.0" ]
null
null
null
deploy/pptracking/cpp/src/jde_predictor.cc
Amanda-Barbara/PaddleDetection
65ac13074eaaa2447c644a2df71969d8a3dd1fae
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requir...
34.79661
80
0.629445
Amanda-Barbara
067538bdca83fd2d62096ca981783b95168c04bf
1,271
cpp
C++
Engine/Source/honey.cpp
bugsbycarlin/Honey
56902979eb746c8dff5c8bcfc531fbf855c0bae5
[ "MIT" ]
null
null
null
Engine/Source/honey.cpp
bugsbycarlin/Honey
56902979eb746c8dff5c8bcfc531fbf855c0bae5
[ "MIT" ]
null
null
null
Engine/Source/honey.cpp
bugsbycarlin/Honey
56902979eb746c8dff5c8bcfc531fbf855c0bae5
[ "MIT" ]
null
null
null
/* Honey Copyright 2018 - Matthew Carlin */ #include "honey.h" using namespace std; namespace Honey { Window& window = Window::instance(); ScreenManager& screenmanager = ScreenManager::instance(); Timing& timing = Timing::instance(); MathUtilities& math_utils = MathUtilities::instance(); Config& conf...
28.244444
88
0.697876
bugsbycarlin
0679cdcc3547a36811b82bd645ed2b20d5e6bf7d
2,787
cpp
C++
src/Graphics/Model.cpp
llGuy/Ondine
325c2d3ea5bd5ef5456b0181c53ad227571fada3
[ "MIT" ]
1
2022-01-24T18:15:56.000Z
2022-01-24T18:15:56.000Z
src/Graphics/Model.cpp
llGuy/Ondine
325c2d3ea5bd5ef5456b0181c53ad227571fada3
[ "MIT" ]
null
null
null
src/Graphics/Model.cpp
llGuy/Ondine
325c2d3ea5bd5ef5456b0181c53ad227571fada3
[ "MIT" ]
null
null
null
#include <assert.h> #include "Model.hpp" namespace Ondine::Graphics { ModelConfig::ModelConfig(uint32_t vertexCount) : mVertexCount(vertexCount), mAttributeCount(0), mAttributes{}, mIndexCount(0), mIndexType(VkIndexType(0)), mIndices{} { } void ModelConfig::pushAttribute( const Attribute &...
27.323529
81
0.735199
llGuy
067cf9785dac34b7f808b923e415dea463b94629
50,800
cpp
C++
tests/codegen.cpp
ajor/bpftrace
691e1264b526b9179a610c3ae706e439efd132d3
[ "Apache-2.0" ]
278
2016-12-28T00:51:17.000Z
2022-02-09T10:32:31.000Z
tests/codegen.cpp
brendangregg/bpftrace
4cc2e864a9bbbcb97a508bfc5a3db1cd0b5d7f95
[ "Apache-2.0" ]
48
2017-07-10T20:17:55.000Z
2020-01-20T23:41:51.000Z
tests/codegen.cpp
ajor/bpftrace
691e1264b526b9179a610c3ae706e439efd132d3
[ "Apache-2.0" ]
19
2017-07-28T05:49:00.000Z
2022-02-22T22:05:37.000Z
#include "gmock/gmock.h" #include "gtest/gtest.h" #include "bpforc.h" #include "bpftrace.h" #include "codegen_llvm.h" #include "driver.h" #include "fake_map.h" #include "semantic_analyser.h" namespace bpftrace { namespace test { namespace codegen { using ::testing::_; TEST(codegen, populate_sections) { BPFtrace bp...
38.253012
161
0.657618
ajor
067d73d95df0b29938dd67d299227f270e8608d1
6,695
inl
C++
Library/Sources/Stroika/Foundation/Execution/WaitForIOReady.inl
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
28
2015-09-22T21:43:32.000Z
2022-02-28T01:35:01.000Z
Library/Sources/Stroika/Foundation/Execution/WaitForIOReady.inl
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
98
2015-01-22T03:21:27.000Z
2022-03-02T01:47:00.000Z
Library/Sources/Stroika/Foundation/Execution/WaitForIOReady.inl
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
4
2019-02-21T16:45:25.000Z
2022-02-18T13:40:04.000Z
/* * Copyright(c) Sophist Solutions, Inc. 1990-2021. All rights reserved */ #ifndef _Stroika_Foundation_Execution_WaitForIOReady_inl_ #define _Stroika_Foundation_Execution_WaitForIOReady_inl_ 1 /* ******************************************************************************** ***************************** Implem...
51.899225
182
0.645706
SophistSolutions
067f9303e31723e091d394718084d79cb76f3bd0
950
cpp
C++
sociality_model_cpp/main.cpp
pratikunterwegs/pathomove
be6b509442d975909bae2a46cc01d94e74e32a41
[ "MIT" ]
1
2022-03-16T11:20:02.000Z
2022-03-16T11:20:02.000Z
sociality_model_cpp/main.cpp
pratikunterwegs/pathomove
be6b509442d975909bae2a46cc01d94e74e32a41
[ "MIT" ]
1
2022-01-18T12:08:44.000Z
2022-01-18T12:08:44.000Z
sociality_model_cpp/main.cpp
pratikunterwegs/pathomove
be6b509442d975909bae2a46cc01d94e74e32a41
[ "MIT" ]
1
2022-01-18T20:29:28.000Z
2022-01-18T20:29:28.000Z
#include <vector> #include <random> #include <cassert> #include <iostream> #include <fstream> #include <algorithm> #include "../src/simulations.hpp" int main(int argc, char *argv[]) { // process cliargs std::vector<std::string> cliArgs(argv, argv+argc); int nFood = 5; float landsize = 5.0f; int fo...
25
99
0.624211
pratikunterwegs
068378d6af38e997dad71e711f19708f7238cf00
3,053
cpp
C++
tokenizer.cpp
CreativeGP/c2js
8d06404d4d72918d83eacb49fe6e9353ab7aece4
[ "MIT" ]
null
null
null
tokenizer.cpp
CreativeGP/c2js
8d06404d4d72918d83eacb49fe6e9353ab7aece4
[ "MIT" ]
null
null
null
tokenizer.cpp
CreativeGP/c2js
8d06404d4d72918d83eacb49fe6e9353ab7aece4
[ "MIT" ]
null
null
null
#include "tokenizer.h" #include "util.h" #include <fstream> Tokenizer::Tokenizer() {} Tokenizer::~Tokenizer() {} int Tokenizer::add_token(string value, uint line, uint col) { if (value == "") return -1; tokens.push_back(Token {value, line, col}); tokenvals.push_back(value); return 0; } i...
25.655462
84
0.496561
CreativeGP
068638527269bdc8b38aa4b45d95301f6697a5d2
15,390
hpp
C++
include/memoria/core/memory/smart_ptrs.hpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
2
2021-07-30T16:54:24.000Z
2021-09-08T15:48:17.000Z
include/memoria/core/memory/smart_ptrs.hpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
null
null
null
include/memoria/core/memory/smart_ptrs.hpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
2
2020-03-14T15:15:25.000Z
2020-06-15T11:26:56.000Z
// Copyright 2018 Victor Smirnov // // 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...
27.190813
103
0.724756
victor-smirnov