hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 108 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count float64 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 float64 1 77k ⌀ | 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 float64 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 653k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d7c13f44bef3d292f68e382ce674ad2d932c8482 | 3,531 | cpp | C++ | samples/lab3/SphereRolling/sphere.cpp | wiali/opengl-labs | 8160bd495f38eacb46cd37847a8881a6dc7a8fe8 | [
"MIT"
] | 1 | 2021-05-05T15:24:49.000Z | 2021-05-05T15:24:49.000Z | samples/lab3/SphereRolling/sphere.cpp | wiali/opengl-labs | 8160bd495f38eacb46cd37847a8881a6dc7a8fe8 | [
"MIT"
] | null | null | null | samples/lab3/SphereRolling/sphere.cpp | wiali/opengl-labs | 8160bd495f38eacb46cd37847a8881a6dc7a8fe8 | [
"MIT"
] | null | null | null | /*
* Implementation of sphere
* Author: Weichen Xu
* Date: 11/10/2015
*/
#include "sphere.h"
WCX_sphere::WCX_sphere(){
this->radius = 1.0;
this->rollingSpeed = 0.02;
this->accumuRollingM = mat4();
}
void WCX_sphere::loadSphereFromFile(){
int Index = 0, triangleNum = 0;
std::string sphereFileName;
std::ifstream... | 31.247788 | 115 | 0.676012 |
d7c423c2acd7b2ced416356011573640a72a63a2 | 1,028 | cpp | C++ | Test/Header Generator/Sheet.cpp | BartoszMilewski/CodeCoop | 7d29f53ccf65b0d29ea7d6781a74507b52c08d0d | [
"MIT"
] | 67 | 2018-03-02T10:50:02.000Z | 2022-03-23T18:20:29.000Z | Test/Header Generator/Sheet.cpp | BartoszMilewski/CodeCoop | 7d29f53ccf65b0d29ea7d6781a74507b52c08d0d | [
"MIT"
] | null | null | null | Test/Header Generator/Sheet.cpp | BartoszMilewski/CodeCoop | 7d29f53ccf65b0d29ea7d6781a74507b52c08d0d | [
"MIT"
] | 9 | 2018-03-01T16:38:28.000Z | 2021-03-02T16:17:09.000Z | //---------------------------
// Sheet.cpp
// (c) Reliable Software 2000
//---------------------------
#include "HeaderDetails.h"
#include "GeneralPage.h"
#include "AddressPage.h"
#include "AddendumPage.h"
#include "DestinationPage.h"
#include "resource.h"
#include <Ctrl/PropertySheet.h>
bool CollectData (HINSTAN... | 34.266667 | 76 | 0.715953 |
d7c52c07b55bbcdf6c475fff9bad6c8f03d98826 | 477 | cpp | C++ | PAT_B/PAT_B1038.cpp | EnhydraGod/PATCode | ff38ea33ba319af78b3aeba8aa6c385cc5e8329f | [
"BSD-2-Clause"
] | 3 | 2019-07-08T05:20:28.000Z | 2021-09-22T10:53:26.000Z | PAT_B/PAT_B1038.cpp | EnhydraGod/PATCode | ff38ea33ba319af78b3aeba8aa6c385cc5e8329f | [
"BSD-2-Clause"
] | null | null | null | PAT_B/PAT_B1038.cpp | EnhydraGod/PATCode | ff38ea33ba319af78b3aeba8aa6c385cc5e8329f | [
"BSD-2-Clause"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int n, tempScore;
int scores[110];
int main()
{
fill(scores, scores+110, 0);
scanf("%d", &n);
for (int i = 0; i < n; i++)
{
scanf("%d", &tempScore);
scores[tempScore]++;
}
int m;
scanf("%d", &m);
for (int i = 0; i < m; i++)
... | 20.73913 | 51 | 0.480084 |
d7ca74d143c157dbac612bcd2295f0ece5f07117 | 411 | cpp | C++ | c++/maratona/cultivando string/cultivando strings.cpp | felipeMachado92/programas-em-C- | 55d675110e495c7bcceb2b1bf2d32d582a445b40 | [
"MIT"
] | null | null | null | c++/maratona/cultivando string/cultivando strings.cpp | felipeMachado92/programas-em-C- | 55d675110e495c7bcceb2b1bf2d32d582a445b40 | [
"MIT"
] | null | null | null | c++/maratona/cultivando string/cultivando strings.cpp | felipeMachado92/programas-em-C- | 55d675110e495c7bcceb2b1bf2d32d582a445b40 | [
"MIT"
] | null | null | null | #include<iostream>
#include<string.h>
using namespace std;
string menorString(string vt[], int n){
string menor;
for(int i = 0; i < n; i++){
if((i == 0) || (menor.length()>vt[i].length())){
menor = vt[i];
}
}
return menor;
}
int main(){
int n=-1;
int contadorSeq=0;
while(n!=0){
cin>>n;
string vet... | 13.258065 | 50 | 0.557178 |
d7cb9259cca5dfbb1b966b73343dc2ef145fb884 | 4,873 | cpp | C++ | Pawns.cpp | White-Hare/SuperChess | 70ee3e7129df13f002330e31e5112dc229a3aed5 | [
"MIT"
] | 1 | 2019-12-03T17:58:15.000Z | 2019-12-03T17:58:15.000Z | Pawns.cpp | White-Hare/SuperChess | 70ee3e7129df13f002330e31e5112dc229a3aed5 | [
"MIT"
] | null | null | null | Pawns.cpp | White-Hare/SuperChess | 70ee3e7129df13f002330e31e5112dc229a3aed5 | [
"MIT"
] | null | null | null | #include "Pawns.h"
#include <iostream>
#include <string>
Pawns::Pawns(const char* ID, SDL_Rect map_rect, unsigned rows, unsigned columns, Vec2D<int> offset) :Enemies(ID, map_rect)
{
selected = UNSELECTED;
this->rows = rows;
this->columns = columns;
this->offset = offset;
this->placed = false;
this->mo... | 23.315789 | 123 | 0.604145 |
d7cd71f8304620cc89a76c972ef28f4d1f999641 | 253,833 | cpp | C++ | Library/Il2cppBuildCache/iOS/il2cppOutput/Unity.Mathematics.cpp | Alex-Greenen/Spectral-Animation-Unity-Unity | fbd4983c2e260e21b353bf44c682e1413e480ce5 | [
"MIT"
] | null | null | null | Library/Il2cppBuildCache/iOS/il2cppOutput/Unity.Mathematics.cpp | Alex-Greenen/Spectral-Animation-Unity-Unity | fbd4983c2e260e21b353bf44c682e1413e480ce5 | [
"MIT"
] | null | null | null | Library/Il2cppBuildCache/iOS/il2cppOutput/Unity.Mathematics.cpp | Alex-Greenen/Spectral-Animation-Unity-Unity | fbd4983c2e260e21b353bf44c682e1413e480ce5 | [
"MIT"
] | null | null | null | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
// System.Object[]
struct ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE;
// System.IFormatProvider
struct IFormatProvider_tF2AECC4B14F41D36718920D67F930CED940412DF;
// Sys... | 50.51403 | 356 | 0.813819 |
d7ce3d3980409beaceb63c7c627b415ef4291722 | 873 | cpp | C++ | DMOJ/VM7WC/VM7WC_16_C5P5_Gold_Jayden_Studies_Trees.cpp | Togohogo1/pg | ee3c36acde47769c66ee13a227762ee677591375 | [
"MIT"
] | null | null | null | DMOJ/VM7WC/VM7WC_16_C5P5_Gold_Jayden_Studies_Trees.cpp | Togohogo1/pg | ee3c36acde47769c66ee13a227762ee677591375 | [
"MIT"
] | 1 | 2021-10-14T18:26:56.000Z | 2021-10-14T18:26:56.000Z | DMOJ/VM7WC/VM7WC_16_C5P5_Gold_Jayden_Studies_Trees.cpp | Togohogo1/pg | ee3c36acde47769c66ee13a227762ee677591375 | [
"MIT"
] | 1 | 2021-08-06T03:39:55.000Z | 2021-08-06T03:39:55.000Z | #include <bits/stdc++.h>
using namespace std;
const int M = 1e4+2;
int N, deep, def, ans;
vector<int> adj[M];
void bfs(int u) {
ans = -1;
queue<int> q;
vector<int> vis(M, 0), dist(M, 0);
q.push(u);
vis[u] = true;
while (!q.empty()) {
int cur = q.front();
q.pop();
fo... | 16.788462 | 42 | 0.404353 |
d7d37c8010cea6b5d1d93a1fe7c154ce2f0b4b6d | 950 | cpp | C++ | Source/TopDownARPG/UI/UIController.cpp | Ivan-Vankov/GameEnginesCourseProject | 31c719adb139ec08e5b70092689502a6d4290cea | [
"Apache-2.0"
] | null | null | null | Source/TopDownARPG/UI/UIController.cpp | Ivan-Vankov/GameEnginesCourseProject | 31c719adb139ec08e5b70092689502a6d4290cea | [
"Apache-2.0"
] | null | null | null | Source/TopDownARPG/UI/UIController.cpp | Ivan-Vankov/GameEnginesCourseProject | 31c719adb139ec08e5b70092689502a6d4290cea | [
"Apache-2.0"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#include "UIController.h"
#include "Engine/PostProcessVolume.h"
#include "Materials/Material.h"
// Sets default values
AUIController::AUIController()
{
// Set this actor to call Tick() every frame. You can turn this off to improve perf... | 22.093023 | 115 | 0.738947 |
d7d3baf1538d4aec4ab2a38d23f58c9d1a36c1fd | 2,936 | cpp | C++ | src/ast/ast_visitor.cpp | profelis/daScript | eea57f39dec4dd6168ee64c8ae5139cbcf2937bc | [
"BSD-3-Clause"
] | 421 | 2019-08-15T15:40:04.000Z | 2022-03-29T06:59:06.000Z | src/ast/ast_visitor.cpp | profelis/daScript | eea57f39dec4dd6168ee64c8ae5139cbcf2937bc | [
"BSD-3-Clause"
] | 55 | 2019-08-17T13:50:53.000Z | 2022-03-25T17:58:38.000Z | src/ast/ast_visitor.cpp | profelis/daScript | eea57f39dec4dd6168ee64c8ae5139cbcf2937bc | [
"BSD-3-Clause"
] | 58 | 2019-08-22T17:04:13.000Z | 2022-03-25T17:43:28.000Z | #include "daScript/misc/platform.h"
#include "daScript/ast/ast_visitor.h"
#include "daScript/ast/ast_expressions.h"
namespace das {
struct AstContextVisitor : Visitor {
AstContextVisitor ( Expression * expr )
: refExpr(expr) { }
AstContext astc, astr;
Expression * refExpr = nu... | 32.988764 | 81 | 0.530313 |
d7d7cb00808619b584c4f783452209d095657916 | 15,633 | cpp | C++ | src/test/test_parser_expr.cpp | paramah/hiphop-php-osx | 5ed8c24abe8ad9fd7bc6dd4c28b4ffff23e54362 | [
"PHP-3.01",
"Zend-2.0"
] | 1 | 2015-11-05T21:45:07.000Z | 2015-11-05T21:45:07.000Z | src/test/test_parser_expr.cpp | brion/hiphop-php | df70a236e6418d533ac474be0c01f0ba87034d7f | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | src/test/test_parser_expr.cpp | brion/hiphop-php | df70a236e6418d533ac474be0c01f0ba87034d7f | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010 Facebook, Inc. (http://www.facebook.com) |
+---------... | 42.024194 | 80 | 0.398196 |
d7d8c3d0b913511300546c46a03953144eb644bc | 1,121 | hpp | C++ | engine/include/xe/gfx/framebuffer.hpp | trbflxr/x808 | d5ab9e96c5a6109283151a591c261e4183628075 | [
"MIT"
] | null | null | null | engine/include/xe/gfx/framebuffer.hpp | trbflxr/x808 | d5ab9e96c5a6109283151a591c261e4183628075 | [
"MIT"
] | null | null | null | engine/include/xe/gfx/framebuffer.hpp | trbflxr/x808 | d5ab9e96c5a6109283151a591c261e4183628075 | [
"MIT"
] | null | null | null | //
// Created by FLXR on 8/8/2018.
//
#ifndef X808_FRAMEBUFFER_HPP
#define X808_FRAMEBUFFER_HPP
#include <unordered_map>
#include <xe/gfx/texture.hpp>
namespace xe {
namespace internal {
class PlatformFrameBuffer;
}
class XE_API FrameBuffer {
public:
explicit FrameBuffer(const string &name);
~... | 22.42 | 82 | 0.734166 |
d7d9a9b77bc897d28a739d934517a1a4ed23375b | 1,702 | hpp | C++ | client/Controller/Exceptions.hpp | iElden/RConsole | 77aaad891327ccc93c1b7c48f41be6e462983b17 | [
"MIT"
] | null | null | null | client/Controller/Exceptions.hpp | iElden/RConsole | 77aaad891327ccc93c1b7c48f41be6e462983b17 | [
"MIT"
] | null | null | null | client/Controller/Exceptions.hpp | iElden/RConsole | 77aaad891327ccc93c1b7c48f41be6e462983b17 | [
"MIT"
] | null | null | null | //
// Created by Gegel85 on 30/06/2020.
//
#ifndef RCONSOLE_CONTROLLER_EXCEPTIONS_HPP
#define RCONSOLE_CONTROLLER_EXCEPTIONS_HPP
#include <string>
#include "../Exceptions.hpp"
namespace RC::Client::Controller
{
class ControllerException : public ClientException {
public:
ControllerException(const std::string &&... | 29.859649 | 158 | 0.759107 |
d7da649564f7783142a2ed74288a07ebdf6b16c7 | 1,668 | hpp | C++ | EdenEngine/ComponentHeader/EditorGUI.hpp | HuajiKojima/EdenEngine | 9445df98b3735570ded80ca018c01db1819fc944 | [
"MIT"
] | null | null | null | EdenEngine/ComponentHeader/EditorGUI.hpp | HuajiKojima/EdenEngine | 9445df98b3735570ded80ca018c01db1819fc944 | [
"MIT"
] | null | null | null | EdenEngine/ComponentHeader/EditorGUI.hpp | HuajiKojima/EdenEngine | 9445df98b3735570ded80ca018c01db1819fc944 | [
"MIT"
] | null | null | null | // Eden Engine
#pragma once
#ifndef EDEN_EDITOR_GUI
#define EDEN_EDITOR_GUI
#include "DevelopmentKit/ImGui/imgui.h"
#include "DevelopmentKit/ImGui/imgui_impl_glfw.h"
#include "DevelopmentKit/ImGui/imgui_impl_opengl3.h"
#include <GLFW/glfw3.h>
#define EDEN_GUI_CLASSIC 0
#define EDEN_GUI_DARK 1
#define EDEN_GUI_LIGHT 2... | 23.166667 | 99 | 0.645084 |
d7dc304a0965470e8bc5fc1224291e205ed68e0d | 132 | cc | C++ | src/code_writen_when_learning/boost/boost_assert/1/main.cc | NobodyXu/snippet | 8f0308e48dab1d166dc9e5ff43b00db2d35b616b | [
"MIT"
] | 1 | 2019-04-02T04:38:15.000Z | 2019-04-02T04:38:15.000Z | src/code_writen_when_learning/boost/boost_assert/1/main.cc | NobodyXu/snippet | 8f0308e48dab1d166dc9e5ff43b00db2d35b616b | [
"MIT"
] | null | null | null | src/code_writen_when_learning/boost/boost_assert/1/main.cc | NobodyXu/snippet | 8f0308e48dab1d166dc9e5ff43b00db2d35b616b | [
"MIT"
] | null | null | null | #define BOOST_DISABLE_ASSERTS
#include "1.hpp"
#undef BOOST_DISABLE_ASSERTS
#include "2.hpp"
int main() {
A::F();
B::F();
}
| 14.666667 | 29 | 0.651515 |
d7dd1e0dae6e3afc24c4f1d1a404e63b90cec071 | 8,622 | cpp | C++ | lab_12/main.cpp | Lrazerz/pdc | aa29070ee82b139c488db6b5502cd9b6b2d52ecd | [
"MIT"
] | null | null | null | lab_12/main.cpp | Lrazerz/pdc | aa29070ee82b139c488db6b5502cd9b6b2d52ecd | [
"MIT"
] | null | null | null | lab_12/main.cpp | Lrazerz/pdc | aa29070ee82b139c488db6b5502cd9b6b2d52ecd | [
"MIT"
] | null | null | null | #include <iostream>
#include <algorithm>
#include <functional>
#include <cassert>
#include <tuple>
extern "C" {
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
}
std::tuple<uint64_t, int>
process_memory(void *memptr, size_t elements_to_calculate) {
vola... | 32.171642 | 91 | 0.373231 |
d7e8f956541e660cb9911c92aba3612797edb98c | 1,623 | hpp | C++ | attic/src/main/include/fmp/utils.hpp | yamasdais/asaki-yumemishi | d6220e489da613a634e6ce474a869f5d2932f89d | [
"BSL-1.0"
] | null | null | null | attic/src/main/include/fmp/utils.hpp | yamasdais/asaki-yumemishi | d6220e489da613a634e6ce474a869f5d2932f89d | [
"BSL-1.0"
] | 8 | 2017-09-28T14:39:37.000Z | 2021-03-09T22:55:55.000Z | attic/src/main/include/fmp/utils.hpp | yamasdais/asaki-yumemishi | d6220e489da613a634e6ce474a869f5d2932f89d | [
"BSL-1.0"
] | null | null | null | // Copyright Yamashta, Daisuke 2017
// 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)
#if !defined(FMP_34923AEE_9F31_49B2_AD8D_D975BE25512D)
#define FMP_34923AEE_9F31_49B2_AD8D_D975BE25512D
#... | 23.521739 | 70 | 0.661121 |
d7eb22608da22edc3c6fdcb9b0988d71deaa9c6f | 399 | cpp | C++ | Cplus/MaximumNumberofBalloons.cpp | JumHorn/leetcode | 1447237ae8fc3920b19f60b30c71a84b088cc200 | [
"MIT"
] | 1 | 2018-01-22T12:06:28.000Z | 2018-01-22T12:06:28.000Z | Cplus/MaximumNumberofBalloons.cpp | JumHorn/leetcode | 1447237ae8fc3920b19f60b30c71a84b088cc200 | [
"MIT"
] | null | null | null | Cplus/MaximumNumberofBalloons.cpp | JumHorn/leetcode | 1447237ae8fc3920b19f60b30c71a84b088cc200 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <climits>
#include <string>
#include <unordered_map>
using namespace std;
class Solution
{
public:
int maxNumberOfBalloons(string text)
{
unordered_map<char, int> m; //{char,count}
for (auto c : text)
++m[c];
int res = INT_MAX;
m['l'] /= 2;
m['o'] /= 2;
string balloon = "... | 17.347826 | 44 | 0.62406 |
d7ef421d8abdee626af4096012e776b6e3bd8f5c | 1,569 | cpp | C++ | 10-23/hideAndSeek.cpp | hanzhi713/data | ca1da71334b47154efc27fd0d97ace0daa5f0758 | [
"MIT"
] | null | null | null | 10-23/hideAndSeek.cpp | hanzhi713/data | ca1da71334b47154efc27fd0d97ace0daa5f0758 | [
"MIT"
] | null | null | null | 10-23/hideAndSeek.cpp | hanzhi713/data | ca1da71334b47154efc27fd0d97ace0daa5f0758 | [
"MIT"
] | null | null | null | /**
* To compile and run:
* clang++ -o h h.cpp && ./h
*/
#include <bits/stdc++.h>
#define ll long long
using namespace std;
ll x1, y_1, x2, y2;
bool cut(ll x, ll y){
if(x >= x1 && x <= x2 && y >= y_1 && y <= y2){
return true;
}
return false;
}
int main(){
ll xb, yb;
cin>>xb>>yb>>x1>>y_... | 22.73913 | 72 | 0.41109 |
d7f0d2fc58ddbc364e7fd1e3b7727940141a5c29 | 2,767 | cpp | C++ | unity-screen-capture-plugin/dllmain.cpp | BillWCJ/unity-windows-screen-capture | a8cbadb7d0607b3d3f69673e2f5ded377d4cc620 | [
"MIT"
] | null | null | null | unity-screen-capture-plugin/dllmain.cpp | BillWCJ/unity-windows-screen-capture | a8cbadb7d0607b3d3f69673e2f5ded377d4cc620 | [
"MIT"
] | null | null | null | unity-screen-capture-plugin/dllmain.cpp | BillWCJ/unity-windows-screen-capture | a8cbadb7d0607b3d3f69673e2f5ded377d4cc620 | [
"MIT"
] | null | null | null | #include "pch.h"
BOOL APIENTRY DllMain(HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
/*
// debug event
static FuncPtr s_debug;
exter... | 26.605769 | 110 | 0.73184 |
d7f5defa2bf394c33ebe012669b294fe54c34af2 | 2,358 | hpp | C++ | src/hardware/memory/register.hpp | geaz/emu-gameboy | da8a3e6898a0075dcb4371eb772e31695300ae54 | [
"MIT"
] | 47 | 2019-10-12T14:23:47.000Z | 2022-03-22T03:31:43.000Z | src/hardware/memory/register.hpp | geaz/emu-gameboy | da8a3e6898a0075dcb4371eb772e31695300ae54 | [
"MIT"
] | null | null | null | src/hardware/memory/register.hpp | geaz/emu-gameboy | da8a3e6898a0075dcb4371eb772e31695300ae54 | [
"MIT"
] | 2 | 2021-09-20T20:47:21.000Z | 2021-10-12T12:10:46.000Z | #pragma once
#ifndef REGISTER_H
#define REGISTER_H
#include <string>
namespace GGB::Hardware
{
template <class T>
class Register
{
public:
Register(const T initialValue);
T read();
uint8_t readBit(const uint8_t bitNr);
void writeBit(con... | 31.44 | 163 | 0.534775 |
d7f93776653b25a3465ac8fefd089c38b6d4401e | 382 | hpp | C++ | examples/12_pubsvc/generated/src/NECommon.hpp | Ali-Nasrolahi/areg-sdk | 4fbc2f2644220196004a31672a697a864755f0b6 | [
"Apache-2.0"
] | 70 | 2021-07-20T11:26:16.000Z | 2022-03-27T11:17:43.000Z | examples/12_pubsvc/generated/src/NECommon.hpp | Ali-Nasrolahi/areg-sdk | 4fbc2f2644220196004a31672a697a864755f0b6 | [
"Apache-2.0"
] | 32 | 2021-07-31T05:20:44.000Z | 2022-03-20T10:11:52.000Z | examples/12_pubsvc/generated/src/NECommon.hpp | Ali-Nasrolahi/areg-sdk | 4fbc2f2644220196004a31672a697a864755f0b6 | [
"Apache-2.0"
] | 40 | 2021-11-02T09:45:38.000Z | 2022-03-27T11:17:46.000Z | #pragma once
/************************************************************************
* \file generated/src/NECommon.hpp
* \ingroup 12_pubsvc
* \brief Namespace contains common constants.
************************************************************************/
namespace NECommon
{
... | 29.384615 | 74 | 0.387435 |
d7fb35577f44d1f67139fd49e9a7e9af1d4d0987 | 3,946 | cpp | C++ | tmain_form.cpp | stasinek/Koperek | 35b241fe37d7e1b3b0215368b0e35c43c3c16660 | [
"BSD-2-Clause"
] | null | null | null | tmain_form.cpp | stasinek/Koperek | 35b241fe37d7e1b3b0215368b0e35c43c3c16660 | [
"BSD-2-Clause"
] | null | null | null | tmain_form.cpp | stasinek/Koperek | 35b241fe37d7e1b3b0215368b0e35c43c3c16660 | [
"BSD-2-Clause"
] | null | null | null | /*Koperek32(R) Copyright (c) Stanislaw Stasiak, sstoft@wp.pl <2014> All rights reserved.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHOR... | 34.313043 | 460 | 0.714901 |
d7ff5d4fd97327cc62a6fd222e54de480b4a9c0c | 290 | hpp | C++ | TreeWalkInterpreter/includes/Stmt/ExprStmt.hpp | dipeshkaphle/Lox-cpp | 9c73987f08aa366234b291df938261f5592a140f | [
"MIT"
] | null | null | null | TreeWalkInterpreter/includes/Stmt/ExprStmt.hpp | dipeshkaphle/Lox-cpp | 9c73987f08aa366234b291df938261f5592a140f | [
"MIT"
] | null | null | null | TreeWalkInterpreter/includes/Stmt/ExprStmt.hpp | dipeshkaphle/Lox-cpp | 9c73987f08aa366234b291df938261f5592a140f | [
"MIT"
] | null | null | null | #pragma once
#include "Stmt.hpp"
#include "StmtVisitor.hpp"
#include "includes/Expr/Expr.hpp"
#include <memory>
class expr_stmt : public Stmt {
public:
std::unique_ptr<Expr> expr;
expr_stmt(std::unique_ptr<Expr> expr);
std::any accept(stmt_visitor<std::any> &visitor) override;
};
| 19.333333 | 60 | 0.724138 |
cc020f83839db0bc539af7d1c6058139bbc78891 | 6,101 | cpp | C++ | tests/parser/ParserProcessorTests.cpp | omegaphoenix/publicWeServed | a276844e5fa84ba66040918ebba7808d911feacc | [
"MIT"
] | null | null | null | tests/parser/ParserProcessorTests.cpp | omegaphoenix/publicWeServed | a276844e5fa84ba66040918ebba7808d911feacc | [
"MIT"
] | null | null | null | tests/parser/ParserProcessorTests.cpp | omegaphoenix/publicWeServed | a276844e5fa84ba66040918ebba7808d911feacc | [
"MIT"
] | null | null | null | #include "gtest/gtest.h"
#include "ParserProcessor.h"
#include "../../src/parser/ParserProcessor.h"
#include <cstdio>
static const char *test_config = "tests/parser/test_config";
/* --- Function Prototypes --- */
void print_map(strmap *string_map);
/**
* Test a simple situation
*/
TEST(ParserProcessorTest, GetP... | 28.643192 | 97 | 0.64809 |
cc0292e649925aa7477e0379208870b2960160e7 | 12,879 | cpp | C++ | src/xrCore/XML/XMLDocument.cpp | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 2 | 2015-02-23T10:43:02.000Z | 2015-06-11T14:45:08.000Z | src/xrCore/XML/XMLDocument.cpp | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 17 | 2022-01-25T08:58:23.000Z | 2022-03-28T17:18:28.000Z | src/xrCore/XML/XMLDocument.cpp | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 1 | 2015-06-05T20:04:00.000Z | 2015-06-05T20:04:00.000Z | #include "stdafx.h"
#include "XMLDocument.hpp"
pcstr UI_PATH = UI_PATH_DEFAULT;
pcstr UI_PATH_WITH_DELIMITER = UI_PATH_DEFAULT_WITH_DELIMITER;
XMLDocument::XMLDocument() : m_xml_file_name(), m_root(nullptr), m_pLocalRoot(nullptr) {}
XMLDocument::~XMLDocument() { ClearInternal(); }
void XMLDocument::ClearInternal()... | 27.997826 | 140 | 0.658126 |
cc02baac478f37d7d0a3db1d9d02eb223d2b63ca | 1,238 | cpp | C++ | android/android_9/device/google/cuttlefish_common/common/vsoc/lib/screen_region_view_test.cpp | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | null | null | null | android/android_9/device/google/cuttlefish_common/common/vsoc/lib/screen_region_view_test.cpp | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | null | null | null | android/android_9/device/google/cuttlefish_common/common/vsoc/lib/screen_region_view_test.cpp | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2017 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 app... | 28.790698 | 78 | 0.71567 |
cc047f3556dcd9d4e2ebccffebff5f9c42567681 | 2,921 | cpp | C++ | paint/solutions/modified2-ryno-full.cpp | acio-olympiad/ACIO2022Contest2 | 53c7ced66ae916b118cfab8c72e4531dd08defd2 | [
"MIT"
] | null | null | null | paint/solutions/modified2-ryno-full.cpp | acio-olympiad/ACIO2022Contest2 | 53c7ced66ae916b118cfab8c72e4531dd08defd2 | [
"MIT"
] | null | null | null | paint/solutions/modified2-ryno-full.cpp | acio-olympiad/ACIO2022Contest2 | 53c7ced66ae916b118cfab8c72e4531dd08defd2 | [
"MIT"
] | null | null | null | /* N <= 2e3, K <= 2e3
fracturing search
O(NK log NK)
*/
#include <algorithm>
#include <iostream>
#include <queue>
#include <vector>
#include <assert.h>
using namespace std;
typedef long long ll;
ll N, K, D;
vector<ll> costs[2005];
vector<ll> prevUsed[2005];
struct State {
// used is represented... | 26.080357 | 89 | 0.480315 |
cc07184363eb3095efc9e4fd5dad22f7bd4ef33c | 1,783 | cpp | C++ | android-31/android/view/ActionProvider.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-31/android/view/ActionProvider.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-29/android/view/ActionProvider.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #include "../content/Context.hpp"
#include "./View.hpp"
#include "./ActionProvider.hpp"
namespace android::view
{
// Fields
// QJniObject forward
ActionProvider::ActionProvider(QJniObject obj) : JObject(obj) {}
// Constructors
ActionProvider::ActionProvider(android::content::Context arg0)
: JObject(
"and... | 20.033708 | 75 | 0.691531 |
cc092514a72cc121ea98bccb6c1f87a8b945138b | 8,229 | cpp | C++ | source/rrSBMLModelSimulation.cpp | gregmedlock/roadrunnerwork | 11f18f78ef3e381bc59c546a8d5e3ed46d8ab596 | [
"Apache-2.0"
] | null | null | null | source/rrSBMLModelSimulation.cpp | gregmedlock/roadrunnerwork | 11f18f78ef3e381bc59c546a8d5e3ed46d8ab596 | [
"Apache-2.0"
] | null | null | null | source/rrSBMLModelSimulation.cpp | gregmedlock/roadrunnerwork | 11f18f78ef3e381bc59c546a8d5e3ed46d8ab596 | [
"Apache-2.0"
] | null | null | null | #ifdef USE_PCH
#include "rr_pch.h"
#endif
#pragma hdrstop
#include <iomanip>
#include <map>
#include "rrLogger.h"
#include "rrSBMLModelSimulation.h"
#include "rrUtils.h"
#include "rrRoadRunner.h"
//---------------------------------------------------------------------------
#if defined(__CODEGEARC__)
#pragma packag... | 23.311615 | 117 | 0.595577 |
cc0a20905abad9eac184c28663875b7fe134c9d3 | 14,635 | hpp | C++ | third_party/jsonxx.v0.9.2/include/jsonxx/json_unicode.hpp | vectordb-io/vectordb | 3175b0d7f795d4f5daa22eb58ff86a01cf66780d | [
"Apache-2.0"
] | 9 | 2021-06-16T08:02:19.000Z | 2021-11-04T11:49:27.000Z | third_party/jsonxx.v0.9.2/include/jsonxx/json_unicode.hpp | vectordb-io/vectordb | 3175b0d7f795d4f5daa22eb58ff86a01cf66780d | [
"Apache-2.0"
] | null | null | null | third_party/jsonxx.v0.9.2/include/jsonxx/json_unicode.hpp | vectordb-io/vectordb | 3175b0d7f795d4f5daa22eb58ff86a01cf66780d | [
"Apache-2.0"
] | 2 | 2021-06-17T14:21:03.000Z | 2021-08-13T16:37:35.000Z | // Copyright (c) 2018-2020 jsonxx - Nomango
//
// 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, ... | 29.685598 | 112 | 0.586334 |
cc0b2d9025a30e467a2e7cb6ccabe8a48551991f | 8,228 | hpp | C++ | Libraries/C++/CommonHelpers/v1.0/CommonHelpers/Details/boost_extract/vmd/detail/recurse/equal/equal_10.hpp | davidbrownell/Common_cpp_Helpers | 9e68c95873b5a4eff3a32b991d2c18dff176d6c9 | [
"BSL-1.0"
] | null | null | null | Libraries/C++/CommonHelpers/v1.0/CommonHelpers/Details/boost_extract/vmd/detail/recurse/equal/equal_10.hpp | davidbrownell/Common_cpp_Helpers | 9e68c95873b5a4eff3a32b991d2c18dff176d6c9 | [
"BSL-1.0"
] | null | null | null | Libraries/C++/CommonHelpers/v1.0/CommonHelpers/Details/boost_extract/vmd/detail/recurse/equal/equal_10.hpp | davidbrownell/Common_cpp_Helpers | 9e68c95873b5a4eff3a32b991d2c18dff176d6c9 | [
"BSL-1.0"
] | null | null | null |
// (C) Copyright Edward Diener 2011-2015
// Use, modification and distribution are 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).
#if !defined(BOOST_VMD_DETAIL_EQUAL_10_HPP)
#define BOOST_VMD_DETAIL_EQUAL_10... | 29.074205 | 87 | 0.555785 |
cc0d28d510e6dbac65cfd501c410ebe8d8cdccc9 | 14,246 | hpp | C++ | src/smilesection.hpp | quantlibnode/quantlibnode | b50348131af77a2b6c295f44ef3245daf05c4afc | [
"MIT"
] | 27 | 2016-11-19T16:51:21.000Z | 2021-09-08T16:44:15.000Z | src/smilesection.hpp | quantlibnode/quantlibnode | b50348131af77a2b6c295f44ef3245daf05c4afc | [
"MIT"
] | 1 | 2016-12-28T16:38:38.000Z | 2017-02-17T05:32:13.000Z | src/smilesection.hpp | quantlibnode/quantlibnode | b50348131af77a2b6c295f44ef3245daf05c4afc | [
"MIT"
] | 10 | 2016-12-28T02:31:38.000Z | 2021-06-15T09:02:07.000Z | /*
Copyright (C) 2016 -2017 Jerry Jin
*/
#ifndef smilesection_h
#define smilesection_h
#include <nan.h>
#include <string>
#include <queue>
#include <utility>
#include "../quantlibnode.hpp"
#include <oh/objecthandler.hpp>
using namespace node;
using namespace v8;
using namespace std;
class FlatSmileSectionWorke... | 19.435198 | 79 | 0.659273 |
cc0ee718e93af0c434dd888f299c64c242d010ad | 2,013 | cc | C++ | libs/xmi/operation.cc | sandtreader/obtools | 2382e2d90bb62c9665433d6d01bbd31b8ad66641 | [
"MIT"
] | null | null | null | libs/xmi/operation.cc | sandtreader/obtools | 2382e2d90bb62c9665433d6d01bbd31b8ad66641 | [
"MIT"
] | null | null | null | libs/xmi/operation.cc | sandtreader/obtools | 2382e2d90bb62c9665433d6d01bbd31b8ad66641 | [
"MIT"
] | null | null | null | //==========================================================================
// ObTools::XMI: operation.cc
//
// UML::Operation functionality
//
// Copyright (c) 2003 Paul Clark. All rights reserved
// This code comes with NO WARRANTY and is subject to licence agreement
//==============================================... | 27.575342 | 76 | 0.545951 |
cc0ee9a73145bbbca35e45e7a96a494223a2dc46 | 1,117 | cpp | C++ | BAC/exercises/ch9/UVa103.cpp | Anyrainel/aoapc-code | e787a01380698fb9236d933462052f97b20e6132 | [
"Apache-2.0"
] | 3 | 2017-08-15T06:00:01.000Z | 2018-12-10T09:05:53.000Z | BAC/exercises/ch9/UVa103.cpp | Anyrainel/aoapc-related-code | e787a01380698fb9236d933462052f97b20e6132 | [
"Apache-2.0"
] | null | null | null | BAC/exercises/ch9/UVa103.cpp | Anyrainel/aoapc-related-code | e787a01380698fb9236d933462052f97b20e6132 | [
"Apache-2.0"
] | 2 | 2017-09-16T18:46:27.000Z | 2018-05-22T05:42:03.000Z | // UVa103 Stacking Boxes
// Rujia Liu
// 题意:输入k个n维盒子(k<=30, n<=10),找一个最长嵌套序列。
// 算法:DAG上的最长路。首先把盒子的各个维排序,这样判断起来比较简单
#include<cstdio>
#include<cstring>
#include<algorithm>
using namespace std;
const int maxk = 30 + 5;
const int maxn = 10 + 5;
int n, k, box[maxk][maxn], d[maxk], next[maxk];
int dp(int i) {
int& ans =... | 22.795918 | 63 | 0.498657 |
cc159cec099908afe115de699d1ec5e1c2575491 | 786 | cpp | C++ | ObstacleAvoidance/ObstacleAvoidanceTest.cpp | juanchrisniady/HighLevel | d4469c2f9dbe1e1f7e559be39bb120cc4216f94c | [
"MIT"
] | 4 | 2020-05-02T00:19:58.000Z | 2020-05-02T00:21:36.000Z | ObstacleAvoidance/ObstacleAvoidanceTest.cpp | juanchrisniady/HighLevel | d4469c2f9dbe1e1f7e559be39bb120cc4216f94c | [
"MIT"
] | 8 | 2019-06-14T18:04:02.000Z | 2020-08-21T05:10:25.000Z | ObstacleAvoidance/ObstacleAvoidanceTest.cpp | juanchrisniady/HighLevel | d4469c2f9dbe1e1f7e559be39bb120cc4216f94c | [
"MIT"
] | 13 | 2019-06-13T15:02:57.000Z | 2020-08-08T00:20:26.000Z | #include "ObstacleAvoidance.h"
#include <iostream>
#include <assert.h>
using namespace std;
int main() {
vector<float> a;
for (unsigned i = 0; i < 20; i++) {
if (i > 10 && i < 16)
a.push_back(0);
else
a.push_back(i);
}
ObstacleAvoidance* car = new ObstacleAvoidance(a);
assert(car->cl... | 24.5625 | 74 | 0.59542 |
cc1733618c8c9d3d16f8ff8bce6fba2e120a08b7 | 1,507 | cpp | C++ | VPKReader/VPKReader.cpp | hufuman/VPKReader | d17af846a8212caa1e739852e266fe8ee6a5c1ea | [
"MIT"
] | 14 | 2015-05-07T15:05:38.000Z | 2020-12-04T07:00:45.000Z | VPKReader/VPKReader.cpp | hufuman/VPKReader | d17af846a8212caa1e739852e266fe8ee6a5c1ea | [
"MIT"
] | null | null | null | VPKReader/VPKReader.cpp | hufuman/VPKReader | d17af846a8212caa1e739852e266fe8ee6a5c1ea | [
"MIT"
] | 6 | 2015-05-21T16:03:03.000Z | 2021-05-17T17:17:52.000Z |
// VPKReader.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "VPKReader.h"
#include "VPKReaderDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CVPKReaderApp
BEGIN_MESSAGE_MAP(CVPKReaderApp, CWinApp)
END_MESSAGE_MAP()
// CVPKReaderApp construction
CVPKReaderApp::CVPKRe... | 22.161765 | 71 | 0.746516 |
cc182522136bfe6534e23bb5db502489f80c5c6f | 1,296 | cpp | C++ | code/RegulaFalsi.cpp | Shiv-sharma-111/Numerical-Methods | 3a85a1b643f3b4c00fb1b6d3c13af124e9d084e9 | [
"MIT"
] | null | null | null | code/RegulaFalsi.cpp | Shiv-sharma-111/Numerical-Methods | 3a85a1b643f3b4c00fb1b6d3c13af124e9d084e9 | [
"MIT"
] | null | null | null | code/RegulaFalsi.cpp | Shiv-sharma-111/Numerical-Methods | 3a85a1b643f3b4c00fb1b6d3c13af124e9d084e9 | [
"MIT"
] | null | null | null | // Program for implementation of Bisection Method for
#include<bits/stdc++.h>
using namespace std;
#define MAX_ITER 1000000
//Define the maximium iteration according to your questio
// An example function whose solution is determined using
// Bisection Method. The function is x^3 - x^2 + 2
double func(double ... | 24 | 60 | 0.53858 |
cc206c1d19bcb55dc116a958b9577bed9b183c6f | 31,377 | cpp | C++ | Sources/Elastos/Frameworks/Droid/Base/Packages/SystemUI/src/elastos/droid/systemui/CSearchPanelCircleView.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/Frameworks/Droid/Base/Packages/SystemUI/src/elastos/droid/systemui/CSearchPanelCircleView.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/Frameworks/Droid/Base/Packages/SystemUI/src/elastos/droid/systemui/CSearchPanelCircleView.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z | //=========================================================================
// Copyright (C) 2012 The Elastos Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | 33.666309 | 133 | 0.622972 |
cc216d860d51144982fd80709e6f1d1178ebfd37 | 270 | hpp | C++ | src/pulse/extensions/Vector.hpp | Rypac/pulse | c3d6ae0cab947aa6d380a0e225913b62b8883d8b | [
"Apache-2.0"
] | 2 | 2016-10-12T01:31:55.000Z | 2017-01-06T21:07:25.000Z | src/pulse/extensions/Vector.hpp | Rypac/pulse | c3d6ae0cab947aa6d380a0e225913b62b8883d8b | [
"Apache-2.0"
] | 1 | 2016-10-28T22:36:04.000Z | 2016-11-18T07:59:50.000Z | src/pulse/extensions/Vector.hpp | Rypac/pulse | c3d6ae0cab947aa6d380a0e225913b62b8883d8b | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "cocos2d.h"
namespace pulse {
template <typename T>
inline cocos2d::Vector<T> toVector(const std::vector<T>& vec) {
cocos2d::Vector<T> out;
for (auto&& element : vec) {
out.pushBack(element);
}
return out;
}
} // pulse
| 15.882353 | 63 | 0.622222 |
cc22eb5c2ee4b4475fb0962b2590c0cd830c552d | 47,400 | cpp | C++ | drishti/networkobject.cpp | stranddw/drishti | 63973422fd0272e55f755aa51378ee1da0f4ef8a | [
"MIT"
] | 118 | 2016-11-01T06:01:44.000Z | 2022-03-30T05:20:19.000Z | drishti/networkobject.cpp | stranddw/drishti | 63973422fd0272e55f755aa51378ee1da0f4ef8a | [
"MIT"
] | 56 | 2016-09-30T09:29:36.000Z | 2022-03-31T17:15:32.000Z | drishti/networkobject.cpp | stranddw/drishti | 63973422fd0272e55f755aa51378ee1da0f4ef8a | [
"MIT"
] | 28 | 2016-07-31T23:48:51.000Z | 2021-05-25T05:32:47.000Z | #include "global.h"
#include "staticfunctions.h"
#include "networkobject.h"
#include "matrix.h"
#if defined(Q_OS_WIN32)
#include <netcdfcpp.h>
#endif
void NetworkObject::setScale(float s) { m_scaleV = m_scaleE = s; }
float NetworkObject::scaleV() { return m_scaleV; }
void NetworkObject::setScaleV(float s) { m_scaleV =... | 24.295233 | 80 | 0.593397 |
cc23a8ba22778c5cf90dd9e8b25bcd5e96664c77 | 1,295 | cpp | C++ | cutrod.cpp | W-YXN/MyNOIPProjects | 0269a8385a6c8d87511236146f374f39dcdd2b82 | [
"Apache-2.0"
] | null | null | null | cutrod.cpp | W-YXN/MyNOIPProjects | 0269a8385a6c8d87511236146f374f39dcdd2b82 | [
"Apache-2.0"
] | null | null | null | cutrod.cpp | W-YXN/MyNOIPProjects | 0269a8385a6c8d87511236146f374f39dcdd2b82 | [
"Apache-2.0"
] | 1 | 2019-01-19T01:05:07.000Z | 2019-01-19T01:05:07.000Z | #include <iostream>
#include <cstdlib>
#include <cmath>
#include <algorithm>
#include <string>
#include <cstring>
#include <iomanip>
using std::cerr;
using std::cin;
using std::cout;
using std::endl;
using std::string;
int n, k;
int ropes[10010] = {0};
bool check(int len)
{
int tot = 0;
for (int i = 1; i <= n... | 17.986111 | 62 | 0.403861 |
cc27786440b04f33de133a068781e3ae14798a24 | 5,392 | inl | C++ | private/inet/urlmon/utils/ctime.inl | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | inetcore/urlmon/utils/ctime.inl | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | inetcore/urlmon/utils/ctime.inl | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2019-01-16T01:01:23.000Z | 2022-02-20T15:54:27.000Z | // This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) 1992-1995 Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
/... | 47.716814 | 80 | 0.685089 |
cc280a5d7476322d006fa06d8955609bb5b6a495 | 3,794 | hpp | C++ | hpx/plugins/parcel/message_buffer.hpp | andreasbuhr/hpx | 4366a90aacbd3e95428a94ab24a1646a67459cc2 | [
"BSL-1.0"
] | null | null | null | hpx/plugins/parcel/message_buffer.hpp | andreasbuhr/hpx | 4366a90aacbd3e95428a94ab24a1646a67459cc2 | [
"BSL-1.0"
] | null | null | null | hpx/plugins/parcel/message_buffer.hpp | andreasbuhr/hpx | 4366a90aacbd3e95428a94ab24a1646a67459cc2 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2007-2013 Hartmut Kaiser
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#if !defined(HPX_RUNTIME_PARCELSET_POLICIES_COALESCING_MESSAGE_BUFFER_MAR_07_2013_1250PM)
#define HPX_RUNTIME_PARCELSE... | 27.897059 | 89 | 0.576173 |
cc2d969996b8bac167e7ae8d39eb97bf2473fc70 | 4,582 | cpp | C++ | CHIP8-Emu/main.cpp | hugo19941994/chip8-emu | 5d2d7c92a8e7d9566e5c6564006160788201cfdb | [
"MIT"
] | 1 | 2016-11-21T00:55:52.000Z | 2016-11-21T00:55:52.000Z | CHIP8-Emu/main.cpp | hugo19941994/CHIP8-Emu | 5d2d7c92a8e7d9566e5c6564006160788201cfdb | [
"MIT"
] | null | null | null | CHIP8-Emu/main.cpp | hugo19941994/CHIP8-Emu | 5d2d7c92a8e7d9566e5c6564006160788201cfdb | [
"MIT"
] | null | null | null | #ifdef _WIN32
#include <windows.h>
#include <stdlib.h>
#include <SDL.h>
#endif
#if __linux__ || __APPLE__
#include <cstdlib>
#include <gtk/gtk.h>
#include "SDL.h"
#endif
#include <stdio.h>
//#include <string.h>
//#include <conio.h>
#include "vars.h"
//Screen dimension constants
const int SCREEN_WIDTH = 580;
const int ... | 18.933884 | 139 | 0.543867 |
cc33a61e7eb6b7d24d5b18d88053f1ecc17ee91d | 7,772 | cpp | C++ | Tree/binaryTree.cpp | harshallgarg/Diversified-Programming | 7e6fb135c4639dbaa0651b85f98397f994a5b11d | [
"MIT"
] | 2 | 2020-08-09T02:09:50.000Z | 2020-08-09T07:07:47.000Z | Tree/binaryTree.cpp | harshallgarg/Diversified-Programming | 7e6fb135c4639dbaa0651b85f98397f994a5b11d | [
"MIT"
] | null | null | null | Tree/binaryTree.cpp | harshallgarg/Diversified-Programming | 7e6fb135c4639dbaa0651b85f98397f994a5b11d | [
"MIT"
] | 5 | 2020-09-21T12:49:07.000Z | 2020-09-29T16:13:09.000Z | //
// binaryTree.cpp
// AnishC++
//
// Created by Anish Mookherjee on 01/11/19.
// Copyright © 2019 Anish Mookherjee. All rights reserved.
//
#include <iostream>
using namespace std;
struct node
{
int data;
struct node *left;
struct node *right;
}*tree;
void createTree(struct node* tree)
{
tree=NUL... | 25.233766 | 85 | 0.476969 |
cc34aa7ac8c65869c77ecb684d326d21e6cca705 | 4,204 | cpp | C++ | demos/glut/multibody/src/scenes/setup_domino_spiral.cpp | ricortiz/OpenTissue | f8c8ebc5137325b77ba90bed897f6be2795bd6fb | [
"Zlib"
] | null | null | null | demos/glut/multibody/src/scenes/setup_domino_spiral.cpp | ricortiz/OpenTissue | f8c8ebc5137325b77ba90bed897f6be2795bd6fb | [
"Zlib"
] | null | null | null | demos/glut/multibody/src/scenes/setup_domino_spiral.cpp | ricortiz/OpenTissue | f8c8ebc5137325b77ba90bed897f6be2795bd6fb | [
"Zlib"
] | null | null | null | //
// OpenTissue Template Library Demo
// - A specific demonstration of the flexibility of OTTL.
// Copyright (C) 2008 Department of Computer Science, University of Copenhagen.
//
// OTTL and OTTL Demos are licensed under zlib.
//
#include "setup_domino_spiral.h"
#include <OpenTissue/core/geometry/geometry_compute_box... | 33.903226 | 126 | 0.709087 |
cc3615ff211ed0a434cab0856157758739c55d1d | 19,385 | cpp | C++ | src/Mobs.cpp | Cavantar/RoqueLike | c2466c5950730f51a9d582d3757548299b226327 | [
"WTFPL"
] | null | null | null | src/Mobs.cpp | Cavantar/RoqueLike | c2466c5950730f51a9d582d3757548299b226327 | [
"WTFPL"
] | null | null | null | src/Mobs.cpp | Cavantar/RoqueLike | c2466c5950730f51a9d582d3757548299b226327 | [
"WTFPL"
] | null | null | null | #include "Mobs.h"
#include <sstream>
#include <iomanip>
#include <iostream>
Mob::Mob(const EntityPosition& position, int mobLevel, int health) : mobLevel(mobLevel), health(health)
{
this->position = position;
renderData.type = ER_MOB;
}
void
Mob::addHealth(float amount)
{
if(amount < 0)
{
amount += getSh... | 25.373037 | 124 | 0.682177 |
cc365f8b2bffd09ab59c4e654f53bcb02cc8951b | 442 | cpp | C++ | solved/0-b/ant-on-a-chessboard/uva/gen.cpp | abuasifkhan/pc-code | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | [
"Unlicense"
] | 13 | 2015-09-30T19:18:04.000Z | 2021-06-26T21:11:30.000Z | solved/0-b/ant-on-a-chessboard/uva/gen.cpp | sbmaruf/pc-code | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | [
"Unlicense"
] | null | null | null | solved/0-b/ant-on-a-chessboard/uva/gen.cpp | sbmaruf/pc-code | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | [
"Unlicense"
] | 13 | 2015-01-04T09:49:54.000Z | 2021-06-03T13:18:44.000Z | #include <cstdio>
#include <cstdlib>
#include <ctime>
#define MAXT 100
#define MAXN 2000000000
int T;
void gen()
{
int n = rand() % MAXN + 1;
int r = rand() % 10;
if (n >= 100 && r < 1) n = rand() % 100 + 1;
if (n >= 10000 && r < 3) n = rand() % 10000 + 1;
if (n >= 1000000 && r < 5) n = rand() % 1000000 + 1... | 11.945946 | 53 | 0.50905 |
cc38878a5553da50f5beb70eae85b22c6c2fc7d6 | 245 | cpp | C++ | src/common/Spinlock.cpp | cas1k/rewind-viewer | 6307158c6b99dd2da0be23f1816e3418eea5771f | [
"MIT"
] | 71 | 2017-10-28T14:34:34.000Z | 2020-12-30T06:55:55.000Z | src/common/Spinlock.cpp | cas1k/rewind-viewer | 6307158c6b99dd2da0be23f1816e3418eea5771f | [
"MIT"
] | 42 | 2017-11-02T12:12:25.000Z | 2020-12-10T09:53:31.000Z | src/common/Spinlock.cpp | cas1k/rewind-viewer | 6307158c6b99dd2da0be23f1816e3418eea5771f | [
"MIT"
] | 30 | 2017-11-05T18:09:48.000Z | 2020-12-06T20:03:46.000Z | //
// Created by Vladimir A. Kiselev on 08.11.2020.
//
#include "Spinlock.h"
void Spinlock::lock() {
while (lock_.test_and_set(std::memory_order_acquire))
;
}
void Spinlock::unlock() {
lock_.clear(std::memory_order_release);
}
| 17.5 | 57 | 0.665306 |
cc38b3c4b17495b8bc896bd7aee670417d7a0af5 | 2,726 | cpp | C++ | CODES.cpp | Database01001/Project--1 | 962a96557e0830ec7bd299f188865064ac69ec45 | [
"MIT"
] | null | null | null | CODES.cpp | Database01001/Project--1 | 962a96557e0830ec7bd299f188865064ac69ec45 | [
"MIT"
] | null | null | null | CODES.cpp | Database01001/Project--1 | 962a96557e0830ec7bd299f188865064ac69ec45 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main(){
int id;
id = 01;
int password;
password = 88823;
int id1 = 01;
int id2 = 02;
int password2;
password2 = 88824;
cout << "KiD KoDeR" <<endl;
cout << "Enter Your id: ";
cin >> id1;
cout << "Enter Password: ";
if(id1 != 01);{
cout << " Name : xyz "<<endl;
cout ... | 24.339286 | 84 | 0.58474 |
cc395d389d520027d5325d925f9085f1ead925e4 | 285 | cpp | C++ | ExpressionEvaluation/parse/mock/compiler_for_parser_mock/compiler_for_parser_mock.cpp | suiyili/Algorithms | d6ddc8262c5d681ecc78938b6140510793a29d91 | [
"MIT"
] | null | null | null | ExpressionEvaluation/parse/mock/compiler_for_parser_mock/compiler_for_parser_mock.cpp | suiyili/Algorithms | d6ddc8262c5d681ecc78938b6140510793a29d91 | [
"MIT"
] | null | null | null | ExpressionEvaluation/parse/mock/compiler_for_parser_mock/compiler_for_parser_mock.cpp | suiyili/Algorithms | d6ddc8262c5d681ecc78938b6140510793a29d91 | [
"MIT"
] | null | null | null | #ifdef TEST
#include "compiler_for_parser_mock.hpp"
compiler_for_parser_mock::compiler_for_parser_mock(size_t &merge_called)
: merge_called_(merge_called) {}
void compiler_for_parser_mock::merge(std::unique_ptr<compiler_i> other) {
merge_called_++;
return;
}
#endif // TEST | 21.923077 | 73 | 0.782456 |
cc39868dc2e2a56022643ac78bd67bf109a533c4 | 547 | cpp | C++ | engine/calculators/source/MagicalAttackSpeedCalculator.cpp | sidav/shadow-of-the-wyrm | 747afdeebed885b1a4f7ab42f04f9f756afd3e52 | [
"MIT"
] | 60 | 2019-08-21T04:08:41.000Z | 2022-03-10T13:48:04.000Z | engine/calculators/source/MagicalAttackSpeedCalculator.cpp | cleancoindev/shadow-of-the-wyrm | 51b23e98285ecb8336324bfd41ebf00f67b30389 | [
"MIT"
] | 3 | 2021-03-18T15:11:14.000Z | 2021-10-20T12:13:07.000Z | engine/calculators/source/MagicalAttackSpeedCalculator.cpp | cleancoindev/shadow-of-the-wyrm | 51b23e98285ecb8336324bfd41ebf00f67b30389 | [
"MIT"
] | 8 | 2019-11-16T06:29:05.000Z | 2022-01-23T17:33:43.000Z | #include "Game.hpp"
#include "MagicalAttackSpeedCalculator.hpp"
using namespace std;
ActionCostValue MagicalAttackSpeedCalculator::calculate(CreaturePtr creature)
{
ActionCostValue action_cost_value = ActionCostConstants::DEFAULT;
if (creature)
{
string spell_id = creature->get_spell_knowledge_ref().get_mo... | 23.782609 | 92 | 0.744059 |
cc3c467c959a7d153ef63099a9c5e0aa100c596a | 8,920 | cpp | C++ | Source/SystemQOR/MSWindows/WinQL/System/Devices/Interfaces/WinQLDeviceInterfaceClassCollection.cpp | mfaithfull/QOR | 0fa51789344da482e8c2726309265d56e7271971 | [
"BSL-1.0"
] | 9 | 2016-05-27T01:00:39.000Z | 2021-04-01T08:54:46.000Z | Source/SystemQOR/MSWindows/WinQL/System/Devices/Interfaces/WinQLDeviceInterfaceClassCollection.cpp | mfaithfull/QOR | 0fa51789344da482e8c2726309265d56e7271971 | [
"BSL-1.0"
] | 1 | 2016-03-03T22:54:08.000Z | 2016-03-03T22:54:08.000Z | Source/SystemQOR/MSWindows/WinQL/System/Devices/Interfaces/WinQLDeviceInterfaceClassCollection.cpp | mfaithfull/QOR | 0fa51789344da482e8c2726309265d56e7271971 | [
"BSL-1.0"
] | 4 | 2016-05-27T01:00:43.000Z | 2018-08-19T08:47:49.000Z | //WinQLDeviceInterfaceClassCollection.cpp
// Copyright Querysoft Limited 2013, 2017
//
// Permission is hereby granted, free of charge, to any person or organization
// obtaining a copy of the software and accompanying documentation covered by
// this license (the "Software") to use, reproduce, display, distribute,
//... | 63.262411 | 190 | 0.726682 |
cc3ec7713db5e387daeb5c2614a49d6be4c640a5 | 2,514 | cpp | C++ | RemoteMessage/Message.cpp | deping/RemoteMessage | cb6782814a51904ca45cb3c00fefc48594d40789 | [
"MIT"
] | null | null | null | RemoteMessage/Message.cpp | deping/RemoteMessage | cb6782814a51904ca45cb3c00fefc48594d40789 | [
"MIT"
] | null | null | null | RemoteMessage/Message.cpp | deping/RemoteMessage | cb6782814a51904ca45cb3c00fefc48594d40789 | [
"MIT"
] | null | null | null | /***************************************************************************
* Copyright (C) 2017, Deping Chen, cdp97531@sina.com
*
* All rights reserved.
* For permission requests, write to the publisher.
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
*... | 22.247788 | 76 | 0.658313 |
cc40b34a90096d376091f0eb6ff64a32fd9f48dd | 15,609 | hh | C++ | dune/gdt/operators/darcy.hh | tobiasleibner/dune-gdt | 5d3dc6c7f5fd66db78ebb294d7ee4803f8e0bf5b | [
"BSD-2-Clause"
] | null | null | null | dune/gdt/operators/darcy.hh | tobiasleibner/dune-gdt | 5d3dc6c7f5fd66db78ebb294d7ee4803f8e0bf5b | [
"BSD-2-Clause"
] | null | null | null | dune/gdt/operators/darcy.hh | tobiasleibner/dune-gdt | 5d3dc6c7f5fd66db78ebb294d7ee4803f8e0bf5b | [
"BSD-2-Clause"
] | null | null | null | // This file is part of the dune-gdt project:
// https://github.com/dune-community/dune-gdt
// Copyright 2010-2017 dune-gdt 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://opensource.org/lice... | 45.375 | 120 | 0.677622 |
cc4386b024c86e93e6b869b484c6fabb046a50b6 | 19,738 | cpp | C++ | test/src/test_lib/property_set.cpp | falko-strenzke/fleaTLS | 613a7cb977333f5f193f91b9e2c780d08aa8a3d5 | [
"Apache-2.0"
] | null | null | null | test/src/test_lib/property_set.cpp | falko-strenzke/fleaTLS | 613a7cb977333f5f193f91b9e2c780d08aa8a3d5 | [
"Apache-2.0"
] | null | null | null | test/src/test_lib/property_set.cpp | falko-strenzke/fleaTLS | 613a7cb977333f5f193f91b9e2c780d08aa8a3d5 | [
"Apache-2.0"
] | 1 | 2020-08-06T10:25:03.000Z | 2020-08-06T10:25:03.000Z | /* fleaTLS cryptographic library
Copyright (C) 2015-2019 cryptosource GmbH
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... | 24.159119 | 119 | 0.601885 |
cc4a9577fb50e1a12d7044ea8c8f5779059d7f55 | 1,620 | cpp | C++ | app_modules/01_keyboard_module/src/application.cpp | LucaRitz/learn_with_tello | f7fc45e7a9e9a2903638ec8367c9b355a4f1afc9 | [
"Apache-2.0"
] | null | null | null | app_modules/01_keyboard_module/src/application.cpp | LucaRitz/learn_with_tello | f7fc45e7a9e9a2903638ec8367c9b355a4f1afc9 | [
"Apache-2.0"
] | null | null | null | app_modules/01_keyboard_module/src/application.cpp | LucaRitz/learn_with_tello | f7fc45e7a9e9a2903638ec8367c9b355a4f1afc9 | [
"Apache-2.0"
] | null | null | null | #include "application.hpp"
#include <tello/tello.hpp>
#include "keyboard_view.hpp"
#include "keyboard_controller.hpp"
using tello::Tello;
using tello::Response;
Application::Application() :
_baseSettings(nullptr),
_keyboardView(std::make_unique<KeyboardView>()),
_keyboardController(std::make_unique<Keybo... | 24.179104 | 109 | 0.652469 |
cc4a9be52935ca5f7693107b03a076fe5b10b430 | 6,487 | cpp | C++ | Uebungen/Aufgabe1/main.cpp | StefanoD/Geometric_Modeling | 0997f8d57bf2bc7bd5eb4b4e2524b0fdbc7a125c | [
"Apache-2.0"
] | null | null | null | Uebungen/Aufgabe1/main.cpp | StefanoD/Geometric_Modeling | 0997f8d57bf2bc7bd5eb4b4e2524b0fdbc7a125c | [
"Apache-2.0"
] | null | null | null | Uebungen/Aufgabe1/main.cpp | StefanoD/Geometric_Modeling | 0997f8d57bf2bc7bd5eb4b4e2524b0fdbc7a125c | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////
//
// Georg Umlauf, (c) 2012
//
////////////////////////////////////////////////////////////////////
//#include "stdafx.h"
#include "color.h"
#include "vec.h"
#include "mat.h"
#include "quader.h"
#include "viewSystem.h"
#include <iostre... | 26.586066 | 122 | 0.478341 |
cc4d488f19a45a637ad4a82810a5eb173f26c8e0 | 16,538 | cc | C++ | util/unittest/iostream.cc | stablecc/scclib | cedcb3b37a814d3a393e128db7aa9753f518cbaf | [
"BSD-3-Clause"
] | null | null | null | util/unittest/iostream.cc | stablecc/scclib | cedcb3b37a814d3a393e128db7aa9753f518cbaf | [
"BSD-3-Clause"
] | 10 | 2022-02-27T18:52:11.000Z | 2022-03-21T14:11:35.000Z | util/unittest/iostream.cc | stablecc/scclib | cedcb3b37a814d3a393e128db7aa9753f518cbaf | [
"BSD-3-Clause"
] | null | null | null | /*
BSD 3-Clause License
Copyright (c) 2022, Stable Cloud Computing, Inc.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions ... | 25.365031 | 126 | 0.649837 |
cc55f374e84a9a62381d34ad987b19ff57fc8d09 | 3,135 | cpp | C++ | encode/encode.avx512.cpp | WojciechMula/base64simd | 6bde46e13d42f962620c0c496f0e5b288043ff5d | [
"BSD-2-Clause"
] | 133 | 2016-09-15T18:38:00.000Z | 2022-02-01T14:09:10.000Z | encode/encode.avx512.cpp | pkpioneer/base64simd | 6bde46e13d42f962620c0c496f0e5b288043ff5d | [
"BSD-2-Clause"
] | 8 | 2016-11-26T07:21:50.000Z | 2021-07-12T14:49:22.000Z | encode/encode.avx512.cpp | pkpioneer/base64simd | 6bde46e13d42f962620c0c496f0e5b288043ff5d | [
"BSD-2-Clause"
] | 12 | 2016-11-25T20:31:06.000Z | 2021-03-22T12:01:48.000Z | namespace base64 {
namespace avx512 {
template <typename LOOKUP_FN, typename UNPACK_FN>
void encode_load_gather(LOOKUP_FN lookup, UNPACK_FN unpack, const uint8_t* input, size_t bytes, uint8_t* output) {
uint8_t* out = output;
const __m512i input_offsets = _mm512_setr_epi3... | 38.703704 | 122 | 0.511005 |
cc5684e092292d8ad5f042a20f9f0c835fd1938b | 863 | cpp | C++ | Baekjoon/2098.cpp | Twinparadox/AlgorithmProblem | 0190d17555306600cfd439ad5d02a77e663c9a4e | [
"MIT"
] | null | null | null | Baekjoon/2098.cpp | Twinparadox/AlgorithmProblem | 0190d17555306600cfd439ad5d02a77e663c9a4e | [
"MIT"
] | null | null | null | Baekjoon/2098.cpp | Twinparadox/AlgorithmProblem | 0190d17555306600cfd439ad5d02a77e663c9a4e | [
"MIT"
] | null | null | null | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
const int INF = 1e9;
int N;
vector<vector<int> > W;
vector<vector<int> > dp;
int TSP(int cur, int visited)
{
int ret = dp[cur][visited];
if (ret != 0)
return ret;
if (visited == (1 << N) - 1)
{
if (W[cur][0] != 0)
return W[cur][... | 17.612245 | 54 | 0.537659 |
cc58c8ded1a47b95895c1fbd2e86d3a79e75e503 | 3,343 | hpp | C++ | tests/unit_tests/neutral/precompiled_headers.hpp | dbremner/cxxreflect | bbf1649b00755f8463e4a73b28dec4cd5b609493 | [
"BSL-1.0"
] | 5 | 2019-03-21T14:52:16.000Z | 2021-02-20T13:14:25.000Z | tests/unit_tests/neutral/precompiled_headers.hpp | dbremner/cxxreflect | bbf1649b00755f8463e4a73b28dec4cd5b609493 | [
"BSL-1.0"
] | null | null | null | tests/unit_tests/neutral/precompiled_headers.hpp | dbremner/cxxreflect | bbf1649b00755f8463e4a73b28dec4cd5b609493 | [
"BSL-1.0"
] | 2 | 2017-02-17T23:24:23.000Z | 2021-07-06T18:10:35.000Z |
// Copyright James P. McNellis 2011 - 2013. //
// 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 CX... | 50.651515 | 124 | 0.49297 |
cc5a34d1c75a441535df4e48ed3e371f76bd83c4 | 118 | cpp | C++ | ios/HelloJSI.cpp | qesya/react-native-nando-coding | d287660b64b3d6a215c2cc8ff52e7b04d6355742 | [
"MIT"
] | null | null | null | ios/HelloJSI.cpp | qesya/react-native-nando-coding | d287660b64b3d6a215c2cc8ff52e7b04d6355742 | [
"MIT"
] | null | null | null | ios/HelloJSI.cpp | qesya/react-native-nando-coding | d287660b64b3d6a215c2cc8ff52e7b04d6355742 | [
"MIT"
] | null | null | null | //
// HelloJSI.cpp
// react-native-nando-coding
//
// Created by rbayuokt on 12/03/22.
//
#include "HelloJSI.hpp"
| 13.111111 | 36 | 0.644068 |
7fde3da7497c8b023c3281fcd01f899d9fdfd495 | 323 | hpp | C++ | library/ATF/CPageSetupDialog.hpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | library/ATF/CPageSetupDialog.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | library/ATF/CPageSetupDialog.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 44 | 2017-12-19T08:02:59.000Z | 2022-02-24T23:15:01.000Z | // This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
#include <CCommonDialog.hpp>
#include <tagPSDA.hpp>
START_ATF_NAMESPACE
struct CPageSetupDialog : CCommonDialog
{
tagPSDA m_psd;
};
END_ATF_NAMESPA... | 21.533333 | 108 | 0.736842 |
7fe2db7f70c1efb40eb82b01c4ee839fdb9f6500 | 3,280 | cpp | C++ | src/VerifyModel.cpp | squarefk/spheretree-fixed | 79ec91538030a271f7aba16e22dc20c9ebb63444 | [
"Unlicense"
] | 17 | 2016-08-12T13:15:41.000Z | 2021-11-11T10:03:48.000Z | src/VerifyModel.cpp | squarefk/spheretree-fixed | 79ec91538030a271f7aba16e22dc20c9ebb63444 | [
"Unlicense"
] | null | null | null | src/VerifyModel.cpp | squarefk/spheretree-fixed | 79ec91538030a271f7aba16e22dc20c9ebb63444 | [
"Unlicense"
] | 9 | 2016-04-26T16:15:45.000Z | 2020-10-29T00:12:12.000Z | /*************************************************************************\
C O P Y R I G H T
Copyright 2003 Image Synthesis Group, Trinity College Dublin, Ireland.
All Rights Reserved.
Permission to use, copy, modify and distribute this software and its
doc... | 35.652174 | 97 | 0.623476 |
7fe32f55f8b033fbae671487495b6bf009a3d4c1 | 360 | hpp | C++ | mlprodict/onnxrt/ops_cpu/op_common_num_.hpp | sdpython/mlprodic | 9367dacc91d35ec670c8a8a76708300a75bbc993 | [
"MIT"
] | 32 | 2018-03-04T23:33:30.000Z | 2022-03-10T19:15:06.000Z | mlprodict/onnxrt/ops_cpu/op_common_num_.hpp | sdpython/mlprodic | 9367dacc91d35ec670c8a8a76708300a75bbc993 | [
"MIT"
] | 184 | 2017-11-30T14:10:35.000Z | 2022-02-21T08:29:31.000Z | mlprodict/onnxrt/ops_cpu/op_common_num_.hpp | sdpython/mlprodic | 9367dacc91d35ec670c8a8a76708300a75bbc993 | [
"MIT"
] | 9 | 2019-07-24T13:18:00.000Z | 2022-03-07T04:08:07.000Z | #pragma once
#include <cmath>
#include <vector>
#include <stdio.h>
float vector_dot_product_pointer16_sse(const float *p1, const float *p2, size_t size);
double vector_dot_product_pointer16_sse(const double *p1, const double *p2, size_t size);
template <typename NTYPE>
NTYPE vector_dot_product_pointer_sse(const NT... | 25.714286 | 89 | 0.786111 |
7fe573db8c51212b03c5026a081fb67862125d1a | 4,701 | cpp | C++ | examples/triangleTesselation.cpp | maldicion069/monkeybrush- | 2bccca097402ff1f5344e356f06de19c8c70065b | [
"MIT"
] | 1 | 2016-11-15T09:04:12.000Z | 2016-11-15T09:04:12.000Z | examples/triangleTesselation.cpp | maldicion069/monkeybrush- | 2bccca097402ff1f5344e356f06de19c8c70065b | [
"MIT"
] | null | null | null | examples/triangleTesselation.cpp | maldicion069/monkeybrush- | 2bccca097402ff1f5344e356f06de19c8c70065b | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2016 maldicion069
*
* Authors: Cristian Rodríguez Bernal <ccrisrober@gmail.com>
*
* This file is part of MonkeyBrushPlusPlus
* <https://github.com/maldicion069/monkeybrushplusplus>
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Les... | 29.753165 | 91 | 0.633057 |
7fe5b6df0ea263422344d078e4029abaf769af29 | 1,557 | cpp | C++ | Data Structures/fixed_parities.cpp | abdzitter/Daily-Coding-DS-ALGO-Practice | 26ddbf7a3673608039a07d26d812fce31b69871a | [
"MIT"
] | 289 | 2021-05-15T22:56:03.000Z | 2022-03-28T23:13:25.000Z | Data Structures/fixed_parities.cpp | abdzitter/Daily-Coding-DS-ALGO-Practice | 26ddbf7a3673608039a07d26d812fce31b69871a | [
"MIT"
] | 1,812 | 2021-05-09T13:49:58.000Z | 2022-01-15T19:27:17.000Z | Data Structures/fixed_parities.cpp | abdzitter/Daily-Coding-DS-ALGO-Practice | 26ddbf7a3673608039a07d26d812fce31b69871a | [
"MIT"
] | 663 | 2021-05-09T16:57:58.000Z | 2022-03-27T14:15:07.000Z | #include<bits/stdc++.h>
using namespace std;
// Fixed Parities
// Link to the problem: https://www.hackerearth.com/practice/data-structures/arrays/1-d/practice-problems/algorithm/fixed-parity-440254c0/
// Alice and Bob are playing a board game. They have n×n boards and two arrays a and b of length n. The value of... | 21.328767 | 287 | 0.624277 |
7fe5c7d528dd139c01f6168246f8953b5a03993f | 1,164 | cpp | C++ | Data Structures/Graph/directed-weighted-graph-using-matrix.cpp | luchev/uni-data-structures-and-algorithms-assistant-2019 | 3dcb1efc6f65b4736d3761c0bad858cb236bc213 | [
"MIT"
] | 3 | 2019-10-24T08:38:34.000Z | 2019-12-03T10:46:10.000Z | Data Structures/Graph/directed-weighted-graph-using-matrix.cpp | luchev/uni-data-structures-and-algorithms-2019 | 3dcb1efc6f65b4736d3761c0bad858cb236bc213 | [
"MIT"
] | null | null | null | Data Structures/Graph/directed-weighted-graph-using-matrix.cpp | luchev/uni-data-structures-and-algorithms-2019 | 3dcb1efc6f65b4736d3761c0bad858cb236bc213 | [
"MIT"
] | 2 | 2019-10-22T11:51:18.000Z | 2019-11-03T21:51:33.000Z | #include <iostream>
#include <vector>
using namespace std;
class Graph {
private:
vector<vector<int>> adjacencyMatrix;
public:
Graph(int nodeCount) {
adjacencyMatrix.resize(nodeCount);
for (int row = 0; row < adjacencyMatrix.size(); row++) {
adjacencyMatrix[row].resize(nodeCount);
for (int col = 0; col < ... | 22.823529 | 74 | 0.65378 |
7fe64908148936a470b6d209a967c22820589f1d | 295 | cpp | C++ | Week 1 May 1st to May 7th/numberComplement.cpp | huynhtruc0309/May-LeetCoding-Challenge | 958de292527ff15502af495c695d17f10eedd697 | [
"MIT"
] | 16 | 2020-05-06T14:56:33.000Z | 2020-05-10T17:32:16.000Z | Week 1 May 1st to May 7th/numberComplement.cpp | huynhtruc0309/May-LeetCoding-Challenge | 958de292527ff15502af495c695d17f10eedd697 | [
"MIT"
] | null | null | null | Week 1 May 1st to May 7th/numberComplement.cpp | huynhtruc0309/May-LeetCoding-Challenge | 958de292527ff15502af495c695d17f10eedd697 | [
"MIT"
] | 1 | 2020-05-17T09:31:30.000Z | 2020-05-17T09:31:30.000Z | class Solution {
public:
int findComplement(int num) {
int result = 0;
int i = 0;
while(num) {
if ((num & 1) == 0)
result += 1 << i;
i += 1;
num >>= 1;
}
return result;
}
}; | 18.4375 | 33 | 0.332203 |
7fe83cf4a5a5e11cc25f6f00a35ed1ff91d73d6f | 2,680 | cpp | C++ | TestFramework/RIMStageWebViewTestSuite.cpp | blackberry/Ripple-Framework | c3126aa0669068f5ee102b65231fdaebdcdfa9ff | [
"Apache-2.0"
] | 1 | 2015-04-17T04:48:56.000Z | 2015-04-17T04:48:56.000Z | TestFramework/RIMStageWebViewTestSuite.cpp | blackberry-webworks/Ripple-Framework | c3126aa0669068f5ee102b65231fdaebdcdfa9ff | [
"Apache-2.0"
] | 4 | 2016-04-22T13:37:33.000Z | 2016-04-22T13:37:56.000Z | TestFramework/RIMStageWebViewTestSuite.cpp | blackberry-webworks/Ripple-Framework | c3126aa0669068f5ee102b65231fdaebdcdfa9ff | [
"Apache-2.0"
] | 2 | 2019-02-15T19:14:52.000Z | 2020-08-06T01:42:03.000Z | /*
* Copyright 2010-2011 Research In Motion Limited.
*
* 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... | 27.346939 | 97 | 0.698507 |
7fe9238a5801d5137269ec4ac4116aadd933975b | 2,708 | hxx | C++ | opencascade/BRepGProp_Sinert.hxx | valgur/OCP | 2f7d9da73a08e4ffe80883614aedacb27351134f | [
"Apache-2.0"
] | 117 | 2020-03-07T12:07:05.000Z | 2022-03-27T07:35:22.000Z | opencascade/BRepGProp_Sinert.hxx | CadQuery/cpp-py-bindgen | 66e7376d3a27444393fc99acbdbef40bbc7031ae | [
"Apache-2.0"
] | 66 | 2019-12-20T16:07:36.000Z | 2022-03-15T21:56:10.000Z | opencascade/BRepGProp_Sinert.hxx | CadQuery/cpp-py-bindgen | 66e7376d3a27444393fc99acbdbef40bbc7031ae | [
"Apache-2.0"
] | 76 | 2020-03-16T01:47:46.000Z | 2022-03-21T16:37:07.000Z | // Created on: 1991-04-12
// Created by: Michel CHAUVAT
// Copyright (c) 1991-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU... | 27.917526 | 125 | 0.772157 |
7fea0a7772e523c1b08eb7d4330533cfc1d042f6 | 3,563 | cpp | C++ | PJDL/SimpleToken.cpp | szopeno/skeleton-parser-civetweb | 440d684675e4446d8e4fea5e333452b36f33614c | [
"MIT"
] | null | null | null | PJDL/SimpleToken.cpp | szopeno/skeleton-parser-civetweb | 440d684675e4446d8e4fea5e333452b36f33614c | [
"MIT"
] | null | null | null | PJDL/SimpleToken.cpp | szopeno/skeleton-parser-civetweb | 440d684675e4446d8e4fea5e333452b36f33614c | [
"MIT"
] | null | null | null | #include "SimpleToken.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
SimpleToken::SimpleToken() : indent(-1), _level(0), isInt(false)
{
value[0] = 0;
numValue = 0;
}
//const char *const str ?
SimpleToken::SimpleToken(const char str[])
{
int i;
//long *dst = (long *)value,*src = (long *)... | 25.633094 | 80 | 0.588549 |
7ff3641a9471cf5c90711469cde3e63d53daed85 | 11,978 | hpp | C++ | src/protocol.hpp | Fingercomp/oc-vremote | db93fd9c246e52b9a7fbcac41ef703135f3d4b10 | [
"Apache-2.0"
] | null | null | null | src/protocol.hpp | Fingercomp/oc-vremote | db93fd9c246e52b9a7fbcac41ef703135f3d4b10 | [
"Apache-2.0"
] | null | null | null | src/protocol.hpp | Fingercomp/oc-vremote | db93fd9c246e52b9a7fbcac41ef703135f3d4b10 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <sstream>
#include <string>
#include <vector>
#include "util.hpp"
// We're using uint32_t as uint24_t:
// 32-bit integers has the long type
using uint24_t = uint32_t;
enum NetMessageCode {
MSG_ERROR, // = 0
MSG_AUTH_CLIENT, // = 1
MSG_AUTH_SERVER, // = 2
MSG_INITIAL_DATA, // =... | 32.726776 | 95 | 0.67098 |
7ff807a70c731bdc96b684e849b319e0ea9db4fb | 30,019 | cc | C++ | docker/water/sph/tags/gpusph/src/writers/VTKWriter.cc | liujiamingustc/phd | 4f815a738abad43531d02ac66f5bd0d9a1def52a | [
"Apache-2.0"
] | 3 | 2021-01-06T03:01:18.000Z | 2022-03-21T03:02:55.000Z | docker/water/sph/tags/gpusph/src/writers/VTKWriter.cc | liujiamingustc/phd | 4f815a738abad43531d02ac66f5bd0d9a1def52a | [
"Apache-2.0"
] | null | null | null | docker/water/sph/tags/gpusph/src/writers/VTKWriter.cc | liujiamingustc/phd | 4f815a738abad43531d02ac66f5bd0d9a1def52a | [
"Apache-2.0"
] | null | null | null | /* Copyright 2011-2013 Alexis Herault, Giuseppe Bilotta, Robert A. Dalrymple, Eugenio Rustico, Ciro Del Negro
Istituto Nazionale di Geofisica e Vulcanologia
Sezione di Catania, Catania, Italy
Università di Catania, Catania, Italy
Johns Hopkins University, Baltimore, MD
This file is part of ... | 28.616778 | 126 | 0.64779 |
7ff9bb86d836248aba8bbdfc0129cbcba4e251a2 | 518 | hpp | C++ | protean/detail/sequence.hpp | proteanic/protean | dcbb0d0d2da708dd7f524124e64a8085ccb8b9e5 | [
"BSL-1.0"
] | 2 | 2017-11-08T19:40:50.000Z | 2017-11-24T18:43:09.000Z | protean/detail/sequence.hpp | roederja/protean | 502cccd10b5721bd74385959362890ec6b5e5d29 | [
"BSL-1.0"
] | 3 | 2017-12-20T13:37:00.000Z | 2018-12-04T11:31:14.000Z | protean/detail/sequence.hpp | roederja/protean | 502cccd10b5721bd74385959362890ec6b5e5d29 | [
"BSL-1.0"
] | 7 | 2015-02-11T14:43:16.000Z | 2020-06-20T21:06:38.000Z | #ifndef PROTEAN_DETAIL_SEQUENCE_HPP
#define PROTEAN_DETAIL_SEQUENCE_HPP
#include <protean/config.hpp>
#include <protean/detail/collection.hpp>
namespace protean {
class variant;
namespace detail {
class PROTEAN_DECL sequence : public collection
{
public:
virtual const ... | 19.185185 | 62 | 0.671815 |
7ffc2ff07c26e8a54e280caa0d73deff81c874f7 | 804 | cpp | C++ | src/1000/1012.cpp14.cpp | upple/BOJ | e6dbf9fd17fa2b458c6a781d803123b14c18e6f1 | [
"MIT"
] | 8 | 2018-04-12T15:54:09.000Z | 2020-06-05T07:41:15.000Z | src/1000/1012.cpp14.cpp | upple/BOJ | e6dbf9fd17fa2b458c6a781d803123b14c18e6f1 | [
"MIT"
] | null | null | null | src/1000/1012.cpp14.cpp | upple/BOJ | e6dbf9fd17fa2b458c6a781d803123b14c18e6f1 | [
"MIT"
] | null | null | null | #include <cstdio>
using namespace std;
const int move_x[4]={1, -1, 0, 0};
const int move_y[4]={ 0, 0, 1, -1};
bool map[51][52]={}, visit[52][52]={};
int count;
int dfs(int x, int y)
{
for(int i=0; i<4; i++)
{
int nx=x+move_x[i], ny=y+move_y[i];
if(map[nx][ny] && !visit[nx][ny])
visit[nx][ny]=true, dfs(nx, ny)... | 17.106383 | 42 | 0.483831 |
7ffebbbc9488d5b91724e8f430825c51d4e6c7d9 | 2,450 | c++ | C++ | 3rd_party/transdecoder/3rd_party/cd-hit-v4.6.1-2012-08-27/cdhit-div.c++ | alpapan/DEW | 3fb77e51a677d05c8c294eb4114284f0b3e55fd4 | [
"BSD-3-Clause"
] | 2 | 2016-11-30T04:32:02.000Z | 2018-06-29T12:19:58.000Z | 3rd_party/transdecoder/3rd_party/cd-hit-v4.6.1-2012-08-27/cdhit-div.c++ | alpapan/DEW | 3fb77e51a677d05c8c294eb4114284f0b3e55fd4 | [
"BSD-3-Clause"
] | 3 | 2021-01-20T13:29:08.000Z | 2022-02-21T15:21:15.000Z | 3rd_party/transdecoder/3rd_party/cd-hit-v4.6.1-2012-08-27/cdhit-div.c++ | alpapan/DEW | 3fb77e51a677d05c8c294eb4114284f0b3e55fd4 | [
"BSD-3-Clause"
] | 1 | 2020-09-10T09:31:45.000Z | 2020-09-10T09:31:45.000Z | // =============================================================================
// CD-HIT
// http://cd-hit.org/
// http://bioinformatics.burnham-inst.org/cd-hi
//
// program written by
// Weizhong Li
// UCSD, San Diego Supercomputer Center
// ... | 35 | 113 | 0.437551 |
7fff156a502f4205f09f91f15687ebf7d3debff8 | 7,055 | cpp | C++ | calculation/BigInt/SignedBigInt.cpp | searchstar2017/acmtool | 03392b8909a3d45f10c2711ca4ad9ba69f64a481 | [
"MIT"
] | null | null | null | calculation/BigInt/SignedBigInt.cpp | searchstar2017/acmtool | 03392b8909a3d45f10c2711ca4ad9ba69f64a481 | [
"MIT"
] | null | null | null | calculation/BigInt/SignedBigInt.cpp | searchstar2017/acmtool | 03392b8909a3d45f10c2711ca4ad9ba69f64a481 | [
"MIT"
] | null | null | null | struct SignedBigInt {
bool is_minus;
UnsignedBigInt absVal;
SignedBigInt() : is_minus(false) {}
explicit SignedBigInt(int num) : absVal(std::abs(num)), is_minus(num < 0) {}
explicit SignedBigInt(LL num) : absVal(std::abs(num)), is_minus(num < 0) {}
explicit SignedBigInt(const string& num) {
... | 26.03321 | 149 | 0.514245 |
7ffff0fffabaf2f0077794c791cf69d75490d39e | 1,036 | cpp | C++ | src/sequencial.cpp | lucasnr/so-atividade-1 | 556d1cf710217d81d47cc74a1494049f883ff6aa | [
"MIT"
] | null | null | null | src/sequencial.cpp | lucasnr/so-atividade-1 | 556d1cf710217d81d47cc74a1494049f883ff6aa | [
"MIT"
] | null | null | null | src/sequencial.cpp | lucasnr/so-atividade-1 | 556d1cf710217d81d47cc74a1494049f883ff6aa | [
"MIT"
] | null | null | null | #include <chrono>
#include <iostream>
#include <vector>
#include "./util.h"
using namespace std;
using matrix = vector<vector<int>>;
int main(int argc, char **argv) {
if (argc < 3) {
cout << "Not enough arguments" << endl;
exit(1);
}
auto filename1 = argv[1];
auto filename2 = argv[2];
matrix arra... | 24.093023 | 71 | 0.65444 |
3d013b42ee6c78efc856be9afffc62665f89f08d | 15,394 | cpp | C++ | src/Core/DS_Config.cpp | WinT-3794/libDS | 87ae5b3018e968bfb932d6cb8929e9ffefb273ab | [
"MIT"
] | 12 | 2015-09-21T03:05:57.000Z | 2016-04-27T17:46:41.000Z | src/Core/DS_Config.cpp | WinT-3794/LibDS | 87ae5b3018e968bfb932d6cb8929e9ffefb273ab | [
"MIT"
] | null | null | null | src/Core/DS_Config.cpp | WinT-3794/LibDS | 87ae5b3018e968bfb932d6cb8929e9ffefb273ab | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2016 Alex Spataru <alex_spataru@outlook.com>
*
* This file is part of the LibDS, which is released under the MIT license.
* For more information, please read the LICENSE file in the root directory
* of this project.
*/
#include "DS_Config.h"
#include "DriverStation.h"
#include <QTh... | 26.450172 | 80 | 0.654476 |
3d03852efc50f17976123526503114185e2edf71 | 19,901 | cpp | C++ | scanmatcher/src/image_projection.cpp | rsasaki0109/li_slam_ros2 | 09e8cd3df514c10cbc1058896828dd1eb8e900be | [
"BSD-2-Clause"
] | 113 | 2020-07-09T01:08:53.000Z | 2022-03-25T07:52:05.000Z | scanmatcher/src/image_projection.cpp | rsasaki0109/li_slam_ros2 | 09e8cd3df514c10cbc1058896828dd1eb8e900be | [
"BSD-2-Clause"
] | 5 | 2020-10-07T14:31:34.000Z | 2021-08-01T13:01:03.000Z | scanmatcher/src/image_projection.cpp | rsasaki0109/li_slam_ros2 | 09e8cd3df514c10cbc1058896828dd1eb8e900be | [
"BSD-2-Clause"
] | 15 | 2020-07-11T13:50:01.000Z | 2022-03-17T03:11:36.000Z | // BSD 3-Clause License
//
// Copyright (c) 2020, Tixiao Shan
// 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, thi... | 29.309278 | 142 | 0.64042 |
3d0436217b956386d9d0ab1cb2236b094b880d8f | 1,531 | hpp | C++ | include/Aheuiplusplus/command_line.hpp | JellyBrick/Aheuiplusplus | e4303582517d6893850d120c772244486017f873 | [
"MIT"
] | null | null | null | include/Aheuiplusplus/command_line.hpp | JellyBrick/Aheuiplusplus | e4303582517d6893850d120c772244486017f873 | [
"MIT"
] | null | null | null | include/Aheuiplusplus/command_line.hpp | JellyBrick/Aheuiplusplus | e4303582517d6893850d120c772244486017f873 | [
"MIT"
] | null | null | null | #ifndef AHEUIPLUSPLUS_HEADER_PROGRAM_OPTIONS_HPP
#define AHEUIPLUSPLUS_HEADER_PROGRAM_OPTIONS_HPP
#include <Aheuiplusplus/version.hpp>
#include <cstdio>
#include <string>
namespace app
{
class command_line final
{
public:
command_line() = default;
command_line(const command_line& data);
~command_line() = de... | 27.836364 | 76 | 0.779882 |
3d0bc70aa4b41d04e032cace0dc9d1ef09d4c7c6 | 60,197 | cpp | C++ | src/viewer/Scene.cpp | VladSerhiienko/Viewer | b0ea7f299e234a677ea15e82c35b713e59aeb236 | [
"MIT"
] | 10 | 2017-12-29T09:35:44.000Z | 2019-10-03T17:20:00.000Z | src/viewer/Scene.cpp | VladSerhiienko/Viewer | b0ea7f299e234a677ea15e82c35b713e59aeb236 | [
"MIT"
] | null | null | null | src/viewer/Scene.cpp | VladSerhiienko/Viewer | b0ea7f299e234a677ea15e82c35b713e59aeb236 | [
"MIT"
] | 1 | 2019-03-18T06:03:40.000Z | 2019-03-18T06:03:40.000Z |
#include "Scene.h"
#include <apemode/platform/AppState.h>
#include <apemode/platform/memory/MemoryManager.h>
//#define APEMODEVK_NO_GOOGLE_DRACO
#ifndef APEMODEVK_NO_GOOGLE_DRACO
#ifdef ERROR
#undef ERROR
#endif
#include <draco/compression/decode.h>
#include <draco/animation/keyframe_animation_decoder.h>
#endif
#ifn... | 51.318841 | 163 | 0.593352 |
3d11ac454b8035716481d5f83f7cd6e6372b955b | 22,688 | cpp | C++ | Source/Homework 10 Includes/MyFloatD.cpp | rux616/c201 | d8509e8d49e52e7326486249ad8d567560bf4ad4 | [
"MIT"
] | null | null | null | Source/Homework 10 Includes/MyFloatD.cpp | rux616/c201 | d8509e8d49e52e7326486249ad8d567560bf4ad4 | [
"MIT"
] | null | null | null | Source/Homework 10 Includes/MyFloatD.cpp | rux616/c201 | d8509e8d49e52e7326486249ad8d567560bf4ad4 | [
"MIT"
] | null | null | null | /*
Name: Dan Cassidy
Date: 2014-04-26
Homework #: 10
Source File: MyFloatD.cpp
Class: C-201 MW 1000
Action: This file represents the detailed abstraction and implementation of the Abstract Data Type
"MyFloat", which is a dynamically-precise decimal (up to 65535 places) between 0 and 1.
In t... | 33.266862 | 107 | 0.634124 |
3d11ba5288ab036fa926e5afdacfb198b0b5d5ab | 595 | hh | C++ | src/parser/transform.hh | jcbaillie/urbi | fb17359b2838cdf8d3c0858abb141e167a9d4bdb | [
"BSD-3-Clause"
] | 16 | 2016-05-10T05:50:58.000Z | 2021-10-05T22:16:13.000Z | src/parser/transform.hh | jcbaillie/urbi | fb17359b2838cdf8d3c0858abb141e167a9d4bdb | [
"BSD-3-Clause"
] | 7 | 2016-09-05T10:08:33.000Z | 2019-02-13T10:51:07.000Z | src/parser/transform.hh | jcbaillie/urbi | fb17359b2838cdf8d3c0858abb141e167a9d4bdb | [
"BSD-3-Clause"
] | 15 | 2015-01-28T20:27:02.000Z | 2021-09-28T19:26:08.000Z | /*
* Copyright (C) 2008-2010, 2012, Gostai S.A.S.
*
* This software is provided "as is" without warranty of any kind,
* either expressed or implied, including but not limited to the
* implied warranties of fitness for a particular purpose.
*
* See the LICENSE file for more information.
*/
#ifndef PARSER_TRANSF... | 23.8 | 66 | 0.739496 |
3d1351b6ef7af2fd5e3f7c34d1e7488e77921c28 | 1,536 | cpp | C++ | c++/solution2055.cpp | imafish/leetcodetests | abee2c2d6c0b25a21ef4294bceb7e069b6547b85 | [
"MIT"
] | null | null | null | c++/solution2055.cpp | imafish/leetcodetests | abee2c2d6c0b25a21ef4294bceb7e069b6547b85 | [
"MIT"
] | null | null | null | c++/solution2055.cpp | imafish/leetcodetests | abee2c2d6c0b25a21ef4294bceb7e069b6547b85 | [
"MIT"
] | null | null | null | #include "afx.h"
using namespace std;
class Solution
{
public:
vector<int> platesBetweenCandles(string s, vector<vector<int>> &queries)
{
std::vector<int> result(queries.size());
prepare(s);
for (int i = 0; i < queries.size(); i++)
{
result[i] = findOne(queries[i]);
... | 21.633803 | 76 | 0.392578 |
3d1664daf4eea73225e3392fbd51715403cca37d | 85 | hpp | C++ | shared/logging.hpp | cvrebeatsaber/QuestQualifications | 4be76c3e8da9ead1727e2320fd12c083aabdacad | [
"MIT"
] | 1 | 2020-10-07T06:39:16.000Z | 2020-10-07T06:39:16.000Z | shared/logging.hpp | cvrebeatsaber/QuestQualifications | 4be76c3e8da9ead1727e2320fd12c083aabdacad | [
"MIT"
] | null | null | null | shared/logging.hpp | cvrebeatsaber/QuestQualifications | 4be76c3e8da9ead1727e2320fd12c083aabdacad | [
"MIT"
] | 1 | 2021-06-02T23:13:46.000Z | 2021-06-02T23:13:46.000Z | #pragma once
#include "beatsaber-hook/shared/utils/logging.hpp"
Logger& getLogger(); | 21.25 | 50 | 0.776471 |
3d168d4f61ba906957acecbee97cc126344c1c1e | 936 | cpp | C++ | 1000/90/1091b.cpp | actium/cf | d7be128c3a9adb014a231a399f1c5f19e1ab2a38 | [
"Unlicense"
] | 1 | 2020-07-03T15:55:52.000Z | 2020-07-03T15:55:52.000Z | 1000/90/1091b.cpp | actium/cf | d7be128c3a9adb014a231a399f1c5f19e1ab2a38 | [
"Unlicense"
] | null | null | null | 1000/90/1091b.cpp | actium/cf | d7be128c3a9adb014a231a399f1c5f19e1ab2a38 | [
"Unlicense"
] | 3 | 2020-10-01T14:55:28.000Z | 2021-07-11T11:33:58.000Z | #include <iostream>
#include <vector>
using distance_t = std::pair<int, int>;
template <typename T, typename U>
std::istream& operator >>(std::istream& input, std::pair<T, U>& v)
{
return input >> v.first >> v.second;
}
template <typename T>
std::istream& operator >>(std::istream& input, std::vector<T>& v)
{
... | 17.018182 | 78 | 0.536325 |
3d1917251618d0eaf76c8f81b742f05eeb14d345 | 1,502 | hpp | C++ | src/storage/tree/Units.hpp | nopdotcom/opentxs | 140428ba8f1bd4c09654ebf0a1c1725f396efa8b | [
"MIT"
] | null | null | null | src/storage/tree/Units.hpp | nopdotcom/opentxs | 140428ba8f1bd4c09654ebf0a1c1725f396efa8b | [
"MIT"
] | null | null | null | src/storage/tree/Units.hpp | nopdotcom/opentxs | 140428ba8f1bd4c09654ebf0a1c1725f396efa8b | [
"MIT"
] | null | null | null | // Copyright (c) 2018 The Open-Transactions developers
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#pragma once
#include "Internal.hpp"
#include "opentxs/api/s... | 25.896552 | 80 | 0.669774 |
3d1ab9f4ddd01a8fbb879a714ab87f1c44a5daaa | 37,750 | cpp | C++ | Fuji/Source/MFString.cpp | TurkeyMan/fuji | afd6a26c710ce23965b088ad158fe916d6a1a091 | [
"BSD-2-Clause"
] | 35 | 2015-01-19T22:07:48.000Z | 2022-02-21T22:17:53.000Z | Fuji/Source/MFString.cpp | TurkeyMan/fuji | afd6a26c710ce23965b088ad158fe916d6a1a091 | [
"BSD-2-Clause"
] | 1 | 2022-02-23T09:34:15.000Z | 2022-02-23T09:34:15.000Z | Fuji/Source/MFString.cpp | TurkeyMan/fuji | afd6a26c710ce23965b088ad158fe916d6a1a091 | [
"BSD-2-Clause"
] | 4 | 2015-05-11T03:31:35.000Z | 2018-09-27T04:55:57.000Z | #include "Fuji_Internal.h"
#include "MFString.h"
#include "MFHeap_Internal.h"
#include "MFObjectPool.h"
#include <stdio.h>
#include <stdarg.h>
#define stricmp strcasecmp
#include <string.h>
MFObjectPool stringPool;
MFObjectPoolGroup stringHeap;
int gModuleInitCount = 0;
// this is okay as global; ... | 20.372369 | 344 | 0.611762 |
3d1b5edde4b64236474afa8d96c498cece3ce679 | 715 | cc | C++ | benchmarks/0000.10m_size_t/raw/charconv_vs_ospan.cc | EwoutH/fast_io | 1393ef01b82dffa87f3008ec0898431865870a1f | [
"MIT"
] | 2 | 2020-07-20T06:07:20.000Z | 2020-10-21T08:53:49.000Z | benchmarks/0000.10m_size_t/raw/charconv_vs_ospan.cc | EwoutH/fast_io | 1393ef01b82dffa87f3008ec0898431865870a1f | [
"MIT"
] | null | null | null | benchmarks/0000.10m_size_t/raw/charconv_vs_ospan.cc | EwoutH/fast_io | 1393ef01b82dffa87f3008ec0898431865870a1f | [
"MIT"
] | null | null | null | #include"../timer.h"
#include"../../include/fast_io.h"
#include"../../include/fast_io_device.h"
#include<charconv>
int main()
{
constexpr std::size_t N(10000000);
std::size_t osp_total{};
{
fast_io::timer t("ospan");
std::array<char,50> array;
for(std::size_t i{};i!=100000000;++i)
{
fast_io::ospan osp(a... | 21.029412 | 71 | 0.630769 |
3d1e09b984b148667bf8be54c46da1f5b62268c3 | 1,164 | cpp | C++ | cpp/other-concepts/attending-workshops.cpp | feliposz/hackerrank-solutions | fb1d63ca12a0d289362c9b3fb4cb0b79ef73f72f | [
"MIT"
] | null | null | null | cpp/other-concepts/attending-workshops.cpp | feliposz/hackerrank-solutions | fb1d63ca12a0d289362c9b3fb4cb0b79ef73f72f | [
"MIT"
] | null | null | null | cpp/other-concepts/attending-workshops.cpp | feliposz/hackerrank-solutions | fb1d63ca12a0d289362c9b3fb4cb0b79ef73f72f | [
"MIT"
] | null | null | null |
//Define the structs Workshops and Available_Workshops.
//Implement the functions initialize and CalculateMaxWorkshops
struct Workshop {
int start_time;
int duration;
int end_time;
};
struct Available_Workshops {
int n;
Workshop *ws;
};
Available_Workshops* initialize (int start_time[], int ... | 22.823529 | 73 | 0.604811 |
3d1e3180cadbf87e7b353f14b832e1d99e1c2308 | 3,005 | cpp | C++ | MT Game Engine/Source/Interaction/Input.cpp | MatthewATaylor/MT-Game-Engine | bad800163a2ae5476fbe7d08a8c245e6a563c4fb | [
"MIT"
] | 3 | 2019-10-08T20:58:43.000Z | 2020-10-17T15:59:01.000Z | MT Game Engine/Source/Interaction/Input.cpp | MatthewATaylor/MT-Game-Engine | bad800163a2ae5476fbe7d08a8c245e6a563c4fb | [
"MIT"
] | null | null | null | MT Game Engine/Source/Interaction/Input.cpp | MatthewATaylor/MT-Game-Engine | bad800163a2ae5476fbe7d08a8c245e6a563c4fb | [
"MIT"
] | null | null | null | #include "Interaction/Input.h"
namespace mtge {
const int Input::GLFW_KEY_LIST[Input::NUM_KEYS] = {
GLFW_KEY_UNKNOWN,
GLFW_KEY_CAPS_LOCK, GLFW_KEY_NUM_LOCK, GLFW_KEY_SCROLL_LOCK,
GLFW_KEY_PAGE_UP, GLFW_KEY_PAGE_DOWN, GLFW_KEY_HOME, GLFW_KEY_END, GLFW_KEY_PRINT_SCREEN, GLFW_KEY_PAUSE,
GLFW_KEY_LEFT_CONTROL, GL... | 46.230769 | 213 | 0.797338 |
3d1f3dd38753110136a4eb68769d5107bb53d903 | 8,847 | hpp | C++ | src/AnimationData.hpp | AnimatedLEDStrip/client-cpp | b16ec6b638659d4af0c31c3767590dcfee0290b4 | [
"MIT"
] | null | null | null | src/AnimationData.hpp | AnimatedLEDStrip/client-cpp | b16ec6b638659d4af0c31c3767590dcfee0290b4 | [
"MIT"
] | null | null | null | src/AnimationData.hpp | AnimatedLEDStrip/client-cpp | b16ec6b638659d4af0c31c3767590dcfee0290b4 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2019-2020 AnimatedLEDStrip
*
* 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,... | 30.091837 | 98 | 0.565163 |
3d27dda5a7ee08d9aaaca11d0164c87d9e2c07a7 | 451 | cpp | C++ | sdk/poeng/stdafx.cpp | hadrien-psydk/pngoptimizer | d92946e63a57a4562af0feaa9e4cfd8628373777 | [
"Zlib"
] | 90 | 2016-08-23T00:13:04.000Z | 2022-02-22T09:40:46.000Z | sdk/poeng/stdafx.cpp | hadrien-psydk/pngoptimizer | d92946e63a57a4562af0feaa9e4cfd8628373777 | [
"Zlib"
] | 25 | 2016-09-01T07:09:03.000Z | 2022-01-31T16:18:57.000Z | sdk/poeng/stdafx.cpp | hadrien-psydk/pngoptimizer | d92946e63a57a4562af0feaa9e4cfd8628373777 | [
"Zlib"
] | 17 | 2017-05-03T17:49:25.000Z | 2021-12-28T06:47:56.000Z | /////////////////////////////////////////////////////////////////////////////////////
// This file is part of the POEngine library, part of the PngOptimizer application
// Copyright (C) Hadrien Nilsson - psydk.org
// This library is distributed under the terms of the GNU LESSER GENERAL PUBLIC LICENSE
// See License.txt... | 45.1 | 87 | 0.472284 |
3d2909b6846d368db5ff17528e646e1ca115d9ad | 2,994 | cpp | C++ | Siv3D/src/Siv3D/Bezier3/SivBezier3.cpp | yumetodo/OpenSiv3D | ea191438ecbc64185f5df3d9f79dffc6757e4192 | [
"MIT"
] | 7 | 2020-04-26T11:06:02.000Z | 2021-09-05T16:42:31.000Z | Siv3D/src/Siv3D/Bezier3/SivBezier3.cpp | yumetodo/OpenSiv3D | ea191438ecbc64185f5df3d9f79dffc6757e4192 | [
"MIT"
] | 10 | 2020-04-26T13:25:36.000Z | 2022-03-01T12:34:44.000Z | Siv3D/src/Siv3D/Bezier3/SivBezier3.cpp | yumetodo/OpenSiv3D | ea191438ecbc64185f5df3d9f79dffc6757e4192 | [
"MIT"
] | 2 | 2020-05-11T08:23:23.000Z | 2020-08-08T12:33:30.000Z | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2019 Ryo Suzuki
// Copyright (c) 2016-2019 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# include <Siv3D/Bezier3.hpp>
namespace s3d
{... | 25.810345 | 119 | 0.620908 |
3d2b6dc38f2a02d4f3257892844ba2bb2e70543b | 947 | cpp | C++ | robowflex_library/scripts/plugin_io.cpp | servetb/robowflex | 4444fd75e0c6d32a3b9b8e8da6ee69869e56fd3e | [
"BSD-3-Clause"
] | 58 | 2018-08-17T14:26:02.000Z | 2022-03-28T05:42:03.000Z | robowflex_library/scripts/plugin_io.cpp | servetb/robowflex | 4444fd75e0c6d32a3b9b8e8da6ee69869e56fd3e | [
"BSD-3-Clause"
] | 52 | 2018-08-23T01:33:04.000Z | 2022-03-28T15:54:13.000Z | robowflex_library/scripts/plugin_io.cpp | servetb/robowflex | 4444fd75e0c6d32a3b9b8e8da6ee69869e56fd3e | [
"BSD-3-Clause"
] | 14 | 2021-04-05T23:49:55.000Z | 2022-03-21T00:18:16.000Z | /* Author: Zachary Kingston */
#include <moveit/planning_request_adapter/planning_request_adapter.h>
#include <robowflex_library/io/plugin.h>
#include <robowflex_library/util.h>
using namespace robowflex;
/* \file plugin_io.cpp
* Demonstrates how to use the plugin loader helper class to load some MoveIt
* plugins... | 31.566667 | 97 | 0.757128 |
3d2cdd91f776ec8572b6092cb48e06b0890bf686 | 23 | cpp | C++ | src/Core_ally.cpp | Riateche/ridual | d91ca5326438e15fccd38a4e4263aeb291d64539 | [
"MIT"
] | 3 | 2015-07-08T07:41:36.000Z | 2017-11-08T15:01:26.000Z | src/Core_ally.cpp | Riateche/ridual | d91ca5326438e15fccd38a4e4263aeb291d64539 | [
"MIT"
] | null | null | null | src/Core_ally.cpp | Riateche/ridual | d91ca5326438e15fccd38a4e4263aeb291d64539 | [
"MIT"
] | null | null | null | #include "Core_ally.h"
| 11.5 | 22 | 0.73913 |
3d2de11dd2467a80e4300f297a62b03f5d8620cb | 49 | hpp | C++ | addons/main/script_version.hpp | YonVclaw/6sfdgdemo | f09b4ed8569cd0fcbca4c634aa79289f1ca84014 | [
"MIT"
] | null | null | null | addons/main/script_version.hpp | YonVclaw/6sfdgdemo | f09b4ed8569cd0fcbca4c634aa79289f1ca84014 | [
"MIT"
] | null | null | null | addons/main/script_version.hpp | YonVclaw/6sfdgdemo | f09b4ed8569cd0fcbca4c634aa79289f1ca84014 | [
"MIT"
] | null | null | null | #define MAJOR 1
#define MINOR 14
#define PATCH 2
| 12.25 | 16 | 0.755102 |