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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bfb56b443794fdceecef3c032ecc390fbadd32c8 | 2,468 | cpp | C++ | test/runtime/local/kernels/SyrkTest.cpp | daphne-eu/daphne | 64d4040132cf4059efaf184c4e363dbb921c87d6 | [
"Apache-2.0"
] | 10 | 2022-03-31T21:49:35.000Z | 2022-03-31T23:37:06.000Z | test/runtime/local/kernels/SyrkTest.cpp | daphne-eu/daphne | 64d4040132cf4059efaf184c4e363dbb921c87d6 | [
"Apache-2.0"
] | 3 | 2022-03-31T22:10:10.000Z | 2022-03-31T22:46:30.000Z | test/runtime/local/kernels/SyrkTest.cpp | daphne-eu/daphne | 64d4040132cf4059efaf184c4e363dbb921c87d6 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2021 The DAPHNE Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 23.730769 | 81 | 0.583874 | daphne-eu |
bfb7d54b086a538137da0bc456e2c65a249a0bac | 385 | hpp | C++ | cpu.hpp | AVasK/core | e8f73f2b92be1ac0a98bda2824682181c5575748 | [
"MIT"
] | null | null | null | cpu.hpp | AVasK/core | e8f73f2b92be1ac0a98bda2824682181c5575748 | [
"MIT"
] | null | null | null | cpu.hpp | AVasK/core | e8f73f2b92be1ac0a98bda2824682181c5575748 | [
"MIT"
] | null | null | null | #pragma once
#if __APPLE__
#include "device_info/apple_platform.hpp"
#elif defined __has_include && __has_include(<sys/param.h>) && __has_include(<sys/sysctl.h>)
#include "device_info/sysctl_info.hpp"
// #elif __WIN32__
//! TODO: Add support for windows
// #elif (__x86_64__ || __amd64__)
//! TODO: Use x86 cpuid to que... | 27.5 | 92 | 0.750649 | AVasK |
bfbb8ce249c73eb70e50b534fb0a53ea3bf5fdde | 510 | cpp | C++ | src/core/states/StateSelectPasswordId.cpp | Governikus/AusweisApp2-Omapi | 0d563e61cb385492cef96c2542d50a467e003259 | [
"Apache-2.0"
] | 1 | 2019-06-06T11:58:51.000Z | 2019-06-06T11:58:51.000Z | src/core/states/StateSelectPasswordId.cpp | ckahlo/AusweisApp2-Omapi | 5141b82599f9f11ae32ff7221b6de3b885e6e5f9 | [
"Apache-2.0"
] | 1 | 2022-01-28T11:08:59.000Z | 2022-01-28T12:05:33.000Z | src/core/states/StateSelectPasswordId.cpp | ckahlo/AusweisApp2-Omapi | 5141b82599f9f11ae32ff7221b6de3b885e6e5f9 | [
"Apache-2.0"
] | 3 | 2019-06-06T11:58:14.000Z | 2021-11-15T23:32:04.000Z | /*!
* \copyright Copyright (c) 2018-2019 Governikus GmbH & Co. KG, Germany
*/
#include "StateSelectPasswordId.h"
using namespace governikus;
StateSelectPasswordId::StateSelectPasswordId(const QSharedPointer<WorkflowContext>& pContext)
: AbstractGenericState(pContext)
{
}
void StateSelectPasswordId::run()
{
c... | 17.586207 | 93 | 0.735294 | Governikus |
bfbedea09206a5cbc8ace6bc31ac9907bc5fd537 | 10,067 | hpp | C++ | include/gp/problem/problem.hpp | ho-ri1991/genetic-programming | 06d0c1f0719f4d2ddcf9c066d9de1d0bb67772b0 | [
"MIT"
] | null | null | null | include/gp/problem/problem.hpp | ho-ri1991/genetic-programming | 06d0c1f0719f4d2ddcf9c066d9de1d0bb67772b0 | [
"MIT"
] | null | null | null | include/gp/problem/problem.hpp | ho-ri1991/genetic-programming | 06d0c1f0719f4d2ddcf9c066d9de1d0bb67772b0 | [
"MIT"
] | null | null | null | #ifndef GP_PROBLEM_PROBLEM
#define GP_PROBLEM_PROBLEM
#include <any>
#include <algorithm>
#include <gp/utility/type.hpp>
#include <gp/utility/variable.hpp>
#include <gp/utility/result.hpp>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/xml_parser.hpp>
#include <limits>
namespace gp::problem {
... | 61.012121 | 206 | 0.548525 | ho-ri1991 |
bfbf097838dfd1611e2eba0f63106220413f9729 | 26,642 | cpp | C++ | App/EZDefaultAction.cpp | ouxianghui/ezcam | 195fb402202442b6d035bd70853f2d8c3f615de1 | [
"MIT"
] | 12 | 2021-03-26T03:23:30.000Z | 2021-12-31T10:05:44.000Z | App/EZDefaultAction.cpp | 15831944/ezcam | 195fb402202442b6d035bd70853f2d8c3f615de1 | [
"MIT"
] | null | null | null | App/EZDefaultAction.cpp | 15831944/ezcam | 195fb402202442b6d035bd70853f2d8c3f615de1 | [
"MIT"
] | 9 | 2021-06-23T08:26:40.000Z | 2022-01-20T07:18:10.000Z | #include "EZDefaultAction.h"
#include "RMouseEvent.h"
#include "RSettings.h"
#include "RMath.h"
#include "RGraphicsViewQt.h"
#include <QSharedPointer>
#include "REntity.h"
#include "REntityData.h"
#include "RBlock.h"
#include "RBlockReferenceEntity.h"
#include "RBlockReferenceData.h"
#include "RSnapFree.h"
... | 34.15641 | 135 | 0.525073 | ouxianghui |
bfbf430d78da0096edb13b212a1b93be77a3ec01 | 2,044 | hpp | C++ | RUNETag/include/markerpose.hpp | GeReV/RUNEtag | e8319a132e325d73cdd7759a0d8a5f45f26dd129 | [
"MIT"
] | 31 | 2017-12-29T16:39:07.000Z | 2022-03-25T03:26:29.000Z | RUNETag/include/markerpose.hpp | GeReV/RUNEtag | e8319a132e325d73cdd7759a0d8a5f45f26dd129 | [
"MIT"
] | 7 | 2018-06-29T07:30:14.000Z | 2021-02-16T23:19:20.000Z | RUNETag/include/markerpose.hpp | GeReV/RUNEtag | e8319a132e325d73cdd7759a0d8a5f45f26dd129 | [
"MIT"
] | 13 | 2018-09-27T13:19:12.000Z | 2022-03-02T08:48:42.000Z | /**
* RUNETag fiducial markers library
*
* -----------------------------------------------------------------------------
* The MIT License (MIT)
*
* Copyright (c) 2015 Filippo Bergamasco
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated docume... | 34.644068 | 189 | 0.695695 | GeReV |
bfc1fab970eb48f9eda9f80945f7bbee62921438 | 2,787 | hpp | C++ | libraries/chain/include/infrablockchain/chain/received_transaction_votes_object.hpp | YosemiteLabs/infrablockchain | da05af17a9bfb1c02dafca9d8033c9e1b00e92b3 | [
"Apache-2.0",
"MIT"
] | null | null | null | libraries/chain/include/infrablockchain/chain/received_transaction_votes_object.hpp | YosemiteLabs/infrablockchain | da05af17a9bfb1c02dafca9d8033c9e1b00e92b3 | [
"Apache-2.0",
"MIT"
] | null | null | null | libraries/chain/include/infrablockchain/chain/received_transaction_votes_object.hpp | YosemiteLabs/infrablockchain | da05af17a9bfb1c02dafca9d8033c9e1b00e92b3 | [
"Apache-2.0",
"MIT"
] | null | null | null | /**
* @file infrablockchain/chain/received_transaction_votes_object.hpp
* @author bezalel@infrablockchain.com
* @copyright defined in infrablockchain/LICENSE.txt
*/
#pragma once
#include <eosio/chain/database_utils.hpp>
#include <eosio/chain/multi_index_includes.hpp>
namespace infrablockchain { namespace chain... | 50.672727 | 194 | 0.759598 | YosemiteLabs |
bfc2b5b536ec8501beae3f71d4f36065bb826ddf | 2,017 | hpp | C++ | src/runtime/gpu/gpu_call_frame.hpp | pqLee/ngraph | ddfa95b26a052215baf9bf5aa1ca5d1f92aa00f7 | [
"Apache-2.0"
] | null | null | null | src/runtime/gpu/gpu_call_frame.hpp | pqLee/ngraph | ddfa95b26a052215baf9bf5aa1ca5d1f92aa00f7 | [
"Apache-2.0"
] | null | null | null | src/runtime/gpu/gpu_call_frame.hpp | pqLee/ngraph | ddfa95b26a052215baf9bf5aa1ca5d1f92aa00f7 | [
"Apache-2.0"
] | null | null | null | //*****************************************************************************
// Copyright 2017-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://w... | 36.672727 | 95 | 0.57412 | pqLee |
bfc542efa1d66f67a4cb602590dc486bd9d4dbbc | 801 | cpp | C++ | Medium/Partition Equal Subset Sum.cpp | TheCodeAlpha26/Lets-LeetCode | 00110044763a683d262fed196f7b0742d2e8505f | [
"Apache-2.0"
] | null | null | null | Medium/Partition Equal Subset Sum.cpp | TheCodeAlpha26/Lets-LeetCode | 00110044763a683d262fed196f7b0742d2e8505f | [
"Apache-2.0"
] | null | null | null | Medium/Partition Equal Subset Sum.cpp | TheCodeAlpha26/Lets-LeetCode | 00110044763a683d262fed196f7b0742d2e8505f | [
"Apache-2.0"
] | null | null | null | class Solution {
public:
bool tell_me(int sum,vector<int>& nums)
{
int l = nums.size();
vector<vector<bool>> dp((sum / 2 + 1),vector<bool>((l + 1),true));
for (int i = 1; i <= sum / 2; i++)
dp[i][0] = false;
for (int i = 1; i <= sum / 2; i++)
for (int j = 1; ... | 25.83871 | 74 | 0.357054 | TheCodeAlpha26 |
bfc81a43b20d46752d4363393f543e00c1950721 | 576 | cpp | C++ | test/spring2d/test-spring2d.cpp | sathyamvellal/learnopengl | 54e9fd6193c6dc970b0802bc31c5b558c46586d5 | [
"MIT"
] | null | null | null | test/spring2d/test-spring2d.cpp | sathyamvellal/learnopengl | 54e9fd6193c6dc970b0802bc31c5b558c46586d5 | [
"MIT"
] | null | null | null | test/spring2d/test-spring2d.cpp | sathyamvellal/learnopengl | 54e9fd6193c6dc970b0802bc31c5b558c46586d5 | [
"MIT"
] | null | null | null | //
// Created by Sathyam Vellal on 19/03/2018.
//
#include <cmath>
#include <glm/glm.hpp>
#include "utils/logger.h"
#include "spring2d/spring2d.h"
#include "spring2d/spring2dsim.h"
int main(int argc, char **argv)
{
Spring2DSim spring2DSim(Spring2DSim(5.0));
spring2DSim.init();
glm::vec2 a(2, 3);
... | 18.580645 | 51 | 0.604167 | sathyamvellal |
bfc9baa4c12206be15bd567e3ce9949b4b671d82 | 1,526 | cpp | C++ | Cpp/Yandex/Algorithms/training2_4b/d_state_duma_elections/main.cpp | neon1ks/Study | 5d40171cf3bf5e8d3a95539e91f5afec54d1daf3 | [
"MIT"
] | null | null | null | Cpp/Yandex/Algorithms/training2_4b/d_state_duma_elections/main.cpp | neon1ks/Study | 5d40171cf3bf5e8d3a95539e91f5afec54d1daf3 | [
"MIT"
] | null | null | null | Cpp/Yandex/Algorithms/training2_4b/d_state_duma_elections/main.cpp | neon1ks/Study | 5d40171cf3bf5e8d3a95539e91f5afec54d1daf3 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <string>
#include <tuple>
#include <utility>
#include <vector>
using namespace std;
struct greater_comp
{
template<class T>
bool operator()(T const &a, T const &b) const { return a > b; }
};
int main()
{
vector<string> part... | 23.476923 | 68 | 0.591088 | neon1ks |
bfccffb0592842178fb180a8dfabee277730d4dd | 7,029 | cpp | C++ | src/AbstractComponent.cpp | benzap/Kampf | 9cf4fb0d6ec22bc35ade9b476d29df34902c6689 | [
"Zlib"
] | 2 | 2018-05-13T05:27:29.000Z | 2018-05-29T06:35:57.000Z | src/AbstractComponent.cpp | benzap/Kampf | 9cf4fb0d6ec22bc35ade9b476d29df34902c6689 | [
"Zlib"
] | null | null | null | src/AbstractComponent.cpp | benzap/Kampf | 9cf4fb0d6ec22bc35ade9b476d29df34902c6689 | [
"Zlib"
] | null | null | null | #include "AbstractComponent.hpp"
#include <iostream>
#include <cassert>
AbstractComponent::AbstractComponent(stringType name, enumComponentFamily family, bool bIsParent) :
name(name),
family(family),
bIsParent(bIsParent) {
}
AbstractComponent::~AbstractComponent() {
}
const stringType& AbstractComponent::... | 26.625 | 99 | 0.762982 | benzap |
bfd44d57b02fb0074077693ec5c9e82befb3069a | 1,217 | cpp | C++ | Boolean_set_operations_2/examples/Boolean_set_operations_2/draw_polygon_set.cpp | ffteja/cgal | c1c7f4ad9a4cd669e33ca07a299062a461581812 | [
"CC0-1.0"
] | 3,227 | 2015-03-05T00:19:18.000Z | 2022-03-31T08:20:35.000Z | Boolean_set_operations_2/examples/Boolean_set_operations_2/draw_polygon_set.cpp | ffteja/cgal | c1c7f4ad9a4cd669e33ca07a299062a461581812 | [
"CC0-1.0"
] | 5,574 | 2015-03-05T00:01:56.000Z | 2022-03-31T15:08:11.000Z | Boolean_set_operations_2/examples/Boolean_set_operations_2/draw_polygon_set.cpp | ffteja/cgal | c1c7f4ad9a4cd669e33ca07a299062a461581812 | [
"CC0-1.0"
] | 1,274 | 2015-03-05T00:01:12.000Z | 2022-03-31T14:47:56.000Z | /*! \file draw_polygon_set.cpp
* Drawing a polygon set.
*/
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Polygon_2.h>
#include <CGAL/Polygon_with_holes_2.h>
#include <CGAL/Polygon_set_2.h>
#include <CGAL/draw_polygon_set_2.h>
typedef CGAL::Exact_predicates_exact_constructions_kernel... | 25.354167 | 79 | 0.660641 | ffteja |
bfd8545519f23831a646f62db06fe9cf80d3cc8a | 4,438 | cpp | C++ | src/GamePanel.cpp | MCRewind/Ludum-Dare-40 | cac9d17adbba69cf3b26eb36155d002a499bdf06 | [
"MIT"
] | null | null | null | src/GamePanel.cpp | MCRewind/Ludum-Dare-40 | cac9d17adbba69cf3b26eb36155d002a499bdf06 | [
"MIT"
] | null | null | null | src/GamePanel.cpp | MCRewind/Ludum-Dare-40 | cac9d17adbba69cf3b26eb36155d002a499bdf06 | [
"MIT"
] | null | null | null | #include "GamePanel.h"
#include <string>
int keyOneState = 0;
int keyTwoState = 0;
int keyThreeState = 0;
int buyOneTime = 20;
int buyTwoTime = 20;
int buyThreeTime = 20;
GamePanel::GamePanel(Window * window, Camera * camera) : Panel(window, camera) {
state = 0;
this->window = window;
this->camera = camera;
map ... | 23.73262 | 127 | 0.646462 | MCRewind |
bfd8c471bf8e2b3d9249588c4719e70fa46d37ed | 837 | cpp | C++ | code/shader_light_types.cpp | Ihaa21/ToonShading | f6f8e6037273b36d57e96ab7ee109957058e1992 | [
"MIT"
] | null | null | null | code/shader_light_types.cpp | Ihaa21/ToonShading | f6f8e6037273b36d57e96ab7ee109957058e1992 | [
"MIT"
] | null | null | null | code/shader_light_types.cpp | Ihaa21/ToonShading | f6f8e6037273b36d57e96ab7ee109957058e1992 | [
"MIT"
] | null | null | null |
struct directional_light
{
vec3 Color;
vec3 Dir;
vec3 AmbientLight;
mat4 VPTransform;
};
struct point_light
{
vec3 Color;
vec3 Pos; // NOTE: Camera Space Position
float MaxDistance; // TODO: Rename to radius
};
vec3 PointLightAttenuate(vec3 SurfacePos, point_light Light)
{
vec3 Result... | 23.25 | 88 | 0.671446 | Ihaa21 |
bfda9a62777dae9f19e3be0a4eea25127880b160 | 1,671 | cpp | C++ | ddsrouter_event/src/cpp/wait/BooleanWaitHandler.cpp | eProsima/DDS-Router | 59ff7e87acc718fad7ad9e38912100210675cbca | [
"Apache-2.0"
] | 25 | 2021-11-17T11:48:40.000Z | 2022-03-28T05:59:45.000Z | ddsrouter_event/src/cpp/wait/BooleanWaitHandler.cpp | eProsima/DDS-Router | 59ff7e87acc718fad7ad9e38912100210675cbca | [
"Apache-2.0"
] | 128 | 2021-11-16T11:38:59.000Z | 2022-03-25T10:32:12.000Z | ddsrouter_event/src/cpp/wait/BooleanWaitHandler.cpp | eProsima/DDS-Router | 59ff7e87acc718fad7ad9e38912100210675cbca | [
"Apache-2.0"
] | 4 | 2021-12-17T18:14:36.000Z | 2022-03-11T10:10:16.000Z | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima).
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless re... | 23.871429 | 75 | 0.689408 | eProsima |
bfde7de1ca20fb0c77ea0b9dc6d8de9cdf2afce1 | 2,137 | hpp | C++ | src/common/minhook.hpp | PragmaTwice/proxinject | 3de394b110301c2d04eb4bc83c1f7bbabc214531 | [
"Apache-2.0"
] | null | null | null | src/common/minhook.hpp | PragmaTwice/proxinject | 3de394b110301c2d04eb4bc83c1f7bbabc214531 | [
"Apache-2.0"
] | null | null | null | src/common/minhook.hpp | PragmaTwice/proxinject | 3de394b110301c2d04eb4bc83c1f7bbabc214531 | [
"Apache-2.0"
] | null | null | null | // Copyright 2022 PragmaTwice
//
// Licensed under the Apache License,
// Version 2.0(the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | 28.493333 | 75 | 0.689752 | PragmaTwice |
bfdfe590b733a58fd999394f876eaacce78bb14f | 1,828 | hpp | C++ | MultiDimensionalArray.hpp | astrowar/SuperNovaeOpenCL | 7fd322d289f642feb4e4b8d8a09e92086c76f5e7 | [
"MIT"
] | null | null | null | MultiDimensionalArray.hpp | astrowar/SuperNovaeOpenCL | 7fd322d289f642feb4e4b8d8a09e92086c76f5e7 | [
"MIT"
] | null | null | null | MultiDimensionalArray.hpp | astrowar/SuperNovaeOpenCL | 7fd322d289f642feb4e4b8d8a09e92086c76f5e7 | [
"MIT"
] | null | null | null |
#ifndef MULTIDIMENSIONALARRAY_HPP
#define MULTIDIMENSIONALARRAY_HPP
#include <utility>
#include <vector>
template < typename N>
class Interval
{
const double start;
const double end;
const double delta;
const size_t num_divs;
Interval(double _start, double _end , double _delta): start(_start),end(_end), delta(... | 17.245283 | 138 | 0.640044 | astrowar |
bfdffb4899ad724bc8b51b47528bd63999f9b2b5 | 2,500 | cpp | C++ | cpp/library/boost/program_options.cpp | KaiserLancelot/Cpp-Primer | a4791a6765f0b6c864e8881e6a5328e2a3d68974 | [
"MIT"
] | 2 | 2019-12-21T00:53:47.000Z | 2020-01-01T10:36:30.000Z | cpp/library/boost/program_options.cpp | KaiserLancelot/Cpp-Primer | a4791a6765f0b6c864e8881e6a5328e2a3d68974 | [
"MIT"
] | null | null | null | cpp/library/boost/program_options.cpp | KaiserLancelot/Cpp-Primer | a4791a6765f0b6c864e8881e6a5328e2a3d68974 | [
"MIT"
] | null | null | null | //
// Created by kaiser on 2020/4/27.
//
#include <cstdint>
#include <cstdlib>
#include <iostream>
#include <string>
#include <vector>
#include <boost/program_options/options_description.hpp>
#include <boost/program_options/parsers.hpp>
#include <boost/program_options/positional_options.hpp>
#include <boost/program_o... | 29.761905 | 80 | 0.6184 | KaiserLancelot |
bfe45fd63a66c1ac3be272ee6f9f09ae0e0892a0 | 4,413 | cpp | C++ | dev/Gems/CloudGemMetric/v1/Code/Source/MetricsPriority.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 8 | 2019-10-07T16:33:47.000Z | 2020-12-07T03:59:58.000Z | dev/Gems/CloudGemMetric/v1/Code/Source/MetricsPriority.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | null | null | null | dev/Gems/CloudGemMetric/v1/Code/Source/MetricsPriority.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 5 | 2020-08-27T20:44:18.000Z | 2021-08-21T22:54:11.000Z | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 32.448529 | 150 | 0.612055 | jeikabu |
bfe4e9a9a2ba8972e8dbeed2523c105f49d0bef8 | 21,357 | cc | C++ | ompi/contrib/vt/vt/tools/vtunify/vt_unify_markers.cc | bringhurst/ompi | 7da12594dc72085162265188b505aca0d0cfe811 | [
"BSD-3-Clause-Open-MPI"
] | 1 | 2016-05-01T09:37:07.000Z | 2016-05-01T09:37:07.000Z | ompi/contrib/vt/vt/tools/vtunify/vt_unify_markers.cc | bringhurst/ompi | 7da12594dc72085162265188b505aca0d0cfe811 | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | ompi/contrib/vt/vt/tools/vtunify/vt_unify_markers.cc | bringhurst/ompi | 7da12594dc72085162265188b505aca0d0cfe811 | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | /**
* VampirTrace
* http://www.tu-dresden.de/zih/vampirtrace
*
* Copyright (c) 2005-2011, ZIH, TU Dresden, Federal Republic of Germany
*
* Copyright (c) 1998-2005, Forschungszentrum Juelich, Juelich Supercomputing
* Centre, Federal Republic of Germany
*
* See the file COPYING in the pa... | 26.563433 | 81 | 0.576298 | bringhurst |
bfe5d64bcf1ad3b32a9d06e5260bf4592f089e62 | 5,325 | cpp | C++ | src/coreclr/src/ToolBox/superpmi/superpmi-shared/hash.cpp | swaroop-sridhar/runtime | d0efddd932f6fb94c3e9436ab393fc390c7b2da9 | [
"MIT"
] | 28 | 2021-02-08T01:22:52.000Z | 2022-01-19T08:01:48.000Z | src/coreclr/src/ToolBox/superpmi/superpmi-shared/hash.cpp | swaroop-sridhar/runtime | d0efddd932f6fb94c3e9436ab393fc390c7b2da9 | [
"MIT"
] | 2 | 2020-06-06T09:07:48.000Z | 2020-06-06T09:13:07.000Z | src/coreclr/src/ToolBox/superpmi/superpmi-shared/hash.cpp | swaroop-sridhar/runtime | d0efddd932f6fb94c3e9436ab393fc390c7b2da9 | [
"MIT"
] | 4 | 2021-05-27T08:39:33.000Z | 2021-06-24T09:17:05.000Z | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
//----------------------------------------------------------
// hash.cpp - Class for hashing a text stream using MD5 hashing
//
// Note that on Windows, acquiring... | 26.625 | 119 | 0.640376 | swaroop-sridhar |
bfe83a3d96efd98022609b07edab58555d56eb30 | 1,470 | cpp | C++ | cpp/extras/benchmarks/hash.cpp | tenzir/libfilter | d0d23243f841cc625588afc16f2cacdfeb1cae56 | [
"Apache-2.0"
] | 22 | 2020-08-04T15:13:52.000Z | 2022-02-08T18:51:09.000Z | cpp/extras/benchmarks/hash.cpp | tenzir/libfilter | d0d23243f841cc625588afc16f2cacdfeb1cae56 | [
"Apache-2.0"
] | 3 | 2021-10-09T00:38:05.000Z | 2022-01-24T02:27:16.000Z | cpp/extras/benchmarks/hash.cpp | tenzir/libfilter | d0d23243f841cc625588afc16f2cacdfeb1cae56 | [
"Apache-2.0"
] | 2 | 2021-03-31T04:34:54.000Z | 2021-06-22T19:30:34.000Z | // Benchmarks number of hash collisions when hashing a full filter
#include <limits.h> // for CHAR_BIT
#include <cstdint> // for uint64_t
#include <iostream> // for operator<<, endl, basic_ostream, basi...
#include <unordered_set>
using namespace std;
#include "filter/block.hpp" // for B... | 28.823529 | 85 | 0.644898 | tenzir |
bfe8b1290d38879883f56ee573a3b7f9fb042472 | 555 | hpp | C++ | RaiderEngine/timing.hpp | rystills/RaiderEngine | 5a5bce4b3eca2f2f8c166e3a6296b07309af0d8a | [
"MIT"
] | 4 | 2019-07-20T08:41:04.000Z | 2022-03-04T01:53:38.000Z | RaiderEngine/timing.hpp | rystills/RaiderEngine | 5a5bce4b3eca2f2f8c166e3a6296b07309af0d8a | [
"MIT"
] | null | null | null | RaiderEngine/timing.hpp | rystills/RaiderEngine | 5a5bce4b3eca2f2f8c166e3a6296b07309af0d8a | [
"MIT"
] | null | null | null | #pragma once
#include "stdafx.h"
// this file is responsible for maintaining timing information within the main game loop
inline double totalTime = 0.0;
inline float deltaTime = 0.0f;
inline double lastFrame = 0.0;
inline int framesThisSecond = 0;
inline double frameRenderTime = 0, avgRenderTime = 0, secondAvgRenderTi... | 32.647059 | 88 | 0.767568 | rystills |
bfe9a939b966c7677c5019f394277245eb2da825 | 2,261 | cc | C++ | paddle/fluid/distributed/fleet_executor/task_loop.cc | zmxdream/Paddle | 04f042a5d507ad98f7f2cfc3cbc44b06d7a7f45c | [
"Apache-2.0"
] | 11 | 2016-08-29T07:43:26.000Z | 2016-08-29T07:51:24.000Z | paddle/fluid/distributed/fleet_executor/task_loop.cc | zmxdream/Paddle | 04f042a5d507ad98f7f2cfc3cbc44b06d7a7f45c | [
"Apache-2.0"
] | 1 | 2022-01-28T07:23:22.000Z | 2022-01-28T07:23:22.000Z | paddle/fluid/distributed/fleet_executor/task_loop.cc | zmxdream/Paddle | 04f042a5d507ad98f7f2cfc3cbc44b06d7a7f45c | [
"Apache-2.0"
] | 1 | 2021-12-09T08:59:17.000Z | 2021-12-09T08:59:17.000Z | // Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | 27.240964 | 79 | 0.696594 | zmxdream |
bfed30eb3fcd79467864bbd129d8632444fe54bc | 906 | cpp | C++ | 1_gestion_proyectos/src/central.cpp | antcc/practicas-mp | 20496b899bdb2af87aa3fbef2f972d3bd1989c1c | [
"MIT"
] | 2 | 2017-03-19T22:33:44.000Z | 2018-01-30T20:25:12.000Z | 1_gestion_proyectos/src/central.cpp | antcc/practicas-mp | 20496b899bdb2af87aa3fbef2f972d3bd1989c1c | [
"MIT"
] | 6 | 2016-03-15T14:46:39.000Z | 2016-04-13T17:50:17.000Z | 1_gestion_proyectos/src/central.cpp | antcc/practicas-mp | 20496b899bdb2af87aa3fbef2f972d3bd1989c1c | [
"MIT"
] | 3 | 2016-03-11T15:54:31.000Z | 2019-11-06T01:56:30.000Z | /**
* @file central.cpp
* @brief Calcula círculo con centro en medio de dos círculos y radio la mitad de la distancia
* @author Agarrido
*
* Un ejemplo de ejecución es:
* Introduzca un circulo en formato radio-(x,y): 3-(0,0)
* Introduzca otro circulo: 4-(5,0)
* El círculo que pasa por los dos cent... | 24.486486 | 95 | 0.618102 | antcc |
bfed9448d265f2b453f58869b659b3270cc6b1c1 | 44 | cpp | C++ | SRC/GekkoCore/JitcX86/JitcInteger.cpp | ogamespec/dolwin | 7aaa864f9070ec14193f39f2e387087ccd5d0a93 | [
"CC0-1.0"
] | 107 | 2015-09-07T21:28:32.000Z | 2022-02-14T03:13:01.000Z | SRC/GekkoCore/JitcX86/JitcInteger.cpp | emu-russia/dolwin | 7aaa864f9070ec14193f39f2e387087ccd5d0a93 | [
"CC0-1.0"
] | 116 | 2020-03-11T16:42:02.000Z | 2021-05-27T17:05:40.000Z | SRC/GekkoCore/JitcX86/JitcInteger.cpp | ogamespec/dolwin | 7aaa864f9070ec14193f39f2e387087ccd5d0a93 | [
"CC0-1.0"
] | 8 | 2017-05-18T21:01:19.000Z | 2021-04-30T11:28:14.000Z | // Integer Instructions
#include "../pch.h"
| 14.666667 | 23 | 0.681818 | ogamespec |
bfef2e950f0dd234a9e947041efd41525a4daa62 | 1,945 | cpp | C++ | trainingregional2018/training1/H.cpp | Victoralin10/ACMSolutions | 6d6e50da87b2bc455e953629737215b74b10269c | [
"MIT"
] | null | null | null | trainingregional2018/training1/H.cpp | Victoralin10/ACMSolutions | 6d6e50da87b2bc455e953629737215b74b10269c | [
"MIT"
] | null | null | null | trainingregional2018/training1/H.cpp | Victoralin10/ACMSolutions | 6d6e50da87b2bc455e953629737215b74b10269c | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define REP(i, n) for(int i = 0; i < n; i++)
#define FOR(i, a, b) for (int i = a; i < b; i++)
#define CLR(t, value) memset(t, value, sizeof(t))
#define ALL(v) v.begin(), v.end()
#define SZ(v) ((int)(v).size())
#define TEST(x) cerr << "test " << #x << " " << x << endl;
#define sc(x) scanf("%d",... | 20.913978 | 72 | 0.462725 | Victoralin10 |
bffc22fa97a3105c5c606529d88d6839cbb1532b | 9,339 | cpp | C++ | src/EquationSet.cpp | gjo11/causaloptim | 81155ff1aeef5cd2618f2498ba6b779d5a944cff | [
"MIT"
] | 13 | 2019-11-28T16:33:10.000Z | 2021-12-10T12:03:35.000Z | src/EquationSet.cpp | gjo11/causaloptim | 81155ff1aeef5cd2618f2498ba6b779d5a944cff | [
"MIT"
] | 8 | 2020-05-04T14:32:49.000Z | 2021-12-09T13:10:07.000Z | src/EquationSet.cpp | gjo11/causaloptim | 81155ff1aeef5cd2618f2498ba6b779d5a944cff | [
"MIT"
] | 3 | 2020-04-22T23:18:06.000Z | 2020-12-10T09:32:05.000Z | //#include <afx.h>
#include <windows.h>
#include <stdio.h>
#include <math.h>
#include "CustomFormat.h"
#include "SymbolSet.h"
#include "Equation.h"
#include "EquationSet.h"
#define VAR_NOT_ELIMINATED ((WORD) 0xFFFF)
#define VAR_ELIMINATED ((WORD) 0xFFFE)
CEquationSet_ :: CEquationSet_
(
CSymbolSet_ * p_pVa... | 24.641161 | 74 | 0.613663 | gjo11 |
bffc7f61b0d4c6bd983d572494bcd2ca97dec9eb | 2,489 | inl | C++ | archive/game/advanced_math.inl | brettonw/Two | 5cd121c94388f4465157c770bde7ec369f1f5f97 | [
"MIT"
] | null | null | null | archive/game/advanced_math.inl | brettonw/Two | 5cd121c94388f4465157c770bde7ec369f1f5f97 | [
"MIT"
] | null | null | null | archive/game/advanced_math.inl | brettonw/Two | 5cd121c94388f4465157c770bde7ec369f1f5f97 | [
"MIT"
] | null | null | null | //-----------------------------------------------------------------------------
// Copyright (C) 1997-2006 Bretton Wade
// All Rights Reserved
//-----------------------------------------------------------------------------
#ifndef _ADVANCED_MATH_INL_
#define _ADVANCED_MATH_INL_
//-----------------------------... | 29.987952 | 85 | 0.355966 | brettonw |
bffe4a9cb95f40aaf3031addca697e5da918be28 | 3,213 | cpp | C++ | semana1/E.cpp | AllanNozomu/MC521 | 92e44eaee36b6adf4c4655e3b32d3ca2948ee03a | [
"MIT"
] | null | null | null | semana1/E.cpp | AllanNozomu/MC521 | 92e44eaee36b6adf4c4655e3b32d3ca2948ee03a | [
"MIT"
] | null | null | null | semana1/E.cpp | AllanNozomu/MC521 | 92e44eaee36b6adf4c4655e3b32d3ca2948ee03a | [
"MIT"
] | null | null | null | bool debug = false;
#include<vector>
#include<stack>
#include<queue>
#include<deque>
#include<bitset>
#include<set>
#include<string>
#include<iostream>
#include<algorithm>
#include<map>
#include<unordered_map>
#include<stdlib.h>
#include<string.h>
#include<stdio.h>
#include<math.h>
#include<time.h>
using namespace st... | 22.3125 | 77 | 0.540305 | AllanNozomu |
8700a75d7725b91ba46ff1f6be19a7e88575bff5 | 704 | cpp | C++ | Code/Engine/Renderer/IndexBuffer.cpp | yixuan-wei/PersonalEngine | 6f3b1df3ddeb662fbf65ca8b3ea7ddb446ef5a20 | [
"MIT"
] | 1 | 2021-06-11T06:41:29.000Z | 2021-06-11T06:41:29.000Z | Code/Engine/Renderer/IndexBuffer.cpp | yixuan-wei/PersonalEngine | 6f3b1df3ddeb662fbf65ca8b3ea7ddb446ef5a20 | [
"MIT"
] | 1 | 2022-02-25T07:46:54.000Z | 2022-02-25T07:46:54.000Z | Code/Engine/Renderer/IndexBuffer.cpp | yixuan-wei/PersonalEngine | 6f3b1df3ddeb662fbf65ca8b3ea7ddb446ef5a20 | [
"MIT"
] | null | null | null | #include "Engine/Renderer/IndexBuffer.hpp"
//////////////////////////////////////////////////////////////////////////
IndexBuffer::IndexBuffer(RenderContext* ctx, eRenderMemoryHint hint)
:RenderBuffer(ctx,INDEX_BUFFER_BIT,hint)
{
}
//////////////////////////////////////////////////////////////////////////
void In... | 33.52381 | 87 | 0.507102 | yixuan-wei |
8705d72188746b0da700667aba31019b9e06b6b2 | 12,087 | cpp | C++ | Engine/Source/ThirdParty/IntelTBB/IntelTBB-4.0/src/tbb/governor.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Source/ThirdParty/IntelTBB/IntelTBB-4.0/src/tbb/governor.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 2 | 2015-06-21T17:38:11.000Z | 2015-06-22T20:54:42.000Z | Engine/Source/ThirdParty/IntelTBB/IntelTBB-4.0/src/tbb/governor.cpp | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | null | null | null | /*
Copyright 2005-2012 Intel Corporation. All Rights Reserved.
The source code contained or described herein and all documents related
to the source code ("Material") are owned by Intel Corporation or its
suppliers or licensors. Title to the Material remains with Intel
Corporation or its supplier... | 38.25 | 122 | 0.672044 | windystrife |
870a743b82f419eefe98753770e83478cdbc8ce4 | 668 | cc | C++ | vos/gui/sub/gui/histcommands/SetVertHistGraphCmd.cc | NASA-AMMOS/VICAR | 4504c1f558855d9c6eaef89f4460217aa4909f8e | [
"BSD-3-Clause"
] | 16 | 2020-10-21T05:56:26.000Z | 2022-03-31T10:02:01.000Z | vos/gui/sub/gui/histcommands/SetVertHistGraphCmd.cc | NASA-AMMOS/VICAR | 4504c1f558855d9c6eaef89f4460217aa4909f8e | [
"BSD-3-Clause"
] | null | null | null | vos/gui/sub/gui/histcommands/SetVertHistGraphCmd.cc | NASA-AMMOS/VICAR | 4504c1f558855d9c6eaef89f4460217aa4909f8e | [
"BSD-3-Clause"
] | 2 | 2021-03-09T01:51:08.000Z | 2021-03-23T00:23:24.000Z | ///////////////////////////////////////////////////////////
// SetVertHistGraphCmd.C: Example, dummy command class
//////////////////////////////////////////////////////////
#include "SetVertHistGraphCmd.h"
#include "Histogram.h"
#include "HistBox.h"
#include <iostream>
SetVertHistGraphCmd::SetVertHistGraphCmd ( const... | 24.740741 | 141 | 0.54491 | NASA-AMMOS |
870fe268a7302179531faf63d726107929c090f0 | 7,843 | hpp | C++ | src/open_viii/graphics/Ppm.hpp | Sebanisu/VIIIcppTest | 59565ae2d32ea302401402544a70d3b37fab7351 | [
"MIT"
] | 2 | 2020-04-30T22:12:06.000Z | 2020-05-01T07:06:26.000Z | src/open_viii/graphics/Ppm.hpp | Sebanisu/VIIIcppTest | 59565ae2d32ea302401402544a70d3b37fab7351 | [
"MIT"
] | 9 | 2020-04-26T01:52:21.000Z | 2020-05-20T21:10:28.000Z | src/open_viii/graphics/Ppm.hpp | Sebanisu/VIIIcppTest | 59565ae2d32ea302401402544a70d3b37fab7351 | [
"MIT"
] | null | null | null | // This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be usefu... | 32.8159 | 80 | 0.563687 | Sebanisu |
8710f2c2d2d282fdd1ff8231c80279a8f57c0cd1 | 1,889 | hpp | C++ | Engine/Events/EventSource.hpp | ryanvanrooyen/GameFramework | 56ec1fe66964b2963cbdb2ba04640be47de59cc7 | [
"Apache-2.0"
] | null | null | null | Engine/Events/EventSource.hpp | ryanvanrooyen/GameFramework | 56ec1fe66964b2963cbdb2ba04640be47de59cc7 | [
"Apache-2.0"
] | null | null | null | Engine/Events/EventSource.hpp | ryanvanrooyen/GameFramework | 56ec1fe66964b2963cbdb2ba04640be47de59cc7 | [
"Apache-2.0"
] | null | null | null |
#pragma once
#include "EngineCommon.h"
#include "Listeners.hpp"
namespace Game
{
class Window;
class EventSource
{
public:
virtual ~EventSource() = default;
void PushListener(WindowListener* listener);
void PushListener(MouseListener* listener);
void PushListener(Key... | 33.732143 | 82 | 0.677078 | ryanvanrooyen |
8713fa7a6b4895b12f501e015478608f65f2734a | 226 | hpp | C++ | PP/get_std.hpp | Petkr/PP | 646cc156603a6a9461e74d8f54786c0d5a9c32d2 | [
"MIT"
] | 3 | 2019-07-12T23:12:24.000Z | 2019-09-05T07:57:45.000Z | PP/get_std.hpp | Petkr/PP | 646cc156603a6a9461e74d8f54786c0d5a9c32d2 | [
"MIT"
] | null | null | null | PP/get_std.hpp | Petkr/PP | 646cc156603a6a9461e74d8f54786c0d5a9c32d2 | [
"MIT"
] | null | null | null | #pragma once
#include <PP/size_t.hpp>
#include <PP/tuple/concept.hpp>
namespace PP
{
namespace tuple
{
template <size_t I>
constexpr decltype(auto) get(concepts::tuple auto&& t) noexcept
{
return PP_F(t)[value<I>];
}
}
}
| 14.125 | 63 | 0.70354 | Petkr |
871511482876f2d602815e0bc6d7b7f31641152c | 21,772 | cc | C++ | src/chrome/browser/shell_integration_unittest.cc | jxjnjjn/chromium | 435c1d02fd1b99001dc9e1e831632c894523580d | [
"Apache-2.0"
] | 9 | 2018-09-21T05:36:12.000Z | 2021-11-15T15:14:36.000Z | src/chrome/browser/shell_integration_unittest.cc | jxjnjjn/chromium | 435c1d02fd1b99001dc9e1e831632c894523580d | [
"Apache-2.0"
] | null | null | null | src/chrome/browser/shell_integration_unittest.cc | jxjnjjn/chromium | 435c1d02fd1b99001dc9e1e831632c894523580d | [
"Apache-2.0"
] | 3 | 2018-11-28T14:54:13.000Z | 2020-07-02T07:36:07.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 "chrome/browser/shell_integration.h"
#include <cstdlib>
#include <map>
#include "base/file_util.h"
#include "base/files/file_path.h"
#inclu... | 33.138508 | 80 | 0.661078 | jxjnjjn |
87165bdd762ebcc49d346f43ddd68e4476e22fca | 8,073 | cpp | C++ | Source/Player.cpp | nolancs/OrangeMUD | 3db3ddf73855bb76110d7a6a8e67271c36652b04 | [
"MIT"
] | 4 | 2020-01-25T04:20:07.000Z | 2022-01-14T02:59:28.000Z | Source/Player.cpp | nolancs/OrangeMUD | 3db3ddf73855bb76110d7a6a8e67271c36652b04 | [
"MIT"
] | null | null | null | Source/Player.cpp | nolancs/OrangeMUD | 3db3ddf73855bb76110d7a6a8e67271c36652b04 | [
"MIT"
] | 1 | 2020-04-01T04:36:48.000Z | 2020-04-01T04:36:48.000Z | /******************************************************************************
Author: Matthew Nolan OrangeMUD Codebase
Date: January 2001 [Crossplatform]
License: MIT License
Permission is hereby granted, free of charge, to any pers... | 30.123134 | 98 | 0.50799 | nolancs |
8716c7cb8cc02338de1bacf526833b346fb525d6 | 1,525 | cpp | C++ | src/programs/pthreads/pthreads.cpp | isaaclimdc/cachemulator | bcd0d330431df4dae9a7e1c61d2a61c4a0b3ffec | [
"MIT"
] | 1 | 2022-03-06T08:31:11.000Z | 2022-03-06T08:31:11.000Z | src/programs/pthreads/pthreads.cpp | isaaclimdc/cachemulator | bcd0d330431df4dae9a7e1c61d2a61c4a0b3ffec | [
"MIT"
] | null | null | null | src/programs/pthreads/pthreads.cpp | isaaclimdc/cachemulator | bcd0d330431df4dae9a7e1c61d2a61c4a0b3ffec | [
"MIT"
] | null | null | null | #include <sched.h>
#include <sys/types.h>
#include <signal.h>
#include <unistd.h>
#include <stdio.h>
#include <pthread.h>
#include <stdlib.h>
#define MAXTHREADS 1000
void *threadFunc(void *arg) {
// for (int i=0; i<100; i++) {
int *p = (int *)arg;
// printf("p is %p\n", p);
*p = 20;
int x = *p;
... | 18.154762 | 50 | 0.510164 | isaaclimdc |
871a64882c43829827e0c64911606a13cce4fc94 | 1,510 | cpp | C++ | ADT-SET-MULTIset/Sort-AlgoAcedemy-Oct2015-RTF2-byMAP.cpp | kilarionov/cppTopics | 94461d25832b53e6c40c374fb2ff1695b3dfe3c7 | [
"MIT"
] | null | null | null | ADT-SET-MULTIset/Sort-AlgoAcedemy-Oct2015-RTF2-byMAP.cpp | kilarionov/cppTopics | 94461d25832b53e6c40c374fb2ff1695b3dfe3c7 | [
"MIT"
] | null | null | null | ADT-SET-MULTIset/Sort-AlgoAcedemy-Oct2015-RTF2-byMAP.cpp | kilarionov/cppTopics | 94461d25832b53e6c40c374fb2ff1695b3dfe3c7 | [
"MIT"
] | 1 | 2019-05-24T03:44:06.000Z | 2019-05-24T03:44:06.000Z | // http://bgcoder.com/Contests/268/Telerik-Algo-Academy-October-2015
// https://github.com/TelerikAcademy/AlgoAcademy/tree/master/2015-10-Algorithms-on-String/Problems
#include <iostream>
//#include <set>
#include <map>
const int D = (int)('a'-'A') ;
using namespace std ;
int main ()
{
long n, k;
int asciiCode;
char... | 24.354839 | 98 | 0.56755 | kilarionov |
26b4326687678413e4bc24225bfcb5071dccddb6 | 6,897 | cpp | C++ | hphp/util/embedded-data.cpp | simonwelsh/hhvm | d4f2f960f29fc66e0ed615b8fa7746a42aafb173 | [
"PHP-3.01",
"Zend-2.0"
] | 1 | 2016-10-08T12:13:09.000Z | 2016-10-08T12:13:09.000Z | hphp/util/embedded-data.cpp | simonwelsh/hhvm | d4f2f960f29fc66e0ed615b8fa7746a42aafb173 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/util/embedded-data.cpp | simonwelsh/hhvm | d4f2f960f29fc66e0ed615b8fa7746a42aafb173 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) |
+---------... | 29.857143 | 80 | 0.605046 | simonwelsh |
26b5a05d6e863f6b2dd1301fd01f508c7480d495 | 9,733 | cc | C++ | cc/chart/v3/grid-test.cc | skepner/ae | d53336a561df1a46a39debb143c9f9496b222a46 | [
"MIT"
] | null | null | null | cc/chart/v3/grid-test.cc | skepner/ae | d53336a561df1a46a39debb143c9f9496b222a46 | [
"MIT"
] | null | null | null | cc/chart/v3/grid-test.cc | skepner/ae | d53336a561df1a46a39debb143c9f9496b222a46 | [
"MIT"
] | null | null | null | #include "ext/omp.hh"
#include "chart/v3/grid-test.hh"
#include "chart/v3/chart.hh"
#include "chart/v3/stress.hh"
#include "chart/v3/area.hh"
// ----------------------------------------------------------------------
namespace ae::chart::v3::grid_test
{
static void test(result_t& result, const Projection& projecti... | 47.710784 | 160 | 0.624062 | skepner |
26b6b9f70aa3b5219751fdafead728446179389b | 1,813 | cpp | C++ | applications/MultilevelMonteCarloApplication/custom_python/add_custom_strategies_to_python.cpp | clazaro/Kratos | b947b82c90dfcbf13d60511427f85990d36b90be | [
"BSD-4-Clause"
] | 778 | 2017-01-27T16:29:17.000Z | 2022-03-30T03:01:51.000Z | applications/MultilevelMonteCarloApplication/custom_python/add_custom_strategies_to_python.cpp | clazaro/Kratos | b947b82c90dfcbf13d60511427f85990d36b90be | [
"BSD-4-Clause"
] | 6,634 | 2017-01-15T22:56:13.000Z | 2022-03-31T15:03:36.000Z | applications/MultilevelMonteCarloApplication/custom_python/add_custom_strategies_to_python.cpp | clazaro/Kratos | b947b82c90dfcbf13d60511427f85990d36b90be | [
"BSD-4-Clause"
] | 224 | 2017-02-07T14:12:49.000Z | 2022-03-06T23:09:34.000Z | // | / |
// ' / __| _` | __| _ \ __|
// . \ | ( | | ( |\__ `
// _|\_\_| \__,_|\__|\___/ ____/
// Multi-Physics
//
// License: BSD License
// Kratos default license: kratos/license.txt
//
// Main authors: Riccardo Tosi
//
// System includes
// Extern... | 29.721311 | 113 | 0.635962 | clazaro |
26b8d7ce0bad5125fa05a5e446346c0c7481f98a | 3,053 | cpp | C++ | decrypt/decryptor.cpp | NunoEdgarGFlowHub/SRVB-Cryptography | 631dea89f712bbecf8be2cae268314c21a011160 | [
"MIT"
] | null | null | null | decrypt/decryptor.cpp | NunoEdgarGFlowHub/SRVB-Cryptography | 631dea89f712bbecf8be2cae268314c21a011160 | [
"MIT"
] | null | null | null | decrypt/decryptor.cpp | NunoEdgarGFlowHub/SRVB-Cryptography | 631dea89f712bbecf8be2cae268314c21a011160 | [
"MIT"
] | null | null | null | #if !defined(__DECRYPTOR_CPP__)
#define __DECRYPTOR_CPP__
#include "decryptor.hpp"
#include <fstream>
#include <string>
#include <sstream>
Decryptor::Decryptor(const std::string& file_name) :
_pri_k(),
_key_name(file_name.substr(0,file_name.find('.')))
{
YSVB_TIMED_PUT("BUILDING DECRYPTOR OBJECT")
std::ifstream... | 33.184783 | 210 | 0.691451 | NunoEdgarGFlowHub |
26bb2b988cc1c098f20659b0d69cc4e9be331446 | 2,454 | cpp | C++ | tech/Game/DebugMeshRenderStep.cpp | nbtdev/teardrop | fa9cc8faba03a901d1d14f655a04167e14cd08ee | [
"MIT"
] | null | null | null | tech/Game/DebugMeshRenderStep.cpp | nbtdev/teardrop | fa9cc8faba03a901d1d14f655a04167e14cd08ee | [
"MIT"
] | null | null | null | tech/Game/DebugMeshRenderStep.cpp | nbtdev/teardrop | fa9cc8faba03a901d1d14f655a04167e14cd08ee | [
"MIT"
] | null | null | null | /******************************************************************************
Copyright (c) 2015 Teardrop Games
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 wit... | 37.753846 | 93 | 0.645884 | nbtdev |
26bc26648f90f85257140905192ca7b2dbd91cb4 | 2,026 | cpp | C++ | example/miniping.cpp | oskarirauta/pingcpp | f521de4d024d644cefc88e115b5c8457ecc900bf | [
"MIT"
] | null | null | null | example/miniping.cpp | oskarirauta/pingcpp | f521de4d024d644cefc88e115b5c8457ecc900bf | [
"MIT"
] | null | null | null | example/miniping.cpp | oskarirauta/pingcpp | f521de4d024d644cefc88e115b5c8457ecc900bf | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include "example/report.hpp"
#include "network.hpp"
#include "ping.hpp"
#define PING_HOST "google.com"
#ifdef __IPV6__
# define TITLE "miniping(+IPV6), by Oskari Rauta\nMIT License\n"
#else
# define TITLE "miniping, by Oskari Rauta\nMIT License\n"
#endif
int main(int argc, char... | 31.169231 | 99 | 0.631787 | oskarirauta |
26bc382621bcfec8958270649fd407da9b245e72 | 2,807 | hpp | C++ | Extensions/Gameplay/SplineParticles.hpp | RachelWilSingh/ZeroCore | e9a2f82d395e5c89fb98eceac44ce60d016dbff3 | [
"MIT"
] | 52 | 2018-09-11T17:18:35.000Z | 2022-03-13T15:28:21.000Z | Extensions/Gameplay/SplineParticles.hpp | RachelWilSingh/ZeroCore | e9a2f82d395e5c89fb98eceac44ce60d016dbff3 | [
"MIT"
] | 1,409 | 2018-09-19T18:03:43.000Z | 2021-06-09T08:33:33.000Z | Extensions/Gameplay/SplineParticles.hpp | RachelWilSingh/ZeroCore | e9a2f82d395e5c89fb98eceac44ce60d016dbff3 | [
"MIT"
] | 26 | 2018-09-11T17:16:32.000Z | 2021-11-22T06:21:19.000Z | ///////////////////////////////////////////////////////////////////////////////
///
/// \file ParticleEmitters.hpp
/// Declaration of the Particle emitters.
///
/// Authors: Chris Peters
/// Copyright 2010-2012, DigiPen Institute of Technology
///
////////////////////////////////////////////////////////////////... | 28.353535 | 86 | 0.646242 | RachelWilSingh |
26bfb69c0adfc8d5e94b03e09915e26d9ead7a9b | 4,603 | cc | C++ | crc32.cc | bisqwit/viewnes | 57a06b36b7a599e976a20459cb929786d506b84b | [
"Zlib"
] | 12 | 2017-04-27T18:50:31.000Z | 2022-02-18T04:13:13.000Z | crc32.cc | bisqwit/viewnes | 57a06b36b7a599e976a20459cb929786d506b84b | [
"Zlib"
] | null | null | null | crc32.cc | bisqwit/viewnes | 57a06b36b7a599e976a20459cb929786d506b84b | [
"Zlib"
] | 3 | 2017-04-28T13:23:23.000Z | 2020-05-15T10:56:11.000Z | /*** CRC32 calculation (CRC::update) ***/
#include "crc32.h"
#ifdef __GNUC__
# define likely(x) __builtin_expect(!!(x), 1)
# define unlikely(x) __builtin_expect(!!(x), 0)
#else
# define likely(x) (x)
# define unlikely(x) (x)
#endif
namespace {
/* This code constructs the CRC32 table at compile-time,
... | 35.137405 | 91 | 0.499022 | bisqwit |
26c0ab11e8a0f7adf9ac4038fc44c7d6120e7d7f | 232 | hxx | C++ | src/sdp_solve.hxx | ChrisPattison/sdpb | 4668f72c935e7feba705dd8247d9aacb23185f1c | [
"MIT"
] | 45 | 2015-02-10T15:45:22.000Z | 2022-02-24T07:45:01.000Z | src/sdp_solve.hxx | ChrisPattison/sdpb | 4668f72c935e7feba705dd8247d9aacb23185f1c | [
"MIT"
] | 58 | 2015-02-27T10:03:18.000Z | 2021-08-10T04:21:42.000Z | src/sdp_solve.hxx | ChrisPattison/sdpb | 4668f72c935e7feba705dd8247d9aacb23185f1c | [
"MIT"
] | 38 | 2015-02-10T11:11:27.000Z | 2022-02-11T20:59:42.000Z | #pragma once
#include "sdp_solve/Block_Info.hxx"
#include "sdp_solve/SDP_Solver.hxx"
#include "sdp_solve/Write_Solution.hxx"
#include "sdp_solve/read_text_block.hxx"
El::BigFloat dot(const Block_Vector &A, const Block_Vector &B);
| 25.777778 | 63 | 0.793103 | ChrisPattison |
26c11d4769736abe92dd9be916a8e4c5fe2ca2b3 | 815 | cpp | C++ | week4_divide_and_conquer/2_majority_element/majority_element.cpp | balajimohan80/Algorithm_Toolbox | e10e5ed811e2d5179d760e25ca82c29df2a879db | [
"MIT"
] | null | null | null | week4_divide_and_conquer/2_majority_element/majority_element.cpp | balajimohan80/Algorithm_Toolbox | e10e5ed811e2d5179d760e25ca82c29df2a879db | [
"MIT"
] | null | null | null | week4_divide_and_conquer/2_majority_element/majority_element.cpp | balajimohan80/Algorithm_Toolbox | e10e5ed811e2d5179d760e25ca82c29df2a879db | [
"MIT"
] | null | null | null | #include <algorithm>
#include <iostream>
#include <vector>
using std::vector;
int get_majority_element(vector<int> &a, int left, int right) {
if (left == right) return -1;
if (left+1 == right) return -1;
//if (left + 1 == right) return a[left];
//write your code here
std::sort(a.begin(), a.end(), [](int a... | 20.897436 | 68 | 0.507975 | balajimohan80 |
26c78b77ce1bb48d251db287731d261b49d6d024 | 1,025 | hpp | C++ | include/core/initialization.hpp | ida-zrt/thermalvis | 36a6ba0d12ab91097435630586e3eb760130582c | [
"BSD-3-Clause"
] | 109 | 2015-02-03T23:30:59.000Z | 2022-02-22T03:24:36.000Z | include/core/initialization.hpp | adaniy/thermalvis | 782f71b5fbde033d226d11b8d0c994fc83d10d98 | [
"BSD-3-Clause"
] | 9 | 2015-02-19T05:46:36.000Z | 2021-11-02T14:00:49.000Z | include/core/initialization.hpp | adaniy/thermalvis | 782f71b5fbde033d226d11b8d0c994fc83d10d98 | [
"BSD-3-Clause"
] | 59 | 2015-11-05T11:51:55.000Z | 2022-03-11T06:36:57.000Z | /*! \file initialization.hpp
* \brief (probably an obsolete file)
*/
#ifndef _THERMALVIS_INITIALIZATION_H_
#define _THERMALVIS_INITIALIZATION_H_
#ifdef _BUILD_FOR_ROS_
#include "core/general_resources.hpp"
#include "core/ros_resources.hpp"
#include "core/features.hpp"
#define MAXIMUM_FRAMES_TO_STORE 2000 // car... | 24.404762 | 88 | 0.782439 | ida-zrt |
26c859b46a25a7d04be90b4f4c2639c50b239922 | 721 | hpp | C++ | header/friedrichdb/fake_file_storage.hpp | jinncrafters/friedrichdb | 313180fee8f230b2a406000b948210c77c4253a3 | [
"BSD-3-Clause"
] | 1 | 2018-01-26T09:15:01.000Z | 2018-01-26T09:15:01.000Z | header/friedrichdb/fake_file_storage.hpp | duckstax/friedrichdb | 313180fee8f230b2a406000b948210c77c4253a3 | [
"BSD-3-Clause"
] | 1 | 2018-06-21T07:41:38.000Z | 2018-06-21T07:41:38.000Z | header/friedrichdb/fake_file_storage.hpp | duckstax/friedrichdb | 313180fee8f230b2a406000b948210c77c4253a3 | [
"BSD-3-Clause"
] | null | null | null | #ifndef FILE_STORAGE_HPP
#define FILE_STORAGE_HPP
#include "abstract_database.hpp"
#include <vector>
#include <functional>
namespace friedrichdb {
class file_storage_fake final : public abstract_database {
public:
file_storage_fake():abstract_database(storge_t::disk){}
~file_storage_fake(){}
... | 24.033333 | 63 | 0.619972 | jinncrafters |
26c90714f4d0f01f1fc49c305badaefcfcd4e9f8 | 14,236 | cc | C++ | chrome/browser/metrics/variations/variations_safe_mode_browsertest.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 | chrome/browser/metrics/variations/variations_safe_mode_browsertest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | chrome/browser/metrics/variations/variations_safe_mode_browsertest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// The tests in this file verify the behavior of variations safe mode. The tests
// should be kept in sync with those in ios/chrome/browser/variations/
//... | 41.9941 | 80 | 0.74431 | zealoussnow |
26c9c3a27b15384bc70a19d1089b93514861ff79 | 21,272 | cpp | C++ | ShadowMapping/CascadedShadowMappingRenderer.cpp | LYP951018/EasyDX | 10b5a04c13af1fc6c3b405e309dc754a42530011 | [
"Apache-2.0"
] | 3 | 2017-03-12T07:26:56.000Z | 2017-11-20T13:01:46.000Z | ShadowMapping/CascadedShadowMappingRenderer.cpp | LYP951018/EasyDX | 10b5a04c13af1fc6c3b405e309dc754a42530011 | [
"Apache-2.0"
] | 9 | 2019-04-27T08:36:01.000Z | 2021-11-25T16:36:02.000Z | ShadowMapping/CascadedShadowMappingRenderer.cpp | LYP951018/EasyDX | 10b5a04c13af1fc6c3b405e309dc754a42530011 | [
"Apache-2.0"
] | 2 | 2018-04-16T09:41:56.000Z | 2021-11-01T06:17:58.000Z | #include "Pch.hpp"
#if 1
#include "CascadedShadowMappingRenderer.hpp"
#include <DirectXColors.h>
using namespace DirectX;
using namespace dx;
CascadedShadowMappingRenderer::CascadedShadowMappingRenderer(
ID3D11Device& device3D, const CascadedShadowMapConfig& shadowMapConfig)
: m_config{shadowMapConfig}, m_par... | 43.235772 | 95 | 0.639667 | LYP951018 |
26cdc8571d8beeb922fc266aee09dd8770f8347e | 2,633 | cpp | C++ | crypto_sign/bls/ref/ecn.cpp | iadgov/simon-speck-supercop | 5bba85c3094029eb73b7077441e5c6ea2f2cb1c6 | [
"CC0-1.0"
] | 21 | 2016-12-03T14:19:01.000Z | 2018-03-09T14:52:25.000Z | crypto_sign/bls/ref/ecn.cpp | iadgov/simon-speck-supercop | 5bba85c3094029eb73b7077441e5c6ea2f2cb1c6 | [
"CC0-1.0"
] | null | null | null | crypto_sign/bls/ref/ecn.cpp | iadgov/simon-speck-supercop | 5bba85c3094029eb73b7077441e5c6ea2f2cb1c6 | [
"CC0-1.0"
] | 11 | 2017-03-06T17:21:42.000Z | 2018-03-18T03:52:58.000Z | /*
* MIRACL C++ functions ecn.cpp
*
* AUTHOR : M. Scott
*
* PURPOSE : Implementation of class ECn functions using Montgomery
* representation
* NOTE : Must be used in conjunction with big.h and big.cpp
*
* Copyright (c) 1988-2004 Shamus Softwa... | 21.941667 | 87 | 0.542727 | iadgov |
26ce3919b248d63aa4e81588360fa96dbb9b7b57 | 966 | hpp | C++ | include/bdlearn/BatchBlas.hpp | billythedummy/bdlearn | bdb7b22c326f8057ec3ec06a701d00885e801bfd | [
"MIT"
] | 2 | 2019-12-04T08:24:17.000Z | 2020-01-31T23:29:52.000Z | include/bdlearn/BatchBlas.hpp | billythedummy/bdlearn | bdb7b22c326f8057ec3ec06a701d00885e801bfd | [
"MIT"
] | null | null | null | include/bdlearn/BatchBlas.hpp | billythedummy/bdlearn | bdb7b22c326f8057ec3ec06a701d00885e801bfd | [
"MIT"
] | null | null | null | #ifndef _BDLEARN_BATCHBLAS_H_
#define _BDLEARN_BATCHBLAS_H_
#include "Halide.h"
namespace bdlearn {
void BatchMatMul(Halide::Buffer<float> out, Halide::Buffer<float> A, Halide::Buffer<float> B);
void BatchMatMul_BT(Halide::Buffer<float> out, Halide::Buffer<float> A, Halide::Buffer<float> BT);
// A broadca... | 46 | 112 | 0.681159 | billythedummy |
26cebadcb187d85f53733297d3a33190785e624a | 2,202 | cpp | C++ | ELOSystem/ELOcalculations.cpp | pablogalve/ELO-System | e99c558b462b6d44020c5d789b11fce647d3dbe0 | [
"Apache-2.0"
] | 1 | 2021-05-01T00:50:18.000Z | 2021-05-01T00:50:18.000Z | ELOSystem/ELOcalculations.cpp | pablogalve/ELO-System | e99c558b462b6d44020c5d789b11fce647d3dbe0 | [
"Apache-2.0"
] | null | null | null | ELOSystem/ELOcalculations.cpp | pablogalve/ELO-System | e99c558b462b6d44020c5d789b11fce647d3dbe0 | [
"Apache-2.0"
] | null | null | null | #include "users.h"
void ELOManager::calculateELO(user* myself, float theirELO, float result) {
float changeELO;
float adjust;
bool change;
if (theirELO == 0) //To avoid not updating ELO
theirELO = 1;
changeELO = (result - getProbWin(myself->ELO, theirELO)) * K;
//Change ELO balances to make sure that there a... | 25.905882 | 132 | 0.647139 | pablogalve |
26d9cce2051a4d4011dc367b9d511f6c5f400871 | 1,382 | hpp | C++ | MRedisConfig.hpp | MrMoose/mredis | 5a60cc57c6193bd68eab9c0f6a9938c9530b8665 | [
"BSL-1.0"
] | 4 | 2018-10-31T14:31:30.000Z | 2019-07-31T11:45:57.000Z | MRedisConfig.hpp | MrMoose/mredis | 5a60cc57c6193bd68eab9c0f6a9938c9530b8665 | [
"BSL-1.0"
] | null | null | null | MRedisConfig.hpp | MrMoose/mredis | 5a60cc57c6193bd68eab9c0f6a9938c9530b8665 | [
"BSL-1.0"
] | null | null | null | // Copyright 2018 Stephan Menzel. 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)
#pragma once
// see https://gcc.gnu.org/wiki/Visibility
// Generic helper definitions for shared library support
#if defined _W... | 29.404255 | 85 | 0.769899 | MrMoose |
26dc23fd0a6e7be3d02ec8fcd83019ef4b74e5ea | 1,870 | cpp | C++ | hw/1,2/1.cpp | rgeorgiev583/FMI-DSP | 7fac5ad4373bbcb8494b7675c21ad0458176a3d3 | [
"MIT"
] | 1 | 2017-11-08T13:24:14.000Z | 2017-11-08T13:24:14.000Z | hw/1,2/1.cpp | rgeorgiev583/FMI-DSP | 7fac5ad4373bbcb8494b7675c21ad0458176a3d3 | [
"MIT"
] | null | null | null | hw/1,2/1.cpp | rgeorgiev583/FMI-DSP | 7fac5ad4373bbcb8494b7675c21ad0458176a3d3 | [
"MIT"
] | null | null | null | #include <iostream>
#include "stack.cpp"
#include <stack>
#include <queue>
using namespace std;
void print(queue<stack<size_t> > qs)
{
size_t i = 1;
while (!qs.empty())
{
cout << "Купчина " << i << ": ";
stack<size_t> sn = qs.front();
while (!sn.empty())
{
co... | 16.548673 | 55 | 0.400535 | rgeorgiev583 |
26ddb3d7d9833632e7517e021ef67c9f2a975b3f | 15,200 | cc | C++ | Archive/Stroika_FINAL_for_STERL_1992/Library/Framework/Sources/FocusItem.cc | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 28 | 2015-09-22T21:43:32.000Z | 2022-02-28T01:35:01.000Z | Archive/Stroika_FINAL_for_STERL_1992/Library/Framework/Sources/FocusItem.cc | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 98 | 2015-01-22T03:21:27.000Z | 2022-03-02T01:47:00.000Z | Archive/Stroika_FINAL_for_STERL_1992/Library/Framework/Sources/FocusItem.cc | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 4 | 2019-02-21T16:45:25.000Z | 2022-02-18T13:40:04.000Z | /* Copyright(c) Sophist Solutions Inc. 1990-1992. All rights reserved */
/*
* $Header: /fuji/lewis/RCS/FocusItem.cc,v 1.6 1992/09/08 15:34:00 lewis Exp $
*
* TODO:
*
* Should do FocusOwner::DTOR which asserts all items removed...
*
*
* Changes:
* $Log: FocusItem.cc,v $
* Revision 1.6 1992/09/08 15:34:00... | 24.32 | 112 | 0.649013 | SophistSolutions |
26e1232c1ee54e3539bbfb4e334302db9311aa40 | 736 | hpp | C++ | indexer/edits_migration.hpp | Barysman/omim | 469632c879027ec38278ebda699415c28dbd79e0 | [
"Apache-2.0"
] | null | null | null | indexer/edits_migration.hpp | Barysman/omim | 469632c879027ec38278ebda699415c28dbd79e0 | [
"Apache-2.0"
] | 1 | 2018-06-27T11:44:23.000Z | 2018-06-28T10:51:48.000Z | indexer/edits_migration.hpp | Barysman/omim | 469632c879027ec38278ebda699415c28dbd79e0 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "indexer/feature_decl.hpp"
#include "indexer/osm_editor.hpp"
#include "editor/xml_feature.hpp"
#include "base/exception.hpp"
#include "std/functional.hpp"
namespace editor
{
DECLARE_EXCEPTION(MigrationError, RootException);
using TGenerateIDFn = function<FeatureID()>;
/// Tries to match xml... | 29.44 | 77 | 0.690217 | Barysman |
26e27838aed2efaa0d5bd9092391796352379b44 | 13,642 | cpp | C++ | model/Event_attributes.cpp | ProcessMaker/pmio-sdk-cpprest | 4c8408571837995dceebbb119454b81cd2dff995 | [
"Apache-2.0"
] | null | null | null | model/Event_attributes.cpp | ProcessMaker/pmio-sdk-cpprest | 4c8408571837995dceebbb119454b81cd2dff995 | [
"Apache-2.0"
] | null | null | null | model/Event_attributes.cpp | ProcessMaker/pmio-sdk-cpprest | 4c8408571837995dceebbb119454b81cd2dff995 | [
"Apache-2.0"
] | 2 | 2017-08-06T12:56:32.000Z | 2018-09-06T05:09:47.000Z | /**
* ProcessMaker API
* This ProcessMaker I/O API provides access to a BPMN 2.0 compliant workflow engine api that is designed to be used as a microservice to support enterprise cloud applications. The current Alpha 1.0 version supports most of the descriptive class of the BPMN 2.0 specification.
*
* OpenAPI spec... | 26.184261 | 277 | 0.672555 | ProcessMaker |
26e643b953a6a51f89ecdfd216e622e75d0df6ae | 1,858 | cpp | C++ | HackerRank/Searching/A_-_Ice_Cream_Parlor.cpp | Sohelr360/my_codes | 9bdd28f62d3850aad8f8af2a253ba66138a7057c | [
"MIT"
] | null | null | null | HackerRank/Searching/A_-_Ice_Cream_Parlor.cpp | Sohelr360/my_codes | 9bdd28f62d3850aad8f8af2a253ba66138a7057c | [
"MIT"
] | null | null | null | HackerRank/Searching/A_-_Ice_Cream_Parlor.cpp | Sohelr360/my_codes | 9bdd28f62d3850aad8f8af2a253ba66138a7057c | [
"MIT"
] | null | null | null | /**
* Author: Sohel Rana
* Date: 2022-06-12 11:50:13
* Task: A_-_Ice_Cream_Parlor
**/
#include <bits/stdc++.h>
#define endl '\n'
#define sqr(x) (x) * (x)
#define gcd(x,y) __gcd(x, y)
#define lcm(x,y) ((x/gcd(x,y)) * y)
#define pf push_front
#define pb push_back
#define fi first
#... | 24.773333 | 71 | 0.50592 | Sohelr360 |
26e87472aa034a1a5ddc92700c89d58663bcf06f | 46,263 | cpp | C++ | src/mame/video/konamigx.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 26 | 2015-03-31T06:25:51.000Z | 2021-12-14T09:29:04.000Z | src/mame/video/konamigx.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | null | null | null | src/mame/video/konamigx.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 10 | 2015-03-27T05:45:51.000Z | 2022-02-04T06:57:36.000Z | // license:BSD-3-Clause
// copyright-holders:R. Belmont, Acho A. Tang, Phil Stroffolino, Olivier Galibert
/*
* video/konamigx.cpp - Konami GX video hardware (here there be dragons, and achocode)
*
*/
#include "emu.h"
#include "video/k053250.h"
#include "includes/konamigx.h"
//#define GX_DEBUG
#define VERBOSE 0
... | 28.24359 | 222 | 0.679744 | Robbbert |
26ea7e087772d178fc9cd06a7e3be116ab733699 | 2,534 | cc | C++ | src/Circuit/models/ideal/IdealCapacitor.cc | kwisniew/devsim | 3a7c1e9c4d28a8a6f9e7a43e5d5475ea2cdfe138 | [
"Apache-2.0"
] | null | null | null | src/Circuit/models/ideal/IdealCapacitor.cc | kwisniew/devsim | 3a7c1e9c4d28a8a6f9e7a43e5d5475ea2cdfe138 | [
"Apache-2.0"
] | null | null | null | src/Circuit/models/ideal/IdealCapacitor.cc | kwisniew/devsim | 3a7c1e9c4d28a8a6f9e7a43e5d5475ea2cdfe138 | [
"Apache-2.0"
] | null | null | null | #include "IdealCapacitor.hh"
#include <cmath>
IdealCapacitor::IdealCapacitor( NodeKeeper *nk, const char *name,
const char *n1,
const char *n2) : InstanceModel(nk, name)
{
node_ptr_vtop= this->AddCircuitNode(n1);
node_ptr_vbot= this->AddCircuitNode(n2);
//Parameter List
... | 28.795455 | 160 | 0.676401 | kwisniew |
26f12b230f4963a779e950fe9c56e05c356300a5 | 1,538 | cpp | C++ | benchmarks/vote/novelsm/rocksdb_checkpoint.cpp | huangvincent170/cyclone | 737af617ab1472dfb16e6c20a079e88dccf85850 | [
"Apache-2.0"
] | 2 | 2019-04-16T01:33:36.000Z | 2021-02-23T08:34:38.000Z | benchmarks/vote/novelsm/rocksdb_checkpoint.cpp | huangvincent170/cyclone | 737af617ab1472dfb16e6c20a079e88dccf85850 | [
"Apache-2.0"
] | null | null | null | benchmarks/vote/novelsm/rocksdb_checkpoint.cpp | huangvincent170/cyclone | 737af617ab1472dfb16e6c20a079e88dccf85850 | [
"Apache-2.0"
] | 4 | 2020-03-27T18:06:33.000Z | 2021-03-24T09:56:17.000Z |
#include<assert.h>
#include<errno.h>
#include<string.h>
#include<stdlib.h>
#include<stdio.h>
#include <time.h>
#include<unistd.h>
#include <leveldb/db.h>
#include <leveldb/options.h>
#include <leveldb/write_batch.h>
#include <leveldb/utilities/checkpoint.h>
#include "rocksdb.hpp"
#include "logging.hpp"
#include "cloc... | 22.955224 | 67 | 0.680104 | huangvincent170 |
26f2fc8f200d1d61e94ded94853dfe123552d29b | 1,372 | hpp | C++ | Runtime/MP1/CPauseScreenBlur.hpp | Jcw87/urde | fb9ea9092ad00facfe957ece282a86c194e9cbda | [
"MIT"
] | 267 | 2016-03-10T21:59:16.000Z | 2021-03-28T18:21:03.000Z | Runtime/MP1/CPauseScreenBlur.hpp | cobalt2727/metaforce | 3bb05c0ee5dd9b1b8eaa861fc49713aef62c844a | [
"MIT"
] | 129 | 2016-03-12T10:17:32.000Z | 2021-04-05T20:45:19.000Z | Runtime/MP1/CPauseScreenBlur.hpp | cobalt2727/metaforce | 3bb05c0ee5dd9b1b8eaa861fc49713aef62c844a | [
"MIT"
] | 31 | 2016-03-20T00:20:11.000Z | 2021-03-10T21:14:11.000Z | #pragma once
#include "Runtime/CToken.hpp"
#include "Runtime/Camera/CCameraFilter.hpp"
#include "Runtime/Graphics/CTexture.hpp"
#include "Runtime/Graphics/Shaders/CTexturedQuadFilter.hpp"
#include "Runtime/Graphics/Shaders/CScanLinesFilter.hpp"
#include "Runtime/MP1/CInGameGuiManagerCommon.hpp"
namespace metaforce {
... | 31.181818 | 81 | 0.777697 | Jcw87 |
26f3836661aa3bedcaced716c016d8ce312579d3 | 2,578 | cpp | C++ | Edge/edgecomputerserver.cpp | Somoshree/serverlessonedge | 3d8e0dc7867146c9c177f814a3507d027adbb0a0 | [
"MIT"
] | 17 | 2020-07-27T08:28:29.000Z | 2022-03-19T09:17:21.000Z | Edge/edgecomputerserver.cpp | Somoshree/serverlessonedge | 3d8e0dc7867146c9c177f814a3507d027adbb0a0 | [
"MIT"
] | null | null | null | Edge/edgecomputerserver.cpp | Somoshree/serverlessonedge | 3d8e0dc7867146c9c177f814a3507d027adbb0a0 | [
"MIT"
] | 4 | 2021-02-23T09:29:32.000Z | 2022-01-18T07:24:19.000Z | /*
__ __ __
|__|__| | __
| | | ||__|
___ ___ __ | | | |
| | | || | | | Ubiquitous Internet @ IIT-CNR
| | | || | | | C++ edge computing libraries and tools
|_______|__||__|__|__| https://github.com/ccicconetti/serverlessonedge
Licensed under t... | 37.362319 | 78 | 0.706362 | Somoshree |
26f786487133949e213c1d83b6bcdba02d155a91 | 1,583 | cpp | C++ | qt/app/applicationpath.cpp | qbit-t/qb | c1fd82df3838f8526fc5e335254529ab6f953f78 | [
"MIT"
] | 1 | 2021-02-14T04:04:50.000Z | 2021-02-14T04:04:50.000Z | qt/app/applicationpath.cpp | qbit-t/qb | c1fd82df3838f8526fc5e335254529ab6f953f78 | [
"MIT"
] | null | null | null | qt/app/applicationpath.cpp | qbit-t/qb | c1fd82df3838f8526fc5e335254529ab6f953f78 | [
"MIT"
] | 1 | 2021-08-28T07:42:43.000Z | 2021-08-28T07:42:43.000Z | #include <QDir>
#include <QPluginLoader>
#include <QQmlExtensionPlugin>
#include <QDebug>
#include <QException>
#include <QStandardPaths>
#include <QStringList>
#include <QJsonDocument>
#include "applicationpath.h"
#include "error.h"
using namespace buzzer;
#ifdef Q_OS_ANDROID
std::wstring gProfile(L"android");
#els... | 21.106667 | 79 | 0.765635 | qbit-t |
26f82b0ace9129df1404b4df35cf87c1bdd9c8cf | 2,958 | hxx | C++ | opencascade/AdvApp2Var_Data.hxx | valgur/OCP | 2f7d9da73a08e4ffe80883614aedacb27351134f | [
"Apache-2.0"
] | 117 | 2020-03-07T12:07:05.000Z | 2022-03-27T07:35:22.000Z | opencascade/AdvApp2Var_Data.hxx | CadQuery/cpp-py-bindgen | 66e7376d3a27444393fc99acbdbef40bbc7031ae | [
"Apache-2.0"
] | 66 | 2019-12-20T16:07:36.000Z | 2022-03-15T21:56:10.000Z | opencascade/AdvApp2Var_Data.hxx | CadQuery/cpp-py-bindgen | 66e7376d3a27444393fc99acbdbef40bbc7031ae | [
"Apache-2.0"
] | 76 | 2020-03-16T01:47:46.000Z | 2022-03-21T16:37:07.000Z | // Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with spe... | 26.648649 | 81 | 0.734956 | valgur |
26fad1aa447d610467e3eeacb8632ded76b35948 | 590 | cpp | C++ | Game/src/Keyboard.cpp | rasmusrosengren/OpenGL3DGame | db6101d8aae97b8798a99ae458e62d2a8b407acb | [
"MIT"
] | null | null | null | Game/src/Keyboard.cpp | rasmusrosengren/OpenGL3DGame | db6101d8aae97b8798a99ae458e62d2a8b407acb | [
"MIT"
] | null | null | null | Game/src/Keyboard.cpp | rasmusrosengren/OpenGL3DGame | db6101d8aae97b8798a99ae458e62d2a8b407acb | [
"MIT"
] | null | null | null | #include "Keyboard.h"
std::array<bool, Keyboard::NUM_KEYS> Keyboard::m_lastKeys;
GLFWwindow* Keyboard::m_window = nullptr;
void Keyboard::init(GLFWwindow* window)
{
m_window = window;
}
void Keyboard::update() // Need to be called every frame
{
for (int i = 0; i < NUM_KEYS; i++)
{
m_lastKeys[i] = getKey(i);
}
... | 18.4375 | 58 | 0.705085 | rasmusrosengren |
26fc029492dd6f1cc022acd3eb315badcd4bef95 | 301 | hpp | C++ | header/conditions.hpp | jonathanmarp/dbmem | fa2d143758282fc28b00d36bcc5acfb859de1f74 | [
"MIT"
] | 2 | 2021-05-18T08:08:53.000Z | 2021-05-18T09:41:09.000Z | header/conditions.hpp | thekotekjournal/dbmem | 5fe1371167f5754e55dc84bd16278595dd5f9b38 | [
"MIT"
] | 1 | 2021-05-18T10:12:15.000Z | 2021-05-18T10:12:15.000Z | header/conditions.hpp | thekotekjournal/dbmem | 5fe1371167f5754e55dc84bd16278595dd5f9b38 | [
"MIT"
] | 1 | 2021-05-18T09:41:12.000Z | 2021-05-18T09:41:12.000Z | #ifndef DBMEM_CONDITIONS_HPP
#define DBMEM_CONDITIONS_HPP
namespace conditions {
enum CONDITIONS_STRUCT {
FALSE = 0x001,
TRUE = 0x002
};
typedef enum CONDITIONS_STRUCT Dconditions;
Dconditions Fconditions(bool conditions_boolean);
};
#endif // DBMEM_CONDITIONS_HPP | 20.066667 | 53 | 0.727575 | jonathanmarp |
26fe51326b37d5c846251f5cb710e7208fa12b56 | 1,115 | cpp | C++ | src/engine/GLUtils.cpp | Arkshine/PrototypeEngine | 6833b931ca02934dd5f68377fc8c486f01103841 | [
"Unlicense"
] | 2 | 2018-10-09T14:42:39.000Z | 2021-02-07T21:41:00.000Z | src/engine/GLUtils.cpp | Arkshine/PrototypeEngine | 6833b931ca02934dd5f68377fc8c486f01103841 | [
"Unlicense"
] | null | null | null | src/engine/GLUtils.cpp | Arkshine/PrototypeEngine | 6833b931ca02934dd5f68377fc8c486f01103841 | [
"Unlicense"
] | 1 | 2018-10-09T14:42:41.000Z | 2018-10-09T14:42:41.000Z | #include <sstream>
#include <string>
#include <GL/glew.h>
#include "Logging.h"
#include "GLUtils.h"
namespace gl
{
bool GetContextVersion( uint32_t& uiOutMajor, uint32_t& uiOutMinor )
{
uiOutMajor = 1;
uiOutMinor = 0;
const char* pszVersion = reinterpret_cast<const char*>( glGetString( GL_VERSION ) );
if( !ps... | 19.910714 | 85 | 0.679821 | Arkshine |
f8015e1b149ec7f4c352449e6c234065bdde6ace | 2,892 | hpp | C++ | include/ast/IsConstantVisitor.hpp | wichtounet/eddic | 66398a493a499eab5d1f465f93f9f099a2140d59 | [
"MIT"
] | 24 | 2015-10-08T23:08:50.000Z | 2021-09-18T21:15:01.000Z | include/ast/IsConstantVisitor.hpp | wichtounet/eddic | 66398a493a499eab5d1f465f93f9f099a2140d59 | [
"MIT"
] | 1 | 2016-02-29T20:20:45.000Z | 2016-03-03T07:16:53.000Z | include/ast/IsConstantVisitor.hpp | wichtounet/eddic | 66398a493a499eab5d1f465f93f9f099a2140d59 | [
"MIT"
] | 5 | 2015-08-09T09:53:52.000Z | 2021-09-18T21:15:05.000Z | //=======================================================================
// Copyright Baptiste Wicht 2011-2016.
// Distributed under the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//=======================================================================
#ifndef I... | 29.510204 | 149 | 0.5287 | wichtounet |
f805448050d7b1c8e358ba00f476f98c4eb4f3aa | 1,610 | hpp | C++ | solver/modules/slide/include/slide/KurageHashFeature.hpp | taiheioki/procon2014_ut | 8199ff0a54220f1a0c51acece377f65b64db4863 | [
"MIT"
] | 2 | 2021-04-14T06:41:18.000Z | 2021-04-29T01:56:08.000Z | solver/modules/slide/include/slide/KurageHashFeature.hpp | taiheioki/procon2014_ut | 8199ff0a54220f1a0c51acece377f65b64db4863 | [
"MIT"
] | null | null | null | solver/modules/slide/include/slide/KurageHashFeature.hpp | taiheioki/procon2014_ut | 8199ff0a54220f1a0c51acece377f65b64db4863 | [
"MIT"
] | null | null | null | #ifndef SLIDE_KURAGE_HASH_FEATURE_HPP_
#define SLIDE_KURAGE_HASH_FEATURE_HPP_
#include <memory>
#include "PlayBoard.hpp"
#include "ZobristTable.hpp"
namespace slide
{
template<int H, int W>
class KurageHashFeature
{
private:
ull selHash;
ull hash;
public:
static std::unique_ptr<const ZobristTable<H, W>... | 21.756757 | 114 | 0.596273 | taiheioki |
f80dc8919f40eeff132b518031b932f72c2de488 | 279 | hpp | C++ | src/ast/array.hpp | shiroyasha/telegraph | 1735dc392cfa6651ce69ca98b18f6b631c01f231 | [
"MIT",
"Unlicense"
] | 1 | 2016-12-07T21:41:37.000Z | 2016-12-07T21:41:37.000Z | src/ast/array.hpp | shiroyasha/telegraph | 1735dc392cfa6651ce69ca98b18f6b631c01f231 | [
"MIT",
"Unlicense"
] | null | null | null | src/ast/array.hpp | shiroyasha/telegraph | 1735dc392cfa6651ce69ca98b18f6b631c01f231 | [
"MIT",
"Unlicense"
] | null | null | null | #pragma once
#include "ast/node.hpp"
#include "ast/identifier.hpp"
#include "ast/type.hpp"
namespace ast {
class Array : public Type {
public:
Array(Identifier* name) : Type(name) {}
std::string toString() {
return "[" + Type::toString() + "]";
}
};
}
| 16.411765 | 43 | 0.598566 | shiroyasha |
f8125ad1502af2014a7b21a0def4ab8d6961d315 | 1,653 | hpp | C++ | backend/inc/sim/components/capacitor.hpp | capstone-2019/capstone | b9212ad803c962dc4b03fe8505fe56bfd820aa8a | [
"MIT"
] | 1 | 2019-05-04T02:21:12.000Z | 2019-05-04T02:21:12.000Z | backend/inc/sim/components/capacitor.hpp | capstone-2019/capstone | b9212ad803c962dc4b03fe8505fe56bfd820aa8a | [
"MIT"
] | 2 | 2019-02-11T17:11:28.000Z | 2019-02-11T17:12:26.000Z | backend/inc/sim/components/capacitor.hpp | capstone-2019/capstone | b9212ad803c962dc4b03fe8505fe56bfd820aa8a | [
"MIT"
] | null | null | null | /**
*
* @file capacitor.hpp
*
* @data April 1, 2019
*
* @brief This file contains the interface to the capacitor, a type of
* energy storage component supported by our simulator.
*
* @author Matthew Kasper (mkasper@andrew.cmu.edu)
*
*/
#ifndef _CAPACITOR_H_
#define _CAPACITOR_H_
#include <vector>
#include ... | 25.430769 | 74 | 0.675136 | capstone-2019 |
f812838c96544be7500f7805882b01f983abc815 | 1,629 | cpp | C++ | advent-of-code/2021/day-10/problem-2.cpp | kpagacz/spoj | 8bff809c6c5227a6e85e9b12f808dd921f24e587 | [
"MIT"
] | 1 | 2021-12-06T16:01:55.000Z | 2021-12-06T16:01:55.000Z | advent-of-code/2021/day-10/problem-2.cpp | kpagacz/comp-programming | 15482d762ede4d3b7f8ff45a193f6e6bcd85672a | [
"MIT"
] | null | null | null | advent-of-code/2021/day-10/problem-2.cpp | kpagacz/comp-programming | 15482d762ede4d3b7f8ff45a193f6e6bcd85672a | [
"MIT"
] | null | null | null | #include<iostream>
#include<string>
#include<unordered_map>
#include<stack>
#include<set>
#include<vector>
#include<algorithm>
const std::unordered_map<char, int> points{{')', 3}, {']', 57}, {'}', 1197}, {'>', 25137}};
const std::unordered_map<char, char> closers{{'(', ')'}, {'[', ']'}, {'{', '}'}, {'<', '>'}};
const ... | 26.704918 | 93 | 0.54205 | kpagacz |
f8166d2f7ac86c9e2cd49367715d50161e1c3373 | 1,280 | cpp | C++ | libs/spirit/test/qi/grammar_fail.cpp | mike-code/boost_1_38_0 | 7ff8b2069344ea6b0b757aa1f0778dfb8526df3c | [
"BSL-1.0"
] | 1 | 2019-08-22T17:17:41.000Z | 2019-08-22T17:17:41.000Z | libs/spirit/test/qi/grammar_fail.cpp | mike-code/boost_1_38_0 | 7ff8b2069344ea6b0b757aa1f0778dfb8526df3c | [
"BSL-1.0"
] | null | null | null | libs/spirit/test/qi/grammar_fail.cpp | mike-code/boost_1_38_0 | 7ff8b2069344ea6b0b757aa1f0778dfb8526df3c | [
"BSL-1.0"
] | 1 | 2021-03-07T05:20:43.000Z | 2021-03-07T05:20:43.000Z | /*=============================================================================
Copyright (c) 2001-2009 Hartmut Kaiser
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)
=========================================... | 29.767442 | 80 | 0.583594 | mike-code |
f8182d23cacbf23137987e06f7f772a982dba0d9 | 1,347 | cc | C++ | 3rdparty/pytorch/caffe2/operators/experimental/c10/cpu/relu_cpu.cc | WoodoLee/TorchCraft | 999f68aab9e7d50ed3ae138297226dc95fefc458 | [
"MIT"
] | null | null | null | 3rdparty/pytorch/caffe2/operators/experimental/c10/cpu/relu_cpu.cc | WoodoLee/TorchCraft | 999f68aab9e7d50ed3ae138297226dc95fefc458 | [
"MIT"
] | null | null | null | 3rdparty/pytorch/caffe2/operators/experimental/c10/cpu/relu_cpu.cc | WoodoLee/TorchCraft | 999f68aab9e7d50ed3ae138297226dc95fefc458 | [
"MIT"
] | null | null | null | #include <c10/core/dispatch/KernelRegistration.h>
#include "caffe2/operators/experimental/c10/schemas/relu.h"
#include "caffe2/utils/eigen_utils.h"
#include "caffe2/utils/math.h"
#include "caffe2/core/tensor.h"
using caffe2::Tensor;
namespace caffe2 {
namespace {
template <class DataType>
void relu_op_cpu_impl(
c... | 25.903846 | 78 | 0.664439 | WoodoLee |
f818c9b7c0053c2db06f0a5882f94d5d234c6efb | 402 | cpp | C++ | Simulation/src/SimulationCore/SimulationWindow.cpp | RubenB-1643541/MarblingSimulation | 7534d7bcc4952a85a2512d354569256f8129c2cd | [
"MIT"
] | null | null | null | Simulation/src/SimulationCore/SimulationWindow.cpp | RubenB-1643541/MarblingSimulation | 7534d7bcc4952a85a2512d354569256f8129c2cd | [
"MIT"
] | null | null | null | Simulation/src/SimulationCore/SimulationWindow.cpp | RubenB-1643541/MarblingSimulation | 7534d7bcc4952a85a2512d354569256f8129c2cd | [
"MIT"
] | null | null | null | #include "SimulationWindow.h"
#include "../SimUtils/Icon.h"
SimulationWindow::SimulationWindow() : RenderEngine::WindowBase("Marbling Simulation")
{
GLFWimage* icon = LoadGLFWimage("res/icons/Icon.png");
glfwSetWindowIcon(_window, 1, icon);
}
void SimulationWindow::OnDraw()
{
}
void SimulationWind... | 19.142857 | 87 | 0.691542 | RubenB-1643541 |
f81ccb181109bb2cdd86d930513e643e52392a41 | 6,212 | cpp | C++ | printscan/faxsrv/com/whistler/faxrecipients.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | printscan/faxsrv/com/whistler/faxrecipients.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | printscan/faxsrv/com/whistler/faxrecipients.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*++
Copyright (c) 2000 Microsoft Corporation
Module Name:
FaxRecipients.cpp
Abstract:
Implementation of Fax Recipients Collection
Author:
Iv Garber (IvG) Apr, 2000
Revision History:
--*/
#include "stdafx.h"
#include "FaxComEx.h"
#include "FaxRecipients.h"
//
//==================... | 18.163743 | 82 | 0.61671 | npocmaka |
f81d40d89f25fd1348ed725f9dc902a70b1889b6 | 2,995 | cpp | C++ | KatamariSphereController.cpp | catinapoke/directx-engine | b967eff417d170fce947066486b01a1003fa20ce | [
"MIT"
] | null | null | null | KatamariSphereController.cpp | catinapoke/directx-engine | b967eff417d170fce947066486b01a1003fa20ce | [
"MIT"
] | null | null | null | KatamariSphereController.cpp | catinapoke/directx-engine | b967eff417d170fce947066486b01a1003fa20ce | [
"MIT"
] | null | null | null | #include "KatamariSphereController.h"
#include <iostream>
#include "TransformComponent.h"
#include "Camera.h"
typedef DirectX::SimpleMath::Matrix Matrix;
KatamariSphereController::KatamariSphereController(std::shared_ptr<InputDevice> device, CameraComponent* camera)
: transform(nullptr), camera_(camera->GetActo... | 32.554348 | 116 | 0.70384 | catinapoke |
f81f207532f53e6de14d7ea4ae35ad527b6f1aa9 | 9,596 | hpp | C++ | lib/fiber/collection_of_basis_transformations.hpp | nicolas-chaulet/bempp | 0f5cc72e0e542437e787db5704978456b0ad9e35 | [
"BSL-1.0"
] | 2 | 2021-07-22T13:34:28.000Z | 2021-07-22T13:35:20.000Z | lib/fiber/collection_of_basis_transformations.hpp | UCL/bempp | f768ec7d319c02d6e0142512fb61db0607cadf10 | [
"BSL-1.0"
] | null | null | null | lib/fiber/collection_of_basis_transformations.hpp | UCL/bempp | f768ec7d319c02d6e0142512fb61db0607cadf10 | [
"BSL-1.0"
] | 1 | 2021-05-17T09:46:44.000Z | 2021-05-17T09:46:44.000Z | // Copyright (C) 2011-2012 by the BEM++ Authors
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, mer... | 45.913876 | 83 | 0.698833 | nicolas-chaulet |
f824518665a0ccd2d9fc19557a4ce29f38494a6b | 2,058 | cpp | C++ | src/libraries/thermophysicalModels/radiation/submodels/scatterModel/noScatter/noScatter.cpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/thermophysicalModels/radiation/submodels/scatterModel/noScatter/noScatter.cpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/thermophysicalModels/radiation/submodels/scatterModel/noScatter/noScatter.cpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | /*---------------------------------------------------------------------------*\
Copyright (C) 2012-2018 OpenFOAM Foundation
-------------------------------------------------------------------------------
License
This file is part of Caelus.
Caelus is free software: you can redistribute it and/or modify it
... | 28.985915 | 79 | 0.510204 | MrAwesomeRocks |
f824c6de8a75de55487bcacabf20b24e22ab5bef | 880 | hpp | C++ | escapee/Classes/v1/GameAct/Contours/KitExpert.hpp | 1pkg/dump | 0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b | [
"MIT"
] | null | null | null | escapee/Classes/v1/GameAct/Contours/KitExpert.hpp | 1pkg/dump | 0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b | [
"MIT"
] | 3 | 2020-12-11T10:01:27.000Z | 2022-02-13T22:12:05.000Z | escapee/Classes/v1/GameAct/Contours/KitExpert.hpp | 1pkg/dump | 0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b | [
"MIT"
] | null | null | null | #ifndef __GAME_ACT_CONTOURS_KIT_EXPERT_HPP__
#define __GAME_ACT_CONTOURS_KIT_EXPERT_HPP__
#include "Interfaces/INoncopyable.hpp"
#include <cocos2d.h>
namespace GameAct
{
namespace Contours
{
class Kit;
class Segment;
class Line;
class KitExpert : public Interfaces::INoncopyable
{
public:
Ki... | 18.723404 | 77 | 0.727273 | 1pkg |
f826e199873397f748c33e7cde8521e04347f672 | 5,141 | cpp | C++ | applicationsBin/sbReconf/makeConfigY.cpp | claytronics/visiblesim | 2762a88a23e50516d0f166dd9629f1ac7290fded | [
"Apache-2.0"
] | 4 | 2016-08-18T03:19:49.000Z | 2020-09-20T03:29:26.000Z | applicationsBin/sbReconf/makeConfigY.cpp | claytronics/visiblesim | 2762a88a23e50516d0f166dd9629f1ac7290fded | [
"Apache-2.0"
] | 2 | 2016-08-18T03:25:07.000Z | 2016-08-29T17:51:50.000Z | applicationsBin/sbReconf/makeConfigY.cpp | claytronics/visiblesim | 2762a88a23e50516d0f166dd9629f1ac7290fded | [
"Apache-2.0"
] | 3 | 2015-05-14T07:29:55.000Z | 2021-07-18T23:45:36.000Z | #include <iostream>
#include <fstream>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include "skeleton.h"
using namespace std;
int main(int argc,char **argv) {
int initSquareLx=41,initSquareLy=41,
conveyorBlocks=500,armLength=15;
int maxTimeSimulation=3000,iAngle=45;
double angle;
... | 30.420118 | 157 | 0.51313 | claytronics |
f827a230332c0358261ed44f6ecdbd15a798b337 | 1,251 | hxx | C++ | opencascade/ShapeExtend_Parametrisation.hxx | valgur/OCP | 2f7d9da73a08e4ffe80883614aedacb27351134f | [
"Apache-2.0"
] | 117 | 2020-03-07T12:07:05.000Z | 2022-03-27T07:35:22.000Z | opencascade/ShapeExtend_Parametrisation.hxx | CadQuery/cpp-py-bindgen | 66e7376d3a27444393fc99acbdbef40bbc7031ae | [
"Apache-2.0"
] | 66 | 2019-12-20T16:07:36.000Z | 2022-03-15T21:56:10.000Z | opencascade/ShapeExtend_Parametrisation.hxx | CadQuery/cpp-py-bindgen | 66e7376d3a27444393fc99acbdbef40bbc7031ae | [
"Apache-2.0"
] | 76 | 2020-03-16T01:47:46.000Z | 2022-03-21T16:37:07.000Z | // Created on: 1998-07-21
// Created by: data exchange team
// Copyright (c) 1998-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the... | 39.09375 | 86 | 0.780176 | valgur |
f82b1039c9d734ac60363adfdb91874ca6e969c2 | 39,825 | cpp | C++ | main/dsp/DCO_Synth.cpp | shroomist/Glo_v1 | 19e09790fa9f26926f7565f026ebb98fec4243ee | [
"Apache-2.0"
] | 16 | 2019-10-09T17:20:15.000Z | 2021-09-05T03:26:00.000Z | main/dsp/DCO_Synth.cpp | shroomist/Glo_v1 | 19e09790fa9f26926f7565f026ebb98fec4243ee | [
"Apache-2.0"
] | 1 | 2019-12-16T20:29:33.000Z | 2019-12-16T20:29:33.000Z | main/dsp/DCO_Synth.cpp | shroomist/Glo_v1 | 19e09790fa9f26926f7565f026ebb98fec4243ee | [
"Apache-2.0"
] | 3 | 2019-11-01T01:03:00.000Z | 2022-02-16T13:35:34.000Z | /*
* DCO_synth.cpp
*
* Created on: 11 May 2017
* Author: mario
*
* Based on "The Tiny-TS Touch Synthesizer" by Janost 2016, Sweden
* https://janostman.wordpress.com/the-tiny-ts-diy-touch-synthesizer/
* https://www.kickstarter.com/projects/732508269/the-tiny-ts-an-open-sourced-diy-touch-synthesizer/
*
*/... | 26.097641 | 197 | 0.590358 | shroomist |
f82d36f3a41917690f648621c7fbd59844900288 | 3,301 | cpp | C++ | tc 160+/InstantRunoff.cpp | ibudiselic/contest-problem-solutions | 88082981b4d87da843472e3ca9ed5f4c42b3f0aa | [
"BSD-2-Clause"
] | 3 | 2015-05-25T06:24:37.000Z | 2016-09-10T07:58:00.000Z | tc 160+/InstantRunoff.cpp | ibudiselic/contest-problem-solutions | 88082981b4d87da843472e3ca9ed5f4c42b3f0aa | [
"BSD-2-Clause"
] | null | null | null | tc 160+/InstantRunoff.cpp | ibudiselic/contest-problem-solutions | 88082981b4d87da843472e3ca9ed5f4c42b3f0aa | [
"BSD-2-Clause"
] | 5 | 2015-05-25T06:24:40.000Z | 2021-08-19T19:22:29.000Z | #include <algorithm>
#include <cassert>
#include <cstdio>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <climits>
using namespace std;
class InstantRunoff {
public:
string outcome(string candidates, vector <string> ballots) {
while (candidates.size() > 0) {
... | 45.219178 | 315 | 0.566192 | ibudiselic |
f82d52b36f61ff0da4e1bb804899e48f572ec1c3 | 1,199 | hpp | C++ | win32.cpp/include/win32/high_resolution_clock.hpp | fallfromgrace/win32.cpp | cab9fbc2e595fb2c9114d0251b04d895185c5fcb | [
"MIT"
] | null | null | null | win32.cpp/include/win32/high_resolution_clock.hpp | fallfromgrace/win32.cpp | cab9fbc2e595fb2c9114d0251b04d895185c5fcb | [
"MIT"
] | null | null | null | win32.cpp/include/win32/high_resolution_clock.hpp | fallfromgrace/win32.cpp | cab9fbc2e595fb2c9114d0251b04d895185c5fcb | [
"MIT"
] | null | null | null | #pragma once
#include <chrono>
#include <Windows.h>
#include "more\includes.hpp"
#include "win32\error.hpp"
namespace win32
{
//
class high_resolution_clock
{
public:
typedef uint64_t rep;
typedef std::nano period;
typedef std::chrono::duration<rep, period> duration;
typedef std::chrono::time_point<hig... | 23.509804 | 90 | 0.723103 | fallfromgrace |
f830dc93f661a5eb56e9fa87881de4f1a8e34c97 | 16,015 | cpp | C++ | blast/src/objtools/alnmgr/alnvecprint.cpp | mycolab/ncbi-blast | e59746cec78044d2bf6d65de644717c42f80b098 | [
"Apache-2.0"
] | 31 | 2016-12-09T04:56:59.000Z | 2021-12-31T17:19:10.000Z | blast/src/objtools/alnmgr/alnvecprint.cpp | mycolab/ncbi-blast | e59746cec78044d2bf6d65de644717c42f80b098 | [
"Apache-2.0"
] | 6 | 2017-03-10T17:25:13.000Z | 2021-09-22T15:49:49.000Z | blast/src/objtools/alnmgr/alnvecprint.cpp | mycolab/ncbi-blast | e59746cec78044d2bf6d65de644717c42f80b098 | [
"Apache-2.0"
] | 20 | 2015-01-04T02:15:17.000Z | 2021-12-03T02:31:43.000Z | /* $Id: alnvecprint.cpp 339805 2011-10-03 17:28:28Z grichenk $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Information
*
* This software/database is a "United States Government Work"... | 36.06982 | 88 | 0.424539 | mycolab |
f833abf19ec3c0320b53c6030e926fc05814edaa | 1,041 | cpp | C++ | problems19dec/snake/3.cpp | Gomango999/codebreaker | 407c4ac7a69c8db52cc7d2a57034cdda243c9134 | [
"MIT"
] | 1 | 2021-12-11T01:43:27.000Z | 2021-12-11T01:43:27.000Z | problems19dec/snake/3.cpp | Gomango999/codebreaker | 407c4ac7a69c8db52cc7d2a57034cdda243c9134 | [
"MIT"
] | null | null | null | problems19dec/snake/3.cpp | Gomango999/codebreaker | 407c4ac7a69c8db52cc7d2a57034cdda243c9134 | [
"MIT"
] | 1 | 2021-12-15T07:04:29.000Z | 2021-12-15T07:04:29.000Z | // No comment
#include <iostream>
#include <algorithm>
using namespace std;
char makeBeef(char x) {
string snake = "SNAKE";
string cow = "ANGUS";
for(int i = 0; i < 5; i++) {
if(snake[i] == x) {
return cow[i];
}
}
return 'X';
}
int N;
string S;
const int FAIL = -1234;... | 17.065574 | 63 | 0.411143 | Gomango999 |
f83595e4245ba99a0f4e521570d5c4197e4d71f3 | 335 | cpp | C++ | C++/TheCherno/21-main.cpp | Youngermaster/learning-programming-languages | 55ce852799ced3d656df01230e4fd9e619ed3f6b | [
"MIT"
] | 1 | 2020-07-20T15:28:50.000Z | 2020-07-20T15:28:50.000Z | C++/TheCherno/21-main.cpp | Youngermaster/learning-programming-languages | 55ce852799ced3d656df01230e4fd9e619ed3f6b | [
"MIT"
] | 1 | 2022-03-02T13:16:03.000Z | 2022-03-02T13:16:03.000Z | C++/TheCherno/21-main.cpp | Youngermaster/Learning-Programming-Languages | b94d3d85abc6c107877b11b42a3862d4aae8e3ee | [
"MIT"
] | null | null | null | #include <iostream>
#define LOG(x) std::cout << x << std::endl
int s_variable = 5;
// * To avoid the linking error we add extern
// * to get this variable from another file.
extern int noStaticVariable;
void function()
{
LOG(s_variable);
LOG(noStaticVariable);
}
int main(int argc, char const *argv[])
{
... | 15.952381 | 45 | 0.665672 | Youngermaster |
f83beb1a440c9892cbc3ec8a1aebb5a50ff8a714 | 2,586 | hpp | C++ | NCGB/Compile/src/OBSOLETE2009/BaGBListIterator.hpp | mcdeoliveira/NC | 54b2a81ebda9e5260328f88f83f56fe8cf472ac3 | [
"BSD-3-Clause"
] | 103 | 2016-09-21T06:01:23.000Z | 2022-03-27T06:52:10.000Z | NCGB/Compile/src/OBSOLETE2009/BaGBListIterator.hpp | albinjames/NC | 157a55458931a18dd1f42478872c9df0de5cc450 | [
"BSD-3-Clause"
] | 11 | 2017-03-27T13:11:42.000Z | 2022-03-08T13:46:14.000Z | NCGB/Compile/src/OBSOLETE2009/BaGBListIterator.hpp | albinjames/NC | 157a55458931a18dd1f42478872c9df0de5cc450 | [
"BSD-3-Clause"
] | 21 | 2017-06-23T09:01:21.000Z | 2022-02-18T06:24:00.000Z | // BaGBListIterator.h
#ifndef INCLUDED_BAGBLISTITERATOR_H
#define INCLUDED_BAGBLISTITERATOR_H
#include "ListChoice.hpp"
#ifdef USE_OLD_GBLIST
#ifdef DEBUGGBListIterator
#ifndef INCLUDED_DEBUG1_H
#include "Debug1.hpp"
#endif
#endif
#ifndef INCLUDED_DLLIST_H
#include "DLList.hpp"
#endif
#ifndef INC... | 21.731092 | 80 | 0.669374 | mcdeoliveira |
f83ceabbb354e8ab2cd9ff9f4dbf28f93f9eadb4 | 3,071 | cpp | C++ | src/io.cpp | tguyard/sentry-native | e33c68d1d61a65a089a431185584fa304c81c58f | [
"MIT"
] | 1 | 2019-11-25T22:33:56.000Z | 2019-11-25T22:33:56.000Z | src/io.cpp | detwiler/sentry-native | d2035afffcad282a44195cacc0d300de7fe0e36d | [
"MIT"
] | null | null | null | src/io.cpp | detwiler/sentry-native | d2035afffcad282a44195cacc0d300de7fe0e36d | [
"MIT"
] | null | null | null | #include <cstdlib>
#include "internal.hpp"
#include "io.hpp"
#include "path.hpp"
#ifndef _WIN32
#include <fcntl.h>
#include <unistd.h>
#endif
using namespace sentry;
IoWriter::IoWriter() {
}
IoWriter::~IoWriter() {
}
FileIoWriter::FileIoWriter() : m_buflen(0) {
// on non win32 platforms we only use open/write... | 20.610738 | 67 | 0.565939 | tguyard |
f83eebc3951e3b7c9f6af443f0c97b8c68eafbb1 | 4,607 | cpp | C++ | 2022.04.04. Test 2.d.r/2022.04.04. Test 2.d.r/Fraction.cpp | whitehet-sex-lman/The-first-course-2021.Cplpl | 2bd2ad443d9c055fcd0694970d0a2f245b37f962 | [
"Apache-2.0"
] | null | null | null | 2022.04.04. Test 2.d.r/2022.04.04. Test 2.d.r/Fraction.cpp | whitehet-sex-lman/The-first-course-2021.Cplpl | 2bd2ad443d9c055fcd0694970d0a2f245b37f962 | [
"Apache-2.0"
] | null | null | null | 2022.04.04. Test 2.d.r/2022.04.04. Test 2.d.r/Fraction.cpp | whitehet-sex-lman/The-first-course-2021.Cplpl | 2bd2ad443d9c055fcd0694970d0a2f245b37f962 | [
"Apache-2.0"
] | null | null | null | #include "Fraction.h"
Fraction::Fraction(long long numerator, long long denominator)
{
if (numerator < 0 && denominator > 0 || numerator >= 0 && denominator > 0)
{
this->numerator = numerator;
this->denominator = denominator;
}
else if (numerator < 0 && denominator < 0 || numerator >= 0 && denominator < 0)
{
... | 24.247368 | 170 | 0.725418 | whitehet-sex-lman |
f8407239587e83ddf553d64c386171ffe45ab521 | 1,650 | hpp | C++ | src/cpa/cpa.hpp | DfX-NYUAD/CPA | 4b1364e7b0eb7d0580b4e90e5a05a109551ed49d | [
"MIT"
] | null | null | null | src/cpa/cpa.hpp | DfX-NYUAD/CPA | 4b1364e7b0eb7d0580b4e90e5a05a109551ed49d | [
"MIT"
] | null | null | null | src/cpa/cpa.hpp | DfX-NYUAD/CPA | 4b1364e7b0eb7d0580b4e90e5a05a109551ed49d | [
"MIT"
] | null | null | null | /* Copyright (c) 2013 Tescase
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distr... | 37.5 | 228 | 0.762424 | DfX-NYUAD |
f84549bb0abe8eca74e63b64cbcad69b6498552b | 2,553 | cpp | C++ | assec-renderer/platform/directx12/directx12_command_list.cpp | TeamVistic/assec-renderer | 5c6fc9a46fc3f6302471a22bfd2bdf2942b794db | [
"Apache-2.0"
] | null | null | null | assec-renderer/platform/directx12/directx12_command_list.cpp | TeamVistic/assec-renderer | 5c6fc9a46fc3f6302471a22bfd2bdf2942b794db | [
"Apache-2.0"
] | null | null | null | assec-renderer/platform/directx12/directx12_command_list.cpp | TeamVistic/assec-renderer | 5c6fc9a46fc3f6302471a22bfd2bdf2942b794db | [
"Apache-2.0"
] | null | null | null | #include "pch.h"
#include "directx12_command_list.h"
namespace assec::renderer
{
ComPtr<ID3D12GraphicsCommandList2> create_command_list(ComPtr<ID3D12Device2> device,
ComPtr<ID3D12CommandAllocator> command_allocator, D3D12_COMMAND_LIST_TYPE type)
{
ComPtr<ID3D12GraphicsCommandList2> result;
throw_if_failed(devi... | 48.169811 | 229 | 0.806894 | TeamVistic |