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
4afd4e5fbb9b2483eb979160c5171b52d247eac6
2,921
hpp
C++
include/sigma/resource/resource.hpp
siegelaaron94/engine
e09985b37de8d3d671878b9e0385e8d73cd0f441
[ "MIT" ]
3
2020-12-18T03:41:40.000Z
2022-02-08T11:19:52.000Z
include/sigma/resource/resource.hpp
siegelaaron94/engine
e09985b37de8d3d671878b9e0385e8d73cd0f441
[ "MIT" ]
34
2016-12-28T18:04:22.000Z
2017-06-01T07:32:48.000Z
include/sigma/resource/resource.hpp
siegelaaron94/engine
e09985b37de8d3d671878b9e0385e8d73cd0f441
[ "MIT" ]
1
2017-05-13T05:45:01.000Z
2017-05-13T05:45:01.000Z
#ifndef SIGMA_CORE_RESOURCE_HPP #define SIGMA_CORE_RESOURCE_HPP #include <sigma/util/filesystem.hpp> #include <cereal/archives/adapters.hpp> #include <cereal/cereal.hpp> #include <filesystem> #define REGISTER_RESOURCE(Klass, ShortName, Version) \ namespace sigma { ...
25.181034
84
0.510442
siegelaaron94
ab033b8493df3777576f97cb46acae6f8eca5091
785
cpp
C++
chapter9/9-3.cpp
GSNICE/04743-C-
7e49fc5045cc127c72a14d1717c34c939871f1d0
[ "MIT" ]
null
null
null
chapter9/9-3.cpp
GSNICE/04743-C-
7e49fc5045cc127c72a14d1717c34c939871f1d0
[ "MIT" ]
null
null
null
chapter9/9-3.cpp
GSNICE/04743-C-
7e49fc5045cc127c72a14d1717c34c939871f1d0
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; template<typename T> int myCompare(const T& left, const T& right) { if(left < right) { return -1; } else if(right < left) { return 1; } else return 0; } template<class T> //类类型T void swap(T &x, T &y)//可以交换类对象 { T tmp = x; x =...
18.255814
103
0.476433
GSNICE
ab064a8128e4f055029ed7837a1076e9d7ce4a11
8,127
hpp
C++
include/eagine/msgbus/blobs.hpp
matus-chochlik/eagine-msgbus
1672be9db227e918b17792e01d8a45ac58954181
[ "BSL-1.0" ]
1
2021-07-18T10:17:10.000Z
2021-07-18T10:17:10.000Z
include/eagine/msgbus/blobs.hpp
matus-chochlik/eagine-msgbus
1672be9db227e918b17792e01d8a45ac58954181
[ "BSL-1.0" ]
null
null
null
include/eagine/msgbus/blobs.hpp
matus-chochlik/eagine-msgbus
1672be9db227e918b17792e01d8a45ac58954181
[ "BSL-1.0" ]
1
2021-06-25T07:15:10.000Z
2021-06-25T07:15:10.000Z
/// @file /// /// Copyright Matus Chochlik. /// Distributed under the Boost Software License, Version 1.0. /// See accompanying file LICENSE_1_0.txt or copy at /// http://www.boost.org/LICENSE_1_0.txt /// #ifndef EAGINE_MSGBUS_BLOBS_HPP #define EAGINE_MSGBUS_BLOBS_HPP #include "config/basic.hpp" #include "message.hp...
32.378486
81
0.667528
matus-chochlik
ab0652f333820fecbfd3ff02097bc87e09457a88
11,067
cpp
C++
server/moon/components/tcp/tcp.cpp
Enanyy/moon
91b864bf9a96b28b5c574ab4f526d15b990c0e2c
[ "MIT" ]
4
2019-08-17T06:53:39.000Z
2022-01-13T19:05:17.000Z
server/moon/components/tcp/tcp.cpp
Enanyy/moon
91b864bf9a96b28b5c574ab4f526d15b990c0e2c
[ "MIT" ]
null
null
null
server/moon/components/tcp/tcp.cpp
Enanyy/moon
91b864bf9a96b28b5c574ab4f526d15b990c0e2c
[ "MIT" ]
1
2021-10-17T03:46:01.000Z
2021-10-17T03:46:01.000Z
#include "components/tcp/tcp.h" #include "common/log.hpp" #include "common/string.hpp" #include "common/hash.hpp" #include "message.hpp" #include "moon_connection.hpp" #include "custom_connection.hpp" #include "ws_connection.hpp" #include "router.h" namespace moon { tcp::tcp() noexcept :type_(PTYPE_SOCKET)...
29.355438
149
0.509714
Enanyy
ab08a06764e17c5fc08a9e9b092f4bfa78b01ecd
114,698
cpp
C++
WimTiVoServer.cpp
wcbonner/WimTiVoServer
61588aa7a16e9a9149e1abb8d9a3495ddc40990d
[ "MIT" ]
1
2020-08-03T18:05:00.000Z
2020-08-03T18:05:00.000Z
WimTiVoServer.cpp
wcbonner/WimTiVoServer
61588aa7a16e9a9149e1abb8d9a3495ddc40990d
[ "MIT" ]
null
null
null
WimTiVoServer.cpp
wcbonner/WimTiVoServer
61588aa7a16e9a9149e1abb8d9a3495ddc40990d
[ "MIT" ]
null
null
null
///////////////////////////////////////////////////////////////////////////// // Copyright (C) 2020 William C Bonner ///////////////////////////////////////////////////////////////////////////// // WimTiVoServer.cpp : Defines the entry point for the console application. // // Other Things to look at: // Stream...
45.103421
1,026
0.649471
wcbonner
ab092243a9a372dac438228167e0b4cac5effdca
9,835
hpp
C++
src/elona/spec.hpp
Vorlent/ElonaFoobar
8e544af1f82377c9add6961589ddc99e22c5ed4c
[ "MIT" ]
null
null
null
src/elona/spec.hpp
Vorlent/ElonaFoobar
8e544af1f82377c9add6961589ddc99e22c5ed4c
[ "MIT" ]
null
null
null
src/elona/spec.hpp
Vorlent/ElonaFoobar
8e544af1f82377c9add6961589ddc99e22c5ed4c
[ "MIT" ]
null
null
null
#include "../util/range.hpp" #pragma once #include <cassert> #include <map> #include <sstream> #include <vector> #include <boost/variant.hpp> #include <boost/variant/get.hpp> #include "../thirdparty/ordered_map/ordered_map.h" #include "../util/map_key_iterator.hpp" #include "filesystem.hpp" #include "hcl.hpp" #include ...
24.5875
80
0.560854
Vorlent
ab0a821d63beb628b49b35df4792c3913623423d
4,530
cpp
C++
game/piece.cpp
caoculus/Tetris
e3584abe04cf5e60898d9c30f96cf02536356d83
[ "MIT" ]
1
2022-01-08T08:42:02.000Z
2022-01-08T08:42:02.000Z
game/piece.cpp
caoculus/Tetris
e3584abe04cf5e60898d9c30f96cf02536356d83
[ "MIT" ]
null
null
null
game/piece.cpp
caoculus/Tetris
e3584abe04cf5e60898d9c30f96cf02536356d83
[ "MIT" ]
null
null
null
#include "piece.hpp" #include "level.hpp" #include <stdexcept> #include <algorithm> std::size_t game::piece::index(square type) { if (type == square::none) throw std::invalid_argument( "square::none cannot be indexed as there is no piece there"); return static_cast<std::size_t>(type) - 1; ...
24.095745
80
0.545254
caoculus
ab0bc9a1199dd5df79fd774a896c05f6f29675f5
29,634
cpp
C++
unittests/PhasarLLVM/Pointer/LLVMTypeHierarchyTest.cpp
flix-/phasar
85b30c329be1766136c8cbc6f925cb4fd1bafd27
[ "BSL-1.0" ]
null
null
null
unittests/PhasarLLVM/Pointer/LLVMTypeHierarchyTest.cpp
flix-/phasar
85b30c329be1766136c8cbc6f925cb4fd1bafd27
[ "BSL-1.0" ]
null
null
null
unittests/PhasarLLVM/Pointer/LLVMTypeHierarchyTest.cpp
flix-/phasar
85b30c329be1766136c8cbc6f925cb4fd1bafd27
[ "BSL-1.0" ]
null
null
null
#include <iostream> #include <boost/graph/graph_utility.hpp> #include <boost/graph/graphviz.hpp> #include <boost/graph/isomorphism.hpp> #include <gtest/gtest.h> #include <phasar/DB/ProjectIRDB.h> #include <phasar/PhasarLLVM/Pointer/LLVMTypeHierarchy.h> #include <phasar/Utils/LLVMShorthands.h> #include <phasar/Utils/...
46.815166
80
0.734359
flix-
ab179c42727f68d0776c09eeacee5ddd87a71fe0
1,003
cc
C++
ch04/ex4-22.cc
ts25504/Cpp-Primer
d1c5960f5f0ba969b766224f177f6c29c13d0d22
[ "MIT" ]
null
null
null
ch04/ex4-22.cc
ts25504/Cpp-Primer
d1c5960f5f0ba969b766224f177f6c29c13d0d22
[ "MIT" ]
null
null
null
ch04/ex4-22.cc
ts25504/Cpp-Primer
d1c5960f5f0ba969b766224f177f6c29c13d0d22
[ "MIT" ]
null
null
null
/* * Exercise 4.22: Extend the program that assigned high pass, pass, and fail grades to also assign low pass for grades between 60 and 75 inclusive. Write two versions: One version that uses only conditional operators; the other should use one or more if statements. Which version do you think is easier to understand ...
34.586207
325
0.481555
ts25504
ab1b118d5ebd78f78f41f68ae413c39ef4157fe4
6,012
cpp
C++
xlsx/xlsxmarker.cpp
joaconigro/QCalc
b79317ca017b2328bc239450c429b77fbffb4966
[ "MIT" ]
1
2017-05-24T19:50:24.000Z
2017-05-24T19:50:24.000Z
xlsx/xlsxmarker.cpp
joaconigro/QCalc
b79317ca017b2328bc239450c429b77fbffb4966
[ "MIT" ]
null
null
null
xlsx/xlsxmarker.cpp
joaconigro/QCalc
b79317ca017b2328bc239450c429b77fbffb4966
[ "MIT" ]
1
2019-11-12T16:00:00.000Z
2019-11-12T16:00:00.000Z
/**************************************************************************** ** Copyright (c) 2016 Golubchikov Mihail <https://github.com/rue-ryuzaki> ** All right reserved. ** ** Permission is hereby granted, free of charge, to any person obtaining ** a copy of this software and associated documentation files (the **...
22.432836
92
0.637392
joaconigro
ab1f66c06ea1a2f020bac2a7d1e662c21e2ece40
10,826
hpp
C++
headers/promise.hpp/scheduler.hpp
BlackMATov/promise.hpp
e0219f5d5338b9b793d79b11619e7b51878c281b
[ "MIT" ]
42
2018-12-08T18:06:33.000Z
2022-02-25T17:20:21.000Z
headers/promise.hpp/scheduler.hpp
BlackMATov/promise.hpp
e0219f5d5338b9b793d79b11619e7b51878c281b
[ "MIT" ]
13
2019-03-25T21:35:51.000Z
2020-01-09T10:26:22.000Z
headers/promise.hpp/scheduler.hpp
BlackMATov/promise.hpp
e0219f5d5338b9b793d79b11619e7b51878c281b
[ "MIT" ]
6
2019-12-31T05:16:33.000Z
2021-03-27T03:45:43.000Z
/******************************************************************************* * This file is part of the "https://github.com/blackmatov/promise.hpp" * For conditions of distribution and use, see copyright notice in LICENSE.md * Copyright (C) 2018-2021, by Matvey Cherevko (blackmatov@gmail.com) ******************...
33.517028
96
0.580085
BlackMATov
ab24d5031bdc3b6acf02a8eee37d49374f6eee6b
2,210
cc
C++
test/base64.cc
kjdv/kb64
5f09acaf56def35a6eb9bd0e12c236cbddb7c0e4
[ "MIT" ]
null
null
null
test/base64.cc
kjdv/kb64
5f09acaf56def35a6eb9bd0e12c236cbddb7c0e4
[ "MIT" ]
null
null
null
test/base64.cc
kjdv/kb64
5f09acaf56def35a6eb9bd0e12c236cbddb7c0e4
[ "MIT" ]
null
null
null
#include <algorithm> #include <base64.hh> #include <gtest/gtest.h> namespace kb64 { namespace { using namespace std; TEST(Base64, BasicDecode) { char b[4] = {'Y', 'W', '5', '5'}; uint8_t t[3]; EXPECT_EQ(3u, decode(b, t)); EXPECT_EQ('a', t[0]); EXPECT_EQ('n', t[1]); EXPECT_EQ('y', t[2]); // scrambl...
17.822581
60
0.622172
kjdv
ab251052eb78eadea1a893e9106e438b4ce2585c
1,210
cpp
C++
DevGame/Motor2D/UIButton.cpp
AleixCas95/DeafeatNemesis
ebab7c67fcbb77927ea33167b365261ec3fe7965
[ "MIT" ]
null
null
null
DevGame/Motor2D/UIButton.cpp
AleixCas95/DeafeatNemesis
ebab7c67fcbb77927ea33167b365261ec3fe7965
[ "MIT" ]
null
null
null
DevGame/Motor2D/UIButton.cpp
AleixCas95/DeafeatNemesis
ebab7c67fcbb77927ea33167b365261ec3fe7965
[ "MIT" ]
null
null
null
#include "UIButton.h" #include "UIObject.h" #include "j1App.h" #include "j1StartMenu.h" #include "j1Render.h" #include "j1Window.h" #include "j1Input.h" #include "p2Log.h" #include "Brofiler/Brofiler.h" UIButton::UIButton(int x, int y, SDL_Rect mouse_off, SDL_Rect mouse_on, SDL_Rect mouse_click, SDL_Texture* tex) :UIO...
20.166667
128
0.67438
AleixCas95
ab27c827474c4abb5633110e48749a720a53a574
931
cpp
C++
318-maximum-product-of-word-lengths/318-maximum-product-of-word-lengths.cpp
arpangoswami/LeetcodeSolutions
17a2450cacf0020c2626023012a5a354c8fee5da
[ "MIT" ]
null
null
null
318-maximum-product-of-word-lengths/318-maximum-product-of-word-lengths.cpp
arpangoswami/LeetcodeSolutions
17a2450cacf0020c2626023012a5a354c8fee5da
[ "MIT" ]
null
null
null
318-maximum-product-of-word-lengths/318-maximum-product-of-word-lengths.cpp
arpangoswami/LeetcodeSolutions
17a2450cacf0020c2626023012a5a354c8fee5da
[ "MIT" ]
null
null
null
class Solution { public: int maxProduct(vector<string>& words) { int n = words.size(),allPresent = (1 << 26) - 1; vector<int> charIn(n); for(int i=0;i<n;i++){ int mask = 0; for(char c:words[i]){ mask |= (1 << (c - 'a')); if(mask == allP...
28.212121
60
0.343716
arpangoswami
ab283043bdbefa42f250eacf3e342cff2a1c859e
714
cpp
C++
CodeChefJune/BellaCiao.cpp
Khurdhula-Harshavardhan/piroGrams
510de6ea5a4be6bc217419581913cbda290c4fe5
[ "MIT" ]
null
null
null
CodeChefJune/BellaCiao.cpp
Khurdhula-Harshavardhan/piroGrams
510de6ea5a4be6bc217419581913cbda290c4fe5
[ "MIT" ]
null
null
null
CodeChefJune/BellaCiao.cpp
Khurdhula-Harshavardhan/piroGrams
510de6ea5a4be6bc217419581913cbda290c4fe5
[ "MIT" ]
null
null
null
#include<iostream> #include<bits/stdc++.h> using namespace std; //A program by KH int KhHasGotEmMoney(long long int D,long long int d,long long int P,long long int Q){ long long int totald=(D-1)/d; long long int temp=D-(d*totald); long long int x=0; long long int n=totald-1; x+=d*((((float)n)/2)...
18.307692
86
0.565826
Khurdhula-Harshavardhan
ab28ab9934053024a5c7b46b61fad27c929600da
1,667
cc
C++
test/main.cc
tbrekalo/mini
dc934e6f2bec3efa6053146413db0c3561fcd39e
[ "MIT" ]
3
2022-03-13T14:10:41.000Z
2022-03-14T11:58:14.000Z
test/main.cc
tbrekalo/mini
dc934e6f2bec3efa6053146413db0c3561fcd39e
[ "MIT" ]
null
null
null
test/main.cc
tbrekalo/mini
dc934e6f2bec3efa6053146413db0c3561fcd39e
[ "MIT" ]
null
null
null
#include <algorithm> #include <array> #include "catch2/catch_test_macros.hpp" #include "mini/mini.h" namespace mini { namespace test { constexpr auto kTestSeq = "AACCTTGGACTACGATCGGGGGRACCCCGAACATCTCCTCTCCCATTCTCCCTCCCCTAGAGATTCATTC" "AACCTTGGACTACGATCGGGGGRACCCCGAACATCTCCTCTCCCATTCTCCCTCCCCTAGAGATTCATTC"; ...
37.044444
77
0.710258
tbrekalo
ab2b075cf2697862505c3581b5a19e43e33cdd1c
3,494
cpp
C++
vlogs/gameentities/basic/paddlegame.cpp
arnokamphuis/vlogging
b092f52c73ef5c3847649f4c7b8f81592a0f8edd
[ "MIT" ]
null
null
null
vlogs/gameentities/basic/paddlegame.cpp
arnokamphuis/vlogging
b092f52c73ef5c3847649f4c7b8f81592a0f8edd
[ "MIT" ]
null
null
null
vlogs/gameentities/basic/paddlegame.cpp
arnokamphuis/vlogging
b092f52c73ef5c3847649f4c7b8f81592a0f8edd
[ "MIT" ]
null
null
null
#include "paddlegame.hpp" void PaddleGame::solvePaddleBallCollision(const Paddle& mPaddle, Ball& mBall) noexcept { if(!isIntersecting(mPaddle, mBall)) return; mBall.velocity.y = -Ball::defVelocity; mBall.velocity.x = mBall.x() < mPaddle.x() ? -Ball::defVelocity : Ball::defVelocity; } void PaddleG...
35.653061
88
0.615627
arnokamphuis
ab2b868a4132936bc26a6031f0cd7ece879a6ffb
2,747
cpp
C++
isis/src/base/objs/PvlSequence/PvlSequence.cpp
kdl222/ISIS3
aab0e63088046690e6c031881825596c1c2cc380
[ "CC0-1.0" ]
134
2018-01-18T00:16:24.000Z
2022-03-24T03:53:33.000Z
isis/src/base/objs/PvlSequence/PvlSequence.cpp
kdl222/ISIS3
aab0e63088046690e6c031881825596c1c2cc380
[ "CC0-1.0" ]
3,825
2017-12-11T21:27:34.000Z
2022-03-31T21:45:20.000Z
isis/src/base/objs/PvlSequence/PvlSequence.cpp
jlaura/isis3
2c40e08caed09968ea01d5a767a676172ad20080
[ "CC0-1.0" ]
164
2017-11-30T21:15:44.000Z
2022-03-23T10:22:29.000Z
/** This is free and unencumbered software released into the public domain. The authors of ISIS do not claim copyright on the contents of this file. For more details about the LICENSE terms and the AUTHORS, you will find files of those names at the top level of this repository. **/ /* SPDX-License-Identifier: CC0-1.0 ...
28.030612
77
0.63451
kdl222
ab2badc7cc0b27c490d39ce388985cdba2cfb83c
939
cc
C++
scripts/setup_dpdk/ifname.cc
nilyibo/eRPC
c9ec2c81672c45cca04a8bb2e0d7887c3e8cff32
[ "Apache-2.0" ]
579
2019-02-24T20:58:06.000Z
2022-03-31T08:56:48.000Z
scripts/setup_dpdk/ifname.cc
nilyibo/eRPC
c9ec2c81672c45cca04a8bb2e0d7887c3e8cff32
[ "Apache-2.0" ]
64
2019-02-25T02:48:31.000Z
2022-03-30T03:38:40.000Z
scripts/setup_dpdk/ifname.cc
nilyibo/eRPC
c9ec2c81672c45cca04a8bb2e0d7887c3e8cff32
[ "Apache-2.0" ]
86
2019-02-28T01:40:50.000Z
2022-02-23T08:02:26.000Z
#include <arpa/inet.h> #include <ifaddrs.h> #include <net/if.h> #include <stdio.h> #include <stdlib.h> #include <string.h> // Print the names of interfaces whose IP address starts with 10. This is useful // to list experimental interface names on CloudLab. int main() { struct ifaddrs *addrs; getifaddrs(&addrs); ...
27.617647
80
0.609159
nilyibo
ab2dc1476ee1e6b05948a2d92238ddeb144b4485
2,829
cpp
C++
src/arch/ArchHooks/ArchHooks.cpp
thenerdie/etterna
341b7c506c785e3a15e7af18814791aefff5c958
[ "MIT" ]
null
null
null
src/arch/ArchHooks/ArchHooks.cpp
thenerdie/etterna
341b7c506c785e3a15e7af18814791aefff5c958
[ "MIT" ]
null
null
null
src/arch/ArchHooks/ArchHooks.cpp
thenerdie/etterna
341b7c506c785e3a15e7af18814791aefff5c958
[ "MIT" ]
null
null
null
#include "Etterna/Globals/global.h" #include "ArchHooks.h" #include "Etterna/Models/Lua/LuaReference.h" #include "RageUtil/Misc/RageLog.h" #include "RageUtil/Misc/RageThreads.h" #include "arch/arch_default.h" #include "Etterna/Singletons/PrefsManager.h" #ifdef __APPLE__ #include "../../archutils/Darwin/MouseDevice.h" ...
19.244898
78
0.745493
thenerdie
ab2ffcfee2965946abbcb9283b06845408c03cde
8,997
hpp
C++
include/neodb/page.hpp
i42output/neodb
7504b16ec4df8353615d3e68d7414acbebd13842
[ "BSD-3-Clause" ]
null
null
null
include/neodb/page.hpp
i42output/neodb
7504b16ec4df8353615d3e68d7414acbebd13842
[ "BSD-3-Clause" ]
null
null
null
include/neodb/page.hpp
i42output/neodb
7504b16ec4df8353615d3e68d7414acbebd13842
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2021 Leigh Johnston. * * 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 * ...
36.722449
150
0.651217
i42output
ab301bf48ae321b3c20e78fc3bef96a1abd17ed3
25,922
cpp
C++
YorozuyaGSLib/source/TRC_AutoTradeDetail.cpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
YorozuyaGSLib/source/TRC_AutoTradeDetail.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
YorozuyaGSLib/source/TRC_AutoTradeDetail.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
#include <TRC_AutoTradeDetail.hpp> #include <common/ATFCore.hpp> START_ATF_NAMESPACE namespace Detail { Info::TRC_AutoTradeAddGDalant2_ptr TRC_AutoTradeAddGDalant2_next(nullptr); Info::TRC_AutoTradeAddGDalant2_clbk TRC_AutoTradeAddGDalant2_user(nullptr); Info::TRC_AutoTradeCal...
57.096916
164
0.695317
lemkova
ab315e4ee84f5da3607579e8225c42c9602bf1b4
6,337
hpp
C++
test/gemm/gemm_coop_schedule.hpp
mkarunan/rocWMMA
390a2e793699a1e17c18e46d7fe51e245907f012
[ "MIT" ]
null
null
null
test/gemm/gemm_coop_schedule.hpp
mkarunan/rocWMMA
390a2e793699a1e17c18e46d7fe51e245907f012
[ "MIT" ]
null
null
null
test/gemm/gemm_coop_schedule.hpp
mkarunan/rocWMMA
390a2e793699a1e17c18e46d7fe51e245907f012
[ "MIT" ]
null
null
null
/******************************************************************************* * * MIT License * * Copyright 2021-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal *...
41.418301
95
0.523276
mkarunan
ab31c183042a4d73d0b76d819ffd944ccec901db
33,408
cpp
C++
tests/math/TestMatrix6x6.cpp
marek-cel/libmcutils
671a20f37378d32ade4decefdbfba70448d12504
[ "MIT" ]
null
null
null
tests/math/TestMatrix6x6.cpp
marek-cel/libmcutils
671a20f37378d32ade4decefdbfba70448d12504
[ "MIT" ]
null
null
null
tests/math/TestMatrix6x6.cpp
marek-cel/libmcutils
671a20f37378d32ade4decefdbfba70448d12504
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <mcutils/math/Matrix6x6.h> //////////////////////////////////////////////////////////////////////////////// class TestMatrix6x6 : public ::testing::Test { protected: TestMatrix6x6() {} virtual ~TestMatrix6x6() {} void SetUp() override {} void TearDown() override {} }...
32.720862
80
0.511674
marek-cel
ab326794d697c5e90e1f47a7e15b6d3cb889c249
9,834
cpp
C++
oving6/main.cpp
odderikf/datacom
961c01f481c0aed447f777562a607b808200a93b
[ "MIT" ]
null
null
null
oving6/main.cpp
odderikf/datacom
961c01f481c0aed447f777562a607b808200a93b
[ "MIT" ]
null
null
null
oving6/main.cpp
odderikf/datacom
961c01f481c0aed447f777562a607b808200a93b
[ "MIT" ]
null
null
null
#include <iostream> #include <boost/asio.hpp> #include <boost/algorithm/string.hpp> #include <openssl/sha.h> #include <bitset> using boost::asio::ip::tcp; #define MAGIC_GUID "258EAFA5-E914-47DA-95CA-C5AB0DC85B11" #define FIN 0b10000000 #define OP_TEXTFRAME 0b0001 #define OP_CLOSE 0b1000 class WebServer{ boost::...
42.387931
127
0.490848
odderikf
ab397369f3bb2473d0524299860b3430cd9689ee
2,111
cpp
C++
Sources/EntitySystem/Entity/EntityFactory.cpp
vit3k/entity_system
5b00804bb772229cab90ea7de589faced98bc001
[ "MIT" ]
null
null
null
Sources/EntitySystem/Entity/EntityFactory.cpp
vit3k/entity_system
5b00804bb772229cab90ea7de589faced98bc001
[ "MIT" ]
null
null
null
Sources/EntitySystem/Entity/EntityFactory.cpp
vit3k/entity_system
5b00804bb772229cab90ea7de589faced98bc001
[ "MIT" ]
null
null
null
#include "EntityFactory.h" #include <memory> #include "Components\TransformComponent.h" #include "Components\VelocityComponent.h" #include "Components\RenderComponent.h" #include "Components\Player.h" #include "Components\Sprite.h" #define PI 3.14159265 EntityFactory::EntityFactory(std::shared_ptr<World> world): dis...
31.044118
105
0.756987
vit3k
ab3e07d7e90344ea361a98b430bb6fd3d79edfad
1,502
cpp
C++
MenuWidget.cpp
orbitrc/laniakea-dock
08a03bd82ccab0f6b121eee680d652140f09798d
[ "MIT" ]
null
null
null
MenuWidget.cpp
orbitrc/laniakea-dock
08a03bd82ccab0f6b121eee680d652140f09798d
[ "MIT" ]
null
null
null
MenuWidget.cpp
orbitrc/laniakea-dock
08a03bd82ccab0f6b121eee680d652140f09798d
[ "MIT" ]
null
null
null
#include "MenuWidget.h" #include <stdio.h> #include <QMouseEvent> MenuWidget::MenuWidget(QQmlEngine *engine, QWidget *parent) : QQuickWidget(engine, parent) { setAttribute(Qt::WA_X11NetWmWindowTypeMenu); setWindowFlag(Qt::FramelessWindowHint); setAttribute(Qt::WA_DeleteOnClose); setAttribute(Qt...
21.15493
59
0.607856
orbitrc
ab3f7044151c5ce3f1c470c37c8d784bddfcfc8f
12,261
cpp
C++
source/cocpp/core/co_manager.cpp
skyfireitdiy/cocpp
e84e9db4b1415c8c3a6bb7f88fd3a11dd3930a35
[ "MIT" ]
7
2021-08-28T16:52:09.000Z
2022-01-25T03:01:28.000Z
source/cocpp/core/co_manager.cpp
skyfireitdiy/cocpp
e84e9db4b1415c8c3a6bb7f88fd3a11dd3930a35
[ "MIT" ]
57
2022-01-01T08:39:24.000Z
2022-03-25T15:00:34.000Z
source/cocpp/core/co_manager.cpp
skyfireitdiy/cocpp
e84e9db4b1415c8c3a6bb7f88fd3a11dd3930a35
[ "MIT" ]
1
2022-03-27T08:57:58.000Z
2022-03-27T08:57:58.000Z
#include "cocpp/core/co_manager.h" #include "cocpp/core/co_ctx.h" #include "cocpp/core/co_ctx_factory.h" #include "cocpp/core/co_env.h" #include "cocpp/core/co_env_factory.h" #include "cocpp/core/co_stack_factory.h" #include "cocpp/core/co_vos.h" #include "cocpp/sync/co_spinlock.h" #include <cassert> #include <cstddef>...
25.54375
127
0.635348
skyfireitdiy
ab41791951b0010997595b7ba1fde56ce64d0e78
4,815
cpp
C++
Firmware/Grbl_Esp32-main/Grbl_Esp32/src/Motors/StandardStepper.cpp
himanshuvashisht878/Onyx-Stepper-Motherboard
0cf4cb2ec061c23a8d8d43e58fe323b1094a17bd
[ "MIT" ]
49
2021-12-15T12:57:20.000Z
2022-02-07T12:22:10.000Z
Firmware/Grbl_Esp32-main/Grbl_Esp32/src/Motors/StandardStepper.cpp
pspadale/Onyx-Stepper-Motherboard
e94e6cc2e40869f6ee395a3f6e52c81307373971
[ "MIT" ]
null
null
null
Firmware/Grbl_Esp32-main/Grbl_Esp32/src/Motors/StandardStepper.cpp
pspadale/Onyx-Stepper-Motherboard
e94e6cc2e40869f6ee395a3f6e52c81307373971
[ "MIT" ]
10
2021-12-15T12:57:24.000Z
2022-01-17T22:47:33.000Z
/* StandardStepper.cpp This is used for a stepper motor that just requires step and direction pins. TODO: Add an enable pin Part of Grbl_ESP32 2020 - Bart Dring Grbl is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as publis...
37.038462
114
0.650675
himanshuvashisht878
ab42a60aa8bd8375cdc09b08acb90748408af940
9,773
hpp
C++
src/services/querycountersservice.hpp
silverqx/TinyOrmPlayground
3b0f039978927c3993b5f0e434f1438d1e2d272e
[ "MIT" ]
null
null
null
src/services/querycountersservice.hpp
silverqx/TinyOrmPlayground
3b0f039978927c3993b5f0e434f1438d1e2d272e
[ "MIT" ]
null
null
null
src/services/querycountersservice.hpp
silverqx/TinyOrmPlayground
3b0f039978927c3993b5f0e434f1438d1e2d272e
[ "MIT" ]
null
null
null
#pragma once #ifndef TINYPLAY_SERVICES_QUERYCOUNTERSSERVICE_HPP #define TINYPLAY_SERVICES_QUERYCOUNTERSSERVICE_HPP #include <QHashFunctions> #include <mutex> #include <optional> #include <unordered_map> #include <orm/macros/threadlocal.hpp> #include <orm/types/statementscounter.hpp> #include "services/service.hpp" ...
43.825112
89
0.657935
silverqx
ab47f0e958194e1d59ddd1c482a0b2a7877d6c3c
777
cpp
C++
143#reorder-list/solution.cpp
llwwns/leetcode_solutions
e352c9bf6399ab3ee0f23889e70361c9f2a3bd33
[ "MIT" ]
null
null
null
143#reorder-list/solution.cpp
llwwns/leetcode_solutions
e352c9bf6399ab3ee0f23889e70361c9f2a3bd33
[ "MIT" ]
null
null
null
143#reorder-list/solution.cpp
llwwns/leetcode_solutions
e352c9bf6399ab3ee0f23889e70361c9f2a3bd33
[ "MIT" ]
null
null
null
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { ListNode *left; void link(ListNode *right) { if (right != NULL) { link(right->next); if (le...
23.545455
56
0.404118
llwwns
ab48316f861c38a55bca6852afabaebe92e2895d
6,352
cpp
C++
Develop-Editor/Development/Plugin/Warcraft3/yd_lua_engine/lua_engine/libs_runtime.cpp
luciouskami/XYWE
89da4f93a2dcc02e6ea2bc739ac99a511363665c
[ "Apache-2.0" ]
5
2019-01-22T02:35:35.000Z
2022-02-28T02:50:03.000Z
Develop-Editor/Development/Plugin/Warcraft3/yd_lua_engine/lua_engine/libs_runtime.cpp
luciouskami/XYWE
89da4f93a2dcc02e6ea2bc739ac99a511363665c
[ "Apache-2.0" ]
8
2016-10-19T00:04:05.000Z
2016-11-14T10:58:14.000Z
Develop-Editor/Development/Plugin/Warcraft3/yd_lua_engine/lua_engine/libs_runtime.cpp
LazyKnightX/XYWE
89da4f93a2dcc02e6ea2bc739ac99a511363665c
[ "Apache-2.0" ]
2
2016-11-14T11:39:37.000Z
2019-09-06T00:21:15.000Z
#include <lua.hpp> #include <base/util/console.h> #include <base/util/format.h> #include <array> #include <cstring> #include "libs_runtime.h" namespace base { namespace warcraft3 { namespace lua_engine { namespace runtime { int version = 3; int handle_level = 2; bool enable_console = false; bool s...
20.037855
120
0.595718
luciouskami
ab483dc1933c0d8518f4e19c9ff64fe8f7ac65bb
605
cpp
C++
BookReader/BookAtom.cpp
msdmazarei/cpp-msd-freetype
ae4c79512ea6c9fba686235e9dd2dd03bd791a6f
[ "BSD-2-Clause" ]
null
null
null
BookReader/BookAtom.cpp
msdmazarei/cpp-msd-freetype
ae4c79512ea6c9fba686235e9dd2dd03bd791a6f
[ "BSD-2-Clause" ]
null
null
null
BookReader/BookAtom.cpp
msdmazarei/cpp-msd-freetype
ae4c79512ea6c9fba686235e9dd2dd03bd791a6f
[ "BSD-2-Clause" ]
null
null
null
#include "BookAtom.hpp" BookAtom::BookAtom(BookAtomType atom_type) : atom_type(atom_type) {} ClassName BookAtom::getType() { return ClassName_BookAtom; } // List<BYTE> *BookAtom::serialize_binary() { // List<BYTE> *bytes = new List<BYTE>; // DWORD len = 1 /*Type size*/ + 4 /*my own size*/; // bytes->push_front(...
28.809524
68
0.629752
msdmazarei
ab4b1441db46f7abdb576c2d90e1ef2322ed1c60
485
cpp
C++
qt/main.cpp
djbauman/Qt-Chess
a89ce781ca94926711038a44d53908a8f626676e
[ "MIT" ]
4
2021-03-17T01:27:15.000Z
2021-09-17T17:16:35.000Z
qt/main.cpp
djbauman/Qt-Chess
a89ce781ca94926711038a44d53908a8f626676e
[ "MIT" ]
4
2019-02-13T14:27:52.000Z
2019-03-13T19:52:20.000Z
qt/main.cpp
djbauman/Qt-Chess
a89ce781ca94926711038a44d53908a8f626676e
[ "MIT" ]
3
2019-03-19T21:22:51.000Z
2021-01-07T14:40:23.000Z
#include "space.h" #include "display.h" #include "./chess-files/Board.hpp" #include "./chess-files/Game.hpp" #include <QApplication> #include <QGraphicsScene> #include <QGraphicsRectItem> #include <QGraphicsView> #include <QGridLayout> #include <QFrame> int main(int argc, char *argv[]) { QApplication a(argc, argv)...
23.095238
58
0.701031
djbauman
ab4b28f6ec39aac80440358af238fae527ae5e5e
138
cpp
C++
test/test_future.cpp
jantonioperez/conduit
1366d710fb3afac5dbc3b71f8285c62c03bdf201
[ "MIT" ]
6
2021-09-18T07:49:46.000Z
2022-02-03T12:21:16.000Z
test/test_future.cpp
functionalperez/conduit
1366d710fb3afac5dbc3b71f8285c62c03bdf201
[ "MIT" ]
1
2021-08-05T22:48:51.000Z
2021-08-05T23:27:30.000Z
test/test_future.cpp
codeinred/conduit
1366d710fb3afac5dbc3b71f8285c62c03bdf201
[ "MIT" ]
null
null
null
#include "run_test.hpp" future<std::string> test_future(std::string on_success) { co_return on_success; } RUN_CORO_TEST(test_future)
19.714286
57
0.768116
jantonioperez
ab4f2f1ee95e0d06055711af50d0d76ef4eae94f
740
hpp
C++
src/solver/linear/conjugate_gradient_ocl.hpp
dbeurle/neon
63cd2929a6eaaa0e1654c729cd35a9a52a706962
[ "MIT" ]
9
2018-07-12T17:06:33.000Z
2021-11-20T23:13:26.000Z
src/solver/linear/conjugate_gradient_ocl.hpp
dbeurle/neon
63cd2929a6eaaa0e1654c729cd35a9a52a706962
[ "MIT" ]
119
2016-06-22T07:36:04.000Z
2019-03-10T19:38:12.000Z
src/solver/linear/conjugate_gradient_ocl.hpp
dbeurle/neon
63cd2929a6eaaa0e1654c729cd35a9a52a706962
[ "MIT" ]
9
2017-10-08T16:51:38.000Z
2021-03-15T08:08:04.000Z
#pragma once /// @file #ifdef ENABLE_OPENCL #include "linear_solver.hpp" namespace neon { /// conjugate_gradient_ocl is a GPU based solver using the conjugate /// gradient solver from Matrix Computations. class conjugate_gradient_ocl : public iterative_linear_solver { public: /// Default tolerance and maximum ...
23.125
95
0.778378
dbeurle
ab51080dc2fdba888cd4402be1732d12668a7c3b
3,343
cpp
C++
demo/demo.cpp
optframe/nnptr
cca27afbc697d9425c2bb7815dc009defcf79ebc
[ "MIT" ]
1
2021-03-22T02:44:49.000Z
2021-03-22T02:44:49.000Z
demo/demo.cpp
optframe/nnshared
cca27afbc697d9425c2bb7815dc009defcf79ebc
[ "MIT" ]
null
null
null
demo/demo.cpp
optframe/nnshared
cca27afbc697d9425c2bb7815dc009defcf79ebc
[ "MIT" ]
null
null
null
#include <iostream> #include <nnptr/nnshared.hpp> #include <vector> template<class T> using nn_shared_ptr = nnptr::NotNull<std::shared_ptr<T>>; class Person { public: }; class Company { public: Company(Person& _owner, std::vector<Person*> _employees) : owner{ _owner } , employees{ _employees } {} p...
27.628099
77
0.538439
optframe
ab512b9811d2ea557373fa60c6e4e57766758fd4
22,157
cpp
C++
Core/Cookies/CookieManager.cpp
Feldrise/SieloNavigateurBeta
faa5fc785271b49d26237a5e9985d6fa22565076
[ "MIT" ]
89
2018-04-26T14:28:13.000Z
2019-07-03T03:58:17.000Z
Core/Cookies/CookieManager.cpp
inviu/webBrowser
37b24eded2e168e43b3f9c9ccc0487ee59410332
[ "MIT" ]
51
2018-04-26T12:43:00.000Z
2019-04-24T20:39:59.000Z
Core/Cookies/CookieManager.cpp
inviu/webBrowser
37b24eded2e168e43b3f9c9ccc0487ee59410332
[ "MIT" ]
34
2018-05-11T07:09:36.000Z
2019-04-19T08:12:40.000Z
/*********************************************************************************** ** MIT License ** ** ** ** Copyright (c) 2018 Victor DENIS (victordenis01@gmail.com) ...
36.502471
114
0.73417
Feldrise
ab529eba4792719e4ae80070d7b1709af4787c96
1,263
cpp
C++
cpp-solutions/easy/min-stack.cpp
kshatriya-abhay/leetcode-solutions
168a6b24d140d41448ed7ac9dab351ee41a66cd5
[ "Unlicense" ]
null
null
null
cpp-solutions/easy/min-stack.cpp
kshatriya-abhay/leetcode-solutions
168a6b24d140d41448ed7ac9dab351ee41a66cd5
[ "Unlicense" ]
null
null
null
cpp-solutions/easy/min-stack.cpp
kshatriya-abhay/leetcode-solutions
168a6b24d140d41448ed7ac9dab351ee41a66cd5
[ "Unlicense" ]
null
null
null
struct Node { int val; Node* next; Node(int x) : val(x), next(NULL) {} }; class MinStack { public: /** initialize your data structure here. */ Node* head; Node* m; MinStack() { head = NULL; m = NULL; } void push(int x) { Node* n = new Node(x); if(...
19.136364
64
0.418844
kshatriya-abhay
ab6084135039f7084f27173d41230f6ad649cdec
7,999
cpp
C++
Lib/OakModel/QueryBuilder.cpp
vilaversoftware/OakModelView
c24d30b711fe0f2fdc336f2623dd9bc555867a9d
[ "Apache-2.0" ]
null
null
null
Lib/OakModel/QueryBuilder.cpp
vilaversoftware/OakModelView
c24d30b711fe0f2fdc336f2623dd9bc555867a9d
[ "Apache-2.0" ]
null
null
null
Lib/OakModel/QueryBuilder.cpp
vilaversoftware/OakModelView
c24d30b711fe0f2fdc336f2623dd9bc555867a9d
[ "Apache-2.0" ]
null
null
null
/* * OakModelView (http://oakmodelview.com/) * Author: Mikkel Nøhr Løvgreen (mikkel@oakmodelview.com) * ------------------------------------------------------------------------ * Licensed to Vilaversoftware IVS who licenses this file to you under the * Apache License, Version 2.0 (the "License"); you may not use t...
31.492126
98
0.550069
vilaversoftware
ab66256785e58d3151a3490abb261890aa330346
118
cpp
C++
spike/models/strata/test.cpp
davidson16807/libtectonics
aa0ae2b8a4a1d2a9a346bbdeb334be876ad75646
[ "CC-BY-4.0" ]
7
2020-06-09T19:56:55.000Z
2021-02-17T01:53:30.000Z
spike/models/strata/test.cpp
davidson16807/tectonics.cpp
c40278dba14260c598764467c7abf23b190e676b
[ "CC-BY-4.0" ]
null
null
null
spike/models/strata/test.cpp
davidson16807/tectonics.cpp
c40278dba14260c598764467c7abf23b190e676b
[ "CC-BY-4.0" ]
null
null
null
#include "./StrataStore_test.cpp" #include "./Strata_to_StrataValues_test.hpp" #include "./Strata_operators_test.cpp"
29.5
44
0.79661
davidson16807
ab67c515e857692fbe423455ced8e4963e8ffd9f
608
cpp
C++
src/MeteringSDK/MCOM/ChannelCurrentLoop.cpp
beroset/C12Adapter
593b201db169481245b0673813e19d174560a41e
[ "MIT" ]
9
2016-09-02T17:24:58.000Z
2021-12-14T19:43:48.000Z
src/MeteringSDK/MCOM/ChannelCurrentLoop.cpp
beroset/C12Adapter
593b201db169481245b0673813e19d174560a41e
[ "MIT" ]
1
2018-09-06T21:48:42.000Z
2018-09-06T21:48:42.000Z
src/MeteringSDK/MCOM/ChannelCurrentLoop.cpp
beroset/C12Adapter
593b201db169481245b0673813e19d174560a41e
[ "MIT" ]
4
2016-09-06T16:54:36.000Z
2021-12-16T16:15:24.000Z
// File MCOM/ChannelCurrentLoop.cpp #include "MCOMExtern.h" #include "ChannelCurrentLoop.h" #include "MCOMExceptions.h" #if !M_NO_SERIAL_PORT using namespace std; M_START_PROPERTIES(ChannelCurrentLoop) M_OBJECT_PROPERTY_PERSISTENT_BOOL(ChannelCurrentLoop, Echo, true) // DOXYGEN_HIDE SWIG_HIDE M_START_METHODS(Cha...
22.518519
94
0.828947
beroset
ab6818be28d2c3e3ae92e6173d14b4cc1ad97f9c
430
hpp
C++
libStat3rd/Statistical/3rdParty/RegressionGSL.hpp
EnjoMitch/EnjoLib
321167146657cba1497a9d3b4ffd71430f9b24b3
[ "BSD-3-Clause" ]
3
2021-06-14T15:36:46.000Z
2022-02-28T15:16:08.000Z
libStat3rd/Statistical/3rdParty/RegressionGSL.hpp
EnjoMitch/EnjoLib
321167146657cba1497a9d3b4ffd71430f9b24b3
[ "BSD-3-Clause" ]
1
2021-07-17T07:52:15.000Z
2021-07-17T07:52:15.000Z
libStat3rd/Statistical/3rdParty/RegressionGSL.hpp
EnjoMitch/EnjoLib
321167146657cba1497a9d3b4ffd71430f9b24b3
[ "BSD-3-Clause" ]
3
2021-07-12T14:52:38.000Z
2021-11-28T17:10:33.000Z
#ifndef REGRESSIONGSL_HPP #define REGRESSIONGSL_HPP #include <Statistical/RegressionAbstract.hpp> namespace EnjoLib { class RegressionGSL : public RegressionAbstract { public: RegressionGSL(); virtual ~RegressionGSL(); EnjoLib::VecD polynomialfit(int degree, const EnjoLib::VecD & ...
19.545455
115
0.702326
EnjoMitch
ab6a6315c61b68cf43d13e1ca68104ca678d3d63
839
cpp
C++
src/Utils.cpp
log0div0/just_for_fun
737fc18c61e2c6a698de34cb7ea80f9eeee32362
[ "MIT" ]
null
null
null
src/Utils.cpp
log0div0/just_for_fun
737fc18c61e2c6a698de34cb7ea80f9eeee32362
[ "MIT" ]
null
null
null
src/Utils.cpp
log0div0/just_for_fun
737fc18c61e2c6a698de34cb7ea80f9eeee32362
[ "MIT" ]
null
null
null
#include "Utils.hpp" #include <iostream> #include <scope_guard.hpp> std::string LoadTextFile(const fs::path& path) { if (!fs::exists(path)) { throw std::runtime_error("file " + path.string() + " does not exist"); } auto file_size = fs::file_size(path); std::ifstream f(path, std::ios::binary); if (!f) { thro...
28.931034
105
0.707986
log0div0
0366ba10fa2b70d735073a7e374a6439d5095ff8
3,142
cpp
C++
src/control/PlayerController.cpp
Vict0rynox/ft_retro
fe3ab75fb86406367837ba393e1c221133590bf4
[ "MIT" ]
null
null
null
src/control/PlayerController.cpp
Vict0rynox/ft_retro
fe3ab75fb86406367837ba393e1c221133590bf4
[ "MIT" ]
null
null
null
src/control/PlayerController.cpp
Vict0rynox/ft_retro
fe3ab75fb86406367837ba393e1c221133590bf4
[ "MIT" ]
null
null
null
// // Created by Victor Vasiliev on 11/5/17. // #include <ncurses.h> #include "PlayerController.hpp" #include "../model/Bullet.hpp" #include "../event/MoveEvent.hpp" Control::PlayerController::PlayerController() : moveUpButtonKeyCode(KEY_UP), moveDownButtonKeyCode(KEY_DOWN), moveLeftButtonKeyCode(KEY_LEFT),...
29.641509
74
0.711967
Vict0rynox
03678c0a79dc7d223c99f41c61479fef35228bf7
14,714
cpp
C++
corelib/src/OdometryBOW.cpp
jackiecx/rtabmap
e12b10b860a85872568180e11f5babd78bf266b0
[ "BSD-3-Clause" ]
1
2019-06-14T15:21:42.000Z
2019-06-14T15:21:42.000Z
corelib/src/OdometryBOW.cpp
jackiecx/rtabmap
e12b10b860a85872568180e11f5babd78bf266b0
[ "BSD-3-Clause" ]
null
null
null
corelib/src/OdometryBOW.cpp
jackiecx/rtabmap
e12b10b860a85872568180e11f5babd78bf266b0
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2010-2014, Mathieu Labbe - IntRoLab - Universite de Sherbrooke 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 ...
33.517084
130
0.681732
jackiecx
036830b0248c3c923139c799ab4797c38d19e9c3
26,758
cpp
C++
camera/CameraWrapper.cpp
AICP/device_htc_tegra3-common
de136f640f2856003072d5a098320b78c00ea46e
[ "Apache-2.0" ]
null
null
null
camera/CameraWrapper.cpp
AICP/device_htc_tegra3-common
de136f640f2856003072d5a098320b78c00ea46e
[ "Apache-2.0" ]
null
null
null
camera/CameraWrapper.cpp
AICP/device_htc_tegra3-common
de136f640f2856003072d5a098320b78c00ea46e
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2012, The CyanogenMod Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
32.671551
298
0.663316
AICP
036e881cc8e8ab042498d14be1d6248c10f006cb
775
cpp
C++
N1567-Maximum-Length-of-Subarray-With-Positive-Product/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
null
null
null
N1567-Maximum-Length-of-Subarray-With-Positive-Product/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
null
null
null
N1567-Maximum-Length-of-Subarray-With-Positive-Product/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
2
2022-01-25T05:31:31.000Z
2022-02-26T07:22:23.000Z
class Solution { public: int getMaxLen(vector<int>& nums) { int n = nums.size(); int positive = (nums[0] > 0); int negative = (nums[0] < 0); int maxLength = positive; for(int i = 1; i < n; ++i){ if(nums[i] > 0){ positive++; negative...
29.807692
66
0.433548
loyio
036f9ffb44fa743b687fcc91ce2910a018ad0fc7
5,895
cpp
C++
unit_tests/gen11/enqueue_media_kernel_gen11.cpp
FelipeMLopez/compute-runtime
3e3d2d3b3ac9129b1ee9c4251a2586fef0b300b8
[ "MIT" ]
null
null
null
unit_tests/gen11/enqueue_media_kernel_gen11.cpp
FelipeMLopez/compute-runtime
3e3d2d3b3ac9129b1ee9c4251a2586fef0b300b8
[ "MIT" ]
null
null
null
unit_tests/gen11/enqueue_media_kernel_gen11.cpp
FelipeMLopez/compute-runtime
3e3d2d3b3ac9129b1ee9c4251a2586fef0b300b8
[ "MIT" ]
null
null
null
/* * Copyright (C) 2018-2019 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "core/helpers/pipeline_select_helper.h" #include "core/helpers/preamble.h" #include "test.h" #include "unit_tests/fixtures/media_kernel_fixture.h" using namespace NEO; typedef MediaKernelFixture<HelloWorldFixtureFactory...
37.788462
137
0.76726
FelipeMLopez
0371eb1988673586d46be14c1a669bb9023b3827
1,371
cpp
C++
Class 29 - solve class 16/J.cpp
pioneerAlpha/CP_Beginner_B1
fd743b956188e927ac999e108df2f081d4f5fcb2
[ "Apache-2.0" ]
4
2020-07-10T06:37:52.000Z
2022-01-03T17:14:21.000Z
Class 29 - solve class 16/J.cpp
pioneerAlpha/CP_Beginner_B1
fd743b956188e927ac999e108df2f081d4f5fcb2
[ "Apache-2.0" ]
null
null
null
Class 29 - solve class 16/J.cpp
pioneerAlpha/CP_Beginner_B1
fd743b956188e927ac999e108df2f081d4f5fcb2
[ "Apache-2.0" ]
4
2020-11-23T16:58:45.000Z
2021-01-06T20:20:57.000Z
#include<bits/stdc++.h> #define ll long long #define N ((int)1e5 + 5) #define MOD ((int)1e8 + 7) #define MAX ((int)1e9 + 7) #define MAXL ((ll)1e10 + 7) #define MAXP ((int)1e6 + 7) #define thr 1e-8 #define pi acos(-1) /// pi = acos ( -1 ) #define fastio ios_base::sync_with_stdio(false),cin.tie(NULL) #define endl "\n" ...
21.761905
61
0.391685
pioneerAlpha
037386bb5a870e1cb4d3849afda5bec0f16f9f74
410
hpp
C++
Fusion/src/Fusion/Audio/Sound.hpp
WhoseTheNerd/Fusion
35ab536388392b3ba2e14f288eecbc292abd7dea
[ "Apache-2.0" ]
4
2018-11-12T18:43:02.000Z
2020-02-02T10:18:56.000Z
Fusion/src/Fusion/Audio/Sound.hpp
WhoseTheNerd/Fusion
35ab536388392b3ba2e14f288eecbc292abd7dea
[ "Apache-2.0" ]
2
2018-12-22T13:18:05.000Z
2019-07-24T20:15:45.000Z
Fusion/src/Fusion/Audio/Sound.hpp
WhoseTheNerd/Fusion
35ab536388392b3ba2e14f288eecbc292abd7dea
[ "Apache-2.0" ]
null
null
null
#pragma once #include "Source.hpp" #include "wave_reader.hpp" namespace Fusion { namespace Audio { class Sound { public: Sound(const char* filepath); void Play(); void SetPitch(float pitch); void SetGain(float gain); void SetPosition(float x, float y, float z); void SetVelocity(float x, float y, flo...
15.769231
46
0.685366
WhoseTheNerd
037548ea31e871eb733699bd1f3e7a85238c7bbf
508
cc
C++
Examples/C++11/lambda-cout.cc
caqg/linux-home
eed631aae6f5e59e4f46e14f1dff443abca5fa28
[ "Linux-OpenIB" ]
null
null
null
Examples/C++11/lambda-cout.cc
caqg/linux-home
eed631aae6f5e59e4f46e14f1dff443abca5fa28
[ "Linux-OpenIB" ]
null
null
null
Examples/C++11/lambda-cout.cc
caqg/linux-home
eed631aae6f5e59e4f46e14f1dff443abca5fa28
[ "Linux-OpenIB" ]
null
null
null
//?#include <algorithm> #include <functional> #include <iostream> #include <iterator> #include <string> using namespace std; /// Instead of the canonical form: /// for (int i = 1; i < argc; ++i) { /// cout << argv[i] << endl; /// } int main(int argc, char** argv) { // echo for_each(&argv[1], &argv[argc], // <-...
22.086957
83
0.588583
caqg
0380d1d48788272f10df4034acacb5485c0b5c4c
107
cpp
C++
BinaryTree.cpp
phiwen96/VulkanGraphics
47cc57833097f49148b6a5809cf6bf4a216a3db9
[ "Apache-2.0" ]
null
null
null
BinaryTree.cpp
phiwen96/VulkanGraphics
47cc57833097f49148b6a5809cf6bf4a216a3db9
[ "Apache-2.0" ]
null
null
null
BinaryTree.cpp
phiwen96/VulkanGraphics
47cc57833097f49148b6a5809cf6bf4a216a3db9
[ "Apache-2.0" ]
null
null
null
// // BinaryTree.cpp // Hej // // Created by philip wenkel on 2020-12-31. // #include "BinaryTree.hpp"
11.888889
43
0.626168
phiwen96
03854c32fb4d6e9f13daf42aa4e512377a16dc9d
669
cpp
C++
C++/string/tryCatch.cpp
faber222/Aulas-Prog
989843c5e0ede5b7a5e8fffbd4c2da80e924ffdb
[ "MIT" ]
null
null
null
C++/string/tryCatch.cpp
faber222/Aulas-Prog
989843c5e0ede5b7a5e8fffbd4c2da80e924ffdb
[ "MIT" ]
null
null
null
C++/string/tryCatch.cpp
faber222/Aulas-Prog
989843c5e0ede5b7a5e8fffbd4c2da80e924ffdb
[ "MIT" ]
null
null
null
#include <iostream> #include <list> #include <string> using namespace std; int main() { string n1 = "123"; string n2 = "abc"; int x1, x2; try { // esta conversão é feita com sucesso x1 = stoi(n1); cout << "Primeira conversão: " << x1 << endl; } catch (...) { cout << "Erro de conversão: " <<...
20.90625
59
0.54559
faber222
038dc114abbc28547bd7e6cdb3238e7c735dcfd0
487
cpp
C++
bin/lib/http/main.cpp
johnsonyl/cpps
ed91be2c1107e3cfa8e91d159be81931eacfec19
[ "MIT" ]
18
2017-09-01T04:59:23.000Z
2021-09-23T06:42:50.000Z
bin/lib/http/main.cpp
johnsonyl/cpps
ed91be2c1107e3cfa8e91d159be81931eacfec19
[ "MIT" ]
null
null
null
bin/lib/http/main.cpp
johnsonyl/cpps
ed91be2c1107e3cfa8e91d159be81931eacfec19
[ "MIT" ]
4
2017-06-15T08:46:07.000Z
2021-06-09T15:03:55.000Z
module http { var http_build_query(var data) { var params = ""; var pi = 0; foreach(var it: data) { if (pi != 0) { params ..= "&"; } pi++; params ..= it.first().."="..urlencode(it.second()); }; return params; } var get(var url) { var request = new http:...
16.233333
55
0.519507
johnsonyl
038fda1ef0ac91d02f925d4a0f1d4248af9fcab6
4,224
cc
C++
public/util/log/channel/channel_test.cc
room77/77up
736806fbf52a5e722e8e57ef5c248823b067175d
[ "MIT" ]
3
2015-05-18T14:52:47.000Z
2018-11-12T07:51:00.000Z
public/util/log/channel/channel_test.cc
room77/77up
736806fbf52a5e722e8e57ef5c248823b067175d
[ "MIT" ]
null
null
null
public/util/log/channel/channel_test.cc
room77/77up
736806fbf52a5e722e8e57ef5c248823b067175d
[ "MIT" ]
3
2015-08-04T05:58:18.000Z
2018-11-12T07:51:01.000Z
// Copyright 2013 Room77 Inc. All Rights Reserved. // Author: pramodg@room77.com (Pramod Gupta) #include "util/log/channel/channel.h" #include "test/cc/test_main.h" namespace meta { namespace channel { namespace test { TEST(GetChannel, Sanity) { EXPECT_EQ(kChannelDesktopWeb, GetChannel("")); EXPECT_EQ(kChannelDe...
37.380531
74
0.799242
room77
03a5005e59f5b278b0781c2f49dda7263f73c5ae
446
hpp
C++
libs/timer/include/sge/timer/clocks/delta.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/timer/include/sge/timer/clocks/delta.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/timer/include/sge/timer/clocks/delta.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // 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 SGE_TIMER_CLOCKS_DELTA_HPP_INCLUDED #define SGE_TIMER_CLOCKS_DELTA_HPP_INCLUDED #include <...
31.857143
61
0.755605
cpreh
03a8d53d120cebac7f41805fb42922748abf3bf5
3,351
cpp
C++
test/unit/math/opencl/rev/poisson_log_lpmf_test.cpp
bayesmix-dev/math
3616f7195adc95ef8e719a2af845d61102bc9272
[ "BSD-3-Clause" ]
1
2020-06-14T14:33:37.000Z
2020-06-14T14:33:37.000Z
test/unit/math/opencl/rev/poisson_log_lpmf_test.cpp
bayesmix-dev/math
3616f7195adc95ef8e719a2af845d61102bc9272
[ "BSD-3-Clause" ]
null
null
null
test/unit/math/opencl/rev/poisson_log_lpmf_test.cpp
bayesmix-dev/math
3616f7195adc95ef8e719a2af845d61102bc9272
[ "BSD-3-Clause" ]
1
2020-05-10T12:55:07.000Z
2020-05-10T12:55:07.000Z
#ifdef STAN_OPENCL #include <stan/math/opencl/rev.hpp> #include <stan/math.hpp> #include <gtest/gtest.h> #include <test/unit/math/opencl/util.hpp> #include <vector> TEST(ProbDistributionsPoissonLog, error_checking) { int N = 3; std::vector<int> n{1, 0, 5}; std::vector<int> n_size{1, 6, 1, 0}; std::vector<int>...
32.221154
80
0.662787
bayesmix-dev
03a986c5aa6c5ee7cf0ae9fdba03cdc49ac6bbc7
2,603
cpp
C++
src/Htv/HtvFileBkup.cpp
TonyBrewer/OpenHT
63898397de4d303ba514d88b621cc91367ffe2a6
[ "BSD-3-Clause" ]
13
2015-02-26T22:46:18.000Z
2020-03-24T11:53:06.000Z
src/Htv/HtvFileBkup.cpp
PacificBiosciences/OpenHT
63898397de4d303ba514d88b621cc91367ffe2a6
[ "BSD-3-Clause" ]
5
2016-02-25T17:08:19.000Z
2018-01-20T15:24:36.000Z
src/Htv/HtvFileBkup.cpp
TonyBrewer/OpenHT
63898397de4d303ba514d88b621cc91367ffe2a6
[ "BSD-3-Clause" ]
12
2015-04-13T21:39:54.000Z
2021-01-15T01:00:13.000Z
/* Copyright (c) 2015 Convey Computer Corporation * * This file is part of the OpenHT toolset located at: * * https://github.com/TonyBrewer/OpenHT * * Use and distribution licensed under the BSD 3-clause license. * See the LICENSE file for the complete license text. */ #include "Htv.h" #include "HtvFileBkup.h" ...
23.663636
88
0.597003
TonyBrewer
03aaba1b4af0e71f21f289ce4d454760f9b1e619
2,202
cpp
C++
water/memory_track/example/example.cpp
watercpp/water
7a9a292a2513529cf5dabac1bc7a755055dac9b5
[ "MIT" ]
5
2017-04-18T18:18:50.000Z
2018-08-03T09:13:26.000Z
water/memory_track/example/example.cpp
watercpp/water
7a9a292a2513529cf5dabac1bc7a755055dac9b5
[ "MIT" ]
null
null
null
water/memory_track/example/example.cpp
watercpp/water
7a9a292a2513529cf5dabac1bc7a755055dac9b5
[ "MIT" ]
null
null
null
// Copyright 2017 Johan Paulsson // This file is part of the Water C++ Library. It is licensed under the MIT License. // See the license.txt file in this distribution or https://watercpp.com/license.txt //\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_ #include <water/memory_track/ex...
45.875
142
0.636694
watercpp
03ac53ac81f8342827496d9a3429f4c454a5b66c
1,248
cpp
C++
NTFileSystemFilter/Power.cpp
radtek/FlieSystemFilter
ab9374a56f2cb99ab7df06c22ff602935839b9c1
[ "MIT" ]
52
2019-02-17T07:45:42.000Z
2021-12-04T04:21:27.000Z
NTFileSystemFilter/Power.cpp
killvxk/FlieSystemFilter
ab9374a56f2cb99ab7df06c22ff602935839b9c1
[ "MIT" ]
null
null
null
NTFileSystemFilter/Power.cpp
killvxk/FlieSystemFilter
ab9374a56f2cb99ab7df06c22ff602935839b9c1
[ "MIT" ]
28
2019-02-18T01:55:11.000Z
2022-03-22T12:19:10.000Z
//****************************************************************************** // License: MIT // Author: Hoffman // GitHub: https://github.com/JokerRound // Create Time: 2019-02-06 // Description: // The achieve of routine deal with power. // // Modify Log: // 2019-02-06 Hoffman // I...
34.666667
80
0.476763
radtek
03adaba5cfc092289f829a2d58ea53ae8e683299
312
cpp
C++
samples/tests/main.cpp
amir9480/signalpp
912f8e87f6ef42f800a4c840221f6dc99bb6d69e
[ "MIT" ]
22
2016-04-07T22:00:12.000Z
2021-01-26T16:50:01.000Z
samples/tests/main.cpp
amir9480/signalpp
912f8e87f6ef42f800a4c840221f6dc99bb6d69e
[ "MIT" ]
null
null
null
samples/tests/main.cpp
amir9480/signalpp
912f8e87f6ef42f800a4c840221f6dc99bb6d69e
[ "MIT" ]
1
2018-02-12T06:52:31.000Z
2018-02-12T06:52:31.000Z
#include <iostream> #include "../../signalpp/signalpp.h" using namespace std; using namespace signalpp; void a() { emit(SIGNALFUNC(a),"this is sent from signal a!"); } void b(const char* in) { cout<<in<<endl; } int main() { connect(SIGNALFUNC(a),SLOTFUNC(b,const char*)); a(); return 0; }
14.181818
54
0.628205
amir9480
03aeb64037915fc45dbc4b913d2a784445065f33
1,101
cpp
C++
test/unit/math/mix/fun/lb_constrain_test.cpp
bayesmix-dev/math
3616f7195adc95ef8e719a2af845d61102bc9272
[ "BSD-3-Clause" ]
1
2020-06-14T14:33:37.000Z
2020-06-14T14:33:37.000Z
test/unit/math/mix/fun/lb_constrain_test.cpp
bayesmix-dev/math
3616f7195adc95ef8e719a2af845d61102bc9272
[ "BSD-3-Clause" ]
null
null
null
test/unit/math/mix/fun/lb_constrain_test.cpp
bayesmix-dev/math
3616f7195adc95ef8e719a2af845d61102bc9272
[ "BSD-3-Clause" ]
1
2020-05-10T12:55:07.000Z
2020-05-10T12:55:07.000Z
#include <test/unit/math/test_ad.hpp> #include <limits> namespace lb_constrain_test { template <typename T, typename U> stan::return_type_t<T, U> g1(const T& x, const U& lb) { return stan::math::lb_constrain(x, lb); } template <typename T, typename U> stan::return_type_t<T, U> g2(const T& x, const U& lb) { T lp = ...
26.214286
55
0.654859
bayesmix-dev
03b2415292ec5ae5355fb787d45a441920219915
4,203
cc
C++
src/compressed-sensing/model/cs-header.cc
HerrFroehlich/ns3-CompressedSensing
f5e4e56aeea97794695ecef6183bdaa1b72fd1de
[ "MIT" ]
null
null
null
src/compressed-sensing/model/cs-header.cc
HerrFroehlich/ns3-CompressedSensing
f5e4e56aeea97794695ecef6183bdaa1b72fd1de
[ "MIT" ]
null
null
null
src/compressed-sensing/model/cs-header.cc
HerrFroehlich/ns3-CompressedSensing
f5e4e56aeea97794695ecef6183bdaa1b72fd1de
[ "MIT" ]
null
null
null
/** * \file cs-header.cc * * \author Tobias Waurick * \date 07.07.17 * */ #include <iostream> #include "cs-header.h" #include "ns3/log.h" #include "assert.h" NS_OBJECT_ENSURE_REGISTERED(CsHeader); CsHeader::CsHeader() : m_clusterId(0), m_nodeId(0), m_seq(0), ...
27.651316
123
0.344992
HerrFroehlich
03b5beabec87a1d68d6fd8b8ca8e34916351f84a
42
cpp
C++
src/logger.cpp
ChrisRuff/Ruff
a095039fe6e75e82c5bb6447d005b3dd44ed3eaa
[ "MIT" ]
null
null
null
src/logger.cpp
ChrisRuff/Ruff
a095039fe6e75e82c5bb6447d005b3dd44ed3eaa
[ "MIT" ]
4
2020-11-22T23:44:01.000Z
2021-04-21T16:28:38.000Z
src/logger.cpp
ChrisRuff/Ruff
a095039fe6e75e82c5bb6447d005b3dd44ed3eaa
[ "MIT" ]
null
null
null
#include "logger.hpp" namespace ruff { }
7
21
0.690476
ChrisRuff
03b7bfcd1e7dce41806c83084d759c46a69d01a2
4,730
hpp
C++
examples/FrameworkSDL2.hpp
PixelOfDeath/glCompact
68334cc9c3aa20255e8986ad1ee5fa8e23df354d
[ "MIT" ]
null
null
null
examples/FrameworkSDL2.hpp
PixelOfDeath/glCompact
68334cc9c3aa20255e8986ad1ee5fa8e23df354d
[ "MIT" ]
null
null
null
examples/FrameworkSDL2.hpp
PixelOfDeath/glCompact
68334cc9c3aa20255e8986ad1ee5fa8e23df354d
[ "MIT" ]
null
null
null
#include <SDL.h> #include <glCompact/glCompact.hpp> #include <iostream> void crash(std::string s){ std::cout << s << std::endl; exit(-1); } class FrameworkWindow { friend class FrameworkMain; public: FrameworkWindow(int glMayor, int glMinor, bool gles, int sizeX, int sizeY) { t...
33.309859
125
0.518182
PixelOfDeath
03bafd6bee99ad368cdc0e923221befb8e30cc38
4,755
hpp
C++
test/engine/_OpenGL.hpp
tcoppex/cudaraster-linux
a0112e1301fca8e5313098f13b27e6f2d7683a7f
[ "Apache-2.0" ]
4
2017-11-25T16:43:10.000Z
2021-01-31T05:08:33.000Z
test/engine/_OpenGL.hpp
tcoppex/cudaraster-linux
a0112e1301fca8e5313098f13b27e6f2d7683a7f
[ "Apache-2.0" ]
1
2021-04-12T02:22:35.000Z
2021-04-12T02:22:35.000Z
test/engine/_OpenGL.hpp
tcoppex/cudaraster-linux
a0112e1301fca8e5313098f13b27e6f2d7683a7f
[ "Apache-2.0" ]
2
2017-04-16T19:26:58.000Z
2017-06-08T06:26:28.000Z
#ifndef ENGINE_OPENGL_HPP_ #define ENGINE_OPENGL_HPP_ #include <GL/glew.h> #include "Common.hpp" class OpenGL { private: // ++ Constants ++ static int sMaxDrawBuffer; static int sMaxColorAttachments; static int sTextureMaxAnisotropy; // ++ States ++ static int viewport_[4]; ...
26.864407
93
0.664774
tcoppex
03bb873861b33efaabec8f6e4acf3a2bfeb9729d
4,652
cpp
C++
Libs/Library/Source/GameObjects/DefaultGameComponent/ShadowComponent.cpp
butibuti/ButiEngine
0d5b68461060fdcf9049a4afd51211c84f3472d1
[ "MIT" ]
null
null
null
Libs/Library/Source/GameObjects/DefaultGameComponent/ShadowComponent.cpp
butibuti/ButiEngine
0d5b68461060fdcf9049a4afd51211c84f3472d1
[ "MIT" ]
null
null
null
Libs/Library/Source/GameObjects/DefaultGameComponent/ShadowComponent.cpp
butibuti/ButiEngine
0d5b68461060fdcf9049a4afd51211c84f3472d1
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "..\..\..\Header\GameObjects\DefaultGameComponent\ModelDrawComponent.h" #include "..\..\..\Header\GameObjects\DefaultGameComponent\ShadowComponent.h" #include"Header/Resources/DrawData/DrawData_Dx12.h" #include"Header/Resources/DrawData/ModelDrawData_Dx12.h" void ButiEngine::ShadowComponent...
29.257862
205
0.730653
butibuti
03bcd8e39a62ed34bd48e5822e294ea95d13bcd4
1,661
hpp
C++
src/ai/api/ai_waypointlist.hpp
trademarks/OpenTTD
fd7fca73cf61a2960e8df8fa221b179d23ae3ef0
[ "Unlicense" ]
8
2016-10-21T09:01:43.000Z
2021-05-31T06:32:14.000Z
src/ai/api/ai_waypointlist.hpp
blackberry/OpenTTD
fd7fca73cf61a2960e8df8fa221b179d23ae3ef0
[ "Unlicense" ]
null
null
null
src/ai/api/ai_waypointlist.hpp
blackberry/OpenTTD
fd7fca73cf61a2960e8df8fa221b179d23ae3ef0
[ "Unlicense" ]
4
2017-05-16T00:15:58.000Z
2020-08-06T01:46:31.000Z
/* $Id$ */ /* * This file is part of OpenTTD. * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without...
33.897959
185
0.74112
trademarks
03c0ef4e9988b769066a61916b46bd2a7d3d6bb1
885
hpp
C++
src/Core/Animation/Cage.hpp
sylvaindeker/Radium-Engine
64164a258b3f7864c73a07c070e49b7138488d62
[ "Apache-2.0" ]
1
2018-04-16T13:55:45.000Z
2018-04-16T13:55:45.000Z
src/Core/Animation/Cage.hpp
sylvaindeker/Radium-Engine
64164a258b3f7864c73a07c070e49b7138488d62
[ "Apache-2.0" ]
null
null
null
src/Core/Animation/Cage.hpp
sylvaindeker/Radium-Engine
64164a258b3f7864c73a07c070e49b7138488d62
[ "Apache-2.0" ]
null
null
null
#ifndef CAGE_HANDLE_H #define CAGE_HANDLE_H #include <Core/Animation/Handle.hpp> #include <Core/Container/VectorArray.hpp> #include <Core/Geometry/MeshTypes.hpp> // Triangle #include <Core/RaCore.hpp> namespace Ra { namespace Core { namespace Animation { /** * The Cage handle class. * * The Cage ha...
21.585366
97
0.662147
sylvaindeker
03c155880ad99caed5b72fc9e60656cdceeeccf3
1,295
cpp
C++
part-01/2_18_find-peak-element.cpp
abhijeetbodas2001/DSA
ff244dea639a4a5c203e21df3efa47ff079f452a
[ "MIT" ]
null
null
null
part-01/2_18_find-peak-element.cpp
abhijeetbodas2001/DSA
ff244dea639a4a5c203e21df3efa47ff079f452a
[ "MIT" ]
null
null
null
part-01/2_18_find-peak-element.cpp
abhijeetbodas2001/DSA
ff244dea639a4a5c203e21df3efa47ff079f452a
[ "MIT" ]
null
null
null
// Problem: https://leetcode.com/problems/find-peak-element/ // O(log(n)) time, O(1) extra space // Modified binary search. class Solution { public: int findPeakElement(vector<int>& nums) { int len = nums.size(); int left = 0; int right = len - 1; int mid; if (len == 1) { retur...
25.392157
83
0.492664
abhijeetbodas2001
03c193ed4d000a56e21ddac5003d394264048d9d
158,651
cpp
C++
ifg/qt/visualizador3d_dialogos.cpp
matferib/tabuleiro-virtual
e6445327e2840faa6a89c9883e395a229ba2bd0f
[ "CC-BY-3.0" ]
4
2015-03-03T21:39:52.000Z
2020-08-01T23:39:43.000Z
ifg/qt/visualizador3d_dialogos.cpp
matferib/tabuleiro-virtual
e6445327e2840faa6a89c9883e395a229ba2bd0f
[ "CC-BY-3.0" ]
null
null
null
ifg/qt/visualizador3d_dialogos.cpp
matferib/tabuleiro-virtual
e6445327e2840faa6a89c9883e395a229ba2bd0f
[ "CC-BY-3.0" ]
1
2015-03-14T09:25:28.000Z
2015-03-14T09:25:28.000Z
#include "ifg/qt/visualizador3d.h" #include <QPainter> #include <QBoxLayout> #include <QColorDialog> #include <QDesktopWidget> #include <QDialog> #include <QDialogButtonBox> #include <QFileDialog> #include <QFileInfo> #include <QItemDelegate> #include <QMenu> #include <QMessageBox> #include <QMouseEvent> #include <QOp...
48.845751
186
0.715319
matferib
03c3248f5ab551e087bd4be7d1e1bd4791ea52f3
49,020
cxx
C++
PWGCF/Correlations/DPhi/AliAnalysisTaskCorPIDTOFQA.cxx
amveen/AliPhysics
bef49dc8e7f8ad5f656d54430031eb67abcf3243
[ "BSD-3-Clause" ]
null
null
null
PWGCF/Correlations/DPhi/AliAnalysisTaskCorPIDTOFQA.cxx
amveen/AliPhysics
bef49dc8e7f8ad5f656d54430031eb67abcf3243
[ "BSD-3-Clause" ]
null
null
null
PWGCF/Correlations/DPhi/AliAnalysisTaskCorPIDTOFQA.cxx
amveen/AliPhysics
bef49dc8e7f8ad5f656d54430031eb67abcf3243
[ "BSD-3-Clause" ]
null
null
null
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
40.815987
168
0.522297
amveen
03c626065dd85567b1d5242c79221f8bf67d1b9e
10,008
cc
C++
js/bidding_agent_js.cc
jsbejeau/rtbkit
8f1d043efce5c42c6a3e490e16f98f0e04eb3a21
[ "Apache-2.0" ]
2
2017-03-01T04:57:50.000Z
2020-02-13T20:51:43.000Z
js/bidding_agent_js.cc
leobispo/rtbkit
e5e29bf55bfe273d5f9d2b6a588c180b3183fbd8
[ "Apache-2.0" ]
null
null
null
js/bidding_agent_js.cc
leobispo/rtbkit
e5e29bf55bfe273d5f9d2b6a588c180b3183fbd8
[ "Apache-2.0" ]
null
null
null
/* bidding_agent_js.cc -*- C++ -*- Rémi Attab, 14 December 2011 Copyright (c) 2011 Datacratic. All rights reserved. Provides the JS bindings for the router proxy. */ #define BOOST_FUNCTION_MAX_ARGS 20 #include "bidding_agent_js.h" #include "bid_request_js.h" #in...
33.139073
88
0.52518
jsbejeau
03cfd41e791051f8e3a97f5797335c7da85e6275
142,549
cpp
C++
src/shadereditor/src/shadereditor/vnodeview.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/shadereditor/src/shadereditor/vnodeview.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/shadereditor/src/shadereditor/vnodeview.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
#include "cbase.h" #include <vgui/IInput.h> #include <vgui/IPanel.h> #include "vgui/ISurface.h" #include "ienginevgui.h" #include <vgui_controls/button.h> #include <vgui_controls/textentry.h> #include <vgui_controls/richtext.h> #include <vgui_controls/menu.h> #include <vgui_controls/menuitem.h> #include <vgu...
34.316081
179
0.608913
cstom4994
03d0f9af8ad498a3f42e6ee19a1869ab5fbc078d
2,658
cpp
C++
src/AdventOfCode2017/Day18-Duet/AssemblyProgram.cpp
dbartok/advent-of-code-cpp
c8c2df7a21980f8f3e42128f7bc5df8288f18490
[ "MIT" ]
null
null
null
src/AdventOfCode2017/Day18-Duet/AssemblyProgram.cpp
dbartok/advent-of-code-cpp
c8c2df7a21980f8f3e42128f7bc5df8288f18490
[ "MIT" ]
null
null
null
src/AdventOfCode2017/Day18-Duet/AssemblyProgram.cpp
dbartok/advent-of-code-cpp
c8c2df7a21980f8f3e42128f7bc5df8288f18490
[ "MIT" ]
null
null
null
#include "AssemblyProgram.h" #include <AdventOfCodeCommon/DisableLibraryWarningsMacros.h> __BEGIN_LIBRARIES_DISABLE_WARNINGS // Add library includes here __END_LIBRARIES_DISABLE_WARNINGS namespace AdventOfCode { namespace Year2017 { namespace Day18 { AssemblyProgram::AssemblyProgram(std::vector<AssemblyInstruction:...
23.945946
99
0.699774
dbartok
03d3c903978edf9392e13922bb3aa46f0710565a
29,519
cpp
C++
Tempest/ui/widget.cpp
enotio/Tempest
1a7105cfca3669d54c696ad8188f04f25159c0a0
[ "MIT" ]
5
2017-05-31T21:25:57.000Z
2020-01-14T14:11:41.000Z
Tempest/ui/widget.cpp
enotio/Tempest
1a7105cfca3669d54c696ad8188f04f25159c0a0
[ "MIT" ]
2
2017-11-13T14:32:21.000Z
2018-10-03T17:07:36.000Z
Tempest/ui/widget.cpp
enotio/Tempest
1a7105cfca3669d54c696ad8188f04f25159c0a0
[ "MIT" ]
2
2018-01-31T14:06:58.000Z
2018-10-02T11:46:34.000Z
#include "widget.h" #include <Tempest/Layout> #include <Tempest/Painter> #include <Tempest/Shortcut> #include <Tempest/Assert> #include <Tempest/Application> #include <algorithm> #include <functional> using namespace Tempest; /// \cond HIDDEN_SYMBOLS struct Widget::DeleteGuard { DeleteGuard( Widget* w):w(w){ ...
20.32989
97
0.574037
enotio
03d659b6b3e0d7110ca0039d1be3b852a88f5602
8,602
hpp
C++
support/ViewComm_cuda.hpp
SCOREC/pumi-pic
e6a7a59cff180f2bf3426e5c5fdfd9e8a70f4dc2
[ "BSD-3-Clause" ]
16
2019-05-02T08:33:11.000Z
2022-03-25T12:13:42.000Z
support/ViewComm_cuda.hpp
SCOREC/pumi-pic
e6a7a59cff180f2bf3426e5c5fdfd9e8a70f4dc2
[ "BSD-3-Clause" ]
63
2019-01-10T21:58:36.000Z
2021-12-22T21:27:29.000Z
support/ViewComm_cuda.hpp
SCOREC/pumi-pic
e6a7a59cff180f2bf3426e5c5fdfd9e8a70f4dc2
[ "BSD-3-Clause" ]
11
2019-04-10T19:01:42.000Z
2021-06-25T00:26:47.000Z
/************** Cuda Communication functions **************/ #ifdef PP_USE_CUDA //Return type check to see if the memory space is not the host space template <typename Space> using IsCuda = typename std::enable_if<!Kokkos::SpaceAccessibility<typename Space::memory_space, ...
38.401786
105
0.608812
SCOREC
03d82e88475e5bb5b403cf53ed962240cdbb06aa
46,781
hpp
C++
include/UnityEngine/UI/Scrollbar.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/UnityEngine/UI/Scrollbar.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/UnityEngine/UI/Scrollbar.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: UnityEngine.UI.Selectable #include ...
58.549437
278
0.745067
v0idp
03dc113a0dc6dd365f2d1d259fc8df1690f738fd
625
cpp
C++
Emergency System/EmergencySystem.cpp
art22m/UniversityAcessSystem
66e09b4e9e999e96d941bfcf7cd77fadf84b2b8a
[ "MIT" ]
null
null
null
Emergency System/EmergencySystem.cpp
art22m/UniversityAcessSystem
66e09b4e9e999e96d941bfcf7cd77fadf84b2b8a
[ "MIT" ]
null
null
null
Emergency System/EmergencySystem.cpp
art22m/UniversityAcessSystem
66e09b4e9e999e96d941bfcf7cd77fadf84b2b8a
[ "MIT" ]
null
null
null
// // Created by Артём Мурашко on 21.03.2021. // #include "EmergencySystem.h" EmergencySystem::EmergencySystem() { this -> emergency = false; } bool EmergencySystem::isEmergency() { return emergency; } void EmergencySystem::setEmergency(bool condition) { if (condition == emergency) { std::cout <...
19.53125
88
0.6336
art22m
03e116711037f2d7d866025b1a20f9d86ecb6852
3,387
cpp
C++
src/graph/src/TopologicalOrderIterator.cpp
karz0n/algorithms
b2a08ba990c7e4f078eb7bf3c90d050eb38de9d8
[ "MIT" ]
1
2020-04-18T14:34:16.000Z
2020-04-18T14:34:16.000Z
src/graph/src/TopologicalOrderIterator.cpp
karz0n/algorithms
b2a08ba990c7e4f078eb7bf3c90d050eb38de9d8
[ "MIT" ]
null
null
null
src/graph/src/TopologicalOrderIterator.cpp
karz0n/algorithms
b2a08ba990c7e4f078eb7bf3c90d050eb38de9d8
[ "MIT" ]
null
null
null
/** * This program is free software: you can redistribute it and/or modify * it under the terms of the License. * * This program is distributed in the hope that it will be useful, * but WITHOUT WARRANTY OF ANY KIND; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See th...
20.907407
91
0.68261
karz0n
03e22dbddd6727fe81dd9f47dadadacadaca8d3d
8,879
cpp
C++
test/test_fstream_special.cpp
bazelboost/nowide
a944d2226dd7fce4fca4fe3e17bff71f7fdcfb2b
[ "BSL-1.0" ]
null
null
null
test/test_fstream_special.cpp
bazelboost/nowide
a944d2226dd7fce4fca4fe3e17bff71f7fdcfb2b
[ "BSL-1.0" ]
null
null
null
test/test_fstream_special.cpp
bazelboost/nowide
a944d2226dd7fce4fca4fe3e17bff71f7fdcfb2b
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2015 Artyom Beilis (Tonkikh) // Copyright (c) 2019-2021 Alexander Grund // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <boost/nowide/fstream.hpp> #include <boost/nowide/convert.hpp> #...
31.938849
117
0.580358
bazelboost
03e48bbf382f85a0278fecf54a7a65747ed253f7
548
cpp
C++
Challenges - Sorting & Searching/SORTING IN LINEAR TIME.cpp
sgpritam/DSAlgo
3e0e6b19d4f8978b2fc3be48195705a285dbdce8
[ "MIT" ]
1
2020-03-06T21:05:14.000Z
2020-03-06T21:05:14.000Z
Challenges - Sorting & Searching/SORTING IN LINEAR TIME.cpp
sgpritam/DSAlgo
3e0e6b19d4f8978b2fc3be48195705a285dbdce8
[ "MIT" ]
2
2020-03-09T05:08:14.000Z
2020-03-09T05:14:09.000Z
Challenges - Sorting & Searching/SORTING IN LINEAR TIME.cpp
sgpritam/DSAlgo
3e0e6b19d4f8978b2fc3be48195705a285dbdce8
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { long long int n; cin>>n; int a[1000000]; for(long long int i =0;i<n;i++){ cin>>a[i]; } long long int low=0,mid=0,high =n-1; while(mid<= high){ if(a[mid]==0){ swap(a[mid],a[low]); low++; ...
18.896552
40
0.394161
sgpritam
03ef63d0eaf26436e6ef40c000e0e9d366273dc6
1,227
cpp
C++
63-UniquePathsII.cpp
zjukk/LeetCode-is-my-son
d8851bd2a76f77e4bec89c6a5947acb435fff074
[ "Apache-2.0" ]
null
null
null
63-UniquePathsII.cpp
zjukk/LeetCode-is-my-son
d8851bd2a76f77e4bec89c6a5947acb435fff074
[ "Apache-2.0" ]
1
2019-08-15T16:55:04.000Z
2019-08-15T16:55:04.000Z
63-UniquePathsII.cpp
zjukk/LeetCode-is-my-son
d8851bd2a76f77e4bec89c6a5947acb435fff074
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> using namespace std; class Solution { public: int uniquePathsWithObstacles(vector<vector<int>>& obstacleGrid) { if (obstacleGrid.empty()) return 0; int m = obstacleGrid.size(); int n = obstacleGrid[0].size(); vector<vector<i...
28.534884
75
0.424613
zjukk
03f1815eadb4a3238b9def832bcf7df65789bc9a
1,358
cpp
C++
0024_Swap Nodes in Pairs.cpp
RickTseng/Cpp_LeetCode
6a710b8abc268eba767bc17d91d046b90a7e34a9
[ "MIT" ]
1
2021-09-13T00:58:59.000Z
2021-09-13T00:58:59.000Z
0024_Swap Nodes in Pairs.cpp
RickTseng/Cpp_LeetCode
6a710b8abc268eba767bc17d91d046b90a7e34a9
[ "MIT" ]
null
null
null
0024_Swap Nodes in Pairs.cpp
RickTseng/Cpp_LeetCode
6a710b8abc268eba767bc17d91d046b90a7e34a9
[ "MIT" ]
null
null
null
#include<vector> #include<stdlib.h> #include<algorithm> using namespace std; struct ListNode { int val; ListNode *next; ListNode() : val(0), next(nullptr) {} ListNode(int x) : val(x), next(nullptr) {} ListNode(int x, ListNode *next) : val(x), next(next) {} }; class Solution { public: ListNode* ...
25.622642
93
0.563328
RickTseng
ff0362aa21ae03d8ecd0a9d5ebc15f04695135a7
2,542
cpp
C++
components/esm/loaddial.cpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
components/esm/loaddial.cpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
components/esm/loaddial.cpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
#include "loaddial.hpp" #include <iostream> #include "esmreader.hpp" #include "esmwriter.hpp" #include "defs.hpp" namespace ESM { unsigned int Dialogue::sRecordId = REC_DIAL; void Dialogue::load(ESMReader &esm) { esm.getSubNameIs("DATA"); esm.getSubHeader(); int si = esm.getSubSize(); if (si == ...
20.336
83
0.551141
Bodillium
ff0536178161fbd797e7940cd70a32e681db430e
2,495
cpp
C++
software/src/8.0/src/backend/VContainerHandle.cpp
c-kuhlman/vision
46b25f7c0da703c059acc8f0a2eac1d5badf9f6d
[ "BSD-3-Clause" ]
30
2016-10-07T15:23:35.000Z
2020-03-25T20:01:30.000Z
software/src/8.0/src/backend/VContainerHandle.cpp
VisionAerie/vision
e40c39e3abc49b0e2c9623204c54b900c4333f29
[ "BSD-3-Clause" ]
30
2016-10-31T19:48:08.000Z
2021-04-28T01:31:53.000Z
software/src/8.0/src/backend/VContainerHandle.cpp
c-kuhlman/vision
46b25f7c0da703c059acc8f0a2eac1d5badf9f6d
[ "BSD-3-Clause" ]
15
2016-10-07T16:44:13.000Z
2021-06-21T18:47:55.000Z
/***** VContainerHandle Implementation *****/ /************************ ************************ ***** Interfaces ***** ************************ ************************/ /******************** ***** System ***** ********************/ #include "Vk.h" /****************** ***** Self ***** *************...
26.542553
117
0.526253
c-kuhlman
ff077076cd133879e87ed41c84b24105ba1adbd4
2,249
cpp
C++
deps/whereami/example/executable.cpp
muasim/Vulkan-Playground
2711ac24ccdd98590eba8e81a3d6cacf63d9718c
[ "MIT" ]
null
null
null
deps/whereami/example/executable.cpp
muasim/Vulkan-Playground
2711ac24ccdd98590eba8e81a3d6cacf63d9718c
[ "MIT" ]
null
null
null
deps/whereami/example/executable.cpp
muasim/Vulkan-Playground
2711ac24ccdd98590eba8e81a3d6cacf63d9718c
[ "MIT" ]
null
null
null
#include <iostream> #include <whereami++.h> #if defined(_WIN32) #define WIN32_LEAN_AND_MEAN #if defined(_MSC_VER) #pragma warning(push, 3) #endif #include <windows.h> #define RTLD_LAZY 1 #define RTLD_NOW 2 #define RTLD_GLOBAL 4 #define RTLD_LOCAL 8 static void* dlopen(const char* fileName, int mode) { wchar_t bu...
22.04902
167
0.651845
muasim
ff0935b2834cd02ef6dd2d8e77d385eb25941de2
17
cpp
C++
Ember/src/Epch.cpp
khalidHsoliman/Ember
4631dd0f7b56e7472dbce148bf2d9bf5680e8950
[ "Apache-2.0" ]
1
2019-04-15T21:01:51.000Z
2019-04-15T21:01:51.000Z
Ember/src/Epch.cpp
khalidHsoliman/Ember
4631dd0f7b56e7472dbce148bf2d9bf5680e8950
[ "Apache-2.0" ]
null
null
null
Ember/src/Epch.cpp
khalidHsoliman/Ember
4631dd0f7b56e7472dbce148bf2d9bf5680e8950
[ "Apache-2.0" ]
null
null
null
#include "Epch.h"
17
17
0.705882
khalidHsoliman
ff0a77140049bd66d26845056fb38790a34ecae7
9,053
cpp
C++
src/defined_area_scanner.cpp
alexthorne90/msc_robot_arm
1b6a4555a904f5fd5053f2186ed4e471b1011663
[ "MIT" ]
null
null
null
src/defined_area_scanner.cpp
alexthorne90/msc_robot_arm
1b6a4555a904f5fd5053f2186ed4e471b1011663
[ "MIT" ]
null
null
null
src/defined_area_scanner.cpp
alexthorne90/msc_robot_arm
1b6a4555a904f5fd5053f2186ed4e471b1011663
[ "MIT" ]
null
null
null
/** * @file defined_area_scanner.cpp * @author Alex Thorne * @version 1.0 */ #include "defined_area_scanner.h" //#define DEFINED_AREA_SCANNER_DEBUG DefinedAreaScanner::DefinedAreaScanner(void) : MetalScanner() { //initialize horizontal_desired_travel_mm = DEFAULT_HORIZONTAL_DESIRED_TRAVEL_MM; depth_desi...
26.089337
81
0.65945
alexthorne90
ff0b3c683bf0993dc8f131360b23f0b9771148a4
3,391
hpp
C++
libserver/proof_systems/r1cs_adapter.hpp
alittlehorse/osprey
22f290a7de3413a847e3dc33c96328752cc37f47
[ "MIT" ]
5
2021-03-04T08:28:38.000Z
2021-04-20T11:50:40.000Z
libserver/proof_systems/r1cs_adapter.hpp
alittlehorse/osprey
22f290a7de3413a847e3dc33c96328752cc37f47
[ "MIT" ]
null
null
null
libserver/proof_systems/r1cs_adapter.hpp
alittlehorse/osprey
22f290a7de3413a847e3dc33c96328752cc37f47
[ "MIT" ]
1
2021-05-22T15:50:15.000Z
2021-05-22T15:50:15.000Z
/** @file ***************************************************************************** Declaration of interface of r1cs_adapter. r1cs_adapter translates three part: 1. tinyram_circuit to r1cs constraint system 2. tinyram_primary input to r1cs primary input 3. tinyram aux_struct input to r1cs aux_struct input t...
45.824324
176
0.760838
alittlehorse
ff0e19085b9c73eadd0af0dc8c96770748278000
12,189
cpp
C++
src/SgfExtractor.cpp
kobanium/Ray
d810455824637aabac010ba0bd51eb23c0890cd1
[ "BSD-2-Clause" ]
44
2017-08-09T13:31:40.000Z
2022-02-18T15:20:27.000Z
src/SgfExtractor.cpp
koban6/Ray
d810455824637aabac010ba0bd51eb23c0890cd1
[ "BSD-2-Clause" ]
9
2016-12-17T05:55:02.000Z
2017-06-18T15:41:37.000Z
src/SgfExtractor.cpp
kobanium/Ray
d810455824637aabac010ba0bd51eb23c0890cd1
[ "BSD-2-Clause" ]
23
2017-06-22T03:31:11.000Z
2022-02-02T10:07:38.000Z
#include <cstdio> #include <cstdlib> #include <cstring> #include <cctype> #include "GoBoard.h" #include "Message.h" #include "SgfExtractor.h" // SGFの座標を数値に変換 static int ParsePosition( const char c ); // 盤の大きさの抽出 static int GetSize( SGF_record_t *kifu, const char *sgf_text, const int cursor ); // 結果の抽出 s...
28.952494
114
0.539995
kobanium
ff0ecb6cc365a1f279e38f0350feb46f793eab01
3,983
cpp
C++
src/core/template.cpp
PeculiarVentures/pvpkcs11
474cf3b2a958c83ccfebf3165e45e7f46d649c81
[ "MIT" ]
30
2017-05-25T08:54:25.000Z
2021-12-21T13:42:35.000Z
src/core/template.cpp
PeculiarVentures/pvpkcs11
474cf3b2a958c83ccfebf3165e45e7f46d649c81
[ "MIT" ]
37
2017-05-24T21:47:36.000Z
2021-06-02T09:23:54.000Z
src/core/template.cpp
PeculiarVentures/pvpkcs11
474cf3b2a958c83ccfebf3165e45e7f46d649c81
[ "MIT" ]
7
2017-07-22T09:50:13.000Z
2019-08-18T23:42:52.000Z
#include "template.h" #include "excep.h" #include "name.h" using namespace core; Template::Template( CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulTemplateLen ) : pTemplate(pTemplate), ulTemplateLen(ulTemplateLen) { } CK_ULONG Template::Size() { return ulTemplateLen; } CK_ATTRIBUTE_PTR Template::G...
28.862319
143
0.604569
PeculiarVentures
ff0ff05235f6837b1e248133fee285b9117f9224
3,187
cc
C++
tinyrpc/net/timer.cc
Gooddbird/tinyrpc
b87b8ba3ddf3e17b235e29c73131e6912b875b6f
[ "Apache-2.0" ]
11
2022-02-27T17:32:46.000Z
2022-03-27T04:09:22.000Z
tinyrpc/net/timer.cc
Gooddbird/tinyrpc
b87b8ba3ddf3e17b235e29c73131e6912b875b6f
[ "Apache-2.0" ]
1
2022-03-08T05:12:37.000Z
2022-03-08T05:37:44.000Z
tinyrpc/net/timer.cc
Gooddbird/tinyrpc
b87b8ba3ddf3e17b235e29c73131e6912b875b6f
[ "Apache-2.0" ]
5
2022-02-28T07:45:41.000Z
2022-03-26T06:25:28.000Z
#include <sys/timerfd.h> #include <assert.h> #include <time.h> #include <string.h> #include <vector> #include <sys/time.h> #include <functional> #include <map> #include "../comm/log.h" #include "timer.h" #include "mutex.h" #include "fd_event.h" #include "../coroutine/coroutine_hook.h" extern read_fun_ptr_t g_sys_read...
22.443662
77
0.634139
Gooddbird
ff11f98b80b5ffad395e0bad26972859bad4cd6f
3,749
cc
C++
src/Modules/Legacy/Bundle/InsertMatricesIntoBundle.cc
kimjohn1/SCIRun
62ae6cb632100371831530c755ef0b133fb5c978
[ "MIT" ]
1
2020-05-14T02:44:58.000Z
2020-05-14T02:44:58.000Z
src/Modules/Legacy/Bundle/InsertMatricesIntoBundle.cc
kimjohn1/SCIRun
62ae6cb632100371831530c755ef0b133fb5c978
[ "MIT" ]
null
null
null
src/Modules/Legacy/Bundle/InsertMatricesIntoBundle.cc
kimjohn1/SCIRun
62ae6cb632100371831530c755ef0b133fb5c978
[ "MIT" ]
null
null
null
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2020 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ...
35.367925
110
0.725794
kimjohn1
d42ea8648535cac7b78586be8c76e607f7490425
3,945
cpp
C++
src/myengine/Transform.cpp
asderfghj/MyEngine
13baf9122211b440f928c5cd14d6af378f0eca24
[ "MIT" ]
null
null
null
src/myengine/Transform.cpp
asderfghj/MyEngine
13baf9122211b440f928c5cd14d6af378f0eca24
[ "MIT" ]
null
null
null
src/myengine/Transform.cpp
asderfghj/MyEngine
13baf9122211b440f928c5cd14d6af378f0eca24
[ "MIT" ]
null
null
null
#include "gtc/matrix_transform.hpp" #include "gtc/type_ptr.hpp" #include "Transform.h" namespace frontier { void Transform::OnInit(std::weak_ptr<Entity> _parent) { Component::OnInit(_parent); m_position = glm::vec3(0.0f, 0.0f, 0.0f); m_rotation = glm::vec3(0.0f, 0.0f, 0.0f); m_scale = glm::vec3(1.0f, 1.0f, ...
25.288462
154
0.665399
asderfghj
d42f166b8cf63e8363fc535d003553f218682cfb
4,646
hpp
C++
include/NatSuite/Devices/MediaDeviceQuery_--c__DisplayClass9_0.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/NatSuite/Devices/MediaDeviceQuery_--c__DisplayClass9_0.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/NatSuite/Devices/MediaDeviceQuery_--c__DisplayClass9_0.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: NatSuite.Devices.MediaDeviceQuery #...
52.795455
249
0.744942
RedBrumbler
d435f933df6c3f33ce9bbd0d180b06ce10e9329f
1,058
hpp
C++
sprout/predef/platform/windows_phone.hpp
kevcadieux/Sprout
6b5addba9face0a6403e66e7db2aa94d87387f61
[ "BSL-1.0" ]
691
2015-01-15T18:52:23.000Z
2022-03-15T23:39:39.000Z
sprout/predef/platform/windows_phone.hpp
kevcadieux/Sprout
6b5addba9face0a6403e66e7db2aa94d87387f61
[ "BSL-1.0" ]
22
2015-03-11T01:22:56.000Z
2021-03-29T01:51:45.000Z
sprout/predef/platform/windows_phone.hpp
kevcadieux/Sprout
6b5addba9face0a6403e66e7db2aa94d87387f61
[ "BSL-1.0" ]
57
2015-03-11T07:52:29.000Z
2021-12-16T09:15:33.000Z
/*============================================================================= Copyright (c) 2011-2019 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprout Distributed under the sprout Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0....
36.482759
92
0.68242
kevcadieux
d43a53412f32156b66a7f6e7c15440fe1aba00ee
3,168
cpp
C++
test/InputMapTest.cpp
AkshayRajaramanSubramanian/CPP-RRT
e0ed8da90d287ca227c6d329a0bca0ccb1c7ef29
[ "MIT" ]
1
2018-10-06T23:48:42.000Z
2018-10-06T23:48:42.000Z
test/InputMapTest.cpp
AkshayRajaramanSubramanian/CPP-RRT
e0ed8da90d287ca227c6d329a0bca0ccb1c7ef29
[ "MIT" ]
1
2018-10-09T19:36:53.000Z
2018-10-09T19:36:53.000Z
test/InputMapTest.cpp
AkshayRajaramanSubramanian/CPP-RRT
e0ed8da90d287ca227c6d329a0bca0ccb1c7ef29
[ "MIT" ]
5
2018-10-06T23:53:55.000Z
2018-12-01T03:49:22.000Z
/* * @file InputMapTest.cpp * @Copyright MIT license * Copyright (c) 2018 Bala Murali Manoghar Sai Sudhakar * Copyright (c) 2018 Akshay Rajaraman * @author Bala Murali Manoghar Sai Sudhakar * @author Akshay Rajaraman * @brief Testing InputMap class */ #include <gtest/gtest.h> #include <sstream> #include <iostr...
24.55814
78
0.609217
AkshayRajaramanSubramanian
d44b80935e42da8798c08a864a4b59e0f846fb53
13,845
cpp
C++
openstudiocore/src/utilities/data/EndUses.cpp
hellok-coder/OS-Testing
e9e18ad9e99f709a3f992601ed8d2e0662175af4
[ "blessing" ]
1
2019-11-12T02:07:03.000Z
2019-11-12T02:07:03.000Z
openstudiocore/src/utilities/data/EndUses.cpp
hellok-coder/OS-Testing
e9e18ad9e99f709a3f992601ed8d2e0662175af4
[ "blessing" ]
1
2019-02-04T23:30:45.000Z
2019-02-04T23:30:45.000Z
openstudiocore/src/utilities/data/EndUses.cpp
hellok-coder/OS-Testing
e9e18ad9e99f709a3f992601ed8d2e0662175af4
[ "blessing" ]
null
null
null
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2019, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without m...
42.731481
139
0.692597
hellok-coder