hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 108 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 67k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b6ed6b2a9fd5ffb84efc910fb22de7b63032c805 | 6,033 | hpp | C++ | cpp-cgdk/debug_strategy.hpp | elsid/CodeWizards | 6c7b5df632ec3d0a26fbf9b7f5fa8a3d5e0316ca | [
"MIT"
] | null | null | null | cpp-cgdk/debug_strategy.hpp | elsid/CodeWizards | 6c7b5df632ec3d0a26fbf9b7f5fa8a3d5e0316ca | [
"MIT"
] | null | null | null | cpp-cgdk/debug_strategy.hpp | elsid/CodeWizards | 6c7b5df632ec3d0a26fbf9b7f5fa8a3d5e0316ca | [
"MIT"
] | null | null | null | #pragma once
#include "optimal_position.hpp"
#include "base_strategy.hpp"
#include "russian-ai-cup-visual/Debug.h"
#ifdef ELSID_STRATEGY_DEBUG
#include "debug/output.hpp"
#include <iostream>
#endif
namespace strategy {
std::int32_t get_color(double red, double green, double blue);
std::int32_t get_color(double ... | 41.321918 | 127 | 0.64661 | elsid |
b6efaa635845b973b93fecf7dc5b35d5a17f31a6 | 632 | cpp | C++ | queue/exp.cpp | JN513/intensivo-geduc-obi-2021 | 056a0f4d1f44bee2097da63e753ddd198527f941 | [
"MIT"
] | 1 | 2021-12-06T23:47:13.000Z | 2021-12-06T23:47:13.000Z | queue/exp.cpp | JN513/intensivo-geduc-obi-2021 | 056a0f4d1f44bee2097da63e753ddd198527f941 | [
"MIT"
] | null | null | null | queue/exp.cpp | JN513/intensivo-geduc-obi-2021 | 056a0f4d1f44bee2097da63e753ddd198527f941 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define ll long long int
#define nl endl
using namespace std;
int main(void){
queue<int> fila;
//fila.push(1);
//fila.push(2);
//cout << fila.front() << nl;
//fila.pop();
//cout << fila.front() << nl;
for(int i = 10; i <= 100; i += 10){
fila.push(i);... | 19.75 | 74 | 0.580696 | JN513 |
b6f307c0eb2a2f173253c48e745d65544e4280c3 | 3,905 | cc | C++ | platforms/stm/event_handler_test/src/dartino_entry.cc | dartino/fletch | aa7aba8473f405dd49b9c81b0faeeebfa6e94fc8 | [
"BSD-3-Clause"
] | 144 | 2016-01-29T00:14:04.000Z | 2021-02-20T09:36:11.000Z | platforms/stm/event_handler_test/src/dartino_entry.cc | akashfoss/sdk | aa7aba8473f405dd49b9c81b0faeeebfa6e94fc8 | [
"BSD-3-Clause"
] | 241 | 2016-01-27T15:37:56.000Z | 2016-09-09T07:34:07.000Z | platforms/stm/event_handler_test/src/dartino_entry.cc | akashfoss/sdk | aa7aba8473f405dd49b9c81b0faeeebfa6e94fc8 | [
"BSD-3-Clause"
] | 30 | 2016-02-23T18:14:54.000Z | 2020-10-18T13:49:34.000Z | // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE.md file.
#include <stdlib.h>
#include <cmsis_os.h>
extern "C" {
#include <lcd_log.h>
}
#include <stm3274... | 30.271318 | 79 | 0.732907 | dartino |
b6f5c1412e66019b23ff971ae9a9ed28e868d6b4 | 7,333 | cpp | C++ | src/FastRoute/third_party/pdrev/src/pdrev.cpp | ax3ghazy/OpenROAD | 2d41acd184d2fb5c551fbdb1f74bbe73a782de6f | [
"BSD-3-Clause-Clear"
] | null | null | null | src/FastRoute/third_party/pdrev/src/pdrev.cpp | ax3ghazy/OpenROAD | 2d41acd184d2fb5c551fbdb1f74bbe73a782de6f | [
"BSD-3-Clause-Clear"
] | null | null | null | src/FastRoute/third_party/pdrev/src/pdrev.cpp | ax3ghazy/OpenROAD | 2d41acd184d2fb5c551fbdb1f74bbe73a782de6f | [
"BSD-3-Clause-Clear"
] | null | null | null | #include "pdrev.h"
#include "aux.h"
namespace PD{
void PdRev::setAlphaPDII(float alpha){
alpha2 = alpha;
}
void PdRev::addNet(int numPins, std::vector<unsigned> x, std::vector<unsigned> y){
my_graphs.push_back(new Graph(numPins, verbose, alpha1, alpha2,
... | 37.798969 | 159 | 0.472931 | ax3ghazy |
b6f62a62f0c999235107a02630803ec86914787a | 20,782 | cpp | C++ | enduser/netmeeting/ui/msconfft/applet.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | enduser/netmeeting/ui/msconfft/applet.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | enduser/netmeeting/ui/msconfft/applet.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z |
#include "mbftpch.h"
#include <it120app.h>
#include <regentry.h>
#include <iappldr.h>
#include <version.h>
HINSTANCE g_hDllInst;
DWORD g_dwWorkThreadID = 0;
HANDLE g_hWorkThread = NULL;
CFileTransferApplet *g_pFileXferApplet = NULL;
CRITICAL_SECTION g_csWorkThread;
TCHAR g_szMBFTWndClassName[32];
c... | 27.416887 | 131 | 0.596766 | npocmaka |
b6f8076d7844f29d7572fd5a4900bdf2923288ef | 9,797 | cpp | C++ | EMA_HFODE/src/EMA_main.cpp | NctuICLab/GREMA | 1ded5168e644b6cf4e219e28320f7e84aa3dba84 | [
"MIT"
] | 3 | 2019-04-27T10:34:27.000Z | 2021-11-08T12:20:59.000Z | EMA_HFODE/src/EMA_main.cpp | NctuICLab/GREMA | 1ded5168e644b6cf4e219e28320f7e84aa3dba84 | [
"MIT"
] | null | null | null | EMA_HFODE/src/EMA_main.cpp | NctuICLab/GREMA | 1ded5168e644b6cf4e219e28320f7e84aa3dba84 | [
"MIT"
] | null | null | null | //
// EMA_main.cpp
// EMA_Hillsum_mask
//
// Created by Mingju on 2017/3/10.
// Copyright (c) 2015 Mingju. All rights reserved.
//
#include "Define.h"
#include "IGA.h"
#include "OrthogonalArray.h"
#include "Model.h"
#include "Getknowledge.h"
#include "Objfunction.h"
using namespace std;
int iteration;
int test_mode... | 27.213889 | 137 | 0.557109 | NctuICLab |
b6fa6bb10e760f6a1214161ac9d0ab9518d9fbcd | 12,390 | cpp | C++ | Codegen/RVInst.cpp | Yveh/Compiler-Mx_star | e00164537528858ed128dbc5a5c4cf7006d6276e | [
"MIT"
] | 1 | 2020-01-23T14:34:11.000Z | 2020-01-23T14:34:11.000Z | Codegen/RVInst.cpp | Yveh/Compiler-Mx_star | e00164537528858ed128dbc5a5c4cf7006d6276e | [
"MIT"
] | null | null | null | Codegen/RVInst.cpp | Yveh/Compiler-Mx_star | e00164537528858ed128dbc5a5c4cf7006d6276e | [
"MIT"
] | null | null | null | #include "RVInst.h"
RVFunction::RVFunction(std::string _name) : name(_name) {
regcnt = 0;
paramInStackOffset = 0;
}
std::string RVFunction::to_string() {
return name;
}
RVBlock::RVBlock(int _label) : label(_label) {}
std::string RVBlock::to_string() {
return "." + funcName + "_.bb" + std::to_string(... | 25.030303 | 196 | 0.549395 | Yveh |
b6fa9c62c5ec2b10ecd62b2efd9b9de8589c0575 | 9,317 | cc | C++ | third_party/blink/renderer/core/script/dynamic_module_resolver.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | third_party/blink/renderer/core/script/dynamic_module_resolver.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | third_party/blink/renderer/core/script/dynamic_module_resolver.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2017 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 "third_party/blink/renderer/core/script/dynamic_module_resolver.h"
#include "third_party/blink/public/platform/web_url_request.h"
#include "thir... | 41.225664 | 142 | 0.711602 | zipated |
b6fe175e57a621f051f8f4632fb5265364b39c73 | 245 | hpp | C++ | Kmer.hpp | harkoslav/BioInformatics-Project-2019 | 65ce99e834c73cb1efc8021dbe2c5065050dd7f1 | [
"MIT"
] | null | null | null | Kmer.hpp | harkoslav/BioInformatics-Project-2019 | 65ce99e834c73cb1efc8021dbe2c5065050dd7f1 | [
"MIT"
] | null | null | null | Kmer.hpp | harkoslav/BioInformatics-Project-2019 | 65ce99e834c73cb1efc8021dbe2c5065050dd7f1 | [
"MIT"
] | null | null | null | #include <string>
#ifndef KMER
#define KMER
/*
Class representing k-mer substring and it's index
in the reference string.
*/
class Kmer {
public:
std::string str;
int index;
Kmer(std::string, int i);
};
#endif | 13.611111 | 49 | 0.616327 | harkoslav |
8e0183724f10147652421c6c5ab724dee80d1cec | 1,547 | cpp | C++ | tests/Game/Utilities/test_Database.cpp | maspe36/WhispererEngine | ff118f91506576e251c16b1f13ba38696c09e7c1 | [
"Apache-2.0"
] | 3 | 2017-09-21T18:58:11.000Z | 2018-03-07T06:54:17.000Z | tests/Game/Utilities/test_Database.cpp | maspe36/WhispererEngine | ff118f91506576e251c16b1f13ba38696c09e7c1 | [
"Apache-2.0"
] | null | null | null | tests/Game/Utilities/test_Database.cpp | maspe36/WhispererEngine | ff118f91506576e251c16b1f13ba38696c09e7c1 | [
"Apache-2.0"
] | null | null | null | //
// Created by Sam on 11/18/2017.
//
#include <iostream>
#include "../../../build/catch-src/include/catch.hpp"
#include "../../../include/Game/Utilities/Database.h"
#include "../../../include/Game/Python/Factory.h"
TEST_CASE("Create database")
{
Database database;
}
TEST_CASE("Verify get CardIDs for Deck SQL")... | 35.159091 | 85 | 0.477699 | maspe36 |
8e028d821a1e056348937e629dbb15b7cf0b9b05 | 2,775 | hpp | C++ | src/Main/mixing.hpp | pwang234/lsms | 6044153b6138512093e457bdc0c15c699c831778 | [
"BSD-3-Clause"
] | 16 | 2018-04-03T15:35:47.000Z | 2022-03-01T03:19:23.000Z | src/Main/mixing.hpp | pwang234/lsms | 6044153b6138512093e457bdc0c15c699c831778 | [
"BSD-3-Clause"
] | 8 | 2019-07-30T13:59:18.000Z | 2022-03-31T17:43:35.000Z | src/Main/mixing.hpp | pwang234/lsms | 6044153b6138512093e457bdc0c15c699c831778 | [
"BSD-3-Clause"
] | 9 | 2018-06-30T00:30:48.000Z | 2022-01-31T09:14:29.000Z | /* -*- c-file-style: "bsd"; c-basic-offset: 2; indent-tabs-mode: nil -*- */
#ifndef LSMS_MIXING_H
#define LSMS_MIXING_H
#include "Real.hpp"
#include "SystemParameters.hpp"
#include "SingleSite/AtomData.hpp"
// #include "Communication/LSMSCommunication.hpp"
#include <vector>
#include <deque>
#include <cmath>
#include ... | 33.035714 | 119 | 0.667387 | pwang234 |
8e029220884062c1ec415c51f364117ed200c02a | 495 | cpp | C++ | lib/dtrsm.cpp | langou/latl | df838fb44a1ef5c77b57bf60bd46eaeff8db3492 | [
"BSD-3-Clause-Open-MPI"
] | 6 | 2015-12-13T09:10:11.000Z | 2022-02-09T23:18:22.000Z | lib/dtrsm.cpp | langou/latl | df838fb44a1ef5c77b57bf60bd46eaeff8db3492 | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | lib/dtrsm.cpp | langou/latl | df838fb44a1ef5c77b57bf60bd46eaeff8db3492 | [
"BSD-3-Clause-Open-MPI"
] | 2 | 2019-02-01T06:46:36.000Z | 2022-02-09T23:18:24.000Z | //
// dtrsm.cpp
// Linear Algebra Template Library
//
// Created by Rodney James on 1/1/13.
// Copyright (c) 2013 University of Colorado Denver. All rights reserved.
//
#include "blas.h"
#include "trsm.h"
using LATL::TRSM;
int dtrsm_(char& side, char& uplo, char& trans, char& diag, int &m, int &n, double &alpha,... | 23.571429 | 132 | 0.650505 | langou |
8e03ea38d25c8473485c5684c18025236108bbe2 | 3,260 | cpp | C++ | source_code/system_sys/source_code/gui/_Sys_Abstract_Base_Wid.cpp | dabachma/ProMaIDes_src | 3fa6263c46f89abbdb407f2e1643843d54eb6ccc | [
"BSD-3-Clause"
] | null | null | null | source_code/system_sys/source_code/gui/_Sys_Abstract_Base_Wid.cpp | dabachma/ProMaIDes_src | 3fa6263c46f89abbdb407f2e1643843d54eb6ccc | [
"BSD-3-Clause"
] | null | null | null | source_code/system_sys/source_code/gui/_Sys_Abstract_Base_Wid.cpp | dabachma/ProMaIDes_src | 3fa6263c46f89abbdb407f2e1643843d54eb6ccc | [
"BSD-3-Clause"
] | null | null | null | //#include "_Sys_Abstract_Base_Wid.h"
#include "Sys_Headers_Precompiled.h"
#include <QScrollBar>
//Default constructor
_Sys_Abstract_Base_Wid::_Sys_Abstract_Base_Wid(QWidget *parent): _Sys_Data_Wid(parent) {
//Qt stuff
this->setupUi(this);
this->ptr_database=NULL;
this->edit_icon = QIcon(":hydro/Preferences");
... | 33.265306 | 166 | 0.767485 | dabachma |
8e0a2401c22f8a95df0558dda25b75607c7c5ccb | 1,029 | cpp | C++ | main/minimum-swaps-2-hr/minimum-swaps-2-hr.cpp | EliahKagan/old-practice-snapshot | 1b53897eac6902f8d867c8f154ce2a489abb8133 | [
"0BSD"
] | null | null | null | main/minimum-swaps-2-hr/minimum-swaps-2-hr.cpp | EliahKagan/old-practice-snapshot | 1b53897eac6902f8d867c8f154ce2a489abb8133 | [
"0BSD"
] | null | null | null | main/minimum-swaps-2-hr/minimum-swaps-2-hr.cpp | EliahKagan/old-practice-snapshot | 1b53897eac6902f8d867c8f154ce2a489abb8133 | [
"0BSD"
] | null | null | null | #include <algorithm>
#include <iostream>
#include <iterator>
#include <utility>
#include <vector>
namespace {
std::vector<int> read_fixed_zero_permutation()
{
std::vector<int>::size_type n {};
std::cin >> n;
std::vector<int> a (n + 1);
std::for_each(std::next(begin(a)), end(a),... | 21.4375 | 63 | 0.500486 | EliahKagan |
8e0afdfe586781c6848373db847af2aa113a764e | 753 | cpp | C++ | txttobmp.cpp | DBFritz/ParticleDetections | cd05979c58b79c27259479e948c445867a7a838f | [
"MIT"
] | 1 | 2018-04-05T02:26:57.000Z | 2018-04-05T02:26:57.000Z | txttobmp.cpp | DBFritz/ParticleDetections | cd05979c58b79c27259479e948c445867a7a838f | [
"MIT"
] | null | null | null | txttobmp.cpp | DBFritz/ParticleDetections | cd05979c58b79c27259479e948c445867a7a838f | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include "rawImages.hpp"
#include "rawFilters.hpp"
int main(int argc, char *argv[])
{
using namespace std;
using namespace raw;
if (argc <= 2) {
cout << "usage: " << argv[0] << " /path/to/photo.txt /path/to/new/photo.bmp [minValue] [maxValue]";
return... | 25.1 | 107 | 0.616202 | DBFritz |
8e0d4933e3646a21e4003398ef93fed144a2becf | 886 | cpp | C++ | problem-solving-strategies/packing/main.cpp | sunho/algorithms | f1b05d1dba70d8bda884cd80188ce3bcedfeac56 | [
"MIT"
] | null | null | null | problem-solving-strategies/packing/main.cpp | sunho/algorithms | f1b05d1dba70d8bda884cd80188ce3bcedfeac56 | [
"MIT"
] | 1 | 2021-01-27T05:21:37.000Z | 2021-01-27T05:21:37.000Z | problem-solving-strategies/packing/main.cpp | sunho/algorithms | f1b05d1dba70d8bda884cd80188ce3bcedfeac56 | [
"MIT"
] | null | null | null | #include <iostream>
#include <array>
#include <vector>
using namespace std;
typedef struct {
string name;
int volume;
int desire;
} item;
array< array<int, 1000>, 100> memory;
vector<item> items;
int pack(int n, int w) {
auto& m = memory[n][w];
if (n == items.size()) {
return 0;
}
if (w == 0) {
return 0;... | 14.52459 | 50 | 0.525959 | sunho |
8e0ef9add2847f1e92644c7e0dfbc0dd17287b3c | 9,211 | cpp | C++ | HTTPProxy.cpp | kytvi2p/i2pd | 73d402525636276ac78aa92ea88535911e21928c | [
"BSD-3-Clause"
] | 4 | 2015-09-28T16:01:55.000Z | 2021-04-08T19:26:50.000Z | HTTPProxy.cpp | kytvi2p/i2pd | 73d402525636276ac78aa92ea88535911e21928c | [
"BSD-3-Clause"
] | null | null | null | HTTPProxy.cpp | kytvi2p/i2pd | 73d402525636276ac78aa92ea88535911e21928c | [
"BSD-3-Clause"
] | null | null | null | #include <cstring>
#include <cassert>
#include <boost/lexical_cast.hpp>
#include <boost/regex.hpp>
#include <string>
#include <atomic>
#include "HTTPProxy.h"
#include "util.h"
#include "Identity.h"
#include "Streaming.h"
#include "Destination.h"
#include "ClientContext.h"
#include "I2PEndian.h"
#include "I2PTunnel.h"
... | 30.703333 | 140 | 0.685159 | kytvi2p |
8e117d7bc41858c16639b98bc114ae97ae96e560 | 11,765 | cpp | C++ | src/xrGame/CarInput.cpp | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 2 | 2015-02-23T10:43:02.000Z | 2015-06-11T14:45:08.000Z | src/xrGame/CarInput.cpp | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 17 | 2022-01-25T08:58:23.000Z | 2022-03-28T17:18:28.000Z | src/xrGame/CarInput.cpp | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 1 | 2015-06-05T20:04:00.000Z | 2015-06-05T20:04:00.000Z | #include "StdAfx.h"
#pragma hdrstop
#ifdef DEBUG
#include "PHDebug.h"
#endif
#include "alife_space.h"
#include "Hit.h"
#include "PHDestroyable.h"
#include "Car.h"
#include "Actor.h"
#include "CameraLook.h"
#include "CameraFirstEye.h"
#include "script_entity_action.h"
#include "xrEngine/xr_level_controller.h"
#include ... | 26.860731 | 119 | 0.58317 | clayne |
8e14d135e6b5fcd11430de516e3b4204aab09577 | 1,179 | cpp | C++ | GazeTracker/GazeTracker_Qt/GazeTracker.cpp | bernhardrieder/GazeTracker | b468a03cb986a4950ee1d2a49df759e17a80c5cc | [
"MIT"
] | null | null | null | GazeTracker/GazeTracker_Qt/GazeTracker.cpp | bernhardrieder/GazeTracker | b468a03cb986a4950ee1d2a49df759e17a80c5cc | [
"MIT"
] | null | null | null | GazeTracker/GazeTracker_Qt/GazeTracker.cpp | bernhardrieder/GazeTracker | b468a03cb986a4950ee1d2a49df759e17a80c5cc | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "GazeTracker.h"
GazeTracker::GazeTracker(int argc, char* argv[]) : qApplication(argc, argv)
{
CreateDirectory(LPWSTR(std::wstring(L"C:/GazeTracker").c_str()), NULL);
CreateDirectory(LPWSTR(std::wstring(L"C:/GazeTracker/Output").c_str()), NULL);
CreateDirectory(LPWSTR(std::wstring(L"C:/... | 31.026316 | 178 | 0.737913 | bernhardrieder |
8e14d6363768e8360a9e08995d1ef621c8b61e7a | 2,508 | cpp | C++ | beringei/lib/BucketUtils.cpp | pidb/Gorilla | 75c3002b179d99c8709323d605e7d4b53484035c | [
"BSD-3-Clause"
] | 2,780 | 2016-12-22T19:25:26.000Z | 2018-05-21T11:29:42.000Z | beringei/lib/BucketUtils.cpp | pidb/Gorilla | 75c3002b179d99c8709323d605e7d4b53484035c | [
"BSD-3-Clause"
] | 57 | 2016-12-23T09:22:18.000Z | 2018-05-04T06:26:48.000Z | beringei/lib/BucketUtils.cpp | pidb/Gorilla | 75c3002b179d99c8709323d605e7d4b53484035c | [
"BSD-3-Clause"
] | 254 | 2016-12-22T20:53:12.000Z | 2018-05-16T06:14:10.000Z | /**
* Copyright (c) 2016-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.
*/
#include "... | 28.179775 | 79 | 0.732057 | pidb |
8e1749e57da027882ab38db68c14e6d9f1808363 | 2,545 | hpp | C++ | storage/include/s3/s3_metrics.hpp | definitelyNotFBI/utt | 1695e3a1f81848e19b042cdc4db9cf1d263c26a9 | [
"Apache-2.0"
] | 340 | 2018-08-27T16:30:45.000Z | 2022-03-28T14:31:44.000Z | storage/include/s3/s3_metrics.hpp | definitelyNotFBI/utt | 1695e3a1f81848e19b042cdc4db9cf1d263c26a9 | [
"Apache-2.0"
] | 706 | 2018-09-02T17:50:32.000Z | 2022-03-31T13:03:15.000Z | storage/include/s3/s3_metrics.hpp | glevkovich/concord-bft | a1b7b57472f5375230428d16c613a760b33233fa | [
"Apache-2.0"
] | 153 | 2018-08-29T05:37:25.000Z | 2022-03-23T14:08:45.000Z | #pragma once
#include "Metrics.hpp"
#include "sliver.hpp"
#include "Logger.hpp"
namespace concord::storage::s3 {
class Metrics {
public:
Metrics()
: metrics_component{concordMetrics::Component("s3", std::make_shared<concordMetrics::Aggregator>())},
num_keys_transferred{metrics_component.RegisterCount... | 34.391892 | 117 | 0.653045 | definitelyNotFBI |
8e1d27d157cca0f5c76c77c661ae3e821bd5b046 | 1,641 | hh | C++ | transformations/base/ViewHistBased.hh | gnafit/gna | c1a58dac11783342c97a2da1b19c97b85bce0394 | [
"MIT"
] | 5 | 2019-10-14T01:06:57.000Z | 2021-02-02T16:33:06.000Z | transformations/base/ViewHistBased.hh | gnafit/gna | c1a58dac11783342c97a2da1b19c97b85bce0394 | [
"MIT"
] | null | null | null | transformations/base/ViewHistBased.hh | gnafit/gna | c1a58dac11783342c97a2da1b19c97b85bce0394 | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include "GNAObject.hh"
#include "GNAObjectBind1N.hh"
#include <boost/optional.hpp>
namespace GNA{
namespace GNAObjectTemplates{
template<typename FloatType>
class ViewHistBasedT: public GNAObjectBind1N<FloatType>,
public TransformationB... | 34.914894 | 104 | 0.645338 | gnafit |
8e1d3a807ecef95bcc4335e51e90a4ef97c347d4 | 3,767 | cpp | C++ | src/HistoryImp.cpp | esrille/escudo | 1ba68f6930f1ddb97385a5b488644b6dfa132152 | [
"Apache-2.0"
] | 29 | 2015-01-25T15:12:02.000Z | 2021-12-01T17:58:17.000Z | src/HistoryImp.cpp | esrille/escudo | 1ba68f6930f1ddb97385a5b488644b6dfa132152 | [
"Apache-2.0"
] | null | null | null | src/HistoryImp.cpp | esrille/escudo | 1ba68f6930f1ddb97385a5b488644b6dfa132152 | [
"Apache-2.0"
] | 7 | 2015-04-15T02:05:21.000Z | 2020-06-16T03:53:37.000Z | /*
* Copyright 2011-2013 Esrille 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 agre... | 22.692771 | 112 | 0.667109 | esrille |
8e219bc206519d8fe58f1ff69aa00afd382bec18 | 294 | cc | C++ | solution_06/src/DetParticle.cc | williamhbell/HepCppIntro | 975535e4daef8fa25f143731db62304a3812ee5f | [
"MIT"
] | null | null | null | solution_06/src/DetParticle.cc | williamhbell/HepCppIntro | 975535e4daef8fa25f143731db62304a3812ee5f | [
"MIT"
] | null | null | null | solution_06/src/DetParticle.cc | williamhbell/HepCppIntro | 975535e4daef8fa25f143731db62304a3812ee5f | [
"MIT"
] | null | null | null | /* W. H. Bell
** A simple detector particle container class
*/
#include "DetParticle.h"
#include "Particle.h"
DetParticle::DetParticle (int id,
double *p3vec,
int trackId): Particle(id, p3vec),
m_trackId(trackId) {
}
int DetParticle::trackId(void) {
return m_trackId;
}
| 16.333333 | 45 | 0.670068 | williamhbell |
8e2507614b8b9737a2144fc1895036e25ae7e119 | 32,910 | cpp | C++ | sdktools/sdv/sdview.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | sdktools/sdv/sdview.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | sdktools/sdv/sdview.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*****************************************************************************
*
* sdview.cpp
*
* Lame SD Viewer app.
*
*****************************************************************************/
#include "sdview.h"
HINSTANCE g_hinst;
HCURSOR g_hcurWait;
HCURSOR g_hcurArrow;
HCUR... | 27.60906 | 88 | 0.450076 | npocmaka |
8e26a0fcbb823784a5633a2804b8d1e894e4486b | 1,562 | cpp | C++ | packages/+GT/GenericTargetCode/source/GenericTarget/TargetTime.cpp | RobertDamerius/GenericTarget | 6b26793c2d580797ac8104ca5368987cbb570ef8 | [
"MIT"
] | 1 | 2021-02-02T09:01:24.000Z | 2021-02-02T09:01:24.000Z | packages/+GT/GenericTargetCode/source/GenericTarget/TargetTime.cpp | RobertDamerius/GenericTarget | 6b26793c2d580797ac8104ca5368987cbb570ef8 | [
"MIT"
] | null | null | null | packages/+GT/GenericTargetCode/source/GenericTarget/TargetTime.cpp | RobertDamerius/GenericTarget | 6b26793c2d580797ac8104ca5368987cbb570ef8 | [
"MIT"
] | 2 | 2021-02-02T09:01:45.000Z | 2021-10-02T13:08:16.000Z | #include <TargetTime.hpp>
TimeInfo::TimeInfo(){
nanoseconds = 0;
second = 0;
minute = 0;
hour = 0;
mday = 1;
mon = 0;
year = 0;
wday = 1;
yday = 0;
isdst = -1;
}
TimeInfo::TimeInfo(const TimeInfo& time){
this->nanoseconds = time.nanoseconds;
this->second = time.second;... | 21.108108 | 57 | 0.597951 | RobertDamerius |
8e2723d7eeb9e5ed1dd60ab8288dda838ad6fd53 | 7,864 | hpp | C++ | include/tacklelib/utility/memory.hpp | andry81/tacklelib | e77216839a6c2397b31e8f7a278892bb90b58d4b | [
"MIT"
] | 4 | 2021-03-11T07:10:52.000Z | 2022-01-01T22:36:31.000Z | include/tacklelib/utility/memory.hpp | andry81/tacklelib | e77216839a6c2397b31e8f7a278892bb90b58d4b | [
"MIT"
] | null | null | null | include/tacklelib/utility/memory.hpp | andry81/tacklelib | e77216839a6c2397b31e8f7a278892bb90b58d4b | [
"MIT"
] | null | null | null | #pragma once
// DO NOT REMOVE, exists to avoid private/public headers mixing!
#ifndef UTILITY_MEMORY_HPP
#define UTILITY_MEMORY_HPP
#include <tacklelib/tacklelib.hpp>
#include <tacklelib/utility/platform.hpp>
#include <tacklelib/utility/type_traits.hpp>
#include <tacklelib/utility/addressof.hpp>
#include ... | 31.838057 | 173 | 0.55913 | andry81 |
8e28917a8f45659fb1a3bad446e4d35c8d6d5044 | 755 | cpp | C++ | cpp/vmethods.cpp | Rugang/scraps | 5c93bc84de32a7b8011258c0371f2a132ace3f5f | [
"BSD-3-Clause"
] | 35 | 2015-04-19T16:18:11.000Z | 2022-03-14T18:16:06.000Z | cpp/vmethods.cpp | Rugang/scraps | 5c93bc84de32a7b8011258c0371f2a132ace3f5f | [
"BSD-3-Clause"
] | null | null | null | cpp/vmethods.cpp | Rugang/scraps | 5c93bc84de32a7b8011258c0371f2a132ace3f5f | [
"BSD-3-Clause"
] | 22 | 2015-04-07T07:28:35.000Z | 2022-03-14T18:31:08.000Z | #include <iostream>
class Foo
{
public:
void f()
{
std::cout << "Foo::f()" << std::endl;
}
virtual void g()
{
std::cout << "Foo::g()" << std::endl;
}
}
class Bar : public Foo
{
public:
void f()
{
std::cout << "Bar::f()" << std::endl;
}
virtual void g()
... | 13.981481 | 45 | 0.393377 | Rugang |
8e29bd542577cb6885007975f0ac9c79f5b4dcee | 1,010 | cpp | C++ | 1.cpp | nitin-maharana/CODE | 126826c36d8b7fa578c8e78e570117c53327e461 | [
"MIT"
] | 1 | 2016-03-05T11:40:39.000Z | 2016-03-05T11:40:39.000Z | 1.cpp | nitin-maharana/CODE | 126826c36d8b7fa578c8e78e570117c53327e461 | [
"MIT"
] | null | null | null | 1.cpp | nitin-maharana/CODE | 126826c36d8b7fa578c8e78e570117c53327e461 | [
"MIT"
] | null | null | null | /*
* Written by Nitin Kumar Maharana
* nitin.maharana@gmail.com
*/
#include <iostream>
using namespace std;
template <class T>
struct node
{
T val;
struct node *next;
};
template <class T>
class Stack
{
struct node<T> *top;
public:
Stack()
{
top = nullptr;
}
void push(T item)
{
struct node... | 11.609195 | 51 | 0.541584 | nitin-maharana |
8e2dcdcaad06eec9461def636d8c13e1cabd2840 | 1,537 | cpp | C++ | Full.cpp | satans404/Project-2--CS205-C-C-Program-Design | 53f555145858bfa58564c57eee2706be60becf78 | [
"Apache-2.0"
] | null | null | null | Full.cpp | satans404/Project-2--CS205-C-C-Program-Design | 53f555145858bfa58564c57eee2706be60becf78 | [
"Apache-2.0"
] | null | null | null | Full.cpp | satans404/Project-2--CS205-C-C-Program-Design | 53f555145858bfa58564c57eee2706be60becf78 | [
"Apache-2.0"
] | null | null | null | #include "Full.h"
#include "Matrix.h"
using namespace std;
Full::Full():Layer(Layer::Type::Full)
{
this->inX=0;
this->inY=0;
this->inDimX=0;
this->inDimY=0;
this->outX=0;
this->outY=0;
this->outDimX=0;
this->outDimY=0;
this->pad=0;
}
Full::Full(int inDimX,int inD... | 18.975309 | 75 | 0.540664 | satans404 |
8e2df932bba2d46cdf5d6f96337cb20fadb4dd7b | 36,310 | cc | C++ | src/client/client.cc | septicmk/v6d | 3c64e0a324adfe71feb4bfda51d0e55724bfde8d | [
"Apache-2.0"
] | null | null | null | src/client/client.cc | septicmk/v6d | 3c64e0a324adfe71feb4bfda51d0e55724bfde8d | [
"Apache-2.0"
] | null | null | null | src/client/client.cc | septicmk/v6d | 3c64e0a324adfe71feb4bfda51d0e55724bfde8d | [
"Apache-2.0"
] | null | null | null | /** Copyright 2020-2021 Alibaba Group Holding Limited.
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... | 32.800361 | 80 | 0.663839 | septicmk |
8e2e58e183d0f3a0a3d3db1b893fa692e22e758c | 3,126 | cpp | C++ | Boss2D/element/boss_matrix.cpp | Yash-Wasalwar-07/Boss2D | 37c5ba0f1c83c89810359a207cabfa0905f803d2 | [
"MIT"
] | null | null | null | Boss2D/element/boss_matrix.cpp | Yash-Wasalwar-07/Boss2D | 37c5ba0f1c83c89810359a207cabfa0905f803d2 | [
"MIT"
] | null | null | null | Boss2D/element/boss_matrix.cpp | Yash-Wasalwar-07/Boss2D | 37c5ba0f1c83c89810359a207cabfa0905f803d2 | [
"MIT"
] | null | null | null | #include <boss.hpp>
#include "boss_matrix.hpp"
namespace BOSS
{
Matrix::Matrix()
{
m11 = 1;
m12 = 0;
m21 = 0;
m22 = 1;
dx = 0;
dy = 0;
}
Matrix::Matrix(const Matrix& rhs)
{
operator=(rhs);
}
Matrix::Matrix(float ... | 28.162162 | 98 | 0.493282 | Yash-Wasalwar-07 |
8e31828098ed45870d9495348664e2465ce1179c | 1,182 | hpp | C++ | Compiler/boost/boost/signals2/detail/replace_slot_function.hpp | davidov541/MiniC | d3b16a1568b97a4d801880b110a8be04fe848adb | [
"Apache-2.0"
] | 2 | 2015-04-16T01:05:53.000Z | 2019-08-26T07:38:43.000Z | LibsExternes/Includes/boost/signals2/detail/replace_slot_function.hpp | benkaraban/anima-games-engine | 8aa7a5368933f1b82c90f24814f1447119346c3b | [
"BSD-3-Clause"
] | null | null | null | LibsExternes/Includes/boost/signals2/detail/replace_slot_function.hpp | benkaraban/anima-games-engine | 8aa7a5368933f1b82c90f24814f1447119346c3b | [
"BSD-3-Clause"
] | null | null | null | // Copyright Frank Mori Hess 2007-2009
//
// Use, modification and
// distribution is subject to 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)
// For more information, see http://www.boost.org
#ifndef BOOST_SIGNALS2_DETA... | 31.105263 | 89 | 0.693739 | davidov541 |
8e33160405802224bf3cf0d56c8a29ca37336602 | 2,887 | hpp | C++ | libs/dmlf/include/dmlf/colearn/update_store.hpp | marcuswin/ledger | b79c5c4e7e92ff02ea4328fcc0885bf8ded2b8b2 | [
"Apache-2.0"
] | 1 | 2019-09-11T09:46:04.000Z | 2019-09-11T09:46:04.000Z | libs/dmlf/include/dmlf/colearn/update_store.hpp | qati/ledger | e05a8f2d62ea1b79a704867d220cf307ef6b93b9 | [
"Apache-2.0"
] | null | null | null | libs/dmlf/include/dmlf/colearn/update_store.hpp | qati/ledger | e05a8f2d62ea1b79a704867d220cf307ef6b93b9 | [
"Apache-2.0"
] | 1 | 2019-09-19T12:38:46.000Z | 2019-09-19T12:38:46.000Z | #pragma once
//------------------------------------------------------------------------------
//
// Copyright 2018-2019 Fetch.AI Limited
//
// 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 Licen... | 35.641975 | 91 | 0.656044 | marcuswin |
8e347e5be5d2d3f3c9e4cf2410cc925090f906a3 | 4,771 | cpp | C++ | test/network/TcpClient.cpp | kubasejdak/utils | efc491e5f682f365bf4752a26f086910c89d6b25 | [
"BSD-2-Clause"
] | null | null | null | test/network/TcpClient.cpp | kubasejdak/utils | efc491e5f682f365bf4752a26f086910c89d6b25 | [
"BSD-2-Clause"
] | null | null | null | test/network/TcpClient.cpp | kubasejdak/utils | efc491e5f682f365bf4752a26f086910c89d6b25 | [
"BSD-2-Clause"
] | null | null | null | /////////////////////////////////////////////////////////////////////////////////////
///
/// @file
/// @author Kuba Sejdak
/// @copyright BSD 2-Clause License
///
/// Copyright (c) 2021-2021, Kuba Sejdak <kuba.sejdak@gmail.com>
/// All rights reserved.
///
/// Redistribution and use in source and binary forms, with or... | 35.340741 | 87 | 0.646405 | kubasejdak |
8e39bbf4687cfa58e7db8d9236e27f8c64514864 | 5,443 | cpp | C++ | solver.cpp | georgekouzi/solver-a | 594ea86eda750d20f6befe78b629a5c6bf06c6da | [
"MIT"
] | null | null | null | solver.cpp | georgekouzi/solver-a | 594ea86eda750d20f6befe78b629a5c6bf06c6da | [
"MIT"
] | null | null | null | solver.cpp | georgekouzi/solver-a | 594ea86eda750d20f6befe78b629a5c6bf06c6da | [
"MIT"
] | null | null | null | #include <iostream>
#include "solver.hpp"
using namespace std;
namespace solver{
double solve(RealVariable t){
return 1.0;
}
complex<double> solve(ComplexVariable) {
return complex<double>();
}
////////////////////////// func ComplexVariable/////////////////////////
////////////////////////... | 28.952128 | 80 | 0.534815 | georgekouzi |
8e3c17ab62f7f4cf40a3db6d1d785865b2eeaa69 | 1,811 | cpp | C++ | CvGameCoreDLL/Boost-1.32.0/include/boost/regex/src.cpp | macaurther/DOCUSA | 40586727c351d1b1130c05c2d4648cca3a8bacf5 | [
"MIT"
] | 93 | 2015-11-20T04:13:36.000Z | 2022-03-24T00:03:08.000Z | CvGameCoreDLL/Boost-1.32.0/include/boost/regex/src.cpp | macaurther/DOCUSA | 40586727c351d1b1130c05c2d4648cca3a8bacf5 | [
"MIT"
] | 206 | 2015-11-09T00:27:15.000Z | 2021-12-04T19:05:18.000Z | CvGameCoreDLL/Boost-1.32.0/include/boost/regex/src.cpp | dguenms/Dawn-of-Civilization | 1c4f510af97a869637cddb4c0859759158cea5ce | [
"MIT"
] | 117 | 2015-11-08T02:43:46.000Z | 2022-02-12T06:29:00.000Z | /*
*
* Copyright (c) 1998-2002
* Dr John Maddock
*
* Use, modification and distribution are subject to 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)
*
*/
/*
* LOCATION: see http://www.boost.org for mo... | 32.339286 | 128 | 0.694092 | macaurther |
8e3c304af56aa9d35b80d3624e903c87bb898124 | 1,515 | cpp | C++ | libz/types/real64.cpp | kmc7468/zlang | 08f9ba5dab502224bea5baa6f7a78c546094b7d0 | [
"MIT"
] | 5 | 2017-01-11T03:20:57.000Z | 2017-01-15T11:20:30.000Z | libz/types/real64.cpp | kmc7468/zlang | 08f9ba5dab502224bea5baa6f7a78c546094b7d0 | [
"MIT"
] | null | null | null | libz/types/real64.cpp | kmc7468/zlang | 08f9ba5dab502224bea5baa6f7a78c546094b7d0 | [
"MIT"
] | null | null | null | #include "real64.hpp"
namespace libz::types
{
int real64::compare(const instance& ins) const
{
if (ins.type() == type::real64)
{
const real64& ins_conv = (const real64&)ins;
if (this->m_data == ins_conv.m_data) return 0;
else if (this->m_data > ins_conv.m_data) return 1;
else return -1;
}
throw... | 22.61194 | 84 | 0.648185 | kmc7468 |
8e40af3902e91b0044e56e6e8e3b1f00f27d7706 | 1,734 | hpp | C++ | openscenario/openscenario_interpreter/include/openscenario_interpreter/syntax/infrastructure_action.hpp | autocore-ai/scenario_simulator_v2 | bb9569043e20649f0e4390e9225b6bb7b4de10b6 | [
"Apache-2.0"
] | null | null | null | openscenario/openscenario_interpreter/include/openscenario_interpreter/syntax/infrastructure_action.hpp | autocore-ai/scenario_simulator_v2 | bb9569043e20649f0e4390e9225b6bb7b4de10b6 | [
"Apache-2.0"
] | null | null | null | openscenario/openscenario_interpreter/include/openscenario_interpreter/syntax/infrastructure_action.hpp | autocore-ai/scenario_simulator_v2 | bb9569043e20649f0e4390e9225b6bb7b4de10b6 | [
"Apache-2.0"
] | null | null | null | // Copyright 2015-2020 Tier IV, Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by app... | 35.387755 | 97 | 0.700115 | autocore-ai |
8e4161ac8b1ff3c0ea278995007a8a776e1d52d0 | 3,909 | cpp | C++ | persist/tests/test_core/test_fsm/test_fsl.cpp | ketgo/persist | 623a5c32a9a0fd3e43987421aa1f91ab8284d356 | [
"MIT"
] | null | null | null | persist/tests/test_core/test_fsm/test_fsl.cpp | ketgo/persist | 623a5c32a9a0fd3e43987421aa1f91ab8284d356 | [
"MIT"
] | 11 | 2020-09-30T07:33:10.000Z | 2021-05-01T05:59:13.000Z | persist/tests/test_core/test_fsm/test_fsl.cpp | ketgo/persist | 623a5c32a9a0fd3e43987421aa1f91ab8284d356 | [
"MIT"
] | null | null | null | /**
* test_fsl.cpp - Persist
*
* Copyright 2021 Ketan Goyal
*
* 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, co... | 30.779528 | 80 | 0.724482 | ketgo |
8e41825b206c4b4d2de955950434199dd3f3720b | 4,864 | cpp | C++ | ige/src/plugin/physics/bullet3/BulletWorld.cpp | Arcahub/ige | b9f61209c924c7b683d2429a07e76251e6eb7b1b | [
"MIT"
] | 3 | 2021-06-05T00:36:50.000Z | 2022-02-27T10:23:53.000Z | ige/src/plugin/physics/bullet3/BulletWorld.cpp | Arcahub/ige | b9f61209c924c7b683d2429a07e76251e6eb7b1b | [
"MIT"
] | 11 | 2021-05-08T22:00:24.000Z | 2021-11-11T22:33:43.000Z | ige/src/plugin/physics/bullet3/BulletWorld.cpp | Arcahub/ige | b9f61209c924c7b683d2429a07e76251e6eb7b1b | [
"MIT"
] | 4 | 2021-05-20T12:41:23.000Z | 2021-11-09T14:19:18.000Z | #include "igepch.hpp"
#include "BulletGhostObject.hpp"
#include "BulletRigidBody.hpp"
#include "BulletWorld.hpp"
#include "ige/ecs/Entity.hpp"
#include "ige/ecs/World.hpp"
#include "ige/plugin/TransformPlugin.hpp"
#include "ige/plugin/physics/Constraint.hpp"
#include "ige/plugin/physics/GhostObject.hpp"
#include "ige/... | 30.21118 | 78 | 0.657484 | Arcahub |
8e42ea4ea3f9f071a18200c6f3982101826ab673 | 44,791 | cpp | C++ | spheroidal/sphwv/common_spheroidal.cpp | SabininGV/scattering | 68ffea5605d9da87db0593ba7c56c7f60f6b3fae | [
"BSD-2-Clause"
] | 5 | 2016-05-02T11:51:54.000Z | 2021-10-04T14:35:58.000Z | spheroidal/sphwv/common_spheroidal.cpp | SabininGV/scattering | 68ffea5605d9da87db0593ba7c56c7f60f6b3fae | [
"BSD-2-Clause"
] | null | null | null | spheroidal/sphwv/common_spheroidal.cpp | SabininGV/scattering | 68ffea5605d9da87db0593ba7c56c7f60f6b3fae | [
"BSD-2-Clause"
] | 10 | 2016-03-17T03:58:52.000Z | 2021-10-04T14:36:00.000Z | //
// Copyright (c) 2014, Ross Adelman, Nail A. Gumerov, and Ramani Duraiswami
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above cop... | 30.826566 | 429 | 0.540979 | SabininGV |
8e4850d32d9150a7bd458a3aac406739d0b10131 | 1,900 | cpp | C++ | example/sqlite.cpp | vashman/data_pattern_sqlite | 8ed3d1fe3e86ea7165d43277feb05d84189f696e | [
"BSL-1.0"
] | null | null | null | example/sqlite.cpp | vashman/data_pattern_sqlite | 8ed3d1fe3e86ea7165d43277feb05d84189f696e | [
"BSL-1.0"
] | null | null | null | example/sqlite.cpp | vashman/data_pattern_sqlite | 8ed3d1fe3e86ea7165d43277feb05d84189f696e | [
"BSL-1.0"
] | null | null | null | //
// Copyright Sundeep S. Sangha 2015 - 2017.
// 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 <cassert>
#include <data_pattern/raw.hpp>
#include "../src/sqlite.cpp"
using data_pa... | 24.675325 | 103 | 0.692632 | vashman |
8e4ecf58b810f2b9892fe1870855da6f26b49c8c | 1,040 | hpp | C++ | src/renhook/exception.hpp | fengjixuchui/RenHook-1 | 6b4c305573a0d1356c41f86f6419d55043150c64 | [
"MIT"
] | 77 | 2017-06-14T22:11:41.000Z | 2022-03-26T21:06:29.000Z | deps/renhook/src/renhook/exception.hpp | Jdiablo/RED4ext-BulkCraft | ca10f8a3b294dfe63fadd73875b1a59992332190 | [
"MIT"
] | null | null | null | deps/renhook/src/renhook/exception.hpp | Jdiablo/RED4ext-BulkCraft | ca10f8a3b294dfe63fadd73875b1a59992332190 | [
"MIT"
] | 23 | 2017-06-16T02:30:32.000Z | 2022-03-26T21:06:31.000Z | #ifndef RENHOOK_EXCEPTION_H
#define RENHOOK_EXCEPTION_H
#include <cstdint>
#include <stdexcept>
#include <string>
namespace renhook
{
/**
* @brief The general exception of the library.
*/
class exception : public std::runtime_error
{
public:
/**
* @brief Construct a new exc... | 24.186047 | 187 | 0.579808 | fengjixuchui |
8e4fadd04b317d1cc26373ba4f4585b22cdfda35 | 13,209 | cpp | C++ | ovr_sdk_mobile/VrAppFramework/Src/GlSetup_Windows.cpp | ejeinc/Meganekko | c62d82e8a5d2eb67af056282f4ff7c90cbd73494 | [
"Apache-2.0"
] | 25 | 2015-10-08T09:35:35.000Z | 2018-09-14T06:53:39.000Z | ovr_sdk_mobile/VrAppFramework/Src/GlSetup_Windows.cpp | ejeinc/Meganekko | c62d82e8a5d2eb67af056282f4ff7c90cbd73494 | [
"Apache-2.0"
] | 16 | 2015-09-28T07:21:55.000Z | 2017-04-25T02:31:57.000Z | ovr_sdk_mobile/VrAppFramework/Src/GlSetup_Windows.cpp | ejeinc/Meganekko | c62d82e8a5d2eb67af056282f4ff7c90cbd73494 | [
"Apache-2.0"
] | 11 | 2016-03-17T02:34:17.000Z | 2022-01-19T08:10:35.000Z | /************************************************************************************
Filename : GlSetup.cpp
Content : GL Setup
Created : August 24, 2013
Authors : John Carmack
Copyright : Copyright 2014 Oculus VR, LLC. All Rights reserved.
*************************************************... | 24.236697 | 149 | 0.663184 | ejeinc |
8e56dacb9ee6afeda813d52865390d9dae70ab66 | 956 | hpp | C++ | boost/network/protocol/http/message/wrappers/uri.hpp | sureandrew/cpp-netlib | a4dabd50dcd42f46ac152c733a3d39f32040185d | [
"BSL-1.0"
] | null | null | null | boost/network/protocol/http/message/wrappers/uri.hpp | sureandrew/cpp-netlib | a4dabd50dcd42f46ac152c733a3d39f32040185d | [
"BSL-1.0"
] | null | null | null | boost/network/protocol/http/message/wrappers/uri.hpp | sureandrew/cpp-netlib | a4dabd50dcd42f46ac152c733a3d39f32040185d | [
"BSL-1.0"
] | 1 | 2018-08-07T07:27:49.000Z | 2018-08-07T07:27:49.000Z | #ifndef BOOST_NETWORK_PROTOCOL_HTTP_MESSAGE_WRAPPERS_URI_HPP_20100620
#define BOOST_NETWORK_PROTOCOL_HTTP_MESSAGE_WRAPPERS_URI_HPP_20100620
// Copyright 2010 (c) Dean Michael Berris.
// Copyright 2010 (c) Sinefunc, Inc.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0... | 26.555556 | 71 | 0.781381 | sureandrew |
8e57e7856a533c08f12ef719a0868f644ad6d3f9 | 1,331 | cpp | C++ | core/main_thread.cpp | mail-ru-im/im-desktop | d6bb606650ad84b31046fe39b81db1fec4e6050b | [
"Apache-2.0"
] | 81 | 2019-09-18T13:53:17.000Z | 2022-03-19T00:44:20.000Z | core/main_thread.cpp | mail-ru-im/im-desktop | d6bb606650ad84b31046fe39b81db1fec4e6050b | [
"Apache-2.0"
] | 4 | 2019-10-03T15:17:00.000Z | 2019-11-03T01:05:41.000Z | core/main_thread.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 "main_thread.h"
#include "core.h"
#include "network_log.h"
using namespace core;
main_thread::main_thread()
: threadpool("core main", 1 )
{
set_task_finish_callback([](std::chrono::milliseconds _task_execute_time, const stack_vec& _st, std::string_view _name)
{
... | 24.648148 | 124 | 0.53118 | mail-ru-im |
8e5abab2793e3ecc6caf804343f73b68f68383e0 | 1,327 | cpp | C++ | atcoder/panasonic2020_e.cpp | sogapalag/problems | 0ea7d65448e1177f8b3f81124a82d187980d659c | [
"MIT"
] | 1 | 2020-04-04T14:56:12.000Z | 2020-04-04T14:56:12.000Z | atcoder/panasonic2020_e.cpp | sogapalag/problems | 0ea7d65448e1177f8b3f81124a82d187980d659c | [
"MIT"
] | null | null | null | atcoder/panasonic2020_e.cpp | sogapalag/problems | 0ea7d65448e1177f8b3f81124a82d187980d659c | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
const int Z = 100005;
const int N = 100005;
bool ab[N+Z], ac[N+Z], bc[N+Z];
bool match(char c0, char c1){
return (c0=='?'||c1=='?'||c0==c1);
}
// prep ab/ac/bc possible shift
// brute-force ab,ac shift, since which decide bc shift.
void solve() {
string a,b,c;... | 22.116667 | 56 | 0.379804 | sogapalag |
8e5cd80a6c178aa7527c6a86043feb6b5f7019f2 | 10,986 | cpp | C++ | src/entity/RTraceEntity.cpp | ouxianghui/ezcam | 195fb402202442b6d035bd70853f2d8c3f615de1 | [
"MIT"
] | 12 | 2021-03-26T03:23:30.000Z | 2021-12-31T10:05:44.000Z | src/entity/RTraceEntity.cpp | 15831944/ezcam | 195fb402202442b6d035bd70853f2d8c3f615de1 | [
"MIT"
] | null | null | null | src/entity/RTraceEntity.cpp | 15831944/ezcam | 195fb402202442b6d035bd70853f2d8c3f615de1 | [
"MIT"
] | 9 | 2021-06-23T08:26:40.000Z | 2022-01-20T07:18:10.000Z | /**
* Copyright (c) 2011-2016 by Andrew Mustun. All rights reserved.
*
* This file is part of the QCAD project.
*
* QCAD 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,... | 47.558442 | 143 | 0.712725 | ouxianghui |
769defd8740a99022c6aa54d6f2c3fa273a2c056 | 2,595 | cpp | C++ | include/h3api/H3AdventureMap/H3TileVision.cpp | Patrulek/H3API | 91f10de37c6b86f3160706c1fdf4792f927e9952 | [
"MIT"
] | 14 | 2020-09-07T21:49:26.000Z | 2021-11-29T18:09:41.000Z | include/h3api/H3AdventureMap/H3TileVision.cpp | Day-of-Reckoning/H3API | a82d3069ec7d5127b13528608d5350d2b80d57be | [
"MIT"
] | 2 | 2021-02-12T15:52:31.000Z | 2021-02-12T16:21:24.000Z | include/h3api/H3AdventureMap/H3TileVision.cpp | Day-of-Reckoning/H3API | a82d3069ec7d5127b13528608d5350d2b80d57be | [
"MIT"
] | 8 | 2021-02-12T15:52:41.000Z | 2022-01-31T15:28:10.000Z | //////////////////////////////////////////////////////////////////////
// //
// Created by RoseKavalier: //
// rosekavalierhc@gmail.com //
// Created or last upda... | 34.144737 | 105 | 0.522158 | Patrulek |
769ed23d7bc17685b900dd6605268355e92b9783 | 450 | cpp | C++ | src/editor/Game/entity.cpp | mkRPGDev/mkRPG | 154e5d264dc1cc5fba78980da430e9d7ca0ccc22 | [
"Beerware"
] | 2 | 2016-10-06T10:09:10.000Z | 2016-10-07T14:16:19.000Z | src/editor/Game/entity.cpp | mkRPGDev/mkRPG | 154e5d264dc1cc5fba78980da430e9d7ca0ccc22 | [
"Beerware"
] | 17 | 2016-12-01T10:10:23.000Z | 2017-01-12T16:41:51.000Z | src/editor/Game/entity.cpp | mkRPGDev/mkRPG | 154e5d264dc1cc5fba78980da430e9d7ca0ccc22 | [
"Beerware"
] | null | null | null | #include "entity.h"
EntityType::EntityType(EntityType &ancestor) :
Type(ancestor), aImage(nullptr)
{
}
EntityType::EntityType(DefaultTypes &parent) :
Type(parent), aImage(nullptr)
{
setName(QObject::tr("EntityTypes"));
setName(typeName());
SetFlag(sleeping, true);
setParam("life", 79);
set... | 18 | 54 | 0.657778 | mkRPGDev |
76a0f911415009e618f4e6ef65547f4a0aa9124e | 19,086 | cpp | C++ | src/odb/src/def/cdef/xdefiPinCap.cpp | erictaur/OpenROAD | 438dbb41316fc7fe27e2c405078aa465395125ba | [
"BSD-3-Clause"
] | 525 | 2019-11-20T00:21:42.000Z | 2022-03-31T05:38:44.000Z | src/odb/src/def/cdef/xdefiPinCap.cpp | erictaur/OpenROAD | 438dbb41316fc7fe27e2c405078aa465395125ba | [
"BSD-3-Clause"
] | 741 | 2019-11-20T15:19:38.000Z | 2022-03-31T23:09:17.000Z | src/odb/src/def/cdef/xdefiPinCap.cpp | erictaur/OpenROAD | 438dbb41316fc7fe27e2c405078aa465395125ba | [
"BSD-3-Clause"
] | 215 | 2019-11-25T13:37:43.000Z | 2022-03-28T00:51:29.000Z | // *****************************************************************************
// *****************************************************************************
// ATTENTION: THIS IS AN AUTO-GENERATED FILE. DO NOT CHANGE IT!
// *****************************************************************************
// **********... | 34.576087 | 104 | 0.711726 | erictaur |
76a3676d5276c8e84253235937490cf38949fa66 | 19,999 | cpp | C++ | modules/soft/soft_blender_tasks_priv.cpp | DennissimOS/platform_external_libxcam | 97f8476916e67917026de4c6e43c12d2fa1d68c7 | [
"Apache-2.0"
] | 1 | 2021-08-10T09:44:52.000Z | 2021-08-10T09:44:52.000Z | modules/soft/soft_blender_tasks_priv.cpp | DennissimOS/platform_external_libxcam | 97f8476916e67917026de4c6e43c12d2fa1d68c7 | [
"Apache-2.0"
] | null | null | null | modules/soft/soft_blender_tasks_priv.cpp | DennissimOS/platform_external_libxcam | 97f8476916e67917026de4c6e43c12d2fa1d68c7 | [
"Apache-2.0"
] | null | null | null | /*
* soft_blender_tasks_priv.cpp - soft blender tasks private class implementation
*
* Copyright (c) 2017 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
*
* ... | 39.60198 | 125 | 0.631782 | DennissimOS |
76a4a8d39e38ef58764175532ad4276f5d8d865f | 13,908 | cpp | C++ | src/gui-qt4/libs/seiscomp3/gui/datamodel/publicobjectevaluator.cpp | yannikbehr/seiscomp3 | ebb44c77092555eef7786493d00ac4efc679055f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 94 | 2015-02-04T13:57:34.000Z | 2021-11-01T15:10:06.000Z | src/gui-qt4/libs/seiscomp3/gui/datamodel/publicobjectevaluator.cpp | yannikbehr/seiscomp3 | ebb44c77092555eef7786493d00ac4efc679055f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 233 | 2015-01-28T15:16:46.000Z | 2021-08-23T11:31:37.000Z | src/gui-qt4/libs/seiscomp3/gui/datamodel/publicobjectevaluator.cpp | yannikbehr/seiscomp3 | ebb44c77092555eef7786493d00ac4efc679055f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 95 | 2015-02-13T15:53:30.000Z | 2021-11-02T14:54:54.000Z | /***************************************************************************
* Copyright (C) by GFZ Potsdam *
* *
* You can redistribute and/or modify this program under the *
* terms o... | 26.291115 | 96 | 0.634958 | yannikbehr |
76a737fb754ed01d961158bf576bab13ca7e6ebe | 887 | cpp | C++ | MPI2Send/MPI2Send27.cpp | bru1t/pt-for-mpi-2-answers | 81595465725db4cce848a1c45b3695203d97db03 | [
"Unlicense"
] | 2 | 2021-12-26T20:18:24.000Z | 2021-12-28T10:49:42.000Z | MPI2Send/MPI2Send27.cpp | bru1t/pt-for-mpi-2-answers | 81595465725db4cce848a1c45b3695203d97db03 | [
"Unlicense"
] | null | null | null | MPI2Send/MPI2Send27.cpp | bru1t/pt-for-mpi-2-answers | 81595465725db4cce848a1c45b3695203d97db03 | [
"Unlicense"
] | null | null | null | #include "pt4.h"
#include "mpi.h"
void Solve()
{
Task("MPI2Send27");
int flag;
MPI_Initialized(&flag);
if (flag == 0)
return;
int rank, size;
MPI_Comm_size(MPI_COMM_WORLD, &size);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
int n;
pt >> n;
if (n == -1) {
int num = 0;
... | 16.127273 | 93 | 0.487035 | bru1t |
76a7965ffae35f6c73dacb9213b012580a657853 | 735 | cpp | C++ | include/general.cpp | denisjackman/Cee | 2176e9dccc17ac93463bd5473f437f1c76ba9c3c | [
"CC-BY-4.0"
] | null | null | null | include/general.cpp | denisjackman/Cee | 2176e9dccc17ac93463bd5473f437f1c76ba9c3c | [
"CC-BY-4.0"
] | 2 | 2016-06-30T14:31:43.000Z | 2016-07-01T08:43:03.000Z | include/general.cpp | denisjackman/game | 2176e9dccc17ac93463bd5473f437f1c76ba9c3c | [
"CC-BY-4.0"
] | null | null | null | #include <cstdlib>
#include <ctime>
#include <cmath>
#include <string>
#include <iostream>
#include <fstream>
#include <vector>
#include <list>
using namespace std;
bool gDebugMode = false;
string gDebugLogFileLocation = "debug.log";
ofstream gDebugLogFile;
void DebugModeInitialise()
{
if (gDebugMode)
{
... | 15.978261 | 58 | 0.634014 | denisjackman |
76a7fad4d057925cfa08390226478c081f689f57 | 103 | cxx | C++ | tests/TestUtil/message_for_assert.cxx | SergeyKleyman/elastic-apm-agent-cpp-prototype | 67d2c7ad5a50e1a6b75d6725a89ae3fc5a92d517 | [
"Apache-2.0"
] | null | null | null | tests/TestUtil/message_for_assert.cxx | SergeyKleyman/elastic-apm-agent-cpp-prototype | 67d2c7ad5a50e1a6b75d6725a89ae3fc5a92d517 | [
"Apache-2.0"
] | null | null | null | tests/TestUtil/message_for_assert.cxx | SergeyKleyman/elastic-apm-agent-cpp-prototype | 67d2c7ad5a50e1a6b75d6725a89ae3fc5a92d517 | [
"Apache-2.0"
] | null | null | null | // TODO: Sergey Kleyman: Remove if I don't need it anymore
// #include "message_for_assert.hxx"
//
| 20.6 | 58 | 0.68932 | SergeyKleyman |
76a995b55aba98ae09015b150c7896960361cf93 | 15,342 | hpp | C++ | INCLUDE/Vcl/ibinstall.hpp | earthsiege2/borland-cpp-ide | 09bcecc811841444338e81b9c9930c0e686f9530 | [
"Unlicense",
"FSFAP",
"Apache-1.1"
] | 1 | 2022-01-13T01:03:55.000Z | 2022-01-13T01:03:55.000Z | INCLUDE/Vcl/ibinstall.hpp | earthsiege2/borland-cpp-ide | 09bcecc811841444338e81b9c9930c0e686f9530 | [
"Unlicense",
"FSFAP",
"Apache-1.1"
] | null | null | null | INCLUDE/Vcl/ibinstall.hpp | earthsiege2/borland-cpp-ide | 09bcecc811841444338e81b9c9930c0e686f9530 | [
"Unlicense",
"FSFAP",
"Apache-1.1"
] | null | null | null | // Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'IBInstall.pas' rev: 6.00
#ifndef IBInstallHPP
#define IBInstallHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <IBX... | 42.735376 | 253 | 0.752118 | earthsiege2 |
76acc3d1f3fc1fae3a91b4e5aad3849fa39c9059 | 12,439 | cpp | C++ | modules/Alexa/SSSDKCommon/src/ConfigValidator.cpp | isabella232/alexa-smart-screen-sdk | fca0701fc5020a2ae3787cd8a2052e7291982fd0 | [
"Apache-2.0"
] | null | null | null | modules/Alexa/SSSDKCommon/src/ConfigValidator.cpp | isabella232/alexa-smart-screen-sdk | fca0701fc5020a2ae3787cd8a2052e7291982fd0 | [
"Apache-2.0"
] | 1 | 2022-02-08T19:12:45.000Z | 2022-02-08T19:12:45.000Z | modules/Alexa/SSSDKCommon/src/ConfigValidator.cpp | isabella232/alexa-smart-screen-sdk | fca0701fc5020a2ae3787cd8a2052e7291982fd0 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "license" f... | 48.213178 | 119 | 0.71726 | isabella232 |
76ad7c947d4264f5fa2762a3d199e6addfc13541 | 5,471 | cpp | C++ | test/fibex/out.cpp | cepsdev/sm4ceps | e333a133ac3b3aff066a63046f0f8f7b339110e1 | [
"Apache-2.0"
] | 7 | 2021-02-25T19:06:27.000Z | 2022-01-18T03:46:27.000Z | test/fibex/out.cpp | cepsdev/sm4ceps | e333a133ac3b3aff066a63046f0f8f7b339110e1 | [
"Apache-2.0"
] | 10 | 2021-04-18T22:29:48.000Z | 2022-01-26T11:07:13.000Z | test/fibex/out.cpp | cepsdev/sm4ceps | e333a133ac3b3aff066a63046f0f8f7b339110e1 | [
"Apache-2.0"
] | 1 | 2021-09-16T14:21:14.000Z | 2021-09-16T14:21:14.000Z | /* out.cpp
CREATED Fri Mar 17 05:02:44 2017
GENERATED BY THE sm4ceps C++ GENERATOR VERSION 0.90.
BASED ON cepS (c) 2017 Tomas Prerovsky <tomas.prerovsky@gmail.com> VERSION 1.1 (Mar 10 2017) BUILT WITH GCC 5.2.1 20151010 on GNU/LINUX 64BIT (C) BY THE AUTHORS OF ceps (ceps is hosted at github: https://github.c... | 36.473333 | 236 | 0.735149 | cepsdev |
76add05f31a823cb55f1e87e4914d8e3d2b4f9c1 | 2,299 | cpp | C++ | src/join.cpp | robhz786/strf-benchmarks | e783700317ef1fea0d9e7217c8c42884c3c0371e | [
"BSL-1.0"
] | 1 | 2021-07-19T11:07:24.000Z | 2021-07-19T11:07:24.000Z | src/join.cpp | robhz786/strf-benchmarks | e783700317ef1fea0d9e7217c8c42884c3c0371e | [
"BSL-1.0"
] | null | null | null | src/join.cpp | robhz786/strf-benchmarks | e783700317ef1fea0d9e7217c8c42884c3c0371e | [
"BSL-1.0"
] | null | null | null | // Distributed under the Boost Software License, Version 1.0.
// ( See accompanying file LICENSE or copy at
// http://www.boost.org/LICENSE_1_0.txt )
#include <benchmark/benchmark.h>
#include <strf/to_cfile.hpp>
#define CREATE_BENCHMARK(PREFIX) \
static void PREFIX (benchmark::State& st... | 35.921875 | 100 | 0.597216 | robhz786 |
76b1757a87800c7b549d40adfcab3a6320719bd1 | 7,292 | cpp | C++ | 2004/samples/graphics/traits_dg/traits.cpp | kevinzhwl/ObjectARXMod | ef4c87db803a451c16213a7197470a3e9b40b1c6 | [
"MIT"
] | 1 | 2021-06-25T02:58:47.000Z | 2021-06-25T02:58:47.000Z | 2004/samples/graphics/traits_dg/traits.cpp | kevinzhwl/ObjectARXMod | ef4c87db803a451c16213a7197470a3e9b40b1c6 | [
"MIT"
] | null | null | null | 2004/samples/graphics/traits_dg/traits.cpp | kevinzhwl/ObjectARXMod | ef4c87db803a451c16213a7197470a3e9b40b1c6 | [
"MIT"
] | 3 | 2020-05-23T02:47:44.000Z | 2020-10-27T01:26:53.000Z | // (C) Copyright 1996,1998 by Autodesk, Inc.
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
// provided that the above copyright notice appears in all copies and
// that both that copyright notice and the limited warr... | 28.936508 | 73 | 0.652907 | kevinzhwl |
76b17f81649a6999c1a3fce0974c4946ee13a356 | 3,264 | cpp | C++ | src/StartUpDialog.cpp | Nodens-LOTGA/CircuitTester | 23438f49651f537c43cd78f64e61c2a5024ec8c8 | [
"MIT"
] | null | null | null | src/StartUpDialog.cpp | Nodens-LOTGA/CircuitTester | 23438f49651f537c43cd78f64e61c2a5024ec8c8 | [
"MIT"
] | null | null | null | src/StartUpDialog.cpp | Nodens-LOTGA/CircuitTester | 23438f49651f537c43cd78f64e61c2a5024ec8c8 | [
"MIT"
] | null | null | null | #include "startupdialog.h"
#include "./ui_startupdialog.h"
#include "Settings.h"
#include "tools.h"
#include <QCryptographicHash>
#include <QMessageBox>
#include <QRegExpValidator>
#include <QSerialPort>
#include <QSerialPortInfo>
#include <QSettings>
#include <QStyledItemDelegate>
StartUpDialog::StartUpDialog(QWidge... | 28.631579 | 77 | 0.620098 | Nodens-LOTGA |
76b77d61d5250abb66815a3a211cdeb245b2e6a8 | 25,942 | cc | C++ | Modules/PointSet/src/SurfaceCollisions.cc | lisurui6/MIRTK | 5a06041102d7205b5aac147ff768df6e9415bd03 | [
"Apache-2.0"
] | null | null | null | Modules/PointSet/src/SurfaceCollisions.cc | lisurui6/MIRTK | 5a06041102d7205b5aac147ff768df6e9415bd03 | [
"Apache-2.0"
] | null | null | null | Modules/PointSet/src/SurfaceCollisions.cc | lisurui6/MIRTK | 5a06041102d7205b5aac147ff768df6e9415bd03 | [
"Apache-2.0"
] | null | null | null | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2016 Imperial College London
* Copyright 2013-2016 Andreas Schuh
*
* 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
*
... | 39.727412 | 130 | 0.573587 | lisurui6 |
76ba78818bce81f78b28ff925d2246870e8539c3 | 336 | cc | C++ | src/value/number_value.cc | scouter-project/scouter-cxx-lib | cf5971bd6dfd47e07fb7152ffbbaf95b69f53797 | [
"Apache-2.0"
] | null | null | null | src/value/number_value.cc | scouter-project/scouter-cxx-lib | cf5971bd6dfd47e07fb7152ffbbaf95b69f53797 | [
"Apache-2.0"
] | null | null | null | src/value/number_value.cc | scouter-project/scouter-cxx-lib | cf5971bd6dfd47e07fb7152ffbbaf95b69f53797 | [
"Apache-2.0"
] | null | null | null | /*
* number_value.cc
*
* Created on: 2015. 5. 11.
* Author: windfree
*/
#include "value/number_value.h"
namespace scouter {
number_value::number_value() {
// TODO Auto-generated constructor stub
}
number_value::~number_value() {
// TODO Auto-generated destructor stub
}
} /* namesp... | 15.272727 | 41 | 0.630952 | scouter-project |
76bb2431e419143dc82acfe5b01f13ac38400962 | 397 | cpp | C++ | anagram_checks/solution.cpp | kasyap1234/codingproblems | 7368222c5fb67b4796410597f68401654878fee0 | [
"MIT"
] | 1 | 2021-04-15T16:09:52.000Z | 2021-04-15T16:09:52.000Z | anagram_checks/solution.cpp | kasyap1234/codingproblems | 7368222c5fb67b4796410597f68401654878fee0 | [
"MIT"
] | null | null | null | anagram_checks/solution.cpp | kasyap1234/codingproblems | 7368222c5fb67b4796410597f68401654878fee0 | [
"MIT"
] | null | null | null | bool solve(string s0, string s1) {
if(s0.length()!=s1.length()){
return false;
}
unordered_map<char,int>mp1;
unordered_map<char,int>mp2;
for(int i=0;i<s0.length();i++){
mp1[s0[i]]++;
}
for(int i=0;i<s1.length();i++){
mp2[s1[i]]++;
}
if(mp1==mp2){
... | 17.26087 | 35 | 0.455919 | kasyap1234 |
76bc8541fdab340404c8957ff292fec175c6d853 | 163 | cpp | C++ | src/common.cpp | sdadia/deep-learning-and-optimization | b44be79de116e2d4b203452a161641519f18f580 | [
"MIT"
] | 1 | 2018-10-02T15:29:14.000Z | 2018-10-02T15:29:14.000Z | src/common.cpp | sdadia/deep-learning-and-optimization | b44be79de116e2d4b203452a161641519f18f580 | [
"MIT"
] | null | null | null | src/common.cpp | sdadia/deep-learning-and-optimization | b44be79de116e2d4b203452a161641519f18f580 | [
"MIT"
] | null | null | null |
#include "common.hpp"
#include <xtensor/xarray.hpp>
#include <xtensor/xio.hpp>
#include <xtensor/xtensor.hpp>
#include <glog/logging.h> // for check macro
| 20.375 | 50 | 0.705521 | sdadia |
76be6d95a394ee5b6cfde07d2c60451e0870e7f8 | 2,128 | cpp | C++ | Starfarm/src/Entity/Player/PlayerBehaviour.cpp | fossabot/Starfarm | 2d03fcdd2fa59f6061d523f69f2653134c9d0c64 | [
"MIT"
] | null | null | null | Starfarm/src/Entity/Player/PlayerBehaviour.cpp | fossabot/Starfarm | 2d03fcdd2fa59f6061d523f69f2653134c9d0c64 | [
"MIT"
] | 2 | 2019-04-17T15:22:46.000Z | 2019-05-06T10:13:08.000Z | Starfarm/src/Entity/Player/PlayerBehaviour.cpp | fossabot/Starfarm | 2d03fcdd2fa59f6061d523f69f2653134c9d0c64 | [
"MIT"
] | 2 | 2019-04-19T08:23:13.000Z | 2019-05-06T10:17:52.000Z | //
// Created by Tiphaine on 19/04/2019.
//
#include <cmath>
#include <SFML/Graphics.hpp>
#include <EntityManager.hpp>
#include "PlayerBehaviour.hpp"
#include "../GameObject.hpp"
#include "../../Component/TransformComponent.hpp"
#include "../../Component/SpriteComponent.hpp"
#include "../Missile/Missile.hpp"
namespa... | 29.555556 | 79 | 0.576128 | fossabot |
76bf34c486ee92c78bf855f06a705c386d700b6e | 202 | cpp | C++ | application/src/main.cpp | EgorSidorov/EasySiteCreator | 100203b49386d6905a6e9456c9f2b7644f7f6ff0 | [
"Apache-2.0"
] | 1 | 2019-01-23T18:34:33.000Z | 2019-01-23T18:34:33.000Z | application/src/main.cpp | EgorSidorov/EasySiteCreator | 100203b49386d6905a6e9456c9f2b7644f7f6ff0 | [
"Apache-2.0"
] | null | null | null | application/src/main.cpp | EgorSidorov/EasySiteCreator | 100203b49386d6905a6e9456c9f2b7644f7f6ff0 | [
"Apache-2.0"
] | null | null | null | #include <QApplication>
#include "mainwindow.h"
int main(int argc, char *argv[])
{
QApplication *app=new QApplication(argc,argv);
MainWindow window(app);
window.show();
app->exec();
}
| 16.833333 | 50 | 0.658416 | EgorSidorov |
76c93f51cbe86587f1467e4b4da18f7e80e39978 | 1,633 | hpp | C++ | AVLWordTree.hpp | SinaRaoufi/AVLWordTree | 87e18951175b9cf93fa9d2323e8df52de2e3c2ab | [
"MIT"
] | null | null | null | AVLWordTree.hpp | SinaRaoufi/AVLWordTree | 87e18951175b9cf93fa9d2323e8df52de2e3c2ab | [
"MIT"
] | null | null | null | AVLWordTree.hpp | SinaRaoufi/AVLWordTree | 87e18951175b9cf93fa9d2323e8df52de2e3c2ab | [
"MIT"
] | null | null | null | #ifndef AVL_WORD_TREE_IG
#define AVL_WORD_TREE_IG
#include <string>
#include <vector>
class AVLNode
{
public:
explicit AVLNode(const std::string &);
void setValue(const std::string &);
std::string getValue() const;
void setHeight(int);
int getHeight() const;
void setRightChild(AVLNode *);
... | 27.216667 | 73 | 0.679731 | SinaRaoufi |
76caf89b9574be170f7fa9d2acaf3db9a0213ef2 | 10,283 | cpp | C++ | packages/Search/test/tstBoostGeometryAdapters.cpp | dalg24/DataTransferKit | 35c5943d8f2f516b1da5f4004cbd05d476a8744e | [
"BSD-3-Clause"
] | null | null | null | packages/Search/test/tstBoostGeometryAdapters.cpp | dalg24/DataTransferKit | 35c5943d8f2f516b1da5f4004cbd05d476a8744e | [
"BSD-3-Clause"
] | 4 | 2017-03-27T12:17:42.000Z | 2018-12-04T19:44:44.000Z | packages/Search/test/tstBoostGeometryAdapters.cpp | dalg24/DataTransferKit | 35c5943d8f2f516b1da5f4004cbd05d476a8744e | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
* Copyright (c) 2012-2019 by the DataTransferKit authors *
* All rights reserved. *
* *
* This ... | 41.297189 | 80 | 0.550715 | dalg24 |
76ccbf5bfac42b9745d142340f704e261e1b6276 | 119 | cpp | C++ | server/instance.cpp | irl-game/irl | ba507a93371ab172b705c1ede8cd062123fc96f5 | [
"MIT"
] | null | null | null | server/instance.cpp | irl-game/irl | ba507a93371ab172b705c1ede8cd062123fc96f5 | [
"MIT"
] | null | null | null | server/instance.cpp | irl-game/irl | ba507a93371ab172b705c1ede8cd062123fc96f5 | [
"MIT"
] | null | null | null | #include "instance.hpp"
Instance::Instance() : SimServer(static_cast<Sched &>(*this), static_cast<World &>(*this)) {}
| 29.75 | 93 | 0.697479 | irl-game |
76ce217b72a19bb05df50f736e02594e4669b538 | 2,493 | cpp | C++ | libs/server/server_base.cpp | caodhuan/CHServer | 823c4a006528a3aa1c88575c499eecda45d9022d | [
"Apache-2.0"
] | 6 | 2017-11-16T06:12:20.000Z | 2021-02-06T06:58:20.000Z | libs/server/server_base.cpp | caodhuan/CHServer | 823c4a006528a3aa1c88575c499eecda45d9022d | [
"Apache-2.0"
] | null | null | null | libs/server/server_base.cpp | caodhuan/CHServer | 823c4a006528a3aa1c88575c499eecda45d9022d | [
"Apache-2.0"
] | null | null | null | #include "server_base.h"
#include "event_dispatcher.h"
#include "session.h"
#include "log.h"
#include "socket_tcp.h"
#include "uv.h"
#include "timer_factory.h"
#include "resource _manager.h"
#include "config.h"
namespace CHServer {
template<>
ServerBase* SingletonInheritable<ServerBase>::m_Instance = 0;
ServerBas... | 21.307692 | 109 | 0.680706 | caodhuan |
76d55a9f58257315c5914ab7967a59c03c78b85c | 5,612 | cc | C++ | lesson4/compression.cc | Frzifus/hoema | c5f9ab6760f4a3f044c008b08e62eaab5760fb7b | [
"BSD-2-Clause"
] | null | null | null | lesson4/compression.cc | Frzifus/hoema | c5f9ab6760f4a3f044c008b08e62eaab5760fb7b | [
"BSD-2-Clause"
] | null | null | null | lesson4/compression.cc | Frzifus/hoema | c5f9ab6760f4a3f044c008b08e62eaab5760fb7b | [
"BSD-2-Clause"
] | null | null | null | // BSD 2-Clause License
//
// Copyright (c) 2016, frzifus
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice, this
//... | 34.219512 | 80 | 0.619922 | Frzifus |
76d8f508e50a3ea1a907ea0847bd10b4754c935d | 650 | cpp | C++ | src/Utilization.cpp | mansonjones/CppND-System-Monitor | 269f9e189234cf7479f9eb1652af5600554cc017 | [
"MIT"
] | null | null | null | src/Utilization.cpp | mansonjones/CppND-System-Monitor | 269f9e189234cf7479f9eb1652af5600554cc017 | [
"MIT"
] | null | null | null | src/Utilization.cpp | mansonjones/CppND-System-Monitor | 269f9e189234cf7479f9eb1652af5600554cc017 | [
"MIT"
] | null | null | null | #include "Utilization.h"
#include "linux_parser.h"
#include <vector>
#include <thread>
#include <chrono>
long Utilization::Jiffies() const {
return LinuxParser::Jiffies();
}
long Utilization::IdleJiffies() const {
return LinuxParser::IdleJiffies();
}
void Utilization::setCachedActiveJiffies(long activeJif... | 20.967742 | 62 | 0.76 | mansonjones |
76d9734bce727a9fcf5d1b07749d242516a83d38 | 651 | cpp | C++ | Dynamic Programming/best-time-to-buy-sell-stock-121.cpp | devangi2000/Data-Structures-Algorithms-Handbook | ce0f00de89af5da7f986e65089402dc6908a09b5 | [
"MIT"
] | 38 | 2021-10-14T09:36:53.000Z | 2022-01-27T02:36:19.000Z | Dynamic Programming/best-time-to-buy-sell-stock-121.cpp | devangi2000/Data-Structures-Algorithms-Handbook | ce0f00de89af5da7f986e65089402dc6908a09b5 | [
"MIT"
] | null | null | null | Dynamic Programming/best-time-to-buy-sell-stock-121.cpp | devangi2000/Data-Structures-Algorithms-Handbook | ce0f00de89af5da7f986e65089402dc6908a09b5 | [
"MIT"
] | 4 | 2021-12-06T15:47:12.000Z | 2022-02-04T04:25:00.000Z | // You are given an array prices where prices[i] is the price of a given stock on the ith day.
// You want to maximize your profit by choosing a single day to buy one stock and choosing a different day in the future to sell that stock.
// Return the maximum profit you can achieve from this transaction. If you can... | 36.166667 | 141 | 0.631336 | devangi2000 |
76db8866e4ef3b62abd03eb7c6d2101f35333389 | 19,878 | cpp | C++ | src/UserMenu.cpp | gryffyn/USW20_P2 | bfad201375a6388453b5b03633a12b5bba45c141 | [
"MIT"
] | null | null | null | src/UserMenu.cpp | gryffyn/USW20_P2 | bfad201375a6388453b5b03633a12b5bba45c141 | [
"MIT"
] | null | null | null | src/UserMenu.cpp | gryffyn/USW20_P2 | bfad201375a6388453b5b03633a12b5bba45c141 | [
"MIT"
] | null | null | null | //
// Created by gryffyn on 10/03/2020.
//
#include "UserMenu.hpp"
#include <mhash.h>
#include <Admin.hpp>
#include <DataTools.hpp>
#include <Lecturer.hpp>
#include <Student.hpp>
#include <User.hpp>
#include <boost/algorithm/string.hpp>
#include <ios>
#include <iostream>
#include <limits>
#include <mariadb++/connect... | 36.141818 | 127 | 0.558054 | gryffyn |
76de9b00dede0667b957bf2f899b7ced86658ac2 | 853 | cc | C++ | media/capture/video/linux/scoped_v4l2_device_fd.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | media/capture/video/linux/scoped_v4l2_device_fd.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | media/capture/video/linux/scoped_v4l2_device_fd.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2018 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 "media/capture/video/linux/scoped_v4l2_device_fd.h"
namespace media {
ScopedV4L2DeviceFD::ScopedV4L2DeviceFD(V4L2CaptureDevice* v4l2)
: dev... | 24.371429 | 78 | 0.736225 | zealoussnow |
76e4bf332ff7106217b8ccef74c531a75e8aa3fa | 377 | hh | C++ | pipeline/include/hooya/pipeline/CountingSemaphore.hh | hooya-network/libhooya | bbc7b0f85b616bdbed99914023a45fe9a9adf2e9 | [
"MIT"
] | 1 | 2021-07-26T06:24:22.000Z | 2021-07-26T06:24:22.000Z | pipeline/include/hooya/pipeline/CountingSemaphore.hh | hooya-network/libhooya | bbc7b0f85b616bdbed99914023a45fe9a9adf2e9 | [
"MIT"
] | 1 | 2021-08-05T03:45:52.000Z | 2021-08-05T03:45:52.000Z | pipeline/include/hooya/pipeline/CountingSemaphore.hh | hooya-network/libhooya | bbc7b0f85b616bdbed99914023a45fe9a9adf2e9 | [
"MIT"
] | null | null | null | #pragma once
#include <cassert>
#include <mutex>
namespace hooya::pipeline {
/**
* A semaphore that counts how many times it has been raised
*/
class CountingSemaphore {
public:
CountingSemaphore();
/**
* Increment the semaphore
*/
void Raise();
/**
* Decrement the semaphore
*/
void Lower();
private:... | 13.464286 | 60 | 0.668435 | hooya-network |
76e64d1c519b3be8a71102594e35a23b1c6a7dec | 10,279 | hxx | C++ | the/lib/common/errors.hxx | deni64k/the | c9451f03fe690d456bae89ac2d4a9303317dd8cd | [
"Apache-2.0"
] | null | null | null | the/lib/common/errors.hxx | deni64k/the | c9451f03fe690d456bae89ac2d4a9303317dd8cd | [
"Apache-2.0"
] | null | null | null | the/lib/common/errors.hxx | deni64k/the | c9451f03fe690d456bae89ac2d4a9303317dd8cd | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <variant>
#include <utility>
#include "common.hxx"
// #define _GNU_SOURCE
// #define try
// #define catch(...)
// #include <boost/stacktrace.hpp>
// #undef _GNU_SOURCE
// #undef try
// #undef catch
namespace the {
struct Error {
virtual ~Error();
virtual void What(std::ostream &os) const ... | 32.222571 | 99 | 0.651814 | deni64k |
76e83752bd4eaae14a2a423fcefeb64120f5a041 | 339 | cpp | C++ | Grade XI/Assignments/asg3_prog3.cpp | SR42-dev/CPP-Practice-Programs | 7639790c3d8950250f00ae1c69170c581a8eaf91 | [
"CC0-1.0"
] | null | null | null | Grade XI/Assignments/asg3_prog3.cpp | SR42-dev/CPP-Practice-Programs | 7639790c3d8950250f00ae1c69170c581a8eaf91 | [
"CC0-1.0"
] | null | null | null | Grade XI/Assignments/asg3_prog3.cpp | SR42-dev/CPP-Practice-Programs | 7639790c3d8950250f00ae1c69170c581a8eaf91 | [
"CC0-1.0"
] | null | null | null | #include <iostream.h>
#include <stdio.h>
void main()
{
char str1[32], str2[32];
int i;
cout<<"Enter a string : "<<endl;
gets (str1);
for (i=0;str1[i]!=0;i++)
{
str2[i] = str1[i];
if (str2[i]==32)
str2[i] = '\n';
}
str2[i] = 0;
cout<<endl;
cout<<"Input : "<<str1<<endl;
cout<<"Output ... | 16.95 | 34 | 0.504425 | SR42-dev |
76e955ca1bbb753640623213e01ccc4e7537ab77 | 980 | cpp | C++ | UVA/UltraQuickSort.cpp | sourav025/algorithms-practices | 987932fe0b995c61fc40d1b5a7da18dce8492752 | [
"MIT"
] | null | null | null | UVA/UltraQuickSort.cpp | sourav025/algorithms-practices | 987932fe0b995c61fc40d1b5a7da18dce8492752 | [
"MIT"
] | null | null | null | UVA/UltraQuickSort.cpp | sourav025/algorithms-practices | 987932fe0b995c61fc40d1b5a7da18dce8492752 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string.h>
#include <algorithm>
#include <stdio.h>
using namespace std;
#define MX 500009
#define ll long long
ll tree[MX+7],ar[MX+7],br[MX+7],n;
ll query(ll idx);
void update(ll idx, int x);
int main() {
while(scanf("%lld",&n)==1 && n)
{
memset(tree, 0, sizeof(tre... | 16.896552 | 63 | 0.443878 | sourav025 |
76ee08def2eddbb5be400dfeaf049036bfd49505 | 6,223 | cpp | C++ | src/qastle.cpp | Epono/qastle | 8f5c7b352103e484ebd20f95178d47b8bad4dccc | [
"MIT"
] | null | null | null | src/qastle.cpp | Epono/qastle | 8f5c7b352103e484ebd20f95178d47b8bad4dccc | [
"MIT"
] | null | null | null | src/qastle.cpp | Epono/qastle | 8f5c7b352103e484ebd20f95178d47b8bad4dccc | [
"MIT"
] | null | null | null | #include "../include/qastle.h"
#include "../include/import_export.h"
#include "../include/utils.h"
#include <QDebug>
#include <QFileDialog>
#include <QInputDialog>
#include <QDir>
#include <QListWidget>
Qastle::Qastle(QWidget* parent) : QMainWindow(parent) {
ui.setupUi(this);
setWindowTitle(QApplication::applicat... | 30.356098 | 156 | 0.699663 | Epono |
76f05c5e35cca34f4f2e973bcc27c57aeb13181b | 632 | cpp | C++ | tools/CodeFromTemplate/item_modules/Module/templates/TemplateModuleFactory.cpp | ConnectedVision/ConnectedVision | 210e49205ca50f73584178b6cedb298a74cea798 | [
"MIT"
] | 3 | 2017-08-12T18:14:00.000Z | 2018-11-19T09:15:35.000Z | tools/CodeFromTemplate/item_modules/Module/templates/TemplateModuleFactory.cpp | ConnectedVision/ConnectedVision | 210e49205ca50f73584178b6cedb298a74cea798 | [
"MIT"
] | null | null | null | tools/CodeFromTemplate/item_modules/Module/templates/TemplateModuleFactory.cpp | ConnectedVision/ConnectedVision | 210e49205ca50f73584178b6cedb298a74cea798 | [
"MIT"
] | 1 | 2018-11-09T15:57:13.000Z | 2018-11-09T15:57:13.000Z | {%- autoescape false -%}{%- include global.macroPath -%}
#include "{{Module.moduleID}}ModuleFactory.h"
#include "{{Module.moduleID}}Module.h"
{{ openNamespace(global.namespace) }}
ConnectedVision::shared_ptr<IModule> {{Module.moduleID}}ModuleFactory::createModule()
{
ConnectedVision::shared_ptr<IModule> moduleInstan... | 35.111111 | 151 | 0.753165 | ConnectedVision |
76f10ee3b54fdd34398caa407a9cc96c8ec5322e | 8,764 | cpp | C++ | mr.Sadman/Classes/GameAct/Objects/Tech/Saw.cpp | 1pkg/dump | 0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b | [
"MIT"
] | null | null | null | mr.Sadman/Classes/GameAct/Objects/Tech/Saw.cpp | 1pkg/dump | 0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b | [
"MIT"
] | 3 | 2020-12-11T10:01:27.000Z | 2022-02-13T22:12:05.000Z | mr.Sadman/Classes/GameAct/Objects/Tech/Saw.cpp | 1pkg/dump | 0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b | [
"MIT"
] | null | null | null | #include "Director.hpp"
#include "GameAct/Act.hpp"
#include "GameAct/Objects/Factories/ObjectsFactory.hpp"
#include "Saw.hpp"
#include "Resources/Cache/Cache.hpp"
#include <cmath>
namespace GameAct
{
namespace Tech
{
Saw::Saw()
: _decorator( Director::getInstance().getGameAct()->getObjectsFactory()-... | 28.828947 | 112 | 0.637608 | 1pkg |
76f964cabbe329b0e3c09bcdbc775200858ce885 | 2,767 | cpp | C++ | Shader.cpp | HeckMina/CGI | 976dfe064ec8021ef615354c46ca93637c56b8c6 | [
"MIT"
] | 2 | 2021-07-06T01:01:55.000Z | 2021-07-07T01:30:31.000Z | Shader.cpp | HeckMina/CGI | 976dfe064ec8021ef615354c46ca93637c56b8c6 | [
"MIT"
] | null | null | null | Shader.cpp | HeckMina/CGI | 976dfe064ec8021ef615354c46ca93637c56b8c6 | [
"MIT"
] | 1 | 2021-03-31T05:36:27.000Z | 2021-03-31T05:36:27.000Z | #include "Shader.h"
#if ALICE_OGL_RENDERER
#include "utils.h"
namespace Alice {
void Shader::Init(const char* vs, const char* fs) {
int nFileSize = 0;
const char* vsCode = (char*)LoadFileContent(vs, nFileSize);
const char* fsCode = (char*)LoadFileContent(fs, nFileSize);
GLuint vsShader = CompileShader(GL_VERTE... | 42.569231 | 121 | 0.738345 | HeckMina |
76fa55402ca7a632e7ada9de58d2ed61ae6bf37f | 2,207 | cpp | C++ | src/main.cpp | clayne/HookShareSSE | f448d82412a86dcd286e8630d4af87638303aae6 | [
"MIT"
] | 8 | 2019-06-15T16:19:03.000Z | 2020-05-14T10:21:51.000Z | src/main.cpp | SniffleMan/HookShareSSE | f448d82412a86dcd286e8630d4af87638303aae6 | [
"MIT"
] | 3 | 2019-12-03T15:28:04.000Z | 2020-04-25T23:30:11.000Z | src/main.cpp | SniffleMan/HookShareSSE | f448d82412a86dcd286e8630d4af87638303aae6 | [
"MIT"
] | 13 | 2019-06-15T16:19:04.000Z | 2021-01-05T10:56:43.000Z | #include "skse64_common/BranchTrampoline.h" // g_localTrampoline
#include "skse64_common/skse_version.h" // RUNTIME_VERSION
#include "Hooks.h" // InstallHooks
#include "HookShare.h" // RegisterHook
#include "version.h" // VERSION_VERSTRING
#include "SKSE/API.h"
void MessageHandler(SKSE::MessagingInterface::Me... | 25.964706 | 118 | 0.722247 | clayne |
76ff857c51d1eb1d85d931501a33f857f1fb6a9a | 849 | cpp | C++ | 1549.cpp | yyong119/ACM-OnlineJudge | 5871993b15231c6615bfa3e7c2b04f0f6a23e9dc | [
"MIT"
] | 22 | 2017-08-12T11:56:19.000Z | 2022-03-27T10:04:31.000Z | 1549.cpp | yyong119/ACM-OnlineJudge | 5871993b15231c6615bfa3e7c2b04f0f6a23e9dc | [
"MIT"
] | 2 | 2017-12-17T02:52:59.000Z | 2018-02-09T02:10:43.000Z | 1549.cpp | yyong119/ACM-OnlineJudge | 5871993b15231c6615bfa3e7c2b04f0f6a23e9dc | [
"MIT"
] | 4 | 2017-12-22T15:24:38.000Z | 2020-05-18T14:51:16.000Z | #include <iostream>
#include <cstring>
#include <cstdio>
using namespace std;
char str[110],cha[110];
int point;
int main() {
while (scanf("%s", str) != EOF) {
point = 0;
int len = strlen(str);
for (int i = 0; i < len; ++i) {
cha[i] = ' ';
if (str[i] == '(') ++poi... | 24.257143 | 48 | 0.30742 | yyong119 |
76ff94f16827ae359da180fdd96235a16c288456 | 2,154 | hpp | C++ | include/ecst/context/storage/component/chunk/impl/hash_map.hpp | SuperV1234/ecst | b3c42e2c28978f1cd8ea620ade62613c6c875432 | [
"AFL-3.0"
] | 475 | 2016-05-03T13:34:30.000Z | 2021-11-26T07:02:47.000Z | include/ecst/context/storage/component/chunk/impl/hash_map.hpp | vittorioromeo/ecst | b3c42e2c28978f1cd8ea620ade62613c6c875432 | [
"AFL-3.0"
] | 28 | 2016-08-30T06:37:40.000Z | 2017-11-24T11:14:07.000Z | include/ecst/context/storage/component/chunk/impl/hash_map.hpp | vittorioromeo/ecst | b3c42e2c28978f1cd8ea620ade62613c6c875432 | [
"AFL-3.0"
] | 60 | 2016-05-11T22:16:15.000Z | 2021-08-02T20:42:35.000Z | // Copyright (c) 2015-2016 Vittorio Romeo
// License: Academic Free License ("AFL") v. 3.0
// AFL License page: http://opensource.org/licenses/AFL-3.0
// http://vittorioromeo.info | vittorio.romeo@outlook.com
// TODO:
/*
#pragma once
#include <unordered_map>
#include <ecst/config.hpp>
#include <ecst/aliases.hpp>
#in... | 25.642857 | 70 | 0.510678 | SuperV1234 |
0a012814f275542a7122359c744a11b78c54fc76 | 5,675 | cpp | C++ | src/cl-utils/str-args.cpp | codalogic/cl-utils | 996452272d4c09b8df7928abdaea75b0e786a244 | [
"BSD-3-Clause"
] | null | null | null | src/cl-utils/str-args.cpp | codalogic/cl-utils | 996452272d4c09b8df7928abdaea75b0e786a244 | [
"BSD-3-Clause"
] | null | null | null | src/cl-utils/str-args.cpp | codalogic/cl-utils | 996452272d4c09b8df7928abdaea75b0e786a244 | [
"BSD-3-Clause"
] | null | null | null | //----------------------------------------------------------------------------
// Copyright (c) 2016, Codalogic Ltd (http://www.codalogic.com)
// All rights reserved.
//
// The license for this file is based on the BSD-3-Clause license
// (http://www.opensource.org/licenses/BSD-3-Clause).
//
// Redistribution and use i... | 32.614943 | 127 | 0.597181 | codalogic |
0a023ff0a7846fabea47bb9f8bbce6955f1a5ffc | 734 | hpp | C++ | libs/options/include/fcppt/options/base_unique_ptr_fwd.hpp | pmiddend/fcppt | 9f437acbb10258e6df6982a550213a05815eb2be | [
"BSL-1.0"
] | null | null | null | libs/options/include/fcppt/options/base_unique_ptr_fwd.hpp | pmiddend/fcppt | 9f437acbb10258e6df6982a550213a05815eb2be | [
"BSL-1.0"
] | null | null | null | libs/options/include/fcppt/options/base_unique_ptr_fwd.hpp | pmiddend/fcppt | 9f437acbb10258e6df6982a550213a05815eb2be | [
"BSL-1.0"
] | null | null | null | // Copyright Carl Philipp Reh 2009 - 2018.
// 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)
#ifndef FCPPT_OPTIONS_BASE_UNIQUE_PTR_FWD_HPP_INCLUDED
#define FCPPT_OPTIONS_BASE_UNIQUE_PTR_FWD_H... | 17.47619 | 80 | 0.741144 | pmiddend |
0a03a946c20c717fe20cc7d004609c60901afc6f | 1,061 | cc | C++ | pytorch/caffe2/operators/experimental/c10/cpu/enforce_finite_cpu.cc | raghavnauhria/whatmt | c20483a437c82936cb0fb8080925e37b9c4bba87 | [
"MIT"
] | null | null | null | pytorch/caffe2/operators/experimental/c10/cpu/enforce_finite_cpu.cc | raghavnauhria/whatmt | c20483a437c82936cb0fb8080925e37b9c4bba87 | [
"MIT"
] | 1 | 2019-07-22T09:48:46.000Z | 2019-07-22T09:48:46.000Z | pytorch/caffe2/operators/experimental/c10/cpu/enforce_finite_cpu.cc | raghavnauhria/whatmt | c20483a437c82936cb0fb8080925e37b9c4bba87 | [
"MIT"
] | null | null | null | #include <ATen/core/op_registration/op_registration.h>
#include "caffe2/core/export_c10_op_to_caffe2.h"
#include "caffe2/core/tensor.h"
#include "caffe2/utils/math.h"
using caffe2::CPUContext;
using caffe2::Tensor;
namespace caffe2 {
namespace {
template <class DataType>
void enforce_finite_op_impl_cpu(const at::Tens... | 25.878049 | 63 | 0.694628 | raghavnauhria |
0a117fdeca03b2c8e3f53053fbe68a19b9187031 | 8,533 | cpp | C++ | 008_social_distancing.cpp | DreamVu/Code-Samples | 2fccd9e649fbe7d9895df7d799cb1ec33066d1c2 | [
"MIT"
] | null | null | null | 008_social_distancing.cpp | DreamVu/Code-Samples | 2fccd9e649fbe7d9895df7d799cb1ec33066d1c2 | [
"MIT"
] | null | null | null | 008_social_distancing.cpp | DreamVu/Code-Samples | 2fccd9e649fbe7d9895df7d799cb1ec33066d1c2 | [
"MIT"
] | null | null | null | /*
CODE SAMPLE # 008: Social Distancing
This code sample allows users to check if the distance between two people is within a limit or not.
>>>>>> Compile this code using the following command....
g++ 008_social_distancing.cpp /usr/src/tensorrt/bin/common/logger.o ../lib/libPAL.so ../lib/libPAL_CAMERA... | 30.475 | 471 | 0.677253 | DreamVu |
0a119fc12cfcae022b721e0096cda6eac2b5ab21 | 1,470 | cpp | C++ | Rush/Platform.cpp | kayru/librush | 70fe4af6c8a635f4eac6ab20dbc1f251d299dc3a | [
"MIT"
] | 49 | 2015-01-18T17:24:44.000Z | 2022-03-31T01:31:38.000Z | Rush/Platform.cpp | kayru/librush | 70fe4af6c8a635f4eac6ab20dbc1f251d299dc3a | [
"MIT"
] | null | null | null | Rush/Platform.cpp | kayru/librush | 70fe4af6c8a635f4eac6ab20dbc1f251d299dc3a | [
"MIT"
] | 4 | 2015-05-22T21:22:18.000Z | 2019-07-31T23:18:04.000Z | #include "Platform.h"
#include "GfxDevice.h"
#include "UtilLog.h"
#include "Window.h"
namespace Rush
{
Window* g_mainWindow = nullptr;
GfxDevice* g_mainGfxDevice = nullptr;
GfxContext* g_mainGfxContext = nullptr;
void Platform_Startup(const AppConfig& cfg)
{
RUSH_ASSERT(g_mainWindow == nullptr);
RUSH_ASS... | 18.846154 | 56 | 0.734694 | kayru |
0a13d15d930cc8b2f5140ad360b68e166490c565 | 1,594 | cpp | C++ | Chapter02/vector_access_fast_or_safe.cpp | raakasf/Cpp17-STL-Cookbook | bf889164c515094d37f18023af48fe86fcbb1824 | [
"MIT"
] | 480 | 2017-06-29T14:58:34.000Z | 2022-03-29T03:22:49.000Z | Chapter02/vector_access_fast_or_safe.cpp | raakasf/Cpp17-STL-Cookbook | bf889164c515094d37f18023af48fe86fcbb1824 | [
"MIT"
] | 10 | 2017-09-06T10:33:38.000Z | 2021-05-31T11:54:23.000Z | Chapter02/vector_access_fast_or_safe.cpp | raakasf/Cpp17-STL-Cookbook | bf889164c515094d37f18023af48fe86fcbb1824 | [
"MIT"
] | 133 | 2017-07-04T01:55:22.000Z | 2022-03-20T12:44:54.000Z | #include <iostream>
#include <vector>
#include <array>
#include <numeric> // for std::iota
int main()
{
constexpr size_t container_size {1000};
#if 0
std::vector<int> v (container_size);
// Fill the vector with rising numbers
std::iota(std::begin(v), std::end(v), 0);
// Chances are, that the fol... | 27.964912 | 71 | 0.55207 | raakasf |
0a14c30de50b2dc372bf05919adb74bb0807fd16 | 12,170 | cc | C++ | src/analytics/main.cc | sysbot/contrail-controller | 893de3e41aa7b8e40092fba4a5da34284f5ee00f | [
"Apache-2.0"
] | 1 | 2015-11-08T07:28:10.000Z | 2015-11-08T07:28:10.000Z | src/analytics/main.cc | sysbot/contrail-controller | 893de3e41aa7b8e40092fba4a5da34284f5ee00f | [
"Apache-2.0"
] | null | null | null | src/analytics/main.cc | sysbot/contrail-controller | 893de3e41aa7b8e40092fba4a5da34284f5ee00f | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
*/
#include <fstream>
#include <boost/asio/ip/host_name.hpp>
#include <boost/program_options.hpp>
#include <boost/tokenizer.hpp>
#include "base/cpuinfo.h"
#include "boost/python.hpp"
#include "base/logging.h"
#include "base/contrail_ports.h"
#inclu... | 32.98103 | 94 | 0.642317 | sysbot |
0a168dcda9d9249f937af3534e479e275c1f2bfb | 2,429 | cpp | C++ | test/testjson.cpp | StuffByDavid/Base | d37713fcf48655cb49032c576a1586c135e2e83d | [
"MIT"
] | null | null | null | test/testjson.cpp | StuffByDavid/Base | d37713fcf48655cb49032c576a1586c135e2e83d | [
"MIT"
] | null | null | null | test/testjson.cpp | StuffByDavid/Base | d37713fcf48655cb49032c576a1586c135e2e83d | [
"MIT"
] | null | null | null | #include "test.hpp"
#include "file/json.hpp"
#include "util/timer.hpp"
void Base::TestApp::testJSON()
{
cout << "testJSON" << endl;
// Loading and saving
try
{
Timer t1("JSON load");
JsonFile jf(((TextFile*)resHandler->get("hello.json"))->getText());
t1.stopAndPrint();
... | 32.824324 | 106 | 0.515438 | StuffByDavid |
0a174cfa21c3f4ce6d344c80a5f79f8b13fc4911 | 2,179 | cpp | C++ | kernel/archive/vga_text_buffer.cpp | drali/danos | 874438cf8c3331baaa3e6250fbadcbeaf240d75e | [
"MIT"
] | null | null | null | kernel/archive/vga_text_buffer.cpp | drali/danos | 874438cf8c3331baaa3e6250fbadcbeaf240d75e | [
"MIT"
] | null | null | null | kernel/archive/vga_text_buffer.cpp | drali/danos | 874438cf8c3331baaa3e6250fbadcbeaf240d75e | [
"MIT"
] | null | null | null | #include "vga_text_buffer.h"
#include "kernel/io.h"
#include "core/types.h"
namespace danos {
VgaTextBuffer::VgaTextBuffer(const VgaColor background, const VgaColor foreground) {
this->Clear();
this->SetColors(background, foreground);
this->UpdateCursor();
}
void VgaTextBuffer::UpdateCursor() const {
... | 26.901235 | 117 | 0.57687 | drali |
0a1a92656c83521198200ea0471eb3cf9e33d76e | 15,622 | cpp | C++ | project/Harman_T500/testform.cpp | happyrabbit456/Qt5_dev | 1812df2f04d4b6d24eaf0195ae25d4c67d4f3da2 | [
"MIT"
] | null | null | null | project/Harman_T500/testform.cpp | happyrabbit456/Qt5_dev | 1812df2f04d4b6d24eaf0195ae25d4c67d4f3da2 | [
"MIT"
] | null | null | null | project/Harman_T500/testform.cpp | happyrabbit456/Qt5_dev | 1812df2f04d4b6d24eaf0195ae25d4c67d4f3da2 | [
"MIT"
] | null | null | null | #include "testform.h"
#include "ui_testform.h"
#include "mainwindow.h"
TestForm::TestForm(QWidget *parent) :
QWidget(parent),
ui(new Ui::TestForm)
{
ui->setupUi(this);
m_mapString.insert(1,tr("Please set the parameters, then click Test button, the test can begin to go. "));
resetTestHandle();
... | 32.545833 | 144 | 0.588657 | happyrabbit456 |
0a1acd486ffe2573706c39d2cc80b8c72acee621 | 307 | cpp | C++ | examples/example1.cpp | Lallapallooza/YACL | 4f2d56b5aef835e3da9aacf018e63f1a41316df7 | [
"MIT"
] | 11 | 2018-08-19T00:07:12.000Z | 2021-01-08T05:28:11.000Z | examples/example1.cpp | Lallapallooza/YACL | 4f2d56b5aef835e3da9aacf018e63f1a41316df7 | [
"MIT"
] | null | null | null | examples/example1.cpp | Lallapallooza/YACL | 4f2d56b5aef835e3da9aacf018e63f1a41316df7 | [
"MIT"
] | 2 | 2018-08-19T08:01:33.000Z | 2018-08-22T15:50:18.000Z | #include <iostream>
#include <YACL/config.h>
// CONFIG_PATH setted in CMakeLists.txt
const std::string config_path = CONFIG_PATH;
int main() {
const yacl::SettingsUniquePtr root =
yacl::Config::parseConfigFromFile(config_path + "/example.yacl");
yacl::Config::printConfig(*root);
return 0;
}
| 19.1875 | 69 | 0.71987 | Lallapallooza |