hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
2a31ac1b41b8963e8cce62fc36fd9494b4e9ed36
1,144
hpp
C++
include/attender/websocket/server/session_base.hpp
5cript/attender
ad9c46aa543dfa2314613fea30c00110f8830f51
[ "BSL-1.0" ]
8
2016-04-27T14:44:23.000Z
2021-03-19T08:52:21.000Z
include/attender/websocket/server/session_base.hpp
5cript/attender
ad9c46aa543dfa2314613fea30c00110f8830f51
[ "BSL-1.0" ]
63
2016-05-23T13:50:50.000Z
2021-04-25T14:40:42.000Z
include/attender/websocket/server/session_base.hpp
5cript/attender
ad9c46aa543dfa2314613fea30c00110f8830f51
[ "BSL-1.0" ]
null
null
null
#pragma once #include <attender/net_core.hpp> #include <boost/system/error_code.hpp> #include <cstddef> #include <string_view> #include <mutex> namespace attender::websocket { class connection; class session_base { public: session_base(connection* owner); virtual void on_close() = 0; ...
27.902439
127
0.687937
5cript
2a3307cc800083039bf55d217d7e5e8f2e8587ef
4,323
cc
C++
test/test-interval-mult.cc
soonho-tri/kv
4963be6560d8600cdc9ff22d004b2b965ae7b1df
[ "MIT" ]
67
2017-01-04T15:30:54.000Z
2022-03-31T05:45:02.000Z
test/test-interval-mult.cc
soonho-tri/kv
4963be6560d8600cdc9ff22d004b2b965ae7b1df
[ "MIT" ]
4
2017-02-10T02:59:45.000Z
2019-10-10T14:17:08.000Z
test/test-interval-mult.cc
soonho-tri/kv
4963be6560d8600cdc9ff22d004b2b965ae7b1df
[ "MIT" ]
5
2021-09-29T02:27:46.000Z
2022-03-31T05:45:04.000Z
// test program for interval multiplication #include <kv/interval.hpp> #include <kv/rdouble.hpp> #include <limits> typedef kv::interval<double> itv; int main() { itv x, y, z; itv::base_type inf = std::numeric_limits<itv::base_type>::infinity(); x = itv(-2, -1); y = itv(-2, -1); z = x * y; if (z.lower() != 1 |...
20.585714
70
0.334721
soonho-tri
2a383ed4e67bacebddd05133d9fb3ec4d5952e35
20,454
cc
C++
myelin/kernel/cuda-arithmetic.cc
Betterpath/Sling
549299786667ba2b8ac9456adb51f2af9f114f73
[ "Apache-2.0" ]
1
2020-03-16T05:03:21.000Z
2020-03-16T05:03:21.000Z
myelin/kernel/cuda-arithmetic.cc
Betterpath/Sling
549299786667ba2b8ac9456adb51f2af9f114f73
[ "Apache-2.0" ]
null
null
null
myelin/kernel/cuda-arithmetic.cc
Betterpath/Sling
549299786667ba2b8ac9456adb51f2af9f114f73
[ "Apache-2.0" ]
null
null
null
// Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
32.990323
80
0.582282
Betterpath
2a3938a3aacfb15915527258ff7c2f5e50bba4ba
9,896
cpp
C++
src/utils/RenderItem.cpp
amecky/ds_sandbox
f31e69f72a76c40aeb0fa3e3fbe9b651660df770
[ "MIT" ]
1
2017-09-28T19:41:04.000Z
2017-09-28T19:41:04.000Z
src/utils/RenderItem.cpp
amecky/ds_sandbox
f31e69f72a76c40aeb0fa3e3fbe9b651660df770
[ "MIT" ]
null
null
null
src/utils/RenderItem.cpp
amecky/ds_sandbox
f31e69f72a76c40aeb0fa3e3fbe9b651660df770
[ "MIT" ]
null
null
null
#include "RenderItem.h" #define INDEX_MASK 0xffff RenderItem::RenderItem(const char* objName, Material* m, ds::matrix* world, bool force) { _mesh = new Mesh; _mesh->loadData(objName, world, force); initialize(&_transform, ds::vec3(0.0f), ds::vec3(1.0f), ds::vec3(0.0f)); _material = m; RID hexCubeBuffer = _mesh->...
32.339869
131
0.714632
amecky
2a3a8e20cbd3862ff78cfbafa1423a4e885da87a
3,065
cpp
C++
PersonDialog.cpp
jeisonsantiago/Person-Model-Qt
c02251090ef1276c38c7aaf5236335b1e6bf740f
[ "MIT" ]
1
2022-02-14T08:57:46.000Z
2022-02-14T08:57:46.000Z
PersonDialog.cpp
jeisonsantiago/Person-Model-Qt
c02251090ef1276c38c7aaf5236335b1e6bf740f
[ "MIT" ]
null
null
null
PersonDialog.cpp
jeisonsantiago/Person-Model-Qt
c02251090ef1276c38c7aaf5236335b1e6bf740f
[ "MIT" ]
null
null
null
/******************************************************************************* * Project: Person Model Qt * Purpose: QAbstractListModel example * Author: Jeison Santiago, jeison.santiago@gmail.com * Language: C++ ******************************************************************************* * The MIT Lice...
35.229885
82
0.663622
jeisonsantiago
2a3d0cdc0140ffc17df6adc99a8a4b7d332e7128
301
cpp
C++
logger/src/sink_file.cpp
OwlcatGames/OwlcatMonoProfiler
1104be18e16107d13ff2082da0c3723361f0c2ac
[ "MIT" ]
85
2020-12-04T09:12:35.000Z
2022-02-08T18:55:54.000Z
logger/src/sink_file.cpp
OwlcatGames/OwlcatMonoProfiler
1104be18e16107d13ff2082da0c3723361f0c2ac
[ "MIT" ]
6
2021-01-08T13:56:22.000Z
2022-01-07T20:56:46.000Z
logger/src/sink_file.cpp
OwlcatGames/OwlcatMonoProfiler
1104be18e16107d13ff2082da0c3723361f0c2ac
[ "MIT" ]
2
2020-12-04T12:21:56.000Z
2021-08-19T20:11:07.000Z
#include "logger.h" namespace owlcat { sink_file::sink_file(const char* file) { m_file = fopen(file, "w"); } sink_file::~sink_file() { fclose(m_file); } void sink_file::log_str(const char* str) { if (m_file != nullptr) { fprintf(m_file, "%s\n", str); fflush(m_file); } } }
12.541667
41
0.607973
OwlcatGames
2a3ed806850114c8d79b6b4aac651dae48e12a00
13,566
cpp
C++
src/cell_fit.cpp
cngzhnp/SLIDE
2eb1672965d7288c0e0cd8e28c9310bc6025a0a5
[ "BSD-2-Clause", "BSD-3-Clause" ]
37
2019-05-07T16:22:10.000Z
2022-03-13T12:32:06.000Z
src/cell_fit.cpp
cngzhnp/SLIDE
2eb1672965d7288c0e0cd8e28c9310bc6025a0a5
[ "BSD-2-Clause", "BSD-3-Clause" ]
5
2021-08-09T14:23:52.000Z
2021-09-14T20:20:49.000Z
src/cell_fit.cpp
cngzhnp/SLIDE
2eb1672965d7288c0e0cd8e28c9310bc6025a0a5
[ "BSD-2-Clause", "BSD-3-Clause" ]
16
2019-05-09T12:19:40.000Z
2022-02-25T09:02:46.000Z
/* * CellFit.cpp * * This cell is used to fit the cycling parameters of a cell to data. * It is done by the functions in determineCharacterisation.cpp * This cell should never be used by other functions (e.g. it should never be used for degradation simulations) * * Copyright (c) 2019, The Chancellor, Masters and...
40.136095
248
0.689149
cngzhnp
2a418c6b10dd6fe72534c8c52d4d1f0779137892
987
cpp
C++
solutions-PAT/A1106.cpp
Ki-Seki/solutions
e4329712d664180d850e0a48d7d0f637215f13d0
[ "MIT" ]
1
2022-02-26T10:33:24.000Z
2022-02-26T10:33:24.000Z
solutions-PAT/A1106.cpp
Ki-Seki/solutions
e4329712d664180d850e0a48d7d0f637215f13d0
[ "MIT" ]
null
null
null
solutions-PAT/A1106.cpp
Ki-Seki/solutions
e4329712d664180d850e0a48d7d0f637215f13d0
[ "MIT" ]
1
2021-12-01T14:54:33.000Z
2021-12-01T14:54:33.000Z
#include<cstdio> #include<vector> #include<cmath> #define MAXN 100005 using namespace std; int n, lowest_level = MAXN, lowest_level_cnt = 1; double p, r; vector<int> tree[MAXN]; // index: 当前节点 // level: 当前层数 void dfs(int index, int level) { if (tree[level].empty()) { if (level < lowest_level) ...
20.142857
83
0.494428
Ki-Seki
2a4257386a7679da739798a69881c3bb01100178
3,045
hpp
C++
include/common/try.hpp
bjadamson/BoomHS
60b5d8ddc2490ec57e8f530ba7ce3135221e2ec4
[ "MIT" ]
2
2016-07-22T10:09:21.000Z
2017-09-16T06:50:01.000Z
include/common/try.hpp
bjadamson/BoomHS
60b5d8ddc2490ec57e8f530ba7ce3135221e2ec4
[ "MIT" ]
14
2016-08-13T22:45:56.000Z
2018-12-16T03:56:36.000Z
include/common/try.hpp
bjadamson/BoomHS
60b5d8ddc2490ec57e8f530ba7ce3135221e2ec4
[ "MIT" ]
null
null
null
#pragma once // These macros are designed to be building blocks for other macros. The intent of the macros these // macros let you write is to reduce boilerplate in the general case, mostly around dealing with // optionally returning early from a function. // // These macros hide a lot of code of the pattern: // i...
47.578125
100
0.472578
bjadamson
2a43392265bfe835856c70a767282effcd57b1cb
2,188
hpp
C++
src/libs/optframe/src/OptFrame/Util/NeighborhoodStructures/NSIterators/IteratorTSPOrOptk.hpp
fellipessanha/LMRRC-Team-AIDA
8076599427df0e35890caa7301972a53ae327edb
[ "MIT" ]
1
2021-08-19T13:31:29.000Z
2021-08-19T13:31:29.000Z
src/libs/optframe/src/OptFrame/Util/NeighborhoodStructures/NSIterators/IteratorTSPOrOptk.hpp
fellipessanha/LMRRC-Team-AIDA
8076599427df0e35890caa7301972a53ae327edb
[ "MIT" ]
null
null
null
src/libs/optframe/src/OptFrame/Util/NeighborhoodStructures/NSIterators/IteratorTSPOrOptk.hpp
fellipessanha/LMRRC-Team-AIDA
8076599427df0e35890caa7301972a53ae327edb
[ "MIT" ]
null
null
null
// OptFrame - Optimization Framework // Copyright (C) 2009-2015 // http://optframe.sourceforge.net/ // // This file is part of the OptFrame optimization framework. This framework // is free software; you can redistribute it and/or modify it under the // terms of the GNU Lesser General Public License v3 as published by...
23.276596
246
0.679616
fellipessanha
2a434cd23f7f2e865ccac06a7e58ac1c440f0086
1,058
cpp
C++
test/NumPyArray.test.cpp
jzwinck/pccl
fead9f795c441d637ee33bbdb07e271a33e4c77d
[ "MIT" ]
2
2020-02-08T15:14:51.000Z
2022-01-23T16:35:55.000Z
test/NumPyArray.test.cpp
jzwinck/pccl
fead9f795c441d637ee33bbdb07e271a33e4c77d
[ "MIT" ]
2
2016-10-04T04:22:56.000Z
2018-08-05T00:36:49.000Z
test/NumPyArray.test.cpp
jzwinck/pccl
fead9f795c441d637ee33bbdb07e271a33e4c77d
[ "MIT" ]
1
2021-11-18T11:01:19.000Z
2021-11-18T11:01:19.000Z
#define BOOST_TEST_MODULE NumPyArray #define BOOST_TEST_DYN_LINK #include <boost/test/unit_test.hpp> #include <boost/python.hpp> #include "../NumPy.hpp" #include "../NumPyArray.hpp" #include "../NumPyDataType.hpp" #include "../Error.hpp" struct TemperatureRecord { uint32_t epochTime; uint32_t sensorId; d...
22.510638
86
0.701323
jzwinck
2a45d193bf8004b34dd19c4bb1130ad4de7eaca1
683
cpp
C++
ares/gba/ppu/debugger.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
153
2020-07-25T17:55:29.000Z
2021-10-01T23:45:01.000Z
ares/gba/ppu/debugger.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
245
2021-10-08T09:14:46.000Z
2022-03-31T08:53:13.000Z
ares/gba/ppu/debugger.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
44
2020-07-25T08:51:55.000Z
2021-09-25T16:09:01.000Z
auto PPU::Debugger::load(Node::Object parent) -> void { memory.vram = parent->append<Node::Debugger::Memory>("PPU VRAM"); memory.vram->setSize(ppu.vram.size()); memory.vram->setRead([&](u32 address) -> u8 { return ppu.vram[address]; }); memory.vram->setWrite([&](u32 address, u8 data) -> void { ppu.vra...
34.15
67
0.622255
CasualPokePlayer
2a4caa7a9455ec8147f16ff87965696ac0ad839a
3,523
cpp
C++
code/test/test_07_mib.cpp
gyuseokByeon/snmppp
a6c56bf8e369b923a3b0b49cc50b78e64c5d8672
[ "MIT" ]
18
2018-07-04T15:10:13.000Z
2022-03-30T07:56:25.000Z
code/test/test_07_mib.cpp
gyuseokByeon/snmppp
a6c56bf8e369b923a3b0b49cc50b78e64c5d8672
[ "MIT" ]
2
2020-11-30T17:42:39.000Z
2021-09-06T06:12:02.000Z
code/test/test_07_mib.cpp
gyuseokByeon/snmppp
a6c56bf8e369b923a3b0b49cc50b78e64c5d8672
[ "MIT" ]
7
2020-04-21T04:38:45.000Z
2021-09-22T04:42:04.000Z
// SNMPpp: https://sourceforge.net/p/snmppp/ // SNMPpp project uses the MIT license. See LICENSE for details. // Copyright (C) 2013 Stephane Charette <stephanecharette@gmail.com> #include <assert.h> #include <stdlib.h> #include <iostream> #include <iomanip> #include <SNMPpp/SNMPpp.hpp> void lookupOid( const SNMPpp::...
39.58427
147
0.562589
gyuseokByeon
2a4debde38cd5f0dada83e5d12c5959653947e80
772
cpp
C++
Meshes/MeshObject.cpp
cypod/SumoDX
5f390a0ae9e101002acca4f4cc66cd59d603079b
[ "MIT" ]
41
2015-01-18T23:47:43.000Z
2021-02-27T14:49:35.000Z
Meshes/MeshObject.cpp
cypod/SumoDX
5f390a0ae9e101002acca4f4cc66cd59d603079b
[ "MIT" ]
null
null
null
Meshes/MeshObject.cpp
cypod/SumoDX
5f390a0ae9e101002acca4f4cc66cd59d603079b
[ "MIT" ]
44
2015-01-07T21:42:24.000Z
2021-04-25T00:21:13.000Z
#include "pch.h" #include "MeshObject.h" #include "../Rendering/ConstantBuffers.h" using namespace Microsoft::WRL; using namespace DirectX; MeshObject::MeshObject() : m_vertexCount(0), m_indexCount(0) { } //-------------------------------------------------------------------------------- void MeshObject::Render(_In_...
26.62069
84
0.606218
cypod
2a54ecb58b579aaa9e29029c8afc0d38109f7f54
11,254
cpp
C++
agile_robotics_industrial_automation/src/sensor.cpp
gkkhut/agile_robotics_industrial_automation
8d7a232bca597ea7213a76c150dbb77f957ad939
[ "MIT" ]
null
null
null
agile_robotics_industrial_automation/src/sensor.cpp
gkkhut/agile_robotics_industrial_automation
8d7a232bca597ea7213a76c150dbb77f957ad939
[ "MIT" ]
null
null
null
agile_robotics_industrial_automation/src/sensor.cpp
gkkhut/agile_robotics_industrial_automation
8d7a232bca597ea7213a76c150dbb77f957ad939
[ "MIT" ]
null
null
null
// BSD 3-Clause License // Copyright (c) 2018, Neel Parikh // 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 // ...
35.16875
80
0.632486
gkkhut
2a5708a49df174e7b03d555a1bd9822adbc93929
1,710
cpp
C++
source/rendering/techniques/RaytraceMirrorReflections.cpp
RaygenEngine/Raygen
2e61afd35f594d06186c16397b536412ebf4298d
[ "MIT" ]
2
2021-01-27T15:49:04.000Z
2021-01-28T07:40:30.000Z
source/rendering/techniques/RaytraceMirrorReflections.cpp
RaygenEngine/Raygen
2e61afd35f594d06186c16397b536412ebf4298d
[ "MIT" ]
null
null
null
source/rendering/techniques/RaytraceMirrorReflections.cpp
RaygenEngine/Raygen
2e61afd35f594d06186c16397b536412ebf4298d
[ "MIT" ]
1
2021-03-07T23:17:31.000Z
2021-03-07T23:17:31.000Z
#include "RaytraceMirrorReflections.h" #include "rendering/pipes/MirrorPipe.h" #include "rendering/pipes/StaticPipes.h" #include "rendering/scene/Scene.h" #include "rendering/scene/SceneIrragrid.h" namespace vl { RaytraceMirrorReflections::RaytraceMirrorReflections() { for (size_t i = 0; i < c_framesInFlight; i++) {...
36.382979
112
0.777193
RaygenEngine
3987305c9489caf0fcf736ca91cb23c806000da4
1,872
cpp
C++
templates/Basic FFmpeg/src/_TBOX_PREFIX_App.cpp
paulhoux/Cinder-FFmpeg
c19707d7d4abf34ccfc3ff7219752646a226305b
[ "Unlicense" ]
21
2015-01-02T06:42:28.000Z
2019-07-01T13:49:19.000Z
templates/Basic FFmpeg/src/_TBOX_PREFIX_App.cpp
paulhoux/Cinder-FFmpeg
c19707d7d4abf34ccfc3ff7219752646a226305b
[ "Unlicense" ]
3
2018-05-23T23:00:46.000Z
2021-11-08T11:48:40.000Z
templates/Basic FFmpeg/src/_TBOX_PREFIX_App.cpp
paulhoux/Cinder-FFmpeg
c19707d7d4abf34ccfc3ff7219752646a226305b
[ "Unlicense" ]
8
2015-09-25T20:29:02.000Z
2020-01-07T02:18:32.000Z
#include "cinder/app/App.h" #include "cinder/app/RendererGl.h" #include "cinder/gl/GlslProg.h" #include "cinder/gl/Texture.h" #include "cinder/gl/gl.h" #include "CinderFFmpeg.h" using namespace ci; using namespace ci::app; using namespace ph; using namespace std; class _TBOX_PREFIX_App : public App { public: void...
20.571429
106
0.694444
paulhoux
3991fed2de13ed9792164a28717cc5ea6dad94b0
2,636
cpp
C++
test/gtest/gTest_ConsistentVector.cpp
dierkes/ccctl
c54804dd9d1432bd83e756d96f938de50ac4347f
[ "MIT" ]
null
null
null
test/gtest/gTest_ConsistentVector.cpp
dierkes/ccctl
c54804dd9d1432bd83e756d96f938de50ac4347f
[ "MIT" ]
null
null
null
test/gtest/gTest_ConsistentVector.cpp
dierkes/ccctl
c54804dd9d1432bd83e756d96f938de50ac4347f
[ "MIT" ]
null
null
null
/** * * @file * * @author Frank Dierkes * * $LastChangedBy$ * $Date$ * $Revision$ * * @remarks * */ #include <ccc/consistent_vector.h> #include "gTest_Container.h" #include "gTest_SequenceContainer.h" #if (__cplusplus >= 201103L) #include <type_traits> #endif #include <vector> typedef ccc::ConsistentVe...
35.621622
116
0.754932
dierkes
3994e9f2525dc043e4f0cbc7224a6347d5372d69
3,561
cpp
C++
cocos2dx_playground/Classes/algorithm_practice_loophero_PivotScene.cpp
R2Road/cocos2dx_playground
6e6f349b5c9fc702558fe8720ba9253a8ba00164
[ "Apache-2.0" ]
9
2020-06-11T17:09:44.000Z
2021-12-25T00:34:33.000Z
cocos2dx_playground/Classes/algorithm_practice_loophero_PivotScene.cpp
R2Road/cocos2dx_playground
6e6f349b5c9fc702558fe8720ba9253a8ba00164
[ "Apache-2.0" ]
9
2019-12-21T15:01:01.000Z
2020-12-05T15:42:43.000Z
cocos2dx_playground/Classes/algorithm_practice_loophero_PivotScene.cpp
R2Road/cocos2dx_playground
6e6f349b5c9fc702558fe8720ba9253a8ba00164
[ "Apache-2.0" ]
1
2020-09-07T01:32:16.000Z
2020-09-07T01:32:16.000Z
#include "algorithm_practice_loophero_PivotScene.h" #include <new> #include <numeric> #include "2d/CCLabel.h" #include "2d/CCLayer.h" #include "2d/CCSprite.h" #include "base/CCDirector.h" #include "base/CCEventListenerKeyboard.h" #include "base/CCEventDispatcher.h" #include "cpg_SStream.h" #include "cpg_StringTable....
23.74
161
0.689975
R2Road
39964561c035c04f62243e2f693633dcd18cf32f
4,407
cpp
C++
src/WinEoP/Utils/crt.cpp
quangnh89/WinEoP
b9c0f46a0bac8f4e4b68f289c127b87652d70004
[ "MIT" ]
25
2016-01-08T01:45:24.000Z
2022-03-17T06:06:18.000Z
src/WinEoP/Utils/crt.cpp
quangnh89/WinEoP
b9c0f46a0bac8f4e4b68f289c127b87652d70004
[ "MIT" ]
null
null
null
src/WinEoP/Utils/crt.cpp
quangnh89/WinEoP
b9c0f46a0bac8f4e4b68f289c127b87652d70004
[ "MIT" ]
10
2016-01-09T02:15:50.000Z
2021-04-22T12:23:43.000Z
#include "crt.h" #pragma section("wineop", read, execute) #pragma code_seg("wineop") #pragma optimize("", off) void __QUOTEPATH__(__in LPSTR lpStr) { UINT n = __STRLEN__(lpStr); for (UINT i = n; i > 0; --i) { lpStr[i] = lpStr[i - 1]; } lpStr[0] = lpStr[n+1] = '"'; } BOOL __ISUPPER__(__in CHAR c) { return ('A...
19.16087
154
0.58044
quangnh89
3999f79502b224a5885147e83af60a12b8265d82
46
cpp
C++
lib/Util/IVec.cpp
hlp2/EnjoLib
6bb69d0b00e367a800b0ef2804808fd1303648f4
[ "BSD-3-Clause" ]
3
2021-06-14T15:36:46.000Z
2022-02-28T15:16:08.000Z
lib/Util/IVec.cpp
hlp2/EnjoLib
6bb69d0b00e367a800b0ef2804808fd1303648f4
[ "BSD-3-Clause" ]
1
2021-07-17T07:52:15.000Z
2021-07-17T07:52:15.000Z
lib/Util/IVec.cpp
hlp2/EnjoLib
6bb69d0b00e367a800b0ef2804808fd1303648f4
[ "BSD-3-Clause" ]
3
2021-07-12T14:52:38.000Z
2021-11-28T17:10:33.000Z
#include "IVec.hpp" using namespace EnjoLib;
11.5
24
0.76087
hlp2
39a182bf4d85ada07bba5e049fe8d5f020a97992
18,927
cpp
C++
source/mclib/vfx_ellipse.cpp
mechasource/mechcommander2
b2c7cecf001cec1f535aa8d29c31bdc30d9aa983
[ "BSD-2-Clause" ]
38
2015-04-10T13:31:03.000Z
2021-09-03T22:34:05.000Z
source/mclib/vfx_ellipse.cpp
mechasource/mechcommander2
b2c7cecf001cec1f535aa8d29c31bdc30d9aa983
[ "BSD-2-Clause" ]
1
2020-07-09T09:48:44.000Z
2020-07-12T12:41:43.000Z
source/mclib/vfx_ellipse.cpp
mechasource/mechcommander2
b2c7cecf001cec1f535aa8d29c31bdc30d9aa983
[ "BSD-2-Clause" ]
12
2015-06-29T08:06:57.000Z
2021-10-13T13:11:41.000Z
#include "vfx.h" extern wchar_t AlphaTable[]; extern wchar_t Specialcolour[]; // extern void AG_ellipse_draw(PANE *pane, int32_t xc, int32_t yc, int32_t // width, int32_t height, int32_t color); extern void AG_ellipse_fill(PANE *pane, // int32_t xc, int32_t yc, int32_t width, int32_t height, int32_t color); static i...
17.284932
93
0.599461
mechasource
39a64b173c2a6a90f47c4179d27fe9790f9bca5e
4,320
cpp
C++
src/main.cpp
pavle0903/Singidunum-OOP2-Projekat
5050b8e6e47cc9c7a6a2fb6ff9d4199839b1d2a0
[ "FTL", "libtiff", "libpng-2.0", "BSD-3-Clause" ]
null
null
null
src/main.cpp
pavle0903/Singidunum-OOP2-Projekat
5050b8e6e47cc9c7a6a2fb6ff9d4199839b1d2a0
[ "FTL", "libtiff", "libpng-2.0", "BSD-3-Clause" ]
null
null
null
src/main.cpp
pavle0903/Singidunum-OOP2-Projekat
5050b8e6e47cc9c7a6a2fb6ff9d4199839b1d2a0
[ "FTL", "libtiff", "libpng-2.0", "BSD-3-Clause" ]
null
null
null
/** \mainpage * * \section opis Kratak opis * * Dokumentacija implementacije jednostavne RPG video igre. * * \section podesavanje Podešavanje okruženja * * \subsection zavisnosti Dobavljanje zavisnosti * Preuzeti [SDL2 biblioteku](http://libsdl.org/download-2.0.php), development verziju za odgovarajuci compile...
44.081633
112
0.760417
pavle0903
39a9a1811da932689bc883a0bf419e97d542ebfc
8,929
cxx
C++
src/AspNetCore/Src/processmanager.cxx
mimiagaj/aspnetCore
bce531f61a051c09c9fc2b38a7e72cee6123c95f
[ "MIT" ]
1
2020-08-25T22:41:04.000Z
2020-08-25T22:41:04.000Z
src/AspNetCore/Src/processmanager.cxx
mimiagaj/ASPNETCORE
bce531f61a051c09c9fc2b38a7e72cee6123c95f
[ "MIT" ]
null
null
null
src/AspNetCore/Src/processmanager.cxx
mimiagaj/ASPNETCORE
bce531f61a051c09c9fc2b38a7e72cee6123c95f
[ "MIT" ]
null
null
null
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. #include "precomp.hxx" volatile BOOL PROCESS_MANAGER::sm_fWSAStartupDone = FALSE; HRESULT PROCESS_MANAGER::Initialize( VOID ) { HRESULT ...
30.370748
106
0.525591
mimiagaj
39aad0d4da21453d1412618217a435cca49db347
1,503
cpp
C++
MavLinkMsgs/Source/MavLinkMsgs/Private/common/MavLinkMsg_logging_data.cpp
Simbotic/UE4-MAVLink
947908c600eb18212c139dc6cc6fde2504f20059
[ "Unlicense" ]
1
2022-03-22T01:07:46.000Z
2022-03-22T01:07:46.000Z
MavLinkMsgs/Source/MavLinkMsgs/Private/common/MavLinkMsg_logging_data.cpp
Simbotic/UE4-MAVLink
947908c600eb18212c139dc6cc6fde2504f20059
[ "Unlicense" ]
2
2019-11-25T17:56:41.000Z
2022-03-22T23:28:09.000Z
MavLinkMsgs/Source/MavLinkMsgs/Private/common/MavLinkMsg_logging_data.cpp
Simbotic/UE4-MAVLink
947908c600eb18212c139dc6cc6fde2504f20059
[ "Unlicense" ]
2
2019-11-25T15:27:40.000Z
2021-07-27T20:54:22.000Z
#include "MavLinkMsg_logging_data.h" #include "common/mavlink.h" void FMavlinkMsg_logging_data::Serialize(uint8 systemId, uint8 componentId, __mavlink_message& msg, uint16& packSize) { packSize = mavlink_msg_logging_data_pack(systemId, componentId, &msg, target_system, target_component, sequence, length, firs...
39.552632
164
0.76314
Simbotic
39ae7bfb13be9878bcb474ec16271b309a294d51
42,243
cpp
C++
packages/utility/core/test/tstSearchAlgorithms.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
10
2019-11-14T19:58:30.000Z
2021-04-04T17:44:09.000Z
packages/utility/core/test/tstSearchAlgorithms.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
43
2020-03-03T19:59:20.000Z
2021-09-08T03:36:08.000Z
packages/utility/core/test/tstSearchAlgorithms.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
6
2020-02-12T17:37:07.000Z
2020-09-08T18:59:51.000Z
//---------------------------------------------------------------------------// //! //! \file tstSearchAlgorithms.cpp //! \author Alex Robinson //! \brief Search function unit tests. //! //---------------------------------------------------------------------------// // Std Lib Includes #include <iostream> // FRENS...
32.4447
128
0.653647
bam241
39af83c4954ca8e10823c912acd8df7762283fc7
188
hpp
C++
basic/config.hpp
nnewram/cppwnlib
b0d858fc4910558544090abf2aad1c3aad212332
[ "MIT" ]
2
2021-12-02T19:58:46.000Z
2021-12-15T07:49:57.000Z
basic/config.hpp
nnewram/cppwnlib
b0d858fc4910558544090abf2aad1c3aad212332
[ "MIT" ]
null
null
null
basic/config.hpp
nnewram/cppwnlib
b0d858fc4910558544090abf2aad1c3aad212332
[ "MIT" ]
null
null
null
#pragma once #include <bits/c++config.h> namespace pwn { enum pwnflag : std::size_t { invalid = -1, standard = 0, noblocking = 1, bit32 = 4, bit64 = 8, remote = 2, local = 16, }; }
13.428571
28
0.611702
nnewram
39b3a2ba04deca67915ea0fae416ed8877d20be4
1,936
cpp
C++
src/cpp/types/utils.cpp
rockstarartist/DDS-Router
245099e5e1be584e9d37e9b16648183ab383d727
[ "Apache-2.0" ]
1
2021-11-15T08:16:58.000Z
2021-11-15T08:16:58.000Z
src/cpp/types/utils.cpp
rockstarartist/DDS-Router
245099e5e1be584e9d37e9b16648183ab383d727
[ "Apache-2.0" ]
18
2021-08-30T09:19:30.000Z
2021-11-16T07:17:38.000Z
src/cpp/types/utils.cpp
rockstarartist/DDS-Router
245099e5e1be584e9d37e9b16648183ab383d727
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 Proyectos y Sistemas de Mantenimiento SL (eProsima). // // 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 re...
25.142857
89
0.683368
rockstarartist
39c2640795c349d627958c5be545b0fe0ba50443
7,627
cpp
C++
cpp/src/Inference.cpp
BostonUniversitySeniorDesign/corner-camera
48bd550d14277c257ea9d96b446990629a783987
[ "MIT" ]
25
2017-10-11T10:59:05.000Z
2022-02-07T08:44:00.000Z
cpp/src/Inference.cpp
BostonUniversitySeniorDesign/corner-camera
48bd550d14277c257ea9d96b446990629a783987
[ "MIT" ]
1
2017-12-10T00:15:43.000Z
2017-12-12T16:59:02.000Z
cpp/src/Inference.cpp
BostonUniversitySeniorDesign/corner-camera
48bd550d14277c257ea9d96b446990629a783987
[ "MIT" ]
14
2017-10-11T18:48:40.000Z
2022-02-07T08:44:01.000Z
#include "Inference.h" Inference::Inference(int nangles, int ncircles, float rstep, double lambda, double beta, double alpha) { downlevs_ = 2; nangles_ = nangles; ncircles_ = ncircles; rstep_ = rstep; lambda_ = lambda; beta_ = beta; alpha_ = alpha; corner_x_ = 0; corner_y_ = 0; theta_start_ =...
26.119863
69
0.626459
BostonUniversitySeniorDesign
39c35b486c8f7e38da463c22f88c21c5ee4d6b0e
759
cpp
C++
examples/MapTest.cpp
sbeanie/Glasgow-MicroStream
eb0e214b0c16b22ff59b1633db4f76be380948d4
[ "Apache-2.0" ]
1
2019-06-17T20:52:56.000Z
2019-06-17T20:52:56.000Z
examples/MapTest.cpp
sbeanie/Glasgow-MicroStream
eb0e214b0c16b22ff59b1633db4f76be380948d4
[ "Apache-2.0" ]
null
null
null
examples/MapTest.cpp
sbeanie/Glasgow-MicroStream
eb0e214b0c16b22ff59b1633db4f76be380948d4
[ "Apache-2.0" ]
null
null
null
#include "Stream.hpp" using namespace glasgow_ustream; class IntMapStateful : public StatefulMap<int, int> { private: int count = 0; public: int apply_stateful_map(int val) override { count += 1; std::cout << "Received " << count << " values." << std::endl; return val; } }; int m...
23
69
0.637681
sbeanie
39c36b31c096ebebaa67c313c40c9a5c388f760c
621
cpp
C++
Codeforces/contests/round-491/c.cpp
Anzoteh96/Cpp-algorithms
7519c65dcfa2018d81280fe947bef749970bb8bc
[ "MIT" ]
1
2017-06-24T11:17:37.000Z
2017-06-24T11:17:37.000Z
Codeforces/contests/round-491/c.cpp
Anzoteh96/Cpp-algorithms
7519c65dcfa2018d81280fe947bef749970bb8bc
[ "MIT" ]
null
null
null
Codeforces/contests/round-491/c.cpp
Anzoteh96/Cpp-algorithms
7519c65dcfa2018d81280fe947bef749970bb8bc
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long int ll; ll answer (ll n) { ll hi = (n + 1) / 2; ll lo = 1; while (hi > lo) { ll total = n; ll v = 0; ll p = 0; ll mid = lo + (hi - lo) / 2; while (total) { v += min(mid, total); ...
17.25
37
0.365539
Anzoteh96
39cb769466ac63e5025a54e83e2d9a254921d4e1
604
cpp
C++
textureManager.cpp
FranckRJ/budp
323e29435eac2ace8a07683511fb1f0031fbfa1d
[ "Zlib" ]
null
null
null
textureManager.cpp
FranckRJ/budp
323e29435eac2ace8a07683511fb1f0031fbfa1d
[ "Zlib" ]
null
null
null
textureManager.cpp
FranckRJ/budp
323e29435eac2ace8a07683511fb1f0031fbfa1d
[ "Zlib" ]
null
null
null
#include "textureManager.hpp" namespace { std::map<std::string, sf::Texture> mapOfTextures; } sf::Texture& textureManagerTool::getThisTexture(std::string textureName) { std::map<std::string, sf::Texture>::iterator textureIte = mapOfTextures.find(textureName); if(textureIte == mapOfTextures.end()) { ...
21.571429
94
0.703642
FranckRJ
39cc345e2d90c18809b43b049cf03629727bba71
1,152
hpp
C++
Core/include/Core/Modules/SystemManager.hpp
Eikins/NoEngine
5585be239234c5cd5f35bf4347d5ce8f6a76560d
[ "MIT" ]
1
2022-03-15T15:43:03.000Z
2022-03-15T15:43:03.000Z
Core/include/Core/Modules/SystemManager.hpp
Eikins/NoEngine
5585be239234c5cd5f35bf4347d5ce8f6a76560d
[ "MIT" ]
6
2020-11-13T09:34:52.000Z
2020-11-13T09:40:15.000Z
Core/include/Core/Modules/SystemManager.hpp
Eikins/NoEngine
5585be239234c5cd5f35bf4347d5ce8f6a76560d
[ "MIT" ]
null
null
null
#pragma once #include <cassert> #include <unordered_map> #include "Core/Systems/System.h" #include "Core/GameObject.h" namespace Core { class SystemManager { private: std::unordered_map<const char*, Signature> _signatures; std::unordered_map<const char*, System*> _systems; public: void OnGameObjectRemoved(...
24
85
0.696181
Eikins
39cff15405ef18d86ebab3e842bf1df496a51564
329
cpp
C++
Kgeigie-M5stack/temp code/countdown.cpp
Safecast/kgeigie
215f20f8b20d4dfcaa1692d05f63828d80a1b894
[ "MIT" ]
null
null
null
Kgeigie-M5stack/temp code/countdown.cpp
Safecast/kgeigie
215f20f8b20d4dfcaa1692d05f63828d80a1b894
[ "MIT" ]
null
null
null
Kgeigie-M5stack/temp code/countdown.cpp
Safecast/kgeigie
215f20f8b20d4dfcaa1692d05f63828d80a1b894
[ "MIT" ]
1
2019-07-24T08:55:27.000Z
2019-07-24T08:55:27.000Z
#include <M5Stack.h> uint16_t seconds = 60; // max == 65535 uint32_t lastTime; void setup() { Serial.begin(115200); lastTime = millis(); while (seconds > 0) { if (millis() - lastTime >= 1000) { seconds--; lastTime += 1000; Serial.println(seconds); } } } void loop()...
10.612903
43
0.534954
Safecast
39d0bed92c34d8fb46a224e0133156c1ba20b4a3
4,111
cpp
C++
misc/progs/pclCapture/src/main.cpp
razmara/s2017
6556daf156be8977a0e1d9ecaa9aebccc5ef52b7
[ "MIT" ]
null
null
null
misc/progs/pclCapture/src/main.cpp
razmara/s2017
6556daf156be8977a0e1d9ecaa9aebccc5ef52b7
[ "MIT" ]
null
null
null
misc/progs/pclCapture/src/main.cpp
razmara/s2017
6556daf156be8977a0e1d9ecaa9aebccc5ef52b7
[ "MIT" ]
null
null
null
// Original code by Geoffrey Biggs, taken from the PCL tutorial in // http://pointclouds.org/documentation/tutorials/pcl_visualizer.php // Simple OpenNI viewer that also allows to write the current scene to a .pcd // when pressing SPACE. #include <pcl/io/openni_grabber.h> #include <pcl/io/pcd_io.h> #include <pcl/visu...
24.915152
120
0.654342
razmara
39e0ce0b84bcfde872dc7b5c3b01b043896484c5
1,025
cpp
C++
Advertisement.cpp
Azura-yuwi/Code
2226034e7c5abd228abb06e565fd3dcfd36a4692
[ "MIT" ]
null
null
null
Advertisement.cpp
Azura-yuwi/Code
2226034e7c5abd228abb06e565fd3dcfd36a4692
[ "MIT" ]
null
null
null
Advertisement.cpp
Azura-yuwi/Code
2226034e7c5abd228abb06e565fd3dcfd36a4692
[ "MIT" ]
null
null
null
//CSES/USACO Guide //Monotonic Stack #include <bits/stdc++.h> using namespace std; #define ll long long #define pb push_back #define mp make_pair int main() { int n; cin >> n; ll val[n+1]; val[0] = -1; for(int i = 1; i <= n; i++) { cin >> val[i]; } ll left[n]; ll right[n]; ...
15.298507
58
0.425366
Azura-yuwi
39e38f2c2365a244c27730019165b4f344f18e87
16,447
tcc
C++
include/DREAM/Equations/Fluid/SvenssonTransport.tcc
chalmersplasmatheory/DREAM
715637ada94f5e35db16f23c2fd49bb7401f4a27
[ "MIT" ]
12
2020-09-07T11:19:10.000Z
2022-02-17T17:40:19.000Z
include/DREAM/Equations/Fluid/SvenssonTransport.tcc
chalmersplasmatheory/DREAM
715637ada94f5e35db16f23c2fd49bb7401f4a27
[ "MIT" ]
110
2020-09-02T15:29:24.000Z
2022-03-09T09:50:01.000Z
include/DREAM/Equations/Fluid/SvenssonTransport.tcc
chalmersplasmatheory/DREAM
715637ada94f5e35db16f23c2fd49bb7401f4a27
[ "MIT" ]
3
2021-05-21T13:24:31.000Z
2022-02-11T14:43:12.000Z
/** * Implementation of a diffusive transport term which can be applied to both * kinetic and fluid grids, and which allows one to prescribe the diffusion * coefficient in time and phase space. */ #include <type_traits> #include "DREAM/Equations/Fluid/SvenssonTransport.hpp" /** * Constructor. */ template<typena...
37.722477
109
0.596036
chalmersplasmatheory
39ec336f20779030ed8390c386135fc8388b3ac0
1,274
cpp
C++
Leetcode/problem_solving/leetcode_easy_Q104.cpp
Vikash-8090-Yadav/AllProgramming_Basic
76721256edcb91520d1b5132aa59ac37eebdf7c3
[ "MIT" ]
2
2022-01-04T12:04:51.000Z
2022-01-04T18:52:26.000Z
Leetcode/problem_solving/leetcode_easy_Q104.cpp
Vikash-8090-Yadav/AllProgramming_Basic
76721256edcb91520d1b5132aa59ac37eebdf7c3
[ "MIT" ]
null
null
null
Leetcode/problem_solving/leetcode_easy_Q104.cpp
Vikash-8090-Yadav/AllProgramming_Basic
76721256edcb91520d1b5132aa59ac37eebdf7c3
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; class node{ public: node*right; node*left; int data; node(int data){ this->data =data; this->left = NULL; this->right = NULL; } }; int level_order(node *root){ int cnt=0; queue<node *> q; q.push(root); while(q.s...
19.90625
36
0.468603
Vikash-8090-Yadav
39ef8f01eb9ecdfa37590610e909332e99639606
2,318
hh
C++
src/c4/scatterv.hh
jhchang-lanl/Draco
b8e3bcd38ab739615c1df506268d70bf99929efa
[ "BSD-3-Clause-Open-MPI" ]
43
2017-02-17T23:47:36.000Z
2022-03-14T07:53:43.000Z
src/c4/scatterv.hh
jhchang-lanl/Draco
b8e3bcd38ab739615c1df506268d70bf99929efa
[ "BSD-3-Clause-Open-MPI" ]
848
2017-01-16T01:03:38.000Z
2022-01-11T18:56:50.000Z
src/c4/scatterv.hh
jhchang-lanl/Draco
b8e3bcd38ab739615c1df506268d70bf99929efa
[ "BSD-3-Clause-Open-MPI" ]
31
2017-03-02T19:51:15.000Z
2021-09-08T02:33:34.000Z
//--------------------------------------------*-C++-*---------------------------------------------// /*! * \file c4/scatterv.hh * \author Thomas M. Evans * \date Thu Mar 21 11:42:03 2002 * \brief Data scatterv functions * \note Copyright (C) 2016-2020 Triad National Security, LLC., All rights reserved. * ...
39.288136
100
0.527179
jhchang-lanl
39f08204ffcf294d73a9ae8d43b82fe2085a79da
117
cpp
C++
src/examples/11_module/03_memory_leak/memory_leak.cpp
acc-cosc-1337-spring-2020/acc-cosc-1337-spring-2020-zdfehr1234
1140093c8eb0ec48dad009d0484451ebaad396c1
[ "MIT" ]
null
null
null
src/examples/11_module/03_memory_leak/memory_leak.cpp
acc-cosc-1337-spring-2020/acc-cosc-1337-spring-2020-zdfehr1234
1140093c8eb0ec48dad009d0484451ebaad396c1
[ "MIT" ]
null
null
null
src/examples/11_module/03_memory_leak/memory_leak.cpp
acc-cosc-1337-spring-2020/acc-cosc-1337-spring-2020-zdfehr1234
1140093c8eb0ec48dad009d0484451ebaad396c1
[ "MIT" ]
null
null
null
#include "memory_leak.h" void memory_leak() { int* ptr_num = new int(5); //other code //forget to delete code }
13
27
0.666667
acc-cosc-1337-spring-2020
39f18d93d847ede6595766e45849c52ce504ab93
7,297
cc
C++
build/X86/python/m5/util/smartdict.py.cc
zhoushuxin/impl_of_HPCA2018
594d807fb0c0712bb7766122c4efe3321d012687
[ "BSD-3-Clause" ]
5
2019-12-12T16:26:09.000Z
2022-03-17T03:23:33.000Z
build/X86/python/m5/util/smartdict.py.cc
zhoushuxin/impl_of_HPCA2018
594d807fb0c0712bb7766122c4efe3321d012687
[ "BSD-3-Clause" ]
null
null
null
build/X86/python/m5/util/smartdict.py.cc
zhoushuxin/impl_of_HPCA2018
594d807fb0c0712bb7766122c4efe3321d012687
[ "BSD-3-Clause" ]
null
null
null
#include "sim/init.hh" namespace { const uint8_t data_m5_util_smartdict[] = { 120,156,205,89,109,111,27,69,16,222,59,191,36,118,220,54, 73,211,180,208,183,165,188,153,210,198,80,90,104,171,10,161, 82,21,85,64,128,75,105,105,84,56,93,110,215,246,37,231, 59,247,118,47,137,171,246,11,32,33,33,129,196,7,3...
55.70229
65
0.660682
zhoushuxin
39f1bdafa05b38686c7aa7b358fc1efc83a90368
2,009
cpp
C++
code/source/net/protocol_msg/server.cpp
crafn/clover
586acdbcdb34c3550858af125e9bb4a6300343fe
[ "MIT" ]
12
2015-01-12T00:19:20.000Z
2021-08-05T10:47:20.000Z
code/source/net/protocol_msg/server.cpp
crafn/clover
586acdbcdb34c3550858af125e9bb4a6300343fe
[ "MIT" ]
null
null
null
code/source/net/protocol_msg/server.cpp
crafn/clover
586acdbcdb34c3550858af125e9bb4a6300343fe
[ "MIT" ]
null
null
null
#include "server.hpp" namespace clover { namespace net { namespace msg { Server::Server(const ServerInfo& info_) : info(info_){ } void Server::update(){ try { ioService.poll(); if (!connectionPtr && !listenerPtr){ // Nobody's listening startListening(); } else if (connectionPtr && listenerPtr && con...
27.520548
167
0.665007
crafn
39f50af3d5ed0a36ca7b21c6ed2f51afbfa02025
1,917
cpp
C++
src/lib/util/UtLog.cpp
MarkLeone/PostHaste
56083e30a58489338e39387981029488d7af2390
[ "MIT" ]
4
2015-05-07T03:29:52.000Z
2016-08-29T17:30:15.000Z
src/lib/util/UtLog.cpp
MarkLeone/PostHaste
56083e30a58489338e39387981029488d7af2390
[ "MIT" ]
1
2018-05-14T04:41:04.000Z
2018-05-14T04:41:04.000Z
src/lib/util/UtLog.cpp
MarkLeone/PostHaste
56083e30a58489338e39387981029488d7af2390
[ "MIT" ]
null
null
null
// Copyright 2009 Mark Leone (markleone@gmail.com). All rights reserved. // Licensed under the terms of the MIT License. // See http://www.opensource.org/licenses/mit-license.php. #include "util/UtLog.h" #include <assert.h> #include <iostream> #include <stdarg.h> const char* UtSeverityToString(UtSeverity level) { ...
24.265823
73
0.609285
MarkLeone
39f838922fd21e5f7778b00173fd76b080bc5f5c
366
cpp
C++
Hackerrank/algorithms/Intro_to_Tutorial_Challenges.cpp
willingtonortiz/CPSolutions
66c48995ba0f8658e000a1ef828ab5759549975e
[ "MIT" ]
null
null
null
Hackerrank/algorithms/Intro_to_Tutorial_Challenges.cpp
willingtonortiz/CPSolutions
66c48995ba0f8658e000a1ef828ab5759549975e
[ "MIT" ]
null
null
null
Hackerrank/algorithms/Intro_to_Tutorial_Challenges.cpp
willingtonortiz/CPSolutions
66c48995ba0f8658e000a1ef828ab5759549975e
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main(){ int size, sear; scanf("%d%d", &sear, &size); vector<int> arr(size); for(int i = 0; i < size; ++i){ scanf("%d", &arr[i]); } for(int i = 0; i < arr.size(); ++i){ if(arr[i] == sear){ printf("%d", i); ...
14.076923
40
0.418033
willingtonortiz
26007b3975e7fed36ea9f7c10ded80df818b8073
2,247
cpp
C++
src/DiGraph.cpp
CalebCintary/pyplot_cpp
de33c3e921229e5efd72a7fc4fdb17212edc9aa9
[ "MIT" ]
1
2022-03-29T10:52:21.000Z
2022-03-29T10:52:21.000Z
src/DiGraph.cpp
CalebCintary/pyplot_cpp
de33c3e921229e5efd72a7fc4fdb17212edc9aa9
[ "MIT" ]
1
2022-03-20T12:17:11.000Z
2022-03-20T17:50:12.000Z
src/DiGraph.cpp
CalebCintary/pyplot_cpp
de33c3e921229e5efd72a7fc4fdb17212edc9aa9
[ "MIT" ]
1
2022-03-29T19:40:59.000Z
2022-03-29T19:40:59.000Z
// // Created by lavr4 on 3/24/2022. // #include "pyplot_cpp/DiGraph.hpp" #include "pyplot_cpp/converter/converter.hpp" #include "pyplot_cpp/networkx.h" void pyplot_cpp::DiGraph::dynamicScript_Configuration() { script.addAssignment("g", "nx.DiGraph()"); if (edgeList.size() + wedgeList.size() > 0) { ...
43.211538
85
0.562528
CalebCintary
2609510d554dadf32a926cc055e03b0b2c87f52f
13,411
cpp
C++
OREData/ored/portfolio/fixingdates.cpp
PiotrSiejda/Engine
8360b5de32408f2a37da5ac3ca7b4e913bf67e9f
[ "BSD-3-Clause" ]
null
null
null
OREData/ored/portfolio/fixingdates.cpp
PiotrSiejda/Engine
8360b5de32408f2a37da5ac3ca7b4e913bf67e9f
[ "BSD-3-Clause" ]
null
null
null
OREData/ored/portfolio/fixingdates.cpp
PiotrSiejda/Engine
8360b5de32408f2a37da5ac3ca7b4e913bf67e9f
[ "BSD-3-Clause" ]
1
2022-02-07T02:04:10.000Z
2022-02-07T02:04:10.000Z
/* Copyright (C) 2019 Quaternion Risk Management Ltd All rights reserved. This file is part of ORE, a free-software/open-source library for transparent pricing and risk analysis - http://opensourcerisk.org ORE is free software: you can redistribute it and/or modify it under the terms of the Modified BSD License...
37.356546
147
0.657147
PiotrSiejda
261135377a69c0eba9193daddf0e29127ea37150
929
cpp
C++
csgo_internal/DLLMain.cpp
XGOD4/REDHOOK
ee8d4addf2051c07defa6df494ce00cdddefd709
[ "MIT" ]
1
2018-04-19T00:50:58.000Z
2018-04-19T00:50:58.000Z
csgo_internal/DLLMain.cpp
XGOD4/REDHOOK
ee8d4addf2051c07defa6df494ce00cdddefd709
[ "MIT" ]
1
2018-04-14T06:34:14.000Z
2018-04-14T06:34:14.000Z
csgo_internal/DLLMain.cpp
XGOD4/REDHOOK
ee8d4addf2051c07defa6df494ce00cdddefd709
[ "MIT" ]
null
null
null
#include "Cheat.h" void CheatThread() { LOG_INIT; U::Setup(); // loop for functions/features that are not needed in a hooked function while( !G::PressedKeys[ VK_END ] ) { if( I::Engine->IsInGame() ) { if( Vars.Misc.ChatSpam ) E::Misc->Chatspam(); if( Vars.Misc.Ranks && G::PressedKeys[ VK_TAB ]...
17.865385
108
0.632939
XGOD4
2617930dca542dba67660697efc62be00d772624
212,459
cpp
C++
sources/unittests/Term/unittest_main.cpp
mdoshi96/beacls
860426ed1336d9539dea195987efcdd8a8276a1c
[ "BSD-2-Clause", "BSD-2-Clause-FreeBSD" ]
30
2017-12-17T22:57:50.000Z
2022-01-30T17:06:34.000Z
sources/unittests/Term/unittest_main.cpp
codingblazes/beacls
6c1d685ee00e3b39d8100c4a170a850682679abc
[ "BSD-2-Clause", "BSD-2-Clause-FreeBSD" ]
2
2017-03-24T06:18:16.000Z
2017-04-04T16:16:06.000Z
sources/unittests/Term/unittest_main.cpp
codingblazes/beacls
6c1d685ee00e3b39d8100c4a170a850682679abc
[ "BSD-2-Clause", "BSD-2-Clause-FreeBSD" ]
8
2018-07-06T01:47:21.000Z
2021-07-23T15:50:34.000Z
//#include "stdafx.h" #define _USE_MATH_DEFINES #include <cmath> #include <cstring> #include <iostream> #include <vector> #include "UTest_Term.hpp" #include <helperOC/helperOC.hpp> #include <helperOC/DynSys/DubinsCar/DubinsCar.hpp> #include <helperOC/DynSys/DynSys/DynSysSchemeData.hpp> #include "Air3DSchemeData.hpp" #i...
45.242547
204
0.725439
mdoshi96
2621ba85029e8ca9c99988c40abbdc92a19636b4
599
cpp
C++
20 isValid.cpp
OliveStar/leetcodecpp
4558d90cf5633adea9d9fd785fdd36a001442d67
[ "MIT" ]
null
null
null
20 isValid.cpp
OliveStar/leetcodecpp
4558d90cf5633adea9d9fd785fdd36a001442d67
[ "MIT" ]
null
null
null
20 isValid.cpp
OliveStar/leetcodecpp
4558d90cf5633adea9d9fd785fdd36a001442d67
[ "MIT" ]
null
null
null
class Solution { public: bool isValid(string s) { stack<char> left; for(char c : s){ if(c == '(' || c == '{' || c == '[') left.push(c); else{ // 字符c是右括号 if(!left.empty() && leftOf(c) == left.top()) left.pop(); ...
23.96
60
0.347245
OliveStar
262242b4d68b7aad0512f3cabdd09e151a376a29
2,763
hpp
C++
tket/src/Architecture/include/Architecture/BestTsaWithArch.hpp
CQCL/tket
3f3d7c24d9a6c9cfd85966c13dcccc8a13f92adb
[ "Apache-2.0" ]
104
2021-09-15T08:16:25.000Z
2022-03-28T21:19:00.000Z
tket/src/Architecture/include/Architecture/BestTsaWithArch.hpp
CQCL/tket
3f3d7c24d9a6c9cfd85966c13dcccc8a13f92adb
[ "Apache-2.0" ]
109
2021-09-16T17:14:22.000Z
2022-03-29T06:48:40.000Z
tket/src/Architecture/include/Architecture/BestTsaWithArch.hpp
CQCL/tket
3f3d7c24d9a6c9cfd85966c13dcccc8a13f92adb
[ "Apache-2.0" ]
8
2021-10-02T13:47:34.000Z
2022-03-17T15:36:56.000Z
// Copyright 2019-2022 Cambridge Quantum Computing // // 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...
42.507692
79
0.734709
CQCL
2622606fc4f3c5004240016b6c9473d80d8a88ca
2,254
cpp
C++
CloakEngine/GetUID.cpp
Bizzarrus/CloakEngine
0890eaada76b91be89702d2a6ec2dcf9b2901fb9
[ "BSD-2-Clause" ]
null
null
null
CloakEngine/GetUID.cpp
Bizzarrus/CloakEngine
0890eaada76b91be89702d2a6ec2dcf9b2901fb9
[ "BSD-2-Clause" ]
null
null
null
CloakEngine/GetUID.cpp
Bizzarrus/CloakEngine
0890eaada76b91be89702d2a6ec2dcf9b2901fb9
[ "BSD-2-Clause" ]
null
null
null
#include "stdafx.h" #include "CloakEngine\Helper\GetUID.h" namespace CloakEngine { namespace API { namespace Helper { namespace GetUID_v1 { CLOAKENGINE_API inline IUID CLOAK_CALL getUID(SavePtr_v1::ISavePtr*) { return IUID::SavePtr_v1; } CLOAKENGINE_API inline IUID CLOAK_CALL getUID(SyncSection_v...
77.724138
128
0.767524
Bizzarrus
262d949bede4a8bdd31d32ec939e43d6c7b1f4d7
3,266
cpp
C++
src/ref/cpu/ref_conv.cpp
mapnn/mapnn
fcd5ae04b9b9df809281882872842daaf5a35db0
[ "Apache-2.0" ]
2
2021-01-01T02:01:11.000Z
2022-02-15T02:50:44.000Z
src/ref/cpu/ref_conv.cpp
mapnn/mapnn
fcd5ae04b9b9df809281882872842daaf5a35db0
[ "Apache-2.0" ]
null
null
null
src/ref/cpu/ref_conv.cpp
mapnn/mapnn
fcd5ae04b9b9df809281882872842daaf5a35db0
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020 The Mapnn Team. 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 * ...
41.341772
91
0.492039
mapnn
26308ebc80e3235d741a024b3159e4b5be6dede3
2,119
cpp
C++
rootex/vendor/Effekseer/effekseer/src/EffekseerRendererCommon/EffekseerRenderer.DDSTextureLoader.cpp
ChronicallySerious/Rootex
bf2a0997b6aa5be84dbfc0e7826c31ff693ca0f1
[ "MIT" ]
166
2019-06-19T19:51:45.000Z
2022-03-24T13:03:29.000Z
rootex/vendor/Effekseer/effekseer/src/EffekseerRendererCommon/EffekseerRenderer.DDSTextureLoader.cpp
rahil627/Rootex
44f827d469bddc7167b34dedf80d7a8b984fdf20
[ "MIT" ]
312
2019-06-13T19:39:25.000Z
2022-03-02T18:37:22.000Z
rootex/vendor/Effekseer/effekseer/src/EffekseerRendererCommon/EffekseerRenderer.DDSTextureLoader.cpp
rahil627/Rootex
44f827d469bddc7167b34dedf80d7a8b984fdf20
[ "MIT" ]
23
2019-10-04T11:02:21.000Z
2021-12-24T16:34:52.000Z
#include "EffekseerRenderer.DDSTextureLoader.h" namespace EffekseerRenderer { bool DDSTextureLoader::Load(void* data, int32_t size) { struct DDS_PIXELFORMAT { uint32_t dwSize; uint32_t dwFlags; uint32_t dwFourCC; uint32_t dwRGBBitCount; uint32_t dwRBitMask; uint32_t dwGBitMask; uint32_t dwBBitMask; u...
20.375
73
0.691836
ChronicallySerious
1c7bd9601a4d6cfb938105761225b8799b94b4a5
3,212
cpp
C++
Plugin/WIMC/WIMC.cpp
wyrover/WinCustomDesktop
b4830a563f6f499b21860215de6d540a77810c28
[ "MIT" ]
3
2018-09-17T10:17:46.000Z
2019-08-20T04:53:31.000Z
Plugin/WIMC/WIMC.cpp
shaojava/WinCustomDesktop
b4830a563f6f499b21860215de6d540a77810c28
[ "MIT" ]
null
null
null
Plugin/WIMC/WIMC.cpp
shaojava/WinCustomDesktop
b4830a563f6f499b21860215de6d540a77810c28
[ "MIT" ]
1
2021-12-14T09:57:53.000Z
2021-12-14T09:57:53.000Z
#include "stdafx.h" #include "WIMC.h" #include <CDEvents.h> #include <CDAPI.h> #include "Config.h" #include <thread> #include <shellapi.h> #define _USE_MATH_DEFINES #include <math.h> #include <random> WIMC::WIMC(HMODULE hModule) : m_module(hModule), m_menuID(cd::GetMenuID()) { m_fakeCursors.resize(g_config.m_nCu...
27.452991
116
0.715442
wyrover
1c7c45529607c8ee75b422971aa3f09bf5db9ef8
5,635
cpp
C++
VC2010Samples/MFC/general/spiro/spiro.cpp
alonmm/VCSamples
6aff0b4902f5027164d593540fcaa6601a0407c3
[ "MIT" ]
300
2019-05-09T05:32:33.000Z
2022-03-31T20:23:24.000Z
VC2010Samples/MFC/general/spiro/spiro.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
9
2016-09-19T18:44:26.000Z
2018-10-26T10:20:05.000Z
VC2010Samples/MFC/general/spiro/spiro.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
633
2019-05-08T07:34:12.000Z
2022-03-30T04:38:28.000Z
// spiro.cpp : Defines the class behaviors for the application. // // This is a part of the Microsoft Foundation Classes C++ library. // Copyright (c) Microsoft Corporation. All rights reserved. // // This source code is only intended as a supplement to the // Microsoft Foundation Classes Reference and related // elec...
28.034826
77
0.667968
alonmm
1c84eebe26b8de5e753498ac01b043a0021bef74
18,262
cpp
C++
src/Framework/Utils.cpp
yuphin/Lumen
a210b5a923b684ed1fc6f047544b82af4fdfe2db
[ "MIT" ]
1
2022-01-07T21:25:53.000Z
2022-01-07T21:25:53.000Z
src/Framework/Utils.cpp
yuphin/Lumen
a210b5a923b684ed1fc6f047544b82af4fdfe2db
[ "MIT" ]
null
null
null
src/Framework/Utils.cpp
yuphin/Lumen
a210b5a923b684ed1fc6f047544b82af4fdfe2db
[ "MIT" ]
null
null
null
#include "LumenPCH.h" #include "Utils.h" #include "CommandBuffer.h" #include "Framework/ThreadPool.h" uint32_t find_memory_type(VkPhysicalDevice* physical_device, uint32_t type_filter, VkMemoryPropertyFlags props) { VkPhysicalDeviceMemoryProperties mem_props; vkGetPhysicalDeviceMemoryProperties(*physical_dev...
39.104925
110
0.804184
yuphin
1c86efe96729e58209801543479f414dc15c73fa
18,447
cpp
C++
GameServer/Option.cpp
openlastchaos/lastchaos-source-server
935b770fa857e67b705717d154b11b717741edeb
[ "Apache-2.0" ]
null
null
null
GameServer/Option.cpp
openlastchaos/lastchaos-source-server
935b770fa857e67b705717d154b11b717741edeb
[ "Apache-2.0" ]
null
null
null
GameServer/Option.cpp
openlastchaos/lastchaos-source-server
935b770fa857e67b705717d154b11b717741edeb
[ "Apache-2.0" ]
1
2022-01-17T09:34:39.000Z
2022-01-17T09:34:39.000Z
#include "stdhdrs.h" #include "Option.h" #include "Server.h" #include "../ShareLib/DBCmd.h" #include "WarCastle.h" // 레벨업시 각 스탯당 hp, mp 증가량 extern int levelup_hp[JOBCOUNT][4]; extern int levelup_mp[JOBCOUNT][4]; ////////////////// // COptionProto COptionProto::COptionProto() { m_idNum = 0; m_type = -1; m_weapon...
20.867647
145
0.673389
openlastchaos
1c8ceb9a8a54330affcb19cb5a93a424be8c6b90
1,147
hpp
C++
Source/AllProjects/CQCProtoDev/CQCProtoDev_Constant.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
51
2020-12-26T18:17:16.000Z
2022-03-15T04:29:35.000Z
Source/AllProjects/CQCProtoDev/CQCProtoDev_Constant.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
null
null
null
Source/AllProjects/CQCProtoDev/CQCProtoDev_Constant.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
4
2020-12-28T07:24:39.000Z
2021-12-29T12:09:37.000Z
// // FILE NAME: CQCProtoDev_Constant.hpp // // AUTHOR: Dean Roddey // // CREATED: 11/27/2003 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2020 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://op...
27.97561
81
0.572799
MarkStega
1c8dba6e4ec65d6ebcdc693583fb27a173b9f1e9
1,087
cpp
C++
Sid's Levels/Level - 3/Arrays/Longest Mountain In An Array.cpp
Tiger-Team-01/DSA-A-Z-Practice
e08284ffdb1409c08158dd4e90dc75dc3a3c5b18
[ "MIT" ]
14
2021-08-22T18:21:14.000Z
2022-03-08T12:04:23.000Z
Sid's Levels/Level - 3/Arrays/Longest Mountain In An Array.cpp
Tiger-Team-01/DSA-A-Z-Practice
e08284ffdb1409c08158dd4e90dc75dc3a3c5b18
[ "MIT" ]
1
2021-10-17T18:47:17.000Z
2021-10-17T18:47:17.000Z
Sid's Levels/Level - 3/Arrays/Longest Mountain In An Array.cpp
Tiger-Team-01/DSA-A-Z-Practice
e08284ffdb1409c08158dd4e90dc75dc3a3c5b18
[ "MIT" ]
5
2021-09-01T08:21:12.000Z
2022-03-09T12:13:39.000Z
class Solution { public: int longestMountain(vector<int>& a) { //OM GAN GANAPATHAYE NAMO NAMAH //JAI SHRI RAM //JAI BAJRANGBALI //AMME NARAYANA, DEVI NARAYANA, LAKSHMI NARAYANA, BHADRE NARAYANA int n = a.size(); int i = 1; int maxLen = 0; while(i < ...
26.512195
73
0.348666
Tiger-Team-01
1c94e9d142659def8c7eb756ae2fc268a0d8182a
390
cpp
C++
Source/Interface/Src/ShaderParserPch.cpp
DragonJoker/ShaderParser
b5b6654625c103634b467ed5572e97ad2b151c31
[ "MIT" ]
2
2016-09-03T22:48:01.000Z
2017-01-19T16:30:05.000Z
Source/Interface/Src/ShaderParserPch.cpp
DragonJoker/ShaderParser
b5b6654625c103634b467ed5572e97ad2b151c31
[ "MIT" ]
null
null
null
Source/Interface/Src/ShaderParserPch.cpp
DragonJoker/ShaderParser
b5b6654625c103634b467ed5572e97ad2b151c31
[ "MIT" ]
null
null
null
/************************************************************************//** * @file ShaderParserPch.cpp * @author Sylvain Doremus * @version 1.0 * @date 11/23/2015 * * * @brief ShaderParser precompiled header * * @details This file generates the ShaderParser precompiled headers * *************************************...
26
77
0.453846
DragonJoker
1c95e00df4aae4b93da3086eb6520fd07bae2ff6
2,531
cpp
C++
Sources/Inputs/Axes/HatJoystick.cpp
dreadris/Acid
1af276edce8e6481c44d475633bf69266e16ed87
[ "MIT" ]
null
null
null
Sources/Inputs/Axes/HatJoystick.cpp
dreadris/Acid
1af276edce8e6481c44d475633bf69266e16ed87
[ "MIT" ]
null
null
null
Sources/Inputs/Axes/HatJoystick.cpp
dreadris/Acid
1af276edce8e6481c44d475633bf69266e16ed87
[ "MIT" ]
null
null
null
#include "HatJoystick.hpp" namespace acid { bool HatJoystick::registered = Axis::Registrar<HatJoystick>::Register("hatJoystick") && Button::Registrar<HatJoystick>::Register("hatJoystick"); HatJoystick::HatJoystick(JoystickPort port, JoystickHat hat, const BitMask<JoystickHatValue> &hatFlags) : m_port(port), m_hat...
29.091954
108
0.682734
dreadris
1c9dc5b65b6526c6133419ef992a064bcb645bb5
4,504
hpp
C++
alpaka/include/alpaka/warp/WarpGenericSycl.hpp
ComputationalRadiationPhysics/mallocMC
bb2b32a4a56f7c892e14454bf6aa373a4870c32c
[ "MIT" ]
25
2015-01-30T12:19:48.000Z
2020-10-30T07:52:45.000Z
alpaka/include/alpaka/warp/WarpGenericSycl.hpp
ComputationalRadiationPhysics/mallocMC
bb2b32a4a56f7c892e14454bf6aa373a4870c32c
[ "MIT" ]
101
2015-01-06T11:31:26.000Z
2020-11-09T13:51:19.000Z
alpaka/include/alpaka/warp/WarpGenericSycl.hpp
ComputationalRadiationPhysics/mallocMC
bb2b32a4a56f7c892e14454bf6aa373a4870c32c
[ "MIT" ]
10
2015-06-10T07:54:30.000Z
2020-05-06T10:07:39.000Z
/* Copyright 2022 Jan Stephan * * This file is part of Alpaka. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #pragma once #ifdef ALPAKA_ACC_SYCL_ENABLED ...
36.617886
118
0.649201
ComputationalRadiationPhysics
1ca2de40c39fe14fc178c4e076792f08ff916545
4,038
cpp
C++
lib/Analysis/ValueClassification.cpp
robcasloz/IteratorRecognition
fa1a1e67c36cde3639ac40528228ae85e54e3b13
[ "MIT" ]
null
null
null
lib/Analysis/ValueClassification.cpp
robcasloz/IteratorRecognition
fa1a1e67c36cde3639ac40528228ae85e54e3b13
[ "MIT" ]
6
2019-05-29T21:11:03.000Z
2021-07-01T10:47:02.000Z
lib/Analysis/ValueClassification.cpp
robcasloz/IteratorRecognition
fa1a1e67c36cde3639ac40528228ae85e54e3b13
[ "MIT" ]
1
2019-05-13T11:55:39.000Z
2019-05-13T11:55:39.000Z
// // // #include "IteratorRecognition/Analysis/ValueClassification.hpp" #include "IteratorRecognition/Config.hpp" #include "IteratorRecognition/Analysis/IteratorRecognition.hpp" #include "IteratorRecognition/Support/Utils/InstTraversal.hpp" #include "llvm/IR/Instruction.h" // using llvm::Instruction #include "ll...
27.469388
77
0.636701
robcasloz
1ca6fc752e701d020164a4465c7f139ced7980bd
94,244
cpp
C++
NatsuLang.AOTCompiler/CodeGen.cpp
NatsuLang/NatsuLang
671fa6db9a9e19def90b6b675493a6aba26b5996
[ "MIT" ]
52
2018-06-15T13:19:39.000Z
2022-01-13T03:58:45.000Z
NatsuLang.AOTCompiler/CodeGen.cpp
akemimadoka/NatsuLang
671fa6db9a9e19def90b6b675493a6aba26b5996
[ "MIT" ]
9
2017-10-25T07:52:57.000Z
2018-04-01T10:37:28.000Z
NatsuLang.AOTCompiler/CodeGen.cpp
ammarfaizi2/NatsuLang
671fa6db9a9e19def90b6b675493a6aba26b5996
[ "MIT" ]
6
2019-03-18T15:11:55.000Z
2022-01-13T03:59:22.000Z
#include "CodeGen.h" #include "Serialization.h" #include <natLocalFileScheme.h> #ifdef _MSC_VER #pragma warning(push) #pragma warning(disable : 4141 4146 4244 4267 4291 4624 4996) #endif // _MSC_VER #include <llvm/Target/TargetMachine.h> #include <llvm/Target/TargetOptions.h> #include <llvm/Support/Host.h> #include...
30.323037
269
0.744992
NatsuLang
1ca70404ca76371b6fa05d962a00de4f50ee358e
234
hpp
C++
include/pipeline/pipeline.hpp
mdraven/pipeline
abae7163ca30fdfd2846a8a153a80ae6e74f3425
[ "BSL-1.0" ]
null
null
null
include/pipeline/pipeline.hpp
mdraven/pipeline
abae7163ca30fdfd2846a8a153a80ae6e74f3425
[ "BSL-1.0" ]
null
null
null
include/pipeline/pipeline.hpp
mdraven/pipeline
abae7163ca30fdfd2846a8a153a80ae6e74f3425
[ "BSL-1.0" ]
null
null
null
#pragma once #include <pipeline/details/PipeOp.hpp> #include <pipeline/details/PipeOpFactory.hpp> namespace pipeline { using pipeline::details::pipe_op; using pipeline::details::pipe_op_factory; } /* namespace pipeline */
19.5
45
0.747863
mdraven
1ca98beb5ca30034e5d84a00452816037b23eb01
1,586
cpp
C++
source/vcore/vix_debugutil.cpp
ritgraphics/VixenEngine
294a6c69b015ec8bce7920f604176e4f92ffba23
[ "MIT" ]
null
null
null
source/vcore/vix_debugutil.cpp
ritgraphics/VixenEngine
294a6c69b015ec8bce7920f604176e4f92ffba23
[ "MIT" ]
3
2015-10-28T01:29:03.000Z
2015-11-10T15:20:02.000Z
source/vcore/vix_debugutil.cpp
ritgraphics/VixenEngine
294a6c69b015ec8bce7920f604176e4f92ffba23
[ "MIT" ]
null
null
null
/* The MIT License(MIT) Copyright(c) 2015 Vixen Team, Matt Guerrette 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...
31.72
79
0.760404
ritgraphics
1caaf32ad2734201d051a68365738476c71d50a4
973
cpp
C++
Uloha12/Uloha12/Pacienti.cpp
LaBlazer/skoolshit
fa4a349bc7c3d27a618b906cf55b9b246d946a8a
[ "Apache-2.0" ]
null
null
null
Uloha12/Uloha12/Pacienti.cpp
LaBlazer/skoolshit
fa4a349bc7c3d27a618b906cf55b9b246d946a8a
[ "Apache-2.0" ]
null
null
null
Uloha12/Uloha12/Pacienti.cpp
LaBlazer/skoolshit
fa4a349bc7c3d27a618b906cf55b9b246d946a8a
[ "Apache-2.0" ]
null
null
null
#ifndef __PROGTEST__ #define pause() system("pause"); #else #define pause(); #endif #include <iostream> #include <string> const int N = 5; struct Patient { std::string surname, name, id, disease, insurance; }; int main() { Patient patients[N]; for (int i = 0; i < N; i++) { Patient b; std::cout << "Zadejt...
25.605263
147
0.610483
LaBlazer
1cac1b7a4e14722f5a3642ad78934ca54ecaf2a4
5,919
cpp
C++
connections/AvgConn.cpp
PetaVision/ObsoletePV
e99a42bf4292e944b252e144b5e07442b0715697
[ "MIT" ]
null
null
null
connections/AvgConn.cpp
PetaVision/ObsoletePV
e99a42bf4292e944b252e144b5e07442b0715697
[ "MIT" ]
null
null
null
connections/AvgConn.cpp
PetaVision/ObsoletePV
e99a42bf4292e944b252e144b5e07442b0715697
[ "MIT" ]
null
null
null
/* * AvConn.cpp * * Created on: Oct 9, 2009 * Author: rasmussn */ #include "AvgConn.hpp" #include <assert.h> namespace PV { AvgConn::AvgConn(const char * name, HyPerCol * hc, HyPerLayer * pre, HyPerLayer * post, ChannelType channel, HyPerConn * delegate) { this->delegate = (delegate =...
26.904545
91
0.606521
PetaVision
1cad31df1a0f0d0ad7da29a61643b499b334c4f4
1,377
hpp
C++
libs/core/include/fcppt/math/vector/structure_cast.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
13
2015-02-21T18:35:14.000Z
2019-12-29T14:08:29.000Z
libs/core/include/fcppt/math/vector/structure_cast.hpp
cpreh/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
5
2016-08-27T07:35:47.000Z
2019-04-21T10:55:34.000Z
libs/core/include/fcppt/math/vector/structure_cast.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
8
2015-01-10T09:22:37.000Z
2019-12-01T08:31:12.000Z
// Copyright Carl Philipp Reh 2009 - 2021. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef FCPPT_MATH_VECTOR_STRUCTURE_CAST_HPP_INCLUDED #define FCPPT_MATH_VECTOR_STRUCTURE_CAST_HPP_...
29.297872
89
0.758896
freundlich
1cadc819bcf5a7d0fc83caa60b3462a9fad8030e
578
cpp
C++
VC2010Samples/Attributes/Advanced/ASYNC/ATLAsync.cpp
alonmm/VCSamples
6aff0b4902f5027164d593540fcaa6601a0407c3
[ "MIT" ]
300
2019-05-09T05:32:33.000Z
2022-03-31T20:23:24.000Z
VC2010Samples/Attributes/Advanced/ASYNC/ATLAsync.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
9
2016-09-19T18:44:26.000Z
2018-10-26T10:20:05.000Z
VC2010Samples/Attributes/Advanced/ASYNC/ATLAsync.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
633
2019-05-08T07:34:12.000Z
2022-03-30T04:38:28.000Z
// ATLAsync.cpp : Implementation of CATLAsync // // This is a part of the Active Template Library. // Copyright (c) Microsoft Corporation. All rights reserved. // // This source code is only intended as a supplement to the // Active Template Library Reference and related // electronic documentation provided with the l...
32.111111
77
0.657439
alonmm
1cb4ece53f3d3d4c01617d63834dc87d558e0613
3,146
cpp
C++
src/json_parser.cpp
sheltongabe/json_util
d0f3ea2b94f77128351cdbc48d5dc22e21617237
[ "MIT" ]
null
null
null
src/json_parser.cpp
sheltongabe/json_util
d0f3ea2b94f77128351cdbc48d5dc22e21617237
[ "MIT" ]
null
null
null
src/json_parser.cpp
sheltongabe/json_util
d0f3ea2b94f77128351cdbc48d5dc22e21617237
[ "MIT" ]
null
null
null
/** * @file json_parser.cpp * @brief Implementation of conversion from a JSON object to string * * Details * * @author Gabriel Shelton sheltongabe * @date 07-31-2018 * @version 0.4 */ #include <iomanip> #include "json_parser.h" namespace json { // Initialize static variables int JSONPars...
23.132353
91
0.617928
sheltongabe
1cb4fbafe5896da91f82dc8c22ba021a47019654
724
hpp
C++
include/kithare/test.hpp
Belvix/Kithare
64a07220843359508fdcf0155f90f3ba233af8b3
[ "MIT" ]
18
2021-02-28T05:26:15.000Z
2021-09-07T13:48:22.000Z
include/kithare/test.hpp
Belvix/Kithare
64a07220843359508fdcf0155f90f3ba233af8b3
[ "MIT" ]
null
null
null
include/kithare/test.hpp
Belvix/Kithare
64a07220843359508fdcf0155f90f3ba233af8b3
[ "MIT" ]
5
2021-05-29T17:34:53.000Z
2021-12-29T12:12:59.000Z
/* * This file is a part of the Kithare programming language source code. * The source code for Kithare programming language is distributed under the MIT license. * Copyright (C) 2021 Kithare Organization */ #pragma once #include <string> #include <vector> #define KH_TEST_ASSERT(c) ...
30.166667
89
0.548343
Belvix
1cb56cf64c06e4d22ade990c8ab22b116e0ad576
4,867
cpp
C++
src/humblenet/src/libwebsockets_asmjs.cpp
ArnisLielturks/HumbleNet
07f0461a2f3ca99fc87fb4eeecf1f4b53ffe1f06
[ "BSD-3-Clause" ]
null
null
null
src/humblenet/src/libwebsockets_asmjs.cpp
ArnisLielturks/HumbleNet
07f0461a2f3ca99fc87fb4eeecf1f4b53ffe1f06
[ "BSD-3-Clause" ]
null
null
null
src/humblenet/src/libwebsockets_asmjs.cpp
ArnisLielturks/HumbleNet
07f0461a2f3ca99fc87fb4eeecf1f4b53ffe1f06
[ "BSD-3-Clause" ]
null
null
null
#ifdef EMSCRIPTEN #include "libwebsockets_asmjs.h" #include <emscripten.h> #include <stdio.h> // TODO: should have a way to disable this on release builds #define LOG printf struct libwebsocket_context { libwebsocket_protocols* protocols; // we dont have any state to manage. }; extern "C" int EMSCRIPTEN_KEEPALIVE...
29.676829
159
0.685022
ArnisLielturks
1cc638660783dd40082e9893d028b276237d4d5a
1,929
cc
C++
elvis/app_context.cc
nkoukoul/Elvis
2f0cb16001cecec4a2ab09462da25b961f89d7ea
[ "MIT" ]
6
2021-01-31T13:21:50.000Z
2021-09-19T19:02:07.000Z
elvis/app_context.cc
nkoukoul/Elvis
2f0cb16001cecec4a2ab09462da25b961f89d7ea
[ "MIT" ]
null
null
null
elvis/app_context.cc
nkoukoul/Elvis
2f0cb16001cecec4a2ab09462da25b961f89d7ea
[ "MIT" ]
null
null
null
// // Copyright (c) 2020-2021 Nikolaos Koukoulas (koukoulas dot nikos at gmail dot com) // // Distributed under the MIT License (See accompanying file LICENSE.md) // // repository: https://github.com/nkoukoul/Elvis // #include "app_context.h" app *app::app_instance_{nullptr}; std::mutex app::app_mutex_; void app::con...
27.956522
84
0.634526
nkoukoul
1cc6a2ed0a2f97f8cbb46b7a232192b42a587db7
4,498
cpp
C++
src/PhysicalEntities/Characters/Enemies/Dragon.cpp
edusidsan/GameProg-OO
c74bedb6c592386a40eefbd61770184994a75aa6
[ "MIT" ]
null
null
null
src/PhysicalEntities/Characters/Enemies/Dragon.cpp
edusidsan/GameProg-OO
c74bedb6c592386a40eefbd61770184994a75aa6
[ "MIT" ]
null
null
null
src/PhysicalEntities/Characters/Enemies/Dragon.cpp
edusidsan/GameProg-OO
c74bedb6c592386a40eefbd61770184994a75aa6
[ "MIT" ]
null
null
null
#include "Dragon.hpp" #include "../../../Levels/Level.hpp" #include "../../Projectiles/Fire.hpp" #include "../../../Utilities/RandomGenerator.hpp" #include "../../../Menus/RankingInsert.hpp" namespace OgrO // Namespace com o nome do jogo. { namespace PhysicalEntities // Namespace do Pacote Entities. { ...
45.434343
340
0.478657
edusidsan
1ccca55e88d354e4730305ecfec56eecc4156d5a
6,472
cpp
C++
tests/Unit/PointwiseFunctions/AnalyticSolutions/Xcts/Test_Schwarzschild.cpp
AntoniRamosBuades/spectre
85dbdb5889e6ac7251e37b570495b0a601763ec8
[ "MIT" ]
null
null
null
tests/Unit/PointwiseFunctions/AnalyticSolutions/Xcts/Test_Schwarzschild.cpp
AntoniRamosBuades/spectre
85dbdb5889e6ac7251e37b570495b0a601763ec8
[ "MIT" ]
1
2022-03-25T18:26:16.000Z
2022-03-25T19:30:39.000Z
tests/Unit/PointwiseFunctions/AnalyticSolutions/Xcts/Test_Schwarzschild.cpp
isaaclegred/spectre
5765da85dad680cad992daccd479376c67458a8c
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. #include "Framework/TestingFramework.hpp" #include <string> #include <tuple> #include "DataStructures/DataBox/PrefixHelpers.hpp" #include "DataStructures/DataBox/Prefixes.hpp" #include "DataStructures/DataVector.hpp" #include "DataStructures/Tenso...
45.258741
80
0.70581
AntoniRamosBuades
1ccd69f9895b7426ce43b6c04884c590676c78fc
379
cpp
C++
AtCoder/abc209/C.cpp
Code-With-Aagam/competitive-programming
610520cc396fb13a03c606b5fb6739cfd68cc444
[ "MIT" ]
2
2022-02-08T12:37:41.000Z
2022-03-09T03:48:56.000Z
AtCoder/abc209/C.cpp
Code-With-Aagam/competitive-programming
610520cc396fb13a03c606b5fb6739cfd68cc444
[ "MIT" ]
null
null
null
AtCoder/abc209/C.cpp
Code-With-Aagam/competitive-programming
610520cc396fb13a03c606b5fb6739cfd68cc444
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define int long long const int mod = 1e9 + 7; signed main() { int n; cin >> n; vector<int> c(n); for (auto &ele : c) cin >> ele; sort(begin(c), end(c)); int ans = 1LL; for (int i = 0; i < n; ++i) { ans = (ans * max(0LL, c...
19.947368
48
0.467018
Code-With-Aagam
1cd01565dd42820af7c000fd17c501841050b1fb
911
cpp
C++
sources/Services/Midi/MidiChannel.cpp
haiko21/LittleGPTracker
0f137aa67dfd86379b830cc51ba900b9423127ce
[ "BSD-3-Clause" ]
66
2015-01-29T09:12:51.000Z
2022-03-23T19:20:49.000Z
sources/Services/Midi/MidiChannel.cpp
haiko21/LittleGPTracker
0f137aa67dfd86379b830cc51ba900b9423127ce
[ "BSD-3-Clause" ]
18
2015-08-19T19:50:31.000Z
2021-10-12T02:33:09.000Z
sources/Services/Midi/MidiChannel.cpp
haiko21/LittleGPTracker
0f137aa67dfd86379b830cc51ba900b9423127ce
[ "BSD-3-Clause" ]
20
2015-08-19T00:46:57.000Z
2022-03-14T13:44:49.000Z
#include "MidiChannel.h" #define CONTROLLER_SPEED_UPDATE_FACTOR 0.5f MidiChannel::MidiChannel(const char *name):Channel(name) { controllerType_=MCT_NONE ; toggle_=false ; lastVal_=-1 ; range_=256 ; circular_=false ; } ; MidiChannel::~MidiChannel() { } ; void MidiChannel::SetControllerType(MidiControllerType t...
16.87037
62
0.728869
haiko21
1cd2117b4c2e47495ce86328801b6a5a42e786ec
807
hpp
C++
cslibs_math_2d/include/cslibs_math_2d/serialization/transform.hpp
lisilin013/cslibs_math
b1a1bc5bf5a85b2d7467911521806609ed3c16ee
[ "BSD-3-Clause" ]
null
null
null
cslibs_math_2d/include/cslibs_math_2d/serialization/transform.hpp
lisilin013/cslibs_math
b1a1bc5bf5a85b2d7467911521806609ed3c16ee
[ "BSD-3-Clause" ]
null
null
null
cslibs_math_2d/include/cslibs_math_2d/serialization/transform.hpp
lisilin013/cslibs_math
b1a1bc5bf5a85b2d7467911521806609ed3c16ee
[ "BSD-3-Clause" ]
null
null
null
#ifndef CSLIBS_MATH_2D_SERIALIZATION_TRANSFORM_HPP #define CSLIBS_MATH_2D_SERIALIZATION_TRANSFORM_HPP #include <cslibs_math/serialization/vector.hpp> #include <cslibs_math_2d/linear/transform.hpp> #include <yaml-cpp/yaml.h> namespace YAML { template<typename T> struct convert<cslibs_math_2d::Transform2<T>> { stat...
26.032258
73
0.657993
lisilin013
1cd26efa0e693291e11b06f2c03b437a33ce965a
1,973
hpp
C++
include/lbann/utils/protobuf_utils.hpp
andy-yoo/lbann-andy
237c45c392e7a5548796ac29537ab0a374e7e825
[ "Apache-2.0" ]
null
null
null
include/lbann/utils/protobuf_utils.hpp
andy-yoo/lbann-andy
237c45c392e7a5548796ac29537ab0a374e7e825
[ "Apache-2.0" ]
null
null
null
include/lbann/utils/protobuf_utils.hpp
andy-yoo/lbann-andy
237c45c392e7a5548796ac29537ab0a374e7e825
[ "Apache-2.0" ]
null
null
null
#ifndef __PROTOBUF_UTILS_HPP__ #define __PROTOBUF_UTILS_HPP__ #include <vector> #include "lbann/lbann.hpp" #include <lbann.pb.h> namespace lbann { /** * static methods for parsing command line for prototext filenames, * reading in prototext files, etc. */ struct prototext_fn_triple { std::string model; std::...
28.185714
79
0.640142
andy-yoo
1cdbfb51895aa5ea6725c54331a3ef1eacb81905
5,398
hpp
C++
armadillo_matrix/include/armadillo_bits/op_mean_meat.hpp
Lauradejong92/wire-grad
0bfd3fb42df363f43eb89f35c2f0769fb805f6cd
[ "BSD-2-Clause" ]
1
2022-02-02T15:47:24.000Z
2022-02-02T15:47:24.000Z
armadillo_matrix/include/armadillo_bits/op_mean_meat.hpp
Lauradejong92/wire-grad
0bfd3fb42df363f43eb89f35c2f0769fb805f6cd
[ "BSD-2-Clause" ]
null
null
null
armadillo_matrix/include/armadillo_bits/op_mean_meat.hpp
Lauradejong92/wire-grad
0bfd3fb42df363f43eb89f35c2f0769fb805f6cd
[ "BSD-2-Clause" ]
2
2019-02-28T17:36:19.000Z
2021-01-24T14:04:18.000Z
// Copyright (C) 2009-2011 NICTA (www.nicta.com.au) // Copyright (C) 2009-2011 Conrad Sanderson // // This file is part of the Armadillo C++ library. // It is provided without any warranty of fitness // for any purpose. You can redistribute this file // and/or modify it under the terms of the GNU // Lesser General Pub...
19.278571
92
0.62375
Lauradejong92
1cde331c58ae52f50a4e1be7e6c4979e97d2cf41
3,195
cpp
C++
src/nodes/pcf_point_light_depth_node.cpp
Hanggansta/Nimble
291c1bae6308c49f4e86a7ecabc97e9fe8fce654
[ "MIT" ]
null
null
null
src/nodes/pcf_point_light_depth_node.cpp
Hanggansta/Nimble
291c1bae6308c49f4e86a7ecabc97e9fe8fce654
[ "MIT" ]
null
null
null
src/nodes/pcf_point_light_depth_node.cpp
Hanggansta/Nimble
291c1bae6308c49f4e86a7ecabc97e9fe8fce654
[ "MIT" ]
1
2021-05-09T12:51:18.000Z
2021-05-09T12:51:18.000Z
#include "pcf_point_light_depth_node.h" #include "../render_graph.h" #include "../renderer.h" namespace nimble { DEFINE_RENDER_NODE_FACTORY(PCFPointLightDepthNode) // ----------------------------------------------------------------------------------------------------------------------------------- PCFPointLightDepth...
34.728261
212
0.449139
Hanggansta
1ce046efc2bfbfc0f289db1621c26c52e939b97a
831
cpp
C++
COJ/ArrangingAmplifiers.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
1
2019-09-29T03:58:35.000Z
2019-09-29T03:58:35.000Z
COJ/ArrangingAmplifiers.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
null
null
null
COJ/ArrangingAmplifiers.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
null
null
null
#include<iostream> #include<cstdio> #include<string> #include<cmath> #include<algorithm> #include<vector> #include<utility> #define ull unsigned long long using namespace std; // WA. int main(){ ull k; vector<ull> vec; int T, n, i, j; cin >> T; for (i = 0; i < T; i++){ cin >> n; vec.resize...
16.959184
44
0.44645
MartinAparicioPons
1ce0bae395d879b42677a34bfcb89e9876c4b5f0
234
hpp
C++
test/iterator/delegate_comparison_iterator.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
2
2018-02-02T14:19:59.000Z
2018-05-13T02:48:24.000Z
test/iterator/delegate_comparison_iterator.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
null
null
null
test/iterator/delegate_comparison_iterator.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
null
null
null
#ifndef _FALCON_TEST_ITERATOR_DELEGATE_COMPARISON_ITERATOR_HPP #define _FALCON_TEST_ITERATOR_DELEGATE_COMPARISON_ITERATOR_HPP void delegate_comparison_iterator_test(); #endif //_FALCON_TEST_ITERATOR_DELEGATE_COMPARISON_ITERATOR_HPP
33.428571
63
0.923077
jonathanpoelen
1ce50fb9e1f71dfee109b98ad5fa46dd94d76368
704
hh
C++
skysim/onnc-cimHW/include/cimHWOp.hh
ONNC/ONNC-CIM
dd15eae6b22b39dcd2bff179e14ad0eda40e4338
[ "BSD-3-Clause" ]
2
2021-07-05T02:26:11.000Z
2022-01-11T10:37:20.000Z
skysim/onnc-cimHW/include/cimHWOp.hh
ONNC/ONNC-CIM
dd15eae6b22b39dcd2bff179e14ad0eda40e4338
[ "BSD-3-Clause" ]
null
null
null
skysim/onnc-cimHW/include/cimHWOp.hh
ONNC/ONNC-CIM
dd15eae6b22b39dcd2bff179e14ad0eda40e4338
[ "BSD-3-Clause" ]
1
2022-01-11T10:39:01.000Z
2022-01-11T10:39:01.000Z
//===- cimHWOp.hh ---------------------------------------------------------===// // // The CIM Hardware Simulator Project // // See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// #pragma once #include <string> namespace cimHW { using ...
23.466667
80
0.508523
ONNC
1cee664c7f170a3bc13ac62ae5861a7bc407d4a1
464
cpp
C++
lvTlsCallbackBase.cpp
smithed/lvasynctls
6377ce550e05215cf8800ebed8ae1463438e596f
[ "BSD-2-Clause" ]
1
2017-07-27T00:21:27.000Z
2017-07-27T00:21:27.000Z
lvTlsCallbackBase.cpp
smithed/lvasynctls
6377ce550e05215cf8800ebed8ae1463438e596f
[ "BSD-2-Clause" ]
null
null
null
lvTlsCallbackBase.cpp
smithed/lvasynctls
6377ce550e05215cf8800ebed8ae1463438e596f
[ "BSD-2-Clause" ]
null
null
null
#include "lvTlsCallbackBase.h" #include <vector> namespace lvasynctls { void errorCheck(const boost::system::error_code & error, lvasynctls::lvTlsCallback* callback) { if (callback && error) { callback->setErrorCondition(error.value(), error.message()); } } //completion callbacks void lvTlsCallback::ex...
16.571429
96
0.706897
smithed
1ceeb85d0d1d4eecf0f3b8225c6494138ae9635f
1,469
cpp
C++
src/net/http_client.cpp
incoder1/libio
fbfd83fe31ca59a69670e5269f5847b2b4c6c553
[ "BSL-1.0" ]
14
2018-06-12T15:42:43.000Z
2022-02-28T16:19:20.000Z
src/net/http_client.cpp
incoder1/libio
fbfd83fe31ca59a69670e5269f5847b2b4c6c553
[ "BSL-1.0" ]
null
null
null
src/net/http_client.cpp
incoder1/libio
fbfd83fe31ca59a69670e5269f5847b2b4c6c553
[ "BSL-1.0" ]
null
null
null
/* * * Copyright (c) 2017 * Viktor Gubin * * Use, modification and distribution are subject to the * Boost Software License, Version 1.0. (See accompanying file * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) * */ #include "stdafx.hpp" #include "http_client.hpp" #include <sstream> namespac...
20.690141
108
0.662355
incoder1
1cef3a0d98a866540a059e630a74afb71d5ca7cf
2,333
cpp
C++
code/scripting/api/objs/executor.cpp
trgswe/fs2open.github.com
a159eba0cebca911ad14a118412fddfe5be8e9f8
[ "Unlicense" ]
307
2015-04-10T13:27:32.000Z
2022-03-21T03:30:38.000Z
code/scripting/api/objs/executor.cpp
trgswe/fs2open.github.com
a159eba0cebca911ad14a118412fddfe5be8e9f8
[ "Unlicense" ]
2,231
2015-04-27T10:47:35.000Z
2022-03-31T19:22:37.000Z
code/scripting/api/objs/executor.cpp
trgswe/fs2open.github.com
a159eba0cebca911ad14a118412fddfe5be8e9f8
[ "Unlicense" ]
282
2015-01-05T12:16:57.000Z
2022-03-28T04:45:11.000Z
#include "executor.h" #include <utility> namespace scripting { namespace api { executor_h::executor_h() = default; executor_h::executor_h(std::shared_ptr<executor::Executor> executor) : m_executor(std::move(executor)) {} bool executor_h::isValid() { return m_executor != nullptr; } const std::shared_ptr<executor::Ex...
28.108434
120
0.714959
trgswe
1cf0ea3b421867d2626d639ccf96ee0811540d13
83
cpp
C++
src/test.cpp
Benni3D/uvmdp
f35426bcef5a8f031c86fd8500d441b817ee8b93
[ "MIT" ]
null
null
null
src/test.cpp
Benni3D/uvmdp
f35426bcef5a8f031c86fd8500d441b817ee8b93
[ "MIT" ]
null
null
null
src/test.cpp
Benni3D/uvmdp
f35426bcef5a8f031c86fd8500d441b817ee8b93
[ "MIT" ]
null
null
null
#include "uvmdp/device.hpp" #include "uvmdp/bus.hpp" int main() { return 0; }
11.857143
27
0.638554
Benni3D
1cf800ef8704e8d2727f42303b3613e0321352d2
2,586
cpp
C++
wliotproxy-src-base/libwliotproxy-base/src/devices/StreamParser.cpp
ooolms/wl_iot_framework
77f5d577105d505fd1c5a21940f29b72eb3391ea
[ "Apache-2.0" ]
null
null
null
wliotproxy-src-base/libwliotproxy-base/src/devices/StreamParser.cpp
ooolms/wl_iot_framework
77f5d577105d505fd1c5a21940f29b72eb3391ea
[ "Apache-2.0" ]
null
null
null
wliotproxy-src-base/libwliotproxy-base/src/devices/StreamParser.cpp
ooolms/wl_iot_framework
77f5d577105d505fd1c5a21940f29b72eb3391ea
[ "Apache-2.0" ]
null
null
null
/******************************************* Copyright 2017 OOO "LMS" Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
21.196721
72
0.694122
ooolms
7f2f742c576d58c9023f45b9f25912e9ce14a06a
724
cpp
C++
src/funcaoObjetivo.cpp
renatamendesc/Simplex-Solver
64de772837d6e75e8dcf3a1f92ddab57e5deb6a8
[ "MIT" ]
2
2021-05-02T22:29:48.000Z
2021-06-11T23:47:39.000Z
src/funcaoObjetivo.cpp
renatamendesc/Simplex-Solver
64de772837d6e75e8dcf3a1f92ddab57e5deb6a8
[ "MIT" ]
null
null
null
src/funcaoObjetivo.cpp
renatamendesc/Simplex-Solver
64de772837d6e75e8dcf3a1f92ddab57e5deb6a8
[ "MIT" ]
null
null
null
#include "funcaoObjetivo.h" using namespace std; void FuncaoObjetivo::setTipo(string tipo){ this->tipo = tipo; } void FuncaoObjetivo::setVariaveis(vector <double> coeficientes){ Variaveis variavel; for(int i = 0; i < coeficientes.size(); i++){ variavel.setIndice(i+1); variavel.setCoefici...
20.111111
64
0.70442
renatamendesc
7f2fc846fc7125d151f71473e93b8018c76e5c16
823
cpp
C++
ShapeConquest/ShapeConquest/Graphics Pipeline/PostProcessingEffects/PassOverPostProcess.cpp
Lentono/ShapeConquest
ce097e52ff391469c352e809f914941ef20eda82
[ "MIT" ]
null
null
null
ShapeConquest/ShapeConquest/Graphics Pipeline/PostProcessingEffects/PassOverPostProcess.cpp
Lentono/ShapeConquest
ce097e52ff391469c352e809f914941ef20eda82
[ "MIT" ]
null
null
null
ShapeConquest/ShapeConquest/Graphics Pipeline/PostProcessingEffects/PassOverPostProcess.cpp
Lentono/ShapeConquest
ce097e52ff391469c352e809f914941ef20eda82
[ "MIT" ]
null
null
null
#include "PassOverPostProcess.h" #include "../../Managers/ResourceManager.h" #include <glm/gtc/matrix_transform.hpp> PassOverPostProcess::PassOverPostProcess(const std::shared_ptr<RenderTarget>& renderTarget, const std::shared_ptr<Shader>& shader) : PostProcessingEffect(renderTarget, shader) { } PassOverPostProces...
31.653846
130
0.777643
Lentono
7f37f57ad2bd1c14f30674bd7e6ecc5cd877d1a4
6,525
inl
C++
SAMP-EDGEngine/include/SAMP-EDGEngine/Core/Text/ASCII.inl
Desantowski/SAMP-EDGEngine
949811bf801b1a1a76cc7cc510be749cdfdba540
[ "MIT" ]
null
null
null
SAMP-EDGEngine/include/SAMP-EDGEngine/Core/Text/ASCII.inl
Desantowski/SAMP-EDGEngine
949811bf801b1a1a76cc7cc510be749cdfdba540
[ "MIT" ]
null
null
null
SAMP-EDGEngine/include/SAMP-EDGEngine/Core/Text/ASCII.inl
Desantowski/SAMP-EDGEngine
949811bf801b1a1a76cc7cc510be749cdfdba540
[ "MIT" ]
null
null
null
// Note: this file is not meant to be included on its own. // Include "ASCII.hpp" instead. namespace agdk::text::ascii { /////////////////////////////////////////////////////////////////////// template <typename TChar, typename> inline bool isSpace(TChar character_) { return std::isspace(static_cast<unsigned char>(c...
35.27027
164
0.623448
Desantowski
7f3fb58b0f7d92926ca185558d2c560e736e68a8
8,104
cpp
C++
src/QSerializationFieldTag.cpp
m2osw/libQtSerialization
896fb7cb9d99a411bcc478b394a73ad723684f2e
[ "MIT" ]
null
null
null
src/QSerializationFieldTag.cpp
m2osw/libQtSerialization
896fb7cb9d99a411bcc478b394a73ad723684f2e
[ "MIT" ]
null
null
null
src/QSerializationFieldTag.cpp
m2osw/libQtSerialization
896fb7cb9d99a411bcc478b394a73ad723684f2e
[ "MIT" ]
null
null
null
/* * Text: * src/QSerializationFieldTag.cpp * * Description: * Handling of the user specialized field class. This class allows * programmers to create sub-fields (saving a tree of objects) and * arrays (saving a set of children.) * * Documentation: * See each function below. * * Lic...
37.345622
95
0.694472
m2osw
7f44cb50e8b948c5fe6ce2523dd22a4373f75f03
951
cpp
C++
examples/ply.cpp
Q-Minh/octree
0c3fd5a791d660b37461daf968a68ffb1c80b965
[ "BSL-1.0" ]
2
2021-03-10T09:57:45.000Z
2021-04-13T21:19:57.000Z
examples/ply.cpp
Q-Minh/octree
0c3fd5a791d660b37461daf968a68ffb1c80b965
[ "BSL-1.0" ]
22
2020-12-07T20:09:39.000Z
2021-04-12T20:42:59.000Z
examples/ply.cpp
Q-Minh/octree
0c3fd5a791d660b37461daf968a68ffb1c80b965
[ "BSL-1.0" ]
null
null
null
#include <iostream> #include <pcp/common/normals/normal.hpp> #include <pcp/common/points/point.hpp> #include <pcp/io/ply.hpp> int main(int argc, char** argv) { if (argc != 4) { std::cerr << "Usage:\n" << "./pcp-ply.exe <input ply file path> <output ply file path> <format>\n\n" ...
31.7
94
0.573081
Q-Minh
7f45f419d335a9951841893b4ac40f0f5b0c5bad
980
cpp
C++
main.cpp
chennes/Stop_Motion_Animation
282c65a38053202c4e35735a0bf0a53797dc1481
[ "MIT" ]
3
2015-09-28T13:14:06.000Z
2019-11-28T13:23:10.000Z
main.cpp
chennes/Stop_Motion_Animation
282c65a38053202c4e35735a0bf0a53797dc1481
[ "MIT" ]
42
2017-03-26T15:22:37.000Z
2019-04-05T13:42:00.000Z
main.cpp
chennes/Stop_Motion_Animation
282c65a38053202c4e35735a0bf0a53797dc1481
[ "MIT" ]
null
null
null
#include "stopmotionanimation.h" #include <QApplication> #include <QCoreApplication> #include <QSplashScreen> #include <QTime> #include <QString> #include <QSettings> const double SPLASH_SECONDS = 2; void ConfigureSettings (); int main(int argc, char *argv[]) { QApplication a(argc, argv); QCoreApplication::...
24.5
77
0.686735
chennes
7f4cf52e18867d38eda00024165d13cbeedb8220
8,836
cc
C++
src/mmutil_merge_col.cc
causalpathlab/mmutilR
292a70f89336c7563b2fa9f1f62e59d219739e24
[ "MIT" ]
1
2021-07-23T07:49:10.000Z
2021-07-23T07:49:10.000Z
src/mmutil_merge_col.cc
YPARK/mmutilR
ede9948fe9a0124b9f417d010b7a376dff64ebb9
[ "MIT" ]
2
2022-01-18T22:07:44.000Z
2022-03-10T16:58:34.000Z
src/mmutil_merge_col.cc
YPARK/mmutilR
ede9948fe9a0124b9f417d010b7a376dff64ebb9
[ "MIT" ]
null
null
null
#include "mmutil_merge_col.hh" int run_merge_col(const std::vector<std::string> &glob_rows, const Index column_threshold, const std::string output, const std::vector<std::string> mtx_files, const std::vector<std::string> row_files, const std::vector...
37.6
80
0.538479
causalpathlab
7f51c1b6a78754c5eb2f3d061e5661041e52b88a
49
cpp
C++
include/Eigen/doc/snippets/Cwise_erf.cpp
Achierius/SysSim
067c32a3a03418819d11284db4050fdb43505abc
[ "MIT" ]
1
2017-09-14T23:59:05.000Z
2017-09-14T23:59:05.000Z
include/Eigen/doc/snippets/Cwise_erf.cpp
Achierius/SysSim
067c32a3a03418819d11284db4050fdb43505abc
[ "MIT" ]
1
2016-10-19T02:43:04.000Z
2016-10-31T14:53:06.000Z
include/Eigen/doc/snippets/Cwise_erf.cpp
Achierius/SysSim
067c32a3a03418819d11284db4050fdb43505abc
[ "MIT" ]
8
2016-10-23T00:50:02.000Z
2019-04-21T11:11:57.000Z
Array4d v(-0.5,2,0,-7); cout << v.erf() << endl;
16.333333
24
0.510204
Achierius
7f547394937cb2c9ae59ee753d1508073e2c8140
1,557
cpp
C++
tree/binary_tree_to_doubly_linked_list.cpp
sureshmangs/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
16
2020-06-02T19:22:45.000Z
2022-02-05T10:35:28.000Z
tree/binary_tree_to_doubly_linked_list.cpp
codezoned/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
null
null
null
tree/binary_tree_to_doubly_linked_list.cpp
codezoned/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
2
2020-08-27T17:40:06.000Z
2022-02-05T10:33:52.000Z
/* Given a Binary Tree (BT), convert it to a Doubly Linked List(DLL) In-Place. The left and right pointers in nodes are to be used as previous and next pointers respectively in converted DLL. The order of nodes in DLL must be same as Inorder of the given Binary Tree. The first node of Inorder traversal (left most node ...
18.535714
112
0.655748
sureshmangs
7f54fbca6f67bbe40b0d6fcf079feaf9eb298d1c
537
cpp
C++
Problemas/249 - El burro y las alforjas/249 - El burro y las alforjas/Source.cpp
Jackesgamero/-Solved-ACR-problems-
12fe74469f6d41c4947505f52898840093069b38
[ "MIT" ]
1
2021-02-24T17:41:37.000Z
2021-02-24T17:41:37.000Z
Problemas/249 - El burro y las alforjas/249 - El burro y las alforjas/Source.cpp
Jackesgamero/-Solved-ACR-problems-
12fe74469f6d41c4947505f52898840093069b38
[ "MIT" ]
null
null
null
Problemas/249 - El burro y las alforjas/249 - El burro y las alforjas/Source.cpp
Jackesgamero/-Solved-ACR-problems-
12fe74469f6d41c4947505f52898840093069b38
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> void resuelveCaso() { std::vector<int> Peso(20000, 0); size_t burros, sacos; std::cin >> burros >> sacos; int saco; for (size_t i = 0; i < sacos; ++i){ std::cin >> saco; Peso[saco - 1]++; } int sol = 0; for (int i = 0; i < 20000 && sol < burros; ++i) { if (Peso[i]...
16.272727
50
0.510242
Jackesgamero