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
ed003a579b727db1c52ef8c442fafcd3068a77b8
2,121
cpp
C++
Playlist.cpp
Kazmi007/Music-Streaming-Platform
78cd7d66c36332659e2dd0df5828c6331e177e0c
[ "OLDAP-2.7", "OLDAP-2.8" ]
null
null
null
Playlist.cpp
Kazmi007/Music-Streaming-Platform
78cd7d66c36332659e2dd0df5828c6331e177e0c
[ "OLDAP-2.7", "OLDAP-2.8" ]
null
null
null
Playlist.cpp
Kazmi007/Music-Streaming-Platform
78cd7d66c36332659e2dd0df5828c6331e177e0c
[ "OLDAP-2.7", "OLDAP-2.8" ]
null
null
null
#include "Playlist.h" Playlist::Playlist(const std::string &name) { // Custom consructor. static int playlistId = 1; this->name = name; this->shared = false; this->playlistId = playlistId; playlistId += 1; } int Playlist::getPlaylistId() const { // Returns playlist ID. return this->playlis...
29.458333
130
0.631306
Kazmi007
ed01c56783d7c5aea9003ea35ea64f6145225a0e
1,331
cpp
C++
unittests/BuildSystem/TempDir.cpp
dmbryson/swift-llbuild
91f2c5dbeef135113c6574f5797c9e87ef8c3fe8
[ "Apache-2.0" ]
427
2018-05-29T14:21:02.000Z
2022-03-16T03:17:54.000Z
unittests/BuildSystem/TempDir.cpp
dmbryson/swift-llbuild
91f2c5dbeef135113c6574f5797c9e87ef8c3fe8
[ "Apache-2.0" ]
25
2018-07-23T08:34:15.000Z
2021-11-05T07:13:36.000Z
unittests/BuildSystem/TempDir.cpp
dmbryson/swift-llbuild
91f2c5dbeef135113c6574f5797c9e87ef8c3fe8
[ "Apache-2.0" ]
52
2018-07-19T19:57:32.000Z
2022-03-11T16:05:38.000Z
//===- unittests/BuildSystem/TempDir.cpp --------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http://swift.org/LICE...
32.463415
80
0.643877
dmbryson
ed01f0bfc602fbadf8c3dfa7f86b8c977d7e3049
2,691
cpp
C++
src/padamose/BranchInspector.cpp
young-developer/padamose
ad827c67ed10125b6f1af3c9300ca122c5d4fcf2
[ "BSD-3-Clause" ]
null
null
null
src/padamose/BranchInspector.cpp
young-developer/padamose
ad827c67ed10125b6f1af3c9300ca122c5d4fcf2
[ "BSD-3-Clause" ]
null
null
null
src/padamose/BranchInspector.cpp
young-developer/padamose
ad827c67ed10125b6f1af3c9300ca122c5d4fcf2
[ "BSD-3-Clause" ]
1
2021-12-07T13:28:58.000Z
2021-12-07T13:28:58.000Z
// Copyright (c) 2017-2018, Cryptogogue Inc. All Rights Reserved. // http://cryptogogue.com #include <padamose/AbstractVersionedBranch.h> #include <padamose/BranchInspector.h> namespace Padamose { //================================================================// // BranchInspector //==============================...
32.035714
84
0.487923
young-developer
ed0269150e8aeec7c323422b4a231fc979611d5b
15,219
cpp
C++
uring/relay.cpp
Mutinifni/urn
9708606e05e8d4487ae9fd88654ef53dff413c07
[ "MIT" ]
null
null
null
uring/relay.cpp
Mutinifni/urn
9708606e05e8d4487ae9fd88654ef53dff413c07
[ "MIT" ]
null
null
null
uring/relay.cpp
Mutinifni/urn
9708606e05e8d4487ae9fd88654ef53dff413c07
[ "MIT" ]
2
2021-08-24T11:04:46.000Z
2021-08-24T11:07:50.000Z
#include <arpa/inet.h> #include <array> #include <condition_variable> #include <cstring> #include <liburing.h> #include <netdb.h> #include <signal.h> #include <string> #include <sys/socket.h> #include <thread> #include <unistd.h> #include <uring/relay.hpp> #include <vector> #define ENABLE_FIXED_BUFFERS 1 #define ENABL...
27.873626
99
0.67304
Mutinifni
ed0277bd2f37f0c7598d51e56627b22f5b7d4890
194
hpp
C++
include/sql/fusion/common.hpp
cviebig/lib-sql
fed42f80b5866503c5f5710d791feec213c051a1
[ "MIT" ]
4
2017-09-25T00:03:31.000Z
2020-04-02T07:06:24.000Z
include/sql/fusion/common.hpp
cviebig/lib-sql
fed42f80b5866503c5f5710d791feec213c051a1
[ "MIT" ]
1
2018-05-16T20:00:42.000Z
2018-05-30T13:21:20.000Z
include/sql/fusion/common.hpp
cviebig/lib-sql
fed42f80b5866503c5f5710d791feec213c051a1
[ "MIT" ]
1
2022-01-05T20:49:47.000Z
2022-01-05T20:49:47.000Z
#ifndef SQL_PARSER_FUSION_COMMON_HPP #define SQL_PARSER_FUSION_COMMON_HPP #include "sql/ast/common.hpp" #include <boost/fusion/include/adapt_struct.hpp> #endif //SQL_PARSER_FUSION_COMMON_HPP
21.555556
48
0.840206
cviebig
ed05c033f63aea0e80feac1d7795b93ee266cbb5
15,059
cpp
C++
source/Image/JPEGLoader.cpp
badbrainz/pme
1c8e6f3d154cc59613f5ef3f2f8293f488c64b28
[ "WTFPL" ]
null
null
null
source/Image/JPEGLoader.cpp
badbrainz/pme
1c8e6f3d154cc59613f5ef3f2f8293f488c64b28
[ "WTFPL" ]
null
null
null
source/Image/JPEGLoader.cpp
badbrainz/pme
1c8e6f3d154cc59613f5ef3f2f8293f488c64b28
[ "WTFPL" ]
null
null
null
#include "image.h" #include <stdio.h> #ifndef max #define max(a, b) (((a)>(b))?(a):(b)) #endif #ifndef min #define min(a, b) (((a)<(b))?(a):(b)) #endif unsigned char getByte(); char fileOpen(const char *); void decodeQTable(int); void strmSkip(int n); void decodeBlock(); void fileClose(); void g...
19.972149
126
0.413042
badbrainz
ed071d70b090b858997f13c621bf69600b645a14
572
cc
C++
bucket_79/mariadb103/patches/patch-client_mysql.cc
jrmarino/ravensource
91d599fd1f2af55270258d15e72c62774f36033e
[ "FTL" ]
17
2017-04-22T21:53:52.000Z
2021-01-21T16:57:55.000Z
bucket_79/mariadb103/patches/patch-client_mysql.cc
jrmarino/ravensource
91d599fd1f2af55270258d15e72c62774f36033e
[ "FTL" ]
186
2017-09-12T20:46:52.000Z
2021-11-27T18:15:14.000Z
bucket_79/mariadb103/patches/patch-client_mysql.cc
jrmarino/ravensource
91d599fd1f2af55270258d15e72c62774f36033e
[ "FTL" ]
74
2017-09-06T14:48:01.000Z
2021-08-28T02:48:27.000Z
--- client/mysql.cc.orig 2021-08-02 10:58:55 UTC +++ client/mysql.cc @@ -61,8 +61,8 @@ static char *server_version= NULL; extern "C" { #if defined(HAVE_CURSES_H) && defined(HAVE_TERM_H) -#include <curses.h> -#include <term.h> +#include <ncurses/curses.h> +#include <ncurses/term.h> #else #if defined(HAVE_TERMIOS_H...
24.869565
60
0.673077
jrmarino
ed0879b779ba5ea353dc810488ac6cd9ebefd369
874
cpp
C++
src/test/seq/select.cpp
LaudateCorpus1/sequences
637e0abe60bee381a58e2a933829f39b4459587a
[ "MIT" ]
103
2015-10-11T18:42:16.000Z
2022-02-25T18:56:07.000Z
src/test/seq/select.cpp
LaudateCorpus1/sequences
637e0abe60bee381a58e2a933829f39b4459587a
[ "MIT" ]
7
2017-10-11T10:58:02.000Z
2021-11-10T10:55:44.000Z
src/test/seq/select.cpp
LaudateCorpus1/sequences
637e0abe60bee381a58e2a933829f39b4459587a
[ "MIT" ]
12
2015-11-17T12:34:47.000Z
2022-02-02T00:47:50.000Z
// Copyright (c) 2015-2020 Daniel Frey // Please see LICENSE for license or visit https://github.com/taocpp/sequences/ #include <tao/seq/integer_sequence.hpp> #include <tao/seq/select.hpp> #include <type_traits> int main() { using namespace tao::seq; using S = integer_sequence< int, 4, 7, -2, 0, 3 >; using...
33.615385
88
0.628146
LaudateCorpus1
ed094f8a08cf666a711aa970196395f4cf0dd3e5
3,612
cc
C++
chrome/browser/ui/app_list/search/files/drive_search_browsertest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
chrome/browser/ui/app_list/search/files/drive_search_browsertest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
chrome/browser/ui/app_list/search/files/drive_search_browsertest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2021 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/ash/drive/drive_integration_service.h" #include "chrome/browser/ash/drive/drivefs_test_support.h" #include "chrome/browser/ash/fi...
40.58427
80
0.777409
zealoussnow
ed0abd8c3d8ed4a09cd6b81ccbeb73e70dbf8c62
1,160
hpp
C++
bt/ActiveSelector.hpp
river34/game-bt
a0464ae782ebcddd638633016cd65c5b5db14cc3
[ "MIT" ]
1
2018-11-08T09:56:11.000Z
2018-11-08T09:56:11.000Z
bt/ActiveSelector.hpp
river34/game-bt
a0464ae782ebcddd638633016cd65c5b5db14cc3
[ "MIT" ]
null
null
null
bt/ActiveSelector.hpp
river34/game-bt
a0464ae782ebcddd638633016cd65c5b5db14cc3
[ "MIT" ]
null
null
null
// // ActiveSelector.hpp // GameBT // // Created by River Liu on 15/1/2018. // Copyright © 2018 River Liu. All rights reserved. // // ActiveSelector is a Selector that actively rechecks // its children. #ifndef ActiveSelector_hpp #define ActiveSelector_hpp #include "Selector.hpp" namespace BT { class A...
28.292683
113
0.642241
river34
ed0b42afdf4690552f97094a3d0668aaf3beed6d
59,826
cpp
C++
tools/winmd2objc/lib/ObjectModel.cpp
crossmob/WinObjC
7bec24671c4c18b81aaf85eff2887438f18a697c
[ "MIT" ]
6,717
2015-08-06T18:04:37.000Z
2019-05-04T12:38:51.000Z
tools/winmd2objc/lib/ObjectModel.cpp
Michael-Young48/WinObjC
7bec24671c4c18b81aaf85eff2887438f18a697c
[ "MIT" ]
2,711
2015-08-06T18:41:09.000Z
2019-04-29T12:14:23.000Z
tools/winmd2objc/lib/ObjectModel.cpp
Michael-Young48/WinObjC
7bec24671c4c18b81aaf85eff2887438f18a697c
[ "MIT" ]
1,021
2015-08-06T18:08:56.000Z
2019-04-14T06:50:57.000Z
//****************************************************************************** // // Copyright (c) Microsoft. All rights reserved. // // This code is licensed under the MIT License (MIT). // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARR...
44.447251
140
0.570003
crossmob
ed0bdf697701d499334845ca3e4e059392307d34
3,729
hpp
C++
ngraph/core/include/openvino/op/util/convert_color_nv12_base.hpp
alexander-shchepetov/openvino
a9dae1e3f2ba8b3fec227c51f4c1948667309efc
[ "Apache-2.0" ]
1
2021-07-14T07:20:24.000Z
2021-07-14T07:20:24.000Z
ngraph/core/include/openvino/op/util/convert_color_nv12_base.hpp
alexander-shchepetov/openvino
a9dae1e3f2ba8b3fec227c51f4c1948667309efc
[ "Apache-2.0" ]
34
2020-11-19T12:27:40.000Z
2022-02-21T13:14:04.000Z
ngraph/core/include/openvino/op/util/convert_color_nv12_base.hpp
mznamens/openvino
ec126c6252aa39a6c63ddf124350a92687396771
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include "openvino/op/op.hpp" #include "openvino/op/util/attr_types.hpp" namespace ov { namespace op { namespace util { /// \brief Base class for color conversion operation from NV12 to RGB/BGR format. /// Input: /...
45.47561
120
0.668812
alexander-shchepetov
ed0c7f67cef02f8dbf3053ec9af2281707ec3773
3,657
cpp
C++
src/blackfox/modules/scripting/lua/entities/BFLuaRuntimeRegistry.cpp
RLefrancoise/BlackFox
7814c58dca5c11cb9a80f42d4ed5f43ea7745875
[ "MIT" ]
3
2020-04-23T06:50:48.000Z
2022-03-14T17:50:37.000Z
src/blackfox/modules/scripting/lua/entities/BFLuaRuntimeRegistry.cpp
RLefrancoise/BlackFox
7814c58dca5c11cb9a80f42d4ed5f43ea7745875
[ "MIT" ]
1
2019-11-29T14:21:11.000Z
2019-11-29T19:35:53.000Z
src/blackfox/modules/scripting/lua/entities/BFLuaRuntimeRegistry.cpp
RLefrancoise/BlackFox
7814c58dca5c11cb9a80f42d4ed5f43ea7745875
[ "MIT" ]
null
null
null
#include "BFLuaRuntimeRegistry.h" #include <utility> namespace BlackFox { BFLuaRuntimeRegistry::BFLuaRuntimeRegistry() { registerComponent<Components::BFLuaRuntimeComponent>(); } unsigned int BFLuaRuntimeRegistry::identifier() { static auto next = runtimeComponentId; return next++; } unsigned int BFLua...
30.731092
163
0.735576
RLefrancoise
ed0e9f5386aaa1ef57e88ba106cd245c85cd7664
16,233
cpp
C++
PathNetwork.cpp
jeffreycassidy/osm2bin
7a6751d1a5045d8fb260aaa723ae85da193b4c93
[ "Apache-2.0" ]
4
2015-10-31T01:33:25.000Z
2021-04-29T08:04:51.000Z
PathNetwork.cpp
jeffreycassidy/osm2bin
7a6751d1a5045d8fb260aaa723ae85da193b4c93
[ "Apache-2.0" ]
null
null
null
PathNetwork.cpp
jeffreycassidy/osm2bin
7a6751d1a5045d8fb260aaa723ae85da193b4c93
[ "Apache-2.0" ]
2
2016-06-14T05:05:04.000Z
2020-04-11T05:56:39.000Z
/* * PathNetwork.cpp * * Created on: Dec 15, 2015 * Author: jcassidy */ #include "PathNetwork.hpp" #include "OSMDatabase.hpp" #include <boost/container/flat_map.hpp> using namespace std; const char* OSMWayFilterRoads::includeHighwayTagValueStrings_[] = { "residential", "primary", "primary_li...
35.913717
184
0.56687
jeffreycassidy
ed109cc9f75dd7d93d2c930aa5e4705cc9f1448b
10,076
cpp
C++
pandar_pointcloud/src/lib/decoder/pandar64_decoder.cpp
Perception-Engine/hesai_pandar
bbdfdf5d81423715c47c0526ac51084fef029edf
[ "Apache-2.0" ]
null
null
null
pandar_pointcloud/src/lib/decoder/pandar64_decoder.cpp
Perception-Engine/hesai_pandar
bbdfdf5d81423715c47c0526ac51084fef029edf
[ "Apache-2.0" ]
6
2021-05-17T06:48:19.000Z
2022-02-24T23:43:46.000Z
pandar_pointcloud/src/lib/decoder/pandar64_decoder.cpp
Perception-Engine/hesai_pandar
bbdfdf5d81423715c47c0526ac51084fef029edf
[ "Apache-2.0" ]
1
2021-03-05T00:39:13.000Z
2021-03-05T00:39:13.000Z
#include "pandar_pointcloud/decoder/pandar64_decoder.hpp" #include "pandar_pointcloud/decoder/pandar64.hpp" namespace { static inline double deg2rad(double degrees) { return degrees * M_PI / 180.0; } } namespace pandar_pointcloud { namespace pandar64 { Pandar64Decoder::Pandar64Decoder(Calibration& c...
39.206226
170
0.629813
Perception-Engine
ed131fe5b427cb67d5e58e91813206a3d106ffe5
1,634
cpp
C++
DXR_SoftShadows_Project/BeLuEngine/src/Renderer/DX12Tasks/RenderTask.cpp
jocke1995/DXR_SoftShadows
00cb6b1cf560899a010c9e8504578d55e113c22c
[ "MIT" ]
null
null
null
DXR_SoftShadows_Project/BeLuEngine/src/Renderer/DX12Tasks/RenderTask.cpp
jocke1995/DXR_SoftShadows
00cb6b1cf560899a010c9e8504578d55e113c22c
[ "MIT" ]
null
null
null
DXR_SoftShadows_Project/BeLuEngine/src/Renderer/DX12Tasks/RenderTask.cpp
jocke1995/DXR_SoftShadows
00cb6b1cf560899a010c9e8504578d55e113c22c
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "RenderTask.h" // DX12 Specifics #include "../CommandInterface.h" #include "../GPUMemory/GPUMemory.h" #include "../PipelineState/GraphicsState.h" #include "../RootSignature.h" #include "../SwapChain.h" RenderTask::RenderTask( ID3D12Device5* device, RootSignature* rootSignature, const s...
22.383562
103
0.76989
jocke1995
ed1498729e51bb7858cd00d50dd565ab4e53f33e
568
cpp
C++
Permutation/Permutation.cpp
raza6/CSES
cfaec9d7bc103c7349cc17c0a07112d1e245dc3a
[ "MIT" ]
null
null
null
Permutation/Permutation.cpp
raza6/CSES
cfaec9d7bc103c7349cc17c0a07112d1e245dc3a
[ "MIT" ]
null
null
null
Permutation/Permutation.cpp
raza6/CSES
cfaec9d7bc103c7349cc17c0a07112d1e245dc3a
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; typedef long long ll; int main() { // HACKERMAN ios::sync_with_stdio(false); cin.tie(0); //Read inputs int value; cin >> value; string res = "NO SOLUTION"; if (value > 3) { res = ""; for (int i = 2; i <= val...
16.705882
45
0.43838
raza6
ed16403f90d5cb98d45293e480b4258b7ad5efee
3,531
hpp
C++
src/utility/Confidence.hpp
wvDevAus/Expert-System-Shell
b0c92b1ecb31066c473e549878a9a157b4ea72c9
[ "MIT" ]
null
null
null
src/utility/Confidence.hpp
wvDevAus/Expert-System-Shell
b0c92b1ecb31066c473e549878a9a157b4ea72c9
[ "MIT" ]
null
null
null
src/utility/Confidence.hpp
wvDevAus/Expert-System-Shell
b0c92b1ecb31066c473e549878a9a157b4ea72c9
[ "MIT" ]
null
null
null
#pragma once #include "nlohmann/json.hpp" namespace expert_system::utility { /** * @brief A managed confidence factor. * Ensures that the confidence factor does not exceed the range of 0.0f and 1.0f. */ class Confidence { public: /** * @brief Defaul...
37.967742
109
0.588219
wvDevAus
ed182479fd135847b311e09e06377096813da592
3,347
cpp
C++
src/TRGame/Lighting/Lighting.cpp
CXUtk/TRV2
945950012e2385aeb24e80bf5e876703445ba423
[ "Apache-2.0" ]
null
null
null
src/TRGame/Lighting/Lighting.cpp
CXUtk/TRV2
945950012e2385aeb24e80bf5e876703445ba423
[ "Apache-2.0" ]
15
2021-09-04T13:02:51.000Z
2021-10-05T05:51:31.000Z
src/TRGame/Lighting/Lighting.cpp
CXUtk/TRV2
945950012e2385aeb24e80bf5e876703445ba423
[ "Apache-2.0" ]
null
null
null
#include "Lighting.h" #include "LightCalculator/LightCommon.h" #include "LightCalculator/BFSLightCalculator.h" #include "LightCalculator/DirectionalLightCalculator.h" #include <TRGame/TRGame.hpp> #include <TRGame/Player/Player.h> #include <TRGame/Worlds/GameWorld.h> #include <TRGame/Worlds/WorldResources.h> #include...
26.991935
99
0.747834
CXUtk
ed190a1496f87ff0fa3906b2cc16882613357aad
3,237
cpp
C++
sensors/lidars/velodyne/impl/thin_reader.cpp
jackiecx/snark
492c1b6f26b9e3e8ea6fc66ad1a8c7f997f90ec6
[ "BSD-3-Clause" ]
1
2019-06-14T15:21:24.000Z
2019-06-14T15:21:24.000Z
sensors/lidars/velodyne/impl/thin_reader.cpp
jackiecx/snark
492c1b6f26b9e3e8ea6fc66ad1a8c7f997f90ec6
[ "BSD-3-Clause" ]
null
null
null
sensors/lidars/velodyne/impl/thin_reader.cpp
jackiecx/snark
492c1b6f26b9e3e8ea6fc66ad1a8c7f997f90ec6
[ "BSD-3-Clause" ]
null
null
null
// This file is part of snark, a generic and flexible library for robotics research // Copyright (c) 2011 The University of Sydney // 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. Redistr...
42.592105
185
0.71764
jackiecx
ed1921e7476b749d29039fd83c981c329256e9f7
6,993
cc
C++
aimsdata/src/aimsdata/io/imasparseheader.cc
brainvisa/aims-free
5852c1164292cadefc97cecace022d14ab362dc4
[ "CECILL-B" ]
4
2019-07-09T05:34:10.000Z
2020-10-16T00:03:15.000Z
aimsdata/src/aimsdata/io/imasparseheader.cc
brainvisa/aims-free
5852c1164292cadefc97cecace022d14ab362dc4
[ "CECILL-B" ]
72
2018-10-31T14:52:50.000Z
2022-03-04T11:22:51.000Z
aimsdata/src/aimsdata/io/imasparseheader.cc
brainvisa/aims-free
5852c1164292cadefc97cecace022d14ab362dc4
[ "CECILL-B" ]
null
null
null
/* This software and supporting documentation are distributed by * Institut Federatif de Recherche 49 * CEA/NeuroSpin, Batiment 145, * 91191 Gif-sur-Yvette cedex * France * * This software is governed by the CeCILL-B license under * French law and abiding by the rules of distribution of free soft...
25.521898
78
0.646075
brainvisa
ed1a79bdc801741558e76b1f925ccf3a814cb406
1,807
cpp
C++
soundmanager.cpp
hckr/space-logic-adventure
7465c7ffb70b0488ce4ff88620e3d35742f4fb06
[ "MIT" ]
6
2017-09-15T16:15:03.000Z
2020-01-09T04:31:26.000Z
soundmanager.cpp
hckr/space-logic-adventure
7465c7ffb70b0488ce4ff88620e3d35742f4fb06
[ "MIT" ]
null
null
null
soundmanager.cpp
hckr/space-logic-adventure
7465c7ffb70b0488ce4ff88620e3d35742f4fb06
[ "MIT" ]
1
2017-12-05T05:22:02.000Z
2017-12-05T05:22:02.000Z
#include "soundmanager.hpp" void SoundManager::lowerMusicVolume(bool lower) { if (lower) { sounds.at(MENU).setVolume(50); sounds.at(LEVEL).setVolume(50); } else { sounds.at(MENU).setVolume(100); sounds.at(LEVEL).setVolume(100); } } SoundManager::SoundManager() { menuSB....
21.511905
100
0.60653
hckr
ed1bfd33453e41f099287ac92d62cd0efef6729a
10,530
cpp
C++
rosflight_utils/src/turbomath.cpp
WangGY-Pro/rosflight
000e3d79383e05d7cc574129644a12c694a876eb
[ "BSD-3-Clause" ]
80
2017-05-27T16:21:32.000Z
2022-03-09T13:24:38.000Z
rosflight_utils/src/turbomath.cpp
WangGY-Pro/rosflight
000e3d79383e05d7cc574129644a12c694a876eb
[ "BSD-3-Clause" ]
82
2017-05-17T17:10:04.000Z
2021-06-06T04:25:44.000Z
rosflight_utils/src/turbomath.cpp
WangGY-Pro/rosflight
000e3d79383e05d7cc574129644a12c694a876eb
[ "BSD-3-Clause" ]
67
2017-05-16T19:26:53.000Z
2022-03-27T15:04:34.000Z
/* * Copyright (c) 2017 James Jackson, BYU MAGICC Lab. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this * ...
40.19084
115
0.624501
WangGY-Pro
ed201517a7219380c6e1a83f6a97c561e43cc1bd
10,608
cpp
C++
code/lib/usart.cpp
ian-ross/mini-mapper
797db70b9b619a0bdd4f1bf0def101dcfaa57452
[ "MIT" ]
null
null
null
code/lib/usart.cpp
ian-ross/mini-mapper
797db70b9b619a0bdd4f1bf0def101dcfaa57452
[ "MIT" ]
null
null
null
code/lib/usart.cpp
ian-ross/mini-mapper
797db70b9b619a0bdd4f1bf0def101dcfaa57452
[ "MIT" ]
null
null
null
#include "dma.hpp" #include "events.hpp" #include "usart.hpp" static USART_TypeDef *usart_base(int iusart); static DMA_Stream_TypeDef *usart_dma_stream(int iusart); static IRQn_Type usart_irqn(int iusart); // Set up USART for interrupt-driven RX, DMA-driven TX. void USART::init(void) { volatile uint32_t &apbenr_r...
28.747967
76
0.692496
ian-ross
ed2119ecde8ec8c9bf3d4dccf72f6ccd1df69b85
2,736
cc
C++
mojo/examples/apptest/example_apptest.cc
Fusion-Rom/android_external_chromium_org
d8b126911c6ea9753e9f526bee5654419e1d0ebd
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2015-08-13T21:04:58.000Z
2015-08-13T21:04:58.000Z
mojo/examples/apptest/example_apptest.cc
Fusion-Rom/android_external_chromium_org
d8b126911c6ea9753e9f526bee5654419e1d0ebd
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
mojo/examples/apptest/example_apptest.cc
Fusion-Rom/android_external_chromium_org
d8b126911c6ea9753e9f526bee5654419e1d0ebd
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-11-04T06:34:36.000Z
2020-11-04T06:34:36.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 "mojo/examples/apptest/example_client_application.h" #include "mojo/examples/apptest/example_client_impl.h" #include "mojo/examples/apptest/examp...
28.8
77
0.740497
Fusion-Rom
ed2361d4d9657c4cf13a717dbaa5fc190ed17e7b
19,733
cpp
C++
ImageDetectionAccessPoint/CardAreaDetection.cpp
rWarder4/ImageDetectionAccessPoint
43e4d1ece0f82e8b336fe99573432d3d26abdb69
[ "MIT" ]
null
null
null
ImageDetectionAccessPoint/CardAreaDetection.cpp
rWarder4/ImageDetectionAccessPoint
43e4d1ece0f82e8b336fe99573432d3d26abdb69
[ "MIT" ]
null
null
null
ImageDetectionAccessPoint/CardAreaDetection.cpp
rWarder4/ImageDetectionAccessPoint
43e4d1ece0f82e8b336fe99573432d3d26abdb69
[ "MIT" ]
null
null
null
#include "CardAreaDetection.h" #include <opencv2/videostab/ring_buffer.hpp> // defines includes #include <opencv2\imgcodecs\imgcodecs_c.h> #include <opencv2\imgproc\types_c.h> using namespace cv; IDAP::CardAreaDetection::CardAreaDetection(int _id, int _playerID, int _sizeID, int _xPos, int _yPos, int _width, ...
39.075248
257
0.539654
rWarder4
ed2674d20a72a0a493fa68eb592abcf456cb9c53
28,956
cpp
C++
Source/CLI/Global.cpp
JeromeMartinez/RAWcooked
41379cc9ebb9511eb7445dce7a4a9064125a92f0
[ "BSD-2-Clause" ]
null
null
null
Source/CLI/Global.cpp
JeromeMartinez/RAWcooked
41379cc9ebb9511eb7445dce7a4a9064125a92f0
[ "BSD-2-Clause" ]
null
null
null
Source/CLI/Global.cpp
JeromeMartinez/RAWcooked
41379cc9ebb9511eb7445dce7a4a9064125a92f0
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (c) MediaArea.net SARL & AV Preservation by reto.ch. * * Use of this source code is governed by a BSD-style license that can * be found in the License.html file in the root of the source tree. */ //--------------------------------------------------------------------------- #include "CLI/Glob...
32.461883
163
0.45355
JeromeMartinez
ed269c093362b25f78b5fabec7c061fa4b97f7b7
3,904
cpp
C++
src/perception/filters/object_filter.cpp
HSRobot/hiropV3
3f094035229708302aec976cfb252f7bcdb7cd3f
[ "BSD-3-Clause" ]
null
null
null
src/perception/filters/object_filter.cpp
HSRobot/hiropV3
3f094035229708302aec976cfb252f7bcdb7cd3f
[ "BSD-3-Clause" ]
null
null
null
src/perception/filters/object_filter.cpp
HSRobot/hiropV3
3f094035229708302aec976cfb252f7bcdb7cd3f
[ "BSD-3-Clause" ]
null
null
null
#include "object_filter.h" #include <tf/transform_listener.h> using namespace hirop_perception; float ObjectFilter::minX = 0; float ObjectFilter::maxX = 0; float ObjectFilter::minZ = 0; float ObjectFilter::maxZ = 0; float ObjectFilter::minY = 0; float ObjectFilter::maxY = 0; ObjectFilter::ObjectFilter(){ _n = r...
31.483871
120
0.661629
HSRobot
ed26a2ae385692577b463e0542740bdc0391e734
4,156
cpp
C++
framework/PVRVk/DescriptorSetVk.cpp
jjYBdx4IL/Native_SDK
5e1cdf579fd0a98c26935ebef098dd3f41829c86
[ "MIT" ]
559
2015-01-10T21:22:11.000Z
2022-03-31T02:32:14.000Z
framework/PVRVk/DescriptorSetVk.cpp
jjYBdx4IL/Native_SDK
5e1cdf579fd0a98c26935ebef098dd3f41829c86
[ "MIT" ]
69
2015-06-27T11:08:37.000Z
2022-03-26T02:14:36.000Z
framework/PVRVk/DescriptorSetVk.cpp
jjYBdx4IL/Native_SDK
5e1cdf579fd0a98c26935ebef098dd3f41829c86
[ "MIT" ]
213
2015-01-25T01:20:52.000Z
2022-03-24T00:57:05.000Z
/*! \brief Function definitions for the DescriptorSet class. \file PVRVk/DescriptorSetVk.cpp \author PowerVR by Imagination, Developer Technology Team \copyright Copyright (c) Imagination Technologies Limited. */ #include "PVRVk/DescriptorSetVk.h" #include "PVRVk/ImageVk.h" #include "PVRVk/SamplerVk.h" #include "PVRVk/...
36.778761
184
0.782964
jjYBdx4IL
ed275cc17cde49f52def9dcc9f0c0470d9af7c14
1,617
cpp
C++
core/fxge/dib/fx_dib.cpp
yanxijian/pdfium
aba53245bf116a1d908f851a93236b500988a1ee
[ "Apache-2.0" ]
16
2018-09-14T12:07:14.000Z
2021-04-22T11:18:25.000Z
core/fxge/dib/fx_dib.cpp
yanxijian/pdfium
aba53245bf116a1d908f851a93236b500988a1ee
[ "Apache-2.0" ]
1
2020-12-26T16:18:40.000Z
2020-12-26T16:18:40.000Z
core/fxge/dib/fx_dib.cpp
yanxijian/pdfium
aba53245bf116a1d908f851a93236b500988a1ee
[ "Apache-2.0" ]
6
2017-09-12T14:09:32.000Z
2021-11-20T03:32:27.000Z
// Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "core/fxge/dib/fx_dib.h" #include <tuple> #include <utility> #inclu...
26.508197
80
0.710575
yanxijian
ed298aa3d1170c7bde66bdd8ca2dc1ff29daf5d5
3,969
cpp
C++
src/3rdparty/khtml/src/rendering/media_controls.cpp
afarcat/QtHtmlView
fff12b6f5c08c2c6db15dd73e4f0b55421827b39
[ "Apache-2.0" ]
null
null
null
src/3rdparty/khtml/src/rendering/media_controls.cpp
afarcat/QtHtmlView
fff12b6f5c08c2c6db15dd73e4f0b55421827b39
[ "Apache-2.0" ]
null
null
null
src/3rdparty/khtml/src/rendering/media_controls.cpp
afarcat/QtHtmlView
fff12b6f5c08c2c6db15dd73e4f0b55421827b39
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2009 Michael Howell <mhowell123@gmail.com>. * Copyright (C) 2009 Germain Garand <germain@ebooksfrance.org> * Parts copyright (C) 2007, 2008 Apple Inc. All rights reserved. * Copyright (C) 2018 afarcat <kabak@sina.com> * * Redistribution and use in source and binary forms, with or without * mod...
40.090909
121
0.715545
afarcat
ed2ded170e1a993c92d6fede74637559925a1719
1,229
cpp
C++
Software Engineering Algorithmic Techniques/Exam/3.cpp
danielgarm/Algorithms
8acb3e913527cb158ea414bce2a99408f3a2bf84
[ "MIT" ]
null
null
null
Software Engineering Algorithmic Techniques/Exam/3.cpp
danielgarm/Algorithms
8acb3e913527cb158ea414bce2a99408f3a2bf84
[ "MIT" ]
null
null
null
Software Engineering Algorithmic Techniques/Exam/3.cpp
danielgarm/Algorithms
8acb3e913527cb158ea414bce2a99408f3a2bf84
[ "MIT" ]
null
null
null
//Daniel Garcia Molero #include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; //Esta solucion tiene un coste en tiempo y espacio de O(x*y), donde x e y son la //longitud de las palabras 1 y 2 respectivamente int getLongestSequence(const string &p1, const string &p2) { //p1 ...
25.604167
100
0.561432
danielgarm
ed2e6db9ffc4c595fffa607ced9ac223b80a909a
5,746
cpp
C++
publibs/libzq/libzq/utils/ZQStringUtils.cpp
tianxiawuzhei/cocos-quick-cpp
3bf7a05846e407c8b875cfe2c86f6499f8345bb7
[ "MIT" ]
1
2017-06-21T10:06:26.000Z
2017-06-21T10:06:26.000Z
publibs/libzq/libzq/utils/ZQStringUtils.cpp
tianxiawuzhei/cocos-quick-cpp
3bf7a05846e407c8b875cfe2c86f6499f8345bb7
[ "MIT" ]
null
null
null
publibs/libzq/libzq/utils/ZQStringUtils.cpp
tianxiawuzhei/cocos-quick-cpp
3bf7a05846e407c8b875cfe2c86f6499f8345bb7
[ "MIT" ]
null
null
null
// // ZQStringUtils.cpp // libzq // // Created by staff on 16/11/18. // Copyright © 2016年 zyqiosexercise. All rights reserved. // #include "ZQStringUtils.h" #include <functional> using namespace zq; bool StringUtils::startsWith(const std::string &text, const std::string &start) { //if start is bigger than t...
24.347458
114
0.560042
tianxiawuzhei
ed2fe22e3bebe19526b10a68bcb9cb728a082742
1,118
cpp
C++
codeforces/2020/round#630/C.cpp
plusplus7/solutions
31233c13ee2bd0da6a907a24adbaf5b49ebf843c
[ "CC0-1.0" ]
5
2016-04-29T07:14:23.000Z
2020-01-07T04:56:11.000Z
codeforces/2020/round#630/C.cpp
plusplus7/solutions
31233c13ee2bd0da6a907a24adbaf5b49ebf843c
[ "CC0-1.0" ]
null
null
null
codeforces/2020/round#630/C.cpp
plusplus7/solutions
31233c13ee2bd0da6a907a24adbaf5b49ebf843c
[ "CC0-1.0" ]
1
2016-04-29T07:14:32.000Z
2016-04-29T07:14:32.000Z
#include <bits/stdc++.h > using namespace std; int cnt[200005][26]; char s[200005]; int main() { int T; scanf("%d", &T); while (T--) { int n, k; scanf("%d%d", &n, &k); scanf("%s", s); for (int i=0; i<n; i++) { for (int j=0; j<26; j++) { c...
20.703704
42
0.28712
plusplus7
ed3090bc9abd62ac484ff5872db4b1682db29842
11,744
cpp
C++
src/system.cpp
marangisto/HAL
fa56b539f64b277fa122a010e4ee643463f58498
[ "MIT" ]
2
2019-09-12T04:12:16.000Z
2020-09-23T19:13:06.000Z
src/system.cpp
marangisto/HAL
fa56b539f64b277fa122a010e4ee643463f58498
[ "MIT" ]
2
2019-09-10T13:47:50.000Z
2020-02-24T03:27:47.000Z
src/system.cpp
marangisto/HAL
fa56b539f64b277fa122a010e4ee643463f58498
[ "MIT" ]
3
2019-08-31T12:58:28.000Z
2020-03-26T22:56:34.000Z
#include <hal.h> #include <algorithm> namespace hal { using namespace device; namespace internal { template<uint32_t x, uint32_t b, uint8_t nbits> static constexpr uint32_t encode() { static_assert(x < (1 << nbits), "bit field overflow"); return ((x & (1 << 0)) ? (b << 0) : 0) | ((x & (1 << 1)) ? (...
38.006472
139
0.538658
marangisto
ed310c573883603a89722dd85d846cac70c032fc
1,857
cpp
C++
platform/platform_std.cpp
LaGrunge/geocore
b599eda29a32a14e5c02f51c66848959b50732f2
[ "Apache-2.0" ]
1
2019-10-02T16:17:31.000Z
2019-10-02T16:17:31.000Z
platform/platform_std.cpp
LaGrunge/omim
8ce6d970f8f0eb613531b16edd22ea8ab923e72a
[ "Apache-2.0" ]
6
2019-09-09T10:11:41.000Z
2019-10-02T15:04:21.000Z
platform/platform_std.cpp
LaGrunge/geocore
b599eda29a32a14e5c02f51c66848959b50732f2
[ "Apache-2.0" ]
null
null
null
#include "platform/constants.hpp" #include "platform/measurement_utils.hpp" #include "platform/platform.hpp" #include "platform/settings.hpp" #include "coding/file_reader.hpp" #include "base/logging.hpp" #include "platform/target_os.hpp" #include <algorithm> #include <future> #include <memory> #include <regex> #inc...
23.807692
98
0.699515
LaGrunge
ed3307a3e2baf12abd506d5a0cd8c85d862afac7
878
cpp
C++
src/servers/server.cpp
thepieterdc/mailbridge
b64e42ee976c60cbef663840fb19377e6624dae3
[ "MIT" ]
null
null
null
src/servers/server.cpp
thepieterdc/mailbridge
b64e42ee976c60cbef663840fb19377e6624dae3
[ "MIT" ]
6
2019-03-30T14:12:56.000Z
2021-04-06T20:24:01.000Z
src/servers/server.cpp
thepieterdc/mailbridge
b64e42ee976c60cbef663840fb19377e6624dae3
[ "MIT" ]
1
2020-10-08T04:47:32.000Z
2020-10-08T04:47:32.000Z
/** * Copyright (c) 2019 - Pieter De Clercq. All rights reserved. * * https://github.com/thepieterdc/mailbridge/ */ #include <sys/socket.h> #include <unistd.h> #include <iostream> #include "server.h" #include "../configurations/slack_configuration.h" #include "../handlers/slack_handler.h" #include "../handlers/std...
27.4375
75
0.643508
thepieterdc
ed341d5d54054a4f7820114ffb37bbcdb7a88045
2,113
cpp
C++
luogu/5105.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
3
2017-09-17T09:12:50.000Z
2018-04-06T01:18:17.000Z
luogu/5105.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
null
null
null
luogu/5105.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
null
null
null
#include <bits/stdc++.h> #define N 100020 #define ll long long using namespace std; inline ll read(){ ll x=0,f=1;char ch=getchar(); while(ch>'9'||ch<'0')ch=='-'&&(f=0)||(ch=getchar()); while(ch<='9'&&ch>='0')x=(x<<3)+(x<<1)+ch-'0',ch=getchar(); return f?x:-x; } typedef pair<ll, ll> pairs; inline ll calc(ll x) ...
19.747664
61
0.508755
swwind
ed34b0ffb3a8702b93b2797a10e2f2ebb0ba8ad3
1,939
cpp
C++
src/CDirFTW.cpp
colinw7/CFile
1ac42b52303585fe9a49b043c293afe118551c50
[ "MIT" ]
1
2021-12-23T02:21:05.000Z
2021-12-23T02:21:05.000Z
src/CDirFTW.cpp
colinw7/CFile
1ac42b52303585fe9a49b043c293afe118551c50
[ "MIT" ]
null
null
null
src/CDirFTW.cpp
colinw7/CFile
1ac42b52303585fe9a49b043c293afe118551c50
[ "MIT" ]
null
null
null
#include <CDirFTW.h> #include <ftw.h> #include <iostream> typedef int (*FtwProc)(const char *file, const struct stat *sb, int flag, struct FTW *ftw); CDirFTW *CDirFTW::walk_ = NULL; CDirFTW:: CDirFTW(const std::string &dirname) : dirname_(dirname), follow_links_(false), change_dir_(false), debug_(false) { } bool...
23.938272
91
0.626096
colinw7
ed3723efd8501d72d40c6428e25d6fe8bf1f9734
113
hpp
C++
src/afk/io/Time.hpp
christocs/ICT398
9fd7c17a72985ac2eb59a13c1d3761598e544771
[ "ISC" ]
null
null
null
src/afk/io/Time.hpp
christocs/ICT398
9fd7c17a72985ac2eb59a13c1d3761598e544771
[ "ISC" ]
null
null
null
src/afk/io/Time.hpp
christocs/ICT398
9fd7c17a72985ac2eb59a13c1d3761598e544771
[ "ISC" ]
null
null
null
#pragma once #include <string> namespace afk { namespace io { auto get_date_time() -> std::string; } }
11.3
40
0.637168
christocs
ed37816ab920205a9631d33a5a5ec9ad7362cd8e
413
cpp
C++
CPP.Part_2/week_4/01.Error_Handling/static_assert.cpp
DGolgovsky/Courses
01e2dedc06f677bcdb1cbfd02ccc08a89cc932a0
[ "Unlicense" ]
4
2017-11-17T12:02:21.000Z
2021-02-08T11:24:16.000Z
CPP.Part_2/week_4/01.Error_Handling/static_assert.cpp
DGolgovsky/Courses
01e2dedc06f677bcdb1cbfd02ccc08a89cc932a0
[ "Unlicense" ]
null
null
null
CPP.Part_2/week_4/01.Error_Handling/static_assert.cpp
DGolgovsky/Courses
01e2dedc06f677bcdb1cbfd02ccc08a89cc932a0
[ "Unlicense" ]
null
null
null
#include <type_traits> #include <iostream> //#define NDEBUG #include <cassert> // assert template<class T> void countdown(T start) { // Compile time static_assert(std::is_integral<T>::value && std::is_signed<T>::value, "Requires signed integral type"); assert(start >= 0); ...
22.944444
51
0.581114
DGolgovsky
ed3796b61b2e82dd4989bf22aa03ee38e46c92fc
381
cpp
C++
Array/zhangjunwei/6.28-7.4/reverseList.cpp
JessonYue/LeetCodeLearning
3c22a4fcdfe8b47f9f64b939c8b27742c4e30b79
[ "MIT" ]
39
2020-05-31T06:14:39.000Z
2021-01-09T11:06:39.000Z
Array/zhangjunwei/6.28-7.4/reverseList.cpp
JessonYue/LeetCodeLearning
3c22a4fcdfe8b47f9f64b939c8b27742c4e30b79
[ "MIT" ]
7
2020-06-02T11:04:14.000Z
2020-06-11T14:11:58.000Z
Array/zhangjunwei/6.28-7.4/reverseList.cpp
JessonYue/LeetCodeLearning
3c22a4fcdfe8b47f9f64b939c8b27742c4e30b79
[ "MIT" ]
20
2020-05-31T06:21:57.000Z
2020-10-01T04:48:38.000Z
// // Created by 张俊伟 on 2020/7/1. // struct ListNode { int val; struct ListNode *next; }; struct ListNode *reverseList(struct ListNode *head) { struct ListNode *pre = nullptr; struct ListNode *cur = head; while (cur!= nullptr){ struct ListNode *temp = cur->next; cur->next = pre; ...
18.142857
53
0.572178
JessonYue
ed3955cdc3fd6a96e8232f765fdf5de4d43dc086
5,862
hxx
C++
main/svx/inc/svx/fmview.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/svx/inc/svx/fmview.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/svx/inc/svx/fmview.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
35.96319
150
0.73695
Grosskopf
ed397e564c1f568a424b6ed732a044d20946b591
25,953
cc
C++
src/canoe/filter_models.cc
nrc-cnrc/Portage-SMT-TAS
73f5a65de4adfa13008ea9a01758385c97526059
[ "MIT" ]
null
null
null
src/canoe/filter_models.cc
nrc-cnrc/Portage-SMT-TAS
73f5a65de4adfa13008ea9a01758385c97526059
[ "MIT" ]
null
null
null
src/canoe/filter_models.cc
nrc-cnrc/Portage-SMT-TAS
73f5a65de4adfa13008ea9a01758385c97526059
[ "MIT" ]
null
null
null
/** * @author Samuel Larkin * @file filter_models.cc * @brief Program that filters TMs and LMs. * * LMs & TMs filtering * * Technologies langagieres interactives / Interactive Language Technologies * Inst. de technologie de l'information / Institute for Information Technology * Conseil national de recherches ...
42.826733
287
0.629908
nrc-cnrc
ed407add37f5d554e19b171cfe8f4cbb407845c7
4,566
cpp
C++
src/vulkan/vulkan-commandlist.cpp
Zwingling/nvrhi
12f3e12eb29b681e99a53af7347c60c0733a6ef9
[ "MIT" ]
325
2021-07-19T13:55:23.000Z
2022-03-31T20:38:58.000Z
src/vulkan/vulkan-commandlist.cpp
Zwingling/nvrhi
12f3e12eb29b681e99a53af7347c60c0733a6ef9
[ "MIT" ]
11
2021-07-20T00:15:59.000Z
2022-03-12T08:50:33.000Z
src/vulkan/vulkan-commandlist.cpp
Zwingling/nvrhi
12f3e12eb29b681e99a53af7347c60c0733a6ef9
[ "MIT" ]
38
2021-07-19T15:04:17.000Z
2022-03-28T09:09:09.000Z
/* * Copyright (c) 2014-2021, NVIDIA CORPORATION. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use,...
33.822222
131
0.70127
Zwingling
ed45890d5c7aa5f43dd8b1a6cf0b617a7507517f
507
cpp
C++
Gems/LyShine/Code/Editor/UndoStackExecutionScope.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-09-13T00:01:12.000Z
2021-09-13T00:01:12.000Z
Gems/LyShine/Code/Editor/UndoStackExecutionScope.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/LyShine/Code/Editor/UndoStackExecutionScope.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 "UiCanvasEditor_precompiled.h" #include "EditorCommon.h" UndoStackExecutionScope::UndoStac...
24.142857
158
0.757396
aaarsene
ed458e377aa8dc1d93a06d53c26c7680ac9fcdb0
4,296
cpp
C++
listen/tcp_listen_service.cpp
zhangdongai/libnetxcq
59007e9cfa78a6ff2a8f2cf9c652a4e0cfc5c65d
[ "Apache-2.0" ]
null
null
null
listen/tcp_listen_service.cpp
zhangdongai/libnetxcq
59007e9cfa78a6ff2a8f2cf9c652a4e0cfc5c65d
[ "Apache-2.0" ]
null
null
null
listen/tcp_listen_service.cpp
zhangdongai/libnetxcq
59007e9cfa78a6ff2a8f2cf9c652a4e0cfc5c65d
[ "Apache-2.0" ]
null
null
null
#include "listen/tcp_listen_service.h" #include <string.h> #include "log/log.h" #include "common/config/listen_flags.h" #include "connector/connector_manager.h" TCPListenService::TCPListenService() { stop_ = false; } TCPListenService::~TCPListenService() { stop(); close(listen_fd_); } void TCPListenSer...
28.832215
88
0.606378
zhangdongai
ed45e39629ea753cba0b162fae5f90771da878a1
2,189
cc
C++
src/libc/wchar/wmemmem_test.cc
NuxiNL/CloudLibc
d361c06c3fab3a7814d05b4630abe6da0cc7d757
[ "BSD-2-Clause" ]
298
2015-03-04T13:36:51.000Z
2021-12-19T05:11:58.000Z
src/libc/wchar/wmemmem_test.cc
NuxiNL/CloudLibc
d361c06c3fab3a7814d05b4630abe6da0cc7d757
[ "BSD-2-Clause" ]
31
2015-07-27T14:51:55.000Z
2020-09-14T15:59:57.000Z
src/libc/wchar/wmemmem_test.cc
NuxiNL/CloudLibc
d361c06c3fab3a7814d05b4630abe6da0cc7d757
[ "BSD-2-Clause" ]
18
2016-03-27T13:49:22.000Z
2021-09-21T19:02:04.000Z
// Copyright (c) 2016 Nuxi, https://nuxi.nl/ // // SPDX-License-Identifier: BSD-2-Clause #include <stdbool.h> #include <stdlib.h> #include <wchar.h> #include <iterator> #include "gtest/gtest.h" TEST(wmemmem, null) { // wmemmem() should not attempt to access any buffers if the needle // has length 0 or is larger ...
31.271429
77
0.637734
NuxiNL
ed464ebdac73f3e0f61523fed818c13bac3326f4
35
cpp
C++
Reference/BITs Manipulation/Is Odd.cpp
searleser97/Algorithms
af791541d416c29867213d705375cbb3361f486c
[ "Apache-2.0" ]
7
2019-06-06T17:54:20.000Z
2021-03-24T02:31:55.000Z
Reference/BITs Manipulation/Is Odd.cpp
searleser97/Algorithms
af791541d416c29867213d705375cbb3361f486c
[ "Apache-2.0" ]
null
null
null
Reference/BITs Manipulation/Is Odd.cpp
searleser97/Algorithms
af791541d416c29867213d705375cbb3361f486c
[ "Apache-2.0" ]
1
2021-03-24T02:31:57.000Z
2021-03-24T02:31:57.000Z
bool isOdd(int n) { return n & 1; }
35
35
0.6
searleser97
ed484f059f358a65e49a0ae7051b35f682d81bbc
27,224
hpp
C++
src/3rd/Simd/Simd/SimdDetection.hpp
inger147/AntiDupl
fb331c6312783bb74a62aa2efffcb7f5a5a54d3d
[ "MIT" ]
674
2018-01-09T19:13:40.000Z
2022-03-29T19:54:35.000Z
src/3rd/Simd/Simd/SimdDetection.hpp
inger147/AntiDupl
fb331c6312783bb74a62aa2efffcb7f5a5a54d3d
[ "MIT" ]
124
2018-01-09T08:12:45.000Z
2022-03-28T14:19:49.000Z
src/3rd/Simd/Simd/SimdDetection.hpp
inger147/AntiDupl
fb331c6312783bb74a62aa2efffcb7f5a5a54d3d
[ "MIT" ]
78
2018-01-11T03:09:43.000Z
2022-03-20T17:43:39.000Z
/* * Simd Library (http://ermig1979.github.io/Simd). * * Copyright (c) 2011-2020 Yermalayeu Ihar, * 2019-2019 Facundo Galan. * * 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...
37.242134
152
0.490192
inger147
ed484f41521a3f09c7769954d090ee8c697f7ff4
5,499
hpp
C++
KFPlugin/KFTcpClient/KFTcpClientModule.hpp
282951387/KFrame
5d6e953f7cc312321c36632715259394ca67144c
[ "Apache-2.0" ]
1
2021-04-26T09:31:32.000Z
2021-04-26T09:31:32.000Z
KFPlugin/KFTcpClient/KFTcpClientModule.hpp
282951387/KFrame
5d6e953f7cc312321c36632715259394ca67144c
[ "Apache-2.0" ]
null
null
null
KFPlugin/KFTcpClient/KFTcpClientModule.hpp
282951387/KFrame
5d6e953f7cc312321c36632715259394ca67144c
[ "Apache-2.0" ]
null
null
null
#ifndef __KF_CLIENT_MODULE_H__ #define __KF_CLIENT_MODULE_H__ /************************************************************************ // @Module : tcp客户端 // @Author : __凌_痕__ // @QQ : 7969936 // @Mail : lori227@qq.com // @Date : 2017-1-8 ***************...
41.345865
155
0.603019
282951387
ed48c1714f07f74f3c94bde2dbf575d44ac8ba62
7,084
cpp
C++
Gems/GraphCanvas/Code/Source/Components/Slots/Execution/ExecutionSlotLayoutComponent.cpp
whywhywhyw/o3de
8e09f66799d4c8f188d45861d821e8656a554cb1
[ "Apache-2.0", "MIT" ]
11
2021-07-08T09:58:26.000Z
2022-03-17T17:59:26.000Z
Gems/GraphCanvas/Code/Source/Components/Slots/Execution/ExecutionSlotLayoutComponent.cpp
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
29
2021-07-06T19:33:52.000Z
2022-03-22T10:27:49.000Z
Gems/GraphCanvas/Code/Source/Components/Slots/Execution/ExecutionSlotLayoutComponent.cpp
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
4
2021-07-06T19:24:43.000Z
2022-03-31T12:42:27.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 <QCoreApplication> #include <Components/Slots/Execution/ExecutionSlotLayoutComponent.h> ...
27.671875
114
0.612507
whywhywhyw
ed4a152a3507efe10e81219d3d348a7b6865d933
12,684
cc
C++
HeavyFlavorAnalysis/RecoDecay/src/BPHKinematicFit.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
HeavyFlavorAnalysis/RecoDecay/src/BPHKinematicFit.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
HeavyFlavorAnalysis/RecoDecay/src/BPHKinematicFit.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
/* * See header file for a description of this class. * * \author Paolo Ronchese INFN Padova * */ //----------------------- // This Class' Header -- //----------------------- #include "HeavyFlavorAnalysis/RecoDecay/interface/BPHKinematicFit.h" //------------------------------- // Collaborating Class Headers --...
29.361111
99
0.607537
pasmuss
ed4c3299ec2b60452ac666a9903ce85105463a48
1,906
hpp
C++
include/pcg/Random.hpp
TerensTare/tnt
916067a9bf697101afb1d0785112aa34014e8126
[ "MIT" ]
29
2020-04-22T01:31:30.000Z
2022-02-03T12:21:29.000Z
include/pcg/Random.hpp
TerensTare/tnt
916067a9bf697101afb1d0785112aa34014e8126
[ "MIT" ]
6
2020-04-17T10:31:56.000Z
2021-09-10T12:07:22.000Z
include/pcg/Random.hpp
TerensTare/tnt
916067a9bf697101afb1d0785112aa34014e8126
[ "MIT" ]
7
2020-03-13T01:50:41.000Z
2022-03-06T23:44:29.000Z
#ifndef TNT_PCG_RANDOM_HPP #define TNT_PCG_RANDOM_HPP #include <concepts> #include "core/Config.hpp" #include "math/Vector.hpp" // TODO: // randomColor, etc. // constexpr halton* namespace tnt { /// @brief Get a random float on range @c [min_,max_]. /// @param min_ The minimum value of the float. /// @p...
31.766667
82
0.644281
TerensTare
ed4d5bfd8b95769f8040728c1ade7d26d0a1c67c
13,010
cc
C++
tunnel_localizer/src/range_based_tunnel_localizer.cc
ozaslan/estimators
ad78f2d395d4a6155f0b6d61541167a99959a1c9
[ "MIT" ]
null
null
null
tunnel_localizer/src/range_based_tunnel_localizer.cc
ozaslan/estimators
ad78f2d395d4a6155f0b6d61541167a99959a1c9
[ "MIT" ]
null
null
null
tunnel_localizer/src/range_based_tunnel_localizer.cc
ozaslan/estimators
ad78f2d395d4a6155f0b6d61541167a99959a1c9
[ "MIT" ]
null
null
null
/* See the header file for detailed explanations of the below functions. */ #include "range_based_tunnel_localizer.hh" RangeBasedTunnelLocalizer::RangeBasedTunnelLocalizer(int max_iter, double yz_tol, double yaw_tol){ _cloud = pcl::PointCloud<pcl::PointXYZ>().makeShared(); _cloud_aligned = pcl::PointC...
33.704663
179
0.657264
ozaslan
ed51646e6816d35c30fa86f285429110d89a924c
5,493
cpp
C++
SofaKernel/modules/SofaComponentBase/SofaComponentBase_test/MessageHandlerComponent_test.cpp
sofa-framework/issofa
94855f488465bc3ed41223cbde987581dfca5389
[ "OML" ]
null
null
null
SofaKernel/modules/SofaComponentBase/SofaComponentBase_test/MessageHandlerComponent_test.cpp
sofa-framework/issofa
94855f488465bc3ed41223cbde987581dfca5389
[ "OML" ]
null
null
null
SofaKernel/modules/SofaComponentBase/SofaComponentBase_test/MessageHandlerComponent_test.cpp
sofa-framework/issofa
94855f488465bc3ed41223cbde987581dfca5389
[ "OML" ]
null
null
null
/****************************************************************************** * SOFA, Simulation Open-Framework Architecture, development version * * (c) 2006-2017 INRIA, USTL, UJF, CNRS, MGH * * * ...
42.581395
80
0.463499
sofa-framework
ed518a28c3b906413f7b0f6ec058afadb4bbea1b
4,617
inl
C++
include/fileos/path.inl
napina/fileos
44443d126d9c4faf1192196bfe88b556c4a7411f
[ "MIT" ]
2
2017-05-10T06:05:54.000Z
2021-03-31T13:14:49.000Z
include/fileos/path.inl
napina/fileos
44443d126d9c4faf1192196bfe88b556c4a7411f
[ "MIT" ]
null
null
null
include/fileos/path.inl
napina/fileos
44443d126d9c4faf1192196bfe88b556c4a7411f
[ "MIT" ]
null
null
null
/*============================================================================= Copyright (c) 2013 Ville Ruusutie Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including wi...
21.881517
79
0.690925
napina
ed51a54892790ba25f520c34ffed15509fb4b9e7
453
cpp
C++
S03/Enum.cpp
stevekeol/-Thinking-in-Cpp-PracticeCode
5b147e704015bbda364ab069f1de58dcef7ab14a
[ "MIT" ]
2
2017-06-20T12:16:30.000Z
2021-11-12T12:06:57.000Z
S03/Enum.cpp
stevekeol/-Thinking-in-Cpp-PracticeCode
5b147e704015bbda364ab069f1de58dcef7ab14a
[ "MIT" ]
null
null
null
S03/Enum.cpp
stevekeol/-Thinking-in-Cpp-PracticeCode
5b147e704015bbda364ab069f1de58dcef7ab14a
[ "MIT" ]
null
null
null
//: S03:Enum.cpp // From "Thinking in C++, 2nd Edition, Volume 1, Annotated Solutions Guide" // by Chuck Allison, (c) 2001 MindView, Inc. all rights reserved // Available at www.BruceEckel.com. #include <iostream> enum color { BLACK, RED, GREEN, BLUE, WHITE }; int main() { using...
18.12
76
0.556291
stevekeol
ed52e6ef57926d2f3d71c2ce4bbb6fe608271ed7
7,472
cpp
C++
resources/Wireshark/WiresharkDissectorFoo/ui/qt/moc_interface_toolbar.cpp
joshis1/C_Programming
4a8003321251448a167bfca0b595c5eeab88608d
[ "MIT" ]
2
2020-09-11T05:51:42.000Z
2020-12-31T11:42:02.000Z
resources/Wireshark/WiresharkDissectorFoo/ui/qt/moc_interface_toolbar.cpp
joshis1/C_Programming
4a8003321251448a167bfca0b595c5eeab88608d
[ "MIT" ]
null
null
null
resources/Wireshark/WiresharkDissectorFoo/ui/qt/moc_interface_toolbar.cpp
joshis1/C_Programming
4a8003321251448a167bfca0b595c5eeab88608d
[ "MIT" ]
null
null
null
/**************************************************************************** ** Meta object code from reading C++ file 'interface_toolbar.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.6.1) ** ** WARNING! All changes made in this file will be lost! ***************************************************...
37.737374
199
0.622725
joshis1
ed544679088b86bdbec210bf4443dbe01fe57a0d
3,869
cpp
C++
ThorEngine/Source Code/R_Mesh.cpp
markitus18/Game-Engine
ea9546a16f2e40d13002340b4cb6b42a33a41344
[ "Unlicense" ]
null
null
null
ThorEngine/Source Code/R_Mesh.cpp
markitus18/Game-Engine
ea9546a16f2e40d13002340b4cb6b42a33a41344
[ "Unlicense" ]
null
null
null
ThorEngine/Source Code/R_Mesh.cpp
markitus18/Game-Engine
ea9546a16f2e40d13002340b4cb6b42a33a41344
[ "Unlicense" ]
null
null
null
#include "R_Mesh.h" #include "OpenGL.h" R_Mesh::R_Mesh() : Resource(ResourceType::MESH) { isExternal = true; for (uint i = 0; i < max_buffer_type; i++) { buffers[i] = 0; buffersSize[i] = 0; } } R_Mesh::~R_Mesh() { } void R_Mesh::CreateAABB() { aabb.SetNegativeInfinity(); aabb.Enclose((math::vec*)vertices,...
30.952
108
0.747738
markitus18
ed551ff087fb4dbe31bc3c97adc3d16b4a20568f
4,249
cpp
C++
gm/yuvtorgbeffect.cpp
zhaodm/skia_sdl
8724ae26584df523eb7bb814ffe7aec5f597d187
[ "BSD-3-Clause" ]
null
null
null
gm/yuvtorgbeffect.cpp
zhaodm/skia_sdl
8724ae26584df523eb7bb814ffe7aec5f597d187
[ "BSD-3-Clause" ]
null
null
null
gm/yuvtorgbeffect.cpp
zhaodm/skia_sdl
8724ae26584df523eb7bb814ffe7aec5f597d187
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2014 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ // This test only works with the GPU backend. #include "gm.h" #if SK_SUPPORT_GPU #include "GrContext.h" #include "GrTest.h" #include "effects/GrYUVtoRGBEffect.h" #include ...
30.789855
99
0.526948
zhaodm
ed562103ef94506123254714804254094079389c
15,054
cpp
C++
plugins/gui/src/grouping/grouping_manager_widget.cpp
e7p/hal
2a88a8abefe5e2f79a74ec646e5fb3d8e6eb7cc8
[ "MIT" ]
null
null
null
plugins/gui/src/grouping/grouping_manager_widget.cpp
e7p/hal
2a88a8abefe5e2f79a74ec646e5fb3d8e6eb7cc8
[ "MIT" ]
null
null
null
plugins/gui/src/grouping/grouping_manager_widget.cpp
e7p/hal
2a88a8abefe5e2f79a74ec646e5fb3d8e6eb7cc8
[ "MIT" ]
null
null
null
#include "gui/grouping/grouping_manager_widget.h" #include "gui/gui_globals.h" #include "gui/graph_tab_widget/graph_tab_widget.h" #include "gui/grouping/grouping_color_delegate.h" #include "gui/grouping/grouping_proxy_model.h" #include "gui/input_dialog/input_dialog.h" #include "gui/searchbar/searchbar.h" #include "gu...
37.354839
144
0.687724
e7p
ed56342a68c738c824389e349e942e22dc9c813c
1,880
cpp
C++
src/model/seasonlistmodel.cpp
sailfish-os-apps/harbour-sailseries
df8fb67b720e4ba9f8c4644ebc03cf90bb745e3c
[ "MIT" ]
null
null
null
src/model/seasonlistmodel.cpp
sailfish-os-apps/harbour-sailseries
df8fb67b720e4ba9f8c4644ebc03cf90bb745e3c
[ "MIT" ]
null
null
null
src/model/seasonlistmodel.cpp
sailfish-os-apps/harbour-sailseries
df8fb67b720e4ba9f8c4644ebc03cf90bb745e3c
[ "MIT" ]
null
null
null
#include "seasonlistmodel.h" SeasonListModel::SeasonListModel(QObject *parent, DatabaseManager* dbmanager) : QObject(parent) { m_dbmanager = dbmanager; } SeasonListModel::~SeasonListModel() { for (auto season : m_seasonListModel) { delete season; season = 0; } } QQmlListProperty<Seas...
29.84127
133
0.743617
sailfish-os-apps
ed5a55a0d431d28bd8c2e93e9da44b446141e59e
20,129
cc
C++
code/machine/mips_sim.cc
barufa/nachos
c61004eb45144835180be12eefc250d470842d04
[ "MIT" ]
1
2019-10-21T02:22:16.000Z
2019-10-21T02:22:16.000Z
code/machine/mips_sim.cc
barufa/Nachos
c61004eb45144835180be12eefc250d470842d04
[ "MIT" ]
null
null
null
code/machine/mips_sim.cc
barufa/Nachos
c61004eb45144835180be12eefc250d470842d04
[ "MIT" ]
null
null
null
/// Simulate a MIPS R2/3000 processor. /// /// This code has been adapted from Ousterhout's MIPSSIM package. Byte /// ordering is little-endian, so we can be compatible with DEC RISC systems. /// /// DO NOT CHANGE -- part of the machine emulation /// /// Copyright (c) 1992-1993 The Regents of the University of Califor...
31.063272
78
0.498038
barufa
ed5ccab1bbc5d5d87fd8ef351769529774b248b6
3,398
cpp
C++
src/prediction.cpp
zardosht/Path_Planning_SDCP7
d7bad37e81e1345737e9c4e44d5d15386bbe10c3
[ "MIT" ]
1
2021-03-24T11:17:34.000Z
2021-03-24T11:17:34.000Z
src/prediction.cpp
zardosht/Path_Planning_SDCP7
d7bad37e81e1345737e9c4e44d5d15386bbe10c3
[ "MIT" ]
null
null
null
src/prediction.cpp
zardosht/Path_Planning_SDCP7
d7bad37e81e1345737e9c4e44d5d15386bbe10c3
[ "MIT" ]
null
null
null
#include <math.h> #include <iostream> #include <math.h> #include "prediction.h" using std::cout; using std::endl; using std::min; using std::max; Prediction::Prediction() { init_lanes(); } Prediction::~Prediction() { } void Prediction::update(vector<vector<double>>& sensor_fusion, Vehicle& egocar, Trajector...
26.755906
102
0.524426
zardosht
ed5d40ec16569384379998e22dd30acdc9503ab0
8,022
cpp
C++
src/arch/ArchHooks/ArchHooks_Win32.cpp
caiohsr14/stepmania
7d33efe587c75a683938aeabafc1ec2bec3007d6
[ "MIT" ]
null
null
null
src/arch/ArchHooks/ArchHooks_Win32.cpp
caiohsr14/stepmania
7d33efe587c75a683938aeabafc1ec2bec3007d6
[ "MIT" ]
null
null
null
src/arch/ArchHooks/ArchHooks_Win32.cpp
caiohsr14/stepmania
7d33efe587c75a683938aeabafc1ec2bec3007d6
[ "MIT" ]
null
null
null
#include "global.h" #include "ArchHooks_Win32.h" #include "RageUtil.h" #include "RageLog.h" #include "RageThreads.h" #include "ProductInfo.h" #include "archutils/win32/AppInstance.h" #include "archutils/win32/crash.h" #include "archutils/win32/DebugInfoHunt.h" #include "archutils/win32/ErrorStrings.h" #include "archuti...
30.271698
133
0.733732
caiohsr14
ed5ed317aacfd450f282d0974ada1bb154a12e85
709
cc
C++
Question/全排列.cc
lkimprove/Study_C
ee1153536f28e160d5daad4ddebaa547c3941ee7
[ "MIT" ]
null
null
null
Question/全排列.cc
lkimprove/Study_C
ee1153536f28e160d5daad4ddebaa547c3941ee7
[ "MIT" ]
null
null
null
Question/全排列.cc
lkimprove/Study_C
ee1153536f28e160d5daad4ddebaa547c3941ee7
[ "MIT" ]
null
null
null
class Solution { public: void Perm(vector<vector<int>>& ret, vector<int>& nums, int index, int size){ //结束条件 if(index == size){ vector<int> tmp = nums; ret.push_back(tmp); return; } for(int i = index; i < size; i++){ //在0位置依次固定nums中的每一...
23.633333
80
0.461213
lkimprove
ed5ff105e5090fa080564478bbcb3e570a821284
399
cpp
C++
warm-up-contest/data/star/gen.cpp
yuchong-pan/my-oi-lectures
721ff870b5cc388ef81961bf1a96361a74e2d896
[ "MIT" ]
3
2019-07-30T10:43:58.000Z
2019-07-30T10:46:05.000Z
warm-up-contest/data/star/gen.cpp
yuchong-pan/my-oi-lectures
721ff870b5cc388ef81961bf1a96361a74e2d896
[ "MIT" ]
null
null
null
warm-up-contest/data/star/gen.cpp
yuchong-pan/my-oi-lectures
721ff870b5cc388ef81961bf1a96361a74e2d896
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstdlib> using namespace std; char cmd[100]; int main() { for (int i = 1; i <= 10; i++) { sprintf(cmd, "cp star%d.in star.in", i); system(cmd); sprintf(cmd, "./star"); system(cmd); sprintf(cmd, "mv star.out star%d.out", i); system(cmd); ...
19
50
0.506266
yuchong-pan
ed64f4379ab6d94dbefb2750a80656e68312ed4c
1,307
hpp
C++
chapter03/InputComponent.hpp
AconCavy/gpcpp
70d06e00f9ffc4dea580890a8b95027b32f5a9f6
[ "MIT" ]
null
null
null
chapter03/InputComponent.hpp
AconCavy/gpcpp
70d06e00f9ffc4dea580890a8b95027b32f5a9f6
[ "MIT" ]
null
null
null
chapter03/InputComponent.hpp
AconCavy/gpcpp
70d06e00f9ffc4dea580890a8b95027b32f5a9f6
[ "MIT" ]
null
null
null
#ifndef GPCPP_CHAPTER03_INPUTCOMPONENT_HPP #define GPCPP_CHAPTER03_INPUTCOMPONENT_HPP #include "MoveComponent.hpp" namespace gpcpp::c03 { class InputComponent : public MoveComponent { public: explicit InputComponent(class Actor *Owner); void processInput(const uint8_t *KeyState) override; [[nodiscard]] float...
31.119048
76
0.752104
AconCavy
ed6a08e905256517309d069a0b585d1fc66f6d7b
348
hpp
C++
modules/math/source/blub/math/rectangle.hpp
qwertzui11/voxelTerrain
05038fb261893dd044ae82fab96b7708ea5ed623
[ "MIT" ]
96
2015-02-02T20:01:24.000Z
2021-11-14T20:33:29.000Z
modules/math/source/blub/math/rectangle.hpp
qwertzui11/voxelTerrain
05038fb261893dd044ae82fab96b7708ea5ed623
[ "MIT" ]
12
2016-06-04T15:45:30.000Z
2020-02-04T11:10:51.000Z
modules/math/source/blub/math/rectangle.hpp
qwertzui11/voxelTerrain
05038fb261893dd044ae82fab96b7708ea5ed623
[ "MIT" ]
19
2015-09-22T01:21:45.000Z
2020-09-30T09:52:27.000Z
#ifndef RECTANGLE_HPP #define RECTANGLE_HPP #include "vector2.hpp" namespace blub { class rectangle { public: vector2 topLeft, rightBottom; rectangle(void); rectangle(const vector2 &topLeft_, const vector2 &rightBottom_); void merge(const rectangle &other); void merge(const vector2 &other); }; ...
14.5
68
0.721264
qwertzui11
ed6b514c805774c8fc3b1aa06b5d422900155cc2
2,999
cc
C++
src/poly/schedule_pass/init_schedule.cc
laekov/akg
5316b8cb2340bbf71bdc724dc9d81513a67b3104
[ "Apache-2.0" ]
1
2020-08-31T02:43:43.000Z
2020-08-31T02:43:43.000Z
src/poly/schedule_pass/init_schedule.cc
laekov/akg
5316b8cb2340bbf71bdc724dc9d81513a67b3104
[ "Apache-2.0" ]
null
null
null
src/poly/schedule_pass/init_schedule.cc
laekov/akg
5316b8cb2340bbf71bdc724dc9d81513a67b3104
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2019 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
36.573171
120
0.726909
laekov
ed6ce8fb3e469fba323f9450e3f97fc44be7d8aa
236
cpp
C++
cpp/new_features/cpp20/aggregate.cpp
KaiserLancelot/Cpp-Primer
a4791a6765f0b6c864e8881e6a5328e2a3d68974
[ "MIT" ]
2
2019-12-21T00:53:47.000Z
2020-01-01T10:36:30.000Z
cpp/new_features/cpp20/aggregate.cpp
KaiserLancelot/Cpp-Primer
a4791a6765f0b6c864e8881e6a5328e2a3d68974
[ "MIT" ]
null
null
null
cpp/new_features/cpp20/aggregate.cpp
KaiserLancelot/Cpp-Primer
a4791a6765f0b6c864e8881e6a5328e2a3d68974
[ "MIT" ]
null
null
null
/** * @ Author: KaiserLancelot * @ Create Time: 2020-05-14 06:26:07 * @ Modified time: 2020-05-15 02:16:50 */ #include <cstdint> struct A { std::int32_t x; std::int32_t y; std::int32_t z; }; // TODO 编译器实现不完整 int main() {}
13.111111
39
0.605932
KaiserLancelot
ed6ea34c796889ff5aed0e4f2a185fe0c4836f90
1,374
hpp
C++
include/librandom/random.hpp
averrin/citygen-viewer
6bf44a91c97d79bb9871f9571d3f8a7213b09505
[ "MIT" ]
null
null
null
include/librandom/random.hpp
averrin/citygen-viewer
6bf44a91c97d79bb9871f9571d3f8a7213b09505
[ "MIT" ]
null
null
null
include/librandom/random.hpp
averrin/citygen-viewer
6bf44a91c97d79bb9871f9571d3f8a7213b09505
[ "MIT" ]
null
null
null
#ifndef __RANDOM_H_ #define __RANDOM_H_ #include <chrono> #include <cmath> #include <cstdlib> #include <iomanip> #include <iostream> #include <random> namespace R { // float R(float min, float max) { // return min + static_cast<float>(rand()) / // (static_cast<float>(RAND_MAX / (max - min))); // ...
20.507463
82
0.597525
averrin
ed74c682f9694601e7855a9d62431763a70407b6
2,840
cpp
C++
shadow/core/network.cpp
junluan/shadow
067d1c51d7c38bc1c985008a2e2e1599bbf11a8c
[ "Apache-2.0" ]
20
2017-07-04T11:22:47.000Z
2022-01-16T03:58:32.000Z
shadow/core/network.cpp
junluan/shadow
067d1c51d7c38bc1c985008a2e2e1599bbf11a8c
[ "Apache-2.0" ]
2
2017-12-03T13:07:39.000Z
2021-01-13T11:11:52.000Z
shadow/core/network.cpp
junluan/shadow
067d1c51d7c38bc1c985008a2e2e1599bbf11a8c
[ "Apache-2.0" ]
10
2017-09-30T05:06:30.000Z
2020-11-13T05:43:44.000Z
#include "network.hpp" #include "network_impl.hpp" namespace Shadow { Network::Network() { engine_ = std::make_shared<NetworkImpl>(); } void Network::LoadXModel(const shadow::NetParam& net_param, const ArgumentHelper& arguments) { engine_->LoadXModel(net_param, arguments); } void Network:...
38.378378
77
0.551408
junluan
ed7bec52e1ce340fcc0d8beffff026e9836b89b5
422
cpp
C++
polygons/translationgraphwidget.cpp
humble-barnacle001/qt-raster-lines
7c5d38d6d6dd802901702b97084df3db12151e2e
[ "MIT" ]
null
null
null
polygons/translationgraphwidget.cpp
humble-barnacle001/qt-raster-lines
7c5d38d6d6dd802901702b97084df3db12151e2e
[ "MIT" ]
null
null
null
polygons/translationgraphwidget.cpp
humble-barnacle001/qt-raster-lines
7c5d38d6d6dd802901702b97084df3db12151e2e
[ "MIT" ]
null
null
null
#include "translationgraphwidget.h" TranslationGraphWidget::TranslationGraphWidget(QWidget *parent) : PolygonGraphWidget(parent), p(QPoint(0, 0)) { } void TranslationGraphWidget::translateXYChanged(const QPoint &p) { this->p = p; } void TranslationGraphWidget::performOperation() { foreach (auto pp, polyg...
21.1
83
0.682464
humble-barnacle001
ed7c595698362fe1ed4489098912b9d9e642e69e
1,868
cpp
C++
plugins/single_plugins/rotator.cpp
SirCmpwn/wayfire
007452f6ccc07ceca51879187bba142431832382
[ "MIT" ]
3
2019-01-16T14:43:24.000Z
2019-10-09T10:07:33.000Z
plugins/single_plugins/rotator.cpp
SirCmpwn/wayfire
007452f6ccc07ceca51879187bba142431832382
[ "MIT" ]
null
null
null
plugins/single_plugins/rotator.cpp
SirCmpwn/wayfire
007452f6ccc07ceca51879187bba142431832382
[ "MIT" ]
1
2019-05-07T09:46:58.000Z
2019-05-07T09:46:58.000Z
#include <output.hpp> #include <core.hpp> #include "../../shared/config.hpp" #include <linux/input-event-codes.h> #include <compositor.h> class wayfire_rotator : public wayfire_plugin_t { key_callback up, down, left, right; public: void init(wayfire_config *config) { grab_interface->name = "rotato...
36.627451
91
0.645075
SirCmpwn
ed7c74fbb3aa78d04cea01e249d67b10d386e9f7
3,328
hpp
C++
src/webots/nodes/WbContactProperties.hpp
victorhu3/webots
60d173850f0b4714c500db004e69f2df8cfb9e8a
[ "Apache-2.0" ]
1
2020-06-08T13:38:11.000Z
2020-06-08T13:38:11.000Z
src/webots/nodes/WbContactProperties.hpp
victorhu3/webots
60d173850f0b4714c500db004e69f2df8cfb9e8a
[ "Apache-2.0" ]
2
2020-05-18T12:49:14.000Z
2020-12-01T15:13:43.000Z
src/webots/nodes/WbContactProperties.hpp
victorhu3/webots
60d173850f0b4714c500db004e69f2df8cfb9e8a
[ "Apache-2.0" ]
1
2022-02-25T12:34:18.000Z
2022-02-25T12:34:18.000Z
// Copyright 1996-2020 Cyberbotics Ltd. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agr...
34.309278
89
0.758113
victorhu3
ed7e1d6eb52956cd07af23c0dfb875e027703b21
1,340
cpp
C++
test/TestMain.cpp
apache/incubator-retired-concerted
c51c9a21b390792252df191c82309c19d7dc8b8f
[ "Apache-2.0" ]
9
2015-10-24T02:43:47.000Z
2018-02-19T10:00:24.000Z
test/TestMain.cpp
apache/incubator-retired-concerted
c51c9a21b390792252df191c82309c19d7dc8b8f
[ "Apache-2.0" ]
2
2015-10-26T15:14:43.000Z
2015-11-05T11:51:01.000Z
test/TestMain.cpp
apache/incubator-concerted
c51c9a21b390792252df191c82309c19d7dc8b8f
[ "Apache-2.0" ]
6
2015-10-25T12:35:04.000Z
2016-05-12T00:25:55.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to you under the Apache License, Version 2.0 * (the "License"); you may ...
27.916667
75
0.719403
apache
142e85d012098a17186d271a138a6752d9ed7666
851
cpp
C++
Cpp14/autotype8.cpp
ernestyalumni/HrdwCCppCUDA
17ed937dea06431a4d5ca103f993ea69a6918734
[ "MIT" ]
1
2018-02-09T19:44:51.000Z
2018-02-09T19:44:51.000Z
Cpp14/autotype8.cpp
ernestyalumni/HrdwCCppCUDA
17ed937dea06431a4d5ca103f993ea69a6918734
[ "MIT" ]
null
null
null
Cpp14/autotype8.cpp
ernestyalumni/HrdwCCppCUDA
17ed937dea06431a4d5ca103f993ea69a6918734
[ "MIT" ]
null
null
null
/** * @file autotype8.cpp * @brief C++11/14/17 program to demonstrate auto type of 8 * @ref https://stackoverflow.com/questions/38060436/what-are-the-new-features-in-c17 * @details http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3922.html * * COMPILATION TIP : -Wall warning all, -g debugger, gd...
29.344828
86
0.642773
ernestyalumni
142ec8b1666cace04a2efd094e0f325bb83173fc
647
cpp
C++
UVa/1203 - Argus.cpp
geniustanley/problem-solving
2b83c5c8197fa8fe2277367027b392a2911d4a28
[ "Apache-2.0" ]
1
2018-11-21T07:36:16.000Z
2018-11-21T07:36:16.000Z
UVa/1203 - Argus.cpp
geniustanley/problem-solving
2b83c5c8197fa8fe2277367027b392a2911d4a28
[ "Apache-2.0" ]
null
null
null
UVa/1203 - Argus.cpp
geniustanley/problem-solving
2b83c5c8197fa8fe2277367027b392a2911d4a28
[ "Apache-2.0" ]
null
null
null
#include <stdio.h> #include <string.h> #include <iostream> #include <queue> #include <map> using namespace std; int main(void) { int qnum, r, n, f, s; char c[10]; priority_queue<pair<int, int>, vector<pair<int, int> >, greater<pair<int, int> > > pq; map<int, int> m; while (EOF != scanf("%s", c) && strcmp(...
19.029412
88
0.517774
geniustanley
143193c52e1cd4b1ba91759295778bea80d8b65d
21
cpp
C++
core/src/BVH.cpp
lonelywm/cuda_path_tracer
d99f0b682ad7f64fa127ca3604d0eab26f61452c
[ "MIT" ]
1
2021-06-12T11:33:12.000Z
2021-06-12T11:33:12.000Z
core/src/BVH.cpp
lonelywm/cuda_path_tracer
d99f0b682ad7f64fa127ca3604d0eab26f61452c
[ "MIT" ]
null
null
null
core/src/BVH.cpp
lonelywm/cuda_path_tracer
d99f0b682ad7f64fa127ca3604d0eab26f61452c
[ "MIT" ]
null
null
null
#include "../BVH.h"
7
19
0.52381
lonelywm
143240ff53df66a0053bcf03d60dc905357f4adb
6,107
cc
C++
granary/trace_log.cc
Granary/granary
f9ac2b6af0864f420b93917dc21a38041905b3aa
[ "BSD-3-Clause" ]
37
2015-03-13T08:29:46.000Z
2022-03-04T06:54:29.000Z
granary/trace_log.cc
Granary/granary
f9ac2b6af0864f420b93917dc21a38041905b3aa
[ "BSD-3-Clause" ]
null
null
null
granary/trace_log.cc
Granary/granary
f9ac2b6af0864f420b93917dc21a38041905b3aa
[ "BSD-3-Clause" ]
3
2015-10-16T21:18:01.000Z
2022-03-04T06:54:31.000Z
/* Copyright 2012-2013 Peter Goodman, all rights reserved. */ /* * trace_log.cc * * Created on: 2013-05-06 * Author: Peter Goodman */ #include "granary/globals.h" #include "granary/trace_log.h" #if CONFIG_DEBUG_TRACE_EXECUTION # include "granary/instruction.h" # include "granary/emit_utils.h" # inclu...
28.806604
83
0.619944
Granary
14365cef8d2e7da1381afc9eb47e07f73172b976
2,569
hpp
C++
gamebase/Player.hpp
GenBrg/MagicCastlevania
76ed248d4f0362ea92d29a159a2027d5b16c8a7b
[ "CC-BY-4.0" ]
2
2020-10-31T01:34:42.000Z
2020-12-08T15:16:22.000Z
gamebase/Player.hpp
GenBrg/MagicCastlevania
76ed248d4f0362ea92d29a159a2027d5b16c8a7b
[ "CC-BY-4.0" ]
50
2020-10-31T01:31:56.000Z
2020-12-11T15:13:43.000Z
gamebase/Player.hpp
GenBrg/MagicCastlevania
76ed248d4f0362ea92d29a159a2027d5b16c8a7b
[ "CC-BY-4.0" ]
null
null
null
#pragma once #include <engine/MovementComponent.hpp> #include <engine/Transform2D.hpp> #include <engine/InputSystem.hpp> #include <engine/TimerGuard.hpp> #include <engine/Animation.hpp> #include <engine/Mob.hpp> #include <engine/Attack.hpp> #include <gamebase/Buff.hpp> #include <gamebase/Inventory.hpp> #include <Sprit...
26.214286
88
0.734527
GenBrg
1436e44f34a66f681f3a04b47a858f83f4680ac2
1,006
cpp
C++
libnorth/src/Utils/FileSystem.cpp
lzmru/north
cc6c17d3049c514b5c754beed7be4170ef380864
[ "MIT" ]
null
null
null
libnorth/src/Utils/FileSystem.cpp
lzmru/north
cc6c17d3049c514b5c754beed7be4170ef380864
[ "MIT" ]
null
null
null
libnorth/src/Utils/FileSystem.cpp
lzmru/north
cc6c17d3049c514b5c754beed7be4170ef380864
[ "MIT" ]
null
null
null
//===--- Utils/FileSystem.cpp - File system utilities -----------*- C++ -*-===// // // The North Compiler Infrastructure // // This file is distributed under the MIT License. // See LICENSE.TXT for details. // //===---------------------------------------------...
27.189189
82
0.538767
lzmru
1437068186c50e9c3d35e3556234f470e4f2775c
3,000
hpp
C++
include/ImgIcon.hpp
vinben/Rotopp
f0c25db5bd25074c55ff0f67539a2452d92aaf72
[ "Unlicense" ]
47
2016-07-27T07:22:06.000Z
2021-08-17T13:08:19.000Z
include/ImgIcon.hpp
vinben/Rotopp
f0c25db5bd25074c55ff0f67539a2452d92aaf72
[ "Unlicense" ]
1
2016-09-24T06:04:39.000Z
2016-09-25T10:34:19.000Z
include/ImgIcon.hpp
vinben/Rotopp
f0c25db5bd25074c55ff0f67539a2452d92aaf72
[ "Unlicense" ]
13
2016-07-27T10:44:35.000Z
2020-07-01T21:08:33.000Z
/************************************************************************** ** This file is a part of our work (Siggraph'16 paper, binary, code and dataset): ** ** Roto++: Accelerating Professional Rotoscoping using Shape Manifolds ** Wenbin Li, Fabio Viola, Jonathan Starck, Gabriel J. Brostow and Neill D.F. Campbell *...
33.707865
86
0.698333
vinben
14397ab880fbe31dfcb186562f0fbf691920d199
1,083
cc
C++
bin/ui/scenic/main.cc
PowerOlive/garnet
16b5b38b765195699f41ccb6684cc58dd3512793
[ "BSD-3-Clause" ]
null
null
null
bin/ui/scenic/main.cc
PowerOlive/garnet
16b5b38b765195699f41ccb6684cc58dd3512793
[ "BSD-3-Clause" ]
null
null
null
bin/ui/scenic/main.cc
PowerOlive/garnet
16b5b38b765195699f41ccb6684cc58dd3512793
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2018 The Fuchsia 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 <memory> #include <lib/async-loop/cpp/loop.h> #include <trace-provider/provider.h> #include "lib/component/cpp/startup_context.h" #include "lib/...
30.083333
73
0.737765
PowerOlive
143a45786418a329fcb81a6e1cb1b3283c8b33d9
14,668
cpp
C++
core/src/main/java/site/ycsb/data_gen/Graph_gen/Graph_gen/glib-adv/fa.cpp
qiuhere/Bench
80f15facb81120b754547586cf3a7e5f46ca1551
[ "Apache-2.0" ]
null
null
null
core/src/main/java/site/ycsb/data_gen/Graph_gen/Graph_gen/glib-adv/fa.cpp
qiuhere/Bench
80f15facb81120b754547586cf3a7e5f46ca1551
[ "Apache-2.0" ]
null
null
null
core/src/main/java/site/ycsb/data_gen/Graph_gen/Graph_gen/glib-adv/fa.cpp
qiuhere/Bench
80f15facb81120b754547586cf3a7e5f46ca1551
[ "Apache-2.0" ]
null
null
null
///////////////////////////////////////////////// // Includes #include "fa.h" ///////////////////////////////////////////////// // Finite-Automata-Transition PFaTrans TFaTrans::LoadCustomXml(const PXmlTok& XmlTok){ IAssert(XmlTok->IsTag("Trans")); // collect transition values TStr MsgNm=XmlTok->GetArgVal("Msg");...
33.953704
80
0.660485
qiuhere
143ae0238189ff961b572bd0c38c8abfc1ef70cc
1,735
cpp
C++
lib/lexer/token/Variable.cpp
federico-terzi/ninx
ff760a481fc6c16ab06fe106c0f2051125f1b9c6
[ "MIT" ]
2
2020-08-18T23:12:52.000Z
2021-11-15T11:29:19.000Z
lib/lexer/token/Variable.cpp
federico-terzi/ninx
ff760a481fc6c16ab06fe106c0f2051125f1b9c6
[ "MIT" ]
15
2018-12-29T20:33:14.000Z
2019-02-03T15:13:47.000Z
lib/lexer/token/Variable.cpp
federico-terzi/ninx
ff760a481fc6c16ab06fe106c0f2051125f1b9c6
[ "MIT" ]
null
null
null
/* MIT License Copyright (c) 2018 Federico Terzi Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish...
35.408163
116
0.762536
federico-terzi
143bf37fad4d73b1758cc1de7432eee5b3325901
4,148
cpp
C++
example/src/ofApp.cpp
bakercp/ofxJitterNetworkSender
e04ef62f490e0f86cb020cd04393b2a158cb8a82
[ "MIT" ]
8
2015-03-17T17:30:23.000Z
2020-12-06T21:34:00.000Z
example/src/ofApp.cpp
bakercp/ofxJitterNetworkSender
e04ef62f490e0f86cb020cd04393b2a158cb8a82
[ "MIT" ]
3
2017-02-07T19:57:31.000Z
2021-09-16T14:24:50.000Z
example/src/ofApp.cpp
bakercp/ofxJitterNetworkSender
e04ef62f490e0f86cb020cd04393b2a158cb8a82
[ "MIT" ]
1
2018-10-19T21:09:21.000Z
2018-10-19T21:09:21.000Z
// ============================================================================= // // Copyright (c) 2009-2013 Christopher Baker <http://christopherbaker.net> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to de...
29.41844
80
0.558824
bakercp
143d3ed578059bea38c83507a971f792460e3402
751
cpp
C++
chest/base-utils/jdk/src/main/cpp/util/cases.cpp
lgoldstein/communitychest
5d4f4b58324cd9dbd07223e2ea68ff738bd32459
[ "Apache-2.0" ]
1
2020-08-12T07:40:11.000Z
2020-08-12T07:40:11.000Z
chest/base-utils/jdk/src/main/cpp/util/cases.cpp
lgoldstein/communitychest
5d4f4b58324cd9dbd07223e2ea68ff738bd32459
[ "Apache-2.0" ]
null
null
null
chest/base-utils/jdk/src/main/cpp/util/cases.cpp
lgoldstein/communitychest
5d4f4b58324cd9dbd07223e2ea68ff738bd32459
[ "Apache-2.0" ]
null
null
null
/*---------------------------------------------------------------------------*/ #include <string.h> #include <_types.h> #include <util/string.h> #include <util/tables.h> #include <util/memory.h> /*---------------------------------------------------------------------------*/ void xlate_to_lowercase (BYTE buf[], WO...
25.033333
79
0.383489
lgoldstein
143d6400b7d00609416d1bb395a72455de6afc8e
916
cpp
C++
HiveWE/Texture.cpp
Retera/HiveWE
82d757ed13420fcd31e63b23670bf09ce3cf82f0
[ "MIT" ]
3
2019-07-18T07:32:25.000Z
2021-08-18T20:04:40.000Z
HiveWE/Texture.cpp
Retera/HiveWE
82d757ed13420fcd31e63b23670bf09ce3cf82f0
[ "MIT" ]
null
null
null
HiveWE/Texture.cpp
Retera/HiveWE
82d757ed13420fcd31e63b23670bf09ce3cf82f0
[ "MIT" ]
1
2020-01-20T12:00:34.000Z
2020-01-20T12:00:34.000Z
#include "stdafx.h" Texture::Texture(const fs::path& path) { BinaryReader reader = hierarchy.open_file(path); if (path.extension() == ".blp" || path.extension() == ".BLP") { auto blp = blp::BLP(reader); auto[w, h, d] = blp.mipmaps.front(); data = d; width = w; height = h; channels = 4; // ToDo doe...
33.925926
140
0.673581
Retera
1443498f0797478c730a2b61074a231b22663824
11,335
cpp
C++
electron/browser/api/ApiApp.cpp
fy0/miniblink49
53cf81bcf80c7afa7ba8410d679a256b040d59ad
[ "MIT" ]
null
null
null
electron/browser/api/ApiApp.cpp
fy0/miniblink49
53cf81bcf80c7afa7ba8410d679a256b040d59ad
[ "MIT" ]
null
null
null
electron/browser/api/ApiApp.cpp
fy0/miniblink49
53cf81bcf80c7afa7ba8410d679a256b040d59ad
[ "MIT" ]
null
null
null
 #include "browser/api/ApiApp.h" #include "common/NodeRegisterHelp.h" #include "common/api/EventEmitter.h" #include "common/ThreadCall.h" #include "gin/object_template_builder.h" #include "browser/api/WindowList.h" #include "base/values.h" #include "wke.h" #include "nodeblink.h" #include "base/strings/stri...
35.092879
148
0.674548
fy0
1443b3c7f825ecd2a7796a8e32b0e3220460a221
1,383
cpp
C++
wirish/wirish_math.cpp
lacklustrlabs/libmaple
a2d1169b0b5a5de68140dad26982cf0f238e877b
[ "MIT" ]
162
2015-01-07T18:26:13.000Z
2022-03-07T09:50:31.000Z
wirish/wirish_math.cpp
lacklustrlabs/libmaple
a2d1169b0b5a5de68140dad26982cf0f238e877b
[ "MIT" ]
25
2015-01-24T19:03:30.000Z
2021-12-15T15:02:50.000Z
wirish/wirish_math.cpp
lacklustrlabs/libmaple
a2d1169b0b5a5de68140dad26982cf0f238e877b
[ "MIT" ]
112
2015-01-16T08:58:13.000Z
2022-03-23T20:01:06.000Z
/* * Modified by LeafLabs, LLC. * * Part of the Wiring project - http://wiring.org.co Copyright (c) * 2004-06 Hernando Barragan Modified 13 August 2006, David A. Mellis * for Arduino - http://www.arduino.cc/ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU...
27.66
70
0.686189
lacklustrlabs
14454cf5f3735fa6abb2954ba2c68146ffc2c1c7
32,329
cc
C++
third_party/blink/renderer/core/layout/layout_shift_tracker.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
third_party/blink/renderer/core/layout/layout_shift_tracker.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
third_party/blink/renderer/core/layout/layout_shift_tracker.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright 2018 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 "third_party/blink/renderer/core/layout/layout_shift_tracker.h" #include "cc/layers/heads_up_display_layer.h" #include "cc/layers/picture_layer....
38.123821
80
0.713322
iridium-browser
1447f17c2f49ebbb4cb5b683ee0eebe5b5b9f186
2,299
cc
C++
net/instaweb/rewriter/css_minify_main.cc
PeterDaveHello/incubator-pagespeed-mod
885f4653e204e1152cb3928f0755d93ec5fdceae
[ "Apache-2.0" ]
null
null
null
net/instaweb/rewriter/css_minify_main.cc
PeterDaveHello/incubator-pagespeed-mod
885f4653e204e1152cb3928f0755d93ec5fdceae
[ "Apache-2.0" ]
null
null
null
net/instaweb/rewriter/css_minify_main.cc
PeterDaveHello/incubator-pagespeed-mod
885f4653e204e1152cb3928f0755d93ec5fdceae
[ "Apache-2.0" ]
1
2020-05-20T07:09:05.000Z
2020-05-20T07:09:05.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
32.842857
80
0.741192
PeterDaveHello
144aaae1348e035957ce4e9aca063e1b1d7d2b91
476
cpp
C++
Dataset/Leetcode/train/55/524.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/55/524.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/55/524.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: bool XXX(vector<int>& nums) { int len = nums.size()-1; int max = 0; for(int i = 0;i<len;i++) { for(int j = i;j<=(i+nums[i]);j++) { max = (j+nums[j])>=(max+nums[max]) ? j : max ; if(max!= len && nums[ma...
21.636364
62
0.382353
kkcookies99
144ac5a16e795cef4206813168d18a72b70a4aef
1,318
cpp
C++
cppLearningExercises/Main.cpp
QueeniePun/cppLearningExercises
4c4181573d1b7de9f67acdea1b0fd6d2245b8806
[ "MIT" ]
null
null
null
cppLearningExercises/Main.cpp
QueeniePun/cppLearningExercises
4c4181573d1b7de9f67acdea1b0fd6d2245b8806
[ "MIT" ]
null
null
null
cppLearningExercises/Main.cpp
QueeniePun/cppLearningExercises
4c4181573d1b7de9f67acdea1b0fd6d2245b8806
[ "MIT" ]
null
null
null
#include <iostream> #include "Chapter1Helper.h" #include "Chapter2Helper.h" #include "Chapter3Helper.h" #include "Chapter4Helper.h" #include "Chapter5Helper.h" #include "Chapter6Helper.h" #include "Chapter7Helper.h" #include "Chapter8Helper.h" #include "Chapter9Helper.h" #include "Chapter10Helper.h" #include "Chapter11...
24.407407
30
0.770865
QueeniePun
144bfa77bc363ad9f36acb87a40149d11826edb8
2,402
cpp
C++
project2D/CollisionManager.cpp
AlexMollard/Path-Finding
76e96db39686f05995316d5147f2bbf746d8c4a0
[ "MIT" ]
null
null
null
project2D/CollisionManager.cpp
AlexMollard/Path-Finding
76e96db39686f05995316d5147f2bbf746d8c4a0
[ "MIT" ]
null
null
null
project2D/CollisionManager.cpp
AlexMollard/Path-Finding
76e96db39686f05995316d5147f2bbf746d8c4a0
[ "MIT" ]
null
null
null
#include "CollisionManager.h" #include <iostream> CollisionManager::CollisionManager() { } CollisionManager::~CollisionManager() { } void CollisionManager::Update(float deltaTime) { for (int i = 0; i < _ObjectList.size(); i++) { GameObject* _Object = _ObjectList[i]; Collider* _FirstCollider...
26.395604
122
0.651124
AlexMollard
144ed606ae798bfde4f2919d70df7aa88c1ecb0a
799
cpp
C++
chap01/print-frac.cpp
PacktPublishing/CPP-20-STL-Cookbook
9310a24a6158bbb38d67b3a3c2ebc243dc1ee1e8
[ "MIT" ]
9
2021-11-05T10:54:46.000Z
2022-03-18T23:58:06.000Z
chap01/print-frac.cpp
PacktPublishing/CPP-20-STL-Cookbook
9310a24a6158bbb38d67b3a3c2ebc243dc1ee1e8
[ "MIT" ]
null
null
null
chap01/print-frac.cpp
PacktPublishing/CPP-20-STL-Cookbook
9310a24a6158bbb38d67b3a3c2ebc243dc1ee1e8
[ "MIT" ]
5
2021-12-19T07:23:08.000Z
2022-02-04T23:24:43.000Z
// print-frac.cpp // as of 2021-09-04 bw [bw.org] #include <bwprint.h> #include <string_view> #include <string> // support for std:: or fmt:: (reference implementation) // see j.bw.org/fmt #ifdef __cpp_lib_format #define formatter std::formatter #else #define formatter fmt::formatter #endif // __cpp_lib_format using...
18.581395
61
0.647059
PacktPublishing
144ee5325cd11c827c601c2f031704313b482f6c
269
cpp
C++
src/CWSDK/common/math.cpp
Mininoob/CWLevelSystem
ee5e06bcc0d1c4417d0a7eb2cf52897fa908e903
[ "MIT" ]
39
2021-02-28T04:17:16.000Z
2022-02-23T14:25:41.000Z
src/CWSDK/common/math.cpp
Mininoob/CWLevelSystem
ee5e06bcc0d1c4417d0a7eb2cf52897fa908e903
[ "MIT" ]
16
2021-03-12T04:44:33.000Z
2022-03-31T14:16:16.000Z
src/CWSDK/common/math.cpp
Mininoob/CWLevelSystem
ee5e06bcc0d1c4417d0a7eb2cf52897fa908e903
[ "MIT" ]
3
2021-09-10T14:19:08.000Z
2021-12-19T20:45:04.000Z
#include "math.h" i64 pydiv(i64 a, i64 b) { i64 result = a / b; if ((a < 0) ^ (b < 0)) { if (pymod(a, b) != 0) { result -= 1; } } return result; } i64 pymod(i64 a, i64 b) { i64 result = a % b; if (result < 0) { result = b + result; } return result; }
14.157895
25
0.501859
Mininoob