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
5a3d24d871e1bc144f1d6cafb6f1a155356dffbe
4,910
cpp
C++
src/Structs.Core.cpu/Collections/BitArray.cpp
Grimace1975/gpustructs
549f32c96d4df6aafcb38cc063a8cd516512883b
[ "MIT" ]
null
null
null
src/Structs.Core.cpu/Collections/BitArray.cpp
Grimace1975/gpustructs
549f32c96d4df6aafcb38cc063a8cd516512883b
[ "MIT" ]
null
null
null
src/Structs.Core.cpu/Collections/BitArray.cpp
Grimace1975/gpustructs
549f32c96d4df6aafcb38cc063a8cd516512883b
[ "MIT" ]
null
null
null
#ifndef CORE_H # include "..\..\..\inc\System\Core.h" #endif #include "BitArray.hpp" #include <string.h> using namespace Structs; namespace Structs { namespace Collections { BitArray::BitArray(uint size) { _size = size; } void BitArray::Destroy(BitArray &p) { if (&p =...
36.102941
160
0.405906
5a3dba1ad0707e8f2523f50885675d3e4a54b7bb
1,088
cpp
C++
Tutorials/Week 3/Solutions/Office.cpp
JamesMarino/CSCI204
17b2c44252d1be40214831c6e7e0c2b71848f500
[ "MIT" ]
null
null
null
Tutorials/Week 3/Solutions/Office.cpp
JamesMarino/CSCI204
17b2c44252d1be40214831c6e7e0c2b71848f500
[ "MIT" ]
null
null
null
Tutorials/Week 3/Solutions/Office.cpp
JamesMarino/CSCI204
17b2c44252d1be40214831c6e7e0c2b71848f500
[ "MIT" ]
null
null
null
// Office.cpp // Static field holds rent due date for an office - rents are due on the 1st #include <iostream> #include <string> using namespace std; class Office { private: int officeNum; string tenant; int rent; static int rentDueDate; public: void setOfficeData(int, string, int); static void showRen...
21.76
101
0.654412
5a3e900a0a703723b1b7bd32ddda0acae6b32857
2,637
hpp
C++
indexer/covered_object.hpp
mapsme/geocore
346fceb020cd909b37706ab6ad454aec1a11f52e
[ "Apache-2.0" ]
13
2019-09-16T17:45:31.000Z
2022-01-29T15:51:52.000Z
indexer/covered_object.hpp
mapsme/geocore
346fceb020cd909b37706ab6ad454aec1a11f52e
[ "Apache-2.0" ]
37
2019-10-04T00:55:46.000Z
2019-12-27T15:13:19.000Z
indexer/covered_object.hpp
mapsme/geocore
346fceb020cd909b37706ab6ad454aec1a11f52e
[ "Apache-2.0" ]
13
2019-10-02T15:03:58.000Z
2020-12-28T13:06:22.000Z
#pragma once #include "geometry/point2d.hpp" #include "geometry/polygon.hpp" #include "geometry/rect2d.hpp" #include "coding/geometry_coding.hpp" #include "base/buffer_vector.hpp" #include "base/geo_object_id.hpp" #include <cstdint> #include <vector> namespace indexer { // Class for intermediate objects used to bu...
26.908163
102
0.668563
5a41d85552d1170f10241f9d4566dad233198f36
2,275
cpp
C++
cctbx/adp_restraints/fixed_u_eq_adp_bpl.cpp
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
155
2016-11-23T12:52:16.000Z
2022-03-31T15:35:44.000Z
cctbx/adp_restraints/fixed_u_eq_adp_bpl.cpp
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
590
2016-12-10T11:31:18.000Z
2022-03-30T23:10:09.000Z
cctbx/adp_restraints/fixed_u_eq_adp_bpl.cpp
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
115
2016-11-15T08:17:28.000Z
2022-02-09T15:30:14.000Z
#include <cctbx/boost_python/flex_fwd.h> #include <boost/python/def.hpp> #include <boost/python/class.hpp> #include <boost/python/args.hpp> #include <boost/python/return_value_policy.hpp> #include <boost/python/copy_const_reference.hpp> #include <boost/python/return_internal_reference.hpp> #include <boost/python/retur...
25.852273
60
0.607033
5a467f39695c9b5c2b5e7d6e8cf80f1335bd1599
3,212
hpp
C++
include/opengl/draw_info.hpp
bjadamson/BoomHS
60b5d8ddc2490ec57e8f530ba7ce3135221e2ec4
[ "MIT" ]
2
2016-07-22T10:09:21.000Z
2017-09-16T06:50:01.000Z
include/opengl/draw_info.hpp
bjadamson/BoomHS
60b5d8ddc2490ec57e8f530ba7ce3135221e2ec4
[ "MIT" ]
14
2016-08-13T22:45:56.000Z
2018-12-16T03:56:36.000Z
include/opengl/draw_info.hpp
bjadamson/BoomHS
60b5d8ddc2490ec57e8f530ba7ce3135221e2ec4
[ "MIT" ]
null
null
null
#pragma once #include <opengl/bind.hpp> #include <opengl/global.hpp> #include <opengl/vao.hpp> #include <opengl/vertex_attribute.hpp> #include <boomhs/entity.hpp> #include <common/log.hpp> #include <common/type_macros.hpp> #include <optional> #include <string> namespace boomhs { class ObjStore; } // namespace boomh...
22
93
0.711706
53fe5e6aeb1f1c44f8f4face1da69d196f13f417
13,467
cpp
C++
operators_c.cpp
ntan15/scratch_wadge
0657069749b9507062c1f7e875c6545076fb85c8
[ "Unlicense" ]
null
null
null
operators_c.cpp
ntan15/scratch_wadge
0657069749b9507062c1f7e875c6545076fb85c8
[ "Unlicense" ]
null
null
null
operators_c.cpp
ntan15/scratch_wadge
0657069749b9507062c1f7e875c6545076fb85c8
[ "Unlicense" ]
null
null
null
#include "operators_c.h" #include "operators.h" #include <Eigen/Dense> #include <iostream> using namespace std; static dfloat_t *to_c(VectorXd &v) { dfloat_t *vdata = (dfloat_t *)asd_malloc_aligned(sizeof(dfloat_t) * v.size()); #if USE_DFLOAT_DOUBLE == 1 Eigen::Map<Eigen::VectorXd>(vdata, v.size()) = v.cast<dfloa...
31.538642
80
0.556843
99046f7f13fbffeefb6d06369b8ecde9df1dbf40
2,337
cc
C++
larq_compute_engine/mlir/transforms/fuse_padding.cc
godhj93/compute-engine
1f812a6722e2ee6a510c883826fd5925f9c34b18
[ "Apache-2.0" ]
null
null
null
larq_compute_engine/mlir/transforms/fuse_padding.cc
godhj93/compute-engine
1f812a6722e2ee6a510c883826fd5925f9c34b18
[ "Apache-2.0" ]
null
null
null
larq_compute_engine/mlir/transforms/fuse_padding.cc
godhj93/compute-engine
1f812a6722e2ee6a510c883826fd5925f9c34b18
[ "Apache-2.0" ]
null
null
null
#include "larq_compute_engine/mlir/transforms/padding.h" #include "mlir/Pass/Pass.h" #include "mlir/Transforms/GreedyPatternRewriteDriver.h" #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h" namespace mlir { namespace TFL { namespace { bool NoBatchAndChannelPadding(Attribute paddings_attr) { auto paddings = Ge...
34.880597
79
0.744544
990895bc2b59a8a47daa6835471237eac9152d89
8,857
cpp
C++
XMLWriter.cpp
malord/prime
f0e8be99b7dcd482708b9c928322bc07a3128506
[ "MIT" ]
null
null
null
XMLWriter.cpp
malord/prime
f0e8be99b7dcd482708b9c928322bc07a3128506
[ "MIT" ]
null
null
null
XMLWriter.cpp
malord/prime
f0e8be99b7dcd482708b9c928322bc07a3128506
[ "MIT" ]
null
null
null
// Copyright 2000-2021 Mark H. P. Lord #include "XMLWriter.h" #include <string.h> namespace { // TODO: might be worth finding a common place for this? Or making them static methods so other modules can use them? inline bool IsXMLWhitespace(char ch) { return ch == 0x09 || ch == 0x0a || ch == 0x0d || ch == 0x0c |...
24.265753
136
0.584058
990ce40d611e8ecc977c2e5fe7133c3bcbddaf35
9,821
cpp
C++
Source/Engine/LightFroxelationTechnique.cpp
glowing-chemist/Bell
0cf4d0ac925940869077779700c1d3bd45ff841f
[ "MIT" ]
14
2020-02-12T19:13:46.000Z
2022-03-05T02:26:06.000Z
Source/Engine/LightFroxelationTechnique.cpp
glowing-chemist/Bell
0cf4d0ac925940869077779700c1d3bd45ff841f
[ "MIT" ]
5
2020-08-06T07:19:47.000Z
2021-01-05T21:20:51.000Z
Source/Engine/LightFroxelationTechnique.cpp
glowing-chemist/Bell
0cf4d0ac925940869077779700c1d3bd45ff841f
[ "MIT" ]
2
2021-09-18T13:36:47.000Z
2021-12-04T15:08:53.000Z
#include "Engine/LightFroxelationTechnique.hpp" #include "Engine/Engine.hpp" #include "Engine/DefaultResourceSlots.hpp" #include "Core/Executor.hpp" constexpr const char* kFroxelIndirectArgs = "FroxelIndirectArgs"; constexpr const char* kLightIndexCounter = "lightIndexCounter"; constexpr const char* kActiveFroxelsCou...
53.961538
302
0.74188
990e91dfcbacdb744afa79e9d0ea86c0449d3536
17,620
cc
C++
third-party/webscalesqlclient/mysql-5.6/sql/item_jsonfunc.cc
hkirsman/hhvm_centos7_builds
2a1fd6de0d2d289c1575f43f10018f3bec23bb13
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
third-party/webscalesqlclient/mysql-5.6/sql/item_jsonfunc.cc
hkirsman/hhvm_centos7_builds
2a1fd6de0d2d289c1575f43f10018f3bec23bb13
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
third-party/webscalesqlclient/mysql-5.6/sql/item_jsonfunc.cc
hkirsman/hhvm_centos7_builds
2a1fd6de0d2d289c1575f43f10018f3bec23bb13
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
/* Copyright (c) 2014, Facebook. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it will be...
26.616314
80
0.62798
991079589d5147f94a6171c1143c3dd8af22f512
4,157
cpp
C++
environment/interpretation/obstacle_detector/src/ObstacleDetector.cpp
krishna95/freezing-batman
66f1ac7e73c65162f1593cf440c3363a9e4b1efb
[ "BSD-3-Clause" ]
null
null
null
environment/interpretation/obstacle_detector/src/ObstacleDetector.cpp
krishna95/freezing-batman
66f1ac7e73c65162f1593cf440c3363a9e4b1efb
[ "BSD-3-Clause" ]
null
null
null
environment/interpretation/obstacle_detector/src/ObstacleDetector.cpp
krishna95/freezing-batman
66f1ac7e73c65162f1593cf440c3363a9e4b1efb
[ "BSD-3-Clause" ]
null
null
null
#include "../include/ObstacleDetector.hpp" #include <climits> #include <cassert> void exit_with_help(){ std::cout<< "Usage: lane-detector [options]\n" "options:\n" "-d : Non-zero for debug\n" "-s : Subscriber topic name\n" "-p : Publisher topic name\n" "-l : Maximum distance we need \n" "-m : Min...
26.819355
106
0.566514
9915b7f000edc4973109b7ba5e2117c26dcbd15b
15,698
cpp
C++
world/Room.cpp
sg-p4x347/binding-of-ryesaac
f4b4b3e8f29c5fa2dda184691358605c41f539d5
[ "MIT" ]
null
null
null
world/Room.cpp
sg-p4x347/binding-of-ryesaac
f4b4b3e8f29c5fa2dda184691358605c41f539d5
[ "MIT" ]
6
2019-11-29T16:42:12.000Z
2019-12-08T07:03:23.000Z
world/Room.cpp
sg-p4x347/binding-of-ryesaac
f4b4b3e8f29c5fa2dda184691358605c41f539d5
[ "MIT" ]
null
null
null
#include "pch.h" #include "Room.h" #include "geom/ModelRepository.h" using geom::ModelRepository; #include "tex/TextureRepository.h" using tex::TextureRepository; #include "geom/CollisionUtil.h" #include "geom/Sphere.h" #include "game/Game.h" using game::Game; #include "game/MultimediaPlayer.h" using game::Multime...
31.270916
112
0.659511
9916b25ce105f4344fc80f98d780b27c0deb21f3
621
cpp
C++
packages/orchestrator/third_party/slt_setting/examples/00_hello_setting.cpp
cogment/cogment
55df705fce16942d396324dd733b4c60af729738
[ "Apache-2.0" ]
4
2020-08-03T20:07:41.000Z
2020-08-03T20:11:29.000Z
packages/orchestrator/third_party/slt_setting/examples/00_hello_setting.cpp
cogment/cogment
55df705fce16942d396324dd733b4c60af729738
[ "Apache-2.0" ]
null
null
null
packages/orchestrator/third_party/slt_setting/examples/00_hello_setting.cpp
cogment/cogment
55df705fce16942d396324dd733b4c60af729738
[ "Apache-2.0" ]
2
2021-02-20T02:42:10.000Z
2022-03-23T23:47:21.000Z
#include "slt/settings.h" #include "slt/settings_context.h" #include <string> slt::Setting ip_address = slt::Setting_builder<std::string>() .with_default("localhost") .with_description("The IP address to operate on") .with_arg("...
28.227273
79
0.550725
9919c30b52c598b849cfdd1c15db09b41bffaef6
1,317
cpp
C++
src/Misc/PKCS1.cpp
httese/OpenPGP
7dce08dc8b72eeb0dcbf3df56d64606a6b957938
[ "MIT" ]
99
2015-01-06T01:53:26.000Z
2022-01-31T18:18:27.000Z
src/Misc/PKCS1.cpp
httese/OpenPGP
7dce08dc8b72eeb0dcbf3df56d64606a6b957938
[ "MIT" ]
27
2015-03-09T05:46:53.000Z
2020-05-06T02:52:18.000Z
src/Misc/PKCS1.cpp
httese/OpenPGP
7dce08dc8b72eeb0dcbf3df56d64606a6b957938
[ "MIT" ]
42
2015-03-18T03:44:43.000Z
2022-03-31T21:34:06.000Z
#include "Misc/PKCS1.h" #include "Misc/pgptime.h" #include "RNG/RNGs.h" #include "common/includes.h" namespace OpenPGP { std::string EME_PKCS1v1_5_ENCODE(const std::string & m, const unsigned int & k) { if (m.size() > (k - 11)) { // "Error: EME-PKCS1 Message too long.\n"; return ""; } st...
28.021277
197
0.515566
991a1d83e9ae9220fd6908a25dc12d3db0a6c07f
1,009
cpp
C++
Warcraft Heroes Beyond Time/Warcraft Heroes Beyond Time/EnergyItem.cpp
SoftCactusTeam/Warcraft_Adventures
7b44294d44094ce690abe90348dd87f42cdae07d
[ "MIT" ]
9
2018-03-19T21:36:53.000Z
2020-02-28T07:05:17.000Z
Warcraft Heroes Beyond Time/Warcraft Heroes Beyond Time/EnergyItem.cpp
SoftCactusTeam/Warcraft-Heroes-Beyond-Time
7b44294d44094ce690abe90348dd87f42cdae07d
[ "MIT" ]
87
2018-03-04T15:04:57.000Z
2018-06-07T08:42:55.000Z
Warcraft Heroes Beyond Time/Warcraft Heroes Beyond Time/EnergyItem.cpp
SoftCactusTeam/Warcraft_Adventures
7b44294d44094ce690abe90348dd87f42cdae07d
[ "MIT" ]
2
2018-02-14T08:13:05.000Z
2018-02-16T19:17:57.000Z
#include "EnergyItem.h" #include "Scene.h" #include "Thrall.h" #include "Application.h" #include "ModuleRender.h" EnergyItem::EnergyItem() { } EnergyItem::~EnergyItem() { } bool EnergyItem::Start() { return true; } bool EnergyItem::Act(ModuleItems::ItemEvent event, float dt) { switch (event) { case ModuleIte...
19.037736
118
0.683845
991e8d7497ac0af4900c06138616500c5a5df0b2
297
hpp
C++
lib/systems/simulator/UdpMessageHandlerInterface.hpp
aep/qtsl
8710cbbf2405ad9147c399d1afea906a80b1fbac
[ "MIT" ]
null
null
null
lib/systems/simulator/UdpMessageHandlerInterface.hpp
aep/qtsl
8710cbbf2405ad9147c399d1afea906a80b1fbac
[ "MIT" ]
null
null
null
lib/systems/simulator/UdpMessageHandlerInterface.hpp
aep/qtsl
8710cbbf2405ad9147c399d1afea906a80b1fbac
[ "MIT" ]
null
null
null
#ifndef QTSL_UdpMessageHandlerInterface_H #define QTSL_UdpMessageHandlerInterface_H namespace qtsl{ namespace udp{ struct UdpMessage; }; class UdpMessageHandlerInterface{ public: virtual void udpMessageHandler(qtsl::udp::UdpMessage * message)=0; }; }; #endif
19.8
74
0.720539
9922a99b0238dfc09a07e514936e3b29593b130c
28,042
cpp
C++
src/hi/hicalendar.cpp
SC-One/HiCalendar
dfda3134dfbde0c7845c4c3e2d41635721511678
[ "MIT" ]
30
2020-10-30T13:01:10.000Z
2022-02-04T04:54:11.000Z
src/hi/hicalendar.cpp
Qt-QML/HiCalendar
a9e1f2fcd111f2d5c8eb1af705acef829584b102
[ "MIT" ]
null
null
null
src/hi/hicalendar.cpp
Qt-QML/HiCalendar
a9e1f2fcd111f2d5c8eb1af705acef829584b102
[ "MIT" ]
6
2020-10-31T09:38:13.000Z
2022-02-04T07:20:21.000Z
#include "include/hi/hicalendar.hpp" ////::::::::::::::::::::::::::::::::::::::::::: YearMonthDay YearMonthDay::YearMonthDay(int _Year, int _Month, int _Day, QObject *parent): QObject(parent),year(_Year),month(_Month),day(_Day) {} YearMonthDay::YearMonthDay(const YearMonthDay &other): QObject(other.parent())...
37.741588
954
0.61308
9927a78165656864eb420193b3dc3673c4a5bd6a
1,686
cpp
C++
source/raytracer/implementation/geometry/object/triangle.cpp
danielil/RayTracer
16682be15d31e9201acd66b4a12ae78c69fbc671
[ "MIT" ]
null
null
null
source/raytracer/implementation/geometry/object/triangle.cpp
danielil/RayTracer
16682be15d31e9201acd66b4a12ae78c69fbc671
[ "MIT" ]
null
null
null
source/raytracer/implementation/geometry/object/triangle.cpp
danielil/RayTracer
16682be15d31e9201acd66b4a12ae78c69fbc671
[ "MIT" ]
null
null
null
/** * The MIT License (MIT) * Copyright (c) 2017-2017 Daniel Sebastian Iliescu, http://dansil.net * * 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 witho...
32.423077
81
0.734282
992d5d130d63c83e1a52fe236d3ece50664a82e1
2,009
hpp
C++
include/scigl_render/scene/cv_camera.hpp
Tuebel/scigl_render
ec790d54ca4a14546348a5dd2f799d5abcc4bd36
[ "MIT" ]
null
null
null
include/scigl_render/scene/cv_camera.hpp
Tuebel/scigl_render
ec790d54ca4a14546348a5dd2f799d5abcc4bd36
[ "MIT" ]
null
null
null
include/scigl_render/scene/cv_camera.hpp
Tuebel/scigl_render
ec790d54ca4a14546348a5dd2f799d5abcc4bd36
[ "MIT" ]
null
null
null
#pragma once #include <gl3w/GL/gl3w.h> #include <scigl_render/shader/shader.hpp> #include <scigl_render/scene/camera_intrinsics.hpp> #include <scigl_render/scene/pose.hpp> #include <vector> namespace scigl_render { /*! A camera has a position in the world (extrinsics) and projection (intrinsic). The extrinsics and int...
28.7
79
0.752613
99322fd9da6141454cccef5308d5e23cc4ae3042
1,792
cpp
C++
test/query_builder_tests.cpp
Malibushko/yatgbotlib
a5109c36c9387aef0e6d15e303d2f3753eef9aac
[ "MIT" ]
3
2020-04-05T23:51:09.000Z
2020-08-14T07:24:45.000Z
test/query_builder_tests.cpp
Malibushko/yatgbotlib
a5109c36c9387aef0e6d15e303d2f3753eef9aac
[ "MIT" ]
1
2020-07-24T19:46:28.000Z
2020-07-31T14:49:28.000Z
test/query_builder_tests.cpp
Malibushko/yatgbotlib
a5109c36c9387aef0e6d15e303d2f3753eef9aac
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include "telegram_bot.h" using namespace telegram; TEST(QueryBuilder,builder_builtin) { QueryBuilder builder; int b = 5; int c = 6; bool d = false; builder << make_named_pair(b) << make_named_pair(c) << make_named_pair(d); std::string json = builder.getQuery(); std:...
28.903226
87
0.650112
9933976a01123be433ebac6aa2221ede3a33c9bd
25,960
cc
C++
dist/cpp/proto/services/request/topicSubscription.pb.cc
ate362/ubii-msg-formats
f96058dc1091886c47761fbba1a3033bcf180b4c
[ "BSD-3-Clause" ]
2
2021-01-29T12:49:01.000Z
2021-03-06T13:35:49.000Z
dist/cpp/proto/services/request/topicSubscription.pb.cc
ate362/ubii-msg-formats
f96058dc1091886c47761fbba1a3033bcf180b4c
[ "BSD-3-Clause" ]
null
null
null
dist/cpp/proto/services/request/topicSubscription.pb.cc
ate362/ubii-msg-formats
f96058dc1091886c47761fbba1a3033bcf180b4c
[ "BSD-3-Clause" ]
2
2021-05-14T14:06:33.000Z
2022-02-21T21:25:35.000Z
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: proto/services/request/topicSubscription.proto #include "proto/services/request/topicSubscription.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/port.h> #include <google/protobuf/io/coded_stre...
44.913495
181
0.729507
9934e3629c522f13fd76e73643c00baf3df398be
29,949
cpp
C++
cpp/apps/AeroCombat/temp/AeroSurf.cpp
ProkopHapala/SimpleSimulationEngine
240f9b7e85b3a6eda7a27dc15fe3f7b8c08774c5
[ "MIT" ]
26
2016-12-04T04:45:12.000Z
2022-03-24T09:39:28.000Z
cpp/apps/AeroCombat/temp/AeroSurf.cpp
ProkopHapala/SimpleSimulationEngine
240f9b7e85b3a6eda7a27dc15fe3f7b8c08774c5
[ "MIT" ]
null
null
null
cpp/apps/AeroCombat/temp/AeroSurf.cpp
ProkopHapala/SimpleSimulationEngine
240f9b7e85b3a6eda7a27dc15fe3f7b8c08774c5
[ "MIT" ]
2
2019-02-09T12:31:06.000Z
2019-04-28T02:24:50.000Z
//#include "rString.hpp" #include <math.h> #include "AeroSurf.hpp" #if _DEBUG_AEROSURF void drawWing(Vector3 pos, Matrix3 rot, float a, float AspectRatio ) { Matrix4 pose; pose.SetPosition(Vector3D(pos.X(), pos.Y(), pos.Z())); pose.SetOrientation(rot); renderer.DrawBox(Vector3D(0, 0, 0), Vector3(...
41.945378
232
0.593208
99356e10586396d15804cca3c0e4352d43ee44cf
450
cpp
C++
SHUFFLIN.cpp
Ayushi-Kosta/codechef-challenges
7adb8f93277fe4fd0f6ec9709503644e3688b0fe
[ "MIT" ]
2
2020-10-30T16:22:31.000Z
2021-10-06T14:30:07.000Z
SHUFFLIN.cpp
Ayushi-Kosta/codechef-challenges
7adb8f93277fe4fd0f6ec9709503644e3688b0fe
[ "MIT" ]
2
2021-10-08T19:49:53.000Z
2021-10-08T19:53:56.000Z
SHUFFLIN.cpp
Ayushi-Kosta/codechef-challenges
7adb8f93277fe4fd0f6ec9709503644e3688b0fe
[ "MIT" ]
9
2020-10-17T19:11:38.000Z
2021-10-19T01:55:18.000Z
#include<bits/stdc++.h> using namespace std; int main() { int t; cin>>t; int n; for(int i=0;i<t;i++) { cin>>n; int a[n]; int aodd=0; int aeven=0; int ieven,iodd; int ans; for(int j=1;j<=n;j++) { cin>>a[j]; if(a[j]%2==0) { aeven=aeven+1; } else { aodd=aodd+1; } } ...
11.25
46
0.486667
9937511dd96eb5f5b44d8fdf60832706774ce001
7,997
cc
C++
src/jumandic/shared/lattice_format.cc
HarukaMa/jumanpp
9e7ca75ecf79c596c86731f63e1e07a8b45076de
[ "Apache-2.0" ]
300
2016-10-19T02:20:39.000Z
2022-02-23T19:58:04.000Z
src/jumandic/shared/lattice_format.cc
HarukaMa/jumanpp
9e7ca75ecf79c596c86731f63e1e07a8b45076de
[ "Apache-2.0" ]
130
2016-10-17T07:57:14.000Z
2022-03-20T17:37:13.000Z
src/jumandic/shared/lattice_format.cc
HarukaMa/jumanpp
9e7ca75ecf79c596c86731f63e1e07a8b45076de
[ "Apache-2.0" ]
36
2016-10-19T11:47:05.000Z
2022-01-25T09:36:12.000Z
// // Created by Arseny Tolmachev on 2017/07/21. // #include "lattice_format.h" #include "core/analysis/analyzer_impl.h" #include "util/logging.hpp" namespace jumanpp { namespace jumandic { namespace output { Status LatticeFormatInfo::fillInfo(const core::analysis::Analyzer& an, i3...
28.663082
80
0.549706
9937f50614e6ba984a31acd400bde0a8bf8dc7e1
8,221
cpp
C++
ch06/6.exercise.10.cpp
0p3r4t4/PPPUCPP2nd
cf1bd23bb22ee00a77172e43678b7eaa91f592e0
[ "MIT" ]
51
2017-03-24T06:08:11.000Z
2022-03-18T00:28:14.000Z
ch06/6.exercise.10.cpp
0p3r4t4/PPPUCPP2nd
cf1bd23bb22ee00a77172e43678b7eaa91f592e0
[ "MIT" ]
1
2019-06-23T07:33:42.000Z
2019-12-12T13:14:04.000Z
ch06/6.exercise.10.cpp
0p3r4t4/PPPUCPP2nd
cf1bd23bb22ee00a77172e43678b7eaa91f592e0
[ "MIT" ]
25
2017-04-07T13:22:45.000Z
2022-03-18T00:28:15.000Z
// 6.exercise.10.cpp // // A permutation is an ordered subset of a set. For example, say you wanted to // pick a combination to a vault. There are 60 possible numbers, and you need // three different numbers for the combination. There are P(60,3) permutations // for the combination, where P is defined by the formula /...
33.971074
112
0.585452
993c39b4a2928028fd47a4e72fb468df81a7ecff
2,598
cpp
C++
Source/GUI/VintageToggleButton.cpp
grhn/gold-rush-filter
7b91dc5c44bc1acb46804638c357f8e240becdc3
[ "MIT" ]
1
2019-09-08T19:57:22.000Z
2019-09-08T19:57:22.000Z
Source/GUI/VintageToggleButton.cpp
grhn/gold-rush-filter
7b91dc5c44bc1acb46804638c357f8e240becdc3
[ "MIT" ]
null
null
null
Source/GUI/VintageToggleButton.cpp
grhn/gold-rush-filter
7b91dc5c44bc1acb46804638c357f8e240becdc3
[ "MIT" ]
null
null
null
// // VintageToggleButton.cpp // GoldRush // // Created by Tommi Gröhn on 26.10.2015. // // #include "VintageToggleButton.h" VintageToggleButton::VintageToggleButton (Colour baseColour, Colour switchColour) : baseColour (baseColour), switchColour (switchColour) { } void VintageToggleButton::setLabel (String s) { ...
32.475
136
0.469977
9945af9d2f759ea6e140d9addac71d3923741a56
1,534
cpp
C++
2011-codeforces-saratov-school-regional/d_three-sons.cpp
galenhwang/acm-problems
304e11a144c5589c6d9e493b05ad228f20619686
[ "MIT" ]
null
null
null
2011-codeforces-saratov-school-regional/d_three-sons.cpp
galenhwang/acm-problems
304e11a144c5589c6d9e493b05ad228f20619686
[ "MIT" ]
null
null
null
2011-codeforces-saratov-school-regional/d_three-sons.cpp
galenhwang/acm-problems
304e11a144c5589c6d9e493b05ad228f20619686
[ "MIT" ]
null
null
null
#include <stdio.h> #include <iostream> #include <algorithm> using namespace std; int get (int accumTotal[], int first, int last) { int permVal = accumTotal[last]; if (first > 0) permVal -= accumTotal[first-1]; return permVal; } int numWays(int len, int accumTotal[], int sons[]) { int val = 0;...
26.912281
88
0.483703
994640bbfd3c68da9bda39bdace3ff969b0a97f9
177,106
cc
C++
src/bin/dhcp4/dhcp4_lexer.cc
mcr/kea
7fbbfde2a0742a3d579d51ec94fc9b91687fb901
[ "Apache-2.0" ]
1
2019-08-10T21:52:58.000Z
2019-08-10T21:52:58.000Z
src/bin/dhcp4/dhcp4_lexer.cc
jxiaobin/kea
1987a50a458921f9e5ac84cb612782c07f3b601d
[ "Apache-2.0" ]
null
null
null
src/bin/dhcp4/dhcp4_lexer.cc
jxiaobin/kea
1987a50a458921f9e5ac84cb612782c07f3b601d
[ "Apache-2.0" ]
null
null
null
#line 1 "dhcp4_lexer.cc" #line 3 "dhcp4_lexer.cc" #define YY_INT_ALIGNED short int /* A lexical scanner generated by flex */ /* %not-for-header */ /* %if-c-only */ /* %if-not-reentrant */ #define yy_create_buffer parser4__create_buffer #define yy_delete_buffer parser4__delete_buffer #define yy_scan_buffer parser4_...
31.63172
102
0.591329
99498d75c3ba0878a454dc0cf2205c6eba578045
5,362
cpp
C++
thirdparty/qtiplot/qtiplot/src/matrix/MatrixSizeDialog.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
6
2018-09-05T12:41:59.000Z
2021-07-01T05:34:23.000Z
thirdparty/qtiplot/qtiplot/src/matrix/MatrixSizeDialog.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
2
2015-02-07T19:09:21.000Z
2015-08-14T03:15:42.000Z
thirdparty/qtiplot/qtiplot/src/matrix/MatrixSizeDialog.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
2
2015-03-25T15:50:31.000Z
2017-12-06T12:16:47.000Z
/*************************************************************************** File : MatrixSizeDialog.cpp Project : QtiPlot -------------------------------------------------------------------- Copyright : (C) 2004-2008 by Ion Vasilief Email (use @ for *) : ion...
39.426471
111
0.560425
9949a2dfaf008c365fbe6fbb12b10e581e36e2fb
4,382
cpp
C++
gui/widgets/knob.cpp
goossens/ObjectTalk
ca1d4f558b5ad2459b376102744d52c6283ec108
[ "MIT" ]
6
2021-11-12T15:03:53.000Z
2022-01-28T18:30:33.000Z
gui/widgets/knob.cpp
goossens/ObjectTalk
ca1d4f558b5ad2459b376102744d52c6283ec108
[ "MIT" ]
null
null
null
gui/widgets/knob.cpp
goossens/ObjectTalk
ca1d4f558b5ad2459b376102744d52c6283ec108
[ "MIT" ]
null
null
null
// ObjectTalk Scripting Language // Copyright (c) 1993-2022 Johan A. Goossens. All rights reserved. // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. // // Include files // #include "ot/function.h" #include "ot/vm.h" #include "knob.h" // // O...
21.586207
104
0.67298
994e733f0a3ca96b7a7c1ed762019b524d211c9f
1,206
cpp
C++
hardway/ex2.cpp
mgalushka/cpp-start
a7af1668291ffd1c1b606310714880dcbefb3ea5
[ "MIT" ]
null
null
null
hardway/ex2.cpp
mgalushka/cpp-start
a7af1668291ffd1c1b606310714880dcbefb3ea5
[ "MIT" ]
null
null
null
hardway/ex2.cpp
mgalushka/cpp-start
a7af1668291ffd1c1b606310714880dcbefb3ea5
[ "MIT" ]
null
null
null
#include <string> #include <iostream> #include <stdint.h> #include <stdlib.h> uint32_t* reverse_array(uint32_t length, uint32_t* input); void print_array(uint32_t length, uint32_t* input); int main(int argc, char* argv[]){ std::string str = "This is string"; std::cout << "Length(" << str << ") = " << str.len...
24.12
69
0.554726
995085d5b9ee461af1ed4d74528789e6d8bef94e
7,773
cpp
C++
Motor2D/j1Pathfinding.cpp
Gerard346/Game-Dev2019
3e927070ff2ba8b07de2dc4d56de63a6ffd4fb84
[ "MIT" ]
null
null
null
Motor2D/j1Pathfinding.cpp
Gerard346/Game-Dev2019
3e927070ff2ba8b07de2dc4d56de63a6ffd4fb84
[ "MIT" ]
null
null
null
Motor2D/j1Pathfinding.cpp
Gerard346/Game-Dev2019
3e927070ff2ba8b07de2dc4d56de63a6ffd4fb84
[ "MIT" ]
null
null
null
#include "p2Defs.h" #include "p2Log.h" #include "j1App.h" #include "j1Render.h" #include "j1Textures.h" #include "j1Pathfinding.h" #include "j1Map.h" #include <math.h> #include "j1Input.h" #include "j1Window.h" j1Pathfinding::j1Pathfinding() : j1Module() { name.create("pathfinding"); } // Destructor j1Pathfinding::~...
20.728
134
0.63206
9952033c3c777f60050880690f73804b8b7e1b0c
2,516
hpp
C++
dLoad.hpp
dyexlzc/CppdynamicLoad
14303e2929ecc26aa16ef7f0dad7cc2d71cb3077
[ "MIT" ]
null
null
null
dLoad.hpp
dyexlzc/CppdynamicLoad
14303e2929ecc26aa16ef7f0dad7cc2d71cb3077
[ "MIT" ]
null
null
null
dLoad.hpp
dyexlzc/CppdynamicLoad
14303e2929ecc26aa16ef7f0dad7cc2d71cb3077
[ "MIT" ]
null
null
null
#ifndef _DLOAD_HPP #define _DLOAD_HPP #include <unordered_map> #include <string> #include <dlfcn.h> //加载动态库所需要的头文件 #include "interface.h" class dynamicLoader { class SoWrapper //用来包装指针 { public: interface *(*getInstanceFunc)(void); void *soPtr; SoWrapper(interface *(*fptr)(void), vo...
32.675325
109
0.561208
995a2f2e82a3c4a6b2fb3ff3d69dd6af5d4cc8c4
4,865
cpp
C++
saber/lite/funcs/saber_deconv_act.cpp
Shixiaowei02/Anakin
f1ea086c5dfa1009ba15a64bc3e30cde07356360
[ "Apache-2.0" ]
1
2018-08-03T05:14:27.000Z
2018-08-03T05:14:27.000Z
saber/lite/funcs/saber_deconv_act.cpp
Shixiaowei02/Anakin
f1ea086c5dfa1009ba15a64bc3e30cde07356360
[ "Apache-2.0" ]
3
2018-06-22T09:08:44.000Z
2018-07-04T08:38:30.000Z
saber/lite/funcs/saber_deconv_act.cpp
Shixiaowei02/Anakin
f1ea086c5dfa1009ba15a64bc3e30cde07356360
[ "Apache-2.0" ]
1
2021-01-27T07:44:55.000Z
2021-01-27T07:44:55.000Z
#include "saber/lite/funcs/saber_deconv_act.h" #include "saber/lite/net/saber_factory_lite.h" namespace anakin{ namespace saber{ namespace lite{ SaberDeconvAct2D::SaberDeconvAct2D() { _conv_func = new SaberDeconv2D; } SaberDeconvAct2D::SaberDeconvAct2D(const ParamBase *param) { _conv_func = new SaberDeconv2D...
30.030864
107
0.619322
995c2f7a0f20072e7d8039748ef224a5e5949dba
4,993
hh
C++
src/net/REDQueue.hh
drexelwireless/dragonradio
885abd68d56af709e7a53737352641908005c45b
[ "MIT" ]
8
2020-12-05T20:30:54.000Z
2022-01-22T13:32:14.000Z
src/net/REDQueue.hh
drexelwireless/dragonradio
885abd68d56af709e7a53737352641908005c45b
[ "MIT" ]
3
2020-10-28T22:15:27.000Z
2021-01-27T14:43:41.000Z
src/net/REDQueue.hh
drexelwireless/dragonradio
885abd68d56af709e7a53737352641908005c45b
[ "MIT" ]
null
null
null
#ifndef REDQUEUE_HH_ #define REDQUEUE_HH_ #include <list> #include <random> #include "logging.hh" #include "Clock.hh" #include "net/Queue.hh" #include "net/SizedQueue.hh" /** @brief An Adaptive RED queue. */ /** See the paper Random Early Detection Gateways for Congestion Avoidance */ template <class T> class REDQue...
22.799087
105
0.530342
995d417fdaf7d5b02113724963860c36fb84b251
3,208
hpp
C++
test/matrix/blas/matsub.hpp
rigarash/monolish-debian-package
70b4917370184bcf07378e1907c5239a1ad9579b
[ "Apache-2.0" ]
172
2021-04-05T10:04:40.000Z
2022-03-28T14:30:38.000Z
test/matrix/blas/matsub.hpp
rigarash/monolish-debian-package
70b4917370184bcf07378e1907c5239a1ad9579b
[ "Apache-2.0" ]
96
2021-04-06T01:53:44.000Z
2022-03-09T07:27:09.000Z
test/matrix/blas/matsub.hpp
termoshtt/monolish
1cba60864002b55bc666da9baa0f8c2273578e01
[ "Apache-2.0" ]
8
2021-04-05T13:21:07.000Z
2022-03-09T23:24:06.000Z
#include "../../test_utils.hpp" template <typename T> void ans_matsub(const monolish::matrix::Dense<T> &A, const monolish::matrix::Dense<T> &B, monolish::matrix::Dense<T> &C) { if (A.get_row() != B.get_row()) { std::runtime_error("A.row != B.row"); } if (A.get_col() != B.get_...
25.259843
78
0.595387
996460e59d36a608dfaff28a701efe1942d69542
2,024
cpp
C++
deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgPlugins/ive/Viewport.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
3
2018-08-20T12:12:43.000Z
2021-06-06T09:43:27.000Z
deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgPlugins/ive/Viewport.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
null
null
null
deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgPlugins/ive/Viewport.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
1
2022-03-31T03:12:23.000Z
2022-03-31T03:12:23.000Z
/********************************************************************** * * FILE: Viewport.cpp * * DESCRIPTION: Read/Write osg::Viewport in binary format to disk. * * CREATED BY: Auto generated by iveGenerated * and later modified by Rune Schmidt Jensen. * * ...
31.625
102
0.552372
99655b5fe5c2657b64d3c464da1a2b152235abdb
33
hh
C++
include/trick/compat/sim_services/Message/include/MessageLCout.hh
gilbertguoze/trick
f0537efb0fa3cb5c0c84e36b60f055c1d1c60d21
[ "NASA-1.3" ]
647
2015-05-07T16:08:16.000Z
2022-03-30T02:33:21.000Z
include/trick/compat/sim_services/Message/include/MessageLCout.hh
gilbertguoze/trick
f0537efb0fa3cb5c0c84e36b60f055c1d1c60d21
[ "NASA-1.3" ]
995
2015-04-30T19:44:31.000Z
2022-03-31T20:14:44.000Z
include/trick/compat/sim_services/Message/include/MessageLCout.hh
gilbertguoze/trick
f0537efb0fa3cb5c0c84e36b60f055c1d1c60d21
[ "NASA-1.3" ]
251
2015-05-15T09:24:34.000Z
2022-03-22T20:39:05.000Z
#include "trick/MessageLCout.hh"
16.5
32
0.787879
9967ae213a368f4d7eca16535649ff73f8cce3ab
9,045
cxx
C++
HLT/EMCAL/AliHLTEMCALDigitMakerComponent.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
HLT/EMCAL/AliHLTEMCALDigitMakerComponent.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
HLT/EMCAL/AliHLTEMCALDigitMakerComponent.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
// $Id$ /************************************************************************** * This file is property of and copyright by the ALICE HLT Project * * All rights reserved. * * * * Prim...
28.443396
120
0.656385
99687f987cf282449c724d0facef62ce19ca5f27
27,930
cpp
C++
pxr/imaging/lib/hd/quadrangulate.cpp
marsupial/USD
98d49911893d59be5a9904a29e15959affd530ec
[ "BSD-3-Clause" ]
9
2021-03-31T21:23:48.000Z
2022-03-05T09:29:27.000Z
pxr/imaging/lib/hd/quadrangulate.cpp
unity3d-jp/USD
0f146383613e1efe872ea7c85aa3536f170fcda2
[ "BSD-3-Clause" ]
null
null
null
pxr/imaging/lib/hd/quadrangulate.cpp
unity3d-jp/USD
0f146383613e1efe872ea7c85aa3536f170fcda2
[ "BSD-3-Clause" ]
2
2016-12-13T00:53:40.000Z
2020-05-04T07:32:53.000Z
// // Copyright 2016 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is deleted and replaced with: // // 6. Trad...
32.401392
87
0.608127
99729080b278e38abd0603ace3e6b2327a716b4e
249
cpp
C++
Leetcode Problems/26.Remove_Duplicates_from_Sorted_Array.cpp
rishusingh022/My-Journey-of-Data-Structures-and-Algorithms
28a70fdf10366fc97ddb9f6a69852b3478b564e6
[ "MIT" ]
1
2021-01-13T07:20:57.000Z
2021-01-13T07:20:57.000Z
Leetcode Problems/26.Remove_Duplicates_from_Sorted_Array.cpp
rishusingh022/My-Journey-of-Data-Structures-and-Algorithms
28a70fdf10366fc97ddb9f6a69852b3478b564e6
[ "MIT" ]
1
2021-10-01T18:26:34.000Z
2021-10-01T18:26:34.000Z
Leetcode Problems/26.Remove_Duplicates_from_Sorted_Array.cpp
rishusingh022/My-Journey-of-Data-Structures-and-Algorithms
28a70fdf10366fc97ddb9f6a69852b3478b564e6
[ "MIT" ]
7
2021-10-01T16:07:29.000Z
2021-10-04T13:23:48.000Z
class Solution { public: int removeDuplicates(vector<int>& nums) { vector<int>::iterator ip; ip = std::unique(nums.begin(), nums.end()); nums.resize(std::distance(nums.begin(), ip)); return nums.size(); } };
27.666667
53
0.574297
99753e1401a617d5b2566b133eedd37307d7b558
345
cpp
C++
sdk/src/frame_operations.cpp
andreeasandulescu/aditof_sdk
c554aacc610f9086636b2742266726123989c4fd
[ "BSD-3-Clause" ]
null
null
null
sdk/src/frame_operations.cpp
andreeasandulescu/aditof_sdk
c554aacc610f9086636b2742266726123989c4fd
[ "BSD-3-Clause" ]
null
null
null
sdk/src/frame_operations.cpp
andreeasandulescu/aditof_sdk
c554aacc610f9086636b2742266726123989c4fd
[ "BSD-3-Clause" ]
null
null
null
#include <aditof/frame_operations.h> namespace aditof { bool operator==(const FrameDetails &lhs, const FrameDetails &rhs) { return lhs.type == rhs.type && lhs.width == rhs.width && lhs.width && rhs.height; } bool operator!=(const FrameDetails &lhs, const FrameDetails &rhs) { return !(lhs == rhs); ...
23
73
0.663768
9978b390491df18d645dde376bb564e507571ed5
201
hpp
C++
engine/engine.hpp
davidscholberg/opengl-es-test
9792d6d6f4f01fb91a8ec59ecf0fd02cd019db79
[ "BSD-2-Clause" ]
null
null
null
engine/engine.hpp
davidscholberg/opengl-es-test
9792d6d6f4f01fb91a8ec59ecf0fd02cd019db79
[ "BSD-2-Clause" ]
null
null
null
engine/engine.hpp
davidscholberg/opengl-es-test
9792d6d6f4f01fb91a8ec59ecf0fd02cd019db79
[ "BSD-2-Clause" ]
null
null
null
#ifndef ENGINE_HPP_ #define ENGINE_HPP_ class engine { public: engine(); engine(engine const &) = delete; ~engine(); void operator=(engine const &) = delete; }; #endif // ENGINE_HPP_
15.461538
44
0.651741
5f53ae65b626f3f81e712d5ccfec67ede8b34bb3
6,275
cpp
C++
ECS/Project/Project/Renderers/RendererModules/DPassLightingModule/DPassLightingModule.cpp
AshwinKumarVijay/SceneECS
2acc115d5e7738ef9bf087c025e5e5a10cac3443
[ "MIT" ]
2
2017-01-30T23:38:49.000Z
2017-09-08T09:34:37.000Z
ECS/Project/Project/Renderers/RendererModules/DPassLightingModule/DPassLightingModule.cpp
AshwinKumarVijay/SceneECS
2acc115d5e7738ef9bf087c025e5e5a10cac3443
[ "MIT" ]
null
null
null
ECS/Project/Project/Renderers/RendererModules/DPassLightingModule/DPassLightingModule.cpp
AshwinKumarVijay/SceneECS
2acc115d5e7738ef9bf087c025e5e5a10cac3443
[ "MIT" ]
null
null
null
#include "DPassLightingModule.h" #include "../Renderers/ModuleRenderer/ModuleRenderer.h" #include "../GBufferModule/GBufferModule.h" #include "../LightsModule/LightsModule.h" #include "../../../Camera/Camera.h" #include "../../RendererResourceManagers/RendererShaderManager/RendererShaderData/RendererShaderData.h" /...
45.80292
471
0.821514
5f54235200ec8d97ec06dea28849d76f39f3f2f0
894
cpp
C++
Week00/Kruskal.cpp
princesinghtomar/Competitive-Programming
a0df818dfa56267fdde59bd1862d0b78f6e069c4
[ "MIT" ]
3
2020-11-11T13:45:40.000Z
2021-07-20T11:53:34.000Z
Week00/Kruskal.cpp
princesinghtomar/Competitive-Programming
a0df818dfa56267fdde59bd1862d0b78f6e069c4
[ "MIT" ]
11
2020-10-03T14:26:35.000Z
2021-10-30T15:26:40.000Z
Week00/Kruskal.cpp
princesinghtomar/Competitive-Programming
a0df818dfa56267fdde59bd1862d0b78f6e069c4
[ "MIT" ]
12
2020-05-12T08:39:54.000Z
2021-10-30T14:56:27.000Z
#include<iostream> #include<utility> #include<vector> #include<algorithm> using namespace std; vector<pair<long long int,pair<long long int,long long int>>> v; long long int P[1000006],S[1000006]; long long int dsu(long long int x,long long int y) { long long int i,j; i=x; while(i!=P[i]) { P[i]=P[P[i]]; i=P[i...
11.461538
64
0.517897
5f55451154271c6f2ddcb48dab20ed261f716b75
12,889
cpp
C++
src/ndnSIM/NFD/tests/daemon/mgmt/command-authenticator.t.cpp
NDNLink/NDN-Chord
cfabf8f56eea2c4ba47052ce145a939ebdc21e57
[ "MIT" ]
1
2021-09-07T04:12:15.000Z
2021-09-07T04:12:15.000Z
src/ndnSIM/NFD/tests/daemon/mgmt/command-authenticator.t.cpp
NDNLink/NDN-Chord
cfabf8f56eea2c4ba47052ce145a939ebdc21e57
[ "MIT" ]
null
null
null
src/ndnSIM/NFD/tests/daemon/mgmt/command-authenticator.t.cpp
NDNLink/NDN-Chord
cfabf8f56eea2c4ba47052ce145a939ebdc21e57
[ "MIT" ]
1
2020-07-15T06:21:03.000Z
2020-07-15T06:21:03.000Z
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014-2018, Regents of the University of California, * Arizona Board of Regents, * Colorado State University, * University Pierre & Marie Curie, Sorbonne...
27.134737
109
0.66708
5f5592726c03618955fb5f662a83cf8ca5b042a6
343
cpp
C++
Source/TextureBaker/Private/TextureBakerCommands.cpp
WhiteWh/UE4TextureBaker
976decb8a895bb7aa8c4dad17e857b25a7a753ce
[ "MIT" ]
7
2021-05-04T10:33:36.000Z
2022-02-02T20:06:21.000Z
Source/TextureBaker/Private/TextureBakerCommands.cpp
WhiteWh/UE4TextureBaker
976decb8a895bb7aa8c4dad17e857b25a7a753ce
[ "MIT" ]
null
null
null
Source/TextureBaker/Private/TextureBakerCommands.cpp
WhiteWh/UE4TextureBaker
976decb8a895bb7aa8c4dad17e857b25a7a753ce
[ "MIT" ]
null
null
null
// Copyright Epic Games, Inc. All Rights Reserved. #include "TextureBakerCommands.h" #define LOCTEXT_NAMESPACE "FTextureBakerModule" void FTextureBakerCommands::RegisterCommands() { UI_COMMAND(OpenPluginWindow, "TextureBaker", "Bring up TextureBaker window", EUserInterfaceActionType::Button, FInputGesture()); } #u...
26.384615
129
0.80758
5f58e8a2a07d36c37ebe2d543e363510648bc238
3,934
cc
C++
src/imageprocessing/contour.cc
SanczoPL/gt-annotate
b760d0dc3f91ce5748190b95468e2e54bee76b2a
[ "MIT" ]
null
null
null
src/imageprocessing/contour.cc
SanczoPL/gt-annotate
b760d0dc3f91ce5748190b95468e2e54bee76b2a
[ "MIT" ]
null
null
null
src/imageprocessing/contour.cc
SanczoPL/gt-annotate
b760d0dc3f91ce5748190b95468e2e54bee76b2a
[ "MIT" ]
null
null
null
#include "imageprocessing/contour.h" #include <QJsonObject> #include <QJsonArray> #include <QFile> #include <QJsonDocument> #include <QDebug> #include <QRectF> #include <QString> //#define DEBUG constexpr auto NAME{ "Name" }; constexpr auto WIDTH{ "Width" }; constexpr auto HEIGHT{ "Height" }; constexpr auto X{ "X" }...
26.402685
113
0.684291
5f591ef1df93a565bdf87b4967e0b3b6c6cc98ce
4,793
cpp
C++
teleconf.cpp
boochow/teleconf
c90b04c0daf786870709d218f4c29848d16ecace
[ "MIT" ]
3
2020-08-01T17:46:06.000Z
2021-04-09T17:24:53.000Z
teleconf.cpp
boochow/teleconf
c90b04c0daf786870709d218f4c29848d16ecace
[ "MIT" ]
null
null
null
teleconf.cpp
boochow/teleconf
c90b04c0daf786870709d218f4c29848d16ecace
[ "MIT" ]
null
null
null
/* * File: teleconf.cpp */ #include "usermodfx.h" #include "biquad.hpp" #define SUBTIMBRE 0 // filter parameters #define LPF_FC 3000.f #define HPF_FC 300.f #define LPF_Q 0.707f // filters before downsampling static dsp::BiQuad s_bq_lpf_r; static dsp::BiQuad s_bq_hpf_r; static dsp::BiQuad s_bq_lpf_l; static dsp:...
24.207071
75
0.666388
5f5a5fbfa7cbb3aced2ba754aa5d9ce4ac21bef0
2,564
cxx
C++
main/sw/source/core/docnode/retrieveinputstreamconsumer.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sw/source/core/docnode/retrieveinputstreamconsumer.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sw/source/core/docnode/retrieveinputstreamconsumer.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
37.15942
85
0.692668
5f5eb07b5c05bac6798a9ad1e9b96ccb07a1ece8
1,390
cpp
C++
TouchGFX/generated/fonts/src/Table_Asap_Bold_12_4bpp.cpp
koson/car-dash
7be8f02a243d43b4fd9fd33b0a160faa5901f747
[ "MIT" ]
null
null
null
TouchGFX/generated/fonts/src/Table_Asap_Bold_12_4bpp.cpp
koson/car-dash
7be8f02a243d43b4fd9fd33b0a160faa5901f747
[ "MIT" ]
null
null
null
TouchGFX/generated/fonts/src/Table_Asap_Bold_12_4bpp.cpp
koson/car-dash
7be8f02a243d43b4fd9fd33b0a160faa5901f747
[ "MIT" ]
null
null
null
// Autogenerated, do not edit #include <fonts/GeneratedFont.hpp> FONT_TABLE_LOCATION_FLASH_PRAGMA KEEP extern const touchgfx::GlyphNode glyphs_Asap_Bold_12_4bpp[] FONT_TABLE_LOCATION_FLASH_ATTRIBUTE = { { 0, 0x0031, 6, 9, 9, 0, 6, 0, 0, 0x00 }, { 27, 0x0032, 6, 9, 9, 0, 6, 0, ...
39.714286
166
0.605036
5f63f37831fc89994b6c70e806053b00a494acc9
191
cpp
C++
willis_game_framework/WGF/InputListener.cpp
mrwonko/ancient
fcee7c5f55ad5cdf16fe2dc4560cd34785b7bb01
[ "MIT" ]
null
null
null
willis_game_framework/WGF/InputListener.cpp
mrwonko/ancient
fcee7c5f55ad5cdf16fe2dc4560cd34785b7bb01
[ "MIT" ]
null
null
null
willis_game_framework/WGF/InputListener.cpp
mrwonko/ancient
fcee7c5f55ad5cdf16fe2dc4560cd34785b7bb01
[ "MIT" ]
null
null
null
#include "InputListener.h" namespace WGF { InputListener::InputListener() { //ctor } InputListener::~InputListener() { //dtor } } // namespace WGF
11.235294
35
0.549738
5f68e65393a05b2daa346d882f09e8eb4c063733
287
cpp
C++
LibreOJ/loj10230.cpp
wzl19371/OI-LIfe
f7f54542d1369b5e4047fcbb2e26c1c64d22ee26
[ "MIT" ]
1
2020-10-05T02:07:52.000Z
2020-10-05T02:07:52.000Z
LibreOJ/loj10230.cpp
wzl19371/OI-LIfe
f7f54542d1369b5e4047fcbb2e26c1c64d22ee26
[ "MIT" ]
null
null
null
LibreOJ/loj10230.cpp
wzl19371/OI-LIfe
f7f54542d1369b5e4047fcbb2e26c1c64d22ee26
[ "MIT" ]
null
null
null
#include <cstdio> using namespace std; typedef long long ll; const int p=5000011; const int maxn=1e5+10; int n,k; ll f[maxn]; int main(){ scanf("%d%d",&n,&k); for(int i=0;i<=k;i++) f[i]=(i+1)%p; for(int i=k+1;i<=n;i++) f[i]=(f[i-1]+f[i-k-1])%p; printf("%lld\n",f[n]); }
20.5
51
0.550523
5f68f140cbe176c4d78210070f227d661d99bfe4
7,405
cc
C++
third_party/perfetto/src/ftrace_reader/ftrace_procfs.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
third_party/perfetto/src/ftrace_reader/ftrace_procfs.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
third_party/perfetto/src/ftrace_reader/ftrace_procfs.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
/* * 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...
29.039216
79
0.674139
5f6cbdca6a051b4956ce42dd94703eb78799ff86
1,465
cpp
C++
Libs/Common/Region.cpp
ajensen1234/ShapeWorks
fb308c8c38ad0e00c7f62aa7221e00e72140d909
[ "MIT" ]
40
2019-07-26T18:02:13.000Z
2022-03-28T07:24:23.000Z
Libs/Common/Region.cpp
ajensen1234/ShapeWorks
fb308c8c38ad0e00c7f62aa7221e00e72140d909
[ "MIT" ]
1,359
2019-06-20T17:17:53.000Z
2022-03-31T05:42:29.000Z
Libs/Common/Region.cpp
ajensen1234/ShapeWorks
fb308c8c38ad0e00c7f62aa7221e00e72140d909
[ "MIT" ]
13
2019-12-06T01:31:48.000Z
2022-02-24T04:34:23.000Z
#include "Region.h" namespace shapeworks { IndexRegion& IndexRegion::pad(int padding) { for (auto i = 0; i < 3; i++) { min[i] -= padding; max[i] += padding; } return *this; } std::ostream &operator<<(std::ostream &os, const IndexRegion &r) { return os << "{\n\tmin: [" << r.min[0] << ", " << r.min[1] << "...
20.347222
91
0.527645
5f6d12b7ee7528691a2fa8ea09a2c9ab14dac0cd
5,815
cc
C++
parsers/gumbo_url_filter_test.cc
google/plusfish
a56ac07ca132613ecda7f252a69312ada66bbbca
[ "Apache-2.0" ]
14
2020-10-16T18:33:37.000Z
2022-03-27T18:29:00.000Z
parsers/gumbo_url_filter_test.cc
qause/plusfish
a56ac07ca132613ecda7f252a69312ada66bbbca
[ "Apache-2.0" ]
2
2021-03-18T11:19:59.000Z
2021-04-26T12:27:33.000Z
parsers/gumbo_url_filter_test.cc
qause/plusfish
a56ac07ca132613ecda7f252a69312ada66bbbca
[ "Apache-2.0" ]
5
2021-06-29T10:51:04.000Z
2022-01-09T05:18:16.000Z
// Copyright 2020 Google LLC. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
32.853107
79
0.693895
5f71afccb2722ea46e95da751a1150f0d225eec0
1,870
hpp
C++
Sources/etwprof/OS/Stream/OStreamManipulators.hpp
Donpedro13/etwprof
a9db371ef556d564529c5112c231157d3789292b
[ "MIT" ]
38
2018-06-11T19:09:16.000Z
2022-03-17T04:15:15.000Z
Sources/etwprof/OS/Stream/OStreamManipulators.hpp
killvxk/etwprof
37ca044b5dd6be39dbd77ba7653395aa95768692
[ "MIT" ]
12
2018-06-12T20:24:05.000Z
2021-07-31T18:28:48.000Z
Sources/etwprof/OS/Stream/OStreamManipulators.hpp
killvxk/etwprof
37ca044b5dd6be39dbd77ba7653395aa95768692
[ "MIT" ]
5
2019-02-23T04:11:03.000Z
2022-03-17T04:15:18.000Z
#ifndef ETWP_OSTREAM_MANIPULATORS_HPP #define ETWP_OSTREAM_MANIPULATORS_HPP namespace ETWP { class ConsoleOStream; using OStreamManipulator = void (*)(ConsoleOStream*); void Endl (ConsoleOStream* stream); void ColorReset (ConsoleOStream* stream); void FgColorReset (ConsoleOStream* stream); void FgColorBlack (Cons...
35.961538
53
0.818182
5f769c53c564d2e8ab345db842a6e9f09e0a9cf4
115
cpp
C++
docs/mfc/reference/codesnippet/CPP/application-information-and-management_1.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
965
2017-06-25T23:57:11.000Z
2022-03-31T14:17:32.000Z
docs/mfc/reference/codesnippet/CPP/application-information-and-management_1.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
3,272
2017-06-24T00:26:34.000Z
2022-03-31T22:14:07.000Z
docs/mfc/reference/codesnippet/CPP/application-information-and-management_1.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
951
2017-06-25T12:36:14.000Z
2022-03-26T22:49:06.000Z
// Print the application's executable filename. TRACE(_T("Executable filename = %s\n"), AfxGetApp()->m_pszExeName);
57.5
67
0.747826
5f77a8ba5661c148146681589a80917d88931e12
4,833
cpp
C++
utils/swc_to_nlxml.cpp
Twinklebear/nlxml
2044a89c8b0b1d69c7762dc48406770f4b7c9834
[ "MIT" ]
null
null
null
utils/swc_to_nlxml.cpp
Twinklebear/nlxml
2044a89c8b0b1d69c7762dc48406770f4b7c9834
[ "MIT" ]
1
2019-03-18T00:37:08.000Z
2019-03-18T21:45:35.000Z
utils/swc_to_nlxml.cpp
Twinklebear/nlxml
2044a89c8b0b1d69c7762dc48406770f4b7c9834
[ "MIT" ]
null
null
null
#include <iostream> #include <set> #include <map> #include <iterator> #include <vector> #include <sstream> #include <fstream> #include <algorithm> #include <vector> #include <algorithm> #include <glm/glm.hpp> #include <glm/ext.hpp> #include "nlxml.h" using namespace nlxml; /* Read the SWC file (http://research.mssm.e...
25.303665
84
0.634802
5f7a9c797738783fd2ab6b6edf2c15f5c2023d2b
588
hpp
C++
src/moistureMeasurement.hpp
umiko/MoistureMeter
89b617e57bf5934ccd4d0fdfa2eda12c4385edf1
[ "MIT" ]
null
null
null
src/moistureMeasurement.hpp
umiko/MoistureMeter
89b617e57bf5934ccd4d0fdfa2eda12c4385edf1
[ "MIT" ]
null
null
null
src/moistureMeasurement.hpp
umiko/MoistureMeter
89b617e57bf5934ccd4d0fdfa2eda12c4385edf1
[ "MIT" ]
null
null
null
//AUTHOR: //umiko(https://github.com/umiko) //Permission to copy and modify is granted under the MIT license // //DESCRIPTION: //A struct to save the last measurement taken, so it can be supplied at a later time again #ifndef MOISTUREMEASUREMENT_CPP #define MOISTUREMEASUREMENT_CPP #include <Arduino.h> class moistureMe...
23.52
90
0.765306
5f7e054f3218e19556c3b55237df7d837d96e2e5
29,442
cpp
C++
src/main.cpp
greggubben/headControl
e280cd04fdd5bd5be5e88fa380cba2efcad2e54f
[ "MIT" ]
null
null
null
src/main.cpp
greggubben/headControl
e280cd04fdd5bd5be5e88fa380cba2efcad2e54f
[ "MIT" ]
null
null
null
src/main.cpp
greggubben/headControl
e280cd04fdd5bd5be5e88fa380cba2efcad2e54f
[ "MIT" ]
null
null
null
#include <Arduino.h> // On Air Display control // Light up the On Air sign using a strip of 10 WS2812s // Button controls if sign is on or off // Webpage also available to control sign #include <SPIFFS.h> #include <WiFi.h> #include <WiFiManager.h> // For managing the Wifi Connection #include <ESPmDNS.h> ...
29.860041
177
0.649786
5f81a2abcc92a1c85e45e4f6f0eef014ce0282ea
141
hh
C++
host/device-reference.hh
free-audio/clap-host
4602d26b91a526ac80933bdc9f6fcafdf2423bbf
[ "MIT" ]
24
2021-12-01T13:36:25.000Z
2022-03-17T10:12:29.000Z
host/device-reference.hh
free-audio/clap-host
4602d26b91a526ac80933bdc9f6fcafdf2423bbf
[ "MIT" ]
9
2021-11-02T14:39:54.000Z
2022-03-19T11:04:54.000Z
host/device-reference.hh
free-audio/clap-host
4602d26b91a526ac80933bdc9f6fcafdf2423bbf
[ "MIT" ]
4
2021-11-02T09:01:50.000Z
2022-02-04T20:00:35.000Z
#pragma once #include <QString> struct DeviceReference { QString _api = "(none)"; QString _name = "(noname)"; int _index = 0; };
14.1
30
0.624113
5f81c6c8c4ea9f912d51ed641b32741f6feecb1c
2,784
hpp
C++
accumulate.hpp
dean985/itertools
842715b5fe7db5c74f65da642aa06ae365bb68c2
[ "MIT" ]
null
null
null
accumulate.hpp
dean985/itertools
842715b5fe7db5c74f65da642aa06ae365bb68c2
[ "MIT" ]
2
2020-06-18T11:35:37.000Z
2020-06-18T11:35:45.000Z
accumulate.hpp
dean985/itertools
842715b5fe7db5c74f65da642aa06ae365bb68c2
[ "MIT" ]
null
null
null
#pragma once #include <iostream> namespace itertools { typedef struct { template <typename T> T operator()(T a, T b) { return a + b; } } add; template <typename Container,typename Ftor = add> class accumulate { Ftor _fnctor = [](in...
27.029126
91
0.431753
5f83b93ffc743d1c6cb8c993a3e37548387c905c
5,903
cpp
C++
source/octree/linear-octree.cpp
triplu-zero/monte-carlo-ray-tracer
8b36d5154204fc67e13376ad15b8bac33065c2d1
[ "MIT" ]
149
2020-03-06T00:39:43.000Z
2022-03-31T07:28:36.000Z
source/octree/linear-octree.cpp
triplu-zero/monte-carlo-ray-tracer
8b36d5154204fc67e13376ad15b8bac33065c2d1
[ "MIT" ]
4
2020-07-27T15:33:09.000Z
2022-02-24T11:34:40.000Z
source/octree/linear-octree.cpp
triplu-zero/monte-carlo-ray-tracer
8b36d5154204fc67e13376ad15b8bac33065c2d1
[ "MIT" ]
17
2020-03-23T16:05:36.000Z
2022-02-21T02:38:31.000Z
#include "linear-octree.hpp" #include <glm/gtx/norm.hpp> #include "../common/constexpr-math.hpp" #include "../common/util.hpp" template <class Data> LinearOctree<Data>::LinearOctree(Octree<Data> &octree_root) { size_t octree_size = 0, data_size = 0; octreeSize(octree_root, octree_size, data_size); if (o...
31.566845
154
0.580891
5f84f5c1e5e2bacec64ab1c2ad6891b75f2c5ec7
3,397
cpp
C++
source/LinearizedImplicitEuler.cpp
sergeneren/BubbleH
e018e5a008e101221a4f8a3bbb25e7ec03fc9662
[ "BSD-3-Clause-Clear" ]
52
2019-10-06T17:25:39.000Z
2022-01-20T23:01:13.000Z
source/LinearizedImplicitEuler.cpp
sergeneren/BubbleH
e018e5a008e101221a4f8a3bbb25e7ec03fc9662
[ "BSD-3-Clause-Clear" ]
1
2019-10-08T18:44:41.000Z
2019-10-09T07:48:31.000Z
source/LinearizedImplicitEuler.cpp
sergeneren/BubbleH
e018e5a008e101221a4f8a3bbb25e7ec03fc9662
[ "BSD-3-Clause-Clear" ]
10
2019-10-07T16:33:24.000Z
2020-10-21T01:09:47.000Z
#include "LinearizedImplicitEuler.h" #include "VS3D.h" // TODO: Save space by creating dx, dv, rhs, A only once. LinearizedImplicitEuler::LinearizedImplicitEuler() : SceneStepper() {} LinearizedImplicitEuler::~LinearizedImplicitEuler() {} bool LinearizedImplicitEuler::stepScene( VS3D& scene, scalar dt ) { const...
28.308333
149
0.600236
5f86049f22b9d449118b81ec1a272d8b8a360ade
1,433
cpp
C++
android-30/java/util/logging/ErrorManager.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/java/util/logging/ErrorManager.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/java/util/logging/ErrorManager.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../lang/Exception.hpp" #include "../../../JString.hpp" #include "./ErrorManager.hpp" namespace java::util::logging { // Fields jint ErrorManager::CLOSE_FAILURE() { return getStaticField<jint>( "java.util.logging.ErrorManager", "CLOSE_FAILURE" ); } jint ErrorManager::FLUSH_FAILURE() { ret...
19.364865
84
0.677599
5f87173eaafc62afd8454c1067053ee3c35ec14e
759
hpp
C++
cpp/src/vcf/reader.hpp
dylex/wecall
35d24cefa4fba549e737cd99329ae1b17dd0156b
[ "MIT" ]
8
2018-10-08T15:47:21.000Z
2021-11-09T07:13:05.000Z
cpp/src/vcf/reader.hpp
dylex/wecall
35d24cefa4fba549e737cd99329ae1b17dd0156b
[ "MIT" ]
4
2018-11-05T09:16:27.000Z
2020-04-09T12:32:56.000Z
cpp/src/vcf/reader.hpp
dylex/wecall
35d24cefa4fba549e737cd99329ae1b17dd0156b
[ "MIT" ]
4
2019-09-03T15:46:39.000Z
2021-06-04T07:28:33.000Z
// All content Copyright (C) 2018 Genomics plc #ifndef VCF_READER_HPP #define VCF_READER_HPP #include <utils/logging.hpp> #include <fstream> #include <boost/optional/optional.hpp> #include <map> #include <set> #include "vcf/filterDescription.hpp" #include "vcf/record.hpp" #include "utils/timer.hpp" struct shouldPar...
22.323529
70
0.806324
5f87d676b4c228f3da68f6dd69d9f0811cf23a07
18,446
cpp
C++
DotnetLibraryTests/StringTests.cpp
lambertlb/CppTranslator
8d9e94f01a0eb099c224fbd9720a0d060a49bda9
[ "MIT" ]
null
null
null
DotnetLibraryTests/StringTests.cpp
lambertlb/CppTranslator
8d9e94f01a0eb099c224fbd9720a0d060a49bda9
[ "MIT" ]
null
null
null
DotnetLibraryTests/StringTests.cpp
lambertlb/CppTranslator
8d9e94f01a0eb099c224fbd9720a0d060a49bda9
[ "MIT" ]
null
null
null
// Copyright (c) 2019 LLambert // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, copy, modify, merge, // publish, dist...
32.763766
94
0.702862
5f8c4c298e5aaebad3601c5603119c24986e3bb0
1,364
cpp
C++
src/config/LaserConfig.cpp
isaiah-v/rgb-laser-controller
641da5ceab3500432d5cba2cc6789fa635803494
[ "Apache-2.0" ]
null
null
null
src/config/LaserConfig.cpp
isaiah-v/rgb-laser-controller
641da5ceab3500432d5cba2cc6789fa635803494
[ "Apache-2.0" ]
null
null
null
src/config/LaserConfig.cpp
isaiah-v/rgb-laser-controller
641da5ceab3500432d5cba2cc6789fa635803494
[ "Apache-2.0" ]
null
null
null
#include <Arduino.h> #include <config/LaserConfig.h> Pwm pwm = Pwm(PWM_DEFAULT_PERIOD); PwmController pwmController = PwmController( &pwm, PWM_PIN_RED, PWM_PIN_GREEN, PWM_PIN_BLUE); PwmTimerPotentiometerCallback timerPotentiometerCallback = PwmTimerPotentiometerCallback(PWM_PERIOD_MIN, PWM_PERIOD_MAX,...
34.974359
127
0.82478
5f9546f9a266b3fce0de657ba183711f056e1543
1,336
cpp
C++
Contributor Corner/Mercy/print bracket number/bracket.cpp
hitu1304/interview-corner
97503d1967c646f731275ae3665f142814c6a9d7
[ "MIT" ]
39
2020-11-01T13:58:48.000Z
2021-02-12T08:39:37.000Z
Contributor Corner/Mercy/print bracket number/bracket.cpp
hitu1304/interview-corner
97503d1967c646f731275ae3665f142814c6a9d7
[ "MIT" ]
86
2020-09-25T07:20:40.000Z
2021-02-18T20:36:29.000Z
Contributor Corner/Mercy/print bracket number/bracket.cpp
hitu1304/interview-corner
97503d1967c646f731275ae3665f142814c6a9d7
[ "MIT" ]
43
2020-12-18T03:32:42.000Z
2021-02-19T18:08:19.000Z
#include <bits/stdc++.h> using namespace std; // function to print the bracket number void printBracketNumber(string exp, int n) { // used to print the bracket number // for the left bracket int left_bnum = 1; // used to obtain the bracket number // for the right bracket ...
24.740741
60
0.480539
5f956e05336a89eced57b8c577ffb2ab3f908107
269
cpp
C++
DirectXSceneStore/MoveLookControllerKinect.cpp
SBarber95/tutorial
19021ff50e0b42dced87298c8ca4cd6f6540592f
[ "MIT" ]
181
2015-03-25T20:03:04.000Z
2022-01-22T01:06:25.000Z
DirectXSceneStore/MoveLookControllerKinect.cpp
SBarber95/tutorial
19021ff50e0b42dced87298c8ca4cd6f6540592f
[ "MIT" ]
49
2015-03-26T12:41:42.000Z
2022-01-19T19:00:42.000Z
DirectXSceneStore/MoveLookControllerKinect.cpp
eugene2candy/tutorial
19021ff50e0b42dced87298c8ca4cd6f6540592f
[ "MIT" ]
75
2015-04-03T09:33:12.000Z
2022-02-07T10:05:00.000Z
#include "pch.h" #include "MoveLookControllerKinect.h" MoveLookController^ MoveLookControllerKinect::Create() { auto p = ref new MoveLookControllerKinect(); return static_cast<MoveLookController^>(p); } MoveLookControllerKinect::MoveLookControllerKinect() { }
15.823529
54
0.780669
5f963f2c5fc660202b0908998a06753987c7df51
3,465
cpp
C++
src/metafs/mim/meta_io_req_q.cpp
mjlee34/poseidonos
8eff75c5ba7af8090d3ff4ac51d7507b37571f9b
[ "BSD-3-Clause" ]
null
null
null
src/metafs/mim/meta_io_req_q.cpp
mjlee34/poseidonos
8eff75c5ba7af8090d3ff4ac51d7507b37571f9b
[ "BSD-3-Clause" ]
null
null
null
src/metafs/mim/meta_io_req_q.cpp
mjlee34/poseidonos
8eff75c5ba7af8090d3ff4ac51d7507b37571f9b
[ "BSD-3-Clause" ]
null
null
null
/* * BSD LICENSE * Copyright (c) 2021 Samsung Electronics Corporation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain th...
23.896552
83
0.674459
5f98d36504125aa4f7d3690db1a51afc184288c4
6,406
cpp
C++
core/impl/file/file_obj_mesh.cpp
auyunli/enhance
ca99530c80b42842e713ed4b62e40d12e56ee24a
[ "BSD-2-Clause" ]
null
null
null
core/impl/file/file_obj_mesh.cpp
auyunli/enhance
ca99530c80b42842e713ed4b62e40d12e56ee24a
[ "BSD-2-Clause" ]
null
null
null
core/impl/file/file_obj_mesh.cpp
auyunli/enhance
ca99530c80b42842e713ed4b62e40d12e56ee24a
[ "BSD-2-Clause" ]
null
null
null
#include <fstream> #include <string> #include <sstream> #include <iostream> #include <vector> #include <cmath> #include <tuple> #include <regex> #include <cassert> #include "file_obj_mesh.hpp" #include "renderable_info.hpp" renderable_info_tris file_obj_mesh::calc_renderable_info_tris( file_obj_mesh::data_mesh & dm ...
35.787709
135
0.559319
5f9910857c950cc9d8a1e909f4d25ada7ff99d84
1,311
cpp
C++
Sub-stringDivisibility.cpp
AlirezaKamyab/ProjectEuler
7237d2813ec2fe851c77960e41cd2e8e1520bf9f
[ "MIT" ]
null
null
null
Sub-stringDivisibility.cpp
AlirezaKamyab/ProjectEuler
7237d2813ec2fe851c77960e41cd2e8e1520bf9f
[ "MIT" ]
null
null
null
Sub-stringDivisibility.cpp
AlirezaKamyab/ProjectEuler
7237d2813ec2fe851c77960e41cd2e8e1520bf9f
[ "MIT" ]
1
2020-12-28T16:49:06.000Z
2020-12-28T16:49:06.000Z
// This file is written by Alireza Kamyab 3/30/2021 // Solution to problem projecteuler.net/problem=43 #include <iostream> #include <vector> #include <algorithm> #include <cinttypes> using namespace std; bool hasProperty(vector<int> arr); int primeAfter(int number); uint64_t convertVectorToNumber(vector<int> numbers);...
20.809524
72
0.641495
5f9c022780dd09af3f0da56b54bbbd1bec455d9e
31
cpp
C++
soplex/src/soplex/git_hash.cpp
avrech/scipoptsuite-6.0.2-avrech
bb4ef31b6e84ff7e1e65cee982acf150739cda86
[ "MIT" ]
null
null
null
soplex/src/soplex/git_hash.cpp
avrech/scipoptsuite-6.0.2-avrech
bb4ef31b6e84ff7e1e65cee982acf150739cda86
[ "MIT" ]
null
null
null
soplex/src/soplex/git_hash.cpp
avrech/scipoptsuite-6.0.2-avrech
bb4ef31b6e84ff7e1e65cee982acf150739cda86
[ "MIT" ]
1
2022-01-19T01:15:11.000Z
2022-01-19T01:15:11.000Z
#define SPX_GITHASH "b8833cd3"
15.5
30
0.806452
5f9e63dab889a49fe82ceaa575f866b943cf2ae3
644
hpp
C++
higan/gb/cartridge/mbc3/mbc3.hpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
38
2018-04-05T05:00:05.000Z
2022-02-06T00:02:02.000Z
higan/gb/cartridge/mbc3/mbc3.hpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
1
2018-04-29T19:45:14.000Z
2018-04-29T19:45:14.000Z
higan/gb/cartridge/mbc3/mbc3.hpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
8
2018-04-16T22:37:46.000Z
2021-02-10T07:37:03.000Z
struct MBC3 : Mapper { auto second() -> void; auto read(uint16 address) -> uint8; auto write(uint16 address, uint8 data) -> void; auto power() -> void; auto serialize(serializer& s) -> void; struct IO { struct ROM { uint8 bank = 0x01; } rom; struct RAM { uint1 enable; uint8 ba...
18.941176
49
0.569876
5fa14f0d066969b5eed836ed5f70579eebf75663
1,612
cpp
C++
src/BitmapReader.cpp
antenous/image
7743a31d87bae1b76efdd4023f21d0f861093057
[ "BSD-3-Clause" ]
null
null
null
src/BitmapReader.cpp
antenous/image
7743a31d87bae1b76efdd4023f21d0f861093057
[ "BSD-3-Clause" ]
null
null
null
src/BitmapReader.cpp
antenous/image
7743a31d87bae1b76efdd4023f21d0f861093057
[ "BSD-3-Clause" ]
null
null
null
/* * BitmapReader.cpp * * Created on: Dec 17, 2017 * Author: Antero Nousiainen */ #include "BitmapReader.hpp" using namespace image; namespace { template<typename T> void read(std::istream & stream, T & t, std::streamsize count = sizeof(T)) { stream.read(reinterpret_cast<char*>(&t), co...
22.082192
113
0.603598
5fa3d390d814fdc6c5f3be91a0f2cb7433526079
167,382
cpp
C++
src/magic/actmagic.cpp
PegasusEpsilon/Barony
6311f7e5da4835eaea65a95b5cc258409bb0dfa4
[ "FTL", "Zlib", "MIT" ]
373
2016-06-28T06:56:46.000Z
2022-03-23T02:32:54.000Z
src/magic/actmagic.cpp
PegasusEpsilon/Barony
6311f7e5da4835eaea65a95b5cc258409bb0dfa4
[ "FTL", "Zlib", "MIT" ]
361
2016-07-06T19:09:25.000Z
2022-03-26T14:14:19.000Z
src/magic/actmagic.cpp
PegasusEpsilon/Barony
6311f7e5da4835eaea65a95b5cc258409bb0dfa4
[ "FTL", "Zlib", "MIT" ]
129
2016-06-29T09:02:49.000Z
2022-01-23T09:56:06.000Z
/*------------------------------------------------------------------------------- BARONY File: actmagic.cpp Desc: behavior function for magic balls Copyright 2013-2016 (c) Turning Wheel LLC, all rights reserved. See LICENSE for details. ---------------------------------------------------------------------------...
29.783274
282
0.577248
5fa658ac529f8e81773e24942e02add435d07be5
1,504
hpp
C++
quat_ez.hpp
JBannwarth/vrpn_logger
b103beef82d9c5b2bd80f1b8bd1728ebef251f88
[ "MIT" ]
null
null
null
quat_ez.hpp
JBannwarth/vrpn_logger
b103beef82d9c5b2bd80f1b8bd1728ebef251f88
[ "MIT" ]
null
null
null
quat_ez.hpp
JBannwarth/vrpn_logger
b103beef82d9c5b2bd80f1b8bd1728ebef251f88
[ "MIT" ]
null
null
null
/* The MIT License (MIT) Copyright (c) 2015 Jérémie Bannwarth 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, me...
28.923077
78
0.787899
5fa6c1fc9fd0f0600e4fc378eb3b90af03ed94e3
1,148
cc
C++
src/rpc/message_channel.cc
epfl-labos/POCC
6d564356105db6fb5163f8bfa6469ae8ab04852d
[ "Apache-2.0" ]
2
2019-04-12T07:07:18.000Z
2020-08-06T12:37:23.000Z
src/rpc/message_channel.cc
epfl-labos/POCC
6d564356105db6fb5163f8bfa6469ae8ab04852d
[ "Apache-2.0" ]
null
null
null
src/rpc/message_channel.cc
epfl-labos/POCC
6d564356105db6fb5163f8bfa6469ae8ab04852d
[ "Apache-2.0" ]
null
null
null
/* * POCC * * Copyright 2017 Operating Systems Laboratory EPFL * * 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...
24.956522
75
0.705575
5fbabb6d06829191d76a03b0657e53f2ef2c679f
4,178
cpp
C++
Common/Parse.cpp
d0liver/realpolitik
3aa6d7238f3eb77494637861813206295f44f6e0
[ "Artistic-1.0" ]
null
null
null
Common/Parse.cpp
d0liver/realpolitik
3aa6d7238f3eb77494637861813206295f44f6e0
[ "Artistic-1.0" ]
null
null
null
Common/Parse.cpp
d0liver/realpolitik
3aa6d7238f3eb77494637861813206295f44f6e0
[ "Artistic-1.0" ]
null
null
null
//--------------------------------------------------------------------------------- // Copyright (C) 2001 James M. Van Verth // // This program is free software; you can redistribute it and/or // modify it under the terms of the Clarified Artistic License. // In addition, to meet copyright restrictions you must ...
19.895238
84
0.497367
5fbd26a426fe8d79e8aa012fd3079f39a924a940
6,259
cpp
C++
src/libraries/lagrangian/intermediate/clouds/Templates/KinematicCloud/cloudSolution/cloudSolution.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/lagrangian/intermediate/clouds/Templates/KinematicCloud/cloudSolution/cloudSolution.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/lagrangian/intermediate/clouds/Templates/KinematicCloud/cloudSolution/cloudSolution.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/*---------------------------------------------------------------------------*\ Copyright (C) 2011-2015 OpenFOAM Foundation ------------------------------------------------------------------------------- License This file is part of CAELUS. CAELUS is free software: you can redistribute it and/or modify it ...
25.546939
80
0.550407
5fbd79ada3d0d2bc36c3c2ed324f781e626e4c5e
2,069
cpp
C++
src/ext/transport/FastRTPS/FastRTPSTransport.cpp
r-kurose/OpenRTM-aist
258c922c55a97c6d1265dbf45e1e8b2ea29b2d86
[ "RSA-MD" ]
15
2019-01-08T15:34:04.000Z
2022-03-01T08:36:17.000Z
src/ext/transport/FastRTPS/FastRTPSTransport.cpp
r-kurose/OpenRTM-aist
258c922c55a97c6d1265dbf45e1e8b2ea29b2d86
[ "RSA-MD" ]
448
2018-12-27T03:13:56.000Z
2022-03-24T09:57:03.000Z
src/ext/transport/FastRTPS/FastRTPSTransport.cpp
r-kurose/OpenRTM-aist
258c922c55a97c6d1265dbf45e1e8b2ea29b2d86
[ "RSA-MD" ]
31
2018-12-26T04:34:22.000Z
2021-11-25T04:39:51.000Z
// -*- C++ -*- /*! * @file FastRTPSOutPort.cpp * @brief FastRTPSOutPort class * @date $Date: 2019-01-31 03:08:03 $ * @author Nobuhiko Miyamoto <n-miyamoto@aist.go.jp> * * Copyright (C) 2019 * Nobuhiko Miyamoto * Robot Innovation Research Center, * National Institute of * Advanced Indust...
21.778947
92
0.58144
5fbd9bb373456e797a3f5810c8838a8eb569a6ab
3,955
tpp
C++
xolotl/core/include/xolotl/core/network/impl/NucleationReaction.tpp
ORNL-Fusion/xolotl
993434bea0d3bca439a733a12af78034c911690c
[ "BSD-3-Clause" ]
13
2018-06-13T18:08:57.000Z
2021-09-30T02:39:01.000Z
xolotl/core/include/xolotl/core/network/impl/NucleationReaction.tpp
ORNL-Fusion/xolotl
993434bea0d3bca439a733a12af78034c911690c
[ "BSD-3-Clause" ]
97
2018-02-14T15:24:08.000Z
2022-03-29T16:29:48.000Z
xolotl/core/include/xolotl/core/network/impl/NucleationReaction.tpp
ORNL-Fusion/xolotl
993434bea0d3bca439a733a12af78034c911690c
[ "BSD-3-Clause" ]
18
2018-02-13T20:36:03.000Z
2022-01-04T14:54:16.000Z
#pragma once namespace xolotl { namespace core { namespace network { template <typename TNetwork, typename TDerived> KOKKOS_INLINE_FUNCTION NucleationReaction<TNetwork, TDerived>::NucleationReaction( ReactionDataRef reactionData, ClusterDataRef clusterData, IndexType reactionId, IndexType cluster0, IndexType cluster...
30.19084
75
0.786599
5fbffc8f4e6528e19ec06dd7271bb63304fe0285
504
cpp
C++
EU4toV2/Source/V2World/Output/outLeader.cpp
GregB76/EU4toVic2
0a8822101a36a16036fdc315e706d113d9231101
[ "MIT" ]
42
2018-12-22T03:59:43.000Z
2022-02-03T10:45:42.000Z
EU4toV2/Source/V2World/Output/outLeader.cpp
IhateTrains/EU4toVic2
061f5e1a0bc1a1f3b54bdfe471b501260149b56b
[ "MIT" ]
336
2018-12-22T17:15:27.000Z
2022-03-02T11:19:32.000Z
EU4toV2/Source/V2World/Output/outLeader.cpp
klorpa/EU4toVic2
e3068eb2aa459f884c1929f162d0047a4cb5f4d4
[ "MIT" ]
56
2018-12-22T19:13:23.000Z
2022-01-01T23:08:53.000Z
#include "output.h" std::ostream& V2::operator<<(std::ostream& output, const Leader& leader) { output << "leader = {\n"; output << "\tname=\"" << leader.name << "\"\n"; output << "\tdate=\"" << leader.activationDate << "\"\n"; if (leader.isLand) { output << "\ttype=land\n"; } else { output << "\ttype=sea\n...
21.913043
72
0.553571
5fc29ad14d6a097ca6f9bd00e680d43245b810a2
3,387
cpp
C++
capabilities/DavsClient/acsdkDavsClient/test/DavsEndpointHandlerV3Test.cpp
immortalkrazy/avs-device-sdk
703b06188eae146af396f58be4e47442d7ce5b1e
[ "Apache-2.0" ]
1
2018-07-09T16:44:28.000Z
2018-07-09T16:44:28.000Z
capabilities/DavsClient/acsdkDavsClient/test/DavsEndpointHandlerV3Test.cpp
immortalkrazy/avs-device-sdk
703b06188eae146af396f58be4e47442d7ce5b1e
[ "Apache-2.0" ]
null
null
null
capabilities/DavsClient/acsdkDavsClient/test/DavsEndpointHandlerV3Test.cpp
immortalkrazy/avs-device-sdk
703b06188eae146af396f58be4e47442d7ce5b1e
[ "Apache-2.0" ]
2
2019-02-05T23:42:48.000Z
2020-03-01T11:11:30.000Z
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "license" f...
45.77027
219
0.687924
5fc60f95819d5eb5ddbd3d505bc52540009782ec
10,658
cpp
C++
pluginLite/sysutils.cpp
XULPlayer/XULPlayer-legacy
1ab0ad2a196373d81d350bf45c03f690a0bfb8a2
[ "MIT" ]
3
2017-11-29T07:11:24.000Z
2020-03-03T19:23:33.000Z
pluginLite/sysutils.cpp
XULPlayer/XULPlayer-legacy
1ab0ad2a196373d81d350bf45c03f690a0bfb8a2
[ "MIT" ]
null
null
null
pluginLite/sysutils.cpp
XULPlayer/XULPlayer-legacy
1ab0ad2a196373d81d350bf45c03f690a0bfb8a2
[ "MIT" ]
1
2018-07-12T12:48:52.000Z
2018-07-12T12:48:52.000Z
#include <windows.h> #include <stdio.h> #include <comdef.h> // for using bstr_t class #include <vector> #include <tchar.h> #define SYSTEM_OBJECT_INDEX 2 // 'System' object #define PROCESS_OBJECT_INDEX 230 // 'Process' object #define PROCESSOR_OBJECT_INDEX 238 // 'Processor' object #define TOTAL_PROCESSOR_...
25.806295
122
0.693751
5fc7c5022bb2cd702c6add7ffa1a3a2714535c8d
15,209
cpp
C++
Merrymen/WeaponCS.cpp
Mertank/ToneArm
40c62b0de89ac506bea6674e43578bf4e2631f93
[ "Zlib", "BSD-2-Clause" ]
null
null
null
Merrymen/WeaponCS.cpp
Mertank/ToneArm
40c62b0de89ac506bea6674e43578bf4e2631f93
[ "Zlib", "BSD-2-Clause" ]
null
null
null
Merrymen/WeaponCS.cpp
Mertank/ToneArm
40c62b0de89ac506bea6674e43578bf4e2631f93
[ "Zlib", "BSD-2-Clause" ]
null
null
null
/* ------------------------------------------------------------------------------------------ Copyright (c) 2014 Vinyl Games Studio Author: Mikhail Kutuzov Date: 5/15/2014 4:14:48 PM ------------------------------------------------------------------------------------------ */ #include "WeaponC...
27.062278
169
0.700243
5fc99d00f17782788d3657d70f939615415347fe
3,540
cc
C++
src/Video.cc
IntelLabs/vcl
eab97ef1e61a2e0578dc2e5c959522cbcacd4be4
[ "MIT" ]
5
2018-03-07T20:20:57.000Z
2022-02-09T16:54:22.000Z
src/Video.cc
IntelLabs/vcl
eab97ef1e61a2e0578dc2e5c959522cbcacd4be4
[ "MIT" ]
9
2018-03-28T21:05:51.000Z
2019-03-06T16:18:43.000Z
src/Video.cc
IntelLabs/vcl
eab97ef1e61a2e0578dc2e5c959522cbcacd4be4
[ "MIT" ]
5
2019-03-04T23:40:11.000Z
2022-02-09T16:54:12.000Z
/** * @file Video.cc * * @section LICENSE * * The MIT License * * @copyright Copyright (c) 2017 Intel Corporation * * 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 restri...
21.454545
80
0.651412
5fd04b33e7ffc789fae15e9c81796649dafb244f
4,914
cpp
C++
src/recovery/log_manager.cpp
HumbleHunger/bustub
f5ff23a8ee18c035d220c0835bab185ccf518678
[ "MIT" ]
1
2021-12-20T08:30:32.000Z
2021-12-20T08:30:32.000Z
src/recovery/log_manager.cpp
HumbleHunger/CMU_Bustub
f5ff23a8ee18c035d220c0835bab185ccf518678
[ "MIT" ]
null
null
null
src/recovery/log_manager.cpp
HumbleHunger/CMU_Bustub
f5ff23a8ee18c035d220c0835bab185ccf518678
[ "MIT" ]
null
null
null
//===----------------------------------------------------------------------===// // // BusTub // // log_manager.cpp // // Identification: src/recovery/log_manager.cpp // // Copyright (c) 2015-2019, Carnegie Mellon University Database Group // //===------------------------------------------------...
28.241379
85
0.657916
5fd39842abda1a0200ca32e1f96fef3c75824d1f
10,470
cc
C++
wrspice/devlib/mos/mossetm.cc
wrcad/xictools
f46ba6d42801426739cc8b2940a809b74f1641e2
[ "Apache-2.0" ]
73
2017-10-26T12:40:24.000Z
2022-03-02T16:59:43.000Z
wrspice/devlib/mos/mossetm.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
12
2017-11-01T10:18:22.000Z
2022-03-20T19:35:36.000Z
wrspice/devlib/mos/mossetm.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
34
2017-10-06T17:04:21.000Z
2022-02-18T16:22:03.000Z
/*========================================================================* * * * Distributed by Whiteley Research Inc., Sunnyvale, California, USA * * http://wrcad.com * * Copyright (...
35.979381
77
0.533715
5fd3ed70640b9a89771ed8fcac0d039820b56671
20,476
cpp
C++
SimCode/NetworkDriver.cpp
riedlc/SpiteInPrisonersDelight
8ebcf6c4ff398b21084179c3131f647cd6f62df0
[ "MIT" ]
null
null
null
SimCode/NetworkDriver.cpp
riedlc/SpiteInPrisonersDelight
8ebcf6c4ff398b21084179c3131f647cd6f62df0
[ "MIT" ]
null
null
null
SimCode/NetworkDriver.cpp
riedlc/SpiteInPrisonersDelight
8ebcf6c4ff398b21084179c3131f647cd6f62df0
[ "MIT" ]
null
null
null
// If compiled with -fopenmp, include omp (for multithreading) #ifdef _OPENMP #include <omp.h> #else #define omp_get_thread_num() 0 #define omp_get_max_threads() 1 #endif /* A test driver for the Network class (NetworkDriver.cpp) */ #include <stdio.h> #include <sys/stat.h> #include <iostream> #...
41.199195
231
0.611155
5fd4b2a3d3500877f0ea0aaad0d4f55e6984a839
260
cpp
C++
ALGORITHMS/Reccursion/Factorial/Factorial.cpp
anishsingh42/CodeChef
50f5c0438516210895e513bc4ee959b9d99ef647
[ "Apache-2.0" ]
127
2020-10-13T18:04:35.000Z
2022-02-17T10:56:27.000Z
ALGORITHMS/Reccursion/Factorial/Factorial.cpp
anishsingh42/CodeChef
50f5c0438516210895e513bc4ee959b9d99ef647
[ "Apache-2.0" ]
132
2020-10-13T18:06:53.000Z
2021-10-17T18:44:26.000Z
ALGORITHMS/Reccursion/Factorial/Factorial.cpp
anishsingh42/CodeChef
50f5c0438516210895e513bc4ee959b9d99ef647
[ "Apache-2.0" ]
364
2020-10-13T18:04:52.000Z
2022-03-04T14:34:53.000Z
#include <bits/stdc++.h> using namespace std; int factorial(int n) { if (n > 1) n *= factorial(n - 1); return n; } int main() { int n; cin >> n; cout << factorial(n) << endl; return 0; } // Complexity of the above program is O(n)
13.684211
42
0.55
5fd4e83c4342a0a31ee949f1b9e89980fd360f03
11,966
cpp
C++
src/QtAudio/CiosAudio/CaDebug.cpp
Vladimir-Lin/QtAudio
5c58e86cda1a88f03c4dde53883a979bec37b504
[ "MIT" ]
null
null
null
src/QtAudio/CiosAudio/CaDebug.cpp
Vladimir-Lin/QtAudio
5c58e86cda1a88f03c4dde53883a979bec37b504
[ "MIT" ]
null
null
null
src/QtAudio/CiosAudio/CaDebug.cpp
Vladimir-Lin/QtAudio
5c58e86cda1a88f03c4dde53883a979bec37b504
[ "MIT" ]
null
null
null
/***************************************************************************** * * * CIOS Audio Core * * * * V...
60.434343
120
0.272606
5fd8e47fafc7680ed6025cb53e04e83e34054558
478,011
cpp
C++
Sources/Elastos/LibCore/tests/bak/Namespace/R.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/LibCore/tests/bak/Namespace/R.cpp
xiaoweiruby/Elastos.RT
238e9b747f70fc129769ae7850def4362c43e443
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/LibCore/tests/bak/Namespace/R.cpp
xiaoweiruby/Elastos.RT
238e9b747f70fc129769ae7850def4362c43e443
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
#include "R.h" namespace Elastos { namespace Droid { const int R::anim::accelerate_decelerate_interpolator=0x010a0004; const int R::anim::accelerate_interpolator=0x010a0005; const int R::anim::activity_close_enter=0x010a000d; const int R::anim::activity_close_exit=0x010a000e; const int R::anim::activity_open_enter=0x...
51.107773
95
0.816339
5fde1048e3ba09396e3eb85d31727a63a0b41224
5,841
hh
C++
cc/record.hh
skepner/dtra2
5aeeb66cd8e42217976ae0ad481dcc42549e6bf0
[ "MIT" ]
null
null
null
cc/record.hh
skepner/dtra2
5aeeb66cd8e42217976ae0ad481dcc42549e6bf0
[ "MIT" ]
null
null
null
cc/record.hh
skepner/dtra2
5aeeb66cd8e42217976ae0ad481dcc42549e6bf0
[ "MIT" ]
null
null
null
#pragma once #include <string> #include "date.hh" // ---------------------------------------------------------------------- namespace xlnt { class cell; } namespace dtra { inline namespace v2 { class Directory; // -------------------------------------------------- class Reco...
54.588785
213
0.588255
5fe35e13763aab39c3aa3d34251ef07e01a67fae
921
cpp
C++
HDUOJ/1020.cpp
Accelerator404/Algorithm-Demonstration
e40a499c23a56d363c743c76ac967d9c4247a4be
[ "Apache-2.0" ]
1
2019-09-18T23:45:27.000Z
2019-09-18T23:45:27.000Z
HDUOJ/1020.cpp
Accelerator404/Algorithm-Demonstration
e40a499c23a56d363c743c76ac967d9c4247a4be
[ "Apache-2.0" ]
null
null
null
HDUOJ/1020.cpp
Accelerator404/Algorithm-Demonstration
e40a499c23a56d363c743c76ac967d9c4247a4be
[ "Apache-2.0" ]
1
2019-09-18T23:45:28.000Z
2019-09-18T23:45:28.000Z
#include <iostream> #include <cstdio> #include <string> #include <algorithm> using namespace std; //to_string要求C++11 int main() { int N; cin >> N; for(int i=1;i <= N;i++){ char target; string input,output; int count = 0; cin >> input; for(int j = 0;j < input.length(...
20.931818
52
0.394137
5fea1034974be509fb893f4ef79ba7f60bff7ad6
1,739
cpp
C++
vstgui/tests/unittest/lib/cpoint_test.cpp
GizzZmo/vstgui
477a3de78ecbcf25f52cce9ad49c5feb0b15ea9e
[ "BSD-3-Clause" ]
205
2019-06-09T18:40:27.000Z
2022-03-24T01:53:49.000Z
vstgui/tests/unittest/lib/cpoint_test.cpp
GizzZmo/vstgui
477a3de78ecbcf25f52cce9ad49c5feb0b15ea9e
[ "BSD-3-Clause" ]
11
2019-02-09T16:15:34.000Z
2021-03-24T06:28:56.000Z
vstgui/tests/unittest/lib/cpoint_test.cpp
GizzZmo/vstgui
477a3de78ecbcf25f52cce9ad49c5feb0b15ea9e
[ "BSD-3-Clause" ]
30
2019-06-11T04:05:46.000Z
2022-03-29T15:52:14.000Z
// This file is part of VSTGUI. It is subject to the license terms // in the LICENSE file found in the top-level directory of this // distribution and at http://github.com/steinbergmedia/vstgui/LICENSE #include "../../../lib/cpoint.h" #include "../unittests.h" namespace VSTGUI { TESTCASE(CPointTest, TEST(unequal,...
19.539326
70
0.565267
5feb4e69c10ca0a874238cb07dbe30865b23f5dc
658
cpp
C++
modules/augment/src/uniformnoise.cpp
FadyEssam/opencv_contrib
8ebe2629ec7ae17338f6dc7acceada82151185ed
[ "BSD-3-Clause" ]
null
null
null
modules/augment/src/uniformnoise.cpp
FadyEssam/opencv_contrib
8ebe2629ec7ae17338f6dc7acceada82151185ed
[ "BSD-3-Clause" ]
1
2019-07-11T20:21:36.000Z
2019-07-11T20:21:36.000Z
modules/augment/src/uniformnoise.cpp
FadyEssam/opencv_contrib
8ebe2629ec7ae17338f6dc7acceada82151185ed
[ "BSD-3-Clause" ]
null
null
null
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. #include "precomp.hpp" namespace cv { namespace augment { UniformNoise::UniformNoise(float _low, float _high) { low = _low;...
21.933333
90
0.711246
5fedfe656a8f4eb606b3b48b506acf7b76af47db
32,654
cpp
C++
src/main/cpp/driver/ps_ds4_controller.cpp
morrky89/PSMoveSteamVRBridge
03d29b14d1738597523bd059d30736cb0d075d37
[ "Apache-2.0" ]
147
2017-03-28T21:32:25.000Z
2022-01-03T14:43:58.000Z
src/main/cpp/driver/ps_ds4_controller.cpp
morrky89/PSMoveSteamVRBridge
03d29b14d1738597523bd059d30736cb0d075d37
[ "Apache-2.0" ]
129
2017-04-01T20:34:52.000Z
2021-04-06T07:34:49.000Z
src/main/cpp/driver/ps_ds4_controller.cpp
morrky89/PSMoveSteamVRBridge
03d29b14d1738597523bd059d30736cb0d075d37
[ "Apache-2.0" ]
53
2017-03-29T19:31:40.000Z
2022-03-13T11:38:23.000Z
#define _USE_MATH_DEFINES #include "constants.h" #include "server_driver.h" #include "utils.h" #include "settings_util.h" #include "driver.h" #include "facing_handsolver.h" #include "ps_ds4_controller.h" #include "trackable_device.h" #include <assert.h> namespace steamvrbridge { // -- PSDualshock4ControllerConfig -...
43.772118
155
0.784866