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 109 | 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 48.5k ⌀ | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
78ff5754a5e56f386d9714c1e0d4450e94600fcf | 5,876 | hpp | C++ | Graphs and Graph Algorithms/Point.hpp | lgemar/miniatures | 1031fc51af596382ccc69eb1dd17b98a158e3cc7 | [
"MIT"
] | null | null | null | Graphs and Graph Algorithms/Point.hpp | lgemar/miniatures | 1031fc51af596382ccc69eb1dd17b98a158e3cc7 | [
"MIT"
] | null | null | null | Graphs and Graph Algorithms/Point.hpp | lgemar/miniatures | 1031fc51af596382ccc69eb1dd17b98a158e3cc7 | [
"MIT"
] | null | null | null | #ifndef CS207_POINT_HPP
#define CS207_POINT_HPP
#include <iostream>
#include <cmath>
/** @file Point.hpp
* @brief Define the Point class for 3D points.
*/
#define for_i for(std::size_t i = 0; i != 3; ++i)
/** @class Point
* @brief Class representing 3D points and vectors.
*
* Point contains methods that suppor... | 24.280992 | 77 | 0.60143 | lgemar |
6001ce7930f941ca486e6246e1da343f6d64f41c | 887 | cpp | C++ | code/c++11/2011/template/4.cpp | watchpoints/daily-interview | 2a9848ed1290211952aea995dc312bc7e84b221e | [
"Apache-2.0"
] | 2 | 2021-07-21T04:19:46.000Z | 2021-07-21T04:19:52.000Z | code/c++11/2011/template/4.cpp | watchpoints/daily-interview | 2a9848ed1290211952aea995dc312bc7e84b221e | [
"Apache-2.0"
] | 27 | 2021-03-14T04:28:48.000Z | 2021-12-08T10:39:22.000Z | code/c++11/2011/template/4.cpp | watchpoints/daily-interview | 2a9848ed1290211952aea995dc312bc7e84b221e | [
"Apache-2.0"
] | null | null | null | #include <iostream>
//为什么一个函数可以接受不同类型的参数
template<typename T>
void foo(T&& param) //
{
// std::cout<< param << std::endl;
}
void tet_foo()
{
int a=27;
foo(a) ; // x is lvalue, so T is int& param's type is also int&
foo(27); // 27 is rvalue, so T is int param's type is therefore int&&
}
void overlo... | 17.74 | 74 | 0.634724 | watchpoints |
6008a69c775a1445da0136f002a8d28aa1ff8f67 | 949 | hpp | C++ | SDK/ARKSurvivalEvolved_WeapMachinedPistol_Flashlight_parameters.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 10 | 2020-02-17T19:08:46.000Z | 2021-07-31T11:07:19.000Z | SDK/ARKSurvivalEvolved_WeapMachinedPistol_Flashlight_parameters.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 9 | 2020-02-17T18:15:41.000Z | 2021-06-06T19:17:34.000Z | SDK/ARKSurvivalEvolved_WeapMachinedPistol_Flashlight_parameters.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 3 | 2020-07-22T17:42:07.000Z | 2021-06-19T17:16:13.000Z | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_WeapMachinedPistol_Flashlight_classes.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Parameters
//----------------------------------------... | 28.757576 | 152 | 0.631191 | 2bite |
600b948c282ee1247cd982c330aaca71474cff9d | 849 | cpp | C++ | 03-composition-references/1-reference/optional/reference-to-pointer.cpp | nofar88/cpp-5782 | 473c68627fc0908fdef8956caf1e1d2267c9417b | [
"MIT"
] | 14 | 2021-01-30T16:36:18.000Z | 2022-03-30T17:24:44.000Z | 03-composition-references/1-reference/optional/reference-to-pointer.cpp | dimastar2310/cpp-5781 | 615ba07e0841522df74384f380172557f5e305a7 | [
"MIT"
] | 1 | 2022-03-02T20:55:14.000Z | 2022-03-02T20:55:14.000Z | 03-composition-references/1-reference/optional/reference-to-pointer.cpp | dimastar2310/cpp-5781 | 615ba07e0841522df74384f380172557f5e305a7 | [
"MIT"
] | 16 | 2021-03-02T11:13:41.000Z | 2021-07-09T14:18:15.000Z | /**
* Demonstrates converting references to pointers.
* @author Erel Segal-Halevi
* @since 2018-02
*/
#include <iostream>
using namespace std;
int i = 5;
int* ip = &i;
int k = 500;
int*& f() {
return ip;
}
int main() {
cout << (*ip) << endl;
(*ip) = 6;
cout << i << endl << endl;
int* jp = ... | 18.456522 | 59 | 0.46172 | nofar88 |
601003e8cadc3da81f2c7883689af1d2942dd894 | 18,466 | hpp | C++ | src/mods/mod_menu_editor.hpp | BadOPCode/Oblivion2-XRM | d65d9aa4b8021fc3b50b2c09edd0b19eb7baa1b9 | [
"Zlib"
] | 78 | 2015-10-08T07:14:37.000Z | 2022-02-10T04:51:21.000Z | src/mods/mod_menu_editor.hpp | BadOPCode/Oblivion2-XRM | d65d9aa4b8021fc3b50b2c09edd0b19eb7baa1b9 | [
"Zlib"
] | 117 | 2015-12-14T16:51:42.000Z | 2020-02-16T07:00:36.000Z | src/mods/mod_menu_editor.hpp | BadOPCode/Oblivion2-XRM | d65d9aa4b8021fc3b50b2c09edd0b19eb7baa1b9 | [
"Zlib"
] | 10 | 2015-12-10T16:54:24.000Z | 2022-02-10T04:51:29.000Z | #ifndef MOD_MENU_EDITOR_HPP
#define MOD_MENU_EDITOR_HPP
#include "mod_base.hpp"
#include <string>
#include <memory>
#include <functional>
#include <vector>
class Menu;
typedef std::shared_ptr<Menu> menu_ptr;
class SessionData;
typedef std::shared_ptr<SessionData> session_data_ptr;
class Directory;
typedef std::sha... | 34.645403 | 124 | 0.681848 | BadOPCode |
6011264bad8e450df302638b8ada00e31a911624 | 577 | cpp | C++ | codes/CSES/CSES_1681.cpp | chessbot108/solved-problems | 0945be829a8ea9f0d5896c89331460d70d076691 | [
"MIT"
] | 2 | 2021-03-07T03:34:02.000Z | 2021-03-09T01:22:21.000Z | codes/CSES/CSES_1681.cpp | chessbot108/solved-problems | 0945be829a8ea9f0d5896c89331460d70d076691 | [
"MIT"
] | 1 | 2021-03-27T15:01:23.000Z | 2021-03-27T15:55:34.000Z | codes/CSES/CSES_1681.cpp | chessbot108/solved-problems | 0945be829a8ea9f0d5896c89331460d70d076691 | [
"MIT"
] | 1 | 2021-03-27T05:02:33.000Z | 2021-03-27T05:02:33.000Z | #include <iostream>
#include <vector>
#define ll long long
#define max_v (int)(2e5 +10)
#define add(a, b) ((a%mod) + (b%mod))%mod
const ll mod = (ll)(1e9 +7);
using namespace std;
vector<int> adj[max_v];
ll dp[max_v], vis[max_v];
int n, m;
ll DP(int u){
if(vis[u]) return dp[u];
vis[u] = 1;
for(int v : adj[u]){
... | 17.484848 | 41 | 0.532062 | chessbot108 |
6012fd967867a9c0bb5c52fefb073371c1e314dd | 2,287 | hpp | C++ | tests/math_prob/neg_binomial/neg_binomial_cdf_test.hpp | alashworth/stan-monorepo | 75596bc1f860ededd7b3e9ae9002aea97ee1cd46 | [
"BSD-3-Clause"
] | 1 | 2019-09-06T15:53:17.000Z | 2019-09-06T15:53:17.000Z | tests/math_prob/neg_binomial/neg_binomial_cdf_test.hpp | alashworth/stan-monorepo | 75596bc1f860ededd7b3e9ae9002aea97ee1cd46 | [
"BSD-3-Clause"
] | 8 | 2019-01-17T18:51:16.000Z | 2019-01-17T18:51:39.000Z | tests/math_prob/neg_binomial/neg_binomial_cdf_test.hpp | alashworth/stan-monorepo | 75596bc1f860ededd7b3e9ae9002aea97ee1cd46 | [
"BSD-3-Clause"
] | null | null | null | // Arguments: Ints, Doubles, Doubles
#include <stan/math/prim/scal.hpp>
#include <boost/math/special_functions/binomial.hpp>
using stan::math::var;
using std::numeric_limits;
using std::vector;
class AgradCdfNegBinomial : public AgradCdfTest {
public:
void valid_values(vector<vector<double> >& parameters... | 32.211268 | 80 | 0.634456 | alashworth |
6016298506bb2afdc6d20ad36c33d4f0b21bfda3 | 1,421 | hpp | C++ | src/Microsoft.DotNet.Wpf/src/System.Printing/CPP/inc/PrintSystemNotifications.hpp | reyqn/wpf | 6858a87af432aae629e28970a14c3560bef4f349 | [
"MIT"
] | 1 | 2020-01-11T12:53:52.000Z | 2020-01-11T12:53:52.000Z | src/Microsoft.DotNet.Wpf/src/System.Printing/CPP/inc/PrintSystemNotifications.hpp | reyqn/wpf | 6858a87af432aae629e28970a14c3560bef4f349 | [
"MIT"
] | null | null | null | src/Microsoft.DotNet.Wpf/src/System.Printing/CPP/inc/PrintSystemNotifications.hpp | reyqn/wpf | 6858a87af432aae629e28970a14c3560bef4f349 | [
"MIT"
] | 1 | 2021-05-05T12:05:28.000Z | 2021-05-05T12:05:28.000Z | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#ifndef __PRINTSYSTEMNOTIFICATIONS_HPP__
#define __PRINTSYSTEMNOTIFICATIONS_HPP__
namespace System... | 20.3 | 72 | 0.570021 | reyqn |
601ac1520a6e43d9f2f8b6fc0decd7205fc5d672 | 17,318 | cpp | C++ | Tankerfield/Tankerfield/M_VideoPlayer.cpp | gamificalostudio/Tankerfield | f3801c5286ae836c0fd62392cc14be081b5c74e8 | [
"MIT"
] | 7 | 2019-03-11T11:31:36.000Z | 2019-05-18T08:03:35.000Z | Tankerfield/Tankerfield/M_VideoPlayer.cpp | gamificalostudio/Tankerfield | f3801c5286ae836c0fd62392cc14be081b5c74e8 | [
"MIT"
] | 86 | 2019-03-27T14:36:16.000Z | 2019-06-10T18:43:52.000Z | Tankerfield/Tankerfield/M_VideoPlayer.cpp | gamificalostudio/Tankerfield | f3801c5286ae836c0fd62392cc14be081b5c74e8 | [
"MIT"
] | 1 | 2019-09-10T17:37:44.000Z | 2019-09-10T17:37:44.000Z | extern "C" {
#include "ffmpeg/include/libavcodec/avcodec.h"
#include "ffmpeg/include/libavdevice/avdevice.h"
#include "ffmpeg/include/libavfilter/avfilter.h"
#include "ffmpeg/include/libavformat/avformat.h"
#include "ffmpeg/include/libavutil/avutil.h"
#include "ffmpeg/include/libswscale/swscale.h"
#include "ffmpeg/incl... | 26.319149 | 155 | 0.714863 | gamificalostudio |
601ce24e1251e0fb34f58a7b551ddeca76a0f8c2 | 11,492 | cpp | C++ | tests/integration_tests.cpp | modanashar/pipes | 4b8ceebd6ac9817b71a23f01e1f85a1d83153161 | [
"MIT"
] | null | null | null | tests/integration_tests.cpp | modanashar/pipes | 4b8ceebd6ac9817b71a23f01e1f85a1d83153161 | [
"MIT"
] | null | null | null | tests/integration_tests.cpp | modanashar/pipes | 4b8ceebd6ac9817b71a23f01e1f85a1d83153161 | [
"MIT"
] | null | null | null | #include "catch.hpp"
#include "pipes/transform.hpp"
#include "pipes/filter.hpp"
#include "pipes/partition.hpp"
#include "pipes/unzip.hpp"
#include "pipes/switch.hpp"
#include "pipes/push_back.hpp"
#include "pipes/for_each.hpp"
#include <algorithm>
#include <utility>
#include <vector>
#include <numeric>
TEST_CASE("Mix... | 31.745856 | 177 | 0.493474 | modanashar |
e74c3483533c373c66e4385e471aa60d22b7386c | 119 | cpp | C++ | OJ/PT/C.cpp | doan201203/truong_doan | 68350b7a24ea266320cd41e1a4878e8a58b3f707 | [
"Apache-2.0"
] | null | null | null | OJ/PT/C.cpp | doan201203/truong_doan | 68350b7a24ea266320cd41e1a4878e8a58b3f707 | [
"Apache-2.0"
] | null | null | null | OJ/PT/C.cpp | doan201203/truong_doan | 68350b7a24ea266320cd41e1a4878e8a58b3f707 | [
"Apache-2.0"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
#define ll long long
int main(){
int n; cin>>n;
int tmp=n%10;
cout<<tmp;
} | 14.875 | 23 | 0.672269 | doan201203 |
e74c578e43d7479c3d30d103bd73cf5151a8c832 | 378 | cpp | C++ | modules/10-functor1.cpp | cpp-tutor/learnmoderncpp-tutorial | 96ca86a2508c80093f51f8ac017f41a994d04d52 | [
"MIT"
] | 1 | 2022-03-07T09:14:07.000Z | 2022-03-07T09:14:07.000Z | modules/10-functor1.cpp | cpp-tutor/learnmoderncpp-tutorial | 96ca86a2508c80093f51f8ac017f41a994d04d52 | [
"MIT"
] | null | null | null | modules/10-functor1.cpp | cpp-tutor/learnmoderncpp-tutorial | 96ca86a2508c80093f51f8ac017f41a994d04d52 | [
"MIT"
] | null | null | null | // 10-functor1.cpp : simple function object demonstration
import std.core;
using namespace std;
struct Average {
int operator()(int a, int b) {
cout << "Calculating average...\n";
return (a + b) / 2;
}
};
int main() {
Average a;
cout << "Please enter two integers:\n";
int x{}, y{};
cin >> x >> y;
auto avg... | 18 | 57 | 0.587302 | cpp-tutor |
e74d8298366e29d068b56e5836a8a4bd08b7912f | 27,332 | hpp | C++ | master/core/third/boost/graph/distributed/mpi_process_group.hpp | importlib/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 460 | 2016-01-13T12:49:34.000Z | 2022-02-20T04:10:40.000Z | master/core/third/boost/graph/distributed/mpi_process_group.hpp | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 197 | 2017-07-06T16:53:59.000Z | 2019-05-31T17:57:51.000Z | master/core/third/boost/graph/distributed/mpi_process_group.hpp | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 148 | 2016-01-17T03:16:43.000Z | 2022-03-17T12:20:36.000Z | // Copyright (C) 2004-2008 The Trustees of Indiana University.
// Copyright (C) 2007 Douglas Gregor
// Copyright (C) 2007 Matthias Troyer <troyer@boost-consulting.com>
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy... | 33.74321 | 112 | 0.676789 | importlib |
e74ff966b8213ccb6acd378c7d0d0bd3f3144635 | 367 | cpp | C++ | Code/Engine/RendererFoundation/Shader/Implementation/Shader.cpp | alinoctavian/ezEngine | 0312c8d777c05ac58911f3fa879e4fd7efcfcb66 | [
"MIT"
] | null | null | null | Code/Engine/RendererFoundation/Shader/Implementation/Shader.cpp | alinoctavian/ezEngine | 0312c8d777c05ac58911f3fa879e4fd7efcfcb66 | [
"MIT"
] | null | null | null | Code/Engine/RendererFoundation/Shader/Implementation/Shader.cpp | alinoctavian/ezEngine | 0312c8d777c05ac58911f3fa879e4fd7efcfcb66 | [
"MIT"
] | 1 | 2022-03-28T15:57:46.000Z | 2022-03-28T15:57:46.000Z | #include <RendererFoundationPCH.h>
#include <RendererFoundation/Shader/Shader.h>
#include <RendererFoundation/Shader/ShaderUtils.h>
ezGALShader::ezGALShader(const ezGALShaderCreationDescription& Description)
: ezGALObject(Description)
{
}
ezGALShader::~ezGALShader() {}
EZ_STATICLINK_FILE(RendererFoundation, Ren... | 22.9375 | 88 | 0.831063 | alinoctavian |
e752c31f242dae653613db4686374ddb42744772 | 2,360 | cpp | C++ | planning/obstacle_avoidance_planner/src/vehicle_model/vehicle_model_bicycle_kinematics.cpp | meliketanrikulu/autoware.universe | 04f2b53ae1d7b41846478641ad6ff478c3d5a247 | [
"Apache-2.0"
] | 58 | 2021-11-30T09:03:46.000Z | 2022-03-31T15:25:17.000Z | planning/obstacle_avoidance_planner/src/vehicle_model/vehicle_model_bicycle_kinematics.cpp | meliketanrikulu/autoware.universe | 04f2b53ae1d7b41846478641ad6ff478c3d5a247 | [
"Apache-2.0"
] | 425 | 2021-11-30T02:24:44.000Z | 2022-03-31T10:26:37.000Z | planning/obstacle_avoidance_planner/src/vehicle_model/vehicle_model_bicycle_kinematics.cpp | meliketanrikulu/autoware.universe | 04f2b53ae1d7b41846478641ad6ff478c3d5a247 | [
"Apache-2.0"
] | 69 | 2021-11-30T02:09:18.000Z | 2022-03-31T15:38:29.000Z | // Copyright 2018-2019 Autoware Foundation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ... | 34.705882 | 97 | 0.702119 | meliketanrikulu |
e7565fca26fb35ed1cd3c6eba836278048fc4daa | 28,395 | cpp | C++ | test/matrix-assembly/unitTestReactingFlowAcousticPrec.cpp | MaxZZG/ExprLib | c35e361ef6af365e7cd6afca6548595693bd149a | [
"MIT"
] | null | null | null | test/matrix-assembly/unitTestReactingFlowAcousticPrec.cpp | MaxZZG/ExprLib | c35e361ef6af365e7cd6afca6548595693bd149a | [
"MIT"
] | null | null | null | test/matrix-assembly/unitTestReactingFlowAcousticPrec.cpp | MaxZZG/ExprLib | c35e361ef6af365e7cd6afca6548595693bd149a | [
"MIT"
] | null | null | null | /*
* The MIT License
*
* Copyright (c) 2016-2017 The University of Utah
*
* 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
* right... | 56.903808 | 133 | 0.620673 | MaxZZG |
e762ff5db8e881e3a24e230c3da80bf83cb8cd60 | 1,455 | cpp | C++ | src/document.cpp | merelabs/mere-config-lite | 9f64538eba0f4e9b50f540f59a7be99b6653d252 | [
"BSD-2-Clause"
] | null | null | null | src/document.cpp | merelabs/mere-config-lite | 9f64538eba0f4e9b50f540f59a7be99b6653d252 | [
"BSD-2-Clause"
] | null | null | null | src/document.cpp | merelabs/mere-config-lite | 9f64538eba0f4e9b50f540f59a7be99b6653d252 | [
"BSD-2-Clause"
] | null | null | null | #include "document.h"
Mere::Config::Document::Document(const std::string &name)
: m_name(name)
{
}
std::string Mere::Config::Document::name() const
{
return m_name;
}
void Mere::Config::Document::name(const std::string &name)
{
m_name = name;
}
Mere::Config::RootGroup* Mere::Config::Document::root() co... | 19.4 | 104 | 0.615808 | merelabs |
e764df8c642c58a91550ff230b5c324dcf81ac90 | 3,259 | cpp | C++ | rsocket/test/statemachine/StreamsWriterTest.cpp | bli7193/rsocket-cpp | c2abc34687f8ba6bab667029a25f1699531951e8 | [
"Apache-2.0"
] | 217 | 2017-04-29T14:44:39.000Z | 2022-03-29T04:06:17.000Z | rsocket/test/statemachine/StreamsWriterTest.cpp | bli7193/rsocket-cpp | c2abc34687f8ba6bab667029a25f1699531951e8 | [
"Apache-2.0"
] | 270 | 2017-04-28T04:12:23.000Z | 2022-03-11T20:39:33.000Z | rsocket/test/statemachine/StreamsWriterTest.cpp | bli7193/rsocket-cpp | c2abc34687f8ba6bab667029a25f1699531951e8 | [
"Apache-2.0"
] | 83 | 2017-04-28T02:06:16.000Z | 2022-03-11T20:35:16.000Z | // Copyright (c) Facebook, Inc. and its affiliates.
//
// 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 applicabl... | 37.45977 | 78 | 0.742866 | bli7193 |
e76a1ff7ce92f553b4d05b4f1267577952d65d96 | 8,160 | ipp | C++ | cppwamp/include/cppwamp/internal/payload.ipp | katreniak/cppwamp | b37d3a9e83bca9594d6acd29a3fb7db39bda6cc9 | [
"BSL-1.0"
] | 39 | 2015-04-04T00:29:47.000Z | 2021-06-27T11:25:38.000Z | cppwamp/include/cppwamp/internal/payload.ipp | katreniak/cppwamp | b37d3a9e83bca9594d6acd29a3fb7db39bda6cc9 | [
"BSL-1.0"
] | 115 | 2015-04-04T01:59:32.000Z | 2020-12-04T09:23:09.000Z | cppwamp/include/cppwamp/internal/payload.ipp | katreniak/cppwamp | b37d3a9e83bca9594d6acd29a3fb7db39bda6cc9 | [
"BSL-1.0"
] | 8 | 2015-05-04T06:24:55.000Z | 2020-11-11T12:38:46.000Z | /*------------------------------------------------------------------------------
Copyright Butterfly Energy Systems 2014-2015.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LI... | 35.478261 | 80 | 0.422672 | katreniak |
e771a250871daa72b6e40eb8bfe4b5ce9f57b18e | 16,935 | cpp | C++ | pxr/imaging/hd/dataSourceMaterialNetworkInterface.cpp | jwarrencode/USD | 857ffda41f4f1553fe1019ac7c7b4f08c233a7bb | [
"Apache-2.0"
] | 1 | 2022-03-16T01:40:10.000Z | 2022-03-16T01:40:10.000Z | pxr/imaging/hd/dataSourceMaterialNetworkInterface.cpp | jwarrencode/USD | 857ffda41f4f1553fe1019ac7c7b4f08c233a7bb | [
"Apache-2.0"
] | null | null | null | pxr/imaging/hd/dataSourceMaterialNetworkInterface.cpp | jwarrencode/USD | 857ffda41f4f1553fe1019ac7c7b4f08c233a7bb | [
"Apache-2.0"
] | null | null | null | //
// Copyright 2021 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trad... | 29.762742 | 81 | 0.670032 | jwarrencode |
e778428510d691845bd53ac711e104bbece4142d | 2,614 | hpp | C++ | cpp/include/cudf/lists/drop_list_duplicates.hpp | mayankanand007/cudf | a4730f30ce46c336de7ed71c509dcb6c9c1f6d3d | [
"Apache-2.0"
] | 4,012 | 2018-10-29T00:11:19.000Z | 2022-03-31T19:20:19.000Z | cpp/include/cudf/lists/drop_list_duplicates.hpp | mayankanand007/cudf | a4730f30ce46c336de7ed71c509dcb6c9c1f6d3d | [
"Apache-2.0"
] | 9,865 | 2018-10-29T12:52:07.000Z | 2022-03-31T23:09:21.000Z | cpp/include/cudf/lists/drop_list_duplicates.hpp | mayankanand007/cudf | a4730f30ce46c336de7ed71c509dcb6c9c1f6d3d | [
"Apache-2.0"
] | 588 | 2018-10-29T05:52:44.000Z | 2022-03-28T06:13:09.000Z | /*
* Copyright (c) 2021, NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 39.014925 | 100 | 0.721882 | mayankanand007 |
e77a35cd77f63692cc20c005ccfc55e249256952 | 1,140 | hpp | C++ | include/roboball2d_interface/driver.hpp | intelligent-soft-robots/roboball2d_interface | 5baf4d1fb3dd25668d90323adec0ea41b6c17813 | [
"BSD-3-Clause"
] | null | null | null | include/roboball2d_interface/driver.hpp | intelligent-soft-robots/roboball2d_interface | 5baf4d1fb3dd25668d90323adec0ea41b6c17813 | [
"BSD-3-Clause"
] | null | null | null | include/roboball2d_interface/driver.hpp | intelligent-soft-robots/roboball2d_interface | 5baf4d1fb3dd25668d90323adec0ea41b6c17813 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include <mutex>
#include "robot_interfaces/robot_driver.hpp"
#include "roboball2d_interface/ball_gun_action.hpp"
#include "roboball2d_interface/mirror_action.hpp"
#include "roboball2d_interface/reader.hpp"
#include "roboball2d_interface/torques_action.hpp"
#include "roboball2d_interface/world_state.hpp... | 25.909091 | 64 | 0.761404 | intelligent-soft-robots |
e77a82fced648cf2da2a0e2080b4e4e1ce179ed6 | 2,097 | cpp | C++ | src/objects/Pulse.cpp | schuetzepaul/allpix-squared | 737eba52fe13f56134c4e88a7928d1a5103dd40a | [
"MIT"
] | 3 | 2019-03-04T22:31:32.000Z | 2021-04-20T11:19:17.000Z | src/objects/Pulse.cpp | schuetzepaul/allpix-squared | 737eba52fe13f56134c4e88a7928d1a5103dd40a | [
"MIT"
] | 27 | 2019-04-01T12:25:46.000Z | 2021-09-03T12:20:19.000Z | src/objects/Pulse.cpp | schuetzepaul/allpix-squared | 737eba52fe13f56134c4e88a7928d1a5103dd40a | [
"MIT"
] | 15 | 2017-08-08T14:57:51.000Z | 2021-06-26T17:16:21.000Z | /**
* @file
* @brief Implementation of pulse object
* @copyright Copyright (c) 2018-2020 CERN and the Allpix Squared authors.
* This software is distributed under the terms of the MIT License, copied verbatim in the file "LICENSE.md".
* In applying this license, CERN does not waive the privileges and immunities gr... | 28.337838 | 122 | 0.668097 | schuetzepaul |
e77b79a7d5d7b0d514970d83f666e693f80187b8 | 16,148 | cpp | C++ | wordrec/bestfirst.cpp | jan-ruzicka/tesseract-ocr-sf | 816c4e959e6f4d4afc5797ad09cfd9c2192b899f | [
"Apache-2.0"
] | null | null | null | wordrec/bestfirst.cpp | jan-ruzicka/tesseract-ocr-sf | 816c4e959e6f4d4afc5797ad09cfd9c2192b899f | [
"Apache-2.0"
] | null | null | null | wordrec/bestfirst.cpp | jan-ruzicka/tesseract-ocr-sf | 816c4e959e6f4d4afc5797ad09cfd9c2192b899f | [
"Apache-2.0"
] | null | null | null | /* -*-C-*-
********************************************************************************
*
* File: bestfirst.c (Formerly bestfirst.c)
* Description: Best first search functions
* Author: Mark Seaman, OCR Technology
* Created: Mon May 14 11:23:29 1990
* Modified: Tue Jul 30 16:08:47 199... | 31.477583 | 81 | 0.556478 | jan-ruzicka |
e77db4819ef5cbcec94be5a7d9e55a321698fcef | 1,520 | cpp | C++ | src/thunderbots/software/ai/primitive/catch_primitive.cpp | SupoWupo/Software | ae9af36d5ed20de9b8f1d4f232df0eb26e080dd4 | [
"MIT"
] | null | null | null | src/thunderbots/software/ai/primitive/catch_primitive.cpp | SupoWupo/Software | ae9af36d5ed20de9b8f1d4f232df0eb26e080dd4 | [
"MIT"
] | null | null | null | src/thunderbots/software/ai/primitive/catch_primitive.cpp | SupoWupo/Software | ae9af36d5ed20de9b8f1d4f232df0eb26e080dd4 | [
"MIT"
] | null | null | null | #include "ai/primitive/catch_primitive.h"
#include "ai/primitive/visitor/primitive_visitor.h"
const std::string CatchPrimitive::PRIMITIVE_NAME = "Catch Primitive";
CatchPrimitive::CatchPrimitive(unsigned int robot_id, double velocity,
double dribbler_rpm, double ball_intercept_margin)
... | 23.030303 | 81 | 0.726974 | SupoWupo |
e77dfeb3d0f0f754984799bd7f1e4df5708ab8e0 | 1,990 | cpp | C++ | ViAn/GUI/textdialog.cpp | NFCSKL/NFC-ViAn | ce04b78b4c9695374d71198f57d4236a5cad1525 | [
"MIT"
] | 1 | 2019-12-08T03:53:03.000Z | 2019-12-08T03:53:03.000Z | ViAn/GUI/textdialog.cpp | NFCSKL/NFC-ViAn | ce04b78b4c9695374d71198f57d4236a5cad1525 | [
"MIT"
] | 182 | 2018-02-08T11:03:26.000Z | 2019-06-27T15:27:47.000Z | ViAn/GUI/textdialog.cpp | NFCSKL/NFC-ViAn | ce04b78b4c9695374d71198f57d4236a5cad1525 | [
"MIT"
] | null | null | null | #include "textdialog.h"
#include "constants.h"
#include "Video/shapes/text.h"
#include <QBoxLayout>
#include <QDialogButtonBox>
#include <QDoubleSpinBox>
#include <QFormLayout>
#include <QLineEdit>
#include <QPushButton>
TextDialog::TextDialog(QWidget* parent) : QDialog(parent) {
setWindowTitle("Vian - New Text... | 30.151515 | 117 | 0.721608 | NFCSKL |
e78315405456af5b1f49db40c4008b8b8448259a | 31,609 | cpp | C++ | src/sources/gimp/FilterViews.cpp | waddlesplash/Photon | a93eeed8c156bde5f3721f74ebe7c21aa7e12459 | [
"BSD-3-Clause"
] | 4 | 2017-06-13T22:51:50.000Z | 2019-04-19T20:02:27.000Z | src/sources/gimp/FilterViews.cpp | waddlesplash/Photon | a93eeed8c156bde5f3721f74ebe7c21aa7e12459 | [
"BSD-3-Clause"
] | null | null | null | src/sources/gimp/FilterViews.cpp | waddlesplash/Photon | a93eeed8c156bde5f3721f74ebe7c21aa7e12459 | [
"BSD-3-Clause"
] | 1 | 2020-10-26T09:00:17.000Z | 2020-10-26T09:00:17.000Z | #if Easel
#include "Flags.h"
#include "TBitmap.h"
#include "Document.h"
#include "BaseFilter.h"
#include "DialogUtils.h"
#include "FilterViews.h"
#include "PaintMessages.h"
#else
#include "GimpStub.h"
typedef enum Zoom_Factors {
kFirstZoom = -6,
kZoom8 = kFirstZoom,
kZoom16,
kZoom25,
kZoom33,
kZoom50,
kZoom66,
... | 34.470011 | 136 | 0.636021 | waddlesplash |
e7836571bf60b6cebf2377af08356cd98392704a | 10,918 | cpp | C++ | Cpp/SDK/MainMenu_Button_functions.cpp | MrManiak/Squad-SDK | 742feb5991ae43d6f0cedd2d6b32b949923ca4f9 | [
"Apache-2.0"
] | 1 | 2020-08-15T08:31:55.000Z | 2020-08-15T08:31:55.000Z | Cpp/SDK/MainMenu_Button_functions.cpp | MrManiak/Squad-SDK | 742feb5991ae43d6f0cedd2d6b32b949923ca4f9 | [
"Apache-2.0"
] | 2 | 2020-08-15T08:43:56.000Z | 2021-01-15T05:04:48.000Z | Cpp/SDK/MainMenu_Button_functions.cpp | MrManiak/Squad-SDK | 742feb5991ae43d6f0cedd2d6b32b949923ca4f9 | [
"Apache-2.0"
] | 2 | 2020-08-10T12:05:42.000Z | 2021-02-12T19:56:10.000Z | // Name: S, Version: b
#include "../SDK.h"
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
/*!!HELPER_DEF!!*/
/*!!DEFINE!!*/
namespace UFT
{
//---------------------------------------------------------------------------
// Functions
//---------------------------------------------------------------------------
// ... | 32.397626 | 196 | 0.757556 | MrManiak |
e783a1b7909b8c637d302d703f8cce991af6caeb | 843 | cpp | C++ | game_engine/replay/GameEvent.cpp | JoshVarty/HaliteIO | e88326429d0321256f2076e22cc812e7ed878a9c | [
"MIT"
] | 1 | 2018-11-30T20:44:07.000Z | 2018-11-30T20:44:07.000Z | game_engine/replay/GameEvent.cpp | JoshVarty/HaliteIO | e88326429d0321256f2076e22cc812e7ed878a9c | [
"MIT"
] | 31 | 2018-11-12T20:19:26.000Z | 2018-12-18T18:35:50.000Z | game_engine/replay/GameEvent.cpp | JoshVarty/HaliteIO | e88326429d0321256f2076e22cc812e7ed878a9c | [
"MIT"
] | 1 | 2018-11-20T09:47:28.000Z | 2018-11-20T09:47:28.000Z | #include "GameEvent.hpp"
namespace hlt {
/** The JSON key for game event type. */
constexpr auto JSON_TYPE_KEY = "type";
/** Update statistics after collision */
void CollisionEvent::update_stats(const Store &store, const Map &map,
GameStatistics &stats) {
(void) map;
ord... | 27.193548 | 85 | 0.641756 | JoshVarty |
e787da55d787d14b9dc9a066562b98353007d04c | 113 | hpp | C++ | gpcl/syncbuf.hpp | Chingyat/gpcl | de4157a2bab07640539d9051fc7bb66c9c82eaf4 | [
"BSL-1.0"
] | 2 | 2021-02-10T11:51:25.000Z | 2021-12-20T12:35:36.000Z | gpcl/syncbuf.hpp | Chingyat/gpcl | de4157a2bab07640539d9051fc7bb66c9c82eaf4 | [
"BSL-1.0"
] | 2 | 2021-11-28T03:09:15.000Z | 2021-11-29T15:08:43.000Z | gpcl/syncbuf.hpp | Chingyat/gpcl | de4157a2bab07640539d9051fc7bb66c9c82eaf4 | [
"BSL-1.0"
] | null | null | null | #ifndef GPCL_SYNCBUF_HPP
#define GPCL_SYNCBUF_HPP
#include <gpcl/basic_syncbuf.hpp>
#endif // GPCL_SYNCBUF_HPP
| 16.142857 | 33 | 0.814159 | Chingyat |
e78bc0d2c48ae673252b1f4cd98426d458e94bd9 | 874 | cc | C++ | 13_ThreadsExceptions/Threadding/ThreadsGrundlagen.cc | j3l4ck0ut/UdemyCpp | ed3b75cedbf9cad211a205195605cfd3c9280efc | [
"MIT"
] | null | null | null | 13_ThreadsExceptions/Threadding/ThreadsGrundlagen.cc | j3l4ck0ut/UdemyCpp | ed3b75cedbf9cad211a205195605cfd3c9280efc | [
"MIT"
] | null | null | null | 13_ThreadsExceptions/Threadding/ThreadsGrundlagen.cc | j3l4ck0ut/UdemyCpp | ed3b75cedbf9cad211a205195605cfd3c9280efc | [
"MIT"
] | null | null | null | #include <iostream>
#include <thread>
void print_text1()
{
std::cout << "Thread is executing! ID: " << std::this_thread::get_id() << std::endl;
}
void print_text2(int number)
{
number++;
std::cout << "Thread is executing! ID: " << std::this_thread::get_id() << " n: " << number << std::endl;
}
void print_... | 17.836735 | 108 | 0.524027 | j3l4ck0ut |
e78c9f1d8cc36af3b46c0fc6f756594675156e52 | 1,502 | cpp | C++ | rai/KOMO/retired/objective-21-04-17.cpp | Zwoelf12/rai | b4e7082f3b7e8be5a0490f37e57d442047aaa020 | [
"MIT"
] | 52 | 2018-05-25T07:26:18.000Z | 2022-03-27T07:37:44.000Z | rai/KOMO/retired/objective-21-04-17.cpp | Zwoelf12/rai | b4e7082f3b7e8be5a0490f37e57d442047aaa020 | [
"MIT"
] | 4 | 2019-04-09T19:10:27.000Z | 2021-12-09T11:11:22.000Z | rai/KOMO/retired/objective-21-04-17.cpp | Zwoelf12/rai | b4e7082f3b7e8be5a0490f37e57d442047aaa020 | [
"MIT"
] | 32 | 2018-06-22T20:47:47.000Z | 2022-03-07T00:19:54.000Z | void Objective::setCostSpecs(int fromStep, int toStep, bool tuples) {
CHECK_GE(fromStep, 0, "");
// CHECK_GE(toStep, fromStep, "");
if(!tuples) {
if(toStep>=fromStep)
configs.resize(toStep+1).setZero();
else configs.clear();
for(int t=fromStep; t<=toStep; t++) configs(t) = 1;
} else {
if(to... | 30.653061 | 91 | 0.629827 | Zwoelf12 |
e78dba809430481f6258dbd78ed4f4b9f6e64d64 | 404 | cpp | C++ | Solutions/fibonacciWith_DP.cpp | sjnonweb/spoj | 72cf2afcf4466f1356a8646b5e4f925144cb9172 | [
"MIT"
] | 1 | 2016-10-05T20:07:03.000Z | 2016-10-05T20:07:03.000Z | Solutions/fibonacciWith_DP.cpp | sjnonweb/spoj | 72cf2afcf4466f1356a8646b5e4f925144cb9172 | [
"MIT"
] | null | null | null | Solutions/fibonacciWith_DP.cpp | sjnonweb/spoj | 72cf2afcf4466f1356a8646b5e4f925144cb9172 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int fib_arr[100]={0,1};
int fib(int n)
{
if(n==0)
return 0;
if(n==1)
return 1;
if(fib_arr[n]!=0)
return fib_arr[n];
return fib_arr[n]=fib(n-1)+fib(n-2);
}
int main()
{
int n;
again:
cin>>n;
cout<<fib(n)<<endl;
char c;... | 13.931034 | 40 | 0.487624 | sjnonweb |
e7910e9ebe61f1f6b4066d82b979d38273eb4a00 | 1,576 | cc | C++ | netsight/src/lib/db_handler.cc | Terrylol/Netsight0.1 | 10edb55ad75e8315ba1bf58155744354872612c4 | [
"Apache-2.0"
] | 1 | 2019-08-03T05:38:19.000Z | 2019-08-03T05:38:19.000Z | netsight/src/lib/db_handler.cc | Terrylol/Netsight0.1 | 10edb55ad75e8315ba1bf58155744354872612c4 | [
"Apache-2.0"
] | null | null | null | netsight/src/lib/db_handler.cc | Terrylol/Netsight0.1 | 10edb55ad75e8315ba1bf58155744354872612c4 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2014, Stanford University. This file is licensed under Apache 2.0,
* as described in included LICENSE.txt.
*
* Author: nikhilh@cs.stanford.com (Nikhil Handigol)
* jvimal@stanford.edu (Vimal Jeyakumar)
* brandonh@cs.stanford.edu (Brandon Heller)
*/
#include "db_handler.hh"
#include... | 19.949367 | 84 | 0.658629 | Terrylol |
e7988b4048f829ac6003e0247111de04554a5c24 | 1,500 | cpp | C++ | 排序/交换排序/P324.7.cpp | Ruvikm/Wangdao-Data-Structures | e00494f40c0be9d81229062bf69fe1e12e340773 | [
"MIT"
] | 103 | 2021-01-07T13:03:57.000Z | 2022-03-31T03:10:35.000Z | 排序/交换排序/P324.7.cpp | fu123567/Wangdao-Data-Structures | e00494f40c0be9d81229062bf69fe1e12e340773 | [
"MIT"
] | null | null | null | 排序/交换排序/P324.7.cpp | fu123567/Wangdao-Data-Structures | e00494f40c0be9d81229062bf69fe1e12e340773 | [
"MIT"
] | 23 | 2021-04-10T07:53:03.000Z | 2022-03-31T00:33:05.000Z | #include <cstdio>
#include <iostream>
#include <algorithm>
#include <time.h>
#include <stdlib.h>
using namespace std;
#pragma region 建立顺序存储的线性表
#define MAX 30
#define _for(i,a,b) for( int i=(a); i<(b); ++i)
#define _rep(i,a,b) for( int i=(a); i<=(b); ++i)
typedef struct {
int data[MAX];
int length;
}List;
void ... | 16.666667 | 56 | 0.581333 | Ruvikm |
e79a3ab9e6135bdd4ecf1f4aadbb2fd172a8eec7 | 3,945 | cpp | C++ | Screenshot.cpp | shengno/Screenshot | e4c1345aab39e48313163b45988045ee1ea13abe | [
"BSD-2-Clause"
] | 3 | 2018-02-28T08:49:00.000Z | 2019-08-12T02:33:17.000Z | Screenshot.cpp | shengno/Screenshot | e4c1345aab39e48313163b45988045ee1ea13abe | [
"BSD-2-Clause"
] | null | null | null | Screenshot.cpp | shengno/Screenshot | e4c1345aab39e48313163b45988045ee1ea13abe | [
"BSD-2-Clause"
] | null | null | null | /*M///////////////////////////////////////////////////////////////////////////
// Copyright (c) 2014, sheng
// 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 o... | 33.432203 | 83 | 0.592649 | shengno |
e7a1df37360994e2a7f9f48f9965a6cf125f877c | 18,880 | cc | C++ | src/client/dit_client.cc | taotaowill/dit | 2b3f58b1ae8c8ad56372c338892ed0dc51377a31 | [
"BSD-3-Clause"
] | null | null | null | src/client/dit_client.cc | taotaowill/dit | 2b3f58b1ae8c8ad56372c338892ed0dc51377a31 | [
"BSD-3-Clause"
] | 1 | 2019-07-25T00:49:47.000Z | 2019-07-25T00:49:47.000Z | src/client/dit_client.cc | taotaowill/dit | 2b3f58b1ae8c8ad56372c338892ed0dc51377a31 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2018 dit authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "client/dit_client.h"
#include <ctype.h>
#include <error.h>
#include <fcntl.h>
#include <stdio.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <map>
#include <vector>
... | 33.534636 | 117 | 0.544227 | taotaowill |
e7a4285b57f52a1781a6dda5b02d6aef7406918d | 3,699 | cc | C++ | deps/autodock/parsetypes.cc | neonious/Neonious-Node | 2859e60ca3f1303127d589d0f50c2aa2b281bc95 | [
"MIT"
] | null | null | null | deps/autodock/parsetypes.cc | neonious/Neonious-Node | 2859e60ca3f1303127d589d0f50c2aa2b281bc95 | [
"MIT"
] | null | null | null | deps/autodock/parsetypes.cc | neonious/Neonious-Node | 2859e60ca3f1303127d589d0f50c2aa2b281bc95 | [
"MIT"
] | null | null | null | /*
$Id: parsetypes.cc,v 1.6 2010/08/27 00:05:08 mp Exp $
AutoDock
Copyright (C) 2009 The Scripps Research Institute. All rights reserved.
AutoDock is a Trade Mark of The Scripps Research Institute.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Pub... | 39.774194 | 80 | 0.493647 | neonious |
e7a43487c1ca29c4c089072c88c90ad556ac2cf1 | 771 | cpp | C++ | 0166-Nth to Last Node in List/0166-Nth to Last Node in List.cpp | lightwindy/LintCode-1 | 316fa395c9a6de9bfac1d9c9cf58acb5ffb384a6 | [
"MIT"
] | 77 | 2017-12-30T13:33:37.000Z | 2022-01-16T23:47:08.000Z | 0101-0200/0166-Nth to Last Node in List/0166-Nth to Last Node in List.cpp | jxhangithub/LintCode-1 | a8aecc65c47a944e9debad1971a7bc6b8776e48b | [
"MIT"
] | 1 | 2018-05-14T14:15:40.000Z | 2018-05-14T14:15:40.000Z | 0101-0200/0166-Nth to Last Node in List/0166-Nth to Last Node in List.cpp | jxhangithub/LintCode-1 | a8aecc65c47a944e9debad1971a7bc6b8776e48b | [
"MIT"
] | 39 | 2017-12-07T14:36:25.000Z | 2022-03-10T23:05:37.000Z | /**
* Definition of ListNode
* class ListNode {
* public:
* int val;
* ListNode *next;
* ListNode(int val) {
* this->val = val;
* this->next = NULL;
* }
* }
*/
class Solution {
public:
/**
* @param head: The first node of linked list.
* @param n: An integer.
... | 19.769231 | 58 | 0.448768 | lightwindy |
e7a531d707e2a9c0100e9c15b312d9418d3c0d02 | 394 | cpp | C++ | CAPSO.cpp | phuongnam2002/testlib | a5cb8e2be7ac7a7e7dca7942a79ec20076f5d1aa | [
"MIT"
] | 2 | 2022-01-14T13:34:09.000Z | 2022-02-21T07:27:29.000Z | CAPSO.cpp | phuongnam2002/testlib | a5cb8e2be7ac7a7e7dca7942a79ec20076f5d1aa | [
"MIT"
] | null | null | null | CAPSO.cpp | phuongnam2002/testlib | a5cb8e2be7ac7a7e7dca7942a79ec20076f5d1aa | [
"MIT"
] | null | null | null | #include<stdio.h>
#include<math.h>
typedef long long ll;
const int N=1e6+3;
ll gcd(ll a,ll b)
{
if(a==0||b==0) return (a+b);
return gcd(b,a%b);
}
void xuly()
{
ll a,b,c,d;
scanf("%lld%lld%lld%lld",&a,&b,&c,&d);
ll m=gcd(a,b),n=gcd(c,d);
if(m==n) printf("YES\n");
else printf("NO\n");
}
int main()... | 15.153846 | 40 | 0.515228 | phuongnam2002 |
e7a74cefa773d0561250d95b1fad230c3bace63b | 648 | cpp | C++ | Basic/1064.cpp | GodLovesJonny/PAT-Solutions | b32d7de549c6b0ad8dc2e48d8a0e5cbf2241ed77 | [
"MIT"
] | 6 | 2019-03-13T10:07:25.000Z | 2019-09-29T14:10:11.000Z | Basic/1064.cpp | GodLovesJonny/PAT-Solutions | b32d7de549c6b0ad8dc2e48d8a0e5cbf2241ed77 | [
"MIT"
] | null | null | null | Basic/1064.cpp | GodLovesJonny/PAT-Solutions | b32d7de549c6b0ad8dc2e48d8a0e5cbf2241ed77 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <queue>
#include <string>
#include <vector>
using namespace std;
int n, cnt = 0, posi;
int ret[10005];
int main() {
ios::sync_with_stdio(false);
cin >> n;
int i;
int tmp;
for (i = 0; i < n; i++) {
cin >> po... | 13.5 | 30 | 0.510802 | GodLovesJonny |
e7ac47d62df9740ed5d117ee8058a0d0a9c19de0 | 3,403 | hpp | C++ | boost/graph/agm/runtime/runtime.hpp | thejkane/AGM | 4d5cfe9522461d207ceaef7d90c1cd10ce9b469c | [
"BSL-1.0"
] | 1 | 2021-09-03T10:22:04.000Z | 2021-09-03T10:22:04.000Z | boost/graph/agm/runtime/runtime.hpp | thejkane/AGM | 4d5cfe9522461d207ceaef7d90c1cd10ce9b469c | [
"BSL-1.0"
] | null | null | null | boost/graph/agm/runtime/runtime.hpp | thejkane/AGM | 4d5cfe9522461d207ceaef7d90c1cd10ce9b469c | [
"BSL-1.0"
] | null | null | null | // Copyright (C) 2018 Thejaka Amila Kanewala, Marcin Zalewski, Andrew Lumsdaine.
// Boost Software License - Version 1.0 - August 17th, 2003
// Permission is hereby granted, free of charge, to any person or organization
// obtaining a copy of the software and accompanying documentation covered by
// this license (the... | 28.358333 | 81 | 0.699677 | thejkane |
e7ae726ce4c6014af9a594f0a2f18a7ac79db57b | 126 | cpp | C++ | CppStrangeIoC/framework/reflector/ireflectedclass.cpp | AndreySkyFoxSidorov/CppStrangeIoC | cae0953ec4a1fce838d7c138153d4279d3fb2c4b | [
"Apache-2.0"
] | 2 | 2018-06-06T11:26:48.000Z | 2019-04-11T14:05:42.000Z | CppStrangeIoC/framework/reflector/ireflectedclass.cpp | AndreySkyFoxSidorov/CppStrangeIoC | cae0953ec4a1fce838d7c138153d4279d3fb2c4b | [
"Apache-2.0"
] | null | null | null | CppStrangeIoC/framework/reflector/ireflectedclass.cpp | AndreySkyFoxSidorov/CppStrangeIoC | cae0953ec4a1fce838d7c138153d4279d3fb2c4b | [
"Apache-2.0"
] | 2 | 2018-06-06T11:26:49.000Z | 2021-07-26T03:43:16.000Z |
#include "IReflectedClass.h"
namespace strange
{
namespace extensions
{
namespace reflector
{
namespace api
{
}
}
}
}
| 6 | 28 | 0.698413 | AndreySkyFoxSidorov |
e7af8b86fea65687eaf8d87613f190cecf4d7680 | 1,515 | cpp | C++ | 010-regular-expression-matching.cpp | nave7693/leetcode | 8ff388cb17e87aa9053eaed3b84e7dc2be3e2e49 | [
"MIT"
] | null | null | null | 010-regular-expression-matching.cpp | nave7693/leetcode | 8ff388cb17e87aa9053eaed3b84e7dc2be3e2e49 | [
"MIT"
] | null | null | null | 010-regular-expression-matching.cpp | nave7693/leetcode | 8ff388cb17e87aa9053eaed3b84e7dc2be3e2e49 | [
"MIT"
] | null | null | null | // https://leetcode.com/problems/regular-expression-matching/
class Solution {
public:
bool isMatch(string s, string p) {
int ls = s.length();
int lp = p.length();
// matched[i][j] = s[0..i-1] matched p[0..j-1] ? true : false
vector<vector<bool>> matched(ls+1, vect... | 43.285714 | 122 | 0.449505 | nave7693 |
e7b20d58a1af457e1d9302d952d77c58ac11c22e | 6,615 | cpp | C++ | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcWindowPanelProperties.cpp | yorikvanhavre/ifcplusplus | eec5160bfb07de66ad40db48bb7eca66e9351b85 | [
"MIT"
] | null | null | null | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcWindowPanelProperties.cpp | yorikvanhavre/ifcplusplus | eec5160bfb07de66ad40db48bb7eca66e9351b85 | [
"MIT"
] | null | null | null | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcWindowPanelProperties.cpp | yorikvanhavre/ifcplusplus | eec5160bfb07de66ad40db48bb7eca66e9351b85 | [
"MIT"
] | null | null | null | /* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */
#include <sstream>
#include <limits>
#include "ifcpp/model/AttributeObject.h"
#include "ifcpp/model/BuildingException.h"
#include "ifcpp/model/BuildingGuid.h"
#include "ifcpp/reader/ReaderUtil.h"
#include "ifcpp/writer/WriterUtil.h"
#include... | 60.136364 | 242 | 0.750718 | yorikvanhavre |
e7b42dfa31870f7697fbd85e6f84bda627467dd4 | 2,067 | cpp | C++ | .RemoteTalk/Plugin/RemoteTalkSAPI/rtspHookHandler.cpp | i-saint/RemoteTalk | 3ac2528ab66ed923cb9c56596944effdeaecee50 | [
"MIT"
] | 36 | 2018-12-18T22:33:36.000Z | 2021-10-31T07:03:15.000Z | .RemoteTalk/Plugin/RemoteTalkSAPI/rtspHookHandler.cpp | i-saint/RemoteTalk | 3ac2528ab66ed923cb9c56596944effdeaecee50 | [
"MIT"
] | 1 | 2020-04-04T16:13:43.000Z | 2020-04-05T05:08:17.000Z | .RemoteTalk/Plugin/RemoteTalkSAPI/rtspHookHandler.cpp | i-saint/RemoteTalk | 3ac2528ab66ed923cb9c56596944effdeaecee50 | [
"MIT"
] | 3 | 2019-04-12T17:37:23.000Z | 2020-09-30T15:50:31.000Z | #include "pch.h"
#include "rtspHookHandler.h"
namespace rtsp {
void WaveOutHandler::clearCallbacks()
{
onUpdate = {};
}
void WaveOutHandler::onWaveOutOpen(LPHWAVEOUT& phwo, UINT& uDeviceID, LPCWAVEFORMATEX& pwfx, DWORD_PTR& dwCallback, DWORD_PTR& dwInstance, DWORD& fdwOpen, MMRESULT& ret)
{
super::onWaveOutO... | 25.8375 | 169 | 0.648283 | i-saint |
e7b80ae642e08a230e958869faa6d41ba4166594 | 15,464 | cpp | C++ | Engine/RHI/Vulkan/Src/VulkanGraphicsPipeline.cpp | bluesky013/Explosion | 1950121c48280fc5749e490c86acd75960ae8494 | [
"MIT"
] | null | null | null | Engine/RHI/Vulkan/Src/VulkanGraphicsPipeline.cpp | bluesky013/Explosion | 1950121c48280fc5749e490c86acd75960ae8494 | [
"MIT"
] | null | null | null | Engine/RHI/Vulkan/Src/VulkanGraphicsPipeline.cpp | bluesky013/Explosion | 1950121c48280fc5749e490c86acd75960ae8494 | [
"MIT"
] | null | null | null | //
// Created by John Kindem on 2021/4/26.
//
#include <string>
#include <utility>
#include <vector>
#include <unordered_map>
#include <RHI/Vulkan/VulkanGraphicsPipeline.h>
#include <RHI/Vulkan/VulkanAdapater.h>
#include <RHI/Vulkan/VulkanDriver.h>
#include <RHI/Vulkan/VulkanRenderPass.h>
#include <RHI/Vulkan/VulkanS... | 55.625899 | 157 | 0.756531 | bluesky013 |
e7b816d3b30068b847e3e5a4310f8b00df20d1fc | 45,454 | cpp | C++ | src/frontend/high_level_schedule.cpp | eafurst/graphit | 373138777313fc55910cc51581e0a47b209dadca | [
"MIT"
] | null | null | null | src/frontend/high_level_schedule.cpp | eafurst/graphit | 373138777313fc55910cc51581e0a47b209dadca | [
"MIT"
] | null | null | null | src/frontend/high_level_schedule.cpp | eafurst/graphit | 373138777313fc55910cc51581e0a47b209dadca | [
"MIT"
] | null | null | null | //
// Created by Yunming Zhang on 6/13/17.
//
#include <graphit/frontend/high_level_schedule.h>
namespace graphit {
namespace fir {
high_level_schedule::ProgramScheduleNode::Ptr
high_level_schedule::ProgramScheduleNode::splitForLoop(std::string original_loop_label,
... | 54.896135 | 139 | 0.558543 | eafurst |
e7bb08f2cf273a614042f68d8de47a3dc8605050 | 4,414 | cpp | C++ | lib/libDCL-master/src/utility.cpp | Lazersfly/ESP-Analytics-Platform | 2f2d485538b203b5147e1ee714f62b073812faf1 | [
"MIT"
] | null | null | null | lib/libDCL-master/src/utility.cpp | Lazersfly/ESP-Analytics-Platform | 2f2d485538b203b5147e1ee714f62b073812faf1 | [
"MIT"
] | null | null | null | lib/libDCL-master/src/utility.cpp | Lazersfly/ESP-Analytics-Platform | 2f2d485538b203b5147e1ee714f62b073812faf1 | [
"MIT"
] | null | null | null | // Utility routines
#include "utility.h"
#include "pf.h"
unsigned long power10(byte p)
{
unsigned long Answer = 1;
int i;
for(i=0;i<p;i++)
Answer *= 10;
return(Answer);
}
uint32_t strtoln(const char *str, size_t n, bool *error) {
int i;
size_t ret = 0;
for (i = n-1;i >= 0;i--) {
if ... | 23.354497 | 95 | 0.523561 | Lazersfly |
e7bd09eada83d13d407e1a81079ae6a965d2e79f | 32,881 | cpp | C++ | tests/verify/verify_neighbor.cpp | Roboauto/spatial | fe652631eb5ec23a719bf1788c68cbd67060e12b | [
"BSL-1.0"
] | 7 | 2015-12-07T02:10:23.000Z | 2022-01-01T05:39:05.000Z | tests/verify/verify_neighbor.cpp | Roboauto/spatial | fe652631eb5ec23a719bf1788c68cbd67060e12b | [
"BSL-1.0"
] | 1 | 2021-01-28T15:07:42.000Z | 2021-01-28T15:07:42.000Z | tests/verify/verify_neighbor.cpp | Roboauto/spatial | fe652631eb5ec23a719bf1788c68cbd67060e12b | [
"BSL-1.0"
] | 2 | 2016-08-31T13:30:18.000Z | 2021-07-07T07:22:03.000Z | // -*- C++ -*-
//
// Copyright Sylvain Bougerel 2009 - 2012.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file COPYING or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#define BOOST_TEST_DYN_LINK
#define SPATIAL_ENABLE_ASSERT // detect interal issues that should not occur
#inc... | 39.520433 | 78 | 0.644263 | Roboauto |
b10ceb4e84bbd7fa3923f6ce6f6054840adec85a | 922 | hpp | C++ | include/husky/render/Viewport.hpp | wr00m/husky | bb5c62a93bca93dd7b68fdbdfacad5c03ecc772e | [
"MIT"
] | 1 | 2019-07-23T10:38:31.000Z | 2019-07-23T10:38:31.000Z | include/husky/render/Viewport.hpp | wr00m/husky | bb5c62a93bca93dd7b68fdbdfacad5c03ecc772e | [
"MIT"
] | null | null | null | include/husky/render/Viewport.hpp | wr00m/husky | bb5c62a93bca93dd7b68fdbdfacad5c03ecc772e | [
"MIT"
] | null | null | null | #pragma once
#include <husky/render/Camera.hpp>
namespace husky {
class HUSKY_DLL Ray
{
public:
Vector3d startPos;
Vector3d dir;
Ray();
Ray(const Vector3d &startPos, const Vector3d &dir);
void transform(const Matrix44d &mtx);
};
HUSKY_DLL Ray operator*(const Matrix44d &mtx, const Ray &r);
class HUSKY... | 22.487805 | 106 | 0.711497 | wr00m |
b10d0d9924ec627e98bc3a0ace1323e45a223ff4 | 17,486 | cpp | C++ | elenasrc2/elenagm/win32/directx12.cpp | drkameleon/elena-lang | 8585e93a3bc0b19f8d60029ffbe01311d0b711a3 | [
"MIT"
] | 193 | 2015-07-03T22:23:27.000Z | 2022-03-15T18:56:02.000Z | elenasrc2/elenagm/win32/directx12.cpp | drkameleon/elena-lang | 8585e93a3bc0b19f8d60029ffbe01311d0b711a3 | [
"MIT"
] | 531 | 2015-05-07T09:39:42.000Z | 2021-09-27T07:51:38.000Z | elenasrc2/elenagm/win32/directx12.cpp | drkameleon/elena-lang | 8585e93a3bc0b19f8d60029ffbe01311d0b711a3 | [
"MIT"
] | 31 | 2015-09-30T13:07:36.000Z | 2021-10-15T13:08:04.000Z | //---------------------------------------------------------------------------
// E L E N A P r o j e c t: ELENA Graphic Engine
//
// (C)2017, by Alexei Rakov
// (C)2015, Microsoft
//--------------------------------------------------------------------------... | 37.204255 | 176 | 0.756548 | drkameleon |
b10fba5e8123d46e3de66560eda1cfdb25232e38 | 952 | cpp | C++ | genfile/src/string_utils/hex.cpp | gavinband/bingwa | d52e166b3bb6bc32cd32ba63bf8a4a147275eca1 | [
"BSL-1.0"
] | 3 | 2021-04-21T05:42:24.000Z | 2022-01-26T14:59:43.000Z | genfile/src/string_utils/hex.cpp | gavinband/bingwa | d52e166b3bb6bc32cd32ba63bf8a4a147275eca1 | [
"BSL-1.0"
] | 2 | 2020-04-09T16:11:04.000Z | 2020-11-10T11:18:56.000Z | genfile/src/string_utils/hex.cpp | gavinband/qctool | 8d8adb45151c91f953fe4a9af00498073b1132ba | [
"BSL-1.0"
] | null | null | null |
// Copyright Gavin Band 2008 - 2012.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <string>
#include <sstream>
#include <iomanip>
#include "genfile/string_utils/hex.hpp"
namespa... | 27.2 | 117 | 0.54937 | gavinband |
b115051771763fb3c18755eed77851e7d753b830 | 1,107 | cpp | C++ | lib/IR/Compute/Clip.cpp | zakk0610/onnc | ed470ff76dce0c5338b285ecfbd88b03e667d295 | [
"BSD-3-Clause"
] | 1 | 2018-08-27T02:51:59.000Z | 2018-08-27T02:51:59.000Z | lib/IR/Compute/Clip.cpp | ffk0716/onnc | 91e4955ade64b479db17aaeccacf4b7339fe44d2 | [
"BSD-3-Clause"
] | null | null | null | lib/IR/Compute/Clip.cpp | ffk0716/onnc | 91e4955ade64b479db17aaeccacf4b7339fe44d2 | [
"BSD-3-Clause"
] | null | null | null | //===- Clip.cpp ------------------------------------------------===//
//
// The ONNC Project
//
// See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#include <onnc/IR/Compute/Clip.h>
using namespace onnc;
char Clip::ID = 0;
//... | 23.553191 | 80 | 0.420958 | zakk0610 |
b11c1cd85257ca0ada155e25504911b2888d7a06 | 3,583 | hpp | C++ | include/eepp/ui/uitextview.hpp | jayrulez/eepp | 09c5c1b6b4c0306bb0a188474778c6949b5df3a7 | [
"MIT"
] | 37 | 2020-01-20T06:21:24.000Z | 2022-03-21T17:44:50.000Z | include/eepp/ui/uitextview.hpp | jayrulez/eepp | 09c5c1b6b4c0306bb0a188474778c6949b5df3a7 | [
"MIT"
] | null | null | null | include/eepp/ui/uitextview.hpp | jayrulez/eepp | 09c5c1b6b4c0306bb0a188474778c6949b5df3a7 | [
"MIT"
] | 9 | 2019-03-22T00:33:07.000Z | 2022-03-01T01:35:59.000Z | #ifndef EE_UICUITEXTBOX_H
#define EE_UICUITEXTBOX_H
#include <eepp/graphics/text.hpp>
#include <eepp/ui/uifontstyleconfig.hpp>
#include <eepp/ui/uiwidget.hpp>
namespace EE { namespace UI {
class EE_API UITextView : public UIWidget {
public:
static UITextView* New();
static UITextView* NewWithTag( const std::str... | 21.584337 | 84 | 0.752163 | jayrulez |
b11c68d96563e0ffbff1dace21971a02785f769b | 3,234 | hpp | C++ | eg_wptool/include/eg_wptool/tf_position.hpp | tamago117/eg_navigation_ros2 | ef78a7cfb3aca6a02bde1bdc5bdfde274a055d92 | [
"Apache-2.0"
] | null | null | null | eg_wptool/include/eg_wptool/tf_position.hpp | tamago117/eg_navigation_ros2 | ef78a7cfb3aca6a02bde1bdc5bdfde274a055d92 | [
"Apache-2.0"
] | null | null | null | eg_wptool/include/eg_wptool/tf_position.hpp | tamago117/eg_navigation_ros2 | ef78a7cfb3aca6a02bde1bdc5bdfde274a055d92 | [
"Apache-2.0"
] | null | null | null | /**
* @file tf_position.h
* @brief read frame position from tf(ros2 version)
* @author Michikuni Eguchi
* @date 2021.12.31
* @details Read position from transformations in tf
*/
#pragma once
#include <rclcpp/rclcpp.hpp>
#include <geometry_msgs/msg/transform_stamped.hpp>
#include <geometry_msgs/msg/twist.hpp>
#include... | 28.121739 | 195 | 0.678417 | tamago117 |
b1205a5ff88bd4d06344ed7202282c572688a502 | 5,617 | cpp | C++ | XUXUCAM/CamDxf/camscene.cpp | hananiahhsu/OpenCAD | d4ae08195411057cce182fe5a4c0a3d226279697 | [
"Apache-2.0"
] | 13 | 2018-11-06T12:37:42.000Z | 2021-07-22T11:49:35.000Z | XUXUCAM/CamDxf/camscene.cpp | hananiahhsu/OpenCAD | d4ae08195411057cce182fe5a4c0a3d226279697 | [
"Apache-2.0"
] | 1 | 2020-05-15T07:21:06.000Z | 2020-05-28T05:10:35.000Z | XUXUCAM/CamDxf/camscene.cpp | hananiahhsu/OpenCAD | d4ae08195411057cce182fe5a4c0a3d226279697 | [
"Apache-2.0"
] | 11 | 2018-11-06T12:37:52.000Z | 2021-09-25T08:02:27.000Z | #include "CamDxf/camscene.h"
///Todo move to class window and get value from settings dialog
/// used when drawing toolpath and for homing on G-code
QPointF absoluteHome(0,0);
QPointF homePoint(0,0);
int currentLoop=0;
QGraphicsPixmapItem *toolPix;
QGraphicsLineItem toolLine;
/// margin used to properly sh... | 31.033149 | 135 | 0.631298 | hananiahhsu |
b120eaad992fa04bef25042d78ad3433f8928fbe | 969 | cpp | C++ | localTools/Sound.cpp | iliam-12/Bomberman | 62c688704e34bf1ec762adc76390a545b056e0cc | [
"MIT"
] | null | null | null | localTools/Sound.cpp | iliam-12/Bomberman | 62c688704e34bf1ec762adc76390a545b056e0cc | [
"MIT"
] | null | null | null | localTools/Sound.cpp | iliam-12/Bomberman | 62c688704e34bf1ec762adc76390a545b056e0cc | [
"MIT"
] | null | null | null | /*
** EPITECH PROJECT, 2020
** B-YEP-400-MAR-4-1-indiestudio-iliam.amara
** File description:
** Sound.cpp
*/
#include "Sound.hpp"
std::string lt::Sound::path = "resources/audio/";
lt::Sound::Sound(const std::string &filename, int minChannels)
{
this->sound = LoadSound((path + filename).c_str());
if (filename... | 16.15 | 62 | 0.636739 | iliam-12 |
b1230988f70740ee9737f948e8b58adf500db836 | 1,468 | hpp | C++ | ConnectorArchicad/AddOn/Sources/AddOn/Objects/Polyline.hpp | ekkodale/speckle-sharp | ca31096d045131d35b120b84fa672b56b284b78a | [
"Apache-2.0"
] | 9 | 2020-08-26T12:51:22.000Z | 2020-10-22T23:44:21.000Z | ConnectorArchicad/AddOn/Sources/AddOn/Objects/Polyline.hpp | ekkodale/speckle-sharp | ca31096d045131d35b120b84fa672b56b284b78a | [
"Apache-2.0"
] | 20 | 2020-08-28T19:26:51.000Z | 2020-10-28T13:09:23.000Z | ConnectorArchicad/AddOn/Sources/AddOn/Objects/Polyline.hpp | ekkodale/speckle-sharp | ca31096d045131d35b120b84fa672b56b284b78a | [
"Apache-2.0"
] | 1 | 2020-09-27T19:58:21.000Z | 2020-09-27T19:58:21.000Z | #ifndef OBJECTS_POLYLINE_HPP
#define OBJECTS_POLYLINE_HPP
#include "APIEnvir.h"
#include "ACAPinc.h"
#include "Point.hpp"
namespace Objects {
class PolylineSegment {
public:
Point3D StartPoint;
Point3D EndPoint;
double ArcAngle;
PolylineSegment() = default;
PolylineSegment(const Point3D& start, c... | 20.109589 | 94 | 0.714578 | ekkodale |
b12450cb0859f8ea60b59496898c8a51af48e3b1 | 9,278 | hpp | C++ | include/Microsoft/Win32/KeyHandler.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/Microsoft/Win32/KeyHandler.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/Microsoft/Win32/KeyHandler.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/il2cpp-utils-methods.hpp"
#include "extern/b... | 49.351064 | 307 | 0.70651 | darknight1050 |
b1247a102ef247dc5f0e52626d5d60c9319fcd38 | 369 | cpp | C++ | src/Modules/Perception/Localization/Localizer.cpp | thaleshsp2/Mari | fd800261f3c9f7d207f35b82987ad31d9880dc1e | [
"MIT"
] | 3 | 2018-09-18T18:05:05.000Z | 2019-10-23T17:47:07.000Z | src/Modules/Perception/Localization/Localizer.cpp | thaleshsp2/Mari | fd800261f3c9f7d207f35b82987ad31d9880dc1e | [
"MIT"
] | 1 | 2020-06-08T18:48:32.000Z | 2020-06-19T21:41:16.000Z | src/Modules/Perception/Localization/Localizer.cpp | AlexanderSilvaB/Mari | 0a660d39ad9d987d449c7fc9b1fb6d1cec631cb6 | [
"MIT"
] | 9 | 2018-09-11T17:19:16.000Z | 2019-07-30T16:43:56.000Z | #include "Localizer.h"
#include "Core/InitManager.h"
#include "Core/Utils/Math.h"
Localizer::Localizer(SpellBook *spellBook)
: InnerModule(spellBook)
{
}
void Localizer::Tick(float ellapsedTime, CameraFrame &top, CameraFrame &bottom, cv::Mat &combinedImage)
{
spellBook->perception.vision.BGR = true... | 21.705882 | 103 | 0.715447 | thaleshsp2 |
b126cf1312fbc0375dd660a20d15d047225b56ef | 16,074 | cc | C++ | source/gpu_perf_api_counter_generator/gpa_counter_generator_cl.cc | AdamJMiles/gpu_performance_api | 7bd0c8b484b2a658610581e2e48b615606130fdc | [
"MIT"
] | 61 | 2020-03-17T12:30:11.000Z | 2022-03-01T18:59:11.000Z | source/gpu_perf_api_counter_generator/gpa_counter_generator_cl.cc | AdamJMiles/gpu_performance_api | 7bd0c8b484b2a658610581e2e48b615606130fdc | [
"MIT"
] | 12 | 2020-03-24T15:46:54.000Z | 2022-01-08T02:03:31.000Z | source/gpu_perf_api_counter_generator/gpa_counter_generator_cl.cc | AdamJMiles/gpu_performance_api | 7bd0c8b484b2a658610581e2e48b615606130fdc | [
"MIT"
] | 19 | 2020-03-16T17:32:09.000Z | 2022-03-29T23:35:31.000Z | //==============================================================================
// Copyright (c) 2016-2021 Advanced Micro Devices, Inc. All rights reserved.
/// @author AMD Developer Tools Team
/// @file
/// @brief Class for CL counter generation.
//=====================================================================... | 44.526316 | 152 | 0.69037 | AdamJMiles |
b12fd88d650197ee7bbf08e581269adb7a28c0d8 | 2,616 | cpp | C++ | SOURCES/ui/src/comms/cphoneb.cpp | IsraelyFlightSimulator/Negev-Storm | 86de63e195577339f6e4a94198bedd31833a8be8 | [
"Unlicense"
] | 1 | 2021-02-19T06:06:31.000Z | 2021-02-19T06:06:31.000Z | src/ui/src/comms/cphoneb.cpp | markbb1957/FFalconSource | 07b12e2c41a93fa3a95b912a2433a8056de5bc4d | [
"BSD-2-Clause"
] | null | null | null | src/ui/src/comms/cphoneb.cpp | markbb1957/FFalconSource | 07b12e2c41a93fa3a95b912a2433a8056de5bc4d | [
"BSD-2-Clause"
] | 2 | 2019-08-20T13:35:13.000Z | 2021-04-24T07:32:04.000Z | #include <windows.h>
#include "stdio.h"
#include "f4vu.h"
#include "cphoneb.h"
#include "vutypes.h"
#include "f4comms.h"
#include "comdata.h"
PhoneBook::PhoneBook(){
Root_=NULL;
Current_=NULL;
}
PhoneBook::~PhoneBook(){
if(Root_){
Cleanup();
}
}
void PhoneBook::Setup(){
}
void PhoneBook::Cleanup(){
RemoveAll... | 14.863636 | 72 | 0.628823 | IsraelyFlightSimulator |
b134df0b6f46d4eb8c45532c097bc9865363eac6 | 2,853 | cpp | C++ | sources/IntRuleTriangle.cpp | jjssobrinho/FemCourseEigenClass2021 | 25f35e9ce32d92057151b15ee5e9c2fa7db0db4e | [
"MIT"
] | null | null | null | sources/IntRuleTriangle.cpp | jjssobrinho/FemCourseEigenClass2021 | 25f35e9ce32d92057151b15ee5e9c2fa7db0db4e | [
"MIT"
] | null | null | null | sources/IntRuleTriangle.cpp | jjssobrinho/FemCourseEigenClass2021 | 25f35e9ce32d92057151b15ee5e9c2fa7db0db4e | [
"MIT"
] | null | null | null | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
///\cond
#include <iostream>
///\endcond
#include "IntRuleTriangle.h"
#define Perm3(a) a, a, a
#define Dup3(w) (0.5L*w)
#define Per... | 27.432692 | 79 | 0.471434 | jjssobrinho |
b13bb9ef5d4b56839ae3943dbd5bc47abb53e060 | 1,035 | cpp | C++ | core/shared/filing/file_system.cpp | sadisutikku/engine_libs | b9d8aea6218e043162850c092fd32eb930120e15 | [
"MIT"
] | null | null | null | core/shared/filing/file_system.cpp | sadisutikku/engine_libs | b9d8aea6218e043162850c092fd32eb930120e15 | [
"MIT"
] | null | null | null | core/shared/filing/file_system.cpp | sadisutikku/engine_libs | b9d8aea6218e043162850c092fd32eb930120e15 | [
"MIT"
] | null | null | null |
//////////////////////////////////////////////////////////////////////
//! Includes
//////////////////////////////////////////////////////////////////////
#include "core/shared/filing/file_system.h"
#include <filesystem>
namespace core
{
bool FILE_SYSTEM::is_file( const std::string& path )
{
if ( path.empty() ... | 19.903846 | 85 | 0.552657 | sadisutikku |
b1453cb681761e183f318ae90e0618d855c1b79c | 18,077 | cpp | C++ | Sources/simdlib/SimdNeonSobel.cpp | aestesis/Csimd | b333a8bb7e7f2707ed6167badb8002cfe3504bbc | [
"Apache-2.0"
] | 6 | 2017-10-13T04:29:38.000Z | 2018-05-10T13:52:20.000Z | Sources/simdlib/SimdNeonSobel.cpp | aestesis/Csimd | b333a8bb7e7f2707ed6167badb8002cfe3504bbc | [
"Apache-2.0"
] | null | null | null | Sources/simdlib/SimdNeonSobel.cpp | aestesis/Csimd | b333a8bb7e7f2707ed6167badb8002cfe3504bbc | [
"Apache-2.0"
] | null | null | null | /*
* Simd Library (http://ermig1979.github.io/Simd).
*
* Copyright (c) 2011-2017 Yermalayeu Ihar.
*
* 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 with... | 37.73904 | 154 | 0.613763 | aestesis |
b14579d4eda790e91cad0d2c0d2a48999e6583e4 | 5,737 | hxx | C++ | Modules/Sort/bubble_log.hxx | Hurna/Hurna-Lib | 61c267fc6ccf617e92560a84800f6a719cc5c6c8 | [
"MIT"
] | 2 | 2019-03-29T21:23:02.000Z | 2019-04-02T19:13:32.000Z | Modules/Sort/bubble_log.hxx | Hurna/Hurna-Lib | 61c267fc6ccf617e92560a84800f6a719cc5c6c8 | [
"MIT"
] | null | null | null | Modules/Sort/bubble_log.hxx | Hurna/Hurna-Lib | 61c267fc6ccf617e92560a84800f6a719cc5c6c8 | [
"MIT"
] | null | null | null | /*===========================================================================================================
*
* HUL - Hurna Lib
*
* Copyright (c) Michael Jeulin-Lagarrigue
*
* Licensed under the MIT License, you may not use this file except in compliance with the License.
* You may obtain a copy of the Licen... | 33.16185 | 109 | 0.596305 | Hurna |
b14619bb6627c7c6dffc12ba79d0ec4edc818cf2 | 28,355 | cpp | C++ | Source/MediaInfo/Video/File_Av1.cpp | jaystevens/MediaInfoLib | c406c827c37294f45d8ade572be484644d7a3f4a | [
"BSD-2-Clause"
] | null | null | null | Source/MediaInfo/Video/File_Av1.cpp | jaystevens/MediaInfoLib | c406c827c37294f45d8ade572be484644d7a3f4a | [
"BSD-2-Clause"
] | null | null | null | Source/MediaInfo/Video/File_Av1.cpp | jaystevens/MediaInfoLib | c406c827c37294f45d8ade572be484644d7a3f4a | [
"BSD-2-Clause"
] | null | null | null | /* Copyright (c) MediaArea.net SARL. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license that can
* be found in the License.html file in the root of the source tree.
*/
//---------------------------------------------------------------------------
// Pre-compilation
#inclu... | 41.213663 | 260 | 0.457309 | jaystevens |
b14d114e0ff2738d911b0e48dfa3f53ecf4bc4ae | 17,850 | cpp | C++ | 3DSMax/AlembicCameraUtilities.cpp | aboellinger/ExocortexCrate | 1e2b44e71baa6ec5a6b4b88838ddf94e18a181a2 | [
"BSD-3-Clause"
] | 105 | 2015-01-01T03:42:42.000Z | 2021-11-15T10:07:06.000Z | 3DSMax/AlembicCameraUtilities.cpp | aboellinger/ExocortexCrate | 1e2b44e71baa6ec5a6b4b88838ddf94e18a181a2 | [
"BSD-3-Clause"
] | 55 | 2015-01-16T15:24:43.000Z | 2021-06-28T06:57:48.000Z | 3DSMax/AlembicCameraUtilities.cpp | aboellinger/ExocortexCrate | 1e2b44e71baa6ec5a6b4b88838ddf94e18a181a2 | [
"BSD-3-Clause"
] | 69 | 2015-01-16T12:44:36.000Z | 2022-03-08T10:32:26.000Z | #include "stdafx.h"
#include "Alembic.h"
#include "AlembicArchiveStorage.h"
#include "AlembicCameraUtilities.h"
#include "AlembicDefinitions.h"
#include "AlembicFloatController.h"
#include "AlembicMAXScript.h"
#include "AlembicMetadataUtils.h"
#include "AlembicNames.h"
#include "AlembicVisibilityController.h... | 34.459459 | 91 | 0.641513 | aboellinger |
b14defd160b39d459c2c564320752ad9cf5b69f1 | 5,223 | cpp | C++ | src/ADBViewer/src/App/AppTerminal/AppTerminalPage.cpp | ClnViewer/ADB-Android-Viewer | c619fe626ab390b656893974700a0b6379159c03 | [
"MIT"
] | 9 | 2019-05-20T12:06:36.000Z | 2022-03-24T19:11:06.000Z | src/ADBViewer/src/App/AppTerminal/AppTerminalPage.cpp | ClnViewer/ADB-Android-Viewer | c619fe626ab390b656893974700a0b6379159c03 | [
"MIT"
] | null | null | null | src/ADBViewer/src/App/AppTerminal/AppTerminalPage.cpp | ClnViewer/ADB-Android-Viewer | c619fe626ab390b656893974700a0b6379159c03 | [
"MIT"
] | 3 | 2020-07-06T04:51:33.000Z | 2021-07-26T20:08:02.000Z | /*
MIT License
Android remote Viewer, GUI ADB tools
Android Viewer developed to view and control your android device from a PC.
ADB exchange Android Viewer, support scale view, input tap from mouse,
input swipe from keyboard, save/copy screenshot, etc..
Copyright (c) 2016-2019 PS
GitHub: ... | 37.57554 | 95 | 0.578978 | ClnViewer |
b15198073485acc860432c1fd35aea26797d5af0 | 6,216 | hpp | C++ | include/string/details/helper.hpp | Wizermil/string | 97e4990c45053dbe8f55b7d0271e7f9998799ebf | [
"MIT"
] | null | null | null | include/string/details/helper.hpp | Wizermil/string | 97e4990c45053dbe8f55b7d0271e7f9998799ebf | [
"MIT"
] | null | null | null | include/string/details/helper.hpp | Wizermil/string | 97e4990c45053dbe8f55b7d0271e7f9998799ebf | [
"MIT"
] | null | null | null | #pragma once
#if !__has_builtin(__builtin_strlen) || !__has_builtin(__builtin_memcmp)
# error compiler not supported
#endif
#include <cassert>
#include <cstddef>
#include <cstring>
#include <type_traits>
#include <string/details/config.hpp>
namespace wiz {
class string_view;
namespace details {
... | 38.608696 | 165 | 0.553571 | Wizermil |
b1556c352ea221c39067296b6ce0829ed23fb6d8 | 42 | hpp | C++ | src/connect_4.hpp | togramf/S4-POO_TP | ce8a7fec4b3f3bab3b6714a03caf64a77f26841e | [
"MIT"
] | null | null | null | src/connect_4.hpp | togramf/S4-POO_TP | ce8a7fec4b3f3bab3b6714a03caf64a77f26841e | [
"MIT"
] | null | null | null | src/connect_4.hpp | togramf/S4-POO_TP | ce8a7fec4b3f3bab3b6714a03caf64a77f26841e | [
"MIT"
] | null | null | null | #include <p6/p6.h>
void play_connect_4(); | 14 | 22 | 0.714286 | togramf |
b1558487c16a412853c401df94b5e3b61b64464d | 804 | cpp | C++ | Source/UnrealFastNoisePlugin/Private/UFNAddModule.cpp | midgen/UnrealFastNoise | e4ded131ddf51dc67d6475b69d5714689872113f | [
"MIT"
] | 232 | 2016-08-27T18:38:47.000Z | 2022-03-22T17:29:33.000Z | Source/UnrealFastNoisePlugin/Private/UFNAddModule.cpp | Svengali/UnrealFastNoise | e4ded131ddf51dc67d6475b69d5714689872113f | [
"MIT"
] | 13 | 2016-09-06T15:36:59.000Z | 2020-05-31T09:10:13.000Z | Source/UnrealFastNoisePlugin/Private/UFNAddModule.cpp | Svengali/UnrealFastNoise | e4ded131ddf51dc67d6475b69d5714689872113f | [
"MIT"
] | 65 | 2016-08-25T11:21:02.000Z | 2021-09-27T16:44:50.000Z | #include "UnrealFastNoisePlugin/Public/UFNAddModule.h"
UUFNAddModule::UUFNAddModule(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
, InputModule1(nullptr)
, InputModule2(nullptr)
, MaskModule(nullptr)
, Threshold(0.f)
{
}
float UUFNAddModule::GetNoise3D(float InX, float InY, float InZ)
{... | 19.609756 | 103 | 0.705224 | midgen |
b157c8662f69542b10af596932b00a85d999c7db | 21,064 | cpp | C++ | eondoc/Parser.cpp | janoveaase/eoncpp | bd62aab42f43932da991d603cfb6a66fa0b4355a | [
"BSL-1.0"
] | null | null | null | eondoc/Parser.cpp | janoveaase/eoncpp | bd62aab42f43932da991d603cfb6a66fa0b4355a | [
"BSL-1.0"
] | null | null | null | eondoc/Parser.cpp | janoveaase/eoncpp | bd62aab42f43932da991d603cfb6a66fa0b4355a | [
"BSL-1.0"
] | null | null | null | #include "Parser.h"
#include "Title.h"
#include "Heading.h"
#include "Listing.h"
#include "Exclamation.h"
#include "Paragraph.h"
#include "Definition.h"
namespace eon
{
namespace doc
{
Parser::Parser( const sourceref& source )
{
Source = source;
TP = tokenparser( tokenizer()( source.source() ) );
}
... | 29.053793 | 107 | 0.517043 | janoveaase |
b157dcfd0c5c3bc562ac0664ae2f811fca83908a | 3,980 | cpp | C++ | engine/source/graphics/OpenGLIndexBuffer.cpp | lechkulina/RealmsOfSteel | adeb53295abfa236a273c2641f3f9f4d4c6110e1 | [
"Apache-2.0"
] | null | null | null | engine/source/graphics/OpenGLIndexBuffer.cpp | lechkulina/RealmsOfSteel | adeb53295abfa236a273c2641f3f9f4d4c6110e1 | [
"Apache-2.0"
] | null | null | null | engine/source/graphics/OpenGLIndexBuffer.cpp | lechkulina/RealmsOfSteel | adeb53295abfa236a273c2641f3f9f4d4c6110e1 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017 Lech Kulina
*
* This file is part of the Realms Of Steel.
* For conditions of distribution and use, see copyright details in the LICENSE file.
*/
#include <boost/bind.hpp>
#include <boost/range.hpp>
#include <Application/Logger.h>
#include "OpenGLErrors.h"
#include "OpenGLIndexBuffer.h"
st... | 31.587302 | 143 | 0.71407 | lechkulina |
b1590b3100d44b19b6eb9dcea52d8904a5c0735e | 4,048 | cpp | C++ | src/Common/ByteBuffer.cpp | Stral9315/xsngine | 4a4afe21f12483dbe266113b17a4b51ea850ee56 | [
"MIT"
] | 13 | 2015-02-05T22:44:29.000Z | 2021-09-04T21:28:10.000Z | src/Common/ByteBuffer.cpp | Stral9315/xsngine | 4a4afe21f12483dbe266113b17a4b51ea850ee56 | [
"MIT"
] | 47 | 2015-03-23T14:11:06.000Z | 2017-05-21T05:14:57.000Z | src/Common/ByteBuffer.cpp | Stral9315/xsngine | 4a4afe21f12483dbe266113b17a4b51ea850ee56 | [
"MIT"
] | 7 | 2015-04-29T00:48:23.000Z | 2018-04-01T13:12:40.000Z | #include <map>
#include "Common/Common.h"
#include "Common/File.h"
#include "Common/ByteBuffer.h"
// write-only buffer
ByteBuffer::ByteBuffer()
: reading( false )
{
}
// read-only buffer
ByteBuffer::ByteBuffer( const void *data, size_t dataLen )
: reading( true )
{
Resize( dataLen );
std::memcpy( &buffer[0], data,... | 22.120219 | 88 | 0.666996 | Stral9315 |
b15c27327aa2f5ea9f8d0fbf08bbcb8640737126 | 166 | hh | C++ | src/elle/BadAlloc.hh | infinitio/elle | d9bec976a1217137436db53db39cda99e7024ce4 | [
"Apache-2.0"
] | 521 | 2016-02-14T00:39:01.000Z | 2022-03-01T22:39:25.000Z | src/elle/BadAlloc.hh | infinitio/elle | d9bec976a1217137436db53db39cda99e7024ce4 | [
"Apache-2.0"
] | 8 | 2017-02-21T11:47:33.000Z | 2018-11-01T09:37:14.000Z | src/elle/BadAlloc.hh | infinitio/elle | d9bec976a1217137436db53db39cda99e7024ce4 | [
"Apache-2.0"
] | 48 | 2017-02-21T10:18:13.000Z | 2022-03-25T02:35:20.000Z | #pragma once
#include <elle/Error.hh>
namespace elle
{
/// Equivalent of std::bad_alloc.
class BadAlloc
: public Error
{
public:
BadAlloc();
};
}
| 11.066667 | 35 | 0.620482 | infinitio |
b15ebf2e31cc4b1dcf3b8c6e4b4c5a88ad8c50ca | 5,211 | cpp | C++ | libs/move/test/copy_elision_test.cpp | ballisticwhisper/boost | f72119ab640b564c4b983bd457457046b52af9ee | [
"BSL-1.0"
] | 11 | 2016-04-12T16:29:29.000Z | 2021-06-28T11:01:57.000Z | libs/move/test/copy_elision_test.cpp | ballisticwhisper/boost | f72119ab640b564c4b983bd457457046b52af9ee | [
"BSL-1.0"
] | 3 | 2018-10-31T19:35:14.000Z | 2019-06-04T17:11:27.000Z | libs/move/test/copy_elision_test.cpp | ballisticwhisper/boost | f72119ab640b564c4b983bd457457046b52af9ee | [
"BSL-1.0"
] | 9 | 2015-09-09T02:38:32.000Z | 2021-01-30T00:24:24.000Z | // Copyright David Abrahams 2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/move/detail/config_begin.hpp>
#include <iostream>
#ifdef NO_MOVE
# undef BOOST_COPY_ASSIGN_REF
# define BOOST_COPY_... | 29.948276 | 100 | 0.452504 | ballisticwhisper |
b15fbd215a8372d398c4c3097e008a0d26a1d09a | 141 | hpp | C++ | 6kyu-reverse-or-rotate/include/revrot.hpp | Chris-1101/codewars-cpp | fc70d1e1e13b4622157fc34089d653e3d27aba85 | [
"MIT"
] | 1 | 2019-10-11T17:55:45.000Z | 2019-10-11T17:55:45.000Z | 6kyu-reverse-or-rotate/include/revrot.hpp | Chris-1101/codewars | fc70d1e1e13b4622157fc34089d653e3d27aba85 | [
"MIT"
] | null | null | null | 6kyu-reverse-or-rotate/include/revrot.hpp | Chris-1101/codewars | fc70d1e1e13b4622157fc34089d653e3d27aba85 | [
"MIT"
] | null | null | null | #ifndef REVROT_H
#define REVROT_H
class RevRot
{
public:
static std::string revRot(const std::string &str, unsigned int sz);
};
#endif
| 12.818182 | 69 | 0.716312 | Chris-1101 |
b161d098239defe09ca05af842ef259f517698a3 | 9,910 | cpp | C++ | Source/platform/graphics/GraphicsContextTest.cpp | igordmn/blink-typo | 4b25f34cb6580373beb900fd46886e05604fe6c3 | [
"BSD-3-Clause"
] | null | null | null | Source/platform/graphics/GraphicsContextTest.cpp | igordmn/blink-typo | 4b25f34cb6580373beb900fd46886e05604fe6c3 | [
"BSD-3-Clause"
] | null | null | null | Source/platform/graphics/GraphicsContextTest.cpp | igordmn/blink-typo | 4b25f34cb6580373beb900fd46886e05604fe6c3 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2012 Google 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condition... | 36.036364 | 111 | 0.704238 | igordmn |
b164998f0cf9134fd82f0420634bba705f24ac29 | 2,033 | cc | C++ | cpp/core/internal/bandwidth_upgrade_manager.cc | jdapena/nearby-connections | ae277748ce068ef1730d5104002d4324fc4ed89e | [
"Apache-2.0"
] | null | null | null | cpp/core/internal/bandwidth_upgrade_manager.cc | jdapena/nearby-connections | ae277748ce068ef1730d5104002d4324fc4ed89e | [
"Apache-2.0"
] | null | null | null | cpp/core/internal/bandwidth_upgrade_manager.cc | jdapena/nearby-connections | ae277748ce068ef1730d5104002d4324fc4ed89e | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 36.303571 | 78 | 0.777668 | jdapena |
b166416379d7abc252af8e309d6cecb0a9d4fdad | 1,362 | hpp | C++ | src/converter_mod_ster.hpp | barendgehrels/tissot | b0d983a57bcd4d283c0f4ef8d23abea2e2893c3f | [
"BSL-1.0"
] | 1 | 2015-05-17T11:15:43.000Z | 2015-05-17T11:15:43.000Z | src/converter_mod_ster.hpp | barendgehrels/tissot | b0d983a57bcd4d283c0f4ef8d23abea2e2893c3f | [
"BSL-1.0"
] | null | null | null | src/converter_mod_ster.hpp | barendgehrels/tissot | b0d983a57bcd4d283c0f4ef8d23abea2e2893c3f | [
"BSL-1.0"
] | null | null | null | #ifndef TISSOT_CONVERTER_MOD_STER_HPP
#define TISSOT_CONVERTER_MOD_STER_HPP
// Tissot, converts projecton source code (Proj4) to Boost.Geometry
// (or potentially other source code)
//
// Copyright (c) 2015 Barend Gehrels, Amsterdam, the Netherlands.
//
// Use, modification and distribution is subject to the Boost Sof... | 26.192308 | 79 | 0.633627 | barendgehrels |
b16d5019a4408c691262b73a6fb71c6229bb470e | 15,881 | cc | C++ | OpenVDB/include/openvdb/unittest/TestPointAttribute.cc | Vsevolod1983/RadeonProRenderSharedComponents | d9e34611e1148234afa48de4509afb72e1af138a | [
"BSL-1.0",
"Apache-2.0",
"MIT"
] | null | null | null | OpenVDB/include/openvdb/unittest/TestPointAttribute.cc | Vsevolod1983/RadeonProRenderSharedComponents | d9e34611e1148234afa48de4509afb72e1af138a | [
"BSL-1.0",
"Apache-2.0",
"MIT"
] | 1 | 2021-03-11T16:26:01.000Z | 2021-03-11T16:26:01.000Z | OpenVDB/include/openvdb/unittest/TestPointAttribute.cc | Vsevolod1983/RadeonProRenderSharedComponents | d9e34611e1148234afa48de4509afb72e1af138a | [
"BSL-1.0",
"Apache-2.0",
"MIT"
] | 8 | 2020-05-13T15:46:11.000Z | 2021-12-02T16:11:18.000Z | // Copyright Contributors to the OpenVDB Project
// SPDX-License-Identifier: MPL-2.0
#include <cppunit/extensions/HelperMacros.h>
#include <openvdb/points/AttributeArrayString.h>
#include <openvdb/points/PointAttribute.h>
#include <openvdb/points/PointConversion.h>
#include <vector>
using namespace openvdb;
using nam... | 36.508046 | 101 | 0.661167 | Vsevolod1983 |
b172740923b23f1b7a0fd29ddbd8758dab4c2c54 | 386 | cpp | C++ | scss/class/class5.cpp | chth2116/Faux-Compania | c8bc0e06ee5c67c59334195817b831481b9125ee | [
"MIT"
] | null | null | null | scss/class/class5.cpp | chth2116/Faux-Compania | c8bc0e06ee5c67c59334195817b831481b9125ee | [
"MIT"
] | null | null | null | scss/class/class5.cpp | chth2116/Faux-Compania | c8bc0e06ee5c67c59334195817b831481b9125ee | [
"MIT"
] | null | null | null | #include<iostream>
using namespace std;
struct node{
int key;
node *next;
node(int k, node *n){
key = k;
next = n;
}
};
int main(){
node *x = new node(5, NULL);
//print x.key
cout << x->key << endl; //(*x).key
node *x2 = new node(6, NULL);
x->next = x2;
cout << x2 << endl;
cout << x->n... | 14.296296 | 36 | 0.512953 | chth2116 |
b17984fe9efc38a426be868f1ca06b935f0be8dd | 2,012 | cc | C++ | src/inspector/channel.cc | chrmoritz/rusty_v8 | 7a233e277ea89f864a486734db56d490c66cc2ad | [
"MIT"
] | null | null | null | src/inspector/channel.cc | chrmoritz/rusty_v8 | 7a233e277ea89f864a486734db56d490c66cc2ad | [
"MIT"
] | null | null | null | src/inspector/channel.cc | chrmoritz/rusty_v8 | 7a233e277ea89f864a486734db56d490c66cc2ad | [
"MIT"
] | null | null | null | #include "v8/include/v8-inspector.h"
#include "../support.h"
using namespace v8_inspector;
using namespace support;
extern "C" {
void v8_inspector__V8Inspector__Channel__BASE__sendResponse(
V8Inspector::Channel& self,
int callId,
StringBuffer* message);
void v8_inspector__V8Inspector__Channel__BASE__sendN... | 34.101695 | 80 | 0.757455 | chrmoritz |
b17a208db9340bc6e9b7b44e8137b8822224ad9b | 1,952 | cpp | C++ | tree/117_Populating_Next_Right_Pointers_in_Each_Node_II.cpp | zephyr-fun/LeetCodeSolution | adab165bcd269daf3e611a26187977ccd458d02a | [
"MIT"
] | null | null | null | tree/117_Populating_Next_Right_Pointers_in_Each_Node_II.cpp | zephyr-fun/LeetCodeSolution | adab165bcd269daf3e611a26187977ccd458d02a | [
"MIT"
] | null | null | null | tree/117_Populating_Next_Right_Pointers_in_Each_Node_II.cpp | zephyr-fun/LeetCodeSolution | adab165bcd269daf3e611a26187977ccd458d02a | [
"MIT"
] | null | null | null | /***
* Author: zephyr
* Date: 2020-12-17 10:05:59
* LastEditors: zephyr
* LastEditTime: 2020-12-17 10:47:47
* FilePath: \undefinedd:\GithubWorkSpace\LeetCodeSolution\tree\117_Populating_Next_Right_Pointers_in_Each_Node_II.cpp
*/
#include <iostream>
#include <queue>
using namespace std;
/*
// Definition for a Nod... | 24.4 | 118 | 0.552254 | zephyr-fun |
b17e5d03bf789549033662b99c18b040a72d086f | 36,734 | cpp | C++ | cegui/src/RendererModules/Ogre/Renderer.cpp | rubric4b/cegui-0.8.4-tizen | 13456d7a07d697dc276fdc8663e4ca365829aa3a | [
"MIT"
] | 5 | 2016-04-18T23:12:51.000Z | 2022-03-06T05:12:07.000Z | cegui/src/RendererModules/Ogre/Renderer.cpp | rubric4b/cegui-0.8.4-tizen | 13456d7a07d697dc276fdc8663e4ca365829aa3a | [
"MIT"
] | 2 | 2015-10-09T19:13:25.000Z | 2018-12-25T17:16:54.000Z | cegui/src/RendererModules/Ogre/Renderer.cpp | rubric4b/cegui-0.8.4-tizen | 13456d7a07d697dc276fdc8663e4ca365829aa3a | [
"MIT"
] | 15 | 2015-02-23T16:35:28.000Z | 2022-03-25T13:40:33.000Z | /***********************************************************************
created: Tue Feb 17 2009
author: Paul D Turner
*************************************************************************/
/***************************************************************************
* Copyright (C) 2004 - 2013 Pa... | 33.918744 | 121 | 0.566478 | rubric4b |
b182e94f82adf2ad0073eac702032423cb7224b5 | 2,307 | cpp | C++ | module/udp.cpp | changdingfang/dfsrr | 092c2881e2ca85ae59e1f8687bda43814d98bfcb | [
"MIT"
] | 1 | 2021-01-28T11:18:59.000Z | 2021-01-28T11:18:59.000Z | module/udp.cpp | changdingfang/dfsrr | 092c2881e2ca85ae59e1f8687bda43814d98bfcb | [
"MIT"
] | null | null | null | module/udp.cpp | changdingfang/dfsrr | 092c2881e2ca85ae59e1f8687bda43814d98bfcb | [
"MIT"
] | null | null | null | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
// FileName: udp.cpp
// Author: dingfang
// CreateDate: 2020-10-15 21:17:41
// ModifyAuthor: dingfang
// ModifyDate: 2020-10-20 20:13:27
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
#include "dflog/df... | 25.633333 | 110 | 0.461205 | changdingfang |
b18468691b69e58733ff0333d27de663b7729036 | 8,466 | cpp | C++ | src/slideCurve2.cpp | JaschaW/mgear_solvers | 39638e7d01d294e823eadb5e04f6b94b201c987b | [
"MIT"
] | 94 | 2017-12-16T07:42:06.000Z | 2022-03-28T07:40:04.000Z | src/slideCurve2.cpp | Mikfr83/mgear4 | 2fa28080027f1004e8e0139ccf93f7ec2448b1fd | [
"MIT"
] | 101 | 2020-09-28T19:53:53.000Z | 2022-03-31T01:44:41.000Z | src/slideCurve2.cpp | Mikfr83/mgear4 | 2fa28080027f1004e8e0139ccf93f7ec2448b1fd | [
"MIT"
] | 32 | 2020-10-09T10:49:45.000Z | 2022-03-31T08:27:37.000Z | /*
MGEAR is under the terms of the MIT License
Copyright (c) 2016 Jeremie Passerin, Miquel Campos
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 limitatio... | 34.275304 | 119 | 0.625561 | JaschaW |
b18b14092ae156e2103ae1f311d5e72abf1ad2ee | 4,191 | cpp | C++ | visa/iga/IGALibrary/strings.cpp | downor/intel-graphics-compiler | a74ceb6256932abc809043dcb846d25260e2809e | [
"MIT"
] | null | null | null | visa/iga/IGALibrary/strings.cpp | downor/intel-graphics-compiler | a74ceb6256932abc809043dcb846d25260e2809e | [
"MIT"
] | null | null | null | visa/iga/IGALibrary/strings.cpp | downor/intel-graphics-compiler | a74ceb6256932abc809043dcb846d25260e2809e | [
"MIT"
] | null | null | null | /*===================== begin_copyright_notice ==================================
Copyright (c) 2017 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, includi... | 25.095808 | 81 | 0.62157 | downor |
b18bef02e641a004ed3dbcbd6a47a783712cf6b8 | 2,754 | hpp | C++ | Source/AllProjects/Utilities/CQCSrvDrvTI/CQCSrvDrvTI.hpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 51 | 2020-12-26T18:17:16.000Z | 2022-03-15T04:29:35.000Z | Source/AllProjects/Utilities/CQCSrvDrvTI/CQCSrvDrvTI.hpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | null | null | null | Source/AllProjects/Utilities/CQCSrvDrvTI/CQCSrvDrvTI.hpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 4 | 2020-12-28T07:24:39.000Z | 2021-12-29T12:09:37.000Z | //
// FILE NAME: CQCSrvDrvTI.hpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 03/01/20`8
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2020
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://opensource.... | 33.180723 | 84 | 0.523239 | MarkStega |
b18cb18159b38bd36d010fc0310a9717b9e563a7 | 8,616 | hpp | C++ | UserDefinedLiterals.hpp | lpha-z/lbiz | 0444fbabb3556261a0d3b1a5c61b03fb12b3f614 | [
"MIT"
] | 2 | 2019-03-03T14:44:13.000Z | 2020-03-01T15:09:01.000Z | UserDefinedLiterals.hpp | lpha-z/lbiz | 0444fbabb3556261a0d3b1a5c61b03fb12b3f614 | [
"MIT"
] | null | null | null | UserDefinedLiterals.hpp | lpha-z/lbiz | 0444fbabb3556261a0d3b1a5c61b03fb12b3f614 | [
"MIT"
] | null | null | null | #ifndef LBIZ_USERDEFINEDLITERALS_HPP
#define LBIZ_USERDEFINEDLITERALS_HPP
#include "BigInt.hpp"
#include "BigFixed.hpp"
#include "lfl/lfl.hpp"
namespace lbiz
{
namespace detail
{
struct pred_e { constexpr bool operator()( char c ) const { return c == 'e' || c == 'E'; } };
struct pred_floatingpoint {... | 43.959184 | 191 | 0.653668 | lpha-z |
b191fabc18ebfd3f39432b2028e7941723b59e64 | 3,350 | cpp | C++ | FEAMR/FEDomainErrorCriterion.cpp | chunkeey/FEBio | c00862520142816f52038a28be2e7543eae54dc7 | [
"MIT"
] | null | null | null | FEAMR/FEDomainErrorCriterion.cpp | chunkeey/FEBio | c00862520142816f52038a28be2e7543eae54dc7 | [
"MIT"
] | null | null | null | FEAMR/FEDomainErrorCriterion.cpp | chunkeey/FEBio | c00862520142816f52038a28be2e7543eae54dc7 | [
"MIT"
] | null | null | null | /*This file is part of the FEBio source code and is licensed under the MIT license
listed below.
See Copyright-FEBio.txt for details.
Copyright (c) 2020 University of Utah, The Trustees of Columbia University in
the City of New York, and others.
Permission is hereby granted, free of charge, to any person obtaining a... | 29.385965 | 90 | 0.717015 | chunkeey |
b1975a68329fa9432c2b7bf1eceebdf077e26430 | 3,734 | cc | C++ | speech/api/async_transcribe.cc | HMS-LIG/cpp-docs-samples | 1e310627eff96de1194afe3276a19cee2491ece4 | [
"Apache-2.0"
] | 1 | 2019-09-05T19:55:01.000Z | 2019-09-05T19:55:01.000Z | speech/api/async_transcribe.cc | HMS-LIG/cpp-docs-samples | 1e310627eff96de1194afe3276a19cee2491ece4 | [
"Apache-2.0"
] | null | null | null | speech/api/async_transcribe.cc | HMS-LIG/cpp-docs-samples | 1e310627eff96de1194afe3276a19cee2491ece4 | [
"Apache-2.0"
] | null | null | null | // Copyright 2016 Google 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 applicable law or agreed to in ... | 36.607843 | 84 | 0.68827 | HMS-LIG |
b19bfa07ccdcfa48a2f015f9a1fd3725b58d2a48 | 3,130 | hpp | C++ | alignment/algorithms/sorting/LightweightSuffixArray.hpp | ggraham/blasr_libcpp | 4abef36585bbb677ebc4acb9d4e44e82331d59f7 | [
"RSA-MD"
] | 4 | 2015-07-03T11:59:54.000Z | 2018-05-17T00:03:22.000Z | alignment/algorithms/sorting/LightweightSuffixArray.hpp | ggraham/blasr_libcpp | 4abef36585bbb677ebc4acb9d4e44e82331d59f7 | [
"RSA-MD"
] | 79 | 2015-06-29T18:07:21.000Z | 2018-09-19T13:38:39.000Z | alignment/algorithms/sorting/LightweightSuffixArray.hpp | ggraham/blasr_libcpp | 4abef36585bbb677ebc4acb9d4e44e82331d59f7 | [
"RSA-MD"
] | 19 | 2015-06-23T08:43:29.000Z | 2021-04-28T18:37:47.000Z | #ifndef ALGORITHMS_SORTING_LIGHTWEIGHT_SUFFIX_ARRAY_H_
#define ALGORITHMS_SORTING_LIGHTWEIGHT_SUFFIX_ARRAY_H_
#include <algorithm>
#include <pbdata/Types.h>
#include <alignment/algorithms/sorting/DifferenceCovers.hpp>
#include <alignment/algorithms/sorting/MultikeyQuicksort.hpp>
#include <alignment/algorithms/sorting... | 30.686275 | 99 | 0.700639 | ggraham |
b19d274f3ae2fda7200bc85315eb1bfdd11a71b5 | 12,932 | cpp | C++ | libs/vm-modules/tests/unit/math/tensor_estimator_tests.cpp | denis-trapeznikov/ledger | a1f76788a76837a8495d8b76f9b84fee45cfca21 | [
"Apache-2.0"
] | 96 | 2018-08-23T16:49:05.000Z | 2021-11-25T00:47:16.000Z | libs/vm-modules/tests/unit/math/tensor_estimator_tests.cpp | denis-trapeznikov/ledger | a1f76788a76837a8495d8b76f9b84fee45cfca21 | [
"Apache-2.0"
] | 1,011 | 2018-08-17T12:25:21.000Z | 2021-11-18T09:30:19.000Z | libs/vm-modules/tests/unit/math/tensor_estimator_tests.cpp | denis-trapeznikov/ledger | a1f76788a76837a8495d8b76f9b84fee45cfca21 | [
"Apache-2.0"
] | 65 | 2018-08-20T20:05:40.000Z | 2022-02-26T23:54:35.000Z | //------------------------------------------------------------------------------
//
// Copyright 2018-2020 Fetch.AI Limited
//
// 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.22409 | 99 | 0.633545 | denis-trapeznikov |
b19d55045bf6d3913b655108859581fb11c81349 | 1,026 | cpp | C++ | src/YArenaOdorController/Constants.cpp | janelia-arduino/YArenaOdorController | 7996a7ef24e92bd971927f1fbccd133a87c36f73 | [
"BSD-3-Clause"
] | null | null | null | src/YArenaOdorController/Constants.cpp | janelia-arduino/YArenaOdorController | 7996a7ef24e92bd971927f1fbccd133a87c36f73 | [
"BSD-3-Clause"
] | null | null | null | src/YArenaOdorController/Constants.cpp | janelia-arduino/YArenaOdorController | 7996a7ef24e92bd971927f1fbccd133a87c36f73 | [
"BSD-3-Clause"
] | 1 | 2020-08-18T19:34:12.000Z | 2020-08-18T19:34:12.000Z | // ----------------------------------------------------------------------------
// Constants.cpp
//
//
// Authors:
// Peter Polidoro peter@polidoro.io
// ----------------------------------------------------------------------------
#include "Constants.h"
namespace y_arena_odor_controller
{
namespace constants
{
CONSTA... | 21.375 | 79 | 0.669591 | janelia-arduino |
b19ed0bd3e7263fdccfaeaff255af04cccccbc7b | 269 | cc | C++ | src/ast/dec.cc | MrMaDGaME/Tiger | f31f73cd386b3ccb3e02abe7b23a3de09d70bd0f | [
"MIT"
] | null | null | null | src/ast/dec.cc | MrMaDGaME/Tiger | f31f73cd386b3ccb3e02abe7b23a3de09d70bd0f | [
"MIT"
] | null | null | null | src/ast/dec.cc | MrMaDGaME/Tiger | f31f73cd386b3ccb3e02abe7b23a3de09d70bd0f | [
"MIT"
] | null | null | null | /**
** \file ast/dec.cc
** \brief Implementation of ast::Dec.
*/
#include <ast/dec.hh>
#include <ast/visitor.hh>
namespace ast
{
Dec::Dec(const Location& location, misc::symbol name)
: Ast(location)
, Typable()
, name_(name)
{}
} // namespace ast
| 14.944444 | 55 | 0.613383 | MrMaDGaME |
b1a057aa0a45ce2119cd0480c551579c48ed0b74 | 375 | hpp | C++ | include/locic/CodeGen/GenABIType.hpp | scross99/locic | a24bb380e17f8af69e7389acf8ce354c91a2abf3 | [
"MIT"
] | 80 | 2015-02-19T21:38:57.000Z | 2016-05-25T06:53:12.000Z | include/locic/CodeGen/GenABIType.hpp | scross99/locic | a24bb380e17f8af69e7389acf8ce354c91a2abf3 | [
"MIT"
] | 8 | 2015-02-20T09:47:20.000Z | 2015-11-13T07:49:17.000Z | include/locic/CodeGen/GenABIType.hpp | scross99/locic | a24bb380e17f8af69e7389acf8ce354c91a2abf3 | [
"MIT"
] | 6 | 2015-02-20T11:26:19.000Z | 2016-04-13T14:30:39.000Z | #ifndef LOCIC_CODEGEN_GENABITYPE_HPP
#define LOCIC_CODEGEN_GENABITYPE_HPP
#include <llvm-abi/ABI.hpp>
#include <llvm-abi/Type.hpp>
#include <locic/CodeGen/Module.hpp>
namespace locic {
namespace CodeGen {
llvm_abi::Type genABIArgType(Module& module, const AST::Type* type);
llvm_abi::Type genABIType(Mod... | 15.625 | 70 | 0.733333 | scross99 |
b1a11a94d974c83b71bc280ad4a6c815786d5760 | 1,143 | cc | C++ | lab4/provided/tag_array.cc | jennifersalas/ECS154B | ba90d582726bd9f272e74907e2946cf7b982db9f | [
"CC-BY-4.0"
] | null | null | null | lab4/provided/tag_array.cc | jennifersalas/ECS154B | ba90d582726bd9f272e74907e2946cf7b982db9f | [
"CC-BY-4.0"
] | null | null | null | lab4/provided/tag_array.cc | jennifersalas/ECS154B | ba90d582726bd9f272e74907e2946cf7b982db9f | [
"CC-BY-4.0"
] | null | null | null |
#include <cassert>
#include <iostream>
#include "tag_array.hh"
TagArray::TagArray(int lines, int state_bits, int tag_bits) :
lines(lines), stateBits(state_bits), tagBits(tag_bits)
{
assert(stateBits <= 32);
assert(tagBits <= 64);
assert(lines > 0);
tags.resize(lines, 0);
states.resize(lines... | 17.059701 | 61 | 0.63867 | jennifersalas |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.