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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a790c61c43f1fa8b82035b8605f11a51d41f37b1 | 9,253 | cpp | C++ | ContentTools/PrimitiveMesh.cpp | ZackShrout/HavanaEngine | b8869acfff27e41bd37079716d152c2df9674fe2 | [
"Apache-2.0"
] | null | null | null | ContentTools/PrimitiveMesh.cpp | ZackShrout/HavanaEngine | b8869acfff27e41bd37079716d152c2df9674fe2 | [
"Apache-2.0"
] | null | null | null | ContentTools/PrimitiveMesh.cpp | ZackShrout/HavanaEngine | b8869acfff27e41bd37079716d152c2df9674fe2 | [
"Apache-2.0"
] | null | null | null | #include "PrimitiveMesh.h"
#include "Geometry.h"
namespace Havana::Tools
{
namespace
{
using namespace Math;
using namespace DirectX;
using primitive_mesh_creator = void(*)(Scene&, const PrimitiveInitInfo& info);
void CreatePlane(Scene& scene, const PrimitiveInitInfo& info);
void CreateCube(Scene& scene, ... | 30.238562 | 108 | 0.602832 | ZackShrout |
0427bd33aa17e82efd3c0f572e58865a8f46b5c5 | 16,935 | cpp | C++ | sdl1/cannonball/src/main/frontend/config.cpp | pdpdds/sdldualsystem | d74ea84cbea705fef62868ba8c693bf7d2555636 | [
"BSD-2-Clause"
] | null | null | null | sdl1/cannonball/src/main/frontend/config.cpp | pdpdds/sdldualsystem | d74ea84cbea705fef62868ba8c693bf7d2555636 | [
"BSD-2-Clause"
] | null | null | null | sdl1/cannonball/src/main/frontend/config.cpp | pdpdds/sdldualsystem | d74ea84cbea705fef62868ba8c693bf7d2555636 | [
"BSD-2-Clause"
] | null | null | null | /***************************************************************************
XML Configuration File Handling.
Load Settings.
Load & Save Hi-Scores.
Copyright Chris White.
See license.txt for more details.
***************************************************************************/
// see: http://... | 40.611511 | 138 | 0.58943 | pdpdds |
042848ffe5b2e29b9dc50d6529d6a156b34354cd | 5,428 | cc | C++ | chrome/browser/ui/tabs/tab_strip_model_stats_recorder.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | chrome/browser/ui/tabs/tab_strip_model_stats_recorder.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | chrome/browser/ui/tabs/tab_strip_model_stats_recorder.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2015 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 "chrome/browser/ui/tabs/tab_strip_model_stats_recorder.h"
#include <algorithm>
#include <utility>
#include "base/check.h"
#include "base/memory... | 33.300613 | 80 | 0.713707 | zealoussnow |
042c8582ce7be8f2c9d239da2727d8384847d5b2 | 22,847 | cpp | C++ | src/protocol/Connection.cpp | garrettr/ricochet | a22c729b3e912794a8af65879ed1b38573385657 | [
"OpenSSL"
] | 3,461 | 2015-01-01T09:44:50.000Z | 2022-03-26T06:24:41.000Z | src/protocol/Connection.cpp | infocoms/Ricochet-DarkMode | 0d3513965aac61f0af10369d05fc3a8cfa6f6d1c | [
"BSD-3-Clause"
] | 498 | 2015-01-02T07:32:06.000Z | 2022-01-22T16:44:07.000Z | src/protocol/Connection.cpp | infocoms/Ricochet-DarkMode | 0d3513965aac61f0af10369d05fc3a8cfa6f6d1c | [
"BSD-3-Clause"
] | 447 | 2015-01-08T01:19:39.000Z | 2022-01-27T19:07:39.000Z | /* Ricochet - https://ricochet.im/
* Copyright (C) 2014, John Brooks <john.brooks@dereferenced.net>
*
* 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 ... | 34.616667 | 130 | 0.600823 | garrettr |
042c9dc2cd0d2405799a6e5b0ca994ce53a07029 | 1,136 | hpp | C++ | src/ui/Font.hpp | PegasusEpsilon/Barony | 6311f7e5da4835eaea65a95b5cc258409bb0dfa4 | [
"FTL",
"Zlib",
"MIT"
] | null | null | null | src/ui/Font.hpp | PegasusEpsilon/Barony | 6311f7e5da4835eaea65a95b5cc258409bb0dfa4 | [
"FTL",
"Zlib",
"MIT"
] | null | null | null | src/ui/Font.hpp | PegasusEpsilon/Barony | 6311f7e5da4835eaea65a95b5cc258409bb0dfa4 | [
"FTL",
"Zlib",
"MIT"
] | null | null | null | //! @file Font.hpp
#pragma once
#include "../main.hpp"
class Font {
private:
Font() = default;
Font(const char* _name);
Font(const Font&) = delete;
Font(Font&&) = delete;
virtual ~Font();
Font& operator=(const Font&) = delete;
Font& operator=(Font&&) = delete;
public:
//! built-in font
static const char* ... | 23.666667 | 61 | 0.672535 | PegasusEpsilon |
042cf49955f381c33af736b13f3712813964bf1c | 876 | cc | C++ | apps/solve.cc | CS126SP20/sudoku-hecht3 | a7f6a453eb7be8782167418c8c64dc293d1e3a8c | [
"MIT"
] | null | null | null | apps/solve.cc | CS126SP20/sudoku-hecht3 | a7f6a453eb7be8782167418c8c64dc293d1e3a8c | [
"MIT"
] | null | null | null | apps/solve.cc | CS126SP20/sudoku-hecht3 | a7f6a453eb7be8782167418c8c64dc293d1e3a8c | [
"MIT"
] | null | null | null | // Copyright (c) 2020 [Your Name]. All rights reserved.
#include <sudoku/sudoku_parser.h>
#include <iostream>
#include <fstream>
void HandleFile(std::string puzzle);
int main(int argc, char** argv) {
// There is always at least 1 argument -- the name of the program which we
// don't care about
if (argc == 1) {... | 25.028571 | 76 | 0.627854 | CS126SP20 |
042f62b522d5c4e94a3a91d40ff19f6170803aee | 329 | cpp | C++ | 1-6-11z.cpp | Kaermor/stepik-course363-cpp | 7df3381ee5460565754745b6d48ed3f1324e73ef | [
"Apache-2.0"
] | null | null | null | 1-6-11z.cpp | Kaermor/stepik-course363-cpp | 7df3381ee5460565754745b6d48ed3f1324e73ef | [
"Apache-2.0"
] | null | null | null | 1-6-11z.cpp | Kaermor/stepik-course363-cpp | 7df3381ee5460565754745b6d48ed3f1324e73ef | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <cmath>
#include <iomanip>
using namespace std;
int foo_1_6_11z() {
double a, b, c, d, e, f, x, y;
cin >> a;
cin >> b;
cin >> c;
cin >> d;
cin >> e;
cin >> f;
x = (e*d - b*f) / (d*a - b*c);
y = (a*f - e*c) / (d*a - b*c);
cout << x << " " << y <... | 14.954545 | 34 | 0.419453 | Kaermor |
042f890043cf1be0dcd3612270f70377536110a1 | 53,038 | cpp | C++ | src/renderer/editor/terrain_editor.cpp | santaclose/LumixEngine | f163e673d7ebc451c134db8d2fbb55ac38962137 | [
"MIT"
] | null | null | null | src/renderer/editor/terrain_editor.cpp | santaclose/LumixEngine | f163e673d7ebc451c134db8d2fbb55ac38962137 | [
"MIT"
] | null | null | null | src/renderer/editor/terrain_editor.cpp | santaclose/LumixEngine | f163e673d7ebc451c134db8d2fbb55ac38962137 | [
"MIT"
] | null | null | null | #include <imgui/imgui.h>
#include "terrain_editor.h"
#include "editor/asset_browser.h"
#include "editor/asset_compiler.h"
#include "editor/entity_folders.h"
#include "editor/prefab_system.h"
#include "editor/studio_app.h"
#include "editor/utils.h"
#include "engine/crc32.h"
#include "engine/crt.h"
#include "engine/engi... | 30.359473 | 165 | 0.678419 | santaclose |
04326480283816f6e982b697093aab4f31b36529 | 21,971 | hpp | C++ | include/UnityEngine/Networking/UnityWebRequest_UnityWebRequestError.hpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | include/UnityEngine/Networking/UnityWebRequest_UnityWebRequestError.hpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | include/UnityEngine/Networking/UnityWebRequest_UnityWebRequestError.hpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Including type: UnityEngine.Ne... | 99.41629 | 158 | 0.823449 | Fernthedev |
0436636dbe6171fdda0d241fd15f9b284699395f | 24 | cpp | C++ | util/draft/estimators.cpp | SitdikovRustam/CatBoost | 39fb9dfddb24e977ed87efc71063b03cd4bc8f16 | [
"Apache-2.0"
] | 33 | 2016-12-15T21:47:13.000Z | 2020-10-27T23:53:59.000Z | util/draft/estimators.cpp | dsferz/machinelearning_yandex | 8fde8314c5c70299ece8b8f00075ddfcd5e07ddf | [
"Apache-2.0"
] | null | null | null | util/draft/estimators.cpp | dsferz/machinelearning_yandex | 8fde8314c5c70299ece8b8f00075ddfcd5e07ddf | [
"Apache-2.0"
] | 14 | 2016-12-28T17:00:33.000Z | 2022-01-16T20:15:27.000Z | #include "estimators.h"
| 12 | 23 | 0.75 | SitdikovRustam |
04375a304f2cd29a9b0c5eb3ce8b357124ad381c | 11,956 | hh | C++ | src/lib/MeshFEM/EnergyDensities/TensionFieldTheory.hh | MeshFEM/MeshFEM | 9b3619fa450d83722879bfd0f5a3fe69d927bd63 | [
"MIT"
] | 19 | 2020-10-21T10:05:17.000Z | 2022-03-20T13:41:50.000Z | src/lib/MeshFEM/EnergyDensities/TensionFieldTheory.hh | MeshFEM/MeshFEM | 9b3619fa450d83722879bfd0f5a3fe69d927bd63 | [
"MIT"
] | 4 | 2021-01-01T15:58:15.000Z | 2021-09-19T03:31:09.000Z | src/lib/MeshFEM/EnergyDensities/TensionFieldTheory.hh | MeshFEM/MeshFEM | 9b3619fa450d83722879bfd0f5a3fe69d927bd63 | [
"MIT"
] | 4 | 2020-10-05T09:01:50.000Z | 2022-01-11T03:02:39.000Z | ////////////////////////////////////////////////////////////////////////////////
// TensionFieldTheory.hh
////////////////////////////////////////////////////////////////////////////////
/*! @file
// Implements a field theory relaxed energy density for a fully generic,
// potentially anisotropic, 2D "C-based" energy ... | 39.328947 | 113 | 0.613499 | MeshFEM |
0437f79bb5ade9e9b582a4fc33393bd9e0301583 | 8,119 | cpp | C++ | deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgPlugins/shp/XBaseParser.cpp | UM-ARM-Lab/mab_ms | f199f05b88060182cfbb47706bd1ff3479032c43 | [
"BSD-2-Clause"
] | 3 | 2018-08-20T12:12:43.000Z | 2021-06-06T09:43:27.000Z | deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgPlugins/shp/XBaseParser.cpp | UM-ARM-Lab/mab_ms | f199f05b88060182cfbb47706bd1ff3479032c43 | [
"BSD-2-Clause"
] | null | null | null | deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgPlugins/shp/XBaseParser.cpp | UM-ARM-Lab/mab_ms | f199f05b88060182cfbb47706bd1ff3479032c43 | [
"BSD-2-Clause"
] | 1 | 2022-03-31T03:12:23.000Z | 2022-03-31T03:12:23.000Z | #include "XBaseParser.h"
#include <vector>
#include <string>
#include <memory.h>
#include <stdio.h>
#include <stdlib.h>
#if defined(_MSC_VER) || defined(__MINGW32__)
#include <io.h>
#else
#include <unistd.h>
#endif
#include <fcntl.h>
#include <osg/Notify>
namespace ESRIShape
{
void XBaseHeader::print()
{... | 36.904545 | 154 | 0.55093 | UM-ARM-Lab |
04380da30516f9931c814f7e57999f699f2103d4 | 7,764 | cpp | C++ | Blizzlike/Trinity/Scripts/Dungeons/Stratholme/boss_dathrohan_balnazzar.cpp | 499453466/Lua-Other | 43fd2b72405faf3f2074fd2a2706ef115d16faa6 | [
"Unlicense"
] | 2 | 2015-06-23T16:26:32.000Z | 2019-06-27T07:45:59.000Z | Blizzlike/Trinity/Scripts/Dungeons/Stratholme/boss_dathrohan_balnazzar.cpp | Eduardo-Silla/Lua-Other | db610f946dbcaf81b3de9801f758e11a7bf2753f | [
"Unlicense"
] | null | null | null | Blizzlike/Trinity/Scripts/Dungeons/Stratholme/boss_dathrohan_balnazzar.cpp | Eduardo-Silla/Lua-Other | db610f946dbcaf81b3de9801f758e11a7bf2753f | [
"Unlicense"
] | 3 | 2015-01-10T18:22:59.000Z | 2021-04-27T21:28:28.000Z | /*
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software ... | 34.816143 | 122 | 0.551391 | 499453466 |
0438c5e47926dbfe5ee9f60971e30e206204d7fa | 3,624 | cpp | C++ | league_skin_changer/game_classes.cpp | slowptr/LeagueSkinChanger | c37d505c4062b1acc1a7012650d6a33d5d8a3bce | [
"MIT"
] | 1 | 2020-11-24T14:51:20.000Z | 2020-11-24T14:51:20.000Z | league_skin_changer/game_classes.cpp | devzhai/LeagueSkinChanger | aaad169c8b74756c0ceb668fa003577aedc62965 | [
"MIT"
] | null | null | null | league_skin_changer/game_classes.cpp | devzhai/LeagueSkinChanger | aaad169c8b74756c0ceb668fa003577aedc62965 | [
"MIT"
] | null | null | null | /* This file is part of LeagueSkinChanger by b3akers, licensed under the MIT license:
*
* MIT License
*
* Copyright (c) b3akers 2020
*
* 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 ... | 45.873418 | 337 | 0.73234 | slowptr |
0438e9cbaa51f7f0861a54a1a739e896e8cdb011 | 6,573 | cc | C++ | src/vnsw/agent/ovs_tor_agent/ovsdb_client/test/test_ovs_base.cc | casek14/contrail-controller | 18e2572635370b3cb6da2731af049cbeb934f2bb | [
"Apache-2.0"
] | 1 | 2019-01-11T06:16:10.000Z | 2019-01-11T06:16:10.000Z | src/vnsw/agent/ovs_tor_agent/ovsdb_client/test/test_ovs_base.cc | chnyda/contrail-controller | 398f13bb5bad831550389be6ac3eb3e259642664 | [
"Apache-2.0"
] | null | null | null | src/vnsw/agent/ovs_tor_agent/ovsdb_client/test/test_ovs_base.cc | chnyda/contrail-controller | 398f13bb5bad831550389be6ac3eb3e259642664 | [
"Apache-2.0"
] | 1 | 2020-06-08T11:50:36.000Z | 2020-06-08T11:50:36.000Z | /*
* Copyright (c) 2015 Juniper Networks, Inc. All rights reserved.
*/
#include "base/os.h"
#include "testing/gunit.h"
#include <base/logging.h>
#include <io/event_manager.h>
#include <io/test/event_manager_test.h>
#include <tbb/task.h>
#include <base/task.h>
#include <cmn/agent_cmn.h>
#include "cfg/cfg_init.h"
#... | 30.859155 | 82 | 0.694964 | casek14 |
043ac0b5c34ad8ecec530d8db83cb7eba171b072 | 2,298 | cpp | C++ | lib/spdk/BdevStats.cpp | janlt/daqdb | 04ff602fe0a6c199a782b877203b8b8b9d3fec66 | [
"Apache-2.0"
] | 22 | 2019-02-08T17:23:12.000Z | 2021-10-12T06:35:37.000Z | lib/spdk/BdevStats.cpp | janlt/daqdb | 04ff602fe0a6c199a782b877203b8b8b9d3fec66 | [
"Apache-2.0"
] | 8 | 2019-02-11T06:30:47.000Z | 2020-04-22T09:49:44.000Z | lib/spdk/BdevStats.cpp | daq-db/daqdb | e30afe8a9a4727e60d0c1122d28679a4ce326844 | [
"Apache-2.0"
] | 10 | 2019-02-11T10:26:52.000Z | 2019-09-16T20:49:25.000Z | /**
* Copyright (c) 2019 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | 31.916667 | 79 | 0.60705 | janlt |
043c2ada10f75b08679083126bd169f4cc59f250 | 601 | cpp | C++ | UVa 10508 - Word Morphing/sample/10508 - Word Morphing.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | 1 | 2020-11-24T03:17:21.000Z | 2020-11-24T03:17:21.000Z | UVa 10508 - Word Morphing/sample/10508 - Word Morphing.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | null | null | null | UVa 10508 - Word Morphing/sample/10508 - Word Morphing.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | 1 | 2021-04-11T16:22:31.000Z | 2021-04-11T16:22:31.000Z | #include <stdio.h>
char word[1005][1005];
int main() {
int n, m, i, j;
int idx[1005];
while(scanf("%d %d", &n, &m) == 2) {
while(getchar() != '\n');
gets(word[0]);
idx[0] = 0;
for(i = 1; i < n; i++) {
int cnt = 0;
gets(word[i]);
for(j = 0;... | 15.410256 | 44 | 0.386023 | tadvi |
043cb4f04d9e8e2afacf1f781cc1f86786d7a247 | 551 | hpp | C++ | include/lol/def/LolLootPlayerLootMap.hpp | Maufeat/LeagueAPI | be7cb5093aab3f27d95b3c0e1d5700aa50126c47 | [
"BSD-3-Clause"
] | 1 | 2020-07-22T11:14:55.000Z | 2020-07-22T11:14:55.000Z | include/lol/def/LolLootPlayerLootMap.hpp | Maufeat/LeagueAPI | be7cb5093aab3f27d95b3c0e1d5700aa50126c47 | [
"BSD-3-Clause"
] | null | null | null | include/lol/def/LolLootPlayerLootMap.hpp | Maufeat/LeagueAPI | be7cb5093aab3f27d95b3c0e1d5700aa50126c47 | [
"BSD-3-Clause"
] | 4 | 2018-12-01T22:48:21.000Z | 2020-07-22T11:14:56.000Z | #pragma once
#include "../base_def.hpp"
#include "LolLootPlayerLoot.hpp"
namespace lol {
struct LolLootPlayerLootMap {
int64_t version;
std::map<std::string, LolLootPlayerLoot> playerLoot;
};
inline void to_json(json& j, const LolLootPlayerLootMap& v) {
j["version"] = v.version;
j["playerLoot"... | 32.411765 | 87 | 0.675136 | Maufeat |
043e9e1e97af908abcd322c0a6ce04f7d2d4ca3d | 629 | cpp | C++ | lib/air/tool/cli/Main.cpp | mjlee34/poseidonos | 8eff75c5ba7af8090d3ff4ac51d7507b37571f9b | [
"BSD-3-Clause"
] | null | null | null | lib/air/tool/cli/Main.cpp | mjlee34/poseidonos | 8eff75c5ba7af8090d3ff4ac51d7507b37571f9b | [
"BSD-3-Clause"
] | null | null | null | lib/air/tool/cli/Main.cpp | mjlee34/poseidonos | 8eff75c5ba7af8090d3ff4ac51d7507b37571f9b | [
"BSD-3-Clause"
] | null | null | null |
#include <stdio.h>
#include <unistd.h>
#include "tool/cli/CliRecv.h"
#include "tool/cli/CliSend.h"
int
main(int argc, char* argv[])
{
int pid = getpid();
air::CliResult* cli_result = new air::CliResult{};
air::CliSend* cli_send = new air::CliSend{cli_result, pid};
air::CliRecv* cli_recv = new air::Cl... | 19.65625 | 63 | 0.63911 | mjlee34 |
0440b22e726607f0bc25c07f77966ae5042e7172 | 2,488 | cc | C++ | google_apis/gaia/core_account_id.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | google_apis/gaia/core_account_id.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | google_apis/gaia/core_account_id.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2019 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 "google_apis/gaia/core_account_id.h"
#include "base/check.h"
namespace {
// Returns whether the string looks like an email (the test is
// crud... | 27.644444 | 76 | 0.724277 | zealoussnow |
04429fd235d6659428bd0141cf64515cf9d012af | 3,328 | hpp | C++ | source/external/mongo-cxx-driver/include/mongocxx/v_noabi/mongocxx/options/insert.hpp | VincentPT/vschk | f8f40a7666d80224a9a24c097a4d52f5507d03de | [
"MIT"
] | null | null | null | source/external/mongo-cxx-driver/include/mongocxx/v_noabi/mongocxx/options/insert.hpp | VincentPT/vschk | f8f40a7666d80224a9a24c097a4d52f5507d03de | [
"MIT"
] | null | null | null | source/external/mongo-cxx-driver/include/mongocxx/v_noabi/mongocxx/options/insert.hpp | VincentPT/vschk | f8f40a7666d80224a9a24c097a4d52f5507d03de | [
"MIT"
] | 1 | 2021-06-18T05:00:10.000Z | 2021-06-18T05:00:10.000Z | // Copyright 2014 MongoDB 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 required by applicable law or agreed to in wri... | 31.102804 | 100 | 0.682091 | VincentPT |
04458d4bd362c54a9a27195322e1ad616d5d4a14 | 2,320 | cpp | C++ | test/test_tree/test_splits.cpp | guillempalou/eigenml | 3991ddbfd01032cbbe698f6ec35eecbfe127e9b4 | [
"Apache-2.0"
] | null | null | null | test/test_tree/test_splits.cpp | guillempalou/eigenml | 3991ddbfd01032cbbe698f6ec35eecbfe127e9b4 | [
"Apache-2.0"
] | null | null | null | test/test_tree/test_splits.cpp | guillempalou/eigenml | 3991ddbfd01032cbbe698f6ec35eecbfe127e9b4 | [
"Apache-2.0"
] | null | null | null | #include <gtest/gtest.h>
#include <eigenml/decision_tree/decision_tree_traits.hpp>
#include <eigenml/decision_tree/splitting/find_thresholds.hpp>
#include <eigenml/decision_tree/splitting/criteria.hpp>
using namespace eigenml;
using namespace eigenml::decision_tree;
typedef tree_traits<ModelType::kSupervisedClassifie... | 30.12987 | 97 | 0.731466 | guillempalou |
044640c9f5523e8f3ad733ea5e4d0e19963a13cc | 5,021 | cc | C++ | pw_log_rpc/log_filter.cc | Tiggerlaboratoriet/pigweed | 7d7e7ad6223433f45af680f43ab4d75e23ad3257 | [
"Apache-2.0"
] | null | null | null | pw_log_rpc/log_filter.cc | Tiggerlaboratoriet/pigweed | 7d7e7ad6223433f45af680f43ab4d75e23ad3257 | [
"Apache-2.0"
] | null | null | null | pw_log_rpc/log_filter.cc | Tiggerlaboratoriet/pigweed | 7d7e7ad6223433f45af680f43ab4d75e23ad3257 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 The Pigweed 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agre... | 33.251656 | 80 | 0.605457 | Tiggerlaboratoriet |
04483907ef40fb6a91d8701926c809d4c9be6bf6 | 7,348 | cc | C++ | ash/system/unified/unified_system_tray_view.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | ash/system/unified/unified_system_tray_view.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | ash/system/unified/unified_system_tray_view.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2018 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 "ash/system/unified/unified_system_tray_view.h"
#include "ash/public/cpp/app_list/app_list_features.h"
#include "ash/system/tray/interacted_by_t... | 34.824645 | 80 | 0.753674 | zipated |
0448f440d168700d188da35d1fcba68c95c5ed80 | 4,150 | cpp | C++ | IO/src/av/src/export.cpp | tlalexander/stitchEm | cdff821ad2c500703e6cb237ec61139fce7bf11c | [
"MIT"
] | 182 | 2019-04-19T12:38:30.000Z | 2022-03-20T16:48:20.000Z | IO/src/av/src/export.cpp | tlalexander/stitchEm | cdff821ad2c500703e6cb237ec61139fce7bf11c | [
"MIT"
] | 107 | 2019-04-23T10:49:35.000Z | 2022-03-02T18:12:28.000Z | IO/src/av/src/export.cpp | tlalexander/stitchEm | cdff821ad2c500703e6cb237ec61139fce7bf11c | [
"MIT"
] | 59 | 2019-06-04T11:27:25.000Z | 2022-03-17T23:49:49.000Z | // Copyright (c) 2012-2017 VideoStitch SAS
// Copyright (c) 2018 stitchEm
#include "export.hpp"
#include "videoReader.hpp"
#include "netStreamReader.hpp"
#include "avWriter.hpp"
#include "libvideostitch/logging.hpp"
#include "libvideostitch/output.hpp"
#include "libvideostitch/plugin.hpp"
#include "libvideostitch/ptv... | 41.089109 | 115 | 0.68747 | tlalexander |
044d0c1fd78751ffbea415337b6b2fc0c75051ec | 29,450 | cc | C++ | icing/index/main/posting-list-used_test.cc | PixelPlusUI-SnowCone/external_icing | 206a7d6b4ab83c6acdb8b14565e2431751c9e4cf | [
"Apache-2.0"
] | null | null | null | icing/index/main/posting-list-used_test.cc | PixelPlusUI-SnowCone/external_icing | 206a7d6b4ab83c6acdb8b14565e2431751c9e4cf | [
"Apache-2.0"
] | null | null | null | icing/index/main/posting-list-used_test.cc | PixelPlusUI-SnowCone/external_icing | 206a7d6b4ab83c6acdb8b14565e2431751c9e4cf | [
"Apache-2.0"
] | null | null | null | // Copyright (C) 2019 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... | 41.304348 | 80 | 0.67399 | PixelPlusUI-SnowCone |
044d4604f3e34abc3f895b3190868adfbaed3869 | 21,557 | cc | C++ | ftr/font/font.cc | louis-tru/Ngui | c1f25d8b6c42e873d5969fb588af22f428c58d4c | [
"BSD-3-Clause-Clear"
] | 86 | 2017-11-21T01:05:30.000Z | 2020-05-21T12:30:31.000Z | ftr/font/font.cc | louis-tru/Ngui | c1f25d8b6c42e873d5969fb588af22f428c58d4c | [
"BSD-3-Clause-Clear"
] | 14 | 2020-10-16T11:30:57.000Z | 2021-04-16T06:10:06.000Z | ftr/font/font.cc | louis-tru/Ngui | c1f25d8b6c42e873d5969fb588af22f428c58d4c | [
"BSD-3-Clause-Clear"
] | 13 | 2017-11-21T10:18:53.000Z | 2019-10-18T09:15:55.000Z | /* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright (c) 2015, xuewen.chu
* 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 sourc... | 26.879052 | 96 | 0.646704 | louis-tru |
044f93add01f770435b6c1a5fbb095c60706423e | 26,817 | cpp | C++ | cpp-restsdk/model/PinEnergy.cpp | thracesystems/powermeter-api | 7bdab034ff916ee49e986de88f157bd044e981c1 | [
"Apache-2.0"
] | null | null | null | cpp-restsdk/model/PinEnergy.cpp | thracesystems/powermeter-api | 7bdab034ff916ee49e986de88f157bd044e981c1 | [
"Apache-2.0"
] | null | null | null | cpp-restsdk/model/PinEnergy.cpp | thracesystems/powermeter-api | 7bdab034ff916ee49e986de88f157bd044e981c1 | [
"Apache-2.0"
] | null | null | null | /**
* PowerMeter API
* API
*
* The version of the OpenAPI document: 2021.4.1
*
* NOTE: This class is auto generated by OpenAPI-Generator 4.3.1.
* https://openapi-generator.tech
* Do not edit the class manually.
*/
#include "PinEnergy.h"
namespace powermeter {
namespace model {
PinEnergy::PinEnergy()
{
... | 28.377778 | 145 | 0.664653 | thracesystems |
045183dcd2e18e2989e72814937327efe7088073 | 7,643 | cpp | C++ | libraries/getopts/commandLineParser.cpp | dyollb/VegaFEM | 83bb9e52f68dec5511393af0469abd85cfff4a7f | [
"BSD-3-Clause"
] | null | null | null | libraries/getopts/commandLineParser.cpp | dyollb/VegaFEM | 83bb9e52f68dec5511393af0469abd85cfff4a7f | [
"BSD-3-Clause"
] | null | null | null | libraries/getopts/commandLineParser.cpp | dyollb/VegaFEM | 83bb9e52f68dec5511393af0469abd85cfff4a7f | [
"BSD-3-Clause"
] | null | null | null | /*************************************************************************
* *
* Vega FEM Simulation Library Version 4.0 *
* *
* "getopts" library... | 35.059633 | 129 | 0.447861 | dyollb |
0452941871a83af5ba88c83fbedd86ff43b8d988 | 25,244 | cpp | C++ | modules/core/src/split.cpp | liqingshan/opencv | 5e68f35500a859838ab8688bd3487cf9edece3f7 | [
"BSD-3-Clause"
] | 17 | 2016-03-16T08:48:30.000Z | 2022-02-21T12:09:28.000Z | modules/core/src/split.cpp | nurisis/opencv | 4378b4d03d8415a132b6675883957243f95d75ee | [
"BSD-3-Clause"
] | 5 | 2017-10-15T15:44:47.000Z | 2022-02-17T11:31:32.000Z | modules/core/src/split.cpp | nurisis/opencv | 4378b4d03d8415a132b6675883957243f95d75ee | [
"BSD-3-Clause"
] | 25 | 2018-09-26T08:51:13.000Z | 2022-02-24T13:43:58.000Z | // This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html
#include "precomp.hpp"
#include "opencl_kernels_core.hpp"
namespace cv { namespace hal {
#if CV_NEON
template<typename T> s... | 42.786441 | 185 | 0.393797 | liqingshan |
0452ae4a768900c322fe1193c624b23be4479254 | 1,464 | hpp | C++ | src/aspell-60/common/filter_char.hpp | reydajp/build-spell | a88ffbb9ffedae3f20933b187c95851e47e0e4c3 | [
"MIT"
] | 31 | 2016-11-08T05:13:02.000Z | 2022-02-23T19:13:01.000Z | src/aspell-60/common/filter_char.hpp | reydajp/build-spell | a88ffbb9ffedae3f20933b187c95851e47e0e4c3 | [
"MIT"
] | 6 | 2017-01-17T20:21:55.000Z | 2021-09-02T07:36:18.000Z | src/aspell-60/common/filter_char.hpp | reydajp/build-spell | a88ffbb9ffedae3f20933b187c95851e47e0e4c3 | [
"MIT"
] | 5 | 2017-07-11T11:10:55.000Z | 2022-02-14T01:55:16.000Z | #ifndef acommon_filter_char_hh
#define acommon_filter_char_hh
// This file is part of The New Aspell
// Copyright (C) 2002 by Kevin Atkinson under the GNU LGPL license
// version 2.0 or 2.1. You should have received a copy of the LGPL
// license along with this library if you did not you can find
// it at http://www.... | 28.705882 | 69 | 0.638661 | reydajp |
0455e1b953175e5fa7f25afc9b03beefbaadcd2b | 3,559 | inl | C++ | runnable/Stack.inl | eladraz/morph | e80b93af449471fb2ca9e256188f9a92f631fbc2 | [
"BSD-3-Clause"
] | 4 | 2017-01-24T09:32:23.000Z | 2021-08-20T03:29:54.000Z | runnable/Stack.inl | eladraz/morph | e80b93af449471fb2ca9e256188f9a92f631fbc2 | [
"BSD-3-Clause"
] | null | null | null | runnable/Stack.inl | eladraz/morph | e80b93af449471fb2ca9e256188f9a92f631fbc2 | [
"BSD-3-Clause"
] | 1 | 2021-08-20T03:29:55.000Z | 2021-08-20T03:29:55.000Z | /*
* Copyright (c) 2008-2016, Integrity Project Ltd. 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 ... | 25.421429 | 78 | 0.692329 | eladraz |
0455f1414c402e8cfef678358dc0fa8b56e2ad54 | 2,229 | cpp | C++ | FMODStudio/Source/FMODStudio/Private/FMODEvent.cpp | alessandrofama/ue4integration | 074118424f95fde7455ca6de4e992a2608ead146 | [
"MIT"
] | null | null | null | FMODStudio/Source/FMODStudio/Private/FMODEvent.cpp | alessandrofama/ue4integration | 074118424f95fde7455ca6de4e992a2608ead146 | [
"MIT"
] | null | null | null | FMODStudio/Source/FMODStudio/Private/FMODEvent.cpp | alessandrofama/ue4integration | 074118424f95fde7455ca6de4e992a2608ead146 | [
"MIT"
] | null | null | null | // Copyright (c), Firelight Technologies Pty, Ltd. 2012-2019.
#include "FMODEvent.h"
#include "FMODStudioModule.h"
#include "fmod_studio.hpp"
UFMODEvent::UFMODEvent(const FObjectInitializer &ObjectInitializer)
: Super(ObjectInitializer)
{
}
/** Get tags to show in content view */
void UFMODEvent::Get... | 37.779661 | 147 | 0.665321 | alessandrofama |
0459c857420fa66ea62ffc1905429b1cee9363d5 | 1,379 | cpp | C++ | include/igl/png/readPNG.cpp | rushmash/libwetcloth | 24f16481c68952c3d2a91acd6e3b74eb091b66bc | [
"BSD-3-Clause-Clear"
] | 28 | 2017-03-01T04:09:18.000Z | 2022-02-01T13:33:50.000Z | include/igl/png/readPNG.cpp | rushmash/libwetcloth | 24f16481c68952c3d2a91acd6e3b74eb091b66bc | [
"BSD-3-Clause-Clear"
] | 3 | 2017-03-09T05:22:49.000Z | 2017-08-02T18:38:05.000Z | include/igl/png/readPNG.cpp | rushmash/libwetcloth | 24f16481c68952c3d2a91acd6e3b74eb091b66bc | [
"BSD-3-Clause-Clear"
] | 17 | 2017-03-01T14:00:01.000Z | 2022-02-08T06:36:54.000Z | // This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2016 Daniele Panozzo <daniele.panozzo@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public License
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
// obtain one at ht... | 28.729167 | 78 | 0.647571 | rushmash |
045bed84e41210b4c4afc5c4a6d6fc7f9ff0fd94 | 994 | cpp | C++ | venv/boost_1_73_0/libs/coroutine/example/asymmetric/simple.cpp | uosorio/heroku_face | 7d6465e71dba17a15d8edaef520adb2fcd09d91e | [
"Apache-2.0"
] | 106 | 2015-08-07T04:23:50.000Z | 2020-12-27T18:25:15.000Z | 3rdparty/boost_1_73_0/libs/coroutine/example/asymmetric/simple.cpp | qingkouwei/mediaones | cec475e1bfd5807b5351cc7e38d244ac5298ca16 | [
"MIT"
] | 130 | 2016-06-22T22:11:25.000Z | 2020-11-29T20:24:09.000Z | 3rdparty/boost_1_73_0/libs/coroutine/example/asymmetric/simple.cpp | qingkouwei/mediaones | cec475e1bfd5807b5351cc7e38d244ac5298ca16 | [
"MIT"
] | 41 | 2015-07-08T19:18:35.000Z | 2021-01-14T16:39:56.000Z | #include <boost/coroutine/all.hpp>
#include <cstdlib>
#include <iostream>
#include <boost/bind.hpp>
#include "X.h"
typedef boost::coroutines::asymmetric_coroutine< X& >::pull_type pull_coro_t;
typedef boost::coroutines::asymmetric_coroutine< X& >::push_type push_coro_t;
void fn1( push_coro_t & sink)
{
for ( in... | 18.407407 | 77 | 0.484909 | uosorio |
045c0ec66c0e55f83e66ae30b656194e5ba64852 | 2,841 | cpp | C++ | test/unit/adl/oct/cpu/add_cons_close_oper.unit.cpp | flisboac/adl | a29f4ab2652e8146d4f97fd10f52526e4bc3563c | [
"MIT"
] | 2 | 2021-01-12T12:04:09.000Z | 2022-03-21T10:09:54.000Z | test/unit/adl/oct/cpu/add_cons_close_oper.unit.cpp | flisboac/adl | a29f4ab2652e8146d4f97fd10f52526e4bc3563c | [
"MIT"
] | 70 | 2017-02-25T16:37:48.000Z | 2018-01-28T22:15:42.000Z | test/unit/adl/oct/cpu/add_cons_close_oper.unit.cpp | flisboac/adl | a29f4ab2652e8146d4f97fd10f52526e4bc3563c | [
"MIT"
] | null | null | null | // $flisboac 2018-01-14
#include "adl_catch.hpp"
#include "adl/oct/cpu/closure_oper.hpp"
#include "adl/oct/cpu/add_cons_close_oper.hpp"
#include "adl/oct/cons.hpp"
#include "adl/oct/system.hpp"
#include "adl/oct/cpu/dense_dbm.hpp"
#include "adl/oct/cpu/seq_context.hpp"
using namespace adl::oct;
using namespace adl::o... | 35.074074 | 139 | 0.613868 | flisboac |
045c1f5e1a51ba243bb541b7645cabb7237e545e | 2,032 | cpp | C++ | plugins/opengl/src/texture/funcs/set_2d.cpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | plugins/opengl/src/texture/funcs/set_2d.cpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | plugins/opengl/src/texture/funcs/set_2d.cpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 3 | 2018-05-11T01:11:34.000Z | 2021-04-24T19:47:45.000Z | // Copyright Carl Philipp Reh 2006 - 2019.
// 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)
#include <sge/opengl/call.hpp>
#include <sge/opengl/check_state.hpp>
#include <sge/opengl/color_bas... | 38.339623 | 92 | 0.718012 | cpreh |
045c670d8919bd4d658a5b55e884390a99fe6a0a | 4,818 | cpp | C++ | mainwindow.cpp | rossomah/waifu2x-converter-qt | 1e203ad160f6e69874f1dd391cec534abdc36324 | [
"MIT"
] | null | null | null | mainwindow.cpp | rossomah/waifu2x-converter-qt | 1e203ad160f6e69874f1dd391cec534abdc36324 | [
"MIT"
] | null | null | null | mainwindow.cpp | rossomah/waifu2x-converter-qt | 1e203ad160f6e69874f1dd391cec534abdc36324 | [
"MIT"
] | null | null | null | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include "droplabel.h"
#include "processdialog.h"
#include "preferencesdialog.h"
#include "aboutdialog.h"
#include "processmodemodel.h"
#include <QFileDialog>
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow),
m_settings... | 34.170213 | 103 | 0.679743 | rossomah |
045d4d63848b049e7e86e47f4a829b066701d3df | 454 | cpp | C++ | WonderMake/Object/DependencyDestructor.cpp | nicolasgustafsson/WonderMake | 9661d5dab17cf98e06daf6ea77c5927db54d62f9 | [
"MIT"
] | 3 | 2020-03-27T15:25:19.000Z | 2022-01-18T14:12:25.000Z | WonderMake/Object/DependencyDestructor.cpp | nicolasgustafsson/WonderMake | 9661d5dab17cf98e06daf6ea77c5927db54d62f9 | [
"MIT"
] | null | null | null | WonderMake/Object/DependencyDestructor.cpp | nicolasgustafsson/WonderMake | 9661d5dab17cf98e06daf6ea77c5927db54d62f9 | [
"MIT"
] | null | null | null | #include "pch.h"
#include "DependencyDestructor.h"
DependencyDestructor::DependencyDestructor(UniqueFunction<void(Object&, void*)> aDestroyFunc) noexcept
: myDestroyFunc(std::move(aDestroyFunc))
{}
void DependencyDestructor::Destroy(Object& aObject, SComponent& aComponent)
{
myDestroyFunc(aObject, &aComponent);
}
... | 26.705882 | 102 | 0.799559 | nicolasgustafsson |
0460535ea80b720c029d52957f7462d8f1437044 | 1,991 | hpp | C++ | src/main/include/cyng/async/task/task_builder.hpp | solosTec/cyng | 3862a6b7a2b536d1f00fef20700e64170772dcff | [
"MIT"
] | null | null | null | src/main/include/cyng/async/task/task_builder.hpp | solosTec/cyng | 3862a6b7a2b536d1f00fef20700e64170772dcff | [
"MIT"
] | null | null | null | src/main/include/cyng/async/task/task_builder.hpp | solosTec/cyng | 3862a6b7a2b536d1f00fef20700e64170772dcff | [
"MIT"
] | null | null | null | /*
* The MIT License (MIT)
*
* Copyright (c) 2017 Sylko Olzscher
*
*/
#ifndef CYNG_ASYNC_TASK_BUILDER_HPP
#define CYNG_ASYNC_TASK_BUILDER_HPP
#include <cyng/async/task/task.hpp>
#include <cyng/async/mux.h>
#include <chrono>
namespace cyng
{
namespace async
{
/**
* Create a new task class
*/
t... | 23.987952 | 105 | 0.618282 | solosTec |
04618b56167c2afb23b07fc7a8c03d94ac5d020e | 4,753 | cpp | C++ | spaceship.cpp | shaungoh01/-Uni-Computer-Graphic-Assignemny | ec5098c1c2f30f3abacb8de663511f25a8b64d0b | [
"MIT"
] | null | null | null | spaceship.cpp | shaungoh01/-Uni-Computer-Graphic-Assignemny | ec5098c1c2f30f3abacb8de663511f25a8b64d0b | [
"MIT"
] | null | null | null | spaceship.cpp | shaungoh01/-Uni-Computer-Graphic-Assignemny | ec5098c1c2f30f3abacb8de663511f25a8b64d0b | [
"MIT"
] | null | null | null | #include <GL/glut.h>
#include <stdlib.h>
#include <time.h>
#include <ctime>
#include "spaceship.hpp"
MySpaceShip::MySpaceShip()
{
//Setup Quadric Object
pObj = gluNewQuadric();
gluQuadricNormals(pObj, GLU_SMOOTH);
posx = 0.0f;
posy = 10.0f;
posz = 2.0f;
roty = 0.0f;
//initial velocity (in u... | 24.626943 | 62 | 0.553124 | shaungoh01 |
0461d4b23fd08dadbc6ccba03f980035da92353d | 2,006 | hpp | C++ | libraries/chain/include/graphene/chain/protocol/son_wallet_withdraw.hpp | vampik33/peerplays | 9fd18b32c413ad978f38f95a09b7eff7235a9c1b | [
"MIT"
] | 45 | 2018-12-13T21:11:23.000Z | 2022-03-28T09:21:44.000Z | libraries/chain/include/graphene/chain/protocol/son_wallet_withdraw.hpp | vampik33/peerplays | 9fd18b32c413ad978f38f95a09b7eff7235a9c1b | [
"MIT"
] | 279 | 2018-12-18T08:52:43.000Z | 2022-03-24T19:03:29.000Z | libraries/chain/include/graphene/chain/protocol/son_wallet_withdraw.hpp | vampik33/peerplays | 9fd18b32c413ad978f38f95a09b7eff7235a9c1b | [
"MIT"
] | 25 | 2018-12-13T20:38:51.000Z | 2022-03-25T09:45:58.000Z | #pragma once
#include <graphene/chain/protocol/base.hpp>
#include <graphene/chain/sidechain_defs.hpp>
#include <fc/safe.hpp>
namespace graphene { namespace chain {
struct son_wallet_withdraw_create_operation : public base_operation
{
struct fee_parameters_type { uint64_t fee = 0; };
asset fe... | 35.192982 | 95 | 0.720339 | vampik33 |
046339ccd708b23e61fa5cc526dd7bf97a3512d7 | 2,633 | cc | C++ | lite/arm/math/im2sequence.cc | banbishan/Paddle-Lite | 02517c12c31609f413a1c47a83e25d3fbff07074 | [
"Apache-2.0"
] | 1 | 2019-08-21T05:54:42.000Z | 2019-08-21T05:54:42.000Z | lite/arm/math/im2sequence.cc | banbishan/Paddle-Lite | 02517c12c31609f413a1c47a83e25d3fbff07074 | [
"Apache-2.0"
] | null | null | null | lite/arm/math/im2sequence.cc | banbishan/Paddle-Lite | 02517c12c31609f413a1c47a83e25d3fbff07074 | [
"Apache-2.0"
] | 1 | 2019-10-11T09:34:49.000Z | 2019-10-11T09:34:49.000Z | // Copyright (c) 2019 PaddlePaddle 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... | 36.068493 | 77 | 0.590961 | banbishan |
0463ff21ce8758867f178b840135651d22ddf08f | 1,305 | cpp | C++ | codeforce6/1079C. Playing Piano.cpp | khaled-farouk/My_problem_solving_solutions | 46ed6481fc9b424d0714bc717cd0ba050a6638ef | [
"MIT"
] | null | null | null | codeforce6/1079C. Playing Piano.cpp | khaled-farouk/My_problem_solving_solutions | 46ed6481fc9b424d0714bc717cd0ba050a6638ef | [
"MIT"
] | null | null | null | codeforce6/1079C. Playing Piano.cpp | khaled-farouk/My_problem_solving_solutions | 46ed6481fc9b424d0714bc717cd0ba050a6638ef | [
"MIT"
] | null | null | null | /*
Idea:
- Dynamic Programming
- If you reach the base case in the recursion, then
you have an answer, so print it.
- This method work if the dynamic programming answer
is true or false.
*/
#include <bits/stdc++.h>
using namespace std;
int const N = 1e5 + 1;
int n, a[N], dp[N][6];
vector<in... | 17.4 | 56 | 0.45977 | khaled-farouk |
046413bbc278e329cb381bd802c539133e0c2eff | 1,987 | hpp | C++ | ngraph/src/ngraph/frontend/onnx_import/onnx_utils.hpp | anton-potapov/openvino | 84119afe9a8c965e0a0cd920fff53aee67b05108 | [
"Apache-2.0"
] | 1 | 2020-10-13T22:49:18.000Z | 2020-10-13T22:49:18.000Z | ngraph/src/ngraph/frontend/onnx_import/onnx_utils.hpp | anton-potapov/openvino | 84119afe9a8c965e0a0cd920fff53aee67b05108 | [
"Apache-2.0"
] | 4 | 2021-04-01T08:29:48.000Z | 2021-08-30T16:12:52.000Z | ngraph/src/ngraph/frontend/onnx_import/onnx_utils.hpp | anton-potapov/openvino | 84119afe9a8c965e0a0cd920fff53aee67b05108 | [
"Apache-2.0"
] | 3 | 2021-03-09T08:27:29.000Z | 2021-04-07T04:58:54.000Z | //*****************************************************************************
// Copyright 2017-2020 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://w... | 39.74 | 99 | 0.571213 | anton-potapov |
04652172919828de08f918ebb22c9ccef7308f03 | 555 | cpp | C++ | src/gui/PlayingScreen.cpp | ballcue/meanshift-motion-tracking | f59886a88626ace8b6fb1fb167690072c24cc17c | [
"MIT"
] | null | null | null | src/gui/PlayingScreen.cpp | ballcue/meanshift-motion-tracking | f59886a88626ace8b6fb1fb167690072c24cc17c | [
"MIT"
] | null | null | null | src/gui/PlayingScreen.cpp | ballcue/meanshift-motion-tracking | f59886a88626ace8b6fb1fb167690072c24cc17c | [
"MIT"
] | null | null | null | #include "../../include/gui/PlayingScreen.h"
/* Derived-screen-specific additional frame processing for display*/
void PlayingScreen::processFrame(Mat& frame, const TrackingInfo& tracker) const {
drawTrackingMarker (
frame,
tracker.current()
);
}
void PlayingScreen::drawTrackingMarker(Mat& fra... | 25.227273 | 81 | 0.652252 | ballcue |
046757461269f7f660ac56abc9f46522cc275abf | 2,787 | cpp | C++ | src/bench/dsproof.cpp | EyeOfPython/bitcoin-cash-node | 13f5ed384aae11eaffd1097a0e75beca2b54f93d | [
"MIT"
] | 61 | 2020-02-23T01:19:16.000Z | 2022-03-04T15:22:00.000Z | src/bench/dsproof.cpp | EyeOfPython/bitcoin-cash-node | 13f5ed384aae11eaffd1097a0e75beca2b54f93d | [
"MIT"
] | null | null | null | src/bench/dsproof.cpp | EyeOfPython/bitcoin-cash-node | 13f5ed384aae11eaffd1097a0e75beca2b54f93d | [
"MIT"
] | 20 | 2020-03-01T02:35:17.000Z | 2021-12-28T12:04:34.000Z | // Copyright (c) 2020-2021 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <bench/bench.h>
#include <coins.h>
#include <dsproof/dsproof.h>
#include <key.h>
#include <primitives/transaction.h>
#inc... | 35.730769 | 112 | 0.664514 | EyeOfPython |
046afc267fd2a398fe420ba1b20c4d957d9ecb61 | 2,075 | cpp | C++ | fft.cpp | SJ-magic-youtube-VisualProgrammer/46__oF_Audio_InOut | c98349955f2a516fafd2f72b303128cf305e74bf | [
"MIT"
] | 1 | 2022-02-13T15:34:33.000Z | 2022-02-13T15:34:33.000Z | fft.cpp | SJ-magic-youtube-VisualProgrammer/46__oF_Audio_InOut | c98349955f2a516fafd2f72b303128cf305e74bf | [
"MIT"
] | null | null | null | fft.cpp | SJ-magic-youtube-VisualProgrammer/46__oF_Audio_InOut | c98349955f2a516fafd2f72b303128cf305e74bf | [
"MIT"
] | null | null | null | /************************************************************
************************************************************/
#include "fft.h"
/************************************************************
************************************************************/
/******************************
*********************... | 20.75 | 89 | 0.360482 | SJ-magic-youtube-VisualProgrammer |
046b065236406a07667a6ee6c8e615215e77a1ec | 1,132 | cpp | C++ | CLRS/String/LongestPalindrome.cpp | ComputerProgrammerStorager/DataStructureAlgorithm | 508f7e37898c907ea7ea6ec40749621a2349e93f | [
"MIT"
] | null | null | null | CLRS/String/LongestPalindrome.cpp | ComputerProgrammerStorager/DataStructureAlgorithm | 508f7e37898c907ea7ea6ec40749621a2349e93f | [
"MIT"
] | null | null | null | CLRS/String/LongestPalindrome.cpp | ComputerProgrammerStorager/DataStructureAlgorithm | 508f7e37898c907ea7ea6ec40749621a2349e93f | [
"MIT"
] | null | null | null | /*
Given a string s which consists of lowercase or uppercase letters, return the length of the longest palindrome that can be built with those letters.
Letters are case sensitive, for example, "Aa" is not considered a palindrome here.
Example 1:
Input: s = "abccccdd"
Output: 7
Explanation:
One longest palindrome ... | 21.358491 | 148 | 0.590989 | ComputerProgrammerStorager |
046bd4036f74b99487b2080e76d1afa8bbe8fdb2 | 1,385 | cpp | C++ | Desktop/CCore/src/video/GammaTable.cpp | SergeyStrukov/CCore-2-99 | 1eca5b9b2de067bbab43326718b877465ae664fe | [
"BSL-1.0"
] | 1 | 2016-05-22T07:51:02.000Z | 2016-05-22T07:51:02.000Z | Desktop/CCore/src/video/GammaTable.cpp | SergeyStrukov/CCore-2-99 | 1eca5b9b2de067bbab43326718b877465ae664fe | [
"BSL-1.0"
] | null | null | null | Desktop/CCore/src/video/GammaTable.cpp | SergeyStrukov/CCore-2-99 | 1eca5b9b2de067bbab43326718b877465ae664fe | [
"BSL-1.0"
] | null | null | null | /* GammaTable.cpp */
//----------------------------------------------------------------------------------------
//
// Project: CCore 3.00
//
// Tag: Desktop
//
// License: Boost Software License - Version 1.0 - August 17th, 2003
//
// see http://www.boost.org/LICENSE_1_0.txt or the local copy
//
// Copyr... | 19.507042 | 90 | 0.555235 | SergeyStrukov |
04706cb46ed3c950ab8932b1d70f314739814b7a | 10,695 | cc | C++ | src/lslidar_ws/src/lslidar_c16/lslidar_c16_driver/src/input.cc | Louis-AD-git/racecar_ws | 3c5cb561d1aee11d80a7f3847e0334e93f345513 | [
"MIT"
] | null | null | null | src/lslidar_ws/src/lslidar_c16/lslidar_c16_driver/src/input.cc | Louis-AD-git/racecar_ws | 3c5cb561d1aee11d80a7f3847e0334e93f345513 | [
"MIT"
] | null | null | null | src/lslidar_ws/src/lslidar_c16/lslidar_c16_driver/src/input.cc | Louis-AD-git/racecar_ws | 3c5cb561d1aee11d80a7f3847e0334e93f345513 | [
"MIT"
] | null | null | null | /*
* This file is part of lslidar_c16 driver.
*
* The driver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* The driver is ... | 29.381868 | 119 | 0.595792 | Louis-AD-git |
0475b9e10e66b7ad25ad644ff30b647d9c410d2a | 10,047 | hpp | C++ | src/libraries/core/containers/HashTables/HashSet/HashSet.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/core/containers/HashTables/HashSet/HashSet.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/core/containers/HashTables/HashSet/HashSet.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | /*---------------------------------------------------------------------------*\
Copyright (C) 2011 OpenFOAM Foundation
-------------------------------------------------------------------------------
License
This file is part of CAELUS.
CAELUS is free software: you can redistribute it and/or modify it
under... | 23.695755 | 79 | 0.538071 | MrAwesomeRocks |
0475e337dbdad96a692616f58bd13ae0ef379153 | 5,797 | cpp | C++ | Source/AllProjects/Drivers/GenProto/Server/GenProtoS_CallResponse.cpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 51 | 2020-12-26T18:17:16.000Z | 2022-03-15T04:29:35.000Z | Source/AllProjects/Drivers/GenProto/Server/GenProtoS_CallResponse.cpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | null | null | null | Source/AllProjects/Drivers/GenProto/Server/GenProtoS_CallResponse.cpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 4 | 2020-12-28T07:24:39.000Z | 2021-12-29T12:09:37.000Z | //
// FILE NAME: GenProtoS_CallResponse.cpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 11/24/2003
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2020
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://op... | 26.962791 | 78 | 0.558737 | MarkStega |
04779e597994f9724d6ccdd8b42e5a4fb6b7c904 | 8,607 | cpp | C++ | drivers/ltr559/ltr559.cpp | graeme-winter/pimoroni-pico | b36784c03bf39e829f9c0b3444eb6051181bb76c | [
"MIT"
] | null | null | null | drivers/ltr559/ltr559.cpp | graeme-winter/pimoroni-pico | b36784c03bf39e829f9c0b3444eb6051181bb76c | [
"MIT"
] | null | null | null | drivers/ltr559/ltr559.cpp | graeme-winter/pimoroni-pico | b36784c03bf39e829f9c0b3444eb6051181bb76c | [
"MIT"
] | null | null | null | #include "ltr559.hpp"
#include <algorithm>
namespace pimoroni {
lookup::lookup(std::initializer_list<uint16_t> values) : lut(values) {
}
uint8_t lookup::index(uint16_t value) {
auto it = find(lut.begin(), lut.end(), value);
if(it == lut.end())
return 0;
return it - lut.begin();
}
uint16... | 29.782007 | 134 | 0.6748 | graeme-winter |
0477bfe3bfb99bb68a28ed27a46514de63b86af7 | 749 | cpp | C++ | math/common_divisor/common_divisor.cpp | tsung1271232/581_homework | 36b36b3380ed5161b3e28e3b7999a1d620736da1 | [
"MIT"
] | null | null | null | math/common_divisor/common_divisor.cpp | tsung1271232/581_homework | 36b36b3380ed5161b3e28e3b7999a1d620736da1 | [
"MIT"
] | null | null | null | math/common_divisor/common_divisor.cpp | tsung1271232/581_homework | 36b36b3380ed5161b3e28e3b7999a1d620736da1 | [
"MIT"
] | null | null | null | #include<iostream>
using namespace std;
int main()
{
int ncase;
cin>>ncase;
while(ncase--)
{
int q1,r1,q2,r2;
cin>>q1>>r1>>q2>>r2;
int divisor[2000] = {},smaller,larger;
if(q1 - r1 > q2 - r2)
{
larger = q1 - r1;
smaller = q2 - r2;
... | 18.725 | 51 | 0.35247 | tsung1271232 |
04793ebe7db7522cc1ddf61cec31cbe68b55cba3 | 916 | cpp | C++ | src/widget.cpp | FuSoftware/QOsuBut | cf89ee66a23efcddf94b6e38b7c708059e026995 | [
"MIT"
] | null | null | null | src/widget.cpp | FuSoftware/QOsuBut | cf89ee66a23efcddf94b6e38b7c708059e026995 | [
"MIT"
] | null | null | null | src/widget.cpp | FuSoftware/QOsuBut | cf89ee66a23efcddf94b6e38b7c708059e026995 | [
"MIT"
] | null | null | null | #include "widget.h"
Widget::Widget(QWidget *parent): QWidget(parent)
{
QVBoxLayout *l = new QVBoxLayout(this);
le = new QLineEdit(this);
label = new QLabel("Placeholder",this);
labelTime = new QLabel(this);
le->setValidator(new QIntValidator(0,100000,this));
l->addWidget(le);
l->addWidget(... | 20.818182 | 69 | 0.635371 | FuSoftware |
0479ae356ddb676f9c1536348c8dc55e8a105920 | 5,619 | cpp | C++ | B2G/gecko/xpcom/reflect/xptcall/src/md/win32/xptcstubs_x86_64.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-08-31T15:24:31.000Z | 2020-04-24T20:31:29.000Z | B2G/gecko/xpcom/reflect/xptcall/src/md/win32/xptcstubs_x86_64.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | null | null | null | B2G/gecko/xpcom/reflect/xptcall/src/md/win32/xptcstubs_x86_64.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-07-29T07:17:15.000Z | 2020-11-04T06:55:37.000Z | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/* Implement shared vtbl methods. */... | 28.378788 | 83 | 0.529632 | wilebeast |
047a6ff5a909f0cf85b1b390a77f767a6ab4beae | 2,158 | cc | C++ | third_party/webrtc/src/chromium/src/chromecast/browser/cast_permission_manager.cc | bopopescu/webrtc-streaming-node | 727a441204344ff596401b0253caac372b714d91 | [
"MIT"
] | 8 | 2016-02-08T11:59:31.000Z | 2020-05-31T15:19:54.000Z | third_party/webrtc/src/chromium/src/chromecast/browser/cast_permission_manager.cc | bopopescu/webrtc-streaming-node | 727a441204344ff596401b0253caac372b714d91 | [
"MIT"
] | 1 | 2021-05-05T11:11:31.000Z | 2021-05-05T11:11:31.000Z | third_party/webrtc/src/chromium/src/chromecast/browser/cast_permission_manager.cc | bopopescu/webrtc-streaming-node | 727a441204344ff596401b0253caac372b714d91 | [
"MIT"
] | 7 | 2016-02-09T09:28:14.000Z | 2020-07-25T19:03:36.000Z | // Copyright 2015 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 "chromecast/browser/cast_permission_manager.h"
#include "base/callback.h"
#include "base/logging.h"
#include "content/public/browser/permission_... | 29.561644 | 73 | 0.76506 | bopopescu |
047abf09bdf3505d2fa2557e82e6bf7802596554 | 4,918 | cpp | C++ | aes_main.cpp | cxrasdfg/aes-des | d634da18b5dbf02e99fafd71c6d925e855291f21 | [
"MIT"
] | null | null | null | aes_main.cpp | cxrasdfg/aes-des | d634da18b5dbf02e99fafd71c6d925e855291f21 | [
"MIT"
] | null | null | null | aes_main.cpp | cxrasdfg/aes-des | d634da18b5dbf02e99fafd71c6d925e855291f21 | [
"MIT"
] | null | null | null | //
// Created by theppsh on 17-4-13.
//
#include <iostream>
#include <iomanip>
#include "src/aes.hpp"
#include "src/triple_des.hpp"
int main(int argc,char ** args){
/**aes 加密*/
/// 128位全0的秘钥
u_char key_block[]={0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0
};
u_char plain_block[] = {0... | 33.917241 | 123 | 0.603904 | cxrasdfg |
047fb2c64eae3736eec741f519400de9348f1f1f | 960 | cpp | C++ | Cpp/145_binary_tree_postorder_traversal/solution2.cpp | zszyellow/leetcode | 2ef6be04c3008068f8116bf28d70586e613a48c2 | [
"MIT"
] | 1 | 2015-12-19T23:05:35.000Z | 2015-12-19T23:05:35.000Z | Cpp/145_binary_tree_postorder_traversal/solution2.cpp | zszyellow/leetcode | 2ef6be04c3008068f8116bf28d70586e613a48c2 | [
"MIT"
] | null | null | null | Cpp/145_binary_tree_postorder_traversal/solution2.cpp | zszyellow/leetcode | 2ef6be04c3008068f8116bf28d70586e613a48c2 | [
"MIT"
] | null | null | null | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
vector<int> postorderTraversal(TreeNode* root)
{
vector<int> res;
if (!roo... | 23.414634 | 82 | 0.402083 | zszyellow |
0481fc084fe09bf1a197622a2abe5288d0e392f8 | 1,659 | hpp | C++ | core/storage/trie/impl/polkadot_trie_batch.hpp | Lederstrumpf/kagome | a5050ca04577c0570e21ce7322cc010153b6fe29 | [
"Apache-2.0"
] | null | null | null | core/storage/trie/impl/polkadot_trie_batch.hpp | Lederstrumpf/kagome | a5050ca04577c0570e21ce7322cc010153b6fe29 | [
"Apache-2.0"
] | null | null | null | core/storage/trie/impl/polkadot_trie_batch.hpp | Lederstrumpf/kagome | a5050ca04577c0570e21ce7322cc010153b6fe29 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef KAGOME_CORE_STORAGE_TRIE_IMPL_POLKADOT_TRIE_BATCH_HPP
#define KAGOME_CORE_STORAGE_TRIE_IMPL_POLKADOT_TRIE_BATCH_HPP
#include "common/buffer.hpp"
#include "storage/face/write_batch.hpp"
#include "storage/trie/i... | 30.163636 | 104 | 0.694394 | Lederstrumpf |
0483595ad4e4751bb81fe67379e81b88004ac9d7 | 17,761 | cpp | C++ | test/uri_builder_test.cpp | chfast/uri | c6dd135801061b641531bf23e971131904cb15a3 | [
"BSL-1.0"
] | null | null | null | test/uri_builder_test.cpp | chfast/uri | c6dd135801061b641531bf23e971131904cb15a3 | [
"BSL-1.0"
] | null | null | null | test/uri_builder_test.cpp | chfast/uri | c6dd135801061b641531bf23e971131904cb15a3 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) Glyn Matthews 2012, 2013, 2014.
// Copyright 2012 Google, Inc.
// 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)
#include <gtest/gtest.h>
#include <network/uri.hpp>
#include "string_utility.hpp"... | 23.776439 | 90 | 0.659422 | chfast |
04839dfd4e02508c8895013f0fcaf725a3d87a91 | 200 | cpp | C++ | content/rcpp_advanced_I/rnorm_manual.cpp | mfasiolo/sc2-2019 | 0fe0c4e1f65ac35c1f38e8f4ea071c76bce4a586 | [
"MIT"
] | 5 | 2020-02-25T07:38:08.000Z | 2021-06-22T16:15:03.000Z | content/rcpp_advanced_I/rnorm_manual.cpp | mfasiolo/sc2-2019 | 0fe0c4e1f65ac35c1f38e8f4ea071c76bce4a586 | [
"MIT"
] | null | null | null | content/rcpp_advanced_I/rnorm_manual.cpp | mfasiolo/sc2-2019 | 0fe0c4e1f65ac35c1f38e8f4ea071c76bce4a586 | [
"MIT"
] | 2 | 2020-02-25T07:38:10.000Z | 2020-04-26T06:02:14.000Z | #include <Rcpp.h>
using namespace Rcpp;
RcppExport SEXP rnorm_manual(SEXP n) {
NumericVector out( as<int>(n) );
RNGScope rngScope;
out = rnorm(as<int>(n), 0.0, 1.0);
return out;
} | 15.384615 | 38 | 0.63 | mfasiolo |
04848621f09ec43b5e6fd5bfa67a27a3096fd2b9 | 2,807 | hpp | C++ | include/chapter-4/square_matrix_multiply/square_matrix_multiply_recursive.hpp | zero4drift/CLRS_Cpp_Implementations | efafbb34fb9f83dedecdcf01395def27fd64a33a | [
"MIT"
] | null | null | null | include/chapter-4/square_matrix_multiply/square_matrix_multiply_recursive.hpp | zero4drift/CLRS_Cpp_Implementations | efafbb34fb9f83dedecdcf01395def27fd64a33a | [
"MIT"
] | null | null | null | include/chapter-4/square_matrix_multiply/square_matrix_multiply_recursive.hpp | zero4drift/CLRS_Cpp_Implementations | efafbb34fb9f83dedecdcf01395def27fd64a33a | [
"MIT"
] | null | null | null | // Only for matrix with dimension 2, 4, 8, 16...
#ifndef SQUARE_MATRIX_MULTIPLY_RECURSIVE_H
#define SQUARE_MATRIX_MULTIPLY_RECURSIVE_H
#include <utility>
namespace CLRS
{
template <typename T, std::size_t n>
void divide_matrix_4(T (&a)[n][n],
T (&b)[n/2][n/2],
T (&c)[n/2][n/2],
T (&d)[... | 28.07 | 82 | 0.526541 | zero4drift |
0486ad6de881a87ab53291a8a8d2f8c110f20b2e | 3,996 | hpp | C++ | includes/tools.hpp | Antip003/irc | 973c4e1ee3d231c6aca1a434a735f236d4d55e77 | [
"MIT"
] | 1 | 2021-11-29T21:41:10.000Z | 2021-11-29T21:41:10.000Z | includes/tools.hpp | Antip003/irc | 973c4e1ee3d231c6aca1a434a735f236d4d55e77 | [
"MIT"
] | null | null | null | includes/tools.hpp | Antip003/irc | 973c4e1ee3d231c6aca1a434a735f236d4d55e77 | [
"MIT"
] | null | null | null | #ifndef TOOLS_HPP
# define TOOLS_HPP
# include <string>
# include <vector>
# include "client.hpp"
# include <list>
# include "ircserv.hpp"
typedef std::vector<std::string> t_strvect;
typedef std::list<Client>::iterator t_citer;
/****************************************************/
/* additional tools helping the ... | 44.4 | 94 | 0.689189 | Antip003 |
0486e86fa99138b7b45cf130d87e921ac515cd78 | 2,237 | cc | C++ | src/error_unittest.cc | PA-CAF/android_external_libweave | 92e485f4b0b8311dc5b527798194170ab14614a4 | [
"BSD-3-Clause"
] | null | null | null | src/error_unittest.cc | PA-CAF/android_external_libweave | 92e485f4b0b8311dc5b527798194170ab14614a4 | [
"BSD-3-Clause"
] | null | null | null | src/error_unittest.cc | PA-CAF/android_external_libweave | 92e485f4b0b8311dc5b527798194170ab14614a4 | [
"BSD-3-Clause"
] | 3 | 2018-04-23T13:47:49.000Z | 2018-10-21T08:16:19.000Z | // Copyright 2015 The Weave 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 <weave/error.h>
#include <gtest/gtest.h>
namespace weave {
namespace {
ErrorPtr GenerateNetworkError() {
tracked_objects::Location loc("Genera... | 31.957143 | 80 | 0.690657 | PA-CAF |
048bd0fb8b0f89822a91dd6eaedb9dbc39a9568e | 8,856 | cpp | C++ | src/storage/test/ChainUpdateEdgeTest.cpp | wahello/nebula | e319615ca192925031867e4ca024b38b19a718c5 | [
"Apache-2.0"
] | 8,586 | 2019-05-15T07:25:51.000Z | 2022-03-31T13:49:27.000Z | src/storage/test/ChainUpdateEdgeTest.cpp | wahello/nebula | e319615ca192925031867e4ca024b38b19a718c5 | [
"Apache-2.0"
] | 3,078 | 2019-05-15T08:14:02.000Z | 2022-03-31T11:39:51.000Z | src/storage/test/ChainUpdateEdgeTest.cpp | wahello/nebula | e319615ca192925031867e4ca024b38b19a718c5 | [
"Apache-2.0"
] | 880 | 2019-05-15T07:36:10.000Z | 2022-03-31T03:43:02.000Z | /* Copyright (c) 2021 vesoft inc. All rights reserved.
*
* This source code is licensed under Apache 2.0 License.
*/
#include <folly/Benchmark.h>
#include <folly/Format.h>
#include <folly/String.h>
#include <folly/container/Enumerate.h>
#include <folly/init/Init.h>
#include <gtest/gtest.h>
#include <thrift/lib/cpp/... | 33.044776 | 73 | 0.662037 | wahello |
04906ae0faf8bee958edcd67b81fb1a79a92cc14 | 7,451 | cpp | C++ | pxr/base/lib/gf/wrapTransform.cpp | navefx/YuksUSD | 56c2e1def36ee07121f4ecb349c1626472b3c338 | [
"AML"
] | 18 | 2017-10-28T22:37:48.000Z | 2022-01-26T12:00:24.000Z | pxr/base/lib/gf/wrapTransform.cpp | piscees/USD | 65320d266057ae0a68626217f54a0298ac092799 | [
"AML"
] | 1 | 2021-08-14T23:57:51.000Z | 2021-08-14T23:57:51.000Z | pxr/base/lib/gf/wrapTransform.cpp | piscees/USD | 65320d266057ae0a68626217f54a0298ac092799 | [
"AML"
] | 4 | 2018-06-14T18:14:59.000Z | 2021-09-13T22:20:50.000Z | //
// Copyright 2016 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trad... | 37.255 | 80 | 0.584351 | navefx |
0493347ebe519410f53cd5c82463ebfa6062dcd3 | 58,391 | cpp | C++ | pdfium_lib/pdfium/third_party/icu/source/tools/genrb/reslist.cpp | qingqibing/vs_pdfium | 6d009d478c3e761fac49b357d81532c3ed7aad9f | [
"BSD-3-Clause"
] | 25 | 2019-05-07T16:16:40.000Z | 2022-03-30T09:04:00.000Z | pdfium_lib/pdfium/third_party/icu/source/tools/genrb/reslist.cpp | qingqibing/vs_pdfium | 6d009d478c3e761fac49b357d81532c3ed7aad9f | [
"BSD-3-Clause"
] | 4 | 2020-10-20T13:09:56.000Z | 2021-04-10T00:23:35.000Z | deps/icu-small/source/tools/genrb/reslist.cpp | krithiva/node-http-demo1 | 1e75bbc2009bbe49d5ac3b5aad333dcc57c41d56 | [
"Apache-2.0"
] | 11 | 2019-09-11T20:43:10.000Z | 2022-03-30T09:04:01.000Z | // © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
*******************************************************************************
*
* Copyright (C) 2000-2015, International Business Machines
* Corporation and others. All Rights Reserved.
*
**********... | 34.469303 | 174 | 0.590228 | qingqibing |
0496310fb225f7616890d7c45f263ff8ff9a1313 | 2,205 | cpp | C++ | Tema1-2/ED11/source.cpp | Yule1223/Data-Structure | 90197a9f9d19332f3d2e240185bba6540eaa754d | [
"MIT"
] | null | null | null | Tema1-2/ED11/source.cpp | Yule1223/Data-Structure | 90197a9f9d19332f3d2e240185bba6540eaa754d | [
"MIT"
] | null | null | null | Tema1-2/ED11/source.cpp | Yule1223/Data-Structure | 90197a9f9d19332f3d2e240185bba6540eaa754d | [
"MIT"
] | null | null | null |
// Yule Zhang
#include <iostream>
#include <fstream>
using namespace std;
#include "queue_eda.h"
template <typename T>
class listaPlus : public queue<T> {
using Nodo = typename queue<T>::Nodo;
public:
void mezclar(listaPlus<T> & l1, listaPlus<T> & l2) {
if (l1.nelems == 0) {//Si l1 es vacia
this->prim = l2.p... | 18.22314 | 61 | 0.569161 | Yule1223 |
0496a3661681dbbbe22c4edf4d044121fb63df10 | 4,217 | hpp | C++ | Assignment7/Material.hpp | fuzhanzhan/Games101 | 9345d70283c44649e0fd99975361a2909ef4bdbe | [
"MIT"
] | 9 | 2020-07-27T12:03:38.000Z | 2021-11-01T09:26:31.000Z | Assignment7/Material.hpp | fuzhanzhan/Games101 | 9345d70283c44649e0fd99975361a2909ef4bdbe | [
"MIT"
] | null | null | null | Assignment7/Material.hpp | fuzhanzhan/Games101 | 9345d70283c44649e0fd99975361a2909ef4bdbe | [
"MIT"
] | 8 | 2020-08-20T02:56:56.000Z | 2022-03-06T12:09:35.000Z | #ifndef RAYTRACING_MATERIAL_H
#define RAYTRACING_MATERIAL_H
#include "Vector.hpp"
enum class MaterialType { DIFFUSE };
class Material
{
private:
// Compute reflection direction
Vector3f reflect(const Vector3f &I, const Vector3f &N) const
{
return I - 2 * I.dot(N) * N;
}
// Compute refraction direction using... | 24.805882 | 91 | 0.626749 | fuzhanzhan |
0496d38d5ca036a3d9eb921750231320620b7f96 | 1,726 | hpp | C++ | Headers/Internal/position.hpp | YarikTH/cpp-io-impl | faf62a578ceeae2ce41818aae8172da67ec00456 | [
"BSL-1.0"
] | 1 | 2022-02-15T02:58:58.000Z | 2022-02-15T02:58:58.000Z | Headers/Internal/position.hpp | YarikTH/cpp-io-impl | faf62a578ceeae2ce41818aae8172da67ec00456 | [
"BSL-1.0"
] | null | null | null | Headers/Internal/position.hpp | YarikTH/cpp-io-impl | faf62a578ceeae2ce41818aae8172da67ec00456 | [
"BSL-1.0"
] | 1 | 2021-12-19T13:25:43.000Z | 2021-12-19T13:25:43.000Z | /// \file
/// \brief Internal header file that contains implementation of the position
/// class.
/// \author Lyberta
/// \copyright BSLv1.
#pragma once
namespace std::io
{
constexpr position::position(streamoff off) noexcept
: m_position{off}
{
}
constexpr position::position(offset off) noexcept
: m_position{off... | 17.089109 | 76 | 0.715527 | YarikTH |
0496d52dffcf4e9d830b241efcac8cc3b80f8d64 | 3,271 | hh | C++ | hackt_docker/hackt/src/Object/inst/null_collection_type_manager.hh | broken-wheel/hacktist | 36e832ae7dd38b27bca9be7d0889d06054dc2806 | [
"MIT"
] | null | null | null | hackt_docker/hackt/src/Object/inst/null_collection_type_manager.hh | broken-wheel/hacktist | 36e832ae7dd38b27bca9be7d0889d06054dc2806 | [
"MIT"
] | null | null | null | hackt_docker/hackt/src/Object/inst/null_collection_type_manager.hh | broken-wheel/hacktist | 36e832ae7dd38b27bca9be7d0889d06054dc2806 | [
"MIT"
] | null | null | null | /**
\file "Object/inst/null_collection_type_manager.hh"
Template class for instance_collection's type manager.
$Id: null_collection_type_manager.hh,v 1.12 2007/04/15 05:52:19 fang Exp $
*/
#ifndef __HAC_OBJECT_INST_NULL_COLLECTION_TYPE_MANAGER_H__
#define __HAC_OBJECT_INST_NULL_COLLECTION_TYPE_MANAGER_H__
#incl... | 25.960317 | 79 | 0.751758 | broken-wheel |
0497d04d2c4ad58f8791a6a61ff6243094718e14 | 13,504 | cc | C++ | ortools/linear_solver/gurobi_environment.cc | sreesubbash/or-tools | 701496e45d54fa9938afeedec43089314d93ec11 | [
"Apache-2.0"
] | null | null | null | ortools/linear_solver/gurobi_environment.cc | sreesubbash/or-tools | 701496e45d54fa9938afeedec43089314d93ec11 | [
"Apache-2.0"
] | null | null | null | ortools/linear_solver/gurobi_environment.cc | sreesubbash/or-tools | 701496e45d54fa9938afeedec43089314d93ec11 | [
"Apache-2.0"
] | null | null | null | // Copyright 2010-2018 Google LLC
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | 46.405498 | 79 | 0.696905 | sreesubbash |
0498a0059f0712aab13c2c83503a43ae907fdc50 | 6,712 | cpp | C++ | libs/log/example/doc/extension_filter_parser_custom_rel.cpp | Manu343726/boost-cmake | 009c3843b49a56880d988ffdca6d909f881edb3d | [
"BSL-1.0"
] | 1,155 | 2015-01-10T19:04:33.000Z | 2022-03-30T12:30:30.000Z | libs/log/example/doc/extension_filter_parser_custom_rel.cpp | Manu343726/boost-cmake | 009c3843b49a56880d988ffdca6d909f881edb3d | [
"BSL-1.0"
] | 618 | 2015-01-02T01:39:26.000Z | 2022-03-28T15:18:40.000Z | libs/log/example/doc/extension_filter_parser_custom_rel.cpp | Manu343726/boost-cmake | 009c3843b49a56880d988ffdca6d909f881edb3d | [
"BSL-1.0"
] | 228 | 2015-01-13T12:55:42.000Z | 2022-03-30T11:11:05.000Z | /*
* Copyright Andrey Semashev 2007 - 2015.
* 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)
*/
#include <string>
#include <iostream>
#include <stdexcept>
#include <boost/smart_ptr/shared_p... | 32.901961 | 124 | 0.664631 | Manu343726 |
0498cc5bacee21925336a1fad6909f61c7f36d94 | 4,361 | hpp | C++ | Support/Modules/GSRoot/StackInfo.hpp | graphisoft-python/TextEngine | 20c2ff53877b20fdfe2cd51ce7abdab1ff676a70 | [
"Apache-2.0"
] | 3 | 2019-07-15T10:54:54.000Z | 2020-01-25T08:24:51.000Z | Support/Modules/GSRoot/StackInfo.hpp | graphisoft-python/GSRoot | 008fac2c6bf601ca96e7096705e25b10ba4d3e75 | [
"Apache-2.0"
] | null | null | null | Support/Modules/GSRoot/StackInfo.hpp | graphisoft-python/GSRoot | 008fac2c6bf601ca96e7096705e25b10ba4d3e75 | [
"Apache-2.0"
] | 1 | 2020-09-26T03:17:22.000Z | 2020-09-26T03:17:22.000Z | // *********************************************************************************************************************
// Description: Stack Information
//
// Module: GSRoot
// Namespace: GS
// Contact person: MM
//
// SG compatible
// ******************************************************************************... | 30.284722 | 120 | 0.62371 | graphisoft-python |
0498d8a8dc6e8deff8fcd2f26aff14da0ddabebe | 1,447 | cc | C++ | DNSRecordType.cc | shuLhan/libvos | 831491b197fa8f267fd94966d406596896e6f25c | [
"BSD-3-Clause"
] | 1 | 2017-09-14T13:31:16.000Z | 2017-09-14T13:31:16.000Z | DNSRecordType.cc | shuLhan/libvos | 831491b197fa8f267fd94966d406596896e6f25c | [
"BSD-3-Clause"
] | null | null | null | DNSRecordType.cc | shuLhan/libvos | 831491b197fa8f267fd94966d406596896e6f25c | [
"BSD-3-Clause"
] | 5 | 2015-04-11T02:59:06.000Z | 2021-03-03T19:45:39.000Z | /**
* Copyright 2017 M. Shulhan (ms@kilabit.info). All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "DNSRecordType.hh"
namespace vos {
const char* DNSRecordType::__cname = "DNSRecordType";
const int DNSRecordType::SIZE = 22;
... | 19.039474 | 75 | 0.615757 | shuLhan |
049949e220d8f31825a76a600514a0de3d2b3cdd | 10,584 | cpp | C++ | Source/System/auth/nsal.cpp | blgrossMS/xbox-live-api | 17c586336e11f0fa3a2a3f3acd665b18c5487b24 | [
"MIT"
] | 2 | 2021-07-17T13:34:20.000Z | 2022-01-09T00:55:51.000Z | Source/System/auth/nsal.cpp | blgrossMS/xbox-live-api | 17c586336e11f0fa3a2a3f3acd665b18c5487b24 | [
"MIT"
] | null | null | null | Source/System/auth/nsal.cpp | blgrossMS/xbox-live-api | 17c586336e11f0fa3a2a3f3acd665b18c5487b24 | [
"MIT"
] | 1 | 2018-11-18T08:32:40.000Z | 2018-11-18T08:32:40.000Z | //*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
/... | 29.157025 | 125 | 0.616875 | blgrossMS |
049c7c6bf5fa81b209230f55f8236cdcf3fd46e6 | 13,043 | cpp | C++ | tesseract-ocr/wordrec/seam.cpp | danauclair/CardScan | bc8cad5485e67d78419bb757d668bf5b73231b8d | [
"BSD-3-Clause",
"MIT"
] | 28 | 2015-04-09T04:17:29.000Z | 2019-05-28T11:59:22.000Z | tesseract-ocr/wordrec/seam.cpp | danauclair/CardScan | bc8cad5485e67d78419bb757d668bf5b73231b8d | [
"BSD-3-Clause",
"MIT"
] | 2 | 2017-03-23T11:44:57.000Z | 2017-12-09T04:02:54.000Z | tesseract-ocr/wordrec/seam.cpp | danauclair/CardScan | bc8cad5485e67d78419bb757d668bf5b73231b8d | [
"BSD-3-Clause",
"MIT"
] | 17 | 2015-01-20T08:37:00.000Z | 2019-02-04T02:55:30.000Z | /* -*-C-*-
********************************************************************************
*
* File: seam.c (Formerly seam.c)
* Description:
* Author: Mark Seaman, OCR Technology
* Created: Fri Oct 16 14:37:00 1987
* Modified: Fri May 17 16:30:13 1991 (Mark Seaman) marks@hpgrlt
* Languag... | 26.892784 | 83 | 0.602162 | danauclair |
049ea0bcd0d257b8808756b083ed5d198d882ade | 5,081 | hxx | C++ | TubeTKLib/Filtering/tubeTreeFilters.hxx | jsdelivrbot/ITKTubeTK | b89403a7178ed6635e7860bec4f2eb009dd70711 | [
"Apache-2.0"
] | null | null | null | TubeTKLib/Filtering/tubeTreeFilters.hxx | jsdelivrbot/ITKTubeTK | b89403a7178ed6635e7860bec4f2eb009dd70711 | [
"Apache-2.0"
] | null | null | null | TubeTKLib/Filtering/tubeTreeFilters.hxx | jsdelivrbot/ITKTubeTK | b89403a7178ed6635e7860bec4f2eb009dd70711 | [
"Apache-2.0"
] | null | null | null | /*=========================================================================
Library: TubeTK
Copyright 2010 Kitware Inc. 28 Corporate Drive,
Clifton Park, NY, 12065, USA.
All rights reserved.
Licensed under the Apache License, Version 2.0 ( the "License" );
you may not use this file except in compliance with the L... | 34.80137 | 76 | 0.577249 | jsdelivrbot |
04a0c1f364bbab22b649626a6bb56e4280a83040 | 13,991 | tpp | C++ | core/src/partition/partitioned_petsc_vec/02_partitioned_petsc_vec_for_hyperelasticity_get_string.tpp | maierbn/opendihu | 577650e2f6b36a7306766b0f4176f8124458cbf0 | [
"MIT"
] | 17 | 2018-11-25T19:29:34.000Z | 2021-09-20T04:46:22.000Z | core/src/partition/partitioned_petsc_vec/02_partitioned_petsc_vec_for_hyperelasticity_get_string.tpp | maierbn/opendihu | 577650e2f6b36a7306766b0f4176f8124458cbf0 | [
"MIT"
] | 1 | 2020-11-12T15:15:58.000Z | 2020-12-29T15:29:24.000Z | core/src/partition/partitioned_petsc_vec/02_partitioned_petsc_vec_for_hyperelasticity_get_string.tpp | maierbn/opendihu | 577650e2f6b36a7306766b0f4176f8124458cbf0 | [
"MIT"
] | 4 | 2018-10-17T12:18:10.000Z | 2021-05-28T13:24:20.000Z | #include "partition/partitioned_petsc_vec/02_partitioned_petsc_vec_for_hyperelasticity.h"
#include "utility/mpi_utility.h"
// ---- incompressible case ----
template<typename DisplacementsFunctionSpaceType, typename PressureFunctionSpaceType, typename Term, int nComponents>
std::string PartitionedPetscVecForHyperelas... | 39.522599 | 172 | 0.656136 | maierbn |
04a215e75fdac863c10659c6fb47a586cef69589 | 20,135 | cpp | C++ | src/qt/qtwebkit/Tools/DumpRenderTree/blackberry/TestRunnerBlackBerry.cpp | viewdy/phantomjs | eddb0db1d253fd0c546060a4555554c8ee08c13c | [
"BSD-3-Clause"
] | 1 | 2015-05-27T13:52:20.000Z | 2015-05-27T13:52:20.000Z | src/qt/qtwebkit/Tools/DumpRenderTree/blackberry/TestRunnerBlackBerry.cpp | mrampersad/phantomjs | dca6f77a36699eb4e1c46f7600cca618f01b0ac3 | [
"BSD-3-Clause"
] | null | null | null | src/qt/qtwebkit/Tools/DumpRenderTree/blackberry/TestRunnerBlackBerry.cpp | mrampersad/phantomjs | dca6f77a36699eb4e1c46f7600cca618f01b0ac3 | [
"BSD-3-Clause"
] | 1 | 2017-03-19T13:03:23.000Z | 2017-03-19T13:03:23.000Z | /*
* Copyright (C) 2009, 2010, 2012 Research In Motion Limited. 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 the Free Software Foundation; either
* version 2 of the License, or (at your... | 28.20028 | 268 | 0.754209 | viewdy |
04a2bea699c47c2db9a3cd4905a84798ec55ef08 | 9,011 | hh | C++ | include/maxscale/server.hh | crspecter/MaxScale | 471fa20a09ebc954fc3304500037b6b55dbbf9f1 | [
"BSD-3-Clause"
] | 1 | 2021-02-07T01:57:32.000Z | 2021-02-07T01:57:32.000Z | include/maxscale/server.hh | crspecter/MaxScale | 471fa20a09ebc954fc3304500037b6b55dbbf9f1 | [
"BSD-3-Clause"
] | null | null | null | include/maxscale/server.hh | crspecter/MaxScale | 471fa20a09ebc954fc3304500037b6b55dbbf9f1 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
*
* Change Date: 2025-01-25
*
* On the date above, in accordance with the Business Source License, use
* of this software will be g... | 28.247649 | 106 | 0.610032 | crspecter |
04a5b3d2a1ab865d6ffc452ef13cb12de16bfc01 | 2,144 | cpp | C++ | working-plan/delegates/date-delegate.cpp | lgsilva3087/working-plan | cd79f45dc23ac997c9a48d23c3a373461a11ae58 | [
"MIT"
] | null | null | null | working-plan/delegates/date-delegate.cpp | lgsilva3087/working-plan | cd79f45dc23ac997c9a48d23c3a373461a11ae58 | [
"MIT"
] | null | null | null | working-plan/delegates/date-delegate.cpp | lgsilva3087/working-plan | cd79f45dc23ac997c9a48d23c3a373461a11ae58 | [
"MIT"
] | null | null | null | /*
* Created on: Sept 15, 2012
* Author: guille
*/
#include "date-delegate.h"
#include <utils.h>
#include <QDateEdit>
DateDelegate::DateDelegate()
: QStyledItemDelegate()
{
}
void DateDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option,
const QModelIndex &index... | 28.586667 | 94 | 0.623134 | lgsilva3087 |
04a827c85eee25d051ca1e13b0d6f68c263a4f04 | 642 | cc | C++ | code/render/physics/physicsbody.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 67 | 2015-03-30T19:56:16.000Z | 2022-03-11T13:52:17.000Z | code/render/physics/physicsbody.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 5 | 2015-04-15T17:17:33.000Z | 2016-02-11T00:40:17.000Z | code/render/physics/physicsbody.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 34 | 2015-03-30T15:08:00.000Z | 2021-09-23T05:55:10.000Z | //------------------------------------------------------------------------------
// physicsbody.cc
// (C) 2012-2016 Individual contributors, see AUTHORS file
//------------------------------------------------------------------------------
#include "stdneb.h"
#include "physics/physicsbody.h"
namespace Physics
{
#if (... | 33.789474 | 80 | 0.573209 | gscept |
04aa6d5d23d6a0cd6eeaf4f8339101ab1adf2c54 | 6,105 | cc | C++ | test/main.cc | michaelkuk/uv-secnet | 2048f63dcafa6713fbc0e7c7d258cfa6ca74a7a5 | [
"MIT"
] | 1 | 2019-04-27T15:24:13.000Z | 2019-04-27T15:24:13.000Z | test/main.cc | michaelkuk/uv-secnet | 2048f63dcafa6713fbc0e7c7d258cfa6ca74a7a5 | [
"MIT"
] | null | null | null | test/main.cc | michaelkuk/uv-secnet | 2048f63dcafa6713fbc0e7c7d258cfa6ca74a7a5 | [
"MIT"
] | null | null | null | #include "uv_secnet.hh"
#include <iostream>
#include <functional>
#include <string>
#include <sstream>
#include <uv.h>
#include <memory.h>
#include <memory>
#include <http_parser.h>
typedef struct {
int counter = 0;
std::shared_ptr<uv_secnet::IConnection> conn = 0;
uv_timer_t* timer = nullptr;
uv_tcp_t* tcpH... | 27.5 | 169 | 0.642588 | michaelkuk |
04abc62efa52d9dcd6d838c93265f6fc16bea6d9 | 5,461 | cpp | C++ | src/OSGB.cpp | embarktrucks/GeographicLib | 1521a463e44843790abbf21aa6e214b93bbf01df | [
"MIT"
] | null | null | null | src/OSGB.cpp | embarktrucks/GeographicLib | 1521a463e44843790abbf21aa6e214b93bbf01df | [
"MIT"
] | null | null | null | src/OSGB.cpp | embarktrucks/GeographicLib | 1521a463e44843790abbf21aa6e214b93bbf01df | [
"MIT"
] | null | null | null | /**
* \file OSGB.cpp
* \brief Implementation for geographic_lib::OSGB class
*
* Copyright (c) Charles Karney (2010-2017) <charles@karney.com> and licensed
* under the MIT/X11 License. For more information, see
* https://geographiclib.sourceforge.io/
**************************************************************... | 32.313609 | 77 | 0.505951 | embarktrucks |
04ae3908f29be5c0b731c7f52f54c893af83da0e | 16,195 | cpp | C++ | src/formula.cpp | fcimeson/cbTSP | aaf102c7a6a9f3b36a8b5f0c62570c40409ec7c8 | [
"Apache-2.0"
] | 7 | 2018-08-11T15:46:14.000Z | 2022-01-28T18:39:19.000Z | src/formula.cpp | fcimeson/cbTSP | aaf102c7a6a9f3b36a8b5f0c62570c40409ec7c8 | [
"Apache-2.0"
] | null | null | null | src/formula.cpp | fcimeson/cbTSP | aaf102c7a6a9f3b36a8b5f0c62570c40409ec7c8 | [
"Apache-2.0"
] | 1 | 2019-01-18T20:38:53.000Z | 2019-01-18T20:38:53.000Z | /********************************************************************************
Copyright 2017 Frank Imeson and Stephen L. Smith
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:... | 26.946755 | 91 | 0.367768 | fcimeson |
04ae6528676f31336a1509fc10ce4187a0f93f18 | 4,486 | hpp | C++ | mtlpp_ue4_ex_03/renderer/mtlpp/depth_stencil.hpp | dtonna/mtlpp_ue4_ex_03 | 80b945c5b5dbbf6efbe525fb371a2e77657cd595 | [
"Unlicense"
] | null | null | null | mtlpp_ue4_ex_03/renderer/mtlpp/depth_stencil.hpp | dtonna/mtlpp_ue4_ex_03 | 80b945c5b5dbbf6efbe525fb371a2e77657cd595 | [
"Unlicense"
] | null | null | null | mtlpp_ue4_ex_03/renderer/mtlpp/depth_stencil.hpp | dtonna/mtlpp_ue4_ex_03 | 80b945c5b5dbbf6efbe525fb371a2e77657cd595 | [
"Unlicense"
] | null | null | null | /*
* Copyright 2016-2017 Nikolay Aleksiev. All rights reserved.
* License: https://github.com/naleksiev/mtlpp/blob/master/LICENSE
*/
// Copyright Epic Games, Inc. All Rights Reserved.
// Modifications for Unreal Engine
#pragma once
#include "declare.hpp"
#include "imp_DepthStencil.hpp"
#include "ns.hpp"
#include ... | 34.244275 | 295 | 0.689924 | dtonna |
04b03681ed7b153a4ca4902afba4230763c85552 | 524 | cc | C++ | exercises/STRINGS/strings12.cc | mfranzil/Programmazione1UniTN | 0aee3ec51d424039afcabfa9de80046c1d5be7d9 | [
"MIT"
] | 3 | 2021-11-05T16:25:50.000Z | 2022-02-10T14:06:00.000Z | exercises/STRINGS/strings12.cc | mfranzil/Programmazione1UniTN | 0aee3ec51d424039afcabfa9de80046c1d5be7d9 | [
"MIT"
] | null | null | null | exercises/STRINGS/strings12.cc | mfranzil/Programmazione1UniTN | 0aee3ec51d424039afcabfa9de80046c1d5be7d9 | [
"MIT"
] | 2 | 2018-10-31T14:53:40.000Z | 2020-01-09T22:34:37.000Z | // Example 7.12, page 198
// Schaum's Outline of Programming with C++ by John R. Hubbard
// Copyright McGraw-Hill, 1996
using namespace std;
#include <iostream>
// NOTA: ORMAI DEPRECATO DALLO STANDARD ATTUALE:
// EX0712.cc:10: warning: deprecated conversion from string constant to ‘char*’
int main()
{
char* nam... | 26.2 | 79 | 0.612595 | mfranzil |
04b24bfd53799b832594a74becbe2d41bc106104 | 3,097 | cpp | C++ | utils.cpp | jaypadath/openpower-pnor-code-mgmt | 10e915abf1bd31d8b1dae8d01c731ac8dd76c7c0 | [
"Apache-2.0"
] | null | null | null | utils.cpp | jaypadath/openpower-pnor-code-mgmt | 10e915abf1bd31d8b1dae8d01c731ac8dd76c7c0 | [
"Apache-2.0"
] | 2 | 2019-07-30T15:36:06.000Z | 2021-09-28T15:45:27.000Z | utils.cpp | jaypadath/openpower-pnor-code-mgmt | 10e915abf1bd31d8b1dae8d01c731ac8dd76c7c0 | [
"Apache-2.0"
] | 2 | 2019-07-30T14:06:52.000Z | 2019-09-26T15:25:05.000Z | #include "config.h"
#include "utils.hpp"
#include <phosphor-logging/elog-errors.hpp>
#include <phosphor-logging/elog.hpp>
#include <phosphor-logging/log.hpp>
#include <xyz/openbmc_project/Common/error.hpp>
#if OPENSSL_VERSION_NUMBER < 0x10100000L
#include <string.h>
static void* OPENSSL_zalloc(size_t num)
{
vo... | 26.470085 | 78 | 0.621569 | jaypadath |
04b35c8cf7b9118dee19bc892bcd69cf302380cd | 5,463 | cpp | C++ | ext/stub/java/text/DateFormat_Field-stub.cpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | ext/stub/java/text/DateFormat_Field-stub.cpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | ext/stub/java/text/DateFormat_Field-stub.cpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | // Generated from /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar
#include <java/text/DateFormat_Field.hpp>
extern void unimplemented_(const char16_t* name);
java::text::DateFormat_Field::DateFormat_Field(const ::default_init_tag&)
: super(*static_cast< ::default_init_tag* >(0))
{
... | 31.039773 | 122 | 0.730551 | pebble2015 |
04b66b86acc2f9cb143b27f52847bc2dee6405d2 | 12,747 | cpp | C++ | src/DeviceLogKML.cpp | inertialsense/inertial-sense-sdk | 68893b0207d12d21420744706578f90ef215be4a | [
"MIT"
] | 4 | 2021-06-09T16:31:32.000Z | 2021-12-01T17:52:06.000Z | src/DeviceLogKML.cpp | inertialsense/inertial-sense-sdk | 68893b0207d12d21420744706578f90ef215be4a | [
"MIT"
] | 33 | 2020-08-06T09:09:24.000Z | 2022-01-16T05:59:19.000Z | src/DeviceLogKML.cpp | inertialsense/inertial-sense-sdk | 68893b0207d12d21420744706578f90ef215be4a | [
"MIT"
] | 5 | 2020-09-04T21:32:37.000Z | 2022-02-07T15:25:26.000Z | /*
MIT LICENSE
Copyright (c) 2014-2021 Inertial Sense, Inc. - http://inertialsense.com
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 ... | 25.142012 | 459 | 0.683926 | inertialsense |
04b682e2bee638e6058c378a04e2f6ce49c9266e | 6,969 | cpp | C++ | modules/juce_gui_extra/misc/juce_PushNotifications.cpp | studiobee/JUCE6-Svalbard-Fork | 2bcd2101811f6a3a803a7f68d3bac2d0d53f4146 | [
"ISC"
] | 2,270 | 2020-04-15T15:14:37.000Z | 2022-03-31T19:13:53.000Z | modules/juce_gui_extra/misc/juce_PushNotifications.cpp | studiobee/JUCE6-Svalbard-Fork | 2bcd2101811f6a3a803a7f68d3bac2d0d53f4146 | [
"ISC"
] | 471 | 2017-04-25T07:57:02.000Z | 2020-04-08T21:06:47.000Z | modules/juce_gui_extra/misc/juce_PushNotifications.cpp | studiobee/JUCE6-Svalbard-Fork | 2bcd2101811f6a3a803a7f68d3bac2d0d53f4146 | [
"ISC"
] | 633 | 2020-04-15T16:45:55.000Z | 2022-03-31T13:32:29.000Z | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of... | 30.3 | 112 | 0.638686 | studiobee |
04b7bba6077c701cfe3ba87b19eb7a5b761f9e5a | 1,018 | cpp | C++ | runtime/src/events/ExplosionEvent.cpp | Timo972/altv-go-module | 9762938c019d47b52eceba6761bb6f900ea4f2e8 | [
"MIT"
] | null | null | null | runtime/src/events/ExplosionEvent.cpp | Timo972/altv-go-module | 9762938c019d47b52eceba6761bb6f900ea4f2e8 | [
"MIT"
] | null | null | null | runtime/src/events/ExplosionEvent.cpp | Timo972/altv-go-module | 9762938c019d47b52eceba6761bb6f900ea4f2e8 | [
"MIT"
] | null | null | null | #include "ExplosionEvent.h"
Go::ExplosionEvent::ExplosionEvent(ModuleLibrary *module) : IEvent(module) { }
void Go::ExplosionEvent::Call(const alt::CEvent *ev)
{
static auto call = GET_FUNC(Library, "altExplosionEvent", bool (*)(alt::IPlayer* source, Entity target, Position position, short explosionType, unsigned... | 29.085714 | 175 | 0.649312 | Timo972 |
04b8560c82b0f92dd8c621ce7934ca440540a3be | 59,762 | cpp | C++ | Source/VirtualDirectInputDevice.cpp | hamzahamidi/Xidi | d7585ecf23fd17dd5be4e69f63bae08aa0e96988 | [
"BSD-3-Clause"
] | 1 | 2021-06-05T00:22:08.000Z | 2021-06-05T00:22:08.000Z | Source/VirtualDirectInputDevice.cpp | hamzahamidi/Xidi | d7585ecf23fd17dd5be4e69f63bae08aa0e96988 | [
"BSD-3-Clause"
] | null | null | null | Source/VirtualDirectInputDevice.cpp | hamzahamidi/Xidi | d7585ecf23fd17dd5be4e69f63bae08aa0e96988 | [
"BSD-3-Clause"
] | null | null | null | /*****************************************************************************
* Xidi
* DirectInput interface for XInput controllers.
*****************************************************************************
* Authored by Samuel Grossman
* Copyright (c) 2016-2021
********************************************... | 47.354992 | 309 | 0.652555 | hamzahamidi |
04b8aa7de0b344b65e179eb0597ff8c745d53000 | 3,467 | cpp | C++ | Examples/Cpp/source/Outlook/SetRecurrenceEveryDay.cpp | kashifiqb/Aspose.Email-for-C | 96684cb6ed9f4e321a00c74ca219440baaef8ba8 | [
"MIT"
] | 4 | 2019-12-01T16:19:12.000Z | 2022-03-28T18:51:42.000Z | Examples/Cpp/source/Outlook/SetRecurrenceEveryDay.cpp | kashifiqb/Aspose.Email-for-C | 96684cb6ed9f4e321a00c74ca219440baaef8ba8 | [
"MIT"
] | 1 | 2022-02-15T01:02:15.000Z | 2022-02-15T01:02:15.000Z | Examples/Cpp/source/Outlook/SetRecurrenceEveryDay.cpp | kashifiqb/Aspose.Email-for-C | 96684cb6ed9f4e321a00c74ca219440baaef8ba8 | [
"MIT"
] | 5 | 2017-09-27T14:43:20.000Z | 2021-11-16T06:47:11.000Z | /* This project uses Automatic Package Restore feature of NuGet to resolve Aspose.Email for .NET
API reference when the project is build. Please check https://Docs.nuget.org/consume/nuget-faq
for more information. If you do not wish to use NuGet, you can manually download
Aspose.Email for .NET API from htt... | 52.530303 | 433 | 0.758869 | kashifiqb |
04bc038e7a46f22a3c8533cca80fe11a4e90bb20 | 25,705 | hpp | C++ | Common_3/ThirdParty/OpenSource/entt/entity/snapshot.hpp | pixowl/The-Forge | 0df6d608ed7ec556f17b91a749e2f19d75973dc9 | [
"Apache-2.0"
] | 2 | 2019-12-05T20:43:33.000Z | 2020-12-01T02:57:44.000Z | Common_3/ThirdParty/OpenSource/entt/entity/snapshot.hpp | guillaumeblanc/The-Forge | 0df6d608ed7ec556f17b91a749e2f19d75973dc9 | [
"Apache-2.0"
] | null | null | null | Common_3/ThirdParty/OpenSource/entt/entity/snapshot.hpp | guillaumeblanc/The-Forge | 0df6d608ed7ec556f17b91a749e2f19d75973dc9 | [
"Apache-2.0"
] | 2 | 2020-05-10T08:41:12.000Z | 2020-05-24T18:58:47.000Z | #ifndef ENTT_ENTITY_SNAPSHOT_HPP
#define ENTT_ENTITY_SNAPSHOT_HPP
#include "../../TinySTL/array.h"
#include <cstddef>
#include <utility>
#include <cassert>
#include <iterator>
#include <type_traits>
#include "../../TinySTL/unordered_map.h"
#include "../config/config.h"
#include "entt_traits.hpp"
#include "utility.hpp... | 35.455172 | 127 | 0.642482 | pixowl |
04bc157cb5e67d296fa4450f120cb9db5237b610 | 4,379 | cpp | C++ | src/shogun/kernel/ShiftInvariantKernel.cpp | cloner1984/shogun | 901c04b2c6550918acf0594ef8afeb5dcd840a7d | [
"BSD-3-Clause"
] | 2 | 2021-08-12T18:11:06.000Z | 2021-11-17T10:56:49.000Z | src/shogun/kernel/ShiftInvariantKernel.cpp | cloner1984/shogun | 901c04b2c6550918acf0594ef8afeb5dcd840a7d | [
"BSD-3-Clause"
] | null | null | null | src/shogun/kernel/ShiftInvariantKernel.cpp | cloner1984/shogun | 901c04b2c6550918acf0594ef8afeb5dcd840a7d | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) The Shogun Machine Learning Toolbox
* Written (w) 2016 Soumyajit De
* 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... | 34.753968 | 120 | 0.781914 | cloner1984 |
04bc831052d4cdf3976f4c818e371795872dbb1e | 21,081 | hpp | C++ | libs/pika/executors/include/pika/executors/dataflow.hpp | pika-org/pika | c80f542b2432a7f108fcfba31a5fe5073ad2b3e1 | [
"BSL-1.0"
] | 13 | 2022-01-17T12:01:48.000Z | 2022-03-16T10:03:14.000Z | libs/pika/executors/include/pika/executors/dataflow.hpp | pika-org/pika | c80f542b2432a7f108fcfba31a5fe5073ad2b3e1 | [
"BSL-1.0"
] | 163 | 2022-01-17T17:36:45.000Z | 2022-03-31T17:42:57.000Z | libs/pika/executors/include/pika/executors/dataflow.hpp | pika-org/pika | c80f542b2432a7f108fcfba31a5fe5073ad2b3e1 | [
"BSL-1.0"
] | 4 | 2022-01-19T08:44:22.000Z | 2022-01-31T23:16:21.000Z | // Copyright (c) 2007-2021 Hartmut Kaiser
//
// SPDX-License-Identifier: BSL-1.0
// 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)
#pragma once
#include <pika/config.hpp>
#include <pika/allocator_support/interna... | 38.468978 | 80 | 0.590342 | pika-org |