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
73d24b7e32bc8feccd54341e4025be2fb24990eb
6,990
cc
C++
modules/canbus/vehicle/lexus/protocol/horn_rpt_21c.cc
seeclong/apollo
99c8afb5ebcae2a3c9359a156a957ff03944b27b
[ "Apache-2.0" ]
22,688
2017-07-04T23:17:19.000Z
2022-03-31T18:56:48.000Z
modules/canbus/vehicle/lexus/protocol/horn_rpt_21c.cc
Songjiarui3313/apollo
df9113ae656e28e5374db32529d68e59455058a0
[ "Apache-2.0" ]
4,804
2017-07-04T22:30:12.000Z
2022-03-31T12:58:21.000Z
modules/canbus/vehicle/lexus/protocol/horn_rpt_21c.cc
Songjiarui3313/apollo
df9113ae656e28e5374db32529d68e59455058a0
[ "Apache-2.0" ]
9,985
2017-07-04T22:01:17.000Z
2022-03-31T14:18:16.000Z
/****************************************************************************** * Copyright 2018 The Apollo Authors. 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 ...
38.196721
80
0.64392
seeclong
73d3bdd14563932b23f500014e01d598994e5fef
11,514
cpp
C++
src/heuristics/maxcut/burer2002.cpp
josilber2/MQLib
6e3f1662988c33d1d2efa6e0d7bd1959f0467337
[ "MIT" ]
null
null
null
src/heuristics/maxcut/burer2002.cpp
josilber2/MQLib
6e3f1662988c33d1d2efa6e0d7bd1959f0467337
[ "MIT" ]
null
null
null
src/heuristics/maxcut/burer2002.cpp
josilber2/MQLib
6e3f1662988c33d1d2efa6e0d7bd1959f0467337
[ "MIT" ]
null
null
null
#include <math.h> #include <string.h> #include <algorithm> #include <iostream> #include <limits> #include <vector> #include "heuristics/maxcut/burer2002.h" #include "problem/heuristic.h" #include "util/random.h" #ifndef M_PI #define M_PI 3.14159265358979323846264338327950288 #endif // Perform all first available 1-sw...
34.785498
80
0.652076
josilber2
73d3c0bb8fcba84c94f6e0bc8abff24ee7f93529
910
hpp
C++
src/Module/Codec/RSC/Codec_RSC.hpp
codechecker123/aff3ct
030af3e990027fa803fb2c68f974c9ec0ee79b5d
[ "MIT" ]
null
null
null
src/Module/Codec/RSC/Codec_RSC.hpp
codechecker123/aff3ct
030af3e990027fa803fb2c68f974c9ec0ee79b5d
[ "MIT" ]
null
null
null
src/Module/Codec/RSC/Codec_RSC.hpp
codechecker123/aff3ct
030af3e990027fa803fb2c68f974c9ec0ee79b5d
[ "MIT" ]
null
null
null
#ifndef CODEC_RSC_HPP_ #define CODEC_RSC_HPP_ #include "Factory/Module/Encoder/RSC/Encoder_RSC.hpp" #include "Factory/Module/Decoder/RSC/Decoder_RSC.hpp" #include "../Codec_SISO_SIHO.hpp" namespace aff3ct { namespace module { template <typename B = int, typename Q = float> class Codec_RSC : public Codec_SISO_SIHO<B,...
26
73
0.723077
codechecker123
73d582f4675ce156f6f801d97e4af6e555e94ceb
3,432
cpp
C++
test/single_phase_pressuer_solver_test.cpp
AleksanderSiwek/Fluide_Engine
12c626105b079a3dd21a3cc95b7d98342d041f5d
[ "MIT" ]
null
null
null
test/single_phase_pressuer_solver_test.cpp
AleksanderSiwek/Fluide_Engine
12c626105b079a3dd21a3cc95b7d98342d041f5d
[ "MIT" ]
null
null
null
test/single_phase_pressuer_solver_test.cpp
AleksanderSiwek/Fluide_Engine
12c626105b079a3dd21a3cc95b7d98342d041f5d
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include "../src/fluid_solvers/single_phase_pressure_solver.hpp" void ___PrintArray3(const Array3<double>& input) { const auto& size = input.GetSize(); std::cout << std::setprecision(2) << std::fixed; std::cout << "Size: (" << size.x << ", " << size.y << ", " << size.z << ")\n"; ...
26.198473
82
0.42366
AleksanderSiwek
73d6346d5d5310e7b5975120063223636f1a328c
606
cpp
C++
RealmLib/Packets/Client/Buy.cpp
SometimesRain/realmnet
76ead08b4a0163a05b65389e512942a620331256
[ "MIT" ]
10
2018-11-25T21:59:43.000Z
2022-01-09T22:41:52.000Z
RealmLib/Packets/Client/Buy.cpp
SometimesRain/realmnet
76ead08b4a0163a05b65389e512942a620331256
[ "MIT" ]
1
2018-11-28T12:59:59.000Z
2018-11-28T12:59:59.000Z
RealmLib/Packets/Client/Buy.cpp
SometimesRain/realmnet
76ead08b4a0163a05b65389e512942a620331256
[ "MIT" ]
6
2018-12-28T22:34:13.000Z
2021-10-16T10:17:17.000Z
#include "stdafx.h" #include <GameData/Constants.h> #include <GameData/TypeManager.h> #include "Packets/PacketWriter.h" #include "Packets/PacketReader.h" #include <Packets/Buy.h> Buy::Buy(int objectId, int quantity) : objectId(objectId), quantity(quantity) { } Buy::Buy(byte* data) { PacketReader r(data); r.rea...
15.15
72
0.70462
SometimesRain
73d680e3ddcca6973dff2e6a6927ca7f571a492d
11,686
cc
C++
test/tests/transform/falcon_dsp_iir_filter_cpp_unit_tests.cc
OrthogonalHawk/libfalcon_dsp
93b8e78ae768688df495e1c67770370c206044cd
[ "MIT" ]
1
2019-08-02T09:15:26.000Z
2019-08-02T09:15:26.000Z
test/tests/transform/falcon_dsp_iir_filter_cpp_unit_tests.cc
OrthogonalHawk/libfalcon_dsp
93b8e78ae768688df495e1c67770370c206044cd
[ "MIT" ]
28
2019-08-24T20:54:55.000Z
2020-02-18T20:54:46.000Z
test/tests/transform/falcon_dsp_iir_filter_cpp_unit_tests.cc
OrthogonalHawk/libfalcon_dsp
93b8e78ae768688df495e1c67770370c206044cd
[ "MIT" ]
null
null
null
/****************************************************************************** * * MIT License * * Copyright (c) 2020 OrthogonalHawk * 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 wi...
43.281481
123
0.513692
OrthogonalHawk
73d7203da0e077e884be43a8969520d8a38cb0aa
639
hpp
C++
library/ATF/_qry_case_unmandtrader_log_in_proc_update_complete.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/_qry_case_unmandtrader_log_in_proc_update_complete.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/_qry_case_unmandtrader_log_in_proc_update_complete.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> START_ATF_NAMESPACE struct _qry_case_unmandtrader_log_in_proc_update_complete { struct __list { char byProcRet; char byP...
24.576923
108
0.629108
lemkova
73d72b863e1fd56920ca74f86abcce5dad2b80e3
3,713
cpp
C++
data/train/cpp/73d72b863e1fd56920ca74f86abcce5dad2b80e3ChunkManager.cpp
harshp8l/deep-learning-lang-detection
2a54293181c1c2b1a2b840ddee4d4d80177efb33
[ "MIT" ]
84
2017-10-25T15:49:21.000Z
2021-11-28T21:25:54.000Z
data/train/cpp/73d72b863e1fd56920ca74f86abcce5dad2b80e3ChunkManager.cpp
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
5
2018-03-29T11:50:46.000Z
2021-04-26T13:33:18.000Z
data/train/cpp/73d72b863e1fd56920ca74f86abcce5dad2b80e3ChunkManager.cpp
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
24
2017-11-22T08:31:00.000Z
2022-03-27T01:22:31.000Z
/* * ChunkManager.cpp * * Created on: Mar 17, 2013 * Author: Tyler */ #include <iostream> #include "Player.h" #include "ChunkManager.h" ChunkManager::ChunkManager() { mainPlayer = NULL; } ChunkManager::ChunkManager(Player * mainPlayer) { this->mainPlayer = mainPlayer; loadChunks(); //Temp? } ChunkMa...
35.361905
230
0.656881
harshp8l
73d82361f9183a95d0af51889db820f82ea4d8a4
2,245
cpp
C++
validation_tests/faodel/examples/old/example5.cpp
brugger1/testsuite
9b504db668cdeaf7c561f15b76c95d05bfdd1517
[ "MIT" ]
12
2019-02-12T18:20:29.000Z
2021-12-09T19:46:19.000Z
validation_tests/faodel/examples/old/example5.cpp
brugger1/testsuite
9b504db668cdeaf7c561f15b76c95d05bfdd1517
[ "MIT" ]
24
2020-08-31T22:05:07.000Z
2022-02-21T18:30:03.000Z
validation_tests/faodel/examples/old/example5.cpp
brugger1/testsuite
9b504db668cdeaf7c561f15b76c95d05bfdd1517
[ "MIT" ]
19
2020-08-31T21:59:10.000Z
2022-02-23T22:06:46.000Z
// Copyright 2018 National Technology & Engineering Solutions of Sandia, // LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, // the U.S. Government retains certain rights in this software. #include <iostream> #include <chrono> #include <thread> #include <unistd.h> #include <assert.h> #include "f...
26.72619
85
0.681514
brugger1
73d84e4bcbb64a8f59d21dd726d03f1b51848e7a
7,017
hpp
C++
simulator/include/marlin/simulator/transport/SimulatedTransportFactory.hpp
WhiteWalker608/ActionsTest
41e3c3cf6d5a2094d90fd4c004ad0cd3856d42cd
[ "MIT" ]
null
null
null
simulator/include/marlin/simulator/transport/SimulatedTransportFactory.hpp
WhiteWalker608/ActionsTest
41e3c3cf6d5a2094d90fd4c004ad0cd3856d42cd
[ "MIT" ]
null
null
null
simulator/include/marlin/simulator/transport/SimulatedTransportFactory.hpp
WhiteWalker608/ActionsTest
41e3c3cf6d5a2094d90fd4c004ad0cd3856d42cd
[ "MIT" ]
1
2020-10-28T07:38:49.000Z
2020-10-28T07:38:49.000Z
#ifndef MARLIN_SIMULATOR_UDP_SIMULATEDTRANSPORTFACTORY_HPP #define MARLIN_SIMULATOR_UDP_SIMULATEDTRANSPORTFACTORY_HPP #include "marlin/simulator/transport/SimulatedTransport.hpp" #include <marlin/core/Buffer.hpp> #include <marlin/core/SocketAddress.hpp> #include <marlin/core/TransportManager.hpp> #include <spdlog/sp...
21.996865
105
0.782671
WhiteWalker608
73d8d308306121dbb96fa833ac40610c2d693182
11,550
cpp
C++
Gems/Atom/Feature/Common/Code/Source/PostProcessing/SMAAFeatureProcessor.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-09-13T00:01:12.000Z
2021-09-13T00:01:12.000Z
Gems/Atom/Feature/Common/Code/Source/PostProcessing/SMAAFeatureProcessor.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/Atom/Feature/Common/Code/Source/PostProcessing/SMAAFeatureProcessor.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 <PostProcessing/SMAAConfigurationDescriptor.h> #include <PostProcessing/SMAAFeatureProcesso...
39.554795
178
0.62632
aaarsene
73df9171d3b0a1c931e38270df2308a9b459e944
1,200
cc
C++
agp-7.1.0-alpha01/tools/base/profiler/native/perfd/energy/internal_energy_service.cc
jomof/CppBuildCacheWorkInProgress
9e3475f6d94cb3239f27ed8f8ee81b0abde4ef51
[ "Apache-2.0" ]
null
null
null
agp-7.1.0-alpha01/tools/base/profiler/native/perfd/energy/internal_energy_service.cc
jomof/CppBuildCacheWorkInProgress
9e3475f6d94cb3239f27ed8f8ee81b0abde4ef51
[ "Apache-2.0" ]
null
null
null
agp-7.1.0-alpha01/tools/base/profiler/native/perfd/energy/internal_energy_service.cc
jomof/CppBuildCacheWorkInProgress
9e3475f6d94cb3239f27ed8f8ee81b0abde4ef51
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
33.333333
79
0.766667
jomof
73e1c00cd0391544c32320d45aaddcb5195d91eb
1,640
cpp
C++
src/UOJ_1195 - (1180313) Accepted.cpp
miguelarauj1o/UOJ
eb195754829c42c3dcf1a68616e63da1386cb5a9
[ "MIT" ]
80
2015-01-07T01:18:40.000Z
2021-05-04T15:23:18.000Z
src/UOJ_1195 - (1180313) Accepted.cpp
miguelarauj1o/OJ
eb195754829c42c3dcf1a68616e63da1386cb5a9
[ "MIT" ]
1
2019-01-07T01:13:32.000Z
2019-01-07T01:13:32.000Z
src/UOJ_1195 - (1180313) Accepted.cpp
miguelarauj1o/OJ
eb195754829c42c3dcf1a68616e63da1386cb5a9
[ "MIT" ]
28
2015-03-05T11:53:23.000Z
2020-07-05T15:50:42.000Z
#include <cstdio> using namespace std; struct Node { int data; Node* left; Node* right; }; Node* GetNewroot(int data) { Node* newroot = new Node(); newroot -> data = data; newroot -> left = NULL; newroot -> right = NULL; return newroot; } Node* Insert(Node* root, int data) { if(root == ...
16.907216
47
0.52439
miguelarauj1o
73e39a33fd3fb36dbc1e004b870de6468eeeeb19
6,330
cpp
C++
firmware/Parser.cpp
bespokegear/Power_Meter_Display_EA_LED_Matrix
61d538c21fefdf566b1cc10c8d4f824bfcbe6d80
[ "MIT" ]
null
null
null
firmware/Parser.cpp
bespokegear/Power_Meter_Display_EA_LED_Matrix
61d538c21fefdf566b1cc10c8d4f824bfcbe6d80
[ "MIT" ]
null
null
null
firmware/Parser.cpp
bespokegear/Power_Meter_Display_EA_LED_Matrix
61d538c21fefdf566b1cc10c8d4f824bfcbe6d80
[ "MIT" ]
null
null
null
#include <string.h> #include <Arduino.h> #include <MutilaDebug.h> #include "Matrix.h" #include "Parser.h" #include "Config.h" #include "SmallTextMode.h" #include "TextMode.h" #include "TextControlMode.h" #include "ClearMode.h" #include "CountdownMode.h" #include "TimerMode.h" #include "VoltageAndCurrentMode.h" #include...
26.822034
106
0.481675
bespokegear
73e3cdc99cc68198836d7ab269502f7a10669561
2,152
cc
C++
ui/events/gestures/gesture_recognizer_impl_mac.cc
xzhan96/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2019-01-28T08:09:58.000Z
2021-11-15T15:32:10.000Z
ui/events/gestures/gesture_recognizer_impl_mac.cc
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ui/events/gestures/gesture_recognizer_impl_mac.cc
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
6
2020-09-23T08:56:12.000Z
2021-11-18T03:40:49.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 "base/macros.h" #include "ui/events/gestures/gesture_recognizer.h" namespace ui { namespace { // Stub implementation of G...
32.606061
80
0.703996
xzhan96
73e635eed25043d735c37ae0c21474034685c122
2,920
cpp
C++
Engine/script/script_engine.cpp
monkey0506/ags
2f96ddf47e944efea2534386a4004849eb71372b
[ "Artistic-2.0" ]
null
null
null
Engine/script/script_engine.cpp
monkey0506/ags
2f96ddf47e944efea2534386a4004849eb71372b
[ "Artistic-2.0" ]
null
null
null
Engine/script/script_engine.cpp
monkey0506/ags
2f96ddf47e944efea2534386a4004849eb71372b
[ "Artistic-2.0" ]
null
null
null
//============================================================================= // // Adventure Game Studio (AGS) // // Copyright (C) 1999-2011 Chris Jones and 2011-20xx others // The full list of copyright holders can be found in the Copyright.txt // file, which is part of this source code distribution. // // The AGS ...
27.809524
92
0.603082
monkey0506
73e9b45bf7446b8516bbc0007b20ce5c9c8a2eb4
8,892
cc
C++
cbplusui/apps/settings/SettingWifiPasswordActivity.cc
Iorest/mg-demos
8375a84d6e5dfbd659a53f6dc17ea00e7b117ef9
[ "Apache-2.0" ]
11
2019-05-27T04:15:46.000Z
2022-03-18T05:16:52.000Z
cbplusui/apps/settings/SettingWifiPasswordActivity.cc
Iorest/mg-demos
8375a84d6e5dfbd659a53f6dc17ea00e7b117ef9
[ "Apache-2.0" ]
2
2019-08-17T11:54:12.000Z
2020-08-14T01:34:35.000Z
cbplusui/apps/settings/SettingWifiPasswordActivity.cc
Iorest/mg-demos
8375a84d6e5dfbd659a53f6dc17ea00e7b117ef9
[ "Apache-2.0" ]
11
2019-08-19T04:48:27.000Z
2022-01-27T09:25:05.000Z
/////////////////////////////////////////////////////////////////////////////// // // IMPORTANT NOTICE // // The following open source license statement does not apply to any // entity in the Exception List published by FMSoft. // // For more information, please visit: // // https://www.fmsoft....
30.662069
103
0.62978
Iorest
73eabfe1965cefc9c0961efa616bffa0ef3fd175
1,395
hpp
C++
Engine/video/Video.hpp
JuDelCo/SFML2-Game
b234eb59266c6969d3c57ee5d3833e4090205a90
[ "Zlib" ]
32
2015-07-04T02:47:22.000Z
2022-01-19T00:07:51.000Z
Engine/video/Video.hpp
JuDelCo/SFML2-Game
b234eb59266c6969d3c57ee5d3833e4090205a90
[ "Zlib" ]
null
null
null
Engine/video/Video.hpp
JuDelCo/SFML2-Game
b234eb59266c6969d3c57ee5d3833e4090205a90
[ "Zlib" ]
11
2016-11-14T15:53:15.000Z
2020-05-29T12:12:54.000Z
// Copyright (c) 2013 Juan Delgado (JuDelCo) // License: zlib/libpng License // zlib/libpng License web page: http://opensource.org/licenses/Zlib #pragma once #ifndef VIDEO_HPP #define VIDEO_HPP #include <SFML/Graphics.hpp> #include <memory> typedef std::shared_ptr<sf::RenderWindow> RenderWindowPtr; class Video { ...
25.833333
98
0.741935
JuDelCo
73eb71a165d827ab9b324eb581a9393adf51a045
7,039
hpp
C++
unit/atf-src/atf-c++/macros.hpp
Reverier-Xu/bind-EDNS-client-subnet-patched
c02debb6d48736db4601659107a358b3c445ba75
[ "MIT", "BSD-3-Clause" ]
7
2015-04-19T12:14:32.000Z
2021-08-11T21:43:00.000Z
unit/atf-src/atf-c++/macros.hpp
Reverier-Xu/bind-EDNS-client-subnet-patched
c02debb6d48736db4601659107a358b3c445ba75
[ "MIT", "BSD-3-Clause" ]
2
2020-02-04T01:58:46.000Z
2020-02-04T02:25:08.000Z
unit/atf-src/atf-c++/macros.hpp
Reverier-Xu/bind-EDNS-client-subnet-patched
c02debb6d48736db4601659107a358b3c445ba75
[ "MIT", "BSD-3-Clause" ]
5
2015-12-03T15:11:19.000Z
2019-09-06T16:53:22.000Z
// // Automated Testing Framework (atf) // // Copyright (c) 2007, 2008, 2010 The NetBSD Foundation, 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: // 1. Redistributions of source code...
35.195
80
0.542691
Reverier-Xu
73edc91a98330ddc9af2c5b4421e992698d1b4f4
522
cpp
C++
src/LG/lg-P5132.cpp
krishukr/cpp-code
1c94401682227bd86c0d9295134d43582247794e
[ "MIT" ]
1
2021-08-13T14:27:39.000Z
2021-08-13T14:27:39.000Z
src/LG/lg-P5132.cpp
krishukr/cpp-code
1c94401682227bd86c0d9295134d43582247794e
[ "MIT" ]
null
null
null
src/LG/lg-P5132.cpp
krishukr/cpp-code
1c94401682227bd86c0d9295134d43582247794e
[ "MIT" ]
null
null
null
#include <cstdio> #include <iostream> typedef long long ll; int a[1050]; int main() { std::ios::sync_with_stdio(false); int n; std::cin >> n; ll ans = 0; for (int i = 1; i <= n; i++) { std::cin >> a[i]; } for (int i = 1; i <= n; i++) { for (int j = 1; j <= n; j++) { ...
15.352941
54
0.371648
krishukr
73eea522e673c616f2a3ea18669926a02fefaaac
7,299
cpp
C++
REDSI_1160929_1161573/boost_1_67_0/libs/spirit/classic/example/fundamental/more_calculators/vmachine_calc.cpp
Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo
eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8
[ "MIT" ]
198
2015-01-13T05:47:18.000Z
2022-03-09T04:46:46.000Z
libs/boost/libs/spirit/classic/example/fundamental/more_calculators/vmachine_calc.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/spirit/classic/example/fundamental/more_calculators/vmachine_calc.cpp
flingone/frameworks_base_cmds_remoted
4509d9f0468137ed7fd8d100179160d167e7d943
[ "Apache-2.0" ]
139
2015-01-15T20:09:31.000Z
2022-01-31T15:21:16.000Z
/*============================================================================= Copyright (c) 1998-2003 Joel de Guzman http://spirit.sourceforge.net/ Use, modification and distribution is subject to the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at htt...
26.445652
80
0.369503
Wultyc
73ef45ff7d7c6c526e0900f1bfcd59501ff46550
631
cpp
C++
labs/lab2/lab2ex3.cpp
MFarradji/inf3105
93ffd6a237acbb67072d69fb5a8be02439f59a04
[ "MIT" ]
null
null
null
labs/lab2/lab2ex3.cpp
MFarradji/inf3105
93ffd6a237acbb67072d69fb5a8be02439f59a04
[ "MIT" ]
null
null
null
labs/lab2/lab2ex3.cpp
MFarradji/inf3105
93ffd6a237acbb67072d69fb5a8be02439f59a04
[ "MIT" ]
2
2020-10-01T14:16:56.000Z
2021-07-06T16:31:33.000Z
/* UQAM / Département d'informatique INF3105 Laboratoire 2 - Type de passage de paramètres */ #include <iostream> using namespace std; void test(int a, int* b, int* c, int& d, int*& e) { a = 11; // effet local b++; // change l'adresse locale de b *c = 13; // change la valeur pointée par c d = 14; // ch...
21.758621
81
0.549921
MFarradji
73ef9efa27e8f90b624ed293882c5e581fd7c71f
1,838
hpp
C++
gamess/libqc/rysq/src/externals/cuda/grid.hpp
andremirt/v_cond
6b5c364d7cd4243686488b2bd4318be3927e07ea
[ "Unlicense" ]
null
null
null
gamess/libqc/rysq/src/externals/cuda/grid.hpp
andremirt/v_cond
6b5c364d7cd4243686488b2bd4318be3927e07ea
[ "Unlicense" ]
null
null
null
gamess/libqc/rysq/src/externals/cuda/grid.hpp
andremirt/v_cond
6b5c364d7cd4243686488b2bd4318be3927e07ea
[ "Unlicense" ]
null
null
null
#ifndef _CUDA_GRID_HPP_ #define _CUDA_GRID_HPP_ #include <vector> #include <algorithm> namespace cuda { template<typename T, size_t N> struct grid { typedef T* pointer; typedef const T* const_pointer; typedef size_t index_type[N]; typedef size_t size_type[N]; typedef std::vector<size_t> index_vector; ...
24.837838
69
0.622416
andremirt
73f10ba5b260e9287542d12ad5072bb629900394
746
cpp
C++
URI/Beginner/Experiments.cpp
Mhmd-Hisham/Problem-Solving
7ce0955b697e735c5ccb37347d9bec83e57339b5
[ "MIT" ]
null
null
null
URI/Beginner/Experiments.cpp
Mhmd-Hisham/Problem-Solving
7ce0955b697e735c5ccb37347d9bec83e57339b5
[ "MIT" ]
null
null
null
URI/Beginner/Experiments.cpp
Mhmd-Hisham/Problem-Solving
7ce0955b697e735c5ccb37347d9bec83e57339b5
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; char type; int total = 0; int T = 0, t = 0; double rats = 0, rabbits = 0, frogs = 0; int main () { cin >> T; while ( T-- ){ cin >> t >> type; total += t; if (type == 'C') rabbits+= t; else if (type == 'R') rats+= t; else if (type == 'S') frogs+=t; } print...
17.761905
65
0.552279
Mhmd-Hisham
73f10f75bfd82846c0192126ebb7fcc0d3fe852e
15,906
hpp
C++
include/filecache.hpp
virtualritz/jupiterfilecache
7799d3d2346b5a5a9fb293e7c7503012a82da906
[ "0BSD" ]
1
2021-03-17T23:32:29.000Z
2021-03-17T23:32:29.000Z
include/filecache.hpp
virtualritz/jupiterfilecache
7799d3d2346b5a5a9fb293e7c7503012a82da906
[ "0BSD" ]
null
null
null
include/filecache.hpp
virtualritz/jupiterfilecache
7799d3d2346b5a5a9fb293e7c7503012a82da906
[ "0BSD" ]
null
null
null
/**@file * * Multi location, multi process, thread-safe file cache library. * * @par License: * Copyright (C) 2007, 2010 Moritz Moeller * @par * This program 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...
43.697802
114
0.571231
virtualritz
73f1513f26ef5ad89a2d969229677e2bfdd9e6fb
1,923
hh
C++
libview/toolTip.hh
libview/libview
3d9b8bd63589e8bdc43638331bf6061127690cd3
[ "MIT" ]
2
2020-10-22T22:02:52.000Z
2021-12-13T18:07:16.000Z
libview/toolTip.hh
libview/libview
3d9b8bd63589e8bdc43638331bf6061127690cd3
[ "MIT" ]
null
null
null
libview/toolTip.hh
libview/libview
3d9b8bd63589e8bdc43638331bf6061127690cd3
[ "MIT" ]
null
null
null
/* ************************************************************************* * Copyright (c) 2005 VMware, Inc. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, incl...
29.136364
77
0.683307
libview
73f2d8777738af49152d925531e53867642cb0b1
49,565
hpp
C++
casadi/casadi-windows-matlabR2016a-v3/include/casadi/core/function_internal.hpp
pymBRT/TROPIC
77ec31d34dbd8d038674e966d13915f8032cf4ab
[ "BSD-3-Clause" ]
29
2020-05-11T16:59:10.000Z
2022-02-24T11:30:16.000Z
casadi/casadi-windows-matlabR2016a-v3/include/casadi/core/function_internal.hpp
pymBRT/TROPIC
77ec31d34dbd8d038674e966d13915f8032cf4ab
[ "BSD-3-Clause" ]
1
2021-02-04T04:20:55.000Z
2021-02-28T20:47:02.000Z
casadi/casadi-windows-matlabR2016a-v3/include/casadi/core/function_internal.hpp
pymBRT/TROPIC
77ec31d34dbd8d038674e966d13915f8032cf4ab
[ "BSD-3-Clause" ]
10
2020-06-22T22:41:32.000Z
2021-12-15T12:26:13.000Z
/* * This file is part of CasADi. * * CasADi -- A symbolic framework for dynamic optimization. * Copyright (C) 2010-2014 Joel Andersson, Joris Gillis, Moritz Diehl, * K.U. Leuven. All rights reserved. * Copyright (C) 2011-2014 Greg Horn * * CasADi is free software; you ...
35.327869
99
0.632664
pymBRT
73f5e63507d40ef432fc8611de96bd944670a229
7,374
cpp
C++
extensions/Particle3D/PU/CCPUSphereCollider.cpp
DelinWorks/adxe
0f1ba3a086d744bb52e157e649fa986ae3c7ab05
[ "MIT" ]
null
null
null
extensions/Particle3D/PU/CCPUSphereCollider.cpp
DelinWorks/adxe
0f1ba3a086d744bb52e157e649fa986ae3c7ab05
[ "MIT" ]
4
2020-10-22T05:45:37.000Z
2020-10-23T12:11:44.000Z
extensions/Particle3D/PU/CCPUSphereCollider.cpp
DelinWorks/adxe
0f1ba3a086d744bb52e157e649fa986ae3c7ab05
[ "MIT" ]
1
2020-10-22T03:17:28.000Z
2020-10-22T03:17:28.000Z
/**************************************************************************** Copyright (C) 2013 Henry van Merode. All rights reserved. Copyright (c) 2015-2016 Chukong Technologies Inc. Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. https://adxeproject.github.io/ Permission is hereby granted, free of cha...
36.50495
120
0.587469
DelinWorks
73f7790c7dcf98e5569d469d6aff2de8e5ecd2cb
3,963
cpp
C++
engine/liveupdate/src/liveupdate_private.cpp
Epitaph128/defold
554625a6438c38014b8f701c4a6e0ca684478618
[ "ECL-2.0", "Apache-2.0" ]
1
2020-05-19T15:47:07.000Z
2020-05-19T15:47:07.000Z
engine/liveupdate/src/liveupdate_private.cpp
CagdasErturk/defold
28e5eb635042d37e17cda4d33e47fce2b569cab8
[ "Apache-2.0" ]
null
null
null
engine/liveupdate/src/liveupdate_private.cpp
CagdasErturk/defold
28e5eb635042d37e17cda4d33e47fce2b569cab8
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 The Defold Foundation // Licensed under the Defold License version 1.0 (the "License"); you may not use // this file except in compliance with the License. // // You may obtain a copy of the License, together with FAQs at // https://www.defold.com/license // // Unless required by applicable law or a...
32.219512
128
0.587938
Epitaph128
73f8f3b6e4bf30367aff43d0951294b23415e79b
1,947
cc
C++
source/server/config/network/tcp_proxy.cc
georgi-d/envoy
3e6e4a73d5c1804842948088dd23b6f2f95ca377
[ "Apache-2.0" ]
null
null
null
source/server/config/network/tcp_proxy.cc
georgi-d/envoy
3e6e4a73d5c1804842948088dd23b6f2f95ca377
[ "Apache-2.0" ]
1
2017-11-22T09:35:42.000Z
2017-11-22T09:35:42.000Z
source/server/config/network/tcp_proxy.cc
georgi-d/envoy
3e6e4a73d5c1804842948088dd23b6f2f95ca377
[ "Apache-2.0" ]
null
null
null
#include "server/config/network/tcp_proxy.h" #include <string> #include "envoy/network/connection.h" #include "envoy/registry/registry.h" #include "common/config/filter_json.h" #include "common/filter/tcp_proxy.h" namespace Envoy { namespace Server { namespace Configuration { NetworkFilterFactoryCb TcpProxyConfigF...
36.055556
98
0.713919
georgi-d
73fa0df29d0bfc6c6ef21ca4a78445d954ac3077
23,102
cpp
C++
src/DX/d3dfont.cpp
HonzaMD/Krkal2
e53e9b096d89d1441ec472deb6d695c45bcae41f
[ "OLDAP-2.5" ]
1
2018-04-01T16:47:52.000Z
2018-04-01T16:47:52.000Z
src/DX/d3dfont.cpp
HonzaMD/Krkal2
e53e9b096d89d1441ec472deb6d695c45bcae41f
[ "OLDAP-2.5" ]
null
null
null
src/DX/d3dfont.cpp
HonzaMD/Krkal2
e53e9b096d89d1441ec472deb6d695c45bcae41f
[ "OLDAP-2.5" ]
null
null
null
//----------------------------------------------------------------------------- // File: D3DFont.cpp // // Desc: Texture-based font class // // Copyright (c) 1999-2000 Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- #define STRICT #in...
35.109422
106
0.54636
HonzaMD
73fbad51656fe480a2698c45b356bafeceecc7ce
17,577
cxx
C++
admin/netui/common/src/blt/bltcc/bltsi.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/netui/common/src/blt/bltcc/bltsi.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/netui/common/src/blt/bltcc/bltsi.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/**********************************************************************/ /** Microsoft Windows/NT **/ /** Copyright(c) Microsoft Corp., 1991 **/ /**********************************************************************/ /* bltsi.cxx Source file the BLT spin item FILE HISTORY: ...
25.363636
82
0.447972
npocmaka
bab71693892dc7b0edbbbf181f173dcb6ed26ca5
545
cpp
C++
src/mge/core/memory.cpp
mge-engine/mge
e7a6253f99dd640a655d9a80b94118d35c7d8139
[ "MIT" ]
null
null
null
src/mge/core/memory.cpp
mge-engine/mge
e7a6253f99dd640a655d9a80b94118d35c7d8139
[ "MIT" ]
91
2019-03-09T11:31:29.000Z
2022-02-27T13:06:06.000Z
src/mge/core/memory.cpp
mge-engine/mge
e7a6253f99dd640a655d9a80b94118d35c7d8139
[ "MIT" ]
null
null
null
// mge - Modern Game Engine // Copyright (c) 2021 by Alexander Schroeder // All rights reserved. #include "mge/core/memory.hpp" #include "mge/core/stdexceptions.hpp" namespace mge { void* mge::malloc(size_t size) { void* ptr = ::malloc(size); if (ptr == nullptr) { MGE_THROW(out_of_...
20.961538
79
0.537615
mge-engine
baba68f8fdc7c9d8737e2de56f1c697c1dfa92a3
52,502
cxx
C++
StRoot/St_geom_Maker/GeomBrowser.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
StRoot/St_geom_Maker/GeomBrowser.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
StRoot/St_geom_Maker/GeomBrowser.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
// Author: Valeri Fine 2/02/2009 // **************************************************************************** // ** $Id: GeomBrowser.cxx,v 1.25 2014/12/10 02:09:06 perev Exp $ #include "GeomBrowser.h" #include "StarGeomTreeWidget.h" #ifndef NO_GEANT_MAKER # include "StChain.h" # include "St_geant_Maker/St_geant...
37.077684
144
0.623214
xiaohaijin
babb0f31f384c06114789059edc72a0acc8dd312
653
hpp
C++
src/interpreter/headers/TokenFactory.hpp
Rishirai7/cpp_interpreter
77756cba2c426db70be562c6e0119bad45346eb6
[ "MIT" ]
1
2022-02-02T05:44:20.000Z
2022-02-02T05:44:20.000Z
src/interpreter/headers/TokenFactory.hpp
Rishirai7/cpp_interpreter
77756cba2c426db70be562c6e0119bad45346eb6
[ "MIT" ]
6
2022-01-16T21:04:02.000Z
2022-01-16T21:17:52.000Z
src/interpreter/headers/TokenFactory.hpp
Rishirai7/cpp_interpreter
77756cba2c426db70be562c6e0119bad45346eb6
[ "MIT" ]
1
2022-01-22T19:10:23.000Z
2022-01-22T19:10:23.000Z
/* Author: R. Baltrusch */ #pragma once #ifndef TOKENFACTORY_H #define TOKENFACTORY_H #include <any> #include <map> #include <regex> #include <string> #include <memory> #include "Token.hpp" #include "Value.hpp" class TokenFactory { ConstructorMap tokens, regexTokens; std::map<std::string, std::regex> compi...
19.787879
74
0.732006
Rishirai7
babbc2ec47bd228e431312083880830470369af5
24,748
hpp
C++
src/roles/client.hpp
lfranchi/websocketpp
85b9ed7cef7280f9889b08053f45feb6d1ff3204
[ "BSD-3-Clause" ]
2
2016-07-31T10:50:43.000Z
2017-01-03T21:00:50.000Z
src/roles/client.hpp
lfranchi/websocketpp
85b9ed7cef7280f9889b08053f45feb6d1ff3204
[ "BSD-3-Clause" ]
null
null
null
src/roles/client.hpp
lfranchi/websocketpp
85b9ed7cef7280f9889b08053f45feb6d1ff3204
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2011, Peter Thorson. 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 cond...
34.709677
106
0.608211
lfranchi
babcb1afef2e6b93c40daa6103741d6cf170644b
6,473
cc
C++
mindspore/ccsrc/plugin/device/cpu/kernel/concat_cpu_kernel.cc
httpsgithu/mindspore
c29d6bb764e233b427319cb89ba79e420f1e2c64
[ "Apache-2.0" ]
1
2022-02-23T09:13:43.000Z
2022-02-23T09:13:43.000Z
mindspore/ccsrc/plugin/device/cpu/kernel/concat_cpu_kernel.cc
949144093/mindspore
c29d6bb764e233b427319cb89ba79e420f1e2c64
[ "Apache-2.0" ]
null
null
null
mindspore/ccsrc/plugin/device/cpu/kernel/concat_cpu_kernel.cc
949144093/mindspore
c29d6bb764e233b427319cb89ba79e420f1e2c64
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2020-2022 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 applicabl...
46.235714
113
0.738298
httpsgithu
bac0f9d374c7a71b91251d284005ca1e8684d3f5
590
cpp
C++
Assignment11/solution.cpp
Cuda-Chen/NCTU-ItoA-2020-Fall
c7f8d34e949c4dff91cf5a15c0618b06cb4b53ed
[ "MIT" ]
1
2020-12-02T03:15:05.000Z
2020-12-02T03:15:05.000Z
Assignment11/solution.cpp
Cuda-Chen/NCTU-ItoA-2020-Fall
c7f8d34e949c4dff91cf5a15c0618b06cb4b53ed
[ "MIT" ]
null
null
null
Assignment11/solution.cpp
Cuda-Chen/NCTU-ItoA-2020-Fall
c7f8d34e949c4dff91cf5a15c0618b06cb4b53ed
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> using namespace std; int main() { int n; string str; cin >> n >> str; vector<vector<int>> dp(n + 2, vector<int>(n + 2)); for(int i = n; i >= 0; i--) { dp[i][i] = 1; dp[i][i + 1] = max(dp[i][i], dp[i + 1][i + 1]); for(int j = i + 2; j ...
22.692308
59
0.355932
Cuda-Chen
bac1c7032a228471cf41449ea6d023da3f050907
764
cpp
C++
ACM Training/2018-08-06 HDU多校第五场/E.cpp
Wycers/Codelib
86d83787aa577b8f2d66b5410e73102411c45e46
[ "MIT" ]
22
2018-08-07T06:55:10.000Z
2021-06-12T02:12:19.000Z
ACM Training/2018-08-06 HDU多校第五场/E.cpp
Wycers/Codelib
86d83787aa577b8f2d66b5410e73102411c45e46
[ "MIT" ]
28
2020-03-04T23:47:22.000Z
2022-02-26T18:50:00.000Z
ACM Training/2018-08-06 HDU多校第五场/E.cpp
Wycers/Codelib
86d83787aa577b8f2d66b5410e73102411c45e46
[ "MIT" ]
4
2019-11-09T15:41:26.000Z
2021-10-10T08:56:57.000Z
#include <cstdio> #include <cmath> using namespace std; const double pi = acos(-1.0); int n; double R; double dis(double x, double y) { return sqrt(x * x + y * y); } void solve() { scanf("%d%lf", &n, &R); double ans = 2 * pi * R, x, y, r; for (int i = 1; i <= n; ++i) { scanf("%lf%lf%lf", &x...
21.222222
70
0.410995
Wycers
bac49e69e6ea04deb1d5dae6ead0a70d5dedc163
9,886
hpp
C++
src/icebox/icebox/nt/nt_arch.hpp
remynicol/icebox
5ebc3ca57c09c27493e5ec8236d6d028d34d5fbd
[ "MIT" ]
null
null
null
src/icebox/icebox/nt/nt_arch.hpp
remynicol/icebox
5ebc3ca57c09c27493e5ec8236d6d028d34d5fbd
[ "MIT" ]
null
null
null
src/icebox/icebox/nt/nt_arch.hpp
remynicol/icebox
5ebc3ca57c09c27493e5ec8236d6d028d34d5fbd
[ "MIT" ]
null
null
null
#ifndef nt_namespace # error do not include this header directly #endif #include "icebox/types.hpp" namespace reader { struct Reader; } namespace nt_namespace { #ifdef WOW64 using ptr_t = uint32_t; #else using ptr_t = uint64_t; #endif using ACCESS_MASK = nt_types::ACCESS_MASK...
44.531532
86
0.504451
remynicol
baca0e5ed5984c9c29bbe04172e2d5e276f00451
8,041
hh
C++
src/utils/DivModByConst.hh
meesokim/openMSX
05c4a2c0c65d1d9d025d244ad492628971a51fb6
[ "Naumen", "Condor-1.1", "MS-PL" ]
4
2015-06-19T04:49:29.000Z
2022-02-16T15:02:04.000Z
src/utils/DivModByConst.hh
meesokim/openMSX
05c4a2c0c65d1d9d025d244ad492628971a51fb6
[ "Naumen", "Condor-1.1", "MS-PL" ]
1
2016-01-02T15:55:29.000Z
2016-01-02T15:55:29.000Z
src/utils/DivModByConst.hh
meesokim/openMSX
05c4a2c0c65d1d9d025d244ad492628971a51fb6
[ "Naumen", "Condor-1.1", "MS-PL" ]
2
2020-01-17T02:06:13.000Z
2021-06-10T17:13:07.000Z
#ifndef DIVMODBYCONST #define DIVMODBYCONST #include "build-info.hh" #include <type_traits> #include <cstdint> /** Utility class to optimize 64-bit divide/module by a 32-bit constant. * For 32-bit by 32-bit gcc already does this optimiztion (on 64-bit * CPUs gcc also does it for 64-bit operands). This optimization ...
31.90873
101
0.648302
meesokim
bacbb2da043bdfff60ef9dc61b345ea75fdcd07c
6,248
cc
C++
modules/guardian/guardian_component.cc
aaaaliyun/apollo
5d4bb57a253327434c829ab5b6936916f5b229da
[ "Apache-2.0" ]
null
null
null
modules/guardian/guardian_component.cc
aaaaliyun/apollo
5d4bb57a253327434c829ab5b6936916f5b229da
[ "Apache-2.0" ]
null
null
null
modules/guardian/guardian_component.cc
aaaaliyun/apollo
5d4bb57a253327434c829ab5b6936916f5b229da
[ "Apache-2.0" ]
null
null
null
/****************************************************************************** * Copyright 2018 The Apollo Authors. 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 ...
41.653333
146
0.609955
aaaaliyun
bacc522352f2498e4cb76d40f33d8470fff2ee8e
6,705
cc
C++
Geometry/TrackerCommonData/plugins/DDTrackerRingAlgo.cc
bisnupriyasahu/cmssw
6cf37ca459246525be0e8a6f5172c6123637d259
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
Geometry/TrackerCommonData/plugins/DDTrackerRingAlgo.cc
bisnupriyasahu/cmssw
6cf37ca459246525be0e8a6f5172c6123637d259
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
Geometry/TrackerCommonData/plugins/DDTrackerRingAlgo.cc
bisnupriyasahu/cmssw
6cf37ca459246525be0e8a6f5172c6123637d259
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
/////////////////////////////////////////////////////////////////////////////// // File: DDTrackerRingAlgo.cc // Description: Tilts and positions n copies of a module at prescribed phi // values within a ring. The module can also be flipped if requested. ////////////////////////////////////////////////////////////////...
37.25
123
0.611782
bisnupriyasahu
bacd4392eaea15c0cac88b660fb197f0f9c3a79d
1,606
cpp
C++
src/Utils/Utils.cpp
per1234/arduino-nemeus-lib
c9a62d707b5e34ca3944d2b91040e309866c49e6
[ "Apache-2.0" ]
3
2017-04-05T11:43:37.000Z
2018-09-24T07:12:05.000Z
src/Utils/Utils.cpp
per1234/arduino-nemeus-lib
c9a62d707b5e34ca3944d2b91040e309866c49e6
[ "Apache-2.0" ]
null
null
null
src/Utils/Utils.cpp
per1234/arduino-nemeus-lib
c9a62d707b5e34ca3944d2b91040e309866c49e6
[ "Apache-2.0" ]
4
2018-07-17T09:17:51.000Z
2021-07-02T08:59:17.000Z
/** __ __ __ * |\ | |_ |\/| |_ | | (_ * | \| |__ | | |__ |__| __) * * Utils.cpp - Utils functions * * Copyright (C) 2017 Nemeus - All Rights Reserved * * This file is part of Nemeus Smart IoT Sensor (Tm) SDK. * * Licensed under the Apache License, Version 2.0 (the "License...
20.329114
75
0.654421
per1234
bacdff80c95820123d28565c22915eaa1f575ce4
1,070
hh
C++
src/game/units/Car.hh
zermingore/warevolved
efd0c506658ce6e4ecb6c7eb5bb7d620bc05fd52
[ "MIT" ]
1
2019-09-23T18:16:27.000Z
2019-09-23T18:16:27.000Z
src/game/units/Car.hh
zermingore/warevolved
efd0c506658ce6e4ecb6c7eb5bb7d620bc05fd52
[ "MIT" ]
2
2018-11-12T18:48:03.000Z
2018-11-15T21:10:02.000Z
src/game/units/Car.hh
zermingore/warevolved
efd0c506658ce6e4ecb6c7eb5bb7d620bc05fd52
[ "MIT" ]
null
null
null
/** * \file * \date June 2, 2019 * \author Zermingore * \brief Car (specific Unit) class declaration */ #ifndef CAR_HH_ # define CAR_HH_ # include <string> # include <game/units/Vehicle.hh> /** * \class Car * \brief Specialization of Unit class */ class Car: public Vehicle { public: /** * \brief Defau...
20.980392
80
0.661682
zermingore
bace3256801a02abb89a4b55461461a1d6d25595
2,945
hpp
C++
include/eve/module/core/regular/is_ordered.hpp
clayne/eve
dc268b5db474376e1c53f5a474f5bb42b7c4cb59
[ "MIT" ]
null
null
null
include/eve/module/core/regular/is_ordered.hpp
clayne/eve
dc268b5db474376e1c53f5a474f5bb42b7c4cb59
[ "MIT" ]
null
null
null
include/eve/module/core/regular/is_ordered.hpp
clayne/eve
dc268b5db474376e1c53f5a474f5bb42b7c4cb59
[ "MIT" ]
null
null
null
//================================================================================================== /* EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT */ //================================================================================================== #pr...
31.329787
107
0.403396
clayne
bacf2591b98af5e76388ccc6775650e0d626c85d
4,230
cpp
C++
test/test_object.cpp
Mu-L/nvui
568e9cb17970c56cee8909ac4f39ea7ab52bc46a
[ "MIT" ]
1,503
2021-08-29T16:57:50.000Z
2022-03-29T12:15:09.000Z
test/test_object.cpp
Mu-L/nvui
568e9cb17970c56cee8909ac4f39ea7ab52bc46a
[ "MIT" ]
94
2021-08-29T17:06:23.000Z
2022-03-26T03:32:20.000Z
test/test_object.cpp
Mu-L/nvui
568e9cb17970c56cee8909ac4f39ea7ab52bc46a
[ "MIT" ]
44
2021-08-29T18:11:09.000Z
2022-03-14T08:05:35.000Z
#include <msgpack.hpp> #include "object.hpp" #include <catch2/catch.hpp> #include <iostream> #include <sstream> template<typename T> msgpack::object_handle pack_unpack(const T& t) { std::stringstream ss; msgpack::pack(ss, t); const auto& s = ss.str(); return msgpack::unpack(s.data(), s.size()); } TEST_CASE("O...
29.58042
68
0.592199
Mu-L
bad2e81c117aaa0b604c7c5bcfb338229ca669f0
7,607
cpp
C++
Source/WebCore/platform/graphics/GeometryUtilities.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
6
2021-07-05T16:09:39.000Z
2022-03-06T22:44:42.000Z
Source/WebCore/platform/graphics/GeometryUtilities.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
7
2022-03-15T13:25:39.000Z
2022-03-15T13:25:44.000Z
Source/WebCore/platform/graphics/GeometryUtilities.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (C) 2014 Apple 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: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
37.845771
173
0.681609
jacadcaps
bad39e8fdca14d39e241f3cb6f2c4b057e3e8b15
2,103
cc
C++
src/utils/ambry_bitset_test.cc
pengdu/bubblefs
9b27e191a287b3a1d012adfd3bab6a30629a5f33
[ "BSD-3-Clause" ]
1
2021-01-11T14:19:51.000Z
2021-01-11T14:19:51.000Z
src/utils/ambry_bitset_test.cc
pengdu/bubblefs
9b27e191a287b3a1d012adfd3bab6a30629a5f33
[ "BSD-3-Clause" ]
null
null
null
src/utils/ambry_bitset_test.cc
pengdu/bubblefs
9b27e191a287b3a1d012adfd3bab6a30629a5f33
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright 2016 LinkedIn Corp. 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 applica...
28.418919
77
0.705183
pengdu
bad4c56593b298d9f0302a0d673da1458535c2c9
3,704
cpp
C++
isis/src/base/objs/PvlTokenizer/unitTest.cpp
kdl222/ISIS3
aab0e63088046690e6c031881825596c1c2cc380
[ "CC0-1.0" ]
134
2018-01-18T00:16:24.000Z
2022-03-24T03:53:33.000Z
isis/src/base/objs/PvlTokenizer/unitTest.cpp
kdl222/ISIS3
aab0e63088046690e6c031881825596c1c2cc380
[ "CC0-1.0" ]
3,825
2017-12-11T21:27:34.000Z
2022-03-31T21:45:20.000Z
isis/src/base/objs/PvlTokenizer/unitTest.cpp
jlaura/isis3
2c40e08caed09968ea01d5a767a676172ad20080
[ "CC0-1.0" ]
164
2017-11-30T21:15:44.000Z
2022-03-23T10:22:29.000Z
/** This is free and unencumbered software released into the public domain. The authors of ISIS do not claim copyright on the contents of this file. For more details about the LICENSE terms and the AUTHORS, you will find files of those names at the top level of this repository. **/ /* SPDX-License-Identifier: CC0-1.0 ...
24.529801
79
0.49784
kdl222
bad4eb54561d853d1984f691d539d80ce2af33f2
144,644
cpp
C++
src/qt/qtbase/qmake/generators/makefile.cpp
viewdy/phantomjs
eddb0db1d253fd0c546060a4555554c8ee08c13c
[ "BSD-3-Clause" ]
1
2021-02-09T10:24:31.000Z
2021-02-09T10:24:31.000Z
src/qt/qtbase/qmake/generators/makefile.cpp
mrampersad/phantomjs
dca6f77a36699eb4e1c46f7600cca618f01b0ac3
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/qmake/generators/makefile.cpp
mrampersad/phantomjs
dca6f77a36699eb4e1c46f7600cca618f01b0ac3
[ "BSD-3-Clause" ]
1
2017-03-19T13:03:23.000Z
2017-03-19T13:03:23.000Z
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the qmake application of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licen...
42.806748
165
0.511338
viewdy
badb4645a9630cf59f8d5304a4b44117398245a3
4,702
cc
C++
test/ccunit/mace/ops/arm/arm82/gemm_test.cc
fantasyRqg/mace
6901d36099e533148952f8d403d28000fa240153
[ "Apache-2.0" ]
4,756
2018-06-28T01:42:29.000Z
2022-03-31T11:27:43.000Z
test/ccunit/mace/ops/arm/arm82/gemm_test.cc
fantasyRqg/mace
6901d36099e533148952f8d403d28000fa240153
[ "Apache-2.0" ]
725
2018-06-28T08:09:18.000Z
2022-03-29T06:37:01.000Z
test/ccunit/mace/ops/arm/arm82/gemm_test.cc
fantasyRqg/mace
6901d36099e533148952f8d403d28000fa240153
[ "Apache-2.0" ]
878
2018-06-28T01:42:33.000Z
2022-03-31T07:08:50.000Z
// Copyright 2020 The MACE Authors. 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 appl...
43.943925
79
0.694598
fantasyRqg
badbf2a0d96f43b6f0d11c4f41d1a7371c7296e2
9,732
cpp
C++
clang-tools-extra/clang-tidy/readability/UppercaseLiteralSuffixCheck.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
2,338
2018-06-19T17:34:51.000Z
2022-03-31T11:00:37.000Z
clang-tools-extra/clang-tidy/readability/UppercaseLiteralSuffixCheck.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
clang-tools-extra/clang-tidy/readability/UppercaseLiteralSuffixCheck.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
500
2019-01-23T07:49:22.000Z
2022-03-30T02:59:37.000Z
//===--- UppercaseLiteralSuffixCheck.cpp - clang-tidy ---------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
39.40081
80
0.703555
mkinsner
badc9dccece136b926120172fcb98ebb60b91ab3
741
cpp
C++
libraries/pointers/src/PickTransformNode.cpp
Darlingnotin/Antisocial_VR
f1debafb784ed5a63a40fe9b80790fbaccfedfce
[ "Apache-2.0" ]
272
2021-01-07T03:06:08.000Z
2022-03-25T03:54:07.000Z
libraries/pointers/src/PickTransformNode.cpp
Darlingnotin/Antisocial_VR
f1debafb784ed5a63a40fe9b80790fbaccfedfce
[ "Apache-2.0" ]
1,021
2020-12-12T02:33:32.000Z
2022-03-31T23:36:37.000Z
libraries/pointers/src/PickTransformNode.cpp
Darlingnotin/Antisocial_VR
f1debafb784ed5a63a40fe9b80790fbaccfedfce
[ "Apache-2.0" ]
77
2020-12-15T06:59:34.000Z
2022-03-23T22:18:04.000Z
// // Created by Sabrina Shanman 2018/08/22 // Copyright 2018 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include "PickTransformNode.h" #include "DependencyManager.h" #include "PickManager....
22.454545
88
0.709852
Darlingnotin
bade0ae118df2427739823a2ca52c6c9120a42ec
8,647
cc
C++
Boss2D/addon/webrtc-jumpingyang001_for_boss/rtc_base/sslidentity.cc
Yash-Wasalwar-07/Boss2D
37c5ba0f1c83c89810359a207cabfa0905f803d2
[ "MIT" ]
null
null
null
Boss2D/addon/webrtc-jumpingyang001_for_boss/rtc_base/sslidentity.cc
Yash-Wasalwar-07/Boss2D
37c5ba0f1c83c89810359a207cabfa0905f803d2
[ "MIT" ]
null
null
null
Boss2D/addon/webrtc-jumpingyang001_for_boss/rtc_base/sslidentity.cc
Yash-Wasalwar-07/Boss2D
37c5ba0f1c83c89810359a207cabfa0905f803d2
[ "MIT" ]
null
null
null
/* * Copyright 2004 The WebRTC 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 in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing ...
32.878327
117
0.634555
Yash-Wasalwar-07
bae186b86e8137b246bc0265b48e5aee040e6de8
4,838
hpp
C++
FlexEngine/include/Types.hpp
ajweeks/Rendering-Engine
fe0f2cdb44a067fec875110572b3b91f5f4c659c
[ "MIT" ]
762
2017-11-07T23:40:58.000Z
2022-03-31T16:03:22.000Z
FlexEngine/include/Types.hpp
ajweeks/Rendering-Engine
fe0f2cdb44a067fec875110572b3b91f5f4c659c
[ "MIT" ]
5
2018-03-13T14:41:06.000Z
2020-11-01T12:02:29.000Z
FlexEngine/include/Types.hpp
ajweeks/Rendering-Engine
fe0f2cdb44a067fec875110572b3b91f5f4c659c
[ "MIT" ]
43
2017-11-17T11:22:37.000Z
2022-03-14T01:51:19.000Z
#pragma once #include <cstdint> #include <limits> #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) #define ARRAY_LENGTH(a) ARRAY_SIZE(a) namespace flex { class GameObject; using u8 = uint8_t; using u16 = uint16_t; using u32 = uint32_t; using u64 = uint64_t; using i8 = int8_t; using i16 = int16_t; using i32 ...
27.804598
140
0.740389
ajweeks
bae23086d6dc785f0bf791547c3e053867f3dc79
47,016
cpp
C++
src/hotspot/cpu/aarch64/c1_LIRGenerator_aarch64.cpp
1690296356/jdk
eaf668d1510c28d51e26c397b582b66ebdf7e263
[ "Apache-2.0" ]
null
null
null
src/hotspot/cpu/aarch64/c1_LIRGenerator_aarch64.cpp
1690296356/jdk
eaf668d1510c28d51e26c397b582b66ebdf7e263
[ "Apache-2.0" ]
null
null
null
src/hotspot/cpu/aarch64/c1_LIRGenerator_aarch64.cpp
1690296356/jdk
eaf668d1510c28d51e26c397b582b66ebdf7e263
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2005, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2014, Red Hat Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Pu...
33.53495
151
0.643717
1690296356
bae30a1fdd81079e31eaa7ce5cdb4f86372d283e
12,097
cpp
C++
src/io/general_io/io_submit_handler.cpp
mjlee34/poseidonos
8eff75c5ba7af8090d3ff4ac51d7507b37571f9b
[ "BSD-3-Clause" ]
null
null
null
src/io/general_io/io_submit_handler.cpp
mjlee34/poseidonos
8eff75c5ba7af8090d3ff4ac51d7507b37571f9b
[ "BSD-3-Clause" ]
null
null
null
src/io/general_io/io_submit_handler.cpp
mjlee34/poseidonos
8eff75c5ba7af8090d3ff4ac51d7507b37571f9b
[ "BSD-3-Clause" ]
null
null
null
/* * BSD LICENSE * Copyright (c) 2021 Samsung Electronics Corporation * 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 th...
31.502604
91
0.671737
mjlee34
bae40de52fdcf5a60576133398cae77b19f95b66
65,658
cpp
C++
src/condor_startd.V6/claim.cpp
krowenrao/htcondor
9cd7983fe4318849b9a133ee28c56cbfa2773de7
[ "Apache-2.0" ]
null
null
null
src/condor_startd.V6/claim.cpp
krowenrao/htcondor
9cd7983fe4318849b9a133ee28c56cbfa2773de7
[ "Apache-2.0" ]
null
null
null
src/condor_startd.V6/claim.cpp
krowenrao/htcondor
9cd7983fe4318849b9a133ee28c56cbfa2773de7
[ "Apache-2.0" ]
null
null
null
/*************************************************************** * * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. Y...
25.340795
174
0.668829
krowenrao
bae47735b78d62e3c90297f5ba0bc56aa4454e03
4,648
cc
C++
control/hover/hover_experiments_test.cc
leozz37/makani
c94d5c2b600b98002f932e80a313a06b9285cc1b
[ "Apache-2.0" ]
1,178
2020-09-10T17:15:42.000Z
2022-03-31T14:59:35.000Z
control/hover/hover_experiments_test.cc
leozz37/makani
c94d5c2b600b98002f932e80a313a06b9285cc1b
[ "Apache-2.0" ]
1
2020-05-22T05:22:35.000Z
2020-05-22T05:22:35.000Z
control/hover/hover_experiments_test.cc
leozz37/makani
c94d5c2b600b98002f932e80a313a06b9285cc1b
[ "Apache-2.0" ]
107
2020-09-10T17:29:30.000Z
2022-03-18T09:00:14.000Z
// Copyright 2020 Makani Technologies LLC // // 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 ...
36.888889
78
0.778399
leozz37
bae47973a150073695f4bd0c7722ce17bb7907fd
7,485
cpp
C++
s2/prodconsN_su_lifo.cpp
dcabezas98/SCD
1f1e88d9f1256c585368cb3a1d2481d8f67d80f5
[ "MIT" ]
1
2019-06-01T18:18:08.000Z
2019-06-01T18:18:08.000Z
s2/prodconsN_su_lifo.cpp
dcabezas98/SCD
1f1e88d9f1256c585368cb3a1d2481d8f67d80f5
[ "MIT" ]
null
null
null
s2/prodconsN_su_lifo.cpp
dcabezas98/SCD
1f1e88d9f1256c585368cb3a1d2481d8f67d80f5
[ "MIT" ]
null
null
null
// ----------------------------------------------------------------------------- // // Sistemas concurrentes y Distribuidos. // Seminario 2. Introducción a los monitores en C++11. // // archivo: prodconsN_su_lifo.cpp // Ejemplo de un monitor en C++11 con semántica SU, para el problema // del productor/consumidor, con v...
32.402597
102
0.515564
dcabezas98
bae4f8a8b44e2debe1febe913da4b3938bdbddb4
298
cpp
C++
Necromancer/Logger.cpp
myffx36/RenderingEngine
38df29966b3126744fb40c2a97775ae44cea92f9
[ "MIT" ]
null
null
null
Necromancer/Logger.cpp
myffx36/RenderingEngine
38df29966b3126744fb40c2a97775ae44cea92f9
[ "MIT" ]
null
null
null
Necromancer/Logger.cpp
myffx36/RenderingEngine
38df29966b3126744fb40c2a97775ae44cea92f9
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "Logger.h" #include "Necromancer.h" namespace Necromancer{ Logger::~Logger(){ } void Log(const String& str){ Necromancer* nec = Necromancer::get_instance(); Logger* logger = nec->logger(); logger->Log(str); } void Logger::Log(const String& str){ } }
13.545455
49
0.661074
myffx36
bae5513a3ea4821dee9cc3868b850df7efa848d8
13,007
cpp
C++
sdk/physx/2.8.3/Samples/SampleTerrain/src/NxSampleTerrain.cpp
daher-alfawares/xr.desktop
218a7cff7a9be5865cf786d7cad31da6072f7348
[ "Apache-2.0" ]
1
2018-09-20T10:01:30.000Z
2018-09-20T10:01:30.000Z
sdk/physx/2.8.3/Samples/SampleTerrain/src/NxSampleTerrain.cpp
daher-alfawares/xr.desktop
218a7cff7a9be5865cf786d7cad31da6072f7348
[ "Apache-2.0" ]
null
null
null
sdk/physx/2.8.3/Samples/SampleTerrain/src/NxSampleTerrain.cpp
daher-alfawares/xr.desktop
218a7cff7a9be5865cf786d7cad31da6072f7348
[ "Apache-2.0" ]
null
null
null
// =============================================================================== // // NVIDIA PhysX SDK Sample Program // // Title: Terrain Sample // Description: This sample program builds a terrain and shows some of the debug // information that you can receive from the SDK. // // =============...
25.158607
149
0.700238
daher-alfawares
bae7ae1c11b6c787b7a287606c0a567b6e22e14c
22,959
cpp
C++
PVSNES/PVSNES/SNES/SNESCore/fxdbg.cpp
DaddyCal/Provenance
cda9464b4bef6dd48f9977047c4af90aca80c5a7
[ "BSD-3-Clause" ]
2
2015-10-03T18:38:58.000Z
2022-03-02T17:05:42.000Z
PVSNES/PVSNES/SNES/SNESCore/fxdbg.cpp
DaddyCal/Provenance
cda9464b4bef6dd48f9977047c4af90aca80c5a7
[ "BSD-3-Clause" ]
2
2015-05-13T10:06:29.000Z
2016-04-18T12:09:59.000Z
PVSNES/PVSNES/SNES/SNESCore/fxdbg.cpp
DaddyCal/Provenance
cda9464b4bef6dd48f9977047c4af90aca80c5a7
[ "BSD-3-Clause" ]
null
null
null
/*********************************************************************************** Snes9x - Portable Super Nintendo Entertainment System (TM) emulator. (c) Copyright 1996 - 2002 Gary Henderson (gary.henderson@ntlworld.com), Jerremy Koot (jkoot@snes9x.com) (c) Copyright 2002 - 200...
16.088998
108
0.490135
DaddyCal
bae827acd8db57d0f8481d75cda715e43792dc3d
6,351
cpp
C++
hphp/compiler/expression/modifier_expression.cpp
radford/hhvm
a7cd6754d14742b40528c847b607a1608cfcfe98
[ "PHP-3.01", "Zend-2.0" ]
1
2015-02-12T07:24:28.000Z
2015-02-12T07:24:28.000Z
hphp/compiler/expression/modifier_expression.cpp
radford/hhvm
a7cd6754d14742b40528c847b607a1608cfcfe98
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/compiler/expression/modifier_expression.cpp
radford/hhvm
a7cd6754d14742b40528c847b607a1608cfcfe98
[ "PHP-3.01", "Zend-2.0" ]
1
2015-06-16T05:47:12.000Z
2015-06-16T05:47:12.000Z
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-2014 Facebook, Inc. (http://www.facebook.com) | +---------...
28.737557
79
0.568414
radford
bae9c7fdbb5ee0bb07c78a649ab45b696c9a32fa
2,940
cpp
C++
Engine/Source/ThirdParty/PhysX/PxShared/src/foundation/samples/TestFoundation/TestFoundation.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/ThirdParty/PhysX/PxShared/src/foundation/samples/TestFoundation/TestFoundation.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/ThirdParty/PhysX/PxShared/src/foundation/samples/TestFoundation/TestFoundation.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Include all public foundation header files #include "foundation/PxCTypes.h" #include "foundation/PxFoundationInterface.h" #include "PsGlobals.h" #include "PsVersionNumber.h" // Now include shared foundation header files #include "Ps.h" #include "PsAlignedMalloc.h" #include "PsAlloca.h" #include "PsAllocator.h" #in...
19.6
108
0.728571
windystrife
baeca18c4b053d28c486e82663baac829ceca969
1,838
cpp
C++
C++/082_Remove_Duplicates_From_Sorted_Lists_II.cpp
stephenkid/LeetCode-Sol
8cb429652e0741ca4078b6de5f9eeaddcb8607a8
[ "MIT" ]
1,958
2015-01-30T01:19:03.000Z
2022-03-17T03:34:47.000Z
src/main/cpp/082_Remove_Duplicates_From_Sorted_Lists_II.cpp
TechnoBlogger14o3/LeetCode-Sol-Res
04621f21a76fab29909c1fa04a37417257a88f63
[ "MIT" ]
135
2016-03-03T04:53:10.000Z
2022-03-03T21:14:37.000Z
src/main/cpp/082_Remove_Duplicates_From_Sorted_Lists_II.cpp
TechnoBlogger14o3/LeetCode-Sol-Res
04621f21a76fab29909c1fa04a37417257a88f63
[ "MIT" ]
914
2015-01-27T22:27:22.000Z
2022-03-05T04:25:10.000Z
// 82 Remove Duplicates from Sorted List II /** * Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list. * * For example, * Given 1->2->3->3->4->4->5, return 1->2->5. * Given 1->1->1->2->3, return 2->3. * * Tag: Linked List * * Author: Yanb...
23.564103
129
0.59086
stephenkid
baf1b2695f834fccfc4abdb4cdcb1e2a43408277
368
cpp
C++
C++programlecurer.cpp
Mohamed742/C-AIMS-SA-2018
a59ba718872dfae0f8ee216b10dbb66db3e8a921
[ "Apache-2.0" ]
null
null
null
C++programlecurer.cpp
Mohamed742/C-AIMS-SA-2018
a59ba718872dfae0f8ee216b10dbb66db3e8a921
[ "Apache-2.0" ]
null
null
null
C++programlecurer.cpp
Mohamed742/C-AIMS-SA-2018
a59ba718872dfae0f8ee216b10dbb66db3e8a921
[ "Apache-2.0" ]
null
null
null
#include<iostream> using namespace std; int pow_itreative(int q, int n){ int out = 1 ; for( int i = 0 ; i < n;i++) out *= q; return out; } int main() { int x; int y; cout<< " Enter value for x" ; cin >> x; cout << "enter value of y" ; cin >> y ; cout<< x<< "^" << y << "=...
17.52381
60
0.480978
Mohamed742
baf24e965b09d1c95ad8c0cec2cbddc033e9d2a1
7,311
cpp
C++
grasp_generation/graspitmodified_lm/graspit/src/bodySensor.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
grasp_generation/graspitmodified_lm/graspit/src/bodySensor.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
grasp_generation/graspitmodified_lm/graspit/src/bodySensor.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
#include <Inventor/nodes/SoCone.h> #include <Inventor/nodes/SoCoordinate3.h> #include <Inventor/nodes/SoCylinder.h> #include <Inventor/nodes/SoIndexedFaceSet.h> #include <Inventor/nodes/SoMaterial.h> #include <Inventor/nodes/SoTransform.h> #include <Inventor/nodes/SoTranslation.h> #include <Inventor/nodes/SoSeparator.h...
29.719512
120
0.668718
KraftOreo
baf2dd7de6fb3239434b1bc0ba6a7d66f5e49b51
4,347
cpp
C++
src/lnGPIO.cpp
mean00/Arduino_gd32_freeRTOS
de1828faaa5df79ee244c93ad45cf1dd63986f9f
[ "MIT" ]
4
2021-09-06T14:38:23.000Z
2022-03-13T01:15:48.000Z
src/lnGPIO.cpp
mean00/Arduino_gd32_freeRTOS
de1828faaa5df79ee244c93ad45cf1dd63986f9f
[ "MIT" ]
1
2021-10-14T09:38:56.000Z
2021-10-14T10:11:21.000Z
src/lnGPIO.cpp
mean00/lnArduino
de1828faaa5df79ee244c93ad45cf1dd63986f9f
[ "MIT" ]
null
null
null
/* * (C) 2021 MEAN00 fixounet@free.fr * See license file */ #include "lnArduino.h" #include "lnGPIO.h" #include "lnGPIO_priv.h" #include "lnAFIO_priv.h" #include "lnPeripheral_priv.h" #include "lnPinMapping.h" #include "lnTimer.h" static LN_GPIO *gpio[5]={(LN_GPIO *)LN_GPIOA_ADR,(LN_GPIO *)LN_GPIOB_ADR,(LN_GPIO...
22.06599
147
0.564297
mean00
baf6ff571250a77ad795bb64716bc32be16a849b
2,974
cxx
C++
Modules/Segmentation/Labelling/test/otbLabelizeNeighborhoodConnectedImageFilter.cxx
xcorail/OTB
092a93654c3b5d009e420f450fe9b675f737cdca
[ "Apache-2.0" ]
2
2019-02-13T14:48:19.000Z
2019-12-03T02:54:28.000Z
Modules/Segmentation/Labelling/test/otbLabelizeNeighborhoodConnectedImageFilter.cxx
xcorail/OTB
092a93654c3b5d009e420f450fe9b675f737cdca
[ "Apache-2.0" ]
3
2015-10-14T10:11:38.000Z
2015-10-15T08:26:23.000Z
Modules/Segmentation/Labelling/test/otbLabelizeNeighborhoodConnectedImageFilter.cxx
xcorail/OTB
092a93654c3b5d009e420f450fe9b675f737cdca
[ "Apache-2.0" ]
2
2019-01-17T10:36:14.000Z
2019-12-03T02:54:36.000Z
/* * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * 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 ...
35.404762
108
0.756893
xcorail
baf75d722d2e6114a56b8d31220c443a15a9d494
2,906
cc
C++
src/kml/base/time_util_test.cc
KalgogSmash/libkml-unboosted
c10c028522b7da344b138c28243072d76b710ee1
[ "BSD-3-Clause" ]
77
2015-01-05T14:26:13.000Z
2021-12-28T00:51:00.000Z
src/kml/base/time_util_test.cc
KalgogSmash/libkml-unboosted
c10c028522b7da344b138c28243072d76b710ee1
[ "BSD-3-Clause" ]
116
2015-04-04T20:39:20.000Z
2022-02-15T12:05:00.000Z
src/kml/base/time_util_test.cc
KalgogSmash/libkml-unboosted
c10c028522b7da344b138c28243072d76b710ee1
[ "BSD-3-Clause" ]
71
2015-02-14T10:54:05.000Z
2022-03-23T17:42:29.000Z
// Copyright 2008, 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: // // 1. Redistributions of source code must retain the above copyright notice, // this list of conditions an...
40.361111
80
0.738472
KalgogSmash
baf7d718ccfe4ff2a7ca06e3e19d13328d1f71d7
1,532
hpp
C++
src/fs_inode.hpp
rubicon/mergerfs
3db673410f5f8d3a9c7d964128888c7d56ff8883
[ "0BSD" ]
2,591
2015-05-01T13:02:59.000Z
2022-03-31T12:57:22.000Z
src/fs_inode.hpp
rubicon/mergerfs
3db673410f5f8d3a9c7d964128888c7d56ff8883
[ "0BSD" ]
505
2015-01-22T21:28:58.000Z
2022-03-31T22:07:49.000Z
src/fs_inode.hpp
rubicon/mergerfs
3db673410f5f8d3a9c7d964128888c7d56ff8883
[ "0BSD" ]
144
2015-07-27T15:35:16.000Z
2022-03-21T07:44:16.000Z
/* ISC License Copyright (c) 2016, Antonio SJ Musumeci <trapexit@spawn.link> 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 all copies. THE SOFTWARE IS PR...
30.039216
74
0.671018
rubicon
bafad14c9136d63bc81150d20a8756f47653c424
1,269
cpp
C++
AnalysisPresenter/src/BaseBundle.cpp
peterthomassen/RutgersIAF
50fd20b79b8bce30478d49e1ce7c763424e094f1
[ "MIT" ]
null
null
null
AnalysisPresenter/src/BaseBundle.cpp
peterthomassen/RutgersIAF
50fd20b79b8bce30478d49e1ce7c763424e094f1
[ "MIT" ]
null
null
null
AnalysisPresenter/src/BaseBundle.cpp
peterthomassen/RutgersIAF
50fd20b79b8bce30478d49e1ce7c763424e094f1
[ "MIT" ]
null
null
null
#include "RutgersIAF/AnalysisPresenter/interface/BaseBundle.h" #include <assert.h> #include <exception> #include <iostream> #include "TAxis.h" #include "TFile.h" #include "THnBase.h" #include "TTree.h" using namespace std; ClassImp(BaseBundle) BaseBundle::BaseBundle() { /* no-op */ } BaseBundle::BaseBundle(TStri...
19.523077
174
0.735225
peterthomassen
bafe00bdce5f834f8f9dd136258d6e2798e5ad01
10,254
hpp
C++
include/nudb/_experimental/test/test_store.hpp
movitto/NuDB
79c1dcaec8aa54d93979fb56c66ab4d925eda29c
[ "BSL-1.0" ]
279
2016-08-24T18:50:33.000Z
2022-01-17T22:28:17.000Z
include/nudb/_experimental/test/test_store.hpp
movitto/NuDB
79c1dcaec8aa54d93979fb56c66ab4d925eda29c
[ "BSL-1.0" ]
61
2016-08-23T23:26:00.000Z
2019-04-04T22:26:26.000Z
include/nudb/_experimental/test/test_store.hpp
movitto/NuDB
79c1dcaec8aa54d93979fb56c66ab4d925eda29c
[ "BSL-1.0" ]
44
2016-08-25T19:17:03.000Z
2021-09-10T08:14:00.000Z
// // Copyright (c) 2015-2016 Vinnie Falco (vinnie dot falco at gmail dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #ifndef NUDB_TEST_TEST_STORE_HPP #define NUDB_TEST_TEST_STORE_HPP #include <nudb...
22.685841
109
0.552662
movitto
bafe4dd6e66587678820acb0e8d0ef4cbd39dbc5
301
cpp
C++
Dataset/Leetcode/train/53/271.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/53/271.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/53/271.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: int XXX(vector<int>& nums) { int result = nums[0]; int sum = 0; for(const auto &ele : nums) { sum += ele; if(sum > result) result = sum; if(sum<0) sum = 0; } return result; } };
18.8125
42
0.418605
kkcookies99
bafe6156613104f06687342cfa1d16ab3b1d699b
530
cpp
C++
KeepCryingEngine/Canvas.cpp
KeepCryingEngine/KeepCryingEngine
c2e3f89eb5c3d70916f97b7a04cfbab033553b04
[ "MIT" ]
1
2018-01-11T20:05:29.000Z
2018-01-11T20:05:29.000Z
KeepCryingEngine/Canvas.cpp
KeepCryingEngine/KeepCryingEngine
c2e3f89eb5c3d70916f97b7a04cfbab033553b04
[ "MIT" ]
28
2018-01-17T21:04:33.000Z
2018-03-02T13:26:17.000Z
KeepCryingEngine/Canvas.cpp
PereViader/KeepCryingEngine
c2e3f89eb5c3d70916f97b7a04cfbab033553b04
[ "MIT" ]
1
2020-01-12T02:28:04.000Z
2020-01-12T02:28:04.000Z
#include "Canvas.h" #include "GameObject.h" Canvas::Canvas():Component(Canvas::TYPE) {} Canvas::~Canvas() {} std::vector<Component::Type> Canvas::GetNeededComponents() const { return { Component::Type::Transform2D }; } void Canvas::DrawUI() { if(ImGui::CollapsingHeader("Canvas")) { ImGui::PushID(gameObject->Ge...
17.096774
64
0.664151
KeepCryingEngine
baff0f44401f87c170aa9b379ea8ff3a675f7304
47,087
cpp
C++
GameServer/Event.cpp
millerp/IGC.GameServer
0f67ec22d747a84d5934493939cada88a4e067db
[ "MIT" ]
2
2017-03-09T09:42:59.000Z
2020-11-18T07:58:58.000Z
GameServer/Event.cpp
millerp/IGC.GameServer
0f67ec22d747a84d5934493939cada88a4e067db
[ "MIT" ]
8
2017-03-08T13:26:53.000Z
2017-03-09T13:37:43.000Z
GameServer/Event.cpp
millerp/IGC.GameServer
0f67ec22d747a84d5934493939cada88a4e067db
[ "MIT" ]
5
2017-11-21T13:22:52.000Z
2022-02-17T07:41:34.000Z
#include "stdafx.h" #include "Event.h" #include "TLog.h" #include "DSProtocol.h" #include "GameServer.h" #include "GameMain.h" #include "winutil.h" #include "BagManager.h" #include "configread.h" // GS-N 0.99.60T 0x00460DF0 // GS-N 1.00.18 JPN 0x00470700 - Completed void EventChipEventProtocolCore(BYTE protoNum, LPB...
37.018082
117
0.499777
millerp
baff6468bd0fdf32c26af1f8bd4ffe5240c1900e
1,254
cpp
C++
src/Compiler/Parsing/parsers/assignment_parser.cpp
joakimthun/Elsa
3be901149c1102d190dda1c7f3340417f03666c7
[ "MIT" ]
16
2015-10-12T14:24:45.000Z
2021-07-20T01:56:04.000Z
src/Compiler/Parsing/parsers/assignment_parser.cpp
haifenghuang/Elsa
3be901149c1102d190dda1c7f3340417f03666c7
[ "MIT" ]
null
null
null
src/Compiler/Parsing/parsers/assignment_parser.cpp
haifenghuang/Elsa
3be901149c1102d190dda1c7f3340417f03666c7
[ "MIT" ]
2
2017-11-12T01:39:09.000Z
2021-07-20T01:56:09.000Z
#include "assignment_parser.h" namespace elsa { namespace compiler { std::unique_ptr<Expression> AssignmentParser::parse(ElsaParser* parser, std::unique_ptr<Expression> left) { parser->consume(TokenType::Equals); auto exp = std::make_unique<AssignmentExpression>(); exp->set_left(std::move(left)); ...
29.857143
163
0.722488
joakimthun
24000a3a3222389a92a584f132782391c9b50437
3,186
cc
C++
code/Modules/Assets/UnitTests/ShapeBuilderTest.cc
waywardmonkeys/oryol
6b496fa9f5fd7acbae3363e0617cb13d333aa6bf
[ "MIT" ]
null
null
null
code/Modules/Assets/UnitTests/ShapeBuilderTest.cc
waywardmonkeys/oryol
6b496fa9f5fd7acbae3363e0617cb13d333aa6bf
[ "MIT" ]
null
null
null
code/Modules/Assets/UnitTests/ShapeBuilderTest.cc
waywardmonkeys/oryol
6b496fa9f5fd7acbae3363e0617cb13d333aa6bf
[ "MIT" ]
null
null
null
//------------------------------------------------------------------------------ // ShapeBuilderTest.cc //------------------------------------------------------------------------------ #include "Pre.h" #include "UnitTest++/src/UnitTest++.h" #include "Assets/Gfx/ShapeBuilder.h" #include "Gfx/Core/renderer.h" #in...
35.4
94
0.637163
waywardmonkeys
2401252dda1aa447ec8e9897e398065311f960f7
4,931
cpp
C++
examples/01_trafficlight/01_trafficlight.cpp
igor-krechetov/hsmcpp
5b0fcddacc43ad54a474c16767fa593ac0919393
[ "MIT" ]
10
2021-03-17T17:26:50.000Z
2022-03-30T17:33:23.000Z
examples/01_trafficlight/01_trafficlight.cpp
igor-krechetov/hsmcpp
5b0fcddacc43ad54a474c16767fa593ac0919393
[ "MIT" ]
1
2022-03-30T16:29:01.000Z
2022-03-30T16:29:01.000Z
examples/01_trafficlight/01_trafficlight.cpp
igor-krechetov/hsmcpp
5b0fcddacc43ad54a474c16767fa593ac0919393
[ "MIT" ]
null
null
null
// NOTE: For internal testing and will be removed later #include "hsmcpp/hsm.hpp" #include <thread> #include "hsmcpp/logging.hpp" #include "hsmcpp/HsmEventDispatcherGLibmm.hpp" #undef __HSM_TRACE_CLASS__ #define __HSM_TRACE_CLASS__ "01_trafficlight" __HSM_TRACE_PREINIT__(); using namespace s...
30.81875
155
0.674914
igor-krechetov
2401acd8c54761bf44155a20c465b48f8a17ca8f
75,347
cpp
C++
isis/src/cassini/apps/cisscal/main.cpp
gknorman/ISIS3
4800a8047626a864e163cc74055ba60008c105f7
[ "CC0-1.0" ]
1
2022-02-17T01:07:03.000Z
2022-02-17T01:07:03.000Z
isis/src/cassini/apps/cisscal/main.cpp
gknorman/ISIS3
4800a8047626a864e163cc74055ba60008c105f7
[ "CC0-1.0" ]
null
null
null
isis/src/cassini/apps/cisscal/main.cpp
gknorman/ISIS3
4800a8047626a864e163cc74055ba60008c105f7
[ "CC0-1.0" ]
null
null
null
/** This is free and unencumbered software released into the public domain. The authors of ISIS do not claim copyright on the contents of this file. For more details about the LICENSE terms and the AUTHORS, you will find files of those names at the top level of this repository. **/ /* SPDX-License-Identifier: CC0-1.0...
40.400536
177
0.635287
gknorman
24037e37df31636934a9c892c7e785c8f963bb2c
4,074
hpp
C++
stan/math/prim/prob/hmm_latent_rng.hpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
1
2020-06-14T14:33:37.000Z
2020-06-14T14:33:37.000Z
stan/math/prim/prob/hmm_latent_rng.hpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
null
null
null
stan/math/prim/prob/hmm_latent_rng.hpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
1
2020-05-10T12:55:07.000Z
2020-05-10T12:55:07.000Z
#ifndef STAN_MATH_PRIM_PROB_HMM_LATENT_RNG_HPP #define STAN_MATH_PRIM_PROB_HMM_LATENT_RNG_HPP #include <stan/math/prim/core.hpp> #include <stan/math/prim/meta.hpp> #include <stan/math/prim/err/hmm_check.hpp> #include <stan/math/prim/fun/Eigen.hpp> #include <boost/random.hpp> #include <vector> namespace stan { namespa...
40.336634
80
0.691213
LaudateCorpus1
2403e60df3918394e99c3284b2a417e336fc3bae
12,424
cc
C++
paddle/fluid/framework/ir/mkldnn/conv_elementwise_add_mkldnn_fuse_pass.cc
tiancaishaonvjituizi/Paddle
76f8703445b269334035a891466a284148c26734
[ "Apache-2.0" ]
1
2022-03-14T23:22:21.000Z
2022-03-14T23:22:21.000Z
paddle/fluid/framework/ir/mkldnn/conv_elementwise_add_mkldnn_fuse_pass.cc
Abraham-Xu/Paddle
5d08a4471973e1c2b2a595781d0a0840875a0c77
[ "Apache-2.0" ]
null
null
null
paddle/fluid/framework/ir/mkldnn/conv_elementwise_add_mkldnn_fuse_pass.cc
Abraham-Xu/Paddle
5d08a4471973e1c2b2a595781d0a0840875a0c77
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2018 PaddlePaddle Authors. 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...
32.694737
83
0.690035
tiancaishaonvjituizi
24049c29730617e82764ea409a4fc75e52e7f764
1,460
cc
C++
src/layer.cc
V-FEXrt/fexware
3dabd7a161a103710482a0d89e594c665cf8c2fc
[ "MIT" ]
1
2022-01-22T20:26:10.000Z
2022-01-22T20:26:10.000Z
src/layer.cc
V-FEXrt/fexware
3dabd7a161a103710482a0d89e594c665cf8c2fc
[ "MIT" ]
null
null
null
src/layer.cc
V-FEXrt/fexware
3dabd7a161a103710482a0d89e594c665cf8c2fc
[ "MIT" ]
null
null
null
#include "layer.h" namespace fex { bool Layer::Bound(int key, Operation operation) { auto row_key_it = bindings_.find(key); if (row_key_it == bindings_.end()) return false; return row_key_it->second.find(operation) != row_key_it->second.end(); } void Layer::Bind(int key, std::...
27.54717
101
0.564384
V-FEXrt
240b8f928ba8dcce7e52e4d1b956548fb1b2e59d
132
hxx
C++
src/Providers/UNIXProviders/ClassifierService/UNIX_ClassifierService_FREEBSD.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
1
2020-10-12T09:00:09.000Z
2020-10-12T09:00:09.000Z
src/Providers/UNIXProviders/ClassifierService/UNIX_ClassifierService_FREEBSD.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
src/Providers/UNIXProviders/ClassifierService/UNIX_ClassifierService_FREEBSD.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
#ifdef PEGASUS_OS_FREEBSD #ifndef __UNIX_CLASSIFIERSERVICE_PRIVATE_H #define __UNIX_CLASSIFIERSERVICE_PRIVATE_H #endif #endif
11
42
0.856061
brunolauze
240be7b2916928775672d189be1daafe43d84c63
2,826
cc
C++
protobuf-objc/src/compiler/objc_generator.cc
playbar/TeamTalk
0c04a1bf4ba0a0884666addf360f10460d1f44a7
[ "Apache-2.0" ]
null
null
null
protobuf-objc/src/compiler/objc_generator.cc
playbar/TeamTalk
0c04a1bf4ba0a0884666addf360f10460d1f44a7
[ "Apache-2.0" ]
null
null
null
protobuf-objc/src/compiler/objc_generator.cc
playbar/TeamTalk
0c04a1bf4ba0a0884666addf360f10460d1f44a7
[ "Apache-2.0" ]
null
null
null
// Protocol Buffers for Objective C // // Copyright 2010 Booyah Inc. // Copyright 2008 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.or...
34.463415
101
0.565464
playbar
240eb8b55ed74407258df7adb26a04d8de9a8527
12,739
cpp
C++
libs/core/execution/tests/unit/algorithm_then.cpp
bhumitattarde/hpx
5b34d8d77b1664fa552445d44cd98e51dc69a74a
[ "BSL-1.0" ]
1
2022-02-08T05:55:09.000Z
2022-02-08T05:55:09.000Z
libs/core/execution/tests/unit/algorithm_then.cpp
deepaksuresh1411/hpx
aa18024d35fe9884a977d4b6076c764dbb8b26d1
[ "BSL-1.0" ]
null
null
null
libs/core/execution/tests/unit/algorithm_then.cpp
deepaksuresh1411/hpx
aa18024d35fe9884a977d4b6076c764dbb8b26d1
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2021 ETH Zurich // Copyright (c) 2022 Hartmut Kaiser // // SPDX-License-Identifier: BSL-1.0 // 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 <hpx/modules/execution.hpp> #include <hpx/m...
37.689349
80
0.610095
bhumitattarde
240f27ae03a15ed468946882508a85946d599e90
520
hpp
C++
src/include/dex/tables/stat.hpp
vapaee/telos-dex-contract
4c161b0b13f489d1d62c5fb058a4705af39ac7bf
[ "MIT" ]
null
null
null
src/include/dex/tables/stat.hpp
vapaee/telos-dex-contract
4c161b0b13f489d1d62c5fb058a4705af39ac7bf
[ "MIT" ]
null
null
null
src/include/dex/tables/stat.hpp
vapaee/telos-dex-contract
4c161b0b13f489d1d62c5fb058a4705af39ac7bf
[ "MIT" ]
null
null
null
#include "./_aux.hpp" // TABLE stats (currency) ----------- // scope: supply_code // STANDARD TABLE - DON'T CHANGE TABLE currency_stats { eosio::asset supply; eosio::asset max_supply; name issuer; uint...
37.142857
78
0.448077
vapaee
2410b9e66fc6670f7be2e7510dd21fff9b0331ac
823
cpp
C++
CPP/Challenges_hackerblocks/Hollow Diamond Pattern(Pattern 6).cpp
sanjanaprasad2k01/hacktoberfest2021
dc6d8c3dc6c97a263bb4964b51fd344d12e51052
[ "CC0-1.0" ]
null
null
null
CPP/Challenges_hackerblocks/Hollow Diamond Pattern(Pattern 6).cpp
sanjanaprasad2k01/hacktoberfest2021
dc6d8c3dc6c97a263bb4964b51fd344d12e51052
[ "CC0-1.0" ]
null
null
null
CPP/Challenges_hackerblocks/Hollow Diamond Pattern(Pattern 6).cpp
sanjanaprasad2k01/hacktoberfest2021
dc6d8c3dc6c97a263bb4964b51fd344d12e51052
[ "CC0-1.0" ]
null
null
null
#include<iostream> using namespace std; int main() { int i,j,k=0,n; cin>>n; for(i=0;i<n;i++) { if(i==0||i==n-1) { for(j=0;j<n;j++) cout<<"*\t"; } else if(i<=n/2) { for(j=0;j<(n/2)-i+1;j++) ...
20.575
39
0.234508
sanjanaprasad2k01
2410ea7b6d5c5adb1e95862e2b108a42c9142ea3
1,043
cpp
C++
sfq/src/crates/lzt/src/ffi/lzt_core/dictionary/lztrie_dict/huffman/HuffmanCoder.cpp
lisp-rbi/sfq
93855f63e15561ea36644fa6bcf7d72266974f4d
[ "Apache-2.0" ]
null
null
null
sfq/src/crates/lzt/src/ffi/lzt_core/dictionary/lztrie_dict/huffman/HuffmanCoder.cpp
lisp-rbi/sfq
93855f63e15561ea36644fa6bcf7d72266974f4d
[ "Apache-2.0" ]
null
null
null
sfq/src/crates/lzt/src/ffi/lzt_core/dictionary/lztrie_dict/huffman/HuffmanCoder.cpp
lisp-rbi/sfq
93855f63e15561ea36644fa6bcf7d72266974f4d
[ "Apache-2.0" ]
null
null
null
#include "HuffmanCoder.h" #include "../../../serialization_legacy/BitSequence.h" HuffmanCoder::HuffmanCoder(): codes(NULL), lengths(NULL) {} HuffmanCoder::~HuffmanCoder() { if (codes != NULL) delete [] codes; if (lengths != NULL) delete [] lengths; } /** Return huffman code for symbol with index i. */ Huffma...
29.8
76
0.611697
lisp-rbi
241240f5c19c28a00440ba27eff400b50dcff04a
13,914
cpp
C++
maple_engine/src/mfunction.cpp
MapleSystem/maple_engine
b31266b0ca44e3be849ce507ef964f68961f710f
[ "MulanPSL-1.0" ]
null
null
null
maple_engine/src/mfunction.cpp
MapleSystem/maple_engine
b31266b0ca44e3be849ce507ef964f68961f710f
[ "MulanPSL-1.0" ]
null
null
null
maple_engine/src/mfunction.cpp
MapleSystem/maple_engine
b31266b0ca44e3be849ce507ef964f68961f710f
[ "MulanPSL-1.0" ]
null
null
null
/* * Copyright (C) [2020-2021] Futurewei Technologies, Inc. All rights reserved. * * OpenArkCompiler is licensed underthe Mulan Permissive Software License v2. * You can use this software according to the terms and conditions of the MulanPSL - 2.0. * You may obtain a copy of MulanPSL - 2.0 at: * * https://open...
41.909639
163
0.542475
MapleSystem
24128079a987b4661e935a7bdc5308a57bae152c
3,323
cpp
C++
lib/python/operations.cpp
nvaytet/scipp
f14f56ed19cccb4162d55b1123df7225eeedb395
[ "BSD-3-Clause" ]
43
2019-04-08T14:13:11.000Z
2022-02-08T06:09:35.000Z
lib/python/operations.cpp
nvaytet/scipp
f14f56ed19cccb4162d55b1123df7225eeedb395
[ "BSD-3-Clause" ]
1,342
2019-03-30T07:06:08.000Z
2022-03-28T13:12:47.000Z
lib/python/operations.cpp
nvaytet/scipp
f14f56ed19cccb4162d55b1123df7225eeedb395
[ "BSD-3-Clause" ]
12
2019-06-13T08:56:12.000Z
2021-11-04T08:24:18.000Z
// SPDX-License-Identifier: BSD-3-Clause // Copyright (c) 2021 Scipp contributors (https://github.com/scipp) /// @file /// @author Simon Heybrock #include "docstring.h" #include "pybind11.h" #include "scipp/dataset/dataset.h" #include "scipp/dataset/sort.h" #include "scipp/variable/operations.h" #include "scipp/variab...
31.349057
79
0.625639
nvaytet
2413b3d46da51f5ceec102edc4d39aea9b99973b
379
cpp
C++
C_C++/oop_assignment/assignment/week8/Q1.cpp
oneofsunshine/program_learning
5afc2e5e6e7a6604d4bd9c8e102822e1cf751c0b
[ "Apache-2.0" ]
1
2018-02-10T03:53:45.000Z
2018-02-10T03:53:45.000Z
C_C++/oop_assignment/assignment/week8/Q1.cpp
oneofsunshine/program_learning
5afc2e5e6e7a6604d4bd9c8e102822e1cf751c0b
[ "Apache-2.0" ]
null
null
null
C_C++/oop_assignment/assignment/week8/Q1.cpp
oneofsunshine/program_learning
5afc2e5e6e7a6604d4bd9c8e102822e1cf751c0b
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; int main() { return 0; } /* *描述 我们定义一个正整数a比正整数b优先的含义是: *a的质因数数目(不包括自身)比b的质因数数目多; *当两者质因数数目相等时,数值较大者优先级高。 现在给定一个容器,初始元素数目为0,之后每次往里面添加10个元素,每次添加之后,要求输出优先级最高与最低的元素,并把该两元素从容器中删除。 输入 第一行: num (添加元素次数,num <= 30) 下面10*num行,每行一个正整数n(n < 10000000). 输出 每次输入10个整数后,输出容器中优先级最高与最低的元...
12.633333
69
0.738786
oneofsunshine
24150b339797315fedd1206fbe40ac90cdc812a8
3,454
cpp
C++
src/optimizer/matcher/expression_matcher.cpp
GuinsooLab/guinsoodb
f200538868738ae460f62fb89211deec946cefff
[ "MIT" ]
1
2021-04-22T05:41:54.000Z
2021-04-22T05:41:54.000Z
src/optimizer/matcher/expression_matcher.cpp
GuinsooLab/guinsoodb
f200538868738ae460f62fb89211deec946cefff
[ "MIT" ]
null
null
null
src/optimizer/matcher/expression_matcher.cpp
GuinsooLab/guinsoodb
f200538868738ae460f62fb89211deec946cefff
[ "MIT" ]
1
2021-12-12T10:24:57.000Z
2021-12-12T10:24:57.000Z
#include "guinsoodb/optimizer/matcher/expression_matcher.hpp" #include "guinsoodb/planner/expression/list.hpp" namespace guinsoodb { bool ExpressionMatcher::Match(Expression *expr, vector<Expression *> &bindings) { if (type && !type->Match(expr->return_type.InternalType())) { return false; } if (expr_type && !e...
29.521368
94
0.728141
GuinsooLab
2417df3b9d62db528d4a1bdf286071bc08ec8528
5,417
cpp
C++
TagsGenerator/createMatrix25/Arduino/libraries/FaBo_307_BLE_Nordic/src/fabo-nordic.cpp
ThomasLengeling/L3MasterReader
37ada4be9c1d9a41287b7ff196a158d7816e86a8
[ "MIT" ]
null
null
null
TagsGenerator/createMatrix25/Arduino/libraries/FaBo_307_BLE_Nordic/src/fabo-nordic.cpp
ThomasLengeling/L3MasterReader
37ada4be9c1d9a41287b7ff196a158d7816e86a8
[ "MIT" ]
null
null
null
TagsGenerator/createMatrix25/Arduino/libraries/FaBo_307_BLE_Nordic/src/fabo-nordic.cpp
ThomasLengeling/L3MasterReader
37ada4be9c1d9a41287b7ff196a158d7816e86a8
[ "MIT" ]
null
null
null
#include "fabo-nordic.h" #ifdef USE_HARDWARE_SERIAL FaboBLE::FaboBLE(HardwareSerial &serial) { ble = new NordicBLE(serial); ble->handler = this; onScanned = NULL; } #else FaboBLE::FaboBLE(SoftwareSerial &serial) { ble = new NordicBLE(serial); ble->handler = this; onScanned = NULL; } #endif void FaboBL...
26.169082
107
0.637807
ThomasLengeling
24189f4943e6c9d262cc34d0d50e2198698c5219
1,896
cpp
C++
MFMediaPropDump/MediaDump.cpp
amate/MFVideoReader
e766d018b6a738df200f0f7c36b78833b1dcd924
[ "MIT" ]
13
2020-02-25T10:07:22.000Z
2021-12-11T18:49:08.000Z
MFMediaPropDump/MediaDump.cpp
amate/MFVideoReader
e766d018b6a738df200f0f7c36b78833b1dcd924
[ "MIT" ]
null
null
null
MFMediaPropDump/MediaDump.cpp
amate/MFVideoReader
e766d018b6a738df200f0f7c36b78833b1dcd924
[ "MIT" ]
3
2020-02-25T22:02:00.000Z
2022-03-01T08:07:07.000Z
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A // PARTICULAR PURPOSE. // // Copyright (c) Microsoft Corporation. All rights reserved #include "stdafx.h" #includ...
25.621622
79
0.632384
amate
2418a271b23c9db5ad79fc41ac4833c6a190c258
1,857
cpp
C++
compiler-rt/test/tsan/Darwin/debug_external.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
2,338
2018-06-19T17:34:51.000Z
2022-03-31T11:00:37.000Z
compiler-rt/test/tsan/Darwin/debug_external.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
compiler-rt/test/tsan/Darwin/debug_external.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
500
2019-01-23T07:49:22.000Z
2022-03-30T02:59:37.000Z
// RUN: %clangxx_tsan -O1 %s -o %t // RUN: %deflake %run %t 2>&1 | FileCheck %s #include <pthread.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "../test.h" extern "C" { void __tsan_on_report(void *report); int __tsan_get_report_loc(void *report, unsigned long idx, const char **type, ...
28.569231
77
0.609047
medismailben
2418e3d86e25777958e8cfad890ff1e551d16172
7,363
cpp
C++
tools/Vitis-AI-Library/solo/test/test_solo_batch.cpp
hito0512/Vitis-AI
996459fb96cb077ed2f7e789d515893b1cccbc95
[ "Apache-2.0" ]
1
2022-02-17T22:13:23.000Z
2022-02-17T22:13:23.000Z
tools/Vitis-AI-Library/solo/test/test_solo_batch.cpp
hito0512/Vitis-AI
996459fb96cb077ed2f7e789d515893b1cccbc95
[ "Apache-2.0" ]
null
null
null
tools/Vitis-AI-Library/solo/test/test_solo_batch.cpp
hito0512/Vitis-AI
996459fb96cb077ed2f7e789d515893b1cccbc95
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019 Xilinx Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
47.198718
168
0.569333
hito0512
241adb225cd67cca8c625cb3cbad8276ba49b182
68,476
cpp
C++
fboss/agent/SwSwitch.cpp
dgrnbrg-meta/fboss
cde5aa021fbb28e08cc912a7c227e93ed3faefee
[ "BSD-3-Clause" ]
null
null
null
fboss/agent/SwSwitch.cpp
dgrnbrg-meta/fboss
cde5aa021fbb28e08cc912a7c227e93ed3faefee
[ "BSD-3-Clause" ]
null
null
null
fboss/agent/SwSwitch.cpp
dgrnbrg-meta/fboss
cde5aa021fbb28e08cc912a7c227e93ed3faefee
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2004-present, Facebook, Inc. * 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. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #inc...
35.608944
82
0.689979
dgrnbrg-meta