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
8d25e275e77ecf688f89e3006df811ff396213ef
1,529
cpp
C++
src/util/signal_catcher.cpp
ZGoriely/cbmc
d10e44dd98b21d04bdfc3052e2eaee6b2475a2b8
[ "BSD-4-Clause" ]
1
2021-09-09T06:09:03.000Z
2021-09-09T06:09:03.000Z
src/util/signal_catcher.cpp
polgreen/cbmc
dd42ef89dabcd010ed63e089ced04f9a7b6f1199
[ "BSD-4-Clause" ]
39
2017-11-07T16:48:51.000Z
2017-12-04T15:24:01.000Z
src/util/signal_catcher.cpp
danpoe/cbmc
9ae35de4db89e59e6bdbdfe5b2f77229d7f82eda
[ "BSD-4-Clause" ]
null
null
null
/*******************************************************************\ Module: Author: Daniel Kroening, kroening@kroening.com Date: \*******************************************************************/ #include "signal_catcher.h" #if defined(_WIN32) #include <process.h> #else #include <cstdlib> #include <csignal> ...
18.876543
69
0.646828
ZGoriely
8d2ae03d437b155e5145b3755f7746e440dfe36e
41,376
cpp
C++
src/wl_state.cpp
TobiasKarnat/Wolf4GW
a49ead44cb4a6476255e355c4c5e3e48bb7f1d55
[ "Unlicense" ]
8
2015-06-28T09:38:45.000Z
2021-10-02T16:33:47.000Z
src/wl_state.cpp
TobiasKarnat/Wolf4GW
a49ead44cb4a6476255e355c4c5e3e48bb7f1d55
[ "Unlicense" ]
null
null
null
src/wl_state.cpp
TobiasKarnat/Wolf4GW
a49ead44cb4a6476255e355c4c5e3e48bb7f1d55
[ "Unlicense" ]
2
2018-09-08T08:30:38.000Z
2019-03-24T18:10:52.000Z
// WL_STATE.C /* ============================================================================= LOCAL CONSTANTS ============================================================================= */ /* ===========================================================...
28.339726
101
0.357284
TobiasKarnat
8d2bd7d6a9dfa98cf123dc64d71bb01ca37b79d1
26,078
cpp
C++
editor/gui/src/renderersettingsdialog.cpp
lizardkinger/blacksun
0119948726d2a057c13d208044c7664a8348a1ea
[ "Linux-OpenIB" ]
null
null
null
editor/gui/src/renderersettingsdialog.cpp
lizardkinger/blacksun
0119948726d2a057c13d208044c7664a8348a1ea
[ "Linux-OpenIB" ]
null
null
null
editor/gui/src/renderersettingsdialog.cpp
lizardkinger/blacksun
0119948726d2a057c13d208044c7664a8348a1ea
[ "Linux-OpenIB" ]
null
null
null
/*************************************************************************** * Copyright (C) 2006 by The Hunter * * hunter@localhost * * * * This program is free software; you can redistribute it and/or modify * * it under the ter...
44.884682
153
0.685904
lizardkinger
8d2d7a1a6f9488a109c822e7b22271da217db9a9
1,621
cc
C++
src/exceptions.cc
websms-com/websmscom-cpp
a9214bd7dcc02c0e058a345e353d7417597f77c9
[ "MIT" ]
null
null
null
src/exceptions.cc
websms-com/websmscom-cpp
a9214bd7dcc02c0e058a345e353d7417597f77c9
[ "MIT" ]
null
null
null
src/exceptions.cc
websms-com/websmscom-cpp
a9214bd7dcc02c0e058a345e353d7417597f77c9
[ "MIT" ]
null
null
null
/** * Copyright (C) 2012, sms.at mobile internet services gmbh * * @author Markus Opitz */ #include <websms/exceptions.h> #include <websms/misc.h> namespace websms { Exception::Exception(const char* message) : message_(Strdup(message)), error_code_(0) { } Exception::Exception(const char* message, int ...
21.051948
79
0.70512
websms-com
8d2f0cb539e2222afc2dc16dd34a35133ded3e76
787
cpp
C++
Core/Driver/vf_drv_clr/vf_task_clr.cpp
sartrey/vapula
557dff9cf526eee6fe5b787f25c80a972c1451de
[ "Apache-2.0" ]
1
2019-04-17T14:45:49.000Z
2019-04-17T14:45:49.000Z
Core/Driver/vf_drv_clr/vf_task_clr.cpp
sartrey/vapula
557dff9cf526eee6fe5b787f25c80a972c1451de
[ "Apache-2.0" ]
null
null
null
Core/Driver/vf_drv_clr/vf_task_clr.cpp
sartrey/vapula
557dff9cf526eee6fe5b787f25c80a972c1451de
[ "Apache-2.0" ]
null
null
null
#include "vf_driver_clr.h" #include "vf_task_clr.h" #include "vf_library_clr.h" #include "vf_stack.h" TaskCLR::TaskCLR() { _Method = null; } TaskCLR::~TaskCLR() { } pcstr TaskCLR::GetHandle() { LibraryCLR* library = (LibraryCLR*)_Method->GetLibrary(); return library->GetHandle(); } bool TaskCLR::Bind(Method* met...
17.108696
58
0.682338
sartrey
8d311bb4e267e2cbd7a1ea5b1468dbe911461477
769
hpp
C++
src/strings.hpp
Schumbi/flaschengeist
ffed5c2a858d77dd2216d2a124c2a0c5a089a924
[ "MIT" ]
null
null
null
src/strings.hpp
Schumbi/flaschengeist
ffed5c2a858d77dd2216d2a124c2a0c5a089a924
[ "MIT" ]
null
null
null
src/strings.hpp
Schumbi/flaschengeist
ffed5c2a858d77dd2216d2a124c2a0c5a089a924
[ "MIT" ]
null
null
null
#ifndef MAKELIGHT_STRINGS_H #define MAKELIGHT_STRINGS_H #include <Arduino.h> // ab in PROGMEM damit Todo String Response = ""; String html_anfang = "<!DOCTYPE html>\r\n<html>\r\n\ <head>\r\n<meta content=\"text/html; charset=ISO-8859-1\" http-equiv=\"content-type\">\r\n\ <title>WebSchalter</title>\r\n<body><p>"; St...
32.041667
178
0.668401
Schumbi
8d3399c2d26b87db717db62c90aa725594602351
777
cpp
C++
src/Credentials.cpp
lalten/aws4_auth
ba6231ed5ab512be2e33f0611b5c97b8aa27d54c
[ "MIT" ]
null
null
null
src/Credentials.cpp
lalten/aws4_auth
ba6231ed5ab512be2e33f0611b5c97b8aa27d54c
[ "MIT" ]
null
null
null
src/Credentials.cpp
lalten/aws4_auth
ba6231ed5ab512be2e33f0611b5c97b8aa27d54c
[ "MIT" ]
null
null
null
#include "Aws4Auth/Credentials.h" #include <etl/string_view.h> #include "Sha256.h" namespace Aws4Auth { Sha256::hash_str_t Credentials::sign(const etl::string_view &date_iso8601, const etl::string_view &string_to_sign) const { etl::string<44> secret_key{"AWS4"}; secret_key.ap...
38.85
84
0.72973
lalten
8d357f429f5d10a3e4f308aa03cc86aa1f67d764
4,125
cpp
C++
wpilibcExamples/src/main/cpp/examples/MecanumControllerCommand/cpp/subsystems/DriveSubsystem.cpp
gcjurgiel/allwpilib
99f3a64dff0eba07be9b2e6c53753aafa0c852d8
[ "BSD-3-Clause" ]
1
2021-04-07T01:51:18.000Z
2021-04-07T01:51:18.000Z
wpilibcExamples/src/main/cpp/examples/MecanumControllerCommand/cpp/subsystems/DriveSubsystem.cpp
gcjurgiel/allwpilib
99f3a64dff0eba07be9b2e6c53753aafa0c852d8
[ "BSD-3-Clause" ]
null
null
null
wpilibcExamples/src/main/cpp/examples/MecanumControllerCommand/cpp/subsystems/DriveSubsystem.cpp
gcjurgiel/allwpilib
99f3a64dff0eba07be9b2e6c53753aafa0c852d8
[ "BSD-3-Clause" ]
1
2022-02-16T16:13:24.000Z
2022-02-16T16:13:24.000Z
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. #include "subsystems/DriveSubsystem.h" #include <units/angle.h> #include <units/velocity.h> #include <units/voltage.h> ...
33.536585
78
0.721455
gcjurgiel
8d3708e500f2bf0f134fd1b9dac83abf5b42093e
1,831
hpp
C++
jobin/worker.hpp
Marcos30004347/jobin
40eec7bf9579002426320253eae6eaaea6b50d10
[ "Apache-2.0" ]
2
2020-09-30T05:12:09.000Z
2020-10-12T23:40:32.000Z
jobin/worker.hpp
Marcos30004347/Jobin
40eec7bf9579002426320253eae6eaaea6b50d10
[ "Apache-2.0" ]
null
null
null
jobin/worker.hpp
Marcos30004347/Jobin
40eec7bf9579002426320253eae6eaaea6b50d10
[ "Apache-2.0" ]
null
null
null
#ifndef JOBIN_WORKER_H #define JOBIN_WORKER_H #include "job.hpp" #include "thread.hpp" class worker; thread_local static worker* current_worker = nullptr; class worker { friend void return_to_worker(); private: /** * handler of the worker. */ void(*handler)(void*); /** * voidless po...
17.776699
75
0.572911
Marcos30004347
8d39d3a50cf21b640e310dc9cfb7d49ead41b4d4
38,613
cpp
C++
src/math_implementation_1.cpp
tmilev/calculator
e39280f23975241985393651fe7a52db5c7fd1d5
[ "Apache-2.0" ]
7
2017-07-12T11:15:54.000Z
2021-10-29T18:33:33.000Z
src/math_implementation_1.cpp
tmilev/calculator
e39280f23975241985393651fe7a52db5c7fd1d5
[ "Apache-2.0" ]
18
2017-05-16T03:48:45.000Z
2022-03-16T19:51:26.000Z
src/math_implementation_1.cpp
tmilev/calculator
e39280f23975241985393651fe7a52db5c7fd1d5
[ "Apache-2.0" ]
1
2018-08-02T09:05:08.000Z
2018-08-02T09:05:08.000Z
// The current file is licensed under the license terms found in the main header file "calculator.h". // For additional information refer to the file "calculator.h". #include "math_extra_finite_groups_implementation.h" #include "general_lists.h" #include "math_general.h" #include "math_extra_universal_enveloping.h" #in...
39.889463
149
0.696553
tmilev
8d3a264b07bc6b94d19707d71b211d5012035dac
307
cpp
C++
tuan_5/main.cpp
thuanpham2311/thuc-hanh-nhap-mon-cau-truc-du-lieu
04f73c98895e88b1c36b6cfc48da49cb7cec8cf4
[ "Unlicense" ]
null
null
null
tuan_5/main.cpp
thuanpham2311/thuc-hanh-nhap-mon-cau-truc-du-lieu
04f73c98895e88b1c36b6cfc48da49cb7cec8cf4
[ "Unlicense" ]
1
2021-11-29T04:37:17.000Z
2021-11-29T04:37:17.000Z
tuan_5/main.cpp
thuanpham2311/thuc-hanh-nhap-mon-cau-truc-du-lieu
04f73c98895e88b1c36b6cfc48da49cb7cec8cf4
[ "Unlicense" ]
null
null
null
#include "header.h" int main() { Nodeptr danhSachSinhVien; nhapDanhSachSinhVien(danhSachSinhVien); xuatDanhSachSinhVien(danhSachSinhVien); // xoaDau(danhSachSinhVien); xoaCuoi(danhSachSinhVien); xuatDanhSachSinhVien(danhSachSinhVien); timSinhVienBangMa(danhSachSinhVien, s); return 0; }
19.1875
41
0.775244
thuanpham2311
8d3ada0bf5d5a7d4b134819932b4f0c51972f9f9
564
cpp
C++
orario/main.cpp
Maxelweb/PaO
7c9cb18366ed6a4730519e4275e4719ec9bf0cd2
[ "MIT" ]
1
2020-02-01T10:15:31.000Z
2020-02-01T10:15:31.000Z
orario/main.cpp
Maxelweb/PaO
7c9cb18366ed6a4730519e4275e4719ec9bf0cd2
[ "MIT" ]
null
null
null
orario/main.cpp
Maxelweb/PaO
7c9cb18366ed6a4730519e4275e4719ec9bf0cd2
[ "MIT" ]
null
null
null
#include "orario.h" int main() { orario mezzanotte(12,25,30); cout << "-------- ORA ESATTA --------" << endl; cout << "Ore: " << mezzanotte.Ore() << endl; cout << "Minuti: " << mezzanotte.Minuti() << endl; orario* ptr = new orario(7, 15); cout << "-------- POINTERS --------" << endl; ...
18.8
69
0.487589
Maxelweb
8d3fc7d747c76a2e2388db764fc4bbdf8f8dcc7c
62,446
cpp
C++
src/skel/glfw/glfw.cpp
gameblabla/reeee3
1b6d0f742b1b6fb681756de702ed618e90361139
[ "Unlicense" ]
2
2021-03-24T22:11:27.000Z
2021-05-07T06:51:04.000Z
src/skel/glfw/glfw.cpp
gameblabla/reeee3
1b6d0f742b1b6fb681756de702ed618e90361139
[ "Unlicense" ]
null
null
null
src/skel/glfw/glfw.cpp
gameblabla/reeee3
1b6d0f742b1b6fb681756de702ed618e90361139
[ "Unlicense" ]
null
null
null
#if defined RW_GL3 && !defined LIBRW_SDL2 #ifdef _WIN32 #include <shlobj.h> #include <basetsd.h> #include <mmsystem.h> #include <regstr.h> #include <shellapi.h> #include <windowsx.h> DWORD _dwOperatingSystemVersion; #include "resource.h" #else long _dwOperatingSystemVersion; #ifndef __APPLE__ #include <sys/sysinfo.h>...
25.058587
170
0.677081
gameblabla
8d4081ed745d1943e7891a42f2269a77bd288039
2,810
cpp
C++
playground/ExampleApps/ExampleAppSimpleOverlay.cpp
pthom/imgui_manual
7857f8e58c7374772c0f25f353afbb5f6e753ff2
[ "MIT" ]
146
2020-07-04T05:58:05.000Z
2022-03-24T00:00:23.000Z
playground/ExampleApps/ExampleAppSimpleOverlay.cpp
pthom/imgui_manual
7857f8e58c7374772c0f25f353afbb5f6e753ff2
[ "MIT" ]
7
2020-07-03T20:17:04.000Z
2022-03-19T13:56:14.000Z
playground/ExampleApps/ExampleAppSimpleOverlay.cpp
pthom/imgui_manual
7857f8e58c7374772c0f25f353afbb5f6e753ff2
[ "MIT" ]
10
2020-07-06T09:26:47.000Z
2022-02-18T20:10:49.000Z
#include "Common_ExampleApp.h" // The code below was copy-pasted verbatim from imgui_demo.cpp // Do not edit!!! //----------------------------------------------------------------------------- // [SECTION] Example App: Simple overlay / ShowExampleAppSimpleOverlay() //----------------------------------------------------...
46.065574
229
0.602135
pthom
1d25d0e43330f662c626ff764f1988dd531debb1
3,194
cpp
C++
src/third_party/angle/src/tests/egl_tests/EGLAndroidFrameBufferTargetTest.cpp
rhencke/engine
1016db292c4e73374a0a11536b18303c9522a224
[ "BSD-3-Clause" ]
6
2021-07-05T16:09:39.000Z
2022-03-06T22:44:42.000Z
src/third_party/angle/src/tests/egl_tests/EGLAndroidFrameBufferTargetTest.cpp
rhencke/engine
1016db292c4e73374a0a11536b18303c9522a224
[ "BSD-3-Clause" ]
7
2022-03-15T13:25:39.000Z
2022-03-15T13:25:44.000Z
src/third_party/angle/src/tests/egl_tests/EGLAndroidFrameBufferTargetTest.cpp
rhencke/engine
1016db292c4e73374a0a11536b18303c9522a224
[ "BSD-3-Clause" ]
null
null
null
// // Copyright 2019 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // EGLAndroidFrameBufferTargetTest.cpp: // This test verifies the extension EGL_ANDROID_framebuffer_target // 1. When the EGLFRAME_BUFFER_TARG...
35.098901
100
0.69975
rhencke
1d26539f6ed1354a4349a32e2902c9036b32081e
1,021
hpp
C++
src/cpp/ee/ad_mob/AdMobNativeAdLayout.hpp
enrevol/ee-x
60a66ad3dc6e14802a7c5d8d585a8499be13f5b8
[ "MIT" ]
null
null
null
src/cpp/ee/ad_mob/AdMobNativeAdLayout.hpp
enrevol/ee-x
60a66ad3dc6e14802a7c5d8d585a8499be13f5b8
[ "MIT" ]
null
null
null
src/cpp/ee/ad_mob/AdMobNativeAdLayout.hpp
enrevol/ee-x
60a66ad3dc6e14802a7c5d8d585a8499be13f5b8
[ "MIT" ]
null
null
null
// // AdMobNativeAdBuilder.hpp // ee_x // // Created by Zinge on 10/16/17. // // #ifndef EE_X_ADMOB_NATIVE_AD_LAYOUT_HPP #define EE_X_ADMOB_NATIVE_AD_LAYOUT_HPP #ifdef __cplusplus #include <string> #include <unordered_map> #include "ee/ad_mob/AdMobFwd.hpp" namespace ee { namespace ad_mob { class NativeAdLayout ...
20.42
57
0.697356
enrevol
1d2990c78d18728be266a655616234fdc333c4b5
10,233
cpp
C++
src/headless/image/jpeg_codec.cpp
primatelabs/litehtml
f103057ddb1d81411d75eea9ca4f5bf007ecc9e4
[ "BSD-3-Clause" ]
null
null
null
src/headless/image/jpeg_codec.cpp
primatelabs/litehtml
f103057ddb1d81411d75eea9ca4f5bf007ecc9e4
[ "BSD-3-Clause" ]
null
null
null
src/headless/image/jpeg_codec.cpp
primatelabs/litehtml
f103057ddb1d81411d75eea9ca4f5bf007ecc9e4
[ "BSD-3-Clause" ]
null
null
null
// Copyright (C) 2020-2021 Primate Labs Inc. // 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 o...
30.915408
134
0.712792
primatelabs
1d2ad9a8b2c8b8d69a051d12971d181f678bf912
16,284
cc
C++
src/4txn/txn_local.cc
cflaviu/upscaledb
2d9aec05fd5c32e12115eed37695c828faac5472
[ "Apache-2.0" ]
350
2015-11-05T00:49:19.000Z
2022-03-23T16:27:36.000Z
src/4txn/txn_local.cc
veloman-yunkan/upscaledb
80d01b843719d5ca4c6fdfcf474fa0d66cf877e6
[ "Apache-2.0" ]
71
2015-11-05T19:26:57.000Z
2021-08-20T14:52:21.000Z
src/4txn/txn_local.cc
veloman-yunkan/upscaledb
80d01b843719d5ca4c6fdfcf474fa0d66cf877e6
[ "Apache-2.0" ]
55
2015-11-04T15:09:16.000Z
2021-12-23T20:45:24.000Z
/* * Copyright (C) 2005-2017 Christoph Rupp (chris@crupp.de). * * 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 ...
24.635401
80
0.626873
cflaviu
1d2b2260aeade2b92ec8bf0275380440dedbff4c
12,952
cpp
C++
src/cpp/rtps/writer/StatelessWriter.cpp
nuclearsandwich/fastrtps-debian
c2919b4433b545ca7deb10d8c82cfdfb119b4960
[ "Apache-2.0" ]
3
2017-05-10T11:03:52.000Z
2021-05-27T09:38:00.000Z
src/cpp/rtps/writer/StatelessWriter.cpp
tedostrem/Fast-RTPS
f730847ff84a7980d5cb39bafa0158df73e3acbd
[ "Apache-2.0" ]
null
null
null
src/cpp/rtps/writer/StatelessWriter.cpp
tedostrem/Fast-RTPS
f730847ff84a7980d5cb39bafa0158df73e3acbd
[ "Apache-2.0" ]
null
null
null
// Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima). // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless re...
31.980247
113
0.592187
nuclearsandwich
1d2d18c955ae182cd871b346a3b9741534a546df
5,621
hpp
C++
msvc/3rdparty/ade/ade-0.1.1d/sources/ade/include/ade/typed_metadata.hpp
gajgeospatial/opencv-4.1.0
4b6cf76e12e846bc7fb5dbdce0054faca6963229
[ "BSD-3-Clause" ]
45
2018-07-17T16:38:43.000Z
2022-02-10T10:46:00.000Z
msvc/3rdparty/ade/ade-0.1.1d/sources/ade/include/ade/typed_metadata.hpp
gajgeospatial/opencv-4.1.0
4b6cf76e12e846bc7fb5dbdce0054faca6963229
[ "BSD-3-Clause" ]
11
2018-10-15T10:11:01.000Z
2021-07-30T18:53:41.000Z
msvc/3rdparty/ade/ade-0.1.1d/sources/ade/include/ade/typed_metadata.hpp
gajgeospatial/opencv-4.1.0
4b6cf76e12e846bc7fb5dbdce0054faca6963229
[ "BSD-3-Clause" ]
41
2018-07-26T01:43:35.000Z
2022-03-26T20:33:33.000Z
// Copyright (C) 2018 Intel Corporation // // // SPDX-License-Identifier: Apache-2.0 // /// @file typed_metadata.hpp #ifndef ADE_TYPED_METADATA_HPP #define ADE_TYPED_METADATA_HPP #include <array> #include <memory> #include <type_traits> #include <unordered_map> #include "ade/util/algorithm.hpp" #include "ade/util/r...
24.982222
119
0.642946
gajgeospatial
1d2d72f6e0343e754981f03119ee091631eba3cd
269
cpp
C++
shared/scene.cpp
industry-advance/nin10kit
dbf81c62c0fa2f544cfd22b1f7d008a885c2b589
[ "Apache-2.0" ]
45
2015-03-26T17:14:55.000Z
2022-03-29T20:27:32.000Z
shared/scene.cpp
industry-advance/nin10kit
dbf81c62c0fa2f544cfd22b1f7d008a885c2b589
[ "Apache-2.0" ]
35
2015-01-06T16:16:37.000Z
2021-06-19T05:03:13.000Z
shared/scene.cpp
industry-advance/nin10kit
dbf81c62c0fa2f544cfd22b1f7d008a885c2b589
[ "Apache-2.0" ]
5
2017-03-26T04:48:02.000Z
2020-07-10T22:55:49.000Z
#include "scene.hpp" void Scene::WriteData(std::ostream& file) const { for (const auto& image : images) image->WriteData(file); } void Scene::WriteExport(std::ostream& file) const { for (const auto& image : images) image->WriteExport(file); }
19.214286
49
0.650558
industry-advance
1d2f0fce6e5ff379b5038ce73c4eb0149c51bfb7
6,601
cpp
C++
tests/main.cpp
lukka/yagbe
8f66d55f455e8a13db84cd521eabb498a1165f44
[ "MIT" ]
1
2018-06-10T14:45:53.000Z
2018-06-10T14:45:53.000Z
tests/main.cpp
Kaosumaru/yagbe
13a2dea9dd50ae4b548bec3704fdc88c2a48d956
[ "MIT" ]
1
2020-02-16T02:50:36.000Z
2020-02-24T20:50:38.000Z
tests/main.cpp
lukka/yagbe
8f66d55f455e8a13db84cd521eabb498a1165f44
[ "MIT" ]
1
2020-02-16T00:36:38.000Z
2020-02-16T00:36:38.000Z
#include <iostream> #include <stdexcept> #include "vm/context.hpp" #include "vm/instructions.hpp" #include "vm/instructions_map.hpp" #ifndef _MSC_VER #define lest_FEATURE_COLOURISE 1 #endif #include "lest.hpp" using namespace std; using namespace yagbe; using namespace yagbe::instructions; using namespace yagbe::i...
18.542135
118
0.5787
lukka
1d2f2bd273e73a4c30b092cfa355c46524fe6188
22,414
cc
C++
chromeos/dbus/power_manager_client_unittest.cc
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
chromeos/dbus/power_manager_client_unittest.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
chromeos/dbus/power_manager_client_unittest.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.000Z
// Copyright 2016 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 "chromeos/dbus/power_manager_client.h" #include <map> #include <string> #include "base/bind.h" #include "base/macros.h" #include "base/memory/r...
39.322807
80
0.758455
google-ar
1d33ff8649bbd88b5afe5b268068ceec416cece4
7,936
cc
C++
examples/external/OpenMesh/include/OpenMesh/Tools/Smoother/JacobiLaplaceSmootherT.cc
zhangxaochen/Opt
7f1af802bfc84cc9ef1adb9facbe4957078f529a
[ "MIT" ]
260
2017-03-02T19:57:51.000Z
2022-01-21T03:52:03.000Z
examples/external/OpenMesh/include/OpenMesh/Tools/Smoother/JacobiLaplaceSmootherT.cc
zhangxaochen/Opt
7f1af802bfc84cc9ef1adb9facbe4957078f529a
[ "MIT" ]
102
2017-03-03T00:42:56.000Z
2022-03-30T14:15:20.000Z
examples/external/OpenMesh/include/OpenMesh/Tools/Smoother/JacobiLaplaceSmootherT.cc
zhangxaochen/Opt
7f1af802bfc84cc9ef1adb9facbe4957078f529a
[ "MIT" ]
71
2017-03-02T20:22:33.000Z
2022-01-02T03:49:04.000Z
/* ========================================================================= * * * * OpenMesh * * Copyright (c) 2001-2015, RWTH-Aachen University * * ...
39.879397
121
0.455771
zhangxaochen
1d35be5672c49d86924c7d34911e267133d8ba20
1,327
hpp
C++
src/3rd party/boost/boost/preprocessor/facilities/is_empty_or_1.hpp
OLR-xray/OLR-3.0
b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611
[ "Apache-2.0" ]
8
2016-01-25T20:18:51.000Z
2019-03-06T07:00:04.000Z
src/3rd party/boost/boost/preprocessor/facilities/is_empty_or_1.hpp
OLR-xray/OLR-3.0
b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611
[ "Apache-2.0" ]
null
null
null
src/3rd party/boost/boost/preprocessor/facilities/is_empty_or_1.hpp
OLR-xray/OLR-3.0
b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611
[ "Apache-2.0" ]
3
2016-02-14T01:20:43.000Z
2021-02-03T11:19:11.000Z
# /* ************************************************************************** # * * # * (C) Copyright Paul Mensonides 2003. Permission to copy, use, * # * modify, sell, and distribute this software is granted provided * ...
41.46875
80
0.50942
OLR-xray
1d386eab0ba517deef2b5b0fc69d05e864e12f08
4,035
cpp
C++
src_ana/bdcs_effs.cpp
serjinio/thesis_ana
633a61dee56cf2cf4dcb67997ac87338537fb578
[ "MIT" ]
null
null
null
src_ana/bdcs_effs.cpp
serjinio/thesis_ana
633a61dee56cf2cf4dcb67997ac87338537fb578
[ "MIT" ]
null
null
null
src_ana/bdcs_effs.cpp
serjinio/thesis_ana
633a61dee56cf2cf4dcb67997ac87338537fb578
[ "MIT" ]
null
null
null
#include <fstream> #include "TROOT.h" #include "cli.hpp" #include "init_ds.hpp" #include "consts.hpp" #include "csalg.hpp" #include "drawing.hpp" #include "scattyield.hpp" #include "treewalk.hpp" #include "cuts_conf.hpp" #include "rootscript.hpp" static s13::misc::CliOptions cli_opts; using ElaCuts = s13::ana::E...
23.596491
86
0.626022
serjinio
1d38f5ac604c69a83473dea8500ac50163dd1387
775
cpp
C++
leetcode/07-Bit/0067E-AddBinary/AddBinary.cpp
BinRay/Learning
36a2380a9686e6922632e6b85ddb3d1f0903b37a
[ "MIT" ]
null
null
null
leetcode/07-Bit/0067E-AddBinary/AddBinary.cpp
BinRay/Learning
36a2380a9686e6922632e6b85ddb3d1f0903b37a
[ "MIT" ]
null
null
null
leetcode/07-Bit/0067E-AddBinary/AddBinary.cpp
BinRay/Learning
36a2380a9686e6922632e6b85ddb3d1f0903b37a
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <bitset> #include <algorithm> using namespace std; // 通过“异或”和“移位”模拟加法 // 借助bitset class Solution { public: string addBinary(string a, string b) { // len必须是常量 const int len = 128; bitset<len> bs_a(a); bitset<len> bs_b(b); bitset...
20.945946
50
0.516129
BinRay
1d3afb1d0ed6c5a9815a22ff324f347d4c80f47c
772
cpp
C++
day2/day2.cpp
offonrynk/30_days_of_code
6b6e4ce05e07a3065fc9db2fff7dc62ac81a7289
[ "MIT" ]
null
null
null
day2/day2.cpp
offonrynk/30_days_of_code
6b6e4ce05e07a3065fc9db2fff7dc62ac81a7289
[ "MIT" ]
null
null
null
day2/day2.cpp
offonrynk/30_days_of_code
6b6e4ce05e07a3065fc9db2fff7dc62ac81a7289
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #include <cmath> #include <iostream> using std::cin; using std::cout; using std::endl; void solve(double meal_cost, int tip_percent, int tax_percent) { double tip_cost = meal_cost * tip_percent / 100; double tax_cost = meal_cost * tax_percent / 100; double total_cost = meal_cost + tip_...
20.864865
64
0.686528
offonrynk
1d3d2b5203ebfcf3410a21301102296d397ec443
1,014
hpp
C++
include/kip/xml/qname.hpp
kei10in/kip
23d83ffa4f40431ef8bd6983e928ae889bfc3872
[ "MIT" ]
null
null
null
include/kip/xml/qname.hpp
kei10in/kip
23d83ffa4f40431ef8bd6983e928ae889bfc3872
[ "MIT" ]
null
null
null
include/kip/xml/qname.hpp
kei10in/kip
23d83ffa4f40431ef8bd6983e928ae889bfc3872
[ "MIT" ]
null
null
null
#ifndef KIP_XML_QNAME_HPP_ #define KIP_XML_QNAME_HPP_ #include <string> #include "kip/hash-combine.hpp" namespace kip { namespace xml { struct qname { std::string name; std::string url; qname() {} qname(std::string const& name, std::string const& url) : name(name) , url(url) {} bool empty() c...
16.095238
60
0.627219
kei10in
1d3e23ead9343bebdf8cf053fe8fbe0baa32ce5b
11,725
cpp
C++
samples/threat_level/src/PlayerWeaponsSystem.cpp
fallahn/crogine
f6cf3ade1f4e5de610d52e562bf43e852344bca0
[ "FTL", "Zlib" ]
41
2017-08-29T12:14:36.000Z
2022-02-04T23:49:48.000Z
samples/threat_level/src/PlayerWeaponsSystem.cpp
fallahn/crogine
f6cf3ade1f4e5de610d52e562bf43e852344bca0
[ "FTL", "Zlib" ]
11
2017-09-02T15:32:45.000Z
2021-12-27T13:34:56.000Z
samples/threat_level/src/PlayerWeaponsSystem.cpp
fallahn/crogine
f6cf3ade1f4e5de610d52e562bf43e852344bca0
[ "FTL", "Zlib" ]
5
2020-01-25T17:51:45.000Z
2022-03-01T05:20:30.000Z
/*----------------------------------------------------------------------- Matt Marchant 2017 http://trederia.blogspot.com crogine test application - Zlib license. 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 us...
34.689349
142
0.574584
fallahn
1d42f60b9415a3a67e89a862132cbebb7635c888
1,096
cpp
C++
Dia1/G-ClockSolitaire.cpp
pauolivares/ICPCCL2018
72708a14ff5c1911ab87f7b758f131603603c808
[ "Apache-2.0" ]
null
null
null
Dia1/G-ClockSolitaire.cpp
pauolivares/ICPCCL2018
72708a14ff5c1911ab87f7b758f131603603c808
[ "Apache-2.0" ]
null
null
null
Dia1/G-ClockSolitaire.cpp
pauolivares/ICPCCL2018
72708a14ff5c1911ab87f7b758f131603603c808
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std; bool solve(vector<char> &cards,vector<int> &acum, int pos, int l){ if(l==52) return true; if(acum[pos]==4) return false; char carta = cards[4*pos + acum[pos]]; acum[pos]++; if(carta>='2' && carta<='9'){ return solve(cards,acum,carta-'1',l+1); } if(carta==...
18.896552
66
0.514599
pauolivares
1d446f6f4d917f5e087e01c85c22dbef65af8aaf
699
ipp
C++
ThirdParty/oglplus-develop/implement/oglplus/link_error.ipp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
null
null
null
ThirdParty/oglplus-develop/implement/oglplus/link_error.ipp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
null
null
null
ThirdParty/oglplus-develop/implement/oglplus/link_error.ipp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
null
null
null
/** * @file oglplus/link_error.ipp * @brief Implementation of * * @author Matus Chochlik * * Copyright 2010-2013 Matus Chochlik. Distributed under the Boost * Software License, Version 1.0. (See accompanying file * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ namespace oglplus { ...
20.558824
74
0.738197
vif
1d45394ec14a2e0211876d5487ec88b544a2cd36
1,705
cxx
C++
Modules/Logger/TestingLog/TestAlgorithm.cxx
Hurna/Hurna-Lib
61c267fc6ccf617e92560a84800f6a719cc5c6c8
[ "MIT" ]
2
2019-03-29T21:23:02.000Z
2019-04-02T19:13:32.000Z
Modules/Logger/TestingLog/TestAlgorithm.cxx
Hurna/Hurna-Lib
61c267fc6ccf617e92560a84800f6a719cc5c6c8
[ "MIT" ]
null
null
null
Modules/Logger/TestingLog/TestAlgorithm.cxx
Hurna/Hurna-Lib
61c267fc6ccf617e92560a84800f6a719cc5c6c8
[ "MIT" ]
null
null
null
/*=========================================================================================================== * * HUL - Hurna Lib * * Copyright (c) Michael Jeulin-Lagarrigue * * Licensed under the MIT License, you may not use this file except in compliance with the License. * You may obtain a copy of the Licen...
37.065217
109
0.615836
Hurna
1d48bca05e6a78d129bb3332af97ac60a438e184
86
cpp
C++
subprojects/kxview/context.cpp
kod-kristoff/kx
bc6ec4ad3720234ac6ae7e90343809a67c0fab27
[ "MIT" ]
null
null
null
subprojects/kxview/context.cpp
kod-kristoff/kx
bc6ec4ad3720234ac6ae7e90343809a67c0fab27
[ "MIT" ]
null
null
null
subprojects/kxview/context.cpp
kod-kristoff/kx
bc6ec4ad3720234ac6ae7e90343809a67c0fab27
[ "MIT" ]
null
null
null
#include "kx/view/context.hpp" namespace kx::view { Context::~Context() {} }
10.75
30
0.604651
kod-kristoff
1d492b9ab4cdad486d4dfc27fa0e9bcfc991a622
2,222
hpp
C++
src/dsp/BiquadFilter.hpp
flyingLowSounds/LRTRack
20121c1232e29a26d527134de13a0a3d3d065f52
[ "BSD-3-Clause" ]
null
null
null
src/dsp/BiquadFilter.hpp
flyingLowSounds/LRTRack
20121c1232e29a26d527134de13a0a3d3d065f52
[ "BSD-3-Clause" ]
null
null
null
src/dsp/BiquadFilter.hpp
flyingLowSounds/LRTRack
20121c1232e29a26d527134de13a0a3d3d065f52
[ "BSD-3-Clause" ]
null
null
null
/* *\ ** __ ___ ______ ** ** / / / _ \/_ __/ ** ** / /__/ , _/ / / Lindenberg ** ** /____/_/|_| /_/ R...
30.027027
78
0.382988
flyingLowSounds
1d4bdcda798508cf8f851ae57a9380c58fa916c3
1,324
cc
C++
src/Molecule_Lib/rxnfile_test.cc
IanAWatson/LillyMol-4.0-Bazel
f38f23a919c622c31280222f8a90e6ab7d871b93
[ "Apache-2.0" ]
6
2020-08-17T15:02:14.000Z
2022-01-21T19:27:56.000Z
src/Molecule_Lib/rxnfile_test.cc
IanAWatson/LillyMol-4.0-Bazel
f38f23a919c622c31280222f8a90e6ab7d871b93
[ "Apache-2.0" ]
null
null
null
src/Molecule_Lib/rxnfile_test.cc
IanAWatson/LillyMol-4.0-Bazel
f38f23a919c622c31280222f8a90e6ab7d871b93
[ "Apache-2.0" ]
null
null
null
// Tests for some of the functions in rxnfile.cc #include "rxn_file.h" #include "googlemock/include/gmock/gmock.h" #include "googletest/include/gtest/gtest.h" #include "google/protobuf/text_format.h" namespace { class TestRxnFile : public testing::Test { protected: void SetUp() override; protected: RXN...
24.981132
107
0.706949
IanAWatson
1d4caef2dc2b43daf6badc5fd9ae4982ae8d78df
1,063
cpp
C++
BashuOJ-Code/2919.cpp
magicgh/algorithm-contest-code
c21a90b11f73535c61e6363a4305b74cff24a85b
[ "MIT" ]
null
null
null
BashuOJ-Code/2919.cpp
magicgh/algorithm-contest-code
c21a90b11f73535c61e6363a4305b74cff24a85b
[ "MIT" ]
null
null
null
BashuOJ-Code/2919.cpp
magicgh/algorithm-contest-code
c21a90b11f73535c61e6363a4305b74cff24a85b
[ "MIT" ]
null
null
null
#include<cstdio> #include<cmath> #include<algorithm> #define ri register int using namespace std; const double Pi=3.1415926535; const double Max=0x7fffffff; struct marisa{int x,y,val,mul;}mao[2005]; int n;double k,sv[2005],sm[2005],f[2005]; inline int getint() { int num=0,bj=1; char c=getchar(); while(c<'0'||c>'9')b...
26.575
93
0.611477
magicgh
1d4ea267cd38a2d37d671d2ce4935bb6689c5848
196
cpp
C++
tournaments/eyeRhyme/eyeRhyme.cpp
gurfinkel/codeSignal
114817947ac6311bd53a48f0f0e17c0614bf7911
[ "MIT" ]
5
2020-02-06T09:51:22.000Z
2021-03-19T00:18:44.000Z
tournaments/eyeRhyme/eyeRhyme.cpp
gurfinkel/codeSignal
114817947ac6311bd53a48f0f0e17c0614bf7911
[ "MIT" ]
null
null
null
tournaments/eyeRhyme/eyeRhyme.cpp
gurfinkel/codeSignal
114817947ac6311bd53a48f0f0e17c0614bf7911
[ "MIT" ]
3
2019-09-27T13:06:21.000Z
2021-04-20T23:13:17.000Z
bool eyeRhyme(std::string pairOfLines) { std::regex pattern(".*(...)\\t.*(...)"); std::smatch match; std::regex_search(pairOfLines, match, pattern); return match.str(1) == match.str(2); }
28
49
0.632653
gurfinkel
1d502c84566f650a6fe8a0de58978cd3e924c014
261
cc
C++
Chapter01/1.22.cc
bhshp/Cpp-Primer-5E
dbae02971354e5d66088ab7144cb843fc06822f2
[ "MIT" ]
null
null
null
Chapter01/1.22.cc
bhshp/Cpp-Primer-5E
dbae02971354e5d66088ab7144cb843fc06822f2
[ "MIT" ]
null
null
null
Chapter01/1.22.cc
bhshp/Cpp-Primer-5E
dbae02971354e5d66088ab7144cb843fc06822f2
[ "MIT" ]
null
null
null
#include <iostream> #include "Sales_item.h" int main() { Sales_item sum; if (std::cin >> sum) { Sales_item temp; while (std::cin >> temp) { sum += temp; } std::cout << sum << std::endl; } return 0; }
17.4
38
0.475096
bhshp
1d50570bdd4f505da1ecebc6b593004fda53c85f
7,968
cpp
C++
logdevice/common/StickyCopySetManager.cpp
YangKian/LogDevice
e5c2168c11e9de867a1bcf519f95016e1c879b5c
[ "BSD-3-Clause" ]
1,831
2018-09-12T15:41:52.000Z
2022-01-05T02:38:03.000Z
logdevice/common/StickyCopySetManager.cpp
YangKian/LogDevice
e5c2168c11e9de867a1bcf519f95016e1c879b5c
[ "BSD-3-Clause" ]
183
2018-09-12T16:14:59.000Z
2021-12-07T15:49:43.000Z
logdevice/common/StickyCopySetManager.cpp
YangKian/LogDevice
e5c2168c11e9de867a1bcf519f95016e1c879b5c
[ "BSD-3-Clause" ]
228
2018-09-12T15:41:51.000Z
2022-01-05T08:12:09.000Z
/** * Copyright (c) 2017-present, Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include "logdevice/common/StickyCopySetManager.h" #include <shared_mutex> #include <...
34.344828
80
0.67997
YangKian
1d51ef4c6743a3b4b85dd73552808e70a1b04c75
8,437
cpp
C++
TAO/tests/Bug_2319_Regression/server.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
36
2015-01-10T07:27:33.000Z
2022-03-07T03:32:08.000Z
TAO/tests/Bug_2319_Regression/server.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
2
2018-08-13T07:30:51.000Z
2019-02-25T03:04:31.000Z
TAO/tests/Bug_2319_Regression/server.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
38
2015-01-08T14:12:06.000Z
2022-01-19T08:33:00.000Z
// $Id: server.cpp 84563 2009-02-23 08:13:54Z johnnyw $ #include "ace/Thread_Manager.h" #include "ace/OS_NS_stdio.h" #include "ace/OS_NS_unistd.h" #include "ace/Get_Opt.h" #include "TestS.h" #include "TestC.h" int num_calls = 10; // total calls client is going to make const int sleep_time = 1; // sleep for 1 sec o...
25.566667
79
0.521986
cflowe
1d562b46272d0fc9fb6a4bbfea79f335292e5daa
10,045
cc
C++
google_apis/gcm/engine/checkin_request_unittest.cc
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
google_apis/gcm/engine/checkin_request_unittest.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
google_apis/gcm/engine/checkin_request_unittest.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.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. #include <stdint.h> #include <string> #include "google_apis/gcm/engine/checkin_request.h" #include "google_apis/gcm/engine/gcm_request_test_base.h" #inc...
29.631268
79
0.757889
google-ar
1d57552649962a2385765a987376e50840a60437
6,617
cpp
C++
src/Math/Vector4d.cpp
bodguy/CrossPlatform
c8fb740456f8c9b0e6af495958d6b5d6c2d7946f
[ "Apache-2.0" ]
6
2018-07-20T00:59:54.000Z
2021-08-21T15:55:48.000Z
src/Math/Vector4d.cpp
bodguy/CrossPlatform
c8fb740456f8c9b0e6af495958d6b5d6c2d7946f
[ "Apache-2.0" ]
9
2018-07-17T15:03:22.000Z
2019-10-05T01:02:31.000Z
src/Math/Vector4d.cpp
bodguy/CrossPlatform
c8fb740456f8c9b0e6af495958d6b5d6c2d7946f
[ "Apache-2.0" ]
1
2019-10-27T01:54:38.000Z
2019-10-27T01:54:38.000Z
// Copyright (C) 2017 by bodguy // This code is licensed under Apache 2.0 license (see LICENSE.md for details) #include "Vector4d.h" #include <algorithm> // until c++11 for std::swap #include <cmath> #include <utility> // since c++11 for std::swap #include "Math.h" #include "Vector2d.h" #include "Vector3d.h" name...
27.686192
183
0.598156
bodguy
1d58a0e2d444eca04f97fa660467b8921a3386aa
13,606
cpp
C++
android-31/android/provider/DocumentsProvider.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/provider/DocumentsProvider.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/android/provider/DocumentsProvider.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../JArray.hpp" #include "../content/ContentValues.hpp" #include "../content/Context.hpp" #include "../content/IntentSender.hpp" #include "../content/pm/ProviderInfo.hpp" #include "../content/res/AssetFileDescriptor.hpp" #include "../graphics/Point.hpp" #include "../net/Uri.hpp" #include "../os/Bundle.hpp" ...
31.422633
189
0.721961
YJBeetle
1d5d9cede9f7f9bf6df2da82d35587b759010128
836
cpp
C++
Array/stock.cpp
RYzen-009/DSA
0f7f9d2c7f7452667329f7a43b3eb4110d5c174c
[ "MIT" ]
null
null
null
Array/stock.cpp
RYzen-009/DSA
0f7f9d2c7f7452667329f7a43b3eb4110d5c174c
[ "MIT" ]
null
null
null
Array/stock.cpp
RYzen-009/DSA
0f7f9d2c7f7452667329f7a43b3eb4110d5c174c
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; //This is a O(N*N) Solution int stock(int price[],int start , int end) { if(start >= end) return 0; int profit=0,curr_profit=0; for(int i=start;i<=end;i++) { for(int j=i+1;j<=end;j++) { if(price[j]>price[i]) { curr_pro...
18.173913
92
0.511962
RYzen-009
1d5e5894b13b332ef7c8190174dcd6ed61f24b5a
8,694
cpp
C++
SimCenterUQInputSurrogate.cpp
bhajay/quoFEM
23e57fd85d28468379906eed59aaa54b77604a0c
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
SimCenterUQInputSurrogate.cpp
bhajay/quoFEM
23e57fd85d28468379906eed59aaa54b77604a0c
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
SimCenterUQInputSurrogate.cpp
bhajay/quoFEM
23e57fd85d28468379906eed59aaa54b77604a0c
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
/* ***************************************************************************** Copyright (c) 2016-2017, The Regents of the University of California (Regents). All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions ar...
29.773973
151
0.714286
bhajay
1d5f5217cdb36694f29d57aca3ea8659f6edb5c7
6,620
cpp
C++
src/daat.cpp
elshize/irkit_top-k_query_processing
210a357e4763ab51deda23669629b3395636f2ca
[ "MIT" ]
null
null
null
src/daat.cpp
elshize/irkit_top-k_query_processing
210a357e4763ab51deda23669629b3395636f2ca
[ "MIT" ]
null
null
null
src/daat.cpp
elshize/irkit_top-k_query_processing
210a357e4763ab51deda23669629b3395636f2ca
[ "MIT" ]
1
2020-10-28T07:22:35.000Z
2020-10-28T07:22:35.000Z
#include <iostream> #include <chrono> #include <string> #include <sstream> #include <irkit/coding/stream_vbyte.hpp> #include <irkit/index.hpp> #include <irkit/io.hpp> #include <irkit/memoryview.hpp> #include <irkit/index/source.hpp> #include <irkit/index/types.hpp> #include <irkit/index/posting_list.hpp> // #define pr...
35.026455
84
0.513746
elshize
1d612ac6828828b43ba4d4d62f797163f66801c6
20,916
cpp
C++
tools/indextool.cpp
Arnaud-de-Grandmaison-ARM/tarmac-trace-utilities
5428f72485531be0c4482768b4923640e7ada397
[ "Apache-2.0" ]
1
2021-07-03T23:54:51.000Z
2021-07-03T23:54:51.000Z
tools/indextool.cpp
Arnaud-de-Grandmaison-ARM/tarmac-trace-utilities
5428f72485531be0c4482768b4923640e7ada397
[ "Apache-2.0" ]
null
null
null
tools/indextool.cpp
Arnaud-de-Grandmaison-ARM/tarmac-trace-utilities
5428f72485531be0c4482768b4923640e7ada397
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2016-2021 Arm Limited. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
32.129032
80
0.525961
Arnaud-de-Grandmaison-ARM
1d649dac6a42226fa94ae240b8186b2955d1311a
313
cpp
C++
srcgen/readme_gen.t.cpp
oleg-rabaev/cppa2z
f6ca795f5817901b075bf5b7fb43bd0f5b85f702
[ "BSL-1.0" ]
62
2016-10-05T11:31:50.000Z
2021-09-07T06:20:40.000Z
srcgen/readme_gen.t.cpp
oleg-rabaev/cppa2z
f6ca795f5817901b075bf5b7fb43bd0f5b85f702
[ "BSL-1.0" ]
29
2021-02-14T20:12:46.000Z
2021-05-09T17:56:27.000Z
srcgen/readme_gen.t.cpp
oleg-rabaev/cppa2z
f6ca795f5817901b075bf5b7fb43bd0f5b85f702
[ "BSL-1.0" ]
1
2021-01-31T13:40:39.000Z
2021-01-31T13:40:39.000Z
#include <catch.hpp> #include <readme_gen.h> #include <iostream> #include <fstream> using namespace std; namespace srcgen { TEST_CASE( "readme_gen.generate" ) { ofstream fout("README.md"); auto& out = fout; //auto& out = cout; readme_gen gen(out); gen.generate(); } } // namespace srcgen
15.65
36
0.654952
oleg-rabaev
1d68103ce4511c1b958913c200f8ae26f60f6791
2,212
cpp
C++
raygame/Grain.cpp
DynashEtvala/SandGame
16b286533c2f8f6a20ebead2475e2c70d7d7cd56
[ "MIT" ]
null
null
null
raygame/Grain.cpp
DynashEtvala/SandGame
16b286533c2f8f6a20ebead2475e2c70d7d7cd56
[ "MIT" ]
null
null
null
raygame/Grain.cpp
DynashEtvala/SandGame
16b286533c2f8f6a20ebead2475e2c70d7d7cd56
[ "MIT" ]
null
null
null
#include "Grain.h" #include "MatManager.h" Grain::Grain(int X, int Y) : GMaterial(X, Y) { grain = true; density = 9; } Grain::~Grain() {} void Grain::Update(GMaterial*** matList, int bottom, int side, MatManager& m) { if (CanUpdate()) { if (posY == bottom - 1) { m.PrepChange(posX, posY, AIR); } else...
36.866667
382
0.588156
DynashEtvala
1d69613537efd25d9bc893cf161343529d7c5984
5,409
cpp
C++
test/entity_system/aggregation_test.cpp
sheiny/ophidian
037ae44357e0093d60b379513615b467c1f841cf
[ "Apache-2.0" ]
40
2016-04-22T14:42:42.000Z
2021-05-25T23:14:23.000Z
test/entity_system/aggregation_test.cpp
sheiny/ophidian
037ae44357e0093d60b379513615b467c1f841cf
[ "Apache-2.0" ]
64
2016-04-28T21:10:47.000Z
2017-11-07T11:33:17.000Z
test/entity_system/aggregation_test.cpp
eclufsc/openeda
037ae44357e0093d60b379513615b467c1f841cf
[ "Apache-2.0" ]
25
2016-04-18T19:31:48.000Z
2021-05-05T15:50:41.000Z
#include <catch.hpp> #include <ophidian/entity_system/Aggregation.h> using namespace ophidian::entity_system; class EntityA : public EntityBase { public: using EntityBase::EntityBase; }; class EntityB : public EntityBase { public: using EntityBase::EntityBase; }; TEST_CASE("Aggregation: no ...
30.908571
126
0.66944
sheiny
1d6a07e49752b88b77db346cfba7d1581b49a24c
7,486
cpp
C++
redis-cpp-test/writer_test.cpp
summerlight/redis-cpp
6b3b044e4c9e91a97b871379027d28f2d1a61769
[ "MIT" ]
null
null
null
redis-cpp-test/writer_test.cpp
summerlight/redis-cpp
6b3b044e4c9e91a97b871379027d28f2d1a61769
[ "MIT" ]
null
null
null
redis-cpp-test/writer_test.cpp
summerlight/redis-cpp
6b3b044e4c9e91a97b871379027d28f2d1a61769
[ "MIT" ]
null
null
null
#include "redis_test.h" #include "writer_type_traits.h" #include <vector> #include <list> #include <string> #include <iterator> #include <utility> #include <cassert> #include <cstdio> #include <cinttypes> #include <catch.hpp> namespace redis_test { using std::begin; using std::end; // element count function test TE...
29.128405
151
0.5716
summerlight
1d6ae8ad2074a9081568cf84ed3510effc7914a0
4,759
cpp
C++
qtmultimedia/src/multimedia/controls/qmediagaplessplaybackcontrol.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
1
2020-04-30T15:47:35.000Z
2020-04-30T15:47:35.000Z
qtmultimedia/src/multimedia/controls/qmediagaplessplaybackcontrol.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
qtmultimedia/src/multimedia/controls/qmediagaplessplaybackcontrol.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may ...
31.516556
104
0.731246
wgnet
1d6d9c273d5f7d9846b20218c85c3fc9f4fc1cda
116
cc
C++
code/cmake_gtest/hello_test.cc
iusyu/c_practic
7428b8d37df09cb27bc9d66d1e34c81a973b6119
[ "MIT" ]
null
null
null
code/cmake_gtest/hello_test.cc
iusyu/c_practic
7428b8d37df09cb27bc9d66d1e34c81a973b6119
[ "MIT" ]
null
null
null
code/cmake_gtest/hello_test.cc
iusyu/c_practic
7428b8d37df09cb27bc9d66d1e34c81a973b6119
[ "MIT" ]
null
null
null
#include<gtest/gtest.h> TEST(HelloTest, BaseAssertions) { EXPECT_STRNE("Hello", "World"); EXPECT_EQ(4*7, 28); }
14.5
33
0.689655
iusyu
1d6f00d0db2a9d242e151aace57d04d195111936
855
cxx
C++
Plugins/Mipf_Plugin_ModelExporter/Mipf_Plugin_ModelExporterActivator.cxx
linson7017/MIPF
adf982ae5de69fca9d6599fbbbd4ca30f4ae9767
[ "ECL-2.0", "Apache-2.0" ]
4
2017-04-13T06:01:49.000Z
2019-12-04T07:23:53.000Z
Plugins/Mipf_Plugin_ModelExporter/Mipf_Plugin_ModelExporterActivator.cxx
linson7017/MIPF
adf982ae5de69fca9d6599fbbbd4ca30f4ae9767
[ "ECL-2.0", "Apache-2.0" ]
1
2017-10-27T02:00:44.000Z
2017-10-27T02:00:44.000Z
Plugins/Mipf_Plugin_ModelExporter/Mipf_Plugin_ModelExporterActivator.cxx
linson7017/MIPF
adf982ae5de69fca9d6599fbbbd4ca30f4ae9767
[ "ECL-2.0", "Apache-2.0" ]
2
2017-09-06T01:59:07.000Z
2019-12-04T07:23:54.000Z
#include "Mipf_Plugin_ModelExporterActivator.h" #include "ModelExporterView.h" #include "Utils/PluginFactory.h" QF_API QF::IQF_Activator* QF::QF_CreatePluginActivator(QF::IQF_Main* pMain) { QF::IQF_Activator* pActivator = new Mipf_Plugin_ModelExporter_Activator(pMain); //assert(pActivator); return pActiv...
26.71875
114
0.803509
linson7017
1d6fce8cf7939bb40cdcd85982d240f6be366064
32,156
cxx
C++
panda/src/pgraph/lightAttrib.cxx
cmarshall108/panda3d-python3
8bea2c0c120b03ec1c9fd179701fdeb7510bb97b
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
panda/src/pgraph/lightAttrib.cxx
cmarshall108/panda3d-python3
8bea2c0c120b03ec1c9fd179701fdeb7510bb97b
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
panda/src/pgraph/lightAttrib.cxx
cmarshall108/panda3d-python3
8bea2c0c120b03ec1c9fd179701fdeb7510bb97b
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
/** * PANDA 3D SOFTWARE * Copyright (c) Carnegie Mellon University. All rights reserved. * * All use of this software is subject to the terms of the revised BSD * license. You should have received a copy of this license along * with this source code in a file named "LICENSE." * * @file lightAttrib.cxx * @aut...
28.634016
87
0.655119
cmarshall108
1d700e704746fe72855cd291bcb6c139df468253
15,418
cpp
C++
src/BossBallos.cpp
haya3218/cse2-tweaks
48bccbd58240942ed5f5b288a90ef092820698c0
[ "MIT" ]
null
null
null
src/BossBallos.cpp
haya3218/cse2-tweaks
48bccbd58240942ed5f5b288a90ef092820698c0
[ "MIT" ]
null
null
null
src/BossBallos.cpp
haya3218/cse2-tweaks
48bccbd58240942ed5f5b288a90ef092820698c0
[ "MIT" ]
null
null
null
// THIS IS DECOMPILED PROPRIETARY CODE - USE AT YOUR OWN RISK. // // The original code belongs to Daisuke "Pixel" Amaya. // // Modifications and custom code are under the MIT licence. // See LICENCE.txt for details. #include "BossBallos.h" #include <stddef.h> #include "WindowsWrapper.h" #include "Boss.h" #include "...
19.248439
116
0.530354
haya3218
1d75d52fa51962008828179d04899833ebe4f7d2
13,646
cpp
C++
nlsCppSdk/jni/jniSpeechRecognizer.cpp
kaimingguo/alibabacloud-nls-cpp-sdk
e624eefd2f87c56e4340c35a834ebd14b96bb19c
[ "Apache-2.0" ]
26
2019-06-02T15:22:01.000Z
2022-03-11T06:54:23.000Z
nlsCppSdk/jni/jniSpeechRecognizer.cpp
kaimingguo/alibabacloud-nls-cpp-sdk
e624eefd2f87c56e4340c35a834ebd14b96bb19c
[ "Apache-2.0" ]
8
2019-06-02T15:47:11.000Z
2022-01-19T06:51:55.000Z
nlsCppSdk/jni/jniSpeechRecognizer.cpp
kaimingguo/alibabacloud-nls-cpp-sdk
e624eefd2f87c56e4340c35a834ebd14b96bb19c
[ "Apache-2.0" ]
18
2019-06-02T13:00:17.000Z
2022-01-21T13:12:29.000Z
#include <jni.h> #include <string> #include <cstdlib> #include <vector> #include "nlsClient.h" #include "nlsEvent.h" #include "sr/speechRecognizerRequest.h" #include "log.h" #include "NlsRequestWarpper.h" #include "native-lib.h" using namespace AlibabaNls; using namespace AlibabaNls::utility; extern "C" { JNIEXPORT jl...
40.135294
153
0.785798
kaimingguo
1d75f9f0228674e6a665780321daf37f8f4b8afd
1,983
cpp
C++
reverse_pair_leetcode.cpp
shivamkrs89/Sorting_problems
4451103f52545df752b567fcbb575eb7e29947a6
[ "MIT" ]
1
2021-05-27T14:56:48.000Z
2021-05-27T14:56:48.000Z
reverse_pair_leetcode.cpp
shivamkrs89/Sorting_problems
4451103f52545df752b567fcbb575eb7e29947a6
[ "MIT" ]
null
null
null
reverse_pair_leetcode.cpp
shivamkrs89/Sorting_problems
4451103f52545df752b567fcbb575eb7e29947a6
[ "MIT" ]
null
null
null
Given an integer array nums, return the number of reverse pairs in the array. A reverse pair is a pair (i, j) where 0 <= i < j < nums.length and nums[i] > 2 * nums[j]. Example 1: Input: nums = [1,3,2,3,1] Output: 2 Example 2: Input: nums = [2,4,3,5,1] Output: 3 Constraints: 1 <= nums.length <= 5 * 104 ...
18.192661
89
0.413011
shivamkrs89
1d76ce7ac832293400bad337f5761086931d2f35
736
cpp
C++
Recursion/ReverseAstackusingRecursion.cpp
saurav-prakash/CB_DS_ALGO
3f3133b31dbbda7d5229cd6c72c378ed08e35e6f
[ "MIT" ]
null
null
null
Recursion/ReverseAstackusingRecursion.cpp
saurav-prakash/CB_DS_ALGO
3f3133b31dbbda7d5229cd6c72c378ed08e35e6f
[ "MIT" ]
null
null
null
Recursion/ReverseAstackusingRecursion.cpp
saurav-prakash/CB_DS_ALGO
3f3133b31dbbda7d5229cd6c72c378ed08e35e6f
[ "MIT" ]
2
2018-10-28T13:31:41.000Z
2018-10-31T02:37:42.000Z
https://www.quora.com/How-can-we-reverse-a-stack-by-using-only-push-and-pop-operations-without-using-any-secondary-DS #include<iostream> #include<stack> using namespace std; stack<int> s; int BottomInsert(int x){ if(s.size()==0) s.push(x); else{ int a = s.top(); s.pop(); BottomInsert(x...
18.4
117
0.480978
saurav-prakash
1d798bfcd952ec393825f1afa2423c455c5143bf
5,533
hh
C++
dune/xt/grid/functors/interfaces.hh
dune-community/dune-xt
da921524c6fff8d60c715cb4849a0bdd5f020d2b
[ "BSD-2-Clause" ]
2
2020-02-08T04:08:52.000Z
2020-08-01T18:54:14.000Z
dune/xt/grid/functors/interfaces.hh
dune-community/dune-xt
da921524c6fff8d60c715cb4849a0bdd5f020d2b
[ "BSD-2-Clause" ]
35
2019-08-19T12:06:35.000Z
2020-03-27T08:20:39.000Z
dune/xt/grid/functors/interfaces.hh
dune-community/dune-xt
da921524c6fff8d60c715cb4849a0bdd5f020d2b
[ "BSD-2-Clause" ]
1
2020-02-08T04:09:34.000Z
2020-02-08T04:09:34.000Z
// This file is part of the dune-xt project: // https://zivgitlab.uni-muenster.de/ag-ohlberger/dune-community/dune-xt // Copyright 2009-2021 dune-xt developers and contributors. All rights reserved. // License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // or GPL-2.0+ (h...
31.259887
119
0.711007
dune-community
1d7b92d30ae02e61f242523442784963f4e61ca4
2,999
cpp
C++
src/net/ip4/icmpv4.cpp
pidEins/IncludeOS
b92339164a2ba61f03ca9a940b1e9a0907c08bea
[ "Apache-2.0" ]
2
2017-04-28T17:29:25.000Z
2017-05-03T07:36:22.000Z
src/net/ip4/icmpv4.cpp
lefticus/IncludeOS
b92339164a2ba61f03ca9a940b1e9a0907c08bea
[ "Apache-2.0" ]
null
null
null
src/net/ip4/icmpv4.cpp
lefticus/IncludeOS
b92339164a2ba61f03ca9a940b1e9a0907c08bea
[ "Apache-2.0" ]
2
2017-05-01T18:16:28.000Z
2019-11-15T19:48:01.000Z
// This file is a part of the IncludeOS unikernel - www.includeos.org // // Copyright 2015 Oslo and Akershus University College of Applied Sciences // and Alfred Bratterud // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may...
32.247312
93
0.683228
pidEins
1d7c8b9bbaa1f388cd7f2a92ad602a41af2f28ea
1,825
cpp
C++
UVA/vol-114/11487.cpp
arash16/prays
0fe6bb2fa008b8fc46c80b01729f68308114020d
[ "MIT" ]
3
2017-05-12T14:45:37.000Z
2020-01-18T16:51:25.000Z
UVA/vol-114/11487.cpp
arash16/prays
0fe6bb2fa008b8fc46c80b01729f68308114020d
[ "MIT" ]
null
null
null
UVA/vol-114/11487.cpp
arash16/prays
0fe6bb2fa008b8fc46c80b01729f68308114020d
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; struct State { int i, j, d; State(int i, int j, int d):i(i),j(j),d(d){} }; #define MODUL 20437 char M[17][17]; int Pi[26], Pj[26], C[11][11], n, di[] = {1,-1,0,0}, dj[] = {0,0,1,-1}; int bfs(int sid, int &c) { memset(C, 0, sizeof(C)); char sch = '...
23.397436
77
0.339178
arash16
1d7f74ad7e40faa7a119dd70081c07dfd0ec00d4
11,275
cpp
C++
contrib/groff/src/utils/addftinfo/guess.cpp
ivadasz/DragonFlyBSD
460227f342554313be3c7728ff679dd4a556cce9
[ "BSD-3-Clause" ]
3
2017-03-06T14:12:57.000Z
2019-11-23T09:35:10.000Z
contrib/groff/src/utils/addftinfo/guess.cpp
jorisgio/DragonFlyBSD
d37cc9027d161f3e36bf2667d32f41f87606b2ac
[ "BSD-3-Clause" ]
null
null
null
contrib/groff/src/utils/addftinfo/guess.cpp
jorisgio/DragonFlyBSD
d37cc9027d161f3e36bf2667d32f41f87606b2ac
[ "BSD-3-Clause" ]
null
null
null
// -*- C++ -*- /* Copyright (C) 1989, 1990, 1991, 1992, 2009 Free Software Foundation, Inc. Written by James Clark (jjc@jclark.com) This file is part of groff. groff 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...
22.96334
72
0.478847
ivadasz
1d7f7d015cd3ec939392650f78f504b0c234e3de
9,302
cpp
C++
wxMsOptionsDialog/wxMsOptionsDialog.cpp
tester0077/wxMS
da7b8aaefa7107f51b7ecab05c07c109d09f933f
[ "Zlib", "MIT" ]
null
null
null
wxMsOptionsDialog/wxMsOptionsDialog.cpp
tester0077/wxMS
da7b8aaefa7107f51b7ecab05c07c109d09f933f
[ "Zlib", "MIT" ]
null
null
null
wxMsOptionsDialog/wxMsOptionsDialog.cpp
tester0077/wxMS
da7b8aaefa7107f51b7ecab05c07c109d09f933f
[ "Zlib", "MIT" ]
null
null
null
/*----------------------------------------------------------------- * Name: wxMsOptionsDialog.cpp * Purpose: * Author: A. Wiegert * * Copyright: * Licence: wxWidgets license *---------------------------------------------------------------- */ /*---------------------------------------------------...
34.579926
85
0.659966
tester0077
1d7faf120dc4e5c475204d06d6392bd6ce62deb2
10,590
cc
C++
src/compiler/objective_c_generator.cc
duanwujie/grpc-hacking
4275e60eb686ceb202c042fe578c9cf992e590d0
[ "BSD-3-Clause" ]
9
2017-01-18T02:28:31.000Z
2021-04-12T13:59:18.000Z
src/compiler/objective_c_generator.cc
duanwujie/grpc-hacking
4275e60eb686ceb202c042fe578c9cf992e590d0
[ "BSD-3-Clause" ]
null
null
null
src/compiler/objective_c_generator.cc
duanwujie/grpc-hacking
4275e60eb686ceb202c042fe578c9cf992e590d0
[ "BSD-3-Clause" ]
3
2017-06-15T14:03:56.000Z
2019-12-17T05:46:48.000Z
/* * * Copyright 2015, Google Inc. * 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 condi...
37.157895
80
0.660529
duanwujie
1d83f15f2aa24f6eb63ee0484c3f2848236484a5
5,505
cxx
C++
3rd/fltk/src/list_fonts.cxx
MarioHenze/cgv
bacb2d270b1eecbea1e933b8caad8d7e11d807c2
[ "BSD-3-Clause" ]
11
2017-09-30T12:21:55.000Z
2021-04-29T21:31:57.000Z
3rd/fltk/src/list_fonts.cxx
MarioHenze/cgv
bacb2d270b1eecbea1e933b8caad8d7e11d807c2
[ "BSD-3-Clause" ]
2
2017-07-11T11:20:08.000Z
2018-03-27T12:09:02.000Z
3rd/fltk/src/list_fonts.cxx
MarioHenze/cgv
bacb2d270b1eecbea1e933b8caad8d7e11d807c2
[ "BSD-3-Clause" ]
24
2018-03-27T11:46:16.000Z
2021-05-01T20:28:34.000Z
// // "$Id: list_fonts.cxx 5556 2006-12-13 00:55:45Z spitzak $" // // Copyright 1998-2006 by Bill Spitzak and others. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public // License as published by the Free Software Foundation; either // vers...
35.980392
79
0.695186
MarioHenze
1d84b662da08c3b1d258fc98fda3dfe608edc490
10,450
cc
C++
B2G/ndk/sources/host-tools/ndk-stack/elff/dwarf_utils.cc
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-08-31T15:24:31.000Z
2020-04-24T20:31:29.000Z
B2G/ndk/sources/host-tools/ndk-stack/elff/dwarf_utils.cc
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
null
null
null
B2G/ndk/sources/host-tools/ndk-stack/elff/dwarf_utils.cc
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-07-29T07:17:15.000Z
2020-11-04T06:55:37.000Z
/* Copyright (C) 2007-2010 The Android Open Source Project ** ** This software is licensed under the terms of the GNU General Public ** License version 2, as published by the Free Software Foundation, and ** may be copied, distributed, and modified under those terms. ** ** This program is distributed in the hope that i...
33.280255
78
0.712632
wilebeast
1d8704d46a68fa52d829c7de741f6033433ca6a2
29,017
cxx
C++
Plugins/PrismPlugins/vtkPrismFilter.cxx
cjh1/ParaView
b0eba067c87078d5fe56ec3cb21447f149e1f31a
[ "BSD-3-Clause" ]
null
null
null
Plugins/PrismPlugins/vtkPrismFilter.cxx
cjh1/ParaView
b0eba067c87078d5fe56ec3cb21447f149e1f31a
[ "BSD-3-Clause" ]
null
null
null
Plugins/PrismPlugins/vtkPrismFilter.cxx
cjh1/ParaView
b0eba067c87078d5fe56ec3cb21447f149e1f31a
[ "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: Visualization Toolkit Module: vtkPrismFilter.cxx =========================================================================*/ #include "vtkPrismFilter.h" #include "vtkPrismPrivate.h" #include "vtkDoubleArray.h" #include "vtkFlo...
29.339737
101
0.524313
cjh1
1d8848ae58ddd94865c7ba6003358f0278906b9b
657
cc
C++
chrome/browser/ui/views/frame/immersive_mode_controller_factory_ash.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2019-11-28T10:46:52.000Z
2019-11-28T10:46:52.000Z
chrome/browser/ui/views/frame/immersive_mode_controller_factory_ash.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/ui/views/frame/immersive_mode_controller_factory_ash.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2015-03-27T11:15:39.000Z
2016-08-17T14:19:56.000Z
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/host_desktop.h" #include "chrome/browser/ui/views/frame/immersive_mode_controller_ash.h" #include "chrome/browser/ui/views/fra...
32.85
73
0.794521
kjthegod
1d8a781b17462e186cc72bd38c078f3fecca5161
2,085
cpp
C++
source/ashes/renderer/D3D11Renderer/Command/Commands/D3D11CopyImageCommand.cpp
DragonJoker/Ashes
a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e
[ "MIT" ]
227
2018-09-17T16:03:35.000Z
2022-03-19T02:02:45.000Z
source/ashes/renderer/D3D11Renderer/Command/Commands/D3D11CopyImageCommand.cpp
DragonJoker/RendererLib
0f8ad8edec1b0929ebd10247d3dd0a9ee8f8c91a
[ "MIT" ]
39
2018-02-06T22:22:24.000Z
2018-08-29T07:11:06.000Z
source/ashes/renderer/D3D11Renderer/Command/Commands/D3D11CopyImageCommand.cpp
DragonJoker/Ashes
a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e
[ "MIT" ]
8
2019-05-04T10:33:32.000Z
2021-04-05T13:19:27.000Z
/* This file belongs to Ashes. See LICENSE file in root folder. */ #include "Command/Commands/D3D11CopyImageCommand.hpp" #include "Image/D3D11Image.hpp" #include "Image/D3D11ImageView.hpp" #include "ashesd3d11_api.hpp" namespace ashes::d3d11 { namespace { D3D11_BOX doGetSrcBox( VkImageCopy const & copyInfo ) {...
25.426829
89
0.686331
DragonJoker
1d91e4e76e434ac4473d937835788a3d1703d8f2
1,378
cpp
C++
038.cpp
LeeYiyuan/projecteuler
81a0b65f73b47fbb9bfe99cb5ff72da7e0ba0d74
[ "MIT" ]
null
null
null
038.cpp
LeeYiyuan/projecteuler
81a0b65f73b47fbb9bfe99cb5ff72da7e0ba0d74
[ "MIT" ]
null
null
null
038.cpp
LeeYiyuan/projecteuler
81a0b65f73b47fbb9bfe99cb5ff72da7e0ba0d74
[ "MIT" ]
null
null
null
/* We are considering the concatenated product of an integer a with (1, 2, ..., n) with n > 1, i.e. n >= 2. If a >= 10000, then 2a >= 20000. As such, the concatenated product will have at least 10 digits. By the pigeonhole principle, one of the digit will occur at least twice, making it non pandigit...
32.809524
105
0.618287
LeeYiyuan
1d95ef6eb38128f0002cf42c70e45e230ba12aab
21,527
cc
C++
examples/uintTest/ffmpeg/ffmpeg_enc_mux_test.cc
rockchip-linux/rkmedia
992663e9069e8426f5a71f4045666786b3bd4bcf
[ "BSD-3-Clause" ]
23
2020-02-29T10:47:22.000Z
2022-01-20T01:52:21.000Z
examples/uintTest/ffmpeg/ffmpeg_enc_mux_test.cc
rockchip-linux/rkmedia
992663e9069e8426f5a71f4045666786b3bd4bcf
[ "BSD-3-Clause" ]
13
2020-05-12T15:11:04.000Z
2021-12-02T05:48:39.000Z
examples/uintTest/ffmpeg/ffmpeg_enc_mux_test.cc
rockchip-linux/rkmedia
992663e9069e8426f5a71f4045666786b3bd4bcf
[ "BSD-3-Clause" ]
19
2020-01-12T04:07:33.000Z
2022-02-18T08:43:19.000Z
// Copyright 2019 Fuzhou Rockchip Electronics Co., Ltd. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifdef NDEBUG #undef NDEBUG #endif #ifndef DEBUG #define DEBUG #endif #include <assert.h> #include <fcntl.h> #include <stdio.h> #include ...
32.966309
101
0.638036
rockchip-linux
1d97027888e95e1cae4c4c88fa25316c0b7771cf
879
cpp
C++
src/as3/as3_object.cpp
sweetkristas/swiftly
0b5c2badc88637b8bdaa841a45d1babd8f12a703
[ "BSL-1.0", "Zlib", "BSD-3-Clause" ]
null
null
null
src/as3/as3_object.cpp
sweetkristas/swiftly
0b5c2badc88637b8bdaa841a45d1babd8f12a703
[ "BSL-1.0", "Zlib", "BSD-3-Clause" ]
null
null
null
src/as3/as3_object.cpp
sweetkristas/swiftly
0b5c2badc88637b8bdaa841a45d1babd8f12a703
[ "BSL-1.0", "Zlib", "BSD-3-Clause" ]
null
null
null
#include "../asserts.hpp" #include "as3_object.hpp" #include "as3_value.hpp" #include "../swf_player.hpp" namespace avm2 { as3_object::as3_object(swf::player_ptr player) : player_(player) { } double as3_object::to_number() { const char* str = to_string(); if(str) { return atof(str); } return 0; } ...
20.44186
76
0.660978
sweetkristas
1d98096eeac41cba2c00f7d2112f421b919d322b
3,121
cpp
C++
datasets/github_cpp_10/2/19.cpp
yijunyu/demo-fast
11c0c84081a3181494b9c469bda42a313c457ad2
[ "BSD-2-Clause" ]
1
2019-05-03T19:27:45.000Z
2019-05-03T19:27:45.000Z
datasets/github_cpp_10/2/19.cpp
yijunyu/demo-vscode-fast
11c0c84081a3181494b9c469bda42a313c457ad2
[ "BSD-2-Clause" ]
null
null
null
datasets/github_cpp_10/2/19.cpp
yijunyu/demo-vscode-fast
11c0c84081a3181494b9c469bda42a313c457ad2
[ "BSD-2-Clause" ]
null
null
null
#include <map> #include <iostream> #define DEBUG #ifdef DEBUG int newCount = 0; int deleteCount = 0; void *operator new(size_t size) { newCount++; return malloc(size); } void operator delete(void *data) { deleteCount++; free(data); return ; } #endif class LRUNode { public: LRUNode(int key,...
20.806667
93
0.485421
yijunyu
1d9a980328700b6f6d3254e7cad32ca740d33f3c
689
hpp
C++
gnet/include/net/connection.hpp
gapry/GNet
4d63540e1f532fae1a44a97f9b2d74a6754f2513
[ "MIT" ]
1
2021-05-19T03:56:47.000Z
2021-05-19T03:56:47.000Z
gnet/include/net/connection.hpp
gapry/GNet
4d63540e1f532fae1a44a97f9b2d74a6754f2513
[ "MIT" ]
null
null
null
gnet/include/net/connection.hpp
gapry/GNet
4d63540e1f532fae1a44a97f9b2d74a6754f2513
[ "MIT" ]
null
null
null
#pragma once #include "net/packet.hpp" #include "net/socket.hpp" #include "noncopyable.hpp" #include "platform/types.hpp" namespace gnet { class engine; class connection : public noncopyable<connection> { friend class engine; public: enum class status { none, listening, connecting, connected, ...
16.404762
51
0.67344
gapry
1d9ccbc0ffe9b36993559d827bbd3d81a7c3dba8
2,023
cc
C++
chrome/browser/web_applications/components/web_app_constants.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/web_applications/components/web_app_constants.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/web_applications/components/web_app_constants.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 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 "chrome/browser/web_applications/components/web_app_constants.h" #include "base/compiler_specific.h" #include "components/services/app_service/p...
32.111111
74
0.733564
sarang-apps
1d9d30a945339fabdd63cd82a686a8c6d5c8614d
127
hpp
C++
src/main.hpp
Southclaws/pawn-bcrypt
c046c3dc5c65997ae92d0c83d87fd487b69eaf23
[ "MIT" ]
9
2019-01-02T21:13:26.000Z
2022-01-15T09:43:11.000Z
src/main.hpp
Southclaws/pawn-bcrypt
c046c3dc5c65997ae92d0c83d87fd487b69eaf23
[ "MIT" ]
null
null
null
src/main.hpp
Southclaws/pawn-bcrypt
c046c3dc5c65997ae92d0c83d87fd487b69eaf23
[ "MIT" ]
null
null
null
#ifndef MAIN_H #define MAIN_H #include "SDK/amx/amx.h" #include "SDK/plugincommon.h" #define BCRYPT_VERSION "v2.2.3" #endif
12.7
31
0.732283
Southclaws
1da1a863a316357d81a85c5e5da86b93ae9e3139
7,729
cpp
C++
IPhreeqcMMS/IPhreeqc/src/phreeqcpp/nvector.cpp
usgs-coupled/webmod
66419e3714f20a357a7db0abd84246d61c002b88
[ "DOC" ]
null
null
null
IPhreeqcMMS/IPhreeqc/src/phreeqcpp/nvector.cpp
usgs-coupled/webmod
66419e3714f20a357a7db0abd84246d61c002b88
[ "DOC" ]
null
null
null
IPhreeqcMMS/IPhreeqc/src/phreeqcpp/nvector.cpp
usgs-coupled/webmod
66419e3714f20a357a7db0abd84246d61c002b88
[ "DOC" ]
1
2020-06-04T23:27:02.000Z
2020-06-04T23:27:02.000Z
/************************************************************************** * * * File : nvector.c * * Programmers : Radu Serban, LLNL * * Version of ...
28.311355
76
0.514167
usgs-coupled
1da20345aff80162281d51c350669235def7ffd9
6,597
cpp
C++
frameworks-ext/native/services/surfaceflinger/tests/internal/surface2_test/surface.cpp
touxiong88/92_mediatek
5e96a7bb778fd9d9b335825584664e0c8b5ff2c7
[ "Apache-2.0" ]
1
2022-01-07T01:53:19.000Z
2022-01-07T01:53:19.000Z
frameworks-ext/native/services/surfaceflinger/tests/internal/surface2_test/surface.cpp
touxiong88/92_mediatek
5e96a7bb778fd9d9b335825584664e0c8b5ff2c7
[ "Apache-2.0" ]
null
null
null
frameworks-ext/native/services/surfaceflinger/tests/internal/surface2_test/surface.cpp
touxiong88/92_mediatek
5e96a7bb778fd9d9b335825584664e0c8b5ff2c7
[ "Apache-2.0" ]
1
2020-02-28T02:48:42.000Z
2020-02-28T02:48:42.000Z
/* Copyright Statement: * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein is * confidential and proprietary to MediaTek Inc. and/or its licensors. Without * the prior written permission of MediaTek inc. and/or ...
36.65
85
0.665302
touxiong88
1daaeab8f7c7325dbb5d2011e0070c0dbbb5391a
2,789
cpp
C++
distributions/univariate/continuous/InverseGaussianRand.cpp
aWeinzierl/RandLib
7af0237d1902aadbf2451b7dfab02c52cf98ae87
[ "MIT" ]
null
null
null
distributions/univariate/continuous/InverseGaussianRand.cpp
aWeinzierl/RandLib
7af0237d1902aadbf2451b7dfab02c52cf98ae87
[ "MIT" ]
null
null
null
distributions/univariate/continuous/InverseGaussianRand.cpp
aWeinzierl/RandLib
7af0237d1902aadbf2451b7dfab02c52cf98ae87
[ "MIT" ]
null
null
null
#include "InverseGaussianRand.h" #include "NormalRand.h" #include "UniformRand.h" InverseGaussianRand::InverseGaussianRand(double mean, double shape) { SetParameters(mean, shape); } String InverseGaussianRand::Name() const { return "Inverse-Gaussian(" + toStringWithPrecision(GetMean()) + ", " + toStringWithPr...
23.049587
115
0.59663
aWeinzierl
1dacf41695c03099d5ee068786f3dda87b179bb3
16,234
cpp
C++
storage.cpp
uyjulian/krxp3file
f2ccee343b22645e44ec45f44acf565f5c061214
[ "MIT" ]
null
null
null
storage.cpp
uyjulian/krxp3file
f2ccee343b22645e44ec45f44acf565f5c061214
[ "MIT" ]
null
null
null
storage.cpp
uyjulian/krxp3file
f2ccee343b22645e44ec45f44acf565f5c061214
[ "MIT" ]
null
null
null
#include <stdio.h> #include <string.h> #include <windows.h> #include "ncbind/ncbind.hpp" #include <map> #include <vector> #include <stdio.h> #include <stdlib.h> #include "cxdec.h" #include "tp_stub.h" #include "XP3Archive.h" #undef tTJSBinaryStream class XP3Stream : public IStream { public: XP3Stream(CompatTJSB...
21.937838
130
0.65985
uyjulian
1dade2debcc8231dc0676d580e1b76419631cd4f
2,192
cpp
C++
Functions/FunctionAVX.cpp
alisa-vernigor/MathForTypingAnalysis
28e72c8fbf116ddb379b1d823efbf3c5b99b3896
[ "MIT" ]
null
null
null
Functions/FunctionAVX.cpp
alisa-vernigor/MathForTypingAnalysis
28e72c8fbf116ddb379b1d823efbf3c5b99b3896
[ "MIT" ]
null
null
null
Functions/FunctionAVX.cpp
alisa-vernigor/MathForTypingAnalysis
28e72c8fbf116ddb379b1d823efbf3c5b99b3896
[ "MIT" ]
null
null
null
#include "Function.h" #include "vectorclass/vectorclass.h" #include "vectorclass/vectormath_exp.h" namespace NSMathModule { namespace NSFunctions { double CDensity0::compute0_AVX(const std::vector<double>& means, double arg) { double tmp_result = 0; size_t regular_part = means.size() & static_cast<si...
35.934426
82
0.614507
alisa-vernigor
1db08e9350390ee0af6d3a24c1e181f70bfb3f20
12,144
cpp
C++
trunk/libs/platform/source/win32/core_app.cpp
ChuyX3/angsys
89b2eaee866bcfd11e66efda49b38acc7468c780
[ "Apache-2.0" ]
null
null
null
trunk/libs/platform/source/win32/core_app.cpp
ChuyX3/angsys
89b2eaee866bcfd11e66efda49b38acc7468c780
[ "Apache-2.0" ]
null
null
null
trunk/libs/platform/source/win32/core_app.cpp
ChuyX3/angsys
89b2eaee866bcfd11e66efda49b38acc7468c780
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include <ang/platform/platform.h> #include <ang/core/time.h> #include "dispatcher.h" #include "core_app.h" #include <comdef.h> #include <windowsx.h> using namespace ang; using namespace ang::platform; using namespace ang::platform::events; using namespace ang::platform::windows; namespace ang::plat...
23.353846
134
0.691041
ChuyX3
1dbb1922e53cbb91c97d0eb823fb5d585d09ed3a
876
cpp
C++
CodeFights/differentSubstrings.cpp
AREA44/competitive-programming
00cede478685bf337193bce4804f13c4ff170903
[ "MIT" ]
null
null
null
CodeFights/differentSubstrings.cpp
AREA44/competitive-programming
00cede478685bf337193bce4804f13c4ff170903
[ "MIT" ]
null
null
null
CodeFights/differentSubstrings.cpp
AREA44/competitive-programming
00cede478685bf337193bce4804f13c4ff170903
[ "MIT" ]
null
null
null
// Given a string, find the number of different non-empty substrings in it. // Example // For inputString = "abac", the output should be // differentSubstrings(inputString) = 9. string substring(std::string inputString, int start, int end){ std::string resultString; for(int i=start;i<end;i++) resultStr...
30.206897
75
0.606164
AREA44
1dbf91e581bdbaf7c3e59cdfeaf4f7d19790ba7e
1,648
hpp
C++
lumino/Graphics/src/Animation/AnimationManager.hpp
lriki/Lumino
1a80430f4a83dbdfbe965b3d5b16064991b3edb0
[ "MIT" ]
30
2016-01-24T05:35:45.000Z
2020-03-03T09:54:27.000Z
lumino/Graphics/src/Animation/AnimationManager.hpp
lriki/Lumino
1a80430f4a83dbdfbe965b3d5b16064991b3edb0
[ "MIT" ]
35
2016-04-18T06:14:08.000Z
2020-02-09T15:51:58.000Z
lumino/Graphics/src/Animation/AnimationManager.hpp
lriki/Lumino
1a80430f4a83dbdfbe965b3d5b16064991b3edb0
[ "MIT" ]
5
2016-04-03T02:52:05.000Z
2018-01-02T16:53:06.000Z
#pragma once #include <LuminoGraphics/Animation/Common.hpp> #include <LuminoGraphics/Animation/AnimationClip.hpp> #include <LuminoEngine/Base/detail/RefObjectCache.hpp> namespace ln { class AnimationClock; namespace detail { class AnimationManager : public RefObject { public: struct Settings { AssetManag...
34.333333
135
0.771238
lriki
1dc0cf1354ab9c6c14c387bb3ada9152c85a255a
3,536
cpp
C++
Source/Core/DX_12/DX_12Image.cpp
glowing-chemist/Bell
0cf4d0ac925940869077779700c1d3bd45ff841f
[ "MIT" ]
14
2020-02-12T19:13:46.000Z
2022-03-05T02:26:06.000Z
Source/Core/DX_12/DX_12Image.cpp
glowing-chemist/Bell
0cf4d0ac925940869077779700c1d3bd45ff841f
[ "MIT" ]
5
2020-08-06T07:19:47.000Z
2021-01-05T21:20:51.000Z
Source/Core/DX_12/DX_12Image.cpp
glowing-chemist/Bell
0cf4d0ac925940869077779700c1d3bd45ff841f
[ "MIT" ]
2
2021-09-18T13:36:47.000Z
2021-12-04T15:08:53.000Z
#include "DX_12Image.hpp" #include "DX_12RenderDevice.hpp" #include "Core/ConversionUtils.hpp" #include <algorithm> DX_12Image::DX_12Image( RenderDevice* device, const Format format, const ImageUsage usage, const uint32_t x, ...
31.017544
104
0.628394
glowing-chemist
1dc22fe9dcdc182e9673745eb5fc1111e9063e9e
418
cpp
C++
Volume118/11879 - Brick Game/11879.cpp
rstancioiu/uva-online-judge
31c536d764462d389b48b4299b9731534824c9f5
[ "MIT" ]
1
2017-01-25T18:07:49.000Z
2017-01-25T18:07:49.000Z
Volume118/11879 - Brick Game/11879.cpp
rstancioiu/uva-online-judge
31c536d764462d389b48b4299b9731534824c9f5
[ "MIT" ]
null
null
null
Volume118/11879 - Brick Game/11879.cpp
rstancioiu/uva-online-judge
31c536d764462d389b48b4299b9731534824c9f5
[ "MIT" ]
null
null
null
// Author: Stancioiu Nicu Razvan // Problem: http://uva.onlinejudge.org/external/118/11879.html #include <iostream> #include <string> #define MOD 17 using namespace std; bool Divide(string a) { int t=0; for(int i=0;i<a.length();++i) { t*=10; t+=a[i]-'0'; t%=MOD; } if(t==0) return true; else return false...
13.0625
62
0.610048
rstancioiu
1dc53e9641207626cc069fd7d6a480be67324a19
7,594
cpp
C++
GPTP/src/hooks/unit_morph_inject.cpp
idmontie/gptp
14d68e5eac84c2f3085ac25a7fff31a07ea387f6
[ "0BSD" ]
8
2015-04-03T16:50:59.000Z
2021-01-06T17:12:29.000Z
GPTP/src/hooks/unit_morph_inject.cpp
idmontie/gptp
14d68e5eac84c2f3085ac25a7fff31a07ea387f6
[ "0BSD" ]
6
2015-04-03T18:10:56.000Z
2016-02-18T05:04:21.000Z
GPTP/src/hooks/unit_morph_inject.cpp
idmontie/gptp
14d68e5eac84c2f3085ac25a7fff31a07ea387f6
[ "0BSD" ]
6
2015-04-04T04:37:33.000Z
2018-04-09T09:03:50.000Z
#include "unit_morph.h" #include <hook_tools.h> #include <SCBW/api.h> #include <cassert> namespace { //-------- CMDRECV_UnitMorph --------// const u32 Func_AddUnitToBuildQueue = 0x00467250; bool addUnitToBuildQueue(const CUnit *unit, u16 unitId) { static u32 result; u32 unitId_ = unitId; __as...
25.145695
107
0.667501
idmontie
1dc58721a7bf7de73e554838d8cf09c48780043b
1,661
hpp
C++
include/codegen/include/System/Security/Cryptography/X509Certificates/X509Utils.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/System/Security/Cryptography/X509Certificates/X509Utils.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/System/Security/Cryptography/X509Certificates/X509Utils.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:10:18 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: System.Object #include "System/Object.hpp" #include "utils/i...
48.852941
147
0.747742
Futuremappermydud
1dca671d290cc993c2c5635fd7c85612ac28634f
1,943
cpp
C++
Src/EB/AMReX_EB_utils.cpp
khou2020/amrex
2a75167fd3febd46e0090a89941e42793224ad15
[ "BSD-3-Clause-LBNL" ]
null
null
null
Src/EB/AMReX_EB_utils.cpp
khou2020/amrex
2a75167fd3febd46e0090a89941e42793224ad15
[ "BSD-3-Clause-LBNL" ]
null
null
null
Src/EB/AMReX_EB_utils.cpp
khou2020/amrex
2a75167fd3febd46e0090a89941e42793224ad15
[ "BSD-3-Clause-LBNL" ]
1
2020-01-17T05:00:26.000Z
2020-01-17T05:00:26.000Z
#include <AMReX_EB_F.H> #include <AMReX_MultiFab.H> #include <AMReX_EB_utils.H> #include <AMReX_Geometry.H> #include <AMReX_MultiCutFab.H> #include <AMReX_EBFabFactory.H> namespace amrex { void FillEBNormals(MultiFab & normals, const EBFArrayBoxFactory & eb_factory, const Geometry & geom) ...
34.696429
91
0.545548
khou2020
1dca85fc7bffe94417030860dbab852e517643dc
14,326
hpp
C++
tm_kit/basic/CalculationsOnInit.hpp
cd606/tm_basic
ea2d13b561dd640161823a5e377f35fcb7fe5d48
[ "Apache-2.0" ]
1
2020-05-22T08:47:02.000Z
2020-05-22T08:47:02.000Z
tm_kit/basic/CalculationsOnInit.hpp
cd606/tm_basic
ea2d13b561dd640161823a5e377f35fcb7fe5d48
[ "Apache-2.0" ]
null
null
null
tm_kit/basic/CalculationsOnInit.hpp
cd606/tm_basic
ea2d13b561dd640161823a5e377f35fcb7fe5d48
[ "Apache-2.0" ]
null
null
null
#ifndef TM_KIT_BASIC_CALCULATIONS_ON_INIT_HPP_ #define TM_KIT_BASIC_CALCULATIONS_ON_INIT_HPP_ #include <tm_kit/infra/RealTimeApp.hpp> #include <tm_kit/infra/SinglePassIterationApp.hpp> #include <tm_kit/infra/TopDownSinglePassIterationApp.hpp> #include <tm_kit/infra/Environments.hpp> #include <tm_kit/infra/TraceNodesCo...
43.150602
194
0.615594
cd606
1dca89bec5153c7fe6683305110842690050fd61
1,608
cpp
C++
Sample/Sample_URLWriter/URLWriter.cpp
sherry0319/YTSvrLib
5dda75aba927c4bf5c6a727592660bfc2619a063
[ "MIT" ]
61
2016-10-13T09:24:31.000Z
2022-03-26T09:59:34.000Z
Sample/Sample_URLWriter/URLWriter.cpp
sherry0319/YTSvrLib
5dda75aba927c4bf5c6a727592660bfc2619a063
[ "MIT" ]
3
2018-05-15T10:42:22.000Z
2021-07-02T01:38:08.000Z
Sample/Sample_URLWriter/URLWriter.cpp
sherry0319/YTSvrLib
5dda75aba927c4bf5c6a727592660bfc2619a063
[ "MIT" ]
36
2016-12-28T04:54:41.000Z
2021-12-15T06:02:56.000Z
// URLWriter.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include <cstdlib> #include "URLWriter.h" static struct { const char* url; const char* post; }g_data[] = { {"http://v.juhe.cn/postcode/query?postcode=215001&key=%E7%94%B3%E8%AF%B7%E7%9A%84KEY",NULL}, {"http://v.juhe.cn/postcode/query","postcode=215001&key=...
25.52381
133
0.675373
sherry0319
1dcc5344ae39d835e42f333a013c3e3cf8c500a5
3,731
cpp
C++
ocs2_core/test/initialization/InitializationTest.cpp
grizzi/ocs2
4b78c4825deb8b2efc992fdbeef6fdb1fcca2345
[ "BSD-3-Clause" ]
126
2021-07-13T13:59:12.000Z
2022-03-31T02:52:18.000Z
ocs2_core/test/initialization/InitializationTest.cpp
grizzi/ocs2
4b78c4825deb8b2efc992fdbeef6fdb1fcca2345
[ "BSD-3-Clause" ]
27
2021-07-14T12:14:04.000Z
2022-03-30T16:27:52.000Z
ocs2_core/test/initialization/InitializationTest.cpp
grizzi/ocs2
4b78c4825deb8b2efc992fdbeef6fdb1fcca2345
[ "BSD-3-Clause" ]
55
2021-07-14T07:08:47.000Z
2022-03-31T15:54:30.000Z
/****************************************************************************** Copyright (c) 2017, Farbod Farshidian. 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 mu...
40.554348
91
0.724471
grizzi
1dcf151528f700d45c1e338fee82bb360d85b540
525
cpp
C++
solutions/986.interval-list-intersections.379341654.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
78
2020-10-22T11:31:53.000Z
2022-02-22T13:27:49.000Z
solutions/986.interval-list-intersections.379341654.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
null
null
null
solutions/986.interval-list-intersections.379341654.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
26
2020-10-23T15:10:44.000Z
2021-11-07T16:13:50.000Z
class Solution { public: vector<vector<int>> intervalIntersection(vector<vector<int>> &A, vector<vector<int>> &B) { int i = 0; int j = 0; int n1 = A.size(); int n2 = B.size(); vector<vector<int>> result; while (i < n1 && j < n2) { int r = min(A[...
21.875
68
0.420952
satu0king
1dd041fd30ae293dfe082ac481b2680792b6bf81
3,781
cpp
C++
client/udpfwdclient.cpp
Skycoder42/Udp-Forward-Server
54028bf8b46658dc1915956e80791abd67477715
[ "BSD-3-Clause" ]
1
2022-03-24T15:45:26.000Z
2022-03-24T15:45:26.000Z
client/udpfwdclient.cpp
Skycoder42/Udp-Forward-Server
54028bf8b46658dc1915956e80791abd67477715
[ "BSD-3-Clause" ]
null
null
null
client/udpfwdclient.cpp
Skycoder42/Udp-Forward-Server
54028bf8b46658dc1915956e80791abd67477715
[ "BSD-3-Clause" ]
null
null
null
#include "udpfwdclient.h" #include <QNetworkDatagram> #include <announcepeermessage.h> #include <tunnelinmessage.h> using namespace UdpFwdProto; UdpFwdClient::UdpFwdClient(QObject *parent) : UdpFwdClient{10000, parent} {} UdpFwdClient::UdpFwdClient(int replyCacheSize, QObject *parent) : QObject{parent}, _socket{ne...
27.59854
123
0.718593
Skycoder42
1dd243e9dd341e76a28815fe0330b7f92c0306b5
2,603
cpp
C++
src/CFG/production.cpp
angeligareta/Context-Free-Grammar
4f8e8c547145813e7309a28c9c96ee1136a7f904
[ "MIT" ]
1
2019-11-13T10:39:30.000Z
2019-11-13T10:39:30.000Z
src/CFG/production.cpp
angeligareta/Context-Free-Grammar
4f8e8c547145813e7309a28c9c96ee1136a7f904
[ "MIT" ]
null
null
null
src/CFG/production.cpp
angeligareta/Context-Free-Grammar
4f8e8c547145813e7309a28c9c96ee1136a7f904
[ "MIT" ]
null
null
null
#include "production.h" ostream& operator<<(ostream& output, const Production& production_in) { output << production_in.set_symbol_; return output; } Production::Production(const string& string_in): set_symbol_(string_in), num_no_terminal_(0), num_terminal_(0), epsilon_symbol_(0) { Update(); } Produc...
22.059322
87
0.68229
angeligareta
1dd3f9694e9a14131f1c3a3fd946a6b960734c00
241
cpp
C++
cpp/examples/factorial.cpp
arturparkhisenko/til
6fe7ddf2466d8090b9cf83fa5f7ae5fe5cacc19b
[ "MIT" ]
5
2017-01-20T01:48:25.000Z
2020-07-19T11:15:49.000Z
cpp/examples/factorial.cpp
arturparkhisenko/til
6fe7ddf2466d8090b9cf83fa5f7ae5fe5cacc19b
[ "MIT" ]
null
null
null
cpp/examples/factorial.cpp
arturparkhisenko/til
6fe7ddf2466d8090b9cf83fa5f7ae5fe5cacc19b
[ "MIT" ]
1
2017-08-22T12:21:04.000Z
2017-08-22T12:21:04.000Z
#include <iostream> using namespace std; int factorial(int n) { if (n == 1) { return 1; } else { return n * factorial(n - 1); } } int main(int argc, const char * argv[]) { cout << factorial(5); return 0; } // Outputs 120
14.176471
41
0.576763
arturparkhisenko
1dd40b3a3b616f7f6b16eca5cde65327ae8366ef
3,370
cc
C++
NEST-14.0-FPGA/sli/stringdatum.cc
OpenHEC/SNN-simulator-on-PYNQcluster
14f86a76edf4e8763b58f84960876e95d4efc43a
[ "MIT" ]
45
2019-12-09T06:45:53.000Z
2022-01-29T12:16:41.000Z
NEST-14.0-FPGA/sli/stringdatum.cc
zlchai/SNN-simulator-on-PYNQcluster
14f86a76edf4e8763b58f84960876e95d4efc43a
[ "MIT" ]
2
2020-05-23T05:34:21.000Z
2021-09-08T02:33:46.000Z
NEST-14.0-FPGA/sli/stringdatum.cc
OpenHEC/SNN-simulator-on-PYNQcluster
14f86a76edf4e8763b58f84960876e95d4efc43a
[ "MIT" ]
10
2019-12-09T06:45:59.000Z
2021-03-25T09:32:56.000Z
/* * stringdatum.cc * * This file is part of NEST. * * Copyright (C) 2004 The NEST Initiative * * NEST 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...
27.398374
77
0.702374
OpenHEC
1dd5e29237ac4f550a143346a1d76ddb9383d3a3
1,332
cpp
C++
Master/XC-OS/BSP/BSP_Motor.cpp
robojkj/XC-OS
dbbd970d8ca6c7cdbd84cc1cf929d8c6ad13dec5
[ "MIT" ]
6
2020-11-21T03:03:07.000Z
2022-03-30T00:00:05.000Z
Master/XC-OS/BSP/BSP_Motor.cpp
robojkj/XC-OS
dbbd970d8ca6c7cdbd84cc1cf929d8c6ad13dec5
[ "MIT" ]
null
null
null
Master/XC-OS/BSP/BSP_Motor.cpp
robojkj/XC-OS
dbbd970d8ca6c7cdbd84cc1cf929d8c6ad13dec5
[ "MIT" ]
2
2021-02-08T05:57:19.000Z
2021-07-24T21:10:49.000Z
#include "Basic/FileGroup.h" #include "Basic/TasksManage.h" #include "BSP.h" static bool State_MotorVibrate = true; static uint32_t MotorStop_TimePoint = 0; static bool IsMotorRunning = false; static uint8_t PWM_PIN; static void Init_Motor() { uint8_t temp; if(Motor_DIR) { PWM_PIN = Motor_IN1_Pin; temp = Moto...
18.5
57
0.690691
robojkj