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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f5ea48041eb05f9d7e9d4b12139992de1919dea8 | 7,027 | cpp | C++ | LinaResource/src/Core/ResourceBundle.cpp | moonantonio/LinaEngine | fe5a91a85c64dd0719656eb38e2fb37037bacfc1 | [
"MIT"
] | 10 | 2018-09-30T22:29:27.000Z | 2018-10-08T14:04:42.000Z | LinaResource/src/Core/ResourceBundle.cpp | moonantonio/LinaEngine | fe5a91a85c64dd0719656eb38e2fb37037bacfc1 | [
"MIT"
] | 15 | 2018-10-02T22:14:17.000Z | 2018-10-12T08:01:36.000Z | LinaResource/src/Core/ResourceBundle.cpp | moonantonio/LinaEngine | fe5a91a85c64dd0719656eb38e2fb37037bacfc1 | [
"MIT"
] | 1 | 2018-09-30T16:37:10.000Z | 2018-09-30T16:37:10.000Z | /*
This file is a part of: Lina Engine
https://github.com/inanevin/LinaEngine
Author: Inan Evin
http://www.inanevin.com
Copyright (c) [2018-2020] [Inan Evin]
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 t... | 44.474684 | 224 | 0.665718 | moonantonio |
f5ec9532c75850233600d62a6f5bd2b68acad969 | 84,918 | cpp | C++ | scsp-20200702/src/scsp_20200702.cpp | aliyun/alibabacloud-cpp-sdk | 0e7c0576abcd4ef1aef07d714b92654deb713c36 | [
"Apache-2.0"
] | 5 | 2021-02-01T03:20:23.000Z | 2022-01-28T02:13:49.000Z | scsp-20200702/src/scsp_20200702.cpp | aliyun/alibabacloud-cpp-sdk | 0e7c0576abcd4ef1aef07d714b92654deb713c36 | [
"Apache-2.0"
] | 4 | 2021-05-03T08:34:12.000Z | 2022-01-28T02:13:33.000Z | scsp-20200702/src/scsp_20200702.cpp | aliyun/alibabacloud-cpp-sdk | 0e7c0576abcd4ef1aef07d714b92654deb713c36 | [
"Apache-2.0"
] | 5 | 2021-04-02T02:59:04.000Z | 2022-02-24T02:33:44.000Z | // This file is auto-generated, don't edit it. Thanks.
#include <alibabacloud/scsp_20200702.hpp>
#include <alibabacloud/endpoint_util.hpp>
#include <alibabacloud/open_api.hpp>
#include <alibabacloud/open_api_util.hpp>
#include <boost/any.hpp>
#include <boost/throw_exception.hpp>
#include <darabonba/core.hpp>
#include ... | 76.296496 | 275 | 0.80175 | aliyun |
f5ed720e3c1155fb45b008765794b5792ced1fa3 | 220 | cpp | C++ | net/test/socket_test.cpp | Leadam/CPX | ec732652b14ef458a33dbf21b2ae13c1164cc42e | [
"MIT"
] | null | null | null | net/test/socket_test.cpp | Leadam/CPX | ec732652b14ef458a33dbf21b2ae13c1164cc42e | [
"MIT"
] | null | null | null | net/test/socket_test.cpp | Leadam/CPX | ec732652b14ef458a33dbf21b2ae13c1164cc42e | [
"MIT"
] | null | null | null | //
// Created by lengyel on 2018.10.13..
//
#include <gtest/gtest.h>
#include "../socket.hpp"
TEST(Socket, Constructor){ // NOLINT
cpx::net::Socket socket(AF_INET, SOCK_DGRAM, 0);
EXPECT_TRUE(socket.good());
}
| 18.333333 | 52 | 0.654545 | Leadam |
f5ed7ed0b9736935b456785c106e4e0a205c6fdb | 3,237 | hpp | C++ | ode/bla/ngstd.hpp | bschwb/numdiff | 68b8ee34476b9efefed31accb378fefc620ec8ef | [
"MIT"
] | null | null | null | ode/bla/ngstd.hpp | bschwb/numdiff | 68b8ee34476b9efefed31accb378fefc620ec8ef | [
"MIT"
] | null | null | null | ode/bla/ngstd.hpp | bschwb/numdiff | 68b8ee34476b9efefed31accb378fefc620ec8ef | [
"MIT"
] | null | null | null | #ifndef FILE_NGSTD
#define FILE_NGSTD
/*********************************************************************/
/* File: ngstd.hpp */
/* Author: Joachim Schoeberl */
/* Date: 25. Mar. 2000 ... | 19.267857 | 132 | 0.620019 | bschwb |
f5edae57f26a9db6f9080006bfa6c57991a363fa | 242 | hpp | C++ | cpp/battuta/inc/image.hpp | tekktonic/programming | 139959ab9934912d4c531e5ee8b1f39094a6823c | [
"0BSD"
] | null | null | null | cpp/battuta/inc/image.hpp | tekktonic/programming | 139959ab9934912d4c531e5ee8b1f39094a6823c | [
"0BSD"
] | null | null | null | cpp/battuta/inc/image.hpp | tekktonic/programming | 139959ab9934912d4c531e5ee8b1f39094a6823c | [
"0BSD"
] | null | null | null | #ifndef IMAGE_H
#define IMAGE_H
#include <SDL2/SDL.h>
#include "texturewrap.hpp"
class Image
{
public:
Image(SDL_Rect *position, std::shared_ptr<TextureWrap> tex);
std::shared_ptr<TextureWrap> tex;
SDL_Rect position;
};
#endif
| 15.125 | 64 | 0.719008 | tekktonic |
f5f010bf77855d7cbe306d043fa00c7bb045bc34 | 1,696 | cc | C++ | third_party/blink/renderer/platform/graphics/paint/paint_record_builder.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"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/platform/graphics/paint/paint_record_builder.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"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/platform/graphics/paint/paint_record_builder.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 2015 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/platform/graphics/paint/paint_record_builder.h"
#include "third_party/blink/renderer/platform/geometry/float_rect.h"... | 37.688889 | 84 | 0.784788 | Ron423c |
f5f04faced6e059e066682d760c4bd6c3d808935 | 15,228 | cpp | C++ | Rownd/Content/TexCoSphere.cpp | GarrettVance/Rownd | 547d72dd40f75f522d431a1cfc5076166823bd5d | [
"MIT"
] | null | null | null | Rownd/Content/TexCoSphere.cpp | GarrettVance/Rownd | 547d72dd40f75f522d431a1cfc5076166823bd5d | [
"MIT"
] | null | null | null | Rownd/Content/TexCoSphere.cpp | GarrettVance/Rownd | 547d72dd40f75f522d431a1cfc5076166823bd5d | [
"MIT"
] | null | null | null | //
//
//
// ghv : 2019_01_31 : Texture Coordinate Sphere
//
//
#include "pch.h"
#include "Sample3DSceneRenderer.h"
#include "..\Common\DirectXHelper.h"
using namespace Rownd;
using ... | 24.760976 | 119 | 0.561663 | GarrettVance |
f5f18b896ecc1fa39ee70833b70b3df1bda4ab89 | 6,619 | cc | C++ | chrome/renderer/net/net_error_helper.cc | hujiajie/pa-chromium | 1816ff80336a6efd1616f9e936880af460b1e105 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2020-05-03T06:33:56.000Z | 2021-11-14T18:39:42.000Z | chrome/renderer/net/net_error_helper.cc | hujiajie/pa-chromium | 1816ff80336a6efd1616f9e936880af460b1e105 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/renderer/net/net_error_helper.cc | hujiajie/pa-chromium | 1816ff80336a6efd1616f9e936880af460b1e105 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/renderer/net/net_error_helper.h"
#include "base/values.h"
#include "chrome/common/localized_error.h"
#include "chrome/common/render_... | 34.473958 | 79 | 0.733041 | hujiajie |
f5f3c674cccbd02789be804f6daae31961d01419 | 9,242 | cpp | C++ | lib/SILOptimizer/Mandatory/LowerHopToActor.cpp | xjc90s/swift | cafe5ccbd1b7aa9cc9c837c5be2cdf3d5acd8a49 | [
"Apache-2.0"
] | 2 | 2022-01-23T20:41:02.000Z | 2022-01-23T20:41:12.000Z | lib/SILOptimizer/Mandatory/LowerHopToActor.cpp | xjc90s/swift | cafe5ccbd1b7aa9cc9c837c5be2cdf3d5acd8a49 | [
"Apache-2.0"
] | 1 | 2018-08-23T19:35:25.000Z | 2018-08-23T19:35:25.000Z | lib/SILOptimizer/Mandatory/LowerHopToActor.cpp | xjc90s/swift | cafe5ccbd1b7aa9cc9c837c5be2cdf3d5acd8a49 | [
"Apache-2.0"
] | null | null | null | //===------- LowerHopToExecutor.cpp - Lower hop_to_executor on actors -----===//
//
// 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 https://swift.org/L... | 36.674603 | 80 | 0.69855 | xjc90s |
f5f42a637043d33995359db90e2f2abcc6a8edc7 | 4,363 | cpp | C++ | plugins/robots/common/ev3Kit/src/communication/bluetoothRobotCommunicationThread.cpp | ikonovalova/trik-studio | f084274a7663bb7f341169ee029e46b6079c7274 | [
"Apache-2.0"
] | null | null | null | plugins/robots/common/ev3Kit/src/communication/bluetoothRobotCommunicationThread.cpp | ikonovalova/trik-studio | f084274a7663bb7f341169ee029e46b6079c7274 | [
"Apache-2.0"
] | null | null | null | plugins/robots/common/ev3Kit/src/communication/bluetoothRobotCommunicationThread.cpp | ikonovalova/trik-studio | f084274a7663bb7f341169ee029e46b6079c7274 | [
"Apache-2.0"
] | null | null | null | /* Copyright 2007-2015 QReal Research Group
*
* 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... | 27.967949 | 115 | 0.762549 | ikonovalova |
f5f4d68cc531e1d8091863dedaa5641e4f29f32f | 10,651 | cpp | C++ | src/frame/frame_main.cpp | usini/M5Paper_FactoryTest | 4aacd9567f6b5f00fdb94afeffa9741cf7152834 | [
"MIT"
] | null | null | null | src/frame/frame_main.cpp | usini/M5Paper_FactoryTest | 4aacd9567f6b5f00fdb94afeffa9741cf7152834 | [
"MIT"
] | null | null | null | src/frame/frame_main.cpp | usini/M5Paper_FactoryTest | 4aacd9567f6b5f00fdb94afeffa9741cf7152834 | [
"MIT"
] | null | null | null | #include "frame_main.h"
#include "frame_setting.h"
#include "frame_keyboard.h"
#include "frame_factorytest.h"
#include "frame_wifiscan.h"
#include "frame_lifegame.h"
#include "frame_fileindex.h"
#include "frame_compare.h"
#include "frame_home.h"
enum
{
kKeyFactoryTest = 0,
kKeySetting,
kKeyKeyboard,
kK... | 30.962209 | 110 | 0.633837 | usini |
f5f514340561a900546ffe7a2a756765e562519b | 1,752 | cpp | C++ | test/msg/msg_queue_thread_test.cpp | ccup/mcl | 4f9fc954de7c696539430daee06a7218517d6c0f | [
"Apache-2.0"
] | 10 | 2020-09-07T02:39:51.000Z | 2021-09-26T00:44:40.000Z | test/msg/msg_queue_thread_test.cpp | ccup/mcl | 4f9fc954de7c696539430daee06a7218517d6c0f | [
"Apache-2.0"
] | null | null | null | test/msg/msg_queue_thread_test.cpp | ccup/mcl | 4f9fc954de7c696539430daee06a7218517d6c0f | [
"Apache-2.0"
] | 1 | 2020-09-11T01:21:42.000Z | 2020-09-11T01:21:42.000Z | #include <cctest/cctest.h>
#include "mcl/msg/msg_queue.h"
#include "mcl/lock/atom.h"
#include "mcl/thread/thread.h"
namespace {
constexpr MclSize MSG_QUEUE_CAPACITY = 10;
MclMsg msgBuff[MSG_QUEUE_CAPACITY];
MclMsgQueue mq = MCL_MSG_QUEUE(msgBuff, MSG_QUEUE_CAPACITY);
constexpr uint16_t TRY_COUNT = 10... | 27.375 | 70 | 0.5879 | ccup |
f5f6fd28adad2cc37d03f36fbac54fcd753ea1b1 | 4,289 | cpp | C++ | sstd/src/matrixContainer_rowMajor/mat_r.cpp | admiswalker/SubStandardLibrary-SSTD- | d0e7c754f4437fc57e8c4ab56fbbf2aa871b00ff | [
"MIT"
] | null | null | null | sstd/src/matrixContainer_rowMajor/mat_r.cpp | admiswalker/SubStandardLibrary-SSTD- | d0e7c754f4437fc57e8c4ab56fbbf2aa871b00ff | [
"MIT"
] | null | null | null | sstd/src/matrixContainer_rowMajor/mat_r.cpp | admiswalker/SubStandardLibrary-SSTD- | d0e7c754f4437fc57e8c4ab56fbbf2aa871b00ff | [
"MIT"
] | null | null | null | #include "./mat_r.hpp"
// このあたりの関数は,const cast 不要で渡せるようにつくり直した後に順次修正する.
// print 関数の定義.
#define sstd_mat_r_print(mat, rows, cols, OPTION1, OPTION2) \
for(uint p=0; p<rows; ++p){ \
uint q=0; \
printf(OPTION1, mat(p, q)); ... | 71.483333 | 151 | 0.557239 | admiswalker |
f5f91ec648bdd4191932d7a3053fba7e46accb39 | 213 | cpp | C++ | 2020/object-oriented-technology-and-methods/exp-4/main.cpp | Overloadlightning/BIT | de85cb74523d63b22b0118c26c65f854b7d2df86 | [
"MIT"
] | 6 | 2021-10-30T06:07:42.000Z | 2022-03-02T15:24:57.000Z | 2020/object-oriented-technology-and-methods/exp-4/main.cpp | Overloadlightning/BIT | de85cb74523d63b22b0118c26c65f854b7d2df86 | [
"MIT"
] | null | null | null | 2020/object-oriented-technology-and-methods/exp-4/main.cpp | Overloadlightning/BIT | de85cb74523d63b22b0118c26c65f854b7d2df86 | [
"MIT"
] | 1 | 2022-02-21T15:37:49.000Z | 2022-02-21T15:37:49.000Z | #include <iostream>
#include "custom_angle.h"
int main() {
CustomAngle *custom_angle = new CustomAngle(0.5);
custom_angle->GetSin();
custom_angle->GetCos();
custom_angle->GetTan();
return 0;
} | 21.3 | 53 | 0.666667 | Overloadlightning |
f5f9f2d269fb9dd30e609d072fa64b80de36d112 | 1,698 | cpp | C++ | components/xtl/tests/xtl/range/algorithm_example.cpp | untgames/funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 7 | 2016-03-30T17:00:39.000Z | 2017-03-27T16:04:04.000Z | components/xtl/tests/xtl/range/algorithm_example.cpp | untgames/Funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 4 | 2017-11-21T11:25:49.000Z | 2018-09-20T17:59:27.000Z | components/xtl/tests/xtl/range/algorithm_example.cpp | untgames/Funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 4 | 2016-11-29T15:18:40.000Z | 2017-03-27T16:04:08.000Z | #include "test.h"
namespace
{
//
// example: extrating bounds in a generic algorithm
//
template< typename Range, typename T >
inline typename range_iterator<Range>::type
find( Range& c, const T& value )
{
return stl::find( begin( c ), end( c ), value );
}
template< type... | 27.836066 | 73 | 0.530035 | untgames |
f5fbe76fd493c4719d7964cff9921b9163982ec9 | 5,367 | cc | C++ | 3rdParty/rocksdb/6.29/table/block_based/flush_block_policy.cc | usalko/arapy | 204038e9a8301b16a6ec31e10a3289ca0c7ada91 | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | 3rdParty/rocksdb/6.29/table/block_based/flush_block_policy.cc | usalko/arapy | 204038e9a8301b16a6ec31e10a3289ca0c7ada91 | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | 3rdParty/rocksdb/6.29/table/block_based/flush_block_policy.cc | usalko/arapy | 204038e9a8301b16a6ec31e10a3289ca0c7ada91 | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
#include "rocksdb/flush_block_policy.h"
#include <casser... | 36.020134 | 80 | 0.706726 | usalko |
f5fc88a9aa98ed111512f17718f10b4f0fb4b382 | 765 | cpp | C++ | randnum/generator.cpp | ORNL-QCI/sabot | c33edfc8a4461c67580e8a3cc8454a5a61347412 | [
"BSD-3-Clause"
] | 1 | 2020-06-18T23:10:20.000Z | 2020-06-18T23:10:20.000Z | randnum/generator.cpp | ORNL-QCI/sabot | c33edfc8a4461c67580e8a3cc8454a5a61347412 | [
"BSD-3-Clause"
] | null | null | null | randnum/generator.cpp | ORNL-QCI/sabot | c33edfc8a4461c67580e8a3cc8454a5a61347412 | [
"BSD-3-Clause"
] | 1 | 2020-06-18T23:10:22.000Z | 2020-06-18T23:10:22.000Z | #include "generator.hpp"
#include <boost/date_time/posix_time/ptime.hpp>
#include <boost/date_time/posix_time/posix_time_duration.hpp>
#include <boost/date_time/posix_time/posix_time_types.hpp>
namespace randnum {
generator::generator()
: position(0) {
using namespace boost::posix_time;
// Using assignment ... | 29.423077 | 77 | 0.745098 | ORNL-QCI |
f5fcf9b643791e2a030e11cc45998f4adbfbcc3b | 985 | cpp | C++ | Data Structure/Array Or Vector/Counting Sort/SolutionBySarimurrab.cpp | Mdanish777/Programmers-Community | b5ca9582fc1cd4337baa7077ff62130a1052583f | [
"MIT"
] | 261 | 2019-09-30T19:47:29.000Z | 2022-03-29T18:20:07.000Z | Data Structure/Array Or Vector/Counting Sort/SolutionBySarimurrab.cpp | Mdanish777/Programmers-Community | b5ca9582fc1cd4337baa7077ff62130a1052583f | [
"MIT"
] | 647 | 2019-10-01T16:51:29.000Z | 2021-12-16T20:39:44.000Z | Data Structure/Array Or Vector/Counting Sort/SolutionBySarimurrab.cpp | Mdanish777/Programmers-Community | b5ca9582fc1cd4337baa7077ff62130a1052583f | [
"MIT"
] | 383 | 2019-09-30T19:32:07.000Z | 2022-03-24T16:18:26.000Z | #include "climits"
#include "iostream"
using namespace std;
// works only for positive integers (values>0)
// It will perform better if the range of greatest and smallest value in array is less.
void count_sort(int* a, int n)
{
int max_number = INT_MIN;
for (int i = 0; i < n; i++) {
max_number = max(ma... | 21.413043 | 87 | 0.503553 | Mdanish777 |
f5fdca3110d65da7c2d358dfd86e745bdac8c2eb | 3,800 | hh | C++ | src/events/Event.hh | imulilla/openMSX_TSXadv_nofork | 4ee003d87a44633c14c054bd59ec2bfd866e5d9f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | src/events/Event.hh | imulilla/openMSX_TSXadv_nofork | 4ee003d87a44633c14c054bd59ec2bfd866e5d9f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | src/events/Event.hh | imulilla/openMSX_TSXadv_nofork | 4ee003d87a44633c14c054bd59ec2bfd866e5d9f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | #ifndef EVENT_HH
#define EVENT_HH
#include <string>
namespace openmsx {
class TclObject;
enum EventType
{
OPENMSX_KEY_UP_EVENT,
OPENMSX_KEY_DOWN_EVENT,
OPENMSX_KEY_GROUP_EVENT,
OPENMSX_MOUSE_MOTION_EVENT,
OPENMSX_MOUSE_MOTION_GROUP_EVENT,
OPENMSX_MOUSE_BUTTON_UP_EVENT,
OPENMSX_MOUSE_BUTTON_DOWN_EVENT,
OPENM... | 27.142857 | 77 | 0.773947 | imulilla |
f5fee3371ed29e6cae2a1c7c3cd62f0734aaa25d | 2,816 | cpp | C++ | JContainers/src/gtest.cpp | SilverIce/JContainers | 98ca31304a74e299d1f7f003602c55fb07e866ee | [
"MIT"
] | 39 | 2015-01-16T09:17:05.000Z | 2021-12-15T23:02:00.000Z | JContainers/src/gtest.cpp | SilverIce/JContainers | 98ca31304a74e299d1f7f003602c55fb07e866ee | [
"MIT"
] | 26 | 2015-01-03T20:26:27.000Z | 2019-12-30T22:46:15.000Z | JContainers/src/gtest.cpp | SilverIce/JContainers | 98ca31304a74e299d1f7f003602c55fb07e866ee | [
"MIT"
] | 14 | 2015-10-23T08:46:01.000Z | 2022-03-24T18:08:24.000Z | #include "gtest.h"
//#include "typedefs_p.h"
#include <stdio.h>
#include <intrin.h>
#include <string>
#include <exception>
namespace testing
{
static bool IsDisabled(const TestInfo& info) {
const char * text = "DISABLED";
return strncmp(info.name2, text, strlen(text)) == 0;
}
struct Statis... | 26.819048 | 96 | 0.529119 | SilverIce |
eb00e6a0813ee465934819bf2e0035777b3bda2c | 5,491 | cpp | C++ | VIBE/src/vibe_bgs.cpp | 070411209/GAAS-Object-Tracking | 22b7c939d4751c4bab02634bf30c009f9f0f157a | [
"BSD-3-Clause"
] | null | null | null | VIBE/src/vibe_bgs.cpp | 070411209/GAAS-Object-Tracking | 22b7c939d4751c4bab02634bf30c009f9f0f157a | [
"BSD-3-Clause"
] | null | null | null | VIBE/src/vibe_bgs.cpp | 070411209/GAAS-Object-Tracking | 22b7c939d4751c4bab02634bf30c009f9f0f157a | [
"BSD-3-Clause"
] | null | null | null | #include <opencv2/opencv.hpp>
#include <iostream>
#include "vibe_bgs.h"
using namespace std;
using namespace cv;
int c_xoff[9] = {-1, 0, 1, -1, 1, -1, 0, 1, 0}; //x的邻居点,9宫格
int c_yoff[9] = {-1, 0, 1, -1, 1, -1, 0, 1, 0}; //y的邻居点
ViBe_BGS::ViBe_BGS(void)
{
} ... | 37.609589 | 112 | 0.415771 | 070411209 |
eb01897517c83f80af18d23ec3276a042dc96a86 | 169 | hpp | C++ | include/gvmt/internal/cheney.hpp | Melab/gvmt | 566eac01724b687bc5e11317e44230faab15f895 | [
"MIT"
] | null | null | null | include/gvmt/internal/cheney.hpp | Melab/gvmt | 566eac01724b687bc5e11317e44230faab15f895 | [
"MIT"
] | null | null | null | include/gvmt/internal/cheney.hpp | Melab/gvmt | 566eac01724b687bc5e11317e44230faab15f895 | [
"MIT"
] | 1 | 2021-12-04T15:59:58.000Z | 2021-12-04T15:59:58.000Z | #ifndef CHENEY_H
#define CHENEY_H
namespace cheney {
extern char *free, *top_of_space;
void init(uint32_t size);
void flip(void);
}
#endif
| 11.266667 | 37 | 0.627219 | Melab |
eb03d2995e465099a1f2b731af78cc90598c0023 | 3,654 | cc | C++ | psdaq/psdaq/hsd/PV134Ctrls.cc | JBlaschke/lcls2 | 30523ef069e823535475d68fa283c6387bcf817b | [
"BSD-3-Clause-LBNL"
] | null | null | null | psdaq/psdaq/hsd/PV134Ctrls.cc | JBlaschke/lcls2 | 30523ef069e823535475d68fa283c6387bcf817b | [
"BSD-3-Clause-LBNL"
] | null | null | null | psdaq/psdaq/hsd/PV134Ctrls.cc | JBlaschke/lcls2 | 30523ef069e823535475d68fa283c6387bcf817b | [
"BSD-3-Clause-LBNL"
] | null | null | null | #include "PV134Ctrls.hh"
#include "Module134.hh"
#include "FexCfg.hh"
#include "Fmc134Cpld.hh"
#include "Fmc134Ctrl.hh"
#include "I2c134.hh"
#include "ChipAdcCore.hh"
#include "ChipAdcReg.hh"
#include "Pgp.hh"
#include "OptFmc.hh"
#include "Jesd204b.hh"
#include "TprCore.hh"
#include "psdaq/mmhw/TriggerEventManager.hh... | 23.273885 | 68 | 0.561303 | JBlaschke |
eb05b9ce65dfd5ee56bd8e9d308f66467fad0240 | 1,730 | cpp | C++ | simulated/eleven/pa.cpp | joaovicentesouto/INE5452 | 4813630b303a9c6dbd4fb14fae0fb3b850e1aea3 | [
"MIT"
] | null | null | null | simulated/eleven/pa.cpp | joaovicentesouto/INE5452 | 4813630b303a9c6dbd4fb14fae0fb3b850e1aea3 | [
"MIT"
] | null | null | null | simulated/eleven/pa.cpp | joaovicentesouto/INE5452 | 4813630b303a9c6dbd4fb14fae0fb3b850e1aea3 | [
"MIT"
] | null | null | null | #include <iostream>
#include <unordered_map>
#include <unordered_set>
#include <string>
#include <cmath>
#include <limits.h>
using namespace std;
struct Graph
{
int n{1};
unordered_map<string, int> names;
unordered_map<int, unordered_set<int>> adj;
unordered_map<int, bool> visited;
};
int minDistance(int n, int... | 16.634615 | 92 | 0.557225 | joaovicentesouto |
eb05be73632f2f8331dc5e9fdffeeca5952bed2a | 809 | cpp | C++ | src/cpu-kernels/awkward_NumpyArray_contiguous_next.cpp | BioGeek/awkward-1.0 | 0cfb4e43c41d5c7d9830cc7b1d750485c0a93eb2 | [
"BSD-3-Clause"
] | 519 | 2019-10-17T12:36:22.000Z | 2022-03-26T23:28:19.000Z | src/cpu-kernels/awkward_NumpyArray_contiguous_next.cpp | BioGeek/awkward-1.0 | 0cfb4e43c41d5c7d9830cc7b1d750485c0a93eb2 | [
"BSD-3-Clause"
] | 924 | 2019-11-03T21:05:01.000Z | 2022-03-31T22:44:30.000Z | src/cpu-kernels/awkward_NumpyArray_contiguous_next.cpp | BioGeek/awkward-1.0 | 0cfb4e43c41d5c7d9830cc7b1d750485c0a93eb2 | [
"BSD-3-Clause"
] | 56 | 2019-12-17T15:49:22.000Z | 2022-03-09T20:34:06.000Z | // BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE
#define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_NumpyArray_contiguous_next.cpp", line)
#include "awkward/kernels.h"
template <typename T>
ERROR awkward_NumpyArray_contiguous_next(
T* topos,
const T*... | 23.794118 | 112 | 0.692213 | BioGeek |
eb069235c56842e3a3f65867f800e68ab32b54b9 | 1,166 | hpp | C++ | lib/STL+/strings/string_shared_ptr.hpp | knela96/Game-Engine | 06659d933c4447bd8d6c8536af292825ce4c2ab1 | [
"Unlicense"
] | 3 | 2018-05-07T19:09:23.000Z | 2019-05-03T14:19:38.000Z | deps/stlplus/strings/string_shared_ptr.hpp | evpo/libencryptmsg | fa1ea59c014c0a9ce339d7046642db4c80fc8701 | [
"BSD-2-Clause-FreeBSD",
"BSD-3-Clause"
] | null | null | null | deps/stlplus/strings/string_shared_ptr.hpp | evpo/libencryptmsg | fa1ea59c014c0a9ce339d7046642db4c80fc8701 | [
"BSD-2-Clause-FreeBSD",
"BSD-3-Clause"
] | null | null | null | #ifndef STLPLUS_STRING_SHARED_PTR
#define STLPLUS_STRING_SHARED_PTR
////////////////////////////////////////////////////////////////////////////////
// Author: Andy Rushton
// Copyright: (c) Southampton University 1999-2004
// (c) Andy Rushton 2004 onwards
// License: BSD License, see... | 33.314286 | 80 | 0.453688 | knela96 |
eb08a61f77475c329b551503be807e6d4a251a00 | 11,479 | cpp | C++ | src/info.cpp | Audionut/torrenttools | 1d365e0629abe1b23b5be5bac16b24dd38ae56b5 | [
"MIT"
] | null | null | null | src/info.cpp | Audionut/torrenttools | 1d365e0629abe1b23b5be5bac16b24dd38ae56b5 | [
"MIT"
] | null | null | null | src/info.cpp | Audionut/torrenttools | 1d365e0629abe1b23b5be5bac16b24dd38ae56b5 | [
"MIT"
] | null | null | null | #include <string_view>
#include <fmt/format.h>
#include <fmt/chrono.h>
#include <filesystem>
#include <string>
#include <chrono>
#include <ranges>
#include <bencode/bview.hpp>
#include <bencode/events/encode_json_to.hpp>
#include "dottorrent/metafile.hpp"
#include "dottorrent/serialization/all.hpp"
#include "info.h... | 35.103976 | 116 | 0.628713 | Audionut |
eb0a5f14aa6805dc7a030cee911f17023f421989 | 5,203 | cpp | C++ | Sources/Commands/command_mbr.cpp | fengjixuchui/ntfstool-1 | cdf3ccceab191eb0c65725fb7b8191fec647fd05 | [
"MIT"
] | 162 | 2020-06-11T05:51:17.000Z | 2022-03-31T13:08:13.000Z | Sources/Commands/command_mbr.cpp | fengjixuchui/ntfstool-1 | cdf3ccceab191eb0c65725fb7b8191fec647fd05 | [
"MIT"
] | 13 | 2021-05-27T10:08:54.000Z | 2022-03-23T20:07:07.000Z | Sources/Commands/command_mbr.cpp | thewhiteninja/ntfstool | af24822b1aa2d82e7e8e8d7ac93eda27d37bccc6 | [
"MIT"
] | 44 | 2020-06-06T15:31:19.000Z | 2022-03-31T01:38:50.000Z | #include "Utils/buffer.h"
#include "Drive/disk.h"
#include "Utils/table.h"
#include "Utils/utils.h"
#include "options.h"
#include "Utils/constant_names.h"
#include <intrin.h>
#include <distorm.h>
#include <algorithm>
#include <cstdint>
#include <string>
#include <iostream>
#include <iomanip>
#include <memory>
#includ... | 35.394558 | 208 | 0.671728 | fengjixuchui |
eb0b9245bb1694265c8432b99c30caffc8a363c1 | 18,928 | cpp | C++ | Windows/Eudora71/PlaylistClient/plstclnt_dll/plist_xmlrpc.cpp | officialrafsan/EUDORA | bf43221f5663ec2338aaf90710a89d1490b92ed2 | [
"MIT"
] | 1 | 2022-01-18T08:16:18.000Z | 2022-01-18T08:16:18.000Z | Windows/Eudora71/PlaylistClient/plstclnt_dll/plist_xmlrpc.cpp | officialrafsan/EUDORA | bf43221f5663ec2338aaf90710a89d1490b92ed2 | [
"MIT"
] | null | null | null | Windows/Eudora71/PlaylistClient/plstclnt_dll/plist_xmlrpc.cpp | officialrafsan/EUDORA | bf43221f5663ec2338aaf90710a89d1490b92ed2 | [
"MIT"
] | null | null | null | // plist_xmlrpc.cpp -- "procedure calls" for talking to server
//
// Copyright (c) 1999-2000 by QUALCOMM, Incorporated
/* Copyright (c) 2016, Computer History Museum
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted (subject to
the limitations in the ... | 29.391304 | 151 | 0.652895 | officialrafsan |
eb1143ee98aab485465fab34bfaca366725d3d82 | 30,145 | cpp | C++ | modules/core/src/Aquila/core/Algorithm.cpp | dtmoodie/Acquilla | b395b7d1338221369f9b0b46c7abc20f7bc5e827 | [
"MIT"
] | null | null | null | modules/core/src/Aquila/core/Algorithm.cpp | dtmoodie/Acquilla | b395b7d1338221369f9b0b46c7abc20f7bc5e827 | [
"MIT"
] | null | null | null | modules/core/src/Aquila/core/Algorithm.cpp | dtmoodie/Acquilla | b395b7d1338221369f9b0b46c7abc20f7bc5e827 | [
"MIT"
] | null | null | null | #include <Aquila/core/Algorithm.hpp>
#include <Aquila/utilities/container.hpp>
#include <MetaObject/params/IParam.hpp>
#include <MetaObject/params/ISubscriber.hpp>
#include <MetaObject/params/buffers/IBuffer.hpp>
#include <RuntimeObjectSystem/ISimpleSerializer.h>
#include <boost/accumulators/accumulators.hpp>
#inclu... | 29.069431 | 120 | 0.474142 | dtmoodie |
eb11746f9affc6c197b40e4dd4870acac1f155d1 | 1,227 | cpp | C++ | src/l10n/TimeZoneImpl.cpp | tacr-iotcloud/server | c46fd292843acf25b3f03d927e6ed32bd9d05732 | [
"BSD-3-Clause"
] | 1 | 2020-09-30T06:41:47.000Z | 2020-09-30T06:41:47.000Z | src/l10n/TimeZoneImpl.cpp | tacr-iotcloud/server | c46fd292843acf25b3f03d927e6ed32bd9d05732 | [
"BSD-3-Clause"
] | null | null | null | src/l10n/TimeZoneImpl.cpp | tacr-iotcloud/server | c46fd292843acf25b3f03d927e6ed32bd9d05732 | [
"BSD-3-Clause"
] | null | null | null | #include <Poco/Timezone.h>
#include <Poco/DateTimeFormatter.h>
#include "l10n/TimeZoneImpl.h"
using namespace std;
using namespace Poco;
using namespace BeeeOn;
TimeZoneImpl::~TimeZoneImpl()
{
}
string TimeZoneImpl::shortName(const Locale &locale, const Timestamp &at) const
{
const int utcOffset = Timezone::utcOff... | 21.155172 | 87 | 0.740831 | tacr-iotcloud |
eb177bb261a8bff52a5a6c7c77635960555f38f7 | 8,822 | cpp | C++ | src/Shared/Config/JSONConfig.cpp | AlexWayfer/RankCheck | cf3005a2ba6f66bd66f27e0e42ca6b0ccb907014 | [
"Unlicense",
"MIT"
] | 10 | 2018-02-12T16:14:07.000Z | 2022-03-19T15:08:29.000Z | src/Shared/Config/JSONConfig.cpp | AlexWayfer/RankCheck | cf3005a2ba6f66bd66f27e0e42ca6b0ccb907014 | [
"Unlicense",
"MIT"
] | 11 | 2018-02-08T16:46:49.000Z | 2022-02-03T20:48:12.000Z | src/Shared/Config/JSONConfig.cpp | AlexWayfer/RankCheck | cf3005a2ba6f66bd66f27e0e42ca6b0ccb907014 | [
"Unlicense",
"MIT"
] | 3 | 2018-02-12T22:08:55.000Z | 2021-06-24T16:29:17.000Z | #include <Shared/Config/DataTypes.hpp>
#include <Shared/Config/JSONConfig.hpp>
#include <rapidjson/error/en.h>
#include <rapidjson/error/error.h>
#include <rapidjson/prettywriter.h>
#include <rapidjson/rapidjson.h>
#include <rapidjson/reader.h>
#include <rapidjson/stringbuffer.h>
#include <rapidjson/writer.h>
#include ... | 22.165829 | 100 | 0.67309 | AlexWayfer |
eb1839da9103d0968296b69e1fa479e02035889b | 2,214 | cpp | C++ | Kamek/src/bonepiece.cpp | Tupiet/nsmbw-mod | a20542bf1780146d9a1cf12c80d4856b0757e2b5 | [
"MIT"
] | 44 | 2015-04-21T09:29:19.000Z | 2020-11-06T14:16:16.000Z | Kamek/src/bonepiece.cpp | Tupiet/nsmbw-mod | a20542bf1780146d9a1cf12c80d4856b0757e2b5 | [
"MIT"
] | 1 | 2018-09-19T00:00:37.000Z | 2020-05-12T14:15:01.000Z | Kamek/src/bonepiece.cpp | Tupiet/nsmbw-mod | a20542bf1780146d9a1cf12c80d4856b0757e2b5 | [
"MIT"
] | 24 | 2016-01-12T03:28:47.000Z | 2020-11-11T18:27:32.000Z | #include <game.h>
class daBonePiece_c : public dStageActor_c {
public:
static daBonePiece_c *build();
int onCreate();
int onExecute();
int onDraw();
int onDelete();
StandOnTopCollider collider;
nw4r::g3d::ResFile resFile;
mHeapAllocator_c allocator;
m3d::mdl_c model;
};
/************************... | 20.311927 | 79 | 0.635501 | Tupiet |
a3e1b744a0d872558801dd58df449cea3111b52a | 6,261 | cpp | C++ | src/soundsource.cpp | blackberry/Wesnoth | 8b307689158db568ecc6cc3b537e8d382ccea449 | [
"Unlicense"
] | 12 | 2015-03-04T15:07:00.000Z | 2019-09-13T16:31:06.000Z | src/soundsource.cpp | blackberry/Wesnoth | 8b307689158db568ecc6cc3b537e8d382ccea449 | [
"Unlicense"
] | null | null | null | src/soundsource.cpp | blackberry/Wesnoth | 8b307689158db568ecc6cc3b537e8d382ccea449 | [
"Unlicense"
] | 5 | 2017-04-22T08:16:48.000Z | 2020-07-12T03:35:16.000Z | /* $Id: soundsource.cpp 48153 2011-01-01 15:57:50Z mordante $ */
/*
Copyright (C) 2006 - 2011 by Karol Nowak <grzywacz@sul.uni.lodz.pl>
Part of the Battle for Wesnoth Project http://www.wesnoth.org/
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Gen... | 25.044 | 96 | 0.673694 | blackberry |
a3e4ac7cdd36073ec7db3b2c11a356750245d317 | 3,136 | hh | C++ | dune/gdt/spaces/dg.hh | ftalbrecht/dune-gdt | 574bc4a3b28d2a6a6195a6b4df6727c61f0d73c9 | [
"BSD-2-Clause"
] | 1 | 2020-02-08T04:12:08.000Z | 2020-02-08T04:12:08.000Z | dune/gdt/spaces/dg.hh | dune-community/dune-gdt-archive | 08c0167b2761f8263514189be2dcdf0e21a055dc | [
"BSD-2-Clause"
] | null | null | null | dune/gdt/spaces/dg.hh | dune-community/dune-gdt-archive | 08c0167b2761f8263514189be2dcdf0e21a055dc | [
"BSD-2-Clause"
] | 1 | 2020-02-08T04:12:11.000Z | 2020-02-08T04:12:11.000Z | // This file is part of the dune-gdt project:
// http://users.dune-project.org/projects/dune-gdt
// Copyright holders: Felix Schindler
// License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
#ifndef DUNE_GDT_SPACES_DG_HH
#define DUNE_GDT_SPACES_DG_HH
#include <memory>
#include <dune/common/d... | 31.676768 | 119 | 0.747449 | ftalbrecht |
a3e870427eec6c6433352acbe75cf5d498725864 | 9,152 | hpp | C++ | rocprim/include/rocprim/iterator/zip_iterator.hpp | stanleytsang-amd/rocPRIM | 1a4135dfc43f90f465c336a551bccbe359d40f11 | [
"MIT"
] | null | null | null | rocprim/include/rocprim/iterator/zip_iterator.hpp | stanleytsang-amd/rocPRIM | 1a4135dfc43f90f465c336a551bccbe359d40f11 | [
"MIT"
] | null | null | null | rocprim/include/rocprim/iterator/zip_iterator.hpp | stanleytsang-amd/rocPRIM | 1a4135dfc43f90f465c336a551bccbe359d40f11 | [
"MIT"
] | null | null | null | // Copyright (c) 2017-2019 Advanced Micro Devices, Inc. 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... | 26.917647 | 93 | 0.685642 | stanleytsang-amd |
a3e8aeba7528c8c89e916ff84804703566448167 | 11,608 | hpp | C++ | include/rcpputils/thread_safety_annotations.hpp | boschresearch/rcpputils | 38295cf188a692dabc9a22151146bc37e7e1123a | [
"Apache-2.0"
] | null | null | null | include/rcpputils/thread_safety_annotations.hpp | boschresearch/rcpputils | 38295cf188a692dabc9a22151146bc37e7e1123a | [
"Apache-2.0"
] | null | null | null | include/rcpputils/thread_safety_annotations.hpp | boschresearch/rcpputils | 38295cf188a692dabc9a22151146bc37e7e1123a | [
"Apache-2.0"
] | 2 | 2020-06-04T23:55:02.000Z | 2020-11-12T21:37:29.000Z | // Copyright 2019 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.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unles... | 42.676471 | 104 | 0.778084 | boschresearch |
a3eabe10a88170c147c4e843e6c18296224db641 | 4,248 | cc | C++ | chrome/browser/autofill/autofill_credit_card_filling_infobar_delegate_mobile_unittest.cc | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | chrome/browser/autofill/autofill_credit_card_filling_infobar_delegate_mobile_unittest.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | chrome/browser/autofill/autofill_credit_card_filling_infobar_delegate_mobile_unittest.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/autofill/core/browser/autofill_credit_card_filling_infobar_delegate_mobile.h"
#include <memory>
#include "base/macros.h"
#include "... | 37.263158 | 98 | 0.728343 | google-ar |
a3ed77fed882f888f9bee5096306fe35bc991c26 | 4,929 | cpp | C++ | olp-cpp-sdk-core/src/context/Context.cpp | forslund/here-data-sdk-cpp | 6226950ef2543281e027b2a458fcff0c71e2f0b2 | [
"Apache-2.0"
] | 21 | 2019-07-03T07:26:52.000Z | 2019-09-04T08:35:07.000Z | olp-cpp-sdk-core/src/context/Context.cpp | forslund/here-data-sdk-cpp | 6226950ef2543281e027b2a458fcff0c71e2f0b2 | [
"Apache-2.0"
] | 639 | 2019-09-13T17:14:24.000Z | 2020-05-13T11:49:14.000Z | olp-cpp-sdk-core/src/context/Context.cpp | forslund/here-data-sdk-cpp | 6226950ef2543281e027b2a458fcff0c71e2f0b2 | [
"Apache-2.0"
] | 21 | 2020-05-14T15:32:28.000Z | 2022-03-15T13:52:33.000Z | /*
* Copyright (C) 2019 HERE Europe B.V.
*
* 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... | 25.020305 | 79 | 0.67884 | forslund |
a3f1a7cc921eea822a0fa1754abf9a8191044bd9 | 3,575 | cpp | C++ | src/fdm_r44/r44_Fuselage.cpp | paperoga-dev/mscsim | a5bd3b88745bf8d91e85fd001b0972662ff8e410 | [
"MIT"
] | 195 | 2019-12-01T00:21:06.000Z | 2022-03-29T09:06:07.000Z | src/fdm_r44/r44_Fuselage.cpp | paperoga-dev/mscsim | a5bd3b88745bf8d91e85fd001b0972662ff8e410 | [
"MIT"
] | 4 | 2019-06-03T12:41:17.000Z | 2021-01-30T21:47:00.000Z | src/fdm_r44/r44_Fuselage.cpp | paperoga-dev/mscsim | a5bd3b88745bf8d91e85fd001b0972662ff8e410 | [
"MIT"
] | 26 | 2019-12-01T02:42:26.000Z | 2022-02-14T11:50:49.000Z | /****************************************************************************//*
* Copyright (C) 2021 Marek M. Cel
*
* 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, ... | 36.479592 | 99 | 0.538741 | paperoga-dev |
a3f212ed6e0a9ca06ce1a98f8e7fa1cc6679be0a | 7,293 | cpp | C++ | test/module/forwarder_test.cpp | manas11/SLOG | a754cbc1c4fa8bdb09a79c5259a31d550da5f15d | [
"MIT"
] | null | null | null | test/module/forwarder_test.cpp | manas11/SLOG | a754cbc1c4fa8bdb09a79c5259a31d550da5f15d | [
"MIT"
] | null | null | null | test/module/forwarder_test.cpp | manas11/SLOG | a754cbc1c4fa8bdb09a79c5259a31d550da5f15d | [
"MIT"
] | null | null | null | #include <thread>
#include <vector>
#include <gtest/gtest.h>
#include "common/configuration.h"
#include "common/constants.h"
#include "common/test_utils.h"
#include "common/proto_utils.h"
#include "connection/broker.h"
#include "proto/api.pb.h"
#include "module/server.h"
#include "module/forwarder.h"
#include "storag... | 35.57561 | 90 | 0.675579 | manas11 |
a3f6b1a223bdafe868413f3a9fcdd857ba9a0a94 | 1,251 | hpp | C++ | DirectProgramming/DPC++FPGA/ReferenceDesigns/decompress/src/common/simple_crc32.hpp | yafshar/oneAPI-samples | 592a2036e86e7083a05c0d6a1613fb826adf9a60 | [
"MIT"
] | null | null | null | DirectProgramming/DPC++FPGA/ReferenceDesigns/decompress/src/common/simple_crc32.hpp | yafshar/oneAPI-samples | 592a2036e86e7083a05c0d6a1613fb826adf9a60 | [
"MIT"
] | 1 | 2022-01-21T02:29:18.000Z | 2022-01-21T02:29:18.000Z | DirectProgramming/DPC++FPGA/ReferenceDesigns/decompress/src/common/simple_crc32.hpp | yafshar/oneAPI-samples | 592a2036e86e7083a05c0d6a1613fb826adf9a60 | [
"MIT"
] | null | null | null | #ifndef __SIMPLE_CRC32_HPP__
#define __SIMPLE_CRC32_HPP__
//
// A simple CRC-32 implementation (not optimized for high performance).
// Compute CRC-32 on 'len' elements in 'buf', starting with a CRC of 'init'.
//
// Arguments:
// init: the initial CRC value. This is used to string together multiple
// ... | 29.785714 | 77 | 0.573941 | yafshar |
a3f85b95d5fe1906d06920c3592bb9b0812a9ccb | 1,866 | cpp | C++ | src/software/geom/point.cpp | jonl112/Software | 61a028a98d5c0dd5e79bf055b231633290ddbf9f | [
"MIT"
] | null | null | null | src/software/geom/point.cpp | jonl112/Software | 61a028a98d5c0dd5e79bf055b231633290ddbf9f | [
"MIT"
] | null | null | null | src/software/geom/point.cpp | jonl112/Software | 61a028a98d5c0dd5e79bf055b231633290ddbf9f | [
"MIT"
] | null | null | null | #include "software/geom/point.h"
Point::Point() : x_(0.0), y_(0.0) {}
Point::Point(double x, double y) : x_(x), y_(y) {}
Point::Point(const Point &p) : x_(p.x()), y_(p.y()) {}
Point::Point(const Vector &v) : x_(v.x()), y_(v.y()) {}
double Point::x() const
{
return x_;
}
double Point::y() const
{
return y_... | 16.810811 | 83 | 0.545016 | jonl112 |
a3f9084a64f36e7f46df7db54b363e66b8a06e25 | 9,262 | cpp | C++ | src/openms/source/METADATA/MassAnalyzer.cpp | mrurik/OpenMS | 3bf48247423dc28a7df7b12b72fbc7751965c321 | [
"Zlib",
"Apache-2.0"
] | null | null | null | src/openms/source/METADATA/MassAnalyzer.cpp | mrurik/OpenMS | 3bf48247423dc28a7df7b12b72fbc7751965c321 | [
"Zlib",
"Apache-2.0"
] | null | null | null | src/openms/source/METADATA/MassAnalyzer.cpp | mrurik/OpenMS | 3bf48247423dc28a7df7b12b72fbc7751965c321 | [
"Zlib",
"Apache-2.0"
] | null | null | null | // --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and Freie Universit... | 30.668874 | 425 | 0.694882 | mrurik |
a3f97d349fdb1e7a5bea806b282dd692ea8c60c1 | 862 | cpp | C++ | ds4wizard-cpp/DeviceIdleOptions.cpp | SonicFreak94/ds4wizard | 4d2ddc15b7db7cc5618c8676c91cf81614921c3c | [
"MIT"
] | 7 | 2019-02-27T19:23:34.000Z | 2021-11-13T08:35:31.000Z | ds4wizard-cpp/DeviceIdleOptions.cpp | SonicFreak94/ds4wizard | 4d2ddc15b7db7cc5618c8676c91cf81614921c3c | [
"MIT"
] | 1 | 2020-01-29T20:34:26.000Z | 2020-06-30T04:00:38.000Z | ds4wizard-cpp/DeviceIdleOptions.cpp | SonicFreak94/ds4wizard | 4d2ddc15b7db7cc5618c8676c91cf81614921c3c | [
"MIT"
] | null | null | null | #include "pch.h"
#include "DeviceIdleOptions.h"
const DeviceIdleOptions DeviceIdleOptions::defaultIdleOptions(std::chrono::minutes(5), true);
DeviceIdleOptions::DeviceIdleOptions(std::chrono::seconds timeout, bool disconnect)
: timeout(timeout),
disconnect(disconnect)
{
}
bool DeviceIdleOptions::operator==(const... | 26.121212 | 93 | 0.740139 | SonicFreak94 |
a3f991c043decdd529c4bc21a1cdcbc1fcca8a35 | 481 | cpp | C++ | ntuj/0420g.cpp | dk00/old-stuff | e1184684c85fe9bbd1ceba58b94d4da84c67784e | [
"Unlicense"
] | null | null | null | ntuj/0420g.cpp | dk00/old-stuff | e1184684c85fe9bbd1ceba58b94d4da84c67784e | [
"Unlicense"
] | null | null | null | ntuj/0420g.cpp | dk00/old-stuff | e1184684c85fe9bbd1ceba58b94d4da84c67784e | [
"Unlicense"
] | null | null | null | #include<ctime>
#include<cstdio>
#include<cstdlib>
#include<algorithm>
using namespace std;
struct pt{int x,y;}s[999999];
main()
{
srand(time(NULL));
int i,j,n=13,m,t;
for(t=0;t<10;t++)
{
for(i=0;i<n;i++)
for(j=i+1;j<n;j++)
s[m++]=(pt){i+1,j+1};
random_shuffle... | 20.041667 | 44 | 0.453222 | dk00 |
a3fa2c88b3c3fe8f2b3e4395902598481e9bf381 | 1,766 | hpp | C++ | include/tao/pq/result_traits_tuple.hpp | skaae/taopq | a621cbba1f63c599819466f3da7ef7d352bdaf0d | [
"BSL-1.0"
] | 142 | 2018-12-10T10:12:50.000Z | 2022-03-26T16:01:06.000Z | include/tao/pq/result_traits_tuple.hpp | skaae/taopq | a621cbba1f63c599819466f3da7ef7d352bdaf0d | [
"BSL-1.0"
] | 45 | 2018-11-29T13:13:59.000Z | 2022-01-17T07:03:30.000Z | include/tao/pq/result_traits_tuple.hpp | skaae/taopq | a621cbba1f63c599819466f3da7ef7d352bdaf0d | [
"BSL-1.0"
] | 34 | 2018-11-29T14:03:59.000Z | 2022-03-15T13:08:13.000Z | // Copyright (c) 2016-2021 Daniel Frey and Dr. Colin Hirsch
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
#ifndef TAO_PQ_RESULT_TRAITS_TUPLE_HPP
#define TAO_PQ_RESULT_TRAITS_TUPLE_HPP
#include <tuple>
#include ... | 30.448276 | 127 | 0.619479 | skaae |
a3fabe3204214a4e10ddf30a3da423a539b62df3 | 13,322 | cpp | C++ | third_party/opencore-audio/aac/dec/src/fft_rx4_short.cpp | asveikau/audio | 4b8978d5a7855a0ee62cd15b1dd76d35fb6c8290 | [
"0BSD"
] | null | null | null | third_party/opencore-audio/aac/dec/src/fft_rx4_short.cpp | asveikau/audio | 4b8978d5a7855a0ee62cd15b1dd76d35fb6c8290 | [
"0BSD"
] | null | null | null | third_party/opencore-audio/aac/dec/src/fft_rx4_short.cpp | asveikau/audio | 4b8978d5a7855a0ee62cd15b1dd76d35fb6c8290 | [
"0BSD"
] | null | null | null | /* ------------------------------------------------------------------
* Copyright (C) 2008 PacketVideo
*
* 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/li... | 28.344681 | 78 | 0.419982 | asveikau |
a3fc0e32e5ea56086a18991962e1fb5b941dab65 | 7,070 | cpp | C++ | src/to_string.cpp | robhz786/strf-benchmarks | e783700317ef1fea0d9e7217c8c42884c3c0371e | [
"BSL-1.0"
] | 1 | 2021-07-19T11:07:24.000Z | 2021-07-19T11:07:24.000Z | src/to_string.cpp | robhz786/strf-benchmarks | e783700317ef1fea0d9e7217c8c42884c3c0371e | [
"BSL-1.0"
] | null | null | null | src/to_string.cpp | robhz786/strf-benchmarks | e783700317ef1fea0d9e7217c8c42884c3c0371e | [
"BSL-1.0"
] | null | null | null | // Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#define _USE_MATH_DEFINES
#define _CRT_SECURE_NO_WARNINGS
#include <strf/to_string.hpp>
#include <strf/to_cfile.hpp>
#include <iostream>
#include <sstream>
#include <c... | 46.513158 | 111 | 0.537907 | robhz786 |
a3fdadcf5685880e2e692e57267c4ca11b199ec4 | 1,569 | cpp | C++ | qpcol/types/setting.cpp | quntax/qpcol | 290e2f0639eaee12fe6190070b3e2c38a8fd1ea7 | [
"BSD-3-Clause"
] | null | null | null | qpcol/types/setting.cpp | quntax/qpcol | 290e2f0639eaee12fe6190070b3e2c38a8fd1ea7 | [
"BSD-3-Clause"
] | null | null | null | qpcol/types/setting.cpp | quntax/qpcol | 290e2f0639eaee12fe6190070b3e2c38a8fd1ea7 | [
"BSD-3-Clause"
] | null | null | null | #include "setting.h"
template<typename T>
Setting<T>::Setting()
{
valid = false;
m_Value = QVariant();
}
template<typename T>
Setting<T>::~Setting()
{
ch = 0;
delete ch;
}
template<typename T>
Setting<T>::Setting(const Parameter & parameter,
T defaultValue)
{
ch = ConfigHandler::... | 17.629213 | 63 | 0.630338 | quntax |
a3ff7a50f94486676686ff6308f08c8938b7335a | 1,700 | cc | C++ | chromium/ui/events/platform/x11/x11_event_source_libevent.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | 27 | 2016-04-27T01:02:03.000Z | 2021-12-13T08:53:19.000Z | chromium/ui/events/platform/x11/x11_event_source_libevent.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | 2 | 2017-03-09T09:00:50.000Z | 2017-09-21T15:48:20.000Z | chromium/ui/events/platform/x11/x11_event_source_libevent.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | 17 | 2016-04-27T02:06:39.000Z | 2019-12-18T08:07:00.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 "ui/events/platform/x11/x11_event_source.h"
#include <X11/Xlib.h>
#include "base/macros.h"
#include "base/message_loop/message_loop.h"
#include... | 24.637681 | 75 | 0.722353 | wedataintelligence |
4300c8a7012c7abb91d877d63fb7c507aa0c5b86 | 863 | inl | C++ | Refureku/Library/Include/Refureku/TypeInfo/Archetypes/Enum.inl | ThomasProg/Refureku | b5d61a3eeeb2b4bdb19d5851bd2f0cf76caa205d | [
"MIT"
] | null | null | null | Refureku/Library/Include/Refureku/TypeInfo/Archetypes/Enum.inl | ThomasProg/Refureku | b5d61a3eeeb2b4bdb19d5851bd2f0cf76caa205d | [
"MIT"
] | null | null | null | Refureku/Library/Include/Refureku/TypeInfo/Archetypes/Enum.inl | ThomasProg/Refureku | b5d61a3eeeb2b4bdb19d5851bd2f0cf76caa205d | [
"MIT"
] | null | null | null | /**
* Copyright (c) 2020 Julien SOYSOUVANH - All Rights Reserved
*
* This file is part of the Refureku library project which is released under the MIT License.
* See the README.md file for full license details.
*/
template <typename Predicate, typename>
EnumValue const* Enum::getEnumValue(Predicate predicate) const no... | 20.547619 | 92 | 0.728853 | ThomasProg |
4301299c68404cfe0957fdf1022db622e9ccfd39 | 1,842 | cpp | C++ | src/fx/util/util.cpp | jathu/fx | 2ab96b8b47da16ad980bf7422e211cc1f773bf6d | [
"Apache-2.0"
] | 14 | 2022-02-09T02:57:54.000Z | 2022-03-11T08:18:27.000Z | src/fx/util/util.cpp | jathu/fx | 2ab96b8b47da16ad980bf7422e211cc1f773bf6d | [
"Apache-2.0"
] | null | null | null | src/fx/util/util.cpp | jathu/fx | 2ab96b8b47da16ad980bf7422e211cc1f773bf6d | [
"Apache-2.0"
] | 1 | 2022-02-13T16:09:18.000Z | 2022-02-13T16:09:18.000Z | #include "util.hpp"
#include <algorithm>
#include <cstring>
namespace fx::util {
bool icompare(std::string const& left, std::string const& right) {
if (left.size() == right.size()) {
return std::equal(right.begin(), right.end(), left.begin(), left.end(),
[](char l, char r) {
... | 30.7 | 80 | 0.610206 | jathu |
43015e318f7b44f3b54388ed7c4a2f7448853f23 | 1,768 | cpp | C++ | hackerrank/practice/data_structures/balanced_trees/median_updates__fixed_tree.cpp | Loks-/competitions | 3bb231ba9dd62447048832f45b09141454a51926 | [
"MIT"
] | 4 | 2018-06-05T14:15:52.000Z | 2022-02-08T05:14:23.000Z | hackerrank/practice/data_structures/balanced_trees/median_updates__fixed_tree.cpp | Loks-/competitions | 3bb231ba9dd62447048832f45b09141454a51926 | [
"MIT"
] | null | null | null | hackerrank/practice/data_structures/balanced_trees/median_updates__fixed_tree.cpp | Loks-/competitions | 3bb231ba9dd62447048832f45b09141454a51926 | [
"MIT"
] | 1 | 2018-10-21T11:01:35.000Z | 2018-10-21T11:01:35.000Z | // https://www.hackerrank.com/challenges/median
#include "common/binary_search_tree/base/find_by_key.h"
#include "common/binary_search_tree/info/size.h"
#include "common/binary_search_tree/info/sum.h"
#include "common/binary_search_tree/info/update_node_to_root.h"
#include "common/binary_search_tree/perfect_tree.h"
#i... | 27.625 | 80 | 0.605204 | Loks- |
4302434f0c64174dd3430741c8f6fa2f508a5c30 | 4,668 | cpp | C++ | tools/generate-maximal-storage-format-rdg/generate-maximal-storage-format-rdg.cpp | bobdc/katana | 44b85645ef3955dc10653f64779bfec4231f215c | [
"BSD-3-Clause"
] | null | null | null | tools/generate-maximal-storage-format-rdg/generate-maximal-storage-format-rdg.cpp | bobdc/katana | 44b85645ef3955dc10653f64779bfec4231f215c | [
"BSD-3-Clause"
] | null | null | null | tools/generate-maximal-storage-format-rdg/generate-maximal-storage-format-rdg.cpp | bobdc/katana | 44b85645ef3955dc10653f64779bfec4231f215c | [
"BSD-3-Clause"
] | null | null | null | #include <string>
#include <boost/filesystem.hpp>
#include "../../libtsuba/test/storage-format-version/v6-optional-datastructure-rdk.h"
#include "katana/Logging.h"
#include "katana/PropertyGraph.h"
#include "katana/RDG.h"
#include "katana/RDKLSHIndexPrimitive.h"
#include "katana/RDKSubstructureIndexPrimitive.h"
#incl... | 33.106383 | 107 | 0.736718 | bobdc |
4305f240f4a696b965c72f624dcf3b27cbbe7fc4 | 3,767 | cpp | C++ | tc 160+/MarriageProblemRevised.cpp | ibudiselic/contest-problem-solutions | 88082981b4d87da843472e3ca9ed5f4c42b3f0aa | [
"BSD-2-Clause"
] | 3 | 2015-05-25T06:24:37.000Z | 2016-09-10T07:58:00.000Z | tc 160+/MarriageProblemRevised.cpp | ibudiselic/contest-problem-solutions | 88082981b4d87da843472e3ca9ed5f4c42b3f0aa | [
"BSD-2-Clause"
] | null | null | null | tc 160+/MarriageProblemRevised.cpp | ibudiselic/contest-problem-solutions | 88082981b4d87da843472e3ca9ed5f4c42b3f0aa | [
"BSD-2-Clause"
] | 5 | 2015-05-25T06:24:40.000Z | 2021-08-19T19:22:29.000Z | #include <algorithm>
#include <cassert>
#include <cstdio>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <cstring>
#include <queue>
using namespace std;
int M[1<<12], F[1<<12];
int bc[1<<12];
class MarriageProblemRevised {
public:
int neededMarriages(vector <stri... | 34.559633 | 309 | 0.510751 | ibudiselic |
430ca1adb28ee7b8b02ac740d5415f673196a57f | 727 | cpp | C++ | codejam/preparation/saving_the_universe.cpp | papachristoumarios/coding | f41d1d4547fc8b9eade5cdc7cd13317550e4806e | [
"MIT"
] | 3 | 2017-10-29T15:40:52.000Z | 2019-11-18T12:13:55.000Z | codejam/preparation/saving_the_universe.cpp | papachristoumarios/coding | f41d1d4547fc8b9eade5cdc7cd13317550e4806e | [
"MIT"
] | null | null | null | codejam/preparation/saving_the_universe.cpp | papachristoumarios/coding | f41d1d4547fc8b9eade5cdc7cd13317550e4806e | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <string.h>
#include <map>
using namespace std;
int main(void) {
int N;
cin >> N;
int S, Q;
string line;
int switches = 0;
for (int n = 0; n < N; n++) {
cin >> S;
switches = 0;
map<string,bool> visited;
for (int i = 0; i < S; i++) {
cin >> li... | 14.254902 | 54 | 0.480055 | papachristoumarios |
430dde85a645be885def57e1c54bdfc4b45b0bff | 874 | hh | C++ | src/includes/render.hh | hisahi/malpinx | 3fd3630073d5abc6e53aa18e6672fb3265f5da94 | [
"MIT"
] | null | null | null | src/includes/render.hh | hisahi/malpinx | 3fd3630073d5abc6e53aa18e6672fb3265f5da94 | [
"MIT"
] | null | null | null | src/includes/render.hh | hisahi/malpinx | 3fd3630073d5abc6e53aa18e6672fb3265f5da94 | [
"MIT"
] | null | null | null | /****************************************************************************/
/* */
/* MALPINX SOURCE CODE (C) 2020 SAMPO HIPPELAINEN (HISAHI). */
/* SEE THE LICENSE FILE IN THE SOURCE ROOT DIRECTORY FOR LICENSE INFO. */
... | 30.137931 | 79 | 0.434783 | hisahi |
43112381189a957a484eb433c34709d92ded8cea | 3,872 | cc | C++ | runtime/lib/function.cc | annagrin/sdk | dfce72bbf9bf359ecd810964259978e24c55e237 | [
"BSD-3-Clause"
] | 2 | 2019-11-06T13:44:11.000Z | 2019-11-17T06:49:40.000Z | runtime/lib/function.cc | annagrin/sdk | dfce72bbf9bf359ecd810964259978e24c55e237 | [
"BSD-3-Clause"
] | 1 | 2021-01-21T14:45:59.000Z | 2021-01-21T14:45:59.000Z | runtime/lib/function.cc | annagrin/sdk | dfce72bbf9bf359ecd810964259978e24c55e237 | [
"BSD-3-Clause"
] | 3 | 2020-02-13T02:08:04.000Z | 2020-08-09T07:49:55.000Z | // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#include "vm/bootstrap_natives.h"
#include "vm/compiler/jit/compiler.h"
#include "vm/dart_entry.h"
#in... | 39.510204 | 80 | 0.683626 | annagrin |
431232c11a2dd85f991ff31854b448dd7946936d | 15,784 | cpp | C++ | libgraph/test/property-file-graph.cpp | origandrew/katana | 456d64cf48a9d474dc35fb17e4d841bfa7a2f383 | [
"BSD-3-Clause"
] | null | null | null | libgraph/test/property-file-graph.cpp | origandrew/katana | 456d64cf48a9d474dc35fb17e4d841bfa7a2f383 | [
"BSD-3-Clause"
] | null | null | null | libgraph/test/property-file-graph.cpp | origandrew/katana | 456d64cf48a9d474dc35fb17e4d841bfa7a2f383 | [
"BSD-3-Clause"
] | null | null | null | #include <arrow/api.h>
#include <boost/filesystem.hpp>
#include "TestTypedPropertyGraph.h"
#include "katana/Logging.h"
#include "katana/PropertyGraph.h"
#include "katana/SharedMemSys.h"
#include "katana/URI.h"
namespace {
namespace fs = boost::filesystem;
std::string command_line;
template <typename T>
std::shared_... | 32.746888 | 80 | 0.713761 | origandrew |
43128856c2571e20dd32511587845a431b72cdd9 | 66,711 | cpp | C++ | src/test/test_algebra_semiring.cpp | KIwabuchi/gbtl | 62c6b1e3262f3623359e793edb5ec4fa7bb471f0 | [
"Unlicense"
] | 112 | 2016-04-26T05:54:30.000Z | 2022-03-27T05:56:16.000Z | src/test/test_algebra_semiring.cpp | KIwabuchi/gbtl | 62c6b1e3262f3623359e793edb5ec4fa7bb471f0 | [
"Unlicense"
] | 21 | 2016-03-22T19:06:46.000Z | 2021-10-07T15:40:18.000Z | src/test/test_algebra_semiring.cpp | KIwabuchi/gbtl | 62c6b1e3262f3623359e793edb5ec4fa7bb471f0 | [
"Unlicense"
] | 22 | 2016-04-26T05:54:35.000Z | 2021-12-21T03:33:20.000Z | /*
* GraphBLAS Template Library (GBTL), Version 3.0
*
* Copyright 2020 Carnegie Mellon University, Battelle Memorial Institute, and
* Authors.
*
* THIS MATERIAL WAS PREPARED AS AN ACCOUNT OF WORK SPONSORED BY AN AGENCY OF
* THE UNITED STATES GOVERNMENT. NEITHER THE UNITED STATES GOVERNMENT NOR THE
* UNITED STA... | 55.918692 | 80 | 0.680667 | KIwabuchi |
43146e3e831203873c8b2985ca353dd08806f500 | 1,037 | cpp | C++ | Pumpkin Knight/Motor2D/Button.cpp | RustikTie/Pumpkin-Knight | 7a93689fe69adbf4b35ded6509dec40f793969ed | [
"MIT"
] | null | null | null | Pumpkin Knight/Motor2D/Button.cpp | RustikTie/Pumpkin-Knight | 7a93689fe69adbf4b35ded6509dec40f793969ed | [
"MIT"
] | null | null | null | Pumpkin Knight/Motor2D/Button.cpp | RustikTie/Pumpkin-Knight | 7a93689fe69adbf4b35ded6509dec40f793969ed | [
"MIT"
] | null | null | null |
#include "Button.h"
#include "p2Log.h"
#include "j1App.h"
#include "j1Render.h"
#include "j1Textures.h"
#include "j1Window.h"
#include "j1Fonts.h"
#include "j1Gui.h"
Button::Button(int x, int y, ElementType types, bool show, SDL_Rect* rec, const char* text) : Element(x, y, types)
{
if (text != nullptr)
{
buttonte... | 21.163265 | 114 | 0.63163 | RustikTie |
43146ef6720ab40daf4d3b70200f7341fd535330 | 859 | cpp | C++ | Tests/UnitTests/MathTests/constants.cpp | shyamalschandra/CNTK | 0e7a6cd4cc174eab28eaf2ffc660c6380b9e4e2d | [
"MIT"
] | 17,702 | 2016-01-25T14:03:01.000Z | 2019-05-06T09:23:41.000Z | Tests/UnitTests/MathTests/constants.cpp | zhuyawen/CNTK | 0ee09cf771bda9d4912790e0fed7322e89d86d87 | [
"RSA-MD"
] | 3,489 | 2016-01-25T13:32:09.000Z | 2019-05-03T11:29:15.000Z | Tests/UnitTests/MathTests/constants.cpp | zhuyawen/CNTK | 0ee09cf771bda9d4912790e0fed7322e89d86d87 | [
"RSA-MD"
] | 5,180 | 2016-01-25T14:02:12.000Z | 2019-05-06T04:24:28.000Z | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
//
#include "stdafx.h"
#include "common.h"
const int c_deviceIdZero = 0;
const float c_epsilonFloatE4 = 0.0001f;
const float c_epsilonFloatE3 = 0.001f;
const flo... | 33.038462 | 104 | 0.747381 | shyamalschandra |
431491a7dea33b36bfe6cca368e5330df360a696 | 5,290 | cxx | C++ | src/tactics/cbProbe.cxx | greydongilmore/tactics | e57008ded07eb798368ccb161d9bf06d9a16f52c | [
"BSD-3-Clause"
] | 5 | 2015-06-02T22:10:36.000Z | 2022-01-02T09:26:47.000Z | src/tactics/cbProbe.cxx | greydongilmore/tactics | e57008ded07eb798368ccb161d9bf06d9a16f52c | [
"BSD-3-Clause"
] | 2 | 2015-06-04T14:52:09.000Z | 2015-06-04T18:58:50.000Z | src/tactics/cbProbe.cxx | greydongilmore/tactics | e57008ded07eb798368ccb161d9bf06d9a16f52c | [
"BSD-3-Clause"
] | 3 | 2015-06-04T15:02:25.000Z | 2021-02-02T01:47:56.000Z | /*=========================================================================
Program: Cerebra
Module: cbProbe.cxx
Copyright (c) 2011-2013 David Adair
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
... | 23.100437 | 80 | 0.621739 | greydongilmore |
431550ccaee29bed8b7f522bc78af873723504ef | 1,052 | cpp | C++ | QSynthesis/Frontend/Base/Graphics/GraphicsPlaneHandle.cpp | SineStriker/QSynthesis-Old | 7b96f2d1292a4a57de6e1c50d4df2a57bfe2bc5d | [
"MIT"
] | 3 | 2021-12-08T05:30:52.000Z | 2021-12-18T10:46:49.000Z | QSynthesis/Frontend/Base/Graphics/GraphicsPlaneHandle.cpp | QSynthesis/QSynthesis-Old | 7b96f2d1292a4a57de6e1c50d4df2a57bfe2bc5d | [
"MIT"
] | null | null | null | QSynthesis/Frontend/Base/Graphics/GraphicsPlaneHandle.cpp | QSynthesis/QSynthesis-Old | 7b96f2d1292a4a57de6e1c50d4df2a57bfe2bc5d | [
"MIT"
] | null | null | null | #include "GraphicsPlaneHandle.h"
GraphicsPlaneHandle::GraphicsPlaneHandle(QGraphicsItem *parent) : GraphicsHandle(parent) {
}
GraphicsPlaneHandle::~GraphicsPlaneHandle() {
}
void GraphicsPlaneHandle::init() {
}
void GraphicsPlaneHandle::setValue(QPointF values) {
setValueX(values.x());
setValueY(values.y())... | 26.3 | 90 | 0.690114 | SineStriker |
4317c10a6276d0f3b708c21a11bf9a6d8a15bb74 | 9,239 | cc | C++ | RPC/MessageSocketTest.cc | Alex-II/logcabin_raft_optimzations | f6ac900f386ccfb28eae43ebef0576f48d189ab9 | [
"ISC"
] | null | null | null | RPC/MessageSocketTest.cc | Alex-II/logcabin_raft_optimzations | f6ac900f386ccfb28eae43ebef0576f48d189ab9 | [
"ISC"
] | null | null | null | RPC/MessageSocketTest.cc | Alex-II/logcabin_raft_optimzations | f6ac900f386ccfb28eae43ebef0576f48d189ab9 | [
"ISC"
] | null | null | null | /* Copyright (c) 2012 Stanford University
* Copyright (c) 2015 Diego Ongaro
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PR... | 32.879004 | 79 | 0.658188 | Alex-II |
431b16b67a576acaca228dcb5a2102f14899df6a | 22,095 | cpp | C++ | tests/src/test_TensorMeshHierarchy.cpp | kmorel/MGARD | a7c44d57fda76a5c3e6fa38702ca8c8c12150b83 | [
"Apache-2.0"
] | 19 | 2019-03-08T15:21:36.000Z | 2022-02-11T04:02:50.000Z | tests/src/test_TensorMeshHierarchy.cpp | kmorel/MGARD | a7c44d57fda76a5c3e6fa38702ca8c8c12150b83 | [
"Apache-2.0"
] | 100 | 2019-01-14T15:34:09.000Z | 2022-03-29T13:39:30.000Z | tests/src/test_TensorMeshHierarchy.cpp | kmorel/MGARD | a7c44d57fda76a5c3e6fa38702ca8c8c12150b83 | [
"Apache-2.0"
] | 22 | 2018-11-16T01:13:57.000Z | 2022-03-14T23:53:28.000Z | #include "catch2/catch_approx.hpp"
#include "catch2/catch_test_macros.hpp"
#include <algorithm>
#include <array>
#include <numeric>
#include <stdexcept>
#include <vector>
#include "testing_utilities.hpp"
#include "TensorMeshHierarchy.hpp"
#include "TensorMeshHierarchyIteration.hpp"
#include "shuffle.hpp"
#include "u... | 38.831283 | 80 | 0.602172 | kmorel |
431cf12b7d6069cc43318a927baacb44023df546 | 1,306 | hpp | C++ | maylee/include/maylee/syntax/syntax_node_visitor.hpp | eidolonsystems/maylee | a0a2e94bdc8543f88e428bee53b83db7a4bca0c0 | [
"MIT"
] | null | null | null | maylee/include/maylee/syntax/syntax_node_visitor.hpp | eidolonsystems/maylee | a0a2e94bdc8543f88e428bee53b83db7a4bca0c0 | [
"MIT"
] | null | null | null | maylee/include/maylee/syntax/syntax_node_visitor.hpp | eidolonsystems/maylee | a0a2e94bdc8543f88e428bee53b83db7a4bca0c0 | [
"MIT"
] | null | null | null | #ifndef MAYLEE_SYNTAX_NODE_VISITOR_HPP
#define MAYLEE_SYNTAX_NODE_VISITOR_HPP
#include "maylee/syntax/syntax.hpp"
namespace maylee {
//! Implements the visitor pattern for syntax nodes.
class syntax_node_visitor {
public:
virtual ~syntax_node_visitor() = default;
virtual void visit(const assignme... | 25.115385 | 68 | 0.721286 | eidolonsystems |
432439997a9965725b6a62eee1ad1a27a304a70c | 1,593 | cpp | C++ | Game Theory/Alice and Bob's Silly Game.cpp | StavrosChryselis/hackerrank | 42a3e393231e237a99a9e54522ce3ec954bf614f | [
"MIT"
] | null | null | null | Game Theory/Alice and Bob's Silly Game.cpp | StavrosChryselis/hackerrank | 42a3e393231e237a99a9e54522ce3ec954bf614f | [
"MIT"
] | null | null | null | Game Theory/Alice and Bob's Silly Game.cpp | StavrosChryselis/hackerrank | 42a3e393231e237a99a9e54522ce3ec954bf614f | [
"MIT"
] | null | null | null | /*
****************************************************************
****************************************************************
-> Coded by Stavros Chryselis
-> Visit my github for more solved problems over multiple sites
-> https://github.com/StavrosChryselis
-> Feel free to email me at stavrikios@gm... | 16.42268 | 73 | 0.483365 | StavrosChryselis |
432530239e6c600c525c1d8005b487cbcafeec85 | 490 | cpp | C++ | src/LowLevel/ResponseMessages/ReadyMessage.cpp | cpv-project/cpv-cql-driver | 66eebfd4e9ec75dc49cd4a7073a51a830236807a | [
"MIT"
] | 41 | 2018-01-23T09:27:32.000Z | 2021-02-15T15:49:07.000Z | src/LowLevel/ResponseMessages/ReadyMessage.cpp | cpv-project/cpv-cql-driver | 66eebfd4e9ec75dc49cd4a7073a51a830236807a | [
"MIT"
] | 20 | 2018-01-25T04:25:48.000Z | 2019-03-09T02:49:41.000Z | src/LowLevel/ResponseMessages/ReadyMessage.cpp | cpv-project/cpv-cql-driver | 66eebfd4e9ec75dc49cd4a7073a51a830236807a | [
"MIT"
] | 5 | 2018-04-10T12:19:13.000Z | 2020-02-17T03:30:50.000Z | #include "./ReadyMessage.hpp"
namespace cql {
/** The storage of ReadyMessage */
template <>
thread_local ReusableStorageType<ReadyMessage>
ReusableStorageInstance<ReadyMessage>;
/** Get description of this message */
std::string ReadyMessage::toString() const {
return "ReadyMessage()";
}
/** Decode messa... | 23.333333 | 61 | 0.72449 | cpv-project |
4325eed91b0102bcbb48a4c5cb5ce6895ed8ba89 | 1,050 | cpp | C++ | src/gen/hkQuaternion.cpp | BlazesRus/niflib | 7e8efb6b2c73a3410135dbd6d73694e29f1e9ce8 | [
"BSD-3-Clause"
] | 1 | 2021-12-24T00:42:42.000Z | 2021-12-24T00:42:42.000Z | src/gen/hkQuaternion.cpp | BlazesRus/niflib | 7e8efb6b2c73a3410135dbd6d73694e29f1e9ce8 | [
"BSD-3-Clause"
] | null | null | null | src/gen/hkQuaternion.cpp | BlazesRus/niflib | 7e8efb6b2c73a3410135dbd6d73694e29f1e9ce8 | [
"BSD-3-Clause"
] | null | null | null | /* Copyright (c) 2005-2019, NIF File Format Library and Tools
All rights reserved. Please see niflib.h for license. */
//-----------------------------------NOTICE----------------------------------//
// Some of this file is automatically filled in by a Python script. Only //
// add custom code in the designated ar... | 29.166667 | 79 | 0.545714 | BlazesRus |
4326e1bf7b89c1b0c74cfef817e272a04df248a4 | 4,769 | hpp | C++ | container.hpp | MattAszyk/containers | eb0ae05d49075c01bba3e0003422f0bddd5da031 | [
"MIT"
] | null | null | null | container.hpp | MattAszyk/containers | eb0ae05d49075c01bba3e0003422f0bddd5da031 | [
"MIT"
] | null | null | null | container.hpp | MattAszyk/containers | eb0ae05d49075c01bba3e0003422f0bddd5da031 | [
"MIT"
] | null | null | null | #ifndef CONTAINER_HPP
#define CONTAINER_HPP
#include<exception>
namespace matt{
template<class T>
class container
{
protected:
struct item
{
item(const T& _value, item* _prev, item* _next) : value(_value), prev(_prev), next(_next){}
T value;
item* prev... | 18.849802 | 103 | 0.479765 | MattAszyk |
43297fcdcc077a22e024f6a18a72a5f6f81f5304 | 1,337 | cpp | C++ | src/hikogui/small_map_tests.cpp | sthagen/ttauri-project-ttauri | ece6eeb0094a37610e34cdf89af0569584c660c2 | [
"BSL-1.0"
] | null | null | null | src/hikogui/small_map_tests.cpp | sthagen/ttauri-project-ttauri | ece6eeb0094a37610e34cdf89af0569584c660c2 | [
"BSL-1.0"
] | null | null | null | src/hikogui/small_map_tests.cpp | sthagen/ttauri-project-ttauri | ece6eeb0094a37610e34cdf89af0569584c660c2 | [
"BSL-1.0"
] | null | null | null | // Copyright Take Vos 2019-2020.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
#include "hikogui/small_map.hpp"
#include <gtest/gtest.h>
#include <iostream>
#include <string>
using namespace std;
using namespac... | 27.854167 | 91 | 0.655946 | sthagen |
432cb18e08afefbf72aab2f03e465390db60ce4e | 5,166 | cpp | C++ | src/Passes/PettisAndHansen.cpp | davidmalcolm/BOLT | c5c46ca08fd846fb22e032a965fbccf2b0415861 | [
"NCSA"
] | 13 | 2019-12-22T11:52:13.000Z | 2021-11-09T12:02:23.000Z | src/Passes/PettisAndHansen.cpp | angelica-moreira/BOLT | 414249f74d0c422bd4286e6408ad32dd5b54bbbb | [
"NCSA"
] | null | null | null | src/Passes/PettisAndHansen.cpp | angelica-moreira/BOLT | 414249f74d0c422bd4286e6408ad32dd5b54bbbb | [
"NCSA"
] | 7 | 2020-01-01T17:21:36.000Z | 2021-02-11T06:43:38.000Z | #include "HFSort.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/raw_ostream.h"
#include <set>
#include <unordered_map>
#undef DEBUG_TYPE
#define DEBUG_TYPE "hfsort"
namespace llvm {
namespace bolt {
using NodeId = CallGraph::NodeId;
using Arc = CallGraph::Arc;
using Node ... | 24.836538 | 78 | 0.598335 | davidmalcolm |
432ea0759d68aed6a77ecd785c77d01af17bf7d6 | 13,496 | cc | C++ | src/animation/offline/tools/import2ozz_track.cc | elix22/ozz-animation | 5a00ca8cc799abc50a5e82089b57c8cbe8970e0c | [
"MIT"
] | 1,666 | 2015-08-17T18:48:06.000Z | 2022-03-31T05:13:15.000Z | src/animation/offline/tools/import2ozz_track.cc | elix22/ozz-animation | 5a00ca8cc799abc50a5e82089b57c8cbe8970e0c | [
"MIT"
] | 126 | 2015-08-25T18:18:07.000Z | 2022-03-31T19:32:32.000Z | src/animation/offline/tools/import2ozz_track.cc | elix22/ozz-animation | 5a00ca8cc799abc50a5e82089b57c8cbe8970e0c | [
"MIT"
] | 244 | 2015-08-27T05:31:43.000Z | 2022-03-29T09:03:00.000Z | //----------------------------------------------------------------------------//
// //
// ozz-animation is hosted at http://github.com/guillaumeblanc/ozz-animation //
// and distributed under the MIT License (MIT). ... | 37.593315 | 80 | 0.594472 | elix22 |
43311fc40430fd5ccc91f7f8d75ff65e7fa6abd4 | 10,642 | cpp | C++ | com/netfx/src/clr/vm/mlcache.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | com/netfx/src/clr/vm/mlcache.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | com/netfx/src/clr/vm/mlcache.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | // ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
// MLCACHE.CPP -
//
// Base class for caching ML stubs.
//
#include "common.h"
#include "mlcache.h"
#include "stublink.h"
#include "cgensys.h"
#include "excep.h"
//----------------------------------------------... | 32.248485 | 95 | 0.472092 | npocmaka |
4332f78e2524d72779c79da1e4112dc44ed996a9 | 368 | cpp | C++ | docs/template_plugin/tests/functional/op_reference/comparison.cpp | pazamelin/openvino | b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48 | [
"Apache-2.0"
] | 2,406 | 2020-04-22T15:47:54.000Z | 2022-03-31T10:27:37.000Z | docs/template_plugin/tests/functional/op_reference/comparison.cpp | thomas-yanxin/openvino | 031e998a15ec738c64cc2379d7f30fb73087c272 | [
"Apache-2.0"
] | 4,948 | 2020-04-22T15:12:39.000Z | 2022-03-31T18:45:42.000Z | docs/template_plugin/tests/functional/op_reference/comparison.cpp | thomas-yanxin/openvino | 031e998a15ec738c64cc2379d7f30fb73087c272 | [
"Apache-2.0"
] | 991 | 2020-04-23T18:21:09.000Z | 2022-03-31T18:40:57.000Z | // Copyright (C) 2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "comparison.hpp"
namespace reference_tests {
namespace ComparisonOpsRefTestDefinitions {
namespace {
TEST_P(ReferenceComparisonLayerTest, CompareWithHardcodedRefs) {
Exec();
}
} // namespace
} // namespace ComparisonOpsRef... | 23 | 64 | 0.779891 | pazamelin |
4333106e98634b5729655cc950d53af0989946e3 | 1,933 | hpp | C++ | include/Nazara/Core/ResourceSaver.hpp | waruqi/NazaraEngine | a64de1ffe8b0790622a0b1cae5759c96b4f86907 | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | null | null | null | include/Nazara/Core/ResourceSaver.hpp | waruqi/NazaraEngine | a64de1ffe8b0790622a0b1cae5759c96b4f86907 | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | null | null | null | include/Nazara/Core/ResourceSaver.hpp | waruqi/NazaraEngine | a64de1ffe8b0790622a0b1cae5759c96b4f86907 | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | null | null | null | // Copyright (C) 2020 Jérôme Leclercq
// This file is part of the "Nazara Engine - Core module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#pragma once
#ifndef NAZARA_RESOURCESAVER_HPP
#define NAZARA_RESOURCESAVER_HPP
#include <Nazara/Core/Enums.hpp>
#include <Nazara/Core/Resource.... | 34.517857 | 138 | 0.758407 | waruqi |
4333899958398ae6e3aa74f35c66b15c5630d8a3 | 5,870 | cpp | C++ | src/AboutWindow.cpp | TruckerMP/ETS2Sync-Helper-4 | 2a8b9df1d4db1e59635762147725fcec84eaf211 | [
"Apache-2.0"
] | 1 | 2018-12-08T07:31:13.000Z | 2018-12-08T07:31:13.000Z | src/AboutWindow.cpp | TruckerMP/ETS2Sync-Helper-4 | 2a8b9df1d4db1e59635762147725fcec84eaf211 | [
"Apache-2.0"
] | null | null | null | src/AboutWindow.cpp | TruckerMP/ETS2Sync-Helper-4 | 2a8b9df1d4db1e59635762147725fcec84eaf211 | [
"Apache-2.0"
] | 2 | 2019-05-10T14:13:53.000Z | 2019-11-05T20:25:12.000Z | #include "precomp.hpp"
#include "AboutWindow.hpp"
#include "version.hpp"
#include "MainWindow.hpp"
#include <wx/hyperlink.h>
#include <wx/statline.h>
AboutWindow::AboutWindow(MainWindow * wndParent)
: wxDialog(wndParent, wxID_ANY, "About " + APP_DISPLAY_NAME) {
SetIcon(GetParent()->GetIcon());
Bind(wxEVT_SHOW, &... | 34.327485 | 115 | 0.748893 | TruckerMP |
4334605b70a5db32a31370357002b74b5788c363 | 5,926 | cpp | C++ | plugin/plugins/flurry/platform/android/AnalyticsFlurry.cpp | umeng/cocos2d-x | fa85e33b657e5234c1e27beb4acc5f8394b903be | [
"Zlib",
"libtiff",
"BSD-2-Clause",
"Apache-2.0",
"MIT",
"Libpng",
"curl",
"BSD-3-Clause"
] | 1 | 2017-09-20T12:16:06.000Z | 2017-09-20T12:16:06.000Z | plugin/plugins/flurry/platform/android/AnalyticsFlurry.cpp | umeng/cocos2d-x | fa85e33b657e5234c1e27beb4acc5f8394b903be | [
"Zlib",
"libtiff",
"BSD-2-Clause",
"Apache-2.0",
"MIT",
"Libpng",
"curl",
"BSD-3-Clause"
] | null | null | null | plugin/plugins/flurry/platform/android/AnalyticsFlurry.cpp | umeng/cocos2d-x | fa85e33b657e5234c1e27beb4acc5f8394b903be | [
"Zlib",
"libtiff",
"BSD-2-Clause",
"Apache-2.0",
"MIT",
"Libpng",
"curl",
"BSD-3-Clause"
] | null | null | null | #include "AnalyticsFlurry.h"
#include "PluginJniHelper.h"
#include <android/log.h>
#include "PluginUtils.h"
#include "PluginJavaData.h"
#if 1
#define LOG_TAG "AnalyticsFlurry"
#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,LOG_TAG,__VA_ARGS__)
#else
#define LOGD(...)
#endif
namespace coc... | 26.455357 | 90 | 0.708741 | umeng |
433658af52807237dc9011b4e3440046deec2823 | 2,289 | cpp | C++ | Application/source/ui/frame/settings/SysMP3.cpp | RoutineFree/TriPlayer | 4e5ee19c992eba033b57444b7f4b312acf339163 | [
"MIT"
] | 106 | 2020-11-01T09:58:37.000Z | 2022-03-26T10:44:26.000Z | Application/source/ui/frame/settings/SysMP3.cpp | RoutineFree/TriPlayer | 4e5ee19c992eba033b57444b7f4b312acf339163 | [
"MIT"
] | 30 | 2020-11-01T11:21:48.000Z | 2022-02-01T23:09:47.000Z | Application/source/ui/frame/settings/SysMP3.cpp | RoutineFree/TriPlayer | 4e5ee19c992eba033b57444b7f4b312acf339163 | [
"MIT"
] | 15 | 2020-11-02T12:06:03.000Z | 2021-08-05T14:22:39.000Z | #include "Application.hpp"
#include "lang/Lang.hpp"
#include "ui/frame/settings/SysMP3.hpp"
namespace Frame::Settings {
SysMP3::SysMP3(Main::Application * a) : Frame(a) {
// Temporary variables
Config * cfg = this->app->config();
// MP3::accurate_seek
this->addToggle("Settings.SysM... | 38.79661 | 81 | 0.591525 | RoutineFree |
433907825291e36f4ede2d4bf1aef1f188be9a40 | 415 | cpp | C++ | gistory.cpp | elderfd/gistory | 2645d901120838152db48f4351710e127524900f | [
"MIT"
] | null | null | null | gistory.cpp | elderfd/gistory | 2645d901120838152db48f4351710e127524900f | [
"MIT"
] | null | null | null | gistory.cpp | elderfd/gistory | 2645d901120838152db48f4351710e127524900f | [
"MIT"
] | null | null | null | #include "RepoManager.hpp"
#include <iostream>
int main(int argc, char* argv[]) {
RepoManager repoManager;
try {
repoManager.init("C:/Users/James/Documents/gistory");
std::cout << "Number of commits: "
<< repoManager.numberOfRevisions()
<< std::endl;
} catch (con... | 20.75 | 61 | 0.566265 | elderfd |
433b2ada31562b35d201d7517d4fca7971c36ae4 | 6,503 | cpp | C++ | serial_tun.cpp | ClausKlein/Serial-TUN | f2929cae5b6ab907b7b5d1e20b81b400d2ccb3e9 | [
"MIT"
] | null | null | null | serial_tun.cpp | ClausKlein/Serial-TUN | f2929cae5b6ab907b7b5d1e20b81b400d2ccb3e9 | [
"MIT"
] | null | null | null | serial_tun.cpp | ClausKlein/Serial-TUN | f2929cae5b6ab907b7b5d1e20b81b400d2ccb3e9 | [
"MIT"
] | null | null | null | #include "slip.h"
#include "tun-driver.h"
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <libserialport.h>
#include <pthread.h>
struct CommDevices
{
int tunFileDescriptor;
struct sp_port *serialPort;
};
char adapterName[IF_NAMESIZE];
char serialPortName[128];
unsigned se... | 28.902222 | 79 | 0.594341 | ClausKlein |
433c5a434fe64404a3e0dc8b650679a3cb861eae | 9,731 | cc | C++ | tensorflow/core/framework/full_type_inference_util.cc | yf225/tensorflow-alpa | 0196bd11c737e0a89b142affe401d233326f14b0 | [
"Apache-2.0"
] | 3 | 2022-03-09T01:39:56.000Z | 2022-03-30T23:17:58.000Z | tensorflow/core/framework/full_type_inference_util.cc | yf225/tensorflow-alpa | 0196bd11c737e0a89b142affe401d233326f14b0 | [
"Apache-2.0"
] | 1 | 2020-08-01T05:40:12.000Z | 2020-08-01T05:40:12.000Z | tensorflow/core/framework/full_type_inference_util.cc | yf225/tensorflow-alpa | 0196bd11c737e0a89b142affe401d233326f14b0 | [
"Apache-2.0"
] | 1 | 2022-03-22T00:45:15.000Z | 2022-03-22T00:45:15.000Z | /* 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... | 36.309701 | 80 | 0.632104 | yf225 |
433cc43db6538e82e67aa81023be8bc89ae1c5a5 | 3,895 | cpp | C++ | public/include/XMPCore/source/IMetadataConverterUtils.cpp | LaudateCorpus1/XMP-Toolkit-SDK | a3c578859d0c6f6388059f7d6667a266647ef612 | [
"BSD-3-Clause"
] | 88 | 2020-01-29T08:47:33.000Z | 2022-03-10T06:26:24.000Z | public/include/XMPCore/source/IMetadataConverterUtils.cpp | LaudateCorpus1/XMP-Toolkit-SDK | a3c578859d0c6f6388059f7d6667a266647ef612 | [
"BSD-3-Clause"
] | 40 | 2020-03-27T05:25:53.000Z | 2022-03-22T20:00:58.000Z | public/include/XMPCore/source/IMetadataConverterUtils.cpp | LaudateCorpus1/XMP-Toolkit-SDK | a3c578859d0c6f6388059f7d6667a266647ef612 | [
"BSD-3-Clause"
] | 54 | 2020-01-29T05:38:09.000Z | 2022-03-31T11:03:09.000Z | // =================================================================================================
// Copyright Adobe
// Copyright 2015 Adobe
// All Rights Reserved
//
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms
// of the Adobe license agreement accompanying it.... | 41.88172 | 159 | 0.68113 | LaudateCorpus1 |
433e1a4f55f9b030af90da735fea3a5f733eefdc | 6,078 | cpp | C++ | StudyBookCXXPrimer/chapters15/p15.26/main.cpp | MDGSF/CppPractice | 96d7f05031ebd5f4616c3ccee2a5ab3f51b986d2 | [
"MIT"
] | null | null | null | StudyBookCXXPrimer/chapters15/p15.26/main.cpp | MDGSF/CppPractice | 96d7f05031ebd5f4616c3ccee2a5ab3f51b986d2 | [
"MIT"
] | null | null | null | StudyBookCXXPrimer/chapters15/p15.26/main.cpp | MDGSF/CppPractice | 96d7f05031ebd5f4616c3ccee2a5ab3f51b986d2 | [
"MIT"
] | null | null | null | // Copyright 2021 <HuangJian 1342042894@qq.com>
#include <math.h>
#include <stdio.h>
#include <algorithm>
#include <fstream> // ifstream
#include <functional> // function object, bind
#include <iostream> // cin, cout, cerr
#include <iterator>
#include <list>
#include <map>
#include <memory> // unique_ptr, sha... | 26.893805 | 80 | 0.596578 | MDGSF |
4341748e36e859e6c731ca1ad14cdd6b0565784d | 6,437 | cc | C++ | chrome/browser/chromeos/drive/file_system/search_operation.cc | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2020-01-25T10:18:18.000Z | 2021-01-23T15:29:56.000Z | chrome/browser/chromeos/drive/file_system/search_operation.cc | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2018-02-10T21:00:08.000Z | 2018-03-20T05:09:50.000Z | chrome/browser/chromeos/drive/file_system/search_operation.cc | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2015-03-27T11:15:39.000Z | 2016-08-17T14:19:56.000Z | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/drive/file_system/search_operation.h"
#include <string>
#include <vector>
#include "base/bind.h"
#include "base/bind_h... | 34.983696 | 80 | 0.699239 | kjthegod |
4343006c339dd3d8c5c5f8e16921fb3ab296b467 | 51,747 | cpp | C++ | src/main.cpp | fluffels/vulkan-experiments | 77fc2a3510a22df277d49a6e9b86e52505768b91 | [
"MIT"
] | null | null | null | src/main.cpp | fluffels/vulkan-experiments | 77fc2a3510a22df277d49a6e9b86e52505768b91 | [
"MIT"
] | null | null | null | src/main.cpp | fluffels/vulkan-experiments | 77fc2a3510a22df277d49a6e9b86e52505768b91 | [
"MIT"
] | null | null | null | #include <array>
#include <chrono>
#include <filesystem>
#include <fstream>
#include <iostream>
#include <set>
#include <unordered_map>
#include <string>
#include <vector>
#include "lib/meshes/Terrain.h"
#define GLFW_INCLUDE_VULKAN
#include <GLFW/glfw3.h>
#define GLM_FORCE_RADIANS
#define GLM_FORCE_DEPTH_ZERO_TO_ONE... | 36.390295 | 89 | 0.593348 | fluffels |
434339a9051a37c24f755588b6f57997b0898001 | 19,515 | cpp | C++ | 3rdParty/_DKIMPORTS/librocket/Source/Core/Factory.cpp | aquawicket/DigitalKnob | 9e5997a1f0314ede80cf66a9bf28dc6373cb5987 | [
"MIT"
] | 29 | 2015-05-03T06:23:22.000Z | 2022-02-10T15:16:26.000Z | 3rdParty/_DKIMPORTS/librocket/Source/Core/Factory.cpp | aquawicket/DigitalKnob | 9e5997a1f0314ede80cf66a9bf28dc6373cb5987 | [
"MIT"
] | 125 | 2016-02-28T06:13:49.000Z | 2022-01-04T11:50:08.000Z | 3rdParty/_DKIMPORTS/librocket/Source/Core/Factory.cpp | aquawicket/DigitalKnob | 9e5997a1f0314ede80cf66a9bf28dc6373cb5987 | [
"MIT"
] | 8 | 2016-12-04T02:29:34.000Z | 2022-01-04T01:11:25.000Z | /*
* This source file is part of libRocket, the HTML/CSS Interface Middleware
*
* For the latest information, see http://www.librocket.com
*
* Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and assoc... | 33.132428 | 183 | 0.762234 | aquawicket |
4344e306bbf124aee69a51773bcd881845233e18 | 815 | cpp | C++ | test/src/huffman_node.test.cpp | hhsdev/huffman-compression | 5c538f54a37c5ada3117c92ec70428a01c75d113 | [
"MIT"
] | null | null | null | test/src/huffman_node.test.cpp | hhsdev/huffman-compression | 5c538f54a37c5ada3117c92ec70428a01c75d113 | [
"MIT"
] | null | null | null | test/src/huffman_node.test.cpp | hhsdev/huffman-compression | 5c538f54a37c5ada3117c92ec70428a01c75d113 | [
"MIT"
] | null | null | null | #include "catch.hpp"
#include "huffman_node.hpp"
TEST_CASE("HuffmanNode", "[HuffmanNode]") {
HuffmanNode leafNode1('a', 3);
HuffmanNode leafNode2('b', 5);
HuffmanNode branchNode(leafNode1, leafNode2);
SECTION("Constructors") {
REQUIRE(leafNode1.getChar() == 'a');
REQUIRE(leafNode1.getFrequency() == 3... | 27.166667 | 65 | 0.662577 | hhsdev |
4346b465026ef9b02acbdb62fdada96589e4305a | 7,469 | cpp | C++ | source/worker_url.cpp | DynasticSponge/erasmus | daaf81ee03a71cd532b744488eb164df12c4c9ec | [
"MIT"
] | null | null | null | source/worker_url.cpp | DynasticSponge/erasmus | daaf81ee03a71cd532b744488eb164df12c4c9ec | [
"MIT"
] | null | null | null | source/worker_url.cpp | DynasticSponge/erasmus | daaf81ee03a71cd532b744488eb164df12c4c9ec | [
"MIT"
] | null | null | null | //
// worker_url.cpp
// ~~~~~~~~~~~~~~
//
// Author: Joseph Adomatis
// Copyright (c) 2020 Joseph R Adomatis (joseph dot adomatis at gmail dot com)
//
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#include <cctype>
#include <string>
#include ".... | 28.616858 | 119 | 0.391619 | DynasticSponge |
4346f07a2a5109805c42a6bf6f3dff69313d0799 | 387 | cpp | C++ | notes/week8part1/constReferenceBinding.cpp | suryaavala/advancedcpp | 84c1847bf42ff744f99b4c0f94b77cfa71ca00d8 | [
"MIT"
] | null | null | null | notes/week8part1/constReferenceBinding.cpp | suryaavala/advancedcpp | 84c1847bf42ff744f99b4c0f94b77cfa71ca00d8 | [
"MIT"
] | null | null | null | notes/week8part1/constReferenceBinding.cpp | suryaavala/advancedcpp | 84c1847bf42ff744f99b4c0f94b77cfa71ca00d8 | [
"MIT"
] | null | null | null | #include <iostream>
void foo(const std::string &a) { }
const std::string goo() { return "C++"; }
int main() {
foo("C++"); // \alert{// rvalue}
foo(goo()); // \alert{// const rvalue}
std::string j = "C++";
foo(j); // \alert{// lvalue}
const std::string &k ... | 25.8 | 57 | 0.431525 | suryaavala |
43478dfda4272168c0934f1de8c0ecfa53171891 | 1,587 | cc | C++ | src/tint/ast/vector.cc | encounter/dawn-cmake | 64a23ce0ede5f232cc209b69d64164ede6810b65 | [
"Apache-2.0"
] | null | null | null | src/tint/ast/vector.cc | encounter/dawn-cmake | 64a23ce0ede5f232cc209b69d64164ede6810b65 | [
"Apache-2.0"
] | null | null | null | src/tint/ast/vector.cc | encounter/dawn-cmake | 64a23ce0ede5f232cc209b69d64164ede6810b65 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 The Tint Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 31.117647 | 81 | 0.695022 | encounter |
4348cd3ba2a16f60e989232ad7d3dab053417f47 | 2,144 | cpp | C++ | cpp/godot-cpp/src/gen/Joint2D.cpp | GDNative-Gradle/proof-of-concept | 162f467430760cf959f68f1638adc663fd05c5fd | [
"MIT"
] | 1 | 2021-03-16T09:51:00.000Z | 2021-03-16T09:51:00.000Z | cpp/godot-cpp/src/gen/Joint2D.cpp | GDNative-Gradle/proof-of-concept | 162f467430760cf959f68f1638adc663fd05c5fd | [
"MIT"
] | null | null | null | cpp/godot-cpp/src/gen/Joint2D.cpp | GDNative-Gradle/proof-of-concept | 162f467430760cf959f68f1638adc663fd05c5fd | [
"MIT"
] | null | null | null | #include "Joint2D.hpp"
#include <core/GodotGlobal.hpp>
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <core/Godot.hpp>
#include "__icalls.hpp"
namespace godot {
Joint2D::___method_bindings Joint2D::___mb = {};
void Joint2D::___init_method_bindings() {
___mb.mb_get_bias = godot::api->godot_met... | 34.580645 | 133 | 0.788246 | GDNative-Gradle |
43491864b7e19f03d3bf1929f865b3c3d9a03b96 | 49,954 | cc | C++ | src/couch_db.cc | sduvuru/couchstore | 0ddb502b5b32aaa728e3323bd5d447f467f77966 | [
"Apache-2.0"
] | null | null | null | src/couch_db.cc | sduvuru/couchstore | 0ddb502b5b32aaa728e3323bd5d447f467f77966 | [
"Apache-2.0"
] | null | null | null | src/couch_db.cc | sduvuru/couchstore | 0ddb502b5b32aaa728e3323bd5d447f467f77966 | [
"Apache-2.0"
] | null | null | null | /* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
#include "config.h"
#include <fcntl.h>
#include <platform/cb_malloc.h>
#include <phosphor/phosphor.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
#include <stdio.h>
#include "internal.h"
#include "node_types.h"
#include "co... | 33.082119 | 121 | 0.589262 | sduvuru |
434990dcb181181334115c988a9e499ed02b7b82 | 21,628 | hpp | C++ | tcob/include/tcob/core/Input.hpp | TobiasBohnen/tcob | 53092b3c8e657f1ff5e48ce961659edf7cb1cb05 | [
"MIT"
] | 2 | 2021-08-18T19:14:35.000Z | 2021-12-01T14:14:49.000Z | tcob/include/tcob/core/Input.hpp | TobiasBohnen/tcob | 53092b3c8e657f1ff5e48ce961659edf7cb1cb05 | [
"MIT"
] | null | null | null | tcob/include/tcob/core/Input.hpp | TobiasBohnen/tcob | 53092b3c8e657f1ff5e48ce961659edf7cb1cb05 | [
"MIT"
] | null | null | null | // Copyright (c) 2021 Tobias Bohnen
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
#pragma once
#include <tcob/tcob_config.hpp>
#include <unordered_map>
#include <tcob/core/Signal.hpp>
#include <tcob/core/data/Point.hpp>
typedef struct _SDL_GameController SDL_GameContr... | 26.37561 | 102 | 0.605465 | TobiasBohnen |
434a33d2cfa3965264dfadc1622f7f72d916b547 | 7,792 | hpp | C++ | Source/AllProjects/Drivers/iTunesRendTM/Server/iTunesRendTMS_iTrayMonPlIntfClientProxy.hpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 51 | 2020-12-26T18:17:16.000Z | 2022-03-15T04:29:35.000Z | Source/AllProjects/Drivers/iTunesRendTM/Server/iTunesRendTMS_iTrayMonPlIntfClientProxy.hpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | null | null | null | Source/AllProjects/Drivers/iTunesRendTM/Server/iTunesRendTMS_iTrayMonPlIntfClientProxy.hpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 4 | 2020-12-28T07:24:39.000Z | 2021-12-29T12:09:37.000Z | // ----------------------------------------------------------------------------
// FILE: iTunesRendTMS_iTrayMonPlIntfClientProxy.hpp
// DATE: Fri, Feb 12 21:14:16 2021 -0500
// ID: 016EC0A20CCA441C-F05CAF46433D51D7
//
// This file was generated by the Charmed Quark CIDIDL compiler. Do not make
// changes by hand... | 38.384236 | 153 | 0.518352 | MarkStega |
434e3ef48db16dda3ad9f7c57a560e236bea40e8 | 1,586 | cpp | C++ | asio-utils/src/asio-main.cpp | kovdan01/cosec-examples | bf19f2e2db8962d80ee7ce237be1c8af9e901cc9 | [
"MIT"
] | 3 | 2020-12-06T13:14:27.000Z | 2021-06-01T13:59:50.000Z | asio-utils/src/asio-main.cpp | kovdan01/cosec-examples | bf19f2e2db8962d80ee7ce237be1c8af9e901cc9 | [
"MIT"
] | 74 | 2020-10-25T13:10:31.000Z | 2021-06-06T15:12:15.000Z | asio-utils/src/asio-main.cpp | kovdan01/cosec-examples | bf19f2e2db8962d80ee7ce237be1c8af9e901cc9 | [
"MIT"
] | 3 | 2020-12-17T20:10:56.000Z | 2021-04-28T09:03:16.000Z | #include <ce/asio-main.hpp>
#include <ce/socket_session.hpp>
#include <boost/exception/diagnostic_information.hpp>
#include <boost/log/expressions.hpp>
#include <boost/log/support/date_time.hpp>
#include <boost/log/utility/setup/common_attributes.hpp>
#include <boost/log/utility/setup/console.hpp>
#include <iostream>... | 34.478261 | 103 | 0.554855 | kovdan01 |
434f2739db07dae37ba5f90c89adbfba3e815823 | 1,997 | cpp | C++ | tools/freebayes/src/Contamination.cpp | benranco/test | 7cf9740108844da30dcc506e733015fd5dd76a05 | [
"MIT"
] | 1 | 2020-11-23T09:20:07.000Z | 2020-11-23T09:20:07.000Z | tools/freebayes/src/Contamination.cpp | benranco/test | 7cf9740108844da30dcc506e733015fd5dd76a05 | [
"MIT"
] | null | null | null | tools/freebayes/src/Contamination.cpp | benranco/test | 7cf9740108844da30dcc506e733015fd5dd76a05 | [
"MIT"
] | 1 | 2020-10-23T11:50:01.000Z | 2020-10-23T11:50:01.000Z | #ifndef CONTAMINATION_CPP
#define CONTAMINATION_CPP
#include "Contamination.h"
#include "convert.h"
void Contamination::open(string& file) {
ifstream input;
input.open(file.c_str());
if (!input.is_open()) {
cerr << "contamination estimates file " << file << " is not open" << endl;
exit(1)... | 25.935065 | 82 | 0.576365 | benranco |
43509553cffc2de1b66a12c65f94d27cb8a89c75 | 43,554 | cpp | C++ | biokanga/Markers.cpp | rsuchecki/biokanga | ef0fa1cf58fb2903ae18d14e5b0f84de7b7e744e | [
"MIT"
] | null | null | null | biokanga/Markers.cpp | rsuchecki/biokanga | ef0fa1cf58fb2903ae18d14e5b0f84de7b7e744e | [
"MIT"
] | null | null | null | biokanga/Markers.cpp | rsuchecki/biokanga | ef0fa1cf58fb2903ae18d14e5b0f84de7b7e744e | [
"MIT"
] | null | null | null | /*
* CSIRO Open Source Software License Agreement (GPLv3)
* Copyright (c) 2017, Commonwealth Scientific and Industrial Research Organisation (CSIRO) ABN 41 687 119 230.
* See LICENSE for the complete license information (https://github.com/csiro-crop-informatics/biokanga/LICENSE)
* Contact: Alex Whan <alex.whan@csi... | 32.119469 | 188 | 0.728659 | rsuchecki |