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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a387a264e79616c35dbfa747ad0e39b38a0993f5 | 4,865 | hpp | C++ | src/cybozu/exception.hpp | VictorLux/ZiCEofficial | d451d5455e2c6e6ee66a41ed5594f31a2ab6ea8a | [
"MIT"
] | 37 | 2018-09-12T10:45:50.000Z | 2022-02-17T13:45:05.000Z | src/cybozu/exception.hpp | VictorLux/ZiCEofficial | d451d5455e2c6e6ee66a41ed5594f31a2ab6ea8a | [
"MIT"
] | 12 | 2019-01-22T18:13:21.000Z | 2021-06-11T04:48:58.000Z | src/cybozu/exception.hpp | VictorLux/ZiCEofficial | d451d5455e2c6e6ee66a41ed5594f31a2ab6ea8a | [
"MIT"
] | 18 | 2018-12-05T23:59:56.000Z | 2021-02-12T03:51:38.000Z | #pragma once
/**
@file
@brief definition of abstruct exception class
Copyright (C) 2008 Cybozu Labs, Inc., all rights reserved.
*/
#ifdef CYBOZU_MINIMUM_EXCEPTION
#include <cybozu/inttype.hpp>
namespace cybozu {
namespace exception {
inline const char *makeString(const char *, size_t)
{
return "";
}
} // cybozu... | 19.229249 | 79 | 0.668037 | VictorLux |
a388759c540387d52f75e5dc0db4204d146dd324 | 2,787 | cpp | C++ | Code/C++/spiral_traversal_of_binary_tree.cpp | parthmshah1302/Algo-Tree | 451e3d3fde2b841f77bed0dfaa9b83e5d9a7d3dc | [
"MIT"
] | 356 | 2021-01-24T11:34:15.000Z | 2022-03-16T08:39:02.000Z | Code/C++/spiral_traversal_of_binary_tree.cpp | parthmshah1302/Algo-Tree | 451e3d3fde2b841f77bed0dfaa9b83e5d9a7d3dc | [
"MIT"
] | 1,778 | 2021-01-24T10:52:44.000Z | 2022-01-30T12:34:05.000Z | Code/C++/spiral_traversal_of_binary_tree.cpp | parthmshah1302/Algo-Tree | 451e3d3fde2b841f77bed0dfaa9b83e5d9a7d3dc | [
"MIT"
] | 782 | 2021-01-24T10:54:10.000Z | 2022-03-23T10:16:04.000Z | /*
We need to traverse the binary tree in spiral order. First row will be traversed from right to left,second from left to right and so on.
nullptr is pushed into the queue after every level. If we reach nullptr we will print the entire vector(arr) in reverse if flag==0 and forward if flag==1.
After printing we will m... | 19.765957 | 154 | 0.484751 | parthmshah1302 |
a38fb1989636f320a22041443739aaad3f471688 | 1,997 | cpp | C++ | csapex_point_cloud/src/operations/transform_cloud.cpp | AdrianZw/csapex_core_plugins | 1b23c90af7e552c3fc37c7dda589d751d2aae97f | [
"BSD-3-Clause"
] | 2 | 2016-09-02T15:33:22.000Z | 2019-05-06T22:09:33.000Z | csapex_point_cloud/src/operations/transform_cloud.cpp | AdrianZw/csapex_core_plugins | 1b23c90af7e552c3fc37c7dda589d751d2aae97f | [
"BSD-3-Clause"
] | 1 | 2021-02-14T19:53:30.000Z | 2021-02-14T19:53:30.000Z | csapex_point_cloud/src/operations/transform_cloud.cpp | AdrianZw/csapex_core_plugins | 1b23c90af7e552c3fc37c7dda589d751d2aae97f | [
"BSD-3-Clause"
] | 6 | 2016-10-12T00:55:23.000Z | 2021-02-10T17:49:25.000Z | /// HEADER
#include "transform_cloud.h"
/// PROJECT
#include <csapex/model/node_modifier.h>
#include <csapex/msg/io.h>
#include <csapex/utility/register_apex_plugin.h>
#include <csapex_transform/transform_message.h>
/// SYSTEM
#include <boost/mpl/for_each.hpp>
CSAPEX_REGISTER_CLASS(csapex::TransformCloud, csapex::No... | 26.626667 | 95 | 0.692539 | AdrianZw |
a393063d141179b8d4050bd15219dfbaefb4d89f | 35,280 | cpp | C++ | ClassicShellSrc/ClassicShellSetup/ClassicShellUtility/SaveLogFile.cpp | coddec/Classic-Shell | e3f6602abbca4b7d7c147171c5c280f1740270d0 | [
"MIT"
] | 664 | 2017-12-04T15:01:44.000Z | 2022-03-27T13:07:37.000Z | ClassicShellSrc/ClassicShellSetup/ClassicShellUtility/SaveLogFile.cpp | Open343/Classic-Shell | e3f6602abbca4b7d7c147171c5c280f1740270d0 | [
"MIT"
] | 36 | 2017-12-05T02:40:34.000Z | 2022-02-09T23:53:16.000Z | ClassicShellSrc/ClassicShellSetup/ClassicShellUtility/SaveLogFile.cpp | Open343/Classic-Shell | e3f6602abbca4b7d7c147171c5c280f1740270d0 | [
"MIT"
] | 217 | 2017-12-04T14:01:07.000Z | 2022-03-26T10:25:39.000Z | // Classic Shell (c) 2009-2016, Ivo Beltchev
// Confidential information of Ivo Beltchev. Not for disclosure or distribution without prior written consent from the author
#define STRICT_TYPED_ITEMIDS
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
#include <windows.h>
#include ... | 31.898734 | 178 | 0.695918 | coddec |
a39556d3002180300ee4c5fe758dcd44c08256f3 | 2,317 | cpp | C++ | src/instructions.cpp | axessta/sdfd102 | d006c9634e8ab13366a4db938b27ac3cc827bc1a | [
"Apache-2.0"
] | null | null | null | src/instructions.cpp | axessta/sdfd102 | d006c9634e8ab13366a4db938b27ac3cc827bc1a | [
"Apache-2.0"
] | null | null | null | src/instructions.cpp | axessta/sdfd102 | d006c9634e8ab13366a4db938b27ac3cc827bc1a | [
"Apache-2.0"
] | null | null | null | // instructions.cpp -- Jake Deery 2016
#include "instructions.h"
int instructions() { // Commence main process
clrscr(); // Clear the screen to begin
std::cout << "Build number: 2017,8,14,1";
textcolor(13); // Set the colour of the lines
hline(1, 1, 78); // Top hline
vline(78, 2, 26); // Right vline
... | 38.616667 | 92 | 0.634009 | axessta |
a3955ec5766d19a3d0d79094d46a502ecc8b4c7b | 607 | hpp | C++ | framework/include/geometry_node.hpp | EmilReinert/CGLab_Reinert117577 | 02aeca0e46e33212230aabcfb68e5764600ccc99 | [
"MIT"
] | null | null | null | framework/include/geometry_node.hpp | EmilReinert/CGLab_Reinert117577 | 02aeca0e46e33212230aabcfb68e5764600ccc99 | [
"MIT"
] | null | null | null | framework/include/geometry_node.hpp | EmilReinert/CGLab_Reinert117577 | 02aeca0e46e33212230aabcfb68e5764600ccc99 | [
"MIT"
] | null | null | null | #ifndef GEOMETRY_NODE_HPP
#define GEOMETRY_NODE_HPP
#include "node.hpp"
#include <map>
#include <vector>
#include <glbinding/gl/gl.h>
// use gl definitions from glbinding
using namespace gl;
#include <GLFW/glfw3.h>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/matrix_inverse.hpp>
#include <glm/gtc/type... | 17.852941 | 39 | 0.747941 | EmilReinert |
a396385a31615d3e7f526cd05e9cde4c747c7a36 | 43,044 | cpp | C++ | extras/AudioPluginHost/Backup/Source/UI/GraphEditorPanel.cpp | studiobee/JUCE6-Svalbard-Fork | 2bcd2101811f6a3a803a7f68d3bac2d0d53f4146 | [
"ISC"
] | null | null | null | extras/AudioPluginHost/Backup/Source/UI/GraphEditorPanel.cpp | studiobee/JUCE6-Svalbard-Fork | 2bcd2101811f6a3a803a7f68d3bac2d0d53f4146 | [
"ISC"
] | null | null | null | extras/AudioPluginHost/Backup/Source/UI/GraphEditorPanel.cpp | studiobee/JUCE6-Svalbard-Fork | 2bcd2101811f6a3a803a7f68d3bac2d0d53f4146 | [
"ISC"
] | null | null | null | /*
==============================================================================
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 both the... | 31.76679 | 150 | 0.571833 | studiobee |
a39694f2a7f8b59af513cd1cadee25c4b5b46446 | 15,892 | hpp | C++ | include/universal/verification/posit_test_randoms.hpp | shikharvashistha/universal | 5c20504504f067412958fa61ea3839cf86c3d6f7 | [
"MIT"
] | 254 | 2017-05-24T16:51:57.000Z | 2022-03-22T13:07:29.000Z | include/universal/verification/posit_test_randoms.hpp | jamesquinlan/universal | 3b7e6bf37cbb9123425b634d18af18a409c2eccc | [
"MIT"
] | 101 | 2017-11-09T22:57:24.000Z | 2022-03-17T12:44:59.000Z | include/universal/verification/posit_test_randoms.hpp | jamesquinlan/universal | 3b7e6bf37cbb9123425b634d18af18a409c2eccc | [
"MIT"
] | 55 | 2017-06-09T10:04:38.000Z | 2022-02-01T16:54:56.000Z | #pragma once
// posit_test_randoms.hpp : posit verification functions based on random operand generation testing
// Needs to be included after posit type is declared.
//
// Copyright (C) 2017-2021 Stillwater Supercomputing, Inc.
//
// This file is part of the universal numbers project, which is released under an MIT O... | 32.834711 | 202 | 0.680846 | shikharvashistha |
a398a0be082fcf932773bf52fb0004a9349c4ccc | 5,738 | cpp | C++ | Sources/Samples/Serialization/SampleSerialization.cpp | jdelezenne/Sonata | fb1b1b64a78874a0ab2809995be4b6f14f9e4d56 | [
"MIT"
] | null | null | null | Sources/Samples/Serialization/SampleSerialization.cpp | jdelezenne/Sonata | fb1b1b64a78874a0ab2809995be4b6f14f9e4d56 | [
"MIT"
] | null | null | null | Sources/Samples/Serialization/SampleSerialization.cpp | jdelezenne/Sonata | fb1b1b64a78874a0ab2809995be4b6f14f9e4d56 | [
"MIT"
] | null | null | null | /*=============================================================================
SampleSerialization.cpp
Project: Sonata Engine
Author: Julien Delezenne
=============================================================================*/
#include "SampleSerialization.h"
enum TestEnum
{
TestEnum_Monday,
TestEnum_Tuesday,
... | 25.963801 | 90 | 0.684908 | jdelezenne |
a399b171062e3096287691191b2004b870190d04 | 21,673 | cpp | C++ | src/BoundaryFirstFlattening/BFF.cpp | xuan-li/GraphicsProject | c92997447447791bd1db2900717ce91d12a2203a | [
"MIT"
] | 2 | 2019-03-05T12:02:09.000Z | 2019-07-30T03:38:17.000Z | src/BoundaryFirstFlattening/BFF.cpp | xuan-li/GraphicsProject | c92997447447791bd1db2900717ce91d12a2203a | [
"MIT"
] | 1 | 2017-12-08T04:45:43.000Z | 2017-12-08T04:45:43.000Z | src/BoundaryFirstFlattening/BFF.cpp | xuan-li/GraphicsProject | c92997447447791bd1db2900717ce91d12a2203a | [
"MIT"
] | 1 | 2019-08-10T03:40:26.000Z | 2019-08-10T03:40:26.000Z | #include "BFF.h"
BFFSolver::BFFSolver(SurfaceMesh & mesh, OpenMesh::VPropHandleT<bool> cone_flag, OpenMesh::VPropHandleT<double> cone_angle, OpenMesh::EPropHandleT<bool> slice_flag)
:mesh_(mesh), cone_flag_(cone_flag), cone_angle_(cone_angle), slice_flag_(slice_flag)
{
}
SurfaceMesh BFFSolver::Compute(int mode)
{
... | 30.568406 | 164 | 0.68523 | xuan-li |
a3a26153b96e45c46657cb85528c3a5863968901 | 381 | cpp | C++ | test/snippet/io/sequence_file/sequence_file_input_aminoacid.cpp | joergi-w/seqan3 | b757646eee3cddf1f2487db8f1c9f3576ee37391 | [
"CC-BY-4.0",
"CC0-1.0"
] | 283 | 2017-03-14T23:43:33.000Z | 2022-03-28T02:30:02.000Z | test/snippet/io/sequence_file/sequence_file_input_aminoacid.cpp | simonsasse/seqan3 | 0ff2e117952743f081735df9956be4c512f4ccba | [
"CC0-1.0",
"CC-BY-4.0"
] | 2,754 | 2017-03-21T18:39:02.000Z | 2022-03-31T13:26:15.000Z | test/snippet/io/sequence_file/sequence_file_input_aminoacid.cpp | simonsasse/seqan3 | 0ff2e117952743f081735df9956be4c512f4ccba | [
"CC0-1.0",
"CC-BY-4.0"
] | 88 | 2017-03-20T12:43:42.000Z | 2022-03-17T08:56:13.000Z | #include <sstream>
#include <seqan3/io/sequence_file/input.hpp>
auto input = R"(> TEST1
ACGT
> Test2
AGGCTGA
> Test3
GGAGTATAATATATATATATATAT)";
int main()
{
seqan3::sequence_file_input<seqan3::sequence_file_input_default_traits_aa> fin{std::istringstream{input},
... | 22.411765 | 109 | 0.595801 | joergi-w |
a3adeee42761f96db0916fa08cbe0d06806f3c82 | 2,953 | hh | C++ | src/kelpie/localkv/LocalKVRow.hh | faodel/faodel | ef2bd8ff335433e695eb561d7ecd44f233e58bf0 | [
"MIT"
] | 2 | 2019-01-25T21:21:07.000Z | 2021-04-29T17:24:00.000Z | src/kelpie/localkv/LocalKVRow.hh | faodel/faodel | ef2bd8ff335433e695eb561d7ecd44f233e58bf0 | [
"MIT"
] | 8 | 2018-10-09T14:35:30.000Z | 2020-09-30T20:09:42.000Z | src/kelpie/localkv/LocalKVRow.hh | faodel/faodel | ef2bd8ff335433e695eb561d7ecd44f233e58bf0 | [
"MIT"
] | 2 | 2019-04-23T19:01:36.000Z | 2021-05-11T07:44:55.000Z | // Copyright 2021 National Technology & Engineering Solutions of Sandia, LLC
// (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S.
// Government retains certain rights in this software.
#ifndef LOCALKVROW_HH
#define LOCALKVROW_HH
#include <map>
#include <set>
#include <memory>
#include <functional... | 36.45679 | 147 | 0.693532 | faodel |
a3af515a94d40d7d2dd9596a47e91661667d14a3 | 3,224 | cpp | C++ | src/tcp-socket.cpp | errorcode4319/Websocket-Echo-Server | 9efbd7647a01bec91393271e23c3ec3dcb1eadb3 | [
"MIT"
] | 2 | 2022-02-23T00:42:58.000Z | 2022-03-06T08:54:17.000Z | src/tcp-socket.cpp | errorcode4319/Websocket-Echo-Server | 9efbd7647a01bec91393271e23c3ec3dcb1eadb3 | [
"MIT"
] | null | null | null | src/tcp-socket.cpp | errorcode4319/Websocket-Echo-Server | 9efbd7647a01bec91393271e23c3ec3dcb1eadb3 | [
"MIT"
] | 1 | 2022-02-23T00:43:01.000Z | 2022-02-23T00:43:01.000Z | #include "tcp-socket.h"
namespace tcp {
class NET_init {
public:
NET_init() {
if (SAstartup() != 0)
std::cerr << "NET INIT FAILED" << std::endl;
}
~NET_init() { SAcleanup(); }
};
static NET_init ni;
int SAstartup() {
static bool is_done... | 28.280702 | 97 | 0.606079 | errorcode4319 |
a3b27450916816d0bfcb2d2293a91b6e2896b1f9 | 1,606 | cpp | C++ | source/TBApplication.cpp | rasidin/ToolBase | fb21715734d0f867578a853dbb75e85e4e805272 | [
"MIT"
] | null | null | null | source/TBApplication.cpp | rasidin/ToolBase | fb21715734d0f867578a853dbb75e85e4e805272 | [
"MIT"
] | null | null | null | source/TBApplication.cpp | rasidin/ToolBase | fb21715734d0f867578a853dbb75e85e4e805272 | [
"MIT"
] | null | null | null | /***********************************************************
ToolBase Source File
-----------------------------------------------------------
@file TBApplication.cpp
@brief ToolBase Application
@author minseob (https://github.com/rasidin)
-----------------------------------------------------------
History:
- 2... | 23.970149 | 67 | 0.574097 | rasidin |
a3b54efc689b6c9f56e5346d8b1be5e39e02837e | 4,512 | cpp | C++ | SPARSE_MATRIX/examples/spmv_framework.cpp | lnugraha/mtx-toolbox | 188078b4749db8b42f15ac5607501cc4b660317f | [
"MIT"
] | 1 | 2020-12-29T20:51:22.000Z | 2020-12-29T20:51:22.000Z | SPARSE_MATRIX/examples/spmv_framework.cpp | lnugraha/mtx-toolbox | 188078b4749db8b42f15ac5607501cc4b660317f | [
"MIT"
] | null | null | null | SPARSE_MATRIX/examples/spmv_framework.cpp | lnugraha/mtx-toolbox | 188078b4749db8b42f15ac5607501cc4b660317f | [
"MIT"
] | null | null | null | /* Final Project - SCML Winter 2018
* g++ -I./ mmio.cpp spmv_solvers -o spmv_solvers
* Solvers: Jacobi, Gauss-Seidel, Southwell, and SOR
* Accelerators: None and OpenMP
* Performance Evaluation: Time, Iterations, Convergence Rate, GFLOPS */
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include ... | 32 | 80 | 0.523271 | lnugraha |
a3b72f7040e0e91ef2ee7a8c14c9ca2e939e0608 | 39,774 | cpp | C++ | src/cpp/ibpp/statement.cpp | ferserc1/node-firebird-native | 8608822514b54e2593356d94c94240144481ba8e | [
"MIT"
] | null | null | null | src/cpp/ibpp/statement.cpp | ferserc1/node-firebird-native | 8608822514b54e2593356d94c94240144481ba8e | [
"MIT"
] | null | null | null | src/cpp/ibpp/statement.cpp | ferserc1/node-firebird-native | 8608822514b54e2593356d94c94240144481ba8e | [
"MIT"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
//
// File : $Id: statement.cpp 85 2006-07-23 11:10:57Z epocman $
// Subject : IBPP, Service class implementation
//
///////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright 2000-2006 T.I... | 30.408257 | 103 | 0.670513 | ferserc1 |
a3b8f66fd683496be13b97b469fa3f4d366a9ebd | 5,098 | cpp | C++ | GeneratedFiles/Debug/moc_std.splitter.cpp | wilsonsouza/stdx.frame.x86 | c9e0cc4c748f161367531990e5795a700f40e5ec | [
"Apache-2.0"
] | null | null | null | GeneratedFiles/Debug/moc_std.splitter.cpp | wilsonsouza/stdx.frame.x86 | c9e0cc4c748f161367531990e5795a700f40e5ec | [
"Apache-2.0"
] | null | null | null | GeneratedFiles/Debug/moc_std.splitter.cpp | wilsonsouza/stdx.frame.x86 | c9e0cc4c748f161367531990e5795a700f40e5ec | [
"Apache-2.0"
] | null | null | null | /****************************************************************************
** Meta object code from reading C++ file 'std.splitter.hpp'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.0)
**
** WARNING! All changes made in this file will be lost!
************************************************... | 35.65035 | 200 | 0.591605 | wilsonsouza |
a3bbea439947a91574da459cd35f93859edfc430 | 51,321 | hxx | C++ | xsd-4.0.0/xsd/cxx/tree/elements.hxx | beroset/OpenADR-VEN-Library | 16546464fe1dc714a126474aaadf75483ec9cbc6 | [
"Apache-2.0"
] | 12 | 2016-09-21T19:07:13.000Z | 2021-12-13T06:17:36.000Z | xsd-4.0.0/xsd/cxx/tree/elements.hxx | beroset/OpenADR-VEN-Library | 16546464fe1dc714a126474aaadf75483ec9cbc6 | [
"Apache-2.0"
] | 3 | 2021-01-20T13:02:54.000Z | 2021-02-19T14:05:34.000Z | xsd-4.0.0/xsd/cxx/tree/elements.hxx | beroset/OpenADR-VEN-Library | 16546464fe1dc714a126474aaadf75483ec9cbc6 | [
"Apache-2.0"
] | 12 | 2018-06-10T10:52:56.000Z | 2020-12-08T15:47:13.000Z | // file : xsd/cxx/tree/elements.hxx
// copyright : Copyright (c) 2005-2014 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
/**
* @file
*
* @brief Contains C++ class definitions for XML Schema anyType and
* anySimpleType types as well as supporting code.
*
* This... | 27.606778 | 81 | 0.503848 | beroset |
a3c3f019f12c164c357e3129fc90a777dae66d00 | 8,846 | cpp | C++ | Samples/WiFiDirectServices/cpp/Scenario2_AdvertiserAccept.xaml.cpp | dujianxin/Windows-universal-samples | d4e95ff0ac408c5d4d980bb18d53fb2c6556a273 | [
"MIT"
] | 2,504 | 2019-05-07T06:56:42.000Z | 2022-03-31T19:37:59.000Z | Samples/WiFiDirectServices/cpp/Scenario2_AdvertiserAccept.xaml.cpp | dujianxin/Windows-universal-samples | d4e95ff0ac408c5d4d980bb18d53fb2c6556a273 | [
"MIT"
] | 314 | 2019-05-08T16:56:30.000Z | 2022-03-21T07:13:45.000Z | Samples/WiFiDirectServices/cpp/Scenario2_AdvertiserAccept.xaml.cpp | dujianxin/Windows-universal-samples | d4e95ff0ac408c5d4d980bb18d53fb2c6556a273 | [
"MIT"
] | 2,219 | 2019-05-07T00:47:26.000Z | 2022-03-30T21:12:31.000Z | //*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PA... | 34.15444 | 128 | 0.630228 | dujianxin |
a3cb0af74a0a7c7b38f5c8c687779f749147a5d8 | 119 | cpp | C++ | Pbinfo/triplul.cpp | Al3x76/cpp | 08a0977d777e63e0d36d87fcdea777de154697b7 | [
"MIT"
] | 7 | 2019-01-06T19:10:14.000Z | 2021-10-16T06:41:23.000Z | Pbinfo/triplul.cpp | Al3x76/cpp | 08a0977d777e63e0d36d87fcdea777de154697b7 | [
"MIT"
] | null | null | null | Pbinfo/triplul.cpp | Al3x76/cpp | 08a0977d777e63e0d36d87fcdea777de154697b7 | [
"MIT"
] | 6 | 2019-01-06T19:17:30.000Z | 2020-02-12T22:29:17.000Z | #include <iostream>
using namespace std;
int main()
{
int x,y;
cin>>x>>y;
cout<<3*y-x;
return 0;
} | 8.5 | 20 | 0.529412 | Al3x76 |
a3cb5004f84f389bf36c65d78695776ca24512c2 | 12,777 | cpp | C++ | src/GUI/MainWindow.cpp | FoolishPineapple/vortrac | a682e6080e83f7ae8fa34f33cc68ea0739390d0d | [
"Apache-2.0"
] | 5 | 2018-07-29T00:45:06.000Z | 2021-12-16T01:44:10.000Z | src/GUI/MainWindow.cpp | FoolishPineapple/vortrac | a682e6080e83f7ae8fa34f33cc68ea0739390d0d | [
"Apache-2.0"
] | null | null | null | src/GUI/MainWindow.cpp | FoolishPineapple/vortrac | a682e6080e83f7ae8fa34f33cc68ea0739390d0d | [
"Apache-2.0"
] | 6 | 2019-05-22T16:15:20.000Z | 2022-01-27T03:05:29.000Z | /*
* MainWindow.cpp
* VORTRAC
*
* Created by Michael Bell on 7/11/05
* Copyright 2005 University Corporation for Atmospheric Research.
* All rights reserved.
*
** Parts of this code are taken from Qt 4.0 examples
** Copyright (C) 2005-2005 Trolltech AS. All rights reserved.
*/
#include <QtGui>
#include <QF... | 29.992958 | 211 | 0.638021 | FoolishPineapple |
a3cb74482fc166f8c282ced6be2a68dade2708de | 6,483 | cpp | C++ | src/blinkit/blink/renderer/platform/MIMETypeRegistry.cpp | titilima/blink | 2de70073edfe0e1e0aaf2bb22b5d6abd9b776fad | [
"MIT"
] | 13 | 2020-04-21T13:14:00.000Z | 2021-11-13T14:55:12.000Z | src/blinkit/blink/renderer/platform/MIMETypeRegistry.cpp | titilima/blink | 2de70073edfe0e1e0aaf2bb22b5d6abd9b776fad | [
"MIT"
] | null | null | null | src/blinkit/blink/renderer/platform/MIMETypeRegistry.cpp | titilima/blink | 2de70073edfe0e1e0aaf2bb22b5d6abd9b776fad | [
"MIT"
] | 4 | 2020-04-21T13:15:43.000Z | 2021-11-13T14:55:00.000Z | // -------------------------------------------------
// BlinKit - BlinKit Library
// -------------------------------------------------
// File Name: MIMETypeRegistry.cpp
// Description: MIMETypeRegistry Class
// Author: Ziming Li
// Created: 2021-07-31
// -------------------------------------------------
// ... | 36.016667 | 109 | 0.705075 | titilima |
a3cd2767d6ed75c8586ea00c8e8a889127bfe729 | 598 | cpp | C++ | Bootcamp/Session 13-Recursion2/removeDuplicateCharacter.cpp | sgpritam/DSAlgo | 3e0e6b19d4f8978b2fc3be48195705a285dbdce8 | [
"MIT"
] | 1 | 2020-03-06T21:05:14.000Z | 2020-03-06T21:05:14.000Z | Bootcamp/Session 13-Recursion2/removeDuplicateCharacter.cpp | sgpritam/DSAlgo | 3e0e6b19d4f8978b2fc3be48195705a285dbdce8 | [
"MIT"
] | 2 | 2020-03-09T05:08:14.000Z | 2020-03-09T05:14:09.000Z | Bootcamp/Session 13-Recursion2/removeDuplicateCharacter.cpp | sgpritam/DSAlgo | 3e0e6b19d4f8978b2fc3be48195705a285dbdce8 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
void removeDuplicate(char *str){
if(str[0]=='\0'){
return;
}
// if adjacent character are same
if(str[0]==str[1]){
// Shift the character by one to left
int i=0;
while(str[i]!='\0'){
str[i]=str[i+1];
i+... | 20.62069 | 46 | 0.518395 | sgpritam |
a3cf10a164cb4f2045ed98d43cf33d2b32fad8cf | 159 | hpp | C++ | include/vertzalg.hpp | serjinio/thesis_ana | 633a61dee56cf2cf4dcb67997ac87338537fb578 | [
"MIT"
] | null | null | null | include/vertzalg.hpp | serjinio/thesis_ana | 633a61dee56cf2cf4dcb67997ac87338537fb578 | [
"MIT"
] | null | null | null | include/vertzalg.hpp | serjinio/thesis_ana | 633a61dee56cf2cf4dcb67997ac87338537fb578 | [
"MIT"
] | null | null | null |
#pragma once
#include "common.hpp"
namespace s13 {
namespace ana {
double
compute_vertz(double rdc_xpos, double rdc_aang, Espri espri);
}
}
| 9.9375 | 65 | 0.672956 | serjinio |
a3d256e598a2cca75efbd72fd2c250f114edb24c | 96 | cpp | C++ | tweaks.cpp | jhergel/icesl-nodes | 1c465f7af2d46a38eae5670397102ef057b29860 | [
"MIT"
] | null | null | null | tweaks.cpp | jhergel/icesl-nodes | 1c465f7af2d46a38eae5670397102ef057b29860 | [
"MIT"
] | null | null | null | tweaks.cpp | jhergel/icesl-nodes | 1c465f7af2d46a38eae5670397102ef057b29860 | [
"MIT"
] | 5 | 2017-09-08T08:36:54.000Z | 2020-04-19T17:38:12.000Z | #include "tweaks.h"
#include "NodeWindow.h"
void Tweak::onChange(){
m_Node->onChange();
}
| 12 | 23 | 0.65625 | jhergel |
a3d6f357ec02b4410eaa745b5b682d0876e7b92b | 6,463 | cc | C++ | modules/audio_processing/utility/pffft_wrapper_unittest.cc | 18165/webrtc | b118d428499844749df6dd28aa3dbc8d5e1484fe | [
"BSD-3-Clause"
] | null | null | null | modules/audio_processing/utility/pffft_wrapper_unittest.cc | 18165/webrtc | b118d428499844749df6dd28aa3dbc8d5e1484fe | [
"BSD-3-Clause"
] | null | null | null | modules/audio_processing/utility/pffft_wrapper_unittest.cc | 18165/webrtc | b118d428499844749df6dd28aa3dbc8d5e1484fe | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2019 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 35.510989 | 78 | 0.624323 | 18165 |
a3da520548c1d9dff346d60fd30df365eb1fc830 | 2,786 | cpp | C++ | Ray/Scene/RScene.cpp | CAt0mIcS/Ray | 898ebbfe1207513045718a4fb1df339621568de4 | [
"MIT"
] | null | null | null | Ray/Scene/RScene.cpp | CAt0mIcS/Ray | 898ebbfe1207513045718a4fb1df339621568de4 | [
"MIT"
] | null | null | null | Ray/Scene/RScene.cpp | CAt0mIcS/Ray | 898ebbfe1207513045718a4fb1df339621568de4 | [
"MIT"
] | null | null | null |
#include "REntity.h"
#include "RScene.h"
#include "Components/RMeshRenderer.h"
#include "Components/RTextRenderer.h"
#include "Components/RSkybox.h"
#include "Components/RTransform.h"
#include "Events/REventListener.h"
#define RAY_MULTITHREADED_TRANSFORM_CALCULATIONS 1
#define RAY_MULTITHREADED_MESHRENDERER_UPDATE... | 25.327273 | 89 | 0.708902 | CAt0mIcS |
a3ddcdf9bf700421de4ca9cd1b9f158f7c61c4de | 1,223 | cpp | C++ | src/plugins/robots/attabot/real_robot/real_kheperaiv_leds_actuator.cpp | DiegoD616/argos3-ATTABOT | e909bf1432dbd6649450dbb95e4e9f68f375eefa | [
"MIT"
] | null | null | null | src/plugins/robots/attabot/real_robot/real_kheperaiv_leds_actuator.cpp | DiegoD616/argos3-ATTABOT | e909bf1432dbd6649450dbb95e4e9f68f375eefa | [
"MIT"
] | null | null | null | src/plugins/robots/attabot/real_robot/real_kheperaiv_leds_actuator.cpp | DiegoD616/argos3-ATTABOT | e909bf1432dbd6649450dbb95e4e9f68f375eefa | [
"MIT"
] | null | null | null | #include "real_attabot_leds_actuator.h"
/****************************************/
/****************************************/
CRealAttabotLEDsActuator::CRealAttabotLEDsActuator(knet_dev_t* pt_dspic) :
CRealAttabotDevice(pt_dspic) {
kh4_SetRGBLeds(0, 0, 0, 0, 0, 0, 0, 0, 0, GetDSPic());
}
/******************... | 31.358974 | 74 | 0.477514 | DiegoD616 |
a3ddfdfa95ec3c0cb166aaf738bcfe80382e416a | 21,124 | cpp | C++ | SerialPrograms/Source/PokemonSwSh/Inference/ShinyDetection/PokemonSwSh_SquareDetector.cpp | nmousouros/Arduino-Source | f8dce62af0b619016b4c18dc0371c59568da3e9a | [
"MIT"
] | 9 | 2021-03-06T20:37:22.000Z | 2022-03-09T02:34:47.000Z | SerialPrograms/Source/PokemonSwSh/Inference/ShinyDetection/PokemonSwSh_SquareDetector.cpp | nmousouros/Arduino-Source | f8dce62af0b619016b4c18dc0371c59568da3e9a | [
"MIT"
] | 44 | 2021-05-31T21:33:14.000Z | 2022-02-25T17:40:50.000Z | SerialPrograms/Source/PokemonSwSh/Inference/ShinyDetection/PokemonSwSh_SquareDetector.cpp | nmousouros/Arduino-Source | f8dce62af0b619016b4c18dc0371c59568da3e9a | [
"MIT"
] | 16 | 2021-03-21T16:00:21.000Z | 2022-03-26T08:02:11.000Z | /* Square Detector
*
* From: https://github.com/PokemonAutomation/Arduino-Source
*
*/
#include <cmath>
#include <map>
#include "Common/Compiler.h"
#include "CommonFramework/ImageTools/DistanceToLine.h"
#include "PokemonSwSh_SquareDetector.h"
#include <iostream>
using std::cout;
using std::endl;
... | 32.103343 | 141 | 0.516853 | nmousouros |
9cad05fa3f86972e9dc54e3e8f143cf8edf6aad0 | 33,108 | cpp | C++ | FEM/files0.cpp | yingtaohu/ogs5 | 3ebcbbc209e2306e0721d408a699ecaea52b89d1 | [
"BSD-4-Clause"
] | 1 | 2018-07-28T01:46:45.000Z | 2018-07-28T01:46:45.000Z | FEM/files0.cpp | yingtaohu/ogs5 | 3ebcbbc209e2306e0721d408a699ecaea52b89d1 | [
"BSD-4-Clause"
] | 1 | 2016-08-03T14:13:54.000Z | 2016-08-03T14:13:54.000Z | FEM/files0.cpp | yingtaohu/ogs5 | 3ebcbbc209e2306e0721d408a699ecaea52b89d1 | [
"BSD-4-Clause"
] | 2 | 2016-06-27T15:30:02.000Z | 2021-06-15T08:30:31.000Z | /**
* \copyright
* Copyright (c) 2015, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
/******************************************************... | 28.321642 | 110 | 0.524828 | yingtaohu |
9caf4bf083d0c827fc8d0e597b43ab08ad7fc185 | 3,169 | cpp | C++ | vpr/src/util/histogram.cpp | Loksu/vtr-verilog-to-routing | 96fbd309897a5743a3b37d07e896fc8e2ed3abe6 | [
"MIT"
] | null | null | null | vpr/src/util/histogram.cpp | Loksu/vtr-verilog-to-routing | 96fbd309897a5743a3b37d07e896fc8e2ed3abe6 | [
"MIT"
] | null | null | null | vpr/src/util/histogram.cpp | Loksu/vtr-verilog-to-routing | 96fbd309897a5743a3b37d07e896fc8e2ed3abe6 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <string>
#include <sstream>
#include <cmath>
#include <utility>
#include "vtr_log.h"
#include "vtr_assert.h"
#include "vtr_util.h"
#include "histogram.h"
std::vector<HistogramBucket> build_histogram(std::vector<float> values, size_t num_bins, float min_value, float max_value) {
std:... | 29.616822 | 172 | 0.627012 | Loksu |
9cb060f552dc99ae99d6993e38d14674de4d98d2 | 3,145 | hpp | C++ | include/mizuiro/image/detail/linear_iterator_impl.hpp | cpreh/mizuiro | 5ab15bde4e72e3a4978c034b8ff5700352932485 | [
"BSL-1.0"
] | 1 | 2015-08-22T04:19:39.000Z | 2015-08-22T04:19:39.000Z | include/mizuiro/image/detail/linear_iterator_impl.hpp | freundlich/mizuiro | 5ab15bde4e72e3a4978c034b8ff5700352932485 | [
"BSL-1.0"
] | null | null | null | include/mizuiro/image/detail/linear_iterator_impl.hpp | freundlich/mizuiro | 5ab15bde4e72e3a4978c034b8ff5700352932485 | [
"BSL-1.0"
] | null | null | null | // Copyright Carl Philipp Reh 2009 - 2016.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef MIZUIRO_IMAGE_DETAIL_LINEAR_ITERATOR_IMPL_HPP_INCLUDED
#define MIZUIRO_IMAGE_DETAIL_LINEAR_... | 38.82716 | 94 | 0.759618 | cpreh |
9cb0818a139c22bd00c484a402ac440f1aa30096 | 38,123 | cpp | C++ | Library/Ogre/OgreMain/src/OgreProgressiveMeshGenerator.cpp | Joda89/xsilium-engine | 3ffb8adb4537386735b6a3023823173515aff965 | [
"MIT"
] | 241 | 2015-01-04T00:36:58.000Z | 2022-01-06T19:19:23.000Z | Library/Ogre/OgreMain/src/OgreProgressiveMeshGenerator.cpp | Joda89/xsilium-engine | 3ffb8adb4537386735b6a3023823173515aff965 | [
"MIT"
] | 10 | 2015-07-10T18:27:17.000Z | 2019-06-26T20:59:59.000Z | Library/Ogre/OgreMain/src/OgreProgressiveMeshGenerator.cpp | Joda89/xsilium-engine | 3ffb8adb4537386735b6a3023823173515aff965 | [
"MIT"
] | 82 | 2015-01-25T18:02:35.000Z | 2022-03-05T12:28:17.000Z | /*
* -----------------------------------------------------------------------------
* This source file is part of OGRE
* (Object-oriented Graphics Rendering Engine)
* For the latest info, see http://www.ogre3d.org/
*
* Copyright (c) 2000-2014 Torus Knot Software Ltd
*
* Permission is hereby granted, free of cha... | 32.500426 | 177 | 0.696299 | Joda89 |
9cb1d84600428490cdb08c06efdc150d650f57d9 | 24,942 | cc | C++ | tests/whitebox/core/wb_matched_data.cc | jcline/waflz | 69c1246bb22f62817517c37ccd1fd36ccda8ef94 | [
"Apache-2.0"
] | null | null | null | tests/whitebox/core/wb_matched_data.cc | jcline/waflz | 69c1246bb22f62817517c37ccd1fd36ccda8ef94 | [
"Apache-2.0"
] | null | null | null | tests/whitebox/core/wb_matched_data.cc | jcline/waflz | 69c1246bb22f62817517c37ccd1fd36ccda8ef94 | [
"Apache-2.0"
] | null | null | null | //! ----------------------------------------------------------------------------
//! Copyright Verizon.
//!
//! \file: TODO
//! \details: TODO
//!
//! Licensed under the terms of the Apache 2.0 open source license.
//! Please refer to the LICENSE file in the project root for the terms.
//! --------------------------... | 45.431694 | 199 | 0.434448 | jcline |
9cb2e93b2833d4a6fe2b1932a63a8a079939d2ae | 1,328 | cpp | C++ | vs2017_static_lib/DokeviNetwork/LogManager.cpp | kaygundraka/Dokevi-TCPServer | 00c3ceb04c133d1959c89f6b3708ecf7607ef572 | [
"MIT"
] | 7 | 2020-03-23T12:09:50.000Z | 2020-05-19T02:35:42.000Z | vs2017_static_lib/DokeviNetwork/LogManager.cpp | kaygundraka/Dokevi-Network | 00c3ceb04c133d1959c89f6b3708ecf7607ef572 | [
"MIT"
] | null | null | null | vs2017_static_lib/DokeviNetwork/LogManager.cpp | kaygundraka/Dokevi-Network | 00c3ceb04c133d1959c89f6b3708ecf7607ef572 | [
"MIT"
] | null | null | null | #include "pch.h"
#include "LogManager.h"
#include "ConfigManager.h"
using namespace DokeviNet;
void LogManager::Initialize()
{
try
{
auto consoleSink = std::make_shared<spdlog::sinks::stdout_color_sink_mt>();
consoleSink->set_level(spdlog::level::trace);
if (SINGLETON(ConfigManager)->GetInt("Log", "EnableDail... | 22.896552 | 78 | 0.692018 | kaygundraka |
9cb3f2b4241093f0bf6ab2d738cf283a88c53a5a | 42,144 | cpp | C++ | c/src/db/mongo/db_mongodb.cpp | finlchain/NODE | f5da331ef7963562b2036a5bad06427518b2e66d | [
"MIT"
] | 1 | 2020-02-07T00:09:32.000Z | 2020-02-07T00:09:32.000Z | c/src/db/mongo/db_mongodb.cpp | finlchain/NODE | f5da331ef7963562b2036a5bad06427518b2e66d | [
"MIT"
] | null | null | null | c/src/db/mongo/db_mongodb.cpp | finlchain/NODE | f5da331ef7963562b2036a5bad06427518b2e66d | [
"MIT"
] | 1 | 2020-02-07T00:09:34.000Z | 2020-02-07T00:09:34.000Z | /**
@file db_mongodb.cpp
@date 2019/06/03
@author FINL Chain Team
@version
@brief
*/
#include "global.h"
void mongodb_get_svr_version(void)
{
DBG_PRINT(DBG_DB, DBG_INFO, (void *)"MONGOD Ver: \n");
}
void mongodb_get_cli_version(void)
{
DBG_PRINT(DBG_DB, DBG_INFO, (void *)"MONGOC Ver: %s... | 30.784514 | 163 | 0.585326 | finlchain |
9cb54b5fc706e1c75100cb5df72a776354578a74 | 7,495 | hpp | C++ | client/cpack.hpp | zzccttu/moondb | 1f5b919917c4ba98d62b0a85ef5e07f0588ee324 | [
"MIT"
] | null | null | null | client/cpack.hpp | zzccttu/moondb | 1f5b919917c4ba98d62b0a85ef5e07f0588ee324 | [
"MIT"
] | null | null | null | client/cpack.hpp | zzccttu/moondb | 1f5b919917c4ba98d62b0a85ef5e07f0588ee324 | [
"MIT"
] | null | null | null | #pragma once
#include <string>
#include <sstream>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "crunningerror.hpp"
namespace MoonDb {
class CPack
{
public:
CPack()
:Cache(nullptr), Capacity(0), Size(0), Position(0), Internal(true)
{}
CPack(size_t capacity)
{
Internal = true;
Allocat... | 18.55198 | 148 | 0.635624 | zzccttu |
9cb58439ee3ec974a86b4df2724b2281bc0e7282 | 2,904 | cpp | C++ | src/main/main.cpp | Team5553-RoboLyon/2019_Raspberry | b54db8e3c6a25511a39e81e3d1e0a40d53a4108f | [
"MIT"
] | null | null | null | src/main/main.cpp | Team5553-RoboLyon/2019_Raspberry | b54db8e3c6a25511a39e81e3d1e0a40d53a4108f | [
"MIT"
] | null | null | null | src/main/main.cpp | Team5553-RoboLyon/2019_Raspberry | b54db8e3c6a25511a39e81e3d1e0a40d53a4108f | [
"MIT"
] | null | null | null | #include "PrecompilationDefine.h"
#include <iostream>
#include <opencv2/opencv.hpp>
#include <networktables/NetworkTableInstance.h>
#include "lib/MjpegStream.h"
#include "Values.h"
#include "Vision.h"
using namespace cv;
using namespace std;
#ifndef RUNNING_FRC_TESTS
int main() {
#ifdef __DESKTOP__
std::cout... | 31.225806 | 103 | 0.657369 | Team5553-RoboLyon |
9cb914a77d737b9dc2a823192e753355ee32b46c | 7,351 | cpp | C++ | compiler/luci-interpreter/src/KernelBuilder.cpp | KimDongEon/ONE | 3e2e9039ed2599b1d7a9ce1f1036b8218614860d | [
"Apache-2.0"
] | null | null | null | compiler/luci-interpreter/src/KernelBuilder.cpp | KimDongEon/ONE | 3e2e9039ed2599b1d7a9ce1f1036b8218614860d | [
"Apache-2.0"
] | null | null | null | compiler/luci-interpreter/src/KernelBuilder.cpp | KimDongEon/ONE | 3e2e9039ed2599b1d7a9ce1f1036b8218614860d | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. 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... | 31.822511 | 89 | 0.719222 | KimDongEon |
9cbc6e7c26ba9a08a48fb271019237f5894fd8be | 8,250 | cc | C++ | quic/core/quic_received_packet_manager_test.cc | swimfish09/quiche | 2bfc754a599cdbdb2a6875a515713648b92ddb97 | [
"BSD-3-Clause"
] | null | null | null | quic/core/quic_received_packet_manager_test.cc | swimfish09/quiche | 2bfc754a599cdbdb2a6875a515713648b92ddb97 | [
"BSD-3-Clause"
] | null | null | null | quic/core/quic_received_packet_manager_test.cc | swimfish09/quiche | 2bfc754a599cdbdb2a6875a515713648b92ddb97 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/third_party/quiche/src/quic/core/quic_received_packet_manager.h"
#include <algorithm>
#include <ostream>
#include <vector>
#include "net/t... | 40.441176 | 79 | 0.755515 | swimfish09 |
9cbe010616bd89f310ac803655e44eff0022c055 | 6,369 | cpp | C++ | glib-adv/dnet.cpp | ksemer/snap | 0084126c30ad49a4437bc8ea30be78484f8c58d7 | [
"BSD-3-Clause"
] | 1,805 | 2015-01-06T20:01:35.000Z | 2022-03-29T16:12:51.000Z | glib-adv/dnet.cpp | lizhaoqing/snap | 907c34aac6bcddc7c2f8efb64be76e87dd7e4ea5 | [
"BSD-3-Clause"
] | 168 | 2015-01-07T22:57:29.000Z | 2022-03-15T01:20:24.000Z | glib-adv/dnet.cpp | lizhaoqing/snap | 907c34aac6bcddc7c2f8efb64be76e87dd7e4ea5 | [
"BSD-3-Clause"
] | 768 | 2015-01-09T02:28:45.000Z | 2022-03-30T00:53:46.000Z | #include "stdafx.h"
#include "dnet.h"
/////////////////////////////////////////////////
// General
TStr TDNet::GetStr(System::String* DNStr){
const int DNStrLen=DNStr->Length;
TChA ChA(DNStrLen);
for (int ChN=0; ChN<DNStrLen; ChN++){
char Ch=char(DNStr->get_Chars(ChN));
ChA+=Ch;
}
retur... | 29.35023 | 88 | 0.6103 | ksemer |
9cc4bf6ae97f9cec41d3460a812a5a944f1b0cfe | 796 | hpp | C++ | Control_movement/gimbal/Src/Controller/Gimbal/GimbalStateMouseCtrl.hpp | PhilosopheAM/21_Fall_project_gabbishSorting | 15ef612d9e483ad72f9e37953875a7303f94b38e | [
"MIT"
] | 1 | 2021-12-31T09:27:00.000Z | 2021-12-31T09:27:00.000Z | Control_movement/gimbal/Src/Controller/Gimbal/GimbalStateMouseCtrl.hpp | PhilosopheAM/21_Fall_project_gabbishSorting | 15ef612d9e483ad72f9e37953875a7303f94b38e | [
"MIT"
] | null | null | null | Control_movement/gimbal/Src/Controller/Gimbal/GimbalStateMouseCtrl.hpp | PhilosopheAM/21_Fall_project_gabbishSorting | 15ef612d9e483ad72f9e37953875a7303f94b38e | [
"MIT"
] | 1 | 2021-12-22T03:34:04.000Z | 2021-12-22T03:34:04.000Z | #ifndef GIMBALSTATEMOUSECTRL_HPP
#define GIMBALSTATEMOUSECTRL_HPP
#include "StateMachine.hpp"
#include "GimbalController.hpp"
class GimbalStateMouseCtrl : public State<GimbalController>
{
private:
float m_YawSet;
float m_PitchSet;
float m_MaxYaw;
float m_MinYaw;
float m_MaxPitch;
float m... | 19.414634 | 59 | 0.71608 | PhilosopheAM |
9cc516a548f652ec75a84e76fcd823246ab99708 | 18,559 | cc | C++ | src/ray/gcs/gcs_server/gcs_resource_scheduler.cc | ProteinQure/ray | f15bcb21dcee6c3de1f0916fc5e2e59c5670b0f2 | [
"Apache-2.0"
] | null | null | null | src/ray/gcs/gcs_server/gcs_resource_scheduler.cc | ProteinQure/ray | f15bcb21dcee6c3de1f0916fc5e2e59c5670b0f2 | [
"Apache-2.0"
] | null | null | null | src/ray/gcs/gcs_server/gcs_resource_scheduler.cc | ProteinQure/ray | f15bcb21dcee6c3de1f0916fc5e2e59c5670b0f2 | [
"Apache-2.0"
] | null | null | null | // Copyright 2017 The Ray Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | 39.487234 | 90 | 0.711084 | ProteinQure |
9ccd2879013b79827fac2bd6779afe863842174b | 7,201 | hpp | C++ | src/pyinterp/core/include/pyinterp/geodetic/coordinates.hpp | readthedocs-assistant/pangeo-pyinterp | e9dc18445dce36638d5a90f64c8e2f1b53164f90 | [
"BSD-3-Clause"
] | null | null | null | src/pyinterp/core/include/pyinterp/geodetic/coordinates.hpp | readthedocs-assistant/pangeo-pyinterp | e9dc18445dce36638d5a90f64c8e2f1b53164f90 | [
"BSD-3-Clause"
] | null | null | null | src/pyinterp/core/include/pyinterp/geodetic/coordinates.hpp | readthedocs-assistant/pangeo-pyinterp | e9dc18445dce36638d5a90f64c8e2f1b53164f90 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2022 CNES
//
// All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#pragma once
#include <pybind11/numpy.h>
#include <Eigen/Core>
#include "pyinterp/detail/broadcast.hpp"
#include "pyinterp/detail/geodetic/coordinates.hpp"
#includ... | 38.715054 | 80 | 0.600056 | readthedocs-assistant |
9cd031712935c39fd0eb3bdb2c0ba7813dd3e4d9 | 1,795 | cc | C++ | cef_binary_3.1547.1412_windows64/libcef_dll/cpptoc/drag_handler_cpptoc.cc | alex-zaikman/cef3 | f6b93ee237ee5306544648e9aef78297906e876b | [
"Unlicense"
] | 44 | 2016-03-22T22:13:06.000Z | 2021-08-02T14:43:33.000Z | cef_binary_3.1547.1412_windows64/libcef_dll/cpptoc/drag_handler_cpptoc.cc | alex-zaikman/cef3 | f6b93ee237ee5306544648e9aef78297906e876b | [
"Unlicense"
] | 2 | 2016-03-22T21:08:59.000Z | 2016-10-21T15:10:18.000Z | cef_binary_3.1547.1412_windows64/libcef_dll/cpptoc/drag_handler_cpptoc.cc | alex-zaikman/cef3 | f6b93ee237ee5306544648e9aef78297906e876b | [
"Unlicense"
] | 18 | 2016-03-22T22:28:16.000Z | 2021-04-13T21:13:42.000Z | // Copyright (c) 2013 The Chromium Embedded Framework Authors. All rights
// reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file.
//
// ---------------------------------------------------------------------------
//
// This file was generated by the CEF translato... | 29.916667 | 80 | 0.715877 | alex-zaikman |
9cd0fb8d932939dd142a18b0948b48fdf64954c1 | 5,967 | cxx | C++ | test/itkPSMProcrustesFunctionTest.cxx | sheryjoe/ITKParticleShapeModeling | 389a3a043196270b37830a0bba656fe1a7ef1b84 | [
"Apache-2.0"
] | 11 | 2015-11-24T03:41:40.000Z | 2021-07-28T11:07:12.000Z | test/itkPSMProcrustesFunctionTest.cxx | sheryjoe/ITKParticleShapeModeling | 389a3a043196270b37830a0bba656fe1a7ef1b84 | [
"Apache-2.0"
] | 88 | 2015-05-22T18:33:49.000Z | 2019-08-30T17:53:46.000Z | test/itkPSMProcrustesFunctionTest.cxx | sheryjoe/ITKParticleShapeModeling | 389a3a043196270b37830a0bba656fe1a7ef1b84 | [
"Apache-2.0"
] | 9 | 2015-06-18T20:23:21.000Z | 2019-06-06T21:26:10.000Z | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... | 32.080645 | 119 | 0.576001 | sheryjoe |
9cd71edb9e7e6d607f515d9caa5c508177f2ce46 | 1,954 | hpp | C++ | HITSIC_MK66F18_MCUX/source/module/drv_pitmgr.hpp | CkovMk/WirelessChargingFOD_K66_Coding | f2a48e87df009f266ca93b0f9e18d675eb9c8ecd | [
"Apache-2.0"
] | 5 | 2020-09-21T16:19:54.000Z | 2020-11-07T08:24:50.000Z | deprecated/module/drv_pitmgr.hpp | MintForgetter/HIT_Tumbler | 4b26193849965f4376c46e16debf494de4404776 | [
"Apache-2.0"
] | 4 | 2020-10-12T05:44:14.000Z | 2020-11-10T07:09:04.000Z | deprecated/module/drv_pitmgr.hpp | MintForgetter/HIT_Tumbler | 4b26193849965f4376c46e16debf494de4404776 | [
"Apache-2.0"
] | 14 | 2020-10-07T08:42:58.000Z | 2021-11-20T03:58:51.000Z | #pragma once
#ifndef _DRV_PITMGR_HPP_
#define _DRV_PITMGR_HPP_
#include "inc_fsl_rt1052.h"
#include "inc_stdlib.h"
#include "inc_gnc.h"
//#include "rte_timer.hpp"
#define RTE_PIT_CLKFREQ CLOCK_GetFreq(kCLOCK_PerClk)
class pitMgr_t
{
public:
//LifeTimeCounter
static uint64_t getLTC(void)
{
return ULLONG_MAX - P... | 18.261682 | 89 | 0.689355 | CkovMk |
9cd82ae12fe621a283cf66bd15a735f075e82cfe | 1,538 | cpp | C++ | Final Praktikum/Menambang_Koin_Kripto.cpp | robbypambudi/Struktur-Data | a1e22ce9ecd17a6b9b4f8a85d67ff608183758b9 | [
"MIT"
] | 2 | 2022-02-22T15:38:51.000Z | 2022-03-27T11:55:25.000Z | Final Praktikum/Menambang_Koin_Kripto.cpp | robbypambudi/Struktur-Data | a1e22ce9ecd17a6b9b4f8a85d67ff608183758b9 | [
"MIT"
] | null | null | null | Final Praktikum/Menambang_Koin_Kripto.cpp | robbypambudi/Struktur-Data | a1e22ce9ecd17a6b9b4f8a85d67ff608183758b9 | [
"MIT"
] | 1 | 2022-03-27T11:57:23.000Z | 2022-03-27T11:57:23.000Z | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int N = 1e5 + 5;
#define SR 316
int n, m, q;
ll a[N];
ll val[N], sum[N];
vector<int> arr[N], rev[N];
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cin >> n >> m;
for (int i = 0; i < n; i++)
{
cin >... | 18.756098 | 55 | 0.273732 | robbypambudi |
9cdbc2acf12a5b71ce5dffbb012b9ea73d184db4 | 3,333 | cpp | C++ | test/algo/bit_test.cpp | ccup/mcl | 4f9fc954de7c696539430daee06a7218517d6c0f | [
"Apache-2.0"
] | 10 | 2020-09-07T02:39:51.000Z | 2021-09-26T00:44:40.000Z | test/algo/bit_test.cpp | ccup/mcl | 4f9fc954de7c696539430daee06a7218517d6c0f | [
"Apache-2.0"
] | null | null | null | test/algo/bit_test.cpp | ccup/mcl | 4f9fc954de7c696539430daee06a7218517d6c0f | [
"Apache-2.0"
] | 1 | 2020-09-11T01:21:42.000Z | 2020-09-11T01:21:42.000Z | #include <cctest/cctest.h>
#include "mcl/algo/bit.h"
FIXTURE(BitTest) {
TEST ("bit offset") {
ASSERT_EQ(1, MCL_BIT_OFFSET(uint32_t, 0));
ASSERT_EQ(2, MCL_BIT_OFFSET(uint32_t, 1));
ASSERT_EQ(4, MCL_BIT_OFFSET(uint32_t, 2));
ASSERT_EQ(8, MCL_BIT_OFFSET(uint32_t, 3));
ASSERT_EQ(16, MCL_BIT_OFFSET(uint32_t, 4))... | 27.545455 | 62 | 0.743174 | ccup |
9cdda2f8eff4947a5642a79a6700b5f155ae05a7 | 279 | hpp | C++ | luanics/cards/Error.hpp | luanics/cpp-illustrated | 6049de2119a53d656a63b65d9441e680355ef196 | [
"MIT"
] | null | null | null | luanics/cards/Error.hpp | luanics/cpp-illustrated | 6049de2119a53d656a63b65d9441e680355ef196 | [
"MIT"
] | null | null | null | luanics/cards/Error.hpp | luanics/cpp-illustrated | 6049de2119a53d656a63b65d9441e680355ef196 | [
"MIT"
] | null | null | null | #pragma once
#include <stdexcept>
namespace luanics {
namespace cards {
class Error : public std::runtime_error {
public:
Error(std::string const & message = std::string("")) :
std::runtime_error{message} {}
}; // class Error
} // namespace cards
} // namespace luanics
| 17.4375 | 55 | 0.688172 | luanics |
9cddf84a656e2142ca6f94a2952d06ab5d793a22 | 5,732 | cpp | C++ | src/xtd.core/src/xtd/guid.cpp | gammasoft71/xtd | 09e589a9dd2cb292d1e54c9c4f803c2b3ad22102 | [
"MIT"
] | 251 | 2019-04-20T02:02:24.000Z | 2022-03-31T09:52:08.000Z | src/xtd.core/src/xtd/guid.cpp | gammasoft71/xtd | 09e589a9dd2cb292d1e54c9c4f803c2b3ad22102 | [
"MIT"
] | 29 | 2021-01-07T12:52:12.000Z | 2022-03-29T08:42:14.000Z | src/xtd.core/src/xtd/guid.cpp | gammasoft71/xtd | 09e589a9dd2cb292d1e54c9c4f803c2b3ad22102 | [
"MIT"
] | 27 | 2019-11-21T02:37:44.000Z | 2022-03-30T22:59:14.000Z | #include "../../include/xtd/guid.h"
#include "../../include/xtd/argument_exception.h"
#include "../../include/xtd/format_exception.h"
#define __XTD_CORE_NATIVE_LIBRARY__
#include <xtd/native/guid.h>
#undef __XTD_CORE_NATIVE_LIBRARY__
using namespace xtd;
const guid guid::empty;
guid::guid(const std::vector<byte_t>& ... | 36.278481 | 144 | 0.605024 | gammasoft71 |
9cde24393e9c1ad3bdfc04aa4ec08ed936808fef | 1,208 | cpp | C++ | docs/mfc/reference/codesnippet/CPP/cwaitcursor-class_3.cpp | jmittert/cpp-docs | cea5a8ee2b4764b2bac4afe5d386362ffd64e55a | [
"CC-BY-4.0",
"MIT"
] | 14 | 2018-01-28T18:10:55.000Z | 2021-11-16T13:21:18.000Z | docs/mfc/reference/codesnippet/CPP/cwaitcursor-class_3.cpp | jmittert/cpp-docs | cea5a8ee2b4764b2bac4afe5d386362ffd64e55a | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/mfc/reference/codesnippet/CPP/cwaitcursor-class_3.cpp | jmittert/cpp-docs | cea5a8ee2b4764b2bac4afe5d386362ffd64e55a | [
"CC-BY-4.0",
"MIT"
] | 2 | 2018-11-01T12:33:08.000Z | 2021-11-16T13:21:19.000Z | // This example illustrates performing an operation
// which changes the wait cursor. You should call
// CWaitCursor::Restore to restore the wait
// cursor after an operation which changes the cursor.
void AnotherLengthyFunction( )
{
CWaitCursor wait; // display wait cursor
// do some lengthy processing
... | 28.093023 | 61 | 0.711921 | jmittert |
9cdee71ba8033d3fb9be23e829b2f6d10ad672ee | 3,195 | cpp | C++ | SillyTech3D/src/FileIO/shader_reader.cpp | mlavik1/SillyTech-Temporary | 82b26f428d6f6a270adb162dbc47815c1d2baf95 | [
"MIT"
] | null | null | null | SillyTech3D/src/FileIO/shader_reader.cpp | mlavik1/SillyTech-Temporary | 82b26f428d6f6a270adb162dbc47815c1d2baf95 | [
"MIT"
] | null | null | null | SillyTech3D/src/FileIO/shader_reader.cpp | mlavik1/SillyTech-Temporary | 82b26f428d6f6a270adb162dbc47815c1d2baf95 | [
"MIT"
] | null | null | null | #include "shader_reader.h"
#include <fstream>
#include <sstream>
#include <iostream>
#include "debug.h"
std::string ShaderReader::GetShader(const char* arg_filename)
{
ShaderReader sr;
return sr.getShader(arg_filename);
}
ShaderReader::ShaderReader()
{
}
ShaderReader::~ShaderReader()
{
}
std::string ShaderRe... | 19.363636 | 84 | 0.59374 | mlavik1 |
9ce7e84ba9e8b5c8ac1647909fc42138fb3ef8c2 | 506 | cpp | C++ | LeetCode/cpp/795.cpp | ZintrulCre/LeetCode_Archiver | de23e16ead29336b5ee7aa1898a392a5d6463d27 | [
"MIT"
] | 279 | 2019-02-19T16:00:32.000Z | 2022-03-23T12:16:30.000Z | LeetCode/cpp/795.cpp | ZintrulCre/LeetCode_Archiver | de23e16ead29336b5ee7aa1898a392a5d6463d27 | [
"MIT"
] | 2 | 2019-03-31T08:03:06.000Z | 2021-03-07T04:54:32.000Z | LeetCode/cpp/795.cpp | ZintrulCre/LeetCode_Crawler | de23e16ead29336b5ee7aa1898a392a5d6463d27 | [
"MIT"
] | 12 | 2019-01-29T11:45:32.000Z | 2019-02-04T16:31:46.000Z | class Solution {
public:
int numSubarrayBoundedMax(vector<int> &A, int L, int R) {
int i = 0, j = 0, m = -1, total = 0;
while (j < A.size()) {
if (A[j] >= L && A[j] <= R) {
m = j;
total += j - i + 1;
} else if (A[j] < L) {
total... | 26.631579 | 61 | 0.298419 | ZintrulCre |
9ce8639f2f241852592046de0aef2319591b1aba | 3,815 | cpp | C++ | life-game-gui/mainwindow.cpp | mizki9577/life-game | ef687ffff7a1ba7ecb02df7adff5513ea65fb40f | [
"BSD-2-Clause"
] | null | null | null | life-game-gui/mainwindow.cpp | mizki9577/life-game | ef687ffff7a1ba7ecb02df7adff5513ea65fb40f | [
"BSD-2-Clause"
] | null | null | null | life-game-gui/mainwindow.cpp | mizki9577/life-game | ef687ffff7a1ba7ecb02df7adff5513ea65fb40f | [
"BSD-2-Clause"
] | null | null | null | #include "mainwindow.hpp"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
timer = new QTimer(this);
timer->setInterval(ui->intervalSpinBox->value());
connect(timer, SIGNAL(timeout()), this, SLOT(updateMatrixAr... | 28.470149 | 140 | 0.571691 | mizki9577 |
9ce95266a73875362239a99bb74e8ebb996b4d35 | 2,729 | cpp | C++ | krn/x86_64/arch.cpp | wrmlab/wrmos | 37067b659aa25e2d85f040ab0d2be85b6f4de485 | [
"MIT"
] | 16 | 2018-06-05T15:23:08.000Z | 2022-01-06T13:41:44.000Z | krn/x86_64/arch.cpp | sergey-worm/wrmos | 37067b659aa25e2d85f040ab0d2be85b6f4de485 | [
"MIT"
] | null | null | null | krn/x86_64/arch.cpp | sergey-worm/wrmos | 37067b659aa25e2d85f040ab0d2be85b6f4de485 | [
"MIT"
] | 3 | 2018-03-15T16:40:59.000Z | 2021-04-01T22:55:15.000Z | //##################################################################################################
//
// Arch - arch specifics kernel functions.
//
//##################################################################################################
#include "arch.h"
#include "sys_stack.h"
#include "sys_proc.h"
#inc... | 18.691781 | 100 | 0.518871 | wrmlab |
9ced52feadade003719b31b918263c30f359843e | 20,244 | cpp | C++ | src/modules/dwm.cpp | maciekMerkury/polybar-dwm-module | 012a8638c384da7f774d1604ee739c01f83113e2 | [
"MIT"
] | 102 | 2020-07-24T03:33:01.000Z | 2022-03-29T01:21:47.000Z | src/modules/dwm.cpp | maciekMerkury/polybar-dwm-module | 012a8638c384da7f774d1604ee739c01f83113e2 | [
"MIT"
] | 35 | 2020-07-17T05:46:16.000Z | 2022-03-21T08:56:00.000Z | src/modules/dwm.cpp | maciekMerkury/polybar-dwm-module | 012a8638c384da7f774d1604ee739c01f83113e2 | [
"MIT"
] | 19 | 2020-07-24T08:36:15.000Z | 2021-12-19T18:46:47.000Z | #include "modules/dwm.hpp"
#include <dwmipcpp/errors.hpp>
#include "components/builder.hpp"
#include "components/config.hpp"
#include "drawtypes/label.hpp"
#include "modules/meta/base.inl"
#include "utils/env.hpp"
#include "utils/file.hpp"
#include "x11/extensions/randr.hpp"
POLYBAR_NS
namespace modules {
templat... | 37.076923 | 120 | 0.615244 | maciekMerkury |
9cf03d183a8cddea82db040e14db40da69d80a88 | 675 | cc | C++ | day06/test1.cc | ovove/aoc20 | 6cb819e35d64fe704c918275f50f76652133b5a4 | [
"Unlicense"
] | null | null | null | day06/test1.cc | ovove/aoc20 | 6cb819e35d64fe704c918275f50f76652133b5a4 | [
"Unlicense"
] | null | null | null | day06/test1.cc | ovove/aoc20 | 6cb819e35d64fe704c918275f50f76652133b5a4 | [
"Unlicense"
] | null | null | null |
#include "solver.hh"
#include <gtest/gtest.h>
#include <iostream>
#include <numeric>
#include <sstream>
#include <string>
TEST(Day6, Test1)
{
std::string input{R"(
abc
a
b
c
ab
ac
a
a
a
a
b
)"};
std::istringstream iss{input};
const auto all_forms{read_all_custom_declaration_forms(iss)};
const au... | 17.763158 | 97 | 0.708148 | ovove |
9cf22a4e603d6bfc267f6bdf8d366eea047b7dcc | 6,943 | hxx | C++ | include/rtkReconstructImageFilter.hxx | kabcode/RTK | e5cbec4f2953abd3ba3bd1b5e7af30357af28674 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | include/rtkReconstructImageFilter.hxx | kabcode/RTK | e5cbec4f2953abd3ba3bd1b5e7af30357af28674 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | include/rtkReconstructImageFilter.hxx | kabcode/RTK | e5cbec4f2953abd3ba3bd1b5e7af30357af28674 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | /*=========================================================================
*
* Copyright RTK Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apa... | 31.703196 | 99 | 0.648855 | kabcode |
9cf343d7ca5a75b9526b46e5e6582bfa688ca111 | 2,466 | cc | C++ | sandboxed_api/sandbox2/fork_client.cc | oshogbo/sandboxed-api | 8e82b900f4d873219b3abfa2fd06ecbd416edefd | [
"Apache-2.0"
] | 1 | 2022-02-10T10:38:30.000Z | 2022-02-10T10:38:30.000Z | sandboxed_api/sandbox2/fork_client.cc | oshogbo/sandboxed-api | 8e82b900f4d873219b3abfa2fd06ecbd416edefd | [
"Apache-2.0"
] | null | null | null | sandboxed_api/sandbox2/fork_client.cc | oshogbo/sandboxed-api | 8e82b900f4d873219b3abfa2fd06ecbd416edefd | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 32.447368 | 78 | 0.655718 | oshogbo |
9cf5a4d502b193c3f3d02ac42ad6f7bf2c8e02a0 | 3,232 | cpp | C++ | test/test_concurrency_func.cpp | kindone/proptest | 174981600571b75bbd9ed69f56453c9994d2878c | [
"MIT"
] | 1 | 2021-06-19T05:40:33.000Z | 2021-06-19T05:40:33.000Z | test/test_concurrency_func.cpp | kindone/cppproptest | db3cace33af7914d6d2b65945baa5554da281725 | [
"MIT"
] | null | null | null | test/test_concurrency_func.cpp | kindone/cppproptest | db3cace33af7914d6d2b65945baa5554da281725 | [
"MIT"
] | null | null | null | #include "statefultest.hpp"
#include "googletest/googletest/include/gtest/gtest.h"
#include "googletest/googlemock/include/gmock/gmock.h"
#include "Random.hpp"
#include "../util/bitmap.hpp"
#include "../combinator/concurrency_function.hpp"
#include "../util/std.hpp"
#include <mutex>
using namespace proptest;
using nam... | 29.651376 | 113 | 0.594059 | kindone |
9cf930bb449f2b4656d448acf9ae2b1dd2e9b9bb | 1,569 | cpp | C++ | src/Parser/CircuitBuilder/BarrierBuilder.cpp | 4rzael/quantum-cuda | 6c03d79f4ef68f6350e0659a1ef5a556d7915968 | [
"MIT"
] | 6 | 2018-07-05T12:22:01.000Z | 2019-08-05T05:28:42.000Z | src/Parser/CircuitBuilder/BarrierBuilder.cpp | 4rzael/quantum-cuda | 6c03d79f4ef68f6350e0659a1ef5a556d7915968 | [
"MIT"
] | null | null | null | src/Parser/CircuitBuilder/BarrierBuilder.cpp | 4rzael/quantum-cuda | 6c03d79f4ef68f6350e0659a1ef5a556d7915968 | [
"MIT"
] | 1 | 2018-11-14T17:58:11.000Z | 2018-11-14T17:58:11.000Z | /**
* @Author: Maxime Agor (4rzael)
* @Date: Sat Jun 23 2018
* @Email: maxime.agor23@gmail.com
* @Project: CUDA-Based Simulator of Quantum Systems
* @Filename: CircuitBuilder.cpp
* @Last modified by: 4rzael
* @Last modified time: Sat Jun 23 2018, 14:31:09
* @License: MIT License
*/
#include <algorithm>
... | 33.382979 | 108 | 0.642447 | 4rzael |
9cfa9b72459c80aad447745caf33df1c79c90b00 | 4,314 | cpp | C++ | src/game/server/shadowcontrol.cpp | Joshua-Ashton/Source- | 4056819cea889d73626a1cbc09518b2f8ba5dda4 | [
"MIT"
] | 75 | 2017-12-06T09:06:47.000Z | 2022-03-29T12:01:44.000Z | src/game/server/shadowcontrol.cpp | Joshua-Ashton/Source- | 4056819cea889d73626a1cbc09518b2f8ba5dda4 | [
"MIT"
] | 65 | 2017-12-08T21:46:33.000Z | 2019-11-25T08:07:59.000Z | src/game/server/shadowcontrol.cpp | Joshua-Ashton/Source- | 4056819cea889d73626a1cbc09518b2f8ba5dda4 | [
"MIT"
] | 37 | 2017-12-03T22:58:09.000Z | 2022-03-02T11:20:38.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Shadow control entity.
//
// $NoKeywords: $
//=============================================================================//
#include "cbase.h"
// memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdb... | 28.196078 | 93 | 0.579277 | Joshua-Ashton |
9cfb32c2002799c0eaa4f005e557b0faad5ef288 | 4,405 | cpp | C++ | Kernel/Syscalls/setpgid.cpp | math2001/serenity | 64ba289cfbdc5f205d5a54b8c9d28da7040ab054 | [
"BSD-2-Clause"
] | 1 | 2021-01-05T07:55:51.000Z | 2021-01-05T07:55:51.000Z | Kernel/Syscalls/setpgid.cpp | sanjaysanjel019/serenity | 64ba289cfbdc5f205d5a54b8c9d28da7040ab054 | [
"BSD-2-Clause"
] | null | null | null | Kernel/Syscalls/setpgid.cpp | sanjaysanjel019/serenity | 64ba289cfbdc5f205d5a54b8c9d28da7040ab054 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright noti... | 33.625954 | 108 | 0.688082 | math2001 |
9cfb8445a0fc6d4760e5a496f90cadcbac1e686c | 15,894 | cpp | C++ | thrill/net/mpi/group.cpp | TiFu/thrill-hyperloglog | bac13cd4ba23ec4bf6fe2e32ffa79d68c348cbcf | [
"BSD-2-Clause"
] | 2 | 2021-01-03T19:29:25.000Z | 2021-01-03T19:29:31.000Z | thrill/net/mpi/group.cpp | TiFu/thrill-hyperloglog | bac13cd4ba23ec4bf6fe2e32ffa79d68c348cbcf | [
"BSD-2-Clause"
] | null | null | null | thrill/net/mpi/group.cpp | TiFu/thrill-hyperloglog | bac13cd4ba23ec4bf6fe2e32ffa79d68c348cbcf | [
"BSD-2-Clause"
] | null | null | null | /*******************************************************************************
* thrill/net/mpi/group.cpp
*
* Part of Project Thrill - http://project-thrill.org
*
* Copyright (C) 2015 Timo Bingmann <tb@panthema.net>
*
* All rights reserved. Published under the BSD-2 license in the LICENSE file.
**************... | 36.87703 | 95 | 0.651818 | TiFu |
9cfca9160475f69e75dceb349ea933333b55ab60 | 130 | hxx | C++ | src/Providers/UNIXProviders/InstalledProduct/UNIX_InstalledProduct_SOLARIS.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | 1 | 2020-10-12T09:00:09.000Z | 2020-10-12T09:00:09.000Z | src/Providers/UNIXProviders/InstalledProduct/UNIX_InstalledProduct_SOLARIS.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | src/Providers/UNIXProviders/InstalledProduct/UNIX_InstalledProduct_SOLARIS.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | #ifdef PEGASUS_OS_SOLARIS
#ifndef __UNIX_INSTALLEDPRODUCT_PRIVATE_H
#define __UNIX_INSTALLEDPRODUCT_PRIVATE_H
#endif
#endif
| 10.833333 | 41 | 0.853846 | brunolauze |
1403765a83d29de74935f972a8875501b347fd99 | 2,687 | cxx | C++ | src/io/internal/bindings/VTKXMLFileReader.cxx | FezVrasta/itk-wasm | 3d193cc75b70bd9f2fa88b6cc13fb8c1f05139f6 | [
"Apache-2.0"
] | 97 | 2017-10-10T11:20:26.000Z | 2021-10-05T00:52:30.000Z | src/io/internal/bindings/VTKXMLFileReader.cxx | thewtex/itk-js | c8ea60eb54b8dcf19fa31586e3e05ed117491469 | [
"Apache-2.0"
] | 136 | 2018-01-11T16:45:00.000Z | 2021-08-18T14:57:01.000Z | src/io/internal/bindings/VTKXMLFileReader.cxx | thewtex/itk-js | c8ea60eb54b8dcf19fa31586e3e05ed117491469 | [
"Apache-2.0"
] | 21 | 2018-03-14T03:17:40.000Z | 2021-07-31T17:14:46.000Z | /*=========================================================================
*
* Copyright NumFOCUS
*
* 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.or... | 31.988095 | 77 | 0.670264 | FezVrasta |
1406e0af5ce1432c66a5bf96be4496162f2e0790 | 3,559 | cpp | C++ | aws-cpp-sdk-elasticmapreduce/source/model/JobFlowExecutionStatusDetail.cpp | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | 2 | 2019-03-11T15:50:55.000Z | 2020-02-27T11:40:27.000Z | aws-cpp-sdk-elasticmapreduce/source/model/JobFlowExecutionStatusDetail.cpp | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-elasticmapreduce/source/model/JobFlowExecutionStatusDetail.cpp | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | 1 | 2019-01-18T13:03:55.000Z | 2019-01-18T13:03:55.000Z | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | 25.06338 | 105 | 0.761731 | curiousjgeorge |
1408170660026ce555d34a9abed87468194be9a6 | 174 | hpp | C++ | include/kumori/oauth_exception.hpp | planaria/kumori | 878ed2501e966db1ba2304f33eac052be3df407f | [
"BSD-3-Clause"
] | 5 | 2016-02-28T15:24:41.000Z | 2016-05-25T18:57:28.000Z | include/kumori/oauth_exception.hpp | planaria/kumori | 878ed2501e966db1ba2304f33eac052be3df407f | [
"BSD-3-Clause"
] | null | null | null | include/kumori/oauth_exception.hpp | planaria/kumori | 878ed2501e966db1ba2304f33eac052be3df407f | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include "exception.hpp"
namespace kumori
{
class oauth_exception : public exception
{
public:
oauth_exception()
: exception("oauth")
{
}
};
}
| 9.157895 | 41 | 0.655172 | planaria |
1410af302628c9d8bd6e31c8754896f14ca07fb7 | 583 | cpp | C++ | URI/Strings/1120.cpp | danielcunhaa/Competitive-Programming | 6868a8dfb8000fd10650a692c548a86272f19735 | [
"MIT"
] | 1 | 2021-04-03T11:17:33.000Z | 2021-04-03T11:17:33.000Z | URI/Strings/1120.cpp | danielcunhaa/Competitive-Programming | 6868a8dfb8000fd10650a692c548a86272f19735 | [
"MIT"
] | null | null | null | URI/Strings/1120.cpp | danielcunhaa/Competitive-Programming | 6868a8dfb8000fd10650a692c548a86272f19735 | [
"MIT"
] | 1 | 2020-07-24T15:27:46.000Z | 2020-07-24T15:27:46.000Z | #include <cstdio>
#include <cstdlib>
#include <cstring>
#define N 102
int main()
{
int c, i, j;
char S[N], out[N];
bool notZero;
while(scanf("%d %s", &c, S) && !(c == 0 && S[0] == '0' && S[1] == '\0'))
{
notZero = false;
for(i = 0, j = 0; i < strlen(S); i++)
if(S[i] !... | 19.433333 | 76 | 0.361921 | danielcunhaa |
1418876ed1492c1dce52ad9d7a80936a6ca8bc1e | 4,254 | cpp | C++ | src/qt/src/3rdparty/webkit/Source/JavaScriptCore/runtime/DateConversion.cpp | martende/phantomjs | 5cecd7dde7b8fd04ad2c036d16f09a8d2a139854 | [
"BSD-3-Clause"
] | 15 | 2015-05-25T19:28:05.000Z | 2021-05-03T09:21:22.000Z | src/qt/src/3rdparty/webkit/Source/JavaScriptCore/runtime/DateConversion.cpp | firedfox/phantomjs | afb0707c9db7b5e693ad1b216a50081565c08ebb | [
"BSD-3-Clause"
] | 2 | 2017-07-25T09:37:22.000Z | 2017-08-04T07:18:56.000Z | src/qt/src/3rdparty/webkit/Source/JavaScriptCore/runtime/DateConversion.cpp | firedfox/phantomjs | afb0707c9db7b5e693ad1b216a50081565c08ebb | [
"BSD-3-Clause"
] | 7 | 2019-01-30T08:56:04.000Z | 2021-11-19T16:14:54.000Z | /*
* Copyright (C) 1999-2000 Harri Porten (porten@kde.org)
* Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
* Copyright (C) 2009 Google Inc. All rights reserved.
*
* The Original Code is Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is
* N... | 39.388889 | 97 | 0.704278 | martende |
141bb7efda5c1716be085bc5bfc58ab607b0f395 | 859 | cpp | C++ | kernel_space/src/algorithms.cpp | 0xlay/XStar | bb5aca028cb26a2645af114270180477de2b40ed | [
"MIT"
] | null | null | null | kernel_space/src/algorithms.cpp | 0xlay/XStar | bb5aca028cb26a2645af114270180477de2b40ed | [
"MIT"
] | null | null | null | kernel_space/src/algorithms.cpp | 0xlay/XStar | bb5aca028cb26a2645af114270180477de2b40ed | [
"MIT"
] | null | null | null | //------------------------------------------------------------------------------
// ╔═╗╔═╗╔═══╗╔════╗╔═══╗╔═══╗
// ╚╗╚╝╔╝║╔═╗║║╔╗╔╗║║╔═╗║║╔═╗║
// ╚╗╔╝ ║╚══╗╚╝║║╚╝║║ ║║║╚═╝║
// ╔╝╚╗ ╚══╗║ ║║ ║╚═╝║║╔╗╔╝
// ╔╝╔╗╚╗║╚═╝║ ║║ ║╔═╗║║║║╚╗
// ╚═╝╚═╝╚═══╝ ╚╝ ╚╝ ╚╝╚╝╚═╝
//
// Copyright Ⓒ 0xlay. All rights reserved.
//
/... | 25.264706 | 81 | 0.381839 | 0xlay |
141bf6187c714a785647feca016086ec34f7a5d7 | 5,358 | hpp | C++ | src/include/spiffs_esp8266.hpp | quackmore/hamsters | ebaf52227ddbadcdb607fa6a2f19bff35027cc5e | [
"Beerware"
] | null | null | null | src/include/spiffs_esp8266.hpp | quackmore/hamsters | ebaf52227ddbadcdb607fa6a2f19bff35027cc5e | [
"Beerware"
] | null | null | null | src/include/spiffs_esp8266.hpp | quackmore/hamsters | ebaf52227ddbadcdb607fa6a2f19bff35027cc5e | [
"Beerware"
] | null | null | null | /*
* ----------------------------------------------------------------------------
* "THE BEER-WARE LICENSE" (Revision 42):
* <quackmore-ff@yahoo.com> wrote this file. As long as you retain this notice
* you can do whatever you want with this stuff. If we meet some day, and you
* think this stuff is worth it, you... | 36.951724 | 104 | 0.591265 | quackmore |
141c7bdc5c9f5ff54d8ef07c36fe27eb020b3b3e | 7,709 | cpp | C++ | aws-cpp-sdk-kinesisanalytics/source/model/ApplicationDetail.cpp | ambasta/aws-sdk-cpp | c81192e00b572b76d175d84dff77185bd17ae1ac | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-kinesisanalytics/source/model/ApplicationDetail.cpp | ambasta/aws-sdk-cpp | c81192e00b572b76d175d84dff77185bd17ae1ac | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-kinesisanalytics/source/model/ApplicationDetail.cpp | ambasta/aws-sdk-cpp | c81192e00b572b76d175d84dff77185bd17ae1ac | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | 31.987552 | 190 | 0.788689 | ambasta |
141ebf763a25d83d23e205b9fe60da0c05f2d8ee | 439 | hpp | C++ | quiz/img.hpp | mycicle/cpp_group_quiz | c52f764a184287c3f030fa66ba2b229a98180840 | [
"MIT"
] | null | null | null | quiz/img.hpp | mycicle/cpp_group_quiz | c52f764a184287c3f030fa66ba2b229a98180840 | [
"MIT"
] | null | null | null | quiz/img.hpp | mycicle/cpp_group_quiz | c52f764a184287c3f030fa66ba2b229a98180840 | [
"MIT"
] | null | null | null | #include "RenderableTag.hpp"
#include <iostream>
#include <string>
class img : public RenderableTag {
private:
std::string cls;
std::string src;
public:
img(std::string src, std::string cls="default"): src(src), cls(cls) {
this->render();
}
void render() {
... | 24.388889 | 106 | 0.539863 | mycicle |
1420c9254dc39129fbd56f0e882da6f873b92b90 | 856 | hpp | C++ | src/stan/lang/generator/get_typedef_var_type.hpp | ludkinm/stan | c318114f875266f22c98cf0bebfff928653727cb | [
"CC-BY-3.0",
"BSD-3-Clause"
] | null | null | null | src/stan/lang/generator/get_typedef_var_type.hpp | ludkinm/stan | c318114f875266f22c98cf0bebfff928653727cb | [
"CC-BY-3.0",
"BSD-3-Clause"
] | null | null | null | src/stan/lang/generator/get_typedef_var_type.hpp | ludkinm/stan | c318114f875266f22c98cf0bebfff928653727cb | [
"CC-BY-3.0",
"BSD-3-Clause"
] | null | null | null | #ifndef STAN_LANG_GENERATOR_GET_TYPEDEF_VAR_TYPE_HPP
#define STAN_LANG_GENERATOR_GET_TYPEDEF_VAR_TYPE_HPP
#include <stan/lang/ast.hpp>
#include <string>
namespace stan {
namespace lang {
/**
* Return cpp type name or stan_math typedef used for bare_expr_type.
*
* @param[in] bare_type bare_type
*/
std::string get_... | 27.612903 | 69 | 0.728972 | ludkinm |
14220ad4b0353194ba504dbdc8d9bbf1193443ef | 12,987 | hpp | C++ | elf/elf.hpp | devurandom/ROCclr | 96724e055997473b36c74a0516d1e5ad9e1ca959 | [
"MIT"
] | null | null | null | elf/elf.hpp | devurandom/ROCclr | 96724e055997473b36c74a0516d1e5ad9e1ca959 | [
"MIT"
] | null | null | null | elf/elf.hpp | devurandom/ROCclr | 96724e055997473b36c74a0516d1e5ad9e1ca959 | [
"MIT"
] | null | null | null | /* Copyright (c) 2008 - 2021 Advanced Micro Devices, 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 restriction, including without limitation the rights
to use, copy, modify, mer... | 29.993072 | 97 | 0.633557 | devurandom |
1422c83e6399a68411b0ac7543411d8f439ad4f2 | 9,265 | hpp | C++ | src/ParallelAlgorithms/LinearSolver/Multigrid/Tags.hpp | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | 1 | 2022-01-11T00:17:33.000Z | 2022-01-11T00:17:33.000Z | src/ParallelAlgorithms/LinearSolver/Multigrid/Tags.hpp | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | null | null | null | src/ParallelAlgorithms/LinearSolver/Multigrid/Tags.hpp | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | null | null | null | // Distributed under the MIT License.
// See LICENSE.txt for details.
#pragma once
#include <array>
#include <cstddef>
#include <optional>
#include <string>
#include <unordered_set>
#include <vector>
#include "DataStructures/DataBox/PrefixHelpers.hpp"
#include "DataStructures/DataBox/Tag.hpp"
#include "DataStructure... | 34.830827 | 80 | 0.726174 | nilsvu |
1423cf2a492b9b6280981b088cc22e1893a185b8 | 2,546 | cpp | C++ | Level_9/Level9Code/VI.6 Latice Methods/BinomialMethod.cpp | ZhehaoLi9705/QuantNet_CPP | a889f4656e757842f4163b0cda7e098cc6ad1193 | [
"MIT"
] | null | null | null | Level_9/Level9Code/VI.6 Latice Methods/BinomialMethod.cpp | ZhehaoLi9705/QuantNet_CPP | a889f4656e757842f4163b0cda7e098cc6ad1193 | [
"MIT"
] | null | null | null | Level_9/Level9Code/VI.6 Latice Methods/BinomialMethod.cpp | ZhehaoLi9705/QuantNet_CPP | a889f4656e757842f4163b0cda7e098cc6ad1193 | [
"MIT"
] | null | null | null | // BinomialMethod.cpp
//
// An encapsulation of the Binomial Method. This is
// a kind of Mediator between the underlying data
// stucture (a lattice tree) and the different kinds
// of algorithms for initialising the tree.
//
// We have kept code inline for convenience only.
//
// Last Modification dates:
//
// DD 200... | 20.206349 | 94 | 0.612333 | ZhehaoLi9705 |
1423e4454d347a1b80a778f34b5a9c6c0f147a23 | 7,054 | hxx | C++ | include/kangsw/container/circular_queue.hxx | kang-sw/templates | 1fce3120cba04ba48b72f06d2a7ce27f773fb28a | [
"Beerware"
] | null | null | null | include/kangsw/container/circular_queue.hxx | kang-sw/templates | 1fce3120cba04ba48b72f06d2a7ce27f773fb28a | [
"Beerware"
] | null | null | null | include/kangsw/container/circular_queue.hxx | kang-sw/templates | 1fce3120cba04ba48b72f06d2a7ce27f773fb28a | [
"Beerware"
] | 1 | 2021-06-03T06:02:05.000Z | 2021-06-03T06:02:05.000Z | #pragma once
#include <array>
#include <cassert>
namespace kangsw {
/**
* 스레드에 매우 안전하지 않은 클래스입니다.
* 별도의 스레드와 사용 시 반드시 락 필요
*/
template <typename Ty_>
class circular_queue {
using chunk_t = std::array<int8_t, sizeof(Ty_)>;
public:
using value_type = Ty_;
public:
template <bool Constant_ = true>
cla... | 31.491071 | 112 | 0.582648 | kang-sw |
14255c0a48f2d45915042a346194a1186715b61a | 702 | cpp | C++ | libkiml/src/constants.cpp | alexanderdna/KimL | 58915197ac5a85686a9d6126c4c2fe0374419fde | [
"MIT"
] | null | null | null | libkiml/src/constants.cpp | alexanderdna/KimL | 58915197ac5a85686a9d6126c4c2fe0374419fde | [
"MIT"
] | 1 | 2020-07-13T03:44:19.000Z | 2020-07-14T08:32:03.000Z | libkiml/src/constants.cpp | alexanderdna/KimL | 58915197ac5a85686a9d6126c4c2fe0374419fde | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "constants.h"
KIMLCOMPILEERRORCODES ConstTable::AddConst(KIMLCSTRING name, const Object &val)
{
std::string s(name);
tabletype::iterator it = table.find(s);
if (it != table.end())
return KCE_DUPLICATE_VAR;
table[s] = val;
return KCE_NONE;
}
bool ConstTable::HasConst(KIMLCSTRING n... | 16.325581 | 79 | 0.685185 | alexanderdna |
28a04fdd0ace431d7a6e12b9be349de92d8d5439 | 278 | hpp | C++ | ap.hpp | arbitrary-precision/ap | fc6dffabba8edcf09255c429ec81eed0b3fd63a8 | [
"MIT"
] | 11 | 2021-12-14T14:05:14.000Z | 2022-01-09T20:24:56.000Z | ap.hpp | arbitrary-precision/ap | fc6dffabba8edcf09255c429ec81eed0b3fd63a8 | [
"MIT"
] | null | null | null | ap.hpp | arbitrary-precision/ap | fc6dffabba8edcf09255c429ec81eed0b3fd63a8 | [
"MIT"
] | 1 | 2022-01-30T03:20:40.000Z | 2022-01-30T03:20:40.000Z | #ifndef DEOHAYER_AP_AP_HPP
#define DEOHAYER_AP_AP_HPP
#include "integer.hpp"
template <unsigned long long _Bitwidth>
using ap_int = ap::library::integer<_Bitwidth, true>;
template <unsigned long long _Bitwidth>
using ap_uint = ap::library::integer<_Bitwidth, false>;
#endif
| 21.384615 | 55 | 0.784173 | arbitrary-precision |
28a0beb3f4614c98c5b55268482b60c272d4506e | 4,607 | cpp | C++ | HelicopterSimulator/EulerConstants.cpp | MikeEckels/HillicopterSimulator | 2ea290356ab713456008f0559dd52328129ac34e | [
"MIT"
] | 1 | 2021-12-07T14:52:30.000Z | 2021-12-07T14:52:30.000Z | HelicopterSimulator/EulerConstants.cpp | MikeEckels/HillicopterSimulator | 2ea290356ab713456008f0559dd52328129ac34e | [
"MIT"
] | null | null | null | HelicopterSimulator/EulerConstants.cpp | MikeEckels/HillicopterSimulator | 2ea290356ab713456008f0559dd52328129ac34e | [
"MIT"
] | 1 | 2022-01-04T13:39:40.000Z | 2022-01-04T13:39:40.000Z | #include "EulerConstants.h"
//Static frame of reference, inertial reference frame
EulerOrder EulerConstants::EulerOrderXYZS = EulerOrder(EulerOrder::Axis::X, EulerOrder::Parity::Even, EulerOrder::AxisRepetition::No, EulerOrder::AxisFrame::Static, Vector3D(0, 1, 2));
EulerOrder EulerConstants::EulerOrderXYXS = EulerOrd... | 158.862069 | 187 | 0.785544 | MikeEckels |
28a24526dc1b34a0be8a5106456913b8c1ec04c8 | 1,903 | cpp | C++ | Caesar/Hook.cpp | danielkrupinski/caesar | 8d84261f2b9e01c0c0d40220db301b5a0d508b3d | [
"MIT"
] | 27 | 2018-08-31T18:57:24.000Z | 2022-02-13T22:58:05.000Z | Caesar/Hook.cpp | danielkrupinski/caesar | 8d84261f2b9e01c0c0d40220db301b5a0d508b3d | [
"MIT"
] | 6 | 2018-09-19T21:50:38.000Z | 2020-07-28T13:48:47.000Z | Caesar/Hook.cpp | danielkrupinski/caesar | 8d84261f2b9e01c0c0d40220db301b5a0d508b3d | [
"MIT"
] | 9 | 2018-10-07T09:10:20.000Z | 2021-04-30T16:44:43.000Z | #include "Required.h"
pcmd_t CommandByName(char* szName)
{
pcmd_t pCmd = nullptr;
pCmd = g_Engine.pfnGetCmdList();
while (pCmd)
{
if (!strcmp(pCmd->name, szName))
return pCmd;
pCmd = pCmd->next;
}
return NULL;
}
UserMsg UserMsgByName(char* szMsgName)
{
UserMsg Ptr = nullptr;
Ptr = pUserMsgBase;
whi... | 19.03 | 96 | 0.713085 | danielkrupinski |
28a346d2828a7b2401a15a4295dcef4438da17ff | 1,560 | hpp | C++ | include/oglplus/images/normal_map.hpp | matus-chochlik/oglplus | 76dd964e590967ff13ddff8945e9dcf355e0c952 | [
"BSL-1.0"
] | 364 | 2015-01-01T09:38:23.000Z | 2022-03-22T05:32:00.000Z | include/oglplus/images/normal_map.hpp | matus-chochlik/oglplus | 76dd964e590967ff13ddff8945e9dcf355e0c952 | [
"BSL-1.0"
] | 55 | 2015-01-06T16:42:55.000Z | 2020-07-09T04:21:41.000Z | include/oglplus/images/normal_map.hpp | matus-chochlik/oglplus | 76dd964e590967ff13ddff8945e9dcf355e0c952 | [
"BSL-1.0"
] | 57 | 2015-01-07T18:35:49.000Z | 2022-03-22T05:32:04.000Z | /**
* @file oglplus/images/normal_map.hpp
* @brief Filter creating a normal+height map out of a height map
*
* @author Matus Chochlik
*
* Copyright 2010-2019 Matus Chochlik. Distributed under the Boost
* Software License, Version 1.0. (See accompanying file
* LICENSE_1_0.txt or copy at http://www.boost.or... | 29.433962 | 74 | 0.730128 | matus-chochlik |
28a920822453f1a75937104715dc51632667e0ac | 29,240 | cpp | C++ | Plugins/KantanCharts/Source/KantanChartsSlate/Private/Charts/SKantanChart.cpp | mattjgardner/PresentationFinalUE4 | 279f153df04aa885424754ba6926740ec5d13602 | [
"MIT"
] | null | null | null | Plugins/KantanCharts/Source/KantanChartsSlate/Private/Charts/SKantanChart.cpp | mattjgardner/PresentationFinalUE4 | 279f153df04aa885424754ba6926740ec5d13602 | [
"MIT"
] | null | null | null | Plugins/KantanCharts/Source/KantanChartsSlate/Private/Charts/SKantanChart.cpp | mattjgardner/PresentationFinalUE4 | 279f153df04aa885424754ba6926740ec5d13602 | [
"MIT"
] | null | null | null | // Copyright (C) 2015-2018 Cameron Angus. All Rights Reserved.
#include "Charts/SKantanChart.h"
#include "KantanCartesianTypes.h" // @TODO: refactor to avoid cartesian specific includes
#include "Layout/SlateRotatedRect.h"
#include "Brushes/SlateColorBrush.h"
#include "Framework/Application/SlateApplication.h"... | 37.201018 | 263 | 0.750821 | mattjgardner |
28abe76a113a47992fd8da94a4835ddcb6541727 | 1,172 | cpp | C++ | src/kernel/miscellaneous.cpp | yamacir-kit/meevax | ff9449a16380eac727c914a33449e9b3a7597b8e | [
"Apache-2.0"
] | 13 | 2018-11-27T02:06:58.000Z | 2022-01-01T16:07:12.000Z | src/kernel/miscellaneous.cpp | yamacir-kit/meevax | ff9449a16380eac727c914a33449e9b3a7597b8e | [
"Apache-2.0"
] | 89 | 2017-11-24T23:58:06.000Z | 2022-02-06T14:54:01.000Z | src/kernel/miscellaneous.cpp | yamacir-kit/meevax | ff9449a16380eac727c914a33449e9b3a7597b8e | [
"Apache-2.0"
] | 4 | 2017-12-22T15:45:46.000Z | 2020-01-12T19:50:45.000Z | /*
Copyright 2018-2021 Tatsuya Yamasaki.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agree... | 30.051282 | 86 | 0.674915 | yamacir-kit |
28b042bee37c385510c903382e6e4cd2803fcff0 | 11,991 | hpp | C++ | src/client/headers/shared/vector.hpp | Dahlgren/intercept | fd16da9ff8b4b890d51af7c94b86f8804e7b4460 | [
"MIT"
] | null | null | null | src/client/headers/shared/vector.hpp | Dahlgren/intercept | fd16da9ff8b4b890d51af7c94b86f8804e7b4460 | [
"MIT"
] | null | null | null | src/client/headers/shared/vector.hpp | Dahlgren/intercept | fd16da9ff8b4b890d51af7c94b86f8804e7b4460 | [
"MIT"
] | null | null | null | #pragma once
#include "../shared.hpp"
namespace intercept {
namespace types {
template<class _Ty> //Copy from STL headers. Because GCC6 doesn't support it
constexpr const _Ty& clamp(const _Ty& _Val, const _Ty& _Min_val,
const _Ty& _Max_val) {// returns _Val constrained to [_Min_v... | 60.256281 | 172 | 0.558752 | Dahlgren |
28b05bf644be59f1fd7983114a82831403639020 | 4,203 | cpp | C++ | src/SilentEngine/private/SError/SError.cpp | Flone-dnb/SilentEngine | d998442f881f89af19737e3fb725849314de23f7 | [
"Zlib"
] | null | null | null | src/SilentEngine/private/SError/SError.cpp | Flone-dnb/SilentEngine | d998442f881f89af19737e3fb725849314de23f7 | [
"Zlib"
] | null | null | null | src/SilentEngine/private/SError/SError.cpp | Flone-dnb/SilentEngine | d998442f881f89af19737e3fb725849314de23f7 | [
"Zlib"
] | null | null | null | // ******************************************************************
// This file is part of the Silent Engine.
// Copyright Aleksandr "Flone" Tretyakov (github.com/Flone-dnb).
// Licensed under the ZLib license.
// Refer to the LICENSE file included.
// ****************************************************************... | 24.436047 | 102 | 0.648108 | Flone-dnb |
28b1ffb76db5c667413b073a78f8f4d0e07b832b | 292 | cpp | C++ | src/libs/common/debug/Debug.cpp | JKot-Coder/OpenDemo | 8b9554914f5bab08df47e032486ca668a560c97c | [
"BSD-3-Clause"
] | null | null | null | src/libs/common/debug/Debug.cpp | JKot-Coder/OpenDemo | 8b9554914f5bab08df47e032486ca668a560c97c | [
"BSD-3-Clause"
] | null | null | null | src/libs/common/debug/Debug.cpp | JKot-Coder/OpenDemo | 8b9554914f5bab08df47e032486ca668a560c97c | [
"BSD-3-Clause"
] | null | null | null | #include "Debug.hpp"
#if OS_WINDOWS
#include <windows.h>
#endif
namespace RR
{
namespace Common
{
namespace Debug
{
bool IsDebuggerPresent()
{
#if OS_WINDOWS
return ::IsDebuggerPresent();
#endif
}
}
}
} | 13.904762 | 45 | 0.506849 | JKot-Coder |
28b6954af19790876153e5610cae04097dea4e11 | 689 | hpp | C++ | src/libcvpg/imageproc/scripting/detail/node.hpp | franz-alt/cv-playground | d6c3bbdb500bf121c28299d117e459730b2b912d | [
"MIT"
] | null | null | null | src/libcvpg/imageproc/scripting/detail/node.hpp | franz-alt/cv-playground | d6c3bbdb500bf121c28299d117e459730b2b912d | [
"MIT"
] | null | null | null | src/libcvpg/imageproc/scripting/detail/node.hpp | franz-alt/cv-playground | d6c3bbdb500bf121c28299d117e459730b2b912d | [
"MIT"
] | null | null | null | // Copyright (c) 2020-2021 Franz Alt
// This code is licensed under MIT license (see LICENSE.txt for details).
#ifndef LIBCVPG_IMAGEPROC_SCRIPTING_DETAIL_NODE_HPP
#define LIBCVPG_IMAGEPROC_SCRIPTING_DETAIL_NODE_HPP
#include <functional>
#include <memory>
#include <string>
namespace cvpg::imageproc::scripting::detail... | 22.225806 | 73 | 0.734398 | franz-alt |
28b92e2a34628dd1659496b27d5bf53c720511a2 | 2,487 | hpp | C++ | src/lib/operators/multi_predicate_join/multi_predicate_join_evaluator.hpp | ekrebs5/hyrise | 73d2eb7b7d5afe2dba631b4900ffae2f20494410 | [
"MIT"
] | null | null | null | src/lib/operators/multi_predicate_join/multi_predicate_join_evaluator.hpp | ekrebs5/hyrise | 73d2eb7b7d5afe2dba631b4900ffae2f20494410 | [
"MIT"
] | 17 | 2018-11-28T10:31:31.000Z | 2019-03-06T10:28:12.000Z | src/lib/operators/multi_predicate_join/multi_predicate_join_evaluator.hpp | ekrebs5/hyrise | 73d2eb7b7d5afe2dba631b4900ffae2f20494410 | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include "operators/operator_join_predicate.hpp"
#include "storage/segment_accessor.hpp"
#include "storage/table.hpp"
#include "types.hpp"
namespace opossum {
class MultiPredicateJoinEvaluator {
public:
MultiPredicateJoinEvaluator(const Table& left, const Table& right,
... | 37.681818 | 110 | 0.691596 | ekrebs5 |
28bdbb2c965ad395bf5b7b469d958544f4f62920 | 5,179 | cpp | C++ | src/tools/animatecamera/commandlinehandler.cpp | takaiten/appleseed | 653efbc379fd322b717a3002c64510679de80156 | [
"MIT"
] | 1 | 2019-03-18T09:23:10.000Z | 2019-03-18T09:23:10.000Z | src/tools/animatecamera/commandlinehandler.cpp | takaiten/appleseed | 653efbc379fd322b717a3002c64510679de80156 | [
"MIT"
] | 2 | 2015-10-26T16:19:06.000Z | 2015-10-26T16:20:22.000Z | src/tools/animatecamera/commandlinehandler.cpp | takaiten/appleseed | 653efbc379fd322b717a3002c64510679de80156 | [
"MIT"
] | null | null | null |
//
// This source file is part of appleseed.
// Visit https://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited
// Copyright (c) 2014-2018 Francois Beaune, The appleseedhq Organization
//... | 34.993243 | 106 | 0.657849 | takaiten |
28bfe7e87bc1bc4efa669fa9194feebc9231413b | 11,500 | cc | C++ | cpp_src/server/config.cc | AlexSnet/reindexer | 6de57939bbd5968954427ef0b3ca58ef9134caaa | [
"Apache-2.0"
] | 695 | 2017-07-07T16:54:23.000Z | 2022-03-19T09:48:30.000Z | cpp_src/server/config.cc | AlexSnet/reindexer | 6de57939bbd5968954427ef0b3ca58ef9134caaa | [
"Apache-2.0"
] | 63 | 2018-01-18T02:57:48.000Z | 2022-03-04T10:28:05.000Z | cpp_src/server/config.cc | AlexSnet/reindexer | 6de57939bbd5968954427ef0b3ca58ef9134caaa | [
"Apache-2.0"
] | 72 | 2017-07-12T21:12:59.000Z | 2021-11-28T14:35:06.000Z | #include "config.h"
#include "args/args.hpp"
#include "core/storage/storagefactory.h"
#include "tools/fsops.h"
#include "yaml/yaml.h"
namespace reindexer_server {
void ServerConfig::Reset() {
args_.clear();
WebRoot.clear();
StorageEngine = "leveldb";
HTTPAddr = "0.0.0.0:9088";
RPCAddr = "0.0.0.0:6534";
GRPCAdd... | 46.558704 | 132 | 0.708609 | AlexSnet |
28c49a03ee0e2ad5cca3c25edac7deb3b33ce45f | 1,583 | cpp | C++ | snippets/cpp/VS_Snippets_Winforms/Classic DataGrid.BeginEdit Example/CPP/source.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 834 | 2017-06-24T10:40:36.000Z | 2022-03-31T19:48:51.000Z | snippets/cpp/VS_Snippets_Winforms/Classic DataGrid.BeginEdit Example/CPP/source.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 7,042 | 2017-06-23T22:34:47.000Z | 2022-03-31T23:05:23.000Z | snippets/cpp/VS_Snippets_Winforms/Classic DataGrid.BeginEdit Example/CPP/source.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 1,640 | 2017-06-23T22:31:39.000Z | 2022-03-31T02:45:37.000Z | #using <System.dll>
#using <System.Xml.dll>
#using <System.Windows.Forms.dll>
#using <System.Drawing.dll>
#using <System.Data.dll>
using namespace System;
using namespace System::Data;
using namespace System::Drawing;
using namespace System::Windows::Forms;
public ref class Form1: public Form
{
protected:
DataGrid... | 29.867925 | 70 | 0.636134 | BohdanMosiyuk |
28c952ed258414988d6bb721c3fbb6dba930444c | 23,758 | cc | C++ | gazebo/sensors/SensorManager.cc | SamFerwerda/Gazebo10-commits | b33ac5982fb75cac894fa145f7268146d44e0724 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2020-06-19T14:52:45.000Z | 2020-11-05T10:25:10.000Z | gazebo/sensors/SensorManager.cc | SamFerwerda/Gazebo10-commits | b33ac5982fb75cac894fa145f7268146d44e0724 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-06-04T10:26:04.000Z | 2020-06-04T10:26:04.000Z | gazebo/sensors/SensorManager.cc | SamFerwerda/Gazebo10-commits | b33ac5982fb75cac894fa145f7268146d44e0724 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2019-11-10T07:19:09.000Z | 2019-11-21T19:11:11.000Z | /*
* Copyright (C) 2012 Open Source Robotics Foundation
*
* 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 appl... | 29.258621 | 80 | 0.609858 | SamFerwerda |
28cc2d0c9e0e3f26024f1955bcffc89d8a894c08 | 2,449 | cpp | C++ | test/graph/hopcroft_karp_maximum_matching_test.cpp | dieram3/competitive-programming-library | 29bd0204d00c08e56d1f7fedc5c6c3603c4e5121 | [
"BSL-1.0"
] | 25 | 2016-05-03T02:08:58.000Z | 2022-01-11T03:49:28.000Z | test/graph/hopcroft_karp_maximum_matching_test.cpp | dieram3/competitive-programming-library | 29bd0204d00c08e56d1f7fedc5c6c3603c4e5121 | [
"BSL-1.0"
] | 22 | 2016-04-26T04:46:17.000Z | 2016-12-06T03:53:32.000Z | test/graph/hopcroft_karp_maximum_matching_test.cpp | dieram3/competitive-programming-library | 29bd0204d00c08e56d1f7fedc5c6c3603c4e5121 | [
"BSL-1.0"
] | 5 | 2017-04-04T16:10:42.000Z | 2019-12-05T08:22:30.000Z | // Copyright Diego Ramirez 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 <cpl/graph/hopcroft_karp_maximum_matching.hpp>
#include <gtest/gtest.h>
#include <cpl/graph/undirect... | 25.778947 | 66 | 0.717436 | dieram3 |
28cc8d21be3ce9458f66297e6ab66ffb1beb3cbd | 4,041 | hh | C++ | src/utilities/SoftEquivalence.hh | RLReed/libdetran | 77637c788823e0a14aae7e40e476a291f6f3184b | [
"MIT"
] | 4 | 2015-03-07T16:20:23.000Z | 2020-02-10T13:40:16.000Z | src/utilities/SoftEquivalence.hh | RLReed/libdetran | 77637c788823e0a14aae7e40e476a291f6f3184b | [
"MIT"
] | 3 | 2018-02-27T21:24:22.000Z | 2020-12-16T00:56:44.000Z | src/utilities/SoftEquivalence.hh | RLReed/libdetran | 77637c788823e0a14aae7e40e476a291f6f3184b | [
"MIT"
] | 9 | 2015-03-07T16:20:26.000Z | 2022-01-29T00:14:23.000Z | //----------------------------------*-C++-*----------------------------------//
/*!
* \file SoftEquivalence.hh
* \author Thomas M. Evans
* \date Wed Jan 2 11:56:34 2008
* \brief Soft_Equivalence functions for floating point comparisons.
* \note Copyright (C) 2008 Oak Ridge National Laboratory, UT-Battelle,... | 30.156716 | 79 | 0.559515 | RLReed |
28ce8af4143ff19d583332b509c6398226fc6134 | 9,412 | hxx | C++ | opencascade/Interface_STAT.hxx | mgreminger/OCP | 92eacb99497cd52b419c8a4a8ab0abab2330ed42 | [
"Apache-2.0"
] | null | null | null | opencascade/Interface_STAT.hxx | mgreminger/OCP | 92eacb99497cd52b419c8a4a8ab0abab2330ed42 | [
"Apache-2.0"
] | null | null | null | opencascade/Interface_STAT.hxx | mgreminger/OCP | 92eacb99497cd52b419c8a4a8ab0abab2330ed42 | [
"Apache-2.0"
] | null | null | null | // Created on: 1996-02-15
// Created by: Christian CAILLET
// Copyright (c) 1996-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the ... | 41.462555 | 308 | 0.7364 | mgreminger |
28cf4bbe155ccc9971686cfb6b853d29341fd1dd | 1,260 | cpp | C++ | GTD/src/GTD/Renderer/ShaderLibrary.cpp | dunn0052/GTD | 24081069c4418ea7357301dc02ab417aff9990d7 | [
"Apache-2.0"
] | null | null | null | GTD/src/GTD/Renderer/ShaderLibrary.cpp | dunn0052/GTD | 24081069c4418ea7357301dc02ab417aff9990d7 | [
"Apache-2.0"
] | null | null | null | GTD/src/GTD/Renderer/ShaderLibrary.cpp | dunn0052/GTD | 24081069c4418ea7357301dc02ab417aff9990d7 | [
"Apache-2.0"
] | null | null | null | #include "../PCH/PCH.h"
#include "ShaderLibrary.h"
namespace GTD
{
void GTD::ShaderLibrary::Add(const Ref<IShader>& shader)
{
auto& name = shader->GetName();
auto ret = m_Shaders.try_emplace(name, shader);
GTD_ASSERT(ret.second, "Shader " + name + "already exists!");
LOG_DEBUG("... | 30 | 110 | 0.607937 | dunn0052 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.