hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 109 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 48.5k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cad7f2a0ac111b3395b0f1c260f39d5cb17ae61a | 18,486 | cpp | C++ | istool/source/ISTool.cpp | YURSHAT/istool | 544cfb9c180cc746e90a9e5cc2e56b60f709ff82 | [
"BSD-3-Clause"
] | 3 | 2020-04-24T23:21:48.000Z | 2020-04-30T10:52:33.000Z | istool/source/ISTool.cpp | YURSHAT/istool | 544cfb9c180cc746e90a9e5cc2e56b60f709ff82 | [
"BSD-3-Clause"
] | null | null | null | istool/source/ISTool.cpp | YURSHAT/istool | 544cfb9c180cc746e90a9e5cc2e56b60f709ff82 | [
"BSD-3-Clause"
] | 1 | 2021-09-02T03:29:47.000Z | 2021-09-02T03:29:47.000Z | // ISTool.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "ISTool.h"
#include "MainFrm.h"
#include "MyDoc.h"
#include "Registry.h"
CMyApp theApp;
CImageList CMyApp::m_imageList;
int CMyApp::m_nExitCode;
CUpdate* CUpdate::m_pFirst;
CMyApp* AfxGetApp() {
return &theApp;
}
... | 31.173693 | 216 | 0.701504 | YURSHAT |
cad83db2b33b563bad85a671daeeb45d56a6a8d3 | 9,802 | cpp | C++ | test/parser/parsing_table_test.cpp | TheSYNcoder/JuCC | 4765f9dd93349de93c09d53594721af0fea0acc0 | [
"Apache-2.0"
] | 31 | 2021-05-03T11:49:32.000Z | 2022-03-03T03:07:57.000Z | test/parser/parsing_table_test.cpp | TheSYNcoder/JuCC | 4765f9dd93349de93c09d53594721af0fea0acc0 | [
"Apache-2.0"
] | 45 | 2021-04-24T13:36:13.000Z | 2021-05-27T05:51:42.000Z | test/parser/parsing_table_test.cpp | TheSYNcoder/JuCC | 4765f9dd93349de93c09d53594721af0fea0acc0 | [
"Apache-2.0"
] | 1 | 2021-04-25T12:35:55.000Z | 2021-04-25T12:35:55.000Z | #include "parser/parsing_table.h"
#include "grammar/grammar.h"
#include "gtest/gtest.h"
using jucc::parser::ParsingTable;
namespace grammar = jucc::grammar;
namespace utils = jucc::utils;
TEST(parser, ParsingTable1) {
/**
* Test: Context Free Grammar
* S : a A B b
* A : c | EPSILON
* B : d | EPSILON
... | 27.002755 | 83 | 0.635176 | TheSYNcoder |
cada7ca3d1731cb01842392711de65000fc9c191 | 1,000 | cc | C++ | src/swngramppl.cc | aalto-speech/morphological-classes | a7dcdb0703b33765ed43a9a56a3ca453dc5ed5e3 | [
"BSD-2-Clause"
] | null | null | null | src/swngramppl.cc | aalto-speech/morphological-classes | a7dcdb0703b33765ed43a9a56a3ca453dc5ed5e3 | [
"BSD-2-Clause"
] | null | null | null | src/swngramppl.cc | aalto-speech/morphological-classes | a7dcdb0703b33765ed43a9a56a3ca453dc5ed5e3 | [
"BSD-2-Clause"
] | null | null | null | #include "conf.hh"
#include "ModelWrappers.hh"
using namespace std;
int main(int argc, char* argv[])
{
conf::Config config;
config("usage: swngramppl [OPTION...] ARPAFILE WORD_SEGMENTATIONS INPUT\n")
('f', "prob-file", "arg", "", "Write log likelihoods (ln) to a file")
('h', "help", ""... | 30.30303 | 94 | 0.592 | aalto-speech |
cadd3bc78e317fd2615017ad3748a250b31bd26c | 118,461 | cpp | C++ | 3rd/snap7-1.4.2/src/core/s7_micro_client.cpp | xeniumlee/edge.skynet | 011b227e67663f298d6dd02b82eb41d30c6924f1 | [
"MIT"
] | 133 | 2015-02-19T04:49:23.000Z | 2022-02-23T22:15:53.000Z | 3rd/snap7-1.4.2/src/core/s7_micro_client.cpp | xeniumlee/edge.skynet | 011b227e67663f298d6dd02b82eb41d30c6924f1 | [
"MIT"
] | 76 | 2015-02-21T09:41:56.000Z | 2022-03-03T11:59:15.000Z | 3rd/snap7-1.4.2/src/core/s7_micro_client.cpp | xeniumlee/edge.skynet | 011b227e67663f298d6dd02b82eb41d30c6924f1 | [
"MIT"
] | 51 | 2015-03-02T21:48:09.000Z | 2022-03-17T12:10:36.000Z | /*=============================================================================|
| PROJECT SNAP7 1.3.0 |
|==============================================================================|
| Copyright (C) 2013, 2015 Davide Nardella ... | 35.58456 | 146 | 0.535467 | xeniumlee |
cadde650de6efe7cfac79fe9334046d031d13d44 | 20,241 | cpp | C++ | XPowerControl/TokenRetriever.cpp | snowpoke/XPowerControl | a5e4493cde4bdc06df30dba69a9460247074fdcd | [
"MIT"
] | 4 | 2021-11-11T17:03:20.000Z | 2022-01-14T18:13:41.000Z | XPowerControl/TokenRetriever.cpp | snowpoke/XPowerControl | a5e4493cde4bdc06df30dba69a9460247074fdcd | [
"MIT"
] | 1 | 2022-01-14T00:39:49.000Z | 2022-01-14T00:39:49.000Z | XPowerControl/TokenRetriever.cpp | snowpoke/XPowerControl | a5e4493cde4bdc06df30dba69a9460247074fdcd | [
"MIT"
] | null | null | null | #include "TokenRetriever.h"
#include "stdafx.h"
#include "RetrieveTokenDlg.h"
#include "token_retrieve.h"
#include "nlohmann/json.hpp"
#include "wstring_transform.h"
#include "FirstSetup.h"
#include "ActionRequiredDlg.h"
#include "logging.h"
#include <boost/filesystem.hpp>
#include <boost/algorithm/string.hpp>
#include... | 35.572935 | 176 | 0.716812 | snowpoke |
cadf2157e6ba812f8befd185ce6212e9fe62fb3c | 7,195 | cpp | C++ | hooks/recv_commands/CMDRECV_Build.cpp | Lucifirius/yzoriansteampunk | 7b629ffd9740f0ff3db1fb8cffe07f45b7528854 | [
"Unlicense"
] | null | null | null | hooks/recv_commands/CMDRECV_Build.cpp | Lucifirius/yzoriansteampunk | 7b629ffd9740f0ff3db1fb8cffe07f45b7528854 | [
"Unlicense"
] | null | null | null | hooks/recv_commands/CMDRECV_Build.cpp | Lucifirius/yzoriansteampunk | 7b629ffd9740f0ff3db1fb8cffe07f45b7528854 | [
"Unlicense"
] | null | null | null | #include "CMDRECV_Build.h"
#include <SCBW/api.h>
//Helper functions declaration
namespace {
Bool32 OrderAllowed(CUnit* unit, u16 order, u32 nationID); //6DC20
u32 function_00473FB0(CUnit* unit, u8 playerId, int x, int y, u16 unitId, u8 unk1, u8 unk2, u8 unk3, u8 unk4 ); //73FB0
bool placeBuildi... | 19.393531 | 120 | 0.65615 | Lucifirius |
cae345cbe02769fdfae5082205b7110fbfca97c5 | 1,411 | cpp | C++ | iface_kcan.cpp | azarenko/cascade | 47d538df4f2c8014cefbb43495d995e43c97c1b2 | [
"Apache-2.0"
] | null | null | null | iface_kcan.cpp | azarenko/cascade | 47d538df4f2c8014cefbb43495d995e43c97c1b2 | [
"Apache-2.0"
] | null | null | null | iface_kcan.cpp | azarenko/cascade | 47d538df4f2c8014cefbb43495d995e43c97c1b2 | [
"Apache-2.0"
] | null | null | null | /*
* iface_kcan.cpp
*
* (C) Copyright 2014 Ulrich Hecht
*
* This file is part of CASCADE. CASCADE is almost free software; you can
* redistribute it and/or modify it under the terms of the Cascade Public
* License 1.0. Read the file "LICENSE" for details.
*/
#include "iface_kcan.h"
#include "iface_kl_tty.h"
... | 18.565789 | 74 | 0.681077 | azarenko |
cae823fbd579dea15331da41a03b923dee520845 | 36 | hpp | C++ | src/boost_asio_streambuf.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 10 | 2018-03-17T00:58:42.000Z | 2021-07-06T02:48:49.000Z | src/boost_asio_streambuf.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 2 | 2021-03-26T15:17:35.000Z | 2021-05-20T23:55:08.000Z | src/boost_asio_streambuf.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 4 | 2019-05-28T21:06:37.000Z | 2021-07-06T03:06:52.000Z | #include <boost/asio/streambuf.hpp>
| 18 | 35 | 0.777778 | miathedev |
caeb79731b880c33960723192eb0f6bdbbb6f2f3 | 8,678 | cxx | C++ | core/teca_temporal_reduction.cxx | burlen/teca_arch | 6e2d6b607b0ab4a354969e0bd5e24ceb3a57bcf4 | [
"BSD-3-Clause-LBNL"
] | null | null | null | core/teca_temporal_reduction.cxx | burlen/teca_arch | 6e2d6b607b0ab4a354969e0bd5e24ceb3a57bcf4 | [
"BSD-3-Clause-LBNL"
] | null | null | null | core/teca_temporal_reduction.cxx | burlen/teca_arch | 6e2d6b607b0ab4a354969e0bd5e24ceb3a57bcf4 | [
"BSD-3-Clause-LBNL"
] | null | null | null | #include "teca_temporal_reduction.h"
#include "teca_binary_stream.h"
#if defined(TECA_HAS_MPI)
#include <mpi.h>
#endif
#if defined(TECA_HAS_BOOST)
#include <boost/program_options.hpp>
#endif
using std::string;
using std::vector;
using std::cerr;
using std::endl;
// TODO
// handle large messages, ie work around int ... | 26.217523 | 84 | 0.550472 | burlen |
caefba681239bdb5d2815a03d000c3a070935baa | 1,272 | hpp | C++ | include/System/Threading/IThreadPoolWorkItem.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/System/Threading/IThreadPoolWorkItem.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/System/Threading/IThreadPoolWorkItem.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
// Completed includes
// Begin forward declares
// Forward declaring namespace: System::Threading
namespace System::Threading {
// Forward dec... | 37.411765 | 108 | 0.698113 | darknight1050 |
caf44b6636c37c36e9e9d05e8bcf81b1b9d0a989 | 3,413 | cpp | C++ | cpp/nn_trees/src/py_bindings.cpp | equivalence1/ml_lib | 92d75ab73bc2d77ba8fa66022c803c06cad66f21 | [
"Apache-2.0"
] | 1 | 2019-02-15T09:40:43.000Z | 2019-02-15T09:40:43.000Z | cpp/nn_trees/src/py_bindings.cpp | equivalence1/ml_lib | 92d75ab73bc2d77ba8fa66022c803c06cad66f21 | [
"Apache-2.0"
] | null | null | null | cpp/nn_trees/src/py_bindings.cpp | equivalence1/ml_lib | 92d75ab73bc2d77ba8fa66022c803c06cad66f21 | [
"Apache-2.0"
] | 2 | 2018-09-29T10:17:26.000Z | 2018-10-03T20:33:31.000Z | #include <cstdint>
#include <pybind11/pybind11.h>
#include <pybind11/numpy.h>
#include "nntree/dataset.h"
#include "least_squares.h"
#include "convolution.h"
// TODO(equivalence1) make it a collection of separate files
namespace py = pybind11;
namespace nntree {
namespace pymodule {
template <typename... | 38.348315 | 147 | 0.517433 | equivalence1 |
caf59ed68fb1e9a3a8d68687b61648006b54513a | 14,894 | hpp | C++ | modules/containers/include/shard/containers/array.hpp | ikimol/shard | 72a72dbebfd247d2b7b300136c489672960b37d8 | [
"MIT"
] | null | null | null | modules/containers/include/shard/containers/array.hpp | ikimol/shard | 72a72dbebfd247d2b7b300136c489672960b37d8 | [
"MIT"
] | null | null | null | modules/containers/include/shard/containers/array.hpp | ikimol/shard | 72a72dbebfd247d2b7b300136c489672960b37d8 | [
"MIT"
] | null | null | null | // Copyright (c) 2021 Miklos Molnar. All rights reserved.
#ifndef SHARD_CONTAINERS_ARRAY_HPP
#define SHARD_CONTAINERS_ARRAY_HPP
#include <shard/memory/allocator.hpp>
#include <algorithm>
#include <cstddef>
#include <cstring>
#include <iterator>
#include <stdexcept>
#include <utility>
namespace shard {
namespace con... | 29.376726 | 116 | 0.586478 | ikimol |
caf88183ce6130f29517b09821f2a8484d40f5ca | 8,573 | cpp | C++ | ManagedScripts/MLightPhysClassRefMultiListClass.cpp | mpforums/RenSharp | 5b3fb8bff2a1772a82a4148bcf3e1265a11aa097 | [
"Apache-2.0"
] | 1 | 2021-10-04T02:34:33.000Z | 2021-10-04T02:34:33.000Z | ManagedScripts/MLightPhysClassRefMultiListClass.cpp | TheUnstoppable/RenSharp | 2a123c6018c18f3fc73501737d600e291ac3afa7 | [
"Apache-2.0"
] | 9 | 2019-07-03T19:19:59.000Z | 2020-03-02T22:00:21.000Z | ManagedScripts/MLightPhysClassRefMultiListClass.cpp | TheUnstoppable/RenSharp | 2a123c6018c18f3fc73501737d600e291ac3afa7 | [
"Apache-2.0"
] | 2 | 2019-08-14T08:37:36.000Z | 2020-09-29T06:44:26.000Z | /*
Copyright 2020 Neijwiert
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 writing, software
distr... | 31.288321 | 143 | 0.787239 | mpforums |
cafa5426a3b859ccfd944cf9a6c09861bc5ce164 | 11,808 | hpp | C++ | control/json/actions/action.hpp | ibm-openbmc/phosphor-fan-presence | a899aa0cbdb7904d177fc5bb85aa605e4ff13747 | [
"Apache-2.0"
] | null | null | null | control/json/actions/action.hpp | ibm-openbmc/phosphor-fan-presence | a899aa0cbdb7904d177fc5bb85aa605e4ff13747 | [
"Apache-2.0"
] | null | null | null | control/json/actions/action.hpp | ibm-openbmc/phosphor-fan-presence | a899aa0cbdb7904d177fc5bb85aa605e4ff13747 | [
"Apache-2.0"
] | 1 | 2019-09-27T15:20:57.000Z | 2019-09-27T15:20:57.000Z | /**
* Copyright © 2022 IBM 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 agr... | 30.67013 | 80 | 0.615684 | ibm-openbmc |
1b00a7478640dc8659f0435fc32c0f77c9bbc9e2 | 3,566 | cpp | C++ | src/bvh_converter.cpp | lasagnaphil/c3d-to-bvh | cbb10c6e0207aa9c47b54359f785a2e6b78989c1 | [
"MIT"
] | 2 | 2020-04-21T12:24:09.000Z | 2021-08-12T02:56:55.000Z | src/bvh_converter.cpp | lasagnaphil/c3d-to-bvh | cbb10c6e0207aa9c47b54359f785a2e6b78989c1 | [
"MIT"
] | null | null | null | src/bvh_converter.cpp | lasagnaphil/c3d-to-bvh | cbb10c6e0207aa9c47b54359f785a2e6b78989c1 | [
"MIT"
] | 2 | 2021-06-29T11:46:06.000Z | 2021-08-12T02:57:00.000Z | //
// Created by lasagnaphil on 19. 11. 11..
//
#include <iostream>
#include <random>
#include <regex>
#include "imguix/imgui_plot.h"
#include <MotionClipData.h>
#include "App.h"
#include "GizmosRenderer.h"
#include "PhongRenderer.h"
#include "c3d/PointMotionClip.h"
#include "filesystem.h"
namespace fs = std::fil... | 28.528 | 111 | 0.592821 | lasagnaphil |
1b0964323e5667bad8dddb2a54b342e789fad456 | 4,345 | cc | C++ | python/dune/gdt/prolongations.cc | pymor/dune-gdt | fabc279a79e7362181701866ce26133ec40a05e0 | [
"BSD-2-Clause"
] | 4 | 2018-10-12T21:46:08.000Z | 2020-08-01T18:54:02.000Z | python/dune/gdt/prolongations.cc | dune-community/dune-gdt | fabc279a79e7362181701866ce26133ec40a05e0 | [
"BSD-2-Clause"
] | 154 | 2016-02-16T13:50:54.000Z | 2021-12-13T11:04:29.000Z | python/dune/gdt/prolongations.cc | dune-community/dune-gdt | fabc279a79e7362181701866ce26133ec40a05e0 | [
"BSD-2-Clause"
] | 5 | 2016-03-02T10:11:20.000Z | 2020-02-08T03:56:24.000Z | // This file is part of the dune-gdt project:
// https://github.com/dune-community/dune-gdt
// Copyright 2010-2018 dune-gdt developers and contributors. All rights reserved.
// License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
// or GPL-2.0+ (http://opensource.org/lice... | 30.815603 | 119 | 0.654085 | pymor |
db43fa54955a0edc604797ca9840f0f9dcc1f7fa | 785 | cpp | C++ | Source/HeatCool/integrate_state_vec_3d_stubs.cpp | zingale/Nyx | d0dd183748e85615e32c327004d540d6ad3069c7 | [
"BSD-3-Clause-LBNL"
] | null | null | null | Source/HeatCool/integrate_state_vec_3d_stubs.cpp | zingale/Nyx | d0dd183748e85615e32c327004d540d6ad3069c7 | [
"BSD-3-Clause-LBNL"
] | null | null | null | Source/HeatCool/integrate_state_vec_3d_stubs.cpp | zingale/Nyx | d0dd183748e85615e32c327004d540d6ad3069c7 | [
"BSD-3-Clause-LBNL"
] | null | null | null | #include <fstream>
#include <iomanip>
#include <AMReX_ParmParse.H>
#include <AMReX_Geometry.H>
#include <AMReX_MultiFab.H>
#include <AMReX_Print.H>
#include <AMReX_PlotFileUtil.H>
#include <AMReX_BLFort.H>
#include <Nyx.H>
using namespace amrex;
/* Private function to check function return values */
static int chec... | 21.216216 | 72 | 0.73121 | zingale |
db45486f46c4f164cd307f0214270a5a4c4612da | 788 | cpp | C++ | code/3rd-party/imdexlib/tests/string_ref-test.cpp | InNoHurryToCode/xray-162 | fff9feb9ffb681b3c6ba1dc7c4534fe80006f87e | [
"Apache-2.0"
] | 58 | 2016-11-20T19:14:35.000Z | 2021-12-27T21:03:35.000Z | code/3rd-party/imdexlib/tests/string_ref-test.cpp | InNoHurryToCode/xray-162 | fff9feb9ffb681b3c6ba1dc7c4534fe80006f87e | [
"Apache-2.0"
] | 59 | 2016-09-10T10:44:20.000Z | 2018-09-03T19:07:30.000Z | code/3rd-party/imdexlib/tests/string_ref-test.cpp | InNoHurryToCode/xray-162 | fff9feb9ffb681b3c6ba1dc7c4534fe80006f87e | [
"Apache-2.0"
] | 39 | 2017-02-05T13:35:37.000Z | 2022-03-14T11:00:12.000Z | #include <gtest/gtest.h>
#include <gmock/gmock.h>
#include <imdexlib/string_ref.hpp>
using namespace imdex;
using namespace testing;
using namespace std::string_literals;
TEST(StringRefTest, EmptinessTest) {
EXPECT_EQ(string_ref(), "");
EXPECT_EQ(string_ref(), ""s);
EXPECT_TRUE(string_ref().empty());
... | 23.878788 | 45 | 0.687817 | InNoHurryToCode |
db4df42413a131a63df58fe7e80328fc2e65c16a | 1,859 | hh | C++ | main/src/Geo/plane_fitting.hh | marcomanno/ploygon_triangulation | c98b99e3f9598252ffc27eb202939f0183ac872b | [
"Apache-2.0"
] | null | null | null | main/src/Geo/plane_fitting.hh | marcomanno/ploygon_triangulation | c98b99e3f9598252ffc27eb202939f0183ac872b | [
"Apache-2.0"
] | null | null | null | main/src/Geo/plane_fitting.hh | marcomanno/ploygon_triangulation | c98b99e3f9598252ffc27eb202939f0183ac872b | [
"Apache-2.0"
] | null | null | null |
#pragma once
#include "vector.hh"
#include <memory>
namespace Geo {
/*! Finds the best plane for N 3d points (the pane that minimize
the square distance of any point from the plane.
*/
struct IPlaneFit
{
/*!Set the expected number of points to be considered for minimum distance.
It must not... | 25.465753 | 80 | 0.658419 | marcomanno |
db518c13f9e5e8995a973a92ee319d28dbd513df | 67 | cpp | C++ | src/tree/SplayTree.cpp | vtta/libds | 2356b4b1a79994ac231681e2dbd1b0fffd61ebca | [
"Unlicense"
] | null | null | null | src/tree/SplayTree.cpp | vtta/libds | 2356b4b1a79994ac231681e2dbd1b0fffd61ebca | [
"Unlicense"
] | null | null | null | src/tree/SplayTree.cpp | vtta/libds | 2356b4b1a79994ac231681e2dbd1b0fffd61ebca | [
"Unlicense"
] | null | null | null | //
// Created by vtta 🍉 on 2020/1/16.
//
#include "SplayTree.hpp"
| 11.166667 | 34 | 0.61194 | vtta |
db58cf4e76d60b3f79dfb9240fdb107198464e02 | 1,017 | cpp | C++ | array-and-string/introduction-to-string/add-binary.cpp | lpapp/leetcode | 58274e021004824bea9c58033632f1d5cf11a7e9 | [
"MIT"
] | null | null | null | array-and-string/introduction-to-string/add-binary.cpp | lpapp/leetcode | 58274e021004824bea9c58033632f1d5cf11a7e9 | [
"MIT"
] | null | null | null | array-and-string/introduction-to-string/add-binary.cpp | lpapp/leetcode | 58274e021004824bea9c58033632f1d5cf11a7e9 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <vector>
using namespace std;
class Solution {
public:
string addBinary(string a, string b) {
string added;
for (int ai = a.size() - 1, bi = b.size() - 1, carry = 0, curr_digit = 0; ai >= 0 or bi >= 0 or carry; added.push_back('0' + curr_digit), curr_digi... | 25.425 | 165 | 0.518191 | lpapp |
db5a0cc481ded5de29a40ae70ce2fb8410a31ce8 | 2,310 | cpp | C++ | src/single_net/GridGraphBuilderBase.cpp | jacky860226/dr-cu | cd3f2f98a9bb4eb6a6531369018e3f1616a58642 | [
"Unlicense"
] | 1 | 2021-01-30T07:41:31.000Z | 2021-01-30T07:41:31.000Z | src/single_net/GridGraphBuilderBase.cpp | jacky860226/dr-cu | cd3f2f98a9bb4eb6a6531369018e3f1616a58642 | [
"Unlicense"
] | null | null | null | src/single_net/GridGraphBuilderBase.cpp | jacky860226/dr-cu | cd3f2f98a9bb4eb6a6531369018e3f1616a58642 | [
"Unlicense"
] | null | null | null | #include "GridGraphBuilderBase.h"
#include "PinTapConnector.h"
DBU GridGraphBuilderBase::getPinPointDist(const vector<db::BoxOnLayer> &accessBoxes, const db::GridPoint &grid) {
auto point = database.getLoc(grid);
DBU minDist = std::numeric_limits<DBU>::max() / 10; // make it safe for adding in case no same-la... | 42 | 118 | 0.61645 | jacky860226 |
db60fa0ebbaedd970814294220ffe33263388a5e | 9,697 | cpp | C++ | lgc/builder/BuilderBase.cpp | Sisyph/llpc | 719c9414987921159200729e78ecf1c2e98dd420 | [
"MIT"
] | 112 | 2018-07-02T06:56:25.000Z | 2022-02-08T12:07:19.000Z | lgc/builder/BuilderBase.cpp | Sisyph/llpc | 719c9414987921159200729e78ecf1c2e98dd420 | [
"MIT"
] | 1,612 | 2018-07-04T19:08:21.000Z | 2022-03-31T23:24:55.000Z | lgc/builder/BuilderBase.cpp | vettoreldaniele/llpc | 41fd5608f7b697c1416b983b89b2f62f0907d4a3 | [
"MIT"
] | 114 | 2018-07-04T18:47:13.000Z | 2022-03-30T19:53:19.000Z | /*
***********************************************************************************************************************
*
* Copyright (c) 2020-2021 Advanced Micro Devices, Inc. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associ... | 47.072816 | 120 | 0.645664 | Sisyph |
db635b6fae4b1613134a71a127109df6b950600b | 962 | cpp | C++ | fboss/lib/SnapshotManager.cpp | rsunkad/fboss | 760255f88fdaeb7f12d092a41362acf1e9a45bbb | [
"BSD-3-Clause"
] | 1 | 2021-08-21T08:14:07.000Z | 2021-08-21T08:14:07.000Z | fboss/lib/SnapshotManager.cpp | rsunkad/fboss | 760255f88fdaeb7f12d092a41362acf1e9a45bbb | [
"BSD-3-Clause"
] | 1 | 2021-08-21T07:48:15.000Z | 2021-08-21T07:48:15.000Z | fboss/lib/SnapshotManager.cpp | LaudateCorpus1/fboss | 0e54a9ec6e80376356dfbf6b6ac46f196f1cb534 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2004-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#in... | 28.294118 | 79 | 0.711019 | rsunkad |
db649449d4e94764ff15e29711d74faab8460629 | 28,379 | cpp | C++ | WaveletTL/adaptive/apply_tensor.cpp | kedingagnumerikunimarburg/Marburg_Software_Library | fe53c3ae9db23fc3cb260a735b13a1c6d2329c17 | [
"MIT"
] | 3 | 2018-05-20T15:25:58.000Z | 2021-01-19T18:46:48.000Z | WaveletTL/adaptive/apply_tensor.cpp | agnumerikunimarburg/Marburg_Software_Library | fe53c3ae9db23fc3cb260a735b13a1c6d2329c17 | [
"MIT"
] | null | null | null | WaveletTL/adaptive/apply_tensor.cpp | agnumerikunimarburg/Marburg_Software_Library | fe53c3ae9db23fc3cb260a735b13a1c6d2329c17 | [
"MIT"
] | 2 | 2019-04-24T18:23:26.000Z | 2020-09-17T10:00:27.000Z | // implementation for apply_tensor.h
namespace WaveletTL
{
template <class PROBLEM>
void APPLY_TENSOR(PROBLEM& P,
const InfiniteVector<double, typename PROBLEM::Index>& v,
const double eta,
InfiniteVector<double, typename PROBLEM::Index>& w,
const int jmax,
... | 57.331313 | 289 | 0.496881 | kedingagnumerikunimarburg |
db64bacaf64c5a59e0124f28fd2c7dfeaae023e7 | 12,719 | hpp | C++ | runtime/utils/qcor_utils.hpp | vetter/qcor | 6f86835737277a26071593bb10dd8627c29d74a3 | [
"BSD-3-Clause"
] | 59 | 2019-08-22T18:40:38.000Z | 2022-03-09T04:12:42.000Z | runtime/utils/qcor_utils.hpp | vetter/qcor | 6f86835737277a26071593bb10dd8627c29d74a3 | [
"BSD-3-Clause"
] | 137 | 2019-09-13T15:50:18.000Z | 2021-12-06T14:19:46.000Z | runtime/utils/qcor_utils.hpp | vetter/qcor | 6f86835737277a26071593bb10dd8627c29d74a3 | [
"BSD-3-Clause"
] | 26 | 2019-07-08T17:30:35.000Z | 2021-12-03T16:24:12.000Z | /*******************************************************************************
* Copyright (c) 2018-, UT-Battelle, LLC.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the MIT License
* which accompanies this distribution.
*
* Contributors:
* Alexa... | 33.383202 | 83 | 0.673245 | vetter |
db6dfe59498a0a886f2f20aedf9ea06cf84df418 | 2,125 | cc | C++ | proxy/http/remap/RemapPluginInfo.cc | best8tom/trafficserver | 86fffc0f7c3073df3610a06753cc10c5c49231f0 | [
"Apache-2.0"
] | 1 | 2019-11-08T05:57:11.000Z | 2019-11-08T05:57:11.000Z | proxy/http/remap/RemapPluginInfo.cc | best8tom/trafficserver | 86fffc0f7c3073df3610a06753cc10c5c49231f0 | [
"Apache-2.0"
] | 2 | 2018-04-18T20:46:52.000Z | 2018-09-19T20:07:01.000Z | proxy/http/remap/RemapPluginInfo.cc | best8tom/trafficserver | 86fffc0f7c3073df3610a06753cc10c5c49231f0 | [
"Apache-2.0"
] | null | null | null | /** @file
Information about remap plugin libraries.
@section license License
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this ... | 26.234568 | 119 | 0.714353 | best8tom |
db7407dc8fd825dd88ffd4fed64e358534cd4992 | 4,254 | cpp | C++ | Source/SFMLIntegration/CConvexShape.cpp | sizlo/TimGameLib | b70605c4b043a928645f063a2bb3b267fa91f2c6 | [
"MIT"
] | null | null | null | Source/SFMLIntegration/CConvexShape.cpp | sizlo/TimGameLib | b70605c4b043a928645f063a2bb3b267fa91f2c6 | [
"MIT"
] | null | null | null | Source/SFMLIntegration/CConvexShape.cpp | sizlo/TimGameLib | b70605c4b043a928645f063a2bb3b267fa91f2c6 | [
"MIT"
] | null | null | null | //
// CConvexShape.cpp
// TimGameLib
//
// Created by Tim Brier on 18/10/2014.
// Copyright (c) 2014 tbrier. All rights reserved.
//
// =============================================================================
// Include Files
// -----------------------------------------------------------------------------
#in... | 31.279412 | 80 | 0.398213 | sizlo |
db751b9004b42f6197d66f02deaf91742ce01b37 | 1,210 | cpp | C++ | online_judges/ac/103B.cpp | miaortizma/competitive-programming | ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc | [
"MIT"
] | 2 | 2018-02-20T14:44:57.000Z | 2018-02-20T14:45:03.000Z | online_judges/ac/103B.cpp | miaortizma/competitive-programming | ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc | [
"MIT"
] | null | null | null | online_judges/ac/103B.cpp | miaortizma/competitive-programming | ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#ifdef PAPITAS
#define DEBUG 1
#else
#define DEBUG 0
#endif
#define _DO_(x) if(DEBUG) x
bool visited[110][110];
bool nvisited[110];
int parent[110];
int c = 0;
vector<int> adj[110];
vector< vector<int> > cycles;
void cycle(int ... | 17.794118 | 43 | 0.580165 | miaortizma |
db76c004750cc3b8bef6870594b33b1160540c47 | 135,686 | cpp | C++ | src/prod/src/data/logicallog/LogTestBase.cpp | vishnuk007/service-fabric | d0afdea185ae932cc3c9eacf179692e6fddbc630 | [
"MIT"
] | 1 | 2020-06-15T04:33:36.000Z | 2020-06-15T04:33:36.000Z | src/prod/src/data/logicallog/LogTestBase.cpp | vishnuk007/service-fabric | d0afdea185ae932cc3c9eacf179692e6fddbc630 | [
"MIT"
] | null | null | null | src/prod/src/data/logicallog/LogTestBase.cpp | vishnuk007/service-fabric | d0afdea185ae932cc3c9eacf179692e6fddbc630 | [
"MIT"
] | null | null | null | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
#include "... | 40.758786 | 224 | 0.600231 | vishnuk007 |
db80378e00d14e968e514b1bc2ca346c5b166404 | 947 | cpp | C++ | game/server/entities/items/CItemLongJump.cpp | xalalau/HLEnhanced | f108222ab7d303c9ed5a8e81269f9e949508e78e | [
"Unlicense"
] | 83 | 2016-06-10T20:49:23.000Z | 2022-02-13T18:05:11.000Z | game/server/entities/items/CItemLongJump.cpp | xalalau/HLEnhanced | f108222ab7d303c9ed5a8e81269f9e949508e78e | [
"Unlicense"
] | 26 | 2016-06-16T22:27:24.000Z | 2019-04-30T19:25:51.000Z | game/server/entities/items/CItemLongJump.cpp | xalalau/HLEnhanced | f108222ab7d303c9ed5a8e81269f9e949508e78e | [
"Unlicense"
] | 58 | 2016-06-10T23:52:33.000Z | 2021-12-30T02:30:50.000Z | #include "extdll.h"
#include "util.h"
#include "cbase.h"
#include "CBasePlayer.h"
#include "WeaponsConst.h"
#include "CItem.h"
#include "CItemLongJump.h"
LINK_ENTITY_TO_CLASS( item_longjump, CItemLongJump );
void CItemLongJump::Spawn( void )
{
Precache();
SetModel( "models/w_longjump.mdl" );
CItem::Spawn();
}
v... | 20.586957 | 97 | 0.702218 | xalalau |
db82b2491f7f739a5ba5c3a15bd4ee5c8ce123d0 | 512 | cpp | C++ | ymp/src/ymp/core/GameWindow.cpp | haukkagu/ymp | 2094ae4426931dc44b1a0d43253fa2581253dfd4 | [
"MIT"
] | 1 | 2021-02-26T17:34:51.000Z | 2021-02-26T17:34:51.000Z | ymp/src/ymp/core/GameWindow.cpp | haukkagu/ymp | 2094ae4426931dc44b1a0d43253fa2581253dfd4 | [
"MIT"
] | null | null | null | ymp/src/ymp/core/GameWindow.cpp | haukkagu/ymp | 2094ae4426931dc44b1a0d43253fa2581253dfd4 | [
"MIT"
] | null | null | null | #include "ymp/core/GameWindow.h"
#include "ymp/opengl.h"
namespace ymp {
GameWindow::GameWindow(const char* title, unsigned int width, unsigned int height) {
m_Window = nullptr;
m_Title = title;
m_Width = width;
m_Height = height;
}
GameWindow::~GameWindow() {
glfwDestroyWindow(m_Window);
}
void G... | 21.333333 | 85 | 0.728516 | haukkagu |
db82d9ac10545f66127736d82c74c56ba48b8706 | 26,905 | cpp | C++ | src/StepReadFromRedis.cpp | Bwar/NebulaMydis | 103c736c487671649e50e75e9eaace5df95f1597 | [
"Apache-2.0"
] | 1 | 2019-06-17T12:16:05.000Z | 2019-06-17T12:16:05.000Z | src/StepReadFromRedis.cpp | Bwar/NebulaMydis | 103c736c487671649e50e75e9eaace5df95f1597 | [
"Apache-2.0"
] | null | null | null | src/StepReadFromRedis.cpp | Bwar/NebulaMydis | 103c736c487671649e50e75e9eaace5df95f1597 | [
"Apache-2.0"
] | 1 | 2019-12-03T01:19:58.000Z | 2019-12-03T01:19:58.000Z | /*******************************************************************************
* Project: NebulaMydis
* @file StepReadFromRedis.cpp
* @brief
* @author Bwar
* @date: 2018年3月1日
* @note
* Modify history:
******************************************************************************/
#include <google/p... | 35.032552 | 132 | 0.525293 | Bwar |
db82df35dc24052ee19476319b059c0a8455b1b6 | 1,712 | cpp | C++ | src/tools/LibLoading.cpp | CapRat/APAL | a08f4bc6ee6299e8e370ef99750262ad23c87d58 | [
"MIT"
] | 2 | 2020-09-21T12:30:05.000Z | 2020-10-14T19:43:51.000Z | src/tools/LibLoading.cpp | CapRat/APAL | a08f4bc6ee6299e8e370ef99750262ad23c87d58 | [
"MIT"
] | null | null | null | src/tools/LibLoading.cpp | CapRat/APAL | a08f4bc6ee6299e8e370ef99750262ad23c87d58 | [
"MIT"
] | null | null | null | #include "tools/LibLoading.hpp"
namespace APAL {
std::string
GetErrorStr()
{
const char* errStr = GetError();
return errStr == nullptr ? std::string() : errStr;
}
}
#ifdef _WIN32
#include <windows.h>
namespace APAL {
char* lastError = nullptr;
char* lastErrorReturnCopy = nullptr;
library_t
LoadLib(const char* libN... | 19.235955 | 73 | 0.709696 | CapRat |
db842967130eac807ff42a396771682025765efe | 30,630 | cpp | C++ | _src_/Core/BMD.cpp | daldegam/MuClientTools16 | 933d218501c188363096a8f9f73720c61b535d06 | [
"MIT"
] | 16 | 2021-07-15T04:00:38.000Z | 2022-02-27T02:37:23.000Z | _src_/Core/BMD.cpp | daldegam/MuClientTools16 | 933d218501c188363096a8f9f73720c61b535d06 | [
"MIT"
] | 6 | 2021-08-05T05:01:35.000Z | 2021-10-22T02:01:33.000Z | _src_/Core/BMD.cpp | daldegam/MuClientTools16 | 933d218501c188363096a8f9f73720c61b535d06 | [
"MIT"
] | 16 | 2021-07-18T02:40:12.000Z | 2022-02-09T05:25:07.000Z | #include "BMD.h"
//#define _DEBUG_BMD_
#ifdef _DEBUG_BMD_
#define DEBUG_BMD 1
#define PRINT_DEBUG_BMD(msg) std::cout << msg << std::endl
#else
#define DEBUG_BMD 0
#define PRINT_DEBUG_BMD(msg)
#endif
vec3_t DUMMY_VEC3{ 0.0f, 0.0f,0.0f };
BoneMatrix_t DUMMY_BONE_MATRIX{ &DUMMY_VEC3 , &DUMMY_VEC3 };
//================... | 25.272277 | 181 | 0.582305 | daldegam |
db84794d9131cc2a77c2c8c9a6a61d4ef637befe | 6,111 | cpp | C++ | export/windows/obj/src/openfl/display/Window.cpp | seanbashaw/frozenlight | 47c540d30d63e946ea2dc787b4bb602cc9347d21 | [
"MIT"
] | null | null | null | export/windows/obj/src/openfl/display/Window.cpp | seanbashaw/frozenlight | 47c540d30d63e946ea2dc787b4bb602cc9347d21 | [
"MIT"
] | null | null | null | export/windows/obj/src/openfl/display/Window.cpp | seanbashaw/frozenlight | 47c540d30d63e946ea2dc787b4bb602cc9347d21 | [
"MIT"
] | null | null | null | // Generated by Haxe 3.4.7
#include <hxcpp.h>
#ifndef INCLUDED_Reflect
#include <Reflect.h>
#endif
#ifndef INCLUDED_lime_app_Application
#include <lime/app/Application.h>
#endif
#ifndef INCLUDED_lime_app_IModule
#include <lime/app/IModule.h>
#endif
#ifndef INCLUDED_lime_app_Module
#include <lime/app/Module.h>
#endif
#... | 35.12069 | 197 | 0.720831 | seanbashaw |
db8851780d0b9024971f12eefcb23dcbfcdefa55 | 4,558 | cpp | C++ | src/brew/video/Frustum.cpp | grrrrunz/brew | 13e17e2f6c9fb0f612c3a0bcabd233085ca15867 | [
"MIT"
] | 1 | 2018-02-09T16:20:50.000Z | 2018-02-09T16:20:50.000Z | src/brew/video/Frustum.cpp | grrrrunz/brew | 13e17e2f6c9fb0f612c3a0bcabd233085ca15867 | [
"MIT"
] | null | null | null | src/brew/video/Frustum.cpp | grrrrunz/brew | 13e17e2f6c9fb0f612c3a0bcabd233085ca15867 | [
"MIT"
] | null | null | null | /**
*
* |_ _ _
* |_)| (/_VV
*
* Copyright 2015-2018 Marcus v. Keil
*
* Created on: 02.01.2015
*
*/
#include <brew/video/Frustum.h>
#include <brew/math/BoundingBox.h>
namespace brew {
const Vec3 Frustum::clipSpacePlanePoints[8] = {
/* near clip plane */
Vec3(-1, -1, -... | 36.174603 | 118 | 0.595217 | grrrrunz |
db8d4d497e7db2d4dac2087794c56ce6206150e6 | 3,963 | hpp | C++ | src/mlpack/core/util/param_data_impl.hpp | 17minutes/mlpack | 8f4af1ec454a662dd7c990cf2146bfeb1bd0cb3a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-09-22T18:12:40.000Z | 2021-11-17T10:39:58.000Z | src/mlpack/core/util/param_data_impl.hpp | kosmaz/Mlpack | 62100ddca45880a57e7abb0432df72d285e5728b | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | src/mlpack/core/util/param_data_impl.hpp | kosmaz/Mlpack | 62100ddca45880a57e7abb0432df72d285e5728b | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | /**
* @file param_data_impl.hpp
* @author Ryan Curtin
*
* Implementation of utility functions for ParamData structures.
*/
#ifndef MLPACK_CORE_UTIL_PARAM_DATA_IMPL_HPP
#define MLPACK_CORE_UTIL_PARAM_DATA_IMPL_HPP
#include "param_data.hpp"
#include <mlpack/core/data/load.hpp>
namespace mlpack {
namespace util {
... | 30.960938 | 80 | 0.66591 | 17minutes |
db8de7de063c936aae6fb334e44d2be5f63a20f5 | 958 | hpp | C++ | source/backend/opencl/execution/image/MultiInputDWDeconvExecution.hpp | foreverlms/MNN | 8f9d3e3331fb54382bb61ac3a2087637a161fec5 | [
"Apache-2.0"
] | 6,958 | 2019-05-06T02:38:02.000Z | 2022-03-31T18:08:48.000Z | source/backend/opencl/execution/image/MultiInputDWDeconvExecution.hpp | foreverlms/MNN | 8f9d3e3331fb54382bb61ac3a2087637a161fec5 | [
"Apache-2.0"
] | 1,775 | 2019-05-06T04:40:19.000Z | 2022-03-30T15:39:24.000Z | source/backend/opencl/execution/image/MultiInputDWDeconvExecution.hpp | foreverlms/MNN | 8f9d3e3331fb54382bb61ac3a2087637a161fec5 | [
"Apache-2.0"
] | 1,511 | 2019-05-06T02:38:05.000Z | 2022-03-31T16:59:39.000Z | //
// MultiInputDWDeconvExecution.hpp
// MNN
//
// Created by MNN on 2019/10/25.
// Copyright © 2018, Alibaba Group Holding Limited
//
#ifndef MultiInputDWDeconvExecution_hpp
#define MultiInputDWDeconvExecution_hpp
#include "backend/opencl/execution/image/CommonExecution.hpp"
#include "backend/opencl/core/OpenCLR... | 25.891892 | 115 | 0.744259 | foreverlms |
db8f5dba0549f94dca4b9c9841bccc4f465c9d19 | 569 | hpp | C++ | concepts/is_lvalue_reference.hpp | SamuelAlonsoDev/lux | 268a9fabddb60a06e226d8bad27a5d5d7a29dcb2 | [
"MIT"
] | 2 | 2020-11-05T07:39:05.000Z | 2021-01-07T18:29:56.000Z | concepts/is_lvalue_reference.hpp | SamuelAlonsoDev/lux | 268a9fabddb60a06e226d8bad27a5d5d7a29dcb2 | [
"MIT"
] | null | null | null | concepts/is_lvalue_reference.hpp | SamuelAlonsoDev/lux | 268a9fabddb60a06e226d8bad27a5d5d7a29dcb2 | [
"MIT"
] | null | null | null | #pragma once
namespace lux
{
namespace concepts
{
template<class T> class is_lvalue_reference_class
{
public:
constexpr static bool value = false;
};
template<class T> class is_lvalue_reference_class<T&>
{
public:
constexpr static... | 24.73913 | 92 | 0.616872 | SamuelAlonsoDev |
db97ec8245f1f34cd415fc6a0832bf385d873a5c | 1,448 | cpp | C++ | code/libImmExporter/src/document/layerModel3d.cpp | andybak/IMM | c725dcb28a1638dea726381a7189c3b031967d58 | [
"Apache-2.0",
"MIT"
] | 33 | 2021-09-16T18:37:08.000Z | 2022-03-22T23:02:44.000Z | code/libImmExporter/src/document/layerModel3d.cpp | andybak/IMM | c725dcb28a1638dea726381a7189c3b031967d58 | [
"Apache-2.0",
"MIT"
] | 5 | 2021-09-17T10:10:07.000Z | 2022-03-28T12:33:29.000Z | code/libImmExporter/src/document/layerModel3d.cpp | andybak/IMM | c725dcb28a1638dea726381a7189c3b031967d58 | [
"Apache-2.0",
"MIT"
] | 5 | 2021-09-19T07:49:01.000Z | 2021-12-12T21:25:35.000Z | #include "libImmCore/src/libBasics/piFile.h"
#include "layerModel3d.h"
using namespace ImmCore;
namespace ImmExporter
{
LayerModel::LayerModel() {}
LayerModel::~LayerModel() {}
bool LayerModel::Init(uint32_t version)
{
//mMesh.Init();
mVersion = version;
mRenderWireFrame =... | 18.564103 | 74 | 0.620856 | andybak |
db9bb243976612cdc0e7a3b4228d540e6a47366f | 5,211 | cpp | C++ | instdrv/instdrvDlg.cpp | berkut126/Drivers | a615e874a222d89020818edca5693907cc9b3b20 | [
"BSD-2-Clause"
] | 9 | 2020-12-27T16:55:47.000Z | 2020-12-28T17:11:12.000Z | instdrv/instdrvDlg.cpp | berkut126/Drivers | a615e874a222d89020818edca5693907cc9b3b20 | [
"BSD-2-Clause"
] | 1 | 2020-11-01T15:59:48.000Z | 2020-11-01T15:59:48.000Z | instdrv/instdrvDlg.cpp | berkut126/Drivers | a615e874a222d89020818edca5693907cc9b3b20 | [
"BSD-2-Clause"
] | 1 | 2021-06-01T23:20:17.000Z | 2021-06-01T23:20:17.000Z | /*
* This is a personal academic project. Dear PVS-Studio, please check it.
* PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com
*/
// instdrvDlg.cpp : implementation file
//
// ReSharper disable CppMemberFunctionMayBeConst
// ReSharper disable CppMemberFunctionMayBeStatic
#include "pch.h... | 21.622407 | 86 | 0.734984 | berkut126 |
db9bf2fcd966d603e4983b8dbef78ad528e73407 | 18,840 | cpp | C++ | DKPlugins/DKVncServer/DKVncServer.cpp | aquawicket/DigitalKnob | 9e5997a1f0314ede80cf66a9bf28dc6373cb5987 | [
"MIT"
] | 29 | 2015-05-03T06:23:22.000Z | 2022-02-10T15:16:26.000Z | DKPlugins/DKVncServer/DKVncServer.cpp | aquawicket/DigitalKnob | 9e5997a1f0314ede80cf66a9bf28dc6373cb5987 | [
"MIT"
] | 125 | 2016-02-28T06:13:49.000Z | 2022-01-04T11:50:08.000Z | DKPlugins/DKVncServer/DKVncServer.cpp | aquawicket/DigitalKnob | 9e5997a1f0314ede80cf66a9bf28dc6373cb5987 | [
"MIT"
] | 8 | 2016-12-04T02:29:34.000Z | 2022-01-04T01:11:25.000Z | #include "DK/stdafx.h"
#include "DK/DKFile.h"
#include "DKVncServer.h"
#ifdef WIN32
#define sleep Sleep
#include <WS2tcpip.h>
#endif
#ifdef LINUX
#include <unistd.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
Display* DKVncServer::disp;
Window DKVncServer::root;
XImage* DKVncServer::image;
#endif
#ifdef MAC
CGImag... | 31.140496 | 127 | 0.592144 | aquawicket |
db9c4f2fce4a0a1d924eba6503e048de6a913d5e | 275 | cpp | C++ | code/NodeOperationOR.cpp | Zer0-R/DoubleAntiAnalysis | 39658230b18b2cb8c116230466a5d0a17eb5f5a2 | [
"Apache-2.0"
] | 1 | 2020-02-19T18:11:28.000Z | 2020-02-19T18:11:28.000Z | code/NodeOperationOR.cpp | Zer0-R/DoubleAntiAnalysis | 39658230b18b2cb8c116230466a5d0a17eb5f5a2 | [
"Apache-2.0"
] | null | null | null | code/NodeOperationOR.cpp | Zer0-R/DoubleAntiAnalysis | 39658230b18b2cb8c116230466a5d0a17eb5f5a2 | [
"Apache-2.0"
] | null | null | null | #include "pch.h"
#include "NodeOperationOR.h"
NodeOperationOR::NodeOperationOR(Node *nodeLeft, Node *nodeRight) : NodeOperation(nodeLeft, nodeRight) {}
const bool NodeOperationOR::isActivate() const {
return getNodeLeft()->isActivate() || getNodeRight()->isActivate();
} | 27.5 | 105 | 0.752727 | Zer0-R |
db9ca9b7134ea0698595fde98c0b937fb7387a85 | 5,167 | cpp | C++ | examples/pppbayestree/gpstk/DCBDataReader.cpp | shaolinbit/minisam_lib | e2e904d1b6753976de1dee102f0b53e778c0f880 | [
"BSD-3-Clause"
] | 104 | 2019-06-23T14:45:20.000Z | 2022-03-20T12:45:29.000Z | examples/pppbayestree/gpstk/DCBDataReader.cpp | shaolinbit/minisam_lib | e2e904d1b6753976de1dee102f0b53e778c0f880 | [
"BSD-3-Clause"
] | 2 | 2019-06-28T08:23:23.000Z | 2019-07-17T02:37:08.000Z | examples/pppbayestree/gpstk/DCBDataReader.cpp | shaolinbit/minisam_lib | e2e904d1b6753976de1dee102f0b53e778c0f880 | [
"BSD-3-Clause"
] | 28 | 2019-06-23T14:45:19.000Z | 2022-03-20T12:45:24.000Z | #pragma ident "$Id$"
/**
* @file DCBDataReader.cpp
* Class to read DCB data from CODE.
*/
//============================================================================
//
// This file is part of GPSTk, the GPS Toolkit.
//
// The GPSTk is free software; you can redistribute it and/or modify
// it under the term... | 23.81106 | 78 | 0.539772 | shaolinbit |
dba021780d4f3c05f2edff1364a3c99ff1d0ffab | 2,808 | cpp | C++ | dali/internal/vector-animation/common/vector-animation-renderer-impl.cpp | dalihub/dali-adaptor | b7943ae5aeb7ddd069be7496a1c1cee186b740c5 | [
"Apache-2.0",
"BSD-3-Clause"
] | 6 | 2016-11-18T10:26:46.000Z | 2021-11-01T12:29:05.000Z | dali/internal/vector-animation/common/vector-animation-renderer-impl.cpp | dalihub/dali-adaptor | b7943ae5aeb7ddd069be7496a1c1cee186b740c5 | [
"Apache-2.0",
"BSD-3-Clause"
] | 5 | 2020-07-15T11:30:49.000Z | 2020-12-11T19:13:46.000Z | dali/internal/vector-animation/common/vector-animation-renderer-impl.cpp | dalihub/dali-adaptor | b7943ae5aeb7ddd069be7496a1c1cee186b740c5 | [
"Apache-2.0",
"BSD-3-Clause"
] | 7 | 2019-05-17T07:14:40.000Z | 2021-05-24T07:25:26.000Z | /*
* Copyright (c) 2021 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 22.645161 | 118 | 0.773504 | dalihub |
dba8924e50bc9971114867553c0afe8d0663484b | 131 | cpp | C++ | test/llvm_test_code/TaintConfig/AttrConfig/data_member_01.cpp | janniclas/phasar | 324302ae96795e6f0a065c14d4f7756b1addc2a4 | [
"MIT"
] | 581 | 2018-06-10T10:37:55.000Z | 2022-03-30T14:56:53.000Z | test/llvm_test_code/TaintConfig/AttrConfig/data_member_01.cpp | meret-boe/phasar | 2b394d5611b107e4fd3d8eec37f26abca8ef1e9a | [
"MIT"
] | 172 | 2018-06-13T12:33:26.000Z | 2022-03-26T07:21:41.000Z | test/llvm_test_code/TaintConfig/AttrConfig/data_member_01.cpp | meret-boe/phasar | 2b394d5611b107e4fd3d8eec37f26abca8ef1e9a | [
"MIT"
] | 137 | 2018-06-10T10:31:14.000Z | 2022-03-06T11:53:56.000Z |
struct X {
[[clang::annotate("psr.source")]] int A = 13;
int B = 0;
};
int main() {
X V;
V.B = 42;
return V.A + V.B;
}
| 10.916667 | 47 | 0.480916 | janniclas |
dbae64c24dd3ae2d9b9678e4bb49d12d92462813 | 8,107 | hpp | C++ | include/HighLevel.hpp | arqueffe/cmapf-solver | 30f38f72ae278bdc6ca5cc6efc8cd53dbf13f119 | [
"MIT"
] | null | null | null | include/HighLevel.hpp | arqueffe/cmapf-solver | 30f38f72ae278bdc6ca5cc6efc8cd53dbf13f119 | [
"MIT"
] | 1 | 2021-07-29T15:13:42.000Z | 2021-07-29T15:13:42.000Z | include/HighLevel.hpp | arqueffe/cmapf-solver | 30f38f72ae278bdc6ca5cc6efc8cd53dbf13f119 | [
"MIT"
] | null | null | null | /* Copyright (c) 2021 Arthur Queffelec
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, ... | 36.518018 | 116 | 0.648082 | arqueffe |
dbb8d64755dfb1e0b507cc6257c92bc170bdec80 | 3,334 | cc | C++ | src/mmutil_velocity.cc | causalpathlab/mmutilR | 292a70f89336c7563b2fa9f1f62e59d219739e24 | [
"MIT"
] | 1 | 2021-07-23T07:49:10.000Z | 2021-07-23T07:49:10.000Z | src/mmutil_velocity.cc | YPARK/mmutilR | ede9948fe9a0124b9f417d010b7a376dff64ebb9 | [
"MIT"
] | 2 | 2022-01-18T22:07:44.000Z | 2022-03-10T16:58:34.000Z | src/mmutil_velocity.cc | YPARK/mmutilR | ede9948fe9a0124b9f417d010b7a376dff64ebb9 | [
"MIT"
] | null | null | null | #include "mmutil_velocity.hh"
namespace mmutil { namespace velocity {
////////////////////////////////////////
// implementation for the data loader //
////////////////////////////////////////
int
data_loader_t::read(const Index j)
{
using namespace mmutil::bgzf;
target_col = j;
spliced_reader.data.set... | 24.880597 | 79 | 0.568386 | causalpathlab |
dbbaf6a7efe85bd61fdaa9c52303344ed15fb96e | 19,753 | cpp | C++ | maya/AbcExport/MayaMeshWriter.cpp | nebkor/ardent-embic | 4eab1c4f089438bd26636f4be3be3efa83bc8338 | [
"MIT"
] | null | null | null | maya/AbcExport/MayaMeshWriter.cpp | nebkor/ardent-embic | 4eab1c4f089438bd26636f4be3be3efa83bc8338 | [
"MIT"
] | null | null | null | maya/AbcExport/MayaMeshWriter.cpp | nebkor/ardent-embic | 4eab1c4f089438bd26636f4be3be3efa83bc8338 | [
"MIT"
] | null | null | null | //-*****************************************************************************
//
// Copyright (c) 2009-2011,
// Sony Pictures Imageworks Inc. and
// Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with ... | 30.67236 | 80 | 0.58948 | nebkor |
dbbbbb8ff47810387129230e328d98f847ad6952 | 13,461 | cpp | C++ | src/qt/qtbase/src/corelib/itemmodels/qabstractproxymodel.cpp | power-electro/phantomjs-Gohstdriver-DIY-openshift | a571d301a9658a4c1b524d07e15658b45f8a0579 | [
"BSD-3-Clause"
] | null | null | null | src/qt/qtbase/src/corelib/itemmodels/qabstractproxymodel.cpp | power-electro/phantomjs-Gohstdriver-DIY-openshift | a571d301a9658a4c1b524d07e15658b45f8a0579 | [
"BSD-3-Clause"
] | null | null | null | src/qt/qtbase/src/corelib/itemmodels/qabstractproxymodel.cpp | power-electro/phantomjs-Gohstdriver-DIY-openshift | a571d301a9658a4c1b524d07e15658b45f8a0579 | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid commerc... | 28.640426 | 127 | 0.703291 | power-electro |
dbc127aa4ee961c4b5bb64757f7f25e592450c90 | 145 | hpp | C++ | Block1/BMI/BMI.hpp | andreadelprete/latex-cpp-exercises-simple | 6e436b268e503d298e5ee642ed92095b5f6473c4 | [
"Unlicense"
] | null | null | null | Block1/BMI/BMI.hpp | andreadelprete/latex-cpp-exercises-simple | 6e436b268e503d298e5ee642ed92095b5f6473c4 | [
"Unlicense"
] | null | null | null | Block1/BMI/BMI.hpp | andreadelprete/latex-cpp-exercises-simple | 6e436b268e503d298e5ee642ed92095b5f6473c4 | [
"Unlicense"
] | 1 | 2021-09-02T07:02:52.000Z | 2021-09-02T07:02:52.000Z | #ifndef BMI_H
#define BMI_H
float personPrompt(int personID);
float computeBMI(float height, float weight);
float classBMI(float BMI);
#endif | 14.5 | 45 | 0.77931 | andreadelprete |
3a78aab07f9e22a6e2e8a72a09d2a8f61c165068 | 633 | hpp | C++ | oxui/objects/dropdown.hpp | amizu03/oxui | 2ffcd7259eff8b783a70c56ca5f348e784fb5a87 | [
"MIT"
] | null | null | null | oxui/objects/dropdown.hpp | amizu03/oxui | 2ffcd7259eff8b783a70c56ca5f348e784fb5a87 | [
"MIT"
] | null | null | null | oxui/objects/dropdown.hpp | amizu03/oxui | 2ffcd7259eff8b783a70c56ca5f348e784fb5a87 | [
"MIT"
] | null | null | null | #ifndef OXUI_DROPDOWN_HPP
#define OXUI_DROPDOWN_HPP
#include <memory>
#include <vector>
#include <functional>
#include "object.hpp"
#include "../types/types.hpp"
namespace oxui {
class dropdown : public obj {
int hovered_index;
public:
str label;
std::vector< str > items;
int value;
bool opened;
dropd... | 17.583333 | 65 | 0.658768 | amizu03 |
3a7adc6e7e542cbb7977b1ef7fdd1c40235ca62a | 1,073 | cpp | C++ | source/PyMaterialX/PyMaterialXRender/PyExceptionShaderValidationError.cpp | tgvarik/MaterialX | 0f0c1f9934bfa3b2d54516672c0b26ef93f9f94e | [
"BSD-3-Clause"
] | 8 | 2019-05-18T10:56:25.000Z | 2022-03-08T21:00:24.000Z | source/PyMaterialX/PyMaterialXRender/PyExceptionShaderValidationError.cpp | tgvarik/MaterialX | 0f0c1f9934bfa3b2d54516672c0b26ef93f9f94e | [
"BSD-3-Clause"
] | null | null | null | source/PyMaterialX/PyMaterialXRender/PyExceptionShaderValidationError.cpp | tgvarik/MaterialX | 0f0c1f9934bfa3b2d54516672c0b26ef93f9f94e | [
"BSD-3-Clause"
] | 1 | 2020-02-24T02:16:19.000Z | 2020-02-24T02:16:19.000Z | //
// TM & (c) 2019 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd.
// All rights reserved. See LICENSE.txt for license.
//
#include <PyMaterialX/PyMaterialX.h>
#include <MaterialXRender/ExceptionShaderValidationError.h>
namespace py = pybind11;
namespace mx = MaterialX;
void bindPyExceptionShaderValidatio... | 29 | 133 | 0.588071 | tgvarik |
3a8163305259a3672d2bd6cad67486d664b5ce37 | 96 | cpp | C++ | problem_solving/UVA/12478/16891780_AC_0ms_0kB.cpp | cosmicray001/academic | 6aa142baeba4bb1ad73b8669e37305ca0b5102a7 | [
"MIT"
] | 2 | 2020-09-02T12:07:47.000Z | 2020-11-17T11:17:16.000Z | problem_solving/UVA/12478/16891780_AC_0ms_0kB.cpp | cosmicray001/academic | 6aa142baeba4bb1ad73b8669e37305ca0b5102a7 | [
"MIT"
] | null | null | null | problem_solving/UVA/12478/16891780_AC_0ms_0kB.cpp | cosmicray001/academic | 6aa142baeba4bb1ad73b8669e37305ca0b5102a7 | [
"MIT"
] | 4 | 2020-08-11T14:23:34.000Z | 2020-11-17T10:52:31.000Z | #include <bits/stdc++.h>
using namespace std;
int main(){
printf("KABIR\n");
return 0;
} | 16 | 24 | 0.614583 | cosmicray001 |
3a854ddda39a02b99c0fb9648640b041445a57da | 525 | hpp | C++ | src/Graphics/PathDrawable.hpp | scemino/engge | 3362ad56b67f58bdc89f7eb1a77f0f75bd350e1f | [
"MIT"
] | 127 | 2018-12-09T18:40:02.000Z | 2022-03-06T00:10:07.000Z | src/Graphics/PathDrawable.hpp | scemino/engge | 3362ad56b67f58bdc89f7eb1a77f0f75bd350e1f | [
"MIT"
] | 267 | 2019-02-26T22:16:48.000Z | 2022-02-09T09:49:22.000Z | src/Graphics/PathDrawable.hpp | scemino/engge | 3362ad56b67f58bdc89f7eb1a77f0f75bd350e1f | [
"MIT"
] | 17 | 2019-02-26T20:45:34.000Z | 2021-06-17T15:06:26.000Z | #pragma once
#include <vector>
#include <memory>
#include <glm/vec2.hpp>
#include <ngf/Graphics/Drawable.h>
#include <ngf/Graphics/RenderTarget.h>
#include <ngf/Graphics/RenderStates.h>
namespace ng {
class PathDrawable final : public ngf::Drawable {
public:
explicit PathDrawable(std::vector<glm::vec2> path);
[[n... | 25 | 80 | 0.731429 | scemino |
3a85dfa7cbb610f785b2c268ed01962063c6f013 | 963 | cpp | C++ | Medusa/Medusa/Node/Template/SpriteTemplate.cpp | tony2u/Medusa | d4ac8181a693bc796681880e09aac3fdba9aaaaf | [
"MIT"
] | 143 | 2015-11-18T01:06:03.000Z | 2022-03-30T03:08:54.000Z | Medusa/Medusa/Node/Template/SpriteTemplate.cpp | tony2u/Medusa | d4ac8181a693bc796681880e09aac3fdba9aaaaf | [
"MIT"
] | 1 | 2019-10-23T13:00:40.000Z | 2019-10-23T13:00:40.000Z | Medusa/Medusa/Node/Template/SpriteTemplate.cpp | tony2u/Medusa | d4ac8181a693bc796681880e09aac3fdba9aaaaf | [
"MIT"
] | 45 | 2015-11-18T01:17:59.000Z | 2022-03-05T12:29:45.000Z | // Copyright (c) 2015 fjz13. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
#include "MedusaPreCompiled.h"
#include "SpriteTemplate.h"
#include "Node/INode.h"
#include "Node/NodeFactory.h"
#include "Node/Sprite/Sprite.h"
#include "Rendering/R... | 22.395349 | 128 | 0.731049 | tony2u |
3a86c1a74c400621281bbe708eb6dce5071108a1 | 5,275 | cpp | C++ | src/cpp-ethereum/aleth-bootnode/main.cpp | nccproject/ncc | 068ccc82a73d28136546095261ad8ccef7e541a3 | [
"MIT"
] | 6 | 2021-08-02T21:35:10.000Z | 2022-01-18T05:41:49.000Z | src/cpp-ethereum/aleth-bootnode/main.cpp | estxcoin/estcore | 4398b1d944373fe25668469966fa2660da454279 | [
"MIT"
] | null | null | null | src/cpp-ethereum/aleth-bootnode/main.cpp | estxcoin/estcore | 4398b1d944373fe25668469966fa2660da454279 | [
"MIT"
] | 4 | 2021-08-14T13:12:43.000Z | 2021-11-26T21:19:35.000Z | /*
This file is part of aleth.
aleth 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.
aleth is distributed in the ho... | 33.814103 | 99 | 0.652891 | nccproject |
3a8878aa8d8d23e201beb54acf86149bbc5fed5d | 4,879 | cpp | C++ | fractalCartoon/fractalCartoon.cpp | eighteight/CinderEigh | d9dfc6a0ad9a9e6c5b82624971127f0335d91639 | [
"Apache-2.0"
] | null | null | null | fractalCartoon/fractalCartoon.cpp | eighteight/CinderEigh | d9dfc6a0ad9a9e6c5b82624971127f0335d91639 | [
"Apache-2.0"
] | null | null | null | fractalCartoon/fractalCartoon.cpp | eighteight/CinderEigh | d9dfc6a0ad9a9e6c5b82624971127f0335d91639 | [
"Apache-2.0"
] | null | null | null | #include "cinder/app/AppBasic.h"
#include "cinder/ImageIo.h"
#include "cinder/gl/Texture.h"
#include "cinder/gl/GlslProg.h"
#include "cinder/audio/Input.h"
#include "cinder/audio/FftProcessor.h"
#include "Resources.h"
using namespace ci;
using namespace ci::app;
class circuitShaderApp : public AppBasic {
public:
... | 25.411458 | 132 | 0.632917 | eighteight |
3a8c260852997736ad7e299581101a3e05af4834 | 194 | cpp | C++ | senha.cpp | guilherme9718/monitoria-rapida | 20ea8f2e1afbc498de5deb3b3972fd6b523fbab1 | [
"Apache-2.0"
] | 1 | 2021-09-03T04:08:22.000Z | 2021-09-03T04:08:22.000Z | senha.cpp | vitorrutfpr/monitoria-rapida | 20ea8f2e1afbc498de5deb3b3972fd6b523fbab1 | [
"Apache-2.0"
] | null | null | null | senha.cpp | vitorrutfpr/monitoria-rapida | 20ea8f2e1afbc498de5deb3b3972fd6b523fbab1 | [
"Apache-2.0"
] | 3 | 2021-07-06T17:19:08.000Z | 2021-09-01T19:45:59.000Z | #include "senha.h"
#include "ui_senha.h"
Senha::Senha(QWidget *parent) :
QDialog(parent),
ui(new Ui::Senha)
{
ui->setupUi(this);
}
Senha::~Senha()
{
delete ui;
}
| 12.933333 | 32 | 0.556701 | guilherme9718 |
3a8df78a401be31ff80d913bad76971fe4125f91 | 2,963 | cpp | C++ | lzma/lzma920/CPP/7zip/Compress/PpmdEncoder.cpp | LiveMirror/uncompression | 2cdef0ed9c6281b2c0542a9d17441dd0f551ed4d | [
"Apache-2.0"
] | 3 | 2019-06-10T18:04:14.000Z | 2020-12-05T18:11:40.000Z | lzma/lzma920/CPP/7zip/Compress/PpmdEncoder.cpp | LiveMirror/uncompression | 2cdef0ed9c6281b2c0542a9d17441dd0f551ed4d | [
"Apache-2.0"
] | null | null | null | lzma/lzma920/CPP/7zip/Compress/PpmdEncoder.cpp | LiveMirror/uncompression | 2cdef0ed9c6281b2c0542a9d17441dd0f551ed4d | [
"Apache-2.0"
] | 2 | 2020-09-24T19:04:14.000Z | 2020-12-05T18:11:43.000Z | // PpmdEncoder.cpp
// 2009-03-11 : Igor Pavlov : Public domain
#include "StdAfx.h"
#include "../../../C/Alloc.h"
#include "../../../C/CpuArch.h"
#include "../Common/StreamUtils.h"
#include "PpmdEncoder.h"
namespace NCompress {
namespace NPpmd {
static const UInt32 kBufSize = (1 << 20);
static vo... | 24.691667 | 108 | 0.611542 | LiveMirror |
3a9378c2d71e659701d679829c5225f441a5d81a | 560 | cpp | C++ | app/midso_main.cpp | wataro/midso | 8190ac06b2cf391d69c3db49f32147831ba39f5d | [
"MIT"
] | null | null | null | app/midso_main.cpp | wataro/midso | 8190ac06b2cf391d69c3db49f32147831ba39f5d | [
"MIT"
] | null | null | null | app/midso_main.cpp | wataro/midso | 8190ac06b2cf391d69c3db49f32147831ba39f5d | [
"MIT"
] | null | null | null | /**
Copyright (c) 2015 <wataro>
This software is released under the MIT License.
http://opensource.org/licenses/mit-license.php
*/
#include "easylogging/easylogging++.h"
#include "midso/midso.h"
INITIALIZE_EASYLOGGINGPP
using namespace midso;
int main(const int argc, const char ** argv)
{
LOG(I... | 20.740741 | 52 | 0.664286 | wataro |
3a93cc4384489efaa405300689d9ac876b8b4dc7 | 2,622 | cpp | C++ | src/server/game/Battlegrounds/Zones/BattlegroundRB.cpp | forgottenlands/ForgottenCore406 | 5dbbef6b3b0b17c277fde85e40ec9fdab0b51ad1 | [
"OpenSSL"
] | null | null | null | src/server/game/Battlegrounds/Zones/BattlegroundRB.cpp | forgottenlands/ForgottenCore406 | 5dbbef6b3b0b17c277fde85e40ec9fdab0b51ad1 | [
"OpenSSL"
] | null | null | null | src/server/game/Battlegrounds/Zones/BattlegroundRB.cpp | forgottenlands/ForgottenCore406 | 5dbbef6b3b0b17c277fde85e40ec9fdab0b51ad1 | [
"OpenSSL"
] | null | null | null | /*
* Copyright (C) 2005 - 2012 MaNGOS <http://www.getmangos.com/>
*
* Copyright (C) 2008 - 2012 Trinity <http://www.trinitycore.org/>
*
* Copyright (C) 2010 - 2012 ProjectSkyfire <http://www.projectskyfire.org/>
*
* Copyright (C) 2011 - 2012 ArkCORE <http://www.arkania.net/>
*
* This program is free software; ... | 30.847059 | 98 | 0.725782 | forgottenlands |
3a948e90f7374038645bb8632497c1360b6c45d1 | 1,517 | cpp | C++ | Dynamic Programming/TravellingSaleman.cpp | gaurav147-star/DSA-learning | 52625953e2b1421fdd550004df893b970aac9308 | [
"MIT"
] | 1 | 2022-02-15T12:53:00.000Z | 2022-02-15T12:53:00.000Z | Dynamic Programming/TravellingSaleman.cpp | gaurav147-star/DSA-learning | 52625953e2b1421fdd550004df893b970aac9308 | [
"MIT"
] | null | null | null | Dynamic Programming/TravellingSaleman.cpp | gaurav147-star/DSA-learning | 52625953e2b1421fdd550004df893b970aac9308 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int arr[20][20], completed[20], n, cost = 0;
void takeInput()
{
int i, j;
cout << "Enter the number of city: ";
cin >> n;
cout << "\nEnter the Cost Matrix\n";
for (i = 0; i < n; i++)
{
cout << "\nEnter Elements of Row: " << i + 1 << "\n";
... | 20.5 | 77 | 0.42584 | gaurav147-star |
3a9538fa9c81c1a38941ab9f05f410511bbb2320 | 9,294 | hpp | C++ | tmath.hpp | uekstrom/libtaylor | 88709f03efda5b81ff460ccef67d4fd0e7d050cc | [
"MIT"
] | 4 | 2015-10-20T13:16:35.000Z | 2019-02-14T12:46:10.000Z | tmath.hpp | uekstrom/libtaylor | 88709f03efda5b81ff460ccef67d4fd0e7d050cc | [
"MIT"
] | 7 | 2017-02-07T16:13:14.000Z | 2018-12-12T13:49:40.000Z | tmath.hpp | uekstrom/libtaylor | 88709f03efda5b81ff460ccef67d4fd0e7d050cc | [
"MIT"
] | 3 | 2016-11-02T18:12:41.000Z | 2019-06-21T08:01:03.000Z | /*
Copyright (c) 2009-2017 Ulf Ekstrom <uekstrom@gmail.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 to use,
copy, modify, merge... | 27.993976 | 79 | 0.48343 | uekstrom |
3a99ede677208ae57389ce80b9f26d084512adc0 | 18,131 | cpp | C++ | srcAmiga/modeler/MUIutility.cpp | privatosan/RayStorm | 17e27259a8a1d6b2fcfa16886c6e4cdd81be8cfa | [
"MIT"
] | 2 | 2016-04-03T23:57:54.000Z | 2019-12-05T17:50:37.000Z | srcAmiga/modeler/MUIutility.cpp | privatosan/RayStorm | 17e27259a8a1d6b2fcfa16886c6e4cdd81be8cfa | [
"MIT"
] | null | null | null | srcAmiga/modeler/MUIutility.cpp | privatosan/RayStorm | 17e27259a8a1d6b2fcfa16886c6e4cdd81be8cfa | [
"MIT"
] | 2 | 2015-06-20T19:22:47.000Z | 2021-11-15T15:22:14.000Z | /***************
* PROGRAM: Modeler
* NAME: MUIutility.cpp
* DESCRIPTION: MUI utility functions
* AUTHORS: Andreas Heumann
* HISTORY:
* DATE NAME COMMENT
* 10.12.95 ah initial release
* 31.01.97 ah added rectangle icon
* 21.02.97 ah added edit points icon
* ... | 26.12536 | 83 | 0.696376 | privatosan |
3a9cd0887fb90d3989d0fc032dd48bffbf1f663f | 856 | hpp | C++ | lumino/Graphics/src/RHIs/RHIBitmap.hpp | GameDevery/Lumino | abce2ddca4b7678b04dbfd0ae5348e196c3c9379 | [
"MIT"
] | 113 | 2020-03-05T01:27:59.000Z | 2022-03-28T13:20:51.000Z | lumino/Graphics/src/RHIs/RHIBitmap.hpp | GameDevery/Lumino | abce2ddca4b7678b04dbfd0ae5348e196c3c9379 | [
"MIT"
] | 35 | 2016-04-18T06:14:08.000Z | 2020-02-09T15:51:58.000Z | lumino/Graphics/src/RHIs/RHIBitmap.hpp | GameDevery/Lumino | abce2ddca4b7678b04dbfd0ae5348e196c3c9379 | [
"MIT"
] | 12 | 2020-12-21T12:03:59.000Z | 2021-12-15T02:07:49.000Z | #pragma once
#include "GraphicsDeviceContext.hpp"
namespace ln {
namespace detail {
class RHIBitmap
: public RHIRefObject
{
public:
RHIBitmap();
bool init(int32_t elementSize, int32_t width, int32_t height);
void initWrap(const void* data, int32_t elementSize, int32_t width, int32_t height);
void initWritableWr... | 23.777778 | 87 | 0.75 | GameDevery |
3a9e127cc82b99089cb38f35fa460947a5c55b2e | 834 | hpp | C++ | worker/include/DepOpenSSL.hpp | kicyao/mediasoup | ca8e2d5b57aa2b0d1e5812bb28782d858cd669c6 | [
"0BSD"
] | null | null | null | worker/include/DepOpenSSL.hpp | kicyao/mediasoup | ca8e2d5b57aa2b0d1e5812bb28782d858cd669c6 | [
"0BSD"
] | null | null | null | worker/include/DepOpenSSL.hpp | kicyao/mediasoup | ca8e2d5b57aa2b0d1e5812bb28782d858cd669c6 | [
"0BSD"
] | null | null | null | #ifndef MS_DEP_OPENSSL_HPP
#define MS_DEP_OPENSSL_HPP
#include "common.hpp"
#include <openssl/ssl.h>
#include <openssl/crypto.h>
#include <uv.h>
/* OpenSSL doc: struct CRYPTO_dynlock_value has to be defined by the application. */
struct CRYPTO_dynlock_value
{
uv_mutex_t mutex;
};
class DepOpenSSL
{
public:
static ... | 24.529412 | 92 | 0.775779 | kicyao |
3aa674fa2920d55cf37bc0e0513412c4e31bea42 | 8,701 | cpp | C++ | src/ui/graphics/sprite.cpp | Aalexdev/seasfarer-s-war | 6d4ea641f7dd914c7ce74d70fcae8810af6ea00a | [
"MIT"
] | 4 | 2020-10-30T09:03:35.000Z | 2021-07-20T12:35:51.000Z | src/ui/graphics/sprite.cpp | Aalexdev/seasfarer-s-war | 6d4ea641f7dd914c7ce74d70fcae8810af6ea00a | [
"MIT"
] | null | null | null | src/ui/graphics/sprite.cpp | Aalexdev/seasfarer-s-war | 6d4ea641f7dd914c7ce74d70fcae8810af6ea00a | [
"MIT"
] | null | null | null | #include "ui/graphics/sprite.hpp"
#include "main.hpp"
Sprite_type::Sprite_type(){
if (IS_LOG_OPEN) LOG << "Sprite_type::Sprite_type()" << endl;
this->sprite = nullptr;
this->isLoaded = false;
this->children.clear();
}
Sprite_type::~Sprite_type(){
if (IS_LOG_OPEN) LOG << "Sprite_type::~Sprite_type... | 28.527869 | 149 | 0.55212 | Aalexdev |
3aa84bdbed3b5b3f3d141c758437a52c5de63394 | 5,984 | hpp | C++ | include/FakeInput/actions/actionsequence.hpp | perara-libs/FakeInput | 13d7b260634c33ced95d9e3b37780705e4036ab5 | [
"MIT"
] | 40 | 2016-11-18T06:14:47.000Z | 2022-03-16T14:36:21.000Z | include/FakeInput/actions/actionsequence.hpp | perara-libs/FakeInput | 13d7b260634c33ced95d9e3b37780705e4036ab5 | [
"MIT"
] | null | null | null | include/FakeInput/actions/actionsequence.hpp | perara-libs/FakeInput | 13d7b260634c33ced95d9e3b37780705e4036ab5 | [
"MIT"
] | 9 | 2017-01-23T01:49:41.000Z | 2020-11-05T13:09:56.000Z | /**
* This file is part of the FakeInput library (https://github.com/uiii/FakeInput)
*
* Copyright (C) 2011 by Richard Jedlicka <uiii.dev@gmail.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
* ... | 29.623762 | 81 | 0.571691 | perara-libs |
3aa9735699e5c7de887bf547b80ffe52c842bf21 | 2,651 | hpp | C++ | libraries/include/Engine/ShaderProgram.hpp | kermado/Total-Resistance | debaf40ba3be6590a70c9922e1d1a5e075f4ede3 | [
"MIT"
] | 3 | 2015-04-25T22:57:58.000Z | 2019-11-05T18:36:31.000Z | libraries/include/Engine/ShaderProgram.hpp | kermado/Total-Resistance | debaf40ba3be6590a70c9922e1d1a5e075f4ede3 | [
"MIT"
] | 1 | 2016-06-23T15:22:41.000Z | 2016-06-23T15:22:41.000Z | libraries/include/Engine/ShaderProgram.hpp | kermado/Total-Resistance | debaf40ba3be6590a70c9922e1d1a5e075f4ede3 | [
"MIT"
] | null | null | null | #ifndef SHADERPROGRAM_H
#define SHADERPROGRAM_H
#include <unordered_map>
#include <glm/glm.hpp>
#include <Engine/NonCopyable.hpp>
#include <Engine/Shader.hpp>
namespace Engine
{
class ShaderProgram : private NonCopyable
{
public:
/**
* Constructor.
*/
ShaderProgram();
/**
* Destructor.
*/
vi... | 22.277311 | 75 | 0.665032 | kermado |
3aac6bd160c43e86a209ffa0e5ababdda92f8f95 | 3,072 | cpp | C++ | src/2dpoly_to_3d/point.cpp | matyalatte/2dPolyTo3d | be5ed4e871bd65c704ff12664f44e1aae5c89b24 | [
"MIT"
] | null | null | null | src/2dpoly_to_3d/point.cpp | matyalatte/2dPolyTo3d | be5ed4e871bd65c704ff12664f44e1aae5c89b24 | [
"MIT"
] | null | null | null | src/2dpoly_to_3d/point.cpp | matyalatte/2dPolyTo3d | be5ed4e871bd65c704ff12664f44e1aae5c89b24 | [
"MIT"
] | null | null | null | /*
* File: point.cpp
* --------------------
* Author: Matyalatte
* Last updated: 2021/09/25
*/
#include "point.hpp"
#include <cmath>
namespace graph {
point::point(double px, double py, double pz, size_t id) {
x = px;
y = py;
z = pz;
index = id;
}
void point::setXYZ(double px, double py, double pz) {... | 24.774194 | 111 | 0.546875 | matyalatte |
3aaf0d003642251317385621d891ec4da60cea55 | 7,647 | hpp | C++ | opt/nomad/src/Type/StepType.hpp | scikit-quant/scikit-quant | 397ab0b6287f3815e9bcadbfadbe200edbee5a23 | [
"BSD-3-Clause-LBNL"
] | 31 | 2019-02-05T16:39:18.000Z | 2022-03-11T23:14:11.000Z | opt/nomad/src/Type/StepType.hpp | scikit-quant/scikit-quant | 397ab0b6287f3815e9bcadbfadbe200edbee5a23 | [
"BSD-3-Clause-LBNL"
] | 20 | 2020-04-13T09:22:53.000Z | 2021-08-16T16:14:13.000Z | opt/nomad/src/Type/StepType.hpp | scikit-quant/scikit-quant | 397ab0b6287f3815e9bcadbfadbe200edbee5a23 | [
"BSD-3-Clause-LBNL"
] | 6 | 2020-04-21T17:43:47.000Z | 2021-03-10T04:12:34.000Z | /*---------------------------------------------------------------------------------*/
/* NOMAD - Nonlinear Optimization by Mesh Adaptive Direct Search - */
/* */
/* NOMAD - Version 4 has been created by ... | 54.234043 | 86 | 0.490911 | scikit-quant |
3aaf166a74a825a8ecf6151016548aceb26344b0 | 1,272 | cpp | C++ | ConsoleApplication1/Warrior.cpp | ghostinthecamera/FightClub | 034a8e5ff260f84396b55a9533f214d5ed6d9d67 | [
"BSD-2-Clause"
] | null | null | null | ConsoleApplication1/Warrior.cpp | ghostinthecamera/FightClub | 034a8e5ff260f84396b55a9533f214d5ed6d9d67 | [
"BSD-2-Clause"
] | null | null | null | ConsoleApplication1/Warrior.cpp | ghostinthecamera/FightClub | 034a8e5ff260f84396b55a9533f214d5ed6d9d67 | [
"BSD-2-Clause"
] | null | null | null |
#include <iostream>
#include <sstream>
#include "Warrior.h"
using namespace std;
int Warrior::numberofWarriors = 0; //initialise this one
Warrior::Warrior() {
this->name = "Default";
this->attack = 0;
this->defense = 0;
this->health = 0;
}
void Warrior::setWarriorAttributes(string name, double attack, double d... | 23.127273 | 142 | 0.669811 | ghostinthecamera |
3aaf272de0543c9b87cec1e34c5364d2d37163b2 | 3,594 | cpp | C++ | lz5.cpp | CaptainDreamcast/prism | a6b0f5c3e86d7b37d14c9139862775e7768998ce | [
"MIT"
] | 7 | 2018-04-08T15:01:59.000Z | 2022-02-27T12:13:19.000Z | lz5.cpp | CaptainDreamcast/prism | a6b0f5c3e86d7b37d14c9139862775e7768998ce | [
"MIT"
] | 1 | 2017-04-23T15:27:37.000Z | 2017-04-24T05:38:18.000Z | lz5.cpp | CaptainDreamcast/libtari | a6b0f5c3e86d7b37d14c9139862775e7768998ce | [
"MIT"
] | 1 | 2020-04-24T04:21:00.000Z | 2020-04-24T04:21:00.000Z | // blatantly "borrowed" from https://github.com/bmarquismarkail/SFFv2
#include "prism/lz5.h"
static void naivememcpy(uint8_t* dst, uint32_t *dstpos, uint32_t ofs, uint32_t len)
{
int run;
for (run = len; run > 0; run--)
{
dst[*dstpos] = dst[((*dstpos) - ofs)];
(*dstpos)++;
}
}
static void copyLZ(uint8_t* ds... | 27.227273 | 141 | 0.661937 | CaptainDreamcast |
3ab305223fa3e3136616b244c1f80292cb2039ec | 12,851 | cpp | C++ | code/src/Graphics/Vulkan/Shaders/Renderpass.cpp | Arzana/Plutonium | 5a17c93e5072ac291b96347a4df196e1609fabe2 | [
"MIT"
] | 4 | 2019-03-21T16:02:03.000Z | 2020-04-09T08:53:29.000Z | code/src/Graphics/Vulkan/Shaders/Renderpass.cpp | Arzana/Plutonium | 5a17c93e5072ac291b96347a4df196e1609fabe2 | [
"MIT"
] | 24 | 2018-04-06T08:25:17.000Z | 2020-10-19T11:01:09.000Z | code/src/Graphics/Vulkan/Shaders/Renderpass.cpp | Arzana/Plutonium | 5a17c93e5072ac291b96347a4df196e1609fabe2 | [
"MIT"
] | null | null | null | #include "Graphics/Vulkan/Shaders/Renderpass.h"
#include "Core/Threading/Tasks/Scheduler.h"
#ifdef _DEBUG
#include <set>
#endif
Pu::Renderpass::Renderpass(LogicalDevice & device)
: Asset(true), device(&device), hndl(nullptr), ownsShaders(false), usesDependency(false),
PreCreate("RenderpassPreCreate"), PostCreate("R... | 32.20802 | 160 | 0.721422 | Arzana |
3ab7fae4cbce84c5541e79e4d1174bd49b62ccc5 | 8,108 | cpp | C++ | examples/ReinforcedLearning/ReinforcedLearning.cpp | OuluLinux/ConvNetCpp | 48854357b49b35d6599fb8ae42be01f4ba1903a6 | [
"MIT"
] | 7 | 2017-05-04T17:20:10.000Z | 2019-10-02T13:08:33.000Z | examples/ReinforcedLearning/ReinforcedLearning.cpp | sppp/ConvNetC- | 48854357b49b35d6599fb8ae42be01f4ba1903a6 | [
"MIT"
] | null | null | null | examples/ReinforcedLearning/ReinforcedLearning.cpp | sppp/ConvNetC- | 48854357b49b35d6599fb8ae42be01f4ba1903a6 | [
"MIT"
] | 3 | 2017-04-13T06:29:23.000Z | 2018-01-09T07:44:09.000Z | #include "ReinforcedLearning.h"
#include "pretrained.brc"
#include <plugin/bz2/bz2.h>
#define IMAGECLASS ReinforcedLearningImg
#define IMAGEFILE <ReinforcedLearning/ReinforcedLearning.iml>
#include <Draw/iml_source.h>
GUI_APP_MAIN {
ReinforcedLearning().Run();
}
ReinforcedLearning::ReinforcedLearning() {
Title("... | 24.644377 | 107 | 0.670079 | OuluLinux |
3ab98b530f501893e51486e969313a8e4b6b179e | 2,701 | cpp | C++ | src/Jogo/Entidades/Inimigo.cpp | MatheusKunnen/Jogo-TecProg | 66f4320e51e42d12da74e487cc8552377ce865bb | [
"MIT"
] | null | null | null | src/Jogo/Entidades/Inimigo.cpp | MatheusKunnen/Jogo-TecProg | 66f4320e51e42d12da74e487cc8552377ce865bb | [
"MIT"
] | null | null | null | src/Jogo/Entidades/Inimigo.cpp | MatheusKunnen/Jogo-TecProg | 66f4320e51e42d12da74e487cc8552377ce865bb | [
"MIT"
] | null | null | null | //
// Inimigo.cpp
// Jogo-SFML
//
// Created by Matheus Kunnen Ledesma on 10/5/19.
// Copyright © 2019 Matheus Kunnen Ledesma. All rights reserved.
//
#include "Inimigo.hpp"
namespace Game { namespace Entidades { namespace Personagens {
Inimigo::Inimigo(ID id,const Vector2f& position, Texture* texture, Jogador* ... | 26.223301 | 139 | 0.679748 | MatheusKunnen |
3ab9a061f1d7d55c9560463fcfc204466ab4f4aa | 11,843 | cpp | C++ | tools/ifaceed/ifaceed/scripting/layouts/scriptablegrid.cpp | mamontov-cpp/saddy-graphics-engine-2d | e25a6637fcc49cb26614bf03b70e5d03a3a436c7 | [
"BSD-2-Clause"
] | 58 | 2015-08-09T14:56:35.000Z | 2022-01-15T22:06:58.000Z | tools/ifaceed/ifaceed/scripting/layouts/scriptablegrid.cpp | mamontov-cpp/saddy-graphics-engine-2d | e25a6637fcc49cb26614bf03b70e5d03a3a436c7 | [
"BSD-2-Clause"
] | 245 | 2015-08-08T08:44:22.000Z | 2022-01-04T09:18:08.000Z | tools/ifaceed/ifaceed/scripting/layouts/scriptablegrid.cpp | mamontov-cpp/saddy-graphics-engine-2d | e25a6637fcc49cb26614bf03b70e5d03a3a436c7 | [
"BSD-2-Clause"
] | 23 | 2015-12-06T03:57:49.000Z | 2020-10-12T14:15:50.000Z | #include "scriptablegrid.h"
#include "scriptablegridcell.h"
#include <renderer.h>
#include <layouts/grid.h>
#include <db/dbdatabase.h>
#include "../queryobject.h"
#include "../scripting.h"
#include "../core/editor.h"
#include "../gui/actions/actions.h"
#include "../gui/actions/gridactions.h"
#include "../../qst... | 25.801743 | 147 | 0.607279 | mamontov-cpp |
3ab9dd37fcf98644e9252fe4afc566db17d8f2c2 | 4,793 | hpp | C++ | Versionen/2021_06_15/rmf_ws/install/rmf_traffic_msgs/include/rmf_traffic_msgs/msg/detail/profile__struct.hpp | flitzmo-hso/flitzmo_agv_control_system | 99e8006920c03afbd93e4c7d38b4efff514c7069 | [
"MIT"
] | null | null | null | Versionen/2021_06_15/rmf_ws/install/rmf_traffic_msgs/include/rmf_traffic_msgs/msg/detail/profile__struct.hpp | flitzmo-hso/flitzmo_agv_control_system | 99e8006920c03afbd93e4c7d38b4efff514c7069 | [
"MIT"
] | null | null | null | Versionen/2021_06_15/rmf_ws/install/rmf_traffic_msgs/include/rmf_traffic_msgs/msg/detail/profile__struct.hpp | flitzmo-hso/flitzmo_agv_control_system | 99e8006920c03afbd93e4c7d38b4efff514c7069 | [
"MIT"
] | 2 | 2021-06-21T07:32:09.000Z | 2021-08-17T03:05:38.000Z | // generated from rosidl_generator_cpp/resource/idl__struct.hpp.em
// with input from rmf_traffic_msgs:msg/Profile.idl
// generated code does not contain a copyright notice
#ifndef RMF_TRAFFIC_MSGS__MSG__DETAIL__PROFILE__STRUCT_HPP_
#define RMF_TRAFFIC_MSGS__MSG__DETAIL__PROFILE__STRUCT_HPP_
#include <rosidl_runtime_... | 30.144654 | 152 | 0.759441 | flitzmo-hso |
3abaafa609bb981897b7a5b2a81dc3985f1b5850 | 825 | cpp | C++ | AtUnitTest/AutCharInfo.cpp | denisbider/Atomic | 8e8e979a6ef24d217a77f17fa81a4129f3506952 | [
"MIT"
] | 4 | 2019-11-10T21:56:40.000Z | 2021-12-11T20:10:55.000Z | AtUnitTest/AutCharInfo.cpp | denisbider/Atomic | 8e8e979a6ef24d217a77f17fa81a4129f3506952 | [
"MIT"
] | null | null | null | AtUnitTest/AutCharInfo.cpp | denisbider/Atomic | 8e8e979a6ef24d217a77f17fa81a4129f3506952 | [
"MIT"
] | 1 | 2019-11-11T08:38:59.000Z | 2019-11-11T08:38:59.000Z | #include "AutIncludes.h"
#include "AutMain.h"
void ShowCharInfo(uint c)
{
Unicode::CharInfo ci = Unicode::CharInfo::Get(c);
Str line;
line.UInt(c).Add(" U+").UInt(c, 16, 4).Ch(' ')
.Add(Unicode::Category::ValueToName(ci.m_cat)).Add(" (")
.Add(Unicode::Category::ValueToCode(ci.m_cat)).Add(") width ")
... | 21.153846 | 91 | 0.591515 | denisbider |
3abdcf8b153be82f05584765f2ff0fa17718c2a0 | 4,980 | tpp | C++ | code/source/ui/game/editor/editorcomponent_ui.tpp | crafn/clover | 586acdbcdb34c3550858af125e9bb4a6300343fe | [
"MIT"
] | 12 | 2015-01-12T00:19:20.000Z | 2021-08-05T10:47:20.000Z | code/source/ui/game/editor/editorcomponent_ui.tpp | crafn/clover | 586acdbcdb34c3550858af125e9bb4a6300343fe | [
"MIT"
] | null | null | null | code/source/ui/game/editor/editorcomponent_ui.tpp | crafn/clover | 586acdbcdb34c3550858af125e9bb4a6300343fe | [
"MIT"
] | null | null | null | template<typename T>
EditorComponentUi<T>::EditorComponentUi(T& comp):
radius(EditorComponentUiTraits<ComponentType>::defaultRadius()),
component(&comp),
bgPanel(util::Coord::VF(0), radius),
panelLayout(gui::LinearLayoutElement::Vertical, util::Coord::VF(0), util::Coord::VF(0)),
titleLabel(EditorComponentTraits<Co... | 29.820359 | 140 | 0.733735 | crafn |
3ac3b232ff4e245f2efdc52d14f788ee4da7a34c | 16,160 | cpp | C++ | src/scsi2sd-util6/TerminalWx/src/GTerm/actions.cpp | gcasa/SCSI2SD-V6 | 9f169472d2e1c2aee3e2a0f970dd96778953ffb8 | [
"BSD-3-Clause"
] | 2 | 2020-11-29T01:28:03.000Z | 2021-11-07T18:23:11.000Z | src/scsi2sd-util6/TerminalWx/src/GTerm/actions.cpp | tweakoz/SCSI2SD-V6 | 77db5f86712213e25c9b12fa5c9fa9c54b80cb80 | [
"BSD-3-Clause"
] | null | null | null | src/scsi2sd-util6/TerminalWx/src/GTerm/actions.cpp | tweakoz/SCSI2SD-V6 | 77db5f86712213e25c9b12fa5c9fa9c54b80cb80 | [
"BSD-3-Clause"
] | null | null | null | /*
TerminalWx - A wxWidgets terminal widget
Copyright (C) 1999 Timothy Miller
2004 Mark Erikson
2012-2013 Jeremy Salwen
License: wxWindows License Version 3.1 (See the file license3.txt)
*/
#include "gterm.hpp"
// For efficiency, this grabs all printing characters from buffer, up to
//... | 21.319261 | 161 | 0.607983 | gcasa |
3ac7adc8a462e8499a6649ab5f851f6c35367c10 | 3,459 | cpp | C++ | test/unit_tests/MessageSerializerTest.cpp | aleks-f/kademlia | aed2841d6c5dae672047381a584b9057db515ca4 | [
"BSL-1.0"
] | 1 | 2021-03-17T05:43:12.000Z | 2021-03-17T05:43:12.000Z | test/unit_tests/MessageSerializerTest.cpp | aleks-f/kademlia | aed2841d6c5dae672047381a584b9057db515ca4 | [
"BSL-1.0"
] | 27 | 2021-03-23T10:49:35.000Z | 2021-12-21T08:57:44.000Z | test/unit_tests/MessageSerializerTest.cpp | aleks-f/kademlia | aed2841d6c5dae672047381a584b9057db515ca4 | [
"BSL-1.0"
] | 2 | 2021-06-22T14:55:36.000Z | 2021-06-24T21:20:55.000Z | // Copyright (c) 2013-2014, David Keller
// All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of c... | 32.027778 | 80 | 0.706563 | aleks-f |
3ac7fff21e137e38ff3770b0cde6ab02ffd0445c | 261 | cpp | C++ | firurs_operator/firurs_operator/firurs_operator.cpp | InkaShev7777/figurs_operator | ccd87b8f0b9720cdbf1d6fae918a1ef2b65942d8 | [
"Apache-2.0"
] | null | null | null | firurs_operator/firurs_operator/firurs_operator.cpp | InkaShev7777/figurs_operator | ccd87b8f0b9720cdbf1d6fae918a1ef2b65942d8 | [
"Apache-2.0"
] | null | null | null | firurs_operator/firurs_operator/firurs_operator.cpp | InkaShev7777/figurs_operator | ccd87b8f0b9720cdbf1d6fae918a1ef2b65942d8 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include "Krug.h"
int main()
{
Krug krug;
Kvadrat kv;
std::cout << krug;
std::cout << "\nVvedite: ";
std::cin >> krug;
std::cout << krug;
std::cout << "\n";
std::cout << kv;
std::cin >> kv;
std::cout << "\n";
std::cout << kv;
}
| 13.736842 | 28 | 0.536398 | InkaShev7777 |
3acafbe85fbc50e3a9968232f95789208d977ded | 4,881 | cpp | C++ | src/Magnum/Math/Test/TypeTraitsTest.cpp | wivlaro/magnum | c9fb3bae3390bddc397b6cec1c5d74b17129ef22 | [
"MIT"
] | null | null | null | src/Magnum/Math/Test/TypeTraitsTest.cpp | wivlaro/magnum | c9fb3bae3390bddc397b6cec1c5d74b17129ef22 | [
"MIT"
] | null | null | null | src/Magnum/Math/Test/TypeTraitsTest.cpp | wivlaro/magnum | c9fb3bae3390bddc397b6cec1c5d74b17129ef22 | [
"MIT"
] | null | null | null | /*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015
Vladimír Vondruš <mosra@centrum.cz>
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 Softwar... | 35.115108 | 88 | 0.709896 | wivlaro |
3acd46ea3521c61fe4d866738b24af3ac655a7a2 | 2,164 | cpp | C++ | AtCoder/Grand/24/F.cpp | sshockwave/Online-Judge-Solutions | 9d0bc7fd68c3d1f661622929c1cb3752601881d3 | [
"MIT"
] | 6 | 2019-09-30T16:11:00.000Z | 2021-11-01T11:42:33.000Z | AtCoder/Grand/24/F.cpp | sshockwave/Online-Judge-Solutions | 9d0bc7fd68c3d1f661622929c1cb3752601881d3 | [
"MIT"
] | 4 | 2017-11-21T08:17:42.000Z | 2020-07-28T12:09:52.000Z | AtCoder/Grand/24/F.cpp | sshockwave/Online-Judge-Solutions | 9d0bc7fd68c3d1f661622929c1cb3752601881d3 | [
"MIT"
] | 4 | 2017-07-26T05:54:06.000Z | 2020-09-30T13:35:38.000Z | #include <iostream>
#include <cstdio>
#include <cstring>
#include <cassert>
#include <cctype>
using namespace std;
typedef long long lint;
#define cout cerr
#define ni (next_num<int>())
template<class T>inline T next_num(){
T i=0;char c;
while(!isdigit(c=getchar())&&c!='-');
bool neg=c=='-';
neg?c=getchar():0;
whi... | 21.425743 | 79 | 0.598429 | sshockwave |
3acf5defcdea7949350f9bbc406559b90806cb28 | 4,926 | cpp | C++ | server/Orthanc-1.7.2/OrthancServer/Sources/QueryRetrieveHandler.cpp | nilaysaha/medimaging | 476c87f103a5ff0b4ddc5c6abfe6034c9c981a47 | [
"Apache-2.0"
] | 1 | 2020-11-05T08:34:23.000Z | 2020-11-05T08:34:23.000Z | server/Orthanc-1.7.2/OrthancServer/Sources/QueryRetrieveHandler.cpp | nilaysaha/medimaging | 476c87f103a5ff0b4ddc5c6abfe6034c9c981a47 | [
"Apache-2.0"
] | null | null | null | server/Orthanc-1.7.2/OrthancServer/Sources/QueryRetrieveHandler.cpp | nilaysaha/medimaging | 476c87f103a5ff0b4ddc5c6abfe6034c9c981a47 | [
"Apache-2.0"
] | 1 | 2020-11-12T09:00:30.000Z | 2020-11-12T09:00:30.000Z | /**
* Orthanc - A Lightweight, RESTful DICOM Store
* Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics
* Department, University Hospital of Liege, Belgium
* Copyright (C) 2017-2020 Osimis S.A., Belgium
*
* This program is free software: you can redistribute it and/or
* modify it under the terms of the G... | 28.473988 | 89 | 0.686561 | nilaysaha |
3ad012b71fc793e9ed98eb04812f4fcfe6102ee8 | 1,717 | hpp | C++ | products/BellHybrid/apps/include/Application.hpp | GravisZro/MuditaOS | 4230da15e69350c3ef9e742ec587e5f70154fabd | [
"BSL-1.0"
] | null | null | null | products/BellHybrid/apps/include/Application.hpp | GravisZro/MuditaOS | 4230da15e69350c3ef9e742ec587e5f70154fabd | [
"BSL-1.0"
] | null | null | null | products/BellHybrid/apps/include/Application.hpp | GravisZro/MuditaOS | 4230da15e69350c3ef9e742ec587e5f70154fabd | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#pragma once
#include <ApplicationCommon.hpp>
namespace app
{
class Application : public ApplicationCommon
{
public:
using ApplicationCommon::ApplicationCommon;... | 39.022727 | 96 | 0.619103 | GravisZro |
3ad257386342a5b08e45b901673d5fb572f1e2eb | 2,817 | inl | C++ | include/glm/gtc/color_space.inl | hamoid/glslViewer | 0d9ef4dd5eb9e53fb19a21a2da8fb543e64d6230 | [
"BSD-3-Clause"
] | 1 | 2019-11-21T20:56:29.000Z | 2019-11-21T20:56:29.000Z | include/glm/gtc/color_space.inl | hamoid/glslViewer | 0d9ef4dd5eb9e53fb19a21a2da8fb543e64d6230 | [
"BSD-3-Clause"
] | null | null | null | include/glm/gtc/color_space.inl | hamoid/glslViewer | 0d9ef4dd5eb9e53fb19a21a2da8fb543e64d6230 | [
"BSD-3-Clause"
] | null | null | null | /// @ref gtc_color_space
/// @file glm/gtc/color_space.inl
namespace glm{
namespace detail
{
template <typename T, precision P, template <typename, precision> class vecType>
struct compute_rgbToSrgb
{
GLM_FUNC_QUALIFIER static vecType<T, P> call(vecType<T, P> const& ColorRGB, T GammaCorrection)
{
vecType<T, ... | 37.065789 | 120 | 0.724885 | hamoid |
3ad8bc8a1d712c95f5709fa7c8f496d6484402fd | 496 | cpp | C++ | mp/src/game/client/c_covenbuilding.cpp | rendenba/source-sdk-2013 | 4a0314391b01a2450788e0d4ee0926a05f3af8b0 | [
"Unlicense"
] | null | null | null | mp/src/game/client/c_covenbuilding.cpp | rendenba/source-sdk-2013 | 4a0314391b01a2450788e0d4ee0926a05f3af8b0 | [
"Unlicense"
] | null | null | null | mp/src/game/client/c_covenbuilding.cpp | rendenba/source-sdk-2013 | 4a0314391b01a2450788e0d4ee0926a05f3af8b0 | [
"Unlicense"
] | null | null | null | #include "cbase.h"
#include "c_covenbuilding.h"
#undef CCovenBuilding
LINK_ENTITY_TO_CLASS(coven_building, C_CovenBuilding);
IMPLEMENT_CLIENTCLASS_DT(C_CovenBuilding, DT_CovenBuilding, CCovenBuilding)
RecvPropInt(RECVINFO(m_BuildingType)),
RecvPropInt(RECVINFO(m_iHealth)),
RecvPropInt(RECVINFO(m_iMaxHealth)),
R... | 23.619048 | 75 | 0.816532 | rendenba |
3ad93c6ef74c384cc10c021dc1f4604f9ccee29c | 3,894 | cc | C++ | test/src/unit-cppapi-map.cc | ppetraki/TileDB | 16f2423ade38b1b1084e9206462477f1623cd5ae | [
"MIT"
] | null | null | null | test/src/unit-cppapi-map.cc | ppetraki/TileDB | 16f2423ade38b1b1084e9206462477f1623cd5ae | [
"MIT"
] | null | null | null | test/src/unit-cppapi-map.cc | ppetraki/TileDB | 16f2423ade38b1b1084e9206462477f1623cd5ae | [
"MIT"
] | null | null | null | /**
* @file unit-cppapi-map.cc
*
* @section LICENSE
*
* The MIT License
*
* @copyright Copyright (c) 2017 TileDB Inc.
*
* 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 re... | 28.423358 | 80 | 0.642784 | ppetraki |
3ad98f815e1b52c12f25752956a77f8f0d938095 | 6,047 | cpp | C++ | Userland/DevTools/Profiler/SourceModel.cpp | xspager/serenity | 39b7fbfeb9e469b4089f5424dc61aa074023bb5a | [
"BSD-2-Clause"
] | 2 | 2022-02-08T09:18:50.000Z | 2022-02-21T17:57:23.000Z | Userland/DevTools/Profiler/SourceModel.cpp | xspager/serenity | 39b7fbfeb9e469b4089f5424dc61aa074023bb5a | [
"BSD-2-Clause"
] | null | null | null | Userland/DevTools/Profiler/SourceModel.cpp | xspager/serenity | 39b7fbfeb9e469b4089f5424dc61aa074023bb5a | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2021, Stephan Unverwerth <s.unverwerth@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include "SourceModel.h"
#include "Gradient.h"
#include "Profile.h"
#include <LibCore/File.h>
#include <LibDebug/DebugInfo.h>
#include <LibGfx/FontDatabase.h>
#include <LibSymbolication/Symbolicat... | 29.788177 | 171 | 0.616835 | xspager |
3adbba8de456623a6569a7134e05428084b1af56 | 5,636 | hpp | C++ | source/context.hpp | Oleh-Kravchenko/binder-aio | 46e283e25e1a956f44fd83eadf5b3377885d9c87 | [
"MIT"
] | null | null | null | source/context.hpp | Oleh-Kravchenko/binder-aio | 46e283e25e1a956f44fd83eadf5b3377885d9c87 | [
"MIT"
] | null | null | null | source/context.hpp | Oleh-Kravchenko/binder-aio | 46e283e25e1a956f44fd83eadf5b3377885d9c87 | [
"MIT"
] | 2 | 2019-02-01T17:22:34.000Z | 2020-03-23T10:45:03.000Z | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// Copyright (c) 2016 Sergey Lyskov <sergey.lyskov@jhu.edu>
//
// All rights reserved. Use of this source code is governed by a
// MIT license that can be found in the LICENSE file.
/// @file b... | 30.139037 | 147 | 0.745564 | Oleh-Kravchenko |
3adc7da39237ab68d55d9d13ff5cf32f329946ec | 2,781 | cpp | C++ | movo_common/movo_third_party/simple_grasping/src/grasp_planner_node.cpp | aaronsnoswell/kinova-movo | 380c7827a9cec12cc0f4f0cc19ce0b88775c6c51 | [
"BSD-3-Clause"
] | 37 | 2017-12-13T16:14:32.000Z | 2022-02-19T03:12:52.000Z | movo_common/movo_third_party/simple_grasping/src/grasp_planner_node.cpp | aaronsnoswell/kinova-movo | 380c7827a9cec12cc0f4f0cc19ce0b88775c6c51 | [
"BSD-3-Clause"
] | 71 | 2018-01-17T20:17:03.000Z | 2022-03-23T19:48:45.000Z | movo_common/movo_third_party/simple_grasping/src/grasp_planner_node.cpp | aaronsnoswell/kinova-movo | 380c7827a9cec12cc0f4f0cc19ce0b88775c6c51 | [
"BSD-3-Clause"
] | 32 | 2018-01-08T03:21:18.000Z | 2022-02-19T03:12:47.000Z | /*
* Copyright 2015, Fetch Robotics Inc.
* 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 ... | 37.581081 | 89 | 0.730672 | aaronsnoswell |
3ae07d2568523d9ffa673b8ad8ab3e7f7321b56a | 5,505 | cc | C++ | zircon/tools/kazoo/cdecl_output.cc | sysidos/fuchsia | 0c00fd3c78a9c0111af4689f1e038b3926c4dc9b | [
"BSD-3-Clause"
] | null | null | null | zircon/tools/kazoo/cdecl_output.cc | sysidos/fuchsia | 0c00fd3c78a9c0111af4689f1e038b3926c4dc9b | [
"BSD-3-Clause"
] | null | null | null | zircon/tools/kazoo/cdecl_output.cc | sysidos/fuchsia | 0c00fd3c78a9c0111af4689f1e038b3926c4dc9b | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2020 The Fuchsia 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 <algorithm>
#include <optional>
#include <string_view>
#include <utility>
#include "tools/kazoo/output_util.h"
#include "tools/kazoo/outputs.h"
... | 25.252294 | 86 | 0.627611 | sysidos |
3ae243eac1c270d3e00e4d8c65d6eabc85bafcbc | 1,805 | cpp | C++ | Bullet OAC/Material.cpp | Schweigert/shaders | ae3fbcb48d22fdfb0eb00d3f4451e99f97891c81 | [
"MIT"
] | null | null | null | Bullet OAC/Material.cpp | Schweigert/shaders | ae3fbcb48d22fdfb0eb00d3f4451e99f97891c81 | [
"MIT"
] | null | null | null | Bullet OAC/Material.cpp | Schweigert/shaders | ae3fbcb48d22fdfb0eb00d3f4451e99f97891c81 | [
"MIT"
] | null | null | null | /************************************************************************/
/* File: Material.cpp */
/* Autor: Gustavo Diel */
/* License: WTFLP */
/*******************... | 23.141026 | 91 | 0.593906 | Schweigert |
3ae27d0c24d259da8601cb958c1c1e76d549c219 | 1,057 | cpp | C++ | Source/GameService/GameFlow/GsGameFlowGame.cpp | BaekTaehyun/T1Project | d7d98c7cfc88e57513631124c32dfee8794307db | [
"MIT"
] | 3 | 2019-06-25T05:09:47.000Z | 2020-09-30T18:06:17.000Z | Source/GameService/GameFlow/GsGameFlowGame.cpp | BaekTaehyun/T1Project | d7d98c7cfc88e57513631124c32dfee8794307db | [
"MIT"
] | null | null | null | Source/GameService/GameFlow/GsGameFlowGame.cpp | BaekTaehyun/T1Project | d7d98c7cfc88e57513631124c32dfee8794307db | [
"MIT"
] | 2 | 2018-10-15T08:09:16.000Z | 2020-04-07T05:25:52.000Z | #include "GsGameFlowGame.h"
#include "GameService.h"
#include "./Stage/StageGame/GsStageManagerGame.h"
FGsGameFlowGame::FGsGameFlowGame() : FGsGameFlowBase(FGsGameFlow::Mode::GAME)
{
}
FGsGameFlowGame::~FGsGameFlowGame()
{
GSLOG(Warning, TEXT("FGsGameFlowGame : ~FGsGameFlowGame"));
}
void FGsGameFlowGame::Init()
{
... | 19.943396 | 77 | 0.738884 | BaekTaehyun |
3aea94a88acbb6cc87d5cadb6963a225f09951fb | 5,105 | hpp | C++ | PlayRho/Common/Position.hpp | shybovycha/PlayRho | eb4319022d324ebd6ada458b3410b00d00daac2c | [
"Zlib"
] | null | null | null | PlayRho/Common/Position.hpp | shybovycha/PlayRho | eb4319022d324ebd6ada458b3410b00d00daac2c | [
"Zlib"
] | null | null | null | PlayRho/Common/Position.hpp | shybovycha/PlayRho | eb4319022d324ebd6ada458b3410b00d00daac2c | [
"Zlib"
] | null | null | null | /*
* Original work Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
* Modified work Copyright (c) 2017 Louis Langholtz https://github.com/louis-langholtz/PlayRho
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* a... | 31.90625 | 94 | 0.701077 | shybovycha |
3aef98d451de32eb721d8d70369cca0251478a29 | 208 | cpp | C++ | documentation/tutorial/examples/process/path-of-executable/path-of-executable.cpp | progrock-libraries/kickstart | d62c22efc92006dd76d455cf8f9d4f2a045e9126 | [
"MIT"
] | 2 | 2021-09-21T18:34:27.000Z | 2022-02-13T02:50:57.000Z | documentation/tutorial/examples/process/path-of-executable/path-of-executable.cpp | progrock-libraries/kickstart | d62c22efc92006dd76d455cf8f9d4f2a045e9126 | [
"MIT"
] | null | null | null | documentation/tutorial/examples/process/path-of-executable/path-of-executable.cpp | progrock-libraries/kickstart | d62c22efc92006dd76d455cf8f9d4f2a045e9126 | [
"MIT"
] | null | null | null | #include <kickstart/all.hpp>
using namespace kickstart::all;
void cppmain()
{
out << fsx::path_of_executable().to_string() << endl;
}
auto main() -> int { return with_exceptions_displayed( cppmain ); }
| 20.8 | 67 | 0.697115 | progrock-libraries |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.