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
7242dbc5af99741ee6d7f3ea679defccd7491ad1
13,783
cpp
C++
src/input.cpp
matteobarbieri/titan
e440f921ce165a7b1004a971b55d3ae63b145514
[ "MIT" ]
1
2019-09-18T16:09:10.000Z
2019-09-18T16:09:10.000Z
src/input.cpp
matteobarbieri/titan
e440f921ce165a7b1004a971b55d3ae63b145514
[ "MIT" ]
null
null
null
src/input.cpp
matteobarbieri/titan
e440f921ce165a7b1004a971b55d3ae63b145514
[ "MIT" ]
null
null
null
#include "libtcod.hpp" // Actions #include "actions/Action.hpp" #include "actions/Move.hpp" #include "actions/menus_actions.hpp" #include "actions/ui.hpp" #include "actions/combat.hpp" #include "actions/skills.hpp" #include "actions/items.hpp" #include "actions/inspect.hpp" #include "Player.hpp" #include "GameState...
23.520478
88
0.455198
matteobarbieri
7247b089e81ec241ead74b596c021c1d75084178
709
cpp
C++
SP1Framework/SP1Framework/levels.cpp
Kiing21/SP01-Trap-la-pist
ebf622dad1d6632f7736c2438e67458281feed9e
[ "MIT" ]
null
null
null
SP1Framework/SP1Framework/levels.cpp
Kiing21/SP01-Trap-la-pist
ebf622dad1d6632f7736c2438e67458281feed9e
[ "MIT" ]
null
null
null
SP1Framework/SP1Framework/levels.cpp
Kiing21/SP01-Trap-la-pist
ebf622dad1d6632f7736c2438e67458281feed9e
[ "MIT" ]
null
null
null
#include "levels.h" void resetGame(struct SGameChar &playerInfo, int ChangesArrayOne[50], struct SGameTrap g_fTrap[34], bool &bGotTrapPos) { for (int i = 0; i < 50; i++) // reset array { ChangesArrayOne[i] = 0; } ChangesArrayOne[14] = 0; playerInfo.m_iLife = 3; // reset lives playerInfo.m_cLocation.X = 1;...
30.826087
120
0.706629
Kiing21
724b914f6aa58a2693c999dc75e2c0adecf65d11
4,269
cpp
C++
src/utils/system_utils/tests/system_utils_ut.cpp
bemol38/iot-hub-device-update
2cd165ba05cf7a6eff34cbf6c26e4ae30cc9d5d9
[ "MIT" ]
null
null
null
src/utils/system_utils/tests/system_utils_ut.cpp
bemol38/iot-hub-device-update
2cd165ba05cf7a6eff34cbf6c26e4ae30cc9d5d9
[ "MIT" ]
null
null
null
src/utils/system_utils/tests/system_utils_ut.cpp
bemol38/iot-hub-device-update
2cd165ba05cf7a6eff34cbf6c26e4ae30cc9d5d9
[ "MIT" ]
null
null
null
/** * @file system_utils_ut.cpp * @brief Unit Tests for c_utils library * * @copyright Copyright (c) Microsoft Corporation. * Licensed under the MIT License. */ #include <catch2/catch.hpp> #include "aduc/system_utils.h" #include <sys/stat.h> TEST_CASE("ADUC_SystemUtils_GetTemporaryPathName") { SECTION("Ver...
25.716867
79
0.615601
bemol38
724bad506a10b64b7e9b56e8cd72d6b1b3ceb6c9
2,079
hpp
C++
typelist/largest_type.hpp
jeremimucha/Modern-Cpp-Design
46ac546818fc6d10c1e9154bdcb1237c27f41812
[ "Unlicense" ]
null
null
null
typelist/largest_type.hpp
jeremimucha/Modern-Cpp-Design
46ac546818fc6d10c1e9154bdcb1237c27f41812
[ "Unlicense" ]
null
null
null
typelist/largest_type.hpp
jeremimucha/Modern-Cpp-Design
46ac546818fc6d10c1e9154bdcb1237c27f41812
[ "Unlicense" ]
null
null
null
#pragma once #include <type_traits> #include "typelist.hpp" #include "is_empty.hpp" template<typename List> struct largest_type_impl; template<template<typename...>class List, typename T, typename... Ts> struct largest_type_impl<List<T,Ts...>> { private: using tail = typename largest_type_impl<List<Ts...>>::type...
23.359551
80
0.749399
jeremimucha
724be2fa4c0ba5e0a958c3bbe2c79f9f251d027c
311
cpp
C++
libsrc/grabber/osx/OsxWrapper.cpp
keesg60/hyperion.ng
7f174b28723456d41a5d48c1f1eed5fa41f418c2
[ "MIT-0", "Apache-2.0", "CC-BY-4.0", "MIT" ]
1,808
2016-06-29T00:12:07.000Z
2022-03-30T22:55:16.000Z
libsrc/grabber/osx/OsxWrapper.cpp
keesg60/hyperion.ng
7f174b28723456d41a5d48c1f1eed5fa41f418c2
[ "MIT-0", "Apache-2.0", "CC-BY-4.0", "MIT" ]
1,271
2016-06-16T20:12:41.000Z
2022-03-31T17:47:59.000Z
libsrc/grabber/osx/OsxWrapper.cpp
keesg60/hyperion.ng
7f174b28723456d41a5d48c1f1eed5fa41f418c2
[ "MIT-0", "Apache-2.0", "CC-BY-4.0", "MIT" ]
458
2016-06-15T16:08:12.000Z
2022-03-29T15:36:16.000Z
#include <grabber/OsxWrapper.h> OsxWrapper::OsxWrapper( int updateRate_Hz, int display, int pixelDecimation ) : GrabberWrapper("OSX", &_grabber, updateRate_Hz) , _grabber(display) { _grabber.setPixelDecimation(pixelDecimation); } void OsxWrapper::action() { transferFrame(_grabber); }
18.294118
50
0.720257
keesg60
724c5d67b6f438c62acad96eebf9c4e54e792d50
5,732
cpp
C++
contrib/openddlparser/code/DDLNode.cpp
sir-sparrow/assimp
8c3e983bc31f69eea0b5d690ad19b63062fbdd1c
[ "BSD-3-Clause" ]
7,604
2015-01-01T01:58:57.000Z
2022-03-31T09:51:25.000Z
contrib/openddlparser/code/DDLNode.cpp
sir-sparrow/assimp
8c3e983bc31f69eea0b5d690ad19b63062fbdd1c
[ "BSD-3-Clause" ]
3,677
2015-01-02T08:06:57.000Z
2022-03-31T19:24:26.000Z
contrib/openddlparser/code/DDLNode.cpp
sir-sparrow/assimp
8c3e983bc31f69eea0b5d690ad19b63062fbdd1c
[ "BSD-3-Clause" ]
2,728
2015-01-01T19:28:19.000Z
2022-03-31T16:07:18.000Z
/*----------------------------------------------------------------------------------------------- The MIT License (MIT) Copyright (c) 2014-2020 Kim Kulling 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 ...
25.140351
97
0.634334
sir-sparrow
7254cb541d99744bf13d08c28a6783d22469c66b
3,543
cpp
C++
apps/hls_examples/blend_hls/pipeline.cpp
akifoezkan/Halide-HLS
1eee3f38f32722f3e725c29a5b7a084275062a7f
[ "MIT" ]
71
2016-11-17T19:22:21.000Z
2022-01-10T10:03:58.000Z
apps/hls_examples/blend_hls/pipeline.cpp
akifoezkan/Halide-HLS
1eee3f38f32722f3e725c29a5b7a084275062a7f
[ "MIT" ]
30
2017-02-02T21:03:33.000Z
2018-06-27T20:49:31.000Z
apps/hls_examples/blend_hls/pipeline.cpp
akifoezkan/Halide-HLS
1eee3f38f32722f3e725c29a5b7a084275062a7f
[ "MIT" ]
22
2017-04-16T11:44:34.000Z
2022-03-26T13:27:10.000Z
/* Blend two images with weighted addition * Takes two 24-bit RGB images in, and returns a single 24-bit RGB of the same size. * Steven Bell <sebell@stanford.edu> * Keyi Zhang <keyi@stanford.edu> */ #include "Halide.h" using namespace Halide; class BlendPipe { public: ImageParam input1, input2; ImagePar...
33.424528
92
0.603726
akifoezkan
72585016b7505cc117e8d82c87773ed3b51d463c
928
hpp
C++
libs/parse/include/fcppt/parse/epsilon_decl.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
13
2015-02-21T18:35:14.000Z
2019-12-29T14:08:29.000Z
libs/parse/include/fcppt/parse/epsilon_decl.hpp
cpreh/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
5
2016-08-27T07:35:47.000Z
2019-04-21T10:55:34.000Z
libs/parse/include/fcppt/parse/epsilon_decl.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
8
2015-01-10T09:22:37.000Z
2019-12-01T08:31:12.000Z
// Copyright Carl Philipp Reh 2009 - 2021. // 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_PARSE_EPSILON_DECL_HPP_INCLUDED #define FCPPT_PARSE_EPSILON_DECL_HPP_INCLUDED #inclu...
25.081081
81
0.740302
freundlich
72590ad3749fae5ae41a11752ae268744301cc78
2,376
hpp
C++
src/Aurora/Logger/Logger.hpp
sjuhyeon/Aurora
9a6249bcac9beb0ac9792137b522160156e1dd71
[ "MIT" ]
1
2022-02-23T17:42:51.000Z
2022-02-23T17:42:51.000Z
src/Aurora/Logger/Logger.hpp
sjuhyeon/Aurora
9a6249bcac9beb0ac9792137b522160156e1dd71
[ "MIT" ]
null
null
null
src/Aurora/Logger/Logger.hpp
sjuhyeon/Aurora
9a6249bcac9beb0ac9792137b522160156e1dd71
[ "MIT" ]
null
null
null
#pragma once #include <cstdint> #include <cstdio> #include <functional> #include <memory> #include <vector> #include <Aurora/Core/Library.hpp> #include <Aurora/Core/FormatString.hpp> namespace Aurora { class AU_API Logger { public: enum class Severity : uint8_t { Info = 0, Warning, Error, FatalErro...
26.10989
145
0.686869
sjuhyeon
725c75583b9d888f7194bd233833584f0bfb6618
6,561
cc
C++
RtAudioJS.cc
hammus/rtaudiojs
beb7d00ac9e2b9e2d3e71f833c3687590414437e
[ "Unlicense", "MIT" ]
3
2017-12-28T13:22:30.000Z
2018-05-20T07:27:50.000Z
RtAudioJS.cc
liamwhan/rtaudiojs
beb7d00ac9e2b9e2d3e71f833c3687590414437e
[ "Unlicense", "MIT" ]
null
null
null
RtAudioJS.cc
liamwhan/rtaudiojs
beb7d00ac9e2b9e2d3e71f833c3687590414437e
[ "Unlicense", "MIT" ]
null
null
null
#include <nan.h> #include <uv.h> #include <string> #include <iostream> #include <vector> #include <algorithm> #include <chrono> #include <thread> #include "RtStreamParams.h" #include "lib/rtaudio/RtAudio.h" namespace RtAudioJs { using namespace Nan; // using namespace v8; using namespace std; RtA...
33.136364
136
0.563176
hammus
7262269768531e234651db3916d6c9e6e3b743d7
2,656
cpp
C++
net.ssa/xrDXTC/xrDXTC.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:19.000Z
2022-03-26T17:00:19.000Z
xrDXTC/xrDXTC.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
null
null
null
xrDXTC/xrDXTC.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:21.000Z
2022-03-26T17:00:21.000Z
// xrDXTC.cpp : Defines the entry point for the DLL application. // #include "stdafx.h" #include "s3_intrf.h" #include "xrDXTC.h" // #pragma comment(lib,"s3tc.lib") BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) ...
26.29703
90
0.701807
ixray-team
726564f37af7eb3d14eb2da98e9abe7efe7954bf
4,027
hpp
C++
src/lib/avsutil/audio_impl.hpp
januswel/avsutil
417a07e794a4ec7549dc8453407d541755bb4bb3
[ "MIT" ]
null
null
null
src/lib/avsutil/audio_impl.hpp
januswel/avsutil
417a07e794a4ec7549dc8453407d541755bb4bb3
[ "MIT" ]
1
2015-01-05T15:45:31.000Z
2015-01-05T15:45:31.000Z
src/lib/avsutil/audio_impl.hpp
januswel/avsutil
417a07e794a4ec7549dc8453407d541755bb4bb3
[ "MIT" ]
null
null
null
/* * audio_impl.hpp * Declarations and definitions for a class caudio_type * * Copyright (C) 2010 janus_wel<janus.wel.3@gmail.com> * see LICENSE for redistributing, modifying, and so on. * */ #ifndef AUDIO_IMPL_HPP #define AUDIO_IMPL_HPP #include "../../include/avsutil.hpp" #include "avisynth.h" #include "...
34.715517
78
0.43258
januswel
7269878d6b5c26e1f84c7a9ffb5ed9d2e8a36b10
4,272
cpp
C++
examples/meme_likes/test/database_tests.cpp
nzikic/lru_cache
74913307bf712f94bf1f9eaff1397d0ac0c91372
[ "MIT" ]
2
2019-10-03T20:00:04.000Z
2020-08-12T07:42:46.000Z
examples/meme_likes/test/database_tests.cpp
nzikic/lru_cache
74913307bf712f94bf1f9eaff1397d0ac0c91372
[ "MIT" ]
null
null
null
examples/meme_likes/test/database_tests.cpp
nzikic/lru_cache
74913307bf712f94bf1f9eaff1397d0ac0c91372
[ "MIT" ]
null
null
null
#include "cache.h" #include <gtest/gtest.h> #include <gmock/gmock.h> #include <gmock/gmock-matchers.h> namespace cache::tests { using namespace ::testing; class MockMemeDataBase : public IMemeDatabaseBase { public: MockMemeDataBase() = default; MOCK_METHOD(Meme, get_by_name, (...
41.882353
179
0.631788
nzikic
726f8843e5b7490f5507df6fbf355589cd2f66df
23,753
cpp
C++
PlatformIO/teensy-r4ge-pro-synth/src/main.cpp
DigiTorus86/Teensy-R4ge-Pro
d94a73f4f60957b3f28a27b7d6f74b01a61121fa
[ "MIT" ]
1
2022-01-13T02:00:52.000Z
2022-01-13T02:00:52.000Z
PlatformIO/teensy-r4ge-pro-synth/src/main.cpp
DigiTorus86/Teensy-R4ge-Pro
d94a73f4f60957b3f28a27b7d6f74b01a61121fa
[ "MIT" ]
null
null
null
PlatformIO/teensy-r4ge-pro-synth/src/main.cpp
DigiTorus86/Teensy-R4ge-Pro
d94a73f4f60957b3f28a27b7d6f74b01a61121fa
[ "MIT" ]
1
2022-01-11T12:55:50.000Z
2022-01-11T12:55:50.000Z
/*************************************************** Teensy R4ge Pro Audio Synthesizer application Requires: - Teensy R4ge Pro Optional: - SD card - UART to MIDI adapter - MIDI keyboard Controls: - Left/Right: change selected control - Up/Down: change value of selected control - - A: play selected note...
25.082365
120
0.679072
DigiTorus86
72706ed9824fce79ebf2886d97093dcd33e57bd7
1,256
cpp
C++
sumofUpperandLowerTriangleinMatrix/main.cpp
Kapil706/GeeksForGeeks.Cpp-
3251fe2caf29e485656626d758058bd968e50ae1
[ "MIT" ]
1
2019-07-31T16:47:51.000Z
2019-07-31T16:47:51.000Z
sumofUpperandLowerTriangleinMatrix/main.cpp
Kapil706/GeeksForGeeks.Cpp-
3251fe2caf29e485656626d758058bd968e50ae1
[ "MIT" ]
null
null
null
sumofUpperandLowerTriangleinMatrix/main.cpp
Kapil706/GeeksForGeeks.Cpp-
3251fe2caf29e485656626d758058bd968e50ae1
[ "MIT" ]
null
null
null
#include <iostream> #define SIZE 100 using namespace std; void sumTriangles(int n, int mat[SIZE][SIZE]){ // Your code here int sumd=0; int sum1=0; int sum2=0; int sumu=0; int suml=0; for(int i=0;i<n;i++){ for(int j=0;j<n;j++){ if(i==j){ sumd += mat[i][j...
17.444444
85
0.360669
Kapil706
727ba5d7f00d5d5753bebfe3c3fe8efe9dad972b
3,785
hpp
C++
nano/secure/store/account_store_partial.hpp
Sukhmai/nano-node
d4b3e5473ed85366edbd91aebc698ccc28e018fb
[ "BSD-3-Clause" ]
6
2021-11-24T19:02:09.000Z
2022-03-08T08:24:35.000Z
nano/secure/store/account_store_partial.hpp
Sukhmai/nano-node
d4b3e5473ed85366edbd91aebc698ccc28e018fb
[ "BSD-3-Clause" ]
1
2022-03-18T21:40:36.000Z
2022-03-18T21:40:36.000Z
nano/secure/store/account_store_partial.hpp
Sukhmai/nano-node
d4b3e5473ed85366edbd91aebc698ccc28e018fb
[ "BSD-3-Clause" ]
1
2022-03-06T03:02:40.000Z
2022-03-06T03:02:40.000Z
#pragma once #include <nano/secure/store_partial.hpp> namespace { template <typename T> void parallel_traversal (std::function<void (T const &, T const &, bool const)> const & action); } namespace nano { template <typename Val, typename Derived_Store> class store_partial; template <typename Val, typename Derived_St...
37.107843
219
0.743725
Sukhmai
727cdcdda850d033cbf165c9c606aeead0729012
3,798
cpp
C++
src/thread_pool.cpp
NoahR02/Odin
3c2ed3bb69df24ba162e5f2ea8f61ee3f7fd8e2f
[ "BSD-3-Clause" ]
214
2015-03-29T00:45:17.000Z
2017-12-03T17:40:58.000Z
src/thread_pool.cpp
NoahR02/Odin
3c2ed3bb69df24ba162e5f2ea8f61ee3f7fd8e2f
[ "BSD-3-Clause" ]
143
2016-12-04T10:41:14.000Z
2017-12-03T21:34:23.000Z
src/thread_pool.cpp
NoahR02/Odin
3c2ed3bb69df24ba162e5f2ea8f61ee3f7fd8e2f
[ "BSD-3-Clause" ]
42
2016-12-05T16:28:47.000Z
2017-12-03T18:25:58.000Z
// thread_pool.cpp #define WORKER_TASK_PROC(name) isize name(void *data) typedef WORKER_TASK_PROC(WorkerTaskProc); struct WorkerTask { WorkerTask * next; WorkerTaskProc *do_work; void * data; }; struct ThreadPool { gbAllocator allocator; BlockingMutex mutex; Condition task_cond; Slice<Thre...
23.018182
108
0.694576
NoahR02
727e35e7e82f219dff2781d9c3de5aa310995d66
526
hpp
C++
include/RED4ext/Scripting/Natives/Generated/anim/EMotionExtractionCompressionType.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
42
2020-12-25T08:33:00.000Z
2022-03-22T14:47:07.000Z
include/RED4ext/Scripting/Natives/Generated/anim/EMotionExtractionCompressionType.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
38
2020-12-28T22:36:06.000Z
2022-02-16T11:25:47.000Z
include/RED4ext/Scripting/Natives/Generated/anim/EMotionExtractionCompressionType.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
20
2020-12-28T22:17:38.000Z
2022-03-22T17:19:01.000Z
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> namespace RED4ext { namespace anim { enum class EMotionExtractionCompressionType : uint32_t { EMECT_UNCOMPRESSED = 0, EMECT_SPLINE_MID = 2, EMECT_UNCOMPRESSED_ALL_ANGLES = 3, EMECT_SPLINE_LOW = 4, EMECT_SPLI...
22.869565
57
0.737643
jackhumbert
7282667913b9b368a58ae7983415ef2127fe58da
20,279
cpp
C++
src/gpu/gl/GrGLCreateNullInterface.cpp
tmpvar/skia.cc
6e36ba7bf19cc7597837bb0416882ad4d699916b
[ "Apache-2.0" ]
3
2015-08-16T03:44:19.000Z
2015-08-16T17:31:59.000Z
third_party/skia/src/gpu/gl/GrGLCreateNullInterface.cpp
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
third_party/skia/src/gpu/gl/GrGLCreateNullInterface.cpp
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "gl/GrGLInterface.h" #include "GrGLTestInterface.h" #include "SkMutex.h" #include "SkTDArray.h" // added to suppress 'no previous prototype' warning and because thi...
32.4464
103
0.550668
tmpvar
728452eb8041a2b8c203d234fea6bc804914c8ee
2,169
cc
C++
dbfill/insertbuffer.cc
piki/pip
ffd91f8b4ff21d7070a41a3d9f961d4e44625111
[ "BSD-3-Clause" ]
2
2017-10-18T22:33:52.000Z
2021-11-11T22:32:10.000Z
dbfill/insertbuffer.cc
piki/pip
ffd91f8b4ff21d7070a41a3d9f961d4e44625111
[ "BSD-3-Clause" ]
null
null
null
dbfill/insertbuffer.cc
piki/pip
ffd91f8b4ff21d7070a41a3d9f961d4e44625111
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2005-2006 Duke University. All rights reserved. * Please see COPYING for license terms. */ #include <assert.h> #include <stdarg.h> #include <stdio.h> #include <mysql/mysql.h> #include <map> #include <string> #include "insertbuffer.h" #define MAX_LEN 4000000 static std::map<std::string, std::st...
28.539474
98
0.679576
piki
728864b48e6950cce7fbd85c1eadd241adcca19e
4,911
cpp
C++
construct-quad-tree/solution.cpp
Javran/leetcode
f3899fe1424d3cda72f44102bab6dd95a7c7a320
[ "MIT" ]
3
2018-05-08T14:08:50.000Z
2019-02-28T00:10:14.000Z
construct-quad-tree/solution.cpp
Javran/leetcode
f3899fe1424d3cda72f44102bab6dd95a7c7a320
[ "MIT" ]
null
null
null
construct-quad-tree/solution.cpp
Javran/leetcode
f3899fe1424d3cda72f44102bab6dd95a7c7a320
[ "MIT" ]
null
null
null
#include <vector> #include <functional> class Node { public: bool val; bool isLeaf; Node* topLeft; Node* topRight; Node* bottomLeft; Node* bottomRight; Node() {} Node( bool _val, bool _isLeaf, Node* _topLeft, Node* _topRight, Node* _bottomLeft, Node* _bottomRight ...
41.268908
82
0.46406
Javran
7290764bcba11bb36ab78a0ab7bf21aa790c8f94
402
hpp
C++
src/inc/achievementDefines.hpp
techflashYT/Cpp-Console-App
759edb1f779825cac71538d423419fae3608652a
[ "Apache-2.0" ]
null
null
null
src/inc/achievementDefines.hpp
techflashYT/Cpp-Console-App
759edb1f779825cac71538d423419fae3608652a
[ "Apache-2.0" ]
null
null
null
src/inc/achievementDefines.hpp
techflashYT/Cpp-Console-App
759edb1f779825cac71538d423419fae3608652a
[ "Apache-2.0" ]
null
null
null
// SECTION Names #define ACHIEVEMENT1_NAME "Welcome!" #define ACHIEVEMENT2_NAME "Placeholder" // !SECTION // SECTION Descriptions #define ACHIEVEMENT1_DESCRIPTION "You started the game for the first time." #define ACHIEVEMENT2_DESCRIPTION "Placeholder description" // !SECTION // SECTION Ranks #define ACHIEVEME...
16.08
75
0.783582
techflashYT
72913be23a9b308f0c6046812a3e5b4f754589d3
1,762
cc
C++
Platform/PlatformWin32/Source/FWindowsDebug.cc
liliilli/SH-D3D11
1ffb4639d5d9dd06d08b2aa21ebc781ee22fb26c
[ "Unlicense", "MIT" ]
4
2019-03-17T19:46:54.000Z
2019-12-09T20:11:01.000Z
Core/Platform/PlatformWin32/Source/FWindowsDebug.cc
liliilli/DianYing
6e19f67e5d932e346a0ce63a648bed1a04ef618e
[ "MIT" ]
null
null
null
Core/Platform/PlatformWin32/Source/FWindowsDebug.cc
liliilli/DianYing
6e19f67e5d932e346a0ce63a648bed1a04ef618e
[ "MIT" ]
null
null
null
/// /// MIT License /// Copyright (c) 2018-2019 Jongmin Yun /// /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE /// AUTHORS OR COPYR...
26.298507
81
0.688422
liliilli
729a4cb6058ac70bc3e825489e72404705e579b1
2,046
cpp
C++
src/HTMLBarChart.cpp
Cloaked9000/HTML5-Canvas-Graph-Generator
8d50f0e9646f80ade3401c7ee355f077e5461c1c
[ "MIT" ]
4
2018-02-16T17:50:50.000Z
2022-01-17T10:03:52.000Z
src/HTMLBarChart.cpp
Cloaked9000/HTML5-Canvas-Graph-Generator
8d50f0e9646f80ade3401c7ee355f077e5461c1c
[ "MIT" ]
null
null
null
src/HTMLBarChart.cpp
Cloaked9000/HTML5-Canvas-Graph-Generator
8d50f0e9646f80ade3401c7ee355f077e5461c1c
[ "MIT" ]
2
2018-07-22T09:01:40.000Z
2022-01-17T10:03:54.000Z
// // Created by fred.nicolson on 28/07/17. // #include <algorithm> #include <iostream> #include "HTMLBarChart.h" std::string HTMLBarChart::construct() { std::string graph; //Create a canvas element graph += "<canvas id='my_graph' width='" + std::to_string(graph_width) + "' height='" + std::to_string(gra...
24.650602
139
0.63392
Cloaked9000
729ffe69d4ff10cc8d51f993a32524117c6b7635
2,060
cc
C++
ejericicio_cripto/cripto.cc
ULL-ESIT-IB-2020-2021/ib-practica10-funciones-doxygen-IsmaelMartin
88db3199a59247c239d97f9d5f6ef9bb4501da10
[ "MIT" ]
null
null
null
ejericicio_cripto/cripto.cc
ULL-ESIT-IB-2020-2021/ib-practica10-funciones-doxygen-IsmaelMartin
88db3199a59247c239d97f9d5f6ef9bb4501da10
[ "MIT" ]
null
null
null
ejericicio_cripto/cripto.cc
ULL-ESIT-IB-2020-2021/ib-practica10-funciones-doxygen-IsmaelMartin
88db3199a59247c239d97f9d5f6ef9bb4501da10
[ "MIT" ]
null
null
null
/** * Universidad de La Laguna * Escuela Superior de Ingeniería y Tecnología * Grado en Ingeniería Informática * Informática Básica * * @author IMH-ISMAEL MARTIN HERRERA * @brief Este programa encripta y desencripta fichero de texto introducidos por el usuario mediante * dos posibles métodos: el cifra...
30.746269
101
0.695146
ULL-ESIT-IB-2020-2021
72a4d5024e633a355ea93b28a66135c4b65e6300
711
hpp
C++
engine/generators/fortresses/include/CastleGenerator.hpp
sidav/shadow-of-the-wyrm
747afdeebed885b1a4f7ab42f04f9f756afd3e52
[ "MIT" ]
60
2019-08-21T04:08:41.000Z
2022-03-10T13:48:04.000Z
engine/generators/fortresses/include/CastleGenerator.hpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
3
2021-03-18T15:11:14.000Z
2021-10-20T12:13:07.000Z
engine/generators/fortresses/include/CastleGenerator.hpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
8
2019-11-16T06:29:05.000Z
2022-01-23T17:33:43.000Z
#pragma once #include "Generator.hpp" enum struct CastleType { CASTLE_TYPE_MOTTE_AND_BAILEY = 0, /* CASTLE_TYPE_RECTANGULAR_KEEP = 1, CASTLE_TYPE_CIRCULAR_KEEP = 2, CASTLE_TYPE_CONCENTRIC = 3 */ CASTLE_TYPE_LAST = 0 // Used for random type generation }; class CastleGenerator : public SOTW::Generator { publ...
24.517241
151
0.76512
sidav
72a59b4e1df75d4d425dd2050cd3c4f9ef0c14ce
3,054
cpp
C++
lib/game_lib/game_map.cpp
WhyWeStillHere/kalinin-tcp-console-game
461f1acd56256ed18210bb3c362049ab5b5d2e7b
[ "MIT" ]
null
null
null
lib/game_lib/game_map.cpp
WhyWeStillHere/kalinin-tcp-console-game
461f1acd56256ed18210bb3c362049ab5b5d2e7b
[ "MIT" ]
null
null
null
lib/game_lib/game_map.cpp
WhyWeStillHere/kalinin-tcp-console-game
461f1acd56256ed18210bb3c362049ab5b5d2e7b
[ "MIT" ]
null
null
null
#include "game_map.h" #include "game_objects/health_pack_game_object.h" #include <random> #include <chrono> GameMap::GameMap() { void_obj_ = std::make_shared<VoidObject>(); wall_obj_ = std::make_shared<WallObject>(); } void GameMap::Init() { GameSettings* global_settings = GetCurrentSettings(); std::vector< s...
28.018349
83
0.650622
WhyWeStillHere
72aad288b71a530c41bdac5eea36de314291f43c
4,639
cc
C++
src/utils/pdlfs_rpc.cc
pengdu/bubblefs
9b27e191a287b3a1d012adfd3bab6a30629a5f33
[ "BSD-3-Clause" ]
1
2021-01-11T14:19:51.000Z
2021-01-11T14:19:51.000Z
src/utils/pdlfs_rpc.cc
pengdu/bubblefs
9b27e191a287b3a1d012adfd3bab6a30629a5f33
[ "BSD-3-Clause" ]
null
null
null
src/utils/pdlfs_rpc.cc
pengdu/bubblefs
9b27e191a287b3a1d012adfd3bab6a30629a5f33
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2015-2017 Carnegie Mellon University. * * All rights reserved. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. See the AUTHORS file for names of contributors. */ // pdlfs-common/src/rpc.cc #include <stdio.h> #include <stdlib.h> #include...
22.852217
79
0.643242
pengdu
72b1f8336208c222b0c9977fb0cd89e6ff97d304
2,431
hpp
C++
PinGUI/clFunction.hpp
Pinsius/PinGUI
eb1d39937e28c7f0a030f3dcd61e3d1a67c1feb1
[ "Zlib" ]
60
2017-04-16T15:31:13.000Z
2021-12-22T19:01:07.000Z
PinGUI/clFunction.hpp
Pinsius/PinGUI
eb1d39937e28c7f0a030f3dcd61e3d1a67c1feb1
[ "Zlib" ]
4
2017-02-14T19:05:21.000Z
2020-07-16T10:04:27.000Z
PinGUI/clFunction.hpp
Pinsius/PinGUI
eb1d39937e28c7f0a030f3dcd61e3d1a67c1feb1
[ "Zlib" ]
20
2017-02-15T19:07:17.000Z
2021-12-22T19:01:07.000Z
#ifndef CLFUNCTION_HPP #define CLFUNCTION_HPP /** PinGUI Copyright (c) 2017 Lubomir Barantal <l.pinsius@gmail.com> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this softw...
22.302752
79
0.555327
Pinsius
72b1fabafa7bdb439a18f6641058c88f854c3263
305
cpp
C++
src/play2.cpp
bluedevils23/slumbot2019
a1b65b84c89ab2eff9e2e0c16cedcfcbd479dffd
[ "MIT" ]
80
2019-03-28T02:57:51.000Z
2022-03-17T05:41:48.000Z
src/play2.cpp
bluedevils23/slumbot2019
a1b65b84c89ab2eff9e2e0c16cedcfcbd479dffd
[ "MIT" ]
19
2019-06-11T08:01:06.000Z
2022-01-28T23:13:49.000Z
src/play2.cpp
bluedevils23/slumbot2019
a1b65b84c89ab2eff9e2e0c16cedcfcbd479dffd
[ "MIT" ]
28
2019-07-18T01:36:35.000Z
2021-12-26T14:37:10.000Z
// fracs are bet sizes expressed as fractions of the pot. static double BelowProb(double actual_frac, double below_frac, double above_frac) { double below_prob = ((above_frac - actual_frac) * (1.0 + below_frac)) / ((above_frac - below_frac) * (1.0 + actual_frac)); return below_prob; }
33.888889
62
0.695082
bluedevils23
72b7f6ee9b59b012a6f444e3ee18deb84915c0df
5,748
hpp
C++
engine/include/Engine/PixelBuffer.hpp
Alexthehuman3/ASGE
a9cf473a3117f4b67a2dbe8fac00b1a2a4fd6e44
[ "MIT" ]
8
2020-04-26T11:48:29.000Z
2022-02-23T15:13:50.000Z
engine/include/Engine/PixelBuffer.hpp
Alexthehuman3/ASGE
a9cf473a3117f4b67a2dbe8fac00b1a2a4fd6e44
[ "MIT" ]
null
null
null
engine/include/Engine/PixelBuffer.hpp
Alexthehuman3/ASGE
a9cf473a3117f4b67a2dbe8fac00b1a2a4fd6e44
[ "MIT" ]
1
2021-05-13T16:37:24.000Z
2021-05-13T16:37:24.000Z
// Copyright (c) 2021 James Huxtable. All rights reserved. // // This work is licensed under the terms of the MIT license. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE...
33.811765
125
0.648747
Alexthehuman3
72b957371282a7b06417224736e51cdde515e3ad
3,853
cpp
C++
backtracking-n-queens/n_queens.cpp
JBlakd/self-study
71cb86d43fe7f6514657958db0c0e81113bd4c43
[ "MIT" ]
null
null
null
backtracking-n-queens/n_queens.cpp
JBlakd/self-study
71cb86d43fe7f6514657958db0c0e81113bd4c43
[ "MIT" ]
null
null
null
backtracking-n-queens/n_queens.cpp
JBlakd/self-study
71cb86d43fe7f6514657958db0c0e81113bd4c43
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> using namespace std; class Solution { public: vector<vector<string>> solveNQueens(int dimension) { n = dimension; vector<vector<int>> num_disallows(n, vector<int>(n, 0)); vector<vector<string>> ret; vector<string> cur_boar...
26.033784
132
0.446665
JBlakd
72b9ecc5bf0a89a4b8cc5c1166fd36c5ea1210cd
972
hpp
C++
controllers/challenge_solver/TaskManager.hpp
chaotic-bruno/naoqisim
5bbb6f5230a2e4639c1ff3354c064f26c8ef31b6
[ "Apache-2.0" ]
16
2019-09-09T19:49:35.000Z
2021-10-31T14:05:31.000Z
controllers/challenge_solver/TaskManager.hpp
chaotic-bruno/naoqisim
5bbb6f5230a2e4639c1ff3354c064f26c8ef31b6
[ "Apache-2.0" ]
5
2020-05-09T22:15:34.000Z
2022-02-21T04:34:30.000Z
controllers/challenge_solver/TaskManager.hpp
chaotic-bruno/naoqisim
5bbb6f5230a2e4639c1ff3354c064f26c8ef31b6
[ "Apache-2.0" ]
6
2020-05-14T16:13:46.000Z
2022-01-13T05:56:52.000Z
#ifndef TASK_MANAGER_HPP #define TASK_MANAGER_HPP /** * Description: Class resolving the Nao Challenge. Coordinates vision * and movements to resolve each of the three tasks. */ #include "MovementManager.hpp" #include "VisionManager.hpp" #include <alcommon/albroker.h> #define MAX_RUN 4 #define MAX_CA...
24.923077
85
0.753086
chaotic-bruno
72bdfeca6ac921beb024eef0152380a1f4eb2923
2,330
cc
C++
CodeChef/SNACKDOWN/16/Pre-Elimination A/Problem D/D.cc
VastoLorde95/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
170
2017-07-25T14:47:29.000Z
2022-01-26T19:16:31.000Z
CodeChef/SNACKDOWN/16/Pre-Elimination A/Problem D/D.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
null
null
null
CodeChef/SNACKDOWN/16/Pre-Elimination A/Problem D/D.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
55
2017-07-28T06:17:33.000Z
2021-10-31T03:06:22.000Z
#include <bits/stdc++.h> #define sd(x) scanf("%d",&x) #define sd2(x,y) scanf("%d%d",&x,&y) #define sd3(x,y,z) scanf("%d%d%d",&x,&y,&z) #define fi first #define se second #define pb push_back #define mp make_pair #define foreach(it, v) for(__typeof((v).begin()) it=(v).begin(); it != (v).end(); ++it) #define meta __FUN...
18.943089
97
0.537768
VastoLorde95
72bfb660d926de43ebd5ecd1e94e0f44dbc9ee30
472
cpp
C++
source/FAST/Algorithms/RunUntilFinished/RunUntilFinished.cpp
andreped/FAST
361819190ea0ae5a2f068e7bd808a1c70af5a171
[ "BSD-2-Clause" ]
null
null
null
source/FAST/Algorithms/RunUntilFinished/RunUntilFinished.cpp
andreped/FAST
361819190ea0ae5a2f068e7bd808a1c70af5a171
[ "BSD-2-Clause" ]
null
null
null
source/FAST/Algorithms/RunUntilFinished/RunUntilFinished.cpp
andreped/FAST
361819190ea0ae5a2f068e7bd808a1c70af5a171
[ "BSD-2-Clause" ]
null
null
null
#include "RunUntilFinished.hpp" namespace fast { RunUntilFinished::RunUntilFinished() { createInputPort(0); createOutputPort(0); } void RunUntilFinished::execute() { // TODO this assumes the parent only has 1 output port auto parentPO = mInputConnections[0]->getProcessObject(); DataObject::pointe...
23.6
61
0.701271
andreped
72c1ee8344a7565f5081e28fa07d431eee70db33
3,600
hpp
C++
src/plugin/vst3/VstMAUtils.hpp
hotwatermorning/Vst3SampleHost
405f8f9ca89467de46ee3fd9b819503e556022e7
[ "MIT" ]
19
2019-09-15T11:35:11.000Z
2021-12-02T12:27:09.000Z
src/plugin/vst3/VstMAUtils.hpp
hotwatermorning/Vst3SampleHost
405f8f9ca89467de46ee3fd9b819503e556022e7
[ "MIT" ]
3
2019-09-15T12:48:49.000Z
2019-09-18T10:43:19.000Z
src/plugin/vst3/VstMAUtils.hpp
hotwatermorning/Vst3SampleHost
405f8f9ca89467de46ee3fd9b819503e556022e7
[ "MIT" ]
1
2021-08-27T23:07:27.000Z
2021-08-27T23:07:27.000Z
#pragma once //! @file /*! VST-MAの仕組みを扱いやすくするためのユーティリティクラスや関数を定義するファイル */ #include <cassert> #include <memory> #include <utility> #include <pluginterfaces/base/ftypes.h> #include <pluginterfaces/base/ipluginbase.h> #include "../../misc/StrCnv.hpp" #include "../../misc/Either.hpp" NS_HWM_BEGIN //! VST-MAのrelease(...
30.252101
116
0.721944
hotwatermorning
72c521b309134d2a0702ce341f3624ec26404104
633
cpp
C++
leetcode/Algorithms/distribute-candies.cpp
Doarakko/competitive-programming
5ae78c501664af08a3f16c81dbd54c68310adec8
[ "MIT" ]
1
2017-07-11T16:47:29.000Z
2017-07-11T16:47:29.000Z
leetcode/Algorithms/distribute-candies.cpp
Doarakko/Competitive-Programming
10642a4bd7266c828dd2fc6e311284e86bdf2968
[ "MIT" ]
1
2021-02-07T09:10:26.000Z
2021-02-07T09:10:26.000Z
leetcode/Algorithms/distribute-candies.cpp
Doarakko/Competitive-Programming
10642a4bd7266c828dd2fc6e311284e86bdf2968
[ "MIT" ]
null
null
null
class Solution { public: int distributeCandies(vector<int> &candies) { set<int> st; for (int i = 0; i < candies.size(); i++) { st.insert(candies[i]); } return min(st.size(), candies.size() / 2); } }; class Solution { public: int distributeCandies(vec...
19.78125
76
0.445498
Doarakko
72ce8ef5ca1c0d86e9a6d85e1e47bcd8f0cc6479
1,781
cpp
C++
sta-src/Astro-Core/trueAnomalyTOmeanAnomaly.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
6
2018-09-05T12:41:59.000Z
2021-07-01T05:34:23.000Z
sta-src/Astro-Core/trueAnomalyTOmeanAnomaly.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
2
2015-02-07T19:09:21.000Z
2015-08-14T03:15:42.000Z
sta-src/Astro-Core/trueAnomalyTOmeanAnomaly.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
2
2015-03-25T15:50:31.000Z
2017-12-06T12:16:47.000Z
/* This program is free software; you can redistribute it and/or modify it under the terms of the European Union Public Licence - EUPL v.1.1 as published by the European Commission. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCH...
34.921569
119
0.622684
hoehnp
72d258649991836727f939f65494edaa5db530c8
222
cpp
C++
src/my_sub.cpp
nomumu/ros2_training
7ee410f42dc477eb0e5a48475feea3f64246f471
[ "Apache-2.0" ]
null
null
null
src/my_sub.cpp
nomumu/ros2_training
7ee410f42dc477eb0e5a48475feea3f64246f471
[ "Apache-2.0" ]
null
null
null
src/my_sub.cpp
nomumu/ros2_training
7ee410f42dc477eb0e5a48475feea3f64246f471
[ "Apache-2.0" ]
null
null
null
#include "ros2_training/my_sub.hpp" int main ( int argc, char* argv[]) { rclcpp::init( argc, argv ); rclcpp::spin( std::make_shared<MySubscriber>("my_sub","test_topic") ); rclcpp::shutdown(); return 0 ; }
22.2
74
0.63964
nomumu
72d6f5a45a5470800943542afe246dd6b8a0e411
1,002
cpp
C++
apps/example.cpp
dtoconnor/quantum-monte-carlo-methods
c599ec010954c7c4f8ad62076e408a70b8ff2f13
[ "MIT" ]
15
2018-11-15T00:51:51.000Z
2021-11-17T06:26:14.000Z
apps/example.cpp
dtoconnor/quantum-monte-carlo-methods
c599ec010954c7c4f8ad62076e408a70b8ff2f13
[ "MIT" ]
null
null
null
apps/example.cpp
dtoconnor/quantum-monte-carlo-methods
c599ec010954c7c4f8ad62076e408a70b8ff2f13
[ "MIT" ]
4
2019-01-29T11:56:22.000Z
2021-11-24T15:19:54.000Z
#include <QMC-methods.h> using namespace QMCm; static Uniform uniform; int main(int argc, char const *argv[]) { SimulatedAnnealing sa; sa.startingConfig.size = 3; sa.startingConfig.generate(); /* Nodes value matrix 1 1 1 1 1 1 1 1 1 */ for (int i = 0; i < sa.startingConfig.nodes.size(); i++) { ...
26.368421
73
0.583832
dtoconnor
72dc177d0f4e0e9c7233f4e1535d40d3429b6fba
851
cpp
C++
solutions/800.similar-rgb-color.294673508.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
78
2020-10-22T11:31:53.000Z
2022-02-22T13:27:49.000Z
solutions/800.similar-rgb-color.294673508.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
null
null
null
solutions/800.similar-rgb-color.294673508.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
26
2020-10-23T15:10:44.000Z
2021-11-07T16:13:50.000Z
vector<int> options = {0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff}; class Solution { public: string similarRGB(string color) { int r = stoi(color.substr(1, 2), 0, 16); int g = stoi(color.substr(3, 2), 0, 16); int b = stoi(color.su...
31.518519
71
0.576968
satu0king
72dca64edd843f4cb852aee083528948e0ba7b1e
1,027
hpp
C++
src/2.HYBRID/token/ExpressionToken.hpp
TurtleArmyMc/Expression_Evaluator
dc212cd6e819f4ce81cb6c5b17aaac5585be4252
[ "Unlicense" ]
null
null
null
src/2.HYBRID/token/ExpressionToken.hpp
TurtleArmyMc/Expression_Evaluator
dc212cd6e819f4ce81cb6c5b17aaac5585be4252
[ "Unlicense" ]
null
null
null
src/2.HYBRID/token/ExpressionToken.hpp
TurtleArmyMc/Expression_Evaluator
dc212cd6e819f4ce81cb6c5b17aaac5585be4252
[ "Unlicense" ]
null
null
null
#pragma once #include "ConstantToken.hpp" #include "Token.hpp" #include <vector> class ExpressionToken : public Token { protected: ExpressionToken(); std::vector<std::unique_ptr<Token>> tokens; static std::unique_ptr<ExpressionToken> parse(const std::string &s, bool inParenthesis, int &i); public: ...
41.08
105
0.666991
TurtleArmyMc
638daaa46eb394bec010088c7efcaf3c75f445d0
911
hpp
C++
Rosenbrock/Ros_LU.hpp
dkaramit/NaBBODES
abbd276623a01c2ea95c089190def6d66478bac5
[ "MIT" ]
null
null
null
Rosenbrock/Ros_LU.hpp
dkaramit/NaBBODES
abbd276623a01c2ea95c089190def6d66478bac5
[ "MIT" ]
1
2021-07-19T17:08:25.000Z
2021-07-19T17:08:25.000Z
Rosenbrock/Ros_LU.hpp
dkaramit/NaBBODES
abbd276623a01c2ea95c089190def6d66478bac5
[ "MIT" ]
null
null
null
#ifndef Ros_LU #define Ros_LU #include "Ros_class.hpp" /*--------Calculate the LU decomposition of (1-h*gamma*J) for this step--------------------------*/ template<unsigned int N_eqs, class RK_method, class jacobian, class LD> void Ros<N_eqs, RK_method, jacobian, LD>::LU(){ //initialize coefficient to 0 s...
24.621622
99
0.512623
dkaramit
6394a444b33225480ad71fbfc0dcbb6ca94af802
1,054
cpp
C++
msp430fr5739/watchdog.cpp
jscrane/interrupt-driven
4c1795f73fc8f33bd9344e526b760b884f728c9b
[ "MIT" ]
9
2015-05-05T21:53:40.000Z
2022-03-12T02:53:57.000Z
msp430fr5739/watchdog.cpp
jscrane/interrupt-driven
4c1795f73fc8f33bd9344e526b760b884f728c9b
[ "MIT" ]
6
2017-01-17T08:13:00.000Z
2020-11-23T15:29:51.000Z
msp430fr5739/watchdog.cpp
jscrane/interrupt-driven
4c1795f73fc8f33bd9344e526b760b884f728c9b
[ "MIT" ]
4
2017-01-11T20:46:59.000Z
2020-02-19T08:54:56.000Z
#include <Energia.h> #include "device.h" #include "watchdog.h" #include "atomic.h" /* * Not _really_ a watchdog, because Energia uses the WDT to manage * millis(), micros(), etc. However this _does_ use the ACLK, which * remains active in LPM3, and runs off the VLOCLK at 12kHz. */ static Device *d; #pragma vecto...
18.172414
67
0.624288
jscrane
6394eb1a09ff76bcd489064d5909176af4510740
75
hpp
C++
src/boost_numeric_odeint_iterator_integrate_observer_collection.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_numeric_odeint_iterator_integrate_observer_collection.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_numeric_odeint_iterator_integrate_observer_collection.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/numeric/odeint/iterator/integrate/observer_collection.hpp>
37.5
74
0.853333
miathedev
6395b3acffcc614c5c0e391368b29d151436792c
6,250
cpp
C++
src/main.cpp
jih189/object_detection_ros
026803cbb9a12da47f524cb59670d348152bec25
[ "BSD-3-Clause" ]
null
null
null
src/main.cpp
jih189/object_detection_ros
026803cbb9a12da47f524cb59670d348152bec25
[ "BSD-3-Clause" ]
null
null
null
src/main.cpp
jih189/object_detection_ros
026803cbb9a12da47f524cb59670d348152bec25
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <string> #include "object_tracking_2D/tracker_pf_textureless.h" #include <boost/program_options.hpp> #include <boost/algorithm/string.hpp> #include "opencv2/opencv.hpp" using namespace cv; using namespace std; namespace po = boost::program_options; int main(int argc, char **argv) { ...
37.878788
815
0.69168
jih189
6396611f781908bc00c9ca6c204129f353dfb027
14,919
cpp
C++
src/test/benchmark.cpp
mge-engine/mge
e7a6253f99dd640a655d9a80b94118d35c7d8139
[ "MIT" ]
null
null
null
src/test/benchmark.cpp
mge-engine/mge
e7a6253f99dd640a655d9a80b94118d35c7d8139
[ "MIT" ]
91
2019-03-09T11:31:29.000Z
2022-02-27T13:06:06.000Z
src/test/benchmark.cpp
mge-engine/mge
e7a6253f99dd640a655d9a80b94118d35c7d8139
[ "MIT" ]
null
null
null
// mge - Modern Game Engine // Copyright (c) 2021 by Alexander Schroeder // All rights reserved. #include "test/benchmark.hpp" #include <iomanip> #include <iostream> #include <map> #include <random> #include <sstream> #include <stdexcept> #include <variant> #include <vector> namespace mge { class benchmark_stages...
34.061644
80
0.453516
mge-engine
639cd2ed07051c6b7e227f4b3417871d2095dfdf
1,932
hpp
C++
include/graph/impl/Stable_edge_list.hpp
Fohlen/graph
986bb2c767896a6d8d4396ae319a2bd00206571b
[ "MIT" ]
null
null
null
include/graph/impl/Stable_edge_list.hpp
Fohlen/graph
986bb2c767896a6d8d4396ae319a2bd00206571b
[ "MIT" ]
null
null
null
include/graph/impl/Stable_edge_list.hpp
Fohlen/graph
986bb2c767896a6d8d4396ae319a2bd00206571b
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include "Stable_vert_list.hpp" #include "construct_fn.hpp" namespace graph { inline namespace v1 { namespace impl { template <class Order_ = std::size_t, class Size_ = std::size_t> struct Stable_edge_list : Stable_vert_list<Order_> { using _base_type = St...
28.411765
70
0.628882
Fohlen
63a3894f12446ae01c454b92d8b75f838b3621f1
3,360
cc
C++
hackt_docker/hackt/src/util/test/list_vector_test.cc
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/util/test/list_vector_test.cc
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/util/test/list_vector_test.cc
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
/** \file "list_vector_test.cc" Example for using the list_vector class. $Id: list_vector_test.cc,v 1.6 2008/11/12 21:43:12 fang Exp $ */ #ifdef NDEBUG #undef NDEBUG #endif #include <iostream> #include <numeric> #include <algorithm> #include <functional> #include "util/list_vector.tcc" #include "util/using_ost...
18.983051
69
0.644643
broken-wheel
63a711c50f17ee519de667a073d7aeea98ab38b5
7,848
cpp
C++
re-ast.cpp
smilingthax/rexgen
76588a9005dfbc40ca87757d1d3a99ef2c825966
[ "MIT" ]
null
null
null
re-ast.cpp
smilingthax/rexgen
76588a9005dfbc40ca87757d1d3a99ef2c825966
[ "MIT" ]
null
null
null
re-ast.cpp
smilingthax/rexgen
76588a9005dfbc40ca87757d1d3a99ef2c825966
[ "MIT" ]
null
null
null
#include "re-ast_int.h" #include "merge-sorted.h" // #include <typeinfo> #include <string.h> #include <assert.h> namespace Regex { namespace detail { bool Empty::operator==(const Node &rhs) const { if (dynamic_cast<const Empty *>(&rhs)) { return true; } return false; } void Empty::visit(Visitor &visitor)...
21.153639
88
0.606014
smilingthax
63adf5f20eacea31e38c0737a131e8ceb0264989
14,009
cpp
C++
tests/src/astro/orbit_determination/observation_partials/unitTestRotationMatrixPartials.cpp
kimonito98/tudat
c28f2a3e78b8492e2e054ad5e0d1f9ad785cd092
[ "BSD-3-Clause" ]
null
null
null
tests/src/astro/orbit_determination/observation_partials/unitTestRotationMatrixPartials.cpp
kimonito98/tudat
c28f2a3e78b8492e2e054ad5e0d1f9ad785cd092
[ "BSD-3-Clause" ]
null
null
null
tests/src/astro/orbit_determination/observation_partials/unitTestRotationMatrixPartials.cpp
kimonito98/tudat
c28f2a3e78b8492e2e054ad5e0d1f9ad785cd092
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2010-2019, Delft University of Technology * All rigths reserved * * This file is part of the Tudat. Redistribution and use in source and * binary forms, with or without modification, are permitted exclusively * under the terms of the Modified BSD license. You should have received *...
45.045016
126
0.632593
kimonito98
63ae97c21afa0f744dd73a440a0a9129a9117fdf
3,813
cpp
C++
LocalHostWin32/LocalHostWin32.cpp
stammen/LocalHostUWP
d363abec674f55ce7d2254782183378ca7d5f01f
[ "MIT" ]
1
2022-03-05T13:34:54.000Z
2022-03-05T13:34:54.000Z
LocalHostWin32/LocalHostWin32.cpp
stammen/LocalHostUWP
d363abec674f55ce7d2254782183378ca7d5f01f
[ "MIT" ]
null
null
null
LocalHostWin32/LocalHostWin32.cpp
stammen/LocalHostUWP
d363abec674f55ce7d2254782183378ca7d5f01f
[ "MIT" ]
null
null
null
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. /...
29.330769
125
0.640178
stammen
63aeb2f1dacb0e49b3d64d0da48e6fb6d55c6d0f
2,647
cpp
C++
src/examples/ui_hello_world/ui_hello_world.cpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
37
2020-01-20T06:21:24.000Z
2022-03-21T17:44:50.000Z
src/examples/ui_hello_world/ui_hello_world.cpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
null
null
null
src/examples/ui_hello_world/ui_hello_world.cpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
9
2019-03-22T00:33:07.000Z
2022-03-01T01:35:59.000Z
#include <eepp/ee.hpp> #include <eepp/ui/doc/syntaxdefinitionmanager.hpp> #include <eepp/ui/doc/syntaxtokenizer.hpp> #include <eepp/ui/doc/textdocument.hpp> using namespace EE::UI::Doc; EE::Window::Window* win = NULL; void mainLoop() { win->getInput()->update(); if ( win->getInput()->isKeyUp( KEY_ESCAPE ) ) { wi...
26.737374
93
0.672459
jayrulez
63b0f00a3a5ae8e8b5d2e1d3351b99763fb1ceee
1,041
hpp
C++
engine/alice/backend/lifecycle.hpp
stereoboy/isaac_sdk_20191213
73c863254e626c8d498870189fbfb20be4e10fb3
[ "FSFAP" ]
1
2020-04-14T13:55:16.000Z
2020-04-14T13:55:16.000Z
engine/alice/backend/lifecycle.hpp
stereoboy/isaac_sdk_20191213
73c863254e626c8d498870189fbfb20be4e10fb3
[ "FSFAP" ]
4
2020-09-25T22:34:29.000Z
2022-02-09T23:45:12.000Z
engine/alice/backend/lifecycle.hpp
stereoboy/isaac_sdk_20191213
73c863254e626c8d498870189fbfb20be4e10fb3
[ "FSFAP" ]
1
2020-07-02T11:51:17.000Z
2020-07-02T11:51:17.000Z
/* Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. NVIDIA CORPORATION and its licensors retain all intellectual property and proprietary rights in and to this software, related documentation and any modifications thereto. Any use, reproduction, disclosure or distribution of this software and related docum...
31.545455
79
0.758886
stereoboy
63b7f5fc7899eeb44873cde02f9b42bd9acfecbb
1,431
hpp
C++
SDK/ARKSurvivalEvolved_Basilisk_Character_BP_Summoned_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_Basilisk_Character_BP_Summoned_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_Basilisk_Character_BP_Summoned_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_Basilisk_Character_BP_Summoned_classes.hpp" namespace sdk { //--------------------------------------------------------------------------- //Parameters //---------------------------------------...
32.522727
152
0.661775
2bite
63b7fe2b48a6dd4742e4f9bf5f757425e00077eb
2,960
cpp
C++
Source/Mesh/earray.cpp
INM-RAS/INMOST
2846aa63c1fc11c406cb2d558646237223183201
[ "BSD-3-Clause" ]
25
2016-03-14T19:34:00.000Z
2022-03-17T13:34:59.000Z
Source/Mesh/earray.cpp
INMOST-DEV/INMOST
c2209a6378b0d2ecc2f3ec9a12e0217cca011ca8
[ "BSD-3-Clause" ]
22
2015-01-17T18:43:16.000Z
2021-03-26T08:09:43.000Z
Source/Mesh/earray.cpp
INM-RAS/INMOST
2846aa63c1fc11c406cb2d558646237223183201
[ "BSD-3-Clause" ]
13
2015-04-22T16:04:21.000Z
2021-03-31T10:51:48.000Z
#include "inmost_mesh.h" #if defined(USE_MESH) namespace INMOST { template<typename StorageType> void ElementArray<StorageType>::Unite(const HandleType * h, INMOST_DATA_ENUM_TYPE num) { if( empty() ) container.insert(container.end(),h,h+num); else { Mesh * m = GetMeshLink(); MarkerType mrk = m->CreatePri...
26.666667
91
0.673311
INM-RAS
63ba279fe75809219d0dbaf1983fc41aa128e946
482
cpp
C++
source/tools/editor/editores.cpp
mechasource/mechcommander2
b2c7cecf001cec1f535aa8d29c31bdc30d9aa983
[ "BSD-2-Clause" ]
38
2015-04-10T13:31:03.000Z
2021-09-03T22:34:05.000Z
source/tools/editor/editores.cpp
mechasource/mechcommander2
b2c7cecf001cec1f535aa8d29c31bdc30d9aa983
[ "BSD-2-Clause" ]
1
2020-07-09T09:48:44.000Z
2020-07-12T12:41:43.000Z
source/tools/editor/editores.cpp
mechasource/mechcommander2
b2c7cecf001cec1f535aa8d29c31bdc30d9aa983
[ "BSD-2-Clause" ]
12
2015-06-29T08:06:57.000Z
2021-10-13T13:11:41.000Z
//===========================================================================// // Copyright (C) Microsoft Corporation. All rights reserved. // //===========================================================================// // Resources.cpp : Defines the entry point for the DLL application. // #include...
28.352941
79
0.483402
mechasource
63bb672a56d57f324e34254246d56ad75912669f
3,461
cpp
C++
src/tools/qt-gui/src/undomanager.cpp
pinotree/libelektra
77696c82bea2ca58ac1636df58f3dcb06b028228
[ "BSD-3-Clause" ]
null
null
null
src/tools/qt-gui/src/undomanager.cpp
pinotree/libelektra
77696c82bea2ca58ac1636df58f3dcb06b028228
[ "BSD-3-Clause" ]
null
null
null
src/tools/qt-gui/src/undomanager.cpp
pinotree/libelektra
77696c82bea2ca58ac1636df58f3dcb06b028228
[ "BSD-3-Clause" ]
null
null
null
/** * @file * * @brief * * @copyright BSD License (see doc/COPYING or http://www.libelektra.org) */ #include "undomanager.hpp" #include "copykeycommand.hpp" #include "cutkeycommand.hpp" #include "deletekeycommand.hpp" #include "editkeycommand.hpp" #include "importconfigurationcommand.hpp" #include "newkeycommand...
24.034722
138
0.72898
pinotree
63c99f6483921f082d10626d751dd6a033a1b1ec
10,411
cpp
C++
mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
NSCoder/llvm-project
ef6b8d441ca44da7f0135df54a9c5ba956120d25
[ "Apache-2.0" ]
1
2021-02-17T04:40:38.000Z
2021-02-17T04:40:38.000Z
mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
NSCoder/llvm-project
ef6b8d441ca44da7f0135df54a9c5ba956120d25
[ "Apache-2.0" ]
null
null
null
mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
NSCoder/llvm-project
ef6b8d441ca44da7f0135df54a9c5ba956120d25
[ "Apache-2.0" ]
null
null
null
//===- TosaToLinalg.cpp - Lowering Tosa to Linalg Dialect -----------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
39.888889
80
0.65133
NSCoder
63c9bcdee0258718aad88bfa03bef35e16e865bd
592
cpp
C++
TankZoneGame/Source/TankZoneGame/Private/BarrelComponent.cpp
Jakoban2411/TankZone
d6d78f21494255bf9509fe81a076a68fd867b3d9
[ "Apache-2.0" ]
null
null
null
TankZoneGame/Source/TankZoneGame/Private/BarrelComponent.cpp
Jakoban2411/TankZone
d6d78f21494255bf9509fe81a076a68fd867b3d9
[ "Apache-2.0" ]
null
null
null
TankZoneGame/Source/TankZoneGame/Private/BarrelComponent.cpp
Jakoban2411/TankZone
d6d78f21494255bf9509fe81a076a68fd867b3d9
[ "Apache-2.0" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "BarrelComponent.h" #include"Engine/World.h" void UBarrelComponent::Elevate(float RelativeSpeed) { RelativeSpeed = FMath::Clamp<float>(RelativeSpeed, -1.f, 1.f); float ElevationChangePerFrame = RelativeSpeed * MaxDegreesPerSecond...
45.538462
98
0.8125
Jakoban2411
63ca2e4f544f7c43011150fe78c2e0cae783d7cb
3,217
hpp
C++
include/wenet/packet.hpp
sQu1rr/wenet
83f87f5bcd6bcacb21c92b35be67ff1ecf478f84
[ "MIT" ]
null
null
null
include/wenet/packet.hpp
sQu1rr/wenet
83f87f5bcd6bcacb21c92b35be67ff1ecf478f84
[ "MIT" ]
null
null
null
include/wenet/packet.hpp
sQu1rr/wenet
83f87f5bcd6bcacb21c92b35be67ff1ecf478f84
[ "MIT" ]
1
2020-05-01T19:01:38.000Z
2020-05-01T19:01:38.000Z
#ifndef SQ_WENET_PACKET_HPP #define SQ_WENET_PACKET_HPP #include "belks/base.hpp" #include "belks/util.hpp" #include <enet/enet.h> #include <memory> namespace sq { namespace wenet { class Packet { struct Deleter { void operator () (ENetPacket* packet) const noexcept; }; public: enum class Flag : uint32_t...
26.808333
77
0.706559
sQu1rr
63d188ea3128961df52fe25722607496ea3bb6c3
1,362
cpp
C++
LeetCode/Graph/BFS/BinaryTreeLevelOrderTravelsal.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
3
2021-07-26T15:58:45.000Z
2021-09-08T14:55:11.000Z
LeetCode/Graph/BFS/BinaryTreeLevelOrderTravelsal.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
null
null
null
LeetCode/Graph/BFS/BinaryTreeLevelOrderTravelsal.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
2
2021-05-31T11:27:59.000Z
2021-10-03T13:26:00.000Z
/* * LeetCode 102 Binary Tree Level Order Traversal * Medium * Jiawei Wang * 2021.8.6 */ /* Revision * $1 2021.9.17 Jiawei Wang * DFS WOW */ #include <vector> using namespace::std; struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode() : val(0), left(nullptr), right(nullpt...
20.636364
90
0.599119
a4org
63d21cbb4b5b175770e8ab66c615431979be8ae4
617
cc
C++
lib/jxl/chroma_from_luma.cc
zond/libjxl
04267a8780d1600d2bc9a79d161d7f769b5db93c
[ "BSD-3-Clause" ]
453
2021-05-25T15:53:07.000Z
2022-03-30T05:32:31.000Z
lib/jxl/chroma_from_luma.cc
zond/libjxl
04267a8780d1600d2bc9a79d161d7f769b5db93c
[ "BSD-3-Clause" ]
659
2021-05-25T16:33:46.000Z
2022-03-31T14:59:34.000Z
lib/jxl/chroma_from_luma.cc
zond/libjxl
04267a8780d1600d2bc9a79d161d7f769b5db93c
[ "BSD-3-Clause" ]
105
2021-05-25T16:11:10.000Z
2022-03-29T09:52:09.000Z
// Copyright (c) the JPEG XL Project 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 "lib/jxl/chroma_from_luma.h" namespace jxl { ColorCorrelationMap::ColorCorrelationMap(size_t xsize, size_t ysize, bool XYB) : ytox...
28.045455
78
0.727715
zond
63d4ba4e4049abe5488e1a063120ea1149f1a047
659
hpp
C++
src/taskdescriptiondelegate.hpp
jubnzv/qtask
f67c7034ff9576c123b885acbb942638bf85de48
[ "MIT" ]
11
2020-11-29T18:24:28.000Z
2022-03-19T17:34:08.000Z
src/taskdescriptiondelegate.hpp
jubnzv/jtask
f67c7034ff9576c123b885acbb942638bf85de48
[ "MIT" ]
3
2020-11-29T18:26:36.000Z
2021-07-16T14:18:58.000Z
src/taskdescriptiondelegate.hpp
jubnzv/jtask
f67c7034ff9576c123b885acbb942638bf85de48
[ "MIT" ]
1
2022-02-14T17:25:04.000Z
2022-02-14T17:25:04.000Z
#ifndef TASKDESCRIPTIONDELEGATE_HPP #define TASKDESCRIPTIONDELEGATE_HPP #include <QPainter> #include <QString> #include <QStyledItemDelegate> class TaskDescriptionDelegate : public QStyledItemDelegate { Q_OBJECT public: TaskDescriptionDelegate(QObject *parent = nullptr); QString anchorAt(const QString...
27.458333
73
0.751138
jubnzv
63d5db82579a5182d0c34df7902847aeb95557ff
1,559
cpp
C++
src/GramSchmidt.cpp
timosachsenberg/Fido
e46bb879d3405dc7a63ad5c4188f0734a2a7ef82
[ "MIT" ]
null
null
null
src/GramSchmidt.cpp
timosachsenberg/Fido
e46bb879d3405dc7a63ad5c4188f0734a2a7ef82
[ "MIT" ]
null
null
null
src/GramSchmidt.cpp
timosachsenberg/Fido
e46bb879d3405dc7a63ad5c4188f0734a2a7ef82
[ "MIT" ]
null
null
null
#include "GramSchmidt.h" Numerical GramSchmidt::zeroVectorChecker(1e-8); void GramSchmidt::add(const Vector & rhs) { Vector ortho = projectOrthogonal(rhs); if ( zeroVectorChecker.isZero( ortho.norm() ) ) { cerr << "GramSchmidt projectiong norm is: " << ortho.norm() << endl; cerr << "\ttable had "...
23.268657
102
0.585632
timosachsenberg
63d8d39ad07a460d7f0cc252e855a877e8562262
3,918
hpp
C++
src/framework/frontend/fsa/fsa.hpp
aamshukov/arcturus
4d10cd15ff2b79f23621853961a2178c0bde7d79
[ "MIT" ]
1
2020-12-10T02:33:41.000Z
2020-12-10T02:33:41.000Z
src/framework/frontend/fsa/fsa.hpp
aamshukov/arcturus
4d10cd15ff2b79f23621853961a2178c0bde7d79
[ "MIT" ]
null
null
null
src/framework/frontend/fsa/fsa.hpp
aamshukov/arcturus
4d10cd15ff2b79f23621853961a2178c0bde7d79
[ "MIT" ]
null
null
null
//.............................. // UI Lab Inc. Arthur Amshukov . //.............................. #ifndef __FSA_H__ #define __FSA_H__ #pragma once BEGIN_NAMESPACE(frontend) USING_NAMESPACE(core) class fsa_algorithm; class fsa : private noncopyable { public: using token_type = typename fsa_state::token_...
29.238806
140
0.619449
aamshukov
63d96c91ba58063a9282d612fc0a0d1c5d75b068
8,558
cpp
C++
mex/akaze.cpp
donlk/cuda-akaze
ffc02ee392805dd0df2307b442b77703b49fee72
[ "BSD-3-Clause" ]
329
2015-01-15T10:49:26.000Z
2022-03-16T04:09:01.000Z
mex/akaze.cpp
donlk/cuda-akaze
ffc02ee392805dd0df2307b442b77703b49fee72
[ "BSD-3-Clause" ]
28
2015-02-07T18:19:03.000Z
2022-01-21T15:58:07.000Z
mex/akaze.cpp
donlk/cuda-akaze
ffc02ee392805dd0df2307b442b77703b49fee72
[ "BSD-3-Clause" ]
102
2015-01-20T04:33:37.000Z
2021-10-01T04:47:30.000Z
// //============================================================================= // MEX Compilation example (with OpenCV 2.4.8): // mex akaze.cpp -I '..\src\lib\' -L'..\build\lib\Release\' -I'c:\files\libs\opencv\build\include' -L'c:\files\libs\opencv\build\x64\vc10\lib' -lopencv_calib3d248 -lopencv_contrib248 -lopen...
31.007246
247
0.625613
donlk
63d9b98c1c354218007c3bb2ed48662c59ad5c80
361
hpp
C++
include/transactions/assets/examples/NewsWeek.hpp
perriera/blockchain
2c89ecc110dcc9c042bdb919c7cf3017a43d4ce8
[ "MIT" ]
null
null
null
include/transactions/assets/examples/NewsWeek.hpp
perriera/blockchain
2c89ecc110dcc9c042bdb919c7cf3017a43d4ce8
[ "MIT" ]
null
null
null
include/transactions/assets/examples/NewsWeek.hpp
perriera/blockchain
2c89ecc110dcc9c042bdb919c7cf3017a43d4ce8
[ "MIT" ]
null
null
null
#ifndef _NEWSWEEK_HPP #define _NEWSWEEK_HPP #include <iostream> #include <typeinfo> #include "../../../../extra/include/Definitions.hpp" #include "../../currencies/USD.hpp" #include "../Information.hpp" class NewsWeekMagazine extends Asset { public: NewsWeekMagazine() : Asset(5.00, USD()) { _details = typeid(*thi...
20.055556
78
0.695291
perriera
63dccb2358495e0f49ea08d440fb5604d0c3106e
1,795
cpp
C++
VulkanSetup/AnimationSourceLayer.cpp
NEtuee/AnimationEngine
feb7d974edf9cb19725578cae1bcda35a0edc683
[ "MIT" ]
null
null
null
VulkanSetup/AnimationSourceLayer.cpp
NEtuee/AnimationEngine
feb7d974edf9cb19725578cae1bcda35a0edc683
[ "MIT" ]
null
null
null
VulkanSetup/AnimationSourceLayer.cpp
NEtuee/AnimationEngine
feb7d974edf9cb19725578cae1bcda35a0edc683
[ "MIT" ]
null
null
null
#include "AnimationSourceLayer.h" #include "AnimationLayerBase.h" #include "AnimationStateMachine.h" #include "Transform.h" #include "AnimationStateBase.h" AnimationSourceLayer::AnimationSourceLayer() :_stateMachine(nullptr), _name("") { } void AnimationSourceLayer::createAnimationLayerBase(std::string name) { Ani...
23.618421
109
0.805014
NEtuee
63e155ef3ba708fd7b59287eff830459887d0bdf
3,156
cpp
C++
mod/stb_vorbis/stb_vorbis.cpp
Lyatus/L
0b594d722200d5ee0198b5d7b9ee72a5d1e12611
[ "Unlicense" ]
45
2018-08-24T12:57:38.000Z
2021-11-12T11:21:49.000Z
mod/stb_vorbis/stb_vorbis.cpp
Lyatus/L
0b594d722200d5ee0198b5d7b9ee72a5d1e12611
[ "Unlicense" ]
null
null
null
mod/stb_vorbis/stb_vorbis.cpp
Lyatus/L
0b594d722200d5ee0198b5d7b9ee72a5d1e12611
[ "Unlicense" ]
4
2019-09-16T02:48:42.000Z
2020-07-10T03:50:31.000Z
#include <L/src/audio/AudioDecoder.h> #include <L/src/audio/AudioStream.h> #include <L/src/container/Array.h> #include <L/src/container/Buffer.h> #include <L/src/engine/Resource.inl> #include <L/src/macros.h> #include <L/src/stream/CFileStream.h> L_PUSH_NO_WARNINGS #include <stb_vorbis.c> #undef L // Defined by stb_v...
32.204082
114
0.728137
Lyatus
63e318f86b9b27d9ff7949676f8aea00bfb2ac1e
705
cpp
C++
source/packet/ether.cpp
meh/paku
f668fb93659853c98ebef87a8d1b58fad60820b6
[ "Unlicense" ]
1
2016-03-03T01:22:43.000Z
2016-03-03T01:22:43.000Z
source/packet/ether.cpp
meh/paku
f668fb93659853c98ebef87a8d1b58fad60820b6
[ "Unlicense" ]
null
null
null
source/packet/ether.cpp
meh/paku
f668fb93659853c98ebef87a8d1b58fad60820b6
[ "Unlicense" ]
null
null
null
#include <paku/packet/ether> namespace paku { namespace packet { std::string ether::address(const uint8_t* addr) { std::ostringstream ss; ss << std::hex << std::setfill('0'); for (int i = 1; i < ADDR_LEN; i++) { ss << std::setw(2) << static_cast<unsigned>(addr[i - 1]) << ':'; } ss << std::...
17.625
68
0.598582
meh
63e40470b2dfdb6d45205379c8cdbae0220cc7d7
805
cpp
C++
hackerrank/week34/2/main.cpp
seirion/code
3b8bf79764107255185061cec33decbc2235d03a
[ "Apache-2.0" ]
13
2015-06-07T09:26:26.000Z
2019-05-01T13:23:38.000Z
hackerrank/week34/2/main.cpp
seirion/code
3b8bf79764107255185061cec33decbc2235d03a
[ "Apache-2.0" ]
null
null
null
hackerrank/week34/2/main.cpp
seirion/code
3b8bf79764107255185061cec33decbc2235d03a
[ "Apache-2.0" ]
4
2016-03-05T06:21:05.000Z
2017-02-17T15:34:18.000Z
#include <iostream> #include <set> #include <functional> using namespace std; bool a[1000001] = {0, }, b[1000001] = {0, }; bool exist(int gcd) { int x(0), y(0); int cand = gcd; while (cand <= 1000000) { if (a[cand]) x = cand; cand += gcd; } if (x == 0) return false; cand = gc...
20.125
86
0.46087
seirion
63eb46344ff2ea71125309e3af6bcdeaaf1aa89c
9,693
hpp
C++
include/UnityEngine/Playables/FrameData.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/UnityEngine/Playables/FrameData.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/UnityEngine/Playables/FrameData.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: System.ValueType #include "System/ValueType.hpp" // Including type: U...
50.748691
641
0.713608
darknight1050
63ede18b3532fa5f5d060282c1c5320b62b8aceb
7,847
cpp
C++
ilwiscoreui/models/uicontextmodel.cpp
ridoo/IlwisCore
9d9837507d804a4643545a03fd40d9b4d0eaee45
[ "Apache-2.0" ]
null
null
null
ilwiscoreui/models/uicontextmodel.cpp
ridoo/IlwisCore
9d9837507d804a4643545a03fd40d9b4d0eaee45
[ "Apache-2.0" ]
null
null
null
ilwiscoreui/models/uicontextmodel.cpp
ridoo/IlwisCore
9d9837507d804a4643545a03fd40d9b4d0eaee45
[ "Apache-2.0" ]
null
null
null
#include <QThread> #include "kernel.h" #include "ilwisdata.h" #include "datadefinition.h" #include "columndefinition.h" #include "table.h" #include "geometries.h" #include "georeference.h" #include "uicontextmodel.h" #include "factory.h" #include "abstractfactory.h" #include "mastercatalogmodel.h" #include "tableoperat...
27.533333
163
0.662036
ridoo
63ef44a0d24dbc84c84745a8dcc0e076f69ee769
40,852
hpp
C++
inc/stm32_rcc.hpp
andreili/STM32F4
9054d699ec1f65e7de8aa5dd7d3ee0522dad18dc
[ "MIT" ]
6
2019-04-16T11:38:45.000Z
2020-12-12T16:55:03.000Z
inc/stm32_rcc.hpp
andreili/STM32F4
9054d699ec1f65e7de8aa5dd7d3ee0522dad18dc
[ "MIT" ]
1
2020-12-15T10:45:53.000Z
2021-02-22T11:59:19.000Z
inc/stm32_rcc.hpp
andreili/STM32F4
9054d699ec1f65e7de8aa5dd7d3ee0522dad18dc
[ "MIT" ]
2
2019-05-23T03:08:25.000Z
2020-10-10T12:43:06.000Z
#ifndef __STM32_RCC__ #define __STM32_RCC__ /* * Based on HAL v1.21.0(F4), v1.6.1(F1) * */ #include <stm32_inc.h> #define RCC_CIR_OFFSET 0x0c namespace STM32 { class RCC { public: enum class EFlag: uint8_t { MASK = 0x1FU, /* Flags in the CR register */...
54.908602
156
0.683075
andreili
63ef68c1e0de57e3aa78b7b7ea6deb3b44a6e51a
1,430
cpp
C++
src/Window.cpp
rodohanna/Simulation-Engine
1ff3acf5949a5651f862cac90a44eb7e0d044e9f
[ "MIT" ]
null
null
null
src/Window.cpp
rodohanna/Simulation-Engine
1ff3acf5949a5651f862cac90a44eb7e0d044e9f
[ "MIT" ]
null
null
null
src/Window.cpp
rodohanna/Simulation-Engine
1ff3acf5949a5651f862cac90a44eb7e0d044e9f
[ "MIT" ]
null
null
null
#include "Window.h" static V2 window; static Rect camera; static Rect gui_camera; static V2 mouse_position; static V2 gui_mouse_position; static float world_render_scale = 1.0; static float gui_render_scale = 1.0; void Window::set_window(V2 dimensions) { window = dimensions; }; void Window::set_window(V2 *dimensi...
17.875
49
0.713287
rodohanna
63f00bf072a8cec41adf326c780db17601dc3c3f
3,511
cpp
C++
ext_modules/WATCHKEEPER/Vout_Int1.cpp
fouwels/forte
8ee35bed968c02657ae22c96cfbfaa23fac34bc7
[ "Apache-2.0", "MIT" ]
null
null
null
ext_modules/WATCHKEEPER/Vout_Int1.cpp
fouwels/forte
8ee35bed968c02657ae22c96cfbfaa23fac34bc7
[ "Apache-2.0", "MIT" ]
null
null
null
ext_modules/WATCHKEEPER/Vout_Int1.cpp
fouwels/forte
8ee35bed968c02657ae22c96cfbfaa23fac34bc7
[ "Apache-2.0", "MIT" ]
null
null
null
/************************************************************************* *** FORTE Library Element *** *** This file was generated using the 4DIAC FORTE Export Filter V1.0.x! *** *** Name: Vout_Int1 *** Description: Composite Function Block Type *** Version: *** 1.0: 2019-11-05/thomasolsen - null - ***...
47.445946
169
0.777841
fouwels
63f2cf239540a309fe83d2d71669259a7086b823
13,284
cpp
C++
carlsim/test/stdp.cpp
UCI-CARL/CARLsim6
b89a01172a1ec97a1c421cbd9bd69d158c6e35fa
[ "MIT" ]
2
2022-01-18T19:37:11.000Z
2022-02-26T13:41:54.000Z
carlsim/test/stdp.cpp
UCI-CARL/CARLsim6
b89a01172a1ec97a1c421cbd9bd69d158c6e35fa
[ "MIT" ]
4
2022-01-18T20:38:37.000Z
2022-03-25T18:19:16.000Z
carlsim/test/stdp.cpp
UCI-CARL/CARLsim6
b89a01172a1ec97a1c421cbd9bd69d158c6e35fa
[ "MIT" ]
null
null
null
/* * Copyright (c) 2016 Regents of the University of California. 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 copyright * notice, ...
38.063037
150
0.688347
UCI-CARL
63f4bc0727974cfab73b63e6dae1f6c2a460cb41
579
cpp
C++
src/DebugOverlay.cpp
kondrak/ogl_playground
c05e11c3d2abfa646ab753dba45287488762eb60
[ "MIT" ]
1
2021-12-01T17:24:33.000Z
2021-12-01T17:24:33.000Z
src/DebugOverlay.cpp
kondrak/ogl_playground
c05e11c3d2abfa646ab753dba45287488762eb60
[ "MIT" ]
null
null
null
src/DebugOverlay.cpp
kondrak/ogl_playground
c05e11c3d2abfa646ab753dba45287488762eb60
[ "MIT" ]
1
2021-12-01T17:24:45.000Z
2021-12-01T17:24:45.000Z
#include "DebugOverlay.hpp" void DebugOverlay::OnUpdate( float dt ) { if( m_debugFlags & DEBUG_SHOW_FPS ) m_fpsCounter.OnFrameStart(dt); } void DebugOverlay::OnRender() { GLint pMode[2]; glGetIntegerv( GL_POLYGON_MODE, pMode ); glPolygonMode( GL_FRONT_AND_BACK, GL_FILL ); if( m_debugFlags...
19.3
49
0.661485
kondrak
63f52bca8d8ccfdc3ad2f184f0c7f94804ba9099
7,864
cpp
C++
src/duke/benchmark/Benchmark.cpp
hradec/duke
efacf7139cd1d7c2cd2f5127079721bd263dda50
[ "MIT" ]
51
2015-01-07T18:36:39.000Z
2021-11-30T15:24:44.000Z
src/duke/benchmark/Benchmark.cpp
virneo/duke
efacf7139cd1d7c2cd2f5127079721bd263dda50
[ "MIT" ]
1
2015-01-08T10:48:43.000Z
2015-02-11T19:32:14.000Z
src/duke/benchmark/Benchmark.cpp
virneo/duke
efacf7139cd1d7c2cd2f5127079721bd263dda50
[ "MIT" ]
18
2015-05-11T12:43:37.000Z
2019-11-29T11:15:41.000Z
#include "Benchmark.hpp" #include "duke/gl/GlFwApp.hpp" #include "duke/gl/GL.hpp" #include "duke/gl/GlObjects.hpp" #include "duke/gl/GlUtils.hpp" #include "duke/gl/Mesh.hpp" #include "duke/gl/Textures.hpp" #include "duke/engine/rendering/ShaderFactory.hpp" #include "duke/memory/Allocator.hpp" #include <glm/glm.hpp> ...
42.27957
120
0.650432
hradec
63fe71b458346d0b36d57e67ba2569598a1bed8e
862
cpp
C++
Online-Judge-Solution/UVA Solutions/10101(Bangla Number).cpp
arifparvez14/Basic-and-competetive-programming
4cb9ee7fbed3c70307d0f63499fcede86ed3c732
[ "MIT" ]
null
null
null
Online-Judge-Solution/UVA Solutions/10101(Bangla Number).cpp
arifparvez14/Basic-and-competetive-programming
4cb9ee7fbed3c70307d0f63499fcede86ed3c732
[ "MIT" ]
null
null
null
Online-Judge-Solution/UVA Solutions/10101(Bangla Number).cpp
arifparvez14/Basic-and-competetive-programming
4cb9ee7fbed3c70307d0f63499fcede86ed3c732
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; void banglaNumber(long long int X){ if(X>9999999){ printf(" %lld kuti",X/10000000); X = X%10000000; } if(X>99999){ printf(" %lld lakh",X/100000); X = X%100000; } if(X>999){ printf(" %lld hajar",X/1000); X = ...
17.591837
40
0.426914
arifparvez14
63fead5c085544db13b7908a5f814902902cbb10
8,427
cpp
C++
tests/agraph_backend_tests.cpp
imikejackson/bingocpp
6ba00a490c8cb46edebfd78f56b1604a76d668e9
[ "Apache-2.0" ]
13
2019-03-14T09:54:02.000Z
2021-09-26T14:01:30.000Z
tests/agraph_backend_tests.cpp
imikejackson/bingocpp
6ba00a490c8cb46edebfd78f56b1604a76d668e9
[ "Apache-2.0" ]
35
2019-08-29T19:12:05.000Z
2021-07-15T22:17:53.000Z
tests/agraph_backend_tests.cpp
imikejackson/bingocpp
6ba00a490c8cb46edebfd78f56b1604a76d668e9
[ "Apache-2.0" ]
9
2018-10-18T02:43:03.000Z
2021-09-02T22:08:39.000Z
#include <cmath> #include <vector> #include <Eigen/Dense> #include <gtest/gtest.h> #include <BingoCpp/backend.h> #include "testing_utils.h" #include "test_fixtures.h" using namespace bingo; using namespace backend; namespace { const int N_OPS = 13; struct AGraphValues { Eigen::ArrayXXd x_vals; Eigen::VectorXd co...
32.411538
89
0.664056
imikejackson
12017be103172b5c7b3249c8735d4501bf9e921d
10,135
cpp
C++
src/Renderer/buffer.cpp
zeneksashy/IPZ_Project
9efaac08b2613fe5560db865583be4a285851bc5
[ "MIT" ]
null
null
null
src/Renderer/buffer.cpp
zeneksashy/IPZ_Project
9efaac08b2613fe5560db865583be4a285851bc5
[ "MIT" ]
null
null
null
src/Renderer/buffer.cpp
zeneksashy/IPZ_Project
9efaac08b2613fe5560db865583be4a285851bc5
[ "MIT" ]
null
null
null
#include "buffer.h" #include "../Core/application.h" void BufferLayout::appendElement(BufferElement element) { element.size = BufferElement::typeComponentSize(element.type); elements.push_back(element); element.offset = m_stride; m_stride += element.size; } void BufferLayout::processElements() { ...
29.721408
144
0.636112
zeneksashy
120b91d3c382f72630a27d59dd8e4e10dc5bf1db
484
cpp
C++
Pong/GameObjects/PlayerRacket.cpp
emersonmx/pong-sfml
497e0dd390f5b3cc321b856b8260eb0df3f016ee
[ "MIT" ]
null
null
null
Pong/GameObjects/PlayerRacket.cpp
emersonmx/pong-sfml
497e0dd390f5b3cc321b856b8260eb0df3f016ee
[ "MIT" ]
null
null
null
Pong/GameObjects/PlayerRacket.cpp
emersonmx/pong-sfml
497e0dd390f5b3cc321b856b8260eb0df3f016ee
[ "MIT" ]
null
null
null
#include "Pong/GameObjects/PlayerRacket.hpp" #include <SFML/Window/Keyboard.hpp> #include "Pong/Defs.hpp" namespace pong { void PlayerRacket::handleInput() { b2Vec2 velocity(0.0f, 0.0f); if (sf::Keyboard::isKeyPressed(sf::Keyboard::Up)) { velocity.Set(0.0f, -RACKET_BASE_SPEED); } else if (sf::Ke...
23.047619
64
0.673554
emersonmx
120c15350b726f30643d533baa550c81a88cdf1d
2,106
cpp
C++
microcontroller/src/NutSorter/Interpreter.cpp
robfors/nut_sorter-microcontroller
bc909fdaa1cc856341fe16773aefe9f1af773c83
[ "Apache-2.0" ]
null
null
null
microcontroller/src/NutSorter/Interpreter.cpp
robfors/nut_sorter-microcontroller
bc909fdaa1cc856341fe16773aefe9f1af773c83
[ "Apache-2.0" ]
null
null
null
microcontroller/src/NutSorter/Interpreter.cpp
robfors/nut_sorter-microcontroller
bc909fdaa1cc856341fe16773aefe9f1af773c83
[ "Apache-2.0" ]
null
null
null
#include "NutSorter.h" namespace NutSorter { // // public // void Interpreter::tick() { if (_next_slot->is_over(_start_angle)) { _process_slot(_next_slot); _next_slot = Carousel::next_slot(_next_slot); } } // // private // CoterminalAngle Interpreter::_...
24.488372
69
0.651947
robfors
120c686c34018c664eafe44af9b96ce39362c6a0
3,120
hpp
C++
include/codegen/include/NUnit/Framework/Internal/ActionsHelper.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/NUnit/Framework/Internal/ActionsHelper.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/NUnit/Framework/Internal/ActionsHelper.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:09:56 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: System.Object #include "System/Object.hpp" #include "utils/i...
47.272727
149
0.760256
Futuremappermydud
120e36caeedc95c6b23cf668bb363166db1a555a
864
cpp
C++
src/prepared.cpp
npeshek-spotx/libpriamcql
19bf933f796cd022c5f5a6737b8c8e1ebda5c490
[ "Apache-2.0" ]
1
2021-01-11T19:26:29.000Z
2021-01-11T19:26:29.000Z
src/prepared.cpp
npeshek-spotx/libpriamcql
19bf933f796cd022c5f5a6737b8c8e1ebda5c490
[ "Apache-2.0" ]
10
2020-04-22T16:17:11.000Z
2021-02-04T19:48:46.000Z
src/prepared.cpp
npeshek-spotx/libpriamcql
19bf933f796cd022c5f5a6737b8c8e1ebda5c490
[ "Apache-2.0" ]
2
2019-08-15T02:07:38.000Z
2021-01-11T18:21:17.000Z
#include "priam/prepared.hpp" #include "priam/client.hpp" #include <algorithm> #include <stdexcept> namespace priam { auto prepared::make_statement() const -> statement { return statement{m_cass_prepared_ptr.get(), m_parameter_count}; } prepared::prepared(client& client, std::string_view query) : m_parameter...
27
111
0.707176
npeshek-spotx
1211eb0397d19c7286fc2feb5ab9d9ac963ee4ed
5,008
cpp
C++
Recitation Assignment 2 Streams and IO-Counting Words and Integers/RA2_Mark_Cruz.cpp
markkcruz/Recitation-Assignments-CS280
2cf5c7d81b9a2e9d6a1e24d2422532fed78fda9d
[ "MIT" ]
null
null
null
Recitation Assignment 2 Streams and IO-Counting Words and Integers/RA2_Mark_Cruz.cpp
markkcruz/Recitation-Assignments-CS280
2cf5c7d81b9a2e9d6a1e24d2422532fed78fda9d
[ "MIT" ]
null
null
null
Recitation Assignment 2 Streams and IO-Counting Words and Integers/RA2_Mark_Cruz.cpp
markkcruz/Recitation-Assignments-CS280
2cf5c7d81b9a2e9d6a1e24d2422532fed78fda9d
[ "MIT" ]
null
null
null
// CourseID:2021SPRING | CS 280: Programming Language Concepts // Name: Mark Cruz // Dr. Bassel Arafeh. // Recitation Assignment 2 // Due Wednesday, February 3rd, 2021, 23:59 // Total Points: 6 /* * Write a C++ program that reads lines from a file until the end of file. * The program should prompt the user for the f...
34.537931
150
0.480631
markkcruz
1212b96dad1a5b4233eb8bb454876eca8ac9fbba
3,136
cpp
C++
phpcxx/callable.cpp
sjinks/php-cxx
c519f841c2d7122bcf02db7d43a109a6ec818e1d
[ "MIT" ]
5
2017-02-26T23:55:20.000Z
2019-10-12T04:04:38.000Z
phpcxx/callable.cpp
sjinks/php-cxx
c519f841c2d7122bcf02db7d43a109a6ec818e1d
[ "MIT" ]
25
2017-03-18T07:03:42.000Z
2018-03-28T21:33:57.000Z
phpcxx/callable.cpp
sjinks/php-cxx
c519f841c2d7122bcf02db7d43a109a6ec818e1d
[ "MIT" ]
1
2017-03-18T07:27:25.000Z
2017-03-18T07:27:25.000Z
#include <cassert> #include <cstring> #include <stdexcept> extern "C" { #include <Zend/zend_API.h> } #include "callable.h" phpcxx::Callable::Callable(const char* name) { assert(name != nullptr); ZVAL_STRING(&this->m_z, name); } phpcxx::Callable::Callable(const char* cls, const char* name) { assert(cls ...
26.576271
114
0.57111
sjinks
1214f4c6c7725c7ab76fe7e0b561bbc36ab0ad8e
8,709
cpp
C++
sycl/test/hier_par/hier_par_basic.cpp
Ralender/sycl
1fcd1e6d3da10024be92148501aced30ae3aa2be
[ "Apache-2.0" ]
1
2020-09-25T23:33:05.000Z
2020-09-25T23:33:05.000Z
sycl/test/hier_par/hier_par_basic.cpp
Ralender/sycl
1fcd1e6d3da10024be92148501aced30ae3aa2be
[ "Apache-2.0" ]
null
null
null
sycl/test/hier_par/hier_par_basic.cpp
Ralender/sycl
1fcd1e6d3da10024be92148501aced30ae3aa2be
[ "Apache-2.0" ]
null
null
null
//==- hier_par_basic.cpp --- hierarchical parallelism API test -------------==// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
37.059574
80
0.540361
Ralender
121f132e933dbe52bebdfe1d8b12a1d28858cd18
232
hpp
C++
include/visa.hpp
davidkleiven/VISA
1b07197a3ea1f88c40e7d9249e08deee360ea814
[ "MIT" ]
2
2018-05-27T12:49:40.000Z
2018-09-05T05:50:51.000Z
include/visa.hpp
davidkleiven/VISA
1b07197a3ea1f88c40e7d9249e08deee360ea814
[ "MIT" ]
null
null
null
include/visa.hpp
davidkleiven/VISA
1b07197a3ea1f88c40e7d9249e08deee360ea814
[ "MIT" ]
1
2018-04-11T10:05:49.000Z
2018-04-11T10:05:49.000Z
#ifndef VISA_H #define VISA_H #include "colormaps.hpp" #include "fifoBuffer.hpp" #include "gaussianKernel.hpp" #include "lowPassFilter.hpp" #include "visualizer.hpp" #include "visualizer1D.hpp" #include "windowHandler.hpp" #endif
17.846154
29
0.775862
davidkleiven
122206f1066c494980b2eaa940a3ec209fa63304
686
cpp
C++
ui.cpp
antonte/terraform
40efa22e21f3219f8ff498c13ed9a15b4ba1c114
[ "MIT" ]
null
null
null
ui.cpp
antonte/terraform
40efa22e21f3219f8ff498c13ed9a15b4ba1c114
[ "MIT" ]
null
null
null
ui.cpp
antonte/terraform
40efa22e21f3219f8ff498c13ed9a15b4ba1c114
[ "MIT" ]
1
2019-04-10T03:48:19.000Z
2019-04-10T03:48:19.000Z
#include "ui.hpp" #include "widget.hpp" #include <algorithm> bool Ui::onMouseDown(int x, int y) { for (auto &&w : widgets) if (w->onMouseDown(x, y)) return true; return false; } bool Ui::onMouseUp(int x, int y) { for (auto &&w : widgets) if (w->onMouseUp(x, y)) return true; return false; ...
16.731707
81
0.591837
antonte
123363a5f77308aa5fc61eb2ac29eda7216b50a4
467
cpp
C++
src/preprocessor.cpp
gwankyun/cmake-boost-example
f74b2906d0cc976a2ba40af81a4c41695213c38c
[ "Apache-2.0" ]
1
2020-10-20T10:35:29.000Z
2020-10-20T10:35:29.000Z
src/preprocessor.cpp
gwankyun/cmake-boost-example
f74b2906d0cc976a2ba40af81a4c41695213c38c
[ "Apache-2.0" ]
null
null
null
src/preprocessor.cpp
gwankyun/cmake-boost-example
f74b2906d0cc976a2ba40af81a4c41695213c38c
[ "Apache-2.0" ]
null
null
null
#include <boost/preprocessor.hpp> #define TYPENAME(z, n, text) typename T##n #define PARAM(z, n, text) const text##n& text##n##_ #define ARG(z, n, text) text##n##_ template<typename T, BOOST_PP_ENUM(2, TYPENAME, T)> T* make_ptr(BOOST_PP_ENUM(2, PARAM, T)) { return new T(BOOST_PP_ENUM(2, ARG, T)); } class Objec...
12.972222
51
0.62955
gwankyun
72edf59ebef9e72fbb0bae0bbf67dcdba7c474ff
1,597
cpp
C++
tests/movefix.cpp
Heep042/m0dular-source-sdk
225bdb82845f82daa005c3d81c368685175beecf
[ "MIT" ]
4
2019-11-18T01:12:54.000Z
2020-01-10T01:33:26.000Z
tests/movefix.cpp
Heep042/m0dular-source-sdk
225bdb82845f82daa005c3d81c368685175beecf
[ "MIT" ]
null
null
null
tests/movefix.cpp
Heep042/m0dular-source-sdk
225bdb82845f82daa005c3d81c368685175beecf
[ "MIT" ]
4
2020-01-06T14:24:48.000Z
2020-04-01T12:01:49.000Z
#include <stdio.h> #include "../source_shared/sdk.h" #include "../features/essentials.h" void CMove(vec3_t& oldAngles, CUserCmd* cmd, int mtype) { float oldfm = cmd->forwardmove; float oldsm = cmd->sidemove; float deltaView = NormalizeFloat(cmd->viewangles[1] - oldAngles.y, 0.f, 360.f); cmd->forwardmove = cos(d...
25.349206
136
0.574828
Heep042
72ef6d7eb08744430c40dfc723b141fef6ebe3f0
9,990
cpp
C++
src/DAW.cpp
stevefolta/dawlet
429ffba85f00acf05c15daf2597d97f79cb4f2f2
[ "MIT" ]
null
null
null
src/DAW.cpp
stevefolta/dawlet
429ffba85f00acf05c15daf2597d97f79cb4f2f2
[ "MIT" ]
null
null
null
src/DAW.cpp
stevefolta/dawlet
429ffba85f00acf05c15daf2597d97f79cb4f2f2
[ "MIT" ]
null
null
null
#include "DAW.h" #include "AudioEngine.h" #include "AudioFileRead.h" #include "Recorder.h" #include "Project.h" #include "ProjectReader.h" #include "web/Server.h" #include "web/Connection.h" #include "FieldParser.h" #include "Message.h" #include "GetPBHeadProcess.h" #include "SeekProcess.h" #include "SupplyReadsProcess...
23.341121
83
0.687588
stevefolta
72f1aa8e73b0525530dc5715fbc2742b140c6325
2,521
hpp
C++
src/LowLevel/ProtocolTypes/ProtocolResultRowsMetadata.hpp
cpv-project/cpv-cql-driver
66eebfd4e9ec75dc49cd4a7073a51a830236807a
[ "MIT" ]
41
2018-01-23T09:27:32.000Z
2021-02-15T15:49:07.000Z
src/LowLevel/ProtocolTypes/ProtocolResultRowsMetadata.hpp
cpv-project/cpv-cql-driver
66eebfd4e9ec75dc49cd4a7073a51a830236807a
[ "MIT" ]
20
2018-01-25T04:25:48.000Z
2019-03-09T02:49:41.000Z
src/LowLevel/ProtocolTypes/ProtocolResultRowsMetadata.hpp
cpv-project/cpv-cql-driver
66eebfd4e9ec75dc49cd4a7073a51a830236807a
[ "MIT" ]
5
2018-04-10T12:19:13.000Z
2020-02-17T03:30:50.000Z
#pragma once #include "../LowLevelDefinitions.hpp" #include "./ProtocolInt.hpp" #include "./ProtocolBytes.hpp" #include "./ProtocolString.hpp" #include "./ProtocolResultColumn.hpp" namespace cql { /** * <flags><columns_count>[<paging_state>][<global_table_spec>?<col_spec_1>...<col_spec_n>] * [] mean optional, dep...
38.784615
91
0.733836
cpv-project
72f2703c6bd93958d6e6eef90d322c72ca9a4e5e
54
hpp
C++
src/boost_spirit_include_classic_parser_id.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_spirit_include_classic_parser_id.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_spirit_include_classic_parser_id.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/spirit/include/classic_parser_id.hpp>
27
53
0.833333
miathedev
72fb803d94a583f12ca1787b294ebcfd157e83e5
949
cpp
C++
src/arcpython/PythonModule.cpp
jmnel/math4171
25f7b95b24bcac0cd707a16c0d387fce4e68be03
[ "MIT" ]
null
null
null
src/arcpython/PythonModule.cpp
jmnel/math4171
25f7b95b24bcac0cd707a16c0d387fce4e68be03
[ "MIT" ]
null
null
null
src/arcpython/PythonModule.cpp
jmnel/math4171
25f7b95b24bcac0cd707a16c0d387fce4e68be03
[ "MIT" ]
null
null
null
#include "PythonModule.hpp" namespace arc::python { // -- Constructor -- PythonModule::PythonModule(string const &name) { assert(!name.empty()); Py_Initialize(); // auto pyName = PyUnicode_DecodeFSDefault(name.c_str()); auto pyName = PyUnicode_FromString(name.c_str()); ...
25.648649
65
0.565859
jmnel
f402a71575c5f2791cf836d4f3233f2c54fa87a9
4,272
cpp
C++
Trabalho/Usuario.cpp
raquelperim/Trabalho-de-PAC
193454482887512e0ef5c8cf5fa6cfb3bd5e3a96
[ "Unlicense" ]
2
2019-11-30T23:55:33.000Z
2019-12-01T02:19:52.000Z
Trabalho/Usuario.cpp
raquelperim/Trabalho-de-PAC
193454482887512e0ef5c8cf5fa6cfb3bd5e3a96
[ "Unlicense" ]
null
null
null
Trabalho/Usuario.cpp
raquelperim/Trabalho-de-PAC
193454482887512e0ef5c8cf5fa6cfb3bd5e3a96
[ "Unlicense" ]
null
null
null
#include "Usuario.h" Usuario::Usuario() {} Usuario::Usuario(string n, string c, tm dn, string u) { nome=n; id=c; data=dn; urlFoto=u; } void Usuario::imprimirPublicacoes() { if(publicacoes.size()==0) { //cout << "Não existe publicação cadastrada." << endl; // Quando impr...
22.603175
168
0.529494
raquelperim
f4035aaa67436669029d5f23b11b0cc603421bd8
7,566
cc
C++
ros/src/f16/src/RocketPlugin/RocketPlugin.cc
HenryTingle/aae497-f19
29df124e31fcc1a1a8462211b1390e5a74f40cd9
[ "BSD-3-Clause" ]
4
2019-08-27T10:13:17.000Z
2020-02-12T13:05:35.000Z
ros/src/f16/src/RocketPlugin/RocketPlugin.cc
HenryTingle/aae497-f19
29df124e31fcc1a1a8462211b1390e5a74f40cd9
[ "BSD-3-Clause" ]
4
2019-08-31T21:57:41.000Z
2019-10-31T04:41:34.000Z
ros/src/f16/src/RocketPlugin/RocketPlugin.cc
HenryTingle/aae497-f19
29df124e31fcc1a1a8462211b1390e5a74f40cd9
[ "BSD-3-Clause" ]
17
2019-08-21T20:32:18.000Z
2019-10-28T00:12:27.000Z
/* * Copyright (C) 2015 Open Source Robotics Foundation * * 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 appl...
30.508065
107
0.598731
HenryTingle