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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a1f739442df74203f5fddd5b9c8ec7027eb4a6f3 | 1,013 | cpp | C++ | project/Test/Singleton.cpp | harayuu9/CppLinq | 483c177bf1f89e3959079d0f6baec839eb7e1829 | [
"MIT"
] | 1 | 2021-05-13T11:33:35.000Z | 2021-05-13T11:33:35.000Z | project/Test/Singleton.cpp | harayuu9/LinqForCpp | 483c177bf1f89e3959079d0f6baec839eb7e1829 | [
"MIT"
] | null | null | null | project/Test/Singleton.cpp | harayuu9/LinqForCpp | 483c177bf1f89e3959079d0f6baec839eb7e1829 | [
"MIT"
] | null | null | null | #include "Test.h"
TEST( Singleton, Normal )
{
std::vector<int> range;
range.push_back( 10 );
const auto result = linq::Singleton( 10 ) << linq::ToVector();
ASSERT_EQ( range, result );
}
#if ENABLE_PERF
static void NativeSingleton( benchmark::State& state )
{
while ( state.KeepRunning() )
{
... | 20.673469 | 77 | 0.612043 | harayuu9 |
a1f76527deead17589c5773d179e40c6e0e8c5da | 1,323 | cpp | C++ | solved/r-t/traffic/lightoj/gen.cpp | abuasifkhan/pc-code | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | [
"Unlicense"
] | 13 | 2015-09-30T19:18:04.000Z | 2021-06-26T21:11:30.000Z | solved/r-t/traffic/lightoj/gen.cpp | sbmaruf/pc-code | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | [
"Unlicense"
] | null | null | null | solved/r-t/traffic/lightoj/gen.cpp | sbmaruf/pc-code | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | [
"Unlicense"
] | 13 | 2015-01-04T09:49:54.000Z | 2021-06-03T13:18:44.000Z | /*
Author :
Problem Name :
Algorithm :
Complexity :
*/
#include <cstdio>
#include <cstdlib>
#include <cctype>
#include <string>
#include <cmath>
#include <iostream>
#include <stack>
#include <queue>
#include <algorithm>
#include <list>
#include <map>
#include <set>
#include <vector>
#include <cassert>
... | 17.407895 | 77 | 0.473923 | abuasifkhan |
a1f871a355f692ab43ea565f95628c9f90b887f6 | 5,727 | hpp | C++ | lib/graph.hpp | baioc/pygraphs | 8c3edcdd58e3b52ca93499ceb6237ac5f4eb7c64 | [
"Apache-2.0"
] | null | null | null | lib/graph.hpp | baioc/pygraphs | 8c3edcdd58e3b52ca93499ceb6237ac5f4eb7c64 | [
"Apache-2.0"
] | null | null | null | lib/graph.hpp | baioc/pygraphs | 8c3edcdd58e3b52ca93499ceb6237ac5f4eb7c64 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2019 Gabriel B. Sant'Anna <baiocchi.gabriel@gmail.com>
* @License Apache <https://gitlab.com/baioc/pygraphs>
*/
#ifndef STRUCTURES_GRAPH_HPP
#define STRUCTURES_GRAPH_HPP
#include <unordered_map>
#include <utility> // move, pair
#include <limits> // infinity
#include <cassert>
namespace structu... | 24.164557 | 78 | 0.705605 | baioc |
a1fa2e284103b93228d5a40a7950a4346624a945 | 1,426 | cc | C++ | game/src/gui/uifw/tab_view.cc | chunseoklee/mengde | 7261e45dab9e02d4bf18b4542767f4b50a5616a0 | [
"MIT"
] | 1 | 2018-03-02T03:36:59.000Z | 2018-03-02T03:36:59.000Z | game/src/gui/uifw/tab_view.cc | chunseoklee/mengde | 7261e45dab9e02d4bf18b4542767f4b50a5616a0 | [
"MIT"
] | 1 | 2018-04-17T01:43:02.000Z | 2018-04-17T01:43:02.000Z | game/src/gui/uifw/tab_view.cc | chunseoklee/mengde | 7261e45dab9e02d4bf18b4542767f4b50a5616a0 | [
"MIT"
] | null | null | null | #include "tab_view.h"
#include "button_view.h"
#include "layout_helper.h"
#include "util/common.h"
namespace mengde {
namespace gui {
namespace uifw {
TabView::TabView(const Rect* frame) : CompositeView(frame), view_index_(0) {
bg_color(COLOR("darkgray"));
padding(LayoutHelper::kDefaultSpace);
}
void TabView::S... | 24.169492 | 118 | 0.690743 | chunseoklee |
a1faa0ff40e8d51800ec55de4fadc9d4912773ac | 1,406 | cpp | C++ | src/demo/mainmenu.cpp | amirgeva/ogui | 860936ce6d578d6f4917be42a932bbefb4ee8477 | [
"BSD-2-Clause"
] | 4 | 2015-09-03T18:33:51.000Z | 2019-03-15T12:35:29.000Z | src/demo/mainmenu.cpp | amirgeva/ogui | 860936ce6d578d6f4917be42a932bbefb4ee8477 | [
"BSD-2-Clause"
] | null | null | null | src/demo/mainmenu.cpp | amirgeva/ogui | 860936ce6d578d6f4917be42a932bbefb4ee8477 | [
"BSD-2-Clause"
] | null | null | null | #include <ogui/ogui.h>
using namespace OGUI;
void load_table_layout();
void load_buttons_layout();
void load_imagemap_layout();
/// This function shows dynamic building of widgets in code
void load_demo_layout()
{
widget_ptr desktop=OGUIManager::instance()->get_desktop();
Point desk_size=desktop->get_rect().get_... | 28.12 | 82 | 0.730441 | amirgeva |
a1fc71780fe9fb4ce16939bdcb4c5bcd263e7fb8 | 627 | hpp | C++ | src/systems/visible.hpp | hexoctal/zenith | eeef065ed62f35723da87c8e73a6716e50d34060 | [
"MIT"
] | 2 | 2021-03-18T16:25:04.000Z | 2021-11-13T00:29:27.000Z | src/systems/visible.hpp | hexoctal/zenith | eeef065ed62f35723da87c8e73a6716e50d34060 | [
"MIT"
] | null | null | null | src/systems/visible.hpp | hexoctal/zenith | eeef065ed62f35723da87c8e73a6716e50d34060 | [
"MIT"
] | 1 | 2021-11-13T00:29:30.000Z | 2021-11-13T00:29:30.000Z | /**
* @file
* @author __AUTHOR_NAME__ <mail@host.com>
* @copyright 2021 __COMPANY_LTD__
* @license <a href="https://opensource.org/licenses/MIT">MIT License</a>
*/
#ifndef ZEN_SYSTEMS_VISIBLE_HPP
#define ZEN_SYSTEMS_VISIBLE_HPP
#include "../ecs/entity.hpp"
namespace Zen {
/**
* Returns the visibility of thi... | 17.416667 | 74 | 0.685805 | hexoctal |
a1fcffea7eddd28266fed51e457a857ad5ad381c | 266 | cpp | C++ | Algorithm/0191 (Easy)Number of 01 Bits/Bit.cpp | ZexinLi0w0/LeetCode | cf3988620ccdcc3d54b9beafd04c517c96f01bb9 | [
"MIT"
] | 1 | 2020-12-03T10:10:15.000Z | 2020-12-03T10:10:15.000Z | Algorithm/0191 (Easy)Number of 01 Bits/Bit.cpp | ZexinLi0w0/LeetCode | cf3988620ccdcc3d54b9beafd04c517c96f01bb9 | [
"MIT"
] | null | null | null | Algorithm/0191 (Easy)Number of 01 Bits/Bit.cpp | ZexinLi0w0/LeetCode | cf3988620ccdcc3d54b9beafd04c517c96f01bb9 | [
"MIT"
] | null | null | null | class Solution {
public:
int hammingWeight(uint32_t n) {
int bit = 32;
int count = 0;
while(bit)
{
if(n % 2 == 1)
count++;
n /= 2;
bit--;
}
return count;
}
}; | 17.733333 | 35 | 0.357143 | ZexinLi0w0 |
b80024a35deccea674b456ac25c97bdc5eb0d30c | 1,112 | hpp | C++ | src/string_editor.hpp | michiya-lab/utility | 2fe9f848efd1506bbfeebc40a35e7ab3c3977ea5 | [
"MIT"
] | 2 | 2020-10-14T15:09:43.000Z | 2020-10-14T15:09:45.000Z | src/string_editor.hpp | michiya-lab/utility | 2fe9f848efd1506bbfeebc40a35e7ab3c3977ea5 | [
"MIT"
] | null | null | null | src/string_editor.hpp | michiya-lab/utility | 2fe9f848efd1506bbfeebc40a35e7ab3c3977ea5 | [
"MIT"
] | null | null | null | #ifndef STRING_EDITOR_HPP
#define STRING_EDITOR_HPP
#include <string>
#include <sstream>
#include <vector>
#include <iostream>
namespace michiya
{
namespace utility
{
class string_editor
{
public:
string_editor() { ; }
virtual ~string_editor() { ; }
... | 32.705882 | 85 | 0.600719 | michiya-lab |
b8002bc5102c11cee2bfea18b680f05f8bcd81af | 21,203 | cc | C++ | src/graphics/lib/compute/spinel2/platforms/vk/tests/spinel_vk_bench/surface/surface_fuchsia_fb.cc | fabio-d/fuchsia-stardock | e57f5d1cf015fe2294fc2a5aea704842294318d2 | [
"BSD-2-Clause"
] | 5 | 2022-01-10T20:22:17.000Z | 2022-01-21T20:14:17.000Z | src/graphics/lib/compute/spinel2/platforms/vk/tests/spinel_vk_bench/surface/surface_fuchsia_fb.cc | fabio-d/fuchsia-stardock | e57f5d1cf015fe2294fc2a5aea704842294318d2 | [
"BSD-2-Clause"
] | null | null | null | src/graphics/lib/compute/spinel2/platforms/vk/tests/spinel_vk_bench/surface/surface_fuchsia_fb.cc | fabio-d/fuchsia-stardock | e57f5d1cf015fe2294fc2a5aea704842294318d2 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "surface/surface_fuchsia_fb.h"
#include <fbl/unique_fd.h>
#include <fcntl.h>
#include <fidl/fuchsia.input.report/cpp/wire.h>
#include <lib/async-... | 24.012458 | 100 | 0.572419 | fabio-d |
b8024110cb323ae025923f7e6552ac8387f5a888 | 13,216 | cpp | C++ | src/broadphase/interval_tree.cpp | tgn3000/fcl | dd0dce5023c88c5f98b39234ba8296b15f818e41 | [
"BSD-3-Clause"
] | 2 | 2020-08-13T02:38:13.000Z | 2021-08-13T08:03:17.000Z | src/broadphase/interval_tree.cpp | tgn3000/fcl | dd0dce5023c88c5f98b39234ba8296b15f818e41 | [
"BSD-3-Clause"
] | 1 | 2019-06-03T11:44:53.000Z | 2019-06-03T11:44:53.000Z | src/broadphase/interval_tree.cpp | tgn3000/fcl | dd0dce5023c88c5f98b39234ba8296b15f818e41 | [
"BSD-3-Clause"
] | 4 | 2019-05-31T09:22:58.000Z | 2019-12-30T03:19:24.000Z | /*
* Software License Agreement (BSD License)
*
* Copyright (c) 2011-2014, Willow Garage, Inc.
* Copyright (c) 2014-2015, Open Source Robotics Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following c... | 23.267606 | 137 | 0.595869 | tgn3000 |
b802fae902163ed03574511bd14795b4f917ca21 | 6,911 | hpp | C++ | include/xsimd/types/xsimd_traits.hpp | melton1968/xsimd | f212f3c3801924bf218bc39705230a747467edcb | [
"BSD-3-Clause"
] | null | null | null | include/xsimd/types/xsimd_traits.hpp | melton1968/xsimd | f212f3c3801924bf218bc39705230a747467edcb | [
"BSD-3-Clause"
] | null | null | null | include/xsimd/types/xsimd_traits.hpp | melton1968/xsimd | f212f3c3801924bf218bc39705230a747467edcb | [
"BSD-3-Clause"
] | null | null | null | /***************************************************************************
* Copyright (c) Johan Mabille, Sylvain Corlay, Wolf Vollprecht and *
* Martin Renou *
* Copyright (c) QuantStack *
* Copyright ... | 29.788793 | 97 | 0.518883 | melton1968 |
b805c67e293fd7e5c23d42879e58b57f59b070fb | 1,081 | cpp | C++ | cpp/merge-sort.cpp | honux77/practice | f92481740190b20ef352135c392c8a9bea58dcc7 | [
"MIT"
] | 152 | 2015-01-12T07:40:53.000Z | 2022-03-20T15:51:35.000Z | cpp/merge-sort.cpp | Brielle-Choi/practice | f92481740190b20ef352135c392c8a9bea58dcc7 | [
"MIT"
] | 11 | 2015-01-12T07:45:54.000Z | 2021-09-02T02:46:52.000Z | cpp/merge-sort.cpp | Brielle-Choi/practice | f92481740190b20ef352135c392c8a9bea58dcc7 | [
"MIT"
] | 32 | 2015-01-12T09:10:04.000Z | 2022-03-02T09:18:17.000Z | #include <iostream>
#include <vector>
using namespace std;
static void myMerge(vector<int> &arr, vector<int> &temp,
int left, int middle, int right) {
for (int i = left; i <= right; i++) {
temp[i] = arr[i];
}
int l = left;
int r = middle + 1;
int c = left;
while(l <= middle && r <= right) {
if(temp[l] ... | 15.897059 | 70 | 0.506938 | honux77 |
b805f3bb22f17f8851fbf8f679bf650b267cda07 | 6,196 | cc | C++ | src/ui/lib/escher/test/vk/image_layout_updater_unittest.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 5 | 2022-01-10T20:22:17.000Z | 2022-01-21T20:14:17.000Z | src/ui/lib/escher/test/vk/image_layout_updater_unittest.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 1 | 2022-03-01T01:12:04.000Z | 2022-03-01T01:17:26.000Z | src/ui/lib/escher/test/vk/image_layout_updater_unittest.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/ui/lib/escher/vk/image_layout_updater.h"
#include <gtest/gtest.h>
#include "src/ui/lib/escher/escher.h"
#include "src/ui/lib/escher/rendere... | 43.027778 | 99 | 0.742253 | allansrc |
b806b2445f1ba6bfab8c478c256dc2ddbbd1208b | 1,188 | cpp | C++ | cpp/atomsciflow/src/atomsciflow/parser/tools.cpp | DeqiTang/pymatflow | bd8776feb40ecef0e6704ee898d9f42ded3b0186 | [
"MIT"
] | 6 | 2020-03-06T16:13:08.000Z | 2022-03-09T07:53:34.000Z | cpp/atomsciflow/src/atomsciflow/parser/tools.cpp | DeqiTang/pymatflow | bd8776feb40ecef0e6704ee898d9f42ded3b0186 | [
"MIT"
] | 1 | 2021-10-02T02:23:08.000Z | 2021-11-08T13:29:37.000Z | cpp/atomsciflow/src/atomsciflow/parser/tools.cpp | DeqiTang/pymatflow | bd8776feb40ecef0e6704ee898d9f42ded3b0186 | [
"MIT"
] | 1 | 2021-07-10T16:28:14.000Z | 2021-07-10T16:28:14.000Z | /************************************************************************
> File Name: src/parser/tools.cpp
> Author: deqi
> Mail: deqi_tang@163.com
> Created Time: Tue 23 Feb 2021 09:38:15 PM CST
************************************************************************/
#include "atomsciflow/parser/to... | 32.108108 | 91 | 0.559764 | DeqiTang |
b806e38458b49e708fe32eeadc932062f1fdbb7c | 11,847 | hpp | C++ | src/PDE/CGPDE.hpp | franjgonzalez/Quinoa | 411eb8815e92618c563881b784e287e2dd916f89 | [
"RSA-MD"
] | null | null | null | src/PDE/CGPDE.hpp | franjgonzalez/Quinoa | 411eb8815e92618c563881b784e287e2dd916f89 | [
"RSA-MD"
] | null | null | null | src/PDE/CGPDE.hpp | franjgonzalez/Quinoa | 411eb8815e92618c563881b784e287e2dd916f89 | [
"RSA-MD"
] | null | null | null | // *****************************************************************************
/*!
\file src/PDE/CGPDE.hpp
\copyright 2012-2015 J. Bakosi,
2016-2018 Los Alamos National Security, LLC.,
2019 Triad National Security, LLC.
All rights reserved. See the LICENSE file for deta... | 46.097276 | 80 | 0.576517 | franjgonzalez |
b80a990a7853793645b86091a3995567cec525f0 | 26,622 | cc | C++ | src/csvinputfileconn.cc | dgtlmoon/deepdetect | 0b2f20be8211a95b1fea3a600f0d5ba17b8d339f | [
"Apache-2.0"
] | 914 | 2018-05-18T00:44:03.000Z | 2022-03-27T14:16:09.000Z | src/csvinputfileconn.cc | dgtlmoon/deepdetect | 0b2f20be8211a95b1fea3a600f0d5ba17b8d339f | [
"Apache-2.0"
] | 401 | 2018-05-16T21:59:43.000Z | 2022-03-30T07:52:15.000Z | src/csvinputfileconn.cc | dgtlmoon/deepdetect | 0b2f20be8211a95b1fea3a600f0d5ba17b8d339f | [
"Apache-2.0"
] | 221 | 2018-05-18T07:07:39.000Z | 2022-03-11T16:22:51.000Z | /**
* DeepDetect
* Copyright (c) 2015 Emmanuel Benazera
* Author: Emmanuel Benazera <beniz@droidnik.fr>
*
* This file is part of deepdetect.
*
* deepdetect 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 F... | 33.656131 | 93 | 0.483472 | dgtlmoon |
b80c332c692f492a9189ddf9c1077069d4e5a5c4 | 452 | cpp | C++ | 18_Overloading/2_2_Predef/Deleted.cpp | Gridelen/cpp-prog-lang-ex | 70c40967f0d0ec07eaf2dc0bc6aac052a35f0631 | [
"MIT"
] | 2 | 2020-07-04T17:56:50.000Z | 2021-08-19T18:28:15.000Z | 18_Overloading/2_2_Predef/Deleted.cpp | Gridelen/cpp-prog-lang-ex | 70c40967f0d0ec07eaf2dc0bc6aac052a35f0631 | [
"MIT"
] | null | null | null | 18_Overloading/2_2_Predef/Deleted.cpp | Gridelen/cpp-prog-lang-ex | 70c40967f0d0ec07eaf2dc0bc6aac052a35f0631 | [
"MIT"
] | 1 | 2019-07-27T08:11:25.000Z | 2019-07-27T08:11:25.000Z | class X
{
public:
void operator=(const X&) = delete;
void operator&() = delete;
void operator,(const X&) = delete;
};
void f(X a, X b)
{
a = b; // Error C2280 'void X::operator =(const X &)': attempting to reference a deleted function
&a; // Error C2280 'void X::operator &(void)': attempting to reference a d... | 25.111111 | 99 | 0.652655 | Gridelen |
b80e260885d7498ac47d178cacb406b8e805a070 | 21,668 | cpp | C++ | CreaturePluginOld/CreatureCore.cpp | kestrelm/Creature_UE4 | 62740b56722948cdacbd5977b00d81537ab051f1 | [
"Apache-2.0"
] | 208 | 2015-06-15T05:28:16.000Z | 2022-03-28T06:32:26.000Z | CreaturePluginOld/CreatureCore.cpp | kestrelm/Creature_UE4 | 62740b56722948cdacbd5977b00d81537ab051f1 | [
"Apache-2.0"
] | 4 | 2015-12-07T22:19:13.000Z | 2020-01-13T09:15:24.000Z | CreaturePluginOld/CreatureCore.cpp | kestrelm/Creature_UE4 | 62740b56722948cdacbd5977b00d81537ab051f1 | [
"Apache-2.0"
] | 70 | 2015-06-21T14:06:53.000Z | 2022-02-19T04:19:09.000Z | #include "CustomProceduralMesh.h"
#include "CreatureCore.h"
static std::map<std::string, std::shared_ptr<CreatureModule::CreatureAnimation> > global_animations;
static std::map<std::string, std::shared_ptr<CreatureModule::CreatureLoadDataPacket> > global_load_data_packets;
static std::string GetAnimationToken(const s... | 25.136891 | 173 | 0.738601 | kestrelm |
b80f9b5b400ae159851c7d2d51a100c861361d37 | 1,021 | cpp | C++ | test/std/re/re.traits/length.pass.cpp | AOSiP/platform_external_libcxx | eb2115113f10274c0d25523ba44c3c7373ea3209 | [
"MIT"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | test/std/re/re.traits/length.pass.cpp | AOSiP/platform_external_libcxx | eb2115113f10274c0d25523ba44c3c7373ea3209 | [
"MIT"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | test/std/re/re.traits/length.pass.cpp | AOSiP/platform_external_libcxx | eb2115113f10274c0d25523ba44c3c7373ea3209 | [
"MIT"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // -*- C++ -*-
//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===-------------------------... | 30.939394 | 80 | 0.531832 | AOSiP |
b8131b3a5f8c8cd6e485deaeb9a8db4fcd8918c7 | 7,838 | cpp | C++ | libraries/protocol/credit_offer.cpp | blockops-de/bitshares-core | ac1cfc058633de8cfd0355fad207e5fa6e9d65f3 | [
"MIT"
] | 147 | 2015-10-13T02:46:23.000Z | 2017-01-12T14:42:32.000Z | libraries/protocol/credit_offer.cpp | blockops-de/bitshares-core | ac1cfc058633de8cfd0355fad207e5fa6e9d65f3 | [
"MIT"
] | 35 | 2015-11-02T15:50:00.000Z | 2017-01-17T22:11:01.000Z | libraries/protocol/credit_offer.cpp | blockchainprojects/bitshares-core | ac1cfc058633de8cfd0355fad207e5fa6e9d65f3 | [
"MIT"
] | 67 | 2015-10-14T21:26:18.000Z | 2017-01-16T14:20:45.000Z | /*
* Copyright (c) 2021 Abit More, and contributors.
*
* The MIT License
*
* 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
... | 45.045977 | 115 | 0.737688 | blockops-de |
b813cf2bbb389d41c4efcb3a2380a50f79d8fb8c | 666 | cc | C++ | DQM/SiPixelMonitorClient/src/SiPixelLayoutParser.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | DQM/SiPixelMonitorClient/src/SiPixelLayoutParser.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | DQM/SiPixelMonitorClient/src/SiPixelLayoutParser.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | #include "DQM/SiPixelMonitorClient/interface/SiPixelLayoutParser.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <iostream>
#include <cassert>
using namespace std;
//
// -- Constructor
//
SiPixelLayoutParser::SiPixelLayoutParser() {
edm::LogInfo("SiPixelLayoutParser") << " Creating SiPixelLayo... | 26.64 | 79 | 0.692192 | ckamtsikis |
b816927d5346d18684ff72fc71e2c3f6553c1aee | 6,503 | cc | C++ | ns-allinone-2.35/ns-2.35/common/misc.cc | nitishk017/ns2project | f037b796ff10300ffe0422580be5855c37d0b140 | [
"MIT"
] | 1 | 2018-03-05T15:23:27.000Z | 2018-03-05T15:23:27.000Z | ns-allinone-2.35/ns-2.35/common/misc.cc | nitishk017/ns2project | f037b796ff10300ffe0422580be5855c37d0b140 | [
"MIT"
] | 1 | 2019-01-20T17:35:23.000Z | 2019-01-22T21:41:38.000Z | ns-allinone-2.35/ns-2.35/common/misc.cc | nitishk017/ns2project | f037b796ff10300ffe0422580be5855c37d0b140 | [
"MIT"
] | 1 | 2021-09-29T16:06:57.000Z | 2021-09-29T16:06:57.000Z | /* -*- Mode:C++; c-basic-offset:8; tab-width:8; indent-tabs-mode:t -*- */
/*
* Copyright (c) 1994 Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
... | 26.871901 | 108 | 0.67984 | nitishk017 |
b8192942e761e3c8f943d6f78bac4cb419b589e1 | 1,314 | cpp | C++ | _programs/cpp/src/surfrecon/main.cpp | tatsy/cpp-python-beginners | 66ee72571bda1f623f2032122fb9657d3776bce3 | [
"MIT"
] | 1 | 2020-07-23T12:35:56.000Z | 2020-07-23T12:35:56.000Z | _programs/cpp/src/surfrecon/main.cpp | tatsy/cpp-python-beginners | 66ee72571bda1f623f2032122fb9657d3776bce3 | [
"MIT"
] | null | null | null | _programs/cpp/src/surfrecon/main.cpp | tatsy/cpp-python-beginners | 66ee72571bda1f623f2032122fb9657d3776bce3 | [
"MIT"
] | 2 | 2020-07-10T10:20:53.000Z | 2021-05-20T09:04:47.000Z | #include <cstdlib>
#include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
#include <string>
#include "common/path.h"
#include "common/timer.h"
#include "common/vec3.h"
#include "common/io.h"
#include "surface_recon.h"
int main(int argc, char **argv) {
if (argc <= 1) {
fprintf(stderr,... | 28.565217 | 100 | 0.640791 | tatsy |
b81a3917d25741187f06ef718c134601ca3f5430 | 415 | hpp | C++ | src/sfmlib/solver.hpp | stianfauskanger/simplerfastmurty | e4571edd5e83388220ebe002a15488cb7f52181d | [
"MIT"
] | null | null | null | src/sfmlib/solver.hpp | stianfauskanger/simplerfastmurty | e4571edd5e83388220ebe002a15488cb7f52181d | [
"MIT"
] | null | null | null | src/sfmlib/solver.hpp | stianfauskanger/simplerfastmurty | e4571edd5e83388220ebe002a15488cb7f52181d | [
"MIT"
] | null | null | null | #ifndef SFMLIB_SOLVER_HPP
#define SFMLIB_SOLVER_HPP
#include <iostream>
#include "../fastmurty/da.hpp"
#include "result.hpp"
#include "problem.hpp"
namespace sfmlib {
class solver {
public:
static sfmlib::result solve(sfmlib::problem problem);
[[nodiscard]] std::string to_string() const;
... | 19.761905 | 80 | 0.674699 | stianfauskanger |
b81afaa6246428fdc663c8d4759dc42d47c5b381 | 4,335 | cpp | C++ | src/GameClient/Windows/Controls/Layouts/Layouts.cpp | vitek-karas/WarPlusPlus | 3abb26ff30dc0e93de906ab6141b89c2fa301ae4 | [
"MIT"
] | 4 | 2019-06-17T13:44:49.000Z | 2021-01-19T10:39:48.000Z | src/GameClient/Windows/Controls/Layouts/Layouts.cpp | vitek-karas/WarPlusPlus | 3abb26ff30dc0e93de906ab6141b89c2fa301ae4 | [
"MIT"
] | null | null | null | src/GameClient/Windows/Controls/Layouts/Layouts.cpp | vitek-karas/WarPlusPlus | 3abb26ff30dc0e93de906ab6141b89c2fa301ae4 | [
"MIT"
] | 4 | 2019-06-17T16:03:20.000Z | 2020-02-15T09:14:30.000Z | // Layouts.cpp: implementation of the CLayouts class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Layouts.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////... | 22.005076 | 90 | 0.72549 | vitek-karas |
b81c7d9f49adc550308a5e14d2c755e054f5d936 | 610 | cpp | C++ | Algorithms/0482.License_Key_Formatting.cpp | metehkaya/LeetCode | 52f4a1497758c6f996d515ced151e8783ae4d4d2 | [
"MIT"
] | 2 | 2020-07-20T06:40:22.000Z | 2021-11-20T01:23:26.000Z | Problems/LeetCode/Problems/0482.License_Key_Formatting.cpp | metehkaya/Algo-Archive | 03b5fdcf06f84a03125c57762c36a4e03ca6e756 | [
"MIT"
] | null | null | null | Problems/LeetCode/Problems/0482.License_Key_Formatting.cpp | metehkaya/Algo-Archive | 03b5fdcf06f84a03125c57762c36a4e03ca6e756 | [
"MIT"
] | null | null | null | class Solution {
public:
string licenseKeyFormatting(string str, int k) {
string ans = "";
int cnt = 0;
int n = str.length();
for( int i = n-1 ; i >= 0 ; i-- )
if( str[i] != '-' ) {
char c;
if(str[i] >= 'a' && str[i] <= 'z')
... | 27.727273 | 52 | 0.309836 | metehkaya |
b81d2639008003cebaa85e55735f60a678ef1ab9 | 3,225 | cpp | C++ | aten/src/ATen/native/cuda/TensorTopK.cpp | lkct/pytorch | ec62901a2c38b63d12843e0f079bdeb7644d8714 | [
"Intel"
] | 2 | 2020-03-13T06:57:49.000Z | 2020-05-17T04:18:14.000Z | aten/src/ATen/native/cuda/TensorTopK.cpp | ellhe-blaster/pytorch | e5282c3cb8bf6ad8c5161f9d0cc271edb9abed25 | [
"Intel"
] | null | null | null | aten/src/ATen/native/cuda/TensorTopK.cpp | ellhe-blaster/pytorch | e5282c3cb8bf6ad8c5161f9d0cc271edb9abed25 | [
"Intel"
] | null | null | null | #define TORCH_ASSERT_ONLY_METHOD_OPERATORS
#include <ATen/native/cuda/TensorTopK.h>
#include <ATen/core/Tensor.h>
#include <ATen/TensorMeta.h>
#include <ATen/TensorUtils.h>
#include <ATen/WrapDimUtils.h>
#include <ATen/native/cuda/Sort.h>
#ifndef AT_PER_OPERATOR_HEADERS
#include <ATen/Functions.h>
#include <ATen/Nati... | 33.947368 | 104 | 0.707597 | lkct |
b8200522cde424f88acc28a7261693f30efe6dae | 796 | cc | C++ | components/omnibox/browser/omnibox_event_global_tracker.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/omnibox/browser/omnibox_event_global_tracker.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 | components/omnibox/browser/omnibox_event_global_tracker.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 2015 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/omnibox/browser/omnibox_event_global_tracker.h"
#include "base/memory/singleton.h"
OmniboxEventGlobalTracker* OmniboxEventGlobalTra... | 31.84 | 75 | 0.809045 | zealoussnow |
b823e0fca04cb1d0da0b60c41bf9b2b313c7879e | 1,407 | hpp | C++ | thread/common/src/states/base_configure.hpp | chacal/arduino | 6b77e59138a36d0627ab6f529e6f2ea7e65bcdfd | [
"Apache-2.0"
] | 4 | 2016-12-10T13:20:52.000Z | 2019-10-25T19:47:44.000Z | thread/common/src/states/base_configure.hpp | chacal/arduino | 6b77e59138a36d0627ab6f529e6f2ea7e65bcdfd | [
"Apache-2.0"
] | null | null | null | thread/common/src/states/base_configure.hpp | chacal/arduino | 6b77e59138a36d0627ab6f529e6f2ea7e65bcdfd | [
"Apache-2.0"
] | 1 | 2019-05-03T17:31:38.000Z | 2019-05-03T17:31:38.000Z |
namespace states {
template<typename M>
struct base_configure : M::Base {
protected:
struct config_timer_elapsed {
};
struct coap_timer_ticked {
};
public:
virtual void enter(typename M::Context &context) {
NRF_LOG_INFO("Configuring..");
config_timer.start(&context);
coap... | 31.977273 | 123 | 0.656716 | chacal |
b82611c42d8f0b365ea2dddb233f071d28d1b593 | 11,969 | cpp | C++ | SHORT_READ_ANALYSIS/src/cluster_graph.cpp | CSB5/OPERA-MS | ae46e005322774efc896d7c21ec265ad35748bc0 | [
"MIT"
] | 81 | 2018-03-22T15:01:08.000Z | 2022-01-17T17:52:31.000Z | SHORT_READ_ANALYSIS/src/cluster_graph.cpp | CSB5/OPERA-MS | ae46e005322774efc896d7c21ec265ad35748bc0 | [
"MIT"
] | 68 | 2017-09-14T08:17:53.000Z | 2022-03-09T18:56:12.000Z | SHORT_READ_ANALYSIS/src/cluster_graph.cpp | CSB5/OPERA-MS | ae46e005322774efc896d7c21ec265ad35748bc0 | [
"MIT"
] | 21 | 2017-09-14T06:15:18.000Z | 2021-09-30T03:19:22.000Z | #include <cstdlib>
#include <cstdio>
#include <cmath>
#include <iostream>
#include "cluster_graph.h"
#include "sigma.h"
ClusterGraph::ClusterGraph(ContigMap* contigs, EdgeQueue* edges) {
num_contigs_ = (int) contigs->size();
num_windows_ = 0;
for (auto it = contigs->begin(); it != contigs->end(); ++it) {
sCont... | 27.389016 | 179 | 0.658869 | CSB5 |
b828849479191b862296852e9331d91679739c70 | 3,186 | cpp | C++ | mainwindow.cpp | PatriotRossii/FrequencyComparator | d5c206707e835dccf8a3515fe8d9152918bd3167 | [
"MIT"
] | null | null | null | mainwindow.cpp | PatriotRossii/FrequencyComparator | d5c206707e835dccf8a3515fe8d9152918bd3167 | [
"MIT"
] | null | null | null | mainwindow.cpp | PatriotRossii/FrequencyComparator | d5c206707e835dccf8a3515fe8d9152918bd3167 | [
"MIT"
] | null | null | null | #include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::MainWindow)
{
ui->setupUi(this);
setupSignals();
}
MainWindow::~MainWindow()
{
delete ui;
}
void MainWindow::setupSignals() const {
QObject::connect(
... | 29.775701 | 134 | 0.626491 | PatriotRossii |
b8294de0404c1e326b046165de3f894ea80efe44 | 1,730 | hpp | C++ | ReactNativeFrontend/ios/Pods/boost/boost/phoenix/core/nothing.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 12,278 | 2015-01-29T17:11:33.000Z | 2022-03-31T21:12:00.000Z | ios/Pods/boost-for-react-native/boost/phoenix/core/nothing.hpp | c7yrus/alyson-v3 | 5ad95a8f782f5f5d2fd543d44ca6a8b093395965 | [
"Apache-2.0"
] | 9,469 | 2015-01-30T05:33:07.000Z | 2022-03-31T16:17:21.000Z | ios/Pods/boost-for-react-native/boost/phoenix/core/nothing.hpp | c7yrus/alyson-v3 | 5ad95a8f782f5f5d2fd543d44ca6a8b093395965 | [
"Apache-2.0"
] | 892 | 2015-01-29T16:26:19.000Z | 2022-03-20T07:44:30.000Z | /*==============================================================================
Copyright (c) 2005-2010 Joel de Guzman
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
========================================... | 28.360656 | 81 | 0.539306 | Harshitha91 |
b82a10d98fba66bda9ffdc0f010ef4b9ebe79578 | 6,447 | cc | C++ | third_party/blink/renderer/bindings/core/v8/v8_gc_controller.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | third_party/blink/renderer/bindings/core/v8/v8_gc_controller.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | third_party/blink/renderer/bindings/core/v8/v8_gc_controller.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"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 (C) 2009 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | 40.54717 | 89 | 0.740965 | chromium |
b82bdafe35c858d7b15e00f69ba0cc6633adcfee | 2,740 | cpp | C++ | bazaar/Media/utility_file.cpp | dreamsxin/ultimatepp | 41d295d999f9ff1339b34b43c99ce279b9b3991c | [
"BSD-2-Clause"
] | 2 | 2016-04-07T07:54:26.000Z | 2020-04-14T12:37:34.000Z | bazaar/Media/utility_file.cpp | dreamsxin/ultimatepp | 41d295d999f9ff1339b34b43c99ce279b9b3991c | [
"BSD-2-Clause"
] | null | null | null | bazaar/Media/utility_file.cpp | dreamsxin/ultimatepp | 41d295d999f9ff1339b34b43c99ce279b9b3991c | [
"BSD-2-Clause"
] | null | null | null | #include <CtrlLib/CtrlLib.h>
using namespace Upp;
#include <Media/ffmpeg_base.h>
#include "utility.h"
// Return a String with all file tags
String GetTags(AVFormatContext *fileData) {
char tagStrings[1024];
tagStrings[0] = 0;
AVMetadataTag *tag = NULL;
//av_metadata_conv(fileData, N... | 33.414634 | 94 | 0.618613 | dreamsxin |
b82c16435c0f26eb9fb9ae139071aa811f89799b | 3,412 | cpp | C++ | BrainUnfuckCompiler/src/Structure.cpp | leonardo-ono/BrainUnfuck-to-Brainfuck-Compiler | b2428ee683bf6fadc2162f441a2964b176108b4b | [
"Xnet",
"X11"
] | 2 | 2022-01-23T15:39:35.000Z | 2022-01-24T01:57:58.000Z | BrainUnfuckCompiler/src/Structure.cpp | leonardo-ono/BrainUnfuck-to-Brainfuck-Compiler | b2428ee683bf6fadc2162f441a2964b176108b4b | [
"Xnet",
"X11"
] | null | null | null | BrainUnfuckCompiler/src/Structure.cpp | leonardo-ono/BrainUnfuck-to-Brainfuck-Compiler | b2428ee683bf6fadc2162f441a2964b176108b4b | [
"Xnet",
"X11"
] | null | null | null | #include "Structure.h"
Command::Name Command::commandNameFromStr(std::string str)
{
if (str == "DATA")
return Command::Name::DATA;
else if (str == "PROC")
return Command::Name::PROC;
else if (str == "ENDPROC")
return Command::Name::ENDPROC;
else if (str == "DO")
return C... | 27.967213 | 58 | 0.524619 | leonardo-ono |
b82e4c859112d9c1f8e1d870dc77eb6ea1cb2106 | 1,909 | hpp | C++ | aslam_optimizer/aslam_backend/include/aslam/backend/Matrix.hpp | chengfzy/kalibr | fe9705b380b160dc939607135f7d30efa64ea2e9 | [
"BSD-4-Clause"
] | null | null | null | aslam_optimizer/aslam_backend/include/aslam/backend/Matrix.hpp | chengfzy/kalibr | fe9705b380b160dc939607135f7d30efa64ea2e9 | [
"BSD-4-Clause"
] | null | null | null | aslam_optimizer/aslam_backend/include/aslam/backend/Matrix.hpp | chengfzy/kalibr | fe9705b380b160dc939607135f7d30efa64ea2e9 | [
"BSD-4-Clause"
] | null | null | null | #ifndef ASLAM_BACKEND_MATRIX_HPP
#define ASLAM_BACKEND_MATRIX_HPP
#include <Eigen/Core>
#include <iostream>
#include <sm/assert_macros.hpp>
namespace aslam {
namespace backend {
/// \class Matrix
/// \brief A very simple matrix wrapper.
class Matrix {
public:
SM_DEFINE_EXCEPTION(Exception, std::runtime_error);... | 30.301587 | 90 | 0.683604 | chengfzy |
b830c7c4211304406d7ac25ae9af2eb6d3dac48a | 1,179 | cpp | C++ | 10401.cpp | felikjunvianto/kfile-uvaoj-submissions | 5bd8b3b413ca8523abe412b0a0545f766f70ce63 | [
"MIT"
] | null | null | null | 10401.cpp | felikjunvianto/kfile-uvaoj-submissions | 5bd8b3b413ca8523abe412b0a0545f766f70ce63 | [
"MIT"
] | null | null | null | 10401.cpp | felikjunvianto/kfile-uvaoj-submissions | 5bd8b3b413ca8523abe412b0a0545f766f70ce63 | [
"MIT"
] | null | null | null | #include <cstdio>
#include <cmath>
#include <iostream>
#include <string>
#include <cstring>
#include <algorithm>
#include <vector>
#include <utility>
#include <stack>
#include <queue>
#include <map>
#define fi first
#define se second
#define pb push_back
#define mp make_pair
#define pi 2*acos(0.0)
#de... | 16.605634 | 68 | 0.566582 | felikjunvianto |
b8340e878a54f7a3400aef22985c7fa12ade0664 | 2,280 | cpp | C++ | Surface_mesh_topology/examples/Surface_mesh_topology/open_path_homotopy.cpp | ffteja/cgal | c1c7f4ad9a4cd669e33ca07a299062a461581812 | [
"CC0-1.0"
] | 3,227 | 2015-03-05T00:19:18.000Z | 2022-03-31T08:20:35.000Z | Surface_mesh_topology/examples/Surface_mesh_topology/open_path_homotopy.cpp | ffteja/cgal | c1c7f4ad9a4cd669e33ca07a299062a461581812 | [
"CC0-1.0"
] | 5,574 | 2015-03-05T00:01:56.000Z | 2022-03-31T15:08:11.000Z | Surface_mesh_topology/examples/Surface_mesh_topology/open_path_homotopy.cpp | ffteja/cgal | c1c7f4ad9a4cd669e33ca07a299062a461581812 | [
"CC0-1.0"
] | 1,274 | 2015-03-05T00:01:12.000Z | 2022-03-31T14:47:56.000Z | #include <CGAL/Surface_mesh.h>
#include <CGAL/Curves_on_surface_topology.h>
#include <CGAL/Path_on_surface.h>
#include <CGAL/draw_face_graph_with_paths.h>
typedef CGAL::Exact_predicates_inexact_constructions_kernel Kernel;
typedef Kernel::Point_3 Point_3;
typedef CGAL::Surface_mesh<... | 32.112676 | 79 | 0.546053 | ffteja |
b836c787925ac977b39fd05e124a121d5b967c68 | 2,109 | cpp | C++ | Compiler Design Lab/code/LAB10/leaders-19_61.cpp | TanmayVig/sem6Labs | 68de98eae695806b0317012bb9c634d3124f5062 | [
"MIT"
] | null | null | null | Compiler Design Lab/code/LAB10/leaders-19_61.cpp | TanmayVig/sem6Labs | 68de98eae695806b0317012bb9c634d3124f5062 | [
"MIT"
] | null | null | null | Compiler Design Lab/code/LAB10/leaders-19_61.cpp | TanmayVig/sem6Labs | 68de98eae695806b0317012bb9c634d3124f5062 | [
"MIT"
] | null | null | null | // identify leaders and then blocks
#include <bits/stdc++.h>
using namespace std;
int create_num(string s, size_t found)
{
int num = 0, ind = found + 5;
while (isdigit(s[ind]))
{
num = num * 10 + (s[ind++] - '0');
}
return num;
}
class Block
{
public:
vector<string> code;
vector<in... | 22.2 | 110 | 0.488383 | TanmayVig |
b837db3d590ec7996c3fd9c144ae5626d7a4e688 | 1,055 | hpp | C++ | include/mtao/linear_algebra/gram_schmidt.hpp | mtao/core | 91f9bc6e852417989ed62675e2bb372e6afc7325 | [
"MIT"
] | null | null | null | include/mtao/linear_algebra/gram_schmidt.hpp | mtao/core | 91f9bc6e852417989ed62675e2bb372e6afc7325 | [
"MIT"
] | 4 | 2020-04-18T16:16:05.000Z | 2020-04-18T16:17:36.000Z | include/mtao/linear_algebra/gram_schmidt.hpp | mtao/core | 91f9bc6e852417989ed62675e2bb372e6afc7325 | [
"MIT"
] | null | null | null | #pragma once
#include <Eigen/Core>
namespace mtao::linear_algebra {
// the gram schmidt algorithm with a threshold for when 0-eigenvalues are found
template <typename Derived>
void gram_schmidt_in_place(Eigen::PlainObjectBase<Derived>& M) {
using Scalar = typename Derived::Scalar;
... | 34.032258 | 83 | 0.482464 | mtao |
b8387e639b1e2d38c75e2aaf3196407e8fe24922 | 3,732 | hpp | C++ | client/systems/ui_toolkit.hpp | Exonical/Vanguard_Wasteland.cup_chernarus_A3 | ee8f51807847f35c924bb8bf701e863387b603b8 | [
"MIT"
] | 1 | 2020-07-23T13:49:05.000Z | 2020-07-23T13:49:05.000Z | client/systems/ui_toolkit.hpp | Exonical/Vanguard_Wasteland.cup_chernarus_A3 | ee8f51807847f35c924bb8bf701e863387b603b8 | [
"MIT"
] | null | null | null | client/systems/ui_toolkit.hpp | Exonical/Vanguard_Wasteland.cup_chernarus_A3 | ee8f51807847f35c924bb8bf701e863387b603b8 | [
"MIT"
] | null | null | null | // ******************************************************************************************
// * This project is licensed under the GNU Affero GPL v3. Copyright © 2014 A3Wasteland.com *
// ******************************************************************************************
// @file Name: ui_toolkit.hpp
// @file... | 48.467532 | 184 | 0.71463 | Exonical |
b8396941d68c6c4ea34d3ddc21475f5855b2ccee | 12,577 | cpp | C++ | QP/v5.4.2/qpcpp/examples/arm-cm/game_ek-lm3s811/mine1.cpp | hyller/GladiatorCots | 36a69df68675bb40b562081c531e6674037192a8 | [
"Unlicense"
] | null | null | null | QP/v5.4.2/qpcpp/examples/arm-cm/game_ek-lm3s811/mine1.cpp | hyller/GladiatorCots | 36a69df68675bb40b562081c531e6674037192a8 | [
"Unlicense"
] | null | null | null | QP/v5.4.2/qpcpp/examples/arm-cm/game_ek-lm3s811/mine1.cpp | hyller/GladiatorCots | 36a69df68675bb40b562081c531e6674037192a8 | [
"Unlicense"
] | null | null | null | //****************************************************************************
// Model: game.qm
// File: ./mine1.cpp
//
// This code has been generated by QM tool (see state-machine.com/qm).
// DO NOT EDIT THIS FILE MANUALLY. All your changes will be lost.
//
// This program is open source software: you can redistrib... | 36.140805 | 87 | 0.50481 | hyller |
b83b81095c06176978c02a6cb54c6c024248951c | 143 | cpp | C++ | src/10000/10569.cpp14.cpp | upple/BOJ | e6dbf9fd17fa2b458c6a781d803123b14c18e6f1 | [
"MIT"
] | 8 | 2018-04-12T15:54:09.000Z | 2020-06-05T07:41:15.000Z | src/10000/10569.cpp14.cpp | upple/BOJ | e6dbf9fd17fa2b458c6a781d803123b14c18e6f1 | [
"MIT"
] | null | null | null | src/10000/10569.cpp14.cpp | upple/BOJ | e6dbf9fd17fa2b458c6a781d803123b14c18e6f1 | [
"MIT"
] | null | null | null | #include <stdio.h>
int main()
{
int t, v, e;
scanf("%d", &t);
while(scanf("%d %d", &v, &e)!=EOF)
printf("%d\n", 2+e-v);
}
| 14.3 | 38 | 0.426573 | upple |
b83b82db0e6052a74b61e8a67f8901d02f289d78 | 2,178 | cc | C++ | ui/views/test/views_test_base.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2017-10-19T13:50:00.000Z | 2019-05-26T20:11:54.000Z | ui/views/test/views_test_base.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ui/views/test/views_test_base.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 3 | 2017-07-31T19:09:52.000Z | 2019-01-04T18:48:50.000Z | // Copyright (c) 2012 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 "ui/views/test/views_test_base.h"
#include "base/run_loop.h"
#include "ui/base/clipboard/clipboard.h"
#include "ui/base/ime/input_method_ini... | 25.928571 | 80 | 0.742424 | pozdnyakov |
b83ffb464dcdf33a5a34274c2c0cba3f0f596985 | 1,216 | hpp | C++ | libhttpserver/HTTPHeaders.hpp | harsath/SSL-HTTP-Application-Server-CPP-RFC7231 | 140fb59997e9049bb4ca89806df527556ed890a0 | [
"MIT"
] | 5 | 2020-09-16T02:06:44.000Z | 2020-11-10T01:59:55.000Z | libhttpserver/HTTPHeaders.hpp | harsathAI/HTTP-Application-Server-CPP-RFC7231 | 140fb59997e9049bb4ca89806df527556ed890a0 | [
"MIT"
] | 9 | 2020-10-23T12:20:08.000Z | 2021-01-22T03:44:38.000Z | libhttpserver/HTTPHeaders.hpp | harsathAI/HTTP-Application-Server-CPP-RFC7231 | 140fb59997e9049bb4ca89806df527556ed890a0 | [
"MIT"
] | null | null | null | #pragma once
#include "HTTPHelpers.hpp"
#include <vector>
#include "HTTPConstants.hpp"
namespace HTTP{
class HTTPHeaders{
private:
std::unordered_map<std::string, std::string> _HTTPHeaders;
HTTP::HTTPConst::HTTP_RESPONSE_CODE _parser_response =
HTTP::HTTPConst::HTTP_RESPONSE_CODE::OK;
std::vector<std... | 36.848485 | 89 | 0.741776 | harsath |
cdc2b080ca48331aca20b7101fe4a67b1b2a5519 | 976 | hxx | C++ | ImageSharpOpenJpegNative/src/openjpeg.hxx | cinderblocks/ImageSharp.OpenJpeg | bf5c976a6dbfa0d2666be566c845a7410440cea2 | [
"Apache-2.0"
] | null | null | null | ImageSharpOpenJpegNative/src/openjpeg.hxx | cinderblocks/ImageSharp.OpenJpeg | bf5c976a6dbfa0d2666be566c845a7410440cea2 | [
"Apache-2.0"
] | null | null | null | ImageSharpOpenJpegNative/src/openjpeg.hxx | cinderblocks/ImageSharp.OpenJpeg | bf5c976a6dbfa0d2666be566c845a7410440cea2 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2022 Sjofn LLC. 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 by applicab... | 32.533333 | 75 | 0.762295 | cinderblocks |
cdc2f99ba0fdf3a7abe0447b3323186aaa5ddbe2 | 40,702 | cpp | C++ | src/test/syscoin_offer_tests.cpp | gtacoin-dev/gtacoin | f66f063b47ba973856c200074db1b95abf5ab794 | [
"MIT"
] | null | null | null | src/test/syscoin_offer_tests.cpp | gtacoin-dev/gtacoin | f66f063b47ba973856c200074db1b95abf5ab794 | [
"MIT"
] | null | null | null | src/test/syscoin_offer_tests.cpp | gtacoin-dev/gtacoin | f66f063b47ba973856c200074db1b95abf5ab794 | [
"MIT"
] | null | null | null | #include "test/test_gtacoin_services.h"
#include "utiltime.h"
#include "rpc/server.h"
#include "alias.h"
#include "feedback.h"
#include <boost/test/unit_test.hpp>
BOOST_GLOBAL_FIXTURE( GtacoinTestingSetup );
BOOST_FIXTURE_TEST_SUITE (gtacoin_offer_tests, BasicGtacoinTestingSetup)
BOOST_AUTO_TEST_CASE (generate_offer... | 52.79118 | 1,051 | 0.761486 | gtacoin-dev |
cdc4afd451eaa4186fa54f0c51080d39c591d5a7 | 1,156 | cpp | C++ | rct_optimizations/test/conversion_utest.cpp | m-limbird/robot_cal_tools | c3ee0c26895af50219afc450e7e6f866b7b86cbe | [
"Apache-2.0"
] | 110 | 2018-07-01T07:59:25.000Z | 2022-03-16T04:27:44.000Z | rct_optimizations/test/conversion_utest.cpp | m-limbird/robot_cal_tools | c3ee0c26895af50219afc450e7e6f866b7b86cbe | [
"Apache-2.0"
] | 65 | 2018-07-02T02:29:36.000Z | 2022-03-04T19:11:41.000Z | rct_optimizations/test/conversion_utest.cpp | m-limbird/robot_cal_tools | c3ee0c26895af50219afc450e7e6f866b7b86cbe | [
"Apache-2.0"
] | 35 | 2018-07-01T01:43:48.000Z | 2022-03-15T22:14:47.000Z | #include <gtest/gtest.h>
#include <rct_optimizations/eigen_conversions.h>
// Test the conversion of a pose from Eigen to internal calibration format and back
TEST(EigenConversions, there_and_back_identity)
{
const auto e_pose = Eigen::Isometry3d::Identity();
const auto cal_pose = rct_optimizations::poseEigenToCal(... | 36.125 | 111 | 0.759516 | m-limbird |
cdc84c6229ee327fd43a4b83217c5a5229b85eb0 | 1,780 | cpp | C++ | src/lib/utils/read_kv.cpp | ssd71/botan | d6b5b4a31af102bd6405e4f381e2ea21d2317a1c | [
"BSD-2-Clause"
] | 56 | 2019-04-25T19:06:11.000Z | 2022-03-25T20:26:25.000Z | src/lib/utils/read_kv.cpp | evpo/botan | 6f8a696962c3aa605e9e5a53710c96dcb8477c9f | [
"BSD-2-Clause"
] | 184 | 2019-04-24T18:20:08.000Z | 2022-03-22T18:56:45.000Z | src/lib/utils/read_kv.cpp | evpo/botan | 6f8a696962c3aa605e9e5a53710c96dcb8477c9f | [
"BSD-2-Clause"
] | 34 | 2019-04-03T15:21:16.000Z | 2022-03-20T04:26:53.000Z | /*
* (C) 2018 Ribose Inc
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#include <botan/parsing.h>
#include <botan/exceptn.h>
namespace Botan {
std::map<std::string, std::string> read_kv(const std::string& kv)
{
std::map<std::string, std::string> m;
if(kv == "")
return m;
... | 20.697674 | 73 | 0.497191 | ssd71 |
cdc9e424ed132d6ec26725c0a1cef4355ca8642f | 2,125 | cpp | C++ | Engine/Source/Editor/SequenceRecorderSections/Private/SequenceRecorderSectionsModule.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Source/Editor/SequenceRecorderSections/Private/SequenceRecorderSectionsModule.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Source/Editor/SequenceRecorderSections/Private/SequenceRecorderSectionsModule.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "CoreMinimal.h"
#include "Modules/ModuleInterface.h"
#include "Modules/ModuleManager.h"
#include "Features/IModularFeatures.h"
#include "MovieScene3DAttachSectionRecorder.h"
#include "MovieSceneParticleTrackSectionRecorder.h"
#include "MovieSceneSpa... | 51.829268 | 130 | 0.872941 | windystrife |
cdcb45daea15478082924df553febaad2a28f8b2 | 22,650 | cpp | C++ | gazebo_joint_control/src/GazeboJointControlLocalImpl.cpp | JenniferBuehler/joint-control-pkgs | 3fcbc64a87704a3ddaa9d7f4c78e45b48925ec6f | [
"BSD-3-Clause"
] | 22 | 2017-01-20T14:57:36.000Z | 2020-10-15T13:57:40.000Z | gazebo_joint_control/src/GazeboJointControlLocalImpl.cpp | jdom1824/joint-control-pkgs | 6db7d2447054622712690669036a256432fd7ba2 | [
"BSD-3-Clause"
] | 6 | 2016-07-16T13:09:02.000Z | 2020-12-07T14:42:58.000Z | gazebo_joint_control/src/GazeboJointControlLocalImpl.cpp | jdom1824/joint-control-pkgs | 6db7d2447054622712690669036a256432fd7ba2 | [
"BSD-3-Clause"
] | 18 | 2016-09-01T07:28:58.000Z | 2021-02-10T05:55:30.000Z | #ifdef DOXYGEN_SHOULD_SKIP_THIS
/**
Copyright (C) 2015 Jennifer Buehler
See also LICENSE file in this repository.
*/
#endif
#include <gazebo_joint_control/GazeboJointControlLocalImpl.h>
#include <gazebo_joint_control/GazeboVersionHelpers.h>
#include <convenience_math_functions/MathFunctions.h>
#include <map>
#i... | 41.712707 | 166 | 0.580574 | JenniferBuehler |
cdcb60bd31e5d048d518a2981ad1211bad4acc3d | 5,050 | hpp | C++ | sprout/range/adaptor/adapted_window.hpp | EzoeRyou/Sprout | 12e12373d0f70543eac5f2ecfbec8f5112765f98 | [
"BSL-1.0"
] | 1 | 2016-09-29T21:55:58.000Z | 2016-09-29T21:55:58.000Z | sprout/range/adaptor/adapted_window.hpp | EzoeRyou/Sprout | 12e12373d0f70543eac5f2ecfbec8f5112765f98 | [
"BSL-1.0"
] | null | null | null | sprout/range/adaptor/adapted_window.hpp | EzoeRyou/Sprout | 12e12373d0f70543eac5f2ecfbec8f5112765f98 | [
"BSL-1.0"
] | null | null | null | /*=============================================================================
Copyright (c) 2011-2014 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.tx... | 40.725806 | 142 | 0.707723 | EzoeRyou |
cdcd28bbb6c5a02f5a72ac2552d13db3a47befea | 4,071 | hpp | C++ | Source/engine/surface.hpp | mewpull/devilutionX | e82dc72d12817cdd0780cb2ea838d24c587333be | [
"Unlicense"
] | 5,649 | 2018-08-02T17:55:32.000Z | 2022-03-31T22:09:42.000Z | Source/engine/surface.hpp | mewpull/devilutionX | e82dc72d12817cdd0780cb2ea838d24c587333be | [
"Unlicense"
] | 2,748 | 2018-08-03T17:12:14.000Z | 2022-03-31T22:53:59.000Z | Source/engine/surface.hpp | mewpull/devilutionX | e82dc72d12817cdd0780cb2ea838d24c587333be | [
"Unlicense"
] | 835 | 2018-08-02T23:14:24.000Z | 2022-03-31T12:53:08.000Z | #pragma once
#include <cstdint>
#include <cstddef>
#include <SDL_version.h>
#if SDL_VERSION_ATLEAST(2, 0, 0)
#include <SDL_rect.h>
#include <SDL_surface.h>
#else
#include <SDL_video.h>
#include "utils/sdl2_to_1_2_backports.h"
#endif
#include "engine/point.hpp"
#include "utils/sdl_geometry.h"
#inclu... | 22.743017 | 102 | 0.637927 | mewpull |
cdce971983ea1a01c07ceaff159a24f2e3f40ce2 | 3,567 | cpp | C++ | graphics/graphics.cpp | Grayson112233/sdlgl | 68c0398fa1dc5ebed77f2528856f7cd6d6d9cdda | [
"MIT"
] | 1 | 2019-12-25T19:35:00.000Z | 2019-12-25T19:35:00.000Z | graphics/graphics.cpp | graysonpike/sdlgl | 68c0398fa1dc5ebed77f2528856f7cd6d6d9cdda | [
"MIT"
] | null | null | null | graphics/graphics.cpp | graysonpike/sdlgl | 68c0398fa1dc5ebed77f2528856f7cd6d6d9cdda | [
"MIT"
] | 1 | 2019-12-25T19:35:01.000Z | 2019-12-25T19:35:01.000Z | #include "graphics.h"
// PRIVATE HELPER FUNCTIONS
// Starts SDL2 and creates a window.
// Also starts additional libraries like sdl_ttf and sdl_mixer
// Some flags can be changed for different rendering settings
bool Graphics::init_sdl(std::string window_title) {
// Initialize SDL_video
if(SDL_Init(SDL_INIT... | 24.944056 | 124 | 0.663022 | Grayson112233 |
cdcf4d86da475ef50258ddf52b6cdccff49bd317 | 8,446 | cc | C++ | riegeli/lines/line_reading.cc | mingzhao-db/riegeli | 7314c9767426fa6d25a3a3b5db2bebbf81db27f2 | [
"Apache-2.0"
] | 302 | 2018-01-03T17:41:05.000Z | 2022-03-30T12:06:31.000Z | riegeli/lines/line_reading.cc | mingzhao-db/riegeli | 7314c9767426fa6d25a3a3b5db2bebbf81db27f2 | [
"Apache-2.0"
] | 23 | 2018-11-14T20:30:43.000Z | 2022-02-16T07:52:59.000Z | riegeli/lines/line_reading.cc | mingzhao-db/riegeli | 7314c9767426fa6d25a3a3b5db2bebbf81db27f2 | [
"Apache-2.0"
] | 49 | 2018-02-12T06:20:01.000Z | 2022-03-27T02:38:35.000Z | // Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 37.371681 | 80 | 0.634738 | mingzhao-db |
cdd0f80b1ee5266a79ea4a43aa4d19bd8b58cafd | 3,271 | cpp | C++ | IGC/Compiler/FixLdOffsets.cpp | intel/intelgraphicscompiler | f7a20c6e6bed56933cfbb910a01da77a1d6ae6e4 | [
"Intel",
"MIT"
] | 3 | 2017-09-29T20:02:18.000Z | 2017-11-01T17:33:57.000Z | IGC/Compiler/FixLdOffsets.cpp | intel/intelgraphicscompiler | f7a20c6e6bed56933cfbb910a01da77a1d6ae6e4 | [
"Intel",
"MIT"
] | null | null | null | IGC/Compiler/FixLdOffsets.cpp | intel/intelgraphicscompiler | f7a20c6e6bed56933cfbb910a01da77a1d6ae6e4 | [
"Intel",
"MIT"
] | null | null | null | /*========================== begin_copyright_notice ============================
Copyright (C) 2022 Intel Corporation
SPDX-License-Identifier: MIT
============================= end_copyright_notice ===========================*/
#include "FixLdOffsets.h"
#include "common/LLVMWarningsPush.hpp"
#include <llvm/IR/Inst... | 34.431579 | 120 | 0.557322 | intel |
cdd0fd6f8834ce7406a32374661b5d6b27108131 | 1,375 | cpp | C++ | Lab3/tests2.cpp | NLaDuke/CSIII-Labs | 8f2658d6fcf6cc838bbef17bc5110a10c742bf0e | [
"MIT"
] | null | null | null | Lab3/tests2.cpp | NLaDuke/CSIII-Labs | 8f2658d6fcf6cc838bbef17bc5110a10c742bf0e | [
"MIT"
] | null | null | null | Lab3/tests2.cpp | NLaDuke/CSIII-Labs | 8f2658d6fcf6cc838bbef17bc5110a10c742bf0e | [
"MIT"
] | null | null | null | // testing the implementation of templated list collection
// Mikhail Nesterenko
// 9/10/2015
#include <iostream>
#include <string>
#include "Collection.hpp" // template definition
using std::cout; using std::endl;
using std::string;
int main(){
// manipulating integers
Collection<int> cone;
cout << "Integ... | 21.153846 | 58 | 0.621818 | NLaDuke |
cdd29a0229aeb5ed06ff538abba590350bbcb266 | 818 | cpp | C++ | src/sphere.cpp | Sindisil/ray-tracer-challenge-cpp | 7588a28171f4546843d4fb97a9aad22b9a62b539 | [
"MIT"
] | null | null | null | src/sphere.cpp | Sindisil/ray-tracer-challenge-cpp | 7588a28171f4546843d4fb97a9aad22b9a62b539 | [
"MIT"
] | 7 | 2020-12-18T19:23:54.000Z | 2021-03-11T23:06:52.000Z | src/sphere.cpp | Sindisil/ray-tracer-challenge-cpp | 7588a28171f4546843d4fb97a9aad22b9a62b539 | [
"MIT"
] | null | null | null | #include "sphere.h"
#include "intersections.h"
namespace raytrace {
void Sphere::local_intersect(Ray ray, Intersections &xs) {
auto sphere_to_ray = ray.origin - Point{0, 0, 0};
auto a = ray.direction.dot(ray.direction);
auto b = 2 * ray.direction.dot(sphere_to_ray);
auto c = sphere_to_ray.dot(sphere_to_ray) -... | 30.296296 | 76 | 0.644254 | Sindisil |
cdd3d2381e837938457bda2d73992f8d87155acc | 744 | cpp | C++ | _includes/code/2020-04/eyeDetection/KeypointDetector.cpp | bewagner/bewagner.github.io | 128b6cf543030ff7ddd0824e3e4d60abd6aadec1 | [
"MIT"
] | null | null | null | _includes/code/2020-04/eyeDetection/KeypointDetector.cpp | bewagner/bewagner.github.io | 128b6cf543030ff7ddd0824e3e4d60abd6aadec1 | [
"MIT"
] | 5 | 2020-08-15T11:04:55.000Z | 2022-02-26T07:43:45.000Z | _includes/code/2020-04/eyeDetection/KeypointDetector.cpp | bewagner/bewagner.github.io | 128b6cf543030ff7ddd0824e3e4d60abd6aadec1 | [
"MIT"
] | null | null | null | #include "KeypointDetector.h"
#include <opencv4/opencv2/opencv.hpp>
KeypointDetector::KeypointDetector() {
facemark_ = cv::face::FacemarkLBF::create();
facemark_->loadModel(KEYPOINT_DETECTION_MODEL);
}
std::vector<FaceKeypoints>
KeypointDetector::detect_keypoints(const std::vector<cv::Rect> &face_rectangles,... | 29.76 | 110 | 0.727151 | bewagner |
cdd49c3db54b6cd5d21801fd8b786b03f0eb05d5 | 2,793 | cpp | C++ | Tests/unit-tests/Source/wali/domains/class-TraceSplitSemElem/TraceSplitSemElem.cpp | jusito/WALi-OpenNWA | 2bb4aca02c5a5d444fd038e8aa3eecd7d1ccbb99 | [
"MIT"
] | 15 | 2015-03-07T17:25:57.000Z | 2022-02-04T20:17:00.000Z | Tests/unit-tests/Source/wali/domains/class-TraceSplitSemElem/TraceSplitSemElem.cpp | jusito/WALi-OpenNWA | 2bb4aca02c5a5d444fd038e8aa3eecd7d1ccbb99 | [
"MIT"
] | 1 | 2018-03-03T05:58:55.000Z | 2018-03-03T12:26:10.000Z | Tests/unit-tests/Source/wali/domains/class-TraceSplitSemElem/TraceSplitSemElem.cpp | jusito/WALi-OpenNWA | 2bb4aca02c5a5d444fd038e8aa3eecd7d1ccbb99 | [
"MIT"
] | 15 | 2015-09-25T17:44:35.000Z | 2021-07-18T18:25:38.000Z | #include <gtest/gtest.h>
#include "wali/domains/TraceSplitSemElem.hpp"
#include "fixtures.hpp"
namespace wali {
namespace domains {
TEST(testing$TraceSplitMaps, MapsHaveTheCorrectSize) {
TraceSplitMaps maps;
EXPECT_EQ(0u, maps.empty.size());
EXPECT_EQ(3u, maps.guards012.size());
EXPEC... | 34.481481 | 106 | 0.706767 | jusito |
cdd50452790904e7c393193de03199bc7c3b7ffc | 9,975 | cpp | C++ | codes/View/MainWindow.cpp | wuzhuobin/IADE_Analyzer | fa78f5999c820a7cf6bf740080933d84ef8952ca | [
"Apache-2.0"
] | 2 | 2021-01-09T08:13:23.000Z | 2021-04-28T14:16:50.000Z | codes/View/MainWindow.cpp | wuzhuobin/IADE_Analyzer | fa78f5999c820a7cf6bf740080933d84ef8952ca | [
"Apache-2.0"
] | 8 | 2017-02-09T11:04:13.000Z | 2017-03-22T03:25:12.000Z | codes/View/MainWindow.cpp | wuzhuobin/IADE_Analyzer | fa78f5999c820a7cf6bf740080933d84ef8952ca | [
"Apache-2.0"
] | null | null | null | #include "MainWindow.h"
#include "ui_MainWindow.h"
#include "ui_ViewerWidget.h"
#include "ModuleWidget.h"
#include "ViewerWidget.h"
#include "MeasurementWidget.h"
#include <qdebug.h>
#include <qsettings.h>
#include <qfiledialog.h>
#include <QVTKInteractor.h>
#include <vtkRenderWindow.h>
#include "RegistrationWizar... | 27.941176 | 91 | 0.735539 | wuzhuobin |
cdd644b75465c0698d69909d1ba66d14ac288cd5 | 531 | cpp | C++ | Disruptor.Tests/IgnoreExceptionHandlerTests.cpp | GregGodin/Disruptor-cpp | aa06c37b94dfae3b9859bfbeaf1cd66ea27fac6b | [
"Apache-2.0"
] | 4 | 2019-07-22T04:04:00.000Z | 2022-01-18T11:25:48.000Z | Disruptor.Tests/IgnoreExceptionHandlerTests.cpp | GregGodin/Disruptor-cpp | aa06c37b94dfae3b9859bfbeaf1cd66ea27fac6b | [
"Apache-2.0"
] | null | null | null | Disruptor.Tests/IgnoreExceptionHandlerTests.cpp | GregGodin/Disruptor-cpp | aa06c37b94dfae3b9859bfbeaf1cd66ea27fac6b | [
"Apache-2.0"
] | 2 | 2019-07-25T13:03:16.000Z | 2019-10-25T06:23:15.000Z | #include "stdafx.h"
#include "Disruptor/ArgumentException.h"
#include "Disruptor/IgnoreExceptionHandler.h"
#include "StubEvent.h"
using namespace Disruptor;
TEST(IgnoreExceptionHandlerTests, ShouldIgnoreException)
{
auto causeException = ArgumentException("IgnoreExceptionHandler.ShouldIgnoreException");
auto... | 29.5 | 92 | 0.789077 | GregGodin |
cdd71c1edcc827f37720968a67eee211dfc2f3ae | 1,214 | cpp | C++ | 10229.cpp | felikjunvianto/kfile-uvaoj-submissions | 5bd8b3b413ca8523abe412b0a0545f766f70ce63 | [
"MIT"
] | null | null | null | 10229.cpp | felikjunvianto/kfile-uvaoj-submissions | 5bd8b3b413ca8523abe412b0a0545f766f70ce63 | [
"MIT"
] | null | null | null | 10229.cpp | felikjunvianto/kfile-uvaoj-submissions | 5bd8b3b413ca8523abe412b0a0545f766f70ce63 | [
"MIT"
] | null | null | null | #include <cstdio>
#include <cmath>
#include <iostream>
#include <string>
#include <cstring>
#include <algorithm>
#include <vector>
#include <utility>
#include <stack>
#include <queue>
#include <map>
#define fi first
#define se second
#define pb push_back
#define mp make_pair
#define pi 2*acos(0.0)
#de... | 17.594203 | 54 | 0.599671 | felikjunvianto |
cdd763b7a24905ccb38cf93e309fb5a7a6d4790a | 2,017 | hpp | C++ | src/sched/entry/ze/ze_barrier_entry.hpp | oneapi-src/oneCCL | b5d62cac0e7be776e2430a7d44d53a6e5e551daf | [
"Apache-2.0"
] | 70 | 2020-03-05T21:16:08.000Z | 2022-03-24T21:58:56.000Z | src/sched/entry/ze/ze_barrier_entry.hpp | oneapi-src/oneCCL | b5d62cac0e7be776e2430a7d44d53a6e5e551daf | [
"Apache-2.0"
] | 17 | 2020-03-14T08:28:07.000Z | 2022-03-03T06:35:34.000Z | src/sched/entry/ze/ze_barrier_entry.hpp | oneapi-src/oneCCL | b5d62cac0e7be776e2430a7d44d53a6e5e551daf | [
"Apache-2.0"
] | 22 | 2020-03-13T01:17:22.000Z | 2022-03-16T12:42:43.000Z | /*
Copyright 2016-2020 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 law or agreed to in w... | 29.231884 | 73 | 0.597918 | oneapi-src |
cdd80d62e2be8d1d26a56e686edb98f577692c1d | 47,398 | cpp | C++ | Source/AliveLibAE/Map.cpp | Leonard2/alive_reversing | c6d85f435e275db1d41e2ec8b4e52454aa932e05 | [
"MIT"
] | null | null | null | Source/AliveLibAE/Map.cpp | Leonard2/alive_reversing | c6d85f435e275db1d41e2ec8b4e52454aa932e05 | [
"MIT"
] | null | null | null | Source/AliveLibAE/Map.cpp | Leonard2/alive_reversing | c6d85f435e275db1d41e2ec8b4e52454aa932e05 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "Map.hpp"
#include "PathData.hpp"
#include "Function.hpp"
#include "ScreenManager.hpp"
#include "ResourceManager.hpp"
#include "LvlArchive.hpp"
#include "Sound/Midi.hpp"
#include "SwitchStates.hpp"
#include "Game.hpp"
#include "Abe.hpp"
#include "MusicController.hpp"
#include "BackgroundMus... | 33.591779 | 228 | 0.624182 | Leonard2 |
cddb010d6ebb1738504a660dc1b392664b53f1f0 | 1,909 | c++ | C++ | libhylafax/Status.c++ | XieJiSS/HylaFAX | 9afcaa405e05a3ec3c79091e96f7255b8de86981 | [
"libtiff"
] | 18 | 2015-09-02T08:41:46.000Z | 2021-12-27T15:13:50.000Z | libhylafax/Status.c++ | XieJiSS/HylaFAX | 9afcaa405e05a3ec3c79091e96f7255b8de86981 | [
"libtiff"
] | null | null | null | libhylafax/Status.c++ | XieJiSS/HylaFAX | 9afcaa405e05a3ec3c79091e96f7255b8de86981 | [
"libtiff"
] | 11 | 2015-01-07T16:05:58.000Z | 2022-02-20T16:20:03.000Z | /* $Id$ */
/*
* Copyright (c) 2007 iFAX Solutions, Inc.
* HylaFAX is a trademark of Silicon Graphics
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation for any purpose is hereby granted without fee, provided
* that (i) the above copyright notices and this permission no... | 26.513889 | 78 | 0.693557 | XieJiSS |
cde1a2070968a897d1b99344b79eeb2e6c628021 | 2,894 | cc | C++ | tests/test_flux_parser.cc | ngc7293/influx | 434fce2d0b672a852123fc463947087c89ff352f | [
"MIT"
] | null | null | null | tests/test_flux_parser.cc | ngc7293/influx | 434fce2d0b672a852123fc463947087c89ff352f | [
"MIT"
] | 1 | 2022-03-28T00:59:21.000Z | 2022-03-28T00:59:21.000Z | tests/test_flux_parser.cc | ngc7293/influx | 434fce2d0b672a852123fc463947087c89ff352f | [
"MIT"
] | null | null | null | #include <iostream>
#include <gtest/gtest.h>
#include <influx/bucket.hh>
#include <influx/influx.hh>
#include "config.hh"
namespace std::chrono {
bool operator==(const influx::Timestamp& lhs, const std::chrono::nanoseconds& rhs)
{
return lhs == influx::Timestamp() + std::chrono::duration_cast<std::c... | 41.942029 | 128 | 0.70387 | ngc7293 |
cde3ba9501e1e3c7eb728ae15729956502bb1014 | 2,873 | hpp | C++ | src/Renderer.hpp | ser94mor/lidar-obstacle-detection | e0271e6cd7c925fbd1804ecbe24eb0b7706c1f64 | [
"MIT"
] | 23 | 2019-08-05T08:53:42.000Z | 2022-03-25T07:14:29.000Z | src/Renderer.hpp | ser94mor/lidar-obstacle-detection | e0271e6cd7c925fbd1804ecbe24eb0b7706c1f64 | [
"MIT"
] | 8 | 2019-06-20T09:23:31.000Z | 2020-11-25T09:14:06.000Z | src/Renderer.hpp | ser94mor/lidar-obstacle-detection | e0271e6cd7c925fbd1804ecbe24eb0b7706c1f64 | [
"MIT"
] | 7 | 2019-08-07T18:38:00.000Z | 2021-06-23T21:43:04.000Z | /**
* Copyright (C) 2019 Sergey Morozov <sergey@morozov.ch>
*
* 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, ... | 29.316327 | 101 | 0.69196 | ser94mor |
cde450dcf6887926653b4110ddb7be1d531c0ac5 | 524 | cc | C++ | ios/public/provider/chrome/browser/browser_state/chrome_browser_state.cc | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2019-11-28T10:46:52.000Z | 2019-11-28T10:46:52.000Z | ios/public/provider/chrome/browser/browser_state/chrome_browser_state.cc | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ios/public/provider/chrome/browser/browser_state/chrome_browser_state.cc | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2015-03-27T11:15:39.000Z | 2016-08-17T14:19:56.000Z | // Copyright 2014 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 "ios/public/provider/chrome/browser/browser_state/chrome_browser_state.h"
namespace ios {
// static
ChromeBrowserState* ChromeBrowserState::Fro... | 30.823529 | 82 | 0.772901 | kjthegod |
cde562da0a39fd9620c9bc2b6048b46d2398b1a1 | 3,176 | cpp | C++ | pixmap_test.cpp | ndaniyarov/pixmap-ops | d893a7ef6621ddfacab68c58ec542502ee522e3a | [
"MIT"
] | null | null | null | pixmap_test.cpp | ndaniyarov/pixmap-ops | d893a7ef6621ddfacab68c58ec542502ee522e3a | [
"MIT"
] | null | null | null | pixmap_test.cpp | ndaniyarov/pixmap-ops | d893a7ef6621ddfacab68c58ec542502ee522e3a | [
"MIT"
] | null | null | null | #include <iostream>
#include "ppm_image.h"
using namespace std;
using namespace agl;
int main(int argc, char** argv)
{
ppm_image image;
image.load("../images/feep.ppm");
image.save("feep-test-save.ppm"); // should match original
// should print 4 4
cout << "loaded feep: " << image.width() << " " << ... | 28.612613 | 86 | 0.627834 | ndaniyarov |
cde7e4b7fa6f62d6b3bff228cf0c3bc8964ca1fd | 6,534 | cpp | C++ | lesson03/src/helper_functions.cpp | MikluhaMaklay/CPPExercises2021 | 5bd9f103eeaa09bd2ffda2130ae143f269d9ef7f | [
"MIT"
] | null | null | null | lesson03/src/helper_functions.cpp | MikluhaMaklay/CPPExercises2021 | 5bd9f103eeaa09bd2ffda2130ae143f269d9ef7f | [
"MIT"
] | 2 | 2021-10-20T08:40:11.000Z | 2022-02-16T08:47:37.000Z | lesson03/src/helper_functions.cpp | MikluhaMaklay/CPPExercises2021 | 5bd9f103eeaa09bd2ffda2130ae143f269d9ef7f | [
"MIT"
] | null | null | null | #include "helper_functions.h"
#include <libutils/rasserts.h>
#include <iostream>
cv::Mat makeAllBlackPixelsBlue(cv::Mat image) {
// ниже приведен пример как узнать цвет отдельного пикселя - состоящий из тройки чисел BGR (Blue Green Red)
// чем больше значение одного из трех чисел - тем насыщеннее его оттено... | 39.125749 | 183 | 0.595654 | MikluhaMaklay |
cde8cf07bd6e5ae7f28619cef7251969b4f2c02f | 1,251 | cpp | C++ | Features/Integral_images.cpp | QuMIke/PracticePCL | efe947607516d28c176721c9930be049b50ad18a | [
"MIT"
] | null | null | null | Features/Integral_images.cpp | QuMIke/PracticePCL | efe947607516d28c176721c9930be049b50ad18a | [
"MIT"
] | null | null | null | Features/Integral_images.cpp | QuMIke/PracticePCL | efe947607516d28c176721c9930be049b50ad18a | [
"MIT"
] | null | null | null | /*
In this tutorial we will learn how to compute normals for an organized point cloud using integral images.
*/
#include "stdafx.h"
#include <iostream>
#include <vtkAutoInit.h>
#include <pcl/point_types.h>
#include <pcl/features/integral_image_normal.h>
#include <pcl/visualization/cloud_viewer.h>
#include "KinnectGrab... | 25.02 | 105 | 0.725819 | QuMIke |
cde9044a298196a1039c9161b0ed2707281e40a0 | 2,390 | cpp | C++ | src/xtd.forms/src/xtd/forms/user_control.cpp | ExternalRepositories/xtd | 5889d69900ad22a00fcb640d7850a1d599cf593a | [
"MIT"
] | 251 | 2019-04-20T02:02:24.000Z | 2022-03-31T09:52:08.000Z | src/xtd.forms/src/xtd/forms/user_control.cpp | ExternalRepositories/xtd | 5889d69900ad22a00fcb640d7850a1d599cf593a | [
"MIT"
] | 29 | 2021-01-07T12:52:12.000Z | 2022-03-29T08:42:14.000Z | src/xtd.forms/src/xtd/forms/user_control.cpp | ExternalRepositories/xtd | 5889d69900ad22a00fcb640d7850a1d599cf593a | [
"MIT"
] | 27 | 2019-11-21T02:37:44.000Z | 2022-03-30T22:59:14.000Z | #define __XTD_FORMS_NATIVE_LIBRARY__
#include <xtd/forms/native/control.h>
#include <xtd/forms/native/extended_window_styles.h>
#include <xtd/forms/native/user_control.h>
#include <xtd/forms/native/toolkit.h>
#include <xtd/forms/native/window_styles.h>
#undef __XTD_FORMS_NATIVE_LIBRARY__
#include <xtd/drawing/pens.h>
#... | 39.833333 | 235 | 0.745607 | ExternalRepositories |
cde939a36d2821f3e438baa0c9f21dcb7aaa75d7 | 4,910 | cpp | C++ | inetcore/mshtml/src/dxt/proctexe/src/iutility.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | inetcore/mshtml/src/dxt/proctexe/src/iutility.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | inetcore/mshtml/src/dxt/proctexe/src/iutility.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*
// IUTILITY.CPP
//
// INTEL CORPORATION PROPRIETARY INFORMATION
// This software is supplied under the terms of a license agreement or
// nondisclosure agreement with Intel Corporation and may not be copied
// or disclosed except in accordance with the terms of that agreement.
//
// Co... | 23.719807 | 81 | 0.589002 | npocmaka |
cde9bfc27e35818bd07632782b49ec82d5e94d67 | 3,727 | cpp | C++ | PAT_A/A1016|Phone Bills|e.g.cpp | FunamiYui/PAT_Code_Akari | 52e06689b6bf8177c43ab9256719258c47e80b25 | [
"MIT"
] | null | null | null | PAT_A/A1016|Phone Bills|e.g.cpp | FunamiYui/PAT_Code_Akari | 52e06689b6bf8177c43ab9256719258c47e80b25 | [
"MIT"
] | null | null | null | PAT_A/A1016|Phone Bills|e.g.cpp | FunamiYui/PAT_Code_Akari | 52e06689b6bf8177c43ab9256719258c47e80b25 | [
"MIT"
] | null | null | null | //example
#include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
const int maxn = 1010;
int toll[25]; //资费
struct Record {
char name[25]; //姓名
int month, dd, hh, mm; //月份、日、时、分
bool status; //status == true表示该记录为on-line, 否则为off-line
} rec[maxn], temp;
bool cmp(Reco... | 35.160377 | 104 | 0.513818 | FunamiYui |
cdea90f6d4d3824324c0b38f0a84cc8cfd0e0e3a | 4,526 | cpp | C++ | common/metrics.cpp | plsmaop/SLOG | bcf5775fdb756d73e56265835020517f6f7b79a7 | [
"MIT"
] | 26 | 2020-01-31T18:12:44.000Z | 2022-02-07T01:46:07.000Z | common/metrics.cpp | plsmaop/SLOG | bcf5775fdb756d73e56265835020517f6f7b79a7 | [
"MIT"
] | 17 | 2020-01-30T20:40:35.000Z | 2021-12-22T18:43:21.000Z | common/metrics.cpp | plsmaop/SLOG | bcf5775fdb756d73e56265835020517f6f7b79a7 | [
"MIT"
] | 6 | 2019-12-24T15:30:45.000Z | 2021-07-06T19:47:30.000Z | #include "metrics.h"
#include <algorithm>
#include <list>
#include <random>
#include "common/csv_writer.h"
#include "common/proto_utils.h"
#include "glog/logging.h"
#include "proto/internal.pb.h"
#include "version.h"
namespace slog {
using time_point_t = std::chrono::system_clock::time_point;
class TransactionEven... | 31.213793 | 120 | 0.702828 | plsmaop |
cdeb94ad29e7d5ba1a3cb5525a706718280ca0dc | 12,406 | hpp | C++ | include/preform/fresnel.hpp | mgradysaunders/preform | ab5713d95653bd647d2985cdcd2c9e0e9a05f488 | [
"BSD-2-Clause"
] | null | null | null | include/preform/fresnel.hpp | mgradysaunders/preform | ab5713d95653bd647d2985cdcd2c9e0e9a05f488 | [
"BSD-2-Clause"
] | null | null | null | include/preform/fresnel.hpp | mgradysaunders/preform | ab5713d95653bd647d2985cdcd2c9e0e9a05f488 | [
"BSD-2-Clause"
] | null | null | null | /* Copyright (c) 2018-20 M. Grady Saunders
*
* 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 of conditions and the ... | 27.265934 | 79 | 0.586007 | mgradysaunders |
cdebb629a94a7919cae317444dbb1b28755d0403 | 1,231 | cc | C++ | server/core/Source/SuccessiveOverRelaxationSpace.cc | paxbun/laplace-eq-therm | 26d50e5a559213f7248783329e7c4145cfd92589 | [
"MIT"
] | 1 | 2021-10-14T00:44:19.000Z | 2021-10-14T00:44:19.000Z | server/core/Source/SuccessiveOverRelaxationSpace.cc | paxbun/laplace-eq-therm | 26d50e5a559213f7248783329e7c4145cfd92589 | [
"MIT"
] | null | null | null | server/core/Source/SuccessiveOverRelaxationSpace.cc | paxbun/laplace-eq-therm | 26d50e5a559213f7248783329e7c4145cfd92589 | [
"MIT"
] | null | null | null | // Copyright (c) 2021 Chanjung Kim. All rights reserved.
// Licensed under the MIT License.
#include <leth/SuccessiveOverRelaxationSpace.hh>
#include <cmath>
#include <cstdio>
char const* SuccessiveOverRelaxationSpace::GetName() noexcept
{
return "SOR";
}
void SuccessiveOverRelaxationSpace::SolveEquation(std::v... | 27.355556 | 91 | 0.471974 | paxbun |
cdef8fffd037bc26f943dc5ac0cab4958310a58f | 4,288 | cpp | C++ | Engine/EngineCore/QtJSONStartupSettingsDataAccessObject.cpp | OGRECave/scape | 9c95ec7b6d8372a7a2a4eb6b96dcb5f2219e2bf2 | [
"BSD-2-Clause"
] | 48 | 2018-06-18T01:38:41.000Z | 2022-03-25T10:29:27.000Z | Engine/EngineCore/QtJSONStartupSettingsDataAccessObject.cpp | OGRECave/scape | 9c95ec7b6d8372a7a2a4eb6b96dcb5f2219e2bf2 | [
"BSD-2-Clause"
] | 32 | 2018-07-23T14:17:23.000Z | 2020-11-02T23:28:48.000Z | Engine/EngineCore/QtJSONStartupSettingsDataAccessObject.cpp | OGRECave/scape | 9c95ec7b6d8372a7a2a4eb6b96dcb5f2219e2bf2 | [
"BSD-2-Clause"
] | 7 | 2018-07-23T09:34:06.000Z | 2022-02-15T09:54:16.000Z | #include "ScapeEngineStableHeaders.h"
#include "QtJSONStartupSettingsDataAccessObject.h"
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonArray>
namespace ScapeEngine
{
QtJSONStartupSettingsDataAccessObject::QtJSONStartupSettingsDataAccessObject(std::string fileName)
: mFileHelper(fileName)
{
}
Qt... | 36.033613 | 107 | 0.549907 | OGRECave |
cdef92abd5e89278a8a57bdd0b8b9f09f4d104f0 | 1,918 | cpp | C++ | engine/ui/Container.cpp | hisoka999/libsgl | 1fb0c0cb0f7266b034463c2baa750cc7d3ac5eec | [
"BSD-3-Clause"
] | null | null | null | engine/ui/Container.cpp | hisoka999/libsgl | 1fb0c0cb0f7266b034463c2baa750cc7d3ac5eec | [
"BSD-3-Clause"
] | null | null | null | engine/ui/Container.cpp | hisoka999/libsgl | 1fb0c0cb0f7266b034463c2baa750cc7d3ac5eec | [
"BSD-3-Clause"
] | null | null | null | #include "engine/ui/Container.h"
#include <algorithm>
namespace UI
{
Container::Container()
{
// ctor
}
Container::~Container()
{
}
void Container::addObject(const std::shared_ptr<Object> &obj)
{
objects.push_back(obj);
// std::sort(std::be... | 21.795455 | 142 | 0.493222 | hisoka999 |
cdef93fdb4f4154757973ddad8707110928b6011 | 78,041 | cpp | C++ | 3rdparty/webkit/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.cpp | mchiasson/PhaserNative | f867454602c395484bf730a7c43b9c586c102ac2 | [
"MIT"
] | null | null | null | 3rdparty/webkit/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.cpp | mchiasson/PhaserNative | f867454602c395484bf730a7c43b9c586c102ac2 | [
"MIT"
] | null | null | null | 3rdparty/webkit/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.cpp | mchiasson/PhaserNative | f867454602c395484bf730a7c43b9c586c102ac2 | [
"MIT"
] | 1 | 2019-01-25T13:55:25.000Z | 2019-01-25T13:55:25.000Z | /*
* Copyright (C) 2015, 2016 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condit... | 40.816423 | 294 | 0.760382 | mchiasson |
cdefe2402350f797df3ea722afdc56404cc3b9ce | 2,734 | cpp | C++ | Userland/Libraries/LibKeyboard/CharacterMapFile.cpp | holdengreen/serenity | 0fccada6e9f714f76b2fbe0d189dcf4f26de38d4 | [
"BSD-2-Clause"
] | 1 | 2021-10-05T14:07:23.000Z | 2021-10-05T14:07:23.000Z | Userland/Libraries/LibKeyboard/CharacterMapFile.cpp | holdengreen/serenity | 0fccada6e9f714f76b2fbe0d189dcf4f26de38d4 | [
"BSD-2-Clause"
] | null | null | null | Userland/Libraries/LibKeyboard/CharacterMapFile.cpp | holdengreen/serenity | 0fccada6e9f714f76b2fbe0d189dcf4f26de38d4 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2020, Hüseyin Aslıtürk <asliturk@hotmail.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include "CharacterMapFile.h"
#include <AK/ByteBuffer.h>
#include <AK/Utf8View.h>
#include <LibCore/File.h>
namespace Keyboard {
Optional<CharacterMapData> CharacterMapFile::load_from_file(const String& ... | 30.043956 | 84 | 0.606072 | holdengreen |
cdf3639cd86f2beaf7352a71ead3e4cf14d4ce00 | 22,087 | cc | C++ | src/operator/nn/mkldnn/mkldnn_deconvolution.cc | mchoi8739/incubator-mxnet | cff583250479b31c394f568ffb835b720cb84dc4 | [
"Apache-2.0"
] | 211 | 2016-06-06T08:32:36.000Z | 2021-07-03T16:50:16.000Z | src/operator/nn/mkldnn/mkldnn_deconvolution.cc | mchoi8739/incubator-mxnet | cff583250479b31c394f568ffb835b720cb84dc4 | [
"Apache-2.0"
] | 82 | 2016-03-29T02:40:02.000Z | 2021-02-06T22:20:40.000Z | src/operator/nn/mkldnn/mkldnn_deconvolution.cc | mchoi8739/incubator-mxnet | cff583250479b31c394f568ffb835b720cb84dc4 | [
"Apache-2.0"
] | 58 | 2016-10-27T07:37:08.000Z | 2021-07-03T16:50:17.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 ... | 41.752363 | 84 | 0.674243 | mchoi8739 |
cdf44bf58e402b5f8bb463b5b2d64a000d6943e9 | 2,056 | cpp | C++ | C++/0952-Largest-Component-Size-by-Common-Factor/soln-1.cpp | wyaadarsh/LeetCode-Solutions | 3719f5cb059eefd66b83eb8ae990652f4b7fd124 | [
"MIT"
] | 5 | 2020-07-24T17:48:59.000Z | 2020-12-21T05:56:00.000Z | C++/0952-Largest-Component-Size-by-Common-Factor/soln-1.cpp | zhangyaqi1989/LeetCode-Solutions | 2655a1ffc8678ad1de6c24295071308a18c5dc6e | [
"MIT"
] | null | null | null | C++/0952-Largest-Component-Size-by-Common-Factor/soln-1.cpp | zhangyaqi1989/LeetCode-Solutions | 2655a1ffc8678ad1de6c24295071308a18c5dc6e | [
"MIT"
] | 2 | 2020-07-24T17:49:01.000Z | 2020-08-31T19:57:35.000Z | typedef long long ll;
typedef vector<int> VI;
typedef pair<int, int> PII;
#define REP(i,s,t) for(int i = (s); i < (t); i++)
#define FILL(x,v) memset(x, v, sizeof(x))
#define MAXN 100005
int parent[MAXN], cnt[MAXN];
int find(int x) {
if (parent[x] != x)
parent[x] = find(parent[x]);
return parent[x];
}... | 25.7 | 59 | 0.36965 | wyaadarsh |
cdf4d392d1d6d036ee22e88d1eacfcada103320b | 35,731 | cpp | C++ | innative-cmd/main.cpp | innative-sdk/innative | 7c4733a390ace01900e914b1b03cc6bc96e879c8 | [
"Apache-2.0"
] | 381 | 2018-12-13T19:53:48.000Z | 2022-03-21T07:33:39.000Z | innative-cmd/main.cpp | Black-Sphere-Studios/innative | 7c4733a390ace01900e914b1b03cc6bc96e879c8 | [
"Apache-2.0"
] | 62 | 2018-10-16T15:42:25.000Z | 2021-03-29T23:55:56.000Z | innative-cmd/main.cpp | Black-Sphere-Studios/innative | 7c4733a390ace01900e914b1b03cc6bc96e879c8 | [
"Apache-2.0"
] | 13 | 2018-12-13T17:43:49.000Z | 2020-06-13T15:10:38.000Z | // Copyright (c)2021 Fundament Software
// For conditions of distribution and use, see copyright notice in innative.h
#include "innative/export.h"
#include <iostream>
#include <vector>
#include <fstream>
#include <unordered_map>
#include <functional>
#include <algorithm>
#include "../innative/filesys.h"
#ifdef IN_PLA... | 33.645009 | 199 | 0.62867 | innative-sdk |
cdf684d46caa1458057b6f7634711f50718f4658 | 24,102 | hpp | C++ | DoubleInt_t.hpp | jlinton/DoubleInt_t | 83659199e5136c376d1731ce39ce45193577db6c | [
"MIT"
] | 3 | 2015-05-12T02:33:28.000Z | 2017-12-06T08:47:27.000Z | DoubleInt_t.hpp | jlinton/DoubleInt_t | 83659199e5136c376d1731ce39ce45193577db6c | [
"MIT"
] | null | null | null | DoubleInt_t.hpp | jlinton/DoubleInt_t | 83659199e5136c376d1731ce39ce45193577db6c | [
"MIT"
] | null | null | null | // C++ BigNum template class
// AKA the integer doubler template.
// Copyright(C) 2007,2015 Jeremy Linton
//
// Source identity: DoubleInt_t.hpp
//
// This started as an amusing exercise in template meta-programming..
// Or in this case nestable classes. AKA std::list<std::list<>>
// But the optimizer can see into the... | 37.896226 | 176 | 0.604141 | jlinton |
cdf7846090d718f0212812423cec4c4804eecba2 | 1,752 | cpp | C++ | Sources/Elastos/Packages/Apps/Arity/src/org/javia/arity/CDerivative.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/Packages/Apps/Arity/src/org/javia/arity/CDerivative.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/Packages/Apps/Arity/src/org/javia/arity/CDerivative.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z | //=========================================================================
// Copyright (C) 2012 The Elastos Open Source Project
//
// 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
//
// ... | 25.764706 | 75 | 0.626712 | jingcao80 |
cdf81102fac6668ce226adff31a8cfefe0ff79fa | 3,676 | cpp | C++ | src/Broadcaster2006/OnAir/ComercialWnd.cpp | pedroroque/DigitalBroadcaster | 279e65b348421dcd8db53ebb588154b85dc169e9 | [
"MIT"
] | null | null | null | src/Broadcaster2006/OnAir/ComercialWnd.cpp | pedroroque/DigitalBroadcaster | 279e65b348421dcd8db53ebb588154b85dc169e9 | [
"MIT"
] | null | null | null | src/Broadcaster2006/OnAir/ComercialWnd.cpp | pedroroque/DigitalBroadcaster | 279e65b348421dcd8db53ebb588154b85dc169e9 | [
"MIT"
] | null | null | null | // ComercialWnd.cpp : implementation file
//
#include "stdafx.h"
#include "OnAir.h"
#include "ComercialWnd.h"
#include "ExternalObjects.h"
#include "OnAirUtils.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
//////////////////////////////////////////////////////////... | 22.832298 | 129 | 0.715996 | pedroroque |
cdf937b7f8c26ab46651077cd53e332d416bfd0d | 12,392 | cpp | C++ | src/map2gtf.cpp | infphilo/tophat | 37540ce3f0c10e0f0bfafa2f29450055fc5da384 | [
"BSL-1.0"
] | 113 | 2015-04-07T13:21:43.000Z | 2021-08-20T01:52:43.000Z | src/map2gtf.cpp | infphilo/tophat | 37540ce3f0c10e0f0bfafa2f29450055fc5da384 | [
"BSL-1.0"
] | 47 | 2015-04-09T09:37:59.000Z | 2018-12-12T11:49:30.000Z | src/map2gtf.cpp | infphilo/tophat | 37540ce3f0c10e0f0bfafa2f29450055fc5da384 | [
"BSL-1.0"
] | 59 | 2015-04-01T13:48:59.000Z | 2021-11-15T09:27:30.000Z | /*
* Author: Harold Pimentel
* Contact: http://cs.berkeley.edu/~pimentel
* Date: June 10, 2011
*/
#include "map2gtf.h"
#include "tokenize.h"
void m2g_print_usage()
{
std::cerr << "Usage: map2gtf annotation.tlst "
<< "alignments.bam out_file.bam" << std::endl;
}
void tline_parserr(const std::string... | 26.997821 | 96 | 0.617172 | infphilo |
a8007606839f98a50fb9df66f5e184f1252da6c0 | 10,063 | cpp | C++ | arduino/opencr_arduino/opencr/libraries/SPI/SPI.cpp | yemiaobing/opencr | 8700d276f60cb72db4f1ed85deff26a5f96ce7b6 | [
"Apache-2.0"
] | 2 | 2021-04-27T17:09:19.000Z | 2021-04-27T17:09:24.000Z | arduino/opencr_arduino/opencr/libraries/SPI/SPI.cpp | yemiaobing/opencr | 8700d276f60cb72db4f1ed85deff26a5f96ce7b6 | [
"Apache-2.0"
] | null | null | null | arduino/opencr_arduino/opencr/libraries/SPI/SPI.cpp | yemiaobing/opencr | 8700d276f60cb72db4f1ed85deff26a5f96ce7b6 | [
"Apache-2.0"
] | 1 | 2019-02-03T04:49:15.000Z | 2019-02-03T04:49:15.000Z | /****************************************************************************
*
* SPI Master library for Arduino STM32 + HAL + CubeMX (HALMX).
*
* Copyright (c) 2016 by Vassilis Serasidis <info@serasidis.gr>
* Home: http://www.serasidis.gr
* email: avrsite@yahoo.gr
*
* Arduino_STM32 forum: http://www.st... | 29.510264 | 106 | 0.626751 | yemiaobing |
a800e34843a4e503655ef77a2e9f87be9ff212d7 | 1,592 | hpp | C++ | Stats.hpp | fakecoinbase/PttnslashrieMiner | fc00288c7dadb2edcc47424dcf103de576ffb234 | [
"MIT"
] | null | null | null | Stats.hpp | fakecoinbase/PttnslashrieMiner | fc00288c7dadb2edcc47424dcf103de576ffb234 | [
"MIT"
] | null | null | null | Stats.hpp | fakecoinbase/PttnslashrieMiner | fc00288c7dadb2edcc47424dcf103de576ffb234 | [
"MIT"
] | null | null | null | // (c) 2017-2019 Pttn (https://github.com/Pttn/rieMiner)
#ifndef HEADER_Stats_hpp
#define HEADER_Stats_hpp
#include "tools.hpp"
// Contains stats data like: tuple counts, time elapsed since mining or latest difficulty change
// Provides useful stats displaying features
class Stats {
std::vector<uint64_t> _tuples, _... | 33.166667 | 98 | 0.76005 | fakecoinbase |
a802f7ec6e5925309f36fab5ffdf352fe5e8c7de | 20,487 | cpp | C++ | Source/WebCore/html/parser/HTMLPreloadScanner.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 6 | 2021-07-05T16:09:39.000Z | 2022-03-06T22:44:42.000Z | Source/WebCore/html/parser/HTMLPreloadScanner.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 7 | 2022-03-15T13:25:39.000Z | 2022-03-15T13:25:44.000Z | Source/WebCore/html/parser/HTMLPreloadScanner.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (C) 2008, 2014 Apple Inc. All Rights Reserved.
* Copyright (C) 2009 Torch Mobile, Inc. http://www.torchmobile.com/
* Copyright (C) 2010 Google Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following c... | 38.509398 | 195 | 0.651779 | jacadcaps |
a8059cd5a89f7c1576103e6a2c7902038e12530d | 8,545 | cpp | C++ | src/lift.cpp | IrvingtonRobotics/tower-takeover-A | a17524116d6d896d00420b1229f0a46727a72f1e | [
"MIT"
] | null | null | null | src/lift.cpp | IrvingtonRobotics/tower-takeover-A | a17524116d6d896d00420b1229f0a46727a72f1e | [
"MIT"
] | null | null | null | src/lift.cpp | IrvingtonRobotics/tower-takeover-A | a17524116d6d896d00420b1229f0a46727a72f1e | [
"MIT"
] | 1 | 2019-07-02T06:37:25.000Z | 2019-07-02T06:37:25.000Z | #include "main.h"
#include "ports.hpp"
extern bool doClearArm;
extern bool doUnclearArm;
extern bool doClearDropArm;
/**
* Main class for the Lift subsystem.
* Wraps around both AsyncPosIntegratedController and AsyncVelIntegratedController
* to provide movement to precise locations and smooth movement when lowerin... | 27.300319 | 87 | 0.667993 | IrvingtonRobotics |
a8060728fffbfba048d7571e27be8fbeb3f6447e | 11,548 | cpp | C++ | src/postgres/backend/nodes/read.cpp | jessesleeping/my_peloton | a19426cfe34a04692a11008eaffc9c3c9b49abc4 | [
"Apache-2.0"
] | 6 | 2017-04-28T00:38:52.000Z | 2018-11-06T07:06:49.000Z | src/postgres/backend/nodes/read.cpp | jessesleeping/my_peloton | a19426cfe34a04692a11008eaffc9c3c9b49abc4 | [
"Apache-2.0"
] | 57 | 2016-03-19T22:27:55.000Z | 2017-07-08T00:41:51.000Z | src/postgres/backend/nodes/read.cpp | eric-haibin-lin/pelotondb | 904d6bbd041a0498ee0e034d4f9f9f27086c3cab | [
"Apache-2.0"
] | 4 | 2016-07-17T20:44:56.000Z | 2018-06-27T01:01:36.000Z | /*-------------------------------------------------------------------------
*
* read.c
* routines to convert a string (legal ascii representation of node) back
* to nodes
*
* Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of Cali... | 27.171765 | 79 | 0.604953 | jessesleeping |
a80a752187acdc56525ef7ade8ebbba1d04b5191 | 128 | hxx | C++ | src/Providers/UNIXProviders/MonitorResolution/UNIX_MonitorResolution_AIX.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | 1 | 2020-10-12T09:00:09.000Z | 2020-10-12T09:00:09.000Z | src/Providers/UNIXProviders/MonitorResolution/UNIX_MonitorResolution_AIX.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | src/Providers/UNIXProviders/MonitorResolution/UNIX_MonitorResolution_AIX.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | #ifdef PEGASUS_OS_AIX
#ifndef __UNIX_MONITORRESOLUTION_PRIVATE_H
#define __UNIX_MONITORRESOLUTION_PRIVATE_H
#endif
#endif
| 10.666667 | 42 | 0.851563 | brunolauze |
a815aa6282df56f126dff9ccc284caf04f64ffdb | 4,239 | cpp | C++ | swri_opencv_util/src/show.cpp | fatadama/marti_common | 892c76ef02f91f45a72161b92989c47d931471f2 | [
"BSD-3-Clause"
] | 1 | 2020-03-19T09:19:10.000Z | 2020-03-19T09:19:10.000Z | swri_opencv_util/src/show.cpp | wangwenqiangGitHub/marti_common | cd601b8701e1f88a6de5c8c8ff4b992f24490e36 | [
"BSD-3-Clause"
] | null | null | null | swri_opencv_util/src/show.cpp | wangwenqiangGitHub/marti_common | cd601b8701e1f88a6de5c8c8ff4b992f24490e36 | [
"BSD-3-Clause"
] | null | null | null | // *****************************************************************************
//
// Copyright (c) 2014, Southwest Research Institute® (SwRI®)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:... | 29.852113 | 80 | 0.610993 | fatadama |
a81c4c440900594c010d09cb35606d3f5e2062aa | 1,835 | hh | C++ | host/plugin-param.hh | prokopyl/clap-host | ee8eb43895d5cc5d741788661f752c4a9cab9d2e | [
"MIT"
] | 24 | 2021-12-01T13:36:25.000Z | 2022-03-17T10:12:29.000Z | host/plugin-param.hh | prokopyl/clap-host | ee8eb43895d5cc5d741788661f752c4a9cab9d2e | [
"MIT"
] | 9 | 2021-11-02T14:39:54.000Z | 2022-03-19T11:04:54.000Z | host/plugin-param.hh | prokopyl/clap-host | ee8eb43895d5cc5d741788661f752c4a9cab9d2e | [
"MIT"
] | 4 | 2021-11-02T09:01:50.000Z | 2022-02-04T20:00:35.000Z | #pragma once
#include <ostream>
#include <unordered_map>
#include <QObject>
#include <clap/clap.h>
class PluginHost;
class PluginParam : public QObject {
Q_OBJECT;
public:
PluginParam(PluginHost &pluginHost, const clap_param_info &info, double value);
double value() const { return _value; }
void setVa... | 26.985294 | 88 | 0.703542 | prokopyl |
a81d3ec60692368f5630d75e694a07f84c64ae44 | 7,749 | cpp | C++ | lib/cameras/YPRCamera.cpp | nghiattran/KittiViz | fa3ac5edb1f5efbfef7a9ef2926042f32045b7c0 | [
"MIT"
] | 19 | 2017-12-29T14:34:58.000Z | 2021-12-22T07:46:32.000Z | lib/cameras/YPRCamera.cpp | dj-boy/KittiViz | fa3ac5edb1f5efbfef7a9ef2926042f32045b7c0 | [
"MIT"
] | 1 | 2017-12-29T14:34:53.000Z | 2018-08-05T20:09:56.000Z | lib/cameras/YPRCamera.cpp | dj-boy/KittiViz | fa3ac5edb1f5efbfef7a9ef2926042f32045b7c0 | [
"MIT"
] | 3 | 2018-01-25T00:17:24.000Z | 2021-07-03T15:36:58.000Z | #include "YPRCamera.h"
/**
\file YPRCamera.cpp
\brief Implementation file for the YPRCamera class.
\author Don Spickler
\version 1.1
\date Written: 2/28/2016 <BR> Revised: 2/28/2016
*/
/**
\brief Constructor
Position is at the origin, the view vector is pointing down the negative z-axis... | 19.667513 | 121 | 0.612595 | nghiattran |
a81dc4026cfb4c007f2ccf37e0eb129b680192a3 | 2,802 | cpp | C++ | src/Views/C64/VicDisplay/C64CharMulti.cpp | slajerek/RetroDebugger | e761e4f9efd103a05e65ef283423b142fa4324c7 | [
"Apache-2.0",
"MIT"
] | 34 | 2021-05-29T07:04:17.000Z | 2022-03-10T20:16:03.000Z | src/Views/C64/VicDisplay/C64CharMulti.cpp | slajerek/RetroDebugger | e761e4f9efd103a05e65ef283423b142fa4324c7 | [
"Apache-2.0",
"MIT"
] | 6 | 2021-12-25T13:05:21.000Z | 2022-01-19T17:35:17.000Z | src/Views/C64/VicDisplay/C64CharMulti.cpp | slajerek/RetroDebugger | e761e4f9efd103a05e65ef283423b142fa4324c7 | [
"Apache-2.0",
"MIT"
] | 6 | 2021-12-24T18:37:41.000Z | 2022-02-06T23:06:02.000Z | #include "C64CharMulti.h"
#include "CViewC64VicDisplay.h"
#include "CViewC64.h"
// copy from multi bitmap
C64CharMulti::C64CharMulti(CViewC64VicDisplay *vicDisplay, int x, int y)
: C64Bitmap(4, 8, true)
{
pixels = new u8[4*8];
colors = new u8[4];
histogram = new u8[4];
memset(colors, 0x00, 4);
memset(histogra... | 23.157025 | 150 | 0.613847 | slajerek |
a81e623282db9ad64b99ffa6c29c6b915ca15ef1 | 1,018 | hpp | C++ | include/okapi/impl/device/motor/adiMotor.hpp | seendsouza/PROS_CPP_6M_Template | d93b32911d6cf9432718fad41ee3a8ec55c89184 | [
"MIT"
] | 7 | 2019-05-15T00:44:20.000Z | 2020-08-31T14:17:37.000Z | include/okapi/impl/device/motor/adiMotor.hpp | seendsouza/PROS_CPP_6M_Template | d93b32911d6cf9432718fad41ee3a8ec55c89184 | [
"MIT"
] | 3 | 2019-07-26T15:56:19.000Z | 2019-07-29T02:55:32.000Z | include/okapi/impl/device/motor/adiMotor.hpp | 1069B/Tower_Takeover | 331a323216cd006a8cc3bc7a326ebe3a463e429f | [
"MIT"
] | 3 | 2019-05-31T18:08:54.000Z | 2019-08-29T22:53:53.000Z | /**
* @author Ryan Benasutti, WPI
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#pragma once
#include "api.h"
#include "okapi/api/control/controllerOutput.... | 26.789474 | 100 | 0.697446 | seendsouza |