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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b4164edbfe7518bde515d81efcbc03e2a258e6c4 | 15,065 | cpp | C++ | lanelet2_traffic_rules/src/GenericTrafficRules.cpp | icolwell-as/Lanelet2 | 0e2e222352936cd70a9fab5256684a97c3091996 | [
"BSD-3-Clause"
] | 2 | 2019-07-17T16:54:03.000Z | 2020-01-31T08:56:39.000Z | lanelet2_traffic_rules/src/GenericTrafficRules.cpp | icolwell-as/Lanelet2 | 0e2e222352936cd70a9fab5256684a97c3091996 | [
"BSD-3-Clause"
] | null | null | null | lanelet2_traffic_rules/src/GenericTrafficRules.cpp | icolwell-as/Lanelet2 | 0e2e222352936cd70a9fab5256684a97c3091996 | [
"BSD-3-Clause"
] | 1 | 2021-06-01T21:08:37.000Z | 2021-06-01T21:08:37.000Z | #include "GenericTrafficRules.h"
#include <lanelet2_core/geometry/Area.h>
#include <lanelet2_core/geometry/Lanelet.h>
#include <lanelet2_core/primitives/RegulatoryElement.h>
#include <lanelet2_core/utility/Units.h>
#include "Exceptions.h"
namespace lanelet {
namespace traffic_rules {
namespace {
bool canChangeToLeft(... | 41.387363 | 120 | 0.709525 | icolwell-as |
b4247dbf89f1df83991196174a5440113f1f4df2 | 2,305 | cpp | C++ | cognitics/src/ctl/ID.cpp | mikedig/cdb-productivity-api | e2bedaa550a8afa780c01f864d72e0aebd87dd5a | [
"MIT"
] | null | null | null | cognitics/src/ctl/ID.cpp | mikedig/cdb-productivity-api | e2bedaa550a8afa780c01f864d72e0aebd87dd5a | [
"MIT"
] | null | null | null | cognitics/src/ctl/ID.cpp | mikedig/cdb-productivity-api | e2bedaa550a8afa780c01f864d72e0aebd87dd5a | [
"MIT"
] | null | null | null | /*************************************************************************
Copyright (c) 2019 Cognitics, 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... | 31.575342 | 77 | 0.62603 | mikedig |
b425167be87e0b43fbb43d796c5b546638d0bd4f | 26,475 | cpp | C++ | gdal/ogr/ogrsf_frmts/mdb/ogrmdbjackcess.cpp | CesiumGS/gdal | a52a503d72554226b955e4607eb0c2404c107e74 | [
"MIT"
] | 1 | 2020-02-22T01:28:29.000Z | 2020-02-22T01:28:29.000Z | gdal/ogr/ogrsf_frmts/mdb/ogrmdbjackcess.cpp | AnalyticalGraphicsInc/gdal | a52a503d72554226b955e4607eb0c2404c107e74 | [
"MIT"
] | null | null | null | gdal/ogr/ogrsf_frmts/mdb/ogrmdbjackcess.cpp | AnalyticalGraphicsInc/gdal | a52a503d72554226b955e4607eb0c2404c107e74 | [
"MIT"
] | 2 | 2018-05-08T01:51:34.000Z | 2019-06-26T05:08:56.000Z | /******************************************************************************
*
* Project: OpenGIS Simple Features Reference Implementation
* Purpose: Implements OGRMDBJavaEnv class.
* Author: Even Rouault, <even dot rouault at mines dash paris dot org>
*
****************************************************... | 35.066225 | 139 | 0.529443 | CesiumGS |
b426a44097f1413183635bbaed32be8276ea14e1 | 18,333 | cpp | C++ | Test/UnitTests/ThreadSafeTests.cpp | Colorfingers/QuantumGate | e183e02464859f4ca486999182c4c41221f3261a | [
"MIT"
] | 87 | 2018-09-01T05:29:22.000Z | 2022-03-13T17:44:00.000Z | Test/UnitTests/ThreadSafeTests.cpp | Colorfingers/QuantumGate | e183e02464859f4ca486999182c4c41221f3261a | [
"MIT"
] | 6 | 2019-01-30T14:48:17.000Z | 2022-03-14T21:10:56.000Z | Test/UnitTests/ThreadSafeTests.cpp | Colorfingers/QuantumGate | e183e02464859f4ca486999182c4c41221f3261a | [
"MIT"
] | 16 | 2018-11-25T23:09:47.000Z | 2022-02-01T22:14:11.000Z | // This file is part of the QuantumGate project. For copyright and
// licensing information refer to the license file(s) in the project root.
#include "pch.h"
#include "Concurrency\ThreadSafe.h"
#include <thread>
#include <atomic>
#include <condition_variable>
using namespace std::literals;
using namespace Microsoft... | 28.248074 | 130 | 0.680903 | Colorfingers |
b4281155493026c32652ab3fdd5f09123e6f3054 | 295 | cpp | C++ | 2019Homeworks/20191019_2018MidTerm/2.GroupPhoto.cpp | Guyutongxue/Introduction_to_Computation | 062f688fe3ffb8e29cfaf139223e4994edbf64d6 | [
"WTFPL"
] | 8 | 2019-10-09T14:33:42.000Z | 2020-12-03T00:49:29.000Z | 2019Homeworks/20191019_2018MidTerm/2.GroupPhoto.cpp | Guyutongxue/Introduction_to_Computation | 062f688fe3ffb8e29cfaf139223e4994edbf64d6 | [
"WTFPL"
] | null | null | null | 2019Homeworks/20191019_2018MidTerm/2.GroupPhoto.cpp | Guyutongxue/Introduction_to_Computation | 062f688fe3ffb8e29cfaf139223e4994edbf64d6 | [
"WTFPL"
] | null | null | null | #include<iostream>
#include<algorithm>
using namespace std;
int a[102];
int main(){
while(true){
int n;
cin>>n;
if(n==0)break;
for(int i=1;i<=n;i++){
cin>>a[i];
}
sort(a+1,a+n+1);
cout<<a[n/2+1]<<endl;
}
return 0;
} | 17.352941 | 30 | 0.447458 | Guyutongxue |
b42f35f91004d9c68fe896a91e86c85c7afb9590 | 13,404 | cpp | C++ | test/binary.cpp | ckeitz/arrayfire | a1a1bbbc8487a032eb27a6c894b1b3dfb19d123b | [
"BSD-3-Clause"
] | 4 | 2015-12-16T09:41:32.000Z | 2018-10-29T10:38:53.000Z | test/binary.cpp | ckeitz/arrayfire | a1a1bbbc8487a032eb27a6c894b1b3dfb19d123b | [
"BSD-3-Clause"
] | 3 | 2015-11-15T18:43:47.000Z | 2015-12-16T09:43:14.000Z | test/binary.cpp | pavanky/arrayfire | f983a79c7d402450bd2a704bbc1015b89f0cd504 | [
"BSD-3-Clause"
] | null | null | null | /*******************************************************
* Copyright (c) 2014, ArrayFire
* All rights reserved.
*
* This file is distributed under 3-clause BSD license.
* The complete license agreement can be obtained at:
* http://arrayfire.com/licenses/BSD-3-Clause
**********************************************... | 50.202247 | 93 | 0.348478 | ckeitz |
b43261efe5427bd3076949005633fdf41c001c09 | 988 | hpp | C++ | lib/enhance/iterator_utility.hpp | simonraschke/vesicle2 | 14aa0b2c7a7f587a861c67ba736e2047faecc0e0 | [
"Apache-2.0"
] | 1 | 2019-03-15T15:27:28.000Z | 2019-03-15T15:27:28.000Z | lib/enhance/iterator_utility.hpp | simonraschke/vesicle2 | 14aa0b2c7a7f587a861c67ba736e2047faecc0e0 | [
"Apache-2.0"
] | null | null | null | lib/enhance/iterator_utility.hpp | simonraschke/vesicle2 | 14aa0b2c7a7f587a861c67ba736e2047faecc0e0 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2019 Simon Raschke
*
* 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... | 32.933333 | 95 | 0.696356 | simonraschke |
b4351c596c7ca51a9fc78c7cf2468538eaaf6ad4 | 2,648 | cpp | C++ | ext/libgecode3/vendor/gecode-3.7.3/test/int/basic.cpp | skottler/dep-selector-libgecode | d6be8b2a3fe7eed74e287e3e208659212dfc4b1d | [
"Apache-2.0"
] | 8 | 2015-02-02T19:45:57.000Z | 2021-11-27T17:54:56.000Z | ext/libgecode3/vendor/gecode-3.7.3/test/int/basic.cpp | skottler/dep-selector-libgecode | d6be8b2a3fe7eed74e287e3e208659212dfc4b1d | [
"Apache-2.0"
] | 28 | 2015-01-26T16:17:42.000Z | 2021-06-25T15:31:09.000Z | ext/libgecode3/vendor/gecode-3.7.3/test/int/basic.cpp | skottler/dep-selector-libgecode | d6be8b2a3fe7eed74e287e3e208659212dfc4b1d | [
"Apache-2.0"
] | 14 | 2015-03-27T23:01:40.000Z | 2022-03-26T11:21:49.000Z | /* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
* Main authors:
* Christian Schulte <schulte@gecode.org>
*
* Copyright:
* Christian Schulte, 2005
*
* Last modified:
* $Date: 2010-04-08 20:35:31 +1000 (Thu, 08 Apr 2010) $ by $Author: schulte $
* $Revision: 10684 $
*
* ... | 31.903614 | 82 | 0.63935 | skottler |
b4384f2f7e3a6a979ab45443a1a339e5911ebc71 | 701 | hpp | C++ | src/feata-gui/gui/wgt/basewidget.hpp | master-clown/ofeata | 306cbc3a402551fb62b3925d23a2d4f63f60d525 | [
"MIT"
] | 1 | 2021-08-30T13:51:42.000Z | 2021-08-30T13:51:42.000Z | src/feata-gui/gui/wgt/basewidget.hpp | master-clown/ofeata | 306cbc3a402551fb62b3925d23a2d4f63f60d525 | [
"MIT"
] | null | null | null | src/feata-gui/gui/wgt/basewidget.hpp | master-clown/ofeata | 306cbc3a402551fb62b3925d23a2d4f63f60d525 | [
"MIT"
] | 1 | 2021-08-30T13:51:35.000Z | 2021-08-30T13:51:35.000Z | #pragma once
#include <QFrame>
namespace plug { struct PluginSettingValue; }
namespace gui::wgt
{
class BaseWidget
: public QFrame
{
public:
BaseWidget(QWidget* parent = nullptr);
virtual bool Init(const plug::PluginSettingValue& val) = 0;
/**
... | 20.028571 | 79 | 0.570613 | master-clown |
b440984398fda7f6f76e495381f0d08ef94be3e6 | 32,432 | cc | C++ | src/bgp/test/routepath_replicator_random_test.cc | awesome-sdx/contrail-controller | ff328a928a32ea755dab0b9c9e25ab9b1a6b6267 | [
"Apache-2.0"
] | null | null | null | src/bgp/test/routepath_replicator_random_test.cc | awesome-sdx/contrail-controller | ff328a928a32ea755dab0b9c9e25ab9b1a6b6267 | [
"Apache-2.0"
] | null | null | null | src/bgp/test/routepath_replicator_random_test.cc | awesome-sdx/contrail-controller | ff328a928a32ea755dab0b9c9e25ab9b1a6b6267 | [
"Apache-2.0"
] | 1 | 2021-03-09T10:44:33.000Z | 2021-03-09T10:44:33.000Z | /*
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
*/
#include "bgp/routing-instance/routepath_replicator.h"
#include <algorithm>
#include <iostream>
#include <sstream>
#include <set>
#include <string>
#include <boost/assign/list_of.hpp>
#include <boost/foreach.hpp>
#ifdef __clang__
#pragma clang... | 36.770975 | 81 | 0.522416 | awesome-sdx |
b4412ece324403b46722949334720c9e874a5185 | 5,862 | hpp | C++ | src/globalinclude/commonFunc/ThreadPool.hpp | tangtgithub/common_robotframe | f098d688bde1d2b2d5d6fac430c98b952621b7c1 | [
"MIT"
] | 5 | 2021-07-21T11:38:09.000Z | 2021-11-26T03:16:09.000Z | src/globalinclude/commonFunc/ThreadPool.hpp | tangtgithub/common_robotframe | f098d688bde1d2b2d5d6fac430c98b952621b7c1 | [
"MIT"
] | null | null | null | src/globalinclude/commonFunc/ThreadPool.hpp | tangtgithub/common_robotframe | f098d688bde1d2b2d5d6fac430c98b952621b7c1 | [
"MIT"
] | null | null | null | /** *******************************************************
* @brief :线程池类
* @author :tangt
* @date :2021-02-02
* @copyright :Copyright (C) 2021 - All Rights Reserved
* @note :对于返回值为void的function,只执行一次
* 对于返回值为int的function,一直执行直至返回值为0
* 对于返回值为bool的function,... | 28.318841 | 108 | 0.522518 | tangtgithub |
b441a906b48bed28e224b2435faf4287f5e342ec | 3,034 | cpp | C++ | ai.cpp | Joeization/Othello | e61a19b0d8ea4a2967f6021ca6c7ac4cc346640e | [
"MIT"
] | null | null | null | ai.cpp | Joeization/Othello | e61a19b0d8ea4a2967f6021ca6c7ac4cc346640e | [
"MIT"
] | null | null | null | ai.cpp | Joeization/Othello | e61a19b0d8ea4a2967f6021ca6c7ac4cc346640e | [
"MIT"
] | null | null | null | #include "ai.h"
ai *umikaze = new ai(0);
float sigmoid(float v){
return v/(abs(v)+1);
}
void ai::set_weight(){
for(int l=0;l<Layer;l++){
for(int fi=0;fi<8;fi++){
for(int fj=0;fj<8;fj++){
for(int ti=0;ti<8;ti++){
for(int tj=0;tj<8;tj++){
... | 28.35514 | 75 | 0.359262 | Joeization |
b44410f9928fce7c9dfbdecb00203eff223c9f0d | 22,827 | cxx | C++ | Modules/Filtering/DisplacementField/test/itkDisplacementFieldTransformTest.cxx | yjcchen0913/ITK | 36c5bace788d84ab8f6de1e49ccfb88c0015ce5a | [
"Apache-2.0"
] | null | null | null | Modules/Filtering/DisplacementField/test/itkDisplacementFieldTransformTest.cxx | yjcchen0913/ITK | 36c5bace788d84ab8f6de1e49ccfb88c0015ce5a | [
"Apache-2.0"
] | 1 | 2017-08-18T19:28:52.000Z | 2017-08-18T19:28:52.000Z | Modules/Filtering/DisplacementField/test/itkDisplacementFieldTransformTest.cxx | yjcchen0913/ITK | 36c5bace788d84ab8f6de1e49ccfb88c0015ce5a | [
"Apache-2.0"
] | 1 | 2017-08-18T19:07:39.000Z | 2017-08-18T19:07:39.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... | 34.429864 | 108 | 0.693389 | yjcchen0913 |
b44482363780ee5e513c8c3f528e30e95abcbb16 | 845 | cpp | C++ | 6. Polymorphism/3. Operator Overloading/5. Unary Operators/2.Negative.cpp | Imran4424/C-Plus-Plus-Object-Oriented | a9c16ce6506b4cc0f3ec82fdf2e750bec50aab79 | [
"MIT"
] | 3 | 2019-11-06T15:43:06.000Z | 2020-06-05T10:47:28.000Z | 6. Polymorphism/3. Operator Overloading/5. Unary Operators/2.Negative.cpp | Imran4424/C-Plus-Plus-Object-Oriented | a9c16ce6506b4cc0f3ec82fdf2e750bec50aab79 | [
"MIT"
] | null | null | null | 6. Polymorphism/3. Operator Overloading/5. Unary Operators/2.Negative.cpp | Imran4424/C-Plus-Plus-Object-Oriented | a9c16ce6506b4cc0f3ec82fdf2e750bec50aab79 | [
"MIT"
] | 1 | 2019-09-06T03:37:08.000Z | 2019-09-06T03:37:08.000Z | #include <iostream>
using namespace std;
class Data
{
private: int x,y;
private: bool isPositive;
public: Data()
{
x = 0;
y = 0;
isPositive = true;
}
public: Data(int x, int y, bool isPositive)
{
this -> x = x;
this -> y = y;
this -> isPositive = isPositive;
}
public: void Show()
{
cout << "... | 15.089286 | 70 | 0.556213 | Imran4424 |
b448dc3d9c08d44b0fc12e01038a2cd5d34f4957 | 50,384 | cpp | C++ | sp/src/vgui2/vgui_controls/AnimationController.cpp | jarnar85/source-sdk-2013 | 8c279299883421fd78e7691545522ea863e0b646 | [
"Unlicense"
] | null | null | null | sp/src/vgui2/vgui_controls/AnimationController.cpp | jarnar85/source-sdk-2013 | 8c279299883421fd78e7691545522ea863e0b646 | [
"Unlicense"
] | 8 | 2019-09-07T10:19:52.000Z | 2020-03-31T19:44:45.000Z | sp/src/vgui2/vgui_controls/AnimationController.cpp | jarnar85/source-sdk-2013 | 8c279299883421fd78e7691545522ea863e0b646 | [
"Unlicense"
] | null | null | null | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#pragma warning( disable : 4244 ) // conversion from 'double' to 'float', possible loss of data
#include <vgui/IScheme.h>
#include <vgui/ISur... | 30.315283 | 209 | 0.585464 | jarnar85 |
b449397db6699c587e98e79a0fad1215f948a4f3 | 6,476 | cpp | C++ | app/ioHandler.cpp | clueless-bachu/Human-Detector | 0ec8ae9fb753607fc2e556ba2dcd23e9ebe1ba32 | [
"MIT"
] | null | null | null | app/ioHandler.cpp | clueless-bachu/Human-Detector | 0ec8ae9fb753607fc2e556ba2dcd23e9ebe1ba32 | [
"MIT"
] | null | null | null | app/ioHandler.cpp | clueless-bachu/Human-Detector | 0ec8ae9fb753607fc2e556ba2dcd23e9ebe1ba32 | [
"MIT"
] | 1 | 2020-11-02T02:18:42.000Z | 2020-11-02T02:18:42.000Z | /**
* @file ioHandler.cpp
* @author Vasista (clueless-bachu)
* @author Vishnuu (vishnuu95)
* @brief This file has all function definitions for IOHandler class
* @copyright MIT License (c) 2020 Vasista and Vishnuu.
*/
#include <bits/stdc++.h>
#include "opencv2/opencv.hpp"
#include <opencv2/tracking/track... | 26.983333 | 87 | 0.598981 | clueless-bachu |
b44cd2b7060a7301a125f0c607b04385e1e17205 | 2,090 | cpp | C++ | unit_tests/command_stream/create_command_stream_receiver_tests.cpp | FelipeMLopez/compute-runtime | 3e3d2d3b3ac9129b1ee9c4251a2586fef0b300b8 | [
"MIT"
] | null | null | null | unit_tests/command_stream/create_command_stream_receiver_tests.cpp | FelipeMLopez/compute-runtime | 3e3d2d3b3ac9129b1ee9c4251a2586fef0b300b8 | [
"MIT"
] | null | null | null | unit_tests/command_stream/create_command_stream_receiver_tests.cpp | FelipeMLopez/compute-runtime | 3e3d2d3b3ac9129b1ee9c4251a2586fef0b300b8 | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2018-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "core/execution_environment/execution_environment.h"
#include "core/unit_tests/helpers/debug_manager_state_restore.h"
#include "core/unit_tests/helpers/ult_hw_config.h"
#include "runtime/command_stream/command_stream_rec... | 36.666667 | 134 | 0.798086 | FelipeMLopez |
b450a5558325cf825441165bfda0e1bfba8c39d5 | 3,688 | cpp | C++ | src/Usb33Camera.cpp | TheImagingSource/tcam-firmware-update | a8feb157e73e36bf898bf4d6a025fef839df9584 | [
"Apache-2.0"
] | null | null | null | src/Usb33Camera.cpp | TheImagingSource/tcam-firmware-update | a8feb157e73e36bf898bf4d6a025fef839df9584 | [
"Apache-2.0"
] | null | null | null | src/Usb33Camera.cpp | TheImagingSource/tcam-firmware-update | a8feb157e73e36bf898bf4d6a025fef839df9584 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2017 The Imaging Source Europe GmbH
*
* 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 la... | 21.44186 | 91 | 0.608731 | TheImagingSource |
b45126c4c9f9bac4d617ceb171c3a9beca596a8f | 86,666 | cpp | C++ | igl/copyleft/cgal/remesh_intersections.cpp | ntg7creation/CG3DBasicEngine | 4235dea17eab956e7dc5829618b5fe5642735ebc | [
"Apache-2.0"
] | 2 | 2022-03-28T14:10:50.000Z | 2022-03-28T14:10:51.000Z | igl/copyleft/cgal/remesh_intersections.cpp | ntg7creation/CG3DBasicEngine | 4235dea17eab956e7dc5829618b5fe5642735ebc | [
"Apache-2.0"
] | null | null | null | igl/copyleft/cgal/remesh_intersections.cpp | ntg7creation/CG3DBasicEngine | 4235dea17eab956e7dc5829618b5fe5642735ebc | [
"Apache-2.0"
] | 2 | 2022-03-23T10:33:10.000Z | 2022-03-28T14:09:55.000Z | // This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2015 Qingnan Zhou <qnzhou@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public License
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
// obtain one at http://moz... | 158.728938 | 1,491 | 0.618836 | ntg7creation |
b455871a0f4904c49088fb10fd8a0ebb76021166 | 2,073 | hpp | C++ | MPAGSCipher/PlayfairCipher.hpp | tomlatham/mpags-day-4-dbradders-1 | 35ba61b1c124796e4ad55b108e8bed7ac4e50c48 | [
"MIT"
] | null | null | null | MPAGSCipher/PlayfairCipher.hpp | tomlatham/mpags-day-4-dbradders-1 | 35ba61b1c124796e4ad55b108e8bed7ac4e50c48 | [
"MIT"
] | null | null | null | MPAGSCipher/PlayfairCipher.hpp | tomlatham/mpags-day-4-dbradders-1 | 35ba61b1c124796e4ad55b108e8bed7ac4e50c48 | [
"MIT"
] | null | null | null | #ifndef MPAGSCIPHER_PLAYFAIRCIPHER_HPP
#define MPAGSCIPHER_PLAYFAIRCIPHER_HPP
#include <map>
#include <string>
#include <vector>
#include "CipherMode.hpp"
/**
* \file PlayfairCipher.hpp
* \brief Contains the declaration of the PlayfairCipher class
*/
/**
* \class PlayfairCipher
* \brief Encrypt or decrypt text ... | 24.975904 | 91 | 0.705258 | tomlatham |
b455b52c2f5d5ea9edb2e475d613720e8e545935 | 35,390 | cpp | C++ | projects/examples/ex_image_readback/src/renderer/readback_benchmark.cpp | Nyran/schism | c2cdb8884e3e6714a3b291f0f754220b7f5cbc7b | [
"BSD-3-Clause"
] | 10 | 2015-09-17T06:01:03.000Z | 2019-10-23T07:10:20.000Z | projects/examples/ex_image_readback/src/renderer/readback_benchmark.cpp | Nyran/schism | c2cdb8884e3e6714a3b291f0f754220b7f5cbc7b | [
"BSD-3-Clause"
] | 5 | 2015-01-06T14:11:32.000Z | 2016-12-12T10:26:53.000Z | projects/examples/ex_image_readback/src/renderer/readback_benchmark.cpp | Nyran/schism | c2cdb8884e3e6714a3b291f0f754220b7f5cbc7b | [
"BSD-3-Clause"
] | 15 | 2015-01-29T20:56:13.000Z | 2020-07-02T19:03:20.000Z |
// Copyright (c) 2012 Christopher Lux <christopherlux@gmail.com>
// Distributed under the Modified BSD License, see license.txt.
#include "readback_benchmark.h"
#include <exception>
#include <stdexcept>
#include <sstream>
#include <string>
#include <boost/bind.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/... | 42.845036 | 222 | 0.632184 | Nyran |
b45962421bee00eacdccf001b0467d55a11c7e40 | 2,625 | cpp | C++ | OGDF/src/ogdf/basic/Math.cpp | shahnidhi/MetaCarvel | f3bea5fdbbecec4c9becc6bbdc9585a939eb5481 | [
"MIT"
] | 13 | 2017-12-21T03:35:41.000Z | 2022-01-31T13:45:25.000Z | OGDF/src/ogdf/basic/Math.cpp | shahnidhi/MetaCarvel | f3bea5fdbbecec4c9becc6bbdc9585a939eb5481 | [
"MIT"
] | 7 | 2017-09-13T01:31:24.000Z | 2021-12-14T00:31:50.000Z | OGDF/src/ogdf/basic/Math.cpp | shahnidhi/MetaCarvel | f3bea5fdbbecec4c9becc6bbdc9585a939eb5481 | [
"MIT"
] | 15 | 2017-09-07T18:28:55.000Z | 2022-01-18T14:17:43.000Z | /** \file
* \brief Implementation of mathematical constants, functions.
*
* \author Carsten Gutwenger
*
* \par License:
* This file is part of the Open Graph Drawing Framework (OGDF).
*
* \par
* Copyright (C)<br>
* See README.txt in the root directory of the OGDF installation for details.
*
* \par
* This p... | 25.240385 | 77 | 0.645333 | shahnidhi |
b45b4aecfce3e36a32657608eebf8ef96cfaccd0 | 16,273 | cpp | C++ | piel/gavcquery.cpp | diakovliev/pie | eb957a5e44496ba802d8b4fcace64ad48be16871 | [
"BSD-3-Clause"
] | null | null | null | piel/gavcquery.cpp | diakovliev/pie | eb957a5e44496ba802d8b4fcace64ad48be16871 | [
"BSD-3-Clause"
] | null | null | null | piel/gavcquery.cpp | diakovliev/pie | eb957a5e44496ba802d8b4fcace64ad48be16871 | [
"BSD-3-Clause"
] | 1 | 2017-12-28T11:37:42.000Z | 2017-12-28T11:37:42.000Z | /*
* Copyright (c) 2017, Dmytro Iakovliev daemondzk@gmail.com
* 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
* no... | 32.676707 | 130 | 0.584834 | diakovliev |
b45d56b0fbcc0c1c57ca6644d8c1f10b640d670b | 579 | cpp | C++ | unicode_back/character_categories/punctuation_connector.cpp | do-m-en/random_regex_string | 7ded2dcf7c03122a68e66b5db6f94403e8c9c690 | [
"BSL-1.0"
] | null | null | null | unicode_back/character_categories/punctuation_connector.cpp | do-m-en/random_regex_string | 7ded2dcf7c03122a68e66b5db6f94403e8c9c690 | [
"BSL-1.0"
] | null | null | null | unicode_back/character_categories/punctuation_connector.cpp | do-m-en/random_regex_string | 7ded2dcf7c03122a68e66b5db6f94403e8c9c690 | [
"BSL-1.0"
] | null | null | null | #include "punctuation_connector.hpp"
namespace {
static const std::vector<char32_t> characters
{
0x5F,
0x203F,
0x2040,
0x2054,
0xFE33,
0xFE34,
0xFE4D,
0xFE4E,
0xFE4F,
0xFF3F
};
}
/*
Character Name
U+005F LOW LINE
U+203F UNDERTIE
U+2040 ... | 16.542857 | 54 | 0.64076 | do-m-en |
b45f97391080ce46eebdff3aef796ce39dcd3d1c | 544 | hpp | C++ | shapes/Bat.hpp | PabloMorenoUm/Projekt | ebd5b4bfbd5da0e86ade850ce0cd701e8eff2e83 | [
"MIT"
] | null | null | null | shapes/Bat.hpp | PabloMorenoUm/Projekt | ebd5b4bfbd5da0e86ade850ce0cd701e8eff2e83 | [
"MIT"
] | 9 | 2021-06-30T14:58:40.000Z | 2021-08-22T22:36:31.000Z | shapes/Bat.hpp | PabloMorenoUm/Projekt | ebd5b4bfbd5da0e86ade850ce0cd701e8eff2e83 | [
"MIT"
] | null | null | null | //
// Created by Pablo Moreno Um on 19.07.21.
//
#ifndef PROJEKT_BAT_HPP
#define PROJEKT_BAT_HPP
#include "BallBat.hpp"
#include "Direction.hpp"
#include "WindowSize.hpp"
class Bat: public BallBat {
Direction m_RightPressed{};
Direction m_LeftPressed{};
WindowSize m_WindowSize;
void moveLeft(const fl... | 20.923077 | 51 | 0.720588 | PabloMorenoUm |
b46f0d870f4d04be3313b7187a7b89db7e9c9d20 | 4,973 | hpp | C++ | modules/dnn/src/cuda4dnn/primitives/eltwise.hpp | xipingyan/opencv | 39c3334147ec02761b117f180c9c4518be18d1fa | [
"Apache-2.0"
] | 56,632 | 2016-07-04T16:36:08.000Z | 2022-03-31T18:38:14.000Z | modules/dnn/src/cuda4dnn/primitives/eltwise.hpp | yusufm423/opencv | 6a2077cbd8a8a0d8cbd3e0e8c3ca239f17e6c067 | [
"Apache-2.0"
] | 13,593 | 2016-07-04T13:59:03.000Z | 2022-03-31T21:04:51.000Z | modules/dnn/src/cuda4dnn/primitives/eltwise.hpp | yusufm423/opencv | 6a2077cbd8a8a0d8cbd3e0e8c3ca239f17e6c067 | [
"Apache-2.0"
] | 54,986 | 2016-07-04T14:24:38.000Z | 2022-03-31T22:51:18.000Z | // This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
#ifndef OPENCV_DNN_SRC_CUDA4DNN_PRIMITIVES_ELTWISE_HPP
#define OPENCV_DNN_SRC_CUDA4DNN_PRIMITIVES_ELTWISE_HPP
#include "../.... | 37.961832 | 114 | 0.550975 | xipingyan |
b47ba741388e0adbfb595f50a2a0fa54f6319696 | 3,224 | cpp | C++ | contracts/amax.bootdao/src/bootdao.cpp | armoniax/amax.contracts | adb2a30fd7ed0ab6d3952efe4d73bb13f8d224e1 | [
"MIT"
] | null | null | null | contracts/amax.bootdao/src/bootdao.cpp | armoniax/amax.contracts | adb2a30fd7ed0ab6d3952efe4d73bb13f8d224e1 | [
"MIT"
] | null | null | null | contracts/amax.bootdao/src/bootdao.cpp | armoniax/amax.contracts | adb2a30fd7ed0ab6d3952efe4d73bb13f8d224e1 | [
"MIT"
] | null | null | null |
#include <amax.token.hpp>
#include "bootdao.hpp"
#include <amax.system/amax.system.hpp>
#include <chrono>
using namespace wasm;
using namespace eosiosystem;
static constexpr name AMAX_BANK = "amax.token"_n;
static constexpr symbol AMAX = symbol(symbol_code("AMAX"), 8);
static constexpr eosio::name active_per... | 31.920792 | 105 | 0.654467 | armoniax |
b47cb71adf240a1df4078e85604c536636abd2d1 | 2,504 | cpp | C++ | src/Oscilloscope.cpp | kometbomb/oscilloscoper | 7a0e4fce9b0074e9675bce55e97272c57c517dd0 | [
"MIT"
] | 20 | 2016-08-04T15:20:29.000Z | 2022-03-22T00:24:15.000Z | src/Oscilloscope.cpp | kometbomb/oscilloscoper | 7a0e4fce9b0074e9675bce55e97272c57c517dd0 | [
"MIT"
] | null | null | null | src/Oscilloscope.cpp | kometbomb/oscilloscoper | 7a0e4fce9b0074e9675bce55e97272c57c517dd0 | [
"MIT"
] | 2 | 2017-11-16T15:52:15.000Z | 2018-06-19T04:19:09.000Z | #include "Oscilloscope.hpp"
#include "Wave.hpp"
#include "SDL.h"
#include <algorithm>
Oscilloscope::Oscilloscope(const Wave& wave, int windowSizeMs, float yScale)
: mWave(wave), mResolution(0), mYScale(yScale), mFilterEnabled(false), mFilterCenterFreq(400), mFilterBandwidth(50)
{
mWindowSize = (float)wave.getSampleR... | 22.159292 | 132 | 0.641374 | kometbomb |
b47e32a1acb6b3d749f1ea8d337b77fad81869b2 | 3,245 | inl | C++ | external/gli/gli/core/generate_mipmaps.inl | cloudqiu1110/tinype | de289d45fca89a4ba964ae2577ac9d82784fadd0 | [
"BSD-3-Clause"
] | 143 | 2017-01-03T15:26:44.000Z | 2022-03-28T01:00:52.000Z | external/gli/gli/core/generate_mipmaps.inl | cloudqiu1110/tinype | de289d45fca89a4ba964ae2577ac9d82784fadd0 | [
"BSD-3-Clause"
] | 4 | 2017-01-09T23:02:46.000Z | 2020-10-14T07:20:51.000Z | external/gli/gli/core/generate_mipmaps.inl | cloudqiu1110/tinype | de289d45fca89a4ba964ae2577ac9d82784fadd0 | [
"BSD-3-Clause"
] | 47 | 2017-01-30T11:56:35.000Z | 2022-02-20T23:35:12.000Z | ///////////////////////////////////////////////////////////////////////////////////
/// OpenGL Image (gli.g-truc.net)
///
/// Copyright (c) 2008 - 2013 G-Truc Creation (www.g-truc.net)
/// Permission is hereby granted, free of charge, to any person obtaining a copy
/// of this software and associated documentation file... | 41.075949 | 115 | 0.643451 | cloudqiu1110 |
b47eb7c94ebf483f58f62de5e1ef48d1958af23f | 167 | hpp | C++ | src/cpp/wasm.hpp | semious/layout | 63c8be60855051fd886f8c6ecc1c85c5423473af | [
"MIT"
] | null | null | null | src/cpp/wasm.hpp | semious/layout | 63c8be60855051fd886f8c6ecc1c85c5423473af | [
"MIT"
] | 1 | 2021-12-11T10:35:10.000Z | 2021-12-11T10:35:10.000Z | src/cpp/wasm.hpp | semious/layout | 63c8be60855051fd886f8c6ecc1c85c5423473af | [
"MIT"
] | null | null | null | #ifndef SPIDERJS_H_
#define SPIDERJS_H_
#include <cstddef>
#include <cstdint>
namespace graph_algo
{
namespace wasm
{
extern "C"
{
}
}
}
#endif
| 8.35 | 20 | 0.634731 | semious |
b4803b637ac0dc6e2bb41382710270a85eb71922 | 24,697 | hpp | C++ | include/System/Collections/CollectionBase.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | null | null | null | include/System/Collections/CollectionBase.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | null | null | null | include/System/Collections/CollectionBase.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | 1 | 2022-03-30T21:07:35.000Z | 2022-03-30T21:07:35.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: System.Collections.IList
#include "... | 62.366162 | 218 | 0.752197 | v0idp |
b4812d1abb4a1c7d68f00493ef92e290429e6497 | 3,085 | cpp | C++ | aws-cpp-sdk-macie2/source/model/CreateClassificationJobRequest.cpp | orinem/aws-sdk-cpp | f38413cc1f278689ef14e9ebdd74a489a48776be | [
"Apache-2.0"
] | 1 | 2020-07-16T19:02:58.000Z | 2020-07-16T19:02:58.000Z | aws-cpp-sdk-macie2/source/model/CreateClassificationJobRequest.cpp | novaquark/aws-sdk-cpp | a0969508545bec9ae2864c9e1e2bb9aff109f90c | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-macie2/source/model/CreateClassificationJobRequest.cpp | novaquark/aws-sdk-cpp | a0969508545bec9ae2864c9e1e2bb9aff109f90c | [
"Apache-2.0"
] | null | null | null | /*
* 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.286885 | 157 | 0.757212 | orinem |
b485041ec667ac5ffba8ff136d314a4e97077f23 | 32,428 | cpp | C++ | tests/XINTOUTTests.cpp | gyzhangqm/overkit-1 | 490aa77a79bd9708d7f2af0f3069b86545a2cebc | [
"MIT"
] | null | null | null | tests/XINTOUTTests.cpp | gyzhangqm/overkit-1 | 490aa77a79bd9708d7f2af0f3069b86545a2cebc | [
"MIT"
] | null | null | null | tests/XINTOUTTests.cpp | gyzhangqm/overkit-1 | 490aa77a79bd9708d7f2af0f3069b86545a2cebc | [
"MIT"
] | 1 | 2021-07-21T06:48:19.000Z | 2021-07-21T06:48:19.000Z | // Copyright (c) 2020 Matthew J. Smith and Overkit contributors
// License: MIT (http://opensource.org/licenses/MIT)
#include <ovk/extras/XINTOUT.hpp>
#include "tests/MPITest.hpp"
#include "tests/fixtures/Interface.hpp"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <ovk/core/Array.hpp>
#include <ovk/co... | 42.500655 | 97 | 0.636888 | gyzhangqm |
b48d06518c9e25279987caa3c4e84ff5b6713f4a | 196 | cpp | C++ | src/MathHelper.cpp | ThalissonMelo/IDJ-Game | 3d31722479b75151a6e1f328c6b71ec7b1022168 | [
"MIT"
] | null | null | null | src/MathHelper.cpp | ThalissonMelo/IDJ-Game | 3d31722479b75151a6e1f328c6b71ec7b1022168 | [
"MIT"
] | null | null | null | src/MathHelper.cpp | ThalissonMelo/IDJ-Game | 3d31722479b75151a6e1f328c6b71ec7b1022168 | [
"MIT"
] | null | null | null | #include "MathHelper.h"
#define PI 3.141592653589793
float MathHelper::Cos(float angle){
return cos(angle * (PI/180));
}
float MathHelper::Sin(float angle){
return sin(angle * (PI/180));
} | 19.6 | 35 | 0.693878 | ThalissonMelo |
b48d9f37d406b6c69134759aa874c526d13d3194 | 8,830 | cpp | C++ | core/string_db.cpp | masoudbh/godot | c731dd1ba68604ff7e97915e2b9d3011e818ca03 | [
"CC-BY-3.0",
"MIT"
] | 33 | 2015-01-01T23:34:59.000Z | 2020-10-30T02:22:39.000Z | core/string_db.cpp | masoudbh/godot | c731dd1ba68604ff7e97915e2b9d3011e818ca03 | [
"CC-BY-3.0",
"MIT"
] | null | null | null | core/string_db.cpp | masoudbh/godot | c731dd1ba68604ff7e97915e2b9d3011e818ca03 | [
"CC-BY-3.0",
"MIT"
] | 5 | 2015-03-05T01:19:50.000Z | 2020-05-11T05:49:30.000Z | /*************************************************************************/
/* string_db.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | 19.753915 | 83 | 0.602945 | masoudbh |
b48f70e4362a96809995518884ee0393657d91ec | 1,284 | cpp | C++ | tests/0021_merge_two_sorted_lists_test.cpp | paulo-erichsen/leetcode | 78543363f7f938bdbda75de9cdab645daa29466a | [
"MIT"
] | null | null | null | tests/0021_merge_two_sorted_lists_test.cpp | paulo-erichsen/leetcode | 78543363f7f938bdbda75de9cdab645daa29466a | [
"MIT"
] | null | null | null | tests/0021_merge_two_sorted_lists_test.cpp | paulo-erichsen/leetcode | 78543363f7f938bdbda75de9cdab645daa29466a | [
"MIT"
] | null | null | null | #include "0021_merge_two_sorted_lists.cpp"
#include <doctest/doctest.h>
TEST_CASE("mergeTwoListsTest1")
{
auto l = list::make_list({1, 2, 4});
auto r = list::make_list({1, 3, 4});
Solution s = Solution();
auto* result = s.mergeTwoLists(l[0].get(), r[0].get());
// result = 1->1->2->3->4->4
REQ... | 25.176471 | 59 | 0.563084 | paulo-erichsen |
b49358cf2eb205141320ee34c63caa91b7dd2fa1 | 1,006 | cpp | C++ | code/world/props/book.cpp | DamianoOriti/Escape-Room | 0a5612492bf261f13dc5e98c5b786b241d3a1cf2 | [
"MIT"
] | 1 | 2018-10-10T08:58:40.000Z | 2018-10-10T08:58:40.000Z | code/world/props/book.cpp | DamianoOriti/Escape-Room | 0a5612492bf261f13dc5e98c5b786b241d3a1cf2 | [
"MIT"
] | null | null | null | code/world/props/book.cpp | DamianoOriti/Escape-Room | 0a5612492bf261f13dc5e98c5b786b241d3a1cf2 | [
"MIT"
] | null | null | null | #include "book.h"
#include "../../game.h"
Book::Book(const char* bodyFilename, const char* modelFilename, const Vector3f& position,
const Vector3f& rotationAxis, float rotationAngle) :
flag_(false),
pDiaryEntry_(nullptr),
Prop(bodyFilename, modelFilename, true, true, position, rotationAxis, rotationAngle)
{
pDiar... | 20.530612 | 91 | 0.696819 | DamianoOriti |
b4994c1e278c133e0185ecdd2803f310edb95ebd | 6,580 | h++ | C++ | include/nonius/go.h++ | jtippet/nonius | 8c1c2ce24c702bb9a7ec2f0a1bdf7cc52aee6424 | [
"CC0-1.0"
] | 238 | 2015-02-15T09:09:08.000Z | 2022-03-06T03:35:13.000Z | include/nonius/go.h++ | jtippet/nonius | 8c1c2ce24c702bb9a7ec2f0a1bdf7cc52aee6424 | [
"CC0-1.0"
] | 66 | 2015-01-28T10:52:28.000Z | 2016-09-02T11:06:48.000Z | benchmark/nonius/go.h++ | Trick-17/FMath | 7c67597e0c725784bd82a62d40762dffd3f81529 | [
"MIT"
] | 36 | 2016-09-05T10:10:53.000Z | 2022-01-25T13:39:17.000Z | // Nonius - C++ benchmarking tool
//
// Written in 2014- by the nonius contributors <nonius@rmf.io>
//
// To the extent possible under law, the author(s) have dedicated all copyright and related
// and neighboring rights to this software to the public domain worldwide. This software is
// distributed without any warran... | 36.759777 | 153 | 0.609726 | jtippet |
a3348dbf24676dc416428296e587705b3d69f5b9 | 2,788 | cpp | C++ | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcAirTerminalTypeEnum.cpp | vjeranc/ifcplusplus | 215859fb84d5be484d454c2767571dd168612329 | [
"MIT"
] | null | null | null | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcAirTerminalTypeEnum.cpp | vjeranc/ifcplusplus | 215859fb84d5be484d454c2767571dd168612329 | [
"MIT"
] | 1 | 2019-03-06T08:59:24.000Z | 2019-03-06T08:59:24.000Z | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcAirTerminalTypeEnum.cpp | Imerso3D/ifcplusplus | 84d1a5f58db232e07f4f3d233a9efb035f3babd2 | [
"MIT"
] | 1 | 2021-04-26T14:56:09.000Z | 2021-04-26T14:56:09.000Z | /* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */
#include <sstream>
#include <limits>
#include <map>
#include "ifcpp/reader/ReaderUtil.h"
#include "ifcpp/writer/WriterUtil.h"
#include "ifcpp/model/BasicTypes.h"
#include "ifcpp/model/BuildingException.h"
#include "ifcpp/IFC4/include/IfcAirT... | 36.207792 | 161 | 0.712697 | vjeranc |
a334b10273bee22fca8052cc67822adc7d8d6ab4 | 4,534 | cpp | C++ | Tool/kvsconv/UcdConv.cpp | X1aoyueyue/KVS | ad47d62bef4fdd9ddd3412a26ee6557b63f0543b | [
"BSD-3-Clause"
] | 42 | 2015-07-24T23:05:07.000Z | 2022-03-16T01:31:04.000Z | Tool/kvsconv/UcdConv.cpp | X1aoyueyue/KVS | ad47d62bef4fdd9ddd3412a26ee6557b63f0543b | [
"BSD-3-Clause"
] | 4 | 2015-03-17T05:42:49.000Z | 2020-08-09T15:21:45.000Z | Tool/kvsconv/UcdConv.cpp | X1aoyueyue/KVS | ad47d62bef4fdd9ddd3412a26ee6557b63f0543b | [
"BSD-3-Clause"
] | 29 | 2015-01-03T05:56:32.000Z | 2021-10-05T15:28:33.000Z | /*****************************************************************************/
/**
* @file UcdConv.cpp
* @author Naohisa Sakamoto
* @brief AVS UCD Data Converter
*/
/*****************************************************************************/
#include "UcdConv.h"
#include <memory>
#include <string>
#includ... | 29.251613 | 82 | 0.491839 | X1aoyueyue |
a33972565473414158d984e6937b1fab7b00d09b | 1,288 | cpp | C++ | EXAMPLES/WebSnap/LocateFileService/mainpg.cpp | earthsiege2/borland-cpp-ide | 09bcecc811841444338e81b9c9930c0e686f9530 | [
"Unlicense",
"FSFAP",
"Apache-1.1"
] | 1 | 2022-01-13T01:03:55.000Z | 2022-01-13T01:03:55.000Z | EXAMPLES/WebSnap/LocateFileService/mainpg.cpp | earthsiege2/borland-cpp-ide | 09bcecc811841444338e81b9c9930c0e686f9530 | [
"Unlicense",
"FSFAP",
"Apache-1.1"
] | null | null | null | EXAMPLES/WebSnap/LocateFileService/mainpg.cpp | earthsiege2/borland-cpp-ide | 09bcecc811841444338e81b9c9930c0e686f9530 | [
"Unlicense",
"FSFAP",
"Apache-1.1"
] | null | null | null | //---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include <WebReq.hpp>
#include <WebCntxt.hpp>
#include <WebFact.hpp>
#include <WebInit.h>
#include "MainPg.h"
#include "ResourceLocator.h"
USEADDITIONALFILES("*.html");
//--------------------... | 29.953488 | 80 | 0.582298 | earthsiege2 |
a339cdb5c14e6e4c8d427ddb4d9260b62ce90e1a | 3,217 | cpp | C++ | Source/GUI/VCL_New/GUI_Main_Easy.cpp | buckmelanoma/MediaInfo | cf38b0e3d0e6ee2565f49276f423a5792ed62962 | [
"BSD-2-Clause"
] | 743 | 2015-01-13T23:16:53.000Z | 2022-03-31T22:56:27.000Z | Source/GUI/VCL_New/GUI_Main_Easy.cpp | buckmelanoma/MediaInfo | cf38b0e3d0e6ee2565f49276f423a5792ed62962 | [
"BSD-2-Clause"
] | 317 | 2015-07-28T17:50:14.000Z | 2022-03-08T02:41:19.000Z | Source/GUI/VCL_New/GUI_Main_Easy.cpp | buckmelanoma/MediaInfo | cf38b0e3d0e6ee2565f49276f423a5792ed62962 | [
"BSD-2-Clause"
] | 134 | 2015-01-30T05:33:51.000Z | 2022-03-21T09:39:38.000Z | /* Copyright (c) MediaArea.net SARL. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license that can
* be found in the License.html file in the root of the source tree.
*/
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma ... | 28.219298 | 78 | 0.412496 | buckmelanoma |
a33b0cd8ccfcbf54e99f80f7a4a3a1e8a324cb75 | 498 | cpp | C++ | docs/mfc/reference/codesnippet/CPP/ctreectrl-class_46.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 965 | 2017-06-25T23:57:11.000Z | 2022-03-31T14:17:32.000Z | docs/mfc/reference/codesnippet/CPP/ctreectrl-class_46.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 3,272 | 2017-06-24T00:26:34.000Z | 2022-03-31T22:14:07.000Z | docs/mfc/reference/codesnippet/CPP/ctreectrl-class_46.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 951 | 2017-06-25T12:36:14.000Z | 2022-03-26T22:49:06.000Z | // Sort the item in reverse alphabetical order.
int CALLBACK MyCompareProc(LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort)
{
// lParamSort contains a pointer to the tree control.
// The lParam of an item is just its handle,
// as specified with SetItemData
CTreeCtrl* pmyTreeCtrl = (CTreeCtrl*)lParamSort... | 41.5 | 77 | 0.757028 | bobbrow |
a3409799027660eb7bb433e0d4591d4afee0847a | 3,593 | cpp | C++ | src/renderer/vulkan/BackendResources.cpp | Ryp/reaper | da7b3aa4a69b95ced2496214e5cea4eb7823593a | [
"MIT"
] | 10 | 2018-08-16T05:32:46.000Z | 2022-02-04T09:55:54.000Z | src/renderer/vulkan/BackendResources.cpp | Ryp/reaper | da7b3aa4a69b95ced2496214e5cea4eb7823593a | [
"MIT"
] | null | null | null | src/renderer/vulkan/BackendResources.cpp | Ryp/reaper | da7b3aa4a69b95ced2496214e5cea4eb7823593a | [
"MIT"
] | 1 | 2019-05-13T17:56:35.000Z | 2019-05-13T17:56:35.000Z | ////////////////////////////////////////////////////////////////////////////////
/// Reaper
///
/// Copyright (c) 2015-2021 Thibault Schueller
/// This file is distributed under the MIT License
////////////////////////////////////////////////////////////////////////////////
#include "BackendResources.h"
#include "Bac... | 49.219178 | 120 | 0.719733 | Ryp |
a34190411a8ccfb55344da4576c4110b7c56c757 | 1,262 | cpp | C++ | algorithms/cpp/Problems 601-700/_637_AverageOfLevelsInBinaryTree.cpp | shivamacs/LeetCode | f8f8b4e9872c47fbaaf9196c422f7e04986e6c3a | [
"MIT"
] | null | null | null | algorithms/cpp/Problems 601-700/_637_AverageOfLevelsInBinaryTree.cpp | shivamacs/LeetCode | f8f8b4e9872c47fbaaf9196c422f7e04986e6c3a | [
"MIT"
] | null | null | null | algorithms/cpp/Problems 601-700/_637_AverageOfLevelsInBinaryTree.cpp | shivamacs/LeetCode | f8f8b4e9872c47fbaaf9196c422f7e04986e6c3a | [
"MIT"
] | null | null | null | /* Source - https://leetcode.com/problems/average-of-levels-in-binary-tree/
Author - Shivam Arora
*/
#include <bits/stdc++.h>
using namespace std;
struct TreeNode {
int data;
TreeNode* left, *right;
TreeNode (int x) {
data = x;
left = right = NULL;
}
};
vector<double> averageOfLeve... | 22.535714 | 75 | 0.541997 | shivamacs |
a3434d77afccd8c702984f68364c298e98e9e5e8 | 13,829 | cpp | C++ | serverplugin/dbp/tinysap/AvenueSmoothMessage.cpp | shrewdlin/BPE | cf29647479b1b8ed53afadaf70557387f4c07e16 | [
"BSD-3-Clause"
] | 1 | 2016-07-12T06:00:37.000Z | 2016-07-12T06:00:37.000Z | serverplugin/dbp/tinysap/AvenueSmoothMessage.cpp | shrewdlin/BPE | cf29647479b1b8ed53afadaf70557387f4c07e16 | [
"BSD-3-Clause"
] | null | null | null | serverplugin/dbp/tinysap/AvenueSmoothMessage.cpp | shrewdlin/BPE | cf29647479b1b8ed53afadaf70557387f4c07e16 | [
"BSD-3-Clause"
] | 2 | 2016-09-06T07:59:09.000Z | 2020-12-12T03:25:24.000Z | #include "AvenueSmoothMessage.h"
#include <boost/asio.hpp>
#include "Cipher.h"
#include <boost/thread/mutex.hpp>
#include <string>
using std::string;
using sdo::dbp::CCipher;
namespace sdo{
namespace commonsdk{
static boost::mutex s_mutexSequence;
unsigned int CAvenueSmoothEncoder::sm_dwSeq=0;
CAvenueS... | 33.977887 | 137 | 0.701786 | shrewdlin |
a3449aa51756b99f36e7ab6d80f5b945d75b53d1 | 2,075 | cpp | C++ | Source/PluginAiState_Misc1/CAiState_FindEnemy.cpp | shanefarris/CoreGameEngine | 5bef275d1cd4e84aa059f2f4f9e97bfa2414d000 | [
"MIT"
] | 3 | 2019-04-12T15:22:53.000Z | 2022-01-05T02:59:56.000Z | Source/PluginAiState_Misc1/CAiState_FindEnemy.cpp | shanefarris/CoreGameEngine | 5bef275d1cd4e84aa059f2f4f9e97bfa2414d000 | [
"MIT"
] | null | null | null | Source/PluginAiState_Misc1/CAiState_FindEnemy.cpp | shanefarris/CoreGameEngine | 5bef275d1cd4e84aa059f2f4f9e97bfa2414d000 | [
"MIT"
] | 2 | 2019-04-10T22:46:21.000Z | 2020-05-27T16:21:37.000Z | #include "CAiState_FindEnemy.h"
#include "CPlayer.h"
#include "CGameObjectManager.h"
#include "Ai/CFpsVehicle.h"
#include "Ai/Obstacle.h"
#include "CTextOutput.h"
#include "CCharacterStateManager.h"
#include "IO/CoreLogging.h"
using namespace Core;
using namespace Core::Plugin;
CAiState_FindEnemy::CAiState_FindEnemy(... | 25.304878 | 99 | 0.697349 | shanefarris |
a345389a92cadf8e10b26bf9c132db109e688859 | 26,442 | cxx | C++ | src/main.cxx | bwvdnbro/VELOCIraptor-STF | 9c4a07eee20309152bcde40602029315c8bd50ca | [
"MIT"
] | 4 | 2020-08-28T11:29:09.000Z | 2021-10-16T20:17:54.000Z | src/main.cxx | bwvdnbro/VELOCIraptor-STF | 9c4a07eee20309152bcde40602029315c8bd50ca | [
"MIT"
] | 118 | 2019-05-06T11:46:28.000Z | 2022-03-14T17:14:37.000Z | src/main.cxx | bwvdnbro/VELOCIraptor-STF | 9c4a07eee20309152bcde40602029315c8bd50ca | [
"MIT"
] | 4 | 2020-10-01T05:22:31.000Z | 2021-07-26T13:07:42.000Z | /*! \file main.cxx
* \brief Main program
This code initialize MPI (if necessary) and reads parameters from the user input (see \ref ui.cxx)
loads particle data from a N-body output (see \ref io.cxx) into an array of \ref NBody::Particle,
analyzes the system, searches for structures then substructures (se... | 42.511254 | 195 | 0.668482 | bwvdnbro |
a346417a88b0a515620618a3a54dd55742791c16 | 8,039 | cpp | C++ | example/frame/ipc/ipcserialization.cpp | joydit/solidframe | 0539b0a1e77663ac4c701a88f56723d3e3688e8c | [
"BSL-1.0"
] | null | null | null | example/frame/ipc/ipcserialization.cpp | joydit/solidframe | 0539b0a1e77663ac4c701a88f56723d3e3688e8c | [
"BSL-1.0"
] | null | null | null | example/frame/ipc/ipcserialization.cpp | joydit/solidframe | 0539b0a1e77663ac4c701a88f56723d3e3688e8c | [
"BSL-1.0"
] | null | null | null | #include "system/debug.hpp"
#include "system/thread.hpp"
#include "system/timespec.hpp"
#include "utility/dynamicpointer.hpp"
#include "utility/dynamictype.hpp"
#include "utility/queue.hpp"
#include "frame/ipc/ipcmessage.hpp"
#include "serialization/binary.hpp"
#include "serialization/idtypemapper.hpp"
#include "boost/... | 28.108392 | 129 | 0.641373 | joydit |
a347f6d78d60e19f405ed3e9924d5beeb3fe14bd | 6,653 | hpp | C++ | include/libpmemobj++/detail/common.hpp | skygyh/libpmemobj-cpp | fbe4025fd37beec6ba1374b4b32b0e83bc9e2204 | [
"BSD-3-Clause"
] | null | null | null | include/libpmemobj++/detail/common.hpp | skygyh/libpmemobj-cpp | fbe4025fd37beec6ba1374b4b32b0e83bc9e2204 | [
"BSD-3-Clause"
] | null | null | null | include/libpmemobj++/detail/common.hpp | skygyh/libpmemobj-cpp | fbe4025fd37beec6ba1374b4b32b0e83bc9e2204 | [
"BSD-3-Clause"
] | 2 | 2021-01-19T08:22:32.000Z | 2021-01-19T08:23:32.000Z | // SPDX-License-Identifier: BSD-3-Clause
/* Copyright 2016-2020, Intel Corporation */
/**
* @file
* Commonly used functionality.
*/
#ifndef LIBPMEMOBJ_CPP_COMMON_HPP
#define LIBPMEMOBJ_CPP_COMMON_HPP
#include <libpmemobj++/pexceptions.hpp>
#include <libpmemobj/tx_base.h>
#include <string>
#include <typeinfo>
#if... | 23.100694 | 80 | 0.712461 | skygyh |
a34ae6b8e84d95ee3e323a9d68f1eb61eb7aeaa4 | 4,646 | hpp | C++ | tpls/pressio/include/pressio/WIP/rom/galerkin/impl/continuous_time_api/policies/rom_galerkin_fom_apply_jacobian_policy.hpp | fnrizzi/pressio-demoapps | 6ff10bbcf4d526610580940753c9620725bff1ba | [
"BSD-3-Clause"
] | 29 | 2019-11-11T13:17:57.000Z | 2022-03-16T01:31:31.000Z | tpls/pressio/include/pressio/WIP/rom/galerkin/impl/continuous_time_api/policies/rom_galerkin_fom_apply_jacobian_policy.hpp | fnrizzi/pressio-demoapps | 6ff10bbcf4d526610580940753c9620725bff1ba | [
"BSD-3-Clause"
] | 303 | 2019-09-30T10:15:41.000Z | 2022-03-30T08:24:04.000Z | tpls/pressio/include/pressio/WIP/rom/galerkin/impl/continuous_time_api/policies/rom_galerkin_fom_apply_jacobian_policy.hpp | fnrizzi/pressio-demoapps | 6ff10bbcf4d526610580940753c9620725bff1ba | [
"BSD-3-Clause"
] | 4 | 2020-07-07T03:32:36.000Z | 2022-03-10T05:21:42.000Z | /*
//@HEADER
// ************************************************************************
//
// rom_galerkin_fom_apply_jacobian_policy.hpp
// Pressio
// Copyright 2019
// National Technology & Engineering Solutions of Sandia, LLC (NTESS)
//
// Under the terms of Con... | 40.754386 | 101 | 0.735041 | fnrizzi |
a34ca64e771d98dca9beb1129ef1fed5277ab2c4 | 675 | cpp | C++ | chapters/11/ex11_03.cpp | yG620/cpp_primer_5th_solutions | 68fdb2e5167228a3d31ac31c221c1055c2500b91 | [
"Apache-2.0"
] | null | null | null | chapters/11/ex11_03.cpp | yG620/cpp_primer_5th_solutions | 68fdb2e5167228a3d31ac31c221c1055c2500b91 | [
"Apache-2.0"
] | null | null | null | chapters/11/ex11_03.cpp | yG620/cpp_primer_5th_solutions | 68fdb2e5167228a3d31ac31c221c1055c2500b91 | [
"Apache-2.0"
] | null | null | null | //
// ex11_00.cpp
// Exercise 11.00
//
// Created by yG620 on 20/9/13
//
// @Brief > A classic example that relies on associative arrays is a
// word-counting program.
// @KeyPoint
#include <iostream>
#include <map>
#include <set>
using namespace std;
int main(int argc, char const *argv[]) {
map<strin... | 20.454545 | 74 | 0.591111 | yG620 |
a35228b89a27bbc8e52a05cf12d8e9b9a3477804 | 2,739 | hpp | C++ | Extensions/Editor/AnimationTrackView.hpp | RachelWilSingh/ZeroCore | e9a2f82d395e5c89fb98eceac44ce60d016dbff3 | [
"MIT"
] | 52 | 2018-09-11T17:18:35.000Z | 2022-03-13T15:28:21.000Z | Extensions/Editor/AnimationTrackView.hpp | RachelWilSingh/ZeroCore | e9a2f82d395e5c89fb98eceac44ce60d016dbff3 | [
"MIT"
] | 1,409 | 2018-09-19T18:03:43.000Z | 2021-06-09T08:33:33.000Z | Extensions/Editor/AnimationTrackView.hpp | RachelWilSingh/ZeroCore | e9a2f82d395e5c89fb98eceac44ce60d016dbff3 | [
"MIT"
] | 26 | 2018-09-11T17:16:32.000Z | 2021-11-22T06:21:19.000Z | ///////////////////////////////////////////////////////////////////////////////
///
/// \file AnimationEditor.hpp
/// Declaration of AnimationEditor Composite
///
/// Authors: Joshua Claeys
/// Copyright 2013, DigiPen Institute of Technology
///
//////////////////////////////////////////////////////////////////... | 25.839623 | 81 | 0.650602 | RachelWilSingh |
a352cc60dbe9cd41acb85742098d5eef24c4d147 | 9,470 | cpp | C++ | libc/src/time/mktime.cpp | kubamracek/llvm-project | f7ff1869cdd487d4baaf009380901e5469d8344d | [
"Apache-2.0"
] | null | null | null | libc/src/time/mktime.cpp | kubamracek/llvm-project | f7ff1869cdd487d4baaf009380901e5469d8344d | [
"Apache-2.0"
] | null | null | null | libc/src/time/mktime.cpp | kubamracek/llvm-project | f7ff1869cdd487d4baaf009380901e5469d8344d | [
"Apache-2.0"
] | null | null | null | //===-- Implementation of mktime function ---------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 38.495935 | 80 | 0.665048 | kubamracek |
a353f580de9d5c28c18aee20f46b20fe469fc4fc | 8,306 | cpp | C++ | quill3d/openpmd_output.cpp | blendersamsonov/Quill | 5567b3dd70becf50084014c5cc53a95dda53ce4c | [
"MIT"
] | null | null | null | quill3d/openpmd_output.cpp | blendersamsonov/Quill | 5567b3dd70becf50084014c5cc53a95dda53ce4c | [
"MIT"
] | null | null | null | quill3d/openpmd_output.cpp | blendersamsonov/Quill | 5567b3dd70becf50084014c5cc53a95dda53ce4c | [
"MIT"
] | null | null | null | #include "openpmd_output.h"
#include <iostream>
#include <vector>
#include <cstring>
const std::string MESHES_GROUP = "meshes";
std::string get_parent(const std::string & path) {
auto last_separator = path.find_last_of('/');
if (last_separator == std::string::npos) {
return "/";
} else {
... | 36.113043 | 166 | 0.672646 | blendersamsonov |
a355ed6fb46ae61eca5acc7b26fc8100dcf130bc | 5,368 | cpp | C++ | src/osvr/Connection/GenerateVrpnDynamicServer.cpp | ccccjason/OSVR_device_plugin | 6c9171265900530341cfa79357151daa39618737 | [
"Apache-2.0"
] | 1 | 2022-03-28T05:09:11.000Z | 2022-03-28T05:09:11.000Z | src/osvr/Connection/GenerateVrpnDynamicServer.cpp | ccccjason/my_osvr | fdb2a64cbf88211c34f8c8bd42f0f83a6b98769e | [
"Apache-2.0"
] | null | null | null | src/osvr/Connection/GenerateVrpnDynamicServer.cpp | ccccjason/my_osvr | fdb2a64cbf88211c34f8c8bd42f0f83a6b98769e | [
"Apache-2.0"
] | null | null | null | /** @file
@brief Implementation
@date 2015
@author
Sensics, Inc.
<http://sensics.com/osvr>
*/
// Copyright 2015 Sensics, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the L... | 35.084967 | 77 | 0.618666 | ccccjason |
a356f8b24e620fa4f66951cd003fba010cc2e2f3 | 165 | cpp | C++ | template/base_template.cpp | ganmodokix/ysn | 74cad18941102539493dda821e17e767bbecde89 | [
"MIT"
] | null | null | null | template/base_template.cpp | ganmodokix/ysn | 74cad18941102539493dda821e17e767bbecde89 | [
"MIT"
] | null | null | null | template/base_template.cpp | ganmodokix/ysn | 74cad18941102539493dda821e17e767bbecde89 | [
"MIT"
] | null | null | null | // #REQ: base_template/575 base_template/ll base_template/debug_mode base_template/gcc base_template/macro base_template/dump base_template/qin
// base template set | 55 | 143 | 0.842424 | ganmodokix |
a35a58d45072ac782099a90d3585896c2b41a6c8 | 32,284 | cpp | C++ | cpp/lib/src/outstation/OutstationContext.cpp | ekra-ltd/opendnp3 | f3e49c08af770da74c53d17d840bf1a4113b50df | [
"Apache-2.0"
] | null | null | null | cpp/lib/src/outstation/OutstationContext.cpp | ekra-ltd/opendnp3 | f3e49c08af770da74c53d17d840bf1a4113b50df | [
"Apache-2.0"
] | null | null | null | cpp/lib/src/outstation/OutstationContext.cpp | ekra-ltd/opendnp3 | f3e49c08af770da74c53d17d840bf1a4113b50df | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2013-2020 Automatak, LLC
*
* Licensed to Green Energy Corp (www.greenenergycorp.com) and Automatak
* LLC (www.automatak.com) under one or more contributor license agreements.
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership. Green Energy Co... | 33.629167 | 130 | 0.665686 | ekra-ltd |
a35ae202dd6cd89c20defd71dfe73d2a9d27188b | 1,258 | cpp | C++ | src/main/cpp/wee/engine/line_renderer.cpp | emdavoca/wee | 60344dd646a2e27d1cfdb1131dd679558d9cfa2b | [
"MIT"
] | 1 | 2019-02-11T12:18:39.000Z | 2019-02-11T12:18:39.000Z | src/main/cpp/wee/engine/line_renderer.cpp | emdavoca/wee | 60344dd646a2e27d1cfdb1131dd679558d9cfa2b | [
"MIT"
] | 1 | 2021-11-11T07:27:58.000Z | 2021-11-11T07:27:58.000Z | src/main/cpp/wee/engine/line_renderer.cpp | emdavoca/wee | 60344dd646a2e27d1cfdb1131dd679558d9cfa2b | [
"MIT"
] | 1 | 2021-11-11T07:22:12.000Z | 2021-11-11T07:22:12.000Z | #include <engine/line_renderer.hpp>
#include <gfx/graphics_device.hpp>
#include <ostream>
using namespace wee;
line_renderer::line_renderer(size_t n) {
_vertices.resize(n);
_buf = new vertex_buffer(n * sizeof(line_vertex));
_valid = true;
_size = 0;
}
void line_renderer::draw(graphics_device* dev) {
... | 28.590909 | 171 | 0.644674 | emdavoca |
a35b3e5408955e4e8fcbf7778b50fabfb2303690 | 16,000 | hxx | C++ | source/code/modules/vulkan_renderer/private/vk_utility.hxx | iceshard-engine/engine | 4f2092af8d2d389ea72addc729d0c2c8d944c95c | [
"BSD-3-Clause-Clear"
] | 39 | 2019-08-17T09:08:51.000Z | 2022-02-13T10:14:19.000Z | source/code/modules/vulkan_renderer/private/vk_utility.hxx | iceshard-engine/engine | 4f2092af8d2d389ea72addc729d0c2c8d944c95c | [
"BSD-3-Clause-Clear"
] | 63 | 2020-05-22T16:09:30.000Z | 2022-01-21T14:24:05.000Z | source/code/modules/vulkan_renderer/private/vk_utility.hxx | iceshard-engine/engine | 4f2092af8d2d389ea72addc729d0c2c8d944c95c | [
"BSD-3-Clause-Clear"
] | null | null | null | #pragma once
#include <ice/pod/array.hxx>
#include <ice/log_tag.hxx>
#include <ice/log.hxx>
#include <ice/render/render_pass.hxx>
#include <ice/render/render_image.hxx>
#include <ice/render/render_resource.hxx>
#include <ice/render/render_pipeline.hxx>
#include <ice/render/render_buffer.hxx>
#include "vk_include.hxx"... | 35.087719 | 109 | 0.66975 | iceshard-engine |
a35e46d2d6858945d6329147a326157d8f1cbf03 | 14,894 | hpp | C++ | include/rovio/featureTracker.hpp | marco-tranzatto/rovio | 3ec48b14e24f04295020fdacea90f8ac2f2399b0 | [
"BSD-3-Clause"
] | 1 | 2021-02-08T02:32:25.000Z | 2021-02-08T02:32:25.000Z | include/rovio/featureTracker.hpp | marco-tranzatto/rovio | 3ec48b14e24f04295020fdacea90f8ac2f2399b0 | [
"BSD-3-Clause"
] | null | null | null | include/rovio/featureTracker.hpp | marco-tranzatto/rovio | 3ec48b14e24f04295020fdacea90f8ac2f2399b0 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2014, Autonomous Systems Lab
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions... | 56.203774 | 233 | 0.690748 | marco-tranzatto |
a35fe2158aa15578d61681e208859bae4aa6bd14 | 3,202 | cpp | C++ | tools/pb2tarscpp/CppPlugin.cpp | cSingleboy/TarsCpp | 17b228b660d540baa1a93215fc007c5131a2fc68 | [
"BSD-3-Clause"
] | 386 | 2018-09-11T06:17:10.000Z | 2022-03-31T05:59:41.000Z | tools/pb2tarscpp/CppPlugin.cpp | cSingleboy/TarsCpp | 17b228b660d540baa1a93215fc007c5131a2fc68 | [
"BSD-3-Clause"
] | 128 | 2018-09-12T03:43:33.000Z | 2022-03-24T10:03:54.000Z | tools/pb2tarscpp/CppPlugin.cpp | cSingleboy/TarsCpp | 17b228b660d540baa1a93215fc007c5131a2fc68 | [
"BSD-3-Clause"
] | 259 | 2018-09-19T08:50:37.000Z | 2022-03-11T07:17:56.000Z | // Generates C++ tars service interface out of Protobuf IDL.
//
// This is a Proto2 compiler plugin. See net/proto2/compiler/proto/plugin.proto
// and net/proto2/compiler/public/plugin.h for more information on plugins.
#include <iostream>
#include <google/protobuf/compiler/plugin.h>
#include <google/protobuf/compi... | 29.376147 | 86 | 0.630231 | cSingleboy |
a360822d4f32cd2146a959f0d9614f8587e7dea0 | 6,214 | cpp | C++ | 3rdparty/poco/Data/SQLite/src/Extractor.cpp | wohaaitinciu/zpublic | 0e4896b16e774d2f87e1fa80f1b9c5650b85c57e | [
"Unlicense"
] | 50 | 2015-01-07T01:54:54.000Z | 2021-01-15T00:41:48.000Z | 3rdparty/poco/Data/SQLite/src/Extractor.cpp | lib1256/zpublic | 64c2be9ef1abab878288680bb58122dcc25df81d | [
"Unlicense"
] | 1 | 2015-05-26T07:40:19.000Z | 2015-05-26T07:40:19.000Z | 3rdparty/poco/Data/SQLite/src/Extractor.cpp | lib1256/zpublic | 64c2be9ef1abab878288680bb58122dcc25df81d | [
"Unlicense"
] | 39 | 2015-01-07T02:03:15.000Z | 2021-01-15T00:41:50.000Z | //
// Extractor.cpp
//
// $Id: //poco/1.4/Data/SQLite/src/Extractor.cpp#1 $
//
// Library: Data/SQLite
// Package: SQLite
// Module: Extractor
//
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// Permission is hereby granted, free of charge, to any person or organization
... | 19.980707 | 90 | 0.68233 | wohaaitinciu |
a3637d25bc9ac46b8d41d5d327ac8e9c2c200d4a | 22,243 | cpp | C++ | SSCode/SSImportHIP.cpp | ultrapre/SSCore | c7d6ff221750bab051df32c7efc5798e93924100 | [
"IJG",
"FSFAP"
] | 2 | 2020-11-23T09:08:23.000Z | 2021-01-09T13:15:52.000Z | SSCode/SSImportHIP.cpp | ultrapre/SSCore | c7d6ff221750bab051df32c7efc5798e93924100 | [
"IJG",
"FSFAP"
] | null | null | null | SSCode/SSImportHIP.cpp | ultrapre/SSCore | c7d6ff221750bab051df32c7efc5798e93924100 | [
"IJG",
"FSFAP"
] | null | null | null | // SSHipparcos.cpp
// SSCore
//
// Created by Tim DeBenedictis on 3/23/20.
// Copyright © 2020 Southern Stars. All rights reserved.
#include <algorithm>
#include <iostream>
#include <fstream>
#include "SSCoordinates.hpp"
#include "SSImportHIP.hpp"
// Cleans up some oddball conventions in the Hipparcos star name iden... | 34.592535 | 212 | 0.577575 | ultrapre |
a3665bd09ffc7ad389af7bffee52732af30c43ca | 293 | cpp | C++ | C语言程序设计基础/56. 【大学】求表示方法.cpp | xiabee/BIT-CS | 5d8d8331e6b9588773991a872c259e430ef1eae1 | [
"Apache-2.0"
] | 63 | 2021-01-10T02:32:17.000Z | 2022-03-30T04:08:38.000Z | C语言程序设计基础/56. 【大学】求表示方法.cpp | xiabee/BIT-CS | 5d8d8331e6b9588773991a872c259e430ef1eae1 | [
"Apache-2.0"
] | 2 | 2021-06-09T05:38:58.000Z | 2021-12-14T13:53:54.000Z | C语言程序设计基础/56. 【大学】求表示方法.cpp | xiabee/BIT-CS | 5d8d8331e6b9588773991a872c259e430ef1eae1 | [
"Apache-2.0"
] | 20 | 2021-01-12T11:49:36.000Z | 2022-03-26T11:04:58.000Z | #include <stdio.h>
int dic(int n, int m)
{
if (m > n) return dic(n, n);
else if (m == 1 || n == 1) return 1;
else if (m == n) return dic(n, m-1) + 1;
else return dic(n, m-1) + dic(n-m, m);
}
int main()
{
int n, m;
scanf ("%d %d", &n, &m);
int tot = dic(n, m);
printf ("%d\n", tot);
} | 19.533333 | 42 | 0.494881 | xiabee |
a36749ba0d32cb34785213f5d46493652855775c | 2,333 | cpp | C++ | Google/KickStart/2020/Round A/Plates.cpp | Code-With-Aagam/competitive-programming | 610520cc396fb13a03c606b5fb6739cfd68cc444 | [
"MIT"
] | 2 | 2022-02-08T12:37:41.000Z | 2022-03-09T03:48:56.000Z | KickStart/2020/Round A/Plates.cpp | ShubhamJagtap2000/competitive-programming-1 | 3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84 | [
"MIT"
] | null | null | null | KickStart/2020/Round A/Plates.cpp | ShubhamJagtap2000/competitive-programming-1 | 3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84 | [
"MIT"
] | null | null | null | #pragma GCC optimize("O3")
#pragma GCC optimize("Ofast")
#pragma GCC optimize("unroll-loops")
#pragma GCC optimize("no-stack-protector")
#pragma GCC optimize("fast-math")
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_... | 23.09901 | 108 | 0.557222 | Code-With-Aagam |
a3698023d6ad85298f41646dbc762cd9dcb3ecca | 3,406 | hpp | C++ | test/framework/integration_framework/fake_peer/proposal_storage.hpp | IvanTyulyandin/iroha | 442a08325c7b808236569600653370e28ec5eff6 | [
"Apache-2.0"
] | 24 | 2016-09-26T17:11:46.000Z | 2020-03-03T13:42:58.000Z | test/framework/integration_framework/fake_peer/proposal_storage.hpp | ecsantana76/iroha | 9cc430bb2c8eb885393e2a636fa92d1e605443ae | [
"Apache-2.0"
] | 11 | 2016-10-13T10:09:55.000Z | 2019-06-13T08:49:11.000Z | test/framework/integration_framework/fake_peer/proposal_storage.hpp | ecsantana76/iroha | 9cc430bb2c8eb885393e2a636fa92d1e605443ae | [
"Apache-2.0"
] | 4 | 2016-09-27T13:18:28.000Z | 2019-08-05T20:47:15.000Z | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef INTEGRATION_FRAMEWORK_FAKE_PEER_PROPOSAL_STORAGE_HPP_
#define INTEGRATION_FRAMEWORK_FAKE_PEER_PROPOSAL_STORAGE_HPP_
#include <map>
#include <mutex>
#include <shared_mutex>
#include <unordered_set>
#include "b... | 35.479167 | 80 | 0.70552 | IvanTyulyandin |
a36adcf045573fbf2aeebd4bf9e3ba2a9b37455b | 2,718 | hpp | C++ | sciplot/specs/fontspecs.hpp | CaeruleusAqua/sciplot | 4470cbd43a08b4caa897631159a47d35d72f5a18 | [
"MIT"
] | 1 | 2021-01-28T07:46:26.000Z | 2021-01-28T07:46:26.000Z | sciplot/specs/fontspecs.hpp | CaeruleusAqua/sciplot | 4470cbd43a08b4caa897631159a47d35d72f5a18 | [
"MIT"
] | null | null | null | sciplot/specs/fontspecs.hpp | CaeruleusAqua/sciplot | 4470cbd43a08b4caa897631159a47d35d72f5a18 | [
"MIT"
] | null | null | null | // sciplot - a modern C++ scientific plotting library powered by gnuplot
// https://github.com/sciplot/sciplot
//
// Licensed under the MIT License <http://opensource.org/licenses/MIT>.
//
// Copyright (c) 2018 Allan Leal
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this soft... | 31.976471 | 81 | 0.708609 | CaeruleusAqua |
a36bdd00a1c0f8574bcf456b6d803374aa4c0c04 | 1,301 | hpp | C++ | inference-engine/src/vpu/common/include/vpu/ngraph/operations/out_shape_of_reshape.hpp | calvinfeng/openvino | 11f591c16852637506b1b40d083b450e56d0c8ac | [
"Apache-2.0"
] | null | null | null | inference-engine/src/vpu/common/include/vpu/ngraph/operations/out_shape_of_reshape.hpp | calvinfeng/openvino | 11f591c16852637506b1b40d083b450e56d0c8ac | [
"Apache-2.0"
] | 16 | 2021-07-20T13:00:28.000Z | 2022-02-21T13:10:23.000Z | inference-engine/src/vpu/common/include/vpu/ngraph/operations/out_shape_of_reshape.hpp | calvinfeng/openvino | 11f591c16852637506b1b40d083b450e56d0c8ac | [
"Apache-2.0"
] | 1 | 2021-07-28T17:30:46.000Z | 2021-07-28T17:30:46.000Z | // Copyright (C) 2020 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include <ngraph/node.hpp>
#include <ngraph/op/op.hpp>
#include "ngraph/runtime/host_tensor.hpp"
namespace ngraph { namespace vpu { namespace op {
class OutShapeOfReshape : public ngraph::op::Op {
public:
static const... | 29.568182 | 98 | 0.730208 | calvinfeng |
a36da3c285054b6a4e05951f39349f0e17ad5030 | 1,580 | hpp | C++ | libmeasure/gpu_nvidia_tesla_kepler/CMeasureNVMLThread.hpp | akiml/ampehre | 383a863442574ea2e6a6ac853a9b99e153daeccf | [
"BSD-2-Clause"
] | 3 | 2016-01-20T13:41:52.000Z | 2018-04-10T17:50:49.000Z | libmeasure/gpu_nvidia_tesla_kepler/CMeasureNVMLThread.hpp | akiml/ampehre | 383a863442574ea2e6a6ac853a9b99e153daeccf | [
"BSD-2-Clause"
] | null | null | null | libmeasure/gpu_nvidia_tesla_kepler/CMeasureNVMLThread.hpp | akiml/ampehre | 383a863442574ea2e6a6ac853a9b99e153daeccf | [
"BSD-2-Clause"
] | null | null | null | /*
* CMeasureNVMLThread.hpp
*
* Copyright (C) 2015, Achim Lösch <achim.loesch@upb.de>, Christoph Knorr <cknorr@mail.uni-paderborn.de>
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD license. See the LICENSE file for details.
*
* encoding: UTF-8
* tab si... | 30.980392 | 124 | 0.703797 | akiml |
a373700a84b443190f647ec9bdc990a95263fc21 | 5,211 | cpp | C++ | test/test11.cpp | tjachmann/utest.h | aeb78834480993866fc200f496558cc2c2436fe3 | [
"Unlicense"
] | 482 | 2015-12-11T16:20:40.000Z | 2022-03-31T05:26:22.000Z | test/test11.cpp | tjachmann/utest.h | aeb78834480993866fc200f496558cc2c2436fe3 | [
"Unlicense"
] | 43 | 2019-08-09T22:23:52.000Z | 2022-03-01T20:22:16.000Z | test/test11.cpp | tjachmann/utest.h | aeb78834480993866fc200f496558cc2c2436fe3 | [
"Unlicense"
] | 51 | 2016-01-13T11:55:51.000Z | 2022-02-17T14:29:07.000Z | // This is free and unencumbered software released into the public domain.
//
// Anyone is free to copy, modify, publish, use, compile, sell, or
// distribute this software, either in source code form or as a compiled
// binary, for any purpose, commercial or non-commercial, and by any
// means.
//
// In jurisdictions ... | 21.987342 | 78 | 0.672232 | tjachmann |
a374d5bbbe78d1af6519804fdbb74558d0d14d55 | 5,184 | cpp | C++ | omron_b5l_a/src/publisher_member_function.cpp | deepinbubblegum/b5l_TOFsensor_for_ROS2 | 92c28f3ddedb821b4036127678a199072aefe825 | [
"Apache-2.0"
] | 1 | 2021-11-22T14:54:39.000Z | 2021-11-22T14:54:39.000Z | omron_b5l_a/src/publisher_member_function.cpp | deepinbubblegum/b5l_TOFsensor_for_ROS2 | 92c28f3ddedb821b4036127678a199072aefe825 | [
"Apache-2.0"
] | 1 | 2021-08-13T00:57:49.000Z | 2021-08-13T00:57:49.000Z | omron_b5l_a/src/publisher_member_function.cpp | deepinbubblegum/b5l_TOFsensor_for_ROS2 | 92c28f3ddedb821b4036127678a199072aefe825 | [
"Apache-2.0"
] | 2 | 2021-03-05T14:29:10.000Z | 2022-01-20T06:40:53.000Z | /*---------------------------------------------------------------------------*/
/* Copyright(C) 2019-2020 OMRON Corporation */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); */
... | 34.105263 | 101 | 0.495756 | deepinbubblegum |
a3767cb0a2d3add3a8ef2fc52db1dcddb39f33d7 | 27,211 | cpp | C++ | arangod/RestHandler/RestVocbaseBaseHandler.cpp | snykiotcubedev/arangodb-3.7.6 | fce8f85f1c2f070c8e6a8e76d17210a2117d3833 | [
"Apache-2.0"
] | null | null | null | arangod/RestHandler/RestVocbaseBaseHandler.cpp | snykiotcubedev/arangodb-3.7.6 | fce8f85f1c2f070c8e6a8e76d17210a2117d3833 | [
"Apache-2.0"
] | 109 | 2022-01-06T07:05:24.000Z | 2022-03-21T01:39:35.000Z | arangod/RestHandler/RestVocbaseBaseHandler.cpp | snykiotcubedev/arangodb-3.7.6 | fce8f85f1c2f070c8e6a8e76d17210a2117d3833 | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except... | 40.252959 | 136 | 0.501893 | snykiotcubedev |
a379d0c0fd85c3a32fdff6a56a0b1c7cb20bb5ef | 3,907 | cpp | C++ | test/imu.cpp | uos/hatsdf_slam | f30f69c0f6b9286cd4fa51ca17f0e2d423ca4682 | [
"BSD-3-Clause"
] | 5 | 2021-05-21T07:52:50.000Z | 2022-02-09T04:26:31.000Z | test/imu.cpp | uos/hatsdf_slam | f30f69c0f6b9286cd4fa51ca17f0e2d423ca4682 | [
"BSD-3-Clause"
] | null | null | null | test/imu.cpp | uos/hatsdf_slam | f30f69c0f6b9286cd4fa51ca17f0e2d423ca4682 | [
"BSD-3-Clause"
] | 1 | 2022-02-09T04:26:33.000Z | 2022-02-09T04:26:33.000Z | #include "catch2_config.h"
#include <msg/imu.h>
#include <util/filter.h>
using namespace fastsense;
using namespace fastsense::util;
#define REQUIRE_IMU(msg, val) \
REQUIRE(msg.acc(0) == Approx(val)); \
REQUIRE(msg.acc(1) == Approx(val)); \
REQUIRE(msg.acc(2) == Approx(val)); \
REQUIRE(msg.ang(0) == A... | 31.007937 | 146 | 0.609931 | uos |
a37b1edcef6f3db71b01218a180dc14bf92cc17d | 3,907 | hpp | C++ | include/range/v3/algorithm/minmax_element.hpp | mydeveloperday/range-v3 | 66c9f5fb528f55b75c5737199bd7bd82a39b8613 | [
"MIT"
] | 1 | 2019-07-21T02:51:05.000Z | 2019-07-21T02:51:05.000Z | include/range/v3/algorithm/minmax_element.hpp | mydeveloperday/range-v3 | 66c9f5fb528f55b75c5737199bd7bd82a39b8613 | [
"MIT"
] | null | null | null | include/range/v3/algorithm/minmax_element.hpp | mydeveloperday/range-v3 | 66c9f5fb528f55b75c5737199bd7bd82a39b8613 | [
"MIT"
] | null | null | null | /// \file
// Range v3 library
//
// Copyright Eric Niebler 2014-present
//
// Use, modification and distribution is subject to the
// Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// Project home: https://github.com/ericniebler... | 35.518182 | 90 | 0.545943 | mydeveloperday |
a37b95ceddd85e6528c2d8abcc637d1579eae73f | 2,315 | hpp | C++ | abcd/wallet/Wallet.hpp | Airbitz/airbitz-core-private | dc6742a5622f6d8bae750e60fcee3bb473bc67ce | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2021-05-28T02:52:00.000Z | 2021-05-28T02:52:00.000Z | abcd/wallet/Wallet.hpp | Airbitz/airbitz-core-private | dc6742a5622f6d8bae750e60fcee3bb473bc67ce | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | abcd/wallet/Wallet.hpp | Airbitz/airbitz-core-private | dc6742a5622f6d8bae750e60fcee3bb473bc67ce | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | /*
* Copyright (c) 2015, Airbitz, Inc.
* All rights reserved.
*
* See the LICENSE file for more information.
*/
#ifndef ABCD_WALLET_WALLET_HPP
#define ABCD_WALLET_WALLET_HPP
#include "../WalletPaths.hpp"
#include "../util/Data.hpp"
#include "../util/Status.hpp"
#include "AddressDb.hpp"
#include "TxDb.hpp"
#inclu... | 19.956897 | 73 | 0.6527 | Airbitz |
a37db42f3bb6cddee63291b6110b491cc592d6d7 | 1,526 | cpp | C++ | src/tools/tools/src/assets/importers/codegen_importer.cpp | lye/halley | 16b6c9783e4b21377f902a9d02366c1f19450a21 | [
"Apache-2.0"
] | 1 | 2019-11-27T20:23:45.000Z | 2019-11-27T20:23:45.000Z | src/tools/tools/src/assets/importers/codegen_importer.cpp | lye/halley | 16b6c9783e4b21377f902a9d02366c1f19450a21 | [
"Apache-2.0"
] | null | null | null | src/tools/tools/src/assets/importers/codegen_importer.cpp | lye/halley | 16b6c9783e4b21377f902a9d02366c1f19450a21 | [
"Apache-2.0"
] | null | null | null | #include "codegen_importer.h"
#include "halley/tools/codegen/codegen.h"
#include "halley/tools/assets/import_assets_database.h"
using namespace Halley;
String CodegenImporter::getAssetId(const Path& file, const Maybe<Metadata>& metadata) const
{
return ":codegen";
}
void CodegenImporter::import(const ImportingAsset... | 29.346154 | 108 | 0.700524 | lye |
a37f7c3cc14918f2e9da1d69fb355ce6cb374cb3 | 8,966 | hpp | C++ | tsig/signal.hpp | tprk77/tsig | 33e9365b6d2b15c3a363e2f1ccde400e889a5f69 | [
"MIT"
] | null | null | null | tsig/signal.hpp | tprk77/tsig | 33e9365b6d2b15c3a363e2f1ccde400e889a5f69 | [
"MIT"
] | null | null | null | tsig/signal.hpp | tprk77/tsig | 33e9365b6d2b15c3a363e2f1ccde400e889a5f69 | [
"MIT"
] | null | null | null | // Copyright (c) 2019 Tim Perkins
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// “Software”), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// ... | 27.087613 | 100 | 0.73511 | tprk77 |
a384ba3619b105548dc3cc788e75488429287091 | 1,347 | hpp | C++ | include/CL/sycl/allocator.hpp | infinitesnow/InceptionCL | e3d3a6218e551d42dfcead4f121cec294d50d85c | [
"Unlicense"
] | 2 | 2017-10-05T13:13:41.000Z | 2019-05-15T19:20:49.000Z | include/CL/sycl/allocator.hpp | infinitesnow/InceptionCL | e3d3a6218e551d42dfcead4f121cec294d50d85c | [
"Unlicense"
] | null | null | null | include/CL/sycl/allocator.hpp | infinitesnow/InceptionCL | e3d3a6218e551d42dfcead4f121cec294d50d85c | [
"Unlicense"
] | null | null | null | #ifndef TRISYCL_SYCL_ALLOCATOR_HPP
#define TRISYCL_SYCL_ALLOCATOR_HPP
/** \file The OpenCL SYCL allocator
Ronan at Keryell point FR
This file is distributed under the University of Illinois Open Source
License. See LICENSE.TXT for details.
*/
#include <memory>
namespace cl {
namespace sycl {
/** \addt... | 20.409091 | 73 | 0.708983 | infinitesnow |
a388af8cb175fc2b3c509e22bbc2b5dd2c68b26a | 1,871 | cpp | C++ | arkana-lib/crc32/crc32.cpp | ttsuki/arkana | 3681f32b1ebe7f14aee03d7abc88467672aec573 | [
"MIT"
] | null | null | null | arkana-lib/crc32/crc32.cpp | ttsuki/arkana | 3681f32b1ebe7f14aee03d7abc88467672aec573 | [
"MIT"
] | null | null | null | arkana-lib/crc32/crc32.cpp | ttsuki/arkana | 3681f32b1ebe7f14aee03d7abc88467672aec573 | [
"MIT"
] | null | null | null | /// @file
/// @brief arkana::crc32
/// - An implementation of CRC32
/// @author Copyright(c) 2020 ttsuki
///
/// This software is released under the MIT License.
/// https://opensource.org/licenses/MIT
#include "../crc32.h"
#include <arkana/bits/cpuid.h>
namespace arkana::crc32
{
crc32_value_t calculate_crc32... | 31.711864 | 119 | 0.683057 | ttsuki |
a38eccb952d70edc3b07f4e3c78016ceb414ba67 | 21,648 | cc | C++ | examples/comps/egl_gl_fbo.cc | halleyzhao/alios-mm | bef2a6de0c207a5ae9bf4f63de2e562df864aa3e | [
"Apache-2.0"
] | null | null | null | examples/comps/egl_gl_fbo.cc | halleyzhao/alios-mm | bef2a6de0c207a5ae9bf4f63de2e562df864aa3e | [
"Apache-2.0"
] | null | null | null | examples/comps/egl_gl_fbo.cc | halleyzhao/alios-mm | bef2a6de0c207a5ae9bf4f63de2e562df864aa3e | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2017 Alibaba Group Holding Limited. 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
*
* ... | 33 | 173 | 0.633315 | halleyzhao |
a38ef7ac4e696c5480e312c8ac725e5cbbd7ab5d | 1,567 | hpp | C++ | src/engine/graphics/camera/FPSCamera.hpp | raresica1234/Helltooth | 6d30c4567c2c4a491bc72fa89a268a476ffb3e4c | [
"MIT"
] | 10 | 2016-04-27T20:18:26.000Z | 2018-01-21T09:54:37.000Z | src/engine/graphics/camera/FPSCamera.hpp | Helltooth-Engine/Helltooth | 6d30c4567c2c4a491bc72fa89a268a476ffb3e4c | [
"MIT"
] | 1 | 2020-02-27T07:28:19.000Z | 2020-02-27T07:28:19.000Z | src/engine/graphics/camera/FPSCamera.hpp | Helltooth-Engine/Helltooth | 6d30c4567c2c4a491bc72fa89a268a476ffb3e4c | [
"MIT"
] | 1 | 2018-09-04T19:21:00.000Z | 2018-09-04T19:21:00.000Z | /*
* Copyright (c) 2020 Rareș-Nicolaie Ciorbă
*
* 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... | 34.065217 | 81 | 0.738354 | raresica1234 |
a39329124a06e3c17dc9c85989643e5aaba626b5 | 468 | hpp | C++ | Application/include/ToonMaterial.hpp | inhibitor1217/cs380-lighting | 7949a743d78a4151db807c17ef89c7999a2c5334 | [
"MIT"
] | null | null | null | Application/include/ToonMaterial.hpp | inhibitor1217/cs380-lighting | 7949a743d78a4151db807c17ef89c7999a2c5334 | [
"MIT"
] | null | null | null | Application/include/ToonMaterial.hpp | inhibitor1217/cs380-lighting | 7949a743d78a4151db807c17ef89c7999a2c5334 | [
"MIT"
] | null | null | null | #pragma once
#include <Light.hpp>
#include <Material.hpp>
class ToonMaterial : public Engine::Material
{
public:
void CreateMaterial(float terrain);
void UpdateAmbientReflectance(glm::vec3 color);
void UpdateDiffuseReflectance(glm::vec3 color);
void UpdateSpecularReflectance(glm::vec3 color);
void UpdateLight(st... | 26 | 49 | 0.779915 | inhibitor1217 |
a395cfcf332f8338cfbd2b0acb7a4202c452eaf9 | 10,625 | cpp | C++ | source/DosPopupMenu.cpp | ArphonePei/DOSLib | 3aafa6b56b7910084cca96fc815aca580e1c1e3f | [
"MIT"
] | 37 | 2018-12-10T13:37:45.000Z | 2022-01-29T15:45:48.000Z | source/DosPopupMenu.cpp | ArphonePei/DOSLib | 3aafa6b56b7910084cca96fc815aca580e1c1e3f | [
"MIT"
] | 17 | 2020-01-31T21:12:51.000Z | 2022-01-28T14:30:00.000Z | source/DosPopupMenu.cpp | ArphonePei/DOSLib | 3aafa6b56b7910084cca96fc815aca580e1c1e3f | [
"MIT"
] | 18 | 2018-12-10T13:37:48.000Z | 2021-06-28T09:04:46.000Z | /////////////////////////////////////////////////////////////////////////////
// DosPopupMenu.cpp
//
// Copyright (c) 1992-2020, Robert McNeel & Associates. All rights reserved.
// DOSLib is a trademark of Robert McNeel & Associates.
//
// THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY.
// ALL IM... | 23.611111 | 131 | 0.665694 | ArphonePei |
a39770b2ca145b0134019e175d1fdcd930edad79 | 5,098 | cpp | C++ | tests/benchdnn/utils/perf_report.cpp | wuxun-zhang/mkl-dnn | 00a239ad2c932b967234ffb528069800ffcc0334 | [
"Apache-2.0"
] | null | null | null | tests/benchdnn/utils/perf_report.cpp | wuxun-zhang/mkl-dnn | 00a239ad2c932b967234ffb528069800ffcc0334 | [
"Apache-2.0"
] | null | null | null | tests/benchdnn/utils/perf_report.cpp | wuxun-zhang/mkl-dnn | 00a239ad2c932b967234ffb528069800ffcc0334 | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
* Copyright 2021-2022 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apa... | 35.402778 | 80 | 0.566889 | wuxun-zhang |
a398e6442b1b4ef514df68d825c2e32812066888 | 5,809 | cpp | C++ | lib/src/Rendering/StandardShapes.cpp | F4r3n/FarenMediaLibrary | 3f71054df7178ca79781b101ca2d58cd95a20a43 | [
"Apache-2.0"
] | 7 | 2016-09-09T16:43:15.000Z | 2021-06-16T22:32:33.000Z | lib/src/Rendering/StandardShapes.cpp | F4r3n/FarenMediaLibrary | 3f71054df7178ca79781b101ca2d58cd95a20a43 | [
"Apache-2.0"
] | null | null | null | lib/src/Rendering/StandardShapes.cpp | F4r3n/FarenMediaLibrary | 3f71054df7178ca79781b101ca2d58cd95a20a43 | [
"Apache-2.0"
] | 1 | 2020-01-05T19:22:32.000Z | 2020-01-05T19:22:32.000Z | #include <Rendering/StandardShapes.h>
#include <Core/Math/Functions.h>
#include <Rendering/Mesh.hpp>
namespace fm {
using namespace rendering;
void StandardShapes::AddVertex(MeshContainer* mesh,
const fm::math::Vector3f& position,
const fm::math::Vector2f& ... | 45.382813 | 133 | 0.548115 | F4r3n |
a39969ce321905a84cc87408a19c9e0b58baa661 | 6,586 | cpp | C++ | networkit/cpp/linkprediction/EvaluationMetric.cpp | angriman/network | 3a4c5fd32eb2be8d5b34eaee17f8fe4e6e141894 | [
"MIT"
] | 366 | 2019-06-27T18:48:18.000Z | 2022-03-29T08:36:49.000Z | networkit/cpp/linkprediction/EvaluationMetric.cpp | angriman/network | 3a4c5fd32eb2be8d5b34eaee17f8fe4e6e141894 | [
"MIT"
] | 387 | 2019-06-24T11:30:39.000Z | 2022-03-31T10:37:28.000Z | networkit/cpp/linkprediction/EvaluationMetric.cpp | angriman/network | 3a4c5fd32eb2be8d5b34eaee17f8fe4e6e141894 | [
"MIT"
] | 131 | 2019-07-04T15:40:13.000Z | 2022-03-29T12:34:23.000Z | // no-networkit-format
/*
* EvaluationMetric.cpp
*
* Created on: 17.03.2015
* Author: Kolja Esders
*/
#include <algorithm>
#include <numeric>
#include <set>
#include <networkit/auxiliary/Parallel.hpp>
#include <networkit/linkprediction/EvaluationMetric.hpp>
#include <networkit/linkprediction/PredictionsSor... | 37.20904 | 153 | 0.700273 | angriman |
a39c440138f7252e26d01608b6834e4b674d89bd | 2,762 | cpp | C++ | Tests/VisualTests/VTests/src/ParticleTest.cpp | Stazer/ogre-next | 4d3aa2aedf4575ac8a9e32a4e2af859562752d51 | [
"MIT"
] | 4 | 2018-11-12T02:18:44.000Z | 2020-09-03T12:16:14.000Z | Tests/VisualTests/VTests/src/ParticleTest.cpp | Stazer/ogre-next | 4d3aa2aedf4575ac8a9e32a4e2af859562752d51 | [
"MIT"
] | 2 | 2020-12-01T18:20:39.000Z | 2021-02-09T21:04:25.000Z | Tests/VisualTests/VTests/src/ParticleTest.cpp | Stazer/ogre-next | 4d3aa2aedf4575ac8a9e32a4e2af859562752d51 | [
"MIT"
] | 3 | 2020-10-15T15:11:41.000Z | 2021-04-04T03:38:54.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 charge, to any person ... | 45.278689 | 97 | 0.673063 | Stazer |
a39c4bd825d9de2ce4386d370b17fe4a2cdf9c10 | 983 | cpp | C++ | battlegui.cpp | alphagocc/FiveChess- | d73d7b71f5d1d0834c08d89525964021d7ba69f5 | [
"MIT"
] | 2 | 2018-01-21T14:09:39.000Z | 2020-07-25T00:43:51.000Z | battlegui.cpp | alphagocc/FiveChess- | d73d7b71f5d1d0834c08d89525964021d7ba69f5 | [
"MIT"
] | null | null | null | battlegui.cpp | alphagocc/FiveChess- | d73d7b71f5d1d0834c08d89525964021d7ba69f5 | [
"MIT"
] | null | null | null | #include "battlegui.h"
#include "ui_battlegui.h"
#include <QDebug>
battleGui::battleGui(QWidget* parent)
: QWidget(parent), ui(new Ui::battleGui), timer(new QTimer)
{
qDebug() << "OK2" << endl;
ui->setupUi(this);
ui->labelTime->setText(tr("Time:%1 Second").arg(0));
timer->start(1000);
connect(... | 29.787879 | 120 | 0.608342 | alphagocc |
a39d79eb3c7df804f1558a2ee46ee0d6e555c033 | 5,642 | cpp | C++ | src/Enzo/enzo_EnzoInitialSoup.cpp | TrevorMcCrary/enzo-e | abeb5d73d6ff210fc6cd675c25430cfb93c374ac | [
"BSD-3-Clause"
] | null | null | null | src/Enzo/enzo_EnzoInitialSoup.cpp | TrevorMcCrary/enzo-e | abeb5d73d6ff210fc6cd675c25430cfb93c374ac | [
"BSD-3-Clause"
] | null | null | null | src/Enzo/enzo_EnzoInitialSoup.cpp | TrevorMcCrary/enzo-e | abeb5d73d6ff210fc6cd675c25430cfb93c374ac | [
"BSD-3-Clause"
] | null | null | null | // See LICENSE_CELLO file for license and copyright information
/// @file enzo_Soup.cpp
/// @author James Bordner (jobordner@ucsd.edu)
/// @date 2016-09-10
/// @brief Definition of the Soup class for "alphabet soup" test problem
#include "enzo.hpp"
#include <random>
const int EnzoInitialSoup::position_[... | 26.739336 | 75 | 0.569302 | TrevorMcCrary |
a3a45f5caa66ab94dede00d074b4aaf5ef0b61e4 | 776 | cpp | C++ | gwen/src/Controls/ScrollBarButton.cpp | Oipo/GWork | 3dd70c090bf8708dd3e7b9cfbcb67163bb7166db | [
"MIT"
] | null | null | null | gwen/src/Controls/ScrollBarButton.cpp | Oipo/GWork | 3dd70c090bf8708dd3e7b9cfbcb67163bb7166db | [
"MIT"
] | null | null | null | gwen/src/Controls/ScrollBarButton.cpp | Oipo/GWork | 3dd70c090bf8708dd3e7b9cfbcb67163bb7166db | [
"MIT"
] | null | null | null | /*
* GWEN
* Copyright (c) 2010 Facepunch Studios
* See license in Gwen.h
*/
#include "Gwen/Controls/ScrollBar.h"
#include "Gwen/Controls/ScrollBarButton.h"
using namespace Gwen;
using namespace Gwen::Controls;
using namespace Gwen::ControlsInternal;
GWEN_CONTROL_CONSTRUCTOR(ScrollBarButton)
{
SetDirecti... | 17.244444 | 88 | 0.73067 | Oipo |
a3a4a844d1b5ad860436cf21522518c3d9d1738f | 12,981 | cpp | C++ | src/smtrat-modules/MaxSMTModule/MaxSMTModule.cpp | modass/smtrat | 2e6909bb764cf30d6afc231a2d447dfc13f3fa40 | [
"MIT"
] | null | null | null | src/smtrat-modules/MaxSMTModule/MaxSMTModule.cpp | modass/smtrat | 2e6909bb764cf30d6afc231a2d447dfc13f3fa40 | [
"MIT"
] | null | null | null | src/smtrat-modules/MaxSMTModule/MaxSMTModule.cpp | modass/smtrat | 2e6909bb764cf30d6afc231a2d447dfc13f3fa40 | [
"MIT"
] | null | null | null | /**
* @file MaxSMT.cpp
* @author YOUR NAME <YOUR EMAIL ADDRESS>
*
* @version 2019-01-25
* Created on 2019-01-25.
*/
#include "MaxSMTModule.h"
#include <smtrat-solver/Manager.h>
#include <smtrat-unsat-cores/smtrat-unsat-cores.h>
namespace smtrat
{
template<class Settings>
MaxSMTModule<Settings>::MaxSMTModule(... | 35.859116 | 152 | 0.732147 | modass |
a3aac52a4613339546a87ae6731c9fa4aa98d19e | 3,100 | cpp | C++ | thrift/lib/cpp2/transport/rsocket/server/test/RequestResponseTest.cpp | ahhygx/fbthrift | 48a91f91036a5201914b1ad9f98826709812ad10 | [
"Apache-2.0"
] | null | null | null | thrift/lib/cpp2/transport/rsocket/server/test/RequestResponseTest.cpp | ahhygx/fbthrift | 48a91f91036a5201914b1ad9f98826709812ad10 | [
"Apache-2.0"
] | null | null | null | thrift/lib/cpp2/transport/rsocket/server/test/RequestResponseTest.cpp | ahhygx/fbthrift | 48a91f91036a5201914b1ad9f98826709812ad10 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2017-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | 34.065934 | 81 | 0.66871 | ahhygx |
a3ac177bba8c2692598381b934a0de51a5a70568 | 1,817 | cpp | C++ | src/anl/source/pyfunc_anl.cpp | goroyabu/anlpy | 2d5d65b898d31d69f990e973cbfdbabd8cb0a15c | [
"MIT"
] | null | null | null | src/anl/source/pyfunc_anl.cpp | goroyabu/anlpy | 2d5d65b898d31d69f990e973cbfdbabd8cb0a15c | [
"MIT"
] | null | null | null | src/anl/source/pyfunc_anl.cpp | goroyabu/anlpy | 2d5d65b898d31d69f990e973cbfdbabd8cb0a15c | [
"MIT"
] | null | null | null | /**
@date 2020/03/27
**/
#include "VANL_Module.hpp"
#include "ANLmanager.hpp"
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
PYBIND11_MODULE(anlpy, m) {
m.attr("__name__") = "anlpy";
m.doc() = R"pbdoc(
ANLpy Documentation
-----------------------
.. currentmodule:: a... | 31.327586 | 74 | 0.669785 | goroyabu |
a3ae6eb4269f4e4e1f7f0ada847254caa7e424ec | 29,897 | cpp | C++ | vstgui/lib/cbitmapfilter.cpp | whydoubt/vstgui | 24c6e5e82f55fd1eff0fb5ab3b451adc912d29d5 | [
"BSD-3-Clause"
] | null | null | null | vstgui/lib/cbitmapfilter.cpp | whydoubt/vstgui | 24c6e5e82f55fd1eff0fb5ab3b451adc912d29d5 | [
"BSD-3-Clause"
] | null | null | null | vstgui/lib/cbitmapfilter.cpp | whydoubt/vstgui | 24c6e5e82f55fd1eff0fb5ab3b451adc912d29d5 | [
"BSD-3-Clause"
] | null | null | null | // This file is part of VSTGUI. It is subject to the license terms
// in the LICENSE file found in the top-level directory of this
// distribution and at http://github.com/steinbergmedia/vstgui/LICENSE
#include "cbitmapfilter.h"
#include "cbitmap.h"
#include "platform/iplatformbitmap.h"
#include "ccolor.h"
#include "... | 32.112782 | 165 | 0.53487 | whydoubt |
a3af498e127b3e474fda3530c67d0ed9e7e52e48 | 7,312 | cpp | C++ | src/http/server/http-thread.cpp | corehacker/ch-cpp-utils | 4b03045fbecc867f7c6b088eabd8aa4cc30f1170 | [
"MIT"
] | 5 | 2017-11-05T11:41:42.000Z | 2020-09-03T07:49:12.000Z | src/http/server/http-thread.cpp | corehacker/ch-cpp-utils | 4b03045fbecc867f7c6b088eabd8aa4cc30f1170 | [
"MIT"
] | 1 | 2017-11-14T02:50:16.000Z | 2017-11-14T02:50:16.000Z | src/http/server/http-thread.cpp | corehacker/ch-cpp-utils | 4b03045fbecc867f7c6b088eabd8aa4cc30f1170 | [
"MIT"
] | null | null | null | /*******************************************************************************
*
* BSD 2-Clause License
*
* Copyright (c) 2017, Sandeep Prakash
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condition... | 27.182156 | 86 | 0.678474 | corehacker |
a3b04fa905feac6403c4e9505fb5f87cb8774203 | 3,201 | cpp | C++ | src/rpc/Codec.cpp | evenleo/leo | 67e148e04eb7b3af9890f907f24fb4f63d8405b0 | [
"MIT"
] | null | null | null | src/rpc/Codec.cpp | evenleo/leo | 67e148e04eb7b3af9890f907f24fb4f63d8405b0 | [
"MIT"
] | null | null | null | src/rpc/Codec.cpp | evenleo/leo | 67e148e04eb7b3af9890f907f24fb4f63d8405b0 | [
"MIT"
] | null | null | null | #include "Codec.h"
#include "Buffer.h"
#include <zlib.h>
namespace leo {
namespace rpc {
void ProtobufCodec::send(const MessagePtr& message) {
Buffer::ptr buf(new Buffer);
const std::string& typeName = message->GetTypeName();
int32_t nameLen = static_cast<int32_t>(typeName.size()+1);
buf->appendInt32(nameLen);
... | 28.580357 | 88 | 0.692596 | evenleo |
a3b0d24e10ff0d861472b58b2f3e92c338779495 | 7,311 | cpp | C++ | src/libmw/test/tests/consensus/Test_KernelSumValidator.cpp | litecoin-foundation/litecoin | de61fa1580d0465edb16251a4db5267f6b1cd047 | [
"MIT"
] | null | null | null | src/libmw/test/tests/consensus/Test_KernelSumValidator.cpp | litecoin-foundation/litecoin | de61fa1580d0465edb16251a4db5267f6b1cd047 | [
"MIT"
] | null | null | null | src/libmw/test/tests/consensus/Test_KernelSumValidator.cpp | litecoin-foundation/litecoin | de61fa1580d0465edb16251a4db5267f6b1cd047 | [
"MIT"
] | null | null | null | // Copyright (c) 2021 The Litecoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <mw/consensus/KernelSumValidator.h>
#include <mw/consensus/Aggregation.h>
#include <mw/crypto/Pedersen.h>
#include <mw/n... | 35.663415 | 123 | 0.685542 | litecoin-foundation |
a3b2808a7cac11de58de9b98de6f7f5e223949e8 | 82,114 | cpp | C++ | cvdump/dumppdb.cpp | kyle-sylvestre/building-microsoft-pdb | 547baaedb2908e996dc2446c400f12ee6ebe9b02 | [
"MIT"
] | 1 | 2021-12-30T12:52:03.000Z | 2021-12-30T12:52:03.000Z | cvdump/dumppdb.cpp | kyle-sylvestre/building-microsoft-pdb | 547baaedb2908e996dc2446c400f12ee6ebe9b02 | [
"MIT"
] | null | null | null | cvdump/dumppdb.cpp | kyle-sylvestre/building-microsoft-pdb | 547baaedb2908e996dc2446c400f12ee6ebe9b02 | [
"MIT"
] | 1 | 2021-12-31T01:17:32.000Z | 2021-12-31T01:17:32.000Z | /***********************************************************************
* Microsoft (R) Debugging Information Dumper
*
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* File Comments:
*
*
***********************************************************************/
#include "missing_impl.h"
#include "pdb.h"
... | 28.05398 | 132 | 0.430316 | kyle-sylvestre |
a3b4510144332fae8e26951b07addfd729a61342 | 2,943 | cpp | C++ | compiler-native/compiler/apps/bandwidth_recorder.cpp | SleepyToDeath/NetQRE | 0176a31afa45faa4877974a4a0575a4e60534090 | [
"MIT"
] | 2 | 2021-03-30T15:25:44.000Z | 2021-05-14T07:22:25.000Z | compiler-native/compiler/apps/bandwidth_recorder.cpp | SleepyToDeath/NetQRE | 0176a31afa45faa4877974a4a0575a4e60534090 | [
"MIT"
] | null | null | null | compiler-native/compiler/apps/bandwidth_recorder.cpp | SleepyToDeath/NetQRE | 0176a31afa45faa4877974a4a0575a4e60534090 | [
"MIT"
] | null | null | null | #include <pcap.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <arpa/inet.h>
#include <linux_compat.h>
#include <unordered_map>
#define ETHERNET_LINK_OFFSET 14
FILE *file = NULL;
long packet_cnt = 0;
bool debug_mode = false;
long bucket_bytes = 0;
long bucket_time_ms = 0;
s... | 25.37069 | 112 | 0.607883 | SleepyToDeath |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.