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
float64
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
float64
1
77k
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
float64
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
653k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
1
2799cac237d65f737878d98c615edc69f4bcb292
3,997
cpp
C++
benchmarks/allocator_benchmarks.cpp
nanzifan/Umpire-edit
990895b527bef0716aaa0fbb0c0f2017e8e15882
[ "MIT" ]
null
null
null
benchmarks/allocator_benchmarks.cpp
nanzifan/Umpire-edit
990895b527bef0716aaa0fbb0c0f2017e8e15882
[ "MIT" ]
null
null
null
benchmarks/allocator_benchmarks.cpp
nanzifan/Umpire-edit
990895b527bef0716aaa0fbb0c0f2017e8e15882
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2018, Lawrence Livermore National Security, LLC. // Produced at the Lawrence Livermore National Laboratory // // Created by David Beckingsale, david@llnl.gov // LLNL-CODE-747640 // // All rights reserved. // // This file is ...
29.607407
87
0.641981
279b22e9f90e6a8cb81f16bf7bfb8a29ee781a25
763
cpp
C++
src/random-set/main.cpp
schien/practices
b248813e51314095c21cf9dc6193d0e1e48550d3
[ "MIT" ]
null
null
null
src/random-set/main.cpp
schien/practices
b248813e51314095c21cf9dc6193d0e1e48550d3
[ "MIT" ]
null
null
null
src/random-set/main.cpp
schien/practices
b248813e51314095c21cf9dc6193d0e1e48550d3
[ "MIT" ]
null
null
null
#include <iostream> #include "input_helper.h" #include "solution.cpp" int main() { RandomizedSet rset; while (std::cin.good()) { char op; std::cin >> op; if (std::cin.eof()) { break; } switch (op) { case 'i': { std::cout << std::boolalpha << rset.insert(next<int>...
18.609756
74
0.415465
279c9c7e74e622d478ea12804163ac171fa04981
207
hpp
C++
parser/spirit/BoostPrecompile.hpp
Vitaliy-Grigoriev/PDL
da528e34e91add4e11415e31e01535db04e7043f
[ "MIT" ]
1
2019-09-23T08:27:31.000Z
2019-09-23T08:27:31.000Z
parser/spirit/BoostPrecompile.hpp
Vitaliy-Grigoriev/PDL
da528e34e91add4e11415e31e01535db04e7043f
[ "MIT" ]
null
null
null
parser/spirit/BoostPrecompile.hpp
Vitaliy-Grigoriev/PDL
da528e34e91add4e11415e31e01535db04e7043f
[ "MIT" ]
null
null
null
//#define BOOST_SPIRIT_X3_DEBUG #define BOOST_SPIRIT_NO_STANDARD_WIDE // Disable wide characters for compilation speed. #include <boost/spirit/home/x3.hpp> #include <boost/fusion/include/adapt_struct.hpp>
34.5
88
0.816425
279e201b5087433e51391b8b41c1d569115758b8
22,572
cxx
C++
main/sw/source/core/text/txtio.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sw/source/core/text/txtio.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sw/source/core/text/txtio.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
23.885714
90
0.616073
279ebb6034b6a93be79868b35fc5586368c57798
825
cpp
C++
src/error_handling_tk205.cpp
open205/libtk205
48b9c13623bd737e80cc9323d82a217afd927d04
[ "BSD-3-Clause" ]
1
2021-12-09T00:04:43.000Z
2021-12-09T00:04:43.000Z
src/error_handling_tk205.cpp
open205/libtk205
48b9c13623bd737e80cc9323d82a217afd927d04
[ "BSD-3-Clause" ]
null
null
null
src/error_handling_tk205.cpp
open205/libtk205
48b9c13623bd737e80cc9323d82a217afd927d04
[ "BSD-3-Clause" ]
null
null
null
#include "error_handling_tk205.h" #include <map> #include <iostream> #include <string_view> namespace tk205 { msg_handler _error_handler; void Set_error_handler(msg_handler handler) { _error_handler = std::move(handler); } void Show_message(msg_severity severity, const std::string &messa...
24.264706
82
0.578182
279fca8026a43de5182a515cb704965a388aa3a8
6,403
cpp
C++
src/lllarith.cpp
gligneul/Lua-LLVM
1579b46e28d9ca16b70b9e9f3c11b389734eca00
[ "MIT" ]
12
2016-02-26T02:50:59.000Z
2021-05-27T00:56:16.000Z
src/lllarith.cpp
gligneul/Lua-LLVM
1579b46e28d9ca16b70b9e9f3c11b389734eca00
[ "MIT" ]
null
null
null
src/lllarith.cpp
gligneul/Lua-LLVM
1579b46e28d9ca16b70b9e9f3c11b389734eca00
[ "MIT" ]
1
2021-03-25T18:56:50.000Z
2021-03-25T18:56:50.000Z
/* ** LLL - Lua Low Level ** September, 2015 ** Author: Gabriel de Quadros Ligneul ** Copyright Notice for LLL: see lllcore.h ** ** lllarith.cpp ** Compiles the arithmetics opcodes */ #include "lllarith.h" #include "lllcompilerstate.h" #include "lllvalue.h" extern "C" { #include "lprefix.h" #include "lobject.h" #incl...
30.636364
82
0.640325
27a1ee71243b7276ca7d333f8a7d3dde4bc3800b
785
cpp
C++
Codeforces/1108A-Two_distinct_points.cpp
Pankajcoder1/Competitive_programming
72ee0d41f3f72f43a5c2a232255eb84a04b14df9
[ "MIT" ]
null
null
null
Codeforces/1108A-Two_distinct_points.cpp
Pankajcoder1/Competitive_programming
72ee0d41f3f72f43a5c2a232255eb84a04b14df9
[ "MIT" ]
null
null
null
Codeforces/1108A-Two_distinct_points.cpp
Pankajcoder1/Competitive_programming
72ee0d41f3f72f43a5c2a232255eb84a04b14df9
[ "MIT" ]
1
2020-10-02T04:51:22.000Z
2020-10-02T04:51:22.000Z
/* written by Pankaj Kumar. country:-INDIA Institute: National Institute of Technology, Uttarakhand */ #include<iostream> #include<vector> #include<cmath> #include<algorithm> #include<string.h> #define pan cin.tie(0);cout.tie(0);ios_base::sync_with_stdio(0); #define mod 1000000007; using namespace std; type...
19.625
64
0.628025
27a1f8f0e9171053961ab73f49b30d853cdbf9d1
25,258
cpp
C++
test/code/myauth/myauth_test.cpp
Bhaskers-Blu-Org2/MySQL-Provider
211f79e98e7f34a13c4fb7c01f3aaaefc0dada63
[ "MIT" ]
5
2016-06-18T14:41:36.000Z
2019-01-10T09:46:20.000Z
test/code/myauth/myauth_test.cpp
microsoft/MySQL-Provider
211f79e98e7f34a13c4fb7c01f3aaaefc0dada63
[ "MIT" ]
5
2016-04-12T23:00:45.000Z
2019-03-28T23:04:57.000Z
test/code/myauth/myauth_test.cpp
microsoft/MySQL-Provider
211f79e98e7f34a13c4fb7c01f3aaaefc0dada63
[ "MIT" ]
6
2019-09-18T00:11:36.000Z
2021-11-10T10:07:03.000Z
/* * --------------------------------- START OF LICENSE ---------------------------- * * MySQL cimprov ver. 1.0 * * Copyright (c) Microsoft Corporation * * All rights reserved. * * MIT License * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated...
45.428058
141
0.598305
27a228655f5fe4c49b886949898cbc561d65c722
2,891
hpp
C++
include/Graphy/Graphables/Styles/LabelStyle.hpp
dominicprice/Graphy
4553adf06e9c63365ed2ef994fa76c460f8673f4
[ "MIT" ]
null
null
null
include/Graphy/Graphables/Styles/LabelStyle.hpp
dominicprice/Graphy
4553adf06e9c63365ed2ef994fa76c460f8673f4
[ "MIT" ]
null
null
null
include/Graphy/Graphables/Styles/LabelStyle.hpp
dominicprice/Graphy
4553adf06e9c63365ed2ef994fa76c460f8673f4
[ "MIT" ]
null
null
null
///////////////////////////////////////////////////////////////////////////////// //MIT License // //Copyright(c) 2017 Dominic Price // //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 ...
36.1375
87
0.583189
27a6b11730fa13345cf43b0a3ed5ce356008fcee
1,848
hpp
C++
ParticleSystem/src/ParticleUpdater.hpp
Azatsu/ParticleSystem
8d8a5f41200c1865089b3b2dff8c41cc63dc3b13
[ "MIT" ]
1
2021-05-05T06:42:19.000Z
2021-05-05T06:42:19.000Z
ParticleSystem/src/ParticleUpdater.hpp
Azatsu/ParticleSystem
8d8a5f41200c1865089b3b2dff8c41cc63dc3b13
[ "MIT" ]
5
2021-05-04T10:05:11.000Z
2021-05-05T08:28:02.000Z
ParticleSystem/src/ParticleUpdater.hpp
Azatsu/ParticleSystem
8d8a5f41200c1865089b3b2dff8c41cc63dc3b13
[ "MIT" ]
null
null
null
#ifndef __PRTCL_UPDT_HPP__ #define __PRTCL_UPDT_HPP__ #include <vector> #include <algorithm> #include "particleGenerator.hpp" class ParticleUpdater { public: ParticleUpdater() { } virtual ~ParticleUpdater() { } virtual void Update(float dt, ParticleData* p) = 0; }; class EulerUpdater : public ParticleUpdater { ...
21.488372
79
0.731061
27a79a997fe218c175ba9a076c86934794aa53d3
96
hh
C++
vm/vm/main/cached/Unit-implem-decl.hh
Ahzed11/mozart2
4806504b103e11be723e7813be8f69e4d85875cf
[ "BSD-2-Clause" ]
379
2015-01-02T20:27:33.000Z
2022-03-26T23:18:17.000Z
vm/vm/main/cached/Unit-implem-decl.hh
Ahzed11/mozart2
4806504b103e11be723e7813be8f69e4d85875cf
[ "BSD-2-Clause" ]
81
2015-01-08T13:18:52.000Z
2021-12-21T14:02:21.000Z
vm/vm/main/cached/Unit-implem-decl.hh
Ahzed11/mozart2
4806504b103e11be723e7813be8f69e4d85875cf
[ "BSD-2-Clause" ]
75
2015-01-06T09:08:20.000Z
2021-12-17T09:40:18.000Z
class Unit; template <> class Storage<Unit> { public: typedef struct mozart::unit_t Type; };
12
37
0.708333
27a7c014c2902b7a8d7ab0d4b44e8fa5b6538169
1,632
cpp
C++
Gym/0719/c.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
2
2021-06-09T12:27:07.000Z
2021-06-11T12:02:03.000Z
Gym/0719/c.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
1
2021-09-08T12:00:05.000Z
2021-09-08T14:52:30.000Z
Gym/0719/c.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; const int MAXN = 405; int val[MAXN][MAXN], dis[MAXN], vis[MAXN]; int T, n, m, k, W, w, s, t, op; struct node { int id, d; bool operator<(const node &rhs) const { return id > rhs.id; } }; vector<pair<int,int>> toerase; bool hd; void dfs(int id, int des) { if(hd) re...
18.133333
58
0.474265
27a836943d08f7a9b12542c16ca7586f2d6c4e34
1,689
cpp
C++
BRAC University Competitive Programming training/Prefix sum/chechinkg range for a particular summation.cpp
Mit382/Mitul-s-Competitive-Programming-March-August
3b0d9b3d018444584020e37b892021f7e9ec984d
[ "MIT" ]
1
2021-04-23T16:53:35.000Z
2021-04-23T16:53:35.000Z
BRAC University Competitive Programming training/Prefix sum/chechinkg range for a particular summation.cpp
Mit382/Mitul-s-Competitive-Programming-March-August
3b0d9b3d018444584020e37b892021f7e9ec984d
[ "MIT" ]
null
null
null
BRAC University Competitive Programming training/Prefix sum/chechinkg range for a particular summation.cpp
Mit382/Mitul-s-Competitive-Programming-March-August
3b0d9b3d018444584020e37b892021f7e9ec984d
[ "MIT" ]
1
2021-03-27T19:56:19.000Z
2021-03-27T19:56:19.000Z
//Question in array 1 , -1, 0,2 there is how many ranges, that can make the summation 2? //Input: //4 2 //1 -1 0 2 //Output: //3 //solve: //index: 0 1 2 3 4 //array 1 -1 0 2 //prefix: 0 1 0 0 2 // check that there is 2 , (0,2 ), (1,-1,0,2) can make summation 2. thus...
31.867925
222
0.606868
27ad1a1f8e279742a161e298429f27e55e93c7b6
1,481
cc
C++
src/Parser/AST/MatchStatementNode.cc
stenbror/PythonCoreNative
9b5b1e55acf7d6adc7d8202e951872b2b9f71167
[ "BSL-1.0" ]
null
null
null
src/Parser/AST/MatchStatementNode.cc
stenbror/PythonCoreNative
9b5b1e55acf7d6adc7d8202e951872b2b9f71167
[ "BSL-1.0" ]
null
null
null
src/Parser/AST/MatchStatementNode.cc
stenbror/PythonCoreNative
9b5b1e55acf7d6adc7d8202e951872b2b9f71167
[ "BSL-1.0" ]
1
2021-05-24T11:18:32.000Z
2021-05-24T11:18:32.000Z
#include <ast/MatchStatementNode.h> using namespace PythonCoreNative::RunTime::Parser::AST; using namespace PythonCoreNative::RunTime::Parser; MatchStatementNode::MatchStatementNode( unsigned int start, unsigned int end, std::shared_ptr<Token> op1, ...
24.278689
95
0.602296
27ad2135e457a7db745ea1d84b8fd2e9f8eb59b5
1,239
cpp
C++
arm9/source/menuDemo.cpp
henke37/hblankmegademo
638d6200c930e305acb6aea341211cff99dc5893
[ "BSD-2-Clause" ]
2
2019-09-01T14:31:51.000Z
2019-09-10T11:00:20.000Z
arm9/source/menuDemo.cpp
henke37/hblankmegademo
638d6200c930e305acb6aea341211cff99dc5893
[ "BSD-2-Clause" ]
8
2017-09-24T20:21:15.000Z
2022-03-04T15:29:05.000Z
arm9/source/menuDemo.cpp
henke37/hblankmegademo
638d6200c930e305acb6aea341211cff99dc5893
[ "BSD-2-Clause" ]
2
2019-02-04T02:59:42.000Z
2019-02-05T06:16:07.000Z
#include "menuDemo.h" #include "sinScrollDemo.h" #include "peepHoleWindowDemo.h" #include "spotlightDemo.h" #include "demoRunner.h" #include "scanInDemo.h" #include "rasterbarDemo.h" #include "flutterDemo.h" #include <nds/arm9/console.h> #include <cassert> #include <nds/arm9/input.h> MenuDemo::MenuDemo() : selection(...
21
56
0.696529
27b1c2cd6ce82237c2f7d858ce0e4ac2557e9295
487
hpp
C++
src/util.hpp
Cynnexis/dna-not-ascii
9df62c48f530297a12c9c0328a8d3e115c5c18cf
[ "MIT" ]
null
null
null
src/util.hpp
Cynnexis/dna-not-ascii
9df62c48f530297a12c9c0328a8d3e115c5c18cf
[ "MIT" ]
1
2021-03-03T08:51:30.000Z
2021-03-03T08:51:30.000Z
src/util.hpp
Cynnexis/dna-not-ascii
9df62c48f530297a12c9c0328a8d3e115c5c18cf
[ "MIT" ]
null
null
null
#pragma once #include <iostream> #include <functional> #include <cstdlib> #include <string> #include <sstream> #include <cassert> using std::cout, std::cerr, std::cin, std::endl, std::string; /** * @brief Get the current epoch in milliseconds. * @details Source code inspired from https://stackoverflow.com/a/173719...
23.190476
82
0.722793
27b7166908d70e2f3a7588a7d6f426a25888dffc
1,287
cpp
C++
VeronixApp.cpp
LNAV/Sudoku_Solver_Cpp
431a5d0e370d3d5f7da33674601f3a57efd7032a
[ "Apache-2.0" ]
1
2020-05-17T11:46:46.000Z
2020-05-17T11:46:46.000Z
VeronixApp.cpp
LNAV/VeronixApp-Sudoku_Solver
431a5d0e370d3d5f7da33674601f3a57efd7032a
[ "Apache-2.0" ]
null
null
null
VeronixApp.cpp
LNAV/VeronixApp-Sudoku_Solver
431a5d0e370d3d5f7da33674601f3a57efd7032a
[ "Apache-2.0" ]
null
null
null
/* * VeronixApp.cpp * * Created on: May 18, 2019 * Author: LavishK1 */ #include <SudokuConsoleViewController.h> #include "VeronixApp.h" #include "AppDefines.h" #include "APP/GridSolver.h" #include "APP/Helper/InputHelper.h" namespace Veronix { namespace App { VeronixApp::VeronixApp() { DEF_COUT( "Veronix...
18.652174
107
0.694639
27ba6a4992b0b98dd27c85182d91b4b2eb479c1f
1,729
cc
C++
components/shared_highlighting/core/common/disabled_sites.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
components/shared_highlighting/core/common/disabled_sites.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
components/shared_highlighting/core/common/disabled_sites.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/shared_highlighting/core/common/disabled_sites.h" #include "base/feature_list.h" #include "components/shared_highlighting/core/commo...
32.622642
84
0.614806
27bf7731c49ad3e4ee83bc3d6c5443f9e1de0774
1,980
hpp
C++
include/Animation.hpp
prfcto2/noName
e179d49282755039f2acb267931ef445aff5000b
[ "MIT" ]
3
2019-08-05T13:33:01.000Z
2022-02-14T12:55:18.000Z
include/Animation.hpp
prfcto2/noName
e179d49282755039f2acb267931ef445aff5000b
[ "MIT" ]
null
null
null
include/Animation.hpp
prfcto2/noName
e179d49282755039f2acb267931ef445aff5000b
[ "MIT" ]
null
null
null
# define ANIMATION_HPP # ifndef HELPERS_HPP # include <Helpers.hpp> # endif # include <vector> //Animation has the animation's frames, it's duration and it's loop conditional. // if the animation is looping, it means that the animation is going to repite itself // in the pass of time but, if it is not looping, it is...
33
93
0.697475
27c63cfb63003f012076586134080800fb72ffc3
46
cpp
C++
libs/vis_utils/summedareatable.cpp
danniesim/cpp_volume_rendering
242c8917aea0a58c9851c2ae3e6c1555db51912e
[ "MIT" ]
10
2020-05-15T23:50:19.000Z
2022-02-17T09:54:44.000Z
libs/vis_utils/summedareatable.cpp
danniesim/cpp_volume_rendering
242c8917aea0a58c9851c2ae3e6c1555db51912e
[ "MIT" ]
1
2022-01-25T02:36:59.000Z
2022-01-26T11:41:38.000Z
libs/vis_utils/summedareatable.cpp
danniesim/cpp_volume_rendering
242c8917aea0a58c9851c2ae3e6c1555db51912e
[ "MIT" ]
3
2021-11-01T10:32:46.000Z
2021-12-28T16:40:10.000Z
#include "summedareatable.h" namespace vis {}
11.5
28
0.76087
27cbf90cb2a6126f4154915a781b815cccc234b3
4,422
cpp
C++
TestApps/bnn/bin_dense_tb.cpp
HansGiesen/hls_tuner
9c8d03737d1115f4e5cfa03cabc2334ea8b3ca19
[ "MIT" ]
1
2021-02-21T12:13:09.000Z
2021-02-21T12:13:09.000Z
TestApps/bnn/bin_dense_tb.cpp
HansGiesen/hls_tuner
9c8d03737d1115f4e5cfa03cabc2334ea8b3ca19
[ "MIT" ]
null
null
null
TestApps/bnn/bin_dense_tb.cpp
HansGiesen/hls_tuner
9c8d03737d1115f4e5cfa03cabc2334ea8b3ca19
[ "MIT" ]
1
2019-09-10T16:45:27.000Z
2019-09-10T16:45:27.000Z
#include <random> #include <ap_int.h> const unsigned WORD_SIZE = 64; const unsigned CONVOLVERS = 2; const unsigned CONV_W_PER_WORD = 7; const unsigned WT_L = 16*4*512*64; // parameter to control wt mem size const unsigned C_WT_WORDS = ((WT_L+CONV_W_PER_WORD-1)/CONV_W_PER_WORD + CONVOLVERS-1) / CONVOLVERS; /...
31.585714
128
0.644731
27cc89b508504ad3d2e1b8f11c79735721451191
1,441
cpp
C++
src/image/todo/bezier.cpp
TurkMvc/lol
c3fb98c6f371e4648891b59b4adc6cb95ae73451
[ "WTFPL" ]
4
2015-02-14T21:14:25.000Z
2021-12-12T15:45:44.000Z
src/image/todo/bezier.cpp
TurkMvc/lol
c3fb98c6f371e4648891b59b4adc6cb95ae73451
[ "WTFPL" ]
3
2015-02-14T20:56:26.000Z
2015-02-16T08:50:54.000Z
src/image/todo/bezier.cpp
TurkMvc/lol
c3fb98c6f371e4648891b59b4adc6cb95ae73451
[ "WTFPL" ]
1
2021-10-06T16:01:03.000Z
2021-10-06T16:01:03.000Z
/* * Lol Engine * * Copyright © 2004—2008 Sam Hocevar <sam@hocevar.net> * © 2008 Jean-Yves Lamoureux <jylam@lnxscene.org> * * This library is free software. It comes without any warranty, to * the extent permitted by applicable law. You can redistribute it * and/or modify it under the terms of t...
25.280702
72
0.517696
27d0429e58d7d8f5e96edd66b15c88fb56dc89ac
21,788
cc
C++
wrappers/7.0.0/vtkPointSetToLabelHierarchyWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
6
2016-02-03T12:48:36.000Z
2020-09-16T15:07:51.000Z
wrappers/7.0.0/vtkPointSetToLabelHierarchyWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
4
2016-02-13T01:30:43.000Z
2020-03-30T16:59:32.000Z
wrappers/7.0.0/vtkPointSetToLabelHierarchyWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
null
null
null
/* this file has been autogenerated by vtkNodeJsWrap */ /* editing this might proof futile */ #define VTK_WRAPPING_CXX #define VTK_STREAMS_FWD_ONLY #include <nan.h> #include "vtkLabelHierarchyAlgorithmWrap.h" #include "vtkPointSetToLabelHierarchyWrap.h" #include "vtkObjectWrap.h" #include "vtkTextPropertyWrap.h" #inc...
35.085346
118
0.760694
27d217eea9aaf0535e7c9085b31acbb18bae6d1e
499
cpp
C++
test/stream_buf.cpp
mass/m
acb5f266acf902ec60d194cbbaf7375da8927d4f
[ "MIT" ]
null
null
null
test/stream_buf.cpp
mass/m
acb5f266acf902ec60d194cbbaf7375da8927d4f
[ "MIT" ]
null
null
null
test/stream_buf.cpp
mass/m
acb5f266acf902ec60d194cbbaf7375da8927d4f
[ "MIT" ]
null
null
null
#include "m/stream_buf.hpp" //TODO: Probably use a real testing framework //TODO: Add actual tests int main(int argc, char** argv) { UNUSED(argc); UNUSED(argv); m::stream_buf<char> buf; buf.write("Hello, world"); if (buf.get_read_left() != 12) return EXIT_FAILURE; buf.erase_read(buf.get_read() + 2,...
18.481481
45
0.663327
27d2471f54f504a268038549362c62d3e2f861f2
1,954
cpp
C++
cpp/sololearn/s31_operator_overloading.cpp
bayramcicek/py-repo
e99d8881dd3eb5296ec5dcfba4de2c3418044897
[ "Unlicense" ]
null
null
null
cpp/sololearn/s31_operator_overloading.cpp
bayramcicek/py-repo
e99d8881dd3eb5296ec5dcfba4de2c3418044897
[ "Unlicense" ]
null
null
null
cpp/sololearn/s31_operator_overloading.cpp
bayramcicek/py-repo
e99d8881dd3eb5296ec5dcfba4de2c3418044897
[ "Unlicense" ]
null
null
null
// C11 standard // created by cicek on Feb 05, 2021 8:29 PM #include <iostream> #include <string> using namespace std; // Our class has two constructors and one member variable. class MyClass { public: int var; MyClass() {} MyClass(int a) : var(a) {} /* * Overloaded operators are ...
29.164179
116
0.66172
27d526834319a6235abb936f009d3d0696ae33c9
34
cpp
C++
src/MinoGame/ApplicationBuilder.cpp
Nicowcow/Minotaur
74689a1a76b0577138009acc5f8cd37db7bd7630
[ "MIT" ]
5
2017-07-09T08:24:24.000Z
2021-01-11T21:32:39.000Z
src/MinoGame/ApplicationBuilder.cpp
Nicowcow/Minotaur
74689a1a76b0577138009acc5f8cd37db7bd7630
[ "MIT" ]
1
2018-03-06T18:55:13.000Z
2018-12-21T14:20:23.000Z
src/MinoGame/ApplicationBuilder.cpp
Nicowcow/Minotaur
74689a1a76b0577138009acc5f8cd37db7bd7630
[ "MIT" ]
1
2019-01-24T09:32:04.000Z
2019-01-24T09:32:04.000Z
namespace MinoGame { }
2.428571
20
0.5
27d656ebf42a31c2e9669cadc2b6e55b39061a23
645
cpp
C++
src/format.cpp
madhumaheswar/linux-system-monitor
ab5f252bdf32dca22a6a345f5a693ba8fb1a33b6
[ "MIT" ]
1
2020-08-07T04:56:40.000Z
2020-08-07T04:56:40.000Z
src/format.cpp
madhumaheswar/linux-system-monitor
ab5f252bdf32dca22a6a345f5a693ba8fb1a33b6
[ "MIT" ]
null
null
null
src/format.cpp
madhumaheswar/linux-system-monitor
ab5f252bdf32dca22a6a345f5a693ba8fb1a33b6
[ "MIT" ]
null
null
null
#include <iomanip> #include <sstream> #include <string> #include "format.h" // INPUT: Long int measuring seconds // OUTPUT: HHHH:MM:SS std::string Format::ElapsedTime(long seconds) { int HH; int MM; int SS; MM = seconds / 60; SS = seconds % 60; HH = MM / 60; MM = MM % 60; // To format to HHHH:MM:SS...
23.035714
74
0.564341
27d975962cf6301c44ffaf27390159f286a0a5b9
2,891
hpp
C++
libs/Aether/include/Aether/primary/Text.hpp
tkgstrator/SeedHack
227566d993bdea7a2851a8fc664b539186509697
[ "MIT" ]
1
2021-02-04T07:27:46.000Z
2021-02-04T07:27:46.000Z
libs/Aether/include/Aether/primary/Text.hpp
tkgstrator/SeedHack
227566d993bdea7a2851a8fc664b539186509697
[ "MIT" ]
null
null
null
libs/Aether/include/Aether/primary/Text.hpp
tkgstrator/SeedHack
227566d993bdea7a2851a8fc664b539186509697
[ "MIT" ]
null
null
null
#ifndef AETHER_TEXT_HPP #define AETHER_TEXT_HPP #include "Aether/base/BaseText.hpp" namespace Aether { /** * @brief Text extends BaseText by implementing scrolling when the text overflows. * * It's for single-line text. */ class Text : public BaseText { private: /** @br...
29.20202
133
0.471117
27d9b546990c5c710f165f13626d9aab24f02301
1,020
cpp
C++
CTN_05_Hardware_3D_DirectX/src/PixelShader.cpp
TheUnicum/CTN_05_Hardware_3D_DirectX
39940fb0466ff5b419d7f7c4cf55ee1f90784baa
[ "Apache-2.0" ]
null
null
null
CTN_05_Hardware_3D_DirectX/src/PixelShader.cpp
TheUnicum/CTN_05_Hardware_3D_DirectX
39940fb0466ff5b419d7f7c4cf55ee1f90784baa
[ "Apache-2.0" ]
null
null
null
CTN_05_Hardware_3D_DirectX/src/PixelShader.cpp
TheUnicum/CTN_05_Hardware_3D_DirectX
39940fb0466ff5b419d7f7c4cf55ee1f90784baa
[ "Apache-2.0" ]
null
null
null
#include "PixelShader.h" #include "GraphicsThrowMacros.h" #include "BindableCodex.h" #include "ChiliUtil.h" namespace Bind { PixelShader::PixelShader(Graphics& gfx, const std::string& path) : path(path) { INFOMAN(gfx); Microsoft::WRL::ComPtr<ID3DBlob> pBlob; GFX_THROW_INFO(D3DReadFileToBlob(ToWide(path).c...
26.842105
127
0.731373
27dc65478aacdac1d26b33fa008c55c454198a04
5,526
cpp
C++
src/binaryServer/CachedConverterCallback.cpp
peramic/OPC-UA.Server
ebfafb0f9a1943fc1f2d44f20a0497a59e5bfd97
[ "Apache-2.0" ]
null
null
null
src/binaryServer/CachedConverterCallback.cpp
peramic/OPC-UA.Server
ebfafb0f9a1943fc1f2d44f20a0497a59e5bfd97
[ "Apache-2.0" ]
null
null
null
src/binaryServer/CachedConverterCallback.cpp
peramic/OPC-UA.Server
ebfafb0f9a1943fc1f2d44f20a0497a59e5bfd97
[ "Apache-2.0" ]
null
null
null
#include "CachedConverterCallback.h" #include <common/Exception.h> #include <common/Mutex.h> #include <common/MutexLock.h> #include <common/ScopeGuard.h> #include <common/logging/Logger.h> #include <common/logging/LoggerFactory.h> #include <sasModelProvider/base/ConversionException.h> #include <uadatetime.h> #include <...
38.643357
99
0.570575
27e252a5da99b05ecfa26445abd8b1f44f37d85a
722
cpp
C++
code/415.addStrings.cpp
T1mzhou/LeetCode
574540d30f5696e55799831dc3c8d8b7246b74f1
[ "MIT" ]
1
2020-10-04T13:39:34.000Z
2020-10-04T13:39:34.000Z
code/415.addStrings.cpp
T1mzhou/LeetCode
574540d30f5696e55799831dc3c8d8b7246b74f1
[ "MIT" ]
null
null
null
code/415.addStrings.cpp
T1mzhou/LeetCode
574540d30f5696e55799831dc3c8d8b7246b74f1
[ "MIT" ]
null
null
null
class Solution { public: vector<int> add(vector<int>& A, vector<int>& B) { vector<int> C; for (int i = 0, t = 0; i < A.size() || i < B.size() || t; i++) { if (i < A.size()) t += A[i]; if (i < B.size()) t += B[i]; C.push_back(t % 10); t /= 10; ...
31.391304
78
0.414127
27e699cf3d090e1f05b7311a45fa803498de7c0d
15,892
cpp
C++
Base/PLGui/src/Widgets/Controls/Label.cpp
naetherm/PixelLight
d7666f5b49020334cbb5debbee11030f34cced56
[ "MIT" ]
1
2019-11-09T16:54:04.000Z
2019-11-09T16:54:04.000Z
Base/PLGui/src/Widgets/Controls/Label.cpp
naetherm/pixelligh
d7666f5b49020334cbb5debbee11030f34cced56
[ "MIT" ]
27
2019-06-18T06:46:07.000Z
2020-02-02T11:11:28.000Z
Base/PLGui/src/Widgets/Controls/Label.cpp
naetherm/PixelLight
d7666f5b49020334cbb5debbee11030f34cced56
[ "MIT" ]
null
null
null
/*********************************************************\ * File: Label.cpp * * * Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/) * * This file is part of PixelLight. * * Permission is hereby granted, free of charge, to any person obtaining a co...
26.267769
140
0.586333
27ef3911b12e41cec13c81fd65eda459051308ba
6,818
cpp
C++
src/autoxtime/db/DbListener.cpp
nmaludy/autoxtime
c4c2603a6990ef3cfddaa1bfab14e48bc81ec2a3
[ "Apache-2.0" ]
null
null
null
src/autoxtime/db/DbListener.cpp
nmaludy/autoxtime
c4c2603a6990ef3cfddaa1bfab14e48bc81ec2a3
[ "Apache-2.0" ]
4
2021-02-23T20:56:42.000Z
2021-04-03T01:56:08.000Z
src/autoxtime/db/DbListener.cpp
nmaludy/autoxtime
c4c2603a6990ef3cfddaa1bfab14e48bc81ec2a3
[ "Apache-2.0" ]
null
null
null
#include <autoxtime/db/DbListener.h> #include <autoxtime/db/DbConnection.h> #include <autoxtime/log/Log.h> #include <google/protobuf/util/json_util.h> #include <QSemaphore> #include <iostream> AUTOXTIME_DB_NAMESPACE_BEG DbEmitter::DbEmitter(const google::protobuf::Message& prototype) : QObject(), mpProto...
35.326425
128
0.652977
27f2e20ee83b2678a10d6728ab2b4ca3b15b0503
580
cpp
C++
ports/esp32/src/hSystem.cpp
ygjukim/hFramework
994ea7550c34b4943e2fa2d5e9ca447aa555f39e
[ "MIT" ]
33
2017-07-03T22:49:30.000Z
2022-03-31T19:32:55.000Z
ports/esp32/src/hSystem.cpp
ygjukim/hFramework
994ea7550c34b4943e2fa2d5e9ca447aa555f39e
[ "MIT" ]
6
2017-07-13T13:23:22.000Z
2019-10-25T17:51:28.000Z
ports/esp32/src/hSystem.cpp
ygjukim/hFramework
994ea7550c34b4943e2fa2d5e9ca447aa555f39e
[ "MIT" ]
17
2017-07-01T05:35:47.000Z
2022-03-22T23:33:00.000Z
/** * Copyright (c) 2013-2017 Husarion Sp. z o.o. * Distributed under the MIT license. * For full terms see the file LICENSE.md. */ #include "hSystem.h" #include <cstring> extern "C" { #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "esp_system.h" }; namespace hFramework { uint32_t hSystem::g...
15.675676
46
0.663793
27f85a367dbf23a4e12bc9099bddd1f19dd96cbe
5,936
hpp
C++
sol/function_types_member.hpp
SuperV1234/sol2
76b73bdfab4475933c42e715fd98737a4699794a
[ "MIT" ]
null
null
null
sol/function_types_member.hpp
SuperV1234/sol2
76b73bdfab4475933c42e715fd98737a4699794a
[ "MIT" ]
null
null
null
sol/function_types_member.hpp
SuperV1234/sol2
76b73bdfab4475933c42e715fd98737a4699794a
[ "MIT" ]
1
2021-05-02T15:57:13.000Z
2021-05-02T15:57:13.000Z
// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors // 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...
38.051282
119
0.673349
27f90f4cda72a862e2d5853d1e85cef25c5ee71a
552
hpp
C++
P4/usuario_pedido.hpp
moooises/Practica-Global-de-Programacion-Orientada-a-Objetos
534f909c6cd731482baaf9682feb6d07d9d35fa6
[ "MIT" ]
null
null
null
P4/usuario_pedido.hpp
moooises/Practica-Global-de-Programacion-Orientada-a-Objetos
534f909c6cd731482baaf9682feb6d07d9d35fa6
[ "MIT" ]
null
null
null
P4/usuario_pedido.hpp
moooises/Practica-Global-de-Programacion-Orientada-a-Objetos
534f909c6cd731482baaf9682feb6d07d9d35fa6
[ "MIT" ]
null
null
null
#ifndef USUARIO_PEDIDO_HPP_ #define USUARIO_PEDIDO_HPP_ #include "usuario.hpp" #include "pedido.hpp" #include<set> #include<map> class Usuario; class Pedido; class Usuario_Pedido{ public: typedef set<Pedido*> Pedidos; void asocia(Usuario& user, Pedido& p); void asocia(Pedido& p,Usuario& us...
21.230769
58
0.681159
27fb12c20936fbd399932af3586df1acb164d0df
29,028
inl
C++
include/sre/impl/ShaderSource.inl
KasperHdL/SimpleRenderEngine
2d7edeead1d14e00c3d41a29cf9880e216d366e0
[ "MIT" ]
null
null
null
include/sre/impl/ShaderSource.inl
KasperHdL/SimpleRenderEngine
2d7edeead1d14e00c3d41a29cf9880e216d366e0
[ "MIT" ]
null
null
null
include/sre/impl/ShaderSource.inl
KasperHdL/SimpleRenderEngine
2d7edeead1d14e00c3d41a29cf9880e216d366e0
[ "MIT" ]
null
null
null
// autogenerated by // files_to_cpp shader src/embedded_deps/skybox_frag.glsl skybox_frag.glsl src/embedded_deps/skybox_vert.glsl skybox_vert.glsl src/embedded_deps/sre_utils_incl.glsl sre_utils_incl.glsl src/embedded_deps/debug_normal_frag.glsl debug_normal_frag.glsl src/embedded_deps/debug_normal_vert.glsl debug_norm...
30.427673
1,608
0.701805
27fb453dc6c7a40951d513a131c0e349d4c57920
1,040
hpp
C++
Pi/server.hpp
FundCompXbee/XBeeMessenger
f3210077cb82e1597980b33bc6e2f8f9cf7bc042
[ "MIT" ]
1
2016-04-29T22:30:58.000Z
2016-04-29T22:30:58.000Z
Pi/server.hpp
FundCompXbee/XBeeMessenger
f3210077cb82e1597980b33bc6e2f8f9cf7bc042
[ "MIT" ]
null
null
null
Pi/server.hpp
FundCompXbee/XBeeMessenger
f3210077cb82e1597980b33bc6e2f8f9cf7bc042
[ "MIT" ]
null
null
null
// Team: XBeeMessenger // Course: Fundamentals of Computing II // Assignment: Final Project // Purpose: Interface for a server which receives requests, handles // requests, and broadcasts responses #ifndef SERVER #define SERVER #include <string> #include <unistd.h> #include <cstdlib> #include "IRCCommandHand...
28.888889
79
0.735577
7e0119a4fd94dd780940a2fc66941202f79fc7b6
2,088
cpp
C++
libs/libvtrutil/src/vtr_list.cpp
rding2454/IndeStudy
c27be794bc2ce5ada93b16c92569a4bcafc8a21c
[ "MIT" ]
null
null
null
libs/libvtrutil/src/vtr_list.cpp
rding2454/IndeStudy
c27be794bc2ce5ada93b16c92569a4bcafc8a21c
[ "MIT" ]
null
null
null
libs/libvtrutil/src/vtr_list.cpp
rding2454/IndeStudy
c27be794bc2ce5ada93b16c92569a4bcafc8a21c
[ "MIT" ]
null
null
null
#include <cstdlib> #include "vtr_list.h" #include "vtr_memory.h" namespace vtr { t_linked_vptr *insert_in_vptr_list(t_linked_vptr *head, void *vptr_to_add) { /* Inserts a new element at the head of a linked list of void pointers. * * Returns the new head of the list. */ t_lin...
27.84
80
0.688218
7e02f72ff574211551d229e1e0fc74712916682b
4,370
hxx
C++
opencascade/HLRBRep_EdgeData.hxx
valgur/OCP
2f7d9da73a08e4ffe80883614aedacb27351134f
[ "Apache-2.0" ]
117
2020-03-07T12:07:05.000Z
2022-03-27T07:35:22.000Z
opencascade/HLRBRep_EdgeData.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
66
2019-12-20T16:07:36.000Z
2022-03-15T21:56:10.000Z
opencascade/HLRBRep_EdgeData.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
76
2020-03-16T01:47:46.000Z
2022-03-21T16:37:07.000Z
// Created on: 1997-04-17 // Created by: Christophe MARION // Copyright (c) 1997-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the ...
24.829545
399
0.731579
7e03a73e36dc22f3de69ca364f53f10da5f6634b
769
cpp
C++
dbms/src/Parsers/ASTTTLElement.cpp
sunadm/ClickHouse
55903fbe23ef6dff8fc7ec25ae68e04919bc9b7f
[ "Apache-2.0" ]
7
2021-02-26T04:34:22.000Z
2021-12-31T08:15:47.000Z
dbms/src/Parsers/ASTTTLElement.cpp
sunadm/ClickHouse
55903fbe23ef6dff8fc7ec25ae68e04919bc9b7f
[ "Apache-2.0" ]
1
2019-10-13T16:06:13.000Z
2019-10-13T16:06:13.000Z
dbms/src/Parsers/ASTTTLElement.cpp
sunadm/ClickHouse
55903fbe23ef6dff8fc7ec25ae68e04919bc9b7f
[ "Apache-2.0" ]
3
2020-02-24T12:57:54.000Z
2021-10-04T13:29:00.000Z
#include <Columns/Collator.h> #include <Common/quoteString.h> #include <Parsers/ASTTTLElement.h> namespace DB { void ASTTTLElement::formatImpl(const FormatSettings & settings, FormatState & state, FormatStateStacked frame) const { children.front()->formatImpl(settings, state, frame); if (destination_type ==...
27.464286
116
0.694408
7e042ee4252496e14df8e3c73c6b1adecbcd3299
1,248
cc
C++
StatModules/src/ToyMCLikelihoodEvaluator.cc
GooStats/GooStats
5a8bc35736eb390d658c790fa0026b576898a462
[ "MIT" ]
3
2020-01-28T21:51:46.000Z
2021-09-06T18:43:00.000Z
StatModules/src/ToyMCLikelihoodEvaluator.cc
GooStats/GooStats
5a8bc35736eb390d658c790fa0026b576898a462
[ "MIT" ]
12
2019-08-09T08:58:49.000Z
2022-03-16T04:00:11.000Z
StatModules/src/ToyMCLikelihoodEvaluator.cc
GooStats/GooStats
5a8bc35736eb390d658c790fa0026b576898a462
[ "MIT" ]
3
2018-04-12T11:53:55.000Z
2022-03-17T13:06:06.000Z
/*****************************************************************************/ // Author: Xuefeng Ding <xuefeng.ding.physics@gmail.com> // Insitute: Gran Sasso Science Institute, L'Aquila, 67100, Italy // Date: 2018 April 7th // Version: v1.0 // Description: GooStats, a statistical analysis toolkit that runs on GPU. /...
36.705882
143
0.614583
7e06656f021627fc251d7c71b350492b3a325178
7,917
cpp
C++
test/stkdatatest/ManyRecords.cpp
Aekras1a/YaizuComLib
470d33376add0d448002221b75f7efd40eec506f
[ "MIT" ]
1
2022-01-30T20:17:16.000Z
2022-01-30T20:17:16.000Z
test/stkdatatest/ManyRecords.cpp
Aekras1a/YaizuComLib
470d33376add0d448002221b75f7efd40eec506f
[ "MIT" ]
null
null
null
test/stkdatatest/ManyRecords.cpp
Aekras1a/YaizuComLib
470d33376add0d448002221b75f7efd40eec506f
[ "MIT" ]
null
null
null
#include "../../src/stkpl/StkPl.h" #include "../../src/stkdata/stkdata.h" #include "../../src/stkdata/stkdataapi.h" /* ManyRecords ・WStr(256)×32カラム×16383レコードのテーブルを作成することができる。InsertRecordを16383回繰り返しレコードを追加できる ・既存の[焼津沼津辰口町和泉町中田北白楽]テーブルから10レコードを削除できる。条件として連結されたレコードを指定する ・存在しないカラム名を指定してZaSortRecordを実行したとき,-1が返却される。 */ in...
31.795181
143
0.662372
7e0671a6332d41f1426f827a417780c062d6f38d
35,068
cpp
C++
earth_enterprise/src/fusion/gst/gstGeometryChecker_unittest.cpp
ezeeyahoo/earthenterprise
b6cac9e6228946f2f17d1edb75e118aeb3e8e8c9
[ "Apache-2.0" ]
2,661
2017-03-20T22:12:50.000Z
2022-03-30T09:43:19.000Z
earth_enterprise/src/fusion/gst/gstGeometryChecker_unittest.cpp
ezeeyahoo/earthenterprise
b6cac9e6228946f2f17d1edb75e118aeb3e8e8c9
[ "Apache-2.0" ]
1,531
2017-03-24T17:20:32.000Z
2022-03-16T18:11:14.000Z
earth_enterprise/src/fusion/gst/gstGeometryChecker_unittest.cpp
ezeeyahoo/earthenterprise
b6cac9e6228946f2f17d1edb75e118aeb3e8e8c9
[ "Apache-2.0" ]
990
2017-03-24T11:54:28.000Z
2022-03-22T11:51:47.000Z
// Copyright 2017 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...
35.820225
77
0.678767
7e0765782b6bd26a518cb85d5d7cc059157aefbb
1,148
hpp
C++
_engine/code/include/global/component/profiler.hpp
Shelim/pixie_engine
bf1d80f3f03bd3d6890f4dfc63440f7dd0ff34a1
[ "MIT" ]
null
null
null
_engine/code/include/global/component/profiler.hpp
Shelim/pixie_engine
bf1d80f3f03bd3d6890f4dfc63440f7dd0ff34a1
[ "MIT" ]
null
null
null
_engine/code/include/global/component/profiler.hpp
Shelim/pixie_engine
bf1d80f3f03bd3d6890f4dfc63440f7dd0ff34a1
[ "MIT" ]
null
null
null
#ifndef ENGINE_GLOBAL_COMPONENT_PROFILER_HPP #define ENGINE_GLOBAL_COMPONENT_PROFILER_HPP #pragma once #include "utility/text/ustring.hpp" namespace engine { class profiler_t { public: virtual ~profiler_t() { } virtual void prof_begin_section(const char * name) ...
17.661538
117
0.577526
7e086850a54e4560c0bc1ff6f6ab4de9098222e9
2,803
hxx
C++
src/control/genai/c_frontal.hxx
AltSysrq/Abendstern
106e1ad2457f7bfd90080eecf49a33f6079f8e1e
[ "BSD-3-Clause" ]
null
null
null
src/control/genai/c_frontal.hxx
AltSysrq/Abendstern
106e1ad2457f7bfd90080eecf49a33f6079f8e1e
[ "BSD-3-Clause" ]
null
null
null
src/control/genai/c_frontal.hxx
AltSysrq/Abendstern
106e1ad2457f7bfd90080eecf49a33f6079f8e1e
[ "BSD-3-Clause" ]
1
2022-01-29T11:54:41.000Z
2022-01-29T11:54:41.000Z
/** * @file * @author Jason Lingle * @brief Contains the FrontalCortex */ /* * c_frontal.hxx * * Created on: 02.11.2011 * Author: jason */ #ifndef C_FRONTAL_HXX_ #define C_FRONTAL_HXX_ #include "src/sim/objdl.hxx" #include "cortex.hxx" #include "ci_nil.hxx" #include "ci_self.hxx" #include "ci_objectiv...
24.80531
90
0.674278
7e0960ec09e3cb190439b783fe4f7141de760acb
2,479
cpp
C++
Infinit/src/Platform/OpenGL/OpenGLFrameBuffer.cpp
J4m3s00/Infinit
dd877100f8529e4a97c13f0d179b356800ef2eb9
[ "Apache-2.0" ]
null
null
null
Infinit/src/Platform/OpenGL/OpenGLFrameBuffer.cpp
J4m3s00/Infinit
dd877100f8529e4a97c13f0d179b356800ef2eb9
[ "Apache-2.0" ]
6
2019-07-03T14:21:06.000Z
2019-12-22T12:37:56.000Z
Infinit/src/Platform/OpenGL/OpenGLFrameBuffer.cpp
J4m3s00/Infinit
dd877100f8529e4a97c13f0d179b356800ef2eb9
[ "Apache-2.0" ]
null
null
null
#include "inpch.h" namespace Infinit { OpenGLFrameBuffer::OpenGLFrameBuffer(uint width, uint height, FramebufferFormat format) : m_Format(format), m_Width(0), m_Height(0), m_RendererID(0) { Resize(width, height); } OpenGLFrameBuffer::~OpenGLFrameBuffer() { } void OpenGLFrameBuffer::Resize(uint width, ui...
28.170455
135
0.736587
7e182c2caf9e70471094294efe271e0b5c274604
10,961
cc
C++
chrome/browser/extensions/api/bluetooth/bluetooth_api.cc
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "BSD-3-Clause" ]
1
2019-04-23T15:57:04.000Z
2019-04-23T15:57:04.000Z
chrome/browser/extensions/api/bluetooth/bluetooth_api.cc
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "BSD-3-Clause" ]
null
null
null
chrome/browser/extensions/api/bluetooth/bluetooth_api.cc
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "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 "chrome/browser/extensions/api/bluetooth/bluetooth_api.h" #include "base/utf_string_conversions.h" #include "chrome/browser/extensions/exten...
28.47013
80
0.716632
7e1a088a7797a422fe47eb3c8731608f189a1c84
3,975
cpp
C++
Firmware/Src/io/lcd/LcdDriver.cpp
borgu/midi-grid
ce65669f55d5d5598a8ff185debcec76ab001bfa
[ "BSD-3-Clause" ]
null
null
null
Firmware/Src/io/lcd/LcdDriver.cpp
borgu/midi-grid
ce65669f55d5d5598a8ff185debcec76ab001bfa
[ "BSD-3-Clause" ]
null
null
null
Firmware/Src/io/lcd/LcdDriver.cpp
borgu/midi-grid
ce65669f55d5d5598a8ff185debcec76ab001bfa
[ "BSD-3-Clause" ]
null
null
null
#include "io/lcd/LcdDriver.hpp" #include "system/gpio_definitions.h" #include "stm32f4xx_hal.h" namespace lcd { static DMA_HandleTypeDef lcdSpiDma; static SPI_HandleTypeDef lcdSpi; extern "C" void DMA1_Stream4_IRQHandler() { HAL_DMA_IRQHandler(&lcdSpiDma); } LcdDriver::LcdDriver() { } LcdDriver::~LcdDriver() ...
27.797203
88
0.720755
7e1ae4aa4ceb168d6d7f5a29b2f60d26b7096f1f
9,157
cpp
C++
Source/dvlnet/tcp_server.cpp
pionere/devilutionX
63f8deb298a00b040010fc299c0568eae19522e1
[ "Unlicense" ]
2
2021-02-02T19:27:20.000Z
2022-03-07T16:50:55.000Z
Source/dvlnet/tcp_server.cpp
pionere/devilutionX
63f8deb298a00b040010fc299c0568eae19522e1
[ "Unlicense" ]
null
null
null
Source/dvlnet/tcp_server.cpp
pionere/devilutionX
63f8deb298a00b040010fc299c0568eae19522e1
[ "Unlicense" ]
1
2022-03-07T16:51:16.000Z
2022-03-07T16:51:16.000Z
#include "tcp_server.h" #ifdef TCPIP #include <chrono> #include <memory> #include "base.h" DEVILUTION_BEGIN_NAMESPACE namespace net { tcp_server::tcp_server(asio::io_context &ioc, buffer_t info, unsigned srvType) : ioc(ioc) , acceptor(ioc) , connTimer(ioc) , game_init_info(info) , serverType(s...
24.748649
96
0.642569
7e1b2f410e7f84f5311dea12c79674b57900bc0a
758
cpp
C++
cpp/BalancedBinaryTree.cpp
thinksource/code_interview
08be992240508b73894eaf6b8c025168fd19df19
[ "Apache-2.0" ]
12
2015-03-12T03:27:26.000Z
2021-03-11T09:26:16.000Z
cpp/BalancedBinaryTree.cpp
thinksource/code_interview
08be992240508b73894eaf6b8c025168fd19df19
[ "Apache-2.0" ]
null
null
null
cpp/BalancedBinaryTree.cpp
thinksource/code_interview
08be992240508b73894eaf6b8c025168fd19df19
[ "Apache-2.0" ]
11
2015-01-28T16:45:40.000Z
2017-03-28T20:01:38.000Z
/** * Definition for binary tree * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: bool isBalanced(TreeNode *root) { int h = 0; return isBalanced(root, h); } ...
25.266667
69
0.555409
7e1be89d5ebd582653ffef7f21993d81a14d0ab8
5,033
cpp
C++
gui/statuses/LocalStatuses.cpp
mail-ru-im/im-desktop
d6bb606650ad84b31046fe39b81db1fec4e6050b
[ "Apache-2.0" ]
81
2019-09-18T13:53:17.000Z
2022-03-19T00:44:20.000Z
gui/statuses/LocalStatuses.cpp
mail-ru-im/im-desktop
d6bb606650ad84b31046fe39b81db1fec4e6050b
[ "Apache-2.0" ]
4
2019-10-03T15:17:00.000Z
2019-11-03T01:05:41.000Z
gui/statuses/LocalStatuses.cpp
mail-ru-im/im-desktop
d6bb606650ad84b31046fe39b81db1fec4e6050b
[ "Apache-2.0" ]
25
2019-09-27T16:56:02.000Z
2022-03-14T07:11:14.000Z
#include "stdafx.h" #include "utils/JsonUtils.h" #include "../utils/features.h" #include "LocalStatuses.h" #include "gui_settings.h" #include "utils/utils.h" #include "utils/InterConnector.h" #include "rapidjson/writer.h" namespace { inline QString getDefaultJSONPath() { return (Ui::get_gui_settings()...
25.943299
168
0.622293
7e1caedc68709129a2d488241201b6042bf4625e
1,608
cpp
C++
Native/Framework/source/Library.Shared/SpriteManager.cpp
btrowbridge/DirectX.2D.Bespoke.Games
382728f7c9d50597f9fc84e222efd468c33716a5
[ "MS-PL" ]
null
null
null
Native/Framework/source/Library.Shared/SpriteManager.cpp
btrowbridge/DirectX.2D.Bespoke.Games
382728f7c9d50597f9fc84e222efd468c33716a5
[ "MS-PL" ]
null
null
null
Native/Framework/source/Library.Shared/SpriteManager.cpp
btrowbridge/DirectX.2D.Bespoke.Games
382728f7c9d50597f9fc84e222efd468c33716a5
[ "MS-PL" ]
null
null
null
#include "pch.h" #include "SpriteManager.h" using namespace std; using namespace DirectX; namespace Library { unique_ptr<SpriteManager> SpriteManager::sInstance; SpriteManager::SpriteManager(Game& game) : mGame(&game), mSpriteBatch(make_shared<DirectX::SpriteBatch>(mGame->Direct3DDeviceContext())) { } shared...
27.724138
133
0.75995
7e1dbbe5a0decdaec568540334ac2b00e0186796
5,991
cpp
C++
JNIManagedPeer.cpp
jessebenson/JNIManagedPeerBase
7188fc75ecd2010901c9baf98436e7f16eb488b2
[ "MIT" ]
null
null
null
JNIManagedPeer.cpp
jessebenson/JNIManagedPeerBase
7188fc75ecd2010901c9baf98436e7f16eb488b2
[ "MIT" ]
null
null
null
JNIManagedPeer.cpp
jessebenson/JNIManagedPeerBase
7188fc75ecd2010901c9baf98436e7f16eb488b2
[ "MIT" ]
1
2019-01-03T12:34:01.000Z
2019-01-03T12:34:01.000Z
/* * The MIT License (MIT) * * Copyright (c) 2014 Jesse Benson * * 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 us...
24.157258
121
0.59122
7e249238e151222cbd66c831c38133c8da2bc74d
5,968
hpp
C++
include/gct/graphics_pipeline_create_info.hpp
Fadis/gct
bde211f9336e945e4db21f5abb4ce01dcad78049
[ "MIT" ]
1
2022-03-03T09:27:09.000Z
2022-03-03T09:27:09.000Z
include/gct/graphics_pipeline_create_info.hpp
Fadis/gct
bde211f9336e945e4db21f5abb4ce01dcad78049
[ "MIT" ]
1
2021-12-02T03:45:45.000Z
2021-12-03T23:44:37.000Z
include/gct/graphics_pipeline_create_info.hpp
Fadis/gct
bde211f9336e945e4db21f5abb4ce01dcad78049
[ "MIT" ]
null
null
null
#ifndef GCT_GRAPHICS_PIPELINE_CREATE_INFO_HPP #define GCT_GRAPHICS_PIPELINE_CREATE_INFO_HPP #include <memory> #include <optional> #include <vulkan/vulkan.hpp> #include <gct/extension.hpp> #include <gct/pipeline_shader_stage_create_info.hpp> #include <gct/pipeline_vertex_input_state_create_info.hpp> #include <gct/pipeli...
56.838095
116
0.847185
7e257d7e240a3539b250416a09ef45c6f35ba85d
345
hpp
C++
include/di/systems/display/opengl_profile.hpp
acdemiralp/nano_engine
64069cf300af574efb0c979dbc97eb0a03cdc7a3
[ "MIT" ]
4
2021-02-24T14:13:47.000Z
2022-02-06T12:02:24.000Z
include/di/systems/display/opengl_profile.hpp
acdemiralp/nano_engine
64069cf300af574efb0c979dbc97eb0a03cdc7a3
[ "MIT" ]
1
2018-01-06T11:52:16.000Z
2018-01-06T11:52:16.000Z
include/di/systems/display/opengl_profile.hpp
acdemiralp/nano_engine
64069cf300af574efb0c979dbc97eb0a03cdc7a3
[ "MIT" ]
2
2018-02-11T14:51:17.000Z
2021-02-24T14:13:49.000Z
#ifndef DI_SYSTEMS_DISPLAY_OPENGL_PROFILE_HPP_ #define DI_SYSTEMS_DISPLAY_OPENGL_PROFILE_HPP_ #include <SDL2/SDL_video.h> namespace di { enum class opengl_profile { core = SDL_GL_CONTEXT_PROFILE_CORE , compatibility = SDL_GL_CONTEXT_PROFILE_COMPATIBILITY, embedded_systems = SDL_GL_CONTEXT...
20.294118
58
0.77971
7e2b55280d92f7dfeaca8cb2e6e15423710fa09d
636
cpp
C++
Sources/11XXX/11651/11651.cpp
DDManager/Baekjoon-Online-Judge
7dd6d76838d3309bfe5bef46f1778c5776ebdf2a
[ "MIT" ]
1
2019-07-02T09:07:58.000Z
2019-07-02T09:07:58.000Z
Sources/11XXX/11651/11651.cpp
DDManager/Baekjoon-Online-Judge
7dd6d76838d3309bfe5bef46f1778c5776ebdf2a
[ "MIT" ]
null
null
null
Sources/11XXX/11651/11651.cpp
DDManager/Baekjoon-Online-Judge
7dd6d76838d3309bfe5bef46f1778c5776ebdf2a
[ "MIT" ]
1
2022-02-13T04:17:10.000Z
2022-02-13T04:17:10.000Z
/** * BOJ 11651번 C++ 소스 코드 * 작성자 : 동동매니저 (DDManager) * * ※ 실행 결과 * 사용 메모리 : 1,900 KB / 262,144 KB * 소요 시간 : 60 ms / 1,000 ms * * Copyright 2020. DDManager all rights reserved. */ #include <cstdio> #include <cstdlib> #include <algorithm> using namespace std; typedef struct{ int x,y; }Point; bool comp(...
17.666667
52
0.584906
7e2ed3b3ff7340e46e18f1daf504f0c2408c0eee
4,692
cpp
C++
src/slam/instance.cpp
01org/node-realsense
9c000380f61912415c2943a20f8caeb41d579f7b
[ "MIT" ]
12
2017-02-27T14:10:12.000Z
2017-09-25T08:02:07.000Z
src/slam/instance.cpp
01org/node-realsense
9c000380f61912415c2943a20f8caeb41d579f7b
[ "MIT" ]
209
2017-02-22T08:02:38.000Z
2017-09-27T09:26:24.000Z
src/slam/instance.cpp
01org/node-realsense
9c000380f61912415c2943a20f8caeb41d579f7b
[ "MIT" ]
18
2017-02-22T09:05:42.000Z
2017-09-21T07:52:40.000Z
// Copyright (c) 2016 Intel Corporation. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. #include "instance.h" #include "gen/promise-helper.h" Instance::Instance() { } Instance& Instance::operator=(const Instance& rhs) { if (&rhs != this...
28.609756
73
0.734015
7e2ee7a99267f610e6b03bd97bb9fb7424d661bc
13,599
cpp
C++
src/plugins/summary/summarywidget.cpp
devel29a/leechcraft
faf5e856010fb785e4bbf3ce7b5c6a5c49f3239a
[ "BSL-1.0" ]
null
null
null
src/plugins/summary/summarywidget.cpp
devel29a/leechcraft
faf5e856010fb785e4bbf3ce7b5c6a5c49f3239a
[ "BSL-1.0" ]
null
null
null
src/plugins/summary/summarywidget.cpp
devel29a/leechcraft
faf5e856010fb785e4bbf3ce7b5c6a5c49f3239a
[ "BSL-1.0" ]
null
null
null
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Boost Software License - Version 1.0 - August 17th, 2003 * * Permission is hereby granted, free of charge, to any person or organiz...
28.390397
125
0.686521
7e3044e1f0bee2fa979528e79a9b8a20527e7894
910
hpp
C++
mod08/ex02/mutantStack.hpp
paozer/piscine_cpp
449d4a60b3c50c7ba6d94e38a7b632b5f447a438
[ "Unlicense" ]
null
null
null
mod08/ex02/mutantStack.hpp
paozer/piscine_cpp
449d4a60b3c50c7ba6d94e38a7b632b5f447a438
[ "Unlicense" ]
null
null
null
mod08/ex02/mutantStack.hpp
paozer/piscine_cpp
449d4a60b3c50c7ba6d94e38a7b632b5f447a438
[ "Unlicense" ]
2
2021-01-31T13:52:11.000Z
2021-05-19T18:36:17.000Z
#pragma once #ifndef MUTANTSTACK_HPP #define MUTANTSTACK_HPP #include <iterator> #include <deque> #include <stack> template <typename T, typename Container = std::deque<T> > class mutantStack : public std::stack<T, Container> { public: mutantStack() {} mutantStack(const mutantStack & other) { *thi...
30.333333
96
0.617582
7e305c2400bc8774a10c5cc9dec4757f2847085b
1,031
hpp
C++
RayCharles/Sphere.hpp
CoderGirl42/RayTracer
4e370864ec6b9c02ea030a9cbe4354b2d55f3aba
[ "MIT" ]
null
null
null
RayCharles/Sphere.hpp
CoderGirl42/RayTracer
4e370864ec6b9c02ea030a9cbe4354b2d55f3aba
[ "MIT" ]
null
null
null
RayCharles/Sphere.hpp
CoderGirl42/RayTracer
4e370864ec6b9c02ea030a9cbe4354b2d55f3aba
[ "MIT" ]
null
null
null
#pragma once #include "Entity.hpp" class _MMX_ALIGN_ Sphere : public Entity { public: Sphere() {} Sphere(const Vec3& c, real r) : Center(c), Radius(r) {}; virtual bool Hit(const Ray& r, real t_min, real t_max, HitRecord& rec); Vec3 Center; real Radius; Entity *Entity; }; bool Sphere::Hit(const Ray& r, real t...
19.092593
72
0.587779
cce1758fd8acd349c852f95809bfb32fcc86af24
51,552
cpp
C++
solarpilot/Toolbox.cpp
rchintala13/ssc
3424d9b1bfab50cc11d1895d0893cf1771fd3a5e
[ "BSD-3-Clause" ]
null
null
null
solarpilot/Toolbox.cpp
rchintala13/ssc
3424d9b1bfab50cc11d1895d0893cf1771fd3a5e
[ "BSD-3-Clause" ]
null
null
null
solarpilot/Toolbox.cpp
rchintala13/ssc
3424d9b1bfab50cc11d1895d0893cf1771fd3a5e
[ "BSD-3-Clause" ]
1
2017-10-01T08:36:05.000Z
2017-10-01T08:36:05.000Z
/** BSD-3-Clause Copyright 2019 Alliance for Sustainable Energy, LLC 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...
27.523759
178
0.585118
cce4c58fd7f2fe5c465f493d28169a189cb5e6b9
2,019
cpp
C++
cocos2dx_playground/Classes/cpg_input_BasicKeyCollector.cpp
R2Road/cocos2dx_playground
6e6f349b5c9fc702558fe8720ba9253a8ba00164
[ "Apache-2.0" ]
9
2020-06-11T17:09:44.000Z
2021-12-25T00:34:33.000Z
cocos2dx_playground/Classes/cpg_input_BasicKeyCollector.cpp
R2Road/cocos2dx_playground
6e6f349b5c9fc702558fe8720ba9253a8ba00164
[ "Apache-2.0" ]
9
2019-12-21T15:01:01.000Z
2020-12-05T15:42:43.000Z
cocos2dx_playground/Classes/cpg_input_BasicKeyCollector.cpp
R2Road/cocos2dx_playground
6e6f349b5c9fc702558fe8720ba9253a8ba00164
[ "Apache-2.0" ]
1
2020-09-07T01:32:16.000Z
2020-09-07T01:32:16.000Z
#include "cpg_input_BasicKeyCollector.h" #include "cpg_input_KeyMap.h" #include "step_rain_of_chaos_input_KeyCodeCollector.h" USING_NS_CC; namespace cpg_input { BasicKeyCollector::BasicKeyCollector( const KeyMapSp& key_map_container ) : iKeyCollector( key_map_container ) , mKeyHistory() , mCurrent_KeyStatus_Con...
33.098361
120
0.771174
cce5501e3b418a4945627888a305392c92ee0906
1,763
inl
C++
libblk/info.inl
transpixel/tpqz
2d8400b1be03292d0c5ab74710b87e798ae6c52c
[ "MIT" ]
1
2017-06-01T00:21:16.000Z
2017-06-01T00:21:16.000Z
libblk/info.inl
transpixel/tpqz
2d8400b1be03292d0c5ab74710b87e798ae6c52c
[ "MIT" ]
3
2017-06-01T00:26:16.000Z
2020-05-09T21:06:27.000Z
libblk/info.inl
transpixel/tpqz
2d8400b1be03292d0c5ab74710b87e798ae6c52c
[ "MIT" ]
null
null
null
// // // MIT License // // Copyright (c) 2017 Stellacore Corporation. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to ...
25.926471
72
0.695973
cce6a75dd76da1b27efb082873e079f1c618091f
6,868
hpp
C++
src/Renderer.hpp
CobaltXII/Tempest
5963e21b98cd414b1b525b11a193512ec3e35f14
[ "MIT" ]
4
2020-01-03T02:52:53.000Z
2021-09-16T23:03:06.000Z
src/Renderer.hpp
CobaltXII/Tempest
5963e21b98cd414b1b525b11a193512ec3e35f14
[ "MIT" ]
null
null
null
src/Renderer.hpp
CobaltXII/Tempest
5963e21b98cd414b1b525b11a193512ec3e35f14
[ "MIT" ]
null
null
null
// A renderer. struct Renderer { const float FOV = 60.0f; const float NEAR_PLANE = 0.5f; const float FAR_PLANE = 5000.0f; Display display; glm::mat4 projection; int width; int height; Renderer() { return; } Renderer(std::string title, int width, int height) { display = Display(title, width, height); ...
27.805668
96
0.755679
cceaba2286593dc1fa55e6559cc1ece25b0bc55a
18,490
cpp
C++
src/QMCWaveFunctions/tests/test_einset_spinor.cpp
kayahans/qmcpack
c25d77702e36363ff7368ded783bf31c1b1c5f17
[ "NCSA" ]
null
null
null
src/QMCWaveFunctions/tests/test_einset_spinor.cpp
kayahans/qmcpack
c25d77702e36363ff7368ded783bf31c1b1c5f17
[ "NCSA" ]
null
null
null
src/QMCWaveFunctions/tests/test_einset_spinor.cpp
kayahans/qmcpack
c25d77702e36363ff7368ded783bf31c1b1c5f17
[ "NCSA" ]
null
null
null
////////////////////////////////////////////////////////////////////////////////////// // This file is distributed under the University of Illinois/NCSA Open Source License. // See LICENSE file in top directory for details. // // Copyright (c) 2020 Jeongnim Kim and QMCPACK developers. // // File developed by: Raymond C...
43.505882
182
0.669605
ccedd60d98c2a361b0bdc6a2daf26844379be7bf
1,550
cpp
C++
gui/previewer/Previewer.cpp
ERPShuen/ICQ1
f319a72ad60aae4809eef0e4eb362f4d69292296
[ "Apache-2.0" ]
1
2019-12-02T08:37:10.000Z
2019-12-02T08:37:10.000Z
gui/previewer/Previewer.cpp
ERPShuen/ICQ1
f319a72ad60aae4809eef0e4eb362f4d69292296
[ "Apache-2.0" ]
null
null
null
gui/previewer/Previewer.cpp
ERPShuen/ICQ1
f319a72ad60aae4809eef0e4eb362f4d69292296
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "Previewer.h" #include "../main_window/MainWindow.h" #include "../utils/InterConnector.h" #include "../../corelib/enumerations.h" #include "../../gui.shared/implayer.h" #include "../utils/utils.h" namespace { std::unique_ptr<QWidget> PreviewWidget_; std::unique_ptr<QWid...
27.678571
220
0.574839
ccee09a4cf7e1da94d802e73212aa239db62006d
151
cpp
C++
components/eam/src/physics/crm/samxx/diffuse_mom.cpp
Fa-Li/E3SM
a91995093ec6fc0dd6e50114f3c70b5fb64de0f0
[ "zlib-acknowledgement", "FTL", "RSA-MD" ]
235
2018-04-23T16:30:06.000Z
2022-03-21T17:53:12.000Z
components/eam/src/physics/crm/samxx/diffuse_mom.cpp
Fa-Li/E3SM
a91995093ec6fc0dd6e50114f3c70b5fb64de0f0
[ "zlib-acknowledgement", "FTL", "RSA-MD" ]
2,372
2018-04-20T18:12:34.000Z
2022-03-31T23:43:17.000Z
components/eam/src/physics/crm/samxx/diffuse_mom.cpp
Fa-Li/E3SM
a91995093ec6fc0dd6e50114f3c70b5fb64de0f0
[ "zlib-acknowledgement", "FTL", "RSA-MD" ]
254
2018-04-20T20:43:32.000Z
2022-03-30T20:13:38.000Z
#include "diffuse_mom.h" void diffuse_mom() { if (RUN3D) { diffuse_mom3D(sgs_field_diag); } else { diffuse_mom2D(sgs_field_diag); } }
12.583333
34
0.655629
ccf059187eb3c8bccf715f1eae37d74469aa3c52
1,684
hpp
C++
include/memory/hadesmem/detail/force_initialize.hpp
CvX/hadesmem
d2c5164cc753dac37879ac8079f2ae23f2b8edb5
[ "MIT" ]
24
2018-08-18T18:05:37.000Z
2021-09-28T00:26:35.000Z
include/memory/hadesmem/detail/force_initialize.hpp
CvX/hadesmem
d2c5164cc753dac37879ac8079f2ae23f2b8edb5
[ "MIT" ]
null
null
null
include/memory/hadesmem/detail/force_initialize.hpp
CvX/hadesmem
d2c5164cc753dac37879ac8079f2ae23f2b8edb5
[ "MIT" ]
9
2018-04-16T09:53:09.000Z
2021-02-26T05:04:49.000Z
// Copyright (C) 2010-2014 Joshua Boyce. // See the file COPYING for copying permission. #pragma once #include <array> #include <windows.h> #include <hadesmem/config.hpp> #include <hadesmem/detail/remote_thread.hpp> #include <hadesmem/detail/trace.hpp> #include <hadesmem/process.hpp> #include <hadesmem...
28.542373
73
0.736342
ccf1d89f4b4f212721515d1d3cc2aabfa14856a5
1,807
cpp
C++
1 term/2/3/A/A.cpp
alexkats/Discrete-Math
dd4edd9ff9322e319d162d56567b9d81a6636373
[ "Unlicense" ]
null
null
null
1 term/2/3/A/A.cpp
alexkats/Discrete-Math
dd4edd9ff9322e319d162d56567b9d81a6636373
[ "Unlicense" ]
null
null
null
1 term/2/3/A/A.cpp
alexkats/Discrete-Math
dd4edd9ff9322e319d162d56567b9d81a6636373
[ "Unlicense" ]
null
null
null
#include <iostream> #include <fstream> #include <string> #include <cstring> #include <cmath> #include <cstdio> #include <cstdlib> #include <vector> #include <algorithm> #include <set> #include <map> #include <cassert> #include <ctime> #include <stack> #include <queue> #include <deque> #include <utility>...
15.444444
62
0.50249
ccf5f771d0469f00cb4cc1d90ea48201f516bf7e
1,277
cpp
C++
src/ScorePeg.cpp
DarkMaguz/mastermind-gtkmm
4abfd70c81e4fb7688898cb4d55610216d75eeb8
[ "MIT" ]
null
null
null
src/ScorePeg.cpp
DarkMaguz/mastermind-gtkmm
4abfd70c81e4fb7688898cb4d55610216d75eeb8
[ "MIT" ]
null
null
null
src/ScorePeg.cpp
DarkMaguz/mastermind-gtkmm
4abfd70c81e4fb7688898cb4d55610216d75eeb8
[ "MIT" ]
null
null
null
/* * ScorePeg.cpp * * Created on: Nov 18, 2021 * Author: magnus */ #include "ScorePeg.h" ScorePeg::ScorePeg() : m_score(MasterMind::NONE) { set_size_request(20, 20); //show_all_children(); } ScorePeg::~ScorePeg() { } void ScorePeg::setScore(const MasterMind::score& score) { m_score = score; // Reque...
19.348485
64
0.648395
ccf7ec1dcc93d8a545e8911fc4acaa7925ef9731
888
cpp
C++
src/13merge.cpp
baseoursteps/faang
8508b3bd66a607fa4ff5a71efd9e2a25a2a263d5
[ "MIT" ]
1
2021-07-13T19:47:57.000Z
2021-07-13T19:47:57.000Z
src/13merge.cpp
baseoursteps/faang
8508b3bd66a607fa4ff5a71efd9e2a25a2a263d5
[ "MIT" ]
1
2021-05-07T15:02:27.000Z
2021-05-09T08:44:05.000Z
src/13merge.cpp
baseoursteps/faang
8508b3bd66a607fa4ff5a71efd9e2a25a2a263d5
[ "MIT" ]
1
2021-05-07T13:18:01.000Z
2021-05-07T13:18:01.000Z
#include <algorithm> #include <iostream> #include <vector> struct interval { int start { -1 }, end { -1 }; interval(int a, int b) : start(a), end(b) {} bool operator<(const interval &o) const { return start < o.start; } }; int main() { using namespace std; vector<interval> val...
20.651163
71
0.427928
ccf943e42d13ae924ebf1fc082f4bd04a5a594c6
2,532
cxx
C++
src/Filtering/BinaryMathematicalMorphology/ThinImage/Code.cxx
kian-weimer/ITKSphinxExamples
ff614cbba28831d1bf2a0cfaa5a2f1949a627c1b
[ "Apache-2.0" ]
34
2015-01-26T19:38:36.000Z
2021-02-04T02:15:41.000Z
src/Filtering/BinaryMathematicalMorphology/ThinImage/Code.cxx
kian-weimer/ITKSphinxExamples
ff614cbba28831d1bf2a0cfaa5a2f1949a627c1b
[ "Apache-2.0" ]
142
2016-01-22T15:59:25.000Z
2021-03-17T15:11:19.000Z
src/Filtering/BinaryMathematicalMorphology/ThinImage/Code.cxx
kian-weimer/ITKSphinxExamples
ff614cbba28831d1bf2a0cfaa5a2f1949a627c1b
[ "Apache-2.0" ]
32
2015-01-26T19:38:41.000Z
2021-03-17T15:28:14.000Z
/*========================================================================= * * Copyright NumFOCUS * * 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.or...
28.449438
106
0.664297
ccfccaad9056b35e59a4c88eb1ec554d50380d1a
414
cpp
C++
tests/test_simple_exc.cpp
limhyungseok/stacktrace
e4fbe540ff8e810de00ab341ff50123a63bcde79
[ "MIT" ]
7
2017-10-25T10:41:43.000Z
2020-12-27T03:22:46.000Z
tests/test_simple_exc.cpp
limhyungseok/stacktrace
e4fbe540ff8e810de00ab341ff50123a63bcde79
[ "MIT" ]
null
null
null
tests/test_simple_exc.cpp
limhyungseok/stacktrace
e4fbe540ff8e810de00ab341ff50123a63bcde79
[ "MIT" ]
3
2015-04-29T03:08:03.000Z
2021-06-24T06:23:12.000Z
#include <stacktrace.h> #include <stdexcept> #include <cstdio> void bar () { throw std::exception(); } void foo() { bar(); } int main() { try { foo(); } catch (...) { struct stacktrace *trace = stacktrace_get_exc(); if (trace != NULL) { stacktrace_print(trace); ...
15.923077
56
0.502415
ccfd8be8e8655529c7f77980743cf67f842fc07f
1,759
cpp
C++
Graph Theory/Union-Find (Disjoint-Sets) and MST/prim.cpp
hoanghai1803/DataStructures_Algorithms
b5e8ccb3deba7566b915b21c6b7e9435cfe55301
[ "MIT" ]
1
2021-03-06T00:36:08.000Z
2021-03-06T00:36:08.000Z
Graph Theory/Union-Find (Disjoint-Sets) and MST/prim.cpp
hoanghai1803/DataStructures_Algorithms
b5e8ccb3deba7566b915b21c6b7e9435cfe55301
[ "MIT" ]
null
null
null
Graph Theory/Union-Find (Disjoint-Sets) and MST/prim.cpp
hoanghai1803/DataStructures_Algorithms
b5e8ccb3deba7566b915b21c6b7e9435cfe55301
[ "MIT" ]
null
null
null
/* ========== PRIM'S ALGORITHM IMPLEMENTATION ========== */ // This implementation of Prim's algorithm calculates the minimum // weight spanning tree of the weighted undirected graph with non-negative // edge weights. We assume that the graph is connected. // Time complexity: // Using adjacency matrix: O(V^2) // U...
25.492754
87
0.554292
ccff98407b71a41ddc6d1cfe4c03e22bb036ff48
738
cpp
C++
Curso/PILHA.cpp
Pedro-H-Castoldi/c-
a01cec85559efec8c84bef142119d83dad12bb1e
[ "Apache-2.0" ]
null
null
null
Curso/PILHA.cpp
Pedro-H-Castoldi/c-
a01cec85559efec8c84bef142119d83dad12bb1e
[ "Apache-2.0" ]
null
null
null
Curso/PILHA.cpp
Pedro-H-Castoldi/c-
a01cec85559efec8c84bef142119d83dad12bb1e
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <stack> using namespace std; int main(){ stack <string> cartas; cartas.push("Carta 1"); cartas.push("Carta 2"); cartas.push("Carta 3"); cartas.push("carta 4"); /*while (!cartas.empty()){ // Maneira de excluir elementos da Pilha cartas.pop(); }*/ if(cartas.empty()){ cout ...
18.923077
86
0.574526
6905dfe09a3904ce69ca6b5d0687257e919975aa
1,427
cpp
C++
PIXEL2D/Utilities/StringExtensions.cpp
Maxchii/PIXEL2D
ac1ce604e4f1b8448f14a4f92c69a2ff6d127f56
[ "Apache-2.0" ]
1
2015-05-18T15:20:19.000Z
2015-05-18T15:20:19.000Z
PIXEL2D/Utilities/StringExtensions.cpp
Ossadtchii/PIXEL2D
ac1ce604e4f1b8448f14a4f92c69a2ff6d127f56
[ "Apache-2.0" ]
5
2015-05-18T15:21:28.000Z
2015-06-28T12:43:52.000Z
PIXEL2D/Utilities/StringExtensions.cpp
Maxchii/PIXEL2D
ac1ce604e4f1b8448f14a4f92c69a2ff6d127f56
[ "Apache-2.0" ]
null
null
null
#include "StringExtensions.h" #include <sstream> namespace PIXL { namespace utilities { void GetWords(std::string s, std::vector<std::string>& words) { UInt32 end = 0; while (s.size() > 0) { for (unsigned int i = 0; i < s.size(); i++) { if (s[i] == ' ') { end = i; string word = s.subs...
17.192771
75
0.576034
690c1ea3a04477e1258114150bfd6cd416334903
4,644
cpp
C++
xcore/smart_analyzer.cpp
zongwave/libxcam
2c0cc6839ddd3ef2b6ad22d2580f7878314daf14
[ "Apache-2.0" ]
400
2018-01-26T05:33:23.000Z
2022-03-31T06:36:47.000Z
xcore/smart_analyzer.cpp
zihengchang/libxcam
53e2b415f9f20ab315de149afdfee97574aeaad0
[ "Apache-2.0" ]
77
2018-01-25T06:16:15.000Z
2022-02-23T02:50:49.000Z
xcore/smart_analyzer.cpp
zihengchang/libxcam
53e2b415f9f20ab315de149afdfee97574aeaad0
[ "Apache-2.0" ]
161
2018-03-05T01:03:42.000Z
2022-03-29T17:14:20.000Z
/* * smart_analyzer.cpp - smart analyzer * * Copyright (c) 2015 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0...
25.944134
117
0.680233
690eddb5ac828cb5061e5482d514dd2ee0d81b27
1,531
cpp
C++
acwing/winter/1113. 红与黑.cpp
xmmmmmovo/MyAlgorithmSolutions
f5198d438f36f41cc4f72d53bb71d474365fa80d
[ "MIT" ]
1
2020-03-26T13:40:52.000Z
2020-03-26T13:40:52.000Z
acwing/winter/1113. 红与黑.cpp
xmmmmmovo/MyAlgorithmSolutions
f5198d438f36f41cc4f72d53bb71d474365fa80d
[ "MIT" ]
null
null
null
acwing/winter/1113. 红与黑.cpp
xmmmmmovo/MyAlgorithmSolutions
f5198d438f36f41cc4f72d53bb71d474365fa80d
[ "MIT" ]
null
null
null
/** * author: xmmmmmovo * generation time: 2021/01/12 * filename: red_and_black.cpp * language & build version : C 11 & C++ 17 */ #include <algorithm> #include <iostream> #include <queue> #define x first #define y second using namespace std; typedef pair<int, int> PII; char g[25][25]; int n, m; int dx[] = {-1, ...
20.413333
79
0.367734
691328ec21e9bae7dd92209d732428dfda11a04d
2,656
hpp
C++
sdk/attestation/azure-security-attestation/src/private/crypto/openssl/openssl_helpers.hpp
JinmingHu-MSFT/azure-sdk-for-cpp
933486385a54a5a09a7444dbd823425f145ad75a
[ "MIT" ]
1
2022-01-19T22:54:41.000Z
2022-01-19T22:54:41.000Z
sdk/attestation/azure-security-attestation/src/private/crypto/openssl/openssl_helpers.hpp
LarryOsterman/azure-sdk-for-cpp
d96216f50909a2bd39b555c9088f685bf0f7d6e6
[ "MIT" ]
null
null
null
sdk/attestation/azure-security-attestation/src/private/crypto/openssl/openssl_helpers.hpp
LarryOsterman/azure-sdk-for-cpp
d96216f50909a2bd39b555c9088f685bf0f7d6e6
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // SPDX-License-Identifier: MIT #pragma once #include <memory> #include <openssl/bio.h> #include <openssl/evp.h> #include <stdexcept> #include <type_traits> #include <utility> namespace Azure { namespace Security { namespace Attestation { namespace _detail ...
35.891892
96
0.67997
6913324610ba42002ca621321552d927c8186c93
1,341
cpp
C++
src/CLR/Core/StringTable.cpp
TIPConsulting/nf-interpreter
d5407872f4705d6177e1ee5a2e966bd02fd476e4
[ "MIT" ]
null
null
null
src/CLR/Core/StringTable.cpp
TIPConsulting/nf-interpreter
d5407872f4705d6177e1ee5a2e966bd02fd476e4
[ "MIT" ]
1
2021-02-22T07:54:30.000Z
2021-02-22T07:54:30.000Z
src/CLR/Core/StringTable.cpp
TIPConsulting/nf-interpreter
d5407872f4705d6177e1ee5a2e966bd02fd476e4
[ "MIT" ]
null
null
null
// // Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // #include "stdafx.h" #include "Core.h" ////////////////////////////////////////////////////////////////////////...
24.833333
101
0.541387
6917d70520912ba9c78126e9e2359c219333c51c
1,184
hh
C++
src/faodel-services/MPISyncStart.hh
faodel/faodel
ef2bd8ff335433e695eb561d7ecd44f233e58bf0
[ "MIT" ]
2
2019-01-25T21:21:07.000Z
2021-04-29T17:24:00.000Z
src/faodel-services/MPISyncStart.hh
faodel/faodel
ef2bd8ff335433e695eb561d7ecd44f233e58bf0
[ "MIT" ]
8
2018-10-09T14:35:30.000Z
2020-09-30T20:09:42.000Z
src/faodel-services/MPISyncStart.hh
faodel/faodel
ef2bd8ff335433e695eb561d7ecd44f233e58bf0
[ "MIT" ]
2
2019-04-23T19:01:36.000Z
2021-05-11T07:44:55.000Z
// Copyright 2021 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. #ifndef FAODEL_MPISYNCHSTART_HH #define FAODEL_MPISYNCHSTART_HH #include <string> #include "faodel-common/Boots...
25.73913
76
0.727196
691a7ea5b06c5bdcd19fb807d06fcd2fa90ae730
1,241
cpp
C++
tests/expected/loop.cpp
div72/py2many
60277bc13597bd32d078b88a7390715568115fc6
[ "MIT" ]
345
2021-01-28T17:33:08.000Z
2022-03-25T16:07:56.000Z
tests/expected/loop.cpp
mkos11/py2many
be6cfaad5af32c43eb24f182cb20ad63b979d4ef
[ "MIT" ]
291
2021-01-31T13:15:06.000Z
2022-03-23T21:28:49.000Z
tests/expected/loop.cpp
mkos11/py2many
be6cfaad5af32c43eb24f182cb20ad63b979d4ef
[ "MIT" ]
23
2021-02-09T17:15:03.000Z
2022-02-03T05:57:44.000Z
#include <iostream> // NOLINT(build/include_order) #include "pycpp/runtime/builtins.h" // NOLINT(build/include_order) #include "pycpp/runtime/range.hpp" // NOLINT(build/include_order) #include "pycpp/runtime/sys.h" // NOLINT(build/include_order) inline void for_with_break() { for (auto i : rangepp::xrange(...
19.390625
67
0.560838
691f3da4fe34e71105d8ef6c466dda11b7e4c9ad
5,935
cpp
C++
handwritten/q12.cpp
khalefa-phd/tpch-benches-handwritten
1d37f43f32eb9e78066d553f4082fc07495895f1
[ "MIT" ]
null
null
null
handwritten/q12.cpp
khalefa-phd/tpch-benches-handwritten
1d37f43f32eb9e78066d553f4082fc07495895f1
[ "MIT" ]
null
null
null
handwritten/q12.cpp
khalefa-phd/tpch-benches-handwritten
1d37f43f32eb9e78066d553f4082fc07495895f1
[ "MIT" ]
null
null
null
/** * TPCH Query 12 EXPLAIN select l_shipmode, sum(case when o_orderpriority = '1-URGENT' or o_orderpriority = '2-HIGH' then 1 else 0 end) as high_line_count, sum(case when o_orderpriority <...
27.604651
80
0.594608
6925bfa6d418c2725a6e7538337347caf2d38bbb
977
cpp
C++
Sources/libosp/test/array_bench.cpp
nihospr01/OpenSpeechPlatform
799fb5baa5b8cdfad0f5387dd48b394adc583ede
[ "BSD-2-Clause" ]
null
null
null
Sources/libosp/test/array_bench.cpp
nihospr01/OpenSpeechPlatform
799fb5baa5b8cdfad0f5387dd48b394adc583ede
[ "BSD-2-Clause" ]
null
null
null
Sources/libosp/test/array_bench.cpp
nihospr01/OpenSpeechPlatform
799fb5baa5b8cdfad0f5387dd48b394adc583ede
[ "BSD-2-Clause" ]
null
null
null
#include <benchmark/benchmark.h> #include <OSP/array_utilities/array_utilities.hpp> #include <cassert> #include <iostream> #include <string> using namespace std; void array_sum_bench(benchmark::State &state) { int num = state.range(0); float *arr1 = new float[num]; float total; for (auto i = 0; i < n...
24.425
63
0.635619
6926473b43e569d52091c06c3d4d9dfa004429e6
2,103
hpp
C++
test/core/point_comparisons.hpp
cynodelic/tesela
3b86a7b9501c7136d5168c7e314740fa7f72f7a7
[ "BSL-1.0" ]
null
null
null
test/core/point_comparisons.hpp
cynodelic/tesela
3b86a7b9501c7136d5168c7e314740fa7f72f7a7
[ "BSL-1.0" ]
null
null
null
test/core/point_comparisons.hpp
cynodelic/tesela
3b86a7b9501c7136d5168c7e314740fa7f72f7a7
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2019 Álvaro Ceballos // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt #ifndef CYNODELIC_TESELA_TEST_CORE_POINT_COMPARISONS_HPP #define CYNODELIC_TESELA_TEST_CORE_POINT_COMPARISONS_HPP CYNODELIC_TESTER_TEST_...
27.671053
80
0.686638
692c6e26f56afdf089586a6efad5c6577d8200f6
223
cpp
C++
src/filesystem/tempfile.cpp
bunsanorg/testing
2532858878628c9925ddd0e58436bba53e4b6cb9
[ "Apache-2.0" ]
null
null
null
src/filesystem/tempfile.cpp
bunsanorg/testing
2532858878628c9925ddd0e58436bba53e4b6cb9
[ "Apache-2.0" ]
null
null
null
src/filesystem/tempfile.cpp
bunsanorg/testing
2532858878628c9925ddd0e58436bba53e4b6cb9
[ "Apache-2.0" ]
null
null
null
#include <bunsan/test/filesystem/tempfile.hpp> namespace bunsan { namespace test { namespace filesystem { tempfile::tempfile() : path(allocate()) {} } // namespace filesystem } // namespace test } // namespace bunsan
18.583333
46
0.717489
692dd779f0ef60917299d863b1636a27f2793641
9,551
cpp
C++
runtime/test/dnp3s/test_dnp3_publisher.cpp
kinsamanka/OpenPLC_v3
fc1afcf702eebaf518971b304acf487809c804d4
[ "Apache-2.0" ]
null
null
null
runtime/test/dnp3s/test_dnp3_publisher.cpp
kinsamanka/OpenPLC_v3
fc1afcf702eebaf518971b304acf487809c804d4
[ "Apache-2.0" ]
null
null
null
runtime/test/dnp3s/test_dnp3_publisher.cpp
kinsamanka/OpenPLC_v3
fc1afcf702eebaf518971b304acf487809c804d4
[ "Apache-2.0" ]
null
null
null
// Copyright 2019 Smarter Grid Solutions // // 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 agre...
32.266892
116
0.587373
692fae95fbbad4c60a0e638f73eea0e614ffc732
5,711
cpp
C++
src/gui/gl/slicerenderer.cpp
mhough/braingl
53e2078adc10731ee62feec11dcb767c4c6c0d35
[ "MIT" ]
5
2016-03-17T07:02:11.000Z
2021-12-12T14:43:58.000Z
src/gui/gl/slicerenderer.cpp
mhough/braingl
53e2078adc10731ee62feec11dcb767c4c6c0d35
[ "MIT" ]
null
null
null
src/gui/gl/slicerenderer.cpp
mhough/braingl
53e2078adc10731ee62feec11dcb767c4c6c0d35
[ "MIT" ]
3
2015-10-29T15:21:01.000Z
2020-11-25T09:41:21.000Z
/* * slicerenderer.cpp * * Created on: 09.05.2012 * @author Ralph Schurade */ #include "slicerenderer.h" #include "glfunctions.h" #include "../../data/enums.h" #include "../../data/models.h" #include "../../data/datasets/dataset.h" #include <QtOpenGL/QGLShaderProgram> #include <QVector3D> #inclu...
27.195238
125
0.589914
6934eaefe20865b2b3239dd4f802593eece13dfc
4,816
cpp
C++
depthavgpooling/depthavgpooling_cuda.cpp
francescotonini/depthconv
3488ba1e76d379717ca6a674cf54b719d968dcb4
[ "MIT" ]
null
null
null
depthavgpooling/depthavgpooling_cuda.cpp
francescotonini/depthconv
3488ba1e76d379717ca6a674cf54b719d968dcb4
[ "MIT" ]
null
null
null
depthavgpooling/depthavgpooling_cuda.cpp
francescotonini/depthconv
3488ba1e76d379717ca6a674cf54b719d968dcb4
[ "MIT" ]
null
null
null
#include <torch/extension.h> #include <torch/types.h> // CUDA declarations void avgpool_forward(int count, torch::Tensor input_data, torch::Tensor input_depth_data, int channels, int height, int width, int pooled_height, int pooled_width, int kernel_h, int kernel_w, int stride_h, int stride_w, int pad_h, int pad_w, to...
47.215686
300
0.708472
69366e3f8e83342a45fdecb6fea9106253de68aa
5,349
hh
C++
hackt_docker/hackt/src/Object/lang/RTE_base.hh
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/Object/lang/RTE_base.hh
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/Object/lang/RTE_base.hh
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
/** \file "Object/lang/RTE_base.hh" Structures for production assignments. $Id: RTE_base.hh,v 1.12 2010/07/09 02:14:13 fang Exp $ */ #ifndef __HAC_OBJECT_LANG_RTE_BASE_HH__ #define __HAC_OBJECT_LANG_RTE_BASE_HH__ #include <list> #include "util/memory/excl_ptr.hh" #include "util/memory/count_ptr.hh" #include "util...
25.112676
82
0.699944
693aeabc53dcfc994d0188e2eb63a1f5a1f21dab
707
cc
C++
tools/asm.cc
nlewycky/x64asm
66dcdef5dba596cb0a51edde1910194d079e704c
[ "Apache-2.0" ]
453
2015-04-24T13:57:43.000Z
2022-03-16T16:38:53.000Z
tools/asm.cc
nlewycky/x64asm
66dcdef5dba596cb0a51edde1910194d079e704c
[ "Apache-2.0" ]
71
2015-04-15T20:52:13.000Z
2018-07-29T18:08:22.000Z
tools/asm.cc
nlewycky/x64asm
66dcdef5dba596cb0a51edde1910194d079e704c
[ "Apache-2.0" ]
67
2015-05-07T06:44:47.000Z
2022-02-25T03:46:24.000Z
#include <iostream> #include <string> #include "include/x64asm.h" using namespace std; using namespace x64asm; using namespace cpputil; /** A simple test program. Reads att syntax and prints human readable hex. */ int main(int argc, char** argv) { Code c; cin >> c; if(failed(cin)) { cerr << endl << "Parse...
21.424242
99
0.623762
693e2dceeaa7ce9a1e380914e119a2923fabe70c
5,311
cc
C++
headless/lib/headless_web_contents_browsertest.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
headless/lib/headless_web_contents_browsertest.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
headless/lib/headless_web_contents_browsertest.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 2016 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 <memory> #include <string> #include <vector> #include "base/base64.h" #include "content/public/test/browser_test.h" #include "headless/public/de...
34.940789
79
0.73489
6940386d648a434dc6e8ac461aa5ab1d701f969e
5,024
hpp
C++
vot.hpp
Lee-Kevin/kcf_simple
15434ce885b8dad27ade2171920def2264abb5ec
[ "Unlicense" ]
425
2015-12-17T13:05:53.000Z
2022-03-29T01:10:19.000Z
vot.hpp
Lee-Kevin/kcf_simple
15434ce885b8dad27ade2171920def2264abb5ec
[ "Unlicense" ]
27
2016-08-16T11:25:49.000Z
2021-06-28T12:04:54.000Z
vot.hpp
Lee-Kevin/kcf_simple
15434ce885b8dad27ade2171920def2264abb5ec
[ "Unlicense" ]
205
2016-01-22T06:20:59.000Z
2022-03-02T02:53:09.000Z
/* * Author : Tomas Vojir * Date : 2013-06-05 * Desc : Simple class for parsing VOT inputs and providing * interface for image loading and storing output. */ #ifndef CPP_VOT_H #define CPP_VOT_H #include <string> #include <fstream> #include <iostream> #include <opencv2/opencv.hpp> // Boundin...
28.873563
120
0.50418
6945c9c8b7810e43e61f71f5df408da0daf7cb31
356
cc
C++
src/ios_tools/web/test/test_url_constants.cc
rhencke/engine
1016db292c4e73374a0a11536b18303c9522a224
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
src/ios_tools/web/test/test_url_constants.cc
rhencke/engine
1016db292c4e73374a0a11536b18303c9522a224
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
src/ios_tools/web/test/test_url_constants.cc
rhencke/engine
1016db292c4e73374a0a11536b18303c9522a224
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2016 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 "ios/web/test/test_url_constants.h" namespace web { const char kTestWebUIScheme[] = "testwebui"; const char kTestNativeContentScheme[] = "testn...
27.384615
73
0.755618
69464a87b068e235a75daed0aabf2f5a7d1594e0
3,466
cpp
C++
CA7-Source/userspace/netlink_tester.cpp
dimtass/stm32mp1-rpmsg-netlink-example
998f61db13fa434e97119c751c6958c1eee43727
[ "MIT" ]
7
2020-10-07T12:12:45.000Z
2022-01-27T10:51:48.000Z
CA7-Source/userspace/netlink_tester.cpp
dimtass/stm32mp1-rpmsg-netlink-example
998f61db13fa434e97119c751c6958c1eee43727
[ "MIT" ]
null
null
null
CA7-Source/userspace/netlink_tester.cpp
dimtass/stm32mp1-rpmsg-netlink-example
998f61db13fa434e97119c751c6958c1eee43727
[ "MIT" ]
null
null
null
#include <string> #include <time.h> #include "netlink_tester.h" enum { COM_BUFFER_SIZE=32768, }; enum { CRC16_INIT_VAL=0x8006, }; static uint8_t tx_buffer[COM_BUFFER_SIZE] = {0}; static uint8_t rx_buffer[COM_BUFFER_SIZE] = {0}; /* Function prototypes */ NetlinkTester::NetlinkTester() { L_(linfo) << "Init...
22.653595
92
0.566359
69468e507e7a5d9ca905811719512c5c7eb23e8a
2,018
cpp
C++
src/cmd_vel_sub.cpp
Aung-xiao/hero_chassis_controller
be9295b5f19bbbb02eff66fc5927c786e7bfdc0b
[ "BSD-3-Clause" ]
null
null
null
src/cmd_vel_sub.cpp
Aung-xiao/hero_chassis_controller
be9295b5f19bbbb02eff66fc5927c786e7bfdc0b
[ "BSD-3-Clause" ]
null
null
null
src/cmd_vel_sub.cpp
Aung-xiao/hero_chassis_controller
be9295b5f19bbbb02eff66fc5927c786e7bfdc0b
[ "BSD-3-Clause" ]
null
null
null
#include<ros/ros.h> #include<geometry_msgs/Twist.h> #include<iostream> #include <effort_controllers/joint_velocity_controller.h> #include <dynamic_tutorial/tutorialConfig.h> #include <dynamic_reconfigure/client.h> hardware_interface::JointHandle front_left_joint_,back_left_joint_,front_right_joint_,back_right_joint_; d...
38.807692
120
0.763132
6946c8189c7d3aef9aabf1177b4665e1c55b54cf
54,121
cpp
C++
src/sparse_spectral_approximation/txssa.cpp
cjhurani/txssa
473bb4ec650cb7164d80fc531ac38a6c28226dd8
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-06-04T01:00:14.000Z
2022-03-25T23:40:57.000Z
src/sparse_spectral_approximation/txssa.cpp
cjhurani/txssa
473bb4ec650cb7164d80fc531ac38a6c28226dd8
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2017-08-28T09:08:53.000Z
2021-06-08T14:17:48.000Z
src/sparse_spectral_approximation/txssa.cpp
cjhurani/txssa
473bb4ec650cb7164d80fc531ac38a6c28226dd8
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
/* TxSSA: Tech-X Sparse Spectral Approximation Copyright (C) 2012 Tech-X Corporation, 5621 Arapahoe Ave, Boulder CO 80303 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 abo...
32.062204
115
0.570998
69487bfe15f2bd11008fa77ab7d09fc840276e09
616
cpp
C++
5_Classes_Objects/5_7_Using_this.cpp
YinHk-Forks/CPP-Notes
7dd1895d44cd3773e5f2603cbc3b02d174285b05
[ "MIT" ]
4
2020-12-30T15:16:39.000Z
2021-11-07T17:17:02.000Z
5_Classes_Objects/5_7_Using_this.cpp
YinHk-Forks/CPP-Notes
7dd1895d44cd3773e5f2603cbc3b02d174285b05
[ "MIT" ]
null
null
null
5_Classes_Objects/5_7_Using_this.cpp
YinHk-Forks/CPP-Notes
7dd1895d44cd3773e5f2603cbc3b02d174285b05
[ "MIT" ]
3
2021-04-03T08:00:36.000Z
2022-01-01T06:19:58.000Z
// // CPP-Notes // // Created by Akshay Raj Gollahalli on 23/05/16. // Copyright © 2016 Akshay Raj Gollahalli. All rights reserved. // #include <cstdio> class Some_class { int _s = 0; public: void setter(int i) {_s = i;} int getter(); }; int Some_class::getter() { printf("%p\n", this); // po...
17.111111
64
0.573052
694aa5ea782be07cf443d4709085a47bb79d561b
1,106
cpp
C++
Bus/MessageBus.cpp
ngrande/Banshee
4109b546c305a45de3675ddf149dbe64af934940
[ "MIT" ]
null
null
null
Bus/MessageBus.cpp
ngrande/Banshee
4109b546c305a45de3675ddf149dbe64af934940
[ "MIT" ]
null
null
null
Bus/MessageBus.cpp
ngrande/Banshee
4109b546c305a45de3675ddf149dbe64af934940
[ "MIT" ]
null
null
null
// // Copyright (c) 2016 by Niclas Grande. All Rights Reserved. // #include "MessageBus.h" #include <algorithm> MessageBus::MessageBus(void) { this->pStopped = false; this->pMsgThread = std::thread(&MessageBus::processMsgQueue, this); this->pMsgThread.detach(); } void MessageBus::processMsgQueue() { while (!...
24.577778
69
0.621157