hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
⌀
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
⌀
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
⌀
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
⌀
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
⌀
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
⌀
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
⌀
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
⌀
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
⌀
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
f35226256af650a33f10152ad2438ec72e28de17
4,131
cpp
C++
compiler/luci/pass/src/SubstituteTransposeToReshapePass.test.cpp
chunseoklee/ONE-1
f45d579eb78e7e3cd1d878b4137ed23ab569081b
[ "Apache-2.0" ]
null
null
null
compiler/luci/pass/src/SubstituteTransposeToReshapePass.test.cpp
chunseoklee/ONE-1
f45d579eb78e7e3cd1d878b4137ed23ab569081b
[ "Apache-2.0" ]
null
null
null
compiler/luci/pass/src/SubstituteTransposeToReshapePass.test.cpp
chunseoklee/ONE-1
f45d579eb78e7e3cd1d878b4137ed23ab569081b
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2021 Samsung Electronics Co., Ltd. All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
35.307692
95
0.699104
chunseoklee
f353bae6b5a613710f442030e84fa449be6aa8ca
2,927
hpp
C++
Nana.Cpp11/include/nana/gui/detail/bedrock.hpp
gfannes/nana
3b8d33f9a98579684ea0440b6952deabe61bd978
[ "BSL-1.0" ]
1
2018-02-09T21:25:13.000Z
2018-02-09T21:25:13.000Z
Nana.Cpp11/include/nana/gui/detail/bedrock.hpp
gfannes/nana
3b8d33f9a98579684ea0440b6952deabe61bd978
[ "BSL-1.0" ]
null
null
null
Nana.Cpp11/include/nana/gui/detail/bedrock.hpp
gfannes/nana
3b8d33f9a98579684ea0440b6952deabe61bd978
[ "BSL-1.0" ]
null
null
null
/* * A Bedrock Implementation * Copyright(C) 2003-2013 Jinhao(cnjinhao@hotmail.com) * * 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) * * @file: nana/gui/detail/bedrock.hpp */ #ifndef NANA_GUI_DETAIL_BEDRO...
28.696078
100
0.774855
gfannes
f3550015dc70db43835b454d8fca186074c8daac
2,124
cpp
C++
src/frontend/preprocessor.cpp
Asixa/Dragonfly
ef599c8a7f9d756159cd80a61dcc70fd128ef67f
[ "Apache-2.0" ]
2
2020-10-23T08:17:47.000Z
2020-10-25T06:36:58.000Z
src/frontend/preprocessor.cpp
Asixa/Dragonfly
ef599c8a7f9d756159cd80a61dcc70fd128ef67f
[ "Apache-2.0" ]
null
null
null
src/frontend/preprocessor.cpp
Asixa/Dragonfly
ef599c8a7f9d756159cd80a61dcc70fd128ef67f
[ "Apache-2.0" ]
null
null
null
#include "preprocessor.h" #include "frontend/lexer.h" #include <codecvt> #include <fstream> #include <sstream> #include "package-manager.h" #include <iostream> using namespace frontend; std::wstring Preprocessor::code; std::vector<int>Preprocessor::file_numbers; std::vector<std::string>Preprocessor::files; std::vector<...
24.988235
78
0.620998
Asixa
f3585a3766e24a1b4aab949e58fc5243612c3896
246
hpp
C++
hiro/windows/action/menu-check-item.hpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
153
2020-07-25T17:55:29.000Z
2021-10-01T23:45:01.000Z
hiro/windows/action/menu-check-item.hpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
245
2021-10-08T09:14:46.000Z
2022-03-31T08:53:13.000Z
hiro/windows/action/menu-check-item.hpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
44
2020-07-25T08:51:55.000Z
2021-09-25T16:09:01.000Z
#if defined(Hiro_MenuCheckItem) namespace hiro { struct pMenuCheckItem : pAction { Declare(MenuCheckItem, Action) auto setChecked(bool checked) -> void; auto setText(const string& text) -> void; auto onToggle() -> void; }; } #endif
14.470588
43
0.703252
CasualPokePlayer
f3587382090de907a64e4608d3fe7925ff208edf
793
cpp
C++
Source/Cross/Feature/MoFeatureGraphic/FRenderCubeTexture.cpp
favedit/MoCross
2a550b3d41b0c33c44c66dd595e84b0e4ee95b08
[ "Apache-2.0" ]
3
2016-10-26T11:48:58.000Z
2017-10-24T18:35:17.000Z
Source/Cross/Feature/MoFeatureGraphic/FRenderCubeTexture.cpp
favedit/MoCross
2a550b3d41b0c33c44c66dd595e84b0e4ee95b08
[ "Apache-2.0" ]
null
null
null
Source/Cross/Feature/MoFeatureGraphic/FRenderCubeTexture.cpp
favedit/MoCross
2a550b3d41b0c33c44c66dd595e84b0e4ee95b08
[ "Apache-2.0" ]
6
2015-03-24T06:40:20.000Z
2019-03-18T13:56:13.000Z
#include "MoFgRender.h" MO_NAMESPACE_BEGIN MO_CLASS_IMPLEMENT_INHERITS(FRenderCubeTexture, FRenderTexture); //============================================================ // <T>构造舞台对象。</T> //============================================================ FRenderCubeTexture::FRenderCubeTexture(){ _textureCd = ERender...
25.580645
64
0.388398
favedit
f359e3e018c4aacbc865ab79a8c43fadbdfe38a7
104,110
cpp
C++
FlavBit/src/FlavBit.cpp
patscott/gambit_1.4
a50537419918089effc207e8b206489a5cfd2258
[ "Unlicense" ]
null
null
null
FlavBit/src/FlavBit.cpp
patscott/gambit_1.4
a50537419918089effc207e8b206489a5cfd2258
[ "Unlicense" ]
3
2019-10-08T19:19:48.000Z
2020-08-16T01:10:58.000Z
FlavBit/src/FlavBit.cpp
patscott/gambit_1.4
a50537419918089effc207e8b206489a5cfd2258
[ "Unlicense" ]
null
null
null
// GAMBIT: Global and Modular BSM Inference Tool // ********************************************* /// \file /// /// Functions of module FlavBit /// /// ********************************************* /// /// Authors (add name and date if you modify): /// /// \author Nazila Mahmoudi /// \date 2013 Oct /// \date...
44.567637
585
0.613908
patscott
f35e69c55f419bce679219837b31e5c13cfabbe1
1,734
cpp
C++
data/dailyCodingProblem980.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
2
2020-09-04T20:56:23.000Z
2021-06-11T07:42:26.000Z
data/dailyCodingProblem980.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
null
null
null
data/dailyCodingProblem980.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; /* On our special chessboard, two bishops attack each other if they share the same diagonal. This includes bishops that have another bishop located between them, i.e. bishops can attack through pieces. You are given N bishops, represented as (row, column) tuples on a M by...
27.09375
118
0.66436
vidit1999
f3618a209b3bd0fa9906372b3b49520a77cf3c8f
1,244
hpp
C++
libcppxsd/tests/src/helpers.hpp
mathisloge/cppxsd
90374f5256fe914c10fb9dbcfae67685c139e73a
[ "MIT" ]
null
null
null
libcppxsd/tests/src/helpers.hpp
mathisloge/cppxsd
90374f5256fe914c10fb9dbcfae67685c139e73a
[ "MIT" ]
null
null
null
libcppxsd/tests/src/helpers.hpp
mathisloge/cppxsd
90374f5256fe914c10fb9dbcfae67685c139e73a
[ "MIT" ]
null
null
null
#pragma once #include <concepts> #include <exception> #include <functional> #include <string> #include <string_view> #include <fmt/format.h> // clang-format off template <typename T> concept Named = requires(T) { { T::kName } -> std::convertible_to<std::string_view>; }; template <typename T> concept NamedRefType = ...
20.064516
106
0.614148
mathisloge
f3624b9f23c79f231b7d92990ce01f190ff4fe10
743
cpp
C++
lib/Target/NVPTX/TargetInfo/NVPTXTargetInfo.cpp
nettrino/IntFlow
0400aef5da2c154268d8b020e393c950435395b3
[ "Unlicense" ]
16
2015-09-08T08:49:11.000Z
2019-07-20T14:46:20.000Z
src/llvm/lib/Target/NVPTX/TargetInfo/NVPTXTargetInfo.cpp
jeltz/rust-debian-package
07eaa3658867408248c555b1b3a593c012b4f931
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
1
2019-02-10T08:27:48.000Z
2019-02-10T08:27:48.000Z
src/llvm/lib/Target/NVPTX/TargetInfo/NVPTXTargetInfo.cpp
jeltz/rust-debian-package
07eaa3658867408248c555b1b3a593c012b4f931
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
7
2016-05-26T17:31:46.000Z
2020-11-04T06:39:23.000Z
//===-- NVPTXTargetInfo.cpp - NVPTX Target Implementation -----------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
30.958333
80
0.620458
nettrino
f363c2a2908432b3f910553a4ee369f0d4242f47
1,241
cpp
C++
player/src/ui/tools/video_filters.cpp
Globidev/twitch-player
062306685e182c422980d57fe7ba9fbdee141c37
[ "MIT" ]
36
2018-03-09T08:05:32.000Z
2021-09-09T19:06:39.000Z
player/src/ui/tools/video_filters.cpp
Globidev/twitch-player
062306685e182c422980d57fe7ba9fbdee141c37
[ "MIT" ]
35
2018-03-15T06:43:49.000Z
2021-04-14T00:07:00.000Z
player/src/ui/tools/video_filters.cpp
Globidev/twitch-player
062306685e182c422980d57fe7ba9fbdee141c37
[ "MIT" ]
3
2018-05-18T21:17:05.000Z
2021-09-09T19:06:42.000Z
#include "ui/tools/video_filters.hpp" #include "ui_filters_tool.h" #include "libvlc/bindings.hpp" VideoFilters::VideoFilters(libvlc::MediaPlayer &mp, QWidget *parent): QWidget(parent), _ui(std::make_unique<Ui::VideoFilters>()) { _ui->setupUi(this); setWindowFlags(Qt::Tool); auto setup_slider = [&...
40.032258
89
0.660757
Globidev
f36505c22dde4d422721e7bc789651277b702e63
2,503
cpp
C++
example/DetectPortsTCP/main.cpp
jef42/pcapwrapper
6e5356fabfe2e49f96fdbd8bfbb0f8555e497969
[ "MIT" ]
6
2017-08-07T09:22:34.000Z
2019-05-11T09:11:45.000Z
example/DetectPortsTCP/main.cpp
jef42/pcapwrapper
6e5356fabfe2e49f96fdbd8bfbb0f8555e497969
[ "MIT" ]
null
null
null
example/DetectPortsTCP/main.cpp
jef42/pcapwrapper
6e5356fabfe2e49f96fdbd8bfbb0f8555e497969
[ "MIT" ]
2
2018-05-15T23:28:43.000Z
2021-11-13T09:53:40.000Z
#include <iostream> #include <memory> #include <pcapwrapper/controller.hpp> #include <pcapwrapper/helpers/helper.h> #include <pcapwrapper/interfaces/interface.h> #include <pcapwrapper/network/addresses/ipaddress.h> #include <pcapwrapper/network/builders/builder.h> #include <pcapwrapper/network/builders/keys.h> #includ...
36.808824
78
0.622054
jef42
f36995806ecb9093353024410a3cee46cb332d8a
376
hh
C++
src/WatcherGenerator.hh
hhpack/stopwatch
b388443b7fc16497762880a9fe3f697b139a1c9e
[ "MIT" ]
3
2017-03-19T16:46:58.000Z
2020-03-18T15:43:51.000Z
src/WatcherGenerator.hh
hhpack/stopwatch
b388443b7fc16497762880a9fe3f697b139a1c9e
[ "MIT" ]
3
2015-11-16T01:44:15.000Z
2015-11-16T03:58:41.000Z
src/WatcherGenerator.hh
hhpack/performance
b388443b7fc16497762880a9fe3f697b139a1c9e
[ "MIT" ]
null
null
null
<?hh //strict /** * This file is part of hhpack/performance. * * (c) Noritaka Horio <holy.shared.design@gmail.com> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace HHPack\Performance; interface WatcherGenerator<T> { public function ...
22.117647
71
0.718085
hhpack
f3713a9e4e806803c3bc4f9c38e0607e7729928f
9,109
cxx
C++
TivaWare/third_party/windows/fltk-1.1.10/src/Fl_Widget.cxx
bumblebee96/pacman
1b82f1747765e807bef3040e4dac72c744fc3bc1
[ "MIT" ]
25
2015-04-20T13:03:05.000Z
2022-01-06T07:25:02.000Z
TivaWare/third_party/windows/fltk-1.1.10/src/Fl_Widget.cxx
bumblebee96/pacman
1b82f1747765e807bef3040e4dac72c744fc3bc1
[ "MIT" ]
1
2021-03-21T03:00:58.000Z
2021-03-22T10:05:45.000Z
TivaWare/third_party/windows/fltk-1.1.10/src/Fl_Widget.cxx
bumblebee96/pacman
1b82f1747765e807bef3040e4dac72c744fc3bc1
[ "MIT" ]
24
2015-09-22T12:08:11.000Z
2021-12-30T10:17:30.000Z
// // "$Id: Fl_Widget.cxx 6978 2009-12-23 12:54:41Z AlbrechtS $" // // Base widget class for the Fast Light Tool Kit (FLTK). // // Copyright 1998-2005 by Bill Spitzak and others. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public /...
28.554859
75
0.610715
bumblebee96
f37625604c03f642e1c6e6c57b92718c11db2283
921
cpp
C++
Seive_of_Erathosthenes.cpp
jatin-code21/DSA-CP-
e29e1fd7ab4860a4eb46d11f6a42a285be1216cb
[ "MIT" ]
5
2021-12-28T01:48:46.000Z
2022-02-18T05:57:10.000Z
Seive_of_Erathosthenes.cpp
jatin-code21/DSA-CP-
e29e1fd7ab4860a4eb46d11f6a42a285be1216cb
[ "MIT" ]
null
null
null
Seive_of_Erathosthenes.cpp
jatin-code21/DSA-CP-
e29e1fd7ab4860a4eb46d11f6a42a285be1216cb
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define nline "\n" typedef long long ll; #define fast_io \ ios::sync_with_stdio(0); \ cin.tie(NULL); \ cout.tie(NULL); vector<bool> seiveOfErasthones(ll n) { vector<bool> isPrime(n + 1, true); isPrime[0] = isPrime[1] = false; ...
18.795918
42
0.435396
jatin-code21
f377e4cd00ea551b97983acb5ce2788fa1995af2
4,113
cpp
C++
ESP32_OTA/Simple_OTA_Solution/Simple_OTA_Application/Display.cpp
askfind/ThatProject
8a6027d6bc6fa4f2aa236320d7beea8f299be94d
[ "Apache-2.0" ]
363
2019-07-23T23:36:21.000Z
2021-03-24T17:20:06.000Z
ESP32_OTA/Simple_OTA_Solution/Simple_OTA_Application/Display.cpp
askfind/ThatProject
8a6027d6bc6fa4f2aa236320d7beea8f299be94d
[ "Apache-2.0" ]
14
2019-11-29T14:41:03.000Z
2021-03-12T05:36:48.000Z
ESP32_OTA/Simple_OTA_Solution/Simple_OTA_Application/Display.cpp
askfind/ThatProject
8a6027d6bc6fa4f2aa236320d7beea8f299be94d
[ "Apache-2.0" ]
283
2019-08-29T22:26:38.000Z
2021-03-24T17:41:46.000Z
#include "Display.h" Display::Display() { tft = new TFT_eSPI(); } Display::~Display() { delete tft; } void Display::initTFT() { tft->init(); tft->fillScreen(TFT_BLACK); tft->setRotation(1); tft->setTextColor(TFT_WHITE, TFT_BLACK); tft->setTextDatum(MC_DATUM); tft->setFreeFont(&Orbitron_Light_24); t...
29.589928
136
0.654267
askfind
f3797d2f52795ab13c7e8acad0f3029fadcbc29b
5,037
cpp
C++
libs/fnd/algorithm/test/src/unit_test_fnd_algorithm_is_sorted_until.cpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/fnd/algorithm/test/src/unit_test_fnd_algorithm_is_sorted_until.cpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/fnd/algorithm/test/src/unit_test_fnd_algorithm_is_sorted_until.cpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file unit_test_fnd_algorithm_is_sorted_until.cpp * * @brief is_sorted_until のテスト * * @author myoukaku */ #include <bksge/fnd/algorithm/is_sorted_until.hpp> #include <bksge/fnd/iterator/begin.hpp> #include <bksge/fnd/iterator/end.hpp> #include <bksge/fnd/iterator/next.hpp> #include <bksge/fnd/...
34.737931
111
0.667461
myoukaku
f37a5ce71da6783101233a6505eff4c4537ab5ee
1,169
hpp
C++
src/system_controls.hpp
svenstaro/bgj09
bb54a46999e03078b457de4de37f38143fb35a70
[ "MIT" ]
null
null
null
src/system_controls.hpp
svenstaro/bgj09
bb54a46999e03078b457de4de37f38143fb35a70
[ "MIT" ]
null
null
null
src/system_controls.hpp
svenstaro/bgj09
bb54a46999e03078b457de4de37f38143fb35a70
[ "MIT" ]
null
null
null
#ifndef SYSTEM_CONTROLS_HPP #define SYSTEM_CONTROLS_HPP #include "events.hpp" #include "component_player.hpp" #include <glm/vec2.hpp> #include <glm/glm.hpp> #include <glm/vec3.hpp> #include <iostream> class ControlSystem : public entityx::System<ControlSystem> { public: void update(entityx::EntityManager &es, enti...
20.508772
82
0.666382
svenstaro
3ce2e8500f15545981036aadf3b7cc26a546b60b
7,748
cpp
C++
shared_data/progetto_car_1516/progettoCar1/main.cpp
christianascone/3d-graphics-car
43b65eb61193706f56de8eb0de87c64ff66c4a50
[ "Apache-2.0" ]
null
null
null
shared_data/progetto_car_1516/progettoCar1/main.cpp
christianascone/3d-graphics-car
43b65eb61193706f56de8eb0de87c64ff66c4a50
[ "Apache-2.0" ]
null
null
null
shared_data/progetto_car_1516/progettoCar1/main.cpp
christianascone/3d-graphics-car
43b65eb61193706f56de8eb0de87c64ff66c4a50
[ "Apache-2.0" ]
null
null
null
#include <math.h> #include <GL/gl.h> #include <GL/glu.h> #include <SDL2/SDL.h> float viewAlpha=20, viewBeta=40; // angoli che definiscono la vista int scrH=500, scrW=500; // altezza e larghezza viewport (in pixels) float mozzo=0; // disegna gli assi nel sist. di riferimento void drawAxis(){ const float K=0.10; glCo...
22.264368
90
0.593573
christianascone
3ce824baaaaf85807956b2422ca71eaf68be2029
4,633
cpp
C++
src/ppl/cv/x86/fma/addweighted_fma.cpp
johnxusjtu/ppl.cv
04ef4ca48262601b99f1bb918dcd005311f331da
[ "Apache-2.0" ]
291
2021-06-30T13:38:19.000Z
2022-03-31T08:53:17.000Z
src/ppl/cv/x86/fma/addweighted_fma.cpp
zzb254188/ppl.cv
2e70d85c1a2f427f2f55dd3b1c7d4238516b5af4
[ "Apache-2.0" ]
22
2021-07-05T08:00:16.000Z
2022-03-31T01:28:36.000Z
src/ppl/cv/x86/fma/addweighted_fma.cpp
zzb254188/ppl.cv
2e70d85c1a2f427f2f55dd3b1c7d4238516b5af4
[ "Apache-2.0" ]
58
2021-06-30T13:43:24.000Z
2022-03-26T15:56:50.000Z
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
36.769841
179
0.704295
johnxusjtu
3cee58dec7bde80e964af73671c8f4eb83e57616
13,527
cpp
C++
tests/src/scripting/ScriptingEngine.cpp
icebreakersentertainment/ice_engine
52a8313bc266c053366bdf554b5dc27a54ddcb25
[ "MIT" ]
null
null
null
tests/src/scripting/ScriptingEngine.cpp
icebreakersentertainment/ice_engine
52a8313bc266c053366bdf554b5dc27a54ddcb25
[ "MIT" ]
null
null
null
tests/src/scripting/ScriptingEngine.cpp
icebreakersentertainment/ice_engine
52a8313bc266c053366bdf554b5dc27a54ddcb25
[ "MIT" ]
1
2019-06-11T03:41:48.000Z
2019-06-11T03:41:48.000Z
#define BOOST_TEST_MODULE ScriptingEngine #include <boost/test/unit_test.hpp> #define GLM_FORCE_RADIANS #include <glm/glm.hpp> #include "fs/FileSystem.hpp" #include "utilities/Properties.hpp" #include "logger/Logger.hpp" #include "scripting/angel_script/ScriptingEngine.hpp" #include "scripting/ReturnObject.hpp" #inc...
37.784916
214
0.737636
icebreakersentertainment
3cf27c048c23b07d2db3e2283c807d3241f80ad4
5,803
cpp
C++
aws-cpp-sdk-route53/source/model/UpdateHealthCheckRequest.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
2
2019-03-11T15:50:55.000Z
2020-02-27T11:40:27.000Z
aws-cpp-sdk-route53/source/model/UpdateHealthCheckRequest.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-route53/source/model/UpdateHealthCheckRequest.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
1
2019-01-18T13:03:55.000Z
2019-01-18T13:03:55.000Z
/* * Copyright 2010-2017 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" fil...
30.703704
152
0.762364
curiousjgeorge
3cf9802217fd2e4dd1ca515da6686de6e4735f81
3,012
cxx
C++
STEER/AliSelectionMetaData.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1
2017-04-27T17:28:15.000Z
2017-04-27T17:28:15.000Z
STEER/AliSelectionMetaData.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
3
2017-07-13T10:54:50.000Z
2018-04-17T19:04:16.000Z
STEER/AliSelectionMetaData.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
5
2017-03-29T12:21:12.000Z
2018-01-15T15:52:24.000Z
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
38.615385
108
0.585657
AllaMaevskaya
3cfbc82137f6f6b10062b5baea8206b852c3fe06
35,651
cpp
C++
src/mongo/client/dbclient_rs.cpp
spencerjackson/mongo
51c46e71c9f310fc91168c0945ffa6cfc00d380b
[ "Apache-2.0" ]
null
null
null
src/mongo/client/dbclient_rs.cpp
spencerjackson/mongo
51c46e71c9f310fc91168c0945ffa6cfc00d380b
[ "Apache-2.0" ]
null
null
null
src/mongo/client/dbclient_rs.cpp
spencerjackson/mongo
51c46e71c9f310fc91168c0945ffa6cfc00d380b
[ "Apache-2.0" ]
1
2021-02-28T12:03:02.000Z
2021-02-28T12:03:02.000Z
// dbclient.cpp - connect to a Mongo database as a database, from C++ /* Copyright 2009 10gen 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....
35.29802
161
0.507952
spencerjackson
3cfc24418f5fa711d7bc6c114dffc77b7d550651
366
hpp
C++
ruin (old)/utility/throw_and_return.hpp
AmaneTsukishiro/Ruin
f8cc84799a4c9d5b314d231a5ae86890c84bb4fb
[ "BSL-1.0" ]
3
2015-01-15T14:09:53.000Z
2016-11-17T16:21:05.000Z
ruin (old)/utility/throw_and_return.hpp
yuishiyumeiji/Ruin
f8cc84799a4c9d5b314d231a5ae86890c84bb4fb
[ "BSL-1.0" ]
null
null
null
ruin (old)/utility/throw_and_return.hpp
yuishiyumeiji/Ruin
f8cc84799a4c9d5b314d231a5ae86890c84bb4fb
[ "BSL-1.0" ]
null
null
null
 #ifndef RUIN_UTILITY_THROW_AND_RETURN_HPP_INCLUDED #define RUIN_UTILITY_THROW_AND_RETURN_HPP_INCLUDED #include <type_traits> namespace ruin { template < class ResultType > constexpr ResultType throw_and_return() { return throw, *static_cast<typename std::add_pointer<ResultType>::type>(nullptr); } } #endif /...
19.263158
83
0.811475
AmaneTsukishiro
a700bd22102861d2b6336ad6e55de9b7496c4d7e
2,196
cpp
C++
Net/IOLoop.cpp
Txhua/IOLoop
710fb914ac7fd65a874e2866f0f38ab38b7858f3
[ "Apache-2.0" ]
null
null
null
Net/IOLoop.cpp
Txhua/IOLoop
710fb914ac7fd65a874e2866f0f38ab38b7858f3
[ "Apache-2.0" ]
2
2021-08-23T06:24:32.000Z
2021-08-23T06:27:31.000Z
Net/IOLoop.cpp
Txhua/IOLoop
710fb914ac7fd65a874e2866f0f38ab38b7858f3
[ "Apache-2.0" ]
null
null
null
#include "IOLoop.h" #include "TimerQueue.h" #include "CurrentThread.h" #include <glog/logging.h> #include <boost/asio/post.hpp> #include <boost/asio/dispatch.hpp> namespace IOEvent { thread_local IOLoop *t_inThisThreadLoop = nullptr; IOLoop::IOLoop() :ioContext_(1), timerQueue_(std::make_unique<TimerQueue>(this)), ...
17.709677
100
0.684426
Txhua
a7038dd99afd826a937b9a57999e218e1c45554d
123
cpp
C++
src/Parse.cpp
Rexrn/cpp-json
898a0521914906d2123152d735f41fa9ecf6f2fb
[ "MIT" ]
null
null
null
src/Parse.cpp
Rexrn/cpp-json
898a0521914906d2123152d735f41fa9ecf6f2fb
[ "MIT" ]
null
null
null
src/Parse.cpp
Rexrn/cpp-json
898a0521914906d2123152d735f41fa9ecf6f2fb
[ "MIT" ]
null
null
null
#include "../include/RexrnCPPJSON/Parse.hpp" #include "../include/RexrnCPPJSON/Property.hpp" namespace rexrn_cpp_json { }
17.571429
47
0.764228
Rexrn
a70557d7c9a5697a52179ff6434c9f38456c260d
1,106
cpp
C++
Modules/AppUtil/src/QmitkSingleApplication.cpp
ZP-Hust/MITK
ca11353183c5ed4bc30f938eae8bde43a0689bf6
[ "BSD-3-Clause" ]
1
2021-11-20T08:19:27.000Z
2021-11-20T08:19:27.000Z
Modules/AppUtil/src/QmitkSingleApplication.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
null
null
null
Modules/AppUtil/src/QmitkSingleApplication.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
1
2019-01-09T08:20:18.000Z
2019-01-09T08:20:18.000Z
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
24.577778
85
0.683544
ZP-Hust
a70754f0ff7b785410d258669ceede7e6421175a
6,513
cpp
C++
core/math/mat4.cpp
marcs77/MuonEngine
275757597fa414247de925c8b1d4f9389ecad8f0
[ "MIT" ]
null
null
null
core/math/mat4.cpp
marcs77/MuonEngine
275757597fa414247de925c8b1d4f9389ecad8f0
[ "MIT" ]
null
null
null
core/math/mat4.cpp
marcs77/MuonEngine
275757597fa414247de925c8b1d4f9389ecad8f0
[ "MIT" ]
null
null
null
#include "mat4.h" #include <math.h> #include "mathutils.h" #include <string.h> namespace muon { namespace math { Mat4::Mat4() { memset(m, 0, 4 * 4 * sizeof(float)); } Mat4::Mat4(const Mat4 & other) { memcpy(m, other.m, 4 * 4 * sizeof(float)); } Mat4::Mat4(float diagonal) { memset(m, 0, 4 * 4 *...
23.512635
96
0.496392
marcs77
a707737c058f879c0c9fde055130ae7829e3bd07
7,817
cpp
C++
vod/src/v20180717/model/ImageProcessingTemplate.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
vod/src/v20180717/model/ImageProcessingTemplate.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
vod/src/v20180717/model/ImageProcessingTemplate.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
28
2019-07-12T09:06:22.000Z
2022-03-30T08:04:18.000Z
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
29.05948
152
0.676858
suluner
a70f16f692feee2ac5a157d85f87747e3e93f0e2
905
cpp
C++
Database/Scheduler/AccessInfo.cpp
gunaprsd/cavalia
a408c75fa349f3c6f45c929734437647a0c023c5
[ "Apache-2.0" ]
null
null
null
Database/Scheduler/AccessInfo.cpp
gunaprsd/cavalia
a408c75fa349f3c6f45c929734437647a0c023c5
[ "Apache-2.0" ]
null
null
null
Database/Scheduler/AccessInfo.cpp
gunaprsd/cavalia
a408c75fa349f3c6f45c929734437647a0c023c5
[ "Apache-2.0" ]
null
null
null
#include "AccessInfo.h" using namespace Cavalia; using namespace Cavalia::Database; // void TransactionNodeData::merge(TxnParam* param) { // TransactionNodeData* data = (TransactionNodeData*)param->data_; // assert(data != NULL); // //perform graph operations // for(auto iterator = data->cached_ite...
29.193548
108
0.628729
gunaprsd
a71006c4076ee7e7f945c8f444f34fdc89e48c8b
3,715
cc
C++
tests/tutorial_0.cc
vxfury/libaco
346624696d13c33064be42bf7bcd097e084f3172
[ "Apache-2.0" ]
null
null
null
tests/tutorial_0.cc
vxfury/libaco
346624696d13c33064be42bf7bcd097e084f3172
[ "Apache-2.0" ]
null
null
null
tests/tutorial_0.cc
vxfury/libaco
346624696d13c33064be42bf7bcd097e084f3172
[ "Apache-2.0" ]
null
null
null
// Copyright 2018 Sen Han <00hnes@gmail.com> // // 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 o...
35.04717
100
0.647106
vxfury
a7135fe3c07288aecca7f8891c08c3be76e7879b
1,226
hpp
C++
src/tools/codeeditor/filesystemlistener.hpp
SpartanJ/eepp
21e8ae53af9bc5eb3fd1043376f2b3a4b3ff5fac
[ "MIT" ]
37
2020-01-20T06:21:24.000Z
2022-03-21T17:44:50.000Z
src/tools/codeeditor/filesystemlistener.hpp
SpartanJ/eepp
21e8ae53af9bc5eb3fd1043376f2b3a4b3ff5fac
[ "MIT" ]
null
null
null
src/tools/codeeditor/filesystemlistener.hpp
SpartanJ/eepp
21e8ae53af9bc5eb3fd1043376f2b3a4b3ff5fac
[ "MIT" ]
9
2019-03-22T00:33:07.000Z
2022-03-01T01:35:59.000Z
#ifndef FILESYSTEMLISTENER_HPP #define FILESYSTEMLISTENER_HPP #include "projectdirectorytree.hpp" #include <eepp/system/fileinfo.hpp> #include <eepp/ui/models/filesystemmodel.hpp> #include <eepp/ui/tools/uicodeeditorsplitter.hpp> #include <eepp/ui/uicodeeditor.hpp> #include <efsw/efsw.hpp> using namespace EE::System;...
29.902439
96
0.77814
SpartanJ
a717757787eaa4ea5b0e13964a2b9a6b4f8626ba
462
cpp
C++
Easy/C++/283. Move Zeroes.cpp
Hussein-A/Leetcode
20e46b9adb3a4929d0b2eee1ff120fb2348be96d
[ "MIT" ]
null
null
null
Easy/C++/283. Move Zeroes.cpp
Hussein-A/Leetcode
20e46b9adb3a4929d0b2eee1ff120fb2348be96d
[ "MIT" ]
null
null
null
Easy/C++/283. Move Zeroes.cpp
Hussein-A/Leetcode
20e46b9adb3a4929d0b2eee1ff120fb2348be96d
[ "MIT" ]
null
null
null
//Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements. //Speed: (16ms) Faster than 99.27% of C++ submissions; Mem: (9.3mb), less than 100% of C++ submissions class Solution { public: void moveZeroes(vector<int>& nums) { for (int lastNon...
38.5
135
0.662338
Hussein-A
a71b22d4867a7c571dde96112d217c024146d5c3
27,067
cpp
C++
test-suite/americanoption.cpp
akshett/QuantLib
eb02391a1c79009c0f1ba6ef235a424bed60c576
[ "BSD-3-Clause" ]
2
2021-12-12T01:27:45.000Z
2022-01-25T17:44:12.000Z
test-suite/americanoption.cpp
akshett/QuantLib
eb02391a1c79009c0f1ba6ef235a424bed60c576
[ "BSD-3-Clause" ]
1
2019-06-11T15:35:14.000Z
2019-06-11T15:35:14.000Z
test-suite/americanoption.cpp
akshett/QuantLib
eb02391a1c79009c0f1ba6ef235a424bed60c576
[ "BSD-3-Clause" ]
1
2022-02-07T02:04:10.000Z
2022-02-07T02:04:10.000Z
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2003, 2004 Ferdinando Ametrano Copyright (C) 2005, 2007 StatPro Italia srl Copyright (C) 2005 Joseph Wang This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and dev...
45.95416
79
0.534599
akshett
a71bbc4a41915047fd1bc885f3f6540b7e3c3470
6,065
cpp
C++
src/game/proto.cpp
nadult/FreeFT
f0f63951632d06dd4f6d24ca76b03f38b995cd78
[ "Unlicense" ]
118
2015-01-26T12:49:58.000Z
2022-03-19T00:02:01.000Z
src/game/proto.cpp
nadult/FreeFT
f0f63951632d06dd4f6d24ca76b03f38b995cd78
[ "Unlicense" ]
6
2015-03-29T14:59:40.000Z
2020-08-14T22:04:48.000Z
src/game/proto.cpp
nadult/FreeFT
f0f63951632d06dd4f6d24ca76b03f38b995cd78
[ "Unlicense" ]
14
2015-01-18T13:55:13.000Z
2021-11-30T06:56:58.000Z
// Copyright (C) Krzysztof Jakubowski <nadult@fastmail.fm> // This file is part of FreeFT. See license.txt for details. #include "game/proto.h" #include "sys/data_sheet.h" #include "game/sprite.h" #include "game/item.h" #include "game/weapon.h" #include "game/armour.h" #include "game/ammo.h" #include "game/projectile...
24.958848
103
0.656884
nadult
a71d3f9cb2449a63f2feccd66938854042a6ac63
839
cpp
C++
test/test_utils_pattern.cpp
lingjf/h2un
7735c2f07f58ea8b92a9e9608c9b45c98c94c670
[ "Apache-2.0" ]
5
2015-03-02T22:29:00.000Z
2020-06-28T08:52:00.000Z
test/test_utils_pattern.cpp
lingjf/h2un
7735c2f07f58ea8b92a9e9608c9b45c98c94c670
[ "Apache-2.0" ]
5
2019-05-10T02:28:00.000Z
2021-07-17T00:53:18.000Z
test/test_utils_pattern.cpp
lingjf/h2un
7735c2f07f58ea8b92a9e9608c9b45c98c94c670
[ "Apache-2.0" ]
5
2016-05-25T07:31:16.000Z
2021-08-29T04:25:18.000Z
#include "../source/h2_unit.cpp" SUITE(pattern match) { Case(wildcard) { OK(!h2::h2_pattern::wildcard_match("hello?world*", "welcome")); OK(h2::h2_pattern::wildcard_match("hello?world*", "hello world")); OK(h2::h2_pattern::wildcard_match("hello?world*", "hello world h2unit")); OK(!h2::h2_...
27.064516
79
0.606675
lingjf
a71e056ff118cf262d85b1152d42806171e55b81
18,785
cc
C++
Source/Util/command_line.cc
AryaFaramarzi/CS220-dmfb-synthesis-skeleton
6b592516025f6c2838f269dcf2ca1696d9de5ab8
[ "MIT" ]
3
2018-11-03T06:17:08.000Z
2020-08-12T05:26:47.000Z
Source/Util/command_line.cc
AryaFaramarzi/CS220-dmfb-synthesis-skeleton
6b592516025f6c2838f269dcf2ca1696d9de5ab8
[ "MIT" ]
null
null
null
Source/Util/command_line.cc
AryaFaramarzi/CS220-dmfb-synthesis-skeleton
6b592516025f6c2838f269dcf2ca1696d9de5ab8
[ "MIT" ]
6
2019-09-03T23:58:04.000Z
2021-07-09T02:33:47.000Z
/*------------------------------------------------------------------------------* * (c)2016, All Rights Reserved. * * ___ ___ ___ * * /__/\ / /\ / /\ * * \ \:\ / /:/ / /::\ * * ...
55.74184
339
0.6395
AryaFaramarzi
a7293a5dd566c1e775ceee9514065a949413afc0
2,423
cpp
C++
LearnOpenGLAAA/02hello_triangle/src/SandboxLayer.cpp
KirkXu/LearnOpenGLAAA
b5be7e4edb5cade6d740d020f3d13c3884bb7d30
[ "Apache-2.0" ]
1
2021-08-04T07:06:58.000Z
2021-08-04T07:06:58.000Z
LearnOpenGLAAA/02hello_triangle/src/SandboxLayer.cpp
KirkXu/LearnOpenGLAAA
b5be7e4edb5cade6d740d020f3d13c3884bb7d30
[ "Apache-2.0" ]
null
null
null
LearnOpenGLAAA/02hello_triangle/src/SandboxLayer.cpp
KirkXu/LearnOpenGLAAA
b5be7e4edb5cade6d740d020f3d13c3884bb7d30
[ "Apache-2.0" ]
null
null
null
#include "SandboxLayer.h" using namespace GLCore; using namespace GLCore::Utils; SandboxLayer::SandboxLayer() { } SandboxLayer::~SandboxLayer() { } void SandboxLayer::OnAttach() { EnableGLDebugging(); int nrAttributes; glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, &nrAttributes); std::cout << "Maximum nr of vertex attr...
23.754902
159
0.697482
KirkXu
a72a521d9c3b31d3a735807b118d56369dbd1cc0
28,081
cpp
C++
tools/src/zip.cpp
sl1pkn07/onslaught-vn
b9eadbfc66e363a872a98d5455c7b9567de3e2b0
[ "BSD-3-Clause" ]
1
2021-06-10T08:26:59.000Z
2021-06-10T08:26:59.000Z
tools/src/zip.cpp
sl1pkn07/onslaught-vn
b9eadbfc66e363a872a98d5455c7b9567de3e2b0
[ "BSD-3-Clause" ]
null
null
null
tools/src/zip.cpp
sl1pkn07/onslaught-vn
b9eadbfc66e363a872a98d5455c7b9567de3e2b0
[ "BSD-3-Clause" ]
1
2021-06-10T08:27:01.000Z
2021-06-10T08:27:01.000Z
/* * Copyright (c) 2009-2010, Helios (helios.vmg@gmail.com) * 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, * ...
30.622683
134
0.719276
sl1pkn07
a72b630083880948d920461a79d35d4854a1b1af
167
cpp
C++
Chapter8/Exercise-8-8/main.cpp
kozborn/programing-principles-and-practise-using-cpp
7fefba8765e26af83f138e660861fe5b90adcda4
[ "MIT" ]
null
null
null
Chapter8/Exercise-8-8/main.cpp
kozborn/programing-principles-and-practise-using-cpp
7fefba8765e26af83f138e660861fe5b90adcda4
[ "MIT" ]
null
null
null
Chapter8/Exercise-8-8/main.cpp
kozborn/programing-principles-and-practise-using-cpp
7fefba8765e26af83f138e660861fe5b90adcda4
[ "MIT" ]
null
null
null
// create simple rand function rand_int(); #include "../../std_lib_facilities.h" #include <limits> int randInt() { return 0; } int main() { return 0; }
15.181818
43
0.610778
kozborn
a72b8dd31cbcbbae8d117e6b99a4e19075b9eb03
1,058
cpp
C++
ct2966.cpp
RaymoneCao/xllfloat
b9c6de182b75cc93051820b85c1a366f71c59d08
[ "MIT" ]
null
null
null
ct2966.cpp
RaymoneCao/xllfloat
b9c6de182b75cc93051820b85c1a366f71c59d08
[ "MIT" ]
null
null
null
ct2966.cpp
RaymoneCao/xllfloat
b9c6de182b75cc93051820b85c1a366f71c59d08
[ "MIT" ]
null
null
null
// Author: ct2966 // computes the inverse hyperbolic cosine (arcosh(x)) // Rename this file to xllacosh.cpp and implement XLL.ACOSH which calls acosh // Add documentation and a test function that runs in debug mode. // chgsign.cpp - IEEE recommended functions. // Copyright (c) 2011 KALX, LLC. All rights reserved. No...
21.591837
93
0.70983
RaymoneCao
a737d3657a73dbc7cf2c351dc9bf2130eb1447c6
5,763
cpp
C++
Examples/SDKLibrary/interface/common/portable/data_types/opcua_delete_references_item_t.cpp
beeond/robot-examples
afc6b8b10809988b03663d703203625927e66e8f
[ "MIT" ]
1
2018-03-29T21:03:31.000Z
2018-03-29T21:03:31.000Z
Examples/SDKLibrary/interface/common/portable/data_types/opcua_delete_references_item_t.cpp
JayeshThamke/robot-examples
afc6b8b10809988b03663d703203625927e66e8f
[ "MIT" ]
null
null
null
Examples/SDKLibrary/interface/common/portable/data_types/opcua_delete_references_item_t.cpp
JayeshThamke/robot-examples
afc6b8b10809988b03663d703203625927e66e8f
[ "MIT" ]
4
2018-04-05T21:16:55.000Z
2019-10-15T19:01:46.000Z
/* ----------------------------------------------------------------------------------------------------------------- COPYRIGHT (c) 2009 - 2017 HONEYWELL INC., ALL RIGHTS RESERVED This so...
23.716049
116
0.694083
beeond
a740a20923f70128b1977a18620d32c5633f2825
2,036
cpp
C++
ftsoftds_vc6/ch12/prg12_2.cpp
guarana-x/fwg
5a56dcb4caee5dca6744fca8e21b987b07106513
[ "MIT" ]
null
null
null
ftsoftds_vc6/ch12/prg12_2.cpp
guarana-x/fwg
5a56dcb4caee5dca6744fca8e21b987b07106513
[ "MIT" ]
null
null
null
ftsoftds_vc6/ch12/prg12_2.cpp
guarana-x/fwg
5a56dcb4caee5dca6744fca8e21b987b07106513
[ "MIT" ]
null
null
null
// File: prg12_2.cpp // the program declares a hash table with integer data and // the identity hash function object. it inserts the elements // from the array intArr into the hash table, noting which // values are duplicates that do not go into the table. after // displaying the size of the hash table, a loop pro...
25.772152
67
0.646365
guarana-x
a7422e01bb8bab8335ff9f6521703f79fe5f3736
2,692
hpp
C++
bindings/cpp/opencv_4/superres_types.hpp
bamorim/opencv-rust
d83ac457cea9540f2d535bc6158e1910ba887eea
[ "MIT" ]
2
2020-07-22T09:56:37.000Z
2021-07-15T03:01:36.000Z
bindings/cpp/opencv_4/superres_types.hpp
tanxxjun321/opencv-rust
1cfceeba79eb8fffce3c8ae698c56cdf2d4e5ff5
[ "MIT" ]
null
null
null
bindings/cpp/opencv_4/superres_types.hpp
tanxxjun321/opencv-rust
1cfceeba79eb8fffce3c8ae698c56cdf2d4e5ff5
[ "MIT" ]
null
null
null
template struct Result<bool>; template struct Result<cv::Ptr<cv::superres::BroxOpticalFlow>*>; template struct Result<cv::Ptr<cv::superres::DenseOpticalFlowExt>*>; template struct Result<cv::Ptr<cv::superres::DualTVL1OpticalFlow>*>; template struct Result<cv::Ptr<cv::superres::FarnebackOpticalFlow>*>; template struct R...
40.179104
155
0.79049
bamorim
a742518a9a1bc55b740c45affc13645322d18816
12,693
cpp
C++
src/servers/launch/Job.cpp
axeld/haiku
e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4
[ "MIT" ]
4
2016-03-29T21:45:21.000Z
2016-12-20T00:50:38.000Z
src/servers/launch/Job.cpp
axeld/haiku
e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4
[ "MIT" ]
null
null
null
src/servers/launch/Job.cpp
axeld/haiku
e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4
[ "MIT" ]
3
2018-12-17T13:07:38.000Z
2021-09-08T13:07:31.000Z
/* * Copyright 2015-2016, Axel Dörfler, axeld@pinc-software.de. * Distributed under the terms of the MIT License. */ #include "Job.h" #include <stdlib.h> #include <Entry.h> #include <Looper.h> #include <Message.h> #include <Roster.h> #include <MessagePrivate.h> #include <RosterPrivate.h> #include <user_group.h>...
18.004255
77
0.703459
axeld
a7428095e87b17c44c8d60bd4a4ab148bfbeae54
9,752
hpp
C++
src/cpu/x64/jit_uni_binary.hpp
amd/ZenDNN
2d8e025a05126b7c378d88a990a20e21a4182b20
[ "Apache-2.0" ]
28
2021-08-12T10:38:06.000Z
2022-03-25T08:37:31.000Z
src/cpu/x64/jit_uni_binary.hpp
amd/ZenDNN
2d8e025a05126b7c378d88a990a20e21a4182b20
[ "Apache-2.0" ]
2
2021-08-17T03:20:10.000Z
2021-09-23T04:15:32.000Z
src/cpu/x64/jit_uni_binary.hpp
amd/ZenDNN
2d8e025a05126b7c378d88a990a20e21a4182b20
[ "Apache-2.0" ]
5
2021-08-20T05:05:59.000Z
2022-02-25T19:13:07.000Z
/******************************************************************************* * Modifications Copyright (c) 2021 Advanced Micro Devices, Inc. All rights reserved. * Notified per clause 4(b) of the license. *******************************************************************************/ /***************************...
41.147679
84
0.537736
amd
a7440d72195bd2a88f7a0f3d6f9b6b8bfdf3cb20
533
cpp
C++
src/esp/EspAvBusClock.cpp
jodoll/avbus_arduino
ba9446a9666bcab802fab12dec154cbb0edb1dab
[ "MIT" ]
2
2020-02-04T10:44:04.000Z
2020-02-05T22:17:45.000Z
src/esp/EspAvBusClock.cpp
jodoll/rcbus_arduino
ba9446a9666bcab802fab12dec154cbb0edb1dab
[ "MIT" ]
null
null
null
src/esp/EspAvBusClock.cpp
jodoll/rcbus_arduino
ba9446a9666bcab802fab12dec154cbb0edb1dab
[ "MIT" ]
null
null
null
#include "esp/EspAvBusClock.hpp" void EspAvBusClock::init(void (*clockInterruptHandler)()) { timer = timerBegin(0, 80, true); timerAttachInterrupt(timer, clockInterruptHandler, true); timerAlarmWrite(timer, resolutionUs, true); timerAlarmEnable(timer); } void EspAvBusClock::reset() { currentTime = 0; } uint3...
28.052632
72
0.739212
jodoll
a745348f6e125fc5585332394fd7064fbcfee1ce
8,525
cpp
C++
src/quickdraw/qGrafport.cpp
DavidLudwig/executor
eddb527850af639b3ffe314e05d92a083ba47af6
[ "MIT" ]
null
null
null
src/quickdraw/qGrafport.cpp
DavidLudwig/executor
eddb527850af639b3ffe314e05d92a083ba47af6
[ "MIT" ]
null
null
null
src/quickdraw/qGrafport.cpp
DavidLudwig/executor
eddb527850af639b3ffe314e05d92a083ba47af6
[ "MIT" ]
null
null
null
/* Copyright 1986-1995 by Abacus Research and * Development, Inc. All rights reserved. */ /* Forward declarations in QuickDraw.h (DO NOT DELETE THIS LINE) */ #include <base/common.h> #include <QuickDraw.h> #include <CQuickDraw.h> #include <ToolboxEvent.h> #include <MemoryMgr.h> #include <WindowMgr.h> #include <Sys...
28.416667
106
0.647977
DavidLudwig
a74538e52dc45a1a2fd32b11a93d70b080a5b340
21,862
cpp
C++
code/network/multi_campaign.cpp
SelfGamer/fs2open.github.com
6a68300fccffa20f12cad45bb45325d8e43c364b
[ "Unlicense" ]
null
null
null
code/network/multi_campaign.cpp
SelfGamer/fs2open.github.com
6a68300fccffa20f12cad45bb45325d8e43c364b
[ "Unlicense" ]
null
null
null
code/network/multi_campaign.cpp
SelfGamer/fs2open.github.com
6a68300fccffa20f12cad45bb45325d8e43c364b
[ "Unlicense" ]
1
2021-05-22T16:37:50.000Z
2021-05-22T16:37:50.000Z
/* * Copyright (C) Volition, Inc. 1999. All rights reserved. * * All source code herein is the property of Volition, Inc. You may not sell * or otherwise commercially exploit the source or things you created based on the * source. * */ #include <climits> // this is need even when not building debug!! #i...
27.603535
118
0.7014
SelfGamer
a74820eb5d5fd5c87d8be773c521dc406406d523
22,826
cpp
C++
export/windows/obj/src/EReg.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
export/windows/obj/src/EReg.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
export/windows/obj/src/EReg.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
// Generated by Haxe 3.4.7 #include <hxcpp.h> #ifndef INCLUDED_EReg #include <EReg.h> #endif #ifndef INCLUDED_Std #include <Std.h> #endif #ifndef INCLUDED_StringBuf #include <StringBuf.h> #endif HX_DEFINE_STACK_FRAME(_hx_pos_2cd113ad60e10261_30_new,"EReg","new",0x8b859e81,"EReg.new","C:\\HaxeToolkit\\haxe\\std/cpp/_s...
36.816129
169
0.561071
seanbashaw
a748762f0dc0bfe6725ddebac3ec8e126e919759
48,370
cpp
C++
src/cpu/x64/jit_avx512_core_bf16_1x1_convolution.cpp
pinzhenx/oneDNN
b7ccd2f900a92e888e5516c90f068c6471b058ab
[ "Apache-2.0" ]
null
null
null
src/cpu/x64/jit_avx512_core_bf16_1x1_convolution.cpp
pinzhenx/oneDNN
b7ccd2f900a92e888e5516c90f068c6471b058ab
[ "Apache-2.0" ]
null
null
null
src/cpu/x64/jit_avx512_core_bf16_1x1_convolution.cpp
pinzhenx/oneDNN
b7ccd2f900a92e888e5516c90f068c6471b058ab
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright 2019-2020 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.apa...
44.173516
86
0.527517
pinzhenx
a74e2179c4b2dec33f63f6f77af5fea67d129bc7
705
hh
C++
MediaLoader.hh
valtteriviirret/Niilo22SoundBoard
54f0617023a009790496564e5e121c655adca191
[ "MIT" ]
null
null
null
MediaLoader.hh
valtteriviirret/Niilo22SoundBoard
54f0617023a009790496564e5e121c655adca191
[ "MIT" ]
null
null
null
MediaLoader.hh
valtteriviirret/Niilo22SoundBoard
54f0617023a009790496564e5e121c655adca191
[ "MIT" ]
null
null
null
#ifndef MEDIALOADER_H #define MEDIALOADER_H #include "Texture.hh" #include "BtnSprite.hh" #include "ScreenSize.hh" #include "ButtonSize.hh" #include "Btn.hh" #include <SDL2/SDL.h> #include <SDL2/SDL_mixer.h> // this class loads all media class MediaLoader { public: MediaLoader(SDL_Renderer* renderer); ~MediaLoad...
19.583333
43
0.714894
valtteriviirret
a753e846de029a4d7bc9e226fe121240b49e3afc
7,308
cpp
C++
src/ShaderProgram.cpp
NotCamelCase/JBIC
6304678696b65f66c560ecea91a52b5a1f528a7c
[ "MIT" ]
5
2015-07-24T14:32:09.000Z
2021-06-13T18:02:52.000Z
src/ShaderProgram.cpp
NotCamelCase/JBIC
6304678696b65f66c560ecea91a52b5a1f528a7c
[ "MIT" ]
null
null
null
src/ShaderProgram.cpp
NotCamelCase/JBIC
6304678696b65f66c560ecea91a52b5a1f528a7c
[ "MIT" ]
1
2020-09-03T23:30:41.000Z
2020-09-03T23:30:41.000Z
/* The MIT License (MIT) Copyright (c) 2015 Tayfun Kayhan Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, p...
24.606061
92
0.725506
NotCamelCase
a7542b264aa8171c09bb617cdc872664b32de280
1,387
hpp
C++
include/wire/encoding/detail/wire_io_fwd.hpp
zmij/wire
9981eb9ea182fc49ef7243eed26b9d37be70a395
[ "Artistic-2.0" ]
5
2016-04-07T19:49:39.000Z
2021-08-03T05:24:11.000Z
include/wire/encoding/detail/wire_io_fwd.hpp
zmij/wire
9981eb9ea182fc49ef7243eed26b9d37be70a395
[ "Artistic-2.0" ]
null
null
null
include/wire/encoding/detail/wire_io_fwd.hpp
zmij/wire
9981eb9ea182fc49ef7243eed26b9d37be70a395
[ "Artistic-2.0" ]
1
2020-12-27T11:47:31.000Z
2020-12-27T11:47:31.000Z
/* * wire_io_fwd.hpp * * Created on: Jan 26, 2016 * Author: zmij */ #ifndef WIRE_ENCODING_DETAIL_WIRE_IO_FWD_HPP_ #define WIRE_ENCODING_DETAIL_WIRE_IO_FWD_HPP_ #include <wire/encoding/detail/wire_traits.hpp> #include <wire/encoding/detail/helpers.hpp> namespace wire { namespace encoding { namespace detail...
26.169811
115
0.737563
zmij
a754f7bfa0730ca09220906139a0a38f5ff4e639
3,656
cpp
C++
cpp/src/gis/dispatch/wkb_type_scanner.cpp
xge-zilliz/GIS
1cfccdf45115f7ba9f4c43f114fa6b0b0fb709f6
[ "Apache-2.0" ]
1
2020-05-07T07:38:41.000Z
2020-05-07T07:38:41.000Z
cpp/src/gis/dispatch/wkb_type_scanner.cpp
gracezzzzz/arctern
bd364f7e5e234e24216a1754f8f50ac4f838f2f2
[ "Apache-2.0" ]
null
null
null
cpp/src/gis/dispatch/wkb_type_scanner.cpp
gracezzzzz/arctern
bd364f7e5e234e24216a1754f8f50ac4f838f2f2
[ "Apache-2.0" ]
null
null
null
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
32.070175
85
0.665755
xge-zilliz
a754fea3542fd41b4a1a4ad83e4ae64c80098d80
2,592
cpp
C++
src/arch/Dialog/DialogDriver.cpp
kangalioo/etterna
11630aa1c23bad46b2da993602b06f8b659a4961
[ "MIT" ]
1
2020-11-09T21:58:28.000Z
2020-11-09T21:58:28.000Z
src/arch/Dialog/DialogDriver.cpp
kangalioo/etterna
11630aa1c23bad46b2da993602b06f8b659a4961
[ "MIT" ]
null
null
null
src/arch/Dialog/DialogDriver.cpp
kangalioo/etterna
11630aa1c23bad46b2da993602b06f8b659a4961
[ "MIT" ]
null
null
null
#include "Etterna/Globals/global.h" #include "DialogDriver.h" #include "Etterna/Models/Misc/Foreach.h" #include "RageUtil/Misc/RageLog.h" map<istring, CreateDialogDriverFn>* RegisterDialogDriver::g_pRegistrees; RegisterDialogDriver::RegisterDialogDriver(const istring& sName, CreateDialogDriverFn pfn) { i...
35.027027
75
0.74537
kangalioo
a758f0999ef99fa7f185e7fc1fa362dbc6467112
18,138
hpp
C++
hpx/util/detail/preprocessed/vtable_ptr_base_5.hpp
andreasbuhr/hpx
4366a90aacbd3e95428a94ab24a1646a67459cc2
[ "BSL-1.0" ]
null
null
null
hpx/util/detail/preprocessed/vtable_ptr_base_5.hpp
andreasbuhr/hpx
4366a90aacbd3e95428a94ab24a1646a67459cc2
[ "BSL-1.0" ]
null
null
null
hpx/util/detail/preprocessed/vtable_ptr_base_5.hpp
andreasbuhr/hpx
4366a90aacbd3e95428a94ab24a1646a67459cc2
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2007-2013 Hartmut Kaiser // Copyright (c) 2012-2013 Thomas Heller // // 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) // This file has been automatically generated using the Boost.Wave tool. // Do n...
34.030019
397
0.582644
andreasbuhr
a75a3ff1d9f5ec11c1dd59fb286a0eb86457e73a
2,549
cpp
C++
lib/AST/ExtInfo.cpp
mzbik/swift
147274b6aade4a72c9be80b3443abb678c4a4161
[ "Apache-2.0" ]
3
2020-07-04T20:26:35.000Z
2021-08-19T07:55:48.000Z
lib/AST/ExtInfo.cpp
SunSatan/swift
aa6e600d6adeea630eb304f7572ef4ef71c262dd
[ "Apache-2.0" ]
2
2019-10-15T13:18:04.000Z
2019-12-15T00:41:50.000Z
lib/AST/ExtInfo.cpp
SunSatan/swift
aa6e600d6adeea630eb304f7572ef4ef71c262dd
[ "Apache-2.0" ]
null
null
null
//===--- ExtInfo.cpp - Extended information for function types ------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2020 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/LICENSE....
27.117021
80
0.648097
mzbik
a75a5961d5adf68fb3be48682f11741d422a8c29
7,981
cpp
C++
Main/grestore.cpp
SoftlySpoken/gStore
b2cf71288ccef376640000965aff7c430101446a
[ "BSD-3-Clause" ]
150
2015-01-14T15:06:38.000Z
2018-08-28T09:34:17.000Z
Main/grestore.cpp
SoftlySpoken/gStore
b2cf71288ccef376640000965aff7c430101446a
[ "BSD-3-Clause" ]
28
2015-05-11T02:45:39.000Z
2018-08-24T11:43:17.000Z
Main/grestore.cpp
SoftlySpoken/gStore
b2cf71288ccef376640000965aff7c430101446a
[ "BSD-3-Clause" ]
91
2015-05-04T09:52:41.000Z
2018-08-18T13:02:15.000Z
/* * @Author: zhe zhang, liwenjie * @Date: 2021-08-22 23:31:50 * @LastEditTime: 2021-08-22 23:32:04 * @LastEditors: liwenjie * @Description: restore a database by copy its backup files to root location * @FilePath: /gstore/Main/grestore.cpp */ #include "../Util/Util.h" #include "../Database/Database.h" //#inclu...
29.234432
184
0.589525
SoftlySpoken
a764783b348723ec04d747314b7c3baa1afb443a
6,048
cpp
C++
sources/Renderer/OpenGL/RenderState/GLDepthStencilState.cpp
beldenfox/LLGL
3a54125ebfa79bb06fccf8c413d308ff22186b52
[ "BSD-3-Clause" ]
1,403
2016-09-28T21:48:07.000Z
2022-03-31T23:58:57.000Z
sources/Renderer/OpenGL/RenderState/GLDepthStencilState.cpp
beldenfox/LLGL
3a54125ebfa79bb06fccf8c413d308ff22186b52
[ "BSD-3-Clause" ]
70
2016-10-13T20:15:58.000Z
2022-01-12T23:51:12.000Z
sources/Renderer/OpenGL/RenderState/GLDepthStencilState.cpp
beldenfox/LLGL
3a54125ebfa79bb06fccf8c413d308ff22186b52
[ "BSD-3-Clause" ]
122
2016-10-23T15:33:44.000Z
2022-03-07T07:41:23.000Z
/* * GLDepthStencilState.cpp * * This file is part of the "LLGL" project (Copyright (c) 2015-2019 by Lukas Hermanns) * See "LICENSE.txt" for license information. */ #include "GLDepthStencilState.h" #include "../Ext/GLExtensions.h" #include "../Ext/GLExtensionRegistry.h" #include "../GLCore.h" #include "../GLType...
29.793103
135
0.650959
beldenfox
a76aca3642b6621c6cdb49ff9f9b8e6d89a5dfaf
1,700
cpp
C++
test/network_test.cpp
jczaplew/fmm
e325196f355b6c7674d1846401fb14b0d9203301
[ "Apache-2.0" ]
545
2017-11-13T11:45:24.000Z
2022-03-31T12:31:54.000Z
test/network_test.cpp
jczaplew/fmm
e325196f355b6c7674d1846401fb14b0d9203301
[ "Apache-2.0" ]
198
2017-12-28T14:54:27.000Z
2022-03-31T10:54:31.000Z
test/network_test.cpp
jczaplew/fmm
e325196f355b6c7674d1846401fb14b0d9203301
[ "Apache-2.0" ]
145
2018-01-17T14:29:42.000Z
2022-03-16T03:06:47.000Z
#define CATCH_CONFIG_MAIN #include "catch2/catch.hpp" #include "util/debug.hpp" #include "network/network.hpp" #include "algorithm/geom_algorithm.hpp" using namespace FMM; using namespace FMM::CORE; using namespace FMM::ALGORITHM; using namespace FMM::NETWORK; using namespace FMM::MM; using namespace std; TEST_CASE( ...
32.692308
68
0.677059
jczaplew
a76ddec18cb4c0a1baff8f48a77492e23b09e2be
386
cc
C++
src/StackedBlock/Control/RepeatBlock.cc
khuebeo/scrape
9706fad08041cac1864036916d8675ec8ad6f034
[ "MIT" ]
11
2020-06-01T02:26:07.000Z
2022-03-24T09:12:49.000Z
src/StackedBlock/Control/RepeatBlock.cc
khuebeo/scrape
9706fad08041cac1864036916d8675ec8ad6f034
[ "MIT" ]
4
2020-06-01T14:48:46.000Z
2020-09-17T16:43:33.000Z
src/StackedBlock/Control/RepeatBlock.cc
khuebeo/scrape
9706fad08041cac1864036916d8675ec8ad6f034
[ "MIT" ]
2
2020-06-05T18:14:44.000Z
2021-08-13T03:48:17.000Z
#include <memory> #include <string> #include "StackedBlock/Control/RepeatBlock.h" #include "StackOfBlocks.h" #include "NestedBlock/NestedBlock.h" RepeatBlock::RepeatBlock(const std::shared_ptr<NestedBlock> t, const std::shared_ptr<StackOfBlocks> lb) : times(t),loopBody(lb){} void RepeatBlock::exec() const { ...
25.733333
64
0.722798
khuebeo
a76e41846b69b946a9c5b5738ec2fc58e7b06b12
2,827
cpp
C++
src/plugins/zalil/pendinguploadbase.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
120
2015-01-22T14:10:39.000Z
2021-11-25T12:57:16.000Z
src/plugins/zalil/pendinguploadbase.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
8
2015-02-07T19:38:19.000Z
2017-11-30T20:18:28.000Z
src/plugins/zalil/pendinguploadbase.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
33
2015-02-07T16:59:55.000Z
2021-10-12T00:36:40.000Z
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2014 Georg Rudoy * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0....
26.175926
93
0.658649
Maledictus
a76f299b34e9db3ef4796cc5cb171bf6eca3f3f6
225
cpp
C++
benignware/1085.cpp
CodmingOut/SecretProjectAI
addc43117eab30a25453c18fa042739c33cc6cfb
[ "MIT" ]
8
2018-04-12T15:54:09.000Z
2020-06-05T07:41:15.000Z
src/1000/1085.cpp14.cpp
upple/BOJ
e6dbf9fd17fa2b458c6a781d803123b14c18e6f1
[ "MIT" ]
null
null
null
src/1000/1085.cpp14.cpp
upple/BOJ
e6dbf9fd17fa2b458c6a781d803123b14c18e6f1
[ "MIT" ]
null
null
null
#include<cstdio> #include<algorithm> using namespace std; int main() { int x, y, w, h; scanf("%d %d %d %d", &x, &y, &w, &h); int xd = min(x - 0, w - x), yd = min(y - 0, h - y); printf("%d\n", min(xd, yd)); return 0; }
16.071429
52
0.515556
CodmingOut
a77488622e6955b223a154daa64af77d35bd2f5b
31,833
hxx
C++
opencascade/OpenGl_ShaderProgram.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/OpenGl_ShaderProgram.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/OpenGl_ShaderProgram.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
// Created on: 2013-09-19 // Created by: Denis BOGOLEPOV // Copyright (c) 2013-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 GNU Lesser General Public License version 2.1 ...
44.584034
148
0.620017
mgreminger
a776547d39aa6245678eb45e3e968e2a4ea78d01
644
cpp
C++
test/context.cpp
dristic/cosmonaut
f99cd2d253b3421d4634da3e772f871bf0024042
[ "MIT" ]
2
2017-01-06T19:46:29.000Z
2017-01-29T01:27:23.000Z
test/context.cpp
dristic/cosmonaut
f99cd2d253b3421d4634da3e772f871bf0024042
[ "MIT" ]
null
null
null
test/context.cpp
dristic/cosmonaut
f99cd2d253b3421d4634da3e772f871bf0024042
[ "MIT" ]
null
null
null
// Copyright 2016 Dan Ristic #include <iostream> #include "gtest/gtest.h" #include "src/rendering.h" #include "src/context.h" namespace ChimeraTest { class ContextTest : public ::testing::Test { protected: ContextTest() : context{} { } virtual ~ContextTest() { } virtual void SetUp() { } virtual ...
17.405405
56
0.663043
dristic
a77ac38f5ed1b47102d0925b94a0913145233a12
1,434
cpp
C++
src/autoadjust/autosensoralgorithm.cpp
emjay2k/FastMarkerLocalizer
065f56602a59eceea8fd4c6a4e9e9e45ede6ba34
[ "BSD-3-Clause" ]
null
null
null
src/autoadjust/autosensoralgorithm.cpp
emjay2k/FastMarkerLocalizer
065f56602a59eceea8fd4c6a4e9e9e45ede6ba34
[ "BSD-3-Clause" ]
null
null
null
src/autoadjust/autosensoralgorithm.cpp
emjay2k/FastMarkerLocalizer
065f56602a59eceea8fd4c6a4e9e9e45ede6ba34
[ "BSD-3-Clause" ]
2
2019-09-06T03:36:15.000Z
2022-01-10T18:10:28.000Z
/** * AutoSensorAlgorithm.cpp * * Created on: 07.12.2012 * Author: jung */ #include "autosensoralgorithm.h" namespace fml { AutoSensorAlgorithm::AutoSensorAlgorithm(const float min_val, const float max_val) { min_limit_ = min_val; max_limit_ = max_val; min_value_ = min_limit_; max_value...
20.485714
85
0.691074
emjay2k
a77cf1453200c80620ca662e58dab4bd3ff51341
2,935
cpp
C++
GraphicsProgramming/GraphicsProgramming/src/Rendering/Camera.cpp
jambuttenshaw/cmp203-coursework
40ea602515b75905dc4226d3e2d930907e8cfe5f
[ "MIT" ]
null
null
null
GraphicsProgramming/GraphicsProgramming/src/Rendering/Camera.cpp
jambuttenshaw/cmp203-coursework
40ea602515b75905dc4226d3e2d930907e8cfe5f
[ "MIT" ]
null
null
null
GraphicsProgramming/GraphicsProgramming/src/Rendering/Camera.cpp
jambuttenshaw/cmp203-coursework
40ea602515b75905dc4226d3e2d930907e8cfe5f
[ "MIT" ]
null
null
null
#include "Camera.h" #include "glut.h" #include <gl/GL.h> #include <gl/GLU.h> #include <glm/gtx/transform.hpp> void Camera::Process3DControllerInputs(float dt, bool allowVertical) { // do not walk up or down the y-axis glm::vec3 walkDir{ forward.x, 0.0f, forward.z }; // movement variable is used to make sure tha...
26.441441
94
0.670528
jambuttenshaw
a781582fa9db8e9cee5b053e323a58a026d00371
437
cpp
C++
Remixed/TextureBase.cpp
LukeRoss00/Revive
09b1c59dfbff8abc06194809ec680b990b2cf21c
[ "MIT" ]
1
2021-10-18T19:43:06.000Z
2021-10-18T19:43:06.000Z
Remixed/TextureBase.cpp
LukeRoss00/Revive
09b1c59dfbff8abc06194809ec680b990b2cf21c
[ "MIT" ]
null
null
null
Remixed/TextureBase.cpp
LukeRoss00/Revive
09b1c59dfbff8abc06194809ec680b990b2cf21c
[ "MIT" ]
1
2020-02-03T22:45:41.000Z
2020-02-03T22:45:41.000Z
#include "TextureBase.h" ovrTextureSwapChainData::ovrTextureSwapChainData(ovrTextureSwapChainDesc desc) : Length(REV_SWAPCHAIN_MAX_LENGTH) , Identifier(0) , CurrentIndex(0) , SubmitIndex(0) , Desc(desc) , Textures() { } ovrTextureSwapChainData::~ovrTextureSwapChainData() { } ovrMirrorTextureData::ovrMirrorText...
16.807692
78
0.775744
LukeRoss00
a781f7efd62fc293226b3bb61bab49e1ff2b1280
2,505
cpp
C++
GameOver.cpp
erick-at-github/Skippers-Revenge
496d7c3e90339847bbb2884e6d119821f4f575ca
[ "MIT" ]
2
2020-07-30T05:00:52.000Z
2021-12-10T02:22:17.000Z
GameOver.cpp
erick-at-github/Skippers-Revenge
496d7c3e90339847bbb2884e6d119821f4f575ca
[ "MIT" ]
null
null
null
GameOver.cpp
erick-at-github/Skippers-Revenge
496d7c3e90339847bbb2884e6d119821f4f575ca
[ "MIT" ]
null
null
null
/* * GameOver.cpp * * Created on: May, 2019 * Author: esantiago */ #include <SDL2/SDL.h> #include <SDL2/SDL_image.h> #include <SDL2/SDL_ttf.h> #include <SDL2/SDL_mixer.h> #include <stdio.h> #include <string> #include <sstream> #include "constants.h" #include "LTexture.h" #include "globals.h" #include "funct...
18.69403
111
0.596008
erick-at-github
a7832ddf6e92f42936b1daa8e3f2b23773a02c4e
1,859
cc
C++
public/fingerprint/fingerprint.cc
pikacuh/ink
08c2abb5a40a3c75fbaa636d39e572dea3547960
[ "Apache-2.0" ]
1
2021-03-02T22:22:38.000Z
2021-03-02T22:22:38.000Z
public/fingerprint/fingerprint.cc
pikacuh/ink
08c2abb5a40a3c75fbaa636d39e572dea3547960
[ "Apache-2.0" ]
null
null
null
public/fingerprint/fingerprint.cc
pikacuh/ink
08c2abb5a40a3c75fbaa636d39e572dea3547960
[ "Apache-2.0" ]
1
2021-03-02T22:23:12.000Z
2021-03-02T22:23:12.000Z
// Copyright 2018 Google LLC // // 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 ...
30.983333
75
0.72028
pikacuh
a7847a6c076edaa76951722281a8520b819803b4
580
cpp
C++
src/pwd/pwd.cpp
AllanRegush/coreutls
66dbdb95dbeffc4792d7f903b0b8f8d9ee849a04
[ "MIT" ]
4
2021-03-25T05:42:42.000Z
2021-12-01T02:14:56.000Z
src/pwd/pwd.cpp
AllanRegush/coreutls
66dbdb95dbeffc4792d7f903b0b8f8d9ee849a04
[ "MIT" ]
2
2021-04-05T13:00:02.000Z
2021-04-11T22:29:51.000Z
src/pwd/pwd.cpp
AllanRegush/coreutls
66dbdb95dbeffc4792d7f903b0b8f8d9ee849a04
[ "MIT" ]
null
null
null
#define WIN32_LEAN_AND_MEAN #include <windows.h> #pragma function(strlen) inline int strlen(char *str) { int count = 0; if (str == 0) { return count; } for (char *str_ptr = str; *str_ptr != '\0'; ++str_ptr) { ++count; } return count; } void __cdecl mai...
16.571429
60
0.606897
AllanRegush
a7897a4806a67c70247749c7363fc0822cbae0c0
25
cpp
C++
src/var/Array.cpp
charanyaarvind/StratifyAPI
adfd1bc8354489378d53c6acd77ebedad5790b4f
[ "BSD-3-Clause" ]
null
null
null
src/var/Array.cpp
charanyaarvind/StratifyAPI
adfd1bc8354489378d53c6acd77ebedad5790b4f
[ "BSD-3-Clause" ]
null
null
null
src/var/Array.cpp
charanyaarvind/StratifyAPI
adfd1bc8354489378d53c6acd77ebedad5790b4f
[ "BSD-3-Clause" ]
null
null
null
#include "var/Array.hpp"
12.5
24
0.72
charanyaarvind
a78b30510cbf3f205683c71acbadf23361081fe6
877
cpp
C++
Aulys/src/Core/LayerStack.cpp
noidawt/AulysEngine
6e4a6482961fc27e48342d4767f2d075869b1abf
[ "MIT" ]
1
2020-09-28T10:04:02.000Z
2020-09-28T10:04:02.000Z
Aulys/src/Core/LayerStack.cpp
noidawt/AulysEngine
6e4a6482961fc27e48342d4767f2d075869b1abf
[ "MIT" ]
null
null
null
Aulys/src/Core/LayerStack.cpp
noidawt/AulysEngine
6e4a6482961fc27e48342d4767f2d075869b1abf
[ "MIT" ]
null
null
null
#include "src/pch.h" #include "LayerStack.h" namespace Aulys { LayerStack::LayerStack() { // this->mLayerInsert = this->mLayers.begin(); }; LayerStack::~LayerStack() { for (Layer* layer : this->mLayers) delete layer; }; void LayerStack::pushLayer(Layer* layer) noexcept { mLayers.emplace(mLayers.beg...
17.897959
63
0.648803
noidawt
a78cd4d3719f23a12634eab15c256c42c51c59f2
4,389
cpp
C++
src/nodes/clustered_forward_node.cpp
hdachev/Nimble
922144ebdf1d3ee8c3df44feab4454ff9b0d8375
[ "MIT" ]
null
null
null
src/nodes/clustered_forward_node.cpp
hdachev/Nimble
922144ebdf1d3ee8c3df44feab4454ff9b0d8375
[ "MIT" ]
null
null
null
src/nodes/clustered_forward_node.cpp
hdachev/Nimble
922144ebdf1d3ee8c3df44feab4454ff9b0d8375
[ "MIT" ]
1
2021-05-10T02:07:12.000Z
2021-05-10T02:07:12.000Z
#include "clustered_forward_node.h" #include "clustered_light_culling_node.h" #include "../render_graph.h" #include "../renderer.h" namespace nimble { DEFINE_RENDER_NODE_FACTORY(ClusteredForwardNode) // -------------------------------------------------------------------------------------------------------------------...
38.5
148
0.542265
hdachev
a78d98607e23cb52af5164fcdb1bd89924f13eea
23,568
cpp
C++
src/realm/object-store/sync/mongo_collection.cpp
simonboots/realm-core
8cda8038ea6aac58883826a22a1e07901a009d9f
[ "Apache-2.0" ]
1
2021-07-08T07:51:37.000Z
2021-07-08T07:51:37.000Z
src/realm/object-store/sync/mongo_collection.cpp
simonboots/realm-core
8cda8038ea6aac58883826a22a1e07901a009d9f
[ "Apache-2.0" ]
null
null
null
src/realm/object-store/sync/mongo_collection.cpp
simonboots/realm-core
8cda8038ea6aac58883826a22a1e07901a009d9f
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////// // // Copyright 2020 Realm 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/li...
37.528662
118
0.663145
simonboots
a78e22b2494673eecc8abe37c2d9c7534d6c2f50
580
cpp
C++
src/core/DataThread.cpp
nohal/signalk-server-cpp
8c92255d903a1453c63654cbc8f7213b66b480c7
[ "Apache-2.0" ]
6
2018-09-12T15:20:04.000Z
2021-02-20T20:36:58.000Z
src/core/DataThread.cpp
nohal/signalk-server-cpp
8c92255d903a1453c63654cbc8f7213b66b480c7
[ "Apache-2.0" ]
null
null
null
src/core/DataThread.cpp
nohal/signalk-server-cpp
8c92255d903a1453c63654cbc8f7213b66b480c7
[ "Apache-2.0" ]
4
2019-03-05T03:12:10.000Z
2021-10-31T18:56:58.000Z
// // Created by Raffaele Montella on 14/10/2018. // #include "DataThread.hpp" DataThread::DataThread() : t() { } void DataThread::start() { if (status==DataThread::Status::READY) { t = std::thread(&DataThread::run, this); threadStop = false; } } void DataThread::stop() { threadStop=tru...
16.111111
48
0.610345
nohal
a78ec42993824f30c444d22c7c4cf4e40b996463
1,723
cpp
C++
source/msynth/msynth/model/MUpdateThread.cpp
MRoc/MSynth
3eb5c6cf0ad6a3d12f555ebca5fbe84c1b255829
[ "MIT" ]
1
2022-01-30T07:40:31.000Z
2022-01-30T07:40:31.000Z
source/msynth/msynth/model/MUpdateThread.cpp
MRoc/MSynth
3eb5c6cf0ad6a3d12f555ebca5fbe84c1b255829
[ "MIT" ]
null
null
null
source/msynth/msynth/model/MUpdateThread.cpp
MRoc/MSynth
3eb5c6cf0ad6a3d12f555ebca5fbe84c1b255829
[ "MIT" ]
null
null
null
#include "MUpdateThread.h" MUpdateThread::MUpdateThread( MTimeController* ptTimeController, IBpmControl* ptBpmControl ) : MThread(), ivPtTimeController( ptTimeController ), ivPtBpmControl( ptBpmControl ) { sync( false ); updateSleep(); ivPtTimeController->addSyncListener( this ); ivPtBpmControl...
21.810127
87
0.676727
MRoc
0427bf3cacba05a848486952b06e83722953fd04
12,160
cpp
C++
src/ace/ACE_wrappers/ace/SOCK_Connector.cpp
wfnex/OpenBRAS
b8c2cd836ae85d5307f7f5ca87573b964342bb49
[ "BSD-3-Clause" ]
8
2017-06-05T08:56:27.000Z
2020-04-08T16:50:11.000Z
src/ace/ACE_wrappers/ace/SOCK_Connector.cpp
wfnex/OpenBRAS
b8c2cd836ae85d5307f7f5ca87573b964342bb49
[ "BSD-3-Clause" ]
null
null
null
src/ace/ACE_wrappers/ace/SOCK_Connector.cpp
wfnex/OpenBRAS
b8c2cd836ae85d5307f7f5ca87573b964342bb49
[ "BSD-3-Clause" ]
17
2017-06-05T08:54:27.000Z
2021-08-29T14:19:12.000Z
#include "ace/SOCK_Connector.h" #include "ace/INET_Addr.h" #include "ace/Log_Category.h" #include "ace/OS_NS_unistd.h" #include "ace/OS_NS_sys_socket.h" #include "ace/os_include/os_fcntl.h" #if defined (ACE_HAS_ALLOC_HOOKS) # include "ace/Malloc_Base.h" #endif /* ACE_HAS_ALLOC_HOOKS */ #if !defined (ACE_HAS_WINCE) #in...
34.350282
86
0.507566
wfnex
0429b2677f1ef247088c93271056c77f5a6df6d9
358
cpp
C++
src/utils.cpp
AlexandruIca/cpu-path-tracing
ae6f932118660c390ffadba07c84e52eff30bec5
[ "Unlicense" ]
4
2021-03-13T04:37:12.000Z
2021-03-17T14:49:16.000Z
src/utils.cpp
AlexandruIca/cpu-path-tracing
ae6f932118660c390ffadba07c84e52eff30bec5
[ "Unlicense" ]
null
null
null
src/utils.cpp
AlexandruIca/cpu-path-tracing
ae6f932118660c390ffadba07c84e52eff30bec5
[ "Unlicense" ]
null
null
null
#include "utils.hpp" #include <algorithm> #include <cmath> auto pt::clamp(double const x) noexcept -> double { return std::clamp(x, 0.0, 1.0); } auto pt::color_to_int(double const x) noexcept -> int { // gamma 2.2 correction double const corrected = std::pow(clamp(x), 1.0 / 2.2); return static_cast<i...
21.058824
59
0.653631
AlexandruIca
042b1599e6f14ff6906cb5e4400d95654a5d530e
1,333
hpp
C++
include/star-tape/tape_io/tape_stream.hpp
5cript/star-tape
fc3c690bb63e592cb2b33e092685d22082cc5503
[ "MIT" ]
null
null
null
include/star-tape/tape_io/tape_stream.hpp
5cript/star-tape
fc3c690bb63e592cb2b33e092685d22082cc5503
[ "MIT" ]
null
null
null
include/star-tape/tape_io/tape_stream.hpp
5cript/star-tape
fc3c690bb63e592cb2b33e092685d22082cc5503
[ "MIT" ]
null
null
null
#pragma once #include <star-tape/tape_reader.hpp> #include <star-tape/tape_writer.hpp> #include <iostream> namespace StarTape { class StreamTapeReader : public ITapeReader { public: StreamTapeReader(std::istream* stream); void seekg(uint64_t position) override; cha...
24.236364
72
0.607652
5cript
043b491b416ee33902ba409427ffd7d60aaa74d8
1,795
cxx
C++
Modules/Filtering/Wavelet/test/otbWaveletPacketInverseTransformNew.cxx
lfyater/Orfeo
eb3d4d56089065b99641d8ae7338d2ed0358d28a
[ "Apache-2.0" ]
2
2019-02-13T14:48:19.000Z
2019-12-03T02:54:28.000Z
Modules/Filtering/Wavelet/test/otbWaveletPacketInverseTransformNew.cxx
lfyater/Orfeo
eb3d4d56089065b99641d8ae7338d2ed0358d28a
[ "Apache-2.0" ]
3
2015-10-14T10:11:38.000Z
2015-10-15T08:26:23.000Z
Modules/Filtering/Wavelet/test/otbWaveletPacketInverseTransformNew.cxx
lfyater/Orfeo
eb3d4d56089065b99641d8ae7338d2ed0358d28a
[ "Apache-2.0" ]
2
2019-01-17T10:36:14.000Z
2019-12-03T02:54:36.000Z
/* * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES) * Copyright (C) 2007-2012 Institut Mines Telecom / Telecom Bretagne * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fil...
34.519231
101
0.734819
lfyater
043c7719399310cea810cc5908a415e55dfc6c22
7,837
cpp
C++
src/libOpenImageIO/iptc.cpp
mikaelsundell/oiio
2340b90160a4c9ccba9d9bfd859795caa19b0e7e
[ "BSD-3-Clause" ]
1
2022-02-03T15:46:58.000Z
2022-02-03T15:46:58.000Z
src/libOpenImageIO/iptc.cpp
mikaelsundell/oiio
2340b90160a4c9ccba9d9bfd859795caa19b0e7e
[ "BSD-3-Clause" ]
null
null
null
src/libOpenImageIO/iptc.cpp
mikaelsundell/oiio
2340b90160a4c9ccba9d9bfd859795caa19b0e7e
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2008-present Contributors to the OpenImageIO project. // SPDX-License-Identifier: BSD-3-Clause // https://github.com/OpenImageIO/oiio #include <iostream> #include <OpenImageIO/imageio.h> #include <OpenImageIO/tiffutils.h> #define DEBUG_IPTC_READ 0 #define DEBUG_IPTC_WRITE 0 OIIO_NAMESPACE_BEGIN name...
36.115207
80
0.529922
mikaelsundell
044678e1f65d0ee6e6949dae907baeb22924d712
7,741
cpp
C++
source/tvision/tprogram.cpp
ebelin/tvision
bf09d50c30a58298894cd478125c43b91a6e7c79
[ "MIT" ]
null
null
null
source/tvision/tprogram.cpp
ebelin/tvision
bf09d50c30a58298894cd478125c43b91a6e7c79
[ "MIT" ]
1
2020-10-12T22:41:38.000Z
2020-11-05T22:35:39.000Z
source/tvision/tprogram.cpp
jvprat/tvision
394febdb490ce962930db173274a81e10fac82f8
[ "MIT" ]
null
null
null
/*------------------------------------------------------------*/ /* filename - tprogram.cpp */ /* */ /* function(s) */ /* TProgram member functions ...
23.818462
79
0.499806
ebelin
044b5e4e3a592f3e670378f8461493ab3e8aeaae
1,688
cpp
C++
Libs/MaterialSystem/RendererCgNV2X/Shaders/_CommonCgHelpers.cpp
dns/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
3
2020-04-11T13:00:31.000Z
2020-12-07T03:19:10.000Z
Libs/MaterialSystem/RendererCgNV2X/Shaders/_CommonCgHelpers.cpp
DNS/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
null
null
null
Libs/MaterialSystem/RendererCgNV2X/Shaders/_CommonCgHelpers.cpp
DNS/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
1
2020-04-11T13:00:04.000Z
2020-04-11T13:00:04.000Z
/* Cafu Engine, http://www.cafu.de/ Copyright (c) Carsten Fuchs and other contributors. This project is licensed under the terms of the MIT license. */ /*************************/ /*** Common Cg Helpers ***/ /*************************/ #include "_CommonCgHelpers.hpp" #include "ConsoleCommands/Console.hpp" #include <...
33.098039
138
0.65936
dns
044d948e14513edd31ab6aec7188822d2eecccb9
5,991
cpp
C++
src/multiclient.cpp
mloy/cppstream
74c96aeb464703fed765739b27dcfabed696dae5
[ "MIT" ]
4
2017-08-25T19:34:11.000Z
2022-02-16T14:35:43.000Z
src/multiclient.cpp
mloy/cppstream
74c96aeb464703fed765739b27dcfabed696dae5
[ "MIT" ]
2
2016-07-25T17:32:23.000Z
2021-05-25T14:05:13.000Z
src/multiclient.cpp
mloy/cppstream
74c96aeb464703fed765739b27dcfabed696dae5
[ "MIT" ]
6
2015-05-18T18:55:05.000Z
2021-11-18T19:29:08.000Z
// Copyright 2014 Hottinger Baldwin Messtechnik // Distributed under MIT license // See file LICENSE provided #include <iostream> #include <fstream> #include <memory> #include <string> #include <signal.h> #include <thread> #include <vector> #include <json/writer.h> #include <json/value.h> #include "streamclient/stre...
33.283333
145
0.685695
mloy
045000a5e9c1c8038e40c97ca2fa3da9e817e52a
810
cpp
C++
ch09/ex9_50.cpp
shawabhishek/Cpp-Primer
c93143965e62c7ab833f43586ab1c759a5707cfc
[ "CC0-1.0" ]
7,897
2015-01-02T04:35:38.000Z
2022-03-31T08:32:50.000Z
ch09/ex9_50.cpp
shawabhishek/Cpp-Primer
c93143965e62c7ab833f43586ab1c759a5707cfc
[ "CC0-1.0" ]
456
2015-01-01T15:47:52.000Z
2022-02-07T04:17:56.000Z
ch09/ex9_50.cpp
shawabhishek/Cpp-Primer
c93143965e62c7ab833f43586ab1c759a5707cfc
[ "CC0-1.0" ]
3,887
2015-01-01T13:23:23.000Z
2022-03-31T15:05:21.000Z
// @Yue Wang // // Exercise 9.50: // Write a program to process a vector<string>s whose elements represent integral values. // Produce the sum of all the elements in that vector. // Change the program so that it sums of strings that represent floating-point values. // #include <iostream> #include <string> #include <ve...
21.891892
89
0.614815
shawabhishek
0451fd901b6b70c8ae2349e0ce0c68068b0e7a42
1,963
cc
C++
test/integration/filters/call_decodedata_once_filter.cc
ryanmcnamara/envoy
29b30911dbfb3f9760efeb28238ceac36e1a1a23
[ "Apache-2.0" ]
2
2018-12-13T21:07:04.000Z
2019-06-17T18:53:28.000Z
test/integration/filters/call_decodedata_once_filter.cc
ryanmcnamara/envoy
29b30911dbfb3f9760efeb28238ceac36e1a1a23
[ "Apache-2.0" ]
22
2022-02-14T11:41:25.000Z
2022-03-30T11:34:09.000Z
test/integration/filters/call_decodedata_once_filter.cc
ryanmcnamara/envoy
29b30911dbfb3f9760efeb28238ceac36e1a1a23
[ "Apache-2.0" ]
2
2019-11-29T12:40:19.000Z
2019-12-13T14:09:55.000Z
#include "envoy/registry/registry.h" #include "envoy/server/filter_config.h" #include "extensions/filters/http/common/pass_through_filter.h" #include "test/extensions/filters/http/common/empty_http_filter_config.h" #include "test/integration/filters/common.h" #include "gtest/gtest.h" namespace Envoy { // A filter ...
38.490196
98
0.739684
ryanmcnamara
0452252f7d7f60d906e07a975a228ac5dfbc2404
7,055
cpp
C++
cilkscale/benchmark.cpp
OpenCilk/productivity-tools
0baa3e6505caf76319912e98a8c2d0c828b445cf
[ "MIT" ]
1
2021-11-12T21:30:47.000Z
2021-11-12T21:30:47.000Z
cilkscale/benchmark.cpp
OpenCilk/productivity-tools
0baa3e6505caf76319912e98a8c2d0c828b445cf
[ "MIT" ]
2
2021-03-22T14:41:33.000Z
2021-07-20T20:50:55.000Z
cilkscale/benchmark.cpp
OpenCilk/productivity-tools
0baa3e6505caf76319912e98a8c2d0c828b445cf
[ "MIT" ]
3
2020-12-19T22:46:47.000Z
2021-03-06T01:14:44.000Z
#include <cassert> #include <cstdint> #include <cstdio> #include <cstdlib> #include <cstring> // Ensure that __cilkscale__ is defined, so we can provide a nontrivial // definition of getworkspan(). #ifndef __cilkscale__ #define __cilkscale__ #endif #include "cilkscale_timer.h" #include <csi/csi.h> #include <iostream>...
25.561594
80
0.66506
OpenCilk
04577c7a2cb677993551f9a7c0556ff3f3943591
6,597
cpp
C++
vislib/src/net/TcpServer.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
null
null
null
vislib/src/net/TcpServer.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
null
null
null
vislib/src/net/TcpServer.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
null
null
null
/* * TcpServer.cpp * * Copyright (C) 2006 - 2007 by Universitaet Stuttgart (VIS). * Alle Rechte vorbehalten. */ #include "vislib/net/TcpServer.h" #include "vislib/IllegalParamException.h" #include "vislib/sys/Interlocked.h" #include "vislib/net/SocketException.h" #include "vislib/Trace.h" /* * vislib::net::...
25.471042
82
0.589662
azuki-monster
045a81bc2cdc9a1773c553cebb15df7fbd92df61
1,382
hpp
C++
book/cpp_templates/version1/types/type1.hpp
houruixiang/day_day_learning
208f70a4f0a85dd99191087835903d279452fd54
[ "MIT" ]
null
null
null
book/cpp_templates/version1/types/type1.hpp
houruixiang/day_day_learning
208f70a4f0a85dd99191087835903d279452fd54
[ "MIT" ]
null
null
null
book/cpp_templates/version1/types/type1.hpp
houruixiang/day_day_learning
208f70a4f0a85dd99191087835903d279452fd54
[ "MIT" ]
null
null
null
/* The following code example is taken from the book * "C++ Templates - The Complete Guide" * by David Vandevoorde and Nicolai M. Josuttis, Addison-Wesley, 2002 * * (C) Copyright David Vandevoorde and Nicolai M. Josuttis 2002. * Permission to copy, use, modify, sell and distribute this software * is granted provi...
28.204082
69
0.723589
houruixiang
045b2f119538f6bae7d796b6e3f2fce9c10c1e03
6,787
cpp
C++
comm/mailbox_test.cpp
cherishher/csci5570proj
04240a1fa15b7e75fd2dd87a98a6f0ac0779560a
[ "Apache-2.0" ]
29
2017-09-19T12:26:21.000Z
2021-03-13T01:41:13.000Z
comm/mailbox_test.cpp
cherishher/ParameterServerPrototype
04240a1fa15b7e75fd2dd87a98a6f0ac0779560a
[ "Apache-2.0" ]
3
2017-09-27T07:02:33.000Z
2018-09-21T06:58:48.000Z
comm/mailbox_test.cpp
cherishher/ParameterServerPrototype
04240a1fa15b7e75fd2dd87a98a6f0ac0779560a
[ "Apache-2.0" ]
22
2017-09-19T06:51:44.000Z
2020-06-25T05:54:00.000Z
#include "gtest/gtest.h" #include "glog/logging.h" #include "mailbox.hpp" namespace csci5570 { namespace { class TestMailbox : public testing::Test { public: TestMailbox() {} ~TestMailbox() {} protected: void SetUp() {} void TearDown() {} }; class FakeIdMapper : public AbstractIdMapper { public: virt...
26.826087
62
0.654044
cherishher
045e0073438db9633de15872f31ff8b3b1b4fb45
4,074
hxx
C++
include/crocoddyl/multibody/costs/impulse-friction-cone.hxx
pFernbach/crocoddyl
cbf81a329e3abaf4ce1b4a8fab1431f93cd9a5c8
[ "BSD-3-Clause" ]
null
null
null
include/crocoddyl/multibody/costs/impulse-friction-cone.hxx
pFernbach/crocoddyl
cbf81a329e3abaf4ce1b4a8fab1431f93cd9a5c8
[ "BSD-3-Clause" ]
null
null
null
include/crocoddyl/multibody/costs/impulse-friction-cone.hxx
pFernbach/crocoddyl
cbf81a329e3abaf4ce1b4a8fab1431f93cd9a5c8
[ "BSD-3-Clause" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (C) 2019-2020, University of Edinburgh // Copyright note valid unless otherwise stated in individual files. // All rights reserved. ////////////////////////////////////////////////////////////////////...
39.553398
113
0.655376
pFernbach
0460b80eb8d8513fca85306f4d6df2872e65c7ca
8,160
cpp
C++
Plugin/source/PixelUtil.cpp
mrayy/UnityOpencv
6172e59b4a3abb3ee9f098b5d791d79bc7d21899
[ "MIT" ]
6
2017-05-14T03:02:41.000Z
2021-11-24T10:59:29.000Z
Plugin/source/PixelUtil.cpp
mrayy/UnityOpencv
6172e59b4a3abb3ee9f098b5d791d79bc7d21899
[ "MIT" ]
null
null
null
Plugin/source/PixelUtil.cpp
mrayy/UnityOpencv
6172e59b4a3abb3ee9f098b5d791d79bc7d21899
[ "MIT" ]
1
2018-11-01T08:12:38.000Z
2018-11-01T08:12:38.000Z
#include "stdafx.h" #include "PixelUtil.h" namespace mray{ namespace video{ PixelDescriptor PixelUtil::m_pixelDescription[]={ { //name mT("Unkown"), //elemSizeB 0, //flags 0, //type EPixelType_Byte, //componentsCount 0, //bits 0,0,0,0, //mask 0,0,0,0, //shift 0,0,0,0 }, { //name mT("LUMINANCE8"), //elemSizeB 1,...
11.707317
101
0.656495
mrayy
046286270ae4998833cbfe9ac9937e5ebad69573
2,639
cpp
C++
src/dynarmic/frontend/A32/a32_types.cpp
liushuyu/dynarmic
40afbe19279820e59382b7460643c62398ba0fb8
[ "0BSD" ]
77
2021-09-03T09:40:01.000Z
2022-03-30T05:18:36.000Z
src/dynarmic/frontend/A32/a32_types.cpp
xerpi/dynarmic
bcfe377aaa5138af740e90af5be7a7dff7b62a52
[ "0BSD" ]
16
2021-09-03T13:13:54.000Z
2022-03-30T20:07:38.000Z
src/dynarmic/frontend/A32/a32_types.cpp
xerpi/dynarmic
bcfe377aaa5138af740e90af5be7a7dff7b62a52
[ "0BSD" ]
15
2021-09-01T11:19:26.000Z
2022-03-27T09:19:14.000Z
/* This file is part of the dynarmic project. * Copyright (c) 2016 MerryMage * SPDX-License-Identifier: 0BSD */ #include "dynarmic/frontend/A32/a32_types.h" #include <array> #include <ostream> #include "dynarmic/common/bit_util.h" namespace Dynarmic::A32 { const char* CondToString(Cond cond, bool explicit_al) {...
32.580247
141
0.529367
liushuyu
0466f0ebd788c50d43729c81e4aada889d6a13b2
6,517
cpp
C++
source/tests/adt_map_test/source/adt_map_test.cpp
0xAnarz/core
0c9310d9c9c2074782b3641a639b1e1a931f1afe
[ "Apache-2.0" ]
928
2018-12-26T22:40:59.000Z
2022-03-31T12:17:43.000Z
source/tests/adt_map_test/source/adt_map_test.cpp
0xAnarz/core
0c9310d9c9c2074782b3641a639b1e1a931f1afe
[ "Apache-2.0" ]
132
2019-03-01T21:01:17.000Z
2022-03-17T09:00:42.000Z
source/tests/adt_map_test/source/adt_map_test.cpp
0xAnarz/core
0c9310d9c9c2074782b3641a639b1e1a931f1afe
[ "Apache-2.0" ]
112
2019-01-15T09:36:11.000Z
2022-03-12T06:39:01.000Z
/* * Abstract Data Type Library by Parra Studios * A abstract data type library providing generic containers. * * Copyright (C) 2016 - 2021 Vicente Eduardo Ferrer Garcia <vic798@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with th...
29.355856
131
0.658892
0xAnarz
046729c377027d754059018451a2d40ef706909e
874
hpp
C++
engine/include/entity/EntityMake.hpp
zhec9/renemo
3c6bb860022407d3a52c5b988771918041a23c64
[ "MIT" ]
null
null
null
engine/include/entity/EntityMake.hpp
zhec9/renemo
3c6bb860022407d3a52c5b988771918041a23c64
[ "MIT" ]
null
null
null
engine/include/entity/EntityMake.hpp
zhec9/renemo
3c6bb860022407d3a52c5b988771918041a23c64
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// /// \copyright MIT License /// /// \author Caylen Lee /// /// \date 2019 ...
21.317073
80
0.424485
zhec9
046e02bdc882810f0571094fd4d26cf6dc12fc52
770
cpp
C++
Baekjoon/4388.cpp
Twinparadox/AlgorithmProblem
0190d17555306600cfd439ad5d02a77e663c9a4e
[ "MIT" ]
null
null
null
Baekjoon/4388.cpp
Twinparadox/AlgorithmProblem
0190d17555306600cfd439ad5d02a77e663c9a4e
[ "MIT" ]
null
null
null
Baekjoon/4388.cpp
Twinparadox/AlgorithmProblem
0190d17555306600cfd439ad5d02a77e663c9a4e
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; int main(void) { while (1) { int carry = 0; string s1, s2; cin >> s1 >> s2; if (s1 == "0" && s2 == "0") break; int len1 = s1.length(), len2 = s2.length(); int c = 0, i, j; for (i = len1 - 1, j = len2 - 1; i >= 0 && j >= 0; i--, j--) { ...
14.528302
62
0.377922
Twinparadox
047130286c3ecbfaabeb3c2c1aef830918f492af
1,836
hpp
C++
ReadFile.hpp
misteltein/YUBA
4d3e9c070c435df0a9f98cadd483fb8f9106dd9b
[ "MIT" ]
1
2018-08-25T00:05:32.000Z
2018-08-25T00:05:32.000Z
ReadFile.hpp
toyaku-phys/YUBA
2b5a5faf17dea256b0389af736589c1c554336d0
[ "MIT" ]
4
2018-05-08T14:04:17.000Z
2020-02-21T12:56:53.000Z
ReadFile.hpp
hibikiitoga/YUBA
4d3e9c070c435df0a9f98cadd483fb8f9106dd9b
[ "MIT" ]
2
2018-04-19T02:27:40.000Z
2018-05-08T11:52:22.000Z
#include <iostream> #include <cmath> #include <vector> #include <set> #include <thread> #include <algorithm> #include <boost/tuple/tuple.hpp> #include <boost/tuple/tuple_io.hpp> #include <boost/algorithm/string.hpp> #include <boost/algorithm/string/predicate.hpp> #include <boost/lexical_cast.hpp> #include <boost/format...
19.326316
52
0.511438
misteltein
0471960c41388b881426b10b32c9a93d16055e94
1,626
cpp
C++
scene/visitor/visitor.cpp
aconstlink/snakeoil
3c6e02655e1134f8422f01073090efdde80fc109
[ "MIT" ]
1
2017-08-11T19:12:24.000Z
2017-08-11T19:12:24.000Z
scene/visitor/visitor.cpp
aconstlink/snakeoil
3c6e02655e1134f8422f01073090efdde80fc109
[ "MIT" ]
11
2018-07-07T20:09:44.000Z
2020-02-16T22:45:09.000Z
scene/visitor/visitor.cpp
aconstlink/snakeoil
3c6e02655e1134f8422f01073090efdde80fc109
[ "MIT" ]
null
null
null
#include "visitor.h" using namespace so_scene ; using namespace so_scene::so_visitor ; so_scene::result visitor::visit( so_scene::so_node::node_ptr_t ) { return so_scene::result::ok ; } so_scene::result visitor::post_visit( so_scene::so_node::node_ptr_t ) { return so_scene::result::ok ; } so_scene::result ...
21.68
77
0.721402
aconstlink