hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
054f9861e4c257cf7140e1fb788c558c03aa6921
5,929
cc
C++
tonic-suite/asr/src/ivectorbin/ivector-mean.cc
csb1024/djinn_csb
de50d6b6bc9c137e9f4b881de9048eba9e83142d
[ "BSD-3-Clause" ]
59
2015-07-01T21:41:47.000Z
2021-07-28T07:07:42.000Z
tonic-suite/asr/src/ivectorbin/ivector-mean.cc
csb1024/djinn_csb
de50d6b6bc9c137e9f4b881de9048eba9e83142d
[ "BSD-3-Clause" ]
4
2016-01-24T13:25:03.000Z
2021-07-06T09:10:23.000Z
tonic-suite/asr/src/ivectorbin/ivector-mean.cc
csb1024/djinn_csb
de50d6b6bc9c137e9f4b881de9048eba9e83142d
[ "BSD-3-Clause" ]
54
2015-06-13T15:31:20.000Z
2021-07-28T07:07:43.000Z
// ivectorbin/ivector-mean.cc // Copyright 2013-2014 Daniel Povey // See ../../COPYING for clarification regarding multiple 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 // /...
38.5
80
0.60398
csb1024
054fc497d48fcb564f03919a9190610f91a6fc28
2,122
hpp
C++
modules/asset/include/glpp/asset/render/scene_renderer.hpp
lenamueller/glpp
f7d29e5924537fd405a5bb409d67e65efdde8d9e
[ "MIT" ]
16
2019-12-10T19:44:17.000Z
2022-01-04T03:16:19.000Z
modules/asset/include/glpp/asset/render/scene_renderer.hpp
lenamueller/glpp
f7d29e5924537fd405a5bb409d67e65efdde8d9e
[ "MIT" ]
null
null
null
modules/asset/include/glpp/asset/render/scene_renderer.hpp
lenamueller/glpp
f7d29e5924537fd405a5bb409d67e65efdde8d9e
[ "MIT" ]
3
2021-06-04T21:56:55.000Z
2022-03-03T06:47:56.000Z
#pragma once #include "scene_view.hpp" #include "mesh_renderer.hpp" namespace glpp::asset::render { template<class ShadingModel> class scene_renderer_t { public: using material_key_t = size_t; using renderer_t = mesh_renderer_t<ShadingModel>; scene_renderer_t(const ShadingModel& model, const scene_t& scene); v...
28.675676
129
0.759661
lenamueller
05521ab08edad824e4200edaf15b4947e28577be
16,867
cpp
C++
Sources/External/node/elastos/external/chromium_org/third_party/WebKit/Source/modules/modules_gyp/bindings/core/v8/V8SVGLength.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/External/node/elastos/external/chromium_org/third_party/WebKit/Source/modules/modules_gyp/bindings/core/v8/V8SVGLength.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/External/node/elastos/external/chromium_org/third_party/WebKit/Source/modules/modules_gyp/bindings/core/v8/V8SVGLength.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! #include "config.h" #include "V8SVGLength.h" #include "bindings/core/v8/V8S...
49.031977
299
0.771744
jingcao80
05522110b84434638f878cd187d1463d33d0e6ff
4,137
cpp
C++
PopcornTorrent/Source/torrent/stack_allocator.cpp
tommy071/PopcornTorrent
88a1a4371d58e9d81839754d2eae079197dee5c5
[ "MIT" ]
4
2015-03-13T18:55:48.000Z
2015-06-27T09:33:44.000Z
src/stack_allocator.cpp
joriscarrier/libtorrent
1d801ec1b28c4e3643186905a5d28c7c1edbf534
[ "BSL-1.0", "BSD-3-Clause" ]
1
2017-09-19T08:52:30.000Z
2017-09-19T08:52:30.000Z
src/stack_allocator.cpp
joriscarrier/libtorrent
1d801ec1b28c4e3643186905a5d28c7c1edbf534
[ "BSL-1.0", "BSD-3-Clause" ]
1
2022-03-01T07:57:14.000Z
2022-03-01T07:57:14.000Z
/* Copyright (c) 2015-2016, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
28.729167
104
0.71767
tommy071
0552835adf7de414f2166c3571a77d85d166ebf7
43,016
hpp
C++
src/lapack_like/spectral/Pseudospectra/IRA.hpp
sg0/Elemental
614f02509690449b553451e36bc78e7e132ea517
[ "BSD-3-Clause" ]
1
2015-12-08T22:54:37.000Z
2015-12-08T22:54:37.000Z
src/lapack_like/spectral/Pseudospectra/IRA.hpp
sg0/Elemental
614f02509690449b553451e36bc78e7e132ea517
[ "BSD-3-Clause" ]
null
null
null
src/lapack_like/spectral/Pseudospectra/IRA.hpp
sg0/Elemental
614f02509690449b553451e36bc78e7e132ea517
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2009-2015, Jack Poulson All rights reserved. This file is part of Elemental and is under the BSD 2-Clause License, which can be found in the LICENSE file in the root directory, or at http://opensource.org/licenses/BSD-2-Clause */ #pragma once #ifndef EL_PSEUDOSPECTRA_IRA_HPP #define E...
35.579818
80
0.526479
sg0
0552cb692d7c38ce92bed21ac12f87f3dc644950
545
cpp
C++
src/core/objects/storage.cpp
PeculiarVentures/pvpkcs11
474cf3b2a958c83ccfebf3165e45e7f46d649c81
[ "MIT" ]
30
2017-05-25T08:54:25.000Z
2021-12-21T13:42:35.000Z
src/core/objects/storage.cpp
PeculiarVentures/pvpkcs11
474cf3b2a958c83ccfebf3165e45e7f46d649c81
[ "MIT" ]
37
2017-05-24T21:47:36.000Z
2021-06-02T09:23:54.000Z
src/core/objects/storage.cpp
PeculiarVentures/pvpkcs11
474cf3b2a958c83ccfebf3165e45e7f46d649c81
[ "MIT" ]
7
2017-07-22T09:50:13.000Z
2019-08-18T23:42:52.000Z
#include "storage.h" using namespace core; Storage::Storage() : Object() { LOGGER_FUNCTION_BEGIN; LOGGER_DEBUG("New %s", __FUNCTION__); try { // set props defaults Add(AttributeBool::New(CKA_TOKEN, false, PVF_13)); Add(AttributeBool::New(CKA_PRIVATE, false, PVF_13)); A...
27.25
82
0.645872
PeculiarVentures
0553e9e2e4fd4df78f4ff7634230b41afaad54b9
5,495
cpp
C++
Source/GASExtensions/Private/Tasks/GASExtAT_WaitAttributeChangeWithValues.cpp
TheEmidee/UEGASExtensions
8851dbaf9251ecdc914f381df161484a7c5d4275
[ "MIT" ]
null
null
null
Source/GASExtensions/Private/Tasks/GASExtAT_WaitAttributeChangeWithValues.cpp
TheEmidee/UEGASExtensions
8851dbaf9251ecdc914f381df161484a7c5d4275
[ "MIT" ]
null
null
null
Source/GASExtensions/Private/Tasks/GASExtAT_WaitAttributeChangeWithValues.cpp
TheEmidee/UEGASExtensions
8851dbaf9251ecdc914f381df161484a7c5d4275
[ "MIT" ]
null
null
null
// Copy of AbilityTask_WaitAttributeChange that passes the old and new values on change #include "Tasks/GASExtAT_WaitAttributeChangeWithValues.h" #include <AbilitySystemComponent.h> #include <AbilitySystemGlobals.h> #include <GameplayEffectExtension.h> UGASExtAT_WaitAttributeChangeWithValues::UGASExtAT_WaitA...
42.596899
395
0.719199
TheEmidee
0557b766a096ebf2de547bda82e105cba2d89fad
14,159
cpp
C++
Common/src/EGL/eglInstance.cpp
kbiElude/DolceSDK-Experiments
1b5cca8b437f5384e074b5b666bb2bdd3031d08d
[ "Unlicense" ]
null
null
null
Common/src/EGL/eglInstance.cpp
kbiElude/DolceSDK-Experiments
1b5cca8b437f5384e074b5b666bb2bdd3031d08d
[ "Unlicense" ]
null
null
null
Common/src/EGL/eglInstance.cpp
kbiElude/DolceSDK-Experiments
1b5cca8b437f5384e074b5b666bb2bdd3031d08d
[ "Unlicense" ]
null
null
null
extern "C" { #include <psp2/libdbg.h> } #include <sstream> #include <vector> #include "EGL/eglInstance.h" #include "ES/buffer.h" #include "ES/program.h" #include "ES/texture.h" #include "gfx/text_renderer.h" #include "io.h" #include "logger.h" EGLInstance::EGLInstance(Logger* in_logger_ptr) :m_display ...
33.315294
150
0.558443
kbiElude
0558276d222da6ed998865223f317b3aa1b5a994
298
cpp
C++
introduction/model_answer/cpp/17_one_quadrillion_and_one_dalmatians.cpp
AAAR-Salmon/procon
d65865e7c7d98f7194f93610b4f06df8fff3332c
[ "MIT" ]
null
null
null
introduction/model_answer/cpp/17_one_quadrillion_and_one_dalmatians.cpp
AAAR-Salmon/procon
d65865e7c7d98f7194f93610b4f06df8fff3332c
[ "MIT" ]
null
null
null
introduction/model_answer/cpp/17_one_quadrillion_and_one_dalmatians.cpp
AAAR-Salmon/procon
d65865e7c7d98f7194f93610b4f06df8fff3332c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ll = long long; int main() { ll N; cin >> N; ll L = 0, X = 1; while (N - X >= 0) { N -= X; L++; X *= 26; } string ans(L, 'a'); for (int i = L - 1; i >= 0; i--) { ans[i] += N % 26; N /= 26; } cout << ans << endl; return 0; }
12.956522
35
0.446309
AAAR-Salmon
0558840bdaa1ae8725ae0bde815c93c79b69a3c5
2,614
cpp
C++
src/plugins/device.cpp
localarchive/incubator-cordova-qt
41f94032208723e35f4b6b907ffa145fa8820c7a
[ "Apache-2.0" ]
null
null
null
src/plugins/device.cpp
localarchive/incubator-cordova-qt
41f94032208723e35f4b6b907ffa145fa8820c7a
[ "Apache-2.0" ]
null
null
null
src/plugins/device.cpp
localarchive/incubator-cordova-qt
41f94032208723e35f4b6b907ffa145fa8820c7a
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2011 Wolfgang Koller - http://www.gofg.at/ * * 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...
32.271605
306
0.682479
localarchive
055901eb2636856689cab8c248cefff777fee2dd
6,213
cpp
C++
Core/GDCore/IDE/Events/EventsBehaviorRenamer.cpp
psydox/GDevelop
cf462f6c6eede34faa5282158c2bd6a1b784d1bc
[ "MIT" ]
2,990
2018-09-10T19:49:49.000Z
2022-03-31T05:01:42.000Z
Core/GDCore/IDE/Events/EventsBehaviorRenamer.cpp
TheGemDev/GDevelop
6350b035e3f6ce6ecb985f02b1a591927dffe7e2
[ "MIT" ]
2,614
2018-09-09T21:37:47.000Z
2022-03-31T22:09:25.000Z
Core/GDCore/IDE/Events/EventsBehaviorRenamer.cpp
TheGemDev/GDevelop
6350b035e3f6ce6ecb985f02b1a591927dffe7e2
[ "MIT" ]
566
2018-09-11T17:48:13.000Z
2022-03-27T07:59:48.000Z
/* * GDevelop Core * Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights * reserved. This project is released under the MIT License. */ #include "GDCore/IDE/Events/EventsBehaviorRenamer.h" #include <map> #include <memory> #include <vector> #include "GDCore/Events/Event.h" #include "GDCore/Even...
37.654545
98
0.640431
psydox
055ab2002a9c1a604026d64f4ef956c193e8b527
2,586
cpp
C++
src/net/Server.cpp
landness/RPC-K8S-githubAction_cicd_test
8178274f1b952650d52125deeda2cfc3e6d3632c
[ "MIT" ]
null
null
null
src/net/Server.cpp
landness/RPC-K8S-githubAction_cicd_test
8178274f1b952650d52125deeda2cfc3e6d3632c
[ "MIT" ]
null
null
null
src/net/Server.cpp
landness/RPC-K8S-githubAction_cicd_test
8178274f1b952650d52125deeda2cfc3e6d3632c
[ "MIT" ]
null
null
null
#include"net/Server.h" #include<sys/socket.h> #include<arpa/inet.h> #include<netinet/in.h> #include"base/Util.h" Server::Server(Eventloop* loop,int threadnum,uint16_t port) :loop_(loop), threadnum_(threadnum), eventloopthreadpool_(new Eventloopthreadpool(loop_,threadnum_)), started_(false), port_(p...
29.386364
113
0.663186
landness
055b67249412faf462f91267025e145b1d5b5c21
7,118
cpp
C++
Code/Framework/AzQtComponents/AzQtComponents/Gallery/main.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-09-13T00:01:12.000Z
2021-09-13T00:01:12.000Z
Code/Framework/AzQtComponents/AzQtComponents/Gallery/main.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
null
null
null
Code/Framework/AzQtComponents/AzQtComponents/Gallery/main.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-07-20T11:07:25.000Z
2021-07-20T11:07:25.000Z
/* * Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <AzCore/PlatformIncl.h> #include <AzCore/Asset/AssetManagerComponent.h> #include <AzCore/Co...
40.674286
158
0.756392
aaarsene
055c54e469f20bed508c25b918ccb9bf9b4143a5
7,557
cpp
C++
matlab_code/jjcao_code-head/toolbox/jjcao_plot/mex_draw_thick_lines_on_img.cpp
joycewangsy/normals_pointnet
fc74a8ed1a009b18785990b1b4c20eda0549721c
[ "MIT" ]
null
null
null
matlab_code/jjcao_code-head/toolbox/jjcao_plot/mex_draw_thick_lines_on_img.cpp
joycewangsy/normals_pointnet
fc74a8ed1a009b18785990b1b4c20eda0549721c
[ "MIT" ]
null
null
null
matlab_code/jjcao_code-head/toolbox/jjcao_plot/mex_draw_thick_lines_on_img.cpp
joycewangsy/normals_pointnet
fc74a8ed1a009b18785990b1b4c20eda0549721c
[ "MIT" ]
null
null
null
/* // // Draw multiple thick lines on the image // // Inputs: // InputImg: Input image (Grayscale or Color) // CoordPnt: Coordinates of end points of lines [r1 r2 c1 c2] // (n x 4 double array, n: # of lines) // Thickness: Thickness of lines (The value is integer, but the type is double.) // ...
29.519531
110
0.492259
joycewangsy
055d55e7eecdc28c2152938f6a7f51df7a6cea94
1,892
cc
C++
src/reader/wgsl/parser_impl_struct_decoration_test.cc
sunnyps/tint
22daca166bbc412345fc60d4f60646d6d2f3ada0
[ "Apache-2.0" ]
null
null
null
src/reader/wgsl/parser_impl_struct_decoration_test.cc
sunnyps/tint
22daca166bbc412345fc60d4f60646d6d2f3ada0
[ "Apache-2.0" ]
null
null
null
src/reader/wgsl/parser_impl_struct_decoration_test.cc
sunnyps/tint
22daca166bbc412345fc60d4f60646d6d2f3ada0
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 The Tint 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 agreed ...
30.031746
76
0.716702
sunnyps
055e506ba9b67cc8d6287f8e41f7a2a3b1aaf783
2,196
hpp
C++
src/test/utils/thread.hpp
koplyarov/wigwag
d5646c610b324c9252ec7ac807f883f88e7442eb
[ "0BSD" ]
103
2016-02-26T14:39:03.000Z
2021-02-13T10:15:52.000Z
src/test/utils/thread.hpp
koplyarov/wigwag
d5646c610b324c9252ec7ac807f883f88e7442eb
[ "0BSD" ]
1
2018-05-07T06:00:19.000Z
2018-05-07T19:57:20.000Z
src/test/utils/thread.hpp
koplyarov/wigwag
d5646c610b324c9252ec7ac807f883f88e7442eb
[ "0BSD" ]
9
2016-03-17T11:56:33.000Z
2020-08-06T10:11:50.000Z
#ifndef UTILS_UTILS_HPP #define UTILS_UTILS_HPP // Copyright (c) 2016, Dmitry Koplyarov <koplyarov.da@gmail.com> // // Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, // provided that the above copyright notice and this permission notice appear in...
30.5
172
0.617486
koplyarov
055eafa4d630e6a34738b1391aa08f6ba137c091
9,107
cpp
C++
openstudiocore/src/runmanager/lib/Test/ErrorEstimation_GTest.cpp
zhouchong90/OpenStudio
f8570cb8297547b5e9cc80fde539240d8f7b9c24
[ "BSL-1.0", "blessing" ]
null
null
null
openstudiocore/src/runmanager/lib/Test/ErrorEstimation_GTest.cpp
zhouchong90/OpenStudio
f8570cb8297547b5e9cc80fde539240d8f7b9c24
[ "BSL-1.0", "blessing" ]
null
null
null
openstudiocore/src/runmanager/lib/Test/ErrorEstimation_GTest.cpp
zhouchong90/OpenStudio
f8570cb8297547b5e9cc80fde539240d8f7b9c24
[ "BSL-1.0", "blessing" ]
null
null
null
/********************************************************************** * Copyright (c) 2008-2014, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published ...
33.981343
144
0.676183
zhouchong90
0560051d6a4c63e3b6a83d6c821a61f5f2d96669
2,570
cxx
C++
Testing/Code/BasicFilters/itkNormalizeImageFilterTest.cxx
kiranhs/ITKv4FEM-Kiran
0e4ab3b61b5fc4c736f04a73dd19e41390f20152
[ "BSD-3-Clause" ]
1
2018-04-15T13:32:43.000Z
2018-04-15T13:32:43.000Z
Testing/Code/BasicFilters/itkNormalizeImageFilterTest.cxx
kiranhs/ITKv4FEM-Kiran
0e4ab3b61b5fc4c736f04a73dd19e41390f20152
[ "BSD-3-Clause" ]
null
null
null
Testing/Code/BasicFilters/itkNormalizeImageFilterTest.cxx
kiranhs/ITKv4FEM-Kiran
0e4ab3b61b5fc4c736f04a73dd19e41390f20152
[ "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkNormalizeImageFilterTest.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All rights reserved. See ITKCopy...
31.728395
108
0.694942
kiranhs
056385addecf1c5c6e493ce4be2b08b27e21f22c
2,688
cpp
C++
src/effect.cpp
limal/nit
a1db3068d8f7426a1700e4729c247db97f9af9de
[ "Zlib" ]
2
2015-09-19T00:43:34.000Z
2016-05-31T19:33:22.000Z
src/effect.cpp
limal/nit
a1db3068d8f7426a1700e4729c247db97f9af9de
[ "Zlib" ]
null
null
null
src/effect.cpp
limal/nit
a1db3068d8f7426a1700e4729c247db97f9af9de
[ "Zlib" ]
null
null
null
/* Copyright (C) 2010 Lukasz Wolnik This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, a...
21.853659
89
0.739583
limal
05656729ed189d79f5ec7f09e2b886db97894a52
14,655
cc
C++
packager/media/formats/mp2t/pes_packet_generator_unittest.cc
koln67/shaka-packager
5b9fd409a5de502e8af2e46ee12840bd2226874d
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5
2021-07-08T10:19:13.000Z
2021-09-10T09:17:57.000Z
packager/media/formats/mp2t/pes_packet_generator_unittest.cc
koln67/shaka-packager
5b9fd409a5de502e8af2e46ee12840bd2226874d
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-10-21T21:17:55.000Z
2020-10-21T23:20:23.000Z
packager/media/formats/mp2t/pes_packet_generator_unittest.cc
koln67/shaka-packager
5b9fd409a5de502e8af2e46ee12840bd2226874d
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
4
2021-09-08T13:21:58.000Z
2022-03-01T05:57:44.000Z
// Copyright 2016 Google Inc. All rights reserved. // // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file or at // https://developers.google.com/open-source/licenses/bsd #include <gmock/gmock.h> #include <gtest/gtest.h> #include "packager/media/base/audio_stream_info...
36.729323
80
0.740293
koln67
0565a1b5e9a933f750b3496639ca912fae31b108
709
cpp
C++
libsnes/bsnes/snes/alt/dsp/serialization.cpp
ircluzar/BizhawkLegacy-Vanguard
cd8b6dfe881f3c9d322b73c29f0d71df2ce3178e
[ "MIT" ]
null
null
null
libsnes/bsnes/snes/alt/dsp/serialization.cpp
ircluzar/BizhawkLegacy-Vanguard
cd8b6dfe881f3c9d322b73c29f0d71df2ce3178e
[ "MIT" ]
null
null
null
libsnes/bsnes/snes/alt/dsp/serialization.cpp
ircluzar/BizhawkLegacy-Vanguard
cd8b6dfe881f3c9d322b73c29f0d71df2ce3178e
[ "MIT" ]
null
null
null
#ifdef DSP_CPP static void dsp_state_save(unsigned char **out, void *in, size_t size) { memcpy(*out, in, size); *out += size; } static void dsp_state_load(unsigned char **in, void *out, size_t size) { memcpy(out, *in, size); *in += size; } void DSP::serialize(serializer &s) { Processor::serialize(s); s.a...
22.15625
72
0.651622
ircluzar
0566d988bade4998cde6afb234a1d84565515983
215
hxx
C++
src/public_include/decaf/eddsa.tmpl.hxx
nondejus/ed448goldilocks
dc09d56accd631bd6786e87fefe422eb2d6898a7
[ "MIT" ]
null
null
null
src/public_include/decaf/eddsa.tmpl.hxx
nondejus/ed448goldilocks
dc09d56accd631bd6786e87fefe422eb2d6898a7
[ "MIT" ]
null
null
null
src/public_include/decaf/eddsa.tmpl.hxx
nondejus/ed448goldilocks
dc09d56accd631bd6786e87fefe422eb2d6898a7
[ "MIT" ]
null
null
null
/** * EdDSA crypto routines, metaheader. */ namespace decaf { enum Prehashed { PURE, PREHASHED }; } $("\n".join([ "#include <decaf/ed%s.hxx>" % g for g in sorted([c["bits"] for _,c in curve.iteritems()]) ]))
23.888889
93
0.609302
nondejus
05676a0da268dacdd6de29a9f16ab2151852e4af
4,664
cpp
C++
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/src/corelib/global/qmalloc.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/src/corelib/global/qmalloc.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/src/corelib/global/qmalloc.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the QtCore module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holding valid commerc...
33.553957
94
0.673456
GrinCash
0568e69a2d055267a721157689224fc5b3a29411
7,452
cpp
C++
src/cpu/resampling/ref_resampling.cpp
bhipple/mkl-dnn
ed1cf723ee94cf95b77af55fe1309374363b8edd
[ "Apache-2.0" ]
1
2020-09-18T04:34:16.000Z
2020-09-18T04:34:16.000Z
src/cpu/resampling/ref_resampling.cpp
awesomemachinelearning/mkl-dnn
ed1cf723ee94cf95b77af55fe1309374363b8edd
[ "Apache-2.0" ]
null
null
null
src/cpu/resampling/ref_resampling.cpp
awesomemachinelearning/mkl-dnn
ed1cf723ee94cf95b77af55fe1309374363b8edd
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright 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://www.apache.o...
39.428571
84
0.510735
bhipple
056e10daebea881f4612325d74584eca8bd8ec2b
5,767
cpp
C++
tests/test_os_char_driver.cpp
KKoovalsky/JunglesOsStructs
33b3341aa7d99b152a6cb95bc3016bf78d6f5535
[ "MIT" ]
null
null
null
tests/test_os_char_driver.cpp
KKoovalsky/JunglesOsStructs
33b3341aa7d99b152a6cb95bc3016bf78d6f5535
[ "MIT" ]
null
null
null
tests/test_os_char_driver.cpp
KKoovalsky/JunglesOsStructs
33b3341aa7d99b152a6cb95bc3016bf78d6f5535
[ "MIT" ]
null
null
null
/** * @file test_os_char_driver.cpp * @brief Tests os_char_driver template * @author Kacper Kowalski - kacper.s.kowalski@gmail.com */ #include "os_char_driver.hpp" #include "os_task.hpp" #include "unity.h" #include <array> #include <csignal> #include <functional> #include <iostream> #include <string> #include <stri...
33.923529
119
0.542396
KKoovalsky
056e7d6bc7b38f40689aba0e0d4206d0501718ae
3,742
cpp
C++
DearPyGui/src/core/AppItems/textures/mvTextureContainer.cpp
iFreilicht/DearPyGui
f9d45f6c0ace71de32fcd8bbfa7fb6d347cb6912
[ "MIT" ]
null
null
null
DearPyGui/src/core/AppItems/textures/mvTextureContainer.cpp
iFreilicht/DearPyGui
f9d45f6c0ace71de32fcd8bbfa7fb6d347cb6912
[ "MIT" ]
null
null
null
DearPyGui/src/core/AppItems/textures/mvTextureContainer.cpp
iFreilicht/DearPyGui
f9d45f6c0ace71de32fcd8bbfa7fb6d347cb6912
[ "MIT" ]
null
null
null
#include "mvTextureContainer.h" #include "mvPythonExceptions.h" #include "mvLog.h" #include "mvStaticTexture.h" #include "mvDynamicTexture.h" namespace Marvel { void mvTextureContainer::InsertParser(std::map<std::string, mvPythonParser>* parsers) { mvPythonParser parser(mvPyDataType::String, "Undocumented functi...
27.115942
132
0.689471
iFreilicht
057034491dd499f87a2e96c9394bc97ddf53ba3f
1,215
cc
C++
src/ast/ArrayLiteral.cc
walecome/seal
204b2dbad9f0bf3ac77f5e32173de39ef1fb81c1
[ "MIT" ]
1
2020-01-06T09:43:56.000Z
2020-01-06T09:43:56.000Z
src/ast/ArrayLiteral.cc
walecome/seal
204b2dbad9f0bf3ac77f5e32173de39ef1fb81c1
[ "MIT" ]
null
null
null
src/ast/ArrayLiteral.cc
walecome/seal
204b2dbad9f0bf3ac77f5e32173de39ef1fb81c1
[ "MIT" ]
null
null
null
#include "ArrayLiteral.hh" void ArrayLiteral::add_expression(ptr_t<Expression> &expression) { m_expressions.push_back(std::move(expression)); } void ArrayLiteral::analyze(Scope *scope) { m_type.change_kind(Kind::ARRAY); if (m_expressions.empty()) { m_type.change_primitive(Primitive::DONT_CARE); ...
27.613636
91
0.614815
walecome
0574c46d401ff119ce5fb2146c678e1a77fbb4d4
4,208
cc
C++
squid/squid3-3.3.8.spaceify/src/globals.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
4
2015-01-20T15:25:34.000Z
2017-12-20T06:47:42.000Z
squid/squid3-3.3.8.spaceify/src/globals.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
4
2015-05-15T09:32:55.000Z
2016-02-18T13:43:31.000Z
squid/squid3-3.3.8.spaceify/src/globals.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
null
null
null
#include "squid.h" /* * * SQUID Web Proxy Cache http://www.squid-cache.org/ * ---------------------------------------------------------- * * Squid is the result of efforts by numerous individuals from * the Internet community; see the CONTRIBUTORS file for full * details. Many organizations have pr...
30.492754
72
0.753327
spaceify
05757127a7838beddc1bf07edd5253cb2ef89b80
4,301
cpp
C++
CarbonRender/Src/CRCinematicController.cpp
lanyu8/CarbonRender
dcd0a5d53ee2c458ad53c4e690359c250219ee22
[ "MIT" ]
44
2017-07-23T08:38:19.000Z
2022-03-27T02:53:10.000Z
CarbonRender/Src/CRCinematicController.cpp
lanyu8/CarbonRender
dcd0a5d53ee2c458ad53c4e690359c250219ee22
[ "MIT" ]
2
2018-10-10T15:56:58.000Z
2021-07-16T07:31:10.000Z
CarbonRender/Src/CRCinematicController.cpp
lanyu8/CarbonRender
dcd0a5d53ee2c458ad53c4e690359c250219ee22
[ "MIT" ]
14
2018-06-08T09:19:55.000Z
2022-03-17T08:04:57.000Z
#include "..\Inc\CRCinematicController.h" float CinematicController::GetCurrentTime() { clock_t currentTime; currentTime = clock(); return (float)currentTime/CLOCKS_PER_SEC; } void CinematicController::Init() { end = true; filmStartTime = -1; } void CinematicController::Update() { float stage0Cost = 6.0f; flo...
29.060811
108
0.686585
lanyu8
05764b74bd3baf37391e5337874a74ef262936fb
25,394
cpp
C++
TAO/tao/RTScheduling/Current.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
36
2015-01-10T07:27:33.000Z
2022-03-07T03:32:08.000Z
TAO/tao/RTScheduling/Current.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
2
2018-08-13T07:30:51.000Z
2019-02-25T03:04:31.000Z
TAO/tao/RTScheduling/Current.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
38
2015-01-08T14:12:06.000Z
2022-01-19T08:33:00.000Z
// -*- C++ -*- // $Id: Current.cpp 96992 2013-04-11 18:07:48Z huangh $ #include "tao/RTScheduling/Current.h" #include "tao/RTScheduling/Distributable_Thread.h" #include "tao/RTCORBA/Priority_Mapping_Manager.h" #include "tao/RTCORBA/RT_Current.h" #include "tao/ORB_Core.h" #include "tao/TSS_Resources.h" #include "ace/AC...
27.217578
98
0.598606
cflowe
05785b84b5e654e85f09eb3050356cabd3289965
184
hpp
C++
plugins/arclite/example/headers.hpp
TheChatty/FarManager
0a731ce0b6f9f48f10eb370240309bed48e38f11
[ "BSD-3-Clause" ]
null
null
null
plugins/arclite/example/headers.hpp
TheChatty/FarManager
0a731ce0b6f9f48f10eb370240309bed48e38f11
[ "BSD-3-Clause" ]
null
null
null
plugins/arclite/example/headers.hpp
TheChatty/FarManager
0a731ce0b6f9f48f10eb370240309bed48e38f11
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <string> #include <list> #include <vector> #include <map> #include <iterator> using namespace std; #include <initguid.h> #include "CPP/7zip/Archive/IArchive.h"
15.333333
38
0.733696
TheChatty
05795ecf3bfc2271a2f8b4bb27e8dc0d9759b6b3
20,875
cc
C++
tools/InterfaceGenerator/test/generator/generators/test_expected_jsonrpc.cc
russjohnson09/sdl_core
9de7f1456f1807ae97348f774f7eead0ee92fd6d
[ "BSD-3-Clause" ]
249
2015-01-15T16:50:53.000Z
2022-03-24T13:23:34.000Z
tools/InterfaceGenerator/test/generator/generators/test_expected_jsonrpc.cc
russjohnson09/sdl_core
9de7f1456f1807ae97348f774f7eead0ee92fd6d
[ "BSD-3-Clause" ]
2,917
2015-01-12T16:17:49.000Z
2022-03-31T11:57:47.000Z
tools/InterfaceGenerator/test/generator/generators/test_expected_jsonrpc.cc
russjohnson09/sdl_core
9de7f1456f1807ae97348f774f7eead0ee92fd6d
[ "BSD-3-Clause" ]
306
2015-01-12T09:23:20.000Z
2022-01-28T18:06:30.000Z
/** * @file Test.cc * @brief Generated class Test source file. * * This class is a part of SmartObjects solution. It provides * factory functionallity which allows client to use SmartSchemas * in accordance with definitions from Test.xml file */ // Copyright (c) 2013, Ford Motor Company // All rights reserved. /...
54.080311
277
0.790611
russjohnson09
057bf478027317dbf2e6e791e08ab202259413e4
1,539
hpp
C++
source/redx/core/gname.hpp
clayne/CyberpunkSaveEditor
2069ea833ced56f549776179c2147b27d32d650c
[ "MIT" ]
276
2020-12-21T11:54:44.000Z
2022-03-28T16:49:44.000Z
source/redx/core/gname.hpp
13397729377/CyberpunkSaveEditor
2069ea833ced56f549776179c2147b27d32d650c
[ "MIT" ]
37
2020-12-21T18:25:12.000Z
2022-03-31T23:51:33.000Z
source/redx/core/gname.hpp
13397729377/CyberpunkSaveEditor
2069ea833ced56f549776179c2147b27d32d650c
[ "MIT" ]
36
2020-12-21T12:02:08.000Z
2022-03-21T10:47:43.000Z
#pragma once #include <redx/core/platform.hpp> #include <nlohmann/json.hpp> #include <redx/core/stringpool.hpp> #include <redx/core/gstring.hpp> namespace redx { inline constexpr uint32_t gstring_name_category_tag = 'GNAM'; using gname = gstring<gstring_name_category_tag>; namespace literals { us...
26.534483
93
0.758934
clayne
057e50845e3042a8b51b0286ab7ce9674434fba2
2,591
hpp
C++
drape/metal/metal_states.hpp
kudlav/organicmaps
390236365749e0525b9229684132c2888d11369d
[ "Apache-2.0" ]
4,879
2015-09-30T10:56:36.000Z
2022-03-31T18:43:03.000Z
drape/metal/metal_states.hpp
mbrukman/omim
d22fe2b6e0beee697f096e931df97a64f9db9dc1
[ "Apache-2.0" ]
7,549
2015-09-30T10:52:53.000Z
2022-03-31T22:04:22.000Z
drape/metal/metal_states.hpp
mbrukman/omim
d22fe2b6e0beee697f096e931df97a64f9db9dc1
[ "Apache-2.0" ]
1,493
2015-09-30T10:43:06.000Z
2022-03-21T09:16:49.000Z
#pragma once #import <MetalKit/MetalKit.h> #include "drape/graphics_context.hpp" #include "drape/metal/metal_gpu_program.hpp" #include "drape/pointers.hpp" #include "drape/texture_types.hpp" #include <cstdint> #include <map> namespace dp { namespace metal { class MetalStates { public: struct DepthStencilKey { ...
32.3875
99
0.752605
kudlav
058175ced462290509186918414dff716bf41037
2,998
cxx
C++
inetsrv/iis/iisrearc/iisplus/ulw3/options_handler.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetsrv/iis/iisrearc/iisplus/ulw3/options_handler.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetsrv/iis/iisrearc/iisplus/ulw3/options_handler.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ Copyright (c) 2001 Microsoft Corporation Module Name : options_handler.cxx Abstract: Handle OPTIONS requests Author: Anil Ruia (AnilR) 4-Apr-2001 Environment: Win32 - User Mode Project: ULW3.DLL --*/ #include "precomp.hxx" ...
24.77686
88
0.527352
npocmaka
0581e6944bec46067d0c8b50521a9f7e6ae526e9
467
cpp
C++
programmer/TestDataBus.cpp
cheinan/eeprom
690f9adeb7c3a06aec3c3600fd298b22ec76fb13
[ "MIT" ]
null
null
null
programmer/TestDataBus.cpp
cheinan/eeprom
690f9adeb7c3a06aec3c3600fd298b22ec76fb13
[ "MIT" ]
null
null
null
programmer/TestDataBus.cpp
cheinan/eeprom
690f9adeb7c3a06aec3c3600fd298b22ec76fb13
[ "MIT" ]
null
null
null
#include <iostream> #include "DataBus.h" #include "ControlLines.h" void TestDataBusWrite() { std::cout << "Testing the address bus\n"; ControlLines the_control_lines(HIGH, HIGH, HIGH); DataBus the_data_bus(true); unsigned short data = 1; for (unsigned char i = 0; i < 8;i++) { the_data_bus.Set(data); std...
15.566667
64
0.631692
cheinan
05824ee8344f61cfabe03ebd45d7232391c2a3e6
5,822
cpp
C++
llbc/src/core/objbase/DictionaryElem.cpp
lailongwei/llbc
ec7e69bfa1f0afece8bb19dfa9a0a4578508a077
[ "MIT" ]
83
2015-11-10T09:52:56.000Z
2022-01-12T11:53:01.000Z
llbc/src/core/objbase/DictionaryElem.cpp
lailongwei/llbc
ec7e69bfa1f0afece8bb19dfa9a0a4578508a077
[ "MIT" ]
30
2017-09-30T07:43:20.000Z
2022-01-23T13:18:48.000Z
llbc/src/core/objbase/DictionaryElem.cpp
lailongwei/llbc
ec7e69bfa1f0afece8bb19dfa9a0a4578508a077
[ "MIT" ]
34
2015-11-14T12:37:44.000Z
2021-12-16T02:38:36.000Z
// The MIT License (MIT) // Copyright (c) 2013 lailongwei<lailongwei@126.com> // // 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 r...
21.562963
104
0.714703
lailongwei
0589d911fb2a560a6c1cddd47658091dd08c6672
1,669
cpp
C++
src/core/configuration/JSONConfiguration.cpp
FrankPfirmann/opovlint
5e0925650cd469fdcd74240dd0d6ac603097e6f3
[ "MIT" ]
5
2015-05-15T23:27:08.000Z
2019-09-28T07:21:42.000Z
src/core/configuration/JSONConfiguration.cpp
FrankPfirmann/opovlint
5e0925650cd469fdcd74240dd0d6ac603097e6f3
[ "MIT" ]
null
null
null
src/core/configuration/JSONConfiguration.cpp
FrankPfirmann/opovlint
5e0925650cd469fdcd74240dd0d6ac603097e6f3
[ "MIT" ]
3
2015-07-16T09:09:42.000Z
2019-10-02T18:32:41.000Z
/* * JSONConfiguration.cpp * * Created on: Jul 10, 2014 * Author: ahueck */ #include <core/configuration/JSONConfiguration.h> #include <core/logging/Logger.h> #include <fstream> namespace opov { JSONConfiguration::JSONConfiguration() { // TODO Auto-generated constructor stub } bool JSONConfiguration::...
25.287879
98
0.683643
FrankPfirmann
058b8021a09c1ed7b9b95f8b5c2a0d66fc88c4d5
4,281
hh
C++
src/phantasm-renderer/ComputePass.hh
project-arcana/phantasm-renderer
dd6f9af8d95f227f88c81194dea4a893761cac62
[ "MIT" ]
2
2020-10-22T18:09:11.000Z
2020-12-09T13:53:46.000Z
src/phantasm-renderer/ComputePass.hh
project-arcana/phantasm-renderer
dd6f9af8d95f227f88c81194dea4a893761cac62
[ "MIT" ]
1
2021-04-29T08:16:49.000Z
2021-04-30T07:54:25.000Z
src/phantasm-renderer/ComputePass.hh
project-arcana/phantasm-renderer
dd6f9af8d95f227f88c81194dea4a893761cac62
[ "MIT" ]
null
null
null
#pragma once #include <phantasm-hardware-interface/commands.hh> #include <phantasm-renderer/argument.hh> #include <phantasm-renderer/common/api.hh> #include <phantasm-renderer/fwd.hh> #include <phantasm-renderer/resource_types.hh> namespace pr::raii { class Frame; class PR_API ComputePass { public: [[nodiscard]...
33.445313
144
0.705443
project-arcana
058dbe3b9450e1fda9666c2ec33f238bee8610a0
3,337
cpp
C++
src/Engine/ResourceManager.cpp
ennis/autograph-pipelines
afc66ef60bf99fca26d200bd7739528e1bf3ed8c
[ "MIT" ]
1
2021-04-24T12:29:42.000Z
2021-04-24T12:29:42.000Z
src/Engine/ResourceManager.cpp
ennis/autograph-pipelines
afc66ef60bf99fca26d200bd7739528e1bf3ed8c
[ "MIT" ]
null
null
null
src/Engine/ResourceManager.cpp
ennis/autograph-pipelines
afc66ef60bf99fca26d200bd7739528e1bf3ed8c
[ "MIT" ]
null
null
null
#include <autograph/Core/Support/Debug.h> #include <autograph/Core/Support/string_view.h> #include <autograph/Core/Types.h> #include <autograph/Engine/ResourceManager.h> #include <experimental/filesystem> namespace ag { namespace fs = std::experimental::filesystem; ///////////////////////////////////////////////////...
26.91129
78
0.633203
ennis
058e03ba87822896688a16ae33e7c0490f2658e7
5,344
cpp
C++
particles-simulator/src/OpenGL/Shader.cpp
bartos97/particles-simulator
dc2fc18fbc047803b3c17d7cc7bf9dbc99b00a2b
[ "WTFPL" ]
null
null
null
particles-simulator/src/OpenGL/Shader.cpp
bartos97/particles-simulator
dc2fc18fbc047803b3c17d7cc7bf9dbc99b00a2b
[ "WTFPL" ]
null
null
null
particles-simulator/src/OpenGL/Shader.cpp
bartos97/particles-simulator
dc2fc18fbc047803b3c17d7cc7bf9dbc99b00a2b
[ "WTFPL" ]
null
null
null
#include "pch.h" #include "Shader.h" #include <fstream> #include <sstream> const Shader* Shader::m_currentlyBound = nullptr; Shader::Shader(const char* vertexShaderPath, const char* fragmentShaderPath) : m_id(0) { PS_LOG("Shader object constructed"); assignData(vertexShaderPath, fragmentShaderPath); ...
26.72
95
0.680015
bartos97
05901ad8b5edb9a693c390620e47089fdada2186
384
hpp
C++
Loader.hpp
mcgillowen/cpsc453-hw2
2276beec4102da044a4d2c4888089a5eb47eb79c
[ "MIT" ]
null
null
null
Loader.hpp
mcgillowen/cpsc453-hw2
2276beec4102da044a4d2c4888089a5eb47eb79c
[ "MIT" ]
null
null
null
Loader.hpp
mcgillowen/cpsc453-hw2
2276beec4102da044a4d2c4888089a5eb47eb79c
[ "MIT" ]
null
null
null
// Loader.hpp // Class that loads a .obj file into vectors of floats for OpenGL #ifndef LOADER_HPP #define LOADER_HPP #include <vector> #include "IndexedVertexArray.hpp" #include <glm/glm.hpp> #include <glm/gtx/transform.hpp> using std::vector; class Loader { private: public: static IndexedVertex...
16
66
0.713542
mcgillowen
05908226497d855649fa2daee06a5d7100e553ec
870
cpp
C++
src/problem38/Solution1.cpp
MyYaYa/leetcode
d779c215516ede594267b15abdfba5a47dc879dd
[ "Apache-2.0" ]
1
2016-09-29T14:23:59.000Z
2016-09-29T14:23:59.000Z
src/problem38/Solution1.cpp
MyYaYa/leetcode
d779c215516ede594267b15abdfba5a47dc879dd
[ "Apache-2.0" ]
null
null
null
src/problem38/Solution1.cpp
MyYaYa/leetcode
d779c215516ede594267b15abdfba5a47dc879dd
[ "Apache-2.0" ]
null
null
null
class Solution { public: string countAndSay(int n) { int curr = 1; string curr_str = "1"; while (curr < n) { curr++; string newString; char curr_char = ' '; int count = 0; for (int i = 0; i < curr_str.size(); i++) { ...
29
61
0.385057
MyYaYa
0592b8544d8f02b6d232bbf9bdfc1fc0afe312a1
2,041
cc
C++
cc/xlsx-read-test.cc
acorg/acmacs-whocc
af508bd4651ffb565cd4cf771200540918b1b2bd
[ "MIT" ]
null
null
null
cc/xlsx-read-test.cc
acorg/acmacs-whocc
af508bd4651ffb565cd4cf771200540918b1b2bd
[ "MIT" ]
null
null
null
cc/xlsx-read-test.cc
acorg/acmacs-whocc
af508bd4651ffb565cd4cf771200540918b1b2bd
[ "MIT" ]
null
null
null
#include "acmacs-base/argv.hh" #include "acmacs-base/read-file.hh" #include "acmacs-base/range-v3.hh" #include "acmacs-whocc/xlsx.hh" #include "acmacs-whocc/log.hh" // ---------------------------------------------------------------------- using namespace acmacs::argv; struct Options : public argv { Options(int a_...
36.446429
130
0.525723
acorg
059328b8c4f845f40f3560aa5835da3fa0c383a4
19,719
cpp
C++
inetcore/outlookexpress/mailnews/news/pickgrp.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetcore/outlookexpress/mailnews/news/pickgrp.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetcore/outlookexpress/mailnews/news/pickgrp.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
///////////////////////////////////////////////////////////////////////////// // Copyright (C) 1993-1996 Microsoft Corporation. All Rights Reserved. // // MODULE: PickGrp.cpp // // PURPOSE: Dialog to allow the user to select groups to post to in the // send note window. // #include "pc...
27.851695
116
0.576855
npocmaka
05938f355df10d92cc67e3edb25a3c558c90129e
938
cpp
C++
Mathematics/Handshake.cpp
chicio/Hackerrank
5d2a828492d2096fbc5d4f54c6c0bbb9612ed752
[ "MIT" ]
6
2017-04-11T15:31:40.000Z
2018-07-12T09:29:30.000Z
Mathematics/Handshake.cpp
chicio/Hackerrank
5d2a828492d2096fbc5d4f54c6c0bbb9612ed752
[ "MIT" ]
null
null
null
Mathematics/Handshake.cpp
chicio/Hackerrank
5d2a828492d2096fbc5d4f54c6c0bbb9612ed752
[ "MIT" ]
1
2018-07-10T11:45:08.000Z
2018-07-10T11:45:08.000Z
// // Handshake.cpp // HackerRank // // Created by Fabrizio Duroni on 02/09/16. // // https://www.hackerrank.com/challenges/handshake #include <cmath> #include <iostream> using namespace std; /* In the previous version I used the standard Binomial coefficient formula. But there's a more efficient multiplicati...
19.142857
74
0.626866
chicio
0596f5a5ae5747e7f4e34985b2f2ce685bbb3b5b
5,901
cpp
C++
kernel/net/E1000ENetworkAdapter.cpp
elango/pranaOS
1017aff798c04c5811befdaca2afdbd7fefed09a
[ "BSD-2-Clause" ]
null
null
null
kernel/net/E1000ENetworkAdapter.cpp
elango/pranaOS
1017aff798c04c5811befdaca2afdbd7fefed09a
[ "BSD-2-Clause" ]
null
null
null
kernel/net/E1000ENetworkAdapter.cpp
elango/pranaOS
1017aff798c04c5811befdaca2afdbd7fefed09a
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2021, Krisna Pranav * * SPDX-License-Identifier: BSD-2-Clause */ // includes #include <base/MACAddress.h> #include <kernel/bus/PCI/IDs.h> #include <kernel/net/E1000ENetworkAdapter.h> #include <kernel/Sections.h> namespace Kernel { #define REG_EEPROM 0x0014 static bool is_valid_device_id(u16 de...
22.437262
222
0.601762
elango
0597689167ff69903da3616ab978d7596688e018
1,812
hpp
C++
boost/boost/graph/distributed/detail/dijkstra_shortest_paths.hpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
12,278
2015-01-29T17:11:33.000Z
2022-03-31T21:12:00.000Z
boost/boost/graph/distributed/detail/dijkstra_shortest_paths.hpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
9,469
2015-01-30T05:33:07.000Z
2022-03-31T16:17:21.000Z
boost/boost/graph/distributed/detail/dijkstra_shortest_paths.hpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
1,343
2017-12-08T19:47:19.000Z
2022-03-26T11:31:36.000Z
// Copyright (C) 2004-2006 The Trustees of Indiana University. // Use, modification and distribution is subject to the Boost Software // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // Authors: Douglas Gregor // Andrew Lumsdaine #ifndef BO...
35.529412
101
0.681015
randolphwong
059f420b9459540b73fe39df0c7c74a82b5141d6
9,325
hpp
C++
include/rovio/RovioInterfaceImpl.hpp
krzacz0r/maplab_rovio
1c881862bdfd5096d7c8ad268218020187bd6bc4
[ "BSD-3-Clause" ]
40
2017-11-29T08:46:10.000Z
2021-11-12T05:46:04.000Z
include/rovio/RovioInterfaceImpl.hpp
krzacz0r/maplab_rovio
1c881862bdfd5096d7c8ad268218020187bd6bc4
[ "BSD-3-Clause" ]
5
2018-01-08T17:02:15.000Z
2019-04-01T18:29:01.000Z
include/rovio/RovioInterfaceImpl.hpp
krzacz0r/maplab_rovio
1c881862bdfd5096d7c8ad268218020187bd6bc4
[ "BSD-3-Clause" ]
26
2017-12-03T02:22:47.000Z
2022-01-17T05:39:46.000Z
/* * Copyright (c) 2014, Autonomous Systems Lab * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of conditions...
36.425781
81
0.760536
krzacz0r
05a180599890366b7d731e58dd437a17ed2f82eb
22,776
cpp
C++
tests/HttpHandlerTest.cpp
acossette/pillow
89259eb4540d27551470de0d80363a37ba3eda7d
[ "Zed", "Ruby" ]
39
2015-01-28T12:51:41.000Z
2021-09-25T16:27:09.000Z
tests/HttpHandlerTest.cpp
acossette/pillow
89259eb4540d27551470de0d80363a37ba3eda7d
[ "Zed", "Ruby" ]
1
2016-01-21T00:10:25.000Z
2016-01-21T00:29:40.000Z
tests/HttpHandlerTest.cpp
acossette/pillow
89259eb4540d27551470de0d80363a37ba3eda7d
[ "Zed", "Ruby" ]
22
2015-08-07T23:28:27.000Z
2020-07-13T08:12:22.000Z
#include <QtTest/QTest> #include <QtTest/QSignalSpy> #include "HttpHandlerTest.h" #include "HttpHandler.h" #include "HttpHandlerSimpleRouter.h" #include "HttpConnection.h" #include <QtCore/QDir> #include <QtCore/QBuffer> #include <QtCore/QCoreApplication> using namespace Pillow; Pillow::HttpConnection * HttpHandlerTes...
41.944751
170
0.757684
acossette
05a26347bf35dd497dab7ff0fedfbfb069773116
3,911
cpp
C++
GUI/build-StudentManagementSystem-Desktop_x86_darwin_generic_mach_o_64bit-Release/moc_delete.cpp
AppDevIn/StudentManagement
38f88cd00473437fbffacd5d797f0a927c439544
[ "MIT" ]
null
null
null
GUI/build-StudentManagementSystem-Desktop_x86_darwin_generic_mach_o_64bit-Release/moc_delete.cpp
AppDevIn/StudentManagement
38f88cd00473437fbffacd5d797f0a927c439544
[ "MIT" ]
null
null
null
GUI/build-StudentManagementSystem-Desktop_x86_darwin_generic_mach_o_64bit-Release/moc_delete.cpp
AppDevIn/StudentManagement
38f88cd00473437fbffacd5d797f0a927c439544
[ "MIT" ]
null
null
null
/**************************************************************************** ** Meta object code from reading C++ file 'delete.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) ** ** WARNING! All changes made in this file will be lost! *************************************************************...
30.554688
103
0.62516
AppDevIn
05a4793814cdf4b3c2dfa2d1c2559e5d161339e7
13,758
cpp
C++
libs/type_index/test/type_index_test.cpp
Abce/boost
2d7491a27211aa5defab113f8e2d657c3d85ca93
[ "BSL-1.0" ]
85
2015-02-08T20:36:17.000Z
2021-11-14T20:38:31.000Z
libs/boost/libs/type_index/test/type_index_test.cpp
flingone/frameworks_base_cmds_remoted
4509d9f0468137ed7fd8d100179160d167e7d943
[ "Apache-2.0" ]
9
2015-01-28T16:33:19.000Z
2020-04-12T23:03:28.000Z
libs/boost/libs/type_index/test/type_index_test.cpp
flingone/frameworks_base_cmds_remoted
4509d9f0468137ed7fd8d100179160d167e7d943
[ "Apache-2.0" ]
27
2015-01-28T16:33:30.000Z
2021-08-12T05:04:39.000Z
// // Copyright Antony Polukhin, 2012-2014. // // 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) #include <boost/test/minimal.hpp> #include <boost/type_index.hpp> #include <boost/functional/hash.hpp> ...
33.720588
104
0.672554
Abce
05a6cf3b2dd11e36ff53ce0c1def9bbf6099d848
2,190
cpp
C++
src/boydelatour.cpp
matheuscscp/TG
a460ed3f756cd9a759f7a0accc69bfe0754c4f2e
[ "MIT" ]
1
2016-06-10T02:37:25.000Z
2016-06-10T02:37:25.000Z
src/boydelatour.cpp
matheuscscp/TG
a460ed3f756cd9a759f7a0accc69bfe0754c4f2e
[ "MIT" ]
null
null
null
src/boydelatour.cpp
matheuscscp/TG
a460ed3f756cd9a759f7a0accc69bfe0754c4f2e
[ "MIT" ]
null
null
null
#include "libtg.hpp" #define clip(X) min(X,10000) using namespace std; static vector<Vertex>* formula; // position of u in a reverse toposort static vector<int> posdp; static int pos(int u) { static int next = 1; int& ans = posdp[u]; if (ans) return ans; for (int v : (*formula)[u].down) pos(v); return ans...
23.052632
74
0.528311
matheuscscp
05a8a2c97bbfb68028699f4ffdd7a63d12c7c337
2,831
cc
C++
mindspore/ccsrc/backend/optimizer/graph_kernel/eliminate_redundant_complex.cc
Vincent34/mindspore
a39a60878a46e7e9cb02db788c0bca478f2fa6e5
[ "Apache-2.0" ]
1
2021-07-03T06:52:20.000Z
2021-07-03T06:52:20.000Z
mindspore/ccsrc/backend/optimizer/graph_kernel/eliminate_redundant_complex.cc
Vincent34/mindspore
a39a60878a46e7e9cb02db788c0bca478f2fa6e5
[ "Apache-2.0" ]
null
null
null
mindspore/ccsrc/backend/optimizer/graph_kernel/eliminate_redundant_complex.cc
Vincent34/mindspore
a39a60878a46e7e9cb02db788c0bca478f2fa6e5
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2021 Huawei Technologies Co., Ltd * * 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...
36.294872
97
0.705051
Vincent34
05af88578e695fae5aef5141d6dcd710aad563a4
863
cpp
C++
prj_4/dictionary_merge.cpp
MatrixWood/some-modern-cpp-training
d4d6901acf394bd6d620d63aab5f514839e31c57
[ "MIT" ]
null
null
null
prj_4/dictionary_merge.cpp
MatrixWood/some-modern-cpp-training
d4d6901acf394bd6d620d63aab5f514839e31c57
[ "MIT" ]
null
null
null
prj_4/dictionary_merge.cpp
MatrixWood/some-modern-cpp-training
d4d6901acf394bd6d620d63aab5f514839e31c57
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <iterator> #include <deque> #include <tuple> #include <string> #include <fstream> using namespace std; using dict_entry = pair<string, string>; namespace std { ostream& operator<<(ostream &os, const dict_entry p) { return os << p.first << " " << p.second; } istr...
20.069767
63
0.651217
MatrixWood
05b372e1c629199932cd5a8f322804fb6545217d
596
cpp
C++
C++/Cpp-Concurrency-in-Action/listing_4.16.cpp
haohaibo/learn
7a30489e76abeda1465fe610b1c5cf4c4de7e3b6
[ "MIT" ]
1
2021-02-20T00:14:35.000Z
2021-02-20T00:14:35.000Z
C++/Cpp-Concurrency-in-Action/listing_4.16.cpp
haohaibo/learn
7a30489e76abeda1465fe610b1c5cf4c4de7e3b6
[ "MIT" ]
null
null
null
C++/Cpp-Concurrency-in-Action/listing_4.16.cpp
haohaibo/learn
7a30489e76abeda1465fe610b1c5cf4c4de7e3b6
[ "MIT" ]
null
null
null
void atm::getting_pin() { incoming.wait() .handle<digit_pressed>([&](digit_pressed const& msg) { unsigned const pin_length = 4; pin += msg.digit; if (pin.length() == pin_length) { bank.send(verify_pin(account, pin, incoming)); state = &atm::verifying_pin; } ...
31.368421
77
0.548658
haohaibo
05b38635a526b938ded96e2cddcd4052b36969bf
3,032
hpp
C++
samples/RayTracing/CameraManipulator.hpp
W4RH4WK/Vulkan-Hpp
33b244859b97650c9ca5d32ed6439f944f0eb83c
[ "Apache-2.0" ]
null
null
null
samples/RayTracing/CameraManipulator.hpp
W4RH4WK/Vulkan-Hpp
33b244859b97650c9ca5d32ed6439f944f0eb83c
[ "Apache-2.0" ]
null
null
null
samples/RayTracing/CameraManipulator.hpp
W4RH4WK/Vulkan-Hpp
33b244859b97650c9ca5d32ed6439f944f0eb83c
[ "Apache-2.0" ]
null
null
null
// Copyright(c) 2019, NVIDIA CORPORATION. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required b...
37.9
116
0.628958
W4RH4WK
05b4c5234ba53c898edaec6ba6aee734875dc6ca
7,126
cpp
C++
src/third_party/mozjs-45/extract/js/src/jit/InstructionReordering.cpp
danx0r/mongo
70d4944c235bcdf7fbbc63971099563d2af72956
[ "Apache-2.0" ]
72
2020-06-12T06:33:41.000Z
2021-03-22T03:15:56.000Z
src/third_party/mozjs-45/extract/js/src/jit/InstructionReordering.cpp
danx0r/mongo
70d4944c235bcdf7fbbc63971099563d2af72956
[ "Apache-2.0" ]
9
2020-07-02T09:36:49.000Z
2021-03-25T23:54:00.000Z
src/third_party/mozjs-45/extract/js/src/jit/InstructionReordering.cpp
danx0r/mongo
70d4944c235bcdf7fbbc63971099563d2af72956
[ "Apache-2.0" ]
14
2020-06-12T03:08:03.000Z
2021-02-03T11:43:09.000Z
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * vim: set ts=8 sts=4 et sw=4 tw=99: * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ ...
37.904255
109
0.511086
danx0r
05b897c9c3e127bb51aae3329e962a46e18b36c4
9,288
cxx
C++
python/src/b2Math.cxx
pyb2d/pyb2d
5d0f9f581d93c3681ee4f518a5d7fd6be900e695
[ "MIT" ]
26
2021-12-10T12:08:39.000Z
2022-03-29T17:45:31.000Z
python/src/b2Math.cxx
pyb2d/pyb2d
5d0f9f581d93c3681ee4f518a5d7fd6be900e695
[ "MIT" ]
14
2021-11-18T23:58:55.000Z
2022-01-06T09:44:58.000Z
python/src/b2Math.cxx
DerThorsten/pybox2d
5d0f9f581d93c3681ee4f518a5d7fd6be900e695
[ "MIT" ]
3
2021-12-16T05:52:12.000Z
2021-12-21T08:58:54.000Z
#include <pybind11/pybind11.h> #include <pybind11/operators.h> #include "box2d_wrapper.hpp" namespace py = pybind11; b2Vec2 operator+ (const b2Vec2 & lhs, const py::tuple & rhs) { return b2Vec2( lhs.x + rhs[0].cast<float>() , lhs.y + rhs[1].cast<float>() ); } b2Vec2 operator+ (const py::tup...
33.652174
112
0.535099
pyb2d
05ba47e8895cf955a05ef6a01d3c87fb17df13f6
354
hpp
C++
srook/type_traits/clock.hpp
falgon/srookCppLibraries
ebcfacafa56026f6558bcd1c584ec774cc751e57
[ "MIT" ]
1
2018-07-01T07:54:37.000Z
2018-07-01T07:54:37.000Z
srook/type_traits/clock.hpp
falgon/srookCppLibraries
ebcfacafa56026f6558bcd1c584ec774cc751e57
[ "MIT" ]
null
null
null
srook/type_traits/clock.hpp
falgon/srookCppLibraries
ebcfacafa56026f6558bcd1c584ec774cc751e57
[ "MIT" ]
null
null
null
// Copyright (C) 2011-2020 Roki. Distributed under the MIT License #ifndef INCLUDED_SROOK_MPL_TYPETRAITS_CLOCK_HPP #define INCLUDED_SROOK_MPL_TYPETRAITS_CLOCK_HPP #ifdef _MSC_VER # if _MSC_VER > 1000 # pragma once # endif #endif #include <srook/type_traits/clock/is_clock.hpp> #include <srook/type_traits/cl...
22.125
66
0.788136
falgon
05bd135eb8b2b8e46aed8631402574a3e700a232
3,135
cpp
C++
src/RJChorus.cpp
netboy3/RJModules-rack-plugins
0ec265da4d7cff14c2b7fc6749e3f4e81241f093
[ "MIT" ]
null
null
null
src/RJChorus.cpp
netboy3/RJModules-rack-plugins
0ec265da4d7cff14c2b7fc6749e3f4e81241f093
[ "MIT" ]
null
null
null
src/RJChorus.cpp
netboy3/RJModules-rack-plugins
0ec265da4d7cff14c2b7fc6749e3f4e81241f093
[ "MIT" ]
null
null
null
/* Slackback! */ #include "RJModules.hpp" #include "common.hpp" #include "Chorus.h" #include <iostream> #include <cmath> #include <sstream> #include <iomanip> #include <unistd.h> #include <mutex> using namespace std; #define HISTORY_SIZE (1<<21) struct RJChorusRoundSmallBlackKnob : RoundSmallBlackKnob { RJChoru...
30.436893
126
0.649442
netboy3
05bd6ffb0a52b6134088fbd432cc826e23f25524
28,193
cpp
C++
src/helics/shared_api_library/FederateExport.cpp
manoj1511/HELICS
5b085bb4331f943d3fa98eb40056c3e10a1b882d
[ "BSD-3-Clause" ]
null
null
null
src/helics/shared_api_library/FederateExport.cpp
manoj1511/HELICS
5b085bb4331f943d3fa98eb40056c3e10a1b882d
[ "BSD-3-Clause" ]
null
null
null
src/helics/shared_api_library/FederateExport.cpp
manoj1511/HELICS
5b085bb4331f943d3fa98eb40056c3e10a1b882d
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2017-2019, Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Sustainable Energy, LLC. See the top-level NOTICE for additional details. All rights reserved. SPDX-License-Identifier: BSD-3-Clause */ #include "../core/core-exceptions.hpp" #include "../helics.hpp" #incl...
26.447467
140
0.630582
manoj1511
05bf64bc3cf0fa74f6f3c3996361f4c977618203
8,489
cpp
C++
examples/example_matrix_multiply.cpp
rise-lang/yacx
da81fe8f814151b1c2024617f0bc9891f210cd84
[ "MIT" ]
5
2019-12-16T15:32:05.000Z
2021-05-21T18:36:37.000Z
examples/example_matrix_multiply.cpp
rise-lang/yacx
da81fe8f814151b1c2024617f0bc9891f210cd84
[ "MIT" ]
98
2019-12-07T15:28:18.000Z
2021-03-02T14:20:48.000Z
examples/example_matrix_multiply.cpp
rise-lang/yacx
da81fe8f814151b1c2024617f0bc9891f210cd84
[ "MIT" ]
6
2019-12-08T13:20:57.000Z
2021-05-16T11:21:14.000Z
#include "yacx/main.hpp" #include <algorithm> #include <array> #include <cstdio> #include <ctime> #include <functional> #include <iostream> #include <iterator> #include <random> #include <string> using yacx::Source, yacx::KernelArg, yacx::Kernel, yacx::Options, yacx::Device, yacx::load, yacx::KernelTime, yacx::De...
33.55336
79
0.568972
rise-lang
05c047501cbc80390d8e93d1cd7bd27cd77666f8
11,268
cpp
C++
ofApp.cpp
2552Software/music2
fcefe78029104214e8174cd5cf16bc690ce5bda4
[ "MIT" ]
null
null
null
ofApp.cpp
2552Software/music2
fcefe78029104214e8174cd5cf16bc690ce5bda4
[ "MIT" ]
null
null
null
ofApp.cpp
2552Software/music2
fcefe78029104214e8174cd5cf16bc690ce5bda4
[ "MIT" ]
null
null
null
#include "ofApp.h" //https://commons.wikimedia.org/wiki/File:Beer_in_glass_close_up.jpg // This is the most basic pdsp example // we set up everything and check that everything is working // before running this also check that the basic oF audio output example is working // ofxx_folder/examples/sound/audioOutputExample...
30.619565
124
0.564164
2552Software
05c55538623289359a668a35521b9bfeb8f01a82
4,118
cpp
C++
Sources/Engine/NeoAxis.Core.Native/NativeWrapper/MiniDump.cpp
intensifier/NeoAxisEngine
5c3d6d853c1d420e332aa31c73840f7cf3fd3eef
[ "IJG" ]
null
null
null
Sources/Engine/NeoAxis.Core.Native/NativeWrapper/MiniDump.cpp
intensifier/NeoAxisEngine
5c3d6d853c1d420e332aa31c73840f7cf3fd3eef
[ "IJG" ]
null
null
null
Sources/Engine/NeoAxis.Core.Native/NativeWrapper/MiniDump.cpp
intensifier/NeoAxisEngine
5c3d6d853c1d420e332aa31c73840f7cf3fd3eef
[ "IJG" ]
null
null
null
// Copyright (C) NeoAxis Group Ltd. 8 Copthall, Roseau Valley, 00152 Commonwealth of Dominica. #include "OgreStableHeaders.h" #include "OgreNativeWrapperGeneral.h" #pragma hdrstop #include "MiniDump.h" #ifdef MINIDUMP #include "MiniDump.h" #include <windows.h> #include <dbghelp.h> #include <tchar.h> typedef BOOL (...
24.957576
101
0.733123
intensifier
05c5a3aeba06470baf5f2934446b9061e2844011
30,479
cpp
C++
isis/src/base/apps/nocam2map/nocam2map.cpp
gknorman/ISIS3
4800a8047626a864e163cc74055ba60008c105f7
[ "CC0-1.0" ]
1
2022-02-17T01:07:03.000Z
2022-02-17T01:07:03.000Z
isis/src/base/apps/nocam2map/nocam2map.cpp
gknorman/ISIS3
4800a8047626a864e163cc74055ba60008c105f7
[ "CC0-1.0" ]
null
null
null
isis/src/base/apps/nocam2map/nocam2map.cpp
gknorman/ISIS3
4800a8047626a864e163cc74055ba60008c105f7
[ "CC0-1.0" ]
null
null
null
#include <algorithm> #include <QList> #include <QString> #include <QStringList> #include <QVector> #include <SpiceUsr.h> #include "Cube.h" #include "Brick.h" #include "Constants.h" #include "Cube.h" #include "IString.h" #include "LeastSquares.h" #include "NaifStatus.h" #include "nocam2map.h" #include "PolynomialBiva...
40.103947
140
0.616556
gknorman
05c5d8126b4dde4f2e90a721193c5f2174a895ba
566
cpp
C++
0901-1000/0973-K Closest Points to Origin/0973-K Closest Points to Origin.cpp
jiadaizhao/LeetCode
4ddea0a532fe7c5d053ffbd6870174ec99fc2d60
[ "MIT" ]
49
2018-05-05T02:53:10.000Z
2022-03-30T12:08:09.000Z
0901-1000/0973-K Closest Points to Origin/0973-K Closest Points to Origin.cpp
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
11
2017-12-15T22:31:44.000Z
2020-10-02T12:42:49.000Z
0901-1000/0973-K Closest Points to Origin/0973-K Closest Points to Origin.cpp
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
28
2017-12-05T10:56:51.000Z
2022-01-26T18:18:27.000Z
class Solution { public: vector<vector<int>> kClosest(vector<vector<int>>& points, int K) { priority_queue<pair<int, int>> pq; for (int i = 0; i < points.size(); ++i) { pq.emplace(points[i][0]* points[i][0] + points[i][1] * points[i][1], i); if (pq.size() > K) { ...
26.952381
84
0.452297
jiadaizhao
05c68db7063849741136465ac44439d72e8f6af0
7,382
hxx
C++
Eudora71/SpelChek/src/nuspell/string_utils.hxx
ivanagui2/hermesmail-code
34387722d5364163c71b577fc508b567de56c5f6
[ "BSD-3-Clause-Clear" ]
1
2019-06-15T17:46:11.000Z
2019-06-15T17:46:11.000Z
Eudora71/SpelChek/src/nuspell/string_utils.hxx
ivanagui2/hermesmail-code
34387722d5364163c71b577fc508b567de56c5f6
[ "BSD-3-Clause-Clear" ]
null
null
null
Eudora71/SpelChek/src/nuspell/string_utils.hxx
ivanagui2/hermesmail-code
34387722d5364163c71b577fc508b567de56c5f6
[ "BSD-3-Clause-Clear" ]
null
null
null
/* Copyright 2018 Dimitrij Mijoski, Sander van Geloven * Copyright 2016-2017 Dimitrij Mijoski * * This file is part of Nuspell. * * Nuspell is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either ...
27.962121
78
0.67922
ivanagui2
05c7e7d60bf9b8cb9a869ba1275d541a44719580
7,752
cpp
C++
src/data/Node.cpp
yunify/qsfs-fuse
24d7445df491dd9fe3924eda81026272d3db7e53
[ "Apache-2.0" ]
20
2018-02-11T06:16:53.000Z
2019-09-06T06:57:39.000Z
src/data/Node.cpp
yunify/qsfs-fuse
24d7445df491dd9fe3924eda81026272d3db7e53
[ "Apache-2.0" ]
6
2018-03-15T06:53:54.000Z
2018-09-02T17:32:51.000Z
src/data/Node.cpp
qingstor-incubating/qsfs-fuse
24d7445df491dd9fe3924eda81026272d3db7e53
[ "Apache-2.0" ]
5
2018-03-01T09:58:19.000Z
2018-08-20T01:50:07.000Z
// +------------------------------------------------------------------------- // | Copyright (C) 2017 Yunify, Inc. // +------------------------------------------------------------------------- // | Licensed under the Apache License, Version 2.0 (the "License"); // | You may not use this work except in compliance with t...
31.008
81
0.553277
yunify
05cb9856c8a2c606631323ff2ed060567613eeaa
1,144
cpp
C++
XBeat/Physics/PMXMotionState.cpp
shirayukikitsune/xbeat
df1f0ea3ada18d9790ebf6a16cee9370d82b431b
[ "NCSA" ]
3
2015-03-02T13:27:00.000Z
2021-01-10T15:20:38.000Z
XBeat/Physics/PMXMotionState.cpp
shirayukikitsune/xbeat
df1f0ea3ada18d9790ebf6a16cee9370d82b431b
[ "NCSA" ]
null
null
null
XBeat/Physics/PMXMotionState.cpp
shirayukikitsune/xbeat
df1f0ea3ada18d9790ebf6a16cee9370d82b431b
[ "NCSA" ]
null
null
null
//===-- Physics/PMXMotionState.cpp - Defines a Motion State for PMX ----*- C++ -*-===// // // The XBeat Project // // This file is distributed under the University of Illinois Open Source License. // See LICENSE.TXT for details. // //===--------------------------------------------------------------...
32.685714
103
0.620629
shirayukikitsune
fe4ae5e44e1eeb8c963dd883d513875033e811f2
876
cpp
C++
judge_client/1/uoj_judger/builtin/checker/wcmp.cpp
TRCYX/UOJ-System
a70283a4ee309f5485ec00c4cd1143fbf87d616a
[ "MIT" ]
483
2016-07-18T16:40:58.000Z
2022-03-31T04:29:12.000Z
judger/uoj_judger/builtin/checker/wcmp.cpp
chy-2003/UOJ-System
8ca70fc87c36b81a37d3a437c319348710404181
[ "MIT" ]
102
2019-04-14T05:40:54.000Z
2022-02-07T13:21:36.000Z
judger/uoj_judger/builtin/checker/wcmp.cpp
chy-2003/UOJ-System
8ca70fc87c36b81a37d3a437c319348710404181
[ "MIT" ]
166
2017-04-07T01:04:35.000Z
2022-03-30T04:59:25.000Z
#include "testlib.h" using namespace std; int main(int argc, char * argv[]) { setName("compare sequences of tokens"); registerTestlibCmd(argc, argv); int n = 0; string j, p; while (!ans.seekEof() && !ouf.seekEof()) { n++; ans.readWordTo(j); ouf.readWordTo(p); ...
22.461538
145
0.505708
TRCYX
fe4aec1898da27ecc3d02c703e90ee52deebd955
5,753
cc
C++
quic/quic_transport/quic_transport_server_session.cc
fcharlie/quiche
56835aa2c2e3645e0eec85bff07f9d58e3bace63
[ "BSD-3-Clause" ]
1
2019-11-05T05:26:53.000Z
2019-11-05T05:26:53.000Z
quic/quic_transport/quic_transport_server_session.cc
fcharlie/quiche
56835aa2c2e3645e0eec85bff07f9d58e3bace63
[ "BSD-3-Clause" ]
null
null
null
quic/quic_transport/quic_transport_server_session.cc
fcharlie/quiche
56835aa2c2e3645e0eec85bff07f9d58e3bace63
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/third_party/quiche/src/quic/quic_transport/quic_transport_server_session.h" #include <memory> #include "url/gurl.h" #include "net/thir...
33.643275
89
0.695116
fcharlie
fe4b3b929e3b82ad887618942b909fd2b68529f6
191
cpp
C++
exercises/3/week15/src/Animal.cpp
triffon/oop-2019-20
db199631d59ddefdcc0c8eb3d689de0095618f92
[ "MIT" ]
19
2020-02-21T16:46:50.000Z
2022-01-26T19:59:49.000Z
exercises/3/week15/src/Animal.cpp
triffon/oop-2019-20
db199631d59ddefdcc0c8eb3d689de0095618f92
[ "MIT" ]
1
2020-03-14T08:09:45.000Z
2020-03-14T08:09:45.000Z
exercises/3/week15/src/Animal.cpp
triffon/oop-2019-20
db199631d59ddefdcc0c8eb3d689de0095618f92
[ "MIT" ]
11
2020-02-23T12:29:58.000Z
2021-04-11T08:30:12.000Z
#include"Animal.h" Animal::Animal(int health){ this->health=health; } void Animal::eat(Food& f,int quantity){ health+=f.eat(quantity); }; int Animal::getHealth()const{ return health; };
17.363636
39
0.696335
triffon
fe4ba2bfd810e1a3784419134e7e7b35e6573d09
9,491
hpp
C++
pythran/pythonic/numpy/argminmax.hpp
davidbrochart/pythran
24b6c8650fe99791a4091cbdc2c24686e86aa67c
[ "BSD-3-Clause" ]
1
2020-07-21T10:01:20.000Z
2020-07-21T10:01:20.000Z
pythran/pythonic/numpy/argminmax.hpp
davidbrochart/pythran
24b6c8650fe99791a4091cbdc2c24686e86aa67c
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/numpy/argminmax.hpp
davidbrochart/pythran
24b6c8650fe99791a4091cbdc2c24686e86aa67c
[ "BSD-3-Clause" ]
null
null
null
#ifndef PYTHONIC_NUMPY_ARGMINMAX_HPP #define PYTHONIC_NUMPY_ARGMINMAX_HPP #include "pythonic/utils/functor.hpp" #include "pythonic/types/ndarray.hpp" #include "pythonic/numpy/asarray.hpp" #include "pythonic/builtins/ValueError.hpp" PYTHONIC_NS_BEGIN namespace numpy { namespace details { template <class P, si...
32.503425
80
0.571278
davidbrochart
fe4c00412df73f9c2de37c98a02725bc007e9c77
266
cpp
C++
02. Algorithms/09. Dynamic Programming/003. Best time to Buy and Sell Stock/code.cpp
dr490n1s3d-3d8/Data-Structures-and-Algorithms
f2bba2d836f448cc0cd894c4e9791819910571d5
[ "MIT" ]
1
2022-03-06T13:58:27.000Z
2022-03-06T13:58:27.000Z
02. Algorithms/09. Dynamic Programming/003. Best time to Buy and Sell Stock/code.cpp
dr490n1s3d-3d8/Data-Structures-and-Algorithms
f2bba2d836f448cc0cd894c4e9791819910571d5
[ "MIT" ]
null
null
null
02. Algorithms/09. Dynamic Programming/003. Best time to Buy and Sell Stock/code.cpp
dr490n1s3d-3d8/Data-Structures-and-Algorithms
f2bba2d836f448cc0cd894c4e9791819910571d5
[ "MIT" ]
1
2022-03-24T15:25:34.000Z
2022-03-24T15:25:34.000Z
class Solution { public: int maxProfit(vector<int>& prices) { int cost = INT_MAX, sell=0; for(int i:prices) { cost = min(cost,i); sell = max(sell,i-cost) ; } return sell ; } };
19
40
0.43609
dr490n1s3d-3d8
fe4cc6b9f11183e5b1ded0e42c9c7c3c0716f818
1,059
cpp
C++
src/arch/riscv64/intr/timer.cpp
KehRoche/SimpleKernel
91ebac7e350b39555998c54f93e9d4b879230c26
[ "MIT" ]
820
2018-05-18T15:06:41.000Z
2022-03-04T03:30:01.000Z
src/arch/riscv64/intr/timer.cpp
KehRoche/SimpleKernel
91ebac7e350b39555998c54f93e9d4b879230c26
[ "MIT" ]
10
2018-06-01T09:43:07.000Z
2021-12-29T14:37:00.000Z
src/arch/riscv64/intr/timer.cpp
KehRoche/SimpleKernel
91ebac7e350b39555998c54f93e9d4b879230c26
[ "MIT" ]
92
2018-07-15T13:45:54.000Z
2021-12-29T14:24:12.000Z
/** * @file timer.h * @brief 中断抽象头文件 * @author Zone.N (Zone.Niuzh@hotmail.com) * @version 1.0 * @date 2021-09-18 * @copyright MIT LICENSE * https://github.com/Simple-XX/SimpleKernel * @par change log: * <table> * <tr><th>Date<th>Author<th>Description * <tr><td>2021-09-18<td>digmouse233<td>迁移到 doxygen * </t...
19.254545
71
0.643059
KehRoche
fe4d7c6413cadf3f7de82e6304fc9bb00139fc2e
502
cpp
C++
6.179/ps2/hash.cpp
kalyons11/iap2017
3b8f269d7384e9926f8b6fb3e269d46d34851e26
[ "MIT" ]
null
null
null
6.179/ps2/hash.cpp
kalyons11/iap2017
3b8f269d7384e9926f8b6fb3e269d46d34851e26
[ "MIT" ]
null
null
null
6.179/ps2/hash.cpp
kalyons11/iap2017
3b8f269d7384e9926f8b6fb3e269d46d34851e26
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <string> #include <math.h> using namespace std; int main() { /*int N, M, D; cin >> N >> M >> D; cout << N << " " << M << " " << D << endl;*/ cout << "Type your message:" << endl; cin.ignore(); string x; getline(cin, x); int length = x.length(); cout << le...
14.342857
45
0.535857
kalyons11
fe4f316381a1effcabdcfa149ed3927e303e6b53
6,003
cc
C++
components/exo/ui_lock_controller.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/exo/ui_lock_controller.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/exo/ui_lock_controller.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-03-07T14:20:02.000Z
2021-03-07T14:20:02.000Z
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/exo/ui_lock_controller.h" #include "ash/constants/ash_features.h" #include "ash/public/cpp/app_types.h" #include "ash/wm/window_stat...
32.101604
80
0.707979
Ron423c
fe50adbac7649eaa5e13242529fa6e9f78b9ac8d
3,235
cpp
C++
sdk/object/entity.cpp
jrnh/herby
bf0e90b850e2f81713e4dbc21c8d8b9af78ad203
[ "MIT" ]
null
null
null
sdk/object/entity.cpp
jrnh/herby
bf0e90b850e2f81713e4dbc21c8d8b9af78ad203
[ "MIT" ]
null
null
null
sdk/object/entity.cpp
jrnh/herby
bf0e90b850e2f81713e4dbc21c8d8b9af78ad203
[ "MIT" ]
null
null
null
#include "sdk/object/entity.hpp" #include "sdk/object/weapon.hpp" #include "csgo/engine.hpp" C_BaseEntity* C_BaseEntity::GetBaseEntity( const int index ) { const auto client_entity = csgo::m_client_entity_list->GetClientEntity( index ); return (client_entity ? client_entity->GetBaseEntity() : nullptr); } C_BaseEnt...
22.310345
145
0.686553
jrnh
fe52d7540754426ae6925e6573b1141897093ef6
6,296
hpp
C++
android-28/android/media/MediaCodecInfo_CodecProfileLevel.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-28/android/media/MediaCodecInfo_CodecProfileLevel.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-28/android/media/MediaCodecInfo_CodecProfileLevel.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#pragma once #include "../../JObject.hpp" class JObject; namespace android::media { class MediaCodecInfo_CodecProfileLevel : public JObject { public: // Fields static jint AACObjectELD(); static jint AACObjectERLC(); static jint AACObjectERScalable(); static jint AACObjectHE(); static jint AACObjectHE...
32.287179
173
0.760642
YJBeetle
fe53cbdac0756585f7fe8e257890ca1334f1fe07
1,346
cpp
C++
system-test/mxs1947_composite_roles.cpp
Daniel-Xu/MaxScale
35d12c0c9b75c4571dbbeb983c740de098661de6
[ "BSD-3-Clause" ]
null
null
null
system-test/mxs1947_composite_roles.cpp
Daniel-Xu/MaxScale
35d12c0c9b75c4571dbbeb983c740de098661de6
[ "BSD-3-Clause" ]
null
null
null
system-test/mxs1947_composite_roles.cpp
Daniel-Xu/MaxScale
35d12c0c9b75c4571dbbeb983c740de098661de6
[ "BSD-3-Clause" ]
null
null
null
/** * MXS-1947: Composite roles are not supported * * https://jira.mariadb.org/browse/MXS-1947 */ #include <maxtest/testconnections.hh> int main(int argc, char** argv) { TestConnections test(argc, argv); test.repl->connect(); auto prepare = { "DROP USER test@'%'", "CREATE USER te...
24.035714
109
0.571322
Daniel-Xu
fe565512d54898ccd143d886bcc11de749329e2c
1,221
cpp
C++
Engine/Io/DictionaryReader.cpp
i0r/huisclos
930c641ab64f1deff4c15a6e1617fc596cf8118f
[ "X11" ]
null
null
null
Engine/Io/DictionaryReader.cpp
i0r/huisclos
930c641ab64f1deff4c15a6e1617fc596cf8118f
[ "X11" ]
null
null
null
Engine/Io/DictionaryReader.cpp
i0r/huisclos
930c641ab64f1deff4c15a6e1617fc596cf8118f
[ "X11" ]
null
null
null
#include "Shared.h" #include "DictionaryReader.h" #include <string> #include <fstream> namespace { void Trim( std::string &str ) { size_t charPos = str.find_first_not_of( " \n" ); if ( charPos != std::string::npos ) { str.erase( 0, charPos ); } charPos = str.find_last_not_of( " \n" ); if ( c...
19.380952
75
0.5905
i0r
fe56f15dbd08cf7765305e0e75f598e4fc09eefd
412
cpp
C++
tests/Classes/main.cpp
Derik-T/CPP
adf8ecb11af5bf96d04182b83ae3fa58ca64bc72
[ "MIT" ]
1
2021-08-28T23:51:52.000Z
2021-08-28T23:51:52.000Z
tests/Classes/main.cpp
Derik-T/CPP
adf8ecb11af5bf96d04182b83ae3fa58ca64bc72
[ "MIT" ]
null
null
null
tests/Classes/main.cpp
Derik-T/CPP
adf8ecb11af5bf96d04182b83ae3fa58ca64bc72
[ "MIT" ]
null
null
null
#include "main.h" int main(){ Pessoa Joao, Cleide, Claudo; Joao.setId(1); Joao.setIdade(10); Joao.setSexo(true); Joao.setUsaOculos(false); Joao.copy(Joao); std::cout << Cleide.getId() << std::endl; std::cout << Joao.getIdade() << std::endl; Produto cadeira, ventilador, amplif...
20.6
46
0.601942
Derik-T
fe5774f1eaa8e05d8a30c89117213c3acfbe2f4f
325
cpp
C++
cpp/lab27/inheritance/base_class_content_demonstration.cpp
PeganovAnton/cs-8th-grade
843a1e228473734728949ba286e04612165a163e
[ "AFL-3.0" ]
null
null
null
cpp/lab27/inheritance/base_class_content_demonstration.cpp
PeganovAnton/cs-8th-grade
843a1e228473734728949ba286e04612165a163e
[ "AFL-3.0" ]
null
null
null
cpp/lab27/inheritance/base_class_content_demonstration.cpp
PeganovAnton/cs-8th-grade
843a1e228473734728949ba286e04612165a163e
[ "AFL-3.0" ]
null
null
null
#include <iostream> #include <stdint.h> using namespace std; class A { int32_t a; }; class B: public A { int32_t a; }; int main() { cout << "sizeof(A): " << sizeof(A) << endl; // Печатает 4. // Печатает 8, так как содержит в том числе родительские члены. cout << "sizeof(B): " << sizeof(B) << endl;...
12.037037
65
0.584615
PeganovAnton
fe5b3b007b135d6ada318d38d9b1f06c10a789cf
460
cpp
C++
source/bullet.cpp
aronlebani/math-game
86d30e6a4a89167aefc618b76848566a65ecbcab
[ "MIT" ]
null
null
null
source/bullet.cpp
aronlebani/math-game
86d30e6a4a89167aefc618b76848566a65ecbcab
[ "MIT" ]
null
null
null
source/bullet.cpp
aronlebani/math-game
86d30e6a4a89167aefc618b76848566a65ecbcab
[ "MIT" ]
null
null
null
/* bullet.cpp Aron Lebani 29 March 2016 */ #include "../include/character.h" #include "../include/bullet.h" #include "../include/tools.h" bullet::bullet() { width = 13; height = 2; } void bullet::draw() { tools::printw(getY() , getX(), " x "); tools::printw(getY()+1, getX(), " x "); } void...
13.529412
50
0.526087
aronlebani
fe5cde8ce7a2c767d2d659c44a42580ee6d1de58
843
hpp
C++
src/Cheats.hpp
soni801/SourceAutoRecord
4bd9fde988eac425f86db050354db490dd3ed69b
[ "MIT" ]
42
2021-04-27T17:03:24.000Z
2022-03-03T18:56:13.000Z
src/Cheats.hpp
soni801/SourceAutoRecord
4bd9fde988eac425f86db050354db490dd3ed69b
[ "MIT" ]
43
2021-04-27T21:20:06.000Z
2022-03-22T12:45:46.000Z
src/Cheats.hpp
soni801/SourceAutoRecord
4bd9fde988eac425f86db050354db490dd3ed69b
[ "MIT" ]
29
2021-06-11T23:52:24.000Z
2022-03-30T14:33:46.000Z
#pragma once #include "Command.hpp" #include "Variable.hpp" class Cheats { public: void Init(); void Shutdown(); }; extern Variable sar_autorecord; extern Variable sar_autojump; extern Variable sar_jumpboost; extern Variable sar_aircontrol; extern Variable sar_duckjump; extern Variable sar_disable_challenge_stats_h...
27.193548
52
0.867141
soni801
fe5d29f8c8be4678354d4a49e522903e96401a66
6,393
cpp
C++
src/pocketdb/models/dto/User.cpp
dmaltsiniotis/pocketnet.core
d7f763259330ae3dc6a02ec30ba2525ce2f6a5d9
[ "Apache-2.0" ]
1
2022-01-09T12:22:44.000Z
2022-01-09T12:22:44.000Z
src/pocketdb/models/dto/User.cpp
dmaltsiniotis/pocketnet.core
d7f763259330ae3dc6a02ec30ba2525ce2f6a5d9
[ "Apache-2.0" ]
null
null
null
src/pocketdb/models/dto/User.cpp
dmaltsiniotis/pocketnet.core
d7f763259330ae3dc6a02ec30ba2525ce2f6a5d9
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2018-2021 Pocketnet developers // Distributed under the Apache 2.0 software license, see the accompanying // https://www.apache.org/licenses/LICENSE-2.0 #include <primitives/transaction.h> #include "pocketdb/models/dto/User.h" namespace PocketTx { User::User() : Transaction() { SetTyp...
45.992806
121
0.622712
dmaltsiniotis
fe5db8fca8964896b6e08062af6108e4f2d27de6
3,405
cpp
C++
src/picture_node.cpp
slaghuis/camera_lite
2b016006da58ce858895430a0f6b93fce9ee8576
[ "Apache-2.0" ]
null
null
null
src/picture_node.cpp
slaghuis/camera_lite
2b016006da58ce858895430a0f6b93fce9ee8576
[ "Apache-2.0" ]
null
null
null
src/picture_node.cpp
slaghuis/camera_lite
2b016006da58ce858895430a0f6b93fce9ee8576
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 Xeni Robotics // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
29.868421
162
0.688106
slaghuis
fe5ec610ca9b45751b3be736b5e3e7e49f4bd5b0
917
cc
C++
coding/Reactor/v2/server_v2.cc
snow-tyan/learn-cpp
ecab0fae7999005ed7fdb60ff4954b4014b2c2e6
[ "MulanPSL-1.0" ]
null
null
null
coding/Reactor/v2/server_v2.cc
snow-tyan/learn-cpp
ecab0fae7999005ed7fdb60ff4954b4014b2c2e6
[ "MulanPSL-1.0" ]
null
null
null
coding/Reactor/v2/server_v2.cc
snow-tyan/learn-cpp
ecab0fae7999005ed7fdb60ff4954b4014b2c2e6
[ "MulanPSL-1.0" ]
null
null
null
#include "Acceptor.hh" #include "TCPConnection.hh" #include "EventLoop.hh" #include <iostream> #include <string> using namespace std; using namespace wd; // 普通函数版的回调函数 void onConnection(const TCPConnectionPtr &conn) { cout << conn->toString() << " has connected" << endl; conn->send("welcome to server"); } vo...
20.840909
69
0.640131
snow-tyan
fe616724a851973743e3a32240e7c1bf79d58f65
25,891
cpp
C++
core/sql/langman/LmJavaExceptionReporter.cpp
anoopsharma00/incubator-trafodion
b109e2cf5883f8e763af853ab6fad7ce7110d9e8
[ "Apache-2.0" ]
null
null
null
core/sql/langman/LmJavaExceptionReporter.cpp
anoopsharma00/incubator-trafodion
b109e2cf5883f8e763af853ab6fad7ce7110d9e8
[ "Apache-2.0" ]
null
null
null
core/sql/langman/LmJavaExceptionReporter.cpp
anoopsharma00/incubator-trafodion
b109e2cf5883f8e763af853ab6fad7ce7110d9e8
[ "Apache-2.0" ]
null
null
null
/********************************************************************** // @@@ START COPYRIGHT @@@ // // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. ...
29.288462
112
0.610791
anoopsharma00
fe61dd8216e41d64b8a9224fb71ca1f5dc1a64d5
4,922
hpp
C++
ThirdParty-mod/java2cpp/javax/crypto/spec/DESKeySpec.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
1
2019-04-03T01:53:28.000Z
2019-04-03T01:53:28.000Z
ThirdParty-mod/java2cpp/javax/crypto/spec/DESKeySpec.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
ThirdParty-mod/java2cpp/javax/crypto/spec/DESKeySpec.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
/*================================================================================ code generated by: java2cpp author: Zoran Angelov, mailto://baldzar@gmail.com class: javax.crypto.spec.DESKeySpec ================================================================================*/ #ifndef J2CPP_INCLUDE_IMP...
30.012195
108
0.70195
kakashidinho
fe63bbd69243f9a5859bca41001b24b435590254
7,572
cc
C++
Source/MDEC.cc
dkoluris/pseudo
07a8d287f6b22ba70b73a012f560ff4a68dab2c3
[ "Apache-2.0" ]
40
2018-04-04T05:36:58.000Z
2021-11-15T02:03:05.000Z
Source/MDEC.cc
dkoluris/PSeudo
07a8d287f6b22ba70b73a012f560ff4a68dab2c3
[ "Apache-2.0" ]
1
2019-07-24T01:37:12.000Z
2019-09-10T07:58:12.000Z
Source/MDEC.cc
dkoluris/pseudo
07a8d287f6b22ba70b73a012f560ff4a68dab2c3
[ "Apache-2.0" ]
4
2018-09-19T10:29:44.000Z
2020-06-18T22:24:32.000Z
#include "Global.h" #define MAKERGB15(R, G, B) ((((R)>>3)<<10)|(((G)>>3)<<5)|((B)>>3)) #define ROUND(c) rtbl[(c) + 128 + 256] #define RGB15CL(N) IMAGE[N] = MAKERGB15(ROUND(GETY + R), ROUND(GETY + G), ROUND(GETY + B)); #define RGB24CL(N) IMAGE[N+ 2] = ROUND(GETY + R); IMAGE[N+ 1] = ROUND(GETY + G); IMAGE[N+ 0] ...
26.200692
111
0.410195
dkoluris
fe646b8b115e272243b266d33377e414942eb92c
24,117
hpp
C++
SDKUsage6/VBMapViewer-SKT/VbNavKit-iOS/Classes/VbViewInfo/vbViewInfo.hpp
longxingtianxiaShuai/specialView
42fbdb1ee94fc0bd0c903e3c72c23808ec608139
[ "MIT" ]
1
2020-11-21T03:54:34.000Z
2020-11-21T03:54:34.000Z
SDKUsage6/VBMapViewer-SKT/VbNavKit-iOS/Classes/VbViewInfo/vbViewInfo.hpp
longxingtianxiaShuai/specialView
42fbdb1ee94fc0bd0c903e3c72c23808ec608139
[ "MIT" ]
null
null
null
SDKUsage6/VBMapViewer-SKT/VbNavKit-iOS/Classes/VbViewInfo/vbViewInfo.hpp
longxingtianxiaShuai/specialView
42fbdb1ee94fc0bd0c903e3c72c23808ec608139
[ "MIT" ]
3
2017-12-14T00:52:03.000Z
2019-08-08T22:25:04.000Z
#pragma once #include "Quaternion.hpp" #include "vbConfiguration.hpp" #include "vbGeometry.hpp" #include "vbCamera.hpp" #include "vbTrackCameraControl.hpp" #include "vbFPSCameraControl.hpp" #include "vbMoveOrbitZoomCameraControl.hpp" #include "vbMovingForwardCameraControl.hpp" #include "vbHorizontalPanCameraControl.h...
39.471358
149
0.605133
longxingtianxiaShuai
fe648ca1bc737f11012fd6e605fcae87c6db078a
1,916
hpp
C++
include/terms/GeneralTerm.hpp
Krzmbrzl/contractor
7d2d7f08054ba22b12c6e473757f963d5a61a912
[ "BSD-3-Clause" ]
null
null
null
include/terms/GeneralTerm.hpp
Krzmbrzl/contractor
7d2d7f08054ba22b12c6e473757f963d5a61a912
[ "BSD-3-Clause" ]
null
null
null
include/terms/GeneralTerm.hpp
Krzmbrzl/contractor
7d2d7f08054ba22b12c6e473757f963d5a61a912
[ "BSD-3-Clause" ]
null
null
null
#ifndef CONTRACTOR_TERMS_GENERALTERM_HPP_ #define CONTRACTOR_TERMS_GENERALTERM_HPP_ #include "terms/Tensor.hpp" #include "terms/Term.hpp" #include <memory> #include <vector> namespace Contractor::Terms { class BinaryTerm; /** * This special kind of Term simply describes the contained Terms as a list of Tensors. N...
25.891892
108
0.733299
Krzmbrzl
fe64c0925f28eda9ebd199765300661a2a2fc3f1
5,051
cc
C++
src/allocator/CrSeparableAllocator.cc
qzcx/supersim
34829411d02fd3bd3f3d7a075edef8749eb8748e
[ "Apache-2.0" ]
17
2017-05-09T07:08:41.000Z
2021-08-03T01:22:09.000Z
src/allocator/CrSeparableAllocator.cc
qzcx/supersim
34829411d02fd3bd3f3d7a075edef8749eb8748e
[ "Apache-2.0" ]
6
2016-12-02T22:07:31.000Z
2020-04-22T07:43:42.000Z
src/allocator/CrSeparableAllocator.cc
qzcx/supersim
34829411d02fd3bd3f3d7a075edef8749eb8748e
[ "Apache-2.0" ]
13
2016-12-02T22:01:04.000Z
2020-03-23T16:44:04.000Z
/* * Licensed under the Apache License, Version 2.0 (the 'License'); * you may not use this file except in compliance with the License. * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. You may obtain a copy of the License at * * http://www.apache.org/li...
33.230263
79
0.659671
qzcx
fe64f4b5f2ddb33f41fe2594f8fa89f55d94cf9f
1,354
cc
C++
libcassandra/cassandra_host.cc
caoimhechaos/libcassandra
0ae354dd5c41132404c7a5f3c99f6e150e7c823f
[ "BSD-3-Clause" ]
1
2019-04-16T09:06:41.000Z
2019-04-16T09:06:41.000Z
libcassandra/cassandra_host.cc
xiaozhou/libcassandra
5a929edf596621575098959e9c273ab52a27bd34
[ "BSD-3-Clause" ]
null
null
null
libcassandra/cassandra_host.cc
xiaozhou/libcassandra
5a929edf596621575098959e9c273ab52a27bd34
[ "BSD-3-Clause" ]
3
2016-03-14T11:22:24.000Z
2020-04-23T06:58:53.000Z
/* * LibCassandra * Copyright (C) 2010 Padraig O'Sullivan * All rights reserved. * * Use and distribution licensed under the BSD license. See * the COPYING file in the parent directory for full text. */ #include <string> #include <sstream> #include "libcassandra/cassandra.h" #include "libcassandra/cassandra_ho...
14.55914
64
0.676514
caoimhechaos
fe6621bb397652b3be2692121a1c61081b7f521c
5,279
hpp
C++
include/xleaflet/xtile_layer.hpp
jtpio/xleaflet
67df1c06ef7b8bb753180bfea545e5ad38ac88b3
[ "BSD-3-Clause" ]
null
null
null
include/xleaflet/xtile_layer.hpp
jtpio/xleaflet
67df1c06ef7b8bb753180bfea545e5ad38ac88b3
[ "BSD-3-Clause" ]
null
null
null
include/xleaflet/xtile_layer.hpp
jtpio/xleaflet
67df1c06ef7b8bb753180bfea545e5ad38ac88b3
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************************** * Copyright (c) 2018, Sylvain Corlay and Johan Mabille, and Wolf Vollprecht * * * * Distributed under the terms of the BSD 3-Clause License. * ...
31.610778
97
0.569805
jtpio
fe6714896167e506eeece31516e164508c4a440e
3,579
cpp
C++
owCore/MPQArchiveManager.cpp
adan830/OpenWow
9b6e9c248bd185b1677fe616d2a3a81a35ca8894
[ "Apache-2.0" ]
null
null
null
owCore/MPQArchiveManager.cpp
adan830/OpenWow
9b6e9c248bd185b1677fe616d2a3a81a35ca8894
[ "Apache-2.0" ]
null
null
null
owCore/MPQArchiveManager.cpp
adan830/OpenWow
9b6e9c248bd185b1677fe616d2a3a81a35ca8894
[ "Apache-2.0" ]
1
2020-05-11T13:32:49.000Z
2020-05-11T13:32:49.000Z
#include "stdafx.h" // General #include "MPQArchiveManager.h" // Additional #include "BaseManager.h" #if (VERSION == VERSION_Vanila) const char* archives = "D:/_games/World of Warcraft 1.12.1/Data/"; #elif (VERSION == VERSION_WotLK) const char* archives = "D:/_games/World of Warcraft 3.3.5a/Data/"; #endif // CMPQ...
26.708955
87
0.689299
adan830
fe68694ab44d19786184d2d8a3724bc0cd9ed6cf
1,666
cpp
C++
SPOJ/MB1.cpp
PiyushArora01/Coding
4f1e61317313fa3a9ea78b221b3ec03d9f256862
[ "Apache-2.0" ]
1
2016-09-01T13:57:27.000Z
2016-09-01T13:57:27.000Z
SPOJ/MB1.cpp
PiyushArora01/Coding
4f1e61317313fa3a9ea78b221b3ec03d9f256862
[ "Apache-2.0" ]
null
null
null
SPOJ/MB1.cpp
PiyushArora01/Coding
4f1e61317313fa3a9ea78b221b3ec03d9f256862
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; int main() { int test; cin >> test; int PP[] = {2, 3, 5, 7, 11, 101, 131, 151, 181, 191, 313, 353, 373, 383, 727, 757, 787, 797, 919, 929, 10301, 10501, 10601, 11311, 11411, 12421, 12721, 12821, 13331, 13831, 13931, 14341, 14741, 15451, 15551, 16061, 16361,...
83.3
759
0.629652
PiyushArora01
fe6a938782cd6ca1f86190c25fa67313aa743eff
100,492
cpp
C++
third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
xzhan96/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-01-07T18:51:03.000Z
2021-01-07T18:51:03.000Z
third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "core/frame/VisualViewport.h" #include "core/dom/Document.h" #include "core/frame/BrowserControls.h" #include "core/frame/FrameHost.h" #include ...
41.388797
80
0.68702
xzhan96