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
5372cedf806e593384c41bcfca825a081f342a93
2,408
cpp
C++
Array/3Sum.cpp
harshallgarg/Diversified-Programming
7e6fb135c4639dbaa0651b85f98397f994a5b11d
[ "MIT" ]
2
2020-08-09T02:09:50.000Z
2020-08-09T07:07:47.000Z
Array/3Sum.cpp
harshallgarg/Diversified-Programming
7e6fb135c4639dbaa0651b85f98397f994a5b11d
[ "MIT" ]
null
null
null
Array/3Sum.cpp
harshallgarg/Diversified-Programming
7e6fb135c4639dbaa0651b85f98397f994a5b11d
[ "MIT" ]
5
2020-09-21T12:49:07.000Z
2020-09-29T16:13:09.000Z
class Solution { public: vector<vector<int>> threeSum(vector<int> &nums) { vector<vector<int>> ans; sort(nums.begin(), nums.end()); int n = nums.size(); for (int i = 0; i < n; i++) { if (i > 0 && nums[i] == nums[i - 1]) { continue; ...
27.678161
83
0.278654
harshallgarg
537700503cdd26d18fc2c5c38a1a6a27a8c41d17
1,404
cpp
C++
src/bits_of_matcha/engine/ops/SaveCsv.cpp
matcha-ai/matcha-engine
2ddc2a1dbe8b646176bf761b85720e94fc6b7cf9
[ "MIT" ]
null
null
null
src/bits_of_matcha/engine/ops/SaveCsv.cpp
matcha-ai/matcha-engine
2ddc2a1dbe8b646176bf761b85720e94fc6b7cf9
[ "MIT" ]
null
null
null
src/bits_of_matcha/engine/ops/SaveCsv.cpp
matcha-ai/matcha-engine
2ddc2a1dbe8b646176bf761b85720e94fc6b7cf9
[ "MIT" ]
1
2022-03-17T12:14:27.000Z
2022-03-17T12:14:27.000Z
#include "bits_of_matcha/engine/ops/SaveCsv.h" #include "bits_of_matcha/engine/tensor/iterations.h" #include <fstream> #include <iostream> #include <sstream> namespace matcha::engine::ops { SaveCsv::SaveCsv(Tensor* a, const std::string& file) : Op{a} , file_(file) {} void SaveCsv::run() { std::ofstream os(fi...
20.347826
70
0.538462
matcha-ai
537a0058e9af78f53b874b83272398e8b1b5cf87
3,344
hpp
C++
include/eepp/ui/uihelper.hpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
37
2020-01-20T06:21:24.000Z
2022-03-21T17:44:50.000Z
include/eepp/ui/uihelper.hpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
null
null
null
include/eepp/ui/uihelper.hpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
9
2019-03-22T00:33:07.000Z
2022-03-01T01:35:59.000Z
#ifndef EE_UIHELPER_HPP #define EE_UIHELPER_HPP #include <eepp/graphics/font.hpp> #include <eepp/ui/base.hpp> using namespace EE::Graphics; namespace EE { namespace UI { #define UI_HALIGN_LEFT TEXT_ALIGN_LEFT #define UI_HALIGN_MASK TEXT_HALIGN_MASK #define UI_VALIGN_TOP TEXT_ALIGN_TOP #define UI_VALIGN_MASK TEXT_VA...
25.526718
81
0.772727
jayrulez
537a5b183ea49888c3e68eb2d9aa545d3457a526
1,563
cpp
C++
src/terark/util/tmpfile.cpp
rockeet/terark-zip
3235373d04b7cf5d584259111b3a057c45cc1708
[ "BSD-3-Clause" ]
44
2020-12-21T05:14:38.000Z
2022-03-15T11:27:32.000Z
src/terark/util/tmpfile.cpp
rockeet/terark-zip
3235373d04b7cf5d584259111b3a057c45cc1708
[ "BSD-3-Clause" ]
2
2020-12-28T10:42:03.000Z
2021-05-21T07:22:47.000Z
src/terark/util/tmpfile.cpp
rockeet/terark-zip
3235373d04b7cf5d584259111b3a057c45cc1708
[ "BSD-3-Clause" ]
21
2020-12-22T09:40:16.000Z
2021-12-07T18:16:00.000Z
// created by leipeng at 2020-01-09 10:32 #include "tmpfile.hpp" #if _MSC_VER #include <io.h> #endif namespace terark { TempFileDeleteOnClose::~TempFileDeleteOnClose() { if (fp) this->close(); } void TempFileDeleteOnClose::open_temp() { if (!fstring(path).endsWith("XXXXXX")) { THROW_ST...
21.410959
90
0.577095
rockeet
537d3047e1abd3ea85657f54eb428ea6f2ea5965
1,683
cpp
C++
UnitTests/bitarray_tests.cpp
jakubtyrcha/playground
d6be4387ffb2d9a2106f01b4c1b1a46ce78c1cef
[ "MIT" ]
null
null
null
UnitTests/bitarray_tests.cpp
jakubtyrcha/playground
d6be4387ffb2d9a2106f01b4c1b1a46ce78c1cef
[ "MIT" ]
null
null
null
UnitTests/bitarray_tests.cpp
jakubtyrcha/playground
d6be4387ffb2d9a2106f01b4c1b1a46ce78c1cef
[ "MIT" ]
null
null
null
#include "bitarray.h" #include "catch/catch.hpp" using namespace Playground; TEST_CASE("bitarray can store bits", "[bitarray]") { Bitarray b; b.Resize(1000); for (i32 i = 0; i < 1000; i++) { b.SetBit(i, (i % 3) == 0); } for (i32 i = 0; i < 1000; i++) { REQUIRE(b.GetBit(i) == ((...
22.144737
62
0.56328
jakubtyrcha
537e55b26f570fac8b3a2e8a2495bdfa8101725c
758
cpp
C++
Medium/513_Find_Bottom_Left_Tree_Value.cpp
ShehabMMohamed/LeetCodeCPP
684340f29ac15c5e8fa9f6ef5c3f99d4c95ce780
[ "MIT" ]
1
2021-03-15T10:02:10.000Z
2021-03-15T10:02:10.000Z
Medium/513_Find_Bottom_Left_Tree_Value.cpp
ShehabMMohamed/LeetCodeCPP
684340f29ac15c5e8fa9f6ef5c3f99d4c95ce780
[ "MIT" ]
null
null
null
Medium/513_Find_Bottom_Left_Tree_Value.cpp
ShehabMMohamed/LeetCodeCPP
684340f29ac15c5e8fa9f6ef5c3f99d4c95ce780
[ "MIT" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: int findBottomLeftValue(TreeNode* root) { int key; queue<TreeNode*> q; ...
24.451613
59
0.414248
ShehabMMohamed
53804e0fcc692cb73121e48bae12979f4f34173e
4,081
cc
C++
06-write-once-read-many/shared/src/worm.cc
timmerov/aggiornamento
d6af5c42d96522f6987c4b7c05a9421177504bcd
[ "Unlicense" ]
1
2016-09-21T19:15:20.000Z
2016-09-21T19:15:20.000Z
06-write-once-read-many/shared/src/worm.cc
timmerov/aggiornamento
d6af5c42d96522f6987c4b7c05a9421177504bcd
[ "Unlicense" ]
null
null
null
06-write-once-read-many/shared/src/worm.cc
timmerov/aggiornamento
d6af5c42d96522f6987c4b7c05a9421177504bcd
[ "Unlicense" ]
null
null
null
/* Copyright (C) 2012-2016 tim cotter. All rights reserved. */ /** write once-in-a-while read many example. worm implementation. assumes single writer, multiple simultaneous readers. assumes writer writes rarely. protecting the data in this case causes massive contention. so we don't. the data is constant the vast m...
22.059459
68
0.664298
timmerov
53837e6b67db396214bce13e457e272dc8570deb
1,960
cpp
C++
src/algorithm_trivia/src/partition_algorithms.cpp
PeterSommerlad/CPPCourseIntroduction
9bc9cda460d504a3cf31bb059e858f9e8d5d3bf4
[ "MIT" ]
null
null
null
src/algorithm_trivia/src/partition_algorithms.cpp
PeterSommerlad/CPPCourseIntroduction
9bc9cda460d504a3cf31bb059e858f9e8d5d3bf4
[ "MIT" ]
null
null
null
src/algorithm_trivia/src/partition_algorithms.cpp
PeterSommerlad/CPPCourseIntroduction
9bc9cda460d504a3cf31bb059e858f9e8d5d3bf4
[ "MIT" ]
null
null
null
#include "partition_algorithms.h" #include "cute.h" #include "algorithm_replacements.h" #include <vector> #include <algorithm> #include <iterator> //Partition algorithms (hint): // * is_partitioned // * partition // * stable_partition // * partition_copy // * partition_point namespace { void test...
20.631579
69
0.611224
PeterSommerlad
53848f9f84d2f638958db5df18b39b5a9147a6a1
380
hpp
C++
src/behavior/singleagent/planning/stochastic/sparsesampling/sparse_sampling.hpp
MarkieMark/fastrl
e4f0b9b60a7ecb6f13bbb79936ea82acb8adae0e
[ "Apache-2.0" ]
4
2019-04-19T00:11:36.000Z
2020-04-08T09:50:37.000Z
src/behavior/singleagent/planning/stochastic/sparsesampling/sparse_sampling.hpp
MarkieMark/fastrl
e4f0b9b60a7ecb6f13bbb79936ea82acb8adae0e
[ "Apache-2.0" ]
null
null
null
src/behavior/singleagent/planning/stochastic/sparsesampling/sparse_sampling.hpp
MarkieMark/fastrl
e4f0b9b60a7ecb6f13bbb79936ea82acb8adae0e
[ "Apache-2.0" ]
null
null
null
/* * Mark Benjamin 6th March 2019 * Copyright (c) 2019 Mark Benjamin */ #ifndef FASTRL_BEHAVIOR_SINGLEAGENT_PLANNING_STOCHASTIC_SPARSESAMPLING_SPARSE_SAMPLING_HPP #define FASTRL_BEHAVIOR_SINGLEAGENT_PLANNING_STOCHASTIC_SPARSESAMPLING_SPARSE_SAMPLING_HPP class SparseSampling { }; #endif //FASTRL_BEHAVIOR_SINGLEA...
25.333333
91
0.873684
MarkieMark
5384ff91a415c0595ee18f415cc464bb1ba72eff
615
cpp
C++
leetcode/1019. Next Greater Node In Linked List/s2.cpp
zhuohuwu0603/leetcode_cpp_lzl124631x
6a579328810ef4651de00fde0505934d3028d9c7
[ "Fair" ]
787
2017-05-12T05:19:57.000Z
2022-03-30T12:19:52.000Z
leetcode/1019. Next Greater Node In Linked List/s2.cpp
aerlokesh494/LeetCode
0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f
[ "Fair" ]
8
2020-03-16T05:55:38.000Z
2022-03-09T17:19:17.000Z
leetcode/1019. Next Greater Node In Linked List/s2.cpp
aerlokesh494/LeetCode
0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f
[ "Fair" ]
247
2017-04-30T15:07:50.000Z
2022-03-30T09:58:57.000Z
// OJ: https://leetcode.com/problems/next-greater-node-in-linked-list/ // Author: github.com/lzl124631x // Time: O(N) // Space: O(N) class Solution { public: vector<int> nextLargerNodes(ListNode* head) { vector<int> ans; stack<int> s; for (; head; head = head->next) ans.push_back(head->val);...
29.285714
70
0.476423
zhuohuwu0603
5387597aabae0bab71e06cbe6281d183159b0a76
1,684
cc
C++
net/grpc/gateway/codec/proto_encoder.cc
Atrasoftware/grpc-web
025b1d641b50b486bbae6921b5df4f9a515649a6
[ "BSD-3-Clause" ]
null
null
null
net/grpc/gateway/codec/proto_encoder.cc
Atrasoftware/grpc-web
025b1d641b50b486bbae6921b5df4f9a515649a6
[ "BSD-3-Clause" ]
null
null
null
net/grpc/gateway/codec/proto_encoder.cc
Atrasoftware/grpc-web
025b1d641b50b486bbae6921b5df4f9a515649a6
[ "BSD-3-Clause" ]
null
null
null
#include "net/grpc/gateway/codec/proto_encoder.h" #include <utility> #include <vector> #include "google/protobuf/any.pb.h" #include "net/grpc/gateway/protos/pair.pb.h" #include "net/grpc/gateway/protos/status.pb.h" #include "net/grpc/gateway/runtime/constants.h" #include "net/grpc/gateway/runtime/types.h" #include "t...
33.019608
80
0.697743
Atrasoftware
53927a879560d29f654a42b61be89ea80654aece
2,470
cpp
C++
OrionUO/TargetGump.cpp
shiryux/UOA-OrionUO
fd81d57db51efd39ecfaaa19fd0fb881bde8fef8
[ "MIT" ]
1
2019-04-13T09:30:27.000Z
2019-04-13T09:30:27.000Z
OrionUO/TargetGump.cpp
shiryux/UOA-OrionUO
fd81d57db51efd39ecfaaa19fd0fb881bde8fef8
[ "MIT" ]
null
null
null
OrionUO/TargetGump.cpp
shiryux/UOA-OrionUO
fd81d57db51efd39ecfaaa19fd0fb881bde8fef8
[ "MIT" ]
null
null
null
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com /*********************************************************************************** ** ** TargetGump.cpp ** ** Copyright (C) August 2016 Hotride ** **********...
36.323529
84
0.353846
shiryux
539b30aa9fa59ae61ab810ea85751d38a2075f99
2,736
hpp
C++
System/include/Switch/System/Net/WebSockets/WebSocketCloseStatus.hpp
kkptm/CppLikeCSharp
b2d8d9da9973c733205aa945c9ba734de0c734bc
[ "MIT" ]
4
2021-10-14T01:43:00.000Z
2022-03-13T02:16:08.000Z
src/Switch.System/include/Switch/System/Net/WebSockets/WebSocketCloseStatus.hpp
sgf/Switch
8e8e687a8bdc4f79d482680da3968e9b3e464b8b
[ "MIT" ]
null
null
null
src/Switch.System/include/Switch/System/Net/WebSockets/WebSocketCloseStatus.hpp
sgf/Switch
8e8e687a8bdc4f79d482680da3968e9b3e464b8b
[ "MIT" ]
2
2020-02-01T02:19:01.000Z
2021-12-30T06:44:00.000Z
/// @file /// @brief Contains Switch::System::Net::WebSockets::WebSocketCloseStatus enum. #pragma once #include <Switch/System/Enum.hpp> /// @brief The Switch namespace contains all fundamental classes to access Hardware, Os, System, and more. namespace Switch { /// @brief The System namespace contains fundamental ...
58.212766
281
0.702851
kkptm
53a6506a5dbc0c3bd9c6f7cc1743dd5b2ad9b42b
3,349
hpp
C++
openstudiocore/src/openstudio_lib/ScheduleDialog.hpp
hellok-coder/OS-Testing
e9e18ad9e99f709a3f992601ed8d2e0662175af4
[ "blessing" ]
1
2019-11-12T02:07:03.000Z
2019-11-12T02:07:03.000Z
openstudiocore/src/openstudio_lib/ScheduleDialog.hpp
hellok-coder/OS-Testing
e9e18ad9e99f709a3f992601ed8d2e0662175af4
[ "blessing" ]
1
2019-02-04T23:30:45.000Z
2019-02-04T23:30:45.000Z
openstudiocore/src/openstudio_lib/ScheduleDialog.hpp
hellok-coder/OS-Testing
e9e18ad9e99f709a3f992601ed8d2e0662175af4
[ "blessing" ]
null
null
null
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2019, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without m...
36.402174
125
0.710958
hellok-coder
53a9d7ce1575074745b6bf922fd6f81c47f72a10
810
cpp
C++
src/Hitbox.cpp
cjmar/battleship
8fb895ebe7b89ddd1640f78b6607cfbbdb33cde9
[ "MIT" ]
null
null
null
src/Hitbox.cpp
cjmar/battleship
8fb895ebe7b89ddd1640f78b6607cfbbdb33cde9
[ "MIT" ]
null
null
null
src/Hitbox.cpp
cjmar/battleship
8fb895ebe7b89ddd1640f78b6607cfbbdb33cde9
[ "MIT" ]
null
null
null
#include "Hitbox.h" /* Aligned axis rectangle hitbox check */ bool Hitbox::rectCollide(SDL_Rect& r1, SDL_Rect& r2) { bool collide = false; if (r1.x < r2.x + r2.w && r1.x + r1.w > r2.x && r1.y < r2.y + r2.h && r1.y + r1.h > r2.y) collide = true; return collide; } /* Just calls rect...
21.315789
83
0.608642
cjmar
53aa724e2bad3eef9e27207a2502fa1fa85cc4c2
2,687
hpp
C++
engine/src/ui/Units.hpp
Birdy2014/Birdy3d
96421f262ab6ba7448cae8381063aab32ac830fe
[ "MIT" ]
1
2021-11-01T20:22:41.000Z
2021-11-01T20:22:41.000Z
engine/src/ui/Units.hpp
Birdy2014/Birdy3d
96421f262ab6ba7448cae8381063aab32ac830fe
[ "MIT" ]
1
2021-11-02T12:45:20.000Z
2021-11-02T12:45:20.000Z
engine/src/ui/Units.hpp
Birdy2014/Birdy3d
96421f262ab6ba7448cae8381063aab32ac830fe
[ "MIT" ]
1
2021-11-02T12:28:58.000Z
2021-11-02T12:28:58.000Z
#pragma once #include "core/Base.hpp" namespace Birdy3d::ui { enum class Placement { TOP_LEFT, BOTTOM_LEFT, TOP_RIGHT, BOTTOM_RIGHT, CENTER_LEFT, CENTER_RIGHT, TOP_CENTER, BOTTOM_CENTER, CENTER }; class Unit { public: fl...
29.206522
119
0.580945
Birdy2014
53ab62cc781d1097a93633ea732f123a93db1112
2,289
hpp
C++
include/qtm-calc/data.hpp
Andinoriel/qtm-calc
940d88c2db187f75d74086bf8feb8e11f4c566e8
[ "MIT" ]
3
2021-01-15T15:47:17.000Z
2021-02-22T12:24:43.000Z
include/qtm-calc/data.hpp
andinoriel/qtm-calc
940d88c2db187f75d74086bf8feb8e11f4c566e8
[ "MIT" ]
null
null
null
include/qtm-calc/data.hpp
andinoriel/qtm-calc
940d88c2db187f75d74086bf8feb8e11f4c566e8
[ "MIT" ]
null
null
null
#pragma once #ifndef __QTM_DATA_HPP__ #define __QTM_DATA_HPP__ #include <qtm-calc/core.hpp> namespace qtm { /** * Queueing system analysis class * * ... * * Implements calculation of special characteristics of the queuing system */ class qtm_data final : private boost::noncopyable { private: /** * Perfor...
27.578313
85
0.694626
Andinoriel
53ae80703ba2554577716223887a3ea7ddac7b92
1,422
cpp
C++
loops-1.8.cpp
dazmodel/cpp-study
169569b8e29eab209f15bec042c6aac014737356
[ "MIT" ]
null
null
null
loops-1.8.cpp
dazmodel/cpp-study
169569b8e29eab209f15bec042c6aac014737356
[ "MIT" ]
null
null
null
loops-1.8.cpp
dazmodel/cpp-study
169569b8e29eab209f15bec042c6aac014737356
[ "MIT" ]
null
null
null
#include <cmath> #include <stdio.h> #include <iostream> using namespace std; int main() { // Задаем параметры окружности int a, b, radius; cout << " Vvedite koordinaty centra kryga (a, b):" << endl; cin >> a >> b; cout << " Vvedite radius kryga:" << endl; cin >> radius; // --------- Обрабатыва...
31.6
123
0.490155
dazmodel
53b05791e49c4e6ee4a4494df21f8f4a17c95b1e
1,378
hpp
C++
include/ttl/nn/bits/ops/hash.hpp
stdml/stdnn-ops
0e6132bd65319e318f918094e482482698482e9e
[ "MIT" ]
3
2018-10-23T18:46:39.000Z
2019-06-24T00:46:10.000Z
include/ttl/nn/bits/ops/hash.hpp
stdml/stdnn-ops
0e6132bd65319e318f918094e482482698482e9e
[ "MIT" ]
27
2018-11-10T14:19:16.000Z
2020-03-08T23:33:01.000Z
include/ttl/nn/bits/ops/hash.hpp
stdml/stdnn-ops
0e6132bd65319e318f918094e482482698482e9e
[ "MIT" ]
1
2018-11-05T06:17:12.000Z
2018-11-05T06:17:12.000Z
#pragma once #include <ttl/nn/bits/kernels/cpu/hash.hpp> #include <ttl/nn/common.hpp> namespace ttl::nn::ops { template <typename N> class basic_crc { N poly_; public: basic_crc(const N poly) : poly_(poly) {} template <rank_t r> shape<0> operator()(const shape<r> &) const { return shape...
22.590164
79
0.654572
stdml
53b4181594c5800b84891baa78eebf96b1952ecc
312
hpp
C++
include/shacl/trait/RangeTraits.hpp
shacl/trait
c647510210ddec516d40ac17275cbd30a14c4fd8
[ "BSD-3-Clause" ]
null
null
null
include/shacl/trait/RangeTraits.hpp
shacl/trait
c647510210ddec516d40ac17275cbd30a14c4fd8
[ "BSD-3-Clause" ]
2
2021-02-26T02:40:51.000Z
2021-03-19T18:11:11.000Z
include/shacl/trait/RangeTraits.hpp
shacl/trait
c647510210ddec516d40ac17275cbd30a14c4fd8
[ "BSD-3-Clause" ]
null
null
null
template<typename T, std::enable_if_t< IsRange_v<T>, bool > = true > struct RangeTraits { using iterator_type = decltype( std::begin( std::declval<T>() ) ); using sentinel_type = decltype( std::end( std::declval<T>() ) ); using value_type = typename std::iterator_traits<iterator_type>::value_type; };
34.666667
78
0.698718
shacl
53b89903217bdf134b538786e04289513fa7a224
7,420
cpp
C++
ext/include/osgEarthDrivers/refresh/ReaderWriterRefresh.cpp
energonQuest/dtEarth
47b04bb272ec8781702dea46f5ee9a03d4a22196
[ "MIT" ]
6
2015-09-26T15:33:41.000Z
2021-06-13T13:21:50.000Z
ext/include/osgEarthDrivers/refresh/ReaderWriterRefresh.cpp
energonQuest/dtEarth
47b04bb272ec8781702dea46f5ee9a03d4a22196
[ "MIT" ]
null
null
null
ext/include/osgEarthDrivers/refresh/ReaderWriterRefresh.cpp
energonQuest/dtEarth
47b04bb272ec8781702dea46f5ee9a03d4a22196
[ "MIT" ]
5
2015-05-04T09:02:23.000Z
2019-06-17T11:34:12.000Z
/* -*-c++-*- */ /* osgEarth - Dynamic map generation toolkit for OpenSceneGraph * Copyright 2008-2013 Pelican Mapping * http://osgearth.org * * osgEarth is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; e...
29.799197
224
0.600674
energonQuest
53be7545383671eb2243ae6081c1e851ccaa8d01
81,533
cpp
C++
s32v234_sdk/libs/io/sdi/src/sdi.cpp
intesight/Panorama4AIWAYS
46e1988e54a5155be3b3b47c486b3f722be00b5c
[ "WTFPL" ]
null
null
null
s32v234_sdk/libs/io/sdi/src/sdi.cpp
intesight/Panorama4AIWAYS
46e1988e54a5155be3b3b47c486b3f722be00b5c
[ "WTFPL" ]
null
null
null
s32v234_sdk/libs/io/sdi/src/sdi.cpp
intesight/Panorama4AIWAYS
46e1988e54a5155be3b3b47c486b3f722be00b5c
[ "WTFPL" ]
2
2021-01-21T02:06:16.000Z
2021-01-28T10:47:37.000Z
/****************************************************************************** * * Freescale Confidential Proprietary * * Copyright (c) 2016 Freescale Semiconductor; * Copyright (c) 2016-17 NXP; * All Rights Reserved * ***************************************************************************** * * THIS SOF...
29.648364
124
0.562656
intesight
53bfbeb381c50958f9b2d9ea6c9168e58abd5af3
567
cpp
C++
chapter-6/Program 6.20.cpp
JahanzebNawaz/Introduction-to-C-plus-plus-CPP-Chapter-Exercises
dc3cd3a0091686580aa8414f3d021fe5bb7bb513
[ "MIT" ]
null
null
null
chapter-6/Program 6.20.cpp
JahanzebNawaz/Introduction-to-C-plus-plus-CPP-Chapter-Exercises
dc3cd3a0091686580aa8414f3d021fe5bb7bb513
[ "MIT" ]
null
null
null
chapter-6/Program 6.20.cpp
JahanzebNawaz/Introduction-to-C-plus-plus-CPP-Chapter-Exercises
dc3cd3a0091686580aa8414f3d021fe5bb7bb513
[ "MIT" ]
null
null
null
/* program that inputs a number and checks whether it is a palindrome or not. a palindrome is a number that reads the same backwards as forwards such as 62526 and 4994 */ #include<iostream> using namespace std; main() { long int n, num, digit, rev=0; cout<<"Enter a positive number "; cin>>num; n=num...
19.551724
60
0.634921
JahanzebNawaz
53c1c696aa3a43d0842e51aafd41d62ba5b8bbff
997
hpp
C++
include/_app_state_plan.hpp
zborffs/Delta
b2efa9fe1cc2138656f4d7964ccdbbbfcebba639
[ "MIT" ]
1
2022-03-03T09:34:54.000Z
2022-03-03T09:34:54.000Z
include/_app_state_plan.hpp
zborffs/Delta
b2efa9fe1cc2138656f4d7964ccdbbbfcebba639
[ "MIT" ]
null
null
null
include/_app_state_plan.hpp
zborffs/Delta
b2efa9fe1cc2138656f4d7964ccdbbbfcebba639
[ "MIT" ]
null
null
null
#ifndef DELTA__APP_STATE_PLAN_HPP #define DELTA__APP_STATE_PLAN_HPP /// third-party includes #include <spdlog/spdlog.h> /// project includes #include "app.hpp" #include "_app_state_shutdown.hpp" #include "_app_state_wait.hpp" /** * The AppStatePlan is responsible for coloring the Application's functionality when in...
31.15625
106
0.735206
zborffs
53c8897bdc8ebe4c70ea469c6ca4eae7981b7202
732
cpp
C++
ch19/19_21.22.23.25/Test.cpp
WangLaban/CppPrime5th
b376f1a77dfb7cd9bbde7418006e016ce5b81550
[ "CC0-1.0" ]
null
null
null
ch19/19_21.22.23.25/Test.cpp
WangLaban/CppPrime5th
b376f1a77dfb7cd9bbde7418006e016ce5b81550
[ "CC0-1.0" ]
null
null
null
ch19/19_21.22.23.25/Test.cpp
WangLaban/CppPrime5th
b376f1a77dfb7cd9bbde7418006e016ce5b81550
[ "CC0-1.0" ]
null
null
null
#include <iostream> #include <string> #include "Token.h" using std::string; using std::cout; using std::endl; int main() { string s = "string"; Sales_data item("c++ primer 5", 12, 128.0); int i = 12; char c = 'c'; double d = 1.28; Token t; t = i; cout << t << endl; t = c; cout << t << endl; t = d; cout << t...
15.574468
44
0.513661
WangLaban
53d556b3e690b8d41047402aeac7313570a6cd06
1,681
cpp
C++
Concurrency/2.Data_between_Threads/Avoiding_Data_Races/example_1.cpp
weihang-li/Cpp-Nano-Udacity
c7c1f30b1d56e9849519656ca5186a444bb0a77f
[ "MIT" ]
null
null
null
Concurrency/2.Data_between_Threads/Avoiding_Data_Races/example_1.cpp
weihang-li/Cpp-Nano-Udacity
c7c1f30b1d56e9849519656ca5186a444bb0a77f
[ "MIT" ]
null
null
null
Concurrency/2.Data_between_Threads/Avoiding_Data_Races/example_1.cpp
weihang-li/Cpp-Nano-Udacity
c7c1f30b1d56e9849519656ca5186a444bb0a77f
[ "MIT" ]
null
null
null
#include <iostream> #include <thread> #include <future> // In this example, one safe way of passing data to a thread would be to carefully synchronize // the two threads using either join() or the promise-future concept that can guarantee the availability // of a result. Data races are always to be avoided. Even if ...
31.12963
118
0.652588
weihang-li
53d5e2ad4d6baec25ca80aa2c08eca2e068a6165
466
cpp
C++
codeforces/rounds/#359/watch.cpp
GinugaSaketh/Codes
e934aa5652dd86231a42e3f7f84b145eb35bf47d
[ "MIT" ]
null
null
null
codeforces/rounds/#359/watch.cpp
GinugaSaketh/Codes
e934aa5652dd86231a42e3f7f84b145eb35bf47d
[ "MIT" ]
null
null
null
codeforces/rounds/#359/watch.cpp
GinugaSaketh/Codes
e934aa5652dd86231a42e3f7f84b145eb35bf47d
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int n,m; vector<int> a,b; int a[128]; int main(){ cin>>n>>m; if(n<m){ int t=n; n=m; m=t; } int k; for(k=0;k<10;k++){ dp[i][0][0]=0; dp[i][1][0]=0; dp[i][0][1]=0; dp[i][1][1]=0; } int p=n,q=n; while(p!=0){ a.push_back(p%7); p/=7; } w...
6.213333
25
0.429185
GinugaSaketh
53dd68811cc91d55548fc2d80b80e1151362b896
1,186
hpp
C++
libzmq/ReceiptGenerator.hpp
murrekatt/zmq-samples
102a9543ba5c4fade15f5370aeb772ad48b0c3f4
[ "MIT" ]
1
2015-07-27T14:22:34.000Z
2015-07-27T14:22:34.000Z
libzmq/ReceiptGenerator.hpp
murrekatt/zmq-samples
102a9543ba5c4fade15f5370aeb772ad48b0c3f4
[ "MIT" ]
null
null
null
libzmq/ReceiptGenerator.hpp
murrekatt/zmq-samples
102a9543ba5c4fade15f5370aeb772ad48b0c3f4
[ "MIT" ]
null
null
null
#ifndef PROTO_RECEIPTGENERATOR_HPP #define PROTO_RECEIPTGENERATOR_HPP #include "Module.hpp" #include <zmq.h> #include <string> #include <cassert> #include <unistd.h> namespace proto { struct ReceiptGenerator : public Module { explicit ReceiptGenerator(int i) : Module() , socket_(nullptr) ...
21.178571
65
0.596965
murrekatt
53e8dcc8d314722520672a285b7e97015e48a5c7
480
cpp
C++
13.TemplateLibrary/UserTemplateLibrary/3.Iterator/genitrtrtest.cpp
amitpingale92/PG-DAC-C-Plus-Plus
c36f8c3b426287e2c7a8825bb4acbca28d4abe5e
[ "MIT" ]
null
null
null
13.TemplateLibrary/UserTemplateLibrary/3.Iterator/genitrtrtest.cpp
amitpingale92/PG-DAC-C-Plus-Plus
c36f8c3b426287e2c7a8825bb4acbca28d4abe5e
[ "MIT" ]
null
null
null
13.TemplateLibrary/UserTemplateLibrary/3.Iterator/genitrtrtest.cpp
amitpingale92/PG-DAC-C-Plus-Plus
c36f8c3b426287e2c7a8825bb4acbca28d4abe5e
[ "MIT" ]
null
null
null
#include "simplelist.h" #include "interval.h" #include <iostream> using namespace Generic; using namespace std; int main(void) { SimpleList<Interval> store; store.AddElement(Interval(7, 31)); store.AddElement(Interval(4, 52)); store.AddElement(Interval(5, 43)); store.AddElement(Interval(3, 24)); store.AddElemen...
15
77
0.664583
amitpingale92
53ec2d17b7d4bf274114cbf3546e7372aef3a710
1,162
cpp
C++
OwNetClient/helpers/listofstringpairs.cpp
OwNet/qtownet
bcddc85401a279e850f269cdd14e2d08dff5e02e
[ "MIT" ]
2
2016-09-28T02:23:07.000Z
2019-07-13T15:53:47.000Z
OwNetClient/helpers/listofstringpairs.cpp
OwNet/qtownet
bcddc85401a279e850f269cdd14e2d08dff5e02e
[ "MIT" ]
null
null
null
OwNetClient/helpers/listofstringpairs.cpp
OwNet/qtownet
bcddc85401a279e850f269cdd14e2d08dff5e02e
[ "MIT" ]
null
null
null
#include "listofstringpairs.h" #include "jsondocument.h" ListOfStringPairs::ListOfStringPairs() : QList< QPair<QString, QString> >() { } void ListOfStringPairs::insert(const QString &key, const QString &value) { QPair<QString, QString> pair(key, value); append(pair); } void ListOfStringPairs::insertOrRep...
24.723404
81
0.640275
OwNet
53f1a82fa2a873cc76a28af5db285d63d669f847
32
cpp
C++
test/headers/error.cpp
Felspar/poll
432fc51e244fd3281695ad339cd2d09d3e33a36b
[ "BSL-1.0" ]
3
2022-02-21T03:01:09.000Z
2022-03-24T04:34:29.000Z
test/headers/error.cpp
Felspar/io
432fc51e244fd3281695ad339cd2d09d3e33a36b
[ "BSL-1.0" ]
null
null
null
test/headers/error.cpp
Felspar/io
432fc51e244fd3281695ad339cd2d09d3e33a36b
[ "BSL-1.0" ]
null
null
null
#include <felspar/io/error.hpp>
16
31
0.75
Felspar
53fbe519f54ac0793aeb26458b5c2805f7fc3237
18,131
hpp
C++
pulsar/math/MathSet.hpp
pulsar-chem/BPModule
f8e64e04fdb01947708f098e833600c459c2ff0e
[ "BSD-3-Clause" ]
null
null
null
pulsar/math/MathSet.hpp
pulsar-chem/BPModule
f8e64e04fdb01947708f098e833600c459c2ff0e
[ "BSD-3-Clause" ]
null
null
null
pulsar/math/MathSet.hpp
pulsar-chem/BPModule
f8e64e04fdb01947708f098e833600c459c2ff0e
[ "BSD-3-Clause" ]
null
null
null
/* * File: MathSet.hpp * Original Author: Ryan Richard <ryanmrichard1@gmail.com> * * Created on January 22, 2016, 11:11 AM */ #pragma once #include "pulsar/exception/Assert.hpp" #include "pulsar/math/Universe.hpp" #include "pulsar/util/IterTools.hpp" #include <iterator> namespace pulsar{ template<typename T,t...
30.523569
82
0.629971
pulsar-chem
d87e4b15d8b21f7a60432634548d64bcee931bb2
607
cpp
C++
compiler/src/ast/ast_modbase_codegen.cpp
TuplexLanguage/tuplex
fc436c78224522663e40e09d36f83570fd76ba2d
[ "Apache-2.0" ]
15
2017-08-15T20:46:44.000Z
2021-12-15T02:51:13.000Z
compiler/src/ast/ast_modbase_codegen.cpp
TuplexLanguage/tuplex
fc436c78224522663e40e09d36f83570fd76ba2d
[ "Apache-2.0" ]
null
null
null
compiler/src/ast/ast_modbase_codegen.cpp
TuplexLanguage/tuplex
fc436c78224522663e40e09d36f83570fd76ba2d
[ "Apache-2.0" ]
1
2017-09-28T14:48:15.000Z
2017-09-28T14:48:15.000Z
#include "ast_modbase.hpp" #include "ast_entitydecls.hpp" #include "llvm_generator.hpp" using namespace llvm; void TxParsingUnitNode::code_gen( LlvmGenerationContext& context ) const { TRACE_CODEGEN( this, context ); this->module->code_gen( context ); } void TxModuleNode::code_gen( LlvmGenerationContext& c...
24.28
74
0.642504
TuplexLanguage
d88482f0fa0f184a20781482b962aed57ce0bc23
1,961
cpp
C++
libraries/gloxor/src/graphics.cpp
CarboSauce/Gloxor
fc9f5c56866f8c3e85f844d37a1faa9e9ef4c856
[ "MIT" ]
4
2021-07-14T20:24:24.000Z
2021-07-16T06:49:48.000Z
libraries/gloxor/src/graphics.cpp
CarboSauce/Gloxor
fc9f5c56866f8c3e85f844d37a1faa9e9ef4c856
[ "MIT" ]
null
null
null
libraries/gloxor/src/graphics.cpp
CarboSauce/Gloxor
fc9f5c56866f8c3e85f844d37a1faa9e9ef4c856
[ "MIT" ]
null
null
null
#include "gloxor/graphics.hpp" #include <cstdint> const extern uint8_t fontBitmap[]; constexpr int scaleX = 2; constexpr int scaleY = 2; constexpr int fontWidth = 8 * scaleX; constexpr int fontHeight = 14 * scaleY; namespace glox { void framebuffer::putPixel(int x, int y, rgb_t color) { fbBeg[y * pitch +...
24.5125
102
0.501275
CarboSauce
d886b2c65a588eca9ee8f3305b8c28e15d15ddf4
1,389
hpp
C++
headers/Delegate.hpp
Asphox/SISL
fdfd532e7342336cf54a343f72812761eab5bf16
[ "MIT" ]
4
2017-06-29T12:49:51.000Z
2021-04-28T16:48:44.000Z
headers/Delegate.hpp
Asphox/SISL
fdfd532e7342336cf54a343f72812761eab5bf16
[ "MIT" ]
null
null
null
headers/Delegate.hpp
Asphox/SISL
fdfd532e7342336cf54a343f72812761eab5bf16
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////// // // SISL - An other SIgnals SLots library // Copyright (C) 2017-2018 SOTON "Asphox" Dylan (dylan.soton@telecom-sudparis.eu) // //////////////////////////////////////////////////////////// #ifndef SISL_DELEGATE_HPP #define SISL_DELEGATE_HPP #incl...
21.369231
82
0.573794
Asphox
d888785845625b3e7120be72c7be451da56a0e33
8,769
cpp
C++
trie/trie.cpp
xmcy0011/cpp-dirtyfilter
2d2c9a69198b4676ab7a2897ea174b57effb9957
[ "MIT" ]
3
2022-01-21T04:09:49.000Z
2022-03-15T15:35:20.000Z
trie/trie.cpp
xmcy0011/cpp-dirtyfilter
2d2c9a69198b4676ab7a2897ea174b57effb9957
[ "MIT" ]
null
null
null
trie/trie.cpp
xmcy0011/cpp-dirtyfilter
2d2c9a69198b4676ab7a2897ea174b57effb9957
[ "MIT" ]
2
2021-10-09T15:18:23.000Z
2022-02-16T11:44:28.000Z
/** @file trie.h * @brief trie树算法实现的敏感词过滤 * * Trie 树原理及其敏感词过滤的实现: https://www.jianshu.com/p/9919244dd7ad * wildfirechat: https://github.com/wildfirechat/server/blob/wildfirechat/broker/src/main/java/win/liyufan/im/SensitiveFilter.java * trie: https://github.com/r-lyeh-archived/trie/blob/master/trie.hpp * ...
27.064815
131
0.538032
xmcy0011
d888e6cb56be33424389002bc67c3065148e0c16
14,460
cpp
C++
Blizzlike/Trinity/Scripts/Other/item_scripts.cpp
499453466/Lua-Other
43fd2b72405faf3f2074fd2a2706ef115d16faa6
[ "Unlicense" ]
2
2015-06-23T16:26:32.000Z
2019-06-27T07:45:59.000Z
Blizzlike/Trinity/Scripts/Other/item_scripts.cpp
Eduardo-Silla/Lua-Other
db610f946dbcaf81b3de9801f758e11a7bf2753f
[ "Unlicense" ]
null
null
null
Blizzlike/Trinity/Scripts/Other/item_scripts.cpp
Eduardo-Silla/Lua-Other
db610f946dbcaf81b3de9801f758e11a7bf2753f
[ "Unlicense" ]
3
2015-01-10T18:22:59.000Z
2021-04-27T21:28:28.000Z
/* * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software ...
33.785047
194
0.605878
499453466
d89125ee5368c246f30467fdbabed969c6a2392a
3,816
cpp
C++
LibTDE/SignalData.cpp
ebragge/LibTDE
af3b16e7166cf66d5c96a5c9587cca2ba28c6a7d
[ "BSD-3-Clause" ]
6
2016-01-28T10:45:22.000Z
2022-02-22T07:19:40.000Z
LibTDE/SignalData.cpp
AlfonsoDR/LibTDE
af3b16e7166cf66d5c96a5c9587cca2ba28c6a7d
[ "BSD-3-Clause" ]
null
null
null
LibTDE/SignalData.cpp
AlfonsoDR/LibTDE
af3b16e7166cf66d5c96a5c9587cca2ba28c6a7d
[ "BSD-3-Clause" ]
3
2017-11-11T16:00:12.000Z
2021-06-19T21:10:24.000Z
#include "pch.h" #include "SignalData.h" using namespace TimeDelayEstimation; SignalData::SignalData(const std::vector<SignalType>* channel0, const std::vector<SignalType>* channel1, bool copyData) : m_copy(copyData), m_min(0), m_max(min(channel0->size(),channel1->size())), m_alignment(0) { if (copyDat...
29.8125
135
0.635744
ebragge
d8922e71872378a1d278356e660dbc33a567c5e6
1,611
cpp
C++
intuit_09.cpp
gurleen-kaur1313/6Companies30Days
7e789173dfad08039ca908fbec18cab1a74b4d5f
[ "MIT" ]
null
null
null
intuit_09.cpp
gurleen-kaur1313/6Companies30Days
7e789173dfad08039ca908fbec18cab1a74b4d5f
[ "MIT" ]
null
null
null
intuit_09.cpp
gurleen-kaur1313/6Companies30Days
7e789173dfad08039ca908fbec18cab1a74b4d5f
[ "MIT" ]
null
null
null
/* problem link: https://leetcode.com/problems/pacific-atlantic-water-flow/ */ class Solution { public: bool isValid(int m , int n , int x, int y){ if(x<0||x>=m || y<0||y>=n)return false; return true; } void dfs(vector<vector<int>>& heights, vector<vector<bool>>& visited, int x ,int y){...
25.571429
88
0.428305
gurleen-kaur1313
d896768a15992e731231d19fa221ba67e27adba5
507
hpp
C++
src/MenuController.hpp
adileo/rpg-game-cpp
f43f231b0bdb7f4618ece8174d08cf26ab3125c6
[ "MIT" ]
null
null
null
src/MenuController.hpp
adileo/rpg-game-cpp
f43f231b0bdb7f4618ece8174d08cf26ab3125c6
[ "MIT" ]
null
null
null
src/MenuController.hpp
adileo/rpg-game-cpp
f43f231b0bdb7f4618ece8174d08cf26ab3125c6
[ "MIT" ]
null
null
null
/* * MenuController.hpp * * Created on: 18 giu 2016 * Author: adileobarone * * Si occupa di instanziare il menù di gioco iniziale utilizzabile trabite I/O * */ #ifndef MENUCONTROLLER_HPP_ #define MENUCONTROLLER_HPP_ #include <iostream> #include "GameManager.hpp" #include "lib/easylogging++.hpp" using n...
15.363636
78
0.721893
adileo
d897ebeceeb9bc6dc3029a1b476a99bc2e053d0d
677
hpp
C++
project/include/Math/Vec4.hpp
smbss1/Foxecs
88b271b3614c4cefffa3f3bd7530d48698edea46
[ "MIT" ]
null
null
null
project/include/Math/Vec4.hpp
smbss1/Foxecs
88b271b3614c4cefffa3f3bd7530d48698edea46
[ "MIT" ]
null
null
null
project/include/Math/Vec4.hpp
smbss1/Foxecs
88b271b3614c4cefffa3f3bd7530d48698edea46
[ "MIT" ]
null
null
null
#pragma once class Vec4 { public: Vec4() : x(0.0f), y(0.0f), z(0.0f), w(0.0f) {} Vec4(float x, float y, float z) : x(x), y(y), z(z), w(0.0f) {} Vec4(float x, float y, float z, float w) : x(x), y(y), z(z), w(w) {} Vec4 operator+(Vec4 const& v) const { return Vec4( x + v.x, y + v.y, z + v.z,...
11.283333
41
0.454948
smbss1
d89e487c8fd753bdbe29856a9658db08c740f766
4,146
cxx
C++
MITK/Modules/CoreIO/Internal/niftkLabelMapWriter.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
13
2018-07-28T13:36:38.000Z
2021-11-01T19:17:39.000Z
MITK/Modules/CoreIO/Internal/niftkLabelMapWriter.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
null
null
null
MITK/Modules/CoreIO/Internal/niftkLabelMapWriter.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
10
2018-08-20T07:06:00.000Z
2021-07-07T07:55:27.000Z
/*============================================================================= NifTK: A software platform for medical image computing. Copyright (c) University College London (UCL). All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY o...
26.240506
105
0.561264
NifTK
d89efcc780d96c773dca19db77824bd617e7a0c2
700
hpp
C++
bsengine/src/bstorm/path_const.hpp
At-sushi/bstorm
156036afd698d98f0ed67f0efa6bc416115806f7
[ "MIT" ]
null
null
null
bsengine/src/bstorm/path_const.hpp
At-sushi/bstorm
156036afd698d98f0ed67f0efa6bc416115806f7
[ "MIT" ]
null
null
null
bsengine/src/bstorm/path_const.hpp
At-sushi/bstorm
156036afd698d98f0ed67f0efa6bc416115806f7
[ "MIT" ]
null
null
null
#pragma once namespace bstorm { constexpr wchar_t* FREE_PLAYER_DIR = L"script/player"; constexpr wchar_t* DEFAULT_SYSTEM_PATH = L"script/default_system/Default_System.txt"; constexpr wchar_t* DEFAULT_ITEM_DATA_PATH = L"resource/script/Default_ItemData.txt"; constexpr wchar_t* DEFAULT_PACKAGE_PATH = L"resource/script/...
46.666667
92
0.842857
At-sushi
d89f7872feeebeadef858584d43ab369b8ef7e38
3,331
cpp
C++
QScreenshot/SignInDialog.cpp
dbautsch/QScreenshot
80fc3113a342eb4498d8f24aa77230a0d8bbc170
[ "MIT" ]
2
2018-04-10T06:32:26.000Z
2021-04-23T14:50:04.000Z
QScreenshot/SignInDialog.cpp
dbautsch/QScreenshot
80fc3113a342eb4498d8f24aa77230a0d8bbc170
[ "MIT" ]
2
2016-06-10T12:55:45.000Z
2016-07-08T14:25:48.000Z
QScreenshot/SignInDialog.cpp
dbautsch/QScreenshot
80fc3113a342eb4498d8f24aa77230a0d8bbc170
[ "MIT" ]
1
2018-12-07T06:02:24.000Z
2018-12-07T06:02:24.000Z
/*! * Copyright (c) 2016 Dawid Bautsch dawid.bautsch@gmail.com * 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 COPYRIGHT * HO...
23.624113
118
0.697688
dbautsch
d8acc3eb4c4dfbadbc2ad56f0803e151ed9ef77e
704
cpp
C++
employee/testadmin.cpp
AKoudounis/refactored-journey
81719c57104f14b141f0f7cd2aa805f9007ed79e
[ "MIT" ]
null
null
null
employee/testadmin.cpp
AKoudounis/refactored-journey
81719c57104f14b141f0f7cd2aa805f9007ed79e
[ "MIT" ]
null
null
null
employee/testadmin.cpp
AKoudounis/refactored-journey
81719c57104f14b141f0f7cd2aa805f9007ed79e
[ "MIT" ]
null
null
null
#include<iostream> #include “adminstaff.h” using namespace std; int main() { AdminStaff emp(45565, “A.B”, 500, 12.0); // input data emp.setAddress(“1455 Maisonneuve, Montreal”); emp.setPhone(“514-123-11111”); emp.setEmail(“emp@concordia.ca”); emp.print(); ...
28.16
75
0.549716
AKoudounis
d8af92be630406d6381cf44c7200438822a7678d
18,233
cpp
C++
src/ContextAndroid.cpp
rekola/canvas
eabaaa7ae84548bf7d747152d64f4381c9277fee
[ "MIT" ]
28
2015-12-23T02:19:58.000Z
2022-01-22T00:52:11.000Z
src/ContextAndroid.cpp
modulesio/canvas
03c52b2301841083c9b70e91c572680cccd10522
[ "MIT" ]
89
2015-12-23T01:35:24.000Z
2019-02-18T20:24:16.000Z
src/ContextAndroid.cpp
avaer/canvas
03c52b2301841083c9b70e91c572680cccd10522
[ "MIT" ]
7
2016-11-11T04:46:10.000Z
2022-01-29T03:48:36.000Z
#include "ContextAndroid.h" #include <errno.h> #include <cassert> using namespace std; using namespace canvas; AndroidCache::AndroidCache(JNIEnv * myEnv, jobject _assetManager) { myEnv->GetJavaVM(&javaVM); assetManager = myEnv->NewGlobalRef(_assetManager); frameClass = (jclass) myEnv->NewGlobalRef(myEnv->Fin...
52.094286
266
0.744419
rekola
d8afecdce14cf72fd1e5f47692459a197de1ffa8
1,144
cpp
C++
Common/MapReduce_Customs/ii.cpp
luciolas/MapReduceCpp
aa47b1f4b3838ff26fb94583920c4aa9b9921828
[ "MIT" ]
1
2022-03-23T17:00:57.000Z
2022-03-23T17:00:57.000Z
Common/MapReduce_Customs/ii.cpp
luciolas/MapReduceCpp
aa47b1f4b3838ff26fb94583920c4aa9b9921828
[ "MIT" ]
null
null
null
Common/MapReduce_Customs/ii.cpp
luciolas/MapReduceCpp
aa47b1f4b3838ff26fb94583920c4aa9b9921828
[ "MIT" ]
null
null
null
#include "ii.h" #include <algorithm> #include <unordered_map> std::vector<KeyValue> iimapF(const std::string& doc, const std::string& bytes) { std::vector<std::string> words{}; std::vector<KeyValue> result{}; words.reserve(1 << 16); StringSplit(&words, bytes, isLetter); for (auto& word : words) ...
23.833333
109
0.570804
luciolas
d8b75be022d51dd77a267b0b69961519d354f939
773
cpp
C++
source/TestMain.cpp
cloudy-astrophysics/cloudy_lfs
aed1d6d78042b93f17ea497a37b35a524f3d3e2e
[ "Zlib" ]
null
null
null
source/TestMain.cpp
cloudy-astrophysics/cloudy_lfs
aed1d6d78042b93f17ea497a37b35a524f3d3e2e
[ "Zlib" ]
null
null
null
source/TestMain.cpp
cloudy-astrophysics/cloudy_lfs
aed1d6d78042b93f17ea497a37b35a524f3d3e2e
[ "Zlib" ]
null
null
null
/* This file is part of Cloudy and is copyright (C)1978-2019 by Gary J. Ferland and * others. For conditions of distribution and use see copyright notice in license.txt */ #include "cdstd.h" #include <fenv.h> #include <UnitTest++.h> #include <TestReporterStdout.h> #include "cddefines.h" #include "ran.h" int main () ...
33.608696
89
0.734799
cloudy-astrophysics
d8b8bd39320e6630117b0452f3954336e0f2108b
531
hpp
C++
include/hmm_h/shuttleFuns.hpp
stanley-rozell/hmm
21dc000961b960a5e1fbf66cb11e74c4e1532ad2
[ "Apache-2.0" ]
null
null
null
include/hmm_h/shuttleFuns.hpp
stanley-rozell/hmm
21dc000961b960a5e1fbf66cb11e74c4e1532ad2
[ "Apache-2.0" ]
12
2021-03-09T23:04:14.000Z
2021-05-17T16:02:29.000Z
include/hmm_h/shuttleFuns.hpp
stanley-rozell/hmm
21dc000961b960a5e1fbf66cb11e74c4e1532ad2
[ "Apache-2.0" ]
null
null
null
// // shuttleFuns.hpp // hmm // // Created by Adam Willats on 2/27/19. // Copyright © 2019 Adam Willats. All rights reserved. // #ifndef shuttleFuns_hpp #define shuttleFuns_hpp #include <stdio.h> #include "printFuns.hpp" //template <typename T> //std::vector<T> array2vec(T*,int); std::vector<int> array2vec(int*...
18.310345
55
0.696798
stanley-rozell
d8befaff4f571818bd096824efe5ba4b31884149
32,455
cpp
C++
src/ofApp.cpp
ReillyGregorio/Tank
4754428f12536e6e67ae61ee48daaa83a821dc34
[ "MIT" ]
null
null
null
src/ofApp.cpp
ReillyGregorio/Tank
4754428f12536e6e67ae61ee48daaa83a821dc34
[ "MIT" ]
null
null
null
src/ofApp.cpp
ReillyGregorio/Tank
4754428f12536e6e67ae61ee48daaa83a821dc34
[ "MIT" ]
null
null
null
#include "ofApp.h" #include <vector> //-------------------------------------------------------------- void ofApp::setup(){ sun1.setPointLight(); sun.setRadius(90); sun2.setPointLight(); sun3.setRadius(90); bound.set(50,50,20); sky.setRadius(5000); skyimg.loadImage("bluecloud_up.jpg"); ...
31.663415
111
0.361547
ReillyGregorio
d8c3bd366edc0c5278a9f715ca0e9db36510bcc9
5,773
cpp
C++
source/TaskManagerPrefs.cpp
ocerman/TaskManager
7e0273c2eac2bd8670a1faec4dded8ba6ac19305
[ "Apache-2.0" ]
3
2015-07-29T03:16:00.000Z
2020-10-12T17:40:59.000Z
source/TaskManagerPrefs.cpp
radtek/TaskManager-1
4fd44eaa83d99e9314fe8f3ae10f1e9b99ea3291
[ "Apache-2.0" ]
5
2017-12-09T17:13:41.000Z
2020-03-12T18:07:33.000Z
source/TaskManagerPrefs.cpp
radtek/TaskManager-1
4fd44eaa83d99e9314fe8f3ae10f1e9b99ea3291
[ "Apache-2.0" ]
5
2017-11-30T06:07:35.000Z
2020-10-26T06:00:47.000Z
/* * Copyright 2000 by Thomas Krammer * * 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 agree...
23.46748
84
0.764594
ocerman
d8c557e18bd9329e3c5204a9aec332a66e3f053c
5,189
hxx
C++
include/prevc/pipeline/AST/unary-operation.hxx
arazeiros/prevc
378f045f57b2e1c9460ac1699951291ac055c078
[ "MIT" ]
3
2018-10-30T20:33:45.000Z
2019-03-06T11:46:31.000Z
include/prevc/pipeline/AST/unary-operation.hxx
arazeiros/prevc
378f045f57b2e1c9460ac1699951291ac055c078
[ "MIT" ]
null
null
null
include/prevc/pipeline/AST/unary-operation.hxx
arazeiros/prevc
378f045f57b2e1c9460ac1699951291ac055c078
[ "MIT" ]
null
null
null
#ifndef PREVC_PIPELINE_AST_UNARYOPERATION_HXX #define PREVC_PIPELINE_AST_UNARYOPERATION_HXX #include <prevc/error.hxx> #include <prevc/pipeline/AST/expression.hxx> namespace prevc { namespace pipeline { namespace AST { /** * \brief Represent a unary operation node in ...
39.310606
126
0.505107
arazeiros
d8d79789d5b26abfa99c76e31536ddd37816d41c
2,232
cpp
C++
Competitive Coding/Tree/Minimum Spanning Tree/Kruskal/KruskalMST.cpp
Gareeb-coder/Algorithms
22f9c71a7554a3211978c910c086e23bf1ae4c7f
[ "MIT" ]
222
2016-07-17T17:28:19.000Z
2022-03-27T02:57:39.000Z
Competitive Coding/Tree/Minimum Spanning Tree/Kruskal/KruskalMST.cpp
Gareeb-coder/Algorithms
22f9c71a7554a3211978c910c086e23bf1ae4c7f
[ "MIT" ]
197
2016-10-24T16:47:42.000Z
2021-08-29T08:12:31.000Z
Competitive Coding/Tree/Minimum Spanning Tree/Kruskal/KruskalMST.cpp
Gareeb-coder/Algorithms
22f9c71a7554a3211978c910c086e23bf1ae4c7f
[ "MIT" ]
206
2016-05-18T17:08:14.000Z
2022-01-16T04:08:47.000Z
#include <bits/stdc++.h> using namespace std; #define lli long long int #define infinite numeric_limits<int>::max() #define Min(a,b) ((a)<(b)?(a):(b)) #define Max(a,b) ((a)>(b)?(a):(b)) #define fr(i,j,s) for(i = j ; i < s ; i++) #define ifr(i,j,s) for(i = j ; i >= s , i--) struct edge { lli wt; int src; ...
20.666667
67
0.517025
Gareeb-coder
d8ddb2b2ebdd87ccd97a0f49fb58ba2dbaec8bc5
912
cpp
C++
gameSource/testFolderCache.cpp
Valaras/OneLife
0f83ffb8edf8362ff3bf0ca87a73bba21be20446
[ "Linux-OpenIB" ]
69
2018-10-05T23:29:10.000Z
2022-03-29T22:34:24.000Z
gameSource/testFolderCache.cpp
Valaras/OneLife
0f83ffb8edf8362ff3bf0ca87a73bba21be20446
[ "Linux-OpenIB" ]
62
2018-11-08T14:14:40.000Z
2022-03-01T20:38:01.000Z
gameSource/testFolderCache.cpp
Valaras/OneLife
0f83ffb8edf8362ff3bf0ca87a73bba21be20446
[ "Linux-OpenIB" ]
24
2018-10-11T09:20:27.000Z
2021-11-06T19:23:17.000Z
/* compile with g++ -g -I../.. -o testFolderCache testFolderCache.cpp folderCache.cpp \ ../../minorGems/io/file/linux/PathLinux.cpp \ ../../minorGems/formats/encodingUtils.cpp \ ../../minorGems/util/stringUtils.cpp \ ../../minorGems/system/unix/TimeUnix.cpp */ #include "folderCache.h" #include "minorGems/system/T...
21.209302
71
0.575658
Valaras
d8f87c8a1317283817d20cb6db3452cb5e4cb753
2,853
cpp
C++
src/Kernel/Service/FirmwareUpdateService.cpp
ilesar/nodemcu_neopixel_mqtt
1e585eb9d1737c3f19b38126cc35b363006285b9
[ "MIT" ]
null
null
null
src/Kernel/Service/FirmwareUpdateService.cpp
ilesar/nodemcu_neopixel_mqtt
1e585eb9d1737c3f19b38126cc35b363006285b9
[ "MIT" ]
null
null
null
src/Kernel/Service/FirmwareUpdateService.cpp
ilesar/nodemcu_neopixel_mqtt
1e585eb9d1737c3f19b38126cc35b363006285b9
[ "MIT" ]
null
null
null
#include "../Interface/FirmwareUpdateService.h" FirmwareUpdateService::FirmwareUpdateService(char *password) { _password = password; } void FirmwareUpdateService::setup() { setAuthorization(_password); setExternalRoutes(); onStart(); onEnd(); onProgress(); onError(); ArduinoOTA.begin...
23.385246
96
0.575885
ilesar
2b020805d27794fe0042a32d0458f0f35bf36ca4
5,433
cpp
C++
src/utils/nts.cpp
aligungr/ue-ran-sim
564f9d228723f03adfa2b02df2ea019bdf305085
[ "MIT" ]
16
2020-04-16T02:07:37.000Z
2020-07-23T10:48:27.000Z
src/utils/nts.cpp
aligungr/ue-ran-sim
564f9d228723f03adfa2b02df2ea019bdf305085
[ "MIT" ]
8
2020-07-13T17:11:35.000Z
2020-08-03T16:46:31.000Z
src/utils/nts.cpp
aligungr/ue-ran-sim
564f9d228723f03adfa2b02df2ea019bdf305085
[ "MIT" ]
9
2020-03-04T15:05:08.000Z
2020-07-30T06:18:18.000Z
// // This file is a part of UERANSIM open source project. // Copyright (c) 2021 ALİ GÜNGÖR. // // The software and all associated files are licensed under GPL-3.0 // and subject to the terms and conditions defined in LICENSE file. // #include "nts.hpp" #include "common.hpp" #include <stdexcept> #define WAIT_TIME_IF...
20.976834
114
0.587521
aligungr
2b02e681e1e6cc628902aaa9d435cdaf5da17a3b
259
cpp
C++
chapter3/demo2.cpp
bw-y/cpt
0d9f12ab605066429e9e7f54405cc3aa935874a1
[ "MIT" ]
null
null
null
chapter3/demo2.cpp
bw-y/cpt
0d9f12ab605066429e9e7f54405cc3aa935874a1
[ "MIT" ]
null
null
null
chapter3/demo2.cpp
bw-y/cpt
0d9f12ab605066429e9e7f54405cc3aa935874a1
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int res_row(int a){ int i; for (i = 1; i <= a; i++){ cout << i << "x" << a << "=" << i * a << "\t"; } cout << "\n"; } int main(){ int i, t; for (i = 0; i < 10; i++){ res_row(i); } return 0; }
13.631579
50
0.420849
bw-y
2b0a59b87451791edf614a068c171ecab3611594
3,800
cpp
C++
src/scene/ParticleToolModel.cpp
sophia-x/SophiaGL
be6733c0d4b6a38431db2a0e1e7dace3890a75be
[ "MIT" ]
null
null
null
src/scene/ParticleToolModel.cpp
sophia-x/SophiaGL
be6733c0d4b6a38431db2a0e1e7dace3890a75be
[ "MIT" ]
null
null
null
src/scene/ParticleToolModel.cpp
sophia-x/SophiaGL
be6733c0d4b6a38431db2a0e1e7dace3890a75be
[ "MIT" ]
null
null
null
#include <camera/Camera> #include <scene/Model> #include <scene/WindowManager> namespace gl { static bool life_compare_heap(const shared_ptr<ParticleSpirit>& a, const shared_ptr<ParticleSpirit>& b) { return a->getLife() > b->getLife(); } static bool dist_compare(const shared_ptr<ParticleSpirit>& a, const shared_pt...
35.514019
133
0.702895
sophia-x
2b13ec00d138447d7a7e9091e69ccd73caa8581f
1,895
cpp
C++
args/args_parse.cpp
zhangguolian/cpp-framework
47bdf67a9dd917fa25f4c0c1b9e57ea437967497
[ "Apache-2.0" ]
8
2019-06-06T06:20:03.000Z
2022-03-13T23:44:20.000Z
args/args_parse.cpp
Guolian-Zhang/cpp-framework
47bdf67a9dd917fa25f4c0c1b9e57ea437967497
[ "Apache-2.0" ]
null
null
null
args/args_parse.cpp
Guolian-Zhang/cpp-framework
47bdf67a9dd917fa25f4c0c1b9e57ea437967497
[ "Apache-2.0" ]
3
2019-12-02T04:06:57.000Z
2021-08-11T14:01:51.000Z
/* * * Copyright 2018 Guolian Zhang. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
24.934211
80
0.637467
zhangguolian
2b16122fc196ca05073fae94b55d9eea16d67650
325
cpp
C++
abc/abc161/d/main.cpp
wotsushi/competitive-programming
17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86
[ "MIT" ]
3
2019-06-25T06:17:38.000Z
2019-07-13T15:18:51.000Z
abc/abc161/d/main.cpp
wotsushi/competitive-programming
17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86
[ "MIT" ]
null
null
null
abc/abc161/d/main.cpp
wotsushi/competitive-programming
17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86
[ "MIT" ]
null
null
null
#include "template.hpp" int main() { ll(K); queue<ll> q; repi(i, 9) { q.push(i); } ll ans; rep(_, K) { ans = q.front(); q.pop(); ll k = ans % 10; if (k >= 1) { q.push(10 * ans + k - 1); } q.push(10 * ans + k); if (k <= 8) { q.push(10 * ans + k + 1); } } out(ans...
14.772727
31
0.393846
wotsushi
2b20bdfd870d939461e01b3615c2e1346878d459
26,548
cpp
C++
Darcy_Lights_W_ButtonsANDSOUNDPlayMem/AudioSampleBeat10.cpp
Drc3p0/InteractivePallette
d7180d43533850803a3f83d1f5f49e20e32509f5
[ "MIT" ]
1
2019-10-23T17:46:42.000Z
2019-10-23T17:46:42.000Z
Darcy_Lights_W_ButtonsANDSOUNDPlayMem/AudioSampleBeat10.cpp
Drc3p0/InteractivePallette
d7180d43533850803a3f83d1f5f49e20e32509f5
[ "MIT" ]
null
null
null
Darcy_Lights_W_ButtonsANDSOUNDPlayMem/AudioSampleBeat10.cpp
Drc3p0/InteractivePallette
d7180d43533850803a3f83d1f5f49e20e32509f5
[ "MIT" ]
null
null
null
// Audio data converted from WAV file by wav2sketch #include "AudioSampleBeat10.h" // Converted from 01.wav, using 44100 Hz, u-law encoding const unsigned int AudioSampleBeat10[2369] = { 0x01002500,0xACA69E92,0xB2B3B2B1,0xB3B1B1B1,0xBEBCB9B6,0xB3B8BCBE,0xB2ADABAF,0xC5C3C0B9, 0xC5C5C6C6,0xCBC9C7C6,0xC6C9CBCB,0xC6C4C3C...
87.042623
88
0.897808
Drc3p0
2b285fd319effba571ce4dd865505c53fe3f1c35
2,058
cpp
C++
src/plugins/wkplugins/wkplugins.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
120
2015-01-22T14:10:39.000Z
2021-11-25T12:57:16.000Z
src/plugins/wkplugins/wkplugins.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
8
2015-02-07T19:38:19.000Z
2017-11-30T20:18:28.000Z
src/plugins/wkplugins/wkplugins.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) 2006-2014 Georg Rudoy * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE...
20.376238
86
0.661322
Maledictus
2b29533b0f93950d8a9423914191c7da88c487eb
6,002
hpp
C++
hpp/aligned_allocator.hpp
volcoma/hpp
c98a79c4b5593787789e0dffd670a1fdedc7308b
[ "BSD-2-Clause" ]
1
2019-05-26T19:50:41.000Z
2019-05-26T19:50:41.000Z
hpp/aligned_allocator.hpp
volcoma/hpp
c98a79c4b5593787789e0dffd670a1fdedc7308b
[ "BSD-2-Clause" ]
null
null
null
hpp/aligned_allocator.hpp
volcoma/hpp
c98a79c4b5593787789e0dffd670a1fdedc7308b
[ "BSD-2-Clause" ]
null
null
null
#ifndef ALLIGNED_ALLOCATOR_HPP #define ALLIGNED_ALLOCATOR_HPP #include <algorithm> #include <cstddef> #include <cstdlib> #include <memory> #include <cassert> namespace hpp { void* aligned_malloc(size_t size, size_t alignment); void aligned_free(void* ptr); /** * @class aligned_allocator * @brief Allocator for alig...
29.135922
115
0.706265
volcoma
1a80e3edf85c632c20c987955b780476abf25be7
1,463
cc
C++
table/tests/index_composite_ut.cc
shampoo365/terarkdb
a05a42789b310e1a79f6b5bb2f98f78993f9fbb2
[ "Apache-2.0", "BSD-3-Clause" ]
1,658
2020-12-21T04:53:44.000Z
2022-03-30T16:16:07.000Z
table/tests/index_composite_ut.cc
shampoo365/terarkdb
a05a42789b310e1a79f6b5bb2f98f78993f9fbb2
[ "Apache-2.0", "BSD-3-Clause" ]
105
2020-12-21T09:09:55.000Z
2022-03-28T09:57:36.000Z
table/tests/index_composite_ut.cc
shampoo365/terarkdb
a05a42789b310e1a79f6b5bb2f98f78993f9fbb2
[ "Apache-2.0", "BSD-3-Clause" ]
151
2020-12-21T09:25:34.000Z
2022-03-13T08:58:37.000Z
#include <chrono> #include "index_composite_ut.h" int main_impl(int argc, char** argv) { printf("EXAGGERATE\n"); printf("/////////////// sorteduint test\n"); test_il256_il256_sorteduint(standard_ascend); test_il256_il256_sorteduint(standard_descend); test_allone_il256_sorteduint(standard_ascend)...
25.224138
56
0.725906
shampoo365
1a82d232f38ef5ac63f6617c5da8ff7a7045a5cb
14,635
hpp
C++
include/qpoint_grid.hpp
sousaw/BTE-Barna
029ca43ef096c4b725d3aeb2955bc0df9ca544a9
[ "MIT", "BSD-3-Clause" ]
5
2022-02-07T03:36:38.000Z
2022-03-25T13:11:20.000Z
include/qpoint_grid.hpp
sousaw/BTE-Barna
029ca43ef096c4b725d3aeb2955bc0df9ca544a9
[ "MIT", "BSD-3-Clause" ]
null
null
null
include/qpoint_grid.hpp
sousaw/BTE-Barna
029ca43ef096c4b725d3aeb2955bc0df9ca544a9
[ "MIT", "BSD-3-Clause" ]
null
null
null
// Copyright 2015-2022 The ALMA Project Developers // // 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 l...
37.14467
79
0.627195
sousaw
1a84f4d3ff3b8c68cfdeee86e3483282924f1f0b
3,024
cpp
C++
src/filters/eavlBoxMutator.cpp
jsmeredith/EAVL
114924a92aed4f1adfcf4f751151d9355c593944
[ "Apache-2.0", "BSD-2-Clause" ]
6
2016-12-11T21:40:00.000Z
2018-04-04T10:33:40.000Z
src/filters/eavlBoxMutator.cpp
jsmeredith/EAVL
114924a92aed4f1adfcf4f751151d9355c593944
[ "Apache-2.0", "BSD-2-Clause" ]
3
2015-02-11T20:55:01.000Z
2017-05-31T01:56:21.000Z
src/filters/eavlBoxMutator.cpp
jsmeredith/EAVL
114924a92aed4f1adfcf4f751151d9355c593944
[ "Apache-2.0", "BSD-2-Clause" ]
6
2015-05-24T06:27:45.000Z
2020-05-08T12:17:07.000Z
// Copyright 2010-2014 UT-Battelle, LLC. See LICENSE.txt for more information. #include "eavlBoxMutator.h" #include "eavlCellSetExplicit.h" #include "eavlException.h" eavlBoxMutator::eavlBoxMutator() { } eavlBoxMutator::~eavlBoxMutator() { } void eavlBoxMutator::Execute() { int inCellSetIndex = dataset->GetCe...
30.545455
95
0.475198
jsmeredith
1a853c3b9608ecbfe41b742621f49ad2fc8c8069
1,084
cc
C++
type/slice.cc
asoffer/icarus
5c9af79d1a39e14d95da1adacbdd7392908eedc5
[ "Apache-2.0" ]
null
null
null
type/slice.cc
asoffer/icarus
5c9af79d1a39e14d95da1adacbdd7392908eedc5
[ "Apache-2.0" ]
null
null
null
type/slice.cc
asoffer/icarus
5c9af79d1a39e14d95da1adacbdd7392908eedc5
[ "Apache-2.0" ]
null
null
null
#include "type/slice.h" #include <algorithm> #include "absl/strings/str_format.h" #include "base/global.h" namespace type { static base::Global<absl::node_hash_set<Slice>> cache; Slice const *Slc(Type t) { ASSERT(t.valid() == true); auto const *p = &*cache.lock()->insert(Slice(t)).first; GlobalTypeSystem.inse...
26.439024
77
0.648524
asoffer
1a8d107048738baf9ea10fea92ccc4ae2cf1eef6
1,658
cpp
C++
src/transport/backend/local/RangeServer.cpp
hpc/hxhim
1a2224a200cb5a9fae33da13720e68beb5bee746
[ "BSD-3-Clause" ]
2
2020-11-25T17:45:58.000Z
2021-12-21T02:01:16.000Z
src/transport/backend/local/RangeServer.cpp
hpc/hxhim
1a2224a200cb5a9fae33da13720e68beb5bee746
[ "BSD-3-Clause" ]
null
null
null
src/transport/backend/local/RangeServer.cpp
hpc/hxhim
1a2224a200cb5a9fae33da13720e68beb5bee746
[ "BSD-3-Clause" ]
1
2021-10-11T19:54:05.000Z
2021-10-11T19:54:05.000Z
#include <cstdio> #include <cstdlib> #include <cstring> #include "hxhim/hxhim.hpp" #include "hxhim/private/accessors.hpp" #include "transport/backend/local/RangeServer.hpp" #include "utils/Blob.hpp" #include "utils/memory.hpp" namespace Transport { namespace local { Message::Response::Response *range_server(hxhim_t ...
33.836735
116
0.6538
hpc
1a9278790b974344467865ea305ebfe1802f681a
2,272
hpp
C++
Includes/VanillaDNN/Math/Vector/Vector.hpp
jaegyeom/Vanilla-DNN
3a783bbbb7d827b82716516eca1ee9e7803804a7
[ "MIT" ]
4
2021-05-20T16:02:43.000Z
2021-10-02T02:37:06.000Z
Includes/VanillaDNN/Math/Vector/Vector.hpp
jaegyeom/Vanilla-DNN
3a783bbbb7d827b82716516eca1ee9e7803804a7
[ "MIT" ]
1
2021-05-14T18:13:28.000Z
2021-05-15T01:57:06.000Z
Includes/VanillaDNN/Math/Vector/Vector.hpp
jaegyeom/Vanilla-DNN
3a783bbbb7d827b82716516eca1ee9e7803804a7
[ "MIT" ]
2
2021-05-14T18:00:34.000Z
2021-10-31T08:23:35.000Z
#ifndef VANILLA_DNN_VECTOR_HPP #define VANILLA_DNN_VECTOR_HPP #include<vector> #include<stdexcept> #include<iostream> #include<vector> #include<cmath> #include <algorithm> #include <cstdlib> #include <ctime> template<typename T> class Matrix; template<typename T> class Vector { private: std::vector<T> vector; int ...
21.638095
74
0.653609
jaegyeom
1a941c289d9d28fda0b6773eeb6a1fb77bb9135e
1,373
cpp
C++
04-linked-list/InsertANodeAtASpecificPositionInALinkedList/InsertANodeAtASpecificPositionInALinkedList.cpp
nalidzhik/data-structures-and-algorithms
fa69061913fd773b6f2ddac4feeace625b6b9baa
[ "Apache-2.0" ]
null
null
null
04-linked-list/InsertANodeAtASpecificPositionInALinkedList/InsertANodeAtASpecificPositionInALinkedList.cpp
nalidzhik/data-structures-and-algorithms
fa69061913fd773b6f2ddac4feeace625b6b9baa
[ "Apache-2.0" ]
null
null
null
04-linked-list/InsertANodeAtASpecificPositionInALinkedList/InsertANodeAtASpecificPositionInALinkedList.cpp
nalidzhik/data-structures-and-algorithms
fa69061913fd773b6f2ddac4feeace625b6b9baa
[ "Apache-2.0" ]
null
null
null
/* * Complete the 'insertNodeAtPosition' function below. * * The function is expected to return an INTEGER_SINGLY_LINKED_LIST. * The function accepts following parameters: * 1. INTEGER_SINGLY_LINKED_LIST llist * 2. INTEGER data * 3. INTEGER position */ /* * For your reference: * * Singly...
24.517857
98
0.563729
nalidzhik
1a98d26b66436c5595f5bc806cbd5b2d786153fb
3,241
cpp
C++
src/lib/physics/2d/kernel_debrun_spiky.cpp
Fluci/GooBalls
4b68084303e66af368fd6bbf94aaec0950c9c6e3
[ "BSD-3-Clause" ]
null
null
null
src/lib/physics/2d/kernel_debrun_spiky.cpp
Fluci/GooBalls
4b68084303e66af368fd6bbf94aaec0950c9c6e3
[ "BSD-3-Clause" ]
null
null
null
src/lib/physics/2d/kernel_debrun_spiky.cpp
Fluci/GooBalls
4b68084303e66af368fd6bbf94aaec0950c9c6e3
[ "BSD-3-Clause" ]
null
null
null
#include "kernel_debrun_spiky.hpp" #include "generic/eigen.hpp" #include <iostream> namespace GooBalls { namespace d2 { namespace Physics { void DebrunSpiky::setH(Float h) { m_h = h; m_A1d = 2/std::pow(m_h, 4); m_A2d = 10.0/M_PI/std::pow(h, 5);; } void DebrunSpiky::compute1d( const Coordinates1d...
30.28972
102
0.598889
Fluci
1a99488fb993c7f309991b8760b7db869f11f2dd
590
hpp
C++
Main course/Homework4/Problem2/Header files/Object.hpp
nia-flo/FMI-OOP
9d6ab384b5b7a48e76965ca5bff1e6a995b1bcba
[ "MIT" ]
null
null
null
Main course/Homework4/Problem2/Header files/Object.hpp
nia-flo/FMI-OOP
9d6ab384b5b7a48e76965ca5bff1e6a995b1bcba
[ "MIT" ]
null
null
null
Main course/Homework4/Problem2/Header files/Object.hpp
nia-flo/FMI-OOP
9d6ab384b5b7a48e76965ca5bff1e6a995b1bcba
[ "MIT" ]
null
null
null
#pragma once #include "Comparable.hpp" #include "Debug.hpp" #include "Serializable.hpp" class Object : public Comparable, public Debug, public Serializable { public: Object(const std::string& name, const std::string& location, const std::string& extension); std::string get_name() const; std::string get_location(...
21.071429
92
0.730508
nia-flo
1a9e9fb5b9b93e87d24d49988b70f48f0121aad1
128
cpp
C++
tensorflow-yolo-ios/dependencies/eigen/failtest/block_on_const_type_actually_const_0.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
27
2017-06-07T19:07:32.000Z
2020-10-15T10:09:12.000Z
tensorflow-yolo-ios/dependencies/eigen/failtest/block_on_const_type_actually_const_0.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
3
2017-08-25T17:39:46.000Z
2017-11-18T03:40:55.000Z
tensorflow-yolo-ios/dependencies/eigen/failtest/block_on_const_type_actually_const_0.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
10
2017-06-16T18:04:45.000Z
2018-07-05T17:33:01.000Z
version https://git-lfs.github.com/spec/v1 oid sha256:b75858ed52d328dae0e5d29dcf258d42c226b61bc62c50bb344a90c40ea99884 size 262
32
75
0.882813
initialz
1aa7f939d8a193dba0485f19e68c9178d7dfc8e7
904
cpp
C++
897. Increasing Order Search Tree/main.cpp
dllexport/leetcode
a0cfd5d759daa36fec808b2dbe19c045d218ed76
[ "MIT" ]
null
null
null
897. Increasing Order Search Tree/main.cpp
dllexport/leetcode
a0cfd5d759daa36fec808b2dbe19c045d218ed76
[ "MIT" ]
null
null
null
897. Increasing Order Search Tree/main.cpp
dllexport/leetcode
a0cfd5d759daa36fec808b2dbe19c045d218ed76
[ "MIT" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: TreeNode* increasingBST(TreeNode* root) { preOrderTraval(root); for(auto i : a...
22.04878
59
0.504425
dllexport
1aa981845b647597b54b8010a5db6cc4d9c366cd
13,935
cpp
C++
Ouroboros/Source/oGUI/msgbox.cpp
igHunterKiller/ouroboros
5e2cde7e6365341da297da10d8927b091ecf5559
[ "MIT" ]
null
null
null
Ouroboros/Source/oGUI/msgbox.cpp
igHunterKiller/ouroboros
5e2cde7e6365341da297da10d8927b091ecf5559
[ "MIT" ]
null
null
null
Ouroboros/Source/oGUI/msgbox.cpp
igHunterKiller/ouroboros
5e2cde7e6365341da297da10d8927b091ecf5559
[ "MIT" ]
null
null
null
// Copyright (c) 2016 Antony Arciuolo. See License.txt regarding use. #include <oCore/countof.h> #include <oGUI/msgbox.h> #include <oGUI/cursor.h> #include <oGUI/notification_area.h> #include <oGUI/Windows/oWinDialog.h> #include <oGUI/Windows/oWinRect.h> #include <oGUI/Windows/oWinWindowing.h> #include <oSystem/window...
28.094758
238
0.700466
igHunterKiller
1aaba2ba17d8c32434fa58dae4a7a4dc3a9312ab
1,557
cpp
C++
src/homework/tic_tac_toe/tic_tac_toe_manager.cpp
acc-cosc-1337-spring-2020/acc-cosc-1337-spring-2020-Naziaislam91
cc72163a5c49c144b06eb40e21462befa252721a
[ "MIT" ]
null
null
null
src/homework/tic_tac_toe/tic_tac_toe_manager.cpp
acc-cosc-1337-spring-2020/acc-cosc-1337-spring-2020-Naziaislam91
cc72163a5c49c144b06eb40e21462befa252721a
[ "MIT" ]
null
null
null
src/homework/tic_tac_toe/tic_tac_toe_manager.cpp
acc-cosc-1337-spring-2020/acc-cosc-1337-spring-2020-Naziaislam91
cc72163a5c49c144b06eb40e21462befa252721a
[ "MIT" ]
null
null
null
#include "tic_tac_toe_manager.h" #include "tic_tac_toe_3.h" #include "tic_tac_toe_data.h" #include "tic_tac_toe_4.h" #include "tic_tac_toe.h" #include<iostream> #include<string> //cpp /*TicTacToeManager::TicTacToeManager(TicTacToeData & data) { games = data.get_games(); //confused for (auto &game : games) { u...
15.887755
81
0.595376
acc-cosc-1337-spring-2020
1aad67a85aaee6f851f8b07db0eb9a0a02c20f18
5,630
cpp
C++
op_utilities/nodes/op_hmi_bridge/SocketServer.cpp
marcusvinicius178/core_planning
1e9f6c211d902dd5a9d99d0cbf9df4726a7c6739
[ "Apache-2.0" ]
1
2021-12-25T15:50:31.000Z
2021-12-25T15:50:31.000Z
op_utilities/nodes/op_hmi_bridge/SocketServer.cpp
marcusvinicius178/core_planning
1e9f6c211d902dd5a9d99d0cbf9df4726a7c6739
[ "Apache-2.0" ]
null
null
null
op_utilities/nodes/op_hmi_bridge/SocketServer.cpp
marcusvinicius178/core_planning
1e9f6c211d902dd5a9d99d0cbf9df4726a7c6739
[ "Apache-2.0" ]
null
null
null
/* * SocketServer.cpp * * Created on: Feb 13, 2017 * Author: user */ #include "SocketServer.h" #include <string.h> namespace HMI_BRIDGE_NS { HMISocketServer::HMISocketServer() { m_Socket_send = 0; m_Socket_receive = 0; sock_mutex_send = PTHREAD_MUTEX_INITIALIZER; sock_mutex_receive = PTHREAD_MUTEX_IN...
21.007463
102
0.673179
marcusvinicius178
1ab8b746a99a0407ae06a26db0a7e73da5ca0d66
12,635
cpp
C++
Code/PowerUp.cpp
ofaura/AndroDunos
98a8d54443df0bb3f9bd2b3ceb2017b3dafda489
[ "MIT" ]
2
2018-05-17T21:41:48.000Z
2018-12-27T21:46:00.000Z
Code/PowerUp.cpp
ofaura/AndroDunos
98a8d54443df0bb3f9bd2b3ceb2017b3dafda489
[ "MIT" ]
2
2018-05-15T19:03:18.000Z
2018-06-25T11:28:04.000Z
Code/PowerUp.cpp
ofaura/AndroDunos
98a8d54443df0bb3f9bd2b3ceb2017b3dafda489
[ "MIT" ]
null
null
null
#include "Application.h" #include "PowerUp.h" #include "ModuleCollision.h" #include "ModuleParticles.h" #include "ModuleEnemies.h" #include "ModulePlayer.h" #include "ModuleTextures.h" #include "ModuleRender.h" #include "ModuleShield.h" #include "ModuleShield_p2.h" #include "ModuleAudio.h" #include "ModulePlayer.h" #in...
24.726027
115
0.610922
ofaura
1ab9293575380b2e977369f68a61931f2a684789
988
hpp
C++
include/z8kSequencer.hpp
spectromas/RackPlugins
6c42eb5676b17acc201e625341655a37d413a8fe
[ "CC0-1.0" ]
1
2021-12-12T22:09:17.000Z
2021-12-12T22:09:17.000Z
include/z8kSequencer.hpp
spectromas/RackPlugins
6c42eb5676b17acc201e625341655a37d413a8fe
[ "CC0-1.0" ]
null
null
null
include/z8kSequencer.hpp
spectromas/RackPlugins
6c42eb5676b17acc201e625341655a37d413a8fe
[ "CC0-1.0" ]
1
2021-12-13T22:12:47.000Z
2021-12-13T22:12:47.000Z
#pragma once struct Z8K; struct z8kSequencer { public: void Init(Input *pRst, Input *pDir, Input *pClk, Output *pOut, Light *pLights, std::vector<Param> &params, std::vector<int> steps) { curStep = 0; pReset = pRst; pDirection = pDir; pClock = pClk; pOutput = pOut; numSteps = steps.size(); for(int k = ...
18.296296
131
0.648785
spectromas
1ac2562fedab45e7f4af9023db33134979132aa1
11,979
cpp
C++
s3/s3fs/gnutls_auth.cpp
murlock/irods_resource_plugin_s3
5b7fa3f3cf373900828454147226a225791e97a5
[ "BSD-3-Clause" ]
null
null
null
s3/s3fs/gnutls_auth.cpp
murlock/irods_resource_plugin_s3
5b7fa3f3cf373900828454147226a225791e97a5
[ "BSD-3-Clause" ]
null
null
null
s3/s3fs/gnutls_auth.cpp
murlock/irods_resource_plugin_s3
5b7fa3f3cf373900828454147226a225791e97a5
[ "BSD-3-Clause" ]
null
null
null
/* * s3fs - FUSE-based file system backed by Amazon S3 * * Copyright(C) 2007 Randy Rizun <rrizun@gmail.com> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the Li...
25.984816
141
0.623508
murlock
1ac3058d16b421793ec151c81009155a4c5af3db
3,635
cpp
C++
HelperFunctions/getVkViewport.cpp
dkaip/jvulkan-natives-Linux-x86_64
ea7932f74e828953c712feea11e0b01751f9dc9b
[ "Apache-2.0" ]
null
null
null
HelperFunctions/getVkViewport.cpp
dkaip/jvulkan-natives-Linux-x86_64
ea7932f74e828953c712feea11e0b01751f9dc9b
[ "Apache-2.0" ]
null
null
null
HelperFunctions/getVkViewport.cpp
dkaip/jvulkan-natives-Linux-x86_64
ea7932f74e828953c712feea11e0b01751f9dc9b
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019-2020 Douglas Kaip * * 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 t...
28.849206
80
0.49381
dkaip
1ac8de29fd47019c64532e6ad97c5ff09145ce35
2,758
cpp
C++
src/engine/ResourceManager.cpp
Streetwalrus/WalrusRPG
53d88ef36ca1b2c169b5755dd95ac2c5626b91f5
[ "MIT" ]
12
2015-06-30T19:38:06.000Z
2017-11-27T20:26:32.000Z
src/engine/ResourceManager.cpp
Pokespire/pokespire
53d88ef36ca1b2c169b5755dd95ac2c5626b91f5
[ "MIT" ]
18
2015-06-26T01:44:48.000Z
2016-07-01T16:26:17.000Z
src/engine/ResourceManager.cpp
Pokespire/pokespire
53d88ef36ca1b2c169b5755dd95ac2c5626b91f5
[ "MIT" ]
1
2016-12-12T05:15:46.000Z
2016-12-12T05:15:46.000Z
#include "ResourceManager.h" #include "Logger.h" #include "TINYSTL/unordered_map.h" using namespace WalrusRPG; /*::ResourceManager*/ using namespace WalrusRPG::Logger; using WalrusRPG::PIAF::Archive; using tinystl::unordered_map; ManagedArchive::ManagedArchive(const char *path) : path(path), arc(ResourceManager:...
24.846847
78
0.583394
Streetwalrus
1acbc5948aad29f5472ffbf503bd45f1ab1d0d8f
1,386
cpp
C++
test/DiGraph_Test.cpp
CalebCintary/pyplot_cpp
de33c3e921229e5efd72a7fc4fdb17212edc9aa9
[ "MIT" ]
1
2022-03-29T10:52:21.000Z
2022-03-29T10:52:21.000Z
test/DiGraph_Test.cpp
CalebCintary/pyplot_cpp
de33c3e921229e5efd72a7fc4fdb17212edc9aa9
[ "MIT" ]
1
2022-03-20T12:17:11.000Z
2022-03-20T17:50:12.000Z
test/DiGraph_Test.cpp
CalebCintary/pyplot_cpp
de33c3e921229e5efd72a7fc4fdb17212edc9aa9
[ "MIT" ]
1
2022-03-29T19:40:59.000Z
2022-03-29T19:40:59.000Z
// // Created by lavr4 on 3/24/2022. // #include <boost/test/unit_test.hpp> #include "pyplot_cpp/DiGraph.hpp" #include "pyplot_cpp/plt/Properties.hpp" BOOST_AUTO_TEST_SUITE(DiGraph_Test) BOOST_AUTO_TEST_CASE(DiGraph_EmptyShow_Test) { pyplot_cpp::DiGraph graph; graph.setTitle("Simple DiGraph");...
25.2
60
0.616162
CalebCintary
1ad06d3ed55c91b0db13ee06513842e51f7b98e5
110
cpp
C++
src/intersim/rng_wrapper.cpp
beneslami/Multi-GPU
89101177a29a0f238fa85671943f2f584e82a815
[ "Apache-2.0" ]
null
null
null
src/intersim/rng_wrapper.cpp
beneslami/Multi-GPU
89101177a29a0f238fa85671943f2f584e82a815
[ "Apache-2.0" ]
null
null
null
src/intersim/rng_wrapper.cpp
beneslami/Multi-GPU
89101177a29a0f238fa85671943f2f584e82a815
[ "Apache-2.0" ]
null
null
null
#include "rng.hpp" #define main rng_main #include "rng.cpp" long ran_next( ) { return ran_arr_next( ); }
11
26
0.672727
beneslami
1adcb4ad1a2f42160dc3d3f7718d3c348b219861
1,122
cpp
C++
LeetCode Problem-Set/56. Merge Intervals (Medium)/Solution1.cpp
ankuralld5999/LeetCode-Problems
2f9a767a0effbb2a50672e102925fbbb65034083
[ "FSFAP" ]
2
2021-01-06T20:43:59.000Z
2021-01-11T15:42:59.000Z
LeetCode Problem-Set/56. Merge Intervals (Medium)/Solution1.cpp
ankuralld5999/LeetCode-Problems
2f9a767a0effbb2a50672e102925fbbb65034083
[ "FSFAP" ]
null
null
null
LeetCode Problem-Set/56. Merge Intervals (Medium)/Solution1.cpp
ankuralld5999/LeetCode-Problems
2f9a767a0effbb2a50672e102925fbbb65034083
[ "FSFAP" ]
null
null
null
// Problem: https://leetcode.com/problems/merge-intervals/ // Author: https://github.com/ankuralld5999 class Solution { public: vector<int> makeInterval(int intervalStart, int intervalEnd) { vector<int> interval(2); interval[0] = intervalStart; interval[1] = intervalEnd; return inter...
36.193548
84
0.579323
ankuralld5999
1addf6ac93a6f89a5e138fed5f8bdad2a478715f
1,354
cpp
C++
Strings/23. AnagramSearch.cpp
sohamnandi77/Cpp-Data-Structures-And-Algorithm
f29a14760964103a5b58cfff925cd8f7ed5aa6c1
[ "MIT" ]
2
2021-05-21T17:10:02.000Z
2021-05-29T05:13:06.000Z
Strings/23. AnagramSearch.cpp
sohamnandi77/Cpp-Data-Structures-And-Algorithm
f29a14760964103a5b58cfff925cd8f7ed5aa6c1
[ "MIT" ]
null
null
null
Strings/23. AnagramSearch.cpp
sohamnandi77/Cpp-Data-Structures-And-Algorithm
f29a14760964103a5b58cfff925cd8f7ed5aa6c1
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; const int CHAR = 256; bool areAnagram(string &pat, string &txt, int i) { int count[CHAR] = {0}; for (int j = 0; j < pat.length(); j++) { count[pat[j]]++; count[txt[i + j]]--; } for (int j = 0; j < CHAR; j++) { if...
19.623188
53
0.477105
sohamnandi77
1adfb03a9dbb41d74401b4f83a296f94ad9297ea
3,040
cpp
C++
temp-sensor.cpp
ThomasZehnder/low-noise-heating-arduino-2021
015e204b7e00fa49f123bd199dd9a256188788ce
[ "MIT" ]
null
null
null
temp-sensor.cpp
ThomasZehnder/low-noise-heating-arduino-2021
015e204b7e00fa49f123bd199dd9a256188788ce
[ "MIT" ]
3
2020-10-18T17:04:21.000Z
2020-10-18T17:08:19.000Z
temp-sensor.cpp
ThomasZehnder/low-noise-heating-arduino-2021
015e204b7e00fa49f123bd199dd9a256188788ce
[ "MIT" ]
null
null
null
// Include the libraries we need #include "Arduino.h" #include "temp-sensor.hpp" #include "Wire.h" #include "OneWire.h" #include "low-noise-heater-defines.hpp" OneWire ds(DS18B20_PIN); // maximum sensors on the bus #define M 4 // actual sensors detected byte m = 0; // addresses byte addr[M][8]; //temp for asynch...
16.888889
72
0.596053
ThomasZehnder
1ae1a653fc768b1331201778daa42c02471ea6c7
499
cpp
C++
CoreTests/Script/Test_ScriptScalarMath.cpp
azhirnov/GraphicsGenFramework-modular
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
12
2017-12-23T14:24:57.000Z
2020-10-02T19:52:12.000Z
CoreTests/Script/Test_ScriptScalarMath.cpp
azhirnov/ModularGraphicsFramework
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
null
null
null
CoreTests/Script/Test_ScriptScalarMath.cpp
azhirnov/ModularGraphicsFramework
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) Zhirnov Andrey. For more information see 'LICENSE.txt' #include "CoreTests/Script/Common.h" static void TestScalar_Sin (ScriptEngine *se) { const char script[] = R"#( float main () { float f = Sin( 3.14f ); return f; } )#"; float res = 0; se->Run( script, "main", OUT res ); const f...
15.59375
72
0.643287
azhirnov
1ae32440010aab2a940f83ebcd7073fd7420d027
24,854
cpp
C++
Picfeature/Pic.cpp
akamoon/imageLab
7a15ec725b56da7e458805495695c12a95d717a1
[ "MIT" ]
null
null
null
Picfeature/Pic.cpp
akamoon/imageLab
7a15ec725b56da7e458805495695c12a95d717a1
[ "MIT" ]
null
null
null
Picfeature/Pic.cpp
akamoon/imageLab
7a15ec725b56da7e458805495695c12a95d717a1
[ "MIT" ]
null
null
null
//#include <QCoreApplication> #include "include1\linear.h" #include "include1\pic.h" #include "direct.h" #include "include1\charactercut.h" #include "include1\imagecrop.h" #include "include1\backnotes.h" //-----------暂时不知道用处的变量定义,先保留不重构--------------- unsigned char *image2; unsigned char *image3; unsigned char *image...
29.378251
148
0.45039
akamoon
1af0593611ef5dd919c40973c2b4d568f64a280b
19,119
cpp
C++
LeapMotion/LeapMotionInputService/m+mLeapMotionInputListener.cpp
opendragon/Core_MPlusM
c82bb00761551a86abe50c86e0df1f247704c848
[ "BSD-3-Clause" ]
null
null
null
LeapMotion/LeapMotionInputService/m+mLeapMotionInputListener.cpp
opendragon/Core_MPlusM
c82bb00761551a86abe50c86e0df1f247704c848
[ "BSD-3-Clause" ]
null
null
null
LeapMotion/LeapMotionInputService/m+mLeapMotionInputListener.cpp
opendragon/Core_MPlusM
c82bb00761551a86abe50c86e0df1f247704c848
[ "BSD-3-Clause" ]
null
null
null
//-------------------------------------------------------------------------------------------------- // // File: m+mLeapMotionInputListener.cpp // // Project: m+m // // Contains: The class definition for a Leap Motion listener. // // Written by: Norman Jaffe // // Copyright: (c) 2014 by H Plus Technolo...
38.314629
100
0.529996
opendragon
8c2473b193efca03afd512ebac1eb07c0733213e
659
hpp
C++
Microsoft.O365.Security.Native.ETW/Conversions.hpp
jdu2600/krabsetw
4ae6e5b01c1ae2d7621e942f7c76449a1b36a3b1
[ "MIT" ]
207
2016-10-26T22:53:49.000Z
2019-04-24T02:58:18.000Z
Microsoft.O365.Security.Native.ETW/Conversions.hpp
jdu2600/krabsetw
4ae6e5b01c1ae2d7621e942f7c76449a1b36a3b1
[ "MIT" ]
88
2019-06-06T23:50:21.000Z
2022-02-17T09:06:03.000Z
Microsoft.O365.Security.Native.ETW/Conversions.hpp
jdu2600/krabsetw
4ae6e5b01c1ae2d7621e942f7c76449a1b36a3b1
[ "MIT" ]
70
2019-05-15T04:56:26.000Z
2022-03-26T08:24:02.000Z
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #pragma once #include <type_traits> using namespace System; using namespace System::Runtime::InteropServices; namespace Microsoft::O365::Security::ETW { // Converts...
24.407407
101
0.710167
jdu2600
8c2e12b5e0ea77f377267e9c5f550bd6e966ae3b
2,683
cpp
C++
src/plugins/legacy/itkINRDataImageWriter/itkINRDataImageWriter.cpp
dmargery/medInria-public
c232dbdf9353e14ec6e5184349ef1e523def0b76
[ "BSD-4-Clause" ]
61
2015-04-14T13:00:50.000Z
2022-03-09T22:22:18.000Z
src/plugins/legacy/itkINRDataImageWriter/itkINRDataImageWriter.cpp
dmargery/medInria-public
c232dbdf9353e14ec6e5184349ef1e523def0b76
[ "BSD-4-Clause" ]
510
2016-02-03T13:28:18.000Z
2022-03-23T10:23:44.000Z
src/plugins/legacy/itkINRDataImageWriter/itkINRDataImageWriter.cpp
mathildemerle/medInria-public
e8c517ef6263c1d98a62b79ca7aad30a21b61094
[ "BSD-4-Clause", "BSD-1-Clause" ]
36
2015-03-03T22:58:19.000Z
2021-12-28T18:19:23.000Z
/*========================================================================= medInria Copyright (c) INRIA 2013 All rights reserved. See LICENSE.txt for details in the root of the sources or: https://github.com/medInria/medInria-public/blob/master/LICENSE.txt This software is distributed WITHOUT ANY WARRANTY; wit...
31.940476
107
0.565412
dmargery
8c2f2ff67065b7bd618ff08ef8915ea7bab7b2b3
2,851
hpp
C++
atomicpp/RateCoefficient.hpp
TBody/atomicpp
1c5fd4d280bfc0da9162babf7766943bd6611fc2
[ "MIT" ]
2
2017-09-27T11:07:42.000Z
2018-06-27T09:22:38.000Z
atomicpp/RateCoefficient.hpp
TBody/atomicpp
1c5fd4d280bfc0da9162babf7766943bd6611fc2
[ "MIT" ]
null
null
null
atomicpp/RateCoefficient.hpp
TBody/atomicpp
1c5fd4d280bfc0da9162babf7766943bd6611fc2
[ "MIT" ]
null
null
null
#ifndef RATECOEFFICIENT_H #define RATECOEFFICIENT_H #include <string> #include <vector> #include <array> #include "ExternalModules/json.hpp" using json = nlohmann::json; #include "Spline/BivariateBSpline.hpp" namespace atomicpp{ class RateCoefficient{ // # For storing the RateCoefficients encoded in an Op...
41.926471
124
0.696247
TBody
8c3af866544f2075f558dc18b74b0b7bdaf7b566
412
hpp
C++
src/pilo/core/datetime/tickcount_simu_thread.hpp
picofox/pilo
59e12c947307d664c4ca9dcc232b481d06be104a
[ "MIT" ]
1
2019-07-31T06:44:46.000Z
2019-07-31T06:44:46.000Z
src/pilo/core/datetime/tickcount_simu_thread.hpp
picofox/pilo
59e12c947307d664c4ca9dcc232b481d06be104a
[ "MIT" ]
null
null
null
src/pilo/core/datetime/tickcount_simu_thread.hpp
picofox/pilo
59e12c947307d664c4ca9dcc232b481d06be104a
[ "MIT" ]
null
null
null
#pragma once #include "core/coredefs.hpp" #ifndef WINDOWS extern volatile pilo::u64_t __glb_tick_count; extern volatile int __glb_tick_count_simulative_thread_started; pilo::u64_t __GetMillisecondTickCount(); #define PiloGetTickCount64() (__glb_tick_count_simulative_thread_started ? __glb_tick_count : __GetMilliseco...
27.466667
123
0.830097
picofox
8c3f228752da10525d05e7bf23ebe8704b5daa26
6,866
cpp
C++
LiberoEngine/src/Libero/Components/SkyDomeRenderComponent.cpp
Kair0z/LiberoEngine3D
84c5f75251f19330da9a490587bbf0911bdb681a
[ "MIT" ]
null
null
null
LiberoEngine/src/Libero/Components/SkyDomeRenderComponent.cpp
Kair0z/LiberoEngine3D
84c5f75251f19330da9a490587bbf0911bdb681a
[ "MIT" ]
null
null
null
LiberoEngine/src/Libero/Components/SkyDomeRenderComponent.cpp
Kair0z/LiberoEngine3D
84c5f75251f19330da9a490587bbf0911bdb681a
[ "MIT" ]
null
null
null
#include "Liber_pch.h" #include "SkyDomeRenderComponent.h" #include "Libero/Graphics/Mesh.h" #include "Libero/Graphics/Skydome/SkyDome.h" #include "Libero/Graphics/GraphicsMaster.h" #include "Libero/Graphics/CameraMaster.h" #include "Libero/Components/CameraComponent.h" #include "Libero/Components/TransformComponent.h"...
29.852174
129
0.75284
Kair0z
8c401c23ef411ae5b046e99df0f43784f5c66d09
546
cpp
C++
BitMasking/IncredibleHulkProb.cpp
abhijay94/CompetitiveProgramming
ba1f05c189750a49ab9f69b10d2aafa60baa4310
[ "Apache-2.0" ]
null
null
null
BitMasking/IncredibleHulkProb.cpp
abhijay94/CompetitiveProgramming
ba1f05c189750a49ab9f69b10d2aafa60baa4310
[ "Apache-2.0" ]
null
null
null
BitMasking/IncredibleHulkProb.cpp
abhijay94/CompetitiveProgramming
ba1f05c189750a49ab9f69b10d2aafa60baa4310
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; void setBitsCount(int a) { int count = 0; while (a > 0) { count++; a = a & (a - 1); } cout << count << endl; } int main() { #ifndef ONLINE_JUDGE freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout); #endif ios_base::...
16.058824
39
0.479853
abhijay94
8c461612d270fd140156c355d1b8e079b50f681e
5,038
cpp
C++
sabramov_task_3/func_sim/func_sim.cpp
MIPT-ILab/mipt-mips-old-branches
a4e17025999b15d423601cf38a84234c5c037b33
[ "MIT" ]
1
2018-03-04T21:28:20.000Z
2018-03-04T21:28:20.000Z
sabramov_task_3/func_sim/func_sim.cpp
MIPT-ILab/mipt-mips-old-branches
a4e17025999b15d423601cf38a84234c5c037b33
[ "MIT" ]
null
null
null
sabramov_task_3/func_sim/func_sim.cpp
MIPT-ILab/mipt-mips-old-branches
a4e17025999b15d423601cf38a84234c5c037b33
[ "MIT" ]
null
null
null
/** * func_sim.cpp - simulator of MIPS CPU * @author Semyon Abramov <semyon.abramov.mipt@gmail.com> * 2014 - 2015 iLab project: MIPT - MIPS */ //Generic C++ #include<iostream> //Generic uArchSim modules #include"func_sim.h" /** * MIPS class methods */ MIPS::MIPS() { this->rf = new RF; ...
21.347458
121
0.599444
MIPT-ILab
8c482faeeb7b4b8847e9badd3a6fc68cb5f33e94
3,608
hpp
C++
include/codegen/include/GlobalNamespace/SongPreviewPlayer.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/GlobalNamespace/SongPreviewPlayer.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/GlobalNamespace/SongPreviewPlayer.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.MonoBehaviour #include "UnityEngine/MonoBeh...
35.372549
146
0.701774
Futuremappermydud
8c48e14482c3de8d8b8784711a637b2a1db29be1
5,220
cpp
C++
src/widgets/ImageButton.cpp
ndickson/UICommon
29a04e503e5e05594f5637f563b9f54417d4181e
[ "MIT" ]
null
null
null
src/widgets/ImageButton.cpp
ndickson/UICommon
29a04e503e5e05594f5637f563b9f54417d4181e
[ "MIT" ]
null
null
null
src/widgets/ImageButton.cpp
ndickson/UICommon
29a04e503e5e05594f5637f563b9f54417d4181e
[ "MIT" ]
null
null
null
#include "widgets/ImageButton.h" #include "MainWindow.h" #include <bmp/BMP.h> #include <bmp/sRGB.h> OUTER_NAMESPACE_BEGIN UICOMMON_LIBRARY_NAMESPACE_BEGIN const UIBoxClass ImageButton::staticType(ImageButton::initClass()); ImageButton::ImageButton( const char* upImageFilename, const char* hoverImageFilename, cons...
29
115
0.708429
ndickson
8c4b66bbf3dd8e66651020611f1a16697ae468d3
2,328
cpp
C++
1062.cpp
jaemin2682/BAEKJOON_ONLINE_JUDGE
0d5c6907baee61e1fabdbcd96ea473079a9475ed
[ "MIT" ]
null
null
null
1062.cpp
jaemin2682/BAEKJOON_ONLINE_JUDGE
0d5c6907baee61e1fabdbcd96ea473079a9475ed
[ "MIT" ]
null
null
null
1062.cpp
jaemin2682/BAEKJOON_ONLINE_JUDGE
0d5c6907baee61e1fabdbcd96ea473079a9475ed
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include <set> #include <algorithm> #include <map> using namespace std; int n, k; vector<string> list; //각 단어의 필요한 알파벳 모음 set<char> alpha; //필요한 알파벳들의 총 모음 int main() { cin.sync_with_stdio(0); cin.tie(0); cin >> n >> k; for(int i=0;i<n;i++) { ...
30.233766
89
0.513316
jaemin2682