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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2be19475ad2ab5415710e71a0674f69bf112b811 | 414 | cpp | C++ | string/reverse_str.cpp | Nilesh-Das/mustdogfg | bb39fe6eb9dd4964f97a7ab6d4e65e4c3994fc3f | [
"MIT"
] | null | null | null | string/reverse_str.cpp | Nilesh-Das/mustdogfg | bb39fe6eb9dd4964f97a7ab6d4e65e4c3994fc3f | [
"MIT"
] | null | null | null | string/reverse_str.cpp | Nilesh-Das/mustdogfg | bb39fe6eb9dd4964f97a7ab6d4e65e4c3994fc3f | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define ll long long
using namespace std;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
char s[] = "nilesh";
int n = sizeof(s) / sizeof(s[0]);
// n i l e s h \0
// | |
// p q
char *p = s;
char *q = s+n-2;
for(int i=0; i<n/2; i++) {
cha... | 12.9375 | 35 | 0.437198 | Nilesh-Das |
2be4c5c6a09c112e30d6970ea523b989fcfff30f | 2,164 | cpp | C++ | CppSprtPkg/Library/CppSprtLib.cpp | lvjianmin-loongson/uefi | d6fba2f83e00125ff0362b4583461958d459fb4b | [
"BSD-2-Clause"
] | null | null | null | CppSprtPkg/Library/CppSprtLib.cpp | lvjianmin-loongson/uefi | d6fba2f83e00125ff0362b4583461958d459fb4b | [
"BSD-2-Clause"
] | null | null | null | CppSprtPkg/Library/CppSprtLib.cpp | lvjianmin-loongson/uefi | d6fba2f83e00125ff0362b4583461958d459fb4b | [
"BSD-2-Clause"
] | null | null | null | /*
## @file
#
# Copyright (c) 2018 Loongson Technology Corporation Limited (www.loongson.cn).
# All intellectual property rights(Copyright, Patent and Trademark) reserved.
#
# Any violations of copyright or other intellectual property rights of the Loongson Technology
# Corporation Limited will be held accountable ... | 28.853333 | 127 | 0.738447 | lvjianmin-loongson |
2bede9ee1af5420271b4f1026fd3a0a900f59688 | 1,911 | hpp | C++ | src/autonomy/compiler/translator_exceptions.hpp | medlefsen/autonomy | ed9da86e9be98dd2505a7f02af9cd4db995e6baf | [
"Artistic-2.0"
] | 2 | 2015-05-31T20:26:51.000Z | 2022-02-19T16:11:14.000Z | src/autonomy/compiler/translator_exceptions.hpp | medlefsen/autonomy | ed9da86e9be98dd2505a7f02af9cd4db995e6baf | [
"Artistic-2.0"
] | null | null | null | src/autonomy/compiler/translator_exceptions.hpp | medlefsen/autonomy | ed9da86e9be98dd2505a7f02af9cd4db995e6baf | [
"Artistic-2.0"
] | null | null | null | //! \file translator_exceptions.hpp
//! \brief Exception classes that may be thrown by the translator.
#ifndef AUTONOMY_COMPILER_TRANSLATOR_EXCEPTIONS_HPP
#define AUTONOMY_COMPILER_TRANSLATOR_EXCEPTIONS_HPP
#include <string>
#include <exception>
#include <autonomy/compiler/parser_ids.hpp>
namespace autonomy
{
na... | 27.3 | 81 | 0.574568 | medlefsen |
2bf728489b29051f8a13d5dd8d4c4903026421c8 | 3,332 | hpp | C++ | Vals.hpp | Galenika/csgo-offsets-finder | 5fd13006bb5fe58bed4f0a35a99142fe5a279c72 | [
"MIT"
] | 2 | 2021-02-26T08:03:30.000Z | 2021-07-14T23:28:41.000Z | Vals.hpp | RequestFX/csgo-offsets-finder | 5fd13006bb5fe58bed4f0a35a99142fe5a279c72 | [
"MIT"
] | null | null | null | Vals.hpp | RequestFX/csgo-offsets-finder | 5fd13006bb5fe58bed4f0a35a99142fe5a279c72 | [
"MIT"
] | 4 | 2021-02-03T20:08:55.000Z | 2021-07-06T17:13:14.000Z | // Made by RequestFX#1541
#pragma once
namespace vals {
namespace signatures {
static long
anim_overlays,
clientstate_choked_commands,
clientstate_delta_ticks,
clientstate_last_outgoing_command,
clientstate_net_channel,
convar_name_hash_table,
dwClientState,
dwClientState_GetL... | 21.088608 | 38 | 0.722689 | Galenika |
920480b3726dbde0caf825b1285953e6ea6970b6 | 3,370 | cpp | C++ | EZOJ/1976.cpp | sshockwave/Online-Judge-Solutions | 9d0bc7fd68c3d1f661622929c1cb3752601881d3 | [
"MIT"
] | 6 | 2019-09-30T16:11:00.000Z | 2021-11-01T11:42:33.000Z | BZOJ/2286.cpp | sshockwave/Online-Judge-Solutions | 9d0bc7fd68c3d1f661622929c1cb3752601881d3 | [
"MIT"
] | 4 | 2017-11-21T08:17:42.000Z | 2020-07-28T12:09:52.000Z | EZOJ/1976.cpp | sshockwave/Online-Judge-Solutions | 9d0bc7fd68c3d1f661622929c1cb3752601881d3 | [
"MIT"
] | 4 | 2017-07-26T05:54:06.000Z | 2020-09-30T13:35:38.000Z | #include <iostream>
#include <cstdio>
#include <cstring>
#include <cassert>
#include <cctype>
#include <algorithm>
using namespace std;
typedef long long lint;
#define ni (next_num<int>())
#define nl (next_num<lint>())
template<class T>inline T next_num(){
T i=0;char c;
while(!isdigit(c=getchar())&&c!='-');
bool fla... | 18.618785 | 65 | 0.532938 | sshockwave |
92105c452e6afe0720afa7153119d93b67dffc75 | 9,483 | cpp | C++ | src/engine/logic/entity.cpp | FredTheDino/SpaceCat | e0ac174af72f92994b91480ba20f8d3a6688c29f | [
"MIT"
] | null | null | null | src/engine/logic/entity.cpp | FredTheDino/SpaceCat | e0ac174af72f92994b91480ba20f8d3a6688c29f | [
"MIT"
] | null | null | null | src/engine/logic/entity.cpp | FredTheDino/SpaceCat | e0ac174af72f92994b91480ba20f8d3a6688c29f | [
"MIT"
] | null | null | null | namespace Logic {
bool init_entity() {
// This limits the memory to one arena, just to keep
// tabs on the memory, if you trust this code switch it
// to true to have UNLIMITED entities.
_fog_es.memory = Util::request_arena(false);
_fog_es.next_free = 0;
_fog_es.enti... | 31.61 | 92 | 0.538226 | FredTheDino |
921a323c58434473c208cf3a837cbb195f53020e | 7,058 | cpp | C++ | system-test/cache_distributed.cpp | ThomasDai/MaxScale | 766afedbada386b4402b8dbb21805e7eaba52323 | [
"BSD-3-Clause"
] | null | null | null | system-test/cache_distributed.cpp | ThomasDai/MaxScale | 766afedbada386b4402b8dbb21805e7eaba52323 | [
"BSD-3-Clause"
] | 1 | 2021-02-12T10:08:58.000Z | 2021-02-18T02:57:57.000Z | system-test/cache_distributed.cpp | ThomasDai/MaxScale | 766afedbada386b4402b8dbb21805e7eaba52323 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2016 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
*
* Change Date: 2024-11-26
*
* On the date above, in accordance with the Business Source License, use
* of this software will be g... | 30.034043 | 97 | 0.66081 | ThomasDai |
9220ba602ed16f5e80dd6083c04c278af0bf33c5 | 1,087 | hpp | C++ | include/xul/util/gzip.hpp | hindsights/xul | 666ce90742a9919d538ad5c8aad618737171e93b | [
"MIT"
] | 2 | 2018-03-16T07:06:48.000Z | 2018-04-02T03:02:14.000Z | include/xul/util/gzip.hpp | hindsights/xul | 666ce90742a9919d538ad5c8aad618737171e93b | [
"MIT"
] | null | null | null | include/xul/util/gzip.hpp | hindsights/xul | 666ce90742a9919d538ad5c8aad618737171e93b | [
"MIT"
] | 1 | 2019-08-12T05:15:29.000Z | 2019-08-12T05:15:29.000Z | #pragma once
#include "zlib.h"
namespace xul {
int gzip_uncompress(
Bytef *dest,
uLongf *destLen,
const Bytef *source,
uLong sourceLen)
{
z_stream stream;
int err;
int gzip = 1;
stream.next_in = (Bytef*)source;
stream.avail_in = (uInt)sourceLen;
/* Check for source > 64K on 1... | 20.903846 | 79 | 0.594296 | hindsights |
92225a4239d3b912d52bdb714a4e60ea88887894 | 4,849 | cpp | C++ | z3/src/Macierz.cpp | KolodziejJakub/UkladRownan | 522bec5390ed79c34194cb5b0e18eb2a5f2317c2 | [
"MIT"
] | null | null | null | z3/src/Macierz.cpp | KolodziejJakub/UkladRownan | 522bec5390ed79c34194cb5b0e18eb2a5f2317c2 | [
"MIT"
] | null | null | null | z3/src/Macierz.cpp | KolodziejJakub/UkladRownan | 522bec5390ed79c34194cb5b0e18eb2a5f2317c2 | [
"MIT"
] | null | null | null | #include "Macierz.hh"
Macierz::Macierz(Wektor a1, Wektor a2, Wektor a3)
{
Wektor a1,a2,a3;
}
double & Wektor::operator[](int index)
{
if(index > ROZMIAR || index < 0)
{
exit(1);
}
return tab[index];
}
const double & Wektor::operator[](int index) const
{
if(index > ROZMIAR || index < 0... | 18.026022 | 72 | 0.427717 | KolodziejJakub |
92234105f6f8264a51fffbcf71c5a638f309e984 | 6,947 | hpp | C++ | include/pfasst/interfaces.hpp | danielru/PFASST | d74a822f98fc84ae98232a61fed6f47f60341b08 | [
"BSD-2-Clause"
] | null | null | null | include/pfasst/interfaces.hpp | danielru/PFASST | d74a822f98fc84ae98232a61fed6f47f60341b08 | [
"BSD-2-Clause"
] | null | null | null | include/pfasst/interfaces.hpp | danielru/PFASST | d74a822f98fc84ae98232a61fed6f47f60341b08 | [
"BSD-2-Clause"
] | null | null | null | /*
* Interfaces for SDC/MLSDC/PFASST algorithms.
*/
#ifndef _PFASST_INTERFACES_HPP_
#define _PFASST_INTERFACES_HPP_
#include <cassert>
#include <deque>
#include <exception>
#include <iterator>
#include <memory>
#include <string>
#include "globals.hpp"
using namespace std;
namespace pfasst
{
using time_precisi... | 25.921642 | 99 | 0.579531 | danielru |
9227a459875871befbe049779c58d71e0167cca8 | 2,375 | cpp | C++ | src/SchemaLex.cpp | eXtremal-ik7/config4cpp | 087ee5457c6db2f0ca5d1b12c9b60c44b1fd130d | [
"MIT"
] | null | null | null | src/SchemaLex.cpp | eXtremal-ik7/config4cpp | 087ee5457c6db2f0ca5d1b12c9b60c44b1fd130d | [
"MIT"
] | null | null | null | src/SchemaLex.cpp | eXtremal-ik7/config4cpp | 087ee5457c6db2f0ca5d1b12c9b60c44b1fd130d | [
"MIT"
] | null | null | null | //-----------------------------------------------------------------------
// Copyright 2011 Ciaran McHale.
//
// 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... | 33.928571 | 73 | 0.633684 | eXtremal-ik7 |
922a63aeb275ce1f99a7af8012a001ed473ee879 | 1,582 | cpp | C++ | graphs/dijkstraPqueue.cpp | tkjenll/algorhythm | 00c20a1676520a8f34a1be74773faa9903049ce5 | [
"MIT"
] | 3 | 2017-10-13T04:08:01.000Z | 2021-03-02T10:04:32.000Z | graphs/dijkstraPqueue.cpp | METHLAB-LTD/algorhythm | 00c20a1676520a8f34a1be74773faa9903049ce5 | [
"MIT"
] | null | null | null | graphs/dijkstraPqueue.cpp | METHLAB-LTD/algorhythm | 00c20a1676520a8f34a1be74773faa9903049ce5 | [
"MIT"
] | 4 | 2019-02-06T01:22:51.000Z | 2020-09-12T16:26:43.000Z | /*
Time Complexity :
1. Shortest path by Dijkstra,
using a Binary Min-heap as priority queue
O(|V| + |E|)*log|V| = O(|E|log|V|)
2. Shortest path by Dijkstra,
using a Fibonacci Min-heap as priority queue
O(|E| + |V|log|V|)
3. Shortest path by Dijkstra,
using an unsorted array as pri... | 16.652632 | 63 | 0.540455 | tkjenll |
923092eda6175b36a232014efadd28ee45a85db4 | 1,651 | cpp | C++ | miscellaneous/MaximalRectangleInGrid_leetcode.cpp | Cobnagi/Competitive-programming | 4037e0542350e789a31bf3ebd97896c0d75bea17 | [
"MIT"
] | 6 | 2019-10-06T17:39:42.000Z | 2022-03-03T10:57:52.000Z | miscellaneous/MaximalRectangleInGrid_leetcode.cpp | Cobnagi/Competitive-programming | 4037e0542350e789a31bf3ebd97896c0d75bea17 | [
"MIT"
] | null | null | null | miscellaneous/MaximalRectangleInGrid_leetcode.cpp | Cobnagi/Competitive-programming | 4037e0542350e789a31bf3ebd97896c0d75bea17 | [
"MIT"
] | 2 | 2019-10-06T11:09:01.000Z | 2019-10-06T17:40:46.000Z | class Solution {
public:
int hist(vector<int> &h){
int ans=0;
stack<int> s;
int i=0;
for(i=0;i<h.size();i++){
if(s.empty() || h[i]>=h[s.top()]){
s.push(i);
}
else{
while(!s.empty() && h[i]<h[s.top()]){
... | 26.629032 | 67 | 0.289522 | Cobnagi |
9233fff7d85eb23b2f0b88dbe412a8a3c93d22e5 | 163 | cpp | C++ | src/Scripting/Natives/ScriptGameInstance.cpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 42 | 2020-12-25T08:33:00.000Z | 2022-03-22T14:47:07.000Z | src/Scripting/Natives/ScriptGameInstance.cpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 38 | 2020-12-28T22:36:06.000Z | 2022-02-16T11:25:47.000Z | src/Scripting/Natives/ScriptGameInstance.cpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 20 | 2020-12-28T22:17:38.000Z | 2022-03-22T17:19:01.000Z | #ifndef RED4EXT_STATIC_LIB
#error Please define 'RED4EXT_STATIC_LIB' to compile this file.
#endif
#include <RED4ext/Scripting/Natives/ScriptGameInstance-inl.hpp>
| 27.166667 | 63 | 0.828221 | jackhumbert |
9236c7b57f0a5339bc436fa306c201b662c77c32 | 861 | cpp | C++ | src/return-several-values-and-structured-bindings/main.cpp | tarodnet/cplusplus-snippets | 2866102b53534163c2ebc1aaf6096467dfbdadaf | [
"Apache-2.0"
] | null | null | null | src/return-several-values-and-structured-bindings/main.cpp | tarodnet/cplusplus-snippets | 2866102b53534163c2ebc1aaf6096467dfbdadaf | [
"Apache-2.0"
] | null | null | null | src/return-several-values-and-structured-bindings/main.cpp | tarodnet/cplusplus-snippets | 2866102b53534163c2ebc1aaf6096467dfbdadaf | [
"Apache-2.0"
] | 1 | 2015-06-06T02:23:20.000Z | 2015-06-06T02:23:20.000Z | #include <iostream>
class Foo
{
public:
int foo;
};
class Bar
{
public:
char bar;
};
std::pair<Foo, Bar> f()
{
std::pair<Foo, Bar> result;
auto& foo = result.first;
auto& bar = result.second;
// fill foo and bar...
foo.foo = 0xFF;
bar.bar = 'x';
return result;
}... | 19.568182 | 101 | 0.595819 | tarodnet |
923a66a623dc3654b9b018aaba9c5b2b6d597c56 | 1,135 | cpp | C++ | Copy List with Random Pointers.cpp | AMARTYA2020/DSA | 54936ce7a63535704f81784ade9af743a68ba419 | [
"MIT"
] | 3 | 2021-02-03T10:39:17.000Z | 2021-05-28T11:50:01.000Z | Copy List with Random Pointers.cpp | AMARTYA2020/DSA | 54936ce7a63535704f81784ade9af743a68ba419 | [
"MIT"
] | null | null | null | Copy List with Random Pointers.cpp | AMARTYA2020/DSA | 54936ce7a63535704f81784ade9af743a68ba419 | [
"MIT"
] | 1 | 2021-02-07T07:19:25.000Z | 2021-02-07T07:19:25.000Z | #include<bits/stdc++.h>
using namespace std;
// COPY LIST WITH RANDOM POINTER:
class solution{
public:
Node* copyRandomList(Node* head){
// CREATING NORMAL LINKED LIST THAT HAS A DATA FIELD AND ADDRESS FIELD:
Node* curr=head;
while(curr!=NULL){
Node* next=curr->next;
... | 28.375 | 80 | 0.502203 | AMARTYA2020 |
923c947f3f73180e470c109103abeb14f7b60a45 | 527 | hpp | C++ | include/util/any.hpp | BaroboRobotics/cxx-util | 624813d244ac5a3e6e4ffb16b7e0ac96b5c200cd | [
"BSL-1.0"
] | null | null | null | include/util/any.hpp | BaroboRobotics/cxx-util | 624813d244ac5a3e6e4ffb16b7e0ac96b5c200cd | [
"BSL-1.0"
] | null | null | null | include/util/any.hpp | BaroboRobotics/cxx-util | 624813d244ac5a3e6e4ffb16b7e0ac96b5c200cd | [
"BSL-1.0"
] | 1 | 2018-11-13T15:02:23.000Z | 2018-11-13T15:02:23.000Z | // Copyright (c) 2014-2016 Barobo, Inc.
//
// 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)
#ifndef UTIL_ANY_HPP
#define UTIL_ANY_HPP
#include <utility>
namespace util {
template <class T>
constexpr bool any (T&&... | 20.269231 | 79 | 0.671727 | BaroboRobotics |
923dce66fe2a31a0efe4eb5249b0ae605820ffa0 | 5,904 | hpp | C++ | code/jsbind/v8/convert.hpp | Chobolabs/jsbind | 874b41df6bbc9a3b756e828c64e43e1b6cbd4386 | [
"MIT"
] | 57 | 2019-03-30T21:26:08.000Z | 2022-03-11T02:22:09.000Z | code/jsbind/v8/convert.hpp | Chobolabs/jsbind | 874b41df6bbc9a3b756e828c64e43e1b6cbd4386 | [
"MIT"
] | null | null | null | code/jsbind/v8/convert.hpp | Chobolabs/jsbind | 874b41df6bbc9a3b756e828c64e43e1b6cbd4386 | [
"MIT"
] | 3 | 2020-04-11T09:19:44.000Z | 2021-09-30T07:30:45.000Z | // jsbind
// Copyright (c) 2019 Chobolabs Inc.
// http://www.chobolabs.com/
//
// Distributed under the MIT Software License
// See accompanying file LICENSE.txt or copy at
// http://opensource.org/licenses/MIT
//
#pragma once
#include "global.hpp"
#include "jsbind/common/wrapped_class.hpp"
#include <string>
#includ... | 26.594595 | 95 | 0.54065 | Chobolabs |
92404c1d3c0ab2222f506e2b240dd972433768a4 | 657 | cpp | C++ | OrionUO/GUI/GUIHTMLButton.cpp | SirGlorg/OrionUO | 42209bd144392fddff9e910562ccec1bf5704049 | [
"MIT"
] | 1 | 2019-04-27T22:20:34.000Z | 2019-04-27T22:20:34.000Z | OrionUO/GUI/GUIHTMLButton.cpp | SirGlorg/OrionUO | 42209bd144392fddff9e910562ccec1bf5704049 | [
"MIT"
] | 1 | 2018-12-28T13:45:08.000Z | 2018-12-28T13:45:08.000Z | OrionUO/GUI/GUIHTMLButton.cpp | heppcatt/Siebenwind-Beta-Client | ba25683f37f9bb7496d12aa2b2117cba397370e2 | [
"MIT"
] | null | null | null | // MIT License
// Copyright (C) August 2016 Hotride
CGUIHTMLButton::CGUIHTMLButton(
CGUIHTMLGump *htmlGump,
int serial,
uint16_t graphic,
uint16_t graphicSelected,
uint16_t graphicPressed,
int x,
int y)
: CGUIButton(serial, graphic, graphicSelected, graphicPressed, x, y)
, m_HTMLGu... | 18.771429 | 72 | 0.692542 | SirGlorg |
924c0db79b8f383d8dc3d30eed312be6cd6580ba | 777 | hpp | C++ | Runtime/World/CScriptBeam.hpp | Jcw87/urde | fb9ea9092ad00facfe957ece282a86c194e9cbda | [
"MIT"
] | null | null | null | Runtime/World/CScriptBeam.hpp | Jcw87/urde | fb9ea9092ad00facfe957ece282a86c194e9cbda | [
"MIT"
] | null | null | null | Runtime/World/CScriptBeam.hpp | Jcw87/urde | fb9ea9092ad00facfe957ece282a86c194e9cbda | [
"MIT"
] | null | null | null | #pragma once
#include <string_view>
#include "Runtime/Weapon/CBeamInfo.hpp"
#include "Runtime/World/CActor.hpp"
#include "Runtime/World/CDamageInfo.hpp"
namespace metaforce {
class CWeaponDescription;
class CScriptBeam : public CActor {
TCachedToken<CWeaponDescription> xe8_weaponDescription;
CBeamInfo xf4_beamIn... | 29.884615 | 93 | 0.78121 | Jcw87 |
924d63d5f43ad2567313e7584a5941997b3a6580 | 3,321 | cpp | C++ | test/unit-modcc/test_kinetic_rewriter.cpp | kanzl/arbor | 86b1eb065ac252bf0026de7cf7cbc6748a528254 | [
"BSD-3-Clause"
] | 53 | 2018-10-18T12:08:21.000Z | 2022-03-26T22:03:51.000Z | test/unit-modcc/test_kinetic_rewriter.cpp | kanzl/arbor | 86b1eb065ac252bf0026de7cf7cbc6748a528254 | [
"BSD-3-Clause"
] | 864 | 2018-10-01T08:06:00.000Z | 2022-03-31T08:06:48.000Z | test/unit-modcc/test_kinetic_rewriter.cpp | kanzl/arbor | 86b1eb065ac252bf0026de7cf7cbc6748a528254 | [
"BSD-3-Clause"
] | 37 | 2019-03-03T16:18:49.000Z | 2022-03-24T10:39:51.000Z | #include <iostream>
#include <string>
#include "expression.hpp"
#include "kineticrewriter.hpp"
#include "parser.hpp"
#include "alg_collect.hpp"
#include "common.hpp"
#include "expr_expand.hpp"
expr_list_type& statements(Expression *e) {
if (e) {
if (auto block = e->is_block()) {
return block-... | 29.651786 | 74 | 0.552243 | kanzl |
924eb6611f6d5a383f9a0e27dada734eb9ee7b17 | 713 | cpp | C++ | sauce/core/collections/abstractions/strange__queue_a.cpp | oneish/strange | e6c47eca5738dd98f4e09ee5c0bb820146e8b48f | [
"Apache-2.0"
] | null | null | null | sauce/core/collections/abstractions/strange__queue_a.cpp | oneish/strange | e6c47eca5738dd98f4e09ee5c0bb820146e8b48f | [
"Apache-2.0"
] | null | null | null | sauce/core/collections/abstractions/strange__queue_a.cpp | oneish/strange | e6c47eca5738dd98f4e09ee5c0bb820146e8b48f | [
"Apache-2.0"
] | null | null | null | #include "../../strange__core.h"
namespace strange
{
template <typename element_d>
var<symbol_a> queue_a<element_d>::cat(con<> const& me)
{
static auto r = sym("<strange::queue>"); //TODO cat
return r;
}
template <typename element_d>
typename queue_a<element_d>::creator_fp queue_a<element_d>::creator(con<sy... | 20.371429 | 96 | 0.667602 | oneish |
924f78caafafaacfd4d8d9a754dfce0594908a0a | 596 | hpp | C++ | test/src/Algorithm/NoneOf.hpp | changjurhee/CppML | 6d4cc6d0dd2fa3055823f191dc7fe953e4966fc5 | [
"MIT"
] | 48 | 2019-05-14T10:07:08.000Z | 2021-04-08T08:26:20.000Z | test/src/Algorithm/NoneOf.hpp | changjurhee/CppML | 6d4cc6d0dd2fa3055823f191dc7fe953e4966fc5 | [
"MIT"
] | null | null | null | test/src/Algorithm/NoneOf.hpp | changjurhee/CppML | 6d4cc6d0dd2fa3055823f191dc7fe953e4966fc5 | [
"MIT"
] | 4 | 2019-11-18T15:35:32.000Z | 2021-12-02T05:23:04.000Z | #include "CppML/CppML.hpp"
namespace NoneOfTest {
template <typename T> using Predicate = std::is_class<T>;
template <typename T> struct R {};
struct Type0 {};
struct Type1 {};
void run() {
{
using T = ml::f<ml::NoneOf<ml::F<Predicate>, ml::F<R>>, int, char, Type0>;
static_assert(std::is_same<T, R<ml::Bool<f... | 28.380952 | 78 | 0.597315 | changjurhee |
9254c035c212013bc6916d0a329190d8981cec1a | 1,287 | cpp | C++ | Flims 2019/Flims Contest Friday/Icebreaker/main.cpp | wdjpng/soi | dd565587ae30985676f7f374093ec0687436b881 | [
"MIT"
] | null | null | null | Flims 2019/Flims Contest Friday/Icebreaker/main.cpp | wdjpng/soi | dd565587ae30985676f7f374093ec0687436b881 | [
"MIT"
] | null | null | null | Flims 2019/Flims Contest Friday/Icebreaker/main.cpp | wdjpng/soi | dd565587ae30985676f7f374093ec0687436b881 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define int long long
using namespace std;
signed main() {
// Turn off synchronization between cin/cout and scanf/printf
ios_base::sync_with_stdio(false);
// Disable automatic flush of cout when reading from cin cin.tie(0);
cin.tie(0);
int n, groups;
cin >> n >> group... | 25.235294 | 72 | 0.440559 | wdjpng |
92553a8f958ed44a6481a91f1184e2bc0f73d132 | 3,014 | cpp | C++ | lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm.cpp | jessicadavies-intel/llvm | 4236bbba4c562a1355e75fa6d237b7c6b15a3193 | [
"Apache-2.0"
] | 1 | 2022-01-06T15:44:48.000Z | 2022-01-06T15:44:48.000Z | lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm.cpp | jessicadavies-intel/llvm | 4236bbba4c562a1355e75fa6d237b7c6b15a3193 | [
"Apache-2.0"
] | 2 | 2019-06-27T00:36:28.000Z | 2021-06-29T20:05:03.000Z | lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm.cpp | kbobrovs/llvm | b57c6bf3b16e6d3f6c052ba9ba3616a24e0beae5 | [
"Apache-2.0"
] | null | null | null | //===-- RegisterContextPOSIX_arm.cpp --------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 30.444444 | 80 | 0.748507 | jessicadavies-intel |
9256d552a8fc7886c210b2b48a985722d598b601 | 666 | hpp | C++ | z/util/regex/rgx.hpp | ZacharyWesterman/zLibraries | cbc6a5f4a6cce7d382906eb1754f627b5df1cc1d | [
"MIT"
] | null | null | null | z/util/regex/rgx.hpp | ZacharyWesterman/zLibraries | cbc6a5f4a6cce7d382906eb1754f627b5df1cc1d | [
"MIT"
] | 12 | 2022-01-09T04:05:56.000Z | 2022-01-16T04:50:52.000Z | z/util/regex/rgx.hpp | ZacharyWesterman/zLibraries | cbc6a5f4a6cce7d382906eb1754f627b5df1cc1d | [
"MIT"
] | 1 | 2021-01-30T01:19:02.000Z | 2021-01-30T01:19:02.000Z | #pragma once
/**
* \file z/util/regex/rgx.hpp
* \namespace z::util::rgx
* \brief Namespace containing all regex rules for the sake of organization.
**/
#include "rules/alpha.hpp"
#include "rules/alnum.hpp"
#include "rules/andlist.hpp"
#include "rules/anything.hpp"
#include "rules/begin.hpp"
#include "rules/boundary... | 25.615385 | 76 | 0.738739 | ZacharyWesterman |
925be2325232508739c27e2f3f2acdb423c2d297 | 517 | cpp | C++ | perm/remoteExec.cpp | cationstudio/arma-3-life-management | e74aa843222e612d7b2435cc9a37d0c515d82b47 | [
"MIT"
] | null | null | null | perm/remoteExec.cpp | cationstudio/arma-3-life-management | e74aa843222e612d7b2435cc9a37d0c515d82b47 | [
"MIT"
] | null | null | null | perm/remoteExec.cpp | cationstudio/arma-3-life-management | e74aa843222e612d7b2435cc9a37d0c515d82b47 | [
"MIT"
] | null | null | null | /*
File: remoteExec.cpp
Author: Julian Bauer ([email protected])
Description:
Remote exec config file for management system.
*/
class cat_perm_fnc_getInfos {
allowedTargets=2;
};
class cat_perm_fnc_updateRank {
allowedTargets=2;
};
class cat_perm_fnc_getInfosHC {
allowedTargets... | 20.68 | 56 | 0.750484 | cationstudio |
925ca1c942da4971f72c6c38f301070e283e4934 | 614 | hpp | C++ | include/lsfml/resource_text.hpp | Oberon00/lsfml | c5440216c408234a856e59044addc7e6f6bd99b3 | [
"BSD-2-Clause"
] | 5 | 2015-02-21T23:28:39.000Z | 2017-01-04T10:04:45.000Z | include/lsfml/resource_text.hpp | Oberon00/lsfml | c5440216c408234a856e59044addc7e6f6bd99b3 | [
"BSD-2-Clause"
] | null | null | null | include/lsfml/resource_text.hpp | Oberon00/lsfml | c5440216c408234a856e59044addc7e6f6bd99b3 | [
"BSD-2-Clause"
] | null | null | null | // Part of the LSFML library -- Copyright (c) Christian Neumüller 2015
// This file is subject to the terms of the BSD 2-Clause License.
// See LICENSE.txt or http://opensource.org/licenses/BSD-2-Clause
#ifndef LSFML_RESOURCE_TEXT_HPP_INCLUDED
#define LSFML_RESOURCE_TEXT_HPP_INCLUDED
#include <lsfml/resource_media.hp... | 25.583333 | 70 | 0.763844 | Oberon00 |
1787ed14d3818441f867030aca7213c26cfd5fb6 | 2,634 | hpp | C++ | Transport-Guide-CPP/Guide/Route/RoutesMap.hpp | Cheshulko/Transport-Guide-CPP | 84d8e447ecf45d1f6f7598ef773b70d6611413e8 | [
"MIT"
] | null | null | null | Transport-Guide-CPP/Guide/Route/RoutesMap.hpp | Cheshulko/Transport-Guide-CPP | 84d8e447ecf45d1f6f7598ef773b70d6611413e8 | [
"MIT"
] | null | null | null | Transport-Guide-CPP/Guide/Route/RoutesMap.hpp | Cheshulko/Transport-Guide-CPP | 84d8e447ecf45d1f6f7598ef773b70d6611413e8 | [
"MIT"
] | null | null | null | //
// RoutesMap.hpp
// transportnyi-spravochnik
//
// Created by Mykyta Cheshulko on 02.07.2020.
// Copyright © 2020 Mykyta Cheshulko. All rights reserved.
//
#ifndef RoutesMap_hpp
#define RoutesMap_hpp
#include "Route.hpp"
#include "Stop.hpp"
#include "DirectedWeightedGraph.hpp"
#include "Router.hpp"
#include ... | 27.4375 | 100 | 0.645406 | Cheshulko |
17971ac9b543b8d878817783d80d200a9d41c8f9 | 11,146 | hpp | C++ | CaWE/MapEditor/ObserverPattern.hpp | dns/Cafu | 77b34014cc7493d6015db7d674439fe8c23f6493 | [
"MIT"
] | 3 | 2020-04-11T13:00:31.000Z | 2020-12-07T03:19:10.000Z | CaWE/MapEditor/ObserverPattern.hpp | DNS/Cafu | 77b34014cc7493d6015db7d674439fe8c23f6493 | [
"MIT"
] | null | null | null | CaWE/MapEditor/ObserverPattern.hpp | DNS/Cafu | 77b34014cc7493d6015db7d674439fe8c23f6493 | [
"MIT"
] | 1 | 2020-04-11T13:00:04.000Z | 2020-04-11T13:00:04.000Z | /*
Cafu Engine, http://www.cafu.de/
Copyright (c) Carsten Fuchs and other contributors.
This project is licensed under the terms of the MIT license.
*/
#ifndef CAFU_OBSERVER_PATTERN_HPP_INCLUDED
#define CAFU_OBSERVER_PATTERN_HPP_INCLUDED
/// \file
/// This file provides the classes for the Observer pattern as describ... | 53.845411 | 177 | 0.679795 | dns |
179a3912a5ee10485fb2b720edeb71cc6cbdce99 | 5,354 | cpp | C++ | src/rfx/application/Window.cpp | rfruesmer/rfx | 96c15a11ee8e2192c9d2ff233924eee884835f17 | [
"MIT"
] | null | null | null | src/rfx/application/Window.cpp | rfruesmer/rfx | 96c15a11ee8e2192c9d2ff233924eee884835f17 | [
"MIT"
] | null | null | null | src/rfx/application/Window.cpp | rfruesmer/rfx | 96c15a11ee8e2192c9d2ff233924eee884835f17 | [
"MIT"
] | null | null | null | #include "rfx/pch.h"
#include "rfx/application/Window.h"
#include <rfx/common/Algorithm.h>
#ifdef _WINDOWS
#define GLFW_EXPOSE_NATIVE_WIN32
#include <GLFW/glfw3native.h>
#endif // _WINDOWS
using namespace rfx;
using namespace std;
// -----------------------------------------------------------------------------------... | 33.254658 | 120 | 0.432013 | rfruesmer |
179d24ecf183dab489c1eb0f50bda30091244204 | 54,032 | cpp | C++ | src/imaging/ossimImageChain.cpp | vladislav-horbatiuk/ossim | 82417ad868fac022672335e1684bdd91d662c18c | [
"MIT"
] | 251 | 2015-10-20T09:08:11.000Z | 2022-03-22T18:16:38.000Z | src/imaging/ossimImageChain.cpp | vladislav-horbatiuk/ossim | 82417ad868fac022672335e1684bdd91d662c18c | [
"MIT"
] | 73 | 2015-11-02T17:12:36.000Z | 2021-11-15T17:41:47.000Z | src/imaging/ossimImageChain.cpp | vladislav-horbatiuk/ossim | 82417ad868fac022672335e1684bdd91d662c18c | [
"MIT"
] | 146 | 2015-10-15T16:00:15.000Z | 2022-03-22T12:37:14.000Z | //*******************************************************************
// Copyright (C) 2000 ImageLinks Inc.
//
// License: LGPL
//
// See LICENSE.txt file in the top level directory for more details.
//
// Author: Garrett Potts
//
//*************************************************************************
// $Id: os... | 29.397171 | 146 | 0.56548 | vladislav-horbatiuk |
17a3497f4476a51f14d68b4a6844f65d212f964d | 10,281 | cpp | C++ | test/image_threshold_to_zero_cts.cpp | daemyung/vps | b031151e42fb355446bb4e207b74e65eb0e4b9ac | [
"MIT"
] | null | null | null | test/image_threshold_to_zero_cts.cpp | daemyung/vps | b031151e42fb355446bb4e207b74e65eb0e4b9ac | [
"MIT"
] | null | null | null | test/image_threshold_to_zero_cts.cpp | daemyung/vps | b031151e42fb355446bb4e207b74e65eb0e4b9ac | [
"MIT"
] | null | null | null | //
// This file is part of the "vps" project
// See "LICENSE" for license information.
//
#include <doctest.h>
#include <vps.h>
#define VMA_IMPLEMENTATION
#include <vk_mem_alloc.h>
#define STB_IMAGE_IMPLEMENTATION
#include <stb_image.h>
#define STB_IMAGE_WRITE_IMPLEMENTATION
#include <stb_image_write.h>
#include <ios... | 29.458453 | 146 | 0.744383 | daemyung |
17a387e83243244c68727d5b43f0490e257a98f1 | 5,425 | cpp | C++ | TileServer und Tiles/threadfilereaders.cpp | andr1312e/Russia-Tiles-Server | c1d596b84e22c170ba0f795ed6e2bfb80167eeb6 | [
"Unlicense"
] | null | null | null | TileServer und Tiles/threadfilereaders.cpp | andr1312e/Russia-Tiles-Server | c1d596b84e22c170ba0f795ed6e2bfb80167eeb6 | [
"Unlicense"
] | null | null | null | TileServer und Tiles/threadfilereaders.cpp | andr1312e/Russia-Tiles-Server | c1d596b84e22c170ba0f795ed6e2bfb80167eeb6 | [
"Unlicense"
] | null | null | null | #include "threadfilereaders.h"
ThreadImageRotator::ThreadImageRotator(const QString *pathToSourceSvg,const QString *pathToRendedImage,const QString *fileType, const QString *slash, QObject *parent)
: QObject(parent)
, m_timer(new QTimer(this))
, m_imageRotatorHash(new QHash<QThread*, ImageRotator*>())
... | 36.409396 | 166 | 0.634101 | andr1312e |
17ab7dcda5ad069ac93417ade4b86295cf14ff6c | 3,055 | cpp | C++ | code/opengl.cpp | elvismd/tanksgame | 8c2c9daa9963b9d5a5e16a8515bd4c3e7d231799 | [
"MIT"
] | null | null | null | code/opengl.cpp | elvismd/tanksgame | 8c2c9daa9963b9d5a5e16a8515bd4c3e7d231799 | [
"MIT"
] | null | null | null | code/opengl.cpp | elvismd/tanksgame | 8c2c9daa9963b9d5a5e16a8515bd4c3e7d231799 | [
"MIT"
] | null | null | null | #include "opengl.h"
#include "logger.h"
#define CHECK_GL(...) check_gl_error(__FILE__, __LINE__);
int check_gl_error(char * file, int line)
{
GLuint err = glGetError();
if (err > 0)
{
log_warning("GL Error - file:%s line: %d error: %d", file, line, err);
switch(err)
{
case GL_INVALID_ENUM: log_warning... | 56.574074 | 356 | 0.762029 | elvismd |
17ada2e487cfb137c6cf76c9121d18e063a40fb9 | 29,878 | hpp | C++ | include/dca/phys/dca_step/cluster_solver/ctaux/accumulator/tp/accumulator_nonlocal_chi.hpp | yingwaili/DCA | 31c298a1831f90daf62ea8bb6b683229513d7c08 | [
"BSD-3-Clause"
] | null | null | null | include/dca/phys/dca_step/cluster_solver/ctaux/accumulator/tp/accumulator_nonlocal_chi.hpp | yingwaili/DCA | 31c298a1831f90daf62ea8bb6b683229513d7c08 | [
"BSD-3-Clause"
] | null | null | null | include/dca/phys/dca_step/cluster_solver/ctaux/accumulator/tp/accumulator_nonlocal_chi.hpp | yingwaili/DCA | 31c298a1831f90daf62ea8bb6b683229513d7c08 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (C) 2018 ETH Zurich
// Copyright (C) 2018 UT-Battelle, LLC
// All rights reserved.
//
// See LICENSE for terms of usage.
// See CITATION.md for citation guidelines, if DCA++ is used for scientific publications.
//
// Author: Peter Staar ([email protected])
//
// This class computes the nonlocal \f$\chi(k_... | 41.041209 | 112 | 0.651483 | yingwaili |
17af2153521afd985ec8b8a9d34f7ba5fcd12d90 | 1,240 | hpp | C++ | include/tracker/MarkerFilter.hpp | anqixu/ftag2 | f77c0c0960a1ed44cc8723fd6c5320b7bb256a68 | [
"BSD-2-Clause"
] | 5 | 2019-08-16T07:04:32.000Z | 2022-03-31T11:02:09.000Z | include/tracker/MarkerFilter.hpp | anqixu/ftag2 | f77c0c0960a1ed44cc8723fd6c5320b7bb256a68 | [
"BSD-2-Clause"
] | null | null | null | include/tracker/MarkerFilter.hpp | anqixu/ftag2 | f77c0c0960a1ed44cc8723fd6c5320b7bb256a68 | [
"BSD-2-Clause"
] | 1 | 2021-12-09T21:05:56.000Z | 2021-12-09T21:05:56.000Z | /*
* MarkerFilter.hpp
*
* Created on: Mar 4, 2014
* Author: dacocp
*/
#ifndef MARKERFILTER_HPP_
#define MARKERFILTER_HPP_
#include "common/FTag2.hpp"
#include "tracker/PayloadFilter.hpp"
#include "detector/FTag2Detector.hpp"
#include "tracker/Kalman.hpp"
using namespace std;
class MarkerFilter {
private... | 26.956522 | 115 | 0.762903 | anqixu |
17b1fb67d0a3acfb9257e63bafdd5fb33d5d3dca | 728 | cpp | C++ | GEARBOX/res/scripts/TestScript.cpp | AndrewRichards-Code/GEAR_CORE | 4d4e77bf643dc9b98de9f38445eae690290e1895 | [
"MIT"
] | null | null | null | GEARBOX/res/scripts/TestScript.cpp | AndrewRichards-Code/GEAR_CORE | 4d4e77bf643dc9b98de9f38445eae690290e1895 | [
"MIT"
] | null | null | null | GEARBOX/res/scripts/TestScript.cpp | AndrewRichards-Code/GEAR_CORE | 4d4e77bf643dc9b98de9f38445eae690290e1895 | [
"MIT"
] | null | null | null | #include "Scene/INativeScript.h"
using namespace gear;
using namespace scene;
class TestScript : public INativeScript
{
public:
TestScript() = default;
~TestScript() = default;
bool first = true;
mars::float3 initPos;
void OnCreate()
{
}
void OnDestroy()
{
objects::Transform& transform = GetEntity().Get... | 18.666667 | 91 | 0.715659 | AndrewRichards-Code |
17b468aaa75a8a0bc536f24c3af4f66cfe0edc63 | 2,860 | cpp | C++ | src/vgui2/src/MessageListener.cpp | DeadZoneLuna/csso-src | 6c978ea304ee2df3796bc9c0d2916bac550050d5 | [
"Unlicense"
] | 4 | 2021-10-03T05:16:55.000Z | 2021-12-28T16:49:27.000Z | src/vgui2/src/MessageListener.cpp | cafeed28/what | 08e51d077f0eae50afe3b592543ffa07538126f5 | [
"Unlicense"
] | null | null | null | src/vgui2/src/MessageListener.cpp | cafeed28/what | 08e51d077f0eae50afe3b592543ffa07538126f5 | [
"Unlicense"
] | 3 | 2022-02-02T18:09:58.000Z | 2022-03-06T18:54:39.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#include "IMessageListener.h"
#include "VPanel.h"
#include "vgui_internal.h"
#include <KeyValues.h>
#include "vgui/IClient... | 25.535714 | 115 | 0.597203 | DeadZoneLuna |
17b5f7ec7dd976b40e6f84cbfc8bff2cfbe49bfb | 21,324 | cpp | C++ | Utils/spawn-wthttpd.cpp | NuLL3rr0r/blog-subscription-service | 4458c0679229ad20ee446e1d1f7c58d1aa04b64d | [
"MIT"
] | 6 | 2016-01-30T03:25:00.000Z | 2022-01-23T23:29:22.000Z | Utils/spawn-wthttpd.cpp | NuLL3rr0r/blog-subscription-service | 4458c0679229ad20ee446e1d1f7c58d1aa04b64d | [
"MIT"
] | 1 | 2018-09-01T09:46:34.000Z | 2019-01-12T15:05:50.000Z | Utils/spawn-wthttpd.cpp | NuLL3rr0r/blog-subscription-service | 4458c0679229ad20ee446e1d1f7c58d1aa04b64d | [
"MIT"
] | 6 | 2017-01-05T14:55:02.000Z | 2021-03-30T14:05:10.000Z | /**
* @file
* @author Mamadou Babaei <[email protected]>
* @version 0.1.0
*
* @section LICENSE
*
* (The MIT License)
*
* Copyright (c) 2016 - 2021 Mamadou Babaei
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwa... | 46.356522 | 124 | 0.422998 | NuLL3rr0r |
17b9a3a619dc2f0ce902205a7086ac9fd2a5d60d | 5,969 | cpp | C++ | src/mongo/db/fts/fts_search.cpp | nleite/mongo | 1a1b6b0aaeefbae06942867e4dcf55d00d42afe0 | [
"Apache-2.0"
] | 24 | 2015-10-15T00:03:57.000Z | 2021-04-25T18:21:31.000Z | src/mongo/db/fts/fts_search.cpp | nleite/mongo | 1a1b6b0aaeefbae06942867e4dcf55d00d42afe0 | [
"Apache-2.0"
] | 1 | 2015-06-02T12:19:19.000Z | 2015-06-02T12:19:19.000Z | src/mongo/db/fts/fts_search.cpp | nleite/mongo | 1a1b6b0aaeefbae06942867e4dcf55d00d42afe0 | [
"Apache-2.0"
] | 3 | 2017-07-26T11:17:11.000Z | 2021-11-30T00:11:32.000Z | // fts_search.cpp
/**
* Copyright (C) 2012 10gen Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it wi... | 32.796703 | 100 | 0.501424 | nleite |
17bd5ed31ba7debeab07f15da466c585475700eb | 4,364 | cpp | C++ | CalFp02-/src/Sudoku.cpp | GuilhermeJSilva/CAL-TP | 5e9dac1c56370a82d16f1633f03ec6302d81652d | [
"MIT"
] | null | null | null | CalFp02-/src/Sudoku.cpp | GuilhermeJSilva/CAL-TP | 5e9dac1c56370a82d16f1633f03ec6302d81652d | [
"MIT"
] | null | null | null | CalFp02-/src/Sudoku.cpp | GuilhermeJSilva/CAL-TP | 5e9dac1c56370a82d16f1633f03ec6302d81652d | [
"MIT"
] | null | null | null | /*
* Sudoku.cpp
*
*/
#include "Sudoku.h"
#include <vector>
#include <string.h>
#include <climits>
/** Inicia um Sudoku vazio.
*/
Sudoku::Sudoku()
{
this->initialize();
this->n_solucoes = 0;
this->countFilled = 0;
}
/**
* Inicia um Sudoku com um conte�do inicial.
* Lan�a excep��o IllegalArgumentException se ... | 19.056769 | 91 | 0.555454 | GuilhermeJSilva |
17c0db6e2c3ccbf82be67c5a1f0f9e818cd28de9 | 1,001 | hpp | C++ | Type.hpp | Racinettee/Inked | 231ba994772d0847b19df5b1da2abaed113d58d6 | [
"MIT"
] | null | null | null | Type.hpp | Racinettee/Inked | 231ba994772d0847b19df5b1da2abaed113d58d6 | [
"MIT"
] | null | null | null | Type.hpp | Racinettee/Inked | 231ba994772d0847b19df5b1da2abaed113d58d6 | [
"MIT"
] | null | null | null | #ifndef _TYPE_HPP_
#define _TYPE_HPP_
#include "ICompilerEngine.hpp"
class Type
{
std::string name;
llvm::Type* type;
public:
const std::string& Name()
{
return name;
}
const llvm::Type* Type()
{
return type;
}
std::size_t SizeBytes() const
{
// figure out... | 25.025 | 107 | 0.551449 | Racinettee |
17c2f4f24fc2ccf0616b763a9acf0ff599e21539 | 1,996 | cpp | C++ | c03/ex3_16.cpp | qzhang0/CppPrimer | 315ef879bd4d3b51d594e33b049adee0d47e4c11 | [
"MIT"
] | null | null | null | c03/ex3_16.cpp | qzhang0/CppPrimer | 315ef879bd4d3b51d594e33b049adee0d47e4c11 | [
"MIT"
] | null | null | null | c03/ex3_16.cpp | qzhang0/CppPrimer | 315ef879bd4d3b51d594e33b049adee0d47e4c11 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <vector>
using std::cout;
using std::cin;
using std::endl;
using std::string;
using std::vector;
int main() {
vector<int> v1; // size:0, no values.
vector<int> v2(10); // size:10, value:0
vector<int> v3(10, 42); // size:10, ... | 25.589744 | 60 | 0.40982 | qzhang0 |
17c5e1257d39c35c1542de3d5e0f8dfb670382b5 | 1,346 | hh | C++ | src/cxx/lib/layout/cppunit/testBarcodeCollisionDetector.hh | sbooeshaghi/bcl2fastq | 3f39a24cd743fa71fba9b7dcf62e5d33cea8272d | [
"BSD-3-Clause"
] | 5 | 2021-06-07T12:36:11.000Z | 2022-02-08T09:49:02.000Z | src/cxx/lib/layout/cppunit/testBarcodeCollisionDetector.hh | sbooeshaghi/bcl2fastq | 3f39a24cd743fa71fba9b7dcf62e5d33cea8272d | [
"BSD-3-Clause"
] | 1 | 2022-03-01T23:55:57.000Z | 2022-03-01T23:57:15.000Z | src/cxx/lib/layout/cppunit/testBarcodeCollisionDetector.hh | sbooeshaghi/bcl2fastq | 3f39a24cd743fa71fba9b7dcf62e5d33cea8272d | [
"BSD-3-Clause"
] | null | null | null | /**
* BCL to FASTQ file converter
* Copyright (c) 2007-2017 Illumina, Inc.
*
* This software is covered by the accompanying EULA
* and certain third party copyright/licenses, and any user of this
* source file is bound by the terms therein.
*
* \file barcodeCollisionDetector.hh
*
* \brief BarcodeCollisionDete... | 25.884615 | 67 | 0.767459 | sbooeshaghi |
17c84e975dc7f786a073022412fcc6f6169550d7 | 35,778 | cpp | C++ | src/RenderSystem/Vulkan/Vulkan.cpp | przemyslaw-szymanski/vke | 1d8fb139e0e995e330db6b8873dfc49463ec312c | [
"MIT"
] | 1 | 2018-01-06T04:44:36.000Z | 2018-01-06T04:44:36.000Z | src/RenderSystem/Vulkan/Vulkan.cpp | przemyslaw-szymanski/vke | 1d8fb139e0e995e330db6b8873dfc49463ec312c | [
"MIT"
] | null | null | null | src/RenderSystem/Vulkan/Vulkan.cpp | przemyslaw-szymanski/vke | 1d8fb139e0e995e330db6b8873dfc49463ec312c | [
"MIT"
] | null | null | null | #include "RenderSystem/Vulkan/Vulkan.h"
#include "Core/Platform/CPlatform.h"
#include "Core/Utils/CLogger.h"
//#undef VKE_VK_FUNCTION
//#define VKE_VK_FUNCTION(_name) PFN_##_name _name
//#undef VK_EXPORTED_FUNCTION
//#undef VKE_ICD_GLOBAL
//#undef VKE_INSTANCE_ICD
//#undef VKE_DEVICE_ICD
//#define VK_EXPORTED_FUNCTION... | 40.656818 | 213 | 0.542764 | przemyslaw-szymanski |
17c8b1276609b9fd159b42401ccf7f84dada58ff | 539 | cpp | C++ | Leetcode/Practice/N-Repeated Element in Size 2N Array.cpp | coderanant/Competitive-Programming | 45076af7894251080ac616c9581fbf2dc49604af | [
"MIT"
] | 4 | 2019-06-04T11:03:38.000Z | 2020-06-19T23:37:32.000Z | Leetcode/Practice/N-Repeated Element in Size 2N Array.cpp | coderanant/Competitive-Programming | 45076af7894251080ac616c9581fbf2dc49604af | [
"MIT"
] | null | null | null | Leetcode/Practice/N-Repeated Element in Size 2N Array.cpp | coderanant/Competitive-Programming | 45076af7894251080ac616c9581fbf2dc49604af | [
"MIT"
] | null | null | null | /*coderanant*/
#define ll long long
#define f1(i,a,b) for(int i=a;i<b;i++)
#define f2(i,a,b) for(int i=a;i>=b;i--)
#define endl '\n'
#define pb push_back
#define gp " "
#define ff first
#define ss second
#define mp make_pair
const int mod=1000000007;
ll temp;
class Solution {
public:
int repeatedNTimes(vector<int>... | 18.586207 | 39 | 0.497217 | coderanant |
17c9c617f92aa763f28cf6945f5d1206b92c5b5a | 14,580 | cc | C++ | tests/mpi_particle_test.cc | fuatfurkany/mpm | d840c91f1f6ed1d164dec30029717dcfe9d30f0c | [
"MIT"
] | null | null | null | tests/mpi_particle_test.cc | fuatfurkany/mpm | d840c91f1f6ed1d164dec30029717dcfe9d30f0c | [
"MIT"
] | null | null | null | tests/mpi_particle_test.cc | fuatfurkany/mpm | d840c91f1f6ed1d164dec30029717dcfe9d30f0c | [
"MIT"
] | null | null | null | #include <limits>
#include "catch.hpp"
#include "data_types.h"
#include "hdf5_particle.h"
#include "material/material.h"
#include "mpi_datatypes.h"
#include "particle.h"
#ifdef USE_MPI
//! \brief Check particle class for 1D case
TEST_CASE("MPI HDF5 Particle is checked", "[particle][mpi][hdf5]") {
// Dimension
co... | 36.541353 | 79 | 0.615844 | fuatfurkany |
17d34e71d4614171110adbde4c5970176be21c73 | 2,130 | hpp | C++ | embedded/src/fsw/FCCode/MissionManager_a.hpp | CornellDataScience/self-driving-car | 449044840abdeed9f547a16cd192950e23ba189c | [
"MIT"
] | 3 | 2021-09-29T21:15:25.000Z | 2021-11-11T20:57:07.000Z | embedded/src/fsw/FCCode/MissionManager_a.hpp | CornellDataScience/self-driving-car | 449044840abdeed9f547a16cd192950e23ba189c | [
"MIT"
] | 44 | 2021-09-28T05:38:43.000Z | 2022-03-31T21:29:48.000Z | embedded/src/fsw/FCCode/MissionManager_a.hpp | CornellDataScience/self-driving-car | 449044840abdeed9f547a16cd192950e23ba189c | [
"MIT"
] | 1 | 2020-12-23T03:32:11.000Z | 2020-12-23T03:32:11.000Z | #ifndef MISSION_MANAGER_A_HPP_
#define MISSION_MANAGER_A_HPP_
#include "TimedControlTask.hpp"
#include "mission_mode_t.enum"
#include "adcs_mode_t.enum"
class MissionManager_a : public TimedControlTask<void> {
public:
MissionManager_a(StateFieldRegistry& registry, unsigned int offset);
void... | 31.791045 | 76 | 0.686385 | CornellDataScience |
17d744b490831419ed1ed3326f534eb3cbe53938 | 4,712 | cc | C++ | src/automaton/examples/network/node_prototype.cc | liberatix/automaton-core | 0e36bd5b616a308ea319a791b11f68df879f4571 | [
"MIT"
] | null | null | null | src/automaton/examples/network/node_prototype.cc | liberatix/automaton-core | 0e36bd5b616a308ea319a791b11f68df879f4571 | [
"MIT"
] | null | null | null | src/automaton/examples/network/node_prototype.cc | liberatix/automaton-core | 0e36bd5b616a308ea319a791b11f68df879f4571 | [
"MIT"
] | null | null | null | #include "automaton/examples/network/node_prototype.h"
#include "automaton/core/io/io.h"
namespace acn = automaton::core::network;
/// Node's connection handler
node::handler::handler(node* n): node_(n) {}
void node::handler::on_message_received(acn::connection* c, char* buffer,
uint32_t bytes_read, uint32_t id... | 30.597403 | 98 | 0.647071 | liberatix |
17d8c4394bf3d379ec772376c3523b82b649f910 | 739 | cxx | C++ | cgv/gui/gui_creator.cxx | IXDdev/IXD_engine | 497c1fee90e486c19debc5347b740b56b1fef416 | [
"BSD-3-Clause"
] | 1 | 2020-07-26T10:54:41.000Z | 2020-07-26T10:54:41.000Z | cgv/gui/gui_creator.cxx | IXDdev/IXD_engine | 497c1fee90e486c19debc5347b740b56b1fef416 | [
"BSD-3-Clause"
] | null | null | null | cgv/gui/gui_creator.cxx | IXDdev/IXD_engine | 497c1fee90e486c19debc5347b740b56b1fef416 | [
"BSD-3-Clause"
] | null | null | null | #include "gui_creator.h"
#include <vector>
namespace cgv {
namespace gui {
std::vector<gui_creator*>& ref_gui_creators()
{
static std::vector<gui_creator*> creators;
return creators;
}
/// register a gui creator
void register_gui_creator(gui_creator* gc, const char* creator_name)
{
ref_gui_creators().push_back(... | 23.09375 | 91 | 0.728011 | IXDdev |
17db4def8352c85ce6e424972c4388b60871d83f | 6,356 | cpp | C++ | src/LauncherSystem.cpp | OlivierAlgoet/angry-bricks-project | 64b368bd623eadcd814b4f27bb19e02388f8799f | [
"MIT"
] | null | null | null | src/LauncherSystem.cpp | OlivierAlgoet/angry-bricks-project | 64b368bd623eadcd814b4f27bb19e02388f8799f | [
"MIT"
] | null | null | null | src/LauncherSystem.cpp | OlivierAlgoet/angry-bricks-project | 64b368bd623eadcd814b4f27bb19e02388f8799f | [
"MIT"
] | null | null | null | #include "LauncherSystem.h"
void LauncherSystem::Update(){
std::set<Entity*> current_missile=engine_.GetEntityStream().WithTag(Component::Tag::CURRENTMISSILE); // ask for sprites, all entities containing a sprite have to use a scaled bitmap
if (current_missile.empty()){
context_.changing=true;
... | 39.234568 | 185 | 0.584172 | OlivierAlgoet |
17db87f2a2c464be293923a5e29a43225df7691c | 2,092 | cc | C++ | test/test_json/test_json.cc | MUCZ/meowings | 5c691f0a2fb606dad2ddda44f946a94ff8ba3212 | [
"Apache-2.0"
] | null | null | null | test/test_json/test_json.cc | MUCZ/meowings | 5c691f0a2fb606dad2ddda44f946a94ff8ba3212 | [
"Apache-2.0"
] | null | null | null | test/test_json/test_json.cc | MUCZ/meowings | 5c691f0a2fb606dad2ddda44f946a94ff8ba3212 | [
"Apache-2.0"
] | null | null | null | #include "json.hpp"
#include <iostream>
#include <vector>
#include <map>
#include <string>
#include <exception>
using json = nlohmann::json;
using namespace std;
int main(){
// 序列化
// 普通数据序列化
json js;
js["id"] = {1,2,3,4,5};
js["name"] = "zhang san";
js["msg"]["zhang san"] = "hello world";
... | 23.244444 | 88 | 0.526769 | MUCZ |
17e09d95d39bcd1b148b39c9853cafe1a89aa818 | 3,361 | cpp | C++ | Source/AllProjects/Drivers/LutronHW/Client/LutronHWC_Data.cpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 51 | 2020-12-26T18:17:16.000Z | 2022-03-15T04:29:35.000Z | Source/AllProjects/Drivers/LutronHW/Client/LutronHWC_Data.cpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | null | null | null | Source/AllProjects/Drivers/LutronHW/Client/LutronHWC_Data.cpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 4 | 2020-12-28T07:24:39.000Z | 2021-12-29T12:09:37.000Z | // ----------------------------------------------------------------------------
// FILE: LutronHWC_Data.cpp
// DATE: Fri, Feb 12 21:14:17 2021 -0500
//
// This file was generated by the Charmed Quark CIDIDL compiler. Do not make
// changes by hand, because they will be lost if the file is regenerated.
// ----------... | 36.532609 | 121 | 0.670336 | MarkStega |
17e23fd60070009ef647e04a73074839c68147a6 | 534 | cpp | C++ | pool_and_pad/padding.cpp | navneel99/image_processing_library | c4a13be8a9c7b2d7b1f6373bc6b3707d0d01be76 | [
"MIT"
] | null | null | null | pool_and_pad/padding.cpp | navneel99/image_processing_library | c4a13be8a9c7b2d7b1f6373bc6b3707d0d01be76 | [
"MIT"
] | null | null | null | pool_and_pad/padding.cpp | navneel99/image_processing_library | c4a13be8a9c7b2d7b1f6373bc6b3707d0d01be76 | [
"MIT"
] | null | null | null | #include "padding.hpp"
vector<vector<float> > Padding(vector<vector<float> > mat, int pad){
for (int j = 0;j<mat.size();j++){
vector<float> row = mat.at(j);
for (int i = 0; i<pad;i++){
row.push_back(0);
row.emplace(row.begin(),0);
}
mat[j] = row;
}
int... | 29.666667 | 68 | 0.533708 | navneel99 |
17ebe2608250381839b77ac8344ca576667f996b | 127 | cpp | C++ | Sources/Game/Application/main.cpp | vit3k/entity_system | 5b00804bb772229cab90ea7de589faced98bc001 | [
"MIT"
] | null | null | null | Sources/Game/Application/main.cpp | vit3k/entity_system | 5b00804bb772229cab90ea7de589faced98bc001 | [
"MIT"
] | null | null | null | Sources/Game/Application/main.cpp | vit3k/entity_system | 5b00804bb772229cab90ea7de589faced98bc001 | [
"MIT"
] | null | null | null | #include "Application.h"
int main()
{
Application& app = Application::Instance();
app.Init();
app.Loop();
return 0;
} | 12.7 | 44 | 0.629921 | vit3k |
17f1536e10412892a011263ed09a218538630109 | 24,531 | cpp | C++ | tket/src/Circuit/macro_manipulation.cpp | CQCL/tket | 3f3d7c24d9a6c9cfd85966c13dcccc8a13f92adb | [
"Apache-2.0"
] | 104 | 2021-09-15T08:16:25.000Z | 2022-03-28T21:19:00.000Z | tket/src/Circuit/macro_manipulation.cpp | CQCL/tket | 3f3d7c24d9a6c9cfd85966c13dcccc8a13f92adb | [
"Apache-2.0"
] | 109 | 2021-09-16T17:14:22.000Z | 2022-03-29T06:48:40.000Z | tket/src/Circuit/macro_manipulation.cpp | CQCL/tket | 3f3d7c24d9a6c9cfd85966c13dcccc8a13f92adb | [
"Apache-2.0"
] | 8 | 2021-10-02T13:47:34.000Z | 2022-03-17T15:36:56.000Z | // Copyright 2019-2022 Cambridge Quantum Computing
//
// 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... | 34.453652 | 80 | 0.65244 | CQCL |
17fd471e10483d78274657e2999449917ac836c3 | 4,653 | cpp | C++ | patterns/mytreeFragmentLinux.cpp | bruennijs/ise.cppworkshop | c54a60ad3468f83aeb45b347657b3f246d7190cc | [
"MIT"
] | null | null | null | patterns/mytreeFragmentLinux.cpp | bruennijs/ise.cppworkshop | c54a60ad3468f83aeb45b347657b3f246d7190cc | [
"MIT"
] | null | null | null | patterns/mytreeFragmentLinux.cpp | bruennijs/ise.cppworkshop | c54a60ad3468f83aeb45b347657b3f246d7190cc | [
"MIT"
] | null | null | null | ///////////////////////////////////////////////////////////
// MYTREE Linuxvariante
#include <sys/types.h>
#include <dirent.h>
#include <string>
#include <list>
#include <iostream>
#include <algorithm>
using namespace std;
////////////////////////////////////////////
class Visitor
{
public:
Visi... | 19.227273 | 122 | 0.54395 | bruennijs |
17fe91610e2bbb02caa8236a9718cbece2f06806 | 3,164 | hpp | C++ | src/Xi-Core/include/Xi/Blob.hpp | ElSamaritan/blockchain-OLD | ca3422c8873613226db99b7e6735c5ea1fac9f1a | [
"Apache-2.0"
] | null | null | null | src/Xi-Core/include/Xi/Blob.hpp | ElSamaritan/blockchain-OLD | ca3422c8873613226db99b7e6735c5ea1fac9f1a | [
"Apache-2.0"
] | null | null | null | src/Xi-Core/include/Xi/Blob.hpp | ElSamaritan/blockchain-OLD | ca3422c8873613226db99b7e6735c5ea1fac9f1a | [
"Apache-2.0"
] | null | null | null | /* ============================================================================================== *
* *
* Galaxia Blockchain *
* ... | 56.5 | 113 | 0.395702 | ElSamaritan |
aa05d2501398c889ec0090075642b4fa59d4b7a7 | 2,082 | cpp | C++ | Game/src/game/BulletManager.cpp | franticsoftware/vlad-heavy-strike | a4da4df617e9ccd6ebd9819ad166d892924638ce | [
"MIT"
] | 3 | 2019-10-04T19:44:44.000Z | 2021-07-27T15:59:39.000Z | Game/src/game/BulletManager.cpp | franticsoftware/vlad-heavy-strike | a4da4df617e9ccd6ebd9819ad166d892924638ce | [
"MIT"
] | 1 | 2019-07-20T05:36:31.000Z | 2019-07-20T22:22:49.000Z | Game/src/game/BulletManager.cpp | aminere/vlad-heavy-strike | a4da4df617e9ccd6ebd9819ad166d892924638ce | [
"MIT"
] | null | null | null | /*
Amine Rehioui
Created: November 18th 2011
*/
#include "ShootTest.h"
#include "BulletManager.h"
#include "GameManager.h"
namespace shoot
{
DEFINE_OBJECT(BulletManager);
//! Constructor
BulletManager::BulletManager()
// properties
: m_BulletPoolSize(4096)
{
}
//! serializes the entity to/from a Prop... | 19.457944 | 91 | 0.653218 | franticsoftware |
aa0774141d71bc5d073660e069b33fb38c5f08f8 | 687 | hpp | C++ | src/util/handle.hpp | marvinwilliams/rantanplan | aadb4109a443a75881f610f45b710cd0532079fe | [
"MIT"
] | 3 | 2021-09-07T08:45:30.000Z | 2021-09-15T08:16:41.000Z | src/util/handle.hpp | marvinwilliams/rantanplan | aadb4109a443a75881f610f45b710cd0532079fe | [
"MIT"
] | null | null | null | src/util/handle.hpp | marvinwilliams/rantanplan | aadb4109a443a75881f610f45b710cd0532079fe | [
"MIT"
] | null | null | null | #ifndef HANDLE_HPP
#define HANDLE_HPP
namespace util {
/* This class is intended to only be instantiatable by the base and represents a
* pointer */
template <typename T, typename Base> class Handle {
public:
friend Base;
Handle() = default;
const T *get() { return p_; }
const Base *get_base() { return ba... | 20.818182 | 80 | 0.647744 | marvinwilliams |
aa0bd6d0f47af4c95f7f42945fb34176141d5494 | 4,413 | hpp | C++ | include/pcp/traits/point_traits.hpp | Q-Minh/octree | 0c3fd5a791d660b37461daf968a68ffb1c80b965 | [
"BSL-1.0"
] | 2 | 2021-03-10T09:57:45.000Z | 2021-04-13T21:19:57.000Z | include/pcp/traits/point_traits.hpp | Q-Minh/octree | 0c3fd5a791d660b37461daf968a68ffb1c80b965 | [
"BSL-1.0"
] | 22 | 2020-12-07T20:09:39.000Z | 2021-04-12T20:42:59.000Z | include/pcp/traits/point_traits.hpp | Q-Minh/octree | 0c3fd5a791d660b37461daf968a68ffb1c80b965 | [
"BSL-1.0"
] | null | null | null | #ifndef PCP_TRAITS_POINT_TRAITS_HPP
#define PCP_TRAITS_POINT_TRAITS_HPP
/**
* @file
* @ingroup traits
*/
#include <type_traits>
namespace pcp {
namespace traits {
/**
* @ingroup traits-geometry
* @brief
* PointView requirements:
* - coordinate_type type member
* - copy constructible
* - copy assignable
* ... | 28.470968 | 100 | 0.705189 | Q-Minh |
aa0c7e6891cfc4be9ee61d0bf1b89cdb595959cd | 5,952 | cpp | C++ | QuadratureAnalyserAnalyzer.cpp | Marcus10110/Quadrature-Saleae-Analyser | 384ae08811864ac80fd207e28e6de41fc52b8386 | [
"Apache-2.0"
] | 9 | 2015-03-23T20:05:22.000Z | 2020-12-06T04:50:53.000Z | QuadratureAnalyserAnalyzer.cpp | Marcus10110/Quadrature-Saleae-Analyser | 384ae08811864ac80fd207e28e6de41fc52b8386 | [
"Apache-2.0"
] | 1 | 2018-12-06T08:57:13.000Z | 2018-12-06T19:10:45.000Z | QuadratureAnalyserAnalyzer.cpp | Marcus10110/Quadrature-Saleae-Analyser | 384ae08811864ac80fd207e28e6de41fc52b8386 | [
"Apache-2.0"
] | 2 | 2018-12-05T22:17:40.000Z | 2019-11-03T12:11:33.000Z | /* Copyright 2011 Dirk-Willem van Gulik, All Rights Reserved.
* dirkx(at)webweaving(dot)org
*
* 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... | 28.075472 | 158 | 0.641633 | Marcus10110 |
aa0ed280387e135370d559b9ead9bb90c26b7b6a | 678 | cc | C++ | brightray/common/application_info_win.cc | SeanMercy/Pro1 | 43aa555d647d181265bde59570e2fdd7704cf83f | [
"MIT"
] | 7 | 2018-02-05T11:43:49.000Z | 2022-02-09T20:28:20.000Z | brightray/common/application_info_win.cc | SeanMercy/Pro1 | 43aa555d647d181265bde59570e2fdd7704cf83f | [
"MIT"
] | null | null | null | brightray/common/application_info_win.cc | SeanMercy/Pro1 | 43aa555d647d181265bde59570e2fdd7704cf83f | [
"MIT"
] | 2 | 2017-08-25T18:58:44.000Z | 2019-10-22T14:59:04.000Z | #include "brightray/common/application_info.h"
#include <memory>
#include "base/file_version_info.h"
#include "base/strings/utf_string_conversions.h"
namespace brightray {
std::string GetApplicationName() {
auto module = GetModuleHandle(nullptr);
std::unique_ptr<FileVersionInfo> info(
FileVersionInfo::Cre... | 27.12 | 63 | 0.769912 | SeanMercy |
aa10fa15812e90565409cc49a77918ccadec35b7 | 11,309 | cc | C++ | Controllers/Flatground/utils/funcs/kin/mex/LeftToeJoint_mex.cc | EngineeringIV/CASSIE_MPC | fcbf5559bfd11dbdbb241565585fa22ccdaa5499 | [
"BSD-3-Clause"
] | 61 | 2019-02-21T09:32:55.000Z | 2022-03-29T02:30:18.000Z | Controllers/Flatground/utils/funcs/kin/mex/LeftToeJoint_mex.cc | EngineeringIV/CASSIE_MPC | fcbf5559bfd11dbdbb241565585fa22ccdaa5499 | [
"BSD-3-Clause"
] | 3 | 2019-02-22T08:01:40.000Z | 2022-01-20T09:16:40.000Z | Controllers/Flatground/utils/funcs/kin/mex/LeftToeJoint_mex.cc | EngineeringIV/CASSIE_MPC | fcbf5559bfd11dbdbb241565585fa22ccdaa5499 | [
"BSD-3-Clause"
] | 28 | 2019-02-04T19:47:35.000Z | 2022-02-23T08:28:23.000Z | /*
* Automatically Generated from Mathematica.
* Mon 25 Jun 2018 14:53:24 GMT-04:00
*/
#ifdef MATLAB_MEX_FILE
#include <stdexcept>
#include <cmath>
/**
* Copied from Wolfram Mathematica C Definitions file mdefs.hpp
* Changed marcos to inline functions (Eric Cousineau)
*/
inline double Power(double x, double y) {... | 22.939148 | 354 | 0.646299 | EngineeringIV |
aa13e698baea8aaa85d1688784209c652df80ef9 | 1,517 | cpp | C++ | gwen/UnitTest/ComboBox.cpp | Oipo/GWork | 3dd70c090bf8708dd3e7b9cfbcb67163bb7166db | [
"MIT"
] | null | null | null | gwen/UnitTest/ComboBox.cpp | Oipo/GWork | 3dd70c090bf8708dd3e7b9cfbcb67163bb7166db | [
"MIT"
] | null | null | null | gwen/UnitTest/ComboBox.cpp | Oipo/GWork | 3dd70c090bf8708dd3e7b9cfbcb67163bb7166db | [
"MIT"
] | null | null | null | #include "Gwen/UnitTest/UnitTest.h"
#include "Gwen/Controls/ComboBox.h"
using namespace Gwen;
class ComboBox : public GUnit
{
public:
GWEN_CONTROL_INLINE(ComboBox, GUnit)
{
{
Gwen::Controls::ComboBox* combo = new Gwen::Controls::ComboBox(this);
combo->SetPos(50, 50);
... | 28.622642 | 81 | 0.523401 | Oipo |
aa15ddb1f5fab1254d31980991e9c27d436ac9b5 | 3,822 | cpp | C++ | client/client_query.cpp | RubenAGSilva/deneva | 538f18d296e926055e50cf819c6988a340105476 | [
"Apache-2.0"
] | 1 | 2021-12-15T12:31:18.000Z | 2021-12-15T12:31:18.000Z | client/client_query.cpp | RubenAGSilva/deneva | 538f18d296e926055e50cf819c6988a340105476 | [
"Apache-2.0"
] | null | null | null | client/client_query.cpp | RubenAGSilva/deneva | 538f18d296e926055e50cf819c6988a340105476 | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2016 Massachusetts Institute of Technology
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicab... | 29.627907 | 107 | 0.682889 | RubenAGSilva |
aa17c9640e398bf244ec15b8347076acc6d681d9 | 60,623 | cpp | C++ | src/inst_riscv_bit.cpp | msyksphinz/swimmer_riscv | 065cf3e0dcdcd00cd9bd976285a307d371253ba9 | [
"BSD-3-Clause"
] | 33 | 2015-08-23T02:45:07.000Z | 2019-11-06T23:34:51.000Z | src/inst_riscv_bit.cpp | msyksphinz-self/swimmer_riscv | 065cf3e0dcdcd00cd9bd976285a307d371253ba9 | [
"BSD-3-Clause"
] | 11 | 2015-10-11T15:52:42.000Z | 2019-09-20T14:30:35.000Z | src/inst_riscv_bit.cpp | msyksphinz/swimmer_riscv | 065cf3e0dcdcd00cd9bd976285a307d371253ba9 | [
"BSD-3-Clause"
] | 5 | 2015-02-14T10:07:44.000Z | 2019-09-20T06:37:38.000Z | /*
* Copyright (c) 2015, msyksphinz
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditi... | 32.418717 | 132 | 0.693994 | msyksphinz |
aa17ee08bdaa5f094a09f0682a73a05f8fca7537 | 1,153 | hpp | C++ | addons/modules/includes/moduleDeleteMarkerAttributes.hpp | Krzyciu/A3CS | b7144fc9089b5ded6e37cc1fad79b1c2879521be | [
"MIT"
] | 1 | 2020-06-07T00:45:49.000Z | 2020-06-07T00:45:49.000Z | addons/modules/includes/moduleDeleteMarkerAttributes.hpp | Krzyciu/A3CS | b7144fc9089b5ded6e37cc1fad79b1c2879521be | [
"MIT"
] | 27 | 2020-05-24T11:09:56.000Z | 2020-05-25T12:28:10.000Z | addons/modules/includes/moduleDeleteMarkerAttributes.hpp | Krzyciu/A3CS | b7144fc9089b5ded6e37cc1fad79b1c2879521be | [
"MIT"
] | 2 | 2020-05-31T08:52:45.000Z | 2021-04-16T23:16:37.000Z |
class GVAR(deleteMarkerSettingsSubCategory): GVAR(moduleSubCategory) {
displayName = CSTRING(Attributes_deleteMarkerSettingsSubCategory);
property = QGVAR(deleteMarkerSettingsSubCategory);
};
#ifndef MODULE_DELETEMARKER
#define DELETEMARKER_COND ((_this getVariable QQGVAR(deleteMarker)) isEqualTo true)
... | 32.027778 | 87 | 0.753686 | Krzyciu |
aa186fba4b7066a011e587db99253983e1b1cb0c | 3,630 | cpp | C++ | examples_oldgl_glfw/129_CubeGridEdit/main.cpp | mmer547/delfem2 | 4f4b28931c96467ac30948e6b3f83150ea530c92 | [
"MIT"
] | 1 | 2020-07-18T17:03:36.000Z | 2020-07-18T17:03:36.000Z | examples_oldgl_glfw/129_CubeGridEdit/main.cpp | mmer547/delfem2 | 4f4b28931c96467ac30948e6b3f83150ea530c92 | [
"MIT"
] | null | null | null | examples_oldgl_glfw/129_CubeGridEdit/main.cpp | mmer547/delfem2 | 4f4b28931c96467ac30948e6b3f83150ea530c92 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2019 Nobuyuki Umetani
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <cmath>
#include <climits>
#if defined(_WIN32) // windows
# define NOMINMAX // to remove min,max macro
# include <windows.h> // sh... | 29.754098 | 79 | 0.609091 | mmer547 |
aa1af73e2354a53447dcd2651873b45b7a1d1b2f | 3,394 | cpp | C++ | classnote/HomeworkReferenceCode/HW1.cpp | Alex-Lin5/cpp_practice | c249362d6bbe932dc1eb4a4b8c51728d58db2aa7 | [
"MIT"
] | null | null | null | classnote/HomeworkReferenceCode/HW1.cpp | Alex-Lin5/cpp_practice | c249362d6bbe932dc1eb4a4b8c51728d58db2aa7 | [
"MIT"
] | null | null | null | classnote/HomeworkReferenceCode/HW1.cpp | Alex-Lin5/cpp_practice | c249362d6bbe932dc1eb4a4b8c51728d58db2aa7 | [
"MIT"
] | null | null | null |
#include <iostream>
using namespace std;
class Node {
public:
int value;
Node* next;
Node(int i) { value = i; next = nullptr; }
Node() { next = nullptr; }
};
class LinkedList {
public:
Node* head;
//Node* tail;
LinkedList() { head = nullptr; }
LinkedList(int m, int n);//You can use code from class lectures f... | 20.08284 | 112 | 0.581615 | Alex-Lin5 |
aa1c4237ef52ee74da62534aedd97ea8b4d55f77 | 2,108 | cpp | C++ | src/optimizer/pushdown/pushdown_get.cpp | shenyunlong/duckdb | ecb90f22b36a50b051fdd8e0d681bade3365c430 | [
"MIT"
] | null | null | null | src/optimizer/pushdown/pushdown_get.cpp | shenyunlong/duckdb | ecb90f22b36a50b051fdd8e0d681bade3365c430 | [
"MIT"
] | 7 | 2020-08-25T22:24:16.000Z | 2020-09-06T00:16:49.000Z | src/optimizer/pushdown/pushdown_get.cpp | shenyunlong/duckdb | ecb90f22b36a50b051fdd8e0d681bade3365c430 | [
"MIT"
] | null | null | null | #include "duckdb/optimizer/filter_pushdown.hpp"
#include "duckdb/planner/operator/logical_filter.hpp"
#include "duckdb/planner/operator/logical_get.hpp"
#include "duckdb/storage/data_table.hpp"
namespace duckdb {
using namespace std;
unique_ptr<LogicalOperator> FilterPushdown::PushdownGet(unique_ptr<LogicalOperator> o... | 29.690141 | 89 | 0.694497 | shenyunlong |
aa2c65c36843ad34cde6e738b55267fc856cd3e4 | 2,232 | cpp | C++ | compute/perf/perf_host_sort.cpp | atksh/mimalloc-lgb | add692a5ef9a91cad0bc78fa18a051d43a8c930e | [
"MIT"
] | null | null | null | compute/perf/perf_host_sort.cpp | atksh/mimalloc-lgb | add692a5ef9a91cad0bc78fa18a051d43a8c930e | [
"MIT"
] | null | null | null | compute/perf/perf_host_sort.cpp | atksh/mimalloc-lgb | add692a5ef9a91cad0bc78fa18a051d43a8c930e | [
"MIT"
] | null | null | null | //---------------------------------------------------------------------------//
// Copyright (c) 2013-2014 Kyle Lutz <[email protected]>
//
// 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
//
// See http://boosto... | 33.313433 | 79 | 0.616935 | atksh |
a8f7d1a77b271ec8e555251fbf18029debded219 | 1,330 | hpp | C++ | engine/src/events/InputEvents.hpp | Birdy2014/Birdy3d | 96421f262ab6ba7448cae8381063aab32ac830fe | [
"MIT"
] | 1 | 2021-11-01T20:22:41.000Z | 2021-11-01T20:22:41.000Z | engine/src/events/InputEvents.hpp | Birdy2014/Birdy3d | 96421f262ab6ba7448cae8381063aab32ac830fe | [
"MIT"
] | 1 | 2021-11-02T12:45:20.000Z | 2021-11-02T12:45:20.000Z | engine/src/events/InputEvents.hpp | Birdy2014/Birdy3d | 96421f262ab6ba7448cae8381063aab32ac830fe | [
"MIT"
] | 1 | 2021-11-02T12:28:58.000Z | 2021-11-02T12:28:58.000Z | #pragma once
#include "events/Event.hpp"
namespace Birdy3d::events {
class InputScrollEvent : public Event {
public:
const double xoffset;
const double yoffset;
InputScrollEvent(double xoffset, double yoffset)
: xoffset(xoffset)
, yoffset(yoffset) { }
};
... | 23.333333 | 66 | 0.558647 | Birdy2014 |
a8f91bc2cb2c0d7ad83b7d619f728dee4f4c8b0a | 1,796 | cpp | C++ | src/crypto/arc4.cpp | Iglu47/innoextract | 660546ad796bb7619ff0e99a6cd61c4e01e4e241 | [
"Zlib"
] | 526 | 2015-01-01T17:52:24.000Z | 2022-03-30T10:16:25.000Z | src/crypto/arc4.cpp | Iglu47/innoextract | 660546ad796bb7619ff0e99a6cd61c4e01e4e241 | [
"Zlib"
] | 104 | 2015-01-01T11:48:51.000Z | 2022-03-11T17:25:58.000Z | src/crypto/arc4.cpp | Iglu47/innoextract | 660546ad796bb7619ff0e99a6cd61c4e01e4e241 | [
"Zlib"
] | 83 | 2015-02-10T15:51:37.000Z | 2022-03-08T13:11:12.000Z | /*
* Copyright (C) 2018 Daniel Scharrer
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the author(s) be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
* including ... | 24.944444 | 92 | 0.658686 | Iglu47 |
a8fce2a00b2b29a6e74ad3a33d412aa1e6183b19 | 1,159 | hh | C++ | src/main/c++/novemberizing/io/reactor.hh | iticworld/reactive-lib | 9ab761376776e759390fa417d50921ec6e8a898a | [
"Apache-2.0"
] | 1 | 2020-10-10T11:57:15.000Z | 2020-10-10T11:57:15.000Z | src/main/c++/novemberizing/io/reactor.hh | iticworld/reactive-lib | 9ab761376776e759390fa417d50921ec6e8a898a | [
"Apache-2.0"
] | null | null | null | src/main/c++/novemberizing/io/reactor.hh | iticworld/reactive-lib | 9ab761376776e759390fa417d50921ec6e8a898a | [
"Apache-2.0"
] | null | null | null | #ifndef __NOVEMBERIZING_IO__REACTOR__HH__
#define __NOVEMBERIZING_IO__REACTOR__HH__
#include <sys/epoll.h>
#include <unistd.h>
#include <novemberizing/util/log.hh>
#include <novemberizing/ds.hh>
#include <novemberizing/ds/cyclable.hh>
#include <novemberizing/ds/concurrent.set.hh>
#include <novemberizing/io.hh>
... | 26.953488 | 58 | 0.750647 | iticworld |
d104354102fd114bdc29eff8f74902da42a0cb51 | 6,110 | cpp | C++ | winsdkfb/winsdkfb/winsdkfb.Shared/FacebookProfilePictureControl.xaml.cpp | omer-ispl/winsdkfb1 | e3bcd1d1e49e5ff94e6a9c971e4d8a9c82fad93b | [
"MIT"
] | 197 | 2015-07-14T22:33:14.000Z | 2019-05-05T15:26:15.000Z | winsdkfb/winsdkfb/winsdkfb.Shared/FacebookProfilePictureControl.xaml.cpp | omer-ispl/winsdkfb1 | e3bcd1d1e49e5ff94e6a9c971e4d8a9c82fad93b | [
"MIT"
] | 209 | 2015-07-15T14:49:48.000Z | 2019-02-15T14:39:48.000Z | winsdkfb/winsdkfb/winsdkfb.Shared/FacebookProfilePictureControl.xaml.cpp | omer-ispl/winsdkfb1 | e3bcd1d1e49e5ff94e6a9c971e4d8a9c82fad93b | [
"MIT"
] | 115 | 2015-07-15T06:57:34.000Z | 2019-01-12T08:55:15.000Z | //******************************************************************************
//
// Copyright (c) 2015 Microsoft Corporation. All rights reserved.
//
// This code is licensed under the MIT License (MIT).
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT L... | 28.287037 | 109 | 0.642881 | omer-ispl |
d104c774952e0b052fc9eb7f4410b13c11603495 | 1,196 | inl | C++ | Breakout/MacOS-Demo/Glm/gtx/vector_access.inl | CoderYQ/LearnOpenGL | 2fbb251d939df0d9d23d92346aa5d46a0ba6f91f | [
"MIT"
] | 455 | 2015-02-04T01:39:12.000Z | 2022-03-18T17:28:34.000Z | Breakout/MacOS-Demo/Glm/gtx/vector_access.inl | CoderYQ/LearnOpenGL | 2fbb251d939df0d9d23d92346aa5d46a0ba6f91f | [
"MIT"
] | 9 | 2016-09-12T05:00:23.000Z | 2021-05-14T18:38:51.000Z | Breakout/MacOS-Demo/Glm/gtx/vector_access.inl | CoderYQ/LearnOpenGL | 2fbb251d939df0d9d23d92346aa5d46a0ba6f91f | [
"MIT"
] | 117 | 2015-01-30T10:13:54.000Z | 2022-03-08T03:46:42.000Z | ///////////////////////////////////////////////////////////////////////////////////////////////////
// OpenGL Mathematics Copyright (c) 2005 - 2013 G-Truc Creation (www.g-truc.net)
///////////////////////////////////////////////////////////////////////////////////////////////////
// Created : 2006-01-16
// Updated ... | 22.148148 | 100 | 0.43311 | CoderYQ |
d104e822805402d917967d9d57602ed38ab66986 | 7,577 | cpp | C++ | test/blockchain/pop/pop_vbk_block_tree_test.cpp | overcookedpanda/alt-integration-cpp | 7932e79a77d9514ca0e0354636e77fba1845d707 | [
"MIT"
] | null | null | null | test/blockchain/pop/pop_vbk_block_tree_test.cpp | overcookedpanda/alt-integration-cpp | 7932e79a77d9514ca0e0354636e77fba1845d707 | [
"MIT"
] | null | null | null | test/blockchain/pop/pop_vbk_block_tree_test.cpp | overcookedpanda/alt-integration-cpp | 7932e79a77d9514ca0e0354636e77fba1845d707 | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
#include <exception>
#include <memory>
#include "util/pop_test_fixture.hpp"
#include "veriblock/blockchain/pop/fork_resolution.hpp"
using namespace altintegration;
struct VbkBlockTreeTestFixture : public ::testing::Test {
MockMiner popminer;
void endorseVBK(size_t height) {
auto* e... | 40.089947 | 79 | 0.749901 | overcookedpanda |
d105bba5b5a279a10438e98316d36bba376f6309 | 7,084 | cpp | C++ | shadow/operators/kernels/pooling.cpp | junluan/shadow | 067d1c51d7c38bc1c985008a2e2e1599bbf11a8c | [
"Apache-2.0"
] | 20 | 2017-07-04T11:22:47.000Z | 2022-01-16T03:58:32.000Z | shadow/operators/kernels/pooling.cpp | junluan/shadow | 067d1c51d7c38bc1c985008a2e2e1599bbf11a8c | [
"Apache-2.0"
] | 2 | 2017-12-03T13:07:39.000Z | 2021-01-13T11:11:52.000Z | shadow/operators/kernels/pooling.cpp | junluan/shadow | 067d1c51d7c38bc1c985008a2e2e1599bbf11a8c | [
"Apache-2.0"
] | 10 | 2017-09-30T05:06:30.000Z | 2020-11-13T05:43:44.000Z | #include "pooling.hpp"
namespace Shadow {
namespace Vision {
template <>
void Pooling2D<DeviceType::kCPU, float>(const float* in_data,
const VecInt& in_shape, int pool_type,
int kernel_size_h, int kernel_size_w,
... | 40.022599 | 80 | 0.571429 | junluan |
d1069101a8af09186c744a8c372719a30d026858 | 13,059 | cpp | C++ | NanoTest/Source/Nano/Types/TRange.cpp | refnum/Nano | dceb0907061f7845d8a3c662f309ca164e932e6f | [
"BSD-3-Clause"
] | 23 | 2019-11-12T09:31:11.000Z | 2021-09-13T08:59:37.000Z | NanoTest/Source/Nano/Types/TRange.cpp | refnum/nano | dceb0907061f7845d8a3c662f309ca164e932e6f | [
"BSD-3-Clause"
] | 1 | 2020-10-30T09:54:12.000Z | 2020-10-30T09:54:12.000Z | NanoTest/Source/Nano/Types/TRange.cpp | refnum/Nano | dceb0907061f7845d8a3c662f309ca164e932e6f | [
"BSD-3-Clause"
] | 3 | 2015-09-08T11:00:02.000Z | 2017-09-11T05:42:30.000Z | /* NAME:
TRange.cpp
DESCRIPTION:
NRange tests.
COPYRIGHT:
Copyright (c) 2006-2021, refNum Software
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... | 28.575492 | 97 | 0.50402 | refnum |
d10ae5fba69de104b27f9d9f39f7a59fa0c850af | 27,033 | cpp | C++ | soundlib/tuning.cpp | sitomani/openmpt | 913396209c22a1fc6dfb29f0e34893dfb0ffa591 | [
"BSD-3-Clause"
] | null | null | null | soundlib/tuning.cpp | sitomani/openmpt | 913396209c22a1fc6dfb29f0e34893dfb0ffa591 | [
"BSD-3-Clause"
] | null | null | null | soundlib/tuning.cpp | sitomani/openmpt | 913396209c22a1fc6dfb29f0e34893dfb0ffa591 | [
"BSD-3-Clause"
] | null | null | null | /*
* tuning.cpp
* ----------
* Purpose: Alternative sample tuning.
* Notes : (currently none)
* Authors: OpenMPT Devs
* The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
*/
#include "stdafx.h"
#include "tuning.h"
#include "../common/mptIO.h"
#include "../common/seriali... | 27.556575 | 182 | 0.693449 | sitomani |
d11a0dafe97ebc1495c91642b9e8c182c6e54f88 | 916 | cpp | C++ | TallerProgra/Introduccion/A_HolidayOfEquality.cpp | CaDe27/Co-digos | 9eea1dbf6ed06fd115391328c0a2481029c83fc0 | [
"MIT"
] | null | null | null | TallerProgra/Introduccion/A_HolidayOfEquality.cpp | CaDe27/Co-digos | 9eea1dbf6ed06fd115391328c0a2481029c83fc0 | [
"MIT"
] | null | null | null | TallerProgra/Introduccion/A_HolidayOfEquality.cpp | CaDe27/Co-digos | 9eea1dbf6ed06fd115391328c0a2481029c83fc0 | [
"MIT"
] | null | null | null | /*
Pensemos en cuánto va a tener cada persona despues de darles el dinero
Como quiero dar lo menos posible, quiero que esta altura sea minima
esta altura puede ser la de la persona con mas dinero
no puede ser menos porque tendria que quitarle dinero a esta persona
y si fuera mayor que esta, involuc... | 24.756757 | 74 | 0.626638 | CaDe27 |
d11a57104e47857ede1af0d7f2cc5eff68fef707 | 2,314 | cpp | C++ | geometry/barycentre_calculator_test.cpp | tinygrox/Principia | 49a25646c673dcd84cefbc6295df410fc6d927d5 | [
"MIT"
] | 565 | 2015-01-04T21:47:18.000Z | 2022-03-22T12:04:58.000Z | geometry/barycentre_calculator_test.cpp | tinygrox/Principia | 49a25646c673dcd84cefbc6295df410fc6d927d5 | [
"MIT"
] | 1,019 | 2015-01-03T11:42:27.000Z | 2022-03-29T21:02:15.000Z | geometry/barycentre_calculator_test.cpp | tinygrox/Principia | 49a25646c673dcd84cefbc6295df410fc6d927d5 | [
"MIT"
] | 92 | 2015-02-11T23:08:58.000Z | 2022-03-21T03:35:37.000Z |
#include "geometry/barycentre_calculator.hpp"
#include <vector>
#include "geometry/frame.hpp"
#include "geometry/grassmann.hpp"
#include "gtest/gtest.h"
#include "quantities/named_quantities.hpp"
#include "quantities/quantities.hpp"
#include "quantities/si.hpp"
#include "testing_utilities/almost_equals.hpp"
namesp... | 30.051948 | 79 | 0.671997 | tinygrox |
d11a5f09e4d7dbc6725bf80f68773ecb9157fcac | 555 | hpp | C++ | include/RED4ext/Types/generated/anim/PoseLink.hpp | Cyberpunk-Extended-Development-Team/RED4ext.SDK | 2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae | [
"MIT"
] | 1 | 2021-02-01T23:07:50.000Z | 2021-02-01T23:07:50.000Z | include/RED4ext/Types/generated/anim/PoseLink.hpp | Cyberpunk-Extended-Development-Team/RED4ext.SDK | 2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae | [
"MIT"
] | null | null | null | include/RED4ext/Types/generated/anim/PoseLink.hpp | Cyberpunk-Extended-Development-Team/RED4ext.SDK | 2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae | [
"MIT"
] | null | null | null | #pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/REDhash.hpp>
#include <RED4ext/Handle.hpp>
namespace RED4ext
{
namespace anim { struct AnimNode_Base; }
namespace anim {
struct PoseLink
{
static constexpr const char* NAME ... | 21.346154 | 57 | 0.724324 | Cyberpunk-Extended-Development-Team |
d1234c0f804861dc40b643f7929a0fa018642dec | 45,488 | cpp | C++ | 3rdparty/dshowbase/src/gmf/sink.cpp | jpjodoin/litiv | 435556bea20d60816aff492f50587b1a2d748b21 | [
"BSD-3-Clause"
] | 97 | 2015-10-16T04:32:33.000Z | 2022-03-29T07:04:02.000Z | 3rdparty/dshowbase/src/gmf/sink.cpp | jpjodoin/litiv | 435556bea20d60816aff492f50587b1a2d748b21 | [
"BSD-3-Clause"
] | 19 | 2016-07-01T16:37:02.000Z | 2020-09-10T06:09:39.000Z | 3rdparty/dshowbase/src/gmf/sink.cpp | jpjodoin/litiv | 435556bea20d60816aff492f50587b1a2d748b21 | [
"BSD-3-Clause"
] | 41 | 2015-11-17T05:59:23.000Z | 2022-02-16T09:30:28.000Z | //
// GDCL Multigraph Framework
//
// Sink.cpp: implementation of sink filter and input pin
//
// Copyright (c) GDCL 2004. All Rights Reserved.
// You are free to re-use this as the basis for your own filter development,
// provided you retain this copyright notice in the source.
// http://www.gdcl.co.uk
#pragma warni... | 24.535059 | 108 | 0.615767 | jpjodoin |
d127db0bd8c6ffd0cb6bd85b78870b89b178f4c8 | 68,099 | cxx | C++ | test/7cursor_primary.cxx | PositiveTechnologies/libfpta | 57aff3aa85739fd9dce6a0b44955204d44e3c3b4 | [
"Apache-2.0"
] | 33 | 2017-07-13T10:38:11.000Z | 2022-02-22T08:05:06.000Z | test/7cursor_primary.cxx | PositiveTechnologies/libfpta | 57aff3aa85739fd9dce6a0b44955204d44e3c3b4 | [
"Apache-2.0"
] | 2 | 2017-07-13T21:25:16.000Z | 2020-07-09T23:14:27.000Z | test/7cursor_primary.cxx | PositiveTechnologies/libfpta | 57aff3aa85739fd9dce6a0b44955204d44e3c3b4 | [
"Apache-2.0"
] | 8 | 2017-10-04T20:07:41.000Z | 2021-05-15T16:39:18.000Z | /*
* Fast Positive Tables (libfpta), aka Позитивные Таблицы.
* Copyright 2016-2020 Leonid Yuriev <[email protected]>
*
* 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... | 44.480078 | 80 | 0.68092 | PositiveTechnologies |
d1359829334d73316421b50e476485f93b7db421 | 12,315 | cc | C++ | cartographer/cloud/internal/map_builder_server.cc | sotnik-github/cartographer | 73d18e5fc54bfa4e4e61fd7feb615b46834aa584 | [
"Apache-2.0"
] | 30 | 2017-08-12T21:44:47.000Z | 2022-03-23T09:31:05.000Z | cartographer/cloud/internal/map_builder_server.cc | sotnik-github/cartographer | 73d18e5fc54bfa4e4e61fd7feb615b46834aa584 | [
"Apache-2.0"
] | 17 | 2017-06-02T01:55:21.000Z | 2022-03-02T01:52:58.000Z | cartographer/cloud/internal/map_builder_server.cc | sotnik-github/cartographer | 73d18e5fc54bfa4e4e61fd7feb615b46834aa584 | [
"Apache-2.0"
] | 16 | 2018-04-12T18:35:59.000Z | 2022-01-03T14:25:35.000Z | /*
* Copyright 2017 The Cartographer 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... | 43.515901 | 91 | 0.769306 | sotnik-github |
d136bcc92eef1f38d6d9e2da9fedf38a8857c027 | 15,235 | cpp | C++ | src/qos/monitoring_manager.cpp | poseidonos/poseidonos | 1d4a72c823739ef3eaf86e65c57d166ef8f18919 | [
"BSD-3-Clause"
] | 38 | 2021-04-06T03:20:55.000Z | 2022-03-02T09:33:28.000Z | src/qos/monitoring_manager.cpp | gye-ul/poseidonos | bce8fe2cd1f36ede8647446ecc4cf8a9749e6918 | [
"BSD-3-Clause"
] | 19 | 2021-04-08T02:27:44.000Z | 2022-03-23T00:59:04.000Z | src/qos/monitoring_manager.cpp | gye-ul/poseidonos | bce8fe2cd1f36ede8647446ecc4cf8a9749e6918 | [
"BSD-3-Clause"
] | 28 | 2021-04-08T04:39:18.000Z | 2022-03-24T05:56:00.000Z | /*
* BSD LICENSE
* Copyright (c) 2021 Samsung Electronics Corporation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain th... | 32.209302 | 166 | 0.536856 | poseidonos |
d145ee7c85328ff055a3b40f3816d1740405559a | 7,683 | hpp | C++ | lib/integral/Reference.hpp | aphenriques/integral | 157b1e07905a88f7786d8823bde19a3546502912 | [
"MIT"
] | 40 | 2015-01-18T19:03:12.000Z | 2022-03-06T19:16:16.000Z | lib/integral/Reference.hpp | aphenriques/integral | 157b1e07905a88f7786d8823bde19a3546502912 | [
"MIT"
] | 7 | 2019-06-25T20:53:27.000Z | 2021-01-16T14:14:52.000Z | lib/integral/Reference.hpp | aphenriques/integral | 157b1e07905a88f7786d8823bde19a3546502912 | [
"MIT"
] | 7 | 2015-05-13T12:31:15.000Z | 2019-07-23T20:22:50.000Z | //
// Reference.hpp
// integral
//
// MIT License
//
// Copyright (c) 2016, 2017, 2019, 2020, 2021 André Pereira Henriques (aphenriques (at) outlook (dot) com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to... | 39 | 225 | 0.62814 | aphenriques |
d14653eac2adba68e611977c15d3f59715e95c84 | 3,139 | hpp | C++ | vcd.hpp | matteo-maria-tommasini/polar | 276b45a081af1b0dd0853fcb5111f8da1514bd18 | [
"Apache-2.0"
] | null | null | null | vcd.hpp | matteo-maria-tommasini/polar | 276b45a081af1b0dd0853fcb5111f8da1514bd18 | [
"Apache-2.0"
] | null | null | null | vcd.hpp | matteo-maria-tommasini/polar | 276b45a081af1b0dd0853fcb5111f8da1514bd18 | [
"Apache-2.0"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
// //
// polar v1.0 - August the 15th 2019 //
// //
... | 48.292308 | 104 | 0.431029 | matteo-maria-tommasini |
d14744eb77fb83cdd6be425381731e385d7c1450 | 25,583 | cpp | C++ | include/HGJPathSmooth/pathSmoother.cpp | imbaguanxin/cppAstar | 3dc53c1581064fe70e2cb4642d0b6f9fc24b0e10 | [
"MIT"
] | 1 | 2021-12-09T13:32:23.000Z | 2021-12-09T13:32:23.000Z | include/HGJPathSmooth/pathSmoother.cpp | imbaguanxin/cppAstar | 3dc53c1581064fe70e2cb4642d0b6f9fc24b0e10 | [
"MIT"
] | null | null | null | include/HGJPathSmooth/pathSmoother.cpp | imbaguanxin/cppAstar | 3dc53c1581064fe70e2cb4642d0b6f9fc24b0e10 | [
"MIT"
] | null | null | null | //
// Created by stumbo on 18-11-5.
//
#include <ilcplex/ilocplex.h>
#include "pathSmoother.h"
#include "tools.h"
#include "TurnPoint.h"
#include <iostream>
#include <cmath>
#include <map>
#include <set>
using namespace std;
HGJ::pathPlanner::pathPlanner() = default;
const HGJ::WayPoints &
HGJ::pathPlanner::genCur... | 34.110667 | 96 | 0.580112 | imbaguanxin |
d14ba8938709afc49e46dc49efac3620599ec721 | 817 | cpp | C++ | DirectProgramming/DPC++/Jupyter/oneapi-essentials-training/08_DPCPP_Reduction/src/sum_single_task.cpp | yafshar/oneAPI-samples | 592a2036e86e7083a05c0d6a1613fb826adf9a60 | [
"MIT"
] | null | null | null | DirectProgramming/DPC++/Jupyter/oneapi-essentials-training/08_DPCPP_Reduction/src/sum_single_task.cpp | yafshar/oneAPI-samples | 592a2036e86e7083a05c0d6a1613fb826adf9a60 | [
"MIT"
] | null | null | null | DirectProgramming/DPC++/Jupyter/oneapi-essentials-training/08_DPCPP_Reduction/src/sum_single_task.cpp | yafshar/oneAPI-samples | 592a2036e86e7083a05c0d6a1613fb826adf9a60 | [
"MIT"
] | null | null | null | //==============================================================
// Copyright © Intel Corporation
//
// SPDX-License-Identifier: MIT
// =============================================================
#include <CL/sycl.hpp>
using namespace sycl;
static constexpr size_t N = 1024; // global size
int main() {
//# setup q... | 23.342857 | 84 | 0.47858 | yafshar |
d14c345bdd8aac1022127a4a00023565aeb2def9 | 1,434 | hpp | C++ | src/game/intro_screen.hpp | lowkey42/BanishedBlaze | 71e66f444a84bea1eca3639de3f3ff1f79e385d1 | [
"MIT"
] | null | null | null | src/game/intro_screen.hpp | lowkey42/BanishedBlaze | 71e66f444a84bea1eca3639de3f3ff1f79e385d1 | [
"MIT"
] | null | null | null | src/game/intro_screen.hpp | lowkey42/BanishedBlaze | 71e66f444a84bea1eca3639de3f3ff1f79e385d1 | [
"MIT"
] | null | null | null | /** The intro screen that is shown when launching the game *******************
* *
* Copyright (c) 2014 Florian Oetke *
* This file is distributed under the MIT License *
* ... | 29.875 | 79 | 0.584379 | lowkey42 |
d14c9fd13fc189e0c23007aa42ce17fe3ed35ca6 | 24,731 | cpp | C++ | arch/common/dbt/mc/x86/reverse-allocator.cpp | tspink/captive | 9db853df410e06ddb6384dc5e319b92f90483065 | [
"MIT"
] | 24 | 2017-01-02T18:46:34.000Z | 2022-01-10T09:37:58.000Z | arch/common/dbt/mc/x86/reverse-allocator.cpp | tspink/captive | 9db853df410e06ddb6384dc5e319b92f90483065 | [
"MIT"
] | 4 | 2019-09-19T17:48:03.000Z | 2020-09-17T11:01:29.000Z | arch/common/dbt/mc/x86/reverse-allocator.cpp | tspink/captive | 9db853df410e06ddb6384dc5e319b92f90483065 | [
"MIT"
] | 8 | 2017-04-28T04:53:42.000Z | 2022-01-10T10:11:29.000Z | /* SPDX-License-Identifier: MIT */
#include <dbt/mc/x86/reverse-allocator.h>
#include <dbt/mc/x86/formatter.h>
#include <dbt/util/list.h>
//#define PDEBUG
#define VERIFY
#define SUPPORT_VOLATILE
#define CLEVER_ALLOCATION_STRATEGY
using namespace captive::arch::dbt::mc::x86;
using namespace captive::arch::dbt::util;
... | 29.868357 | 186 | 0.696009 | tspink |
d14f7e52a0543a55f8a96b7b4a6b8b9fe2130192 | 2,630 | cpp | C++ | examples/ga_binary.cpp | kogyblack/ime_machinelearning | 10b9e9f40b3d0d8cee63d0f19fcf4cd8c429816e | [
"Zlib",
"MIT"
] | 1 | 2018-01-20T15:36:30.000Z | 2018-01-20T15:36:30.000Z | examples/ga_binary.cpp | kogyblack/ime_machinelearning | 10b9e9f40b3d0d8cee63d0f19fcf4cd8c429816e | [
"Zlib",
"MIT"
] | null | null | null | examples/ga_binary.cpp | kogyblack/ime_machinelearning | 10b9e9f40b3d0d8cee63d0f19fcf4cd8c429816e | [
"Zlib",
"MIT"
] | null | null | null | #include <stack>
#include <cmath>
#include "geneticalgorithm/binarygenome.h"
#include "geneticalgorithm/genalg.h"
int genomeValue(const ga::BinaryGenome& genome)
{
auto decoded = genome.decode(4);
std::stack<int> values;
for (unsigned i = 0; i < decoded.size(); ++i)
{
unsigned d = decoded[i];
if (d <=... | 23.693694 | 120 | 0.564259 | kogyblack |
d15013344bce2531ca9d4090bd948f167799be63 | 506 | hpp | C++ | src/timer.hpp | aalin/synthz0r | ecf35b3fec39020e46732a15874b66f07a3e48e9 | [
"MIT"
] | 1 | 2021-12-23T21:14:37.000Z | 2021-12-23T21:14:37.000Z | src/timer.hpp | aalin/synthz0r | ecf35b3fec39020e46732a15874b66f07a3e48e9 | [
"MIT"
] | null | null | null | src/timer.hpp | aalin/synthz0r | ecf35b3fec39020e46732a15874b66f07a3e48e9 | [
"MIT"
] | null | null | null | #ifndef TIMER_HPP
#define TIMER_HPP
class Timer {
public:
Timer(float sampleRate)
: _ticks(0),
_seconds(0.0),
_sampleRate(sampleRate)
{}
float seconds() const {
return _seconds;
}
unsigned long int ticks() const {
return _ticks;
}
void update(const float &sampleRate) {
_seconds = _... | 14.457143 | 40 | 0.662055 | aalin |
d1535016c4930684a9f9465fa42c728de581711b | 1,610 | cpp | C++ | third party/openRTMFP-Cumulus/CumulusServer/sources/LUAAMFObjectWriter.cpp | Patrick-Bay/SocialCastr | 888a57ca63037e566f6c0bf03a646ae91b484086 | [
"MIT"
] | 5 | 2015-04-30T09:08:30.000Z | 2018-08-13T05:00:39.000Z | third party/openRTMFP-Cumulus/CumulusServer/sources/LUAAMFObjectWriter.cpp | Patrick-Bay/SocialCastr | 888a57ca63037e566f6c0bf03a646ae91b484086 | [
"MIT"
] | null | null | null | third party/openRTMFP-Cumulus/CumulusServer/sources/LUAAMFObjectWriter.cpp | Patrick-Bay/SocialCastr | 888a57ca63037e566f6c0bf03a646ae91b484086 | [
"MIT"
] | null | null | null | /*
Copyright 2010 OpenRTMFP
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... | 32.2 | 72 | 0.775155 | Patrick-Bay |
d1558c651a06df869cc51ac3f987ce1671993103 | 3,907 | cpp | C++ | src/Utility/SharedStringBuilder.cpp | cpv-project/cpv-framework | b0da79c8c57ceecb6b13f4d8658ec4d4c0237668 | [
"MIT"
] | 86 | 2018-04-20T04:40:20.000Z | 2022-02-09T08:36:28.000Z | src/Utility/SharedStringBuilder.cpp | cpv-project/cpv-framework | b0da79c8c57ceecb6b13f4d8658ec4d4c0237668 | [
"MIT"
] | 16 | 2018-04-25T09:34:40.000Z | 2020-10-16T03:55:05.000Z | src/Utility/SharedStringBuilder.cpp | cpv-project/cpv-framework | b0da79c8c57ceecb6b13f4d8658ec4d4c0237668 | [
"MIT"
] | 10 | 2019-10-07T08:06:15.000Z | 2021-07-26T18:46:11.000Z | #include <CPVFramework/Utility/SharedStringBuilder.hpp>
namespace cpv {
namespace {
/** Get max string size of integer, doesn't include zero terminator */
template <class IntType>
constexpr std::size_t getMaxStringSize(std::size_t base) {
IntType max = std::numeric_limits<IntType>::max();
std::size_t resu... | 32.02459 | 85 | 0.668288 | cpv-project |
d15807a15a00ed306d3cfdacc35322432ec8ab60 | 2,078 | cpp | C++ | SOLVER/src/core/point/WindowSum.cpp | chaindl/AxiSEM-3D | 0251f301c79c676fb37792209d6e24f107773b3d | [
"MIT"
] | null | null | null | SOLVER/src/core/point/WindowSum.cpp | chaindl/AxiSEM-3D | 0251f301c79c676fb37792209d6e24f107773b3d | [
"MIT"
] | null | null | null | SOLVER/src/core/point/WindowSum.cpp | chaindl/AxiSEM-3D | 0251f301c79c676fb37792209d6e24f107773b3d | [
"MIT"
] | null | null | null | #include "WindowSum.hpp"
template <>
void SFWindowSum<3>::feedComm(eigen::CColX &buffer, int &row) const {
if (mStiffR.rows() > 0) {
buffer.block(row, 0, mStiffR.size(), 1).real() =
Eigen::Map<const eigen::RColX>(mStiffR.data(),
mStiffR.size());
row +=... | 34.633333 | 93 | 0.554379 | chaindl |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.