hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 108 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 67k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d7235f63cbe6e05db09a64f697e1177b7fb8b95d | 13,528 | cc | C++ | DataFormats/L1GlobalTrigger/src/L1GlobalTriggerObjectMaps.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | DataFormats/L1GlobalTrigger/src/L1GlobalTriggerObjectMaps.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | DataFormats/L1GlobalTrigger/src/L1GlobalTriggerObjectMaps.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | /**
* \class L1GlobalTriggerObjectMapRecord
*
*
* Description: see header file.
*
* Implementation:
* <TODO: enter implementation details>
*
* \author: Vasile Mihai Ghete - HEPHY Vienna
* \author: W. David Dagenhart
*
*
*/
#include "DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerObjectMap... | 44.646865 | 118 | 0.706535 | ckamtsikis |
d7259262a33ae40e1358f79814d6400d7e3b2f50 | 36,367 | cpp | C++ | unit_tests/os_interface/windows/wddm20_tests.cpp | jdanecki/compute-runtime | 0d7be1066d61a4e803fee9dcea6e9e9b4213b3b9 | [
"MIT"
] | null | null | null | unit_tests/os_interface/windows/wddm20_tests.cpp | jdanecki/compute-runtime | 0d7be1066d61a4e803fee9dcea6e9e9b4213b3b9 | [
"MIT"
] | null | null | null | unit_tests/os_interface/windows/wddm20_tests.cpp | jdanecki/compute-runtime | 0d7be1066d61a4e803fee9dcea6e9e9b4213b3b9 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2017 - 2018, Intel Corporation
*
* 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, ... | 38.895187 | 167 | 0.718921 | jdanecki |
d7270870006c2211dd2a228cf7cf92408265ad29 | 218 | hpp | C++ | app/world/GroundType.hpp | isonil/survival | ecb59af9fcbb35b9c28fd4fe29a4628f046165c8 | [
"MIT"
] | 1 | 2017-05-12T10:12:41.000Z | 2017-05-12T10:12:41.000Z | app/world/GroundType.hpp | isonil/Survival | ecb59af9fcbb35b9c28fd4fe29a4628f046165c8 | [
"MIT"
] | null | null | null | app/world/GroundType.hpp | isonil/Survival | ecb59af9fcbb35b9c28fd4fe29a4628f046165c8 | [
"MIT"
] | 1 | 2019-01-09T04:05:36.000Z | 2019-01-09T04:05:36.000Z | #ifndef APP_GROUND_TYPE_HPP
#define APP_GROUND_TYPE_HPP
namespace app
{
enum class GroundType
{
Ground1,
Ground2,
Ground3,
Slope,
UnderWater
};
} // namespace app
#endif // APP_GROUND_TYPE_HPP
| 10.9 | 29 | 0.701835 | isonil |
d727d30ca9f1dd4fe28f34e093e93adb1eb79fd5 | 2,365 | cpp | C++ | SDK/g100IO/G100Config.cpp | mariusl/step2mach | 3ac7ff6c3b29a25f4520e4325e7922f2d34c547a | [
"MIT"
] | 6 | 2019-05-22T03:18:38.000Z | 2022-02-07T20:54:38.000Z | SDK/g100IO/G100Config.cpp | mariusl/step2mach | 3ac7ff6c3b29a25f4520e4325e7922f2d34c547a | [
"MIT"
] | 1 | 2019-11-10T05:57:09.000Z | 2020-07-01T05:50:49.000Z | SDK/g100IO/G100Config.cpp | mariusl/step2mach | 3ac7ff6c3b29a25f4520e4325e7922f2d34c547a | [
"MIT"
] | 9 | 2019-05-20T06:03:55.000Z | 2022-02-01T10:16:41.000Z | // G100Config.cpp : implementation file
//
#include "stdafx.h"
#include "resource.h"
#include "MachDevice.h"
#include "G100Config.h"
#include "G100-Structs.h"
#include ".\g100config.h"
#include "LocalIPQuery.h"
#include "GRexControl.h"
extern GRexControl *TheRex;
bool Exit;
// G100Config dialog
IMPLEMENT_DYNAMIC... | 22.102804 | 82 | 0.725159 | mariusl |
c01189bfa268345d7efc4e5b5e8bd462ca504e3b | 443 | cpp | C++ | something-learned/Algorithms and Data-Structures/Competitive-programming-library/CP/codechef/April Challenge 17/ROWSOLD.cpp | gopala-kr/CR-101 | dd27b767cdc0c667655ab8e32e020ed4248bd112 | [
"MIT"
] | 5 | 2018-05-09T04:02:04.000Z | 2021-02-21T19:27:56.000Z | something-learned/Algorithms and Data-Structures/Competitive-programming-library/CP/codechef/April Challenge 17/ROWSOLD.cpp | gopala-kr/CR-101 | dd27b767cdc0c667655ab8e32e020ed4248bd112 | [
"MIT"
] | null | null | null | something-learned/Algorithms and Data-Structures/Competitive-programming-library/CP/codechef/April Challenge 17/ROWSOLD.cpp | gopala-kr/CR-101 | dd27b767cdc0c667655ab8e32e020ed4248bd112 | [
"MIT"
] | 5 | 2018-02-23T22:08:28.000Z | 2020-08-19T08:31:47.000Z | #include <bits/stdc++.h>
using namespace std;
int main() {
int t;
cin>>t;
while(t--) {
long long ans= 0;
long long no = 0;
string x;
cin>>x;
long long streak = 0;
for(long i=0;i<x.size();i++) {
if(x[i] == '1') {
if(streak != 0){
ans += no;
ans += no*streak;
}
no++;
streak = 0... | 14.766667 | 32 | 0.476298 | gopala-kr |
c01240b42907caa001f23783aeaea04a8a9633d1 | 4,736 | hpp | C++ | rclcpp/include/rclcpp/experimental/buffers/ring_buffer_implementation.hpp | hemalshahNV/rclcpp | bca3fd7da18e779a6c1aee118440c962503ee6b2 | [
"Apache-2.0"
] | 1 | 2022-02-28T21:29:12.000Z | 2022-02-28T21:29:12.000Z | rclcpp/include/rclcpp/experimental/buffers/ring_buffer_implementation.hpp | stokekld/rclcpp | 025cd5ccc8202a52f7c7a3f037d8faf46f7dc3f3 | [
"Apache-2.0"
] | null | null | null | rclcpp/include/rclcpp/experimental/buffers/ring_buffer_implementation.hpp | stokekld/rclcpp | 025cd5ccc8202a52f7c7a3f037d8faf46f7dc3f3 | [
"Apache-2.0"
] | null | null | null | // Copyright 2019 Open Source Robotics Foundation, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appli... | 24.53886 | 98 | 0.686233 | hemalshahNV |
c012a7bd7999d6d6041d588e6874ddeb181a9cfa | 4,789 | cpp | C++ | wxwidgets_testMain.cpp | tsnsoft/wxwidgets_demo-linux | 9717e559b10dacdd6b4c0b53367da85ad4a99b7f | [
"BSD-3-Clause"
] | 5 | 2021-01-12T14:09:35.000Z | 2021-01-13T04:18:04.000Z | wxwidgets_testMain.cpp | tsnsoft/wxwidgets_demo-linux | 9717e559b10dacdd6b4c0b53367da85ad4a99b7f | [
"BSD-3-Clause"
] | null | null | null | wxwidgets_testMain.cpp | tsnsoft/wxwidgets_demo-linux | 9717e559b10dacdd6b4c0b53367da85ad4a99b7f | [
"BSD-3-Clause"
] | null | null | null | /***************************************************************
* Name: wxwidgets_testMain.cpp
* Purpose: Code for Application Frame
* Author: tsn (talipovsn@gmail.com)
* Created: 2020-02-26
* Copyright: tsn (github.com/tsnsoft)
* License:
************************************************************... | 38.007937 | 143 | 0.719566 | tsnsoft |
c013c6ac7c33ece9f3b12466553654cad46ecb3a | 15,147 | cpp | C++ | src/Random.cpp | tehilinski/Random | 3aa9f5c067c2532611198627300606e97c2b2451 | [
"Apache-2.0"
] | null | null | null | src/Random.cpp | tehilinski/Random | 3aa9f5c067c2532611198627300606e97c2b2451 | [
"Apache-2.0"
] | null | null | null | src/Random.cpp | tehilinski/Random | 3aa9f5c067c2532611198627300606e97c2b2451 | [
"Apache-2.0"
] | null | null | null | //------------------------------------------------------------------------------------------------------------
// File: Random.cpp
// Class: teh::Random
//
// Description:
// Random number generator using the code from zufall.h/.c.
// See header file for more details.
//
// Author: Thomas E. Hilinski <https://githu... | 25.936644 | 110 | 0.494355 | tehilinski |
c01829280078f3949bf4252f6056af2a09c25eb7 | 4,124 | cpp | C++ | tket/src/Utils/CosSinDecomposition.cpp | vtomole/tket | ded37ab58176d64117a3e11e8a667ce0199a338a | [
"Apache-2.0"
] | 104 | 2021-09-15T08:16:25.000Z | 2022-03-28T21:19:00.000Z | tket/src/Utils/CosSinDecomposition.cpp | vtomole/tket | ded37ab58176d64117a3e11e8a667ce0199a338a | [
"Apache-2.0"
] | 109 | 2021-09-16T17:14:22.000Z | 2022-03-29T06:48:40.000Z | tket/src/Utils/CosSinDecomposition.cpp | vtomole/tket | ded37ab58176d64117a3e11e8a667ce0199a338a | [
"Apache-2.0"
] | 8 | 2021-10-02T13:47:34.000Z | 2022-03-17T15:36:56.000Z | // Copyright 2019-2022 Cambridge Quantum Computing
//
// 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... | 35.551724 | 80 | 0.624879 | vtomole |
c018e6e9988a885e93ce70cea4ba7dd22a931955 | 24,452 | cpp | C++ | apps/src/ni_linemod.cpp | yxlao/StanfordPCL | 98a8663f896c1ba880d14efa2338b7cfbd01b6ef | [
"MIT"
] | null | null | null | apps/src/ni_linemod.cpp | yxlao/StanfordPCL | 98a8663f896c1ba880d14efa2338b7cfbd01b6ef | [
"MIT"
] | null | null | null | apps/src/ni_linemod.cpp | yxlao/StanfordPCL | 98a8663f896c1ba880d14efa2338b7cfbd01b6ef | [
"MIT"
] | null | null | null | /*
* Software License Agreement (BSD License)
*
* Point Cloud Library (PCL) - www.pointclouds.org
* Copyright (c) 2010-2012, Willow Garage, Inc.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditi... | 41.798291 | 114 | 0.584942 | yxlao |
c01a0bc743f10f3bfff54218a1db9ca4026e8dd8 | 4,185 | cpp | C++ | CsUserInterface/Source/CsUI/Public/Managers/WidgetActor/Cache/CsCache_WidgetActorImpl.cpp | closedsum/core | c3cae44a177b9684585043a275130f9c7b67fef0 | [
"Unlicense"
] | 2 | 2019-03-17T10:43:53.000Z | 2021-04-20T21:24:19.000Z | CsUserInterface/Source/CsUI/Public/Managers/WidgetActor/Cache/CsCache_WidgetActorImpl.cpp | closedsum/core | c3cae44a177b9684585043a275130f9c7b67fef0 | [
"Unlicense"
] | null | null | null | CsUserInterface/Source/CsUI/Public/Managers/WidgetActor/Cache/CsCache_WidgetActorImpl.cpp | closedsum/core | c3cae44a177b9684585043a275130f9c7b67fef0 | [
"Unlicense"
] | null | null | null | // Copyright 2017-2021 Closed Sum Games, LLC. All Rights Reserved.
#include "Managers/WidgetActor/Cache/CsCache_WidgetActorImpl.h"
// Library
#include "Managers/Pool/Payload/CsLibrary_Payload_PooledObject.h"
// Pool
#include "Managers/Pool/Payload/CsPayload_PooledObject.h"
// FX
#include "Managers/WidgetActor/Payload/... | 26.320755 | 117 | 0.726165 | closedsum |
c01a226d6cacaed3b80257bfd2c205d6e266b045 | 7,588 | cc | C++ | chrome/browser/extensions/api/discovery/discovery_api_unittest.cc | nagineni/chromium-crosswalk | 5725642f1c67d0f97e8613ec1c3e8107ab53fdf8 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 4 | 2017-04-05T01:51:34.000Z | 2018-02-15T03:11:54.000Z | chrome/browser/extensions/api/discovery/discovery_api_unittest.cc | j4ckfrost/android_external_chromium_org | a1a3dad8b08d1fcf6b6b36c267158ed63217c780 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-12-13T19:44:12.000Z | 2021-12-13T19:44:12.000Z | chrome/browser/extensions/api/discovery/discovery_api_unittest.cc | j4ckfrost/android_external_chromium_org | a1a3dad8b08d1fcf6b6b36c267158ed63217c780 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 4 | 2017-04-05T01:52:03.000Z | 2022-02-13T17:58:45.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 tests the chrome.alarms extension API.
#include "base/json/json_writer.h"
#include "base/values.h"
#include "chrome/browser/extensions/a... | 39.727749 | 85 | 0.730232 | nagineni |
c01e6226129e42352202a53cc0a8e810e048e6c2 | 2,217 | cpp | C++ | src/platform/new_platform/core.cpp | mokoi/luxengine | 965532784c4e6112141313997d040beda4b56d07 | [
"MIT"
] | 11 | 2015-03-02T07:43:00.000Z | 2021-12-04T04:53:02.000Z | src/platform/new_platform/core.cpp | mokoi/luxengine | 965532784c4e6112141313997d040beda4b56d07 | [
"MIT"
] | 1 | 2015-03-28T17:17:13.000Z | 2016-10-10T05:49:07.000Z | src/platform/new_platform/core.cpp | mokoi/luxengine | 965532784c4e6112141313997d040beda4b56d07 | [
"MIT"
] | 3 | 2016-11-04T01:14:31.000Z | 2020-05-07T23:42:27.000Z | /****************************
Copyright (c) 2006-2012 Luke Salisbury
Copyright (c) 2008 Mokoi Gaming
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this... | 18.322314 | 243 | 0.710419 | mokoi |
c01e790dfd13056cad4bc72c791246ca9810980b | 6,602 | cc | C++ | mysql-server/plugin/test_services/test_services_threaded.cc | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | mysql-server/plugin/test_services/test_services_threaded.cc | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | mysql-server/plugin/test_services/test_services_threaded.cc | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | /* Copyright (c) 2015, 2020, 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, version 2.0,
as published by the Free Software Foundation.
This program is also distributed with certai... | 36.677778 | 80 | 0.701303 | silenc3502 |
c01e99d338af868bb582256ac0f9af184f503bde | 1,206 | hxx | C++ | opencascade/Quantity_Impedance.hxx | valgur/OCP | 2f7d9da73a08e4ffe80883614aedacb27351134f | [
"Apache-2.0"
] | 117 | 2020-03-07T12:07:05.000Z | 2022-03-27T07:35:22.000Z | opencascade/Quantity_Impedance.hxx | CadQuery/cpp-py-bindgen | 66e7376d3a27444393fc99acbdbef40bbc7031ae | [
"Apache-2.0"
] | 66 | 2019-12-20T16:07:36.000Z | 2022-03-15T21:56:10.000Z | opencascade/Quantity_Impedance.hxx | CadQuery/cpp-py-bindgen | 66e7376d3a27444393fc99acbdbef40bbc7031ae | [
"Apache-2.0"
] | 76 | 2020-03-16T01:47:46.000Z | 2022-03-21T16:37:07.000Z | // Created on: 1994-02-08
// Created by: Gilles DEBARBOUILLE
// Copyright (c) 1994-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of th... | 40.2 | 85 | 0.786899 | valgur |
c01ec0ba11fccfd8dec8a82f9f618516f2ab74da | 5,340 | hpp | C++ | oscc/firmware/common/testing/framework/cucumber-cpp/include/cucumber-cpp/internal/step/StepManager.hpp | OAkyildiz/oscc-joystick-commander | c3cacef72b7fe02c84ffb6f697cbbe303b845304 | [
"MIT"
] | 1 | 2021-02-23T12:19:43.000Z | 2021-02-23T12:19:43.000Z | oscc/firmware/common/testing/framework/cucumber-cpp/include/cucumber-cpp/internal/step/StepManager.hpp | WoodpeckerCar/Woodpecker_CAN_Controller | 91fdecdaacb1eb5d866d0c00701f40dad89d16b6 | [
"Apache-2.0",
"MIT"
] | null | null | null | oscc/firmware/common/testing/framework/cucumber-cpp/include/cucumber-cpp/internal/step/StepManager.hpp | WoodpeckerCar/Woodpecker_CAN_Controller | 91fdecdaacb1eb5d866d0c00701f40dad89d16b6 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-02-20T10:41:24.000Z | 2021-02-20T10:41:24.000Z | #ifndef CUKE_STEPMANAGER_HPP_
#define CUKE_STEPMANAGER_HPP_
#include <map>
#include <sstream>
#include <stdexcept>
#include <string>
#include <vector>
#include <boost/enable_shared_from_this.hpp>
#include <boost/make_shared.hpp>
#include <boost/shared_ptr.hpp>
using boost::shared_ptr;
#include "../Table.hpp"
#includ... | 22.436975 | 119 | 0.702809 | OAkyildiz |
c01f617cb9017521a068d7edca194aaf09351377 | 3,123 | hpp | C++ | Runtime/World/CScriptEffect.hpp | jackoalan/urde | 413483a996805a870f002324ee46cfc123f4df06 | [
"MIT"
] | null | null | null | Runtime/World/CScriptEffect.hpp | jackoalan/urde | 413483a996805a870f002324ee46cfc123f4df06 | [
"MIT"
] | null | null | null | Runtime/World/CScriptEffect.hpp | jackoalan/urde | 413483a996805a870f002324ee46cfc123f4df06 | [
"MIT"
] | null | null | null | #pragma once
#include <memory>
#include <string_view>
#include "Runtime/GCNTypes.hpp"
#include "Runtime/World/CActor.hpp"
namespace urde {
class CElementGen;
class CParticleElectric;
class CScriptEffect : public CActor {
static u32 g_NumParticlesUpdating;
static u32 g_NumParticlesRendered;
TLockedToken<CElect... | 38.555556 | 120 | 0.764649 | jackoalan |
c02105ca76cfa0deb6e5570e2a8c6572fc076a14 | 3,828 | cpp | C++ | tools/clang/test/CXX/dcl.decl/dcl.meaning/dcl.ref/p5.cpp | clayne/DirectXShaderCompiler | 0ef9b702890b1d45f0bec5fa75481290323e14dc | [
"NCSA"
] | 3,102 | 2015-01-04T02:28:35.000Z | 2022-03-30T12:53:41.000Z | tools/clang/test/CXX/dcl.decl/dcl.meaning/dcl.ref/p5.cpp | clayne/DirectXShaderCompiler | 0ef9b702890b1d45f0bec5fa75481290323e14dc | [
"NCSA"
] | 3,740 | 2019-01-23T15:36:48.000Z | 2022-03-31T22:01:13.000Z | tools/clang/test/CXX/dcl.decl/dcl.meaning/dcl.ref/p5.cpp | clayne/DirectXShaderCompiler | 0ef9b702890b1d45f0bec5fa75481290323e14dc | [
"NCSA"
] | 1,868 | 2015-01-03T04:27:11.000Z | 2022-03-25T13:37:35.000Z | // RUN: %clang_cc1 -fsyntax-only -verify %s
// C++ [dcl.ref]p5:
// There shall be no references to references, no arrays of
// references, and no pointers to references.
// The crazy formatting in here is to enforce the exact report locations.
typedef int &intref;
typedef intref &intrefref;
template <class T> c... | 26.219178 | 152 | 0.515935 | clayne |
c0211263b554e3e0e0447535d61fdbbf331b1d03 | 2,468 | cpp | C++ | input-output_example_gen/bench/gramschmidt.cpp | dongchen-coder/symRIByInputOuputExamples | e7434699f44ceb01f153ac8623b5bafac57f8abf | [
"MIT"
] | null | null | null | input-output_example_gen/bench/gramschmidt.cpp | dongchen-coder/symRIByInputOuputExamples | e7434699f44ceb01f153ac8623b5bafac57f8abf | [
"MIT"
] | null | null | null | input-output_example_gen/bench/gramschmidt.cpp | dongchen-coder/symRIByInputOuputExamples | e7434699f44ceb01f153ac8623b5bafac57f8abf | [
"MIT"
] | null | null | null | #include "./utility/rt.h"
#include <math.h>
int N;
int M;
#define A_OFFSET 0
#define R_OFFSET N * M
#define Q_OFFSET N * M + N * N
void gramschmidt_trace(double* A, double* R, double* Q) {
int k, i, j;
double nrm;
vector<int> idx;
for (k = 0; k < N; k++) {
nrm = 0.0;
for (i = 0; i < M; i++) {
... | 29.035294 | 82 | 0.487844 | dongchen-coder |
c02159588cf3470fdc6f54a34837abb9ee14a163 | 8,958 | hpp | C++ | include/eosio/time.hpp | swang-b1/abieos | 52ea28c0c2d771d101a2fe0ae4d176bb35a2f0cb | [
"MIT"
] | 71 | 2019-05-17T03:02:30.000Z | 2022-02-11T03:59:10.000Z | include/eosio/time.hpp | swang-b1/abieos | 52ea28c0c2d771d101a2fe0ae4d176bb35a2f0cb | [
"MIT"
] | 49 | 2019-05-21T18:52:57.000Z | 2022-03-07T16:44:40.000Z | include/eosio/time.hpp | swang-b1/abieos | 52ea28c0c2d771d101a2fe0ae4d176bb35a2f0cb | [
"MIT"
] | 36 | 2018-07-19T02:40:22.000Z | 2022-03-14T13:51:59.000Z | #pragma once
#include "chain_conversions.hpp"
#include "check.hpp"
#include "operators.hpp"
#include "reflection.hpp"
#include "from_json.hpp"
#include <stdint.h>
#include <string>
namespace eosio {
/**
* @defgroup time
* @ingroup core
* @brief Classes for working with time.
*/
class microseconds {
public:
... | 33.803774 | 120 | 0.674816 | swang-b1 |
c0231d0ad488c3862a528706c7e05b0003e20dee | 950 | cpp | C++ | sources/urlify_in_place/urlify_in_place.cpp | jacek143/code_area_template | 57784b1d6139c6f7cb8be0ebd3fee162f1d5e558 | [
"MIT"
] | null | null | null | sources/urlify_in_place/urlify_in_place.cpp | jacek143/code_area_template | 57784b1d6139c6f7cb8be0ebd3fee162f1d5e558 | [
"MIT"
] | null | null | null | sources/urlify_in_place/urlify_in_place.cpp | jacek143/code_area_template | 57784b1d6139c6f7cb8be0ebd3fee162f1d5e558 | [
"MIT"
] | null | null | null | #include "urlify_in_place.h"
using urlify_in_place::buffer_t;
namespace {
struct Lengths {
size_t current;
size_t urlficated;
};
Lengths compute_lengths(const buffer_t *p_buffer) {
Lengths lengths = {0, 0};
for (size_t i = 0; p_buffer->at(i) != '\0'; i++) {
lengths.current++;
lengths.urlficated += p_... | 24.358974 | 66 | 0.650526 | jacek143 |
c02398d674739626eea07d0ea5211e05da1cfa0c | 4,470 | cpp | C++ | NanoTest/Source/Nano/Threads/TThreadPool.cpp | refnum/Nano | dceb0907061f7845d8a3c662f309ca164e932e6f | [
"BSD-3-Clause"
] | 23 | 2019-11-12T09:31:11.000Z | 2021-09-13T08:59:37.000Z | NanoTest/Source/Nano/Threads/TThreadPool.cpp | refnum/nano | dceb0907061f7845d8a3c662f309ca164e932e6f | [
"BSD-3-Clause"
] | 1 | 2020-10-30T09:54:12.000Z | 2020-10-30T09:54:12.000Z | NanoTest/Source/Nano/Threads/TThreadPool.cpp | refnum/Nano | dceb0907061f7845d8a3c662f309ca164e932e6f | [
"BSD-3-Clause"
] | 3 | 2015-09-08T11:00:02.000Z | 2017-09-11T05:42:30.000Z | /* NAME:
TThreadPool.cpp
DESCRIPTION:
NThreadPool tests.
COPYRIGHT:
Copyright (c) 2006-2021, refNum Software
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 s... | 24.162162 | 79 | 0.521477 | refnum |
c025afc0be7c47112df000614fc188b7e266811c | 9,171 | cpp | C++ | test/unit/msg-bus/MsgBus.cpp | cern-fts/fts3 | cf9eb5c9f52728929965edf58a86381eec0c4e88 | [
"Apache-2.0"
] | 9 | 2018-06-27T09:53:51.000Z | 2021-01-19T09:54:37.000Z | test/unit/msg-bus/MsgBus.cpp | cern-fts/fts3 | cf9eb5c9f52728929965edf58a86381eec0c4e88 | [
"Apache-2.0"
] | null | null | null | test/unit/msg-bus/MsgBus.cpp | cern-fts/fts3 | cf9eb5c9f52728929965edf58a86381eec0c4e88 | [
"Apache-2.0"
] | 3 | 2018-07-13T06:17:44.000Z | 2021-07-08T04:57:04.000Z | /*
* Copyright (c) CERN 2016
*
* 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 in w... | 35.824219 | 105 | 0.74463 | cern-fts |
c0261a7fc43991509d789e99d7efe01691644fe1 | 517 | hpp | C++ | include/mass.hpp | zyuchuan/krypton | 449f39563ccc79659e61af954bd550c89c33d35e | [
"MIT"
] | null | null | null | include/mass.hpp | zyuchuan/krypton | 449f39563ccc79659e61af954bd550c89c33d35e | [
"MIT"
] | null | null | null | include/mass.hpp | zyuchuan/krypton | 449f39563ccc79659e61af954bd550c89c33d35e | [
"MIT"
] | null | null | null | //
// mass.hpp
// krypton
//
// Created by Jack Zou on 2018/4/7.
// Copyright © 2018年 jack.zou. All rights reserved.
//
#ifndef mass_h
#define mass_h
#include "core/common.hpp"
#include "core/quantity.hpp"
BEGIN_KR_NAMESPACE
template<class T> using microgram = quantity<T, mass, std::micro>;
template<class T> us... | 20.68 | 66 | 0.698259 | zyuchuan |
c0267365170fc4d17d96fe32f56d947acd899bd4 | 1,760 | cpp | C++ | PS_Fgen_FW/UI_Lib/Controls/ButtonControl.cpp | M1S2/PowerSupplySigGen | f2d352d9c24db985327d0286db58c6938da2507e | [
"MIT"
] | null | null | null | PS_Fgen_FW/UI_Lib/Controls/ButtonControl.cpp | M1S2/PowerSupplySigGen | f2d352d9c24db985327d0286db58c6938da2507e | [
"MIT"
] | 24 | 2020-11-10T13:03:05.000Z | 2021-05-12T16:26:02.000Z | PS_Fgen_FW/UI_Lib/Controls/ButtonControl.cpp | M1S2/PowerSupplySigGen | f2d352d9c24db985327d0286db58c6938da2507e | [
"MIT"
] | 1 | 2021-06-25T12:26:36.000Z | 2021-06-25T12:26:36.000Z | /*
* ButtonControl.cpp
* Created: 31.03.2021 20:42:49
* Author: Markus Scheich
*/
#include "ButtonControl.h"
#include <string.h>
template <int StringLength>
ButtonControl<StringLength>::ButtonControl(unsigned char locX, unsigned char locY, unsigned char width, unsigned char height, const char* buttonText, void* ... | 35.918367 | 245 | 0.703977 | M1S2 |
c0275aae9762ddcea5c5f53a50e3424e49683159 | 15,815 | cpp | C++ | src/debug-util.cpp | mikehearn/avian | 86648ea05423bce66d5757c65a213956ad6cd546 | [
"0BSD"
] | 1 | 2015-04-25T23:32:56.000Z | 2015-04-25T23:32:56.000Z | src/debug-util.cpp | technosaurus/avian | 60df08d023faba6e03186167051b3c5c22562dbe | [
"0BSD"
] | null | null | null | src/debug-util.cpp | technosaurus/avian | 60df08d023faba6e03186167051b3c5c22562dbe | [
"0BSD"
] | null | null | null | /* Copyright (c) 2008-2013, Avian Contributors
Permission to use, copy, modify, and/or distribute this software
for any purpose with or without fee is hereby granted, provided
that the above copyright notice and this permission notice appear
in all copies.
There is NO WARRANTY for this software. See l... | 25.799347 | 79 | 0.634524 | mikehearn |
c028559bc828d4df55d75e29a9dfad6a52963b40 | 9,866 | cc | C++ | test/common/grpc/codec_test.cc | dcillera/envoy | cb54ba8eec26f768f8c1ae412113b07bacde7321 | [
"Apache-2.0"
] | 17,703 | 2017-09-14T18:23:43.000Z | 2022-03-31T22:04:17.000Z | test/common/grpc/codec_test.cc | dcillera/envoy | cb54ba8eec26f768f8c1ae412113b07bacde7321 | [
"Apache-2.0"
] | 15,957 | 2017-09-14T16:38:22.000Z | 2022-03-31T23:56:30.000Z | test/common/grpc/codec_test.cc | dcillera/envoy | cb54ba8eec26f768f8c1ae412113b07bacde7321 | [
"Apache-2.0"
] | 3,780 | 2017-09-14T18:58:47.000Z | 2022-03-31T17:10:47.000Z | #include <array>
#include <cstdint>
#include <string>
#include <vector>
#include "source/common/buffer/buffer_impl.h"
#include "source/common/grpc/codec.h"
#include "test/common/buffer/utility.h"
#include "test/proto/helloworld.pb.h"
#include "test/test_common/printers.h"
#include "gtest/gtest.h"
namespace Envoy {
... | 31.520767 | 100 | 0.701196 | dcillera |
c02ba756765a754fbfc21525f6ad0aeece3c8c2c | 11,092 | cpp | C++ | gecode/int/var-imp/int.cpp | SaGagnon/gecode-5.5.0-cbs | e871b320a9b2031423bb0fa452b1a5c09641a041 | [
"MIT-feh"
] | null | null | null | gecode/int/var-imp/int.cpp | SaGagnon/gecode-5.5.0-cbs | e871b320a9b2031423bb0fa452b1a5c09641a041 | [
"MIT-feh"
] | null | null | null | gecode/int/var-imp/int.cpp | SaGagnon/gecode-5.5.0-cbs | e871b320a9b2031423bb0fa452b1a5c09641a041 | [
"MIT-feh"
] | null | null | null | /* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
* Main authors:
* Christian Schulte <schulte@gecode.org>
*
* Copyright:
* Christian Schulte, 2002
*
* Last modified:
* $Date: 2017-02-21 06:45:56 +0100 (Tue, 21 Feb 2017) $ by $Author: schulte $
* $Revision: 15465 $
*
* ... | 29.036649 | 82 | 0.508745 | SaGagnon |
c031ee5e139bc7dcb84faf06b0eff6bfcbdb76a4 | 545 | cpp | C++ | STEM4U/Utility.cpp | Libraries4U/STEM4U | 41472ce21420ff5bcf69577efefd924cf1e7c2cf | [
"Apache-2.0"
] | null | null | null | STEM4U/Utility.cpp | Libraries4U/STEM4U | 41472ce21420ff5bcf69577efefd924cf1e7c2cf | [
"Apache-2.0"
] | null | null | null | STEM4U/Utility.cpp | Libraries4U/STEM4U | 41472ce21420ff5bcf69577efefd924cf1e7c2cf | [
"Apache-2.0"
] | null | null | null | #include <Core/Core.h>
#include <Functions4U/Functions4U.h>
#include <Eigen/Eigen.h>
#include "Utility.h"
namespace Upp {
using namespace Eigen;
double R2(const VectorXd &serie, const VectorXd &serie0, double mean) {
if (IsNull(mean))
mean = serie.mean();
double sse = 0, sst = 0;
for (Eigen::Inde... | 20.185185 | 72 | 0.588991 | Libraries4U |
c0333f3235d1a372eee2aaa2d13fa8058ceccc4e | 8,121 | cpp | C++ | src/autorotate-iio.cpp | kode54/wayfire-plugins-extra | 11bbf1c5468138dea47ef162ac65d4a93914306b | [
"MIT"
] | null | null | null | src/autorotate-iio.cpp | kode54/wayfire-plugins-extra | 11bbf1c5468138dea47ef162ac65d4a93914306b | [
"MIT"
] | null | null | null | src/autorotate-iio.cpp | kode54/wayfire-plugins-extra | 11bbf1c5468138dea47ef162ac65d4a93914306b | [
"MIT"
] | null | null | null | #include <wayfire/plugin.hpp>
#include <wayfire/output.hpp>
#include <wayfire/render-manager.hpp>
#include <wayfire/input-device.hpp>
#include <wayfire/output-layout.hpp>
#include <wayfire/core.hpp>
#include <wayfire/util/log.hpp>
#include <giomm/dbusconnection.h>
#include <giomm/dbuswatchname.h>
#include <giomm/dbusp... | 29.747253 | 85 | 0.617165 | kode54 |
c033d3df203f58b8ac95b6d0c49d38a653cffdb1 | 1,022 | hpp | C++ | third-party/sprawl/include/sprawl/common/errors.hpp | 3Jade/Ocean | a17bbd6ece6ba0a7539c933cadfc7faad564f9d2 | [
"MIT"
] | null | null | null | third-party/sprawl/include/sprawl/common/errors.hpp | 3Jade/Ocean | a17bbd6ece6ba0a7539c933cadfc7faad564f9d2 | [
"MIT"
] | null | null | null | third-party/sprawl/include/sprawl/common/errors.hpp | 3Jade/Ocean | a17bbd6ece6ba0a7539c933cadfc7faad564f9d2 | [
"MIT"
] | null | null | null | #pragma once
#if defined(SPRAWL_NO_EXCEPTIONS)
# define SPRAWL_EXCEPTIONS_ENABLED 0
#elif defined(__clang__)
# define SPRAWL_EXCEPTIONS_ENABLED __has_feature(cxx_exceptions)
#elif defined(__GNUC__)
# ifdef __EXCEPTIONS
# define SPRAWL_EXCEPTIONS_ENABLED 1
# else
# define SPRAWL_EXCEPTIONS_ENABLED 0
# endif
#elif def... | 30.969697 | 119 | 0.812133 | 3Jade |
c034722ddeff7aed7bd73ff0853f2419ccb04701 | 4,340 | cxx | C++ | lio/PMLIO.cxx | kanait/hsphparam | 00158f81d00e496fed469779bf73094495ac8671 | [
"MIT"
] | 1 | 2021-08-23T06:55:22.000Z | 2021-08-23T06:55:22.000Z | lio/PMLIO.cxx | kanait/hsphparam | 00158f81d00e496fed469779bf73094495ac8671 | [
"MIT"
] | null | null | null | lio/PMLIO.cxx | kanait/hsphparam | 00158f81d00e496fed469779bf73094495ac8671 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////
//
// $Id: PMLIO.cxx 2021/06/05 13:58:48 kanai Exp $
//
// Copyright (c) 2021 Takashi Kanai
// Released under the MIT license
//
////////////////////////////////////////////////////////////////////
#include "envDep.h"
#include <iostream>
#include <f... | 26.956522 | 89 | 0.400691 | kanait |
c03736e763431b1e68749adf99ca97bf8629c554 | 33,341 | cpp | C++ | src/CompressedAssemblyGraph.cpp | AustinHartman/shasta | 105b8e85e272247f72ced59005c88879631931c0 | [
"BSD-3-Clause"
] | null | null | null | src/CompressedAssemblyGraph.cpp | AustinHartman/shasta | 105b8e85e272247f72ced59005c88879631931c0 | [
"BSD-3-Clause"
] | null | null | null | src/CompressedAssemblyGraph.cpp | AustinHartman/shasta | 105b8e85e272247f72ced59005c88879631931c0 | [
"BSD-3-Clause"
] | null | null | null | // Shasta.
#include "CompressedAssemblyGraph.hpp"
#include "Assembler.hpp"
#include "deduplicate.hpp"
#include "findLinearChains.hpp"
#include "html.hpp"
#include "platformDependent.hpp"
#include "runCommandWithTimeout.hpp"
#include "subgraph.hpp"
using namespace shasta;
// Boost libraries.
#include <boost/algorithm/s... | 30.928571 | 107 | 0.627966 | AustinHartman |
c0392ef762db36fb4665005319d9110d07051568 | 12,729 | cpp | C++ | server/Server/Other/ShopManager.cpp | viticm/web-pap | 7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca | [
"BSD-3-Clause"
] | 3 | 2018-06-19T21:37:38.000Z | 2021-07-31T21:51:40.000Z | server/Server/Other/ShopManager.cpp | viticm/web-pap | 7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca | [
"BSD-3-Clause"
] | null | null | null | server/Server/Other/ShopManager.cpp | viticm/web-pap | 7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca | [
"BSD-3-Clause"
] | 13 | 2015-01-30T17:45:06.000Z | 2022-01-06T02:29:34.000Z | #include "stdafx.h"
#include "ShopManager.h"
//public
#include "Obj_Human.h"
#include "Player.h"
#include "Obj_Monster.h"
#include "PAP_DBC.h"//DBC
#include "ItemHelper.h"//TSerialHelper
#include "ItemTable.h"//_ITEM_TYPE
#include "TimeManager.h"//g_pTimeManager
#include "GCShopUpdateMerchandiseList.h"//GCShopUpdateM... | 30.895631 | 123 | 0.565402 | viticm |
c039922f3b8e5630daba7a67276d8ff31fab39ec | 1,352 | cpp | C++ | algorithms/test/cliptest.cpp | VITObelgium/geodynamix | 6d3323bc4cae1b85e26afdceab2ecf3686b11369 | [
"MIT"
] | null | null | null | algorithms/test/cliptest.cpp | VITObelgium/geodynamix | 6d3323bc4cae1b85e26afdceab2ecf3686b11369 | [
"MIT"
] | null | null | null | algorithms/test/cliptest.cpp | VITObelgium/geodynamix | 6d3323bc4cae1b85e26afdceab2ecf3686b11369 | [
"MIT"
] | 1 | 2021-06-16T11:55:27.000Z | 2021-06-16T11:55:27.000Z | #include "gdx/test/testbase.h"
#include "gdx/algo/clip.h"
#include "infra/crs.h"
namespace gdx::test {
TEST_CASE_TEMPLATE("Clip raster", TypeParam, UnspecializedRasterTypes)
{
RasterMetadata meta(4, 4, -1.0);
meta.xll = 0.0;
meta.yll = 0.0;
meta.set_cell_size(100.0);
meta.set_projection_from_epsg... | 30.044444 | 71 | 0.441568 | VITObelgium |
c03b51368a29e784eef2038438553dab83757424 | 900 | cpp | C++ | CodeBlocks/URI/URI1094.cpp | ash1247/DocumentsWindows | 66f65b5170a1ba766cfae08b7104b63ab87331c2 | [
"MIT"
] | null | null | null | CodeBlocks/URI/URI1094.cpp | ash1247/DocumentsWindows | 66f65b5170a1ba766cfae08b7104b63ab87331c2 | [
"MIT"
] | null | null | null | CodeBlocks/URI/URI1094.cpp | ash1247/DocumentsWindows | 66f65b5170a1ba766cfae08b7104b63ab87331c2 | [
"MIT"
] | null | null | null |
#include <bits/stdc++.h>
using namespace std;
int main(void)
{
int n, num, i;
char c;
float coe = 0, rat = 0, sap = 0;
float total;
float coep, ratp, sapp;
scanf("%d", &n);
for( i = 1; i <= n; i++)
{
scanf("%d %c", &num, &c);
if(c == 'C')
coe += num;
... | 18.75 | 53 | 0.471111 | ash1247 |
c03b84d96db82330e88df5bf03b630d63cc6b428 | 3,736 | cpp | C++ | SPARKS/BaseSpark/parseConnections.cpp | adele-robots/fiona | 1ef1fb18e620e18b2187e79e4cca31d66d3f1fd2 | [
"MIT"
] | null | null | null | SPARKS/BaseSpark/parseConnections.cpp | adele-robots/fiona | 1ef1fb18e620e18b2187e79e4cca31d66d3f1fd2 | [
"MIT"
] | null | null | null | SPARKS/BaseSpark/parseConnections.cpp | adele-robots/fiona | 1ef1fb18e620e18b2187e79e4cca31d66d3f1fd2 | [
"MIT"
] | null | null | null | #include "stdAfx.h"
#include "Logger.h"
#include "ErrorHandling.h"
#include "fileops.h"
#include "ComponentSystem.h"
using namespace std;
void ComponentSystem::readComponentConnections() {
pugi::xpath_node_set::const_iterator it;
map<FriendlyNameType, OriginalNameType>::iterator iter;
// Read ... | 28.090226 | 98 | 0.685225 | adele-robots |
c03ce31bcc8fca0e8274570ee87e85ea92d6b6ac | 928 | cpp | C++ | algorithms_and_data_structures/term_1/lab_2/h.cpp | RevealMind/itmo | fc076d385fd46c50056cfb72d1990e10a1369f2b | [
"MIT"
] | 2 | 2020-07-15T10:42:55.000Z | 2020-07-20T08:40:56.000Z | algorithms_and_data_structures/term_1/lab_2/h.cpp | RevealMind/itmo | fc076d385fd46c50056cfb72d1990e10a1369f2b | [
"MIT"
] | 9 | 2021-05-09T02:35:45.000Z | 2022-01-22T13:19:03.000Z | algorithms_and_data_structures/term_1/lab_2/h.cpp | RevealMind/itmo | fc076d385fd46c50056cfb72d1990e10a1369f2b | [
"MIT"
] | 1 | 2022-02-18T07:57:31.000Z | 2022-02-18T07:57:31.000Z | #include<bits/stdc++.h>
int main()
{
freopen("saloon.in","r", stdin);
freopen("saloon.out","w", stdout);
int n, h, m ,k, time, x;
scanf("%d", &n);
std :: deque <int> arr;
int person = 0, j = 0;
for(int i = 0; i < n; i++)
{
scanf("%d %d %d", &h, &m, &k);
time = h * 60 + m... | 21.090909 | 62 | 0.357759 | RevealMind |
c0427b84b96afa295bc240695a26b27fd39ea4c2 | 3,501 | cpp | C++ | src/ParticleController.cpp | CS126SP20/final-project-meghasg2 | aad841877542c0fc6e51a1deeed55b8b96881844 | [
"MIT"
] | null | null | null | src/ParticleController.cpp | CS126SP20/final-project-meghasg2 | aad841877542c0fc6e51a1deeed55b8b96881844 | [
"MIT"
] | null | null | null | src/ParticleController.cpp | CS126SP20/final-project-meghasg2 | aad841877542c0fc6e51a1deeed55b8b96881844 | [
"MIT"
] | null | null | null | //
// Created by Megha Ganesh on 4/24/20.
//
#include "ParticleController.h"
#include "Conversions.h"
#include "Globals.h"
#include "cinder/Vector.h"
namespace particles {
ParticleController::ParticleController() {}
b2World* ParticleController::setup(b2World &w) {
world_ = &w;
return world_;
}
void ParticleCont... | 30.710526 | 76 | 0.70437 | CS126SP20 |
c046b6841626e2b941fbf2760904cc546fdfbb67 | 67,167 | cc | C++ | xls/codegen/combinational_generator_test.cc | AdrianaDJ/xls | c6672aec22a13a5761a8cd29968bf317177b95b7 | [
"Apache-2.0"
] | null | null | null | xls/codegen/combinational_generator_test.cc | AdrianaDJ/xls | c6672aec22a13a5761a8cd29968bf317177b95b7 | [
"Apache-2.0"
] | null | null | null | xls/codegen/combinational_generator_test.cc | AdrianaDJ/xls | c6672aec22a13a5761a8cd29968bf317177b95b7 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 The XLS Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | 42.403409 | 102 | 0.6336 | AdrianaDJ |
c047c931ec45d1e24a217c29edd8b25022f52461 | 6,680 | cpp | C++ | core/os/memory_pool_dynamic_static.cpp | leyyin/godot | 68325d7254db711beaedddad218e2cddb405c42c | [
"CC-BY-3.0",
"MIT"
] | 24 | 2016-10-14T16:54:01.000Z | 2022-01-15T06:39:17.000Z | core/os/memory_pool_dynamic_static.cpp | leyyin/godot | 68325d7254db711beaedddad218e2cddb405c42c | [
"CC-BY-3.0",
"MIT"
] | 17 | 2016-12-30T14:35:53.000Z | 2017-03-07T21:07:50.000Z | core/os/memory_pool_dynamic_static.cpp | leyyin/godot | 68325d7254db711beaedddad218e2cddb405c42c | [
"CC-BY-3.0",
"MIT"
] | 9 | 2017-08-04T12:00:16.000Z | 2021-12-10T06:48:28.000Z | /*************************************************************************/
/* memory_pool_dynamic_static.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | 24.468864 | 119 | 0.627545 | leyyin |
c04859891a666e1816daf20afd5cbeedb16f3a5e | 1,780 | cpp | C++ | src/main/cpp/subsystems/subsystem_Arm.cpp | Robodox-599/2022_Ophthamologist | 2bb465e416389505afcd7d9cedc16ff868e5200a | [
"BSD-3-Clause"
] | 3 | 2022-03-03T03:36:45.000Z | 2022-03-04T03:45:18.000Z | src/main/cpp/subsystems/subsystem_Arm.cpp | Robodox-599/2022_Ophthamologist | 2bb465e416389505afcd7d9cedc16ff868e5200a | [
"BSD-3-Clause"
] | 1 | 2022-02-26T18:51:46.000Z | 2022-02-26T18:51:46.000Z | src/main/cpp/subsystems/subsystem_Arm.cpp | Robodox-599/2022_Ophthamologist | 2bb465e416389505afcd7d9cedc16ff868e5200a | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "subsystems/subsystem_Arm.h"
subsystem_Arm::subsystem_Arm() : m_ArmMotor{ArmConstants::ArmMotorPort, rev::CANS... | 39.555556 | 113 | 0.747753 | Robodox-599 |
c04a336ebb778a23bb447f7aa373c6ee66f9c1b8 | 1,598 | cpp | C++ | fuzzer/test/test-exec-flags.cpp | ucsb-seclab/regulator-dynamic | 9b40c0dcb89f102dd0814728fb7da938b62bab68 | [
"MIT"
] | null | null | null | fuzzer/test/test-exec-flags.cpp | ucsb-seclab/regulator-dynamic | 9b40c0dcb89f102dd0814728fb7da938b62bab68 | [
"MIT"
] | null | null | null | fuzzer/test/test-exec-flags.cpp | ucsb-seclab/regulator-dynamic | 9b40c0dcb89f102dd0814728fb7da938b62bab68 | [
"MIT"
] | null | null | null | // tests execution with different flags
#include "regexp-executor.hpp"
#include "catch.hpp"
namespace e = regulator::executor;
namespace f = regulator::fuzz;
TEST_CASE( "compile and exec with case-insensitive (8-bit)" )
{
v8::Isolate *isolate = regulator::executor::Initialize();
v8::HandleScope scope(isolat... | 21.594595 | 82 | 0.573217 | ucsb-seclab |
c04d64e600dabcb8babaac093ec469ffa9698d27 | 2,459 | hpp | C++ | shared/imgui/imgui_impl_win32.hpp | jrnh/herby | bf0e90b850e2f81713e4dbc21c8d8b9af78ad203 | [
"MIT"
] | null | null | null | shared/imgui/imgui_impl_win32.hpp | jrnh/herby | bf0e90b850e2f81713e4dbc21c8d8b9af78ad203 | [
"MIT"
] | null | null | null | shared/imgui/imgui_impl_win32.hpp | jrnh/herby | bf0e90b850e2f81713e4dbc21c8d8b9af78ad203 | [
"MIT"
] | null | null | null | // dear imgui: Platform Backend for Windows (standard windows API for 32 and 64 bits applications)
// This needs to be used along with a Renderer (e.g. DirectX11, OpenGL3, Vulkan..)
// Implemented features:
// [X] Platform: Clipboard support (for Win32 this is actually part of core dear imgui)
// [X] Platform: Mouse... | 61.475 | 126 | 0.775519 | jrnh |
c04e6aae6af0b701a8a8b5931236b155562ee303 | 983 | inl | C++ | src/stk/filters/normalize.inl | simeks/stk | 21caff7d35d30f385928cd027243d8ac5d33a132 | [
"MIT"
] | 2 | 2018-08-15T10:52:34.000Z | 2018-09-26T13:05:57.000Z | src/stk/filters/normalize.inl | simeks/stk | 21caff7d35d30f385928cd027243d8ac5d33a132 | [
"MIT"
] | 19 | 2018-07-10T10:32:19.000Z | 2019-11-07T10:19:13.000Z | src/stk/filters/normalize.inl | simeks/stk | 21caff7d35d30f385928cd027243d8ac5d33a132 | [
"MIT"
] | 1 | 2018-06-27T17:28:20.000Z | 2018-06-27T17:28:20.000Z | namespace stk
{
template<typename T>
VolumeHelper<T> normalize(const VolumeHelper<T>& src,
T min,
T max,
VolumeHelper<T>* out)
{
T src_min, src_max;
find_min_max(src, src_min, src_max);
dim3 di... | 26.567568 | 90 | 0.425229 | simeks |
c0501e8417d302b42f9507b86f0331423f27cf2b | 4,284 | cpp | C++ | middleware/transaction/source/manager/transform.cpp | casualcore/casual | 047a4eaabbba52ad3ce63dc698a9325ad5fcec6d | [
"MIT"
] | null | null | null | middleware/transaction/source/manager/transform.cpp | casualcore/casual | 047a4eaabbba52ad3ce63dc698a9325ad5fcec6d | [
"MIT"
] | null | null | null | middleware/transaction/source/manager/transform.cpp | casualcore/casual | 047a4eaabbba52ad3ce63dc698a9325ad5fcec6d | [
"MIT"
] | 1 | 2022-02-21T18:30:25.000Z | 2022-02-21T18:30:25.000Z | //!
//! Copyright (c) 2021, The casual project
//!
//! This software is licensed under the MIT license, https://opensource.org/licenses/MIT
//!
#include "transaction/manager/transform.h"
#include "transaction/common.h"
#include "common/event/send.h"
#include "common/environment.h"
#include "common/environment/normali... | 33.46875 | 155 | 0.531046 | casualcore |
c050e20a224e2e0c1b2f0153d3c38025d9a1d73b | 5,199 | cpp | C++ | src/util/codec_util_high_openssl.cpp | jackyding2679/cos-cpp-sdk-v5 | 037da66f54473ba9628b532df72759edb6ca7700 | [
"MIT"
] | 6 | 2018-11-17T01:34:02.000Z | 2020-04-21T14:18:44.000Z | src/util/codec_util_high_openssl.cpp | jackyding2679/cos-cpp-sdk-v5 | 037da66f54473ba9628b532df72759edb6ca7700 | [
"MIT"
] | null | null | null | src/util/codec_util_high_openssl.cpp | jackyding2679/cos-cpp-sdk-v5 | 037da66f54473ba9628b532df72759edb6ca7700 | [
"MIT"
] | 1 | 2018-11-19T08:12:13.000Z | 2018-11-19T08:12:13.000Z | #include "util/codec_util.h"
#include <cassert>
#include <string.h>
#include <algorithm>
#include <fstream>
#include <iostream>
#include <string>
#include <openssl/crypto.h>
#include <openssl/evp.h>
#include <openssl/hmac.h>
#include <openssl/md5.h>
#include "util/file_util.h"
#include "util/sha1.h"
#include <opens... | 30.946429 | 105 | 0.55126 | jackyding2679 |
c055064afd19bc84d0a88420d08f27ec9b0f5394 | 5,405 | cpp | C++ | src/test/graph5.cpp | jalilm/q-MAX | 3a4e7ca89a9d0096ce7366f9efcf4ba583a6aced | [
"MIT"
] | 2 | 2021-03-05T02:05:44.000Z | 2021-05-26T16:13:57.000Z | src/test/graph5.cpp | jalilm/q-MAX | 3a4e7ca89a9d0096ce7366f9efcf4ba583a6aced | [
"MIT"
] | null | null | null | src/test/graph5.cpp | jalilm/q-MAX | 3a4e7ca89a9d0096ce7366f9efcf4ba583a6aced | [
"MIT"
] | 2 | 2019-12-03T12:59:40.000Z | 2021-03-05T01:49:58.000Z | #include <cstdio>
#include <cstdlib>
#include <list>
#include <fstream>
#include <iostream>
#include <sstream>
#include <cstring>
#include <random>
#include <stdio.h>
#include <stdlib.h>
#include <sys/timeb.h>
#include "../QmaxKV.hpp"
#include "../HeapKV.hpp"
#include "../SkiplistKV.hpp"
#include "Utils.hpp"
#define... | 29.216216 | 116 | 0.639963 | jalilm |
c056cc860904fb1613e372c30ad3126ead651f41 | 7,118 | cpp | C++ | casablanca/Release/tests/Functional/uri/constructor_tests.cpp | fpelliccioni/Tao | d23655bdf1ff521dc0c7e3fb2f101d1156fea4d9 | [
"BSL-1.0"
] | 1 | 2015-12-30T16:02:12.000Z | 2015-12-30T16:02:12.000Z | casablanca/Release/tests/Functional/uri/constructor_tests.cpp | fpelliccioni/Tao | d23655bdf1ff521dc0c7e3fb2f101d1156fea4d9 | [
"BSL-1.0"
] | null | null | null | casablanca/Release/tests/Functional/uri/constructor_tests.cpp | fpelliccioni/Tao | d23655bdf1ff521dc0c7e3fb2f101d1156fea4d9 | [
"BSL-1.0"
] | null | null | null | /***
* ==++==
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | 32.651376 | 114 | 0.642737 | fpelliccioni |
c057107dfc15048f2e3953ddaad01a9aebe4120a | 766 | cpp | C++ | random_contest/Y2019/practice_for_preli/FLifeOfPhi/Solution.cpp | Reshad-Hasan/problem_solving | 1ef4c83fb329b5b51af9fa357db5bd39b537a9ea | [
"MIT"
] | 17 | 2019-09-23T04:09:13.000Z | 2020-07-27T02:51:51.000Z | random_contest/Y2019/practice_for_preli/FLifeOfPhi/Solution.cpp | Reshad-Hasan/problem_solving | 1ef4c83fb329b5b51af9fa357db5bd39b537a9ea | [
"MIT"
] | 15 | 2019-09-23T06:33:47.000Z | 2020-06-04T18:55:45.000Z | random_contest/Y2019/practice_for_preli/FLifeOfPhi/Solution.cpp | Reshad-Hasan/problem_solving | 1ef4c83fb329b5b51af9fa357db5bd39b537a9ea | [
"MIT"
] | 16 | 2019-09-21T23:19:58.000Z | 2020-06-18T07:26:39.000Z | // problem name: Life of Phi
// problem link: https://toph.co/p/life-of-phi
// contest link: https://toph.co/c/practice-icpc-2019-dhaka
// author: reyad
// time: (?)
#include <bits/stdc++.h>
using namespace std;
#define N 1000000
long long int phi[N + 10], sum[N + 10];
int mark[N + 10] = {0};
int ... | 17.409091 | 60 | 0.469974 | Reshad-Hasan |
c0599bf96e856e85af1d2b3bbbb0eb96ce47ee04 | 65 | cpp | C++ | VytUtils/InjectHook/InjectHook.cpp | Vyterm/VytHug | 22b4c6708a23898d41fc49d604c54790b4f8c965 | [
"MIT"
] | null | null | null | VytUtils/InjectHook/InjectHook.cpp | Vyterm/VytHug | 22b4c6708a23898d41fc49d604c54790b4f8c965 | [
"MIT"
] | null | null | null | VytUtils/InjectHook/InjectHook.cpp | Vyterm/VytHug | 22b4c6708a23898d41fc49d604c54790b4f8c965 | [
"MIT"
] | null | null | null | // InjectHook.cpp : 定义 DLL 应用程序的导出函数。
//
#include "stdafx.h"
| 9.285714 | 38 | 0.630769 | Vyterm |
c05d95a857f69853734f34c056ad5b995340d66b | 4,255 | hpp | C++ | teal/include/data/states.hpp | S6066/Teal | d2b4c4474be5caead2db956b3e11894472c8d465 | [
"X11"
] | 22 | 2016-07-12T14:17:21.000Z | 2019-02-16T19:05:32.000Z | teal/include/data/states.hpp | S6066/Teal | d2b4c4474be5caead2db956b3e11894472c8d465 | [
"X11"
] | null | null | null | teal/include/data/states.hpp | S6066/Teal | d2b4c4474be5caead2db956b3e11894472c8d465 | [
"X11"
] | 3 | 2016-12-02T06:38:04.000Z | 2018-11-25T05:59:46.000Z | // Copyright (C) 2019 Samy Bensaid
// This file is part of the Teal project.
// For conditions of distribution and use, see copyright notice in LICENSE
#pragma once
#ifndef TEAL_STATES_HPP
#define TEAL_STATES_HPP
#include <Nazara/Core/String.hpp>
#include <Nazara/Renderer/Texture.hpp>
#include <Nazara/Lua/LuaState.h... | 29.344828 | 109 | 0.704113 | S6066 |
c06043f1c6e9aae3de0e009744bb9e8f4852c882 | 3,059 | cc | C++ | src/base/process/launch_unittest_mac.cc | Mr-Sheep/naiveproxy | 9f6e9768295f6d1d41517a15a621d4756bd7d6be | [
"BSD-3-Clause"
] | 6 | 2020-12-22T05:48:31.000Z | 2022-02-08T19:49:49.000Z | src/base/process/launch_unittest_mac.cc | Mr-Sheep/naiveproxy | 9f6e9768295f6d1d41517a15a621d4756bd7d6be | [
"BSD-3-Clause"
] | 4 | 2020-05-22T18:36:43.000Z | 2021-05-19T10:20:23.000Z | src/base/process/launch_unittest_mac.cc | Mr-Sheep/naiveproxy | 9f6e9768295f6d1d41517a15a621d4756bd7d6be | [
"BSD-3-Clause"
] | 2 | 2019-12-06T11:48:16.000Z | 2021-09-16T04:44:47.000Z | // Copyright 2020 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/process/launch.h"
#include <errno.h>
#include <stdio.h>
#include <unistd.h>
#include <string>
#include <utility>
#include <vector>
#incl... | 29.133333 | 74 | 0.718535 | Mr-Sheep |
c061acfea2ab41f159ce61ec5ff9d8aba63a6791 | 9,794 | cpp | C++ | mllib-dal/src/main/native/LinearRegressionDALImpl.cpp | xwu99/oap-mllib | 559ff5d67fe035ebe4fe2364e7a110b871acc3f1 | [
"CC-BY-3.0",
"Apache-2.0",
"CC0-1.0"
] | 11 | 2021-02-07T03:21:20.000Z | 2022-03-22T06:43:47.000Z | mllib-dal/src/main/native/LinearRegressionDALImpl.cpp | xwu99/oap-mllib | 559ff5d67fe035ebe4fe2364e7a110b871acc3f1 | [
"CC-BY-3.0",
"Apache-2.0",
"CC0-1.0"
] | 183 | 2020-12-28T10:07:57.000Z | 2022-03-24T15:42:44.000Z | mllib-dal/src/main/native/LinearRegressionDALImpl.cpp | xwu99/oap-mllib | 559ff5d67fe035ebe4fe2364e7a110b871acc3f1 | [
"CC-BY-3.0",
"Apache-2.0",
"CC0-1.0"
] | 10 | 2020-12-29T03:55:35.000Z | 2022-03-24T13:54:14.000Z | /*******************************************************************************
* Copyright 2020 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.a... | 40.139344 | 86 | 0.62814 | xwu99 |
c0648cc2fede9e1a5a6987079f8ead603991df61 | 5,678 | cpp | C++ | test/heuristic_search/test_RepeatedAStar.cpp | Forrest-Z/heuristic_search | 8a1d2035483e7167baf362dc3de52320845f1109 | [
"MIT"
] | null | null | null | test/heuristic_search/test_RepeatedAStar.cpp | Forrest-Z/heuristic_search | 8a1d2035483e7167baf362dc3de52320845f1109 | [
"MIT"
] | null | null | null | test/heuristic_search/test_RepeatedAStar.cpp | Forrest-Z/heuristic_search | 8a1d2035483e7167baf362dc3de52320845f1109 | [
"MIT"
] | 1 | 2020-04-18T09:58:49.000Z | 2020-04-18T09:58:49.000Z | /* heuristic_search library
*
* Copyright (c) 2016,
* Maciej Przybylski <maciej.przybylski@mchtr.pw.edu.pl>,
* Warsaw University of Technology.
* All rights reserved.
*
*/
#include <gtest/gtest.h>
#include "heuristic_search/SearchLoop.h"
#include "heuristic_search/StdOpenList.h"
#include "heuristic_search/... | 30.691892 | 102 | 0.689503 | Forrest-Z |
c06502bee9f477c1f768452c8e583ab0d9b47d8d | 5,814 | hpp | C++ | Nacro/SDK/FN_News_classes.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 11 | 2021-08-08T23:25:10.000Z | 2022-02-19T23:07:22.000Z | Nacro/SDK/FN_News_classes.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 1 | 2022-01-01T22:51:59.000Z | 2022-01-08T16:14:15.000Z | Nacro/SDK/FN_News_classes.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 8 | 2021-08-09T13:51:54.000Z | 2022-01-26T20:33:37.000Z | #pragma once
// Fortnite (1.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// WidgetBlueprintGeneratedClass News.News_C
// 0x0... | 111.807692 | 644 | 0.74011 | Milxnor |
c0665160623b93cb0f507861f30d7841f0bb0eb6 | 2,950 | hpp | C++ | include/veritacpp/dsl/math/variable.hpp | Nekrolm/veritacpp | 015c9dc2027154c8754a1b61040ce6d0bf807a47 | [
"MIT"
] | null | null | null | include/veritacpp/dsl/math/variable.hpp | Nekrolm/veritacpp | 015c9dc2027154c8754a1b61040ce6d0bf807a47 | [
"MIT"
] | null | null | null | include/veritacpp/dsl/math/variable.hpp | Nekrolm/veritacpp | 015c9dc2027154c8754a1b61040ce6d0bf807a47 | [
"MIT"
] | null | null | null | #pragma once
#include <algorithm>
#include <veritacpp/dsl/math/core_concepts.hpp>
#include <veritacpp/dsl/math/constants.hpp>
namespace veritacpp::dsl::math {
template <uint64_t N>
struct Variable;
template<uint64_t N, Functional F>
struct VariableBindingHolder {
F f;
static constexpr auto VariableID = N;
... | 25.652174 | 93 | 0.673898 | Nekrolm |
c06b1abc92f3063c9f4f2a7d1dcd0fb890816424 | 29,813 | cc | C++ | chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc | 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 | chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc | 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 | chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc | 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 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h"
#include "base/macros.h"
#include "base/strings/utf_string_conversions.h"
#in... | 35.704192 | 85 | 0.69738 | google-ar |
c06da04f369e8c2077ec036836b1be11ca584050 | 521 | cpp | C++ | ch16/hw16_9/hw16_9.cpp | z2x3c4v5bz/cbook_weinhong | 0cc66728a2f815db0510f780d4647f3b09e61758 | [
"MIT"
] | null | null | null | ch16/hw16_9/hw16_9.cpp | z2x3c4v5bz/cbook_weinhong | 0cc66728a2f815db0510f780d4647f3b09e61758 | [
"MIT"
] | null | null | null | ch16/hw16_9/hw16_9.cpp | z2x3c4v5bz/cbook_weinhong | 0cc66728a2f815db0510f780d4647f3b09e61758 | [
"MIT"
] | null | null | null | /* hw16_9 */
#include <iostream>
#include <cstdlib>
using namespace std;
int _max(int,int,int);
int _max(int,int);
int main(void)
{
int a=2,b=1,c=3;
cout<<"_max("<<a<<", "<<b<<", "<<c<<")="<<_max(a,b,c)<<endl;
cout<<"_max("<<b<<", "<<a<<")="<<_max(b,a)<<endl;
system("pause");
return 0;
}
int _max(int a,int b,i... | 11.840909 | 61 | 0.523992 | z2x3c4v5bz |
c06dd69760cadcf599751f81e1f4d434799bc534 | 1,224 | cpp | C++ | RLFPS/Source/RLFPS/Private/ReloadknockBackMod.cpp | Verb-Noun-Studios/Symbiotic | d037b3bbe4925f2d4c97d4c44e45ec0abe88c237 | [
"MIT"
] | 3 | 2022-01-11T03:29:03.000Z | 2022-02-03T03:46:44.000Z | RLFPS/Source/RLFPS/Private/ReloadknockBackMod.cpp | Verb-Noun-Studios/Symbiotic | d037b3bbe4925f2d4c97d4c44e45ec0abe88c237 | [
"MIT"
] | 27 | 2022-02-02T04:54:29.000Z | 2022-03-27T18:58:15.000Z | RLFPS/Source/RLFPS/Private/ReloadknockBackMod.cpp | Verb-Noun-Studios/Symbiotic | d037b3bbe4925f2d4c97d4c44e45ec0abe88c237 | [
"MIT"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#include "ReloadknockBackMod.h"
#include "GruntCharacter.h"
#include "Kismet/KismetMathLibrary.h"
#include "Kismet/GameplayStatics.h"
#include "GameFramework/PawnMovementComponent.h"
#include "GameFramework/CharacterMovementComponent.h"
U... | 25.5 | 109 | 0.753268 | Verb-Noun-Studios |
c06e568ee81ec53db067e0e956f0a9284c3ff952 | 5,267 | hpp | C++ | includes/Fox/Lexer/Lexer.hpp | Pierre-vh/Fox | ab3d9a5b3c409b5611840c477abef989830ea571 | [
"MIT"
] | 17 | 2019-01-17T22:41:11.000Z | 2020-08-27T03:39:07.000Z | includes/Fox/Lexer/Lexer.hpp | Pierre-vh/Moonshot | ab3d9a5b3c409b5611840c477abef989830ea571 | [
"MIT"
] | null | null | null | includes/Fox/Lexer/Lexer.hpp | Pierre-vh/Moonshot | ab3d9a5b3c409b5611840c477abef989830ea571 | [
"MIT"
] | 2 | 2019-06-30T19:07:10.000Z | 2019-12-26T17:30:17.000Z | //----------------------------------------------------------------------------//
// Part of the Fox project, licensed under the MIT license.
// See LICENSE.txt in the project root for license information.
// File : Lexer.hpp
// Author : Pierre van Houtryve
//------------------... | 36.576389 | 80 | 0.617809 | Pierre-vh |
c06e9c64c23c588c50c85f42ae24f3ca1cfca02b | 3,332 | cpp | C++ | envy TouchPad/FingerTapAndDragTapEvent.cpp | nagash91/EnvyTouchpad-NagashMod | 90dd6dd1bd2302e42f6c1b13966eb988be803f9b | [
"Apache-2.0"
] | 8 | 2019-03-20T15:42:06.000Z | 2021-10-13T10:41:16.000Z | envy TouchPad/FingerTapAndDragTapEvent.cpp | delchiaro/EnvyTouchpad-NagashMod | 90dd6dd1bd2302e42f6c1b13966eb988be803f9b | [
"Apache-2.0"
] | null | null | null | envy TouchPad/FingerTapAndDragTapEvent.cpp | delchiaro/EnvyTouchpad-NagashMod | 90dd6dd1bd2302e42f6c1b13966eb988be803f9b | [
"Apache-2.0"
] | 2 | 2018-04-07T01:12:41.000Z | 2018-10-23T11:33:17.000Z | #include "stdafx.h"
#include "FingerTapAndDragTapEvent.h"
#include "Mouse.h"
namespace envyTouchPad
{
FingerTapAndDragTapEvent::FingerTapAndDragTapEvent(int numberOfFingersTrigger)
{
fNumberOfFingersTrigger = numberOfFingersTrigger;
clear(true);
}
bool FingerTapAndDragTapEvent::fingersPresent(Configuration... | 29.22807 | 136 | 0.645858 | nagash91 |
c0720c10013f99293aa1ab2ebc4d9bf3286bc964 | 8,572 | cpp | C++ | SampleMathematics/PointInPolyhedron/PointInPolyhedron.cpp | CRIMSONCardiovascularModelling/WildMagic5 | fcf549bfb99a5c4b3d6ffbff18aabdc1a4e9085c | [
"BSL-1.0"
] | null | null | null | SampleMathematics/PointInPolyhedron/PointInPolyhedron.cpp | CRIMSONCardiovascularModelling/WildMagic5 | fcf549bfb99a5c4b3d6ffbff18aabdc1a4e9085c | [
"BSL-1.0"
] | null | null | null | SampleMathematics/PointInPolyhedron/PointInPolyhedron.cpp | CRIMSONCardiovascularModelling/WildMagic5 | fcf549bfb99a5c4b3d6ffbff18aabdc1a4e9085c | [
"BSL-1.0"
] | null | null | null | // Geometric Tools, LLC
// Copyright (c) 1998-2014
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
//
// File Version: 5.0.0 (2010/01/01)
#include "PointInPolyhedron.h"
WM5_WINDOW_APPLICATION(PointInPo... | 29.457045 | 78 | 0.589011 | CRIMSONCardiovascularModelling |
c072b7560875830d693e5faa9e5191d5d83b7913 | 24,417 | cpp | C++ | Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerPlaceholderBase.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerPlaceholderBase.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerPlaceholderBase.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "UObject/LinkerPlaceholderBase.h"
#include "UObject/UnrealType.h"
#include "Blueprint/BlueprintSupport.h"
#if USE_DEFERRED_DEPENDENCY_CHECK_VERIFICATION_TESTS
#define DEFERRED_DEPENDENCY_ENSURE(EnsueExpr) ensure(EnsueExpr)
#else // USE_DEFERRED_D... | 39.702439 | 192 | 0.694516 | windystrife |
c0746d375d5c43d68cfad1896e7a3ab6178e2c35 | 4,171 | cc | C++ | lite/kernels/cuda/sequence_arithmetic_compute_test.cc | peblue12345/Paddle-Lite | 3176ffcf9e0c9fec07f1a9d3f53efed5bb177696 | [
"Apache-2.0"
] | 1,799 | 2019-08-19T03:29:38.000Z | 2022-03-31T14:30:50.000Z | lite/kernels/cuda/sequence_arithmetic_compute_test.cc | peblue12345/Paddle-Lite | 3176ffcf9e0c9fec07f1a9d3f53efed5bb177696 | [
"Apache-2.0"
] | 3,767 | 2019-08-19T03:36:04.000Z | 2022-03-31T14:37:26.000Z | lite/kernels/cuda/sequence_arithmetic_compute_test.cc | yingshengBD/Paddle-Lite | eea59b66f61bb2acad471010c9526eeec43a15ca | [
"Apache-2.0"
] | 798 | 2019-08-19T02:28:23.000Z | 2022-03-31T08:31:54.000Z | // Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | 31.598485 | 78 | 0.641333 | peblue12345 |
c07473128d2487829da72e764b45a69ee9d6ac17 | 4,564 | hpp | C++ | engine/include/ph/game_loop/DefaultGameUpdateable.hpp | PetorSFZ/PhantasyEngine | befe8e9499b7fd93d8765721b6841337a57b0dd6 | [
"Zlib"
] | null | null | null | engine/include/ph/game_loop/DefaultGameUpdateable.hpp | PetorSFZ/PhantasyEngine | befe8e9499b7fd93d8765721b6841337a57b0dd6 | [
"Zlib"
] | null | null | null | engine/include/ph/game_loop/DefaultGameUpdateable.hpp | PetorSFZ/PhantasyEngine | befe8e9499b7fd93d8765721b6841337a57b0dd6 | [
"Zlib"
] | null | null | null | // Copyright (c) Peter Hillerström (skipifzero.com, peter@hstroem.se)
// For other contributors see Contributors.txt
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
//... | 40.389381 | 110 | 0.724145 | PetorSFZ |
c0748b218a4549fbc99c6abbecea29a79ce24933 | 13,238 | cpp | C++ | ConceptEngine/ConceptEngine/ConceptEngineFramework/Game/CEGame.cpp | Ludaxord/ConceptEngine | 16775bc9b518d4fd4c8bd32bb5f297223dfacbae | [
"MIT"
] | 4 | 2021-01-10T00:46:21.000Z | 2022-02-25T18:43:26.000Z | ConceptEngine/ConceptEngine/ConceptEngineFramework/Game/CEGame.cpp | Ludaxord/ConceptEngine | 16775bc9b518d4fd4c8bd32bb5f297223dfacbae | [
"MIT"
] | null | null | null | ConceptEngine/ConceptEngine/ConceptEngineFramework/Game/CEGame.cpp | Ludaxord/ConceptEngine | 16775bc9b518d4fd4c8bd32bb5f297223dfacbae | [
"MIT"
] | null | null | null | #include "CEGame.h"
#include <spdlog/spdlog.h>
#include <windowsx.h>
#include "CEConsole.h"
#include "../Graphics/DirectX12/CEDX12Manager.h"
#include "../Graphics/Vulkan/CEVManager.h"
#include "../Graphics/OpenGL/CEOGLManager.h"
namespace GameEngine = ConceptEngineFramework::Game;
namespace GraphicsEngine = ConceptE... | 30.154897 | 148 | 0.694667 | Ludaxord |
c079906b878af68e36583ff66537acf054543149 | 956 | cpp | C++ | torch/csrc/distributed/c10d/logging.cpp | ljhOfGithub/pytorch | c568f7b16f2a98d72ff5b7c6c6161b67b2c27514 | [
"Intel"
] | 2 | 2020-03-13T06:57:49.000Z | 2020-05-17T04:18:14.000Z | torch/csrc/distributed/c10d/logging.cpp | ellhe-blaster/pytorch | e5282c3cb8bf6ad8c5161f9d0cc271edb9abed25 | [
"Intel"
] | 1 | 2019-07-23T15:23:32.000Z | 2019-07-23T15:32:23.000Z | torch/csrc/distributed/c10d/logging.cpp | ellhe-blaster/pytorch | e5282c3cb8bf6ad8c5161f9d0cc271edb9abed25 | [
"Intel"
] | 2 | 2019-07-23T14:37:31.000Z | 2019-07-23T14:47:13.000Z | // Copyright (c) Meta Platforms, Inc. and its affiliates.
// All rights reserved.
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <c10d/logging.h>
#include <c10d/debug.h>
namespace c10d {
namespace detail {
bool isLogLev... | 23.9 | 79 | 0.688285 | ljhOfGithub |
c07cae9204e813066bd15ab25d27470cdc4a1a8f | 14,576 | hpp | C++ | include/drone.hpp | KPO-2020-2021/zad5_1-kgliwinski | 0bd90e1e065f32363c77ad02e217406487850a99 | [
"Unlicense"
] | null | null | null | include/drone.hpp | KPO-2020-2021/zad5_1-kgliwinski | 0bd90e1e065f32363c77ad02e217406487850a99 | [
"Unlicense"
] | null | null | null | include/drone.hpp | KPO-2020-2021/zad5_1-kgliwinski | 0bd90e1e065f32363c77ad02e217406487850a99 | [
"Unlicense"
] | null | null | null | #pragma once
#include "prism.hpp"
#include "cuboid.hpp"
#include "lacze_do_gnuplota.hpp"
#include <unistd.h>
#include <vector>
/*!
* \file drone.hpp
*
* \brief Plik zawiera definicję klasy reprezentujacej drona,
* budowanie i przemieszczanie go
*/
/*!
* \class Drone
* \brief Opisuje drona o prosto... | 46.868167 | 176 | 0.525796 | KPO-2020-2021 |
c07cd1d2f1f988efc4c9d5488d644eba2c3ed223 | 908 | cpp | C++ | Spectro.Arduino/ColorAnimator.cpp | SKKbySSK/Spectro | 3f89838321b07e061575b995c46a154df3b50be3 | [
"MIT"
] | null | null | null | Spectro.Arduino/ColorAnimator.cpp | SKKbySSK/Spectro | 3f89838321b07e061575b995c46a154df3b50be3 | [
"MIT"
] | null | null | null | Spectro.Arduino/ColorAnimator.cpp | SKKbySSK/Spectro | 3f89838321b07e061575b995c46a154df3b50be3 | [
"MIT"
] | null | null | null | #include "Arduino.h"
#ifndef __COLOR__
#define __COLOR__
#include "Color.cpp"
#endif
extern unsigned long timer0_millis;
class ColorAnimator {
private:
int time;
float durationMs;
unsigned long offset, position;
int dr, dg, db, r, g, b;
Color color, from, to;
public:
float Progress;
ColorAnimator(Co... | 18.530612 | 57 | 0.594714 | SKKbySSK |
c07e0d23bcf83823c2e2554635644f1701758d8c | 2,325 | cpp | C++ | Hypodermic.Tests/RegistrationTests.cpp | KirillShirkunov/Hypodermic | 2c5466ae092dd16f3b55a385856a9ddf3215a5f6 | [
"MIT"
] | 419 | 2015-01-01T18:43:59.000Z | 2022-03-21T08:33:56.000Z | Hypodermic.Tests/RegistrationTests.cpp | KirillShirkunov/Hypodermic | 2c5466ae092dd16f3b55a385856a9ddf3215a5f6 | [
"MIT"
] | 39 | 2015-02-12T10:34:18.000Z | 2021-09-22T12:01:24.000Z | Hypodermic.Tests/RegistrationTests.cpp | KirillShirkunov/Hypodermic | 2c5466ae092dd16f3b55a385856a9ddf3215a5f6 | [
"MIT"
] | 91 | 2015-02-03T04:50:46.000Z | 2022-03-24T07:31:48.000Z | #include "stdafx.h"
#include "Hypodermic/ContainerBuilder.h"
#include "TestingTypes.h"
namespace Hypodermic
{
namespace Testing
{
BOOST_AUTO_TEST_SUITE(RegistrationTests)
BOOST_AUTO_TEST_CASE(should_call_activation_handler_everytime_an_instance_is_activated_through_resolution)
{
// Arrange
... | 30.194805 | 166 | 0.669677 | KirillShirkunov |
c07e324e1581990bbd78a66114c6b67e8f88d4ea | 2,096 | hpp | C++ | src/mpi/channel_base.hpp | angainor/oomph | 67a3a680cb3d68e4b7a71e6e1745e7a98076c44a | [
"BSD-3-Clause"
] | null | null | null | src/mpi/channel_base.hpp | angainor/oomph | 67a3a680cb3d68e4b7a71e6e1745e7a98076c44a | [
"BSD-3-Clause"
] | 6 | 2021-11-11T07:40:55.000Z | 2022-01-11T09:26:19.000Z | src/mpi/channel_base.hpp | angainor/oomph | 67a3a680cb3d68e4b7a71e6e1745e7a98076c44a | [
"BSD-3-Clause"
] | 2 | 2021-09-03T20:26:46.000Z | 2021-11-10T09:20:12.000Z | /*
* ghex-org
*
* Copyright (c) 2014-2021, ETH Zurich
* All rights reserved.
*
* Please, refer to the LICENSE file in the root directory.
* SPDX-License-Identifier: BSD-3-Clause
*/
#pragma once
#include <oomph/util/mpi_error.hpp>
#include "./context.hpp"
namespace oomph
{
class channel_base
{
protected:
... | 27.578947 | 99 | 0.636927 | angainor |
c08275c8eab4ac156ab4cdaff119ebce6773abc6 | 1,554 | hpp | C++ | menoh/composite_backend/backend/generic/operator/identity.hpp | xeddmc/menoh | c00e8d5c2e9f46d7228b2f8130ae0d5254005ca1 | [
"MIT"
] | 284 | 2018-06-21T02:00:08.000Z | 2021-11-22T07:50:22.000Z | menoh/composite_backend/backend/generic/operator/identity.hpp | xeddmc/menoh | c00e8d5c2e9f46d7228b2f8130ae0d5254005ca1 | [
"MIT"
] | 174 | 2018-06-21T06:01:57.000Z | 2020-12-28T06:26:55.000Z | menoh/composite_backend/backend/generic/operator/identity.hpp | xeddmc/menoh | c00e8d5c2e9f46d7228b2f8130ae0d5254005ca1 | [
"MIT"
] | 33 | 2018-06-21T04:19:17.000Z | 2020-05-08T12:51:55.000Z | #ifndef MENOH_IMPL_COMPOSITE_BACKEND_BACKEND_GENERIC_OPERATOR_IDENTITY_HPP
#define MENOH_IMPL_COMPOSITE_BACKEND_BACKEND_GENERIC_OPERATOR_IDENTITY_HPP
#include <algorithm>
#include <menoh/array.hpp>
#include <menoh/composite_backend/procedure.hpp>
namespace menoh_impl {
namespace composite_backend {
names... | 38.85 | 76 | 0.530888 | xeddmc |
c08386a52f78739a01a120394aa9317dae7e20ed | 37,370 | cpp | C++ | Plugins/agsblend/AGSBlend.cpp | rofl0r/ags | 23fcd2bef1c9b0ef61d849b0f78a2b4f5e9b712d | [
"Artistic-2.0"
] | 2 | 2020-06-26T11:40:27.000Z | 2021-06-14T15:58:09.000Z | Plugins/agsblend/AGSBlend.cpp | rofl0r/ags | 23fcd2bef1c9b0ef61d849b0f78a2b4f5e9b712d | [
"Artistic-2.0"
] | null | null | null | Plugins/agsblend/AGSBlend.cpp | rofl0r/ags | 23fcd2bef1c9b0ef61d849b0f78a2b4f5e9b712d | [
"Artistic-2.0"
] | null | null | null | /***********************************************************
* AGSBlend *
* *
* Author: Steven Poulton *
* *
* Date: 09/01/... | 35.288008 | 277 | 0.478245 | rofl0r |
c08409bca82ab6e9e3a44aa0af13ccc1e59356f1 | 1,468 | cpp | C++ | library/Components/Objects/Rulebase/src/Timebased_rules.cpp | NGliese/Embedded | 589f55858b1f8b994347df3c0a2b2fcd4f9bd14e | [
"MIT"
] | null | null | null | library/Components/Objects/Rulebase/src/Timebased_rules.cpp | NGliese/Embedded | 589f55858b1f8b994347df3c0a2b2fcd4f9bd14e | [
"MIT"
] | null | null | null | library/Components/Objects/Rulebase/src/Timebased_rules.cpp | NGliese/Embedded | 589f55858b1f8b994347df3c0a2b2fcd4f9bd14e | [
"MIT"
] | null | null | null | /*
* Timebased_rules.cpp
*
* Created on: Nov 16, 2021
* Author: nikolaj
*/
/***********************************************************************************************+
* \brief -- XX -- Library - CPP Source file
* \par
* \par @DETAILS
*
*
* \li LIMITATION-TO-CLASS
* \li... | 21.275362 | 97 | 0.558583 | NGliese |
c0848274b608b3d75d61032d9eb6f302746143d7 | 1,576 | hpp | C++ | include/tensor_ops.hpp | jaistark/sp | 911933c65f950e6bc51451840068ca9249554846 | [
"BSD-2-Clause"
] | 28 | 2015-03-04T08:34:40.000Z | 2022-02-13T05:59:11.000Z | include/tensor_ops.hpp | jaistark/sp | 911933c65f950e6bc51451840068ca9249554846 | [
"BSD-2-Clause"
] | null | null | null | include/tensor_ops.hpp | jaistark/sp | 911933c65f950e6bc51451840068ca9249554846 | [
"BSD-2-Clause"
] | 14 | 2015-03-04T08:34:42.000Z | 2020-12-08T16:13:37.000Z | #ifndef _TENSOR_OPS_HPP_
#define _TENSOR_OPS_HPP_
#include "common.hpp"
#include "network.hpp"
#include "vector.hpp"
#include <vector>
// Routine to compute the second left eigenvector of the Markov Chain
// induced by the stationary distribution.
//
// triples is the list of third order moments (must be symmetric)
... | 35.818182 | 74 | 0.738579 | jaistark |
c086fdd2f452273a9175890573d7378113667e7e | 10,548 | cpp | C++ | deepracer_follow_the_leader_ws/build/deepracer_interfaces_pkg/rosidl_typesupport_c/deepracer_interfaces_pkg/srv/software_update_state_srv__type_support.cpp | amitjain-3/working_add | ddd3b10d854477e86bf7a8558b3d447ec03a8a5f | [
"Apache-2.0"
] | 1 | 2022-03-11T20:15:27.000Z | 2022-03-11T20:15:27.000Z | deepracer_follow_the_leader_ws/build/deepracer_interfaces_pkg/rosidl_typesupport_c/deepracer_interfaces_pkg/srv/software_update_state_srv__type_support.cpp | amitjain-3/working_add | ddd3b10d854477e86bf7a8558b3d447ec03a8a5f | [
"Apache-2.0"
] | null | null | null | deepracer_follow_the_leader_ws/build/deepracer_interfaces_pkg/rosidl_typesupport_c/deepracer_interfaces_pkg/srv/software_update_state_srv__type_support.cpp | amitjain-3/working_add | ddd3b10d854477e86bf7a8558b3d447ec03a8a5f | [
"Apache-2.0"
] | null | null | null | // generated from rosidl_typesupport_c/resource/idl__type_support.cpp.em
// with input from deepracer_interfaces_pkg:srv/SoftwareUpdateStateSrv.idl
// generated code does not contain a copyright notice
#include "cstddef"
#include "rosidl_runtime_c/message_type_support_struct.h"
#include "deepracer_interfaces_pkg/msg/r... | 35.755932 | 165 | 0.85182 | amitjain-3 |
c087746d79d1ba215d0149ff16973f0ead0a5dcd | 5,378 | cpp | C++ | src/rviz/default_plugin/grid_cells_display.cpp | fftn/rviz | a9de85555b040f625b0bac5d7c3eba3be9e8fa42 | [
"BSD-3-Clause-Clear"
] | null | null | null | src/rviz/default_plugin/grid_cells_display.cpp | fftn/rviz | a9de85555b040f625b0bac5d7c3eba3be9e8fa42 | [
"BSD-3-Clause-Clear"
] | null | null | null | src/rviz/default_plugin/grid_cells_display.cpp | fftn/rviz | a9de85555b040f625b0bac5d7c3eba3be9e8fa42 | [
"BSD-3-Clause-Clear"
] | null | null | null | /*
* Copyright (c) 2008, Willow Garage, 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 l... | 31.450292 | 101 | 0.716623 | fftn |
c08eae1e1417ad9aae1fbf98d5d1fa66f71a47eb | 2,862 | cpp | C++ | src/core/Game.cpp | tbsd/yet_another_roguelike | ed276351533f2be05f7cc04c03c215d841af5097 | [
"MIT"
] | null | null | null | src/core/Game.cpp | tbsd/yet_another_roguelike | ed276351533f2be05f7cc04c03c215d841af5097 | [
"MIT"
] | null | null | null | src/core/Game.cpp | tbsd/yet_another_roguelike | ed276351533f2be05f7cc04c03c215d841af5097 | [
"MIT"
] | null | null | null | #include "Game.h"
#include "Log.h"
#include <mutex>
#include <future>
#include <chrono>
#include "UserAction.h"
#include "../component/Health.h"
namespace tbsd {
void Game::processAction(const Action& action) {
switch (action.getType()) {
case Action::Type::Connected:
users.emplace_back(std::any_ca... | 31.108696 | 100 | 0.592942 | tbsd |
6a4eff4c2b2c6aaf37fc5298c798321f5765d2c2 | 703 | cpp | C++ | src/utility/settings/BoundarySetting.cpp | Ozaq/ARTSS | 32fc99623bf06db3ceb89fe20504867ccf28959d | [
"MIT"
] | null | null | null | src/utility/settings/BoundarySetting.cpp | Ozaq/ARTSS | 32fc99623bf06db3ceb89fe20504867ccf28959d | [
"MIT"
] | null | null | null | src/utility/settings/BoundarySetting.cpp | Ozaq/ARTSS | 32fc99623bf06db3ceb89fe20504867ccf28959d | [
"MIT"
] | null | null | null | /// \file BoundarySetting.cpp
/// \brief Model of Boundaries in the XML
/// \date Dec 01, 2021
/// \author von Mach
/// \copyright <2015-2021> Forschungszentrum Juelich GmbH. All rights reserved.
#include "BoundarySetting.h"
namespace Settings {
BoundarySetting::BoundarySetting(tinyxml2::XMLElem... | 30.565217 | 82 | 0.687055 | Ozaq |
6a51653fdedf9b0120d0cba5bb13202186eec594 | 333 | cpp | C++ | dialogs/dialog-about.cpp | Intueor/PPK | afd1ddcb6214352b87097b58de0b9555a8a3f1b2 | [
"Apache-2.0"
] | null | null | null | dialogs/dialog-about.cpp | Intueor/PPK | afd1ddcb6214352b87097b58de0b9555a8a3f1b2 | [
"Apache-2.0"
] | null | null | null | dialogs/dialog-about.cpp | Intueor/PPK | afd1ddcb6214352b87097b58de0b9555a8a3f1b2 | [
"Apache-2.0"
] | null | null | null | //== ВКЛЮЧЕНИЯ.
#include "dialog-about.h"
#include "ui_dialog-about.h"
//== ФУНКЦИИ КЛАССОВ.
//== Класс диалога "О программе".
// Конструктор.
DialogAbout::DialogAbout(QWidget *p_WidgetParent) : QDialog(p_WidgetParent), p_UI(new Ui::DialogAbout) { p_UI->setupUi(this); }
// Деструктор.
DialogAbout::~DialogAbout() { de... | 27.75 | 127 | 0.714715 | Intueor |
6a55a46cc58954f0aa68d79792fa92fcbc3306ec | 4,356 | cxx | C++ | src/qds/DispatchIO.cxx | XFone/exapi | 05660e8b27dfa75aa0996342ee5b6b253b09c477 | [
"Apache-2.0"
] | 1 | 2020-04-11T06:06:40.000Z | 2020-04-11T06:06:40.000Z | src/qds/DispatchIO.cxx | XFone/exapi | 05660e8b27dfa75aa0996342ee5b6b253b09c477 | [
"Apache-2.0"
] | null | null | null | src/qds/DispatchIO.cxx | XFone/exapi | 05660e8b27dfa75aa0996342ee5b6b253b09c477 | [
"Apache-2.0"
] | null | null | null | /*
* $Id: $
*
* System I/O dispatching implementation
*
* Copyright (c) 2014-2015 Zerone.IO (Shanghai). All rights reserved.
*
* $Log: $
*
*/
#include "Base.h"
#include "Log.h"
#include "Trace.h"
#include "GlobalDefine.h"
#include "DispatchIO.h"
#include "algoapi/zmq/ZmqHelper.h"
#include <string>
using nam... | 24.066298 | 87 | 0.506198 | XFone |
6a58d45a9c342cf63c598464f6ba5fdcb4928274 | 3,494 | cpp | C++ | Unix/samples/Providers/Demo-i2/X_Halves_Class_Provider.cpp | Beguiled/omi | 1c824681ee86f32314f430db972e5d3938f10fd4 | [
"MIT"
] | 165 | 2016-08-18T22:06:39.000Z | 2019-05-05T11:09:37.000Z | Unix/samples/Providers/Demo-i2/X_Halves_Class_Provider.cpp | snchennapragada/omi | 4fa565207d3445d1f44bfc7b890f9ea5ea7b41d0 | [
"MIT"
] | 409 | 2016-08-18T20:52:56.000Z | 2019-05-06T10:03:11.000Z | Unix/samples/Providers/Demo-i2/X_Halves_Class_Provider.cpp | snchennapragada/omi | 4fa565207d3445d1f44bfc7b890f9ea5ea7b41d0 | [
"MIT"
] | 72 | 2016-08-23T02:30:08.000Z | 2019-04-30T22:57:03.000Z | /*
**==============================================================================
**
** Copyright (c) Microsoft Corporation. All rights reserved. See file LICENSE
** for license information.
**
**==============================================================================
*/
/* @migen@ */
#include <MI.h>
#include ... | 23.449664 | 90 | 0.644533 | Beguiled |
6a5bc50b3d3d4a4110129e869e023df358f61a0a | 3,545 | hpp | C++ | libcaf_core/caf/mixin/subscriber.hpp | mydatamodels/actor-framework | d8fe071c86137918dff57ea12fc7aa44e7f0190a | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | libcaf_core/caf/mixin/subscriber.hpp | mydatamodels/actor-framework | d8fe071c86137918dff57ea12fc7aa44e7f0190a | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | libcaf_core/caf/mixin/subscriber.hpp | mydatamodels/actor-framework | d8fe071c86137918dff57ea12fc7aa44e7f0190a | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | /******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
... | 36.546392 | 80 | 0.472496 | mydatamodels |
6a5c9978d647b2abf2c1b08a4d22fca238db76dc | 6,228 | cpp | C++ | src/dis6/LinearSegmentParameter.cpp | AlphaPixel/open-dis-cpp | 90634cade32ac98e2108be8799bd2ec949c4337e | [
"BSD-2-Clause"
] | 42 | 2017-02-22T07:23:06.000Z | 2022-03-07T12:34:11.000Z | src/dis6/LinearSegmentParameter.cpp | AlphaPixel/open-dis-cpp | 90634cade32ac98e2108be8799bd2ec949c4337e | [
"BSD-2-Clause"
] | 62 | 2017-07-14T11:06:55.000Z | 2022-01-22T02:32:45.000Z | src/dis6/LinearSegmentParameter.cpp | AlphaPixel/open-dis-cpp | 90634cade32ac98e2108be8799bd2ec949c4337e | [
"BSD-2-Clause"
] | 51 | 2017-08-10T16:44:32.000Z | 2021-12-16T09:57:42.000Z | #include <dis6/LinearSegmentParameter.h>
using namespace DIS;
LinearSegmentParameter::LinearSegmentParameter():
_segmentNumber(0),
_segmentAppearance(),
_location(),
_orientation(),
_segmentLength(0),
_segmentWidth(0),
_segmentHeight(0),
_segmentDepth(0),
_pad1(0)
{
}
LinearSegmen... | 28.568807 | 93 | 0.745665 | AlphaPixel |
6a5ca6c9fede4f97106d6204d89b025f2bf8bb80 | 946 | hpp | C++ | src/recording/encoders/encoder.hpp | mightybruno/KShare | c1124354be9c8bb5c1931e37e19391f0b6c4389f | [
"MIT"
] | 213 | 2017-04-23T13:12:59.000Z | 2022-01-18T09:03:45.000Z | src/recording/encoders/encoder.hpp | mightybruno/KShare | c1124354be9c8bb5c1931e37e19391f0b6c4389f | [
"MIT"
] | 67 | 2017-04-29T21:49:36.000Z | 2018-06-09T21:30:04.000Z | src/recording/encoders/encoder.hpp | mightybruno/KShare | c1124354be9c8bb5c1931e37e19391f0b6c4389f | [
"MIT"
] | 38 | 2017-04-30T09:57:46.000Z | 2022-01-15T20:22:52.000Z | #ifndef ENCODER_HPP
#define ENCODER_HPP
#include <QImage>
#include <QSize>
extern "C" {
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libswscale/swscale.h>
}
struct OutputStream {
AVStream *st = NULL;
AVCodecContext *enc = NULL;
int64_t nextPts = 0;
AVFrame *frame = NUL... | 16.892857 | 76 | 0.661734 | mightybruno |
6a5ffeba2a7390a709bcbe189929311afcbc831e | 2,796 | cpp | C++ | test/Kin/features/main.cpp | v4hn/rai | 0638426c2c4a240863de4f39778d48e48fd8f5d7 | [
"MIT"
] | null | null | null | test/Kin/features/main.cpp | v4hn/rai | 0638426c2c4a240863de4f39778d48e48fd8f5d7 | [
"MIT"
] | null | null | null | test/Kin/features/main.cpp | v4hn/rai | 0638426c2c4a240863de4f39778d48e48fd8f5d7 | [
"MIT"
] | null | null | null | #include <Kin/F_qFeatures.h>
#include <Kin/F_PairCollision.h>
#include <Kin/TM_angVel.h>
#include <Kin/F_dynamics.h>
#include <Kin/F_pose.h>
#include <Kin/F_contacts.h>
#include <Kin/forceExchange.h>
#include <iomanip>
extern bool orsDrawWires;
extern bool rai_Kin_frame_ignoreQuatNormalizationWarning;
//=============... | 30.391304 | 89 | 0.615165 | v4hn |
6a6280e6a0a226f8f19c557fcabea131e16c7514 | 306 | cpp | C++ | atcoder/abc/20/a.cpp | utgw/programming-contest | eb7f28ae913296c6f4f9a8136dca8bd321e01e79 | [
"MIT"
] | null | null | null | atcoder/abc/20/a.cpp | utgw/programming-contest | eb7f28ae913296c6f4f9a8136dca8bd321e01e79 | [
"MIT"
] | null | null | null | atcoder/abc/20/a.cpp | utgw/programming-contest | eb7f28ae913296c6f4f9a8136dca8bd321e01e79 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
#define FOR(i,m,n) for(int i=m;i<(n);i++)
#define REP(i,n) FOR(i,0,n)
#define ALL(x) (x).begin(),(x).end()
using namespace std;
typedef long long ll;
int main(void){
int q;
cin >> q;
if (q == 1)
cout << "ABC" << endl;
else
cout << "chokudai" << endl;
return 0;
}
| 18 | 41 | 0.558824 | utgw |
6a666d9c46fa549432d11c482f7bbb5085f48865 | 1,597 | cc | C++ | extensions/common/api/bluetooth/bluetooth_manifest_handler.cc | 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 | extensions/common/api/bluetooth/bluetooth_manifest_handler.cc | 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 | extensions/common/api/bluetooth/bluetooth_manifest_handler.cc | 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 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "extensions/common/api/bluetooth/bluetooth_manifest_handler.h"
#include "extensions/common/api/bluetooth/bluetooth_manifest_data.h"
#include "ex... | 33.270833 | 78 | 0.765185 | google-ar |
6a6685ac3f4a2ab572fdd930067ecdb1b9791836 | 5,364 | cc | C++ | onnxruntime/contrib_ops/cpu/bert/longformer_attention_base.cc | lchang20/onnxruntime | 97b8f6f394ae02c73ed775f456fd85639c91ced1 | [
"MIT"
] | 6,036 | 2019-05-07T06:03:57.000Z | 2022-03-31T17:59:54.000Z | onnxruntime/contrib_ops/cpu/bert/longformer_attention_base.cc | lchang20/onnxruntime | 97b8f6f394ae02c73ed775f456fd85639c91ced1 | [
"MIT"
] | 5,730 | 2019-05-06T23:04:55.000Z | 2022-03-31T23:55:56.000Z | onnxruntime/contrib_ops/cpu/bert/longformer_attention_base.cc | lchang20/onnxruntime | 97b8f6f394ae02c73ed775f456fd85639c91ced1 | [
"MIT"
] | 1,566 | 2019-05-07T01:30:07.000Z | 2022-03-31T17:06:50.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "longformer_attention_base.h"
namespace onnxruntime {
namespace contrib {
Status LongformerAttentionBase::CheckInputs(const TensorShape& input_shape,
const TensorShape&... | 47.052632 | 129 | 0.634787 | lchang20 |
6a673688c8219042eb9dc1da3e7e81e903f7580d | 494 | hpp | C++ | Client/includes/states/PauseState.hpp | LiardeauxQ/r-type | 8a77164c276b2d5958cd3504a9ea34f1cf6823cf | [
"MIT"
] | 2 | 2020-02-12T12:02:00.000Z | 2020-12-23T15:31:59.000Z | Client/includes/states/PauseState.hpp | LiardeauxQ/r-type | 8a77164c276b2d5958cd3504a9ea34f1cf6823cf | [
"MIT"
] | null | null | null | Client/includes/states/PauseState.hpp | LiardeauxQ/r-type | 8a77164c276b2d5958cd3504a9ea34f1cf6823cf | [
"MIT"
] | 2 | 2020-02-12T12:02:03.000Z | 2020-12-23T15:32:55.000Z | /*
** EPITECH PROJECT, 2019
** PauseState.hpp
** File description:
** MenuState header
*/
#ifndef PAUSESTATE_HPP
#define PAUSESTATE_HPP
#include "State.hpp"
class PauseState : public State {
public:
PauseState(std::shared_ptr<GameData> gameData);
~PauseState();
void onStart();
vo... | 19 | 55 | 0.625506 | LiardeauxQ |
6a696e2bf6e8f99049f29cd32c6e2e6e620d9d5e | 936 | cpp | C++ | source/loader/linux/driver_discovery_lin.cpp | bgoglin/level-zero | e36cbe25004642a0b0e8ed0670a03725caacd8ad | [
"MIT"
] | 3 | 2021-04-30T13:57:15.000Z | 2021-06-28T06:59:47.000Z | source/loader/linux/driver_discovery_lin.cpp | bgoglin/level-zero | e36cbe25004642a0b0e8ed0670a03725caacd8ad | [
"MIT"
] | null | null | null | source/loader/linux/driver_discovery_lin.cpp | bgoglin/level-zero | e36cbe25004642a0b0e8ed0670a03725caacd8ad | [
"MIT"
] | 1 | 2021-07-06T04:42:48.000Z | 2021-07-06T04:42:48.000Z | /*
*
* Copyright (C) 2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "source/loader/driver_discovery.h"
#include "source/inc/ze_util.h"
#include <iostream>
#include <sstream>
#include <string>
namespace loader {
static const char *knownDriverNames[] = {
MAKE_LIBRARY_NAME("ze_intel_gp... | 21.272727 | 57 | 0.688034 | bgoglin |
6a69d71eca6c7d026d5b3d43c05b8d46ca13d94a | 636 | hpp | C++ | include/Event.hpp | RPClab/Analysis | cca7d4d07ead111ac61caee31ebd3522c88bac96 | [
"MIT"
] | null | null | null | include/Event.hpp | RPClab/Analysis | cca7d4d07ead111ac61caee31ebd3522c88bac96 | [
"MIT"
] | 1 | 2021-08-04T08:20:00.000Z | 2021-08-04T08:20:00.000Z | include/Event.hpp | MaftyNaveyuErin/Analysis | 1d1870befde835baf6efb4fcaec292ee536d13f8 | [
"MIT"
] | 2 | 2021-07-29T06:47:38.000Z | 2021-08-04T09:17:02.000Z | #pragma once
#include "Channel.hpp"
#include "TObject.h"
#include <string>
#include <vector>
class Event: public TObject
{
public:
Event()=default;
void addChannel(const Channel& ch);
void clear();
double BoardID{0};
int EventNumber{0};
int ... | 23.555556 | 53 | 0.512579 | RPClab |
6a6f09d56511d23170ba885239075452341f4c0f | 4,040 | cpp | C++ | src/cat_sorting.cpp | prescott66/poedit | f52d76beff00198686b27996d5a11fa24252a173 | [
"MIT"
] | null | null | null | src/cat_sorting.cpp | prescott66/poedit | f52d76beff00198686b27996d5a11fa24252a173 | [
"MIT"
] | null | null | null | src/cat_sorting.cpp | prescott66/poedit | f52d76beff00198686b27996d5a11fa24252a173 | [
"MIT"
] | null | null | null | /*
* This file is part of Poedit (http://www.poedit.net)
*
* Copyright (C) 1999-2012 Vaclav Slavik
* Copyright (C) 2005 Olivier Sannier
*
* 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 ... | 28.857143 | 105 | 0.597277 | prescott66 |
6a703a644c7e7c2d7131ba819df184ca9b00ed69 | 4,505 | cpp | C++ | src/Obq_LightSaturationFilter.cpp | madesjardins/Obq_Shaders | 9b5df11d54fc08cf217631a4f655603313de8d77 | [
"Unlicense",
"MIT"
] | 43 | 2016-01-17T01:57:48.000Z | 2021-08-30T21:10:26.000Z | src/Obq_LightSaturationFilter.cpp | madesjardins/Obq_Shaders | 9b5df11d54fc08cf217631a4f655603313de8d77 | [
"Unlicense",
"MIT"
] | 11 | 2015-12-15T21:25:38.000Z | 2021-01-14T22:58:40.000Z | src/Obq_LightSaturationFilter.cpp | madesjardins/Obq_Shaders | 9b5df11d54fc08cf217631a4f655603313de8d77 | [
"Unlicense",
"MIT"
] | 10 | 2015-12-03T22:32:59.000Z | 2020-06-02T16:30:36.000Z | /*
Obq_LightSaturationFilter :
Send receive test.
*------------------------------------------------------------------------
Copyright (c) 2012-2015 Marc-Antoine Desjardins, ObliqueFX (marcantoinedesjardins@gmail.com)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and a... | 28.15625 | 105 | 0.692564 | madesjardins |
6a731d968ed5d8be887538dd0054220894a53008 | 2,354 | cpp | C++ | 101908/B.cpp | julianferres/Codeforces | ac80292a4d53b8078fc1a85e91db353c489555d9 | [
"MIT"
] | 4 | 2020-01-31T15:49:25.000Z | 2020-07-07T11:44:03.000Z | 101908/B.cpp | julianferres/CodeForces | 14e8369e82a2403094183d6f7824201f681c9f65 | [
"MIT"
] | null | null | null | 101908/B.cpp | julianferres/CodeForces | 14e8369e82a2403094183d6f7824201f681c9f65 | [
"MIT"
] | null | null | null | /* AUTHOR: julianferres */
#include <bits/stdc++.h>
using namespace std;
// neal Debugger
template<typename A, typename B> ostream& operator<<(ostream &os, const pair<A, B> &p) { return os << '(' << p.first << ", " << p.second << ')'; }
template<typename T_container, typename T = typename enable_if<!is_same<T_cont... | 30.973684 | 290 | 0.568819 | julianferres |
6a75d731e0a24deda022adeeec5ff7bb52df510e | 10,192 | cpp | C++ | benchmarks/linux-sgx/sdk/protected_fs/sgx_tprotected_fs/file_other.cpp | vschiavoni/unine-twine | 312d770585ea88c13ef135ef467fee779494fd90 | [
"Apache-2.0"
] | 20 | 2021-04-05T20:05:57.000Z | 2022-02-19T18:48:52.000Z | benchmarks/linux-sgx/sdk/protected_fs/sgx_tprotected_fs/file_other.cpp | vschiavoni/unine-twine | 312d770585ea88c13ef135ef467fee779494fd90 | [
"Apache-2.0"
] | null | null | null | benchmarks/linux-sgx/sdk/protected_fs/sgx_tprotected_fs/file_other.cpp | vschiavoni/unine-twine | 312d770585ea88c13ef135ef467fee779494fd90 | [
"Apache-2.0"
] | 4 | 2021-02-22T14:52:21.000Z | 2022-01-10T16:58:39.000Z | /*
* Copyright (C) 2011-2020 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this li... | 25.672544 | 122 | 0.718407 | vschiavoni |
6a7603159561fc5925dc445ca2c478acdab8a413 | 7,805 | cpp | C++ | generator/osm_source.cpp | KAMiKAZOW/omim | 560c1edf10c46bd2e6bc4d466bf6c65b92538b4a | [
"Apache-2.0"
] | 7 | 2020-12-20T23:21:10.000Z | 2020-12-23T23:38:58.000Z | generator/osm_source.cpp | mbrukman/omim | d22fe2b6e0beee697f096e931df97a64f9db9dc1 | [
"Apache-2.0"
] | 1 | 2020-06-18T11:19:43.000Z | 2020-06-18T11:19:43.000Z | generator/osm_source.cpp | mbrukman/omim | d22fe2b6e0beee697f096e931df97a64f9db9dc1 | [
"Apache-2.0"
] | null | null | null | #include "generator/osm_source.hpp"
#include "generator/intermediate_data.hpp"
#include "generator/intermediate_elements.hpp"
#include "generator/osm_element.hpp"
#include "generator/towns_dumper.hpp"
#include "generator/translator_factory.hpp"
#include "platform/platform.hpp"
#include "geometry/mercator.hpp"
#inclu... | 28.589744 | 103 | 0.671365 | KAMiKAZOW |
6a78c619673b421223e3f24633a39ea63ad7f4c9 | 77 | cpp | C++ | src/core/menu/tabs/rage.cpp | luk1337/gamesneeze | 9b85e177d5af9a1bd30a296172c4d80f91966966 | [
"MIT"
] | 1 | 2021-02-10T00:33:31.000Z | 2021-02-10T00:33:31.000Z | src/core/menu/tabs/rage.cpp | luk1337/gamesneeze | 9b85e177d5af9a1bd30a296172c4d80f91966966 | [
"MIT"
] | null | null | null | src/core/menu/tabs/rage.cpp | luk1337/gamesneeze | 9b85e177d5af9a1bd30a296172c4d80f91966966 | [
"MIT"
] | null | null | null | #include "../menu.hpp"
void Menu::drawRageTab() {
ImGui::Text("Rage");
} | 15.4 | 26 | 0.597403 | luk1337 |
6a799b9f4c39aa781dfb7f22331f53657dfa4b64 | 5,442 | cc | C++ | INET_EC/visualizer/transportlayer/TransportConnectionOsgVisualizer.cc | LarryNguyen/ECSim- | 0d3f848642e49845ed7e4c7b97dd16bd3d65ede5 | [
"Apache-2.0"
] | 12 | 2020-11-30T08:04:23.000Z | 2022-03-23T11:49:26.000Z | INET_EC/visualizer/transportlayer/TransportConnectionOsgVisualizer.cc | LarryNguyen/ECSim- | 0d3f848642e49845ed7e4c7b97dd16bd3d65ede5 | [
"Apache-2.0"
] | 1 | 2021-01-26T10:49:56.000Z | 2021-01-31T16:58:52.000Z | INET_EC/visualizer/transportlayer/TransportConnectionOsgVisualizer.cc | LarryNguyen/ECSim- | 0d3f848642e49845ed7e4c7b97dd16bd3d65ede5 | [
"Apache-2.0"
] | 8 | 2021-03-15T02:05:51.000Z | 2022-03-21T13:14:02.000Z | //
// Copyright (C) OpenSim Ltd.
//
// This program 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
// of the License, or (at your option) any later version.
//
// This program is dis... | 51.828571 | 218 | 0.789967 | LarryNguyen |