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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
60297a9d6e590c4906fecde57c44c5b9a67e00eb | 4,955 | cpp | C++ | SensorKinect/Source/XnDDK/XnStreamReaderStream.cpp | CVLAB-Unibo/Slam-Dunk-Android | 28343eb7d92cfd884e025dbaf510f4115199f58f | [
"Apache-2.0"
] | 27 | 2018-01-18T15:50:36.000Z | 2022-02-11T23:07:15.000Z | SensorKinect/Source/XnDDK/XnStreamReaderStream.cpp | CVLAB-Unibo/Slam-Dunk-Android | 28343eb7d92cfd884e025dbaf510f4115199f58f | [
"Apache-2.0"
] | 3 | 2019-01-31T05:53:49.000Z | 2019-02-26T14:06:53.000Z | SensorKinect/Source/XnDDK/XnStreamReaderStream.cpp | CVLAB-Unibo/Slam-Dunk-Android | 28343eb7d92cfd884e025dbaf510f4115199f58f | [
"Apache-2.0"
] | 9 | 2017-08-08T12:18:02.000Z | 2020-04-07T08:07:55.000Z | /****************************************************************************
* *
* PrimeSense Sensor 5.x Alpha *
* Copyright (C) 2011 PrimeSense Ltd. *
* ... | 36.433824 | 105 | 0.573562 | CVLAB-Unibo |
602ac2726c31d06a31989502c40c8ece1269c7be | 6,366 | cc | C++ | bin/sysmap.cc | harryherold/sysmap | 293e5f0dc22ed709c8fd5c170662e433c039eeab | [
"BSD-3-Clause"
] | null | null | null | bin/sysmap.cc | harryherold/sysmap | 293e5f0dc22ed709c8fd5c170662e433c039eeab | [
"BSD-3-Clause"
] | null | null | null | bin/sysmap.cc | harryherold/sysmap | 293e5f0dc22ed709c8fd5c170662e433c039eeab | [
"BSD-3-Clause"
] | null | null | null | #include "extractor_set.hpp"
#include "linux/filesystem_extractor.hpp"
#include "linux/disk_extractor.hpp"
#include "linux/infiniband_extractor.hpp"
#include "linux/kernel_extractor.hpp"
#include "hwloc/hwloc_machine_info_extractor.hpp"
#include "hwloc/hwloc_pci_device_extractor.hpp"
#include "hwloc/hwloc_memory_info_e... | 33.15625 | 127 | 0.55388 | harryherold |
602c7f1f9f8e3a59e6b95bc2a44b377c8b1e324e | 12,499 | cpp | C++ | src/src/pngimg.cpp | qiwenwang/imgpp | 40c27a1c6fa66fbc569e10cf2f1e8aa86e1b7097 | [
"MIT"
] | null | null | null | src/src/pngimg.cpp | qiwenwang/imgpp | 40c27a1c6fa66fbc569e10cf2f1e8aa86e1b7097 | [
"MIT"
] | null | null | null | src/src/pngimg.cpp | qiwenwang/imgpp | 40c27a1c6fa66fbc569e10cf2f1e8aa86e1b7097 | [
"MIT"
] | null | null | null | #include <imgpp/loaders.hpp>
#include <png.h>
#include <imgpp/imgpp.hpp>
namespace imgpp {
bool PNGAbort(const char * s) {
printf("%s\n", s);
return false;
}
bool LoadPNG(const char *fn, Img &img, bool flip_y) {
if (nullptr == fn || 0 == strlen(fn)) {
return false;
}
png_structp png_... | 29.759524 | 88 | 0.651732 | qiwenwang |
602d35ab48c11c833c6e900502ecedb44b8fd14c | 4,401 | cc | C++ | chrome/plugin/plugin_main.cc | rwatson/chromium-capsicum | b03da8e897f897c6ad2cda03ceda217b760fd528 | [
"BSD-3-Clause"
] | 11 | 2015-03-20T04:08:08.000Z | 2021-11-15T15:51:36.000Z | chrome/plugin/plugin_main.cc | rwatson/chromium-capsicum | b03da8e897f897c6ad2cda03ceda217b760fd528 | [
"BSD-3-Clause"
] | null | null | null | chrome/plugin/plugin_main.cc | rwatson/chromium-capsicum | b03da8e897f897c6ad2cda03ceda217b760fd528 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2006-2008 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 "build/build_config.h"
#include "app/hi_res_timer_manager.h"
#include "app/system_monitor.h"
#if defined(OS_WIN)
#include "app/win_util... | 31.435714 | 78 | 0.731879 | rwatson |
602d994110f585e8a679121b9570dbd47b80c319 | 14,225 | cpp | C++ | src/ast/ast.cpp | bjorn3/mrustc | 01f73e7894119405ab3f92b6191f044e491c9062 | [
"MIT"
] | null | null | null | src/ast/ast.cpp | bjorn3/mrustc | 01f73e7894119405ab3f92b6191f044e491c9062 | [
"MIT"
] | null | null | null | src/ast/ast.cpp | bjorn3/mrustc | 01f73e7894119405ab3f92b6191f044e491c9062 | [
"MIT"
] | null | null | null | /*
* MRustC - Rust Compiler
* - By John Hodge (Mutabah/thePowersGang)
*
* ast/ast.cpp
* - Implementation of the various AST classes
*/
#include "ast.hpp"
#include "crate.hpp"
#include "types.hpp"
#include "expr.hpp"
#include "../common.hpp"
#include <iostream>
#include "../parse/parseerror.hpp"
#include <algorith... | 26.99241 | 194 | 0.56717 | bjorn3 |
602e30b8fa104bc24388b755a999413c6a922877 | 22,654 | cpp | C++ | system/jlib/junicode.cpp | rpastrana/HPCC-Platform | 489454bd326ed6a39228c81f5d837c276724c022 | [
"Apache-2.0"
] | 1 | 2021-01-23T18:54:19.000Z | 2021-01-23T18:54:19.000Z | system/jlib/junicode.cpp | RoySRobinson/HPCC-Platform | 338c890a0bf1f6ca55d7b20c791131e4c060579d | [
"Apache-2.0"
] | 1 | 2016-04-06T16:41:58.000Z | 2016-04-06T16:41:58.000Z | system/jlib/junicode.cpp | cloLN/HPCC-Platform | 42ffb763a1cdcf611d3900831973d0a68e722bbe | [
"Apache-2.0"
] | 1 | 2019-10-26T22:05:26.000Z | 2019-10-26T22:05:26.000Z | /*##############################################################################
HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
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... | 30.654939 | 157 | 0.573983 | rpastrana |
602e3a2eb0a7e79d64284c89b2c1c2cc37a71234 | 908 | hpp | C++ | archive/cmdstan/src/cmdstan/print_helper.hpp | alashworth/stan-monorepo | 75596bc1f860ededd7b3e9ae9002aea97ee1cd46 | [
"BSD-3-Clause"
] | 1 | 2019-09-06T15:53:17.000Z | 2019-09-06T15:53:17.000Z | archive/cmdstan/src/cmdstan/print_helper.hpp | alashworth/stan-monorepo | 75596bc1f860ededd7b3e9ae9002aea97ee1cd46 | [
"BSD-3-Clause"
] | 8 | 2019-01-17T18:51:16.000Z | 2019-01-17T18:51:39.000Z | archive/cmdstan/src/cmdstan/print_helper.hpp | alashworth/stan-monorepo | 75596bc1f860ededd7b3e9ae9002aea97ee1cd46 | [
"BSD-3-Clause"
] | null | null | null | #ifndef CMDSTAN_PRINT_HELPER_HPP
#define CMDSTAN_PRINT_HELPER_HPP
#include <iostream>
void print_deprecated() {
std::cout << std::endl << std::endl;
std::cout << "*** print is deprecated and will be removed in v3.0;"
<< std::endl
<< "*** use stansummary instead"
<< st... | 28.375 | 76 | 0.511013 | alashworth |
602e89c57e1cd0ab83d1136216d5be23b2b04770 | 63,702 | cpp | C++ | dali/base/dasess.cpp | fnisswandt/HPCC-Platform | 9ae8317441d279d9670e807e8535e74ee7f937ca | [
"Apache-2.0"
] | null | null | null | dali/base/dasess.cpp | fnisswandt/HPCC-Platform | 9ae8317441d279d9670e807e8535e74ee7f937ca | [
"Apache-2.0"
] | null | null | null | dali/base/dasess.cpp | fnisswandt/HPCC-Platform | 9ae8317441d279d9670e807e8535e74ee7f937ca | [
"Apache-2.0"
] | null | null | null | /*##############################################################################
HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
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... | 30.219165 | 199 | 0.56543 | fnisswandt |
602f5e33ccbf3e8b139c93b2ddbef5a6f9ea626c | 800 | cpp | C++ | cpp/src/maximum_number_of_prizes.cpp | CarnaViire/training | 5a01a022167a88a9c90bc6db4e14347ad60ee9e4 | [
"Unlicense"
] | 3 | 2017-07-08T05:18:33.000Z | 2021-06-11T13:49:37.000Z | cpp/src/maximum_number_of_prizes.cpp | kondratyev-nv/training | ed28507694bc2026867b67c26dc9c4a955b24fb4 | [
"Unlicense"
] | 44 | 2017-10-05T20:23:03.000Z | 2022-02-10T19:50:21.000Z | cpp/src/maximum_number_of_prizes.cpp | CarnaViire/training | 5a01a022167a88a9c90bc6db4e14347ad60ee9e4 | [
"Unlicense"
] | 4 | 2017-10-06T19:29:55.000Z | 2022-01-04T23:25:18.000Z | /**
* The goal of this problem is to represent a given positive integer n as a sum
* of as many pairwise distinct positive integers as possible. That is, to find
* the maximum k such that n can be written as a_1 + a_2 + ..., + a_k where
* a_1, ..., a_k are positive integers and a_i != a_j for all 1 ≤ i < j ≤ k.
*/... | 26.666667 | 79 | 0.59875 | CarnaViire |
60301e9f851e173c69c56568d5ee40587d5e75a1 | 2,289 | hpp | C++ | drake_ros_systems/include/drake_ros_systems/serializer.hpp | sloretz/drake_ros2_hacks | 3a6bd2cf526379999293ec3b517d3a6e22d142ba | [
"Apache-2.0"
] | 9 | 2020-11-05T16:42:11.000Z | 2021-11-24T15:05:17.000Z | drake_ros_systems/include/drake_ros_systems/serializer.hpp | sloretz/drake_ros2_demos | 3a6bd2cf526379999293ec3b517d3a6e22d142ba | [
"Apache-2.0"
] | 3 | 2020-10-20T16:31:59.000Z | 2021-09-08T16:28:40.000Z | drake_ros_systems/include/drake_ros_systems/serializer.hpp | sloretz/drake_ros2_demos | 3a6bd2cf526379999293ec3b517d3a6e22d142ba | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 Open Source Robotics Foundation, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appli... | 30.52 | 79 | 0.750546 | sloretz |
6030ce0324e58a1661ff1b3eb9d625fd0c36d36f | 991 | cpp | C++ | docs/examples/Device_Text.cpp | mohad12211/skia | 042a53aa094715e031ebad4da072524ace316744 | [
"BSD-3-Clause"
] | 6,304 | 2015-01-05T23:45:12.000Z | 2022-03-31T09:48:13.000Z | docs/examples/Device_Text.cpp | mohad12211/skia | 042a53aa094715e031ebad4da072524ace316744 | [
"BSD-3-Clause"
] | 67 | 2016-04-18T13:30:02.000Z | 2022-03-31T23:06:55.000Z | docs/examples/Device_Text.cpp | mohad12211/skia | 042a53aa094715e031ebad4da072524ace316744 | [
"BSD-3-Clause"
] | 1,231 | 2015-01-05T03:17:39.000Z | 2022-03-31T22:54:58.000Z | #if 0 // Disabled until updated to use current API.
// Copyright 2019 Google LLC.
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
#include "tools/fiddle/examples.h"
// HASH=4606ae1be792d6bc46d496432f050ee9
REG_FIDDLE(Device_Text, 256, 256, false, 0) {
void draw(SkCa... | 34.172414 | 100 | 0.651867 | mohad12211 |
6030f5c2ed095e8407aa421820c61abfa79b6f8b | 1,488 | cpp | C++ | source/Async/After.cpp | kurocha/async | 48d3c9e8e2631077c2c623902078eb8791cc3b17 | [
"Unlicense",
"MIT"
] | 19 | 2017-08-20T18:52:08.000Z | 2021-08-16T12:20:35.000Z | source/Async/After.cpp | kurocha/async | 48d3c9e8e2631077c2c623902078eb8791cc3b17 | [
"Unlicense",
"MIT"
] | null | null | null | source/Async/After.cpp | kurocha/async | 48d3c9e8e2631077c2c623902078eb8791cc3b17 | [
"Unlicense",
"MIT"
] | 3 | 2017-07-01T15:29:46.000Z | 2020-05-05T11:12:32.000Z | //
// After.cpp
// File file is part of the "Async" project and released under the MIT License.
//
// Created by Samuel Williams on 29/6/2017.
// Copyright, 2017, by Samuel Williams. All rights reserved.
//
#include "After.hpp"
#include <Concurrent/Fiber.hpp>
#include <cassert>
#if defined(ASYNC_EPOLL)
#include... | 19.84 | 92 | 0.678763 | kurocha |
6035a5968ba39ebd99286da98372528adc201869 | 1,034 | hpp | C++ | copasi/sbml/unittests/test000015.hpp | bmoreau/COPASI | d0bbec8947b1266ffd2b0ecf2566da7cf2c3e5ba | [
"Artistic-2.0"
] | null | null | null | copasi/sbml/unittests/test000015.hpp | bmoreau/COPASI | d0bbec8947b1266ffd2b0ecf2566da7cf2c3e5ba | [
"Artistic-2.0"
] | null | null | null | copasi/sbml/unittests/test000015.hpp | bmoreau/COPASI | d0bbec8947b1266ffd2b0ecf2566da7cf2c3e5ba | [
"Artistic-2.0"
] | null | null | null | // Begin CVS Header
// $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/sbml/unittests/test000015.hpp,v $
// $Revision: 1.3 $
// $Name: $
// $Author: gauges $
// $Date: 2009/02/18 20:42:28 $
// End CVS Header
// Copyright (C) 2008 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc., EML... | 24.046512 | 96 | 0.724371 | bmoreau |
6038be1b75fb26b1b9054e8694c36b8f8f340d96 | 2,477 | hpp | C++ | src/core/testing/data_model_test/test_tree_model.hpp | wgsyd/wgtf | d8cacb43e2c5d40080d33c18a8c2f5bd27d21bed | [
"BSD-3-Clause"
] | 28 | 2016-06-03T05:28:25.000Z | 2019-02-14T12:04:31.000Z | src/core/testing/data_model_test/test_tree_model.hpp | karajensen/wgtf | 740397bcfdbc02bc574231579d57d7c9cd5cc26d | [
"BSD-3-Clause"
] | null | null | null | src/core/testing/data_model_test/test_tree_model.hpp | karajensen/wgtf | 740397bcfdbc02bc574231579d57d7c9cd5cc26d | [
"BSD-3-Clause"
] | 14 | 2016-06-03T05:52:27.000Z | 2019-03-21T09:56:03.000Z | #ifndef DATA_MODEL_TEST_TREE_MODEL_HPP
#define DATA_MODEL_TEST_TREE_MODEL_HPP
#include "core_data_model/abstract_item_model.hpp"
#include "core_data_model/i_item_role.hpp"
#include <memory>
namespace wgt
{
/**
* Model for an expandable tree
* There are multiple top-most items which all have a non-existent single root... | 44.232143 | 133 | 0.806621 | wgsyd |
60395623d39da0c95da1ef0f2bbcef28513b2452 | 754 | cpp | C++ | example.cpp | mersinvald/DynamicCaller | 56314492e423393488c702a4f2e733f610bc2e13 | [
"MIT"
] | null | null | null | example.cpp | mersinvald/DynamicCaller | 56314492e423393488c702a4f2e733f610bc2e13 | [
"MIT"
] | null | null | null | example.cpp | mersinvald/DynamicCaller | 56314492e423393488c702a4f2e733f610bc2e13 | [
"MIT"
] | null | null | null | #include <iostream>
#include "dynamiccaller.hpp"
int plus(int a, int b) {
return a+b;
}
int minus(int a, int b) {
return a-b;
}
int multiply(int a, int b) {
return a*b;
}
int divide(int a, int b) {
return a/b;
}
#define AddDynFunc(DC, function) \
DC.PutFunction(function, #function);
int main()... | 17.136364 | 66 | 0.543767 | mersinvald |
603b6eed78fcaf6b68fde8cef2140f4059636ed3 | 13,567 | cpp | C++ | TAO/CIAO/connectors/dds4ccm/impl/DDSCallbackStatusHandler.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 36 | 2015-01-10T07:27:33.000Z | 2022-03-07T03:32:08.000Z | TAO/CIAO/connectors/dds4ccm/impl/DDSCallbackStatusHandler.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 2 | 2018-08-13T07:30:51.000Z | 2019-02-25T03:04:31.000Z | TAO/CIAO/connectors/dds4ccm/impl/DDSCallbackStatusHandler.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 38 | 2015-01-08T14:12:06.000Z | 2022-01-19T08:33:00.000Z | // $Id: DDSCallbackStatusHandler.cpp 96149 2012-09-20 07:08:14Z johnnyw $
#include "dds4ccm/impl/Utils.h"
#include "dds4ccm/impl/DDSCallbackStatusHandler.h"
#include "dds4ccm/impl/logger/Log_Macros.h"
//============================================================
// On_Unexpected_Status_Handler
//====================... | 33.832918 | 90 | 0.520601 | cflowe |
603da7c3cfa969d26775cdf876a327d8a3d25e27 | 3,268 | cpp | C++ | src/libv/gl/load_image_soil.cpp | cpplibv/libv | 293e382f459f0acbc540de8ef6283782b38d2e63 | [
"Zlib"
] | 2 | 2018-04-11T03:07:03.000Z | 2019-03-29T15:24:12.000Z | src/libv/gl/load_image_soil.cpp | cpplibv/libv | 293e382f459f0acbc540de8ef6283782b38d2e63 | [
"Zlib"
] | null | null | null | src/libv/gl/load_image_soil.cpp | cpplibv/libv | 293e382f459f0acbc540de8ef6283782b38d2e63 | [
"Zlib"
] | 1 | 2021-06-13T06:39:06.000Z | 2021-06-13T06:39:06.000Z | // Project: libv.gl, File: src/libv/gl/load_image_soil.cpp, Author: Császár Mátyás [Vader]
// hpp
#include <libv/gl/image.hpp>
// ext
#include <SOIL2/SOIL2.h>
// libv
#include <libv/container/dynarray.hpp>
// std
#include <cstring>
// pro
#include <libv/gl/check.hpp>
#include <libv/gl/texture_object.hpp>
namespace l... | 31.12381 | 118 | 0.649327 | cpplibv |
60401348e9b287dbf41bf57ccf2df6416c088804 | 5,344 | hpp | C++ | 3rdparty/range-v3/include/range/v3/view/bounded.hpp | WoodoLee/TorchCraft | 999f68aab9e7d50ed3ae138297226dc95fefc458 | [
"MIT"
] | 1 | 2020-08-01T21:51:05.000Z | 2020-08-01T21:51:05.000Z | 3rdparty/range-v3/include/range/v3/view/bounded.hpp | WoodoLee/TorchCraft | 999f68aab9e7d50ed3ae138297226dc95fefc458 | [
"MIT"
] | 1 | 2020-05-01T11:52:59.000Z | 2020-05-01T11:52:59.000Z | include/3rd-party/ericniebler/range-v3/include/range/v3/view/bounded.hpp | dda119141/mp3tags | c75818e4fd6341f2c0c0b482f5c6eb1809b382aa | [
"MIT"
] | 2 | 2020-03-27T22:08:35.000Z | 2020-04-01T22:14:56.000Z | /// \file
// Range v3 library
//
// Copyright Eric Niebler 2014-present
//
// Use, modification and distribution is subject to 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)
//
// Project home: https://github.com/ericniebler... | 31.809524 | 90 | 0.530689 | WoodoLee |
60404b4106358daf8b4dd8dffa6515b25ac6eaa3 | 2,562 | cpp | C++ | android/String.cpp | naver/androidjnipp | 9736042aef6e4f2a82c9fad3d6b77ee029e369c2 | [
"BSD-3-Clause"
] | 10 | 2016-12-08T16:48:34.000Z | 2021-09-06T15:01:19.000Z | android/String.cpp | naver/androidjnipp | 9736042aef6e4f2a82c9fad3d6b77ee029e369c2 | [
"BSD-3-Clause"
] | null | null | null | android/String.cpp | naver/androidjnipp | 9736042aef6e4f2a82c9fad3d6b77ee029e369c2 | [
"BSD-3-Clause"
] | 6 | 2016-12-06T13:06:11.000Z | 2021-09-07T02:15:21.000Z | /*
* Copyright (C) 2015 Naver Labs. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions ... | 33.272727 | 136 | 0.727557 | naver |
60410d24844343dde7aedf4bda5b8157ebd9d8f1 | 215,735 | cc | C++ | src/xenia/cpu/backend/x64/x64_sequences.cc | Parovozik/Xenia_UI | 3f12becc1845a8fc264ae74d25e28e543f61b5b4 | [
"BSD-3-Clause"
] | null | null | null | src/xenia/cpu/backend/x64/x64_sequences.cc | Parovozik/Xenia_UI | 3f12becc1845a8fc264ae74d25e28e543f61b5b4 | [
"BSD-3-Clause"
] | null | null | null | src/xenia/cpu/backend/x64/x64_sequences.cc | Parovozik/Xenia_UI | 3f12becc1845a8fc264ae74d25e28e543f61b5b4 | [
"BSD-3-Clause"
] | 1 | 2018-10-16T16:45:27.000Z | 2018-10-16T16:45:27.000Z | /**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2014 Ben Vanik. All rights reserved. ... | 33.302717 | 111 | 0.558709 | Parovozik |
60415fc08df10fd145320cff37bec75aa220f18b | 698 | hpp | C++ | src/common/transformations/include/transformations/common_optimizations/random_uniform_fusion.hpp | pazamelin/openvino | b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48 | [
"Apache-2.0"
] | 2,406 | 2020-04-22T15:47:54.000Z | 2022-03-31T10:27:37.000Z | inference-engine/src/transformations/include/transformations/common_optimizations/random_uniform_fusion.hpp | thomas-yanxin/openvino | 031e998a15ec738c64cc2379d7f30fb73087c272 | [
"Apache-2.0"
] | 4,948 | 2020-04-22T15:12:39.000Z | 2022-03-31T18:45:42.000Z | inference-engine/src/transformations/include/transformations/common_optimizations/random_uniform_fusion.hpp | thomas-yanxin/openvino | 031e998a15ec738c64cc2379d7f30fb73087c272 | [
"Apache-2.0"
] | 991 | 2020-04-23T18:21:09.000Z | 2022-03-31T18:40:57.000Z | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include <ngraph/pass/graph_rewrite.hpp>
#include <transformations_visibility.hpp>
namespace ngraph {
namespace pass {
class TRANSFORMATIONS_API RandomUniformFusion;
} // namespace pass
} // namespace ngraph
/**
... | 24.068966 | 84 | 0.766476 | pazamelin |
6041c1602d4b8f6fe2f3fa0c7022fda3e47b6808 | 351 | cpp | C++ | Source/GASExtensions/Private/GASExtensionsModule.cpp | TheEmidee/UEGASExtensions | 8851dbaf9251ecdc914f381df161484a7c5d4275 | [
"MIT"
] | null | null | null | Source/GASExtensions/Private/GASExtensionsModule.cpp | TheEmidee/UEGASExtensions | 8851dbaf9251ecdc914f381df161484a7c5d4275 | [
"MIT"
] | null | null | null | Source/GASExtensions/Private/GASExtensionsModule.cpp | TheEmidee/UEGASExtensions | 8851dbaf9251ecdc914f381df161484a7c5d4275 | [
"MIT"
] | null | null | null | #include "GASExtensionsModule.h"
class FGASExtensionsModule final : public IGASExtensionsModule
{
public:
void StartupModule() override;
void ShutdownModule() override;
};
IMPLEMENT_MODULE( FGASExtensionsModule, GASExtensions )
void FGASExtensionsModule::StartupModule()
{
}
void FGASExtension... | 19.5 | 63 | 0.752137 | TheEmidee |
604432e80dcd260ccc6cac02c23c11a6042ff750 | 2,262 | hpp | C++ | src/types.hpp | bryanoliveira/cpp-game-of-life | 4a7c06d170bd230a7a1d84a4caee009909cbd123 | [
"MIT"
] | null | null | null | src/types.hpp | bryanoliveira/cpp-game-of-life | 4a7c06d170bd230a7a1d84a4caee009909cbd123 | [
"MIT"
] | null | null | null | src/types.hpp | bryanoliveira/cpp-game-of-life | 4a7c06d170bd230a7a1d84a4caee009909cbd123 | [
"MIT"
] | 1 | 2022-01-17T03:10:26.000Z | 2022-01-17T03:10:26.000Z | #ifndef TYPES_HPP_
#define TYPES_HPP_
typedef unsigned char ubyte;
typedef unsigned short ushort;
typedef unsigned int uint;
typedef unsigned long ulong;
// A bidimensional int limit object
// It is essentially the same as a vec2 but with different member names for
// semantic predictability
typedef struct slim2 {
... | 27.585366 | 77 | 0.690097 | bryanoliveira |
6044713e56ade6398b42c7d010088a01f748f6ca | 6,377 | cpp | C++ | src/wasm_ql_pg_plugin.cpp | swang-b1/history-tools | 7ca8e1c6ee35c0b5bd3ad6f5236a00d083887644 | [
"MIT"
] | 54 | 2019-04-03T11:10:42.000Z | 2022-03-07T06:18:50.000Z | src/wasm_ql_pg_plugin.cpp | swang-b1/history-tools | 7ca8e1c6ee35c0b5bd3ad6f5236a00d083887644 | [
"MIT"
] | 69 | 2019-05-22T16:07:27.000Z | 2022-03-29T18:14:20.000Z | src/wasm_ql_pg_plugin.cpp | swang-b1/history-tools | 7ca8e1c6ee35c0b5bd3ad6f5236a00d083887644 | [
"MIT"
] | 47 | 2019-04-18T07:26:56.000Z | 2022-01-26T13:01:37.000Z | // copyright defined in LICENSE.txt
#include "wasm_ql_pg_plugin.hpp"
#include "state_history_pg.hpp"
#include "util.hpp"
#include <fc/exception/exception.hpp>
using namespace appbase;
namespace pg = state_history::pg;
static abstract_plugin& _wasm_ql_pg_plugin = app().register_plugin<wasm_ql_pg_plugin>();
struct p... | 41.409091 | 137 | 0.609691 | swang-b1 |
6045402dd7877e16515ebec63ffad14978b03073 | 19,093 | cpp | C++ | src/apps/render/VolApp.cpp | TACC/GravIT | 0a79dc74036c11669075198e01b30a92a8150693 | [
"BSD-3-Clause"
] | 24 | 2015-08-13T20:16:11.000Z | 2020-03-02T17:03:17.000Z | src/apps/render/VolApp.cpp | TACC/GravIT | 0a79dc74036c11669075198e01b30a92a8150693 | [
"BSD-3-Clause"
] | 16 | 2015-10-16T03:42:37.000Z | 2019-08-07T21:54:47.000Z | src/apps/render/VolApp.cpp | TACC/GravIT | 0a79dc74036c11669075198e01b30a92a8150693 | [
"BSD-3-Clause"
] | 8 | 2015-08-25T15:07:35.000Z | 2019-03-10T11:00:32.000Z | /* =======================================================================================
This file is released as part of GraviT - scalable, platform independent ray tracing
tacc.github.io/GraviT
Copyright 2013-2015 Texas Advanced Computing Center, The University of Texas at Austin
All rights reserved.
... | 37.95825 | 156 | 0.627298 | TACC |
6045a51183ec4725c4006fc0c0cb8ae1395aeeec | 650 | cpp | C++ | src/connection_options.cpp | herrvonregen/abb_librws | a34f824b76b7a63b41f53054f1d0588535aa6b39 | [
"BSD-3-Clause"
] | null | null | null | src/connection_options.cpp | herrvonregen/abb_librws | a34f824b76b7a63b41f53054f1d0588535aa6b39 | [
"BSD-3-Clause"
] | 5 | 2021-11-25T09:24:05.000Z | 2022-02-21T13:41:14.000Z | src/connection_options.cpp | NoMagicAi/abb_librws | bbd22f45ae43d087f64411d3114658445dd73407 | [
"BSD-3-Clause"
] | 2 | 2021-03-20T09:30:53.000Z | 2022-01-02T13:13:30.000Z | #include <abb_librws/connection_options.h>
namespace abb :: rws
{
ConnectionOptions::ConnectionOptions(
std::string const& ip_address,
unsigned short port,
std::string const& username,
std::string password,
std::chrono::microseconds connection_timeout,
std::chrono::... | 27.083333 | 53 | 0.650769 | herrvonregen |
6045e4fc0854232340d9399ec2234592ba3c3c1b | 5,405 | cpp | C++ | src/tests/unittests/wire/WireQueueTests.cpp | faro-oss/Dawn | 0ac7aa3386b597742a45368a28a2e045c122cb8c | [
"Apache-2.0"
] | 1 | 2022-02-05T01:08:06.000Z | 2022-02-05T01:08:06.000Z | src/tests/unittests/wire/WireQueueTests.cpp | sunnyps/dawn | afe91384086551ea3156fc67c525fdf864aa8437 | [
"Apache-2.0"
] | 1 | 2021-12-18T01:33:44.000Z | 2021-12-18T01:33:44.000Z | src/tests/unittests/wire/WireQueueTests.cpp | sunnyps/dawn | afe91384086551ea3156fc67c525fdf864aa8437 | [
"Apache-2.0"
] | null | null | null | // Copyright 2021 The Dawn 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 t... | 38.333333 | 98 | 0.741721 | faro-oss |
6045f33e8d078d4e0f3910b3c7e29fd49ab02b4d | 6,885 | cpp | C++ | cppcache/integration-test/testThinClientRemoteQueryFailoverPdx.cpp | mcmellawatt/geode-native | 53315985c4386e6781473c5713d638c8139e3e8e | [
"Apache-2.0"
] | null | null | null | cppcache/integration-test/testThinClientRemoteQueryFailoverPdx.cpp | mcmellawatt/geode-native | 53315985c4386e6781473c5713d638c8139e3e8e | [
"Apache-2.0"
] | null | null | null | cppcache/integration-test/testThinClientRemoteQueryFailoverPdx.cpp | mcmellawatt/geode-native | 53315985c4386e6781473c5713d638c8139e3e8e | [
"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 ... | 28.333333 | 80 | 0.67451 | mcmellawatt |
604ae7fa0b296d5997e967d03cd3c8ef6f5f86ba | 2,690 | cpp | C++ | src/util/generate_error_message.cpp | frzfrsfra4/phylanx | 001fe7081f3a24e56157cdb21b2d126b8953ff5d | [
"BSL-1.0"
] | 1 | 2019-08-17T21:19:57.000Z | 2019-08-17T21:19:57.000Z | src/util/generate_error_message.cpp | frzfrsfra4/phylanx | 001fe7081f3a24e56157cdb21b2d126b8953ff5d | [
"BSL-1.0"
] | null | null | null | src/util/generate_error_message.cpp | frzfrsfra4/phylanx | 001fe7081f3a24e56157cdb21b2d126b8953ff5d | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2017-2018 Hartmut Kaiser
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <phylanx/config.hpp>
#include <phylanx/execution_tree/compiler/primitive_name.hpp>
#include <phylanx/util/gen... | 36.351351 | 80 | 0.528253 | frzfrsfra4 |
604c0f1d9afab76da3b1305b9e8c6ed90542e40a | 3,751 | cc | C++ | FastSimulation/Calorimetry/src/TreeWriterForEcalCorrection.cc | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | FastSimulation/Calorimetry/src/TreeWriterForEcalCorrection.cc | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | FastSimulation/Calorimetry/src/TreeWriterForEcalCorrection.cc | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | // system include files
#include <memory>
// user include files
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/EDAnalyzer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/ParameterSet/interface/ParameterSe... | 33.19469 | 93 | 0.733938 | pasmuss |
604d7300cddfd486fbb888dc07fbbf241eca145e | 2,539 | cpp | C++ | QCompositeManager/extensions.cpp | rkoyama1623/Quantum | 429d11f0b2c737164005ba70c98611baef69d1c5 | [
"Unlicense"
] | 35 | 2015-01-13T00:57:17.000Z | 2022-03-16T20:39:56.000Z | QCompositeManager/extensions.cpp | KR8T3R/Quantum | 429d11f0b2c737164005ba70c98611baef69d1c5 | [
"Unlicense"
] | null | null | null | QCompositeManager/extensions.cpp | KR8T3R/Quantum | 429d11f0b2c737164005ba70c98611baef69d1c5 | [
"Unlicense"
] | 31 | 2015-01-29T03:59:52.000Z | 2022-03-16T20:40:43.000Z | /*
* KDE Composite Manager,
* Copyright (C) 2003-2005 Fredrik Höglund <fredrik@kde.org>
*
* Based on xcompmgr,
* Copyright (C) 2003 Keith Packard <keithp@keithp.com>
*
* Internal structure and naming style inspired by KWin,
* Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org>
* Copyright (C) 2003 Lu... | 32.139241 | 78 | 0.729815 | rkoyama1623 |
6050dc12833f0841262207f43b10fe621533ec75 | 605 | cpp | C++ | doc/examples/operatorarray__key_type.cpp | Hexlord/json | 66869458b5227170e052d01aa65b47ee8350b666 | [
"MIT"
] | 23 | 2016-01-20T07:50:24.000Z | 2021-09-08T05:08:19.000Z | json-master/doc/examples/operatorarray__key_type.cpp | bobismijnnaam/bobetex | 9960eafd31c73b4070b236d5dfafd5734492aaf5 | [
"MIT"
] | 18 | 2016-06-01T11:56:54.000Z | 2016-06-06T10:58:53.000Z | json-master/doc/examples/operatorarray__key_type.cpp | bobismijnnaam/bobetex | 9960eafd31c73b4070b236d5dfafd5734492aaf5 | [
"MIT"
] | 19 | 2016-01-24T13:05:24.000Z | 2021-06-25T01:36:47.000Z | #include <json.hpp>
using namespace nlohmann;
int main()
{
// create a JSON object
json object =
{
{"one", 1}, {"two", 2}, {"three", 2.9}
};
// output element with key "two"
std::cout << object["two"] << "\n\n";
// change element with key "three"
object["three"] = 3;
// ... | 19.516129 | 50 | 0.533884 | Hexlord |
60530fe1db1e3ff311474eaa583763e2e5a7edc7 | 131,218 | cpp | C++ | secp256k1-dpct/main.cpp | jchlanda/oneAPI-DirectProgramming | 82a1be635f89b4b2a83e36965a60b19fd71e46b2 | [
"BSD-3-Clause"
] | null | null | null | secp256k1-dpct/main.cpp | jchlanda/oneAPI-DirectProgramming | 82a1be635f89b4b2a83e36965a60b19fd71e46b2 | [
"BSD-3-Clause"
] | null | null | null | secp256k1-dpct/main.cpp | jchlanda/oneAPI-DirectProgramming | 82a1be635f89b4b2a83e36965a60b19fd71e46b2 | [
"BSD-3-Clause"
] | null | null | null | #include <CL/sycl.hpp>
#include <dpct/dpct.hpp>
#include <stdio.h>
#include <string.h>
typedef struct dpct_type_506b7b {
uint n[10];
} secp256k1_fe;
typedef struct dpct_type_7faff8 {
uint n[8];
} secp256k1_fe_storage;
typedef struct dpct_type_ec67f2 {
secp256k1_fe x;
secp256k1_fe y;
} secp256k1_ge;
typedef ... | 104.058684 | 215 | 0.76238 | jchlanda |
60555aeb2f184bacb3a11a19cd737f9aed700633 | 2,316 | cpp | C++ | libraries/types/native.cpp | brendankirby/eos | 233ba4e54bd53a7cf6ac68898fd25c44345737fa | [
"MIT"
] | 2 | 2018-01-06T12:12:28.000Z | 2021-12-25T11:09:37.000Z | libraries/types/native.cpp | lijava2002/eos | 2cc40a4eed76b797ba1382ab461fe8b6d3f518c4 | [
"MIT"
] | null | null | null | libraries/types/native.cpp | lijava2002/eos | 2cc40a4eed76b797ba1382ab461fe8b6d3f518c4 | [
"MIT"
] | 1 | 2021-04-04T23:28:27.000Z | 2021-04-04T23:28:27.000Z | /**
* @file
* @copyright defined in eos/LICENSE.txt
*/
#include <eos/types/native.hpp>
#include <fc/crypto/base58.hpp>
#include <fc/crypto/ripemd160.hpp>
#include <fc/io/raw.hpp>
#include <fc/fixed_string.hpp>
#include <fc/reflect/variant.hpp>
namespace fc {
void to_variant(const eosio::types::name& c, fc::vari... | 37.967213 | 113 | 0.630397 | brendankirby |
605644ef5659a27b003b4db791dcb33a334ede10 | 519 | hpp | C++ | include/ast/ll_block_exp.hpp | alekratz/lisplike | 61516b820f725f075c71bb76b454ee54b27343fc | [
"BSD-3-Clause"
] | null | null | null | include/ast/ll_block_exp.hpp | alekratz/lisplike | 61516b820f725f075c71bb76b454ee54b27343fc | [
"BSD-3-Clause"
] | null | null | null | include/ast/ll_block_exp.hpp | alekratz/lisplike | 61516b820f725f075c71bb76b454ee54b27343fc | [
"BSD-3-Clause"
] | null | null | null | #ifndef LL_BLOCk_EXP_HPP
#define LL_BLOCk_EXP_HPP
#include "ll_tree.hpp"
class ll_block_exp;
typedef std::shared_ptr<ll_block_exp> ll_block_exp_p;
class ll_block_exp
: public ll_tree, public ll_main
{
public:
ll_block_exp(const ll_children& children)
: children(children) { }
virtual ~ll_block_exp... | 19.961538 | 55 | 0.714836 | alekratz |
60567f64ea6b6cafabd646832942ed25504ca96a | 522 | cpp | C++ | sample/cast/main.cpp | januswel/cpplib | d1c9e325c18e876f40804240c6a3130d7a79a945 | [
"MIT"
] | 2 | 2016-04-29T05:23:23.000Z | 2017-11-05T04:12:56.000Z | sample/cast/main.cpp | januswel/cpplib | d1c9e325c18e876f40804240c6a3130d7a79a945 | [
"MIT"
] | null | null | null | sample/cast/main.cpp | januswel/cpplib | d1c9e325c18e876f40804240c6a3130d7a79a945 | [
"MIT"
] | null | null | null | /*
* main.cpp
* sample codes for cast.hpp
*
* Copyright (C) 2010 janus_wel<janus.wel.3@gmail.com>
* see LICENSE for redistributing, modifying, and so on.
* */
#include "../../header/cast.hpp"
#include <iostream>
using namespace std;
using namespace util::cast;
int main(void) {
int i = 'a';
const cha... | 18 | 58 | 0.55364 | januswel |
605a18d025250591734805b93fc4e6fe66cd86a6 | 13,938 | cpp | C++ | SurgSim/Physics/UnitTests/Fem3DConstraintFrictionalSlidingTests.cpp | dbungert/opensurgsim | bd30629f2fd83f823632293959b7654275552fa9 | [
"Apache-2.0"
] | 24 | 2015-01-19T16:18:59.000Z | 2022-03-13T03:29:11.000Z | SurgSim/Physics/UnitTests/Fem3DConstraintFrictionalSlidingTests.cpp | dbungert/opensurgsim | bd30629f2fd83f823632293959b7654275552fa9 | [
"Apache-2.0"
] | 3 | 2018-12-21T14:54:08.000Z | 2022-03-14T12:38:07.000Z | SurgSim/Physics/UnitTests/Fem3DConstraintFrictionalSlidingTests.cpp | dbungert/opensurgsim | bd30629f2fd83f823632293959b7654275552fa9 | [
"Apache-2.0"
] | 8 | 2015-04-10T19:45:36.000Z | 2022-02-02T17:00:59.000Z | // This file is a part of the OpenSurgSim project.
// Copyright 2016, SimQuest Solutions Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICE... | 43.830189 | 112 | 0.690199 | dbungert |
605c55625433c0795bc90f5db27a139c451129dc | 2,719 | cc | C++ | net/base/cert_database_nss.cc | rwatson/chromium-capsicum | b03da8e897f897c6ad2cda03ceda217b760fd528 | [
"BSD-3-Clause"
] | 11 | 2015-03-20T04:08:08.000Z | 2021-11-15T15:51:36.000Z | net/base/cert_database_nss.cc | rwatson/chromium-capsicum | b03da8e897f897c6ad2cda03ceda217b760fd528 | [
"BSD-3-Clause"
] | null | null | null | net/base/cert_database_nss.cc | rwatson/chromium-capsicum | b03da8e897f897c6ad2cda03ceda217b760fd528 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2009 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 "net/base/cert_database.h"
#include <pk11pub.h>
#include <secmod.h>
#include <ssl.h>
#include <nssb64.h> // NSSBase64_EncodeItem()
#inclu... | 27.464646 | 73 | 0.677455 | rwatson |
605d9b89b38a722259f58628ae73140471594ab5 | 473 | cpp | C++ | trunk/day38/solution.cpp | itsjacob/90pp | eca71e624d28d216feb06d615e587fc6792c36b6 | [
"MIT"
] | null | null | null | trunk/day38/solution.cpp | itsjacob/90pp | eca71e624d28d216feb06d615e587fc6792c36b6 | [
"MIT"
] | null | null | null | trunk/day38/solution.cpp | itsjacob/90pp | eca71e624d28d216feb06d615e587fc6792c36b6 | [
"MIT"
] | null | null | null | // The API isBadVersion is defined for you.
// bool isBadVersion(int version);
class Solution
{
public:
int firstBadVersion(int n)
{
int left{ 1 };
int right{ n };
while (left <= right) {
int mid = left + (right - left) / 2;
bool isBad = isBadVersion(mid);
if (isBad) {
right =... | 18.192308 | 43 | 0.513742 | itsjacob |
605e2407040a053f55d0960c6c2ff08cacccd538 | 2,234 | cpp | C++ | Div. 2/1481 - Codeforces Round #699 (Div. 2)/1481C.cpp | ivvlspirit/Codeforces | cf9be21f713b032e23c8794c17fa747f1c1e477c | [
"MIT"
] | null | null | null | Div. 2/1481 - Codeforces Round #699 (Div. 2)/1481C.cpp | ivvlspirit/Codeforces | cf9be21f713b032e23c8794c17fa747f1c1e477c | [
"MIT"
] | null | null | null | Div. 2/1481 - Codeforces Round #699 (Div. 2)/1481C.cpp | ivvlspirit/Codeforces | cf9be21f713b032e23c8794c17fa747f1c1e477c | [
"MIT"
] | null | null | null | // If you're hacking me, at least subscribe to my channel at:
// https://www.youtube.com/user/ivanvlahov922
#include <bits/stdc++.h>
#define ll long long
using namespace std;
const int MOD = 1e9+7;
int main(){
#ifdef DEBUG
freopen("..\\input.txt", "r", stdin);
clock_t tStart = clock();
#endi... | 21.480769 | 81 | 0.383617 | ivvlspirit |
605f490281f075f418dc1896b26bdc98ff21cf6e | 2,192 | cpp | C++ | Socket/QtServer/mainwindow.cpp | Sakura1221/QtStudy | 34d24affada2a10c901fb9571473a33c871201fa | [
"MIT"
] | 4 | 2021-06-17T02:58:18.000Z | 2021-11-09T11:40:37.000Z | Socket/QtServer/mainwindow.cpp | Sakura1221/QtStudy | 34d24affada2a10c901fb9571473a33c871201fa | [
"MIT"
] | null | null | null | Socket/QtServer/mainwindow.cpp | Sakura1221/QtStudy | 34d24affada2a10c901fb9571473a33c871201fa | [
"MIT"
] | 1 | 2021-06-26T07:42:20.000Z | 2021-06-26T07:42:20.000Z | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QTcpSocket>
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::MainWindow)
{
ui->setupUi(this);
// 窗口标题
setWindowTitle("TCP - 服务器");
// 默认端口号
ui->port->setText("8899");
// 创建监听的服务器对象
m_server =... | 26.731707 | 86 | 0.577099 | Sakura1221 |
6060966db4eec6aa361a043bef7f2f500d5c292c | 1,983 | cpp | C++ | OJ/LeetCode/leetcode/problems/669.cpp | ONGOING-Z/DataStructure | 9099393d1c7dfabc3e2939586ea6d1d254631eb2 | [
"MIT"
] | null | null | null | OJ/LeetCode/leetcode/problems/669.cpp | ONGOING-Z/DataStructure | 9099393d1c7dfabc3e2939586ea6d1d254631eb2 | [
"MIT"
] | 2 | 2021-10-31T10:05:45.000Z | 2022-02-12T15:17:53.000Z | OJ/LeetCode/leetcode/669.cpp | ONGOING-Z/Learn-Algorithm-and-DataStructure | 3a512bd83cc6ed5035ac4550da2f511298b947c0 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <vector>
using namespace std;
/* Leetcode */
/* 题目信息 */
/*
* 669. Trim a Binary Search Tree
* Given a binary search tree and the lowest and highest boundaries as L and R, trim the tree so that all its elements lies in [L, R] (R >= L). You might need to change the root of the tree, so the ... | 20.443299 | 266 | 0.545134 | ONGOING-Z |
6062bd41308dacdcd34549f90c3808f3d7f20796 | 626 | cpp | C++ | Firmware/shared/Middleware/BlueNRG/source/BLEWorker.cpp | cemizm/AnySense-2.0 | 55d831e24f14c5c07c7c79b1bdf0412b8661cb89 | [
"MIT"
] | null | null | null | Firmware/shared/Middleware/BlueNRG/source/BLEWorker.cpp | cemizm/AnySense-2.0 | 55d831e24f14c5c07c7c79b1bdf0412b8661cb89 | [
"MIT"
] | null | null | null | Firmware/shared/Middleware/BlueNRG/source/BLEWorker.cpp | cemizm/AnySense-2.0 | 55d831e24f14c5c07c7c79b1bdf0412b8661cb89 | [
"MIT"
] | null | null | null | /*
* BLEWorker.cpp
*
* Created on: 14.09.2015
* Author: cem
*/
#include "BLEWorker.h"
namespace Application
{
void BLEWorker::Run()
{
m_device.Init();
if (m_device.GATT.Init() != BlueNRG::HCIGenericStatusCode::Success)
return;
if (m_device.GAP.Init(BlueNRG::GAPRole::Peripheral, &m_HGAPService, &m_HD... | 15.268293 | 108 | 0.651757 | cemizm |
6064bac29dd3be9285123b3b4e1edccc9f1872a5 | 36,405 | cc | C++ | components/sync_bookmarks/synced_bookmark_tracker.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/sync_bookmarks/synced_bookmark_tracker.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/sync_bookmarks/synced_bookmark_tracker.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-01-05T23:43:46.000Z | 2021-01-07T23:36:34.000Z | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/sync_bookmarks/synced_bookmark_tracker.h"
#include <algorithm>
#include <unordered_map>
#include <unordered_set>
#include "base/bas... | 39.271845 | 80 | 0.737399 | mghgroup |
6066a02ef2718b7bf05880e2c5525b3162bdb22a | 11,027 | cc | C++ | stereo_egomotion/main/save_tracks/save_tracks_main.cc | bartn8/stereo-vision | 1180045fe560478e5c441e75202cc899fe90ec3d | [
"BSD-3-Clause"
] | 52 | 2016-04-02T18:18:48.000Z | 2022-02-14T11:47:58.000Z | stereo_egomotion/main/save_tracks/save_tracks_main.cc | bartn8/stereo-vision | 1180045fe560478e5c441e75202cc899fe90ec3d | [
"BSD-3-Clause"
] | 3 | 2016-08-01T14:36:44.000Z | 2021-02-14T08:15:50.000Z | stereo_egomotion/main/save_tracks/save_tracks_main.cc | bartn8/stereo-vision | 1180045fe560478e5c441e75202cc899fe90ec3d | [
"BSD-3-Clause"
] | 26 | 2016-08-25T11:28:05.000Z | 2022-02-18T12:17:47.000Z | #include <vector>
#include <deque>
#include <string>
#include <algorithm>
#include <iostream>
#include <fstream>
#include <chrono>
#include <sys/stat.h>
#include <unistd.h>
#include <sys/wait.h>
#include <boost/program_options.hpp>
#include <boost/archive/text_oarchive.hpp>
#include <boost/archive/binary_oarchive.hpp... | 39.382143 | 125 | 0.649134 | bartn8 |
60676c38ad551e4e4985696f6b2933bfae919e06 | 2,588 | cpp | C++ | src/global.cpp | quantum-ket/libket | 8bd80261a7a4903e4108d19524b5f9eb0907daef | [
"Apache-2.0"
] | null | null | null | src/global.cpp | quantum-ket/libket | 8bd80261a7a4903e4108d19524b5f9eb0907daef | [
"Apache-2.0"
] | null | null | null | src/global.cpp | quantum-ket/libket | 8bd80261a7a4903e4108d19524b5f9eb0907daef | [
"Apache-2.0"
] | null | null | null | /* Copyright 2020, 2021 Evandro Chagas Ribeiro da Rosa <evandro.crr@posgrad.ufsc.br>
* Copyright 2020, 2021 Rafael de Santiago <r.santiago@ufsc.br>
*
* 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 L... | 32.35 | 129 | 0.687403 | quantum-ket |
60686571962888e29954557de0e527699f12e9ba | 980 | cpp | C++ | src/linad99/minim.cpp | wStockhausen/admb | 876ec704ae974d0ed3bcc329f243dbc401ad0e6d | [
"BSD-3-Clause"
] | 79 | 2015-01-16T14:14:22.000Z | 2022-01-24T06:28:15.000Z | src/linad99/minim.cpp | wStockhausen/admb | 876ec704ae974d0ed3bcc329f243dbc401ad0e6d | [
"BSD-3-Clause"
] | 172 | 2015-01-21T01:53:57.000Z | 2022-03-29T19:57:31.000Z | src/linad99/minim.cpp | wStockhausen/admb | 876ec704ae974d0ed3bcc329f243dbc401ad0e6d | [
"BSD-3-Clause"
] | 22 | 2015-01-15T18:11:54.000Z | 2022-01-11T21:47:51.000Z | /*
* $Id$
*
* Author: David Fournier
* Copyright (c) 2008-2012 Regents of the University of California
*/
/**
\file minim.pp
Minimize artibrary user-supplied function.
*/
#include <fvar.hpp>
#ifndef OPT_LIB
#include <cassert>
#endif
/**
Minimize artibrary user-supplied function.
\param x Vector of inde... | 18.846154 | 66 | 0.632653 | wStockhausen |
6068ce18758b3686c0aa0728b9fa221e8e53cad0 | 847 | cpp | C++ | uhk/acm1007.cpp | Hyyyyyyyyyy/acm | d7101755b2c2868d51bb056f094e024d0333b56f | [
"MIT"
] | null | null | null | uhk/acm1007.cpp | Hyyyyyyyyyy/acm | d7101755b2c2868d51bb056f094e024d0333b56f | [
"MIT"
] | null | null | null | uhk/acm1007.cpp | Hyyyyyyyyyy/acm | d7101755b2c2868d51bb056f094e024d0333b56f | [
"MIT"
] | null | null | null | #include <cstdio>
#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <cmath>
using namespace std;
const int MAX = 100000000;
struct node
{
double x;
double y;
double s;
};
bool comp(node a, node b)
{
return a.s < b.s;
}
int main()
{
int i, j, k, u, n, m, cnt;
struct node ar[100010];
double sa[10... | 18.413043 | 102 | 0.479339 | Hyyyyyyyyyy |
606951bc80086c759641c43a03dd25ef7302894e | 7,245 | cc | C++ | media/base/android/media_drm_storage_bridge.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | media/base/android/media_drm_storage_bridge.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | media/base/android/media_drm_storage_bridge.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.000Z | // Copyright 2017 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 "media/base/android/media_drm_storage_bridge.h"
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "base/android... | 36.225 | 80 | 0.689303 | sarang-apps |
60696697ff580a691d9098935d3adb1cf7888f05 | 2,922 | cpp | C++ | src/ripple_basics/utility/Sustain.cpp | latcoin/rippled | ca0740de23ec4366d53b0d3770d9a05fc83072db | [
"BSL-1.0"
] | null | null | null | src/ripple_basics/utility/Sustain.cpp | latcoin/rippled | ca0740de23ec4366d53b0d3770d9a05fc83072db | [
"BSL-1.0"
] | null | null | null | src/ripple_basics/utility/Sustain.cpp | latcoin/rippled | ca0740de23ec4366d53b0d3770d9a05fc83072db | [
"BSL-1.0"
] | null | null | null | //------------------------------------------------------------------------------
/*
This file is part of rippled: https://github.com/ripple/rippled
Copyright (c) 2012, 2013 Ripple Labs Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby ... | 26.324324 | 101 | 0.573922 | latcoin |
6069c146322836118882e72623a9bca76a5e61cf | 11,076 | cpp | C++ | box2d/native/src/extension.cpp | rgrams/defold-box2d | f16c138d2c7260cc04272c30d54cd532b572d6a0 | [
"MIT"
] | null | null | null | box2d/native/src/extension.cpp | rgrams/defold-box2d | f16c138d2c7260cc04272c30d54cd532b572d6a0 | [
"MIT"
] | null | null | null | box2d/native/src/extension.cpp | rgrams/defold-box2d | f16c138d2c7260cc04272c30d54cd532b572d6a0 | [
"MIT"
] | null | null | null | // include the Defold SDK
#include <dmsdk/sdk.h>
#define EXTENSION_NAME box2d
#define EXTENSION_NAME_STRING "box2d"
#include <box2d/box2d.h>
#include <utils.h>
#include <extra_utils.h>
#include <world.h>
#include <fixture.h>
#include <body_def.h>
#include <body.h>
#include <joint.h>
#include <draw.h>
#include <joint_... | 32.197674 | 139 | 0.701697 | rgrams |
606bfaa905965f29f375080659719edd2dcdc616 | 566 | cpp | C++ | components/media/animation/tests/core/animation_state.cpp | untgames/funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 7 | 2016-03-30T17:00:39.000Z | 2017-03-27T16:04:04.000Z | components/media/animation/tests/core/animation_state.cpp | untgames/Funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 4 | 2017-11-21T11:25:49.000Z | 2018-09-20T17:59:27.000Z | components/media/animation/tests/core/animation_state.cpp | untgames/Funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 4 | 2016-11-29T15:18:40.000Z | 2017-03-27T16:04:08.000Z | #include "shared.h"
using namespace media::animation;
void on_destroy ()
{
printf ("animation state destroyed\n");
}
int main ()
{
printf ("Results of animation_state_test:\n");
AnimationState state;
state.GetTrackable ().connect_tracker (&on_destroy);
printf ("default: weight is ... | 19.517241 | 85 | 0.607774 | untgames |
606c6f3e7f85beca1aaec88941caccaa06eef880 | 1,120 | cpp | C++ | aula17092020/Turma.cpp | imdcode/imd0030_t02_2020 | 9c08e159752fa3d1169518fcc4a1046c045d7cec | [
"MIT"
] | 3 | 2020-09-23T00:59:43.000Z | 2020-10-06T22:27:00.000Z | aula17092020/Turma.cpp | imdcode/imd0030_t02_2020 | 9c08e159752fa3d1169518fcc4a1046c045d7cec | [
"MIT"
] | null | null | null | aula17092020/Turma.cpp | imdcode/imd0030_t02_2020 | 9c08e159752fa3d1169518fcc4a1046c045d7cec | [
"MIT"
] | 4 | 2020-10-05T05:36:25.000Z | 2020-12-08T02:47:32.000Z | #include "turma.hpp"
#include<iostream>
using namespace std;
Turma::Turma (){
this->nome = "A definir";
this->id = "IMD????";
}
Turma::Turma (string nome, string id):nome(nome),id(id){}
Turma::~Turma(){
for (int i = 0; i < this->matriculados; ++i)
{
delete this->alunos[i];
}
}
string
Turma::getNome(){
retur... | 16.969697 | 57 | 0.61875 | imdcode |
606cefe5f1669b3d5f0670349308d3b0c30e7cc9 | 1,119 | cpp | C++ | shadow/source/DeleteShadowRequest.cpp | gregbreen/aws-iot-device-sdk-cpp-v2 | 57ded0046d1cda3b35fbe9298eed308392961435 | [
"Apache-2.0"
] | 88 | 2019-11-29T19:30:29.000Z | 2022-03-28T02:29:51.000Z | shadow/source/DeleteShadowRequest.cpp | gregbreen/aws-iot-device-sdk-cpp-v2 | 57ded0046d1cda3b35fbe9298eed308392961435 | [
"Apache-2.0"
] | 194 | 2019-12-01T15:54:42.000Z | 2022-03-31T22:06:11.000Z | shadow/source/DeleteShadowRequest.cpp | gregbreen/aws-iot-device-sdk-cpp-v2 | 57ded0046d1cda3b35fbe9298eed308392961435 | [
"Apache-2.0"
] | 64 | 2019-12-17T14:13:40.000Z | 2022-03-12T07:43:13.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/iotshadow/DeleteShadowRequest.h>
namespace Aws
{
namespace Iotshadow
{
void DeleteShadowRequest::LoadFromObject(DeleteShadowRequest &val, const Aws::Crt::JsonView &doc)
... | 26.023256 | 106 | 0.578195 | gregbreen |
606dafbbf2a659100ab596746d4f7b54994b7ec5 | 44,767 | cc | C++ | modules/rtp_rtcp/source/rtp_fec_unittest.cc | ebasdee/webrtc | 9b16e2d354e80ca0f2a65ee39464cfc2cf70cbf0 | [
"DOC",
"BSD-3-Clause"
] | 6 | 2020-03-18T08:21:45.000Z | 2021-02-06T14:37:57.000Z | modules/rtp_rtcp/source/rtp_fec_unittest.cc | ebasdee/webrtc | 9b16e2d354e80ca0f2a65ee39464cfc2cf70cbf0 | [
"DOC",
"BSD-3-Clause"
] | 1 | 2017-10-11T23:38:42.000Z | 2017-10-11T23:38:42.000Z | modules/rtp_rtcp/source/rtp_fec_unittest.cc | ebasdee/webrtc | 9b16e2d354e80ca0f2a65ee39464cfc2cf70cbf0 | [
"DOC",
"BSD-3-Clause"
] | 3 | 2018-07-23T04:52:42.000Z | 2021-12-18T07:37:15.000Z | /*
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 40.077887 | 80 | 0.705118 | ebasdee |
606e095d5c9db8eeaa0ce97f8af023d88969b096 | 11,407 | cc | C++ | ma/maAdapt.cc | Thomas-Ulrich/core | 1c7bc7ff994c3570ab22b96d37be0c4c993e5940 | [
"BSD-3-Clause"
] | 138 | 2015-01-05T15:50:20.000Z | 2022-02-25T01:09:58.000Z | ma/maAdapt.cc | Thomas-Ulrich/core | 1c7bc7ff994c3570ab22b96d37be0c4c993e5940 | [
"BSD-3-Clause"
] | 337 | 2015-08-07T18:24:58.000Z | 2022-03-31T14:39:03.000Z | ma/maAdapt.cc | Thomas-Ulrich/core | 1c7bc7ff994c3570ab22b96d37be0c4c993e5940 | [
"BSD-3-Clause"
] | 70 | 2015-01-17T00:58:41.000Z | 2022-02-13T04:58:20.000Z | /******************************************************************************
Copyright 2013 Scientific Computation Research Center,
Rensselaer Polytechnic Institute. All rights reserved.
The LICENSE file included with this distribution describes the terms
of the SCOREC Non-Commercial License this p... | 20.891941 | 80 | 0.628912 | Thomas-Ulrich |
606eb35a624944ad107dc4270b9f2edd05008cff | 900 | hpp | C++ | include/boost/scope_guard/detail/unwrap_decay.hpp | gimesketvirtadieni/boost.scope_guard | c7fe05429350b55fdb0521fb13ee6ad28a4f5e1b | [
"BSL-1.0"
] | null | null | null | include/boost/scope_guard/detail/unwrap_decay.hpp | gimesketvirtadieni/boost.scope_guard | c7fe05429350b55fdb0521fb13ee6ad28a4f5e1b | [
"BSL-1.0"
] | null | null | null | include/boost/scope_guard/detail/unwrap_decay.hpp | gimesketvirtadieni/boost.scope_guard | c7fe05429350b55fdb0521fb13ee6ad28a4f5e1b | [
"BSL-1.0"
] | null | null | null |
// Copyright Yuri Kilochek 2018.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_SCOPE_GUARD_DETAIL_UNWRAP_DECAY_HPP
#define BOOST_SCOPE_GUARD_... | 27.272727 | 79 | 0.592222 | gimesketvirtadieni |
606f1312f806986171292799f803bb22309ca113 | 12,205 | cpp | C++ | tests/merge-swap-reduce.cpp | hguo/diy | 3a3473e8289872903de2763792cc570817a00a3f | [
"BSD-3-Clause-LBNL"
] | null | null | null | tests/merge-swap-reduce.cpp | hguo/diy | 3a3473e8289872903de2763792cc570817a00a3f | [
"BSD-3-Clause-LBNL"
] | null | null | null | tests/merge-swap-reduce.cpp | hguo/diy | 3a3473e8289872903de2763792cc570817a00a3f | [
"BSD-3-Clause-LBNL"
] | null | null | null | #include <cmath>
#include <diy/master.hpp>
#include <diy/reduce.hpp>
#include <diy/partners/merge.hpp>
#include <diy/partners/swap.hpp>
#include <diy/decomposition.hpp>
#include <diy/assigner.hpp>
#define CATCH_CONFIG_RUNNER
#include "catch.hpp"
#include "opts.h"
#include "point.h"
typedef diy::ContinuousBounds... | 38.869427 | 120 | 0.534371 | hguo |
606f49d9a96803b4bca0d4c25978e030bf65805a | 6,599 | cpp | C++ | src/clients/compute/arcstat.cpp | maikenp/arc | 994ec850c73affb75e81ab9056cb8146ba75fa9f | [
"Apache-2.0"
] | null | null | null | src/clients/compute/arcstat.cpp | maikenp/arc | 994ec850c73affb75e81ab9056cb8146ba75fa9f | [
"Apache-2.0"
] | null | null | null | src/clients/compute/arcstat.cpp | maikenp/arc | 994ec850c73affb75e81ab9056cb8146ba75fa9f | [
"Apache-2.0"
] | null | null | null | // -*- indent-tabs-mode: nil -*-
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <iostream>
#include <list>
#include <string>
#include <algorithm>
#include <arc/ArcLocation.h>
#include <arc/IString.h>
#include <arc/Logger.h>
#include <arc/UserConfig.h>
#include <arc/compute/JobInformationStorage.h>
#include... | 33.328283 | 138 | 0.635702 | maikenp |
606f9a2871a8d06d8858a516b095adb3fe965ffa | 1,467 | cpp | C++ | src/OpenSimBindings/StateModifications.cpp | adamkewley/opensim-creator | 322874255166884deb7731b202895a4813fea3b1 | [
"Apache-2.0"
] | 12 | 2021-08-31T08:44:27.000Z | 2022-01-31T14:32:36.000Z | src/OpenSimBindings/StateModifications.cpp | adamkewley/opensim-creator | 322874255166884deb7731b202895a4813fea3b1 | [
"Apache-2.0"
] | 69 | 2021-07-19T10:30:21.000Z | 2022-01-27T15:49:13.000Z | src/OpenSimBindings/StateModifications.cpp | adamkewley/opensim-creator | 322874255166884deb7731b202895a4813fea3b1 | [
"Apache-2.0"
] | null | null | null | #include "StateModifications.hpp"
#include <OpenSim/Simulation/Model/Model.h>
#include <OpenSim/Simulation/SimbodyEngine/Coordinate.h>
void osc::StateModifications::pushCoordinateEdit(const OpenSim::Coordinate& c, const CoordinateEdit& ce) {
m_CoordEdits[c.getAbsolutePathString()] = ce;
}
bool osc::CoordinateEdi... | 24.45 | 106 | 0.61895 | adamkewley |
606febc352736ba3b964ed82fc97ede8b01d6b0b | 227 | hpp | C++ | cegui/src/ScriptModules/Python/bindings/output/CEGUI/LinkedEventArgs.pypp.hpp | OpenTechEngine-Libraries/CEGUI | 6f00952d31f318f9482766d1ad2206cb540a78b9 | [
"MIT"
] | 257 | 2020-01-03T10:13:29.000Z | 2022-03-26T14:55:12.000Z | cegui/src/ScriptModules/Python/bindings/output/CEGUI/LinkedEventArgs.pypp.hpp | OpenTechEngine-Libraries/CEGUI | 6f00952d31f318f9482766d1ad2206cb540a78b9 | [
"MIT"
] | 116 | 2020-01-09T18:13:13.000Z | 2022-03-15T18:32:02.000Z | cegui/src/ScriptModules/Python/bindings/output/CEGUI/LinkedEventArgs.pypp.hpp | OpenTechEngine-Libraries/CEGUI | 6f00952d31f318f9482766d1ad2206cb540a78b9 | [
"MIT"
] | 58 | 2020-01-09T03:07:02.000Z | 2022-03-22T17:21:36.000Z | // This file has been generated by Py++.
#ifndef LinkedEventArgs_hpp__pyplusplus_wrapper
#define LinkedEventArgs_hpp__pyplusplus_wrapper
void register_LinkedEventArgs_class();
#endif//LinkedEventArgs_hpp__pyplusplus_wrapper
| 25.222222 | 47 | 0.863436 | OpenTechEngine-Libraries |
607035db70221be823ec43b2da7f00f9b1c843a5 | 28,286 | cpp | C++ | src/cint3c2e.cpp | Hendiadyoin1/libcxxint | 5cb6fd421ed93f707854c203f9f949f73cdea86f | [
"BSD-2-Clause"
] | null | null | null | src/cint3c2e.cpp | Hendiadyoin1/libcxxint | 5cb6fd421ed93f707854c203f9f949f73cdea86f | [
"BSD-2-Clause"
] | null | null | null | src/cint3c2e.cpp | Hendiadyoin1/libcxxint | 5cb6fd421ed93f707854c203f9f949f73cdea86f | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (C) 2013- Qiming Sun <osirpt.sun@gmail.com>
*
* 3-center 2-electron integrals
*/
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "cint_bas.hpp"
#include "optimizer.hpp"
#include "g2e.hpp"
#include "cint2e.hpp"
#include "misc.hpp"
#include "cart2sph.hpp"
#include "c2f.hpp"
#defin... | 37.464901 | 98 | 0.438662 | Hendiadyoin1 |
607149d354a0037cd6c13feae828c08ab86eb286 | 349 | cpp | C++ | src/Lab04-Functions/VariableScopeDemo.cpp | AGithub457/CompsciSpring2018 | 5663b7aeafd68e96c98036416abe7a9060fb3560 | [
"MIT"
] | null | null | null | src/Lab04-Functions/VariableScopeDemo.cpp | AGithub457/CompsciSpring2018 | 5663b7aeafd68e96c98036416abe7a9060fb3560 | [
"MIT"
] | null | null | null | src/Lab04-Functions/VariableScopeDemo.cpp | AGithub457/CompsciSpring2018 | 5663b7aeafd68e96c98036416abe7a9060fb3560 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int y; // Global variable, default to 0
void t1() {
int x = 1;
cout << "x is " << x << endl;
cout << "y is " << y << endl;
x++;
y++;
}
void t2() {
int x = 1;
cout << "x is " << x << endl;
cout << "y is " << y << endl;
}
int main() {
t1()... | 12.464286 | 39 | 0.429799 | AGithub457 |
60717acb32b8598890da5fdff1fc80434296afe5 | 2,705 | cpp | C++ | Source/component_systems/textheader_system.cpp | gummikana/CardCreator | 9a141ccd9e76a3e49d8fc42cc8deaffed3d3eb39 | [
"MIT"
] | null | null | null | Source/component_systems/textheader_system.cpp | gummikana/CardCreator | 9a141ccd9e76a3e49d8fc42cc8deaffed3d3eb39 | [
"MIT"
] | null | null | null | Source/component_systems/textheader_system.cpp | gummikana/CardCreator | 9a141ccd9e76a3e49d8fc42cc8deaffed3d3eb39 | [
"MIT"
] | null | null | null | #include "textheader_system.h"
#include "../global_data.h"
#include <game_utils/font/cfont.h>
#include <utils/filesystem/filesystem.h>
#include "../misc_utils/font_creator.h"
std::string MakeSureFontExists( const std::string& ttf_file, int size )
{
std::string font_name = ceng::GetFilenameWithoutExtension( ttf_file... | 29.086022 | 106 | 0.68207 | gummikana |
60735d73a2d38c7dd575e06d49d1c2b25d020988 | 14,446 | hpp | C++ | src/libtriton/includes/triton/exceptions.hpp | patacca/Triton | e5b6e089efba6bac0731d9abb306351b150ab872 | [
"Apache-2.0"
] | 2,337 | 2015-06-03T10:26:30.000Z | 2022-03-30T02:42:26.000Z | src/libtriton/includes/triton/exceptions.hpp | patacca/Triton | e5b6e089efba6bac0731d9abb306351b150ab872 | [
"Apache-2.0"
] | 914 | 2015-06-03T10:56:48.000Z | 2022-03-30T11:11:40.000Z | src/libtriton/includes/triton/exceptions.hpp | patacca/Triton | e5b6e089efba6bac0731d9abb306351b150ab872 | [
"Apache-2.0"
] | 521 | 2015-06-03T10:41:15.000Z | 2022-03-26T15:45:08.000Z | //! \file
/*
** Copyright (C) - Triton
**
** This program is under the terms of the Apache License 2.0.
*/
#ifndef TRITON_EXCEPTIONS_H
#define TRITON_EXCEPTIONS_H
#include <exception>
#include <string>
#include <triton/dllexport.hpp>
#include <triton/tritonTypes.hpp>
//! The Triton namespace
namespace triton {
... | 34.070755 | 122 | 0.648069 | patacca |
6073c4fdbc240d0ac293714d558bafdb13ddd89d | 320,752 | cc | C++ | third/libyuv/source/row_gcc.cc | onbings/bofstd | 366ff7f7d8871d5fa5785d5690d90506a7714ecc | [
"MIT"
] | null | null | null | third/libyuv/source/row_gcc.cc | onbings/bofstd | 366ff7f7d8871d5fa5785d5690d90506a7714ecc | [
"MIT"
] | 1 | 2021-03-20T14:46:54.000Z | 2021-03-20T14:47:10.000Z | third/libyuv/source/row_gcc.cc | onbings/bofstd | 366ff7f7d8871d5fa5785d5690d90506a7714ecc | [
"MIT"
] | null | null | null | /*
* Copyright 2011 The LibYuv Project Authors. All rights reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribu... | 44.704111 | 90 | 0.338221 | onbings |
6073e0d6887017e38ef8199f0b96e1e14d736608 | 26,557 | cpp | C++ | external/vulkancts/modules/vulkan/ycbcr/vktYCbCrFilteringTests.cpp | iabernikhin/VK-GL-CTS | a3338eb2ded98b5befda64f9325db0d219095a00 | [
"Apache-2.0"
] | 354 | 2017-01-24T17:12:38.000Z | 2022-03-30T07:40:19.000Z | external/vulkancts/modules/vulkan/ycbcr/vktYCbCrFilteringTests.cpp | iabernikhin/VK-GL-CTS | a3338eb2ded98b5befda64f9325db0d219095a00 | [
"Apache-2.0"
] | 275 | 2017-01-24T20:10:36.000Z | 2022-03-24T16:24:50.000Z | external/vulkancts/modules/vulkan/ycbcr/vktYCbCrFilteringTests.cpp | iabernikhin/VK-GL-CTS | a3338eb2ded98b5befda64f9325db0d219095a00 | [
"Apache-2.0"
] | 190 | 2017-01-24T18:02:04.000Z | 2022-03-27T13:11:23.000Z | /*------------------------------------------------------------------------
* Vulkan Conformance Tests
* ------------------------
*
* Copyright (c) 2020 The Khronos Group Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* ... | 38.712828 | 494 | 0.710509 | iabernikhin |
6073f46ab28e0cc12414337f6ca8cd3e94eb227e | 2,664 | hpp | C++ | cpp/src/traversal/tsp.hpp | ajschmidt8/cugraph | 7ad8fc36254bbc7d1a1dc7d321a93b08a66c26ab | [
"Apache-2.0"
] | null | null | null | cpp/src/traversal/tsp.hpp | ajschmidt8/cugraph | 7ad8fc36254bbc7d1a1dc7d321a93b08a66c26ab | [
"Apache-2.0"
] | null | null | null | cpp/src/traversal/tsp.hpp | ajschmidt8/cugraph | 7ad8fc36254bbc7d1a1dc7d321a93b08a66c26ab | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2021, NVIDIA CORPORATION.
*
* 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 ... | 21.483871 | 75 | 0.698574 | ajschmidt8 |
6075800f99e5905b5bd48ccc527a9c603d497064 | 1,263 | cpp | C++ | LabWork1_Q3_StoreLargeNumber/src/AddBigNumber.cpp | ming0520/DSA---Workspace | ad570544618abb92719278e6ea2a5529445921c3 | [
"MIT"
] | null | null | null | LabWork1_Q3_StoreLargeNumber/src/AddBigNumber.cpp | ming0520/DSA---Workspace | ad570544618abb92719278e6ea2a5529445921c3 | [
"MIT"
] | null | null | null | LabWork1_Q3_StoreLargeNumber/src/AddBigNumber.cpp | ming0520/DSA---Workspace | ad570544618abb92719278e6ea2a5529445921c3 | [
"MIT"
] | null | null | null | /*
* AddBigNumber.cpp
*
* Created on: Dec 1, 2019
* Author: mingb
*/
#include "AddBigNumber.h"
BigNumber AddBigNumber::getSum(){return sum;}
AddBigNumber::AddBigNumber() {
// TODO Auto-generated constructor stub
}
AddBigNumber::AddBigNumber(string num1, string num2) {
// TODO Auto-generated constructor... | 20.370968 | 77 | 0.606492 | ming0520 |
60771e36e225dc7c8b97dc2e6a863babbd1099fd | 84 | cpp | C++ | sourcecode/Runtime/AvailableExternallyVariants.cpp | fabianmuehlboeck/monnom | 609b307d9fa9e6641443f34dbcc0b035b34d3044 | [
"BSD-3-Clause",
"MIT"
] | 2 | 2021-11-16T20:58:02.000Z | 2021-12-05T18:15:41.000Z | sourcecode/Runtime/AvailableExternallyVariants.cpp | fabianmuehlboeck/monnom | 609b307d9fa9e6641443f34dbcc0b035b34d3044 | [
"BSD-3-Clause",
"MIT"
] | null | null | null | sourcecode/Runtime/AvailableExternallyVariants.cpp | fabianmuehlboeck/monnom | 609b307d9fa9e6641443f34dbcc0b035b34d3044 | [
"BSD-3-Clause",
"MIT"
] | null | null | null | #include "AvailableExternallyVariants.h"
namespace Nom
{
namespace Runtime
{
}
} | 10.5 | 40 | 0.75 | fabianmuehlboeck |
607736824a83bbbf4eaa1049e23016932365fd10 | 50,030 | cpp | C++ | vk_order_independent_transparency/main.cpp | yangtzehina/VulkanStudy | 76af12e46ecbba0a2d22812ebec3faa7383b0328 | [
"MIT"
] | 1 | 2021-11-11T13:33:54.000Z | 2021-11-11T13:33:54.000Z | vk_order_independent_transparency/main.cpp | yangtzehina/VulkanStudy | 76af12e46ecbba0a2d22812ebec3faa7383b0328 | [
"MIT"
] | null | null | null | vk_order_independent_transparency/main.cpp | yangtzehina/VulkanStudy | 76af12e46ecbba0a2d22812ebec3faa7383b0328 | [
"MIT"
] | null | null | null | /* Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of cond... | 44.510676 | 162 | 0.653288 | yangtzehina |
6077b312b09069cb40846de5c3a2f38d953b1979 | 2,750 | cpp | C++ | measurer/hotspot-measurer/hotspot/src/share/vm/prims/privilegedStack.cpp | armoredsoftware/protocol | e3b0c1df8bc1027865caec6d117e5925f71f26d2 | [
"BSD-3-Clause"
] | 184 | 2015-01-04T03:38:20.000Z | 2022-03-30T05:47:21.000Z | measurer/hotspot-measurer/hotspot/src/share/vm/prims/privilegedStack.cpp | armoredsoftware/protocol | e3b0c1df8bc1027865caec6d117e5925f71f26d2 | [
"BSD-3-Clause"
] | 1 | 2016-01-17T09:18:17.000Z | 2016-01-17T09:18:17.000Z | measurer/hotspot-measurer/hotspot/src/share/vm/prims/privilegedStack.cpp | armoredsoftware/protocol | e3b0c1df8bc1027865caec6d117e5925f71f26d2 | [
"BSD-3-Clause"
] | 101 | 2015-01-16T23:46:31.000Z | 2022-03-30T05:47:06.000Z | /*
* Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | 33.536585 | 101 | 0.681818 | armoredsoftware |
60780c7e6972069a4829554e5a223f6aaee99c74 | 4,209 | cc | C++ | DQMOffline/PFTau/src/MatchMETBenchmark.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 1 | 2019-08-09T08:42:11.000Z | 2019-08-09T08:42:11.000Z | DQMOffline/PFTau/src/MatchMETBenchmark.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | DQMOffline/PFTau/src/MatchMETBenchmark.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 1 | 2019-04-03T19:23:27.000Z | 2019-04-03T19:23:27.000Z | #include "DQMOffline/PFTau/interface/MatchMETBenchmark.h"
#include "DataFormats/METReco/interface/MET.h"
#include "DataFormats/Candidate/interface/Candidate.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <TROOT.h>
#include <TFile.h>
#include <TH1.h>
#include <TH2.h>
using namespace std;
Mat... | 34.785124 | 144 | 0.652887 | nistefan |
6079aacb7b81178e55ad56a2442cb48a36af633f | 24,124 | cc | C++ | xtp/src/libxtp/libint2_calls.cc | ipelupessy/votca | b0daafb6f503e6a55c878172ef9d68c6639da9e0 | [
"Apache-2.0"
] | null | null | null | xtp/src/libxtp/libint2_calls.cc | ipelupessy/votca | b0daafb6f503e6a55c878172ef9d68c6639da9e0 | [
"Apache-2.0"
] | null | null | null | xtp/src/libxtp/libint2_calls.cc | ipelupessy/votca | b0daafb6f503e6a55c878172ef9d68c6639da9e0 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2009-2021 The VOTCA Development Team
* (http://www.votca.org)
*
* Licensed under the Apache License, Version 2.0 (the "License")
*
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* h... | 37.634945 | 86 | 0.601932 | ipelupessy |
607a661bdf78719090400b32c60cd396d84cb003 | 7,386 | inl | C++ | Library/Sources/Stroika/Foundation/IO/Network/URI.inl | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 28 | 2015-09-22T21:43:32.000Z | 2022-02-28T01:35:01.000Z | Library/Sources/Stroika/Foundation/IO/Network/URI.inl | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 98 | 2015-01-22T03:21:27.000Z | 2022-03-02T01:47:00.000Z | Library/Sources/Stroika/Foundation/IO/Network/URI.inl | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 4 | 2019-02-21T16:45:25.000Z | 2022-02-18T13:40:04.000Z | /*
* Copyright(c) Sophist Solutions, Inc. 1990-2021. All rights reserved
*/
#ifndef _Stroika_Foundation_IO_Network_URI_inl_
#define _Stroika_Foundation_IO_Network_URI_inl_ 1
/*
********************************************************************************
***************************** Implementation Details ***... | 33.880734 | 179 | 0.563499 | SophistSolutions |
607adb939c130cee3d69f755d31fbbb95578b5bf | 1,835 | cpp | C++ | quball/src/sound.cpp | Strilanc/Hand-Qubits | 7fd47010c053b775ec9f8023b42d44917b07ab81 | [
"Apache-2.0"
] | 7 | 2017-09-27T20:07:57.000Z | 2021-11-17T11:35:19.000Z | quball/src/sound.cpp | Strilanc/Hand-Qubits | 7fd47010c053b775ec9f8023b42d44917b07ab81 | [
"Apache-2.0"
] | 10 | 2016-11-18T05:27:22.000Z | 2017-01-26T04:39:09.000Z | quball/src/sound.cpp | Strilanc/Hand-Qubits | 7fd47010c053b775ec9f8023b42d44917b07ab81 | [
"Apache-2.0"
] | 3 | 2016-11-18T05:12:41.000Z | 2021-02-22T01:57:15.000Z | #include <Arduino.h>
#include "sound.h"
static int soundPin = A3;
#define QUEUE_CAP 128
typedef struct {
unsigned long time;
bool val;
} Item;
static Item queue[QUEUE_CAP];
static int queue_start = 0;
static int queue_len = 0;
static unsigned long last_tick_time = 0;
static bool is_ticking = false;
static uns... | 21.588235 | 77 | 0.599455 | Strilanc |
607aff20d02c2a5d5cc315c2bd5541cace1617ce | 1,071 | cxx | C++ | Examples/OpenIGTLinkTrackerBroadcasting/OpenIGTLinkTrackingBroadcasterMainFLTK.cxx | ipa/IGSTK | d31f77b04aa72469e18e8a989ed8316bad39ed7a | [
"BSD-3-Clause"
] | 5 | 2016-02-12T18:55:20.000Z | 2022-02-05T09:23:07.000Z | Examples/OpenIGTLinkTrackerBroadcasting/OpenIGTLinkTrackingBroadcasterMainFLTK.cxx | ipa/IGSTK | d31f77b04aa72469e18e8a989ed8316bad39ed7a | [
"BSD-3-Clause"
] | 1 | 2018-01-26T10:39:31.000Z | 2018-01-26T10:39:31.000Z | Examples/OpenIGTLinkTrackerBroadcasting/OpenIGTLinkTrackingBroadcasterMainFLTK.cxx | ipa/IGSTK | d31f77b04aa72469e18e8a989ed8316bad39ed7a | [
"BSD-3-Clause"
] | 4 | 2017-02-22T07:25:38.000Z | 2021-10-08T22:45:00.000Z | /*=========================================================================
Program: Image Guided Surgery Software Toolkit
Module: OpenIGTLinkTrackingBroadcasterMainFLTK.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) ISC Insight Software Consortium. All rights reserved.
... | 28.945946 | 85 | 0.606909 | ipa |
607aff99fffdf43a7e119defa8158acf5e5d82db | 5,496 | cpp | C++ | Engine/Igneel.D3D10/GraphicBuffer10.cpp | ansel86castro/Igneel | 7a1e6c81e18326aff78be97cc4321f3a610481ff | [
"Apache-2.0"
] | 8 | 2017-03-08T20:20:13.000Z | 2021-12-12T20:20:07.000Z | Engine/Igneel.D3D10/GraphicBuffer10.cpp | ansel86castro/Igneel | 7a1e6c81e18326aff78be97cc4321f3a610481ff | [
"Apache-2.0"
] | null | null | null | Engine/Igneel.D3D10/GraphicBuffer10.cpp | ansel86castro/Igneel | 7a1e6c81e18326aff78be97cc4321f3a610481ff | [
"Apache-2.0"
] | 4 | 2018-09-28T15:45:08.000Z | 2021-03-22T17:15:46.000Z | #include "Stdafx.h"
#include "GraphicBuffer10.h"
#include "Utils.h"
using namespace System::Runtime::InteropServices;
namespace IgneelD3D10
{
GraphicBuffer10::GraphicBuffer10(ID3D10Device* device, ID3D10Buffer * buffer ,
int size,
int stride,
ResourceUsage usage,
CpuAccessFlags cpuAcces,
D3D10_SUBRESO... | 26.423077 | 117 | 0.701783 | ansel86castro |
607eeae14fee09922cf8d7978fc8cd95420712a8 | 7,204 | hpp | C++ | include/range/v3/view/intersperse.hpp | CornedBee/range-v3 | 99a9f5f70e65dfcf6bbc8894bf2a22d8f5d4552a | [
"MIT"
] | null | null | null | include/range/v3/view/intersperse.hpp | CornedBee/range-v3 | 99a9f5f70e65dfcf6bbc8894bf2a22d8f5d4552a | [
"MIT"
] | null | null | null | include/range/v3/view/intersperse.hpp | CornedBee/range-v3 | 99a9f5f70e65dfcf6bbc8894bf2a22d8f5d4552a | [
"MIT"
] | null | null | null | /// \file
// Range v3 library
//
// Copyright Eric Niebler 2013-2014
//
// Use, modification and distribution is subject to 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)
//
// Project home: https://github.com/ericniebler/ra... | 37.915789 | 109 | 0.506802 | CornedBee |
607f071c94b4b4563fe8455c2b720b0e522fc755 | 870 | cpp | C++ | 06_Cpp_Style/extern_leakage/main.cpp | haxpor/APIBook | df34e557ebdd3e0c30fc55fb87dd43c72d393d4c | [
"MIT"
] | 15 | 2020-01-14T21:00:20.000Z | 2022-03-20T08:30:23.000Z | 06_Cpp_Style/extern_leakage/main.cpp | haxpor/APIBook | df34e557ebdd3e0c30fc55fb87dd43c72d393d4c | [
"MIT"
] | 1 | 2019-03-13T01:36:12.000Z | 2019-03-13T01:36:12.000Z | 06_Cpp_Style/extern_leakage/main.cpp | haxpor/APIBook | df34e557ebdd3e0c30fc55fb87dd43c72d393d4c | [
"MIT"
] | 10 | 2019-10-21T03:15:24.000Z | 2021-09-08T01:58:35.000Z | /// -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: t -*-
///
/// \file main.cpp
/// \author Martin Reddy
/// \brief Showing how "internal" details can be leaked.
///
/// Copyright (c) 2010, Martin Reddy. All rights reserved.
/// Distributed under the X11/MIT License. See LICENSE.txt.
/// See http://APIBook.c... | 25.588235 | 71 | 0.698851 | haxpor |
607f142385fd82cf90be57a79d30b84243650780 | 252 | cpp | C++ | src/animation/blend_animation_1d.cpp | hermet/rive-cpp | d69378d97e7d987930c3764655153bf8ddc65966 | [
"MIT"
] | null | null | null | src/animation/blend_animation_1d.cpp | hermet/rive-cpp | d69378d97e7d987930c3764655153bf8ddc65966 | [
"MIT"
] | null | null | null | src/animation/blend_animation_1d.cpp | hermet/rive-cpp | d69378d97e7d987930c3764655153bf8ddc65966 | [
"MIT"
] | null | null | null | #include "animation/blend_animation_1d.hpp"
using namespace rive;
StatusCode BlendAnimation1D::onAddedDirty(CoreContext* context)
{
return StatusCode::Ok;
}
StatusCode BlendAnimation1D::onAddedClean(CoreContext* context)
{
return StatusCode::Ok;
} | 19.384615 | 63 | 0.805556 | hermet |
6080622bfa6412d9d19bf5bb449169fc003eb06f | 9,366 | cpp | C++ | examples/state/vsgdynamictexture/vsgdynamictexture.cpp | andesengineering/vsgExamples | ac7f2e021eaa8ffab6bd16253b5c89015c7bf13f | [
"MIT"
] | null | null | null | examples/state/vsgdynamictexture/vsgdynamictexture.cpp | andesengineering/vsgExamples | ac7f2e021eaa8ffab6bd16253b5c89015c7bf13f | [
"MIT"
] | null | null | null | examples/state/vsgdynamictexture/vsgdynamictexture.cpp | andesengineering/vsgExamples | ac7f2e021eaa8ffab6bd16253b5c89015c7bf13f | [
"MIT"
] | null | null | null | #include <iostream>
#include <vsg/all.h>
void update(vsg::vec4Array2D& image, float value)
{
for (size_t r = 0; r < image.height(); ++r)
{
float r_ratio = static_cast<float>(r) / static_cast<float>(image.height() - 1);
for (size_t c = 0; c < image.width(); ++c)
{
float c_rat... | 43.562791 | 175 | 0.682148 | andesengineering |
608103e91563b132c650163fb8b7aaff1ede0d1b | 1,315 | cpp | C++ | c++/set_mismatch.cpp | SongZhao/leetcode | 4a2b4f554e91f6a2167b336f8a69b80fa9f3f920 | [
"Apache-2.0"
] | null | null | null | c++/set_mismatch.cpp | SongZhao/leetcode | 4a2b4f554e91f6a2167b336f8a69b80fa9f3f920 | [
"Apache-2.0"
] | null | null | null | c++/set_mismatch.cpp | SongZhao/leetcode | 4a2b4f554e91f6a2167b336f8a69b80fa9f3f920 | [
"Apache-2.0"
] | null | null | null | /*
The set S originally contains numbers from 1 to n. But unfortunately, due to the data error, one of the numbers in the set got duplicated to another number in the set, which results in repetition of one number and loss of another number.
Given an array nums representing the data status of this set after the error. ... | 26.836735 | 237 | 0.584791 | SongZhao |
60851ef5cb6b0f0afb15e729b1867ab72786f4d4 | 18,680 | cpp | C++ | profiler.cpp | Svengali/cblib | 77ddfd452cff842575750b9e6d792790f5ec5fee | [
"Zlib"
] | 1 | 2021-05-01T04:34:24.000Z | 2021-05-01T04:34:24.000Z | profiler.cpp | Svengali/cblib | 77ddfd452cff842575750b9e6d792790f5ec5fee | [
"Zlib"
] | null | null | null | profiler.cpp | Svengali/cblib | 77ddfd452cff842575750b9e6d792790f5ec5fee | [
"Zlib"
] | null | null | null | #include "Base.h"
#include "Profiler.h"
#include "Vector.h"
#include "Vecsortedpair.h"
#include "Vector_s.h"
#include "Log.h"
#include "File.h"
#define PROFILE_RECORDS
//#define PROFILE_NODES
/**
PROFILE_NODES : track heirarchical time information in realtime
useful for in-game profile HUD
PROFILE_RECORDS : just ... | 21.771562 | 144 | 0.665685 | Svengali |
60854a47ed51438e20d01d3b7e3cb7809a17ebd3 | 2,381 | cc | C++ | chrome/browser/lacros/web_contents_can_go_back_observer.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 76 | 2020-09-02T03:05:41.000Z | 2022-03-30T04:40:55.000Z | chrome/browser/lacros/web_contents_can_go_back_observer.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 45 | 2020-09-02T03:21:37.000Z | 2022-03-31T22:19:45.000Z | chrome/browser/lacros/web_contents_can_go_back_observer.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 8 | 2020-07-22T18:49:18.000Z | 2022-02-08T10:27:16.000Z | // Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/lacros/web_contents_can_go_back_observer.h"
#include "base/memory/ptr_util.h"
#include "content/public/browser/navigation_detail... | 35.014706 | 80 | 0.784124 | zealoussnow |
608552ed48d3f5c15e79e182bac1bd4e2f0a278c | 15,537 | cpp | C++ | Gems/EMotionFX/Code/EMotionFX/Source/AnimGraphObject.cpp | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-09-13T00:01:12.000Z | 2021-09-13T00:01:12.000Z | Gems/EMotionFX/Code/EMotionFX/Source/AnimGraphObject.cpp | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | null | null | null | Gems/EMotionFX/Code/EMotionFX/Source/AnimGraphObject.cpp | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-07-20T11:07:25.000Z | 2021-07-20T11:07:25.000Z | /*
* Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include <AzCore/Serialization/SerializeContext.h>
#include <AzCore/Serialization/EditContext.h>
#in... | 36.730496 | 320 | 0.624574 | aaarsene |
608645bd649ebef74d717c863bb5c4cf4a8bff98 | 216 | cpp | C++ | test/string_test.cpp | sekiya9311/CplusplusAlgorithmLibrary | f29dbdfbf3594da055185e39765880ff5d1e64ae | [
"Apache-2.0"
] | null | null | null | test/string_test.cpp | sekiya9311/CplusplusAlgorithmLibrary | f29dbdfbf3594da055185e39765880ff5d1e64ae | [
"Apache-2.0"
] | 8 | 2019-04-13T15:11:11.000Z | 2020-03-19T17:14:18.000Z | test/string_test.cpp | sekiya9311/CplusplusAlgorithmLibrary | f29dbdfbf3594da055185e39765880ff5d1e64ae | [
"Apache-2.0"
] | null | null | null | #include <bits/stdc++.h>
#include "../string/rolling_hash.cpp"
#include "../string/split.cpp"
#include "../string/join.cpp"
#include "../string/trie.cpp"
#include "../string/binary_trie.cpp"
void string_test() {
} | 19.636364 | 37 | 0.680556 | sekiya9311 |
6087df6cfdbbd632419966d9f44f5527cd400b5b | 2,814 | cc | C++ | squid/squid3-3.3.8.spaceify/helpers/digest_auth/eDirectory/digest_pw_auth.cc | spaceify/spaceify | 4296d6c93cad32bb735cefc9b8157570f18ffee4 | [
"MIT"
] | 4 | 2015-01-20T15:25:34.000Z | 2017-12-20T06:47:42.000Z | squid/squid3-3.3.8.spaceify/helpers/digest_auth/eDirectory/digest_pw_auth.cc | spaceify/spaceify | 4296d6c93cad32bb735cefc9b8157570f18ffee4 | [
"MIT"
] | 4 | 2015-05-15T09:32:55.000Z | 2016-02-18T13:43:31.000Z | squid/squid3-3.3.8.spaceify/helpers/digest_auth/eDirectory/digest_pw_auth.cc | spaceify/spaceify | 4296d6c93cad32bb735cefc9b8157570f18ffee4 | [
"MIT"
] | null | null | null | /*
* digest_pw_auth.c
*
* AUTHOR: Robert Collins. Based on ncsa_auth.c by Arjan de Vet
* <Arjan.deVet@adv.iae.nl>
* LDAP backend extension by Flavio Pescuma, MARA Systems AB <flavio@marasystems.com>
*
* Example digest authentication program for Squid, based on the original
* proxy_auth code from client_side.c, ... | 27.057692 | 85 | 0.676262 | spaceify |
608819dffeb64853b58365438eff71ac45fa764b | 2,419 | cpp | C++ | transformations/jw/EfficientJW.cpp | zpparks314/xacc-vqe | 37aaadb12d856324532c42ca9f7e56147edbd2e7 | [
"BSD-3-Clause"
] | 14 | 2017-09-15T19:05:11.000Z | 2021-11-04T05:24:51.000Z | transformations/jw/EfficientJW.cpp | zpparks314/xacc-vqe | 37aaadb12d856324532c42ca9f7e56147edbd2e7 | [
"BSD-3-Clause"
] | 25 | 2017-08-08T16:03:55.000Z | 2019-12-22T12:18:27.000Z | transformations/jw/EfficientJW.cpp | zpparks314/xacc-vqe | 37aaadb12d856324532c42ca9f7e56147edbd2e7 | [
"BSD-3-Clause"
] | 17 | 2018-06-25T20:20:16.000Z | 2021-04-03T18:31:44.000Z | #include "EfficientJW.hpp"
#include "XACC.hpp"
#include <ctime>
namespace xacc {
namespace vqe {
std::shared_ptr<IR> EfficientJW::transform(
std::shared_ptr<IR> ir) {
std::complex<double> imag(0,1);
auto fermiKernel = ir->getKernels()[0];
result.clear();
int myStart = 0;
int myEnd = fermiKernel->nInstructi... | 24.434343 | 86 | 0.583299 | zpparks314 |
608acdc2b912ea8d10c5266cef30225a89db6050 | 21,584 | cpp | C++ | libboost-log/src/syslog_backend.cpp | build2-packaging/boost | 203d505dd3ba04ea50785bc8b247a295db5fc718 | [
"BSL-1.0"
] | 4 | 2021-02-23T11:24:33.000Z | 2021-09-11T20:10:46.000Z | libboost-log/src/syslog_backend.cpp | build2-packaging/boost | 203d505dd3ba04ea50785bc8b247a295db5fc718 | [
"BSL-1.0"
] | null | null | null | libboost-log/src/syslog_backend.cpp | build2-packaging/boost | 203d505dd3ba04ea50785bc8b247a295db5fc718 | [
"BSL-1.0"
] | null | null | null | /*
* Copyright Andrey Semashev 2007 - 2020.
* 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)
*/
/*!
* \file syslog_backend.cpp
* \author Andrey Semashev
* \date 08.01.2008
*
* \brie... | 34.151899 | 145 | 0.631996 | build2-packaging |
608c46d0b11020771082aecb9d98c66b654dafc7 | 351 | cpp | C++ | Ass_4/C files/123455.cpp | pratik8696/Assignment | 6fa02f4f7ec135b13dbebea9920eeb2a57bd1489 | [
"MIT"
] | null | null | null | Ass_4/C files/123455.cpp | pratik8696/Assignment | 6fa02f4f7ec135b13dbebea9920eeb2a57bd1489 | [
"MIT"
] | null | null | null | Ass_4/C files/123455.cpp | pratik8696/Assignment | 6fa02f4f7ec135b13dbebea9920eeb2a57bd1489 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main(){
int size;
cin>>size;
int arr[size];
for (int i = 0; i < size; i++)
{
cin>>arr[i];
}
int sum=0;
for (int i = 0; i < size; i++)
{
for (int j = i; j < size; j++)
{
sum =sum+ arr[j];
}
}
... | 15.954545 | 38 | 0.407407 | pratik8696 |
608d7a7339f877b6c70aeb2a7a1cffb8a77b8540 | 2,591 | hh | C++ | tests/Dispatch/SynchronousTaskGroupSpec.hh | GroovyCarrot/hhvm-event-dispatcher | 0140f298c06ce60eeb2f07e7cc1f95aeca5ca853 | [
"MIT"
] | null | null | null | tests/Dispatch/SynchronousTaskGroupSpec.hh | GroovyCarrot/hhvm-event-dispatcher | 0140f298c06ce60eeb2f07e7cc1f95aeca5ca853 | [
"MIT"
] | null | null | null | tests/Dispatch/SynchronousTaskGroupSpec.hh | GroovyCarrot/hhvm-event-dispatcher | 0140f298c06ce60eeb2f07e7cc1f95aeca5ca853 | [
"MIT"
] | null | null | null | <?hh // partial
namespace Tests\GroovyCarrot\Event\Dispatch;
use GroovyCarrot\Event\EventHandling;
use GroovyCarrot\Event\Dispatch\SynchronousTaskGroup;
use Mockery as m;
class SynchronousTaskGroupSpec extends TaskGroupSpec
{
public function __construct()
{
parent::__construct();
$this->grou... | 33.217949 | 109 | 0.526438 | GroovyCarrot |
6093a4faa2c2fb6cde1c589318d3bbeff4e907cd | 2,542 | cpp | C++ | src/blockchain/block.cpp | Derik-T/CPP | adf8ecb11af5bf96d04182b83ae3fa58ca64bc72 | [
"MIT"
] | 1 | 2021-08-28T23:51:52.000Z | 2021-08-28T23:51:52.000Z | src/blockchain/block.cpp | Derik-T/CPP | adf8ecb11af5bf96d04182b83ae3fa58ca64bc72 | [
"MIT"
] | null | null | null | src/blockchain/block.cpp | Derik-T/CPP | adf8ecb11af5bf96d04182b83ae3fa58ca64bc72 | [
"MIT"
] | null | null | null | #ifndef BLOCK_CPP
#define BLOCK_CPP
#include "block.h"
#include "utilities/merkle.cpp"
#include <string>
#include <unistd.h>
#define zeroHash "0000000000000000000000"
Block::Block(int height, int difficulty)
{
this->txCount = 0;
this->height = height;
this->difficulty = difficulty;
this->merkleTop = "";... | 23.109091 | 120 | 0.618411 | Derik-T |
6093e02bf392c46e106e7106022b52113602dc43 | 1,767 | hpp | C++ | segmenttree/trees/acl_range-add-chmax-range-sum.hpp | rsm9/cplib-cpp | 269064381eb259a049236335abb31f8f73ded7f4 | [
"MIT"
] | 4 | 2020-05-13T05:06:22.000Z | 2020-09-18T17:03:36.000Z | segmenttree/trees/acl_range-add-chmax-range-sum.hpp | rsm9/cplib-cpp | 269064381eb259a049236335abb31f8f73ded7f4 | [
"MIT"
] | 1 | 2019-12-11T13:53:17.000Z | 2019-12-11T13:53:17.000Z | segmenttree/trees/acl_range-add-chmax-range-sum.hpp | rsm9/cplib-cpp | 269064381eb259a049236335abb31f8f73ded7f4 | [
"MIT"
] | 3 | 2019-12-11T06:45:45.000Z | 2020-09-07T13:45:32.000Z | #pragma once
#include "../acl_beats.hpp"
// CUT begin
// Verified: http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0427
namespace RangeAddChmaxRangeSum {
#include <algorithm>
template <typename Num>
inline Num second_lowest(Num a, Num a2, Num c, Num c2) noexcept { // a < a2, c < c2
return a == c ? std::m... | 27.184615 | 84 | 0.550085 | rsm9 |
6094d7e569a730467a11fd11744caff6bf3d1475 | 4,479 | cpp | C++ | apps/physx_app.cpp | ArcheGraphics/Arche-cpp | da6770edd4556a920b3f7298f38176107caf7e3a | [
"MIT"
] | 8 | 2022-02-15T12:54:57.000Z | 2022-03-30T16:35:58.000Z | apps/physx_app.cpp | yangfengzzz/DigitalArche | da6770edd4556a920b3f7298f38176107caf7e3a | [
"MIT"
] | null | null | null | apps/physx_app.cpp | yangfengzzz/DigitalArche | da6770edd4556a920b3f7298f38176107caf7e3a | [
"MIT"
] | null | null | null | // Copyright (c) 2022 Feng Yang
//
// I am making my contributions/submissions to this project solely in my
// personal capacity and am not conveying any rights to any intellectual
// property of any third parties.
#include "physx_app.h"
#include "mesh/primitive_mesh.h"
#include "mesh/mesh_renderer.h"
#include "ma... | 35.832 | 121 | 0.692789 | ArcheGraphics |
609982a46d553410d9d473dd886acfa4e4fa338a | 19,701 | cpp | C++ | searchcore/src/vespa/searchcore/proton/server/storeonlydocsubdb.cpp | yehzu/vespa | a439476f948f52a57485f5e7700b17bf9aa73417 | [
"Apache-2.0"
] | null | null | null | searchcore/src/vespa/searchcore/proton/server/storeonlydocsubdb.cpp | yehzu/vespa | a439476f948f52a57485f5e7700b17bf9aa73417 | [
"Apache-2.0"
] | null | null | null | searchcore/src/vespa/searchcore/proton/server/storeonlydocsubdb.cpp | yehzu/vespa | a439476f948f52a57485f5e7700b17bf9aa73417 | [
"Apache-2.0"
] | null | null | null | // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "docstorevalidator.h"
#include "document_subdb_initializer.h"
#include "document_subdb_initializer_result.h"
#include "emptysearchview.h"
#include "i_document_subdb_owner.h"
#include "minimal... | 36.824299 | 126 | 0.716055 | yehzu |
609cd3f2b393d86f10d637d9499f2f190ac43047 | 171 | cpp | C++ | Win.cpp | wkeilsohn/War_of_the_Tulips | 2d591063796760250235919ae7db71658404f330 | [
"MIT"
] | null | null | null | Win.cpp | wkeilsohn/War_of_the_Tulips | 2d591063796760250235919ae7db71658404f330 | [
"MIT"
] | null | null | null | Win.cpp | wkeilsohn/War_of_the_Tulips | 2d591063796760250235919ae7db71658404f330 | [
"MIT"
] | null | null | null | #include "Win.hpp"
Win::Win()
{
Pics p;
}
Win::~Win()
{
// Dealocate Space
}
void Win::showWiner(bool vic, SDL_Renderer& render)
{
p.Victory(render, vic);
} | 10.6875 | 51 | 0.596491 | wkeilsohn |
609d286c5d08e406c88e4a14a08d10e2ec7e20b5 | 902 | hpp | C++ | args/core/math/glm/ext/vector_bool1_precision.hpp | Algo-ryth-mix/Args-Engine | cc5084c5060ff071602cc9e2fdfb52791e65ca5b | [
"MIT"
] | null | null | null | args/core/math/glm/ext/vector_bool1_precision.hpp | Algo-ryth-mix/Args-Engine | cc5084c5060ff071602cc9e2fdfb52791e65ca5b | [
"MIT"
] | null | null | null | args/core/math/glm/ext/vector_bool1_precision.hpp | Algo-ryth-mix/Args-Engine | cc5084c5060ff071602cc9e2fdfb52791e65ca5b | [
"MIT"
] | null | null | null | /// @ref ext_vector_bool1_precision
/// @file glm/ext/vector_bool1_precision.hpp
///
/// @defgroup ext_vector_bool1_precision GLM_EXT_vector_bool1_precision
/// @ingroup ext
///
/// Exposes highp_bvec1, mediump_bvec1 and lowp_bvec1 types.
///
/// Include <glm/ext/vector_bool1_precision.hpp> to use the features of this ... | 25.771429 | 87 | 0.735033 | Algo-ryth-mix |
609ef720231474288fad06a275d670042525852c | 491 | cpp | C++ | cpp/BinaryIndexedTree.cpp | cupro29/cupro-library | 00dff012373d2a35b6645b6e6ff0d0a521ee9077 | [
"MIT"
] | null | null | null | cpp/BinaryIndexedTree.cpp | cupro29/cupro-library | 00dff012373d2a35b6645b6e6ff0d0a521ee9077 | [
"MIT"
] | null | null | null | cpp/BinaryIndexedTree.cpp | cupro29/cupro-library | 00dff012373d2a35b6645b6e6ff0d0a521ee9077 | [
"MIT"
] | null | null | null | #include <vector>
template <class T>
struct BinaryIndexedTree {
BinaryIndexedTree(std::size_t n) : sz(n), d(sz) {}
void add(std::size_t p, T x) {
p++;
while (p <= sz) {
d[p - 1] += x;
p += p & -p;
}
}
T range(std::size_t l, std::size_t r) const { return sum(r) - sum(l); }
T sum(std::si... | 18.884615 | 73 | 0.490835 | cupro29 |
60a0e5be5fc718985d982ecbaaa60598a2c01ade | 803 | cpp | C++ | 3rdParty/boost/1.71.0/libs/hana/test/ext/boost/mpl/integral_c/comparable.cpp | rajeev02101987/arangodb | 817e6c04cb82777d266f3b444494140676da98e2 | [
"Apache-2.0"
] | 12,278 | 2015-01-29T17:11:33.000Z | 2022-03-31T21:12:00.000Z | 3rdParty/boost/1.71.0/libs/hana/test/ext/boost/mpl/integral_c/comparable.cpp | rajeev02101987/arangodb | 817e6c04cb82777d266f3b444494140676da98e2 | [
"Apache-2.0"
] | 9,469 | 2015-01-30T05:33:07.000Z | 2022-03-31T16:17:21.000Z | 3rdParty/boost/1.71.0/libs/hana/test/ext/boost/mpl/integral_c/comparable.cpp | rajeev02101987/arangodb | 817e6c04cb82777d266f3b444494140676da98e2 | [
"Apache-2.0"
] | 1,343 | 2017-12-08T19:47:19.000Z | 2022-03-26T11:31:36.000Z | // Copyright Louis Dionne 2013-2017
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
#include <boost/hana/ext/boost/mpl/integral_c.hpp>
#include <boost/hana/tuple.hpp>
#include <laws/comparable.hpp>
#include <laws/hashable... | 29.740741 | 81 | 0.686177 | rajeev02101987 |