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
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
67k
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
9d1fcdede8b9ede7c6c9b8b9361fb2bc24a93702
30,733
cc
C++
src/test/libcephfs/recordlock.cc
rpratap-bot/ceph
9834961a66927ae856935591f2fd51082e2ee484
[ "MIT" ]
4
2020-04-08T03:42:02.000Z
2020-10-01T20:34:48.000Z
src/test/libcephfs/recordlock.cc
rpratap-bot/ceph
9834961a66927ae856935591f2fd51082e2ee484
[ "MIT" ]
93
2020-03-26T14:29:14.000Z
2020-11-12T05:54:55.000Z
src/test/libcephfs/recordlock.cc
rpratap-bot/ceph
9834961a66927ae856935591f2fd51082e2ee484
[ "MIT" ]
23
2020-03-24T10:28:44.000Z
2020-09-24T09:42:19.000Z
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2011 New Dream Network * 2016 Red Hat * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Les...
28.118024
86
0.674682
rpratap-bot
9d20aa453c56549918d0fad19824216d238fc4d3
8,650
cpp
C++
Engine/Source/Runtime/AudioMixer/Private/Effects/AudioMixerSubmixEffectEQ.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Runtime/AudioMixer/Private/Effects/AudioMixerSubmixEffectEQ.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Runtime/AudioMixer/Private/Effects/AudioMixerSubmixEffectEQ.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "SubmixEffects/AudioMixerSubmixEffectEQ.h" #include "Misc/ScopeLock.h" #include "AudioMixer.h" static int32 DisableSubmixEffectEQCvar = 0; FAutoConsoleVariableRef CVarDisableSubmixEQ( TEXT("au.DisableSubmixEffectEQ"), DisableSubmixEffectEQCvar, ...
31.569343
148
0.755491
windystrife
9d21cbc19933311185e0a14a66c22b7520831d8d
7,517
cc
C++
test/realm/memspeed.cc
chuckatkins/legion
ba0cda94372a21f42ad60e7edef99de5951d21b0
[ "Apache-2.0" ]
null
null
null
test/realm/memspeed.cc
chuckatkins/legion
ba0cda94372a21f42ad60e7edef99de5951d21b0
[ "Apache-2.0" ]
null
null
null
test/realm/memspeed.cc
chuckatkins/legion
ba0cda94372a21f42ad60e7edef99de5951d21b0
[ "Apache-2.0" ]
null
null
null
#include "realm/realm.h" #include <cstdio> #include <cstdlib> #include <cassert> #include <cstring> #include <csignal> #include <cmath> #include <time.h> #include <unistd.h> using namespace Realm; using namespace LegionRuntime::Accessor; Logger log_app("app"); // Task IDs, some IDs are reserved so start at first a...
29.594488
120
0.620194
chuckatkins
9d23a9e6f4494c8b88e7306cdc073a67128bbefd
2,503
hpp
C++
src/managers/draw_manager.hpp
Romop5/holoinjector
db11922e6c57b4664beeec31199385a4877e1619
[ "MIT" ]
2
2021-04-12T06:09:57.000Z
2021-05-20T11:56:01.000Z
src/managers/draw_manager.hpp
Romop5/holoinjector
db11922e6c57b4664beeec31199385a4877e1619
[ "MIT" ]
null
null
null
src/managers/draw_manager.hpp
Romop5/holoinjector
db11922e6c57b4664beeec31199385a4877e1619
[ "MIT" ]
null
null
null
/***************************************************************************** * * PROJECT: HoloInjector - https://github.com/Romop5/holoinjector * LICENSE: See LICENSE in the top level directory * FILE: managers/draw_manager.hpp * **********************************************************************...
37.924242
141
0.666001
Romop5
9d251642791f2f121d991d49d8b0c8a5e9a3d761
1,375
hpp
C++
hardware_interface_extensions/include/hardware_interface_extensions/sensor_state_interface.hpp
smilerobotics/ros_control_extensions
1eee21217708dcee80aa3d91b2c6415c1f4feffa
[ "MIT" ]
null
null
null
hardware_interface_extensions/include/hardware_interface_extensions/sensor_state_interface.hpp
smilerobotics/ros_control_extensions
1eee21217708dcee80aa3d91b2c6415c1f4feffa
[ "MIT" ]
null
null
null
hardware_interface_extensions/include/hardware_interface_extensions/sensor_state_interface.hpp
smilerobotics/ros_control_extensions
1eee21217708dcee80aa3d91b2c6415c1f4feffa
[ "MIT" ]
1
2021-10-14T06:37:36.000Z
2021-10-14T06:37:36.000Z
#ifndef HARDWARE_INTERFACE_EXTENSIONS_SENSOR_STATE_INTERFACE_HPP #define HARDWARE_INTERFACE_EXTENSIONS_SENSOR_STATE_INTERFACE_HPP #include <string> #include <hardware_interface/internal/hardware_resource_manager.h> #include <ros/common.h> // for ROS_ASSERT() #include <sensor_msgs/BatteryState.h> namespace hardware_i...
22.177419
98
0.755636
smilerobotics
9d275d4dba99ff3fedd5cfd20edba6314d2d2064
18,262
cpp
C++
vipss/src/Solver.cpp
jpanetta/VIPSS
34491070a49047f8071f1670139ffe01d38598a4
[ "MIT" ]
38
2019-05-18T05:22:40.000Z
2022-03-25T15:40:11.000Z
vipss/src/Solver.cpp
jpanetta/VIPSS
34491070a49047f8071f1670139ffe01d38598a4
[ "MIT" ]
3
2020-03-25T01:34:28.000Z
2021-07-29T15:15:31.000Z
vipss/src/Solver.cpp
jpanetta/VIPSS
34491070a49047f8071f1670139ffe01d38598a4
[ "MIT" ]
10
2019-05-18T05:22:29.000Z
2021-06-19T11:50:58.000Z
#include "Solver.h" #include <ctime> #include <chrono> #include <iomanip> //#include <eigen3/Eigen/CholmodSupport> //#include <gurobi_c++.h> typedef std::chrono::high_resolution_clock Clock; //static GRBModel static_model; void LinearVec::set_label(int label){ this->label = label; } void LinearVec::set_ab(doub...
27.216095
129
0.521301
jpanetta
9d2d64a79f0feb23f8b0038cde54e2ddf8b476ba
520
tcc
C++
src/Arduino.tcc
lawyiu/2d-robot-simulator
864af5074a597c7505df29a5ab81aa4fe331f45c
[ "MIT" ]
1
2022-03-25T12:37:07.000Z
2022-03-25T12:37:07.000Z
src/Arduino.tcc
lawyiu/2d-robot-simulator
864af5074a597c7505df29a5ab81aa4fe331f45c
[ "MIT" ]
3
2021-09-20T20:52:03.000Z
2021-09-26T06:14:07.000Z
src/Arduino.tcc
lawyiu/2D-robot-simulator
864af5074a597c7505df29a5ab81aa4fe331f45c
[ "MIT" ]
null
null
null
template <typename T> std::string SerialPort::formatVal(T val, int type) { std::ostringstream os; switch (type) { case BIN: { std::bitset<8 * sizeof(val)> bits(val); os << bits; break; } case HEX: { os << std::hex << val; brea...
17.931034
74
0.388462
lawyiu
9d2ee29e2cdeeeb7cf4cc24a7a95dc7e7fb60797
14,264
cpp
C++
testapp/scenes/scenemanager.cpp
ColinGilbert/d-collide
8adb354d52e7ee49705ca2853d50a6a879f3cd49
[ "BSD-3-Clause" ]
6
2015-12-08T05:38:03.000Z
2021-04-09T13:45:59.000Z
testapp/scenes/scenemanager.cpp
ColinGilbert/d-collide
8adb354d52e7ee49705ca2853d50a6a879f3cd49
[ "BSD-3-Clause" ]
null
null
null
testapp/scenes/scenemanager.cpp
ColinGilbert/d-collide
8adb354d52e7ee49705ca2853d50a6a879f3cd49
[ "BSD-3-Clause" ]
null
null
null
/******************************************************************************* * Copyright (C) 2007 by the members of PG 510, University of Dortmund: * * d-collide-devel@lists.sourceforge.net * * * Andreas Beckermann, Christian Bode, Marcel Ens, Sebastian Ens, ...
44.436137
161
0.609296
ColinGilbert
9d359e9a7e2c6b30b4f10d972a6ff2c0afe86528
20,386
cpp
C++
Source/ThirdParty/NewtonDynamics/include/packages/dContainers/dCRC.cpp
nigeyuk/HevEn
0dc970d6ecd0e5fd5512441562e2fdb4620214f0
[ "CC-BY-3.0" ]
15
2017-03-15T15:41:13.000Z
2022-01-11T01:15:12.000Z
Source/ThirdParty/NewtonDynamics/include/packages/dContainers/dCRC.cpp
nigeyuk/HevEn
0dc970d6ecd0e5fd5512441562e2fdb4620214f0
[ "CC-BY-3.0" ]
null
null
null
Source/ThirdParty/NewtonDynamics/include/packages/dContainers/dCRC.cpp
nigeyuk/HevEn
0dc970d6ecd0e5fd5512441562e2fdb4620214f0
[ "CC-BY-3.0" ]
3
2017-03-17T12:28:48.000Z
2020-03-19T19:32:02.000Z
/* Copyright (c) <2003-2016> <Newton Game Dynamics> * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose, * includi...
92.663636
199
0.842882
nigeyuk
9d37efdd720fdf2095dc30e105835c774a216a57
2,592
cpp
C++
source/GUI/GUIButton.cpp
badbrainz/pme
1c8e6f3d154cc59613f5ef3f2f8293f488c64b28
[ "WTFPL" ]
null
null
null
source/GUI/GUIButton.cpp
badbrainz/pme
1c8e6f3d154cc59613f5ef3f2f8293f488c64b28
[ "WTFPL" ]
null
null
null
source/GUI/GUIButton.cpp
badbrainz/pme
1c8e6f3d154cc59613f5ef3f2f8293f488c64b28
[ "WTFPL" ]
null
null
null
#include "GUIButton.h" #include "GUIAlphaElement.h" #include "GUIClippedRectangle.h" #include "../Tools/Logger.h" GUIButton::GUIButton(const char *cbs) : GUIAlphaElement(cbs), GUIClippedRectangle() { setBordersColor(0.0f, 0.0f, 0.0f); setDimensions(40, 22); setPosition(0.5, 0.5); setColor(100, 150,...
26.44898
84
0.59375
badbrainz
9d39f3f0190f081772a317fb4aa185c5196469bb
3,669
cpp
C++
src/packet.cpp
caseycs/pinba2
931a820e12cbc41fd5c19e87bdbfd9811c7a969b
[ "BSD-3-Clause" ]
108
2018-11-02T08:41:11.000Z
2022-02-17T22:27:23.000Z
src/packet.cpp
caseycs/pinba2
931a820e12cbc41fd5c19e87bdbfd9811c7a969b
[ "BSD-3-Clause" ]
19
2018-11-02T06:54:37.000Z
2021-09-02T15:45:40.000Z
src/packet.cpp
caseycs/pinba2
931a820e12cbc41fd5c19e87bdbfd9811c7a969b
[ "BSD-3-Clause" ]
17
2018-11-08T14:14:31.000Z
2021-12-16T15:57:38.000Z
#include <cmath> #include "pinba/globals.h" #include "pinba/limits.h" #include "pinba/dictionary.h" #include "pinba/packet.h" #include "pinba/bloom.h" #include "proto/pinba.pb-c.h" //////////////////////////////////////////////////////////////////////////////////////////////// request_validate_result_t pinba_valida...
27.795455
96
0.668029
caseycs
9d3b307777eab0216ffa4b6eecbf69b5361b2fcb
5,091
cpp
C++
framework/tlvf/AutoGenerated/src/tlvf/wfa_map/tlvBackhaulSteeringResponse.cpp
SWRT-dev/easymesh
12d902edde77599e074c0535f7256499b08f7494
[ "BSD-3-Clause", "BSD-2-Clause-Patent", "MIT" ]
85
2018-10-24T22:18:35.000Z
2022-02-24T09:11:56.000Z
framework/tlvf/AutoGenerated/src/tlvf/wfa_map/tlvBackhaulSteeringResponse.cpp
SWRT-dev/easymesh
12d902edde77599e074c0535f7256499b08f7494
[ "BSD-3-Clause", "BSD-2-Clause-Patent", "MIT" ]
1,105
2018-10-03T14:04:58.000Z
2020-08-14T21:22:55.000Z
framework/tlvf/AutoGenerated/src/tlvf/wfa_map/tlvBackhaulSteeringResponse.cpp
orenvor/prplMesh
aebd37e7e194acd9fefa3cdd64fb84a8c9f733bd
[ "BSD-3-Clause", "BSD-2-Clause-Patent", "MIT" ]
43
2018-11-12T22:51:40.000Z
2021-12-26T07:40:39.000Z
/////////////////////////////////////// // AUTO GENERATED FILE - DO NOT EDIT // /////////////////////////////////////// /* SPDX-License-Identifier: BSD-2-Clause-Patent * * SPDX-FileCopyrightText: 2016-2020 the prplMesh contributors (see AUTHORS.md) * * This code is subject to the terms of the BSD+Patent license. ...
35.354167
161
0.666077
SWRT-dev
9d3c414ae86ce3ada2ef92da5938d299d3d93a6e
1,218
cpp
C++
example.cpp
LTU-CEG/libserialpipe
0000e0466581b68c4674ac87cc358f27f430c872
[ "BSL-1.0" ]
null
null
null
example.cpp
LTU-CEG/libserialpipe
0000e0466581b68c4674ac87cc358f27f430c872
[ "BSL-1.0" ]
null
null
null
example.cpp
LTU-CEG/libserialpipe
0000e0466581b68c4674ac87cc358f27f430c872
[ "BSL-1.0" ]
null
null
null
// Copyright Emil Fresk 2015-2017. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <iostream> #include "serialpipe.hpp" using namespace std; void test(const std::vector<uint8_t> &data)...
21.75
72
0.560755
LTU-CEG
9d3cac6432e83e261a760582a2b9344d8228faee
1,081
cpp
C++
hihocoder/calculate_strength.cpp
qiaotian/CodeInterview
294c1ba86d8ace41a121c5ada4ba4c3765ccc17d
[ "WTFPL" ]
5
2016-10-29T09:28:11.000Z
2019-10-19T23:02:48.000Z
hihocoder/calculate_strength.cpp
qiaotian/CodeInterview
294c1ba86d8ace41a121c5ada4ba4c3765ccc17d
[ "WTFPL" ]
null
null
null
hihocoder/calculate_strength.cpp
qiaotian/CodeInterview
294c1ba86d8ace41a121c5ada4ba4c3765ccc17d
[ "WTFPL" ]
null
null
null
/* Description 小Hi在虚拟世界中有一只小宠物小P。小P有K种属性,每种属性的初始值为Ai。小Ho送给了小Hi若干颗药丸,每颗药丸可以提高小P指定属性1点。通过属性值,我们可以计算小P的强力值=(C1(1/B1))*(C2(1/B2))*...*(CK(1/BK)),其中Ci为小P第i项属性的最终值(Ai+药丸增加的属性)。 已知小Ho送给小Hi的药丸一共有N颗,问小P的强力值最高能够达到多少? Input 第一行包含两个整数N,K,分别表示药丸数和属性种数。 第二行为K个整数A1 - AK,意义如前文所述。 第三行为K个整数B1 - BK,意义如前文所述。 对于30%的数据,满足1<=N<=10, 1<=K<=3 ...
19.303571
191
0.653099
qiaotian
9d3ce8ce3c664643eac9a0d1abe018b8d79c7184
2,787
cpp
C++
TerrainApps/VTBuilder/PrefDlg.cpp
nakijun/vtp
7bd2b2abd3a3f778a32ba30be099cfba9b892922
[ "MIT" ]
4
2019-02-08T13:51:26.000Z
2021-12-07T13:11:06.000Z
TerrainApps/VTBuilder/PrefDlg.cpp
nakijun/vtp
7bd2b2abd3a3f778a32ba30be099cfba9b892922
[ "MIT" ]
null
null
null
TerrainApps/VTBuilder/PrefDlg.cpp
nakijun/vtp
7bd2b2abd3a3f778a32ba30be099cfba9b892922
[ "MIT" ]
7
2017-12-03T10:13:17.000Z
2022-03-29T09:51:18.000Z
// // Name: PrefDlg.cpp // // Copyright (c) 2007-2011 Virtual Terrain Project // Free for all uses, see license.txt for details. // // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" #include "PrefDlg.h" #include "vtui/AutoDialog.h" // WDR: class implementations //-------------...
28.438776
78
0.712235
nakijun
9d448b9fdd492c99e5c1be08761c8fa7348e0a24
10,821
cpp
C++
Wind_API/Wind_strike.cpp
FlyingOE/q_Wind
03317f18128e95da63d897c0818cbdb833f45e48
[ "Apache-2.0" ]
93
2015-03-06T03:35:59.000Z
2022-02-10T10:13:36.000Z
Wind_API/Wind_strike.cpp
linggen/q_Wind
03317f18128e95da63d897c0818cbdb833f45e48
[ "Apache-2.0" ]
1
2015-08-13T09:05:26.000Z
2015-08-13T15:49:55.000Z
Wind_API/Wind_strike.cpp
linggen/q_Wind
03317f18128e95da63d897c0818cbdb833f45e48
[ "Apache-2.0" ]
48
2015-03-06T04:10:01.000Z
2022-02-10T10:13:39.000Z
#include "stdafx.h" #include "Wind_strike.h" #include "util.h" #include "kdb+.util/util.h" #include "kdb+.util/type_convert.h" #include <iostream> #include <sstream> Wind::callback::Result::Result() : result_(new Wind::callback::Result::promise_ptr::element_type) {} Wind::callback::Result::promise_ptr* Wind::callba...
33.815625
100
0.687922
FlyingOE
9d46b27baa909430b7fbe29f04e70d801c4b4540
220
cpp
C++
solutions/1342/1342-kir3i.cpp
iknoom/LeetCode-Solutions
85c034dfaf1455bcd69c19a2009197934d83f08e
[ "MIT" ]
4
2021-01-13T11:37:57.000Z
2021-01-17T04:56:46.000Z
solutions/1342/1342-kir3i.cpp
iknoom/LeetCode-Solutions
85c034dfaf1455bcd69c19a2009197934d83f08e
[ "MIT" ]
9
2021-01-21T11:16:29.000Z
2021-02-23T14:27:00.000Z
solutions/1342/1342-kir3i.cpp
iknoom/LeetCode-Solutions
85c034dfaf1455bcd69c19a2009197934d83f08e
[ "MIT" ]
14
2021-01-14T14:36:07.000Z
2021-02-05T09:17:10.000Z
class Solution { public: int numberOfSteps (int num) { if(!num) return 0; else if(num&1) return numberOfSteps(num - 1) + 1; else return numberOfSteps(num / 2) + 1; } };
24.444444
58
0.522727
iknoom
9d46b3015fe4635e409aad8a16c738eebad683ba
1,222
cpp
C++
Effective Debugging: 66 Specific Ways to Debug Software and Systems/src/jenkins/JobButton.cpp
juliagoda/BookProjects
d2c2da993cc9fcbfead696b78d3bf98c66e3373c
[ "Unlicense" ]
null
null
null
Effective Debugging: 66 Specific Ways to Debug Software and Systems/src/jenkins/JobButton.cpp
juliagoda/BookProjects
d2c2da993cc9fcbfead696b78d3bf98c66e3373c
[ "Unlicense" ]
null
null
null
Effective Debugging: 66 Specific Ways to Debug Software and Systems/src/jenkins/JobButton.cpp
juliagoda/BookProjects
d2c2da993cc9fcbfead696b78d3bf98c66e3373c
[ "Unlicense" ]
null
null
null
#include "JobButton.h" #include <JenkinsJobInfo.h> #include <QLabel> #include <QIcon> #include <QHBoxLayout> #include <QMouseEvent> namespace Jenkins { JobButton::JobButton(const JenkinsJobInfo &job, QWidget *parent) : QFrame(parent) , mJob(job) { mJob.name.replace("%2F", "/"); mJob.color.remove("_anime"...
24.938776
110
0.660393
juliagoda
9d4b7dd693d0a96dad26870ad29b207f96cd4717
8,192
hh
C++
cplusplus/wren_cc/common.hh
ASMlover/study
5878f862573061f94c5776a351e30270dfd9966a
[ "BSD-2-Clause" ]
22
2015-05-18T07:04:36.000Z
2021-08-02T03:01:43.000Z
cplusplus/wren_cc/common.hh
ASMlover/study
5878f862573061f94c5776a351e30270dfd9966a
[ "BSD-2-Clause" ]
1
2017-08-31T22:13:57.000Z
2017-09-05T15:00:25.000Z
cplusplus/wren_cc/common.hh
ASMlover/study
5878f862573061f94c5776a351e30270dfd9966a
[ "BSD-2-Clause" ]
6
2015-06-06T07:16:12.000Z
2021-07-06T13:45:56.000Z
// Copyright (c) 2019 ASMlover. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Redistributions of source code must retain the above copyright // notice, this list ofconditions and...
33.991701
81
0.700439
ASMlover
9d4d418618a3f1156c0efca5b457aa54f5fcc3b0
556
cpp
C++
tests/unique_ptr_custom.cpp
IvayloTsankov/mempool
f34e7e3d3a51a09f4be6a961ab6fbf1f71d1edf5
[ "MIT" ]
null
null
null
tests/unique_ptr_custom.cpp
IvayloTsankov/mempool
f34e7e3d3a51a09f4be6a961ab6fbf1f71d1edf5
[ "MIT" ]
null
null
null
tests/unique_ptr_custom.cpp
IvayloTsankov/mempool
f34e7e3d3a51a09f4be6a961ab6fbf1f71d1edf5
[ "MIT" ]
null
null
null
#include <memory> #include <utility> #include <functional> struct Vector { float x, y, z; }; struct Del { void del(Vector*) { printf("Call Del::del\n"); } }; int main() { { std::unique_ptr<Vector, std::function<void(Vector*)>> v(new Vector{ 1, 1, 1 }, [](Vector* p) { p...
17.375
86
0.523381
IvayloTsankov
9d51bd9f0a92d3a9c09c3453c4921aebcac59354
14,958
cpp
C++
src/public/src/ysgebl/src/kernelutil/ysshellext_splitop.cpp
rothberg-cmu/rothberg-run
a42df5ca9fae97de77753864f60d05295d77b59f
[ "MIT" ]
1
2019-08-10T00:24:09.000Z
2019-08-10T00:24:09.000Z
src/public/src/ysgebl/src/kernelutil/ysshellext_splitop.cpp
rothberg-cmu/rothberg-run
a42df5ca9fae97de77753864f60d05295d77b59f
[ "MIT" ]
null
null
null
src/public/src/ysgebl/src/kernelutil/ysshellext_splitop.cpp
rothberg-cmu/rothberg-run
a42df5ca9fae97de77753864f60d05295d77b59f
[ "MIT" ]
2
2019-05-01T03:11:10.000Z
2019-05-01T03:30:35.000Z
/* //////////////////////////////////////////////////////////// File Name: ysshellext_splitop.cpp Copyright (c) 2017 Soji Yamakawa. All rights reserved. http://www.ysflight.com Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are m...
24.888519
161
0.692138
rothberg-cmu
9d5919eacc1d12a185bd7dfc4419a58895d79047
3,781
hxx
C++
MicroBenchmarks/LCALS/SubsetDataA.hxx
Nuullll/llvm-test-suite
afbdd0a9ee7770e074708b68b34a6a5312bb0b36
[ "Apache-2.0" ]
70
2019-01-15T03:03:55.000Z
2022-03-28T02:16:13.000Z
MicroBenchmarks/LCALS/SubsetDataA.hxx
Nuullll/llvm-test-suite
afbdd0a9ee7770e074708b68b34a6a5312bb0b36
[ "Apache-2.0" ]
519
2020-09-15T07:40:51.000Z
2022-03-31T20:51:15.000Z
MicroBenchmarks/LCALS/SubsetDataA.hxx
Nuullll/llvm-test-suite
afbdd0a9ee7770e074708b68b34a6a5312bb0b36
[ "Apache-2.0" ]
117
2020-06-24T13:11:04.000Z
2022-03-23T15:44:23.000Z
// // See README-LCALS_license.txt for access and distribution restrictions // // // Header file defining macros, routines, structures used in Loop Subset A. // #ifndef SubsetDataA_HXX #define SubsetDataA_HXX // // Some macros used in kernels to mimic real code usage. // #define NDPTRSET(v,v0,v1,v2,v3,v4,v5,v6,v7) ...
22.372781
75
0.475536
Nuullll
9d5ae33db573d721c35a7d25dc478a6be1d4f306
207
hpp
C++
yac/lib/yac.hpp
chutsu/yac
789c8b4116197e3a4b0232568414eec5489836da
[ "MIT" ]
18
2020-04-29T17:25:44.000Z
2022-03-10T05:57:27.000Z
yac/lib/yac.hpp
chutsu/yac
789c8b4116197e3a4b0232568414eec5489836da
[ "MIT" ]
1
2021-06-26T04:44:13.000Z
2021-07-04T17:56:35.000Z
yac/lib/yac.hpp
chutsu/yac
789c8b4116197e3a4b0232568414eec5489836da
[ "MIT" ]
3
2020-07-15T18:04:26.000Z
2021-04-13T13:19:58.000Z
#include "core.hpp" #include "aprilgrid.hpp" #include "ceres_utils.hpp" #include "calib_data.hpp" #include "calib_params.hpp" #include "calib_mono.hpp" #include "calib_stereo.hpp" #include "calib_mocap.hpp"
23
27
0.768116
chutsu
9d5cbaa7701c94ef7fc554b9526d20b8543f16f6
1,113
cpp
C++
ExodusImport/Source/ExodusImport/Private/JsonObjects/JsonRigidbody.cpp
AldeRoberge/ProjectExodus
74ecd6c8719e6365b51458c65954bff2910bc36e
[ "BSD-3-Clause" ]
288
2019-04-02T08:02:59.000Z
2022-03-28T23:53:28.000Z
ExodusImport/Source/ExodusImport/Private/JsonObjects/JsonRigidbody.cpp
adamgoodrich/ProjectExodus
29a9fa87f981ad41e3b323702dc2b0d4523889d8
[ "BSD-3-Clause" ]
54
2019-04-19T08:24:05.000Z
2022-03-28T19:44:42.000Z
ExodusImport/Source/ExodusImport/Private/JsonObjects/JsonRigidbody.cpp
adamgoodrich/ProjectExodus
29a9fa87f981ad41e3b323702dc2b0d4523889d8
[ "BSD-3-Clause" ]
56
2019-04-07T03:55:39.000Z
2022-03-20T04:54:57.000Z
#include "JsonImportPrivatePCH.h" #include "JsonRigidbody.h" #include "macros.h" using namespace JsonObjects; JsonRigidbody::JsonRigidbody(JsonObjPtr data){ load(data); } void JsonRigidbody::load(JsonObjPtr data){ /*I should probably get rid of those helper macros due to reduced error checking...*/ JSON_GET_VAR(d...
25.883721
86
0.791554
AldeRoberge
9d5d291026ebc17df3c4dc9b3c522477f4e2933f
4,703
cpp
C++
app/src/main/cpp/src/MeshLoader.cpp
MickaelSERENO/SciVis_Android
8a8f49d1ac05f7fe559c562942d4eb4ca0e72f16
[ "MIT" ]
null
null
null
app/src/main/cpp/src/MeshLoader.cpp
MickaelSERENO/SciVis_Android
8a8f49d1ac05f7fe559c562942d4eb4ca0e72f16
[ "MIT" ]
null
null
null
app/src/main/cpp/src/MeshLoader.cpp
MickaelSERENO/SciVis_Android
8a8f49d1ac05f7fe559c562942d4eb4ca0e72f16
[ "MIT" ]
null
null
null
#include "MeshLoader.h" namespace sereno { MeshLoader* MeshLoader::loadFrom3DS(const std::string& path) { Lib3dsFile* file3ds = lib3ds_file_open(path.c_str()); if(!file3ds || !file3ds->meshes) { LOG_ERROR("Could not load properly the file %s\n", path.c_str()); if...
36.176923
125
0.473953
MickaelSERENO
9d5d30f769acc3c23f87e5c9875d59f3b69ce15f
17,404
cpp
C++
nau/src/nau/material/material.cpp
Khirion/nau
47a2ad8e0355a264cd507da5e7bba1bf7abbff95
[ "MIT" ]
29
2015-09-16T22:28:30.000Z
2022-03-11T02:57:36.000Z
nau/src/nau/material/material.cpp
Khirion/nau
47a2ad8e0355a264cd507da5e7bba1bf7abbff95
[ "MIT" ]
1
2017-03-29T13:32:58.000Z
2017-03-31T13:56:03.000Z
nau/src/nau/material/material.cpp
Khirion/nau
47a2ad8e0355a264cd507da5e7bba1bf7abbff95
[ "MIT" ]
10
2015-10-15T14:20:15.000Z
2022-02-17T10:37:29.000Z
#include "nau/material/material.h" #include "nau.h" #include "nau/slogger.h" #include "nau/debug/profile.h" #include "nau/material/uniformBlockManager.h" using namespace nau::material; using namespace nau::render; using namespace nau::resource; Material::Material() : m_Color (), //m_Texmat (0), m_Shader (NULL), ...
20.843114
127
0.675822
Khirion
9d5d32b2050f8f812e161fc6bbf624c6ea44dd9d
1,969
cpp
C++
src/core/correlationmatrix.cpp
mfayk/KINC
0f6565ce8e1102392382e4c716c128115b611f0c
[ "MIT" ]
10
2018-08-15T13:27:35.000Z
2020-12-10T17:20:40.000Z
src/core/correlationmatrix.cpp
mfayk/KINC
0f6565ce8e1102392382e4c716c128115b611f0c
[ "MIT" ]
182
2016-07-31T07:15:15.000Z
2022-01-30T01:25:41.000Z
src/core/correlationmatrix.cpp
mfayk/KINC
0f6565ce8e1102392382e4c716c128115b611f0c
[ "MIT" ]
7
2017-10-12T22:03:42.000Z
2020-02-26T00:01:18.000Z
#include "correlationmatrix.h" #include "correlationmatrix_model.h" #include "correlationmatrix_pair.h" /*! * Return a qt table model that represents this data object as a table. */ QAbstractTableModel* CorrelationMatrix::model() { EDEBUG_FUNC(this); if ( !_model ) { _model = new Model(this); ...
21.402174
115
0.663281
mfayk
9d5d48871ba785a309b1d82c63ed1dba6eda71a1
698
hpp
C++
src/camera.hpp
VeganPower/potato3d
4f0bacbd883f42be7c1acdf1f700045325512da2
[ "MIT" ]
null
null
null
src/camera.hpp
VeganPower/potato3d
4f0bacbd883f42be7c1acdf1f700045325512da2
[ "MIT" ]
1
2018-03-29T10:56:25.000Z
2018-03-29T11:00:57.000Z
src/camera.hpp
VeganPower/potato3d
4f0bacbd883f42be7c1acdf1f700045325512da2
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include "transformation.hpp" namespace potato { class Camera { public: typedef std::shared_ptr<Camera> ptr; Camera(); void transformation(Transformation const& p); Transformation const& transformation() const; f32 tan_half_fov() const; private: Transformation t_; ...
14.541667
59
0.700573
VeganPower
9d60486947ed7f7d700729fa869d1fb3753bc7aa
2,987
hpp
C++
src/spline2/MultiBsplineValue_BGQ.hpp
prckent/qmcpack
127caf219ee99c2449b803821fcc8b1304b66ee1
[ "NCSA" ]
null
null
null
src/spline2/MultiBsplineValue_BGQ.hpp
prckent/qmcpack
127caf219ee99c2449b803821fcc8b1304b66ee1
[ "NCSA" ]
null
null
null
src/spline2/MultiBsplineValue_BGQ.hpp
prckent/qmcpack
127caf219ee99c2449b803821fcc8b1304b66ee1
[ "NCSA" ]
null
null
null
////////////////////////////////////////////////////////////////////////////////////// // This file is distributed under the University of Illinois/NCSA Open Source License. // See LICENSE file in top directory for details. // // Copyright (c) 2016 Jeongnim Kim and QMCPACK developers. // // File developed by: Jeongnim ...
34.732558
108
0.554737
prckent
9d60de0c2359963f88991fa95853b16d75bb02dc
2,022
cc
C++
blades/mediatomb/src/zmm/object.cc
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
4
2016-04-26T03:43:54.000Z
2016-11-17T08:09:04.000Z
blades/mediatomb/src/zmm/object.cc
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
17
2015-01-05T21:06:22.000Z
2015-12-07T20:45:44.000Z
blades/mediatomb/src/zmm/object.cc
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
3
2016-04-26T03:43:55.000Z
2020-11-06T11:02:08.000Z
/*MT* MediaTomb - http://www.mediatomb.cc/ object.cc - this file is part of MediaTomb. Copyright (C) 2005 Gena Batyan <bgeradz@mediatomb.cc>, Sergey 'Jin' Bostandzhyan <jin@mediatomb.cc> Copyright (C) 2006-2010 Gena Batyan <bgeradz@mediatomb.cc>, ...
22.21978
78
0.66815
krattai
9d667cb4707efcd4045cf34eac597f7cd8a03877
1,439
cpp
C++
src/chart/speclayout/treemap.cpp
dyuri/vizzu-lib
e5eb4bee98445a85c0a6a61b820ad355851f38c8
[ "Apache-2.0" ]
1,159
2021-09-23T14:53:16.000Z
2022-03-30T21:23:41.000Z
src/chart/speclayout/treemap.cpp
dyuri/vizzu-lib
e5eb4bee98445a85c0a6a61b820ad355851f38c8
[ "Apache-2.0" ]
29
2021-10-05T13:28:01.000Z
2022-03-29T16:16:20.000Z
src/chart/speclayout/treemap.cpp
dyuri/vizzu-lib
e5eb4bee98445a85c0a6a61b820ad355851f38c8
[ "Apache-2.0" ]
47
2021-09-30T14:04:25.000Z
2022-02-21T16:01:58.000Z
#include "treemap.h" #include <algorithm> #include "base/math/interpolation.h" using namespace Vizzu; using namespace Vizzu::Charts; using namespace Geom; TreeMap::TreeMap(const std::vector<double> &sizes, const Point &p0, const Point &p1) { for (auto j = 0u; j < sizes.size(); j++) sums.push_back({ j, sizes[j] }...
21.477612
89
0.608756
dyuri
9d66aba8e3c327d02da94421a58bb54b6bcaced1
285
cpp
C++
src/13000/13241.cpp
upple/BOJ
e6dbf9fd17fa2b458c6a781d803123b14c18e6f1
[ "MIT" ]
8
2018-04-12T15:54:09.000Z
2020-06-05T07:41:15.000Z
src/13000/13241.cpp
upple/BOJ
e6dbf9fd17fa2b458c6a781d803123b14c18e6f1
[ "MIT" ]
null
null
null
src/13000/13241.cpp
upple/BOJ
e6dbf9fd17fa2b458c6a781d803123b14c18e6f1
[ "MIT" ]
null
null
null
#include <cstdio> #include <algorithm> typedef long long ll; ll gcd(ll a, ll b) { if (a < b) std::swap(a, b); while (a) { ll tmp = b % a; b = a; a = tmp; } return b; } int main() { ll a, b, m; scanf("%lld %lld", &a, &b); m = gcd(a, b); printf("%lld", (a / m)*b); }
10.961538
28
0.487719
upple
9d6a0d980860b3cc519658461272b44e3ee633a5
814
hpp
C++
Gpx/Gpx/Window/GlfwWindow.hpp
DexterDreeeam/DxtSdk2021
2dd8807b4ebe1d65221095191eaa7938bc5e9e78
[ "MIT" ]
1
2021-11-18T03:57:54.000Z
2021-11-18T03:57:54.000Z
Gpx/Gpx/Window/GlfwWindow.hpp
DexterDreeeam/P9
2dd8807b4ebe1d65221095191eaa7938bc5e9e78
[ "MIT" ]
null
null
null
Gpx/Gpx/Window/GlfwWindow.hpp
DexterDreeeam/P9
2dd8807b4ebe1d65221095191eaa7938bc5e9e78
[ "MIT" ]
null
null
null
#pragma once #define GLFW_INCLUDE_VULKAN #include "../../External/Vulkan/Windows/Header/glfw3.h" #include "../Runtime/Interface.hpp" namespace gpx { class runtime; class glfw_window : public window { friend class vulkan_runtime; public: glfw_window(const window_desc& desc, obs<runtime> rt); virtual ~g...
17.695652
58
0.673219
DexterDreeeam
9d6bf36c06605275a53bcb2ec3eeece2c6caa2f1
2,674
hpp
C++
core/plan/abstract_function_store.hpp
Yuzhen11/tangram
67b06a0d2b23c3e263044b6e4d293e263dae7a94
[ "Apache-2.0" ]
14
2019-05-14T05:26:45.000Z
2021-08-06T00:10:13.000Z
core/plan/abstract_function_store.hpp
animeshtrivedi/tangram
67b06a0d2b23c3e263044b6e4d293e263dae7a94
[ "Apache-2.0" ]
1
2021-11-10T13:24:29.000Z
2021-11-10T13:24:29.000Z
core/plan/abstract_function_store.hpp
animeshtrivedi/tangram
67b06a0d2b23c3e263044b6e4d293e263dae7a94
[ "Apache-2.0" ]
2
2019-05-10T03:02:06.000Z
2019-06-28T12:32:26.000Z
#pragma once #include <functional> #include <memory> #include "core/intermediate/abstract_intermediate_store.hpp" #include "core/map_output/abstract_map_output.hpp" #include "core/map_output/map_output_stream.hpp" #include "core/partition/abstract_partition.hpp" #include "core/cache/abstract_fetcher.hpp" #include "io...
50.45283
140
0.742708
Yuzhen11
9d6d802cee9fc387ad1a03df17cbb4fddc34eda4
5,713
hpp
C++
include/polynomial/polynomial.hpp
adityakadoo/CPPMatrixLib
de577017fcbbd3d7e960c71853b1fde65ec53dbb
[ "MIT" ]
null
null
null
include/polynomial/polynomial.hpp
adityakadoo/CPPMatrixLib
de577017fcbbd3d7e960c71853b1fde65ec53dbb
[ "MIT" ]
null
null
null
include/polynomial/polynomial.hpp
adityakadoo/CPPMatrixLib
de577017fcbbd3d7e960c71853b1fde65ec53dbb
[ "MIT" ]
null
null
null
#ifndef _POLYNOMIAL_H_ #define _POLYNOMIAL_H_ #include "../matrix/matrix.hpp" #include "../matrix/matrix_utility.hpp" template<typename T> class polynomial { public: // constructor with memory allocation polynomial(size_t d,T x=0) : D(d) { P.resize(d+1, 1, x); } // default constructor pol...
25.057018
75
0.437598
adityakadoo
9d6dc6ab2d7223a691e31895c2ed17549977a850
864
cpp
C++
Chapter 05: Complete Search/Part1 : Generating Subsets/generatingsubsets_method2.cpp
pulkit1joshi/handbook_codes
4ddbd5eb53807cf93f8bae910e732e58af46d842
[ "MIT" ]
18
2020-11-26T02:26:33.000Z
2022-03-24T02:36:22.000Z
Chapter 05: Complete Search/Part1 : Generating Subsets/generatingsubsets_method2.cpp
abdullah-azab/handbook_codes
4ddbd5eb53807cf93f8bae910e732e58af46d842
[ "MIT" ]
1
2021-03-02T07:52:48.000Z
2021-03-02T07:52:48.000Z
Chapter 05: Complete Search/Part1 : Generating Subsets/generatingsubsets_method2.cpp
abdullah-azab/handbook_codes
4ddbd5eb53807cf93f8bae910e732e58af46d842
[ "MIT" ]
2
2020-11-26T02:26:35.000Z
2021-11-26T11:19:09.000Z
#include <bits/stdc++.h> using namespace std; /* Generating Subsets : Method 2 You are given a set of numbers : {0 , 1 , 2 , 3 , 4} You have to find all the subsets of this set. */ int n; int A[100]; void search() { // 1 << n means 2^n i.e this number of combinations are possible // Now 2^n will take n bits ...
19.636364
86
0.493056
pulkit1joshi
9d6de54959618449bbb8c995ef787f1cbe1daa81
681
cpp
C++
owGameMap/Sky_Material.cpp
fan3750060/OpenWow
28925ebed1b3503d88014f6a3a7bd8adc777fdcc
[ "Apache-2.0" ]
null
null
null
owGameMap/Sky_Material.cpp
fan3750060/OpenWow
28925ebed1b3503d88014f6a3a7bd8adc777fdcc
[ "Apache-2.0" ]
null
null
null
owGameMap/Sky_Material.cpp
fan3750060/OpenWow
28925ebed1b3503d88014f6a3a7bd8adc777fdcc
[ "Apache-2.0" ]
1
2020-03-30T03:22:38.000Z
2020-03-30T03:22:38.000Z
#include "stdafx.h" // General #include "Sky_Material.h" Sky_Material::Sky_Material() : MaterialWrapper(_RenderDevice->CreateMaterial()) { std::shared_ptr<Shader> g_pVertexShader = _RenderDevice->CreateShader( Shader::VertexShader, "shaders_D3D/Sky.hlsl", Shader::ShaderMacros(), "VS_main", "latest" ); g_pVer...
26.192308
91
0.754772
fan3750060
9d6e36e5cde619703fdf2cae129b1274e13a2192
460
cpp
C++
meshler/source/Interactors/CommandInteractor.cpp
timow-gh/FilApp
02ec78bf617fb78d872b2adceeb8a8351aa8f408
[ "Apache-2.0" ]
null
null
null
meshler/source/Interactors/CommandInteractor.cpp
timow-gh/FilApp
02ec78bf617fb78d872b2adceeb8a8351aa8f408
[ "Apache-2.0" ]
null
null
null
meshler/source/Interactors/CommandInteractor.cpp
timow-gh/FilApp
02ec78bf617fb78d872b2adceeb8a8351aa8f408
[ "Apache-2.0" ]
null
null
null
#include <Meshler/Interactors/CommandInteractor.hpp> #include <Meshler/MController.hpp> namespace Meshler { CommandInteractor::CommandInteractor(MController& controller) : m_controller(&controller) { } void CommandInteractor::onEvent(const Graphics::KeyEvent& keyEvent) { if (auto nextInteractorCommand = m_intera...
25.555556
93
0.797826
timow-gh
9d6fb6435f315a375d36ab412baf2425ae35db29
7,436
cpp
C++
LevelHEngine/Components/ModelComponent.cpp
JSlowgrove/LevelHEngine-GEP-Assignment-2
dedbd8e3a3314b27841fee36cc3c251a90c80e5d
[ "MIT" ]
null
null
null
LevelHEngine/Components/ModelComponent.cpp
JSlowgrove/LevelHEngine-GEP-Assignment-2
dedbd8e3a3314b27841fee36cc3c251a90c80e5d
[ "MIT" ]
null
null
null
LevelHEngine/Components/ModelComponent.cpp
JSlowgrove/LevelHEngine-GEP-Assignment-2
dedbd8e3a3314b27841fee36cc3c251a90c80e5d
[ "MIT" ]
null
null
null
#include "ModelComponent.h" #include "TransformComponent.h" #include "CameraComponent.h" #include "GL/glew.h" #include "../ResourceManagement/ResourceManager.h" #include "../Maths/Mat4.h" #include "../Core/Logging.h" #include "../Rendering/OpenGLRendering.h" ModelComponent::~ModelComponent() { } void ModelComponent:...
24.704319
107
0.715573
JSlowgrove
9d71cb630c4a2b418c9850d9b403295f5a74d91a
574
cpp
C++
c++/excel_sheet_column_title.cpp
SongZhao/leetcode
4a2b4f554e91f6a2167b336f8a69b80fa9f3f920
[ "Apache-2.0" ]
null
null
null
c++/excel_sheet_column_title.cpp
SongZhao/leetcode
4a2b4f554e91f6a2167b336f8a69b80fa9f3f920
[ "Apache-2.0" ]
null
null
null
c++/excel_sheet_column_title.cpp
SongZhao/leetcode
4a2b4f554e91f6a2167b336f8a69b80fa9f3f920
[ "Apache-2.0" ]
null
null
null
/* Given a positive integer, return its corresponding column title as appear in an Excel sheet. For example: 1 -> A 2 -> B 3 -> C ... 26 -> Z 27 -> AA 28 -> AB */ /* * */ #include "helper.h" class Solution { public: string convertToTitle(int n) { string res; while (...
14.35
92
0.468641
SongZhao
9d72e5973e0c77ec6d36e7a4797c223f5d28ed49
1,437
hpp
C++
pythran/pythonic/numpy/copy.hpp
Pikalchemist/Pythran
17d4108b56b3b365e089a4e1b01a09eb7e12942b
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/numpy/copy.hpp
Pikalchemist/Pythran
17d4108b56b3b365e089a4e1b01a09eb7e12942b
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/numpy/copy.hpp
Pikalchemist/Pythran
17d4108b56b3b365e089a4e1b01a09eb7e12942b
[ "BSD-3-Clause" ]
1
2017-03-12T20:32:36.000Z
2017-03-12T20:32:36.000Z
#ifndef PYTHONIC_NUMPY_COPY_HPP #define PYTHONIC_NUMPY_COPY_HPP #include "pythonic/utils/proxy.hpp" #include "pythonic/utils/numpy_conversion.hpp" #include "pythonic/types/ndarray.hpp" #include "pythonic/types/ndarray.hpp" namespace pythonic { namespace numpy { // list case template<class E> ...
29.9375
126
0.544885
Pikalchemist
9d761c433f1ba80f04b598ab74fd262121d9c126
929
cpp
C++
src/utils/splitStrByDelimTest.cpp
lunalabsltd/fontbm
6db91d9d898ae8273d8676a5d2d71b2362466f23
[ "MIT" ]
148
2018-01-22T08:59:11.000Z
2022-03-29T05:12:49.000Z
src/utils/splitStrByDelimTest.cpp
lunalabsltd/fontbm
6db91d9d898ae8273d8676a5d2d71b2362466f23
[ "MIT" ]
18
2017-09-21T15:41:26.000Z
2022-03-10T12:08:39.000Z
src/utils/splitStrByDelimTest.cpp
lunalabsltd/fontbm
6db91d9d898ae8273d8676a5d2d71b2362466f23
[ "MIT" ]
21
2017-12-12T20:01:08.000Z
2022-02-17T20:56:51.000Z
#include "../external/catch.hpp" #include "splitStrByDelim.h" TEST_CASE("splitStrByDelim") { { std::vector<std::string> r = splitStrByDelim("1-2", '-'); REQUIRE(r.size() == 2); REQUIRE(r[0] == "1"); REQUIRE(r[1] == "2"); } { std::vector<std::string> r = splitStrByDe...
23.820513
70
0.420883
lunalabsltd
9d7e1da53bb71b08d84ee8d85e55df5c9171a970
2,586
cpp
C++
src/wamr/pthread.cpp
n-krueger/faasm
093cb032a3d938d3a41d8aa9644bb5efbc632a95
[ "Apache-2.0" ]
null
null
null
src/wamr/pthread.cpp
n-krueger/faasm
093cb032a3d938d3a41d8aa9644bb5efbc632a95
[ "Apache-2.0" ]
null
null
null
src/wamr/pthread.cpp
n-krueger/faasm
093cb032a3d938d3a41d8aa9644bb5efbc632a95
[ "Apache-2.0" ]
null
null
null
#include <wamr/native.h> #include <wasm_export.h> #include <faabric/util/logging.h> namespace wasm { // ------------------------------------------- // 14/04/21 - WAMR threading not implemented // All of these functions are stubbed as threading with WAMR isn't yet // implemented. Once it is, we will need to implement...
31.536585
80
0.606342
n-krueger
9d8042c726501c50802a7e332e5bba6356af9ff4
5,523
cpp
C++
thirdparty/instant-meshes/instant-meshes-dust3d/src/subdivide.cpp
MelvinG24/dust3d
c4936fd900a9a48220ebb811dfeaea0effbae3ee
[ "MIT" ]
2,392
2016-12-17T14:14:12.000Z
2022-03-30T19:40:40.000Z
thirdparty/instant-meshes/instant-meshes-dust3d/src/subdivide.cpp
MelvinG24/dust3d
c4936fd900a9a48220ebb811dfeaea0effbae3ee
[ "MIT" ]
106
2018-04-19T17:47:31.000Z
2022-03-01T19:44:11.000Z
thirdparty/instant-meshes/instant-meshes-dust3d/src/subdivide.cpp
MelvinG24/dust3d
c4936fd900a9a48220ebb811dfeaea0effbae3ee
[ "MIT" ]
184
2017-11-15T09:55:37.000Z
2022-02-21T16:30:46.000Z
/* subdivide.cpp: Subdivides edges in a triangle mesh until all edges are below a specified maximum length This file is part of the implementation of Instant Field-Aligned Meshes Wenzel Jakob, Daniele Panozzo, Marco Tarini, and Olga Sorkine-Hornung In ACM Transactions on Graphics (...
30.346154
88
0.491219
MelvinG24
9d80a5e5c7e44411061b2953089b1005145388b0
1,822
cpp
C++
Source/web/tests/WebDocumentTest.cpp
quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_WebKit
20e637e67a0c272870ae4d78466a68bcb77af041
[ "BSD-3-Clause" ]
null
null
null
Source/web/tests/WebDocumentTest.cpp
quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_WebKit
20e637e67a0c272870ae4d78466a68bcb77af041
[ "BSD-3-Clause" ]
null
null
null
Source/web/tests/WebDocumentTest.cpp
quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_WebKit
20e637e67a0c272870ae4d78466a68bcb77af041
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "config.h" #include "public/web/WebDocument.h" #include "core/CSSPropertyNames.h" #include "core/dom/Document.h" #include "core/dom/NodeRenderS...
28.920635
99
0.739297
quanganh2627
9d82ca5776e0c538827b2aba32931e1663e7c167
1,278
cc
C++
FiniteElementSpace/Methods/FiniteVolume/fv_mapping_00_general.cc
Naktakala/FESpace
5d0e7aebdf17f5da233d97983a2535737207c7df
[ "MIT" ]
null
null
null
FiniteElementSpace/Methods/FiniteVolume/fv_mapping_00_general.cc
Naktakala/FESpace
5d0e7aebdf17f5da233d97983a2535737207c7df
[ "MIT" ]
null
null
null
FiniteElementSpace/Methods/FiniteVolume/fv_mapping_00_general.cc
Naktakala/FESpace
5d0e7aebdf17f5da233d97983a2535737207c7df
[ "MIT" ]
null
null
null
#include "fv_mapping.h" #include "ChiMesh/MeshContinuum/chi_meshcontinuum.h" #include "ChiMesh/chi_mesh_utils.h" using namespace chi_math::finite_element; //################################################################### /**Constructs a Finite Volume mapping of a cell.*/ FiniteVolume:: FiniteVolume(const chi_m...
29.72093
78
0.598592
Naktakala
9d82d37ffe0d65cbc32e5e293b0645f032a51a86
1,320
hpp
C++
scipy/optimize/_highs/external/filereaderlp/model.hpp
Ennosigaeon/scipy
2d872f7cf2098031b9be863ec25e366a550b229c
[ "BSD-3-Clause" ]
3
2021-12-15T10:06:16.000Z
2022-02-08T19:55:58.000Z
scipy/optimize/_highs/external/filereaderlp/model.hpp
Ennosigaeon/scipy
2d872f7cf2098031b9be863ec25e366a550b229c
[ "BSD-3-Clause" ]
44
2019-06-27T15:56:14.000Z
2022-03-15T22:21:10.000Z
scipy/optimize/_highs/external/filereaderlp/model.hpp
Ennosigaeon/scipy
2d872f7cf2098031b9be863ec25e366a550b229c
[ "BSD-3-Clause" ]
4
2019-07-25T01:57:45.000Z
2021-04-29T06:54:23.000Z
#ifndef __READERLP_MODEL_HPP__ #define __READERLP_MODEL_HPP__ #include <limits> #include <memory> #include <string> #include <vector> enum class VariableType { CONTINUOUS, BINARY, GENERAL, SEMICONTINUOUS }; enum class ObjectiveSense { MIN, MAX }; struct Variable { VariableType type = VariableTy...
20.625
71
0.699242
Ennosigaeon
9d8343e1fc243ad7e8bd42b8ccc33a1d8ef097a0
531
cpp
C++
CC/CF/Good Subarrays.cpp
MrRobo24/Codes
9513f42b61e898577123d5b996e43ba7a067a019
[ "MIT" ]
1
2020-10-12T08:03:20.000Z
2020-10-12T08:03:20.000Z
CC/CF/Good Subarrays.cpp
MrRobo24/Codes
9513f42b61e898577123d5b996e43ba7a067a019
[ "MIT" ]
null
null
null
CC/CF/Good Subarrays.cpp
MrRobo24/Codes
9513f42b61e898577123d5b996e43ba7a067a019
[ "MIT" ]
null
null
null
//TLE #include <bits/stdc++.h> #define LLI long long using namespace std; int main() { LLI t; cin >> t; while (t--) { LLI n; cin >> n; string s; cin >> s; vector<LLI> arr; for (LLI i=0;i<n;i++) { arr.push_back(s[i] - '0'); } LLI...
14.75
38
0.39548
MrRobo24
9d8cbaff66c5937dcdfd2cda82681aa6d51fe300
383
cc
C++
test/stl/forward_list.cc
Alexhuszagh/funxx
9f6c1fae92d96a84282fc62be272f4dc1e1dba9b
[ "MIT", "BSD-3-Clause" ]
1
2017-07-21T22:58:38.000Z
2017-07-21T22:58:38.000Z
test/stl/forward_list.cc
Alexhuszagh/funxx
9f6c1fae92d96a84282fc62be272f4dc1e1dba9b
[ "MIT", "BSD-3-Clause" ]
null
null
null
test/stl/forward_list.cc
Alexhuszagh/funxx
9f6c1fae92d96a84282fc62be272f4dc1e1dba9b
[ "MIT", "BSD-3-Clause" ]
null
null
null
// :copyright: (c) 2017 Alex Huszagh. // :license: MIT, see LICENSE.md for more details. /* * \addtogroup Tests * \brief STL forward_list alias unittests. */ #include <pycpp/stl/forward_list.h> #include <gtest/gtest.h> PYCPP_USING_NAMESPACE // TESTS // ----- TEST(forward_list, forward_list) { using forwa...
18.238095
51
0.697128
Alexhuszagh
9d8cdcdc3f0c7bfb50b08797b36e7e3800833873
1,301
cpp
C++
2015/25/main.cpp
adrian-stanciu/adventofcode
47b3d12226b0c71fff485ef140cd7731c9a5d72f
[ "MIT" ]
null
null
null
2015/25/main.cpp
adrian-stanciu/adventofcode
47b3d12226b0c71fff485ef140cd7731c9a5d72f
[ "MIT" ]
null
null
null
2015/25/main.cpp
adrian-stanciu/adventofcode
47b3d12226b0c71fff485ef140cd7731c9a5d72f
[ "MIT" ]
null
null
null
#include <iostream> #include <regex> #include <string> auto read_position() { static const std::regex re{R"(\s+Enter the code at row ([1-9][0-9]*), column ([1-9][0-9]*).)"}; static const auto to_number = [] (const auto& s) { return strtol(s.data(), nullptr, 10); }; std::string line; getli...
20.015385
99
0.619523
adrian-stanciu
9d8df8659c3330ef6451388045664d67ba3ab292
842
cpp
C++
engine/Engine/src/graphics/shader/ShaderType.cpp
ZieIony/Ghurund
be84166ef0aba5556910685b7a3b754b823da556
[ "MIT" ]
66
2018-12-16T21:03:36.000Z
2022-03-26T12:23:57.000Z
engine/Engine/src/graphics/shader/ShaderType.cpp
ZieIony/Ghurund
be84166ef0aba5556910685b7a3b754b823da556
[ "MIT" ]
57
2018-04-24T20:53:01.000Z
2021-02-21T12:14:20.000Z
engine/Engine/src/graphics/shader/ShaderType.cpp
ZieIony/Ghurund
be84166ef0aba5556910685b7a3b754b823da556
[ "MIT" ]
7
2019-07-16T08:25:25.000Z
2022-03-21T08:29:46.000Z
#include "ghpch.h" #include "ShaderType.h" namespace Ghurund { const ShaderType &ShaderType::VS = ShaderType(1, "vs", "vertexMain", D3D12_SHADER_VISIBILITY_VERTEX); const ShaderType &ShaderType::PS = ShaderType(2, "ps", "pixelMain", D3D12_SHADER_VISIBILITY_PIXEL); const ShaderType &ShaderType::GS = ShaderT...
64.769231
141
0.745843
ZieIony
9d8f43f62d0556a2e29d947d6dc708a8009b3931
1,630
cpp
C++
parse/tests/parser_unittest.cpp
jpatton-USGS/neic-glass3
52ab2eabd5d5d97c9d74f44c462aec7e88e51899
[ "CC0-1.0" ]
9
2019-02-18T09:08:43.000Z
2021-08-25T13:59:15.000Z
parse/tests/parser_unittest.cpp
jpatton-USGS/neic-glass3
52ab2eabd5d5d97c9d74f44c462aec7e88e51899
[ "CC0-1.0" ]
65
2017-12-06T16:01:11.000Z
2021-06-10T15:24:23.000Z
parse/tests/parser_unittest.cpp
jpatton-USGS/neic-glass3
52ab2eabd5d5d97c9d74f44c462aec7e88e51899
[ "CC0-1.0" ]
7
2017-12-04T20:21:28.000Z
2021-12-01T15:59:40.000Z
#include <parser.h> #include <gtest/gtest.h> #include <string> #include <memory> #define TESTAGENCYID "US" #define TESTAUTHOR "glasstest" // glass3::parse::Parser is an abstract class and // must be derived into a concrete class before use. class parserstub : public glass3::parse::Parser { public: parserstub() ...
25.076923
74
0.715337
jpatton-USGS
9d982be45559d04533ede9e5ea40e5e0b2806964
39,011
hh
C++
TswDps/Skills.hh
Philip-Trettner/tsw-optimal-dps
512ba96066b850d4a1bcdbaaac4718f95bbe7bd7
[ "MIT" ]
null
null
null
TswDps/Skills.hh
Philip-Trettner/tsw-optimal-dps
512ba96066b850d4a1bcdbaaac4718f95bbe7bd7
[ "MIT" ]
null
null
null
TswDps/Skills.hh
Philip-Trettner/tsw-optimal-dps
512ba96066b850d4a1bcdbaaac4718f95bbe7bd7
[ "MIT" ]
1
2021-12-16T20:53:51.000Z
2021-12-16T20:53:51.000Z
#pragma once #include "Skill.hh" /** * @brief Skill library * * For scalings see https://docs.google.com/spreadsheets/d/1z9b23xHPNQuqmZ5t51SeIMq2rlI6d8mPyWp9BmGNxjc/ */ struct Skills { public: private: template <Weapon weapon, DmgType dmgtype> struct Base { protected: Base() = delete; ...
31.384553
104
0.488529
Philip-Trettner
9d9d5b7473894407a4608b205be216e53d7cc87b
839
hpp
C++
Core/src/Core/Texture/TextureGL.hpp
Zephilinox/Ricochet
9ace649ecb1ccc0fa6e8b8d35b449676452d0616
[ "Unlicense" ]
null
null
null
Core/src/Core/Texture/TextureGL.hpp
Zephilinox/Ricochet
9ace649ecb1ccc0fa6e8b8d35b449676452d0616
[ "Unlicense" ]
null
null
null
Core/src/Core/Texture/TextureGL.hpp
Zephilinox/Ricochet
9ace649ecb1ccc0fa6e8b8d35b449676452d0616
[ "Unlicense" ]
null
null
null
#pragma once //SELF //LIBS //STD #include <array> #include <vector> #include <functional> namespace core { struct Pixel { std::uint8_t r = 0; std::uint8_t g = 0; std::uint8_t b = 0; std::uint8_t a = 0; }; class TextureGL { public: TextureGL(); void load(std::vector<Pixel> pixels, unsigned ...
18.644444
82
0.66031
Zephilinox
9d9e74482cc40aa003ecdb937db3342304fe3021
275
cpp
C++
3rdparty/ImagingEngineLib/data/light.cpp
jia1000/DW_Client_CTA_Multi_Tab
3f69c8354dd37f3c8bbeaefc28a2e643bcdb1ee1
[ "MIT" ]
4
2021-05-17T19:33:22.000Z
2022-03-09T12:48:58.000Z
3rdparty/ImagingEngineLib/data/light.cpp
jia1000/DW_Client_CTA_Multi_Tab
3f69c8354dd37f3c8bbeaefc28a2e643bcdb1ee1
[ "MIT" ]
null
null
null
3rdparty/ImagingEngineLib/data/light.cpp
jia1000/DW_Client_CTA_Multi_Tab
3f69c8354dd37f3c8bbeaefc28a2e643bcdb1ee1
[ "MIT" ]
null
null
null
#pragma once #include "light.h" using namespace DW::IMAGE; using namespace std; Light::Light() { } Light::~Light() { } void Light::SetLight(vtkSmartPointer<vtkLight> light) { vtk_light_ = light; } vtkSmartPointer<vtkLight> Light::GetLight() { return vtk_light_; }
10.576923
54
0.701818
jia1000
9d9f4774146b0346c153bb9a314f94f24e4b1ffb
343
hpp
C++
src/include/translate.hpp
VedantParanjape/hack-assembler
59e4bc8ec7933df42da108d3313d8a303e513253
[ "MIT" ]
1
2020-04-06T14:59:30.000Z
2020-04-06T14:59:30.000Z
src/include/translate.hpp
VedantParanjape/hack-assembler
59e4bc8ec7933df42da108d3313d8a303e513253
[ "MIT" ]
null
null
null
src/include/translate.hpp
VedantParanjape/hack-assembler
59e4bc8ec7933df42da108d3313d8a303e513253
[ "MIT" ]
null
null
null
#ifndef TRANSLATE_HPP #define TRANSLATE_HPP #include <vector> #include <string> #include <bitset> #include <map> #include "util.hpp" std::string translate_a_instructions(std::string instruction); std::string translate_c_instructions(std::string instruction); std::vector<std::string> translate(std::vector<std::string>...
24.5
74
0.784257
VedantParanjape
9d9fe9e904353666f2eff93c607d1edb72acfe0b
43,319
cpp
C++
src/OBJECTS/Obj.cpp
Seideman-Group/chiML
9ace5dccdbc6c173e8383f6a31ff421b4fefffdf
[ "MIT" ]
1
2019-04-27T05:25:27.000Z
2019-04-27T05:25:27.000Z
src/OBJECTS/Obj.cpp
Seideman-Group/chiML
9ace5dccdbc6c173e8383f6a31ff421b4fefffdf
[ "MIT" ]
null
null
null
src/OBJECTS/Obj.cpp
Seideman-Group/chiML
9ace5dccdbc6c173e8383f6a31ff421b4fefffdf
[ "MIT" ]
2
2019-04-03T10:08:21.000Z
2019-09-30T22:40:28.000Z
/** @file OBJECTS/Obj.cpp * @brief Class that stores all object/material information * * A class that determines if a grid point is inside the object, stores the material parameters, and * finds the gradient to determine the surface normal vector. * * @author Thomas A. Purcell (tpurcell90) * @bug No known b...
49.394527
420
0.619266
Seideman-Group
9da2a8d7e37201fb04c8db639dbc4318fec1fdad
7,363
cpp
C++
VideoCube/VideoCubeCV/libs/app7-master/3PartyLibs/qwt-6.1.4/examples/legends/panel.cpp
Kvazikot/VideoProjects
899cd047dd791b0e2f33d40cf6e11fe949333329
[ "MIT" ]
1
2021-06-23T08:41:55.000Z
2021-06-23T08:41:55.000Z
VideoCube/VideoCubeCV/libs/app7-master/3PartyLibs/qwt-6.1.4/examples/legends/panel.cpp
Kvazikot/VideoProjects
899cd047dd791b0e2f33d40cf6e11fe949333329
[ "MIT" ]
null
null
null
VideoCube/VideoCubeCV/libs/app7-master/3PartyLibs/qwt-6.1.4/examples/legends/panel.cpp
Kvazikot/VideoProjects
899cd047dd791b0e2f33d40cf6e11fe949333329
[ "MIT" ]
null
null
null
#include "panel.h" #include "settings.h" #include <qcheckbox.h> #include <qspinbox.h> #include <qcombobox.h> #include <qgroupbox.h> #include <qlayout.h> #include <qlabel.h> #include <qlineedit.h> #include <qwt_plot.h> #include <qwt_plot_legenditem.h> Panel::Panel( QWidget *parent ): QWidget( parent ) { // crea...
33.930876
75
0.674046
Kvazikot
9da3b09e1a93b0754c74478164e21ecc778a5ab5
3,174
cpp
C++
files/win32/MyProgram.cpp
keejelo/c_cpp_wrappers
d330999319effe88b6279fbc84de0db5a2da04fe
[ "MIT" ]
null
null
null
files/win32/MyProgram.cpp
keejelo/c_cpp_wrappers
d330999319effe88b6279fbc84de0db5a2da04fe
[ "MIT" ]
null
null
null
files/win32/MyProgram.cpp
keejelo/c_cpp_wrappers
d330999319effe88b6279fbc84de0db5a2da04fe
[ "MIT" ]
null
null
null
//--------------------------------------------------------------------------------------------- // ** MyProgram.cpp (template) //--------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------...
37.341176
96
0.122873
keejelo
9da7e5986a644987832bbb833567d0a0ae347426
1,152
cpp
C++
Leetcode/String/sort-characters-by-frequency.cpp
susantabiswas/competitive_coding
49163ecdc81b68f5c1bd90988cc0dfac34ad5a31
[ "MIT" ]
2
2021-04-29T14:44:17.000Z
2021-10-01T17:33:22.000Z
Leetcode/String/sort-characters-by-frequency.cpp
adibyte95/competitive_coding
a6f084d71644606c21840875bad78d99f678a89d
[ "MIT" ]
null
null
null
Leetcode/String/sort-characters-by-frequency.cpp
adibyte95/competitive_coding
a6f084d71644606c21840875bad78d99f678a89d
[ "MIT" ]
1
2021-10-01T17:33:29.000Z
2021-10-01T17:33:29.000Z
/* https://leetcode.com/problems/sort-characters-by-frequency/ TC: O(N), SC: O(1) Sorting 256 chars is constant + linear traversal */ class Solution { public: string frequencySort(string s) { // (char, frequency) vector<pair<int, int>> char_freq(256); for(int i = 0; i < char...
29.538462
67
0.493924
susantabiswas
9da85d29f03c6d235c353b11fc41eb1872a07c5e
692
cpp
C++
Tools/file/Archive.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
5
2019-09-17T09:12:15.000Z
2021-05-29T10:54:39.000Z
Tools/file/Archive.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
null
null
null
Tools/file/Archive.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
2
2021-07-26T06:36:12.000Z
2022-01-23T15:20:30.000Z
void CArchiveDlg::OnButtonWrite() { CFile file("demo.txt", CFile::modeCreate | CFile::modeWrite); CArchive ar(&file,CArchive::store); // 定义一个存档对象 int idata = 100; char ch = 'a'; double fdata = 12.12; CString str = "lishuyu"; ar << idata << ch << fdata << str; // 写入数据 MessageBox("Write success", "title",MB_OKC...
26.615385
71
0.674855
liangjisheng
9dabe1d4d4d94f67d267e0d54f58eb76c97c761c
536
cpp
C++
DecodeWays.cpp
yplusplus/LeetCode
122bd31b291af1e97ee4e9349a8e65bba6e04c96
[ "MIT" ]
3
2017-11-27T03:01:50.000Z
2021-03-13T08:14:00.000Z
DecodeWays.cpp
yplusplus/LeetCode
122bd31b291af1e97ee4e9349a8e65bba6e04c96
[ "MIT" ]
null
null
null
DecodeWays.cpp
yplusplus/LeetCode
122bd31b291af1e97ee4e9349a8e65bba6e04c96
[ "MIT" ]
null
null
null
class Solution { public: bool check(char a, char b) { if (a == '1') return true; if (a == '2' && b <= '6') return true; return false; } int numDecodings(string s) { if (s.length() == 0) return 0; vector<int> dp(s.length() + 1, 0); dp[0] = 1; for (int i...
28.210526
52
0.384328
yplusplus
9dae75ade553c29842a0fc35a9b07e7ad7a74d16
1,369
cpp
C++
CProgramming/Syntax (Lab 8)/Syntax/Syntax.cpp
KvanTTT/Education
e9dc00bfc25ccf0e25c4e7ec187bccb680f126f9
[ "MIT" ]
1
2018-04-06T19:47:37.000Z
2018-04-06T19:47:37.000Z
CProgramming/Syntax (Lab 8)/Syntax/Syntax.cpp
KvanTTT/Education
e9dc00bfc25ccf0e25c4e7ec187bccb680f126f9
[ "MIT" ]
null
null
null
CProgramming/Syntax (Lab 8)/Syntax/Syntax.cpp
KvanTTT/Education
e9dc00bfc25ccf0e25c4e7ec187bccb680f126f9
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "pol.h" #include <iostream> using namespace std; int enter_size(); char *enter_symbols(int &size); int *enter_numbers(int &size); char *enter_expression(); void main(void) { int size; char *str = NULL; char *dstr = NULL; char *symbols = NULL; int *numbers = NULL; while (1) { ...
17.551282
75
0.598247
KvanTTT
9db771ef7a346888dc281b44f5ba4945dd06e884
410
hpp
C++
Oscillators/SinWave.hpp
jamestiller/Rain
1e55d90065be7ada9455029ad735dd285e7d2266
[ "Zlib" ]
1
2016-04-05T12:20:47.000Z
2016-04-05T12:20:47.000Z
Oscillators/SinWave.hpp
jamestiller/Rain
1e55d90065be7ada9455029ad735dd285e7d2266
[ "Zlib" ]
null
null
null
Oscillators/SinWave.hpp
jamestiller/Rain
1e55d90065be7ada9455029ad735dd285e7d2266
[ "Zlib" ]
null
null
null
// // SinWave.hpp // Rain // // Created by James Tiller on 2/25/16. // // #ifndef SinWave_hpp #define SinWave_hpp #include <stdio.h> #include "IWave.hpp" class SinWave : public IWave { public: friend class Oscillator; protected: SinWave() : IWave() { updateIncrement(); }; virtual void generate(do...
14.642857
55
0.656098
jamestiller
9dbc3fea2fb7076bf8259d701c1e6dfb5a07ef6a
1,816
cpp
C++
EditWidgets/CheckBox.cpp
sielicki/PothosFlow
61487651f3718fc75fd2da6ef36e90c8537c8dd3
[ "BSL-1.0" ]
null
null
null
EditWidgets/CheckBox.cpp
sielicki/PothosFlow
61487651f3718fc75fd2da6ef36e90c8537c8dd3
[ "BSL-1.0" ]
null
null
null
EditWidgets/CheckBox.cpp
sielicki/PothosFlow
61487651f3718fc75fd2da6ef36e90c8537c8dd3
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2017-2017 Josh Blum // SPDX-License-Identifier: BSL-1.0 #include <Pothos/Plugin.hpp> #include <QJsonObject> #include <QJsonArray> #include <QCheckBox> /*********************************************************************** * Check box with labels ***************************************************...
25.222222
96
0.558921
sielicki
9dbe6c9252209cf4541f8b45480ebf5f62357b67
1,585
cc
C++
test.cc
raymond-w-ko/xkokokeys
45a2a4b8cd6964c5f623bf09b4918fe113fda559
[ "MIT" ]
null
null
null
test.cc
raymond-w-ko/xkokokeys
45a2a4b8cd6964c5f623bf09b4918fe113fda559
[ "MIT" ]
null
null
null
test.cc
raymond-w-ko/xkokokeys
45a2a4b8cd6964c5f623bf09b4918fe113fda559
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstdlib> #include <cstring> #include <fcntl.h> #include <linux/input.h> #include <linux/uinput.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> class VirtualKeyboard { public: VirtualKeyboard() { ssize_t ret; fd_ = open("/dev/uinput", O_WRONLY | O_NONBLOCK); ...
18.218391
74
0.572871
raymond-w-ko
9dbf7f57d091a57739a12ce9e64c5061e73216ad
3,886
cpp
C++
third_party/WebKit/Source/bindings/core/v8/JSONValuesForV8.cpp
Wzzzx/chromium-crosswalk
768dde8efa71169f1c1113ca6ef322f1e8c9e7de
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2019-01-28T08:09:58.000Z
2021-11-15T15:32:10.000Z
third_party/WebKit/Source/bindings/core/v8/JSONValuesForV8.cpp
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/bindings/core/v8/JSONValuesForV8.cpp
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
6
2020-09-23T08:56:12.000Z
2021-11-18T03:40:49.000Z
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "bindings/core/v8/JSONValuesForV8.h" #include "bindings/core/v8/ExceptionState.h" #include "bindings/core/v8/ScriptState.h" #include "bindings/c...
37.365385
128
0.61683
Wzzzx
9dc08595b6810d6047ae90db9126288b77ddc439
1,009
cpp
C++
Algorithm/ACM/Orientation Training Round #2 Div.3/A.cpp
XJDKC/University-Code-Archive
2dd9c6edb2164540dc50db1bb94940fe53c6eba0
[ "MIT" ]
4
2019-04-01T17:33:38.000Z
2022-01-08T04:07:52.000Z
Algorithm/ACM/Orientation Training Round #2 Div.3/A.cpp
XJDKC/University-Code-Archive
2dd9c6edb2164540dc50db1bb94940fe53c6eba0
[ "MIT" ]
null
null
null
Algorithm/ACM/Orientation Training Round #2 Div.3/A.cpp
XJDKC/University-Code-Archive
2dd9c6edb2164540dc50db1bb94940fe53c6eba0
[ "MIT" ]
1
2021-01-06T11:04:31.000Z
2021-01-06T11:04:31.000Z
#include<iostream> #include<cstdio> #include<algorithm> #include<cstring> using namespace std; int n,k,ans; bool map[8][8],used[8]; void dfs(int row,int num) { if (num==k) { ans++; return ; } else if (row>=n) return ; else if (num+n-row<k) return ; else { if (row+1<n)...
19.037736
44
0.390486
XJDKC
9dc3596075ad8409b242741de5bd33f0a24724ef
3,164
hpp
C++
myvector.hpp
mino2357/Hello_OpenSiv3D
c12cdc08da63d5d3d4ab377e8aa32d69167ed0eb
[ "MIT" ]
null
null
null
myvector.hpp
mino2357/Hello_OpenSiv3D
c12cdc08da63d5d3d4ab377e8aa32d69167ed0eb
[ "MIT" ]
1
2017-07-01T15:26:42.000Z
2018-04-23T08:25:49.000Z
myvector.hpp
mino2357/Hello_OpenSiv3D
c12cdc08da63d5d3d4ab377e8aa32d69167ed0eb
[ "MIT" ]
null
null
null
#include <iostream> #include <limits> #include <iomanip> #include <cmath> namespace mino2357{ template<typename T = double> class vector{ private: T componentX; T componentY; public: vector(T x, T y) noexcept : componentX(x), componentY(y) {} vector() noexcept : vector{T...
29.849057
96
0.581858
mino2357
9dc4bb85ccbfb05f0735589c059e53852a1be17a
6,901
hpp
C++
include/boost/cgi/cgi/request_service.hpp
Sil3ntStorm/libtelegram
a0c52ba4aac5519a3031dba506ad4a64cd8fca83
[ "MIT" ]
118
2016-10-02T10:49:02.000Z
2022-03-23T14:32:05.000Z
include/boost/cgi/cgi/request_service.hpp
Sil3ntStorm/libtelegram
a0c52ba4aac5519a3031dba506ad4a64cd8fca83
[ "MIT" ]
21
2017-04-21T13:34:36.000Z
2021-12-08T17:00:40.000Z
include/boost/cgi/cgi/request_service.hpp
Sil3ntStorm/libtelegram
a0c52ba4aac5519a3031dba506ad4a64cd8fca83
[ "MIT" ]
35
2016-06-08T15:31:03.000Z
2022-03-23T16:43:28.000Z
// -- cgi_service_impl.hpp -- // // Copyright (c) Darren Garvey 2007-2009. // 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) // ///////////////////////////////////////////////////...
28.167347
80
0.62759
Sil3ntStorm
9dc50cef694ae9903ab16d4a6a3f88eafe7f37c5
24,661
cpp
C++
src/third_party/mozjs/extract/js/src/jsfriendapi.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/third_party/mozjs/extract/js/src/jsfriendapi.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/third_party/mozjs/extract/js/src/jsfriendapi.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- * vim: set ts=8 sts=2 et sw=2 tw=80: * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ ...
30.82625
101
0.661125
benety
e384c915a2b8460e440f68af771de381c90e2cfb
229
cpp
C++
problem/10000~19999/11721/11721.cpp14.cpp
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
1
2019-04-19T16:37:44.000Z
2019-04-19T16:37:44.000Z
problem/10000~19999/11721/11721.cpp14.cpp
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
1
2019-04-20T11:42:44.000Z
2019-04-20T11:42:44.000Z
problem/10000~19999/11721/11721.cpp14.cpp
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
3
2019-04-19T16:37:47.000Z
2021-10-25T00:45:00.000Z
#include <stdio.h> int main (){ char a[101]; int i; scanf("%s",a); for(i=0;a[i]!=NULL;i++){ printf("%c",a[i]); if(i % 10 ==9) {printf("\n");} } return 0; }
13.470588
28
0.349345
njw1204
e3853519478efa481dbaf3ad6adca8f24e6cb673
594
cpp
C++
#1077 Kuchiguse.cpp
ZachVec/PAT-Advanced
52ba5989c095ddbee3c297e82a4b3d0d2e0cd449
[ "MIT" ]
1
2021-12-26T08:34:47.000Z
2021-12-26T08:34:47.000Z
#1077 Kuchiguse.cpp
ZachVec/PAT-Advanced
52ba5989c095ddbee3c297e82a4b3d0d2e0cd449
[ "MIT" ]
null
null
null
#1077 Kuchiguse.cpp
ZachVec/PAT-Advanced
52ba5989c095ddbee3c297e82a4b3d0d2e0cd449
[ "MIT" ]
null
null
null
#include <iostream> #include <cstring> using namespace std; constexpr size_t MAX = 258; int main() { size_t n, orilen, len; char str[MAX], suffix[MAX]; if(!scanf("%zu\n", &n)) return 0; cin.getline(suffix, MAX); orilen = len = strlen(suffix); for(size_t i = 1, slen, j; i < n; ++i, len = j) { ...
25.826087
66
0.526936
ZachVec
e385465fd6aa11da88d1d249aa6dc3b258d41b69
2,145
hpp
C++
Habitat.hpp
ambotaku/Urknall-lite
79d812c0c895294699d9857415d3850f29f1b8a5
[ "MIT" ]
1
2022-03-07T20:33:13.000Z
2022-03-07T20:33:13.000Z
Habitat.hpp
ambotaku/Urknall-lite
79d812c0c895294699d9857415d3850f29f1b8a5
[ "MIT" ]
null
null
null
Habitat.hpp
ambotaku/Urknall-lite
79d812c0c895294699d9857415d3850f29f1b8a5
[ "MIT" ]
null
null
null
#ifndef _HABITAT_H_ #define _HABITAT_H_ #include "GFX.hpp" class Habitat : public GFX { public: /** * @brief create lifegame habitat (playfield) * * @param devAddr device i2c address. * @param size oled display size (W128xH64 or W128xH32) * @param i2c i2c instance */ Habitat(uint...
25.843373
71
0.649883
ambotaku
e385779dfa269d48c8d7f12dc40075d8f3fd7879
1,303
cpp
C++
CUDA(Matrices)/src/Main.cpp
Samir55/SearchEngineRanker
690425fd5afce216ab75cd10f8288b702fd5805c
[ "MIT" ]
1
2020-10-23T20:54:06.000Z
2020-10-23T20:54:06.000Z
CUDA(Matrices)/src/Main.cpp
Samir55/SearchEngineRanker
690425fd5afce216ab75cd10f8288b702fd5805c
[ "MIT" ]
null
null
null
CUDA(Matrices)/src/Main.cpp
Samir55/SearchEngineRanker
690425fd5afce216ab75cd10f8288b702fd5805c
[ "MIT" ]
null
null
null
#include "GPUTimer.h" #include "Kernel.h" #include "GraphReader.h" using namespace PageRank; int main(int argc, char **argv) { if (argc <= 1) return 0; string path = argv[1]; Matrix g_matrix, i_vector; int *out_degrees; int nodes_count; GPUTimer gpu_timer; // Read graph file. vecto...
23.267857
84
0.630084
Samir55
e387ee6d08bbad2a7ed33e7add5b35dfb9ed8375
10,977
hpp
C++
filter/bloom_filter.hpp
yuchen1024/Kunlun
f1a4a6a1efcb81905df4f0c3ffe5e863fa0dfacf
[ "MIT" ]
33
2021-08-29T00:19:14.000Z
2022-03-30T02:40:36.000Z
filter/bloom_filter.hpp
yuchen1024/Kunlun
f1a4a6a1efcb81905df4f0c3ffe5e863fa0dfacf
[ "MIT" ]
null
null
null
filter/bloom_filter.hpp
yuchen1024/Kunlun
f1a4a6a1efcb81905df4f0c3ffe5e863fa0dfacf
[ "MIT" ]
3
2021-09-09T11:34:35.000Z
2022-01-12T11:10:05.000Z
/* ** Modified from https://github.com/ArashPartow/bloom ** (1) simplify the design ** (2) add serialize/deserialize interfaces */ #ifndef KUNLUN_BLOOM_FILTER_HPP #define KUNLUN_BLOOM_FILTER_HPP #include "../include/std.inc" #include "../crypto/ec_point.hpp" #include "../utility/murmurhash3.hpp" #include "../utility/...
36.959596
117
0.67277
yuchen1024
e3881f3aaec7ee44ad74e29a4e1c3b63a48a9892
2,727
cc
C++
calendar/calendar_service_factory.cc
careylam/vivaldi
bff2a435c35fe2cb3327d8d4a76430d4be5f666e
[ "BSD-3-Clause" ]
null
null
null
calendar/calendar_service_factory.cc
careylam/vivaldi
bff2a435c35fe2cb3327d8d4a76430d4be5f666e
[ "BSD-3-Clause" ]
null
null
null
calendar/calendar_service_factory.cc
careylam/vivaldi
bff2a435c35fe2cb3327d8d4a76430d4be5f666e
[ "BSD-3-Clause" ]
1
2020-05-12T23:54:41.000Z
2020-05-12T23:54:41.000Z
// Copyright (c) 2017 Vivaldi Technologies AS. All rights reserved // // Based on code that is: // // Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "calendar_service_factory.h" #include "ba...
30.640449
80
0.776678
careylam
e389ba62153c526e57ba9cc7082ce7552bac865b
324
hpp
C++
Hazel/src/Hazel/Core/Timestep.hpp
Ligh7bringer/Hazel
a7b8da66bae3817ba74398b40db5ba1ed989e691
[ "Apache-2.0" ]
1
2020-12-21T08:41:03.000Z
2020-12-21T08:41:03.000Z
Hazel/src/Hazel/Core/Timestep.hpp
Ligh7bringer/Hazel
a7b8da66bae3817ba74398b40db5ba1ed989e691
[ "Apache-2.0" ]
null
null
null
Hazel/src/Hazel/Core/Timestep.hpp
Ligh7bringer/Hazel
a7b8da66bae3817ba74398b40db5ba1ed989e691
[ "Apache-2.0" ]
null
null
null
#pragma once namespace Hazel { class Timestep { public: Timestep() = default; Timestep(float time) : m_Time(time) { } operator float() const { return m_Time; } float GetSeconds() const { return m_Time; } float GetMilliseconds() const { return m_Time * 1000.f; } private: float m_Time; }; } // namespace Ha...
13.5
58
0.682099
Ligh7bringer
e389ef611cb456374037d099a45ff7cbc55dea6f
9,590
cpp
C++
src/Lib/rfc3550/RtpSessionBase.cpp
miseri/rtp_plus_plus
244ddd86f40f15247dd39ae7f9283114c2ef03a2
[ "BSD-3-Clause" ]
1
2021-07-14T08:15:05.000Z
2021-07-14T08:15:05.000Z
src/Lib/rfc3550/RtpSessionBase.cpp
7956968/rtp_plus_plus
244ddd86f40f15247dd39ae7f9283114c2ef03a2
[ "BSD-3-Clause" ]
null
null
null
src/Lib/rfc3550/RtpSessionBase.cpp
7956968/rtp_plus_plus
244ddd86f40f15247dd39ae7f9283114c2ef03a2
[ "BSD-3-Clause" ]
2
2021-07-14T08:15:02.000Z
2021-07-14T08:56:10.000Z
#include "CorePch.h" #include <rtp++/rfc3550/RtpSessionBase.h> #include <boost/exception/all.hpp> #include <rtp++/rfc3550/RtcpPacketBase.h> #include <rtp++/util/ApplicationParameters.h> #ifndef EXIT_ON_TRUE #define EXIT_ON_TRUE(condition, log_message) if ((condition)){\ LOG(WARNING) << log_message;return false;} #e...
32.730375
154
0.72951
miseri
e38a397590ea4d9e9eaa297ae75d2c15875804d7
3,122
cpp
C++
Queue/Circular_Queue.cpp
DeepthiTabithaBennet/Cpp_TheDataStructuresSurvivalKit
2819feeaabb6c65c1f89d592b89e25e2fca5261f
[ "BSD-3-Clause" ]
2
2021-05-21T17:15:10.000Z
2021-05-21T17:22:14.000Z
Queue/Circular_Queue.cpp
DeepthiTabithaBennet/Cpp_TheDataStructuresSurvivalKit
2819feeaabb6c65c1f89d592b89e25e2fca5261f
[ "BSD-3-Clause" ]
null
null
null
Queue/Circular_Queue.cpp
DeepthiTabithaBennet/Cpp_TheDataStructuresSurvivalKit
2819feeaabb6c65c1f89d592b89e25e2fca5261f
[ "BSD-3-Clause" ]
1
2022-01-11T07:52:42.000Z
2022-01-11T07:52:42.000Z
#include <iostream> using namespace std; /*---------------------------------------------------------------------------*/ class QUEUE{ private: int cqueue[5]; int front, rear, n; public: QUEUE(); //default constructor void insertCQ(int); void deleteCQ(); void...
22.955882
79
0.295324
DeepthiTabithaBennet
e38bbbaa928dc305c356492a00fc0d1b4563c169
1,898
cpp
C++
Numerical Methods/bisection.cpp
TashreefMuhammad/University_Miscellaneous_Codes
8ac444f51dfdbfeee5f0af54944df0ed3a52e832
[ "MIT" ]
3
2021-08-28T16:42:57.000Z
2022-03-20T15:04:08.000Z
Numerical Methods/bisection.cpp
TashreefMuhammad/University_Miscellaneous_Codes
8ac444f51dfdbfeee5f0af54944df0ed3a52e832
[ "MIT" ]
null
null
null
Numerical Methods/bisection.cpp
TashreefMuhammad/University_Miscellaneous_Codes
8ac444f51dfdbfeee5f0af54944df0ed3a52e832
[ "MIT" ]
null
null
null
#include <stdio.h> #include <math.h> double hornerequation(int n,double x,double a[]); double bisection(double x1,double x2,int n,double a[]); int main(void) { int i,n; printf("Enter the highest order of polynomial equation: "); scanf("%d",&n); double a[n+1]; printf("Please provide value of follow...
22.86747
91
0.490516
TashreefMuhammad
e38c53990ea48c3e802370dfdc430427f094e97c
767
cpp
C++
code/Unique Paths.cpp
htfy96/leetcode-solutions
4736e87958d7e5aea3cbd999f88c7a86de13205a
[ "Apache-2.0" ]
1
2021-02-21T15:43:13.000Z
2021-02-21T15:43:13.000Z
code/Unique Paths.cpp
htfy96/leetcode-solutions
4736e87958d7e5aea3cbd999f88c7a86de13205a
[ "Apache-2.0" ]
null
null
null
code/Unique Paths.cpp
htfy96/leetcode-solutions
4736e87958d7e5aea3cbd999f88c7a86de13205a
[ "Apache-2.0" ]
1
2018-12-13T07:14:09.000Z
2018-12-13T07:14:09.000Z
#define FORTIFY_SOURCE 2 class Solution { public: int uniquePaths(int m, int n) { int all = n-1+m-1; int mi = min(n-1, m-1); vector<int> f(2 * (mi+1)); for (int i=0; i<=all; ++i) for (int j=0; j<=mi; ++j) { if (!j) { f[(i%2) * (mi+1) + j] = 1; ...
36.52381
96
0.336375
htfy96
e38c7b9542c5cc8d35e79878ec13965f9b52a4d4
5,336
cpp
C++
willow/src/popx/op/l1x.cpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
61
2020-07-06T17:11:46.000Z
2022-03-12T14:42:51.000Z
willow/src/popx/op/l1x.cpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
1
2021-02-25T01:30:29.000Z
2021-11-09T11:13:14.000Z
willow/src/popx/op/l1x.cpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
6
2020-07-15T12:33:13.000Z
2021-11-07T06:55:00.000Z
// Copyright (c) 2018 Graphcore Ltd. All rights reserved. #include <numeric> #include <popart/error.hpp> #include <popart/ir.hpp> #include <popart/op/l1.hpp> #include <popart/popx/devicex.hpp> #include <popart/popx/op/l1x.hpp> #include <popart/popx/opxmanager.hpp> #include <popart/tensor.hpp> #include <popops/ElementW...
34.649351
78
0.582271
gglin001
e3917d5cf12b3fc4abeac17e1870106c71260220
1,669
cpp
C++
src/test/middlewares/Volume/marshaller.cpp
kennymalac/tinyCDN
5227ce336e54fe8c74a9b4a5910e324f9ff913ac
[ "Apache-2.0" ]
16
2018-04-15T15:06:01.000Z
2020-06-04T08:54:01.000Z
src/test/middlewares/Volume/marshaller.cpp
kennymalac/tinyCDN
5227ce336e54fe8c74a9b4a5910e324f9ff913ac
[ "Apache-2.0" ]
2
2019-09-09T20:13:52.000Z
2019-09-17T23:52:54.000Z
src/test/middlewares/Volume/marshaller.cpp
kennymalac/tinyCDN
5227ce336e54fe8c74a9b4a5910e324f9ff913ac
[ "Apache-2.0" ]
2
2018-05-18T12:31:34.000Z
2019-09-15T18:38:08.000Z
#include "../../include/catch.hpp" #include <string> #include <iostream> #include "src/utility.hpp" #include "src/middlewares/Volume/volume.hpp" #include "src/middlewares/Volume/marshaller.hpp" using namespace TinyCDN; using namespace TinyCDN::Utility; using namespace TinyCDN::Middleware::Volume; TEST_CASE("VolumeP...
35.510638
125
0.717196
kennymalac
e392427e348c50e09b86eac68fb9ad3f8ec3e13b
6,525
cpp
C++
test/FrequencyGovernorTest.cpp
avilcheslopez/geopm
35ad0af3f17f42baa009c97ed45eca24333daf33
[ "MIT", "BSD-3-Clause" ]
null
null
null
test/FrequencyGovernorTest.cpp
avilcheslopez/geopm
35ad0af3f17f42baa009c97ed45eca24333daf33
[ "MIT", "BSD-3-Clause" ]
null
null
null
test/FrequencyGovernorTest.cpp
avilcheslopez/geopm
35ad0af3f17f42baa009c97ed45eca24333daf33
[ "MIT", "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2015 - 2022, Intel Corporation * SPDX-License-Identifier: BSD-3-Clause */ #include <memory> #include "gtest/gtest.h" #include "gmock/gmock.h" #include "FrequencyGovernorImp.hpp" #include "geopm/Helper.hpp" #include "geopm_test.hpp" #include "MockPlatformIO.hpp" #include "MockPlatformTopo.hpp" ...
37.285714
109
0.697778
avilcheslopez
e392d203a40d6d5df2be7f0399e8b18e79f75ccb
4,679
cpp
C++
Tests/src/Log/Logger.cpp
BlockProject3D/Framework
1c27ef19d9a12d158a2b53f6bd28dd2d8e678912
[ "BSD-3-Clause" ]
2
2019-02-02T20:48:17.000Z
2019-02-22T09:59:40.000Z
Tests/src/Log/Logger.cpp
BlockProject3D/Framework
1c27ef19d9a12d158a2b53f6bd28dd2d8e678912
[ "BSD-3-Clause" ]
125
2020-01-14T18:26:38.000Z
2021-02-23T15:33:55.000Z
Tests/src/Log/Logger.cpp
BlockProject3D/Framework
1c27ef19d9a12d158a2b53f6bd28dd2d8e678912
[ "BSD-3-Clause" ]
1
2020-05-26T08:55:10.000Z
2020-05-26T08:55:10.000Z
// Copyright (c) 2020, BlockProject 3D // // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, // this list ...
33.905797
105
0.6542
BlockProject3D
e393189d7ab79fd80db02390c7d2ad6e36707119
932
hh
C++
src/motor/world/api/motor/world/event/event.hh
motor-dev/Motor
98cb099fe1c2d31e455ed868cc2a25eae51e79f0
[ "BSD-3-Clause" ]
null
null
null
src/motor/world/api/motor/world/event/event.hh
motor-dev/Motor
98cb099fe1c2d31e455ed868cc2a25eae51e79f0
[ "BSD-3-Clause" ]
null
null
null
src/motor/world/api/motor/world/event/event.hh
motor-dev/Motor
98cb099fe1c2d31e455ed868cc2a25eae51e79f0
[ "BSD-3-Clause" ]
null
null
null
/* Motor <motor.devel@gmail.com> see LICENSE for detail */ #ifndef MOTOR_WORLD_WORLD_EVENT_EVENT_HH_ #define MOTOR_WORLD_WORLD_EVENT_EVENT_HH_ /**************************************************************************************************/ #include <motor/world/stdafx.h> #ifndef MOTOR_COMPUTE namespace Motor ...
20.711111
100
0.550429
motor-dev
e3961a411be58af43857ea8e9c44b116cacb52f6
46
cpp
C++
source/Graphics/Color.cpp
Dante12129/Pancake
35282814e2f3b2d5e155a539ca5ddee32e240d3e
[ "Zlib" ]
null
null
null
source/Graphics/Color.cpp
Dante12129/Pancake
35282814e2f3b2d5e155a539ca5ddee32e240d3e
[ "Zlib" ]
null
null
null
source/Graphics/Color.cpp
Dante12129/Pancake
35282814e2f3b2d5e155a539ca5ddee32e240d3e
[ "Zlib" ]
null
null
null
#include "include/Pancake/Graphics/Color.hpp"
23
45
0.804348
Dante12129
e3971d733659d1e8c2f3b625207d207c7eb4be67
423
hpp
C++
ext/src/org/w3c/dom/NodeList.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/src/org/w3c/dom/NodeList.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/src/org/w3c/dom/NodeList.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar #pragma once #include <fwd-POI.hpp> #include <org/w3c/dom/fwd-POI.hpp> #include <java/lang/Object.hpp> struct org::w3c::dom::NodeList : public virtual ::java::lang::Object { virtual int32_t getLength() = 0; ...
22.263158
97
0.685579
pebble2015
e398d68f287168c7053fc2ef3859441a4fec7312
2,120
cpp
C++
modules/emu.nes/test/apps/test_nes_cartridge.cpp
LCClyde/nyra
f8280db2633e888ab62e929a2c238a33755ff694
[ "MIT" ]
null
null
null
modules/emu.nes/test/apps/test_nes_cartridge.cpp
LCClyde/nyra
f8280db2633e888ab62e929a2c238a33755ff694
[ "MIT" ]
1
2016-01-25T13:03:03.000Z
2016-01-25T13:03:03.000Z
modules/emu.nes/test/apps/test_nes_cartridge.cpp
LCClyde/nyra
f8280db2633e888ab62e929a2c238a33755ff694
[ "MIT" ]
null
null
null
/* * Copyright (c) 2016 Clyde Stanfield * * 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, pub...
37.857143
79
0.741509
LCClyde
e39ace3f2096d8e8525ae349b18a565e047b846e
890
hh
C++
Alignment/Geners/interface/IOIsUnsigned.hh
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
1
2019-08-09T08:42:11.000Z
2019-08-09T08:42:11.000Z
Alignment/Geners/interface/IOIsUnsigned.hh
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
Alignment/Geners/interface/IOIsUnsigned.hh
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
1
2019-04-03T19:23:27.000Z
2019-04-03T19:23:27.000Z
#ifndef GENERS_IOISUNSIGNED_HH_ #define GENERS_IOISUNSIGNED_HH_ namespace gs { template <class T> struct IOIsUnsigned { enum {value = 0}; }; } #define gs_declare_type_as_unsigned(T) /**/ \ namespace gs { ...
31.785714
76
0.625843
nistefan
e39b753b6cabd5be0caf1cfb97206065fdc29e2f
445
cpp
C++
src/register/ProgramRegister.cpp
openx86/emulator
829454a2dbc99ffa3ccdf81f7473e69f8b8ce896
[ "Apache-2.0" ]
1
2022-01-16T18:24:32.000Z
2022-01-16T18:24:32.000Z
src/register/ProgramRegister.cpp
openx86/emulator
829454a2dbc99ffa3ccdf81f7473e69f8b8ce896
[ "Apache-2.0" ]
null
null
null
src/register/ProgramRegister.cpp
openx86/emulator
829454a2dbc99ffa3ccdf81f7473e69f8b8ce896
[ "Apache-2.0" ]
null
null
null
// // Created by 86759 on 2022-01-14. // #include "ProgramRegister.h" //uint32_t ProgramRegister::IP_r = 0x1234FFF0; uint32_t ProgramRegister::IP_r = 0x0000FFF0; uint16_t ProgramRegister::IP() { return (uint16_t)IP_r; } uint32_t ProgramRegister::EIP() { return (uint32_t)IP_r; } void ProgramRegister::IP(uint...
34.230769
92
0.703371
openx86
e3a602a3aef9e02c33f422efc535c9a5d9eb82e6
3,467
cpp
C++
dialogs/dialoginfocontent.cpp
avttrue/fungus
c6ca9ef94317ecbe930da25606ca7331f048ef60
[ "MIT" ]
null
null
null
dialogs/dialoginfocontent.cpp
avttrue/fungus
c6ca9ef94317ecbe930da25606ca7331f048ef60
[ "MIT" ]
2
2020-08-20T05:04:33.000Z
2020-09-22T17:10:39.000Z
dialogs/dialoginfocontent.cpp
avttrue/fungus
c6ca9ef94317ecbe930da25606ca7331f048ef60
[ "MIT" ]
null
null
null
#include "dialoginfocontent.h" #include "properties.h" #include "helpers/helper.h" #include "helpers/widgethelper.h" #include "controls/separators.h" #include <QDebug> #include <QApplication> #include <QIcon> #include <QToolBar> #include <QVBoxLayout> #include <QTextBrowser> #include <QScrollBar> DialogInfoContent::D...
34.326733
107
0.697721
avttrue
e3a76a7d5a9ad27f7f5c11215c2b9968dee26da7
1,123
cpp
C++
Knottenbelt/Week5/printpyramid.cpp
AnthonyChuah/CPPscripts
c8376c4bf191949fc31b4e70226a2c42f8e7f1c2
[ "bzip2-1.0.6" ]
null
null
null
Knottenbelt/Week5/printpyramid.cpp
AnthonyChuah/CPPscripts
c8376c4bf191949fc31b4e70226a2c42f8e7f1c2
[ "bzip2-1.0.6" ]
null
null
null
Knottenbelt/Week5/printpyramid.cpp
AnthonyChuah/CPPscripts
c8376c4bf191949fc31b4e70226a2c42f8e7f1c2
[ "bzip2-1.0.6" ]
null
null
null
#include <iostream> using namespace std; void print_pyramid(int height); // Prints a pyramid of specified height. Must be between 1 to 30 inclusive. int main() { int desired_height = 0; bool acceptable_input = false; cout << "This program prints a 'pyramid' shape of\n" << "a specified height on the scree...
22.918367
75
0.593054
AnthonyChuah
e3ab727a12ecd7a103417cb4164ae11c8f1cbcb2
371
hpp
C++
include/vengine/core/ICvar.hpp
BlackPhrase/V-Engine
ee9a9c63a380732dace75bcc1e398cabc444feba
[ "MIT" ]
1
2018-06-22T15:46:42.000Z
2018-06-22T15:46:42.000Z
include/vengine/core/ICvar.hpp
BlackPhrase/V-Engine
ee9a9c63a380732dace75bcc1e398cabc444feba
[ "MIT" ]
3
2018-05-13T14:15:53.000Z
2018-05-29T08:06:26.000Z
include/vengine/core/ICvar.hpp
BlackPhrase/V-Engine
ee9a9c63a380732dace75bcc1e398cabc444feba
[ "MIT" ]
null
null
null
/// @file /// @brief console variable #pragma once struct ICvar { /// virtual const char *GetName() const = 0; /// virtual const char *GetDescription() const = 0; /// virtual void SetValue(const char *asValue) = 0; /// virtual const char *GetValue() const = 0; /// virtual const char *GetDefValue() c...
14.84
48
0.622642
BlackPhrase
e3af0bcfa99893069bb658d4565f8036db45a21a
1,128
cpp
C++
tests/basic_bvalue/test_events.cpp
fbdtemme/bencode
edf7dd5b580c44723821dbf737c8412d628294e4
[ "MIT" ]
25
2020-08-24T01:54:10.000Z
2021-12-22T08:55:54.000Z
tests/basic_bvalue/test_events.cpp
fbdtemme/bencode
edf7dd5b580c44723821dbf737c8412d628294e4
[ "MIT" ]
1
2021-12-29T05:38:56.000Z
2021-12-29T05:38:56.000Z
tests/basic_bvalue/test_events.cpp
fbdtemme/bencode
edf7dd5b580c44723821dbf737c8412d628294e4
[ "MIT" ]
4
2020-08-18T19:31:26.000Z
2022-02-01T18:57:51.000Z
// // Created by fbdtemme on 8/17/20. // #include <catch2/catch.hpp> #include <bencode/traits/all.hpp> #include "bencode/bvalue.hpp" #include <bencode/events/debug_to.hpp> #include <sstream> namespace bc = bencode; static const bc::bvalue b{ {"a", 1}, {"b", 1u}, {"d", false}, {"e", ...
17.625
61
0.636525
fbdtemme
e3b0dd6a5575aea71ec80c5b75359167d8ad7ff8
78
cpp
C++
test/llvm_test_code/inst_interaction/heap_01.cpp
janniclas/phasar
324302ae96795e6f0a065c14d4f7756b1addc2a4
[ "MIT" ]
1
2022-02-15T07:56:29.000Z
2022-02-15T07:56:29.000Z
test/llvm_test_code/inst_interaction/heap_01.cpp
fabianbs96/phasar
5b8acd046d8676f72ce0eb85ca20fdb0724de444
[ "MIT" ]
null
null
null
test/llvm_test_code/inst_interaction/heap_01.cpp
fabianbs96/phasar
5b8acd046d8676f72ce0eb85ca20fdb0724de444
[ "MIT" ]
null
null
null
int main() { int *i = new int(42); int j = *i; delete i; return j; }
9.75
23
0.487179
janniclas
e3b1e32d04537c57f52fc794a90899e447be8cf9
4,605
cpp
C++
src/Pegasus/Repository/tests/QualifierDeclRep/QualifierDeclRep.cpp
ncultra/Pegasus-2.5
4a0b9a1b37e2eae5c8105fdea631582dc2333f9a
[ "MIT" ]
null
null
null
src/Pegasus/Repository/tests/QualifierDeclRep/QualifierDeclRep.cpp
ncultra/Pegasus-2.5
4a0b9a1b37e2eae5c8105fdea631582dc2333f9a
[ "MIT" ]
null
null
null
src/Pegasus/Repository/tests/QualifierDeclRep/QualifierDeclRep.cpp
ncultra/Pegasus-2.5
4a0b9a1b37e2eae5c8105fdea631582dc2333f9a
[ "MIT" ]
1
2022-03-07T22:54:02.000Z
2022-03-07T22:54:02.000Z
//%2005//////////////////////////////////////////////////////////////////////// // // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.; // IBM Corp.; EMC Cor...
30.7
80
0.638002
ncultra
e3b29b3ec003afca116f3c9e3d6618eb0bd3b6f7
3,083
cpp
C++
tc 160+/PrimeSequences.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc 160+/PrimeSequences.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc 160+/PrimeSequences.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
#include <algorithm> #include <cassert> #include <cstdio> #include <iostream> #include <sstream> #include <string> #include <vector> #include <cstring> using namespace std; #define MAX_NUM_ 10000001 // 6bits = 1parity bit + 32 different offsets in the same int int P_[(MAX_NUM_>>6) + 1]; // negative logic...
41.662162
317
0.560817
ibudiselic
e3b5558af7210b6a155636a5a85cb56a32de785f
3,941
hpp
C++
libs/core/font/include/bksge/core/font/otf/feature_variations.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/core/font/include/bksge/core/font/otf/feature_variations.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/core/font/include/bksge/core/font/otf/feature_variations.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file feature_variations.hpp * * @brief FeatureVariations の定義 * * @author myoukaku */ #ifndef BKSGE_CORE_FONT_OTF_FEATURE_VARIATIONS_HPP #define BKSGE_CORE_FONT_OTF_FEATURE_VARIATIONS_HPP #include <bksge/core/font/otf/read_big_endian.hpp> #include <bksge/core/font/otf/types.hpp> #include <bk...
23.884848
72
0.700584
myoukaku