hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 108 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 67k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5d9c7d7a913afeb9727e54b28667784ea8069fbf | 576 | hpp | C++ | Code/Asset/IAsset.hpp | Mu-L/Luna-Engine-0.6 | 05ae1037f0d173589a535eb6ec2964f20d80e5c1 | [
"MIT"
] | 167 | 2020-06-17T06:09:41.000Z | 2022-03-13T20:31:26.000Z | Code/Asset/IAsset.hpp | Mu-L/Luna-Engine-0.6 | 05ae1037f0d173589a535eb6ec2964f20d80e5c1 | [
"MIT"
] | 2 | 2020-07-11T15:12:50.000Z | 2021-06-01T01:45:49.000Z | Code/Asset/IAsset.hpp | Mu-L/Luna-Engine-0.6 | 05ae1037f0d173589a535eb6ec2964f20d80e5c1 | [
"MIT"
] | 22 | 2020-06-12T02:26:10.000Z | 2022-01-02T14:04:32.000Z | // Copyright 2018-2020 JXMaster. All rights reserved.
/*
* @file IAsset.cpp
* @author JXMaster
* @date 2020/4/15
*/
#pragma once
#include <Core/Core.hpp>
namespace Luna
{
namespace Asset
{
struct IAssetMeta;
//! @interface IAsset
//! @threadsafe
//! Implement this interface to define your own asset object t... | 21.333333 | 116 | 0.694444 | Mu-L |
5d9f9f81221136850585ba427482db4aef9ce359 | 3,499 | cpp | C++ | MasterServer/LMasterServer_PacketProcess_Proc.cpp | MBeanwenshengming/linuxgameserver | f03bf6ba0d625609c9654ddf0dc821386337e7dc | [
"MIT"
] | 5 | 2018-04-02T07:16:20.000Z | 2021-08-01T05:25:37.000Z | MasterServer/LMasterServer_PacketProcess_Proc.cpp | MBeanwenshengming/linuxgameserver | f03bf6ba0d625609c9654ddf0dc821386337e7dc | [
"MIT"
] | null | null | null | MasterServer/LMasterServer_PacketProcess_Proc.cpp | MBeanwenshengming/linuxgameserver | f03bf6ba0d625609c9654ddf0dc821386337e7dc | [
"MIT"
] | 2 | 2015-08-21T07:31:41.000Z | 2018-05-10T12:36:32.000Z | /*
The MIT License (MIT)
Copyright (c) <2010-2020> <wenshengming>
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... | 31.809091 | 117 | 0.823092 | MBeanwenshengming |
5d9fab6a54e7d2c6017976ec01cdc88f65ce58df | 638 | cpp | C++ | examples/wx/full_demo.cpp | JiveHelix/pex | d3cbe0e437e803fb4af6fe153de0cf3f61a3a6d6 | [
"MIT"
] | null | null | null | examples/wx/full_demo.cpp | JiveHelix/pex | d3cbe0e437e803fb4af6fe153de0cf3f61a3a6d6 | [
"MIT"
] | null | null | null | examples/wx/full_demo.cpp | JiveHelix/pex | d3cbe0e437e803fb4af6fe153de0cf3f61a3a6d6 | [
"MIT"
] | null | null | null |
#include <iostream>
#include <string>
#include <bitset>
#include <array>
#include "tau/angles.h"
#include "fields/fields.h"
#include "pex/signal.h"
#include "pex/value.h"
#include "pex/initialize.h"
#include "pex/range.h"
#include "pex/chooser.h"
#include "pex/converter.h"
#include "pex/wx/wxshim.h"
#include "pex/... | 20.580645 | 39 | 0.721003 | JiveHelix |
5da1aa668d1af27127b8511fba239273f559a099 | 1,972 | cpp | C++ | tests/src/test_BedWriter.cpp | bio-nim/pbbam | d3bf59e90865ef3b39bf50f19fd846db42bb0fe1 | [
"BSD-3-Clause-Clear"
] | null | null | null | tests/src/test_BedWriter.cpp | bio-nim/pbbam | d3bf59e90865ef3b39bf50f19fd846db42bb0fe1 | [
"BSD-3-Clause-Clear"
] | null | null | null | tests/src/test_BedWriter.cpp | bio-nim/pbbam | d3bf59e90865ef3b39bf50f19fd846db42bb0fe1 | [
"BSD-3-Clause-Clear"
] | null | null | null | // Author: Derek Barnett
#include <pbbam/bed/BedWriter.h>
#include <cstdio>
#include <algorithm>
#include <string>
#include <vector>
#include <gtest/gtest.h>
#include <pbbam/FormatUtils.h>
#include <pbbam/GenomicInterval.h>
#include <pbbam/bed/BedReader.h>
#include "PbbamTestData.h"
using BedReader = PacBio::BED... | 30.338462 | 100 | 0.719574 | bio-nim |
5da40434f93e40fac22f2e9e9ea7bee7395e3bcd | 1,761 | hpp | C++ | RType.Server/Headers/TCPServer.hpp | Mikyan0207/RType | ae3d0e4b3192577eccfb3ba55ac86bd7238e9451 | [
"MIT",
"Unlicense"
] | null | null | null | RType.Server/Headers/TCPServer.hpp | Mikyan0207/RType | ae3d0e4b3192577eccfb3ba55ac86bd7238e9451 | [
"MIT",
"Unlicense"
] | null | null | null | RType.Server/Headers/TCPServer.hpp | Mikyan0207/RType | ae3d0e4b3192577eccfb3ba55ac86bd7238e9451 | [
"MIT",
"Unlicense"
] | null | null | null | #pragma once
#include <memory>
#include <vector>
#include <optional>
#include <thread>
#include <string>
#include <Network/IPacketManager.hpp>
#include <Network/ITCPNetwork.hpp>
#include <Network/Connection.hpp>
#include <Lobby.hpp>
namespace RType
{
class TCPServer : public ITCPNetwork
{
public:
... | 32.611111 | 106 | 0.664395 | Mikyan0207 |
5da496eebeeeeb43539356f89eea88dbfb4bdc94 | 2,413 | cpp | C++ | cpp/daal/src/algorithms/normalization/minmax/minmax_fpt.cpp | cmsxbc/oneDAL | eeb8523285907dc359c84ca4894579d5d1d9f57e | [
"Apache-2.0"
] | 169 | 2020-03-30T09:13:05.000Z | 2022-03-15T11:12:36.000Z | cpp/daal/src/algorithms/normalization/minmax/minmax_fpt.cpp | cmsxbc/oneDAL | eeb8523285907dc359c84ca4894579d5d1d9f57e | [
"Apache-2.0"
] | 1,198 | 2020-03-24T17:26:18.000Z | 2022-03-31T08:06:15.000Z | cpp/daal/src/algorithms/normalization/minmax/minmax_fpt.cpp | cmsxbc/oneDAL | eeb8523285907dc359c84ca4894579d5d1d9f57e | [
"Apache-2.0"
] | 75 | 2020-03-30T11:39:58.000Z | 2022-03-26T05:16:20.000Z | /* file: minmax_fpt.cpp */
/*******************************************************************************
* Copyright 2014-2021 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 Licens... | 33.513889 | 134 | 0.695814 | cmsxbc |
5da4c4c25c5180de10e006f11ebaa79e2b4777e8 | 4,925 | cpp | C++ | Crowny/Source/Crowny/Scripting/Mono/MonoMethod.cpp | bojosos/Nworc | a59cb18412a45a101f877caedf6ed0025a9e44a9 | [
"MIT"
] | 2 | 2021-05-13T17:57:04.000Z | 2021-10-04T07:07:01.000Z | Crowny/Source/Crowny/Scripting/Mono/MonoMethod.cpp | bojosos/Crowny | 5aef056d2c95e04870d2372a87257ad9dccf168a | [
"MIT"
] | null | null | null | Crowny/Source/Crowny/Scripting/Mono/MonoMethod.cpp | bojosos/Crowny | 5aef056d2c95e04870d2372a87257ad9dccf168a | [
"MIT"
] | null | null | null | #include "cwpch.h"
#include "Crowny/Scripting/Mono/MonoClass.h"
#include "Crowny/Scripting/Mono/MonoManager.h"
#include "Crowny/Scripting/Mono/MonoMethod.h"
#include "Crowny/Scripting/Mono/MonoUtils.h"
#include <mono/metadata/attrdefs.h>
#include <mono/metadata/debug-helpers.h>
#include <mono/metadata/loader.h>
#incl... | 32.615894 | 108 | 0.643249 | bojosos |
5da760efdd8c8eaa8b7bff8dbd6d3dc1c382a22f | 4,019 | cpp | C++ | simplefvm/src/FVMSolver/MatrixBuilder/SleMatrixBuilder.cpp | artvns/SimpleFvm | 5a8eca332d6780e738c0bc6c8c2b787b47b5b20d | [
"MIT"
] | 4 | 2022-01-03T08:45:55.000Z | 2022-01-06T19:57:11.000Z | simplefvm/src/FVMSolver/MatrixBuilder/SleMatrixBuilder.cpp | artvns/SimpleFvm | 5a8eca332d6780e738c0bc6c8c2b787b47b5b20d | [
"MIT"
] | null | null | null | simplefvm/src/FVMSolver/MatrixBuilder/SleMatrixBuilder.cpp | artvns/SimpleFvm | 5a8eca332d6780e738c0bc6c8c2b787b47b5b20d | [
"MIT"
] | null | null | null | #include "SleMatrixBuilder.h"
namespace fvmsolver {
SleMatrixBuilder::SleMatrixBuilder(
AbstractCoeffsCalculator& coeffsCalculator,
uPtrDataPort spData) :
spDataPort_(std::move(spData)),
dataPort_(*spDataPort_),
... | 33.491667 | 91 | 0.631003 | artvns |
5da8da04f30037a3ebffb28d5b021149c11fed2d | 951 | cpp | C++ | 2017-08-19/C.cpp | tangjz/Three-Investigators | 46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52 | [
"MIT"
] | 3 | 2018-04-02T06:00:51.000Z | 2018-05-29T04:46:29.000Z | 2017-08-19/C.cpp | tangjz/Three-Investigators | 46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52 | [
"MIT"
] | 2 | 2018-03-31T17:54:30.000Z | 2018-05-02T11:31:06.000Z | 2017-08-19/C.cpp | tangjz/Three-Investigators | 46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52 | [
"MIT"
] | 2 | 2018-10-07T00:08:06.000Z | 2021-06-28T11:02:59.000Z | #include <cstdio>
#include <cstdlib>
#include <cstring>
#include <algorithm>
using namespace std;
const int NMAX = 31;
int T, N;
int adj[NMAX][NMAX];
int main()
{
int i, j, k, t;
bool flag;
scanf("%d", &T);
for(t = 0;t < T;t += 1)
{
flag = true;
scanf("%d", &N);
if(N >= 6)
{
for(i = 1;i <= N;i += 1)... | 14.630769 | 51 | 0.392219 | tangjz |
5daa35f4e79a8828c2318ae5eb271a8db9a6d1ab | 1,742 | cpp | C++ | PE/ch14/14.2/winei.cpp | DustOfStars/CppPrimerPlus6 | 391e3ad76eaa99f331981cee72139d83115fc93d | [
"MIT"
] | null | null | null | PE/ch14/14.2/winei.cpp | DustOfStars/CppPrimerPlus6 | 391e3ad76eaa99f331981cee72139d83115fc93d | [
"MIT"
] | null | null | null | PE/ch14/14.2/winei.cpp | DustOfStars/CppPrimerPlus6 | 391e3ad76eaa99f331981cee72139d83115fc93d | [
"MIT"
] | null | null | null | #include <iostream>
#include "winei.h"
using std::cin;
using std::cout;
using std::cerr;
using std::endl;
using std::string;
Wine::Wine(const char * l, int y, const int yr[], const int bot[])
: string(l), years(y), PairArray(ArrayInt(yr,y),ArrayInt(bot,y))
{
}
Wine::Wine(const char * l, const ArrayInt & yr, cons... | 21.775 | 74 | 0.538462 | DustOfStars |
5dacb2657b4b72c1f174c12be72a8cc9e8347f3b | 194 | hpp | C++ | include/mruby_integration/models/colour.hpp | HellRok/Taylor | aa9d901b4db77395a0bde896500016353adcd73b | [
"MIT"
] | 40 | 2021-05-25T04:21:49.000Z | 2022-02-19T05:05:45.000Z | include/mruby_integration/models/colour.hpp | HellRok/Taylor | aa9d901b4db77395a0bde896500016353adcd73b | [
"MIT"
] | 4 | 2021-09-17T06:52:35.000Z | 2021-12-29T23:07:18.000Z | include/mruby_integration/models/colour.hpp | HellRok/Taylor | aa9d901b4db77395a0bde896500016353adcd73b | [
"MIT"
] | 1 | 2021-12-23T00:59:27.000Z | 2021-12-23T00:59:27.000Z | #pragma once
#include "mruby.h"
#include "raylib.h"
extern RClass *Colour_class;
void setup_Colour(mrb_state*, mrb_value, Color*, int, int, int, int);
void append_models_Colour(mrb_state*);
| 17.636364 | 69 | 0.747423 | HellRok |
5dad76ffbddaefea91423f5e315c49c177c7cac1 | 2,745 | cpp | C++ | 图论/差分约束/acwing_1170.cpp | tempure/algorithm-advance | 38c4504f64cd3fd15fc32cf20a541ad5ba2ad82b | [
"MIT"
] | 3 | 2020-11-16T08:58:30.000Z | 2020-11-16T08:58:33.000Z | 图论/差分约束/acwing_1170.cpp | tempure/algorithm-advance | 38c4504f64cd3fd15fc32cf20a541ad5ba2ad82b | [
"MIT"
] | null | null | null | 图论/差分约束/acwing_1170.cpp | tempure/algorithm-advance | 38c4504f64cd3fd15fc32cf20a541ad5ba2ad82b | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
#define rep(i,a,n) for(int i = a; i< n; i++)
#define per(i,a,n) for(int i=n-1; i>=a; i--)
#define pb push_back
#define mp make_pair
#define all(x) (x).begin(), (x).end()
#define x first
#define y second
#define sz(x) ((int)(x).size())
typedef vector<int> vi;
typedef long lo... | 26.394231 | 112 | 0.488889 | tempure |
5dade33a7eb95eb746d98e0eecfccaeba73f0c6f | 3,870 | cpp | C++ | MMC/MMCKeys/keysmanager.cpp | Myweik/MMC_qgroundcontrol | 3aa97928d30fc9de56fde2a0d37a49245de83da4 | [
"Apache-2.0"
] | 2 | 2020-04-14T12:50:53.000Z | 2021-07-19T02:09:04.000Z | MMC/MMCKeys/keysmanager.cpp | Myweik/MMC_qgroundcontrol | 3aa97928d30fc9de56fde2a0d37a49245de83da4 | [
"Apache-2.0"
] | 5 | 2020-07-01T21:31:53.000Z | 2021-02-01T10:53:39.000Z | MMC/MMCKeys/keysmanager.cpp | Myweik/MMC_qgroundcontrol | 3aa97928d30fc9de56fde2a0d37a49245de83da4 | [
"Apache-2.0"
] | 2 | 2020-05-11T03:11:11.000Z | 2021-02-03T10:53:03.000Z | #include "keysmanager.h"
#include "QGCApplication.h"
#include "MMC/MMCMount/mmcmount.h"
MMCKey::MMCKey(int id, QObject *parent) : QObject(parent), _id(id)
{
_timer = new QTimer(this);
_timer->setInterval(100);
connect(_timer, SIGNAL(timeout()), this, SLOT(onTimerOut()));
}
void MMCKey::setKey(bool key)
{
... | 26.326531 | 164 | 0.576486 | Myweik |
5dae0f10370c9c8626c1d63c15a43820ef313c15 | 403 | cpp | C++ | hackerrank/algorithms/2-implementation/020.cpp | him1411/algorithmic-coding-and-data-structures | 685aa95539692daca68ce79c20467c335aa9bb7f | [
"MIT"
] | null | null | null | hackerrank/algorithms/2-implementation/020.cpp | him1411/algorithmic-coding-and-data-structures | 685aa95539692daca68ce79c20467c335aa9bb7f | [
"MIT"
] | null | null | null | hackerrank/algorithms/2-implementation/020.cpp | him1411/algorithmic-coding-and-data-structures | 685aa95539692daca68ce79c20467c335aa9bb7f | [
"MIT"
] | 2 | 2018-10-04T19:01:52.000Z | 2018-10-05T08:49:57.000Z | #include <bits/stdc++.h>
using namespace std;
int main()
{
vector<int> a(26);
for(int i = 0; i < 26; i++)
{
cin >> a[i];
}
string word;
cin >> word;
int k = word.length ();
vector<int> b(k);
int max =0;
for (int i = 0; i < k; ++i)
{
if (a[(int)word[i]-97]>max)
... | 15.5 | 32 | 0.431762 | him1411 |
5dae827d0c916f3116817b0609f462cbb578064b | 41,315 | cpp | C++ | c/common/tests/crtabstractions_unittests/crtabstractions_unittests.cpp | josesimoes/azure-iot-sdks | 75107fa7b0e614a83dfcd81aff4727541d81fa28 | [
"MIT"
] | 4 | 2017-08-15T10:02:59.000Z | 2021-12-20T10:48:25.000Z | c/common/tests/crtabstractions_unittests/crtabstractions_unittests.cpp | josesimoes/azure-iot-sdks | 75107fa7b0e614a83dfcd81aff4727541d81fa28 | [
"MIT"
] | null | null | null | c/common/tests/crtabstractions_unittests/crtabstractions_unittests.cpp | josesimoes/azure-iot-sdks | 75107fa7b0e614a83dfcd81aff4727541d81fa28 | [
"MIT"
] | 9 | 2016-10-08T12:33:33.000Z | 2021-12-23T09:46:31.000Z | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#include <cstdlib>
#ifdef _CRTDBG_MAP_ALLOC
#include <crtdbg.h>
#endif
#include "testrunnerswitcher.h"
#include "crt_abstractions.h"
#include "errno.h"
#include <climi... | 36.789849 | 352 | 0.600557 | josesimoes |
5db03cd420da69738fbe3acbf8468ad87ef583ce | 17,405 | cpp | C++ | xcore/crowd_app/leon/params/params.cpp | baidu-research/hydra-xeye | 67d4464cff8f44f3a396a2c9aed46d0ce02f8de2 | [
"Apache-2.0"
] | 1 | 2021-09-01T00:50:34.000Z | 2021-09-01T00:50:34.000Z | xcore/crowd_app/leon/params/params.cpp | baidu-research/hydra-xeye | 67d4464cff8f44f3a396a2c9aed46d0ce02f8de2 | [
"Apache-2.0"
] | null | null | null | xcore/crowd_app/leon/params/params.cpp | baidu-research/hydra-xeye | 67d4464cff8f44f3a396a2c9aed46d0ce02f8de2 | [
"Apache-2.0"
] | null | null | null | #include "params.hpp"
#include <Log.h>
#ifndef MVLOG_UNIT_NAME
#define MVLOG_UNIT_NAME params
#endif
#include <mvLog.h>
#include "utils/utils.hpp"
char* Params::merge_conf_json(const char* conf_json) {
cJSON* root = cJSON_Parse(conf_json);
if (root == NULL) {
LOGE << "invalid json string";
retu... | 40.382831 | 111 | 0.637863 | baidu-research |
5db18a3a6b19a7799cfc90c49021f84d6f461dad | 255 | cpp | C++ | problem/01000~09999/01110/1110.cpp14.cpp | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 1 | 2019-04-19T16:37:44.000Z | 2019-04-19T16:37:44.000Z | problem/01000~09999/01110/1110.cpp14.cpp | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 1 | 2019-04-20T11:42:44.000Z | 2019-04-20T11:42:44.000Z | problem/01000~09999/01110/1110.cpp14.cpp | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 3 | 2019-04-19T16:37:47.000Z | 2021-10-25T00:45:00.000Z | #include <iostream>
using namespace std;
int main(){
int N, val1, val2, count=0;
cin >> N;
int val3 = N;
do{
val1 = val3%10;
val2 = (val3/10+val1)%10;
val3 = val1*10+val2;
count++;
}while(val3!=N);
cout << count;
return 0;
} | 15.9375 | 29 | 0.556863 | njw1204 |
5db210271b7fdf2ef1417d204ad6eba497f79670 | 1,076 | cpp | C++ | codeforces/1254a.cpp | sogapalag/problems | 0ea7d65448e1177f8b3f81124a82d187980d659c | [
"MIT"
] | 1 | 2020-04-04T14:56:12.000Z | 2020-04-04T14:56:12.000Z | codeforces/1254a.cpp | sogapalag/problems | 0ea7d65448e1177f8b3f81124a82d187980d659c | [
"MIT"
] | null | null | null | codeforces/1254a.cpp | sogapalag/problems | 0ea7d65448e1177f8b3f81124a82d187980d659c | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
char c[62];
int cnt[62];
// zig-zag
void solve() {
int n,m,k;
cin >> n >> m >> k;
int rice = 0;
vector<string> s(n);
for (int i = 0; i < n; i++) {
cin >> s[i];
if (i&1) reverse(s[i].begin(), s[i].end());
for (char x: s[i]) if (... | 20.692308 | 51 | 0.362454 | sogapalag |
5db2b7388dc246fb34f34b19ffc9d5ba3637ac36 | 2,756 | cpp | C++ | ModelViewer/ScalePage.cpp | scharlton2/modelviewer-mf6 | 87f3e5daad747e5d81d48b19a8cdc4377df4effb | [
"CC0-1.0"
] | 1 | 2022-03-29T15:10:14.000Z | 2022-03-29T15:10:14.000Z | ModelViewer/ScalePage.cpp | scharlton2/modelviewer-mf6 | 87f3e5daad747e5d81d48b19a8cdc4377df4effb | [
"CC0-1.0"
] | 17 | 2022-01-12T19:58:41.000Z | 2022-03-28T22:45:56.000Z | ModelViewer/ScalePage.cpp | scharlton2/modelviewer-mf6 | 87f3e5daad747e5d81d48b19a8cdc4377df4effb | [
"CC0-1.0"
] | 3 | 2022-01-09T06:17:53.000Z | 2022-03-31T21:50:06.000Z | // ScalePage.cpp : implementation file
//
#include "ModelViewer.h"
#include "ScalePage.h"
#include "MvDoc.h"
#include "GeometryDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CScale... | 22.225806 | 81 | 0.607765 | scharlton2 |
5db2c6544db63edb6f90ac06ac4cdcc4bd2e6add | 2,796 | cpp | C++ | src/vm/systemCalls.optionals.cpp | DosWorld/tmbasic | 99bd593bb074df6af83d952259b5eb81588f1e3f | [
"MIT"
] | 1 | 2022-01-29T05:45:46.000Z | 2022-01-29T05:45:46.000Z | src/vm/systemCalls.optionals.cpp | DosWorld/tmbasic | 99bd593bb074df6af83d952259b5eb81588f1e3f | [
"MIT"
] | null | null | null | src/vm/systemCalls.optionals.cpp | DosWorld/tmbasic | 99bd593bb074df6af83d952259b5eb81588f1e3f | [
"MIT"
] | null | null | null | #include "systemCall.h"
#include "Error.h"
#include "Optional.h"
namespace vm {
static std::pair<const ValueOptional*, const ObjectOptional*> valueOrObjectOptional(const Object& object) {
const auto* valueOptional = dynamic_cast<const ValueOptional*>(&object);
if (valueOptional != nullptr) {
return { ... | 39.380282 | 107 | 0.664521 | DosWorld |
5db4dcaa97c8e90d29947b66e5a3ddc51388d606 | 7,673 | hpp | C++ | contrib/native/client/src/clientlib/streamSocket.hpp | akumarb2010/incubator-drill | a690b97074376a65ac0c1d86ee2a9fa32e997003 | [
"Apache-2.0"
] | 1 | 2020-12-27T04:08:49.000Z | 2020-12-27T04:08:49.000Z | contrib/native/client/src/clientlib/streamSocket.hpp | akumarb2010/incubator-drill | a690b97074376a65ac0c1d86ee2a9fa32e997003 | [
"Apache-2.0"
] | null | null | null | contrib/native/client/src/clientlib/streamSocket.hpp | akumarb2010/incubator-drill | a690b97074376a65ac0c1d86ee2a9fa32e997003 | [
"Apache-2.0"
] | 2 | 2019-11-12T09:21:02.000Z | 2019-12-16T09:51:25.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 35.03653 | 114 | 0.619314 | akumarb2010 |
5db85986044fcfd4415bf089cdc1a101c59bbf90 | 12,638 | hpp | C++ | src/bpsw.hpp | NewYaroslav/xalgorithms | ffb9abc6107bed496382b053f333c40fab61a700 | [
"MIT"
] | null | null | null | src/bpsw.hpp | NewYaroslav/xalgorithms | ffb9abc6107bed496382b053f333c40fab61a700 | [
"MIT"
] | null | null | null | src/bpsw.hpp | NewYaroslav/xalgorithms | ffb9abc6107bed496382b053f333c40fab61a700 | [
"MIT"
] | null | null | null | /*
Тест BPSW на простоту чисел
Источник: http://e-maxx.ru/algo/bpsw
*/
#ifndef XA_BPSW_HPP_INCLUDED
#define XA_BPSW_HPP_INCLUDED
#include <algorithm>
#include <cmath>
#include <map>
#include <vector>
namespace xaBPSW {
//! Модуль 64-битного числа
long long abs (long long n) {
return n < 0 ? ... | 26.219917 | 228 | 0.438835 | NewYaroslav |
5db9340d42d094ca8265a0f50a983b31c8c05d7a | 3,392 | cpp | C++ | patrace/src/common/memory.cpp | ricardoquesada/patrace | c55c2817433ab2301733101d64206abb8687d371 | [
"MIT"
] | 1 | 2019-10-13T16:57:52.000Z | 2019-10-13T16:57:52.000Z | patrace/src/common/memory.cpp | xiangruipuzhao/patrace | db444184177277b23e1de93fd320493628aae850 | [
"MIT"
] | null | null | null | patrace/src/common/memory.cpp | xiangruipuzhao/patrace | db444184177277b23e1de93fd320493628aae850 | [
"MIT"
] | 1 | 2021-04-15T17:34:35.000Z | 2021-04-15T17:34:35.000Z | #include "memory.hpp"
#include "os.hpp"
#include <cstdio>
#include <cassert>
namespace common
{
void PrintMemory(const void *mem, size_t len)
{
printf("\nMEMORY PRINT BEGIN : %d >>>>>>>>>>>> {\n", (int)len);
const unsigned char *begin = (const unsigned char*)mem;
for (size_t i = 0; i < len; ++i)
{
... | 28.745763 | 143 | 0.623231 | ricardoquesada |
5dbad53a80bd6f0cecb0edce527bdf09c0216a96 | 29,959 | cxx | C++ | Hekateros/sw/apps/hek_stalemate/SMCalib.cxx | roadnarrows-robotics/rnr-sdk | aee20c65b49fb3eedf924c5c2ec9f19f4f1a1b29 | [
"MIT"
] | null | null | null | Hekateros/sw/apps/hek_stalemate/SMCalib.cxx | roadnarrows-robotics/rnr-sdk | aee20c65b49fb3eedf924c5c2ec9f19f4f1a1b29 | [
"MIT"
] | null | null | null | Hekateros/sw/apps/hek_stalemate/SMCalib.cxx | roadnarrows-robotics/rnr-sdk | aee20c65b49fb3eedf924c5c2ec9f19f4f1a1b29 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
//
// Package: Hekateros
//
// Program: StaleMate
//
// File: SMCalib.cxx
//
/*! \file
*
* $LastChangedDate: 2012-06-05 15:17:26 -0600 (Tue, 05 Jun 2012) $
* $Rev: 2028 $
*
* \brief StaleMate calibration.
*
* \author Robin ... | 32.248654 | 80 | 0.580326 | roadnarrows-robotics |
5dbcd6f5f5fb732707e72a761ff1cc70ea0b752d | 1,202 | hpp | C++ | src/custom_topic/include/topic_pubsub/pub.hpp | IntelligentSystemsLabUTV/ros2_examples | b34d9238d680dd6b06177586f81bfed0bae31eb2 | [
"MIT"
] | null | null | null | src/custom_topic/include/topic_pubsub/pub.hpp | IntelligentSystemsLabUTV/ros2_examples | b34d9238d680dd6b06177586f81bfed0bae31eb2 | [
"MIT"
] | null | null | null | src/custom_topic/include/topic_pubsub/pub.hpp | IntelligentSystemsLabUTV/ros2_examples | b34d9238d680dd6b06177586f81bfed0bae31eb2 | [
"MIT"
] | null | null | null | /**
* Publisher definition.
*
* Roberto Masocco <robmasocco@gmail.com>
*
* November 22, 2021
*/
#ifndef PUB_HPP
#define PUB_HPP
#include <rclcpp/rclcpp.hpp> //! rclcpp base library
#include <ros2_examples_interfaces/msg/string.hpp> //! This time we use our own
#define PUB_PERIOD 300 // Publisher transmission ... | 26.130435 | 81 | 0.72629 | IntelligentSystemsLabUTV |
5dbfe826e98c69989b1f53d2c6478b563182aedc | 1,664 | cpp | C++ | B05576_07_Code/rosbook_arm_snippets/src/move_group_plan_single_target.cpp | podhrmic/Effective-Robotics-Programming-with-ROS | 9c5f3188bfdb47d6d0ee5c36da803e2381fb1a00 | [
"MIT"
] | 46 | 2017-02-11T18:28:57.000Z | 2021-12-12T07:55:22.000Z | B05576_07_Code/rosbook_arm_snippets/src/move_group_plan_single_target.cpp | podhrmic/Effective-Robotics-Programming-with-ROS | 9c5f3188bfdb47d6d0ee5c36da803e2381fb1a00 | [
"MIT"
] | 1 | 2017-03-22T13:07:55.000Z | 2020-11-02T09:12:52.000Z | B05576_07_Code/rosbook_arm_snippets/src/move_group_plan_single_target.cpp | podhrmic/Effective-Robotics-Programming-with-ROS | 9c5f3188bfdb47d6d0ee5c36da803e2381fb1a00 | [
"MIT"
] | 23 | 2016-12-30T05:11:37.000Z | 2021-05-04T15:08:34.000Z | #include <moveit/move_group_interface/move_group.h>
#include <moveit_msgs/DisplayTrajectory.h>
int main(int argc, char **argv)
{
// Initialize ROS, create the node handle and an async spinner
ros::init(argc, argv, "move_group_plan_single_target");
ros::NodeHandle nh;
ros::AsyncSpinner spin(1);
sp... | 30.254545 | 123 | 0.695913 | podhrmic |
5dc04855bd8ddedfd58cc73ff07656b9fcc9f8ac | 882 | cpp | C++ | leetcode/Hashmap/49.cpp | codehuanglei/- | 933a55b5c5a49163f12e0c39b4edfa9c4f01678f | [
"MIT"
] | null | null | null | leetcode/Hashmap/49.cpp | codehuanglei/- | 933a55b5c5a49163f12e0c39b4edfa9c4f01678f | [
"MIT"
] | null | null | null | leetcode/Hashmap/49.cpp | codehuanglei/- | 933a55b5c5a49163f12e0c39b4edfa9c4f01678f | [
"MIT"
] | null | null | null | #include<iostream>
#include<unordered_map>
#include<vector>
#include<algorithm>
using namespace std;
class Solution {
public:
vector<vector<string>> groupAnagrams(vector<string>& strs) {
vector<vector<string>> res;
unordered_map<string,vector<string>> map;
for(string s : strs){
... | 23.837838 | 65 | 0.510204 | codehuanglei |
5dc219f3aef70a802c53b00cc97d44a6bf81a1ae | 7,173 | cpp | C++ | src/services/gridftpd/dataread.cpp | davidgcameron/arc | 9813ef5f45e5089507953239de8fa2248f5ad32c | [
"Apache-2.0"
] | null | null | null | src/services/gridftpd/dataread.cpp | davidgcameron/arc | 9813ef5f45e5089507953239de8fa2248f5ad32c | [
"Apache-2.0"
] | null | null | null | src/services/gridftpd/dataread.cpp | davidgcameron/arc | 9813ef5f45e5089507953239de8fa2248f5ad32c | [
"Apache-2.0"
] | null | null | null | #ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <globus_common.h>
#include <globus_io.h>
#include <globus_ftp_control.h>
#include <arc/globusutils/GlobusErrorUtils.h>
#include <arc/Logger.h>
#include "fileroot.h"
#include "names.h"
#include "commands.h"
static Arc::Logger logger(Arc::Logger::getRootLogger(... | 39.412088 | 191 | 0.679074 | davidgcameron |
5dc231a42ee8385223e30f930b0c31d7f47869a4 | 5,048 | cpp | C++ | LocalizationUtils/src/Commands/GenerateCommand.cpp | LazyPanda07/LocalizationUtils | 294bd5df5efe33f238c54b40543d0455f61c60a0 | [
"MIT"
] | null | null | null | LocalizationUtils/src/Commands/GenerateCommand.cpp | LazyPanda07/LocalizationUtils | 294bd5df5efe33f238c54b40543d0455f61c60a0 | [
"MIT"
] | null | null | null | LocalizationUtils/src/Commands/GenerateCommand.cpp | LazyPanda07/LocalizationUtils | 294bd5df5efe33f238c54b40543d0455f61c60a0 | [
"MIT"
] | null | null | null | #include "GenerateCommand.h"
using namespace std;
namespace commands
{
void GenerateCommand::start(const filesystem::path& localizationFolder, const string& originalLanguage, const vector<string>& otherLanguages) const
{
json::JSONBuilder metaBuilder(CP_UTF8);
filesystem::create_directory(localizationFolder);
... | 31.354037 | 174 | 0.726624 | LazyPanda07 |
5dc2feb812db79fb1073f297761d6c13fb2b266b | 1,321 | cpp | C++ | UVa 11844 - The Melding Plague/sample/11844 - The Melding Plague.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | 1 | 2020-11-24T03:17:21.000Z | 2020-11-24T03:17:21.000Z | UVa 11844 - The Melding Plague/sample/11844 - The Melding Plague.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | null | null | null | UVa 11844 - The Melding Plague/sample/11844 - The Melding Plague.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | 1 | 2021-04-11T16:22:31.000Z | 2021-04-11T16:22:31.000Z | #include <stdio.h>
#include <string.h>
#include <iostream>
#include <map>
using namespace std;
map<string, int> R;
int getLabel(string s) {
int &x = R[s];
return x == 0 ? x = R.size() : x;
}
#define MAXN 4096
int main() {
int Nm, Ni, Nc, n, x, y;
char s[MAXN];
while(scanf("%d %d %d %d", &Nm, &Ni, &Nc, &n) == 4) ... | 20.640625 | 54 | 0.482967 | tadvi |
5dc40e9c639f7b42e1895144a209170499da2c2e | 561 | hpp | C++ | include/ccbase/utility/bytes.hpp | adityaramesh/ccbase | 595e1416aab3cc8bc976aad9bb3e262c7d11e3b2 | [
"BSD-3-Clause-Clear"
] | 8 | 2015-01-08T05:44:43.000Z | 2021-05-11T15:54:17.000Z | include/ccbase/utility/bytes.hpp | adityaramesh/ccbase | 595e1416aab3cc8bc976aad9bb3e262c7d11e3b2 | [
"BSD-3-Clause-Clear"
] | 1 | 2016-01-31T08:48:53.000Z | 2016-01-31T08:54:28.000Z | include/ccbase/utility/bytes.hpp | adityaramesh/ccbase | 595e1416aab3cc8bc976aad9bb3e262c7d11e3b2 | [
"BSD-3-Clause-Clear"
] | 2 | 2015-03-26T11:08:18.000Z | 2016-01-30T03:28:06.000Z | /*
** File Name: bytes.hpp
** Author: Aditya Ramesh
** Date: 07/09/2014
** Contact: _@adityaramesh.com
*/
#ifndef Z66BE627C_AD04_47FD_9360_9A51E7280DC8
#define Z66BE627C_AD04_47FD_9360_9A51E7280DC8
#include <cstdint>
constexpr uint64_t
operator ""_KB(unsigned long long int x)
{ return x << 10; }
constexpr... | 18.7 | 45 | 0.716578 | adityaramesh |
5dc5ddbdb072da284c0a9d7aafb8e7ebed1790e8 | 2,377 | cpp | C++ | mp/src/game/server/Mod/ClassicPhases.cpp | hekar/luminousforts-2013 | 09f07df4def93fa0d774721375a6c7c9da26d71f | [
"Unlicense"
] | 7 | 2019-02-04T01:17:26.000Z | 2022-02-26T21:36:34.000Z | mp/src/game/server/Mod/ClassicPhases.cpp | hekar/luminousforts-2013 | 09f07df4def93fa0d774721375a6c7c9da26d71f | [
"Unlicense"
] | 11 | 2016-05-06T22:44:46.000Z | 2016-05-06T22:45:03.000Z | mp/src/game/server/Mod/ClassicPhases.cpp | hekar/luminousforts-2013 | 09f07df4def93fa0d774721375a6c7c9da26d71f | [
"Unlicense"
] | 2 | 2016-06-28T11:34:53.000Z | 2017-04-01T18:08:46.000Z | /* ***** BEGIN LICENSE BLOCK *****
Version: MPL 1.1/LGPL 2.1/GPL 2.0
The contents of this file are subject to the Mozilla Public License Version
1.1 (the "License"); you may not use this file except in compliance with
...
for the specific language governing rights and limitations under the
License.
The Original Code... | 22.855769 | 76 | 0.700042 | hekar |
5dcaaef856d43a2166ded3825b63f727ed989dbf | 770 | hpp | C++ | src/OpenJijDotNet.Native/openjij/utility/Xorshift.hpp | takuya-takeuchi/OpenJijDotNet | e1cd30efbf0c561e89bc10bd90cd36a3176ad09a | [
"MIT"
] | null | null | null | src/OpenJijDotNet.Native/openjij/utility/Xorshift.hpp | takuya-takeuchi/OpenJijDotNet | e1cd30efbf0c561e89bc10bd90cd36a3176ad09a | [
"MIT"
] | null | null | null | src/OpenJijDotNet.Native/openjij/utility/Xorshift.hpp | takuya-takeuchi/OpenJijDotNet | e1cd30efbf0c561e89bc10bd90cd36a3176ad09a | [
"MIT"
] | null | null | null | #ifndef _CPP_UTILITY_XORSHIFT_H_
#define _CPP_UTILITY_XORSHIFT_H_
#include "../export.hpp"
#include "../shared.hpp"
#include <random>
#include <utility/random.hpp>
using namespace openjij;
using namespace openjij::utility;
DLLEXPORT Xorshift* utility_Xorshift_new()
{
return new Xorshift();
}
DLLEXPORT Xorshift... | 17.5 | 64 | 0.758442 | takuya-takeuchi |
5dce0207b6d99ec0a88c88a57160b5a0ecc20997 | 4,507 | cpp | C++ | source/predictdepth.cpp | astolap/WaSP | 2daa1963d1f3d3fb50d3b576d470f9af0f6ce463 | [
"BSD-2-Clause"
] | 4 | 2020-03-04T10:41:26.000Z | 2021-04-15T06:29:41.000Z | source/predictdepth.cpp | astolap/WaSP | 2daa1963d1f3d3fb50d3b576d470f9af0f6ce463 | [
"BSD-2-Clause"
] | 2 | 2019-01-14T15:58:47.000Z | 2021-04-18T09:09:51.000Z | source/predictdepth.cpp | astolap/WaSP | 2daa1963d1f3d3fb50d3b576d470f9af0f6ce463 | [
"BSD-2-Clause"
] | 4 | 2018-07-20T14:36:42.000Z | 2021-06-28T13:03:57.000Z | /*BSD 2-Clause License
* Copyright(c) 2019, Pekka Astola
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met :
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list ... | 31.739437 | 87 | 0.607278 | astolap |
5dce530424b87c168b126ff86d52f7deab82eb32 | 375 | hpp | C++ | src/texture.hpp | Honeybunch/raycaster | 7fc70e1cae2a4959fec6e99a94ccf57f36420c88 | [
"MIT"
] | null | null | null | src/texture.hpp | Honeybunch/raycaster | 7fc70e1cae2a4959fec6e99a94ccf57f36420c88 | [
"MIT"
] | null | null | null | src/texture.hpp | Honeybunch/raycaster | 7fc70e1cae2a4959fec6e99a94ccf57f36420c88 | [
"MIT"
] | null | null | null | #pragma once
#include "texture_types.hpp"
namespace raycaster {
texture load_texture(const char *filepath);
const uint8_t *texture_get_image(texture t);
uint32_t texture_get_width(texture t);
uint32_t texture_get_height(texture t);
uint32_t texture_get_channels(texture t);
uint32_t texture_get_size(texture t);
voi... | 22.058824 | 44 | 0.810667 | Honeybunch |
5dd64d69ad3c1f2f10e2bf5a0ac37c5b54f116ce | 11,478 | cpp | C++ | quic/congestion_control/test/PacerTest.cpp | Shikugawa/mvfst-quicbench | 5c6bb05cb5b9810bf1afddc5fe168d6b220bcd1d | [
"MIT"
] | null | null | null | quic/congestion_control/test/PacerTest.cpp | Shikugawa/mvfst-quicbench | 5c6bb05cb5b9810bf1afddc5fe168d6b220bcd1d | [
"MIT"
] | 1 | 2022-03-08T19:07:06.000Z | 2022-03-08T19:07:06.000Z | quic/congestion_control/test/PacerTest.cpp | Shikugawa/mvfst-quicbench | 5c6bb05cb5b9810bf1afddc5fe168d6b220bcd1d | [
"MIT"
] | null | null | null | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <quic/congestion_control/Pacer.h>
#include <folly/portability/GTest.h>
#include <quic/congestion_control/TokenlessPacer... | 40.273684 | 80 | 0.701429 | Shikugawa |
5dd72157657a7f90b29c9333a51eb5164b604f4c | 2,612 | cpp | C++ | modules/core/src/named_output_pipe.cpp | tizenorg/platform.framework.web.wrt-commons | 5835a89c8b013c00b828fecf04f423adc9e5d561 | [
"Apache-2.0"
] | null | null | null | modules/core/src/named_output_pipe.cpp | tizenorg/platform.framework.web.wrt-commons | 5835a89c8b013c00b828fecf04f423adc9e5d561 | [
"Apache-2.0"
] | null | null | null | modules/core/src/named_output_pipe.cpp | tizenorg/platform.framework.web.wrt-commons | 5835a89c8b013c00b828fecf04f423adc9e5d561 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | 25.607843 | 97 | 0.667305 | tizenorg |
5dd761884638a68e07ba43e0773063c7e933c7ec | 1,969 | cc | C++ | gui/load_relief_frame.cc | soukouki/simutrans | 758283664349afb5527db470780767abb4db8114 | [
"Artistic-1.0"
] | 23 | 2017-03-11T16:44:14.000Z | 2022-02-10T13:31:03.000Z | gui/load_relief_frame.cc | soukouki/simutrans | 758283664349afb5527db470780767abb4db8114 | [
"Artistic-1.0"
] | 32 | 2018-01-31T11:11:16.000Z | 2022-03-03T14:37:58.000Z | gui/load_relief_frame.cc | soukouki/simutrans | 758283664349afb5527db470780767abb4db8114 | [
"Artistic-1.0"
] | 17 | 2017-08-02T15:59:25.000Z | 2022-02-10T13:31:06.000Z | /*
* This file is part of the Simutrans project under the Artistic License.
* (see LICENSE.txt)
*/
#include <string>
#include <stdio.h>
#include "../simworld.h"
#include "load_relief_frame.h"
#include "welt.h"
#include "simwin.h"
#include "../dataobj/translator.h"
#include "../dataobj/settings.h"
#include "../data... | 25.907895 | 135 | 0.731336 | soukouki |
5de06650f8ac14307b254df239aeb0ef406a1352 | 378 | cpp | C++ | codeforces/Div2/CS204/Lab1/q2.cpp | jeevanpuchakay/a2oj | f867e9b2ced6619be3ca6b1a1a1838107322782d | [
"MIT"
] | null | null | null | codeforces/Div2/CS204/Lab1/q2.cpp | jeevanpuchakay/a2oj | f867e9b2ced6619be3ca6b1a1a1838107322782d | [
"MIT"
] | null | null | null | codeforces/Div2/CS204/Lab1/q2.cpp | jeevanpuchakay/a2oj | f867e9b2ced6619be3ca6b1a1a1838107322782d | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
struct city
{
/* data */
string city;
int x,y;
};
int noOfCities=0;
city DbUsingarray[5000];
void insertRecordInDb1(string s,int x,int y){
DbUsingarray[++noOfCities].city=s;
DbUsingarray[noOfCities].x=x;
DbUsingarray[noOfCities].y=y;
}
void ... | 13.034483 | 45 | 0.637566 | jeevanpuchakay |
5de0866d172736958bd7f785d6d2b2f265c6201b | 495 | hpp | C++ | contracts/vapaeetokens/vapaeetokens.dispatcher.hpp | vapaee/vapaee.io-source | b2b0c07850a817629055a848b9239a59dc10b545 | [
"MIT"
] | 7 | 2019-06-09T03:52:14.000Z | 2020-03-01T13:27:24.000Z | contracts/vapaeetokens/vapaeetokens.dispatcher.hpp | vapaee/vapaee.io-source | b2b0c07850a817629055a848b9239a59dc10b545 | [
"MIT"
] | 27 | 2019-12-28T12:29:12.000Z | 2022-03-02T04:08:55.000Z | contracts/vapaeetokens/vapaeetokens.dispatcher.hpp | vapaee/vapaee.io-source | b2b0c07850a817629055a848b9239a59dc10b545 | [
"MIT"
] | 2 | 2019-11-29T22:32:47.000Z | 2021-02-18T23:47:47.000Z | #define HANDLER void
#define EOSIO_DISPATCH_VAPAEE( TYPE, MEMBERS, HANDLERS ) \
extern "C" { \
void apply( uint64_t receiver, uint64_t code, uint64_t action ) { \
if( code == receiver ) { \
switch( action ) { \
EOSIO_DISPATCH_HELPER( TYPE, MEMBERS ) \
} \
} \
name han... | 30.9375 | 82 | 0.567677 | vapaee |
5de18f2b8e19e5f3e560b6afae3f6c584c0624e2 | 1,697 | cpp | C++ | ext/include/osgEarth/TextureCompositor.cpp | energonQuest/dtEarth | 47b04bb272ec8781702dea46f5ee9a03d4a22196 | [
"MIT"
] | 6 | 2015-09-26T15:33:41.000Z | 2021-06-13T13:21:50.000Z | ext/include/osgEarth/TextureCompositor.cpp | energonQuest/dtEarth | 47b04bb272ec8781702dea46f5ee9a03d4a22196 | [
"MIT"
] | null | null | null | ext/include/osgEarth/TextureCompositor.cpp | energonQuest/dtEarth | 47b04bb272ec8781702dea46f5ee9a03d4a22196 | [
"MIT"
] | 5 | 2015-05-04T09:02:23.000Z | 2019-06-17T11:34:12.000Z | /* -*-c++-*- */
/* osgEarth - Dynamic map generation toolkit for OpenSceneGraph
* Copyright 2008-2013 Pelican Mapping
* http://osgearth.org
*
* osgEarth 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 Foundat... | 28.762712 | 98 | 0.709487 | energonQuest |
5de59b6b8ea6c93ea369034f0d20254884e58cc9 | 931 | hpp | C++ | Includes/Components/Renderer/Utils.hpp | Snowapril/YachtSimulator | 534cce6401f64b29fd4e6ded6c04836bae0f15fb | [
"MIT"
] | 4 | 2021-06-03T11:00:47.000Z | 2021-07-15T11:01:07.000Z | Includes/Components/Renderer/Utils.hpp | Snowapril/YachtSimulator | 534cce6401f64b29fd4e6ded6c04836bae0f15fb | [
"MIT"
] | null | null | null | Includes/Components/Renderer/Utils.hpp | Snowapril/YachtSimulator | 534cce6401f64b29fd4e6ded6c04836bae0f15fb | [
"MIT"
] | 2 | 2021-10-12T07:16:24.000Z | 2022-01-29T08:06:08.000Z | #ifndef UTILS_HPP
#define UTILS_HPP
#include <vulkan/vulkan.h>
#include <Components/Common/Logger.hpp>
#include <cassert>
#include <string>
namespace Renderer
{
//! Returns VkResult error code as a string
std::string ErrorToString(VkResult result);
//! Check given VkResult is success or not
//! If failed, print erro... | 35.807692 | 75 | 0.407089 | Snowapril |
5de81372c4ff0fa17b5851ca48828317269fde1f | 2,496 | cc | C++ | cpp/art/scoped_thread_state_change.cc | fettdrac/ArtHook | 76205461bbc620e9d516cbfa317c459e9e4620e6 | [
"Apache-2.0"
] | 23 | 2019-08-13T04:55:20.000Z | 2021-12-21T13:28:49.000Z | cpp/art/scoped_thread_state_change.cc | fettdrac/ArtHook | 76205461bbc620e9d516cbfa317c459e9e4620e6 | [
"Apache-2.0"
] | 1 | 2021-07-04T16:08:49.000Z | 2021-07-04T16:08:49.000Z | cpp/art/scoped_thread_state_change.cc | fettdrac/ArtHook | 76205461bbc620e9d516cbfa317c459e9e4620e6 | [
"Apache-2.0"
] | 4 | 2019-08-22T01:49:11.000Z | 2021-09-15T14:30:54.000Z | #include "scoped_thread_state_change.h"
#include "../base/log.h"
#include "../base/jni_helper.h"
#include "ARTSymbol.h"
namespace whale {
namespace art {
static volatile long kNoGCDaemonsGuard = 0;
jclass ScopedNoGCDaemons::java_lang_Daemons;
jmethodID ScopedNoGCDaemons::java_lang_Daemons_start;
jmethodID ScopedNoGC... | 30.439024 | 98 | 0.654647 | fettdrac |
5de81bd593ea23d921b914f76e6e658d904aa090 | 475 | cpp | C++ | alerts/zlipWrapper/private/CCRC.cpp | ymuv/CameraAlerts | 7b2d794e38aff98bc2c5e7fafb9dec1a1bef3fe4 | [
"BSD-3-Clause"
] | null | null | null | alerts/zlipWrapper/private/CCRC.cpp | ymuv/CameraAlerts | 7b2d794e38aff98bc2c5e7fafb9dec1a1bef3fe4 | [
"BSD-3-Clause"
] | null | null | null | alerts/zlipWrapper/private/CCRC.cpp | ymuv/CameraAlerts | 7b2d794e38aff98bc2c5e7fafb9dec1a1bef3fe4 | [
"BSD-3-Clause"
] | null | null | null | #include <string>
#include <QByteArray>
#include <zlib.h>
#include "alerts/zlipWrapper/CCRC.hpp"
template <class T>
unsigned long CCRC::calc(const T& data, int offset, int endOffset)
{
unsigned long crc = crc32(0L, Z_NULL, 0);
crc = crc32(crc,
reinterpret_cast<const unsigned char *>( data.dat... | 23.75 | 79 | 0.644211 | ymuv |
5de87638ebd72dc517076c2a159d070c8504250a | 2,972 | cpp | C++ | fboss/agent/packet/test/ICMPHdrTest.cpp | vitaliy-senchyshyn/fboss | 6cb64342bfba08a668848e2b105689ff11887aa1 | [
"BSD-3-Clause"
] | 2 | 2018-02-28T06:57:08.000Z | 2018-02-28T06:57:37.000Z | fboss/agent/packet/test/ICMPHdrTest.cpp | vitaliy-senchyshyn/fboss | 6cb64342bfba08a668848e2b105689ff11887aa1 | [
"BSD-3-Clause"
] | 2 | 2018-10-06T18:29:44.000Z | 2018-10-07T16:46:04.000Z | fboss/agent/packet/test/ICMPHdrTest.cpp | vitaliy-senchyshyn/fboss | 6cb64342bfba08a668848e2b105689ff11887aa1 | [
"BSD-3-Clause"
] | 1 | 2019-10-14T05:28:17.000Z | 2019-10-14T05:28:17.000Z | /*
* Copyright (c) 2004-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#inc... | 26.535714 | 79 | 0.702557 | vitaliy-senchyshyn |
5de996fa4d288cf20fa94093dc1352dea15f8d33 | 7,167 | cpp | C++ | tests/vu/test_runner.cpp | unknownbrackets/ps2autotests | 97469ffbed8631277b94e28d01dabd702aa97ef3 | [
"0BSD"
] | 25 | 2015-04-07T23:13:49.000Z | 2021-09-27T08:03:53.000Z | tests/vu/test_runner.cpp | unknownbrackets/ps2autotests | 97469ffbed8631277b94e28d01dabd702aa97ef3 | [
"0BSD"
] | 42 | 2015-04-27T03:12:48.000Z | 2018-05-08T13:53:39.000Z | tests/vu/test_runner.cpp | unknownbrackets/ps2autotests | 97469ffbed8631277b94e28d01dabd702aa97ef3 | [
"0BSD"
] | 8 | 2015-04-26T06:29:01.000Z | 2021-05-27T09:50:03.000Z | #include <assert.h>
#include <common-ee.h>
#include <string.h>
#include <timer.h>
#include "test_runner.h"
static const bool DEBUG_TEST_RUNNER = false;
static u32 vu_reg_pos = 0x100;
// 16 integer regs, 32 float regs, 3 status regs.
static u32 vu_reg_size = 16 * (16 + 32 + 3);
static u8 *const vu0_reg_mem = vu0_mem ... | 23.89 | 130 | 0.629273 | unknownbrackets |
5de9ebb1b258d1e6ae6c5592bbc939400e6b58e2 | 9,930 | hpp | C++ | include/lvr2/attrmaps/StableVector.hpp | jtpils/lvr2 | b1010dfcc930d9ae0ff5cfa5c88d0810d65368ce | [
"BSD-3-Clause"
] | 1 | 2019-08-07T03:55:27.000Z | 2019-08-07T03:55:27.000Z | include/lvr2/attrmaps/StableVector.hpp | jtpils/lvr2 | b1010dfcc930d9ae0ff5cfa5c88d0810d65368ce | [
"BSD-3-Clause"
] | null | null | null | include/lvr2/attrmaps/StableVector.hpp | jtpils/lvr2 | b1010dfcc930d9ae0ff5cfa5c88d0810d65368ce | [
"BSD-3-Clause"
] | null | null | null | /**
* Copyright (c) 2018, University Osnabrück
* 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 li... | 33.661017 | 92 | 0.679557 | jtpils |
5decf23567abe79738db2ccd0ab8f389a42e1458 | 1,600 | hpp | C++ | algorithms/kruskal.hpp | EMACC99/graph_visualizer | 79291c2365c139d846b67698c2b983d22b670f6c | [
"MIT"
] | null | null | null | algorithms/kruskal.hpp | EMACC99/graph_visualizer | 79291c2365c139d846b67698c2b983d22b670f6c | [
"MIT"
] | 1 | 2021-03-16T20:13:58.000Z | 2021-03-17T01:04:08.000Z | algorithms/kruskal.hpp | EMACC99/graph_visualizer | 79291c2365c139d846b67698c2b983d22b670f6c | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include <algorithm>
#include "../includes/node.hpp"
#include "../includes/edge.hpp"
#include "../includes/globals.hpp"
// int raiz(const int &u, const std::vector<int> &padres){
// if (padres[u] != -1)
// return raiz(padres[u], padres);
// return u;
// }
/**
* @brief ... | 24.242424 | 116 | 0.575 | EMACC99 |
5df28db94f03945126a46fe651a3622346012c95 | 2,145 | hpp | C++ | engine/lib/math-funcs/include/noob/math/mat4.hpp | ColinGilbert/noobwerkz-engine | f5670e98ca0dada8865be9ab82d25d3acf549ebe | [
"Apache-2.0"
] | 23 | 2015-03-02T10:56:40.000Z | 2021-01-27T03:32:49.000Z | engine/lib/math-funcs/include/noob/math/mat4.hpp | ColinGilbert/noobwerkz-engine-borked | f5670e98ca0dada8865be9ab82d25d3acf549ebe | [
"Apache-2.0"
] | 73 | 2015-04-14T09:39:05.000Z | 2020-11-11T21:49:10.000Z | engine/lib/math-funcs/include/noob/math/mat4.hpp | ColinGilbert/noobwerkz-engine-borked | f5670e98ca0dada8865be9ab82d25d3acf549ebe | [
"Apache-2.0"
] | 3 | 2016-02-22T01:29:32.000Z | 2018-01-02T06:07:12.000Z | #pragma once
#include <array>
#include "vec4.hpp"
namespace noob
{
/* stored like this:
0 4 8 12
1 5 9 13
2 6 10 14
3 7 11 15 */
template <typename T>
struct mat4_type
{
mat4_type() noexcept(true) = default;
mat4_type(T a, T b, T c, T d, T e, T f, T g, T h, T i, T j, T k, T l, T mm, T ... | 18.491379 | 108 | 0.435431 | ColinGilbert |
5df2ee14779ce0efadeb1dbf521fa0015da97b3e | 867 | cpp | C++ | src/tests/ie_test_utils/functional_test_utils/src/skip_tests_config.cpp | kurylo/openvino | 4da0941cd2e8f9829875e60df73d3cd01f820b9c | [
"Apache-2.0"
] | 1,127 | 2018-10-15T14:36:58.000Z | 2020-04-20T09:29:44.000Z | src/tests/ie_test_utils/functional_test_utils/src/skip_tests_config.cpp | kurylo/openvino | 4da0941cd2e8f9829875e60df73d3cd01f820b9c | [
"Apache-2.0"
] | 439 | 2018-10-20T04:40:35.000Z | 2020-04-19T05:56:25.000Z | src/tests/ie_test_utils/functional_test_utils/src/skip_tests_config.cpp | kurylo/openvino | 4da0941cd2e8f9829875e60df73d3cd01f820b9c | [
"Apache-2.0"
] | 414 | 2018-10-17T05:53:46.000Z | 2020-04-16T17:29:53.000Z | // Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <iostream>
#include <fstream>
#include "common_test_utils/file_utils.hpp"
#include "functional_test_utils/skip_tests_config.hpp"
namespace FuncTestUtils {
namespace SkipTestsConfig {
bool disable_tests_skipping = false;
... | 26.272727 | 111 | 0.683968 | kurylo |
5df2eff03c132fbed6173c40e486cf9e62cca2cd | 30 | hpp | C++ | oxygine/src/ox/json.hpp | savegame/oxygine-framework | bf49a097a86a2b99690a4fdc97efa73f2dfb70e4 | [
"MIT"
] | 803 | 2015-01-03T13:11:43.000Z | 2022-03-15T17:38:58.000Z | oxygine/src/ox/json.hpp | savegame/oxygine-framework | bf49a097a86a2b99690a4fdc97efa73f2dfb70e4 | [
"MIT"
] | 100 | 2015-01-07T17:07:56.000Z | 2021-12-21T20:09:20.000Z | oxygine/src/ox/json.hpp | savegame/oxygine-framework | bf49a097a86a2b99690a4fdc97efa73f2dfb70e4 | [
"MIT"
] | 265 | 2015-01-03T13:11:43.000Z | 2022-03-01T04:37:15.000Z | #include "oxygine/json/json.h" | 30 | 30 | 0.766667 | savegame |
5df3bde3711d7e111f675f2b04d73527f8b74c8a | 2,012 | cpp | C++ | Prim/PrimComToken_Enum.cpp | UltimateScript/FOG | edc96d916fc299f0a822f8c534a4e7487c0e3ea2 | [
"BSD-3-Clause"
] | null | null | null | Prim/PrimComToken_Enum.cpp | UltimateScript/FOG | edc96d916fc299f0a822f8c534a4e7487c0e3ea2 | [
"BSD-3-Clause"
] | 2 | 2021-07-07T17:31:49.000Z | 2021-07-16T11:40:38.000Z | Prim/PrimComToken_Enum.cpp | OuluLinux/FOG | edc96d916fc299f0a822f8c534a4e7487c0e3ea2 | [
"BSD-3-Clause"
] | null | null | null | #include <Prim/PrimIncludeAll.h>
#ifndef NO_DATA
TYPEINFO_SINGLE(PrimComToken_Enum, PrimComToken_String);
#endif
#ifndef NO_CODE
//
// Construct an aName token for a string value in theValue as part of aParser, using
// someOptions for parsing, and aUsage as a description of the token.
//
PrimComToken_Enum::P... | 28.338028 | 126 | 0.698807 | UltimateScript |
5df405db206b2d794e9c8436841795245c65cd1a | 247 | cpp | C++ | ProfessionalC++/hellovariables/hellovariables.cpp | zzragida/CppExamples | d627b097efc04209aa4012f7b7f9d82858da3f2d | [
"Apache-2.0"
] | null | null | null | ProfessionalC++/hellovariables/hellovariables.cpp | zzragida/CppExamples | d627b097efc04209aa4012f7b7f9d82858da3f2d | [
"Apache-2.0"
] | null | null | null | ProfessionalC++/hellovariables/hellovariables.cpp | zzragida/CppExamples | d627b097efc04209aa4012f7b7f9d82858da3f2d | [
"Apache-2.0"
] | null | null | null | #include <iostream>
using namespace std;
int main()
{
int uninitializedInt;
int initializedInt = 7;
cout << uninitializedInt << " is a random value" << endl;
cout << initializedInt << " was assigned an initial value" << endl;
return 0;
}
| 16.466667 | 68 | 0.680162 | zzragida |
5df5298d3186ec5d2e696adea58960b14325d6cb | 19,504 | cpp | C++ | src/mirrage/graphic/src/device_memory.cpp | lowkey42/mirrage | 2527537989a548062d0bbca8370d063fc6b81a18 | [
"MIT"
] | 14 | 2017-10-26T08:45:54.000Z | 2021-04-06T11:44:17.000Z | src/mirrage/graphic/src/device_memory.cpp | lowkey42/mirrage | 2527537989a548062d0bbca8370d063fc6b81a18 | [
"MIT"
] | 17 | 2017-10-09T20:11:58.000Z | 2018-11-08T22:05:14.000Z | src/mirrage/graphic/src/device_memory.cpp | lowkey42/mirrage | 2527537989a548062d0bbca8370d063fc6b81a18 | [
"MIT"
] | 1 | 2018-09-26T23:10:06.000Z | 2018-09-26T23:10:06.000Z | #include <mirrage/graphic/device_memory.hpp>
#include <mirrage/utils/container_utils.hpp>
#include <mirrage/utils/ranges.hpp>
#include <gsl/gsl>
#include <bitset>
#include <cmath>
#include <mutex>
namespace mirrage::graphic {
namespace {
template <typename T>
constexpr T log2(T n)
{
return (n < 2) ? 0 :... | 31.559871 | 104 | 0.622488 | lowkey42 |
5df53d6d97c8bc4307d93f202acfe67b94973e08 | 238 | cpp | C++ | src/PL_CSC.cpp | ddsmarques/pairtree | b04e590acf769269ebc38b76ba1f19d6344fef80 | [
"BSD-3-Clause"
] | null | null | null | src/PL_CSC.cpp | ddsmarques/pairtree | b04e590acf769269ebc38b76ba1f19d6344fef80 | [
"BSD-3-Clause"
] | null | null | null | src/PL_CSC.cpp | ddsmarques/pairtree | b04e590acf769269ebc38b76ba1f19d6344fef80 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2018 Daniel dos Santos Marques <danielsmarques7@gmail.com>
// License: BSD 3 clause
#include <iostream>
#include "Trainer.h"
int main(int argc, char** argv) {
Trainer trainer;
trainer.train(argv[1]);
return 0;
}
| 18.307692 | 75 | 0.697479 | ddsmarques |
5df6477f2ff543a723c0d79fdccef83c74875181 | 6,176 | cc | C++ | cores/Nibbler/RISC-V-ILA/app/main.cc | yuzeng2333/IMDb | 84a3ae9ec4d0c9251e3dee572e9bc0240bddb660 | [
"MIT"
] | null | null | null | cores/Nibbler/RISC-V-ILA/app/main.cc | yuzeng2333/IMDb | 84a3ae9ec4d0c9251e3dee572e9bc0240bddb660 | [
"MIT"
] | null | null | null | cores/Nibbler/RISC-V-ILA/app/main.cc | yuzeng2333/IMDb | 84a3ae9ec4d0c9251e3dee572e9bc0240bddb660 | [
"MIT"
] | null | null | null | #include "riscvIla.hpp"
#include <ilang/vtarget-out/vtarget_gen.h>
using namespace ilang;
/// the function to parse commandline arguments
VerilogVerificationTargetGenerator::vtg_config_t SetConfiguration();
VerilogVerificationTargetGenerator::vtg_config_t HandleArguments(int argc, char **argv);
void verifyNibblerIns... | 32.505263 | 110 | 0.686528 | yuzeng2333 |
5df816bda08fdd326c7d6d96d7fd2311f56dc455 | 8,856 | cpp | C++ | UrabeVocalSynthA/GUIMan.cpp | DanNixon/UrabeVocalSynth | c062069a140ddb8bfd0280cd8daf5102ec54c58a | [
"Apache-2.0"
] | 1 | 2018-12-26T13:03:29.000Z | 2018-12-26T13:03:29.000Z | UrabeVocalSynthA/GUIMan.cpp | DanNixon/UrabeVocalSynth | c062069a140ddb8bfd0280cd8daf5102ec54c58a | [
"Apache-2.0"
] | null | null | null | UrabeVocalSynthA/GUIMan.cpp | DanNixon/UrabeVocalSynth | c062069a140ddb8bfd0280cd8daf5102ec54c58a | [
"Apache-2.0"
] | null | null | null | #include "GUIMan.h"
extern char *VERSION_STRING;
using namespace GUIMan;
GUIManager::GUIManager(GLCDManager *glcd_manager, JpSynthManager *jp_synth_manager, SynthManager *synth_manager)
{
this->current_window = MAIN;
this->mode = MENU;
this->glcd_man = glcd_manager;
this->jps_man = jp_synth_manager;
this->s... | 31.516014 | 112 | 0.590899 | DanNixon |
5df8c24ffd67744dd690811b123ba5f5648fd10a | 3,148 | cpp | C++ | src/Buffers/test_CPUBuffer.cpp | abcucberkeley/cudaDecon | d21ae81f47701bdd68ba155ccf2be97cf6bc3feb | [
"BSL-1.0"
] | 13 | 2020-03-11T18:41:04.000Z | 2022-03-10T09:46:47.000Z | src/Buffers/test_CPUBuffer.cpp | tlambert03/CUDA_SIMrecon | 84f6828d2db850660088ec4d625735f98ab722d5 | [
"MIT"
] | 8 | 2019-12-16T15:38:14.000Z | 2021-11-25T20:38:44.000Z | src/Buffers/test_CPUBuffer.cpp | tlambert03/CUDA_SIMrecon | 84f6828d2db850660088ec4d625735f98ab722d5 | [
"MIT"
] | 11 | 2019-02-28T22:37:16.000Z | 2021-07-12T15:05:54.000Z | #include "Buffer.h"
#include "CPUBuffer.h"
#include "GPUBuffer.h"
#include "gtest/gtest.h"
#include <cstdlib>
int compareArrays(char* arr1, char* arr2, int size);
TEST(CPUBuffer, IncludeTest) {
ASSERT_EQ(0, 0);
}
TEST(CPUBuffer, ConstructorTest) {
CPUBuffer a;
ASSERT_EQ(0, a.getSize());
ASSERT_E... | 27.137931 | 72 | 0.589263 | abcucberkeley |
5df969fae251834aab030e73baa81d57084db5d7 | 6,981 | cpp | C++ | coresim/simulator.cpp | SymbioticLab/YAPS | 1bf25abe0fe1ea7c7dec60645dda49ffcc59c7a0 | [
"BSD-3-Clause"
] | null | null | null | coresim/simulator.cpp | SymbioticLab/YAPS | 1bf25abe0fe1ea7c7dec60645dda49ffcc59c7a0 | [
"BSD-3-Clause"
] | 1 | 2021-06-18T19:12:19.000Z | 2021-06-18T19:12:19.000Z | coresim/simulator.cpp | SymbioticLab/YAPS | 1bf25abe0fe1ea7c7dec60645dda49ffcc59c7a0 | [
"BSD-3-Clause"
] | 1 | 2021-06-18T07:01:16.000Z | 2021-06-18T07:01:16.000Z | #include <iostream>
#include <algorithm>
#include <fstream>
#include <stdlib.h>
#include <deque>
#include <stdint.h>
#include <time.h>
#include <assert.h>
#include <map>
#include <string>
#include <unordered_set>
#include <vector>
#include "agg_channel.h"
#include "event.h"
#include "flow.h"
#include "node.h"
#include... | 32.319444 | 142 | 0.723249 | SymbioticLab |
5dfce1c18a3a44da16a8b3fb291b51abb45bce46 | 21,261 | cpp | C++ | source/file/brfile.cpp | Olde-Skuul/burgerlib | 80848a4dfa17c5c05095ecea14a9bd87f86dfb9d | [
"Zlib"
] | 115 | 2015-01-18T17:29:30.000Z | 2022-01-30T04:31:48.000Z | source/file/brfile.cpp | Olde-Skuul/burgerlib | 80848a4dfa17c5c05095ecea14a9bd87f86dfb9d | [
"Zlib"
] | 9 | 2015-01-22T04:53:38.000Z | 2015-01-31T13:52:40.000Z | source/file/brfile.cpp | Olde-Skuul/burgerlib | 80848a4dfa17c5c05095ecea14a9bd87f86dfb9d | [
"Zlib"
] | 9 | 2015-01-23T20:06:46.000Z | 2020-05-20T16:06:00.000Z | /***************************************
File Class
Copyright (c) 1995-2017 by Rebecca Ann Heineman <becky@burgerbecky.com>
It is released under an MIT Open Source license. Please see LICENSE for
license details. Yes, you can use it in a commercial title without paying
anything, just give me a cr... | 28.423797 | 174 | 0.648041 | Olde-Skuul |
b909222bddaf0414336790ed23872ec1ea1532c0 | 168 | cc | C++ | c_src/allocators.cc | silviucpp/ezlib | f7b74e29d26a9359062894c2e05649be2fca1868 | [
"MIT"
] | 16 | 2016-01-12T21:36:32.000Z | 2022-01-13T13:28:43.000Z | c_src/allocators.cc | silviucpp/ezlib | f7b74e29d26a9359062894c2e05649be2fca1868 | [
"MIT"
] | 2 | 2016-01-11T22:20:01.000Z | 2018-10-09T20:11:07.000Z | c_src/allocators.cc | silviucpp/ezlib | f7b74e29d26a9359062894c2e05649be2fca1868 | [
"MIT"
] | 3 | 2016-01-11T16:12:50.000Z | 2020-12-02T21:44:31.000Z | #include "allocators.h"
#include "erl_nif.h"
void* mem_allocate(size_t size)
{
return enif_alloc(size);
}
void mem_deallocate(void* ptr)
{
enif_free(ptr);
}
| 12 | 31 | 0.690476 | silviucpp |
b90b91620a969c95e23a40f6f2a7381727c4d1c6 | 6,942 | cpp | C++ | build_bwt.cpp | jltsiren/relative-fm | 68c11f172fd2a546792aad3ad81ee1e185b5ee7f | [
"MIT"
] | 16 | 2015-04-29T11:18:01.000Z | 2020-09-21T20:32:08.000Z | build_bwt.cpp | jltsiren/relative-fm | 68c11f172fd2a546792aad3ad81ee1e185b5ee7f | [
"MIT"
] | null | null | null | build_bwt.cpp | jltsiren/relative-fm | 68c11f172fd2a546792aad3ad81ee1e185b5ee7f | [
"MIT"
] | 2 | 2015-12-06T20:49:38.000Z | 2021-08-14T10:33:01.000Z | /*
Copyright (c) 2015, 2016, 2017 Genome Research Ltd.
Copyright (c) 2014 Jouni Siren and Simon Gog
Author: Jouni Siren <jouni.siren@iki.fi>
Author: Simon Gog
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), ... | 34.029412 | 126 | 0.60703 | jltsiren |
b914a12c1e3034e755dcdaa51963388fe0b62598 | 120 | cpp | C++ | src/common/BatchDeleteSql.cpp | luhouxiang/batch-database-demo | 9669a7cb831d13c845c762333e65f1538c0d4bd2 | [
"Apache-2.0"
] | 1 | 2021-06-21T07:44:09.000Z | 2021-06-21T07:44:09.000Z | src/common/BatchDeleteSql.cpp | luhouxiang/batch-database-demo | 9669a7cb831d13c845c762333e65f1538c0d4bd2 | [
"Apache-2.0"
] | null | null | null | src/common/BatchDeleteSql.cpp | luhouxiang/batch-database-demo | 9669a7cb831d13c845c762333e65f1538c0d4bd2 | [
"Apache-2.0"
] | null | null | null | #include "BatchDeleteSql.h"
BatchDeleteSql::BatchDeleteSql(void)
{
}
BatchDeleteSql::~BatchDeleteSql(void)
{
} | 13.333333 | 38 | 0.716667 | luhouxiang |
2c6a0eb0b59d5e98b4af8ec5887d38bd1b3e4526 | 939 | cpp | C++ | Material/RobertLafore_Book/Solution_Book_SourceCode/Chapter-5/10.cpp | hpaucar/OOP-C-plus-plus-repo | e1fedd376029996a53d70d452b7738d9c43173c0 | [
"MIT"
] | 4 | 2020-12-26T03:17:45.000Z | 2022-01-11T05:54:40.000Z | Material/RobertLafore_Book/Solution_Book_SourceCode/Chapter-5/10.cpp | hpaucar/OOP-C-plus-plus-repo | e1fedd376029996a53d70d452b7738d9c43173c0 | [
"MIT"
] | null | null | null | Material/RobertLafore_Book/Solution_Book_SourceCode/Chapter-5/10.cpp | hpaucar/OOP-C-plus-plus-repo | e1fedd376029996a53d70d452b7738d9c43173c0 | [
"MIT"
] | null | null | null | /*
Write a function that, when you call it, displays a message telling how many times it has
been called: “I have been called 3 times”, for instance. Write a main() program that calls
this function at least 10 times. Try implementing this function in two different ways.
First, use a global variable to store the count. ... | 23.475 | 91 | 0.651757 | hpaucar |
2c6a213bbd02ab9b17999421b6ffe44ea26929af | 6,626 | cpp | C++ | Engine/Source/Editor/DetailCustomizations/Private/CameraFocusSettingsCustomization.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Source/Editor/DetailCustomizations/Private/CameraFocusSettingsCustomization.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Source/Editor/DetailCustomizations/Private/CameraFocusSettingsCustomization.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "CameraFocusSettingsCustomization.h"
#include "Misc/Attribute.h"
#include "Templates/Casts.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "Engine/GameViewportClient.h"
#include "Widgets/SBoxPanel.h"
#include "DetailWidgetRow.h"
#include "... | 34.154639 | 210 | 0.787504 | windystrife |
2c6cc68367f41d0284cd7f981f6da2ea7a251162 | 942 | cpp | C++ | Matrix/Median in a row-wise Sortedd Matrix.cpp | vermagaurav8/GeeksforGeeks | f54d3297337981b5fc5054272cfa6788011c2c5a | [
"Apache-2.0"
] | 9 | 2020-10-01T09:29:10.000Z | 2022-02-12T04:58:41.000Z | Matrix/Median in a row-wise Sortedd Matrix.cpp | vermagaurav8/GeeksforGeeks | f54d3297337981b5fc5054272cfa6788011c2c5a | [
"Apache-2.0"
] | 6 | 2020-10-03T16:08:58.000Z | 2020-10-14T12:06:25.000Z | Matrix/Median in a row-wise Sortedd Matrix.cpp | vermagaurav8/GeeksforGeeks | f54d3297337981b5fc5054272cfa6788011c2c5a | [
"Apache-2.0"
] | 17 | 2020-10-01T09:17:27.000Z | 2021-06-18T09:36:31.000Z | class Solution{
public:
int median(vector<vector<int>> &matrix, int r, int c){
// code here
int min = INT_MAX, max = INT_MIN;
// Maximum and minimum element from the array
for(int i = 0;i<r;++i) {
if(matrix[i][0] < min) {
min = matrix[i][0];
... | 25.459459 | 98 | 0.359873 | vermagaurav8 |
2c6d492cbe59ce88947591fe7dbfe67dfb0cf0b7 | 4,038 | hpp | C++ | em_unet/src/PyGreentea/evaluation/src_cython/zi/heap/binary_heap.hpp | VCG/psc | 4826c495b89ff77b68a3c0d5c6e3af805db25386 | [
"MIT"
] | 10 | 2018-09-13T17:37:22.000Z | 2020-05-08T16:20:42.000Z | em_unet/src/PyGreentea/evaluation/src_cython/zi/heap/binary_heap.hpp | VCG/psc | 4826c495b89ff77b68a3c0d5c6e3af805db25386 | [
"MIT"
] | 1 | 2018-12-02T14:17:39.000Z | 2018-12-02T20:59:26.000Z | em_unet/src/PyGreentea/evaluation/src_cython/zi/heap/binary_heap.hpp | VCG/psc | 4826c495b89ff77b68a3c0d5c6e3af805db25386 | [
"MIT"
] | 2 | 2019-03-03T12:06:10.000Z | 2020-04-12T13:23:02.000Z | //
// Copyright (C) 2010 Aleksandar Zlateski <zlateski@mit.edu>
// ----------------------------------------------------------
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either versio... | 30.590909 | 82 | 0.668895 | VCG |
2c7155ffd3fe940dc76676ef5cc2c14c387fae9b | 140 | hxx | C++ | src/Providers/UNIXProviders/BGPAttributesForRoute/UNIX_BGPAttributesForRoute_FREEBSD.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | 1 | 2020-10-12T09:00:09.000Z | 2020-10-12T09:00:09.000Z | src/Providers/UNIXProviders/BGPAttributesForRoute/UNIX_BGPAttributesForRoute_FREEBSD.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | src/Providers/UNIXProviders/BGPAttributesForRoute/UNIX_BGPAttributesForRoute_FREEBSD.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | #ifdef PEGASUS_OS_FREEBSD
#ifndef __UNIX_BGPATTRIBUTESFORROUTE_PRIVATE_H
#define __UNIX_BGPATTRIBUTESFORROUTE_PRIVATE_H
#endif
#endif
| 11.666667 | 46 | 0.864286 | brunolauze |
2c726e26dbc634fe32ce8ee51e3229c60d158366 | 1,630 | cpp | C++ | src/lib/Micro-XRCE-DDS-Client/ucdr/test/FullBuffer.cpp | shaopengyuan/FMT-Firmware | bbdb3649ec4c1cad3d4a7fc3866091f99807fcfc | [
"Apache-2.0"
] | 72 | 2021-09-13T20:29:29.000Z | 2022-03-30T01:42:09.000Z | src/lib/Micro-XRCE-DDS-Client/ucdr/test/FullBuffer.cpp | shaopengyuan/FMT-Firmware | bbdb3649ec4c1cad3d4a7fc3866091f99807fcfc | [
"Apache-2.0"
] | 33 | 2019-01-09T11:02:15.000Z | 2022-03-31T11:47:54.000Z | src/lib/Micro-XRCE-DDS-Client/ucdr/test/FullBuffer.cpp | shaopengyuan/FMT-Firmware | bbdb3649ec4c1cad3d4a7fc3866091f99807fcfc | [
"Apache-2.0"
] | 35 | 2019-03-06T01:54:00.000Z | 2022-02-03T07:06:37.000Z | // Copyright 2017 Proyectos y Sistemas de Mantenimiento SL (eProsima).
//
// 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 re... | 24.328358 | 75 | 0.745399 | shaopengyuan |
2c730117ecdbb590132104350c5016e542399781 | 1,456 | cpp | C++ | 912-sort-an-array-mergesort.cpp | Iciclelz/leetcode | e4b698e0161033922851641885fdc6e47f9ce270 | [
"Apache-2.0"
] | null | null | null | 912-sort-an-array-mergesort.cpp | Iciclelz/leetcode | e4b698e0161033922851641885fdc6e47f9ce270 | [
"Apache-2.0"
] | null | null | null | 912-sort-an-array-mergesort.cpp | Iciclelz/leetcode | e4b698e0161033922851641885fdc6e47f9ce270 | [
"Apache-2.0"
] | null | null | null | class Solution {
public:
std::vector<int32_t> sortArray(std::vector<int32_t>& v) {
mergesort<int32_t>(v, [](int32_t a, int32_t b) -> bool { return a < b; });
return v;
}
private:
template <typename T> std::vector<T> merge(std::vector<T> &a, std::vector<T> &b, std::function<bool(T, T)> &... | 24.677966 | 117 | 0.370192 | Iciclelz |
2c737130a6b4a3b19d530105baa65e078c00faa1 | 7,675 | cc | C++ | components/viz/common/gl_nv12_converter.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | components/viz/common/gl_nv12_converter.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | components/viz/common/gl_nv12_converter.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/viz/common/gl_nv12_converter.h"
#include "base/memory/ptr_util.h"
#include "components/viz/common/gl_i420_converter.h"
#include "com... | 39.158163 | 80 | 0.679088 | zealoussnow |
2c76092f73c7aa8f3ba9540812917f283984af57 | 106 | cpp | C++ | src/add_test/library/src/echo.cpp | mariokonrad/cmake-cheatsheet | 268d68327e0d6af997684ec9e0fc96b5e7276a22 | [
"CC-BY-4.0"
] | 36 | 2019-03-28T09:05:10.000Z | 2022-01-13T14:33:17.000Z | src/add_test/library/src/echo.cpp | bernedom/cmake-cheatsheet | 280378bafe187a525b8376ba17b73781bba08861 | [
"CC-BY-4.0"
] | null | null | null | src/add_test/library/src/echo.cpp | bernedom/cmake-cheatsheet | 280378bafe187a525b8376ba17b73781bba08861 | [
"CC-BY-4.0"
] | 5 | 2019-04-05T20:55:37.000Z | 2021-11-01T08:40:42.000Z | #include <library/echo.hpp>
namespace library {
std::string echo(const std::string & s)
{
return s;
}
}
| 11.777778 | 39 | 0.679245 | mariokonrad |
2c76ac4fc6dcbeb3a656e9839bd6eaea94463abc | 3,674 | cpp | C++ | linux/SensorsLinuxInterface.cpp | STMicroelectronics/st-mems-android-linux-sensors-hal | a12f3d9806b8851d17c331bc07acafae9dcb2d3b | [
"Apache-2.0"
] | 7 | 2021-10-29T20:29:48.000Z | 2022-03-03T01:38:45.000Z | linux/SensorsLinuxInterface.cpp | STMicroelectronics/st-mems-android-linux-sensors-hal | a12f3d9806b8851d17c331bc07acafae9dcb2d3b | [
"Apache-2.0"
] | null | null | null | linux/SensorsLinuxInterface.cpp | STMicroelectronics/st-mems-android-linux-sensors-hal | a12f3d9806b8851d17c331bc07acafae9dcb2d3b | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2018 The Android Open Source Project
* Copyright (C) 2019-2020 STMicroelectronics
*
* 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/lic... | 28.703125 | 96 | 0.688351 | STMicroelectronics |
2c7a7c042aec611c7029b8ec65a0be05c512621c | 9,713 | cc | C++ | benchmarks/ycsb-cs.cc | sfu-dis/corobase | 3a213e72d5561687bbedb925b977c86a9ce36e04 | [
"MIT"
] | 166 | 2020-11-02T05:30:35.000Z | 2022-03-26T07:39:16.000Z | benchmarks/ycsb-cs.cc | sfu-dis/corobase | 3a213e72d5561687bbedb925b977c86a9ce36e04 | [
"MIT"
] | 2 | 2020-06-02T00:12:58.000Z | 2020-06-13T23:22:25.000Z | benchmarks/ycsb-cs.cc | sfu-dis/corobase | 3a213e72d5561687bbedb925b977c86a9ce36e04 | [
"MIT"
] | 19 | 2020-11-08T02:44:09.000Z | 2022-02-26T19:49:33.000Z | /*
* A YCSB implementation based off of Silo's and equivalent to FOEDUS's.
*/
#include "bench.h"
#include "ycsb.h"
#ifndef ADV_COROUTINE
extern uint g_reps_per_tx;
extern uint g_rmw_additional_reads;
extern ReadTransactionType g_read_txn_type;
extern YcsbWorkload ycsb_workload;
class ycsb_cs_worker : public ycsb_... | 36.107807 | 120 | 0.650777 | sfu-dis |
2c7e801237ea626ae741f5008f2cad677b7389ef | 6,536 | cpp | C++ | Homeworks/miscellaneous/LW15/grade_calculator.cpp | sameer-h/CSCE121 | b6a302bfc248bfaedd03ab38060e12163458c7f8 | [
"MIT"
] | 1 | 2020-11-01T21:02:03.000Z | 2020-11-01T21:02:03.000Z | Homeworks/miscellaneous/LW15/grade_calculator.cpp | sameer-h/CSCE121 | b6a302bfc248bfaedd03ab38060e12163458c7f8 | [
"MIT"
] | null | null | null | Homeworks/miscellaneous/LW15/grade_calculator.cpp | sameer-h/CSCE121 | b6a302bfc248bfaedd03ab38060e12163458c7f8 | [
"MIT"
] | null | null | null | #include <vector>
#include <string>
#include <fstream>
#include <stdexcept>
#include "grade_calculator.h"
////////////////////////////////////////////////////////////////////////////////
// TODO(student): implement these methods
double GradeCalculator::exam_average() const {
// TODO(student)
double ... | 25.333333 | 116 | 0.544829 | sameer-h |
2c7fdde362e53ae77e884f8df0b864268c483ff4 | 5,130 | cpp | C++ | plugins/api/src/data_object_modify_info.cpp | mcv21/irods | 3c793a5acbbbe25b5f20aaeeca2609417855eee6 | [
"BSD-3-Clause"
] | null | null | null | plugins/api/src/data_object_modify_info.cpp | mcv21/irods | 3c793a5acbbbe25b5f20aaeeca2609417855eee6 | [
"BSD-3-Clause"
] | null | null | null | plugins/api/src/data_object_modify_info.cpp | mcv21/irods | 3c793a5acbbbe25b5f20aaeeca2609417855eee6 | [
"BSD-3-Clause"
] | null | null | null | #include "api_plugin_number.h"
#include "rodsDef.h"
#include "rcConnect.h"
#include "rodsPackInstruct.h"
#include "rcMisc.h"
#include "client_api_whitelist.hpp"
#include "apiHandler.hpp"
#include <functional>
#ifdef RODS_SERVER
//
// Server-side Implementation
//
#include "objDesc.hpp"
#include "irods_stacktrace.h... | 32.675159 | 94 | 0.569591 | mcv21 |
2c84e904cc3b848675e7fbffbcd7bf280569228a | 6,818 | cpp | C++ | pin-3.22-98547-g7a303a835-gcc-linux/source/tools/AttachDetach/tls_app_ia32.cpp | ArthasZhang007/15418FinalProject | a71f698ea48ebbc446111734c198f16a55633669 | [
"MIT"
] | null | null | null | pin-3.22-98547-g7a303a835-gcc-linux/source/tools/AttachDetach/tls_app_ia32.cpp | ArthasZhang007/15418FinalProject | a71f698ea48ebbc446111734c198f16a55633669 | [
"MIT"
] | null | null | null | pin-3.22-98547-g7a303a835-gcc-linux/source/tools/AttachDetach/tls_app_ia32.cpp | ArthasZhang007/15418FinalProject | a71f698ea48ebbc446111734c198f16a55633669 | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2009-2021 Intel Corporation.
* SPDX-License-Identifier: MIT
*/
/*! @file
* We test two aspects:
- tls value before and after PIN_Detach()
- creation new threads while PIN is detached from application
*/
#include <stdio.h>
#include <pthread.h>
#include <stdlib.h>
#include <unistd.h>
#incl... | 29.772926 | 128 | 0.560135 | ArthasZhang007 |
2c8c834831719e425d519b2c0b9966f3d5ef31b0 | 1,035 | cpp | C++ | Problem Set Volumes/Volume 2/291 - The House Of Santa Claus.cpp | ztrixack/uva-online-judge | ef87e745390a6a1965fe06621e50c6dc48db7257 | [
"MIT"
] | null | null | null | Problem Set Volumes/Volume 2/291 - The House Of Santa Claus.cpp | ztrixack/uva-online-judge | ef87e745390a6a1965fe06621e50c6dc48db7257 | [
"MIT"
] | null | null | null | Problem Set Volumes/Volume 2/291 - The House Of Santa Claus.cpp | ztrixack/uva-online-judge | ef87e745390a6a1965fe06621e50c6dc48db7257 | [
"MIT"
] | null | null | null | //============================================================================
// Name : 291 - The House Of Santa Claus.cpp
// Author : ztrixack
// Copyright : MIT License
// Description : 278 The House Of Santa Claus in C++, Ansi-style
// Run Time : 0.008 seconds
//====================================... | 25.875 | 110 | 0.416425 | ztrixack |
2c8fb070e02e6041d8afc175ca40059d7286a195 | 18,046 | cpp | C++ | camera/hal/intel/ipu3/common/gcss/gcss_utils.cpp | strassek/chromiumos-platform2 | 12c953f41f48b8a6b0bd1c181d09bdb1de38325c | [
"BSD-3-Clause"
] | 4 | 2020-07-24T06:54:16.000Z | 2021-06-16T17:13:53.000Z | camera/hal/intel/ipu3/common/gcss/gcss_utils.cpp | strassek/chromiumos-platform2 | 12c953f41f48b8a6b0bd1c181d09bdb1de38325c | [
"BSD-3-Clause"
] | 1 | 2021-04-02T17:35:07.000Z | 2021-04-02T17:35:07.000Z | camera/hal/intel/ipu3/common/gcss/gcss_utils.cpp | strassek/chromiumos-platform2 | 12c953f41f48b8a6b0bd1c181d09bdb1de38325c | [
"BSD-3-Clause"
] | 1 | 2020-11-04T22:31:45.000Z | 2020-11-04T22:31:45.000Z | /*
* Copyright (C) 2015-2018 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | 30.076667 | 82 | 0.556245 | strassek |
2c950ea8bc485bc27cc267776101ac911fe8a0d2 | 1,630 | cc | C++ | maze/MZCharacter.cc | nandor/MAZE | fd19cff7d82dd9db44925661455dacb3e0a0b38e | [
"BSD-3-Clause"
] | 1 | 2018-03-17T14:23:54.000Z | 2018-03-17T14:23:54.000Z | maze/MZCharacter.cc | nandor/MAZE | fd19cff7d82dd9db44925661455dacb3e0a0b38e | [
"BSD-3-Clause"
] | null | null | null | maze/MZCharacter.cc | nandor/MAZE | fd19cff7d82dd9db44925661455dacb3e0a0b38e | [
"BSD-3-Clause"
] | null | null | null | // This file is part of the MAZE project
// Licensing information can be found in the LICENSE file
// (C) 2012 The MAZE project. All rights reserved.
#include "MZPlatform.h"
using namespace MAZE;
// ------------------------------------------------------------------------------------------------
Character::Character(E... | 25.873016 | 99 | 0.469325 | nandor |
2c9a4be39b6f62045c34b2d32e6883bbca91d8c0 | 453 | cc | C++ | sandbox/policy/linux/bpf_print_backend_policy_linux.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | sandbox/policy/linux/bpf_print_backend_policy_linux.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | sandbox/policy/linux/bpf_print_backend_policy_linux.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "sandbox/policy/linux/bpf_print_backend_policy_linux.h"
namespace sandbox {
namespace policy {
PrintBackendProcessPolicy::PrintBackendProcessPo... | 30.2 | 73 | 0.788079 | zealoussnow |
2c9ba5f1643b1cd82cb93145c7fca4d5cf0795fc | 2,673 | cpp | C++ | src/main.cpp | ghostdart/connect-four | 5910c7e5952b1f1dbeafb0eb0f9eb94fc6bd0f69 | [
"MIT"
] | null | null | null | src/main.cpp | ghostdart/connect-four | 5910c7e5952b1f1dbeafb0eb0f9eb94fc6bd0f69 | [
"MIT"
] | null | null | null | src/main.cpp | ghostdart/connect-four | 5910c7e5952b1f1dbeafb0eb0f9eb94fc6bd0f69 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <iomanip>
#include "Connect4State.h"
#include "humanplayer.h"
#include "autoc4player.h"
#include "l181139AIplayer.h"
using namespace std;
void BlankLines(int n)
{
for (int i = 0; i < n; i++)
cout << "\n";
}
void ShowConnect4(GameState *C)
{
Connect4State *C4 = ... | 22.090909 | 123 | 0.495698 | ghostdart |
2c9c77633a0c1777af09aa7d61a0ee6dbf81c06d | 2,058 | cpp | C++ | test/src/hcExam/hcExam01.cpp | josokw/ExamGenerator | 22a566799c4bb31275ef942ae5ae529285eb741a | [
"MIT"
] | 2 | 2019-07-15T05:01:57.000Z | 2019-09-25T20:23:04.000Z | test/src/hcExam/hcExam01.cpp | josokw/ExamGenerator | 22a566799c4bb31275ef942ae5ae529285eb741a | [
"MIT"
] | null | null | null | test/src/hcExam/hcExam01.cpp | josokw/ExamGenerator | 22a566799c4bb31275ef942ae5ae529285eb741a | [
"MIT"
] | null | null | null | #include "hcExam01.h"
#include "GenHeader.h"
#include "GenItem.h"
#include "GenOption.h"
#include "GenText.h"
#include "Log.h"
#include <vector>
void hcExam01(std::ofstream &LaTeXfile)
{
LOGD("Generating LaTeX started", 3);
const bool IS_CORRECT{true};
// std::vector<message_t> messages;
// std::... | 31.181818 | 80 | 0.6069 | josokw |
2ca4465ca23c9ca59239947c9babf8dd0212fafd | 1,486 | hpp | C++ | 3rdparty/stout/include/stout/os/socket.hpp | sagar8192/mesos | a018cf33d5f06f5a9f9099a4c74b2daea00bd0f7 | [
"Apache-2.0"
] | 4 | 2019-03-06T03:04:40.000Z | 2019-07-20T15:35:00.000Z | 3rdparty/stout/include/stout/os/socket.hpp | sagar8192/mesos | a018cf33d5f06f5a9f9099a4c74b2daea00bd0f7 | [
"Apache-2.0"
] | 6 | 2018-11-30T08:04:45.000Z | 2019-05-15T03:04:28.000Z | 3rdparty/stout/include/stout/os/socket.hpp | sagar8192/mesos | a018cf33d5f06f5a9f9099a4c74b2daea00bd0f7 | [
"Apache-2.0"
] | 4 | 2019-03-11T11:51:22.000Z | 2020-05-11T07:27:31.000Z | // Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed und... | 28.037736 | 76 | 0.728129 | sagar8192 |
2ca604241ad4a9089d3cdf3375eaef03d46f60d3 | 1,505 | cpp | C++ | cpp/test/longest_common_subsequence_test.cpp | CarnaViire/training | 5a01a022167a88a9c90bc6db4e14347ad60ee9e4 | [
"Unlicense"
] | 3 | 2017-07-08T05:18:33.000Z | 2021-06-11T13:49:37.000Z | cpp/test/longest_common_subsequence_test.cpp | kondratyev-nv/training | ed28507694bc2026867b67c26dc9c4a955b24fb4 | [
"Unlicense"
] | 44 | 2017-10-05T20:23:03.000Z | 2022-02-10T19:50:21.000Z | cpp/test/longest_common_subsequence_test.cpp | CarnaViire/training | 5a01a022167a88a9c90bc6db4e14347ad60ee9e4 | [
"Unlicense"
] | 4 | 2017-10-06T19:29:55.000Z | 2022-01-04T23:25:18.000Z | #include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "longest_common_subsequence.hpp"
TEST(longest_common_subsequence, returns_zero_for_empty_vector) {
ASSERT_THAT(longest_common_subsequence({1, 2, 3}, {}), testing::ElementsAre());
ASSERT_THAT(longest_common_subsequence({}, {1, 2, 3}), testing::Elements... | 47.03125 | 105 | 0.684385 | CarnaViire |
2ca7539b80257bbd05ffd4326b8e38518434b4d4 | 2,733 | cpp | C++ | RayTracer/src/AABox.cpp | MadEqua/Ray-Tracer | b49c9e1da8d1e4edffdc4152c27a46fd6ead871b | [
"MIT"
] | 1 | 2021-11-02T10:47:00.000Z | 2021-11-02T10:47:00.000Z | RayTracer/src/AABox.cpp | MadEqua/Ray-Tracer | b49c9e1da8d1e4edffdc4152c27a46fd6ead871b | [
"MIT"
] | null | null | null | RayTracer/src/AABox.cpp | MadEqua/Ray-Tracer | b49c9e1da8d1e4edffdc4152c27a46fd6ead871b | [
"MIT"
] | 1 | 2021-04-15T18:40:36.000Z | 2021-04-15T18:40:36.000Z | #include "AABox.h"
#include "Utils.h"
AABox::AABox(const vec3 ¢er, const vec3 &dimensions, const Material &material) :
min(vec3(center.x - dimensions.x / 2.0f, center.y - dimensions.y / 2.0f, center.z - dimensions.z / 2.0f)),
max(vec3(center.x + dimensions.x / 2.0f, center.y + dimensions.y / 2.0f, center.... | 25.783019 | 107 | 0.600439 | MadEqua |
2ca7d5a766386b8acd33397e6800e2896350a71f | 1,900 | cpp | C++ | C++/ServerProject/main.cpp | AlexanderArgyriou/TCP-Sever-Client | ad621f94afda08b3d03cb760faf148b4348ed401 | [
"MIT"
] | null | null | null | C++/ServerProject/main.cpp | AlexanderArgyriou/TCP-Sever-Client | ad621f94afda08b3d03cb760faf148b4348ed401 | [
"MIT"
] | null | null | null | C++/ServerProject/main.cpp | AlexanderArgyriou/TCP-Sever-Client | ad621f94afda08b3d03cb760faf148b4348ed401 | [
"MIT"
] | null | null | null | #include "pch.h"
#define _WIN32_WINNT 0x0501
#include "Server.h"
int main()
{
cout << "Server is Running..." << endl << endl;
for (;;)
{
Server newServer;
boost::asio::io_service NewService;
tcp::acceptor NewAcceptor(NewService, tcp::endpoint(tcp::v4(), 4523)); //listen to new Connection
tcp:... | 30.15873 | 106 | 0.625263 | AlexanderArgyriou |
2ca7f75cb63717982860d4014419e8413417a5cf | 220 | cpp | C++ | Test/Expect/test109.cpp | dMajoIT/spin2cpp | f2ee655d150c9d69042b2dfaf8cae57123b7702c | [
"MIT"
] | 39 | 2015-02-10T13:43:24.000Z | 2022-03-08T14:56:41.000Z | Test/Expect/test109.cpp | cbmeeks/spin2cpp | d1707a50ee90d944590a6e82c6227a6ff6ce1042 | [
"MIT"
] | 230 | 2015-04-12T22:04:54.000Z | 2022-03-30T05:22:11.000Z | Test/Expect/test109.cpp | cbmeeks/spin2cpp | d1707a50ee90d944590a6e82c6227a6ff6ce1042 | [
"MIT"
] | 21 | 2016-03-05T05:15:06.000Z | 2022-03-24T11:58:15.000Z | #define __SPIN2CPP__
#include <propeller.h>
#include "test109.h"
int32_t test109::Readdelta(int32_t Encid)
{
int32_t Deltapos = 0;
Deltapos = 0 + (Encid < Totdelta);
Totdelta = -(!Totdelta);
return Deltapos;
}
| 16.923077 | 41 | 0.695455 | dMajoIT |
2ca87bae7f11b13142de7d3ee4935ff338a1a172 | 10,072 | cpp | C++ | Examples/PatternedSubstrate/PatternedSubstrate.cpp | YourKarma42/ViennaLS | aae39a860e1fb6edc2d3568ab09110f7e81572b1 | [
"MIT"
] | 6 | 2019-11-18T16:05:12.000Z | 2021-06-16T16:11:41.000Z | Examples/PatternedSubstrate/PatternedSubstrate.cpp | YourKarma42/ViennaLS | aae39a860e1fb6edc2d3568ab09110f7e81572b1 | [
"MIT"
] | 26 | 2019-10-17T14:59:31.000Z | 2022-02-07T17:06:30.000Z | Examples/PatternedSubstrate/PatternedSubstrate.cpp | YourKarma42/ViennaLS | aae39a860e1fb6edc2d3568ab09110f7e81572b1 | [
"MIT"
] | 7 | 2020-03-13T07:17:07.000Z | 2022-03-29T07:58:37.000Z | #include <iostream>
#include <random>
#include <lsAdvect.hpp>
#include <lsBooleanOperation.hpp>
#include <lsConvexHull.hpp>
#include <lsDomain.hpp>
#include <lsExpand.hpp>
#include <lsMakeGeometry.hpp>
#include <lsPrune.hpp>
#include <lsSmartPointer.hpp>
#include <lsToDiskMesh.hpp>
#include <lsToMesh.hpp>
#include <ls... | 34.611684 | 80 | 0.606732 | YourKarma42 |
2ca90626c2839ad729800f30daddb71e9c9d17de | 699 | cpp | C++ | Math/PillaiFunction.cpp | igortakeo/Algorithms | 6608132e442df7b0fb295aa63f287fa65a941939 | [
"MIT"
] | null | null | null | Math/PillaiFunction.cpp | igortakeo/Algorithms | 6608132e442df7b0fb295aa63f287fa65a941939 | [
"MIT"
] | null | null | null | Math/PillaiFunction.cpp | igortakeo/Algorithms | 6608132e442df7b0fb295aa63f287fa65a941939 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define pb push_back
using namespace std;
// Pillai's Arithmetical Function search result to for(i = 1 until n) sum += gcd(i, n)
vector<int> Divisors(int n){
vector<int>v;
for(int i=1; i*i <= n; i++){
if(n%i == 0){
v.pb(i);
if(i != (n/i))v.pb(n/i);
}
}
return v;
}
doub... | 14.265306 | 87 | 0.515021 | igortakeo |
2caf4f07438e65cc804bea91704c942233c37e81 | 4,344 | cpp | C++ | Client/Client.cpp | laboox/Computer-Networks-CA3-S2015 | 1c6d6cd03be06c1978dda355bdeb2401d6d154d5 | [
"MIT"
] | null | null | null | Client/Client.cpp | laboox/Computer-Networks-CA3-S2015 | 1c6d6cd03be06c1978dda355bdeb2401d6d154d5 | [
"MIT"
] | null | null | null | Client/Client.cpp | laboox/Computer-Networks-CA3-S2015 | 1c6d6cd03be06c1978dda355bdeb2401d6d154d5 | [
"MIT"
] | null | null | null | /**
* File "Client.cpp"
* Created by Sina on Sun May 31 13:39:03 2015.
*/
#include "Client.h"
Client::Client(string name, address IP, address serverIp, int routerPort)
: SuperClient(IP, serverIp, routerPort)
{
this->name = name;
}
void Client::run(){
fd_set router_fds, read_fds;
FD_ZERO(&... | 24.542373 | 84 | 0.508748 | laboox |
2cafb68262c344939433dd3300226cc9f8519380 | 7,369 | cpp | C++ | src/GoIO_cpp/GPortRef.cpp | lionel-rigoux/GoIO_SDK | ea7311d03dac554eceb830f70e2dcd273ae47459 | [
"BSD-3-Clause"
] | 3 | 2018-11-14T07:20:39.000Z | 2021-12-20T20:32:48.000Z | src/GoIO_cpp/GPortRef.cpp | lionel-rigoux/GoIO_SDK | ea7311d03dac554eceb830f70e2dcd273ae47459 | [
"BSD-3-Clause"
] | null | null | null | src/GoIO_cpp/GPortRef.cpp | lionel-rigoux/GoIO_SDK | ea7311d03dac554eceb830f70e2dcd273ae47459 | [
"BSD-3-Clause"
] | 3 | 2020-04-28T13:10:05.000Z | 2021-12-20T13:32:12.000Z | /*********************************************************************************
Copyright (c) 2010, Vernier Software & Technology
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistri... | 33.495455 | 91 | 0.680825 | lionel-rigoux |
2cb44c32b00921be289eb1bda4abe8b1df738f99 | 12,598 | cc | C++ | third_party/blink/renderer/core/html/link_web_bundle.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-10-18T02:33:40.000Z | 2020-10-18T02:33:40.000Z | third_party/blink/renderer/core/html/link_web_bundle.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 3 | 2021-05-17T16:28:52.000Z | 2021-05-21T22:42:22.000Z | third_party/blink/renderer/core/html/link_web_bundle.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/html/link_web_bundle.h"
#include "base/unguessable_token.h"
#include "services/network/public/mojom/web_bundle_... | 36.944282 | 120 | 0.720829 | DamieFC |
2cb6c94b694687676e30311e354d1d830ba7d363 | 421 | hpp | C++ | src/pattern-aggregator.hpp | Rutvik28/dfc | 86ce00057c358f91d38826d3c36c95ad0d7b4b74 | [
"MIT"
] | null | null | null | src/pattern-aggregator.hpp | Rutvik28/dfc | 86ce00057c358f91d38826d3c36c95ad0d7b4b74 | [
"MIT"
] | 1 | 2019-09-19T21:31:36.000Z | 2019-09-23T04:43:25.000Z | src/pattern-aggregator.hpp | skindstrom/dfc | 4d7b9c29bc791c0a18a325478eafbeb459b48758 | [
"MIT"
] | null | null | null | #ifndef DFC_PATTERN_AGGREGATOR_HPP
#define DFC_PATTERN_AGGREGATOR_HPP
#include <vector>
#include "immutable-pattern.hpp"
namespace dfc {
class PatternAggregator {
private:
std::vector<RawPattern> patterns_;
public:
void add(RawPattern pat);
std::vector<ImmutablePattern> aggregate();
private:
void remove... | 17.541667 | 55 | 0.760095 | Rutvik28 |
2cb925922e5aab8253a8ee29367255f1a2b29f6b | 8,461 | cpp | C++ | CocosWidget/Slider.cpp | LingJiJian/Tui-x | e00e79109db466143ed2b399a8991be4e5fea28f | [
"MIT"
] | 67 | 2015-02-09T03:20:59.000Z | 2022-01-17T05:53:07.000Z | CocosWidget/Slider.cpp | fuhongxue/Tui-x | 9b288540a36942dd7f3518dc3e12eb2112bd93b0 | [
"MIT"
] | 3 | 2015-04-14T01:47:27.000Z | 2016-03-15T06:56:04.000Z | CocosWidget/Slider.cpp | fuhongxue/Tui-x | 9b288540a36942dd7f3518dc3e12eb2112bd93b0 | [
"MIT"
] | 34 | 2015-02-18T04:42:07.000Z | 2019-08-15T05:34:46.000Z | /****************************************************************************
Copyright (c) 2014 Lijunlin - Jason lee
Created by Lijunlin - Jason lee on 2014
jason.lee.c@foxmail.com
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated ... | 23.372928 | 131 | 0.714336 | LingJiJian |
2cbcbf06bc2d170744d660890740960491444f2d | 871 | c++ | C++ | 9.1.two.arrays.c++ | Sambitcr-7/DSA-C- | f3c80f54fa6160a99f39a934f330cdf40711de50 | [
"Apache-2.0"
] | null | null | null | 9.1.two.arrays.c++ | Sambitcr-7/DSA-C- | f3c80f54fa6160a99f39a934f330cdf40711de50 | [
"Apache-2.0"
] | null | null | null | 9.1.two.arrays.c++ | Sambitcr-7/DSA-C- | f3c80f54fa6160a99f39a934f330cdf40711de50 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
using namespace std;
int main()
{
#ifndef ONLINE_JUDGE
freopen("input.txt", "r",stdin);
freopen("output.txt","w", stdout);
#endif
int n,m;
cin>>n>>m;
int arr[n][m];
for( int i=0; i<n;i++){
for(int j=0;j<m;j++){
cin>>arr[i][j];
... | 15.836364 | 38 | 0.375431 | Sambitcr-7 |
2cbcc094d6d3489ff9636dc69edb9fcf8f692dd4 | 9,380 | cpp | C++ | test/src/generators.cpp | BeatWolf/etl | 32e8153b38e0029176ca4fe2395b7fa6babe3189 | [
"MIT"
] | 1 | 2020-02-19T13:13:10.000Z | 2020-02-19T13:13:10.000Z | test/src/generators.cpp | BeatWolf/etl | 32e8153b38e0029176ca4fe2395b7fa6babe3189 | [
"MIT"
] | null | null | null | test/src/generators.cpp | BeatWolf/etl | 32e8153b38e0029176ca4fe2395b7fa6babe3189 | [
"MIT"
] | null | null | null | //=======================================================================
// Copyright (c) 2014-2018 Baptiste Wicht
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//==================================================================... | 25.911602 | 95 | 0.6129 | BeatWolf |
2cc029785f36a64242e7cb5f91e128444d80da67 | 1,469 | cpp | C++ | core/projects/redmax/Actuator/ActuatorMotor.cpp | eanswer/DiffHand | d7b9c068b7fa364935f3dc9d964d63e1e3a774c8 | [
"MIT"
] | 36 | 2021-07-13T19:28:50.000Z | 2022-01-09T14:52:15.000Z | core/projects/redmax/Actuator/ActuatorMotor.cpp | eanswer/DiffHand | d7b9c068b7fa364935f3dc9d964d63e1e3a774c8 | [
"MIT"
] | null | null | null | core/projects/redmax/Actuator/ActuatorMotor.cpp | eanswer/DiffHand | d7b9c068b7fa364935f3dc9d964d63e1e3a774c8 | [
"MIT"
] | 6 | 2021-07-15T02:06:29.000Z | 2021-11-23T03:06:14.000Z | #include "Actuator/ActuatorMotor.h"
#include "Joint/Joint.h"
namespace redmax {
ActuatorMotor::ActuatorMotor(Joint* joint, VectorX ctrl_min, VectorX ctrl_max, std::string name)
: Actuator(joint->_ndof, ctrl_min, ctrl_max, name) {
_joint = joint;
}
ActuatorMotor::ActuatorMotor(Joint* joint, dtype ctrl_mi... | 38.657895 | 142 | 0.650783 | eanswer |
2cc1a61317e22d15fc9f4f103cf81cd7de2522bf | 1,063 | cpp | C++ | src/render/OGL2_0/CIndexBufferOGL2_0.cpp | opengamejam/OpenJam | 565dd19fa7f1a727966b4274b810424e5395600b | [
"MIT"
] | 4 | 2015-08-13T08:25:36.000Z | 2017-04-07T21:33:10.000Z | src/render/OGL2_0/CIndexBufferOGL2_0.cpp | opengamejam/OpenJam | 565dd19fa7f1a727966b4274b810424e5395600b | [
"MIT"
] | null | null | null | src/render/OGL2_0/CIndexBufferOGL2_0.cpp | opengamejam/OpenJam | 565dd19fa7f1a727966b4274b810424e5395600b | [
"MIT"
] | null | null | null | //
// CIndexBufferOGL2_0.h
// OpenJam
//
// Created by Yevgeniy Logachev
// Copyright (c) 2014 yev. All rights reserved.
//
#if defined(RENDER_OGL2_0)
#include "CIndexBufferOGL2_0.h"
using namespace jam;
// *****************************************************************************
// Constants
// ************... | 27.25641 | 80 | 0.281279 | opengamejam |
2cc2880daa8fb8d10a2c84b8b5d42d91dba386af | 9,740 | cpp | C++ | test/test_unscented_transform.cpp | MartinEekGerhardsen/bayes-filter-cpp | fb734811a2eed1339616e95f70c42b988ef7719f | [
"MIT"
] | 8 | 2018-06-27T13:10:45.000Z | 2022-01-25T02:57:54.000Z | test/test_unscented_transform.cpp | MartinEekGerhardsen/bayes-filter-cpp | fb734811a2eed1339616e95f70c42b988ef7719f | [
"MIT"
] | null | null | null | test/test_unscented_transform.cpp | MartinEekGerhardsen/bayes-filter-cpp | fb734811a2eed1339616e95f70c42b988ef7719f | [
"MIT"
] | 3 | 2020-08-20T03:00:13.000Z | 2022-01-04T10:11:16.000Z | /*
* test_unscented_transform.cpp
*
* Created on: 12 Jun 2018
* Author: Fabian Meyer
*/
#include "bayes_filter/unscented_transform.h"
#include "eigen_assert.h"
#include <catch.hpp>
using namespace bf;
using namespace std::placeholders;
static Eigen::VectorXd linearTransform(
const Eigen::VectorXd &sta... | 30.342679 | 80 | 0.489322 | MartinEekGerhardsen |