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
5796ad5d2a9b1d4dcfc478041a6f100cee3c3ef9
2,673
cpp
C++
SheepShaver/src/BeOS/SaveROM/SaveROM.cpp
jvernet/macemu
c616a0dae0f451fc15016765c896175fae3f46cf
[ "Intel", "X11" ]
940
2015-01-04T12:20:10.000Z
2022-03-29T12:35:27.000Z
SheepShaver/src/BeOS/SaveROM/SaveROM.cpp
Seanpm2001-virtual-machines/macemu
c616a0dae0f451fc15016765c896175fae3f46cf
[ "Intel", "X11" ]
163
2015-02-10T09:08:10.000Z
2022-03-13T05:48:10.000Z
SheepShaver/src/BeOS/SaveROM/SaveROM.cpp
Seanpm2001-virtual-machines/macemu
c616a0dae0f451fc15016765c896175fae3f46cf
[ "Intel", "X11" ]
188
2015-01-07T19:46:11.000Z
2022-03-26T19:06:00.000Z
/* * SaveROM - Save Mac ROM to file * * Copyright (C) 1998-2004 Christian Bauer * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your opt...
20.72093
105
0.683876
jvernet
5798404cf04b80c1f79e0868c850d6343ff875dc
1,689
cpp
C++
dart/pendulum.cpp
mxgrey/sandbox
6f3c316702a47053499222dbf293efe6c1f43f0c
[ "BSD-3-Clause" ]
null
null
null
dart/pendulum.cpp
mxgrey/sandbox
6f3c316702a47053499222dbf293efe6c1f43f0c
[ "BSD-3-Clause" ]
null
null
null
dart/pendulum.cpp
mxgrey/sandbox
6f3c316702a47053499222dbf293efe6c1f43f0c
[ "BSD-3-Clause" ]
null
null
null
#include <dart/dynamics/Skeleton.hpp> #include <dart/dynamics/WeldJoint.hpp> #include <dart/dynamics/RevoluteJoint.hpp> #include <dart/dynamics/CylinderShape.hpp> #include <dart/simulation/World.hpp> #include <dart/gui/osg/Viewer.hpp> #include <dart/gui/osg/WorldNode.hpp> int main() { dart::dynamics::RevoluteJoin...
27.688525
67
0.69923
mxgrey
579a28a9b11fcea0f166e7a2a201d0ba4012141f
2,334
hpp
C++
retrace/daemon/glframe_os.hpp
austriancoder/apitrace
5919778f7bcba82433f80bda4fb225e43183a62f
[ "MIT" ]
1
2021-03-05T10:49:37.000Z
2021-03-05T10:49:37.000Z
retrace/daemon/glframe_os.hpp
austriancoder/apitrace
5919778f7bcba82433f80bda4fb225e43183a62f
[ "MIT" ]
null
null
null
retrace/daemon/glframe_os.hpp
austriancoder/apitrace
5919778f7bcba82433f80bda4fb225e43183a62f
[ "MIT" ]
1
2018-10-05T03:09:13.000Z
2018-10-05T03:09:13.000Z
// Copyright (C) Intel Corp. 2014. All Rights Reserved. // 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, mod...
30.710526
75
0.68509
austriancoder
579ab1455cbf52753fad6884accb11eef0266ec4
33,348
cpp
C++
aes.cpp
sh-miyoshi/AES
6d82605189abcdeab1e4b1cbafce374c47117dd0
[ "MIT" ]
2
2017-06-01T19:49:24.000Z
2019-10-15T14:19:28.000Z
aes.cpp
sh-miyoshi/AES
6d82605189abcdeab1e4b1cbafce374c47117dd0
[ "MIT" ]
null
null
null
aes.cpp
sh-miyoshi/AES
6d82605189abcdeab1e4b1cbafce374c47117dd0
[ "MIT" ]
null
null
null
#include "aes.h" #include <random> #include <sstream> #include <string.h> using namespace aes; void AES::GenerateIV(unsigned char *iv, Mode mode) { std::random_device rand_dev; if (mode == AES_CTR) { // [8bit nonce][8bit counter] for (int i = 0; i < 8; i++) { iv[i] = (unsigned char...
31.549669
138
0.5451
sh-miyoshi
579b80982ce287dd8b6614b60e3033054f7ecab7
57,965
cpp
C++
src/seal/he_seal_executable.cpp
kthur/he-transformer
5d3294473edba10f2789197043b8d8704409719e
[ "Apache-2.0" ]
null
null
null
src/seal/he_seal_executable.cpp
kthur/he-transformer
5d3294473edba10f2789197043b8d8704409719e
[ "Apache-2.0" ]
null
null
null
src/seal/he_seal_executable.cpp
kthur/he-transformer
5d3294473edba10f2789197043b8d8704409719e
[ "Apache-2.0" ]
null
null
null
//***************************************************************************** // Copyright 2018-2019 Intel Corporation // // 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://w...
37.20475
80
0.637695
kthur
57a0b08ba6a9ba9643a36831c20cf301d4ff07f3
2,271
cpp
C++
leetcode/30_days_challenge/2021_4_April/7.cpp
bvbasavaraju/competitive_programming
a82ffc1b639588a84f4273b44285d57cdc2f4b11
[ "Apache-2.0" ]
1
2020-05-05T13:06:51.000Z
2020-05-05T13:06:51.000Z
leetcode/30_days_challenge/2021_4_April/7.cpp
bvbasavaraju/competitive_programming
a82ffc1b639588a84f4273b44285d57cdc2f4b11
[ "Apache-2.0" ]
null
null
null
leetcode/30_days_challenge/2021_4_April/7.cpp
bvbasavaraju/competitive_programming
a82ffc1b639588a84f4273b44285d57cdc2f4b11
[ "Apache-2.0" ]
null
null
null
/**************************************************** Date: April 7th link: https://leetcode.com/explore/challenge/card/april-leetcoding-challenge-2021/593/week-1-april-1st-april-7th/3693/ ****************************************************/ #include <iostream> #include <vector> #include <list> #include <algorithm> ...
23.65625
170
0.57904
bvbasavaraju
57a0ee1b47f069211df1651b1d1c99c108f8c219
374
cpp
C++
Unlocker/src/platforms/uplay_r1/UplayR1.cpp
Lasssst/LXS
69562bf6c0e3f12fd05ae887df7ec0f65b80e340
[ "0BSD" ]
253
2021-03-12T15:11:27.000Z
2022-03-31T04:32:47.000Z
Unlocker/src/platforms/uplay_r1/UplayR1.cpp
Lasssst/LXS
69562bf6c0e3f12fd05ae887df7ec0f65b80e340
[ "0BSD" ]
8
2021-03-14T00:35:44.000Z
2022-03-24T21:58:13.000Z
Unlocker/src/platforms/uplay_r1/UplayR1.cpp
Lasssst/LXS
69562bf6c0e3f12fd05ae887df7ec0f65b80e340
[ "0BSD" ]
36
2021-03-29T20:43:21.000Z
2022-03-20T14:22:16.000Z
#include "pch.h" #include "UplayR1.h" #include "uplay_r1_hooks.h" #include "constants.h" #define HOOK(FUNC) installDetourHook(FUNC, #FUNC); void UplayR1::platformInit() { HOOK(UPLAY_USER_IsOwned); } string UplayR1::getPlatformName() { return UBISOFT_NAME; } LPCWSTR UplayR1::getModuleName() { return UPLAY_R1; } ...
13.851852
50
0.735294
Lasssst
57a33110504aa5ec35e692213f6e5ce185c9d7d9
6,362
hpp
C++
modules/boost/simd/sdk/include/boost/simd/memory/functions/scalar/store.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/boost/simd/sdk/include/boost/simd/memory/functions/scalar/store.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/boost/simd/sdk/include/boost/simd/memory/functions/scalar/store.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI // Copyright 2011 - 2012 MetaScale SAS // // Distributed under the Boost Sof...
36.563218
85
0.422351
psiha
57ac4980533307774f4a739f7ad73f57ed2e0258
731
hpp
C++
pythran/pythonic/numpy/ndarray/tostring.hpp
artas360/pythran
66dad52d52be71693043e9a7d7578cfb9cb3d1da
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/numpy/ndarray/tostring.hpp
artas360/pythran
66dad52d52be71693043e9a7d7578cfb9cb3d1da
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/numpy/ndarray/tostring.hpp
artas360/pythran
66dad52d52be71693043e9a7d7578cfb9cb3d1da
[ "BSD-3-Clause" ]
null
null
null
#ifndef PYTHONIC_NUMPY_NDARRAY_TOSTRING_HPP #define PYTHONIC_NUMPY_NDARRAY_TOSTRING_HPP #include "pythonic/include/numpy/ndarray/tostring.hpp" #include "pythonic/utils/proxy.hpp" #include "pythonic/utils/numpy_conversion.hpp" #include "pythonic/types/ndarray.hpp" #include "pythonic/types/str.hpp" namespace pythonic ...
23.580645
70
0.689466
artas360
57af5f4b0162c9293409173576789a4295346b24
1,035
cpp
C++
Src/AlGlobals.cpp
Remag/GraphicsInversed
6dff72130891010774c37d1e44080261db3cdb8e
[ "MIT" ]
null
null
null
Src/AlGlobals.cpp
Remag/GraphicsInversed
6dff72130891010774c37d1e44080261db3cdb8e
[ "MIT" ]
null
null
null
Src/AlGlobals.cpp
Remag/GraphicsInversed
6dff72130891010774c37d1e44080261db3cdb8e
[ "MIT" ]
null
null
null
#include <common.h> #pragma hdrstop #ifndef GIN_NO_AUDIO #include <AlGlobals.h> #include <AlContextManager.h> #include <GinGlobals.h> #include <MainFrame.h> #include <AudioSequence.h> namespace Gin { namespace Audio { ////////////////////////////////////////////////////////////////////////// CAud...
21.122449
130
0.614493
Remag
57b20ea2705d5995d202727a6fd4f489a204274b
1,020
hpp
C++
src/exceptions.hpp
tretre91/ccalc
3e13365855018314b798287967a978f4951783da
[ "Zlib" ]
null
null
null
src/exceptions.hpp
tretre91/ccalc
3e13365855018314b798287967a978f4951783da
[ "Zlib" ]
null
null
null
src/exceptions.hpp
tretre91/ccalc
3e13365855018314b798287967a978f4951783da
[ "Zlib" ]
null
null
null
#ifndef EXCEPTIONS_HPP #define EXCEPTIONS_HPP #include <stdexcept> namespace ccalc { /** * @brief Base class for ccalc exceptions */ class Exception : public std::runtime_error { public: Exception(const char* desc) : runtime_error(desc) {} Exception(const std::string& desc) :...
25.5
90
0.642157
tretre91
57b2c508f63619b3fa2a11565e66d56f6cd2a74b
10,369
cpp
C++
packages/python/pyfora/src/pyobjectwalkermodule.cpp
ufora/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
571
2015-11-05T20:07:07.000Z
2022-01-24T22:31:09.000Z
packages/python/pyfora/src/pyobjectwalkermodule.cpp
timgates42/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
218
2015-11-05T20:37:55.000Z
2021-05-30T03:53:50.000Z
packages/python/pyfora/src/pyobjectwalkermodule.cpp
timgates42/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
40
2015-11-07T21:42:19.000Z
2021-05-23T03:48:19.000Z
/*************************************************************************** Copyright 2016 Ufora Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licen...
32.201863
99
0.539107
ufora
57b62315fe673e3bee9302ad827411f96e2953c2
3,559
cpp
C++
src/game/system/movement.cpp
jprochazk/platformer-server
d38eb5d8a22a1275c307d68742d288622750e0a4
[ "Unlicense" ]
1
2020-07-17T17:26:45.000Z
2020-07-17T17:26:45.000Z
src/game/system/movement.cpp
jprochazk/platformer-server
d38eb5d8a22a1275c307d68742d288622750e0a4
[ "Unlicense" ]
null
null
null
src/game/system/movement.cpp
jprochazk/platformer-server
d38eb5d8a22a1275c307d68742d288622750e0a4
[ "Unlicense" ]
null
null
null
#include "game/system/movement.h" #include "common/log.h" #include "game/collision.h" #include "game/component.h" #include "game/event.h" #include "game/world.h" namespace game { namespace system { movement::movement(std::shared_ptr<game::world> world) : world(world) { INFO("MOVEMENT", "Initialized"); } void ...
30.161017
96
0.483282
jprochazk
57b722e0ec46d73a63ea117dbbe5e458d8262888
208
cc
C++
tests/option_extra_delim_spec_split_test.cc
tegtmeye/cmd_options
03f2644e57413b38074545867ca539019201349e
[ "BSD-3-Clause" ]
null
null
null
tests/option_extra_delim_spec_split_test.cc
tegtmeye/cmd_options
03f2644e57413b38074545867ca539019201349e
[ "BSD-3-Clause" ]
null
null
null
tests/option_extra_delim_spec_split_test.cc
tegtmeye/cmd_options
03f2644e57413b38074545867ca539019201349e
[ "BSD-3-Clause" ]
null
null
null
#include "cmd_options.h" #include "test_detail.h" namespace co = cmd_options; int main(void) { co::split_opt_spec<detail::check_char_t>( _LIT("foo,f,key,"),detail::check_char_t(',')); return 0; }
14.857143
50
0.677885
tegtmeye
57b9150404cf445033791389fe7e87a0f65f6a34
277
cpp
C++
src/NullLoggingSink.cpp
Ishiko-Cpp/Logging
0de7ed435bb1ad4ae38a306ec3ecb2c166d6539d
[ "MIT" ]
null
null
null
src/NullLoggingSink.cpp
Ishiko-Cpp/Logging
0de7ed435bb1ad4ae38a306ec3ecb2c166d6539d
[ "MIT" ]
1
2021-09-18T23:30:27.000Z
2021-09-18T23:30:27.000Z
src/NullLoggingSink.cpp
ishiko-cpp/logging
0de7ed435bb1ad4ae38a306ec3ecb2c166d6539d
[ "MIT" ]
null
null
null
/* Copyright (c) 2022 Xavier Leclercq Released under the MIT License See https://github.com/ishiko-cpp/logging/blob/main/LICENSE.txt */ #include "NullLoggingSink.hpp" using namespace Ishiko; void NullLoggingSink::send(const Record& record) { // Do nothing }
18.466667
67
0.718412
Ishiko-Cpp
57b9b4e7fb4123866124921a2c0d664017db3cf3
767
cpp
C++
UVaOnlineJudge/Contest_Volumes(10000...)/Volume119(11900-11999)/11909/code.cpp
luiscbr92/algorithmic-challenges
bc35729e54e4284e9ade1aa61b51a1c2d72aa62c
[ "MIT" ]
3
2015-10-21T18:56:43.000Z
2017-06-06T10:44:22.000Z
UVaOnlineJudge/Contest_Volumes(10000...)/Volume119(11900-11999)/11909/code.cpp
luiscbr92/algorithmic-challenges
bc35729e54e4284e9ade1aa61b51a1c2d72aa62c
[ "MIT" ]
null
null
null
UVaOnlineJudge/Contest_Volumes(10000...)/Volume119(11900-11999)/11909/code.cpp
luiscbr92/algorithmic-challenges
bc35729e54e4284e9ade1aa61b51a1c2d72aa62c
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> using namespace std; int main(){ ios_base::sync_with_stdio (false); int length, width, height, theta; double areaA, areaB, projA, projB, volume, rad; double pi = 3.1415926535897; while(cin >> length >> width >> height >> theta){ if(theta > 0){ ...
23.242424
85
0.517601
luiscbr92
57bb500ec313f9b1b03505fb5922a63a90132ef6
635
hpp
C++
src/libmqtt-to-influxdb/datatype.hpp
DavidHamburg/mqtt-to-influxdb
5a306f1186433c7ee426959a53ea575c03d9a4a1
[ "MIT" ]
null
null
null
src/libmqtt-to-influxdb/datatype.hpp
DavidHamburg/mqtt-to-influxdb
5a306f1186433c7ee426959a53ea575c03d9a4a1
[ "MIT" ]
null
null
null
src/libmqtt-to-influxdb/datatype.hpp
DavidHamburg/mqtt-to-influxdb
5a306f1186433c7ee426959a53ea575c03d9a4a1
[ "MIT" ]
null
null
null
#pragma once #include <ostream> enum class datatype { string_type, boolean_type, integer_type, float_type }; inline std::ostream& operator << (std::ostream& os, const datatype& obj) { switch (obj) { case datatype::string_type: os << "string"; break; case datatype::boole...
21.166667
72
0.508661
DavidHamburg
57c04a10a9558cd5600cdd501b7321f6ce0d479b
425
cpp
C++
utility/utils.cpp
gurpinars/virtnd
bdf1f2bc2ae137117c75bfa75bde0813811a396f
[ "MIT" ]
1
2021-04-21T09:54:07.000Z
2021-04-21T09:54:07.000Z
utility/utils.cpp
gurpinars/virtnd
bdf1f2bc2ae137117c75bfa75bde0813811a396f
[ "MIT" ]
null
null
null
utility/utils.cpp
gurpinars/virtnd
bdf1f2bc2ae137117c75bfa75bde0813811a396f
[ "MIT" ]
null
null
null
#include <cstdint> #include <arpa/inet.h> #include <cstdio> #include <cstdlib> #include "utils.h" uint32_t inet_bf(const char *addr) { struct in_addr ia{}; if (inet_pton(AF_INET, addr, &ia) != 1) { perror("inet binary formatting failed"); exit(1); } return ntohl(ia.s_addr); } std::st...
18.478261
48
0.625882
gurpinars
57c213f4d63620c34410ed50687ac2286129122b
71
inl
C++
plugins/gameplay/first_person/localizer_table.inl
geekrelief/sample-projects
51222521fa0821596c9434a4ae8ed96ddc00e88e
[ "CC-BY-4.0", "CC-BY-3.0", "CC0-1.0" ]
4
2021-09-10T13:37:43.000Z
2022-01-08T03:17:30.000Z
plugins/gameplay/first_person/localizer_table.inl
geekrelief/sample-projects
51222521fa0821596c9434a4ae8ed96ddc00e88e
[ "CC-BY-4.0", "CC-BY-3.0", "CC0-1.0" ]
2
2021-10-05T00:56:41.000Z
2022-01-10T12:08:07.000Z
plugins/gameplay/first_person/localizer_table.inl
geekrelief/sample-projects
51222521fa0821596c9434a4ae8ed96ddc00e88e
[ "CC-BY-4.0", "CC-BY-3.0", "CC0-1.0" ]
2
2021-08-17T11:58:10.000Z
2021-09-11T12:47:16.000Z
{0}, { .english = "Gameplay Sample First Person", .swedish = "" },
23.666667
65
0.56338
geekrelief
57c3dde224a2f11ebf3de24883b748b07d1603bb
2,595
cpp
C++
source/mango/image/image_jpg.cpp
heiligeslama/mango
6528e151fa70c1b02871f1e7972e6c162c945350
[ "Zlib" ]
null
null
null
source/mango/image/image_jpg.cpp
heiligeslama/mango
6528e151fa70c1b02871f1e7972e6c162c945350
[ "Zlib" ]
null
null
null
source/mango/image/image_jpg.cpp
heiligeslama/mango
6528e151fa70c1b02871f1e7972e6c162c945350
[ "Zlib" ]
null
null
null
/* MANGO Multimedia Development Platform Copyright (C) 2012-2018 Twilight Finland 3D Oy Ltd. All rights reserved. */ #include <mango/core/core.hpp> #include <mango/image/image.hpp> #include "../jpeg/jpeg.hpp" #define ID "ImageDecoder.JPG: " namespace { using namespace mango; // ------------------------...
25.441176
93
0.534489
heiligeslama
57c4a95193f094ea4e2cfb0fae12552bd26a4ce5
250
cpp
C++
Software/1Motor_refactor/src/utils.cpp
mx-robotics/motor_control_delete_me
fc538475af136f2cbf540d33605b425cf4b0a734
[ "BSD-2-Clause" ]
null
null
null
Software/1Motor_refactor/src/utils.cpp
mx-robotics/motor_control_delete_me
fc538475af136f2cbf540d33605b425cf4b0a734
[ "BSD-2-Clause" ]
null
null
null
Software/1Motor_refactor/src/utils.cpp
mx-robotics/motor_control_delete_me
fc538475af136f2cbf540d33605b425cf4b0a734
[ "BSD-2-Clause" ]
null
null
null
// // Created by firat on 25.01.20. // #include "utils.h" uint16_t utils::plot_counter=0; /* * @TODO : add a serial interface to send data for debugging * @TODO : -> plotting * @TODO : -> simple send -> wrap em up in a class * * * * * * */
14.705882
60
0.592
mx-robotics
57c8237fc7fd5bab1a6e597b25385cab554956f7
3,614
cpp
C++
CAPI/Communication/src/Communication.cpp
Timothy-LiuXuefeng/THUAI5
499232aaa05bccf752fc886810686d0a4a825bf8
[ "MIT" ]
1
2021-09-28T11:01:16.000Z
2021-09-28T11:01:16.000Z
CAPI/Communication/src/Communication.cpp
Timothy-LiuXuefeng/THUAI5
499232aaa05bccf752fc886810686d0a4a825bf8
[ "MIT" ]
null
null
null
CAPI/Communication/src/Communication.cpp
Timothy-LiuXuefeng/THUAI5
499232aaa05bccf752fc886810686d0a4a825bf8
[ "MIT" ]
null
null
null
#include "../include/Communication.h" #include <iostream> #include <thread> #include <chrono> EnHandleResult ClientCommunication::OnConnect(ITcpClient* pSender, CONNID dwConnID) { comm.OnConnect(); return HR_OK; } EnHandleResult ClientCommunication::OnReceive(ITcpClient* pSender, CONNID dwConnID, const BYTE*...
22.447205
130
0.693968
Timothy-LiuXuefeng
57ca5f9f100f5aa4b44a0fe84c7b83c7ea93d8f7
13,749
cpp
C++
Source/FirstProject/MainCharacter.cpp
goksanisil23/UnrealCombat
e4d4cc546cb00d808ed7ee36dc15a74571a003b3
[ "MIT" ]
null
null
null
Source/FirstProject/MainCharacter.cpp
goksanisil23/UnrealCombat
e4d4cc546cb00d808ed7ee36dc15a74571a003b3
[ "MIT" ]
null
null
null
Source/FirstProject/MainCharacter.cpp
goksanisil23/UnrealCombat
e4d4cc546cb00d808ed7ee36dc15a74571a003b3
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "MainCharacter.h" #include "GameFramework/SpringArmComponent.h" #include "Camera/CameraComponent.h" #include "GameFramework/PlayerController.h" #include "Engine/World.h" #include "Components/CapsuleComponent.h" #include...
28.465839
120
0.70907
goksanisil23
57caa1a5ad8057fd6a418aafc65f5cd5a44e6e03
6,325
cpp
C++
tools/gmd/layers/ImportLayer.cpp
RuanauR/BetterEdit
9e4c031b8dec0c80f901f79d9f4a40173a52725b
[ "MIT" ]
30
2021-01-25T22:25:05.000Z
2022-01-22T13:18:19.000Z
tools/gmd/layers/ImportLayer.cpp
RuanauR/BetterEdit
9e4c031b8dec0c80f901f79d9f4a40173a52725b
[ "MIT" ]
9
2021-07-03T11:41:47.000Z
2022-03-30T15:14:46.000Z
tools/gmd/layers/ImportLayer.cpp
RuanauR/BetterEdit
9e4c031b8dec0c80f901f79d9f4a40173a52725b
[ "MIT" ]
3
2021-07-01T20:52:24.000Z
2022-01-13T16:16:58.000Z
#include "ImportLayer.hpp" #include "ImportListView.hpp" ImportLayer* g_pIsOpen = nullptr; bool ImportLayer::init(CCArray* arr) { if (!CCLayer::init()) return false; g_pIsOpen = this; this->m_pImportLevels = arr; this->m_pImportLevels->retain(); auto winSize = CCDirector::sharedDirector...
27.986726
105
0.657075
RuanauR
57ccf881495168e448b289204595e7ea52f52e66
14,062
cc
C++
test/apps/sockaddr/sa_main.cc
RankoM/ucx
d8269f0141f97764c21d03235c0783f04a9864b7
[ "BSD-3-Clause" ]
5
2019-05-31T01:47:34.000Z
2022-01-10T11:59:53.000Z
test/apps/sockaddr/sa_main.cc
frontwing/ucx
e1eed19d973844198445ba822239f0b8a5be19a7
[ "BSD-3-Clause" ]
2
2019-04-22T12:49:59.000Z
2019-06-06T16:20:21.000Z
test/apps/sockaddr/sa_main.cc
frontwing/ucx
e1eed19d973844198445ba822239f0b8a5be19a7
[ "BSD-3-Clause" ]
1
2021-03-16T07:04:15.000Z
2021-03-16T07:04:15.000Z
/** * Copyright (C) Mellanox Technologies Ltd. 2018. ALL RIGHTS RESERVED. * * See file LICENSE for terms. */ #include "sa_base.h" #include <iostream> #include <vector> #include <fstream> #include <sstream> #include <cstring> #include <map> #include <sys/epoll.h> #include <getopt.h> #include <netdb.h> #include <u...
33.401425
118
0.543806
RankoM
57cf7e6ff8dd3044d18ed1feae897ff2a962cc70
6,723
cpp
C++
test/brpc_grpc_protocol_unittest.cpp
ambroff/brpc
ede2bf595915fcb9b5285ae8b6eb7ab46a5bac4f
[ "Apache-2.0" ]
1
2019-08-12T13:59:35.000Z
2019-08-12T13:59:35.000Z
test/brpc_grpc_protocol_unittest.cpp
ambroff/brpc
ede2bf595915fcb9b5285ae8b6eb7ab46a5bac4f
[ "Apache-2.0" ]
null
null
null
test/brpc_grpc_protocol_unittest.cpp
ambroff/brpc
ede2bf595915fcb9b5285ae8b6eb7ab46a5bac4f
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2018 brpc authors. // // 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 agre...
33.282178
110
0.639595
ambroff
57deb279115c2302d80c815cfb1d2e30f5dfeda7
2,008
cpp
C++
snippets/cpp/VS_Snippets_Winforms/DataFormats_UnicodeText1/CPP/dataformats_unicodetext.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
834
2017-06-24T10:40:36.000Z
2022-03-31T19:48:51.000Z
snippets/cpp/VS_Snippets_Winforms/DataFormats_UnicodeText1/CPP/dataformats_unicodetext.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
7,042
2017-06-23T22:34:47.000Z
2022-03-31T23:05:23.000Z
snippets/cpp/VS_Snippets_Winforms/DataFormats_UnicodeText1/CPP/dataformats_unicodetext.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
1,640
2017-06-23T22:31:39.000Z
2022-03-31T02:45:37.000Z
// System::Windows::Forms::DataFormats.UnicodeText;System::Windows::Forms::Text; /* * The following example demonstrates the 'UnicodeText' and 'Text' field of 'DataFormats' class. * It stores a String Object^ in Clipboard using the Clipboard's 'SetDataObject' method. * It retrieves the String Object^ stored in the...
34.62069
97
0.665837
BohdanMosiyuk
57e043bf44c0c5897f48e7a5075893a6249fe1a0
1,230
hpp
C++
NWNXLib/API/API/CNWSWaypoint.hpp
nwnstuff/unified
2da1201fdded07235f3d2809a3215315140d19da
[ "MIT" ]
null
null
null
NWNXLib/API/API/CNWSWaypoint.hpp
nwnstuff/unified
2da1201fdded07235f3d2809a3215315140d19da
[ "MIT" ]
null
null
null
NWNXLib/API/API/CNWSWaypoint.hpp
nwnstuff/unified
2da1201fdded07235f3d2809a3215315140d19da
[ "MIT" ]
null
null
null
#pragma once #include "nwn_api.hpp" #include "CExoLocString.hpp" #include "CResRef.hpp" #include "CNWSObject.hpp" #ifdef NWN_API_PROLOGUE NWN_API_PROLOGUE(CNWSWaypoint) #endif struct CExoString; struct CResStruct; struct CResGFF; struct CNWSArea; typedef int BOOL; typedef uint32_t OBJECT_ID; struct CNWSWaypoint...
23.653846
128
0.766667
nwnstuff
57e33ed837de02da61f98160d5af9baf10c586ec
6,088
cpp
C++
Samples/XNA_XNB_Format/Example XNB Parser/ParseXnb/ContentReader.cpp
SimonDarksideJ/XNAGameStudio
5b79efb0b110140419056b0146ba066f2104f985
[ "MIT" ]
422
2018-03-20T07:46:35.000Z
2022-03-31T19:37:43.000Z
Samples/XNA_XNB_Format/Example XNB Parser/ParseXnb/ContentReader.cpp
SimonDarksideJ/XNAGameStudio
5b79efb0b110140419056b0146ba066f2104f985
[ "MIT" ]
11
2018-09-10T01:05:45.000Z
2022-03-10T17:27:02.000Z
Samples/XNA_XNB_Format/Example XNB Parser/ParseXnb/ContentReader.cpp
SimonDarksideJ/XNAGameStudio
5b79efb0b110140419056b0146ba066f2104f985
[ "MIT" ]
72
2018-09-08T09:51:55.000Z
2022-03-04T17:38:53.000Z
#include "stdafx.h" #include "ContentReader.h" ContentReader::ContentReader(FILE* file, TypeReaderManager* typeReaderManager) : BinaryReader(file), typeReaderManager(typeReaderManager) { } // Parses the entire contents of an XNB file. void ContentReader::ReadXnb() { // Read the XNB header. uint32_t en...
24.747967
121
0.630092
SimonDarksideJ
57e3d85f5d5b68ada950195da7220448128f9b2f
311
hpp
C++
Client/RoleSetup/General/include/RoleSetup/General/DebugConsole.hpp
siisgoo/siisty
66103c54e0d1b35b88177c290e2bf60012607309
[ "MIT" ]
null
null
null
Client/RoleSetup/General/include/RoleSetup/General/DebugConsole.hpp
siisgoo/siisty
66103c54e0d1b35b88177c290e2bf60012607309
[ "MIT" ]
null
null
null
Client/RoleSetup/General/include/RoleSetup/General/DebugConsole.hpp
siisgoo/siisty
66103c54e0d1b35b88177c290e2bf60012607309
[ "MIT" ]
null
null
null
#ifndef DEBUGCONSOLE_HPP #define DEBUGCONSOLE_HPP #include <QDialog> namespace Ui { class DebugConsole; } class DebugConsole : public QDialog { Q_OBJECT public: explicit DebugConsole(QWidget *parent = nullptr); ~DebugConsole(); private: Ui::DebugConsole *ui; }; #endif // DEBUGCONSOLE_HPP
13.521739
53
0.726688
siisgoo
57e9febb01126e6bf6c82b5f33496b94a69e01d9
50,487
cpp
C++
MK4duo/src/feature/tmc/tmc.cpp
DapDeveloper/MK4duo
385fdcd3cda94e73396dd12f23ff570c86d2eab5
[ "RSA-MD" ]
null
null
null
MK4duo/src/feature/tmc/tmc.cpp
DapDeveloper/MK4duo
385fdcd3cda94e73396dd12f23ff570c86d2eab5
[ "RSA-MD" ]
null
null
null
MK4duo/src/feature/tmc/tmc.cpp
DapDeveloper/MK4duo
385fdcd3cda94e73396dd12f23ff570c86d2eab5
[ "RSA-MD" ]
null
null
null
/** * MK4duo Firmware for 3D Printer, Laser and CNC * * Based on Marlin, Sprinter and grbl * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm * Copyright (C) 2019 Alberto Cotronei @MagoKimbra * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Pu...
31.280669
184
0.622695
DapDeveloper
57eb25884e1da644a5f664841027b83bf269168e
4,660
cpp
C++
src/Library/Painters/MandelbrotPainter.cpp
aravindkrishnaswamy/rise
297d0339a7f7acd1418e322a30a21f44c7dbbb1d
[ "BSD-2-Clause" ]
1
2018-12-20T19:31:02.000Z
2018-12-20T19:31:02.000Z
src/Library/Painters/MandelbrotPainter.cpp
aravindkrishnaswamy/rise
297d0339a7f7acd1418e322a30a21f44c7dbbb1d
[ "BSD-2-Clause" ]
null
null
null
src/Library/Painters/MandelbrotPainter.cpp
aravindkrishnaswamy/rise
297d0339a7f7acd1418e322a30a21f44c7dbbb1d
[ "BSD-2-Clause" ]
null
null
null
////////////////////////////////////////////////////////////////////// // // MandelbrotPainter.cpp - Implementation of the Mandelbrot // Painter class // // Author: Aravind Krishnaswamy // Date of Birth: February 21, 2001 // Tabs: 4 // Comments: This implementation is similar to Dan McCormick's // from Swish ...
24.787234
125
0.648498
aravindkrishnaswamy
57ec0f74037278d25bf82a3262dc17af80de4b9f
1,141
cc
C++
test/mesh.cc
untaugh/geotree
4600a1cb4115094ed5c4c1500c6221a458e68be8
[ "MIT" ]
2
2018-07-27T00:58:07.000Z
2021-11-20T22:26:10.000Z
test/mesh.cc
untaugh/geotree
4600a1cb4115094ed5c4c1500c6221a458e68be8
[ "MIT" ]
null
null
null
test/mesh.cc
untaugh/geotree
4600a1cb4115094ed5c4c1500c6221a458e68be8
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include <Eigen/Core> #include "Mesh.h" #include "MeshFactory.h" namespace { using namespace Geotree; class MeshTest : public ::testing::Test { protected: }; TEST_F(MeshTest, getSegments) { MeshFactory factory; Mesh tetra = factory.tetra(1); std::vector<Segme...
20.017544
53
0.62489
untaugh
57f9dbdea06e52bd64d75779a06af8fa330a921d
1,407
cpp
C++
Laborator2/Problema2/Problema2/main.cpp
GeorgeDenis/oop-2022
45b026f762a85c4e683f413b5c785b7e8541de04
[ "MIT" ]
null
null
null
Laborator2/Problema2/Problema2/main.cpp
GeorgeDenis/oop-2022
45b026f762a85c4e683f413b5c785b7e8541de04
[ "MIT" ]
null
null
null
Laborator2/Problema2/Problema2/main.cpp
GeorgeDenis/oop-2022
45b026f762a85c4e683f413b5c785b7e8541de04
[ "MIT" ]
1
2022-02-23T16:38:17.000Z
2022-02-23T16:38:17.000Z
#define _CRT_SECURE_NO_WARNINGS #include <iostream> #include "Student.h" #include "global.h" int main() { Student denis; denis.set_name("Denis"); printf("Nume: %s \n", denis.get_name()); denis.set_gradeEnglish(9.5); denis.set_gradeMathematics(10); denis.set_gradeHistory(8.2); printf("Nota En...
45.387097
90
0.683014
GeorgeDenis
57fbd29c39f03e3f842fe4dafd01f8cb9c7f6924
1,313
cpp
C++
13_CPP_CLASS_INHERITANCE.cpp
ugururesin/Cpp_Training
f111af0830ec1f77a00186335bd73b11a745ffdc
[ "BSD-3-Clause-Clear" ]
1
2020-05-30T21:03:02.000Z
2020-05-30T21:03:02.000Z
13_CPP_CLASS_INHERITANCE.cpp
ugururesin/Cpp-Training
f111af0830ec1f77a00186335bd73b11a745ffdc
[ "BSD-3-Clause-Clear" ]
null
null
null
13_CPP_CLASS_INHERITANCE.cpp
ugururesin/Cpp-Training
f111af0830ec1f77a00186335bd73b11a745ffdc
[ "BSD-3-Clause-Clear" ]
null
null
null
///////////////////////////////////////// // WELCOME TO C++ PROGRAMMING! - 2019 // ///////////////////////////////////////// /* This Code is Written By Ugur Uresin For training purposes! */ /* To compile the program: g++ filename.cpp -o executableName To execute the program: ./executableName */ // ----------------...
31.261905
97
0.63214
ugururesin
520b6d1368defb9cbdffcb14068ec58e4d5dcf5c
3,937
hpp
C++
src/core/utils.hpp
llamerada-jp/colonio
8594d3131249eda59980faa281c353988469481a
[ "Apache-2.0" ]
5
2021-12-12T23:35:21.000Z
2022-01-09T22:01:53.000Z
src/core/utils.hpp
llamerada-jp/colonio
8594d3131249eda59980faa281c353988469481a
[ "Apache-2.0" ]
null
null
null
src/core/utils.hpp
llamerada-jp/colonio
8594d3131249eda59980faa281c353988469481a
[ "Apache-2.0" ]
1
2020-07-07T13:17:19.000Z
2020-07-07T13:17:19.000Z
/* * Copyright 2017 Yuji Ito <llamerada.jp@gmail.com> * * 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 applic...
28.323741
115
0.693167
llamerada-jp
648ab73a2ab6af742aa32d86c1e8a899421f7ef4
606
cpp
C++
p1.cpp
darksidergod/CompetitiveProgramming
ea0ee53bddd87e41b4586dd30c1d4a6b8ae3a93a
[ "MIT" ]
null
null
null
p1.cpp
darksidergod/CompetitiveProgramming
ea0ee53bddd87e41b4586dd30c1d4a6b8ae3a93a
[ "MIT" ]
null
null
null
p1.cpp
darksidergod/CompetitiveProgramming
ea0ee53bddd87e41b4586dd30c1d4a6b8ae3a93a
[ "MIT" ]
1
2020-10-03T19:48:05.000Z
2020-10-03T19:48:05.000Z
#include <bits/stdc++.h> #include <cmath> using namespace std; #define mod 1000000007 #define int long long int #define pb push_back #define mk make_pair #define flp(i, k, n) for(int i=k; i<n; i++) #define rev(i, k) for(int i=k; i>=0; i--) #define F first #define S second #define pi pair<int, int> #define IOS ios_base:...
20.2
74
0.594059
darksidergod
648efe473e6261dabd931ef116fd7e153d5e5025
2,734
cpp
C++
libs/lwwx/samples/generic_ui/genericuimainwindow.cpp
hajokirchhoff/litwindow
7f574d4e80ee8339ac11c35f075857c20391c223
[ "MIT", "BSD-3-Clause" ]
null
null
null
libs/lwwx/samples/generic_ui/genericuimainwindow.cpp
hajokirchhoff/litwindow
7f574d4e80ee8339ac11c35f075857c20391c223
[ "MIT", "BSD-3-Clause" ]
1
2017-01-07T09:44:20.000Z
2017-01-07T09:44:20.000Z
libs/lwwx/samples/generic_ui/genericuimainwindow.cpp
hajokirchhoff/litwindow
7f574d4e80ee8339ac11c35f075857c20391c223
[ "MIT", "BSD-3-Clause" ]
null
null
null
/* * Copyright 2004, Hajo Kirchhoff - Lit Window Productions, http://www.litwindow.com * This file is part of the Lit Window Library. All use of this material - copying * in full or part, including in other works, using in non-profit or for-profit work * and other uses - is governed by the licence contained in the...
24.630631
152
0.68398
hajokirchhoff
6490c6a9b18e4dfe5469833938e7dd48b24cd313
25,006
cpp
C++
code/contrafold/src/Contrafold.cpp
jialiasus2/RNA-Contest-2021
d8cd340061ac7a70e1c2bba67d36c89cbde2555c
[ "Apache-2.0" ]
null
null
null
code/contrafold/src/Contrafold.cpp
jialiasus2/RNA-Contest-2021
d8cd340061ac7a70e1c2bba67d36c89cbde2555c
[ "Apache-2.0" ]
null
null
null
code/contrafold/src/Contrafold.cpp
jialiasus2/RNA-Contest-2021
d8cd340061ac7a70e1c2bba67d36c89cbde2555c
[ "Apache-2.0" ]
null
null
null
///////////////////////////////////////////////////////////////// // Contrafold.cpp ///////////////////////////////////////////////////////////////// // include files #ifdef MULTI #include <mpi.h> #endif #include "Config.hpp" #include "Options.hpp" #include "Utilities.hpp" #include "ComputationWrapper.hpp" ...
44.180212
161
0.557466
jialiasus2
649780371269bfc751ce1f64d782420a3730de25
368
cpp
C++
Sources/18_sdl_show_yuv_embed/playthread.cpp
youshihou/audio-video-learning
6f127d92f8cc9a21cb379bfb18da30d1cd997690
[ "MIT" ]
null
null
null
Sources/18_sdl_show_yuv_embed/playthread.cpp
youshihou/audio-video-learning
6f127d92f8cc9a21cb379bfb18da30d1cd997690
[ "MIT" ]
null
null
null
Sources/18_sdl_show_yuv_embed/playthread.cpp
youshihou/audio-video-learning
6f127d92f8cc9a21cb379bfb18da30d1cd997690
[ "MIT" ]
null
null
null
#include "playthread.h" #include <SDL2/SDL.h> #include <QDebug> PlayThread::PlayThread(QObject *parent) : QThread(parent) { connect(this, &PlayThread::finished, this, &PlayThread::deleteLater); } PlayThread::~PlayThread() { disconnect(); requestInterruption(); quit(); wait(); qDebug() << thi...
16.727273
73
0.646739
youshihou
6498e22a72588d48145243e7a40a214cb80adb84
4,199
cpp
C++
Runtime/RHI/Vulkan/Vulkan_IndexBuffer.cpp
PanosK92/Directus3D
2220548d87ef2795d54f739ab84121d4fb3b7ca2
[ "MIT" ]
278
2016-06-19T16:48:31.000Z
2019-04-10T05:52:47.000Z
Runtime/RHI/Vulkan/Vulkan_IndexBuffer.cpp
PanosK92/Directus3D
2220548d87ef2795d54f739ab84121d4fb3b7ca2
[ "MIT" ]
22
2016-09-11T20:57:56.000Z
2019-04-04T00:10:58.000Z
Runtime/RHI/Vulkan/Vulkan_IndexBuffer.cpp
PanosK92/Directus3D
2220548d87ef2795d54f739ab84121d4fb3b7ca2
[ "MIT" ]
31
2016-08-09T13:15:51.000Z
2019-03-27T13:25:07.000Z
/* Copyright(c) 2016-2021 Panos Karabelas Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distrib...
38.522936
211
0.679686
PanosK92
649e22c0d735d6776cfd8dde33726dcb39329db1
2,376
cpp
C++
src/stl_manipulator.cpp
nerdmaennchen/stl_manipulator
5cf411b1474ee567562c1a02957935a6f009ff48
[ "MIT" ]
null
null
null
src/stl_manipulator.cpp
nerdmaennchen/stl_manipulator
5cf411b1474ee567562c1a02957935a6f009ff48
[ "MIT" ]
null
null
null
src/stl_manipulator.cpp
nerdmaennchen/stl_manipulator
5cf411b1474ee567562c1a02957935a6f009ff48
[ "MIT" ]
null
null
null
#include "sargparse/Parameter.h" #include "sargparse/File.h" #include "sargparse/ArgumentParsing.h" #include "stl/STLParser.h" #include "transformer.h" #include "global_parameters.h" #include <iostream> namespace { sargp::Parameter<std::string> outFile {"", "out", "the file to write to", []{}, sargp::completeFile(...
28.285714
137
0.6633
nerdmaennchen
64a09e318cce4f3ec002698953fd0b475e2db0db
943
cc
C++
TC-programs/CIS-D/readbin.cc
sklinkusch/scripts
a717cadb559db823a0d5172545661d5afa2715e7
[ "MIT" ]
null
null
null
TC-programs/CIS-D/readbin.cc
sklinkusch/scripts
a717cadb559db823a0d5172545661d5afa2715e7
[ "MIT" ]
null
null
null
TC-programs/CIS-D/readbin.cc
sklinkusch/scripts
a717cadb559db823a0d5172545661d5afa2715e7
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <math.h> #include <string.h> #include <stdlib.h> #include <stdio.h> #include <time.h> #include <unistd.h> #include <ctype.h> #include <sys/time.h> #include <sys/resource.h> #include <sstream> using namespace std; extern void read_bin(char* binfile, int nros, double& cis...
23
79
0.589608
sklinkusch
64a16740e6cbeefe83a5d3322cb510e02ef81c21
4,096
cpp
C++
src/util/xpc/basehookinterconnector.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
120
2015-01-22T14:10:39.000Z
2021-11-25T12:57:16.000Z
src/util/xpc/basehookinterconnector.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
8
2015-02-07T19:38:19.000Z
2017-11-30T20:18:28.000Z
src/util/xpc/basehookinterconnector.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
33
2015-02-07T16:59:55.000Z
2021-10-12T00:36:40.000Z
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE...
23.953216
83
0.590576
Maledictus
64a7613678ffbb0b4a94ae672403f89bdf53a067
5,755
cpp
C++
examples/0110-facade-class-and-rtti/exp/example.cpp
satya-das/cib
369333ea58b0530b8789a340e21096ba7d159d0e
[ "MIT" ]
30
2018-03-05T17:35:29.000Z
2022-03-17T18:59:34.000Z
examples/0110-facade-class-and-rtti/exp/example.cpp
satya-das/cib
369333ea58b0530b8789a340e21096ba7d159d0e
[ "MIT" ]
2
2016-05-26T04:47:13.000Z
2019-02-15T05:17:43.000Z
examples/0110-facade-class-and-rtti/exp/example.cpp
satya-das/cib
369333ea58b0530b8789a340e21096ba7d159d0e
[ "MIT" ]
5
2019-02-15T05:09:22.000Z
2021-04-14T12:10:16.000Z
#include "example.h" #include "__zz_cib_internal/__zz_cib_Example-generic.h" Facade::Facade(__zz_cib_AbiType h) : __zz_cib_h_(h) { __zz_cib_MyHelper::__zz_cib_AddProxy(this, __zz_cib_h_); } Facade::Facade(Facade&& rhs) : __zz_cib_h_(rhs.__zz_cib_h_) { rhs.__zz_cib_h_ = nullptr; __zz_cib_MyHelper::__zz_cib...
28.490099
104
0.753779
satya-das
64a917d6c137a439723870cfc0b455028d6be22b
1,134
hpp
C++
inc/impl/melocker.hpp
slavalev/tstl
cb652ea982b96ab6e0fbd5fecc064256cfd4e797
[ "MIT" ]
null
null
null
inc/impl/melocker.hpp
slavalev/tstl
cb652ea982b96ab6e0fbd5fecc064256cfd4e797
[ "MIT" ]
null
null
null
inc/impl/melocker.hpp
slavalev/tstl
cb652ea982b96ab6e0fbd5fecc064256cfd4e797
[ "MIT" ]
null
null
null
/*****************************************************************************************************//** * * Module Name: \file melocker.hpp * * Abstract: \brief Non reenterable mutual exclusion locker. * * Author: \author Vyacheslav I. Levtchenko (mail-to: slavalev@gmail.com) * * Revision History: \dat...
21.396226
107
0.537919
slavalev
64ab84387b0226dbe0d1300d9bdaafe5378ce196
52
hpp
C++
src/boost_units_systems_si_absorbed_dose.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_units_systems_si_absorbed_dose.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_units_systems_si_absorbed_dose.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/units/systems/si/absorbed_dose.hpp>
26
51
0.807692
miathedev
64ae3d9aa3b1b69c784e645e0b611a90c8ffada9
3,324
hpp
C++
include/VROSC/PredictiveHitter_PredictedHit.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/VROSC/PredictiveHitter_PredictedHit.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/VROSC/PredictiveHitter_PredictedHit.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: VROSC.PredictiveHitter #include "VR...
43.736842
134
0.746089
RedBrumbler
64af78cdb4c69ea64f66898d518bcd1adc5565ac
273
cpp
C++
2021.09.18/Project8/Source.cpp
HudzievaPolina/programming-c-2021-1course-
f4e0c769419d12f95c42913980bbdc053302b7c6
[ "Apache-2.0" ]
null
null
null
2021.09.18/Project8/Source.cpp
HudzievaPolina/programming-c-2021-1course-
f4e0c769419d12f95c42913980bbdc053302b7c6
[ "Apache-2.0" ]
null
null
null
2021.09.18/Project8/Source.cpp
HudzievaPolina/programming-c-2021-1course-
f4e0c769419d12f95c42913980bbdc053302b7c6
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; int main(int argc, char* argv[]) { int a = 0; int b = 0; int c = 0; int d = 0; int e = 0; int f = 0; cin >> a >> b >> c >> d >> e >> f; cout << d * 3600 + e * 60 + f - a * 3600 - b * 60 - c << endl; return EXIT_SUCCESS; }
17.0625
63
0.501832
HudzievaPolina
64b06b7a8c3774a8b5e49893450616a1f3f6ce94
3,327
cpp
C++
EpicForceEngine/MagnumEngineLib/MagnumCore/ColorRGBA.cpp
MacgyverLin/MagnumEngine
975bd4504a1e84cb9698c36e06bd80c7b8ced0ff
[ "MIT" ]
1
2021-03-30T06:28:32.000Z
2021-03-30T06:28:32.000Z
EpicForceEngine/MagnumEngineLib/MagnumCore/ColorRGBA.cpp
MacgyverLin/MagnumEngine
975bd4504a1e84cb9698c36e06bd80c7b8ced0ff
[ "MIT" ]
null
null
null
EpicForceEngine/MagnumEngineLib/MagnumCore/ColorRGBA.cpp
MacgyverLin/MagnumEngine
975bd4504a1e84cb9698c36e06bd80c7b8ced0ff
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////////// // Copyright(c) 2016, Lin Koon Wing Macgyver, macgyvercct@yahoo.com.hk // // // // Author : Mac Lin // // Module : Magnum Engine v1.0.0 // // Date : 14/Jun/2016 ...
31.990385
125
0.599038
MacgyverLin
64b353e506880bfb22f481553dec773bffa49300
5,332
cpp
C++
CsWeapon/Source/CsWp/Public/Types/CsTypes_Weapon.cpp
closedsum/core
c3cae44a177b9684585043a275130f9c7b67fef0
[ "Unlicense" ]
2
2019-03-17T10:43:53.000Z
2021-04-20T21:24:19.000Z
CsWeapon/Source/CsWp/Public/Types/CsTypes_Weapon.cpp
closedsum/core
c3cae44a177b9684585043a275130f9c7b67fef0
[ "Unlicense" ]
null
null
null
CsWeapon/Source/CsWp/Public/Types/CsTypes_Weapon.cpp
closedsum/core
c3cae44a177b9684585043a275130f9c7b67fef0
[ "Unlicense" ]
null
null
null
// Copyright 2017-2021 Closed Sum Games, LLC. All Rights Reserved. #include "Types/CsTypes_Weapon.h" #include "CsWp.h" // Library #include "Level/CsLibrary_Level.h" #include "Library/CsLibrary_Valid.h" // Settings #include "Settings/CsDeveloperSettings.h" #include "Settings/CsWeaponSettings.h" // Data #include "Data/C...
28.978261
168
0.783196
closedsum
64b9cfba7d60b06a99a07e02fcbf9be1c3f9ff0e
9,449
cpp
C++
sharper.cpp
dive155/SmartImage
75ad89d053027780bab9790122dfc77d5938dfa0
[ "MIT" ]
3
2016-11-01T09:56:06.000Z
2020-01-11T02:20:28.000Z
sharper.cpp
dive155/SmartImage
75ad89d053027780bab9790122dfc77d5938dfa0
[ "MIT" ]
1
2016-05-10T20:07:20.000Z
2016-05-10T21:56:22.000Z
sharper.cpp
dive155/SmartImage
75ad89d053027780bab9790122dfc77d5938dfa0
[ "MIT" ]
null
null
null
#include "sharper.h" #include "ui_sharper.h" Sharper::Sharper(QWidget *parent) : QWidget(parent), ui(new Ui::Sharper) { ui->setupUi(this); connect(ui->doubleSpinBox_5, SIGNAL(valueChanged(double)), this, SLOT(nChanged(double))); connect(ui->contBut, SIGNAL(clicked()), this...
30.480645
145
0.598159
dive155
64ba93e30b5e84437bf28553db5fbcd15af49569
280
cpp
C++
XrsPalm/src/IO/SJFilter.cpp
bach5000/XRS
8b9169f8d52a441ddca87415963ea2fcfced1884
[ "MIT" ]
null
null
null
XrsPalm/src/IO/SJFilter.cpp
bach5000/XRS
8b9169f8d52a441ddca87415963ea2fcfced1884
[ "MIT" ]
null
null
null
XrsPalm/src/IO/SJFilter.cpp
bach5000/XRS
8b9169f8d52a441ddca87415963ea2fcfced1884
[ "MIT" ]
null
null
null
#include "SJFilter.h" SJFilter::SJFilter(){} bool SJFilter::Filter(const entry_ref *erf,BNode *node,struct stat_beos *st,const char *filetype) { bool rt; if(S_ISDIR(st->st_mode)) return true; if(strcmp(filetype,"audio/XRS-File")==0) rt=true; else rt=false; return rt; }
17.5
92
0.707143
bach5000
64bab72e968ae2f1d70ea695b6399d5dad2c2db1
426
cpp
C++
LeetCode/1010.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
1
2021-12-22T12:37:36.000Z
2021-12-22T12:37:36.000Z
LeetCode/1010.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
null
null
null
LeetCode/1010.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
null
null
null
class Solution { public: int numPairsDivisibleBy60(vector<int>& time) { int count=0; vector<int> v(60,0); for(int i=0;i<time.size();i++) { int a=time[i]%60; if(a==0) count+=v[0]; else count+=v[6...
18.521739
50
0.338028
jnvshubham7
64bf9e061b510f7b92ed3b910d7199bc5c73d493
102
hpp
C++
include/XenoWS/Response.hpp
XenoBino/XenoWS
d2b2db4f16958d33284aba7679b93cf8d79e8678
[ "Apache-2.0" ]
null
null
null
include/XenoWS/Response.hpp
XenoBino/XenoWS
d2b2db4f16958d33284aba7679b93cf8d79e8678
[ "Apache-2.0" ]
null
null
null
include/XenoWS/Response.hpp
XenoBino/XenoWS
d2b2db4f16958d33284aba7679b93cf8d79e8678
[ "Apache-2.0" ]
null
null
null
#pragma once class Response { public: Response(unsigned char *version, unsigned short response); };
14.571429
59
0.754902
XenoBino
64bfffb2c5549bc6a55233f8de1ed465cc31e79a
5,181
cc
C++
src/utils.cc
ltlfuzzer/LTL-Fuzzer
9a5a6e771a720a06b3a14baac934e0eef72d138b
[ "Apache-2.0" ]
1
2022-01-21T07:57:03.000Z
2022-01-21T07:57:03.000Z
src/utils.cc
ltlfuzzer/LTL-Fuzzer
9a5a6e771a720a06b3a14baac934e0eef72d138b
[ "Apache-2.0" ]
null
null
null
src/utils.cc
ltlfuzzer/LTL-Fuzzer
9a5a6e771a720a06b3a14baac934e0eef72d138b
[ "Apache-2.0" ]
1
2022-02-02T11:55:04.000Z
2022-02-02T11:55:04.000Z
#include <utils.h> using std::cout; using std::endl; namespace utils{ std::string aDelimiter =","; std::string get_last_state(std::string aPath) { if(aPath.empty()){ cout << "the given automata path is empty" <<endl; } aPath=aPath.substr(0,aPath.size()-1); ...
29.605714
93
0.487937
ltlfuzzer
64c0900758be1abf962d029b23c40947a70d69bf
130
cpp
C++
app/src/machine/gCode_copy.cpp
smartDIYs/FABOOLDesktop_opensource
082fc12eacffed2b64f868064ed3809d06db831b
[ "MIT" ]
6
2019-02-17T02:17:45.000Z
2021-07-16T01:53:41.000Z
app/src/machine/gCode_copy.cpp
smartDIYs/FABOOLDesktop_opensource
082fc12eacffed2b64f868064ed3809d06db831b
[ "MIT" ]
null
null
null
app/src/machine/gCode_copy.cpp
smartDIYs/FABOOLDesktop_opensource
082fc12eacffed2b64f868064ed3809d06db831b
[ "MIT" ]
5
2018-08-28T07:29:08.000Z
2020-07-04T13:45:58.000Z
#include "gCode.h" const QString GCode::GoToOrigin = "~\nG30\n"; const QString GCode::ProcessStop = "!\n"; GCode::GCode() { }
13
46
0.646154
smartDIYs
64c34283515e89185dfb13cf53b7b9047b577488
1,510
hpp
C++
include/mist/it/EntropyMeasure.hpp
andbanman/mist
2546fb41bccea1f89a43dbdbed7ce3a257926b54
[ "MIT" ]
null
null
null
include/mist/it/EntropyMeasure.hpp
andbanman/mist
2546fb41bccea1f89a43dbdbed7ce3a257926b54
[ "MIT" ]
4
2021-03-30T21:40:44.000Z
2021-11-08T18:54:34.000Z
include/mist/it/EntropyMeasure.hpp
andbanman/mist
2546fb41bccea1f89a43dbdbed7ce3a257926b54
[ "MIT" ]
null
null
null
#pragma once #include "../Variable.hpp" #include "Entropy.hpp" #include "EntropyCalculator.hpp" #include "Measure.hpp" namespace mist { namespace it { class EntropyMeasure : public Measure { public: EntropyMeasure(){}; ~EntropyMeasure(){}; result_type compute(EntropyCalculator& ecalc, V...
22.205882
76
0.624503
andbanman
64c573639fb18308cbcd10af7d10ca7d4b7cf9aa
153
hh
C++
src/retic/dotdumper.hh
enotnadoske/drunos
79b72078e613c9c5d4e5c37721b726ca3374299b
[ "Apache-2.0" ]
9
2019-04-04T18:03:36.000Z
2019-05-03T23:48:59.000Z
src/retic/dotdumper.hh
enotnadoske/drunos
79b72078e613c9c5d4e5c37721b726ca3374299b
[ "Apache-2.0" ]
16
2019-04-04T12:22:19.000Z
2019-04-09T19:04:42.000Z
src/retic/dotdumper.hh
enotnadoske/drunos
79b72078e613c9c5d4e5c37721b726ca3374299b
[ "Apache-2.0" ]
2
2019-10-11T14:17:26.000Z
2022-03-15T10:06:08.000Z
#pragma once #include <ostream> #include "fdd.hh" namespace runos { namespace retic { void dumpAsDot(const fdd::diagram& d, std::ostream& out); } }
10.928571
57
0.69281
enotnadoske
64c5a136567b9d94d985087bcbc04916f4e313d0
7,650
cpp
C++
bbs/prot/xmodemt.cpp
granitepenguin/wwiv
30669b21f45c5f534014a251f55568c86904f87e
[ "Apache-2.0" ]
157
2015-07-08T18:29:22.000Z
2022-03-10T10:22:58.000Z
bbs/prot/xmodemt.cpp
granitepenguin/wwiv
30669b21f45c5f534014a251f55568c86904f87e
[ "Apache-2.0" ]
1,037
2015-07-18T03:09:12.000Z
2022-03-13T17:39:55.000Z
bbs/prot/xmodemt.cpp
granitepenguin/wwiv
30669b21f45c5f534014a251f55568c86904f87e
[ "Apache-2.0" ]
74
2015-07-08T19:42:19.000Z
2021-12-22T06:15:46.000Z
#ifndef lint static const char rcsid[] = "$Id$"; #endif /* * Copyright (c) 1995 by Edward A. Falk */ /********** * * * @ @ @ @ @@@ @@@@ @@@@@ @ @ @@@@@ * @ @ @@ @@ @ @ @ @ @ @@ @@ @ * @ @ @ @ @ @ @ @ @@@ @ @ @ @ * @ @ @ @ @ @ @ @ @ @ @ @ @ @...
19.97389
93
0.573856
granitepenguin
64c8870e32bb42092057ecf7f9eb185e3d1ee285
226
cpp
C++
fileio/FileWriterFactory.cpp
lw983165/OpsMain
0bcb5dc8e222cd5f448953b0ce41367671326004
[ "Apache-2.0" ]
null
null
null
fileio/FileWriterFactory.cpp
lw983165/OpsMain
0bcb5dc8e222cd5f448953b0ce41367671326004
[ "Apache-2.0" ]
null
null
null
fileio/FileWriterFactory.cpp
lw983165/OpsMain
0bcb5dc8e222cd5f448953b0ce41367671326004
[ "Apache-2.0" ]
null
null
null
#include "FileWriterFactory.hpp" #include "JsonFileWriter.hpp" IFileWriter *FileWriterFactory::create(const std::string &format) { if (format == "json") { return new JsonFileWriter(); } return nullptr; }
18.833333
65
0.676991
lw983165
64cdffd116221a9d6babd928abf2c6992aa3892b
10,778
cpp
C++
coverage/explicit.cpp
m-tosch/mu
2d2baf242119fe5555a59d3d63bcc42acb477755
[ "MIT" ]
null
null
null
coverage/explicit.cpp
m-tosch/mu
2d2baf242119fe5555a59d3d63bcc42acb477755
[ "MIT" ]
109
2020-10-06T16:33:15.000Z
2021-02-08T10:54:56.000Z
coverage/explicit.cpp
m-tosch/mu
2d2baf242119fe5555a59d3d63bcc42acb477755
[ "MIT" ]
null
null
null
#include "mu/matrix.h" #include "mu/vector.h" #include "mu/vector2d.h" #include "mu/vector3d.h" /** * Instantiate this template class and template functions explicitly so that all * functions are generated and thus, the coverage report is accurate. */ /********************************* Vector *********************...
43.991837
80
0.592318
m-tosch
64d1c08f82af1a6ccde840e28dd76aed1addedc3
2,031
hh
C++
src/system/io/fileReader.hh
othieno/clockwork
ac2b7d2e0324fff1440df90670de181dce234dd0
[ "MIT" ]
6
2016-09-19T09:02:32.000Z
2021-03-01T05:50:53.000Z
src/system/io/fileReader.hh
othieno/clockwork
ac2b7d2e0324fff1440df90670de181dce234dd0
[ "MIT" ]
null
null
null
src/system/io/fileReader.hh
othieno/clockwork
ac2b7d2e0324fff1440df90670de181dce234dd0
[ "MIT" ]
2
2016-06-01T02:18:07.000Z
2021-06-25T13:32:22.000Z
/* * This file is part of Clockwork. * * Copyright (c) 2013-2016 Jeremy Othieno. * * The MIT License (MIT) * 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, includi...
31.734375
81
0.736583
othieno
64d2e0b165e52b8d8c186131c8f95a365c40bea1
8,064
cpp
C++
DreamDaq/VMElib/X742CorrectionRoutines.cpp
ivivarel/DREMTubes
ac768990b4c5e2c23d986284ed10189f31796b38
[ "MIT" ]
3
2021-07-22T12:17:48.000Z
2021-07-27T07:22:54.000Z
DreamDaq/VMElib/X742CorrectionRoutines.cpp
ivivarel/DREMTubes
ac768990b4c5e2c23d986284ed10189f31796b38
[ "MIT" ]
38
2021-07-14T15:41:04.000Z
2022-03-29T14:18:20.000Z
DreamDaq/VMElib/X742CorrectionRoutines.cpp
ivivarel/DREMTubes
ac768990b4c5e2c23d986284ed10189f31796b38
[ "MIT" ]
7
2021-07-21T12:00:33.000Z
2021-11-13T10:45:30.000Z
#include <string.h> #include "X742CorrectionRoutines.h" static void PeakCorrection(CAEN_DGTZ_X742_GROUP_t* dataout) { int32_t offset; int32_t chaux_en; uint32_t i; int32_t j; chaux_en = (dataout->ChSize[8] == 0)? 0:1; for(j=0; j<(8+chaux_en); j++){ dataout->DataChannel[j][0] = dataout->DataChannel[j][...
30.315789
148
0.586682
ivivarel
64d57c21faa94656db73d848a7430425b162cddc
1,119
cpp
C++
codes/leetcode/BasicCalculatorll.cpp
smmehrab/problem-solving
4aeab1673f18d3270ee5fc9b64ed6805eacf4af5
[ "MIT" ]
null
null
null
codes/leetcode/BasicCalculatorll.cpp
smmehrab/problem-solving
4aeab1673f18d3270ee5fc9b64ed6805eacf4af5
[ "MIT" ]
null
null
null
codes/leetcode/BasicCalculatorll.cpp
smmehrab/problem-solving
4aeab1673f18d3270ee5fc9b64ed6805eacf4af5
[ "MIT" ]
null
null
null
/* ************************************************ username : smmehrab fullname : s.m.mehrabul islam email : mehrab.24csedu.001@gmail.com institute : university of dhaka, bangladesh session : 2017-2018 ************************************************ */ class Solution { public: int calc...
31.083333
75
0.487042
smmehrab
64d752353088959200a39a2ff0477db3d8b97e3b
14,590
cpp
C++
Core/Unix/CoreUnix.cpp
screwjack/nemesis
8c2587d2aa60f8da6cf49e5f4f5740bf2666c6fd
[ "BSD-2-Clause" ]
2
2016-10-15T05:12:16.000Z
2016-11-06T16:19:53.000Z
Core/Unix/CoreUnix.cpp
screwjack/nemesis
8c2587d2aa60f8da6cf49e5f4f5740bf2666c6fd
[ "BSD-2-Clause" ]
14
2016-09-21T21:24:46.000Z
2016-11-15T07:54:21.000Z
Core/Unix/CoreUnix.cpp
screwjack/nemesis
8c2587d2aa60f8da6cf49e5f4f5740bf2666c6fd
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (c) 2016 nemesis project/mrn@sdf.org. All rights reserved. http://mrn.sixbit.org/ Governed by the BSD 2 Clause license, the full text of which is contained in the file License.txt included in nemesis binary and source code distribution packages. Based on TrueCrypt 7.1a, which was governed by the Tru...
22.868339
180
0.66011
screwjack
64d77eb1693cdb251bb0f6d2ab4ac3597fb47089
2,676
cpp
C++
src/TyroApp.cpp
timw4mail/Tyro
68624456f1922a986203d09739d88d42689aaee8
[ "MIT" ]
null
null
null
src/TyroApp.cpp
timw4mail/Tyro
68624456f1922a986203d09739d88d42689aaee8
[ "MIT" ]
11
2015-04-29T19:01:06.000Z
2015-07-24T19:25:06.000Z
src/TyroApp.cpp
timw4mail/Tyro
68624456f1922a986203d09739d88d42689aaee8
[ "MIT" ]
null
null
null
/** * Main application file */ #include "src/wx_common.h" #include "src/widgets/widget.h" #include <wx/app.h> #include <wx/sysopt.h> #include <wx/vidmode.h> #include "src/widgets/MainFrame.h" // All the ugly globals wxConfigBase *Glob_config = nullptr; LangConfig *Glob_lang_config = nullptr; ThemeConfig *Glob_the...
19.822222
76
0.69432
timw4mail
64d781a06c34f1ee45d63e1413945ec25894878b
709
cpp
C++
LeetCode/1201.ugly-number-iii.ac.cpp
Kresnt/AlgorithmTraining
3dec1e712f525b4f406fe669d97888f322dfca97
[ "MIT" ]
null
null
null
LeetCode/1201.ugly-number-iii.ac.cpp
Kresnt/AlgorithmTraining
3dec1e712f525b4f406fe669d97888f322dfca97
[ "MIT" ]
null
null
null
LeetCode/1201.ugly-number-iii.ac.cpp
Kresnt/AlgorithmTraining
3dec1e712f525b4f406fe669d97888f322dfca97
[ "MIT" ]
null
null
null
class Solution { public: int nthUglyNumber(int n, int a, int b, int c) { long long first = 0, len = 4e18; long long half, middle; while(len > 0) { half = len >> 1; middle = first + half; if(CountN(middle * 1ll, a * 1ll, b * 1ll, c * 1ll) < n) { first = middle + 1; ...
28.36
176
0.456982
Kresnt
64dd04b7b75e40642c12b95bba3f526087a4c479
2,145
hpp
C++
source/framework/algorithm/include/lue/framework/algorithm/policy/fill_halo_with_constant_value.hpp
computationalgeography/lue
71993169bae67a9863d7bd7646d207405dc6f767
[ "MIT" ]
2
2021-02-26T22:45:56.000Z
2021-05-02T10:28:48.000Z
source/framework/algorithm/include/lue/framework/algorithm/policy/fill_halo_with_constant_value.hpp
pcraster/lue
e64c18f78a8b6d8a602b7578a2572e9740969202
[ "MIT" ]
262
2016-08-11T10:12:02.000Z
2020-10-13T18:09:16.000Z
source/framework/algorithm/include/lue/framework/algorithm/policy/fill_halo_with_constant_value.hpp
computationalgeography/lue
71993169bae67a9863d7bd7646d207405dc6f767
[ "MIT" ]
1
2020-03-11T09:49:41.000Z
2020-03-11T09:49:41.000Z
#pragma once #include "lue/framework/core/define.hpp" #include <hpx/serialization.hpp> namespace lue::policy { /*! @brief Fill halo cells with a constant value */ template< typename Element> class FillHaloWithConstantValue { public: FillHaloWithConstantV...
18.02521
61
0.449883
computationalgeography
64e0f39332323de2baabe378e395fadc9e7f95c6
1,004
cxx
C++
cgv/render/stereo_view.cxx
MarioHenze/cgv
bacb2d270b1eecbea1e933b8caad8d7e11d807c2
[ "BSD-3-Clause" ]
11
2017-09-30T12:21:55.000Z
2021-04-29T21:31:57.000Z
cgv/render/stereo_view.cxx
MarioHenze/cgv
bacb2d270b1eecbea1e933b8caad8d7e11d807c2
[ "BSD-3-Clause" ]
2
2017-07-11T11:20:08.000Z
2018-03-27T12:09:02.000Z
cgv/render/stereo_view.cxx
MarioHenze/cgv
bacb2d270b1eecbea1e933b8caad8d7e11d807c2
[ "BSD-3-Clause" ]
24
2018-03-27T11:46:16.000Z
2021-05-01T20:28:34.000Z
#include <cgv/base/base.h> #include "stereo_view.h" namespace cgv { namespace render { /// stereo_view::stereo_view() { set_default_values(); } /// set distance between eyes void stereo_view::set_eye_distance(double e) { eye_distance = e; } /// void stereo_view::set_default_values() { set_default_view(); set_y...
18.592593
91
0.736056
MarioHenze
64ebd14e238e3b8bf30762aff5d757f1ad471035
1,632
cpp
C++
src/plugins/monocle/plugins/mu/mu.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
120
2015-01-22T14:10:39.000Z
2021-11-25T12:57:16.000Z
src/plugins/monocle/plugins/mu/mu.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
8
2015-02-07T19:38:19.000Z
2017-11-30T20:18:28.000Z
src/plugins/monocle/plugins/mu/mu.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
33
2015-02-07T16:59:55.000Z
2021-10-12T00:36:40.000Z
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE...
20.4
83
0.637255
Maledictus
64ef778b1ce8500428e0a0f05b0f36b01afa3267
4,937
hpp
C++
e-Paper/src/sdkconfig.hpp
PDA-UR/Dumb-e-Paper
99aecce5fbcb64d32b7e47809df393e0e2e7fab4
[ "MIT" ]
3
2018-06-20T12:13:11.000Z
2020-02-15T12:57:34.000Z
e-Paper/src/sdkconfig.hpp
PDA-UR/Dumb-e-Paper
99aecce5fbcb64d32b7e47809df393e0e2e7fab4
[ "MIT" ]
null
null
null
e-Paper/src/sdkconfig.hpp
PDA-UR/Dumb-e-Paper
99aecce5fbcb64d32b7e47809df393e0e2e7fab4
[ "MIT" ]
2
2021-01-16T13:19:02.000Z
2021-12-15T03:32:26.000Z
/* * * Automatically generated file; DO NOT EDIT. * Espressif IoT Development Framework Configuration * */ #define CONFIG_GATTC_ENABLE 1 #define CONFIG_ESP32_PHY_MAX_TX_POWER 20 #define CONFIG_PHY_ENABLED 1 #define CONFIG_TRACEMEM_RESERVE_DRAM 0x0 #define CONFIG_FREERTOS_MAX_TASK_NAME_LEN 16 #define CONFIG_BLE_SMP...
39.18254
66
0.891229
PDA-UR
64f2229e09e536f50b9415eaae72d0ba0d97f9f1
491
cpp
C++
Basic/1040.cpp
GodLovesJonny/PAT-Solutions
b32d7de549c6b0ad8dc2e48d8a0e5cbf2241ed77
[ "MIT" ]
6
2019-03-13T10:07:25.000Z
2019-09-29T14:10:11.000Z
Basic/1040.cpp
GodLovesJonny/PAT-Solutions
b32d7de549c6b0ad8dc2e48d8a0e5cbf2241ed77
[ "MIT" ]
null
null
null
Basic/1040.cpp
GodLovesJonny/PAT-Solutions
b32d7de549c6b0ad8dc2e48d8a0e5cbf2241ed77
[ "MIT" ]
null
null
null
#include <algorithm> #include <cmath> #include <cstdio> #include <cstring> #include <iostream> #include <queue> #include <string> #include <vector> using namespace std; string s; int main() { ios::sync_with_stdio(false); cin >> s; long long cnt = 0, cntPAT = 0, cntAT = 0; int len = s.length(); while (len--) { ...
14.878788
42
0.590631
GodLovesJonny
64f4936b721cca8a97456321ef9bb98b3f6b4a4c
4,180
cpp
C++
src/param_initializers.cpp
afaji/Marian
1f6db367b4d380f7640c31a45ce855bd8dacbdae
[ "MIT" ]
null
null
null
src/param_initializers.cpp
afaji/Marian
1f6db367b4d380f7640c31a45ce855bd8dacbdae
[ "MIT" ]
null
null
null
src/param_initializers.cpp
afaji/Marian
1f6db367b4d380f7640c31a45ce855bd8dacbdae
[ "MIT" ]
null
null
null
// This file is part of the Marian toolkit. // Marian is copyright (c) 2016 Marcin Junczys-Dowmunt. // // 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 withou...
27.320261
91
0.635167
afaji
64fdbaf3d5bf0ea92748cfd812d29272aab0b1d2
1,380
hpp
C++
examples/advanced/game/include/Game.hpp
szszszsz/blue
a6a93d9a6c7bda6b4ed4fa3b9b4b01094c4915b8
[ "MIT" ]
4
2019-07-21T17:09:48.000Z
2021-02-20T03:34:10.000Z
examples/advanced/game/include/Game.hpp
szszszsz/blue
a6a93d9a6c7bda6b4ed4fa3b9b4b01094c4915b8
[ "MIT" ]
2
2019-07-25T08:29:18.000Z
2020-01-07T09:04:51.000Z
examples/advanced/game/include/Game.hpp
szszszsz/blue
a6a93d9a6c7bda6b4ed4fa3b9b4b01094c4915b8
[ "MIT" ]
1
2019-08-10T08:35:55.000Z
2019-08-10T08:35:55.000Z
#pragma once #include "terrain/Map.hpp" #include "terrain/Flora.hpp" #include "terrain/Water.hpp" #include "states/BaseState.hpp" #include <atomic> #include <memory> #include <states/MainMenu.hpp> class Game { public: static Game& instance(); static void init(); static void dispose(); void reset_state(); ...
20.597015
59
0.684783
szszszsz
64fddf4cf926caf8b58764f05559e36ba7c513bd
4,118
hpp
C++
include/otf2xx/definition/detail/comm_impl.hpp
dhinf/otf2xx
78d3c0eb0b201010b7436bbb235ebdbdabec17d2
[ "BSD-3-Clause" ]
8
2016-11-11T09:33:59.000Z
2022-03-11T12:34:01.000Z
include/otf2xx/definition/detail/comm_impl.hpp
dhinf/otf2xx
78d3c0eb0b201010b7436bbb235ebdbdabec17d2
[ "BSD-3-Clause" ]
38
2016-12-12T09:21:07.000Z
2022-03-11T12:18:36.000Z
include/otf2xx/definition/detail/comm_impl.hpp
dhinf/otf2xx
78d3c0eb0b201010b7436bbb235ebdbdabec17d2
[ "BSD-3-Clause" ]
5
2017-06-01T12:01:03.000Z
2022-03-11T11:00:00.000Z
/* * This file is part of otf2xx (https://github.com/tud-zih-energy/otf2xx) * otf2xx - A wrapper for the Open Trace Format 2 library * * Copyright (c) 2013-2016, Technische Universität Dresden, Germany * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, ...
34.605042
98
0.660272
dhinf
64fee22060b6f533b1943a7af949b00e4321c47c
967
cc
C++
dev/g++/projects/embedded/httpserver/test/testlib.cc
YannGarcia/repo
0f3de24c71d942c752ada03c10861e83853fdf71
[ "MIT" ]
null
null
null
dev/g++/projects/embedded/httpserver/test/testlib.cc
YannGarcia/repo
0f3de24c71d942c752ada03c10861e83853fdf71
[ "MIT" ]
null
null
null
dev/g++/projects/embedded/httpserver/test/testlib.cc
YannGarcia/repo
0f3de24c71d942c752ada03c10861e83853fdf71
[ "MIT" ]
1
2017-01-27T12:53:50.000Z
2017-01-27T12:53:50.000Z
/** * @file testlib.cpp * @brief HTTP server test suite. * @author garciay.yann@gmail.com * @copyright Copyright (c) 2015 ygarcia. All rights reserved * @license This project is released under the MIT License * @version 0.1 */ #include <cstdlib> #include <cstring> #include <iostream> #include <algorithm> #...
21.488889
61
0.698035
YannGarcia
64feeaf72b60a389747be21f5691be84269edb9c
2,828
hpp
C++
test/core/api/transport/listener_test.hpp
lamafab/kagome
988bc6d93314ca58b320a9d83dcbc4cd3b87b7bb
[ "Apache-2.0" ]
null
null
null
test/core/api/transport/listener_test.hpp
lamafab/kagome
988bc6d93314ca58b320a9d83dcbc4cd3b87b7bb
[ "Apache-2.0" ]
null
null
null
test/core/api/transport/listener_test.hpp
lamafab/kagome
988bc6d93314ca58b320a9d83dcbc4cd3b87b7bb
[ "Apache-2.0" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef KAGOME_TEST_CORE_API_TRANSPORT_LISTENER_TEST_HPP #define KAGOME_TEST_CORE_API_TRANSPORT_LISTENER_TEST_HPP #include "api/transport/listener.hpp" #include <gtest/gtest.h> #include "api/jrpc/jrpc_processor.hpp" ...
32.136364
80
0.703324
lamafab
8f053fe905be4e54dd57eb47455ccdb86835d13e
1,177
cpp
C++
dominant-homozygous-lethal/code/solution1.cpp
Shenzhen-Middle-School-OI-team/QGeneCal
e40cf975d8bc5719a7bd8cd5d15df9ba952f2ad8
[ "MIT" ]
null
null
null
dominant-homozygous-lethal/code/solution1.cpp
Shenzhen-Middle-School-OI-team/QGeneCal
e40cf975d8bc5719a7bd8cd5d15df9ba952f2ad8
[ "MIT" ]
1
2021-06-13T10:48:53.000Z
2021-06-13T10:48:53.000Z
dominant-homozygous-lethal/code/solution1.cpp
Shenzhen-Middle-School-OI-team/QGeneCal
e40cf975d8bc5719a7bd8cd5d15df9ba952f2ad8
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define MAXN (1<<17)+5 #define U 18 #define int long long using namespace std; inline int read(){ int x=0,f=1; char ch=getchar(); while(ch<'0'||ch>'9'){ if(ch=='-') f=-1; ch=getchar(); } while(ch>='0'&&ch<='9'){ x=x*10+ch-'0'; ch=getchar(); } return x*f; } int cnt[MAXN]; int n,m;...
18.68254
59
0.497876
Shenzhen-Middle-School-OI-team
8f05e3e42594eef06546e4c56f69ddcba4097e67
1,973
cpp
C++
canvas.cpp
twareintor/CanvasText
2b1a1ffe6ac7fd65088fbde71566b910231ec426
[ "MIT" ]
null
null
null
canvas.cpp
twareintor/CanvasText
2b1a1ffe6ac7fd65088fbde71566b910231ec426
[ "MIT" ]
null
null
null
canvas.cpp
twareintor/CanvasText
2b1a1ffe6ac7fd65088fbde71566b910231ec426
[ "MIT" ]
null
null
null
//Permanent link: https://rextester.com/CCAB72954 //Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64 //two-dim array of chars canvas to draw in //Code by Twareintor - Copyright (c) 2018 Claudiu Ciutacu #lt:mliato:ciutacu/0[gma!1?cOm#gt: #include "canvas.h" int main(void) { printf("Hello, world!...
22.678161
92
0.501267
twareintor
557e0b7a976fd118c3ed7bc2da074c8726e518af
687
cpp
C++
1-introduction/geometric_progression.cpp
mohsend/Magnificent-University-projects
4b0f9df939a60ace45eeccb331db85af77d83ee9
[ "MIT" ]
null
null
null
1-introduction/geometric_progression.cpp
mohsend/Magnificent-University-projects
4b0f9df939a60ace45eeccb331db85af77d83ee9
[ "MIT" ]
null
null
null
1-introduction/geometric_progression.cpp
mohsend/Magnificent-University-projects
4b0f9df939a60ace45eeccb331db85af77d83ee9
[ "MIT" ]
null
null
null
/* * https://en.wikipedia.org/wiki/Geometric_progression */ #include <iostream> using namespace std; int main() { long int x, n, x_n = 1, sum = 1; cout << "Enter two positive integers:\nX = "; cin >> x; cout << "N = "; cin >> n; cout << "Geometric sequence: " << endl; for (int i = 1; i <...
20.818182
75
0.465793
mohsend
5581d1c620c8131449aeb15269bbf14fe633134d
6,657
cpp
C++
MMOCoreORB/src/server/zone/ZoneClientSessionImplementation.cpp
V-Fib/FlurryClone
40e0ca7245ec31b3815eb6459329fd9e70f88936
[ "Zlib", "OpenSSL" ]
18
2017-02-09T15:36:05.000Z
2021-12-21T04:22:15.000Z
MMOCoreORB/src/server/zone/ZoneClientSessionImplementation.cpp
V-Fib/FlurryClone
40e0ca7245ec31b3815eb6459329fd9e70f88936
[ "Zlib", "OpenSSL" ]
61
2016-12-30T21:51:10.000Z
2021-12-10T20:25:56.000Z
MMOCoreORB/src/server/zone/ZoneClientSessionImplementation.cpp
V-Fib/FlurryClone
40e0ca7245ec31b3815eb6459329fd9e70f88936
[ "Zlib", "OpenSSL" ]
71
2017-01-01T05:34:38.000Z
2022-03-29T01:04:00.000Z
/* Copyright <SWGEmu> See file COPYING for copying conditions.*/ #include "server/zone/ZoneClientSession.h" #include "server/zone/ZoneServer.h" #include "server/zone/objects/creature/CreatureObject.h" #include "server/zone/objects/player/events/ClearClientEvent.h" #include "server/zone/objects/player/events/D...
27.7375
154
0.734415
V-Fib
558324554e272888d5c1810fd53e3185b576f930
406
cpp
C++
arrays/pivot.cpp
Mohitmauryagit/datastructures
df61f3f5b592dc4fe0b9d6a966b87f3348328e0a
[ "MIT" ]
8
2021-08-12T08:09:37.000Z
2021-12-30T10:45:54.000Z
arrays/pivot.cpp
Mohitmauryagit/datastructures
df61f3f5b592dc4fe0b9d6a966b87f3348328e0a
[ "MIT" ]
7
2021-06-09T05:13:23.000Z
2022-01-24T04:47:59.000Z
arrays/pivot.cpp
Mohitmauryagit/datastructures
df61f3f5b592dc4fe0b9d6a966b87f3348328e0a
[ "MIT" ]
4
2021-11-07T07:09:58.000Z
2022-02-08T11:43:56.000Z
#include <iostream> using namespace std; int main() { int a[] ={5,22,2,17,-5}; int size = sizeof(a)/sizeof(int); int pivot=a[0]; int i=1,lastsmall=0; int t; for (i=1;i<=size-1;i++) { if(a[i]>=pivot) continue; lastsmall++; t=a[i]; a[i]=a[lastsmall]; a[lastsmall]=t; } t=a[0]; a[0]=...
16.24
37
0.534483
Mohitmauryagit
5584c02e722d4c0a733f85473efbaa63f057552c
1,938
cpp
C++
src/umpire/op/GenericReallocateOperation.cpp
PhilipDeegan/Umpire
3f047822380435131a00a0c7e356c9e845bbfef3
[ "MIT-0", "MIT" ]
229
2018-03-12T19:16:04.000Z
2022-03-25T15:21:39.000Z
src/umpire/op/GenericReallocateOperation.cpp
PhilipDeegan/Umpire
3f047822380435131a00a0c7e356c9e845bbfef3
[ "MIT-0", "MIT" ]
504
2018-07-03T23:37:14.000Z
2022-03-23T20:15:26.000Z
src/umpire/op/GenericReallocateOperation.cpp
PhilipDeegan/Umpire
3f047822380435131a00a0c7e356c9e845bbfef3
[ "MIT-0", "MIT" ]
53
2018-06-29T23:37:19.000Z
2022-03-28T17:39:20.000Z
////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2016-21, Lawrence Livermore National Security, LLC and Umpire // project contributors. See the COPYRIGHT file for details. // // SPDX-License-Identifier: (MIT) ////////////////////////////////////////////////////////////////...
36.566038
104
0.673375
PhilipDeegan
55863f62c3619d5c5a6360bd6c8179447bd6a8bd
2,340
cpp
C++
EZOJ/Contests/1445/B.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
6
2019-09-30T16:11:00.000Z
2021-11-01T11:42:33.000Z
EZOJ/Contests/1445/B.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
4
2017-11-21T08:17:42.000Z
2020-07-28T12:09:52.000Z
EZOJ/Contests/1445/B.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...
21.272727
79
0.573932
sshockwave
55887c6adb51dc89b9e6d5ee5bb273543cf82c4d
4,994
hpp
C++
include/VBE/system/Keyboard.hpp
Dirbaio/VBE
539d222dcbbf565ab64dc5d2463b310fd4b75873
[ "MIT" ]
null
null
null
include/VBE/system/Keyboard.hpp
Dirbaio/VBE
539d222dcbbf565ab64dc5d2463b310fd4b75873
[ "MIT" ]
null
null
null
include/VBE/system/Keyboard.hpp
Dirbaio/VBE
539d222dcbbf565ab64dc5d2463b310fd4b75873
[ "MIT" ]
null
null
null
#ifndef KEYBOARD_HPP #define KEYBOARD_HPP /// /// \brief The Keyboard class provides support to read the keyboard. /// class Keyboard { public: /// /// \brief Contains all supported keys. /// enum Key { Num0, Num1, Num2, Num3, Num4, Num5, Num6, Num7, Num8, Num9, A, AC_BACK,...
16.161812
121
0.621946
Dirbaio
55946f3858e6d120e6a15d0716ddd204b386e35a
33,121
cpp
C++
Libs/Math3D/BezierPatch.cpp
dns/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
3
2020-04-11T13:00:31.000Z
2020-12-07T03:19:10.000Z
Libs/Math3D/BezierPatch.cpp
DNS/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
null
null
null
Libs/Math3D/BezierPatch.cpp
DNS/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
1
2020-04-11T13:00:04.000Z
2020-04-11T13:00:04.000Z
/* Cafu Engine, http://www.cafu.de/ Copyright (c) Carsten Fuchs and other contributors. This project is licensed under the terms of the MIT license. */ #include "BezierPatch.hpp" using namespace cf::math; #if defined(_WIN32) && defined(_MSC_VER) && (_MSC_VER<1300) template class cf::math::BezierPatchT<float>; ...
36.356751
249
0.581836
dns
55949ee946167bf47457fbc3f6ac8136600ee336
19,344
hpp
C++
include/tesserae/term_feature.hpp
ansariyusuf/tesserae
7954b8af33f4378b3f94eaa2fe8c007c4836ac8d
[ "MIT" ]
1
2021-08-14T09:22:10.000Z
2021-08-14T09:22:10.000Z
include/tesserae/term_feature.hpp
ansariyusuf/tesserae
7954b8af33f4378b3f94eaa2fe8c007c4836ac8d
[ "MIT" ]
null
null
null
include/tesserae/term_feature.hpp
ansariyusuf/tesserae
7954b8af33f4378b3f94eaa2fe8c007c4836ac8d
[ "MIT" ]
null
null
null
/* * Copyright 2018 The Tesserae authors. * * For the full copyright and license information, please view the LICENSE file * that was distributed with this source code. */ #pragma once #include <cmath> #include <cstdio> #include <numeric> #include <string.h> #include "features/bm25/bm25.hpp" #include "features/...
39.157895
98
0.472963
ansariyusuf
55a197ae946add412c2cb21f3cb25e1f7c1466e9
8,795
cxx
C++
resip/stack/WsFrameExtractor.cxx
dulton/reSipServer
ac4241df81c1e3eef2e678271ffef4dda1fc6747
[ "Apache-2.0" ]
1
2019-04-15T14:10:58.000Z
2019-04-15T14:10:58.000Z
resip/stack/WsFrameExtractor.cxx
dulton/reSipServer
ac4241df81c1e3eef2e678271ffef4dda1fc6747
[ "Apache-2.0" ]
null
null
null
resip/stack/WsFrameExtractor.cxx
dulton/reSipServer
ac4241df81c1e3eef2e678271ffef4dda1fc6747
[ "Apache-2.0" ]
2
2019-10-31T09:11:09.000Z
2021-09-17T01:00:49.000Z
#include "rutil/Logger.hxx" #include "resip/stack/WsFrameExtractor.hxx" #include "rutil/WinLeakCheck.hxx" using namespace resip; #define RESIPROCATE_SUBSYSTEM Subsystem::TRANSPORT const int WsFrameExtractor::mMaxHeaderLen = 14; WsFrameExtractor::WsFrameExtractor(Data::size_type maxMessage) : mMaxMessage(maxMes...
30.327586
333
0.585901
dulton
55a44df223ceab063fff16a7c965c80e08da3c8f
16,901
cpp
C++
flash-graph/libgraph-algs/knn.back.cpp
kjhyun824/uncertain-graph-engine
17aa1b8b5d03b03200583797ab0cfb4a42ff8845
[ "Apache-2.0" ]
null
null
null
flash-graph/libgraph-algs/knn.back.cpp
kjhyun824/uncertain-graph-engine
17aa1b8b5d03b03200583797ab0cfb4a42ff8845
[ "Apache-2.0" ]
null
null
null
flash-graph/libgraph-algs/knn.back.cpp
kjhyun824/uncertain-graph-engine
17aa1b8b5d03b03200583797ab0cfb4a42ff8845
[ "Apache-2.0" ]
null
null
null
// // Created by kckjn97 on 17. 11. 22. // #ifndef VATTR_SAVE #define VATTR_SAVE 0 #endif #include <signal.h> #ifdef PROFILER #include <gperftools/profiler.h> #endif #include <set> #include <vector> #include "graph_engine.h" #include "graph_config.h" #include "FGlib.h" #include <mutex> /* KJH : For mmap() */ #incl...
31.414498
143
0.497308
kjhyun824
55a545259ca963cf5b134573911ecfef05a7f82c
3,086
cpp
C++
tools/test_kopter.cpp
dirkholz/libmikrokopter
d25b0b5e663776df0063e2b51d32f730ae7a12f0
[ "BSD-2-Clause" ]
1
2018-09-03T12:43:08.000Z
2018-09-03T12:43:08.000Z
tools/test_kopter.cpp
dirkholz/libmikrokopter
d25b0b5e663776df0063e2b51d32f730ae7a12f0
[ "BSD-2-Clause" ]
null
null
null
tools/test_kopter.cpp
dirkholz/libmikrokopter
d25b0b5e663776df0063e2b51d32f730ae7a12f0
[ "BSD-2-Clause" ]
null
null
null
/* -*- Mode: c++; tab-width: 2; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* vim:set softtabstop=2 shiftwidth=2 tabstop=2 expandtab: */ /* * Software License Agreement (BSD License) * * Copyright (c) 2012, Dirk Holz, University of Bonn. * All rights reserved. * * Redistribution and use in source and bina...
33.182796
89
0.689566
dirkholz
55ac9a7721151e34a075b89f4434ebac421f77e3
1,390
cpp
C++
Love Babber OnGoing Placement/BinarySearch/PeakOfTheMountain.cpp
work-mohit/Placement-Practice
396e61f7980991b2d6392589f26f917981c135ab
[ "MIT" ]
null
null
null
Love Babber OnGoing Placement/BinarySearch/PeakOfTheMountain.cpp
work-mohit/Placement-Practice
396e61f7980991b2d6392589f26f917981c135ab
[ "MIT" ]
null
null
null
Love Babber OnGoing Placement/BinarySearch/PeakOfTheMountain.cpp
work-mohit/Placement-Practice
396e61f7980991b2d6392589f26f917981c135ab
[ "MIT" ]
null
null
null
class Solution { public: int peakIndexInMountainArray(vector<int>& arr) { int n = arr.size(); int s =0; int e = n-1; int mid= s + (e-s)/2; while(s < e){ if(arr[mid] < arr[mid+1]){ s = mid + 1; }else{ e = mid; ...
23.965517
54
0.372662
work-mohit
55ae77cdf3fcf6be5eef89958c366cc122681030
5,425
cpp
C++
src/frameworks/av/media/libstagefright/bqhelper/tests/FrameDropper_test.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
src/frameworks/av/media/libstagefright/bqhelper/tests/FrameDropper_test.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
src/frameworks/av/media/libstagefright/bqhelper/tests/FrameDropper_test.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
2
2021-07-08T07:42:11.000Z
2021-07-09T21:56:10.000Z
/* * Copyright (C) 2015 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
39.311594
83
0.669124
dAck2cC2
55b25a0239354cae0ada76baeff1bf2929c866f4
894
cpp
C++
test/Splines/CubicSpline.cpp
kurocha/splines
00ba452d378f71b26bddbfe787f68dea6e6160ad
[ "MIT", "Unlicense" ]
null
null
null
test/Splines/CubicSpline.cpp
kurocha/splines
00ba452d378f71b26bddbfe787f68dea6e6160ad
[ "MIT", "Unlicense" ]
null
null
null
test/Splines/CubicSpline.cpp
kurocha/splines
00ba452d378f71b26bddbfe787f68dea6e6160ad
[ "MIT", "Unlicense" ]
null
null
null
// // CubicSpline.cpp // This file is part of the "Splines" project and released under the MIT License. // // Created by Samuel Williams on 10/6/2020. // Copyright, 2020, by Samuel Williams. All rights reserved. // #include <UnitTest/UnitTest.hpp> #include <Splines/Polyline.hpp> #include <Splines/CubicSpline.hpp>...
23.526316
82
0.639821
kurocha
55b76686d2c928ea2465254237daae3e07052cb0
4,855
cpp
C++
test/ShrinkableTests.cpp
bgn9000/rapidcheck
593ada72f6938221973bf30bf7a7f7e6a24160de
[ "BSD-2-Clause" ]
null
null
null
test/ShrinkableTests.cpp
bgn9000/rapidcheck
593ada72f6938221973bf30bf7a7f7e6a24160de
[ "BSD-2-Clause" ]
1
2018-08-20T19:04:31.000Z
2018-08-20T19:04:31.000Z
test/ShrinkableTests.cpp
bantamtools/rapidcheck
4187d901e786b1d89ab30e6b72ac1c0fc3d902cf
[ "BSD-2-Clause" ]
1
2019-03-05T13:52:28.000Z
2019-03-05T13:52:28.000Z
#include <catch.hpp> #include <rapidcheck/catch.h> #include "rapidcheck/Shrinkable.h" #include "rapidcheck/shrinkable/Create.h" #include "util/TemplateProps.h" #include "util/Logger.h" #include "util/Generators.h" #include "util/DestructNotifier.h" using namespace rc; using namespace rc::test; namespace { template...
28.727811
76
0.621833
bgn9000
55ba5744f76d9ebb9e6f6cad90f4a1a37c2d3da7
141
cpp
C++
tests/concepts/concepts_test.cpp
JonathanCline/SAELib
8f9dca373b360e0fc91430ec6f18cf036ae69e2a
[ "MIT" ]
null
null
null
tests/concepts/concepts_test.cpp
JonathanCline/SAELib
8f9dca373b360e0fc91430ec6f18cf036ae69e2a
[ "MIT" ]
null
null
null
tests/concepts/concepts_test.cpp
JonathanCline/SAELib
8f9dca373b360e0fc91430ec6f18cf036ae69e2a
[ "MIT" ]
null
null
null
#define SAELIB_CXX_STANDARD 17 #include <SAELib/type_traits.h> #include <SAELib/concepts.h> #include <string> int main() { return 0; };
10.846154
31
0.716312
JonathanCline
55c0b69111e9e950971b5a7926d740e68d4d8a3d
7,917
cpp
C++
tst/math/uinterp.cpp
transpixel/TPQZcam
b44a97d44b49e9aa76c36efb6e4102091ff36c67
[ "MIT" ]
1
2017-06-01T00:21:16.000Z
2017-06-01T00:21:16.000Z
tst/math/uinterp.cpp
transpixel/TPQZcam
b44a97d44b49e9aa76c36efb6e4102091ff36c67
[ "MIT" ]
3
2017-06-01T00:26:16.000Z
2020-05-09T21:06:27.000Z
testmath/uinterp.cpp
transpixel/tpqz
2d8400b1be03292d0c5ab74710b87e798ae6c52c
[ "MIT" ]
null
null
null
// // // MIT License // // Copyright (c) 2017 Stellacore Corporation. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to ...
25.872549
72
0.660477
transpixel
55c2026bada5e5cb8dca1b69175584ce05d77e69
13,358
cpp
C++
src/cascadia/LocalTests_TerminalApp/ColorSchemeTests.cpp
lifeng1983/Terminal
1d35e180fdaacef731886bdb2cabca2ea4fe2b49
[ "MIT" ]
2
2020-07-26T17:01:47.000Z
2020-09-09T00:03:12.000Z
src/cascadia/LocalTests_TerminalApp/ColorSchemeTests.cpp
lifeng1983/Terminal
1d35e180fdaacef731886bdb2cabca2ea4fe2b49
[ "MIT" ]
1
2020-06-05T17:10:22.000Z
2020-06-05T17:10:22.000Z
src/cascadia/LocalTests_TerminalApp/ColorSchemeTests.cpp
lifeng1983/Terminal
1d35e180fdaacef731886bdb2cabca2ea4fe2b49
[ "MIT" ]
2
2020-05-13T16:56:46.000Z
2021-03-01T03:00:07.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. #include "pch.h" #include "../TerminalApp/ColorScheme.h" #include "../TerminalApp/CascadiaSettings.h" #include "JsonTestClass.h" using namespace Microsoft::Console; using namespace TerminalApp; using namespace WEX::Logging; using ...
46.706294
119
0.634227
lifeng1983
55c6cc29c297c970a4ee57d4a59af2745c9e502e
1,051
cpp
C++
lib/Runtime/PlatformAgnostic/Platform/Linux/SystemInfo.cpp
rekhadpr/demoazure1
394d777e507b171876734d871d50e47254636b9d
[ "MIT" ]
null
null
null
lib/Runtime/PlatformAgnostic/Platform/Linux/SystemInfo.cpp
rekhadpr/demoazure1
394d777e507b171876734d871d50e47254636b9d
[ "MIT" ]
null
null
null
lib/Runtime/PlatformAgnostic/Platform/Linux/SystemInfo.cpp
rekhadpr/demoazure1
394d777e507b171876734d871d50e47254636b9d
[ "MIT" ]
null
null
null
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //---------------------------------------------------------...
26.948718
105
0.475737
rekhadpr
55cc0c1dd1cc978931b0dda824d09f86e42f25b8
772
cpp
C++
src/analyzers/tokenizers/character_tokenizer.cpp
Lolik111/meta
c7019401185cdfa15e1193aad821894c35a83e3f
[ "MIT" ]
615
2015-01-31T17:14:03.000Z
2022-03-27T03:03:02.000Z
src/analyzers/tokenizers/character_tokenizer.cpp
Lolik111/meta
c7019401185cdfa15e1193aad821894c35a83e3f
[ "MIT" ]
167
2015-01-20T17:48:16.000Z
2021-12-20T00:15:29.000Z
src/analyzers/tokenizers/character_tokenizer.cpp
Lolik111/meta
c7019401185cdfa15e1193aad821894c35a83e3f
[ "MIT" ]
264
2015-01-30T00:08:01.000Z
2022-03-02T17:19:11.000Z
/** * @file character_tokenizer.cpp * @author Chase Geigle */ #include "meta/analyzers/tokenizers/character_tokenizer.h" #include "meta/corpus/document.h" #include "meta/io/mmap_file.h" namespace meta { namespace analyzers { namespace tokenizers { const util::string_view character_tokenizer::id = "character-token...
17.155556
74
0.705959
Lolik111