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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
70bdfafed8ec1bf977d2c2dad470d11906bf44f9 | 2,910 | cpp | C++ | src/identify.cpp | clockley/watchdogd | 7f03ad9a7317a11f246d29bce411d1e50265aa0e | [
"Apache-2.0"
] | 17 | 2016-03-22T12:20:07.000Z | 2022-01-24T17:49:39.000Z | src/identify.cpp | clockley/watchdogd | 7f03ad9a7317a11f246d29bce411d1e50265aa0e | [
"Apache-2.0"
] | 1 | 2021-10-04T17:35:13.000Z | 2021-10-05T16:55:46.000Z | src/identify.cpp | clockley/watchdogd | 7f03ad9a7317a11f246d29bce411d1e50265aa0e | [
"Apache-2.0"
] | 1 | 2021-12-05T13:23:26.000Z | 2021-12-05T13:23:26.000Z | /*
* Copyright 2016-2020 Christian Lockley
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 27.980769 | 113 | 0.697595 |
70c1f6d21350d470cb8a297fae9ecc084afc3114 | 7,285 | cpp | C++ | Bonepick/test/engine/TestSystems.cpp | dodgelafnitz/Bonepick | 1a12193e5d0cf5d4061d0d3cbd1529a206ed38f4 | [
"MIT"
] | 3 | 2018-10-09T02:08:57.000Z | 2020-08-12T20:26:29.000Z | Bonepick/test/engine/TestSystems.cpp | dodgelafnitz/Bonepick | 1a12193e5d0cf5d4061d0d3cbd1529a206ed38f4 | [
"MIT"
] | 1 | 2018-09-30T02:42:39.000Z | 2018-09-30T02:42:39.000Z | Bonepick/test/engine/TestSystems.cpp | dodgelafnitz/Bonepick | 1a12193e5d0cf5d4061d0d3cbd1529a206ed38f4 | [
"MIT"
] | null | null | null | #include "test/engine/TestSystems.h"
#include "engine/system/Entity.h"
#include "engine/system/EntityManager.h"
#include "engine/utility/Debug.h"
namespace
{
//############################################################################
void TestEntityManagerSingleComponent(void)
{
EntityManager<float> entM... | 29.257028 | 80 | 0.588058 |
70c3646edaee819442ad1234fd06f86882809484 | 23,952 | hpp | C++ | website/src/cgiroot.hpp | Wt-Works/saai.ir | 18b9e75616300994c8d5034f766b6e91c6a48c16 | [
"MIT",
"Unlicense"
] | 1 | 2021-08-28T01:24:22.000Z | 2021-08-28T01:24:22.000Z | website/src/cgiroot.hpp | Wt-Works/saai.ir | 18b9e75616300994c8d5034f766b6e91c6a48c16 | [
"MIT",
"Unlicense"
] | null | null | null | website/src/cgiroot.hpp | Wt-Works/saai.ir | 18b9e75616300994c8d5034f766b6e91c6a48c16 | [
"MIT",
"Unlicense"
] | null | null | null | #ifndef CGIROOT_HPP
#define CGIROOT_HPP
#include <string>
#include <Wt/WAnchor>
#include <Wt/WApplication>
#include <Wt/WButtonGroup>
#include <Wt/WComboBox>
#include <Wt/WContainerWidget>
#include <Wt/WDialog>
#include <Wt/WEnvironment>
#include <Wt/WFileUpload>
#include <Wt/WFormWidget>
#include <Wt/WImage>
#inclu... | 32.455285 | 106 | 0.73998 |
70c7ecc8171e2d9c6dbe4b06c8839ea551c894bf | 62,201 | cpp | C++ | lib/executor/engine/engine.cpp | Positive-Spaces-IO/WasmEdge | 7e791fbc1f7c8023b826526454b1638298654857 | [
"Apache-2.0"
] | null | null | null | lib/executor/engine/engine.cpp | Positive-Spaces-IO/WasmEdge | 7e791fbc1f7c8023b826526454b1638298654857 | [
"Apache-2.0"
] | null | null | null | lib/executor/engine/engine.cpp | Positive-Spaces-IO/WasmEdge | 7e791fbc1f7c8023b826526454b1638298654857 | [
"Apache-2.0"
] | null | null | null | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: 2019-2022 Second State INC
#include "executor/executor.h"
#include <array>
#include <cstdint>
#include <cstring>
namespace WasmEdge {
namespace Executor {
Expect<void> Executor::runExpression(Runtime::StoreManager &StoreMgr,
... | 37.881242 | 80 | 0.651581 |
70c89044cd53dfc552356fb206d75b7aa7475c9f | 3,698 | hh | C++ | gazebo/physics/Contact.hh | traversaro/gazebo | 6fd426b3949c4ca73fa126cde68f5cc4a59522eb | [
"ECL-2.0",
"Apache-2.0"
] | 887 | 2020-04-18T08:43:06.000Z | 2022-03-31T11:58:50.000Z | gazebo/physics/Contact.hh | traversaro/gazebo | 6fd426b3949c4ca73fa126cde68f5cc4a59522eb | [
"ECL-2.0",
"Apache-2.0"
] | 462 | 2020-04-21T21:59:19.000Z | 2022-03-31T23:23:21.000Z | gazebo/physics/Contact.hh | traversaro/gazebo | 6fd426b3949c4ca73fa126cde68f5cc4a59522eb | [
"ECL-2.0",
"Apache-2.0"
] | 421 | 2020-04-21T09:13:03.000Z | 2022-03-30T02:22:01.000Z | /*
* Copyright (C) 2012 Open Source Robotics 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 appl... | 32.156522 | 76 | 0.678475 |
70c8b431974d08f88549249329d4f2c06fe52902 | 7,464 | cpp | C++ | code/engine.vc2008/xrGame/CarInput.cpp | porames25/xray-oxygen | 1f3f46a7a1ffc2be1de04a1ec665862127894ef7 | [
"Apache-2.0"
] | null | null | null | code/engine.vc2008/xrGame/CarInput.cpp | porames25/xray-oxygen | 1f3f46a7a1ffc2be1de04a1ec665862127894ef7 | [
"Apache-2.0"
] | null | null | null | code/engine.vc2008/xrGame/CarInput.cpp | porames25/xray-oxygen | 1f3f46a7a1ffc2be1de04a1ec665862127894ef7 | [
"Apache-2.0"
] | null | null | null | #include "stdafx.h"
#pragma hdrstop
#ifdef DEBUG
#include "PHDebug.h"
#endif
#include "alife_space.h"
#include "Hit.h"
#include "PHDestroyable.h"
#include "Car.h"
#include "Actor.h"
#include "script_entity_action.h"
#include "../xrEngine/xr_level_controller.h"
#include "../xrEngine/CameraBase.h"
#include "../Include/xr... | 22.549849 | 118 | 0.682342 |
70c901b862e100eced4764fb17880d304db40c69 | 9,970 | cpp | C++ | ba/cpp/ba.cpp | daoran/ba | d38e58a1f9a1130e78626de34bfc3d722a968e5c | [
"Unlicense"
] | 9 | 2020-04-26T02:40:48.000Z | 2021-12-13T10:22:00.000Z | ba/cpp/ba.cpp | daoran/ba | d38e58a1f9a1130e78626de34bfc3d722a968e5c | [
"Unlicense"
] | null | null | null | ba/cpp/ba.cpp | daoran/ba | d38e58a1f9a1130e78626de34bfc3d722a968e5c | [
"Unlicense"
] | 2 | 2020-11-27T07:12:36.000Z | 2022-01-09T04:22:32.000Z | #include "ba.hpp"
static mat2_t J_intrinsics(const mat3_t &K) {
// J = [K[0, 0], 0.0,
// 0.0, K[1, 1]];
mat2_t J = zeros(2, 2);
J(0, 0) = K(0, 0);
J(1, 1) = K(1, 1);
return J;
}
static matx_t J_project(const vec3_t &p_C) {
const real_t x = p_C(0);
const real_t y = p_C(1);
const real_t z = p_C(2... | 29.93994 | 80 | 0.582146 |
70cb2b5358d80a4f847edf37c38653a03a0d1a72 | 9,808 | cpp | C++ | Nacro/SDK/FN_ItemManagementEquipSlot_functions.cpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 11 | 2021-08-08T23:25:10.000Z | 2022-02-19T23:07:22.000Z | Nacro/SDK/FN_ItemManagementEquipSlot_functions.cpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 1 | 2022-01-01T22:51:59.000Z | 2022-01-08T16:14:15.000Z | Nacro/SDK/FN_ItemManagementEquipSlot_functions.cpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 8 | 2021-08-09T13:51:54.000Z | 2022-01-26T20:33:37.000Z | // Fortnite (1.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
// Function ItemManagementEquipSlot.Item... | 34.903915 | 206 | 0.749286 |
70cc4a2eb152ef9443f56851b930cd047462e958 | 4,159 | cpp | C++ | src/Cpl/Io/Stdio/_0test/atomic.cpp | johnttaylor/foxtail | 86e4e1d19d5e8f9c1d1064cf0939f4bf62615400 | [
"BSD-3-Clause"
] | null | null | null | src/Cpl/Io/Stdio/_0test/atomic.cpp | johnttaylor/foxtail | 86e4e1d19d5e8f9c1d1064cf0939f4bf62615400 | [
"BSD-3-Clause"
] | null | null | null | src/Cpl/Io/Stdio/_0test/atomic.cpp | johnttaylor/foxtail | 86e4e1d19d5e8f9c1d1064cf0939f4bf62615400 | [
"BSD-3-Clause"
] | null | null | null | /*-----------------------------------------------------------------------------
* This file is part of the Colony.Core Project. The Colony.Core Project is an
* open source project with a BSD type of licensing agreement. See the license
* agreement (license.txt) in the top/ directory or on the Internet at
* http://int... | 30.137681 | 168 | 0.552056 |
70ce809f995f55881361c4afa7ee2db8f9f8ffae | 16,033 | cpp | C++ | src/SqlConnection.cpp | devinsmith/sql_pool | 82a9dc3f8697c3105bcdc19e6af698843e7a4495 | [
"MIT"
] | 1 | 2022-03-28T06:55:26.000Z | 2022-03-28T06:55:26.000Z | src/SqlConnection.cpp | devinsmith/sql_pool | 82a9dc3f8697c3105bcdc19e6af698843e7a4495 | [
"MIT"
] | null | null | null | src/SqlConnection.cpp | devinsmith/sql_pool | 82a9dc3f8697c3105bcdc19e6af698843e7a4495 | [
"MIT"
] | 2 | 2021-03-04T06:11:08.000Z | 2022-03-28T06:55:46.000Z | /*
* Copyright (c) 2012-2021 Devin Smith <devin@devinsmith.net>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS I... | 25.051563 | 102 | 0.643485 |
70d268b60349d27d067b1977cad8a9015bda2b03 | 1,708 | cpp | C++ | LeetCode/c/113.cpp | Leoyuseu/Code | 34edfbbfb7875b3ed06de393c192c1f13a5074f4 | [
"BSD-Source-Code"
] | null | null | null | LeetCode/c/113.cpp | Leoyuseu/Code | 34edfbbfb7875b3ed06de393c192c1f13a5074f4 | [
"BSD-Source-Code"
] | null | null | null | LeetCode/c/113.cpp | Leoyuseu/Code | 34edfbbfb7875b3ed06de393c192c1f13a5074f4 | [
"BSD-Source-Code"
] | null | null | null | #include <iostream>
#include <vector>
using namespace std;
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
class Solution {
public:
vector<vector<int>> pathSum(TreeNode* root, int sum) {
vector<vector<int> > ans;
... | 23.722222 | 95 | 0.536885 |
70d4db043e146d7d0c76666aa877981a6b7e22a9 | 15,215 | cc | C++ | ns-3-dev/src/simple/model/simple-net-device.cc | maxvonhippel/snake | 0805773dc34e1480dffaae40174aa1f82d1c6ce8 | [
"BSD-3-Clause"
] | 11 | 2015-11-24T11:07:28.000Z | 2021-12-23T04:10:29.000Z | ns-3-dev/src/simple/model/simple-net-device.cc | maxvonhippel/snake | 0805773dc34e1480dffaae40174aa1f82d1c6ce8 | [
"BSD-3-Clause"
] | null | null | null | ns-3-dev/src/simple/model/simple-net-device.cc | maxvonhippel/snake | 0805773dc34e1480dffaae40174aa1f82d1c6ce8 | [
"BSD-3-Clause"
] | 6 | 2016-03-01T06:32:21.000Z | 2022-03-24T19:31:41.000Z | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2008 INRIA
*
* This program 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 Foundation;
*
* This program is distributed... | 26.506969 | 144 | 0.703648 |
70d8d78bb5c30a1020f9d6565371a6e3cea6bdae | 6,270 | hpp | C++ | phonelibs/acado/include/acado/validated_integrator/ellipsoidal_integrator.hpp | Neptos/openpilot | 01914a1a91ade18bd7aead99e7d1bf38cd22ad89 | [
"MIT"
] | 116 | 2018-03-07T09:00:10.000Z | 2020-04-06T18:37:45.000Z | phonelibs/acado/include/acado/validated_integrator/ellipsoidal_integrator.hpp | Neptos/openpilot | 01914a1a91ade18bd7aead99e7d1bf38cd22ad89 | [
"MIT"
] | 66 | 2020-04-09T20:27:57.000Z | 2022-01-27T14:39:24.000Z | phonelibs/acado/include/acado/validated_integrator/ellipsoidal_integrator.hpp | Neptos/openpilot | 01914a1a91ade18bd7aead99e7d1bf38cd22ad89 | [
"MIT"
] | 154 | 2020-04-08T21:41:22.000Z | 2022-03-17T21:05:33.000Z | /*
* This file is part of ACADO Toolkit.
*
* ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
* Copyright (C) 2008-2014 by Boris Houska, Hans Joachim Ferreau,
* Milan Vukov, Rien Quirynen, KU Leuven.
* Developed within the Optimization in Engineering Center (OPTEC)
* u... | 31.35 | 116 | 0.675598 |
70db14e2d202219c453ee61d65f932298e5a1f43 | 1,464 | cpp | C++ | CSES/Tree Algorithms/Company Queries I.cpp | s166harth/CC | b6c0fe58f03633fe2787a567a16909f1b2966e7b | [
"MIT"
] | 406 | 2020-05-28T13:35:08.000Z | 2022-03-31T17:23:26.000Z | CSES/Tree Algorithms/Company Queries I.cpp | shakeeb-droids/CC | 2f49fcb52d748804aee9fc7f26abb3150bec69e5 | [
"MIT"
] | 3 | 2021-01-01T17:50:34.000Z | 2021-10-02T10:02:27.000Z | CSES/Tree Algorithms/Company Queries I.cpp | shakeeb-droids/CC | 2f49fcb52d748804aee9fc7f26abb3150bec69e5 | [
"MIT"
] | 108 | 2020-07-21T13:02:33.000Z | 2022-03-28T22:46:49.000Z | /**
🍪 thew6rst
🍪 12.02.2021 10:45:31
**/
#ifdef W
#include "k_II.h"
#else
#include <bits/stdc++.h>
using namespace std;
#endif
#define pb emplace_back
#define all(x) x.begin(), x.end()
#define sz(x) static_cast<int32_t>(x.size())
template<class T> class Y {
T f;
public:
templa... | 24.813559 | 72 | 0.456967 |
70dbe8ee408e4f227614da2f7348e29f024c810c | 78,997 | cc | C++ | src/net/reporting/reporting_header_parser_unittest.cc | Mr-Sheep/naiveproxy | 9f6e9768295f6d1d41517a15a621d4756bd7d6be | [
"BSD-3-Clause"
] | null | null | null | src/net/reporting/reporting_header_parser_unittest.cc | Mr-Sheep/naiveproxy | 9f6e9768295f6d1d41517a15a621d4756bd7d6be | [
"BSD-3-Clause"
] | null | null | null | src/net/reporting/reporting_header_parser_unittest.cc | Mr-Sheep/naiveproxy | 9f6e9768295f6d1d41517a15a621d4756bd7d6be | [
"BSD-3-Clause"
] | 1 | 2021-03-07T14:20:02.000Z | 2021-03-07T14:20:02.000Z | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/reporting/reporting_header_parser.h"
#include <sstream>
#include <string>
#include <vector>
#include "base/bind.h"
#include "base/json/jso... | 46.278266 | 80 | 0.693571 |
70e036053ffc63c30da421d96d564d43b8de29da | 3,693 | cpp | C++ | Applications/DataExplorer/DataView/FemConditionModel.cpp | MManicaM/ogs | 6d5ee002f7ac1d046b34655851b98907d5b8cc4f | [
"BSD-4-Clause"
] | null | null | null | Applications/DataExplorer/DataView/FemConditionModel.cpp | MManicaM/ogs | 6d5ee002f7ac1d046b34655851b98907d5b8cc4f | [
"BSD-4-Clause"
] | null | null | null | Applications/DataExplorer/DataView/FemConditionModel.cpp | MManicaM/ogs | 6d5ee002f7ac1d046b34655851b98907d5b8cc4f | [
"BSD-4-Clause"
] | null | null | null | /**
* \file
* \copyright
* Copyright (c) 2012-2019, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
#include "FemConditionModel.h"
#include ... | 33.572727 | 77 | 0.679664 |
70e1bebdcbd96978cdd7c021889ad9f3b7c189e4 | 1,723 | hpp | C++ | types/NullCoercibilityCheckMacro.hpp | Hacker0912/quickstep-datalog | 1de22e7ab787b5efa619861a167a097ff6a4f549 | [
"Apache-2.0"
] | 82 | 2016-04-18T03:59:06.000Z | 2019-02-04T11:46:08.000Z | types/NullCoercibilityCheckMacro.hpp | Hacker0912/quickstep-datalog | 1de22e7ab787b5efa619861a167a097ff6a4f549 | [
"Apache-2.0"
] | 265 | 2016-04-19T17:52:43.000Z | 2018-10-11T17:55:08.000Z | types/NullCoercibilityCheckMacro.hpp | Hacker0912/quickstep-datalog | 1de22e7ab787b5efa619861a167a097ff6a4f549 | [
"Apache-2.0"
] | 68 | 2016-04-18T05:00:34.000Z | 2018-10-30T12:41:02.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... | 36.659574 | 78 | 0.639582 |
70e676213a71532c8ff231c8514ae5f76a826ac8 | 471 | cpp | C++ | tests/main.cpp | NazaraEngine/NazaraEngine | 093d9d344e4459f40fc0119c8779673fa7e16428 | [
"MIT"
] | 11 | 2019-11-27T00:40:43.000Z | 2020-01-29T14:31:52.000Z | tests/main.cpp | NazaraEngine/NazaraEngine | 093d9d344e4459f40fc0119c8779673fa7e16428 | [
"MIT"
] | 7 | 2019-11-27T00:29:08.000Z | 2020-01-08T18:53:39.000Z | tests/main.cpp | NazaraEngine/NazaraEngine | 093d9d344e4459f40fc0119c8779673fa7e16428 | [
"MIT"
] | 7 | 2019-11-27T10:27:40.000Z | 2020-01-15T17:43:33.000Z | #define CATCH_CONFIG_RUNNER
#include <catch2/catch.hpp>
#include <Nazara/Audio/Audio.hpp>
#include <Nazara/Core/Log.hpp>
#include <Nazara/Core/AbstractLogger.hpp>
#include <Nazara/Core/Modules.hpp>
#include <Nazara/Network/Network.hpp>
#include <Nazara/Physics2D/Physics2D.hpp>
#include <Nazara/Utility/Utility.hpp>
in... | 26.166667 | 72 | 0.747346 |
70e6892f94a72a7c21bb275f99762fdedde036c3 | 589 | cpp | C++ | c-develop/pertemuan ke 6/ifBilTerbesar2.cpp | GustiArsyad123/C-Language-Test | 90a2eb45d1db2b039acbe5d3499aaff0aed99f82 | [
"MIT"
] | null | null | null | c-develop/pertemuan ke 6/ifBilTerbesar2.cpp | GustiArsyad123/C-Language-Test | 90a2eb45d1db2b039acbe5d3499aaff0aed99f82 | [
"MIT"
] | null | null | null | c-develop/pertemuan ke 6/ifBilTerbesar2.cpp | GustiArsyad123/C-Language-Test | 90a2eb45d1db2b039acbe5d3499aaff0aed99f82 | [
"MIT"
] | null | null | null | #include <iostream> //import input output
using namespace std; //mengguanakan file fungsi std
int main() //fungsi
{
double x, y; //deklarasi variable menggunakan tipe data double
cout << "Masukkan x: "; //cetak ke layar monitor x
cin >> x; //inputan kemudian di simpan di variable x
cout... | 32.722222 | 70 | 0.570458 |
70e7b889c539f5c96bd117e38e3670c378800b0f | 1,771 | cpp | C++ | CK2ToEU4Tests/MapperTests/PrimaryTagMapper/PrimaryTagMapperTests.cpp | Osariusz/CK2ToEU4 | a2786f00febb23c63f91b2ff27b788f926e18ea7 | [
"MIT"
] | 29 | 2020-04-05T21:27:46.000Z | 2021-08-29T20:24:21.000Z | CK2ToEU4Tests/MapperTests/PrimaryTagMapper/PrimaryTagMapperTests.cpp | Osariusz/CK2ToEU4 | a2786f00febb23c63f91b2ff27b788f926e18ea7 | [
"MIT"
] | 66 | 2020-03-31T00:29:00.000Z | 2022-03-02T11:54:24.000Z | CK2ToEU4Tests/MapperTests/PrimaryTagMapper/PrimaryTagMapperTests.cpp | Osariusz/CK2ToEU4 | a2786f00febb23c63f91b2ff27b788f926e18ea7 | [
"MIT"
] | 27 | 2020-03-30T15:56:24.000Z | 2022-02-05T22:54:25.000Z | #include "../../CK2ToEU4/Source/Mappers/PrimaryTagMapper/PrimaryTagMapper.h"
#include "gtest/gtest.h"
#include <sstream>
TEST(Mappers_PrimaryTagMapperTests, CultureTagsDefaultToEmpty)
{
std::stringstream input;
const mappers::PrimaryTagMapper tagMapper(input);
ASSERT_TRUE(tagMapper.getCultureTags().empty());
}
T... | 37.680851 | 95 | 0.730661 |
70e8a394f69e965052d99400f9b6c850f92adae1 | 11,805 | cpp | C++ | SymbolExtractorAndRenamer/lldb/source/Core/DataBufferMemoryMap.cpp | Polidea/SiriusObfuscator | b0e590d8130e97856afe578869b83a209e2b19be | [
"Apache-2.0"
] | 427 | 2018-05-29T14:21:02.000Z | 2022-03-16T03:17:54.000Z | SymbolExtractorAndRenamer/lldb/source/Core/DataBufferMemoryMap.cpp | PolideaPlayground/SiriusObfuscator | b0e590d8130e97856afe578869b83a209e2b19be | [
"Apache-2.0"
] | 25 | 2018-07-23T08:34:15.000Z | 2021-11-05T07:13:36.000Z | SymbolExtractorAndRenamer/lldb/source/Core/DataBufferMemoryMap.cpp | PolideaPlayground/SiriusObfuscator | b0e590d8130e97856afe578869b83a209e2b19be | [
"Apache-2.0"
] | 52 | 2018-07-19T19:57:32.000Z | 2022-03-11T16:05:38.000Z | //===-- DataBufferMemoryMap.cpp ---------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 38.327922 | 80 | 0.525709 |
70e8aaed399eb428d0b5e4550e3cba3bca905273 | 2,716 | cpp | C++ | pseudoSO/src/dispatcher.cpp | LSantos06/PseudoOS | a107dc184b7bed6020c96f5bd74aa464f04012de | [
"MIT"
] | null | null | null | pseudoSO/src/dispatcher.cpp | LSantos06/PseudoOS | a107dc184b7bed6020c96f5bd74aa464f04012de | [
"MIT"
] | 1 | 2017-12-04T13:54:56.000Z | 2017-12-04T13:54:56.000Z | pseudoSO/src/dispatcher.cpp | LSantos06/PseudoOS | a107dc184b7bed6020c96f5bd74aa464f04012de | [
"MIT"
] | null | null | null | #include "../include/dispatcher.h"
//Funcao de ordenacao para o vetor de processos
bool ordena (Processo *proc1, Processo *proc2){
return (proc1->getTempoInicializacao() < proc2->getTempoInicializacao());
}
Dispatcher::Dispatcher(vector< Processo* > processosArquivo, Disco *discoArquivo){
tempo_atual = 0;
//Atr... | 34.820513 | 82 | 0.701031 |
70ea05cbd69458cf0478333141d31420a240b899 | 10,123 | cc | C++ | src/core/breakpoint/BreakpointManager.cc | IntroVirt/IntroVirt | 917f735f3430d0855d8b59c814bea7669251901c | [
"Apache-2.0"
] | 23 | 2021-02-17T16:58:52.000Z | 2022-02-12T17:01:06.000Z | src/core/breakpoint/BreakpointManager.cc | IntroVirt/IntroVirt | 917f735f3430d0855d8b59c814bea7669251901c | [
"Apache-2.0"
] | 1 | 2021-04-01T22:41:32.000Z | 2021-09-24T14:14:17.000Z | src/core/breakpoint/BreakpointManager.cc | IntroVirt/IntroVirt | 917f735f3430d0855d8b59c814bea7669251901c | [
"Apache-2.0"
] | 4 | 2021-02-17T16:53:18.000Z | 2021-04-13T16:51:10.000Z | /*
* Copyright 2021 Assured Information Security, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 33.190164 | 99 | 0.648721 |
70ea1b0b7d6cb49147134c1c090158164914ec1e | 1,061 | cpp | C++ | USACOContest/2016Feb/Silver/cbarn/cbarn.cpp | UlyssesZh/AlgorithmTraining | a3d3c95cf60f0b73a13d297ef699617a19d0b80e | [
"CC0-1.0"
] | null | null | null | USACOContest/2016Feb/Silver/cbarn/cbarn.cpp | UlyssesZh/AlgorithmTraining | a3d3c95cf60f0b73a13d297ef699617a19d0b80e | [
"CC0-1.0"
] | null | null | null | USACOContest/2016Feb/Silver/cbarn/cbarn.cpp | UlyssesZh/AlgorithmTraining | a3d3c95cf60f0b73a13d297ef699617a19d0b80e | [
"CC0-1.0"
] | null | null | null | #include <cstdio>
#include <cstring>
char PROG[] = "cbarn";
#include <algorithm>
using namespace std;
int n;
long long x, c[1000];
long long squaresum(long long begin, long long end) {
return (end * (end + 1) * (2 * end + 1) -
(begin - 1) * begin * (2 * begin - 1)) / 6;
}
long long endat(int i) {
return x + c[i] ... | 17.683333 | 57 | 0.547597 |
70eb371268b94be63aa8e022a1837b2d6bfb77bf | 17,204 | hpp | C++ | libs/boost_1_72_0/boost/type_erasure/tuple.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | libs/boost_1_72_0/boost/type_erasure/tuple.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | libs/boost_1_72_0/boost/type_erasure/tuple.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | // Boost.TypeErasure library
//
// Copyright 2011-2012 Steven Watanabe
//
// 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)
//
// $Id$
#if !defined(BOOST_PP_IS_ITERATING)
#ifndef BOOST_TYPE_ERASURE_TUPLE_HPP_INCLU... | 35.767152 | 80 | 0.659614 |
70ebd377ba8aace3fe88effa5606e07d5717b507 | 5,419 | cpp | C++ | src/api/dcps/isocpp/code/org/opensplice/pub/qos/DataWriterQosImpl.cpp | agenihorganization/opensplice | 314d3a4538474f2b8e22acffe3c206f4ac38b66b | [
"Apache-2.0"
] | null | null | null | src/api/dcps/isocpp/code/org/opensplice/pub/qos/DataWriterQosImpl.cpp | agenihorganization/opensplice | 314d3a4538474f2b8e22acffe3c206f4ac38b66b | [
"Apache-2.0"
] | null | null | null | src/api/dcps/isocpp/code/org/opensplice/pub/qos/DataWriterQosImpl.cpp | agenihorganization/opensplice | 314d3a4538474f2b8e22acffe3c206f4ac38b66b | [
"Apache-2.0"
] | null | null | null | /*
* OpenSplice DDS
*
* This software and documentation are Copyright 2006 to TO_YEAR PrismTech
* Limited, its affiliated companies and licensors. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in complianc... | 27.789744 | 94 | 0.706772 |
70f0557ff129f7473a43940ce69dcfc4b5fd7d63 | 25,506 | hpp | C++ | src/netcdf/lpm_netcdf_impl.hpp | pbosler/lpmKokkos | c8b4a8478c08957ce70a6fbd7da00481c53414b9 | [
"BSD-3-Clause"
] | null | null | null | src/netcdf/lpm_netcdf_impl.hpp | pbosler/lpmKokkos | c8b4a8478c08957ce70a6fbd7da00481c53414b9 | [
"BSD-3-Clause"
] | null | null | null | src/netcdf/lpm_netcdf_impl.hpp | pbosler/lpmKokkos | c8b4a8478c08957ce70a6fbd7da00481c53414b9 | [
"BSD-3-Clause"
] | null | null | null | #include "netcdf/lpm_netcdf.hpp"
#ifdef LPM_USE_NETCDF
#include "util/lpm_string_util.hpp"
#include <sstream>
namespace Lpm {
template <typename Geo>
void NcWriter<Geo>::open() {
int retval = nc_create(fname.c_str(), NC_NETCDF4 | NC_CLOBBER, &ncid);
CHECK_NCERR(retval);
text_att_type att = std::make_pair("LPM"... | 34.008 | 113 | 0.686231 |
70f0dd0ae180294312c7d412eea39484a02fdeb1 | 59,736 | cpp | C++ | aws-cpp-sdk-pinpoint-email/source/PinpointEmailClient.cpp | tpot/aws-sdk-cpp | a6161443c1ee05d7cc2b2f145dd4428aa00268b8 | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-pinpoint-email/source/PinpointEmailClient.cpp | tpot/aws-sdk-cpp | a6161443c1ee05d7cc2b2f145dd4428aa00268b8 | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-pinpoint-email/source/PinpointEmailClient.cpp | tpot/aws-sdk-cpp | a6161443c1ee05d7cc2b2f145dd4428aa00268b8 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | 49.409429 | 292 | 0.798313 |
70f3b3aa51b0555247cc9f78af7e11a51239c6a5 | 4,784 | cpp | C++ | Plugins/org.blueberry.ui.qt/src/internal/intro/berryIntroRegistry.cpp | ZP-Hust/MITK | ca11353183c5ed4bc30f938eae8bde43a0689bf6 | [
"BSD-3-Clause"
] | 1 | 2021-11-20T08:19:27.000Z | 2021-11-20T08:19:27.000Z | Plugins/org.blueberry.ui.qt/src/internal/intro/berryIntroRegistry.cpp | wyyrepo/MITK | d0837f3d0d44f477b888ec498e9a2ed407e79f20 | [
"BSD-3-Clause"
] | null | null | null | Plugins/org.blueberry.ui.qt/src/internal/intro/berryIntroRegistry.cpp | wyyrepo/MITK | d0837f3d0d44f477b888ec498e9a2ed407e79f20 | [
"BSD-3-Clause"
] | 1 | 2019-01-09T08:20:18.000Z | 2019-01-09T08:20:18.000Z | /*===================================================================
BlueBerry Platform
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty of MERCHANTABILITY or FITNESS... | 27.653179 | 90 | 0.639214 |
70f50b11f65556632c557a92f192e185af562105 | 10,958 | cpp | C++ | crypto/CadmiumCrypto.cpp | Acidburn0zzz/NfWebCrypto | 0186e3ebde1779419053384983612d7d494e6bcc | [
"Apache-2.0"
] | null | null | null | crypto/CadmiumCrypto.cpp | Acidburn0zzz/NfWebCrypto | 0186e3ebde1779419053384983612d7d494e6bcc | [
"Apache-2.0"
] | null | null | null | crypto/CadmiumCrypto.cpp | Acidburn0zzz/NfWebCrypto | 0186e3ebde1779419053384983612d7d494e6bcc | [
"Apache-2.0"
] | null | null | null | /*
*
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | 34.137072 | 95 | 0.682059 |
70f631eeeaa44d21e18c79b374369fadbb3ccd72 | 398 | hpp | C++ | Horista.hpp | vinicassol/PolimorfismoEmpregados | b73a35536c1b6f6acd3cf64d02f71a923174e096 | [
"MIT"
] | 1 | 2020-12-29T01:35:03.000Z | 2020-12-29T01:35:03.000Z | Horista.hpp | vinicassol/PolimorfismoEmpregados | b73a35536c1b6f6acd3cf64d02f71a923174e096 | [
"MIT"
] | null | null | null | Horista.hpp | vinicassol/PolimorfismoEmpregados | b73a35536c1b6f6acd3cf64d02f71a923174e096 | [
"MIT"
] | null | null | null | //
// Horista.hpp
// PolimorfismoEmpregados
//
// Created by Vini Cassol on 29/05/20.
// Copyright © 2020 Vini Cassol. All rights reserved.
//
#ifndef Horista_hpp
#define Horista_hpp
#include "Empregado.hpp"
class Horista : public Empregado
{
public:
Horista();
double vencimento();
private:
... | 14.214286 | 54 | 0.673367 |
70f731609c6e7762a0e682bb8106887c075a70cd | 1,929 | cpp | C++ | benchmark/bench_parse_call.cpp | cppchedy/simdjson | 7dad9fca0f5fda7524ab03fe8a2f155c68a5a3e1 | [
"Apache-2.0"
] | 1 | 2020-07-31T00:01:28.000Z | 2020-07-31T00:01:28.000Z | benchmark/bench_parse_call.cpp | ismaproco/simdjson | 7dad9fca0f5fda7524ab03fe8a2f155c68a5a3e1 | [
"Apache-2.0"
] | null | null | null | benchmark/bench_parse_call.cpp | ismaproco/simdjson | 7dad9fca0f5fda7524ab03fe8a2f155c68a5a3e1 | [
"Apache-2.0"
] | null | null | null | #include <benchmark/benchmark.h>
#include "simdjson.h"
using namespace simdjson;
using namespace benchmark;
using namespace std;
const padded_string EMPTY_ARRAY("[]", 2);
SIMDJSON_PUSH_DISABLE_WARNINGS
SIMDJSON_DISABLE_DEPRECATED_WARNING
static void json_parse(State& state) {
ParsedJson pj;
if (!pj.allocate_capac... | 26.424658 | 66 | 0.711768 |
70f7688501a0a51d243ec19077826b0657a1e230 | 32,725 | cpp | C++ | MNE/inverse/hpiFit/hpifit.cpp | 13grife37/mne-cpp-swpold | 9b89b3d7fe273d9f4ffd69b504e17f284eaba263 | [
"BSD-3-Clause"
] | 2 | 2017-04-20T20:21:16.000Z | 2017-04-26T16:30:25.000Z | MNE/inverse/hpiFit/hpifit.cpp | 13grife37/mne-cpp-swpold | 9b89b3d7fe273d9f4ffd69b504e17f284eaba263 | [
"BSD-3-Clause"
] | null | null | null | MNE/inverse/hpiFit/hpifit.cpp | 13grife37/mne-cpp-swpold | 9b89b3d7fe273d9f4ffd69b504e17f284eaba263 | [
"BSD-3-Clause"
] | 1 | 2017-04-23T15:55:31.000Z | 2017-04-23T15:55:31.000Z | //=============================================================================================================
/**
* @file hpifit.cpp
* @author Lorenz Esch <Lorenz.Esch@tu-ilmenau.de>;
* Matti Hamalainen <msh@nmr.mgh.harvard.edu>
* @version 1.0
* @date March, 2017
*
* @section LICENSE
*
* Copyrig... | 35.765027 | 173 | 0.507288 |
70f8e531e5af9e2fa3fcc995ffb144de30c83a8d | 2,792 | hpp | C++ | include/crosstex/BC.hpp | Yepoleb/crosstex | 02f6da62895c1e14de37f140470b41f0952a4af3 | [
"MIT"
] | 4 | 2017-12-24T16:19:29.000Z | 2020-02-15T13:40:43.000Z | include/crosstex/BC.hpp | Yepoleb/crosstex | 02f6da62895c1e14de37f140470b41f0952a4af3 | [
"MIT"
] | null | null | null | include/crosstex/BC.hpp | Yepoleb/crosstex | 02f6da62895c1e14de37f140470b41f0952a4af3 | [
"MIT"
] | null | null | null | #pragma once
#include <stdint.h>
#include <stddef.h>
#include "Colors.hpp"
#define UNREFERENCED_PARAMETER(name) do { (void)(name); } while (0)
namespace Tex
{
//-------------------------------------------------------------------------------------
// Constants
//------------------------------------------------------... | 44.31746 | 134 | 0.653653 |
70fc1ccb1df0ebc43bda8ead109ac1b70e7eefe3 | 5,669 | cpp | C++ | src/common/commandLine.cpp | salarii/dims | b8008c49edd10a9ca50923b89e3b469c342d9cee | [
"MIT"
] | 1 | 2015-01-22T11:22:19.000Z | 2015-01-22T11:22:19.000Z | src/common/commandLine.cpp | salivan-ratcoin-dev-team/dims | b8008c49edd10a9ca50923b89e3b469c342d9cee | [
"MIT"
] | null | null | null | src/common/commandLine.cpp | salivan-ratcoin-dev-team/dims | b8008c49edd10a9ca50923b89e3b469c342d9cee | [
"MIT"
] | null | null | null | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 DiMS dev-team
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "rpcserver.h"
#include "rpcclient.h"
... | 23.138776 | 102 | 0.66943 |
cb0040820ee7e1527e4debb7d8d75d471d79d2fe | 919 | cpp | C++ | templates/Cpp/OpenCV/camera.cpp | koturn/kotemplate | adc2d4b1896b7a0cfde047fea0fa5638d5f61a46 | [
"MIT"
] | 3 | 2015-11-08T06:38:11.000Z | 2019-03-01T15:47:54.000Z | templates/Cpp/OpenCV/camera.cpp | koturn/kotemplate | adc2d4b1896b7a0cfde047fea0fa5638d5f61a46 | [
"MIT"
] | null | null | null | templates/Cpp/OpenCV/camera.cpp | koturn/kotemplate | adc2d4b1896b7a0cfde047fea0fa5638d5f61a46 | [
"MIT"
] | 1 | 2015-12-03T19:41:42.000Z | 2015-12-03T19:41:42.000Z | /*!
* @brief Simple camera program with OpenCV
* @author <+AUTHOR+>
* @date <+DATE+>
* @file <+FILE+>
* @version 0.1
*/
#include <iostream>
#include <opencv/cv.h>
#include <opencv/highgui.h>
/*!
* @brief Entry point of the program
* @param [in] argc A number of command-line arguments
* @param [in] ar... | 22.975 | 81 | 0.639826 |
cb0080971d43ed9bdd2cc1c9275497a91e86063d | 2,922 | hpp | C++ | include/mitama/mana/functional/chunkify.hpp | LoliGothick/mitama-mana | 32ba02356b6e2bbfdbadd4dd6f8054b2aa1af898 | [
"MIT"
] | 1 | 2019-07-25T01:42:22.000Z | 2019-07-25T01:42:22.000Z | include/mitama/mana/functional/chunkify.hpp | LoliGothick/mitama-mana | 32ba02356b6e2bbfdbadd4dd6f8054b2aa1af898 | [
"MIT"
] | null | null | null | include/mitama/mana/functional/chunkify.hpp | LoliGothick/mitama-mana | 32ba02356b6e2bbfdbadd4dd6f8054b2aa1af898 | [
"MIT"
] | null | null | null | #ifndef MITAMA_MANA_FUNCTIONAL_CHUNKIFY_HPP
#define MITAMA_MANA_FUNCTIONAL_CHUNKIFY_HPP
#include <mitama/mana/algorithm/chunk.hpp>
#include <mitama/mana/algorithm/klisli.hpp>
#include <mitama/mana/utility/apply.hpp>
#include <mitama/mana/utility/peel.hpp>
#include <mitama/mana/type_traits/is_tuple_like.hpp>
#include <... | 38.96 | 150 | 0.644079 |
cb00be846a796ba271be9d3240287c964113dab2 | 757 | cpp | C++ | oj_ex/All_in_All.cpp | yuqi-lee/program-design | f1d8d86b6ec32184a12754bb5015354ef6e472e1 | [
"MIT"
] | null | null | null | oj_ex/All_in_All.cpp | yuqi-lee/program-design | f1d8d86b6ec32184a12754bb5015354ef6e472e1 | [
"MIT"
] | null | null | null | oj_ex/All_in_All.cpp | yuqi-lee/program-design | f1d8d86b6ec32184a12754bb5015354ef6e472e1 | [
"MIT"
] | null | null | null | #include<iostream>
using namespace std;
bool isChildString(char* parent,char* child)
{
int j = -1;
int i = 0;
for(; child[i] != '\0';i++)
{
if(j != -1 && parent[j] == '\0')
break;
for(;parent[j] != '\0';)
{
j++;
if(parent[j] == child[i])
... | 18.02381 | 58 | 0.424042 |
cb022d18789e6e9500f206350d0b5990cd80f4d3 | 385 | cpp | C++ | OOPs/TimeUse.cpp | Mitushi-23/DSA-60Days | e8bd2766331fb7d99c11ab96fcc803d9c20ccd1e | [
"MIT"
] | null | null | null | OOPs/TimeUse.cpp | Mitushi-23/DSA-60Days | e8bd2766331fb7d99c11ab96fcc803d9c20ccd1e | [
"MIT"
] | null | null | null | OOPs/TimeUse.cpp | Mitushi-23/DSA-60Days | e8bd2766331fb7d99c11ab96fcc803d9c20ccd1e | [
"MIT"
] | 1 | 2021-10-05T10:09:32.000Z | 2021-10-05T10:09:32.000Z | #include <bits/stdc++.h>
#include "Time.cpp"
using namespace std;
int main()
{
Time t1;
t1.setHour(3);
t1.setMinutes(34);
t1.setSeconds(54);
Time t2;
t2.setHour(2);
t2.setMinutes(24);
t2.setSeconds(35);
Time t3;
t3 = t1.add(t2);
t1.print();
t2.print();
t3.pri... | 14.259259 | 26 | 0.532468 |
cb03d9706f54bc8b307bc2c7e23b65b8bfab8851 | 8,876 | cpp | C++ | wpimath/src/test/native/cpp/kinematics/MecanumDriveKinematicsTest.cpp | bvisness/allwpilib | 549af990072a1ed0c1649c34dc6e1a5cc5f01bd1 | [
"BSD-3-Clause"
] | 1 | 2021-08-06T14:23:33.000Z | 2021-08-06T14:23:33.000Z | wpimath/src/test/native/cpp/kinematics/MecanumDriveKinematicsTest.cpp | bvisness/allwpilib | 549af990072a1ed0c1649c34dc6e1a5cc5f01bd1 | [
"BSD-3-Clause"
] | 2 | 2020-07-11T23:47:55.000Z | 2020-07-16T16:09:06.000Z | wpimath/src/test/native/cpp/kinematics/MecanumDriveKinematicsTest.cpp | bvisness/allwpilib | 549af990072a1ed0c1649c34dc6e1a5cc5f01bd1 | [
"BSD-3-Clause"
] | 1 | 2020-07-18T20:47:30.000Z | 2020-07-18T20:47:30.000Z | /*----------------------------------------------------------------------------*/
/* Copyright (c) 2019-2020 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | 38.424242 | 80 | 0.689725 |
cb04e404fbfabf11c460bbdd482e56981214a2a9 | 70,728 | cc | C++ | third-party/webscalesqlclient/mysql-5.6/storage/innobase/trx/trx0trx.cc | hkirsman/hhvm_centos7_builds | 2a1fd6de0d2d289c1575f43f10018f3bec23bb13 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | third-party/webscalesqlclient/mysql-5.6/storage/innobase/trx/trx0trx.cc | hkirsman/hhvm_centos7_builds | 2a1fd6de0d2d289c1575f43f10018f3bec23bb13 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | third-party/webscalesqlclient/mysql-5.6/storage/innobase/trx/trx0trx.cc | hkirsman/hhvm_centos7_builds | 2a1fd6de0d2d289c1575f43f10018f3bec23bb13 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | /*****************************************************************************
Copyright (c) 1996, 2014, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Founda... | 26.509745 | 78 | 0.655794 |
cb05949ad8d8d3ac54832173e278edd5826c9bcd | 2,868 | cpp | C++ | src/Program/ViewDisplay2D_3D/Program.ViewDisplay2D_3D.cpp | Robot-Fromage/Lavabo | e6ddc3123f057258a2e9e74c08ecd8d2333c9dd6 | [
"MIT"
] | null | null | null | src/Program/ViewDisplay2D_3D/Program.ViewDisplay2D_3D.cpp | Robot-Fromage/Lavabo | e6ddc3123f057258a2e9e74c08ecd8d2333c9dd6 | [
"MIT"
] | null | null | null | src/Program/ViewDisplay2D_3D/Program.ViewDisplay2D_3D.cpp | Robot-Fromage/Lavabo | e6ddc3123f057258a2e9e74c08ecd8d2333c9dd6 | [
"MIT"
] | null | null | null | /*************************************************************************
*
* Lavabo
*__________________
*
* Program.ViewDisplay2D_3D.cpp
*
* Clement Berthaud - Layl
* Please refer to LICENSE.TXT
*/
#include "Program.ViewDisplay2D_3D.h"
#include <QGraphicsItem>
#include <QGraphicsProxyWidget>
#include "ViewDisp... | 23.129032 | 112 | 0.511855 |
cb09316a90c30dd0cdfd9be6ec24c1760760f3ad | 2,592 | cpp | C++ | src/buffer.cpp | plenluno/libnode | 9dea4f2390422e70544186df3f5c032cb4a7db08 | [
"BSD-2-Clause",
"MIT"
] | 255 | 2015-01-06T15:11:26.000Z | 2022-03-30T20:52:58.000Z | src/buffer.cpp | plenluno/libnode | 9dea4f2390422e70544186df3f5c032cb4a7db08 | [
"BSD-2-Clause",
"MIT"
] | 2 | 2018-12-18T22:50:25.000Z | 2019-01-09T16:57:11.000Z | src/buffer.cpp | plenluno/libnode | 9dea4f2390422e70544186df3f5c032cb4a7db08 | [
"BSD-2-Clause",
"MIT"
] | 36 | 2015-03-28T03:23:57.000Z | 2022-01-16T12:51:30.000Z | // Copyright (c) 2012-2014 Plenluno All rights reserved.
#include <libnode/buffer.h>
#include <libnode/detail/buffer.h>
namespace libj {
namespace node {
Buffer::Ptr Buffer::create(Size length) {
return Ptr(new detail::Buffer<Buffer>(length));
}
Buffer::Ptr Buffer::create(const void* data, Size length) {
if... | 30.857143 | 74 | 0.615355 |
cb0a7f4e461143d908e995864c8fe604f856b9a8 | 1,977 | cpp | C++ | Libraries/LibCore/CProcessStatisticsReader.cpp | urantialife/serenity | 6e671f78a82bc3d9785bd35307cec72a84b6dcda | [
"BSD-2-Clause"
] | 1 | 2019-07-13T01:30:44.000Z | 2019-07-13T01:30:44.000Z | Libraries/LibCore/CProcessStatisticsReader.cpp | urantialife/serenity | 6e671f78a82bc3d9785bd35307cec72a84b6dcda | [
"BSD-2-Clause"
] | null | null | null | Libraries/LibCore/CProcessStatisticsReader.cpp | urantialife/serenity | 6e671f78a82bc3d9785bd35307cec72a84b6dcda | [
"BSD-2-Clause"
] | null | null | null | #include <AK/JsonArray.h>
#include <AK/JsonObject.h>
#include <AK/JsonValue.h>
#include <LibCore/CFile.h>
#include <LibCore/CProcessStatisticsReader.h>
#include <pwd.h>
#include <stdio.h>
HashMap<uid_t, String> CProcessStatisticsReader::s_usernames;
HashMap<pid_t, CProcessStatistics> CProcessStatisticsReader::get_all... | 34.684211 | 105 | 0.669702 |
cb0ac0e955faa7177b861c492357bb98f501d442 | 3,698 | cc | C++ | tests/unittests/test_util.cc | phuy/cef3 | 33449af3cfa7b43e8b0f9a7190a20def32cb8f7b | [
"BSD-3-Clause"
] | 2 | 2016-01-22T03:10:02.000Z | 2021-04-21T06:32:11.000Z | tests/unittests/test_util.cc | phuy/cef3 | 33449af3cfa7b43e8b0f9a7190a20def32cb8f7b | [
"BSD-3-Clause"
] | null | null | null | tests/unittests/test_util.cc | phuy/cef3 | 33449af3cfa7b43e8b0f9a7190a20def32cb8f7b | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2012 The Chromium Embedded Framework 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 "tests/unittests/test_util.h"
#include "testing/gtest/include/gtest/gtest.h"
void TestBinaryEqual(CefRefPtr<CefBinaryVa... | 29.11811 | 80 | 0.637372 |
cb0aeaacb789de549e5f8347b303c573252b58f8 | 1,658 | cpp | C++ | Khadas/sample/Face/src/main.cpp | iotbo/TengineKit | b82c3758360ef37cb219d487d3858a4c1b4effe7 | [
"Apache-2.0"
] | null | null | null | Khadas/sample/Face/src/main.cpp | iotbo/TengineKit | b82c3758360ef37cb219d487d3858a4c1b4effe7 | [
"Apache-2.0"
] | null | null | null | Khadas/sample/Face/src/main.cpp | iotbo/TengineKit | b82c3758360ef37cb219d487d3858a4c1b4effe7 | [
"Apache-2.0"
] | null | null | null | #include "manager.hpp"
#include <chrono>
#include <iostream>
#include <memory>
#include <opencv2/opencv.hpp>
#include <vector>
int main(int argc, char **argv) {
cv::Mat frame = cv::imread(argv[1]);
manager *tm = new manager();
int image_w = frame.cols;
int image_h = frame.rows;
cv::Mat origin;
frame.copyTo... | 32.509804 | 79 | 0.58082 |
cb0b7dde789b57b4cb63bad8b630a434c245d1d3 | 1,678 | hh | C++ | policy-decision-point/ast_preprocessor_visitor.hh | SSICLOPS/cppl | 265514bc461352b7b5bc58fd7482328601029e4a | [
"Apache-2.0"
] | 1 | 2018-06-02T11:50:06.000Z | 2018-06-02T11:50:06.000Z | policy-decision-point/ast_preprocessor_visitor.hh | SSICLOPS/cppl | 265514bc461352b7b5bc58fd7482328601029e4a | [
"Apache-2.0"
] | 1 | 2018-01-17T04:16:29.000Z | 2018-01-30T09:01:44.000Z | policy-decision-point/ast_preprocessor_visitor.hh | SSICLOPS/cppl | 265514bc461352b7b5bc58fd7482328601029e4a | [
"Apache-2.0"
] | 1 | 2018-11-18T20:31:54.000Z | 2018-11-18T20:31:54.000Z | // Copyright 2015-2018 RWTH Aachen University
//
// 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... | 37.288889 | 115 | 0.721692 |
cb0c4ae2df7edf3b76f081f073c4eef3bf23221e | 1,349 | hpp | C++ | core/cs_basic_type.hpp | WukongGPU/WukongGPU | 7810ecc1328b21230d448c6e64cc6fbd21f3b089 | [
"Apache-2.0"
] | 6 | 2017-11-13T02:08:50.000Z | 2021-02-21T07:34:31.000Z | core/cs_basic_type.hpp | WukongGPU/WukongGPU | 7810ecc1328b21230d448c6e64cc6fbd21f3b089 | [
"Apache-2.0"
] | null | null | null | core/cs_basic_type.hpp | WukongGPU/WukongGPU | 7810ecc1328b21230d448c6e64cc6fbd21f3b089 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2016 Shanghai Jiao Tong University.
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.... | 22.114754 | 68 | 0.717569 |
cb0cf435add0e49ac330ce3f4cba628c12e9f82f | 11,131 | cpp | C++ | storage/row.cpp | Alchem-Lab/deneva | 5201ef12fd8235fea7833709b8bffe45f53877eb | [
"Apache-2.0"
] | 88 | 2017-01-19T03:15:24.000Z | 2022-03-30T16:22:19.000Z | storage/row.cpp | Alchem-Lab/deneva | 5201ef12fd8235fea7833709b8bffe45f53877eb | [
"Apache-2.0"
] | null | null | null | storage/row.cpp | Alchem-Lab/deneva | 5201ef12fd8235fea7833709b8bffe45f53877eb | [
"Apache-2.0"
] | 22 | 2017-01-20T10:22:31.000Z | 2022-02-10T18:55:36.000Z | /*
Copyright 2016 Massachusetts Institute of Technology
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 applicab... | 26.376777 | 111 | 0.660677 |
cb0d492f8289909d70483f319fd2aca06f0184cb | 233 | hpp | C++ | shared/Networking/MpNetworkingEvents.hpp | EnderdracheLP/MultiplayerCore.Quest | fd680fe8eb4dffdd3459059b9058002c3ed24749 | [
"MIT"
] | null | null | null | shared/Networking/MpNetworkingEvents.hpp | EnderdracheLP/MultiplayerCore.Quest | fd680fe8eb4dffdd3459059b9058002c3ed24749 | [
"MIT"
] | null | null | null | shared/Networking/MpNetworkingEvents.hpp | EnderdracheLP/MultiplayerCore.Quest | fd680fe8eb4dffdd3459059b9058002c3ed24749 | [
"MIT"
] | 1 | 2022-03-22T11:36:32.000Z | 2022-03-22T11:36:32.000Z | #pragma once
#include "../Utils/event.hpp"
#include "MpPacketSerializer.hpp"
namespace MultiplayerCore::Networking {
struct MpNetworkingEvents {
static event<Networking::MpPacketSerializer*> RegisterPackets;
};
} | 19.416667 | 70 | 0.729614 |
cb0d6b53ddd6bc26007aaa873858d9771d92043e | 2,069 | cpp | C++ | dbms/src/Common/isLocalAddress.cpp | solotzg/tiflash | 66f45c76692e941bc845c01349ea89de0f2cc210 | [
"Apache-2.0"
] | 85 | 2022-03-25T09:03:16.000Z | 2022-03-25T09:45:03.000Z | dbms/src/Common/isLocalAddress.cpp | solotzg/tiflash | 66f45c76692e941bc845c01349ea89de0f2cc210 | [
"Apache-2.0"
] | 7 | 2022-03-25T08:59:10.000Z | 2022-03-25T09:40:13.000Z | dbms/src/Common/isLocalAddress.cpp | solotzg/tiflash | 66f45c76692e941bc845c01349ea89de0f2cc210 | [
"Apache-2.0"
] | 11 | 2022-03-25T09:15:36.000Z | 2022-03-25T09:45:07.000Z | // Copyright 2022 PingCAP, Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | 36.946429 | 134 | 0.676655 |
cb0e15bfd5966c322711c160e00002a4602254c9 | 259 | cpp | C++ | test/test.cpp | markjonestx/LibTorus | 5a85fc061f1bb4e3c5347983922ca794e0cd346f | [
"X11"
] | null | null | null | test/test.cpp | markjonestx/LibTorus | 5a85fc061f1bb4e3c5347983922ca794e0cd346f | [
"X11"
] | null | null | null | test/test.cpp | markjonestx/LibTorus | 5a85fc061f1bb4e3c5347983922ca794e0cd346f | [
"X11"
] | null | null | null | #define CATCH_CONFIG_MAIN
#include "catch2/catch.hpp"
#include "libtorus.hpp"
Torus<int> IntTorus(unsigned int x, unsigned int y) {
return Torus<int>(x, y);
}
TEST_CASE( "Torus need make sense", "[torus]") {
REQUIRE( IntTorus(1,1).get_x() == 0);
}
| 19.923077 | 53 | 0.667954 |
cb0f84695272e739b9209148257672a5b7928f1b | 2,115 | cpp | C++ | src/tensorrt/tests/tests_queue.cpp | LaudateCorpus1/dlcookbook-dlbs | 998a44940eb80f534ed682f8ef010e35df6b89a2 | [
"Apache-2.0"
] | 123 | 2017-11-28T20:21:24.000Z | 2022-03-22T11:21:04.000Z | src/tensorrt/tests/tests_queue.cpp | LaudateCorpus1/dlcookbook-dlbs | 998a44940eb80f534ed682f8ef010e35df6b89a2 | [
"Apache-2.0"
] | 17 | 2018-01-05T00:05:13.000Z | 2020-09-18T05:12:45.000Z | src/tensorrt/tests/tests_queue.cpp | LaudateCorpus1/dlcookbook-dlbs | 998a44940eb80f534ed682f8ef010e35df6b89a2 | [
"Apache-2.0"
] | 48 | 2018-01-04T20:52:51.000Z | 2022-03-06T00:47:17.000Z | #include "core/queues.hpp"
#include <chrono>
#include <thread>
#include <iostream>
void client(abstract_queue<int>* queue, long& counter, bool is_provider, int sleep_milliseconds=100);
void test_queue(abstract_queue<int>*q, const int num_providers, const size_t num_consumers);
int main(int /*argc*/, char** /*argv*/... | 35.25 | 111 | 0.608511 |
cb0fa89cbbde76c03257ca2722f09e63f855779a | 2,309 | cpp | C++ | test/cnd_test/cnd_test.cpp | BoostGSoC18/Advanced-Intrusive | 30c465125c460e4bc2a9583ce00f0f706ed23e5a | [
"BSL-1.0"
] | 3 | 2018-08-30T18:14:40.000Z | 2019-02-22T17:12:44.000Z | test/cnd_test/cnd_test.cpp | BoostGSoC18/Advanced-Intrusive | 30c465125c460e4bc2a9583ce00f0f706ed23e5a | [
"BSL-1.0"
] | 4 | 2018-05-31T10:01:25.000Z | 2018-07-26T15:14:26.000Z | test/cnd_test/cnd_test.cpp | BoostGSoC18/Advanced-Intrusive | 30c465125c460e4bc2a9583ce00f0f706ed23e5a | [
"BSL-1.0"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
#include <iostream> // for std::cout
#include <utility> // for std::pair
#include <algorithm> // for std::for_each
#include <boost/graph/graph_traits.hpp>
#include <boost/graph/adjacency_list.hpp>
#include <boost/graph/adjac... | 28.158537 | 86 | 0.614985 |
cb10bff7cd7288620ab0b1e9f1f7d1e19cfde9ad | 381 | cpp | C++ | C++/C++ I/Lab1/a1p2.cpp | Devang-25/CS-Jacobs | d56a70c13ce3863bcf3140990fab5b634b30a2af | [
"MIT"
] | null | null | null | C++/C++ I/Lab1/a1p2.cpp | Devang-25/CS-Jacobs | d56a70c13ce3863bcf3140990fab5b634b30a2af | [
"MIT"
] | null | null | null | C++/C++ I/Lab1/a1p2.cpp | Devang-25/CS-Jacobs | d56a70c13ce3863bcf3140990fab5b634b30a2af | [
"MIT"
] | null | null | null | /*
CH08-320142
Problem 1.2.cpp
Digdarshan Kunwar
d.kunwar@jacobs-university.de
*/
#include <iostream>
#include <string>
using namespace std;
int main (int argc, char** argv){
int nr;
float val;
string s;
cin >> nr;
cin >> val;
cin.get();
getline(cin,s);
for (int i=0;i<nr;i++){
... | 13.607143 | 35 | 0.548556 |
cb12fa9353b628206ec24432662579cd5bec6fd5 | 7,232 | cpp | C++ | src/core/cpp/scene/SceneUtility.cpp | NeroGames/Nero-Game-Engine | 8543b8bb142738aa28bc20e929b342d3e6df066e | [
"MIT"
] | 26 | 2020-09-02T18:14:36.000Z | 2022-02-08T18:28:36.000Z | src/core/cpp/scene/SceneUtility.cpp | sk-landry/Nero-Game-Engine | 8543b8bb142738aa28bc20e929b342d3e6df066e | [
"MIT"
] | 14 | 2020-08-30T01:37:04.000Z | 2021-07-19T20:47:29.000Z | src/core/cpp/scene/SceneUtility.cpp | sk-landry/Nero-Game-Engine | 8543b8bb142738aa28bc20e929b342d3e6df066e | [
"MIT"
] | 6 | 2020-09-02T18:14:57.000Z | 2021-12-31T00:32:09.000Z | ////////////////////////////////////////////////////////////
// Nero Game Engine
// Copyright (c) 2016-2020 Sanou A. K. Landry
////////////////////////////////////////////////////////////
///////////////////////////HEADERS//////////////////////////
//NERO
#include <Nero/core/cpp/scene/SceneUtility.h>
//////////////////... | 35.106796 | 98 | 0.53927 |
cb157db0e143daed8d54a448b303518d838da3a2 | 16,835 | cpp | C++ | libogre/src/input/SDLInputDevice.cpp | sirikata/sirikata | 3a0d54a8c4778ad6e25ef031d461b2bc3e264860 | [
"BSD-3-Clause"
] | 31 | 2015-01-28T17:01:10.000Z | 2021-11-04T08:30:37.000Z | libogre/src/input/SDLInputDevice.cpp | pathorn/sirikata | 5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa | [
"BSD-3-Clause"
] | null | null | null | libogre/src/input/SDLInputDevice.cpp | pathorn/sirikata | 5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa | [
"BSD-3-Clause"
] | 9 | 2015-08-02T18:39:49.000Z | 2019-10-11T10:32:30.000Z | /* Sirikata Input Plugin -- plugins/input
* SDLInputDevice.cpp
*
* Copyright (c) 2009, Patrick Reiter Horn
* 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... | 35.442105 | 112 | 0.672943 |
cb172d2b4c13214429f8cc96e65b3f5426edcad6 | 1,114 | cc | C++ | matlab_ext/img_video/w1.cc | zaqwes8811/coordinator-tasks | 7f63fdf613eff5d441a3c2c7b52d2a3d02d9736a | [
"MIT"
] | null | null | null | matlab_ext/img_video/w1.cc | zaqwes8811/coordinator-tasks | 7f63fdf613eff5d441a3c2c7b52d2a3d02d9736a | [
"MIT"
] | 15 | 2015-03-07T12:46:41.000Z | 2015-04-11T09:08:36.000Z | matlab_ext/img_video/w1.cc | zaqwes8811/micro-apps | 7f63fdf613eff5d441a3c2c7b52d2a3d02d9736a | [
"MIT"
] | null | null | null | #include <opencv/highgui.h>
#include <opencv2/opencv.hpp>
#include <iostream>
#include <string>
#include <sstream>
using namespace cv;
using namespace std;
int main()
{
auto cap = VideoCapture( "../Documents/drop.avi" );
auto frame_counter = 0;
// не всегда можно получить
cout << "fps:" << cap.get( CV_CAP_PRO... | 21.018868 | 76 | 0.64632 |
cb174c43dbb3556a123d9d3311e26c54683f224d | 538 | cpp | C++ | Problems/PTA/B1008.cpp | five-5/code | 9c20757b1d4a087760c51da7d3dcdcc2b17aee07 | [
"Apache-2.0"
] | null | null | null | Problems/PTA/B1008.cpp | five-5/code | 9c20757b1d4a087760c51da7d3dcdcc2b17aee07 | [
"Apache-2.0"
] | null | null | null | Problems/PTA/B1008.cpp | five-5/code | 9c20757b1d4a087760c51da7d3dcdcc2b17aee07 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#define maxn 101
int main()
{
int n, m;
int a[maxn];
std::cin >> n >> m;
for (int i = 0; i < n; ++i) {
std::cin >> a[i];
}
m = m % n;
if (m == 0) {
std::cout << a[0];
for (int i = 1; i < n; ++i) {
std::cout << " " << a[i];
}... | 19.925926 | 47 | 0.343866 |
cb17624b674cd3b73a7170b9b5c6b93c77314bf7 | 432 | cpp | C++ | ImportantExample/QFindEditDemo/mainwindow.cpp | xiaohaijin/Qt | 54d961c6a8123d8e4daf405b7996aba4be9ab7ed | [
"MIT"
] | 3 | 2018-12-24T19:35:52.000Z | 2022-02-04T14:45:59.000Z | ImportantExample/QFindEditDemo/mainwindow.cpp | xiaohaijin/Qt | 54d961c6a8123d8e4daf405b7996aba4be9ab7ed | [
"MIT"
] | null | null | null | ImportantExample/QFindEditDemo/mainwindow.cpp | xiaohaijin/Qt | 54d961c6a8123d8e4daf405b7996aba4be9ab7ed | [
"MIT"
] | 1 | 2019-05-09T02:42:40.000Z | 2019-05-09T02:42:40.000Z | #include "mainwindow.h"
#include "qfindedit.h"
#include "ui_mainwindow.h"
#include <QHBoxLayout>
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
QFindEdit* edit = new QFindEdit(this);
QHBoxLayout *pLayout = new QHBoxLayout(this);
pLa... | 18 | 49 | 0.685185 |
0e13c8f5f5d05df5adb873197839765dc4714dad | 513 | cpp | C++ | unittests/NAPI/test_number.cpp | ScriptBox99/microsoft-hermes-windows | c7eb49152bcb5fa6812c3413a80ffc5bb937bb0c | [
"MIT"
] | null | null | null | unittests/NAPI/test_number.cpp | ScriptBox99/microsoft-hermes-windows | c7eb49152bcb5fa6812c3413a80ffc5bb937bb0c | [
"MIT"
] | null | null | null | unittests/NAPI/test_number.cpp | ScriptBox99/microsoft-hermes-windows | c7eb49152bcb5fa6812c3413a80ffc5bb937bb0c | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include "napitest.h"
#define Init test_number_init
#include "js-native-api/test_number/test_number.c"
using namespace napitest;
TEST_P(NapiTest, test_number) {
ExecuteNapi([](NapiTestContext *testContext, napi_env env) {
testContext->... | 27 | 77 | 0.717349 |
0e157a9783dc97f2a93951437eef491917042999 | 540 | cpp | C++ | Array/Sorting/Insertion Sort/Solution_By_Shourya.cpp | surajshah123/Fork_CPP | c85ec3464382db298f2dbac443f3379dd1c1f4a6 | [
"MIT"
] | 8 | 2021-02-14T13:13:27.000Z | 2022-01-08T23:58:32.000Z | Array/Sorting/Insertion Sort/Solution_By_Shourya.cpp | surajshah123/Fork_CPP | c85ec3464382db298f2dbac443f3379dd1c1f4a6 | [
"MIT"
] | 17 | 2021-02-28T17:03:50.000Z | 2021-10-19T13:02:03.000Z | Array/Sorting/Insertion Sort/Solution_By_Shourya.cpp | surajshah123/Fork_CPP | c85ec3464382db298f2dbac443f3379dd1c1f4a6 | [
"MIT"
] | 15 | 2021-03-01T03:54:29.000Z | 2021-10-19T18:29:00.000Z | #include <iostream>
using namespace std;
void insert_sort(int a[], int n){
int temp, k;
for (int i = 1; i < n; i++){
k = i;
temp = a[k];
for (int j = i - 1; j >= 0; j--){
if (a[j] > temp){
a[k] = a[j];
k--;
}
}
a[k] ... | 18.62069 | 41 | 0.331481 |
0e15d56105e78a9c42e1d2214c2c580d4caa32ed | 53 | hpp | C++ | src/boost_spirit_home_karma_action_action.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 10 | 2018-03-17T00:58:42.000Z | 2021-07-06T02:48:49.000Z | src/boost_spirit_home_karma_action_action.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 2 | 2021-03-26T15:17:35.000Z | 2021-05-20T23:55:08.000Z | src/boost_spirit_home_karma_action_action.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 4 | 2019-05-28T21:06:37.000Z | 2021-07-06T03:06:52.000Z | #include <boost/spirit/home/karma/action/action.hpp>
| 26.5 | 52 | 0.792453 |
0e167340937c0ec900368346616cf65d0432ba4d | 315 | cpp | C++ | src/body.cpp | awinabi/capybara-webkit-0.13.0 | 84e70bad13e9c137bdf77a2af61bbb7ab7f30a77 | [
"MIT"
] | null | null | null | src/body.cpp | awinabi/capybara-webkit-0.13.0 | 84e70bad13e9c137bdf77a2af61bbb7ab7f30a77 | [
"MIT"
] | null | null | null | src/body.cpp | awinabi/capybara-webkit-0.13.0 | 84e70bad13e9c137bdf77a2af61bbb7ab7f30a77 | [
"MIT"
] | null | null | null | #include "Body.h"
#include "WebPage.h"
#include "WebPageManager.h"
Body::Body(WebPageManager *manager, QStringList &arguments, QObject *parent) : SocketCommand(manager, arguments, parent) {
}
void Body::start() {
QString result = page()->currentFrame()->toHtml();
emit finished(new Response(true, result));
}
| 26.25 | 122 | 0.720635 |
0e187848fd57144e17b1e4f54ef2ab9696890bbb | 2,413 | cpp | C++ | src/esp/metadata/attributes/AttributesBase.cpp | alstar8/habitat-sim | fc3261f89732c4712ca1db00b24487a983641d62 | [
"MIT"
] | null | null | null | src/esp/metadata/attributes/AttributesBase.cpp | alstar8/habitat-sim | fc3261f89732c4712ca1db00b24487a983641d62 | [
"MIT"
] | null | null | null | src/esp/metadata/attributes/AttributesBase.cpp | alstar8/habitat-sim | fc3261f89732c4712ca1db00b24487a983641d62 | [
"MIT"
] | null | null | null | // Copyright (c) Facebook, Inc. and its affiliates.
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
#include "AttributesBase.h"
namespace esp {
namespace metadata {
namespace attributes {
const std::map<std::string, ObjectInstanceShaderType... | 33.054795 | 77 | 0.714463 |
0e1a4cee3184b6515c1a98316ffe3ed78f83a706 | 653 | cpp | C++ | Voltron/Source/UnitTests/DeskCalculator/Token_tests.cpp | ernestyalumni/HrdwCCppCUDA | 17ed937dea06431a4d5ca103f993ea69a6918734 | [
"MIT"
] | 1 | 2018-02-09T19:44:51.000Z | 2018-02-09T19:44:51.000Z | Voltron/Source/UnitTests/DeskCalculator/Token_tests.cpp | ernestyalumni/HrdwCCppCUDA | 17ed937dea06431a4d5ca103f993ea69a6918734 | [
"MIT"
] | null | null | null | Voltron/Source/UnitTests/DeskCalculator/Token_tests.cpp | ernestyalumni/HrdwCCppCUDA | 17ed937dea06431a4d5ca103f993ea69a6918734 | [
"MIT"
] | null | null | null | //------------------------------------------------------------------------------
// \file Token_tests.cpp
//------------------------------------------------------------------------------
#include "DeskCalculator/Token.h"
#include <boost/test/unit_test.hpp>
BOOST_AUTO_TEST_SUITE(DeskCalculator)
BOOST_AUTO_TEST_SUITE(T... | 34.368421 | 80 | 0.415008 |
0e1a5fdac81780d01d59623918dcb530064528d2 | 17,083 | cpp | C++ | clang/test/Layout/ms-x86-alias-avoidance-padding.cpp | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 2,338 | 2018-06-19T17:34:51.000Z | 2022-03-31T11:00:37.000Z | clang/test/Layout/ms-x86-alias-avoidance-padding.cpp | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 3,740 | 2019-01-23T15:36:48.000Z | 2022-03-31T22:01:13.000Z | clang/test/Layout/ms-x86-alias-avoidance-padding.cpp | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 500 | 2019-01-23T07:49:22.000Z | 2022-03-30T02:59:37.000Z | // RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple i686-pc-win32 -fms-extensions -fdump-record-layouts -fsyntax-only %s 2>/dev/null \
// RUN: | FileCheck %s --strict-whitespace
// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple x86_64-pc-win32 -fms-extensions -fdump-record-layouts -fsyntax-only %s 2>/dev... | 36.040084 | 137 | 0.545162 |
0e1cd4dfd145316d3d09108749e51e5356a31259 | 2,220 | hh | C++ | src/include/syntax/source.hh | awfeequdng/px_cppgo | 5a102fce4c919ce93af247deb68241480374bf01 | [
"MIT"
] | null | null | null | src/include/syntax/source.hh | awfeequdng/px_cppgo | 5a102fce4c919ce93af247deb68241480374bf01 | [
"MIT"
] | null | null | null | src/include/syntax/source.hh | awfeequdng/px_cppgo | 5a102fce4c919ce93af247deb68241480374bf01 | [
"MIT"
] | null | null | null | #pragma once
#include "common/types.hh"
#include "common/utf8/rune.hh"
#include "common/hex_formatter.hh"
#include <vector>
#include <string>
#include <iostream>
#include <tuple>
#include <fstream>
template <typename T>
std::vector<T> slice(std::vector<T>& v, std::size_t low, std::size_t high = -1) {
std::vector<... | 25.813953 | 81 | 0.569369 |
0e1cfe242aa6f0b92124df6d11ada3782f41ea01 | 5,531 | cpp | C++ | snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView.InsertionMark/CPP/listviewinsertionmarkexample.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 834 | 2017-06-24T10:40:36.000Z | 2022-03-31T19:48:51.000Z | snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView.InsertionMark/CPP/listviewinsertionmarkexample.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 7,042 | 2017-06-23T22:34:47.000Z | 2022-03-31T23:05:23.000Z | snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView.InsertionMark/CPP/listviewinsertionmarkexample.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 1,640 | 2017-06-23T22:31:39.000Z | 2022-03-31T02:45:37.000Z |
//<Snippet1>
#using <System.dll>
#using <System.Windows.Forms.dll>
#using <System.Drawing.dll>
using namespace System;
using namespace System::Drawing;
using namespace System::Windows::Forms;
public ref class ListViewInsertionMarkExample: public Form
{
private:
ListView^ myListView;
public:
//<Snippet2>
L... | 34.354037 | 175 | 0.661906 |
0e1fc7dc1299325d1821fba77b7ef0f674214da3 | 6,326 | cpp | C++ | estacaocarregamento.cpp | luisdecker/Modelsim16.1 | d664d23e5fb9a25db16f8a45e2f1bf954e838c6e | [
"Apache-2.0"
] | null | null | null | estacaocarregamento.cpp | luisdecker/Modelsim16.1 | d664d23e5fb9a25db16f8a45e2f1bf954e838c6e | [
"Apache-2.0"
] | null | null | null | estacaocarregamento.cpp | luisdecker/Modelsim16.1 | d664d23e5fb9a25db16f8a45e2f1bf954e838c6e | [
"Apache-2.0"
] | null | null | null | #include "estacaocarregamento.h"
/*===============================================
Construtores
===============================================*/
EstacaoCarregamento::EstacaoCarregamento() {
tempoMinimoFila = Relogio();
tempoMaximoFila = Relogio();
minimoEntidadesNaFila = 0;
maximoEntidadesNaFil... | 36.356322 | 151 | 0.619033 |
0e200f8bb0bb6627ee9fc07effaaa884e00d84f7 | 5,662 | cc | C++ | src/mem/ruby/network/garnet2.0/InputUnit.cc | ttungl/RLE-NOC | 0ff471185a9e8b3ccf166865582fdd02f414b6b9 | [
"MIT"
] | 1 | 2021-02-02T00:50:26.000Z | 2021-02-02T00:50:26.000Z | src/mem/ruby/network/garnet2.0/InputUnit.cc | farhadreza/RLE-NOC | 77efb941ff8b9ddb24b5888a41748b3987e5394c | [
"MIT"
] | null | null | null | src/mem/ruby/network/garnet2.0/InputUnit.cc | farhadreza/RLE-NOC | 77efb941ff8b9ddb24b5888a41748b3987e5394c | [
"MIT"
] | 2 | 2021-02-02T00:21:06.000Z | 2021-02-22T03:22:21.000Z | /*
* Copyright (c) 2020 Inria
* Copyright (c) 2016 Georgia Institute of Technology
* Copyright (c) 2008 Princeton University
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met: redistributio... | 35.610063 | 76 | 0.681385 |
0e243f5773f04ce8d2effa8dcdb92cb77df9b806 | 718 | cpp | C++ | POO/arquivos-livro/03/C++/cadastro02.cpp | ell3a/estudos-python | 09808a462aa3e73ad433501acb11f62217548af8 | [
"MIT"
] | null | null | null | POO/arquivos-livro/03/C++/cadastro02.cpp | ell3a/estudos-python | 09808a462aa3e73ad433501acb11f62217548af8 | [
"MIT"
] | null | null | null | POO/arquivos-livro/03/C++/cadastro02.cpp | ell3a/estudos-python | 09808a462aa3e73ad433501acb11f62217548af8 | [
"MIT"
] | null | null | null | /*
Programa: cadastro02
Arquivo: cadastro02.cpp
*/
#include <iostream>
#include "parametros.h"
using namespace std;
struct Pessoa {
string nome;
int idade;
char sexo;
} ;
int main() {
Pessoa cadastro[N];
int x; // Variável de controle
for ( x = 0; x < N ; x++) {
cout << "Digite ... | 19.944444 | 70 | 0.511142 |
0e25c89f5d72ccf90a1ca9e2cc44047455978236 | 25,528 | cc | C++ | intern/opencolorio/ocio_impl.cc | gunslingster/CSC581-assignement1 | 39012146e142bf400c7140d90ecfd27c45b589ca | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 39 | 2020-05-26T15:21:14.000Z | 2022-03-24T04:46:31.000Z | intern/opencolorio/ocio_impl.cc | mmtt1998819/blender | c9c3bf983321990a6960c422e002a372c35a6f76 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 7 | 2020-05-11T14:04:54.000Z | 2020-06-03T15:00:20.000Z | intern/opencolorio/ocio_impl.cc | mmtt1998819/blender | c9c3bf983321990a6960c422e002a372c35a6f76 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 14 | 2019-06-21T12:14:23.000Z | 2021-08-25T14:57:06.000Z | /*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be use... | 27.627706 | 99 | 0.67663 |
0e28bc698c027c924257e2d8b4322679ec47a96b | 7,863 | cpp | C++ | src/qt5ct/interfacepage.cpp | raspberrypi-ui/qt5ct-bullseye | 111bcd6c6d53f93f121768e234e6c61af309762a | [
"BSD-2-Clause"
] | null | null | null | src/qt5ct/interfacepage.cpp | raspberrypi-ui/qt5ct-bullseye | 111bcd6c6d53f93f121768e234e6c61af309762a | [
"BSD-2-Clause"
] | null | null | null | src/qt5ct/interfacepage.cpp | raspberrypi-ui/qt5ct-bullseye | 111bcd6c6d53f93f121768e234e6c61af309762a | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2014-2020, Ilya Kotov <forkotov02@ya.ru>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condi... | 45.189655 | 140 | 0.746026 |
0e28d45fe9ef7e6f7b94113c3263bd28888fa736 | 25,820 | cpp | C++ | Sources/Elastos/Frameworks/Droid/Base/Services/Server/src/elastos/droid/server/pm/dex/DexFileVerifier.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/Frameworks/Droid/Base/Services/Server/src/elastos/droid/server/pm/dex/DexFileVerifier.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/Frameworks/Droid/Base/Services/Server/src/elastos/droid/server/pm/dex/DexFileVerifier.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z | //=========================================================================
// Copyright (C) 2012 The Elastos 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
//
// ... | 36.264045 | 109 | 0.561813 |
0e28eec7659ff2ce90bc80232ef7550bed9d317d | 144,164 | cxx | C++ | base/efiutil/efilib/src/usa/fatsachk.cxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | base/efiutil/efilib/src/usa/fatsachk.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | base/efiutil/efilib/src/usa/fatsachk.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*++
Copyright (c) 1991-2001 Microsoft Corporation
Module Name:
fatsachk.cxx
--*/
#include <pch.cxx>
#include "bitvect.hxx"
#include "error.hxx"
#include "rtmsg.h"
#include "ifsentry.hxx"
// Timeinfo is full of windows stuff.
#if !defined( _AUTOCHECK_ ) && !defined( _SETUP_LOADER_ ) && !def... | 30.204065 | 122 | 0.505008 |
0e29b84f026b3e180267054aae52b43a0e3814a4 | 4,921 | cc | C++ | src/ui/scenic/lib/scheduling/delegating_frame_scheduler.cc | casey/fuchsia | 2b965e9a1e8f2ea346db540f3611a5be16bb4d6b | [
"BSD-3-Clause"
] | null | null | null | src/ui/scenic/lib/scheduling/delegating_frame_scheduler.cc | casey/fuchsia | 2b965e9a1e8f2ea346db540f3611a5be16bb4d6b | [
"BSD-3-Clause"
] | null | null | null | src/ui/scenic/lib/scheduling/delegating_frame_scheduler.cc | casey/fuchsia | 2b965e9a1e8f2ea346db540f3611a5be16bb4d6b | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/ui/scenic/lib/scheduling/delegating_frame_scheduler.h"
#include "src/lib/fxl/logging.h"
#include "src/ui/scenic/lib/scheduling/id.h"
namesp... | 40.336066 | 100 | 0.751473 |
0e29f093b5e8e8bdd82feb66c1a8e7d67c0e2a89 | 3,267 | cpp | C++ | dev/Gems/EMotionFX/Code/EMotionFX/Source/BlendTreeConnection.cpp | Kezryk/lumberyard | d21172c26536133a4213873469a171f4f0c4280c | [
"AML"
] | 1 | 2019-02-06T19:12:41.000Z | 2019-02-06T19:12:41.000Z | dev/Gems/EMotionFX/Code/EMotionFX/Source/BlendTreeConnection.cpp | Kezryk/lumberyard | d21172c26536133a4213873469a171f4f0c4280c | [
"AML"
] | null | null | null | dev/Gems/EMotionFX/Code/EMotionFX/Source/BlendTreeConnection.cpp | Kezryk/lumberyard | d21172c26536133a4213873469a171f4f0c4280c | [
"AML"
] | null | null | null | /*
* 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... | 26.346774 | 116 | 0.642485 |
0e2c76aecec8ee5d094920e5075b9b368b208575 | 7,992 | cpp | C++ | eprp/eprp.cpp | milad621/livehd | 370b4274809ef95f880da07a603245bffcadf05e | [
"BSD-3-Clause"
] | 1 | 2022-03-09T23:29:29.000Z | 2022-03-09T23:29:29.000Z | eprp/eprp.cpp | milad621/livehd | 370b4274809ef95f880da07a603245bffcadf05e | [
"BSD-3-Clause"
] | null | null | null | eprp/eprp.cpp | milad621/livehd | 370b4274809ef95f880da07a603245bffcadf05e | [
"BSD-3-Clause"
] | null | null | null | // This file is distributed under the BSD 3-Clause License. See LICENSE for details.
#include <ctype.h>
#include <algorithm>
#include "eprp.hpp"
void Eprp::eat_comments() {
while (scan_is_token(Token_id_comment) && !scan_is_end()) scan_next();
}
// rule_path = (\. | alnum | / | "asdad.." | \,)+
bool Eprp::rule_p... | 24.145015 | 118 | 0.646021 |
0e2ef69313c2609d4b2d4d9e3e853a5dc38131e8 | 449 | cpp | C++ | void_data.cpp | shirishbahirat/algorithm | ec743d4c16ab4f429f22bd6f71540341b3905b3b | [
"Apache-2.0"
] | null | null | null | void_data.cpp | shirishbahirat/algorithm | ec743d4c16ab4f429f22bd6f71540341b3905b3b | [
"Apache-2.0"
] | null | null | null | void_data.cpp | shirishbahirat/algorithm | ec743d4c16ab4f429f22bd6f71540341b3905b3b | [
"Apache-2.0"
] | null | null | null | #include <iostream>
using namespace std;
int a[6] = {[4] = 29, [2] = 15};
struct node
{
int data;
node *next;
node(int d) : data(d), next(NULL) {}
};
int add_node(void *data)
{
node *n = (node *)data;
cout << n->data << endl;
return 0;
}
int main(int argc, char const *argv[])
{
node *n1 = new nod... | 11.512821 | 38 | 0.514477 |
0e317907bb73e475fe9114aaa47362016e00f1af | 6,413 | cpp | C++ | SuperMarioBros3/IntroScene.cpp | ThienUIT/Super-Mario-Bros-3 | dc14eaa6a20b17a9ec13908e7e42947662c26005 | [
"MIT"
] | 3 | 2021-07-26T04:03:47.000Z | 2021-08-31T15:17:29.000Z | SuperMarioBros3/IntroScene.cpp | ThienUIT/Super-Mario-Bros-3 | dc14eaa6a20b17a9ec13908e7e42947662c26005 | [
"MIT"
] | null | null | null | SuperMarioBros3/IntroScene.cpp | ThienUIT/Super-Mario-Bros-3 | dc14eaa6a20b17a9ec13908e7e42947662c26005 | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include "IntroScene.h"
#include "Textures.h"
#include "Utils.h"
#include "Brick.h"
#include "IntroGround.h"
#include "Leaf.h"
#include "MushRoom.h"
#include "Goomba.h"
#include "Koopas.h"
using namespace std;
CIntroScene::CIntroScene(int id, LPCWSTR filePath) :
CScene(id, fil... | 27.059072 | 111 | 0.684703 |
0e3243e42b424f841913651fb56b4e6d859e1e8c | 10,153 | cpp | C++ | test/variant_add.t.cpp | sheehamj13/task | 67ed9cadfcbccf1f1071fc1b04cde61a2aba2f69 | [
"MIT"
] | null | null | null | test/variant_add.t.cpp | sheehamj13/task | 67ed9cadfcbccf1f1071fc1b04cde61a2aba2f69 | [
"MIT"
] | null | null | null | test/variant_add.t.cpp | sheehamj13/task | 67ed9cadfcbccf1f1071fc1b04cde61a2aba2f69 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
//
// Copyright 2013 - 2015, Göteborg Bit Factory.
//
// 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 witho... | 41.781893 | 92 | 0.547424 |
0e33ea5cfe8ffe7b19dfe9e067fc572c542facfe | 9,190 | cpp | C++ | Source/Model/Writer/NMR_ModelWriter_3MF_Native.cpp | qmuntal/lib3mf | ad82d2f17bd37b942635c9cc7a33e4ea060b7adf | [
"BSD-2-Clause"
] | 1 | 2021-11-26T13:23:39.000Z | 2021-11-26T13:23:39.000Z | Source/Model/Writer/NMR_ModelWriter_3MF_Native.cpp | qmuntal/lib3mf | ad82d2f17bd37b942635c9cc7a33e4ea060b7adf | [
"BSD-2-Clause"
] | null | null | null | Source/Model/Writer/NMR_ModelWriter_3MF_Native.cpp | qmuntal/lib3mf | ad82d2f17bd37b942635c9cc7a33e4ea060b7adf | [
"BSD-2-Clause"
] | null | null | null | /*++
Copyright (C) 2018 3MF Consortium
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the followi... | 40.844444 | 139 | 0.783134 |
0e389f04c7c038d92b3fa332cfb5950e71b90f27 | 321 | cpp | C++ | src/actions/action.cpp | Spark-NF/organizer | d8bcd459f8bebcb76d07ce3a125246944d1a1824 | [
"Apache-2.0"
] | 3 | 2020-12-17T19:35:27.000Z | 2021-09-29T09:34:51.000Z | src/actions/action.cpp | Spark-NF/organizer | d8bcd459f8bebcb76d07ce3a125246944d1a1824 | [
"Apache-2.0"
] | null | null | null | src/actions/action.cpp | Spark-NF/organizer | d8bcd459f8bebcb76d07ce3a125246944d1a1824 | [
"Apache-2.0"
] | 1 | 2019-06-18T17:34:16.000Z | 2019-06-18T17:34:16.000Z | #include "action.h"
Action::Action(QString name, QKeySequence shortcut, bool terminal)
: m_name(name), m_shortcut(shortcut), m_terminal(terminal)
{}
QString Action::name() const
{
return m_name;
}
QKeySequence Action::shortcut() const
{
return m_shortcut;
}
bool Action::terminal() const
{
return m_terminal;
}... | 13.956522 | 66 | 0.732087 |
0e38c4cf3522bcb698c563a2e88b2038b36fcdd3 | 23,864 | cpp | C++ | SOUI/src/control/SListCtrl.cpp | fengjixuchui/soui | 360d9b63cab96e7c01d600ff772578c2fdc9af24 | [
"MIT"
] | 1 | 2021-11-12T01:53:04.000Z | 2021-11-12T01:53:04.000Z | SOUI/src/control/SListCtrl.cpp | fengjixuchui/soui | 360d9b63cab96e7c01d600ff772578c2fdc9af24 | [
"MIT"
] | null | null | null | SOUI/src/control/SListCtrl.cpp | fengjixuchui/soui | 360d9b63cab96e7c01d600ff772578c2fdc9af24 | [
"MIT"
] | null | null | null | #include "souistd.h"
#include "control/SListCtrl.h"
#include <algorithm>
#pragma warning(disable : 4267 4018)
#define ITEM_MARGIN 4
namespace SOUI
{
//////////////////////////////////////////////////////////////////////////
// SListCtrl
SListCtrl::SListCtrl()
: m_nHeaderHeight(20)
, m_nItemHeight(20)
,... | 24.652893 | 134 | 0.595206 |
0e3ac1f2b7da5a645ffa48ed25eb3dc94b4788ec | 1,325 | cpp | C++ | Source/controls/menu_controls.cpp | julealgon/devilutionX | 0c8e4edba1521a78d993a7eceba8bc1df7e28fd5 | [
"Unlicense"
] | null | null | null | Source/controls/menu_controls.cpp | julealgon/devilutionX | 0c8e4edba1521a78d993a7eceba8bc1df7e28fd5 | [
"Unlicense"
] | null | null | null | Source/controls/menu_controls.cpp | julealgon/devilutionX | 0c8e4edba1521a78d993a7eceba8bc1df7e28fd5 | [
"Unlicense"
] | null | null | null | #include "controls/menu_controls.h"
#include "DiabloUI/diabloui.h"
#include "controls/remap_keyboard.h"
#include "utils/sdl_compat.h"
namespace devilution {
MenuAction GetMenuAction(const SDL_Event &event)
{
if (event.type == SDL_KEYDOWN) {
auto sym = event.key.keysym.sym;
remap_keyboard_key(&sym);
... | 22.457627 | 75 | 0.687547 |
0e3b1e66e59f8992acebe489f611820cd668b980 | 1,075 | hpp | C++ | include/Nazara/Core/ConfigCheck.hpp | AntoineJT/NazaraEngine | e0b05a7e7a2779e20a593b4083b4a881cc57ce14 | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | null | null | null | include/Nazara/Core/ConfigCheck.hpp | AntoineJT/NazaraEngine | e0b05a7e7a2779e20a593b4083b4a881cc57ce14 | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | null | null | null | include/Nazara/Core/ConfigCheck.hpp | AntoineJT/NazaraEngine | e0b05a7e7a2779e20a593b4083b4a881cc57ce14 | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | null | null | null | // Copyright (C) 2017 Jérôme Leclercq
// This file is part of the "Nazara Engine - Core module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#pragma once
#ifndef NAZARA_CONFIG_CHECK_CORE_HPP
#define NAZARA_CONFIG_CHECK_CORE_HPP
/// This file is used to check the constant values defin... | 38.392857 | 136 | 0.791628 |
0e3e0ea60c16aa6aa2ce5a7a33fdc3f93013a929 | 956 | cpp | C++ | examples/undocumented/libshogun/library_hash.cpp | Arpit2601/shogun | e509f8c57f47dc74b3f791d450a70b770d11582a | [
"BSD-3-Clause"
] | 1 | 2019-10-02T11:10:08.000Z | 2019-10-02T11:10:08.000Z | examples/undocumented/libshogun/library_hash.cpp | Arpit2601/shogun | e509f8c57f47dc74b3f791d450a70b770d11582a | [
"BSD-3-Clause"
] | null | null | null | examples/undocumented/libshogun/library_hash.cpp | Arpit2601/shogun | e509f8c57f47dc74b3f791d450a70b770d11582a | [
"BSD-3-Clause"
] | 1 | 2020-06-02T09:15:40.000Z | 2020-06-02T09:15:40.000Z | #include <shogun/lib/Hash.h>
#include <stdio.h>
using namespace shogun;
int main(int argc, char** argv)
{
uint8_t array[4]={0,1,2,3};
printf("hash(0)=%0x\n", CHash::MurmurHash3(&array[0], 1, 0xDEADBEAF));
printf("hash(1)=%0x\n", CHash::MurmurHash3(&array[1], 1, 0xDEADBEAF));
printf("hash(2)=%0x\n", CHash::Murmu... | 30.83871 | 71 | 0.65272 |
0e3fe2ad88d6866a4396df74bbfbf4539acaabc3 | 4,279 | cpp | C++ | src/widgets/settingspages/IgnoresPage.cpp | NilsIrl/chatterino2 | b7e86a8de66e53876d7a71376c43529597ee6c12 | [
"MIT"
] | 1 | 2021-08-16T15:39:56.000Z | 2021-08-16T15:39:56.000Z | src/widgets/settingspages/IgnoresPage.cpp | NilsIrl/chatterino2 | b7e86a8de66e53876d7a71376c43529597ee6c12 | [
"MIT"
] | 28 | 2020-10-26T07:29:15.000Z | 2022-03-31T01:06:49.000Z | src/widgets/settingspages/IgnoresPage.cpp | NilsIrl/chatterino2 | b7e86a8de66e53876d7a71376c43529597ee6c12 | [
"MIT"
] | null | null | null | #include "IgnoresPage.hpp"
#include "Application.hpp"
#include "controllers/accounts/AccountController.hpp"
#include "controllers/ignores/IgnoreController.hpp"
#include "controllers/ignores/IgnoreModel.hpp"
#include "providers/twitch/TwitchAccount.hpp"
#include "singletons/Settings.hpp"
#include "util/LayoutCreator.hp... | 31.932836 | 149 | 0.643842 |
0e4124b1bc075ab6fb060d145653ac4bbaa95360 | 2,218 | cc | C++ | src/core/film.cc | zhehangd/qjulia2 | b6816f5af580534fdb27051ae2bfd7fe47a1a60c | [
"MIT"
] | null | null | null | src/core/film.cc | zhehangd/qjulia2 | b6816f5af580534fdb27051ae2bfd7fe47a1a60c | [
"MIT"
] | null | null | null | src/core/film.cc | zhehangd/qjulia2 | b6816f5af580534fdb27051ae2bfd7fe47a1a60c | [
"MIT"
] | null | null | null | /*
MIT License
Copyright (c) 2019 Zhehang Ding
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, ... | 33.606061 | 78 | 0.693417 |
0e41a058de70310d29a28a408d1cb8afa336e1aa | 336 | cpp | C++ | practical 7/task5.cpp | sahilnegi30/C-PLUS- | bd8d9ce79e5ae36b9f8d5e4c88949455dc4a6339 | [
"MIT"
] | 1 | 2021-09-23T16:06:39.000Z | 2021-09-23T16:06:39.000Z | practical 7/task5.cpp | sahilnegi30/C-PLUS- | bd8d9ce79e5ae36b9f8d5e4c88949455dc4a6339 | [
"MIT"
] | null | null | null | practical 7/task5.cpp | sahilnegi30/C-PLUS- | bd8d9ce79e5ae36b9f8d5e4c88949455dc4a6339 | [
"MIT"
] | 1 | 2021-09-24T15:10:07.000Z | 2021-09-24T15:10:07.000Z | #include<iostream>
using namespace std;
int main()
{
int b[3][3];
int a [3] [3]={1,2,3,4,5,6,7,8,9};
for(int i=0;i<3;i++)
{
for(int j=0;j<3;j++)
{
b[i][j]=a[2-i] [2-j];
}
}
for(int i=0;i<3;i++)
{
for(int j=0;j<3;j++)
{
cout<<b[i][j]<<" ";
}
cout<<endl;
... | 14.608696 | 36 | 0.39881 |
0e424e511af987030f273557f62e14989f01ba2a | 851 | cpp | C++ | src/keyboard.cpp | astrellon/simple-snake | 3dbe1f2af1afe31d3cef8bcc995d9150beafa1b2 | [
"MIT"
] | 1 | 2020-06-26T07:51:45.000Z | 2020-06-26T07:51:45.000Z | src/keyboard.cpp | astrellon/starter-sfml | 3679e76c01275d07fa9af5ead92a5d41c6fccfea | [
"MIT"
] | null | null | null | src/keyboard.cpp | astrellon/starter-sfml | 3679e76c01275d07fa9af5ead92a5d41c6fccfea | [
"MIT"
] | null | null | null | #include "keyboard.hpp"
#include <algorithm>
namespace town
{
Keyboard::KeyList Keyboard::_KeysUp;
Keyboard::KeyList Keyboard::_KeysDown;
bool Keyboard::isKeyPressed(sf::Keyboard::Key key)
{
return sf::Keyboard::isKeyPressed(key);
}
bool Keyboard::isKeyUp(sf::Keyboard::Key key)
{... | 21.275 | 85 | 0.60517 |
0e46716c715ab49ca4c735de2458309957798b73 | 270 | hpp | C++ | include/UTemplate/StdName/Name_list.hpp | Ubpa/Template | 9d501bbf9d306d7c7dc2c8ac86247ba346dc4710 | [
"MIT"
] | 16 | 2020-02-15T06:16:22.000Z | 2021-10-31T13:49:05.000Z | include/UTemplate/StdName/Name_list.hpp | Ubpa/Template | 9d501bbf9d306d7c7dc2c8ac86247ba346dc4710 | [
"MIT"
] | null | null | null | include/UTemplate/StdName/Name_list.hpp | Ubpa/Template | 9d501bbf9d306d7c7dc2c8ac86247ba346dc4710 | [
"MIT"
] | 4 | 2020-08-06T04:46:14.000Z | 2022-03-07T07:31:04.000Z | #pragma once
#include "../Name.hpp"
#include <list>
template<typename T>
struct Ubpa::details::custom_type_name<std::list<T>> {
static constexpr auto get() noexcept {
return concat_seq(
TSTR("std::list<{"),
type_name<T>(),
TStrC_of<'}', '>'>{}
);
}
};
| 15.882353 | 54 | 0.622222 |
0e46f42529f2eed7cb5196249fed406637d1f5d6 | 5,032 | hpp | C++ | src/controls/TreeViewModelAdaptor.hpp | oclero/luna | 00bd5736e7bab57daa5d622bcd5379992ca6505c | [
"MIT"
] | 5 | 2021-07-19T19:57:41.000Z | 2021-09-25T01:41:13.000Z | src/controls/TreeViewModelAdaptor.hpp | chiefstone/luna | 00bd5736e7bab57daa5d622bcd5379992ca6505c | [
"MIT"
] | 2 | 2021-09-25T08:35:49.000Z | 2021-09-25T11:14:49.000Z | src/controls/TreeViewModelAdaptor.hpp | chiefstone/luna | 00bd5736e7bab57daa5d622bcd5379992ca6505c | [
"MIT"
] | 3 | 2021-08-20T10:19:12.000Z | 2021-09-25T10:46:40.000Z | #pragma once
#include <QSet>
#include <QPointer>
#include <QAbstractItemModel>
#include <QItemSelectionModel>
#include <QPersistentModelIndex>
class TreeViewModelAdaptor : public QAbstractItemModel {
Q_OBJECT
Q_PROPERTY(QAbstractItemModel* model READ model WRITE setModel NOTIFY modelChanged)
Q_PROPERTY(QModelIndex... | 32.464516 | 113 | 0.783386 |
0e4a59069b9151279c3ec782557d638585c2baa2 | 381 | hpp | C++ | EyeOfSauronDHTMonitor/tests/test_esdhttp.hpp | zhaishuai/EyeOfSauronDHTMonitor | 5f4fdb6056f54c13b7f47821bb714c1a041f5f16 | [
"MIT"
] | 1 | 2017-10-06T02:01:59.000Z | 2017-10-06T02:01:59.000Z | EyeOfSauronDHTMonitor/tests/test_esdhttp.hpp | zhaishuai/EyeOfSauronDHTMonitor | 5f4fdb6056f54c13b7f47821bb714c1a041f5f16 | [
"MIT"
] | 1 | 2016-01-24T04:05:04.000Z | 2016-01-25T14:43:35.000Z | EyeOfSauronDHTMonitor/tests/test_esdhttp.hpp | zhaishuai/EyeOfSauronDHTMonitor | 5f4fdb6056f54c13b7f47821bb714c1a041f5f16 | [
"MIT"
] | null | null | null | //
// test_esdhttp.hpp
// EyeOfSauronDHTMonitor
//
// Created by shuaizhai on 4/25/16.
// Copyright © 2016 com.dhtMonitor.www. All rights reserved.
//
#ifndef test_esdhttp_hpp
#define test_esdhttp_hpp
#include <stdio.h>
#include "ESDHttpUtility.hpp"
#include "ESDHttpProtocol.hpp"
namespace test_esdhttp {
... | 16.565217 | 61 | 0.711286 |
0e4ae30186abac669f5fbad7565a7cf6949110b3 | 43,845 | cpp | C++ | vendor/Arduino/libraries/RF24Network/RF24Network.cpp | hvos234/raspberrypi.home.website | 72376beb55167da4b5fadda51992724451166129 | [
"BSD-3-Clause"
] | null | null | null | vendor/Arduino/libraries/RF24Network/RF24Network.cpp | hvos234/raspberrypi.home.website | 72376beb55167da4b5fadda51992724451166129 | [
"BSD-3-Clause"
] | null | null | null | vendor/Arduino/libraries/RF24Network/RF24Network.cpp | hvos234/raspberrypi.home.website | 72376beb55167da4b5fadda51992724451166129 | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (C) 2011 James Coliz, Jr. <maniacbug@ymail.com>
This program 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 Foundation.
*/
#include "RF24Network_config.h"
#if defined (RF24_LINUX)
#include <s... | 32.990971 | 241 | 0.651887 |
0e4c8eb8d1f3f06e805a435f4d9027e443b1ca1d | 31,177 | cpp | C++ | exportGOAT/release/windows/obj/src/polymod/backends/PolymodAssetLibrary.cpp | SamuraiOfSecrets/Goatmeal-Time-v0.2 | 7b89cbaf6895495b90ee1a5679e9cc696a7fbb53 | [
"Apache-2.0"
] | null | null | null | exportGOAT/release/windows/obj/src/polymod/backends/PolymodAssetLibrary.cpp | SamuraiOfSecrets/Goatmeal-Time-v0.2 | 7b89cbaf6895495b90ee1a5679e9cc696a7fbb53 | [
"Apache-2.0"
] | null | null | null | exportGOAT/release/windows/obj/src/polymod/backends/PolymodAssetLibrary.cpp | SamuraiOfSecrets/Goatmeal-Time-v0.2 | 7b89cbaf6895495b90ee1a5679e9cc696a7fbb53 | [
"Apache-2.0"
] | null | null | null | // Generated by Haxe 4.1.5
#include <hxcpp.h>
#ifndef INCLUDED_Std
#include <Std.h>
#endif
#ifndef INCLUDED_haxe_Exception
#include <haxe/Exception.h>
#endif
#ifndef INCLUDED_haxe_IMap
#include <haxe/IMap.h>
#endif
#ifndef INCLUDED_haxe_ds_StringMap
#include <haxe/ds/StringMap.h>
#endif
#ifndef INCLUDED_haxe_io_Bytes
... | 44.411681 | 253 | 0.687077 |
0e4da04dc84d73b9ce4275f2637c9f96f95c4dce | 6,521 | cpp | C++ | tools/llvm37-pdbdump/ClassDefinitionDumper.cpp | seanbaxter/DirectXShaderCompiler | 6d02c8d43ff3fdeb9963acaf3af00c62aaa01f44 | [
"NCSA"
] | null | null | null | tools/llvm37-pdbdump/ClassDefinitionDumper.cpp | seanbaxter/DirectXShaderCompiler | 6d02c8d43ff3fdeb9963acaf3af00c62aaa01f44 | [
"NCSA"
] | null | null | null | tools/llvm37-pdbdump/ClassDefinitionDumper.cpp | seanbaxter/DirectXShaderCompiler | 6d02c8d43ff3fdeb9963acaf3af00c62aaa01f44 | [
"NCSA"
] | null | null | null | //===- ClassDefinitionDumper.cpp --------------------------------*- C++ -*-===//
//
// The LLVM37 Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-----------------------------------------------------... | 34.141361 | 80 | 0.662935 |
0e4deb0a3a04d919d8bee3d8939ecd0a3d6b4ba8 | 20,670 | cxx | C++ | src/Cxx/Visualization/CreateColorSeriesDemo.cxx | ajpmaclean/vtk-examples | 1a55fc8c6af67a3c07791807c7d1ec0ab97607a2 | [
"Apache-2.0"
] | 81 | 2020-08-10T01:44:30.000Z | 2022-03-23T06:46:36.000Z | src/Cxx/Visualization/CreateColorSeriesDemo.cxx | ajpmaclean/vtk-examples | 1a55fc8c6af67a3c07791807c7d1ec0ab97607a2 | [
"Apache-2.0"
] | 2 | 2020-09-12T17:33:52.000Z | 2021-04-15T17:33:09.000Z | src/Cxx/Visualization/CreateColorSeriesDemo.cxx | ajpmaclean/vtk-examples | 1a55fc8c6af67a3c07791807c7d1ec0ab97607a2 | [
"Apache-2.0"
] | 27 | 2020-08-17T07:09:30.000Z | 2022-02-15T03:44:58.000Z | #include <vtkActor.h>
#include <vtkCellData.h>
#include <vtkColorSeries.h>
#include <vtkFloatArray.h>
#include <vtkLookupTable.h>
#include <vtkNamedColors.h>
#include <vtkNew.h>
#include <vtkPlaneSource.h>
#include <vtkPolyData.h>
#include <vtkPolyDataMapper.h>
#include <vtkProperty.h>
#include <vtkRenderWindow.h>
#inc... | 39.903475 | 73 | 0.715288 |
0e51367d286a3338f585f7234bc5edfcbbd2d1bc | 1,868 | cc | C++ | stapl_release/test/runtime/type_traits/test_lazy_storage.cc | parasol-ppl/PPL_utils | 92728bb89692fda1705a0dee436592d97922a6cb | [
"BSD-3-Clause"
] | null | null | null | stapl_release/test/runtime/type_traits/test_lazy_storage.cc | parasol-ppl/PPL_utils | 92728bb89692fda1705a0dee436592d97922a6cb | [
"BSD-3-Clause"
] | null | null | null | stapl_release/test/runtime/type_traits/test_lazy_storage.cc | parasol-ppl/PPL_utils | 92728bb89692fda1705a0dee436592d97922a6cb | [
"BSD-3-Clause"
] | null | null | null | /*
// Copyright (c) 2000-2009, Texas Engineering Experiment Station (TEES), a
// component of the Texas A&M University System.
// All rights reserved.
// The information and source code contained herein is the exclusive
// property of TEES and may not be disclosed, examined or reproduced
// in whole or in part withou... | 18.49505 | 74 | 0.682548 |