hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 108 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 67k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
df118effa020a46e4255634ec2ac8ae1a406cf6b | 641 | cpp | C++ | UVa 12554 happy birthday song/sample/12554 - A Special Happy Birthday Song.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | 1 | 2020-11-24T03:17:21.000Z | 2020-11-24T03:17:21.000Z | UVa 12554 happy birthday song/sample/12554 - A Special Happy Birthday Song.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | null | null | null | UVa 12554 happy birthday song/sample/12554 - A Special Happy Birthday Song.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | 1 | 2021-04-11T16:22:31.000Z | 2021-04-11T16:22:31.000Z | #include <stdio.h>
int main() {
char song[][20] = {
"Happy", "birthday", "to", "you", "Happy", "birthday", "to", "you"
, "Happy", "birthday", "to", "Rujia", "Happy", "birthday", "to", "you"
};
char name[101][101];
int n, i, j, flag = 0, end = 0;
scanf("%d", &n);
for(i = 0; i < n... | 20.677419 | 78 | 0.391576 | tadvi |
df1327b7faf38dbd39b8d241a6ad813749481aa0 | 12,831 | cpp | C++ | Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/PropertyFilePathCtrl.cpp | BreakerOfThings/o3de | f4c59f868c726470ec910623facd836047d059c3 | [
"Apache-2.0",
"MIT"
] | null | null | null | Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/PropertyFilePathCtrl.cpp | BreakerOfThings/o3de | f4c59f868c726470ec910623facd836047d059c3 | [
"Apache-2.0",
"MIT"
] | null | null | null | Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/PropertyFilePathCtrl.cpp | BreakerOfThings/o3de | f4c59f868c726470ec910623facd836047d059c3 | [
"Apache-2.0",
"MIT"
] | null | null | null | /*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include "PropertyFilePathCtrl.h"
AZ_PUSH_DISABLE_WARNING(4244 4251, "-Wunknown-warning-option")
... | 39.601852 | 140 | 0.636739 | BreakerOfThings |
df18ce567a0c674fe429e126c7cf3560f84d3abd | 9,239 | cpp | C++ | libs/libeventhandler/src/event_handler.cpp | openharmony-sig-ci/appexecfwk_standard | 609acd8632803202bd8af4c2a6bfc99ecf61ea2e | [
"Apache-2.0"
] | 1 | 2021-11-23T08:13:14.000Z | 2021-11-23T08:13:14.000Z | libs/libeventhandler/src/event_handler.cpp | openharmony-sig-ci/appexecfwk_standard | 609acd8632803202bd8af4c2a6bfc99ecf61ea2e | [
"Apache-2.0"
] | null | null | null | libs/libeventhandler/src/event_handler.cpp | openharmony-sig-ci/appexecfwk_standard | 609acd8632803202bd8af4c2a6bfc99ecf61ea2e | [
"Apache-2.0"
] | 1 | 2021-09-13T11:17:54.000Z | 2021-09-13T11:17:54.000Z | /*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* 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 ... | 29.707395 | 106 | 0.677887 | openharmony-sig-ci |
df1d90e79a4ed477c6654e89de578a4a0639334b | 59 | cpp | C++ | lecture/src/cpp/MyRecipeNote/File.cpp | mac-novice-pg2/tool_dev | c988b72f803f24a130e08ef8515ec282119e377f | [
"BSD-3-Clause"
] | null | null | null | lecture/src/cpp/MyRecipeNote/File.cpp | mac-novice-pg2/tool_dev | c988b72f803f24a130e08ef8515ec282119e377f | [
"BSD-3-Clause"
] | 1 | 2018-09-28T13:33:18.000Z | 2018-09-28T13:33:18.000Z | lecture/src/cpp/MyRecipeNote/File.cpp | mac-novice-pg2/tool_dev | c988b72f803f24a130e08ef8515ec282119e377f | [
"BSD-3-Clause"
] | null | null | null | #include "File.h"
File::File()
{
}
File::~File()
{
}
| 4.538462 | 18 | 0.474576 | mac-novice-pg2 |
df1db50c0b217aa8de54ab7f295324b96710a4c2 | 2,618 | cpp | C++ | range-v3/test/view/unique.cpp | jiayuehua/parallelts-range-exploration | 53b574f650995d1f113d663d7217511a93145ba0 | [
"Apache-2.0"
] | 11 | 2018-01-12T18:29:59.000Z | 2022-01-22T21:50:56.000Z | test/view/unique.cpp | pacxx/range-v3 | bf7494563ce555494024a038042ee279eefeec7d | [
"MIT"
] | 15 | 2017-12-19T11:10:41.000Z | 2018-02-13T10:46:13.000Z | test/view/unique.cpp | pacxx/range-v3 | bf7494563ce555494024a038042ee279eefeec7d | [
"MIT"
] | 1 | 2021-01-08T13:17:16.000Z | 2021-01-08T13:17:16.000Z | // Range v3 library
//
// Copyright Eric Niebler 2014
//
// Use, modification and distribution is subject to the
// Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// Project home: https://github.com/ericniebler/range-v3
#includ... | 29.41573 | 86 | 0.627196 | jiayuehua |
df20d52c0b6d4fbab5b4e45af39b69d01d95de12 | 491 | cpp | C++ | calibration-cli/src/main.cpp | mc18g13/teensy-drone | 21a396c44a32b85d6455de2743e52ba2c95bb07d | [
"MIT"
] | null | null | null | calibration-cli/src/main.cpp | mc18g13/teensy-drone | 21a396c44a32b85d6455de2743e52ba2c95bb07d | [
"MIT"
] | null | null | null | calibration-cli/src/main.cpp | mc18g13/teensy-drone | 21a396c44a32b85d6455de2743e52ba2c95bb07d | [
"MIT"
] | null | null | null | #include <Arduino.h>
#include "MARGCalibrationHandler.h"
#include "ReceiverCalibrationHandler.h"
#include <arm_math.h>
#include "MenuOptionHandler.h"
#include "MainMenuHandler.h"
MARGCalibrationHandler margCalibrationHandler;
ReceiverCalibrationHandler receiverHandler;
MainMenuHandler mainMenu;
void setup() {
ma... | 19.64 | 53 | 0.790224 | mc18g13 |
afff9df32294269c04ac98691aede97da9a36648 | 1,351 | cpp | C++ | brackets_match/test/brackets_match_test.cpp | fanck0605/shit-algorithm | 75031bb25b59e0594a792f909a6f97bb0375120d | [
"MIT"
] | null | null | null | brackets_match/test/brackets_match_test.cpp | fanck0605/shit-algorithm | 75031bb25b59e0594a792f909a6f97bb0375120d | [
"MIT"
] | null | null | null | brackets_match/test/brackets_match_test.cpp | fanck0605/shit-algorithm | 75031bb25b59e0594a792f909a6f97bb0375120d | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <map>
int main()
{
std::string bracketList = "([{}])";
std::map<char, char> bracketPairs{{'{', '}'}, {'[', ']'}, {'(', ')'}};
std::vector<char> leftBracketStack;
for (const auto ch : bracketList)
{
char leftBracket;
char rightBracket;
... | 23.701754 | 74 | 0.437454 | fanck0605 |
afffb8aa73229fc9aeffa839acdc88d43c206155 | 15,328 | cpp | C++ | master/autotools-book-files/autotools/book/flaim-ch8-10/flaim/util/viewedit.cpp | AlexRogalskiy/DevArtifacts | 931aabb8cbf27656151c54856eb2ea7d1153203a | [
"MIT"
] | 4 | 2018-09-07T15:35:24.000Z | 2019-03-27T09:48:12.000Z | master/autotools-book-files/autotools/book/flaim-ch8-10/flaim/util/viewedit.cpp | AlexRogalskiy/DevArtifacts | 931aabb8cbf27656151c54856eb2ea7d1153203a | [
"MIT"
] | 371 | 2020-03-04T21:51:56.000Z | 2022-03-31T20:59:11.000Z | master/autotools-book-files/autotools/book/flaim-ch8-10/flaim/util/viewedit.cpp | AlexRogalskiy/DevArtifacts | 931aabb8cbf27656151c54856eb2ea7d1153203a | [
"MIT"
] | 3 | 2019-06-18T19:57:17.000Z | 2020-11-06T03:55:08.000Z | //-------------------------------------------------------------------------
// Desc: Editing routines for the database viewer utility.
// Tabs: 3
//
// Copyright (c) 1992-2001, 2003-2007 Novell, Inc. All Rights Reserved.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of... | 23.838258 | 80 | 0.572482 | AlexRogalskiy |
b303266b3336153638d043eae723858785b0e98b | 2,066 | cpp | C++ | tools/genrpc/genrpc_template.cpp | tkng/pficommon | 1301e1c9f958656e4bc882ae2db9452e8cffab7e | [
"BSD-3-Clause"
] | 48 | 2017-04-03T18:46:24.000Z | 2022-02-28T01:44:05.000Z | tools/genrpc/genrpc_template.cpp | tkng/pficommon | 1301e1c9f958656e4bc882ae2db9452e8cffab7e | [
"BSD-3-Clause"
] | 44 | 2017-02-21T13:13:52.000Z | 2021-02-06T13:08:31.000Z | tools/genrpc/genrpc_template.cpp | tkng/pficommon | 1301e1c9f958656e4bc882ae2db9452e8cffab7e | [
"BSD-3-Clause"
] | 13 | 2016-12-28T05:04:58.000Z | 2021-10-01T02:17:23.000Z | #include "/usr/local/share/pficommon/gen_php.h"
#include "/usr/local/share/pficommon/gen_hs.h"
#include "/usr/local/share/pficommon/gen_null.h"
#define RPC_PROC_BKUP RPC_PROC
#undef RPC_PROC
#define RPC_PROC REFLECT_RPC_PROC
#define RPC_GEN_BKUP RPC_GEN
#undef RPC_GEN
#define RPC_GEN REFLECT_RPC_GEN
#include "<<<SIG... | 22.703297 | 72 | 0.592933 | tkng |
b30559bb90a65e2741c449c685c11b55ca97437d | 2,517 | cpp | C++ | src/DecisionEngine/ConstrainedResource/CalculatedWorkingSystem.cpp | davidbrownell/DavidBrownell_DecisionEngine | f331b57f7b5ab4a5de84595f79df191fc0c13fba | [
"BSL-1.0"
] | null | null | null | src/DecisionEngine/ConstrainedResource/CalculatedWorkingSystem.cpp | davidbrownell/DavidBrownell_DecisionEngine | f331b57f7b5ab4a5de84595f79df191fc0c13fba | [
"BSL-1.0"
] | null | null | null | src/DecisionEngine/ConstrainedResource/CalculatedWorkingSystem.cpp | davidbrownell/DavidBrownell_DecisionEngine | f331b57f7b5ab4a5de84595f79df191fc0c13fba | [
"BSL-1.0"
] | null | null | null | /////////////////////////////////////////////////////////////////////////
///
/// \file CalculatedWorkingSystem.cpp
/// \brief See CalculatedWorkingSystem.h
///
/// \author David Brownell <db@DavidBrownell.com>
/// \date 2020-06-24 15:36:38
///
/// \note
///
/// \bug
//... | 36.478261 | 170 | 0.496623 | davidbrownell |
b308af6133ea26fee0b6963122a63fc74bb85293 | 1,801 | cpp | C++ | aws-cpp-sdk-cognito-idp/source/model/CustomSMSLambdaVersionConfigType.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-cognito-idp/source/model/CustomSMSLambdaVersionConfigType.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2021-10-14T16:57:00.000Z | 2021-10-18T10:47:24.000Z | aws-cpp-sdk-cognito-idp/source/model/CustomSMSLambdaVersionConfigType.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T12:02:58.000Z | 2021-11-09T12:02:58.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/cognito-idp/model/CustomSMSLambdaVersionConfigType.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
... | 23.697368 | 143 | 0.783454 | perfectrecall |
b30fd875160d3b2f84a44a43a43edfd925a1826e | 15,748 | cpp | C++ | src/xtd.drawing/src/xtd/drawing/brushes.cpp | ExternalRepositories/xtd | 5889d69900ad22a00fcb640d7850a1d599cf593a | [
"MIT"
] | 251 | 2019-04-20T02:02:24.000Z | 2022-03-31T09:52:08.000Z | src/xtd.drawing/src/xtd/drawing/brushes.cpp | leanid/xtd | 2e1ea6537218788ca08901faf8915d4100990b53 | [
"MIT"
] | 29 | 2021-01-07T12:52:12.000Z | 2022-03-29T08:42:14.000Z | src/xtd.drawing/src/xtd/drawing/brushes.cpp | leanid/xtd | 2e1ea6537218788ca08901faf8915d4100990b53 | [
"MIT"
] | 27 | 2019-11-21T02:37:44.000Z | 2022-03-30T22:59:14.000Z | #include "../../../include/xtd/drawing/brushes.h"
using namespace xtd::drawing;
solid_brush brushes::transparent() {
return solid_brush(color::from_known_color(known_color::transparent));
}
solid_brush brushes::alice_blue() {
return solid_brush(color::from_known_color(known_color::alice_blue));
}
solid_brush br... | 27.483421 | 83 | 0.781941 | ExternalRepositories |
b316a9dbc71148e4e734dedd9990719f082bc5ad | 1,454 | cpp | C++ | matslise/matslise/periodic.cpp | twist-numerical/matslise | ccce2bd3359963cfdd4b9686cb7b263754e77e7e | [
"MIT"
] | 4 | 2020-08-27T10:10:08.000Z | 2020-09-03T14:06:16.000Z | matslise/matslise/periodic.cpp | twist-numerical/matslise | ccce2bd3359963cfdd4b9686cb7b263754e77e7e | [
"MIT"
] | 7 | 2019-12-16T09:37:59.000Z | 2020-12-01T15:03:00.000Z | matslise/matslise/periodic.cpp | twist-numerical/matslise | ccce2bd3359963cfdd4b9686cb7b263754e77e7e | [
"MIT"
] | 1 | 2020-08-27T14:02:25.000Z | 2020-08-27T14:02:25.000Z | #include "../matslise.h"
#include "../util/find_sector.h"
#include "../util/constants.h"
using namespace matslise;
using namespace Eigen;
using namespace std;
template<typename Scalar>
pair<Y<Scalar, 1, 2>, Array<Scalar, 2, 1>>
PeriodicMatslise<Scalar>::propagate(
const Scalar &E, const Y<Scalar, 1, 2> &y,
... | 39.297297 | 118 | 0.634801 | twist-numerical |
b317cf9c548ebd9e6e16c605107aea308bfd37cc | 895 | cpp | C++ | qwertyattack/KeyPresses.cpp | tblock007/qwertyattack | 9b02531fa896ca269dbaeb1611cc2cc0bbf41de9 | [
"MIT"
] | 1 | 2019-09-11T18:47:52.000Z | 2019-09-11T18:47:52.000Z | qwertyattack/KeyPresses.cpp | tblock007/qwertyattack | 9b02531fa896ca269dbaeb1611cc2cc0bbf41de9 | [
"MIT"
] | null | null | null | qwertyattack/KeyPresses.cpp | tblock007/qwertyattack | 9b02531fa896ca269dbaeb1611cc2cc0bbf41de9 | [
"MIT"
] | 1 | 2019-09-26T03:34:28.000Z | 2019-09-26T03:34:28.000Z | #include "KeyPresses.hpp"
#include <SFML/Config.hpp>
#include "constants.hpp"
namespace qa {
KeyPresses::KeyPresses() : pressMask_(0)
{
}
KeyPresses::KeyPresses(sf::Uint32 mask) : pressMask_(mask)
{
}
void KeyPresses::reset()
{
pressMask_ = 0;
}
bool KeyPresses::isPressed(sf::Int32 i) const
{
return ((pres... | 16.886792 | 77 | 0.667039 | tblock007 |
b31b497d78db30005717f378e2c9bee7f0e8530f | 376 | cpp | C++ | source/tiny_string_test.cpp | TerrySoba/DosPlatformGame | ce688db9e5b9fb1db6180774c73aeb0aeb16f4a8 | [
"MIT"
] | null | null | null | source/tiny_string_test.cpp | TerrySoba/DosPlatformGame | ce688db9e5b9fb1db6180774c73aeb0aeb16f4a8 | [
"MIT"
] | null | null | null | source/tiny_string_test.cpp | TerrySoba/DosPlatformGame | ce688db9e5b9fb1db6180774c73aeb0aeb16f4a8 | [
"MIT"
] | null | null | null | #include "unit_test.h"
#include "tiny_string.h"
#include <stdio.h>
TEST(StringConcatTest)
{
TinyString str1 = "Hello";
TinyString str2 = "World";
ASSERT_TRUE(str1 + str2 == "HelloWorld");
ASSERT_TRUE(str1 + "Game" == "HelloGame");
ASSERT_TRUE("Nice" + str2 == "NiceWorld");
ASSERT_TRUE(str1 + "... | 23.5 | 46 | 0.617021 | TerrySoba |
b31bc20245b1c2da9a5e82afcd552231ed788729 | 1,285 | cpp | C++ | src/lib/util/tests/TestUtToken.cpp | MarkLeone/PostHaste | 56083e30a58489338e39387981029488d7af2390 | [
"MIT"
] | 4 | 2015-05-07T03:29:52.000Z | 2016-08-29T17:30:15.000Z | src/lib/util/tests/TestUtToken.cpp | MarkLeone/PostHaste | 56083e30a58489338e39387981029488d7af2390 | [
"MIT"
] | 1 | 2018-05-14T04:41:04.000Z | 2018-05-14T04:41:04.000Z | src/lib/util/tests/TestUtToken.cpp | MarkLeone/PostHaste | 56083e30a58489338e39387981029488d7af2390 | [
"MIT"
] | null | null | null | #include "util/UtToken.h"
#include "util/UtTokenFactory.h"
#include <gtest/gtest.h>
#include <list>
#include <stdio.h>
#include <vector>
class TestUtToken : public testing::Test { };
TEST_F(TestUtToken, TestTokens)
{
UtTokenFactory factory;
UtToken t1 = factory.Get("foo");
UtToken t2 = factory.Get("foo");... | 23.363636 | 59 | 0.607004 | MarkLeone |
b31ca6d108369ab3e0a817dec4327a44c69d4763 | 36,105 | cpp | C++ | ExampleViewAllySkillPanel_publish/WarcraftIII_DLL_126-127/DotAAllstarsHelper/BlpReadWrite.cpp | UnrealKaraulov/DotaAllstarsHelper_DLL_FOR_DOTA | ed621a70540cdab03db8acc7cc6b80794363abcd | [
"Unlicense"
] | 1 | 2021-10-31T19:47:18.000Z | 2021-10-31T19:47:18.000Z | ExampleViewAllySkillPanel_publish/WarcraftIII_DLL_126-127/DotAAllstarsHelper/BlpReadWrite.cpp | UnrealKaraulov/DotaAllstarsHelper_DLL_FOR_DOTA | ed621a70540cdab03db8acc7cc6b80794363abcd | [
"Unlicense"
] | 1 | 2021-11-22T05:56:47.000Z | 2022-01-12T10:55:38.000Z | ExampleViewAllySkillPanel_publish/WarcraftIII_DLL_126-127/DotAAllstarsHelper/BlpReadWrite.cpp | UnrealKaraulov/DotaAllstarsHelper_DLL_FOR_DOTA | ed621a70540cdab03db8acc7cc6b80794363abcd | [
"Unlicense"
] | 1 | 2021-09-27T14:35:34.000Z | 2021-09-27T14:35:34.000Z | #include "BlpReadWrite.h"
BOOL IsPowerOfTwo( const long i )
{
long t = i;
while ( t % 2 == 0 )
t >>= 1;
return ( t == 1 );
}
BOOL GetFirstBytes( const char* filename, char* buffer, unsigned long length )
{
FILE* file;
fopen_s( &file, filename, "rb" );
if ( !file )
return FALSE;
if ( fread( buffer, 1, leng... | 27.414579 | 186 | 0.605401 | UnrealKaraulov |
b31dfd9b9099f2aaf1c77dd643ac702de9b80669 | 2,599 | hpp | C++ | include/pcp/kdtree/linked_kdtree_node.hpp | Q-Minh/octree | 0c3fd5a791d660b37461daf968a68ffb1c80b965 | [
"BSL-1.0"
] | 2 | 2021-03-10T09:57:45.000Z | 2021-04-13T21:19:57.000Z | include/pcp/kdtree/linked_kdtree_node.hpp | Q-Minh/octree | 0c3fd5a791d660b37461daf968a68ffb1c80b965 | [
"BSL-1.0"
] | 22 | 2020-12-07T20:09:39.000Z | 2021-04-12T20:42:59.000Z | include/pcp/kdtree/linked_kdtree_node.hpp | Q-Minh/octree | 0c3fd5a791d660b37461daf968a68ffb1c80b965 | [
"BSL-1.0"
] | null | null | null | #ifndef PCP_KDTREE_KDTREE_NODE_HPP
#define PCP_KDTREE_KDTREE_NODE_HPP
/**
* @file
* @ingroup kd-tree
*/
#include <memory>
#include <vector>
namespace pcp {
/**
* @ingroup linked-kd-tree
* @brief
* A kdtree node at internal should only contain an element,
* while a leaf node may contain more than one element... | 25.480392 | 74 | 0.632551 | Q-Minh |
b3218bbc200b0178bfe069050d27c97a6d655801 | 457 | cpp | C++ | data/shaders/multi_material_mat.cpp | nczeroshift/nctoolkit | c9f0be533843d52036ec45200512ac54c1faeb11 | [
"MIT"
] | 2 | 2016-10-16T22:26:01.000Z | 2022-03-29T14:32:15.000Z | data/shaders/multi_material_mat.cpp | nczeroshift/nctoolkit | c9f0be533843d52036ec45200512ac54c1faeb11 | [
"MIT"
] | 1 | 2015-12-08T00:27:10.000Z | 2016-10-30T21:59:50.000Z | data/shaders/multi_material_mat.cpp | nczeroshift/nctoolkit | c9f0be533843d52036ec45200512ac54c1faeb11 | [
"MIT"
] | 2 | 2016-07-18T21:42:10.000Z | 2019-12-16T01:33:20.000Z |
#pragma vertex_shader_glx2
#include "vsh.cpp"
#include "material_vsh.cpp"
void main()
{
vec4 P = gl_Vertex;
vec3 N = gl_Normal;
material_vsh_prepare(gl_ModelViewMatrix,gl_NormalMatrix,P.xyz, N);
gl_Position = gl_ModelViewProjectionMatrix * P;
}
#pragma fragment_shader_glx2
#include "fsh.cpp"
#include "mate... | 15.758621 | 68 | 0.743982 | nczeroshift |
b3242bc1d5789a307100bed1d2fcc24134356ab0 | 1,585 | cpp | C++ | Source Files/item.cpp | nicholaschiasson/d00m3d | ffca509901686bc5eb21baf15570989808f653a9 | [
"MIT"
] | null | null | null | Source Files/item.cpp | nicholaschiasson/d00m3d | ffca509901686bc5eb21baf15570989808f653a9 | [
"MIT"
] | null | null | null | Source Files/item.cpp | nicholaschiasson/d00m3d | ffca509901686bc5eb21baf15570989808f653a9 | [
"MIT"
] | null | null | null | #include "item.h"
Item::Item()
{
}
Item::Item(Ogre::SceneManager *sceneManager, Ogre::SceneNode* parentNode, PhysicsEngine &physicsEngine, Ogre::Vector3 location, Resource::RESOURCE_TYPE type, unsigned int parentID)
{
Initialize(sceneManager, parentNode, physicsEngine, location, type, parentID);
}
Item::~Item()
{
}
... | 23.656716 | 191 | 0.744479 | nicholaschiasson |
b32674bd704a49e2ec0ac72dbbe4b797e1662a41 | 229 | cpp | C++ | URI/Ad-Hoc/1397.cpp | danielcunhaa/Competitive-Programming | 6868a8dfb8000fd10650a692c548a86272f19735 | [
"MIT"
] | 1 | 2021-04-03T11:17:33.000Z | 2021-04-03T11:17:33.000Z | URI/Ad-Hoc/1397.cpp | danielcunhaa/Competitive-Programming | 6868a8dfb8000fd10650a692c548a86272f19735 | [
"MIT"
] | null | null | null | URI/Ad-Hoc/1397.cpp | danielcunhaa/Competitive-Programming | 6868a8dfb8000fd10650a692c548a86272f19735 | [
"MIT"
] | 1 | 2020-07-24T15:27:46.000Z | 2020-07-24T15:27:46.000Z | #include <cstdio>
int main() {
int N, A, B;
int X, Y;
while(scanf("%d", &N) && N!=0) {
X = Y = 0;
while(N--) {
scanf("%d %d", &A, &B);
if(A != B) (A > B) ? ++X : ++Y;
}
printf("%d %d\n", X, Y);
}
return 0;
} | 13.470588 | 34 | 0.388646 | danielcunhaa |
b32bf360638ec756575175c2bcb10065c96c610c | 8,118 | cpp | C++ | vtStorAtaProtocol/Platform/Linux/ProtocolAtaPassThrough.cpp | virtium/vtStor | 069d3e1ddb1c5589826dfe59714a1479c4af8f51 | [
"Apache-2.0"
] | 3 | 2015-04-27T07:53:57.000Z | 2017-12-26T08:55:24.000Z | vtStorAtaProtocol/Platform/Linux/ProtocolAtaPassThrough.cpp | virtium/vtStor | 069d3e1ddb1c5589826dfe59714a1479c4af8f51 | [
"Apache-2.0"
] | 18 | 2015-04-08T21:44:45.000Z | 2016-03-09T23:44:51.000Z | vtStorAtaProtocol/Platform/Linux/ProtocolAtaPassThrough.cpp | virtium/vtStor | 069d3e1ddb1c5589826dfe59714a1479c4af8f51 | [
"Apache-2.0"
] | 19 | 2015-05-15T07:48:05.000Z | 2019-09-16T09:12:05.000Z | /*
<License>
Copyright 2016 Virtium Technology
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 ... | 43.881081 | 195 | 0.641907 | virtium |
b32dca93360bb7f208647226587b3c824edaaff4 | 2,056 | hh | C++ | include/mcnla/core/matrix/collection/base/matrix_collection_wrapper.hh | emfomy/mcnla | 9f9717f4d6449bbd467c186651856d6212035667 | [
"MIT"
] | null | null | null | include/mcnla/core/matrix/collection/base/matrix_collection_wrapper.hh | emfomy/mcnla | 9f9717f4d6449bbd467c186651856d6212035667 | [
"MIT"
] | null | null | null | include/mcnla/core/matrix/collection/base/matrix_collection_wrapper.hh | emfomy/mcnla | 9f9717f4d6449bbd467c186651856d6212035667 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// @file include/mcnla/core/matrix/collection/base/matrix_collection_wrapper.hh
/// @brief The definition of matrix collection wrapper.
///
/// @author Mu Yang <<emfomy@gmail.com>>
///... | 29.797101 | 128 | 0.562257 | emfomy |
b32dd58447a592738e9f75dbd3ecccbb7f8f4609 | 3,679 | hpp | C++ | include/immediate_buckling_energy.hpp | liuwei792966953/stitch | 108e3dbd3410331c741c7cb166f93bbffa11b369 | [
"Zlib"
] | 1 | 2021-01-23T05:20:09.000Z | 2021-01-23T05:20:09.000Z | include/immediate_buckling_energy.hpp | liuwei792966953/stitch | 108e3dbd3410331c741c7cb166f93bbffa11b369 | [
"Zlib"
] | null | null | null | include/immediate_buckling_energy.hpp | liuwei792966953/stitch | 108e3dbd3410331c741c7cb166f93bbffa11b369 | [
"Zlib"
] | null | null | null |
#pragma once
#include "energy.hpp"
class ImmediateBucklingEnergy : public BaseEnergy
{
public:
ImmediateBucklingEnergy(double kb) : kb_(kb) {}
void precompute(const TriMesh& mesh) override;
void getForceAndHessian(const TriMesh& mesh, const VecXd& x,
VecXd& F,
SparseMatrixd& dFdx,
SparseM... | 27.661654 | 102 | 0.581952 | liuwei792966953 |
b32f38e8b222ae3d4f888fdcb5ebf711a62898a5 | 9,759 | cpp | C++ | LinaEditor/src/Panels/ECSPanel.cpp | moonantonio/LinaEngine | fe5a91a85c64dd0719656eb38e2fb37037bacfc1 | [
"MIT"
] | 10 | 2018-09-30T22:29:27.000Z | 2018-10-08T14:04:42.000Z | LinaEditor/src/Panels/ECSPanel.cpp | moonantonio/LinaEngine | fe5a91a85c64dd0719656eb38e2fb37037bacfc1 | [
"MIT"
] | 15 | 2018-10-02T22:14:17.000Z | 2018-10-12T08:01:36.000Z | LinaEditor/src/Panels/ECSPanel.cpp | moonantonio/LinaEngine | fe5a91a85c64dd0719656eb38e2fb37037bacfc1 | [
"MIT"
] | 1 | 2018-09-30T16:37:10.000Z | 2018-09-30T16:37:10.000Z | /*
This file is a part of: Lina Engine
https://github.com/inanevin/LinaEngine
Author: Inan Evin
http://www.inanevin.com
Copyright (c) [2018-2020] [Inan Evin]
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 t... | 38.270588 | 145 | 0.632134 | moonantonio |
b330b86f9a0166d2a0173a9b1db0c93bb3ff20ee | 100 | cpp | C++ | source/slang/slang-emit-context.cpp | KostasAndrianos/slang | 6cbc3929a54d37bd23cb5efa8e3320ba02f78b2f | [
"MIT"
] | null | null | null | source/slang/slang-emit-context.cpp | KostasAndrianos/slang | 6cbc3929a54d37bd23cb5efa8e3320ba02f78b2f | [
"MIT"
] | null | null | null | source/slang/slang-emit-context.cpp | KostasAndrianos/slang | 6cbc3929a54d37bd23cb5efa8e3320ba02f78b2f | [
"MIT"
] | null | null | null | // slang-emit-context.cpp
#include "slang-emit-context.h"
namespace Slang {
} // namespace Slang
| 12.5 | 31 | 0.71 | KostasAndrianos |
b332983e9973304dba040a625175348271461cc3 | 1,338 | cpp | C++ | osquery/config/parsers/kafka_topics.cpp | msekletar/osquery | beca5e68e97c5ff411b082fe871c69edcba1e641 | [
"BSD-3-Clause"
] | 7 | 2018-03-12T10:52:37.000Z | 2020-09-11T14:09:23.000Z | osquery/config/parsers/kafka_topics.cpp | msekletar/osquery | beca5e68e97c5ff411b082fe871c69edcba1e641 | [
"BSD-3-Clause"
] | 1 | 2021-03-20T05:24:15.000Z | 2021-03-20T05:24:15.000Z | osquery/config/parsers/kafka_topics.cpp | Acidburn0zzz/osquery | 1cedf8d57310b4ac3ae0a39fe33dce00699f4a3b | [
"BSD-3-Clause"
] | 4 | 2018-03-12T10:52:40.000Z | 2020-08-18T09:03:17.000Z | /*
* Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#in... | 29.086957 | 79 | 0.697309 | msekletar |
b332b01fafcdbbfc42cf4d24c2dc090214a361e4 | 1,195 | cpp | C++ | src/luset_state_pkg/src/luset_state_package/node.cpp | nicholaspalomo/LUSETcontrol | 5576daf9551778804cd9dce8496a3f9ade6c4932 | [
"MIT"
] | null | null | null | src/luset_state_pkg/src/luset_state_package/node.cpp | nicholaspalomo/LUSETcontrol | 5576daf9551778804cd9dce8496a3f9ade6c4932 | [
"MIT"
] | null | null | null | src/luset_state_pkg/src/luset_state_package/node.cpp | nicholaspalomo/LUSETcontrol | 5576daf9551778804cd9dce8496a3f9ade6c4932 | [
"MIT"
] | null | null | null | /**
* @file node.cpp
* @author Nicholas José Palomo (npalomo@student.ethz.ch)
* @brief This is the source code for the /LusetState node. This node subscribes to messages coming from the Indel inco_32.so library (or from a simulation model - not yet implemented). See https://google.github.io/styleguide/cppguide.html ... | 39.833333 | 271 | 0.703766 | nicholaspalomo |
b333454a393900b19684355abd32895647e8d03c | 430 | cpp | C++ | CodeForces/Complete/300-399/337A-Puzzles.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 36 | 2019-12-27T08:23:08.000Z | 2022-01-24T20:35:47.000Z | CodeForces/Complete/300-399/337A-Puzzles.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 10 | 2019-11-13T02:55:18.000Z | 2021-10-13T23:28:09.000Z | CodeForces/Complete/300-399/337A-Puzzles.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 53 | 2020-08-15T11:08:40.000Z | 2021-10-09T15:51:38.000Z | #include <cstdio>
#include <algorithm>
int main(){
int n(0), m(0); scanf("%d %d", &n, &m);
int *puzzles = new int[m];
for(int k = 0; k < m; k++){scanf("%d", puzzles + k);}
std::sort(puzzles, puzzles + m);
int output(10001);
for(int k = 0; k <= m - n; k++){
int diff = puzzles[k + n - ... | 22.631579 | 57 | 0.488372 | Ashwanigupta9125 |
b3363daafb6115a5f2b23466386b2da3fd977d7b | 14,586 | cpp | C++ | thirdparty/geogram/src/lib/exploragram/hexdom/extra_connectivity.cpp | AmericaMakes/OASIS-marcwang | 7aa10040251d7a1b807a773a45d123e1a52faac5 | [
"BSD-2-Clause"
] | 1 | 2021-03-07T14:47:09.000Z | 2021-03-07T14:47:09.000Z | thirdparty/geogram/src/lib/exploragram/hexdom/extra_connectivity.cpp | AmericaMakes/OASIS-marcwang | 7aa10040251d7a1b807a773a45d123e1a52faac5 | [
"BSD-2-Clause"
] | null | null | null | thirdparty/geogram/src/lib/exploragram/hexdom/extra_connectivity.cpp | AmericaMakes/OASIS-marcwang | 7aa10040251d7a1b807a773a45d123e1a52faac5 | [
"BSD-2-Clause"
] | 1 | 2021-03-07T00:24:57.000Z | 2021-03-07T00:24:57.000Z | /*
* OGF/Graphite: Geometry and Graphics Programming Library + Utilities
* Copyright (C) 2000-2015 INRIA - Project ALICE
*
* 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... | 41.913793 | 184 | 0.517894 | AmericaMakes |
b337a09cf7460124080e9068428e0e9e05783842 | 53,736 | cpp | C++ | tests/integrationtests/db/SqliteDatabaseIntegrationTest.cpp | commshare/easyhttpcpp | 757ec75679c1cbc5f04c81a30133f4bcd3e780f4 | [
"MIT"
] | null | null | null | tests/integrationtests/db/SqliteDatabaseIntegrationTest.cpp | commshare/easyhttpcpp | 757ec75679c1cbc5f04c81a30133f4bcd3e780f4 | [
"MIT"
] | null | null | null | tests/integrationtests/db/SqliteDatabaseIntegrationTest.cpp | commshare/easyhttpcpp | 757ec75679c1cbc5f04c81a30133f4bcd3e780f4 | [
"MIT"
] | null | null | null | /*
* Copyright 2017 Sony Corporation
*/
#include "gtest/gtest.h"
#include <stdint.h>
#include "Poco/Path.h"
#include "Poco/Data/SQLite/Connector.h"
#include "easyhttpcpp/common/FileUtil.h"
#include "easyhttpcpp/common/StringUtil.h"
#include "easyhttpcpp/db/AutoSqliteTransaction.h"
#include "easyhttpcpp/db/SqlExce... | 34.556913 | 122 | 0.678279 | commshare |
b3392d29bb58dbf1bb0761a9f19bbdd1067bbd55 | 12,390 | cpp | C++ | src/main/cpp/Encoders.cpp | AlphaDragon601/SwerveDrive2_2022 | 7e575906ea71803ece25ee293cd74e0e9ea322b5 | [
"BSD-3-Clause"
] | null | null | null | src/main/cpp/Encoders.cpp | AlphaDragon601/SwerveDrive2_2022 | 7e575906ea71803ece25ee293cd74e0e9ea322b5 | [
"BSD-3-Clause"
] | null | null | null | src/main/cpp/Encoders.cpp | AlphaDragon601/SwerveDrive2_2022 | 7e575906ea71803ece25ee293cd74e0e9ea322b5 | [
"BSD-3-Clause"
] | null | null | null | /*
Encoders.cpp
Created on: Jan 3, 2020
Author: 5561
*/
#include "rev/CANSparkMax.h"
#include <frc/AnalogInput.h>
#include "Enums.hpp"
#include <frc/smartdashboard/SmartDashboard.h>
#include "Encoders.hpp"
#include "Const.hpp"
double V_WheelAngleRaw[E_RobotCornerSz];
double V_WheelAngle[E_RobotCornerSz];
dou... | 52.723404 | 182 | 0.695238 | AlphaDragon601 |
b33cc8d3b447236f074bd9fd1d238079ae9b3eac | 4,431 | cpp | C++ | src/patternScan/TriangleScanner.cpp | sroehling/ChartPatternRecognitionLib | d9bd25c0fc5a8942bb98c74c42ab52db80f680c1 | [
"MIT"
] | 9 | 2019-07-15T19:10:07.000Z | 2021-12-14T12:16:18.000Z | src/patternScan/TriangleScanner.cpp | sroehling/ChartPatternRecognitionLib | d9bd25c0fc5a8942bb98c74c42ab52db80f680c1 | [
"MIT"
] | null | null | null | src/patternScan/TriangleScanner.cpp | sroehling/ChartPatternRecognitionLib | d9bd25c0fc5a8942bb98c74c42ab52db80f680c1 | [
"MIT"
] | 2 | 2020-05-23T03:25:25.000Z | 2021-11-19T16:41:44.000Z | /*
* WedgeScanner.cpp
*
* Created on: Aug 1, 2014
* Author: sroehling
*/
#include <TriangleScanner.h>
#include "ChartSegment.h"
#include "DebugLog.h"
TriangleScanner::TriangleScanner(const DoubleRange &upperTrendLineSlopeRange,
const DoubleRange &lowerTrendLineSlopeRange)
:... | 30.986014 | 131 | 0.713157 | sroehling |
b33fa5944016c9cda050601679f276ca6cbd4fe8 | 820 | tpp | C++ | src/delaunay_static_cpu_interpolator.tpp | bszhu/interpolators | 3a3274e5ce89a6532168b3305c013e2ab590a02c | [
"MIT"
] | null | null | null | src/delaunay_static_cpu_interpolator.tpp | bszhu/interpolators | 3a3274e5ce89a6532168b3305c013e2ab590a02c | [
"MIT"
] | 3 | 2021-04-03T23:09:23.000Z | 2021-06-25T09:07:36.000Z | src/delaunay_static_cpu_interpolator.tpp | bszhu/interpolators | 3a3274e5ce89a6532168b3305c013e2ab590a02c | [
"MIT"
] | null | null | null | #include "delaunay_static_cpu_interpolator.h"
template<typename index_t, int N_DIMS, int N_OPS>
DelaunayStaticCPUInterpolator<index_t, N_DIMS, N_OPS>::DelaunayStaticCPUInterpolator(
operator_set_evaluator_iface *supporting_point_evaluator,
const std::array<int, N_DIMS> &axes_points,
const std:... | 54.666667 | 85 | 0.719512 | bszhu |
b342f0fe086bfb4beacf8b35ebe6fa79cd9f07a3 | 1,241 | cc | C++ | src/image/utils_test.cc | kofuk/pixel-terrain | f39e2a0120aab5a11311f57cfd1ab46efa65fddd | [
"MIT"
] | 2 | 2020-10-16T08:46:45.000Z | 2020-11-04T02:19:19.000Z | src/image/utils_test.cc | kofuk/minecraft-image-generator | ef2f7deb2daac7f7c2cfb468ef39e0cdc8b33db7 | [
"MIT"
] | null | null | null | src/image/utils_test.cc | kofuk/minecraft-image-generator | ef2f7deb2daac7f7c2cfb468ef39e0cdc8b33db7 | [
"MIT"
] | null | null | null | // SPDX-License-Identifier: MIT
#include <filesystem>
#include <boost/test/tools/interface.hpp>
#include <boost/test/unit_test.hpp>
#include <boost/test/unit_test_suite.hpp>
#include "image/utils.hh"
#include "utils/path_hack.hh"
using namespace pixel_terrain;
BOOST_AUTO_TEST_CASE(make_output_name_test) {
std:... | 32.657895 | 74 | 0.664786 | kofuk |
b3456298caec8573eb7cdddb733a121e383eba23 | 14,197 | cpp | C++ | src/LuaInterpolate.cpp | perweij/tundra | 3384818fcf389a897de2463119a7e00de9da70e0 | [
"MIT"
] | 262 | 2015-01-15T09:52:46.000Z | 2022-03-26T19:10:54.000Z | src/LuaInterpolate.cpp | perweij/tundra | 3384818fcf389a897de2463119a7e00de9da70e0 | [
"MIT"
] | 78 | 2015-01-23T09:10:45.000Z | 2021-04-25T03:02:53.000Z | src/LuaInterpolate.cpp | perweij/tundra | 3384818fcf389a897de2463119a7e00de9da70e0 | [
"MIT"
] | 44 | 2015-03-13T22:15:24.000Z | 2022-03-27T15:06:27.000Z |
#include "MemAllocHeap.hpp"
#include "Buffer.hpp"
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
extern "C" {
#include "lua.h"
#include "lauxlib.h"
}
namespace t2
{
struct LuaEnvLookup
{
lua_State *m_LuaState;
int m_EnvIndex;
int m_VarIndex;
};
class LuaEnvLookupScope
{
private:
lu... | 21.032593 | 125 | 0.541241 | perweij |
b3458a8bc057840100266afbe0e26931be313b45 | 1,893 | cpp | C++ | POSN Camp1/toi_worldcup.cpp | ParamaaS/ParamaaS-Cpp-code- | a6c78151defe38d1460cde2b005a67be5a1d092d | [
"MIT"
] | null | null | null | POSN Camp1/toi_worldcup.cpp | ParamaaS/ParamaaS-Cpp-code- | a6c78151defe38d1460cde2b005a67be5a1d092d | [
"MIT"
] | null | null | null | POSN Camp1/toi_worldcup.cpp | ParamaaS/ParamaaS-Cpp-code- | a6c78151defe38d1460cde2b005a67be5a1d092d | [
"MIT"
] | null | null | null | #include<stdio.h>
char name[10][25];
int s[10][10],p[10],so[10],rem[10];
int c,c2,g[10],d[10],idx[10],dif[10];
main()
{
for(c=1;c<=4;c++)
{
scanf("%s",name[c]);
}
for(c=1;c<=4;c++)
{
for(c2=1;c2<=4;c2++)
{
scanf("%d",&s[c][c2]);
if(c==1) g[1]+=s[1][c2];
else if(c==2) g[2]+=s[2][c2];
... | 15.907563 | 47 | 0.348653 | ParamaaS |
b3465a1ea06f2959df68fc58697a3aa36c2d89aa | 1,001 | cpp | C++ | src/UserData.cpp | maxmcguire/rocket | d7df8a698da25ed0aae125579fd2a58e3f07c48b | [
"MIT"
] | 6 | 2015-10-07T22:43:18.000Z | 2021-12-20T05:48:54.000Z | src/UserData.cpp | maxmcguire/rocket | d7df8a698da25ed0aae125579fd2a58e3f07c48b | [
"MIT"
] | null | null | null | src/UserData.cpp | maxmcguire/rocket | d7df8a698da25ed0aae125579fd2a58e3f07c48b | [
"MIT"
] | 3 | 2015-06-19T04:58:50.000Z | 2020-01-19T16:19:22.000Z | /*
* RocketVM
* Copyright (c) 2011 Max McGuire
*
* See copyright notice in COPYRIGHT
*/
extern "C"
{
#include "lua.h"
}
#include "Global.h"
#include "UserData.h"
#include "State.h"
#include "Table.h"
#include <stdlib.h>
UserData* UserData_Create(lua_State* L, size_t size, Table* env)
{
ASSERT(env != NULL);... | 21.297872 | 110 | 0.629371 | maxmcguire |
b348374945b91d5b2125b34ffb65e00c20f0a5ab | 1,754 | cpp | C++ | KROSS/src/Kross/Util/Util.cpp | WillianKoessler/KROSS-ENGINE | 0e680b455ffd071565fe8b99343805ad16ca1e91 | [
"Apache-2.0"
] | null | null | null | KROSS/src/Kross/Util/Util.cpp | WillianKoessler/KROSS-ENGINE | 0e680b455ffd071565fe8b99343805ad16ca1e91 | [
"Apache-2.0"
] | null | null | null | KROSS/src/Kross/Util/Util.cpp | WillianKoessler/KROSS-ENGINE | 0e680b455ffd071565fe8b99343805ad16ca1e91 | [
"Apache-2.0"
] | null | null | null | #include "Kross_pch.h"
#include "Util.h"
namespace Kross {
void append(char *dest, size_t size, const char *str)
{
if (!dest || !str) return;
strcat_s(dest, size, str);
//std::string buffer(dest);
//std::string copy = buffer;
//buffer += str;
//size_t size = buffer.size();
//char *result = new char[si... | 21.654321 | 75 | 0.607754 | WillianKoessler |
b34a8d8475ac0a55251e620005705e06b8f649db | 316 | hpp | C++ | src/Qt5Gui/QTextDocumentFragment.hpp | dafrito/luacxx | 278bf8a7c6664536ea7f1dd1f59d35b6fb8d2dad | [
"MIT"
] | 128 | 2015-01-07T19:47:09.000Z | 2022-01-22T19:42:14.000Z | src/Qt5Gui/QTextDocumentFragment.hpp | dafrito/luacxx | 278bf8a7c6664536ea7f1dd1f59d35b6fb8d2dad | [
"MIT"
] | null | null | null | src/Qt5Gui/QTextDocumentFragment.hpp | dafrito/luacxx | 278bf8a7c6664536ea7f1dd1f59d35b6fb8d2dad | [
"MIT"
] | 24 | 2015-01-07T19:47:10.000Z | 2022-01-25T17:42:37.000Z | #ifndef luacxx_QTextDocumentFragment_INCLUDED
#define luacxx_QTextDocumentFragment_INCLUDED
#include "../stack.hpp"
#include <QTextDocumentFragment>
LUA_METATABLE_BUILT(QTextDocumentFragment)
extern "C" int luaopen_Qt5Gui_QTextDocumentFragment(lua_State* const);
#endif // luacxx_QTextDocumentFragment_INCLUDED
| 24.307692 | 70 | 0.857595 | dafrito |
b34f448a8229b80e4cdef61928bf2e012013e64b | 5,974 | cpp | C++ | lib/src/hamiltonian/kp/TI3DKpParams.cpp | mirzaelahi/quest | c433175802014386c2b1bf3c8932cd66b0d37c8e | [
"Apache-2.0"
] | null | null | null | lib/src/hamiltonian/kp/TI3DKpParams.cpp | mirzaelahi/quest | c433175802014386c2b1bf3c8932cd66b0d37c8e | [
"Apache-2.0"
] | null | null | null | lib/src/hamiltonian/kp/TI3DKpParams.cpp | mirzaelahi/quest | c433175802014386c2b1bf3c8932cd66b0d37c8e | [
"Apache-2.0"
] | null | null | null | /*
* File: TI3DKpParams.cpp
* Author: K M Masum Habib <masum.habib@gmail.com>
*
* Created on September 12, 2014, 9:49 AM
*/
#include "hamiltonian/kp/TI3DKpParams.h"
namespace qmicad{namespace hamiltonian{
TI3DKpParams::TI3DKpParams(const string material,
const string &prefix):cxhamparams(prefix)
{
... | 28.179245 | 101 | 0.490793 | mirzaelahi |
b34f5322e95c6dfb58a48c59ca9a5609c89dfed7 | 821 | cpp | C++ | test/unit-XmlElementEmpty.cpp | Luchev/uni-xml-parser | 2a30d317617a19dd0c34b1788e478bd777f218ac | [
"MIT"
] | null | null | null | test/unit-XmlElementEmpty.cpp | Luchev/uni-xml-parser | 2a30d317617a19dd0c34b1788e478bd777f218ac | [
"MIT"
] | null | null | null | test/unit-XmlElementEmpty.cpp | Luchev/uni-xml-parser | 2a30d317617a19dd0c34b1788e478bd777f218ac | [
"MIT"
] | null | null | null | #include <lib/catch.hpp>
#include <test/test-utilities.hpp>
#include <test/test-XmlElementEmpty.hpp>
TEST_CASE("XmlElement set/getName() correctness", "[xmlElement]") {
REQUIRE(testXmlElementEmptyName());
}
TEST_CASE("XmlElement set/getParent() correctness", "[xmlElement]") {
REQUIRE(testXmlElementEmptyParent... | 34.208333 | 73 | 0.774665 | Luchev |
b354d97c0d2b93694906a10965ca1bd3eb263aa2 | 1,009 | cpp | C++ | samples/bbcnews/app/ui/common/cell.cpp | reubenscratton/oaknut | 03b37965ad84745bd5c077a27d8b53d58a173662 | [
"MIT"
] | 5 | 2019-10-04T05:10:06.000Z | 2021-02-03T23:29:10.000Z | samples/bbcnews/app/ui/common/cell.cpp | reubenscratton/oaknut | 03b37965ad84745bd5c077a27d8b53d58a173662 | [
"MIT"
] | null | null | null | samples/bbcnews/app/ui/common/cell.cpp | reubenscratton/oaknut | 03b37965ad84745bd5c077a27d8b53d58a173662 | [
"MIT"
] | 2 | 2019-09-27T00:34:36.000Z | 2020-10-27T09:44:26.000Z | //
// BNCell.m
// BBCNews
//
// Copyright (c) 2014 BBC News. All rights reserved.
//
#include "cell.h"
#include "cellsmodule.h"
BNCell::BNCell(BNCellsModule *module) {
_module = module;
_usesScrollviewOffset = module->_usesScrollviewOffset;
COLOR color = _module->getBackgroundColor();
if (color) {... | 19.784314 | 77 | 0.717542 | reubenscratton |
b35502acb01046f23e2883a3f0e49e59f3efb63b | 62 | cpp | C++ | test/compile_include_rope_2.cpp | eightysquirrels/text | d935545648777786dc196a75346cde8906da846a | [
"BSL-1.0"
] | null | null | null | test/compile_include_rope_2.cpp | eightysquirrels/text | d935545648777786dc196a75346cde8906da846a | [
"BSL-1.0"
] | 1 | 2021-03-05T12:56:59.000Z | 2021-03-05T13:11:53.000Z | test/compile_include_rope_2.cpp | eightysquirrels/text | d935545648777786dc196a75346cde8906da846a | [
"BSL-1.0"
] | 3 | 2019-10-30T18:38:15.000Z | 2021-03-05T12:10:13.000Z | #include <boost/text/rope.hpp>
#include <boost/text/rope.hpp>
| 20.666667 | 30 | 0.741935 | eightysquirrels |
b355cbb861d608b3a68624748d2f081043b685b0 | 2,319 | hpp | C++ | Lib/Chip/Unknown/Holtek/ht32f275x/SysTick.hpp | cjsmeele/Kvasir | c8d2acd8313ae52d78259ee2d409b963925f77d7 | [
"Apache-2.0"
] | 376 | 2015-07-17T01:41:20.000Z | 2022-03-26T04:02:49.000Z | Lib/Chip/Unknown/Holtek/ht32f275x/SysTick.hpp | cjsmeele/Kvasir | c8d2acd8313ae52d78259ee2d409b963925f77d7 | [
"Apache-2.0"
] | 59 | 2015-07-03T21:30:13.000Z | 2021-03-05T11:30:08.000Z | Lib/Chip/Unknown/Holtek/ht32f275x/SysTick.hpp | cjsmeele/Kvasir | c8d2acd8313ae52d78259ee2d409b963925f77d7 | [
"Apache-2.0"
] | 53 | 2015-07-14T12:17:06.000Z | 2021-06-04T07:28:40.000Z | #pragma once
#include <Register/Utility.hpp>
namespace Kvasir {
//SysTick
namespace SystickCtrl{ ///<CTRL
using Addr = Register::Address<0xe000e010,0x0000fff8,0x00000000,unsigned>;
///ENABLE
constexpr Register::FieldLocation<Addr,Register::maskFromRange(0,0),Register::ReadWriteAccess,uns... | 55.214286 | 127 | 0.705476 | cjsmeele |
b3575e393c46637c841f1391fa2098df614b9f65 | 120,472 | cpp | C++ | src/campaign/camptool/campdriv.cpp | Terebinth/freefalcon-central | c28d807183ab447ef6a801068aa3769527d55deb | [
"BSD-2-Clause"
] | 117 | 2015-01-13T14:48:49.000Z | 2022-03-16T01:38:19.000Z | src/campaign/camptool/campdriv.cpp | darongE/freefalcon-central | c28d807183ab447ef6a801068aa3769527d55deb | [
"BSD-2-Clause"
] | 4 | 2015-05-01T13:09:53.000Z | 2017-07-22T09:11:06.000Z | src/campaign/camptool/campdriv.cpp | darongE/freefalcon-central | c28d807183ab447ef6a801068aa3769527d55deb | [
"BSD-2-Clause"
] | 78 | 2015-01-13T09:27:47.000Z | 2022-03-18T14:39:09.000Z | // 2001-10-25 MOVED BY S.G. To the top of the file, outside of the #ifdef CAMPTOOL since it is used by other files as well
#ifdef _DEBUG
int gDumping = 0;
#endif
#ifdef CAMPTOOL
#include <windows.h>
#include <ctype.h>
#include "FalcLib.h"
#include "fsound.h"
#include "F4Vu.h"
#include "FalcSess.h"
#include "stdhdr.h"... | 28.904031 | 240 | 0.475513 | Terebinth |
b358a08977c1c98f7833bb2dc227c8fa42e29c3c | 46,179 | cc | C++ | net/dns/dns_transaction.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | net/dns/dns_transaction.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | net/dns/dns_transaction.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/dns/dns_transaction.h"
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "base/base64url.h"
#include "... | 33.342238 | 82 | 0.659737 | zipated |
b358f0e39672c1b32ccb75129cfa4116eaf8d54b | 408 | hpp | C++ | include/xtensor-fftw/xtensor-fftw_config.hpp | marty1885/xtensor-fftw | 968a36f204ed4328728705e1fd6f0c2961be7472 | [
"BSD-3-Clause"
] | null | null | null | include/xtensor-fftw/xtensor-fftw_config.hpp | marty1885/xtensor-fftw | 968a36f204ed4328728705e1fd6f0c2961be7472 | [
"BSD-3-Clause"
] | null | null | null | include/xtensor-fftw/xtensor-fftw_config.hpp | marty1885/xtensor-fftw | 968a36f204ed4328728705e1fd6f0c2961be7472 | [
"BSD-3-Clause"
] | null | null | null | /*
* xtensor-fftw
* Copyright (c) 2017, Patrick Bos
* Distributed under the terms of the BSD 3-Clause License.
*
* The full license is in the file LICENSE, distributed with this software.
*/
#ifndef XTENSOR_FFTW_CONFIG_HPP
#define XTENSOR_FFTW_CONFIG_HPP
#define XTENSOR_FFTW_VERSION_MAJOR 0
#define XTENSOR_FFTW... | 24 | 75 | 0.796569 | marty1885 |
b3598f74f568ce007d0dd421eb430c08521b6541 | 1,965 | cpp | C++ | src/primitives.cpp | kalakuer/TinyRayTracer | 99758f3e2e5279574e3850647d2541df2e111387 | [
"Apache-2.0"
] | null | null | null | src/primitives.cpp | kalakuer/TinyRayTracer | 99758f3e2e5279574e3850647d2541df2e111387 | [
"Apache-2.0"
] | null | null | null | src/primitives.cpp | kalakuer/TinyRayTracer | 99758f3e2e5279574e3850647d2541df2e111387 | [
"Apache-2.0"
] | null | null | null | #include "primitives.h"
#include <glm/gtc/matrix_transform.hpp>
namespace TinyRT {
IntersectTestResult Primitives::intersectTest(const Ray &ray, float refractiveIndex) {
glm::vec3 normal = glm::normalize(glm::cross(V1-V0, V2-V1));
float A = normal.x;
float B = normal.y;
floa... | 33.87931 | 97 | 0.545547 | kalakuer |
b35aff00167f1f45d0c563466d09d90065a798ed | 4,664 | cpp | C++ | cpp/TCPDataTracker.cpp | jinyyu/filedump | 72b55e4ed260585a754078dc9623ff2fbbe5d9fc | [
"MIT"
] | null | null | null | cpp/TCPDataTracker.cpp | jinyyu/filedump | 72b55e4ed260585a754078dc9623ff2fbbe5d9fc | [
"MIT"
] | null | null | null | cpp/TCPDataTracker.cpp | jinyyu/filedump | 72b55e4ed260585a754078dc9623ff2fbbe5d9fc | [
"MIT"
] | null | null | null | #include "TCPDataTracker.h"
#include "debug_log.h"
#include <stdio.h>
#include <vector>
#include <map>
// As defined by RFC 1982 - 2 ^ (SERIAL_BITS - 1)
static const uint32_t k_seq_number_diff = 2147483648U;
static int seq_compare(uint32_t seq1, uint32_t seq2)
{
if (seq1 == seq2) {
return 0;
}
if ... | 27.435294 | 101 | 0.560249 | jinyyu |
b35ebe999483687846a23f26268a5047aa1d474f | 1,075 | cpp | C++ | cpp/Dynamic-Programming/Longest-common-subsequence/Lcs-basic.cpp | fossabot/a-grim-loth | a6c8d549289a39ec981c1e0d0c754bb2708dfff9 | [
"MIT"
] | 4 | 2021-06-26T17:18:47.000Z | 2022-02-02T15:02:27.000Z | cpp/Dynamic-Programming/Longest-common-subsequence/Lcs-basic.cpp | fossabot/a-grim-loth | a6c8d549289a39ec981c1e0d0c754bb2708dfff9 | [
"MIT"
] | 8 | 2021-06-29T07:00:32.000Z | 2021-12-01T11:26:22.000Z | cpp/Dynamic-Programming/Longest-common-subsequence/Lcs-basic.cpp | fossabot/a-grim-loth | a6c8d549289a39ec981c1e0d0c754bb2708dfff9 | [
"MIT"
] | 3 | 2021-07-14T14:42:08.000Z | 2021-12-07T19:36:53.000Z | /**
* @file Lcs-basic.cpp
* @author prakash (prakashsellathurai@gmail.com)
* @brief
* @version 0.1
* @date 2021-08-28
*
* @copyright Copyright (c) 2021
*
*/
#include <algorithm>
#include <iostream>
#include <string>
using namespace std;
int main() {
string s1 = "Hellollworld", s2 = "Hello";
int M = s1.l... | 18.534483 | 71 | 0.426977 | fossabot |
b3666723a500432b635c05f571fa68c1045e1aa5 | 3,287 | cc | C++ | tensorflow/lite/delegates/gpu/common/operation_parser.cc | TOT0RoKR/tensorflow | 12c2babf7dccc00c13d6e297c0f792f89f7408aa | [
"Apache-2.0"
] | 10 | 2021-05-25T17:43:04.000Z | 2022-03-08T10:46:09.000Z | tensorflow/lite/delegates/gpu/common/operation_parser.cc | CaptainGizzy21/tensorflow | 3457a2b122e50b4d44ceaaed5a663d635e5c22df | [
"Apache-2.0"
] | 1,056 | 2019-12-15T01:20:31.000Z | 2022-02-10T02:06:28.000Z | tensorflow/lite/delegates/gpu/common/operation_parser.cc | CaptainGizzy21/tensorflow | 3457a2b122e50b4d44ceaaed5a663d635e5c22df | [
"Apache-2.0"
] | 6 | 2016-09-07T04:00:15.000Z | 2022-01-12T01:47:38.000Z | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 37.352273 | 80 | 0.656526 | TOT0RoKR |
b3682353e7682eff7b35fd3e6e2feb0de205e93c | 378 | cpp | C++ | problem solving/picking-numbers.cpp | blog-a1/hackeRRank | 72923ee08c8759bd5a10ba6c390b6755fe2bd2e2 | [
"MIT"
] | 1 | 2021-01-13T11:52:27.000Z | 2021-01-13T11:52:27.000Z | problem solving/picking-numbers.cpp | blog-a1/hackeRRank | 72923ee08c8759bd5a10ba6c390b6755fe2bd2e2 | [
"MIT"
] | null | null | null | problem solving/picking-numbers.cpp | blog-a1/hackeRRank | 72923ee08c8759bd5a10ba6c390b6755fe2bd2e2 | [
"MIT"
] | null | null | null | #include<iostream>
#include<algorithm>
using namespace std;
int main()
{
int n,c=1,s=1;cin>>n;int a[n];
for(int i=0;i<n;i++) cin>>a[i];
sort(a,a+n);
for(int i=0;i<n-1;i++)
{
for(int j=i+1;j<n;j++)
if(a[i]==a[j]||a[j]==a[i+1]+1) c++;
s=(s>c)?s:c;
... | 21 | 55 | 0.410053 | blog-a1 |
b36d3c2e619a040d9a31b1363b02b4c860a2d2bf | 661 | cpp | C++ | QuastPlugin.cpp | movingpictures83/Quast | 54dc604a7cd4b564c0bd92b7aa30a0552c84a104 | [
"MIT"
] | null | null | null | QuastPlugin.cpp | movingpictures83/Quast | 54dc604a7cd4b564c0bd92b7aa30a0552c84a104 | [
"MIT"
] | null | null | null | QuastPlugin.cpp | movingpictures83/Quast | 54dc604a7cd4b564c0bd92b7aa30a0552c84a104 | [
"MIT"
] | null | null | null | #include "PluginManager.h"
#include <stdio.h>
#include <stdlib.h>
#include "QuastPlugin.h"
void QuastPlugin::input(std::string file) {
inputfile = file;
}
void QuastPlugin::run() {
}
void QuastPlugin::output(std::string file) {
// spades.py -o 02_Quast -1 $1 -2 $2 --careful
// assembly-stats -t ./All_assembli... | 26.44 | 108 | 0.691377 | movingpictures83 |
b37071ac5ce2fb057bc33580817a79c11b09df5d | 3,360 | cpp | C++ | test/unit/io/sequence_file/sequence_file_record_test.cpp | joergi-w/seqan3 | b757646eee3cddf1f2487db8f1c9f3576ee37391 | [
"CC-BY-4.0",
"CC0-1.0"
] | 283 | 2017-03-14T23:43:33.000Z | 2022-03-28T02:30:02.000Z | test/unit/io/sequence_file/sequence_file_record_test.cpp | joergi-w/seqan3 | b757646eee3cddf1f2487db8f1c9f3576ee37391 | [
"CC-BY-4.0",
"CC0-1.0"
] | 2,754 | 2017-03-21T18:39:02.000Z | 2022-03-31T13:26:15.000Z | test/unit/io/sequence_file/sequence_file_record_test.cpp | joergi-w/seqan3 | b757646eee3cddf1f2487db8f1c9f3576ee37391 | [
"CC-BY-4.0",
"CC0-1.0"
] | 88 | 2017-03-20T12:43:42.000Z | 2022-03-17T08:56:13.000Z | // -----------------------------------------------------------------------------------------------------
// Copyright (c) 2006-2021, Knut Reinert & Freie Universität Berlin
// Copyright (c) 2016-2021, Knut Reinert & MPI für molekulare Genetik
// This file may be used, modified and/or redistributed under the terms of th... | 35.744681 | 104 | 0.643155 | joergi-w |
b375c7a959fa66dc6180a694281a47efb0880cb0 | 220 | hh | C++ | tests/Titon/Test/Stub/Annotation/BarAnnotationStub.hh | ciklon-z/framework | cbf44729173d3a83b91a2b0a217c6b3827512e44 | [
"BSD-2-Clause"
] | 206 | 2015-01-02T20:01:12.000Z | 2021-04-15T09:49:56.000Z | tests/Titon/Test/Stub/Annotation/BarAnnotationStub.hh | ciklon-z/framework | cbf44729173d3a83b91a2b0a217c6b3827512e44 | [
"BSD-2-Clause"
] | 44 | 2015-01-02T06:03:43.000Z | 2017-11-20T18:29:06.000Z | tests/Titon/Test/Stub/Annotation/BarAnnotationStub.hh | titon/framework | cbf44729173d3a83b91a2b0a217c6b3827512e44 | [
"BSD-2-Clause"
] | 27 | 2015-01-03T05:51:29.000Z | 2022-02-21T13:50:40.000Z | <?hh // strict
namespace Titon\Test\Stub\Annotation;
use Titon\Annotation\Annotation;
class BarAnnotationStub extends Annotation {
public function __construct(public string $string, public int $int = 0): void {}
}
| 24.444444 | 84 | 0.759091 | ciklon-z |
b376788b34d9e64d5fdfec7cc798cde4d0028f10 | 2,328 | cpp | C++ | codeforces/766e.cpp | sogapalag/problems | 0ea7d65448e1177f8b3f81124a82d187980d659c | [
"MIT"
] | 1 | 2020-04-04T14:56:12.000Z | 2020-04-04T14:56:12.000Z | codeforces/766e.cpp | sogapalag/problems | 0ea7d65448e1177f8b3f81124a82d187980d659c | [
"MIT"
] | null | null | null | codeforces/766e.cpp | sogapalag/problems | 0ea7d65448e1177f8b3f81124a82d187980d659c | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
using ll=long long;
const int L = 20;
using Freq = array<int,L>;
struct Tree {
int n;
vector<vector<int>> g;
vector<int> sz, pa, depth, sta, fin, tour, a;
int tim;
vector<Freq> cnt;
Tree(int _n) : n(_n)
, g(n)
, sz(n)
, pa(n... | 23.515152 | 75 | 0.352234 | sogapalag |
b382b4a80e7c3c5a3e9a6e795322701b252c352c | 682 | hpp | C++ | include/api/InfoObject.hpp | bander9289/StratifyAPI | 9b45091aa71a4e5718047438ea4044c1fdc814a3 | [
"MIT"
] | 2 | 2016-05-21T03:09:19.000Z | 2016-08-27T03:40:51.000Z | include/api/InfoObject.hpp | bander9289/StratifyAPI | 9b45091aa71a4e5718047438ea4044c1fdc814a3 | [
"MIT"
] | 75 | 2017-10-08T22:21:19.000Z | 2020-03-30T21:13:20.000Z | include/api/InfoObject.hpp | StratifyLabs/StratifyLib | 975a5c25a84296fd0dec64fe4dc579cf7027abe6 | [
"MIT"
] | 5 | 2018-03-27T16:44:09.000Z | 2020-07-08T16:45:55.000Z | /*! \file */ // Copyright 2011-2020 Tyler Gilbert and Stratify Labs, Inc; see LICENSE.md for rights.
#ifndef API_INFO_OBJECT_HPP
#define API_INFO_OBJECT_HPP
#include "ApiObject.hpp"
namespace api {
/*! \brief Information Object
* \details Classes that inherit from
* information objects are used for static
* data... | 19.485714 | 100 | 0.714076 | bander9289 |
b384be169d0145722b946a25561ad6989f50479b | 6,544 | cpp | C++ | CorsixTH/Src/th_map_overlays.cpp | terrorcide/CorsixTH | 2d91936656529c26d21e2de41f4ea6a831bb4e47 | [
"MIT"
] | null | null | null | CorsixTH/Src/th_map_overlays.cpp | terrorcide/CorsixTH | 2d91936656529c26d21e2de41f4ea6a831bb4e47 | [
"MIT"
] | null | null | null | CorsixTH/Src/th_map_overlays.cpp | terrorcide/CorsixTH | 2d91936656529c26d21e2de41f4ea6a831bb4e47 | [
"MIT"
] | null | null | null | /*
Copyright (c) 2010 Peter "Corsix" Cawley
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distr... | 31.014218 | 96 | 0.636767 | terrorcide |
b387b1e4fc48981995d85dc01f36e5d93b923c28 | 8,733 | hpp | C++ | nodec/include/nodec/entities/sparse_table.hpp | ContentsViewer/nodec | 40b414a2f48d2e4718b69e0fa630e3f85e90e083 | [
"Apache-2.0"
] | 2 | 2022-01-03T12:01:03.000Z | 2022-01-04T18:11:25.000Z | nodec/include/nodec/entities/sparse_table.hpp | ContentsViewer/nodec | 40b414a2f48d2e4718b69e0fa630e3f85e90e083 | [
"Apache-2.0"
] | null | null | null | nodec/include/nodec/entities/sparse_table.hpp | ContentsViewer/nodec | 40b414a2f48d2e4718b69e0fa630e3f85e90e083 | [
"Apache-2.0"
] | null | null | null | #ifndef NODEC__ENTITIES__SPARSE_TABLE_HPP_
#define NODEC__ENTITIES__SPARSE_TABLE_HPP_
#include <nodec/logging.hpp>
#include <vector>
namespace nodec {
namespace entities {
// This code based on
// * <https://github.com/sparsehash/sparsehash/blob/master/src/sparsehash/sparsetable>
// Thank you! :)
/**
* The smal... | 25.837278 | 100 | 0.557082 | ContentsViewer |
b389c12acbab075b6c2c19ac5d3e02b0a506f4c2 | 15,011 | cpp | C++ | master/core/third/libtorrent/src/tracker_manager.cpp | importlib/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 4 | 2017-12-04T08:22:48.000Z | 2019-10-26T21:44:59.000Z | master/core/third/libtorrent/src/tracker_manager.cpp | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | null | null | null | master/core/third/libtorrent/src/tracker_manager.cpp | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 4 | 2017-12-19T11:13:56.000Z | 2018-02-23T08:44:03.000Z | /*
Copyright (c) 2003, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the f... | 24.608197 | 96 | 0.651456 | importlib |
b38c0e0d9c3330e7bea5bd829fe6bbf9063acaf3 | 7,847 | cpp | C++ | vipster/step.py.cpp | hein09/vipster | b92302bf2bb8b8941e239ce8cbc7209e1e615b0b | [
"BSD-2-Clause"
] | 6 | 2015-12-02T15:33:27.000Z | 2017-07-28T17:46:51.000Z | vipster/step.py.cpp | hein09/vipster | b92302bf2bb8b8941e239ce8cbc7209e1e615b0b | [
"BSD-2-Clause"
] | 3 | 2018-02-04T16:11:19.000Z | 2018-03-16T16:23:29.000Z | vipster/step.py.cpp | hein09/vipster | b92302bf2bb8b8941e239ce8cbc7209e1e615b0b | [
"BSD-2-Clause"
] | 1 | 2017-07-05T11:44:55.000Z | 2017-07-05T11:44:55.000Z | #include "step.py.h"
#include "step.h"
#include <utility>
using namespace Vipster;
/* FIXME: Optimize assignment
*
* problems so far:
* - assignment from formatter not working as intended, library problem?
* - assignment to sub-steps not working, types mapped multiple times
* -> pybind/python can't deduce cor... | 44.84 | 122 | 0.555626 | hein09 |
b38c2e19bf96086a24c3d4f449fe5f95e7ff26e9 | 10,382 | cpp | C++ | Source/Constraint/constraint_length.cpp | neonkingfr/wildogcad | 6d9798daa672d3ab293579439f38bb279fa376c7 | [
"BSD-3-Clause"
] | null | null | null | Source/Constraint/constraint_length.cpp | neonkingfr/wildogcad | 6d9798daa672d3ab293579439f38bb279fa376c7 | [
"BSD-3-Clause"
] | null | null | null | Source/Constraint/constraint_length.cpp | neonkingfr/wildogcad | 6d9798daa672d3ab293579439f38bb279fa376c7 | [
"BSD-3-Clause"
] | null | null | null | /*******************************************************************************
* Copyright (c) 2007, 2008, CerroKai Development
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistribu... | 38.594796 | 145 | 0.704103 | neonkingfr |
b38ccf128d443e4068965a90fc79f744eb360371 | 1,409 | cpp | C++ | src/contract/Data.cpp | pestotoast/mmx-node | eb9e27aa077c111e814c62cc5b716c4957eac09e | [
"Apache-2.0"
] | 2 | 2022-01-12T02:00:10.000Z | 2022-02-05T03:59:43.000Z | src/contract/Data.cpp | pestotoast/mmx-node | eb9e27aa077c111e814c62cc5b716c4957eac09e | [
"Apache-2.0"
] | null | null | null | src/contract/Data.cpp | pestotoast/mmx-node | eb9e27aa077c111e814c62cc5b716c4957eac09e | [
"Apache-2.0"
] | null | null | null | /*
* Data.cpp
*
* Created on: Jan 19, 2022
* Author: mad
*/
#include <mmx/contract/Data.hxx>
#include <mmx/write_bytes.h>
namespace mmx {
namespace contract {
hash_t Data::calc_hash() const
{
std::vector<uint8_t> buffer;
vnx::VectorOutputStream stream(&buffer);
vnx::OutputBuffer out(&stream);
write_... | 18.298701 | 126 | 0.682754 | pestotoast |
b38f32236bf0a3cece67f7e108e6e7721cff7281 | 132,716 | cc | C++ | libgav1/src/dsp/x86/loop_restoration_10bit_avx2.cc | P-404/android_external_libgav1 | 4e6f3403a267fc31f9a6fa85683f824fb8b15bd8 | [
"Apache-2.0"
] | null | null | null | libgav1/src/dsp/x86/loop_restoration_10bit_avx2.cc | P-404/android_external_libgav1 | 4e6f3403a267fc31f9a6fa85683f824fb8b15bd8 | [
"Apache-2.0"
] | null | null | null | libgav1/src/dsp/x86/loop_restoration_10bit_avx2.cc | P-404/android_external_libgav1 | 4e6f3403a267fc31f9a6fa85683f824fb8b15bd8 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 The libgav1 Authors
//
// 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... | 42.025332 | 80 | 0.632335 | P-404 |
b390094a098032f0a8cc5c56a09b2fa52d2d436b | 3,729 | hpp | C++ | Include/Httplib/Auth/Authentication.hpp | Andres6936/Http.Lib | 37aaa0555ff8481e26c3855376d1fa2dc087bdfd | [
"MIT"
] | 1 | 2021-06-20T08:38:16.000Z | 2021-06-20T08:38:16.000Z | Include/Httplib/Auth/Authentication.hpp | Andres6936/Http.Lib | 37aaa0555ff8481e26c3855376d1fa2dc087bdfd | [
"MIT"
] | null | null | null | Include/Httplib/Auth/Authentication.hpp | Andres6936/Http.Lib | 37aaa0555ff8481e26c3855376d1fa2dc087bdfd | [
"MIT"
] | null | null | null | // Joan Andrés (@Andres6936) Github.
#ifndef HTTPLIB_AUTHENTICATION_HPP
#define HTTPLIB_AUTHENTICATION_HPP
#include <string>
#include <utility>
#include <Httplib/ZLib/Base64.hpp>
namespace httplib {
inline std::pair<std::string, std::string>
make_basic_authentication_header(const std::string &username,
const s... | 31.871795 | 80 | 0.568249 | Andres6936 |
b3926e8af1b60352a2d14c322e39055de5434023 | 4,900 | hh | C++ | analysis/machine_learning/ml_data.hh | ssrg-vt/aira | 96a830480d1ed8317e0175a10d950d7991fb2bb7 | [
"Unlicense"
] | 3 | 2018-12-17T08:20:40.000Z | 2020-02-24T02:08:23.000Z | analysis/machine_learning/ml_data.hh | ssrg-vt/aira | 96a830480d1ed8317e0175a10d950d7991fb2bb7 | [
"Unlicense"
] | null | null | null | analysis/machine_learning/ml_data.hh | ssrg-vt/aira | 96a830480d1ed8317e0175a10d950d7991fb2bb7 | [
"Unlicense"
] | null | null | null | #ifndef _ML_DATA_HH
#define _ML_DATA_HH
#include <iostream>
#include <opencv/cv.h>
#include <opencv/ml.h>
using namespace cv;
class Transform {
public:
const int input_dimension;
const int output_dimension;
private:
const Mat _include; // Vector of booleans, include this feature or not
const Mat _mean_adjust... | 35.251799 | 79 | 0.677959 | ssrg-vt |
b393c0652240bdc03fc3ce5f55bbfff84e879e37 | 3,679 | hpp | C++ | Include/xsim/xsim.hpp | raving-bots/expansim-sdk | 22f5c794523abbe9c27688963b607b13671ff118 | [
"BSL-1.0"
] | 1 | 2020-01-17T14:10:22.000Z | 2020-01-17T14:10:22.000Z | Include/xsim/xsim.hpp | raving-bots/expansim-sdk | 22f5c794523abbe9c27688963b607b13671ff118 | [
"BSL-1.0"
] | null | null | null | Include/xsim/xsim.hpp | raving-bots/expansim-sdk | 22f5c794523abbe9c27688963b607b13671ff118 | [
"BSL-1.0"
] | null | null | null | // Copyright Raving Bots 2018-2020
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file SDK-LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
#pragma once
#include <string>
#include <unordered_map>
#include <tuple>
#include <functional>
#include <yymp/typelis... | 24.045752 | 119 | 0.650177 | raving-bots |
b394ee2f0b9391496d730fb7c4ab16cd46bb1723 | 4,447 | cpp | C++ | com/win32comext/axcontrol/src/PyIViewObject2.cpp | huanyin88/Mod-Pywin32-For-Python3.x-DDE | 992931aa534357d54aaac34077f0128d3a740e5e | [
"Apache-2.0"
] | 3 | 2020-06-18T16:57:44.000Z | 2020-07-21T17:52:06.000Z | com/win32comext/axcontrol/src/PyIViewObject2.cpp | huanyin88/Mod-Pywin32-For-Python3.x-DDE | 992931aa534357d54aaac34077f0128d3a740e5e | [
"Apache-2.0"
] | null | null | null | com/win32comext/axcontrol/src/PyIViewObject2.cpp | huanyin88/Mod-Pywin32-For-Python3.x-DDE | 992931aa534357d54aaac34077f0128d3a740e5e | [
"Apache-2.0"
] | null | null | null | // This file implements the IViewObject2 Interface and Gateway for Python.
// Generated by makegw.py
#include "axcontrol_pch.h"
#include "PyIViewObject.h"
#include "PyIViewObject2.h"
// @doc - This file contains autoduck documentation
// ---------------------------------------------------
//
// Interface Implementati... | 38.336207 | 117 | 0.666067 | huanyin88 |
b394f91427c5e81209e4319d9cd100da0bcf9e78 | 3,053 | hpp | C++ | experimental/vector_implementation/vector.hpp | jamesjallorina/Data_Structures_And_Algorithm_Analysis_in_CPP | 1162eae63ef894419d5e806541129adf73817130 | [
"MIT"
] | 3 | 2019-07-07T17:24:46.000Z | 2020-03-15T23:21:39.000Z | experimental/vector_implementation/vector.hpp | jamesjallorina/Data_Structures_And_Algorithm_Analysis_in_CPP | 1162eae63ef894419d5e806541129adf73817130 | [
"MIT"
] | null | null | null | experimental/vector_implementation/vector.hpp | jamesjallorina/Data_Structures_And_Algorithm_Analysis_in_CPP | 1162eae63ef894419d5e806541129adf73817130 | [
"MIT"
] | null | null | null | #ifndef EXPERIMENTAL_VECTOR_IMPLEMENTATION_VECTOR_HPP
#define EXPERIMENTAL_VECTOR_IMPLEMENTATION_VECTOR_HPP
#include <algorithm>
namespace experimental {
namespace vector_implementation
{
template <typename Object>
class vector
{
public:
explicit vector ( int initSize = 0 ) : theSize{ initSize },
... | 22.123188 | 64 | 0.585981 | jamesjallorina |
b395fbb7d4c67e25a8f6a19a3f643bf92223765c | 9,692 | cpp | C++ | DFNs/Registration3D/IcpCC.cpp | H2020-InFuse/cdff | e55fd48f9a909d0c274c3dfa4fe2704bc5071542 | [
"BSD-2-Clause"
] | 7 | 2019-02-26T15:09:50.000Z | 2021-09-30T07:39:01.000Z | DFNs/Registration3D/IcpCC.cpp | H2020-InFuse/cdff | e55fd48f9a909d0c274c3dfa4fe2704bc5071542 | [
"BSD-2-Clause"
] | null | null | null | DFNs/Registration3D/IcpCC.cpp | H2020-InFuse/cdff | e55fd48f9a909d0c274c3dfa4fe2704bc5071542 | [
"BSD-2-Clause"
] | 1 | 2020-12-06T12:09:05.000Z | 2020-12-06T12:09:05.000Z | /**
* @author Alessandro Bianco
*/
/**
* @addtogroup DFNs
* @{
*/
#include "IcpCC.hpp"
#include <Converters/PointCloudToPclPointCloudConverter.hpp>
#include <Macros/YamlcppMacros.hpp>
#include <Errors/Assert.hpp>
#include <pcl/registration/icp.h>
#include <yaml-cpp/yaml.h>
#include <cloudcompare-core/PointClou... | 36.02974 | 182 | 0.78343 | H2020-InFuse |
b397aaa9154a2bd8607974b463d6a39b7ad4a395 | 52 | hpp | C++ | include/tools/miniz.hpp | turgu1/ESP-IDF-Inkplate | 35840f1cbc73a155bbdd902ea78b78baa2257214 | [
"BSD-2-Clause"
] | 5 | 2021-02-10T15:01:14.000Z | 2022-03-08T00:43:43.000Z | include/tools/miniz.hpp | turgu1/ESP-IDF-Inkplate | 35840f1cbc73a155bbdd902ea78b78baa2257214 | [
"BSD-2-Clause"
] | 6 | 2021-03-02T16:36:38.000Z | 2022-01-14T19:40:53.000Z | include/tools/miniz.hpp | turgu1/ESP-IDF-Inkplate | 35840f1cbc73a155bbdd902ea78b78baa2257214 | [
"BSD-2-Clause"
] | 3 | 2021-01-28T08:04:13.000Z | 2021-08-12T23:33:33.000Z | #define MINIZ_HEADER_FILE_ONLY
#include "miniz.cpp"
| 17.333333 | 30 | 0.826923 | turgu1 |
b39838e6dc78b15bad220090324b10ad88b1a5a3 | 9,477 | cpp | C++ | Periodic_3_mesh_3/test/Periodic_3_mesh_3/test_implicit_shapes_bunch.cpp | ffteja/cgal | c1c7f4ad9a4cd669e33ca07a299062a461581812 | [
"CC0-1.0"
] | 3,227 | 2015-03-05T00:19:18.000Z | 2022-03-31T08:20:35.000Z | Periodic_3_mesh_3/test/Periodic_3_mesh_3/test_implicit_shapes_bunch.cpp | ffteja/cgal | c1c7f4ad9a4cd669e33ca07a299062a461581812 | [
"CC0-1.0"
] | 5,574 | 2015-03-05T00:01:56.000Z | 2022-03-31T15:08:11.000Z | Periodic_3_mesh_3/test/Periodic_3_mesh_3/test_implicit_shapes_bunch.cpp | ffteja/cgal | c1c7f4ad9a4cd669e33ca07a299062a461581812 | [
"CC0-1.0"
] | 1,274 | 2015-03-05T00:01:12.000Z | 2022-03-31T14:47:56.000Z | #include <CGAL/Periodic_3_mesh_3/config.h>
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/make_periodic_3_mesh_3.h>
#include <CGAL/Periodic_3_mesh_3/IO/File_medit.h>
#include <CGAL/Periodic_3_mesh_triangulation_3.h>
#include <CGAL/Periodic_3_function_wrapper.h>
#include <CGAL/Labeled_... | 37.458498 | 94 | 0.514825 | ffteja |
b398ad589a62dedfddbf142c217685d2e62e42d6 | 330 | cpp | C++ | acmicpc/15988.cpp | juseongkr/BOJ | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 7 | 2020-02-03T10:00:19.000Z | 2021-11-16T11:03:57.000Z | acmicpc/15988.cpp | juseongkr/Algorithm-training | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 1 | 2021-01-03T06:58:24.000Z | 2021-01-03T06:58:24.000Z | acmicpc/15988.cpp | juseongkr/Algorithm-training | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 1 | 2020-01-22T14:34:03.000Z | 2020-01-22T14:34:03.000Z | #include <iostream>
using namespace std;
#define MAX 1000001
#define MOD 1000000009
long long dp[MAX];
int main()
{
int t, n;
dp[0] = dp[1] = 1;
dp[2] = 2;
dp[3] = 4;
for (int i=4; i<MAX; ++i)
dp[i] += (dp[i-1] + dp[i-2] + dp[i-3]) % MOD;
cin >> t;
while (t--) {
cin >> n;
cout << dp[n] << '\n';
}
re... | 12.692308 | 47 | 0.506061 | juseongkr |
b39b83fb2a52e3e50856df9ebe82d809dbd310c1 | 1,459 | cpp | C++ | Rare Topics/Rare Problems/Bracket Matching/Nesting a Bunch of Brackets.cpp | satvik007/uva | 72a763f7ed46a34abfcf23891300d68581adeb44 | [
"MIT"
] | 3 | 2017-08-12T06:09:39.000Z | 2018-09-16T02:31:27.000Z | Rare Topics/Rare Problems/Bracket Matching/Nesting a Bunch of Brackets.cpp | satvik007/uva | 72a763f7ed46a34abfcf23891300d68581adeb44 | [
"MIT"
] | null | null | null | Rare Topics/Rare Problems/Bracket Matching/Nesting a Bunch of Brackets.cpp | satvik007/uva | 72a763f7ed46a34abfcf23891300d68581adeb44 | [
"MIT"
] | null | null | null | #include <cstdio>
#include <stack>
#include <cstring>
#include <iostream>
using namespace std;
stack<char> checker;
bool isOpening(char c) {
if (c == '(' || c == '[' || c == '<' || c == '{')
return true;
return false;
}
bool isClosing(char c) {
if (c == ')' || c == ']' || c == '>' || c == '}')
return true;
r... | 18.2375 | 68 | 0.416038 | satvik007 |
b3a57c4d501febc063f875cc4cfdc5fff137aeb3 | 15,855 | cc | C++ | mindspore/ccsrc/distributed/collective/collective_manager.cc | httpsgithu/mindspore | c29d6bb764e233b427319cb89ba79e420f1e2c64 | [
"Apache-2.0"
] | 1 | 2022-02-23T09:13:43.000Z | 2022-02-23T09:13:43.000Z | mindspore/ccsrc/distributed/collective/collective_manager.cc | 949144093/mindspore | c29d6bb764e233b427319cb89ba79e420f1e2c64 | [
"Apache-2.0"
] | null | null | null | mindspore/ccsrc/distributed/collective/collective_manager.cc | 949144093/mindspore | c29d6bb764e233b427319cb89ba79e420f1e2c64 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2021 Huawei Technologies Co., Ltd
*
* 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... | 38.021583 | 120 | 0.728414 | httpsgithu |
b3a6df7e45db6d968224ef43935f8fb5546c1740 | 8,399 | cc | C++ | src/HSLib/HSacquire.cc | pygamma-mrs/gamma | c83a7c242c481d2ecdfd49ba394fea3d5816bccb | [
"BSD-3-Clause"
] | 4 | 2021-03-15T10:02:13.000Z | 2022-01-16T11:06:28.000Z | src/HSLib/HSacquire.cc | pygamma-mrs/gamma | c83a7c242c481d2ecdfd49ba394fea3d5816bccb | [
"BSD-3-Clause"
] | 1 | 2022-01-27T15:35:03.000Z | 2022-01-27T15:35:03.000Z | src/HSLib/HSacquire.cc | pygamma-mrs/gamma | c83a7c242c481d2ecdfd49ba394fea3d5816bccb | [
"BSD-3-Clause"
] | null | null | null | /* HSacquire.cc *************************************************-*-c++-*-
** **
** G A M M A **
** **
** Hilbert Space Acquisitions Implementation **
** **
** Copyright (c) 1990, 1991, 1992 **
** Tilo Levante, Scott Smith **
** Eidgenoessische Technisch... | 43.744792 | 90 | 0.596142 | pygamma-mrs |
b3a725bbdf3f0fa6de92e4559ce92656326f8842 | 1,039 | cpp | C++ | Chapter_4_Mathematical_Logical_Bitwise_and_Shift_Operators/Program16.cpp | othneildrew/CPP-Programming-Practices | 27a20c00b395446a7d2e0dd4b199f4cd9e35591b | [
"MIT"
] | 1 | 2020-12-03T15:26:20.000Z | 2020-12-03T15:26:20.000Z | Chapter_4_Mathematical_Logical_Bitwise_and_Shift_Operators/Program16.cpp | othneildrew/CPP-Programming-Practices | 27a20c00b395446a7d2e0dd4b199f4cd9e35591b | [
"MIT"
] | null | null | null | Chapter_4_Mathematical_Logical_Bitwise_and_Shift_Operators/Program16.cpp | othneildrew/CPP-Programming-Practices | 27a20c00b395446a7d2e0dd4b199f4cd9e35591b | [
"MIT"
] | null | null | null | // Chapter 4: Program 16
/***
Write a C++ program to read two numbers. Perform AND operation and O
operations on two numbers. Perform NOT operation on first number. Declare AND,
OR, and NOT varables type of short int.
**/
# include <iostream>
# include <math.h>
# include <string>
using namespace std;
int main(void)... | 27.342105 | 78 | 0.628489 | othneildrew |
b3ab56c1bc9f402e058547736f83c4b9dbc30be9 | 654 | cpp | C++ | examples/shapes_demo_tcp/shapelib.cpp | eProsima/Integration-Services | 04e1cbbd4515f78bad5c39569f6c172b08ee78b2 | [
"Apache-2.0"
] | 2 | 2018-04-17T14:30:33.000Z | 2018-06-13T05:48:01.000Z | examples/shapes_demo_tcp/shapelib.cpp | eProsima/Integration-Services | 04e1cbbd4515f78bad5c39569f6c172b08ee78b2 | [
"Apache-2.0"
] | null | null | null | examples/shapes_demo_tcp/shapelib.cpp | eProsima/Integration-Services | 04e1cbbd4515f78bad5c39569f6c172b08ee78b2 | [
"Apache-2.0"
] | 1 | 2018-04-17T14:31:45.000Z | 2018-04-17T14:31:45.000Z | #include <iostream>
#include "ShapePubSubTypes.h"
#if defined(_WIN32) && defined (BUILD_SHARED_LIBS)
#if defined (_MSC_VER)
#pragma warning(disable: 4251)
#endif
#if defined(EPROSIMA_SHAPES_DLL_EXPORT)
#define SHAPES_LIB_EXPORT __declspec(dllexport)
#else
#define SHAPES_LIB_EXPORT __declspec(dllimport)
#endif
#else
... | 21.096774 | 74 | 0.746177 | eProsima |
b3ac2f9b3e5db409e3f5a69f12140ca1e3bd9c92 | 679 | hpp | C++ | code/src/utility/profiling.hpp | shossjer/fimbulwinter | d894e4bddb5d2e6dc31a8112d245c6a1828604e3 | [
"0BSD"
] | 3 | 2020-04-29T14:55:58.000Z | 2020-08-20T08:43:24.000Z | code/src/utility/profiling.hpp | shossjer/fimbulwinter | d894e4bddb5d2e6dc31a8112d245c6a1828604e3 | [
"0BSD"
] | 1 | 2022-03-12T11:37:46.000Z | 2022-03-12T20:17:38.000Z | code/src/utility/profiling.hpp | shossjer/fimbulwinter | d894e4bddb5d2e6dc31a8112d245c6a1828604e3 | [
"0BSD"
] | null | null | null | #pragma once
#if PROFILING_COZ
# include <coz.h>
#endif
namespace utility
{
namespace detail
{
#if PROFILING_COZ
struct CallWhenDestroyed
{
void (* func)();
~CallWhenDestroyed()
{
func();
}
explicit CallWhenDestroyed(void (* func)())
: func(func)
{}
};
#endif
}
}
#if PROFILING_CO... | 16.975 | 115 | 0.683358 | shossjer |
b3aca3444df7f5d0b8d4bcd29d666b52a6bc78c7 | 3,494 | cc | C++ | src/client/main.cc | sensssz/SQPKV | 828f2afec14db104f090ae2b4ed4729b97d3d9b6 | [
"Apache-2.0"
] | 1 | 2020-06-15T10:35:20.000Z | 2020-06-15T10:35:20.000Z | src/client/main.cc | sensssz/SQPKV | 828f2afec14db104f090ae2b4ed4729b97d3d9b6 | [
"Apache-2.0"
] | null | null | null | src/client/main.cc | sensssz/SQPKV | 828f2afec14db104f090ae2b4ed4729b97d3d9b6 | [
"Apache-2.0"
] | null | null | null | #include "sqpkv/connection.h"
#include "gflags/gflags.h"
#include "spdlog/spdlog.h"
#include <algorithm>
#include <iostream>
#include <string>
#include <sstream>
#include <cstdio>
DEFINE_string(server_addr, "127.0.0.1", "Address of the server");
DEFINE_int32(port, 4242, "Port number of the server");
void Show(std:... | 27.296875 | 80 | 0.571551 | sensssz |
b3ad496d60706b021245241f40308af7a2dde686 | 773 | cpp | C++ | 2DProject2ndYear/RigidBody.cpp | ryan0432/AIE_PhysicsBS | 0ed7181b2e0624174e28dfa7b2035f8f1e597198 | [
"MIT"
] | null | null | null | 2DProject2ndYear/RigidBody.cpp | ryan0432/AIE_PhysicsBS | 0ed7181b2e0624174e28dfa7b2035f8f1e597198 | [
"MIT"
] | null | null | null | 2DProject2ndYear/RigidBody.cpp | ryan0432/AIE_PhysicsBS | 0ed7181b2e0624174e28dfa7b2035f8f1e597198 | [
"MIT"
] | null | null | null | #include "Rigidbody.h"
#include <iostream>
Rigidbody::Rigidbody(ShapeType shapeID, glm::vec2 position, glm::vec2 velocity,
float rotation, float mass) : PhysicsObject(shapeID)
{
m_position = position;
m_velocity = velocity;
m_mass = mass;
m_rotation = rotation;
}
void Rigidbody::fixedUpdate(glm::vec2 gravity, fl... | 20.891892 | 79 | 0.711514 | ryan0432 |
a2a60c1b142e31122b2ecb0e61ba9c49b9725fe6 | 40,139 | cpp | C++ | PC VC Examples/KMotionCNC/EditToolFile.cpp | parhansson/KMotionX | 9e827917572fee477fe7971f67709c4c2ee4f97a | [
"BSD-3-Clause"
] | 17 | 2015-01-04T19:58:54.000Z | 2020-12-15T07:01:14.000Z | PC VC Examples/KMotionCNC/EditToolFile.cpp | parhansson/KMotionX | 9e827917572fee477fe7971f67709c4c2ee4f97a | [
"BSD-3-Clause"
] | 6 | 2015-12-10T21:24:01.000Z | 2020-02-27T23:35:24.000Z | PC VC Examples/KMotionCNC/EditToolFile.cpp | parhansson/KMotionX | 9e827917572fee477fe7971f67709c4c2ee4f97a | [
"BSD-3-Clause"
] | 16 | 2015-02-07T23:42:53.000Z | 2022-01-22T06:09:43.000Z | // EditToolFile.cpp : implementation file
//
#include "stdafx.h"
#include "EditToolFile.h"
#include "OpenDlg.h"
#include "Frame.h"
#include "CPreviewFileDialog.h"
#include "DoPreview.h"
#define MAX_TOOL_LINE 200
// CEditToolFile dialog
IMPLEMENT_DYNAMIC(CEditToolFile, CDialog)
CEditToolFile::CEdi... | 34.543029 | 183 | 0.724607 | parhansson |
a2a8849c07fcadb5b1dda577dfc2643c3fec2f07 | 4,398 | cpp | C++ | src/Leviathan_Editor/Leviathan_Editor.cpp | wakare/Leviathan | 8a488f014d6235c5c6e6422c9f53c82635b7ebf7 | [
"MIT"
] | 3 | 2019-03-05T13:05:30.000Z | 2019-12-16T05:56:21.000Z | src/Leviathan_Editor/Leviathan_Editor.cpp | wakare/Leviathan | 8a488f014d6235c5c6e6422c9f53c82635b7ebf7 | [
"MIT"
] | null | null | null | src/Leviathan_Editor/Leviathan_Editor.cpp | wakare/Leviathan | 8a488f014d6235c5c6e6422c9f53c82635b7ebf7 | [
"MIT"
] | null | null | null | #include "Leviathan_Editor.h"
#include <thread>
#include <QLabel>
#include <QLayout>
#include <QLineEdit>
#include <QSplitter>
#include <QSizePolicy>
#include "LevScene.h"
#include "LevAttributeWidget.h"
Leviathan_Editor::Leviathan_Editor(QWidget *parent)
: QMainWindow(parent)
{
ui.setupUi(this);
bool seted = _s... | 22.553846 | 101 | 0.75648 | wakare |
a2a8db066a24c9703388246c07a9656f7ca23c20 | 3,544 | cpp | C++ | nmpc_controller/test/test_nmpc_controller.cpp | robomechanics/quad-software | 89154df18e98162249f38301b669df27ee595220 | [
"MIT"
] | 20 | 2021-12-05T03:40:28.000Z | 2022-03-30T02:53:56.000Z | nmpc_controller/test/test_nmpc_controller.cpp | robomechanics/rml-spirit-firmware | 89154df18e98162249f38301b669df27ee595220 | [
"MIT"
] | 45 | 2021-12-06T12:45:05.000Z | 2022-03-31T22:15:47.000Z | nmpc_controller/test/test_nmpc_controller.cpp | robomechanics/rml-spirit-firmware | 89154df18e98162249f38301b669df27ee595220 | [
"MIT"
] | 2 | 2021-12-06T03:20:15.000Z | 2022-02-20T04:19:41.000Z | #include <gtest/gtest.h>
#include <ros/ros.h>
#include <chrono>
#include "nmpc_controller/nmpc_controller.h"
TEST(NMPCTest, testNMPCController) {
ros::NodeHandle nh;
const int robot_id_ = 0;
int N_;
double dt_;
ros::param::get("/local_planner/horizon_length", N_);
ros::param::get("/local_planner/timestep... | 31.087719 | 80 | 0.642212 | robomechanics |
a2a9c96c8777d07da12b1305ec4436a2b6a3e3e5 | 8,667 | cpp | C++ | dynamorio/clients/drcachesim/tools/opcode_mix.cpp | andre-motta/Project3Compilers | fa366d93ec8d49768fbc86f0c1431391822baf12 | [
"MIT"
] | 107 | 2021-08-28T20:08:42.000Z | 2022-03-22T08:02:16.000Z | dynamorio/clients/drcachesim/tools/opcode_mix.cpp | andre-motta/Project3Compilers | fa366d93ec8d49768fbc86f0c1431391822baf12 | [
"MIT"
] | null | null | null | dynamorio/clients/drcachesim/tools/opcode_mix.cpp | andre-motta/Project3Compilers | fa366d93ec8d49768fbc86f0c1431391822baf12 | [
"MIT"
] | 16 | 2021-08-30T06:57:36.000Z | 2022-03-22T08:05:52.000Z | /* **********************************************************
* Copyright (c) 2017-2020 Google, Inc. All rights reserved.
* **********************************************************/
/*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following ... | 35.962656 | 90 | 0.668744 | andre-motta |
a2aa966718713660ac323fc856169bafe2a68e3d | 4,259 | cpp | C++ | src/chrono_vehicle/wheeled_vehicle/utils/ChWheeledVehicleAssembly.cpp | felixvd/chrono | 4c437fc1fc8964310d53206dda45e8ba9c734fa2 | [
"BSD-3-Clause"
] | null | null | null | src/chrono_vehicle/wheeled_vehicle/utils/ChWheeledVehicleAssembly.cpp | felixvd/chrono | 4c437fc1fc8964310d53206dda45e8ba9c734fa2 | [
"BSD-3-Clause"
] | null | null | null | src/chrono_vehicle/wheeled_vehicle/utils/ChWheeledVehicleAssembly.cpp | felixvd/chrono | 4c437fc1fc8964310d53206dda45e8ba9c734fa2 | [
"BSD-3-Clause"
] | null | null | null | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... | 44.364583 | 110 | 0.577131 | felixvd |
a2ab09cce7e03cbb35a3257ee378bde0b4543c79 | 3,107 | cpp | C++ | Effects/Tools/CVarActivationSystem.cpp | IvarJonsson/Project-Unknown | 4675b41bbb5e90135c7bf3aded2c2e262b50f351 | [
"BSL-1.0"
] | null | null | null | Effects/Tools/CVarActivationSystem.cpp | IvarJonsson/Project-Unknown | 4675b41bbb5e90135c7bf3aded2c2e262b50f351 | [
"BSL-1.0"
] | null | null | null | Effects/Tools/CVarActivationSystem.cpp | IvarJonsson/Project-Unknown | 4675b41bbb5e90135c7bf3aded2c2e262b50f351 | [
"BSL-1.0"
] | null | null | null | // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
// Simple data driven system to activate cvars.
// Includes
#include "StdAfx.h"
#include "CVarActivationSystem.h"
#include "IItemSystem.h"
#include "Effects/GameEffectsSystem.h"
//-----------------------------------------------------------------... | 34.910112 | 100 | 0.429675 | IvarJonsson |
a2acb3efe2d9532fa8cefede51ad09f4d1beae04 | 22,126 | cpp | C++ | indra/newview/lllegacyatmospherics.cpp | SaladDais/LLUDP-Encryption | 8a426cd0dd154e1a10903e0e6383f4deb2a6098a | [
"ISC"
] | 1 | 2022-01-29T07:10:03.000Z | 2022-01-29T07:10:03.000Z | indra/newview/lllegacyatmospherics.cpp | bloomsirenix/Firestorm-manikineko | 67e1bb03b2d05ab16ab98097870094a8cc9de2e7 | [
"Unlicense"
] | null | null | null | indra/newview/lllegacyatmospherics.cpp | bloomsirenix/Firestorm-manikineko | 67e1bb03b2d05ab16ab98097870094a8cc9de2e7 | [
"Unlicense"
] | 1 | 2021-10-01T22:22:27.000Z | 2021-10-01T22:22:27.000Z | /**
* @file lllegacyatmospherics.cpp
* @brief LLAtmospherics class implementation
*
* $LicenseInfo:firstyear=2001&license=viewerlgpl$
* Second Life Viewer Source Code
* Copyright (C) 2010, Linden Research, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of t... | 25.908665 | 139 | 0.670343 | SaladDais |
a2aea435a00c9958982569042c2b3a366c8dec1e | 36,981 | hh | C++ | cc/json-importer.hh | acorg/acmacs-base | a1a6e5b346ea3746f3fc1750ed4b7f29c7c0d049 | [
"MIT"
] | null | null | null | cc/json-importer.hh | acorg/acmacs-base | a1a6e5b346ea3746f3fc1750ed4b7f29c7c0d049 | [
"MIT"
] | null | null | null | cc/json-importer.hh | acorg/acmacs-base | a1a6e5b346ea3746f3fc1750ed4b7f29c7c0d049 | [
"MIT"
] | null | null | null | #pragma once
#error Obsolete, use rjson
#include <string>
#include <vector>
#include <map>
#include <stack>
#include <typeinfo>
#include <functional>
#include <iostream>
#include <memory>
#include "acmacs-base/rapidjson.hh"
// ----------------------------------------------------------------------
namespace json_im... | 44.235646 | 237 | 0.499419 | acorg |
a2af88f95e82c5f6e52791053b6de7a610054d73 | 517 | hpp | C++ | src/code/Library/Synthesizer.hpp | 1iyiwei/texture | eaa78c00666060ca0a51c69920031b367c265e7d | [
"MIT"
] | 33 | 2017-04-13T18:32:42.000Z | 2021-12-21T07:53:59.000Z | src/code/Library/Synthesizer.hpp | 1iyiwei/texture | eaa78c00666060ca0a51c69920031b367c265e7d | [
"MIT"
] | 1 | 2021-09-24T07:21:03.000Z | 2021-09-29T23:39:41.000Z | src/code/Library/Synthesizer.hpp | 1iyiwei/texture | eaa78c00666060ca0a51c69920031b367c265e7d | [
"MIT"
] | 5 | 2017-04-12T17:46:03.000Z | 2021-03-31T00:50:12.000Z | /*
Synthesizer.hpp
the base class for all synthesizers
Li-Yi Wei
August 17, 2014
*/
#ifndef _SYNTHESIZER_HPP
#define _SYNTHESIZER_HPP
#include <set>
#include <string>
using namespace std;
#include "Texture.hpp"
#include "Neighborhood.hpp"
class Synthesizer
{
public:
virtual ~Synthesizer(void) = 0;
... | 15.205882 | 81 | 0.725338 | 1iyiwei |
a2af95919e3fffef582d72c7dacfbb8c82e25db2 | 3,237 | cpp | C++ | day/day_7/main.cpp | moki/aoc2020 | 6eaaaac14aa8a63aea8a6e462be4aa00b5ed385b | [
"BSD-3-Clause"
] | null | null | null | day/day_7/main.cpp | moki/aoc2020 | 6eaaaac14aa8a63aea8a6e462be4aa00b5ed385b | [
"BSD-3-Clause"
] | null | null | null | day/day_7/main.cpp | moki/aoc2020 | 6eaaaac14aa8a63aea8a6e462be4aa00b5ed385b | [
"BSD-3-Clause"
] | null | null | null | #include <algorithm>
#include <deque>
#include <fstream>
#include <iostream>
#include <unordered_map>
#include <vector>
typedef std::pair<std::string, size_t> bag;
constexpr char *delimeter = const_cast<char *>(" bag");
std::vector<bag>
parse_rule(std::string & line) {
size_t pos = 0;
bool first = tr... | 29.162162 | 78 | 0.416435 | moki |
a2b18846e34ac88590c98cf8ad3c6fb2236afccb | 232 | cpp | C++ | Source/JavascriptUMG/JavascriptMenuContext.cpp | keicoon/Unreal.js-core | 2d1ee2f909406cc778273590c1e2c2d3eb72c74a | [
"BSD-3-Clause"
] | 1 | 2021-12-30T17:12:48.000Z | 2021-12-30T17:12:48.000Z | Source/JavascriptUMG/JavascriptMenuContext.cpp | keicoon/Unreal.js-core | 2d1ee2f909406cc778273590c1e2c2d3eb72c74a | [
"BSD-3-Clause"
] | null | null | null | Source/JavascriptUMG/JavascriptMenuContext.cpp | keicoon/Unreal.js-core | 2d1ee2f909406cc778273590c1e2c2d3eb72c74a | [
"BSD-3-Clause"
] | null | null | null | #include "JavascriptMenuContext.h"
bool UJavascriptMenuContext::Public_CanExecute()
{
return OnCanExecute.IsBound() ? OnCanExecute.Execute() : true;
}
void UJavascriptMenuContext::Public_Execute()
{
OnExecute.ExecuteIfBound();
} | 21.090909 | 63 | 0.788793 | keicoon |
a2b7cee28bc2f4d79b96181d36bfaf70ea2d789f | 2,050 | hpp | C++ | contrib/autoboost/autoboost/preprocessor/seq/cat.hpp | CaseyCarter/autowiring | 48e95a71308318c8ffb7ed1348e034fd9110f70c | [
"Apache-2.0"
] | 87 | 2015-01-18T00:43:06.000Z | 2022-02-11T17:40:50.000Z | contrib/autoboost/autoboost/preprocessor/seq/cat.hpp | CaseyCarter/autowiring | 48e95a71308318c8ffb7ed1348e034fd9110f70c | [
"Apache-2.0"
] | 274 | 2015-01-03T04:50:49.000Z | 2021-03-08T09:01:09.000Z | contrib/autoboost/autoboost/preprocessor/seq/cat.hpp | CaseyCarter/autowiring | 48e95a71308318c8ffb7ed1348e034fd9110f70c | [
"Apache-2.0"
] | 15 | 2015-09-30T20:58:43.000Z | 2020-12-19T21:24:56.000Z | # /* **************************************************************************
# * *
# * (C) Copyright Paul Mensonides 2002.
# * Distributed under the Boost Software License, Version 1.0. (See
# * accompanying file LICENSE_1_0.txt... | 41 | 156 | 0.628293 | CaseyCarter |
a2bdd69ffc8253373656cc6a59da5a138a5d3a58 | 3,233 | hpp | C++ | include/LIV/SDK/Unity/TEXTURE_COLOR_SPACE.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | include/LIV/SDK/Unity/TEXTURE_COLOR_SPACE.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | include/LIV/SDK/Unity/TEXTURE_COLOR_SPACE.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: System.Enum
#include "System/Enum.h... | 46.185714 | 112 | 0.72193 | RedBrumbler |
a2c13609a84ada4859b763fa0ef94b36240730aa | 553 | cpp | C++ | PharmacySystem/Purchase.cpp | ismaeelvaris/PharmacySystem | 940ab00dd3a26db467e34142eb2e4028a509b723 | [
"MIT"
] | 1 | 2018-04-25T18:05:07.000Z | 2018-04-25T18:05:07.000Z | PharmacySystem/Purchase.cpp | ismaeelvaris/PharmacySystem | 940ab00dd3a26db467e34142eb2e4028a509b723 | [
"MIT"
] | null | null | null | PharmacySystem/Purchase.cpp | ismaeelvaris/PharmacySystem | 940ab00dd3a26db467e34142eb2e4028a509b723 | [
"MIT"
] | null | null | null | #pragma once
#include <iostream>
#include <string>
using namespace std;
struct Purchase {
public:
Purchase(int prescriptionId, int itemId, int quantity, int salePrice) {
this->prescriptionId = prescriptionId;
this->itemId = itemId;
this->quantity = quantity;
this->salePrice = salePrice;
}
int getPrescript... | 19.068966 | 72 | 0.723327 | ismaeelvaris |
a2c23e86007dcdf743c2c93d7fcda24247ae0568 | 3,785 | cpp | C++ | Code Chef/Iron, Magnet and Wall.cpp | akashmodak97/Competitive-Coding-and-Interview-Problems | a34fcb50378cf4bf4e5fd34e910eb68a1c05c066 | [
"MIT"
] | 51 | 2020-02-24T11:14:00.000Z | 2022-03-24T09:32:18.000Z | Code Chef/Iron, Magnet and Wall.cpp | akashmodak97/Competitive-Coding-and-Interview-Problems | a34fcb50378cf4bf4e5fd34e910eb68a1c05c066 | [
"MIT"
] | 3 | 2020-10-02T08:16:09.000Z | 2021-04-17T16:32:38.000Z | Code Chef/Iron, Magnet and Wall.cpp | akashmodak97/Competitive-Coding-and-Interview-Problems | a34fcb50378cf4bf4e5fd34e910eb68a1c05c066 | [
"MIT"
] | 18 | 2020-04-24T15:33:36.000Z | 2022-03-24T09:32:20.000Z | /* Code Chef */
/* Title - Iron, Magnet and Wall */
/* Created By - Akash Modak */
/* Date - 26/12/2020 */
// Chef loves to play with iron (Fe) and magnets (Ma). He took a row of N cells (numbered 1 through N) and placed some objects in some of these cells. You are given a string S with length N describing them; ... | 38.622449 | 358 | 0.529458 | akashmodak97 |
a2c3f83e25469243923c5bf9fc73de2f0899c3f3 | 2,494 | hpp | C++ | openstudiocore/src/model/ModelObjectList.hpp | bobzabcik/OpenStudio | 858321dc0ad8d572de15858d2ae487b029a8d847 | [
"blessing"
] | null | null | null | openstudiocore/src/model/ModelObjectList.hpp | bobzabcik/OpenStudio | 858321dc0ad8d572de15858d2ae487b029a8d847 | [
"blessing"
] | null | null | null | openstudiocore/src/model/ModelObjectList.hpp | bobzabcik/OpenStudio | 858321dc0ad8d572de15858d2ae487b029a8d847 | [
"blessing"
] | null | null | null | /**********************************************************************
* Copyright (c) 2008-2013, Alliance for Sustainable Energy.
* All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by t... | 28.666667 | 98 | 0.709703 | bobzabcik |
a2c447a7acd7c74cdf2cf2d09f451b5b5c43a410 | 32,824 | cpp | C++ | DeviceCode/pal/PKCS11/Tokens/OpenSSL/OpenSSL_PKCS11_objects.cpp | PervasiveDigital/netmf-interpreter | 03d84fe76e0b666ebec62d17d69c55c45940bc40 | [
"Apache-2.0"
] | 529 | 2015-03-10T00:17:45.000Z | 2022-03-17T02:21:19.000Z | DeviceCode/pal/PKCS11/Tokens/OpenSSL/OpenSSL_PKCS11_objects.cpp | PervasiveDigital/netmf-interpreter | 03d84fe76e0b666ebec62d17d69c55c45940bc40 | [
"Apache-2.0"
] | 495 | 2015-03-10T22:02:46.000Z | 2019-05-16T13:05:00.000Z | DeviceCode/pal/PKCS11/Tokens/OpenSSL/OpenSSL_PKCS11_objects.cpp | PervasiveDigital/netmf-interpreter | 03d84fe76e0b666ebec62d17d69c55c45940bc40 | [
"Apache-2.0"
] | 332 | 2015-03-10T08:04:36.000Z | 2022-03-29T04:18:36.000Z | #include "OpenSSL_pkcs11.h"
#include <PEM\pem.h>
#include <PKCS12\pkcs12.h>
#include <TinyCLR\ssl_functions.h>
OBJECT_DATA PKCS11_Objects_OpenSSL::s_Objects[];
void PKCS11_Objects_OpenSSL::IntitializeObjects()
{
memset(PKCS11_Objects_OpenSSL::s_Objects, 0, sizeof(PKCS11_Objects_OpenSSL::s_Objects));
}... | 34.085151 | 186 | 0.443486 | PervasiveDigital |
a2c9a23508b58bc55999787bef84c073718a6d0a | 404 | cpp | C++ | src/datatype.cpp | BergerZvika/smt-switch | c65dc8529c81b04443807147da2c5cebdccf216d | [
"BSD-3-Clause"
] | 49 | 2018-02-20T12:47:28.000Z | 2021-08-14T17:06:19.000Z | src/datatype.cpp | BergerZvika/smt-switch | c65dc8529c81b04443807147da2c5cebdccf216d | [
"BSD-3-Clause"
] | 117 | 2017-06-30T18:26:02.000Z | 2021-08-17T19:50:18.000Z | src/datatype.cpp | BergerZvika/smt-switch | c65dc8529c81b04443807147da2c5cebdccf216d | [
"BSD-3-Clause"
] | 21 | 2019-10-10T22:22:03.000Z | 2021-07-22T14:15:10.000Z | #include "datatype.h"
namespace smt {
// Overloaded operators simply call the constructors' comparison functions
bool operator==(const DatatypeConstructorDecl & d1,
const DatatypeConstructorDecl & d2)
{
return d1->compare(d2);
}
bool operator!=(const DatatypeConstructorDecl & d1,
cons... | 23.764706 | 74 | 0.695545 | BergerZvika |