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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
64ca80d8ea5a2602035e6a05f685edadd30642e9 | 164 | cpp | C++ | GameServer/main.cpp | joyate/EjoyServer | e27da5a26189b9313df6378bd1194845eae45646 | [
"MIT"
] | 3 | 2017-03-27T03:13:41.000Z | 2019-12-24T00:18:14.000Z | GameServer/main.cpp | joyate/EjoyServer | e27da5a26189b9313df6378bd1194845eae45646 | [
"MIT"
] | null | null | null | GameServer/main.cpp | joyate/EjoyServer | e27da5a26189b9313df6378bd1194845eae45646 | [
"MIT"
] | null | null | null | #include "type_common.h"
#include "Server.h"
Server svr;
int main(int argc,const char* argv[])
{
if (!svr.Init())
{
return 0;
}
svr.Run();
return 0;
} | 9.647059 | 37 | 0.597561 | joyate |
64d36602afc8872cfd6532fef70113ea50f00f3d | 12,200 | hpp | C++ | src/nark/circular_queue.hpp | rockeet/nark-bone | 11263ff5a192c85e4a2776aac1096d01138483d2 | [
"BSD-3-Clause"
] | 18 | 2015-02-12T04:41:22.000Z | 2018-08-22T07:44:13.000Z | src/nark/circular_queue.hpp | rockeet/nark-bone | 11263ff5a192c85e4a2776aac1096d01138483d2 | [
"BSD-3-Clause"
] | null | null | null | src/nark/circular_queue.hpp | rockeet/nark-bone | 11263ff5a192c85e4a2776aac1096d01138483d2 | [
"BSD-3-Clause"
] | 13 | 2015-05-24T12:24:46.000Z | 2021-01-05T10:59:40.000Z | /* vim: set tabstop=4 : */
/********************************************************************
@file circular_queue.hpp
@brief 循环队列的实现
@date 2006-9-28 12:07
@author Lei Peng
@{
*********************************************************************/
#ifndef __circular_queue_hpp_
#define __circular_queue_hpp_
#i... | 22.426471 | 105 | 0.629344 | rockeet |
64d5fd430e8bd0617350ac39defc8981f14ea986 | 555 | hpp | C++ | include/alx/UserEvent.hpp | SpaceManiac/ALX | d0d6b17be43fbd533f05f79c630dcd3ebf0a21e6 | [
"BSD-3-Clause"
] | null | null | null | include/alx/UserEvent.hpp | SpaceManiac/ALX | d0d6b17be43fbd533f05f79c630dcd3ebf0a21e6 | [
"BSD-3-Clause"
] | null | null | null | include/alx/UserEvent.hpp | SpaceManiac/ALX | d0d6b17be43fbd533f05f79c630dcd3ebf0a21e6 | [
"BSD-3-Clause"
] | null | null | null | #ifndef ALX_USEREVENT_HPP
#define ALX_USEREVENT_HPP
namespace alx {
/**
Base class for user events.
*/
class UserEvent {
public:
/**
constructor.
@param type event type.
*/
UserEvent(int type) : m_type(type) {
}
/**
destructor.
*/
virtual ~UserEvent() {
... | 12.613636 | 40 | 0.545946 | SpaceManiac |
64d6e51067ebce9bacbd43ac1c8ba145e77c379a | 675 | cpp | C++ | code-samples/Conditionals/Exercise_6.cpp | csdeptku/cs141 | befd96cb22bccc9b1561224967c9feafd2a550e4 | [
"Apache-2.0"
] | null | null | null | code-samples/Conditionals/Exercise_6.cpp | csdeptku/cs141 | befd96cb22bccc9b1561224967c9feafd2a550e4 | [
"Apache-2.0"
] | null | null | null | code-samples/Conditionals/Exercise_6.cpp | csdeptku/cs141 | befd96cb22bccc9b1561224967c9feafd2a550e4 | [
"Apache-2.0"
] | null | null | null | /*
Write a function word_check that takes in a string word and returns a string.
The function should return the string "long" if the word is longer than 6 characters,
"short" if it is less than 6 characters, and "medium" if it is exactly 6 characters long.
*/
#include <iostream>
using namespace std;
str... | 23.275862 | 93 | 0.634074 | csdeptku |
64d7abf482cd886893df1d97ba95505b45bb3081 | 3,086 | cpp | C++ | samples/MDDSSample/src/MDDSSampleApp.cpp | heisters/Cinder-MDDS | 2531ea668eff1aef8e98ca76863242e0bb3a2c54 | [
"MIT"
] | 2 | 2015-03-10T17:51:49.000Z | 2015-04-29T14:34:00.000Z | samples/MDDSSample/src/MDDSSampleApp.cpp | heisters/Cinder-MDDS | 2531ea668eff1aef8e98ca76863242e0bb3a2c54 | [
"MIT"
] | null | null | null | samples/MDDSSample/src/MDDSSampleApp.cpp | heisters/Cinder-MDDS | 2531ea668eff1aef8e98ca76863242e0bb3a2c54 | [
"MIT"
] | null | null | null | #include "cinder/app/AppNative.h"
#include "cinder/gl/gl.h"
#include "cinder/Utilities.h"
#include "cinder/Text.h"
#include "cinder/Rand.h"
#include <boost/format.hpp>
#include "MDDSMovie.h"
class MDDSSampleApp : public ci::app::AppNative {
public:
MDDSSampleApp();
// Lifecycle ---------------------------... | 26.834783 | 100 | 0.568049 | heisters |
64d96398fd9eec516cb2142498338c782b41ada1 | 947 | hpp | C++ | examples/saber-salient/include/saber-salient.hpp | achirkin/real-salient | e3bceca601562aa03ee4261ba41709b63cc5286b | [
"BSD-3-Clause"
] | 9 | 2020-07-05T08:21:39.000Z | 2021-10-30T09:52:43.000Z | examples/saber-salient/include/saber-salient.hpp | achirkin/real-salient | e3bceca601562aa03ee4261ba41709b63cc5286b | [
"BSD-3-Clause"
] | null | null | null | examples/saber-salient/include/saber-salient.hpp | achirkin/real-salient | e3bceca601562aa03ee4261ba41709b63cc5286b | [
"BSD-3-Clause"
] | 1 | 2020-07-05T10:45:12.000Z | 2020-07-05T10:45:12.000Z | #pragma once
#include "salient/salient_structs.hpp"
extern "C"
{
struct SaberSalient;
__declspec(dllexport) int SaberSalient_init(SaberSalient** out_SaberSalient, void (*in_loadColor)(uint8_t*), void (*in_loadDepth)(float*));
__declspec(dllexport) void SaberSalient_destroy(SaberSalient *in_SaberSalient);
__dec... | 37.88 | 140 | 0.832101 | achirkin |
64dc3178a38f6c13407c3d84a4880b8359e6f9ba | 5,799 | hpp | C++ | AutomatedScheduler/include/TextHandler.hpp | Electrux/CCPP-Code | 3c5e5b866cf050c11bced9651b112eb31dd2465d | [
"BSD-3-Clause"
] | 6 | 2019-08-29T23:31:17.000Z | 2021-11-14T20:35:47.000Z | AutomatedScheduler/include/TextHandler.hpp | Electrux/CCPP-Code | 3c5e5b866cf050c11bced9651b112eb31dd2465d | [
"BSD-3-Clause"
] | null | null | null | AutomatedScheduler/include/TextHandler.hpp | Electrux/CCPP-Code | 3c5e5b866cf050c11bced9651b112eb31dd2465d | [
"BSD-3-Clause"
] | 1 | 2019-09-01T12:22:58.000Z | 2019-09-01T12:22:58.000Z | #ifndef TEXT_HANDLER_HPP
#define TEXT_HANDLER_HPP
#include <SFML/Graphics.hpp>
#include "Data.hpp"
class TextHandler : public sf::Drawable
{
std::string text, typwhat, typwhat2, _count, _time;
sf::Text temptext, typehere, typewhat, typewhat2, counts, time;
std::vector<sf::Text> drawtext;
int count;
... | 22.04943 | 109 | 0.583032 | Electrux |
64e1c2b4ba3a945831eeb80a7d9b65338f08b00c | 8,821 | cpp | C++ | runtime/device.cpp | fletcherjiang/ssm-alipay | d7cd911c72c2538859597b9ed3c96d02693febf2 | [
"Apache-2.0"
] | 169 | 2021-10-07T03:50:42.000Z | 2021-12-20T01:55:51.000Z | runtime/device.cpp | fletcherjiang/ssm-alipay | d7cd911c72c2538859597b9ed3c96d02693febf2 | [
"Apache-2.0"
] | 11 | 2021-10-09T01:53:49.000Z | 2021-10-09T01:53:49.000Z | runtime/device.cpp | JoeAnimation/ssm-alipay | d7cd911c72c2538859597b9ed3c96d02693febf2 | [
"Apache-2.0"
] | 56 | 2021-10-07T03:50:53.000Z | 2021-10-12T00:41:59.000Z | /**
* @file device.cpp
*
* Copyright (C) Huawei Technologies Co., Ltd. 2019-2020. All Rights Reserved.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
#include "acl/acl_rt.h"
... | 38.688596 | 114 | 0.701961 | fletcherjiang |
64ea0f4c80afa7839f4b8ce7366f4a249103dc15 | 1,181 | cpp | C++ | codeforce6/1006D. Two Strings Swaps.cpp | khaled-farouk/My_problem_solving_solutions | 46ed6481fc9b424d0714bc717cd0ba050a6638ef | [
"MIT"
] | null | null | null | codeforce6/1006D. Two Strings Swaps.cpp | khaled-farouk/My_problem_solving_solutions | 46ed6481fc9b424d0714bc717cd0ba050a6638ef | [
"MIT"
] | null | null | null | codeforce6/1006D. Two Strings Swaps.cpp | khaled-farouk/My_problem_solving_solutions | 46ed6481fc9b424d0714bc717cd0ba050a6638ef | [
"MIT"
] | null | null | null | /*
Idea:
- Each 2 mirror indexes in `a` and `b` are solvable alone,
in other words they does not affect the other indexes.
- We can use the fact in the previous point and solve each
2 mirror indexes and add the result of them to the solution
of the problem.
*/
#include <bits/stdc++.h>
usin... | 19.683333 | 102 | 0.421677 | khaled-farouk |
64ebf495a4d7c5a3c0dfcd93ecca0cb12a0eddb4 | 7,736 | cpp | C++ | src/tools/SxStructPatch.cpp | ashtonmv/sphinx_vdw | 5896fee0d92c06e883b72725cb859d732b8b801f | [
"Apache-2.0"
] | 1 | 2020-02-29T03:26:32.000Z | 2020-02-29T03:26:32.000Z | src/tools/SxStructPatch.cpp | ashtonmv/sphinx_vdw | 5896fee0d92c06e883b72725cb859d732b8b801f | [
"Apache-2.0"
] | null | null | null | src/tools/SxStructPatch.cpp | ashtonmv/sphinx_vdw | 5896fee0d92c06e883b72725cb859d732b8b801f | [
"Apache-2.0"
] | null | null | null | // ---------------------------------------------------------------------------
//
// The ab-initio based multiscale library
//
// S / P H I / n X
//
// Copyright: Max-Planck-Institute for Iron Research
// 40237 Duesseldorf, Germany
//
// Contact: https://sxlib.mpie.d... | 30.944 | 99 | 0.496768 | ashtonmv |
64edbf53d0c907a17531b431824a0921b05e2927 | 6,536 | hh | C++ | GeneralUtilities/inc/OwningPointerCollection.hh | lborrel/Offline | db9f647bad3c702171ab5ffa5ccc04c82b3f8984 | [
"Apache-2.0"
] | 9 | 2020-03-28T00:21:41.000Z | 2021-12-09T20:53:26.000Z | GeneralUtilities/inc/OwningPointerCollection.hh | lborrel/Offline | db9f647bad3c702171ab5ffa5ccc04c82b3f8984 | [
"Apache-2.0"
] | 684 | 2019-08-28T23:37:43.000Z | 2022-03-31T22:47:45.000Z | GeneralUtilities/inc/OwningPointerCollection.hh | lborrel/Offline | db9f647bad3c702171ab5ffa5ccc04c82b3f8984 | [
"Apache-2.0"
] | 61 | 2019-08-16T23:28:08.000Z | 2021-12-20T08:29:48.000Z | #ifndef GeneralUtilities_OwningPointerCollection_hh
#define GeneralUtilities_OwningPointerCollection_hh
//
// A class template to take ownership of a collection of bare pointers to
// objects, to provide access to those objects and to delete them when the
// container object goes out of scope.
//
// This is designed to... | 27.812766 | 101 | 0.655141 | lborrel |
64ee53277ab5a72163a299848984f1413a0c879b | 1,777 | hpp | C++ | shared_model/backend/plain/engine_log.hpp | Insafin/iroha | 5e3c3252b2a62fa887274bdf25547dc264c10c26 | [
"Apache-2.0"
] | 1,467 | 2016-10-25T12:27:19.000Z | 2022-03-28T04:32:05.000Z | shared_model/backend/plain/engine_log.hpp | Insafin/iroha | 5e3c3252b2a62fa887274bdf25547dc264c10c26 | [
"Apache-2.0"
] | 2,366 | 2016-10-25T10:07:57.000Z | 2022-03-31T22:03:24.000Z | shared_model/backend/plain/engine_log.hpp | Insafin/iroha | 5e3c3252b2a62fa887274bdf25547dc264c10c26 | [
"Apache-2.0"
] | 662 | 2016-10-26T04:41:22.000Z | 2022-03-31T04:15:02.000Z | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef IROHA_SHARED_MODEL_PLAIN_ENGINE_LOG_HPP
#define IROHA_SHARED_MODEL_PLAIN_ENGINE_LOG_HPP
#include "interfaces/query_responses/engine_log.hpp"
#include "interfaces/common_objects/types.hpp"
namespace shared_mo... | 29.616667 | 75 | 0.684299 | Insafin |
64f16b150a5787b3cee60de5b57c74eeadffac73 | 195 | cpp | C++ | Code full house/buoi17-nguyendinhtrungduc dequy/dequy/bai2.cpp | ducyb2001/CbyTrungDuc | 0e93394dce600876a098b90ae969575bac3788e1 | [
"Apache-2.0"
] | null | null | null | Code full house/buoi17-nguyendinhtrungduc dequy/dequy/bai2.cpp | ducyb2001/CbyTrungDuc | 0e93394dce600876a098b90ae969575bac3788e1 | [
"Apache-2.0"
] | null | null | null | Code full house/buoi17-nguyendinhtrungduc dequy/dequy/bai2.cpp | ducyb2001/CbyTrungDuc | 0e93394dce600876a098b90ae969575bac3788e1 | [
"Apache-2.0"
] | null | null | null | /*bai 2 S=1^2+2^2+3^2+.....+n^2 */
#include<stdio.h>
int tong(int n){
if(n==1) return 1;
else return n*n+tong(n-1);
}
int main(){
int n;
scanf("%d",&n);
int a = tong(n);
printf("%d",a);
}
| 13.928571 | 34 | 0.517949 | ducyb2001 |
64ff2b7560463b0cc2cfd8afa46d17f74d3bddfe | 3,308 | cpp | C++ | ocs2_robotic_examples/ocs2_nadia/src/constraint/EndEffectorLinearConstraint.cpp | james-p-foster/ocs2 | 8f1da414ba9ebb94ad1e8dd9bd513dbb9cc462fa | [
"BSD-3-Clause"
] | null | null | null | ocs2_robotic_examples/ocs2_nadia/src/constraint/EndEffectorLinearConstraint.cpp | james-p-foster/ocs2 | 8f1da414ba9ebb94ad1e8dd9bd513dbb9cc462fa | [
"BSD-3-Clause"
] | null | null | null | ocs2_robotic_examples/ocs2_nadia/src/constraint/EndEffectorLinearConstraint.cpp | james-p-foster/ocs2 | 8f1da414ba9ebb94ad1e8dd9bd513dbb9cc462fa | [
"BSD-3-Clause"
] | null | null | null | #include "ocs2_nadia/constraint/EndEffectorLinearConstraint.h"
namespace ocs2 {
namespace legged_robot {
EndEffectorLinearConstraint::EndEffectorLinearConstraint(const EndEffectorKinematics<scalar_t>& endEffectorKinematics,
size_t numConstraints, Config config)... | 46.591549 | 124 | 0.674123 | james-p-foster |
64ff86bb1abd98bcc80d11f3bf21964ffda6bf5d | 102 | hpp | C++ | include/libelfxx/sys_types.hpp | syoch/libelfxx | b8717d48f21012df079a05956186296f434f82bc | [
"MIT"
] | null | null | null | include/libelfxx/sys_types.hpp | syoch/libelfxx | b8717d48f21012df079a05956186296f434f82bc | [
"MIT"
] | 1 | 2021-07-04T09:16:49.000Z | 2021-07-04T09:16:49.000Z | include/libelfxx/sys_types.hpp | syoch/libelfxx | b8717d48f21012df079a05956186296f434f82bc | [
"MIT"
] | 1 | 2021-11-26T23:14:02.000Z | 2021-11-26T23:14:02.000Z | #pragma once
enum ClassType
{
class32 = 1,
class64 = 2
};
enum Endian
{
Little = 1,
Big = 2
}; | 9.272727 | 14 | 0.588235 | syoch |
64ffedd24923217129d2d81a58942531afcfffaa | 13,569 | cpp | C++ | cpp/tests/experimental/mg_bfs_test.cpp | goncaloperes/cugraph | d4decff28d1f9b15a95c4bd25a6da21c2ed42ce0 | [
"Apache-2.0"
] | null | null | null | cpp/tests/experimental/mg_bfs_test.cpp | goncaloperes/cugraph | d4decff28d1f9b15a95c4bd25a6da21c2ed42ce0 | [
"Apache-2.0"
] | null | null | null | cpp/tests/experimental/mg_bfs_test.cpp | goncaloperes/cugraph | d4decff28d1f9b15a95c4bd25a6da21c2ed42ce0 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2021, NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 41.495413 | 99 | 0.644336 | goncaloperes |
8f0319c8fc93b9a0d9f9a1eb51b7f3a9146c280c | 275 | hpp | C++ | simulator/version.hpp | xuanruiqi/et2-java | 1e82b3a26f6eeb1054da8244173666d107de38ca | [
"BSD-2-Clause"
] | 1 | 2019-05-29T06:35:58.000Z | 2019-05-29T06:35:58.000Z | simulator/version.hpp | xuanruiqi/et2-java | 1e82b3a26f6eeb1054da8244173666d107de38ca | [
"BSD-2-Clause"
] | 22 | 2018-04-04T23:05:09.000Z | 2019-04-20T00:04:03.000Z | simulator/version.hpp | RedlineResearch/QTR-tool | 7838a726b66c990b5278e7f9f5d4c642ed43775d | [
"BSD-2-Clause"
] | 2 | 2018-03-30T19:35:07.000Z | 2019-04-19T23:38:17.000Z | #ifndef _VERSION_H
#define _VERSION_H
extern const char *build_git_time;
extern const char *build_git_sha;
// From Stackoverflow:
// http://stackoverflow.com/questions/1704907/how-can-i-get-my-c-code-to-automatically-print-out-its-git-version-hash
#endif /* _VERSION_H */
| 25 | 117 | 0.778182 | xuanruiqi |
8f07528ecd91228eef5326d3d528862b1f6ffe35 | 170 | cpp | C++ | CodeChef/Easy-Problems/TEST.cpp | annukamat/My-Competitive-Journey | adb13a5723483cde13e5f3859b3a7ad840b86c97 | [
"MIT"
] | 7 | 2018-11-08T11:39:27.000Z | 2020-09-10T17:50:57.000Z | CodeChef/Easy-Problems/TEST.cpp | annukamat/My-Competitive-Journey | adb13a5723483cde13e5f3859b3a7ad840b86c97 | [
"MIT"
] | null | null | null | CodeChef/Easy-Problems/TEST.cpp | annukamat/My-Competitive-Journey | adb13a5723483cde13e5f3859b3a7ad840b86c97 | [
"MIT"
] | 2 | 2019-09-16T14:34:03.000Z | 2019-10-12T19:24:00.000Z | #include <iostream>
using namespace std;
int main(){
int num;
cin>>num;
while(!(num == 42)){
cout<<num<<"\n";
cin>>num;
}
return 0;
} | 14.166667 | 24 | 0.482353 | annukamat |
8f07dfbf5bfa333b4f55400f2924f908231cecb4 | 5,557 | cpp | C++ | iceoryx_utils/test/moduletests/test_cxx_helplets.cpp | dotChris90/iceoryx | 9a71b9274d60f5665375e67d142e79660c4c8365 | [
"Apache-2.0"
] | null | null | null | iceoryx_utils/test/moduletests/test_cxx_helplets.cpp | dotChris90/iceoryx | 9a71b9274d60f5665375e67d142e79660c4c8365 | [
"Apache-2.0"
] | null | null | null | iceoryx_utils/test/moduletests/test_cxx_helplets.cpp | dotChris90/iceoryx | 9a71b9274d60f5665375e67d142e79660c4c8365 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2019 by Robert Bosch GmbH. All rights reserved.
// Copyright (c) 2021 by Apex AI Inc. 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:... | 28.792746 | 109 | 0.755983 | dotChris90 |
8f089cd4b779573677570eeb9519ee49c84f0435 | 795 | cpp | C++ | src/gui/widget/BodyWidget/RawBodyTab/RawBodyTabView.cpp | bartkessels/GetIt | 8adde91005d00d83a73227a91b08706657513f41 | [
"MIT"
] | 16 | 2020-09-07T18:53:39.000Z | 2022-03-21T08:15:55.000Z | src/gui/widget/BodyWidget/RawBodyTab/RawBodyTabView.cpp | bartkessels/GetIt | 8adde91005d00d83a73227a91b08706657513f41 | [
"MIT"
] | 23 | 2017-03-29T21:21:43.000Z | 2022-03-23T07:27:55.000Z | src/gui/widget/BodyWidget/RawBodyTab/RawBodyTabView.cpp | bartkessels/GetIt | 8adde91005d00d83a73227a91b08706657513f41 | [
"MIT"
] | 4 | 2020-06-15T12:51:10.000Z | 2021-09-05T20:50:46.000Z | #include "gui/widget/BodyWidget/RawBodyTab/RawBodyTabView.hpp"
#include "./ui_RawBodyTabView.h"
using namespace getit::gui::widget::BodyWidget;
RawBodyTabView::RawBodyTabView(QWidget* parent):
QWidget(parent),
ui(new Ui::RawBodyTabView())
{
ui->setupUi(this);
}
RawBodyTabView::~RawBodyTabView()
{
del... | 22.083333 | 72 | 0.72956 | bartkessels |
557f2b58794d0d4e0f9604d125de0a6bc6e95df8 | 1,830 | cpp | C++ | Source/Tetris3D/Tetris3DSpawner.cpp | dingjun/Tetris3D | 66adfa23a8fb94376553dcc890fd0a61d9e8c297 | [
"MIT"
] | null | null | null | Source/Tetris3D/Tetris3DSpawner.cpp | dingjun/Tetris3D | 66adfa23a8fb94376553dcc890fd0a61d9e8c297 | [
"MIT"
] | null | null | null | Source/Tetris3D/Tetris3DSpawner.cpp | dingjun/Tetris3D | 66adfa23a8fb94376553dcc890fd0a61d9e8c297 | [
"MIT"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#include "Tetris3DSpawner.h"
#include "Tetris3DTetromino.h"
#include "Tetris3DGameMode.h"
#include "Engine/World.h"
// Sets default values
ATetris3DSpawner::ATetris3DSpawner()
{
// Set this actor to call Tick() every frame. You can turn... | 24.4 | 115 | 0.727322 | dingjun |
557f74abe6322e2eeeab60c9ae0dfc457bcfa204 | 1,304 | cpp | C++ | CMinus/CMinus/node/list_node.cpp | benbraide/CMinus | 3b845e0bc22840b549f108bf6600f1f34d865e7b | [
"MIT"
] | null | null | null | CMinus/CMinus/node/list_node.cpp | benbraide/CMinus | 3b845e0bc22840b549f108bf6600f1f34d865e7b | [
"MIT"
] | null | null | null | CMinus/CMinus/node/list_node.cpp | benbraide/CMinus | 3b845e0bc22840b549f108bf6600f1f34d865e7b | [
"MIT"
] | null | null | null | #include "../logic/runtime.h"
#include "list_node.h"
cminus::node::list::list(object *parent, const std::vector<std::shared_ptr<object>> &value)
: object(parent), value_(value){}
cminus::node::list::list(object *parent, std::vector<std::shared_ptr<object>> &&value)
: object(parent), value_(std::move(value)){}
cmin... | 26.612245 | 103 | 0.697853 | benbraide |
557fc58ce0b623b4afaa2af211a1f90c521732bd | 1,924 | hpp | C++ | Sniper.hpp | dvirs12345/cpp-wargame2 | 084f93e124b723730d716379282bdd1bf394d3ea | [
"MIT"
] | null | null | null | Sniper.hpp | dvirs12345/cpp-wargame2 | 084f93e124b723730d716379282bdd1bf394d3ea | [
"MIT"
] | null | null | null | Sniper.hpp | dvirs12345/cpp-wargame2 | 084f93e124b723730d716379282bdd1bf394d3ea | [
"MIT"
] | null | null | null | // Author - Dvir Sadon
#include "Soldier.hpp"
#include "Board.hpp"
#define MAX_HEALTHS 100
#define DPAS 50
#pragma once
using namespace std;
namespace WarGame
{
class Sniper : public Soldier
{
public:
int dpa;
Sniper(){ this->hp = MAX_HEALTHS; this->dpa = DPAS; this->maxHP = M... | 37 | 143 | 0.43815 | dvirs12345 |
55820b931ae22cd1c3a397d4abb4bb91b4f731c3 | 1,515 | cpp | C++ | src/utils/ComplexCalculator.cpp | nolasconapoleao/complex-library | cbf4ee14739a42a9f6880440ad37a1854cbad8f5 | [
"MIT"
] | null | null | null | src/utils/ComplexCalculator.cpp | nolasconapoleao/complex-library | cbf4ee14739a42a9f6880440ad37a1854cbad8f5 | [
"MIT"
] | 1 | 2020-02-19T21:12:21.000Z | 2020-02-19T21:12:21.000Z | src/utils/ComplexCalculator.cpp | nolasconapoleao/complex-library | cbf4ee14739a42a9f6880440ad37a1854cbad8f5 | [
"MIT"
] | null | null | null | #include "../complex/RectangularComplex.h"
#include "../complex/PolarComplex.h"
#include "ComplexConverter.cpp"
namespace complex {
inline RectangularComplex operator+(RectangularComplex rc1, RectangularComplex rc2) {
const double real = rc1.getReal() + rc2.getReal();
const double imaginary = rc1.... | 37.875 | 89 | 0.671947 | nolasconapoleao |
5584b10f0ac21752110b8cf5c25a9075ec19cf44 | 23 | cpp | C++ | CudaTest/CudaTest.cpp | chenzhengxi/example | 07a8436e92ccab8e330d2a77e2cca23b8a540df3 | [
"MIT"
] | null | null | null | CudaTest/CudaTest.cpp | chenzhengxi/example | 07a8436e92ccab8e330d2a77e2cca23b8a540df3 | [
"MIT"
] | null | null | null | CudaTest/CudaTest.cpp | chenzhengxi/example | 07a8436e92ccab8e330d2a77e2cca23b8a540df3 | [
"MIT"
] | null | null | null | int CudaTest()
{
} | 5.75 | 14 | 0.478261 | chenzhengxi |
5587f0d801da097b18d89797e2ed364a87ec2c39 | 7,393 | cpp | C++ | ARM/ST/STM32L4xx/src/i2c_stm32l4xx.cpp | tmaltesen/IOsonata | 3ada9216305653670fccfca8fd53c6597ace8f12 | [
"MIT"
] | null | null | null | ARM/ST/STM32L4xx/src/i2c_stm32l4xx.cpp | tmaltesen/IOsonata | 3ada9216305653670fccfca8fd53c6597ace8f12 | [
"MIT"
] | null | null | null | ARM/ST/STM32L4xx/src/i2c_stm32l4xx.cpp | tmaltesen/IOsonata | 3ada9216305653670fccfca8fd53c6597ace8f12 | [
"MIT"
] | null | null | null | /**-------------------------------------------------------------------------
@file i2c_stm32l4xx.cpp
@brief I2C implementation on STM32L4xx series MCU
@author Hoang Nguyen Hoan
@date Sep. 5, 2019
@license
Copyright (c) 2019, I-SYST inc., all rights reserved
Permission to use, copy, modify, and distribute this soft... | 24.976351 | 85 | 0.710943 | tmaltesen |
558848098a7f26a6f3528ea53ac0c3411668a351 | 4,584 | cpp | C++ | srcs/cgi/Cgi.cpp | NeuggWebserv/webserv | 0b90c362239761f561a0db8b03da4c4586a44197 | [
"MIT"
] | null | null | null | srcs/cgi/Cgi.cpp | NeuggWebserv/webserv | 0b90c362239761f561a0db8b03da4c4586a44197 | [
"MIT"
] | 6 | 2021-04-17T10:28:23.000Z | 2021-05-02T09:51:32.000Z | srcs/cgi/Cgi.cpp | NeuggWebserv/webserv | 0b90c362239761f561a0db8b03da4c4586a44197 | [
"MIT"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Cgi.cpp :+: :+: :+: ... | 27.95122 | 104 | 0.535558 | NeuggWebserv |
55947a783c75b740e572a4d65c9e6e913d77f08f | 373 | hpp | C++ | internal/states/common/helper/helper.hpp | YarikRevich/SyE | 3f73350f7e8fd9975e747c9c49667bbee278b594 | [
"MIT"
] | null | null | null | internal/states/common/helper/helper.hpp | YarikRevich/SyE | 3f73350f7e8fd9975e747c9c49667bbee278b594 | [
"MIT"
] | null | null | null | internal/states/common/helper/helper.hpp | YarikRevich/SyE | 3f73350f7e8fd9975e747c9c49667bbee278b594 | [
"MIT"
] | null | null | null | #pragma once
#include <map>
#include <vector>
#include "./../../../bufs/bufs.hpp"
namespace CommonStateHelper
{
extern std::map<int, bool> key_handlers;
extern std::vector<int> key_exceptions;
bool isKeyException(int ch);
void setKeyHandled(int ch);
bool isKeyHandled(int ch);
void resetKe... | 16.954545 | 44 | 0.678284 | YarikRevich |
559dca1edb60826065bdd054d771fac58ae39db4 | 10,655 | cpp | C++ | src/core/Identifier.cpp | grealish/opentxs | 614999063079f5843428abcaa62974f5f19f88a1 | [
"Apache-2.0"
] | 1 | 2015-11-05T12:09:37.000Z | 2015-11-05T12:09:37.000Z | src/core/Identifier.cpp | grealish/opentxs | 614999063079f5843428abcaa62974f5f19f88a1 | [
"Apache-2.0"
] | null | null | null | src/core/Identifier.cpp | grealish/opentxs | 614999063079f5843428abcaa62974f5f19f88a1 | [
"Apache-2.0"
] | null | null | null | /************************************************************
*
* OTIdentifier.cpp
*
*/
/************************************************************
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
* OPEN TRANSACTIONS
*
* Financial Cryptography and Digital Cash
* Library, Protocol... | 34.370968 | 80 | 0.687565 | grealish |
55a1403817ca4bce43b4cc7f9a766496af14f577 | 12,986 | cpp | C++ | beelzebub/src/tests/bigint.cpp | vercas/Beelzebub | 9d0e4790060b313c6681ca7e478d08d3910332b0 | [
"NCSA"
] | 32 | 2015-09-02T22:56:22.000Z | 2021-02-24T17:15:50.000Z | beelzebub/src/tests/bigint.cpp | vercas/Beelzebub | 9d0e4790060b313c6681ca7e478d08d3910332b0 | [
"NCSA"
] | 30 | 2015-04-26T18:35:07.000Z | 2021-06-06T09:57:02.000Z | beelzebub/src/tests/bigint.cpp | vercas/Beelzebub | 9d0e4790060b313c6681ca7e478d08d3910332b0 | [
"NCSA"
] | 11 | 2015-09-03T20:47:41.000Z | 2021-06-25T17:00:01.000Z | /*
Copyright (c) 2016 Alexandru-Mihai Maftei. All rights reserved.
Developed by: Alexandru-Mihai Maftei
aka Vercas
http://vercas.com | https://github.com/vercas/Beelzebub
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation... | 32.710327 | 87 | 0.569844 | vercas |
55a1b52862820322526616c3d1d946a6fd97b712 | 7,104 | cpp | C++ | framework/src/App/main.cpp | gautier-lefebvre/cppframework | bc1c3405913343274d79240b17ab75ae3f2adf56 | [
"MIT"
] | null | null | null | framework/src/App/main.cpp | gautier-lefebvre/cppframework | bc1c3405913343274d79240b17ab75ae3f2adf56 | [
"MIT"
] | 3 | 2015-12-21T09:04:49.000Z | 2015-12-21T19:22:47.000Z | framework/src/App/main.cpp | gautier-lefebvre/cppframework | bc1c3405913343274d79240b17ab75ae3f2adf56 | [
"MIT"
] | null | null | null | #include <iostream>
#include <unistd.h>
#include "../../../dist/cppframework.hh"
static void tcpServer(fwk::System* system, uint16_t port) {
int i = 0;
try {
fwk::TcpServer& server = fwk::NetworkManager::get().getTCP().createServer(port);
server.events.onAccept.subscribe([] (fwk::TcpSocketStream*) {
... | 29.974684 | 241 | 0.603322 | gautier-lefebvre |
55a86c5cf49b250d2aec738c971545b6158131cf | 2,454 | cpp | C++ | CS2/DanielPinedoCS2Assignment3/DanielPinedoCS2Assignment3/FractionList.cpp | odenipinedo/cpp | 74a7c00e60bfd68e0004013ee05f1fa294056395 | [
"Unlicense"
] | null | null | null | CS2/DanielPinedoCS2Assignment3/DanielPinedoCS2Assignment3/FractionList.cpp | odenipinedo/cpp | 74a7c00e60bfd68e0004013ee05f1fa294056395 | [
"Unlicense"
] | null | null | null | CS2/DanielPinedoCS2Assignment3/DanielPinedoCS2Assignment3/FractionList.cpp | odenipinedo/cpp | 74a7c00e60bfd68e0004013ee05f1fa294056395 | [
"Unlicense"
] | null | null | null | /*
Name: Daniel Pinedo
Class: CS 2
Assignment #: 3
All Compilers Used: VS17
Operating Systems on Which Compiled: Win10
Date and Time of Last successful run: 10/4/2017 @0345
Email: d.p@ieee.org
*/
#include "FractionList.h"
FractionList::FractionList() : num_elements(0), isSorted(false)
{
}
void FractionList::addFract... | 18.313433 | 71 | 0.635697 | odenipinedo |
55b3cd6b93a7279163db4755860b4a680cb50e44 | 2,568 | cpp | C++ | external/mintomic/tests/template.test_bitarray.cpp | ehei1/orbit | f990a7f9abb7d330e93d0d20018a62869890f04e | [
"BSD-2-Clause"
] | 327 | 2015-01-02T19:25:13.000Z | 2022-03-07T21:25:48.000Z | external/mintomic/tests/template.test_bitarray.cpp | ehei1/orbit | f990a7f9abb7d330e93d0d20018a62869890f04e | [
"BSD-2-Clause"
] | 13 | 2015-01-14T23:35:43.000Z | 2016-02-07T16:13:18.000Z | external/mintomic/tests/template.test_bitarray.cpp | ehei1/orbit | f990a7f9abb7d330e93d0d20018a62869890f04e | [
"BSD-2-Clause"
] | 72 | 2015-01-01T11:11:23.000Z | 2021-12-28T06:52:10.000Z | #include <mintomic/mintomic.h>
#include <mintpack/random.h>
#include <mintpack/timewaster.h>
#include <mintpack/threadsynchronizer.h>
#include <assert.h>
#include <string.h>
#define ELEMENT(index) ((index) >> ${TEST_INT_BITSHIFT})
#define BIT(index) ((uint${TEST_INT_BITSIZE}_t) 1 << ((index) & (${TEST_INT_BITSIZE} - ... | 28.21978 | 93 | 0.589564 | ehei1 |
55bbc358cefbdfda93859d14d6f84cacb949dc08 | 4,865 | cpp | C++ | src/number/ratio.cpp | peelonet/peelo-cpp | 8b1923f25175497cf46478c9ab5e9fbab365b6d6 | [
"BSD-2-Clause"
] | null | null | null | src/number/ratio.cpp | peelonet/peelo-cpp | 8b1923f25175497cf46478c9ab5e9fbab365b6d6 | [
"BSD-2-Clause"
] | null | null | null | src/number/ratio.cpp | peelonet/peelo-cpp | 8b1923f25175497cf46478c9ab5e9fbab365b6d6 | [
"BSD-2-Clause"
] | 1 | 2018-10-06T05:02:45.000Z | 2018-10-06T05:02:45.000Z | /*
* Copyright (c) 2014, peelo.net
* 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 ... | 26.297297 | 84 | 0.612333 | peelonet |
55c16bef9d6e1bcfb465455be82e6c3eecf84335 | 3,787 | cpp | C++ | src/consensus/sliver.cpp | beerriot/concord | b03ccf01963bd072915020bb954a7afdb3074d79 | [
"Apache-2.0"
] | null | null | null | src/consensus/sliver.cpp | beerriot/concord | b03ccf01963bd072915020bb954a7afdb3074d79 | [
"Apache-2.0"
] | null | null | null | src/consensus/sliver.cpp | beerriot/concord | b03ccf01963bd072915020bb954a7afdb3074d79 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
/**
* Sliver -- Zero-copy management of bytes.
*
* See sliver.hpp for design details.
*/
#include "sliver.hpp"
#include <algorithm>
#include <cassert>
#include <cstring>
#include <ios>
#include <memory>
#include "... | 28.473684 | 80 | 0.667019 | beerriot |
55c198449268a5b7ebfd22023399226b5bf3369f | 228 | cpp | C++ | main.cpp | robbor78/OpenGLTetris3D | b388cbdc2eda9fcc9a073f8aa857b0912819e695 | [
"Apache-2.0"
] | null | null | null | main.cpp | robbor78/OpenGLTetris3D | b388cbdc2eda9fcc9a073f8aa857b0912819e695 | [
"Apache-2.0"
] | null | null | null | main.cpp | robbor78/OpenGLTetris3D | b388cbdc2eda9fcc9a073f8aa857b0912819e695 | [
"Apache-2.0"
] | null | null | null | /*
* main.cpp
*
* Created on: 20 Dec 2013
* Author: bert
*/
#include "Application.h"
int main() {
Tetris3D::Application* app = new Tetris3D::Application();
app->Init();
app->Run();
delete app;
return 0;
}
| 10.363636 | 58 | 0.587719 | robbor78 |
55c3f45c2955619e2b1d1c5d5a9e28969c810ee3 | 6,576 | hpp | C++ | src/Vulkan/VkTimelineSemaphore.hpp | sunnycase/swiftshader | 592bce0dc7daaa8d2c7ee4b94bec98e0e7beeacc | [
"Apache-2.0"
] | 1,570 | 2016-06-30T10:40:04.000Z | 2022-03-31T01:47:33.000Z | src/Vulkan/VkTimelineSemaphore.hpp | sunnycase/swiftshader | 592bce0dc7daaa8d2c7ee4b94bec98e0e7beeacc | [
"Apache-2.0"
] | 9 | 2017-01-16T07:09:08.000Z | 2020-08-25T18:28:59.000Z | src/Vulkan/VkTimelineSemaphore.hpp | sunnycase/swiftshader | 592bce0dc7daaa8d2c7ee4b94bec98e0e7beeacc | [
"Apache-2.0"
] | 253 | 2016-06-30T18:57:10.000Z | 2022-03-25T03:57:40.000Z | // Copyright 2021 The SwiftShader Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required b... | 39.377246 | 113 | 0.756083 | sunnycase |
55c42a09001231832430ab515221e62db87f5a28 | 1,537 | hpp | C++ | test/tuple_hash.hpp | gkoszegi/cached_func | 97ad6158c31e39bb041b7612965d5a03c39020bf | [
"BSL-1.0"
] | null | null | null | test/tuple_hash.hpp | gkoszegi/cached_func | 97ad6158c31e39bb041b7612965d5a03c39020bf | [
"BSL-1.0"
] | null | null | null | test/tuple_hash.hpp | gkoszegi/cached_func | 97ad6158c31e39bb041b7612965d5a03c39020bf | [
"BSL-1.0"
] | null | null | null | #ifndef FUNCTOOLS_TEST_TUPLE_HASH_HPP_INCUDED
#define FUNCTOOLS_TEST_TUPLE_HASH_HPP_INCUDED
#include <boost/functional/hash.hpp>
#include <tuple>
// =====================================================================================================================
namespace std
{
template<typename T>
struct... | 26.5 | 120 | 0.488614 | gkoszegi |
55d0439f046914458c65f31edb2f53ced9d40a73 | 1,951 | cpp | C++ | 11_CPP/02_CPP02/ex03/bsp.cpp | tderwedu/42cursus | 2f56b87ce87227175e7a297d850aa16031acb0a8 | [
"Unlicense"
] | null | null | null | 11_CPP/02_CPP02/ex03/bsp.cpp | tderwedu/42cursus | 2f56b87ce87227175e7a297d850aa16031acb0a8 | [
"Unlicense"
] | null | null | null | 11_CPP/02_CPP02/ex03/bsp.cpp | tderwedu/42cursus | 2f56b87ce87227175e7a297d850aa16031acb0a8 | [
"Unlicense"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* bsp.cpp :+: :+: :+: ... | 39.816327 | 82 | 0.401845 | tderwedu |
55d544cba0d062d05eac5b65bd04cb2badee4341 | 73,663 | cpp | C++ | SampleProject/Builds/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs14.cpp | frenchmajorcsminor/MapsSDK-Unity | 0b3c0713d63279bd9fa62837fa7559d7f3cbd439 | [
"MIT"
] | null | null | null | SampleProject/Builds/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs14.cpp | frenchmajorcsminor/MapsSDK-Unity | 0b3c0713d63279bd9fa62837fa7559d7f3cbd439 | [
"MIT"
] | null | null | null | SampleProject/Builds/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs14.cpp | frenchmajorcsminor/MapsSDK-Unity | 0b3c0713d63279bd9fa62837fa7559d7f3cbd439 | [
"MIT"
] | null | null | null | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include <limits>
#include "vm/CachedCCWBase.h"
#include "utils/New.h"
// System.Collections.Generic.IEqualityComparer`1<UnityEngine.XR.InputDevice>
struct IEqualityComparer_1_tC19DB848F703F8CA24DB7... | 47.219872 | 257 | 0.819109 | frenchmajorcsminor |
55d7ba03bdda2056f37782b518d1ef175d618f3b | 1,697 | cpp | C++ | Source/Shared/engine/cfc/gpu/gfx.cpp | JJoosten/IndirectOcclusionCulling | 0376da0f9bdb14e67238a5b54e928e50ee33aef6 | [
"MIT"
] | 19 | 2016-08-16T10:19:07.000Z | 2018-12-04T01:00:00.000Z | Source/Shared/engine/cfc/gpu/gfx.cpp | JJoosten/IndirectOcclusionCulling | 0376da0f9bdb14e67238a5b54e928e50ee33aef6 | [
"MIT"
] | 1 | 2016-08-18T04:23:19.000Z | 2017-01-26T22:46:44.000Z | Source/Shared/engine/cfc/gpu/gfx.cpp | JJoosten/IndirectOcclusionCulling | 0376da0f9bdb14e67238a5b54e928e50ee33aef6 | [
"MIT"
] | 1 | 2019-09-23T10:49:36.000Z | 2019-09-23T10:49:36.000Z | #include "gfx.h"
#include <cfc/core/io.h>
namespace cfc {
void gfx_gpu_timer_query::Begin(gfx_command_list* const cmdList, const char* const description)
{
m_cmdList = cmdList;
m_startIndex = cmdList->InsertTimerQuery();
usize descriptionLength = strlen(description);
stl_assert(descriptionLength < GFX_MAX... | 27.819672 | 173 | 0.763701 | JJoosten |
55dc54a2eced19c10cf783d11aeed761de3f342d | 2,157 | hpp | C++ | memhlp.hpp | yqw1212/demovfuscator | d27dd1c87ba6956dae4a3003497fe8760b7299f9 | [
"BSD-2-Clause"
] | null | null | null | memhlp.hpp | yqw1212/demovfuscator | d27dd1c87ba6956dae4a3003497fe8760b7299f9 | [
"BSD-2-Clause"
] | null | null | null | memhlp.hpp | yqw1212/demovfuscator | d27dd1c87ba6956dae4a3003497fe8760b7299f9 | [
"BSD-2-Clause"
] | null | null | null | #ifndef MEMHLP_H
#define MEMHLP_H
#include <tuple>
#include <map>
#include <unordered_map>
#include <elf.h>
#include <cstddef>
#include <string>
enum symbl{
SYM_INVALID, SYM_ON, SYM_SEL_ON, SYM_M_LOOP, SYM_ENTRYP,
SYM_ALU_EQ, SYM_ALU_ADD, SYM_BIT_SET, SYM_BIT_CLR,
SYM_ALU_AND, SYM_ALU_OR, SYM_ALU_XOR, SYM_ALU_SHL,... | 32.681818 | 69 | 0.724618 | yqw1212 |
55e1cec71fcea52c28148e45891cab7c6eaaad90 | 15,001 | hpp | C++ | include/pstore/mcrepo/compilation.hpp | paulhuggett/pstore2 | a0c663d10a2e2713fdf39ecdae1f9c1e96041f5c | [
"Apache-2.0"
] | 11 | 2018-02-02T21:24:49.000Z | 2020-12-11T04:06:03.000Z | include/pstore/mcrepo/compilation.hpp | SNSystems/pstore | 74e9dd960245d6bfc125af03ed964d8ad660a62d | [
"Apache-2.0"
] | 63 | 2018-02-05T17:24:59.000Z | 2022-03-22T17:26:28.000Z | include/pstore/mcrepo/compilation.hpp | paulhuggett/pstore2 | a0c663d10a2e2713fdf39ecdae1f9c1e96041f5c | [
"Apache-2.0"
] | 5 | 2020-01-13T22:47:11.000Z | 2021-05-14T09:31:15.000Z | //===- include/pstore/mcrepo/compilation.hpp --------------*- mode: C++ -*-===//
//* _ _ _ _ *
//* ___ ___ _ __ ___ _ __ (_) | __ _| |_(_) ___ _ __ *
//* / __/ _ \| '_ ` _ \| '_ \| | |/ _` | __| |/ _ \| '_ \ *
//* | (_| (_) | | | | | | |_) | | | (_| | |_| | (_) |... | 49.022876 | 100 | 0.515632 | paulhuggett |
55e6582fa1a3884c2a5e27b5936a50fdd0af71b0 | 828 | cpp | C++ | src_test/blockchain/trx/DummyAddress.cpp | alinous-core/codable-cash | 32a86a152a146c592bcfd8cc712f4e8cb38ee1a0 | [
"MIT"
] | 1 | 2020-10-15T08:24:35.000Z | 2020-10-15T08:24:35.000Z | src_test/blockchain/trx/DummyAddress.cpp | Codablecash/codablecash | 8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9 | [
"MIT"
] | null | null | null | src_test/blockchain/trx/DummyAddress.cpp | Codablecash/codablecash | 8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9 | [
"MIT"
] | null | null | null | /*
* DummyAddress.cpp
*
* Created on: 2019/01/04
* Author: iizuka
*/
#include "blockchain/trx/DummyAddress.h"
namespace codablecash {
DummyAddress::DummyAddress() : AbstractAddress(100){
}
DummyAddress::~DummyAddress() {
}
AbstractAddress* DummyAddress::clone() const noexcept {
return nullptr;
}
bool... | 16.897959 | 102 | 0.741546 | alinous-core |
55e8a46085f327361786e5db44c171b77f43827f | 13,139 | hpp | C++ | include/GlobalNamespace/GameSongController.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/GameSongController.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/GameSongController.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Including type: SongController... | 56.878788 | 498 | 0.755841 | marksteward |
55ec9afa2f616b458c9948c60c14610c41382a65 | 36,597 | cpp | C++ | lib/dffi_impl.cpp | kamino/dragonffi | 3c983cc8c091d5472f7cdeab1b06dc3b1902e1be | [
"Apache-2.0"
] | 523 | 2018-02-02T08:07:24.000Z | 2022-03-21T15:44:39.000Z | lib/dffi_impl.cpp | kamino/dragonffi | 3c983cc8c091d5472f7cdeab1b06dc3b1902e1be | [
"Apache-2.0"
] | 28 | 2018-02-02T20:58:13.000Z | 2022-02-06T15:03:41.000Z | lib/dffi_impl.cpp | kamino/dragonffi | 3c983cc8c091d5472f7cdeab1b06dc3b1902e1be | [
"Apache-2.0"
] | 28 | 2018-02-02T12:05:55.000Z | 2021-09-16T21:05:05.000Z | // Copyright 2018 Adrien Guinet <adrien@guinet.me>
//
// 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 applica... | 30.909628 | 156 | 0.672268 | kamino |
55ef13ffe7397e3cd0f9122590867242ec7e6615 | 1,165 | cpp | C++ | UnionFind and Kruskal/1160.cpp | enricava/Competitive-Programming | ea39f5c74acc2202f3933f693f6d7f03f5435391 | [
"MIT"
] | null | null | null | UnionFind and Kruskal/1160.cpp | enricava/Competitive-Programming | ea39f5c74acc2202f3933f693f6d7f03f5435391 | [
"MIT"
] | null | null | null | UnionFind and Kruskal/1160.cpp | enricava/Competitive-Programming | ea39f5c74acc2202f3933f693f6d7f03f5435391 | [
"MIT"
] | null | null | null | #include <iostream>
#include <iomanip>
#include <fstream>
#include <algorithm>
#include <vector>
#include <cmath>
#include <string>
#include <utility>
#include <queue>
using namespace std;
int MAX = 100000;
struct UFDS {
vector<int> p;
int numSets;
UFDS(int n) : p(n, 0), numSets(n) {
for (int i = ... | 17.651515 | 46 | 0.549356 | enricava |
55f8c49ba682152823f34a8e664ed909846c13d9 | 298 | hpp | C++ | include/lilypad.hpp | yt-siden/lilypad | 38f3000675b1ac2e350c70157bd31cf58f105b87 | [
"MIT"
] | null | null | null | include/lilypad.hpp | yt-siden/lilypad | 38f3000675b1ac2e350c70157bd31cf58f105b87 | [
"MIT"
] | 1 | 2017-04-21T16:18:44.000Z | 2017-04-21T16:18:44.000Z | include/lilypad.hpp | yt-siden/lilypad | 38f3000675b1ac2e350c70157bd31cf58f105b87 | [
"MIT"
] | null | null | null | #ifndef LILYPAD_HPP
#define LILYPAD_HPP
#include "lilypad/info.hpp"
#include "lilypad/global.hpp"
#include "lilypad/communicator.hpp"
#include "lilypad/multivector.hpp"
#include "lilypad/localmatrix.hpp"
#include "lilypad/mkl_wrapper.hpp"
#include "lilypad/cholesky_qr.hpp"
#endif // LILYPAD_HPP
| 22.923077 | 35 | 0.788591 | yt-siden |
55f92026527a5d536ca73a29c5aaee8d5095dda9 | 4,723 | cpp | C++ | discrete-maths/languages/i_fastminimization.cpp | nothingelsematters/university | 5561969b1b11678228aaf7e6660e8b1a93d10294 | [
"WTFPL"
] | 1 | 2018-06-03T17:48:50.000Z | 2018-06-03T17:48:50.000Z | discrete-maths/languages/i_fastminimization.cpp | nothingelsematters/University | b1e188cb59e5a436731b92c914494626a99e1ae0 | [
"WTFPL"
] | null | null | null | discrete-maths/languages/i_fastminimization.cpp | nothingelsematters/University | b1e188cb59e5a436731b92c914494626a99e1ae0 | [
"WTFPL"
] | 14 | 2019-04-07T21:27:09.000Z | 2021-12-05T13:37:25.000Z | #include <fstream>
#include <vector>
#include <queue>
#include <map>
#include <unordered_set>
using namespace std;
struct vertex {
int index;
bool accept, reach, reachable;
int transitions[26];
vector<int> back[26];
vertex() {
for (int i = 0; i < 26; ++i)
... | 38.398374 | 109 | 0.367986 | nothingelsematters |
3602aeb157c769208642c454418c8692085b651e | 439 | hpp | C++ | include/Sprite/Magema.hpp | VisualGMQ/Chaos_Dungeon | 95f9b23934ee16573bf9289b9171958f750ffc93 | [
"MIT"
] | 2 | 2020-05-05T13:31:55.000Z | 2022-01-16T15:38:00.000Z | include/Sprite/Magema.hpp | VisualGMQ/Chaos_Dungeon | 95f9b23934ee16573bf9289b9171958f750ffc93 | [
"MIT"
] | null | null | null | include/Sprite/Magema.hpp | VisualGMQ/Chaos_Dungeon | 95f9b23934ee16573bf9289b9171958f750ffc93 | [
"MIT"
] | 1 | 2021-11-27T02:32:24.000Z | 2021-11-27T02:32:24.000Z | #ifndef MAGEMA_HPP
#define MAGEMA_HPP
#include "Animation.hpp"
#include "Sprite.hpp"
#include "ColliSystem.hpp"
#include "WorldModel.hpp"
class Magema : public ColliableSprite{
public:
static Magema* Create();
void Init() override;
void Collied(Object* oth, BasicProp* prop, const Manifold* m) override;
... | 19.954545 | 75 | 0.694761 | VisualGMQ |
3604de1cd1b5720a81401a9316a4387b0af2c56f | 333 | cpp | C++ | LeetCode/1018.Binary_Prefix_Divisible_By_5.cpp | w181496/OJ | 67d1d32770376865eba8a9dd1767e97dae68989a | [
"MIT"
] | 9 | 2017-10-08T16:22:03.000Z | 2021-08-20T09:32:17.000Z | LeetCode/1018.Binary_Prefix_Divisible_By_5.cpp | w181496/OJ | 67d1d32770376865eba8a9dd1767e97dae68989a | [
"MIT"
] | null | null | null | LeetCode/1018.Binary_Prefix_Divisible_By_5.cpp | w181496/OJ | 67d1d32770376865eba8a9dd1767e97dae68989a | [
"MIT"
] | 2 | 2018-01-15T16:35:44.000Z | 2019-03-21T18:30:04.000Z | class Solution {
public:
vector<bool> prefixesDivBy5(vector<int>& A) {
vector<bool>ans;
int now = 0;
for(int i = 0; i < A.size(); ++i) {
now = (now * 2 + A[i]) % 5;
if(now % 5 == 0) ans.push_back(true);
else ans.push_back(false);
}
return a... | 23.785714 | 49 | 0.453453 | w181496 |
360831d1f77f6b94ffda27eda355bd34ba9f2c54 | 2,949 | cpp | C++ | microbench/check.cpp | DanieleDeSensi/Nornir | 60587824d6b0a6e61b8fc75bdea37c9fc69199c7 | [
"MIT"
] | 2 | 2018-10-31T08:09:03.000Z | 2021-01-18T19:23:54.000Z | microbench/check.cpp | DanieleDeSensi/Nornir | 60587824d6b0a6e61b8fc75bdea37c9fc69199c7 | [
"MIT"
] | 1 | 2020-02-02T11:58:22.000Z | 2020-02-02T11:58:22.000Z | microbench/check.cpp | DanieleDeSensi/Nornir | 60587824d6b0a6e61b8fc75bdea37c9fc69199c7 | [
"MIT"
] | 1 | 2019-04-13T09:54:49.000Z | 2019-04-13T09:54:49.000Z | /*
* check.cpp
*
* Created on: 26/03/2016
*
* Checks if the architecture is supported.
*
* =========================================================================
* Copyright (C) 2015-, Daniele De Sensi (d.desensi.software@gmail.com)
*
* This file is part of nornir.
*
* nornir is free software: you can... | 39.851351 | 80 | 0.515768 | DanieleDeSensi |
3610adb7cb01067df9c3119fc13902553ffd12e1 | 696 | cpp | C++ | src/cookie-engine/struct/SceneSettings.cpp | an22/cookie | 3c4b8cf6f9f3aab5e2e2d13ea8ba717fb19da640 | [
"MIT"
] | 1 | 2021-08-12T21:59:50.000Z | 2021-08-12T21:59:50.000Z | src/cookie-engine/struct/SceneSettings.cpp | an22/cookie | 3c4b8cf6f9f3aab5e2e2d13ea8ba717fb19da640 | [
"MIT"
] | null | null | null | src/cookie-engine/struct/SceneSettings.cpp | an22/cookie | 3c4b8cf6f9f3aab5e2e2d13ea8ba717fb19da640 | [
"MIT"
] | null | null | null | //
// SceneSettings.cpp
// cookie-engine
//
// Created by Antiufieiev Michael on 06.08.2021.
//
#include "SceneSettings.hpp"
namespace cookie {
SceneSettings::SceneSettings(
uint32_t width,
uint32_t height,
float x,
float y,
float z,
float fov,
float nearZ,
float farZ
) : width(width),
... | 19.333333 | 77 | 0.679598 | an22 |
361112eed960dce6539ef49df634412c8f8ac440 | 746 | cc | C++ | examples/toy/iterative.cc | paulhjkelly/taskgraph-metaprogramming | 54c4e2806a97bec555a90784ab4cf0880660bf89 | [
"BSD-3-Clause"
] | 5 | 2020-04-11T21:30:19.000Z | 2021-12-04T16:16:09.000Z | examples/toy/iterative.cc | paulhjkelly/taskgraph-metaprogramming | 54c4e2806a97bec555a90784ab4cf0880660bf89 | [
"BSD-3-Clause"
] | null | null | null | examples/toy/iterative.cc | paulhjkelly/taskgraph-metaprogramming | 54c4e2806a97bec555a90784ab4cf0880660bf89 | [
"BSD-3-Clause"
] | null | null | null | #include <TaskGraph>
#include "TaskIterative.h"
using namespace tg;
typedef TaskGraph<void,int> iterative_TaskGraph;
void taskTest (coreTaskGraph *&t, unsigned param)
{
iterative_TaskGraph* const tg = new iterative_TaskGraph();
taskgraph(iterative_TaskGraph, *tg, tuple1(b))
{
tPrintf("param + b = %d\n", ... | 23.3125 | 99 | 0.668901 | paulhjkelly |
3611f37d1e05d236303f0139c73aeebd5058d05c | 5,832 | cpp | C++ | src/graphics/model.cpp | Eae02/space-game | d3a4589f137a1485320fc2cd3485bff7c3afcd49 | [
"Zlib"
] | null | null | null | src/graphics/model.cpp | Eae02/space-game | d3a4589f137a1485320fc2cd3485bff7c3afcd49 | [
"Zlib"
] | null | null | null | src/graphics/model.cpp | Eae02/space-game | d3a4589f137a1485320fc2cd3485bff7c3afcd49 | [
"Zlib"
] | null | null | null | #include "model.hpp"
#include "../utils.hpp"
#include <tiny_obj_loader.h>
#include <iostream>
static_assert(sizeof(Vertex) == sizeof(float) * 7);
void Model::initializeVao() {
glCreateVertexArrays(1, &vao);
for (GLuint i = 0; i < 4; i++) {
glEnableVertexArrayAttrib(vao, i);
glVertexArrayAttribBinding(vao, i,... | 32.043956 | 132 | 0.655178 | Eae02 |
36155ea412d8e4bbc9a16427c163379f9760e753 | 9,590 | cpp | C++ | LycheeCam/src/NetTask.cpp | h7ga40/LycheeCam | 10ee0ed948a02ccbe5f9a008e7c371ba5bd84478 | [
"Apache-2.0"
] | null | null | null | LycheeCam/src/NetTask.cpp | h7ga40/LycheeCam | 10ee0ed948a02ccbe5f9a008e7c371ba5bd84478 | [
"Apache-2.0"
] | null | null | null | LycheeCam/src/NetTask.cpp | h7ga40/LycheeCam | 10ee0ed948a02ccbe5f9a008e7c371ba5bd84478 | [
"Apache-2.0"
] | null | null | null | #include "mbed.h"
#include "NetTask.h"
#include "http_request.h"
NtpTask::NtpTask(NetTask *owner) :
Task(osWaitForever),
_owner(owner),
_state(State::Unsynced),
_retry(0)
{
}
NtpTask::~NtpTask()
{
}
void NtpTask::ProcessEvent(InterTaskSignals::T signals)
{
if ((signals & InterTaskSignals::WifiConnected) != 0) {... | 19.571429 | 101 | 0.652868 | h7ga40 |
3615f66a0ceaaf69df8a9b53166c3e17636f3cd0 | 5,913 | cpp | C++ | unittest/obproxy/test_netsystem.cpp | stutiredboy/obproxy | b5f98a6e1c45e6a878376df49b9c10b4249d3626 | [
"Apache-2.0"
] | 74 | 2021-05-31T15:23:49.000Z | 2022-03-12T04:46:39.000Z | unittest/obproxy/test_netsystem.cpp | stutiredboy/obproxy | b5f98a6e1c45e6a878376df49b9c10b4249d3626 | [
"Apache-2.0"
] | 16 | 2021-05-31T15:26:38.000Z | 2022-03-30T06:02:43.000Z | unittest/obproxy/test_netsystem.cpp | stutiredboy/obproxy | b5f98a6e1c45e6a878376df49b9c10b4249d3626 | [
"Apache-2.0"
] | 64 | 2021-05-31T15:25:36.000Z | 2022-02-23T08:43:58.000Z | /**
* Copyright (c) 2021 OceanBase
* OceanBase Database Proxy(ODP) is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ... | 27.502326 | 116 | 0.687976 | stutiredboy |
361f2d444e5e38f108416f322e0e6ad62dc84bf7 | 561 | hpp | C++ | include/Boots/Utils/json.hpp | Plaristote/Boots | ba6bd74fd06c5b26f1e159c6c861d46992db1145 | [
"BSD-3-Clause"
] | null | null | null | include/Boots/Utils/json.hpp | Plaristote/Boots | ba6bd74fd06c5b26f1e159c6c861d46992db1145 | [
"BSD-3-Clause"
] | null | null | null | include/Boots/Utils/json.hpp | Plaristote/Boots | ba6bd74fd06c5b26f1e159c6c861d46992db1145 | [
"BSD-3-Clause"
] | null | null | null | #ifndef DATATREE_JSON_HPP
# define DATATREE_JSON_HPP
# include "datatree.hpp"
namespace Json
{
class Parser
{
public:
Parser(const std::string&, bool filename = true);
DataTree* Run(void);
private:
void ParseValue(DataBranch*);
void ParseString(DataBranch*);
void ... | 18.7 | 53 | 0.600713 | Plaristote |
361fac8704e7985f5d946500a9743b622e77df96 | 7,205 | cpp | C++ | SDKs/CryCode/3.6.15/GameDll/MultiplayerEntities/NetworkBuilding.cpp | amrhead/FireNET | 34d439aa0157b0c895b20b2b664fddf4f9b84af1 | [
"BSD-2-Clause"
] | 4 | 2017-12-18T20:10:16.000Z | 2021-02-07T21:21:24.000Z | SDKs/CryCode/3.6.15/GameDll/MultiplayerEntities/NetworkBuilding.cpp | amrhead/FireNET | 34d439aa0157b0c895b20b2b664fddf4f9b84af1 | [
"BSD-2-Clause"
] | null | null | null | SDKs/CryCode/3.6.15/GameDll/MultiplayerEntities/NetworkBuilding.cpp | amrhead/FireNET | 34d439aa0157b0c895b20b2b664fddf4f9b84af1 | [
"BSD-2-Clause"
] | 3 | 2019-03-11T21:36:15.000Z | 2021-02-07T21:21:26.000Z | /*************************************************************************
"BeatGames" Source File.
Copyright (C), BeatGames, 2014.
-------------------------------------------------------------------------
History:
- 03.12.2014 13:49 : Created by AfroStalin(chernecoff)
- 10.12.2014 21:08 : Edited by AfroStalin(ch... | 23.700658 | 106 | 0.694656 | amrhead |
36249ccc7f686680819704dc0fe8e1adcce533ab | 357 | hpp | C++ | components/operators/src/misc/antialiasing_cuda.hpp | knicos/voltu | 70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01 | [
"MIT"
] | 4 | 2020-12-28T15:29:15.000Z | 2021-06-27T12:37:15.000Z | components/operators/src/misc/antialiasing_cuda.hpp | knicos/voltu | 70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01 | [
"MIT"
] | null | null | null | components/operators/src/misc/antialiasing_cuda.hpp | knicos/voltu | 70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01 | [
"MIT"
] | 2 | 2021-01-13T05:28:39.000Z | 2021-05-04T03:37:11.000Z | #ifndef _FTL_CUDA_ANTIALIASING_HPP_
#define _FTL_CUDA_ANTIALIASING_HPP_
#include <ftl/cuda_common.hpp>
namespace ftl {
namespace cuda {
void fxaa(ftl::cuda::TextureObject<uchar4> &colour, cudaStream_t stream);
void fxaa(ftl::cuda::TextureObject<uchar4> &colour, ftl::cuda::TextureObject<float> &depth, float threshold... | 22.3125 | 130 | 0.784314 | knicos |
3626b3c4db07a233b0bb15b2fbd725302b6636da | 5,842 | hxx | C++ | c++/Utils/cmSNRUnitsReconstructorB1Weighted.hxx | cloudmrhub-com/CMRCode | 23cf19f35ac9590054aa05ddbdc82b87e8dfd3a0 | [
"MIT"
] | null | null | null | c++/Utils/cmSNRUnitsReconstructorB1Weighted.hxx | cloudmrhub-com/CMRCode | 23cf19f35ac9590054aa05ddbdc82b87e8dfd3a0 | [
"MIT"
] | null | null | null | c++/Utils/cmSNRUnitsReconstructorB1Weighted.hxx | cloudmrhub-com/CMRCode | 23cf19f35ac9590054aa05ddbdc82b87e8dfd3a0 | [
"MIT"
] | null | null | null | #ifndef __cmSNRUnitsReconstructorB1Weighted_hxx
#define __cmSNRUnitsReconstructorB1Weighted_hxx
#include "cmSNRUnitsReconstructorB1Weighted.h"
#include "itkImageAlgorithm.h"
#include "vnl/vnl_inverse.h"
#include "vnl/vnl_vector.h"
#include "vnl/vnl_matrix.h"
#include "vnl/algo/vnl_matrix_inverse.h"
#include "itkVec... | 20.790036 | 127 | 0.649264 | cloudmrhub-com |
36285eb7da9fe516b891787505e706fad97ac9aa | 608 | cpp | C++ | C++/soln-string-problems/string-compression.cpp | ansumandas441/Data-Structures-and-Algorithms | 8fa30569b974c8e24e761df266072069f1dfe033 | [
"MIT"
] | 120 | 2021-02-19T07:39:50.000Z | 2022-02-19T14:55:28.000Z | C++/soln-string-problems/string-compression.cpp | ansumandas441/Data-Structures-and-Algorithms | 8fa30569b974c8e24e761df266072069f1dfe033 | [
"MIT"
] | null | null | null | C++/soln-string-problems/string-compression.cpp | ansumandas441/Data-Structures-and-Algorithms | 8fa30569b974c8e24e761df266072069f1dfe033 | [
"MIT"
] | 22 | 2021-06-21T17:21:27.000Z | 2021-12-24T01:56:29.000Z | /**
@author Farheen Bano
Date 11-08-2021
Reference-
https://leetcode.com/problems/string-compression
*/
class Solution {
public:
int compress(vector<char>& chars) {
int i=0;
int index=0;
while(i<chars.size()){
int j=i;
while(j<chars.size() && chars[i]==chars[... | 20.266667 | 55 | 0.440789 | ansumandas441 |
362c1fc71e35832af041c75fab189a17a61b25b2 | 3,181 | hpp | C++ | demos/python_demos/speech_recognition_demo/ctcdecode-numpy/ctcdecode_numpy/yoklm/language_model.hpp | ivanvikhrev/open_model_zoo | 322e7ac5ed8a17611b56c46e5e56bfef05d8cc2a | [
"Apache-2.0"
] | 4 | 2019-09-17T13:11:02.000Z | 2021-02-22T15:39:15.000Z | demos/python_demos/speech_recognition_demo/ctcdecode-numpy/ctcdecode_numpy/yoklm/language_model.hpp | ivanvikhrev/open_model_zoo | 322e7ac5ed8a17611b56c46e5e56bfef05d8cc2a | [
"Apache-2.0"
] | null | null | null | demos/python_demos/speech_recognition_demo/ctcdecode-numpy/ctcdecode_numpy/yoklm/language_model.hpp | ivanvikhrev/open_model_zoo | 322e7ac5ed8a17611b56c46e5e56bfef05d8cc2a | [
"Apache-2.0"
] | 1 | 2021-02-24T00:40:03.000Z | 2021-02-24T00:40:03.000Z | /*********************************************************************
* Copyright (c) 2020 Intel Corporation
* SPDX-License-Identifier: Apache-2.0
**********************************************************************/
#ifndef YOKLM_LANGUAGE_MODEL_HPP
#define YOKLM_LANGUAGE_MODEL_HPP
#include <vector>
#include <stri... | 34.576087 | 124 | 0.69255 | ivanvikhrev |
362d28d4b1b9c75eb1a13c5b8c5b409f9e5fa0d9 | 27 | cpp | C++ | src/cues/animism/AnimismCues.cpp | HfMT-ZM4/cvgl-osc | 97b4259aac6757a68959cfa625c59c97bd7a62d1 | [
"CC0-1.0"
] | null | null | null | src/cues/animism/AnimismCues.cpp | HfMT-ZM4/cvgl-osc | 97b4259aac6757a68959cfa625c59c97bd7a62d1 | [
"CC0-1.0"
] | null | null | null | src/cues/animism/AnimismCues.cpp | HfMT-ZM4/cvgl-osc | 97b4259aac6757a68959cfa625c59c97bd7a62d1 | [
"CC0-1.0"
] | null | null | null | #include "AnimismCues.hpp"
| 13.5 | 26 | 0.777778 | HfMT-ZM4 |
362dba564948c3777123e5181dc6cec927daffd1 | 1,684 | hpp | C++ | libs/besiq/method/wald_lm_method.hpp | hoehleatsu/besiq | 94959e2819251805e19311ce377919e6bccb7bf9 | [
"BSD-3-Clause"
] | 1 | 2015-10-21T14:22:12.000Z | 2015-10-21T14:22:12.000Z | libs/besiq/method/wald_lm_method.hpp | hoehleatsu/besiq | 94959e2819251805e19311ce377919e6bccb7bf9 | [
"BSD-3-Clause"
] | 2 | 2019-05-26T20:52:31.000Z | 2019-05-28T16:19:49.000Z | libs/besiq/method/wald_lm_method.hpp | hoehleatsu/besiq | 94959e2819251805e19311ce377919e6bccb7bf9 | [
"BSD-3-Clause"
] | 2 | 2016-11-06T14:58:37.000Z | 2019-05-26T14:03:13.000Z | #ifndef __WALD_LM_METHOD_H__
#define __WALD_LM_METHOD_H__
#include <string>
#include <vector>
#include <armadillo>
#include <besiq/method/method.hpp>
#include <besiq/stats/log_scale.hpp>
/**
* This class is responsible for executing the closed form
* wald test for a logistic regression model.
*/
class wald_lm_me... | 19.811765 | 80 | 0.597387 | hoehleatsu |
156a027c2be706ad495539c53f1f7e14bdb27d95 | 5,914 | cpp | C++ | IDA/FUN_0001d6e0.cpp | Mochongli/evil-mhyprot-cli | 628470626532d663a1f557b5048b319266f70f75 | [
"MIT"
] | 91 | 2020-10-18T07:59:47.000Z | 2022-03-08T18:34:04.000Z | IDA/FUN_0001d6e0.cpp | Game-Academy-of-Sciences/evil-mhyprot-cli | ff4e1413f7e878fa0dbc4ebe724830ac6a5db3e1 | [
"MIT"
] | 2 | 2021-08-29T22:38:30.000Z | 2021-12-16T20:32:38.000Z | IDA/FUN_0001d6e0.cpp | Game-Academy-of-Sciences/evil-mhyprot-cli | ff4e1413f7e878fa0dbc4ebe724830ac6a5db3e1 | [
"MIT"
] | 36 | 2020-10-18T17:13:54.000Z | 2022-03-30T10:16:00.000Z |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
//
// Pseudocode
//
undefined8 IOCTL_FUN_0001d6e0(undefined8 param_1,longlong param_2)
{
uint uVar1;
uint uVar2;
uint uVar3;
ulonglong *puVar4;
int iVar5;
undefined8 uVar6;
longlong lVar7;
ulonglong uVar8;
ulonglon... | 34.383721 | 99 | 0.49442 | Mochongli |
156a0e6602ed4e0182c7a7a546ca88d2ef20fe82 | 5,671 | cpp | C++ | million-sdk/cheat/hooks/functions/draw_model_execute.cpp | excludes/millionware-v1 | 78429e0c50d33df4acb675e403a313384f6fb2e0 | [
"MIT"
] | 32 | 2021-07-21T14:55:10.000Z | 2022-03-09T22:07:20.000Z | million-sdk/cheat/hooks/functions/draw_model_execute.cpp | excludes/millionware-v1 | 78429e0c50d33df4acb675e403a313384f6fb2e0 | [
"MIT"
] | 1 | 2021-07-21T18:42:39.000Z | 2021-07-21T18:45:53.000Z | million-sdk/cheat/hooks/functions/draw_model_execute.cpp | excludes/millionware-v1 | 78429e0c50d33df4acb675e403a313384f6fb2e0 | [
"MIT"
] | 29 | 2021-07-21T14:56:45.000Z | 2022-03-29T20:57:25.000Z | #include "../hooks.hpp"
#include <cstdio>
#include "../../../source engine/sdk.hpp"
#include "../../features/bt.hpp"
#include "../../../engine/utilities/config.hpp"
#include "../../../source engine/classes/key_values.hpp"
void __fastcall hooks::draw_model_execute( void* ecx, void* edx, void* ctx, void* state, model_r... | 28.786802 | 183 | 0.603245 | excludes |
156c3c7e30f0ba52484e4ff5663aaa3c5bc6c8ad | 1,436 | cpp | C++ | src/scenes/menu.cpp | AgoutiGames/Piper | 160f0c7e8afb8d3ea91dd69ee10c63da60f66a21 | [
"MIT"
] | null | null | null | src/scenes/menu.cpp | AgoutiGames/Piper | 160f0c7e8afb8d3ea91dd69ee10c63da60f66a21 | [
"MIT"
] | 2 | 2020-06-13T11:48:59.000Z | 2020-06-13T11:56:24.000Z | src/scenes/menu.cpp | AgoutiGames/Piper | 160f0c7e8afb8d3ea91dd69ee10c63da60f66a21 | [
"MIT"
] | null | null | null | #include "scenes/menu.hpp"
#include "core/scene_manager.hpp"
#include <iostream>
const char* Menu::type = "Menu";
const bool Menu::good = GameScene::register_class<Menu>(Menu::type);
Menu::Menu(salmon::MapRef map, SceneManager* scene_manager) :
GameScene(map,scene_manager) {}
void Menu::init() {
m_scene_ma... | 26.592593 | 68 | 0.655292 | AgoutiGames |
156ed93956ad72fe0ab6b04e54915020ac764ab4 | 5,412 | cpp | C++ | examples/helloasge/ASGEGame.cpp | Alexthehuman3/ASGE | a9cf473a3117f4b67a2dbe8fac00b1a2a4fd6e44 | [
"MIT"
] | 8 | 2020-04-26T11:48:29.000Z | 2022-02-23T15:13:50.000Z | examples/helloasge/ASGEGame.cpp | Alexthehuman3/ASGE | a9cf473a3117f4b67a2dbe8fac00b1a2a4fd6e44 | [
"MIT"
] | null | null | null | examples/helloasge/ASGEGame.cpp | Alexthehuman3/ASGE | a9cf473a3117f4b67a2dbe8fac00b1a2a4fd6e44 | [
"MIT"
] | 1 | 2021-05-13T16:37:24.000Z | 2021-05-13T16:37:24.000Z | #include <map>
#include <Engine/GameSettings.hpp>
#include <Engine/Logger.hpp>
#include <Engine/OGLGame.hpp>
#include <Engine/Sprite.hpp>
class ASGENetGame : public ASGE::OGLGame
{
public:
explicit ASGENetGame(const ASGE::GameSettings& settings) :
OGLGame(settings)
{
inputs->use_threads = false;
input... | 27.612245 | 89 | 0.610495 | Alexthehuman3 |
15743c4d3608a7c308708ba8361f4a10efa99cec | 692 | cpp | C++ | OOP/Lab 1/Ex 1/main.cpp | LjupcheD14/FINKI1408 | be2454864d8aa0c33621141295f958424c7b0f16 | [
"Apache-2.0"
] | null | null | null | OOP/Lab 1/Ex 1/main.cpp | LjupcheD14/FINKI1408 | be2454864d8aa0c33621141295f958424c7b0f16 | [
"Apache-2.0"
] | null | null | null | OOP/Lab 1/Ex 1/main.cpp | LjupcheD14/FINKI1408 | be2454864d8aa0c33621141295f958424c7b0f16 | [
"Apache-2.0"
] | null | null | null | #include <stdio.h>
#include <ctype.h>
#include <string.h>
struct Product {
char ime[100];
float cena;
float kolicina;
};
typedef struct Product Product;
int main() {
// Product p;
// readProduct(&p);
// printProduct(p);
Product p[100];
int n, i;
float vkupno, total = 0;
scanf... | 18.702703 | 97 | 0.492775 | LjupcheD14 |
1574697262692c84ffdfca80b6206837b0b7ebcd | 452 | hpp | C++ | sources/cards/Land.hpp | angeluriot/Magic_royal | a337ce4ad6c3215bbdec8c376d6e88fe97f48f94 | [
"MIT"
] | 1 | 2022-02-02T21:41:59.000Z | 2022-02-02T21:41:59.000Z | sources/cards/Land.hpp | angeluriot/Magic_royal | a337ce4ad6c3215bbdec8c376d6e88fe97f48f94 | [
"MIT"
] | null | null | null | sources/cards/Land.hpp | angeluriot/Magic_royal | a337ce4ad6c3215bbdec8c376d6e88fe97f48f94 | [
"MIT"
] | 2 | 2022-02-01T12:59:57.000Z | 2022-03-05T12:50:27.000Z | #ifndef LAND_HPP
#define LAND_HPP
#include "cards/Card.hpp"
#include <string>
/**
* @brief A class that represent a land.
*/
class Land : public Card
{
public:
Land();
Land(const Land& other) = default;
virtual ~Land();
Land& operator=(const Land& other) = default;
virtual Type get_type() const override;
v... | 16.740741 | 52 | 0.705752 | angeluriot |
157d4409d04beef2c70f721cd2e0e9ed106de6f5 | 3,551 | hpp | C++ | src/app.hpp | ITotalJustice/untitled | e4058e3a2ddd3b23e76707ff79de66000b16be71 | [
"MIT"
] | 19 | 2020-12-04T01:50:52.000Z | 2022-03-27T18:18:50.000Z | src/app.hpp | ITotalJustice/untitled | e4058e3a2ddd3b23e76707ff79de66000b16be71 | [
"MIT"
] | 5 | 2021-02-09T21:21:35.000Z | 2022-01-28T09:50:20.000Z | src/app.hpp | ITotalJustice/untitled | e4058e3a2ddd3b23e76707ff79de66000b16be71 | [
"MIT"
] | null | null | null | #pragma once
#include "nanovg/nanovg.h"
#include "nanovg/deko3d/dk_renderer.hpp"
#include <switch.h>
#include <cstdint>
#include <vector>
#include <string>
#include <future>
#include <mutex>
#include <optional>
#include <functional>
namespace tj {
using AppID = std::uint64_t;
enum class MenuMode { LIST, CONFIRM, PR... | 23.673333 | 69 | 0.669952 | ITotalJustice |
15813d024190ed209c448087869968168e95854e | 2,599 | cpp | C++ | Engine_Core/source/Window.cpp | subr3v/s-engine | d77b9ccd0fff3982a303f14ce809691a570f61a3 | [
"MIT"
] | 2 | 2016-04-01T21:10:33.000Z | 2018-02-26T19:36:56.000Z | Engine_Core/source/Window.cpp | subr3v/s-engine | d77b9ccd0fff3982a303f14ce809691a570f61a3 | [
"MIT"
] | 1 | 2017-04-05T01:33:08.000Z | 2017-04-05T01:33:08.000Z | Engine_Core/source/Window.cpp | subr3v/s-engine | d77b9ccd0fff3982a303f14ce809691a570f61a3 | [
"MIT"
] | null | null | null | #include "Window.h"
#include "Input.h"
#include <algorithm>
static LRESULT CALLBACK MyWindowProc(_In_ HWND hwnd, _In_ UINT uMsg, _In_ WPARAM wParam, _In_ LPARAM lParam)
{
if (uMsg == WM_QUIT || uMsg == WM_CLOSE)
{
PostQuitMessage(0);
}
return DefWindowProc(hwnd, uMsg, wParam, lParam);
}
FWindow::FWindow(HI... | 21.130081 | 117 | 0.722201 | subr3v |
158226c04206e99f39e4a181a1e8308f0b5768de | 476 | hpp | C++ | include/operations/system.hpp | rationalis-petra/hydra | a1c14e560f5f1c64983468e5fd0be7b32824971d | [
"MIT"
] | 2 | 2021-01-14T11:19:02.000Z | 2021-03-07T03:08:08.000Z | include/operations/system.hpp | rationalis-petra/hydra | a1c14e560f5f1c64983468e5fd0be7b32824971d | [
"MIT"
] | null | null | null | include/operations/system.hpp | rationalis-petra/hydra | a1c14e560f5f1c64983468e5fd0be7b32824971d | [
"MIT"
] | null | null | null | #ifndef __MODULUS_OPERATIONS_SYSTEM_HPP
#define __MODULUS_OPERATIONS_SYSTEM_HPP
#include "boost/filesystem/operations.hpp"
#include "boost/filesystem/path.hpp"
#include <string>
#include "expressions.hpp"
namespace op {
void initialize_system();
extern expr::Operator* get_dir;
extern expr::Operator* set_dir;... | 19.04 | 42 | 0.768908 | rationalis-petra |
15865ad7436e927b97a9785032a5aced22cb68fb | 1,254 | cpp | C++ | rssavers-0.2/src/Implicit/impSphere.cpp | NickPepper/MacScreensavers | 088625b06b123adcb61c7e9e1adc4415dda66a59 | [
"MIT"
] | 3 | 2017-08-13T14:47:57.000Z | 2020-03-02T06:48:29.000Z | rssavers-0.2/src/Implicit/impSphere.cpp | NickPepper/MacScreensavers | 088625b06b123adcb61c7e9e1adc4415dda66a59 | [
"MIT"
] | 1 | 2018-09-19T14:14:54.000Z | 2018-09-26T22:35:03.000Z | rssavers-0.2/src/Implicit/impSphere.cpp | NickPepper/MacScreensavers | 088625b06b123adcb61c7e9e1adc4415dda66a59 | [
"MIT"
] | 1 | 2018-09-19T14:13:55.000Z | 2018-09-19T14:13:55.000Z | /*
* Copyright (C) 2001-2010 Terence M. Welsh
*
* This file is part of Implicit.
*
* Implicit is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your op... | 35.828571 | 76 | 0.730463 | NickPepper |
158774882ee46c4b3893765ae1921c01dab98682 | 3,523 | cpp | C++ | pinpoint_common/trace_data_sender.cpp | wy1238/pinpoint-c-agent | c762804c58fa75755680f52174647b0f208839a1 | [
"Apache-2.0"
] | null | null | null | pinpoint_common/trace_data_sender.cpp | wy1238/pinpoint-c-agent | c762804c58fa75755680f52174647b0f208839a1 | [
"Apache-2.0"
] | null | null | null | pinpoint_common/trace_data_sender.cpp | wy1238/pinpoint-c-agent | c762804c58fa75755680f52174647b0f208839a1 | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
// Copyright 2018 NAVER Corp.
//
// 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... | 29.855932 | 102 | 0.516321 | wy1238 |
1592a0ee02eeca8c71a3027a1dac478fcbc7f092 | 536 | hpp | C++ | include/core/i_token.hpp | nathanmullenax83/rhizome | e7410341fdc4d38ab5aaecc55c94d3ac6efd51da | [
"MIT"
] | 1 | 2020-07-11T14:53:38.000Z | 2020-07-11T14:53:38.000Z | include/core/i_token.hpp | nathanmullenax83/rhizome | e7410341fdc4d38ab5aaecc55c94d3ac6efd51da | [
"MIT"
] | 1 | 2020-07-04T16:45:49.000Z | 2020-07-04T16:45:49.000Z | include/core/i_token.hpp | nathanmullenax83/rhizome | e7410341fdc4d38ab5aaecc55c94d3ac6efd51da | [
"MIT"
] | null | null | null | #ifndef RHIZOME_CORE_I_TOKEN
#define RHIZOME_CORE_I_TOKEN
#include <string>
using std::string;
namespace rhizome {
namespace core {
class IToken {
public:
virtual void set( string const &tvalue, string const &tname, size_t line_no, size_t col) = 0;
virtual size_t line() c... | 19.851852 | 105 | 0.574627 | nathanmullenax83 |
1592c20bc5e43827ebc67ceab4b66bf191a85f2c | 3,752 | hpp | C++ | include/codegen/include/System/Diagnostics/Tracing/EventManifestOptions.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/System/Diagnostics/Tracing/EventManifestOptions.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/System/Diagnostics/Tracing/EventManifestOptions.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:09:54 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
// Including type: System.Enum
#include "System/Enum.hpp"
#include "utils/il2cpp-utils.hpp"
// Completed in... | 65.824561 | 129 | 0.784915 | Futuremappermydud |
15953631a5d2d4b574af1f3a6153bdadf255b2f5 | 15,158 | hpp | C++ | include/GaussianMixture.hpp | szma/RFS-SLAM | def8f1e8cc788bbe4347cd57f79061f70b0b41dd | [
"Unlicense"
] | 1 | 2020-06-22T04:15:16.000Z | 2020-06-22T04:15:16.000Z | include/GaussianMixture.hpp | szma/RFS-SLAM | def8f1e8cc788bbe4347cd57f79061f70b0b41dd | [
"Unlicense"
] | null | null | null | include/GaussianMixture.hpp | szma/RFS-SLAM | def8f1e8cc788bbe4347cd57f79061f70b0b41dd | [
"Unlicense"
] | null | null | null | /*
* Software License Agreement (New BSD License)
*
* Copyright (c) 2013, Keith Leung, Felipe Inostroza
* 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 c... | 30.255489 | 116 | 0.68162 | szma |
1598549d05d06faa7337a37ea28978e5f03f4c8b | 13,161 | cpp | C++ | src/chrono_fea/ChBeamSection.cpp | LongJohnCoder/chrono | eb7ab2f650c14de65bfff1209c9d56f2f202c428 | [
"BSD-3-Clause"
] | 1 | 2020-04-19T20:34:15.000Z | 2020-04-19T20:34:15.000Z | src/chrono_fea/ChBeamSection.cpp | LongJohnCoder/chrono | eb7ab2f650c14de65bfff1209c9d56f2f202c428 | [
"BSD-3-Clause"
] | null | null | null | src/chrono_fea/ChBeamSection.cpp | LongJohnCoder/chrono | eb7ab2f650c14de65bfff1209c9d56f2f202c428 | [
"BSD-3-Clause"
] | null | null | null | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... | 43.57947 | 158 | 0.649723 | LongJohnCoder |
159875b6b5c85376f5b923d32e423bfc9c594dc3 | 140,498 | cpp | C++ | src/backend/gpu/initmod.intrinsics.cpp | huangjd/simit-staging | 6a1d7946e88c7bf383abe800ee835d3680e86559 | [
"MIT"
] | 496 | 2016-06-10T04:16:47.000Z | 2022-01-24T19:37:03.000Z | src/backend/gpu/initmod.intrinsics.cpp | huangjd/simit-staging | 6a1d7946e88c7bf383abe800ee835d3680e86559 | [
"MIT"
] | 91 | 2016-07-26T13:18:48.000Z | 2021-08-10T08:54:18.000Z | src/backend/gpu/initmod.intrinsics.cpp | huangjd/simit-staging | 6a1d7946e88c7bf383abe800ee835d3680e86559 | [
"MIT"
] | 63 | 2016-07-22T17:15:46.000Z | 2021-08-20T03:18:42.000Z | extern "C" {
unsigned char simit_gpu_intrinsics[] = {
59, 32, 73, 110, 116, 101, 110, 116, 105, 111, 110, 97, 108, 108, 121, 32, 98, 108, 97, 110, 107, 46, 32, 87, 101, 32, 99, 97, 110, 32, 105, 110, 99, 108, 117, 100, 101, 32, 76, 76, 32, 65, 83, 77, 32, 71, 80, 85, 32, 105, 110, 116, 114, 105, 110, 115, 105, 99, 32, ... | 23,416.333333 | 140,400 | 0.552435 | huangjd |
159bd0a283a65730be8195d921ba0766b618c20e | 441 | hpp | C++ | include/wire/encoding/buffers_fwd.hpp | zmij/wire | 9981eb9ea182fc49ef7243eed26b9d37be70a395 | [
"Artistic-2.0"
] | 5 | 2016-04-07T19:49:39.000Z | 2021-08-03T05:24:11.000Z | include/wire/encoding/buffers_fwd.hpp | zmij/wire | 9981eb9ea182fc49ef7243eed26b9d37be70a395 | [
"Artistic-2.0"
] | null | null | null | include/wire/encoding/buffers_fwd.hpp | zmij/wire | 9981eb9ea182fc49ef7243eed26b9d37be70a395 | [
"Artistic-2.0"
] | 1 | 2020-12-27T11:47:31.000Z | 2020-12-27T11:47:31.000Z | /*
* buffers_fwd.hpp
*
* Created on: Feb 3, 2016
* Author: zmij
*/
#ifndef WIRE_ENCODING_BUFFERS_FWD_HPP_
#define WIRE_ENCODING_BUFFERS_FWD_HPP_
#include <memory>
namespace wire {
namespace encoding {
class outgoing;
typedef std::shared_ptr< outgoing > outgoing_ptr;
class incoming;
typedef std::shared_p... | 16.961538 | 49 | 0.741497 | zmij |
159dec75e8ed94395b369b35892c254e2e5d6fdc | 2,385 | cpp | C++ | example-bus/src/ofApp.cpp | nariakiiwatani/ofxNNG | 443827c4d4d6bd47c66682fdbd50ae9abf3ef7ee | [
"MIT"
] | 3 | 2019-05-20T10:06:37.000Z | 2021-08-08T02:30:23.000Z | example-bus/src/ofApp.cpp | nariakiiwatani/ofxNNG | 443827c4d4d6bd47c66682fdbd50ae9abf3ef7ee | [
"MIT"
] | null | null | null | example-bus/src/ofApp.cpp | nariakiiwatani/ofxNNG | 443827c4d4d6bd47c66682fdbd50ae9abf3ef7ee | [
"MIT"
] | null | null | null | #include "ofApp.h"
using namespace ofxNNG;
//--------------------------------------------------------------
void ofApp::setup(){
// 4 buses making all-to-all mesh connection
bus_.resize(4);
for(int i = 0; i < bus_.size(); ++i) {
auto &b = bus_[i];
b = std::make_shared<Bus>();
b->setup();
b->setCallback<st... | 25.923913 | 82 | 0.398323 | nariakiiwatani |
159e96bdaf5be73811866b2fe6e53659e6dec646 | 1,057 | hh | C++ | psdaq/drp/TimingDef.hh | slac-lcls/pdsdata2 | 6e2ad4f830cadfe29764dbd280fa57f8f9edc451 | [
"BSD-3-Clause-LBNL"
] | null | null | null | psdaq/drp/TimingDef.hh | slac-lcls/pdsdata2 | 6e2ad4f830cadfe29764dbd280fa57f8f9edc451 | [
"BSD-3-Clause-LBNL"
] | null | null | null | psdaq/drp/TimingDef.hh | slac-lcls/pdsdata2 | 6e2ad4f830cadfe29764dbd280fa57f8f9edc451 | [
"BSD-3-Clause-LBNL"
] | null | null | null | #include "xtcdata/xtc/VarDef.hh"
#include "xtcdata/xtc/NamesLookup.hh"
#include <stdint.h>
namespace XtcData {
class Xtc;
class NamesId;
};
namespace Drp {
class TimingDef : public XtcData::VarDef
{
public:
enum index {
pulseId,
timeStamp,
fixedRates,
... | 27.102564 | 144 | 0.579943 | slac-lcls |
15ad04e847d7d35124bbd4a2f748de637d1ff1c4 | 3,921 | cpp | C++ | YorozuyaGSLib/source/std__bad_allocDetail.cpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | YorozuyaGSLib/source/std__bad_allocDetail.cpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | YorozuyaGSLib/source/std__bad_allocDetail.cpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 44 | 2017-12-19T08:02:59.000Z | 2022-02-24T23:15:01.000Z | #include <common/ATFCore.hpp>
#include <std__bad_allocDetail.hpp>
START_ATF_NAMESPACE
namespace std
{
namespace Detail
{
Info::std__bad_allocctor_bad_alloc5_ptr std__bad_allocctor_bad_alloc5_next(nullptr);
Info::std__bad_allocctor_bad_alloc5_clbk std__bad_a... | 48.407407 | 131 | 0.61974 | lemkova |
15ae7e40fa3cf309f1ddce6eb06d7b2ee6d40d03 | 7,860 | hpp | C++ | include/path-finding/molecular_path.hpp | bigginlab/chap | 17de36442e2e80cb01432e84050c4dfce31fc3a2 | [
"MIT"
] | 10 | 2018-06-28T00:21:46.000Z | 2022-03-30T03:31:32.000Z | include/path-finding/molecular_path.hpp | bigginlab/chap | 17de36442e2e80cb01432e84050c4dfce31fc3a2 | [
"MIT"
] | 35 | 2019-03-19T21:54:46.000Z | 2022-03-17T02:20:42.000Z | include/path-finding/molecular_path.hpp | bigginlab/chap | 17de36442e2e80cb01432e84050c4dfce31fc3a2 | [
"MIT"
] | 8 | 2018-10-27T19:35:13.000Z | 2022-01-06T01:10:39.000Z | // CHAP - The Channel Annotation Package
//
// Copyright (c) 2016 - 2018 Gianni Klesse, Shanlin Rao, Mark S. P. Sansom, and
// Stephen J. Tucker
//
// 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 th... | 35.890411 | 87 | 0.640712 | bigginlab |
15aef5da8ac2751f9c8b2c5fbe1d14faf1e8002c | 2,249 | cpp | C++ | src/OpcUaStackServer/ServiceSet/SessionConfig.cpp | gianricardo/OpcUaStack | ccdef574175ffe8b7e82b886abc5e5403968b280 | [
"Apache-2.0"
] | 108 | 2018-10-08T17:03:32.000Z | 2022-03-21T00:52:26.000Z | src/OpcUaStackServer/ServiceSet/SessionConfig.cpp | gianricardo/OpcUaStack | ccdef574175ffe8b7e82b886abc5e5403968b280 | [
"Apache-2.0"
] | 287 | 2018-09-18T14:59:12.000Z | 2022-01-13T12:28:23.000Z | src/OpcUaStackServer/ServiceSet/SessionConfig.cpp | gianricardo/OpcUaStack | ccdef574175ffe8b7e82b886abc5e5403968b280 | [
"Apache-2.0"
] | 32 | 2018-10-19T14:35:03.000Z | 2021-11-12T09:36:46.000Z | /*
Copyright 2015 Kai Huebl (kai@huebl-sgh.de)
Lizenziert gemäß Apache Licence Version 2.0 (die „Lizenz“); Nutzung dieser
Datei nur in Übereinstimmung mit der Lizenz erlaubt.
Eine Kopie der Lizenz erhalten Sie auf http://www.apache.org/licenses/LICENSE-2.0.
Sofern nicht gemäß geltendem Recht vorgeschri... | 34.075758 | 131 | 0.629169 | gianricardo |
15b3463de06815d624443b011b41b3d274d4b536 | 2,076 | cpp | C++ | test/fiber/test_fiber_unexpected_event_callback_add.cpp | nanolith/rcpr | d8464e83fa09603802ba8c0c4f2b5ae3dcf69158 | [
"0BSD"
] | null | null | null | test/fiber/test_fiber_unexpected_event_callback_add.cpp | nanolith/rcpr | d8464e83fa09603802ba8c0c4f2b5ae3dcf69158 | [
"0BSD"
] | null | null | null | test/fiber/test_fiber_unexpected_event_callback_add.cpp | nanolith/rcpr | d8464e83fa09603802ba8c0c4f2b5ae3dcf69158 | [
"0BSD"
] | null | null | null | /**
* \file test/fiber/test_fiber_unexpected_event_callback_add.cpp
*
* \brief Unit tests for fiber_unexpected_event_callback_add.
*/
#include <minunit/minunit.h>
#include <rcpr/allocator.h>
#include <rcpr/fiber.h>
#include "../../src/fiber/common/fiber_internal.h"
RCPR_IMPORT_allocator;
RCPR_IMPORT_fiber;
RCPR_... | 28.833333 | 78 | 0.701349 | nanolith |
15b826106c1e596c31cab7b3fc8dbfbe6479e838 | 1,712 | cpp | C++ | LevelSwitch.cpp | programistagd/Simple-SFML-game-engine | 212e347145e88c14722a9d61ffb0aa7dcf9ec931 | [
"CC-BY-3.0"
] | null | null | null | LevelSwitch.cpp | programistagd/Simple-SFML-game-engine | 212e347145e88c14722a9d61ffb0aa7dcf9ec931 | [
"CC-BY-3.0"
] | null | null | null | LevelSwitch.cpp | programistagd/Simple-SFML-game-engine | 212e347145e88c14722a9d61ffb0aa7dcf9ec931 | [
"CC-BY-3.0"
] | null | null | null | /*
* File: LevelSwitch.cpp
* Author: radek
*
* Created on 7 kwiecień 2014, 17:35
*/
#include "LevelSwitch.hpp"
LevelSwitch::LevelSwitch() : Obstacle(){
jumpable = false;
}
LevelSwitch::~LevelSwitch() {
}
GameObject* LevelSwitch::create(GameWorld& world, ResourceManager* rm, std::stringstream& in){
... | 28.065574 | 124 | 0.574182 | programistagd |
15b9a534bf79f5db22d4f878c7eba87a7113e24b | 350 | hpp | C++ | src/godotmation_converter.hpp | kakoeimon/GodotMationCpp | d05b157b420688e1ffae9a49de80b26da21ab41f | [
"MIT"
] | 2 | 2019-09-09T06:08:26.000Z | 2020-10-14T12:01:26.000Z | src/godotmation_converter.hpp | kakoeimon/GodotMationCpp | d05b157b420688e1ffae9a49de80b26da21ab41f | [
"MIT"
] | null | null | null | src/godotmation_converter.hpp | kakoeimon/GodotMationCpp | d05b157b420688e1ffae9a49de80b26da21ab41f | [
"MIT"
] | 1 | 2021-08-16T07:28:19.000Z | 2021-08-16T07:28:19.000Z | #ifndef GODOTMATION_CONVERTER_H
#define GODOTMATION_CONVERTER_H
#include "godotmation_pool.hpp"
class GodotMation_Resource;
class GodotMation_State;
class GodotMation_Converter : public GodotMation_Pool{
public:
GodotMation_Converter();
~GodotMation_Converter();
virtual bool trigger();
virtual int c... | 19.444444 | 54 | 0.788571 | kakoeimon |
15bd26e9d1e4062d0ad1ff06efa037304e75a13a | 1,177 | cpp | C++ | apps/tests/test_font.cpp | kdt3rd/gecko | 756a4e4587eb5023495294d9b6c6d80ebd79ebde | [
"MIT"
] | 15 | 2017-10-18T05:08:16.000Z | 2022-02-02T11:01:46.000Z | apps/tests/test_font.cpp | kdt3rd/gecko | 756a4e4587eb5023495294d9b6c6d80ebd79ebde | [
"MIT"
] | null | null | null | apps/tests/test_font.cpp | kdt3rd/gecko | 756a4e4587eb5023495294d9b6c6d80ebd79ebde | [
"MIT"
] | 1 | 2018-11-10T03:12:57.000Z | 2018-11-10T03:12:57.000Z | // SPDX-License-Identifier: MIT
// Copyright contributors to the gecko project.
#include <base/contract.h>
#include <fstream>
#include <script/font_manager.h>
namespace
{
int safemain( int /*argc*/, char * /*argv*/[] )
{
std::shared_ptr<script::font_manager> fontmgr =
script::font_manager::make();
au... | 21.796296 | 77 | 0.525913 | kdt3rd |
15c54d976d9f22078105d13579c798e57bce3c31 | 6,137 | cpp | C++ | src/codec/rdb/RdbDecoder.cpp | TimothyZhang023/vcdb | 2604ab3703d82efdbf6c66a713b5b23a61b96672 | [
"BSD-2-Clause"
] | null | null | null | src/codec/rdb/RdbDecoder.cpp | TimothyZhang023/vcdb | 2604ab3703d82efdbf6c66a713b5b23a61b96672 | [
"BSD-2-Clause"
] | null | null | null | src/codec/rdb/RdbDecoder.cpp | TimothyZhang023/vcdb | 2604ab3703d82efdbf6c66a713b5b23a61b96672 | [
"BSD-2-Clause"
] | null | null | null | /*
Copyright (c) 2017, Timothy. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
*/
#include "RdbDecoder.h"
#include "util/bytes.h"
#include "util/cfree.h"
#include <netinet/in.h>
#include <memory>
extern "C" {
#include "redis/lzf.h"
#include "redi... | 24.646586 | 89 | 0.561675 | TimothyZhang023 |
15c65aa5c73eb13cf6190cdd1dde08de126e323f | 12,423 | cpp | C++ | Start.cpp | kongying-tavern/yuanshendt-updater | 68ab945a2f179b35857be125cdef14077b2329de | [
"WTFPL"
] | 5 | 2021-08-08T15:09:51.000Z | 2022-03-13T07:12:46.000Z | Start.cpp | kongying-tavern/yuanshendt-updater | 68ab945a2f179b35857be125cdef14077b2329de | [
"WTFPL"
] | null | null | null | Start.cpp | kongying-tavern/yuanshendt-updater | 68ab945a2f179b35857be125cdef14077b2329de | [
"WTFPL"
] | 2 | 2021-09-25T01:03:44.000Z | 2022-01-10T07:02:50.000Z | #include "Start.h"
#include <QStringList>
#include <QtWidgets/QMessageBox>
#include <QCoreApplication>
#include <QDebug>
#include <QUrl>
#include <QtConcurrent>
#include <QFileInfo>
#include <windows.h>
#include "file.h"
#include "MD5.h"
#include "Sandefine.h"
#include "Json.h"
#include "mainwindow.h"... | 31.292191 | 101 | 0.519681 | kongying-tavern |
15cb6a77994877a44b18c097680e944e35a78627 | 659 | cpp | C++ | other/TopTec2021/S1/N.cpp | axelgio01/cp | 7a1c3490f913e4aea53e46bcfb5bb56c9b15605d | [
"MIT"
] | null | null | null | other/TopTec2021/S1/N.cpp | axelgio01/cp | 7a1c3490f913e4aea53e46bcfb5bb56c9b15605d | [
"MIT"
] | null | null | null | other/TopTec2021/S1/N.cpp | axelgio01/cp | 7a1c3490f913e4aea53e46bcfb5bb56c9b15605d | [
"MIT"
] | null | null | null | //
#include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0); cout.tie(0);
int t; cin >> t;
while (t--) {
long long n, all = 0; cin >> n;
set<int> winners;
vector< pair<long long, int> > a(n);
for (int i = 0; i < n; ++i) {
cin >> a[i].first;
a[i].second = i ... | 19.382353 | 39 | 0.496206 | axelgio01 |
15ce56fd139435072285e28c57ca2ff95ab2a751 | 927 | hpp | C++ | flare/include/flare/paint/actor_gradient_fill.hpp | taehyub/flare_cpp | 7731bc0bcf2ce721f103586a48f74aa5c12504e8 | [
"MIT"
] | 14 | 2019-04-29T15:17:24.000Z | 2020-12-30T12:51:05.000Z | flare/include/flare/paint/actor_gradient_fill.hpp | taehyub/flare_cpp | 7731bc0bcf2ce721f103586a48f74aa5c12504e8 | [
"MIT"
] | null | null | null | flare/include/flare/paint/actor_gradient_fill.hpp | taehyub/flare_cpp | 7731bc0bcf2ce721f103586a48f74aa5c12504e8 | [
"MIT"
] | 6 | 2019-04-29T15:17:25.000Z | 2021-11-16T03:20:59.000Z | #ifndef _FLARE_ACTOR_GRADIENT_FILL_HPP_
#define _FLARE_ACTOR_GRADIENT_FILL_HPP_
#include "flare/paint/actor_fill.hpp"
#include "flare/paint/actor_gradient_color.hpp"
namespace flare
{
class BlockReader;
class ActorArtboard;
class ActorGradientFill : public ActorGradientColor, public ActorFill
{
typedef ActorGr... | 33.107143 | 109 | 0.79288 | taehyub |
15d132691ab76cd46b34a9f55d3b8503b32ac5f4 | 4,411 | cc | C++ | src/trace.cc | offis/libbla | 4d6391df7ddd6a6ab0a61d9469b6f9fd49d060de | [
"Apache-2.0"
] | null | null | null | src/trace.cc | offis/libbla | 4d6391df7ddd6a6ab0a61d9469b6f9fd49d060de | [
"Apache-2.0"
] | null | null | null | src/trace.cc | offis/libbla | 4d6391df7ddd6a6ab0a61d9469b6f9fd49d060de | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2018-2020 OFFIS Institute for Information Technology
* Oldenburg, Germany
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://w... | 27.917722 | 89 | 0.697574 | offis |
15d2b2c8a1eac7279da29bc6a0b3b0f415de9f6d | 6,599 | cpp | C++ | src/row_renderer.cpp | magicmoremagic/bengine-ctable | ab82acd66f3021888701fb086dcec0e0713038c2 | [
"MIT"
] | null | null | null | src/row_renderer.cpp | magicmoremagic/bengine-ctable | ab82acd66f3021888701fb086dcec0e0713038c2 | [
"MIT"
] | null | null | null | src/row_renderer.cpp | magicmoremagic/bengine-ctable | ab82acd66f3021888701fb086dcec0e0713038c2 | [
"MIT"
] | null | null | null | #include "pch.hpp"
#include "row_renderer.hpp"
#include "table_sizer.hpp"
#include <memory>
namespace be::ct {
namespace detail {
namespace {
///////////////////////////////////////////////////////////////////////////////
U8 get_margin(const BorderConfig& config) {
return config.margin > 0 ? config.margin - 1 : 0;... | 32.830846 | 112 | 0.504167 | magicmoremagic |
15d74717934c1cdd6bd4f073ec485bf529f7e93d | 6,872 | cpp | C++ | liblink/native/src/deterministic_wallet.cpp | oklink-dev/bitlink | 69705ccd8469a11375ad3c08c00c9dc54773355e | [
"MIT"
] | null | null | null | liblink/native/src/deterministic_wallet.cpp | oklink-dev/bitlink | 69705ccd8469a11375ad3c08c00c9dc54773355e | [
"MIT"
] | null | null | null | liblink/native/src/deterministic_wallet.cpp | oklink-dev/bitlink | 69705ccd8469a11375ad3c08c00c9dc54773355e | [
"MIT"
] | null | null | null | /**
* Copyright (c) 2011-2013 libwallet developers (see AUTHORS)
*
* This file is part of libwallet.
*
* libwallet is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* Licen... | 28.633333 | 75 | 0.688009 | oklink-dev |
15d9f9a3830d5e095f06541835660dc168304512 | 1,302 | cpp | C++ | test/main.cpp | fyquah95/robot_cpp | f0898957fb0b1258419e4ace9d7464143caaa5e4 | [
"MIT"
] | 11 | 2018-01-10T12:35:04.000Z | 2018-08-29T01:47:48.000Z | test/main.cpp | fyquah95/robot_cpp | f0898957fb0b1258419e4ace9d7464143caaa5e4 | [
"MIT"
] | null | null | null | test/main.cpp | fyquah95/robot_cpp | f0898957fb0b1258419e4ace9d7464143caaa5e4 | [
"MIT"
] | 2 | 2018-01-10T13:04:08.000Z | 2018-01-10T13:24:12.000Z | #include <iostream>
#include <thread>
#include <chrono>
#include <utility>
#include <stdint.h>
#include <stdio.h>
#include <unistd.h>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <robot.h>
#include "strategy.hpp"
#include "game.hpp"
#include "vision.hpp"
#include "interact.hpp"
... | 22.067797 | 69 | 0.678955 | fyquah95 |
15db8f5260aaa60a00b0c9e6ce2f08c738014e07 | 2,436 | cc | C++ | logging/rtc_event_log/events/rtc_event_begin_log.cc | brandongatling/WebRTC | 5b661302097ba03e1055357556c35f6e5d37b550 | [
"BSD-3-Clause"
] | null | null | null | logging/rtc_event_log/events/rtc_event_begin_log.cc | brandongatling/WebRTC | 5b661302097ba03e1055357556c35f6e5d37b550 | [
"BSD-3-Clause"
] | null | null | null | logging/rtc_event_log/events/rtc_event_begin_log.cc | brandongatling/WebRTC | 5b661302097ba03e1055357556c35f6e5d37b550 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2021 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... | 34.8 | 80 | 0.741379 | brandongatling |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.