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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3829fbbf5e718e140d73e15f49b9e396164497d4 | 746 | cpp | C++ | CodeForces/Rounds/1626/A.cpp | a4org/Angorithm4 | d2227d36608491bed270375bcea67fbde134209a | [
"MIT"
] | 3 | 2021-07-26T15:58:45.000Z | 2021-09-08T14:55:11.000Z | CodeForces/Rounds/1626/A.cpp | a4org/Angorithm4 | d2227d36608491bed270375bcea67fbde134209a | [
"MIT"
] | null | null | null | CodeForces/Rounds/1626/A.cpp | a4org/Angorithm4 | d2227d36608491bed270375bcea67fbde134209a | [
"MIT"
] | 2 | 2021-05-31T11:27:59.000Z | 2021-10-03T13:26:00.000Z | #include <algorithm>
#include <array>
#include <bitset>
#include <cassert>
#include <chrono>
#include <cmath>
#include <cstring>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <random>
#include <set>
#include <vector>
using namespace std;
#ifdef... | 16.217391 | 74 | 0.596515 | a4org |
382a7b1b210dbefb89e2ddf0b80622da3e821e04 | 5,846 | cpp | C++ | lib/Parser/RegexPattern.cpp | satheeshravi/ChakraCore | 3bf47ff12bf80ab06fb7ea6925ec7579985ac1f5 | [
"MIT"
] | 1 | 2021-11-07T18:56:21.000Z | 2021-11-07T18:56:21.000Z | lib/Parser/RegexPattern.cpp | MaxMood96/ChakraCore | 9d9fea268ce1ae6c00873fd966a6a2be048f3455 | [
"MIT"
] | null | null | null | lib/Parser/RegexPattern.cpp | MaxMood96/ChakraCore | 9d9fea268ce1ae6c00873fd966a6a2be048f3455 | [
"MIT"
] | 1 | 2021-09-04T23:26:57.000Z | 2021-09-04T23:26:57.000Z | //-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//---------------------------------------------------------... | 32.120879 | 136 | 0.53729 | satheeshravi |
382c93de648a08cccf05a7481258575ce6619ced | 2,707 | cpp | C++ | Backtracking/RatInAMaze.cpp | Guerreiro51/Competitive-Programming | 54ce0b40b01bce3b53b595ef36f431389a340a64 | [
"MIT"
] | 1 | 2021-11-18T22:09:58.000Z | 2021-11-18T22:09:58.000Z | Backtracking/RatInAMaze.cpp | Guerreiro51/Competitive-Programming | 54ce0b40b01bce3b53b595ef36f431389a340a64 | [
"MIT"
] | null | null | null | Backtracking/RatInAMaze.cpp | Guerreiro51/Competitive-Programming | 54ce0b40b01bce3b53b595ef36f431389a340a64 | [
"MIT"
] | null | null | null | #include <math.h>
#include <iostream>
#include <map>
#include <queue>
using namespace std;
using Maze = vector<vector<int>>;
using Pos = pair<int, int>;
template <typename T, typename U>
pair<T, U> operator+(const pair<T, U>& l, const pair<T, U>& r) {
return {l.first + r.first, l.second + r.second};
}
Pos move... | 27.343434 | 142 | 0.567048 | Guerreiro51 |
383be9db7bbc8339ea1e479b0942d46d65cb15e9 | 12,098 | cpp | C++ | IDPP/idp_depthFirstTraversal.cpp | researchGit/Incomplete-Directed-Perfect-Phylogeny | f049087d5cbbfd0415420b20b1c0f785f8defb73 | [
"MIT"
] | null | null | null | IDPP/idp_depthFirstTraversal.cpp | researchGit/Incomplete-Directed-Perfect-Phylogeny | f049087d5cbbfd0415420b20b1c0f785f8defb73 | [
"MIT"
] | null | null | null | IDPP/idp_depthFirstTraversal.cpp | researchGit/Incomplete-Directed-Perfect-Phylogeny | f049087d5cbbfd0415420b20b1c0f785f8defb73 | [
"MIT"
] | null | null | null | //
// MIT License
//
//Copyright (c) 2018 Lei Liu
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, including without limitation the rights
//to use, copy, modify, merge... | 55.242009 | 183 | 0.521904 | researchGit |
384188005d2977988070e3ca1dd90fa8b4b1354d | 5,998 | cc | C++ | base/glob.test.cc | ctidder/stigdb | d9ef3eb117d46542745ca98c55df13ec71447091 | [
"Apache-2.0"
] | 5 | 2018-04-24T12:36:50.000Z | 2020-03-25T00:37:17.000Z | base/glob.test.cc | ctidder/stigdb | d9ef3eb117d46542745ca98c55df13ec71447091 | [
"Apache-2.0"
] | null | null | null | base/glob.test.cc | ctidder/stigdb | d9ef3eb117d46542745ca98c55df13ec71447091 | [
"Apache-2.0"
] | 2 | 2018-04-24T12:39:24.000Z | 2020-03-25T00:45:08.000Z | /* <base/glob.test.cc>
Unit test for <base/glob.h>.
Copyright 2010-2014 Tagged
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.... | 31.403141 | 125 | 0.616706 | ctidder |
384877530027326d9418b018c3f52e62660700a0 | 29,715 | cpp | C++ | bridge/wnd/swap_b.cpp | terryhash/mwc-qt-wallet | 0d03ea942f13a35f776e788328e15f4a40c469d3 | [
"Apache-2.0"
] | null | null | null | bridge/wnd/swap_b.cpp | terryhash/mwc-qt-wallet | 0d03ea942f13a35f776e788328e15f4a40c469d3 | [
"Apache-2.0"
] | null | null | null | bridge/wnd/swap_b.cpp | terryhash/mwc-qt-wallet | 0d03ea942f13a35f776e788328e15f4a40c469d3 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 The MWC Developers
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed... | 37.901786 | 229 | 0.655662 | terryhash |
3853656f19450889739b649bb08d1918fa342adb | 1,149 | cpp | C++ | 4. Median of Two Sorted Arrays.cpp | arpit456jain/LeetCode-Solutions-Cpp | 080a5a7aa2bbc53e422d000e42c501f74ddd47e7 | [
"MIT"
] | 1 | 2021-08-01T05:08:29.000Z | 2021-08-01T05:08:29.000Z | 4. Median of Two Sorted Arrays.cpp | arpit456jain/LeetCode-Solutions | 080a5a7aa2bbc53e422d000e42c501f74ddd47e7 | [
"MIT"
] | null | null | null | 4. Median of Two Sorted Arrays.cpp | arpit456jain/LeetCode-Solutions | 080a5a7aa2bbc53e422d000e42c501f74ddd47e7 | [
"MIT"
] | null | null | null | class Solution {
public:
double findMedianSortedArrays(vector<int>& arr, vector<int>& brr) {
// code here
int n= arr.size();
int m = brr.size();
int temp[m+n];
int i=0;
int j=0;
int k=0;
while(i<n && j<m)
{
if(arr[i]<brr[j])
... | 22.529412 | 81 | 0.353351 | arpit456jain |
ee2dd9342f917b81a6fd0480530f5ea3a8e14b1e | 8,023 | cpp | C++ | build/linux-build/Sources/src/zui/Themes.cpp | HedgehogFog/TimeOfDeath | b78abacf940e1a88c8b987d99764ebb6876c5dc6 | [
"MIT"
] | null | null | null | build/linux-build/Sources/src/zui/Themes.cpp | HedgehogFog/TimeOfDeath | b78abacf940e1a88c8b987d99764ebb6876c5dc6 | [
"MIT"
] | null | null | null | build/linux-build/Sources/src/zui/Themes.cpp | HedgehogFog/TimeOfDeath | b78abacf940e1a88c8b987d99764ebb6876c5dc6 | [
"MIT"
] | null | null | null | // Generated by Haxe 4.0.0-preview.5
#include <hxcpp.h>
#ifndef INCLUDED_zui_Themes
#include <hxinc/zui/Themes.h>
#endif
HX_LOCAL_STACK_FRAME(_hx_pos_b706838cf05c6d6e_5_boot,"zui.Themes","boot",0x80fbdd96,"zui.Themes.boot","Sources/zui/Themes.hx",5,0x3c270adc)
HX_LOCAL_STACK_FRAME(_hx_pos_b706838cf05c6d6e_41_boot,"zu... | 41.35567 | 141 | 0.636046 | HedgehogFog |
ee329a248f2ba8b032bd8cf907635e91c2432061 | 1,455 | cpp | C++ | USACO Training/Competitions/cardgame.cpp | aldew5/Competitve-Programming | eb0b93a35af3bd5e806aedc44b835830af01d496 | [
"MIT"
] | 2 | 2020-05-09T15:54:18.000Z | 2021-01-23T22:32:53.000Z | USACO Training/Competitions/cardgame.cpp | aldew5/Competitive-Programming | fc93723fae739d0b06bcf2dbe3b9274584a79a66 | [
"MIT"
] | null | null | null | USACO Training/Competitions/cardgame.cpp | aldew5/Competitive-Programming | fc93723fae739d0b06bcf2dbe3b9274584a79a66 | [
"MIT"
] | null | null | null | /*
ID: alec3
LANG: C++14
PROG:
/*
*/
#include <bits/stdc++.h>
#define check(x) cout<<(#x)<<": "<<x<<" " << endl;
#define line cout << "--------------" << endl;
#define io ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define ss second
#define ff first
#define pb push_back
#define lb lower_bound
#define ub ... | 17.117647 | 65 | 0.485223 | aldew5 |
ee354aa4f527920365634a60d360244c3575e143 | 19,126 | cpp | C++ | FireRender.Max.Plugin/plugin/FireRenderer.cpp | Vsevolod1983/RadeonProRenderMaxPlugin | d5393fd04e45dd2c77c8b17fac4e10b20df55285 | [
"Apache-2.0"
] | 6 | 2020-05-24T12:00:43.000Z | 2021-07-13T06:22:49.000Z | FireRender.Max.Plugin/plugin/FireRenderer.cpp | Vsevolod1983/RadeonProRenderMaxPlugin | d5393fd04e45dd2c77c8b17fac4e10b20df55285 | [
"Apache-2.0"
] | 4 | 2020-09-17T17:05:38.000Z | 2021-06-23T14:29:14.000Z | FireRender.Max.Plugin/plugin/FireRenderer.cpp | Vsevolod1983/RadeonProRenderMaxPlugin | d5393fd04e45dd2c77c8b17fac4e10b20df55285 | [
"Apache-2.0"
] | 8 | 2020-05-15T08:29:17.000Z | 2021-07-14T08:38:07.000Z | /**********************************************************************
Copyright 2020 Advanced Micro Devices, Inc
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/L... | 26.563889 | 176 | 0.719858 | Vsevolod1983 |
ee3ee3987721aff7ba3118b2a5aed153586dc7f1 | 83 | cpp | C++ | TechTree/DropDownButtonControl.cpp | Janworks/AoETechTree | 6366fc8ee496d78e012201feac2aa8b069b8c88a | [
"MIT"
] | 9 | 2016-08-13T22:38:34.000Z | 2020-01-18T04:43:50.000Z | TechTree/DropDownButtonControl.cpp | goto-bus-stop/AoETechTree | 33290acf3215b90d9037f46a1f6441c78c541c85 | [
"MIT"
] | 8 | 2017-03-30T18:06:35.000Z | 2019-12-07T16:06:40.000Z | TechTree/DropDownButtonControl.cpp | JanWichelmann/AoETechTree | 6366fc8ee496d78e012201feac2aa8b069b8c88a | [
"MIT"
] | 2 | 2017-03-30T17:14:43.000Z | 2019-11-02T12:03:21.000Z | /* INCLUDES */
// Class header
#include "DropDownButtonControl.h"
/* FUNCTIONS */ | 13.833333 | 34 | 0.686747 | Janworks |
ee3f74695c979bc151fce9a92423802d4779e417 | 49,475 | hpp | C++ | include/UnityEngine/Graphics.hpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | include/UnityEngine/Graphics.hpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | include/UnityEngine/Graphics.hpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Including type: UnityEngine.Ma... | 81.106557 | 485 | 0.751915 | Fernthedev |
ee4df6b295a6b98662158d6ae683e2c960975023 | 1,170 | hpp | C++ | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/rubetek/client/controller_info.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/rubetek/client/controller_info.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/rubetek/client/controller_info.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | #pragma once
#include <list>
#include <string>
#include <boost/optional.hpp>
#include <rubetek/essence/unique_id/channel.hpp>
#include <rubetek/essence/unique_id/controller.hpp>
#include <rubetek/client/controller_availability.hpp>
namespace rubetek {
namespace client {
struct controller_info
{
u... | 29.25 | 67 | 0.55812 | yklishevich |
ee4e32bee3883317c366c3337a16ec4c400400a6 | 9,252 | inl | C++ | Code/DataStructures/BinarySearchTree.inl | kvarcg/data_structures | 2646f00302813dcd5ca8d8136799066654761fc3 | [
"MIT"
] | null | null | null | Code/DataStructures/BinarySearchTree.inl | kvarcg/data_structures | 2646f00302813dcd5ca8d8136799066654761fc3 | [
"MIT"
] | null | null | null | Code/DataStructures/BinarySearchTree.inl | kvarcg/data_structures | 2646f00302813dcd5ca8d8136799066654761fc3 | [
"MIT"
] | null | null | null | #ifndef DSBINARYSEARCHTREE_INL
#define DSBINARYSEARCHTREE_INL
namespace DS {
template <typename T>
BinarySearchTree<T>::~BinarySearchTree() {
destroy();
}
template <typename T>
BinarySearchTree<T>::BinarySearchTree(const BinarySearchTree<T>& other) {
clone(*this, other);
}
... | 30.534653 | 138 | 0.54345 | kvarcg |
ee54f8519bea66d096ba531fd86b48764be53296 | 2,139 | cpp | C++ | ql/exercise.cpp | sfondi/QuantLib | 8a2449d2fb470a7d47a55d3e99c5dace749709c9 | [
"BSD-3-Clause"
] | 76 | 2017-06-28T21:24:38.000Z | 2021-12-19T18:07:37.000Z | ql/exercise.cpp | sfondi/QuantLib | 8a2449d2fb470a7d47a55d3e99c5dace749709c9 | [
"BSD-3-Clause"
] | 2 | 2017-07-05T09:20:13.000Z | 2019-10-31T12:06:51.000Z | ql/exercise.cpp | sfondi/QuantLib | 8a2449d2fb470a7d47a55d3e99c5dace749709c9 | [
"BSD-3-Clause"
] | 34 | 2017-07-02T14:49:21.000Z | 2021-11-26T15:32:04.000Z | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2000, 2001, 2002, 2003 RiskMap srl
Copyright (C) 2001, 2002, 2003 Sadruddin Rejeb
Copyright (C) 2003 Ferdinando Ametrano
This file is part of QuantLib, a free-software/open-source library
for financial quantitative a... | 35.65 | 79 | 0.640954 | sfondi |
ee58ff2e14006381fa2b8bea140d575817bfd291 | 147 | cpp | C++ | widget/game/item.cpp | CuntBoy/Snake | 5c0e0f1369163af61558098e292809e965643125 | [
"Apache-2.0"
] | 1 | 2020-09-07T13:36:17.000Z | 2020-09-07T13:36:17.000Z | widget/game/item.cpp | CuntBoy/Snake | 5c0e0f1369163af61558098e292809e965643125 | [
"Apache-2.0"
] | 2 | 2021-06-23T01:39:49.000Z | 2021-07-09T15:15:58.000Z | widget/game/item.cpp | CuntBoy/Snake | 5c0e0f1369163af61558098e292809e965643125 | [
"Apache-2.0"
] | null | null | null | #include "item.h"
Item::Item(QPoint pos, IType::ItemType type)
:pos_(pos),type_(type)
{
}
Item::Item()
:pos_(0,0),type_(IType::Food){}
| 13.363636 | 45 | 0.612245 | CuntBoy |
ee5b956ac939b3175cc7cb770b8ed6d48715ee03 | 4,404 | cpp | C++ | Code/Libraries/Math/src/mathfunc.cpp | kas1e/Eldritch | 032b4ac52f7508c89efa407d6fe60f40c6281fd9 | [
"Zlib"
] | null | null | null | Code/Libraries/Math/src/mathfunc.cpp | kas1e/Eldritch | 032b4ac52f7508c89efa407d6fe60f40c6281fd9 | [
"Zlib"
] | null | null | null | Code/Libraries/Math/src/mathfunc.cpp | kas1e/Eldritch | 032b4ac52f7508c89efa407d6fe60f40c6281fd9 | [
"Zlib"
] | null | null | null | #include "core.h"
#include "mathfunc.h"
#include "mathcore.h"
#include "random.h"
#include <math.h>
static Random Generator;
void Math::Bresenham(int x0, int y0, int x1, int y1,
BresenhamPointFunc PointFunc, void* pContext) {
bool steep = abs(y1 - y0) > abs(x1 - x0); // Is the slope greater th... | 25.310345 | 78 | 0.567893 | kas1e |
ee5fc39cbcb8d88aff93da135ebea73df9c22408 | 217 | cpp | C++ | src/Settings.cpp | asamy/vendace | ed949d6c7546f3a70582a0354c68a17f26aef6cd | [
"MIT"
] | 1 | 2020-05-02T06:47:48.000Z | 2020-05-02T06:47:48.000Z | src/Settings.cpp | asamy/vendace | ed949d6c7546f3a70582a0354c68a17f26aef6cd | [
"MIT"
] | null | null | null | src/Settings.cpp | asamy/vendace | ed949d6c7546f3a70582a0354c68a17f26aef6cd | [
"MIT"
] | null | null | null | #include "Settings.hpp"
void Settings::setEditorPath(QString path) {
mSettings.setValue(KEY_EDITOR_PATH, path);
}
QString Settings::editorPath() const {
return mSettings.value(KEY_EDITOR_PATH).toString();
}
| 21.7 | 55 | 0.751152 | asamy |
ee62083510d4656c83e6574bb23f984138a6ee96 | 6,377 | cc | C++ | Algorithms & Data Structs - C++/assignment8/assignment8.cc | lameimpala/university-code-samples | dc81154ab6350ddd3c19cb2917c840d4e79eaa2f | [
"Unlicense"
] | null | null | null | Algorithms & Data Structs - C++/assignment8/assignment8.cc | lameimpala/university-code-samples | dc81154ab6350ddd3c19cb2917c840d4e79eaa2f | [
"Unlicense"
] | null | null | null | Algorithms & Data Structs - C++/assignment8/assignment8.cc | lameimpala/university-code-samples | dc81154ab6350ddd3c19cb2917c840d4e79eaa2f | [
"Unlicense"
] | null | null | null | /*********************************************************************
PROGRAM: CSCI 340 Assignment 8
PROGRAMMER: Reid Wixom
LOGON ID: z1693990
DUE DATE: 04/18/16
Description: Contains implementaion of HT class defined in assignment8.h
**********************************************************... | 22.69395 | 104 | 0.555434 | lameimpala |
ee7628153b016221bcb6d889e753bec47b630187 | 1,695 | cpp | C++ | Engine/src/Engine/Utils/PlatformUtils.cpp | AustinLynes/Arcana-Tools | ce585d552e30174c4c629a9ea05e7f83947499a5 | [
"Apache-2.0"
] | null | null | null | Engine/src/Engine/Utils/PlatformUtils.cpp | AustinLynes/Arcana-Tools | ce585d552e30174c4c629a9ea05e7f83947499a5 | [
"Apache-2.0"
] | null | null | null | Engine/src/Engine/Utils/PlatformUtils.cpp | AustinLynes/Arcana-Tools | ce585d552e30174c4c629a9ea05e7f83947499a5 | [
"Apache-2.0"
] | null | null | null | #include "PlatformUtils.h"
#include <Windows.h>
#include "Engine/Window/Window.h"
#define GLFW_EXPOSE_NATIVE_WIN32
#include <GLFW/glfw3native.h>
#include <commdlg.h>
namespace ArcanaTools {
namespace Utils {
std::optional<std::string> FileDialog::OpenFile(const char* filter)
{
OPENFILENAMEA open;
CHAR szFIL... | 27.786885 | 77 | 0.700295 | AustinLynes |
ee78109da775011a645f500672922e280312f914 | 10,396 | cpp | C++ | src/core/PolyScene.cpp | my-digital-decay/Polycode | 5dd1836bc4710aea175a77433c17696f8330f596 | [
"MIT"
] | null | null | null | src/core/PolyScene.cpp | my-digital-decay/Polycode | 5dd1836bc4710aea175a77433c17696f8330f596 | [
"MIT"
] | null | null | null | src/core/PolyScene.cpp | my-digital-decay/Polycode | 5dd1836bc4710aea175a77433c17696f8330f596 | [
"MIT"
] | null | null | null | /*
Copyright (C) 2011 by Ivan Safrin
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distri... | 30.940476 | 269 | 0.740958 | my-digital-decay |
ee822976c261cadab7aa76cc6d8526fd78c6b14f | 431 | hpp | C++ | FamilyTree.hpp | liorls/ancestor-tree | c10d1781a94f7d072d1271ce40e1752cc64b3d76 | [
"MIT"
] | null | null | null | FamilyTree.hpp | liorls/ancestor-tree | c10d1781a94f7d072d1271ce40e1752cc64b3d76 | [
"MIT"
] | null | null | null | FamilyTree.hpp | liorls/ancestor-tree | c10d1781a94f7d072d1271ce40e1752cc64b3d76 | [
"MIT"
] | null | null | null | /*
AUTHORS: Levana Sciari,Mayanne zeevi, Lior Samuel-Levy
*/
#include <iostream>
#include <string>
using namespace std;
namespace family{
class Tree{
public:
Tree(string text);
Tree& addFather(string son, string f);
Tree& addMother(string son, string m);
string relatio... | 17.24 | 55 | 0.605568 | liorls |
ee86fcdeb8a2e19a55a45c58a46b1f0efb8d1d03 | 21,080 | cpp | C++ | source/Shared/LinearExpressions/LinearExpressions.cpp | czen/open-ops | b1ab8da354c4aecc0fe76a562395f5861bffc207 | [
"BSD-3-Clause"
] | 23 | 2017-08-01T14:29:48.000Z | 2019-10-09T22:27:38.000Z | source/Shared/LinearExpressions/LinearExpressions.cpp | czen/open-ops | b1ab8da354c4aecc0fe76a562395f5861bffc207 | [
"BSD-3-Clause"
] | 2 | 2017-08-06T08:34:18.000Z | 2017-08-08T16:27:38.000Z | source/Shared/LinearExpressions/LinearExpressions.cpp | czen/open-ops | b1ab8da354c4aecc0fe76a562395f5861bffc207 | [
"BSD-3-Clause"
] | 2 | 2017-08-08T12:25:06.000Z | 2019-09-16T15:18:18.000Z | #include "Shared/LinearExpressions.h"
#include "Reprise/Service/DeepWalker.h"
#include "Shared/LoopShared.h"
#include "Shared/DataShared.h"
#include "Reprise/ServiceFunctions.h"
#include "OPS_Core/Strings.h"
#include "OPS_Core/Localization.h"
#include "Shared/ExpressionHelpers.h"
#include "Shared/ParametricLinearExpres... | 30.506512 | 216 | 0.754649 | czen |
ee8db4ed35dd5dcac7d92c61e2f744ae5129ded3 | 1,334 | cpp | C++ | Code/include/igl/mat_max.cpp | FabianRepository/SinusProject | 48d68902ccd83f08c4d208ba8e0739a8a1252338 | [
"BSD-3-Clause"
] | 35 | 2017-04-07T22:49:41.000Z | 2021-08-03T13:59:20.000Z | Code/include/igl/mat_max.cpp | FabianRepository/SinusProject | 48d68902ccd83f08c4d208ba8e0739a8a1252338 | [
"BSD-3-Clause"
] | 1 | 2020-08-04T22:39:02.000Z | 2020-08-05T21:02:47.000Z | Code/include/igl/mat_max.cpp | FabianRepository/SinusProject | 48d68902ccd83f08c4d208ba8e0739a8a1252338 | [
"BSD-3-Clause"
] | 7 | 2019-03-11T19:26:53.000Z | 2021-03-04T07:17:10.000Z | // This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2013 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... | 28.382979 | 168 | 0.628936 | FabianRepository |
ee94a37d92d83f86c6aee2396fcd20188994d6d7 | 4,867 | cpp | C++ | be/src/vec/data_types/data_type_number_base.cpp | yiguolei/doris-vectorized | 922367a2f231a05a2d591fffbacef15e4db2102a | [
"Apache-2.0"
] | 50 | 2021-04-07T12:42:37.000Z | 2022-03-17T09:32:08.000Z | be/src/vec/data_types/data_type_number_base.cpp | yiguolei/doris-vectorized | 922367a2f231a05a2d591fffbacef15e4db2102a | [
"Apache-2.0"
] | 63 | 2021-05-07T07:24:16.000Z | 2022-02-08T11:02:15.000Z | be/src/vec/data_types/data_type_number_base.cpp | yiguolei/doris-vectorized | 922367a2f231a05a2d591fffbacef15e4db2102a | [
"Apache-2.0"
] | 45 | 2021-04-14T08:17:48.000Z | 2022-03-17T09:32:17.000Z | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | 39.25 | 100 | 0.71728 | yiguolei |
ee9a0a453c4edafc2bf22792d86a943d9a03c5fe | 7,499 | cpp | C++ | src/MemeScript/AST_Stmt.cpp | Gurman8r/CppSandbox | a0f1cf0ade69ecaba4d167c0611a620914155e53 | [
"MIT"
] | null | null | null | src/MemeScript/AST_Stmt.cpp | Gurman8r/CppSandbox | a0f1cf0ade69ecaba4d167c0611a620914155e53 | [
"MIT"
] | null | null | null | src/MemeScript/AST_Stmt.cpp | Gurman8r/CppSandbox | a0f1cf0ade69ecaba4d167c0611a620914155e53 | [
"MIT"
] | null | null | null | #include <MemeScript/AST_Stmt.hpp>
#include <MemeScript/AST_Expr.hpp>
#include <MemeScript/Interpreter.hpp>
#include <MemeCore/Debug.hpp>
#include <MemeCore/FileSystem.hpp>
namespace ml
{
// Statement
/* * * * * * * * * * * * * * * * * * * * */
AST_Stmt::AST_Stmt(int32_t type)
: AST_Node()
, stmtType(type)
{
... | 18.516049 | 106 | 0.511802 | Gurman8r |
ee9a8b0b497b86fbd87a78eb039cd17bb9528ae0 | 135 | hpp | C++ | libjojoba/core/src/stringutils.hpp | Jojojoppe/Jojoba | da4f8cc068a5bcb04325729427242b070172ce34 | [
"BSD-2-Clause",
"MIT"
] | null | null | null | libjojoba/core/src/stringutils.hpp | Jojojoppe/Jojoba | da4f8cc068a5bcb04325729427242b070172ce34 | [
"BSD-2-Clause",
"MIT"
] | null | null | null | libjojoba/core/src/stringutils.hpp | Jojojoppe/Jojoba | da4f8cc068a5bcb04325729427242b070172ce34 | [
"BSD-2-Clause",
"MIT"
] | null | null | null | #pragma once
#include <string>
#include <vector>
void string_split(std::vector<std::string>& out, const std::string& in, char delim); | 22.5 | 84 | 0.725926 | Jojojoppe |
ee9e09232a632dd55e54b43f84acd808d5c795f3 | 978 | cpp | C++ | leetcode/1039. Minimum Score Triangulation of Polygon/tle.cpp | zhuohuwu0603/leetcode_cpp_lzl124631x | 6a579328810ef4651de00fde0505934d3028d9c7 | [
"Fair"
] | 787 | 2017-05-12T05:19:57.000Z | 2022-03-30T12:19:52.000Z | leetcode/1039. Minimum Score Triangulation of Polygon/tle.cpp | aerlokesh494/LeetCode | 0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f | [
"Fair"
] | 8 | 2020-03-16T05:55:38.000Z | 2022-03-09T17:19:17.000Z | leetcode/1039. Minimum Score Triangulation of Polygon/tle.cpp | aerlokesh494/LeetCode | 0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f | [
"Fair"
] | 247 | 2017-04-30T15:07:50.000Z | 2022-03-30T09:58:57.000Z | // OJ: https://leetcode.com/problems/minimum-score-triangulation-of-polygon/
// Author: github.com/lzl124631x
// Note: TLE on input [35,73,90,27,71,80,21,33,33,13,48,12,68,70,80,36,66,3,70,58]
class Solution {
private:
string key(vector<int>& A) {
string ans;
for (auto n : A) {
ans += to... | 32.6 | 82 | 0.485685 | zhuohuwu0603 |
eea14ae538f247c34379b31c01b9e4465bba31ee | 6,046 | cpp | C++ | boost/boost_1_56_0/libs/log/test/run/attr_named_scope.cpp | cooparation/caffe-android | cd91078d1f298c74fca4c242531989d64a32ba03 | [
"BSD-2-Clause-FreeBSD"
] | 3 | 2018-11-02T07:15:32.000Z | 2018-12-15T19:56:59.000Z | boost/boost_1_56_0/libs/log/test/run/attr_named_scope.cpp | cooparation/caffe-android | cd91078d1f298c74fca4c242531989d64a32ba03 | [
"BSD-2-Clause-FreeBSD"
] | 2 | 2017-11-18T21:24:03.000Z | 2020-03-11T12:39:57.000Z | boost/boost_1_56_0/libs/log/test/run/attr_named_scope.cpp | cooparation/caffe-android | cd91078d1f298c74fca4c242531989d64a32ba03 | [
"BSD-2-Clause-FreeBSD"
] | 3 | 2017-01-02T14:11:37.000Z | 2019-12-20T13:42:13.000Z | /*
* Copyright Andrey Semashev 2007 - 2014.
* 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)
*/
/*!
* \file attr_named_scope.cpp
* \author Andrey Semashev
* \date 25.01.2009
*
* \br... | 31.65445 | 96 | 0.700132 | cooparation |
eea266c10e2439c581967cdbee34c50c00f56f98 | 975 | cpp | C++ | PolyDock/PolyDock/src/pd/ecs/sys/tabsHeader/TabsHeaderWidgetInitialization.cpp | PolyEngineTeam/PolyDock | 27a105b2cc80db4286e03a2a1e5bee64438d37c8 | [
"MIT"
] | 3 | 2020-05-16T16:33:51.000Z | 2021-08-05T18:48:13.000Z | PolyDock/PolyDock/src/pd/ecs/sys/tabsHeader/TabsHeaderWidgetInitialization.cpp | Qt-Widgets/PolyDock | f32def214753ca0f6bab9968bc2bb5e451cb6e4f | [
"MIT"
] | 30 | 2020-03-25T17:22:51.000Z | 2020-08-17T00:33:04.000Z | PolyDock/PolyDock/src/pd/ecs/sys/tabsHeader/TabsHeaderWidgetInitialization.cpp | Qt-Widgets/PolyDock | f32def214753ca0f6bab9968bc2bb5e451cb6e4f | [
"MIT"
] | 5 | 2020-03-26T17:12:34.000Z | 2021-03-05T08:08:39.000Z | #include <pd/pch/PCH.h>
#include <pd/ecs/sys/tabsHeader/TabsHeaderWidgetInitialization.hpp>
// in
#include <pd/ecs/cmp/root/WidgetsOwner.hpp>
#include <pd/ecs/cmp/tabsHeader/TabsHeader.hpp>
// out
#include <pd/ecs/cmp/tabsHeader/TabsHeaderWidget.hpp>
using namespace ::pd::ecs::sys;
using namespace ::pd::ecs::cmp::tab... | 32.5 | 108 | 0.662564 | PolyEngineTeam |
eea29162b741fcea70ed1e2656100faae3a3c022 | 2,499 | cpp | C++ | src/graph/src/abstract_right_vertex.cpp | graph-alg/graph-algorithms | c03193d4e2236ec02e8608729732d9556a9af541 | [
"BSL-1.0"
] | null | null | null | src/graph/src/abstract_right_vertex.cpp | graph-alg/graph-algorithms | c03193d4e2236ec02e8608729732d9556a9af541 | [
"BSL-1.0"
] | null | null | null | src/graph/src/abstract_right_vertex.cpp | graph-alg/graph-algorithms | c03193d4e2236ec02e8608729732d9556a9af541 | [
"BSL-1.0"
] | null | null | null |
#include "graph/abstract_right_vertex.h"
namespace scnu {
/**
* @details construct a new right vertex with the given right vertex id
* @param right_vertex_id
*/
abstract_right_vertex::abstract_right_vertex(uint64_t other_right_vertex_id) : right_vertex_id(
other_right_vertex_id), ed... | 29.75 | 116 | 0.647859 | graph-alg |
eea3f59d395a6faad1807eef76af93961dc1cbc6 | 2,590 | cc | C++ | lib/tests/util/file.cc | whopper/facter | f034727b92992f6f56a76ae1c925e668a7b07161 | [
"Apache-2.0"
] | 1 | 2015-03-27T10:33:40.000Z | 2015-03-27T10:33:40.000Z | lib/tests/util/file.cc | ferventcoder/facter | f034727b92992f6f56a76ae1c925e668a7b07161 | [
"Apache-2.0"
] | null | null | null | lib/tests/util/file.cc | ferventcoder/facter | f034727b92992f6f56a76ae1c925e668a7b07161 | [
"Apache-2.0"
] | null | null | null | #include <catch.hpp>
#include <facter/util/file.hpp>
#include <facter/util/string.hpp>
#include <boost/algorithm/string.hpp>
#include "../fixtures.hpp"
using namespace std;
using namespace facter::util;
using namespace facter::testing;
SCENARIO("reading each line of a file") {
string fixture_path = "util/multilin... | 33.636364 | 90 | 0.583398 | whopper |
eea68c976ee01e7c043802c4ea143bd9cafd0224 | 4,293 | cpp | C++ | Plugins/DynamicalSystems/Source/DynamicalSystems/Private/SignalGenerator.cpp | darlai/UnrealGAMS | 7797bd0b555c2a49c38327d6026dbdd25aa32fab | [
"BSD-3-Clause"
] | 7 | 2019-02-19T23:28:25.000Z | 2021-09-06T16:23:49.000Z | Plugins/DynamicalSystems/Source/DynamicalSystems/Private/SignalGenerator.cpp | darlai/UnrealGAMS | 7797bd0b555c2a49c38327d6026dbdd25aa32fab | [
"BSD-3-Clause"
] | 1 | 2019-02-19T21:46:07.000Z | 2019-02-19T21:46:07.000Z | Plugins/DynamicalSystems/Source/DynamicalSystems/Private/SignalGenerator.cpp | darlai/UnrealGAMS | 7797bd0b555c2a49c38327d6026dbdd25aa32fab | [
"BSD-3-Clause"
] | 8 | 2019-02-18T18:00:25.000Z | 2019-07-12T19:33:36.000Z | #include "SignalGenerator.h"
#include "DynamicsCommon.h"
static float NORMINV (float probability, float mean, float standard_deviation);
USignalGenerator::USignalGenerator()
{
PrimaryComponentTick.bCanEverTick = true;
}
void USignalGenerator::BeginPlay()
{
Super::BeginPlay();
}
void USignalGenerator::TickComponen... | 34.620968 | 139 | 0.561845 | darlai |
eea7e1d8077da7cc32f6f11277eba00199d03efa | 3,929 | hh | C++ | src/base/KernelParamCalculator.cuda.hh | sethrj/celeritas | 44395a039e223604365256a13f96c7742cdf5e09 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/base/KernelParamCalculator.cuda.hh | sethrj/celeritas | 44395a039e223604365256a13f96c7742cdf5e09 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/base/KernelParamCalculator.cuda.hh | sethrj/celeritas | 44395a039e223604365256a13f96c7742cdf5e09 | [
"Apache-2.0",
"MIT"
] | null | null | null | //---------------------------------*-CUDA-*----------------------------------//
// Copyright 2020 UT-Battelle, LLC, and other Celeritas developers.
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: (Apache-2.0 OR MIT)
//-------------------------------------------------------------------------... | 31.432 | 80 | 0.565284 | sethrj |
eead9e4602e74ed3dc40dac7fc551f54591bd968 | 1,841 | cpp | C++ | client/client.cpp | Prolifer/APP6 | 636f3f8a9a1d74a319bc1d84824e5b0216796126 | [
"Apache-2.0"
] | 1 | 2018-07-21T16:10:37.000Z | 2018-07-21T16:10:37.000Z | client/client.cpp | Prolifer/APP6 | 636f3f8a9a1d74a319bc1d84824e5b0216796126 | [
"Apache-2.0"
] | null | null | null | client/client.cpp | Prolifer/APP6 | 636f3f8a9a1d74a319bc1d84824e5b0216796126 | [
"Apache-2.0"
] | null | null | null | /*
Simple udp client
Silver Moon (m00n.silv3r@gmail.com)
*/
#include<stdio.h>
#include<winsock2.h>
#pragma comment(lib,"ws2_32.lib") //Winsock Library
#pragma warning (disable : 4996)
#define SERVER "127.0.0.1" //ip address of udp server
#define BUFLEN 512 //Max length of buffer
#define PORT 8888 //The port on w... | 24.223684 | 98 | 0.683867 | Prolifer |
eeaebe5d79cb4fc459e79d0a5b55e50b39744c4c | 516 | hpp | C++ | include/Assets/Texture.hpp | InDieTasten/IDT.EXP | 6d6229d5638297ba061b188edbbe394df33d70b0 | [
"MIT"
] | null | null | null | include/Assets/Texture.hpp | InDieTasten/IDT.EXP | 6d6229d5638297ba061b188edbbe394df33d70b0 | [
"MIT"
] | 56 | 2015-04-04T00:09:38.000Z | 2015-08-02T23:39:13.000Z | include/Assets/Texture.hpp | InDieTasten-Legacy/--EXP-old- | 6d6229d5638297ba061b188edbbe394df33d70b0 | [
"MIT"
] | 1 | 2015-05-08T19:23:51.000Z | 2015-05-08T19:23:51.000Z | #ifndef _Texture_hpp_
#define _Texture_hpp_
#include <SFML\Graphics.hpp>
#include <string>
#include <Utilities\Logger.hpp>
#include <Utilities\Conversion.hpp>
extern void EXP::log(std::string);
class Texture
{
private:
sf::Texture* data;
const std::string* id;
std::string path;
public:
Texture... | 17.2 | 53 | 0.662791 | InDieTasten |
eeb00199d581ec31a9c5c0a7168bc4ab149f3532 | 230 | hpp | C++ | tests/class/subclass.src.hpp | pshoben/reflang | bf3532bbd8e18d43ac538d44d13c37ee6fbc6a35 | [
"MIT"
] | 263 | 2016-12-31T22:17:16.000Z | 2022-03-25T06:28:27.000Z | tests/class/subclass.src.hpp | pshoben/reflang | bf3532bbd8e18d43ac538d44d13c37ee6fbc6a35 | [
"MIT"
] | 2 | 2018-04-06T15:09:38.000Z | 2022-03-21T07:23:51.000Z | tests/class/subclass.src.hpp | pshoben/reflang | bf3532bbd8e18d43ac538d44d13c37ee6fbc6a35 | [
"MIT"
] | 27 | 2017-01-01T00:06:43.000Z | 2022-01-10T14:32:33.000Z | #ifndef SUBCLASS_SRC_HPP
#define SUBCLASS_SRC_HPP
class MyClass {
public:
class Subclass
{
public:
int field = 0;
static int static_field;
void method();
static void static_method();
};
};
#endif //SUBCLASS_SRC_HPP
| 12.777778 | 30 | 0.717391 | pshoben |
eeb128e8ba748de9978f06fb3411a5d32b485bf1 | 2,023 | cpp | C++ | src/expander/dctcp.cpp | Flasew/opera-sim | 1f64017883689c115b8442acab7ef52846ab2c18 | [
"BSD-3-Clause"
] | null | null | null | src/expander/dctcp.cpp | Flasew/opera-sim | 1f64017883689c115b8442acab7ef52846ab2c18 | [
"BSD-3-Clause"
] | null | null | null | src/expander/dctcp.cpp | Flasew/opera-sim | 1f64017883689c115b8442acab7ef52846ab2c18 | [
"BSD-3-Clause"
] | null | null | null | // -*- c-basic-offset: 4; tab-width: 8; indent-tabs-mode: t -*-
#include "dctcp.h"
#include "ecn.h"
#include "mtcp.h"
#include "config.h"
string ntoa(double n);
////////////////////////////////////////////////////////////////
// DCTCP SOURCE
///////////////////////////////////////////////////////... | 24.083333 | 149 | 0.548196 | Flasew |
eeb305a88bee8f0e21b205684d24b19ca4631f65 | 18,322 | cc | C++ | paddle/fluid/operators/math/jit_kernel_crf_decode.cc | jiayouff/Paddle | ed9cdb56f336fe573a65da8202813e5e326de7e8 | [
"Apache-2.0"
] | 2 | 2019-03-08T03:04:48.000Z | 2019-03-08T03:05:15.000Z | paddle/fluid/operators/math/jit_kernel_crf_decode.cc | DarrenChanChenChi/Paddle | dc76e4b0f1f9abe61c3886382a004c929379e870 | [
"Apache-2.0"
] | null | null | null | paddle/fluid/operators/math/jit_kernel_crf_decode.cc | DarrenChanChenChi/Paddle | dc76e4b0f1f9abe61c3886382a004c929379e870 | [
"Apache-2.0"
] | null | null | null | /* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agr... | 62.108475 | 80 | 0.39488 | jiayouff |
eeb311388af7bf7f3c581195e569265797ffbbfc | 2,746 | cpp | C++ | ref/src/Chapter06/Shape Manipulation with matrices/C2DMatrix.cpp | kugao222/geneticAlgorithmInLua | 9bfd2a443f9492759027791a2b2b41b9467241b2 | [
"MIT"
] | null | null | null | ref/src/Chapter06/Shape Manipulation with matrices/C2DMatrix.cpp | kugao222/geneticAlgorithmInLua | 9bfd2a443f9492759027791a2b2b41b9467241b2 | [
"MIT"
] | null | null | null | ref/src/Chapter06/Shape Manipulation with matrices/C2DMatrix.cpp | kugao222/geneticAlgorithmInLua | 9bfd2a443f9492759027791a2b2b41b9467241b2 | [
"MIT"
] | null | null | null | #include "C2DMatrix.h"
/////////////////////////////////////////////////////////////////////
//
// Matrix functions
//
/////////////////////////////////////////////////////////////////////
//create an identity matrix
void C2DMatrix::Identity()
{
m_Matrix._11 = 1.0f; m_Matrix._12 = 0.0f; m_Matrix._13 = 0.0f;
m_Matri... | 26.152381 | 90 | 0.626366 | kugao222 |
eeba56b410a084b953df793f31c642f9c72498f1 | 1,412 | cpp | C++ | src_blockchain/bc/exceptions.cpp | alinous-core/codable-cash | 32a86a152a146c592bcfd8cc712f4e8cb38ee1a0 | [
"MIT"
] | 6 | 2019-01-06T05:02:39.000Z | 2020-10-01T11:45:32.000Z | src_blockchain/bc/exceptions.cpp | Codablecash/codablecash | 8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9 | [
"MIT"
] | 209 | 2018-05-18T03:07:02.000Z | 2022-03-26T11:42:41.000Z | src_blockchain/bc/exceptions.cpp | Codablecash/codablecash | 8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9 | [
"MIT"
] | 3 | 2019-07-06T09:16:36.000Z | 2020-10-15T08:23:28.000Z | /*
* exceptions.cpp
*
* Created on: 2019/01/14
* Author: iizuka
*/
#include "bc/exceptions.h"
#include "base/UnicodeString.h"
namespace codablecash {
const wchar_t* MulformattedTransactionBinaryException::defaultMessage = L"Format of Transaction binary is wrong. ";
MulformattedTransactionBinaryException:... | 42.787879 | 211 | 0.803116 | alinous-core |
eebccc4701309dede43ccd7870fad2614e621902 | 1,103 | cpp | C++ | codebook/Computational_Geometry/Convex_Andrew_Monotone.cpp | NTNU-import-magic/Codebook | 0ea1abae817898e12e9ab5261590adcc66b8c899 | [
"Unlicense"
] | null | null | null | codebook/Computational_Geometry/Convex_Andrew_Monotone.cpp | NTNU-import-magic/Codebook | 0ea1abae817898e12e9ab5261590adcc66b8c899 | [
"Unlicense"
] | 1 | 2020-12-27T17:49:02.000Z | 2021-08-13T14:30:33.000Z | codebook/Computational_Geometry/Convex_Andrew_Monotone.cpp | NTNU-import-magic/codebook | 0ea1abae817898e12e9ab5261590adcc66b8c899 | [
"Unlicense"
] | null | null | null | struct vec{
int x,y;
vec operator-(vec a){return vec{x-a.x,y-a.y};}
int cross(vec a){return x*a.y-y*a.x;}
};
bool comp(const vec &a, const vec &b){return a.x < b.x || (a.x == b.x && a.y < b.y);}
vector<vec> &convex(vector<vec> &pt){
sort(pt.begin(),pt.end(),comp);
vector<vec> &conv = *(new vector<ve... | 31.514286 | 85 | 0.49864 | NTNU-import-magic |
eebe274c9940a5cd511a6fb54a7e041d70c95f24 | 338 | hpp | C++ | Tests/Utility Tests/Profiler_Test.hpp | KingKiller100/kLibrary | 37971acd3c54f9ea0decdf78b13e47c935d4bbf0 | [
"Apache-2.0"
] | null | null | null | Tests/Utility Tests/Profiler_Test.hpp | KingKiller100/kLibrary | 37971acd3c54f9ea0decdf78b13e47c935d4bbf0 | [
"Apache-2.0"
] | null | null | null | Tests/Utility Tests/Profiler_Test.hpp | KingKiller100/kLibrary | 37971acd3c54f9ea0decdf78b13e47c935d4bbf0 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "../../Source/Testing/TesterBase.hpp"
#ifdef TESTING_ENABLED
namespace kTest::utility
{
class ProfilerTester : public TesterBase
{
public:
ProfilerTester();
~ProfilerTester() override;
protected:
void Prepare() noexcept override;
private:
void MillisecondsTest();
void SecondsTes... | 15.363636 | 46 | 0.721893 | KingKiller100 |
eec173877547531157cb28bdac1e1a72124913c5 | 7,862 | cpp | C++ | core/test/matrix/dense.cpp | flipflapflop/ginkgo | 876234e142a0f5bb2a85bb1dd2cc488c3c5d6206 | [
"BSD-3-Clause"
] | null | null | null | core/test/matrix/dense.cpp | flipflapflop/ginkgo | 876234e142a0f5bb2a85bb1dd2cc488c3c5d6206 | [
"BSD-3-Clause"
] | null | null | null | core/test/matrix/dense.cpp | flipflapflop/ginkgo | 876234e142a0f5bb2a85bb1dd2cc488c3c5d6206 | [
"BSD-3-Clause"
] | null | null | null | /*******************************<GINKGO LICENSE>******************************
Copyright (c) 2017-2019, the Ginkgo 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:
1. Redistributions of source co... | 27.780919 | 78 | 0.613076 | flipflapflop |
eec2733cd5c413c84473148953ea9e381b42a212 | 1,106 | cpp | C++ | CppPrimer/CppPrimer-Exercises/CppPrimer-Ch10/Exercise10.12.cpp | alaxion/Learning | 4b12b1603419252103cd933fdbfc4b2faffb6d00 | [
"MIT"
] | null | null | null | CppPrimer/CppPrimer-Exercises/CppPrimer-Ch10/Exercise10.12.cpp | alaxion/Learning | 4b12b1603419252103cd933fdbfc4b2faffb6d00 | [
"MIT"
] | null | null | null | CppPrimer/CppPrimer-Exercises/CppPrimer-Ch10/Exercise10.12.cpp | alaxion/Learning | 4b12b1603419252103cd933fdbfc4b2faffb6d00 | [
"MIT"
] | null | null | null | // Exercise10.12.cpp
// Ad
// Write a function named compareIsbn that compares the isbn() memebers of two Sales_data objects.
// Use that function to sort a vector that holds Sales_data objects.
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
// class -------------------------------------... | 25.136364 | 98 | 0.512658 | alaxion |
eec38e2783e5081aa6c722b76dfab94c83b67ac9 | 5,043 | cxx | C++ | dune/xt/data/quadratures/gausslobatto/data/gausslobatto68.cxx | dune-community/dune-xt-data | 32593bbcd52ed69b0a11963400a9173740089a75 | [
"BSD-2-Clause"
] | 1 | 2020-02-08T04:09:11.000Z | 2020-02-08T04:09:11.000Z | dune/xt/data/quadratures/gausslobatto/data/gausslobatto68.cxx | dune-community/dune-xt-data | 32593bbcd52ed69b0a11963400a9173740089a75 | [
"BSD-2-Clause"
] | 40 | 2018-08-26T08:34:34.000Z | 2021-09-28T13:01:55.000Z | dune/xt/data/quadratures/gausslobatto/data/gausslobatto68.cxx | dune-community/dune-xt-data | 32593bbcd52ed69b0a11963400a9173740089a75 | [
"BSD-2-Clause"
] | 1 | 2020-02-08T04:10:14.000Z | 2020-02-08T04:10:14.000Z | // This file is part of the dune-xt-data project:
// https://github.com/dune-community/dune-xt-data
// Copyright 2009-2018 dune-xt-data developers and contributors. All rights reserved.
// License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
// or GPL-2.0+ (http://opensou... | 54.225806 | 95 | 0.706722 | dune-community |
eec38eac878d0e502544bdee65cbb4027f03ceda | 1,511 | cpp | C++ | gamegio-library/src/gamegio/VolumeItem.cpp | tril0byte/HGamer3D | 7979c67d9b4672a5b2d1a50320a6d47b1a97ff05 | [
"Apache-2.0"
] | 27 | 2015-06-08T16:45:47.000Z | 2022-02-22T14:40:52.000Z | gamegio-library/src/gamegio/VolumeItem.cpp | tril0byte/HGamer3D | 7979c67d9b4672a5b2d1a50320a6d47b1a97ff05 | [
"Apache-2.0"
] | 18 | 2015-04-20T20:42:02.000Z | 2020-12-11T03:46:17.000Z | gamegio-library/src/gamegio/VolumeItem.cpp | tril0byte/HGamer3D | 7979c67d9b4672a5b2d1a50320a6d47b1a97ff05 | [
"Apache-2.0"
] | 4 | 2017-06-20T13:24:18.000Z | 2021-10-07T19:18:03.000Z | // C++ part of bindings for audio
// HGamer3D Library (A project to enable 3D game development in Haskell)
// Copyright 2015 - 2017 Peter Althainz
//
// Distributed under the Apache License, Version 2.0
// (See attached file LICENSE or copy at
// http://www.apache.org/licenses/LICENSE-2.0)
//
// file: gamegio-librar... | 20.418919 | 72 | 0.718068 | tril0byte |
eec84dd0a375c1e49f5bb7765f0bdf0555f0116b | 1,126 | cpp | C++ | car.cpp | Mount256/PVZ_Qt | 3d0eece4e86f46faa18a861e979df05550b4a19e | [
"Apache-2.0"
] | 1 | 2020-12-29T07:27:38.000Z | 2020-12-29T07:27:38.000Z | car.cpp | Mount256/PVZ_Qt | 3d0eece4e86f46faa18a861e979df05550b4a19e | [
"Apache-2.0"
] | null | null | null | car.cpp | Mount256/PVZ_Qt | 3d0eece4e86f46faa18a861e979df05550b4a19e | [
"Apache-2.0"
] | 2 | 2020-10-19T07:16:12.000Z | 2021-09-28T07:01:22.000Z | #include "car.h"
Car::Car(int i)
{
isRun = 0; ATK = 10000;
setPos(160, 110+100*i);
setZValue(7);
}
Car::~Car()
{
}
QRectF Car::boundingRect() const
{
return QRectF(0, 0, 70, 50);
}
void Car::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
{
Q_UNUSED(option);
... | 21.653846 | 106 | 0.577265 | Mount256 |
eece941ddce368330da4392bbc3eb8c649f29816 | 1,229 | cpp | C++ | graph-source-code/131-D/11332356.cpp | AmrARaouf/algorithm-detection | 59f3028d2298804870b32729415d71eec6116557 | [
"MIT"
] | null | null | null | graph-source-code/131-D/11332356.cpp | AmrARaouf/algorithm-detection | 59f3028d2298804870b32729415d71eec6116557 | [
"MIT"
] | null | null | null | graph-source-code/131-D/11332356.cpp | AmrARaouf/algorithm-detection | 59f3028d2298804870b32729415d71eec6116557 | [
"MIT"
] | null | null | null | //Language: GNU C++
# include <bits/stdc++.h>
using namespace std;
const int maxn = 5000;
int n;
int mark[maxn];
int dis[maxn];
int hd[maxn] , hb[maxn];
vector <int> c;
vector <int> adj[maxn];
void dfs(int v,int par){
mark[v] = 1;
for(int i=0 ; i<adj[v].size() ; i++){
int u = adj[v][i];
if(mark[u] && u != pa... | 15.75641 | 39 | 0.482506 | AmrARaouf |
eed1323154a5b3a026e58d9c4b1cabe645df47ad | 16,273 | cpp | C++ | source/Aria/Editor/StcTextEditor.cpp | DragonJoker/Aria | 6781eec71ad254d56e72145fea06ba98802d0556 | [
"MIT"
] | 2 | 2021-05-12T14:29:19.000Z | 2021-05-12T19:42:28.000Z | source/Aria/Editor/StcTextEditor.cpp | DragonJoker/Aria | 6781eec71ad254d56e72145fea06ba98802d0556 | [
"MIT"
] | 11 | 2021-05-11T19:50:27.000Z | 2022-03-23T13:56:32.000Z | source/Aria/Editor/StcTextEditor.cpp | DragonJoker/Aria | 6781eec71ad254d56e72145fea06ba98802d0556 | [
"MIT"
] | null | null | null | #include "Editor/StcTextEditor.hpp"
#include "StringUtils.hpp"
#include "Editor/LanguageInfo.hpp"
#include "Editor/StyleInfo.hpp"
#include <wx/filename.h>
#include <algorithm>
namespace aria
{
namespace
{
enum gcID
{
gcID_FINDNEXT,
gcID_REPLACE,
gcID_REPLACENEXT,
gcID_BRACEMATCH,
gcID_GOTO,
... | 30.079482 | 129 | 0.715295 | DragonJoker |
eed37730cc718ecf052a06808ee5d1ff71009563 | 8,635 | hpp | C++ | include/codegen/include/Zenject/MemoryPoolBase_1.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/Zenject/MemoryPoolBase_1.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/Zenject/MemoryPoolBase_1.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:10:44 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: System.Object
#include "System/Object.hpp"
// Including type... | 40.539906 | 166 | 0.708628 | Futuremappermydud |
eed52a325a28ddddd30da74fe72f29e2fc9b8983 | 2,142 | cpp | C++ | Systems/Content/VectorContent.cpp | jodavis42/ZeroPhysicsTestbed | e84a3f6faf16b7a4242dc049121b5338e80039f8 | [
"MIT"
] | 52 | 2018-09-11T17:18:35.000Z | 2022-03-13T15:28:21.000Z | Systems/Content/VectorContent.cpp | jodavis42/ZeroPhysicsTestbed | e84a3f6faf16b7a4242dc049121b5338e80039f8 | [
"MIT"
] | 1,409 | 2018-09-19T18:03:43.000Z | 2021-06-09T08:33:33.000Z | Systems/Content/VectorContent.cpp | jodavis42/ZeroPhysicsTestbed | e84a3f6faf16b7a4242dc049121b5338e80039f8 | [
"MIT"
] | 26 | 2018-09-11T17:16:32.000Z | 2021-11-22T06:21:19.000Z | ///////////////////////////////////////////////////////////////////////////////
///
/// \file VectorContent.cpp
/// Implementation of Vector content classes.
///
/// Authors: Chris Peters
/// Copyright 2010, DigiPen Institute of Technology
///
///////////////////////////////////////////////////////////////////... | 30.6 | 143 | 0.639122 | jodavis42 |
eed7d6aa4f4f0c512b5f50da5337a7272f0c66c2 | 4,956 | cpp | C++ | src/libs/qlib/qprocess.cpp | 3dhater/Racer | d7fe4014b1efefe981528547649dc397da7fa780 | [
"Unlicense"
] | null | null | null | src/libs/qlib/qprocess.cpp | 3dhater/Racer | d7fe4014b1efefe981528547649dc397da7fa780 | [
"Unlicense"
] | null | null | null | src/libs/qlib/qprocess.cpp | 3dhater/Racer | d7fe4014b1efefe981528547649dc397da7fa780 | [
"Unlicense"
] | 1 | 2021-01-03T16:16:47.000Z | 2021-01-03T16:16:47.000Z | /*
* QProcess - process and process group control
* 31-03-00: Created!
* NOTES:
* - Created from Medit's main.cpp
* (c) MarketGraph/RVG
*/
#include <qlib/process.h>
#ifdef linux
// Prototypes for getsid()
#include <unistd.h>
extern __pid_t getsid(__pid_t __pid) __THROW;
#endif
#include <qlib/debug.h>
DEBUG_ENABL... | 28.813953 | 76 | 0.661421 | 3dhater |
eed84fd0fb17f95a306e2fe3578082ed55b6f276 | 15,128 | cpp | C++ | openstudiocore/src/shared_gui_components/BuildingComponentDialogCentralWidget.cpp | hellok-coder/OS-Testing | e9e18ad9e99f709a3f992601ed8d2e0662175af4 | [
"blessing"
] | 1 | 2019-11-12T02:07:03.000Z | 2019-11-12T02:07:03.000Z | openstudiocore/src/shared_gui_components/BuildingComponentDialogCentralWidget.cpp | hellok-coder/OS-Testing | e9e18ad9e99f709a3f992601ed8d2e0662175af4 | [
"blessing"
] | 1 | 2019-02-04T23:30:45.000Z | 2019-02-04T23:30:45.000Z | openstudiocore/src/shared_gui_components/BuildingComponentDialogCentralWidget.cpp | hellok-coder/OS-Testing | e9e18ad9e99f709a3f992601ed8d2e0662175af4 | [
"blessing"
] | null | null | null | /***********************************************************************************************************************
* OpenStudio(R), Copyright (c) 2008-2019, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without m... | 33.69265 | 171 | 0.716089 | hellok-coder |
eed87cda5296393a0d1b3fe0131ff72f5ce8a960 | 2,512 | cpp | C++ | sources/Application/Utils/HexBuffers.cpp | haiko21/LittleGPTracker | 0f137aa67dfd86379b830cc51ba900b9423127ce | [
"BSD-3-Clause"
] | 66 | 2015-01-29T09:12:51.000Z | 2022-03-23T19:20:49.000Z | sources/Application/Utils/HexBuffers.cpp | haiko21/LittleGPTracker | 0f137aa67dfd86379b830cc51ba900b9423127ce | [
"BSD-3-Clause"
] | 18 | 2015-08-19T19:50:31.000Z | 2021-10-12T02:33:09.000Z | sources/Application/Utils/HexBuffers.cpp | haiko21/LittleGPTracker | 0f137aa67dfd86379b830cc51ba900b9423127ce | [
"BSD-3-Clause"
] | 20 | 2015-08-19T00:46:57.000Z | 2022-03-14T13:44:49.000Z |
#include "HexBuffers.h"
#include "Application/Utils/char.h"
#define XML_CUT_LENGTH 64
void prepareHexChunk(TiXmlElement &d,unsigned char *datasrc,int len) {
bool singleValue=true ;
int singleValueData=-1 ;
unsigned char hexBuffer[XML_CUT_LENGTH*2+1] ;
std::string buffer;
char *hex=(char *)hexBuffer ;
for (in... | 24.627451 | 93 | 0.67914 | haiko21 |
4abff7c44b6ccfcaaf08c35fe783f8c4244543e1 | 696 | hpp | C++ | lib-lc-sprinkler/include/components/info-bar.hpp | leocov-dev/lc-esp32-sprinkler | 816d06bbe7d3a30b8d3d79167dc1b3481ee4261b | [
"MIT"
] | 1 | 2021-01-10T16:06:02.000Z | 2021-01-10T16:06:02.000Z | lib-lc-sprinkler/include/components/info-bar.hpp | leocov-dev/lc-esp32-sprinkler | 816d06bbe7d3a30b8d3d79167dc1b3481ee4261b | [
"MIT"
] | null | null | null | lib-lc-sprinkler/include/components/info-bar.hpp | leocov-dev/lc-esp32-sprinkler | 816d06bbe7d3a30b8d3d79167dc1b3481ee4261b | [
"MIT"
] | null | null | null | #ifndef LC_ESP32_SPRINKLER_LIB_LC_SPRINKLER_INCLUDE_COMPONENTS_INFO_BAR_HPP_
#define LC_ESP32_SPRINKLER_LIB_LC_SPRINKLER_INCLUDE_COMPONENTS_INFO_BAR_HPP_
#include "widgets/widget.hpp"
namespace sprinkler {
namespace widget = lc::widget;
namespace gfx = lc::gfx;
class CInfoBar : public widget::Widget {
publi... | 24 | 79 | 0.772989 | leocov-dev |
4ac06180b9be4bced293f04839ed4323ea7831a4 | 584 | cpp | C++ | picobench/picobench.cpp | iboB/cfc-demos | abb877f8053fd6d3b6e0f9e37dfb59d6fe67d4d5 | [
"MIT"
] | 4 | 2018-12-14T19:19:12.000Z | 2021-09-13T00:14:49.000Z | picobench/picobench.cpp | iboB/cfc-demos | abb877f8053fd6d3b6e0f9e37dfb59d6fe67d4d5 | [
"MIT"
] | null | null | null | picobench/picobench.cpp | iboB/cfc-demos | abb877f8053fd6d3b6e0f9e37dfb59d6fe67d4d5 | [
"MIT"
] | null | null | null | #define PICOBENCH_IMPLEMENT
#include "picobench.hpp"
#include <iostream>
using namespace picobench;
int main()
{
runner run;
#if defined(NDEBUG)
run.set_default_state_iterations({ 20, 50, 100, 1000, 10000 });
run.set_default_samples(10);
#else
run.set_default_state_iterations({ 100, 1000 });
run.... | 19.466667 | 67 | 0.710616 | iboB |
4ac9e3362044e013e0652fd406fd7fa230181398 | 2,440 | cpp | C++ | test/concepts/fundamental.cpp | cjdb/NanoRange | 16d33c66c7869e57dd82ff8673eb5172eff1343d | [
"BSL-1.0"
] | 323 | 2017-10-09T19:46:26.000Z | 2022-03-29T10:44:07.000Z | test/concepts/fundamental.cpp | cjdb/NanoRange | 16d33c66c7869e57dd82ff8673eb5172eff1343d | [
"BSL-1.0"
] | 66 | 2018-05-30T23:54:56.000Z | 2021-03-26T00:20:57.000Z | test/concepts/fundamental.cpp | cjdb/NanoRange | 16d33c66c7869e57dd82ff8673eb5172eff1343d | [
"BSL-1.0"
] | 26 | 2018-06-08T14:01:20.000Z | 2022-02-17T13:31:47.000Z | // cmcstl2 - A concept-enabled C++ standard library
//
// Copyright Casey Carter 2015
//
// Use, modification and distribution is subject to 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)
//
// Project home: https://github.c... | 31.688312 | 73 | 0.731967 | cjdb |
4acf11368a0134a99455481452ca90ed78b51886 | 37,907 | hpp | C++ | include/throwing/unique_ptr.hpp | rockdreamer/throwing_ptr | cd28490ebf9be803497a9fff733de62295d8288e | [
"BSL-1.0"
] | 2 | 2020-12-11T15:46:26.000Z | 2021-02-02T05:26:11.000Z | include/throwing/unique_ptr.hpp | rockdreamer/throwing_ptr | cd28490ebf9be803497a9fff733de62295d8288e | [
"BSL-1.0"
] | null | null | null | include/throwing/unique_ptr.hpp | rockdreamer/throwing_ptr | cd28490ebf9be803497a9fff733de62295d8288e | [
"BSL-1.0"
] | null | null | null | // Copyright Claudio Bantaloukas 2017-2018.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE or copy at
// http://www.boost.org/LICENSE_1_0.txt)
/** \file unique_ptr.hpp throwing/unique_ptr.hpp
* \brief throwing::unique_ptr implementation
*/
#pragma... | 36.838678 | 80 | 0.665471 | rockdreamer |
4acf51a1212932a892c25f44de31795fc391a0a3 | 19,732 | cpp | C++ | src/TN93.cpp | stevenweaver/tn93 | c4ecd5a7e105696d72731a17fc675f88c9c3eb5c | [
"MIT"
] | null | null | null | src/TN93.cpp | stevenweaver/tn93 | c4ecd5a7e105696d72731a17fc675f88c9c3eb5c | [
"MIT"
] | null | null | null | src/TN93.cpp | stevenweaver/tn93 | c4ecd5a7e105696d72731a17fc675f88c9c3eb5c | [
"MIT"
] | null | null | null |
#include "tn93_shared.h"
#ifdef _OPENMP
#include "omp.h"
#endif
#include "argparse.hpp"
using namespace std;
using namespace argparse;
#define HISTOGRAM_BINS 200
#define HISTOGRAM_SLICE ((double)HISTOGRAM_BINS)
char sep = ':';
//---------------------------------------------------------------
void dump_histogram... | 33.614991 | 93 | 0.548652 | stevenweaver |
4ad5c44342a574bcd88bf8e29db2dc82c0b3ef45 | 5,702 | hpp | C++ | src/operator/advection.hpp | vanreeslab/murphy | 01c9c56171fcee33cb3c1c93c25617ccf7b8ff83 | [
"BSD-3-Clause"
] | 1 | 2021-12-01T22:12:56.000Z | 2021-12-01T22:12:56.000Z | src/operator/advection.hpp | vanreeslab/murphy | 01c9c56171fcee33cb3c1c93c25617ccf7b8ff83 | [
"BSD-3-Clause"
] | null | null | null | src/operator/advection.hpp | vanreeslab/murphy | 01c9c56171fcee33cb3c1c93c25617ccf7b8ff83 | [
"BSD-3-Clause"
] | null | null | null | #ifndef SRC_OPERATOR_ADVECTION_HPP_
#define SRC_OPERATOR_ADVECTION_HPP_
#include "core/forloop.hpp"
#include "core/macros.hpp"
// #include "core/pointers.hpp"
#include "core/types.hpp"
#include "operator/stencil.hpp"
#include "time/rkfunctor.hpp"
#include "grid/field.hpp"
#include "core/data.hpp"
typedef enum Advecti... | 45.616 | 156 | 0.577692 | vanreeslab |
4ad67e83f3cef9b54ab3c74d28cf0311537ff99e | 691 | cpp | C++ | examples/geography/geoplot/geoplot_5.cpp | kurogane1031/matplotplusplus | 44d21156edba8effe1e764a8642b0b70590d597b | [
"MIT"
] | 2 | 2020-09-02T14:02:26.000Z | 2020-10-28T07:00:44.000Z | examples/geography/geoplot/geoplot_5.cpp | kurogane1031/matplotplusplus | 44d21156edba8effe1e764a8642b0b70590d597b | [
"MIT"
] | null | null | null | examples/geography/geoplot/geoplot_5.cpp | kurogane1031/matplotplusplus | 44d21156edba8effe1e764a8642b0b70590d597b | [
"MIT"
] | 2 | 2020-09-01T16:22:07.000Z | 2020-09-02T14:02:27.000Z | #include <cmath>
#include <matplot/matplot.h>
int main() {
using namespace matplot;
double lat_seattle = 47.62;
double lon_seattle = -122.33;
double lat_anchorage = 61.20;
double lon_anchorage = -149.9;
auto g = geoplot(std::vector{lat_seattle,lat_anchorage}, std::vector{lon_seattle,lon_ancho... | 23.827586 | 101 | 0.642547 | kurogane1031 |
4ad9c718b6edcb4327419163f81a4e6dde3fdf14 | 2,550 | cpp | C++ | cppcalcpp/lexer.cpp | izik1/cppcalcpp | 9957ba81b572ab34769e32e5e5945d083a9b6d9f | [
"MIT"
] | null | null | null | cppcalcpp/lexer.cpp | izik1/cppcalcpp | 9957ba81b572ab34769e32e5e5945d083a9b6d9f | [
"MIT"
] | null | null | null | cppcalcpp/lexer.cpp | izik1/cppcalcpp | 9957ba81b572ab34769e32e5e5945d083a9b6d9f | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "lexer.h"
#include "token.h"
inline bool isOp(char c) {
return lexerSymbolMap.find(std::string(1, c)) != lexerSymbolMap.end();
}
const std::string wordEnds = "\t\n ";
const std::string numberChars = "1234567890";
inline bool contains(const std::string p_str, const std::string p_substr... | 33.116883 | 102 | 0.674902 | izik1 |
4ada4b6a7f5849316cfaec36bd106517bca71609 | 930 | cpp | C++ | 171.excel-sheet-column-number.cpp | cherlix/leetcode | c436e36c3900d3d3eefdbd47c260bbf09854d1c4 | [
"MIT"
] | null | null | null | 171.excel-sheet-column-number.cpp | cherlix/leetcode | c436e36c3900d3d3eefdbd47c260bbf09854d1c4 | [
"MIT"
] | null | null | null | 171.excel-sheet-column-number.cpp | cherlix/leetcode | c436e36c3900d3d3eefdbd47c260bbf09854d1c4 | [
"MIT"
] | null | null | null | /*
* @lc app=leetcode id=171 lang=cpp
*
* [171] Excel Sheet Column Number
*
* https://leetcode.com/problems/excel-sheet-column-number/description/
*
* algorithms
* Easy (51.15%)
* Total Accepted: 213.2K
* Total Submissions: 416.7K
* Testcase Example: '"A"'
*
* Given a column title as appear in an Excel... | 15 | 77 | 0.474194 | cherlix |
4ada4f9150cd0bb65bcc6d73505dc7c17e80727d | 21,699 | cpp | C++ | src/ui/wxWidgets/PWFiltersDateDlg.cpp | ronys/pwsafe | 39f9525a9f14cc5fe46214367cf714c5770283ef | [
"Artistic-2.0"
] | 578 | 2015-08-18T19:43:05.000Z | 2022-03-27T11:57:07.000Z | src/ui/wxWidgets/PWFiltersDateDlg.cpp | ronys/pwsafe | 39f9525a9f14cc5fe46214367cf714c5770283ef | [
"Artistic-2.0"
] | 521 | 2015-08-27T18:39:33.000Z | 2022-03-24T09:48:00.000Z | src/ui/wxWidgets/PWFiltersDateDlg.cpp | ronys/pwsafe | 39f9525a9f14cc5fe46214367cf714c5770283ef | [
"Artistic-2.0"
] | 160 | 2015-08-18T19:46:09.000Z | 2022-01-31T12:08:24.000Z | /*
* Copyright (c) 2003-2021 Rony Shapiro <ronys@pwsafe.org>.
* 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
*/
/** \file pwFil... | 31.816716 | 198 | 0.673119 | ronys |
4adaa687fe7fa4d83d7a6bf1a33dbb043685a547 | 6,898 | cpp | C++ | DynamicGestures/dlib-18.5/examples/rank_features_ex.cpp | uiuyuty/vsfh | 49f83a7bf043f7ae872dd759a0d32336d90cf1b4 | [
"MIT"
] | 36 | 2015-03-02T09:30:35.000Z | 2020-06-11T07:07:57.000Z | DynamicGestures/dlib-18.5/examples/rank_features_ex.cpp | uiuyuty/vsfh | 49f83a7bf043f7ae872dd759a0d32336d90cf1b4 | [
"MIT"
] | 3 | 2016-04-01T21:28:24.000Z | 2018-03-30T21:39:28.000Z | DynamicGestures/dlib-18.5/examples/rank_features_ex.cpp | uiuyuty/vsfh | 49f83a7bf043f7ae872dd759a0d32336d90cf1b4 | [
"MIT"
] | 17 | 2015-03-02T18:48:45.000Z | 2019-03-12T06:44:08.000Z | // The contents of this file are in the public domain. See LICENSE_FOR_EXAMPLE_PROGRAMS.txt
/*
This is an example illustrating the use of the rank_features() function
from the dlib C++ Library.
This example creates a simple set of data and then shows
you how to use the rank_features() function to f... | 45.084967 | 115 | 0.671789 | uiuyuty |
4adc4b4fcc6e9c29ba718816d1698e8f44f78cb0 | 4,570 | cpp | C++ | src/unit_tests/test_plane_sw_normal_modes.cpp | valentinaschueller/sweet | 27e99c7a110c99deeadee70688c186d82b39ac90 | [
"MIT"
] | 6 | 2017-11-20T08:12:46.000Z | 2021-03-11T15:32:36.000Z | src/unit_tests/test_plane_sw_normal_modes.cpp | valentinaschueller/sweet | 27e99c7a110c99deeadee70688c186d82b39ac90 | [
"MIT"
] | 4 | 2018-02-02T21:46:33.000Z | 2022-01-11T11:10:27.000Z | src/unit_tests/test_plane_sw_normal_modes.cpp | valentinaschueller/sweet | 27e99c7a110c99deeadee70688c186d82b39ac90 | [
"MIT"
] | 12 | 2016-03-01T18:33:34.000Z | 2022-02-08T22:20:31.000Z | /*
* test_plane_sw_normal_mode.cpp
*
* Created on: 14 Nov 2019
* Author: Pedro Peixoto <ppeixoto@usp.br>
*/
#if !SWEET_USE_PLANE_SPECTRAL_SPACE
#error "Spectral space not activated"
#endif
#if SWEET_GUI
# error "GUI not supported"
#endif
#include <sweet/plane/PlaneData.hpp>
#include <sweet/SimulationV... | 27.365269 | 151 | 0.632166 | valentinaschueller |
4adf0536b273a8a875deeb19726d2a7b3ed96786 | 9,011 | cc | C++ | xic/src/cd/cd_memmgr.cc | wrcad/xictools | f46ba6d42801426739cc8b2940a809b74f1641e2 | [
"Apache-2.0"
] | 73 | 2017-10-26T12:40:24.000Z | 2022-03-02T16:59:43.000Z | xic/src/cd/cd_memmgr.cc | chris-ayala/xictools | 4ea72c118679caed700dab3d49a8d36445acaec3 | [
"Apache-2.0"
] | 12 | 2017-11-01T10:18:22.000Z | 2022-03-20T19:35:36.000Z | xic/src/cd/cd_memmgr.cc | chris-ayala/xictools | 4ea72c118679caed700dab3d49a8d36445acaec3 | [
"Apache-2.0"
] | 34 | 2017-10-06T17:04:21.000Z | 2022-02-18T16:22:03.000Z |
/*========================================================================*
* *
* Distributed by Whiteley Research Inc., Sunnyvale, California, USA *
* http://wrcad.com *
* Copyright (... | 30.545763 | 79 | 0.506714 | wrcad |
4adf4ed5e6028310f1afc3d288f03913ccd187f0 | 19,744 | cpp | C++ | MoreTeapots/app/src/main/jni/MoreTeapotsRenderer.cpp | NativeCodeSamples/android-ndk | a64ad03b229e1fc5d8be870e107f6fac5e4658f3 | [
"Apache-2.0"
] | 1 | 2021-06-07T12:28:22.000Z | 2021-06-07T12:28:22.000Z | MoreTeapots/app/src/main/jni/MoreTeapotsRenderer.cpp | NativeCodeSamples/android-ndk | a64ad03b229e1fc5d8be870e107f6fac5e4658f3 | [
"Apache-2.0"
] | null | null | null | MoreTeapots/app/src/main/jni/MoreTeapotsRenderer.cpp | NativeCodeSamples/android-ndk | a64ad03b229e1fc5d8be870e107f6fac5e4658f3 | [
"Apache-2.0"
] | 1 | 2019-02-25T11:55:44.000Z | 2019-02-25T11:55:44.000Z | /*
* Copyright 2013 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 35.510791 | 117 | 0.553788 | NativeCodeSamples |
4ae0462975317a4cff028cc7b303f889e6c7b846 | 8,046 | hpp | C++ | src/AsynchronousReader.hpp | PhilPalmer/REAL | c56b9d96f6028295556a6e8bf73a56df8975f189 | [
"MIT"
] | 2 | 2017-02-18T18:54:28.000Z | 2017-06-30T11:17:28.000Z | src/AsynchronousReader.hpp | PhilPalmer/REAL | c56b9d96f6028295556a6e8bf73a56df8975f189 | [
"MIT"
] | 1 | 2018-11-23T17:17:06.000Z | 2018-11-23T19:47:20.000Z | src/AsynchronousReader.hpp | PhilPalmer/REAL | c56b9d96f6028295556a6e8bf73a56df8975f189 | [
"MIT"
] | 2 | 2015-11-26T08:40:09.000Z | 2016-04-01T07:01:54.000Z | #if !defined(ASYNCHRONOUSREADER_HPP)
#define ASYNCHRONOUSREADER_HPP
#include "AutoArray.hpp"
#include "TerminatableSynchronousQueue.hpp"
#if defined(HAVE_PTHREADS) || defined(__APPLE__)
template<typename reader_type>
struct AsynchronousStreamReaderData
{
typedef typename reader_type::pattern_type pattern_type... | 30.593156 | 118 | 0.526846 | PhilPalmer |
4ae0f3c07ee589a8740beaf38c71b7265dd6724d | 996 | cpp | C++ | src/libs/advanceddockingsystem/DockingStateReader.cpp | arttnba3/ICTFE | b371ba91e3b8a203997fca5e07c052bbfad10d1d | [
"MIT"
] | 703 | 2015-03-07T15:30:40.000Z | 2022-03-30T00:12:40.000Z | src/libs/advanceddockingsystem/DockingStateReader.cpp | arttnba3/ICTFE | b371ba91e3b8a203997fca5e07c052bbfad10d1d | [
"MIT"
] | 233 | 2015-01-11T16:54:32.000Z | 2022-03-19T18:00:47.000Z | src/libs/advanceddockingsystem/DockingStateReader.cpp | arttnba3/ICTFE | b371ba91e3b8a203997fca5e07c052bbfad10d1d | [
"MIT"
] | 101 | 2016-10-28T14:05:10.000Z | 2022-03-30T19:00:59.000Z | //============================================================================
/// \file DockingStateReader.cpp
/// \author Uwe Kindler
/// \date 29.11.2019
/// \brief Implementation of CDockingStateReader
//============================================================================
//===========================... | 32.129032 | 78 | 0.308233 | arttnba3 |
4ae13652dbfe677c1a2d7274d01786de74dc1b96 | 63,308 | cpp | C++ | source/ashes/ashes.cpp | DragonJoker/Ashes | a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e | [
"MIT"
] | 227 | 2018-09-17T16:03:35.000Z | 2022-03-19T02:02:45.000Z | source/ashes/ashes.cpp | DragonJoker/RendererLib | 0f8ad8edec1b0929ebd10247d3dd0a9ee8f8c91a | [
"MIT"
] | 39 | 2018-02-06T22:22:24.000Z | 2018-08-29T07:11:06.000Z | source/ashes/ashes.cpp | DragonJoker/Ashes | a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e | [
"MIT"
] | 8 | 2019-05-04T10:33:32.000Z | 2021-04-05T13:19:27.000Z | #include "ashes_plugin.hpp"
#include "common/FileUtils.hpp"
#include <algorithm>
#pragma GCC diagnostic ignored "-Wmissing-declarations"
#pragma GCC diagnostic ignored "-Wmissing-prototypes"
#if defined( CreateEvent )
# undef CreateEvent
#endif
static PluginLibrary g_library;
namespace details
{
namespace
{
b... | 47.209545 | 430 | 0.820275 | DragonJoker |
4aede988c10969138cf9c75a1db79a4a4b8c488f | 18,002 | cpp | C++ | source/blood/src/seq.cpp | bisk89/Raze | 1a2663f7ac84d4e4f472e0796b937447ee6fab6b | [
"RSA-MD"
] | 2 | 2020-03-26T10:11:17.000Z | 2021-01-19T08:16:48.000Z | source/blood/src/seq.cpp | bisk89/Raze | 1a2663f7ac84d4e4f472e0796b937447ee6fab6b | [
"RSA-MD"
] | null | null | null | source/blood/src/seq.cpp | bisk89/Raze | 1a2663f7ac84d4e4f472e0796b937447ee6fab6b | [
"RSA-MD"
] | null | null | null | //-------------------------------------------------------------------------
/*
Copyright (C) 2010-2019 EDuke32 developers and contributors
Copyright (C) 2019 Nuke.YKT
This file is part of NBlood.
NBlood is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License versio... | 28.988728 | 152 | 0.543384 | bisk89 |
4af135a7cb95e372f012cda8685f1323996c6a8c | 2,673 | cpp | C++ | Codeorces/STL.cpp | maayami/Data-Structures-Algorithms | f2f7cf808be43b85f35a7b1801460ecc20d75695 | [
"CC0-1.0"
] | 1 | 2020-05-14T18:22:10.000Z | 2020-05-14T18:22:10.000Z | Codeorces/STL.cpp | mayank-genesis/Data-Structures-Algorithms | f2f7cf808be43b85f35a7b1801460ecc20d75695 | [
"CC0-1.0"
] | null | null | null | Codeorces/STL.cpp | mayank-genesis/Data-Structures-Algorithms | f2f7cf808be43b85f35a7b1801460ecc20d75695 | [
"CC0-1.0"
] | null | null | null | #include<bits/stdc++.h>
#include <iostream>
using namespace std;
bool rvs(int x, int y){
return x>y;
}
void vectorDemo(){
vector<int> v = {55, 33, 56, 78, 91, 123};
cout<< v[0]<<"\n";
// O(NlogN)
sort(v.begin(), v.end());
cout<< v[0]<<"\n";
// O(logN)
bool b1 = binary_search(v.begin()... | 20.097744 | 143 | 0.506173 | maayami |
4af2b230e5ffb6f3e87676560d4c8ff35197467d | 5,138 | hpp | C++ | agency/container/bulk_result.hpp | nerikhman/agency | 966ac59101f2fc3561a86b11874fbe8de361d0e4 | [
"BSD-3-Clause"
] | 129 | 2016-08-18T23:24:15.000Z | 2022-03-25T12:06:05.000Z | agency/container/bulk_result.hpp | nerikhman/agency | 966ac59101f2fc3561a86b11874fbe8de361d0e4 | [
"BSD-3-Clause"
] | 86 | 2016-08-19T03:43:33.000Z | 2020-07-20T14:27:41.000Z | agency/container/bulk_result.hpp | nerikhman/agency | 966ac59101f2fc3561a86b11874fbe8de361d0e4 | [
"BSD-3-Clause"
] | 23 | 2016-08-18T23:52:13.000Z | 2022-02-28T16:28:20.000Z | #pragma once
#include <agency/detail/config.hpp>
#include <agency/execution/executor/executor_traits/executor_index.hpp>
#include <agency/execution/executor/executor_traits/executor_shape.hpp>
#include <agency/execution/executor/executor_traits/executor_allocator.hpp>
#include <agency/memory/detail/storage.hpp>
#inclu... | 24.122066 | 107 | 0.643441 | nerikhman |
4af2e8c8178b048bc0e5e4226108f2fd8efee9d0 | 1,090 | cpp | C++ | leetcode/30days-challenge/202005/day3.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | 18 | 2020-08-27T05:27:50.000Z | 2022-03-08T02:56:48.000Z | leetcode/30days-challenge/202005/day3.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | null | null | null | leetcode/30days-challenge/202005/day3.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | 1 | 2020-10-13T05:23:58.000Z | 2020-10-13T05:23:58.000Z | /*
Ransom Note
Given an arbitrary ransom note string and another string containing letters from all the magazines, write a function that will return true if the ransom note can be constructed from the magazines ; otherwise, it will return false.
Each letter in the magazine string can only be used once in your ransom ... | 35.16129 | 230 | 0.681651 | wingkwong |
4af3e9456709e0243f5e03edb712fc24b6241285 | 10,749 | cpp | C++ | flite/src/flite.cpp | Barath-Kannan/flite | 236f91a9a1e60fd25f1deed6d48022567cd7100f | [
"Apache-2.0"
] | 7 | 2017-12-10T23:02:22.000Z | 2021-08-05T21:12:11.000Z | flite/src/flite.cpp | Barath-Kannan/flite | 236f91a9a1e60fd25f1deed6d48022567cd7100f | [
"Apache-2.0"
] | null | null | null | flite/src/flite.cpp | Barath-Kannan/flite | 236f91a9a1e60fd25f1deed6d48022567cd7100f | [
"Apache-2.0"
] | 3 | 2018-10-28T03:47:09.000Z | 2020-06-04T08:54:23.000Z | #include "flite/flite.hpp"
#include "flite/cg/cg.hpp"
#include "flite/utils/alloc.hpp"
#include "flite/utils/tokenstream.hpp"
#include "flite/wavesynth/clunits.hpp"
#include <cassert>
#ifdef WIN32
/* For Visual Studio 2012 global variable definitions */
#define GLOBALVARDEF __declspec(dllexport)
#else
#define GLOBAL... | 29.449315 | 299 | 0.639687 | Barath-Kannan |
4af53f528dade1e9ccfe4881c39e374298aa36d9 | 387 | cpp | C++ | test/ColorMatcher.cpp | Danleb/dithering | 700b8d137a72676bc1487e26596757a11d0c5ded | [
"MIT"
] | null | null | null | test/ColorMatcher.cpp | Danleb/dithering | 700b8d137a72676bc1487e26596757a11d0c5ded | [
"MIT"
] | null | null | null | test/ColorMatcher.cpp | Danleb/dithering | 700b8d137a72676bc1487e26596757a11d0c5ded | [
"MIT"
] | null | null | null | #include "ColorMatcher.h"
namespace glm
{
void PrintTo(const bamboo::ColorB& value, ::std::ostream* os)
{
*os << "(" << static_cast<int>(value.r) << ", " << static_cast<int>(value.g) << ", "
<< static_cast<int>(value.b) << ")";
}
void PrintTo(const bamboo::ColorF& value, ::std::ostream* os)
{
*os <<... | 21.5 | 88 | 0.527132 | Danleb |
4afa8d163308b491afde8313b6e982ba27004392 | 6,797 | cpp | C++ | flinter/types/tree.cpp | yiyuanzhong/flinter | c52655ea5f8e48244fdb59bdf34b915faee57a6e | [
"Apache-2.0"
] | 29 | 2016-01-29T09:31:09.000Z | 2021-07-11T12:00:31.000Z | flinter/types/tree.cpp | yiyuanzhong/flinter | c52655ea5f8e48244fdb59bdf34b915faee57a6e | [
"Apache-2.0"
] | 2 | 2015-03-30T09:59:51.000Z | 2017-03-13T09:35:18.000Z | flinter/types/tree.cpp | yiyuanzhong/flinter | c52655ea5f8e48244fdb59bdf34b915faee57a6e | [
"Apache-2.0"
] | 17 | 2015-03-28T09:24:53.000Z | 2021-08-07T10:09:10.000Z | /* Copyright 2014 yiyuanzhong@gmail.com (Yiyuan Zhong)
*
* 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 applic... | 22.732441 | 88 | 0.55142 | yiyuanzhong |
4afbd24d5066d1f7ab788db753fda23f1967b92c | 367 | cpp | C++ | src/node.cpp | nocoinman/frontier_exploration | 31312b1c9ee821c4dcdddf25f5b4b9ae0bf76dcf | [
"BSD-3-Clause"
] | null | null | null | src/node.cpp | nocoinman/frontier_exploration | 31312b1c9ee821c4dcdddf25f5b4b9ae0bf76dcf | [
"BSD-3-Clause"
] | null | null | null | src/node.cpp | nocoinman/frontier_exploration | 31312b1c9ee821c4dcdddf25f5b4b9ae0bf76dcf | [
"BSD-3-Clause"
] | 2 | 2021-12-07T08:32:29.000Z | 2022-01-22T16:30:00.000Z | #include "frontier_exploration/explore.h"
int main(int argc, char** argv)
{
ros::init(argc, argv, "explore");
if (ros::console::set_logger_level(ROSCONSOLE_DEFAULT_NAME, ros::console::levels::Info))
ros::console::notifyLoggerLevelsChanged();
ros::NodeHandle nh, pnh("~");
frontier_exploration:... | 28.230769 | 92 | 0.678474 | nocoinman |
4aff020899ee58489d215e2f20bd06e9e936ac12 | 356 | cpp | C++ | Enemy.cpp | 12o3-design/project-eclipse | fc58896e44f087809dd4c8b24ca8d552af4c4899 | [
"MIT"
] | null | null | null | Enemy.cpp | 12o3-design/project-eclipse | fc58896e44f087809dd4c8b24ca8d552af4c4899 | [
"MIT"
] | null | null | null | Enemy.cpp | 12o3-design/project-eclipse | fc58896e44f087809dd4c8b24ca8d552af4c4899 | [
"MIT"
] | null | null | null | #include "Enemy.h"
Enemy::Enemy(const LoaderParams* pParams) : SDLGameObject(pParams)
{
}
void Enemy::draw(SDL_Renderer* m_renderer, TextureManager* m_textureManager)
{
SDLGameObject::draw(m_renderer, m_textureManager);
}
void Enemy::update()
{
m_y += 1;
m_x += 1;
m_currentFrame = int(((SDL_GetTicks() / 100... | 15.478261 | 76 | 0.688202 | 12o3-design |
4affbe75e90c6ac5a6618e97d195a92f63e4c607 | 5,844 | cpp | C++ | qboxlayout_c.cpp | mariuszmaximus/qt5pas-aarch64-linux-gnu | c60bbcfa5b0d7c4fe18bb21e5f2f424a5b658c1b | [
"Apache-2.0"
] | null | null | null | qboxlayout_c.cpp | mariuszmaximus/qt5pas-aarch64-linux-gnu | c60bbcfa5b0d7c4fe18bb21e5f2f424a5b658c1b | [
"Apache-2.0"
] | null | null | null | qboxlayout_c.cpp | mariuszmaximus/qt5pas-aarch64-linux-gnu | c60bbcfa5b0d7c4fe18bb21e5f2f424a5b658c1b | [
"Apache-2.0"
] | null | null | null | //******************************************************************************
// Copyright (c) 2005-2013 by Jan Van hijfte
//
// See the included file COPYING.TXT for details about the copyright.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the i... | 26.443439 | 113 | 0.749316 | mariuszmaximus |
ab048c11e9e98a8e96d4005b7d0f10e64573f3a1 | 5,074 | cpp | C++ | src/util.cpp | cvrebeatsaber/QuestQualifications | 4be76c3e8da9ead1727e2320fd12c083aabdacad | [
"MIT"
] | 1 | 2020-10-07T06:39:16.000Z | 2020-10-07T06:39:16.000Z | src/util.cpp | cvrebeatsaber/QuestQualifications | 4be76c3e8da9ead1727e2320fd12c083aabdacad | [
"MIT"
] | null | null | null | src/util.cpp | cvrebeatsaber/QuestQualifications | 4be76c3e8da9ead1727e2320fd12c083aabdacad | [
"MIT"
] | 1 | 2021-06-02T23:13:46.000Z | 2021-06-02T23:13:46.000Z | #include "util.hpp"
#include "GlobalNamespace/BeatmapDifficulty.hpp"
#include <fstream>
#include "beatsaber-hook/shared/config/config-utils.hpp"
#include "main.hpp"
std::optional<std::string> Util::ReadSecret() {
// TODO: Make this read a file
return "A$)pt(w@#*gYHADRIPOF8N VY7B";
}
std::optional<std::string>... | 42.283333 | 131 | 0.699251 | cvrebeatsaber |
ab0a9ff4228a105eaab4802835097c4b14037b96 | 7,990 | hh | C++ | src/cpu/o3/comm.hh | lokamdheeraj/gemV | f4e615c45e86c3c3db5b5fc9fe3066598e0ad54e | [
"BSD-3-Clause"
] | null | null | null | src/cpu/o3/comm.hh | lokamdheeraj/gemV | f4e615c45e86c3c3db5b5fc9fe3066598e0ad54e | [
"BSD-3-Clause"
] | null | null | null | src/cpu/o3/comm.hh | lokamdheeraj/gemV | f4e615c45e86c3c3db5b5fc9fe3066598e0ad54e | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2011 ARM Limited
* Copyright (c) 2013 Advanced Micro Devices, Inc.
* All rights reserved
*
* The license below extends only to copyright in the software and shall
* not be construed as granting a license to any other intellectual
* property including but not limited to intellectual property re... | 33.71308 | 78 | 0.686859 | lokamdheeraj |
ab0b1a51d0880f65ee74d2251734168d3c539cad | 2,553 | cpp | C++ | common/src/operator/divide.cpp | peelonet/laskin | 3008d16d0e9920e1639db9601e0b8c5a238eaebb | [
"BSD-2-Clause"
] | 2 | 2017-11-10T00:28:22.000Z | 2020-12-09T22:18:02.000Z | common/src/operator/divide.cpp | peelonet/laskin | 3008d16d0e9920e1639db9601e0b8c5a238eaebb | [
"BSD-2-Clause"
] | 1 | 2018-11-06T21:47:20.000Z | 2018-11-06T21:47:20.000Z | common/src/operator/divide.cpp | RauliL/laskin | 3008d16d0e9920e1639db9601e0b8c5a238eaebb | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2018, Rauli Laine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditi... | 31.518519 | 79 | 0.677242 | peelonet |
ab0f20dd6ccbf30b82d40010c109009dbc707186 | 6,059 | hpp | C++ | src/ekat/util/ekat_factory.hpp | xyuan/EKAT | 388fc1e37139e28074ca0d90bc3d09b3d3a12c13 | [
"BSL-1.0"
] | 5 | 2020-09-16T09:00:13.000Z | 2022-02-12T10:16:04.000Z | src/ekat/util/ekat_factory.hpp | xyuan/EKAT | 388fc1e37139e28074ca0d90bc3d09b3d3a12c13 | [
"BSL-1.0"
] | 202 | 2020-08-07T16:53:37.000Z | 2022-03-30T23:32:56.000Z | src/ekat/util/ekat_factory.hpp | xyuan/EKAT | 388fc1e37139e28074ca0d90bc3d09b3d3a12c13 | [
"BSL-1.0"
] | 4 | 2021-06-02T06:32:16.000Z | 2022-03-30T20:32:41.000Z | #ifndef EKAT_FACTORY_HPP
#define EKAT_FACTORY_HPP
#include "ekat/ekat_assert.hpp"
#include "ekat/ekat_type_traits.hpp"
#include <string>
#include <sstream>
#include <map>
namespace ekat
{
template<typename AbstractProduct,
typename KeyType,
typename PointerType,
typename... ConstructorArg... | 35.023121 | 117 | 0.670903 | xyuan |
ab136c173b48ac7fe85664a91a6532196bfc2645 | 1,270 | hpp | C++ | Nacro/SDK/FN_LightPropagationVolumeRuntime_classes.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 11 | 2021-08-08T23:25:10.000Z | 2022-02-19T23:07:22.000Z | Nacro/SDK/FN_LightPropagationVolumeRuntime_classes.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 1 | 2022-01-01T22:51:59.000Z | 2022-01-08T16:14:15.000Z | Nacro/SDK/FN_LightPropagationVolumeRuntime_classes.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 8 | 2021-08-09T13:51:54.000Z | 2022-01-26T20:33:37.000Z | #pragma once
// Fortnite (1.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// Class LightPropagationVolumeRuntime.LightPropaga... | 32.564103 | 185 | 0.49685 | Milxnor |
ab1870b4f668faedb82a91d61903a0dacbfb069f | 1,361 | cpp | C++ | src/ByteEngine/Light.cpp | Facundo961/Game-Studio | 8f404fd9b5659e65e7c5a7fe5f191d39b7a5a071 | [
"MIT"
] | 10 | 2020-05-05T03:21:34.000Z | 2022-01-22T23:01:22.000Z | src/ByteEngine/Light.cpp | Facundo961/Game-Studio | 8f404fd9b5659e65e7c5a7fe5f191d39b7a5a071 | [
"MIT"
] | null | null | null | src/ByteEngine/Light.cpp | Facundo961/Game-Studio | 8f404fd9b5659e65e7c5a7fe5f191d39b7a5a071 | [
"MIT"
] | 1 | 2020-09-07T03:04:48.000Z | 2020-09-07T03:04:48.000Z | #include "Light.h"
/*
void Light::SetColor(const uint16 ColorTemperature)
{
//CODE BY TANNER HELLAND
//http://www.tannerhelland.com/4435/convert-temperature-rgb-algorithm-code/
const uint16 Temperature_ = ColorTemperature / 100;
//----------RED----------
if (Temperature_ <= 66)
{
Color.R = 255;
}
else
{
... | 14.956044 | 76 | 0.499633 | Facundo961 |
ab1b58fc72ad87b2685fbd038c92f1459aacf199 | 141 | cpp | C++ | tests/core/util/bin_hex_print.cpp | jwuttke/daquiri-qpx | 6606f4efca9bbe460e25e511fd94a8277c7e1fe6 | [
"BSD-2-Clause"
] | 2 | 2018-03-25T05:31:44.000Z | 2019-07-25T05:17:51.000Z | tests/core/util/bin_hex_print.cpp | jwuttke/daquiri-qpx | 6606f4efca9bbe460e25e511fd94a8277c7e1fe6 | [
"BSD-2-Clause"
] | 158 | 2017-11-16T09:20:24.000Z | 2022-03-28T11:39:43.000Z | tests/core/util/bin_hex_print.cpp | martukas/daquiri-qpx | 6606f4efca9bbe460e25e511fd94a8277c7e1fe6 | [
"BSD-2-Clause"
] | 2 | 2018-09-20T08:29:21.000Z | 2020-08-04T18:34:50.000Z | #include <gtest/gtest.h>
#include <core/util/bin_hex_print.h>
TEST(BinHexPrint, itobin16)
{
EXPECT_EQ(itobin16(0), "0000000000000000");
}
| 17.625 | 45 | 0.737589 | jwuttke |
ab1fcc54f9dfad9e62308b817b87974312a9efcf | 601 | cpp | C++ | chapter08/example8_08.cpp | ly-mem-thread/multi_threading | 284a0c4ae9c7f8e9ba1faa205fb0e6d634d653cb | [
"MIT"
] | 213 | 2018-06-23T04:23:12.000Z | 2022-03-22T09:01:17.000Z | chapter08/example8_08.cpp | 12082121/multi_threading | 284a0c4ae9c7f8e9ba1faa205fb0e6d634d653cb | [
"MIT"
] | null | null | null | chapter08/example8_08.cpp | 12082121/multi_threading | 284a0c4ae9c7f8e9ba1faa205fb0e6d634d653cb | [
"MIT"
] | 101 | 2018-06-29T09:17:00.000Z | 2022-03-29T09:55:52.000Z | //使用std::async的std::for_each的并行版本
template <typename Iterator,typename Func>
void parallel_for_each(Iterator first,Iterator last,Func f)
{
unsigned long const length=std::distance(first,last);
if(!length)
return;
unsigned long const min_per_thread=25;
if(length < (2*min_per_thread))
{
std::for_each(first,la... | 24.04 | 95 | 0.747088 | ly-mem-thread |
ab23d7ff6c181c0cd40b13a398503abda29b37e4 | 3,811 | cpp | C++ | src/interpreter/handler/python.cpp | Asampl-development-team/Asampl | 80acb60f322ed11c03fc612b5bb0c420320ad693 | [
"MIT"
] | null | null | null | src/interpreter/handler/python.cpp | Asampl-development-team/Asampl | 80acb60f322ed11c03fc612b5bb0c420320ad693 | [
"MIT"
] | null | null | null | src/interpreter/handler/python.cpp | Asampl-development-team/Asampl | 80acb60f322ed11c03fc612b5bb0c420320ad693 | [
"MIT"
] | 1 | 2020-07-09T17:48:30.000Z | 2020-07-09T17:48:30.000Z | #include "interpreter/exception.h"
#include "interpreter/handler.h"
#include "interpreter/ffi_conversion.h"
#include <boost/python.hpp>
#include <boost/python/numpy.hpp>
namespace Asampl::Interpreter::Handler {
namespace py = boost::python;
namespace np = py::numpy;
class PythonHandler;
class PythonHandlerDownload... | 28.22963 | 88 | 0.675413 | Asampl-development-team |
ab25da4aa9955b42b00a93fa5a8e505facf665c1 | 8,158 | cpp | C++ | lib/Target/BPF/BPFMIPeephole.cpp | ssahasra/llvm-roc | 2202c6c408395679e92813bbfcc3690d37ba4810 | [
"Apache-2.0"
] | 15 | 2019-08-05T01:24:20.000Z | 2022-01-12T08:19:55.000Z | lib/Target/BPF/BPFMIPeephole.cpp | ssahasra/llvm-roc | 2202c6c408395679e92813bbfcc3690d37ba4810 | [
"Apache-2.0"
] | 3 | 2019-05-28T16:42:25.000Z | 2019-06-07T02:12:24.000Z | lib/Target/BPF/BPFMIPeephole.cpp | ssahasra/llvm-roc | 2202c6c408395679e92813bbfcc3690d37ba4810 | [
"Apache-2.0"
] | 9 | 2019-09-24T06:26:58.000Z | 2021-11-22T08:54:00.000Z | //===-------------- BPFMIPeephole.cpp - MI Peephole Cleanups -------------===//
//
// 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
//
//===---------------------------... | 28.725352 | 80 | 0.635572 | ssahasra |
ab2a623a92f1119e441121fd74707369fa452b20 | 5,100 | cpp | C++ | BritneysSpaceship/src/BritneysSpaceshipApp.cpp | eighteight/CinderEigh | d9dfc6a0ad9a9e6c5b82624971127f0335d91639 | [
"Apache-2.0"
] | null | null | null | BritneysSpaceship/src/BritneysSpaceshipApp.cpp | eighteight/CinderEigh | d9dfc6a0ad9a9e6c5b82624971127f0335d91639 | [
"Apache-2.0"
] | null | null | null | BritneysSpaceship/src/BritneysSpaceshipApp.cpp | eighteight/CinderEigh | d9dfc6a0ad9a9e6c5b82624971127f0335d91639 | [
"Apache-2.0"
] | null | null | null | #include "cinder/app/AppBasic.h"
#include "cinder/ImageIo.h"
#include "cinder/gl/Texture.h"
#include "cinder/gl/GlslProg.h"
#include "cinder/audio/Input.h"
#include "cinder/audio/FftProcessor.h"
#include "Resources.h"
#include "cinder/qtime/QuickTime.h"
#include "cinder/Utilities.h"
#include "cinder/ImageIo.h"
#include... | 26.28866 | 132 | 0.650784 | eighteight |
ab2ef159d67061684a308d9a1a52c70638331730 | 1,104 | cc | C++ | src/system/HostName.cc | Amjadhpc/w2rap-contigger | 221f6cabedd19743046ee5dec18e6feb85130218 | [
"MIT"
] | 48 | 2016-04-26T16:52:59.000Z | 2022-01-15T09:18:17.000Z | src/system/HostName.cc | Amjadhpc/w2rap-contigger | 221f6cabedd19743046ee5dec18e6feb85130218 | [
"MIT"
] | 45 | 2016-04-27T08:20:56.000Z | 2022-02-14T07:47:11.000Z | src/system/HostName.cc | Amjadhpc/w2rap-contigger | 221f6cabedd19743046ee5dec18e6feb85130218 | [
"MIT"
] | 15 | 2016-05-11T14:35:25.000Z | 2022-01-15T09:18:45.000Z | ///////////////////////////////////////////////////////////////////////////////
// SOFTWARE COPYRIGHT NOTICE AGREEMENT //
// This software and its documentation are copyright (2011) by the //
// Broad Institute. All rights are reserved. This software is supplied //
... | 34.5 | 79 | 0.537138 | Amjadhpc |
ab2fbaa20b2b72d662e71d401ec065a22e64deca | 2,362 | hpp | C++ | solver.hpp | ahmadml/Ex3-solver | 0096a2d508d50889a92b8d63525021aa9bc82b5a | [
"MIT"
] | null | null | null | solver.hpp | ahmadml/Ex3-solver | 0096a2d508d50889a92b8d63525021aa9bc82b5a | [
"MIT"
] | null | null | null | solver.hpp | ahmadml/Ex3-solver | 0096a2d508d50889a92b8d63525021aa9bc82b5a | [
"MIT"
] | null | null | null | # include <iostream>
# include<complex>
using namespace std;
namespace solver{
class RealVariable
{
public:
double _a;
double _b;
double _c;
public:
RealVariable(const double& a=0,const double& b=1,const double& c=0):_a(a),_b(b),_c(c){
}
//getters
double a(){return _a;}
double b(){re... | 31.078947 | 90 | 0.711685 | ahmadml |
ab30f894d424c64528ba3fe241cb2b1ce08647d5 | 3,698 | cpp | C++ | source/renderer/wrapper/PhysicalDevice.cpp | DaSutt/VolumetricParticles | 6ec9bac4bec4a8757343bb770b23110ef2364dfd | [
"Apache-2.0"
] | 6 | 2017-06-26T11:42:26.000Z | 2018-09-10T17:53:53.000Z | source/renderer/wrapper/PhysicalDevice.cpp | DaSutt/VolumetricParticles | 6ec9bac4bec4a8757343bb770b23110ef2364dfd | [
"Apache-2.0"
] | 8 | 2017-06-24T20:25:42.000Z | 2017-08-09T10:50:40.000Z | source/renderer/wrapper/PhysicalDevice.cpp | DaSutt/VolumetricParticles | 6ec9bac4bec4a8757343bb770b23110ef2364dfd | [
"Apache-2.0"
] | null | null | null | /*
MIT License
Copyright(c) 2017 Daniel Suttor
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files(the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, di... | 34.886792 | 136 | 0.734721 | DaSutt |
ab30fb4734c266aa6916c12d360f125f1d662930 | 3,254 | cpp | C++ | src/pasteboard-generic.cpp | WebKitForWayland/wpe | 8a7603e11b5680e7a9f2e17e8c5fd9e7d0f04f1c | [
"BSD-2-Clause"
] | 21 | 2018-12-20T00:15:01.000Z | 2022-03-19T01:44:14.000Z | src/pasteboard-generic.cpp | WebKitForWayland/wpe | 8a7603e11b5680e7a9f2e17e8c5fd9e7d0f04f1c | [
"BSD-2-Clause"
] | 56 | 2018-10-15T19:31:53.000Z | 2022-03-25T22:45:53.000Z | src/pasteboard-generic.cpp | WebKitForWayland/wpe | 8a7603e11b5680e7a9f2e17e8c5fd9e7d0f04f1c | [
"BSD-2-Clause"
] | 23 | 2018-10-10T08:38:05.000Z | 2022-03-15T14:28:25.000Z | /*
* Copyright (C) 2015, 2016 Igalia S.L.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of co... | 36.977273 | 132 | 0.68654 | WebKitForWayland |
ab390a7b37b302a9077e3b3255f62dfcc8bddcbb | 12,858 | hpp | C++ | src/Shellminator.hpp | dani007200964/Shellminator | ef5aa33a76b9ba9a3c840668cf3f18d384512b9d | [
"MIT"
] | null | null | null | src/Shellminator.hpp | dani007200964/Shellminator | ef5aa33a76b9ba9a3c840668cf3f18d384512b9d | [
"MIT"
] | null | null | null | src/Shellminator.hpp | dani007200964/Shellminator | ef5aa33a76b9ba9a3c840668cf3f18d384512b9d | [
"MIT"
] | null | null | null | /*
* Created on Aug 10 2020
*
* Copyright (c) 2020 - Daniel Hajnal
* hajnal.daniel96@gmail.com
*
* This file is part of the Shellminator project.
*/
#ifndef SHELLMINATOR_H_
#define SHELLMINATOR_H_
#include "Arduino.h"
#include <stdio.h>
#include <stdint.h>
#include <string.h>
/// +------ Costum configuration -... | 40.433962 | 180 | 0.72033 | dani007200964 |
ab3af28bf23fe5616ec4ddfb9ccbe0498b8f75c5 | 20,928 | cpp | C++ | skse64/PapyrusActor.cpp | Acro748/CBPCSSE | fabd56ce8f8ac10cde17325f0bd61ecc8cbcda20 | [
"MIT"
] | 13 | 2020-06-06T09:08:55.000Z | 2022-01-22T12:21:21.000Z | skse64/PapyrusActor.cpp | Erstori/SkyrimPriority-Mod | 50a5adeb78766fba25d4f28626621e9df38df4ba | [
"MIT"
] | 1 | 2020-09-08T19:38:55.000Z | 2020-09-08T19:38:55.000Z | skse64/PapyrusActor.cpp | Erstori/SkyrimPriority-Mod | 50a5adeb78766fba25d4f28626621e9df38df4ba | [
"MIT"
] | 4 | 2019-06-09T05:00:55.000Z | 2022-01-27T16:30:31.000Z | #include "PapyrusActor.h"
#include "PapyrusArgs.h"
#include "GameForms.h"
#include "GameData.h"
#include "GameObjects.h"
#include "GameReferences.h"
#include "GameExtraData.h"
#include "GameRTTI.h"
#include "GameThreads.h"
#include "HashUtil.h"
#include "NiExtraData.h"
#include "InternalTasks.h"
#include <set>
clas... | 29.22905 | 150 | 0.731604 | Acro748 |
ab3f1f6d6640e15fcbd6fe1a9a796d44b60be1ee | 4,029 | hpp | C++ | legion/engine/core/ecs/entityquery.hpp | Rythe-Interactive/Legion-Engine.rythe-legacy | e199689024436c40054942796ce9dcd4d097d7fd | [
"MIT"
] | null | null | null | legion/engine/core/ecs/entityquery.hpp | Rythe-Interactive/Legion-Engine.rythe-legacy | e199689024436c40054942796ce9dcd4d097d7fd | [
"MIT"
] | null | null | null | legion/engine/core/ecs/entityquery.hpp | Rythe-Interactive/Legion-Engine.rythe-legacy | e199689024436c40054942796ce9dcd4d097d7fd | [
"MIT"
] | null | null | null | #pragma once
#include <core/types/primitives.hpp>
#include <core/types/type_util.hpp>
#include <core/platform/platform.hpp>
#include <core/containers/hashed_sparse_set.hpp>
#include <core/ecs/entity_handle.hpp>
#include <core/ecs/archetype.hpp>
#include <core/ecs/component_container.hpp>
/**
* @file entityquery.hpp
... | 30.755725 | 133 | 0.631422 | Rythe-Interactive |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.