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
59bb2db2c476de6bde860e3910bc3bea5bed64fa
3,818
cpp
C++
ChipsEninge/02_Script/ChipsSystem/BasicFrame/GameObject.cpp
jerrypoiu/DX11_ChipsEngine2021
a558fb0013259a380d68b66142fc48b575208980
[ "MIT" ]
1
2021-01-25T11:38:21.000Z
2021-01-25T11:38:21.000Z
ChipsEninge/02_Script/ChipsSystem/BasicFrame/GameObject.cpp
jerrypoiu/ChipsEngine
a558fb0013259a380d68b66142fc48b575208980
[ "MIT" ]
null
null
null
ChipsEninge/02_Script/ChipsSystem/BasicFrame/GameObject.cpp
jerrypoiu/ChipsEngine
a558fb0013259a380d68b66142fc48b575208980
[ "MIT" ]
null
null
null
#include "ChipsSystem/BasicFrame/Scene.h" #include "ChipsSystem/BasicFrame/AComponent.h" #include "ChipsSystem/BasicFrame/GameObject.h" #include "ChipsSystem/BasicFrame/Application.h" #include "ChipsSystem/Components/BaiscComponents/Transform.h" #include "ChipsSystem/Components/BaiscComponents/Rigidbody.h" #include "C...
21.942529
114
0.673389
jerrypoiu
59bcd6ce5d8597e533a44861452fb7fe45b18cbc
381
cpp
C++
solutions/683.k-empty-slots.285439527.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
78
2020-10-22T11:31:53.000Z
2022-02-22T13:27:49.000Z
solutions/683.k-empty-slots.285439527.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
null
null
null
solutions/683.k-empty-slots.285439527.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
26
2020-10-23T15:10:44.000Z
2021-11-07T16:13:50.000Z
class Solution { public: int kEmptySlots(vector<int> &bulbs, int k) { set<int> s; for (int i = 0; i < bulbs.size(); i++) { int x = bulbs[i]; auto it = s.upper_bound(x); if (it != s.end() && *it - x == k + 1) return i + 1; if (it != s.begin() && x - *prev(it) == k + 1) ...
21.166667
52
0.44357
satu0king
59c0d81cfdc6dd66f38ad87d10c0b02d6146d707
1,514
cpp
C++
src/lang/expr/throwNode.cpp
dmcdougall/occa
4cc784e86459c01c8821da0a02eea3ad4fb36ef5
[ "MIT" ]
null
null
null
src/lang/expr/throwNode.cpp
dmcdougall/occa
4cc784e86459c01c8821da0a02eea3ad4fb36ef5
[ "MIT" ]
null
null
null
src/lang/expr/throwNode.cpp
dmcdougall/occa
4cc784e86459c01c8821da0a02eea3ad4fb36ef5
[ "MIT" ]
null
null
null
#include <occa/lang/expr/throwNode.hpp> namespace occa { namespace lang { throwNode::throwNode(token_t *token_, const exprNode &value_) : exprNode(token_), value(value_.clone()) {} throwNode::throwNode(const throwNode &node) : exprNode(node.token), value(node...
23.292308
83
0.559445
dmcdougall
59c4e91fd07c9db6cc4bfaa43d48f05fefc663da
3,323
cpp
C++
Lab2-1/Lab2-1/main.cpp
AlexPC2/Public
9f42f1873c72355511242680f8ebd54d03dec895
[ "MIT" ]
null
null
null
Lab2-1/Lab2-1/main.cpp
AlexPC2/Public
9f42f1873c72355511242680f8ebd54d03dec895
[ "MIT" ]
null
null
null
Lab2-1/Lab2-1/main.cpp
AlexPC2/Public
9f42f1873c72355511242680f8ebd54d03dec895
[ "MIT" ]
null
null
null
// // main.cpp // Lab2-1 // // Created by Alex Noyanov on 12.02.19. // Copyright © 2019 Popoff Developer Studio. All rights reserved. // // Лабораторная 2 Задача #1 /* Задача №1 Выполнить преобразование Фурье для функции Период функции равен T = 2*pi a0 = 1, am = 0, m (-1) + 1 ...
19.898204
177
0.466446
AlexPC2
59c82143afa2d88deede76dbe298ea461416b83c
4,172
hpp
C++
src/hotspot/share/memory/metaspace/chunkHeaderPool.hpp
1690296356/jdk
eaf668d1510c28d51e26c397b582b66ebdf7e263
[ "Apache-2.0" ]
1
2020-12-26T04:52:15.000Z
2020-12-26T04:52:15.000Z
src/hotspot/share/memory/metaspace/chunkHeaderPool.hpp
1690296356/jdk
eaf668d1510c28d51e26c397b582b66ebdf7e263
[ "Apache-2.0" ]
1
2020-12-26T04:57:19.000Z
2020-12-26T04:57:19.000Z
src/hotspot/share/memory/metaspace/chunkHeaderPool.hpp
1690296356/jdk
eaf668d1510c28d51e26c397b582b66ebdf7e263
[ "Apache-2.0" ]
1
2021-12-06T01:13:18.000Z
2021-12-06T01:13:18.000Z
/* * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2020 SAP SE. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License...
30.676471
88
0.706616
1690296356
59c923713c29ef240b8fb860b4f83b5ca865de35
844
hpp
C++
framework/graphics/graphics/base.hpp
YiJiangFengYun/vulkan-graphics-examples
e7b788b8f47dd238b08840c019940c7c52335a54
[ "MIT" ]
1
2018-03-01T01:05:25.000Z
2018-03-01T01:05:25.000Z
framework/graphics/graphics/base.hpp
YiJiangFengYun/vulkan-graphics-examples
e7b788b8f47dd238b08840c019940c7c52335a54
[ "MIT" ]
null
null
null
framework/graphics/graphics/base.hpp
YiJiangFengYun/vulkan-graphics-examples
e7b788b8f47dd238b08840c019940c7c52335a54
[ "MIT" ]
null
null
null
#ifndef VG_BASE_H #define VG_BASE_H #include <unordered_map> namespace vg { enum class BaseType { UNDEFINED, VERTEX_DATA, INDEX_DATA, UNIFORM_BUFFER_DATA, TEXTURE, SHADER, PASS, PRE_DEPTH_PASS, MATERIAL, MESH, TRANSFO...
15.924528
68
0.554502
YiJiangFengYun
59caa40e5aa7f247553442150b04e381577b9018
1,104
cpp
C++
codeBase/HackerCup/2015/2015_1_1/2015_1_1.cpp
suren3141/codeBase
10ed9a56aca33631dc8c419cd83859c19dd6ff09
[ "Apache-2.0" ]
3
2020-03-16T14:59:08.000Z
2021-07-28T20:51:53.000Z
codeBase/HackerCup/2015/2015_1_1/2015_1_1.cpp
suren3141/codeBase
10ed9a56aca33631dc8c419cd83859c19dd6ff09
[ "Apache-2.0" ]
2
2016-04-16T05:39:20.000Z
2016-06-06T12:24:56.000Z
codeBase/HackerCup/2015/2015_1_1/2015_1_1.cpp
killerilaksha/codeBase
91cbd950fc90066903e58311000784aeba4ffc02
[ "Apache-2.0" ]
18
2020-02-17T23:17:37.000Z
2021-07-28T20:52:13.000Z
/* Copyright Hackers' Club, University Of Peradeniya Author : E/13/181 (Samurdhi Karunarathne) 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...
30.666667
72
0.643116
suren3141
59cd84a2f095c7786a1ecab691c3516a4bf334a6
10,075
cc
C++
build/x86/python/m5/internal/param_DMASequencer.py.cc
billionshang/gem5
18cc4294f32315595f865d07d1f33434e92b06b2
[ "BSD-3-Clause" ]
null
null
null
build/x86/python/m5/internal/param_DMASequencer.py.cc
billionshang/gem5
18cc4294f32315595f865d07d1f33434e92b06b2
[ "BSD-3-Clause" ]
null
null
null
build/x86/python/m5/internal/param_DMASequencer.py.cc
billionshang/gem5
18cc4294f32315595f865d07d1f33434e92b06b2
[ "BSD-3-Clause" ]
null
null
null
#include "sim/init.hh" namespace { const uint8_t data_m5_internal_param_DMASequencer[] = { 120,156,197,89,253,114,219,198,17,223,3,64,74,164,36,75, 178,190,252,33,91,180,93,59,172,167,18,19,39,142,211,137, 235,214,205,199,76,51,99,37,5,211,177,195,100,138,66,192, 137,4,69,2,44,112,180,205,140,52,211,1...
58.236994
105
0.666005
billionshang
59d09dc56d120e65fe8acb1a2902fcd714d6d1f0
1,742
cpp
C++
SAMP-EDGEngine/src/SAMP-EDGEngine/Server/GameMode.cpp
Desantowski/SAMP-EDGEngine
949811bf801b1a1a76cc7cc510be749cdfdba540
[ "MIT" ]
null
null
null
SAMP-EDGEngine/src/SAMP-EDGEngine/Server/GameMode.cpp
Desantowski/SAMP-EDGEngine
949811bf801b1a1a76cc7cc510be749cdfdba540
[ "MIT" ]
null
null
null
SAMP-EDGEngine/src/SAMP-EDGEngine/Server/GameMode.cpp
Desantowski/SAMP-EDGEngine
949811bf801b1a1a76cc7cc510be749cdfdba540
[ "MIT" ]
null
null
null
#include "SAMP-EDGEnginePCH.hpp" // PCH // Custom includes: #include <SAMP-EDGEngine/Server/GameMode.hpp> #include <SAMP-EDGEngine/World/Streamer/Streamer.hpp> namespace agdk { //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// IGameMode::IGameMod...
35.55102
145
0.434558
Desantowski
59d18cd03b548a308a1f9b449170a3dde049136c
4,761
hpp
C++
SYCL/ESIMD/api/functional/type_coverage.hpp
aobolensk/llvm-test-suite
f06b0646bced61b6fe92625aad9f12a000a17075
[ "Apache-2.0" ]
null
null
null
SYCL/ESIMD/api/functional/type_coverage.hpp
aobolensk/llvm-test-suite
f06b0646bced61b6fe92625aad9f12a000a17075
[ "Apache-2.0" ]
null
null
null
SYCL/ESIMD/api/functional/type_coverage.hpp
aobolensk/llvm-test-suite
f06b0646bced61b6fe92625aad9f12a000a17075
[ "Apache-2.0" ]
null
null
null
//===-- type_coverage.hpp - Define generic functions for type coverage. ---===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
40.347458
80
0.611846
aobolensk
59d50d601f627a0bf9f4ce0814160d77c9f4f94d
18,753
cxx
C++
PWG/EMCAL/EMCALbase/AliEmcalESDTrackCutsGenerator.cxx
AudreyFrancisco/AliPhysics
cb36cfa7d1edcd969780e90fe6bfab5107f0f099
[ "BSD-3-Clause" ]
null
null
null
PWG/EMCAL/EMCALbase/AliEmcalESDTrackCutsGenerator.cxx
AudreyFrancisco/AliPhysics
cb36cfa7d1edcd969780e90fe6bfab5107f0f099
[ "BSD-3-Clause" ]
null
null
null
PWG/EMCAL/EMCALbase/AliEmcalESDTrackCutsGenerator.cxx
AudreyFrancisco/AliPhysics
cb36cfa7d1edcd969780e90fe6bfab5107f0f099
[ "BSD-3-Clause" ]
null
null
null
/************************************************************************** * Copyright(c) 1998-2016, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
30.492683
124
0.702181
AudreyFrancisco
59da3cacbf049ccb878f5e26fb93c07edeb08833
3,157
cc
C++
tests/config_test.cc
jjzhang166/lullaby
d9b11ea811cb5869b46165b9b9537b6063c6cbae
[ "Apache-2.0" ]
null
null
null
tests/config_test.cc
jjzhang166/lullaby
d9b11ea811cb5869b46165b9b9537b6063c6cbae
[ "Apache-2.0" ]
null
null
null
tests/config_test.cc
jjzhang166/lullaby
d9b11ea811cb5869b46165b9b9537b6063c6cbae
[ "Apache-2.0" ]
null
null
null
/* Copyright 2017 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
28.7
77
0.69433
jjzhang166
59dbbd987f751c17d80fca7a13dd90ee65078e84
312
cpp
C++
src/filament_tester.cpp
Betterton-Lab/CyLaKS
17d01e8742b8172b477dd99d254c2d0771f774d0
[ "BSD-3-Clause" ]
null
null
null
src/filament_tester.cpp
Betterton-Lab/CyLaKS
17d01e8742b8172b477dd99d254c2d0771f774d0
[ "BSD-3-Clause" ]
null
null
null
src/filament_tester.cpp
Betterton-Lab/CyLaKS
17d01e8742b8172b477dd99d254c2d0771f774d0
[ "BSD-3-Clause" ]
null
null
null
#include "cylaks/filament_tester.hpp" #include "cylaks/protein_tester.hpp" void FilamentTester::Initialize(ProteinTester *proteins) { proteins_ = proteins; FilamentManager::proteins_ = dynamic_cast<ProteinManager *>(proteins_); FilamentManager::SetParameters(); FilamentManager::GenerateFilaments(); }
28.363636
73
0.788462
Betterton-Lab
59de3fa528965e2c40956339db5fb3f5056a5b10
2,079
cpp
C++
Fractal/FractalPhysics/src/PhysicsBody.cpp
talislincoln/fractals
a9ed52e99b9737ce0a6bba715f61e4d122e37dd5
[ "MIT" ]
2
2016-09-22T16:11:17.000Z
2016-09-22T16:11:55.000Z
Fractal/FractalPhysics/src/PhysicsBody.cpp
talislincoln/FractalGameEngine
a9ed52e99b9737ce0a6bba715f61e4d122e37dd5
[ "MIT" ]
null
null
null
Fractal/FractalPhysics/src/PhysicsBody.cpp
talislincoln/FractalGameEngine
a9ed52e99b9737ce0a6bba715f61e4d122e37dd5
[ "MIT" ]
null
null
null
#include "PhysicsBody.h" namespace fractal { namespace fphysics { PhysicsBody::PhysicsBody() { m_aabb; m_mass = float(1.0); m_worldCenter.load(); m_localCenter.load(); m_linearVelocity.load(); m_angularVelocity.load(); m_gravityScale = float(1.0); //m_linearDamping = float(0.0); //m_angu...
22.117021
112
0.632516
talislincoln
59e18176883ad2398bd1ce097678e81ad17af408
17,223
cpp
C++
com/netfx/src/clr/tools/jitman/jitman.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
com/netfx/src/clr/tools/jitman/jitman.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
com/netfx/src/clr/tools/jitman/jitman.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== #include <windows.h> #include "resource.h" #include <shellapi.h> #include <stdlib.h> #include <assert.h> #include <tlhelp32.h> #include "__file__.ver" #include <corver.h> // These are used to identify componen...
30.268893
149
0.630959
npocmaka
59e3772f5bd2eed985a614106983ac96c6880df1
3,637
cpp
C++
src/PixelFlutSource.cpp
subject721/floodfill
f1328ac8de2f3c7988256e7cb9948f671f91a2d7
[ "MIT" ]
null
null
null
src/PixelFlutSource.cpp
subject721/floodfill
f1328ac8de2f3c7988256e7cb9948f671f91a2d7
[ "MIT" ]
null
null
null
src/PixelFlutSource.cpp
subject721/floodfill
f1328ac8de2f3c7988256e7cb9948f671f91a2d7
[ "MIT" ]
null
null
null
#include "PixelFlutSource.h" #include "DrawIF.h" #include "DrawOperations.h" #include <cstring> #include <cstdlib> PixelFlutSource::PixelFlutSource() { } PixelFlutSource::~PixelFlutSource() { } void PixelFlutSource::start(IDrawInterface* drawInterface) { _drawInterface = drawInterface; } void PixelFlutSource::...
20.432584
117
0.654111
subject721
59e44037e24e1c4f559fc44ea4592bc81c6810d1
1,084
cpp
C++
codes/ZOJ/zoj3810.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/ZOJ/zoj3810.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/ZOJ/zoj3810.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <cstring> #include <algorithm> using namespace std; const int maxn = 105; const char s[10][10] = {"BBBBBB", "GGRGRR", "GRRGRB", "GRGGRB", "GRGRRB", "GRGBBB"}; const char c[5] = "BGRY"; int g[maxn][maxn]; void solve (int n) { memset(g, 0, sizeof(g)); for (int i = 0; i < n; i++) g[0][i]...
18.066667
84
0.447417
JeraKrs
59e5aa4fa71944c18edcd9ee53474775afc94ee0
3,872
cc
C++
psdaq/psdaq/service/Task.cc
JBlaschke/lcls2
30523ef069e823535475d68fa283c6387bcf817b
[ "BSD-3-Clause-LBNL" ]
16
2017-11-09T17:10:56.000Z
2022-03-09T23:03:10.000Z
psdaq/psdaq/service/Task.cc
JBlaschke/lcls2
30523ef069e823535475d68fa283c6387bcf817b
[ "BSD-3-Clause-LBNL" ]
6
2017-12-12T19:30:05.000Z
2020-07-09T00:28:33.000Z
psdaq/psdaq/service/Task.cc
JBlaschke/lcls2
30523ef069e823535475d68fa283c6387bcf817b
[ "BSD-3-Clause-LBNL" ]
25
2017-09-18T20:02:43.000Z
2022-03-27T22:27:42.000Z
#include "Semaphore.hh" #include "Task.hh" #include <signal.h> #include <sched.h> using namespace Pds; /* * * * */ Task::Task(const TaskObject& tobj) { _taskObj = new TaskObject(tobj); _refCount = new int(1); _jobs = new Queue<Routine>; _pending = new Semaphore(Semaphore::EMPTY); int err = createTa...
17.680365
78
0.662707
JBlaschke
59ec73e5dd660eb73eb1790f2c4ff78bba777e00
857
cc
C++
chrome/browser/chromeos/drive/drive_protocol_handler.cc
GnorTech/chromium
e1c7731d5bd099ca5544fcf8eda3867d4ce5bab5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2018-03-10T13:08:49.000Z
2018-03-10T13:08:49.000Z
chrome/browser/chromeos/drive/drive_protocol_handler.cc
GnorTech/chromium
e1c7731d5bd099ca5544fcf8eda3867d4ce5bab5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/chromeos/drive/drive_protocol_handler.cc
GnorTech/chromium
e1c7731d5bd099ca5544fcf8eda3867d4ce5bab5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-11-04T07:19:31.000Z
2020-11-04T07:19:31.000Z
// 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 "chrome/browser/chromeos/drive/drive_protocol_handler.h" #include "base/logging.h" #include "chrome/browser/chromeos/drive/drive_url_request...
30.607143
77
0.766628
GnorTech
59ed9e0ee5727e4052b18f00bcfc40299e02bef9
1,040
cc
C++
CPP/No1024.cc
hxz1998/funny_leetcode
1d2c425af09b57a030fc018ddc1e1a5ffb966cd0
[ "Apache-2.0" ]
null
null
null
CPP/No1024.cc
hxz1998/funny_leetcode
1d2c425af09b57a030fc018ddc1e1a5ffb966cd0
[ "Apache-2.0" ]
null
null
null
CPP/No1024.cc
hxz1998/funny_leetcode
1d2c425af09b57a030fc018ddc1e1a5ffb966cd0
[ "Apache-2.0" ]
null
null
null
/** * Created by Xiaozhong on 2020/10/24. * Copyright (c) 2020/10/24 Xiaozhong. All rights reserved. */ #include <algorithm> #include <vector> #include <iostream> using namespace std; class Solution { public: int videoStitching(vector<vector<int>> &clips, int T) { vector<int> dp(T + 1, INT32_MAX - 1); ...
25.365854
93
0.440385
hxz1998
59ee4c0a309f914f2733f58643d87bd17c856dd1
2,978
cpp
C++
sample.cpp
chihirokondo/wl_mpi
33cb42e6a2649df767d1284c44d3fb11525b423e
[ "MIT" ]
1
2021-03-22T04:19:17.000Z
2021-03-22T04:19:17.000Z
sample.cpp
chihirokondo/wl_mpi
33cb42e6a2649df767d1284c44d3fb11525b423e
[ "MIT" ]
null
null
null
sample.cpp
chihirokondo/wl_mpi
33cb42e6a2649df767d1284c44d3fb11525b423e
[ "MIT" ]
2
2020-11-27T07:40:42.000Z
2021-03-22T04:58:18.000Z
#include <cmath> #include <mpi.h> #include <random> #include <iostream> #include <iomanip> #include <fstream> #include <vector> #include "include/wl_mpi.hpp" // Sample model (classical ferro magnetic ising model) #include "model_sample/lattice/graph.hpp" #include "model_sample/ferro_ising.hpp" int main(int argc, char...
35.035294
79
0.622565
chihirokondo
59f125c9f66925baf6697b1250fcf00708165094
709
hpp
C++
include/text.hpp
Ikaguia/idj-pinguim
fd07be94b440057ab2ec9bf80931bc3f2b588cd3
[ "MIT" ]
1
2017-04-03T14:37:36.000Z
2017-04-03T14:37:36.000Z
include/text.hpp
Ikaguia/idj-pinguim
fd07be94b440057ab2ec9bf80931bc3f2b588cd3
[ "MIT" ]
null
null
null
include/text.hpp
Ikaguia/idj-pinguim
fd07be94b440057ab2ec9bf80931bc3f2b588cd3
[ "MIT" ]
null
null
null
#ifndef TEXTHPP #define TEXTHPP #include <SDL2/SDL_ttf.h> #include <common.hpp> #include <geometry.hpp> class Text{ public: enum TextStyle{SOLID,SHADED,BLENDED}; private: shared_ptr<TTF_Font> font; SDL_Texture* texture; string fontName; string text; TextStyle style; int fontSize; SDL_Color color; Rect box;...
17.725
97
0.744711
Ikaguia
59f1e062f5f292ac68b53ad179fbb1cc65347422
2,858
cpp
C++
test/TreeJobContainerTest.cpp
ywx217/elapse
d27e851b8f5744ed9bf488a421094c5653aae46e
[ "Unlicense" ]
null
null
null
test/TreeJobContainerTest.cpp
ywx217/elapse
d27e851b8f5744ed9bf488a421094c5653aae46e
[ "Unlicense" ]
null
null
null
test/TreeJobContainerTest.cpp
ywx217/elapse
d27e851b8f5744ed9bf488a421094c5653aae46e
[ "Unlicense" ]
null
null
null
#include "gtest/gtest.h" #include <list> #include "TreeJobContainer.hpp" #ifdef BENCHMARK_ASIO_JOB_CONTAINER #include "AsioJobContainer.hpp" #endif using namespace elapse; #define TIME_BEGIN 1525436318156L TEST(TreeContainer, InsertAndExpire) { TreeJobContainer ctn; TimeUnit now = TIME_BEGIN; std::list<JobId> jobS...
24.016807
77
0.662701
ywx217
59f31757a685dff137d4958a9d55680823e9831d
9,779
cpp
C++
Device/Source/Unit/Datapath/Specific/MPEG/DVDPESStreamUnpacker.cpp
rerunner/STCM_driver
8fef3dd7327812fd317fdb0e6fab8d36e345a505
[ "BSD-3-Clause" ]
null
null
null
Device/Source/Unit/Datapath/Specific/MPEG/DVDPESStreamUnpacker.cpp
rerunner/STCM_driver
8fef3dd7327812fd317fdb0e6fab8d36e345a505
[ "BSD-3-Clause" ]
null
null
null
Device/Source/Unit/Datapath/Specific/MPEG/DVDPESStreamUnpacker.cpp
rerunner/STCM_driver
8fef3dd7327812fd317fdb0e6fab8d36e345a505
[ "BSD-3-Clause" ]
null
null
null
/// /// @brief Extracts elementary streams from DVD PES streams /// #include "DVDPESStreamUnpacker.h" #include "VDR/Source/Construction/IUnitConstruction.h" #include "Device/Interface/Unit/Video/IMPEGVideoTypes.h" UNIT_CREATION_FUNCTION(CreateDVDPESStreamUnpackerUnit, DVDPESStreamUnpackerUnit) STFResult DVDPE...
23.063679
131
0.698026
rerunner
59f3ed9dd50a93706593ca4f4d1a89e5b967f51f
2,360
cc
C++
Library/Utilities/fftw++-2.05/mpi/explicit/exmpiutils.cc
stevend12/SolutioCpp
6fa8a12207cd1e7e806a8ef5de93dc137c33856e
[ "Apache-2.0" ]
9
2017-06-27T14:04:46.000Z
2022-02-17T17:38:03.000Z
Library/Utilities/fftw++-2.05/mpi/explicit/exmpiutils.cc
stevend12/SolutioCpp
6fa8a12207cd1e7e806a8ef5de93dc137c33856e
[ "Apache-2.0" ]
null
null
null
Library/Utilities/fftw++-2.05/mpi/explicit/exmpiutils.cc
stevend12/SolutioCpp
6fa8a12207cd1e7e806a8ef5de93dc137c33856e
[ "Apache-2.0" ]
3
2017-06-23T20:10:44.000Z
2021-01-13T10:09:46.000Z
#include <mpi.h> #include <Complex.h> #include <fftw3-mpi.h> #include <iostream> #include <stdlib.h> #include "Complex.h" #include "exmpiutils.h" #include "cmult-sse2.h" #ifdef __SSE2__ namespace fftwpp { const union uvec sse2_pm = { { 0x00000000,0x00000000,0x00000000,0x80000000 } }; const union uvec sse2_mm...
20.884956
56
0.513559
stevend12
59f3ff47a06e15d1581749eae11fe190c52bfd6a
2,236
cpp
C++
main.cpp
azriel91/sl_ax_main
fd34e4b27da35fdf18afcad1dfc11e36d2504545
[ "Apache-2.0" ]
null
null
null
main.cpp
azriel91/sl_ax_main
fd34e4b27da35fdf18afcad1dfc11e36d2504545
[ "Apache-2.0" ]
null
null
null
main.cpp
azriel91/sl_ax_main
fd34e4b27da35fdf18afcad1dfc11e36d2504545
[ "Apache-2.0" ]
null
null
null
/*============================================================================= Library: Silver Copyright (c) Azriel Hoh 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.o...
33.878788
109
0.68381
azriel91
59f7427b059068377b3be5224e852a778e88a537
14,750
cpp
C++
demo/Whole-App-Acceleration/SORT/src/main.cpp
luyufan498/Vitis-AI-ZH
262fd6e29f25ec3b7583cbde5405f5ddeb29f2d5
[ "Apache-2.0" ]
848
2019-12-03T00:16:17.000Z
2022-03-31T22:53:17.000Z
demo/Whole-App-Acceleration/SORT/src/main.cpp
wangyifan778/Vitis-AI
f61061eef7550d98bf02a171604c9a9f283a7c47
[ "Apache-2.0" ]
656
2019-12-03T00:48:46.000Z
2022-03-31T18:41:54.000Z
demo/Whole-App-Acceleration/SORT/src/main.cpp
wangyifan778/Vitis-AI
f61061eef7550d98bf02a171604c9a9f283a7c47
[ "Apache-2.0" ]
506
2019-12-03T00:46:26.000Z
2022-03-30T10:34:56.000Z
/////////////////////////////////////////////////////////////////////////////// // SORT: A Simple, Online and Realtime Tracker // // This is a C++ reimplementation of the open source tracker in // https://github.com/abewley/sort // Based on the work of Alex Bewley, alex@dynamicdetection.com, 2016 // // Cong Ma, mc...
28.640777
156
0.647051
luyufan498
59f7a965e8cc6205cfba71b5f7957c7c290d94ea
3,224
cpp
C++
RayEngine/Source/Vulkan/VulkRootLayout.cpp
Mumsfilibaba/RayEngine
68496966c1d7b91bc8fbdd305226ece9b9f596b2
[ "Apache-2.0" ]
null
null
null
RayEngine/Source/Vulkan/VulkRootLayout.cpp
Mumsfilibaba/RayEngine
68496966c1d7b91bc8fbdd305226ece9b9f596b2
[ "Apache-2.0" ]
null
null
null
RayEngine/Source/Vulkan/VulkRootLayout.cpp
Mumsfilibaba/RayEngine
68496966c1d7b91bc8fbdd305226ece9b9f596b2
[ "Apache-2.0" ]
null
null
null
/*//////////////////////////////////////////////////////////// Copyright 2018 Alexander Dahlin 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 THIS SOF...
29.577982
124
0.531638
Mumsfilibaba
59fe4ef528bb118d9b1ea046656b122e246b842b
1,852
hpp
C++
src/BayesDecider.hpp
Nolnocn/Bayesian-Inference
76ee29171c6e3a4a69b752c1f68ae3fef2526f92
[ "MIT" ]
1
2021-07-07T02:45:55.000Z
2021-07-07T02:45:55.000Z
src/BayesDecider.hpp
Nolnocn/Bayes-Classifier
76ee29171c6e3a4a69b752c1f68ae3fef2526f92
[ "MIT" ]
null
null
null
src/BayesDecider.hpp
Nolnocn/Bayes-Classifier
76ee29171c6e3a4a69b752c1f68ae3fef2526f92
[ "MIT" ]
null
null
null
#ifndef BayesDecider_hpp #define BayesDecider_hpp #include <string> #include "BayesOutcomeDefs.h" namespace Bayes { // Forward dec struct BayesObservation; /* * Class used to store conditions and decide on observations * * Only this class and BayesObservation should be used * outside the Bayes namespac...
28.9375
88
0.74568
Nolnocn
94017194841b6d01072880d0bc250e49e5d54fab
7,314
cpp
C++
ManagedScripts/MPhysClassMultiListClass.cpp
mpforums/RenSharp
5b3fb8bff2a1772a82a4148bcf3e1265a11aa097
[ "Apache-2.0" ]
1
2021-10-04T02:34:33.000Z
2021-10-04T02:34:33.000Z
ManagedScripts/MPhysClassMultiListClass.cpp
TheUnstoppable/RenSharp
2a123c6018c18f3fc73501737d600e291ac3afa7
[ "Apache-2.0" ]
9
2019-07-03T19:19:59.000Z
2020-03-02T22:00:21.000Z
ManagedScripts/MPhysClassMultiListClass.cpp
TheUnstoppable/RenSharp
2a123c6018c18f3fc73501737d600e291ac3afa7
[ "Apache-2.0" ]
2
2019-08-14T08:37:36.000Z
2020-09-29T06:44:26.000Z
/* Copyright 2020 Neijwiert 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 writing, software distr...
27.704545
119
0.760459
mpforums
9402c048510239433822431b1d7d805bb9124bcb
1,752
hpp
C++
src/geometry/geometry.hpp
lanl/phoebus
c570f42882c1c9e01e3bfe4b00b22e15a7a9992b
[ "BSD-3-Clause" ]
3
2022-03-24T22:09:12.000Z
2022-03-29T23:16:21.000Z
src/geometry/geometry.hpp
lanl/phoebus
c570f42882c1c9e01e3bfe4b00b22e15a7a9992b
[ "BSD-3-Clause" ]
8
2022-03-15T20:49:43.000Z
2022-03-29T17:45:04.000Z
src/geometry/geometry.hpp
lanl/phoebus
c570f42882c1c9e01e3bfe4b00b22e15a7a9992b
[ "BSD-3-Clause" ]
null
null
null
// © 2021. Triad National Security, LLC. All rights reserved. This // program was produced under U.S. Government contract // 89233218CNA000001 for Los Alamos National Laboratory (LANL), which // is operated by Triad National Security, LLC for the U.S. // Department of Energy/National Nuclear Security Administration. A...
36.5
71
0.785388
lanl
9403527921d2f1b89cd5bb9a13f08c405701cf13
711
hpp
C++
pythran/pythonic/include/numpy/logaddexp.hpp
davidbrochart/pythran
24b6c8650fe99791a4091cbdc2c24686e86aa67c
[ "BSD-3-Clause" ]
1,647
2015-01-13T01:45:38.000Z
2022-03-28T01:23:41.000Z
pythran/pythonic/include/numpy/logaddexp.hpp
davidbrochart/pythran
24b6c8650fe99791a4091cbdc2c24686e86aa67c
[ "BSD-3-Clause" ]
1,116
2015-01-01T09:52:05.000Z
2022-03-18T21:06:40.000Z
pythran/pythonic/include/numpy/logaddexp.hpp
davidbrochart/pythran
24b6c8650fe99791a4091cbdc2c24686e86aa67c
[ "BSD-3-Clause" ]
180
2015-02-12T02:47:28.000Z
2022-03-14T10:28:18.000Z
#ifndef PYTHONIC_INCLUDE_NUMPY_LOGADDEXP_HPP #define PYTHONIC_INCLUDE_NUMPY_LOGADDEXP_HPP #include "pythonic/include/utils/functor.hpp" #include "pythonic/include/types/ndarray.hpp" #include "pythonic/include/utils/numpy_traits.hpp" #include "pythonic/include/numpy/log.hpp" #include "pythonic/include/numpy/exp.hpp" ...
24.517241
77
0.772152
davidbrochart
9404cada7abb85c24fb038250bb09f642ac913b9
2,207
cpp
C++
EZOJ/Contests/1465/A.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
6
2019-09-30T16:11:00.000Z
2021-11-01T11:42:33.000Z
EZOJ/Contests/1465/A.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
4
2017-11-21T08:17:42.000Z
2020-07-28T12:09:52.000Z
EZOJ/Contests/1465/A.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
4
2017-07-26T05:54:06.000Z
2020-09-30T13:35:38.000Z
#include <iostream> #include <cstdio> #include <cstring> #include <cassert> #include <cctype> using namespace std; typedef long long lint; #define cout cerr #define ni (next_num<int>()) template<class T>inline T next_num(){ T i=0;char c; while(!isdigit(c=getchar())&&c!='-'); bool neg=c=='-'; neg?c=getchar():0; whi...
22.292929
78
0.562302
sshockwave
9405b8c6256c4bf5cb3e9496bb27913661fc01f3
1,663
cpp
C++
benchmark/1_1/main.cpp
philong6297/modern-cpp-challenges
c3f9786aff9dd097ee1e4ec7ac65560e447c28b5
[ "MIT" ]
null
null
null
benchmark/1_1/main.cpp
philong6297/modern-cpp-challenges
c3f9786aff9dd097ee1e4ec7ac65560e447c28b5
[ "MIT" ]
null
null
null
benchmark/1_1/main.cpp
philong6297/modern-cpp-challenges
c3f9786aff9dd097ee1e4ec7ac65560e447c28b5
[ "MIT" ]
null
null
null
// Copyright 2021 Long Le Phi. All rights reserved. // Use of this source code is governed by a MIT license that can be // found in the LICENSE file. #include <cassert> #include <cstdint> #include <limits> #include <numeric> #include "benchmark/benchmark.h" #include "problems/1_1/solution.hpp" namespace { using lon...
27.716667
74
0.662057
philong6297
940ba990cc8c99d4ce336f193825936d60e9eee9
7,255
cpp
C++
src/solver/QLDLeastSquareSolver.cpp
mmurooka/tvm
9098ad443d059ed4d216afb5bcc41655afdc34e0
[ "BSD-3-Clause" ]
2
2021-03-15T00:54:58.000Z
2022-02-01T20:15:47.000Z
src/solver/QLDLeastSquareSolver.cpp
mmurooka/tvm
9098ad443d059ed4d216afb5bcc41655afdc34e0
[ "BSD-3-Clause" ]
null
null
null
src/solver/QLDLeastSquareSolver.cpp
mmurooka/tvm
9098ad443d059ed4d216afb5bcc41655afdc34e0
[ "BSD-3-Clause" ]
null
null
null
/* Copyright 2017-2020 CNRS-AIST JRL and CNRS-UM LIRMM * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the foll...
32.977273
125
0.663129
mmurooka
940f9ad896fc34423013c03ef7f975751065fbbd
7,537
cpp
C++
src/Server.cpp
mark-grimes/Communique
969a2a8851ac2eb9dfc0d5c4fdd8669073ad882a
[ "Apache-2.0" ]
null
null
null
src/Server.cpp
mark-grimes/Communique
969a2a8851ac2eb9dfc0d5c4fdd8669073ad882a
[ "Apache-2.0" ]
1
2015-11-25T09:48:34.000Z
2015-11-25T09:48:34.000Z
src/Server.cpp
mark-grimes/Communique
969a2a8851ac2eb9dfc0d5c4fdd8669073ad882a
[ "Apache-2.0" ]
null
null
null
#include "communique/Server.h" #define _WEBSOCKETPP_CPP11_STL_ // Make sure websocketpp uses c++11 features in preference to boost ones #include <websocketpp/server.hpp> #include <websocketpp/config/asio.hpp> #include <list> #include "communique/impl/Connection.h" #include "communique/impl/TLSHandler.h" // // Declar...
36.587379
213
0.761311
mark-grimes
9413d89aba0649c57c1517326033bcfa67239be6
6,706
cpp
C++
src/lib/meshes/Terrain.cpp
fluffels/vulkan-experiments
77fc2a3510a22df277d49a6e9b86e52505768b91
[ "MIT" ]
null
null
null
src/lib/meshes/Terrain.cpp
fluffels/vulkan-experiments
77fc2a3510a22df277d49a6e9b86e52505768b91
[ "MIT" ]
null
null
null
src/lib/meshes/Terrain.cpp
fluffels/vulkan-experiments
77fc2a3510a22df277d49a6e9b86e52505768b91
[ "MIT" ]
null
null
null
#include "Terrain.h" Terrain:: Terrain(string path) : IndexedMesh(), COMPONENTS(3), SMOOTH_PAS_COUNT(5), _vertices(nullptr), _normals(nullptr), _indices(nullptr), _width(0), _depth(0), _maxHeight(0), _terrainWidth(0), _terrainDepth...
24.654412
73
0.525798
fluffels
9418d5e12fd6ddd41053ccde892c997c9b1b6445
1,009
cpp
C++
blackbox/net/ResponseQueue.cpp
mojmir-svoboda/BlackBoxTT
0c87b989827107695538e1bf1266c08b083dda44
[ "MIT" ]
11
2017-06-19T14:21:15.000Z
2020-03-04T06:43:16.000Z
blackbox/net/ResponseQueue.cpp
mojmir-svoboda/BlackBoxTT
0c87b989827107695538e1bf1266c08b083dda44
[ "MIT" ]
null
null
null
blackbox/net/ResponseQueue.cpp
mojmir-svoboda/BlackBoxTT
0c87b989827107695538e1bf1266c08b083dda44
[ "MIT" ]
3
2017-07-23T18:08:55.000Z
2019-09-16T16:28:18.000Z
#include "Session.h" #include "Server.h" #include <blackbox/common.h> #include <utility> #include <memory> #include <asio.hpp> #include <asio/ts/buffer.hpp> #include <asio/ts/internet.hpp> #include <bbproto/decoder.h> #include "commands.h" #include <boost/lockfree/spsc_queue.hpp> namespace bb { ResponseQueue::Respo...
21.934783
110
0.682854
mojmir-svoboda
941e403224b15896608d39846bf5ab23aff0345e
5,749
cpp
C++
CmnMath/sample/sample_pointcloud_pointcloud.cpp
Khoronus/CmnUniverse
9cf9b4297f2fcb49330126aa1047b422144045e1
[ "MIT" ]
null
null
null
CmnMath/sample/sample_pointcloud_pointcloud.cpp
Khoronus/CmnUniverse
9cf9b4297f2fcb49330126aa1047b422144045e1
[ "MIT" ]
null
null
null
CmnMath/sample/sample_pointcloud_pointcloud.cpp
Khoronus/CmnUniverse
9cf9b4297f2fcb49330126aa1047b422144045e1
[ "MIT" ]
null
null
null
/* @file sample_math_trigonometry.hpp * @brief Perform a sample trigonometric operations. * * @section LICENSE * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS F...
39.108844
154
0.678901
Khoronus
941f9574a275a4e910e05e0542e5010e18b71ca9
12,633
hpp
C++
ryoanji/src/ryoanji/cpu/multipole.hpp
nknk567/SPH-EXA
1d51f444eeb8662192465b40f5893fd92045729e
[ "MIT" ]
null
null
null
ryoanji/src/ryoanji/cpu/multipole.hpp
nknk567/SPH-EXA
1d51f444eeb8662192465b40f5893fd92045729e
[ "MIT" ]
null
null
null
ryoanji/src/ryoanji/cpu/multipole.hpp
nknk567/SPH-EXA
1d51f444eeb8662192465b40f5893fd92045729e
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2021 CSCS, ETH Zurich * 2021 University of Basel * * 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 with...
34.99446
118
0.5583
nknk567
94202060e600345f1441d56fd740a24839276ef0
28,861
cpp
C++
newton-4.00/sdk/dNewton/dParticles/ndBodySphFluid.cpp
Libertus-Lab/newton-dynamics
af6e6635c7f563c697b8e5b088d68ba24fa8fe9c
[ "Zlib" ]
null
null
null
newton-4.00/sdk/dNewton/dParticles/ndBodySphFluid.cpp
Libertus-Lab/newton-dynamics
af6e6635c7f563c697b8e5b088d68ba24fa8fe9c
[ "Zlib" ]
null
null
null
newton-4.00/sdk/dNewton/dParticles/ndBodySphFluid.cpp
Libertus-Lab/newton-dynamics
af6e6635c7f563c697b8e5b088d68ba24fa8fe9c
[ "Zlib" ]
null
null
null
/* Copyright (c) <2003-2021> <Julio Jerez, 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 purpo...
29.182002
141
0.707183
Libertus-Lab
942047a1383b606f3bb2c82178db3e5281231381
1,546
hpp
C++
src/09-OpenCV-Video-Template/mat_viewer.hpp
m516/CV-Sandbox
c22630e56c2989bb53e346ea4ada8d4fe45dfe82
[ "MIT" ]
6
2020-07-31T22:28:36.000Z
2021-10-04T10:04:24.000Z
src/09-OpenCV-Video-Template/mat_viewer.hpp
m516/CV-Sandbox
c22630e56c2989bb53e346ea4ada8d4fe45dfe82
[ "MIT" ]
1
2020-11-18T08:43:34.000Z
2021-02-05T17:29:02.000Z
src/09-OpenCV-Video-Template/mat_viewer.hpp
m516/CV-Sandbox
c22630e56c2989bb53e346ea4ada8d4fe45dfe82
[ "MIT" ]
null
null
null
#pragma once #include <opencv2/opencv.hpp> #include <glad/glad.h> #include <GLFW/glfw3.h> using namespace cv; using namespace std; class MatViewer { public: /*Creates an empty MatViewer*/ MatViewer(){} /*Creates a new MatViewer that binds to a Mat*/ MatViewer(std::string name, Mat& mat); /*Destr...
30.92
101
0.666882
m516
9420ea738bac4733be3fcbc985c4c52e585e2a93
37,587
hpp
C++
2 - MaxPooled Net/3 - SCAMP5 implementation/fc_weights.hpp
brouwa/CNNs-on-FPSPs
71bcc2335e6d71ad21ba66e04a651d4db218356d
[ "MIT" ]
1
2021-02-23T21:53:30.000Z
2021-02-23T21:53:30.000Z
2 - MaxPooled Net/3 - SCAMP5 implementation/fc_weights.hpp
brouwa/CNNs-on-FPSPs
71bcc2335e6d71ad21ba66e04a651d4db218356d
[ "MIT" ]
1
2020-11-13T19:08:27.000Z
2020-11-13T19:08:27.000Z
2 - MaxPooled Net/3 - SCAMP5 implementation/fc_weights.hpp
brouwa/CNNs-on-FPSPs
71bcc2335e6d71ad21ba66e04a651d4db218356d
[ "MIT" ]
1
2021-03-04T10:17:01.000Z
2021-03-04T10:17:01.000Z
/* * fc_weights.hpp * * Created on: Jul 4, 2019 * Author: Benoît GUILLARD */ #ifndef FC_WEIGHTS_HPP_ #define FC_WEIGHTS_HPP_ // Re-trained fully connected weight values inline void fc_1(int in[32], int out[50]){ out[0] = in[0]*(-76) + in[1]*(14) + in[2]*(125) + in[3]*(-20) + in[...
16.779911
44
0.329156
brouwa
942129a8633c59263f489a8e2a0a503085954125
636
hpp
C++
include/sp/algo/nn/config.hpp
thorigin/sp
a837b4fcb5b7184591585082012942bbdb8f11f9
[ "FSFAP" ]
null
null
null
include/sp/algo/nn/config.hpp
thorigin/sp
a837b4fcb5b7184591585082012942bbdb8f11f9
[ "FSFAP" ]
null
null
null
include/sp/algo/nn/config.hpp
thorigin/sp
a837b4fcb5b7184591585082012942bbdb8f11f9
[ "FSFAP" ]
null
null
null
/** * Copyright (C) Omar Thor <omarthoro@gmail.com> - All Rights Reserved * Unauthorized copying of this file, via any medium is strictly prohibited * Proprietary and confidential * * Written by Omar Thor <omarthoro@gmail.com>, 2017 */ #ifndef SP_ALGO_NN_CONFIG_HPP #define SP_ALGO_NN_CONFIG_HPP #include <cmath>...
19.875
75
0.779874
thorigin
942b7a2a4945141ddc9dac7b8aa3403257e91cb9
525
cpp
C++
http/src/EHttpMethod.cpp
developkits/CxxMina
705734fccc5ef87c7faa385b77cd1e67c46c5c75
[ "Apache-2.0" ]
7
2016-08-25T14:22:36.000Z
2020-05-25T17:27:51.000Z
http/src/EHttpMethod.cpp
developkits/CxxMina
705734fccc5ef87c7faa385b77cd1e67c46c5c75
[ "Apache-2.0" ]
1
2018-07-11T12:37:55.000Z
2018-07-12T00:05:33.000Z
http/src/EHttpMethod.cpp
developkits/CxxMina
705734fccc5ef87c7faa385b77cd1e67c46c5c75
[ "Apache-2.0" ]
2
2017-06-09T01:22:36.000Z
2021-09-29T16:27:58.000Z
/* * EHttpMethod.cpp * * Created on: 2017-1-4 * Author: cxxjava@163.com */ #include "../inc/EHttpMethod.hh" namespace efc { namespace eio { EHttpMethod EHttpMethod::GET("GET"); EHttpMethod EHttpMethod::HEAD("HEAD"); EHttpMethod EHttpMethod::POST("POST"); EHttpMethod EHttpMethod::PUT("PUT"); EHttpMethod EH...
21.875
44
0.710476
developkits
942cfb9e5f2cb3eb58bc2f8300704fb1b333e30c
1,571
cc
C++
sdios/src/ram_dsm/main.cc
NeoLeMarc/sdios
24630c16dfabab008891a354e2f49088d0d0a369
[ "BSD-2-Clause" ]
null
null
null
sdios/src/ram_dsm/main.cc
NeoLeMarc/sdios
24630c16dfabab008891a354e2f49088d0d0a369
[ "BSD-2-Clause" ]
null
null
null
sdios/src/ram_dsm/main.cc
NeoLeMarc/sdios
24630c16dfabab008891a354e2f49088d0d0a369
[ "BSD-2-Clause" ]
null
null
null
// // File: src/ram_dsm/main.cc // // Description: RAM-DataspaceManager // #include <l4/thread.h> #include <l4/sigma0.h> #include <l4io.h> #include <sdi/types.h> #include <sdi/sdi.h> #include <idl4glue.h> #include <if/iflocator.h> #include <if/iflogging.h> #include "ram_dsm.h" L4_ThreadId_t sigma0_id = L4_nilthrea...
25.33871
90
0.644812
NeoLeMarc
942dcee35ec86a7347eb0d231e13e9479d5012f1
495
cpp
C++
src/storm/color.cpp
vanderlokken/storm
462a783fb780b290149acf0d75c4b3b837a97325
[ "MIT" ]
2
2016-11-17T20:48:08.000Z
2018-04-28T22:41:12.000Z
src/storm/color.cpp
vanderlokken/storm
462a783fb780b290149acf0d75c4b3b837a97325
[ "MIT" ]
null
null
null
src/storm/color.cpp
vanderlokken/storm
462a783fb780b290149acf0d75c4b3b837a97325
[ "MIT" ]
1
2016-10-19T03:07:58.000Z
2016-10-19T03:07:58.000Z
#include <storm/color.h> namespace storm { const Color Color::Black( 0, 0, 0, 1 ); const Color Color::White( 1, 1, 1, 1 ); const Color Color::BlackTransparent( 0, 0, 0, 0 ); const Color Color::WhiteTransparent( 1, 1, 1, 0 ); const CompressedColor CompressedColor::Black( 0xFF000000 ); const CompressedColor Compresse...
27.5
70
0.751515
vanderlokken
942e3878f2d7cebe5475cec7a58bcb83566ca817
1,662
cpp
C++
cEpiabm/test/sweeps/test_household_sweep.cpp
Saketkr21/epiabm
3ec0dcbc78d3fd4114ed3c6bdd78ef39f0013d2f
[ "BSD-3-Clause" ]
11
2021-12-02T15:24:02.000Z
2022-03-10T14:02:13.000Z
cEpiabm/test/sweeps/test_household_sweep.cpp
Saketkr21/epiabm
3ec0dcbc78d3fd4114ed3c6bdd78ef39f0013d2f
[ "BSD-3-Clause" ]
119
2021-11-24T13:56:48.000Z
2022-03-30T11:52:07.000Z
cEpiabm/test/sweeps/test_household_sweep.cpp
SABS-R3-Epidemiology/epiabm
8eb83fd2de84104f6f77929e3771095f7b033ddc
[ "BSD-3-Clause" ]
3
2022-01-13T03:05:19.000Z
2022-03-11T22:00:17.000Z
#include "sweeps/household_sweep.hpp" #include "population_factory.hpp" #include "../catch/catch.hpp" #include "helpers.hpp" #include <random> using namespace epiabm; TEST_CASE("sweeps/household_sweep: test initialize household_sweep", "[HouseholdSweep]") { HouseholdSweepPtr subject = std::make_shared<Househo...
29.678571
93
0.699759
Saketkr21
94313705de52132518bef6bec085088d766e1d9e
751
cpp
C++
TOJ/HayForSale.cpp
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
1
2018-08-28T19:58:40.000Z
2018-08-28T19:58:40.000Z
TOJ/HayForSale.cpp
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
2
2017-04-16T00:48:05.000Z
2017-08-03T20:12:26.000Z
TOJ/HayForSale.cpp
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
4
2016-03-04T19:42:00.000Z
2018-01-08T11:42:00.000Z
#include <iostream> template<typename T> T gcd(T a, T b) { if(!b) return a; return gcd(b, a % b); } template<typename T> T lcm(T a, T b) { return a * b / gcd(a, b); } template<typename T> void chmin(T& a, T b) { a = (a > b) ? b : a; } template<typename T> void chmax(T& a, T b) { a = (a < b) ? b : a; } us...
15.978723
67
0.498003
aajjbb
9434b83e91ade57a403ea82bd2eed4a10cfebba7
712
cpp
C++
boboleetcode/Play-Leetcode-master/0104-Maximum-Depth-of-Binary-Tree/cpp-0104/main.cpp
yaominzh/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
2
2021-03-25T05:26:55.000Z
2021-04-20T03:33:24.000Z
boboleetcode/Play-Leetcode-master/0104-Maximum-Depth-of-Binary-Tree/cpp-0104/main.cpp
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
6
2019-12-04T06:08:32.000Z
2021-05-10T20:22:47.000Z
boboleetcode/Play-Leetcode-master/0104-Maximum-Depth-of-Binary-Tree/cpp-0104/main.cpp
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
null
null
null
/// Source : https://leetcode.com/problems/maximum-depth-of-binary-tree/description/ /// Author : liuyubobobo /// Time : 2017-11-17 #include <iostream> using namespace std; /// Definition for a binary tree node. struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode(int x) : val(x), ...
20.342857
84
0.627809
yaominzh
943e2ed2ddc9cfa963d6f34b837c34775cec3719
123
cpp
C++
lab2.2/errorProcess.cpp
mengguanya/Elementary-Computer-Architecture-Lab
38167d54f9af8af0fade1ff38dd8adb795db476f
[ "MIT" ]
null
null
null
lab2.2/errorProcess.cpp
mengguanya/Elementary-Computer-Architecture-Lab
38167d54f9af8af0fade1ff38dd8adb795db476f
[ "MIT" ]
null
null
null
lab2.2/errorProcess.cpp
mengguanya/Elementary-Computer-Architecture-Lab
38167d54f9af8af0fade1ff38dd8adb795db476f
[ "MIT" ]
null
null
null
#include"errorProcess.h" #include"Inst.h" void openElfError(FILE* elfFile) { } void instAddrError(ADDR addr) { }
13.666667
35
0.682927
mengguanya
9440b5dfd9a9d1d75beba5bfb3c36d8bbcd93604
1,522
cpp
C++
doc/src/examples/arithmetic/dot_product.cpp
jkerkela/geometry
4034ac88b214da0eab8943172eff0f1200b0a6cc
[ "BSL-1.0" ]
326
2015-02-08T13:47:49.000Z
2022-03-16T02:13:59.000Z
doc/src/examples/arithmetic/dot_product.cpp
jkerkela/geometry
4034ac88b214da0eab8943172eff0f1200b0a6cc
[ "BSL-1.0" ]
623
2015-01-02T23:45:23.000Z
2022-03-09T11:15:23.000Z
Libs/boost_1_76_0/libs/geometry/doc/src/examples/arithmetic/dot_product.cpp
Antd23rus/S2DE
47cc7151c2934cd8f0399a9856c1e54894571553
[ "MIT" ]
215
2015-01-14T15:50:38.000Z
2022-02-23T03:58:36.000Z
// Boost.Geometry // QuickBook Example // Copyright (c) 2020, Aditya Mohan // Use, modification and distribution is 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) //[dot_product //` Calculate the dot product of two poi...
22.716418
79
0.632063
jkerkela
9446fd5576f98b99736acbf0ca162971723d07d3
755
hpp
C++
src/mlt/models/transformers/zero_components_analysis.hpp
fedeallocati/MachineLearningToolkit
8614ee2c8c5211a3eefceb10a50576e0485cefd9
[ "MIT" ]
6
2015-08-31T11:43:19.000Z
2018-07-22T11:03:47.000Z
src/mlt/models/transformers/zero_components_analysis.hpp
fedeallocati/MachineLearningToolkit
8614ee2c8c5211a3eefceb10a50576e0485cefd9
[ "MIT" ]
null
null
null
src/mlt/models/transformers/zero_components_analysis.hpp
fedeallocati/MachineLearningToolkit
8614ee2c8c5211a3eefceb10a50576e0485cefd9
[ "MIT" ]
null
null
null
#ifndef MLT_MODELS_TRANSFORMERS_ZERO_COMPONENTS_ANALYSIS_HPP #define MLT_MODELS_TRANSFORMERS_ZERO_COMPONENTS_ANALYSIS_HPP #include "principal_components_analysis_impl.hpp" namespace mlt { namespace models { namespace transformers { class ZeroComponentsAnalysis : public PrincipalComponentsAnalysisImpl<ZeroComponentsA...
29.038462
96
0.81457
fedeallocati
944ace87ef4102cfbea37b10862ab7c8c3b812c4
1,912
cpp
C++
games/cpp/sudoku.cpp
CarbonDDR/al-go-rithms
8e65affbe812931b7dde0e2933eb06c0f44b4130
[ "CC0-1.0" ]
1,253
2017-06-06T07:19:25.000Z
2022-03-30T17:07:58.000Z
games/cpp/sudoku.cpp
rishabh99-rc/al-go-rithms
4df20d7ef7598fda4bc89101f9a99aac94cdd794
[ "CC0-1.0" ]
554
2017-09-29T18:56:01.000Z
2022-02-21T15:48:13.000Z
games/cpp/sudoku.cpp
rishabh99-rc/al-go-rithms
4df20d7ef7598fda4bc89101f9a99aac94cdd794
[ "CC0-1.0" ]
2,226
2017-09-29T19:59:59.000Z
2022-03-25T08:59:55.000Z
//Implement sudoku solver using recursion (Conceptual) #include<iostream> using namespace std; bool isPossible(int sudoku[][9], int i, int j, int k){ //i=row, j=col, k=value //check if value k is present in row or col for(int p=0;p<9;p++){ if(sudoku[p][j]==k || sudoku[i][p]==k) return fa...
27.710145
73
0.429393
CarbonDDR
944c92e249ad5fa1251777c70bb60692378a8bbe
2,673
cpp
C++
tools/editor/source/command/standard/modifyDepth.cpp
pixelballoon/pixelboost
085873310050ce62493df61142b7d4393795bdc2
[ "MIT" ]
6
2015-04-21T11:30:52.000Z
2020-04-29T00:10:04.000Z
tools/editor/source/command/standard/modifyDepth.cpp
pixelballoon/pixelboost
085873310050ce62493df61142b7d4393795bdc2
[ "MIT" ]
null
null
null
tools/editor/source/command/standard/modifyDepth.cpp
pixelballoon/pixelboost
085873310050ce62493df61142b7d4393795bdc2
[ "MIT" ]
null
null
null
#include <string> #include "pixelboost/maths/boundingBox.h" #include "command/standard/modifyDepth.h" #include "core/uidHelpers.h" #include "project/entity.h" #include "project/project.h" #include "project/record.h" #include "project/schema.h" #include "view/entity/entity.h" #include "view/level.h" #include "core.h" ...
25.216981
99
0.632997
pixelballoon
944fbb889b970c185bf1c36d8ce933caa50fb773
822
hpp
C++
src/aspell-60/common/error.hpp
reydajp/build-spell
a88ffbb9ffedae3f20933b187c95851e47e0e4c3
[ "MIT" ]
31
2016-11-08T05:13:02.000Z
2022-02-23T19:13:01.000Z
src/aspell-60/common/error.hpp
reydajp/build-spell
a88ffbb9ffedae3f20933b187c95851e47e0e4c3
[ "MIT" ]
6
2017-01-17T20:21:55.000Z
2021-09-02T07:36:18.000Z
src/aspell-60/common/error.hpp
reydajp/build-spell
a88ffbb9ffedae3f20933b187c95851e47e0e4c3
[ "MIT" ]
5
2017-07-11T11:10:55.000Z
2022-02-14T01:55:16.000Z
/* This file is part of The New Aspell * Copyright (C) 2001-2002 by Kevin Atkinson under the GNU LGPL * license version 2.0 or 2.1. You should have received a copy of the * LGPL license along with this library if you did not you can find it * at http://www.gnu.org/. */ ...
21.631579
74
0.647202
reydajp
944fd654a145a501e39a490b0cbe8956d80ae612
2,743
cpp
C++
src/dfm/nodestore/impl/DatabaseRotatingImp.cpp
dfm-official/dfm
97f133aa87b17c760b90f2358d6ba10bc7ad9d1f
[ "ISC" ]
null
null
null
src/dfm/nodestore/impl/DatabaseRotatingImp.cpp
dfm-official/dfm
97f133aa87b17c760b90f2358d6ba10bc7ad9d1f
[ "ISC" ]
null
null
null
src/dfm/nodestore/impl/DatabaseRotatingImp.cpp
dfm-official/dfm
97f133aa87b17c760b90f2358d6ba10bc7ad9d1f
[ "ISC" ]
null
null
null
#include <ripple/nodestore/impl/DatabaseRotatingImp.h> #include <ripple/app/ledger/Ledger.h> #include <ripple/protocol/HashPrefix.h> namespace ripple { namespace NodeStore { DatabaseRotatingImp::DatabaseRotatingImp( std::string const& name, Scheduler& scheduler, int readThreads, Stoppable& parent, ...
25.165138
71
0.689391
dfm-official
944fda07448a9014ed2901afeb52a5a82ad724cd
791
cpp
C++
Cpp/821 Shortest distance to a character.cpp
QuincyWork/AllCodes
59fe045608dda924cb993dde957da4daff769438
[ "MIT" ]
null
null
null
Cpp/821 Shortest distance to a character.cpp
QuincyWork/AllCodes
59fe045608dda924cb993dde957da4daff769438
[ "MIT" ]
null
null
null
Cpp/821 Shortest distance to a character.cpp
QuincyWork/AllCodes
59fe045608dda924cb993dde957da4daff769438
[ "MIT" ]
1
2019-04-01T10:30:03.000Z
2019-04-01T10:30:03.000Z
#include <gtest\gtest.h> #include <numeric> #include <queue> using namespace std; vector<int> shortestToChar(string S, char C) { queue<int> position; for (int i = 0; i < S.length(); ++i) { if (S[i] == C) { position.push(i); } } int next = position.front(); int begin = -next; position.pop(); vec...
15.82
54
0.581542
QuincyWork
94520d5737d1866659c89becc9096c88d1150460
1,479
hpp
C++
include/nativecpp_tr.hpp
ferhatgec/native-cpp
d4a56447a099994f28ce95eb1a23aa995b763d22
[ "MIT" ]
6
2020-10-04T22:07:55.000Z
2021-02-18T15:40:03.000Z
include/nativecpp_tr.hpp
ferhatgec/native-cpp
d4a56447a099994f28ce95eb1a23aa995b763d22
[ "MIT" ]
null
null
null
include/nativecpp_tr.hpp
ferhatgec/native-cpp
d4a56447a099994f28ce95eb1a23aa995b763d22
[ "MIT" ]
null
null
null
/* MIT License # # Copyright (c) 2020 Ferhat Geçdoğan All Rights Reserved. # Distributed under the terms of the MIT License. # # */ /* For Turkish language. */ #ifndef NATIVE_CPP_TR_HPP #define NATIVE_CPP_TR_HPP #include <iostream> #define tur_tanimla typedef /* Character */ tur_tanimla char karakter; /* Integer...
17.197674
57
0.762001
ferhatgec
94524131c04cd329a7467cb20148df5e865a809b
5,707
hpp
C++
Math/Geometry.hpp
GlynnJKW/Stratum
ddc55796f3207fe3df23c455c6304cb72aebcb02
[ "MIT" ]
2
2019-10-01T22:55:47.000Z
2019-10-04T20:25:29.000Z
Math/Geometry.hpp
Shmaug/vkCAVE
e502aedaf172047557f0454acb170a46b9d350f8
[ "MIT" ]
null
null
null
Math/Geometry.hpp
Shmaug/vkCAVE
e502aedaf172047557f0454acb170a46b9d350f8
[ "MIT" ]
null
null
null
#pragma once #include <Math/Math.hpp> struct Sphere { float3 mCenter; float mRadius; inline Sphere() : mCenter(float3()), mRadius(0) {} inline Sphere(const float3& center, float radius) : mCenter(center), mRadius(radius) {} }; struct AABB { float3 mMin; float3 mMax; AABB() : mMin(float3()), mMax(float3()) {...
29.569948
92
0.574382
GlynnJKW
94550e3ee33e359fa7324f280541daf2b1d3a1e7
2,967
hpp
C++
src/Backend.hpp
VetoProjects/ShaderSandbox
5ee34badb690cff611f105fbe9bc56e7ca219515
[ "MIT" ]
2
2015-01-26T17:17:14.000Z
2015-02-07T18:07:51.000Z
src/Backend.hpp
VetoProjects/ShaderSandbox
5ee34badb690cff611f105fbe9bc56e7ca219515
[ "MIT" ]
null
null
null
src/Backend.hpp
VetoProjects/ShaderSandbox
5ee34badb690cff611f105fbe9bc56e7ca219515
[ "MIT" ]
1
2019-12-19T15:06:45.000Z
2019-12-19T15:06:45.000Z
#ifndef BACKEND_HPP #define BACKEND_HPP #include <QDesktopServices> #include <QUrl> #include "SettingsBackend.hpp" #include "SettingsWindow.hpp" #include "LiveThread.hpp" #include "Instances/IInstance.hpp" using namespace Instances; /** * @brief The Backend class * * The heart and soul of the eidtors functional...
35.746988
122
0.738456
VetoProjects
9458b9e8951239ec7dae718a1eb5b1b4c3c2560c
551
cpp
C++
src/components/player.cpp
wareya/kotareci
14c87d1364d442456f93cebe73a288f85b79ba74
[ "Libpng" ]
null
null
null
src/components/player.cpp
wareya/kotareci
14c87d1364d442456f93cebe73a288f85b79ba74
[ "Libpng" ]
null
null
null
src/components/player.cpp
wareya/kotareci
14c87d1364d442456f93cebe73a288f85b79ba74
[ "Libpng" ]
null
null
null
#include "gamecomponents.hpp" #include "player.hpp" namespace Sys { Player::Player(entityid_t myEntity, const char * name) : Component(myEntity), character(nullptr), name(name), myself(false) { spawntimer = -1; Players.add(this); puts("MAKING A PLAYER"); } Player::~Player() ...
22.958333
127
0.593466
wareya
94618d4bccdcb327d8e6bea600a3a3d5b95fe3f8
902
cpp
C++
Engine/resourcemodelselect.cpp
vadkasevas/BAS
657f62794451c564c77d6f92b2afa9f5daf2f517
[ "MIT" ]
302
2016-05-20T12:55:23.000Z
2022-03-29T02:26:14.000Z
Engine/resourcemodelselect.cpp
chulakshana/BAS
955f5a41bd004bcdd7d19725df6ab229b911c09f
[ "MIT" ]
9
2016-07-21T09:04:50.000Z
2021-05-16T07:34:42.000Z
Engine/resourcemodelselect.cpp
chulakshana/BAS
955f5a41bd004bcdd7d19725df6ab229b911c09f
[ "MIT" ]
113
2016-05-18T07:48:37.000Z
2022-02-26T12:59:39.000Z
#include "resourcemodelselect.h" #include "every_cpp.h" namespace BrowserAutomationStudioFramework { ResourceModelSelect::ResourceModelSelect(QObject *parent) : ResourceModelAbstract(parent) { Type = Combo; } QStringList ResourceModelSelect::GetValues() { return Values; ...
20.976744
72
0.63969
vadkasevas
946276e2f18418d699aca9429a5b2ba553f9896d
7,477
cpp
C++
language-extensions/R/src/RParamContainer.cpp
rabryst/sql-server-language-extensions
a6a25890d1c3e449537eaaafab706c6c1e8b51cb
[ "MIT" ]
82
2019-05-24T00:36:57.000Z
2022-02-21T23:51:46.000Z
language-extensions/R/src/RParamContainer.cpp
rabryst/sql-server-language-extensions
a6a25890d1c3e449537eaaafab706c6c1e8b51cb
[ "MIT" ]
20
2019-07-05T06:12:28.000Z
2022-03-31T20:48:30.000Z
language-extensions/R/src/RParamContainer.cpp
rabryst/sql-server-language-extensions
a6a25890d1c3e449537eaaafab706c6c1e8b51cb
[ "MIT" ]
35
2019-05-24T01:44:07.000Z
2022-02-28T13:29:44.000Z
//************************************************************************************************** // RExtension : A language extension implementing the SQL Server // external language communication protocol for R. // Copyright (C) 2020 Microsoft Corporation. // // This file is part of RExtension. // // RExtension is...
35.947115
100
0.6956
rabryst
9462f806e416cf8bea8ec122a7810f8366adfcdf
5,006
cpp
C++
test/rules/constrictor_ruleset_test.cpp
TheApX/battlesnake-engine-cpp
05053f06ecc631f037417bd0d897b28f48dfe07d
[ "MIT" ]
3
2021-07-05T22:42:26.000Z
2021-07-29T12:14:43.000Z
test/rules/constrictor_ruleset_test.cpp
TheApX/battlesnake-engine-cpp
05053f06ecc631f037417bd0d897b28f48dfe07d
[ "MIT" ]
2
2021-07-12T00:11:57.000Z
2021-09-04T19:11:38.000Z
test/rules/constrictor_ruleset_test.cpp
TheApX/battlesnake-engine-cpp
05053f06ecc631f037417bd0d897b28f48dfe07d
[ "MIT" ]
null
null
null
#include "battlesnake/rules/constrictor_ruleset.h" #include "gmock/gmock.h" #include "gtest/gtest.h" namespace battlesnake { namespace rules { namespace { using ::testing::ElementsAre; using ::testing::ElementsAreArray; using ::testing::Eq; using ::testing::Field; using ::testing::IsFalse; using ::testing::IsTrue; ...
28.936416
79
0.571314
TheApX
9463985d3a5965cf52c7570db3c4457fba14df66
379
cpp
C++
libmuscle/cpp/src/libmuscle/logger.cpp
DongweiYe/muscle3
0c2fcf5f62995b8639fc84ce1b983c8a8e6248d0
[ "Apache-2.0" ]
11
2018-03-12T10:43:46.000Z
2020-06-01T10:58:56.000Z
libmuscle/cpp/src/libmuscle/logger.cpp
DongweiYe/muscle3
0c2fcf5f62995b8639fc84ce1b983c8a8e6248d0
[ "Apache-2.0" ]
85
2018-03-03T15:10:56.000Z
2022-03-18T14:05:14.000Z
libmuscle/cpp/src/libmuscle/logger.cpp
DongweiYe/muscle3
0c2fcf5f62995b8639fc84ce1b983c8a8e6248d0
[ "Apache-2.0" ]
6
2018-03-12T10:47:11.000Z
2022-02-03T13:44:07.000Z
#include <libmuscle/logger.hpp> namespace libmuscle { namespace impl { Logger::Logger(std::string const & instance_id, MMPClient & manager) : instance_id_(instance_id) , manager_(manager) , remote_level_(LogLevel::WARNING) {} void Logger::set_remote_level(LogLevel level) { remote_level_ = level; } ...
18.95
68
0.71504
DongweiYe
9465839ceef5f41267f638965207206ecc2468da
66
cpp
C++
tutorials/learncpp.com#1.0#1/composition/container_classes/source1.cpp
officialrafsan/CppDroid
5fb2cc7750fea53b1ea6ff47b5094da6e95e9224
[ "MIT" ]
null
null
null
tutorials/learncpp.com#1.0#1/composition/container_classes/source1.cpp
officialrafsan/CppDroid
5fb2cc7750fea53b1ea6ff47b5094da6e95e9224
[ "MIT" ]
null
null
null
tutorials/learncpp.com#1.0#1/composition/container_classes/source1.cpp
officialrafsan/CppDroid
5fb2cc7750fea53b1ea6ff47b5094da6e95e9224
[ "MIT" ]
null
null
null
#ifndef INTARRAY_H #define INTARRAY_H class IntArray { }; #endif
8.25
18
0.757576
officialrafsan
946651724ceea5e08f0de6d5f6bcceaecdcec9cf
506
cpp
C++
2160/2160.cpp
isac322/BOJ
35959dd1a63d75ebca9ed606051f7a649d5c0c7b
[ "MIT" ]
14
2017-05-02T02:00:42.000Z
2021-11-16T07:25:29.000Z
2160/2160.cpp
isac322/BOJ
35959dd1a63d75ebca9ed606051f7a649d5c0c7b
[ "MIT" ]
1
2017-12-25T14:18:14.000Z
2018-02-07T06:49:44.000Z
2160/2160.cpp11.cpp
isac322/BOJ
35959dd1a63d75ebca9ed606051f7a649d5c0c7b
[ "MIT" ]
9
2016-03-03T22:06:52.000Z
2020-04-30T22:06:24.000Z
#include <cstdio> char p[50][5][8]; inline int c(int a, int b) { int cnt = 0; for (int i = 0; i < 5; i++) for (int j = 0; j < 7; j++) if (p[a][i][j] != p[b][i][j]) cnt++; return cnt; } int main() { int n, m = 35, a, b; scanf("%d\n", &n); for (int i = 0; i < n; i++) for (int j = 0; j < 5; j++) gets(p[i][j]); f...
19.461538
93
0.397233
isac322
946900e0b8cd9fcacb7d914031f096569f929d5f
3,977
cpp
C++
NinjaVsZombie/POC - C++/source/LevelManager.cpp
Cabrra/SPG-Project
7602de287b750c882f9fe9e2bc57e0492d36a76f
[ "MIT" ]
null
null
null
NinjaVsZombie/POC - C++/source/LevelManager.cpp
Cabrra/SPG-Project
7602de287b750c882f9fe9e2bc57e0492d36a76f
[ "MIT" ]
null
null
null
NinjaVsZombie/POC - C++/source/LevelManager.cpp
Cabrra/SPG-Project
7602de287b750c882f9fe9e2bc57e0492d36a76f
[ "MIT" ]
null
null
null
#include "LevelManager.h" #include "../TinyXML/tinyxml.h" #include <sstream> #include <cstdlib> #include "Tile.h" LevelManager::LevelManager() { } LevelManager::~LevelManager() { delete m_pLevel; m_pLevel = nullptr; } bool LevelManager::LoadFile(const char* file) { TiXmlDocument doc; if (doc.LoadFile(file) == ...
23.814371
98
0.687201
Cabrra
946eb5b09957fa538cd6af6ac65a4470202796d3
1,869
hpp
C++
src/include/RAII.hpp
whyamiroot/vulkalc
7ad50235d043aed86284c84ef5f2eea8dba36677
[ "MIT" ]
1
2018-01-19T00:29:49.000Z
2018-01-19T00:29:49.000Z
src/include/RAII.hpp
whyamiroot/vulkalc
7ad50235d043aed86284c84ef5f2eea8dba36677
[ "MIT" ]
4
2020-12-18T10:06:16.000Z
2020-12-18T10:09:25.000Z
src/include/RAII.hpp
whyamiroot/vulkalc
7ad50235d043aed86284c84ef5f2eea8dba36677
[ "MIT" ]
null
null
null
/* * The MIT License (MIT) * * Copyright (c) 2017 Lev Sizov * * 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, modi...
28.753846
80
0.702515
whyamiroot
946fd1b61af12a89a1c68896aea9425c55592921
3,109
cpp
C++
src/trie.cpp
AkshayMohan/contact-management
07f9f129db66735d8dc3a2fc81f3d24442a1509e
[ "MIT" ]
null
null
null
src/trie.cpp
AkshayMohan/contact-management
07f9f129db66735d8dc3a2fc81f3d24442a1509e
[ "MIT" ]
null
null
null
src/trie.cpp
AkshayMohan/contact-management
07f9f129db66735d8dc3a2fc81f3d24442a1509e
[ "MIT" ]
null
null
null
/*____________________________________________________________________________________ Contact Management System trie.cpp - Trie data structure class definition file. - Akshay Mohan MIT License Copyright (c) 2019 Akshay Mohan Permission is hereby granted, free of charge, to any person obtainin...
24.480315
100
0.675137
AkshayMohan
20df8c3af0de78fe0f86e44b93f8062c1ed4baa7
2,253
cc
C++
felicia/python/thread/main_thread_py.cc
chokobole/felicia
3b5eeb5f93c59c5364d3932bc407e054977aa1ec
[ "BSD-3-Clause" ]
17
2018-10-28T13:58:01.000Z
2022-03-22T07:54:12.000Z
felicia/python/thread/main_thread_py.cc
chokobole/felicia
3b5eeb5f93c59c5364d3932bc407e054977aa1ec
[ "BSD-3-Clause" ]
2
2018-11-09T04:15:58.000Z
2018-11-09T06:42:57.000Z
felicia/python/thread/main_thread_py.cc
chokobole/felicia
3b5eeb5f93c59c5364d3932bc407e054977aa1ec
[ "BSD-3-Clause" ]
5
2019-10-31T06:50:05.000Z
2022-03-22T07:54:30.000Z
// Copyright (c) 2019 The Felicia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #if defined(FEL_PY_BINDING) #include "felicia/python/thread/main_thread_py.h" #include "felicia/core/thread/main_thread.h" #include "felicia/python/t...
30.04
79
0.712383
chokobole
20e1ccc95c27380a715dcc4d587d9309fa62ee06
3,489
cpp
C++
variational_fluids/VariationalViscosity3D/levelset_util.cpp
OrionQuest/Nova_Examples
482521902bc3afa7d0caefeb9ce9595456384961
[ "Apache-2.0" ]
1
2022-02-01T18:04:45.000Z
2022-02-01T18:04:45.000Z
variational_fluids/VariationalViscosity3D/levelset_util.cpp
OrionQuest/Nova_Examples
482521902bc3afa7d0caefeb9ce9595456384961
[ "Apache-2.0" ]
null
null
null
variational_fluids/VariationalViscosity3D/levelset_util.cpp
OrionQuest/Nova_Examples
482521902bc3afa7d0caefeb9ce9595456384961
[ "Apache-2.0" ]
1
2018-12-30T00:49:36.000Z
2018-12-30T00:49:36.000Z
#include "levelset_util.h" //Given two signed distance values (line endpoints), determine what fraction of a connecting segment is "inside" float fraction_inside(float phi_left, float phi_right) { if(phi_left < 0 && phi_right < 0) return 1; if (phi_left < 0 && phi_right >= 0) return phi_left / (phi_l...
33.548077
112
0.57495
OrionQuest
20e29f2b5cae32bdfa088f94e170950d54f0719d
590
cpp
C++
Anton_and_Letters.cpp
amit9amarwanshi/The_Quiet_Revolution
7713787ef27c0c144e4c2d852d826ee1c4176a95
[ "MIT" ]
null
null
null
Anton_and_Letters.cpp
amit9amarwanshi/The_Quiet_Revolution
7713787ef27c0c144e4c2d852d826ee1c4176a95
[ "MIT" ]
null
null
null
Anton_and_Letters.cpp
amit9amarwanshi/The_Quiet_Revolution
7713787ef27c0c144e4c2d852d826ee1c4176a95
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define ll long long int int main(){ ios::sync_with_stdio(0); cin.tie(0); string s; getline(cin,s); set<char>k; for(int i=0;i<s.length();i++){ if(s[i]=='a'||s[i]=='b'||s[i]=='c'||s[i]=='d'||s[i]=='e'||s[i]=='f'||s[i]=='g'||s[i]=='h'||s[i]=='i...
32.777778
297
0.394915
amit9amarwanshi
20e39a1800584a041a68aba2a289e213fafd4d70
88,719
cpp
C++
Hacks/Esp.cpp
DanielBence/Atomware
e413b57b45f395c1f45a9230db4d7e94a3d72681
[ "MIT" ]
2
2020-06-18T11:07:55.000Z
2020-07-14T15:16:24.000Z
Hacks/Esp.cpp
DanielAtom/Atomware
e413b57b45f395c1f45a9230db4d7e94a3d72681
[ "MIT" ]
null
null
null
Hacks/Esp.cpp
DanielAtom/Atomware
e413b57b45f395c1f45a9230db4d7e94a3d72681
[ "MIT" ]
1
2020-11-04T07:15:30.000Z
2020-11-04T07:15:30.000Z
#define NOMINMAX #include <sstream> #include "Esp.h" #include "../Config.h" #include "../Interfaces.h" #include "../Memory.h" #include "../SDK/ConVar.h" #include "../SDK/Entity.h" #include "../SDK/GlobalVars.h" #include "../SDK/Localize.h" #include "../SDK/Surface.h" #include "../SDK/Vector.h" #include "../SDK/Weapo...
134.831307
11,501
0.743088
DanielBence
20e772fcee4af78a9167eceea2628a7a87e54465
443
cpp
C++
10 Days of Statistics/Day-6/Day-6-The Central Limit Theorem III.cpp
pavstar619/HackerRank
697ee46b6e621ad884a064047461d7707b1413cd
[ "MIT" ]
61
2017-04-27T13:45:12.000Z
2022-01-27T11:40:15.000Z
10 Days of Statistics/Day-6/Day-6-The Central Limit Theorem III.cpp
fahad0193/HackerRank
eb6c95e16688c02921c1df6b6ea613667a251457
[ "MIT" ]
1
2017-06-24T14:16:06.000Z
2017-06-24T14:16:28.000Z
10 Days of Statistics/Day-6/Day-6-The Central Limit Theorem III.cpp
fahad0193/HackerRank
eb6c95e16688c02921c1df6b6ea613667a251457
[ "MIT" ]
78
2017-07-05T11:48:20.000Z
2022-02-08T08:04:22.000Z
#include <bits/stdc++.h> using namespace std; double marginError(double z, int sigma, int x) { return z * sigma / sqrt(x); } int main(void) { int x, meu, sigma; cin >> x; cin >> meu; cin >> sigma; double p, z; cin >> p; cin >> z; cout << fixed << setprecision(2) << meu - marginEr...
17.72
79
0.55079
pavstar619
20e78e1cfa121675c5113ab8e3290f244b540070
661
cpp
C++
DDrawCompat/v0.3.1/Win32/MsgHooks.cpp
elishacloud/dxwrapper
6be80570acfcfd2b6f8e0aec1ed250dd96f5be5c
[ "Zlib" ]
634
2017-02-09T01:32:58.000Z
2022-03-26T18:14:28.000Z
DDrawCompat/v0.3.1/Win32/MsgHooks.cpp
elishacloud/dxwrapper
6be80570acfcfd2b6f8e0aec1ed250dd96f5be5c
[ "Zlib" ]
128
2017-03-02T13:30:12.000Z
2022-03-11T07:08:24.000Z
DDrawCompat/v0.3.1/Win32/MsgHooks.cpp
elishacloud/dxwrapper
6be80570acfcfd2b6f8e0aec1ed250dd96f5be5c
[ "Zlib" ]
58
2017-05-16T14:42:35.000Z
2022-02-21T20:32:02.000Z
#define WIN32_LEAN_AND_MEAN #define CINTERFACE #include <Windows.h> #include <DDrawCompat/v0.3.1/Common/Hook.h> #include <DDrawCompat/v0.3.1/Win32/MsgHooks.h> namespace { HHOOK WINAPI setWindowsHookExA(int idHook, HOOKPROC lpfn, HINSTANCE hMod, DWORD dwThreadId) { if (WH_KEYBOARD_LL == idHook && hMod && GetModul...
20.65625
92
0.726172
elishacloud
20e8467d9b10b31a3b54dec79147a02445d2219b
2,092
cpp
C++
src/test/TCAtl/RangeValueSlider.cpp
FreeAllegiance/AllegianceDX7
3955756dffea8e7e31d3a55fcf6184232b792195
[ "MIT" ]
76
2015-08-18T19:18:40.000Z
2022-01-08T12:47:22.000Z
src/test/TCAtl/RangeValueSlider.cpp
StudentAlleg/Allegiance
e91660a471eb4e57e9cea4c743ad43a82f8c7b18
[ "MIT" ]
37
2015-08-14T22:44:12.000Z
2020-01-21T01:03:06.000Z
src/test/TCAtl/RangeValueSlider.cpp
FreeAllegiance/Allegiance-AZ
1d8678ddff9e2efc79ed449de6d47544989bc091
[ "MIT" ]
42
2015-08-13T23:31:35.000Z
2022-03-17T02:20:26.000Z
///////////////////////////////////////////////////////////////////////////// // RangeValueSlider.cpp | Implementation of the TCRangeValueSlider class. #include "RangeValueSlider.h" ///////////////////////////////////////////////////////////////////////////// // TCRangeValueSlider /////////////////////////////////...
24.325581
77
0.5674
FreeAllegiance
20e8ef67bc739c95d3bc6e439d40a5872348b812
10,580
cpp
C++
src/src/vk/vulkan_memory_manager.cpp
N4G170/vulkan
aea90d2e7d4d59dd9743f36d159239f16ffdca61
[ "MIT" ]
null
null
null
src/src/vk/vulkan_memory_manager.cpp
N4G170/vulkan
aea90d2e7d4d59dd9743f36d159239f16ffdca61
[ "MIT" ]
null
null
null
src/src/vk/vulkan_memory_manager.cpp
N4G170/vulkan
aea90d2e7d4d59dd9743f36d159239f16ffdca61
[ "MIT" ]
null
null
null
#include "vulkan_memory_manager.hpp" #include <utility> #include "vulkan_utils.hpp" #include "vulkan_context.hpp" #include <iostream> namespace vk { //<f> Constructors & operator= VulkanMemoryManager::VulkanMemoryManager(VulkanContext* vulkan_context): m_vulkan_context{vulkan_context} { } VulkanMemoryManager::~Vulka...
36.608997
208
0.727977
N4G170
20ea129aaba9eba777a5eb1689e94b4b94ffc96b
141
cpp
C++
modules/test/unit/examples/test_lesser.cpp
pbrunet/nt2
2aeca0f6a315725b335efd5d9dc95d72e10a7fb7
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/test/unit/examples/test_lesser.cpp
pbrunet/nt2
2aeca0f6a315725b335efd5d9dc95d72e10a7fb7
[ "BSL-1.0" ]
null
null
null
modules/test/unit/examples/test_lesser.cpp
pbrunet/nt2
2aeca0f6a315725b335efd5d9dc95d72e10a7fb7
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
#include <nt2/sdk/unit/module.hpp> #include <nt2/sdk/unit/tests/relation.hpp> NT2_TEST_CASE(nt2_test_lesser) { NT2_TEST_LESSER(0.f, 3); }
17.625
42
0.744681
pbrunet
20ebf22705922377c623c9c12bf9a36de894fcad
1,286
cpp
C++
Algorithms/1935.MaxNumberOfWordsYouCanType/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
Algorithms/1935.MaxNumberOfWordsYouCanType/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
Algorithms/1935.MaxNumberOfWordsYouCanType/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
#include <array> #include <string> #include "gtest/gtest.h" namespace { class Solution { public: [[nodiscard]] int canBeTypedWords(std::string const &text, std::string const &brokenLetters) const { constexpr size_t alphabetSize = 26; constexpr size_t alphabetStart = 'a'; std::array<bo...
25.72
102
0.604977
stdstring
20ed76c1f86d76d05998fd0e7408fb8f70d88752
452
cc
C++
Code/0089-gray-code.cc
SMartQi/Leetcode
9e35c65a48ba1ecd5436bbe07dd65f993588766b
[ "MIT" ]
2
2019-12-06T14:08:57.000Z
2020-01-15T15:25:32.000Z
Code/0089-gray-code.cc
SMartQi/Leetcode
9e35c65a48ba1ecd5436bbe07dd65f993588766b
[ "MIT" ]
1
2020-01-15T16:29:16.000Z
2020-01-26T12:40:13.000Z
Code/0089-gray-code.cc
SMartQi/Leetcode
9e35c65a48ba1ecd5436bbe07dd65f993588766b
[ "MIT" ]
null
null
null
class Solution { public: vector<int> grayCode(int n) { vector<int> result; result.push_back(0); if (n == 0) return result; for (int i = 0; i < n; i++) { // the left most bit int mask = 1 << i; int s = result.size(); while (s) { ...
25.111111
45
0.415929
SMartQi
20ed889bb2e2b98eb5841859625f759b32bd44c7
2,616
cpp
C++
SDL_Sprite_Animation/SDL_Sprite_Animation/Main.cpp
Joker2770/SDL2-Tutorial
05bc0b3105275eab9c7f12b2fada83a89cb14a16
[ "MIT" ]
null
null
null
SDL_Sprite_Animation/SDL_Sprite_Animation/Main.cpp
Joker2770/SDL2-Tutorial
05bc0b3105275eab9c7f12b2fada83a89cb14a16
[ "MIT" ]
null
null
null
SDL_Sprite_Animation/SDL_Sprite_Animation/Main.cpp
Joker2770/SDL2-Tutorial
05bc0b3105275eab9c7f12b2fada83a89cb14a16
[ "MIT" ]
null
null
null
#ifdef _WIN32 //Windows extern "C" { #include "SDL.h" #include "SDL_image.h" }; #else //Linux... #ifdef __cplusplus extern "C"{ #endif #include <SDL.h> #include <SDL_image.h> #ifdef __cplusplus }; #endif #endif #include <iostream> SDL_Texture *LoadTexture(std::string filePath, SDL_Renderer *r...
22.551724
118
0.679664
Joker2770
20f00e5d35bca8d6aa86ed141a9bd5589f102bda
4,963
cpp
C++
ffos/ota/src/ota/daemon/CheckDaemon.cpp
jsli/code-snippet
fd99819d58c4c3621790f551a82ac8714faebe4b
[ "MIT" ]
null
null
null
ffos/ota/src/ota/daemon/CheckDaemon.cpp
jsli/code-snippet
fd99819d58c4c3621790f551a82ac8714faebe4b
[ "MIT" ]
null
null
null
ffos/ota/src/ota/daemon/CheckDaemon.cpp
jsli/code-snippet
fd99819d58c4c3621790f551a82ac8714faebe4b
[ "MIT" ]
null
null
null
/* * CheckDaemon.cpp * * Created on: 2014-8-22 * Author: manson */ #include <unistd.h> #include <sys/types.h> #include "ota/daemon/CheckDaemon.h" #include "ota/config/OtaConfig.h" #include "utils/Logger.h" #include "utils/FsUtils.h" #include "net/HttpClient.h" #include "json/json.h" namespace ota { class...
23.975845
79
0.666734
jsli
20f5e3e2e06eae25f92fb1cb9f9470264ecb35a6
1,170
cpp
C++
Strings/remove_character.cpp
jahnvisrivastava100/CompetitiveProgrammingQuestionBank
0d72884ea5e0eb674a503b81ab65e444f5175cf4
[ "MIT" ]
931
2020-04-18T11:57:30.000Z
2022-03-31T15:15:39.000Z
Strings/remove_character.cpp
jahnvisrivastava100/CompetitiveProgrammingQuestionBank
0d72884ea5e0eb674a503b81ab65e444f5175cf4
[ "MIT" ]
661
2020-12-13T04:31:48.000Z
2022-03-15T19:11:54.000Z
Strings/remove_character.cpp
Mayuri-cell/CompetitiveProgrammingQuestionBank
eca2257d7da5346f45bdd7a351cc95bde6ed5c7d
[ "MIT" ]
351
2020-08-10T06:49:21.000Z
2022-03-25T04:02:12.000Z
/* Given two strings string1 and string2, remove those characters from first string(string1) which are present in second string(string2). Both the strings are different and contain only lowercase characters. NOTE: Size of first string is always greater than the size of second string( |string1| > |string2|). */ // ...
22.5
118
0.545299
jahnvisrivastava100
20f74baa01709f573a7d499f1c2b0c29e75497f7
5,588
cpp
C++
Chapter/09_Debugging/kmain.cpp
arkiny/OSwithMSVC
90cd62ce9bbe8301942e024404f32b04874e7906
[ "MIT" ]
1
2021-05-09T01:24:05.000Z
2021-05-09T01:24:05.000Z
Chapter/09_Debugging/kmain.cpp
arkiny/OSwithMSVC
90cd62ce9bbe8301942e024404f32b04874e7906
[ "MIT" ]
null
null
null
Chapter/09_Debugging/kmain.cpp
arkiny/OSwithMSVC
90cd62ce9bbe8301942e024404f32b04874e7906
[ "MIT" ]
null
null
null
#include "kmain.h" #include "SkyTest.h" #include "PhysicalMemoryManager.h" #include "VirtualMemoryManager.h" #include "HeapManager.h" #include "HDDAdaptor.h" #include "RamDiskAdaptor.h" #include "FloppyDiskAdaptor.h" #include "StorageManager.h" #include "fileio.h" #include "SysAPI.h" #include "FPU.h" _declspec(naked...
23.677966
82
0.717788
arkiny
20f7eacf50728a62c69a48cb1ff0c64118e5585b
822
cpp
C++
problemsets/UVA/10819.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/UVA/10819.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/UVA/10819.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
/** * * Author: Juarez Paulino(coderemite) * Email: juarez.paulino@gmail.com * */ #include <cstdio> #include <algorithm> using namespace std; int DP[10202][101]; int ID[10202][101]; int id = 1; int M, N; int P[101], V[101]; int go(int m, int n) { if (n == N) { if (m >= 200 || M+200-m > 2000) ...
17.125
43
0.43309
juarezpaulino
20f898051cd5d22ba0248c2dd1e681f6f434b29e
1,421
cpp
C++
Codes/N/NDIVPHI.cpp
Tanuj9043/spoj-submissions
71ee6aa00eb9fd2572d83001faf321909beac9ca
[ "MIT" ]
null
null
null
Codes/N/NDIVPHI.cpp
Tanuj9043/spoj-submissions
71ee6aa00eb9fd2572d83001faf321909beac9ca
[ "MIT" ]
null
null
null
Codes/N/NDIVPHI.cpp
Tanuj9043/spoj-submissions
71ee6aa00eb9fd2572d83001faf321909beac9ca
[ "MIT" ]
null
null
null
#include <iostream> #include <stdio.h> #include <cstdlib> #include <cstring> #include <algorithm> using namespace std; int flag[61504>>6], primes[6186], total; char N[32000], R[32000], S[32000]; int L; #define ifc(x) (flag[x>>6]&(1<<((x>>1)&31))) #define isc(x) (flag[x>>6]|=(1<<((x>>1)&31))) void sieve() { int i, ...
19.736111
61
0.503167
Tanuj9043
20fbc0d91e7c0a548a83816a1f209b4ea6619a0f
752
cpp
C++
programs_AtoZ/Check Prime Number/Check Prime Number using Class.cpp
EarthMan123/unitech_cpp_with_oops-course
941fec057bdcb8a5289994780ae553e6d4fddbbe
[ "Unlicense" ]
2
2021-06-12T02:55:28.000Z
2021-07-04T22:25:38.000Z
programs_AtoZ/Check Prime Number/Check Prime Number using Class.cpp
EarthMan123/unitech_cpp_with_oops-course
941fec057bdcb8a5289994780ae553e6d4fddbbe
[ "Unlicense" ]
null
null
null
programs_AtoZ/Check Prime Number/Check Prime Number using Class.cpp
EarthMan123/unitech_cpp_with_oops-course
941fec057bdcb8a5289994780ae553e6d4fddbbe
[ "Unlicense" ]
1
2021-07-04T22:28:38.000Z
2021-07-04T22:28:38.000Z
// Check Prime or Not using Class #include<iostream> using namespace std; class CodesCracker { private: int num, i, chk; public: int getData(); int checkPrimeNumber(int); }; int CodesCracker::getData() { cout<<"Enter a Number: "; cin>>num; return num; } int CodesCracker::chec...
17.090909
43
0.530585
EarthMan123
20fc08c093597e22303de20bf328bb218667f8bb
870
hpp
C++
library/ATF/_starting_vote_inform_zoclInfo.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/_starting_vote_inform_zoclInfo.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/_starting_vote_inform_zoclInfo.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> #include <_starting_vote_inform_zocl.hpp> START_ATF_NAMESPACE namespace Info { using _starting_vote_inform_zoclctor__starting_vote_inform_zocl2...
48.333333
196
0.803448
lemkova
20fcdf40d494d629f08c627f39b3682d3ce29323
4,054
cpp
C++
src/RCubeViewer/Systems/PickSystem.cpp
pradeep-pyro/RCube
df0e13eadbd70aadd721629bc77f48c31f9c0f4d
[ "BSD-3-Clause" ]
4
2019-03-13T00:43:16.000Z
2021-12-02T00:27:52.000Z
src/RCubeViewer/Systems/PickSystem.cpp
pradeep-pyro/RCube
df0e13eadbd70aadd721629bc77f48c31f9c0f4d
[ "BSD-3-Clause" ]
14
2019-11-12T17:32:29.000Z
2021-03-18T07:22:24.000Z
src/RCubeViewer/Systems/PickSystem.cpp
pradeep-pyro/RCube
df0e13eadbd70aadd721629bc77f48c31f9c0f4d
[ "BSD-3-Clause" ]
1
2019-11-10T22:20:27.000Z
2019-11-10T22:20:27.000Z
#include "RCubeViewer/Systems/PickSystem.h" #include "RCube/Components/Camera.h" #include "RCube/Components/Drawable.h" #include "RCube/Components/Transform.h" #include "RCube/Systems/ForwardRenderSystem.h" #include "RCubeViewer/Components/CameraController.h" #include "RCubeViewer/Components/Pickable.h" #include "RCube...
31.671875
100
0.568328
pradeep-pyro
20fdeada0b93f5682ce471d92f56cbbefed44f3e
5,954
cpp
C++
src/coordinate_system.cpp
tomalexander/topaz
a0776a3b14629e5e1af3a4ed89fded3fe06cfea3
[ "Zlib" ]
1
2015-07-23T00:26:23.000Z
2015-07-23T00:26:23.000Z
src/coordinate_system.cpp
tomalexander/topaz
a0776a3b14629e5e1af3a4ed89fded3fe06cfea3
[ "Zlib" ]
null
null
null
src/coordinate_system.cpp
tomalexander/topaz
a0776a3b14629e5e1af3a4ed89fded3fe06cfea3
[ "Zlib" ]
null
null
null
/* * Copyright (c) 2012 Tom Alexander, Tate Larsen * * 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, * ...
31.336842
80
0.433322
tomalexander
20feca9f22ac9481e2e2bb9a016dff751212252d
5,165
cpp
C++
RtLibrary/src/Xuzumi/Platform.Windows/WindowsConsole.cpp
lymuc-studio/Xuzumi
6377b07ba991d3c4f7cfa92c25fd35cc8a136f81
[ "MIT" ]
null
null
null
RtLibrary/src/Xuzumi/Platform.Windows/WindowsConsole.cpp
lymuc-studio/Xuzumi
6377b07ba991d3c4f7cfa92c25fd35cc8a136f81
[ "MIT" ]
null
null
null
RtLibrary/src/Xuzumi/Platform.Windows/WindowsConsole.cpp
lymuc-studio/Xuzumi
6377b07ba991d3c4f7cfa92c25fd35cc8a136f81
[ "MIT" ]
null
null
null
#include "WindowsConsole.h" #include "Xuzumi/Core/Debug/InternalAssertion.h" #include "Xuzumi/Platform.Windows/Debug/HrDebug.h" #include <cstdio> #include <Windows.h> #include <Shobjidl.h> namespace Xuzumi { namespace { UINT convertForegroundConsoleColor_(ConsoleColor color) { UINT colorFlags = 0u; swit...
22.167382
77
0.700097
lymuc-studio
20ff4e05e7f7bdfad3644345adf591f1adb55a60
2,603
cpp
C++
torrijas/source/trjsequenceaction.cpp
GValiente/torrijas
209ca7e770860e5aea3a2322fdefee6f34b0e551
[ "Zlib" ]
4
2015-09-13T09:04:29.000Z
2016-08-21T22:12:59.000Z
torrijas/source/trjsequenceaction.cpp
GValiente/torrijas
209ca7e770860e5aea3a2322fdefee6f34b0e551
[ "Zlib" ]
null
null
null
torrijas/source/trjsequenceaction.cpp
GValiente/torrijas
209ca7e770860e5aea3a2322fdefee6f34b0e551
[ "Zlib" ]
null
null
null
// // Copyright (c) 2015 Gustavo Valiente gustavovalient@gmail.com // // 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 p...
25.519608
83
0.633116
GValiente
1f020fbbe19230c161940500849d1f2777756ac2
881
hpp
C++
include/operon/core/operator.hpp
ivor-dd/operon
57775816304b5df7a2f64e1505693a1fdf17a2fe
[ "MIT" ]
3
2019-10-29T09:36:18.000Z
2020-08-17T08:31:37.000Z
include/operon/core/operator.hpp
ivor-dd/operon
57775816304b5df7a2f64e1505693a1fdf17a2fe
[ "MIT" ]
3
2020-04-24T20:02:56.000Z
2020-10-14T10:07:18.000Z
include/operon/core/operator.hpp
ivor-dd/operon
57775816304b5df7a2f64e1505693a1fdf17a2fe
[ "MIT" ]
3
2020-01-29T05:36:03.000Z
2020-05-31T06:48:52.000Z
// SPDX-License-Identifier: MIT // SPDX-FileCopyrightText: Copyright 2019-2022 Heal Research #ifndef OPERON_OPERATOR_HPP #define OPERON_OPERATOR_HPP #include "types.hpp" namespace Operon { template <typename Ret, typename... Args> struct OperatorBase { using ReturnType = Ret; using ArgumentType = std::tuple<...
31.464286
92
0.724177
ivor-dd
1f068f97526b1f11a9c7796cab8c6735efb4f176
2,095
cpp
C++
src/types/cube_framebuffer.cpp
chokomancarr/chokoengine2
2825f2b95d24689f4731b096c8be39cc9a0f759a
[ "Apache-2.0" ]
null
null
null
src/types/cube_framebuffer.cpp
chokomancarr/chokoengine2
2825f2b95d24689f4731b096c8be39cc9a0f759a
[ "Apache-2.0" ]
null
null
null
src/types/cube_framebuffer.cpp
chokomancarr/chokoengine2
2825f2b95d24689f4731b096c8be39cc9a0f759a
[ "Apache-2.0" ]
null
null
null
#include "chokoengine.hpp" CE_BEGIN_NAMESPACE _FrameBufferCube::_FrameBufferCube(uint r, std::vector<GLenum> types, int div) : _maps(types.size(), nullptr), _depth(nullptr), _lastUpdated(0) { std::vector<GLenum> bufs(types.size()); for (size_t a = 0; a < types.size(); a++) { _maps[a] = CubeMap::New(r, types[a...
32.734375
119
0.713604
chokomancarr
1f0837174b1e9d05cd8e27dfb723a47c5ac5b268
2,501
cpp
C++
lib/commands/src/CommandCombat.cpp
ica778/adventure2019
51167c67967877eb0be2937b3e38780e6365e1b6
[ "MIT" ]
null
null
null
lib/commands/src/CommandCombat.cpp
ica778/adventure2019
51167c67967877eb0be2937b3e38780e6365e1b6
[ "MIT" ]
null
null
null
lib/commands/src/CommandCombat.cpp
ica778/adventure2019
51167c67967877eb0be2937b3e38780e6365e1b6
[ "MIT" ]
null
null
null
#include "CommandCombat.h" #include <boost/algorithm/string.hpp> void CommandCombat::executeInHeartbeat(const std::string& username, const std::vector<std::string>& fullCommand) { auto& combatManager = characterManager.getCombatManager(); auto& currentCombat = combatManager.getCombatWithPlayer(username); i...
44.660714
118
0.661335
ica778
1f0d6a327fbd20e3f2c972e17737883cc64eda60
8,904
cpp
C++
mpw/mpw_ioctl.cpp
tsupplis/mpw
bab20662aacc37ddadef3f2d075b167e263ea18f
[ "Xnet", "X11" ]
191
2015-01-04T17:17:00.000Z
2022-03-30T22:59:31.000Z
mpw/mpw_ioctl.cpp
tsupplis/mpw
bab20662aacc37ddadef3f2d075b167e263ea18f
[ "Xnet", "X11" ]
28
2015-01-06T01:16:25.000Z
2020-11-26T14:46:14.000Z
mpw/mpw_ioctl.cpp
tsupplis/mpw
bab20662aacc37ddadef3f2d075b167e263ea18f
[ "Xnet", "X11" ]
18
2015-01-26T21:33:31.000Z
2021-12-21T05:33:24.000Z
/* * Copyright (c) 2013, Kelvin W Sherlock * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of c...
19.919463
82
0.636119
tsupplis
1f0eb13712f90a906ed0852d5522fd74d011c871
5,348
cpp
C++
src/PE/TLS.cpp
rafael-santiago/LIEF
f230094d5877dd63d40915dc944c53c2a4be5ed9
[ "Apache-2.0" ]
1
2022-02-26T00:28:52.000Z
2022-02-26T00:28:52.000Z
src/PE/TLS.cpp
rafael-santiago/LIEF
f230094d5877dd63d40915dc944c53c2a4be5ed9
[ "Apache-2.0" ]
null
null
null
src/PE/TLS.cpp
rafael-santiago/LIEF
f230094d5877dd63d40915dc944c53c2a4be5ed9
[ "Apache-2.0" ]
null
null
null
/* Copyright 2017 - 2022 R. Thomas * Copyright 2017 - 2022 Quarkslab * * 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...
26.344828
153
0.685864
rafael-santiago
1f118130f9e6d444dfb3b836d683cf02d55f184a
5,212
cpp
C++
CDump/Minecraft/src/Engine/Draw3D.cpp
YushchenkoAndrew/template
35c6bcd2121647015308f0cc110da71aa148d5fb
[ "MIT" ]
5
2020-08-25T11:35:04.000Z
2021-12-25T18:57:58.000Z
CDump/Minecraft/src/Engine/Draw3D.cpp
YushchenkoAndrew/template
35c6bcd2121647015308f0cc110da71aa148d5fb
[ "MIT" ]
null
null
null
CDump/Minecraft/src/Engine/Draw3D.cpp
YushchenkoAndrew/template
35c6bcd2121647015308f0cc110da71aa148d5fb
[ "MIT" ]
3
2020-10-08T07:51:33.000Z
2021-12-29T10:19:24.000Z
#include "Draw3D.h" void Draw3D::Init(int32_t iHeight, int32_t iWidth) { nScreenHeight = iHeight; nScreenWidth = iWidth; zBuffer.assign(iHeight * iWidth, 0.0f); } void Draw3D::Update() { zBuffer.assign(nScreenHeight * nScreenWidth, 0.0f); } // Using the implementation of Bresenham Algorithm // https...
30.658824
178
0.56581
YushchenkoAndrew