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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
04e50efb75b1054fa5c0a1949ead6a43cc9b6226 | 1,829 | cpp | C++ | src/class.cpp | Oberon00/apollo | 831f4e505afaa04ea827e99f4ced247bb0f0e476 | [
"BSD-2-Clause"
] | 25 | 2016-01-04T23:07:06.000Z | 2022-03-03T11:24:55.000Z | src/class.cpp | Oberon00/apollo | 831f4e505afaa04ea827e99f4ced247bb0f0e476 | [
"BSD-2-Clause"
] | 2 | 2018-05-21T18:15:49.000Z | 2018-05-21T18:47:05.000Z | src/class.cpp | Oberon00/apollo | 831f4e505afaa04ea827e99f4ced247bb0f0e476 | [
"BSD-2-Clause"
] | 6 | 2019-12-05T04:05:06.000Z | 2022-03-03T11:24:38.000Z | // Part of the apollo library -- Copyright (c) Christian Neumüller 2015
// This file is subject to the terms of the BSD 2-Clause License.
// See LICENSE.txt or http://opensource.org/licenses/BSD-2-Clause
#include <apollo/class.hpp>
#include <apollo/gc.hpp>
static apollo::detail::light_key object_tag = {};
static int... | 29.031746 | 80 | 0.655549 | Oberon00 |
04e68d245006b55e891ecd5d424b5f0885f02cbb | 438 | cpp | C++ | Easy/374_Guess_Number_Higher_Or_Lower.cpp | ShehabMMohamed/LeetCodeCPP | 684340f29ac15c5e8fa9f6ef5c3f99d4c95ce780 | [
"MIT"
] | 1 | 2021-03-15T10:02:10.000Z | 2021-03-15T10:02:10.000Z | Easy/374_Guess_Number_Higher_Or_Lower.cpp | ShehabMMohamed/LeetCodeCPP | 684340f29ac15c5e8fa9f6ef5c3f99d4c95ce780 | [
"MIT"
] | null | null | null | Easy/374_Guess_Number_Higher_Or_Lower.cpp | ShehabMMohamed/LeetCodeCPP | 684340f29ac15c5e8fa9f6ef5c3f99d4c95ce780 | [
"MIT"
] | null | null | null | // Forward declaration of guess API.
// @param num, your guess
// @return -1 if my number is lower, 1 if my number is higher, otherwise return 0
int guess(int num);
class Solution {
public:
int guessNumber(int n) {
return play_game(1, n);
}
int play_game(int low, int high) {
int m = low + (h... | 31.285714 | 97 | 0.598174 | ShehabMMohamed |
04e6ee530837194b39a5153b543d7e68621b0acf | 2,327 | hpp | C++ | source/timemory/data/functional.hpp | mhaseeb123/timemory | 815bb68edf8a36f309d43a911ef7e39da08ce5ae | [
"MIT"
] | 1 | 2021-04-21T13:08:27.000Z | 2021-04-21T13:08:27.000Z | source/timemory/data/functional.hpp | mhaseeb123/timemory | 815bb68edf8a36f309d43a911ef7e39da08ce5ae | [
"MIT"
] | 1 | 2020-10-30T03:44:18.000Z | 2020-11-05T22:07:19.000Z | source/timemory/data/functional.hpp | mhaseeb123/timemory | 815bb68edf8a36f309d43a911ef7e39da08ce5ae | [
"MIT"
] | null | null | null | // MIT License
//
// Copyright (c) 2020, The Regents of the University of California,
// through Lawrence Berkeley National Laboratory (subject to receipt of any
// required approvals from the U.S. Dept. of Energy). All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy... | 28.728395 | 80 | 0.702621 | mhaseeb123 |
04e75e00d13ede9fdfaabd56a1494e95d0f1cd11 | 55,595 | cpp | C++ | compiler/parser.cpp | dmdecz/DM-MiniSQL | 93a56e2d1a269715e53e70e0ee112f7f37e97a88 | [
"MIT"
] | null | null | null | compiler/parser.cpp | dmdecz/DM-MiniSQL | 93a56e2d1a269715e53e70e0ee112f7f37e97a88 | [
"MIT"
] | null | null | null | compiler/parser.cpp | dmdecz/DM-MiniSQL | 93a56e2d1a269715e53e70e0ee112f7f37e97a88 | [
"MIT"
] | null | null | null | // A Bison parser, made by GNU Bison 3.4.1.
// Skeleton implementation for Bison LALR(1) parsers in C++
// Copyright (C) 2002-2015, 2018-2019 Free Software Foundation, Inc.
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
... | 34.170252 | 209 | 0.562407 | dmdecz |
04e90aa196259a0992c63a9336d733d2b3ba37ce | 274 | cpp | C++ | src/hsp3/linux/hsp3ext_linux.cpp | m4saka/OpenHSP | 391f0a2100e701138d0610a5b94492d6f57ad1f2 | [
"BSD-3-Clause"
] | null | null | null | src/hsp3/linux/hsp3ext_linux.cpp | m4saka/OpenHSP | 391f0a2100e701138d0610a5b94492d6f57ad1f2 | [
"BSD-3-Clause"
] | null | null | null | src/hsp3/linux/hsp3ext_linux.cpp | m4saka/OpenHSP | 391f0a2100e701138d0610a5b94492d6f57ad1f2 | [
"BSD-3-Clause"
] | null | null | null |
//
// HSP3 External program manager (dummy)
// onion software/onitama 2004/6
//
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "hsp3ext_linux.h"
void hsp3typeinit_dllcmd( HSP3TYPEINFO *info )
{
}
void hsp3typeinit_dllctrl( HSP3TYPEINFO *info )
{
}
| 13.7 | 47 | 0.718978 | m4saka |
04e9e4057207faa5efe2c9538f8d03658fb50abb | 5,244 | hpp | C++ | include/System/ComponentModel/EditorBrowsableAttribute.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/System/ComponentModel/EditorBrowsableAttribute.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/System/ComponentModel/EditorBrowsableAttribute.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: System.Attribute
#include "... | 52.44 | 208 | 0.746568 | RedBrumbler |
04ea19b6bcee624c4eb7001cb0ca52b23154a017 | 2,017 | cpp | C++ | contests/leetcode-2020spring/d.cpp | Nightwish-cn/my_leetcode | 40f206e346f3f734fb28f52b9cde0e0041436973 | [
"MIT"
] | 23 | 2020-03-30T05:44:56.000Z | 2021-09-04T16:00:57.000Z | contests/leetcode-2020spring/d.cpp | Nightwish-cn/my_leetcode | 40f206e346f3f734fb28f52b9cde0e0041436973 | [
"MIT"
] | 1 | 2020-05-10T15:04:05.000Z | 2020-06-14T01:21:44.000Z | contests/leetcode-2020spring/d.cpp | Nightwish-cn/my_leetcode | 40f206e346f3f734fb28f52b9cde0e0041436973 | [
"MIT"
] | 6 | 2020-03-30T05:45:04.000Z | 2020-08-13T10:01:39.000Z | #include <bits/stdc++.h>
#define INF 2000000000
using namespace std;
typedef long long ll;
int read(){
int f = 1, x = 0;
char c = getchar();
while(c < '0' || c > '9'){if(c == '-') f = -f; c = getchar();}
while(c >= '0' && c <= '9')x = x * 10 + c - '0', c = getchar();
return f * x;
}
struct TreeNod... | 21.923913 | 67 | 0.446703 | Nightwish-cn |
04ea6d7dc99d806aa6e510ad4dbcc569c9ed63bf | 1,490 | cpp | C++ | Sources/Sapphire/compute/dense/naive/NaiveCrossEntropy.cpp | sukim96/Sapphire | 7eba047a376d2bfa6cc3182daa143cbe659a1c18 | [
"MIT"
] | 6 | 2021-07-06T10:52:33.000Z | 2021-12-30T11:30:04.000Z | Sources/Sapphire/compute/dense/naive/NaiveCrossEntropy.cpp | sukim96/Sapphire | 7eba047a376d2bfa6cc3182daa143cbe659a1c18 | [
"MIT"
] | 1 | 2022-01-07T12:18:03.000Z | 2022-01-08T12:23:13.000Z | Sources/Sapphire/compute/dense/naive/NaiveCrossEntropy.cpp | sukim96/Sapphire | 7eba047a376d2bfa6cc3182daa143cbe659a1c18 | [
"MIT"
] | 3 | 2021-12-05T06:21:50.000Z | 2022-01-09T12:44:23.000Z | // Copyright (c) 2021, Justin Kim
// We are making my contributions/submissions to this project solely in our
// personal capacity and are not conveying any rights to any intellectual
// property of any third parties.
#define MIN_FLOAT 1.17549e-30f
#include <Sapphire/compute/dense/naive/NaiveCrossEntropy.hpp>
#inclu... | 28.113208 | 78 | 0.506711 | sukim96 |
04eb0a954cad011f317dccf9516021c865a5a1e9 | 6,708 | hpp | C++ | include/rapidcheck/Show.hpp | bantamtools/rapidcheck | 4187d901e786b1d89ab30e6b72ac1c0fc3d902cf | [
"BSD-2-Clause"
] | null | null | null | include/rapidcheck/Show.hpp | bantamtools/rapidcheck | 4187d901e786b1d89ab30e6b72ac1c0fc3d902cf | [
"BSD-2-Clause"
] | 1 | 2018-08-20T19:04:31.000Z | 2018-08-20T19:04:31.000Z | include/rapidcheck/Show.hpp | bantamtools/rapidcheck | 4187d901e786b1d89ab30e6b72ac1c0fc3d902cf | [
"BSD-2-Clause"
] | null | null | null | #pragma once
#include <map>
#include <vector>
#include <deque>
#include <forward_list>
#include <list>
#include <set>
#include <unordered_set>
#include <unordered_map>
#include <memory>
#include <cstdint>
#include <type_traits>
#include <array>
#include <sstream>
#include "rapidcheck/detail/Traits.h"
namespace rc {
... | 27.95 | 80 | 0.634466 | bantamtools |
04ed2a486a5f78dc27419c7a37bdacc4ba8b362a | 3,785 | cpp | C++ | Minecraft_Advancements/settings/database.cpp | Chucky2401/Minecraft-Advancements | 623a8923792af7925738b3db2a3f8590e92a32fb | [
"Apache-2.0"
] | 2 | 2020-06-24T19:07:36.000Z | 2020-11-10T12:04:35.000Z | Minecraft_Advancements/settings/database.cpp | Chucky2401/Minecraft-Advancements | 623a8923792af7925738b3db2a3f8590e92a32fb | [
"Apache-2.0"
] | 19 | 2020-05-08T10:50:53.000Z | 2020-08-19T14:18:52.000Z | Minecraft_Advancements/settings/database.cpp | Chucky2401/Minecraft-Advancements | 623a8923792af7925738b3db2a3f8590e92a32fb | [
"Apache-2.0"
] | 1 | 2021-05-21T13:27:04.000Z | 2021-05-21T13:27:04.000Z | #include "database.h"
database::database() {
}
database::~database() {
this->base.close();
}
void database::initialisation(bool test) {
param.initialisation(test);
}
/*
* Fonction d'ouverture de la connexion à la Base de données
*/
bool database::createConnection(QString name)
{
bool bCreationReussi... | 25.402685 | 102 | 0.602114 | Chucky2401 |
04ed4e52ad916c362db9388ca495e7ecff2eaba7 | 954 | cpp | C++ | src/main.cpp | mojyack/ResourceWrapper | 2bede6c7c43f737aef27f6e0db558a56569492d4 | [
"MIT"
] | null | null | null | src/main.cpp | mojyack/ResourceWrapper | 2bede6c7c43f737aef27f6e0db558a56569492d4 | [
"MIT"
] | null | null | null | src/main.cpp | mojyack/ResourceWrapper | 2bede6c7c43f737aef27f6e0db558a56569492d4 | [
"MIT"
] | null | null | null | #include <array>
#include <Windows.h>
#include "hook/error.hpp"
#include "hook/hook.hpp"
namespace {
auto execute(PROCESS_INFORMATION& info, const wchar_t* const path) {
auto startup = STARTUPINFOW{0};
return CreateProcessW(
path,
NULL,
NULL,
... | 27.257143 | 186 | 0.578616 | mojyack |
04f23c1b7066f9caaa838d2c6ebc6c622dd8ef6c | 5,044 | cpp | C++ | unit-testings/imu-test.cpp | jrl-umi3218/state-observation | bd4f1b7e64a0a3b393f63f69219c061200793d35 | [
"BSD-2-Clause"
] | 11 | 2018-11-01T16:10:48.000Z | 2020-09-09T00:03:46.000Z | unit-testings/imu-test.cpp | mehdi-benallegue/state-observation | cfc703a52380bd15065801f5d87baba4bbb506ce | [
"BSD-2-Clause"
] | 5 | 2019-10-18T09:06:23.000Z | 2021-04-26T04:22:09.000Z | unit-testings/imu-test.cpp | mehdi-benallegue/state-observation | cfc703a52380bd15065801f5d87baba4bbb506ce | [
"BSD-2-Clause"
] | 6 | 2018-06-19T09:00:17.000Z | 2020-11-11T06:14:51.000Z | #include <fstream>
#include <iostream>
#include <state-observation/examples/imu-attitude-trajectory-reconstruction.hpp>
#include <state-observation/noise/gaussian-white-noise.hpp>
using namespace stateObservation;
typedef kine::indexes<kine::rotationVector> indexes;
int test()
{
/// The number of samples
const ... | 28.178771 | 116 | 0.633426 | jrl-umi3218 |
04f2630dd1f68a1618009fc0a4c8f1f2f8e03970 | 4,408 | cxx | C++ | Views/Infovis/vtkTreeRingView.cxx | txwhhny/vtk | 854d9aa87b944bc9079510515996406b98b86f7c | [
"BSD-3-Clause"
] | 1,755 | 2015-01-03T06:55:00.000Z | 2022-03-29T05:23:26.000Z | Views/Infovis/vtkTreeRingView.cxx | txwhhny/vtk | 854d9aa87b944bc9079510515996406b98b86f7c | [
"BSD-3-Clause"
] | 29 | 2015-04-23T20:58:30.000Z | 2022-03-02T16:16:42.000Z | Views/Infovis/vtkTreeRingView.cxx | txwhhny/vtk | 854d9aa87b944bc9079510515996406b98b86f7c | [
"BSD-3-Clause"
] | 1,044 | 2015-01-05T22:48:27.000Z | 2022-03-31T02:38:26.000Z | /*=========================================================================
Program: Visualization Toolkit
Module: vtkTreeRingView.cxx
-------------------------------------------------------------------------
Copyright 2008 Sandia Corporation.
Under the terms of Contract DE-AC04-94AL85000 with Sand... | 30.4 | 80 | 0.532895 | txwhhny |
04f3d8721b0b876874d68bfea7437860f9fc89e2 | 4,144 | cc | C++ | flecsi/execution/test/global_data.cc | manopapad/flecsi | 8bb06e4375f454a0680564c76df2c60ffe49c770 | [
"Unlicense"
] | null | null | null | flecsi/execution/test/global_data.cc | manopapad/flecsi | 8bb06e4375f454a0680564c76df2c60ffe49c770 | [
"Unlicense"
] | null | null | null | flecsi/execution/test/global_data.cc | manopapad/flecsi | 8bb06e4375f454a0680564c76df2c60ffe49c770 | [
"Unlicense"
] | null | null | null | /*
@@@@@@@@ @@ @@@@@@ @@@@@@@@ @@
/@@///// /@@ @@////@@ @@////// /@@
/@@ /@@ @@@@@ @@ // /@@ /@@
/@@@@@@@ /@@ @@///@@/@@ /@@@@@@@@@/@@
/@@//// /@@/@@@@@@@/@@ ////////@@/@@
/@@ /@@/@@//// //@@ @@ /@@/@@
/@@ @@@//@@@@@@ //@@... | 30.696296 | 80 | 0.533301 | manopapad |
04f697acc86401872c11c4c15b7534d3e0c20ea4 | 3,087 | cpp | C++ | example/math/src/math_expm1f.cpp | zhouyan/MCKL | 1d03eb5a879e47e268efc73b1d433611e64307b3 | [
"BSD-2-Clause"
] | 12 | 2016-08-02T17:01:13.000Z | 2021-03-04T12:11:33.000Z | example/math/src/math_expm1f.cpp | zhouyan/MCKL | 1d03eb5a879e47e268efc73b1d433611e64307b3 | [
"BSD-2-Clause"
] | 5 | 2017-05-09T12:05:06.000Z | 2021-03-16T10:39:23.000Z | example/math/src/math_expm1f.cpp | zhouyan/MCKL | 1d03eb5a879e47e268efc73b1d433611e64307b3 | [
"BSD-2-Clause"
] | 2 | 2016-08-25T13:10:29.000Z | 2019-05-01T01:54:29.000Z | //============================================================================
// MCKL/example/math/src/math_expm1f.cpp
//----------------------------------------------------------------------------
// MCKL: Monte Carlo Kernel Library
//----------------------------------------------------------------------------
// Cop... | 42.287671 | 78 | 0.630062 | zhouyan |
04fbf7d66ba3b8e08e4dde69f6c770967d24f055 | 758 | cpp | C++ | src/commands/fade_music_command.cpp | GhostInABottle/octopus_engine | 50429e889493527bdc0e78b307937002e0f2c510 | [
"BSD-2-Clause"
] | 3 | 2017-10-02T03:18:59.000Z | 2020-11-01T09:21:28.000Z | src/commands/fade_music_command.cpp | GhostInABottle/octopus_engine | 50429e889493527bdc0e78b307937002e0f2c510 | [
"BSD-2-Clause"
] | 2 | 2019-04-06T21:48:08.000Z | 2020-05-22T23:38:54.000Z | src/commands/fade_music_command.cpp | GhostInABottle/octopus_engine | 50429e889493527bdc0e78b307937002e0f2c510 | [
"BSD-2-Clause"
] | 1 | 2017-07-17T20:58:26.000Z | 2017-07-17T20:58:26.000Z | #include "../../include/commands/fade_music_command.hpp"
#include "../../include/game.hpp"
#include "../../include/utility/math.hpp"
#include "../../include/xd/audio.hpp"
Fade_Music_Command::Fade_Music_Command(Game& game, float volume, long duration) :
Timed_Command(game, duration),
music(game.get_playing_musi... | 30.32 | 81 | 0.699208 | GhostInABottle |
ca088414aef7ec18e30c591538973ef84368dd73 | 1,460 | cpp | C++ | Project/zoolib/GameEngine/Cog_Indirect.cpp | ElectricMagic/zoolib_cxx | cb3ccfde931b3989cd420fa093153204a7899805 | [
"MIT"
] | 13 | 2015-01-28T21:05:09.000Z | 2021-11-03T22:21:11.000Z | Project/zoolib/GameEngine/Cog_Indirect.cpp | ElectricMagic/zoolib_cxx | cb3ccfde931b3989cd420fa093153204a7899805 | [
"MIT"
] | null | null | null | Project/zoolib/GameEngine/Cog_Indirect.cpp | ElectricMagic/zoolib_cxx | cb3ccfde931b3989cd420fa093153204a7899805 | [
"MIT"
] | 4 | 2018-11-16T08:33:33.000Z | 2021-12-11T19:40:46.000Z | // Copyright (c) 2019 Andrew Green. MIT License. http://www.zoolib.org
#include "zoolib/GameEngine/Cog_Indirect.h"
#include "zoolib/Callable_Indirect.h"
namespace ZooLib {
namespace GameEngine {
// =================================================================================================
#pragma mark - sCog_... | 25.172414 | 100 | 0.689041 | ElectricMagic |
ca09938c2377f316f4322d9f8973721a7d7388c8 | 4,311 | cpp | C++ | pxr/imaging/plugin/hdRpr/renderPass.cpp | superkomar/RadeonProRenderUSD | 6b1db21768038a1f0a35c331369cd2e1f823df48 | [
"Apache-2.0"
] | 1 | 2021-08-20T01:16:36.000Z | 2021-08-20T01:16:36.000Z | pxr/imaging/plugin/hdRpr/renderPass.cpp | superkomar/RadeonProRenderUSD | 6b1db21768038a1f0a35c331369cd2e1f823df48 | [
"Apache-2.0"
] | 1 | 2021-04-03T09:38:59.000Z | 2021-04-03T09:38:59.000Z | pxr/imaging/plugin/hdRpr/renderPass.cpp | superkomar/RadeonProRenderUSD | 6b1db21768038a1f0a35c331369cd2e1f823df48 | [
"Apache-2.0"
] | null | null | null | /************************************************************************
Copyright 2020 Advanced Micro Devices, 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... | 38.150442 | 116 | 0.677801 | superkomar |
ca128d59dc230909b4be23648484907a99599ead | 3,049 | cc | C++ | src/ledger/bin/p2p_sync/impl/ledger_communicator_impl.cc | winksaville/Fuchsia | a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f | [
"BSD-3-Clause"
] | 3 | 2020-08-02T04:46:18.000Z | 2020-08-07T10:10:53.000Z | src/ledger/bin/p2p_sync/impl/ledger_communicator_impl.cc | winksaville/Fuchsia | a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f | [
"BSD-3-Clause"
] | null | null | null | src/ledger/bin/p2p_sync/impl/ledger_communicator_impl.cc | winksaville/Fuchsia | a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f | [
"BSD-3-Clause"
] | 1 | 2020-08-07T10:11:49.000Z | 2020-08-07T10:11:49.000Z | // Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/ledger/bin/p2p_sync/impl/ledger_communicator_impl.h"
#include <lib/fit/function.h>
#include "src/ledger/bin/p2p_sync/impl/flatbuffer_messag... | 37.182927 | 100 | 0.696294 | winksaville |
ca1338da23e44252e723e9fe92f9784bdc41c7a1 | 763 | hpp | C++ | clstatphys/clstatphys/physics/fixed_boundary_normalmode.hpp | FIshikawa/ClassicalStatPhys | e4010480d3c7977829c1b3fdeaf51401a2409373 | [
"MIT"
] | null | null | null | clstatphys/clstatphys/physics/fixed_boundary_normalmode.hpp | FIshikawa/ClassicalStatPhys | e4010480d3c7977829c1b3fdeaf51401a2409373 | [
"MIT"
] | 2 | 2020-01-21T08:54:05.000Z | 2020-01-21T09:29:10.000Z | clstatphys/clstatphys/physics/fixed_boundary_normalmode.hpp | FIshikawa/ClassicalStatPhys | e4010480d3c7977829c1b3fdeaf51401a2409373 | [
"MIT"
] | 2 | 2020-07-18T03:36:32.000Z | 2021-07-21T22:58:27.000Z | #ifndef FIXED_BOUNDARY_NORMALMODE_HPP
#define FIXED_BOUNDARY_NORMALMODE_HPP
#include <vector>
void FixedBoundaryNormalMode(const std::vector<double>& z, std::vector<double>& z_k){
int num_particles = z.size() / 2;
const double *x = &z[0];
const double *p = &z[num_particles];
double *x_k = &z_k[0];
double *p... | 29.346154 | 89 | 0.642202 | FIshikawa |
ca139d93fca4d0cf3c52ef8f0a7655d8a8991cc6 | 8,707 | cpp | C++ | db/silkworm/trie/db_trie.cpp | flashbots/silkworm | 7770793499d0c665754b17840f7b8edfd53ce8ba | [
"Apache-2.0"
] | 1 | 2021-06-30T22:56:09.000Z | 2021-06-30T22:56:09.000Z | db/silkworm/trie/db_trie.cpp | flashbots/silkworm | 7770793499d0c665754b17840f7b8edfd53ce8ba | [
"Apache-2.0"
] | null | null | null | db/silkworm/trie/db_trie.cpp | flashbots/silkworm | 7770793499d0c665754b17840f7b8edfd53ce8ba | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2021 The Silkworm 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 ... | 32.129151 | 120 | 0.6017 | flashbots |
ca154c34c94f3b2f621d8c7c6d878634797ab92c | 179 | hpp | C++ | vendor/bindgen/tests/headers/templateref_opaque.hpp | mrkatebzadeh/rust-ibverbs | c0ea14f0e35be179a0370a7312b5fa07032adb27 | [
"Apache-2.0",
"MIT"
] | null | null | null | vendor/bindgen/tests/headers/templateref_opaque.hpp | mrkatebzadeh/rust-ibverbs | c0ea14f0e35be179a0370a7312b5fa07032adb27 | [
"Apache-2.0",
"MIT"
] | null | null | null | vendor/bindgen/tests/headers/templateref_opaque.hpp | mrkatebzadeh/rust-ibverbs | c0ea14f0e35be179a0370a7312b5fa07032adb27 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-02-02T10:49:21.000Z | 2021-02-02T10:49:21.000Z |
namespace detail {
template<typename T>
struct PointerType {
typedef T* Type;
};
}
template<typename T>
class UniquePtr {
typedef typename detail::PointerType<T> Pointer;
};
| 14.916667 | 50 | 0.73743 | mrkatebzadeh |
ca158d0b40a42ed2498685558f018116a563c158 | 2,490 | cc | C++ | game/src/gui/app/unit_list_view.cc | wateret/mengde | 03c1894603b76916351550d03df8f4af38eb4ca6 | [
"MIT"
] | 24 | 2018-03-02T03:37:09.000Z | 2021-08-18T02:34:23.000Z | game/src/gui/app/unit_list_view.cc | wateret/mengde | 03c1894603b76916351550d03df8f4af38eb4ca6 | [
"MIT"
] | 99 | 2018-03-04T06:50:14.000Z | 2019-08-25T09:02:20.000Z | game/src/gui/app/unit_list_view.cc | wateret/mengde | 03c1894603b76916351550d03df8f4af38eb4ca6 | [
"MIT"
] | 9 | 2018-03-02T03:36:55.000Z | 2019-02-27T07:11:28.000Z | #include "unit_list_view.h"
#include "core/unit.h"
#include "gui/uifw/button_view.h"
#include "gui/uifw/scroll_view.h"
#include "gui/uifw/text_view.h"
#include "gui/uifw/vertical_list_view.h"
namespace mengde {
namespace gui {
namespace app {
UnitListView::UnitDetailView::UnitDetailView(const Rect& frame)
: Comp... | 30.365854 | 104 | 0.687952 | wateret |
ca1a301277a8e8b0c83a241099f6583ca2697451 | 959 | cpp | C++ | src/utils/tst/Crc32Test.cpp | tuncalie/amazon-kinesis-video-streams-pic | f792b7da65c4f3a26ac211dcfa9fa060b1a02610 | [
"Apache-2.0"
] | 29 | 2020-02-14T22:35:59.000Z | 2022-02-04T14:19:09.000Z | src/utils/tst/Crc32Test.cpp | tuncalie/amazon-kinesis-video-streams-pic | f792b7da65c4f3a26ac211dcfa9fa060b1a02610 | [
"Apache-2.0"
] | 137 | 2020-01-28T23:24:43.000Z | 2022-03-21T05:06:53.000Z | src/utils/tst/Crc32Test.cpp | tuncalie/amazon-kinesis-video-streams-pic | f792b7da65c4f3a26ac211dcfa9fa060b1a02610 | [
"Apache-2.0"
] | 31 | 2020-02-24T19:47:41.000Z | 2022-03-30T08:50:45.000Z | #include "UtilTestFixture.h"
class Crc32Test : public UtilTestBase {
};
TEST_F(Crc32Test, crc32FunctionalityTest)
{
PCHAR testString = (PCHAR) "testString";
PCHAR testStringNum = (PCHAR) "12345";
PCHAR testStringSingleChar = (PCHAR) "a";
PCHAR testStringLong = (PCHAR) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa... | 45.666667 | 119 | 0.744526 | tuncalie |
ca1c7ef2de32b7050e86c17e29dde57dc15b4e3b | 1,574 | cpp | C++ | leetcode/PartitionList/PartitionList.cpp | lizhenghn123/myAlgorithmStudy | 1917d48debeab33436c705bf9bc2fe9cf49f95cf | [
"MIT"
] | 2 | 2015-08-30T04:45:24.000Z | 2015-08-30T04:45:36.000Z | leetcode/PartitionList/PartitionList.cpp | lizhenghn123/myAlgorithmStudy | 1917d48debeab33436c705bf9bc2fe9cf49f95cf | [
"MIT"
] | null | null | null | leetcode/PartitionList/PartitionList.cpp | lizhenghn123/myAlgorithmStudy | 1917d48debeab33436c705bf9bc2fe9cf49f95cf | [
"MIT"
] | 4 | 2015-07-15T08:43:58.000Z | 2021-04-10T12:55:29.000Z | // Source : https://oj.leetcode.com/problems/partition-list/
// Author : lizhenghn@gmail.com
// Date : 2014-11-30
/**********************************************************************************
*
* Given a linked list and a value x, partition it such that all nodes less than x come
* before nodes greater than or... | 20.986667 | 93 | 0.54892 | lizhenghn123 |
ca1eb4f211a4262074d74708084a2bb59b1a0411 | 9,384 | cpp | C++ | app/GameState.cpp | yousefh409/tankGame | 0b191a1fb8d6c9040e641b4972cfe00452f25544 | [
"MIT"
] | 1 | 2021-08-09T02:36:28.000Z | 2021-08-09T02:36:28.000Z | app/GameState.cpp | yousefh409/tankGame | 0b191a1fb8d6c9040e641b4972cfe00452f25544 | [
"MIT"
] | null | null | null | app/GameState.cpp | yousefh409/tankGame | 0b191a1fb8d6c9040e641b4972cfe00452f25544 | [
"MIT"
] | 1 | 2021-09-04T04:50:10.000Z | 2021-09-04T04:50:10.000Z | #include <string>
#include <fstream>
#include "GameState.h"
#include "ScoresScreenState.h"
#include "MainMenuState.h"
#include "PauseState.h"
//
using namespace std;
void GameState::initBackground()
{
this->background.setSize(sf::Vector2f(1024.0f, 768.0f));
backgroundTexture.loadFromFile(std::string(Ma... | 29.790476 | 175 | 0.607737 | yousefh409 |
ca1f260515fad012ce3c04a76c091168635371f6 | 50,303 | cpp | C++ | fastlib/src/vespa/fastlib/text/normwordfolder.cpp | amahussein/vespa | 29d266ae1e5c95e25002b97822953fdd02b1451e | [
"Apache-2.0"
] | 1 | 2018-12-30T05:42:18.000Z | 2018-12-30T05:42:18.000Z | fastlib/src/vespa/fastlib/text/normwordfolder.cpp | amahussein/vespa | 29d266ae1e5c95e25002b97822953fdd02b1451e | [
"Apache-2.0"
] | 1 | 2021-03-31T22:24:20.000Z | 2021-03-31T22:24:20.000Z | fastlib/src/vespa/fastlib/text/normwordfolder.cpp | amahussein/vespa | 29d266ae1e5c95e25002b97822953fdd02b1451e | [
"Apache-2.0"
] | 1 | 2020-02-01T07:21:28.000Z | 2020-02-01T07:21:28.000Z | // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/fastlib/text/unicodeutil.h>
#include <vespa/fastlib/text/normwordfolder.h>
#include <mutex>
#include <cstring>
bool Fast_NormalizeWordFolder::_isInitialized = false;
std::mutex _initM... | 42.059365 | 118 | 0.462398 | amahussein |
ca1fdabd15a55df6a01fb6c3ece2bdc4bca55bbd | 3,576 | cc | C++ | third_party/blink/renderer/platform/scheduler/main_thread/find_in_page_budget_pool_controller.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-10-18T02:33:40.000Z | 2020-10-18T02:33:40.000Z | third_party/blink/renderer/platform/scheduler/main_thread/find_in_page_budget_pool_controller.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 3 | 2021-05-17T16:28:52.000Z | 2021-05-21T22:42:22.000Z | third_party/blink/renderer/platform/scheduler/main_thread/find_in_page_budget_pool_controller.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // 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 "third_party/blink/renderer/platform/scheduler/main_thread/find_in_page_budget_pool_controller.h"
#include <memory>
#include "third_party/blink... | 42.070588 | 106 | 0.769575 | DamieFC |
ca231a2b1c35eed41abc2c038c3893d18372f464 | 1,629 | hpp | C++ | source/addon_manager.hpp | ZachHembree/reshade | b0278661b8b78d060d432f94abe04df33296457b | [
"BSD-3-Clause"
] | null | null | null | source/addon_manager.hpp | ZachHembree/reshade | b0278661b8b78d060d432f94abe04df33296457b | [
"BSD-3-Clause"
] | null | null | null | source/addon_manager.hpp | ZachHembree/reshade | b0278661b8b78d060d432f94abe04df33296457b | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2021 Patrick Mours. All rights reserved.
* License: https://github.com/crosire/reshade#license
*/
#pragma once
#include "addon_impl.hpp"
#include "reshade_events.hpp"
#include <string>
#if RESHADE_ADDON
#define RESHADE_ADDON_EVENT(name, ...) \
for (size_t cb = 0; cb < reshade::addon::event_l... | 25.857143 | 185 | 0.693063 | ZachHembree |
ca2367364f57335e6d18f5f9dff9e4f650eae8a9 | 622 | cpp | C++ | src/examples/002Chapter/2-6-1-sales-data-type/main.cpp | artgonzalez/cpp-primer | 0317e11b5821860d38a236f24c6f7d76638386f3 | [
"MIT"
] | null | null | null | src/examples/002Chapter/2-6-1-sales-data-type/main.cpp | artgonzalez/cpp-primer | 0317e11b5821860d38a236f24c6f7d76638386f3 | [
"MIT"
] | null | null | null | src/examples/002Chapter/2-6-1-sales-data-type/main.cpp | artgonzalez/cpp-primer | 0317e11b5821860d38a236f24c6f7d76638386f3 | [
"MIT"
] | null | null | null | #include<iostream>
#include "sales_data.h"
int main()
{
SalesData data, data1;
std::cout<<"Enter isbn: ";
std::cin>>data.book_no;
std::cout<<"Enter units old: ";
std::cin>>data.units_sold;
std::cout<<"Enter revenue: ";
std::cin>>data.revenue;
std::cout<<"Enter isbn: ";
std::cin>... | 19.4375 | 85 | 0.594855 | artgonzalez |
ca2685aee0445a79ab41a69e46770279d98a2ed8 | 689 | cpp | C++ | test/unit/math/prim/scal/fun/lbeta_test.cpp | jrmie/math | 2850ec262181075a5843968e805dc9ad1654e069 | [
"BSD-3-Clause"
] | 1 | 2019-09-06T15:53:17.000Z | 2019-09-06T15:53:17.000Z | test/unit/math/prim/scal/fun/lbeta_test.cpp | jrmie/math | 2850ec262181075a5843968e805dc9ad1654e069 | [
"BSD-3-Clause"
] | 8 | 2019-01-17T18:51:16.000Z | 2019-01-17T18:51:39.000Z | test/unit/math/prim/scal/fun/lbeta_test.cpp | jrmie/math | 2850ec262181075a5843968e805dc9ad1654e069 | [
"BSD-3-Clause"
] | null | null | null | #include <stan/math/prim/scal.hpp>
#include <boost/math/special_functions/fpclassify.hpp>
#include <gtest/gtest.h>
#include <limits>
TEST(MathFunctions, lbeta) {
using stan::math::lbeta;
EXPECT_FLOAT_EQ(0.0, lbeta(1.0, 1.0));
EXPECT_FLOAT_EQ(2.981361, lbeta(0.1, 0.1));
EXPECT_FLOAT_EQ(-4.094345, lbeta(3.0, 4.... | 28.708333 | 72 | 0.696662 | jrmie |
ca27f8a9cf4247272301080a84f671ea6baac031 | 10,268 | cpp | C++ | native/src/seal/util/globals.cpp | nitrieu/SEAL | 9fc376c19488be2bfd213780ee06789754f4b2c2 | [
"MIT"
] | 17 | 2019-12-02T09:26:24.000Z | 2022-02-03T03:59:25.000Z | native/src/seal/util/globals.cpp | nitrieu/SEAL | 9fc376c19488be2bfd213780ee06789754f4b2c2 | [
"MIT"
] | 1 | 2020-09-14T06:19:36.000Z | 2020-09-14T06:19:36.000Z | native/src/seal/util/globals.cpp | nitrieu/SEAL | 9fc376c19488be2bfd213780ee06789754f4b2c2 | [
"MIT"
] | 11 | 2019-12-02T22:02:39.000Z | 2021-12-10T02:17:06.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
#include <cstdint>
#include "seal/util/globals.h"
#include "seal/smallmodulus.h"
using namespace std;
namespace seal
{
namespace util
{
namespace global_variables
{
std::shared_ptr<Memo... | 40.425197 | 111 | 0.518699 | nitrieu |
ca28c7a4e0d37913a0817964b294482baf633d9a | 27,599 | cpp | C++ | tools/validator/validatorengine.cpp | pbrunet/QBDI | 39a936b2efd000f0c5def0a8ea27538d7d5fab47 | [
"Apache-2.0"
] | 1 | 2019-08-28T23:30:46.000Z | 2019-08-28T23:30:46.000Z | tools/validator/validatorengine.cpp | pbrunet/QBDI | 39a936b2efd000f0c5def0a8ea27538d7d5fab47 | [
"Apache-2.0"
] | null | null | null | tools/validator/validatorengine.cpp | pbrunet/QBDI | 39a936b2efd000f0c5def0a8ea27538d7d5fab47 | [
"Apache-2.0"
] | null | null | null | /*
* This file is part of QBDI.
*
* Copyright 2017 Quarkslab
*
* 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 ... | 46.619932 | 142 | 0.58484 | pbrunet |
ca2def73ec5e2084cef6bf667f9727916d38fd6c | 8,007 | hpp | C++ | include/El/core/Matrix/decl.hpp | pjt1988/Elemental | 71d3e2b98829594e9f52980a8b1ef7c1e99c724b | [
"Apache-2.0"
] | 473 | 2015-01-11T03:22:11.000Z | 2022-03-31T05:28:39.000Z | include/El/core/Matrix/decl.hpp | pjt1988/Elemental | 71d3e2b98829594e9f52980a8b1ef7c1e99c724b | [
"Apache-2.0"
] | 205 | 2015-01-10T20:33:45.000Z | 2021-07-25T14:53:25.000Z | include/El/core/Matrix/decl.hpp | pjt1988/Elemental | 71d3e2b98829594e9f52980a8b1ef7c1e99c724b | [
"Apache-2.0"
] | 109 | 2015-02-16T14:06:42.000Z | 2022-03-23T21:34:26.000Z | /*
Copyright (c) 2009-2016, Jack Poulson
All rights reserved.
This file is part of Elemental and is under the BSD 2-Clause License,
which can be found in the LICENSE file in the root directory, or at
http://opensource.org/licenses/BSD-2-Clause
*/
#ifndef EL_MATRIX_DECL_HPP
#define EL_MATRIX_DECL_HPP
... | 33.086777 | 80 | 0.631822 | pjt1988 |
ca2f096fc7e2cefe9b3da1c7588be696da465685 | 24,452 | cpp | C++ | cpp/shared/LILBuildManager.cpp | veosotano/lil | da2d0774615827d521362ffb731e8abfa3887507 | [
"MIT"
] | 6 | 2021-01-02T16:36:28.000Z | 2022-01-23T21:50:29.000Z | cpp/shared/LILBuildManager.cpp | veosotano/lil | da2d0774615827d521362ffb731e8abfa3887507 | [
"MIT"
] | null | null | null | cpp/shared/LILBuildManager.cpp | veosotano/lil | da2d0774615827d521362ffb731e8abfa3887507 | [
"MIT"
] | null | null | null | /********************************************************************
*
* LIL Is a Language
*
* AUTHORS: Miro Keller
*
* COPYRIGHT: ©2020-today: All Rights Reserved
*
* LICENSE: see LICENSE file
*
* This file is responsible for coordinating a build
*
*******************************... | 38.689873 | 155 | 0.490389 | veosotano |
ca2f6a0c2163d5293089d485da6020bb89428e26 | 865 | cpp | C++ | 0485 - Max Consecutive Ones/cpp/main.cpp | xiaoswu/Leetcode | e4ae8b2f72a312ee247084457cf4e6dbcfd20e18 | [
"MIT"
] | 5 | 2018-10-18T06:47:19.000Z | 2020-06-19T09:30:03.000Z | 0485 - Max Consecutive Ones/cpp/main.cpp | xiaoswu/Leetcode | e4ae8b2f72a312ee247084457cf4e6dbcfd20e18 | [
"MIT"
] | null | null | null | 0485 - Max Consecutive Ones/cpp/main.cpp | xiaoswu/Leetcode | e4ae8b2f72a312ee247084457cf4e6dbcfd20e18 | [
"MIT"
] | null | null | null | //
//f main.cpp
// 485 - Max Consecutive Ones
//
// Created by ynfMac on 2019/6/13.
// Copyright © 2019 ynfMac. All rights reserved.
//
#include <iostream>
#include <vector>
using namespace std;
class Solution {
public:
int findMaxConsecutiveOnes(vector<int>& nums) {
int k = nums[0];
... | 20.595238 | 54 | 0.468208 | xiaoswu |
ca2fe11a90e9d7f03d89ecbe2841ad400ba35139 | 1,748 | cpp | C++ | nTA/Source/Old Code/collider_Dynamic.cpp | loganjones/nTA-Total-Annihilation-Clone | d7d0e4d33f1d452d17cf2fed2b2bcb7f6d7d4d14 | [
"MIT"
] | 2 | 2020-05-09T20:50:12.000Z | 2021-06-20T08:34:58.000Z | nTA/Source/Old Code/collider_Dynamic.cpp | loganjones/nTA-Total-Annihilation-Clone | d7d0e4d33f1d452d17cf2fed2b2bcb7f6d7d4d14 | [
"MIT"
] | null | null | null | nTA/Source/Old Code/collider_Dynamic.cpp | loganjones/nTA-Total-Annihilation-Clone | d7d0e4d33f1d452d17cf2fed2b2bcb7f6d7d4d14 | [
"MIT"
] | 2 | 2018-01-08T00:12:04.000Z | 2020-06-14T10:56:50.000Z | // collider_Dynamic.cpp // Author: Logan "Burn" Jones
///////////////////////// Date: 5/10/2002
//
/////////////////////////////////////////////////////////////////////
#include "object.h"
#include "collider_Dynamic.h"
///////////////////////////////////////////////... | 33.615385 | 71 | 0.308924 | loganjones |
ca34c0a84bc37834c1fd114093411524250ecd99 | 5,193 | cpp | C++ | src/Http/HttpResponse.cpp | MisakiOfScut/SingHttpServer | 039636d7cee16ccc46c281456d71a410f3f16e23 | [
"Apache-2.0"
] | 1 | 2021-03-05T09:27:35.000Z | 2021-03-05T09:27:35.000Z | src/Http/HttpResponse.cpp | MisakiOfScut/SingHttpServer | 039636d7cee16ccc46c281456d71a410f3f16e23 | [
"Apache-2.0"
] | null | null | null | src/Http/HttpResponse.cpp | MisakiOfScut/SingHttpServer | 039636d7cee16ccc46c281456d71a410f3f16e23 | [
"Apache-2.0"
] | null | null | null | #include "HttpResponse.h"
#include "../Buffer/Buffer.h"
#include <unistd.h>
#include <fcntl.h>
using namespace sing;
const std::map<int, std::string> HttpResponse::statusCode2Message = {
{200, "OK"},
{301,"Move Permanently"},
{400, "Bad Request"},
{403, "Forbidden"},
{404, "Not Found"}
};
const st... | 29.338983 | 100 | 0.556711 | MisakiOfScut |
ca3a187da35e81c5a8209084c8db2087714b18f6 | 4,106 | cpp | C++ | src/admin/smart_log_mgr.cpp | hsungyang/poseidonos | 0f523b36ccf0d70726364395ea96ac6ae3b845c3 | [
"BSD-3-Clause"
] | 38 | 2021-04-06T03:20:55.000Z | 2022-03-02T09:33:28.000Z | src/admin/smart_log_mgr.cpp | gye-ul/poseidonos | bce8fe2cd1f36ede8647446ecc4cf8a9749e6918 | [
"BSD-3-Clause"
] | 19 | 2021-04-08T02:27:44.000Z | 2022-03-23T00:59:04.000Z | src/admin/smart_log_mgr.cpp | gye-ul/poseidonos | bce8fe2cd1f36ede8647446ecc4cf8a9749e6918 | [
"BSD-3-Clause"
] | 28 | 2021-04-08T04:39:18.000Z | 2022-03-24T05:56:00.000Z | /*
* BSD LICENSE
* Copyright (c) 2021 Samsung Electronics 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 th... | 27.931973 | 108 | 0.72528 | hsungyang |
ca3ac7fe57dbbf3314d62791bab2baaed4c08a24 | 16,399 | cc | C++ | arcane/ceapart/src/arcane/hyoda/HyodaEnvs.cc | cedricga91/framework | 143eeccb5bf375df4a3f11b888681f84f60380c6 | [
"Apache-2.0"
] | 16 | 2021-09-20T12:37:01.000Z | 2022-03-18T09:19:14.000Z | arcane/ceapart/src/arcane/hyoda/HyodaEnvs.cc | cedricga91/framework | 143eeccb5bf375df4a3f11b888681f84f60380c6 | [
"Apache-2.0"
] | 66 | 2021-09-17T13:49:39.000Z | 2022-03-30T16:24:07.000Z | arcane/ceapart/src/arcane/hyoda/HyodaEnvs.cc | cedricga91/framework | 143eeccb5bf375df4a3f11b888681f84f60380c6 | [
"Apache-2.0"
] | 11 | 2021-09-27T16:48:55.000Z | 2022-03-23T19:06:56.000Z | // -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
//-----------------------------------------------------------------------------
// Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: Apache-2... | 44.683924 | 103 | 0.555827 | cedricga91 |
ca3d27f086d8d36741f98d4dea0686144d74af66 | 3,539 | cpp | C++ | Source/DialogueSystemEditor/Private/BehaviorTreeEditor/QuestionCustomization.cpp | ericzhou9/UE4-DialogueSystem | cc3c600916c4f73cebc33ed0a7c5cf45954f2413 | [
"MIT"
] | null | null | null | Source/DialogueSystemEditor/Private/BehaviorTreeEditor/QuestionCustomization.cpp | ericzhou9/UE4-DialogueSystem | cc3c600916c4f73cebc33ed0a7c5cf45954f2413 | [
"MIT"
] | null | null | null | Source/DialogueSystemEditor/Private/BehaviorTreeEditor/QuestionCustomization.cpp | ericzhou9/UE4-DialogueSystem | cc3c600916c4f73cebc33ed0a7c5cf45954f2413 | [
"MIT"
] | 1 | 2019-08-18T06:13:51.000Z | 2019-08-18T06:13:51.000Z | //Copyright (c) 2016 Artem A. Mavrin and other contributors
#pragma once
#include "DialogueSystemEditorPrivatePCH.h"
#include "QuestionCustomization.h"
#include "DetailLayoutBuilder.h"
#include "DetailWidgetRow.h"
#include "IDetailPropertyRow.h"
#include "DetailCategoryBuilder.h"
#define LOCTEXT_NAMESPACE... | 32.172727 | 113 | 0.767166 | ericzhou9 |
ca40d96972b04ababacbc585f500b18a892c4b8a | 19,047 | cpp | C++ | OnlineSubsystemB3atZUtils/Source/OnlineSubsystemB3atZUtils/Private/OnlineEngineInterfaceImpl.cpp | philippbb/OnlineSubsytemB3atZPlugin | 17ad7c220fddd24bc36860ad9bbc20b3a98bb357 | [
"MIT"
] | 10 | 2017-07-22T13:04:45.000Z | 2021-12-22T10:02:32.000Z | OnlineSubsystemB3atZUtils/Source/OnlineSubsystemB3atZUtils/Private/OnlineEngineInterfaceImpl.cpp | philippbb/OnlineSubsytemB3atZPlugin | 17ad7c220fddd24bc36860ad9bbc20b3a98bb357 | [
"MIT"
] | null | null | null | OnlineSubsystemB3atZUtils/Source/OnlineSubsystemB3atZUtils/Private/OnlineEngineInterfaceImpl.cpp | philippbb/OnlineSubsytemB3atZPlugin | 17ad7c220fddd24bc36860ad9bbc20b3a98bb357 | [
"MIT"
] | 3 | 2017-05-06T20:31:43.000Z | 2020-07-01T01:45:37.000Z | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved
// Plugin written by Philipp Buerki. Copyright 2017. All Rights reserved..
#include "OnlineEngineInterfaceImpl.h"
#include "OnlineSubsystemB3atZ.h"
#include "Interfaces/OnlineIdentityInterface.h"
#include "OnlineSubsystemB3atZUtils.h"
UB3atZOnlineEngineInter... | 32.670669 | 231 | 0.806479 | philippbb |
ca4103c229d0d04f9d1560400caaae18170aeb6a | 543 | cpp | C++ | JuegoPropio/JuegoPropio/ZombieRapido.cpp | moiSS00/juego2D | 203063fcfbe59af1d442099be4791b72176d4e14 | [
"MIT"
] | null | null | null | JuegoPropio/JuegoPropio/ZombieRapido.cpp | moiSS00/juego2D | 203063fcfbe59af1d442099be4791b72176d4e14 | [
"MIT"
] | null | null | null | JuegoPropio/JuegoPropio/ZombieRapido.cpp | moiSS00/juego2D | 203063fcfbe59af1d442099be4791b72176d4e14 | [
"MIT"
] | null | null | null | #include "ZombieRapido.h"
ZombieRapido::ZombieRapido(float x, float y, Game* game)
: Zombie(x, y, game) {
aMoving = new Animation("res/zombieRapidoCaminar.png", width, height,
600, 66, 3, 10, true, game, game->stateMoving);
aAttacking = new Animation("res/zombieRapidoAtacar.png",
width, height, 480, 66, 3, 8,... | 24.681818 | 70 | 0.686924 | moiSS00 |
ca42af470ab617eaefb44cdd1bd074cb0fbb60d8 | 3,136 | cpp | C++ | src/meta/processors/schema/DropEdgeProcessor.cpp | jackwener/nebula | d83f26db7ecc09cb9d97148dda7cb013a1aff08b | [
"Apache-2.0"
] | 1 | 2022-02-17T03:41:13.000Z | 2022-02-17T03:41:13.000Z | src/meta/processors/schema/DropEdgeProcessor.cpp | jackwener/nebula | d83f26db7ecc09cb9d97148dda7cb013a1aff08b | [
"Apache-2.0"
] | null | null | null | src/meta/processors/schema/DropEdgeProcessor.cpp | jackwener/nebula | d83f26db7ecc09cb9d97148dda7cb013a1aff08b | [
"Apache-2.0"
] | null | null | null | /* Copyright (c) 2018 vesoft inc. All rights reserved.
*
* This source code is licensed under Apache 2.0 License.
*/
#include "meta/processors/schema/DropEdgeProcessor.h"
namespace nebula {
namespace meta {
void DropEdgeProcessor::process(const cpp2::DropEdgeReq& req) {
GraphSpaceID spaceId = req.get_space_id()... | 30.153846 | 90 | 0.661671 | jackwener |
ca45982704eec4d69cd4481bcfb725d71800db45 | 4,008 | cpp | C++ | Engine/source/gfx/gfxVertexTypes.cpp | camporter/Torque3D | 938e28b6f36883cb420da4b04253b1394467a1f4 | [
"Unlicense"
] | 13 | 2015-04-13T21:46:01.000Z | 2017-11-20T22:12:04.000Z | Engine/source/gfx/gfxVertexTypes.cpp | timmgt/Torque3D | ebc6c9cf3a2c7642b2cd30be3726810a302c3deb | [
"Unlicense"
] | 1 | 2015-11-16T23:57:12.000Z | 2015-12-01T03:24:08.000Z | Engine/source/gfx/gfxVertexTypes.cpp | timmgt/Torque3D | ebc6c9cf3a2c7642b2cd30be3726810a302c3deb | [
"Unlicense"
] | 10 | 2015-01-05T15:58:31.000Z | 2021-11-20T14:05:46.000Z | //-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// 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 restrictio... | 33.4 | 79 | 0.715569 | camporter |
ca463eccc6c273452daf9c38250ac6b2afe6fc12 | 3,818 | cpp | C++ | src/Magnum/Vk/Test/DescriptorSetLayoutVkTest.cpp | nodoteve/magnum | 8bb1da98b9c41fd0baa2246759721d8b8196a36b | [
"MIT"
] | null | null | null | src/Magnum/Vk/Test/DescriptorSetLayoutVkTest.cpp | nodoteve/magnum | 8bb1da98b9c41fd0baa2246759721d8b8196a36b | [
"MIT"
] | null | null | null | src/Magnum/Vk/Test/DescriptorSetLayoutVkTest.cpp | nodoteve/magnum | 8bb1da98b9c41fd0baa2246759721d8b8196a36b | [
"MIT"
] | null | null | null | /*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019,
2020, 2021 Vladimír Vondruš <mosra@centrum.cz>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "... | 36.361905 | 97 | 0.724201 | nodoteve |
ca46c1a427a17819290da21d1cbb34bbd3774488 | 4,302 | cpp | C++ | oi/pyoj/P25/main.cpp | Riteme/test | b511d6616a25f4ae8c3861e2029789b8ee4dcb8d | [
"BSD-Source-Code"
] | 3 | 2018-08-30T09:43:20.000Z | 2019-12-03T04:53:43.000Z | oi/pyoj/P25/main.cpp | Riteme/test | b511d6616a25f4ae8c3861e2029789b8ee4dcb8d | [
"BSD-Source-Code"
] | null | null | null | oi/pyoj/P25/main.cpp | Riteme/test | b511d6616a25f4ae8c3861e2029789b8ee4dcb8d | [
"BSD-Source-Code"
] | null | null | null | /**
* 讲道理这个题没法做因为没有说以谁为根
* O(q log^2 n) memory usage failed.
* Maybe 1GB memory (even more) is required.
*/
#include <cassert>
#include <cstdio>
#include <cstring>
#include <algorithm>
#include <vector>
using namespace std;
#define NMAX 100000
#define LOGN 17
struct Node {
Node(int k) : key(k), count(0), s... | 20.388626 | 77 | 0.435611 | Riteme |
ca46d49183d68ba4fd293829855e4a89d2097e7d | 1,690 | cpp | C++ | dbms/src/Storages/DeltaMerge/tests/gtest_dm_configuration.cpp | solotzg/tiflash | 66f45c76692e941bc845c01349ea89de0f2cc210 | [
"Apache-2.0"
] | 85 | 2022-03-25T09:03:16.000Z | 2022-03-25T09:45:03.000Z | dbms/src/Storages/DeltaMerge/tests/gtest_dm_configuration.cpp | solotzg/tiflash | 66f45c76692e941bc845c01349ea89de0f2cc210 | [
"Apache-2.0"
] | 7 | 2022-03-25T08:59:10.000Z | 2022-03-25T09:40:13.000Z | dbms/src/Storages/DeltaMerge/tests/gtest_dm_configuration.cpp | solotzg/tiflash | 66f45c76692e941bc845c01349ea89de0f2cc210 | [
"Apache-2.0"
] | 11 | 2022-03-25T09:15:36.000Z | 2022-03-25T09:45:07.000Z | // Copyright 2022 PingCAP, Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | 34.489796 | 107 | 0.762722 | solotzg |
ca47720ca14e7484dac4bedb6df0e2dddb457c54 | 1,619 | cpp | C++ | Codeforces/Personal Contests/Codeforces Round #553 (Div. 2) by User greenindia/D - Stas and the Queue at the Buffet.cpp | JanaSabuj/cpmaster | d943780c7ca4badbefbce2d300848343c4032650 | [
"MIT"
] | 1 | 2020-11-29T08:36:38.000Z | 2020-11-29T08:36:38.000Z | Codeforces/Personal Contests/Codeforces Round #553 (Div. 2) by User greenindia/D - Stas and the Queue at the Buffet.cpp | Sahu49/CompetitiveProgramming | adf11a546f81878ad2975926219af84deb3414e8 | [
"MIT"
] | null | null | null | Codeforces/Personal Contests/Codeforces Round #553 (Div. 2) by User greenindia/D - Stas and the Queue at the Buffet.cpp | Sahu49/CompetitiveProgramming | adf11a546f81878ad2975926219af84deb3414e8 | [
"MIT"
] | null | null | null |
1151 D - Stas and the Queue at the Buffet.cpp GNU C++17 Accepted
/*--------------------------"SABUJ-JANA"------"JADAVPUR UNIVERSITY"--------*/
/*-------------------------------@greenindia-----------------------------------*/
/*---------------------- Magic. Do not touch.-----------------------------*/
/*---------------... | 29.981481 | 108 | 0.483014 | JanaSabuj |
ca47a50bfa12b39f1a5c61eca23cd0ba3c58f36a | 3,020 | cpp | C++ | src/backend/graphs/dijkstra.cpp | alex-x-o/Djiki | a684fc890ed867d4bb3deeedd4f327959dfbd68a | [
"MIT"
] | null | null | null | src/backend/graphs/dijkstra.cpp | alex-x-o/Djiki | a684fc890ed867d4bb3deeedd4f327959dfbd68a | [
"MIT"
] | null | null | null | src/backend/graphs/dijkstra.cpp | alex-x-o/Djiki | a684fc890ed867d4bb3deeedd4f327959dfbd68a | [
"MIT"
] | null | null | null | #include "dijkstra.hpp"
#include <cmath>
#include <QMap>
#include <QSet>
Dijkstra::Dijkstra()
: GraphAlgorithm()
{
definePseudocode();
}
Dijkstra::Dijkstra(Graph *g)
: GraphAlgorithm(g)
{
definePseudocode();
}
void Dijkstra::definePseudocode()
{
code.setInput("Graph G, starting node and target no... | 26.725664 | 131 | 0.533113 | alex-x-o |
ca494563b3c4c534a1c8c663e830bf8291d513d2 | 554 | cpp | C++ | BCPlayerBuilder/source_cpp/main.cpp | CommanderAsdasd/bcplayer | bf3481c9f08fb810660367b083392304479daaef | [
"MIT"
] | null | null | null | BCPlayerBuilder/source_cpp/main.cpp | CommanderAsdasd/bcplayer | bf3481c9f08fb810660367b083392304479daaef | [
"MIT"
] | null | null | null | BCPlayerBuilder/source_cpp/main.cpp | CommanderAsdasd/bcplayer | bf3481c9f08fb810660367b083392304479daaef | [
"MIT"
] | null | null | null | //#include <iostream>
//#include <string>
//#include <fstream>
//#include <limits>
//#include "MData.h"
//#include "OSC.h"
//#include "MPlayer.h"
//#include "DelayLine.h"
//#include "MML.h"
#include "GUI.h"
using namespace std;
static const int SAMPLE_RATE = 44100;
static const int TABLE_SIZE = 4096;
static const in... | 18.466667 | 52 | 0.694946 | CommanderAsdasd |
ca49bd9daf314e276312087cb847748e556e7568 | 9,244 | cc | C++ | ecs/src/model/DescribeAutoProvisioningGroupsResult.cc | sdk-team/aliyun-openapi-cpp-sdk | d0e92f6f33126dcdc7e40f60582304faf2c229b7 | [
"Apache-2.0"
] | 3 | 2020-01-06T08:23:14.000Z | 2022-01-22T04:41:35.000Z | ecs/src/model/DescribeAutoProvisioningGroupsResult.cc | sdk-team/aliyun-openapi-cpp-sdk | d0e92f6f33126dcdc7e40f60582304faf2c229b7 | [
"Apache-2.0"
] | null | null | null | ecs/src/model/DescribeAutoProvisioningGroupsResult.cc | sdk-team/aliyun-openapi-cpp-sdk | d0e92f6f33126dcdc7e40f60582304faf2c229b7 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2009-2017 Alibaba Cloud 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... | 65.098592 | 173 | 0.842384 | sdk-team |
ca4b7c114facc65a8b4b07e6a942df5ff8f8dbfc | 3,737 | cpp | C++ | storage/diskmgr/services/storage_service/event_handler/src/local_envent_poll.cpp | peeweep/distributeddatamgr_file | 1e624bbc3850815fa1b2642c67123b7785bec6a1 | [
"Apache-2.0"
] | null | null | null | storage/diskmgr/services/storage_service/event_handler/src/local_envent_poll.cpp | peeweep/distributeddatamgr_file | 1e624bbc3850815fa1b2642c67123b7785bec6a1 | [
"Apache-2.0"
] | null | null | null | storage/diskmgr/services/storage_service/event_handler/src/local_envent_poll.cpp | peeweep/distributeddatamgr_file | 1e624bbc3850815fa1b2642c67123b7785bec6a1 | [
"Apache-2.0"
] | 5 | 2021-09-13T11:18:04.000Z | 2021-11-25T14:12:15.000Z | /*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 26.132867 | 88 | 0.629917 | peeweep |
ca4bdf291a04eb3072489273167c1ba73ed33449 | 4,681 | cpp | C++ | dev/Code/Tools/RC/ResourceCompilerScene/Tests/Cgf/CgfMaterialExporterTests.cpp | stickyparticles/lumberyard | dc523dd780f3cd1874251181b7cf6848b8db9959 | [
"AML"
] | 2 | 2018-03-29T10:56:36.000Z | 2020-12-12T15:28:14.000Z | dev/Code/Tools/RC/ResourceCompilerScene/Tests/Cgf/CgfMaterialExporterTests.cpp | JulianoCristian/Lumberyard-3 | dc523dd780f3cd1874251181b7cf6848b8db9959 | [
"AML"
] | null | null | null | dev/Code/Tools/RC/ResourceCompilerScene/Tests/Cgf/CgfMaterialExporterTests.cpp | JulianoCristian/Lumberyard-3 | dc523dd780f3cd1874251181b7cf6848b8db9959 | [
"AML"
] | 3 | 2019-05-13T09:41:33.000Z | 2021-04-09T12:12:38.000Z | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 34.674074 | 118 | 0.61803 | stickyparticles |
ca4d4f51743e6e0930346d80194500d895426651 | 7,134 | hpp | C++ | random/boost/random/poisson_ext/devroye/detail/q.hpp | rogard/boost_sandbox_statistics | 16aacbc716a31a9f7bb6c535b1c90dc343282a23 | [
"BSL-1.0"
] | null | null | null | random/boost/random/poisson_ext/devroye/detail/q.hpp | rogard/boost_sandbox_statistics | 16aacbc716a31a9f7bb6c535b1c90dc343282a23 | [
"BSL-1.0"
] | null | null | null | random/boost/random/poisson_ext/devroye/detail/q.hpp | rogard/boost_sandbox_statistics | 16aacbc716a31a9f7bb6c535b1c90dc343282a23 | [
"BSL-1.0"
] | null | null | null | //////////////////////////////////////////////////////////////////////////////
// random::poisson_ex::poisson_devroye::q_function::standard.hpp //
// //
// //
// (C)... | 31.152838 | 83 | 0.442248 | rogard |
ca4f4b45c69b4f7c5b399abcd10a1b798a90b78d | 1,516 | hpp | C++ | shared_model/backend/protobuf/queries/proto_get_account_detail.hpp | 132/iroha | 66e1a490dc8917530020c53d162c573571deafd3 | [
"Apache-2.0"
] | null | null | null | shared_model/backend/protobuf/queries/proto_get_account_detail.hpp | 132/iroha | 66e1a490dc8917530020c53d162c573571deafd3 | [
"Apache-2.0"
] | null | null | null | shared_model/backend/protobuf/queries/proto_get_account_detail.hpp | 132/iroha | 66e1a490dc8917530020c53d162c573571deafd3 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef IROHA_PROTO_GET_ACCOUNT_DETAIL_HPP
#define IROHA_PROTO_GET_ACCOUNT_DETAIL_HPP
#include "backend/protobuf/common_objects/trivial_proto.hpp"
#include "backend/protobuf/queries/proto_account_detail_pagination_met... | 32.255319 | 80 | 0.699208 | 132 |
ca51eb041df1a9c3607e92cfaa9a46533ff03af0 | 15,024 | cpp | C++ | Assignment4/main.cpp | yurirocha15/cgOpenGL | 85f336a998c8c8ea546c347effdb2e377bbdab5b | [
"Apache-2.0"
] | null | null | null | Assignment4/main.cpp | yurirocha15/cgOpenGL | 85f336a998c8c8ea546c347effdb2e377bbdab5b | [
"Apache-2.0"
] | 1 | 2020-01-17T03:14:18.000Z | 2020-01-17T03:14:18.000Z | Assignment4/main.cpp | yurirocha15/cgOpenGL | 85f336a998c8c8ea546c347effdb2e377bbdab5b | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include "support.h"
#include "cgmath.h" // slee's simple math library
#include "trackball.h"
#include "mesh.h"
#include "light.h"
#include "Planet.h"
#include <vector>
#include <cmath>
//*******************************************************************
// index variables for OpenGL o... | 32.519481 | 170 | 0.655218 | yurirocha15 |
ca51f9c9d1306a915c7048b981b772ced52f7045 | 5,929 | hpp | C++ | src/libraries/core/fields/FieldFields/FieldField/FieldFieldReuseFunctions.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/core/fields/FieldFields/FieldField/FieldFieldReuseFunctions.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/core/fields/FieldFields/FieldField/FieldFieldReuseFunctions.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | /*---------------------------------------------------------------------------*\
Copyright (C) 2011 OpenFOAM Foundation
-------------------------------------------------------------------------------
License
This file is part of CAELUS.
CAELUS is free software: you can redistribute it and/or modify it
under... | 22.205993 | 79 | 0.478327 | MrAwesomeRocks |
ca540b755b965ae78802f1a44a6fa687b2db8b1e | 3,287 | cc | C++ | JetMETCorrections/Type1MET/plugins/CorrectedPatMETProducer.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | JetMETCorrections/Type1MET/plugins/CorrectedPatMETProducer.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | JetMETCorrections/Type1MET/plugins/CorrectedPatMETProducer.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | // -*- C++ -*-
//____________________________________________________________________________||
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/stream/EDProducer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCor... | 36.932584 | 118 | 0.744144 | ckamtsikis |
ca564e8b1d61f61713643cc87ba19b36b6b1be5e | 2,525 | cc | C++ | modules/audio_processing/agc2/gain_controller2.cc | laloli/webrtc_src | 2a4d70cc93ddd3074e51c0a2c2de507ac6babc2a | [
"DOC",
"BSD-3-Clause"
] | 6 | 2020-03-18T08:21:45.000Z | 2021-02-06T14:37:57.000Z | modules/audio_processing/agc2/gain_controller2.cc | laloli/webrtc_src | 2a4d70cc93ddd3074e51c0a2c2de507ac6babc2a | [
"DOC",
"BSD-3-Clause"
] | 1 | 2018-02-10T01:29:22.000Z | 2018-02-10T01:29:22.000Z | modules/audio_processing/agc2/gain_controller2.cc | laloli/webrtc_src | 2a4d70cc93ddd3074e51c0a2c2de507ac6babc2a | [
"DOC",
"BSD-3-Clause"
] | 3 | 2018-07-23T04:52:42.000Z | 2021-12-18T07:37:15.000Z | /*
* Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 33.223684 | 74 | 0.712475 | laloli |
ca57dabdc17deda917652f0906b3ba5e57e4e783 | 2,863 | hpp | C++ | src/geometry/3d/vector.hpp | IsraelEfraim/cpp-engine | 039bcad97d55635a7a8f31d0d80ce59095ebb6cb | [
"MIT"
] | null | null | null | src/geometry/3d/vector.hpp | IsraelEfraim/cpp-engine | 039bcad97d55635a7a8f31d0d80ce59095ebb6cb | [
"MIT"
] | null | null | null | src/geometry/3d/vector.hpp | IsraelEfraim/cpp-engine | 039bcad97d55635a7a8f31d0d80ce59095ebb6cb | [
"MIT"
] | 2 | 2021-03-15T18:51:32.000Z | 2021-07-19T23:45:49.000Z | #ifndef CPP_ENGINE_VECTOR_HPP
#define CPP_ENGINE_VECTOR_HPP
#include <cmath>
#include <type_traits>
#include "../axis.hpp"
#include "../../utility/concepts.hpp"
namespace engine::space3D {
template <class V>
concept Dim3_Vec = requires(std::remove_cvref_t<V> v) {
{ v.x } -> Number;
{ v.y } -> Number;
{ ... | 21.207407 | 63 | 0.603213 | IsraelEfraim |
ca58cd0056af44e7af4f15744dd01e042b0e4230 | 1,851 | cpp | C++ | src/vocabulary-rocksdb/src/native/vocabulary/IdGenerator.cpp | ugermann/MMT | 715ad16b4467f44c8103e16165261d1391a69fb8 | [
"Apache-2.0"
] | null | null | null | src/vocabulary-rocksdb/src/native/vocabulary/IdGenerator.cpp | ugermann/MMT | 715ad16b4467f44c8103e16165261d1391a69fb8 | [
"Apache-2.0"
] | null | null | null | src/vocabulary-rocksdb/src/native/vocabulary/IdGenerator.cpp | ugermann/MMT | 715ad16b4467f44c8103e16165261d1391a69fb8 | [
"Apache-2.0"
] | null | null | null | //
// Created by Davide Caroselli on 26/07/16.
//
#include <iostream>
#include <cassert>
#include "IdGenerator.h"
using namespace std;
using namespace mmt;
using namespace mmt::vocabulary;
static_assert(sizeof(wid_t) == 4, "Current implementation only support 4-byte word id");
static void write(wid_t value, FILE *f... | 21.275862 | 88 | 0.584549 | ugermann |
ca59a756a78a6fd211a7406b981ca12acd46d72c | 12,012 | cpp | C++ | HoikuCamApp/src/Palettes.cpp | h7ga40/PeachCam | 06d023a908dc38228e77b47f80bc8496a4d35806 | [
"Apache-2.0"
] | 1 | 2019-12-13T05:51:34.000Z | 2019-12-13T05:51:34.000Z | HoikuCamApp/src/Palettes.cpp | h7ga40/PeachCam | 06d023a908dc38228e77b47f80bc8496a4d35806 | [
"Apache-2.0"
] | null | null | null | HoikuCamApp/src/Palettes.cpp | h7ga40/PeachCam | 06d023a908dc38228e77b47f80bc8496a4d35806 | [
"Apache-2.0"
] | 1 | 2021-09-17T15:41:36.000Z | 2021-09-17T15:41:36.000Z | #include "Palettes.h"
const uint8_t colormap_rainbow[] = {
1, 3, 74,
0, 3, 74,
0, 3, 75,
0, 3, 75,
0, 3, 76,
0, 3, 76,
0, 3, 77,
0, 3, 79,
0, 3, 82,
0, 5, 85,
0, 7, 88,
0, 10, 91,
0, 14, 94,
0, 19, 98,
0, 22, 100,
0, 25, 103,
0, 28, 106,
0, 32, 109,
0, 35, 112,
0, 38, 116,
0... | 15.419769 | 39 | 0.484182 | h7ga40 |
3ed11a7a66441cc5b9a178f25561931f6c0df40f | 5,008 | cpp | C++ | src/ice/src/ice/net/service.cpp | qis/ice-coroutines | 30bb5fe7956e48230756db112ee71d6a1aa71202 | [
"MIT"
] | 2 | 2019-03-23T16:57:17.000Z | 2020-11-24T20:10:45.000Z | src/ice/src/ice/net/service.cpp | qis/ice-coroutines | 30bb5fe7956e48230756db112ee71d6a1aa71202 | [
"MIT"
] | null | null | null | src/ice/src/ice/net/service.cpp | qis/ice-coroutines | 30bb5fe7956e48230756db112ee71d6a1aa71202 | [
"MIT"
] | null | null | null | #include "ice/net/service.hpp"
#include <ice/error.hpp>
#include <ice/net/event.hpp>
#include <vector>
#include <cassert>
#include <ctime>
#if ICE_OS_WIN32
# include <windows.h>
# include <winsock2.h>
#else
# if ICE_OS_LINUX
# include <sys/epoll.h>
# include <sys/eventfd.h>
# elif ICE_OS_FREEBSD
# include... | 25.292929 | 113 | 0.646765 | qis |
3ed2f1ca4bbdd3eb4e67657f1b85cb8290e804f6 | 719 | cpp | C++ | leetcode/0239_Sliding_Window_Maximum/result.cpp | theck17/notes | f32f0f4b8f821b1ed38d173ef0913efddd094b91 | [
"MIT"
] | null | null | null | leetcode/0239_Sliding_Window_Maximum/result.cpp | theck17/notes | f32f0f4b8f821b1ed38d173ef0913efddd094b91 | [
"MIT"
] | null | null | null | leetcode/0239_Sliding_Window_Maximum/result.cpp | theck17/notes | f32f0f4b8f821b1ed38d173ef0913efddd094b91 | [
"MIT"
] | null | null | null | /**
* Copyright (C) 2021 All rights reserved.
*
* FileName :result.cpp
* Author :C.K
* Email :theck17@163.com
* DateTime :2021-10-31 11:53:14
* Description :
*/
using namespace std;
class Solution {
public:
vector<int> maxSlidingWindow(vector<int>& nums, int k) {
... | 23.966667 | 65 | 0.49235 | theck17 |
3ed646ff1b7510c69a2b47bdc86e7c5a81e66083 | 17,659 | hpp | C++ | Ipopt-3.2.1/Ipopt/examples/ScalableProblems/MittelmannBndryCntrlNeum.hpp | FredericLiu/CarND-MPC-P5 | e4c68920edd0468ae73357864dde6d61bc1c4205 | [
"MIT"
] | null | null | null | Ipopt-3.2.1/Ipopt/examples/ScalableProblems/MittelmannBndryCntrlNeum.hpp | FredericLiu/CarND-MPC-P5 | e4c68920edd0468ae73357864dde6d61bc1c4205 | [
"MIT"
] | null | null | null | Ipopt-3.2.1/Ipopt/examples/ScalableProblems/MittelmannBndryCntrlNeum.hpp | FredericLiu/CarND-MPC-P5 | e4c68920edd0468ae73357864dde6d61bc1c4205 | [
"MIT"
] | null | null | null | // Copyright (C) 2005, 2006 International Business Machines and others.
// All Rights Reserved.
// This code is published under the Common Public License.
//
// $Id: MittelmannBndryCntrlNeum.hpp 759 2006-07-07 03:07:08Z andreasw $
//
// Authors: Andreas Waechter IBM 2005-10-18
// based on... | 30.818499 | 96 | 0.652075 | FredericLiu |
3ed6cf1837dedda3e0b5aadbc1ca789bbf3d59cc | 5,022 | cc | C++ | extg4/X4Dump.cc | hanswenzel/opticks | b75b5929b6cf36a5eedeffb3031af2920f75f9f0 | [
"Apache-2.0"
] | 11 | 2020-07-05T02:39:32.000Z | 2022-03-20T18:52:44.000Z | extg4/X4Dump.cc | hanswenzel/opticks | b75b5929b6cf36a5eedeffb3031af2920f75f9f0 | [
"Apache-2.0"
] | null | null | null | extg4/X4Dump.cc | hanswenzel/opticks | b75b5929b6cf36a5eedeffb3031af2920f75f9f0 | [
"Apache-2.0"
] | 4 | 2020-09-03T20:36:32.000Z | 2022-01-19T07:42:21.000Z | #include <string>
#include <iostream>
#include <iomanip>
#include "G4Version.hh"
#include "G4Material.hh"
#include "G4LogicalBorderSurface.hh"
#include "G4LogicalSkinSurface.hh"
#include "G4OpticalSurface.hh"
#include "G4MaterialPropertiesTable.hh"
#include "G4String.hh"
#include "X4LogicalBorderSurfaceTable.hh"
#inc... | 33.932432 | 105 | 0.572083 | hanswenzel |
3ed857c981698a26f97bf209304c7bfbf3006fda | 301 | cpp | C++ | atcoder/abc081/A/main.cpp | xirc/cp-algorithm | 89c67cff2f00459c5bb020ab44bff5ae419a1728 | [
"Apache-2.0"
] | 8 | 2020-12-23T07:54:53.000Z | 2021-11-23T02:46:35.000Z | atcoder/abc081/A/main.cpp | xirc/cp-algorithm | 89c67cff2f00459c5bb020ab44bff5ae419a1728 | [
"Apache-2.0"
] | 1 | 2020-11-07T13:22:29.000Z | 2020-12-20T12:54:00.000Z | atcoder/abc081/A/main.cpp | xirc/cp-algorithm | 89c67cff2f00459c5bb020ab44bff5ae419a1728 | [
"Apache-2.0"
] | 1 | 2021-01-16T03:40:10.000Z | 2021-01-16T03:40:10.000Z | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0); cout.tie(0);
string S;
cin >> S;
int count = 0;
for (auto c : S) {
if (c == '1') ++count;
}
cout << count << endl;
return 0;
} | 15.842105 | 37 | 0.518272 | xirc |
3eddf8426a021bc2fc0d94415a8a9df10e934c7e | 8,769 | cpp | C++ | src/lib/Output.cpp | alexkorochkin/mcray | 2cfa58d2cd6f872612f6396d65781ad83211c06c | [
"MIT"
] | 7 | 2020-12-16T08:23:31.000Z | 2022-01-15T22:56:26.000Z | src/lib/Output.cpp | alexkorochkin/mcray | 2cfa58d2cd6f872612f6396d65781ad83211c06c | [
"MIT"
] | null | null | null | src/lib/Output.cpp | alexkorochkin/mcray | 2cfa58d2cd6f872612f6396d65781ad83211c06c | [
"MIT"
] | 2 | 2020-12-16T08:23:34.000Z | 2022-01-10T21:05:54.000Z | /*
* Output.cpp
*
* Author:
* Oleg Kalashev
*
* Copyright (c) 2020 Institute for Nuclear Research, RAS
*
* 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, i... | 31.317857 | 179 | 0.670886 | alexkorochkin |
3edf417f411114268d513802deda9e5558814bb5 | 259 | cc | C++ | test/spsc_queue_test_bm.cc | orientye/orientnet | 0a3d6fad1fbf6896b60fd9fe8157cc8599dbd0cc | [
"MIT"
] | 5 | 2020-09-23T00:19:58.000Z | 2021-03-24T11:13:27.000Z | test/spsc_queue_test_bm.cc | orientye/orientnet | 0a3d6fad1fbf6896b60fd9fe8157cc8599dbd0cc | [
"MIT"
] | null | null | null | test/spsc_queue_test_bm.cc | orientye/orientnet | 0a3d6fad1fbf6896b60fd9fe8157cc8599dbd0cc | [
"MIT"
] | null | null | null | // Copyright (c) 2021 The orientnet Authors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#include "util/concurrent/spsc_queue.h"
| 43.166667 | 77 | 0.764479 | orientye |
3ee200db8752b3ff03988c3cf42742cb71cd1fcc | 39 | hpp | C++ | src/boost_vmd_is_empty_list.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 10 | 2018-03-17T00:58:42.000Z | 2021-07-06T02:48:49.000Z | src/boost_vmd_is_empty_list.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 2 | 2021-03-26T15:17:35.000Z | 2021-05-20T23:55:08.000Z | src/boost_vmd_is_empty_list.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 4 | 2019-05-28T21:06:37.000Z | 2021-07-06T03:06:52.000Z | #include <boost/vmd/is_empty_list.hpp>
| 19.5 | 38 | 0.794872 | miathedev |
3ee48bfa21f9c248217abd0c95a5b28d58a00904 | 64,451 | cxx | C++ | src/ptlib/common/object.cxx | sverdlin/opalvoip-ptlib | f6e144cba6a94c2978b9a4dbe0df2f5d53bed3be | [
"Beerware"
] | null | null | null | src/ptlib/common/object.cxx | sverdlin/opalvoip-ptlib | f6e144cba6a94c2978b9a4dbe0df2f5d53bed3be | [
"Beerware"
] | null | null | null | src/ptlib/common/object.cxx | sverdlin/opalvoip-ptlib | f6e144cba6a94c2978b9a4dbe0df2f5d53bed3be | [
"Beerware"
] | null | null | null | /*
* object.cxx
*
* Global object support.
*
* Portable Windows Library
*
* Copyright (c) 1993-1998 Equivalence Pty. Ltd.
*
* The contents of this file are subject to the Mozilla Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a ... | 26.072411 | 153 | 0.608028 | sverdlin |
3ee88109143a7775d14b3b725cc3ec19cd502385 | 1,497 | cpp | C++ | Downloader with Icon/youtubedl.cpp | manashmndl/Youtube_dl_Qt_Gui | 97eb10599e78abceaa2acc1d990b727797b2dce9 | [
"MIT"
] | 26 | 2015-04-09T18:30:09.000Z | 2019-06-23T19:55:07.000Z | Downloader with Icon/youtubedl.cpp | manashmndl/Youtube_dl_Qt_Gui | 97eb10599e78abceaa2acc1d990b727797b2dce9 | [
"MIT"
] | null | null | null | Downloader with Icon/youtubedl.cpp | manashmndl/Youtube_dl_Qt_Gui | 97eb10599e78abceaa2acc1d990b727797b2dce9 | [
"MIT"
] | 9 | 2015-04-22T04:09:56.000Z | 2018-01-31T06:58:08.000Z | #include "youtubedl.h"
#include "ui_youtubedl.h"
#include <QMessageBox>
YoutubeDl::YoutubeDl(QWidget *parent) :
QDialog(parent),
ui(new Ui::YoutubeDl)
{
ui->setupUi(this);
ui->link->setPlaceholderText("Put Download Link");
process = new QProcess(this);
process->setWorkingDirectory(QDir::curren... | 23.761905 | 105 | 0.655979 | manashmndl |
3ee899e59370bc5f832f3b6aee511cbf61371b40 | 642 | hpp | C++ | libs/systems/include/sge/systems/detail/has_with_input.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | libs/systems/include/sge/systems/detail/has_with_input.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | libs/systems/include/sge/systems/detail/has_with_input.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 3 | 2018-05-11T01:11:34.000Z | 2021-04-24T19:47:45.000Z | // Copyright Carl Philipp Reh 2006 - 2019.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef SGE_SYSTEMS_DETAIL_HAS_WITH_INPUT_HPP_INCLUDED
#define SGE_SYSTEMS_DETAIL_HAS_WITH_INPUT_HP... | 27.913043 | 95 | 0.753894 | cpreh |
3ee9cad19bef55a911e18ab9961e1659b15ce3a4 | 2,943 | cpp | C++ | aws-cpp-sdk-servicecatalog/source/model/ShareDetails.cpp | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | 2 | 2019-03-11T15:50:55.000Z | 2020-02-27T11:40:27.000Z | aws-cpp-sdk-servicecatalog/source/model/ShareDetails.cpp | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-servicecatalog/source/model/ShareDetails.cpp | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | 1 | 2019-01-18T13:03:55.000Z | 2019-01-18T13:03:55.000Z | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | 29.138614 | 130 | 0.760788 | curiousjgeorge |
3eebcb3f138140fbfa32b77a7b0d389d5412e488 | 18,513 | cc | C++ | tensorflow/core/debug/debug_io_utils_test.cc | abhaikollara/tensorflow | 4f96df3659696990cb34d0ad07dc67843c4225a9 | [
"Apache-2.0"
] | 848 | 2019-12-03T00:16:17.000Z | 2022-03-31T22:53:17.000Z | tensorflow/core/debug/debug_io_utils_test.cc | abhaikollara/tensorflow | 4f96df3659696990cb34d0ad07dc67843c4225a9 | [
"Apache-2.0"
] | 656 | 2019-12-03T00:48:46.000Z | 2022-03-31T18:41:54.000Z | tensorflow/core/debug/debug_io_utils_test.cc | abhaikollara/tensorflow | 4f96df3659696990cb34d0ad07dc67843c4225a9 | [
"Apache-2.0"
] | 506 | 2019-12-03T00:46:26.000Z | 2022-03-30T10:34:56.000Z | /* Copyright 2016 The TensorFlow 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 by applicable law or a... | 36.586957 | 80 | 0.678766 | abhaikollara |
3eed5f29951a0430f5474b47cab41f71d44a5821 | 7,314 | hpp | C++ | test/task_test.hpp | jimmiebergmann/wepp | beb14c840b80967f909f6a748dd0bfd37b29a456 | [
"MIT"
] | 2 | 2020-02-19T00:21:55.000Z | 2020-10-14T21:06:06.000Z | test/task_test.hpp | jimmiebergmann/wepp | beb14c840b80967f909f6a748dd0bfd37b29a456 | [
"MIT"
] | null | null | null | test/task_test.hpp | jimmiebergmann/wepp | beb14c840b80967f909f6a748dd0bfd37b29a456 | [
"MIT"
] | null | null | null | #include "gtest/gtest.h"
#include "wepp/socket/socket.hpp"
#include "wepp/task.hpp"
#include <thread>
using namespace Wepp;
TEST(Task, Task)
{
{
struct TestStruct
{
TestStruct(int integer, const std::string & string) :
integer(integer), string(string)
{ }
... | 29.491935 | 124 | 0.523517 | jimmiebergmann |
3eedaeed291400acbec17ae230bd836f34645307 | 9,052 | cpp | C++ | poptorch/source/AutomaticCasting.cpp | gglin001/poptorch | 61f38ed2d8c6b672e023862eb698865fa7f4724e | [
"MIT"
] | 128 | 2020-12-08T22:22:46.000Z | 2022-03-23T10:54:26.000Z | poptorch/source/AutomaticCasting.cpp | gglin001/poptorch | 61f38ed2d8c6b672e023862eb698865fa7f4724e | [
"MIT"
] | 4 | 2021-06-22T14:26:28.000Z | 2022-02-15T11:25:05.000Z | poptorch/source/AutomaticCasting.cpp | gglin001/poptorch | 61f38ed2d8c6b672e023862eb698865fa7f4724e | [
"MIT"
] | 7 | 2020-12-09T20:32:56.000Z | 2022-01-18T16:12:24.000Z | // Copyright (c) 2020 Graphcore Ltd. All rights reserved.
#include <map>
#include <set>
#include <stack>
#include <stdexcept>
#include <string>
#include "torch/csrc/jit/ir/ir.h"
#include "PoptorchSymbols.hpp"
#include "popart_canonicalization/PopartCanonicalizationUtils.hpp"
#include "poptorch/ImplicitCasting.hpp"
#i... | 27.513678 | 80 | 0.654441 | gglin001 |
3ef182abed8520392d22b82ddbcf70edb29813e7 | 2,588 | cpp | C++ | examples/read-continuous.cpp | damercer/libsmu | 6f141ea37a0778299ad1771cc9385fef14010bc0 | [
"BSD-3-Clause"
] | 30 | 2015-03-28T23:19:54.000Z | 2022-03-08T14:44:36.000Z | examples/read-continuous.cpp | damercer/libsmu | 6f141ea37a0778299ad1771cc9385fef14010bc0 | [
"BSD-3-Clause"
] | 147 | 2015-03-06T18:37:11.000Z | 2022-03-28T08:26:47.000Z | examples/read-continuous.cpp | damercer/libsmu | 6f141ea37a0778299ad1771cc9385fef14010bc0 | [
"BSD-3-Clause"
] | 26 | 2015-03-14T06:04:17.000Z | 2022-03-12T16:37:48.000Z | // Simple example for reading data in a continuous fashion.
//
// When run the example should output from all channels to
// stdout in a continuous fashion. If any sample is dropped the program exits
// with an error code of 1.
//
// Note that slower/older setups and/or slower older terminals can cause sample
// drops,... | 26.408163 | 96 | 0.675039 | damercer |
3ef2278923ebe2aad86c142ab4a71eb12f0534a7 | 8,988 | cc | C++ | lib/models/MailboxStatus.src.cc | skywa04885/fsmtp-v2 | a8023ff92e00e1df12f097f50c9bb3bf05d22d0e | [
"Apache-2.0"
] | 1 | 2020-07-11T21:48:52.000Z | 2020-07-11T21:48:52.000Z | lib/models/MailboxStatus.src.cc | skywa04885/fsmtp-v2 | a8023ff92e00e1df12f097f50c9bb3bf05d22d0e | [
"Apache-2.0"
] | 1 | 2020-07-13T15:01:30.000Z | 2020-07-19T21:23:05.000Z | lib/models/MailboxStatus.src.cc | skywa04885/fsmtp-v2 | a8023ff92e00e1df12f097f50c9bb3bf05d22d0e | [
"Apache-2.0"
] | 1 | 2021-05-24T23:05:59.000Z | 2021-05-24T23:05:59.000Z | /*
Copyright [2020] [Luke A.C.A. Rieff]
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 writing, ... | 31.208333 | 98 | 0.711282 | skywa04885 |
3ef26c06a9403e46ecd1ee59557a754fa1b681b1 | 4,580 | cc | C++ | libcef/utility/content_utility_client.cc | amirbn7/cef | 732a307c751c2670a35fd9e0e4a491cdfc6bcc6b | [
"BSD-3-Clause"
] | 1 | 2019-06-18T13:01:08.000Z | 2019-06-18T13:01:08.000Z | libcef/utility/content_utility_client.cc | amirbn7/cef | 732a307c751c2670a35fd9e0e4a491cdfc6bcc6b | [
"BSD-3-Clause"
] | null | null | null | libcef/utility/content_utility_client.cc | amirbn7/cef | 732a307c751c2670a35fd9e0e4a491cdfc6bcc6b | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2014 the Chromium Embedded Framework authors.
// Portions Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "libcef/utility/content_utility_client.h"
#include <utility>
#inclu... | 36.349206 | 89 | 0.758079 | amirbn7 |
3ef4bba2ab250e82f28b81bc21439a075fc2c1ed | 342 | cpp | C++ | ace/Proactor_Impl.cpp | azerothcore/lib-ace | c1fedd5f2033951eee9ecf898f6f2b75584aaefc | [
"DOC"
] | null | null | null | ace/Proactor_Impl.cpp | azerothcore/lib-ace | c1fedd5f2033951eee9ecf898f6f2b75584aaefc | [
"DOC"
] | null | null | null | ace/Proactor_Impl.cpp | azerothcore/lib-ace | c1fedd5f2033951eee9ecf898f6f2b75584aaefc | [
"DOC"
] | 1 | 2020-04-26T03:07:12.000Z | 2020-04-26T03:07:12.000Z | #include "ace/Proactor_Impl.h"
#if defined (ACE_HAS_WIN32_OVERLAPPED_IO) || defined (ACE_HAS_AIO_CALLS)
// This only works on standard Win32 platforms and on Unix platforms supporting
// aio calls.
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_Proactor_Impl::~ACE_Proactor_Impl (void)
{
}
ACE_END_VERSIONED_NAME... | 21.375 | 80 | 0.777778 | azerothcore |
3ef6fadf3f8330b4a38c9280340217b89fcc1b2c | 5,081 | inl | C++ | include/geometry2D/primitives/triangle.inl | TheTryton/linear_algebra | 1975bab581e56451e2a7e45749374f11274248a5 | [
"MIT"
] | null | null | null | include/geometry2D/primitives/triangle.inl | TheTryton/linear_algebra | 1975bab581e56451e2a7e45749374f11274248a5 | [
"MIT"
] | null | null | null | include/geometry2D/primitives/triangle.inl | TheTryton/linear_algebra | 1975bab581e56451e2a7e45749374f11274248a5 | [
"MIT"
] | null | null | null | #pragma once
#include "triangle.hpp"
NAMESPACE_GEOMETRY2D_BEGIN
template<class T>
triangle<T>::triangle() :
_points({ point_type<T>(), point_type<T>(), point_type<T>() })
{
}
template<class T>
triangle<T>::triangle(const T & x1, const T & y1, const T & x2, const T & y2, const T & x3, const T & y3):
_points(... | 20.738776 | 106 | 0.563865 | TheTryton |
3ef8b18c1a76cd07fea8c6acdb6329aab1ed28b9 | 1,608 | cc | C++ | chrome/browser/sync_file_system/drive_backend_v1/origin_operation_queue_unittest.cc | nagineni/chromium-crosswalk | 5725642f1c67d0f97e8613ec1c3e8107ab53fdf8 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 231 | 2015-01-08T09:04:44.000Z | 2021-12-30T03:03:10.000Z | chrome/browser/sync_file_system/drive_backend_v1/origin_operation_queue_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/sync_file_system/drive_backend_v1/origin_operation_queue_unittest.cc | j4ckfrost/android_external_chromium_org | a1a3dad8b08d1fcf6b6b36c267158ed63217c780 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 268 | 2015-01-21T05:53:28.000Z | 2022-03-25T22:09:01.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 "base/basictypes.h"
#include "chrome/browser/sync_file_system/drive_backend_v1/origin_operation_queue.h"
#include "testing/gtest/include/gtest/gt... | 30.923077 | 84 | 0.758706 | nagineni |
3efaf2f4e0804dccb6059b8da0924278a52accf3 | 6,022 | hpp | C++ | src/Video/Renderer.hpp | Chainsawkitten/HymnToBeauty | b0c431869fee4314eca2aee65d93e78f7e707f10 | [
"MIT"
] | 10 | 2019-01-13T05:51:54.000Z | 2022-02-02T14:34:47.000Z | src/Video/Renderer.hpp | Chainsawkitten/HymnToBeauty | b0c431869fee4314eca2aee65d93e78f7e707f10 | [
"MIT"
] | 46 | 2016-12-30T11:14:25.000Z | 2021-09-04T12:50:40.000Z | src/Video/Renderer.hpp | Chainsawkitten/HymnToBeauty | b0c431869fee4314eca2aee65d93e78f7e707f10 | [
"MIT"
] | 4 | 2017-09-28T09:00:58.000Z | 2019-10-22T05:28:32.000Z | #pragma once
#include <glm/glm.hpp>
#include <vector>
#include "Lighting/Light.hpp"
#include "PostProcessing/PostProcessing.hpp"
struct GLFWwindow;
namespace Video {
class StaticRenderProgram;
class Texture2D;
class Shader;
class ShaderProgram;
class RenderPass;
class Buffer;
class VertexDescription;
class GeometryB... | 28.540284 | 169 | 0.682165 | Chainsawkitten |
3efc7626dd892193cbf27fa81d5e64f6261ff19b | 2,231 | hpp | C++ | Public/Expected/Details/BaseExpectedStorage.hpp | doctor-fate/expected | 1cfa9a1fe6700c49a4cc5c65301559a0b373a692 | [
"MIT"
] | 1 | 2021-07-10T09:54:18.000Z | 2021-07-10T09:54:18.000Z | Public/Expected/Details/BaseExpectedStorage.hpp | doctor-fate/expected | 1cfa9a1fe6700c49a4cc5c65301559a0b373a692 | [
"MIT"
] | null | null | null | Public/Expected/Details/BaseExpectedStorage.hpp | doctor-fate/expected | 1cfa9a1fe6700c49a4cc5c65301559a0b373a692 | [
"MIT"
] | null | null | null | #pragma once
#include <new>
#include "ExpectedUnion.hpp"
namespace stdx::details {
template <typename T, typename E>
class BaseExpectedStorage {
public:
using ValueType = T;
using ErrorType = E;
using UnexpectedType = Unexpected<E>;
[[nodiscard]] constexpr bool HasValue()... | 31.871429 | 107 | 0.573286 | doctor-fate |
3efd40b7834a7527f25380bdafe0957957c67ed0 | 40,442 | cpp | C++ | main_d1/editor/medwall.cpp | ziplantil/CacaoticusDescent | b4299442bc43310690a666e181dd983c1491dce1 | [
"MIT"
] | 22 | 2019-08-19T21:09:29.000Z | 2022-03-25T23:19:15.000Z | main_d1/editor/medwall.cpp | ziplantil/CacaoticusDescent | b4299442bc43310690a666e181dd983c1491dce1 | [
"MIT"
] | 6 | 2019-11-08T22:17:03.000Z | 2022-03-10T05:02:59.000Z | main_d1/editor/medwall.cpp | ziplantil/CacaoticusDescent | b4299442bc43310690a666e181dd983c1491dce1 | [
"MIT"
] | 6 | 2019-08-24T08:03:14.000Z | 2022-02-04T15:04:52.000Z | /*
THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
IN USING, DISPLAYING, A... | 29.178932 | 134 | 0.633129 | ziplantil |
3efd9eaae520375095d19a202238b5f775086171 | 79,337 | cc | C++ | src/kvstore/mv_kvstore.cc | epfl-labos/wren | 24d3a3aff68a833b4f5b65124a5c9e8cbb0e6264 | [
"Apache-2.0"
] | 10 | 2018-07-13T07:17:03.000Z | 2021-03-05T09:26:31.000Z | src/kvstore/mv_kvstore.cc | epfl-labos/wren | 24d3a3aff68a833b4f5b65124a5c9e8cbb0e6264 | [
"Apache-2.0"
] | null | null | null | src/kvstore/mv_kvstore.cc | epfl-labos/wren | 24d3a3aff68a833b4f5b65124a5c9e8cbb0e6264 | [
"Apache-2.0"
] | 3 | 2018-07-03T11:54:43.000Z | 2019-09-26T13:04:21.000Z | #include "kvstore/mv_kvstore.h"
namespace scc {
MVKVTXStore *MVKVTXStore::Instance() {
static MVKVTXStore store;
return &store;
}
MVKVTXStore::MVKVTXStore() {
for (int i = 0; i < SysConfig::NumItemIndexTables; i++) {
_indexTables.push_back(new ItemIndexTable);
... | 42.335646 | 171 | 0.606728 | epfl-labos |
410223cd6247cbdd5747f03ba0ab7b22a9460bad | 11,773 | cpp | C++ | third_party/skia/src/gpu/GrSoftwarePathRenderer.cpp | JoKaWare/WTL-DUI | 89fd6f4ed7e6a4ce85f9af29c40de0d9a85ca8b2 | [
"BSD-3-Clause"
] | 19 | 2015-03-30T09:49:58.000Z | 2020-01-17T20:05:12.000Z | third_party/skia/src/gpu/GrSoftwarePathRenderer.cpp | jjzhang166/WTL-DUI | 89fd6f4ed7e6a4ce85f9af29c40de0d9a85ca8b2 | [
"BSD-3-Clause"
] | 1 | 2015-12-31T06:08:27.000Z | 2015-12-31T06:08:27.000Z | third_party/skia/src/gpu/GrSoftwarePathRenderer.cpp | jjzhang166/WTL-DUI | 89fd6f4ed7e6a4ce85f9af29c40de0d9a85ca8b2 | [
"BSD-3-Clause"
] | 11 | 2015-06-01T06:18:03.000Z | 2020-05-10T07:18:53.000Z |
/*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "GrSoftwarePathRenderer.h"
#include "GrPaint.h"
#include "SkPaint.h"
#include "GrRenderTarget.h"
#include "GrContext.h"
#include "SkDraw.h"
#include "SkRasterClip.h... | 34.323615 | 83 | 0.565786 | JoKaWare |
41054d31a7d139c8eb5c72d5f277c542641bf79a | 947 | hpp | C++ | src/Core/ECS/Quadtree/RectangleCollider.hpp | Gegel85/THFgame | 89b2508ac8564274c26db0f45f7fab4876badb5d | [
"MIT"
] | null | null | null | src/Core/ECS/Quadtree/RectangleCollider.hpp | Gegel85/THFgame | 89b2508ac8564274c26db0f45f7fab4876badb5d | [
"MIT"
] | null | null | null | src/Core/ECS/Quadtree/RectangleCollider.hpp | Gegel85/THFgame | 89b2508ac8564274c26db0f45f7fab4876badb5d | [
"MIT"
] | 1 | 2019-11-18T22:05:10.000Z | 2019-11-18T22:05:10.000Z | //
// Created by anonymus-raccoon on 1/15/20.
//
#ifndef THFGAME_RECTANGLECOLLIDER_HPP
#define THFGAME_RECTANGLECOLLIDER_HPP
#include "../../DataType/Rect.hpp"
#include "../Entity.hpp"
#include "ICollider.hpp"
namespace TouhouFanGame::ECS::Quadtree
{
class RectangleCollider : public ICollider {
public:
bool coll... | 30.548387 | 97 | 0.776135 | Gegel85 |
4107569e638c60b14b0d272292d4653772e64347 | 6,281 | cc | C++ | lib/Packet.cc | dashagratz/simple_network | d881b095a59e2fe3a508af3f7f40aebd5ae3f346 | [
"MIT"
] | 2 | 2020-04-15T16:34:09.000Z | 2020-04-15T16:37:55.000Z | lib/Packet.cc | dashagratz/simple_network | d881b095a59e2fe3a508af3f7f40aebd5ae3f346 | [
"MIT"
] | null | null | null | lib/Packet.cc | dashagratz/simple_network | d881b095a59e2fe3a508af3f7f40aebd5ae3f346 | [
"MIT"
] | null | null | null | /*******************************************************************************
Author: Alexey Frolov (alexwin32@mail.ru)
This software is distributed freely under the terms of the MIT License.
See "LICENSE" or "http://copyfree.org/content/standard/licenses/mit/license.txt".
******************************... | 35.089385 | 110 | 0.670753 | dashagratz |
4107e59a94d142d1637ef516399d04713694b1e9 | 490 | cpp | C++ | source/embedded/Src/main_loop.cpp | azais-corentin/SliderBar | e7bd1b2623f54f10d616e5ac5e2ba47891c10cd2 | [
"MIT"
] | 1 | 2018-10-18T06:14:31.000Z | 2018-10-18T06:14:31.000Z | source/embedded/Src/main_loop.cpp | azais-corentin/SliderBar | e7bd1b2623f54f10d616e5ac5e2ba47891c10cd2 | [
"MIT"
] | 8 | 2018-11-06T21:56:50.000Z | 2019-01-22T08:31:55.000Z | source/embedded/Src/main_loop.cpp | azais-corentin/SliderBar | e7bd1b2623f54f10d616e5ac5e2ba47891c10cd2 | [
"MIT"
] | null | null | null | #include "main_loop.h"
#include <SliderBar/sliderbar.h>
#include <USB/CDC.h>
// Initializes global instances
void* cdc = CDC::self();
void* sliderbar = SliderBar::self();
void main_loop() {
auto&& cdcInstance = static_cast<CDC*>(cdc);
auto&& sliderbarInstance = static_cast<SliderBar*>(sliderbar);
cdcInstance-... | 21.304348 | 64 | 0.718367 | azais-corentin |
410b73aff7834cb3f2fe831c896a620c093eb90c | 2,459 | cpp | C++ | src/eepp/network/socket.cpp | jayrulez/eepp | 09c5c1b6b4c0306bb0a188474778c6949b5df3a7 | [
"MIT"
] | 37 | 2020-01-20T06:21:24.000Z | 2022-03-21T17:44:50.000Z | src/eepp/network/socket.cpp | jayrulez/eepp | 09c5c1b6b4c0306bb0a188474778c6949b5df3a7 | [
"MIT"
] | null | null | null | src/eepp/network/socket.cpp | jayrulez/eepp | 09c5c1b6b4c0306bb0a188474778c6949b5df3a7 | [
"MIT"
] | 9 | 2019-03-22T00:33:07.000Z | 2022-03-01T01:35:59.000Z | #include <eepp/network/platform/platformimpl.hpp>
#include <eepp/network/socket.hpp>
#include <eepp/system/log.hpp>
namespace EE { namespace Network {
Socket::Socket( Type type ) :
mType( type ), mSocket( Private::SocketImpl::invalidSocket() ), mIsBlocking( true ) {}
Socket::~Socket() {
// Close the sock... | 28.264368 | 88 | 0.646604 | jayrulez |
410ba645fedf4484e358fd97d3ad27f26944454a | 4,621 | cpp | C++ | src/spgwu/simpleswitch/pfcp_far.cpp | vetletm/openair-spgwu-tiny | c6c4e189d4ec32f84a326af39e37ecd32e962022 | [
"Apache-2.0"
] | 1 | 2021-06-22T08:11:20.000Z | 2021-06-22T08:11:20.000Z | src/spgwu/simpleswitch/pfcp_far.cpp | vetletm/openair-spgwu-tiny | c6c4e189d4ec32f84a326af39e37ecd32e962022 | [
"Apache-2.0"
] | null | null | null | src/spgwu/simpleswitch/pfcp_far.cpp | vetletm/openair-spgwu-tiny | c6c4e189d4ec32f84a326af39e37ecd32e962022 | [
"Apache-2.0"
] | null | null | null | /*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public Lic... | 37.266129 | 81 | 0.62454 | vetletm |
410bb50bcf1b67b32be43f246d0642c83e9c57a5 | 37,045 | cpp | C++ | src/server/scripts/Northrend/Ulduar/ulduar/boss_flame_leviathan.cpp | Zone-Emu/ZoneEmuCataclysm | 6277efff6cb5adfe8b7a718bf376e81609fa9a6c | [
"OpenSSL"
] | 1 | 2019-03-23T19:32:57.000Z | 2019-03-23T19:32:57.000Z | src/server/scripts/Northrend/Ulduar/ulduar/boss_flame_leviathan.cpp | Zone-Emu/ZoneEmuCataclysm | 6277efff6cb5adfe8b7a718bf376e81609fa9a6c | [
"OpenSSL"
] | null | null | null | src/server/scripts/Northrend/Ulduar/ulduar/boss_flame_leviathan.cpp | Zone-Emu/ZoneEmuCataclysm | 6277efff6cb5adfe8b7a718bf376e81609fa9a6c | [
"OpenSSL"
] | null | null | null | /*
* Copyright (C) 2005 - 2012 MaNGOS <http://www.getmangos.com/>
*
* Copyright (C) 2008 - 2012 Trinity <http://www.trinitycore.org/>
*
* Copyright (C) 2006 - 2012 ScriptDev2 <http://www.scriptdev2.com/>
*
* Copyright (C) 2010 - 2012 ProjectSkyfire <http://www.projectskyfire.org/>
*
* Copyright (C) 2011 - 201... | 28.650425 | 147 | 0.697395 | Zone-Emu |
410d006626309f201c89f562c383f311198a0a96 | 1,057 | cpp | C++ | proxygen/lib/utils/test/UtilTest.cpp | JackBoosY/proxygen | ad5252b83514f3550380229adfd24beae0fa510d | [
"BSD-3-Clause"
] | 1 | 2021-01-15T01:55:53.000Z | 2021-01-15T01:55:53.000Z | proxygen/lib/utils/test/UtilTest.cpp | JackBoosY/proxygen | ad5252b83514f3550380229adfd24beae0fa510d | [
"BSD-3-Clause"
] | null | null | null | proxygen/lib/utils/test/UtilTest.cpp | JackBoosY/proxygen | ad5252b83514f3550380229adfd24beae0fa510d | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) Facebook, 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 <folly/portability/GTest.h>
#include <proxygen/lib/utils/UtilInl.h>
using namespace proxyge... | 29.361111 | 72 | 0.690634 | JackBoosY |
410d999061a714e752d2b0f6c15236dd1454014c | 30,634 | cpp | C++ | src/Renderer.cpp | demarle/VisRTX | abd6a7040c2d7521750b9b787b9085c053894d17 | [
"BSD-3-Clause"
] | 4 | 2019-04-04T17:23:18.000Z | 2019-09-29T11:32:56.000Z | src/Renderer.cpp | straaljager/VisRTX | abd6a7040c2d7521750b9b787b9085c053894d17 | [
"BSD-3-Clause"
] | null | null | null | src/Renderer.cpp | straaljager/VisRTX | abd6a7040c2d7521750b9b787b9085c053894d17 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of condition... | 39.024204 | 189 | 0.544722 | demarle |
410e1303f03c97e8d833f29907b44bc8a71c35a6 | 1,969 | hpp | C++ | lld/stm32l4x/gpio/variant/hw_gpio_register_stm32l432kc.hpp | brandonbraun653/Thor_STM32 | 2aaba95728936b2d5784e99b96c208a94e3cb8df | [
"MIT"
] | null | null | null | lld/stm32l4x/gpio/variant/hw_gpio_register_stm32l432kc.hpp | brandonbraun653/Thor_STM32 | 2aaba95728936b2d5784e99b96c208a94e3cb8df | [
"MIT"
] | 36 | 2019-03-24T14:43:25.000Z | 2021-01-11T00:05:30.000Z | lld/stm32l4x/gpio/variant/hw_gpio_register_stm32l432kc.hpp | brandonbraun653/Thor | 46e022f1791c8644955135c630fdd12a4296e44d | [
"MIT"
] | null | null | null | /********************************************************************************
* File Name:
* hw_gpio_register_stm32l432kc.hpp
*
* Description:
* GPIO definitions for the STM32L432KC series chips.
*
* 2020 | Brandon Braun | brandonbraun653@gmail.com
**************************************************... | 35.160714 | 101 | 0.569325 | brandonbraun653 |
410ff5948c03bec8d364c8f5be18d89ba604faf4 | 1,812 | cpp | C++ | LinkedList/EvenAfterOddLL.cpp | tanmayagarwal06/CompetitiveProgramming | ce1df2dbe829a0babfb18e65beee8604eb80915c | [
"MIT"
] | null | null | null | LinkedList/EvenAfterOddLL.cpp | tanmayagarwal06/CompetitiveProgramming | ce1df2dbe829a0babfb18e65beee8604eb80915c | [
"MIT"
] | null | null | null | LinkedList/EvenAfterOddLL.cpp | tanmayagarwal06/CompetitiveProgramming | ce1df2dbe829a0babfb18e65beee8604eb80915c | [
"MIT"
] | 3 | 2020-10-06T02:57:41.000Z | 2020-10-20T06:54:04.000Z | #include <iostream>
class node{
public:
int data;
node * next;
node(int data){
this->data=data;
this->next=NULL;
}
};
using namespace std;
node* takeinput(){
int data;
cin>>data;
node* head=NULL,*tail=NULL;
while(data!=-1){
node *newnode=new node... | 19.483871 | 56 | 0.416115 | tanmayagarwal06 |
411079d8cefad9aea41cca90f49bf5f2e14c4f77 | 7,766 | cpp | C++ | qcom-caf/display/composer/hwc_debugger.cpp | Jleeblanch/android_device_motorola_sm7250-common | 735d0e7dce41e6fb381b10ece6e7e9616eee045c | [
"FTL"
] | 4 | 2020-12-17T13:39:05.000Z | 2022-02-11T10:24:58.000Z | qcom-caf/display/composer/hwc_debugger.cpp | Jleeblanch/android_device_motorola_sm7250-common | 735d0e7dce41e6fb381b10ece6e7e9616eee045c | [
"FTL"
] | null | null | null | qcom-caf/display/composer/hwc_debugger.cpp | Jleeblanch/android_device_motorola_sm7250-common | 735d0e7dce41e6fb381b10ece6e7e9616eee045c | [
"FTL"
] | 4 | 2021-01-07T12:31:21.000Z | 2021-12-27T19:08:12.000Z | /*
* Copyright (c) 2014 - 2020, The Linux Foundation. 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... | 30.454902 | 89 | 0.738347 | Jleeblanch |