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
b7a2291a31d70d84763718c23e391fcdb7d8469d
9,277
cpp
C++
libraries/ble/nRF51822/nRF51Gap.cpp
hakehuang/mbed
04b488dcc418f0317cdee1781b27a59295909c77
[ "Apache-2.0" ]
null
null
null
libraries/ble/nRF51822/nRF51Gap.cpp
hakehuang/mbed
04b488dcc418f0317cdee1781b27a59295909c77
[ "Apache-2.0" ]
null
null
null
libraries/ble/nRF51822/nRF51Gap.cpp
hakehuang/mbed
04b488dcc418f0317cdee1781b27a59295909c77
[ "Apache-2.0" ]
null
null
null
/* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
32.550877
138
0.580899
hakehuang
b7a632f86ef61b3ab9248b0dcd9ff5aa8c92fdd7
576
cpp
C++
677A.cpp
dipubiswas1303/codeforces_solve
ccfa55ca42e8e1504d72fc02f84ea1717f4f1f79
[ "MIT" ]
null
null
null
677A.cpp
dipubiswas1303/codeforces_solve
ccfa55ca42e8e1504d72fc02f84ea1717f4f1f79
[ "MIT" ]
null
null
null
677A.cpp
dipubiswas1303/codeforces_solve
ccfa55ca42e8e1504d72fc02f84ea1717f4f1f79
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; /* NAME : DIPU BISWAS JUST CSE 2019 - 2020 PROBLEM CODE : 677A LINK : https://codeforces.com/problemset/problem/677/A */ int main() { int x, y, i = 0, c = 0; cin >> x >> y; int a[x]; for(i = 0; i < x; i++){ cin >> a[i]; if(a[i...
16.457143
57
0.357639
dipubiswas1303
b7a858254d54382b197ec86da4c36537e668ab86
4,475
cpp
C++
Source/Exporter.cpp
Myles-Trevino/Frustum
b5faea151d68996378eb485dc6a5bbd788b0fd22
[ "Apache-2.0" ]
2
2020-08-10T23:26:24.000Z
2020-08-20T02:10:47.000Z
Source/Exporter.cpp
Myles-Trevino/Frustum
b5faea151d68996378eb485dc6a5bbd788b0fd22
[ "Apache-2.0" ]
1
2021-03-10T15:39:44.000Z
2021-03-11T15:44:43.000Z
Source/Exporter.cpp
Myles-Trevino/Frustum
b5faea151d68996378eb485dc6a5bbd788b0fd22
[ "Apache-2.0" ]
null
null
null
/* Copyright Myles Trevino Licensed under the Apache License, Version 2.0 https://www.apache.org/licenses/LICENSE-2.0 */ #include "Exporter.hpp" #include <iostream> #include <filesystem> #include <assimp/Exporter.hpp> #include <assimp/scene.h> #include "Constants.hpp" #include "Utilities.hpp" #include "Frustum.h...
27.96875
86
0.701899
Myles-Trevino
b7a877530164b0fbbaf6e4486afc67ff770615ca
3,222
cpp
C++
aws-cpp-sdk-ssm/source/model/PatchDeploymentStatus.cpp
ploki/aws-sdk-cpp
17074e3e48c7411f81294e2ee9b1550c4dde842c
[ "Apache-2.0" ]
1
2020-07-16T19:03:13.000Z
2020-07-16T19:03:13.000Z
aws-cpp-sdk-ssm/source/model/PatchDeploymentStatus.cpp
ploki/aws-sdk-cpp
17074e3e48c7411f81294e2ee9b1550c4dde842c
[ "Apache-2.0" ]
18
2018-05-15T16:41:07.000Z
2018-05-21T00:46:30.000Z
aws-cpp-sdk-ssm/source/model/PatchDeploymentStatus.cpp
ploki/aws-sdk-cpp
17074e3e48c7411f81294e2ee9b1550c4dde842c
[ "Apache-2.0" ]
1
2019-10-31T11:19:50.000Z
2019-10-31T11:19:50.000Z
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
33.915789
96
0.660149
ploki
b7ac5c51508791f40a6a5558360e4e1b8d2d2a02
346
cpp
C++
c++/day04/68.cpp
msoild/sword-to-offer
6c15c78ad773da0b66cb76c9e01292851aca45c5
[ "MIT" ]
null
null
null
c++/day04/68.cpp
msoild/sword-to-offer
6c15c78ad773da0b66cb76c9e01292851aca45c5
[ "MIT" ]
null
null
null
c++/day04/68.cpp
msoild/sword-to-offer
6c15c78ad773da0b66cb76c9e01292851aca45c5
[ "MIT" ]
null
null
null
class Solution { //没有 0 , 没有n -1 public: int getMissingNumber(vector<int>& nums) { if(nums.empty()) return 0; int l = 0, r = nums.size() -1; while(l < r) { int mid = l + r >> 1; if(nums[mid] != mid) r = mid; else l = mid + 1; } r...
21.625
45
0.401734
msoild
b7afb81b60739c85111e5a05900d58f146b2dfe5
755
cpp
C++
srcs/ast/ArrayElementNode.cpp
kechigon/mylang
2a837f17afd704a0e151a4940870d4e8bf8238af
[ "MIT" ]
3
2021-02-19T06:57:10.000Z
2021-10-16T13:33:14.000Z
srcs/ast/ArrayElementNode.cpp
kechigon/klang
2a837f17afd704a0e151a4940870d4e8bf8238af
[ "MIT" ]
null
null
null
srcs/ast/ArrayElementNode.cpp
kechigon/klang
2a837f17afd704a0e151a4940870d4e8bf8238af
[ "MIT" ]
null
null
null
#include "ArrayElementNode.h" ArrayElementNode::ArrayElementNode(const char *_value, double n) { value1 = _value; num = (int)n; type = 1; } ArrayElementNode::ArrayElementNode(const char *_value1, const char *_value2) { value1 = _value1; value2 = _value2; type = 0; } ArrayElementNode *Arra...
18.414634
85
0.695364
kechigon
b7b0ae08f9e9a9cfaf08b016fba720e10734a77f
411
cpp
C++
Core/initialize.cpp
mpslxz/LDH_classifier
45f938ae670cf3c67deea6a411048e7e64c23efd
[ "MIT" ]
null
null
null
Core/initialize.cpp
mpslxz/LDH_classifier
45f938ae670cf3c67deea6a411048e7e64c23efd
[ "MIT" ]
null
null
null
Core/initialize.cpp
mpslxz/LDH_classifier
45f938ae670cf3c67deea6a411048e7e64c23efd
[ "MIT" ]
null
null
null
#include "Beamlet.h" void initialize(vector<Point> &border , int s){ int dim = 4*s - 4; for(int i=0;i<dim;i++) { Point p; if(i/(s-1) == 0) p = Point(0,i); if(i/(s-1) == 1) p = Point(i%(s-1),s-1); if(i/(s-1) == 2) p = Point(s-1,s-1-(i%(s-1))); if(i/(s-1) == ...
27.4
55
0.394161
mpslxz
5d9938fb80b60677aded1bf02bedcc18cb41f4c1
7,369
cpp
C++
Tetris AI/src/ofApp.cpp
MrRobb/Artificial-Intelligence
20451bfed1f46690ac524d3b0d6825f45a61ee75
[ "MIT" ]
15
2018-01-13T14:39:39.000Z
2022-03-18T14:42:41.000Z
Tetris AI/src/ofApp.cpp
MrRobb/Artificial-Intelligence
20451bfed1f46690ac524d3b0d6825f45a61ee75
[ "MIT" ]
4
2018-01-25T15:28:39.000Z
2018-01-25T15:32:05.000Z
Tetris AI/src/ofApp.cpp
MrRobb/Artificial-Intelligence
20451bfed1f46690ac524d3b0d6825f45a61ee75
[ "MIT" ]
6
2018-01-16T10:15:40.000Z
2021-03-25T18:34:46.000Z
#include "ofApp.h" #include "DNA.hpp" void evolve(Population& population, const vector<int>& scores) { population.calculateFitness(scores); int i = population.getBest(); vector<float> best = population[i].getValues(); // Print stats cerr << population.getAverage() << " "; cerr << population.getGenerations() <<...
24.89527
159
0.539965
MrRobb
5d9c3e5a65f458238f55d754c6154ac30d9e9cc1
1,946
cpp
C++
kattis_done/yoda.cpp
heiseish/Competitive-Programming
e4dd4db83c38e8837914562bc84bc8c102e68e34
[ "MIT" ]
5
2019-03-17T01:33:19.000Z
2021-06-25T09:50:45.000Z
kattis_done/yoda.cpp
heiseish/Competitive-Programming
e4dd4db83c38e8837914562bc84bc8c102e68e34
[ "MIT" ]
null
null
null
kattis_done/yoda.cpp
heiseish/Competitive-Programming
e4dd4db83c38e8837914562bc84bc8c102e68e34
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define forn(i, l, r) for(int i=l;i<=r;i++) #define all(v) v.begin(),v.end() #define pb push_back #define nd second #define st first #define debug(x) cout<<#x<<" -> "<<x<< endl #define rsa(x, y) memset(x, y, sizeof x); using namespace std; typedef long long ll; typedef long double l...
24.325
68
0.519013
heiseish
5d9d990614f3e9398126ce0d58bf26506be83ad7
574
cpp
C++
src/LeetCode/L122.cpp
TDYe123/Algorithm
9c7cc2b2b79db7245846affc5b263049fd866c87
[ "MIT" ]
1
2019-05-04T15:44:41.000Z
2019-05-04T15:44:41.000Z
src/LeetCode/L122.cpp
TDYe123/Algorithm
9c7cc2b2b79db7245846affc5b263049fd866c87
[ "MIT" ]
null
null
null
src/LeetCode/L122.cpp
TDYe123/Algorithm
9c7cc2b2b79db7245846affc5b263049fd866c87
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int maxProfit(vector<int>& prices) { if(prices.size() == 0) return 0; int sum = 0, left = prices[0], right = -1, count = 1; for(int i=1; i<prices.size(); i++) { if(prices[i] >= prices[i-1]) { right = prices[i]; if(i == prices.size()-1) sum += (right-left)...
19.133333
54
0.534843
TDYe123
5d9e483e3ffc413596001abd955ffa0459f3c846
4,347
cpp
C++
contrib/portable-executable-library/pe_lib/pe_dotnet.cpp
DarthTon/Polychaos
0ebe311522f278700a9182ddfe016adf205d708b
[ "MIT" ]
200
2015-01-08T17:53:43.000Z
2022-03-10T15:18:55.000Z
contrib/portable-executable-library/pe_lib/pe_dotnet.cpp
c3358/Polychaos
0ebe311522f278700a9182ddfe016adf205d708b
[ "MIT" ]
2
2019-05-01T17:22:41.000Z
2019-07-21T21:56:50.000Z
contrib/portable-executable-library/pe_lib/pe_dotnet.cpp
c3358/Polychaos
0ebe311522f278700a9182ddfe016adf205d708b
[ "MIT" ]
86
2015-01-08T19:11:32.000Z
2022-02-15T07:35:11.000Z
#include <string.h> #include "pe_dotnet.h" namespace pe_bliss { using namespace pe_win; //.NET basic_dotnet_info::basic_dotnet_info() { memset(&header_, 0, sizeof(header_)); } //Constructor from data basic_dotnet_info::basic_dotnet_info(const image_cor20_header& header) :header_(header) {} //Returns major runtime...
26.186747
160
0.809064
DarthTon
5dab4a3ea7dc61221e15a54e22265346f18331dd
4,064
cc
C++
branches/trunk/Common/spot-on-external-address.cc
textbrowser/spot-on
4cf5628bc588cf2de6bd070abfdc78401a965cc0
[ "PostgreSQL" ]
61
2015-03-21T19:39:27.000Z
2022-01-22T06:14:16.000Z
branches/trunk/Common/spot-on-external-address.cc
kalilearner/spot-on
6f2d802c87a88e3001cb8238f65b5d7253bc6f49
[ "PostgreSQL" ]
7
2016-10-18T18:26:11.000Z
2021-10-08T14:50:04.000Z
branches/trunk/Common/spot-on-external-address.cc
kalilearner/spot-on
6f2d802c87a88e3001cb8238f65b5d7253bc6f49
[ "PostgreSQL" ]
14
2016-01-16T07:59:49.000Z
2021-04-17T10:27:23.000Z
/* ** Copyright (c) 2011 - 10^10^10, Alexis Megas. ** 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, this li...
28.027586
79
0.719242
textbrowser
5dacb4cdf3888b676154542e100519c9e8ec19ec
4,150
hpp
C++
libs/foreach/test/utility.hpp
zyiacas/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
198
2015-01-13T05:47:18.000Z
2022-03-09T04:46:46.000Z
libs/foreach/test/utility.hpp
sdfict/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
9
2015-01-28T16:33:19.000Z
2020-04-12T23:03:28.000Z
libs/foreach/test/utility.hpp
sdfict/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
139
2015-01-15T20:09:31.000Z
2022-01-31T15:21:16.000Z
/////////////////////////////////////////////////////////////////////////////// // utility.hpp header file // // Copyright 2005 Eric Niebler. // 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 B...
28.819444
96
0.487229
zyiacas
5dadc55bc2fa6d56dfee5a7e6eba2778baaa4311
1,618
hpp
C++
include/filewriter/sharedqueue.hpp
walragatver/mlboard
f363c74887bb3c7a15e3950c6aca1f54cc9f73bb
[ "BSD-3-Clause" ]
10
2020-05-27T18:09:26.000Z
2021-07-15T02:58:52.000Z
include/filewriter/sharedqueue.hpp
walragatver/mlboard
f363c74887bb3c7a15e3950c6aca1f54cc9f73bb
[ "BSD-3-Clause" ]
15
2020-06-03T18:43:20.000Z
2021-02-27T22:25:10.000Z
include/filewriter/sharedqueue.hpp
walragatver/mlboard
f363c74887bb3c7a15e3950c6aca1f54cc9f73bb
[ "BSD-3-Clause" ]
6
2020-05-28T14:12:45.000Z
2022-02-03T02:24:23.000Z
/** * @file filewriter/sharedqueue.hpp * @author Jeffin Sam */ #ifndef MLBOARD_SHARED_QUEUE_HPP #define MLBOARD_SHARED_QUEUE_HPP #include <mlboard/core.hpp> namespace mlboard { /** * Class responsible to share a queue among main thread and event logger * thread. * * @tparam Datatype datatype of the elements ...
24.515152
74
0.697157
walragatver
5db73bf615bc69f9179bd17661e093b7b59da5c3
8,526
cc
C++
backend/common/graph_dependency_helper_test.cc
sgorse12/cloud-spanner-emulator
13ebb6d42867bfbc80224b4a74a896b683ae4555
[ "Apache-2.0" ]
179
2020-03-30T20:30:49.000Z
2022-03-31T04:47:55.000Z
backend/common/graph_dependency_helper_test.cc
sgorse12/cloud-spanner-emulator
13ebb6d42867bfbc80224b4a74a896b683ae4555
[ "Apache-2.0" ]
53
2020-08-31T15:14:30.000Z
2022-03-30T21:28:36.000Z
backend/common/graph_dependency_helper_test.cc
sgorse12/cloud-spanner-emulator
13ebb6d42867bfbc80224b4a74a896b683ae4555
[ "Apache-2.0" ]
26
2020-04-02T04:05:58.000Z
2022-02-22T12:05:55.000Z
// // Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to ...
33.968127
80
0.713934
sgorse12
5db7cee0980580a4178e928a468214b10bc4f2e6
238
cpp
C++
basic_concepts/working_with_variables.cpp
foxx3r/learn_cpp
ac729f7ec8b093f2df481eb5205e2b1c8eefffd2
[ "BSD-3-Clause" ]
2
2020-08-31T22:30:22.000Z
2021-05-21T01:49:41.000Z
basic_concepts/working_with_variables.cpp
foxx3r/learn_cpp
ac729f7ec8b093f2df481eb5205e2b1c8eefffd2
[ "BSD-3-Clause" ]
null
null
null
basic_concepts/working_with_variables.cpp
foxx3r/learn_cpp
ac729f7ec8b093f2df481eb5205e2b1c8eefffd2
[ "BSD-3-Clause" ]
1
2021-05-21T01:49:43.000Z
2021-05-21T01:49:43.000Z
#include <iostream> using namespace std; int main() { int a, b; int sum; cout << "Enter a number \n"; cin >> a; cout << "Enter another number \n"; cin >> b; sum = a + b; cout << "Sum is: " << sum << endl; return 0; }
14
36
0.529412
foxx3r
5db7f28893ba17a700b9ea8c3355db18c2f586a5
20,538
cpp
C++
common/qt_utility/src/UIRichTextEdit.cpp
cbtek/ThePromptMachine
27e219af8451209ced744cd8cb89d8ef73681923
[ "MIT" ]
null
null
null
common/qt_utility/src/UIRichTextEdit.cpp
cbtek/ThePromptMachine
27e219af8451209ced744cd8cb89d8ef73681923
[ "MIT" ]
null
null
null
common/qt_utility/src/UIRichTextEdit.cpp
cbtek/ThePromptMachine
27e219af8451209ced744cd8cb89d8ef73681923
[ "MIT" ]
null
null
null
/* ** Copyright (C) 2013 Jiří Procházka (Hobrasoft) ** Contact: http://www.hobrasoft.cz/ ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** $QT_BEGIN_LICENSE:LGPL$ ** GNU Lesser General Public License Usage ** This file is under the terms of the GNU Lesser ...
27.493976
96
0.688285
cbtek
5dba6f84fc49779fe66dcf093f17198b485d2c77
1,277
cpp
C++
Strings/String tricks/Longest Palindromic Substring.cpp
cenation092/InterviewBit-Solutions
ac4510a10d965fb681f7b3c80990407e18bc2668
[ "MIT" ]
7
2019-06-29T08:57:07.000Z
2021-02-13T06:43:40.000Z
Strings/String tricks/Longest Palindromic Substring.cpp
cenation092/InterviewBit-Solutions
ac4510a10d965fb681f7b3c80990407e18bc2668
[ "MIT" ]
null
null
null
Strings/String tricks/Longest Palindromic Substring.cpp
cenation092/InterviewBit-Solutions
ac4510a10d965fb681f7b3c80990407e18bc2668
[ "MIT" ]
3
2020-06-17T04:26:26.000Z
2021-02-12T04:51:40.000Z
#define watch2(x, y) cerr <<#x<<": "<<x<<" | "<<#y<<": "<<y<< endl; #define watch3(x, y, z) cerr <<#x<<": "<<x<<" | "<<#y<<": "<<y<<" | "<<#z<<": "<<z<<endl; #define hitAi ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); #define watch(x) cerr <<#x<<": "<<x<<endl; #include <vector> #include <queue> #include <map> #in...
22.403509
89
0.476116
cenation092
5dc1c7a21b868587a6e3c91e4265ce6897a21b38
7,242
cpp
C++
voxec.cpp
kenohori/voxelization_toolkit
a7ba3614840e445623ac23a58a6a00f6efdfac0a
[ "MIT" ]
null
null
null
voxec.cpp
kenohori/voxelization_toolkit
a7ba3614840e445623ac23a58a6a00f6efdfac0a
[ "MIT" ]
null
null
null
voxec.cpp
kenohori/voxelization_toolkit
a7ba3614840e445623ac23a58a6a00f6efdfac0a
[ "MIT" ]
null
null
null
// @todo erode for angle slabs // @todo finish memory mapped chunked storage and make default #include "voxec.h" voxel_operation_map::map_t& voxel_operation_map::map() { static voxel_operation_map::map_t m; static bool initialized = false; if (!initialized) { #ifdef WITH_IFC m.insert(std::make_pair(std::string("...
34.650718
126
0.661005
kenohori
5dc62021d9f59aeb20848c6823e1eaf93cb34613
2,308
cpp
C++
array/hard/123.BestTimeToBuyAndSellStockIii.cpp
XiaotaoGuo/Leetcode-Solution-In-Cpp
8e01e35c742a7afb0c8cdd228a6a5e564375434e
[ "Apache-2.0" ]
null
null
null
array/hard/123.BestTimeToBuyAndSellStockIii.cpp
XiaotaoGuo/Leetcode-Solution-In-Cpp
8e01e35c742a7afb0c8cdd228a6a5e564375434e
[ "Apache-2.0" ]
null
null
null
array/hard/123.BestTimeToBuyAndSellStockIii.cpp
XiaotaoGuo/Leetcode-Solution-In-Cpp
8e01e35c742a7afb0c8cdd228a6a5e564375434e
[ "Apache-2.0" ]
null
null
null
/* * @lc app=leetcode id=123 lang=cpp * * [123] Best Time to Buy and Sell Stock III * * https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii/description/ * * algorithms * Hard (37.26%) * Likes: 2366 * Dislikes: 78 * Total Accepted: 225K * Total Submissions: 595.7K * Testcase Example: '[...
27.807229
92
0.614818
XiaotaoGuo
5dc8d9f85b0bac78d81ce9741665feedc8f93d78
4,364
hpp
C++
src/ObjLoader.hpp
Keizaak/OpenGL-Puzzle-Game-Project
cd2bec7b422f8485514997087e35d62f6dc80e63
[ "Unlicense", "MIT" ]
3
2018-09-17T15:23:15.000Z
2020-09-13T07:42:09.000Z
src/ObjLoader.hpp
Keizaak/OpenGL-Puzzle-Game-Project
cd2bec7b422f8485514997087e35d62f6dc80e63
[ "Unlicense", "MIT" ]
null
null
null
src/ObjLoader.hpp
Keizaak/OpenGL-Puzzle-Game-Project
cd2bec7b422f8485514997087e35d62f6dc80e63
[ "Unlicense", "MIT" ]
2
2020-03-20T14:17:48.000Z
2022-03-01T08:04:40.000Z
#ifndef __GLITTER_OBJLOADER_H__ #define __GLITTER_OBJLOADER_H__ #include <glm/glm.hpp> #include <memory> #include <string> #include <unordered_map> #include <vector> #include "Image.hpp" #include "SimpleMaterial.hpp" #include "tiny_obj_loader.h" typedef unsigned int uint; /** * @brief A facade class for loading wavef...
29.890411
82
0.700046
Keizaak
5dcae1428572ae595e1ecf671761d64b012b1714
2,224
cpp
C++
src/tool/bench/usage.cpp
PeterJGeorg/pmr
e3022da0027313f947b0778188fad1a863fd7dbf
[ "Apache-2.0" ]
6
2017-01-31T10:39:36.000Z
2020-08-15T12:40:21.000Z
src/tool/bench/usage.cpp
pjgeorg/pMR
e3022da0027313f947b0778188fad1a863fd7dbf
[ "Apache-2.0" ]
null
null
null
src/tool/bench/usage.cpp
pjgeorg/pMR
e3022da0027313f947b0778188fad1a863fd7dbf
[ "Apache-2.0" ]
null
null
null
// Copyright 2016 Peter Georg // // 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 ...
45.387755
79
0.648831
PeterJGeorg
5dd2f2c950f6fad39d5f08381be8e141541d4e84
4,283
cpp
C++
ConsoleHandler/ascii_block_list.cpp
tmerge/nimgame
44d24fffcb98e84b0b5a3eb37e12c9fac62f1e9e
[ "MIT" ]
1
2017-12-10T01:41:47.000Z
2017-12-10T01:41:47.000Z
ConsoleHandler/ascii_block_list.cpp
tmerge/nimgame
44d24fffcb98e84b0b5a3eb37e12c9fac62f1e9e
[ "MIT" ]
8
2017-12-12T10:10:18.000Z
2018-01-08T19:37:52.000Z
ConsoleHandler/ascii_block_list.cpp
tmerge/nimgame
44d24fffcb98e84b0b5a3eb37e12c9fac62f1e9e
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "ascii_block_list.h" #include "console_utils.h" #include <iostream> #include <conio.h> #include <cctype> namespace console_handler { ascii_block_list::ascii_block_list(const std::string string_value, const int font_size_value, const COLOR_STRUCT foreground_color_value) : original...
30.81295
121
0.632267
tmerge
5dd4b756c365a52cd56475b69f13a6a0deb48321
8,623
hpp
C++
GameEngineV3/Test Classes/DrawPrimitives.hpp
adgalad/GameEngineV2
1aaa1a510556584e0179ad691cc42de12545abef
[ "MIT" ]
null
null
null
GameEngineV3/Test Classes/DrawPrimitives.hpp
adgalad/GameEngineV2
1aaa1a510556584e0179ad691cc42de12545abef
[ "MIT" ]
null
null
null
GameEngineV3/Test Classes/DrawPrimitives.hpp
adgalad/GameEngineV2
1aaa1a510556584e0179ad691cc42de12545abef
[ "MIT" ]
null
null
null
// // DrawPrimitives.hpp // GameEngineV3 // // Created by Carlos Spaggiari Roa on 5/5/17. // Copyright © 2017 ARSC. All rights reserved. // #ifndef DrawPrimitives_hpp #define DrawPrimitives_hpp #include "Game.hpp" #include <set> void loadDraw(); class Filler { double _angle = 0; public: Filler(){}; ...
22.812169
106
0.528122
adgalad
5ddcf3b1766e59e1c14cc0019f7cf47e7e758544
5,743
cpp
C++
libraries/plugins/account_history/account_history_plugin.cpp
f3chain/fff
707bb1f0791206fe8f1ed9d610c1b6efa34d8bab
[ "Apache-2.0" ]
null
null
null
libraries/plugins/account_history/account_history_plugin.cpp
f3chain/fff
707bb1f0791206fe8f1ed9d610c1b6efa34d8bab
[ "Apache-2.0" ]
null
null
null
libraries/plugins/account_history/account_history_plugin.cpp
f3chain/fff
707bb1f0791206fe8f1ed9d610c1b6efa34d8bab
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2015 Cryptonomex, Inc., and contributors. * * The MIT License * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the...
39.606897
155
0.685704
f3chain
5ddf6bee1d416af621e18bdf27206086582ca5fb
5,414
cpp
C++
fon9/io/SocketClientDevice.cpp
fonwin/Plan
3bfa9407ab04a26293ba8d23c2208bbececb430e
[ "Apache-2.0" ]
null
null
null
fon9/io/SocketClientDevice.cpp
fonwin/Plan
3bfa9407ab04a26293ba8d23c2208bbececb430e
[ "Apache-2.0" ]
null
null
null
fon9/io/SocketClientDevice.cpp
fonwin/Plan
3bfa9407ab04a26293ba8d23c2208bbececb430e
[ "Apache-2.0" ]
1
2022-03-24T08:46:33.000Z
2022-03-24T08:46:33.000Z
/// \file fon9/io/SocketClientDevice.cpp /// \author fonwinz@gmail.com #include "fon9/io/SocketClientDevice.hpp" #include "fon9/io/DeviceParseConfig.hpp" namespace fon9 { namespace io { SocketClientDevice::~SocketClientDevice() { } void SocketClientDevice::OpImpl_SocketClearLinking() { AsyncDnQuery_CancelAndWait(...
39.518248
109
0.682859
fonwin
5de71dd183ded50d7c32eaf331ff2936c68a696d
1,979
hpp
C++
codex.base/include/codex/io/ip/tcp/reactor_channel.hpp
codex-tk/old_ref_codex.base
4b0e36ab2efbe2bab6753a678324e872387c1388
[ "MIT" ]
null
null
null
codex.base/include/codex/io/ip/tcp/reactor_channel.hpp
codex-tk/old_ref_codex.base
4b0e36ab2efbe2bab6753a678324e872387c1388
[ "MIT" ]
null
null
null
codex.base/include/codex/io/ip/tcp/reactor_channel.hpp
codex-tk/old_ref_codex.base
4b0e36ab2efbe2bab6753a678324e872387c1388
[ "MIT" ]
null
null
null
#ifndef __codex_io_ip_tcp_reactor_channel_h__ #define __codex_io_ip_tcp_reactor_channel_h__ #include <codex/codex.hpp> #include <codex/reactor/poll_handler.hpp> #include <codex/buffer/packetizer.hpp> #include <codex/io/ip/socket_ops.hpp> namespace codex { class loop; } namespace codex { namespace io { namespace ip...
28.681159
90
0.69429
codex-tk
5dec35a3ce79ce51d1046c5ace20662fb4d32a6a
792
cpp
C++
1019/main.cpp
Heliovic/PAT_Solutions
7c5dd554654045308f2341713c3e52cc790beb59
[ "MIT" ]
2
2019-03-18T12:55:38.000Z
2019-09-07T10:11:26.000Z
1019/main.cpp
Heliovic/My_PAT_Answer
7c5dd554654045308f2341713c3e52cc790beb59
[ "MIT" ]
null
null
null
1019/main.cpp
Heliovic/My_PAT_Answer
7c5dd554654045308f2341713c3e52cc790beb59
[ "MIT" ]
null
null
null
#include <cstdio> #include <vector> using namespace std; long long N, b; vector<long long> base_num; void decimal2base() { while(N) { base_num.push_back(N % b); N /= b; } } int main() { scanf("%lld %lld", &N, &b); if (N == 0) { printf("Yes\n0"); return 0; ...
15.529412
61
0.443182
Heliovic
5df30abf882d2593894d5510a1418ee83b1eb0e5
22,504
cpp
C++
src/Main/energyContourIntegration.cpp
rdietric/lsms
8d0d5f01186abf9a1cc54db3f97f9934b422cf92
[ "BSD-3-Clause" ]
28
2020-01-05T20:05:31.000Z
2022-03-07T09:08:01.000Z
src/Main/energyContourIntegration.cpp
rdietric/lsms
8d0d5f01186abf9a1cc54db3f97f9934b422cf92
[ "BSD-3-Clause" ]
5
2021-03-17T15:16:55.000Z
2022-03-21T17:53:15.000Z
lsms/src/Main/energyContourIntegration.cpp
hkershaw-brown/MuST
9db4bc5061c2f2c4d7dfd92f53b4ef952602c070
[ "BSD-3-Clause" ]
13
2020-02-11T17:04:45.000Z
2022-03-28T09:23:46.000Z
/* -*- c-file-style: "bsd"; c-basic-offset: 2; indent-tabs-mode: nil -*- */ // this replaces zplanint from LSMS_1.9 #include <vector> #include <mpi.h> #include <complex> #include "Complex.hpp" #include "Communication/LSMSCommunication.hpp" #include "SingleSite/SingleSiteScattering.hpp" #include "MultipleScattering/Mu...
43.953125
160
0.607003
rdietric
5dfa5ec3eb2723a9d511f6e7e7e31d02be782cfc
15,625
cpp
C++
brsdk/str/uri.cpp
JerryYu512/arss
bd113d7f1ff2f09d210103cd5cc3dcc7c82f99dc
[ "MIT" ]
null
null
null
brsdk/str/uri.cpp
JerryYu512/arss
bd113d7f1ff2f09d210103cd5cc3dcc7c82f99dc
[ "MIT" ]
null
null
null
brsdk/str/uri.cpp
JerryYu512/arss
bd113d7f1ff2f09d210103cd5cc3dcc7c82f99dc
[ "MIT" ]
null
null
null
/** * MIT License * * Copyright © 2021 <wotsen>. * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software * and associated documentation files (the “Software”), to deal in the Software without * restriction, including without limitation the rights to use, copy, mod...
29.761905
98
0.439744
JerryYu512
5dfdf9da5e829c5389498e408119198c840ac049
159
cpp
C++
Stairs.cpp
shu736/First
034d0326def08fb6b104411dd3b37eb6c1e03eda
[ "MIT" ]
null
null
null
Stairs.cpp
shu736/First
034d0326def08fb6b104411dd3b37eb6c1e03eda
[ "MIT" ]
null
null
null
Stairs.cpp
shu736/First
034d0326def08fb6b104411dd3b37eb6c1e03eda
[ "MIT" ]
null
null
null
#include <stdio.h> int main() { int i,j; for (i=1;i<=6;i++) { for(j=1;j<=6;j++) { if(j<=i) printf("01"); else printf(" "); } printf("\n"); } }
9.352941
19
0.440252
shu736
b903dfacabc5f48ca13ca0e357d59596369707e4
5,441
cpp
C++
src/math/vec4.cpp
tobiasbu/raytracer
bc1db0c6aea504b2dc59520fe6245d523fb11ffa
[ "MIT" ]
3
2018-04-13T05:40:11.000Z
2022-01-03T14:43:17.000Z
src/math/vec4.cpp
tobiasbu/raytracer
bc1db0c6aea504b2dc59520fe6245d523fb11ffa
[ "MIT" ]
2
2017-08-23T19:57:02.000Z
2018-03-06T12:47:40.000Z
src/math/vec4.cpp
tobiasbu/raytracer
bc1db0c6aea504b2dc59520fe6245d523fb11ffa
[ "MIT" ]
null
null
null
#include "math/vec4.h" #include "math/vec3.h" #include "math/vec2.h" #include "render\color.h" #include "math/maths.h" const vec4 vec4::zero(0.0); vec4::vec4() : x(0), y(0), z(0), w(0) { } vec4::vec4(const vec4 & v) { x = v.x; y = v.y; z = v.z; w = v.w; } vec4::vec4(const vec2 & v) { x = v.x; y = v...
16.002941
118
0.537034
tobiasbu
b904dcebb4c77c8b0374c4c4ca0e7281b08c7c3b
667
cpp
C++
devdc80.cpp
vidit1999/coding_problems
b6c9fa7fda37d9424cd11bcd54b385fd8cf1ee0a
[ "BSD-2-Clause" ]
1
2020-02-24T18:28:48.000Z
2020-02-24T18:28:48.000Z
devdc80.cpp
vidit1999/coding_problems
b6c9fa7fda37d9424cd11bcd54b385fd8cf1ee0a
[ "BSD-2-Clause" ]
null
null
null
devdc80.cpp
vidit1999/coding_problems
b6c9fa7fda37d9424cd11bcd54b385fd8cf1ee0a
[ "BSD-2-Clause" ]
null
null
null
#include <bits/stdc++.h> using namespace std; /* The vowel substrings in the word codewarriors are o,e,a,io. The longest of these has a length of 2. Given a lowercase string that has alphabetic characters only and no spaces, return the length of the longest vowel substring. Vowels are any of aeiou. */ int longestVowe...
23
75
0.649175
vidit1999
b905302b91440ce1a62560d96a21035db92366d3
2,014
cpp
C++
src/lm/analyzers/diff_analyzer.cpp
Lolik111/meta
c7019401185cdfa15e1193aad821894c35a83e3f
[ "MIT" ]
615
2015-01-31T17:14:03.000Z
2022-03-27T03:03:02.000Z
src/lm/analyzers/diff_analyzer.cpp
Lolik111/meta
c7019401185cdfa15e1193aad821894c35a83e3f
[ "MIT" ]
167
2015-01-20T17:48:16.000Z
2021-12-20T00:15:29.000Z
src/lm/analyzers/diff_analyzer.cpp
Lolik111/meta
c7019401185cdfa15e1193aad821894c35a83e3f
[ "MIT" ]
264
2015-01-30T00:08:01.000Z
2022-03-02T17:19:11.000Z
/** * @file diff_analyzer.cpp * @author Sean Massung */ #include <string> #include <vector> #include "meta/corpus/document.h" #include "meta/lm/analyzers/diff_analyzer.h" #include "meta/analyzers/token_stream.h" namespace meta { namespace analyzers { const util::string_view diff_analyzer::id = "diff"; diff_anal...
23.694118
77
0.567031
Lolik111
b90628b8435d1f42f0c46a04be6bd8d521d36421
2,753
cpp
C++
Heap/373. Find K Pairs with Smallest Sums.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
138
2020-02-08T05:25:26.000Z
2021-11-04T11:59:28.000Z
Heap/373. Find K Pairs with Smallest Sums.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
null
null
null
Heap/373. Find K Pairs with Smallest Sums.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
24
2021-01-02T07:18:43.000Z
2022-03-20T08:17:54.000Z
/* 373. Find K Pairs with Smallest Sums You are given two integer arrays nums1 and nums2 sorted in ascending order and an integer k. Define a pair (u,v) which consists of one element from the first array and one element from the second array. Find the k pairs (u1,v1),(u2,v2) ...(uk,vk) with the smallest sums. Exam...
28.978947
109
0.527425
beckswu
b90bbac06045e3684c29b09f9ca580ebf217920d
1,771
hpp
C++
libs/core/include/fcppt/metal/maps_equal.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/metal/maps_equal.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/metal/maps_equal.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef FCPPT_METAL_MAPS_EQUAL_HPP_INCLUDED #define FCPPT_METAL_MAPS_EQUAL_HPP_INCLUDED #include ...
19.677778
72
0.678713
pmiddend
b90c0a8d9c05c8c792727a105525dbcd1ed2cd01
9,082
cc
C++
cvmfs/swissknife_diff_tool.cc
traylenator/cvmfs
c7873bf3d1586524b2c7988eb219cea065ceffbc
[ "BSD-3-Clause" ]
null
null
null
cvmfs/swissknife_diff_tool.cc
traylenator/cvmfs
c7873bf3d1586524b2c7988eb219cea065ceffbc
[ "BSD-3-Clause" ]
null
null
null
cvmfs/swissknife_diff_tool.cc
traylenator/cvmfs
c7873bf3d1586524b2c7988eb219cea065ceffbc
[ "BSD-3-Clause" ]
null
null
null
/** * This file is part of the CernVM File System. */ #define __STDC_FORMAT_MACROS #include "swissknife_diff_tool.h" #include <inttypes.h> #include <stdint.h> #include "cvmfs_config.h" #include <vector> #include "directory_entry.h" #include "download.h" #include "statistics.h" namespace swissknife { DiffTool::...
43.874396
80
0.648756
traylenator
b90ca2fb2003877a696cbf5a39981b3eb595a129
2,024
cpp
C++
src/flame/hash/hash.cpp
terrywh/php-mill
b8d6c82dcac230248f9bdcd8300e5f2de417f21f
[ "MIT" ]
45
2017-10-13T02:26:30.000Z
2021-03-28T10:07:32.000Z
src/flame/hash/hash.cpp
terrywh/php-mill
b8d6c82dcac230248f9bdcd8300e5f2de417f21f
[ "MIT" ]
1
2021-03-12T15:01:07.000Z
2021-03-16T02:42:17.000Z
src/flame/hash/hash.cpp
terrywh/php-mill
b8d6c82dcac230248f9bdcd8300e5f2de417f21f
[ "MIT" ]
17
2017-05-04T18:48:39.000Z
2021-09-11T07:04:55.000Z
#include "hash.h" #include <boost/crc.hpp> extern "C" { #include <librdkafka/rdmurmur2.h> #include <librdkafka/xxhash.h> } namespace flame::hash { template <typename INTEGER_TYPE> static php::string dec2hex(INTEGER_TYPE dec) { php::string hex(sizeof(INTEGER_TYPE) * 2); sprintf(hex....
34.896552
110
0.562747
terrywh
b90d1f5145862b8a32660f1186822e469dc633f4
966
cpp
C++
cpp/Party Game/partygame.cpp
xuzishan/Algorithm-learning-through-Problems
4aee347af6fd7fd935838e1cbea57c197e88705c
[ "MIT" ]
27
2016-11-04T09:18:25.000Z
2022-02-12T12:34:01.000Z
cpp/Party Game/partygame.cpp
Der1128/Algorithm-learning-through-Problems
4aee347af6fd7fd935838e1cbea57c197e88705c
[ "MIT" ]
1
2016-11-05T02:30:24.000Z
2016-11-16T10:21:09.000Z
cpp/Party Game/partygame.cpp
Der1128/Algorithm-learning-through-Problems
4aee347af6fd7fd935838e1cbea57c197e88705c
[ "MIT" ]
20
2016-11-04T10:26:02.000Z
2021-09-25T05:41:21.000Z
// // partygame.cpp // laboratory // // Created by 徐子珊 on 14/11/22. // Copyright (c) 2014年 xu_zishan. All rights reserved. // #include <iostream> #include <fstream> #include <vector> using namespace std; bool partyGame(vector<int> a){ int n=int(a.size()); int count=0; for (int i=0; i<n; i++) if...
22.465116
55
0.534161
xuzishan
b90e61afcd2b38153b3bddd630290b9be65bca72
3,440
hpp
C++
include/circle.hpp
magicmoremagic/bengine-kiview
c96092c1f90d729069676b31d2b1c079fddb7053
[ "MIT" ]
null
null
null
include/circle.hpp
magicmoremagic/bengine-kiview
c96092c1f90d729069676b31d2b1c079fddb7053
[ "MIT" ]
null
null
null
include/circle.hpp
magicmoremagic/bengine-kiview
c96092c1f90d729069676b31d2b1c079fddb7053
[ "MIT" ]
null
null
null
#pragma once #ifndef KIVIEW_CIRCLE_HPP_ #define KIVIEW_CIRCLE_HPP_ #include <be/core/be.hpp> #include <glm/vec2.hpp> #include <glm/mat2x2.hpp> #include <glm/gtc/constants.hpp> #include <cmath> ////////////////////////////////////////////////////////////////////////////// template <typename Consumer> void discretize_c...
41.445783
120
0.610174
magicmoremagic
b911fd81e916f3cf2926fc6b66e2943e0d1bc6d2
2,568
cpp
C++
Lumos/src/Graphics/Camera/Camera2D.cpp
rzvxa/Lumos
d1d94a8461cdfb4d52c45120c3327c772982bf2e
[ "MIT" ]
2
2020-10-21T06:52:11.000Z
2020-11-16T01:21:00.000Z
Lumos/src/Graphics/Camera/Camera2D.cpp
rzvxa/Lumos
d1d94a8461cdfb4d52c45120c3327c772982bf2e
[ "MIT" ]
null
null
null
Lumos/src/Graphics/Camera/Camera2D.cpp
rzvxa/Lumos
d1d94a8461cdfb4d52c45120c3327c772982bf2e
[ "MIT" ]
null
null
null
#include "Precompiled.h" #include "Camera2D.h" #include "Core/OS/Input.h" #include "Maths/Maths.h" #include "Camera.h" namespace Lumos { CameraController2D::CameraController2D() { m_Velocity = Maths::Vector3(0.0f); m_MouseSensitivity = 0.005f; } CameraController2D::~CameraController2D() = default; voi...
25.425743
103
0.646417
rzvxa
b9179700cb96561b8e89059bde48998a6ad9ed5e
2,496
cpp
C++
src/chess/test/move_rook_test.cpp
owengage/chess
777ba282c66ce750a1f1604483b14a99b0122eba
[ "Unlicense" ]
null
null
null
src/chess/test/move_rook_test.cpp
owengage/chess
777ba282c66ce750a1f1604483b14a99b0122eba
[ "Unlicense" ]
null
null
null
src/chess/test/move_rook_test.cpp
owengage/chess
777ba282c66ce750a1f1604483b14a99b0122eba
[ "Unlicense" ]
null
null
null
#include <gtest/gtest.h> #include <chess/Game.h> #include "game_fixture.h" namespace chess { namespace { auto constexpr wrook = Rook(Colour::white); } struct MoveRookFixture : public GameFixture { Game with_wrook_at(Loc loc) { auto b = Board::blank(); ...
26.83871
62
0.536458
owengage
2c6beed9ad89ad2fa4bca20d70da8d2cea4189ba
1,538
cc
C++
Codeforces/94 Beta Division 1/Problem B/B.cc
VastoLorde95/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
170
2017-07-25T14:47:29.000Z
2022-01-26T19:16:31.000Z
Codeforces/94 Beta Division 1/Problem B/B.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
null
null
null
Codeforces/94 Beta Division 1/Problem B/B.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
55
2017-07-28T06:17:33.000Z
2021-10-31T03:06:22.000Z
#include<cstdio> #include<iostream> #include<cmath> #include<algorithm> #include<cstring> #include<map> #include<set> #include<vector> #include<utility> #include<queue> #include<stack> #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...
19.717949
79
0.571521
VastoLorde95
2c6cd5e177027906deb604f487df184f6d10be59
9,737
cpp
C++
source/sympp/node/terminal/boolean.cpp
thiagomacg/sympp
2aa0128a4da26a071657ec0c1f03c45d110f8e6f
[ "MIT" ]
8
2020-09-29T06:12:44.000Z
2021-11-15T08:02:14.000Z
source/sympp/node/terminal/boolean.cpp
thiagomacg/sympp
2aa0128a4da26a071657ec0c1f03c45d110f8e6f
[ "MIT" ]
2
2020-10-14T21:49:46.000Z
2020-10-21T17:12:37.000Z
source/sympp/node/terminal/boolean.cpp
thiagomacg/sympp
2aa0128a4da26a071657ec0c1f03c45d110f8e6f
[ "MIT" ]
2
2020-10-14T20:19:11.000Z
2021-11-15T08:02:14.000Z
// // Created by Alan Freitas on 20/09/20. // #include "boolean.h" #include "number_interface.h" #include <sympp/core/sym_error.h> #include <sympp/node/operation/product.h> #include <sympp/node/operation/summation.h> #include <sympp/node/terminal/integer.h> #include <sympp/node/terminal/rational.h> #include <sympp/no...
37.022814
80
0.519154
thiagomacg
2c6cfded05fc55ef7b351c23ba80c856deb6529b
173
cpp
C++
pomdog/graphics/texture.cpp
mogemimi/pomdog
6dc6244d018f70d42e61c6118535cf94a9ee0618
[ "MIT" ]
163
2015-03-16T08:42:32.000Z
2022-01-11T21:40:22.000Z
pomdog/graphics/texture.cpp
mogemimi/pomdog
6dc6244d018f70d42e61c6118535cf94a9ee0618
[ "MIT" ]
17
2015-04-12T20:57:50.000Z
2020-10-10T10:51:45.000Z
pomdog/graphics/texture.cpp
mogemimi/pomdog
6dc6244d018f70d42e61c6118535cf94a9ee0618
[ "MIT" ]
21
2015-04-12T20:45:11.000Z
2022-01-14T20:50:16.000Z
// Copyright mogemimi. Distributed under the MIT license. #include "pomdog/graphics/texture.hpp" namespace pomdog { Texture::~Texture() = default; } // namespace pomdog
17.3
57
0.739884
mogemimi
2c6f585edf7f964af989982701def88c13bb7cd5
2,120
cpp
C++
TestUtility/Commands/Malloc.cpp
wouterlucas/ThunderNanoServices
e6a6658c9020c14a5a6f3b32fa265116b3e5037a
[ "Apache-2.0" ]
null
null
null
TestUtility/Commands/Malloc.cpp
wouterlucas/ThunderNanoServices
e6a6658c9020c14a5a6f3b32fa265116b3e5037a
[ "Apache-2.0" ]
null
null
null
TestUtility/Commands/Malloc.cpp
wouterlucas/ThunderNanoServices
e6a6658c9020c14a5a6f3b32fa265116b3e5037a
[ "Apache-2.0" ]
null
null
null
#include "../CommandCore/TestCommandBase.h" #include "../CommandCore/TestCommandController.h" #include "MemoryAllocation.h" namespace WPEFramework { class Malloc : public TestCommandBase { public: Malloc(const Malloc&) = delete; Malloc& operator=(const Malloc&) = delete; private: class MallocInputMetadat...
26.5
122
0.649057
wouterlucas
2c72a93822529691bb87093128c9e901992041fe
4,090
cc
C++
shell/platform/tizen/flutter_tizen_texture_registrar_unittests.cc
wanchao-xu/engine
ce3bd391da5e2c72db94dc1aef03aa38d8c0135b
[ "BSD-3-Clause" ]
null
null
null
shell/platform/tizen/flutter_tizen_texture_registrar_unittests.cc
wanchao-xu/engine
ce3bd391da5e2c72db94dc1aef03aa38d8c0135b
[ "BSD-3-Clause" ]
null
null
null
shell/platform/tizen/flutter_tizen_texture_registrar_unittests.cc
wanchao-xu/engine
ce3bd391da5e2c72db94dc1aef03aa38d8c0135b
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2021 Samsung Electronics Co., Ltd. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/tizen/flutter_tizen_texture_registrar.h" #include <Ecore.h> #include <iostream> #include "flutter/shell/platfo...
32.204724
79
0.727139
wanchao-xu
2c73526b1e098c7f8388599b1506cc871dbcaeaf
641
cc
C++
display-nosdl.cc
jdb19937/tewel
e2dc25c0998b2bf2763cd68ff66691e0c9f86928
[ "MIT" ]
null
null
null
display-nosdl.cc
jdb19937/tewel
e2dc25c0998b2bf2763cd68ff66691e0c9f86928
[ "MIT" ]
null
null
null
display-nosdl.cc
jdb19937/tewel
e2dc25c0998b2bf2763cd68ff66691e0c9f86928
[ "MIT" ]
null
null
null
#define __MAKEMORE_DISPLAY_NOSDL_CC__ 1 #include <stdio.h> #include <stdint.h> #include <assert.h> #include "youtil.hh" #include "display.hh" class SDL_Window { int x; }; class SDL_Renderer { int x; }; namespace makemore { Display::Display() { window = NULL; renderer = NULL; w = 0; h = 0; is_open = ...
12.09434
76
0.639626
jdb19937
2c74b3f6aa8663a68a0e64676554698cdd7a2da4
7,869
cpp
C++
tests/benchdnn/binary/graph_binary.cpp
wuxun-zhang/mkl-dnn
00a239ad2c932b967234ffb528069800ffcc0334
[ "Apache-2.0" ]
null
null
null
tests/benchdnn/binary/graph_binary.cpp
wuxun-zhang/mkl-dnn
00a239ad2c932b967234ffb528069800ffcc0334
[ "Apache-2.0" ]
null
null
null
tests/benchdnn/binary/graph_binary.cpp
wuxun-zhang/mkl-dnn
00a239ad2c932b967234ffb528069800ffcc0334
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright 2021-2022 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apa...
36.430556
80
0.640869
wuxun-zhang
2c785cd77a590054a95a78a608d90434759dc07b
4,881
cpp
C++
src/FoilNotesBaseModel.cpp
atlochowski/harbour-foilnotes
57f28b97ae7f4639ea12d98a61c9b4ad48288c8e
[ "BSD-3-Clause-Clear" ]
null
null
null
src/FoilNotesBaseModel.cpp
atlochowski/harbour-foilnotes
57f28b97ae7f4639ea12d98a61c9b4ad48288c8e
[ "BSD-3-Clause-Clear" ]
null
null
null
src/FoilNotesBaseModel.cpp
atlochowski/harbour-foilnotes
57f28b97ae7f4639ea12d98a61c9b4ad48288c8e
[ "BSD-3-Clause-Clear" ]
null
null
null
/* * Copyright (C) 2018-2019 Jolla Ltd. * Copyright (C) 2018-2019 Slava Monich <slava@monich.com> * * You may use this file under the terms of the BSD license as follows: * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions *...
29.227545
80
0.616267
atlochowski
2c786f701e50a31b72d4c1568a980fad384607f8
2,847
cpp
C++
src/algorithms/sort/heap_sort.cpp
Imed-Eddine-Nezzar/local
dd9c8b58e98d4b5bcbbd5e5822c11782e0590c75
[ "MIT" ]
null
null
null
src/algorithms/sort/heap_sort.cpp
Imed-Eddine-Nezzar/local
dd9c8b58e98d4b5bcbbd5e5822c11782e0590c75
[ "MIT" ]
null
null
null
src/algorithms/sort/heap_sort.cpp
Imed-Eddine-Nezzar/local
dd9c8b58e98d4b5bcbbd5e5822c11782e0590c75
[ "MIT" ]
null
null
null
#ifndef __ALGORITHMS_SORT_HEAP_SORT_HPP__ #define __ALGORITHMS_SORT_HEAP_SORT_HPP__ #include <algorithm> #include <functional> #include <iterator> namespace local { namespace algorithms { namespace sort { template < typename RandomAccessIt, class Compare = std::less<typename std::iterator...
30.612903
95
0.47594
Imed-Eddine-Nezzar
2c78f07dd651cd206cdecb4db8a8b0c228a4f277
3,292
cpp
C++
luogu.2619.cpp
woshiluo/oi
5637fb81b0e25013314783dc387f7fc93bf9d4b9
[ "Apache-2.0" ]
null
null
null
luogu.2619.cpp
woshiluo/oi
5637fb81b0e25013314783dc387f7fc93bf9d4b9
[ "Apache-2.0" ]
null
null
null
luogu.2619.cpp
woshiluo/oi
5637fb81b0e25013314783dc387f7fc93bf9d4b9
[ "Apache-2.0" ]
null
null
null
/* * luogu.2619.cpp * Copyright (C) 2021 Woshiluo Luo <woshiluo.luo@outlook.com> * * 「Two roads diverged in a wood,and I— * I took the one less traveled by, * And that has made all the difference.」 * * Distributed under terms of the GNU AGPLv3+ license. */ #include <cstdio> #include <cstdlib> #include <cstrin...
20.320988
81
0.520656
woshiluo
2c7b2db114b58e6ff3b87b6cb787bbd17639bff6
9,163
cpp
C++
Common/Configuration.cpp
skyfox69/NifUtils
47a613a066aa5c0b730331c69b08e333c65bcde9
[ "Unlicense" ]
2
2015-11-30T10:56:31.000Z
2020-12-18T22:18:34.000Z
Common/Configuration.cpp
TSelman61/NifUtils
47a613a066aa5c0b730331c69b08e333c65bcde9
[ "Unlicense" ]
null
null
null
Common/Configuration.cpp
TSelman61/NifUtils
47a613a066aa5c0b730331c69b08e333c65bcde9
[ "Unlicense" ]
4
2018-07-16T21:39:38.000Z
2021-05-30T07:07:24.000Z
#include "..\Common\stdafx.h" #include "Configuration.h" #include <iostream> #include <fstream> #include <sstream> using namespace NifUtility; Configuration::Configuration() : _matScanTag ("SkyrimHavokMaterial"), _matScanName ("SKY_HAV_"), _collMaterial (3741512247), _matHandlin...
32.150877
150
0.656444
skyfox69
2c7bc44e62e0c88e659a55244d4ccedb8f2d73ac
2,894
cpp
C++
Gems/Cesium/Code/Source/CesiumEditorSystemComponent.cpp
CesiumGS/o3de
39af04fd03b3b29f4fd9a0470a3cd60381ed88c2
[ "Apache-2.0", "MIT" ]
8
2021-08-31T02:14:19.000Z
2021-12-28T19:20:59.000Z
Gems/Cesium/Code/Source/CesiumEditorSystemComponent.cpp
CesiumGS/o3de
39af04fd03b3b29f4fd9a0470a3cd60381ed88c2
[ "Apache-2.0", "MIT" ]
8
2021-07-12T13:55:00.000Z
2021-10-04T14:53:21.000Z
Gems/Cesium/Code/Source/CesiumEditorSystemComponent.cpp
CesiumGS/o3de
39af04fd03b3b29f4fd9a0470a3cd60381ed88c2
[ "Apache-2.0", "MIT" ]
1
2021-09-16T05:06:18.000Z
2021-09-16T05:06:18.000Z
#include "CesiumEditorSystemComponent.h" #include "CesiumIonPanelWidget.h" #include "CesiumIonAssetListWidget.h" #include "MathDataWidget.h" #include <AzToolsFramework/API/ViewPaneOptions.h> #include <AzToolsFramework/API/ToolsApplicationAPI.h> #include <AzCore/Serialization/SerializeContext.h> namespace Cesium { ...
38.586667
145
0.751555
CesiumGS
2c7d045de86ae983f474443f0890e5e2225ed924
22,347
cpp
C++
src/ripple/json/impl/json_reader.cpp
MUSOChain/MUSO
6301be50a570e3f49cf941d9e4979110b5a08351
[ "BSL-1.0" ]
2
2021-03-19T06:33:52.000Z
2021-03-24T08:16:38.000Z
src/ripple/json/impl/json_reader.cpp
MUSOChain/MUSO
6301be50a570e3f49cf941d9e4979110b5a08351
[ "BSL-1.0" ]
null
null
null
src/ripple/json/impl/json_reader.cpp
MUSOChain/MUSO
6301be50a570e3f49cf941d9e4979110b5a08351
[ "BSL-1.0" ]
null
null
null
//------------------------------------------------------------------------------ /* This file is part of MUSO: https://github.com/MUSO/MUSO Copyright (c) 2012, 2013 MUSO Labs Inc. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, p...
23.13354
112
0.513894
MUSOChain
2c8081ba0fbc4f411a8ec18f930368ea07799945
7,721
cpp
C++
src/LuminoCore/src/Text/UTF8Encoding.cpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
null
null
null
src/LuminoCore/src/Text/UTF8Encoding.cpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
null
null
null
src/LuminoCore/src/Text/UTF8Encoding.cpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
null
null
null
 #include "Internal.hpp" #include "UnicodeUtils.hpp" #include "UTF8Encoding.hpp" namespace ln { //============================================================================== // UTF8Encoding const byte_t UTF8Encoding::BOM[] = { 0xEF, 0xBB, 0xBF }; const String UTF8Encoding::Name = _T("UTF-8"); UTF8E...
32.037344
162
0.534257
infinnie
2c83ff8b132b3d54d06a15ac279245fd891e6140
8,260
cpp
C++
tests/memory/memory_tests.cpp
jaller200/comp4300-project3
f2106f6acaf44a84b3cb305b7c8f345bf037efae
[ "BSL-1.0" ]
null
null
null
tests/memory/memory_tests.cpp
jaller200/comp4300-project3
f2106f6acaf44a84b3cb305b7c8f345bf037efae
[ "BSL-1.0" ]
null
null
null
tests/memory/memory_tests.cpp
jaller200/comp4300-project3
f2106f6acaf44a84b3cb305b7c8f345bf037efae
[ "BSL-1.0" ]
null
null
null
#include "catch.hpp" #include "memory/memory.hpp" #include "types.hpp" #include <iostream> TEST_CASE("Memory can be written to and read from", "[memory]") { size_t dataSize = 0x2000; size_t textSize = 0x1000; Memory memory(dataSize, textSize); REQUIRE(memory.getDataSize() == dataSize); REQUIRE(...
33.99177
93
0.622276
jaller200
2c842b547e8220708a94264572906ca5881d0fed
1,106
hpp
C++
busplan/schedule.hpp
gonmator/busplan
5845b63b16741dd0472cbba1ba028bdfdcfe0e3f
[ "MIT" ]
null
null
null
busplan/schedule.hpp
gonmator/busplan
5845b63b16741dd0472cbba1ba028bdfdcfe0e3f
[ "MIT" ]
null
null
null
busplan/schedule.hpp
gonmator/busplan
5845b63b16741dd0472cbba1ba028bdfdcfe0e3f
[ "MIT" ]
null
null
null
#pragma once #ifndef SCHEDULE_HPP #define SCHEDULE_HPP #include <cassert> #include <map> #include "fragment.hpp" class Schedule { public: void setStopCount(size_t stopCount) { maxStopCount_ = stopCount; } void addTimeLine(size_t fromIx, const TimeLine& tline) { assert(tline.size() <= maxS...
25.136364
93
0.687161
gonmator
2c86183d28406c83e987aa14affa4c63cc554ecd
2,125
cpp
C++
CSES/Geometry/Polygon Lattice Points.cpp
Harry-kp/Cp
94e687a3a5256913467f50d8f757b12640529513
[ "MIT" ]
2
2020-11-19T19:21:24.000Z
2021-04-22T10:53:16.000Z
CSES/Geometry/Polygon Lattice Points.cpp
Harry-kp/Cp
94e687a3a5256913467f50d8f757b12640529513
[ "MIT" ]
null
null
null
CSES/Geometry/Polygon Lattice Points.cpp
Harry-kp/Cp
94e687a3a5256913467f50d8f757b12640529513
[ "MIT" ]
1
2021-12-02T06:03:17.000Z
2021-12-02T06:03:17.000Z
#include <bits/stdc++.h> using namespace std; #define fastio ios_base::sync_with_stdio(0);cin.tie(0) #define MP make_pair #define EB emplace_back #define MOD 1000000007 #define int long long int #define S second #define F first #define debug1 cout << "debug1" << '\n' #define debug2 cout << "debug2" << '\n' #define deb...
18.80531
120
0.427294
Harry-kp
2c8825f2324547ea3ee3b353022961f803b373bf
1,239
cpp
C++
Source/UE4_Demo/Tester/BaseTester.cpp
flyish/UE4_Demo
6f9bcab8bb0febf94751258a9159b154350db7a3
[ "Apache-2.0" ]
null
null
null
Source/UE4_Demo/Tester/BaseTester.cpp
flyish/UE4_Demo
6f9bcab8bb0febf94751258a9159b154350db7a3
[ "Apache-2.0" ]
null
null
null
Source/UE4_Demo/Tester/BaseTester.cpp
flyish/UE4_Demo
6f9bcab8bb0febf94751258a9159b154350db7a3
[ "Apache-2.0" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "BaseTester.h" #include "../Helper/HelperBlueprintFunctionLibrary.h" // Sets default values ABaseTester::ABaseTester() : m_nMaxStep( 0 ) , m_nCurStep(0) { // Set this actor to call Tick() every frame. You can turn...
18.492537
116
0.688458
flyish
2c8c671bf2e9ace33ad8455afe2e94607236009c
9,060
cpp
C++
service/roverqmc5883l/roverqmc5883l-afb/src/roverqmc5883l-binding-auto.cpp
daleonpz/rover-services
b32699e3641fdb54561385c75472bcfb092cf1f1
[ "Apache-2.0" ]
1
2018-07-06T09:44:55.000Z
2018-07-06T09:44:55.000Z
service/roverqmc5883l/roverqmc5883l-afb/src/roverqmc5883l-binding-auto.cpp
daleonpz/rover-services
b32699e3641fdb54561385c75472bcfb092cf1f1
[ "Apache-2.0" ]
1
2018-10-26T15:29:19.000Z
2018-10-30T16:14:31.000Z
service/roverqmc5883l/roverqmc5883l-afb/src/roverqmc5883l-binding-auto.cpp
daleonpz/rover-services
b32699e3641fdb54561385c75472bcfb092cf1f1
[ "Apache-2.0" ]
1
2018-10-12T11:55:27.000Z
2018-10-12T11:55:27.000Z
/* Copyright 2018 Pedro Cuadra - pjcuadra@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
27.044776
139
0.700662
daleonpz
2c9182fede4ee8eb8472016b09f627ce3bf32db1
862
cpp
C++
test/wikipedia_main.cpp
jaydee-io/bnf2c
453b9dec8d94f32eebf9df1ab9578da0b5c70d84
[ "BSD-4-Clause" ]
null
null
null
test/wikipedia_main.cpp
jaydee-io/bnf2c
453b9dec8d94f32eebf9df1ab9578da0b5c70d84
[ "BSD-4-Clause" ]
null
null
null
test/wikipedia_main.cpp
jaydee-io/bnf2c
453b9dec8d94f32eebf9df1ab9578da0b5c70d84
[ "BSD-4-Clause" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // BNF2C // // This file is distributed under the 4-clause Berkeley Software Distribution // License. See LICENSE for details. /////////////////////////////////////////////////////////////////////////////...
26.121212
86
0.531323
jaydee-io
2c95c6cc41e6d893f5ae67f164fc30dbc59439f6
2,168
hpp
C++
Alfred/src/HttpClientTransactions.hpp
rhymu8354/Alfred
225c16ed578ebc8221021a8a164c52d17f89fdf7
[ "MIT" ]
null
null
null
Alfred/src/HttpClientTransactions.hpp
rhymu8354/Alfred
225c16ed578ebc8221021a8a164c52d17f89fdf7
[ "MIT" ]
null
null
null
Alfred/src/HttpClientTransactions.hpp
rhymu8354/Alfred
225c16ed578ebc8221021a8a164c52d17f89fdf7
[ "MIT" ]
null
null
null
#pragma once /** * @file HttpClientTransactions.hpp * * This module declares the HttpClientTransactions class which uses an * Http::Client object to create and complete request-response transactions. */ #include <Http/Client.hpp> #include <memory> #include <SystemAbstractions/DiagnosticsSender.hpp> class HttpCl...
27.443038
86
0.684041
rhymu8354
2c9bad5f2c137eae7f40313af2120811e390dc19
228
cpp
C++
solved/10432 poly gon.cpp
goutomroy/uva.onlinejudge
5ce09d9e370ad78eabd0fd500ef77ce804e2d0f2
[ "MIT" ]
null
null
null
solved/10432 poly gon.cpp
goutomroy/uva.onlinejudge
5ce09d9e370ad78eabd0fd500ef77ce804e2d0f2
[ "MIT" ]
null
null
null
solved/10432 poly gon.cpp
goutomroy/uva.onlinejudge
5ce09d9e370ad78eabd0fd500ef77ce804e2d0f2
[ "MIT" ]
null
null
null
#include<stdio.h> #include<math.h> void main( ) { long double r,n,b,c,area; while(scanf("%Lf %Lf",&r,&n)==2) { b=(((2*n)-4)*90)/n; b=b/2; c=180-(2*b); c=((2*acos(0))*c)/180; area=((r*r)*sin(c))/2; printf("%0.3Lf\n",area*n); } }
14.25
32
0.535088
goutomroy
2c9bf3a318c428b705913de235a29bab7f6ee470
4,614
cpp
C++
Modules/SurfaceRegistration/src/surfaceregistraion.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
null
null
null
Modules/SurfaceRegistration/src/surfaceregistraion.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2021-12-22T10:19:02.000Z
2021-12-22T10:19:02.000Z
Modules/SurfaceRegistration/src/surfaceregistraion.cpp
zhaomengxiao/MITK_lancet
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
null
null
null
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. ================...
27.464286
105
0.726268
zhaomengxiao
2c9e184a750c6a3390535bb166b23977093d1d32
553
cpp
C++
srcs/tc.common.tests/time.test.cpp
aoziczero/libtc
7f5afc2324bc91bf38e53b474d80804b48b546a5
[ "MIT" ]
null
null
null
srcs/tc.common.tests/time.test.cpp
aoziczero/libtc
7f5afc2324bc91bf38e53b474d80804b48b546a5
[ "MIT" ]
null
null
null
srcs/tc.common.tests/time.test.cpp
aoziczero/libtc
7f5afc2324bc91bf38e53b474d80804b48b546a5
[ "MIT" ]
null
null
null
#include "stdafx.h" #include <tc.common/datetime.hpp> void print_timestamp( const tc::timestamp& ts ) { tc::datetime dt(ts); gprintf("%04d%02d%02d %02d:%02d:%02d %03d %s\n" , dt.value().year , dt.value().month , dt.value().day , dt.value().hour , dt.value().minute , dt.value().second , dt.value().millise...
26.333333
66
0.629295
aoziczero
2ca5964d47ef15a7e27a78af9ecdaf46bcde2cc7
2,760
cc
C++
src/Character.cc
aveday/stumple
21c17166b57a8e5de4640c0d377d024bf6afb068
[ "MIT" ]
null
null
null
src/Character.cc
aveday/stumple
21c17166b57a8e5de4640c0d377d024bf6afb068
[ "MIT" ]
null
null
null
src/Character.cc
aveday/stumple
21c17166b57a8e5de4640c0d377d024bf6afb068
[ "MIT" ]
null
null
null
#include "Character.h" #include "Entity.h" #include "World.h" //FIXME after editor. this should probably be somewhere else #include "characterdefs.h" void Character::JoinPart(World &w, JointDef &j, b2Vec2 pos) { pos += 1.0/PPM * j.pos; b2RevoluteJointDef jointDef; jointDef.Initialize(parts[j.p1]->body, parts...
31.363636
70
0.569203
aveday
2ca5f85476d9008480bab47dab5f6a8d2ca42464
912
cpp
C++
Tests/ExpectExtraTest.cpp
nelabidi/ztestcpp
e8eb3c24d0eac8f8c98a93447da7e23d3898c3ec
[ "Apache-2.0" ]
1
2016-02-02T23:50:49.000Z
2016-02-02T23:50:49.000Z
Tests/ExpectExtraTest.cpp
nelabidi/ztestcpp
e8eb3c24d0eac8f8c98a93447da7e23d3898c3ec
[ "Apache-2.0" ]
null
null
null
Tests/ExpectExtraTest.cpp
nelabidi/ztestcpp
e8eb3c24d0eac8f8c98a93447da7e23d3898c3ec
[ "Apache-2.0" ]
null
null
null
////////////////////////////////////////////////////////////////////////// // // PROJECT: zTestC++ (zTestCpp) C++ Testing framework // FILE: ExpectExtraTest.cpp // PURPOSE: use of expect outside of testcase // DATE: 2015/08/01 // NOTES: // ////////////////////////////////////////////////////////////////////////// #in...
16.285714
74
0.439693
nelabidi
2ca667091e2b0b1568a95fdd083142a6a2a43c5a
723
hpp
C++
component/Cflow.hpp
Laetus/masterThesis
5646f6e3aa1bd924e629bb56253712aa7afdd124
[ "Apache-2.0" ]
8
2016-11-28T15:01:52.000Z
2022-03-26T01:48:01.000Z
component/Cflow.hpp
Laetus/masterThesis
5646f6e3aa1bd924e629bb56253712aa7afdd124
[ "Apache-2.0" ]
null
null
null
component/Cflow.hpp
Laetus/masterThesis
5646f6e3aa1bd924e629bb56253712aa7afdd124
[ "Apache-2.0" ]
9
2016-07-30T03:28:41.000Z
2021-04-16T05:56:37.000Z
/* * Cflow.hpp * * Created on: Nov 24, 2015 * Author: laetus */ #ifndef CFLOW_HPP_ #define CFLOW_HPP_ class Cflow: public Flow { public: Cflow(int nTimesteps, casadi::SX* t, double min, double max, double efficiency, double diff); Cflow(int nTimesteps, casadi::SX* t, double min, double max, double x0, ...
19.026316
105
0.717842
Laetus
2cab73251e99e4b05803406a2eec4c9dd6ffd07b
12,296
cpp
C++
hxalignmicrotubules/mtalign/CPDElasticAlignerTest.cpp
zibamira/microtubulestitching
8322b71701e33fde0400715cd5b4e855779e4eda
[ "RSA-MD" ]
2
2015-07-15T15:32:24.000Z
2017-06-25T07:41:48.000Z
hxalignmicrotubules/mtalign/CPDElasticAlignerTest.cpp
zibamira/microtubulestitching
8322b71701e33fde0400715cd5b4e855779e4eda
[ "RSA-MD" ]
null
null
null
hxalignmicrotubules/mtalign/CPDElasticAlignerTest.cpp
zibamira/microtubulestitching
8322b71701e33fde0400715cd5b4e855779e4eda
[ "RSA-MD" ]
null
null
null
#include <hxalignmicrotubules/mtalign/CPDElasticAligner.h> #include <stdio.h> #include <iostream> #include <gtest/internal/gtest.h> #include <hxspatialgraph/internal/HxSpatialGraph.h> #include <mclib/McMat3f.h> namespace ma = mtalign; static void checkSameCoord(const McDVector<double> coord1, ...
33.78022
80
0.595153
zibamira
2cb18e50a5fe1ed9a793e716f6f51cb6fa8db29b
1,262
hpp
C++
source/oc/ocEngine/ocResourceLibrary.hpp
mackron/openchernobyl
47c854ce37e1c361b184e29a59e4881a6faa387c
[ "BSD-3-Clause" ]
2
2021-05-24T21:18:13.000Z
2021-12-20T07:21:20.000Z
source/oc/ocEngine/ocResourceLibrary.hpp
openchernobyl/openchernobyl
47c854ce37e1c361b184e29a59e4881a6faa387c
[ "BSD-3-Clause" ]
null
null
null
source/oc/ocEngine/ocResourceLibrary.hpp
openchernobyl/openchernobyl
47c854ce37e1c361b184e29a59e4881a6faa387c
[ "BSD-3-Clause" ]
null
null
null
// Copyright (C) 2018 David Reid. See included LICENSE file. struct ocResource { ocResourceType type; const char* pAbsolutePath; ocUInt32 referenceCount; union { struct { ocGraphicsImage* pGraphicsImage; } image; ocSceneData scene; }; // [Inter...
26.291667
117
0.7187
mackron
2cb45f4ec5bfd6d09dbcbe72bc704f0ec66d9f19
1,862
cc
C++
others/DS/LinkedList/linked_list_merge_sort.cc
pshiremath/practice
b85fc35ce0852e070a0408154bdba5d284e5d201
[ "Apache-2.0" ]
null
null
null
others/DS/LinkedList/linked_list_merge_sort.cc
pshiremath/practice
b85fc35ce0852e070a0408154bdba5d284e5d201
[ "Apache-2.0" ]
null
null
null
others/DS/LinkedList/linked_list_merge_sort.cc
pshiremath/practice
b85fc35ce0852e070a0408154bdba5d284e5d201
[ "Apache-2.0" ]
null
null
null
#include <stdio.h> typedef struct _NODE { int data; _NODE* next; } NODE; void push(NODE** head_ref, int data) { NODE* node = new NODE(); node->data = data; node->next = *head_ref; *head_ref = node; } void printList(NODE* node) { while (node) { printf("%d \n", node->data); node = node->next; }...
18.62
73
0.575188
pshiremath
2cb578bae0eb70a4f2a29777c34738163ad1d9e5
17,873
hpp
C++
lib/dmitigr/pgfe/errc.hpp
dmitigr/pgfe
c5dd21c0f4949cf6ea2e71368e3c6025c3daf69a
[ "Zlib" ]
121
2018-05-23T19:51:00.000Z
2022-03-12T13:05:34.000Z
lib/dmitigr/pgfe/errc.hpp
dmitigr/pgfe
c5dd21c0f4949cf6ea2e71368e3c6025c3daf69a
[ "Zlib" ]
36
2019-11-11T03:25:10.000Z
2022-03-28T21:54:07.000Z
lib/dmitigr/pgfe/errc.hpp
dmitigr/pgfe
c5dd21c0f4949cf6ea2e71368e3c6025c3daf69a
[ "Zlib" ]
17
2018-05-24T04:01:28.000Z
2022-01-16T13:22:26.000Z
// -*- C++ -*- // Copyright (C) Dmitry Igrishin // For conditions of distribution and use, see files LICENSE.txt or pgfe.hpp #ifndef DMITIGR_PGFE_ERRC_HPP #define DMITIGR_PGFE_ERRC_HPP #include "dmitigr/pgfe/dll.hpp" namespace dmitigr::pgfe { /** * @ingroup errors * * @brief Represents a client error code. */ e...
17.713578
76
0.702512
dmitigr
2cb6de9c353fdd1dfa6d394c0b71f3a7d8625a28
591
cpp
C++
test/lib/file/file_test_driver.cpp
ryancalhoun/fit
dbe8bdf2d700981cd76fc0ed5c0946856ae785de
[ "MIT" ]
null
null
null
test/lib/file/file_test_driver.cpp
ryancalhoun/fit
dbe8bdf2d700981cd76fc0ed5c0946856ae785de
[ "MIT" ]
null
null
null
test/lib/file/file_test_driver.cpp
ryancalhoun/fit
dbe8bdf2d700981cd76fc0ed5c0946856ae785de
[ "MIT" ]
null
null
null
#include "cppunit/ui/text/TestRunner.h" #include "cppunit/TestResultCollector.h" #include "CurrentDirectoryTest.h" #include "FileFlagsTest.h" #include "FilesystemDriverTest.h" #include "FilesystemTest.h" #include "PathTest.h" int main(int argc, const char* argv[]) { CppUnit::TextUi::TestRunner runner; runner.addTe...
24.625
47
0.758037
ryancalhoun
2cb94871dda8b938205cbc881489bc87a243eef1
2,562
hpp
C++
include/canard/net/ofp/detail/basic_queue_property.hpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
null
null
null
include/canard/net/ofp/detail/basic_queue_property.hpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
8
2016-07-21T11:29:13.000Z
2016-12-03T05:16:42.000Z
include/canard/net/ofp/detail/basic_queue_property.hpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
null
null
null
#ifndef CANARD_NET_OFP_DETAIL_BAISC_QUEUE_PROPERTY_HPP #define CANARD_NET_OFP_DETAIL_BAISC_QUEUE_PROPERTY_HPP #include <cstdint> #include <canard/net/ofp/detail/basic_protocol_type.hpp> #include <canard/net/ofp/detail/decode.hpp> #include <canard/net/ofp/detail/encode.hpp> #include <canard/net/ofp/detail/memcmp.hpp> ...
23.081081
76
0.665886
amedama41
2cb9e006cd75f10fe646793e908f2bed73d41254
1,278
hpp
C++
libs/core/include/fcppt/math/dim/binary_map.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/math/dim/binary_map.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/math/dim/binary_map.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef FCPPT_MATH_DIM_BINARY_MAP_HPP_INCLUDED #define FCPPT_MATH_DIM_BINARY_MAP_HPP_INCLUDED #in...
14.860465
61
0.673709
pmiddend
2cbbd302ddb820db20f831964dce7fb4e3be66bc
6,601
cpp
C++
ui/src/showmanager/headeritems.cpp
markusb/qlcplus
1aae45b8d1914114b9a7ea6174e83e51e81ab8a1
[ "Apache-2.0" ]
2
2016-12-12T15:32:27.000Z
2021-05-18T17:55:30.000Z
ui/src/showmanager/headeritems.cpp
bjlupo/rcva_qlcplus
d367d33f5446c30d5201625e72946cc27f55ae5d
[ "Apache-2.0" ]
null
null
null
ui/src/showmanager/headeritems.cpp
bjlupo/rcva_qlcplus
d367d33f5446c30d5201625e72946cc27f55ae5d
[ "Apache-2.0" ]
null
null
null
/* Q Light Controller Plus headeritems.cpp Copyright (C) Massimo Callegari 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.txt Unles...
24.909434
102
0.57052
markusb
2cbe45f20b8359903c9a9e63c086ee80aaa219d0
1,588
cpp
C++
Leetcode/L1610.cpp
yanjinbin/Foxconn
d8340d228deb35bd8ec244f6156374da8a1f0aa0
[ "CC0-1.0" ]
8
2021-02-14T01:48:09.000Z
2022-01-29T09:12:55.000Z
Leetcode/L1610.cpp
yanjinbin/Foxconn
d8340d228deb35bd8ec244f6156374da8a1f0aa0
[ "CC0-1.0" ]
null
null
null
Leetcode/L1610.cpp
yanjinbin/Foxconn
d8340d228deb35bd8ec244f6156374da8a1f0aa0
[ "CC0-1.0" ]
null
null
null
#include <algorithm> #include <cmath> #include <functional> #include <iostream> #include <map> #include <queue> #include <stack> #include <vector> using namespace std; const int INF = 0x3F3F3F3F; const int MOD = 1E9 + 7; #define ready ...
28.872727
120
0.464106
yanjinbin
2cc06d69cbeb06fe56416f274e3133b5ab5046b9
4,714
cpp
C++
Proj_Android/app/src/main/cpp/OSMusicPlayer.cpp
nraptis/Metal_OpenGL_MobileGameEngine
cc36682676a9797df8b3a7ee235b99be3ae2f666
[ "MIT" ]
3
2019-10-10T19:25:42.000Z
2019-12-17T10:51:23.000Z
Framework/[Droid]/OSMusicPlayer.cpp
nraptis/Metal_OpenGL_MobileGameEngine
cc36682676a9797df8b3a7ee235b99be3ae2f666
[ "MIT" ]
null
null
null
Framework/[Droid]/OSMusicPlayer.cpp
nraptis/Metal_OpenGL_MobileGameEngine
cc36682676a9797df8b3a7ee235b99be3ae2f666
[ "MIT" ]
1
2021-11-16T15:29:40.000Z
2021-11-16T15:29:40.000Z
// // OSSoundBuffer.cpp // Space Whore // // Created by Nick Raptis on 03/27/2019. // Copyright (c) 2019 // #include "OSMusicPlayer.h" #include "os_core_sound.h" #include "os_core_includes.h" #include "core_includes.h" #include "FApp.hpp" OSMusicPlayer gMusicPlayer; OSMusicPlayer::OSMusicPlayer() { mPlayingB...
24.42487
87
0.587187
nraptis
2cc2ce24800944502d40df2e30ab7e28e395096d
176
cpp
C++
100000567/B/main.cpp
gongbo2018/codeup_contest
c61cd02f145c764b0eb2728fb2b3405314d522ca
[ "MIT" ]
1
2020-08-14T09:33:51.000Z
2020-08-14T09:33:51.000Z
100000567/B/main.cpp
gongbo2018/codeup_contest
c61cd02f145c764b0eb2728fb2b3405314d522ca
[ "MIT" ]
null
null
null
100000567/B/main.cpp
gongbo2018/codeup_contest
c61cd02f145c764b0eb2728fb2b3405314d522ca
[ "MIT" ]
null
null
null
#include <cstdio> int main() { double a, b; scanf("%lf %lf", &a, &b); if (a < b) { printf("%.2f %.2f\n", a, b); } else { printf("%.2f %.2f\n", b, a); } return 0; }
12.571429
30
0.454545
gongbo2018
2cc3709e056920a9acf407ba99839547af7ad037
1,151
cpp
C++
SVEngine/src/game/zc/ZCMgr.cpp
SVEChina/SVEngine
56174f479a3096e57165448142c1822e7db8c02f
[ "MIT" ]
34
2018-09-28T08:28:27.000Z
2022-01-15T10:31:41.000Z
SVEngine/src/game/zc/ZCMgr.cpp
SVEChina/SVEngine
56174f479a3096e57165448142c1822e7db8c02f
[ "MIT" ]
null
null
null
SVEngine/src/game/zc/ZCMgr.cpp
SVEChina/SVEngine
56174f479a3096e57165448142c1822e7db8c02f
[ "MIT" ]
8
2018-10-11T13:36:35.000Z
2021-04-01T09:29:34.000Z
// // ZCMgr.cpp // #include "ZCMgr.h" #include "ZCCtrl.h" #include "ZCRoleMgr.h" #include "ZCStory.h" #include "ZCOrgMgr.h" #include "ZCStoryMgr.h" #include "../../app/SVInst.h" #include "../../file/SVFileMgr.h" using namespace zc; ZCMgr::ZCMgr(SVInst *_app) :SVModuleBase(_app){ m_pStoryMgr = nullptr; m_pCt...
19.508475
69
0.662902
SVEChina
2cc4528c7bfc415b84eb149b4c0cc389501f6f04
2,342
cpp
C++
ThreadSafeList/main.cpp
Childcity/LearnMultiThreadCpp
3e54e2c93d58495dbefc1821a70c4953f55cbbca
[ "MIT" ]
null
null
null
ThreadSafeList/main.cpp
Childcity/LearnMultiThreadCpp
3e54e2c93d58495dbefc1821a70c4953f55cbbca
[ "MIT" ]
null
null
null
ThreadSafeList/main.cpp
Childcity/LearnMultiThreadCpp
3e54e2c93d58495dbefc1821a70c4953f55cbbca
[ "MIT" ]
null
null
null
#include "ThreadSafeList.hpp" #include <iostream> #include <string> #include <thread> #include <atomic> using namespace std; using ThreadSafeList = childcity::threadsafelist::ThreadSafeList<string>; int main() { const int threadCount = 8; atomic<bool> startWorking = false; thread t[threadCount]; Th...
31.648649
128
0.470111
Childcity
2cc4cce418aebebdf05d73284bd6a215870252d7
852
cpp
C++
Source/Globals.cpp
WickedNekomata/NekoEngine
5d10b7e4895e463d7a816ea7a6a8eb9dc91174cd
[ "MIT" ]
13
2018-11-26T12:39:30.000Z
2022-03-21T21:23:22.000Z
Source/Globals.cpp
WickedNekomata/NekoEngine
5d10b7e4895e463d7a816ea7a6a8eb9dc91174cd
[ "MIT" ]
1
2022-03-21T22:05:10.000Z
2022-03-21T22:05:10.000Z
Source/Globals.cpp
WickedNekomata/NekoEngine
5d10b7e4895e463d7a816ea7a6a8eb9dc91174cd
[ "MIT" ]
10
2018-10-27T01:58:26.000Z
2021-03-26T09:28:02.000Z
#pragma once #include "Globals.h" #include "Application.h" void Log(const char file[], int line, const char* format, ...) { static char tmp_string[MAX_BUF_SIZE]; static char tmp_string2[MAX_BUF_SIZE]; static va_list ap; // Construct the string from variable arguments va_start(ap, format); vsprintf_s(tmp_strin...
23.027027
79
0.717136
WickedNekomata
2cc7c2f66a5dea667e7fc1e89a380e32449f642f
139
hpp
C++
Blast2D/modules/graphics/components/animated_sprite.hpp
daethalus/Blast2D
f8063a298d0f4059435d13e9390def3ebf62be5f
[ "MIT" ]
null
null
null
Blast2D/modules/graphics/components/animated_sprite.hpp
daethalus/Blast2D
f8063a298d0f4059435d13e9390def3ebf62be5f
[ "MIT" ]
null
null
null
Blast2D/modules/graphics/components/animated_sprite.hpp
daethalus/Blast2D
f8063a298d0f4059435d13e9390def3ebf62be5f
[ "MIT" ]
null
null
null
#ifndef BLAST2D_ANIMATED_SPRITE_HPP #define BLAST2D_ANIMATED_SPRITE_HPP namespace Blast2D { struct AnimatedSprite { }; } #endif
12.636364
35
0.769784
daethalus
2ccc089dac49a0370cc01684a7927f26cb9cf2cb
3,302
cpp
C++
TEC Chess Console/TEC Chess Console/ChessPiece.cpp
smbraden/TEC-Chess-Project
e5b7b43db48e07796daec3bba2fdbf3d6ccd21d3
[ "MIT" ]
null
null
null
TEC Chess Console/TEC Chess Console/ChessPiece.cpp
smbraden/TEC-Chess-Project
e5b7b43db48e07796daec3bba2fdbf3d6ccd21d3
[ "MIT" ]
1
2020-10-08T05:11:38.000Z
2020-10-08T05:11:38.000Z
TEC Chess Console/TEC Chess Console/ChessPiece.cpp
smbraden/TEC-Chess-Project
e5b7b43db48e07796daec3bba2fdbf3d6ccd21d3
[ "MIT" ]
null
null
null
/*/-------------------------------------------------------------------------------------// Filename: ChessPiece.h Contributor: Sonja Braden Date: 10/4/2020 Reference: Description: Implementation of the ChessPiece class. This is the base class from which unique types of pieces...
17.657754
90
0.612659
smbraden
2ccce4700b876e8c39419a0e8f4fcfbbd8689857
714
hpp
C++
include/libecs-cpp/System.hpp
metaversesystems/libecs-cpp
2f54296f913081bd0869371025a4bc09cff75836
[ "MIT" ]
null
null
null
include/libecs-cpp/System.hpp
metaversesystems/libecs-cpp
2f54296f913081bd0869371025a4bc09cff75836
[ "MIT" ]
2
2019-10-14T18:09:48.000Z
2019-11-05T23:12:56.000Z
include/libecs-cpp/System.hpp
metaversesystems/libecs-cpp
2f54296f913081bd0869371025a4bc09cff75836
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <queue> namespace ecs { class Container; class System { public: System(); System(std::string Handle); virtual void Init(); virtual void Configure(nlohmann::json config); virtual void Update() {}; std::string Han...
24.62069
90
0.610644
metaversesystems
2ccd733003843b390abd49c8a118d912ce79a0e1
7,421
cpp
C++
XMiLib/ThreadedOperation/ThreadedOperationDialog.cpp
xmichelo/XMiLib
0536a6af5a91167889fef740571ef1b7a8eb2da3
[ "MIT" ]
3
2018-02-15T21:20:18.000Z
2021-08-01T02:03:52.000Z
XMiLib/ThreadedOperation/ThreadedOperationDialog.cpp
xmichelo/XMiLib
0536a6af5a91167889fef740571ef1b7a8eb2da3
[ "MIT" ]
null
null
null
XMiLib/ThreadedOperation/ThreadedOperationDialog.cpp
xmichelo/XMiLib
0536a6af5a91167889fef740571ef1b7a8eb2da3
[ "MIT" ]
null
null
null
/// \file /// \author Xavier Michelon /// /// \brief Declaration of threaded operation dialog /// /// Copyright (c) Xavier Michelon. All rights reserved. /// Licensed under the MIT License. See LICENSE file in the project root for full license information. #include "stdafx.h" #include "ThreadedOperationDialog.h...
39.897849
120
0.417868
xmichelo
2cd47b944a61754f00304a54aeee84a9c3f6858e
1,256
cpp
C++
LinkList/Rotate a LinkedList by K/cpp/LinkedList.cpp
vmundra/Data-Structures-Algorithms
7352eed30325f8b48f3de4d77272fa78e5f23e7f
[ "MIT" ]
6
2020-10-01T10:31:44.000Z
2021-10-05T13:41:56.000Z
LinkList/Rotate a LinkedList by K/cpp/LinkedList.cpp
vmundra/Data-Structures-Algorithms
7352eed30325f8b48f3de4d77272fa78e5f23e7f
[ "MIT" ]
1
2021-10-02T10:59:44.000Z
2021-10-02T10:59:44.000Z
LinkList/Rotate a LinkedList by K/cpp/LinkedList.cpp
vmundra/Data-Structures-Algorithms
7352eed30325f8b48f3de4d77272fa78e5f23e7f
[ "MIT" ]
11
2020-10-01T10:31:53.000Z
2021-10-05T06:48:08.000Z
// Problem:- //Given a linked list node and a non-negative integer k, rotate the list to the right by k places. //Logic:- /* 1) Take 2 Pointers, I have taken curr & end. 2) First we move the end pointer k times in the list. Now we run a loop till the end pointer reaches the end of list & simultaneously move th...
29.209302
133
0.612261
vmundra
2cd7be86ac286ea0dd00ea53b9bb9e10ae1f73f9
5,970
cpp
C++
imap/src/parser/Rfc3501Tokenizer.cpp
webOS-ports/mojomail
49358ac2878e010f5c6e3bd962f047c476c11fc3
[ "Apache-2.0" ]
6
2015-01-09T02:20:27.000Z
2021-01-02T08:14:23.000Z
mojomail/imap/src/parser/Rfc3501Tokenizer.cpp
openwebos/app-services
021d509d609fce0cb41a0e562650bdd1f3bf4e32
[ "Apache-2.0" ]
3
2019-05-11T19:17:56.000Z
2021-11-24T16:04:36.000Z
mojomail/imap/src/parser/Rfc3501Tokenizer.cpp
openwebos/app-services
021d509d609fce0cb41a0e562650bdd1f3bf4e32
[ "Apache-2.0" ]
6
2015-01-09T02:21:13.000Z
2021-01-02T02:37:10.000Z
// @@@LICENSE // // Copyright (c) 2010-2013 LG Electronics, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless require...
22.193309
89
0.637521
webOS-ports
2cda3e45d3518a4a8765c610469272acf9c11c25
1,024
hpp
C++
include/Pita/Program.hpp
tsukimizake/Pita
8da387004823589fd774c473b090cc052574b682
[ "MIT" ]
null
null
null
include/Pita/Program.hpp
tsukimizake/Pita
8da387004823589fd774c473b090cc052574b682
[ "MIT" ]
null
null
null
include/Pita/Program.hpp
tsukimizake/Pita
8da387004823589fd774c473b090cc052574b682
[ "MIT" ]
null
null
null
#pragma once #include <Eigen/Core> #include "Evaluator.hpp" #include "Node.hpp" #include "Context.hpp" namespace cgl { class Program { public: Program() : pEnv(Context::Make()), evaluator(pEnv) {} boost::optional<Expr> parse(const std::string& program); boost::optional<Val> execute(const std::strin...
18.285714
103
0.680664
tsukimizake
2ce62e4bbda2d279825126ad183ba80d990a576a
16,733
cpp
C++
src/OpenRTMPlugin/deprecated/PointCloudSubscriberRTCItem.cpp
mitsudome-r/choreonoid
830ba89d92bbe5e43aad274b641e44a5e3c02d7d
[ "MIT" ]
null
null
null
src/OpenRTMPlugin/deprecated/PointCloudSubscriberRTCItem.cpp
mitsudome-r/choreonoid
830ba89d92bbe5e43aad274b641e44a5e3c02d7d
[ "MIT" ]
null
null
null
src/OpenRTMPlugin/deprecated/PointCloudSubscriberRTCItem.cpp
mitsudome-r/choreonoid
830ba89d92bbe5e43aad274b641e44a5e3c02d7d
[ "MIT" ]
null
null
null
/** \author Shizuko Hattori \author Shin'ichiro Nakaoka */ #include "PointCloudSubscriberRTCItem.h" #include <cnoid/corba/PointCloud.hh> #include <cnoid/ItemManager> #include <cnoid/PutPropertyFunction> #include <cnoid/Archive> #include <cnoid/Config> #include <cnoid/RangeCamera> #include <cnoid/RangeSensor> #in...
27.84193
143
0.663599
mitsudome-r
f8ebc30dc7722e5dae7ed00cb3f68e9fc2364235
13,748
cpp
C++
PrintMUL.cpp
andkrau/nuance
32b9d6b9257c6c51944727456fce2e7caf074182
[ "W3C" ]
null
null
null
PrintMUL.cpp
andkrau/nuance
32b9d6b9257c6c51944727456fce2e7caf074182
[ "W3C" ]
null
null
null
PrintMUL.cpp
andkrau/nuance
32b9d6b9257c6c51944727456fce2e7caf074182
[ "W3C" ]
null
null
null
#include "basetypes.h" #include <cstdio> #include <cstring> #include "InstructionCache.h" const char *GetImmediateShift(uint32 which) { switch(which) { case 0: return "16"; case 1: return "24"; case 2: return "32"; case 3: return "30"; default: re...
47.243986
207
0.694501
andkrau
f8ec2fdd91f78c35f0693035180fde92cda4be74
17,053
cpp
C++
src/cpus/Z80.cpp
lavendersprite/hackable-console
6271411a6969fa04b72a4c362c54e456a0043982
[ "MIT" ]
13
2021-02-03T03:14:35.000Z
2021-12-26T04:20:13.000Z
src/cpus/Z80.cpp
lavendersprite/hackable-console
6271411a6969fa04b72a4c362c54e456a0043982
[ "MIT" ]
3
2021-07-20T06:40:26.000Z
2021-09-15T08:03:25.000Z
src/cpus/Z80.cpp
lavendersprite/hackable-console
6271411a6969fa04b72a4c362c54e456a0043982
[ "MIT" ]
5
2021-02-07T16:19:16.000Z
2022-02-18T22:09:50.000Z
#include "Z80.h" #include "Debugger.h" #define CHIPS_IMPL #include <z80dasm.h> #include <IconsFontAwesome4.h> #include <imgui.h> #include <imguial_button.h> enum Cycles : uint8_t { CyclesDjnz = 64, // 13 when it jumps, 8 when it doesn't CyclesCondJr = 65, // 12 when it jumps, 7 when it doesn't ...
43.172152
119
0.520729
lavendersprite
f8ed5e994ab366d5b3e499e8fb9dac57debbdcaa
1,538
cpp
C++
mang-taiboi-oop.cpp
baongo1230/QuocBao
0ca83a37b31d51a3afa9b30f4b34c29b77d4882c
[ "Unlicense" ]
null
null
null
mang-taiboi-oop.cpp
baongo1230/QuocBao
0ca83a37b31d51a3afa9b30f4b34c29b77d4882c
[ "Unlicense" ]
null
null
null
mang-taiboi-oop.cpp
baongo1230/QuocBao
0ca83a37b31d51a3afa9b30f4b34c29b77d4882c
[ "Unlicense" ]
null
null
null
#include <iostream> using namespace std; class Mang { float a[100]; int n; public: void nhap(); void hienthi(); int get_n(); Mang operator +(Mang m2); int operator ==(Mang m2); Mang operator ++(); // dang tien to Mang operator ++(int); //dang hau to }; void Mang::nhap() { cout<<"\n Nhap n = ";cin>>n; ...
16.537634
52
0.53251
baongo1230
f8f56688a2578339e88ac6592fcbda5311fef78a
11,308
cpp
C++
src/my_mtc_demos/src/cartesian3.cpp
GuancongLuo/ws_moveit
fa5d0ef8fb099aae1cb0f8c43e4043540a823586
[ "MIT" ]
27
2020-03-02T14:32:50.000Z
2021-10-21T13:12:02.000Z
src/my_mtc_demos/src/cartesian3.cpp
GuancongLuo/ws_moveit
fa5d0ef8fb099aae1cb0f8c43e4043540a823586
[ "MIT" ]
3
2020-03-12T08:10:16.000Z
2021-10-06T00:22:32.000Z
src/my_mtc_demos/src/cartesian3.cpp
GuancongLuo/ws_moveit
fa5d0ef8fb099aae1cb0f8c43e4043540a823586
[ "MIT" ]
8
2020-03-13T20:52:23.000Z
2022-01-12T11:15:47.000Z
// ROS #include <ros/ros.h> // MoveIt #include <moveit/planning_scene/planning_scene.h> #include <moveit/robot_model/robot_model.h> #include <moveit/planning_scene_interface/planning_scene_interface.h> // MTC #include <moveit/task_constructor/task.h> #include <moveit/task_constructor/stages/compute_ik.h> #include <move...
36.477419
189
0.693757
GuancongLuo
f8f8068d2b21a24e072b02a2c2bae83a1cef1878
936
hpp
C++
ODFAEG/include/odfaeg/Graphics/Vulkan/instance.hpp
Mechap/ODFAEG
ad4bf026ee7055aaf168c5a8e3dc57baaaf42e40
[ "Zlib" ]
null
null
null
ODFAEG/include/odfaeg/Graphics/Vulkan/instance.hpp
Mechap/ODFAEG
ad4bf026ee7055aaf168c5a8e3dc57baaaf42e40
[ "Zlib" ]
1
2020-02-14T14:19:44.000Z
2020-12-04T17:39:17.000Z
ODFAEG/include/odfaeg/Graphics/Vulkan/instance.hpp
Mechap/ODFAEG
ad4bf026ee7055aaf168c5a8e3dc57baaaf42e40
[ "Zlib" ]
2
2021-05-23T13:45:28.000Z
2021-07-24T13:36:13.000Z
#pragma once #include <vulkan/vulkan_core.h> #include <string_view> #include "odfaeg/Core/crtp.hpp" namespace odfaeg { class VulkanWindow; class Instance final : public NoCopy, public NoMove { public: explicit Instance(const VulkanWindow &window, std::string_view application_name, std::uint32...
26.742857
124
0.711538
Mechap
f8fddac518de7ec26acabcf816ab3e9a93bad156
574
cpp
C++
c++/Single Number III/Single Number III.cpp
tonardo2015/leetcode
02e659f0415158b02f1e9cdb3f63ac0870b109af
[ "MIT" ]
null
null
null
c++/Single Number III/Single Number III.cpp
tonardo2015/leetcode
02e659f0415158b02f1e9cdb3f63ac0870b109af
[ "MIT" ]
null
null
null
c++/Single Number III/Single Number III.cpp
tonardo2015/leetcode
02e659f0415158b02f1e9cdb3f63ac0870b109af
[ "MIT" ]
null
null
null
/* 1.假设解是res1和res2,我们先把所有数做XOR,这样得到res1^res2 2.因为 res1 != res2,所以结果一定有一位bit是1 3.于是我们可以把数分成两组,一组bit位上为1,另一组bit位上为0 4.两组分别做XOR,就可以得到两个解res1和res2了 */ class Solution { public: vector<int> singleNumber(vector<int>& nums) { int bit = 0; for(int i = 0;i < nums.size();i++) bit ^= nums[i...
26.090909
62
0.527875
tonardo2015
5d00354052fe6142672cc28486b3b1e482c9f4aa
31,428
cpp
C++
src/avatar_locomanipulation/planners/a_star_planner.cpp
stevenjj/icra2020locomanipulation
414085b68cc1b3b24f7b920b543bba9d95350c16
[ "MIT" ]
5
2020-01-06T11:43:18.000Z
2021-12-14T22:59:09.000Z
src/avatar_locomanipulation/planners/a_star_planner.cpp
stevenjj/icra2020locomanipulation
414085b68cc1b3b24f7b920b543bba9d95350c16
[ "MIT" ]
null
null
null
src/avatar_locomanipulation/planners/a_star_planner.cpp
stevenjj/icra2020locomanipulation
414085b68cc1b3b24f7b920b543bba9d95350c16
[ "MIT" ]
2
2020-09-03T16:08:34.000Z
2022-02-17T11:13:49.000Z
#include <avatar_locomanipulation/planners/a_star_planner.hpp> // #define THIS_COM "/home/hcappel1/Documents/" // FILE * pFileTXT; // void saveVector(const std::vector<double>& _vec, std::string _name, bool b_param = false); // void saveValue(double _value, std::string _name, bool b_param = false); // void cleanin...
39.532075
321
0.526664
stevenjj
5d02d5bba4f2c65b8c960975db330e6c5bee6e87
14,306
cpp
C++
poppler-21.11.0/cpp/poppler-page.cpp
stackoverflowed/multimodal
95668d0b34d297e96b5ef76521e587578ef2581f
[ "MIT" ]
null
null
null
poppler-21.11.0/cpp/poppler-page.cpp
stackoverflowed/multimodal
95668d0b34d297e96b5ef76521e587578ef2581f
[ "MIT" ]
null
null
null
poppler-21.11.0/cpp/poppler-page.cpp
stackoverflowed/multimodal
95668d0b34d297e96b5ef76521e587578ef2581f
[ "MIT" ]
null
null
null
/* * Copyright (C) 2009-2010, Pino Toscano <pino@kde.org> * Copyright (C) 2017-2020, Albert Astals Cid <aacid@kde.org> * Copyright (C) 2017, Jason Alan Palmer <jalanpalmer@gmail.com> * Copyright (C) 2018, 2020, Suzuki Toshiya <mpsuzuki@hiroshima-u.ac.jp> * Copyright (C) 2018, 2020, Adam Reichold <adam.reichold@t-o...
30.054622
201
0.615266
stackoverflowed
5d0545939313f8e5dbeed5eefe4fb7e500966169
10,823
cpp
C++
kclient/android/android_file_access.cpp
lulimin/KongFrame-0.1.0
2721a433fe089539621f53c71e26b21a8a293b63
[ "MIT" ]
null
null
null
kclient/android/android_file_access.cpp
lulimin/KongFrame-0.1.0
2721a433fe089539621f53c71e26b21a8a293b63
[ "MIT" ]
null
null
null
kclient/android/android_file_access.cpp
lulimin/KongFrame-0.1.0
2721a433fe089539621f53c71e26b21a8a293b63
[ "MIT" ]
null
null
null
// android_file_access.cpp // Created by lulimin on 2021/11/9. #include <stdio.h> #include <unistd.h> #include <time.h> #include <sys/stat.h> #include <sys/types.h> #include <android/asset_manager.h> #include <android/asset_manager_jni.h> #include "android_file_access.h" #include "../../inc/utility.h" #inc...
22.315464
90
0.581632
lulimin