hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 109 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 48.5k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
610ee6082cbb2120ef0a786a2daff438fe668131 | 2,260 | hpp | C++ | Caller/etching_caller.hpp | jwnam/etching | 7f6750de03bbd44e86451ee9ab4edaa9ed77d3a3 | [
"MIT"
] | null | null | null | Caller/etching_caller.hpp | jwnam/etching | 7f6750de03bbd44e86451ee9ab4edaa9ed77d3a3 | [
"MIT"
] | null | null | null | Caller/etching_caller.hpp | jwnam/etching | 7f6750de03bbd44e86451ee9ab4edaa9ed77d3a3 | [
"MIT"
] | null | null | null | //--------------------------------------------------------------------
// Copyright 2020. Bioinformatic and Genomics Lab.
// Hanyang University, Seoul, Korea
// Coded by Jang-il Sohn (sohnjangil@gmail.com)
//--------------------------------------------------------------------
#ifndef ETCHING_CALLER_HPP
#define ETCHING... | 24.042553 | 114 | 0.657965 | jwnam |
6110ee745d9ab7e88b86498427f632d148122191 | 896 | cpp | C++ | src/sfml/graphics/DerivableRenderWindow.cpp | vmstarchenko/python-sfml | 3105bbc7ae405633702fc22c1725d7941d098488 | [
"Zlib"
] | 121 | 2015-01-05T17:31:46.000Z | 2019-09-11T02:28:58.000Z | src/sfml/graphics/DerivableRenderWindow.cpp | vmstarchenko/python-sfml | 3105bbc7ae405633702fc22c1725d7941d098488 | [
"Zlib"
] | 86 | 2015-01-23T04:50:47.000Z | 2019-04-04T07:23:57.000Z | src/sfml/graphics/DerivableRenderWindow.cpp | vmstarchenko/python-sfml | 3105bbc7ae405633702fc22c1725d7941d098488 | [
"Zlib"
] | 37 | 2015-01-18T13:09:02.000Z | 2019-05-06T18:13:44.000Z | /*
* PySFML - Python bindings for SFML
* Copyright (c) 2012-2017, Jonathan De Wachter <dewachter.jonathan@gmail.com>
*
* This file is part of PySFML project and is available under the zlib
* license.
*/
#include <pysfml/graphics/DerivableRenderWindow.hpp>
DerivableRenderWindow::DerivableRenderWindow(PyObject* object)... | 20.837209 | 77 | 0.716518 | vmstarchenko |
61180a31df8bb1f7a0c07c30dfb64d001115b676 | 2,289 | hpp | C++ | include/smartereye2/device/record_playback.hpp | SmarterEye/libsmartereye2 | 86164ef7f947da1ad93779c8f4eef05eb7e43e62 | [
"Apache-2.0"
] | 1 | 2021-06-01T03:18:09.000Z | 2021-06-01T03:18:09.000Z | include/smartereye2/device/record_playback.hpp | SmarterEye/libsmartereye2 | 86164ef7f947da1ad93779c8f4eef05eb7e43e62 | [
"Apache-2.0"
] | null | null | null | include/smartereye2/device/record_playback.hpp | SmarterEye/libsmartereye2 | 86164ef7f947da1ad93779c8f4eef05eb7e43e62 | [
"Apache-2.0"
] | 1 | 2021-06-01T03:18:11.000Z | 2021-06-01T03:18:11.000Z | // Copyright 2020 Smarter Eye Co.,Ltd. All Rights Reserved.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applica... | 27.914634 | 105 | 0.743556 | SmarterEye |
61185a92f666dbb001f3956f8586f1e8c01c976d | 342 | cpp | C++ | Estructura-de-dades/Problemes/Ex4/main.cpp | Javiooli/Uni | 2dd4d8e657222bf9723df6438303449182f5eb01 | [
"MIT"
] | null | null | null | Estructura-de-dades/Problemes/Ex4/main.cpp | Javiooli/Uni | 2dd4d8e657222bf9723df6438303449182f5eb01 | [
"MIT"
] | null | null | null | Estructura-de-dades/Problemes/Ex4/main.cpp | Javiooli/Uni | 2dd4d8e657222bf9723df6438303449182f5eb01 | [
"MIT"
] | null | null | null | #include "LinkedStack.h"
template <class T>
bool palindrom(LinkedStack<T> s1) {
LinkedStack<T> s2, s3 = s1;
while (s1.empty()) {
s2.push()(s1.top());
s1.pop();
}
bool all = true;
while(all && !s2.empty()) {
all = s2.top() == s3.top();
s2.pop();
s3.pop();
... | 17.1 | 35 | 0.479532 | Javiooli |
6119416b7ff31b4ed1ef6dde6d7260bf66506a58 | 10,118 | cc | C++ | src/Visual_TEST.cc | MarqRazz/sdformat | ef48530765297126ff3c3486a926f4ae650c1331 | [
"ECL-2.0",
"Apache-2.0"
] | 67 | 2020-04-11T22:27:46.000Z | 2021-06-19T16:17:42.000Z | src/Visual_TEST.cc | MarqRazz/sdformat | ef48530765297126ff3c3486a926f4ae650c1331 | [
"ECL-2.0",
"Apache-2.0"
] | 339 | 2020-04-13T23:15:09.000Z | 2021-06-28T13:57:17.000Z | src/Visual_TEST.cc | MarqRazz/sdformat | ef48530765297126ff3c3486a926f4ae650c1331 | [
"ECL-2.0",
"Apache-2.0"
] | 45 | 2020-04-14T21:27:44.000Z | 2021-06-18T22:50:25.000Z | /*
* Copyright (C) 2018 Open Source Robotics Foundation
*
* 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 appl... | 31.325077 | 77 | 0.672267 | MarqRazz |
611b0c8d807d232e6b82c8e4ff18b2c4b1ec9b1d | 22,320 | cpp | C++ | submodules/Digit_Model/gen/kin/eigen/src/Jp_LeftToeBRod.cpp | prem-chand/Cassie_CFROST | da4bd51442f86e852cbb630cc91c9a380a10b66d | [
"BSD-3-Clause"
] | null | null | null | submodules/Digit_Model/gen/kin/eigen/src/Jp_LeftToeBRod.cpp | prem-chand/Cassie_CFROST | da4bd51442f86e852cbb630cc91c9a380a10b66d | [
"BSD-3-Clause"
] | null | null | null | submodules/Digit_Model/gen/kin/eigen/src/Jp_LeftToeBRod.cpp | prem-chand/Cassie_CFROST | da4bd51442f86e852cbb630cc91c9a380a10b66d | [
"BSD-3-Clause"
] | null | null | null | /*
* Automatically Generated from Mathematica.
* Thu 4 Nov 2021 17:03:16 GMT-04:00
*/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "Jp_LeftToeBRod.h"
#ifdef _MSC_VER
#define INLINE __forceinline /* use __forceinline (VC++ specific) */
#else
#define INLINE static inline /* use standa... | 22.545455 | 134 | 0.64888 | prem-chand |
611d9eac1a763b49122ab1cead1e5f5cfc24f7d6 | 5,309 | cpp | C++ | SHVX/framework/input/keyboard.cpp | PsychoDad9999/GTA5-Mods | 38a3aa2ec48cd52cb851f1cda636c53bfbc058ad | [
"MIT"
] | 5 | 2020-09-23T06:03:48.000Z | 2021-04-14T19:37:55.000Z | SHVX/framework/input/keyboard.cpp | PsychoDad9999/GTA5-Mods | 38a3aa2ec48cd52cb851f1cda636c53bfbc058ad | [
"MIT"
] | null | null | null | SHVX/framework/input/keyboard.cpp | PsychoDad9999/GTA5-Mods | 38a3aa2ec48cd52cb851f1cda636c53bfbc058ad | [
"MIT"
] | null | null | null | // ----------------------------------------------------------------------------
#include "keyboard.h"
#include <inc/main.h>
#include <stdio.h>
// ----------------------------------------------------------------------------
Keyboard::Key Keyboard::m_keystates[MAX_KEY_STATES];
void Keyboard::RegisterKeyboardHook()... | 34.474026 | 168 | 0.514033 | PsychoDad9999 |
6125356df0cbaa2353f5237cc035a2bc8d2d56b9 | 2,578 | hpp | C++ | Windflower/src/Validator.hpp | Ornibyl/Windflower | 5a8f18aa970d8145faf065170b4541e2bf1e592c | [
"MIT"
] | null | null | null | Windflower/src/Validator.hpp | Ornibyl/Windflower | 5a8f18aa970d8145faf065170b4541e2bf1e592c | [
"MIT"
] | null | null | null | Windflower/src/Validator.hpp | Ornibyl/Windflower | 5a8f18aa970d8145faf065170b4541e2bf1e592c | [
"MIT"
] | null | null | null | #pragma once
#include <unordered_map>
#include "Datatypes/Node.hpp"
#include "Error/Error.hpp"
#include "Datatypes/SymbolTable.hpp"
namespace wf
{
class Validator
{
public:
Validator(TypeInformation& type_info, SymbolTable& symbol_table);
void validate_ast(std::shared_ptr<Node> ast);
... | 39.661538 | 83 | 0.719162 | Ornibyl |
61262989d1da6970ed72de29a1f8d9f9683c86a4 | 9,975 | cpp | C++ | DiveIntoC++11/3_Memory/p3.cpp | aviyn/Tutorials | fee4cbea59a25157e720cee99c925017080dd9a7 | [
"AFL-3.0"
] | 190 | 2015-01-29T16:08:48.000Z | 2021-10-02T04:44:36.000Z | DiveIntoC++11/3_Memory/p3.cpp | aviyn/Tutorials | fee4cbea59a25157e720cee99c925017080dd9a7 | [
"AFL-3.0"
] | 6 | 2015-06-05T12:22:13.000Z | 2017-03-31T08:59:40.000Z | DiveIntoC++11/3_Memory/p3.cpp | aviyn/Tutorials | fee4cbea59a25157e720cee99c925017080dd9a7 | [
"AFL-3.0"
] | 61 | 2015-01-16T02:39:20.000Z | 2021-11-17T08:51:04.000Z | // Copyright (c) 2013-2015 Vittorio Romeo
// License: Academic Free License ("AFL") v. 3.0
// AFL License page: http://opensource.org/licenses/AFL-3.0
#include <iostream>
#include <string>
#include <vector>
// "Dynamic storage" refers to the dynamic allocation/deallocation
// of objects on the free-store.
// To allo... | 34.756098 | 79 | 0.621053 | aviyn |
6126b45e20dc91a7c24cbaa247f93b72f482697f | 531 | hpp | C++ | src/ogl/texture_2d.hpp | bggd/game_renderer | d5f9f13d0ac04b08e526a07bd2fa69b6e53b4bd6 | [
"MIT"
] | null | null | null | src/ogl/texture_2d.hpp | bggd/game_renderer | d5f9f13d0ac04b08e526a07bd2fa69b6e53b4bd6 | [
"MIT"
] | null | null | null | src/ogl/texture_2d.hpp | bggd/game_renderer | d5f9f13d0ac04b08e526a07bd2fa69b6e53b4bd6 | [
"MIT"
] | null | null | null | namespace grndr { namespace ogl {
struct Texture2D {
GLuint id = 0;
static GLuint current_id;
static void gen_textures(GLsizei n, GLuint* textures);
static void delete_textures(GLsizei n, const GLuint* textures);
static void bind_zero();
void create();
void destroy();
void bind();
void tex_para... | 20.423077 | 71 | 0.717514 | bggd |
612777981f9bba9d942f861db5a5fb1b2673f6f0 | 104,332 | cpp | C++ | roxe.cdt/roxe_llvm/lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp | APFDev/actc | be5c1c0539d30a3745a725b0027767448ef8e1f6 | [
"MIT"
] | 5 | 2021-01-13T03:34:00.000Z | 2021-09-09T05:42:18.000Z | roxe.cdt/roxe_llvm/lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp | APFDev/actc | be5c1c0539d30a3745a725b0027767448ef8e1f6 | [
"MIT"
] | 1 | 2020-05-16T06:30:28.000Z | 2020-05-16T06:37:55.000Z | roxe.cdt/roxe_llvm/lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp | APFDev/actc | be5c1c0539d30a3745a725b0027767448ef8e1f6 | [
"MIT"
] | 6 | 2020-01-06T11:18:54.000Z | 2020-01-07T09:32:18.000Z | //===- AMDGPUMachineCFGStructurizer.cpp - Machine code if conversion pass. ===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 35.865246 | 86 | 0.623021 | APFDev |
6129ffd0b0f1fc439c20085e9d3cd0060517831e | 856 | cpp | C++ | Source/Core/FileFormat/GrADS/Title.cpp | X1aoyueyue/KVS | ad47d62bef4fdd9ddd3412a26ee6557b63f0543b | [
"BSD-3-Clause"
] | null | null | null | Source/Core/FileFormat/GrADS/Title.cpp | X1aoyueyue/KVS | ad47d62bef4fdd9ddd3412a26ee6557b63f0543b | [
"BSD-3-Clause"
] | null | null | null | Source/Core/FileFormat/GrADS/Title.cpp | X1aoyueyue/KVS | ad47d62bef4fdd9ddd3412a26ee6557b63f0543b | [
"BSD-3-Clause"
] | null | null | null | /*****************************************************************************/
/**
* @file Title.cpp
* @author Naohisa Sakamoto
*/
/*****************************************************************************/
#include "Title.h"
#include <kvs/Tokenizer>
namespace kvs
{
namespace grads
{
/*=================... | 22.526316 | 79 | 0.384346 | X1aoyueyue |
612a6d86bc42664d60df4306ed235556f5e4fd6e | 24,869 | tcc | C++ | flens/blas/level2/mv.tcc | stip/FLENS | 80495fa97dda42a0acafc8f83fc9639ae36d2e10 | [
"BSD-3-Clause"
] | 98 | 2015-01-26T20:31:37.000Z | 2021-09-09T15:51:37.000Z | flens/blas/level2/mv.tcc | stip/FLENS | 80495fa97dda42a0acafc8f83fc9639ae36d2e10 | [
"BSD-3-Clause"
] | 16 | 2015-01-21T07:43:45.000Z | 2021-12-06T12:08:36.000Z | flens/blas/level2/mv.tcc | stip/FLENS | 80495fa97dda42a0acafc8f83fc9639ae36d2e10 | [
"BSD-3-Clause"
] | 31 | 2015-01-05T08:06:45.000Z | 2022-01-26T20:12:00.000Z | /*
* Copyright (c) 2009, Michael Lehn
*
* 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,... | 29.64124 | 80 | 0.544212 | stip |
612cc42d7a99a0026f73daad35bddf2d4aaad181 | 2,448 | cpp | C++ | lib/bullet/src/examples/ThirdPartyLibs/BussIK/Node.cpp | mtesseracttech/CustomEngine | 1a9ed564408ae29fe49681a810b851403d71f486 | [
"Apache-2.0"
] | 27 | 2018-05-21T14:28:10.000Z | 2021-12-31T03:12:35.000Z | lib/bullet/src/examples/ThirdPartyLibs/BussIK/Node.cpp | mtesseracttech/CustomEngine | 1a9ed564408ae29fe49681a810b851403d71f486 | [
"Apache-2.0"
] | 2 | 2018-02-02T21:26:09.000Z | 2018-02-06T19:05:24.000Z | lib/bullet/src/examples/ThirdPartyLibs/BussIK/Node.cpp | mtesseracttech/CustomEngine | 1a9ed564408ae29fe49681a810b851403d71f486 | [
"Apache-2.0"
] | 13 | 2019-11-08T12:48:44.000Z | 2022-01-04T04:13:33.000Z | /*
*
* Mathematics Subpackage (VrMath)
*
*
* Author: Samuel R. Buss, sbuss@ucsd.edu.
* Web page: http://math.ucsd.edu/~sbuss/MathCG
*
*
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permissio... | 27.2 | 243 | 0.680556 | mtesseracttech |
612d7415e74d5b1984f256004a6797eab46f3b7b | 468 | cpp | C++ | src/nft/util.cpp | BlockMechanic/crown | e6b1873ca79c484a3621e503eb8ce464f85dd2c7 | [
"MIT"
] | null | null | null | src/nft/util.cpp | BlockMechanic/crown | e6b1873ca79c484a3621e503eb8ce464f85dd2c7 | [
"MIT"
] | null | null | null | src/nft/util.cpp | BlockMechanic/crown | e6b1873ca79c484a3621e503eb8ce464f85dd2c7 | [
"MIT"
] | null | null | null | // Copyright (c) 2021 Crown Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <nft/util.h>
std::string convertToUpper(std::string inputString)
{
std::string upperString;
char const *ptr = inpu... | 29.25 | 71 | 0.690171 | BlockMechanic |
612e9edec8529b7c4725e76c39664228da7b3714 | 248 | cpp | C++ | src/sysBootup.cpp | doldecomp/pikmin | 8c8c20721ecb2a19af8e50a4bdebdba90c9a27ed | [
"Unlicense"
] | 27 | 2021-09-28T00:33:11.000Z | 2021-11-18T19:38:40.000Z | src/sysBootup.cpp | doldecomp/pikmin | 8c8c20721ecb2a19af8e50a4bdebdba90c9a27ed | [
"Unlicense"
] | null | null | null | src/sysBootup.cpp | doldecomp/pikmin | 8c8c20721ecb2a19af8e50a4bdebdba90c9a27ed | [
"Unlicense"
] | null | null | null | #include "types.h"
#include "system.h"
/*
* --INFO--
* Address: 80005560
* Size: 000088
*/
void main()
{
int filler[2];
gsys->Initialise();
nodeMgr = new NodeMgr();
gsys->run(new PlugPikiApp());
OSPanic(__FILE__, 29, "End of demo");
}
| 12.4 | 38 | 0.612903 | doldecomp |
9ed29af200f7e83ed41117ba2382b16a5cf28203 | 4,494 | cpp | C++ | SOURCES/sim/bomb/chaffmain.cpp | IsraelyFlightSimulator/Negev-Storm | 86de63e195577339f6e4a94198bedd31833a8be8 | [
"Unlicense"
] | 1 | 2021-02-19T06:06:31.000Z | 2021-02-19T06:06:31.000Z | src/sim/bomb/chaffmain.cpp | markbb1957/FFalconSource | 07b12e2c41a93fa3a95b912a2433a8056de5bc4d | [
"BSD-2-Clause"
] | null | null | null | src/sim/bomb/chaffmain.cpp | markbb1957/FFalconSource | 07b12e2c41a93fa3a95b912a2433a8056de5bc4d | [
"BSD-2-Clause"
] | 2 | 2019-08-20T13:35:13.000Z | 2021-04-24T07:32:04.000Z | #include "Graphics/Include/drawbsp.h"
#include "stdhdr.h"
#include "otwdrive.h"
#include "initdata.h"
#include "object.h"
#include "simdrive.h"
#include "classtbl.h"
#include "entity.h"
#include "chaff.h"
#include "sfx.h" //I-Hawk
#include "Graphics/Include/drawparticlesys.h" //I-Hawk
#ifdef USE_SH_POOLS
MEM_POOL Cha... | 18.725 | 109 | 0.663106 | IsraelyFlightSimulator |
9ed2cd42edb0ab4315e5b10b7306d9607f6e4740 | 5,212 | cpp | C++ | src/icebox/icebox/symbols/pdb.cpp | Axoosha/icebox | 99d147d5b9269222225443ce171b4fd46d8985d4 | [
"MIT"
] | 521 | 2019-03-29T15:44:08.000Z | 2022-03-22T09:46:19.000Z | src/icebox/icebox/symbols/pdb.cpp | Axoosha/icebox | 99d147d5b9269222225443ce171b4fd46d8985d4 | [
"MIT"
] | 30 | 2019-06-04T17:00:49.000Z | 2021-09-08T20:44:19.000Z | src/icebox/icebox/symbols/pdb.cpp | Axoosha/icebox | 99d147d5b9269222225443ce171b4fd46d8985d4 | [
"MIT"
] | 99 | 2019-03-29T16:04:13.000Z | 2022-03-28T16:59:34.000Z | #include "symbols.hpp"
#define FDP_MODULE "pdb"
#include "endian.hpp"
#include "indexer.hpp"
#include "log.hpp"
#include "memory.hpp"
#include "utils/hex.hpp"
#include "utils/pe.hpp"
#include <algorithm>
#include <cctype>
#include <functional>
#include "pdbparser.hpp"
namespace pdb = retdec::pdbparser;
namespace
{
... | 34.065359 | 118 | 0.583461 | Axoosha |
9ed435e855f7293407e509f15beb2508b2b45eed | 5,841 | cpp | C++ | KeePass.1.39.a/WinGUI/NewGUI/AutoCompleteEx.cpp | rrvt/KeePassLastPass | 217b627d906cf0af21ac69643a2d2e24e88f934b | [
"MIT"
] | null | null | null | KeePass.1.39.a/WinGUI/NewGUI/AutoCompleteEx.cpp | rrvt/KeePassLastPass | 217b627d906cf0af21ac69643a2d2e24e88f934b | [
"MIT"
] | null | null | null | KeePass.1.39.a/WinGUI/NewGUI/AutoCompleteEx.cpp | rrvt/KeePassLastPass | 217b627d906cf0af21ac69643a2d2e24e88f934b | [
"MIT"
] | null | null | null | /*
KeePass Password Safe - The Open-Source Password Manager
Copyright (C) 2003-2021 Dominik Reichl <dominik.reichl@t-online.de>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either versio... | 22.905882 | 77 | 0.665126 | rrvt |
9ed886359fd6ec2f6c49ff4807cf8066697f2219 | 8,751 | cpp | C++ | igl/intrinsic_delaunay_triangulation.cpp | danatzmi/Animation-Assignment2 | 7461b57ad51d61814cd1f467863a431c7c08d84f | [
"Apache-2.0"
] | 2,392 | 2016-12-17T14:14:12.000Z | 2022-03-30T19:40:40.000Z | igl/intrinsic_delaunay_triangulation.cpp | danatzmi/Animation-Assignment2 | 7461b57ad51d61814cd1f467863a431c7c08d84f | [
"Apache-2.0"
] | 106 | 2018-04-19T17:47:31.000Z | 2022-03-01T19:44:11.000Z | igl/intrinsic_delaunay_triangulation.cpp | danatzmi/Animation-Assignment2 | 7461b57ad51d61814cd1f467863a431c7c08d84f | [
"Apache-2.0"
] | 184 | 2017-11-15T09:55:37.000Z | 2022-02-21T16:30:46.000Z | // This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2018 Alec Jacobson <alecjacobson@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public License
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
// obtain one at htt... | 43.974874 | 907 | 0.564164 | danatzmi |
9edbc65ac2a839471e9224c592593bd4f396ff3c | 6,399 | cpp | C++ | examples/lines_cubes.cpp | bnolan/three.cpp | dbec2745348d4eea99b2dfb4ee3c81530b709be4 | [
"MIT"
] | 3 | 2017-03-14T22:47:25.000Z | 2022-01-25T02:06:33.000Z | examples/lines_cubes.cpp | bnolan/three.cpp | dbec2745348d4eea99b2dfb4ee3c81530b709be4 | [
"MIT"
] | 1 | 2017-03-25T08:41:05.000Z | 2017-03-25T08:41:05.000Z | examples/lines_cubes.cpp | bnolan/three.cpp | dbec2745348d4eea99b2dfb4ee3c81530b709be4 | [
"MIT"
] | null | null | null | #include "common.h"
#include "three/cameras/perspective_camera.h"
#include "three/core/geometry.h"
#include "three/lights/point_light.h"
#include "three/materials/line_basic_material.h"
#include "three/objects/line.h"
#include "three/renderers/renderer_parameters.h"
#include "three/renderers/gl_renderer.h"
#include "t... | 39.257669 | 107 | 0.511174 | bnolan |
9eddd408d0fa08a5c5dd3c0757019fc8185c2efe | 1,439 | hpp | C++ | include/eixx/alloc_pool.hpp | heri16/eixx | 4352e356b68d2adbbdd0163ce3aaa93406c15ae2 | [
"Apache-2.0"
] | 91 | 2015-01-14T23:05:38.000Z | 2022-03-21T07:20:02.000Z | include/eixx/alloc_pool.hpp | heri16/eixx | 4352e356b68d2adbbdd0163ce3aaa93406c15ae2 | [
"Apache-2.0"
] | 32 | 2015-04-20T09:53:24.000Z | 2021-09-28T21:39:41.000Z | include/eixx/alloc_pool.hpp | heri16/eixx | 4352e356b68d2adbbdd0163ce3aaa93406c15ae2 | [
"Apache-2.0"
] | 21 | 2015-03-09T08:13:19.000Z | 2021-08-09T11:52:44.000Z | //----------------------------------------------------------------------------
/// \file alloc_pool.hpp
//----------------------------------------------------------------------------
/// \brief Custom memory allocator using a pool of objects.
//--------------------------------------------------------------------------... | 32.704545 | 78 | 0.596942 | heri16 |
9edf7d8330f5bf866ccef631893679677f6de7dd | 55,846 | cpp | C++ | main.cpp | FuXiii/Turbo | e68237a43db0c5a7f1b75423a83ad285d4e9c0ff | [
"MIT"
] | 2 | 2019-08-05T09:14:43.000Z | 2019-08-05T09:14:47.000Z | main.cpp | FuXiii/Turbo | e68237a43db0c5a7f1b75423a83ad285d4e9c0ff | [
"MIT"
] | null | null | null | main.cpp | FuXiii/Turbo | e68237a43db0c5a7f1b75423a83ad285d4e9c0ff | [
"MIT"
] | null | null | null | #include "TDevice.h"
#include "TDeviceQueue.h"
#include "TEngine.h"
#include "TPhysicalDevice.h"
#include "TVulkanAllocator.h"
#include "TBuffer.h"
#include "TCommandBuffer.h"
#include "TCommandBufferPool.h"
#include "TImage.h"
#include "TImageView.h"
#include "TShader.h"
#include "TAttachment.h"
#include "TGraphics... | 54.912488 | 534 | 0.678115 | FuXiii |
9ee2b132e7311ab1daa6e95a38729fb4791faabe | 42,566 | cpp | C++ | dlls/game.cpp | Hammermaps-DEV/halflife-op4-updated | 497a73dfdbfd8bbe0a6904c82f3bb51697539bfd | [
"Unlicense"
] | 16 | 2021-09-12T22:30:19.000Z | 2022-03-30T16:34:27.000Z | dlls/game.cpp | Hammermaps-DEV/halflife-op4-updated | 497a73dfdbfd8bbe0a6904c82f3bb51697539bfd | [
"Unlicense"
] | 34 | 2021-10-05T12:54:52.000Z | 2022-03-15T12:38:01.000Z | dlls/game.cpp | Hammermaps-DEV/halflife-op4-updated | 497a73dfdbfd8bbe0a6904c82f3bb51697539bfd | [
"Unlicense"
] | 8 | 2021-09-09T15:48:42.000Z | 2022-03-18T21:50:20.000Z | /***
*
* Copyright (c) 1996-2001, Valve LLC. All rights reserved.
*
* This product contains software technology licensed from Id
* Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc.
* All Rights Reserved.
*
* Use, distribution, and modification of this source code and/or resulting
* obje... | 35.951014 | 129 | 0.762651 | Hammermaps-DEV |
9ee9b7826c467b49d5ab9f848c69565a2b018102 | 3,011 | cpp | C++ | src/collisionDetection/engine/CollisionDetection_Picking.cpp | Robograde/Robograde | 2c9a7d0b8250ec240102d504127f5c54532cb2b0 | [
"Zlib"
] | 5 | 2015-10-11T10:22:39.000Z | 2019-07-24T10:09:13.000Z | src/collisionDetection/engine/CollisionDetection_Picking.cpp | Robograde/Robograde | 2c9a7d0b8250ec240102d504127f5c54532cb2b0 | [
"Zlib"
] | null | null | null | src/collisionDetection/engine/CollisionDetection_Picking.cpp | Robograde/Robograde | 2c9a7d0b8250ec240102d504127f5c54532cb2b0 | [
"Zlib"
] | null | null | null | /**************************************************
Zlib Copyright 2015 Ola Enberg
***************************************************/
#include "CollisionDetection.h"
#include <float.h> // For FLT_MAX on linux
#include "../volume/Ray.h"
#include "../volume/Frustum.h"
void CollisionDetection::PickingWithRay( glm:... | 30.11 | 192 | 0.668549 | Robograde |
9ef317f56ead3f45d7b8d711f0bf8070b0394cf3 | 689 | cpp | C++ | ivb-3-14/Korotkov-D.A/lab4.11.cpp | bykovskyy/2014 | 474c6eb940978d4f323ef4dc2eac8e0360f19612 | [
"BSD-2-Clause"
] | null | null | null | ivb-3-14/Korotkov-D.A/lab4.11.cpp | bykovskyy/2014 | 474c6eb940978d4f323ef4dc2eac8e0360f19612 | [
"BSD-2-Clause"
] | null | null | null | ivb-3-14/Korotkov-D.A/lab4.11.cpp | bykovskyy/2014 | 474c6eb940978d4f323ef4dc2eac8e0360f19612 | [
"BSD-2-Clause"
] | null | null | null | #include <iostream>
#include <fstream>
#include <string>
/*
Определить наименьшее общее кратное чисел A и B.
*/
int main(int argc, char **argv)
{
setlocale(0, "Russian");
std::ifstream In = std::ifstream("input.txt");
if (!In.is_open())
{
printf_s("Нет файла :(\n");
return -1;
}
int A;
int B;
while (In... | 14.659574 | 51 | 0.566038 | bykovskyy |
9ef598f9a316d5f07907fd0374e2b31e5ebdb75b | 6,376 | cpp | C++ | src/Broadcaster2006/Scheduler/CalendarFrame.cpp | pedroroque/DigitalBroadcaster | 279e65b348421dcd8db53ebb588154b85dc169e9 | [
"MIT"
] | null | null | null | src/Broadcaster2006/Scheduler/CalendarFrame.cpp | pedroroque/DigitalBroadcaster | 279e65b348421dcd8db53ebb588154b85dc169e9 | [
"MIT"
] | null | null | null | src/Broadcaster2006/Scheduler/CalendarFrame.cpp | pedroroque/DigitalBroadcaster | 279e65b348421dcd8db53ebb588154b85dc169e9 | [
"MIT"
] | null | null | null | // CalendarFrame.cpp : implementation file
//
#include "stdafx.h"
#include "Scheduler.h"
#include "CalendarFrame.h"
#include "CalendarRightView.h"
#include "CalendarLeftView.h"
#include "..\onair\onairdefines.h"
#include "..\Traffic\RadioStation.h"
#include "..\common\include\global.h"
#ifdef _DEBUG
#define new DEBUG... | 24.429119 | 96 | 0.736669 | pedroroque |
9ef664105027ad3d7b72e17a59dacaa6244e923a | 2,108 | inl | C++ | clove/components/systems/ecs/include/Clove/ECS/ComponentManager.inl | mondoo/Clove | 3989dc3fea0d886a69005c1e0bb4396501f336f2 | [
"MIT"
] | 33 | 2020-01-09T04:57:29.000Z | 2021-08-14T08:02:43.000Z | clove/components/systems/ecs/include/Clove/ECS/ComponentManager.inl | mondoo/Clove | 3989dc3fea0d886a69005c1e0bb4396501f336f2 | [
"MIT"
] | 234 | 2019-10-25T06:04:35.000Z | 2021-08-18T05:47:41.000Z | clove/components/systems/ecs/include/Clove/ECS/ComponentManager.inl | mondoo/Clove | 3989dc3fea0d886a69005c1e0bb4396501f336f2 | [
"MIT"
] | 4 | 2020-02-11T15:28:42.000Z | 2020-09-07T16:22:58.000Z | #include "Clove/ECS/ECSEvents.hpp"
#include <Clove/Event/EventDispatcher.hpp>
#include <typeinfo>
namespace clove {
template<typename ComponentType, typename... ConstructArgs>
ComponentType &ComponentManager::addComponent(Entity entity, ConstructArgs &&... args) {
return getContainer<ComponentType>().... | 43.020408 | 126 | 0.690228 | mondoo |
9ef8523f0ef102254e344a9f7ce31bbc247f8817 | 8,077 | cpp | C++ | src/emvs_node.cpp | ialzugaray/EventBasedVisualOdometry | 776545e0970234390ef7fe4da8b55e3af7d90655 | [
"MIT"
] | 56 | 2017-07-08T14:13:54.000Z | 2022-01-08T23:55:20.000Z | src/emvs_node.cpp | kazuotani14/EVO | fdadb3752c990f950361923a304ea2ac18464a01 | [
"MIT"
] | 2 | 2017-08-08T03:09:42.000Z | 2020-12-08T07:17:47.000Z | src/emvs_node.cpp | kazuotani14/EventBasedVisualOdometry | fdadb3752c990f950361923a304ea2ac18464a01 | [
"MIT"
] | 32 | 2017-08-31T03:36:47.000Z | 2021-04-13T11:37:46.000Z | #include "emvs_node.h"
namespace emvs{
EmvsNode::EmvsNode()
: kf_dsi_(sensor_rows, sensor_cols, min_depth, max_depth, N_planes, fx, fy),
first_(true)
{
events_sub_ = nh_.subscribe("dvs/events", 1000, &EmvsNode::eventCallback, this);
ground_truth_sub_ = nh_.subscribe("optitrack/davis", 100, &EmvsNode::poseCallbac... | 33.794979 | 121 | 0.739631 | ialzugaray |
9ef85c6a0f0b76747d77f38cdda975791568ef39 | 5,007 | cpp | C++ | test/udppeer_multi_sender.cpp | arsee11/easynet | 819f3604caf4441cec8e80f88e50f6074b66a077 | [
"BSD-2-Clause"
] | null | null | null | test/udppeer_multi_sender.cpp | arsee11/easynet | 819f3604caf4441cec8e80f88e50f6074b66a077 | [
"BSD-2-Clause"
] | null | null | null | test/udppeer_multi_sender.cpp | arsee11/easynet | 819f3604caf4441cec8e80f88e50f6074b66a077 | [
"BSD-2-Clause"
] | null | null | null | #include <udppeer.h>
#include <netlisteners.h>
#include <iostream>
#include <stdio.h>
#include <thread>
#include <atomic>
#include <vector>
using namespace arsee::net;
using namespace std;
using namespace std::placeholders;
struct Statistics
{
std::atomic_int to_packet_send;
std::atomic_int to_packet... | 33.15894 | 103 | 0.559017 | arsee11 |
9efb8409933288985e5b758e82e594f2d821e04a | 2,950 | hpp | C++ | include/tools/types/common/is_volatile_data/is_volatile_data-2013.hpp | Kartonagnick/tools-types | 4b3a697e579050eade081b82f9b96309fea8f5e7 | [
"MIT"
] | null | null | null | include/tools/types/common/is_volatile_data/is_volatile_data-2013.hpp | Kartonagnick/tools-types | 4b3a697e579050eade081b82f9b96309fea8f5e7 | [
"MIT"
] | 49 | 2021-02-20T12:08:15.000Z | 2021-05-07T19:59:08.000Z | include/tools/types/common/is_volatile_data/is_volatile_data-2013.hpp | Kartonagnick/tools-types | 4b3a697e579050eade081b82f9b96309fea8f5e7 | [
"MIT"
] | null | null | null | // [2021y-04m-06d][20:56:12] Idrisov Denis R.
// [2021y-04m-10d][07:21:56] Idrisov Denis R. 101
// [2021y-04m-21d][13:06:13] Idrisov Denis R. 102 PRE
#pragma once
#ifndef dTOOLS_IS_VOLATILE_DATA_2013_USED_
#define dTOOLS_IS_VOLATILE_DATA_2013_USED_ 102,2013
#include <tools/types/sfinae.hpp>
//=====================... | 30.102041 | 80 | 0.506441 | Kartonagnick |
9eff28fd33ed309c5ca1c97b52b49c58d3ca2cd7 | 1,086 | hpp | C++ | contracts/includes/vapaee/token/tables/tokens.hpp | vapaee/vapaee.io-source | b2b0c07850a817629055a848b9239a59dc10b545 | [
"MIT"
] | 7 | 2019-06-09T03:52:14.000Z | 2020-03-01T13:27:24.000Z | contracts/includes/vapaee/token/tables/tokens.hpp | vapaee/vapaee.io-source | b2b0c07850a817629055a848b9239a59dc10b545 | [
"MIT"
] | 27 | 2019-12-28T12:29:12.000Z | 2022-03-02T04:08:55.000Z | contracts/includes/vapaee/token/tables/tokens.hpp | vapaee/vapaee.io-source | b2b0c07850a817629055a848b9239a59dc10b545 | [
"MIT"
] | 2 | 2019-11-29T22:32:47.000Z | 2021-02-18T23:47:47.000Z | #include <vapaee/token/tables/_aux.hpp>
// ------------------------------------
// TABLE tokens (registered currency) -----------
// scope: contract
TABLE reg_token_table {
symbol_code symbol;
uint64_t group; // this token may belong to a ... | 35.032258 | 113 | 0.499079 | vapaee |
73014945a156f10ba06995c87bc64708a4210174 | 14,466 | cpp | C++ | Firmware/src/Marlin/src/HAL/STM32F1/HAL.cpp | limtbk/3dprinting | afc67c348abaae3f6aa542150c5f8b9ef0f8cf28 | [
"Apache-2.0"
] | null | null | null | Firmware/src/Marlin/src/HAL/STM32F1/HAL.cpp | limtbk/3dprinting | afc67c348abaae3f6aa542150c5f8b9ef0f8cf28 | [
"Apache-2.0"
] | null | null | null | Firmware/src/Marlin/src/HAL/STM32F1/HAL.cpp | limtbk/3dprinting | afc67c348abaae3f6aa542150c5f8b9ef0f8cf28 | [
"Apache-2.0"
] | null | null | null | /**
* Marlin 3D Printer Firmware
*
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
* Copyright (c) 2016 Bob Cousins bobcousins42@googlemail.com
* Copyright (c) 2015-2016 Nico Tonnhofer wurstnase.reprap@gmail.com
* Copyright (c) 2017 Victor Perez
*
* This program is free software: ... | 31.37961 | 126 | 0.613577 | limtbk |
730378861c76fae1abec8c291b4cd95ce178a432 | 363 | cpp | C++ | Hazel/src/Hazel/Layer.cpp | erosnick/Hazel | 9155508a4d9528b4763cc18bb0cd4b25449e6504 | [
"MIT"
] | null | null | null | Hazel/src/Hazel/Layer.cpp | erosnick/Hazel | 9155508a4d9528b4763cc18bb0cd4b25449e6504 | [
"MIT"
] | null | null | null | Hazel/src/Hazel/Layer.cpp | erosnick/Hazel | 9155508a4d9528b4763cc18bb0cd4b25449e6504 | [
"MIT"
] | null | null | null | /*
* This is an independent project of an individual developer. Dear PVS-Studio, please check it.
* PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com
*/
#include "HazelPCH.h"
#include "Layer.h"
namespace Hazel
{
Hazel::Layer::Layer(const std::string& name)
: debugName(name)
{
}
Ha... | 18.15 | 94 | 0.669421 | erosnick |
7306654b48325e3a1ba3c9df427be26ddd0c78b5 | 451 | hpp | C++ | src/resource.hpp | EnoshWang/EW | b72197552e047624bbc6b2060eee28e68d9ea211 | [
"MIT"
] | null | null | null | src/resource.hpp | EnoshWang/EW | b72197552e047624bbc6b2060eee28e68d9ea211 | [
"MIT"
] | 1 | 2021-07-03T05:16:32.000Z | 2021-07-03T05:16:32.000Z | src/resource.hpp | EnoshWang/EW | b72197552e047624bbc6b2060eee28e68d9ea211 | [
"MIT"
] | null | null | null | /*
* @Author: enosh wang
* @Date: 2021-05-04 22:39:57
* @Last Modified by: enosh wang
* @Last Modified time: 2021-05-04 23:29:22
*/
#ifndef __RESOURCE_H__
#define __RESOURCE_H__
#include "const.hpp"
namespace enosh
{
class ResourceManager final
{
private:
/* data */
public:
ResourceManager(/* a... | 13.264706 | 43 | 0.656319 | EnoshWang |
7307ecf0b1414dfa9ceb9371395d75d52c7484c3 | 47,046 | cpp | C++ | Printers/src/printers/hdf5printer/hdf5_combine_tools.cpp | williamjameshandley/gambit_1.1 | 8f52b2b3ee6876485baa5a9a76015cf51073e194 | [
"Unlicense"
] | null | null | null | Printers/src/printers/hdf5printer/hdf5_combine_tools.cpp | williamjameshandley/gambit_1.1 | 8f52b2b3ee6876485baa5a9a76015cf51073e194 | [
"Unlicense"
] | null | null | null | Printers/src/printers/hdf5printer/hdf5_combine_tools.cpp | williamjameshandley/gambit_1.1 | 8f52b2b3ee6876485baa5a9a76015cf51073e194 | [
"Unlicense"
] | null | null | null | // GAMBIT: Global and Modular BSM Inference Tool
// *********************************************
/// \file
///
/// Greg's code for combining HDF5 output of
/// multiple MPI processes. Replaces the old
/// Python script
///
/// Ben: I have updated this to use my HDF5
/// wrappers (due to their error checking
... | 54.325635 | 657 | 0.472793 | williamjameshandley |
730e6149ff44736601653c5f6f9c15b5c6152630 | 20,451 | cpp | C++ | amara/amara_layerContainer.cpp | BigBossErndog/Amara | e534001dee88b7d66f7384ed167257ffac58aac3 | [
"MIT"
] | null | null | null | amara/amara_layerContainer.cpp | BigBossErndog/Amara | e534001dee88b7d66f7384ed167257ffac58aac3 | [
"MIT"
] | null | null | null | amara/amara_layerContainer.cpp | BigBossErndog/Amara | e534001dee88b7d66f7384ed167257ffac58aac3 | [
"MIT"
] | null | null | null | #pragma once
#ifndef AMARA_LAYER
#define AMARA_LAYER
#include "amara.h"
namespace Amara {
class Layer: public Amara::Actor {
public:
Layer(): Amara::Actor() {}
Layer(float gx, float gy): Layer() {
x = gx;
y = gy;
}
using Amara::Actor::init;
voi... | 32.7216 | 130 | 0.516112 | BigBossErndog |
730f6c80e5798d8acec8849d92b4d010eafaa61c | 50,667 | cpp | C++ | ToolKit/CommandBars/XTPControlGallery.cpp | 11Zero/DemoBCG | 8f41d5243899cf1c82990ca9863fb1cb9f76491c | [
"MIT"
] | 2 | 2018-03-30T06:40:08.000Z | 2022-02-23T12:40:13.000Z | ToolKit/CommandBars/XTPControlGallery.cpp | 11Zero/DemoBCG | 8f41d5243899cf1c82990ca9863fb1cb9f76491c | [
"MIT"
] | null | null | null | ToolKit/CommandBars/XTPControlGallery.cpp | 11Zero/DemoBCG | 8f41d5243899cf1c82990ca9863fb1cb9f76491c | [
"MIT"
] | 1 | 2020-08-11T05:48:02.000Z | 2020-08-11T05:48:02.000Z | // XTPControlGallery.cpp : implementation file.
//
// This file is a part of the XTREME COMMANDBARS MFC class library.
// (c)1998-2011 Codejock Software, All Rights Reserved.
//
// THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE
// RE-DISTRIBUTED BY ANY MEANS WHATSOEVER WITHOUT THE EXPRESSED WRIT... | 22.106021 | 166 | 0.703693 | 11Zero |
7318831effe6123faa445c9b7c7d8fa6953e7699 | 141 | cpp | C++ | AtCoder/AtcoderBiginnersSelection/ABC086A.cpp | arlechann/atcoder | 1af08efa6d3a0e8c75e4eaf13e1eda994820b9e2 | [
"CC0-1.0"
] | null | null | null | AtCoder/AtcoderBiginnersSelection/ABC086A.cpp | arlechann/atcoder | 1af08efa6d3a0e8c75e4eaf13e1eda994820b9e2 | [
"CC0-1.0"
] | null | null | null | AtCoder/AtcoderBiginnersSelection/ABC086A.cpp | arlechann/atcoder | 1af08efa6d3a0e8c75e4eaf13e1eda994820b9e2 | [
"CC0-1.0"
] | null | null | null | #include<cstdio>
int main(void){
int a, b;
scanf("%d %d", &a, &b);
printf("%s\n", a * b % 2 ? "Odd" : "Even");
return 0;
} | 14.1 | 47 | 0.446809 | arlechann |
731904295a43378230f5e09148b4cbdf4740de31 | 12,059 | cpp | C++ | samples/browser/src/WaterSample.cpp | tiancode/GamePlay | f76735c3a008f77cd41dfabed95238940ad586e9 | [
"Apache-2.0",
"Unlicense"
] | 2,260 | 2015-01-03T06:53:25.000Z | 2020-05-09T21:55:21.000Z | samples/browser/src/WaterSample.cpp | tiancode/GamePlay | f76735c3a008f77cd41dfabed95238940ad586e9 | [
"Apache-2.0",
"Unlicense"
] | 175 | 2015-01-03T15:35:44.000Z | 2019-10-26T11:54:58.000Z | samples/browser/src/WaterSample.cpp | tiancode/GamePlay | f76735c3a008f77cd41dfabed95238940ad586e9 | [
"Apache-2.0",
"Unlicense"
] | 929 | 2015-01-01T04:53:21.000Z | 2020-05-06T21:41:12.000Z | #include "WaterSample.h"
#include "SamplesGame.h"
#if defined(ADD_SAMPLE)
ADD_SAMPLE("Graphics", "Water", WaterSample, 13);
#endif
// Camera movement consts
static const float MOUSE_SPEED = 0.125f;
static const float MASS = 1.8f;
static const float FRICTION = 0.9f;
static const float SPEED = 5.5f;
static const unsign... | 35.572271 | 141 | 0.671863 | tiancode |
731955a43e42dd30d918c12d3fbceb71ce221cdd | 618 | hpp | C++ | includes/eeros/control/Block1i1o.hpp | MarcelGehrig2/eeros-vt1 | c1a8fa5329c98a89b97af2738bb6a674b6890704 | [
"Apache-2.0"
] | null | null | null | includes/eeros/control/Block1i1o.hpp | MarcelGehrig2/eeros-vt1 | c1a8fa5329c98a89b97af2738bb6a674b6890704 | [
"Apache-2.0"
] | null | null | null | includes/eeros/control/Block1i1o.hpp | MarcelGehrig2/eeros-vt1 | c1a8fa5329c98a89b97af2738bb6a674b6890704 | [
"Apache-2.0"
] | null | null | null | #ifndef ORG_EEROS_CONTROL_BLOCK1I1O_HPP_
#define ORG_EEROS_CONTROL_BLOCK1I1O_HPP_
#include <eeros/control/Block.hpp>
#include <eeros/control/Input.hpp>
#include <eeros/control/Output.hpp>
namespace eeros {
namespace control {
template < typename Tin = double, typename Tout = Tin >
class Block1i1o : p... | 19.3125 | 58 | 0.642395 | MarcelGehrig2 |
7320477782fb0bd126e37635a34dab71d550f6be | 28,460 | cpp | C++ | Userland/Libraries/LibJS/CyclicModule.cpp | Anon1428/serenity | 0daf5cc434e7a998da15330bd8b4d46ae1759485 | [
"BSD-2-Clause"
] | 2 | 2022-02-16T02:12:38.000Z | 2022-02-20T18:40:41.000Z | Userland/Libraries/LibJS/CyclicModule.cpp | Anon1428/serenity | 0daf5cc434e7a998da15330bd8b4d46ae1759485 | [
"BSD-2-Clause"
] | null | null | null | Userland/Libraries/LibJS/CyclicModule.cpp | Anon1428/serenity | 0daf5cc434e7a998da15330bd8b4d46ae1759485 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2022, David Tuin <davidot@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibJS/CyclicModule.h>
#include <LibJS/Runtime/PromiseConstructor.h>
#include <LibJS/Runtime/PromiseReaction.h>
namespace JS {
CyclicModule::CyclicModule(Realm& realm, StringView filename, bool has_... | 43.055976 | 262 | 0.649051 | Anon1428 |
732185448141de822501bd45f06961183f3f5df3 | 837 | hpp | C++ | dinky2d/Scheduler.hpp | dongyanyan/cocosOpenGL | 9fb50608de431d10888dfe06160e735d17b42657 | [
"MIT"
] | 35 | 2017-07-16T08:22:36.000Z | 2022-02-25T12:13:51.000Z | dinky2d/Scheduler.hpp | dongyanyan/cocosOpenGL | 9fb50608de431d10888dfe06160e735d17b42657 | [
"MIT"
] | null | null | null | dinky2d/Scheduler.hpp | dongyanyan/cocosOpenGL | 9fb50608de431d10888dfe06160e735d17b42657 | [
"MIT"
] | 16 | 2017-08-03T07:23:31.000Z | 2022-02-23T07:10:59.000Z | //
// Scheduler.hpp
// dinky2d
//
// Created by Vincent Yao on 2017/8/6.
// Copyright © 2017年 ookcode. All rights reserved.
//
#ifndef Sheduler_hpp
#define Sheduler_hpp
#include <string>
#include <map>
#include <functional>
#define SCHEDULE(_SELECTOR) static_cast<Scheduler::SEL_SCHEDULE>(&_SELECTOR)
namespace Din... | 23.914286 | 76 | 0.648746 | dongyanyan |
7321b125a8b02c194fc1a4c48d61b9b908fbde04 | 8,458 | cpp | C++ | Interpreter/Parser.cpp | cmaughan/JorvikScheme | 3e34a880e3f237706f2e66e647a04eba54a67261 | [
"MIT"
] | null | null | null | Interpreter/Parser.cpp | cmaughan/JorvikScheme | 3e34a880e3f237706f2e66e647a04eba54a67261 | [
"MIT"
] | null | null | null | Interpreter/Parser.cpp | cmaughan/JorvikScheme | 3e34a880e3f237706f2e66e647a04eba54a67261 | [
"MIT"
] | null | null | null | //
// Copyright (c) 2014 Chris Maughan
// All rights reserved.
// http://www.chrismaughan.com,
// http://www.github.com/cmaughan
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
//... | 29.470383 | 130 | 0.559589 | cmaughan |
7323909d112c392a3364a1432fe44a9ae0fdf537 | 212 | cpp | C++ | code/gpumorph/lib/resample/error.cpp | liaojing/Image-Morphing | 5a093965e4d9016eac58acbe25ffd77ba56a0ca2 | [
"MIT"
] | 109 | 2015-01-04T09:03:27.000Z | 2022-03-28T07:45:51.000Z | code/gpumorph/lib/resample/error.cpp | liaojing/Image-Morphing | 5a093965e4d9016eac58acbe25ffd77ba56a0ca2 | [
"MIT"
] | 1 | 2015-07-22T05:55:45.000Z | 2016-01-20T07:28:11.000Z | code/gpumorph/lib/resample/error.cpp | liaojing/Image-Morphing | 5a093965e4d9016eac58acbe25ffd77ba56a0ca2 | [
"MIT"
] | 45 | 2015-01-24T09:09:02.000Z | 2021-08-11T12:40:09.000Z | #include <stdio.h>
#include <stdarg.h>
#include "error.h"
namespace nehab
{
void error_output(const char *fmt, ...)
{
va_list ap;
va_start(ap, fmt);
vfprintf(stderr, fmt, ap);
va_end(ap);
}
}
| 11.777778 | 39 | 0.617925 | liaojing |
73283c60bbaac1df17778639f1ad4038c4e404c5 | 4,773 | cpp | C++ | main.cpp | rogii-com/graph | 237ed6cc5380918d83142c0578699de93c3146dc | [
"BSD-3-Clause"
] | 2 | 2019-12-23T22:59:45.000Z | 2020-01-06T16:40:09.000Z | main.cpp | rogii-com/graph | 237ed6cc5380918d83142c0578699de93c3146dc | [
"BSD-3-Clause"
] | null | null | null | main.cpp | rogii-com/graph | 237ed6cc5380918d83142c0578699de93c3146dc | [
"BSD-3-Clause"
] | 1 | 2019-12-20T19:59:16.000Z | 2019-12-20T19:59:16.000Z | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BSD license as follow... | 31.196078 | 107 | 0.629164 | rogii-com |
7329d7abef68e9b5fde79a096fb8c82d473f56f8 | 24 | cpp | C++ | source/classes/circPoint.cpp | PeteTheN00b/circleFun | 293ef4b168c215b8ac080ebc3f5fba13695c426f | [
"MIT"
] | null | null | null | source/classes/circPoint.cpp | PeteTheN00b/circleFun | 293ef4b168c215b8ac080ebc3f5fba13695c426f | [
"MIT"
] | null | null | null | source/classes/circPoint.cpp | PeteTheN00b/circleFun | 293ef4b168c215b8ac080ebc3f5fba13695c426f | [
"MIT"
] | null | null | null | #include "circPoint.hpp" | 24 | 24 | 0.791667 | PeteTheN00b |
73324a7b6ec47dc41420b8562bd81a9e66043c64 | 1,462 | cpp | C++ | src/lib/support/CHIPPlatformMemory.cpp | rachellixie/connectedhomeip | 3100e6ef7b7fa6ea0bb1376e47e83f7c80bf9045 | [
"Apache-2.0"
] | 1 | 2021-08-03T08:13:09.000Z | 2021-08-03T08:13:09.000Z | src/lib/support/CHIPPlatformMemory.cpp | rachellixie/connectedhomeip | 3100e6ef7b7fa6ea0bb1376e47e83f7c80bf9045 | [
"Apache-2.0"
] | 2 | 2021-07-23T08:29:54.000Z | 2021-08-10T01:23:21.000Z | src/lib/support/CHIPPlatformMemory.cpp | rachellixie/connectedhomeip | 3100e6ef7b7fa6ea0bb1376e47e83f7c80bf9045 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2020 Project CHIP Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | 25.649123 | 98 | 0.72777 | rachellixie |
733abaf97965fe40afe707c967e4438f4b11a9e7 | 1,037 | cpp | C++ | backup/2/codewars/c++/compare-strings-by-sum-of-chars.cpp | yangyanzhan/code-camp | 4272564e916fc230a4a488f92ae32c07d355dee0 | [
"Apache-2.0"
] | 21 | 2019-11-16T19:08:35.000Z | 2021-11-12T12:26:01.000Z | backup/2/codewars/c++/compare-strings-by-sum-of-chars.cpp | yangyanzhan/code-camp | 4272564e916fc230a4a488f92ae32c07d355dee0 | [
"Apache-2.0"
] | 1 | 2022-02-04T16:02:53.000Z | 2022-02-04T16:02:53.000Z | backup/2/codewars/c++/compare-strings-by-sum-of-chars.cpp | yangyanzhan/code-camp | 4272564e916fc230a4a488f92ae32c07d355dee0 | [
"Apache-2.0"
] | 4 | 2020-05-15T19:39:41.000Z | 2021-10-30T06:40:31.000Z | // Hi, I'm Yanzhan. For more algothmic problems, visit my Youtube Channel (Yanzhan Yang's Youtube Channel) : https://www.youtube.com/channel/UCDkz-__gl3frqLexukpG0DA?view_as=subscriber or my Twitter Account (Yanzhan Yang's Twitter) : https://twitter.com/YangYanzhan or my GitHub HomePage (Yanzhan Yang's GitHub HomePage)... | 35.758621 | 345 | 0.612343 | yangyanzhan |
733acd7f949d1b0ea943523f048637bb7ca672ad | 2,068 | cpp | C++ | euler008.cpp | suihan74/ProjectEuler | 0ccd2470206a606700ab5c2a7162b2a3d3de2f8d | [
"MIT"
] | null | null | null | euler008.cpp | suihan74/ProjectEuler | 0ccd2470206a606700ab5c2a7162b2a3d3de2f8d | [
"MIT"
] | null | null | null | euler008.cpp | suihan74/ProjectEuler | 0ccd2470206a606700ab5c2a7162b2a3d3de2f8d | [
"MIT"
] | null | null | null | /**
* Problem 8 「数字列中の最大の積」
* 次の1000桁の数字のうち, 隣接する4つの数字の総乗の中で, 最大となる値は, 9 × 9 × 8 × 9 = 5832である.
* この1000桁の数字から13個の連続する数字を取り出して, それらの総乗を計算する. では、それら総乗のうち、最大となる値はいくらか.
*
* EX 6桁の数123789から5個の連続する数字を取り出す場合, 1*2*3*7*8と2*3*7*8*9の二通りとなり, 後者の2*3*7*8*9=3024が最大の総乗となる.
*/
#include <cstdint>
#include <iostream>
#include <nu... | 31.815385 | 91 | 0.769342 | suihan74 |
733c7539e01ab156b3535c8977c7c754794e7995 | 7,806 | cpp | C++ | esp32/src/.main_not_working.cpp | TapuCosmo/BMES-2021-Gait-Monitor | b64c1b0b01d75456835c3c052fdb5073d2327a6e | [
"MIT"
] | null | null | null | esp32/src/.main_not_working.cpp | TapuCosmo/BMES-2021-Gait-Monitor | b64c1b0b01d75456835c3c052fdb5073d2327a6e | [
"MIT"
] | null | null | null | esp32/src/.main_not_working.cpp | TapuCosmo/BMES-2021-Gait-Monitor | b64c1b0b01d75456835c3c052fdb5073d2327a6e | [
"MIT"
] | null | null | null | #include <Arduino.h>
/*
BMES GAIT MONITOR
Create a BLE server that, once we receive a connection, will send periodic notifications.
The service advertises itself as: 4fafc201-1fb5-459e-8fcc-c5c9c331914b
And has a characteristic of: beb5483e-36e1-4688-b7f5-ea07361b26a8
The design of creating the BLE s... | 33.217021 | 144 | 0.685498 | TapuCosmo |
733d6bc086ffff3d38258a84ac7b3db7827e4b1c | 1,207 | cpp | C++ | array_and_string/flip_matrix/flip.cpp | lordstone/shua_codes | cf4e0d5488ccd8e46e0cfe0fabaaadf7894bf8f3 | [
"MIT"
] | 1 | 2016-09-14T00:54:52.000Z | 2016-09-14T00:54:52.000Z | array_and_string/flip_matrix/flip.cpp | lordstone/shua_codes | cf4e0d5488ccd8e46e0cfe0fabaaadf7894bf8f3 | [
"MIT"
] | null | null | null | array_and_string/flip_matrix/flip.cpp | lordstone/shua_codes | cf4e0d5488ccd8e46e0cfe0fabaaadf7894bf8f3 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <stdlib.h>
using namespace std;
vector<vector<int>> generateInputMatrix(int dim = 3){
vector<vector<int>> mat;
for(int i = 0; i < dim; ++ i ){
vector<int> row;
for(int j = 0; j < dim; ++ j ){
int tmp = rand() % 10;
row.push_back(tmp);
}
mat.push_back(row)... | 17.492754 | 61 | 0.562552 | lordstone |
733efd59d04a9c9c4b55531c18fafd1ca237470b | 1,095 | cpp | C++ | src/handle_lvl_child.cpp | 21stcenturyclan/swbf-unmunge | bdeb6b0942f2c2341c2da9a192afd890b51be28a | [
"MIT"
] | 19 | 2017-07-08T05:30:17.000Z | 2022-01-15T11:32:46.000Z | src/handle_lvl_child.cpp | WHSnyder/swbf-unmunge | 15f6a340d9f90c2fc54c74dc96db62edb42ec827 | [
"MIT"
] | 27 | 2017-07-07T05:40:19.000Z | 2021-07-31T23:35:15.000Z | src/handle_lvl_child.cpp | WHSnyder/swbf-unmunge | 15f6a340d9f90c2fc54c74dc96db62edb42ec827 | [
"MIT"
] | 6 | 2018-08-27T03:02:40.000Z | 2021-03-02T04:59:49.000Z | #include "chunk_processor.hpp"
#include "model_builder.hpp"
#include "tbb/parallel_for_each.h"
#include <utility>
#include <vector>
void handle_lvl_child(Ucfb_reader lvl_child, const App_options& app_options,
File_saver& file_saver)
{
lvl_child.consume(4); // lvl name hash
lvl_child.consu... | 32.205882 | 86 | 0.683105 | 21stcenturyclan |
7340fba2347b7544f97632650908d1f9f5a065cf | 140,624 | cxx | C++ | SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimFlowEnergyTransfer_CoolingCoilDX_CoilAirCoolingDXTwoStageWithHumidityControlMode.cxx | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | 3 | 2016-05-30T15:12:16.000Z | 2022-03-22T08:11:13.000Z | SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimFlowEnergyTransfer_CoolingCoilDX_CoilAirCoolingDXTwoStageWithHumidityControlMode.cxx | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | 21 | 2016-06-13T11:33:45.000Z | 2017-05-23T09:46:52.000Z | SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimFlowEnergyTransfer_CoolingCoilDX_CoilAirCoolingDXTwoStageWithHumidityControlMode.cxx | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | null | null | null | // Copyright (c) 2005-2014 Code Synthesis Tools CC
//
// This program was generated by CodeSynthesis XSD, an XML Schema to
// C++ data binding compiler.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Fre... | 52.179592 | 253 | 0.769492 | EnEff-BIM |
734472ba95452fcceaaa50c48512326c94127e3d | 4,474 | cpp | C++ | src/items/projectstableitem.cpp | tehnick/sibuserv-webui | 41b98159cea38b1de78301cb98d30f0a63c8fffc | [
"MIT"
] | 2 | 2016-10-11T21:15:51.000Z | 2018-09-09T15:43:41.000Z | src/items/projectstableitem.cpp | tehnick/sibuserv-webui | 41b98159cea38b1de78301cb98d30f0a63c8fffc | [
"MIT"
] | null | null | null | src/items/projectstableitem.cpp | tehnick/sibuserv-webui | 41b98159cea38b1de78301cb98d30f0a63c8fffc | [
"MIT"
] | null | null | null | /*****************************************************************************
* *
* Copyright (c) 2016-2018 Boris Pek <tehnick-8@yandex.ru> *
* *
* ... | 41.813084 | 82 | 0.560796 | tehnick |
73487dbae5d9420b9ce82da7790f14d3d952368d | 26,082 | cc | C++ | cinn/lang/lower_impl.cc | thisjiang/CINN | 524c782590bcb45e8ec884326ea5fb636b96569c | [
"Apache-2.0"
] | null | null | null | cinn/lang/lower_impl.cc | thisjiang/CINN | 524c782590bcb45e8ec884326ea5fb636b96569c | [
"Apache-2.0"
] | null | null | null | cinn/lang/lower_impl.cc | thisjiang/CINN | 524c782590bcb45e8ec884326ea5fb636b96569c | [
"Apache-2.0"
] | null | null | null | #include "cinn/lang/lower_impl.h"
#include <algorithm>
#include <queue>
#include <string>
#include <unordered_set>
#include "cinn/common/context.h"
#include "cinn/common/ir_util.h"
#include "cinn/ir/ir_printer.h"
#include "cinn/ir/tensor.h"
#include "cinn/poly/stage.h"
namespace cinn {
namespace lang {
namespace det... | 35.245946 | 120 | 0.624722 | thisjiang |
734d6c7b567ad7cfcee2642fe2bb16d7f976a487 | 858 | cpp | C++ | src/test/circular_buffer_with_sum_of_all_elements_test.cpp | PolarGoose/UtilsH | 2b94d4244149f9612d0c3e0f1552cfd1315e5f68 | [
"MIT"
] | 1 | 2021-07-20T14:35:56.000Z | 2021-07-20T14:35:56.000Z | src/test/circular_buffer_with_sum_of_all_elements_test.cpp | PolarGoose/UtilsH | 2b94d4244149f9612d0c3e0f1552cfd1315e5f68 | [
"MIT"
] | null | null | null | src/test/circular_buffer_with_sum_of_all_elements_test.cpp | PolarGoose/UtilsH | 2b94d4244149f9612d0c3e0f1552cfd1315e5f68 | [
"MIT"
] | null | null | null | #include "utils_h/circular_buffer_with_sum_of_all_elements.h"
#include <gtest/gtest.h>
using namespace utils_h;
using namespace testing;
class circular_buffer_with_sum_of_all_elements_test : public Test {
protected:
circular_buffer_with_sum_of_all_elements m_buffer{100};
};
TEST_F(circular_buffer_with_sum_of_a... | 26 | 98 | 0.808858 | PolarGoose |
734f6fa8adf4105214e15d23ff11f9c93f792174 | 250 | cpp | C++ | Data Structures/Binary Tree/C++/mirror .cpp | sanchit2812/Data-Structures-Algorithms-Hacktoberfest-2K19 | 88bc29e924d6d15993db742ccaede4752c0083e8 | [
"MIT"
] | null | null | null | Data Structures/Binary Tree/C++/mirror .cpp | sanchit2812/Data-Structures-Algorithms-Hacktoberfest-2K19 | 88bc29e924d6d15993db742ccaede4752c0083e8 | [
"MIT"
] | null | null | null | Data Structures/Binary Tree/C++/mirror .cpp | sanchit2812/Data-Structures-Algorithms-Hacktoberfest-2K19 | 88bc29e924d6d15993db742ccaede4752c0083e8 | [
"MIT"
] | null | null | null | void mirror(node* root){
if(!root ) return ;
else{
struct node* temp;
mirror(root->left);
mirror(root->right);
temp =root->left;
root->left = root->right;
root->right = temp;
}
} | 20.833333 | 34 | 0.476 | sanchit2812 |
7351636e26719539834f83b354a29c4c154c3b7d | 1,343 | cpp | C++ | LazySeg.cpp | AbdullahNaveed/Centipede-Game | 7e4ff514633ebb479be83c35bc77be2efb56e3af | [
"MIT"
] | 2 | 2021-07-13T09:35:14.000Z | 2021-08-14T23:12:32.000Z | LazySeg.cpp | AbdullahNaveed/Centipede-Game | 7e4ff514633ebb479be83c35bc77be2efb56e3af | [
"MIT"
] | null | null | null | LazySeg.cpp | AbdullahNaveed/Centipede-Game | 7e4ff514633ebb479be83c35bc77be2efb56e3af | [
"MIT"
] | null | null | null | // Abdullah Naveed
// ROLL # 18I-0654 (A)
// OOP_Project
#include "LazySeg.h"
LazySeg :: LazySeg(): collisionX(-30) , collisionY(-30) {
}
LazySeg :: LazySeg(int x,int y): Segment(x,y) , collisionX(-30) , collisionY(-30) {
}
void LazySeg :: checkCollision(int x1, int y1) {
if( ( (this->getX() >= x1-14) && (this... | 23.561404 | 85 | 0.622487 | AbdullahNaveed |
735206a0c7522c91909159b85e5a955a9a0a566b | 1,150 | cpp | C++ | YorozuyaGSLib/source/_qry_case_in_guildbattlecostDetail.cpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | YorozuyaGSLib/source/_qry_case_in_guildbattlecostDetail.cpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | YorozuyaGSLib/source/_qry_case_in_guildbattlecostDetail.cpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 44 | 2017-12-19T08:02:59.000Z | 2022-02-24T23:15:01.000Z | #include <_qry_case_in_guildbattlecostDetail.hpp>
#include <common/ATFCore.hpp>
START_ATF_NAMESPACE
namespace Detail
{
Info::_qry_case_in_guildbattlecostsize2_ptr _qry_case_in_guildbattlecostsize2_next(nullptr);
Info::_qry_case_in_guildbattlecostsize2_clbk _qry_case_in_guildbattlecostsize2_use... | 41.071429 | 122 | 0.706957 | lemkova |
7353e1f75ac7e1b2678e90aea22332f191b1fc20 | 13,637 | cc | C++ | test/integration/rtds_integration_test.cc | seventhscream/envoy | d3bd9bbef64abbf1c02fe91231eac8841901131d | [
"Apache-2.0"
] | 1 | 2022-03-02T14:23:12.000Z | 2022-03-02T14:23:12.000Z | test/integration/rtds_integration_test.cc | seventhscream/envoy | d3bd9bbef64abbf1c02fe91231eac8841901131d | [
"Apache-2.0"
] | 153 | 2021-10-04T04:32:48.000Z | 2022-03-31T04:22:40.000Z | test/integration/rtds_integration_test.cc | seventhscream/envoy | d3bd9bbef64abbf1c02fe91231eac8841901131d | [
"Apache-2.0"
] | 1 | 2021-12-14T02:39:44.000Z | 2021-12-14T02:39:44.000Z | #include "envoy/service/runtime/v3/rtds.pb.h"
#include "test/common/grpc/grpc_client_integration.h"
#include "test/config/v2_link_hacks.h"
#include "test/integration/http_integration.h"
#include "test/test_common/utility.h"
#include "gtest/gtest.h"
namespace Envoy {
namespace {
// TODO(fredlas) set_node_on_first_me... | 41.199396 | 100 | 0.699274 | seventhscream |
7354a71071a2e4eeed7ce38f4808df4f249166aa | 894 | hpp | C++ | include/ShaderAST/Stmt/PreprocExtension.hpp | jarrodmky/ShaderWriter | ee9ce00a003bf544f8c8f23b5c07739e21cb3754 | [
"MIT"
] | 148 | 2018-10-11T16:51:37.000Z | 2022-03-26T13:55:08.000Z | include/ShaderAST/Stmt/PreprocExtension.hpp | jarrodmky/ShaderWriter | ee9ce00a003bf544f8c8f23b5c07739e21cb3754 | [
"MIT"
] | 30 | 2019-11-30T11:43:07.000Z | 2022-01-25T21:09:47.000Z | include/ShaderAST/Stmt/PreprocExtension.hpp | jarrodmky/ShaderWriter | ee9ce00a003bf544f8c8f23b5c07739e21cb3754 | [
"MIT"
] | 8 | 2020-04-17T13:18:30.000Z | 2021-11-20T06:24:44.000Z | /*
See LICENSE file in root folder
*/
#ifndef ___AST_PreprocExtension_H___
#define ___AST_PreprocExtension_H___
#pragma once
#include "Stmt.hpp"
namespace ast::stmt
{
class PreprocExtension
: public Stmt
{
public:
enum class ExtStatus
{
eDisabled,
eEnabled,
eRequired,
};
public:
SDAST_API Prep... | 16.555556 | 66 | 0.715884 | jarrodmky |
7355780197353bfccba9d174818fdbb1c015983a | 21,792 | cpp | C++ | opencv110/highgui/src/linux/cvcap_gstreamer.cpp | hjhsggy/opencv | 9b8cc736623c61667df81a48f93b665fa8a4c88d | [
"BSD-3-Clause"
] | 106 | 2015-01-15T10:13:18.000Z | 2021-11-10T01:39:07.000Z | opencv110/highgui/src/linux/cvcap_gstreamer.cpp | hjhsggy/opencv | 9b8cc736623c61667df81a48f93b665fa8a4c88d | [
"BSD-3-Clause"
] | 5 | 2015-02-05T17:43:12.000Z | 2017-01-04T08:34:39.000Z | opencv110/highgui/src/linux/cvcap_gstreamer.cpp | hjhsggy/opencv | 9b8cc736623c61667df81a48f93b665fa8a4c88d | [
"BSD-3-Clause"
] | 24 | 2015-04-29T01:30:37.000Z | 2020-07-24T15:50:05.000Z | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | 26.903704 | 137 | 0.705672 | hjhsggy |
73591e633b75fb385dbeb6b354de9d3380ecef0c | 361 | cpp | C++ | src/Color.cpp | lzanotto/mo802-spitz | 3d3ce9f0fa6d345bd309aea5e2f4f64a8a4f4714 | [
"Apache-2.0"
] | 175 | 2015-01-03T21:50:11.000Z | 2022-03-07T00:20:08.000Z | src/Color.cpp | KsGin-Fork/RayTracer | 4c9f2dd389ace5f7601af367d2aa0e8db70b2b7d | [
"Apache-2.0"
] | 4 | 2016-08-04T10:13:04.000Z | 2020-10-26T09:36:35.000Z | src/Color.cpp | KsGin-Fork/RayTracer | 4c9f2dd389ace5f7601af367d2aa0e8db70b2b7d | [
"Apache-2.0"
] | 49 | 2015-03-04T16:13:21.000Z | 2022-02-23T00:27:13.000Z | #include "Color.h"
Color Color::operator+ (Color const &c) const {
Color other;
other.r = NTZ(c.r) + NTZ(r);
other.g = NTZ(c.g) + NTZ(g);
other.b = NTZ(c.b) + NTZ(b);
return other;
}
Color Color::operator* (double amount) const {
Color other;
other.r = r * amount;
other.g = g * amount;
o... | 16.409091 | 47 | 0.576177 | lzanotto |
735d1a16401ba3494d7e178c3a239b9a59cc2cdb | 4,112 | cpp | C++ | test/test_wo2s5.cpp | lexaaim/wayout_solver | e8ebc5aaac345c2fa128eab264fb6684e42544d6 | [
"MIT"
] | null | null | null | test/test_wo2s5.cpp | lexaaim/wayout_solver | e8ebc5aaac345c2fa128eab264fb6684e42544d6 | [
"MIT"
] | null | null | null | test/test_wo2s5.cpp | lexaaim/wayout_solver | e8ebc5aaac345c2fa128eab264fb6684e42544d6 | [
"MIT"
] | null | null | null | #define BOOST_TEST_MODULE WayOut2Section5Tests
#include <boost/test/unit_test.hpp>
#include "test_common.h"
BOOST_AUTO_TEST_CASE(Section5Level01)
{
const char * indata = 1 + R"(
__.._
_Y..y
X_y_.
.X.Y_
_Y.__
)";
const char * outdata = 1 + R"(
__.1_
_.2.3
._4_5
6.7._
_8.__
)";
test(indata, {outdata});
}
B... | 14.377622 | 46 | 0.607733 | lexaaim |
7361fd3818e0dc2606966aae43c5c39865730260 | 21,711 | cpp | C++ | bridging/plugins/lifx_plugin/lifxResource.cpp | runtimeinc/iotivity | f71826858a754f048b93818582267e83f37f89e2 | [
"Apache-2.0"
] | 4 | 2017-07-11T16:48:17.000Z | 2020-04-03T15:32:37.000Z | bridging/plugins/lifx_plugin/lifxResource.cpp | runtimeinc/iotivity | f71826858a754f048b93818582267e83f37f89e2 | [
"Apache-2.0"
] | null | null | null | bridging/plugins/lifx_plugin/lifxResource.cpp | runtimeinc/iotivity | f71826858a754f048b93818582267e83f37f89e2 | [
"Apache-2.0"
] | 2 | 2017-07-14T21:04:10.000Z | 2021-08-12T05:04:33.000Z | //******************************************************************
//
// Copyright 2017 Intel Mobile Communications GmbH All Rights Reserved.
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except ... | 31.283862 | 114 | 0.655244 | runtimeinc |
736818e7eca9a42432e1f6b456a258adc4b01d8b | 1,131 | hpp | C++ | telnetpp/include/telnetpp/options/naws/client.hpp | CalielOfSeptem/septem | fe7a615eb6c279d3746ee78de8864b5e07bf7e3e | [
"MIT"
] | 1 | 2017-03-30T14:31:33.000Z | 2017-03-30T14:31:33.000Z | telnetpp/include/telnetpp/options/naws/client.hpp | HoraceWeebler/septem | fe7a615eb6c279d3746ee78de8864b5e07bf7e3e | [
"MIT"
] | null | null | null | telnetpp/include/telnetpp/options/naws/client.hpp | HoraceWeebler/septem | fe7a615eb6c279d3746ee78de8864b5e07bf7e3e | [
"MIT"
] | null | null | null | #pragma once
#include "telnetpp/client_option.hpp"
namespace telnetpp { namespace options { namespace naws {
//* =========================================================================
/// \brief An implementation of the client side of the Telnet NAWS option.
//* ===================================================... | 34.272727 | 77 | 0.409372 | CalielOfSeptem |
736ea28eb02762fe8dd63fd2a535da2020c63098 | 6,368 | cpp | C++ | Libs/DICOM/Core/ctkDICOMDisplayedFieldGeneratorRadiotherapySeriesDescriptionRule.cpp | yuzhongbin/CTK | c7c851074079d3e61eb20d89f0c8b129dbd64fa9 | [
"Apache-2.0"
] | 1 | 2020-10-29T01:08:34.000Z | 2020-10-29T01:08:34.000Z | Libs/DICOM/Core/ctkDICOMDisplayedFieldGeneratorRadiotherapySeriesDescriptionRule.cpp | yuzhongbin/CTK | c7c851074079d3e61eb20d89f0c8b129dbd64fa9 | [
"Apache-2.0"
] | null | null | null | Libs/DICOM/Core/ctkDICOMDisplayedFieldGeneratorRadiotherapySeriesDescriptionRule.cpp | yuzhongbin/CTK | c7c851074079d3e61eb20d89f0c8b129dbd64fa9 | [
"Apache-2.0"
] | 1 | 2021-02-05T09:17:59.000Z | 2021-02-05T09:17:59.000Z | /*=========================================================================
Library: CTK
Copyright (c) PerkLab 2018
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.ap... | 45.81295 | 154 | 0.725188 | yuzhongbin |
736ea72e6042de74870325728d244f95fa81ba69 | 393 | hpp | C++ | source/spike.hpp | JROB774/agbicjam2020 | 31b6dc8ef8987768bad7f7698893309662bde490 | [
"MIT"
] | 4 | 2020-10-21T04:04:27.000Z | 2021-09-08T20:04:16.000Z | source/spike.hpp | JROB774/agbicjam2020 | 31b6dc8ef8987768bad7f7698893309662bde490 | [
"MIT"
] | null | null | null | source/spike.hpp | JROB774/agbicjam2020 | 31b6dc8ef8987768bad7f7698893309662bde490 | [
"MIT"
] | null | null | null | #ifndef SPIKE_HPP
#define SPIKE_HPP
enum SpikeDir
{
SPIKE_DIR_U,
SPIKE_DIR_R,
SPIKE_DIR_D,
SPIKE_DIR_L
};
struct Spike
{
Image image;
float x,y;
Rect bounds;
SDL_Rect clip;
};
INTERNAL void CreateSpike (Spike& spike, float x, float y, SpikeDir dir);
INTERNAL void DeleteSpike (Spike& s... | 15.72 | 73 | 0.687023 | JROB774 |
7373701da446bab328dd0890a9441cfb8b26da5e | 3,292 | cpp | C++ | src/ui/wxWidgets/ExternalKeyboardButton.cpp | sorinAche23/Psafe | d23aa0c8b58a8f6e55284083978e865ae13b4c8f | [
"Artistic-2.0"
] | 1 | 2017-04-25T07:37:51.000Z | 2017-04-25T07:37:51.000Z | src/ui/wxWidgets/ExternalKeyboardButton.cpp | sorinAche23/Psafe | d23aa0c8b58a8f6e55284083978e865ae13b4c8f | [
"Artistic-2.0"
] | null | null | null | src/ui/wxWidgets/ExternalKeyboardButton.cpp | sorinAche23/Psafe | d23aa0c8b58a8f6e55284083978e865ae13b4c8f | [
"Artistic-2.0"
] | null | null | null | /*
* Copyright (c) 2003-2015 Rony Shapiro <ronys@users.sourceforge.net>.
* All rights reserved. Use of the code is allowed under the
* Artistic License 2.0 terms, as specified in the LICENSE file
* distributed with this code, or available from
* http://www.opensource.org/licenses/artistic-license-2.0.php
*/
/** ... | 37.83908 | 116 | 0.523998 | sorinAche23 |
73756f285c03db91246efbeb10203bc2bb5a76d2 | 1,433 | cc | C++ | Code/0065-valid-number.cc | SMartQi/Leetcode | 9e35c65a48ba1ecd5436bbe07dd65f993588766b | [
"MIT"
] | 2 | 2019-12-06T14:08:57.000Z | 2020-01-15T15:25:32.000Z | Code/0065-valid-number.cc | SMartQi/Leetcode | 9e35c65a48ba1ecd5436bbe07dd65f993588766b | [
"MIT"
] | 1 | 2020-01-15T16:29:16.000Z | 2020-01-26T12:40:13.000Z | Code/0065-valid-number.cc | SMartQi/Leetcode | 9e35c65a48ba1ecd5436bbe07dd65f993588766b | [
"MIT"
] | null | null | null | class Solution {
public:
bool isNumber(string s) {
int i = 0;
bool hasE = false;
bool hasDot = false;
while (s[i] == ' ' && i < s.length()) i++;
if (i == s.length()) return false;
if (s[i] == 'e') return false;
if (s[i] == '-' || s[i] == '+') {
if ... | 35.825 | 139 | 0.319609 | SMartQi |
7376b4309d18399bdda55d637c51539b5d434ead | 270 | cpp | C++ | samples/snippets/cpp/VS_Snippets_CLR/formatting.numeric.custom/cpp/SpaceOrDigit1.cpp | BaruaSourav/docs | c288ed777de6b091f5e074d3488f7934683f3eb5 | [
"CC-BY-4.0",
"MIT"
] | 3,294 | 2016-10-30T05:27:20.000Z | 2022-03-31T15:59:30.000Z | samples/snippets/cpp/VS_Snippets_CLR/formatting.numeric.custom/cpp/SpaceOrDigit1.cpp | BaruaSourav/docs | c288ed777de6b091f5e074d3488f7934683f3eb5 | [
"CC-BY-4.0",
"MIT"
] | 16,739 | 2016-10-28T19:41:29.000Z | 2022-03-31T22:38:48.000Z | samples/snippets/cpp/VS_Snippets_CLR/formatting.numeric.custom/cpp/SpaceOrDigit1.cpp | BaruaSourav/docs | c288ed777de6b091f5e074d3488f7934683f3eb5 | [
"CC-BY-4.0",
"MIT"
] | 6,701 | 2016-10-29T20:56:11.000Z | 2022-03-31T12:32:26.000Z | // <Snippet12>
using namespace System;
void main()
{
Double value = .324;
Console::WriteLine("The value is: '{0,5:#.###}'", value);
}
// The example displays the following output if the current culture
// is en-US:
// The value is: ' .324'
// </Snippet12>
| 20.769231 | 67 | 0.618519 | BaruaSourav |
73771a134748b64ed0cbc6026cbd4248d35976ea | 37,769 | cpp | C++ | Code/GraphMol/FileParsers/Mol2FileParser.cpp | j-wags/rdkit | 66a53bc3f7ec76b1ea1b0a1197beb1db44177d2e | [
"PostgreSQL"
] | null | null | null | Code/GraphMol/FileParsers/Mol2FileParser.cpp | j-wags/rdkit | 66a53bc3f7ec76b1ea1b0a1197beb1db44177d2e | [
"PostgreSQL"
] | null | null | null | Code/GraphMol/FileParsers/Mol2FileParser.cpp | j-wags/rdkit | 66a53bc3f7ec76b1ea1b0a1197beb1db44177d2e | [
"PostgreSQL"
] | null | null | null | // $Id: Mol2FileParser.cpp 1457 2009-04-03 09:05:17Z landrgr1 $
//
// Copyright (c) 2008, Novartis Institutes for BioMedical Research 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:
... | 36.704568 | 80 | 0.607032 | j-wags |
737afae969ff415909a73becc97311a0bc081482 | 4,444 | cpp | C++ | src/sconelib/scone/optimization/ImitationObjective.cpp | alexxlzhou/scone-core | 4a071626e5ee7ba253e72a973d4d214fa6e30cf5 | [
"Apache-2.0"
] | 5 | 2021-04-30T14:30:20.000Z | 2022-03-27T09:58:24.000Z | src/sconelib/scone/optimization/ImitationObjective.cpp | alexxlzhou/scone-core | 4a071626e5ee7ba253e72a973d4d214fa6e30cf5 | [
"Apache-2.0"
] | 4 | 2021-06-15T10:52:10.000Z | 2021-12-15T10:25:21.000Z | src/sconelib/scone/optimization/ImitationObjective.cpp | alexxlzhou/scone-core | 4a071626e5ee7ba253e72a973d4d214fa6e30cf5 | [
"Apache-2.0"
] | 2 | 2021-05-02T13:38:19.000Z | 2021-07-22T19:37:07.000Z | /*
** ImitationObjective.cpp
**
** Copyright (C) 2013-2019 Thomas Geijtenbeek and contributors. All rights reserved.
**
** This file is part of SCONE. For more information, see http://scone.software.
*/
#include "ImitationObjective.h"
#include "scone/core/Exception.h"
#include "scone/model/Model.h"
#include "scone/co... | 32.918519 | 147 | 0.685194 | alexxlzhou |
737c0658509fcab073c775b4831ed283208abaf0 | 859 | cpp | C++ | Miscellaneous/InterviewBit/Array/MaxDistance.cpp | chirag-singhal/-Data-Structures-and-Algorithms | 9f01b5cc0f382ed59bcd74444a0be1c3aa6cd1a3 | [
"MIT"
] | 24 | 2021-02-09T17:59:54.000Z | 2022-03-11T07:30:38.000Z | Miscellaneous/InterviewBit/Array/MaxDistance.cpp | chirag-singhal/-Data-Structures-and-Algorithms | 9f01b5cc0f382ed59bcd74444a0be1c3aa6cd1a3 | [
"MIT"
] | null | null | null | Miscellaneous/InterviewBit/Array/MaxDistance.cpp | chirag-singhal/-Data-Structures-and-Algorithms | 9f01b5cc0f382ed59bcd74444a0be1c3aa6cd1a3 | [
"MIT"
] | 3 | 2021-06-22T03:09:49.000Z | 2022-03-09T18:25:14.000Z | #include <bits/stdc++.h>
int max(int a, int b) {
if(a > b)
return a;
return b;
}
int min(int a, int b) {
if(a < b)
return a;
return b;
}
int maximumGap(const std::vector<int> &A) {
int n = A.size();
if(n == 0)
return -1;
int maxCount = -1;
std::vector<int> LMin... | 20.95122 | 48 | 0.414435 | chirag-singhal |
737cacaf4994d18823fadfc02704ab0d5a21a46c | 4,392 | cpp | C++ | src/control/trajectory_follower/test/test_interpolate.cpp | ruvus/auto | 25ae62d6e575cae40212356eed43ec3e76e9a13e | [
"Apache-2.0"
] | 19 | 2021-05-28T06:14:21.000Z | 2022-03-10T10:03:08.000Z | src/control/trajectory_follower/test/test_interpolate.cpp | ruvus/auto | 25ae62d6e575cae40212356eed43ec3e76e9a13e | [
"Apache-2.0"
] | 222 | 2021-10-29T22:00:27.000Z | 2022-03-29T20:56:34.000Z | src/control/trajectory_follower/test/test_interpolate.cpp | ruvus/auto | 25ae62d6e575cae40212356eed43ec3e76e9a13e | [
"Apache-2.0"
] | 14 | 2021-05-29T14:59:17.000Z | 2022-03-10T10:03:09.000Z | // Copyright 2021 The Autoware Foundation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... | 32.294118 | 75 | 0.666667 | ruvus |
737dfd916b6c3dcb7f5743e1038cfc4387ebddcb | 22,787 | cpp | C++ | Plugins/Pixel2D/Source/Pixel2DEditor/Private/Pixel2DAnimEditor/SPixel2DAnimAssetBrowser.cpp | UnderGround-orchestra-band/SuperRogue | 65a520ac6ccf859c5994e429ffe915e9ff6f1028 | [
"MIT"
] | 1 | 2021-12-18T13:50:51.000Z | 2021-12-18T13:50:51.000Z | Plugins/Pixel2D/Source/Pixel2DEditor/Private/Pixel2DAnimEditor/SPixel2DAnimAssetBrowser.cpp | UnderGround-orchestra-band/SuperRogue | 65a520ac6ccf859c5994e429ffe915e9ff6f1028 | [
"MIT"
] | 1 | 2021-11-30T08:09:46.000Z | 2021-11-30T08:09:46.000Z | Plugins/Pixel2D/Source/Pixel2DEditor/Private/Pixel2DAnimEditor/SPixel2DAnimAssetBrowser.cpp | UnderGround-orchestra-band/SuperRogue | 65a520ac6ccf859c5994e429ffe915e9ff6f1028 | [
"MIT"
] | null | null | null | // Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
#include "SPixel2DAnimAssetBrowser.h"
#include "Framework/Commands/UIAction.h"
#include "Framework/Commands/UICommandList.h"
#include "Widgets/Layout/SBorder.h"
#include "Widgets/SBoxPanel.h"
#include "Widgets/Text/STextBlock.h"
#include "Widgets/Input/SMenu... | 30.382667 | 225 | 0.748804 | UnderGround-orchestra-band |
737f7805deee6a2d69da0fd8fce129fc7ea6f41d | 416 | hpp | C++ | test/tap.hpp | pboyer/earcut.hpp | 4ad849c1eb3fa850465f6a14ba31fe03de714538 | [
"ISC"
] | 16 | 2020-12-27T16:38:06.000Z | 2022-03-19T23:29:50.000Z | test/tap.hpp | pboyer/earcut.hpp | 4ad849c1eb3fa850465f6a14ba31fe03de714538 | [
"ISC"
] | null | null | null | test/tap.hpp | pboyer/earcut.hpp | 4ad849c1eb3fa850465f6a14ba31fe03de714538 | [
"ISC"
] | null | null | null | #include <string>
class Tap {
public:
class Test;
Tap();
~Tap();
private:
static int total;
static int errored;
static bool started;
};
class Tap::Test {
public:
Test(const std::string &name);
~Test();
void ok(bool status, const std::string &message);
void fail(const std::str... | 14.857143 | 53 | 0.605769 | pboyer |
7386f00fce4a9a6ee652faf1f724c9ae4b8360ba | 1,922 | cpp | C++ | UnitTest/Source/BitStreamerTest.cpp | meraz/doremi | 452d08ebd10db50d9563c1cf97699571889ab18f | [
"MIT"
] | 1 | 2020-03-23T15:42:05.000Z | 2020-03-23T15:42:05.000Z | UnitTest/Source/BitStreamerTest.cpp | Meraz/ssp15 | 452d08ebd10db50d9563c1cf97699571889ab18f | [
"MIT"
] | null | null | null | UnitTest/Source/BitStreamerTest.cpp | Meraz/ssp15 | 452d08ebd10db50d9563c1cf97699571889ab18f | [
"MIT"
] | 1 | 2020-03-23T15:42:06.000Z | 2020-03-23T15:42:06.000Z | #include <UnitTest/Include/BitStreamerTest.hpp>
TEST_F(BitStreamerTest, writeOutsideMemoryFullBytes)
{
uint32_t size = sizeof(m_netMessage->Data) / 4;
for(size_t i = 0; i < size + 1; i++)
{
if(i == size)
{
int breakp = 3;
}
m_streamer->WriteUnsignedInt32(429496... | 20.666667 | 69 | 0.578044 | meraz |
73872a0cecffe78e588758335b677edf0475c623 | 1,571 | cpp | C++ | source/mclib/mlr/mlrclippingstate.cpp | mechasource/mechcommander2 | b2c7cecf001cec1f535aa8d29c31bdc30d9aa983 | [
"BSD-2-Clause"
] | 38 | 2015-04-10T13:31:03.000Z | 2021-09-03T22:34:05.000Z | source/mclib/mlr/mlrclippingstate.cpp | mechasource/mechcommander2 | b2c7cecf001cec1f535aa8d29c31bdc30d9aa983 | [
"BSD-2-Clause"
] | 1 | 2020-07-09T09:48:44.000Z | 2020-07-12T12:41:43.000Z | source/mclib/mlr/mlrclippingstate.cpp | mechasource/mechcommander2 | b2c7cecf001cec1f535aa8d29c31bdc30d9aa983 | [
"BSD-2-Clause"
] | 12 | 2015-06-29T08:06:57.000Z | 2021-10-13T13:11:41.000Z | //===========================================================================//
// Copyright (C) Microsoft Corporation. All rights reserved. //
//===========================================================================//
#include "stdinc.h"
#include "mlr/mlrclippingstate.h"
namespace MidLevelRende... | 30.803922 | 98 | 0.34373 | mechasource |
7387f04bf23c11bd44970c85100aa47b253d3bdd | 1,031 | hpp | C++ | src/WindowsMessageHook.hpp | muhopensores/RE2-Mod-Framework | 0def991b598a83a488c0be1bcf78df81e265b8b6 | [
"MIT"
] | 1 | 2020-07-17T23:16:56.000Z | 2020-07-17T23:16:56.000Z | src/WindowsMessageHook.hpp | muhopensores/RE2-Mod-Framework | 0def991b598a83a488c0be1bcf78df81e265b8b6 | [
"MIT"
] | null | null | null | src/WindowsMessageHook.hpp | muhopensores/RE2-Mod-Framework | 0def991b598a83a488c0be1bcf78df81e265b8b6 | [
"MIT"
] | null | null | null | #pragma once
#include <functional>
#include <Windows.h>
// This type of hook replaces a windows message procedure so that it can intercept
// messages sent to the window.
class WindowsMessageHook {
public:
std::function<bool(HWND, UINT, WPARAM, LPARAM)> onMessage;
WindowsMessageHook() = delete;
WindowsM... | 27.864865 | 82 | 0.71581 | muhopensores |
738989eae681061dea1b3a604cec0207ee51cd44 | 586 | cpp | C++ | src/0118.cpp | killf/leetcode_cpp | d1f308a9c3da55ae5416ea28ec2e7a3146533ae9 | [
"MIT"
] | null | null | null | src/0118.cpp | killf/leetcode_cpp | d1f308a9c3da55ae5416ea28ec2e7a3146533ae9 | [
"MIT"
] | null | null | null | src/0118.cpp | killf/leetcode_cpp | d1f308a9c3da55ae5416ea28ec2e7a3146533ae9 | [
"MIT"
] | null | null | null | #include <vector>
using namespace std;
class Solution {
public:
vector<vector<int>> generate(int numRows) {
vector<vector<int>> result;
if (numRows == 0)return result;
result.push_back({1});
if (numRows == 1)return result;
result.push_back({1, 1});
if (numRows == 2)return result;
for ... | 20.206897 | 45 | 0.546075 | killf |
738f49412e2732a4f171c2618b683c6fb789c5aa | 2,410 | cc | C++ | ja2/Build/SGP/PCX.cc | gtrafimenkov/ja2-vanilla-cp | 961076add8175afa845cbd6c33dbf9cd78f61a0c | [
"BSD-Source-Code"
] | null | null | null | ja2/Build/SGP/PCX.cc | gtrafimenkov/ja2-vanilla-cp | 961076add8175afa845cbd6c33dbf9cd78f61a0c | [
"BSD-Source-Code"
] | null | null | null | ja2/Build/SGP/PCX.cc | gtrafimenkov/ja2-vanilla-cp | 961076add8175afa845cbd6c33dbf9cd78f61a0c | [
"BSD-Source-Code"
] | null | null | null | #include "SGP/PCX.h"
#include <stdexcept>
#include "SGP/Buffer.h"
#include "SGP/FileMan.h"
#include "SGP/HImage.h"
#include "SGP/MemMan.h"
struct PcxHeader {
UINT8 ubManufacturer;
UINT8 ubVersion;
UINT8 ubEncoding;
UINT8 ubBitsPerPixel;
UINT16 usLeft;
UINT16 usTop;
UINT16 usRight;
UINT16 usBottom;
... | 25.638298 | 91 | 0.651867 | gtrafimenkov |
7390b1a96278890b5e9f9bf3f9aa2a51106a892a | 988 | cpp | C++ | ad_physics/tests/generated/ad/physics/AngleListValidInputRangeTests.cpp | woojinjjang/map-1 | d12bb410f03d078a995130b4e671746ace8b6287 | [
"MIT"
] | 61 | 2019-12-19T20:57:24.000Z | 2022-03-29T15:20:51.000Z | ad_physics/tests/generated/ad/physics/AngleListValidInputRangeTests.cpp | woojinjjang/map-1 | d12bb410f03d078a995130b4e671746ace8b6287 | [
"MIT"
] | 54 | 2020-04-05T05:32:47.000Z | 2022-03-15T18:42:33.000Z | ad_physics/tests/generated/ad/physics/AngleListValidInputRangeTests.cpp | woojinjjang/map-1 | d12bb410f03d078a995130b4e671746ace8b6287 | [
"MIT"
] | 31 | 2019-12-20T07:37:39.000Z | 2022-03-16T13:06:16.000Z | /*
* ----------------- BEGIN LICENSE BLOCK ---------------------------------
*
* Copyright (C) 2018-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
* ----------------- END LICENSE BLOCK -----------------------------------
*/
/*
* Generated file
*/
#include <gtest/gtest.h>
#include <limits>
#incl... | 23.52381 | 74 | 0.672065 | woojinjjang |
73912e20ab5b24a30515e430d569f4c02b20ba52 | 558 | cxx | C++ | src/main.cxx | rudrabhoj/decipher_text | 2f2e7fb264fb1e4854a1b0793a5cbc4168fcc727 | [
"BSD-3-Clause"
] | 3 | 2016-07-26T04:24:04.000Z | 2016-08-09T17:03:57.000Z | src/main.cxx | rudrabhoj/decipher_text | 2f2e7fb264fb1e4854a1b0793a5cbc4168fcc727 | [
"BSD-3-Clause"
] | null | null | null | src/main.cxx | rudrabhoj/decipher_text | 2f2e7fb264fb1e4854a1b0793a5cbc4168fcc727 | [
"BSD-3-Clause"
] | null | null | null | //Main file
#include <iostream>
#include <QApplication>
#include <Control/Setting.hh>
#include <Interface/MainWindow.hh>
#include <Control/ControlData.hh>
#include <Control/Language.hh>
int main(int argc, char *argv[]){
int rc;
QApplication decipherApp(argc, argv);
ControlData *globalControl = new ControlData(a... | 21.461538 | 67 | 0.741935 | rudrabhoj |
739156342301466b0f2b88d363053030162eb2b6 | 11,855 | cpp | C++ | src/protocols/radius/CRadiusConnector.cpp | vBRAS/OpenBRAS | cb227f48c5839ec95296c532b177a6639bfbd657 | [
"BSD-3-Clause"
] | 5 | 2020-10-09T10:27:33.000Z | 2021-09-20T07:52:49.000Z | src/protocols/radius/CRadiusConnector.cpp | vBRAS/OpenBRAS | cb227f48c5839ec95296c532b177a6639bfbd657 | [
"BSD-3-Clause"
] | 2 | 2018-12-30T10:37:53.000Z | 2019-04-16T21:29:53.000Z | src/protocols/radius/CRadiusConnector.cpp | vBRAS/OpenBRAS | cb227f48c5839ec95296c532b177a6639bfbd657 | [
"BSD-3-Clause"
] | 2 | 2020-07-22T22:46:28.000Z | 2021-12-04T11:55:39.000Z | /***********************************************************************
Copyright (c) 2017, The OpenBRAS project authors. 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 sou... | 29.936869 | 158 | 0.606664 | vBRAS |
7394748f245a8eb74612e345b8f01f968d5f73b2 | 4,466 | hpp | C++ | NearestNeighbor/LinearSearchBest/HistogramParent.hpp | jingtangliao/ff | d308fe62045e241a4822bb855df97ee087420d9b | [
"Apache-2.0"
] | 39 | 2015-01-01T07:59:51.000Z | 2021-10-01T18:11:46.000Z | NearestNeighbor/LinearSearchBest/HistogramParent.hpp | jingtangliao/ff | d308fe62045e241a4822bb855df97ee087420d9b | [
"Apache-2.0"
] | 1 | 2019-04-24T09:56:15.000Z | 2019-04-24T14:45:46.000Z | NearestNeighbor/LinearSearchBest/HistogramParent.hpp | jingtangliao/ff | d308fe62045e241a4822bb855df97ee087420d9b | [
"Apache-2.0"
] | 18 | 2015-01-11T15:10:23.000Z | 2022-02-24T20:02:10.000Z | /*=========================================================================
*
* Copyright David Doria 2012 daviddoria@gmail.com
*
* 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
*
*... | 39.875 | 139 | 0.721003 | jingtangliao |
7395e7e6746bd1200cc6086e602edd032add0dc9 | 5,701 | hpp | C++ | general/optparser.hpp | lmdiazangulo/mfem | 34c0b55882e931d068613ce4ce24b608d53a6d32 | [
"BSD-3-Clause"
] | null | null | null | general/optparser.hpp | lmdiazangulo/mfem | 34c0b55882e931d068613ce4ce24b608d53a6d32 | [
"BSD-3-Clause"
] | null | null | null | general/optparser.hpp | lmdiazangulo/mfem | 34c0b55882e931d068613ce4ce24b608d53a6d32 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2010-2021, Lawrence Livermore National Security, LLC. Produced
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
// LICENSE and NOTICE for details. LLNL-CODE-806117.
//
// This file is part of the MFEM library. For more information and source code
// availability visit ht... | 34.343373 | 80 | 0.647781 | lmdiazangulo |
739688c4894d0e6f603aab6c03508380efb48f69 | 5,239 | cpp | C++ | src/tests/transform/triangle/aas_asa.cpp | zhaowenlan1779/prometry | 8c66a643f4b0de475b8fbcd30a1f14bc35f8c96d | [
"MIT"
] | null | null | null | src/tests/transform/triangle/aas_asa.cpp | zhaowenlan1779/prometry | 8c66a643f4b0de475b8fbcd30a1f14bc35f8c96d | [
"MIT"
] | null | null | null | src/tests/transform/triangle/aas_asa.cpp | zhaowenlan1779/prometry | 8c66a643f4b0de475b8fbcd30a1f14bc35f8c96d | [
"MIT"
] | null | null | null | // Copyright 2019 Zhupengfei and others
// Licensed under the MIT License.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHOR... | 45.95614 | 91 | 0.69059 | zhaowenlan1779 |
73980f92fe17160207ba1f476bfd775676df0e69 | 5,438 | cpp | C++ | src/WrappedType.cpp | IshoAntar/AudMonkey | c9180745529960b147b49f659c4295d7dffb888c | [
"CC-BY-3.0"
] | 41 | 2021-07-07T13:22:16.000Z | 2022-03-15T19:46:27.000Z | src/WrappedType.cpp | BeaterTeam/Beater | e92b0b85986d51e40fcccb41fec61bd261fc52e6 | [
"CC-BY-3.0"
] | 41 | 2021-07-07T16:47:48.000Z | 2022-02-23T03:43:25.000Z | src/WrappedType.cpp | TheEvilSkeleton/AudMonkey | 848d951c3d4acf2687a9c83ece71de5940d0546c | [
"CC-BY-3.0"
] | 6 | 2021-07-07T09:39:48.000Z | 2021-12-28T01:06:58.000Z | /**********************************************************************
WrappedType.cpp
James Crook
(C) AudMonkey Developers, 2007
wxWidgets license. See Licensing.txt
**********************************************************************//*!
\class WrappedType
\brief
Used in type conversions, this wrapp... | 21.077519 | 81 | 0.581464 | IshoAntar |
739c9dea45ca914e87d188fcdfaac875df506773 | 1,149 | hpp | C++ | core/KVMLLT.hpp | Domaman202/DmNKVM | e867f5369426954ad7836aba47cc86f9b657d5b2 | [
"MIT"
] | 1 | 2021-07-24T14:33:54.000Z | 2021-07-24T14:33:54.000Z | core/KVMLLT.hpp | Domaman202/DmNKVM | e867f5369426954ad7836aba47cc86f9b657d5b2 | [
"MIT"
] | null | null | null | core/KVMLLT.hpp | Domaman202/DmNKVM | e867f5369426954ad7836aba47cc86f9b657d5b2 | [
"MIT"
] | null | null | null | #ifndef DMN_KVM_NO_USE_PRAGMA
#pragma once
#endif /* DMN_KVM_NO_USE_PRAGMA */
#ifndef DMN_KVM_LLT_H
#define DMN_KVM_LLT_H
#include "KVMNameble.hpp"
namespace DmN::KVM {
enum class LLTypes {
UNDEFINED = 0,
VARIABLE = 1,
FIELD = 2,
METHOD = 3,
LAMBDA = 4,
ENUM = 5,
... | 24.978261 | 152 | 0.583986 | Domaman202 |
739d5747e1cf4235ab9a421efeceae52c593ecac | 9,010 | hpp | C++ | include/quantities/water-specific-gravity-unit.hpp | zentechnologygroup/libzen | a742bff22518d4d21b08ae44a0e908e4977beaae | [
"MIT"
] | 3 | 2018-08-08T23:34:37.000Z | 2021-05-04T21:47:29.000Z | include/quantities/water-specific-gravity-unit.hpp | zentechnologygroup/libzen | a742bff22518d4d21b08ae44a0e908e4977beaae | [
"MIT"
] | null | null | null | include/quantities/water-specific-gravity-unit.hpp | zentechnologygroup/libzen | a742bff22518d4d21b08ae44a0e908e4977beaae | [
"MIT"
] | 1 | 2018-09-03T12:52:43.000Z | 2018-09-03T12:52:43.000Z | #ifndef WATER_SPECIFIC_GRAVITY_UNIT_H
#define WATER_SPECIFIC_GRAVITY_UNIT_H
#include <cmath>
/* Project headers */
#include "units.hpp"
// SOURCE: Effect of Salinity on the density of brine (Data from
// international Critical Tables ii 1927, 79)
// SOURCE: McCain W.D, Jr: The properties of Petroleum Fluid 2nd. ed... | 63.006993 | 288 | 0.686238 | zentechnologygroup |
73a0b235c8640d1930067cf0ea3e92a64c986bc5 | 2,186 | cpp | C++ | ql/experimental/varianceoption/varianceoption.cpp | jiangjiali/QuantLib | 37c98eccfa18a95acb1e98b276831641be92b38e | [
"BSD-3-Clause"
] | 3,358 | 2015-12-18T02:56:17.000Z | 2022-03-31T02:42:47.000Z | ql/experimental/varianceoption/varianceoption.cpp | jiangjiali/QuantLib | 37c98eccfa18a95acb1e98b276831641be92b38e | [
"BSD-3-Clause"
] | 965 | 2015-12-21T10:35:28.000Z | 2022-03-30T02:47:00.000Z | ql/experimental/varianceoption/varianceoption.cpp | jiangjiali/QuantLib | 37c98eccfa18a95acb1e98b276831641be92b38e | [
"BSD-3-Clause"
] | 1,663 | 2015-12-17T17:45:38.000Z | 2022-03-31T07:58:29.000Z | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2008 StatPro Italia srl
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is free software: you can redistribute it ... | 39.035714 | 79 | 0.678866 | jiangjiali |
73a17942558652729feb4d6551f72ee9034acf15 | 9,785 | cpp | C++ | local_planner/src/nodes/waypoint_generator.cpp | jengakim/avoidance | 978bb05f3fd6b060de4c417809e73318a3e121a4 | [
"BSD-3-Clause"
] | null | null | null | local_planner/src/nodes/waypoint_generator.cpp | jengakim/avoidance | 978bb05f3fd6b060de4c417809e73318a3e121a4 | [
"BSD-3-Clause"
] | null | null | null | local_planner/src/nodes/waypoint_generator.cpp | jengakim/avoidance | 978bb05f3fd6b060de4c417809e73318a3e121a4 | [
"BSD-3-Clause"
] | null | null | null | #include "local_planner/waypoint_generator.h"
#include "local_planner/common.h"
#include "local_planner/planner_functions.h"
#include <ros/param.h>
#include <tf/transform_listener.h>
namespace avoidance {
ros::Time WaypointGenerator::getSystemTime() { return ros::Time::now(); }
void WaypointGenerator::calculateWa... | 33.395904 | 80 | 0.675217 | jengakim |
73a392a389ba9d28742ac317f03ca37010ba15a5 | 6,615 | hpp | C++ | include/ssGUI/Extensions/AdvancedSize.hpp | Neko-Box-Coder/ssGUI | 25e218fd79fea105a30737a63381cf8d0be943f6 | [
"Apache-2.0"
] | 15 | 2022-01-21T10:48:04.000Z | 2022-03-27T17:55:11.000Z | include/ssGUI/Extensions/AdvancedSize.hpp | Neko-Box-Coder/ssGUI | 25e218fd79fea105a30737a63381cf8d0be943f6 | [
"Apache-2.0"
] | null | null | null | include/ssGUI/Extensions/AdvancedSize.hpp | Neko-Box-Coder/ssGUI | 25e218fd79fea105a30737a63381cf8d0be943f6 | [
"Apache-2.0"
] | 4 | 2022-01-21T10:48:05.000Z | 2022-01-22T15:42:34.000Z | #ifndef SSGUI_ADVANCED_SIZE
#define SSGUI_ADVANCED_SIZE
#include <unordered_map>
#include "ssGUI/Extensions/Extension.hpp"
#include "ssGUI/GUIObjectClasses/Window.hpp"
#include "ssGUI/GUIObjectClasses/GUIObject.hpp" //This is needed as Extension is only forward declaring ssGUI::GUIObject
#include "ssGUI/GUIO... | 40.090909 | 239 | 0.59607 | Neko-Box-Coder |
73a64c07e6e4590e13b1d77e4790c2731a85da9e | 781 | cpp | C++ | tests/mocks/mock_pthread.cpp | mononn/libmcu | 5eb73da0bdf8304e785473a493410a47aa779e48 | [
"MIT"
] | 34 | 2020-12-19T01:40:12.000Z | 2021-11-21T15:43:40.000Z | tests/mocks/mock_pthread.cpp | mononn/libmcu | 5eb73da0bdf8304e785473a493410a47aa779e48 | [
"MIT"
] | 70 | 2020-11-02T07:13:36.000Z | 2021-10-05T00:50:15.000Z | tests/mocks/mock_pthread.cpp | mononn/libmcu | 5eb73da0bdf8304e785473a493410a47aa779e48 | [
"MIT"
] | 1 | 2020-12-19T07:46:03.000Z | 2020-12-19T07:46:03.000Z | #include "CppUTestExt/MockSupport.h"
#include <pthread.h>
#if 0
void pthread_exit(void *value_ptr)
{
mock().actualCall(__func__);
}
#endif
int pthread_attr_init(pthread_attr_t *attr)
{
return mock().actualCall(__func__)
.returnIntValueOrDefault(0);
}
int pthread_attr_setstacksize(pthread_attr_t *attr, size_t sta... | 19.525 | 70 | 0.75032 | mononn |
73abfe4c98142104254ef54da337f28dd301f73b | 425 | cpp | C++ | Source/Logger.cpp | AhmetMelihIslam/ToolKit | 2752d9aa425ff4389f2b705abfbe4580fca1f214 | [
"MIT"
] | null | null | null | Source/Logger.cpp | AhmetMelihIslam/ToolKit | 2752d9aa425ff4389f2b705abfbe4580fca1f214 | [
"MIT"
] | null | null | null | Source/Logger.cpp | AhmetMelihIslam/ToolKit | 2752d9aa425ff4389f2b705abfbe4580fca1f214 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "Logger.h"
#include "ToolKit.h"
#include "DebugNew.h"
namespace ToolKit
{
Logger::Logger()
{
m_logFile.open("Log.txt", std::ios::out);
}
Logger::~Logger()
{
m_logFile.close();
}
void Logger::Log(const std::string& message)
{
#ifdef __EMSCRIPTEN__
String emLog... | 14.655172 | 46 | 0.607059 | AhmetMelihIslam |
73acc1aca4f7dc564e3b1f1ecc9a84e349240767 | 45,953 | cpp | C++ | src/prod/src/data/txnreplicator/statemanager/CheckpointManager.cpp | AnthonyM/service-fabric | c396ea918714ea52eab9c94fd62e018cc2e09a68 | [
"MIT"
] | 1 | 2018-03-15T02:09:21.000Z | 2018-03-15T02:09:21.000Z | src/prod/src/data/txnreplicator/statemanager/CheckpointManager.cpp | AnthonyM/service-fabric | c396ea918714ea52eab9c94fd62e018cc2e09a68 | [
"MIT"
] | null | null | null | src/prod/src/data/txnreplicator/statemanager/CheckpointManager.cpp | AnthonyM/service-fabric | c396ea918714ea52eab9c94fd62e018cc2e09a68 | [
"MIT"
] | null | null | null | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
using nam... | 38.294167 | 182 | 0.664962 | AnthonyM |
73b045a429035be76fce96ffc4ce4210f15b94c5 | 26,188 | cpp | C++ | src/xalanc/XPath/XPathFunctionTable.cpp | rherardi/xml-xalan-c-src_1_10_0 | 24e6653a617a244e4def60d67b57e70a192a5d4d | [
"Apache-2.0"
] | null | null | null | src/xalanc/XPath/XPathFunctionTable.cpp | rherardi/xml-xalan-c-src_1_10_0 | 24e6653a617a244e4def60d67b57e70a192a5d4d | [
"Apache-2.0"
] | null | null | null | src/xalanc/XPath/XPathFunctionTable.cpp | rherardi/xml-xalan-c-src_1_10_0 | 24e6653a617a244e4def60d67b57e70a192a5d4d | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 1999-2004 The Apache Software Foundation.
*
* 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 requir... | 21.1364 | 106 | 0.711776 | rherardi |
73b2c894c12dd22a7b6e21bf1f69e2930d0b4b6d | 43,778 | cpp | C++ | Steg/gui.cpp | SteDeshain/Interface | 059a267a2b04bfe1dc26fb11276784fd226dc1d4 | [
"MIT"
] | 7 | 2016-10-21T02:49:47.000Z | 2020-06-27T14:09:52.000Z | Steg/gui.cpp | SteDeshain/Interface | 059a267a2b04bfe1dc26fb11276784fd226dc1d4 | [
"MIT"
] | null | null | null | Steg/gui.cpp | SteDeshain/Interface | 059a267a2b04bfe1dc26fb11276784fd226dc1d4 | [
"MIT"
] | null | null | null | #include "gui.h"
#include "sources_load.h"
#include "color.h"
#include "event_handler.h"
#include "game.h"
//tmp
#include "stel.h"
namespace steg
{
GUI::GUI(int x, int y, int textureNum, const char* imgFile, Canvas* canvas)
:DrawableComp(x, y, textureNum, imgFile, canvas)
{
selectable = false;
selected = ... | 26.467956 | 124 | 0.606081 | SteDeshain |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.