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
float64
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
float64
1
77k
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
float64
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
653k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
1
4f92e90fa219d48d9879ef2011fdf6b27f1ad0a7
1,789
cpp
C++
demos/gpuinvert/testge.cpp
ForrestSu/machine-learn
0ec612fed36f00db308646bf36761e22dca597ac
[ "MIT" ]
null
null
null
demos/gpuinvert/testge.cpp
ForrestSu/machine-learn
0ec612fed36f00db308646bf36761e22dca597ac
[ "MIT" ]
null
null
null
demos/gpuinvert/testge.cpp
ForrestSu/machine-learn
0ec612fed36f00db308646bf36761e22dca597ac
[ "MIT" ]
null
null
null
/* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that...
24.847222
74
0.567915
4f945887a0639bb27e42b1772d539ae84234e06c
554
hpp
C++
legion/engine/physics/data/convex_convex_collision_info.hpp
Rythe-Interactive/Legion-Engine.rythe-legacy
e199689024436c40054942796ce9dcd4d097d7fd
[ "MIT" ]
258
2020-10-22T07:09:57.000Z
2021-09-09T05:47:09.000Z
legion/engine/physics/data/convex_convex_collision_info.hpp
LeonBrands/Legion-Engine
40aa1f4a8c59eb0824de1cdda8e17d8dba7bed7c
[ "MIT" ]
51
2020-11-17T13:02:10.000Z
2021-09-07T18:19:39.000Z
legion/engine/physics/data/convex_convex_collision_info.hpp
LeonBrands/Legion-Engine
40aa1f4a8c59eb0824de1cdda8e17d8dba7bed7c
[ "MIT" ]
13
2020-12-08T08:06:48.000Z
2021-09-09T05:47:19.000Z
#pragma once #include <core/core.hpp> #include <physics/data/pointer_encapsulator.hpp> #include <physics/halfedgeedge.hpp> #include <physics/halfedgeface.hpp> namespace legion::physics { struct ConvexConvexCollisionInfo { math::vec3 edgeNormal; float ARefSeperation, BRefSeperation, aToBEdgeSep...
23.083333
65
0.727437
4f94fcca0733ae5cd14685f52dc88c66056c0292
8,318
cpp
C++
Userland/Applications/SoundPlayer/SoundPlayerWidgetAdvancedView.cpp
ry-sev/serenity
4758dac21881cae6f1c7ff6e2257ef63c7eeb402
[ "BSD-2-Clause" ]
19,438
2019-05-20T15:11:11.000Z
2022-03-31T23:31:32.000Z
Userland/Applications/SoundPlayer/SoundPlayerWidgetAdvancedView.cpp
ry-sev/serenity
4758dac21881cae6f1c7ff6e2257ef63c7eeb402
[ "BSD-2-Clause" ]
7,882
2019-05-20T01:03:52.000Z
2022-03-31T23:26:31.000Z
Userland/Applications/SoundPlayer/SoundPlayerWidgetAdvancedView.cpp
ry-sev/serenity
4758dac21881cae6f1c7ff6e2257ef63c7eeb402
[ "BSD-2-Clause" ]
2,721
2019-05-23T00:44:57.000Z
2022-03-31T22:49:34.000Z
/* * Copyright (c) 2021, Cesar Torres <[email protected]> * Copyright (c) 2021, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #include "SoundPlayerWidgetAdvancedView.h" #include "BarsVisualizationWidget.h" #include "Common.h" #include "M3UParser.h" #include "PlaybackManager.h" ...
33.95102
160
0.72289
4f97d3ae1644ff5d7640881e58bffdacd8183339
8,932
cpp
C++
source/Lib/TLibRenderer/TRenImage.cpp
Joeyrr/ECP_EPM
7e7034f6dbda973b316d17cb0b8d9e0256ad86a3
[ "BSD-3-Clause", "MIT" ]
null
null
null
source/Lib/TLibRenderer/TRenImage.cpp
Joeyrr/ECP_EPM
7e7034f6dbda973b316d17cb0b8d9e0256ad86a3
[ "BSD-3-Clause", "MIT" ]
null
null
null
source/Lib/TLibRenderer/TRenImage.cpp
Joeyrr/ECP_EPM
7e7034f6dbda973b316d17cb0b8d9e0256ad86a3
[ "BSD-3-Clause", "MIT" ]
null
null
null
/* The copyright in this software is being made available under the BSD * License, included below. This software may be subject to other third party * and contributor rights, including patent rights, and no such rights are * granted under this license. * * Copyright (c) 2010-2015, ITU/ISO/IEC * All rights r...
32.362319
264
0.705665
4f97d758bd8742b0b9699587ca343ab4c2eba6fa
3,299
cc
C++
planner/FD/src/search/heuristic.cc
karthikv792/PlanningAssistance
5693c844e9067591ea1414ee9586bcd2dfff6f51
[ "MIT" ]
4
2019-04-23T10:41:35.000Z
2019-10-27T05:14:42.000Z
planner/FD/src/search/heuristic.cc
karthikv792/PlanningAssistance
5693c844e9067591ea1414ee9586bcd2dfff6f51
[ "MIT" ]
null
null
null
planner/FD/src/search/heuristic.cc
karthikv792/PlanningAssistance
5693c844e9067591ea1414ee9586bcd2dfff6f51
[ "MIT" ]
4
2018-01-16T00:00:22.000Z
2019-11-01T23:35:01.000Z
#include "heuristic.h" #include "cost_adapted_task.h" #include "evaluation_context.h" #include "evaluation_result.h" #include "global_operator.h" #include "globals.h" #include "option_parser.h" #include "operator_cost.h" #include <cassert> #include <cstdlib> #include <limits> using namespace std; Heuristic::Heurist...
28.439655
78
0.695362
4f9875ca05479fc6ef327a0e93fe7037a41bdb9a
201
cpp
C++
demo/simple/simple/src/framesimplemainwindow.cpp
Qters/QrFrame
b5f119435fa8e80ddd02c4727cf60a39ffc153b1
[ "Apache-2.0" ]
1
2016-10-21T08:14:40.000Z
2016-10-21T08:14:40.000Z
demo/simple/simple/src/framesimplemainwindow.cpp
Qters/QrFrame
b5f119435fa8e80ddd02c4727cf60a39ffc153b1
[ "Apache-2.0" ]
null
null
null
demo/simple/simple/src/framesimplemainwindow.cpp
Qters/QrFrame
b5f119435fa8e80ddd02c4727cf60a39ffc153b1
[ "Apache-2.0" ]
null
null
null
#include "framesimplemainwindow.h" USING_NS_QRDEMO; FrameSimpleMainWindow::FrameSimpleMainWindow(QWidget *parent) : QrMainWindow(parent) { } FrameSimpleMainWindow::~FrameSimpleMainWindow() { }
14.357143
61
0.791045
4f9add04f25b88050d4f340878a1bfca21aa857f
2,833
cpp
C++
src/example/pegtl/uri.cpp
ClausKlein/PEGTL
d4278cb59a9b5b74e5e599ba4859c778b3121dc6
[ "MIT" ]
null
null
null
src/example/pegtl/uri.cpp
ClausKlein/PEGTL
d4278cb59a9b5b74e5e599ba4859c778b3121dc6
[ "MIT" ]
null
null
null
src/example/pegtl/uri.cpp
ClausKlein/PEGTL
d4278cb59a9b5b74e5e599ba4859c778b3121dc6
[ "MIT" ]
null
null
null
// Copyright (c) 2017-2021 Dr. Colin Hirsch and Daniel Frey // Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/ #include <tao/pegtl.hpp> #include <tao/pegtl/contrib/uri.hpp> #include <iostream> namespace pegtl = TAO_PEGTL_NAMESPACE; struct URI { std::string scheme; std::string authorit...
31.477778
82
0.588069
4f9ae25d42a405d521059d4e7536da4a580fc445
2,025
cpp
C++
src/main.cpp
klmr/guesstimate
330892dad2fac91134e414bb148c855895211a3e
[ "BSD-3-Clause" ]
1
2020-10-15T03:37:51.000Z
2020-10-15T03:37:51.000Z
src/main.cpp
klmr/guesstimate
330892dad2fac91134e414bb148c855895211a3e
[ "BSD-3-Clause" ]
null
null
null
src/main.cpp
klmr/guesstimate
330892dad2fac91134e414bb148c855895211a3e
[ "BSD-3-Clause" ]
null
null
null
// ========================================================================== // Guesstimate - Technology Constant Estimator // ========================================================================== // Copyright (c) 2011, Manuel Holtgrewe // All rights reserved. // // Redistribution and use in source...
48.214286
78
0.655802
4f9c2c878baf402030f1a4564098ce515828d2c5
633
cpp
C++
apps/core_test/main.cpp
max-delta/retrofit-public
5447fd6399fd74ffbb75494c103940751000db12
[ "X11" ]
3
2019-10-27T22:32:44.000Z
2020-05-21T04:00:46.000Z
apps/core_test/main.cpp
max-delta/retrofit-public
5447fd6399fd74ffbb75494c103940751000db12
[ "X11" ]
null
null
null
apps/core_test/main.cpp
max-delta/retrofit-public
5447fd6399fd74ffbb75494c103940751000db12
[ "X11" ]
null
null
null
#include "stdafx.h" #include "core/macros.h" #include "rftl/string" namespace RF { /////////////////////////////////////////////////////////////////////////////// TEST( Bootstrap, Pass ) { RF_ASSERT( true ); ASSERT_TRUE( true ); } /////////////////////////////////////////////////////////////////////////////// } ...
17.583333
79
0.440758
4f9c7525a8cad1626c0dae645763f7f1ec566016
1,924
cpp
C++
framework/referencerenderer/rrPrimitivePacket.cpp
iabernikhin/VK-GL-CTS
a3338eb2ded98b5befda64f9325db0d219095a00
[ "Apache-2.0" ]
354
2017-01-24T17:12:38.000Z
2022-03-30T07:40:19.000Z
framework/referencerenderer/rrPrimitivePacket.cpp
iabernikhin/VK-GL-CTS
a3338eb2ded98b5befda64f9325db0d219095a00
[ "Apache-2.0" ]
275
2017-01-24T20:10:36.000Z
2022-03-24T16:24:50.000Z
framework/referencerenderer/rrPrimitivePacket.cpp
iabernikhin/VK-GL-CTS
a3338eb2ded98b5befda64f9325db0d219095a00
[ "Apache-2.0" ]
190
2017-01-24T18:02:04.000Z
2022-03-27T13:11:23.000Z
/*------------------------------------------------------------------------- * drawElements Quality Program Reference Renderer * ----------------------------------------------- * * Copyright 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use ...
26.356164
123
0.660083
4f9cd5524214c1de620de02355c7207196458441
502
hpp
C++
src/main/cpp/platform-wrapper-regdriver/axiregdriver.hpp
DM-PRO-17-A/fpga-tidbits
017226cb8d56353454e6a84e9c2dfda176ca4865
[ "BSD-2-Clause" ]
null
null
null
src/main/cpp/platform-wrapper-regdriver/axiregdriver.hpp
DM-PRO-17-A/fpga-tidbits
017226cb8d56353454e6a84e9c2dfda176ca4865
[ "BSD-2-Clause" ]
null
null
null
src/main/cpp/platform-wrapper-regdriver/axiregdriver.hpp
DM-PRO-17-A/fpga-tidbits
017226cb8d56353454e6a84e9c2dfda176ca4865
[ "BSD-2-Clause" ]
null
null
null
#ifndef AXIREGDRIVER_H #define AXIREGDRIVER_H #include <stdint.h> #include "wrapperregdriver.h" class AXIRegDriver : public WrapperRegDriver { public: AXIRegDriver(void *baseAddr) { m_baseAddr = (AccelReg *) baseAddr; } virtual ~AXIRegDriver() {} virtual void writeReg(unsigned int regInd, AccelReg regV...
17.310345
65
0.719124
4f9d26eeaf71d33ebc9037a6ae49e3a3115554bb
8,209
cpp
C++
ad_map_access/src/access/GeometryStore.cpp
woojinjjang/map-1
d12bb410f03d078a995130b4e671746ace8b6287
[ "MIT" ]
61
2019-12-19T20:57:24.000Z
2022-03-29T15:20:51.000Z
ad_map_access/src/access/GeometryStore.cpp
woojinjjang/map-1
d12bb410f03d078a995130b4e671746ace8b6287
[ "MIT" ]
54
2020-04-05T05:32:47.000Z
2022-03-15T18:42:33.000Z
ad_map_access/src/access/GeometryStore.cpp
woojinjjang/map-1
d12bb410f03d078a995130b4e671746ace8b6287
[ "MIT" ]
31
2019-12-20T07:37:39.000Z
2022-03-16T13:06:16.000Z
// ----------------- BEGIN LICENSE BLOCK --------------------------------- // // Copyright (C) 2018-2021 Intel Corporation // // SPDX-License-Identifier: MIT // // ----------------- END LICENSE BLOCK ----------------------------------- #include "GeometryStore.hpp" #include <memory> #include "ad/map/access/Logging.hpp"...
24.875758
118
0.600926
4f9d626d442baaed634e97cdccdec649c287f82f
1,384
cpp
C++
src/input/test/req_type_test.cpp
fh-tech/CFLOP
6df4bf40cf34b3b109adc18b622635f814b2f4f3
[ "MIT" ]
3
2018-04-30T21:48:04.000Z
2019-01-24T05:07:11.000Z
src/input/test/req_type_test.cpp
fh-tech/CFLOP
6df4bf40cf34b3b109adc18b622635f814b2f4f3
[ "MIT" ]
null
null
null
src/input/test/req_type_test.cpp
fh-tech/CFLOP
6df4bf40cf34b3b109adc18b622635f814b2f4f3
[ "MIT" ]
null
null
null
// // Created by vik on 25.04.18. // #include <gtest/gtest.h> #include <input.h> #include "json_requests.h" using namespace input_lib; TEST(make_req_type, req_type_nodes) { std::array<req_type,5> results = {NODES_POST, NODES_DELETE, NODES_GET, NODES_PUT_START, NODES_PUT_END}; for(int i = 0; i < nodes_j_vec.s...
26.113208
107
0.599711
4f9dc822d36e60a1cda23e23e1831df56bff1380
151,617
cc
C++
src/deoptimizer/deoptimizer.cc
hamzahamidi/v8
d9fa5bce27a1680ab2d372f31f2721663044963e
[ "BSD-3-Clause" ]
null
null
null
src/deoptimizer/deoptimizer.cc
hamzahamidi/v8
d9fa5bce27a1680ab2d372f31f2721663044963e
[ "BSD-3-Clause" ]
null
null
null
src/deoptimizer/deoptimizer.cc
hamzahamidi/v8
d9fa5bce27a1680ab2d372f31f2721663044963e
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2013 the V8 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. #include "src/deoptimizer/deoptimizer.h" #include <memory> #include "src/ast/prettyprinter.h" #include "src/builtins/accessors.h" #include "src/codege...
37.809726
80
0.687509
4f9f8c54ef1eba803a4e284055d11294a4990743
4,414
cpp
C++
llvm-external-projects/iree-dialects/lib/Dialect/LinalgExt/Transforms/ConvertToLoops.cpp
smit-hinsu/iree
a385d311b701cdc06cb825000ddb34c8a11c6eef
[ "Apache-2.0" ]
1
2022-02-13T15:27:08.000Z
2022-02-13T15:27:08.000Z
llvm-external-projects/iree-dialects/lib/Dialect/LinalgExt/Transforms/ConvertToLoops.cpp
iree-github-actions-bot/iree
9982f10090527a1a86cd280b4beff9a579b96b38
[ "Apache-2.0" ]
null
null
null
llvm-external-projects/iree-dialects/lib/Dialect/LinalgExt/Transforms/ConvertToLoops.cpp
iree-github-actions-bot/iree
9982f10090527a1a86cd280b4beff9a579b96b38
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 The IREE Authors // // Licensed 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 #include "iree-dialects/Dialect/LinalgExt/IR/LinalgExtDialect.h" #include "iree-dialects/Dialect/...
38.051724
80
0.654282
4fa182f0609c749ffa9caa2313cb5462e3551e57
50,162
cpp
C++
webaccess/src/webaccess.cpp
marianeitor/qlcplus
2332e046ca26b1c148031319212cd541d447ce4b
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
webaccess/src/webaccess.cpp
marianeitor/qlcplus
2332e046ca26b1c148031319212cd541d447ce4b
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
webaccess/src/webaccess.cpp
marianeitor/qlcplus
2332e046ca26b1c148031319212cd541d447ce4b
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* Q Light Controller Plus webaccess.cpp Copyright (c) Massimo Callegari 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.txt Unless ...
36.534596
139
0.520055
4fa25ae6059c19eaf59014eee5b9c58e7cae2cb2
547
hh
C++
SimpleProxy/dispatcher/ibusiness_event.hh
svcx8/SimpleProxy
d8617ecfa64a12e1613108265f4c6c0b59627422
[ "MIT" ]
null
null
null
SimpleProxy/dispatcher/ibusiness_event.hh
svcx8/SimpleProxy
d8617ecfa64a12e1613108265f4c6c0b59627422
[ "MIT" ]
null
null
null
SimpleProxy/dispatcher/ibusiness_event.hh
svcx8/SimpleProxy
d8617ecfa64a12e1613108265f4c6c0b59627422
[ "MIT" ]
null
null
null
#ifndef IBUSINESS_EVENT_HEADER #define IBUSINESS_EVENT_HEADER #include <cstdint> #include <absl/status/status.h> class IPoller; class IBusinessEvent { public: virtual ~IBusinessEvent() {} virtual absl::Status OnAcceptable(int) { return absl::OkStatus(); }; virtual absl::Status OnCloseable(int) { return ...
27.35
72
0.71298
4fa2cc3c058b167a62eef396e859fc793a96653f
603
cpp
C++
1_Games/[C++] Chess/chess/KillerList.cpp
Team-on/works
16978b61c0d6bcb37e910efb4b5b80e9a2460230
[ "MIT" ]
10
2018-11-12T19:43:28.000Z
2020-09-09T18:48:30.000Z
1_Games/[C++] Chess/chess/KillerList.cpp
Team-on/works
16978b61c0d6bcb37e910efb4b5b80e9a2460230
[ "MIT" ]
null
null
null
1_Games/[C++] Chess/chess/KillerList.cpp
Team-on/works
16978b61c0d6bcb37e910efb4b5b80e9a2460230
[ "MIT" ]
null
null
null
#include "precompiledHeaders.h" #include "KillerList.h" KillerList::KillerList(){ killers = new figureBasic*[16]; killerSize = 0; } KillerList::KillerList(const KillerList &rhs) { killerSize = rhs.killerSize; killers = new figureBasic*[16]; for (char i = 0; i < killerSize; ++i) killers[i] = rhs.killers[i]; } ...
20.793103
51
0.688226
4fa39bebec315f4c3905e866dfd5dd6f499c793d
4,428
cc
C++
plugins/kyotocabinet/nb_db_kyotocabinet.cc
rtsisyk/mininb
959aa346f5294ee7fa0afb8e4e8b306a65afb8bd
[ "BSD-2-Clause" ]
6
2015-07-01T13:12:58.000Z
2016-03-28T05:15:46.000Z
plugins/kyotocabinet/nb_db_kyotocabinet.cc
rtsisyk/mininb
959aa346f5294ee7fa0afb8e4e8b306a65afb8bd
[ "BSD-2-Clause" ]
1
2015-07-01T13:16:39.000Z
2015-07-01T13:16:39.000Z
plugins/kyotocabinet/nb_db_kyotocabinet.cc
rtsisyk/mininb
959aa346f5294ee7fa0afb8e4e8b306a65afb8bd
[ "BSD-2-Clause" ]
null
null
null
/* * 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 and the * following disclaimer. * * 2. Redistribu...
25.894737
77
0.712963
4fa3e2e008182a61975450f3953dca6f99a7ee42
30,213
cpp
C++
level_zero/api/core/ze_core_loader.cpp
mattcarter2017/compute-runtime
1f52802aac02c78c19d5493dd3a2402830bbe438
[ "Intel", "MIT" ]
null
null
null
level_zero/api/core/ze_core_loader.cpp
mattcarter2017/compute-runtime
1f52802aac02c78c19d5493dd3a2402830bbe438
[ "Intel", "MIT" ]
null
null
null
level_zero/api/core/ze_core_loader.cpp
mattcarter2017/compute-runtime
1f52802aac02c78c19d5493dd3a2402830bbe438
[ "Intel", "MIT" ]
null
null
null
/* * Copyright (C) 2020-2022 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "level_zero/experimental/source/tracing/tracing_imp.h" #include "level_zero/source/inc/ze_intel_gpu.h" #include <level_zero/ze_api.h> #include <level_zero/ze_ddi.h> #include <level_zero/zet_api.h> #include <level_zero/ze...
48.186603
117
0.787873
4fa49dfc22566a12573aaf42fe3b51b02c76c4e9
338
cpp
C++
COSC1076/week5/question02.cpp
davidkevork/RMIT
41c17de726f28c06ee1321fd2e7ee699acfdd611
[ "MIT" ]
null
null
null
COSC1076/week5/question02.cpp
davidkevork/RMIT
41c17de726f28c06ee1321fd2e7ee699acfdd611
[ "MIT" ]
null
null
null
COSC1076/week5/question02.cpp
davidkevork/RMIT
41c17de726f28c06ee1321fd2e7ee699acfdd611
[ "MIT" ]
null
null
null
#include <iostream> int stringLength(char* string) { int length = 0; char lastChar = string[0]; while (lastChar != '\0') { length += 1; lastChar = string[length]; } return length; } int main() { char string[20] = "hello world"; std::cout << string << std::endl; std::cout << stringLength(string...
18.777778
49
0.600592
4fa5e3f37b31c1a52391f2d82cca7cf4c44f1d12
2,396
cpp
C++
src/common/file_buffer.cpp
shenyunlong/duckdb
ecb90f22b36a50b051fdd8e0d681bade3365c430
[ "MIT" ]
null
null
null
src/common/file_buffer.cpp
shenyunlong/duckdb
ecb90f22b36a50b051fdd8e0d681bade3365c430
[ "MIT" ]
7
2020-08-25T22:24:16.000Z
2020-09-06T00:16:49.000Z
src/common/file_buffer.cpp
shenyunlong/duckdb
ecb90f22b36a50b051fdd8e0d681bade3365c430
[ "MIT" ]
null
null
null
#include "duckdb/common/file_buffer.hpp" #include "duckdb/common/file_system.hpp" #include "duckdb/common/helper.hpp" #include "duckdb/common/checksum.hpp" #include "duckdb/common/exception.hpp" #include <cstring> namespace duckdb { using namespace std; FileBuffer::FileBuffer(FileBufferType type, uint64_t bufsiz) : ...
34.228571
116
0.738314
4fa6098a8545c15491b9629bfd8f756c5152f9f9
7,546
hpp
C++
library/src/auxiliary/rocauxiliary_orm2l_unm2l.hpp
YvanMokwinski/rocSOLVER
3ff9ad6e60da6dd5f6d3fe5ab02cf0d5bed9aa5f
[ "BSD-2-Clause" ]
null
null
null
library/src/auxiliary/rocauxiliary_orm2l_unm2l.hpp
YvanMokwinski/rocSOLVER
3ff9ad6e60da6dd5f6d3fe5ab02cf0d5bed9aa5f
[ "BSD-2-Clause" ]
null
null
null
library/src/auxiliary/rocauxiliary_orm2l_unm2l.hpp
YvanMokwinski/rocSOLVER
3ff9ad6e60da6dd5f6d3fe5ab02cf0d5bed9aa5f
[ "BSD-2-Clause" ]
null
null
null
/************************************************************************ * Derived from the BSD3-licensed * LAPACK routine (version 3.7.0) -- * Univ. of Tennessee, Univ. of California Berkeley, * Univ. of Colorado Denver and NAG Ltd.. * December 2016 * Copyright (c) 2019-2021 Advanced Micro Devices, ...
38.111111
100
0.45428
4fa7f8ce9d56c11e043c9a554c84ced11d52eb2e
13,467
cpp
C++
LUMA/src/ObjectManager.cpp
ElsevierSoftwareX/SOFTX-D-18-00007
15f2319a67ebb8e3ff577bdd0f93890c3c0e8d0b
[ "Apache-2.0" ]
8
2019-06-06T16:28:20.000Z
2022-02-05T16:32:11.000Z
LUMA/src/ObjectManager.cpp
ExuberantWitness/LUMA
15f2319a67ebb8e3ff577bdd0f93890c3c0e8d0b
[ "Apache-2.0" ]
null
null
null
LUMA/src/ObjectManager.cpp
ExuberantWitness/LUMA
15f2319a67ebb8e3ff577bdd0f93890c3c0e8d0b
[ "Apache-2.0" ]
1
2021-04-22T14:37:10.000Z
2021-04-22T14:37:10.000Z
/* * -------------------------------------------------------------- * * ------ Lattice Boltzmann @ The University of Manchester ------ * * -------------------------- L-U-M-A --------------------------- * * Copyright 2018 The University of Manchester * * Licensed under the Apache License, Version 2.0 (the "License"); * ...
32.294964
124
0.632509
4fa87be11855da78c6587ab7fcfc031daca74187
1,037
cpp
C++
tests/in_place.cpp
NathanSWard/optional
71de89349f982e7a6dd02b87a5f3d083161f8eca
[ "CC0-1.0" ]
2
2019-09-03T13:45:03.000Z
2019-09-03T13:45:21.000Z
tests/in_place.cpp
e-schumann/optional
e165e3554c888e7969513e1c5cdf3d9ffce642f7
[ "CC0-1.0" ]
null
null
null
tests/in_place.cpp
e-schumann/optional
e165e3554c888e7969513e1c5cdf3d9ffce642f7
[ "CC0-1.0" ]
null
null
null
#include "catch.hpp" #include <tl/optional.hpp> #include <tuple> #include <vector> struct takes_init_and_variadic { std::vector<int> v; std::tuple<int, int> t; template <class... Args> takes_init_and_variadic(std::initializer_list<int> l, Args &&... args) : v(l), t(std::forward<Args>(args)...) {} }; TE...
24.690476
72
0.594021
4fa8fd063ec268594ef1ce82e4aec2761bcf4016
148
cpp
C++
demo/linkbot/test.cpp
gucwakj/librobosim
b7a5145cdfd2f4a487900975c31e6a38e41715b9
[ "BSD-4-Clause-UC" ]
null
null
null
demo/linkbot/test.cpp
gucwakj/librobosim
b7a5145cdfd2f4a487900975c31e6a38e41715b9
[ "BSD-4-Clause-UC" ]
null
null
null
demo/linkbot/test.cpp
gucwakj/librobosim
b7a5145cdfd2f4a487900975c31e6a38e41715b9
[ "BSD-4-Clause-UC" ]
null
null
null
#include <iostream> #include "clinkbot.hpp" int main(int argc, char *argv[]) { CLinkbotI robot; robot.connect(); usleep(1000000); return 0; }
13.454545
34
0.682432
4fa9ab50fe9a773e9b70b04fa4da831c37e5f1f7
4,480
cpp
C++
ColliderBit/src/analyses/Analysis_Covariance.cpp
GambitBSM/gambit_2.0
a4742ac94a0352585a3b9dcb9b222048a5959b91
[ "Unlicense" ]
1
2021-09-17T22:53:26.000Z
2021-09-17T22:53:26.000Z
ColliderBit/src/analyses/Analysis_Covariance.cpp
GambitBSM/gambit_2.0
a4742ac94a0352585a3b9dcb9b222048a5959b91
[ "Unlicense" ]
3
2021-07-22T11:23:48.000Z
2021-08-22T17:24:41.000Z
ColliderBit/src/analyses/Analysis_Covariance.cpp
GambitBSM/gambit_2.0
a4742ac94a0352585a3b9dcb9b222048a5959b91
[ "Unlicense" ]
1
2021-08-14T10:31:41.000Z
2021-08-14T10:31:41.000Z
#include "gambit/ColliderBit/analyses/Analysis.hpp" #include "gambit/ColliderBit/ATLASEfficiencies.hpp" namespace Gambit { namespace ColliderBit { using namespace std; /// bjf> Experimental! But already useful for helping me convert the key /// numbers from these analyses to Python for the p-value c...
34.461538
114
0.497991
4fabc4c1aa0861e2d0b9e4f93f0b6e742710578d
10,287
cc
C++
ui/views/widget/window_reorderer_unittest.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
ui/views/widget/window_reorderer_unittest.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
ui/views/widget/window_reorderer_unittest.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "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 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <memory> #include "base/memory/raw_ptr.h" #include "ui/aura/test/test_windows.h" #include "ui/aura/window.h" #include "ui/aura/window_event_disp...
36.478723
80
0.713522
4faea4ab3ce93c24e81efae27f6558f7c174b84b
47,171
cpp
C++
src/bdap/linkmanager.cpp
AmirAbrams/dynamic-swap
a102b9750f023b8617dcb4447025503307812959
[ "MIT" ]
76
2017-04-06T13:58:15.000Z
2022-01-04T16:36:58.000Z
src/bdap/linkmanager.cpp
AmirAbrams/dynamic-swap
a102b9750f023b8617dcb4447025503307812959
[ "MIT" ]
181
2016-11-19T21:09:35.000Z
2021-08-21T02:57:23.000Z
src/bdap/linkmanager.cpp
duality-solutions/Dynamic-2
432c340140307340d1babced012d0de51dbf64ae
[ "MIT" ]
61
2017-01-08T11:30:24.000Z
2021-08-13T07:06:46.000Z
// Copyright (c) 2019-2021 Duality Blockchain Solutions Developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "bdap/linkmanager.h" #include "bdap/domainentry.h" #include "bdap/domainentrydb.h" #include "bdap/linki...
47.265531
254
0.545271
4fafd512581b5e05309b43067b1f821888bf3612
14,177
cc
C++
pkgs/libs/mesa/src/src/glu/sgi/libnurbs/internals/ccw.cc
manggoguy/parsec-modified
d14edfb62795805c84a4280d67b50cca175b95af
[ "BSD-3-Clause" ]
64
2015-03-06T00:30:56.000Z
2022-03-24T13:26:53.000Z
pkgs/libs/mesa/src/src/glu/sgi/libnurbs/internals/ccw.cc
manggoguy/parsec-modified
d14edfb62795805c84a4280d67b50cca175b95af
[ "BSD-3-Clause" ]
12
2020-12-15T08:30:19.000Z
2022-03-13T03:54:24.000Z
pkgs/libs/mesa/src/src/glu/sgi/libnurbs/internals/ccw.cc
manggoguy/parsec-modified
d14edfb62795805c84a4280d67b50cca175b95af
[ "BSD-3-Clause" ]
40
2015-02-26T15:31:16.000Z
2022-03-03T23:23:37.000Z
/* ** License Applicability. Except to the extent portions of this file are ** made subject to an alternative license as permitted in the SGI Free ** Software License B, Version 1.1 (the "License"), the contents of this ** file are subject only to the provisions of the License. You may not use ** this file except in co...
24.959507
129
0.578402
4fb1d855e1e0c068ba2c79e87167dfc3c6db8683
3,833
cc
C++
src/eckit/system/SystemInfo.cc
dvuckovic/eckit
58a918e7be8fe073f37683abf639374ab1ad3e4f
[ "Apache-2.0" ]
10
2018-03-01T22:11:10.000Z
2021-05-17T14:13:58.000Z
src/eckit/system/SystemInfo.cc
dvuckovic/eckit
58a918e7be8fe073f37683abf639374ab1ad3e4f
[ "Apache-2.0" ]
43
2018-04-11T11:13:44.000Z
2022-03-31T15:28:03.000Z
src/eckit/system/SystemInfo.cc
dvuckovic/eckit
58a918e7be8fe073f37683abf639374ab1ad3e4f
[ "Apache-2.0" ]
20
2018-03-07T21:36:50.000Z
2022-03-30T13:25:25.000Z
/* * (C) Copyright 1996- ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an interg...
26.434483
120
0.615706
4fb200e44ebaa6efdcfc1efaec83b8ffcc78b838
2,997
hpp
C++
examples/record_printer/client_hello_record.hpp
pioneer19/libcornet
9eb91629d8f9a6793b28af10a3535bfba0cc24ca
[ "Apache-2.0" ]
1
2020-07-25T06:39:24.000Z
2020-07-25T06:39:24.000Z
examples/record_printer/client_hello_record.hpp
pioneer19/libcornet
9eb91629d8f9a6793b28af10a3535bfba0cc24ca
[ "Apache-2.0" ]
1
2020-07-25T05:32:10.000Z
2020-07-25T05:32:10.000Z
examples/record_printer/client_hello_record.hpp
pioneer19/libcornet
9eb91629d8f9a6793b28af10a3535bfba0cc24ca
[ "Apache-2.0" ]
1
2020-07-25T05:28:54.000Z
2020-07-25T05:28:54.000Z
/* * Copyright 2020 Alex Syrnikov <[email protected]> * SPDX-License-Identifier: Apache-2.0 * * This file is part of libcornet (https://github.com/pioneer19/libcornet). */ const uint8_t tls13_client_hello_record[] = { 0x16, 0x03, 0x01, 0x00, 0xea, // TlsPlaintext handshake, legacy version, length ...
48.33871
91
0.54688
4fb215be17b7a517f5c703eef67e7a23eb9a1c2c
73,408
cpp
C++
src/mongo/s/commands_admin.cpp
nleite/mongo
1a1b6b0aaeefbae06942867e4dcf55d00d42afe0
[ "Apache-2.0" ]
null
null
null
src/mongo/s/commands_admin.cpp
nleite/mongo
1a1b6b0aaeefbae06942867e4dcf55d00d42afe0
[ "Apache-2.0" ]
null
null
null
src/mongo/s/commands_admin.cpp
nleite/mongo
1a1b6b0aaeefbae06942867e4dcf55d00d42afe0
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2008 10gen Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * ...
45.538462
156
0.468314
4fb26419819029cbca5a4561cdcaaa756c6d76f2
895
cpp
C++
src/playground/oop.cpp
yyqian/cpp-arsenal
1f3ce5c044d388a7ddc81f326f304c3acfa420fc
[ "MIT" ]
null
null
null
src/playground/oop.cpp
yyqian/cpp-arsenal
1f3ce5c044d388a7ddc81f326f304c3acfa420fc
[ "MIT" ]
null
null
null
src/playground/oop.cpp
yyqian/cpp-arsenal
1f3ce5c044d388a7ddc81f326f304c3acfa420fc
[ "MIT" ]
null
null
null
#include <string> class Quote { public: Quote() = default; Quote(const std::string &book, double sales_price) : bookNo(book), price(sales_price) {} std::string isbn() const { return bookNo; } virtual double net_price(std::size_t n) const { return n * price; } virtual ~Quote() = default; p...
23.552632
78
0.625698
4fb59c89f9637b5a55fea3244994655ee8f3d196
2,981
cc
C++
code/render/coregraphics/base/multiplerendertargetbase.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
67
2015-03-30T19:56:16.000Z
2022-03-11T13:52:17.000Z
code/render/coregraphics/base/multiplerendertargetbase.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
5
2015-04-15T17:17:33.000Z
2016-02-11T00:40:17.000Z
code/render/coregraphics/base/multiplerendertargetbase.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
34
2015-03-30T15:08:00.000Z
2021-09-23T05:55:10.000Z
//------------------------------------------------------------------------------ // multiplerendertargetbase.cc // (C) 2007 Radon Labs GmbH // (C) 2013-2016 Individual contributors, see AUTHORS file //------------------------------------------------------------------------------ #include "stdneb.h" #include "coregra...
25.05042
84
0.482724
4fb7559032ee7beb162d0ef4e006d5493076a3d1
19,198
cxx
C++
qrenderdoc/3rdparty/scintilla/src/CaseConvert.cxx
PLohrmannAMD/renderdoc
ea16d31aa340581f5e505e0c734a8468e5d3d47f
[ "MIT" ]
6,181
2015-01-07T11:49:11.000Z
2022-03-31T21:46:55.000Z
qrenderdoc/3rdparty/scintilla/src/CaseConvert.cxx
PLohrmannAMD/renderdoc
ea16d31aa340581f5e505e0c734a8468e5d3d47f
[ "MIT" ]
2,015
2015-01-16T01:45:25.000Z
2022-03-25T12:01:06.000Z
qrenderdoc/3rdparty/scintilla/src/CaseConvert.cxx
PLohrmannAMD/renderdoc
ea16d31aa340581f5e505e0c734a8468e5d3d47f
[ "MIT" ]
1,088
2015-01-06T08:36:25.000Z
2022-03-30T03:31:21.000Z
// Scintilla source code edit control // Encoding: UTF-8 /** @file CaseConvert.cxx ** Case fold characters and convert them to upper or lower case. ** Tables automatically regenerated by scripts/GenerateCaseConvert.py ** Should only be rarely regenerated for new versions of Unicode. **/ // Copyright 2013 by Neil Ho...
29.764341
133
0.68455
4fb78d86c114295f779747859aee82380b540ce0
1,105
cpp
C++
tutorial/sandBox/sandBox.cpp
xDvir/animation-assgiemnt-1
44735226f7c1537c5eae76bf524c15b3a91eb9e8
[ "Apache-2.0" ]
null
null
null
tutorial/sandBox/sandBox.cpp
xDvir/animation-assgiemnt-1
44735226f7c1537c5eae76bf524c15b3a91eb9e8
[ "Apache-2.0" ]
null
null
null
tutorial/sandBox/sandBox.cpp
xDvir/animation-assgiemnt-1
44735226f7c1537c5eae76bf524c15b3a91eb9e8
[ "Apache-2.0" ]
null
null
null
#include "tutorial/sandBox/sandBox.h" #include "igl/edge_flaps.h" #include "igl/collapse_edge.h" #include "Eigen/dense" #include <functional> using namespace std; using namespace Eigen; using namespace igl; SandBox::SandBox() { } void SandBox::Init(const std::string& config) { std::string item_name; std::ifstrea...
16.492537
79
0.654299
4fb7a2f953cc7c8e7943c2a7b5d9c4caf1c4d5a3
1,144
cpp
C++
cpp/subprojects/common/src/common/data/vector_dok.cpp
Waguy02/Boomer-Scripted
b06bb9213d64dca0c05d41701dea12666931618c
[ "MIT" ]
8
2020-06-30T01:06:43.000Z
2022-03-14T01:58:29.000Z
cpp/subprojects/common/src/common/data/vector_dok.cpp
Waguy02/Boomer-Scripted
b06bb9213d64dca0c05d41701dea12666931618c
[ "MIT" ]
3
2020-12-14T11:30:18.000Z
2022-02-07T06:31:51.000Z
cpp/subprojects/common/src/common/data/vector_dok.cpp
Waguy02/Boomer-Scripted
b06bb9213d64dca0c05d41701dea12666931618c
[ "MIT" ]
4
2020-06-24T08:45:00.000Z
2021-12-23T21:44:51.000Z
#include "common/data/vector_dok.hpp" template<typename T> DokVector<T>::DokVector(T sparseValue) : sparseValue_(sparseValue) { } template<typename T> typename DokVector<T>::iterator DokVector<T>::begin() { return data_.begin(); } template<typename T> typename DokVector<T>::iterator DokVector<T>::end() { ...
21.584906
68
0.698427
4fb7cb08b00f7a87f694463e9c2e14d8f0ad616a
1,635
cpp
C++
source/adios2/operator/compress/CompressNull.cpp
taniabanerjee/ADIOS2
b32205071a22ea6319c34ed85fb1c47265c76a9d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
source/adios2/operator/compress/CompressNull.cpp
taniabanerjee/ADIOS2
b32205071a22ea6319c34ed85fb1c47265c76a9d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
source/adios2/operator/compress/CompressNull.cpp
taniabanerjee/ADIOS2
b32205071a22ea6319c34ed85fb1c47265c76a9d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Distributed under the OSI-approved Apache License, Version 2.0. See * accompanying file Copyright.txt for details. * * CompressNull.cpp * * Created on: Dec 1, 2021 * Author: Jason Wang [email protected] */ #include "CompressNull.h" #include "adios2/helper/adiosFunctions.h" namespace adio...
29.196429
78
0.703976
4fb7e82857d84cd5366a009336fff5bb0ea3b537
1,814
cpp
C++
tests/src/test_rates_root.cpp
JhaPrajjwal/k40gen
89cd669d8e7327569705033ea299f32849a0a896
[ "Apache-2.0" ]
3
2019-03-22T15:03:29.000Z
2019-07-03T12:08:48.000Z
tests/src/test_rates_root.cpp
JhaPrajjwal/k40gen
89cd669d8e7327569705033ea299f32849a0a896
[ "Apache-2.0" ]
1
2019-04-01T08:21:04.000Z
2019-04-01T08:22:45.000Z
tests/src/test_rates_root.cpp
JhaPrajjwal/k40gen
89cd669d8e7327569705033ea299f32849a0a896
[ "Apache-2.0" ]
5
2019-03-22T15:03:33.000Z
2019-07-16T19:19:40.000Z
#include <numeric> #include <iostream> #include <array> #include <iomanip> #include <generate.h> #include <storage.h> #include <test_functions.h> #include <TApplication.h> #include <TH1.h> #include <TF1.h> #include <TFitResult.h> #include <TCanvas.h> #include <TROOT.h> #define CATCH_CONFIG_RUNNER #include "catch2/c...
26.289855
104
0.601985
4fb84a3b3aa2b769bcbd0205f640df54c7e9d1fc
13,607
cc
C++
src/atlas/parallel/GatherScatter.cc
wdeconinck/atlas
8949d2b362b9b5431023a967bcf4ca84f6b8ce05
[ "Apache-2.0" ]
3
2021-08-17T03:08:45.000Z
2021-09-09T09:22:54.000Z
src/atlas/parallel/GatherScatter.cc
pmarguinaud/atlas
7e0a1251685e07a5dcccc84f4d9251d5a066e2ee
[ "Apache-2.0" ]
62
2020-10-21T15:27:38.000Z
2022-03-28T12:42:43.000Z
src/atlas/parallel/GatherScatter.cc
pmarguinaud/atlas
7e0a1251685e07a5dcccc84f4d9251d5a066e2ee
[ "Apache-2.0" ]
1
2021-03-10T19:19:08.000Z
2021-03-10T19:19:08.000Z
/* * (C) Copyright 2013 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an intergo...
36.18883
120
0.582715
4fbbe4ac2f97ce5a0568c81bf49cafc935bb5aaa
7,368
cpp
C++
src/Databases/SQLite/DatabaseSQLite.cpp
ne1r0n/ClickHouse
17fe76709f9a605c1a8bd9e877a73f068082489d
[ "Apache-2.0" ]
null
null
null
src/Databases/SQLite/DatabaseSQLite.cpp
ne1r0n/ClickHouse
17fe76709f9a605c1a8bd9e877a73f068082489d
[ "Apache-2.0" ]
null
null
null
src/Databases/SQLite/DatabaseSQLite.cpp
ne1r0n/ClickHouse
17fe76709f9a605c1a8bd9e877a73f068082489d
[ "Apache-2.0" ]
null
null
null
#include "DatabaseSQLite.h" #if USE_SQLITE #include <base/logger_useful.h> #include <DataTypes/DataTypesNumber.h> #include <DataTypes/DataTypeNullable.h> #include <Databases/SQLite/fetchSQLiteTableStructure.h> #include <Parsers/ASTCreateQuery.h> #include <Parsers/ASTColumnDeclaration.h> #include <Interpreters/Context...
32.315789
145
0.700869
4fbc3d4675912824cbf04e4249193d83d9aa2617
4,826
cc
C++
mindspore/lite/src/delegate/tensorrt/op/allgather_tensorrt.cc
httpsgithu/mindspore
c29d6bb764e233b427319cb89ba79e420f1e2c64
[ "Apache-2.0" ]
1
2022-02-23T09:13:43.000Z
2022-02-23T09:13:43.000Z
mindspore/lite/src/delegate/tensorrt/op/allgather_tensorrt.cc
949144093/mindspore
c29d6bb764e233b427319cb89ba79e420f1e2c64
[ "Apache-2.0" ]
null
null
null
mindspore/lite/src/delegate/tensorrt/op/allgather_tensorrt.cc
949144093/mindspore
c29d6bb764e233b427319cb89ba79e420f1e2c64
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2021 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
42.333333
120
0.70576
4fbd4fd29e2e81fd5b8e65f374e2602f9d35217e
9,645
cpp
C++
AVSCommon/Utils/src/LibcurlUtils/LibCurlHttpContentFetcher.cpp
merdahl/avs-device-sdk
2cc16d8cc472afc9b7a736a8c1169f12b71dd229
[ "Apache-2.0" ]
1
2022-01-09T21:26:04.000Z
2022-01-09T21:26:04.000Z
AVSCommon/Utils/src/LibcurlUtils/LibCurlHttpContentFetcher.cpp
justdoGIT/avs-device-sdk
2cc16d8cc472afc9b7a736a8c1169f12b71dd229
[ "Apache-2.0" ]
null
null
null
AVSCommon/Utils/src/LibcurlUtils/LibCurlHttpContentFetcher.cpp
justdoGIT/avs-device-sdk
2cc16d8cc472afc9b7a736a8c1169f12b71dd229
[ "Apache-2.0" ]
1
2018-10-12T07:58:44.000Z
2018-10-12T07:58:44.000Z
/* * LibCurlHttpContentFetcher.cpp * * Copyright 2016-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.ama...
45.928571
120
0.655677
4fbd68a1b78c449f2e424f71ef756e62ead38c8b
4,317
cpp
C++
source/PyMaterialX/PyMaterialXCore/PyDefinition.cpp
nzanepro/MaterialX
9100ac81231d87f7fbf4dc32f7030867e466bc41
[ "BSD-3-Clause" ]
null
null
null
source/PyMaterialX/PyMaterialXCore/PyDefinition.cpp
nzanepro/MaterialX
9100ac81231d87f7fbf4dc32f7030867e466bc41
[ "BSD-3-Clause" ]
null
null
null
source/PyMaterialX/PyMaterialXCore/PyDefinition.cpp
nzanepro/MaterialX
9100ac81231d87f7fbf4dc32f7030867e466bc41
[ "BSD-3-Clause" ]
null
null
null
// // TM & (c) 2017 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd. // All rights reserved. See LICENSE.txt for license. // #include <PyMaterialX/PyMaterialX.h> #include <MaterialXCore/Definition.h> #include <MaterialXCore/Material.h> namespace py = pybind11; namespace mx = MaterialX; void bindPyDefinitio...
50.197674
102
0.665508
4fbf226090e4518546a97c8a6309253c44196e1c
1,756
hpp
C++
lshkit/trunk/3rd-party/boost/boost/mpl/aux_/msvc_eti_base.hpp
wzj1695224/BinClone
3b6dedb9a1f08be6dbcdce8f3278351ef5530ed8
[ "Apache-2.0" ]
21
2015-05-22T09:22:16.000Z
2021-04-06T18:54:07.000Z
lshkit/trunk/3rd-party/boost/boost/mpl/aux_/msvc_eti_base.hpp
mrfarhadi/BinClone
035c20ab27ec00935c12ce54fe9c52bba4aaeff2
[ "Apache-2.0" ]
1
2020-05-21T08:43:19.000Z
2020-05-21T08:43:19.000Z
lshkit/trunk/3rd-party/boost/boost/mpl/aux_/msvc_eti_base.hpp
mrfarhadi/BinClone
035c20ab27ec00935c12ce54fe9c52bba4aaeff2
[ "Apache-2.0" ]
11
2015-09-08T20:56:14.000Z
2019-12-22T12:52:45.000Z
#ifndef BOOST_MPL_AUX_MSVC_ETI_BASE_HPP_INCLUDED #define BOOST_MPL_AUX_MSVC_ETI_BASE_HPP_INCLUDED // Copyright Aleksey Gurtovoy 2001-2004 // // 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) // // See http://ww...
22.512821
67
0.702733
4fc1fb870b57f09e99aab228be1843909616589a
5,030
cpp
C++
src/Widgets/ThemesSettingsPanel.cpp
huntermalm/Layers
1f2f6eabe3be8dfbc60d682ca47543f7807a0bbf
[ "MIT" ]
null
null
null
src/Widgets/ThemesSettingsPanel.cpp
huntermalm/Layers
1f2f6eabe3be8dfbc60d682ca47543f7807a0bbf
[ "MIT" ]
null
null
null
src/Widgets/ThemesSettingsPanel.cpp
huntermalm/Layers
1f2f6eabe3be8dfbc60d682ca47543f7807a0bbf
[ "MIT" ]
null
null
null
#include "../../include/AttributeWidgets.h" #include "../../include/Application.h" #include "../../include/Layouts.h" #include "../../include/SettingsPanels.h" using Layers::Button; using Layers::Combobox; using Layers::Theme; using Layers::ThemesSettingsPanel; ThemesSettingsPanel::ThemesSettingsPanel(QWidget* parent...
30.11976
84
0.79841
4fc32173d2cdfb2532a258a3d90c2c36ecacdf0f
1,809
inl
C++
dependencies/checkframebufferstatus/checkFramebufferStatus.inl
jaredhoberock/gotham
e3551cc355646530574d086d7cc2b82e41e8f798
[ "Apache-2.0" ]
6
2015-12-29T07:21:01.000Z
2020-05-29T10:47:38.000Z
dependencies/checkframebufferstatus/checkFramebufferStatus.inl
jaredhoberock/gotham
e3551cc355646530574d086d7cc2b82e41e8f798
[ "Apache-2.0" ]
null
null
null
dependencies/checkframebufferstatus/checkFramebufferStatus.inl
jaredhoberock/gotham
e3551cc355646530574d086d7cc2b82e41e8f798
[ "Apache-2.0" ]
null
null
null
/*! \file checkFramebufferStatus.inl * \author Jared Hoberock * \brief Inline file for checkFramebufferStatus.h. */ #include "checkFramebufferStatus.h" #include <iostream> void checkFramebufferStatus(const char *filename, const unsigned int lineNumber) { GLenum status = glCheckFramebufferStatusEXT(GL...
28.714286
86
0.627418
4fc35df192304b723558bbf337928fba775972f7
7,310
cpp
C++
src/lib/operators/projection.cpp
dey4ss/hyrise
c304b9ced36044e303eb8a4d68a05fc7edc04819
[ "MIT" ]
null
null
null
src/lib/operators/projection.cpp
dey4ss/hyrise
c304b9ced36044e303eb8a4d68a05fc7edc04819
[ "MIT" ]
null
null
null
src/lib/operators/projection.cpp
dey4ss/hyrise
c304b9ced36044e303eb8a4d68a05fc7edc04819
[ "MIT" ]
null
null
null
#include "projection.hpp" #include <algorithm> #include <functional> #include <memory> #include <numeric> #include <string> #include <utility> #include <vector> #include "expression/evaluation/expression_evaluator.hpp" #include "expression/expression_utils.hpp" #include "expression/pqp_column_expression.hpp" #include...
45.123457
119
0.723119
4fc3d34ec7353af5e033a67beba373d497b54d53
790
cpp
C++
Part3/eleven.cpp
praseedpai/BasicCppCourse
fb6c2300dfb48961a5f647a51eb9c2032bfb45ea
[ "MIT" ]
null
null
null
Part3/eleven.cpp
praseedpai/BasicCppCourse
fb6c2300dfb48961a5f647a51eb9c2032bfb45ea
[ "MIT" ]
null
null
null
Part3/eleven.cpp
praseedpai/BasicCppCourse
fb6c2300dfb48961a5f647a51eb9c2032bfb45ea
[ "MIT" ]
1
2021-05-03T16:09:46.000Z
2021-05-03T16:09:46.000Z
/////////////////////////////////// // eleven.cpp // A C/C++ program to demonstrate pointers // g++ -oeleven.exe eleven.cpp // cl /Feeleven.exe eleven.cpp #include <stdio.h> #include <stdlib.h> #include <string.h> int main( int argc , char **argv , char **envp ){ int arr[] = { 0,2,4,5,6}; int arr_count = sizeof(...
29.259259
71
0.556962
4fc608719fe9791c29165f119f800fc6dd70d9e5
934
hpp
C++
src/icebox/icebox/modules.hpp
Fimbure/icebox-1
0b81992a53e1b410955ca89bdb6f8169d6f2da86
[ "MIT" ]
521
2019-03-29T15:44:08.000Z
2022-03-22T09:46:19.000Z
src/icebox/icebox/modules.hpp
Fimbure/icebox-1
0b81992a53e1b410955ca89bdb6f8169d6f2da86
[ "MIT" ]
30
2019-06-04T17:00:49.000Z
2021-09-08T20:44:19.000Z
src/icebox/icebox/modules.hpp
Fimbure/icebox-1
0b81992a53e1b410955ca89bdb6f8169d6f2da86
[ "MIT" ]
99
2019-03-29T16:04:13.000Z
2022-03-28T16:59:34.000Z
#pragma once #include "enums.hpp" #include "types.hpp" #include <functional> namespace core { struct Core; } namespace modules { using on_mod_fn = std::function<walk_e(mod_t)>; using on_event_fn = std::function<void(mod_t)>; bool list (core::Core&, proc_t proc, on_mod_fn on_...
40.608696
116
0.603854
4fc61a4d4dc3ccabe1c900a55fa626daacaf4b48
1,805
cpp
C++
test/testNet/testHttp/testHttpAcceptLanguage/testAcceptLanguageParse.cpp
wangsun1983/Obotcha
2464e53599305703f5150df72bf73579a39d8ef4
[ "MIT" ]
27
2019-04-27T00:51:22.000Z
2022-03-30T04:05:44.000Z
test/testNet/testHttp/testHttpAcceptLanguage/testAcceptLanguageParse.cpp
wangsun1983/Obotcha
2464e53599305703f5150df72bf73579a39d8ef4
[ "MIT" ]
9
2020-05-03T12:17:50.000Z
2021-10-15T02:18:47.000Z
test/testNet/testHttp/testHttpAcceptLanguage/testAcceptLanguageParse.cpp
wangsun1983/Obotcha
2464e53599305703f5150df72bf73579a39d8ef4
[ "MIT" ]
1
2019-04-16T01:45:36.000Z
2019-04-16T01:45:36.000Z
#include <stdio.h> #include <unistd.h> #include <sys/time.h> #include "Thread.hpp" #include "Object.hpp" #include "HttpMime.hpp" #include "HttpAcceptLanguage.hpp" #include "Math.hpp" using namespace obotcha; void testLanguageParse() { while(1) { HttpAcceptLanguage encoding1 = createHttpAcceptLang...
31.12069
112
0.584488
4fc70deb3e9d24c0023e94283629a9144144c227
15,279
cpp
C++
ChipsEninge/02_Script/DirectX/Effects/Effects.cpp
jerrypoiu/DX11_ChipsEngine2021
a558fb0013259a380d68b66142fc48b575208980
[ "MIT" ]
1
2021-01-25T11:38:21.000Z
2021-01-25T11:38:21.000Z
ChipsEninge/02_Script/DirectX/Effects/Effects.cpp
jerrypoiu/ChipsEngine
a558fb0013259a380d68b66142fc48b575208980
[ "MIT" ]
null
null
null
ChipsEninge/02_Script/DirectX/Effects/Effects.cpp
jerrypoiu/ChipsEngine
a558fb0013259a380d68b66142fc48b575208980
[ "MIT" ]
null
null
null
#include "DirectX/Effects/Effects.h" #pragma region Effect Effect::Effect(ID3D11Device* device, const std::wstring& filename) : mFX(0) { std::ifstream fin(filename, std::ios::binary); fin.seekg(0, std::ios_base::end); int size = (int)fin.tellg(); fin.seekg(0, std::ios_base::beg); std::vector<char> compiledShade...
48.504762
100
0.764579
4fc85e6f8b442318826ffe1ce34fbd11be8ab96c
14,962
cc
C++
src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/btcoex.cc
zhangpf/fuchsia-rs
903568f28ddf45f09157ead36d61b50322c9cf49
[ "BSD-3-Clause" ]
null
null
null
src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/btcoex.cc
zhangpf/fuchsia-rs
903568f28ddf45f09157ead36d61b50322c9cf49
[ "BSD-3-Clause" ]
5
2020-09-06T09:02:06.000Z
2022-03-02T04:44:22.000Z
src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/btcoex.cc
ZVNexus/fuchsia
c5610ad15208208c98693618a79c705af935270c
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2013 Broadcom Corporation * * 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 PROVIDED "AS IS" AND THE AUTHO...
31.699153
99
0.670499
4fca8da5598f25d588fe6e40f30e1d3be60ad25c
3,457
cpp
C++
lib/cpp/src/thrift/concurrency/StdThreadFactory.cpp
arculus/thrift
d1380d52999e3c47e978879059f5017d01b257f3
[ "Apache-2.0" ]
2
2018-01-12T07:02:26.000Z
2019-07-09T05:06:29.000Z
lib/cpp/src/thrift/concurrency/StdThreadFactory.cpp
arculus/thrift
d1380d52999e3c47e978879059f5017d01b257f3
[ "Apache-2.0" ]
19
2015-09-14T14:38:55.000Z
2016-05-25T18:15:17.000Z
lib/cpp/src/thrift/concurrency/StdThreadFactory.cpp
arculus/thrift
d1380d52999e3c47e978879059f5017d01b257f3
[ "Apache-2.0" ]
5
2018-01-26T08:46:46.000Z
2019-08-31T03:35:36.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 ma...
25.419118
108
0.695401
4fcad119d316e73bc2815fb835413681ac2eef6e
573
cpp
C++
src/HuffmanEncoderTest.cpp
IoanRazvan/Huffman-Encoder-and-Decoder
a7b58dbcb944b151bb9c3110cc8d2935342c0d43
[ "MIT" ]
null
null
null
src/HuffmanEncoderTest.cpp
IoanRazvan/Huffman-Encoder-and-Decoder
a7b58dbcb944b151bb9c3110cc8d2935342c0d43
[ "MIT" ]
null
null
null
src/HuffmanEncoderTest.cpp
IoanRazvan/Huffman-Encoder-and-Decoder
a7b58dbcb944b151bb9c3110cc8d2935342c0d43
[ "MIT" ]
null
null
null
#include "HuffmanEncoder.h" #include <iostream> #include <stdexcept> #include <string> int main(int argc, const char * argv[]) { if (argc != 3) { std::string errorMessage = std::string("Usage: ") + argv[0] + " <input filename> <encoded filename>"; throw std::logic_error(errorMessage)...
27.285714
110
0.575916
4fcb88f73bbd92b161b432e1a33d2f854847fff5
14,975
cpp
C++
sp/src/game/gameui2/button_panel.cpp
SourceEnginePlayground/Hyperborea
be6960ffd9a12bd9b22aa5616f0a943a524fa2aa
[ "Unlicense" ]
19
2017-06-22T16:52:01.000Z
2022-03-27T12:19:30.000Z
sp/src/game/gameui2/button_panel.cpp
SourceEnginePlayground/Hyperborea
be6960ffd9a12bd9b22aa5616f0a943a524fa2aa
[ "Unlicense" ]
3
2018-01-15T23:39:28.000Z
2020-05-21T10:27:35.000Z
sp/src/game/gameui2/button_panel.cpp
SourceEnginePlayground/Hyperborea
be6960ffd9a12bd9b22aa5616f0a943a524fa2aa
[ "Unlicense" ]
5
2017-09-08T14:18:02.000Z
2018-10-07T11:34:33.000Z
/* Hyperborea (c) by Nicolas @ https://github.com/NicolasDe Hyperborea is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. You should have received a copy of the license along with this work. If not, see <http://creativecommons.org/licenses/by-sa/4.0/>. */ #include "gameui2_interfa...
52.915194
240
0.78424
4fcca642dc4aeab95c4edaad254336a279d46d27
5,675
cpp
C++
src/render/EnvironmentMapPass.cpp
Kuranes/KickstartRT_demo
6de7453ca42e46db180f8bead7ba23f9e8936b69
[ "MIT" ]
83
2021-07-19T13:55:33.000Z
2022-03-29T16:00:57.000Z
src/render/EnvironmentMapPass.cpp
CompileException/donut
bc400a8c2c9db9c3c5ed16190dc108e75722b503
[ "MIT" ]
2
2021-11-04T06:41:28.000Z
2021-11-30T08:25:28.000Z
src/render/EnvironmentMapPass.cpp
CompileException/donut
bc400a8c2c9db9c3c5ed16190dc108e75722b503
[ "MIT" ]
10
2021-07-19T15:03:58.000Z
2022-01-10T07:15:35.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,...
42.350746
146
0.728458
4fcddf10c2a59215adebec21f2dfd072d169b17d
2,256
cpp
C++
src/base/ShaderUniform.cpp
kostrykin/Carna
099783bb7f8a6f52fcc8ccd4666e491cf0aa864c
[ "BSD-3-Clause" ]
null
null
null
src/base/ShaderUniform.cpp
kostrykin/Carna
099783bb7f8a6f52fcc8ccd4666e491cf0aa864c
[ "BSD-3-Clause" ]
null
null
null
src/base/ShaderUniform.cpp
kostrykin/Carna
099783bb7f8a6f52fcc8ccd4666e491cf0aa864c
[ "BSD-3-Clause" ]
3
2015-07-23T12:10:14.000Z
2021-06-08T16:07:05.000Z
/* * Copyright (C) 2010 - 2015 Leonid Kostrykin * * Chair of Medical Engineering (mediTEC) * RWTH Aachen University * Pauwelsstr. 20 * 52074 Aachen * Germany * */ #include <Carna/base/glew.h> #include <Carna/base/ShaderUniform.h> namespace Carna { namespace base { // -------------------------------...
19.118644
85
0.564716
4fd0363b306ceb4c7c6dc060c357e2cec1a701a8
6,434
hh
C++
GeometryService/inc/G4GeometryOptions.hh
lborrel/Offline
db9f647bad3c702171ab5ffa5ccc04c82b3f8984
[ "Apache-2.0" ]
9
2020-03-28T00:21:41.000Z
2021-12-09T20:53:26.000Z
GeometryService/inc/G4GeometryOptions.hh
lborrel/Offline
db9f647bad3c702171ab5ffa5ccc04c82b3f8984
[ "Apache-2.0" ]
684
2019-08-28T23:37:43.000Z
2022-03-31T22:47:45.000Z
GeometryService/inc/G4GeometryOptions.hh
lborrel/Offline
db9f647bad3c702171ab5ffa5ccc04c82b3f8984
[ "Apache-2.0" ]
61
2019-08-16T23:28:08.000Z
2021-12-20T08:29:48.000Z
#ifndef G4GEOMETRY_OPTIONS #define G4GEOMETRY_OPTIONS // // G4 geometry options look-up facility, to be used in conjunction // with SimpleConfig. // // // Original author: Kyle Knoepfel // // This method is used for setting and overriding various flags that // are specified when creating volumes in G4. Ideally, it wou...
36.350282
106
0.613926
4fd0fa30ee8922027abd6fd8dc0fa3da87685323
291
cpp
C++
mitsui/mitsuiA.cpp
KoukiNAGATA/c-
ae51bacb9facb936a151dd777beb6688383a2dcd
[ "MIT" ]
null
null
null
mitsui/mitsuiA.cpp
KoukiNAGATA/c-
ae51bacb9facb936a151dd777beb6688383a2dcd
[ "MIT" ]
3
2021-03-31T01:39:25.000Z
2021-05-04T10:02:35.000Z
mitsui/mitsuiA.cpp
KoukiNAGATA/c-
ae51bacb9facb936a151dd777beb6688383a2dcd
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <cstdio> #include <string> #include <algorithm> using namespace std; int main() { int A, B, C, D; cin >> A >> B >> C >> D; if (A != C) { cout << 1 << "\n"; return 0; } cout << 0 << "\n"; return 0; }
14.55
28
0.474227
4fd1c2be436b8caabdd168c5be880d1920f5be71
17,788
cc
C++
tensorflow/core/common_runtime/pluggable_device/pluggable_device.cc
Tursunali-portfolio/tensorflow
adaa2d1e445c20bd0bac35c017079c3a0c0a45ec
[ "Apache-2.0" ]
null
null
null
tensorflow/core/common_runtime/pluggable_device/pluggable_device.cc
Tursunali-portfolio/tensorflow
adaa2d1e445c20bd0bac35c017079c3a0c0a45ec
[ "Apache-2.0" ]
null
null
null
tensorflow/core/common_runtime/pluggable_device/pluggable_device.cc
Tursunali-portfolio/tensorflow
adaa2d1e445c20bd0bac35c017079c3a0c0a45ec
[ "Apache-2.0" ]
null
null
null
/* Copyright 2021 The TensorFlow 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 applicable law or a...
40.891954
91
0.683663
4fd515a9a5d03507aada46efca7aed38585a0101
1,009
hpp
C++
include/xtr/timespec.hpp
uilianries/xtr
b1dccc51b024369e6c1a2f6d3fcf5f405735289b
[ "MIT" ]
10
2021-09-25T10:40:55.000Z
2022-03-19T01:05:05.000Z
include/xtr/timespec.hpp
uilianries/xtr
b1dccc51b024369e6c1a2f6d3fcf5f405735289b
[ "MIT" ]
2
2021-09-24T12:59:08.000Z
2021-09-24T19:17:47.000Z
include/xtr/timespec.hpp
uilianries/xtr
b1dccc51b024369e6c1a2f6d3fcf5f405735289b
[ "MIT" ]
1
2021-09-24T13:45:29.000Z
2021-09-24T13:45:29.000Z
#ifndef XTR_TIMESPEC_HPP #define XTR_TIMESPEC_HPP #include <ctime> #include <fmt/chrono.h> namespace xtr { // This class exists to avoid clashing with user code---if a formatter // was created for std::timespec then it may conflict with a user // defined formatter. struct timespec : std::timespec ...
20.591837
74
0.562934
4fd8ce5bb6a5438c2c7c90bf28f7aace7da37961
1,791
hpp
C++
include/StackImpl.hpp
Slava-100/lab-05-stack
06a365e8c27870e2b133cc9ee9102b9e41247a49
[ "MIT" ]
null
null
null
include/StackImpl.hpp
Slava-100/lab-05-stack
06a365e8c27870e2b133cc9ee9102b9e41247a49
[ "MIT" ]
null
null
null
include/StackImpl.hpp
Slava-100/lab-05-stack
06a365e8c27870e2b133cc9ee9102b9e41247a49
[ "MIT" ]
null
null
null
// Copyright 2021 Slava-100 <[email protected]> #ifndef INCLUDE_STACKIMPL_HPP_ #define INCLUDE_STACKIMPL_HPP_ #include <utility> template <typename T> class StackImpl { public: StackImpl() : _tail(nullptr), _size(0) {} StackImpl(const StackImpl &) = delete; StackImpl(StackImpl &&) = delete; StackI...
22.3875
74
0.639308
4fd93003389cc1ccc0a29376623c280ab7874358
6,055
cpp
C++
libgpopt/src/xforms/CXformSimplifyGbAgg.cpp
davidli2010/gporca
4c946e5e41051c832736b2fce712c37ca651ddf5
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
libgpopt/src/xforms/CXformSimplifyGbAgg.cpp
davidli2010/gporca
4c946e5e41051c832736b2fce712c37ca651ddf5
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
libgpopt/src/xforms/CXformSimplifyGbAgg.cpp
davidli2010/gporca
4c946e5e41051c832736b2fce712c37ca651ddf5
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2012 EMC Corp. // // @filename: // CXformSimplifyGbAgg.cpp // // @doc: // Implementation of simplifying an aggregate expression by finding // the minimal grouping columns based on functional dependenc...
26.911111
121
0.623452
4fda8c1ba1d5cff07e468a00c222575519007a6b
42,409
cpp
C++
frida/frida-cycript/src/Replace.cpp
bzxy/cydia
f8c838cdbd86e49dddf15792e7aa56e2af80548d
[ "MIT" ]
678
2017-11-17T08:33:19.000Z
2022-03-26T10:40:20.000Z
frida/frida-cycript/src/Replace.cpp
chenfanfang/Cydia
5efce785bfd5f1064b9c0f0e29a9cc05aa24cad0
[ "MIT" ]
22
2019-04-16T05:51:53.000Z
2021-11-08T06:18:45.000Z
frida/frida-cycript/src/Replace.cpp
chenfanfang/Cydia
5efce785bfd5f1064b9c0f0e29a9cc05aa24cad0
[ "MIT" ]
170
2018-06-10T07:59:20.000Z
2022-03-22T16:19:33.000Z
/* Cycript - The Truly Universal Scripting Language * Copyright (C) 2009-2016 Jay Freeman (saurik) */ /* GNU Affero General Public License, Version 3 {{{ */ /* * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the...
29.865493
164
0.655026
4fdab5cd94358d08eac7f8b041bf16d09042f0bd
5,993
cc
C++
paddle/fluid/framework/details/broadcast_op_handle.cc
SnailTowardThesun/Paddle
7a5f3f750bcbe084796f7840ae2937925432b413
[ "Apache-2.0" ]
null
null
null
paddle/fluid/framework/details/broadcast_op_handle.cc
SnailTowardThesun/Paddle
7a5f3f750bcbe084796f7840ae2937925432b413
[ "Apache-2.0" ]
null
null
null
paddle/fluid/framework/details/broadcast_op_handle.cc
SnailTowardThesun/Paddle
7a5f3f750bcbe084796f7840ae2937925432b413
[ "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 requir...
35.252941
78
0.660604
4fdc6c1719a2d84e03001c2f4eb4ce38d1fc074b
4,189
cc
C++
src/mem/spm/governor/explicit_local_spm.cc
danned/gem5spm-riscv
4790fd1ec5972dae40c1871283121041296984e5
[ "BSD-3-Clause" ]
3
2019-03-26T14:51:39.000Z
2021-12-23T04:47:09.000Z
src/mem/spm/governor/explicit_local_spm.cc
danned/gem5spm-riscv
4790fd1ec5972dae40c1871283121041296984e5
[ "BSD-3-Clause" ]
null
null
null
src/mem/spm/governor/explicit_local_spm.cc
danned/gem5spm-riscv
4790fd1ec5972dae40c1871283121041296984e5
[ "BSD-3-Clause" ]
1
2019-04-01T03:22:57.000Z
2019-04-01T03:22:57.000Z
#include "mem/spm/governor/explicit_local_spm.hh" #include <iostream> ExplicitLocalSPM * ExplicitLocalSPMParams::create() { return new ExplicitLocalSPM(this); } ExplicitLocalSPM::ExplicitLocalSPM(const Params *p) : BaseGovernor(p) { gov_type = "ExplicitLocal"; } ExplicitLocalSPM::~ExplicitLocalSPM() { ...
34.908333
97
0.664359
4fdc781745bebc8001b93cc758ce45c155e059a4
693
hpp
C++
boost/boost/icl/type_traits/size.hpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
12,278
2015-01-29T17:11:33.000Z
2022-03-31T21:12:00.000Z
boost/boost/icl/type_traits/size.hpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
9,469
2015-01-30T05:33:07.000Z
2022-03-31T16:17:21.000Z
boost/boost/icl/type_traits/size.hpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
892
2015-01-29T16:26:19.000Z
2022-03-20T07:44:30.000Z
/*-----------------------------------------------------------------------------+ Copyright (c) 2008-2009: Joachim Faulhaber +------------------------------------------------------------------------------+ Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENCE.txt or copy ...
36.473684
84
0.489177
4fdc7935166d58b7a66106112a6a2a1f4ae9af45
8,768
cc
C++
lite/kernels/host/generate_proposals_compute.cc
wanglei91/Paddle-Lite
8b2479f4cdd6970be507203d791bede5a453c09d
[ "Apache-2.0" ]
1,799
2019-08-19T03:29:38.000Z
2022-03-31T14:30:50.000Z
lite/kernels/host/generate_proposals_compute.cc
wanglei91/Paddle-Lite
8b2479f4cdd6970be507203d791bede5a453c09d
[ "Apache-2.0" ]
3,767
2019-08-19T03:36:04.000Z
2022-03-31T14:37:26.000Z
lite/kernels/host/generate_proposals_compute.cc
wanglei91/Paddle-Lite
8b2479f4cdd6970be507203d791bede5a453c09d
[ "Apache-2.0" ]
798
2019-08-19T02:28:23.000Z
2022-03-31T08:31:54.000Z
// Copyright (c) 2019 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...
38.625551
80
0.649293
4fdcc9f7ff1c8b0928366d3a70940ed2cf2e80a4
30,056
cpp
C++
Source/core/svg/SVGUseElement.cpp
scheib/blink
d18c0cc5b4e96ea87c556bfa57955538de498a9f
[ "BSD-3-Clause" ]
1
2017-08-25T05:15:52.000Z
2017-08-25T05:15:52.000Z
Source/core/svg/SVGUseElement.cpp
scheib/blink
d18c0cc5b4e96ea87c556bfa57955538de498a9f
[ "BSD-3-Clause" ]
null
null
null
Source/core/svg/SVGUseElement.cpp
scheib/blink
d18c0cc5b4e96ea87c556bfa57955538de498a9f
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <[email protected]> * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <[email protected]> * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved. * Copyright (C) 2011 Torch Mobile (Beijing) Co. Ltd. All rights reserved. * Copyright (C)...
39.288889
172
0.694504
4fdee9a5c071edd7361349f9787638d4247466b2
10,690
cpp
C++
source/common/widgets/StackedContainer.cpp
varunamachi/quartz
29b0cf7fb981ec95db894259e32af233f64fa616
[ "MIT" ]
6
2018-01-07T18:11:27.000Z
2022-03-25T03:32:45.000Z
source/common/widgets/StackedContainer.cpp
varunamachi/quartz
29b0cf7fb981ec95db894259e32af233f64fa616
[ "MIT" ]
8
2019-02-28T02:25:53.000Z
2019-02-28T15:47:18.000Z
source/common/widgets/StackedContainer.cpp
varunamachi/quartz
29b0cf7fb981ec95db894259e32af233f64fa616
[ "MIT" ]
4
2016-05-28T16:31:06.000Z
2019-09-25T07:13:45.000Z
#include <QVariant> #include <QMouseEvent> #include <QStackedWidget> #include <QHBoxLayout> #include <QVBoxLayout> #include <QPushButton> #include <common/iconstore/IconFontStore.h> #include "QzScroller.h" #include "IdButton.h" #include "StackedContainer.h" namespace Quartz { struct Item { using Ptr = std::sha...
31.075581
80
0.575304
4fdfaa3f8b1a6b061f86e6583fcca48546ec6515
2,730
cpp
C++
Plugins/SpawnPedestrian/Source/SpawnPedestrian/Private/SpawnPedestrian.cpp
ishaan95/EvoScenario
31712603a89d19b01cefffe1223363969505bbf3
[ "MIT" ]
5
2021-02-21T23:08:03.000Z
2022-02-24T22:24:31.000Z
Plugins/SpawnPedestrian/Source/SpawnPedestrian/Private/SpawnPedestrian.cpp
AugmentedDesignLab/CruzWay
c21d28ee4bd5a3cc4f7e1e2c829f88e0554886e3
[ "MIT" ]
7
2020-11-11T01:03:17.000Z
2021-04-19T18:13:00.000Z
Plugins/SpawnPedestrian/Source/SpawnPedestrian/Private/SpawnPedestrian.cpp
ishaan95/EvoScenario
31712603a89d19b01cefffe1223363969505bbf3
[ "MIT" ]
2
2021-07-18T02:30:13.000Z
2022-01-11T08:04:36.000Z
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. #include "SpawnPedestrian.h" #include "SpawnPedestrianStyle.h" #include "SpawnPedestrianCommands.h" #include "Misc/MessageDialog.h" #include "Framework/MultiBox/MultiBoxBuilder.h" #include "LevelEditor.h" #include "SpawnManager.h" static const FName SpawnP...
33.292683
129
0.769963
4fdff8f7ae50a352bf7a88c0c485562437e654f8
16,352
cpp
C++
Analysis/src/Module.cpp
Rudy-Dev/luau
e51ff38d194d31cbdf272b5d116b9a6a04b1b5d8
[ "MIT" ]
1
2022-02-11T21:30:17.000Z
2022-02-11T21:30:17.000Z
Analysis/src/Module.cpp
Rerumu/luau
324bc4b01ddb655f3526042426f21c382339f8ea
[ "MIT" ]
null
null
null
Analysis/src/Module.cpp
Rerumu/luau
324bc4b01ddb655f3526042426f21c382339f8ea
[ "MIT" ]
null
null
null
// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details #include "Luau/Module.h" #include "Luau/Common.h" #include "Luau/RecursionCounter.h" #include "Luau/Scope.h" #include "Luau/TypeInfer.h" #include "Luau/TypePack.h" #include "Luau/TypeVar.h" #include "Lu...
29.516245
137
0.689029
4fe1d403e823872161e865c37354ed666537d721
702
cpp
C++
test/unit-tests/compiler/compiler_test.cpp
twantonie/centurion
198b80f9e8a29da2ae7d3c15e48ffa1a046165c3
[ "MIT" ]
126
2020-12-05T00:05:56.000Z
2022-03-30T15:15:03.000Z
test/unit-tests/compiler/compiler_test.cpp
twantonie/centurion
198b80f9e8a29da2ae7d3c15e48ffa1a046165c3
[ "MIT" ]
46
2020-12-27T14:25:22.000Z
2022-01-26T13:58:11.000Z
test/unit-tests/compiler/compiler_test.cpp
twantonie/centurion
198b80f9e8a29da2ae7d3c15e48ffa1a046165c3
[ "MIT" ]
13
2021-01-20T20:50:18.000Z
2022-03-25T06:59:03.000Z
#include "compiler/compiler.hpp" #include <gtest/gtest.h> TEST(Compiler, IsDebugBuild) { #ifdef NDEBUG ASSERT_FALSE(cen::is_debug_build()); #else ASSERT_TRUE(cen::is_debug_build()); #endif } TEST(Compiler, IsReleaseBuild) { #ifdef NDEBUG ASSERT_TRUE(cen::is_release_build()); #else ASSERT_FALSE(cen::is_releas...
14.326531
40
0.7151
4fe2036cc2af9ec54924d35ce673146f20b1d84b
4,768
cpp
C++
src/main/cpp/Scripting/CommandGroupBuilder.cpp
FRC-Team-4143/2022-Test-DiffSwerve
e28620d4622e0ecc02b447f6f439791c0f7f5783
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/Scripting/CommandGroupBuilder.cpp
FRC-Team-4143/2022-Test-DiffSwerve
e28620d4622e0ecc02b447f6f439791c0f7f5783
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/Scripting/CommandGroupBuilder.cpp
FRC-Team-4143/2022-Test-DiffSwerve
e28620d4622e0ecc02b447f6f439791c0f7f5783
[ "BSD-3-Clause" ]
null
null
null
// ========================================================================== // CommandGroupBuilder class // // FRC 4143: MARS/WARS // ========================================================================== // 2022-02-27 JKSalmon - Initial release // =================================================================...
27.883041
157
0.574035
4fe208e83a2a28c3cc73a8d93d5c8da50bbda1f2
612
hpp
C++
iOS/G3MApp/G3MApp/G3MCanvas2DDemoScene.hpp
AeroGlass/g3m
a21a9e70a6205f1f37046ae85dafc6e3bfaeb917
[ "BSD-2-Clause" ]
null
null
null
iOS/G3MApp/G3MApp/G3MCanvas2DDemoScene.hpp
AeroGlass/g3m
a21a9e70a6205f1f37046ae85dafc6e3bfaeb917
[ "BSD-2-Clause" ]
null
null
null
iOS/G3MApp/G3MApp/G3MCanvas2DDemoScene.hpp
AeroGlass/g3m
a21a9e70a6205f1f37046ae85dafc6e3bfaeb917
[ "BSD-2-Clause" ]
null
null
null
// // G3MCanvas2DDemoScene.hpp // G3MApp // // Created by Diego Gomez Deck on 2/12/15. // Copyright (c) 2015 Igo Software SL. All rights reserved. // #ifndef __G3MApp__G3MCanvas2DDemoScene__ #define __G3MApp__G3MCanvas2DDemoScene__ #include "G3MDemoScene.hpp" class G3MCanvas2DDemoScene : public G3MDemoScene { ...
18.545455
60
0.696078
4fe2f1130e63469bd6fd38299067649bc4e92155
25,121
cpp
C++
src/model/test/AirLoopHVACUnitarySystem_GTest.cpp
mehrdad-shokri/OpenStudio
1773b54ce1cb660818ac0114dd7eefae6639ca36
[ "blessing" ]
null
null
null
src/model/test/AirLoopHVACUnitarySystem_GTest.cpp
mehrdad-shokri/OpenStudio
1773b54ce1cb660818ac0114dd7eefae6639ca36
[ "blessing" ]
null
null
null
src/model/test/AirLoopHVACUnitarySystem_GTest.cpp
mehrdad-shokri/OpenStudio
1773b54ce1cb660818ac0114dd7eefae6639ca36
[ "blessing" ]
null
null
null
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without m...
43.16323
125
0.798416
4fe35522dd811ea3a4133d69d70bd53eadb7ba1a
308
cpp
C++
src/2/2475.cpp
youngdaLee/Baekjoon
7d858d557dbbde6603fe4e8af2891c2b0e1940c0
[ "MIT" ]
11
2020-09-20T15:17:11.000Z
2022-03-17T12:43:33.000Z
src/2/2475.cpp
youngdaLee/Baekjoon
7d858d557dbbde6603fe4e8af2891c2b0e1940c0
[ "MIT" ]
3
2021-10-30T07:51:36.000Z
2022-03-09T05:19:23.000Z
src/2/2475.cpp
youngdaLee/Baekjoon
7d858d557dbbde6603fe4e8af2891c2b0e1940c0
[ "MIT" ]
13
2021-01-21T03:19:08.000Z
2022-03-28T10:44:58.000Z
/** * 2475. 검증수 * * 작성자: xCrypt0r * 언어: C++14 * 사용 메모리: 1,984 KB * 소요 시간: 0 ms * 해결 날짜: 2020년 8월 21일 */ #include <iostream> using namespace std; int main() { int n1, n2, n3, n4, n5; cin >> n1 >> n2 >> n3 >> n4 >> n5; cout << (n1 * n1 + n2 * n2 + n3 * n3 + n4 * n4 + n5 * n5) % 10; }
14
67
0.474026
4fe6ad2f0632184bd2f29c82339cdfb448172276
576
cpp
C++
plugins/protein_calls/src/IntSelectionCall.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
2
2020-10-16T10:15:37.000Z
2021-01-21T13:06:00.000Z
plugins/protein_calls/src/IntSelectionCall.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
null
null
null
plugins/protein_calls/src/IntSelectionCall.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
1
2021-01-28T01:19:54.000Z
2021-01-28T01:19:54.000Z
#include "stdafx.h" #include "protein_calls/IntSelectionCall.h" using namespace megamol; using namespace megamol::protein_calls; /* * IntSelectionCall::CallForGetSelection */ const unsigned int IntSelectionCall::CallForGetSelection = 0; /* * IntSelectionCall::CallForSetSelection */ const unsigned int IntSelecti...
19.2
61
0.767361
4fe9892661be507584dd0d847f22f40e1b6c9ff8
183,668
cpp
C++
pxr/usd/lib/pcp/primIndex.cpp
navefx/YuksUSD
56c2e1def36ee07121f4ecb349c1626472b3c338
[ "AML" ]
6
2018-08-26T13:27:22.000Z
2021-08-14T23:57:38.000Z
pxr/usd/lib/pcp/primIndex.cpp
navefx/YuksUSD
56c2e1def36ee07121f4ecb349c1626472b3c338
[ "AML" ]
1
2021-08-14T23:57:51.000Z
2021-08-14T23:57:51.000Z
pxr/usd/lib/pcp/primIndex.cpp
navefx/YuksUSD
56c2e1def36ee07121f4ecb349c1626472b3c338
[ "AML" ]
4
2018-06-14T18:14:59.000Z
2021-09-13T22:20:50.000Z
// // Copyright 2016 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is deleted and replaced with: // // 6. Trad...
38.328047
81
0.616787
4fe9c225e69fafe57d715f9a24c4ab3a36656d64
18,866
hpp
C++
src/Interface/hiopInterface.hpp
pelesh/hiop
26bf95fc380dfee6d251d6c870cf1b4c76841828
[ "BSD-3-Clause" ]
null
null
null
src/Interface/hiopInterface.hpp
pelesh/hiop
26bf95fc380dfee6d251d6c870cf1b4c76841828
[ "BSD-3-Clause" ]
null
null
null
src/Interface/hiopInterface.hpp
pelesh/hiop
26bf95fc380dfee6d251d6c870cf1b4c76841828
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2017, Lawrence Livermore National Security, LLC. // Produced at the Lawrence Livermore National Laboratory (LLNL). // Written by Cosmin G. Petra, [email protected]. // LLNL-CODE-742473. All rights reserved. // // This file is part of HiOp. For details, see https://github.com/LLNL/hiop. HiOp // is releas...
45.902676
115
0.716262
4fecebbbb9b3f3cab920782731e176f84c039690
2,366
cpp
C++
ex2/matmultran/src/main.cpp
akowalew/rim-lab
4ffc992c543e1ed7fcaa7c88a0fcd94d09daa829
[ "MIT" ]
null
null
null
ex2/matmultran/src/main.cpp
akowalew/rim-lab
4ffc992c543e1ed7fcaa7c88a0fcd94d09daa829
[ "MIT" ]
null
null
null
ex2/matmultran/src/main.cpp
akowalew/rim-lab
4ffc992c543e1ed7fcaa7c88a0fcd94d09daa829
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <ctime> #include <chrono> #include <thread> #include "matmultran.hpp" void alloc_mem(int m, int n, float **A_ptr, float **C_ptr, float **D_ptr) { *A_ptr = (float *) malloc(m * n * sizeof(float)); *C_ptr = (float *) malloc(m * m * sizeof(float)); *D_ptr = (float...
24.391753
94
0.609045
4fedc7a154eb5284125d41a1b45c3a29855af6fe
3,387
cpp
C++
src/day12.cpp
beached/aoc_2017
553d42e50b81384ad93aae6e0aec624ca7c8bf58
[ "MIT" ]
1
2017-12-11T16:17:18.000Z
2017-12-11T16:17:18.000Z
src/day12.cpp
beached/aoc_2017
553d42e50b81384ad93aae6e0aec624ca7c8bf58
[ "MIT" ]
null
null
null
src/day12.cpp
beached/aoc_2017
553d42e50b81384ad93aae6e0aec624ca7c8bf58
[ "MIT" ]
null
null
null
// The MIT License (MIT) // // Copyright (c) 2017 Darrell Wright // // 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,...
32.883495
83
0.663714
4feea2317e2293f1c9dd2a11aaf2fc2fbdf52c7a
1,029
cpp
C++
src/Node.cpp
gabystern/capybara-webkit
d0769f7f649705a7a921bba1f9dcb3db5e6b1ee4
[ "MIT" ]
764
2015-01-01T03:04:14.000Z
2022-03-27T23:14:32.000Z
src/Node.cpp
gabystern/capybara-webkit
d0769f7f649705a7a921bba1f9dcb3db5e6b1ee4
[ "MIT" ]
474
2015-01-03T14:39:04.000Z
2020-03-03T15:57:03.000Z
src/Node.cpp
gabystern/capybara-webkit
d0769f7f649705a7a921bba1f9dcb3db5e6b1ee4
[ "MIT" ]
224
2015-01-08T06:42:24.000Z
2022-03-25T09:29:43.000Z
#include "Node.h" #include "WebPage.h" #include "WebPageManager.h" #include "JsonSerializer.h" #include "InvocationResult.h" Node::Node(WebPageManager *manager, QStringList &arguments, QObject *parent) : JavascriptCommand(manager, arguments, parent) { } void Node::start() { QStringList functionArguments(arguments()...
32.15625
126
0.739553
4fef4ce7a337887fc210a91cdf8e90794590e7fe
33,522
cpp
C++
main.cpp
abitrolly/watchman
658e9ec680fe7691e1fe1d136180b282511a301a
[ "Apache-2.0" ]
1
2019-10-18T12:35:33.000Z
2019-10-18T12:35:33.000Z
main.cpp
MedRedha/watchman
073fdd5c13d73c66563a8f07acebc53a1c6d7dde
[ "Apache-2.0" ]
null
null
null
main.cpp
MedRedha/watchman
073fdd5c13d73c66563a8f07acebc53a1c6d7dde
[ "Apache-2.0" ]
1
2019-12-19T01:16:22.000Z
2019-12-19T01:16:22.000Z
/* Copyright 2012-present Facebook, Inc. * Licensed under the Apache License, Version 2.0 */ #include "watchman.h" #include "ChildProcess.h" #include "Logging.h" #include "ThreadPool.h" #ifndef _WIN32 #include <poll.h> #endif #include <folly/Exception.h> #include <folly/ScopeGuard.h> #include <folly/Singleton.h> usin...
26.27116
80
0.614373
4ff03862e9080e0d503f1a21891f33cd504b5ef4
3,303
hpp
C++
cppcache/src/FixedPartitionAttributesImpl.hpp
austxcodemonkey/geode-native
a816ac99cbbac557629686cb2542fdc74d464338
[ "Apache-2.0" ]
1
2018-09-08T05:05:22.000Z
2018-09-08T05:05:22.000Z
cppcache/src/FixedPartitionAttributesImpl.hpp
austxcodemonkey/geode-native
a816ac99cbbac557629686cb2542fdc74d464338
[ "Apache-2.0" ]
1
2021-02-23T12:27:00.000Z
2021-02-23T12:27:00.000Z
cppcache/src/FixedPartitionAttributesImpl.hpp
isabella232/geode-native
0d9a99d5e0632de62df17921950cf3f6640efb33
[ "Apache-2.0" ]
null
null
null
/* * 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 ...
31.457143
80
0.735695
4ff27ab12280b56abdf72056fe69ec713f2f2f46
8,695
cc
C++
paddle/fluid/operators/mkldnn/lrn_mkldnn_op.cc
shippingwang/Paddle
55a785bb10c9b494e6256855cbb1f73a63bb36e7
[ "Apache-2.0" ]
1
2019-03-14T02:29:12.000Z
2019-03-14T02:29:12.000Z
paddle/fluid/operators/mkldnn/lrn_mkldnn_op.cc
shippingwang/Paddle
55a785bb10c9b494e6256855cbb1f73a63bb36e7
[ "Apache-2.0" ]
null
null
null
paddle/fluid/operators/mkldnn/lrn_mkldnn_op.cc
shippingwang/Paddle
55a785bb10c9b494e6256855cbb1f73a63bb36e7
[ "Apache-2.0" ]
1
2019-11-27T11:58:44.000Z
2019-11-27T11:58:44.000Z
/* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserve. 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 ...
39.703196
79
0.658309
4ff51b38cbe2ae34b8f6913080ab6f8a0936a4db
4,295
hpp
C++
lib/boost_1.78.0/boost/geometry/strategies/simplify/spherical.hpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
326
2015-02-08T13:47:49.000Z
2022-03-16T02:13:59.000Z
lib/boost_1.78.0/boost/geometry/strategies/simplify/spherical.hpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
623
2015-01-02T23:45:23.000Z
2022-03-09T11:15:23.000Z
lib/boost_1.78.0/boost/geometry/strategies/simplify/spherical.hpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
215
2015-01-14T15:50:38.000Z
2022-02-23T03:58:36.000Z
// Boost.Geometry // Copyright (c) 2021, Oracle and/or its affiliates. // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle // Licensed under the Boost Software License version 1.0. // http://www.boost.org/users/license.html #ifndef BOOST_GEOMETRY_STRATEGIES_SIMPLIFY_SPHERICAL_HPP #define BOOST_GE...
28.256579
92
0.655879
4ff77fb96ce84be8fc4866cf29b0a17cd6a21fb0
5,312
cpp
C++
OOP/OOP-Homework-2/BigInteger.cpp
Rossoner40/NBU-Classwork-and-Homework
823e5eab2da616ae6d965da9c0a22fa0212d7887
[ "MIT" ]
null
null
null
OOP/OOP-Homework-2/BigInteger.cpp
Rossoner40/NBU-Classwork-and-Homework
823e5eab2da616ae6d965da9c0a22fa0212d7887
[ "MIT" ]
null
null
null
OOP/OOP-Homework-2/BigInteger.cpp
Rossoner40/NBU-Classwork-and-Homework
823e5eab2da616ae6d965da9c0a22fa0212d7887
[ "MIT" ]
null
null
null
#include "BigInteger.h" BigInteger::BigInteger():n(0), val(NULL), pos(false){ } BigInteger::BigInteger(std::string s){ n = s.length(); pos = (s[0]=='-')?false:true; if(!pos) n--; val = new int[n]; for (int i = 0; i < n; i++) { if(s[i]!='-' || s[i]!='+'){ if(pos) val[i] = s[i]-'0'; e...
20.274809
68
0.492282
4ff94fda49ac35645dadad0f002bc31ff25dc5d3
9,075
cc
C++
src/solver.cc
CHEN-Lin/OpenMoor
f463f586487b9023e7f3678c9d851000558b14d7
[ "Apache-2.0" ]
7
2019-02-10T07:03:45.000Z
2022-03-04T16:09:38.000Z
src/solver.cc
CHEN-Lin/OpenMoor
f463f586487b9023e7f3678c9d851000558b14d7
[ "Apache-2.0" ]
null
null
null
src/solver.cc
CHEN-Lin/OpenMoor
f463f586487b9023e7f3678c9d851000558b14d7
[ "Apache-2.0" ]
4
2021-01-25T23:33:11.000Z
2022-03-27T13:22:56.000Z
// This file is part of OpenMOOR, an Open-source simulation program for MOORing // systems in offshore renewable energy applications. // // Created by Lin Chen on Sep 15, 2017. // // Copyright 2018 Lin Chen <[email protected]> & Biswajit Basu <[email protected]> // // Licensed under the Apache License, Version 2.0 (the "L...
37.970711
98
0.513388
4ff9e38e38ce9ed38cef419716d27168344d17b6
235
hpp
C++
include/mpi/core/enums/comparison.hpp
acdemiralp/mpi
c3d445404ed129f1f0dee61fa7b36033a11801d5
[ "MIT" ]
9
2021-11-09T06:07:00.000Z
2022-02-06T12:03:56.000Z
include/mpi/core/enums/comparison.hpp
acdemiralp/mpi
c3d445404ed129f1f0dee61fa7b36033a11801d5
[ "MIT" ]
3
2021-10-19T00:04:53.000Z
2021-11-10T07:26:34.000Z
include/mpi/core/enums/comparison.hpp
acdemiralp/mpi
c3d445404ed129f1f0dee61fa7b36033a11801d5
[ "MIT" ]
null
null
null
#pragma once #include <cstdint> #include <mpi/core/mpi.hpp> namespace mpi { enum class comparison : std::int32_t { identical = MPI_IDENT , congruent = MPI_CONGRUENT, similar = MPI_SIMILAR , unequal = MPI_UNEQUAL }; }
14.6875
36
0.685106
4ffa16bfcf8e2aa794f27ed2543621bbad9bd3f5
2,989
cpp
C++
tests/test_logmanager.cpp
DeanoC/simple_logmanager
406317ae0f0a3b2b187a505ba6694f1902f63124
[ "Apache-2.0" ]
null
null
null
tests/test_logmanager.cpp
DeanoC/simple_logmanager
406317ae0f0a3b2b187a505ba6694f1902f63124
[ "Apache-2.0" ]
null
null
null
tests/test_logmanager.cpp
DeanoC/simple_logmanager
406317ae0f0a3b2b187a505ba6694f1902f63124
[ "Apache-2.0" ]
null
null
null
#include "al2o3_platform/platform.h" #include "al2o3_catch2/catch2.hpp" #include "utils_simple_logmanager/logmanager.h" #include "al2o3_os/file.h" #include "al2o3_os/filesystem.h" TEST_CASE("Alloc/Free", "[SimpleLogManager]") { auto slm = SimpleLogManager_Alloc(); REQUIRE(slm); SimpleLogManager_Free(slm); } TEST_C...
31.135417
68
0.79458
4ffb7b971e0ea1a7dae67d8a598fab3e9e8e4e7f
6,357
cpp
C++
src/Emulators/nestopiaue/common/nstini.cpp
slajerek/RetroDebugger
e761e4f9efd103a05e65ef283423b142fa4324c7
[ "Apache-2.0", "MIT" ]
34
2021-05-29T07:04:17.000Z
2022-03-10T20:16:03.000Z
src/Emulators/nestopiaue/common/nstini.cpp
slajerek/RetroDebugger
e761e4f9efd103a05e65ef283423b142fa4324c7
[ "Apache-2.0", "MIT" ]
6
2021-12-25T13:05:21.000Z
2022-01-19T17:35:17.000Z
src/Emulators/nestopiaue/common/nstini.cpp
slajerek/RetroDebugger
e761e4f9efd103a05e65ef283423b142fa4324c7
[ "Apache-2.0", "MIT" ]
6
2021-12-24T18:37:41.000Z
2022-02-06T23:06:02.000Z
/* inih -- simple .INI file parser Copyright (c) 2009, Brush Technology 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 ...
32.269036
80
0.55608
4ffbdf4569166734a20b6794b81d291056b33c2a
2,232
cpp
C++
35-minimum-spanning-tree/minimumtree.cpp
wlep/cp-course
9e52788e8f6a76752149b74d06d0272e16c3b528
[ "MIT" ]
null
null
null
35-minimum-spanning-tree/minimumtree.cpp
wlep/cp-course
9e52788e8f6a76752149b74d06d0272e16c3b528
[ "MIT" ]
null
null
null
35-minimum-spanning-tree/minimumtree.cpp
wlep/cp-course
9e52788e8f6a76752149b74d06d0272e16c3b528
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> using namespace std; template<typename T> class UnionFind { public: struct Node { T data; int rank; int forestIndex; Node* parent; Node(T _data, int _forestIndex) { data = _data; rank = 0; ...
19.578947
85
0.46595
4ffc4c7a7775cd7fe33f61f9371c2a8eb810b77e
1,204
cpp
C++
opencv_basics/src/load_image_3.cpp
yaoli/autonomy
a7578e39e15c9e55cd29e48df9834db564a8707f
[ "Apache-2.0" ]
1
2020-12-05T19:20:02.000Z
2020-12-05T19:20:02.000Z
opencv_basics/src/load_image_3.cpp
yaoli/autonomy
a7578e39e15c9e55cd29e48df9834db564a8707f
[ "Apache-2.0" ]
null
null
null
opencv_basics/src/load_image_3.cpp
yaoli/autonomy
a7578e39e15c9e55cd29e48df9834db564a8707f
[ "Apache-2.0" ]
null
null
null
#include <iomanip> #include <iostream> #include <opencv2/core.hpp> #include <opencv2/highgui.hpp> #include <sstream> #include <string> using namespace std; void loadImage3() { // load images vector<cv::Mat> imgList; for (int i = 5; i <= 9; i++) { // create file name ostringstream imgNumber; ...
26.173913
69
0.618771
4ffcb0753f8cacdf4f3dc3f4d649e96f8a39b82e
2,852
cpp
C++
Code/Engine/Foundation/Utilities/Implementation/Node.cpp
asheraryam/ezEngine
bfe6d109b72d8fd6f13d043b11980796625c648e
[ "MIT" ]
null
null
null
Code/Engine/Foundation/Utilities/Implementation/Node.cpp
asheraryam/ezEngine
bfe6d109b72d8fd6f13d043b11980796625c648e
[ "MIT" ]
null
null
null
Code/Engine/Foundation/Utilities/Implementation/Node.cpp
asheraryam/ezEngine
bfe6d109b72d8fd6f13d043b11980796625c648e
[ "MIT" ]
null
null
null
#include <FoundationPCH.h> #include <Foundation/Utilities/Node.h> // EZ_CHECK_AT_COMPILETIME(sizeof(ezNodePin) == 4); // clang-format off EZ_BEGIN_DYNAMIC_REFLECTED_TYPE(ezNode, 1, ezRTTINoAllocator) EZ_END_DYNAMIC_REFLECTED_TYPE; EZ_BEGIN_STATIC_REFLECTED_TYPE(ezNodePin, ezNoBase, 1, ezRTTINoAllocator) { EZ_BEGI...
26.407407
137
0.73317
4fffb2cad6e15713572254da23a904b649a21e5b
2,393
cpp
C++
inference-engine/tests/functional/plugin/gpu/shared_tests_instances/multi/gpu_remote_blob_tests.cpp
ElenaGvozdeva/openvino
084aa4e5916fa2ed3e353dcd45d081ab11d9c75a
[ "Apache-2.0" ]
null
null
null
inference-engine/tests/functional/plugin/gpu/shared_tests_instances/multi/gpu_remote_blob_tests.cpp
ElenaGvozdeva/openvino
084aa4e5916fa2ed3e353dcd45d081ab11d9c75a
[ "Apache-2.0" ]
23
2021-03-12T07:34:43.000Z
2022-02-21T13:06:03.000Z
inference-engine/tests/functional/plugin/gpu/shared_tests_instances/multi/gpu_remote_blob_tests.cpp
ElenaGvozdeva/openvino
084aa4e5916fa2ed3e353dcd45d081ab11d9c75a
[ "Apache-2.0" ]
1
2020-07-22T15:53:40.000Z
2020-07-22T15:53:40.000Z
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <string> #include <vector> #include "gpu/gpu_config.hpp" #include "multi/multi_remote_blob_tests.hpp" #include "common_test_utils/test_constants.hpp" const std::vector<DevicesNamesAndSupportPair> device_names_and_support_f...
41.258621
130
0.728374
8b01a9285a5ca03ea5b64552a3b85ac5e45dc213
1,494
hh
C++
dune/ax1/acme1MD/configurations/bigmac/bigmac_solution_con.hh
pederpansen/dune-ax1
152153824d95755a55bdd4fba80686863e928196
[ "BSD-3-Clause" ]
null
null
null
dune/ax1/acme1MD/configurations/bigmac/bigmac_solution_con.hh
pederpansen/dune-ax1
152153824d95755a55bdd4fba80686863e928196
[ "BSD-3-Clause" ]
null
null
null
dune/ax1/acme1MD/configurations/bigmac/bigmac_solution_con.hh
pederpansen/dune-ax1
152153824d95755a55bdd4fba80686863e928196
[ "BSD-3-Clause" ]
null
null
null
/* * bigmac_solution_con.hh * * Created on: Jan 17, 2012 * Author: jpods */ #ifndef DUNE_AX1_BIGMAC_SOLUTION_CON_HH #define DUNE_AX1_BIGMAC_SOLUTION_CON_HH #include <dune/pdelab/common/function.hh> #include <dune/ax1/common/constants.hh> #include <dune/ax1/acme1MD/common/acme1MD_parametertree.hh> templat...
22.636364
88
0.65328
8b022a18324bcac46b891a0dd9b0b2c361d698d7
40,091
cpp
C++
extras/jbcoin-libpp/extras/jbcoind/src/jbcoin/shamap/impl/SHAMap.cpp
trongnmchainos/validator-keys-tool
cae131d6ab46051c0f47509b79b6efc47a70eec0
[ "BSL-1.0" ]
2
2020-03-03T12:46:29.000Z
2020-11-14T09:52:14.000Z
extras/jbcoin-libpp/extras/jbcoind/src/jbcoin/shamap/impl/SHAMap.cpp
trongnmchainos/validator-keys-tool
cae131d6ab46051c0f47509b79b6efc47a70eec0
[ "BSL-1.0" ]
null
null
null
extras/jbcoin-libpp/extras/jbcoind/src/jbcoin/shamap/impl/SHAMap.cpp
trongnmchainos/validator-keys-tool
cae131d6ab46051c0f47509b79b6efc47a70eec0
[ "BSL-1.0" ]
1
2020-03-03T12:46:30.000Z
2020-03-03T12:46:30.000Z
//------------------------------------------------------------------------------ /* This file is part of jbcoind: https://github.com/jbcoin/jbcoind Copyright (c) 2012, 2013 Jbcoin Labs Inc. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby ...
28.988431
105
0.541269