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
dbfe35824a4ad7a80bc5395d2463867fce2095a1
39,264
cpp
C++
src/WindowProxy.cpp
ravidavi/OpenFrames
67cce87f1ccd23df91d6d070d86c06ceb180dadb
[ "Apache-2.0" ]
26
2017-08-16T18:17:50.000Z
2022-03-11T10:23:52.000Z
src/WindowProxy.cpp
ravidavi/OpenFrames
67cce87f1ccd23df91d6d070d86c06ceb180dadb
[ "Apache-2.0" ]
4
2018-10-18T12:31:19.000Z
2020-08-12T08:59:25.000Z
src/WindowProxy.cpp
ravidavi/OpenFrames
67cce87f1ccd23df91d6d070d86c06ceb180dadb
[ "Apache-2.0" ]
11
2018-09-10T18:29:07.000Z
2022-03-09T13:53:52.000Z
/*********************************** Copyright 2020 Ravishankar Mathur 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...
32.53024
324
0.636843
ravidavi
e0003e1c41cde00de6f9fc93e0742f5f3b2c1e13
2,039
cc
C++
2838/4454746_AC_1297MS_544K.cc
twilightgod/twilight-poj-solution
3af3f0fb0c5f350cdf6421b943c6df02ee3f2f82
[ "Apache-2.0" ]
21
2015-05-26T10:18:12.000Z
2021-06-01T09:39:47.000Z
2838/4454746_AC_1297MS_544K.cc
twilightgod/twilight-poj-solution
3af3f0fb0c5f350cdf6421b943c6df02ee3f2f82
[ "Apache-2.0" ]
null
null
null
2838/4454746_AC_1297MS_544K.cc
twilightgod/twilight-poj-solution
3af3f0fb0c5f350cdf6421b943c6df02ee3f2f82
[ "Apache-2.0" ]
8
2015-09-30T08:41:15.000Z
2020-03-11T03:49:42.000Z
/********************************************************************** * Online Judge : POJ * Problem Title : Graph Connectivity * ID : 2838 * Date : 12/4/2008 * Time : 21:28:51 * Computer Name : EVERLASTING-PC ************************************...
14.359155
72
0.450221
twilightgod
e0034e8ffc83ec90b4e7728fac1ce8fdf2bb4549
1,196
cpp
C++
codelib/graph_theory/shortest_paths/dijkstra.cpp
TissueRoll/admu-progvar-notebook
efd1c48872d40aeabe2b03af7b986bb831c062b1
[ "MIT" ]
null
null
null
codelib/graph_theory/shortest_paths/dijkstra.cpp
TissueRoll/admu-progvar-notebook
efd1c48872d40aeabe2b03af7b986bb831c062b1
[ "MIT" ]
null
null
null
codelib/graph_theory/shortest_paths/dijkstra.cpp
TissueRoll/admu-progvar-notebook
efd1c48872d40aeabe2b03af7b986bb831c062b1
[ "MIT" ]
null
null
null
#include <iostream> #include <utility> #include <vector> #include <queue> #define INF 1e9 typedef std::pair<int, int> ii; typedef std::vector<ii> vii; struct graph { int n; vii *adj; int *dist; graph(int n) { this->n = n; adj = new vii[n]; dist = new int[n]; } void add_edge(int u, int v, int ...
18.984127
55
0.466555
TissueRoll
e007c46d5ae5857dd1506e356b9ae259308dfd8e
7,976
cpp
C++
Ouroboros/Source/oConcurrency/tests/TESTthreadpool.cpp
igHunterKiller/ouroboros
5e2cde7e6365341da297da10d8927b091ecf5559
[ "MIT" ]
null
null
null
Ouroboros/Source/oConcurrency/tests/TESTthreadpool.cpp
igHunterKiller/ouroboros
5e2cde7e6365341da297da10d8927b091ecf5559
[ "MIT" ]
null
null
null
Ouroboros/Source/oConcurrency/tests/TESTthreadpool.cpp
igHunterKiller/ouroboros
5e2cde7e6365341da297da10d8927b091ecf5559
[ "MIT" ]
null
null
null
// Copyright (c) 2016 Antony Arciuolo. See License.txt regarding use. #include <oBase/unit_test.h> #include <oCore/byte.h> #include <oCore/timer.h> #include <oCore/finally.h> #include <oConcurrency/concurrency.h> #include <oConcurrency/threadpool.h> #include <oString/fixed_string.h> #include <oSystem/thread_traits.h>...
29.540741
145
0.698972
igHunterKiller
e009cfd0161b185c2a31ba65bc4c073bcace8b5a
3,502
hpp
C++
include/nanorange/algorithm/partial_sort_copy.hpp
paulbendixen/NanoRange
993dc03ebb2d3de5395648f3c0d112d230127c65
[ "BSL-1.0" ]
null
null
null
include/nanorange/algorithm/partial_sort_copy.hpp
paulbendixen/NanoRange
993dc03ebb2d3de5395648f3c0d112d230127c65
[ "BSL-1.0" ]
null
null
null
include/nanorange/algorithm/partial_sort_copy.hpp
paulbendixen/NanoRange
993dc03ebb2d3de5395648f3c0d112d230127c65
[ "BSL-1.0" ]
null
null
null
// nanorange/algorithm/partial_sort_copy.hpp // // Copyright (c) 2018 Tristan Brindle (tcbrindle at gmail dot com) // 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 NANORANGE_ALGORITHM_PARTIAL_SORT_COPY_HPP_I...
37.255319
117
0.609937
paulbendixen
e00b55480d2577e41ab310aba0df1951acd303f6
1,356
cpp
C++
src/server/service/journey_service.cpp
neilbu/osrm-backend
2a8e1f77459fef33ca34c9fe01ec62e88e255452
[ "BSD-2-Clause" ]
null
null
null
src/server/service/journey_service.cpp
neilbu/osrm-backend
2a8e1f77459fef33ca34c9fe01ec62e88e255452
[ "BSD-2-Clause" ]
null
null
null
src/server/service/journey_service.cpp
neilbu/osrm-backend
2a8e1f77459fef33ca34c9fe01ec62e88e255452
[ "BSD-2-Clause" ]
1
2021-11-24T14:24:44.000Z
2021-11-24T14:24:44.000Z
#include "server/service/journey_service.hpp" #include "server/api/parameters_parser.hpp" #include "engine/api/journey_parameters.hpp" #include "util/json_container.hpp" #include <boost/format.hpp> namespace osrm { namespace server { namespace service { engine::Status JourneyService::RunQuery(std::size_t prefix_le...
27.673469
99
0.684366
neilbu
e011bdf682f26f2f6b240cf77e544150e324d4e4
229
cc
C++
build/ARM/python/m5/internal/param_RawDiskImage.i_init.cc
Jakgn/gem5_test
0ba7cc5213cf513cf205af7fc995cf679ebc1a3f
[ "BSD-3-Clause" ]
null
null
null
build/ARM/python/m5/internal/param_RawDiskImage.i_init.cc
Jakgn/gem5_test
0ba7cc5213cf513cf205af7fc995cf679ebc1a3f
[ "BSD-3-Clause" ]
null
null
null
build/ARM/python/m5/internal/param_RawDiskImage.i_init.cc
Jakgn/gem5_test
0ba7cc5213cf513cf205af7fc995cf679ebc1a3f
[ "BSD-3-Clause" ]
null
null
null
#include "sim/init.hh" extern "C" { void init_param_RawDiskImage(); } EmbeddedSwig embed_swig_param_RawDiskImage(init_param_RawDiskImage, "m5.internal._param_RawDiskImage");
25.444444
111
0.624454
Jakgn
e014dba6929225b4ad46b6cdc6892bd064be55de
2,249
cpp
C++
src/LN_SHORT_ME.cpp
dowdlelt/LAYNII
8d434da57f3126bcd304577bd41eaa32d504df04
[ "BSD-3-Clause" ]
70
2018-04-09T13:16:42.000Z
2022-03-25T11:35:05.000Z
src/LN_SHORT_ME.cpp
dowdlelt/LAYNII
8d434da57f3126bcd304577bd41eaa32d504df04
[ "BSD-3-Clause" ]
48
2018-12-06T01:17:48.000Z
2022-03-31T13:55:28.000Z
src/LN_SHORT_ME.cpp
dowdlelt/LAYNII
8d434da57f3126bcd304577bd41eaa32d504df04
[ "BSD-3-Clause" ]
17
2019-04-25T20:57:34.000Z
2022-03-07T12:20:31.000Z
#include "../dep/laynii_lib.h" int show_help(void) { printf( "LN_SHORT_ME: Convert nifti datatype to SHORT. \n" " In order not to loose too much depth resolution for \n" " floating point values, the nii-header slope is scaled by 1000 \n" "\n" "Usage:\n" " LN_SHORT_ME -input data_fi...
29.207792
81
0.52779
dowdlelt
e01754250c7f71881c4be4dba650ad21f4341f6c
1,716
hpp
C++
include/libtransistor/cpp/ipc.hpp
kgsws/libtransistor
e90d27a52e9471c3978f02413ab226c15e93ca10
[ "ISC" ]
4
2018-01-07T20:22:39.000Z
2018-01-11T19:09:40.000Z
include/libtransistor/cpp/ipc.hpp
kgsws/libtransistor
e90d27a52e9471c3978f02413ab226c15e93ca10
[ "ISC" ]
null
null
null
include/libtransistor/cpp/ipc.hpp
kgsws/libtransistor
e90d27a52e9471c3978f02413ab226c15e93ca10
[ "ISC" ]
null
null
null
/** * @file libtransistor/cpp/ipc.hpp * @brief IPC (C++ header) */ #pragma once #include<libtransistor/cpp/types.hpp> #include<libtransistor/ipc.h> #include<type_traits> namespace trn { namespace ipc { class Message { public: ipc_message_t msg; }; template<typename T> struct OutObject { OutObject(T &ref) : ...
16.342857
77
0.664918
kgsws
e0246ccec6ac054a3398780c0da5d87f0a1732c3
1,199
cpp
C++
pass.cpp
LakhanShanker/mypage
a2a5791225156be355623ad864c5491d13483a31
[ "MIT" ]
null
null
null
pass.cpp
LakhanShanker/mypage
a2a5791225156be355623ad864c5491d13483a31
[ "MIT" ]
null
null
null
pass.cpp
LakhanShanker/mypage
a2a5791225156be355623ad864c5491d13483a31
[ "MIT" ]
null
null
null
#include<string.h> #include<stdio.h> #include<stdlib.h> void check(char a[]); main() { int t; char a[30]; scanf("%d",&t); while(t--) { scanf("%s",a); check(a); } } void check(char a[]) { char c; int len,i,flag5=0,flag1=0,flag2=0,flag3=0,flag4=0; len...
15.371795
66
0.337781
LakhanShanker
e024723547d60f76c4e4d885ad5eb487d044abe3
1,699
cpp
C++
vs2015/realtime_server/realtime_srv/common/RealtimeSrvTiming.cpp
no5ix/realtime-server
c786d5329382c2d1f19673ba3025d516b83e1cc4
[ "MIT" ]
465
2018-06-21T02:50:56.000Z
2022-03-27T11:51:46.000Z
vs2015/realtime_server/realtime_srv/common/RealtimeSrvTiming.cpp
no5ix/RealTimeServer
9e3b690c1d12fe32068bc4637fa1919cd52ce854
[ "MIT" ]
8
2018-08-09T09:25:00.000Z
2022-03-10T14:54:51.000Z
vs2015/realtime_server/realtime_srv/common/RealtimeSrvTiming.cpp
no5ix/RealTimeServer
9e3b690c1d12fe32068bc4637fa1919cd52ce854
[ "MIT" ]
113
2018-06-25T01:42:20.000Z
2022-03-23T11:27:56.000Z
#include "realtime_srv/common/RealtimeSrvShared.h" #ifndef IS_WIN #include <chrono> using namespace std::chrono; #endif // IS_WIN #ifdef IS_LINUX using namespace muduo; #endif // IS_LINUX using namespace realtime_srv; RealtimeSrvTiming RealtimeSrvTiming::sInst; namespace { #ifdef IS_WIN LARGE_INTEGER sStartTime...
18.877778
78
0.773396
no5ix
e02eaba15aadf72b9b4745ef1b182c727e42b8b1
326
hpp
C++
poo_basic/attributes/ClasseAtributoEstatico/ClasseAtributoEstatico.hpp
stemDaniel/ufmg-pds2
4dbb536a0926b617d04d133cbd3f7a5a223e113e
[ "MIT" ]
null
null
null
poo_basic/attributes/ClasseAtributoEstatico/ClasseAtributoEstatico.hpp
stemDaniel/ufmg-pds2
4dbb536a0926b617d04d133cbd3f7a5a223e113e
[ "MIT" ]
null
null
null
poo_basic/attributes/ClasseAtributoEstatico/ClasseAtributoEstatico.hpp
stemDaniel/ufmg-pds2
4dbb536a0926b617d04d133cbd3f7a5a223e113e
[ "MIT" ]
null
null
null
#ifndef CLASSEATRIBUTOESTATICO #define CLASSEATRIBUTOESTATICO #include <iostream> using namespace std; class ClasseAtributoEstatico { public: static int numero; ClasseAtributoEstatico() { ClasseAtributoEstatico::numero++; } void imprimirNumero () { cout << ClasseAtributoEstatico::numero << endl; } }; ...
14.818182
49
0.751534
stemDaniel
e02f16a086f82a83434454eb547e072d4ff58edd
5,288
cc
C++
test/common/upstream/eds_speed_test.cc
jchorl/envoy
11c9223aac10834b7d5d2e399b0b4b59e0a3b3a1
[ "Apache-2.0" ]
1
2021-03-18T07:17:50.000Z
2021-03-18T07:17:50.000Z
test/common/upstream/eds_speed_test.cc
jchorl/envoy
11c9223aac10834b7d5d2e399b0b4b59e0a3b3a1
[ "Apache-2.0" ]
null
null
null
test/common/upstream/eds_speed_test.cc
jchorl/envoy
11c9223aac10834b7d5d2e399b0b4b59e0a3b3a1
[ "Apache-2.0" ]
1
2020-09-14T05:29:19.000Z
2020-09-14T05:29:19.000Z
// Note: this should be run with --compilation_mode=opt, and would benefit from a // quiescent system with disabled cstate power management. #include "envoy/config/cluster/v3/cluster.pb.h" #include "envoy/config/core/v3/health_check.pb.h" #include "envoy/config/endpoint/v3/endpoint.pb.h" #include "envoy/config/endpoin...
39.17037
100
0.713124
jchorl
e030a78353f11d5858d2b35a652a5fbea908114c
15,695
cpp
C++
dev/mosquitto_transport/a_transport_manager.cpp
Stiffstream/mosquitto_transport
b7bd85746b7b5ba9f96a9128a12292ebb0604454
[ "BSD-3-Clause" ]
3
2020-01-25T12:49:55.000Z
2021-11-08T10:42:09.000Z
dev/mosquitto_transport/a_transport_manager.cpp
Stiffstream/mosquitto_transport
b7bd85746b7b5ba9f96a9128a12292ebb0604454
[ "BSD-3-Clause" ]
null
null
null
dev/mosquitto_transport/a_transport_manager.cpp
Stiffstream/mosquitto_transport
b7bd85746b7b5ba9f96a9128a12292ebb0604454
[ "BSD-3-Clause" ]
null
null
null
/* * mosquitto_transport-1.0 */ /*! * \file * \brief Main transport manager agent. */ #include <mosquitto_transport/a_transport_manager.hpp> #include <mosquitto_transport/tools.hpp> #include <fmt/format.h> #include <fmt/ostream.h> #include <algorithm> #include <iterator> namespace mosquitto_transport { names...
25.771757
75
0.700414
Stiffstream
e03872fde4523879b1bcc864c20c9eb567fca8cf
855
cpp
C++
StoryTime/Source/StoryTime/Private/Components/Narrative/Stories/DataAssets/StoryDA.cpp
vamidi/-StoryTime-plugin-UE5
9658f77160a9890897211ec76bd51d885d3c502c
[ "Apache-2.0" ]
1
2022-03-23T04:35:51.000Z
2022-03-23T04:35:51.000Z
StoryTime/Source/StoryTime/Private/Components/Narrative/Stories/DataAssets/StoryDA.cpp
vamidi/-StoryTime-plugin-UE5
9658f77160a9890897211ec76bd51d885d3c502c
[ "Apache-2.0" ]
null
null
null
StoryTime/Source/StoryTime/Private/Components/Narrative/Stories/DataAssets/StoryDA.cpp
vamidi/-StoryTime-plugin-UE5
9658f77160a9890897211ec76bd51d885d3c502c
[ "Apache-2.0" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "Components/Narrative/Stories/DataAssets/StoryDA.h" #include "Database/TableDatabase.h" void UStoryDA::ConvertRow() { Super::ConvertRow(); const auto row = GetRow(GetTableName(), ID); if (row.Fields.Num() == 0) { return; ...
19.431818
80
0.65731
vamidi
e038913d9505eb6d97ba25ebe656a921cde0c046
3,755
cpp
C++
src/GlfwApp.cpp
akoylasar/PBR
17e6197fb5357220e2f1454898a18f8890844d4d
[ "MIT" ]
null
null
null
src/GlfwApp.cpp
akoylasar/PBR
17e6197fb5357220e2f1454898a18f8890844d4d
[ "MIT" ]
null
null
null
src/GlfwApp.cpp
akoylasar/PBR
17e6197fb5357220e2f1454898a18f8890844d4d
[ "MIT" ]
null
null
null
/* * Copyright (c) Fouad Valadbeigi (akoylasar@gmail.com) */ #include "GlfwApp.hpp" #include <GL/gl3w.h> #include <GLFW/glfw3.h> #include <iostream> #include <exception> namespace { constexpr double kToMs = 1000.0; } namespace Akoylasar { GlfwApp::GlfwApp(const std::string& title, int width, int height, int ma...
24.383117
99
0.663116
akoylasar
e03a6c57dae6545a2840a96a3ce9a02d65b61c80
828
cpp
C++
tests/gain_tests.cpp
IRT-Open-Source/libadm
442f51229e760db1caca4b962bfaad58a9c7d9b8
[ "Apache-2.0" ]
14
2018-07-24T12:18:05.000Z
2020-05-11T19:14:49.000Z
tests/gain_tests.cpp
IRT-Open-Source/libadm
442f51229e760db1caca4b962bfaad58a9c7d9b8
[ "Apache-2.0" ]
19
2018-07-30T15:02:54.000Z
2020-05-21T10:13:19.000Z
tests/gain_tests.cpp
IRT-Open-Source/libadm
442f51229e760db1caca4b962bfaad58a9c7d9b8
[ "Apache-2.0" ]
7
2018-07-24T12:18:12.000Z
2020-02-14T11:18:12.000Z
#include <catch2/catch.hpp> #include <limits> #include <adm/elements/gain.hpp> using namespace adm; TEST_CASE("Gain linear") { Gain g = Gain::fromLinear(10.0); CHECK(g.isLinear()); CHECK(!g.isDb()); CHECK(g.asLinear() == 10.0); CHECK(g.asDb() == Approx(20.0)); } TEST_CASE("Gain linear 0") { Gain g = Gain...
21.230769
66
0.612319
IRT-Open-Source
e03fd075ceb330a18641c0a1defa77292a6f7ec3
38,308
cpp
C++
test/test_surface.cpp
zhangxaochen/CuFusion
e8bab7a366b1f2c85a80b95093d195d9f0774c11
[ "MIT" ]
52
2017-09-05T13:31:44.000Z
2022-03-14T08:48:29.000Z
test/test_surface.cpp
GucciPrada/CuFusion
522920bcf316d1ddf9732fc71fa457174168d2fb
[ "MIT" ]
4
2018-05-17T22:45:35.000Z
2020-02-01T21:46:42.000Z
test/test_surface.cpp
GucciPrada/CuFusion
522920bcf316d1ddf9732fc71fa457174168d2fb
[ "MIT" ]
21
2015-07-27T13:00:36.000Z
2022-01-17T08:18:41.000Z
/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2009-2012, Willow Garage, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followin...
36.037629
119
0.638091
zhangxaochen
e049fbdab29a6b37f26d4717542ddb51805fb305
1,988
hxx
C++
opencascade/GeomToStep_MakeBSplineSurfaceWithKnotsAndRationalBSplineSurface.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/GeomToStep_MakeBSplineSurfaceWithKnotsAndRationalBSplineSurface.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/GeomToStep_MakeBSplineSurfaceWithKnotsAndRationalBSplineSurface.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
// Created on: 1993-06-22 // Created by: Martine LANGLOIS // Copyright (c) 1993-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 G...
28.4
125
0.828974
mgreminger
e0502f8d55c3e20c46d030dcca520b649c835073
1,769
cpp
C++
Client/source/NewCode.cpp
isonil/mmorpg
679afebd7231a103146325a59e92bc1ebda9fc29
[ "MIT" ]
12
2016-05-31T06:28:26.000Z
2021-02-10T03:46:13.000Z
Client/source/NewCode.cpp
isonil/MMORPG
679afebd7231a103146325a59e92bc1ebda9fc29
[ "MIT" ]
null
null
null
Client/source/NewCode.cpp
isonil/MMORPG
679afebd7231a103146325a59e92bc1ebda9fc29
[ "MIT" ]
6
2016-05-22T17:22:34.000Z
2021-01-11T23:33:35.000Z
#include "NewCode.hpp" Faction::AddPlayerResult::Enum Faction::addPlayer(Character &player) { //if(player.hasFaction()) return AddPlayerResult::PlayerHasFaction; //if(isFull()) return AddPlayerResult::FactionIsFull; //member.push_back(player); return AddPlayerResult::OK; } Faction::RemovePlayerResul...
28.079365
117
0.702657
isonil
e0504a763501fa912c1eb7715c5e3bc1c4bf5426
1,142
hpp
C++
include/codegen/include/System/Collections/Generic/IEqualityComparer_1.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/System/Collections/Generic/IEqualityComparer_1.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/System/Collections/Generic/IEqualityComparer_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:09:53 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/il2cpp-utils.hpp" // Completed includes // Begin forward declares // Completed forward decl...
36.83871
141
0.683012
Futuremappermydud
e05206df55d4e88d83113747660102bdbdd7e568
1,174
cpp
C++
2_age-calculator/age.cpp
HelinaBerhane/cpp-exercises
60767b65ef81d9a95e9174343d1faf2383423af7
[ "MIT" ]
null
null
null
2_age-calculator/age.cpp
HelinaBerhane/cpp-exercises
60767b65ef81d9a95e9174343d1faf2383423af7
[ "MIT" ]
null
null
null
2_age-calculator/age.cpp
HelinaBerhane/cpp-exercises
60767b65ef81d9a95e9174343d1faf2383423af7
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int year_now, month_now, age_now, birth_month, another_year, another_month, another_age, another_date; cout << "Enter the current year then press RETURN.\n"; cin >> year_now; cout << "Enter the current month then press RETURN.\n"; cin >> month_now; ...
26.088889
104
0.625213
HelinaBerhane
e05f7cbce31ae155637792187d921ce6e19d1c17
456
cpp
C++
algo/algo.cpp
CodeCrackerSND/BarsWF_v2
6f77a7bca11f9b6044abde7f16984ddf1a68e31d
[ "MIT" ]
12
2020-02-10T12:55:41.000Z
2021-07-08T14:28:51.000Z
algo/algo.cpp
CodeCrackerSND/BarsWF_v1
68cdf3acc89d659b4d1f80393e2782908118c5a9
[ "MIT" ]
1
2017-07-12T17:59:43.000Z
2017-07-13T06:36:20.000Z
algo/algo.cpp
CodeCrackerSND/BarsWF_v2
6f77a7bca11f9b6044abde7f16984ddf1a68e31d
[ "MIT" ]
7
2020-02-09T12:20:21.000Z
2021-07-25T20:14:08.000Z
#include "algo.h" #include "../perm.h" #include <assert.h> algo::algo() { } algo::~algo() { } void algo::prepare_keys(int *data, int num) { //default is asci key preparation prepare_keys_asci(data, num); } void algo::prepare_keys_asci(int *data, int num) { perm::lock();//enter critical section perm::gen((unsi...
14.709677
51
0.677632
CodeCrackerSND
e0660dc34544e44824bf25d302a680316b499af8
5,691
cxx
C++
Modules/Registration/DisparityMap/test/otbDisparityMapEstimationMethod.cxx
heralex/OTB
c52b504b64dc89c8fe9cac8af39b8067ca2c3a57
[ "Apache-2.0" ]
317
2015-01-19T08:40:58.000Z
2022-03-17T11:55:48.000Z
Modules/Registration/DisparityMap/test/otbDisparityMapEstimationMethod.cxx
guandd/OTB
707ce4c6bb4c7186e3b102b2b00493a5050872cb
[ "Apache-2.0" ]
18
2015-07-29T14:13:45.000Z
2021-03-29T12:36:24.000Z
Modules/Registration/DisparityMap/test/otbDisparityMapEstimationMethod.cxx
guandd/OTB
707ce4c6bb4c7186e3b102b2b00493a5050872cb
[ "Apache-2.0" ]
132
2015-02-21T23:57:25.000Z
2022-03-25T16:03:16.000Z
/* * Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of ...
39.797203
105
0.730979
heralex
e06c090c557f7bd421c7843597d36ebf41c225c3
1,915
hpp
C++
include/private/coherence/component/net/extend/protocol/NotifyShutdown.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-01T21:38:30.000Z
2021-11-03T01:35:11.000Z
include/private/coherence/component/net/extend/protocol/NotifyShutdown.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
1
2020-07-24T17:29:22.000Z
2020-07-24T18:29:04.000Z
include/private/coherence/component/net/extend/protocol/NotifyShutdown.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-10T18:40:58.000Z
2022-02-18T01:23:40.000Z
/* * Copyright (c) 2000, 2020, Oracle and/or its affiliates. * * Licensed under the Universal Permissive License v 1.0 as shown at * http://oss.oracle.com/licenses/upl. */ #ifndef COH_NOTIFY_SHUTDOWN_HPP #define COH_NOTIFY_SHUTDOWN_HPP #include "private/coherence/component/net/extend/AbstractPofMessage.hpp" COH_...
25.878378
78
0.609922
chpatel3
e0737229f647fe778938bba3994ceb6734254364
3,948
hpp
C++
src/libshit/utils.hpp
u3shit/libshit
8ab8f12b4068edc269356debef78cd04de67edb4
[ "WTFPL", "BSD-3-Clause" ]
null
null
null
src/libshit/utils.hpp
u3shit/libshit
8ab8f12b4068edc269356debef78cd04de67edb4
[ "WTFPL", "BSD-3-Clause" ]
null
null
null
src/libshit/utils.hpp
u3shit/libshit
8ab8f12b4068edc269356debef78cd04de67edb4
[ "WTFPL", "BSD-3-Clause" ]
null
null
null
#ifndef GUARD_ILL_NATUREDLY_UNSCUFFED_MANY_WORLDS_INTERPRETATION_GRECIANIZES_1359 #define GUARD_ILL_NATUREDLY_UNSCUFFED_MANY_WORLDS_INTERPRETATION_GRECIANIZES_1359 #pragma once #include "libshit/assert.hpp" #include <algorithm> #include <type_traits> namespace Libshit { template <typename T, typename U> T assert...
29.244444
97
0.663374
u3shit
e0747be65cdda8b67b6be3aa93972f65528d18cd
2,158
cpp
C++
test/src/test_cons.cpp
mori0091/cparsec2
e439cd07147286e4d9aa9e93f9b41192b977adfd
[ "MIT" ]
1
2019-07-08T02:20:44.000Z
2019-07-08T02:20:44.000Z
test/src/test_cons.cpp
mori0091/cparsec2
e439cd07147286e4d9aa9e93f9b41192b977adfd
[ "MIT" ]
101
2019-06-01T00:58:36.000Z
2019-10-20T05:43:56.000Z
test/src/test_cons.cpp
mori0091/cparsec2
e439cd07147286e4d9aa9e93f9b41192b977adfd
[ "MIT" ]
1
2019-06-01T03:50:09.000Z
2019-06-01T03:50:09.000Z
/* -*- coding: utf-8-unix -*- */ #include <catch.hpp> #include <cparsec2.hpp> SCENARIO("cons(letter, many(digit))", "[cparsec2][parser][cons]") { cparsec2_init(); GIVEN("an input: \"a1234\"") { Source src = Source_new("a1234"); WHEN("apply cons(letter, many(digit))") { THEN("results \"a1234\"") { ...
29.561644
67
0.520389
mori0091
e0771c06fc9147a4cab59ed26f5ba8bd2808cb5b
67
cpp
C++
examples/breakpad/boo.cpp
sanblch/hunter
a21edf8a43f567d2ae60ea1acdaab7d4facf3db7
[ "BSD-2-Clause" ]
2,146
2015-01-10T07:26:58.000Z
2022-03-21T02:28:01.000Z
examples/breakpad/boo.cpp
koinos/hunter
fc17bc391210bf139c55df7f947670c5dff59c57
[ "BSD-2-Clause" ]
1,778
2015-01-03T11:50:30.000Z
2019-12-26T05:31:20.000Z
examples/breakpad/boo.cpp
koinos/hunter
fc17bc391210bf139c55df7f947670c5dff59c57
[ "BSD-2-Clause" ]
734
2015-03-05T19:52:34.000Z
2022-02-22T23:18:54.000Z
#include <google_breakpad/common/breakpad_types.h> int main() { }
13.4
50
0.746269
sanblch
2fdb99c198eaf6d2ad95a9fb8c926aaa89970a5f
6,947
cpp
C++
Omniscript/src/Interpreter.cpp
aaronh82/Omniscript
a072dad8a7a2e94032a144eb8e7115b9d4ccc29f
[ "MIT" ]
null
null
null
Omniscript/src/Interpreter.cpp
aaronh82/Omniscript
a072dad8a7a2e94032a144eb8e7115b9d4ccc29f
[ "MIT" ]
null
null
null
Omniscript/src/Interpreter.cpp
aaronh82/Omniscript
a072dad8a7a2e94032a144eb8e7115b9d4ccc29f
[ "MIT" ]
null
null
null
// // Interpreter.cpp // OmniScript // // Created by Aaron Houghton on 6/30/14. // Copyright (c) 2014 CCBAC. All rights reserved. // #include "Interpreter.h" #include <chrono> #include <unistd.h> namespace interp { Interpreter::Interpreter(script::Script &prog): program_(prog), ...
37.961749
143
0.652512
aaronh82
2fe5fd2a7c9524274834a904724210c05e8c10f2
861
hpp
C++
VSProject/LeetCodeSol/Src/RemoveNthNodeFromEndOfListSolution.hpp
wangxiaotao1980/leetCodeCPP
1806c00cd89eacddbdd20a7c33875f54400a20a8
[ "MIT" ]
null
null
null
VSProject/LeetCodeSol/Src/RemoveNthNodeFromEndOfListSolution.hpp
wangxiaotao1980/leetCodeCPP
1806c00cd89eacddbdd20a7c33875f54400a20a8
[ "MIT" ]
null
null
null
VSProject/LeetCodeSol/Src/RemoveNthNodeFromEndOfListSolution.hpp
wangxiaotao1980/leetCodeCPP
1806c00cd89eacddbdd20a7c33875f54400a20a8
[ "MIT" ]
null
null
null
/******************************************************************************************* * @file RemoveNthNodeFromEndOfListSolution.hpp 2015\12\7 18:00:31 $ * @author Wang Xiaotao<wangxiaotao1980@gmail.com> (中文编码测试) * @note LeetCode No.19 Remove Nth Node From End of List ************************...
39.136364
93
0.518002
wangxiaotao1980
2fe9544cd33458415422898cbce4b8cc48c75654
333
cpp
C++
src/sqlite/SQLiteCountProxy.cpp
alvarudras/dbc-cpp
b5bdb6c0584edeb24b65e939d3d95742e4716ccf
[ "MIT" ]
2
2015-04-08T06:53:06.000Z
2021-10-02T06:28:43.000Z
src/sqlite/SQLiteCountProxy.cpp
alvarudras/dbc-cpp
b5bdb6c0584edeb24b65e939d3d95742e4716ccf
[ "MIT" ]
1
2018-11-23T06:31:18.000Z
2018-11-23T10:38:50.000Z
src/sqlite/SQLiteCountProxy.cpp
alvarudras/dbc-cpp
b5bdb6c0584edeb24b65e939d3d95742e4716ccf
[ "MIT" ]
6
2015-11-13T03:44:44.000Z
2021-07-28T23:10:39.000Z
#include "SQLiteCountProxy.h" #include <sqlite3.h> namespace dbc { SQLiteCountProxy::operator int() const { // If a separate thread makes changes on the same database connection // while sqlite3_changes() is running then the value returned is // unpredictable and not meaningful. return sqlite3_change...
19.588235
73
0.72973
alvarudras
2fee719c3fa6be900d072284e51976f5523981fe
1,965
hh
C++
ProductionSolenoidGeom/inc/PSExternalShielding.hh
resnegfk/Offline
4ba81dad54486188fa83fea8c085438d104afbbc
[ "Apache-2.0" ]
9
2020-03-28T00:21:41.000Z
2021-12-09T20:53:26.000Z
ProductionSolenoidGeom/inc/PSExternalShielding.hh
resnegfk/Offline
4ba81dad54486188fa83fea8c085438d104afbbc
[ "Apache-2.0" ]
684
2019-08-28T23:37:43.000Z
2022-03-31T22:47:45.000Z
ProductionSolenoidGeom/inc/PSExternalShielding.hh
resnegfk/Offline
4ba81dad54486188fa83fea8c085438d104afbbc
[ "Apache-2.0" ]
61
2019-08-16T23:28:08.000Z
2021-12-20T08:29:48.000Z
#ifndef ProductionSolenoidGeom_PSExternalShielding_hh #define ProductionSolenoidGeom_PSExternalShielding_hh // // // Original author David Norvil Brown // // The PS External Shield is extruded, upside-down "u" shape, made of // concrete. #include <vector> #include <ostream> #include "CLHEP/Vector/TwoVector.h" #i...
29.328358
141
0.747583
resnegfk
2ff5ac4adb71636991eca358dd170b54ccfb9fad
28,720
cpp
C++
src/Base/PositionDragger.cpp
orikuma/choreonoid-org
d63dff5fa2249a586ffb2dbdbfa0aef0081bad66
[ "MIT" ]
null
null
null
src/Base/PositionDragger.cpp
orikuma/choreonoid-org
d63dff5fa2249a586ffb2dbdbfa0aef0081bad66
[ "MIT" ]
null
null
null
src/Base/PositionDragger.cpp
orikuma/choreonoid-org
d63dff5fa2249a586ffb2dbdbfa0aef0081bad66
[ "MIT" ]
null
null
null
/** @author Shin'ichiro Nakaoka */ #include "PositionDragger.h" #include "SceneDragProjector.h" #include "SceneWidget.h" #include <cnoid/SceneNodeClassRegistry> #include <cnoid/SceneRenderer> #include <cnoid/SceneUtil> #include <cnoid/MeshGenerator> #include <cnoid/EigenUtil> #include <cnoid/CloneMap> #include <bit...
25.597148
108
0.638162
orikuma
2ff8cc1123ab38f21623fde19ebd249a31c6c8bf
1,791
cpp
C++
18.4Sum/Solution.cpp
BrandonHe/leetcode
83ed1ad7e384551b8f5cc20a65b2a3903df7ff93
[ "BSD-3-Clause" ]
null
null
null
18.4Sum/Solution.cpp
BrandonHe/leetcode
83ed1ad7e384551b8f5cc20a65b2a3903df7ff93
[ "BSD-3-Clause" ]
null
null
null
18.4Sum/Solution.cpp
BrandonHe/leetcode
83ed1ad7e384551b8f5cc20a65b2a3903df7ff93
[ "BSD-3-Clause" ]
null
null
null
class Solution { public: vector<vector<int>> fourSum(vector<int>& nums, int target) { vector<vector<int>> res; int n = nums.size(); if (n < 4) return res; // Sort to prepare for scanning sort(nums.begin(), nums.end()); for (int i = 0; i < n-3; i++) {...
39.8
94
0.384143
BrandonHe
2ff95775da1cf35fadebcfadd40fae8502f0773f
3,416
cc
C++
irrun.cc
falsycat/libirrun
eb6850b72629681f0acb8dcfb4189d5cb0ac6137
[ "WTFPL" ]
null
null
null
irrun.cc
falsycat/libirrun
eb6850b72629681f0acb8dcfb4189d5cb0ac6137
[ "WTFPL" ]
null
null
null
irrun.cc
falsycat/libirrun
eb6850b72629681f0acb8dcfb4189d5cb0ac6137
[ "WTFPL" ]
null
null
null
#include "./irrun.h" #include <atomic> #include <iostream> #include <memory> #include <string> #include <llvm/ExecutionEngine/JITSymbol.h> #include <llvm/ExecutionEngine/MCJIT.h> #include <llvm/ExecutionEngine/Orc/LambdaResolver.h> #include <llvm/ExecutionEngine/SectionMemoryManager.h> #include <llvm/IR/LLVMContext.h...
28.466667
88
0.6774
falsycat
2fffc9ba96e859c0eace166a56a440427c223e40
282
hpp
C++
pythran/pythonic/operator_/__iand__.hpp
artas360/pythran
66dad52d52be71693043e9a7d7578cfb9cb3d1da
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/operator_/__iand__.hpp
artas360/pythran
66dad52d52be71693043e9a7d7578cfb9cb3d1da
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/operator_/__iand__.hpp
artas360/pythran
66dad52d52be71693043e9a7d7578cfb9cb3d1da
[ "BSD-3-Clause" ]
null
null
null
#ifndef PYTHONIC_OPERATOR_IAND__HPP #define PYTHONIC_OPERATOR_IAND__HPP #include "pythonic/include/operator_/__iand__.hpp" #include "pythonic/operator_/iand.hpp" namespace pythonic { namespace operator_ { FPROXY_IMPL(pythonic::operator_, __iand__, iand); } } #endif
14.842105
53
0.776596
artas360
64003b105304a6e99e404a229c47a8a4075cd256
364
hpp
C++
falcon/math/minmax.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
2
2018-02-02T14:19:59.000Z
2018-05-13T02:48:24.000Z
falcon/math/minmax.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
null
null
null
falcon/math/minmax.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
null
null
null
#ifndef FALCON_MATH_MINMAX_HPP #define FALCON_MATH_MINMAX_HPP #include <falcon/math/min.hpp> #include <falcon/math/max.hpp> #include <utility> namespace falcon { template<typename T, typename... _Args> std::pair<const T&, const T&> minmax(const T& a, const _Args&... args) { return std::pair<const T&, const T&>(min(...
19.157895
72
0.695055
jonathanpoelen
6402ae42c22bb1c0027b676c7133b47a47f1a389
1,629
cpp
C++
ytlib/misc/misc_test.cpp
wt201501/ytlib
4422eda4c7a1fdbe1500f46bb72f1f43bc4eed3c
[ "MIT" ]
null
null
null
ytlib/misc/misc_test.cpp
wt201501/ytlib
4422eda4c7a1fdbe1500f46bb72f1f43bc4eed3c
[ "MIT" ]
null
null
null
ytlib/misc/misc_test.cpp
wt201501/ytlib
4422eda4c7a1fdbe1500f46bb72f1f43bc4eed3c
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <functional> #include <iostream> #include <string> #include "print_ctr.hpp" namespace ytlib { using std::cout; using std::endl; using std::vector; struct TestObj { int age; std::string name; friend std::ostream& operator<<(std::ostream& out, const TestObj& obj) { out <<...
20.620253
106
0.63229
wt201501
64056cf65634955f0907694509d81a08907631ed
1,427
cc
C++
source/src/core/palmprint.cc
freelandy/EDCC-Palmprint-Recognition
a5c4a0c701be9650944cbeec7cef2fa6113ecada
[ "MIT" ]
1
2019-05-11T01:33:01.000Z
2019-05-11T01:33:01.000Z
source/src/core/palmprint.cc
freelandy/EDCC-Palmprint-Recognition
a5c4a0c701be9650944cbeec7cef2fa6113ecada
[ "MIT" ]
null
null
null
source/src/core/palmprint.cc
freelandy/EDCC-Palmprint-Recognition
a5c4a0c701be9650944cbeec7cef2fa6113ecada
[ "MIT" ]
null
null
null
// Copyright (c) 2017 Leosocy. All rights reserved. // Use of this source code is governed by a MIT-style license // that can be found in the LICENSE file. #include "core/palmprint.h" #include "util/pub.h" namespace edcc { Palmprint::Palmprint(const char *identity, const char *image_path) : identity_(identity),...
21.953846
70
0.662929
freelandy
6408655df552782992203108b8559ebebc7aa3ba
2,892
cpp
C++
examples/ImportCplusplus/example_cplusplus.cpp
cndabai/jerryscript
865788c26af9ad65cdd19b58c15a59ffd85d36ca
[ "Apache-2.0" ]
15
2018-01-11T11:43:58.000Z
2021-08-19T18:34:43.000Z
examples/ImportCplusplus/example_cplusplus.cpp
cndabai/jerryscript
865788c26af9ad65cdd19b58c15a59ffd85d36ca
[ "Apache-2.0" ]
2
2018-12-06T09:44:16.000Z
2019-05-29T07:53:52.000Z
examples/ImportCplusplus/example_cplusplus.cpp
cndabai/jerryscript
865788c26af9ad65cdd19b58c15a59ffd85d36ca
[ "Apache-2.0" ]
19
2018-01-09T05:04:15.000Z
2022-02-06T14:29:23.000Z
#include <rtthread.h> #include <jerry_util.h> class Rectangle { private: int length; int width; public: Rectangle(int length,int width); int getSize(); int getLength(); int getWidth(); }; Rectangle::Rectangle(int length,int width) { this->length = length; ...
22.952381
106
0.689488
cndabai
640e3fae3077933df14bd8ae1372c028c700919d
4,494
hpp
C++
src/mongocxx/options/create_collection.hpp
CURG-old/mongo-cxx-driver
06d29a00e4e554e7930e3f8ab40ebcecc9ab31c8
[ "Apache-2.0" ]
null
null
null
src/mongocxx/options/create_collection.hpp
CURG-old/mongo-cxx-driver
06d29a00e4e554e7930e3f8ab40ebcecc9ab31c8
[ "Apache-2.0" ]
null
null
null
src/mongocxx/options/create_collection.hpp
CURG-old/mongo-cxx-driver
06d29a00e4e554e7930e3f8ab40ebcecc9ab31c8
[ "Apache-2.0" ]
null
null
null
// Copyright 2015 MongoDB 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/LICENSE-2.0 // // Unless required by applicable law or agreed to in wri...
32.565217
93
0.686693
CURG-old
64136454b94dd7c69233cb34d03df94d458a72c1
1,091
hpp
C++
libs/core/include/fcppt/iterator/category_at_least.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/iterator/category_at_least.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/iterator/category_at_least.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2018. // 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 FCPPT_ITERATOR_CATEGORY_AT_LEAST_HPP_INCLUDED #define FCPPT_ITERATOR_CATEGORY_AT_LEAST_HPP...
22.265306
84
0.764436
pmiddend
641451a54d55098e6da21543e7f98cd270e715af
733
cpp
C++
src/Paradajz.cpp
pavle0903/Singidunum-OOP2-Projekat
5050b8e6e47cc9c7a6a2fb6ff9d4199839b1d2a0
[ "FTL", "libtiff", "libpng-2.0", "BSD-3-Clause" ]
null
null
null
src/Paradajz.cpp
pavle0903/Singidunum-OOP2-Projekat
5050b8e6e47cc9c7a6a2fb6ff9d4199839b1d2a0
[ "FTL", "libtiff", "libpng-2.0", "BSD-3-Clause" ]
null
null
null
src/Paradajz.cpp
pavle0903/Singidunum-OOP2-Projekat
5050b8e6e47cc9c7a6a2fb6ff9d4199839b1d2a0
[ "FTL", "libtiff", "libpng-2.0", "BSD-3-Clause" ]
null
null
null
/* * Paradajz.cpp * * Created on: 11.09.2020. * Author: Pavle */ #include "Paradajz.h" Paradajz::Paradajz(int width, int height, string sheetPath, SDL_Renderer *renderer) { dest = new SDL_Rect(); dest->x = rand() % 400 + 100; dest->y = rand() % 400 + 100; dest->w = width; dest->h = height; this->widt...
18.794872
85
0.656207
pavle0903
6415b444a970976640583110e2a7e8a6f9a17cc5
24,495
hpp
C++
octree/include/pcl/octree/impl/octree_base.hpp
zhangxaochen/CuFusion
e8bab7a366b1f2c85a80b95093d195d9f0774c11
[ "MIT" ]
52
2017-09-05T13:31:44.000Z
2022-03-14T08:48:29.000Z
octree/include/pcl/octree/impl/octree_base.hpp
GucciPrada/CuFusion
522920bcf316d1ddf9732fc71fa457174168d2fb
[ "MIT" ]
4
2018-05-17T22:45:35.000Z
2020-02-01T21:46:42.000Z
octree/include/pcl/octree/impl/octree_base.hpp
GucciPrada/CuFusion
522920bcf316d1ddf9732fc71fa457174168d2fb
[ "MIT" ]
21
2015-07-27T13:00:36.000Z
2022-01-17T08:18:41.000Z
/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2010-2011, Willow Garage, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followin...
37.976744
146
0.56387
zhangxaochen
6415d80a866fd64aabc7ebb9a78fe92d3675d2dc
6,044
cpp
C++
src/chip-nrf52/timer.cpp
Testrigor123/cortex-demos
1163db7f626de1420d5af4557de66713709ed136
[ "Apache-2.0" ]
null
null
null
src/chip-nrf52/timer.cpp
Testrigor123/cortex-demos
1163db7f626de1420d5af4557de66713709ed136
[ "Apache-2.0" ]
null
null
null
src/chip-nrf52/timer.cpp
Testrigor123/cortex-demos
1163db7f626de1420d5af4557de66713709ed136
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* Copyright 2018 Google LLC 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 https://www.apache...
26.393013
126
0.55824
Testrigor123
6420a2f57921be42d19183700617aa42894a364a
228,424
hpp
C++
Autogenerated/Bindings/Cpp/lib3mf_implicit.hpp
alexanderoster/lib3mf
30d5c2e0e8ed7febb5c10a84dc2db9d53fee6d05
[ "BSD-2-Clause" ]
171
2015-04-30T21:54:02.000Z
2022-03-13T13:33:59.000Z
Autogenerated/Bindings/Cpp/lib3mf_implicit.hpp
alexanderoster/lib3mf
30d5c2e0e8ed7febb5c10a84dc2db9d53fee6d05
[ "BSD-2-Clause" ]
190
2015-07-21T22:15:54.000Z
2022-03-30T15:48:37.000Z
Autogenerated/Bindings/Cpp/lib3mf_implicit.hpp
alexanderoster/lib3mf
30d5c2e0e8ed7febb5c10a84dc2db9d53fee6d05
[ "BSD-2-Clause" ]
80
2015-04-30T22:15:54.000Z
2022-03-09T12:38:49.000Z
/*++ Copyright (C) 2019 3MF Consortium (Original Author) 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 conditio...
36.373248
525
0.736796
alexanderoster
6429bf15428badc280d0bca7f4bf7c4291572b7c
10,154
cpp
C++
src/forwardingmetaobject.cpp
msorvig/qt-quick-bindings
43408197e9b05b41814ca49ce50b5902c0d5add9
[ "MIT" ]
1
2015-06-08T05:15:17.000Z
2015-06-08T05:15:17.000Z
src/forwardingmetaobject.cpp
msorvig/qt-quick-bindings
43408197e9b05b41814ca49ce50b5902c0d5add9
[ "MIT" ]
null
null
null
src/forwardingmetaobject.cpp
msorvig/qt-quick-bindings
43408197e9b05b41814ca49ce50b5902c0d5add9
[ "MIT" ]
null
null
null
#include "forwardingmetaobject.h" #include <QtCore/QtCore> #include <QtCore/private/qmetaobjectbuilder_p.h> #include <QtQuick/QQuickItem> ForwardMetaObjectBuilder::ForwardMetaObjectBuilder() { builder = new QMetaObjectBuilder; builder->setSuperClass(&QQuickItem::staticMetaObject); //builder->setStaticMet...
33.846667
152
0.657869
msorvig
642ac146ea49c5af7d95b6b5fe0279ff74ee7dfa
3,107
cpp
C++
Firmware/Drivers/STM32/stm32_pwm_input.cpp
takijo0116/ODrive
4c01d0bff2a1c4a67e0f9979c9797b846f5de5d2
[ "MIT" ]
1
2021-02-19T09:44:02.000Z
2021-02-19T09:44:02.000Z
Firmware/Drivers/STM32/stm32_pwm_input.cpp
takijo0116/ODrive
4c01d0bff2a1c4a67e0f9979c9797b846f5de5d2
[ "MIT" ]
null
null
null
Firmware/Drivers/STM32/stm32_pwm_input.cpp
takijo0116/ODrive
4c01d0bff2a1c4a67e0f9979c9797b846f5de5d2
[ "MIT" ]
null
null
null
#include "stm32_pwm_input.hpp" #include "stm32_timer.hpp" #include <algorithm> void Stm32PwmInput::init(std::array<bool, 4> enable_channels) { Stm32Timer{htim_->Instance}.enable_clock(); TIM_IC_InitTypeDef sConfigIC; sConfigIC.ICPolarity = TIM_INPUTCHANNELPOLARITY_BOTHEDGE; sConfigIC.ICSelection = TI...
36.127907
117
0.698745
takijo0116
642f0fcb15e46b12e3b121e31b8c2930b5c4832e
1,489
cpp
C++
src/Kernel.cpp
JesseMaurais/SGe
f73bd03d30074a54642847b05f82151128481371
[ "MIT" ]
1
2017-04-20T06:27:36.000Z
2017-04-20T06:27:36.000Z
src/Kernel.cpp
JesseMaurais/SGe
f73bd03d30074a54642847b05f82151128481371
[ "MIT" ]
null
null
null
src/Kernel.cpp
JesseMaurais/SGe
f73bd03d30074a54642847b05f82151128481371
[ "MIT" ]
null
null
null
#include "Kernel.hpp" #include "OpenCL.hpp" namespace { class Kernel::Program { public: bool CreateProgram() = 0; bool UpdateSource() override; protected: cl_program program = nullptr; private: static void OnNotify(cl_program program, void *that); }; class SourceCode : public Kernel::Program { p...
19.592105
106
0.696441
JesseMaurais
6433a87c0bdfdf0e77a1313427a02b41ad34981f
1,939
hpp
C++
modules/boost/simd/base/include/boost/simd/constant/constants/fact_9.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/boost/simd/base/include/boost/simd/constant/constants/fact_9.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/boost/simd/base/include/boost/simd/constant/constants/fact_9.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
//============================================================================== // Copyright 2003 - 2011 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2011 LRI UMR 9623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
26.202703
168
0.606498
psiha
643650585d5705b7609d0c32f3ba10728c9da6c2
30,883
cpp
C++
src/Inventor/Gtk/SoGtkComponent.cpp
coin3d/sogtk
822e290109ef2fb8a4df75dcbf8acf70c5167549
[ "BSD-3-Clause" ]
null
null
null
src/Inventor/Gtk/SoGtkComponent.cpp
coin3d/sogtk
822e290109ef2fb8a4df75dcbf8acf70c5167549
[ "BSD-3-Clause" ]
null
null
null
src/Inventor/Gtk/SoGtkComponent.cpp
coin3d/sogtk
822e290109ef2fb8a4df75dcbf8acf70c5167549
[ "BSD-3-Clause" ]
1
2020-05-13T13:52:51.000Z
2020-05-13T13:52:51.000Z
/**************************************************************************\ * Copyright (c) Kongsberg Oil & Gas Technologies AS * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * Red...
29.983495
103
0.626299
coin3d
643b2ac0e48394a0e2dcabc8914437b4bf3f9c09
906
hpp
C++
third_party/include/mvscxx/oglplus/error/code.hpp
Simmesimme/swift2d
147a862208dee56f972361b5325009e020124137
[ "MIT" ]
24
2015-01-31T15:30:49.000Z
2022-01-29T08:36:42.000Z
third_party/include/mvscxx/oglplus/error/code.hpp
Simmesimme/swift2d
147a862208dee56f972361b5325009e020124137
[ "MIT" ]
4
2015-08-21T02:29:15.000Z
2020-05-02T13:50:36.000Z
third_party/include/mvscxx/oglplus/error/code.hpp
Simmesimme/swift2d
147a862208dee56f972361b5325009e020124137
[ "MIT" ]
9
2015-06-08T22:04:15.000Z
2021-08-16T03:52:11.000Z
/** * @file oglplus/error/code.hpp * @brief Enumeration of error-codes * * @author Matus Chochlik * * Copyright 2010-2014 Matus Chochlik. Distributed under the Boost * Software License, Version 1.0. (See accompanying file * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ #pragma once...
21.571429
68
0.763797
Simmesimme
643c3e653c6571eb70e44244337d2d73e14df51b
80
cxx
C++
Part1/src/Test/test.cxx
siredmar/CMakeTests
7d3d6c9177326126e48dcf483c75662db6941a98
[ "BSD-3-Clause" ]
null
null
null
Part1/src/Test/test.cxx
siredmar/CMakeTests
7d3d6c9177326126e48dcf483c75662db6941a98
[ "BSD-3-Clause" ]
null
null
null
Part1/src/Test/test.cxx
siredmar/CMakeTests
7d3d6c9177326126e48dcf483c75662db6941a98
[ "BSD-3-Clause" ]
null
null
null
#include "test.h" #include <stdio.h> void test(void) { printf("test\n"); }
10
21
0.6
siredmar
643ca74d156956844d0e8269e7883cdcd1ccfab4
1,262
hxx
C++
Jimbo/Jimbo/resource/thread/resourcethreadpool.hxx
BenStorey/Jimbo
937ff92a432fea2cb9a8e837d0e6839405f1a6c6
[ "MIT" ]
3
2017-05-29T15:44:13.000Z
2019-08-24T09:15:09.000Z
Jimbo/Jimbo/resource/thread/resourcethreadpool.hxx
BenStorey/Jimbo
937ff92a432fea2cb9a8e837d0e6839405f1a6c6
[ "MIT" ]
null
null
null
Jimbo/Jimbo/resource/thread/resourcethreadpool.hxx
BenStorey/Jimbo
937ff92a432fea2cb9a8e837d0e6839405f1a6c6
[ "MIT" ]
null
null
null
#ifndef JIMBO_RESOURCE_THREAD_RESOURCETHREADPOOL_HPP #define JIMBO_RESOURCE_THREAD_RESOURCETHREADPOOL_HPP ///////////////////////////////////////////////////////// // resourcethreadpool.hxx // // Ben Storey // // We have a specific thread pool for loading resources. This class essentially // wraps around our ThreadPo...
28.044444
87
0.694136
BenStorey
643dc2df69e2b89e5c17c6222f660533403a2c22
3,466
cpp
C++
engine/src/graphics/shader.cpp
jodelahithit/Diamond
d4620b7c38e4639acf06f6aa9ca692bbd22c0a28
[ "Apache-2.0" ]
null
null
null
engine/src/graphics/shader.cpp
jodelahithit/Diamond
d4620b7c38e4639acf06f6aa9ca692bbd22c0a28
[ "Apache-2.0" ]
null
null
null
engine/src/graphics/shader.cpp
jodelahithit/Diamond
d4620b7c38e4639acf06f6aa9ca692bbd22c0a28
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "util/path.h" #include "shader.h" #include "shadInclude.h" #include "util/fileSystem.h" #include "util/utils.h" #include "glError.h" namespace Diamond { Shader::Shader(const std::string& name, const std::string& filePath, bool hasGeometry, bool hasTessellation) : m_shaderProgram(nullptr),...
33.326923
240
0.712926
jodelahithit
643e005d4db08bf7edfab5f90801087bc2fbbb9d
326
hpp
C++
include/factory/console_creator.hpp
OBess/logger
95ef8c39a554bee3f3e26563f6bd058c1283fabb
[ "MIT" ]
null
null
null
include/factory/console_creator.hpp
OBess/logger
95ef8c39a554bee3f3e26563f6bd058c1283fabb
[ "MIT" ]
null
null
null
include/factory/console_creator.hpp
OBess/logger
95ef8c39a554bee3f3e26563f6bd058c1283fabb
[ "MIT" ]
null
null
null
#pragma once #ifndef CONSOLE_CREATOR_HPP #define CONSOLE_CREATOR_HPP // Custom #include "creator.hpp" #include "../loggers/console_logger.hpp" class console_creator : public creator { public: logger *getLogger() const override { return new console_logger(); } }; #endif //CONSOLE_CREAT...
18.111111
41
0.699387
OBess
643fc99168b31512536aec023ab8fd31e7ff4462
19,407
cpp
C++
src/jablotron/JablotronDeviceManager.cpp
jalowiczor/beeon-gateway-with-nemea-sources
195d8209302a42e03bafe33811236d7aeedb188d
[ "BSD-3-Clause" ]
null
null
null
src/jablotron/JablotronDeviceManager.cpp
jalowiczor/beeon-gateway-with-nemea-sources
195d8209302a42e03bafe33811236d7aeedb188d
[ "BSD-3-Clause" ]
null
null
null
src/jablotron/JablotronDeviceManager.cpp
jalowiczor/beeon-gateway-with-nemea-sources
195d8209302a42e03bafe33811236d7aeedb188d
[ "BSD-3-Clause" ]
1
2021-05-03T08:51:50.000Z
2021-05-03T08:51:50.000Z
#include <vector> #include <Poco/Clock.h> #include <Poco/Message.h> #include <Poco/NumberFormatter.h> #include <Poco/NumberParser.h> #include <Poco/RegularExpression.h> #include <Poco/StringTokenizer.h> #include <Poco/Thread.h> #include "commands/NewDeviceCommand.h" #include "core/CommandDispatcher.h" #include "di/In...
24.976834
94
0.718504
jalowiczor
6445847f7a81ff6c620ce0cec4612881c72a6f8f
347
cpp
C++
simulation/src/main.cpp
hps-ucsd/steering-control
04fe420641c5c70b4128c72d15df4c490e168ff2
[ "MIT" ]
null
null
null
simulation/src/main.cpp
hps-ucsd/steering-control
04fe420641c5c70b4128c72d15df4c490e168ff2
[ "MIT" ]
null
null
null
simulation/src/main.cpp
hps-ucsd/steering-control
04fe420641c5c70b4128c72d15df4c490e168ff2
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <string> #include <Gyro.hpp> #include <Stepper.hpp> int pid(int setPoint, int sensor) { int error = setPoint - sensor; return error; } int main() { Gyro gyro("zero.txt"); Stepper stepper("stepper_zero_out.txt"); for (int i = 0; i < 10000; i++) { stepper.move(...
14.458333
41
0.651297
hps-ucsd
6447943e7aeb646b095b1082200e9647d2b9b0b7
16,380
hpp
C++
include/autogen/core/generated_codegen.hpp
dmillard/autogen
c14790f01b7e6ff4c140331317ad981c33e9b40f
[ "MIT" ]
null
null
null
include/autogen/core/generated_codegen.hpp
dmillard/autogen
c14790f01b7e6ff4c140331317ad981c33e9b40f
[ "MIT" ]
null
null
null
include/autogen/core/generated_codegen.hpp
dmillard/autogen
c14790f01b7e6ff4c140331317ad981c33e9b40f
[ "MIT" ]
1
2021-10-31T10:59:49.000Z
2021-10-31T10:59:49.000Z
#pragma once // clang-format off #include <cstdio> #include <iostream> #include <memory> #include <stdexcept> #include <string> #include <array> #include <thread> #include "../utils/conditionals.hpp" #include "../cuda/cuda_codegen.hpp" #include "../cuda/cuda_library_processor.hpp" #include "../cuda/cuda_library.hpp"...
35.454545
80
0.655067
dmillard
644940e7453c92248091666c721fa1cdf3a1057b
374
hpp
C++
src/AST/Expressions/UnaryOperators/NegExpression.hpp
CarsonFox/CPSL
07a949166d9399f273ddf15e239ade6e5ea6e4a5
[ "MIT" ]
null
null
null
src/AST/Expressions/UnaryOperators/NegExpression.hpp
CarsonFox/CPSL
07a949166d9399f273ddf15e239ade6e5ea6e4a5
[ "MIT" ]
null
null
null
src/AST/Expressions/UnaryOperators/NegExpression.hpp
CarsonFox/CPSL
07a949166d9399f273ddf15e239ade6e5ea6e4a5
[ "MIT" ]
null
null
null
#pragma once #include "UnaryOpExpression.hpp" struct NegExpression : UnaryOpExpression { explicit NegExpression(Expression *); ~NegExpression() override = default; void print() const override; std::optional<int> try_fold() override; bool isConst() const override; std::string emitToRegiste...
22
80
0.724599
CarsonFox
644965e33f7d1c4580fd39f180fddf67c4f4629c
1,268
cpp
C++
src/menus/battle_menu/summon_view/battle_summon_callbacks.cpp
Kor-Hal/SisterRay
4e8482525a5d7f77dee186f438ddb16523a61e7e
[ "BSD-3-Clause" ]
null
null
null
src/menus/battle_menu/summon_view/battle_summon_callbacks.cpp
Kor-Hal/SisterRay
4e8482525a5d7f77dee186f438ddb16523a61e7e
[ "BSD-3-Clause" ]
null
null
null
src/menus/battle_menu/summon_view/battle_summon_callbacks.cpp
Kor-Hal/SisterRay
4e8482525a5d7f77dee186f438ddb16523a61e7e
[ "BSD-3-Clause" ]
null
null
null
#include "battle_summon_callbacks.h" #include "../../menu.h" #include <unordered_set> #include "../../../impl.h" using namespace BattleMenuWidgetNames; void initializeBattleSummonMenu() { CursorContext summonSelection = { 0, 0, 1, 3, 0, 0, 1, SUMMON_COUNT, 0, 0, 0, 0, 0, 1 }; Cursor summonChoiceCursor = { su...
48.769231
111
0.771293
Kor-Hal
644e4aff07c28ffc5ef04635b081ddbac4d02666
415
cpp
C++
Source/CBackground.cpp
DegitechWorldClass/Who-am-I_Game
ae90c7a60b747667d6571557c72e2b29dc1fc767
[ "Apache-2.0" ]
null
null
null
Source/CBackground.cpp
DegitechWorldClass/Who-am-I_Game
ae90c7a60b747667d6571557c72e2b29dc1fc767
[ "Apache-2.0" ]
null
null
null
Source/CBackground.cpp
DegitechWorldClass/Who-am-I_Game
ae90c7a60b747667d6571557c72e2b29dc1fc767
[ "Apache-2.0" ]
null
null
null
#include "DXUT.h" #include "CBackground.h" CBackground::CBackground() { } CBackground::~CBackground() { } void CBackground::Init() { } void CBackground::Update() { } void CBackground::Render() { } void CBackground::Release() { } void CBackground::OnCollisionEnter(CObject * _pObject) { } void CBackground::OnCo...
10.121951
54
0.708434
DegitechWorldClass
644f07d3ed65f02310bd452fb33177ef1599b02c
2,752
cpp
C++
source/scene.cpp
simonrose121/slidinghome
fb6d8cacfa8da0c52fb6202731dad11785f2f881
[ "MIT" ]
null
null
null
source/scene.cpp
simonrose121/slidinghome
fb6d8cacfa8da0c52fb6202731dad11785f2f881
[ "MIT" ]
null
null
null
source/scene.cpp
simonrose121/slidinghome
fb6d8cacfa8da0c52fb6202731dad11785f2f881
[ "MIT" ]
null
null
null
/* * (C) 2001-2012 Marmalade. All Rights Reserved. * * This document is protected by copyright, and contains information * proprietary to Marmalade. * * This file consists of source code released by Marmalade under * the terms of the accompanying End User License Agreement (EULA). * Please do not use this program/sourc...
19.798561
149
0.689317
simonrose121
64529c58690161ae6ca526066649eb1edd25c5e3
13,118
cpp
C++
nodes/https/src/controller.cpp
solosTec/node
e35e127867a4f66129477b780cbd09c5231fc7da
[ "MIT" ]
2
2020-03-03T12:40:29.000Z
2021-05-06T06:20:19.000Z
nodes/https/src/controller.cpp
solosTec/node
e35e127867a4f66129477b780cbd09c5231fc7da
[ "MIT" ]
7
2020-01-14T20:38:04.000Z
2021-05-17T09:52:07.000Z
nodes/https/src/controller.cpp
solosTec/node
e35e127867a4f66129477b780cbd09c5231fc7da
[ "MIT" ]
2
2019-11-09T09:14:48.000Z
2020-03-03T12:40:30.000Z
/* * The MIT License (MIT) * * Copyright (c) 2017 Sylko Olzscher * */ #include "controller.h" #include <NODE_project_info.h> #include "logic.h" #include <cyng/log.h> #include <cyng/async/scheduler.h> #include <cyng/async/signal_handler.h> #include <cyng/factory/set_factory.h> #include <cyng/io/serializer.h> ...
28.210753
122
0.642476
solosTec
645564c972f60cb675ead1ab523d3c909127964f
43
cpp
C++
src/boundary/boundary_condition.cpp
FredyTP/CFDcode
3c11671a25dc2b84626484bf30b63089166078df
[ "MIT" ]
null
null
null
src/boundary/boundary_condition.cpp
FredyTP/CFDcode
3c11671a25dc2b84626484bf30b63089166078df
[ "MIT" ]
null
null
null
src/boundary/boundary_condition.cpp
FredyTP/CFDcode
3c11671a25dc2b84626484bf30b63089166078df
[ "MIT" ]
null
null
null
#include <boundary/boundary_condition.h>
10.75
40
0.790698
FredyTP
645fed5baefc3bc9b5415e593fd3a3fb2d965780
4,380
cpp
C++
src/Multiplayer.cpp
LukacsBotond/Battleship-Game-Engine
53dc545b4c0df2efb143d9ef8872fa566e7baa93
[ "Unlicense" ]
2
2020-10-13T05:54:24.000Z
2020-10-16T08:58:11.000Z
src/Multiplayer.cpp
LukacsBotond/Battleship-Game-Engine
53dc545b4c0df2efb143d9ef8872fa566e7baa93
[ "Unlicense" ]
null
null
null
src/Multiplayer.cpp
LukacsBotond/Battleship-Game-Engine
53dc545b4c0df2efb143d9ef8872fa566e7baa93
[ "Unlicense" ]
1
2020-12-15T09:15:08.000Z
2020-12-15T09:15:08.000Z
#include "Multiplayer.h" void InitializeWinsock() { WSADATA wsaData; int result; result = WSAStartup(MAKEWORD(2, 2), &wsaData); if (result != NO_ERROR) { cout << "Hiba a WSAStartup() –nál\n"; } //cout << "initialize test" << endl; } /*void stringToCharArray(string s, string s1, char* char_...
20.372093
93
0.669863
LukacsBotond
64613718df175d329d83560c24aff0abd6231b15
2,945
hpp
C++
src/Subsystems/GearBox.hpp
frc3512/Robot-2016
a3f8b6f6c9cb9f7ddddc7f05581178dc3494ae86
[ "BSD-3-Clause" ]
null
null
null
src/Subsystems/GearBox.hpp
frc3512/Robot-2016
a3f8b6f6c9cb9f7ddddc7f05581178dc3494ae86
[ "BSD-3-Clause" ]
null
null
null
src/Subsystems/GearBox.hpp
frc3512/Robot-2016
a3f8b6f6c9cb9f7ddddc7f05581178dc3494ae86
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2016-2020 FRC Team 3512. All Rights Reserved. #pragma once #include <limits> #include <memory> #include <vector> #include <PIDOutput.h> #include <PIDSource.h> #include <Solenoid.h> #include "../WPILib/CANTalon.hpp" namespace frc { class DigitalInput; } // namespace frc /** * Represents a gear b...
27.523364
80
0.710696
frc3512
646714c13c091146e51b2e4d173296f00636f741
19,774
cpp
C++
src/asp_preprocessor.cpp
timn/clasp
60cd7b35e164f4acc9d7954779270538b2765c34
[ "MIT" ]
85
2016-10-25T10:44:32.000Z
2022-02-04T23:34:39.000Z
src/asp_preprocessor.cpp
timn/clasp
60cd7b35e164f4acc9d7954779270538b2765c34
[ "MIT" ]
63
2016-12-17T07:36:12.000Z
2022-03-14T23:08:01.000Z
src/asp_preprocessor.cpp
timn/clasp
60cd7b35e164f4acc9d7954779270538b2765c34
[ "MIT" ]
16
2016-11-19T13:52:42.000Z
2021-03-15T15:15:35.000Z
// // Copyright (c) 2006-2017 Benjamin Kaufmann // // This file is part of Clasp. See http://www.cs.uni-potsdam.de/clasp/ // // 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 restric...
36.282569
114
0.620815
timn
646739078156c1cd1990b15d2950cd2a561dcfce
321
cpp
C++
Codeforces/599A - Patrick and Shopping.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
Codeforces/599A - Patrick and Shopping.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
Codeforces/599A - Patrick and Shopping.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(false); #ifndef ONLINE_JUDGE freopen("files/input.txt", "r", stdin); #endif int d1, d2, d3; cin >> d1 >> d2 >> d3; cout << min(d1, d2) + min (d3, d1 + d2) + min( max(d1, d2), d3 + min(d1, d2) ); return 0; }...
21.4
83
0.548287
naimulcsx
6469c6f49af59f911378a6788fd472a125502f08
2,457
cpp
C++
src/engine/instance/instance.cpp
kurbaniec/PuzzleGame
5fdf67d14ee635f8c74f82a6b2af4ed354b6e5fe
[ "MIT" ]
null
null
null
src/engine/instance/instance.cpp
kurbaniec/PuzzleGame
5fdf67d14ee635f8c74f82a6b2af4ed354b6e5fe
[ "MIT" ]
null
null
null
src/engine/instance/instance.cpp
kurbaniec/PuzzleGame
5fdf67d14ee635f8c74f82a6b2af4ed354b6e5fe
[ "MIT" ]
null
null
null
// // Created by kurbaniec on 22.12.2021. // #include "instance.h" #include <utility> #include "glm/ext/matrix_transform.hpp" namespace engine { Instance::Instance( std::string id, glm::vec3 position, glm::vec3 rotation, glm::vec3 scale, glm::vec3 origin, glm::vec...
36.132353
99
0.612943
kurbaniec
646c2050050703ec4c4ecffd08b9900adb6274ee
9,253
cpp
C++
Eagle/src/Eagle/Physics/PhysicsScene.cpp
IceLuna/Eagle
3b0d5f014697c97138f160ddd535b1afd6d0c141
[ "Apache-2.0" ]
1
2021-12-10T19:15:25.000Z
2021-12-10T19:15:25.000Z
Eagle/src/Eagle/Physics/PhysicsScene.cpp
IceLuna/Eagle
3b0d5f014697c97138f160ddd535b1afd6d0c141
[ "Apache-2.0" ]
41
2021-08-18T21:32:14.000Z
2022-02-20T11:44:06.000Z
Eagle/src/Eagle/Physics/PhysicsScene.cpp
IceLuna/Eagle
3b0d5f014697c97138f160ddd535b1afd6d0c141
[ "Apache-2.0" ]
null
null
null
#include "egpch.h" #include "PhysicsScene.h" #include "PhysicsEngine.h" #include "PhysicsSettings.h" #include "PhysXDebugger.h" #include "PhysXInternal.h" #include "ContactListener.h" #include "Eagle/Core/Project.h" namespace Eagle { static ContactListener s_ContactListener; PhysicsScene::PhysicsScene(const P...
36.718254
187
0.649627
IceLuna
646d31a349f948b7f96fd2e134030632fd5fe49c
10,750
cpp
C++
Source/ModuleRender.cpp
AlbertVVila/Engine
adbd5e7b7afc28f230006d1b61f00aa85fa559c4
[ "MIT" ]
4
2019-02-08T23:08:36.000Z
2019-11-09T21:25:15.000Z
Source/ModuleRender.cpp
AlbertVVila/Engine
adbd5e7b7afc28f230006d1b61f00aa85fa559c4
[ "MIT" ]
2
2019-02-05T13:49:47.000Z
2019-05-27T16:25:46.000Z
Source/ModuleRender.cpp
AlbertVVila/Engine
adbd5e7b7afc28f230006d1b61f00aa85fa559c4
[ "MIT" ]
2
2019-01-16T21:21:20.000Z
2019-01-27T22:54:33.000Z
#include "Application.h" #include "ModuleRender.h" #include "ModuleCamera.h" #include "ModuleScene.h" #include "ModuleProgram.h" #include "ModuleEditor.h" #include "ModuleWindow.h" #include "ModuleResourceManager.h" #include "GameObject.h" #include "ComponentCamera.h" #include "Skybox.h" #include "Viewport.h" #includ...
25.717703
103
0.722419
AlbertVVila
646f56500abecade2fdcf7dde0c19da7a2d87851
3,992
hpp
C++
include/scoped/plot.hpp
gotocoffee1/guinea
2aa4ca1584695d52daa10846517de83d52bba2a8
[ "MIT" ]
null
null
null
include/scoped/plot.hpp
gotocoffee1/guinea
2aa4ca1584695d52daa10846517de83d52bba2a8
[ "MIT" ]
null
null
null
include/scoped/plot.hpp
gotocoffee1/guinea
2aa4ca1584695d52daa10846517de83d52bba2a8
[ "MIT" ]
null
null
null
#pragma once #ifndef _PLOT_SCOPED_HPP_ #define _PLOT_SCOPED_HPP_ #include "implot.h" namespace scoped { namespace ui { namespace plot { #define DELETE_MOVE_COPY(Base) \ Base(Base&&) = delete; /* Move not allowed */ \ Base& operator=(Base&&) = delete; /* "" ...
19.762376
99
0.547846
gotocoffee1
646fbc8aed3cd1d0d0d82b40da25d41195784a39
28,527
hpp
C++
table.hpp
hmito/hmLib
0f2515ba9c99c06d02e2fa633eeae73bcd793983
[ "MIT" ]
null
null
null
table.hpp
hmito/hmLib
0f2515ba9c99c06d02e2fa633eeae73bcd793983
[ "MIT" ]
null
null
null
table.hpp
hmito/hmLib
0f2515ba9c99c06d02e2fa633eeae73bcd793983
[ "MIT" ]
1
2015-09-22T03:32:11.000Z
2015-09-22T03:32:11.000Z
#ifndef HMLIB_TABLE_INC #define HMLIB_TABLE_INC 100 # #include<string> #include<vector> #include<algorithm> #include<limits> #include<boost/lexical_cast.hpp> #include<boost/iterator_adaptors.hpp> #include"exceptions.hpp" namespace hmLib{ namespace{ struct basic_table_identifier{}; } using table_exception=exceptio...
48.764103
238
0.758545
hmito
647654a81e44abbb020941ec699277bd0b84dda7
47
hpp
C++
src/boost_icl_separate_interval_set.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_icl_separate_interval_set.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_icl_separate_interval_set.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/icl/separate_interval_set.hpp>
23.5
46
0.829787
miathedev
6477964ce0ce76b0600a3803248b7a512764c3fd
4,140
cpp
C++
jrtp/rtprandomrands.cpp
gurumobile/RemoteControlGalileoExam
f9c2ce62091a5a7076020a4375475a8d70079cb3
[ "MIT" ]
21
2015-01-01T12:31:22.000Z
2020-07-20T03:15:18.000Z
src/rtprandomrands.cpp
jjzhang166/JRTPLIB-2
8e79132ffc6400bb9e9b421676b3c632273ff5b5
[ "MIT" ]
null
null
null
src/rtprandomrands.cpp
jjzhang166/JRTPLIB-2
8e79132ffc6400bb9e9b421676b3c632273ff5b5
[ "MIT" ]
19
2015-01-13T03:48:06.000Z
2021-11-30T05:33:55.000Z
/* This file is a part of JRTPLIB Copyright (c) 1999-2011 Jori Liesenborgs Contact: jori.liesenborgs@gmail.com This library was developed at the Expertise Centre for Digital Media (http://www.edm.uhasselt.be), a research center of the Hasselt University (http://www.uhasselt.be). The library is based upon...
20.597015
94
0.710386
gurumobile
647e6d3d644158aec4f503a30f5a41f9649def22
3,215
cc
C++
Kakadu/JP2_Box.cc
pirl-lpl/libjp2
9815b55e8a5222018fe5f978ac0819e53aea5204
[ "Apache-2.0" ]
1
2019-07-31T19:47:53.000Z
2019-07-31T19:47:53.000Z
Kakadu/JP2_Box.cc
pirl-lpl/libjp2
9815b55e8a5222018fe5f978ac0819e53aea5204
[ "Apache-2.0" ]
null
null
null
Kakadu/JP2_Box.cc
pirl-lpl/libjp2
9815b55e8a5222018fe5f978ac0819e53aea5204
[ "Apache-2.0" ]
1
2022-03-11T05:40:11.000Z
2022-03-11T05:40:11.000Z
/* JP2_Box HiROC CVS ID: $Id: JP2_Box.cc,v 1.1 2012/04/26 00:39:32 castalia Exp $ Copyright (C) 2012 Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona. This library is free software; you can redistribute it and/or modify it und...
24.541985
80
0.622084
pirl-lpl
64869e97c8945ce550a71efa7372c9155585aaf5
283
cpp
C++
Codeforces/1~999/482/A.cpp
tiger0132/code-backup
9cb4ee5e99bf3c274e34f1e59d398ab52e51ecf7
[ "MIT" ]
6
2018-12-30T06:16:54.000Z
2022-03-23T08:03:33.000Z
Codeforces/1~999/482/A.cpp
tiger0132/code-backup
9cb4ee5e99bf3c274e34f1e59d398ab52e51ecf7
[ "MIT" ]
null
null
null
Codeforces/1~999/482/A.cpp
tiger0132/code-backup
9cb4ee5e99bf3c274e34f1e59d398ab52e51ecf7
[ "MIT" ]
null
null
null
#include <algorithm> #include <cstdio> #include <cstring> int n, k, x, y; int main() { scanf("%d%d", &n, &k), x = 1, y = n; for (int i = 1; i <= k; i++) { printf("%d ", x); x += i % 2 ? 1 : -1; std::swap(x, y); } for (n -= k; n--; y += y < x ? 1 : -1) printf("%d ", y); }
18.866667
57
0.431095
tiger0132
6488e202bb24d9cb5ce265cefc8a82418015a0de
1,388
cpp
C++
src/mesh.cpp
FrMarchand/pbr-material-viewer
cc665a10f036dc13b6fd6c94c48d5b8ddc3596a4
[ "MIT" ]
5
2019-08-07T09:48:04.000Z
2021-08-12T07:31:51.000Z
src/mesh.cpp
FrMarchand/pbr-material-viewer
cc665a10f036dc13b6fd6c94c48d5b8ddc3596a4
[ "MIT" ]
null
null
null
src/mesh.cpp
FrMarchand/pbr-material-viewer
cc665a10f036dc13b6fd6c94c48d5b8ddc3596a4
[ "MIT" ]
4
2020-03-19T04:30:55.000Z
2021-08-08T01:28:28.000Z
#include "mesh.h" Mesh::Mesh() {} Mesh::~Mesh() {} void Mesh::draw(const Shader& shader) const { shader.use(); // draw mesh glBindVertexArray(mVAO); glDrawElements(mPrimitive, mIndexCount, GL_UNSIGNED_INT, 0); glBindVertexArray(0); } void Mesh::setupMesh(const std::vector<Vertex>& vertices, const std::vector...
27.76
107
0.75
FrMarchand
6489472c152bcd70623709c6e111233ce5f85a22
5,305
hpp
C++
source/hougfx/include/hou/gfx/framebuffer.hpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
2
2018-04-12T20:59:20.000Z
2018-07-26T16:04:07.000Z
source/hougfx/include/hou/gfx/framebuffer.hpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
null
null
null
source/hougfx/include/hou/gfx/framebuffer.hpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
null
null
null
// Houzi Game Engine // Copyright (c) 2018 Davide Corradi // Licensed under the MIT license. #ifndef HOU_GFX_FRAME_BUFFER_HPP #define HOU_GFX_FRAME_BUFFER_HPP #include "hou/cor/non_copyable.hpp" #include "hou/gfx/framebuffer_blit_filter.hpp" #include "hou/gfx/framebuffer_blit_mask.hpp" #include "hou/gfx/gfx_config....
28.368984
80
0.719321
DavideCorradiDev
52bfb73113cf500a929e8637ffb6b7602ea0f2be
782
hpp
C++
include/RED4ext/Scripting/Natives/Generated/scn/loc/LocStoreEmbedded.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
42
2020-12-25T08:33:00.000Z
2022-03-22T14:47:07.000Z
include/RED4ext/Scripting/Natives/Generated/scn/loc/LocStoreEmbedded.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
38
2020-12-28T22:36:06.000Z
2022-02-16T11:25:47.000Z
include/RED4ext/Scripting/Natives/Generated/scn/loc/LocStoreEmbedded.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
20
2020-12-28T22:17:38.000Z
2022-03-22T17:19:01.000Z
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/DynArray.hpp> #include <RED4ext/Scripting/Natives/Generated/scn/loc/LocStoreEmbeddedVariantDescriptorEntry.hpp> #include <RED4ext/Scripting/Natives/Generated/scn/loc/LocStoreEmbedd...
31.28
97
0.786445
jackhumbert
52c0309cb7b6c128036562e0404f054a592f9620
464
cpp
C++
test/SubscriberHandleTest.cpp
eXpl0it3r/PubBus
0455a605a799d3bf2bb6dfcd7970d5ba1ef7528f
[ "Unlicense" ]
16
2016-03-16T11:20:20.000Z
2021-10-19T04:55:05.000Z
test/SubscriberHandleTest.cpp
eXpl0it3r/PubBus
0455a605a799d3bf2bb6dfcd7970d5ba1ef7528f
[ "Unlicense" ]
1
2019-08-26T21:54:58.000Z
2019-12-25T20:34:41.000Z
test/SubscriberHandleTest.cpp
eXpl0it3r/PubBus
0455a605a799d3bf2bb6dfcd7970d5ba1ef7528f
[ "Unlicense" ]
6
2019-06-14T16:42:21.000Z
2022-01-17T08:31:33.000Z
#include "catch.hpp" #include <cstddef> #include <PubBus/SubscriberHandle.hpp> TEST_CASE("Constructing a SubscriberHandle sets the index and id", "[SubscriberHandle]") { // Arrange struct DummyMessage : pub::Message { }; auto id = pub::Message::id<DummyMessage>(); auto index = 10u; // A...
19.333333
88
0.633621
eXpl0it3r
52c03b8c358e967f14be33024fcbdd7719129413
1,202
cpp
C++
1396. Design Underground System.cpp
priyamittal15/Leetcode_Solutions
21cb9c09e053425dba66acd62240399b1a35fba0
[ "Apache-2.0" ]
1
2022-01-28T08:07:32.000Z
2022-01-28T08:07:32.000Z
1396. Design Underground System.cpp
priyamittal15/Leetcode_Solutions
21cb9c09e053425dba66acd62240399b1a35fba0
[ "Apache-2.0" ]
null
null
null
1396. Design Underground System.cpp
priyamittal15/Leetcode_Solutions
21cb9c09e053425dba66acd62240399b1a35fba0
[ "Apache-2.0" ]
1
2022-03-16T14:46:09.000Z
2022-03-16T14:46:09.000Z
class UndergroundSystem { public: map<Double,pair<string,double>> customer; //customer is storing customer id as key and stationname and time as value map<pair<string, string>, pair<double, double>> total; //total storing startstation and endstation as key and totaltime and count as value Undergroun...
37.5625
173
0.678037
priyamittal15
52c258fd021a646366cb8214ef9008e11e668ad4
737
cpp
C++
Sorting and Searching/Factory Machines.cpp
DecSP/cses-downloader
12a8f37665a33f6f790bd2c355f84dea8a0e332c
[ "MIT" ]
2
2022-02-12T12:30:13.000Z
2022-02-12T13:59:20.000Z
Sorting and Searching/Factory Machines.cpp
DecSP/cses-downloader
12a8f37665a33f6f790bd2c355f84dea8a0e332c
[ "MIT" ]
2
2022-02-12T11:09:41.000Z
2022-02-12T11:55:49.000Z
Sorting and Searching/Factory Machines.cpp
DecSP/cses-downloader
12a8f37665a33f6f790bd2c355f84dea8a0e332c
[ "MIT" ]
null
null
null
# include <bits/stdc++.h> # define ll long long # define all(x) x.begin(), x.end() # define fastio ios_base::sync_with_stdio(false); cin.tie(NULL);cout.tie(NULL) using namespace std; int main(){ fastio; int n,t; cin>>n>>t; double s=0; vector <int> arr(n); for (int i=0;i<n;i++){ cin>>arr[i]; s+=1....
22.333333
79
0.580733
DecSP
52c4191e9ab0ac9f7bc43628d3cf80658cd2eed3
888
hpp
C++
modules/core/source/blub/core/sharedPointer.hpp
qwertzui11/voxelTerrain
05038fb261893dd044ae82fab96b7708ea5ed623
[ "MIT" ]
96
2015-02-02T20:01:24.000Z
2021-11-14T20:33:29.000Z
modules/core/source/blub/core/sharedPointer.hpp
qwertzui11/voxelTerrain
05038fb261893dd044ae82fab96b7708ea5ed623
[ "MIT" ]
12
2016-06-04T15:45:30.000Z
2020-02-04T11:10:51.000Z
modules/core/source/blub/core/sharedPointer.hpp
qwertzui11/voxelTerrain
05038fb261893dd044ae82fab96b7708ea5ed623
[ "MIT" ]
19
2015-09-22T01:21:45.000Z
2020-09-30T09:52:27.000Z
#ifndef BLUB_SHAREDPOINTER_HPP #define BLUB_SHAREDPOINTER_HPP #include <memory> namespace blub { template <class T> class sharedPointer : public std::shared_ptr<T> { public: typedef std::shared_ptr<T> t_base; sharedPointer() {} sharedPointer(T* ptr) : t_base(ptr) {} sharedPointer(t...
13.875
70
0.584459
qwertzui11
52c6ec417ea289ea46d150dfc133e091c2c36621
1,502
cpp
C++
libs/db/src/Db.cpp
romz-pl/romz-btree
8f0634fa68c9c3245e53c81d100c1cf7a0bcac41
[ "Apache-2.0" ]
null
null
null
libs/db/src/Db.cpp
romz-pl/romz-btree
8f0634fa68c9c3245e53c81d100c1cf7a0bcac41
[ "Apache-2.0" ]
null
null
null
libs/db/src/Db.cpp
romz-pl/romz-btree
8f0634fa68c9c3245e53c81d100c1cf7a0bcac41
[ "Apache-2.0" ]
null
null
null
#include <romz/db/Db.h> namespace romz { // Constructor Db::Db(Env *env_, DbConfig &config_) : env(env_) , context( nullptr ) , config(config_) { } // Returns the runtime-flags - the flags are "mixed" with the flags from // the Environment uint32_t Db::flags() const { // return env->flags() | config...
21.768116
73
0.656458
romz-pl
52cd030de87354ada76e3b661018c6aeaf284b7b
8,066
cpp
C++
geodrawer/spatialdatadrawer.cpp
ridoo/IlwisCore
9d9837507d804a4643545a03fd40d9b4d0eaee45
[ "Apache-2.0" ]
null
null
null
geodrawer/spatialdatadrawer.cpp
ridoo/IlwisCore
9d9837507d804a4643545a03fd40d9b4d0eaee45
[ "Apache-2.0" ]
null
null
null
geodrawer/spatialdatadrawer.cpp
ridoo/IlwisCore
9d9837507d804a4643545a03fd40d9b4d0eaee45
[ "Apache-2.0" ]
null
null
null
#include "coverage.h" #include "table.h" #include "featurecoverage.h" #include "feature.h" #include "raster.h" #include "range.h" #include "itemrange.h" #include "identifieritem.h" #include "identifierrange.h" #include "itemdomain.h" #include "colorlookup.h" #include "representation.h" #include "drawers/attributevisual...
31.507813
195
0.626457
ridoo
52cde33529dd0836d6f0dc64aeab6ea8044265d3
1,396
cpp
C++
201703/20170304/main_Kruskal.cpp
Heliovic/My-CCF_CSP-Answer
089ce2601bee3d3d5dc463486dd4192f087aa7f0
[ "MIT" ]
4
2019-03-16T14:42:08.000Z
2019-07-18T13:57:29.000Z
201703/20170304/main_Kruskal.cpp
Heliovic/My_CCF-CSP_Answer
089ce2601bee3d3d5dc463486dd4192f087aa7f0
[ "MIT" ]
null
null
null
201703/20170304/main_Kruskal.cpp
Heliovic/My_CCF-CSP_Answer
089ce2601bee3d3d5dc463486dd4192f087aa7f0
[ "MIT" ]
null
null
null
#include <cstdio> #include <algorithm> #include <vector> using namespace std; struct Edge { int from, to, cost; Edge(int f, int t, int c): from(f), to(t), cost(c) {} }; int father[100002]; int N, M; vector<Edge*> edges; int GetFather(int a) { int b = a; while (true) if (father[a] == a) ...
17.02439
69
0.455587
Heliovic
52ce589bfc26e04cfbf0e41ddd8cceebd113b120
2,134
cpp
C++
src/_leetcode/leet_132.cpp
turesnake/leetPractice
a87b9b90eb8016038d7e5d3ad8e50e4ceb54d69b
[ "MIT" ]
null
null
null
src/_leetcode/leet_132.cpp
turesnake/leetPractice
a87b9b90eb8016038d7e5d3ad8e50e4ceb54d69b
[ "MIT" ]
null
null
null
src/_leetcode/leet_132.cpp
turesnake/leetPractice
a87b9b90eb8016038d7e5d3ad8e50e4ceb54d69b
[ "MIT" ]
null
null
null
/* * ====================== leet_132.cpp ========================== * -- tpr -- * CREATE -- 2020.07.16 * MODIFY -- * ---------------------------------------------------------- * 132. 分割回文串 II */ #include "innL...
24.25
102
0.336926
turesnake
52d475886e43c9c0322281171bdf7eb0954653ac
450
cpp
C++
Day 06/leetcode.cpp
tushar-nath/100-days-of-code
860c088968521d953f5ca9222f70037e95cb4ad4
[ "MIT" ]
null
null
null
Day 06/leetcode.cpp
tushar-nath/100-days-of-code
860c088968521d953f5ca9222f70037e95cb4ad4
[ "MIT" ]
null
null
null
Day 06/leetcode.cpp
tushar-nath/100-days-of-code
860c088968521d953f5ca9222f70037e95cb4ad4
[ "MIT" ]
null
null
null
// https://codeforces.com/problemset/problem/69/A #include<iostream> using namespace std; int main() { int n; cin >> n; int a[100][3]; for (int i = 0; i < n; i++) cin >> a[i][0] >> a[i][1] >> a[i][2]; int o =0,p=0,q=0; for (int j = 0; j < n; j++) o+=a[j][0]; for (int k = 0; k < n; k++) p += a[k][1]; for ...
18.75
49
0.466667
tushar-nath
52d5babc01da5095c4a108c92aa6f5d63b4dda54
6,453
hpp
C++
include/data/FluidMeta.hpp
jamesb93/flucoma-core
3e964dd569f6fff15bd5249a705dc0da8f7b2ad8
[ "BSD-3-Clause" ]
null
null
null
include/data/FluidMeta.hpp
jamesb93/flucoma-core
3e964dd569f6fff15bd5249a705dc0da8f7b2ad8
[ "BSD-3-Clause" ]
null
null
null
include/data/FluidMeta.hpp
jamesb93/flucoma-core
3e964dd569f6fff15bd5249a705dc0da8f7b2ad8
[ "BSD-3-Clause" ]
null
null
null
/* Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) Copyright 2017-2019 University of Huddersfield. Licensed under the BSD-3 License. See license.md file in the project root for full license information. This project has received funding from the European Research Council (ERC) under the European...
32.923469
80
0.683093
jamesb93
52dc40a0a0afda91637797976604b70381f72c07
6,150
cpp
C++
src/brdf_lut/main.cpp
diharaw/AssetConverter
88b53d0d01795e5e112853304a9dbf3873f25fe6
[ "MIT" ]
14
2019-05-09T12:34:55.000Z
2021-12-27T09:23:28.000Z
src/brdf_lut/main.cpp
diharaw/AssetCore
ddde1eb829f8a1b5f94357f94d8e23108c0c7962
[ "MIT" ]
null
null
null
src/brdf_lut/main.cpp
diharaw/AssetCore
ddde1eb829f8a1b5f94357f94d8e23108c0c7962
[ "MIT" ]
null
null
null
#include <exporter/image_exporter.h> #include <common/filesystem.h> #include <stdio.h> #include <vector> #include <algorithm> #include <glm.hpp> #include <chrono> #define BRDF_LUT_SIZE 512 const float PI = 3.14159265359; // ---------------------------------------------------------------------------- // http://holger...
29.854369
111
0.505366
diharaw
52e0cd5178776c5f0d173f6c9a0793429b1d8974
275
cpp
C++
UpdateSystemTest/src/UpdateManagerTestWorker.cpp
ProtocolONE/cord.update-system
ec14aa3210f41f788d2ea3229d36bff7f0b327d0
[ "Apache-2.0" ]
1
2019-08-07T06:13:57.000Z
2019-08-07T06:13:57.000Z
UpdateSystemTest/src/UpdateManagerTestWorker.cpp
ProtocolONE/cord.update-system
ec14aa3210f41f788d2ea3229d36bff7f0b327d0
[ "Apache-2.0" ]
null
null
null
UpdateSystemTest/src/UpdateManagerTestWorker.cpp
ProtocolONE/cord.update-system
ec14aa3210f41f788d2ea3229d36bff7f0b327d0
[ "Apache-2.0" ]
null
null
null
#include "UpdateManagerTestWorker.h" UpdateManagerTestWorker::UpdateManagerTestWorker(QObject *parrent) : QObject(parrent) { } UpdateManagerTestWorker::~UpdateManagerTestWorker(void) { } void UpdateManagerTestWorker::doSimpleTest() { this->_target->checkUpdate(); }
15.277778
66
0.785455
ProtocolONE
52e3b161ce1df71096b08c94c16d6054e425e4ee
5,735
cpp
C++
test/src/TestSort.cpp
abc1199281/DS_Common
6b11dc19f2d3b33d19af315dd800aa37f89e7ae2
[ "MIT" ]
null
null
null
test/src/TestSort.cpp
abc1199281/DS_Common
6b11dc19f2d3b33d19af315dd800aa37f89e7ae2
[ "MIT" ]
null
null
null
test/src/TestSort.cpp
abc1199281/DS_Common
6b11dc19f2d3b33d19af315dd800aa37f89e7ae2
[ "MIT" ]
null
null
null
// TestTime.cpp /* Header */ //==================================================================================================== #include <iostream> #include <string> #include <DS_Common/Test/UnitTest.h> #include <DS_Common/Time/Timer.h> #include <DS_Common/Sort/HeapSort.h> #include <DS_Common/Sort/InsertionSort...
30.026178
102
0.434176
abc1199281
52e6777d88ca817fe1fc50ccecd4afe813a29378
24,394
cpp
C++
APEX_1.4/module/destructible/fracture/Core/CompoundCreatorBase.cpp
DoubleTT-Changan/0715
acbd071531ca4f3e2a82525b92f60824178c39fa
[ "Unlicense" ]
null
null
null
APEX_1.4/module/destructible/fracture/Core/CompoundCreatorBase.cpp
DoubleTT-Changan/0715
acbd071531ca4f3e2a82525b92f60824178c39fa
[ "Unlicense" ]
null
null
null
APEX_1.4/module/destructible/fracture/Core/CompoundCreatorBase.cpp
DoubleTT-Changan/0715
acbd071531ca4f3e2a82525b92f60824178c39fa
[ "Unlicense" ]
null
null
null
// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in bin...
29.64034
112
0.60683
DoubleTT-Changan
52e6f57902b7058e10b8235de57d4d4f6ef45fcb
2,197
cpp
C++
YAD-Studio/Widgets/InputWidget.cpp
Yad-Studio/YAD-Studio
3ff9be91a573fc189c5756068634e2c154f1cdbc
[ "MIT" ]
22
2015-01-04T22:16:41.000Z
2022-03-15T16:08:53.000Z
YAD-Studio/Widgets/InputWidget.cpp
Yad-Studio/YAD-Studio
3ff9be91a573fc189c5756068634e2c154f1cdbc
[ "MIT" ]
1
2015-02-26T12:08:14.000Z
2015-02-27T07:38:38.000Z
YAD-Studio/Widgets/InputWidget.cpp
Yad-Studio/YAD-Studio
3ff9be91a573fc189c5756068634e2c154f1cdbc
[ "MIT" ]
2
2016-01-01T14:25:42.000Z
2018-10-23T14:55:45.000Z
#include "InputWidget.h" #include "ui_InputWidget.h" #include "QPushButton" InputWidget::InputWidget(QWidget *parent) : QWidget(parent), ui(new Ui::InputWidget) { ui->setupUi(this); _can_run_algorythm = true; //run button clicked connect(ui->runButton, SIGNAL(clicked()), ...
21.752475
54
0.633136
Yad-Studio
52ebbc499b632c927fe80e567326ec75b9177f48
1,822
cpp
C++
test/any/add.cpp
mkn/mkn.gpu
22946338e6a4790cc056708aa141c1a31538ba1c
[ "BSD-3-Clause" ]
null
null
null
test/any/add.cpp
mkn/mkn.gpu
22946338e6a4790cc056708aa141c1a31538ba1c
[ "BSD-3-Clause" ]
1
2020-09-13T10:39:29.000Z
2021-05-07T08:12:11.000Z
test/any/add.cpp
mkn/mkn.gpu
22946338e6a4790cc056708aa141c1a31538ba1c
[ "BSD-3-Clause" ]
null
null
null
#include "kul/gpu.hpp" static constexpr uint32_t WIDTH = 1024, HEIGHT = 1024; static constexpr uint32_t NUM = WIDTH * HEIGHT; static constexpr uint32_t TPB_X = 16, TPB_Y = 16; template <typename T> __global__ void vector_inc0(T* a) { auto i = kul::gpu::idx(); a[i] = i + 1; } template <typename Float> uint32_t t...
27.606061
87
0.600439
mkn
52ebd12af502d6f1f191ba4566181254aa405a84
947
hpp
C++
include/RED4ext/Scripting/Natives/Generated/quest/CombatNodeParams_UseCover.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
42
2020-12-25T08:33:00.000Z
2022-03-22T14:47:07.000Z
include/RED4ext/Scripting/Natives/Generated/quest/CombatNodeParams_UseCover.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
38
2020-12-28T22:36:06.000Z
2022-02-16T11:25:47.000Z
include/RED4ext/Scripting/Natives/Generated/quest/CombatNodeParams_UseCover.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
20
2020-12-28T22:17:38.000Z
2022-03-22T17:19:01.000Z
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/CName.hpp> #include <RED4ext/DynArray.hpp> #include <RED4ext/NativeTypes.hpp> #include <RED4ext/Scripting/Natives/Generated/AI/CoverExposureMethod.hpp> #include <RED4ext/Scripting/...
29.59375
73
0.749736
jackhumbert
52ee9e1fdc8ef703b60c13764f8a558cc7208047
1,428
cpp
C++
source/EterLib/ScreenFilter.cpp
beetle2k/Metin2Client
114f492b71fcc90e8f5010c5b35b9fddb51639ca
[ "MIT" ]
13
2018-08-27T19:06:54.000Z
2021-11-12T05:44:04.000Z
source/EterLib/ScreenFilter.cpp
stempomzeskas/Metin2Client
114f492b71fcc90e8f5010c5b35b9fddb51639ca
[ "MIT" ]
null
null
null
source/EterLib/ScreenFilter.cpp
stempomzeskas/Metin2Client
114f492b71fcc90e8f5010c5b35b9fddb51639ca
[ "MIT" ]
15
2018-10-25T14:28:10.000Z
2022-03-25T14:05:09.000Z
#include "StdAfx.h" #include "ScreenFilter.h" #include "StateManager.h" void CScreenFilter::Render() { if (!m_bEnable) return; STATEMANAGER.SaveTransform(D3DTS_PROJECTION, &ms_matIdentity); STATEMANAGER.SaveTransform(D3DTS_VIEW, &ms_matIdentity); STATEMANAGER.SetTransform(D3DTS_WORLD, &ms_matIdentity); STATE...
26.943396
65
0.793417
beetle2k
5e0080bd13f86c45e1c0edc764d61b1d89440819
4,112
hpp
C++
gl/geometry_render.hpp
osyo-manga/boost-geometry-render
7cdfb91572b31186fa48a1196bc34327ec561482
[ "BSL-1.0" ]
1
2018-04-04T20:06:24.000Z
2018-04-04T20:06:24.000Z
gl/geometry_render.hpp
osyo-manga/boost-geometry-render
7cdfb91572b31186fa48a1196bc34327ec561482
[ "BSL-1.0" ]
null
null
null
gl/geometry_render.hpp
osyo-manga/boost-geometry-render
7cdfb91572b31186fa48a1196bc34327ec561482
[ "BSL-1.0" ]
null
null
null
// // boost-geometry-render // // Copyright (c) 2011 // osyo-manga : http://d.hatena.ne.jp/osyo-manga/ // // License: // Boost Software License - Version 1.0 // <http://www.boost.org/LICENSE_1_0.txt> // #ifndef BOOST_GEOMETRY_RENDER_GL_GEOMETRY_RENDER_H #define BOOST_GEOMETRY_RENDER_GL_GEOMETRY_RENDER_H #include <boo...
26.701299
82
0.750973
osyo-manga