hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 108 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count float64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count float64 1 77k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count float64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 653k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
edda8f308f1510c8fcb5d8dc78057614569da231 | 794 | cpp | C++ | aws-cpp-sdk-connect/source/model/UpdateInstanceAttributeRequest.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-connect/source/model/UpdateInstanceAttributeRequest.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-connect/source/model/UpdateInstanceAttributeRequest.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2022-03-23T15:17:18.000Z | 2022-03-23T15:17:18.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/connect/model/UpdateInstanceAttributeRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Connect::Model;
using namespace Aws::Utils::Json... | 20.358974 | 69 | 0.755668 |
eddb068b4a9f579f10e8deb3e4763c77f909acf7 | 2,423 | cpp | C++ | dev/Code/Framework/AzCore/AzCore/Debug/StackTracer.cpp | stickyparticles/lumberyard | dc523dd780f3cd1874251181b7cf6848b8db9959 | [
"AML"
] | 2 | 2019-11-29T09:04:54.000Z | 2021-03-18T02:34:44.000Z | dev/Code/Framework/AzCore/AzCore/Debug/StackTracer.cpp | JulianoCristian/Lumberyard-3 | dc523dd780f3cd1874251181b7cf6848b8db9959 | [
"AML"
] | null | null | null | dev/Code/Framework/AzCore/AzCore/Debug/StackTracer.cpp | JulianoCristian/Lumberyard-3 | dc523dd780f3cd1874251181b7cf6848b8db9959 | [
"AML"
] | 3 | 2019-05-13T09:41:33.000Z | 2021-04-09T12:12:38.000Z | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 46.596154 | 103 | 0.742881 |
eddba8dcff316a0908619f8e46fe2f8cbf86638c | 6,253 | ipp | C++ | include/stats_incl/prob/plnorm.ipp | JohnGalbraith/stats | 309c0e92d2326a58cad4544124c614e6a8a46079 | [
"Apache-2.0"
] | 381 | 2017-07-16T17:34:02.000Z | 2022-03-30T09:47:58.000Z | include/stats_incl/prob/plnorm.ipp | myhhub/stats | 309c0e92d2326a58cad4544124c614e6a8a46079 | [
"Apache-2.0"
] | 29 | 2017-07-14T20:45:42.000Z | 2022-01-25T20:59:08.000Z | include/stats_incl/prob/plnorm.ipp | myhhub/stats | 309c0e92d2326a58cad4544124c614e6a8a46079 | [
"Apache-2.0"
] | 70 | 2017-10-25T14:16:11.000Z | 2022-01-25T20:57:02.000Z | /*################################################################################
##
## Copyright (C) 2011-2021 Keith O'Hara
##
## This file is part of the StatsLib C++ library.
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance... | 29.356808 | 115 | 0.691028 |
eddcffc19694dcb2ae1dd0da87ee1484aecc6aca | 10,522 | cpp | C++ | src/core/NEON/kernels/arm_conv/depthwise/kernels/sve_fp32_nhwc_3x3_s1_output2x2_mla_depthfirst/generic.cpp | MaximMilashchenko/ComputeLibrary | 91ee4d0a9ef128b16936921470a0e3ffef347536 | [
"MIT"
] | 2,313 | 2017-03-24T16:25:28.000Z | 2022-03-31T03:00:30.000Z | src/core/NEON/kernels/arm_conv/depthwise/kernels/sve_fp32_nhwc_3x3_s1_output2x2_mla_depthfirst/generic.cpp | 0xgpapad/ComputeLibrary | 91ee4d0a9ef128b16936921470a0e3ffef347536 | [
"MIT"
] | 952 | 2017-03-28T07:05:58.000Z | 2022-03-30T09:54:02.000Z | src/core/NEON/kernels/arm_conv/depthwise/kernels/sve_fp32_nhwc_3x3_s1_output2x2_mla_depthfirst/generic.cpp | 0xgpapad/ComputeLibrary | 91ee4d0a9ef128b16936921470a0e3ffef347536 | [
"MIT"
] | 714 | 2017-03-24T22:21:51.000Z | 2022-03-18T19:49:57.000Z | /*
* Copyright (c) 2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
* 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 ... | 41.101563 | 377 | 0.529272 |
eddd0157faf869511f780c3e1521ca932fc1a630 | 7,434 | cpp | C++ | lib/SILGen/SwitchEnumBuilder.cpp | cachemeifyoucan/swift | 6780f3d8c71904ba26c0fca33a1004b5776b9be2 | [
"Apache-2.0"
] | null | null | null | lib/SILGen/SwitchEnumBuilder.cpp | cachemeifyoucan/swift | 6780f3d8c71904ba26c0fca33a1004b5776b9be2 | [
"Apache-2.0"
] | null | null | null | lib/SILGen/SwitchEnumBuilder.cpp | cachemeifyoucan/swift | 6780f3d8c71904ba26c0fca33a1004b5776b9be2 | [
"Apache-2.0"
] | null | null | null | //===--- SwitchEnumBuilder.cpp --------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | 41.530726 | 80 | 0.631558 |
eddea833e533ef3eef3c32489e43f60cbe801c73 | 3,938 | cc | C++ | base/scoped_temp_dir_unittest.cc | Scopetta197/chromium | b7bf8e39baadfd9089de2ebdc0c5d982de4a9820 | [
"BSD-3-Clause"
] | 212 | 2015-01-31T11:55:58.000Z | 2022-02-22T06:35:11.000Z | base/scoped_temp_dir_unittest.cc | 1065672644894730302/Chromium | 239dd49e906be4909e293d8991e998c9816eaa35 | [
"BSD-3-Clause"
] | 5 | 2015-03-27T14:29:23.000Z | 2019-09-25T13:23:12.000Z | base/scoped_temp_dir_unittest.cc | 1065672644894730302/Chromium | 239dd49e906be4909e293d8991e998c9816eaa35 | [
"BSD-3-Clause"
] | 221 | 2015-01-07T06:21:24.000Z | 2022-02-11T02:51:12.000Z | // Copyright (c) 2011 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 <string>
#include "base/file_util.h"
#include "base/platform_file.h"
#include "base/scoped_temp_dir.h"
#include "testing/gtest/include/gtest... | 34.54386 | 80 | 0.711529 |
eddf4f8c2e4feb21dbb18dd4ec6cccfbd6b83858 | 299 | hxx | C++ | unittests/testsrc/subdir/SearchInSubdir.hxx | mgtsai/cmakeduino-test | e471b0b938576ce17400a67c63e658265a9cd871 | [
"Apache-2.0"
] | null | null | null | unittests/testsrc/subdir/SearchInSubdir.hxx | mgtsai/cmakeduino-test | e471b0b938576ce17400a67c63e658265a9cd871 | [
"Apache-2.0"
] | null | null | null | unittests/testsrc/subdir/SearchInSubdir.hxx | mgtsai/cmakeduino-test | e471b0b938576ce17400a67c63e658265a9cd871 | [
"Apache-2.0"
] | null | null | null | //---------------------------------------------------------------------------------------------------------------------
// Copyright (C) 2015, M. G. Tsai.
// ALL RIGHTS RESERVED.
//---------------------------------------------------------------------------------------------------------------------
| 59.8 | 119 | 0.123746 |
ede2e7a54790e442082fb21277b629c73014699b | 3,176 | cpp | C++ | examples/pxScene2d/external/WinSparkle/3rdparty/wxWidgets/src/common/sysopt.cpp | madanagopaltcomcast/pxCore | c4a3a40a190521c8b6383d126c87612eca5b3c42 | [
"Apache-2.0"
] | 471 | 2019-06-26T09:59:09.000Z | 2022-03-30T04:59:42.000Z | examples/pxScene2d/external/WinSparkle/3rdparty/wxWidgets/src/common/sysopt.cpp | madanagopaltcomcast/pxCore | c4a3a40a190521c8b6383d126c87612eca5b3c42 | [
"Apache-2.0"
] | 1,432 | 2017-06-21T04:08:48.000Z | 2020-08-25T16:21:15.000Z | examples/pxScene2d/external/WinSparkle/3rdparty/wxWidgets/src/common/sysopt.cpp | madanagopaltcomcast/pxCore | c4a3a40a190521c8b6383d126c87612eca5b3c42 | [
"Apache-2.0"
] | 317 | 2017-06-20T19:57:17.000Z | 2020-09-16T10:28:30.000Z | /////////////////////////////////////////////////////////////////////////////
// Name: src/common/sysopt.cpp
// Purpose: wxSystemOptions
// Author: Julian Smart
// Modified by:
// Created: 2001-07-10
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////... | 28.357143 | 80 | 0.471977 |
ede71ec889767958aaeaabc0f5d3e3b97c2b0069 | 1,498 | cpp | C++ | samples/SamplesCommon/Parameters.cpp | alarouche/czrpc | cb2d7611d701152ace8e31230f64c0fb12e48276 | [
"MIT"
] | 30 | 2017-06-11T10:36:05.000Z | 2021-09-22T13:09:40.000Z | samples/SamplesCommon/Parameters.cpp | alarouche/czrpc | cb2d7611d701152ace8e31230f64c0fb12e48276 | [
"MIT"
] | 1 | 2018-01-24T09:49:51.000Z | 2018-01-24T09:49:51.000Z | samples/SamplesCommon/Parameters.cpp | alarouche/czrpc | cb2d7611d701152ace8e31230f64c0fb12e48276 | [
"MIT"
] | 6 | 2018-02-16T17:02:48.000Z | 2021-09-22T13:09:44.000Z | /********************************************************************
CrazyGaze (http://www.crazygaze.com)
Author : Rui Figueira
Email : rui@crazygaze.com
purpose:
*********************************************************************/
#include "SamplesCommonPCH.h"
#include "Parameters.h"
namespac... | 16.831461 | 71 | 0.535381 |
edea3c1be60b87c60f412f998c78bc3592f35d15 | 2,402 | cpp | C++ | cpp/godot-cpp/src/gen/Skin.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/Skin.cpp | GDNative-Gradle/proof-of-concept | 162f467430760cf959f68f1638adc663fd05c5fd | [
"MIT"
] | null | null | null | cpp/godot-cpp/src/gen/Skin.cpp | GDNative-Gradle/proof-of-concept | 162f467430760cf959f68f1638adc663fd05c5fd | [
"MIT"
] | null | null | null | #include "Skin.hpp"
#include <core/GodotGlobal.hpp>
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <core/Godot.hpp>
#include "__icalls.hpp"
namespace godot {
Skin::___method_bindings Skin::___mb = {};
void Skin::___init_method_bindings() {
___mb.mb_add_bind = godot::api->godot_method_bind_get... | 36.393939 | 189 | 0.781848 |
edeaaed446c368381793291a8d06207a17f67178 | 17,763 | cc | C++ | third_party/blink/renderer/platform/peerconnection/rtc_video_encoder_test.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/blink/renderer/platform/peerconnection/rtc_video_encoder_test.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/blink/renderer/platform/peerconnection/rtc_video_encoder_test.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 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 <stdint.h>
#include "base/bind.h"
#include "base/logging.h"
#include "base/single_thread_task_runner.h"
#include "base/synchronization/waitable_... | 39.473333 | 82 | 0.660361 |
edeb1b7a00cce0c49960a76b69fe0b8db0f4b374 | 25,545 | cpp | C++ | source/Visitors/TerrainBrush.cpp | badbrainz/pme | 1c8e6f3d154cc59613f5ef3f2f8293f488c64b28 | [
"WTFPL"
] | null | null | null | source/Visitors/TerrainBrush.cpp | badbrainz/pme | 1c8e6f3d154cc59613f5ef3f2f8293f488c64b28 | [
"WTFPL"
] | null | null | null | source/Visitors/TerrainBrush.cpp | badbrainz/pme | 1c8e6f3d154cc59613f5ef3f2f8293f488c64b28 | [
"WTFPL"
] | null | null | null | #include "TerrainBrush.h"
#include "../Kernel/Gateway.h"
#include "../Geometry/Ray3D.h"
#include "../Factories/TerrainVisuals.h"
#include "../Factories/TerrainPasture.h"
#include "../Factories/TerrainLogic.h"
#include "../Factories/WorldVisuals.h"
#include "../Factories/Meadow.h"
#include "../Factories/Water.... | 26.609375 | 125 | 0.542924 |
eded2e795fa3156c2b5aa1f2c9c45077735e4598 | 3,139 | hpp | C++ | IDemo.hpp | Sebajuste/Omeglond3D | 28a3910b47490ec837a29e40e132369f957aedc7 | [
"MIT"
] | 1 | 2019-06-14T08:24:17.000Z | 2019-06-14T08:24:17.000Z | IDemo.hpp | Sebajuste/Omeglond3D | 28a3910b47490ec837a29e40e132369f957aedc7 | [
"MIT"
] | null | null | null | IDemo.hpp | Sebajuste/Omeglond3D | 28a3910b47490ec837a29e40e132369f957aedc7 | [
"MIT"
] | null | null | null | #ifndef _DEF_IDEMO_HPP
#define _DEF_IDEMO_HPP
#include "src/Omgl3D.hpp"
#include <SFML/Window.hpp>
class IDemo
{
public:
IDemo() : width_screen(800), height_screen(600), running(true)
{
}
virtual ~IDemo() {}
virtual void yourEvent(float elapsedtime, const sf::Event & event) {}
void events(float elapsedt... | 22.582734 | 93 | 0.521822 |
eded3f907772be78a364c272f687c920d80a74d5 | 3,765 | cpp | C++ | src/TVShader.cpp | jcmoyer/HALT | 8f31eb1943b43ca0d2ab4065a2c624b67a80124f | [
"Unlicense",
"MIT"
] | null | null | null | src/TVShader.cpp | jcmoyer/HALT | 8f31eb1943b43ca0d2ab4065a2c624b67a80124f | [
"Unlicense",
"MIT"
] | 1 | 2015-06-29T21:53:55.000Z | 2015-06-29T21:53:55.000Z | src/TVShader.cpp | jcmoyer/HALT | 8f31eb1943b43ca0d2ab4065a2c624b67a80124f | [
"Unlicense",
"MIT"
] | null | null | null | // ============================================================================
// Copyright (c) 2011-2012 J.C. Moyer
//
// 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... | 48.896104 | 122 | 0.562019 |
edee2cbf7d760f06dd2c803002d3bf197734c071 | 2,738 | cpp | C++ | source/MeanNormalLikelihood.cpp | vishalbelsare/DIAMONDS | 76409b22c9da782436b52e454a8b36bc78fca6f6 | [
"MIT"
] | null | null | null | source/MeanNormalLikelihood.cpp | vishalbelsare/DIAMONDS | 76409b22c9da782436b52e454a8b36bc78fca6f6 | [
"MIT"
] | null | null | null | source/MeanNormalLikelihood.cpp | vishalbelsare/DIAMONDS | 76409b22c9da782436b52e454a8b36bc78fca6f6 | [
"MIT"
] | null | null | null |
#include "MeanNormalLikelihood.h"
// MeanNormalLikelihood::MeanNormalLikelihood()
//
// PURPOSE:
// Derived class onstructor.
//
// INPUT:
// observations: array containing the dependent variable values
// uncertainties: array containing the uncertainties of the observations
// model: object spe... | 23.401709 | 119 | 0.714025 |
edeea74178b620aff9dcaeb34437bd3eae148ce4 | 14,678 | cpp | C++ | Co-Simulation/Sumo/sumo-1.7.0/src/netedit/elements/additional/GNEBusStop.cpp | uruzahe/carla | 940c2ab23cce1eda1ef66de35f66b42d40865fb1 | [
"MIT"
] | null | null | null | Co-Simulation/Sumo/sumo-1.7.0/src/netedit/elements/additional/GNEBusStop.cpp | uruzahe/carla | 940c2ab23cce1eda1ef66de35f66b42d40865fb1 | [
"MIT"
] | null | null | null | Co-Simulation/Sumo/sumo-1.7.0/src/netedit/elements/additional/GNEBusStop.cpp | uruzahe/carla | 940c2ab23cce1eda1ef66de35f66b42d40865fb1 | [
"MIT"
] | null | null | null | /****************************************************************************/
// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
// Copyright (C) 2001-2020 German Aerospace Center (DLR) and others.
// This program and the accompanying materials are made available under the
// terms of the Ecli... | 40.65928 | 203 | 0.60451 |
edeed1c811c1059e7e4db0580c424807e8d5c783 | 771 | cpp | C++ | 1. Beginner level/TASK #/Inverse_of_a_matrix/solution.cpp | Saiyam7404/Hacktoberfest-2021 | b03fcd65f14880742ba2ff2ec4354fb3e2281529 | [
"MIT"
] | 1 | 2021-10-03T06:29:24.000Z | 2021-10-03T06:29:24.000Z | 1. Beginner level/TASK #/Inverse_of_a_matrix/solution.cpp | Saiyam7404/Hacktoberfest-2021 | b03fcd65f14880742ba2ff2ec4354fb3e2281529 | [
"MIT"
] | null | null | null | 1. Beginner level/TASK #/Inverse_of_a_matrix/solution.cpp | Saiyam7404/Hacktoberfest-2021 | b03fcd65f14880742ba2ff2ec4354fb3e2281529 | [
"MIT"
] | null | null | null | #include<iostream>
using namespace std;
int main(){
int mat[3][3], i, j;
float determinant = 0;
cout<<"Enter elements of matrix row wise:\n";
for(i = 0; i < 3; i++)
for(j = 0; j < 3; j++)
cin>>mat[i][j];
printf("\nGiven matrix is:");
for(i = 0; i < 3; i++){
cout<<"\n";
for(j = 0; j < 3; j++)
cout<<mat[i][j... | 26.586207 | 125 | 0.501946 |
edef4a097eb4ce91d4567df08e1e1433603dd67d | 32,877 | cpp | C++ | T3000/T3ModulesOutputDlg.cpp | daven-que/T3000_Building_Automation_System | cc56967e9bf849ebc5ec47950b74e8dc765f720c | [
"MIT"
] | null | null | null | T3000/T3ModulesOutputDlg.cpp | daven-que/T3000_Building_Automation_System | cc56967e9bf849ebc5ec47950b74e8dc765f720c | [
"MIT"
] | null | null | null | T3000/T3ModulesOutputDlg.cpp | daven-que/T3000_Building_Automation_System | cc56967e9bf849ebc5ec47950b74e8dc765f720c | [
"MIT"
] | null | null | null | // T3ModulesOutputDlg.cpp : implementation file
//
#include "stdafx.h"
#include "T3000.h"
#include "T3ModulesOutputDlg.h"
#include "afxdialogex.h"
#include "global_function.h"
// CT3ModulesOutputDlg dialog
DWORD WINAPI _ReadMultiRegisters_T3_Output(LPVOID pParam)
{
CT3ModulesOutputDlg* pFrame=(CT3ModulesOutputD... | 29.068966 | 138 | 0.52082 |
edf0d3adec736d669ec7476f4a15d48edd902b8d | 693 | hpp | C++ | lib/libcpp/FadalightMesh/FadalightMesh/patchinfo.hpp | beckerrh/simfemsrc | d857eb6f6f8627412d4f9d89a871834c756537db | [
"MIT"
] | null | null | null | lib/libcpp/FadalightMesh/FadalightMesh/patchinfo.hpp | beckerrh/simfemsrc | d857eb6f6f8627412d4f9d89a871834c756537db | [
"MIT"
] | 1 | 2019-01-31T10:59:11.000Z | 2019-01-31T10:59:11.000Z | lib/libcpp/FadalightMesh/FadalightMesh/patchinfo.hpp | beckerrh/simfemsrc | d857eb6f6f8627412d4f9d89a871834c756537db | [
"MIT"
] | null | null | null | #ifndef __FadalightMesh_PatchInfo_h
#define __FadalightMesh_PatchInfo_h
#include "Alat/vector.hpp"
#include "Alat/armadillo.hpp"
/*--------------------------------------------------------------------------*/
namespace FadalightMesh
{
class PatchInfo
{
public:
~PatchInfo();
PatchInfo();
PatchInfo( const PatchI... | 23.896552 | 78 | 0.572872 |
edf30d98197266a8a41a4d0ff63bcc4a00f5a898 | 30,358 | hpp | C++ | Primitives/General/Mat4x4.hpp | jlandess/LandessDevCore | 3319c36c3232415d6bdba7da8b4896c0638badf2 | [
"BSD-3-Clause"
] | 2 | 2021-06-09T00:38:46.000Z | 2021-09-04T21:55:33.000Z | Primitives/General/Mat4x4.hpp | jlandess/LandessDevCore | 3319c36c3232415d6bdba7da8b4896c0638badf2 | [
"BSD-3-Clause"
] | null | null | null | Primitives/General/Mat4x4.hpp | jlandess/LandessDevCore | 3319c36c3232415d6bdba7da8b4896c0638badf2 | [
"BSD-3-Clause"
] | 1 | 2021-08-30T00:46:12.000Z | 2021-08-30T00:46:12.000Z | //
// Mat4x4.h
// DataStructures
//
// Created by James Landess on 11/11/16.
// Copyright (c) 2016 James Landess. All rights reserved.
//
#ifndef DataStructures_Mat4x4_h
#define DataStructures_Mat4x4_h
#include "StaticArray.hpp"
#include "Vec4.hpp"
#include "Mat2x4.hpp"
#include "Mat3x4.hpp"
#include "Mat4x3.hpp"... | 36.531889 | 210 | 0.40164 |
edf4d6c14d2cf3c573aca49985a79226597e3f85 | 5,614 | hpp | C++ | test/parser_default_parameters_extra_args_in_between.hpp | cynodelic/metaflags | 171f09800910a1c20ce8732441e27f33d8d2ce4f | [
"BSL-1.0"
] | null | null | null | test/parser_default_parameters_extra_args_in_between.hpp | cynodelic/metaflags | 171f09800910a1c20ce8732441e27f33d8d2ce4f | [
"BSL-1.0"
] | null | null | null | test/parser_default_parameters_extra_args_in_between.hpp | cynodelic/metaflags | 171f09800910a1c20ce8732441e27f33d8d2ce4f | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2019 Álvaro Ceballos
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt
#ifndef CYNODELIC_METAFLAGS_TEST_PARSER_DEFAULT_PARAMETERS_EXTRA_ARGS_IN_BETWEEN_HPP
#define CYNODELIC_METAFLAGS_TEST_PARSER_DEFAULT_PARAM... | 38.452055 | 97 | 0.731386 |
edf4e86f8a89845491b36e5786f8d7bf6cb4ceac | 2,242 | cpp | C++ | PDFWriter/Trace.cpp | thmclellan/PDF-Writer | 9d31d12ce12e586b4f7f748e17029a10ccc2c176 | [
"Apache-2.0"
] | 1,039 | 2015-01-18T20:03:11.000Z | 2022-03-24T02:46:05.000Z | PDFWriter/Trace.cpp | thmclellan/PDF-Writer | 9d31d12ce12e586b4f7f748e17029a10ccc2c176 | [
"Apache-2.0"
] | 414 | 2015-01-22T15:08:45.000Z | 2022-02-07T13:51:48.000Z | PDFWriter/Trace.cpp | thmclellan/PDF-Writer | 9d31d12ce12e586b4f7f748e17029a10ccc2c176 | [
"Apache-2.0"
] | 209 | 2015-03-30T23:04:26.000Z | 2022-03-28T18:58:47.000Z | /*
Source File : Trace.cpp
Copyright 2011 Gal Kahana PDFWriter
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... | 19.327586 | 97 | 0.706512 |
edf588e5457f30f9518d52db556e6fabe3d044eb | 17,796 | cpp | C++ | src/gui-qt4/libs/seiscomp3/gui/map/rectangularprojection.cpp | yannikbehr/seiscomp3 | ebb44c77092555eef7786493d00ac4efc679055f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | src/gui-qt4/libs/seiscomp3/gui/map/rectangularprojection.cpp | yannikbehr/seiscomp3 | ebb44c77092555eef7786493d00ac4efc679055f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | src/gui-qt4/libs/seiscomp3/gui/map/rectangularprojection.cpp | yannikbehr/seiscomp3 | ebb44c77092555eef7786493d00ac4efc679055f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | /***************************************************************************
* Copyright (C) by GFZ Potsdam *
* *
* You can redistribute and/or modify this program under the *
* terms o... | 22.903475 | 128 | 0.571196 |
edf5ac4512886af5808226f06babb0e66e541335 | 2,158 | cpp | C++ | aws-cpp-sdk-mgn/source/model/IdentificationHints.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-mgn/source/model/IdentificationHints.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-mgn/source/model/IdentificationHints.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-12-30T04:25:33.000Z | 2021-12-30T04:25:33.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/mgn/model/IdentificationHints.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
names... | 17.983333 | 72 | 0.712697 |
edfca4da0ac988ec35bb064d320585eb1bd51517 | 2,041 | hpp | C++ | sdk/include/vill_runtime.hpp | qianxj/XExplorer | 00e326da03ffcaa21115a2345275452607c6bab5 | [
"MIT"
] | null | null | null | sdk/include/vill_runtime.hpp | qianxj/XExplorer | 00e326da03ffcaa21115a2345275452607c6bab5 | [
"MIT"
] | null | null | null | sdk/include/vill_runtime.hpp | qianxj/XExplorer | 00e326da03ffcaa21115a2345275452607c6bab5 | [
"MIT"
] | null | null | null | #ifndef WPP_VILL_RUNTIME_H
#define WPP_VILL_RUNTIME_H
#include <vector>
#include "wlexer.hpp"
#include "werr.hpp"
#include "errors.hpp"
using namespace wpp;
using namespace wpp::how;
namespace mill{
struct vill_type
{
typedef unsigned char int_u8;
typedef unsigned short int_u16;
typedef unsigned int int_u32;
... | 20.826531 | 93 | 0.721215 |
edfd13d9bfd361bf7b8d660786bd30f12d8a3887 | 3,257 | cpp | C++ | src/qt/qtbase/src/platformsupport/fbconvenience/qfbvthandler.cpp | viewdy/phantomjs | eddb0db1d253fd0c546060a4555554c8ee08c13c | [
"BSD-3-Clause"
] | 1 | 2021-02-09T10:24:31.000Z | 2021-02-09T10:24:31.000Z | src/qt/qtbase/src/platformsupport/fbconvenience/qfbvthandler.cpp | mrampersad/phantomjs | dca6f77a36699eb4e1c46f7600cca618f01b0ac3 | [
"BSD-3-Clause"
] | null | null | null | src/qt/qtbase/src/platformsupport/fbconvenience/qfbvthandler.cpp | mrampersad/phantomjs | dca6f77a36699eb4e1c46f7600cca618f01b0ac3 | [
"BSD-3-Clause"
] | 1 | 2017-03-19T13:03:23.000Z | 2017-03-19T13:03:23.000Z | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the plugins of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holdi... | 29.080357 | 77 | 0.691741 |
edfd4cd91aa90cab43923857b0fa64373512c528 | 529 | cc | C++ | src/chrome/browser/android/tab_android_test_stubs.cc | jxjnjjn/chromium | 435c1d02fd1b99001dc9e1e831632c894523580d | [
"Apache-2.0"
] | 9 | 2018-09-21T05:36:12.000Z | 2021-11-15T15:14:36.000Z | chrome/browser/android/tab_android_test_stubs.cc | devasia1000/chromium | 919a8a666862fb866a6bb7aa7f3ae8c0442b4828 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2015-02-02T06:55:08.000Z | 2016-01-20T06:11:59.000Z | chrome/browser/android/tab_android_test_stubs.cc | devasia1000/chromium | 919a8a666862fb866a6bb7aa7f3ae8c0442b4828 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 3 | 2018-11-28T14:54:13.000Z | 2020-07-02T07:36:07.000Z | // Copyright (c) 2012 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.
// This file contains stubs for some Chrome for Android specific code that is
// needed to compile some tests.
#include "chrome/browser/android/tab_a... | 27.842105 | 77 | 0.754253 |
edfd7a28c843e40343ea0a65db8f777051851afb | 1,565 | cpp | C++ | plugins/community/repos/JW-Modules/src/JWModules.cpp | guillaume-plantevin/VeeSeeVSTRack | 76fafc8e721613669d6f5ae82a0f58ce923a91e1 | [
"Zlib",
"BSD-3-Clause"
] | 233 | 2018-07-02T16:49:36.000Z | 2022-02-27T21:45:39.000Z | plugins/community/repos/JW-Modules/src/JWModules.cpp | guillaume-plantevin/VeeSeeVSTRack | 76fafc8e721613669d6f5ae82a0f58ce923a91e1 | [
"Zlib",
"BSD-3-Clause"
] | 24 | 2018-07-09T11:32:15.000Z | 2022-01-07T01:45:43.000Z | plugins/community/repos/JW-Modules/src/JWModules.cpp | guillaume-plantevin/VeeSeeVSTRack | 76fafc8e721613669d6f5ae82a0f58ce923a91e1 | [
"Zlib",
"BSD-3-Clause"
] | 24 | 2018-07-14T21:55:30.000Z | 2021-05-04T04:20:34.000Z | #include "JWModules.hpp"
RACK_PLUGIN_MODEL_DECLARE(JW_Modules, BlankPanelSmall);
RACK_PLUGIN_MODEL_DECLARE(JW_Modules, BlankPanelMedium);
RACK_PLUGIN_MODEL_DECLARE(JW_Modules, BlankPanelLarge);
RACK_PLUGIN_MODEL_DECLARE(JW_Modules, Cat);
RACK_PLUGIN_MODEL_DECLARE(JW_Modules, BouncyBalls);
RACK_PLUGIN_MODEL_DECLARE(JW_... | 41.184211 | 71 | 0.851757 |
610225e400813be30b8aef719cc410c2e1d47bc2 | 27,534 | hpp | C++ | test/fixtures/cpp-root/external/geode-nativeclient-9.1/include/geode/CacheableBuiltins.hpp | Pivotal-Field-Engineering/cpp-buildpack | 17f03c5c5019073397cdb6aba5b9d630c85e33ea | [
"Apache-2.0"
] | 1 | 2019-05-29T01:20:58.000Z | 2019-05-29T01:20:58.000Z | test/fixtures/cpp-root/external/geode-nativeclient-9.1/include/geode/CacheableBuiltins.hpp | Pivotal-Field-Engineering/cpp-buildpack | 17f03c5c5019073397cdb6aba5b9d630c85e33ea | [
"Apache-2.0"
] | null | null | null | test/fixtures/cpp-root/external/geode-nativeclient-9.1/include/geode/CacheableBuiltins.hpp | Pivotal-Field-Engineering/cpp-buildpack | 17f03c5c5019073397cdb6aba5b9d630c85e33ea | [
"Apache-2.0"
] | null | null | null | #pragma once
#ifndef GEODE_CACHEABLEBUILTINS_H_
#define GEODE_CACHEABLEBUILTINS_H_
/*
* 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 license... | 39.16643 | 80 | 0.61237 |
61031ac5703be3b9d58c60c5fb3a0873902273d3 | 3,887 | hpp | C++ | Frame/SDK/Core/AFRWLock.hpp | zyb2013/ARK | d4f8b9cbeb4ec22c0b7a66396501e8dcc71a6aeb | [
"Apache-2.0"
] | null | null | null | Frame/SDK/Core/AFRWLock.hpp | zyb2013/ARK | d4f8b9cbeb4ec22c0b7a66396501e8dcc71a6aeb | [
"Apache-2.0"
] | null | null | null | Frame/SDK/Core/AFRWLock.hpp | zyb2013/ARK | d4f8b9cbeb4ec22c0b7a66396501e8dcc71a6aeb | [
"Apache-2.0"
] | 1 | 2019-09-09T21:26:59.000Z | 2019-09-09T21:26:59.000Z | /*
* This source file is part of ArkGameFrame
* For the latest info, see https://github.com/ArkGame
*
* Copyright (c) 2013-2018 ArkGame 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 ... | 23 | 74 | 0.581425 |
61035e572c4d4f3462a25672f11baa47330bc2cf | 28,079 | cpp | C++ | Checkpoint.cpp | lighthouse-os/system_vold | a6410826bfb872d3b2a52cff063b271fef133e54 | [
"Apache-2.0"
] | null | null | null | Checkpoint.cpp | lighthouse-os/system_vold | a6410826bfb872d3b2a52cff063b271fef133e54 | [
"Apache-2.0"
] | null | null | null | Checkpoint.cpp | lighthouse-os/system_vold | a6410826bfb872d3b2a52cff063b271fef133e54 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2018 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 37.488652 | 99 | 0.635671 |
610411775e48998fe94d2266f16faa552b075df6 | 220 | cpp | C++ | NonOpt/tests/testPoint.cpp | frankecurtis/NonOpt | f81ff1c818dcde382cf6045a671bf8bc1d3a3467 | [
"MIT"
] | 4 | 2021-06-27T18:13:59.000Z | 2022-01-25T00:36:56.000Z | NonOpt/tests/testPoint.cpp | frankecurtis/NonOpt | f81ff1c818dcde382cf6045a671bf8bc1d3a3467 | [
"MIT"
] | null | null | null | NonOpt/tests/testPoint.cpp | frankecurtis/NonOpt | f81ff1c818dcde382cf6045a671bf8bc1d3a3467 | [
"MIT"
] | 1 | 2021-06-27T18:14:02.000Z | 2021-06-27T18:14:02.000Z | // Copyright (C) 2022 Frank E. Curtis
//
// This code is published under the MIT License.
//
// Author(s) : Frank E. Curtis
#include "testPoint.hpp"
// Main function
int main()
{
return testPointImplementation(1);
}
| 15.714286 | 48 | 0.681818 |
61049f69be37617afa2968b10a34abecbfb62b3a | 1,500 | cpp | C++ | FantasyBrawl_Project/Motor2D/UI_Clock.cpp | project2-tmp/Base_Code | 72cd8b375a912c2760e62f273c74de7c0c6d939e | [
"MIT"
] | 6 | 2019-04-14T18:17:35.000Z | 2021-07-29T02:22:24.000Z | FantasyBrawl_Project/Motor2D/UI_Clock.cpp | project2-tmp/Base_Code | 72cd8b375a912c2760e62f273c74de7c0c6d939e | [
"MIT"
] | 7 | 2019-03-21T22:00:20.000Z | 2019-06-12T00:37:31.000Z | FantasyBrawl_Project/Motor2D/UI_Clock.cpp | CheckTheDog/Fantasy-Brawl | 72cd8b375a912c2760e62f273c74de7c0c6d939e | [
"MIT"
] | 2 | 2019-11-18T09:13:31.000Z | 2021-02-03T21:02:52.000Z | #include "UI_Clock.h"
#include "j1App.h"
#include "j1Render.h"
#include "j1Gui.h"
#include "Brofiler\Brofiler.h"
void Clock::setStartValue(int new_start_value)
{
start_value = new_start_value;
}
void Clock::setAlarm(int alarm)
{
alarms.push_back(alarm);
}
void Clock::restartChrono()
{
switch (this->type)
{
cas... | 18.072289 | 69 | 0.637333 |
610b46c5733d2a5a9c820a4c7717ed352c7bb78f | 899 | cpp | C++ | Box3D/src/TextureBuffer.cpp | Campeanu/Box3D | 2b1bb5b7b3bd66cbe6a32d910ce56ba41023dcec | [
"MIT"
] | 1 | 2020-07-20T15:55:43.000Z | 2020-07-20T15:55:43.000Z | Box3D/src/TextureBuffer.cpp | Campeanu/Box3D | 2b1bb5b7b3bd66cbe6a32d910ce56ba41023dcec | [
"MIT"
] | null | null | null | Box3D/src/TextureBuffer.cpp | Campeanu/Box3D | 2b1bb5b7b3bd66cbe6a32d910ce56ba41023dcec | [
"MIT"
] | null | null | null | #include <Box3D/Renderer/TextureBuffer.hpp>
namespace box3d {
TextureBuffer::TextureBuffer()
{
glGenTextures(1, &this->m_rendererID);
glBindTexture(GL_TEXTURE_2D, this->m_rendererID);
}
TextureBuffer::~TextureBuffer()
{
}
void TextureBuffer::createTexImage2D(box3d::Appli... | 23.051282 | 139 | 0.668521 |
610db94c6406ed230e555896ad6e1363f96da9b6 | 393 | hpp | C++ | deps/boost/include/boost/graph/detail/empty_header.hpp | kindlychung/mediasoup-sfu-cpp | f69d2f48f7edbf4f0c57244280a47bea985f39cf | [
"Apache-2.0"
] | 80 | 2021-09-07T12:44:32.000Z | 2022-03-29T01:22:19.000Z | deps/boost/include/boost/graph/detail/empty_header.hpp | kindlychung/mediasoup-sfu-cpp | f69d2f48f7edbf4f0c57244280a47bea985f39cf | [
"Apache-2.0"
] | 2 | 2021-12-23T02:49:42.000Z | 2022-02-15T05:28:24.000Z | deps/boost/include/boost/graph/detail/empty_header.hpp | kindlychung/mediasoup-sfu-cpp | f69d2f48f7edbf4f0c57244280a47bea985f39cf | [
"Apache-2.0"
] | 25 | 2021-09-14T06:24:25.000Z | 2022-03-20T06:55:07.000Z | #ifndef BOOST_GRAPH_DETAIL_EMPTY_HEADER_HPP_INCLUDED
#define BOOST_GRAPH_DETAIL_EMPTY_HEADER_HPP_INCLUDED
// Copyright 2018 Peter Dimov
//
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0 (See accompanying file
// LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0... | 35.727273 | 63 | 0.804071 |
610f458c09000c569e26b8984cdb126628f11bb9 | 4,459 | hpp | C++ | src/3rd party/boost/boost/python/object/inheritance.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 8 | 2016-01-25T20:18:51.000Z | 2019-03-06T07:00:04.000Z | src/3rd party/boost/boost/python/object/inheritance.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | null | null | null | src/3rd party/boost/boost/python/object/inheritance.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 3 | 2016-02-14T01:20:43.000Z | 2021-02-03T11:19:11.000Z | // Copyright David Abrahams 2002. Permission to copy, use,
// modify, sell and distribute this software is granted provided this
// copyright notice appears in all copies. This software is provided
// "as is" without express or implied warranty, and with no claim as
// to its suitability for any purpose.
#ifndef INHERI... | 28.767742 | 79 | 0.705539 |
611314e88ba3e5f3b90ccc91ccf45e4fadfa70d0 | 9,694 | cpp | C++ | src/MainBackTracking.cpp | DarioDaF/ASS_TOP | 0438a3deb9ca3b906c4cd7a923c598a7786fe4ec | [
"CC-BY-4.0"
] | 1 | 2020-10-25T07:14:48.000Z | 2020-10-25T07:14:48.000Z | src/MainBackTracking.cpp | DarioDaF/ASS_TOP | 0438a3deb9ca3b906c4cd7a923c598a7786fe4ec | [
"CC-BY-4.0"
] | null | null | null | src/MainBackTracking.cpp | DarioDaF/ASS_TOP | 0438a3deb9ca3b906c4cd7a923c598a7786fe4ec | [
"CC-BY-4.0"
] | 2 | 2020-10-02T12:24:38.000Z | 2020-10-25T07:00:24.000Z | #include <fstream>
#include <sstream>
#include <filesystem>
#include <string>
#include <algorithm>
#include <vector>
#include "backTracking/TOP_Backtracking.hpp"
#include "greedy/GreedyPaths.hpp"
using namespace std;
namespace fs = std::filesystem;
/**
* Struct that represent Chao's results
*/
stru... | 37.573643 | 136 | 0.583454 |
61141b5b467eae9d8a3d1dac9687fe78e6c2a95b | 3,214 | cpp | C++ | isaac_variant_caller/src/lib/blt_util/istream_line_splitter.cpp | sequencing/isaac_variant_caller | ed24e20b097ee04629f61014d3b81a6ea902c66b | [
"BSL-1.0"
] | 21 | 2015-01-09T01:11:28.000Z | 2019-09-04T03:48:21.000Z | isaac_variant_caller/src/lib/blt_util/istream_line_splitter.cpp | sequencing/isaac_variant_caller | ed24e20b097ee04629f61014d3b81a6ea902c66b | [
"BSL-1.0"
] | 4 | 2015-07-23T09:38:39.000Z | 2018-02-01T05:37:26.000Z | isaac_variant_caller/src/lib/blt_util/istream_line_splitter.cpp | sequencing/isaac_variant_caller | ed24e20b097ee04629f61014d3b81a6ea902c66b | [
"BSL-1.0"
] | 13 | 2015-01-29T16:41:26.000Z | 2021-06-25T02:42:32.000Z | // -*- mode: c++; indent-tabs-mode: nil; -*-
//
// Copyright (c) 2009-2013 Illumina, Inc.
//
// This software is provided under the terms and conditions of the
// Illumina Open Source Software License 1.
//
// You should have received a copy of the Illumina Open Source
// Software License 1 along with this program. If ... | 22.633803 | 101 | 0.574673 |
61156337b8c0e2c4f61baf2c1ed44e0641c7cc21 | 7,791 | hpp | C++ | src/Engine/Renderer/RenderTechnique/RenderTechnique.hpp | nmellado/Radium-Engine | 6e42e4be8d14bcd496371a5f58d483f7d03f9cf4 | [
"Apache-2.0"
] | null | null | null | src/Engine/Renderer/RenderTechnique/RenderTechnique.hpp | nmellado/Radium-Engine | 6e42e4be8d14bcd496371a5f58d483f7d03f9cf4 | [
"Apache-2.0"
] | null | null | null | src/Engine/Renderer/RenderTechnique/RenderTechnique.hpp | nmellado/Radium-Engine | 6e42e4be8d14bcd496371a5f58d483f7d03f9cf4 | [
"Apache-2.0"
] | null | null | null | #ifndef RADIUMENGINE_RENDERTECHNIQUE_HPP
#define RADIUMENGINE_RENDERTECHNIQUE_HPP
#include <Engine/RaEngine.hpp>
#include <Engine/Renderer/RenderTechnique/ShaderConfiguration.hpp>
#include <memory>
#include <map>
#include <functional>
namespace Ra {
namespace Engine {
class ShaderProgram;
... | 48.391304 | 139 | 0.583237 |
611749d79751c8e45b0f44c0693379bee1e65e8e | 8,269 | cxx | C++ | vital/tools/config_explorer.cxx | aaron-bray/kwiver | be55ec5a511ba5b9f2af94b268ac5f9a657accc4 | [
"BSD-3-Clause"
] | null | null | null | vital/tools/config_explorer.cxx | aaron-bray/kwiver | be55ec5a511ba5b9f2af94b268ac5f9a657accc4 | [
"BSD-3-Clause"
] | null | null | null | vital/tools/config_explorer.cxx | aaron-bray/kwiver | be55ec5a511ba5b9f2af94b268ac5f9a657accc4 | [
"BSD-3-Clause"
] | null | null | null | /*ckwg +29
* Copyright 2016 by Kitware, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of... | 36.267544 | 113 | 0.603942 |
611804bc06cfdcc8aacb073d92f8163593ef0a30 | 54,166 | cpp | C++ | core/src/fpdfapi/fpdf_render/fpdf_render.cpp | NDevTK/PDFium | ba665a1a77edcd3fdcaa2173a4233680113a9bed | [
"BSD-3-Clause"
] | 303 | 2015-03-13T08:31:24.000Z | 2022-03-21T10:06:45.000Z | core/src/fpdfapi/fpdf_render/fpdf_render.cpp | speedyzhou/PDFium-2 | ee6088e63bfdee81153ef1eeec9b90e42c87064f | [
"BSD-3-Clause"
] | 8 | 2021-07-11T08:05:25.000Z | 2022-02-11T03:38:22.000Z | core/src/fpdfapi/fpdf_render/fpdf_render.cpp | speedyzhou/PDFium-2 | ee6088e63bfdee81153ef1eeec9b90e42c87064f | [
"BSD-3-Clause"
] | 100 | 2015-03-13T08:28:56.000Z | 2022-02-18T03:19:39.000Z | // Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "../../../include/fpdfapi/fpdf_render.h"
#include "../../../include/... | 36.377435 | 164 | 0.626389 |
61181e255dba50705ff9e8c1f1abbb38f943af9f | 3,091 | cpp | C++ | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcBoundaryCurve.cpp | promethe42/ifcplusplus | 1c8b51b1f870f0107538dbea5eaa2755c81f5dca | [
"MIT"
] | null | null | null | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcBoundaryCurve.cpp | promethe42/ifcplusplus | 1c8b51b1f870f0107538dbea5eaa2755c81f5dca | [
"MIT"
] | null | null | null | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcBoundaryCurve.cpp | promethe42/ifcplusplus | 1c8b51b1f870f0107538dbea5eaa2755c81f5dca | [
"MIT"
] | null | null | null | /* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */
#include <sstream>
#include <limits>
#include "ifcpp/model/AttributeObject.h"
#include "ifcpp/model/BuildingException.h"
#include "ifcpp/model/BuildingGuid.h"
#include "ifcpp/reader/ReaderUtil.h"
#include "ifcpp/writer/WriterUtil.h"
#include... | 46.134328 | 234 | 0.748302 |
611bac00a3264f6058c1cfbcd0fac6fd9a2e3fd0 | 3,191 | cc | C++ | app_ipc_scheduler/shm_sem.cc | xyyeh/Cpp_tutorials | cb5c750a61013d252e1a7e53100690315bfa931b | [
"Unlicense"
] | 1 | 2019-12-04T06:03:10.000Z | 2019-12-04T06:03:10.000Z | app_ipc_scheduler/shm_sem.cc | xyyeh/cpp_tutorials | cb5c750a61013d252e1a7e53100690315bfa931b | [
"Unlicense"
] | null | null | null | app_ipc_scheduler/shm_sem.cc | xyyeh/cpp_tutorials | cb5c750a61013d252e1a7e53100690315bfa931b | [
"Unlicense"
] | null | null | null | #include "shm_sem.h"
#include <errno.h>
#include <sys/mman.h>
#include <sys/types.h>
#include <unistd.h>
#include <cstdio>
#include <cstdlib>
#include <iostream>
const std::string ShmSemaphore::sLockSemaphoreName = "/semaphoreInit";
ShmSemaphore::ShmSemaphore(const std::string& sName)
: name_(sName), ptr_(nullp... | 26.371901 | 80 | 0.614854 |
611c1e7b0d7ba67d1acff4e21384108bd224e246 | 13,543 | cpp | C++ | build/externals/build_tbb/src/tbbmalloc/backref.cpp | adityaddy/GSoC_CernVM-FS | cd4dd6937eb4b862f1128a236d394e4734db0b75 | [
"Apache-2.0",
"BSD-3-Clause"
] | 20 | 2015-05-08T02:43:27.000Z | 2018-03-08T11:08:17.000Z | build/externals/build_tbb/src/tbbmalloc/backref.cpp | adityaddy/GSoC_CernVM-FS | cd4dd6937eb4b862f1128a236d394e4734db0b75 | [
"Apache-2.0",
"BSD-3-Clause"
] | 5 | 2015-05-06T23:43:04.000Z | 2015-08-13T19:14:37.000Z | build/externals/build_tbb/src/tbbmalloc/backref.cpp | adityaddy/GSoC_CernVM-FS | cd4dd6937eb4b862f1128a236d394e4734db0b75 | [
"Apache-2.0",
"BSD-3-Clause"
] | 3 | 2015-07-07T18:44:07.000Z | 2018-10-26T19:36:50.000Z | /*
Copyright 2005-2014 Intel Corporation. All Rights Reserved.
This file is part of Threading Building Blocks. Threading Building Blocks is free software;
you can redistribute it and/or modify it under the terms of the GNU General Public License
version 2 as published by the Free Software Foundat... | 41.542945 | 109 | 0.650742 |
611fa4ac41a6851dcbe458a1a7832aa58ac77640 | 35,105 | cc | C++ | tensorflow/core/kernels/training_ops.cc | vsilyaev/tensorflow | f41959ccb2d9d4c722fe8fc3351401d53bcf4900 | [
"Apache-2.0"
] | 4 | 2021-06-11T09:43:32.000Z | 2021-11-17T11:15:52.000Z | tensorflow/core/kernels/training_ops.cc | cleargraphinc/tensorflow | 21fac39c471dede0e4ae62dd60e2b0b85db48415 | [
"Apache-2.0"
] | null | null | null | tensorflow/core/kernels/training_ops.cc | cleargraphinc/tensorflow | 21fac39c471dede0e4ae62dd60e2b0b85db48415 | [
"Apache-2.0"
] | 2 | 2016-05-18T12:48:06.000Z | 2019-03-30T03:56:31.000Z | #define EIGEN_USE_THREADS
#include "tensorflow/core/kernels/training_ops.h"
#include "tensorflow/core/framework/op_kernel.h"
namespace tensorflow {
typedef Eigen::ThreadPoolDevice CPUDevice;
typedef Eigen::GpuDevice GPUDevice;
namespace functor {
static inline bool DoInline(int64 size) { return size <= (256ll << ... | 39.666667 | 80 | 0.579234 |
6120212e344a69fbb446a123d1d724c58b9aae7b | 4,487 | cpp | C++ | src/3rdparty/opennurbs/opennurbs_sum.cpp | ouxianghui/ezcam | 195fb402202442b6d035bd70853f2d8c3f615de1 | [
"MIT"
] | 12 | 2021-03-26T03:23:30.000Z | 2021-12-31T10:05:44.000Z | src/3rdparty/opennurbs/opennurbs_sum.cpp | 15831944/ezcam | 195fb402202442b6d035bd70853f2d8c3f615de1 | [
"MIT"
] | null | null | null | src/3rdparty/opennurbs/opennurbs_sum.cpp | 15831944/ezcam | 195fb402202442b6d035bd70853f2d8c3f615de1 | [
"MIT"
] | 9 | 2021-06-23T08:26:40.000Z | 2022-01-20T07:18:10.000Z | /* $NoKeywords: $ */
/*
//
// Copyright (c) 1993-2007 Robert McNeel & Associates. All rights reserved.
// Rhinoceros is a registered trademark of Robert McNeel & Assoicates.
//
// THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY.
// ALL IMPLIED WARRANTIES OF FITNESS FOR ANY PARTICULAR PURPOSE AND O... | 22.77665 | 84 | 0.605973 |
6120ab687cee271ca7b08ec5588be7eafbc170b0 | 1,731 | cpp | C++ | datasets/github_cpp_10/7/62.cpp | yijunyu/demo-fast | 11c0c84081a3181494b9c469bda42a313c457ad2 | [
"BSD-2-Clause"
] | 1 | 2019-05-03T19:27:45.000Z | 2019-05-03T19:27:45.000Z | datasets/github_cpp_10/7/62.cpp | yijunyu/demo-vscode-fast | 11c0c84081a3181494b9c469bda42a313c457ad2 | [
"BSD-2-Clause"
] | null | null | null | datasets/github_cpp_10/7/62.cpp | yijunyu/demo-vscode-fast | 11c0c84081a3181494b9c469bda42a313c457ad2 | [
"BSD-2-Clause"
] | null | null | null | #include <iostream>
#include <stdlib.h>
#include <math.h>
using namespace std;
int result_array[] = {0,0,1,4,6,8,9,7,2,13,12};
int array[] = {1,2,3,4,5,6};
int elements = 6;
int merge_sort(int inArray[], int total_elements, bool count_inversion)
{
int inversion = 0;
if (total_elements <= 1 ) {
return 1... | 16.805825 | 87 | 0.558637 |
612162de4c5e1dd79b5da101291f113d4f8c40e9 | 22,412 | cpp | C++ | ControlWnd.cpp | Memotech-Bill/CamTest | 5b45ed610ba84ce4ef6feb5c5cd53a75f8797b2d | [
"BSD-2-Clause"
] | null | null | null | ControlWnd.cpp | Memotech-Bill/CamTest | 5b45ed610ba84ce4ef6feb5c5cd53a75f8797b2d | [
"BSD-2-Clause"
] | null | null | null | ControlWnd.cpp | Memotech-Bill/CamTest | 5b45ed610ba84ce4ef6feb5c5cd53a75f8797b2d | [
"BSD-2-Clause"
] | null | null | null | // ControlWnd.cpp - A window for containing camera controls.
#include <wx/panel.h>
#include <wx/choice.h>
#include <wx/checkbox.h>
#include <wx/slider.h>
#include <wx/spinctrl.h>
#include <wx/stattext.h>
#include <libcamera/controls.h>
#include <libcamera/control_ids.h>
#include "ControlWnd.h"
BEGIN_EVENT_TABLE(Cont... | 36.983498 | 104 | 0.543727 |
6121bd54330ddad58bd7d2f63de990cc1fca7162 | 1,830 | cpp | C++ | src/bind/enums.cpp | jonathf/pyvroom | 7f7c755c763ddc416455ea8c5168b53ae1477084 | [
"BSD-2-Clause"
] | 13 | 2021-12-28T13:04:45.000Z | 2022-01-06T22:05:51.000Z | src/bind/enums.cpp | VROOM-Project/pyvroom | 7f7c755c763ddc416455ea8c5168b53ae1477084 | [
"BSD-2-Clause"
] | 26 | 2022-01-06T09:36:45.000Z | 2022-03-26T11:43:14.000Z | src/bind/enums.cpp | VROOM-Project/pyvroom | 7f7c755c763ddc416455ea8c5168b53ae1477084 | [
"BSD-2-Clause"
] | 4 | 2022-01-06T14:34:56.000Z | 2022-03-29T11:53:48.000Z | #include <pybind11/pybind11.h>
#include "structures/typedefs.h"
namespace py = pybind11;
void init_enums(py::module_ &m) {
py::enum_<vroom::ROUTER>(m, "ROUTER")
.value("OSRM", vroom::ROUTER::OSRM)
.value("LIBOSRM", vroom::ROUTER::LIBOSRM)
.value("ORS", vroom::ROUTER::ORS)
.value("VALHALLA"... | 34.528302 | 65 | 0.636612 |
6122cab5f27d1d277b43618ff1bfc370bbfa5e8b | 1,585 | cpp | C++ | gurobi912/linux64/examples/c++/lp_c++.cpp | UtileFuzzball/test_eran | 34d5f49dd4cac2a95cb915499a57a8a11829b93e | [
"Apache-2.0"
] | null | null | null | gurobi912/linux64/examples/c++/lp_c++.cpp | UtileFuzzball/test_eran | 34d5f49dd4cac2a95cb915499a57a8a11829b93e | [
"Apache-2.0"
] | null | null | null | gurobi912/linux64/examples/c++/lp_c++.cpp | UtileFuzzball/test_eran | 34d5f49dd4cac2a95cb915499a57a8a11829b93e | [
"Apache-2.0"
] | null | null | null | /* Copyright 2021, Gurobi Optimization, LLC */
/* This example reads an LP model from a file and solves it.
If the model is infeasible or unbounded, the example turns off
presolve and solves the model again. If the model is infeasible,
the example computes an Irreducible Inconsistent Subsystem (IIS),
and w... | 25.983607 | 68 | 0.618927 |
61230ace2f9b1752d62cdd15a133f9914978b183 | 2,002 | cpp | C++ | staging_vespalib/src/vespa/vespalib/objects/objectdumper.cpp | Anlon-Burke/vespa | 5ecd989b36cc61716bf68f032a3482bf01fab726 | [
"Apache-2.0"
] | 4,054 | 2017-08-11T07:58:38.000Z | 2022-03-31T22:32:15.000Z | staging_vespalib/src/vespa/vespalib/objects/objectdumper.cpp | Anlon-Burke/vespa | 5ecd989b36cc61716bf68f032a3482bf01fab726 | [
"Apache-2.0"
] | 4,854 | 2017-08-10T20:19:25.000Z | 2022-03-31T19:04:23.000Z | staging_vespalib/src/vespa/vespalib/objects/objectdumper.cpp | Anlon-Burke/vespa | 5ecd989b36cc61716bf68f032a3482bf01fab726 | [
"Apache-2.0"
] | 541 | 2017-08-10T18:51:18.000Z | 2022-03-11T03:18:56.000Z | // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "objectdumper.h"
#include <vespa/vespalib/util/stringfmt.h>
namespace vespalib {
void
ObjectDumper::addIndent()
{
int n = _currIndent;
if (n < 0) {
n = 0;
}
_str.append(vespalib::s... | 19.436893 | 104 | 0.62987 |
6128a4c15889980b3b1ee077a76d527bdf67d19a | 3,157 | hpp | C++ | include/hip/hcc_detail/program_state.hpp | baryluk/HIP | cb1a3bb60f1c89c6967eefb432f4762182a113f2 | [
"MIT"
] | 7 | 2022-03-23T07:04:20.000Z | 2022-03-30T02:44:42.000Z | include/hip/hcc_detail/program_state.hpp | baryluk/HIP | cb1a3bb60f1c89c6967eefb432f4762182a113f2 | [
"MIT"
] | null | null | null | include/hip/hcc_detail/program_state.hpp | baryluk/HIP | cb1a3bb60f1c89c6967eefb432f4762182a113f2 | [
"MIT"
] | null | null | null | /*
Copyright (c) 2015 - present 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
to us... | 29.231481 | 86 | 0.714602 |
6129455e861a8422a65a57f3961ec70be44e7e88 | 1,789 | hh | C++ | test/centreon-benchmark/connector/inc/com/centreon/benchmark/connector/plugin.hh | centreon-lab/centreon-connectors | 3e80bea5c5d999bbce0fcb33b819ddc1cab4d917 | [
"Apache-2.0"
] | 5 | 2015-09-04T11:54:52.000Z | 2016-12-29T02:36:21.000Z | test/centreon-benchmark/connector/inc/com/centreon/benchmark/connector/plugin.hh | centreon-lab/centreon-connectors | 3e80bea5c5d999bbce0fcb33b819ddc1cab4d917 | [
"Apache-2.0"
] | 19 | 2015-07-29T10:00:06.000Z | 2022-03-09T08:42:10.000Z | test/centreon-benchmark/connector/inc/com/centreon/benchmark/connector/plugin.hh | centreon-lab/centreon-connectors | 3e80bea5c5d999bbce0fcb33b819ddc1cab4d917 | [
"Apache-2.0"
] | 6 | 2016-02-05T15:12:03.000Z | 2021-09-02T19:40:35.000Z | /*
** Copyright 2011-2013 Centreon
**
** 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... | 27.523077 | 79 | 0.735048 |
612b25568304beac9252ad293051a6b32b490e51 | 640 | hpp | C++ | nall/algorithm.hpp | 13824125580/higan | fbdd3f980b65412c362096579869ae76730e4118 | [
"Intel",
"ISC"
] | 38 | 2018-04-05T05:00:05.000Z | 2022-02-06T00:02:02.000Z | nall/algorithm.hpp | ameer-bauer/higan-097 | a4a28968173ead8251cfa7cd6b5bf963ee68308f | [
"Info-ZIP"
] | 1 | 2018-04-29T19:45:14.000Z | 2018-04-29T19:45:14.000Z | nall/algorithm.hpp | ameer-bauer/higan-097 | a4a28968173ead8251cfa7cd6b5bf963ee68308f | [
"Info-ZIP"
] | 8 | 2018-04-16T22:37:46.000Z | 2021-02-10T07:37:03.000Z | #pragma once
#include <nall/traits.hpp>
#undef min
#undef max
namespace nall { namespace {
template<typename T, typename U> auto min(const T& t, const U& u) -> T {
return t < u ? t : u;
}
template<typename T, typename U, typename... P> auto min(const T& t, const U& u, P&&... p) -> T {
return t < u ? min(t, for... | 23.703704 | 97 | 0.578125 |
612b7ef1217b575603d93e385bdd11d3036066c3 | 653 | hpp | C++ | Include/Math.hpp | cschladetsch/TurtleGraphics | 93fcec0831761a6c58592a452da54b01fd3f89d1 | [
"MIT"
] | 2 | 2021-08-14T17:36:11.000Z | 2021-10-21T04:53:06.000Z | Include/Math.hpp | cschladetsch/TurtleGraphics | 93fcec0831761a6c58592a452da54b01fd3f89d1 | [
"MIT"
] | null | null | null | Include/Math.hpp | cschladetsch/TurtleGraphics | 93fcec0831761a6c58592a452da54b01fd3f89d1 | [
"MIT"
] | null | null | null | #pragma once
#include <cmath>
namespace TurtleGraphics {
constexpr float float_epsilon = 0.001f;
constexpr float double_epsilon = 0.00001f;
inline bool ApproxEqual(const float a, const float b) {
return fabs(a - b) < float_epsilon;
}
inline bool ApproxEqual(const double a, const double b) {
r... | 23.321429 | 76 | 0.655436 |
612b89d2508c51039bb46e37ae3fadc8963ded74 | 10,582 | cpp | C++ | game/server/tfo/weapon_stg44.cpp | BerntA/tfo-code | afa3ea06a64cbbf7a9370b214ea5e80e69d9d7a1 | [
"MIT"
] | 13 | 2016-04-05T23:23:16.000Z | 2022-03-20T11:06:04.000Z | game/server/tfo/weapon_stg44.cpp | BerntA/tfo-code | afa3ea06a64cbbf7a9370b214ea5e80e69d9d7a1 | [
"MIT"
] | null | null | null | game/server/tfo/weapon_stg44.cpp | BerntA/tfo-code | afa3ea06a64cbbf7a9370b214ea5e80e69d9d7a1 | [
"MIT"
] | 4 | 2016-04-05T23:23:19.000Z | 2021-05-16T05:09:46.000Z | //========= Copyright Bernt Andreas Eide, All rights reserved. ============//
//
// Purpose: MP44 / STG44
//
//=============================================================================//
#include "cbase.h"
#include "basehlcombatweapon.h"
#include "NPCevent.h"
#include "basecombatcharacter.h"
#include "AI_BaseNPC.h... | 32.965732 | 181 | 0.626347 |
612b9a750ba7eaff8b20a1e339279183d01df9ff | 4,488 | cpp | C++ | tf2_src/utils/vgui_panel_zoo/QueryBoxDemo.cpp | IamIndeedGamingAsHardAsICan03489/TeamFortress2 | 1b81dded673d49adebf4d0958e52236ecc28a956 | [
"MIT"
] | 4 | 2021-10-03T05:16:55.000Z | 2021-12-28T16:49:27.000Z | tf2_src/utils/vgui_panel_zoo/QueryBoxDemo.cpp | Counter2828/TeamFortress2 | 1b81dded673d49adebf4d0958e52236ecc28a956 | [
"MIT"
] | null | null | null | tf2_src/utils/vgui_panel_zoo/QueryBoxDemo.cpp | Counter2828/TeamFortress2 | 1b81dded673d49adebf4d0958e52236ecc28a956 | [
"MIT"
] | 3 | 2022-02-02T18:09:58.000Z | 2022-03-06T18:54:39.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#include "DemoPage.h"
#include <VGUI/IVGui.h>
#include <vgui_controls/Controls.h>
#include <Keyvalues.h>
#include <vgui_co... | 30.324324 | 86 | 0.552362 |
612be61ed565e42e7d013d3e11699fdc54e7f1f8 | 4,004 | hpp | C++ | Library/Deps/MessagePack/Include/msgpack/preprocessor/iteration/iterate.hpp | rneogns/simpleio | 20830a2b9b22c31eab23508acd25b275b53103c9 | [
"MIT"
] | null | null | null | Library/Deps/MessagePack/Include/msgpack/preprocessor/iteration/iterate.hpp | rneogns/simpleio | 20830a2b9b22c31eab23508acd25b275b53103c9 | [
"MIT"
] | null | null | null | Library/Deps/MessagePack/Include/msgpack/preprocessor/iteration/iterate.hpp | rneogns/simpleio | 20830a2b9b22c31eab23508acd25b275b53103c9 | [
"MIT"
] | null | null | null | # /* **************************************************************************
# * *
# * (C) Copyright Paul Mensonides 2002.
# * Distributed under the Boost Software License, Version 1.0. (See
# * accompanying file LICENSE_1_0... | 48.240964 | 146 | 0.731518 |
612da374e6268428770467a74984697b73f626f1 | 7,226 | cpp | C++ | export/debug/macos/obj/src/__ASSET__flixel_flixel_ui_img_finger_small_png.cpp | EnvyBun/KB-FNF-MOD | f7541661229c587bf99f0508cc3eba7043f8c177 | [
"Apache-2.0"
] | null | null | null | export/debug/macos/obj/src/__ASSET__flixel_flixel_ui_img_finger_small_png.cpp | EnvyBun/KB-FNF-MOD | f7541661229c587bf99f0508cc3eba7043f8c177 | [
"Apache-2.0"
] | null | null | null | export/debug/macos/obj/src/__ASSET__flixel_flixel_ui_img_finger_small_png.cpp | EnvyBun/KB-FNF-MOD | f7541661229c587bf99f0508cc3eba7043f8c177 | [
"Apache-2.0"
] | null | null | null | // Generated by Haxe 4.1.5
#include <hxcpp.h>
#ifndef INCLUDED___ASSET__flixel_flixel_ui_img_finger_small_png
#include <__ASSET__flixel_flixel_ui_img_finger_small_png.h>
#endif
#ifndef INCLUDED_haxe_Resource
#include <haxe/Resource.h>
#endif
#ifndef INCLUDED_haxe_io_Bytes
#include <haxe/io/Bytes.h>
#endif
#ifndef INCL... | 48.173333 | 313 | 0.822862 |
612f9ba694f2ea62f7cc3612ff26f7299c05fa8f | 1,858 | cpp | C++ | subprojects/graphite2/src/gr_char_info.cpp | asheraryam/godot_tl | ca2fc4151bd8141241151dd6e29768608600473a | [
"Unlicense"
] | 25 | 2019-04-05T14:14:25.000Z | 2021-11-08T09:40:52.000Z | subprojects/graphite2/src/gr_char_info.cpp | asheraryam/godot_tl | ca2fc4151bd8141241151dd6e29768608600473a | [
"Unlicense"
] | 27 | 2019-04-05T14:18:26.000Z | 2022-01-19T17:44:39.000Z | subprojects/graphite2/src/gr_char_info.cpp | asheraryam/godot_tl | ca2fc4151bd8141241151dd6e29768608600473a | [
"Unlicense"
] | 6 | 2019-04-05T14:06:16.000Z | 2022-02-18T03:38:18.000Z | /* GRAPHITE2 LICENSING
Copyright 2010, SIL International
All rights reserved.
This library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
by the Free Software Foundation; either version 2.1 of License, or
(at yo... | 28.151515 | 76 | 0.720129 |
9ecea26f4cd94cceb3df7ad768c739f9a2fb80fe | 1,151 | hpp | C++ | src/sip-0x/parser/tokens/TokenSIPVersion.hpp | zanfire/sip-0x | de38b3ff782d2a63b69d7f785e2bd9ce7674abd5 | [
"Apache-2.0"
] | 1 | 2021-06-03T15:56:32.000Z | 2021-06-03T15:56:32.000Z | src/sip-0x/parser/tokens/TokenSIPVersion.hpp | zanfire/sip-0x | de38b3ff782d2a63b69d7f785e2bd9ce7674abd5 | [
"Apache-2.0"
] | 1 | 2015-08-05T05:51:49.000Z | 2015-08-05T05:51:49.000Z | src/sip-0x/parser/tokens/TokenSIPVersion.hpp | zanfire/sip-0x | de38b3ff782d2a63b69d7f785e2bd9ce7674abd5 | [
"Apache-2.0"
] | null | null | null | #if !defined(SIP0X_PARSER_TOKENSIPVERSION_HPP__)
#define SIP0X_PARSER_TOKENSIPVERSION_HPP__
#include "parser/tokens/TokenAbstract.hpp"
#include "parser/tokens/Operators.hpp"
#include "parser/tokens/Token.hpp"
#include "parser/tokens/TokenRegex.hpp"
#include "parser/factory/FactoryContextSIPVersion.hpp"
namespace sip... | 26.767442 | 113 | 0.694179 |
9ecf6445c565af4b25c30b86595de8d8d9ebadfe | 6,194 | cpp | C++ | src/demos/irrlicht/demo_IRR_ballSMC.cpp | Ruochun/chrono | 7b0f09242ef540ae56cfc8add3a5dc7985c654d2 | [
"BSD-3-Clause"
] | null | null | null | src/demos/irrlicht/demo_IRR_ballSMC.cpp | Ruochun/chrono | 7b0f09242ef540ae56cfc8add3a5dc7985c654d2 | [
"BSD-3-Clause"
] | null | null | null | src/demos/irrlicht/demo_IRR_ballSMC.cpp | Ruochun/chrono | 7b0f09242ef540ae56cfc8add3a5dc7985c654d2 | [
"BSD-3-Clause"
] | null | null | null | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... | 34.220994 | 130 | 0.638683 |
9ed36b848f34902d45895d054f7e3672e71cc7a6 | 636 | cpp | C++ | cses/Two_Sets.cpp | st3v3nmw/competitive-programming | 581d36c1c128e0e3ee3a0b52628e932ab43821d4 | [
"MIT"
] | null | null | null | cses/Two_Sets.cpp | st3v3nmw/competitive-programming | 581d36c1c128e0e3ee3a0b52628e932ab43821d4 | [
"MIT"
] | null | null | null | cses/Two_Sets.cpp | st3v3nmw/competitive-programming | 581d36c1c128e0e3ee3a0b52628e932ab43821d4 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
ll n;
cin >> n;
vector<ll> v1, v2;
ll sum = n * (n + 1) / 2;
if (sum % 2 != 0) {
cout << "NO" << endl;
return 0;
}
sum /= 2;
for (int i = n; i > 0; i--) {
if (sum - i >= 0) {
... | 18.705882 | 33 | 0.386792 |
9ed37dde31bb526b67de1ccd08c65acbe15ca049 | 2,156 | cpp | C++ | inference-engine/thirdparty/clDNN/tests/test_cases/softmax_loss_grad_gpu_test.cpp | anton-potapov/openvino | 84119afe9a8c965e0a0cd920fff53aee67b05108 | [
"Apache-2.0"
] | 3 | 2020-02-09T23:25:37.000Z | 2021-01-19T09:44:12.000Z | inference-engine/thirdparty/clDNN/tests/test_cases/softmax_loss_grad_gpu_test.cpp | anton-potapov/openvino | 84119afe9a8c965e0a0cd920fff53aee67b05108 | [
"Apache-2.0"
] | 4 | 2021-04-01T08:29:48.000Z | 2021-08-30T16:12:52.000Z | inference-engine/thirdparty/clDNN/tests/test_cases/softmax_loss_grad_gpu_test.cpp | anton-potapov/openvino | 84119afe9a8c965e0a0cd920fff53aee67b05108 | [
"Apache-2.0"
] | 3 | 2021-03-09T08:27:29.000Z | 2021-04-07T04:58:54.000Z | /*
// Copyright (c) 2018 Intel 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 or... | 33.169231 | 99 | 0.646568 |
9ed42813791eb28e968c11a32c0668ffdf14571b | 15,456 | cpp | C++ | Source/AliveLibAE/ParticleBurst.cpp | THEONLYDarkShadow/alive_reversing | 680d87088023f2d5f2a40c42d6543809281374fb | [
"MIT"
] | 1 | 2021-04-11T23:44:43.000Z | 2021-04-11T23:44:43.000Z | Source/AliveLibAE/ParticleBurst.cpp | THEONLYDarkShadow/alive_reversing | 680d87088023f2d5f2a40c42d6543809281374fb | [
"MIT"
] | null | null | null | Source/AliveLibAE/ParticleBurst.cpp | THEONLYDarkShadow/alive_reversing | 680d87088023f2d5f2a40c42d6543809281374fb | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "ParticleBurst.hpp"
#include "Math.hpp"
#include "Game.hpp"
#include "Function.hpp"
#include "Events.hpp"
#include "Sfx.hpp"
#include "ScreenManager.hpp"
#include "Map.hpp"
#include "stdlib.hpp"
struct ParticleBurst_Item
{
FP field_0_x;
FP field_4_y;
FP field_8_z;
FP field_... | 35.777778 | 170 | 0.551889 |
9ed55f3e8b285a0b17d289c1443def0bd4afc0b4 | 854 | hpp | C++ | inc/RingBuffer.hpp | izissise/network | 7267690fdaa379331b130e5bdd7ee87649c240b2 | [
"MIT"
] | 1 | 2015-05-06T09:21:07.000Z | 2015-05-06T09:21:07.000Z | inc/RingBuffer.hpp | izissise/network | 7267690fdaa379331b130e5bdd7ee87649c240b2 | [
"MIT"
] | 1 | 2015-06-14T17:23:11.000Z | 2015-06-15T09:41:16.000Z | inc/RingBuffer.hpp | izissise/network | 7267690fdaa379331b130e5bdd7ee87649c240b2 | [
"MIT"
] | null | null | null | #ifndef RINGBUFFER_H
# define RINGBUFFER_H
# include <cstdint>
# include <memory>
# include <cstring>
# include "ASocket.hpp"
namespace Network {
class RingBuffer
{
public:
RingBuffer(size_t size = 4096);
virtual ~RingBuffer() = default;
void writeBuffer(const Network::Buffer& data);
void readBuffer(Networ... | 18.977778 | 59 | 0.687354 |
9ed895dfa81ebb1d5ea1140288e6f94bb98564d3 | 166 | cpp | C++ | src/GlobalDefinitions.cpp | KanjiuAkuma/Ts3Tools | 2f1c9675ba7aef4d6b8ba6c7070d78f7341f9af3 | [
"MIT"
] | null | null | null | src/GlobalDefinitions.cpp | KanjiuAkuma/Ts3Tools | 2f1c9675ba7aef4d6b8ba6c7070d78f7341f9af3 | [
"MIT"
] | null | null | null | src/GlobalDefinitions.cpp | KanjiuAkuma/Ts3Tools | 2f1c9675ba7aef4d6b8ba6c7070d78f7341f9af3 | [
"MIT"
] | null | null | null | /**
* Created by Joscha Vack on 12/9/2019.
*
**/
#include "GlobalDefinitions.h"
TS3Functions ts3Functions;
char* pluginID = nullptr;
ServerList serverList {}; | 16.6 | 40 | 0.698795 |
9edb100510240b459c4ce833507d90c8772568b3 | 134 | hxx | C++ | src/Providers/UNIXProviders/PackageInConnector/UNIX_PackageInConnector_SOLARIS.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | 1 | 2020-10-12T09:00:09.000Z | 2020-10-12T09:00:09.000Z | src/Providers/UNIXProviders/PackageInConnector/UNIX_PackageInConnector_SOLARIS.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | src/Providers/UNIXProviders/PackageInConnector/UNIX_PackageInConnector_SOLARIS.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | #ifdef PEGASUS_OS_SOLARIS
#ifndef __UNIX_PACKAGEINCONNECTOR_PRIVATE_H
#define __UNIX_PACKAGEINCONNECTOR_PRIVATE_H
#endif
#endif
| 11.166667 | 43 | 0.858209 |
9edba13854fcf939f5ddc8c8d376a3f7fef575d3 | 986 | cc | C++ | src/problems/problem1.cc | JeffGos/jg-project-euler | a2a7ca473e7b7c42907c10410eaf6b859bf48086 | [
"MIT"
] | null | null | null | src/problems/problem1.cc | JeffGos/jg-project-euler | a2a7ca473e7b7c42907c10410eaf6b859bf48086 | [
"MIT"
] | null | null | null | src/problems/problem1.cc | JeffGos/jg-project-euler | a2a7ca473e7b7c42907c10410eaf6b859bf48086 | [
"MIT"
] | null | null | null | #include "problem1.h"
#include <iostream>
void problem1BruteForce(long upperLimit) {
printf("Problem 1 - Brute Force\n");
int multiplesOf3And5Count = 0;
for (int i = 0; i < upperLimit; i++)
{
if (i % 3 == 0 || i % 5 == 0)
{
multiplesOf3And5Count += i;
}
}
printf("Multiples of 3 and 5 below %ld = %d... | 18.961538 | 84 | 0.678499 |
9edc97ffd6e552814d246ea613138d0bb56fd02e | 911 | cpp | C++ | TOI16/Programming TH/1082.cpp | mrmuffinnxz/TOI-preparation | 85a7d5b70d7fc661950bbb5de66a6885a835e755 | [
"MIT"
] | null | null | null | TOI16/Programming TH/1082.cpp | mrmuffinnxz/TOI-preparation | 85a7d5b70d7fc661950bbb5de66a6885a835e755 | [
"MIT"
] | null | null | null | TOI16/Programming TH/1082.cpp | mrmuffinnxz/TOI-preparation | 85a7d5b70d7fc661950bbb5de66a6885a835e755 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
int findset(vector<int> &subset,int u)
{
if(subset[u] == -1) return u;
subset[u] = findset(subset,subset[u]);
return subset[u];
}
void kruskal(vector<pair<int,pair<int,int> > > edge,int V)
{
vector<int> subset(V,-1);
vector<pair<int,pair<int,int> > > MST;
sort(edge... | 16.267857 | 58 | 0.592755 |
9edf160b8ebfaeac3b522893ab8d155fe747c0b5 | 921 | cpp | C++ | src/session_settings.cpp | aldenml/libtorrent | f484a0eff66c1d8932d694e1785da204ac1a2769 | [
"BSL-1.0",
"BSD-3-Clause"
] | 1 | 2020-07-20T17:01:46.000Z | 2020-07-20T17:01:46.000Z | src/session_settings.cpp | aldenml/libtorrent | f484a0eff66c1d8932d694e1785da204ac1a2769 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | src/session_settings.cpp | aldenml/libtorrent | f484a0eff66c1d8932d694e1785da204ac1a2769 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2007, 2015, 2017, 2019-2021, Arvid Norberg
All rights reserved.
You may use, distribute and modify this code under the terms of the BSD license,
see LICENSE file.
*/
#include "libtorrent/aux_/session_settings.hpp"
#include "libtorrent/settings_pack.hpp"
#include <functional>
namespace libtorrent {... | 21.418605 | 100 | 0.7557 |
9edf6a4ae70cd22e037174a94570c2576ef70371 | 1,125 | cc | C++ | 0.mycode/05_ReplaceSpaces.cc | ebayboy/CodingInterviewChinese2 | b5695e780ee64774e3e9f5eff662e7a1440d56de | [
"BSD-3-Clause"
] | null | null | null | 0.mycode/05_ReplaceSpaces.cc | ebayboy/CodingInterviewChinese2 | b5695e780ee64774e3e9f5eff662e7a1440d56de | [
"BSD-3-Clause"
] | null | null | null | 0.mycode/05_ReplaceSpaces.cc | ebayboy/CodingInterviewChinese2 | b5695e780ee64774e3e9f5eff662e7a1440d56de | [
"BSD-3-Clause"
] | null | null | null | #include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
using namespace std;
/*
题目:
替换空格
请实现一个函数,把字符串中的每个空格替换成“%20”,
例如,输入”We are happy.”,则输出”We%20are%20happy.”。
*/
char *replace_spaces(const char *src, size_t slen)
{
char *desc = NULL;
size_t count = 0;
size_t j = 0;
//malloc... | 17.578125 | 54 | 0.466667 |
9ee291a6b0754a5e26582ac390fce378f8e9d97b | 6,324 | cpp | C++ | src/IECoreHoudini/ToHoudiniCurvesConverter.cpp | gcodebackups/cortex-vfx | 72fa6c6eb3327fce4faf01361c8fcc2e1e892672 | [
"BSD-3-Clause"
] | 5 | 2016-07-26T06:09:28.000Z | 2022-03-07T03:58:51.000Z | src/IECoreHoudini/ToHoudiniCurvesConverter.cpp | gcodebackups/cortex-vfx | 72fa6c6eb3327fce4faf01361c8fcc2e1e892672 | [
"BSD-3-Clause"
] | null | null | null | src/IECoreHoudini/ToHoudiniCurvesConverter.cpp | gcodebackups/cortex-vfx | 72fa6c6eb3327fce4faf01361c8fcc2e1e892672 | [
"BSD-3-Clause"
] | 3 | 2015-03-25T18:45:24.000Z | 2020-02-15T15:37:18.000Z | //////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2010-2013, Image Engine Design Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | 34.747253 | 150 | 0.716635 |
9ee335d58e0df8e45c1a362325de449a3fb45a6c | 12,441 | cc | C++ | chrome/browser/autofill/credit_card_field_unittest.cc | GnorTech/chromium | e1c7731d5bd099ca5544fcf8eda3867d4ce5bab5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2018-03-10T13:08:49.000Z | 2018-03-10T13:08:49.000Z | chrome/browser/autofill/credit_card_field_unittest.cc | GnorTech/chromium | e1c7731d5bd099ca5544fcf8eda3867d4ce5bab5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/autofill/credit_card_field_unittest.cc | GnorTech/chromium | e1c7731d5bd099ca5544fcf8eda3867d4ce5bab5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T07:19:31.000Z | 2020-11-04T07:19:31.000Z | // Copyright (c) 2011 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 "base/memory/scoped_ptr.h"
#include "base/memory/scoped_vector.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/autofill/... | 39 | 78 | 0.747207 |
9ee49a10c4b53cd5e34bfb1f8b4fa06ec39e7967 | 4,988 | cpp | C++ | src/archutils/Darwin/Crash.cpp | SharpnelXu/etterna | 8775f74ac9c353320128609d4b4150672e9a6d04 | [
"MIT"
] | 1 | 2022-02-22T01:24:02.000Z | 2022-02-22T01:24:02.000Z | src/archutils/Darwin/Crash.cpp | john-marinelli/etterna | 8775f74ac9c353320128609d4b4150672e9a6d04 | [
"MIT"
] | 1 | 2019-05-04T02:30:57.000Z | 2019-05-04T02:30:57.000Z | src/archutils/Darwin/Crash.cpp | john-marinelli/etterna | 8775f74ac9c353320128609d4b4150672e9a6d04 | [
"MIT"
] | 3 | 2019-05-02T01:50:23.000Z | 2020-05-25T01:08:36.000Z | #include "Etterna/Globals/global.h"
#include "Crash.h"
#include "Core/Services/Locator.hpp"
#include "Core/Platform/Platform.hpp"
#include "Core/Misc/AppInfo.hpp"
#include <CoreServices/CoreServices.h>
#include <sys/types.h>
#include <fmt/format.h>
#if defined(HAVE_UNISTD_H)
#include <unistd.h>
#endif
#include <sys/sys... | 35.884892 | 135 | 0.722735 |
9ee5e43a2859b187873bc2d9f637b488645dd736 | 5,855 | cpp | C++ | src/CGeomLight3D.cpp | colinw7/CGeometry3D | 15c009b57bfcdcc5ca13ef2acfe94b6831a4c865 | [
"MIT"
] | 1 | 2021-12-23T02:21:22.000Z | 2021-12-23T02:21:22.000Z | src/CGeomLight3D.cpp | colinw7/CGeometry3D | 15c009b57bfcdcc5ca13ef2acfe94b6831a4c865 | [
"MIT"
] | null | null | null | src/CGeomLight3D.cpp | colinw7/CGeometry3D | 15c009b57bfcdcc5ca13ef2acfe94b6831a4c865 | [
"MIT"
] | null | null | null | #include <CGeomLight3D.h>
#include <CGeometry3D.h>
#include <CGeomZBuffer.h>
#include <CGeomPyramid3D.h>
#include <CImageMgr.h>
#include "images/Sun.h"
CGeomLight3DMgr::
CGeomLight3DMgr()
{
}
void
CGeomLight3DMgr::
addLight(CGeomLight3D *light)
{
lights_.push_back(light);
light->setMgr(this);
}
void
CGeomLight... | 20.329861 | 91 | 0.682152 |
9ee63a11f3a00f146be2413047aad5fc8465af25 | 461 | cpp | C++ | Fast Fibonacci/Fast Fibonacci/main.cpp | brunorabelo/URI-Online-Judge | 87051c4fa7339c0ed6d9613739b70cedea2fe090 | [
"MIT"
] | null | null | null | Fast Fibonacci/Fast Fibonacci/main.cpp | brunorabelo/URI-Online-Judge | 87051c4fa7339c0ed6d9613739b70cedea2fe090 | [
"MIT"
] | null | null | null | Fast Fibonacci/Fast Fibonacci/main.cpp | brunorabelo/URI-Online-Judge | 87051c4fa7339c0ed6d9613739b70cedea2fe090 | [
"MIT"
] | null | null | null | //
// main.cpp
// Fast Fibonacci
//
// Created by MacBook on 02/05/17.
// Copyright © 2017 Bruno Botelho. All rights reserved.
//
#include <stdio.h>
#include <math.h>
int main(int argc, const char * argv[]) {
// insert code here...
int n;
double result;
scanf("%d",&n);
result= pow(((... | 15.366667 | 61 | 0.518438 |
9ee66585da00aa5a4f090a4e5378a7a608273a44 | 1,626 | hpp | C++ | GraphOptimize/09-sliding-window/src/lidar_localization/include/lidar_localization/models/graph_optimizer/g2o/edge/edge_se3_priorxyz.hpp | lanqing30/SensorFusionCourse | 3fcf935d6a4191563afcf2d95b34718fba7f705a | [
"Apache-2.0"
] | 7 | 2021-03-19T05:51:44.000Z | 2021-09-16T06:10:16.000Z | 03-localization with map/lidar_localization/include/lidar_localization/models/graph_optimizer/g2o/edge/edge_se3_priorxyz.hpp | WeihengXia0123/LiDar-SLAM | 834060da7ee0125cefd310d6215821551bac16c3 | [
"MIT"
] | null | null | null | 03-localization with map/lidar_localization/include/lidar_localization/models/graph_optimizer/g2o/edge/edge_se3_priorxyz.hpp | WeihengXia0123/LiDar-SLAM | 834060da7ee0125cefd310d6215821551bac16c3 | [
"MIT"
] | 6 | 2021-02-17T12:31:08.000Z | 2022-01-22T17:12:44.000Z | /*
* @Description: GNSS 坐标做观测时使用的先验边
* @Author: Ren Qian
* @Date: 2020-03-01 18:05:35
*/
#ifndef LIDAR_LOCALIZATION_MODELS_GRAPH_OPTIMIZER_G2O_EDGE_EDGE_SE3_PRIORXYZ_HPP_
#define LIDAR_LOCALIZATION_MODELS_GRAPH_OPTIMIZER_G2O_EDGE_EDGE_SE3_PRIORXYZ_HPP_
#include <g2o/types/slam3d/types_slam3d.h>
#include <g2o/types... | 26.225806 | 87 | 0.646986 |
9eeabe215b2ffe2a8763142d9ee64ea8c27c4a8b | 2,834 | cc | C++ | libcurv/program.cc | curv3d/curv | f3b7a0045b681df86ec25f1f97c4e6feb7dd5c6a | [
"Apache-2.0"
] | 921 | 2019-01-13T18:47:47.000Z | 2022-03-28T03:36:18.000Z | libcurv/program.cc | curv3d/curv | f3b7a0045b681df86ec25f1f97c4e6feb7dd5c6a | [
"Apache-2.0"
] | 93 | 2019-01-11T15:35:01.000Z | 2022-01-14T17:42:05.000Z | libcurv/program.cc | curv3d/curv | f3b7a0045b681df86ec25f1f97c4e6feb7dd5c6a | [
"Apache-2.0"
] | 59 | 2019-01-20T09:37:59.000Z | 2022-02-17T15:12:10.000Z | // Copyright 2016-2021 Doug Moen
// Licensed under the Apache License, version 2.0
// See accompanying file LICENSE or https://www.apache.org/licenses/LICENSE-2.0
#include <libcurv/program.h>
#include <libcurv/analyser.h>
#include <libcurv/builtin.h>
#include <libcurv/context.h>
#include <libcurv/definition.h>
#inclu... | 24.859649 | 79 | 0.666196 |
9eeac48053307fb03a645a6874a8da9a77eb374c | 956 | cpp | C++ | CodeForces/304A - Pythagorean Theorem II.cpp | MrSiz/Coding | 6e3454c9143563748b98f192102c3b6ff4c3be4f | [
"MIT"
] | null | null | null | CodeForces/304A - Pythagorean Theorem II.cpp | MrSiz/Coding | 6e3454c9143563748b98f192102c3b6ff4c3be4f | [
"MIT"
] | null | null | null | CodeForces/304A - Pythagorean Theorem II.cpp | MrSiz/Coding | 6e3454c9143563748b98f192102c3b6ff4c3be4f | [
"MIT"
] | null | null | null | #include <set>
#include <queue>
#include <string>
#include <vector>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <climits>
#include <iostream>
#include <map>
#include <cmath>
#include <algorithm>
using namespace std;
#define pr(x) //(cout << #x << ' ' << x << ' ')
#define prln(x) //(cout << #x << '... | 19.12 | 50 | 0.433054 |
9eeb5a2ef550c476cc02eb2855487ed91a5cf6e8 | 2,391 | cpp | C++ | src/runtime/fnput/fnput_impl.cpp | jsoniq/jsoniq | f7af29417f809d64d1f0b2622d880bc4d87f2e42 | [
"Apache-2.0"
] | 94 | 2015-01-18T09:40:36.000Z | 2022-03-02T21:14:55.000Z | src/runtime/fnput/fnput_impl.cpp | jsoniq/jsoniq | f7af29417f809d64d1f0b2622d880bc4d87f2e42 | [
"Apache-2.0"
] | 72 | 2015-01-05T22:00:31.000Z | 2021-07-17T11:35:03.000Z | src/runtime/fnput/fnput_impl.cpp | jsoniq/jsoniq | f7af29417f809d64d1f0b2622d880bc4d87f2e42 | [
"Apache-2.0"
] | 27 | 2015-01-18T20:20:54.000Z | 2020-11-01T18:01:07.000Z | /*
* Copyright 2006-2008 The FLWOR Foundation.
*
* 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... | 23.91 | 81 | 0.668758 |
9eef58a4eb99274a4f325f64f7f4d500fe773df8 | 13,202 | cpp | C++ | code/engine.vc2008/xrGame/ActorEffector.cpp | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 7 | 2018-03-27T12:36:07.000Z | 2020-06-26T11:31:52.000Z | code/engine.vc2008/xrGame/ActorEffector.cpp | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 2 | 2018-05-26T23:17:14.000Z | 2019-04-14T18:33:27.000Z | code/engine.vc2008/xrGame/ActorEffector.cpp | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 3 | 2020-06-26T11:41:44.000Z | 2021-09-29T19:35:04.000Z | #include "stdafx.h"
#include "PostprocessAnimator.h"
#include "../xrEngine/effectorPP.h"
#include "../xrEngine/ObjectAnimator.h"
#include "object_broker.h"
#include "Actor.h"
void GAME_API AddEffector(CActor* A, int type, const shared_str& sect_name)
{
bool bCyclic = false;
if (pSettings->line_exist(sect_name, "pp_... | 25.585271 | 176 | 0.722391 |
9ef0a499e42ff84f55d4c5be658b69d9d5837632 | 17,470 | cpp | C++ | src/miner.cpp | dagurval/bitcoinxt | 74d727ee0c2410142830fac3b0fc82cee0310c71 | [
"MIT"
] | 2 | 2018-12-05T12:46:34.000Z | 2019-06-27T12:08:04.000Z | src/miner.cpp | sighttviewliu/bitcoinxt | cb4c1fcedb3b292c4dbef9e7c5248294da6aa1f2 | [
"MIT"
] | 2 | 2018-03-09T09:33:49.000Z | 2018-03-09T12:20:11.000Z | src/miner.cpp | dagurval/bitcoinxt | 74d727ee0c2410142830fac3b0fc82cee0310c71 | [
"MIT"
] | null | null | null | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "miner.h"
#include "amount.h"
#include "chainparams.h"
#include "consen... | 37.650862 | 133 | 0.599828 |
9ef0de28456ebc1de37f6154aaebdc16fc6e0add | 59,522 | cpp | C++ | Src/ime/PhoneKeyboard.cpp | ericblade/luna-sysmgr | 82d5d7ced4ba21d3802eb2c8ae063236b6562331 | [
"Apache-2.0"
] | 3 | 2018-11-16T14:51:17.000Z | 2019-11-21T10:55:24.000Z | Src/ime/PhoneKeyboard.cpp | penk/luna-sysmgr | 60c7056a734cdb55a718507f3a739839c9d74edf | [
"Apache-2.0"
] | 1 | 2021-02-20T13:12:15.000Z | 2021-02-20T13:12:15.000Z | Src/ime/PhoneKeyboard.cpp | ericblade/luna-sysmgr | 82d5d7ced4ba21d3802eb2c8ae063236b6562331 | [
"Apache-2.0"
] | null | null | null | /* @@@LICENSE
*
* Copyright (c) 2010-2012 Hewlett-Packard Development Company, L.P.
*
* 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
*
* Unl... | 34.445602 | 271 | 0.707453 |
9ef12f1194d9b7fd6992a0f83ae2c1dda78d3b04 | 30,109 | cpp | C++ | src/Tableau.cpp | gjo11/causaloptim | 81155ff1aeef5cd2618f2498ba6b779d5a944cff | [
"MIT"
] | 13 | 2019-11-28T16:33:10.000Z | 2021-12-10T12:03:35.000Z | src/Tableau.cpp | boennecd/causaloptim | b32016510e64ca4c688ff7df9fcf049404223630 | [
"MIT"
] | 8 | 2020-05-04T14:32:49.000Z | 2021-12-09T13:10:07.000Z | src/Tableau.cpp | boennecd/causaloptim | b32016510e64ca4c688ff7df9fcf049404223630 | [
"MIT"
] | 3 | 2020-04-22T23:18:06.000Z | 2020-12-10T09:32:05.000Z | //#include <afx.h>
#include <R.h>
//#include <windows.h>
#include <stdlib.h>
#include <stdio.h>
#include <string>
#include <math.h>
#include "MyUtils.h"
#include "Tableau.h"
#define AUG_COST -1000000.00
#define LEEWAY ((double) 0.00001)
#define LINE_LEN 1024
#define MAX_SOL 50.00
float SolFactor[3] = // Index... | 21.369056 | 82 | 0.565877 |
9ef46a477dd4ec69813367265ed0091b1bcaf563 | 78,451 | hpp | C++ | addons/ofxOpenCv/libs/opencv/include/opencv2/gpu/gpu.hpp | local-projects/openframeworks_osx_64 | 430bdd0df27e803ed29078480093f5836053f5fa | [
"MIT"
] | 18 | 2015-01-18T22:34:22.000Z | 2020-09-06T20:30:30.000Z | addons/ofxOpenCv/libs/opencv/include/opencv2/gpu/gpu.hpp | local-projects/openframeworks_osx_64 | 430bdd0df27e803ed29078480093f5836053f5fa | [
"MIT"
] | 2 | 2015-08-04T00:07:46.000Z | 2017-05-10T15:53:51.000Z | addons/ofxOpenCv/libs/opencv/include/opencv2/gpu/gpu.hpp | local-projects/openframeworks_osx_64 | 430bdd0df27e803ed29078480093f5836053f5fa | [
"MIT"
] | 10 | 2015-01-18T23:46:10.000Z | 2019-08-25T12:10:04.000Z | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, i... | 52.265823 | 195 | 0.618807 |
9ef6e673919e22248aea4048d92925eaef6af77d | 8,951 | hpp | C++ | original_periodic/src/discrete_function.hpp | four-spins/dissertation | 6a61b6d5b133c8839b7aa740784472c2beb5912e | [
"MIT"
] | null | null | null | original_periodic/src/discrete_function.hpp | four-spins/dissertation | 6a61b6d5b133c8839b7aa740784472c2beb5912e | [
"MIT"
] | null | null | null | original_periodic/src/discrete_function.hpp | four-spins/dissertation | 6a61b6d5b133c8839b7aa740784472c2beb5912e | [
"MIT"
] | null | null | null | /******************************************************************************
*
* @file: discrete_function.hpp
*
* @date: 12/06/2012 01:39:53 PM (CET)
*
* @author: Marco Müller <muelma@gmail.com>
*
******************************************************************************/
#pragma once
#include <vector>
... | 35.804 | 110 | 0.662272 |
9ef70ccca3e23f25edaadde59f7b308c8c1c461b | 2,922 | cpp | C++ | src/wham/Simulation.cpp | seanmarks/wham | 3ffdfcd46d165836c236588c6444acc0cb01fa6b | [
"MIT"
] | 1 | 2020-10-12T19:32:33.000Z | 2020-10-12T19:32:33.000Z | src/wham/Simulation.cpp | seanmarks/wham | 3ffdfcd46d165836c236588c6444acc0cb01fa6b | [
"MIT"
] | null | null | null | src/wham/Simulation.cpp | seanmarks/wham | 3ffdfcd46d165836c236588c6444acc0cb01fa6b | [
"MIT"
] | 1 | 2020-10-15T19:02:21.000Z | 2020-10-15T19:02:21.000Z | #include "Simulation.h"
#include "OrderParameterRegistry.h"
Simulation::Simulation(
const std::string& data_set_label, const double t_min, const double t_max,
const double temperature, const bool use_floored_times,
const OrderParameterRegistry& op_registry
):
data_set_label_(data_set_label),
t_min_(t_min), t_ma... | 34.785714 | 112 | 0.714921 |
9ef7d2e7aa8de4f68131f4e7790c3bc8ed59b423 | 5,246 | cpp | C++ | software_embedded/squantorProgger/src/commands.cpp | Squantor/squantProgger | c3a7eecdb6fdb5d3aa717bf14bde615e73b0f236 | [
"MIT"
] | 1 | 2019-10-08T03:55:46.000Z | 2019-10-08T03:55:46.000Z | software_embedded/squantorProgger/src/commands.cpp | Squantor/squantProgger | c3a7eecdb6fdb5d3aa717bf14bde615e73b0f236 | [
"MIT"
] | null | null | null | software_embedded/squantorProgger/src/commands.cpp | Squantor/squantProgger | c3a7eecdb6fdb5d3aa717bf14bde615e73b0f236 | [
"MIT"
] | null | null | null | /*
MIT License
Copyright (c) 2019 Bart Bilos
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dis... | 33.414013 | 112 | 0.705871 |
9ef8d237ac67ec65f810effe85e0c59088114207 | 17,471 | cpp | C++ | third_party/WebKit/Source/platform/fonts/FontCache.cpp | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 777 | 2017-08-29T15:15:32.000Z | 2022-03-21T05:29:41.000Z | third_party/WebKit/Source/platform/fonts/FontCache.cpp | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 66 | 2017-08-30T18:31:18.000Z | 2021-08-02T10:59:35.000Z | third_party/WebKit/Source/platform/fonts/FontCache.cpp | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 123 | 2017-08-30T01:19:34.000Z | 2022-03-17T22:55:31.000Z | /*
* Copyright (C) 2006, 2008 Apple Inc. All rights reserved.
* Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code... | 35.510163 | 80 | 0.735104 |
9ef9ff178da35b4381c5aa73d9e92ef318162b3a | 776 | cpp | C++ | src/test/scalar/operators/nonsmooth_operators/operator_unary_not_test.cpp | stan-dev/nomad | a21149ef9f4d53a198e6fdb06cfd0363d3df69e7 | [
"BSD-3-Clause"
] | 23 | 2015-12-11T20:06:57.000Z | 2021-01-15T18:59:58.000Z | src/test/scalar/operators/nonsmooth_operators/operator_unary_not_test.cpp | stan-dev/nomad | a21149ef9f4d53a198e6fdb06cfd0363d3df69e7 | [
"BSD-3-Clause"
] | 2 | 2015-12-15T08:12:01.000Z | 2016-07-17T01:36:56.000Z | src/test/scalar/operators/nonsmooth_operators/operator_unary_not_test.cpp | stan-dev/nomad | a21149ef9f4d53a198e6fdb06cfd0363d3df69e7 | [
"BSD-3-Clause"
] | 2 | 2017-10-13T17:40:34.000Z | 2021-03-08T19:17:51.000Z | #include <gtest/gtest.h>
#include <math.h>
#include <string>
#include <src/autodiff/base_functor.hpp>
#include <src/scalar/functions.hpp>
#include <src/scalar/operators.hpp>
#include <src/test/io_validation.hpp>
#include <src/test/finite_difference.hpp>
template <typename T>
class operator_unary_not_eval_func: publi... | 22.823529 | 67 | 0.699742 |
9efb6742f2eaca1021e1d86f2c7f977927373c63 | 4,080 | hpp | C++ | include/http/request.hpp | anand-gs/cplusplus | 97f9115df1920c811531b053fc8b9fc9b1ad2ed2 | [
"MIT"
] | null | null | null | include/http/request.hpp | anand-gs/cplusplus | 97f9115df1920c811531b053fc8b9fc9b1ad2ed2 | [
"MIT"
] | null | null | null | include/http/request.hpp | anand-gs/cplusplus | 97f9115df1920c811531b053fc8b9fc9b1ad2ed2 | [
"MIT"
] | null | null | null | /*
LICENSE: BEGIN
===============================================================================
@author Shan Anand
@email anand.gs@gmail.com
@source https://github.com/shan-anand
@brief HTTP library implementation in C++
===============================================================================
MIT License
Copy... | 31.145038 | 99 | 0.672059 |
9efb76a4f688a51b084e5969fc4e47be06e0a30d | 11,450 | cc | C++ | lib/harfbuzz/src/hb-set.cc | maemo-leste-extras/lagrange | 788ce5a747a94437c62c65ba05f93e069a13b35d | [
"BSD-2-Clause"
] | null | null | null | lib/harfbuzz/src/hb-set.cc | maemo-leste-extras/lagrange | 788ce5a747a94437c62c65ba05f93e069a13b35d | [
"BSD-2-Clause"
] | null | null | null | lib/harfbuzz/src/hb-set.cc | maemo-leste-extras/lagrange | 788ce5a747a94437c62c65ba05f93e069a13b35d | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright © 2012 Google, Inc.
*
* This is part of HarfBuzz, a text shaping library.
*
* Permission is hereby granted, without written agreement and without
* license or royalty fees, to use, copy, modify, and distribute this
* software and its documentation for any purpose, provided that the
* above copy... | 19.539249 | 94 | 0.658777 |
9efe4aa4465964c48a9c31bde00be4f14f9e181c | 889 | cpp | C++ | src/F81Handler.cpp | RoboGrower/robo-grower-fb-arduino-firmware | fe0c0ca9b13ff46caf3ef53a30cdbb59cb597d81 | [
"MIT"
] | null | null | null | src/F81Handler.cpp | RoboGrower/robo-grower-fb-arduino-firmware | fe0c0ca9b13ff46caf3ef53a30cdbb59cb597d81 | [
"MIT"
] | null | null | null | src/F81Handler.cpp | RoboGrower/robo-grower-fb-arduino-firmware | fe0c0ca9b13ff46caf3ef53a30cdbb59cb597d81 | [
"MIT"
] | null | null | null |
/*
* F81Handler.cpp
*
* Created on: 2014/07/21
* Author: MattLech
*/
#include "F81Handler.h"
static F81Handler* instance;
F81Handler * F81Handler::getInstance() {
if (!instance) {
instance = new F81Handler();
};
return instance;
}
;
F81Handler::F81Handler() {
}
... | 18.142857 | 60 | 0.609674 |
7301b4da087636648f8729e62b532567a4f5d715 | 362 | cpp | C++ | docs/mfc/codesnippet/CPP/clistbox-class_23.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 965 | 2017-06-25T23:57:11.000Z | 2022-03-31T14:17:32.000Z | docs/mfc/codesnippet/CPP/clistbox-class_23.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 3,272 | 2017-06-24T00:26:34.000Z | 2022-03-31T22:14:07.000Z | docs/mfc/codesnippet/CPP/clistbox-class_23.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 951 | 2017-06-25T12:36:14.000Z | 2022-03-26T22:49:06.000Z | // Initialize the storage of the list box to be 256 strings with
// about 10 characters per string, performance improvement.
int n = m_myListBox.InitStorage(256, 16 * sizeof(TCHAR));
ASSERT(n != LB_ERRSPACE);
// Add 256 items to the list box.
CString str;
for (int i = 0; i < 256; i++)
{
str.Format(_T("item string %... | 27.846154 | 64 | 0.690608 |
73021ae5cb1b8f9fea677e23f8564323ee46609f | 8,310 | cc | C++ | src/kudu/kserver/kserver.cc | attilabukor/kudu | d4942c43880a7b0324388630ff640fe66f16c4b5 | [
"Apache-2.0"
] | 1,538 | 2016-08-08T22:34:30.000Z | 2022-03-29T05:23:36.000Z | src/kudu/kserver/kserver.cc | attilabukor/kudu | d4942c43880a7b0324388630ff640fe66f16c4b5 | [
"Apache-2.0"
] | 17 | 2017-05-18T16:05:14.000Z | 2022-03-18T22:17:13.000Z | src/kudu/kserver/kserver.cc | attilabukor/kudu | d4942c43880a7b0324388630ff640fe66f16c4b5 | [
"Apache-2.0"
] | 612 | 2016-08-12T04:09:37.000Z | 2022-03-29T16:57:46.000Z | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | 39.198113 | 93 | 0.6787 |
7303438e565be3766508a65391ccb17e126aa6ab | 1,599 | hpp | C++ | ios/Pods/boost-for-react-native/boost/thread/recursive_mutex.hpp | rudylee/expo | b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc | [
"Apache-2.0",
"MIT"
] | 8,805 | 2015-11-03T00:52:29.000Z | 2022-03-29T22:30:03.000Z | ios/Pods/boost-for-react-native/boost/thread/recursive_mutex.hpp | rudylee/expo | b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc | [
"Apache-2.0",
"MIT"
] | 14,694 | 2015-02-24T15:13:42.000Z | 2022-03-31T13:16:45.000Z | ios/Pods/boost-for-react-native/boost/thread/recursive_mutex.hpp | rudylee/expo | b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc | [
"Apache-2.0",
"MIT"
] | 1,329 | 2015-11-03T20:25:51.000Z | 2022-03-31T18:10:38.000Z | #ifndef BOOST_THREAD_RECURSIVE_MUTEX_HPP
#define BOOST_THREAD_RECURSIVE_MUTEX_HPP
// recursive_mutex.hpp
//
// (C) Copyright 2007 Anthony Williams
//
// 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)... | 24.6 | 68 | 0.697936 |
73041aebddcc3e4c5e674a8e95e85597559d3f5c | 3,782 | cc | C++ | sync/util/get_session_name.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2019-02-03T05:19:48.000Z | 2021-11-15T15:07:21.000Z | sync/util/get_session_name.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | sync/util/get_session_name.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 3 | 2017-07-31T19:09:52.000Z | 2019-01-04T18:48:50.000Z | // Copyright (c) 2012 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 "sync/util/get_session_name.h"
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/callback.h"
#include "base/location.h"
#... | 33.767857 | 78 | 0.736383 |
73045ba7c09d53ef179052cddf8653b8734835d8 | 665 | cc | C++ | learning/src/38/jmuduo/tests/Reactor_test06.cc | henrytien/muduo | fd5b7257141600aa2cb2ed939329f94962107371 | [
"BSD-3-Clause"
] | 6 | 2015-02-23T13:40:32.000Z | 2021-04-02T03:12:04.000Z | learning/src/38/jmuduo/tests/Reactor_test06.cc | henrytien/muduo | fd5b7257141600aa2cb2ed939329f94962107371 | [
"BSD-3-Clause"
] | null | null | null | learning/src/38/jmuduo/tests/Reactor_test06.cc | henrytien/muduo | fd5b7257141600aa2cb2ed939329f94962107371 | [
"BSD-3-Clause"
] | 6 | 2016-08-03T08:28:17.000Z | 2017-12-28T06:28:06.000Z | #include <muduo/net/EventLoop.h>
#include <muduo/net/EventLoopThread.h>
#include <stdio.h>
using namespace muduo;
using namespace muduo::net;
void runInThread()
{
printf("runInThread(): pid = %d, tid = %d\n",
getpid(), CurrentThread::tid());
}
int main()
{
printf("main(): pid = %d, tid = %d\n",
... | 21.451613 | 58 | 0.669173 |
7305571d9d6843a095427f17fd591c839c87442a | 868 | cpp | C++ | src/sorting/cpp/insertion_sort/test/test_insertion_sort.cpp | djeada/GraphAlgorithms | 0961303ec20430f90053a4efb9074185f96dfddc | [
"MIT"
] | 2 | 2021-05-31T13:01:33.000Z | 2021-12-20T19:48:18.000Z | src/sorting/cpp/insertion_sort/test/test_insertion_sort.cpp | djeada/GraphAlgorithms | 0961303ec20430f90053a4efb9074185f96dfddc | [
"MIT"
] | null | null | null | src/sorting/cpp/insertion_sort/test/test_insertion_sort.cpp | djeada/GraphAlgorithms | 0961303ec20430f90053a4efb9074185f96dfddc | [
"MIT"
] | null | null | null | #include "insertion_sort.h"
#include "gtest/gtest.h"
TEST(InsertionSortTest, EmptyArray) {
std::vector<int> arr;
std::vector<int> result;
insertion_sort(arr);
EXPECT_EQ(result, arr);
}
TEST(InsertionSortTest, SingleElement) {
std::vector<int> arr{1};
std::vector<int> result{1};
insertion_sort(arr);
EX... | 22.842105 | 42 | 0.669355 |