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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
225cbc1165f4d8ebe4aad018a0bded7ee16a7ee4 | 8,733 | cpp | C++ | iotcloud/src/v20210408/model/CertInfo.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 43 | 2019-08-14T08:14:12.000Z | 2022-03-30T12:35:09.000Z | iotcloud/src/v20210408/model/CertInfo.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 12 | 2019-07-15T10:44:59.000Z | 2021-11-02T12:35:00.000Z | iotcloud/src/v20210408/model/CertInfo.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 28 | 2019-07-12T09:06:22.000Z | 2022-03-30T08:04:18.000Z | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | 27.121118 | 140 | 0.675255 | suluner |
225d27d248e883e0c054df3a946207a9526d4dc9 | 4,619 | cpp | C++ | Source/CheatSheetUI/Private/UI/UI_CheatView.cpp | tomshinton/CheatSheetPlugin | 2d2f8d7b7b6370a2815315c0bb21c613a915ee39 | [
"MIT"
] | 8 | 2022-02-03T18:09:23.000Z | 2022-02-09T16:05:28.000Z | Source/CheatSheetUI/Private/UI/UI_CheatView.cpp | tomshinton/CheatSheetPlugin | 2d2f8d7b7b6370a2815315c0bb21c613a915ee39 | [
"MIT"
] | null | null | null | Source/CheatSheetUI/Private/UI/UI_CheatView.cpp | tomshinton/CheatSheetPlugin | 2d2f8d7b7b6370a2815315c0bb21c613a915ee39 | [
"MIT"
] | null | null | null | // CheatSheet Plugin - Tom Shinton 2019
#include "CheatSheetUI/Public/UI/UI_CheatView.h"
#include "CheatSheetUI/Public/UI/Entries/UI_CategoryEntry.h"
#include "CheatSheetUI/Public/UI/Entries/UI_CheatEntry.h"
#include <Runtime/UMG/Public/Components/ScrollBox.h>
#include <Runtime/UMG/Public/Components/VerticalBox.h>
... | 24.833333 | 117 | 0.746698 | tomshinton |
2262f39071bd2012923504ddb5dbbab5aed024f3 | 2,102 | cpp | C++ | 0rgb/example_2/src/inversecolorpsaceadjustement.cpp | Enkelena/oRGB | c7e250f0a28b8db073d60c05f693ad15489e271e | [
"MIT"
] | null | null | null | 0rgb/example_2/src/inversecolorpsaceadjustement.cpp | Enkelena/oRGB | c7e250f0a28b8db073d60c05f693ad15489e271e | [
"MIT"
] | null | null | null | 0rgb/example_2/src/inversecolorpsaceadjustement.cpp | Enkelena/oRGB | c7e250f0a28b8db073d60c05f693ad15489e271e | [
"MIT"
] | null | null | null | #include "inversecolorpsaceadjustement.hpp"
Eigen::Matrix3d Inverse::rotatePoint(double angle) {
Eigen::Matrix3d _matrix;
_matrix << 1, 0, 0,
0, 1, 0,
0, 0, 1;
_matrix(1,1) = cos(angle * M_PI / 180);
_matrix(1,2) = -sin(angle * M_PI / 180);
_matr... | 25.02381 | 77 | 0.508088 | Enkelena |
22656c72129a8c5d4c88865731b72bc0ae5aa42b | 3,060 | cpp | C++ | placement/idea_place/cpp/main.cpp | rbarzic/MAGICAL | 0510550b263913f8c62f46662a9dfa2ae94d2386 | [
"BSD-3-Clause"
] | null | null | null | placement/idea_place/cpp/main.cpp | rbarzic/MAGICAL | 0510550b263913f8c62f46662a9dfa2ae94d2386 | [
"BSD-3-Clause"
] | null | null | null | placement/idea_place/cpp/main.cpp | rbarzic/MAGICAL | 0510550b263913f8c62f46662a9dfa2ae94d2386 | [
"BSD-3-Clause"
] | null | null | null | /*************************************************************************
> File Name: main.cpp
> Author: Biying Xu
> Mail: biying@utexas.edu
> Created Time: Mon 04 Jun 2018 05:27:08 PM CDT
************************************************************************/
#include <iostream>
#include <limbo/p... | 34.772727 | 147 | 0.616667 | rbarzic |
2268b62366ab8f11a3b140845f84a8b213ca6626 | 1,158 | cpp | C++ | recommender-systems/final-project/stringMethods.cpp | ramongonze/ufmg-practical-assignments | d85821e330a0f089a7601168bbbf8b4aef174f27 | [
"MIT"
] | null | null | null | recommender-systems/final-project/stringMethods.cpp | ramongonze/ufmg-practical-assignments | d85821e330a0f089a7601168bbbf8b4aef174f27 | [
"MIT"
] | null | null | null | recommender-systems/final-project/stringMethods.cpp | ramongonze/ufmg-practical-assignments | d85821e330a0f089a7601168bbbf8b4aef174f27 | [
"MIT"
] | null | null | null | #ifndef _STRING_
#include "stringMethods.hpp"
#endif
using namespace std;
string fixString(string s){
while(s.size() > 0 && s[0] == ' ')
s = s.substr(1,s.size());
for(unsigned int i = 0; i < s.size(); i++)
if(ispunct(s[i]) || (i < s.size()-1 && s[i] == ' ' && s[i+1] == ' '))
s.erase(i--, 1);
else
s[i] ... | 20.678571 | 99 | 0.609672 | ramongonze |
226903335861ddb3d4794320113d40a0e01ad7ba | 548 | cpp | C++ | Development/Src/ALAudio/Src/ALAudio.cpp | addstone/unrealengine3 | 4579d360dfd52b12493292120b27bb430f978fc8 | [
"FSFAP"
] | 37 | 2020-05-22T18:18:47.000Z | 2022-03-19T06:51:54.000Z | Development/Src/ALAudio/Src/ALAudio.cpp | AdanosGotoman/unrealengine3 | 4579d360dfd52b12493292120b27bb430f978fc8 | [
"FSFAP"
] | null | null | null | Development/Src/ALAudio/Src/ALAudio.cpp | AdanosGotoman/unrealengine3 | 4579d360dfd52b12493292120b27bb430f978fc8 | [
"FSFAP"
] | 27 | 2020-05-17T01:03:30.000Z | 2022-03-06T19:10:14.000Z | /*=============================================================================
ALAudio.cpp: Unreal OpenAL Audio package.
Copyright 1999-2001 Epic Games, Inc. All Rights Reserved.
Revision history:
* Created by Daniel Vogel.
* Ported to Linux by Ryan C. Gordon.
=====================================================... | 34.25 | 79 | 0.308394 | addstone |
226c7b014b66da63b49119fed307734bbcca44b8 | 5,462 | cpp | C++ | src/component/renderer.cpp | pepng-CU/pepng | 6030798b6936a6f85655d5e5d1ca638be282de92 | [
"MIT"
] | 2 | 2021-04-28T20:51:25.000Z | 2021-04-28T20:51:38.000Z | src/component/renderer.cpp | pepng-CU/pepng | 6030798b6936a6f85655d5e5d1ca638be282de92 | [
"MIT"
] | null | null | null | src/component/renderer.cpp | pepng-CU/pepng | 6030798b6936a6f85655d5e5d1ca638be282de92 | [
"MIT"
] | null | null | null | #include "renderer.hpp"
#include "../io/io.hpp"
#include "transform.hpp"
#include "../object/camera.hpp"
Renderer::Renderer(std::shared_ptr<Model> model, std::shared_ptr<Material> material, GLenum render_mode) :
Component("Renderer"),
model(model),
material(material),
render_mode(render_mode),
rec... | 27.174129 | 137 | 0.584401 | pepng-CU |
226e61ddb34305690040a52e48dc35f82d3e7422 | 42 | cpp | C++ | lab3/smarttree/main.cpp | Adrjanjan/JiMP-Exercises | 0c5de5878bcf0ede27fedcdf3cebbe081679e180 | [
"MIT"
] | null | null | null | lab3/smarttree/main.cpp | Adrjanjan/JiMP-Exercises | 0c5de5878bcf0ede27fedcdf3cebbe081679e180 | [
"MIT"
] | null | null | null | lab3/smarttree/main.cpp | Adrjanjan/JiMP-Exercises | 0c5de5878bcf0ede27fedcdf3cebbe081679e180 | [
"MIT"
] | null | null | null | //
// Created by adrja on 22.03.2018.
//
| 8.4 | 34 | 0.571429 | Adrjanjan |
227142a71df76ed4b47ffc680d9db3ce94ea0582 | 3,803 | cpp | C++ | src/serac/physics/utilities/state_manager.cpp | jamiebramwell/serac | a839f8dc1560b1ec2b3d542f23a5f2ac71f2a962 | [
"BSD-3-Clause"
] | 1 | 2021-07-21T05:34:18.000Z | 2021-07-21T05:34:18.000Z | src/serac/physics/utilities/state_manager.cpp | jamiebramwell/serac | a839f8dc1560b1ec2b3d542f23a5f2ac71f2a962 | [
"BSD-3-Clause"
] | null | null | null | src/serac/physics/utilities/state_manager.cpp | jamiebramwell/serac | a839f8dc1560b1ec2b3d542f23a5f2ac71f2a962 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2019-2021, Lawrence Livermore National Security, LLC and
// other Serac Project Developers. See the top-level LICENSE file for
// details.
//
// SPDX-License-Identifier: (BSD-3-Clause)
#include "serac/physics/utilities/state_manager.hpp"
namespace serac {
// Definition of extern variable
QuadratureD... | 37.653465 | 117 | 0.694715 | jamiebramwell |
2273033cd933efe7c3bf84b88d905cdd3636dda4 | 2,582 | cpp | C++ | DAA Lab/krus.cpp | mayank-kumar-giri/Competitive-Coding | 4cd26ede051bad15bf25cfd037317c313b607507 | [
"MIT"
] | null | null | null | DAA Lab/krus.cpp | mayank-kumar-giri/Competitive-Coding | 4cd26ede051bad15bf25cfd037317c313b607507 | [
"MIT"
] | null | null | null | DAA Lab/krus.cpp | mayank-kumar-giri/Competitive-Coding | 4cd26ede051bad15bf25cfd037317c313b607507 | [
"MIT"
] | null | null | null | #include<iostream>
#include"merge.c"
#include"bs.cpp"
#include<cstdlib>
#define maxim 1000000
using namespace std;
int main()
{
int n;
cout<<"\nEnter no. of vertices ";
cin>>n;
char v[n];
int ad[n][n],org[n][n];
for(int i=0;i<n;i++)
{
for(int j=0;j<n;j++)
{
ad[i]... | 22.258621 | 99 | 0.358637 | mayank-kumar-giri |
2274b38223ec0101805591c9d00f091faada64f5 | 148 | cpp | C++ | src/chess/tweenable.cpp | delveam/chess | 2c1e8582b73cb59d71e14a50f671d4ccbac34b95 | [
"MIT"
] | null | null | null | src/chess/tweenable.cpp | delveam/chess | 2c1e8582b73cb59d71e14a50f671d4ccbac34b95 | [
"MIT"
] | 1 | 2021-07-25T15:54:27.000Z | 2021-07-25T15:54:27.000Z | src/chess/tweenable.cpp | delveam/chess | 2c1e8582b73cb59d71e14a50f671d4ccbac34b95 | [
"MIT"
] | null | null | null | #include "tweenable.hpp"
void Tweenable::update(float delta_time)
{
if (done()) {
return;
}
m_t += delta_time / m_duration;
}
| 13.454545 | 40 | 0.594595 | delveam |
22768f05debe929a3112e1e8c69e158092ec23f2 | 2,536 | cpp | C++ | Source/MapGenerator/Utils/MapEditorUtils.cpp | benoitestival/MapModuleEditor | 3a7d72d0dc3761bd61f19df1e5af46081a791356 | [
"MIT"
] | null | null | null | Source/MapGenerator/Utils/MapEditorUtils.cpp | benoitestival/MapModuleEditor | 3a7d72d0dc3761bd61f19df1e5af46081a791356 | [
"MIT"
] | null | null | null | Source/MapGenerator/Utils/MapEditorUtils.cpp | benoitestival/MapModuleEditor | 3a7d72d0dc3761bd61f19df1e5af46081a791356 | [
"MIT"
] | 1 | 2021-07-07T09:22:28.000Z | 2021-07-07T09:22:28.000Z | // Fill out your copyright notice in the Description page of Project Settings.
#include "MapEditorUtils.h"
#include "MapGenerator/GameMode/EditorGameMode.h"
#include "MapGenerator/MapActor.h"
#include "MapGenerator/Objects/BaseMapManager.h"
#include "MapGenerator/HeightMapLandscape/LandscapeManager.h"
#include "MapGe... | 35.71831 | 102 | 0.800473 | benoitestival |
22827a71da757c0d7d34edb96ca7818e35355799 | 2,849 | hpp | C++ | src/Magma/Window/GLFWWindow.hpp | RiscadoA/Magma-Engine | ebf8d8c25d631a9731efa33e23b162339985ae3b | [
"Zlib"
] | 3 | 2017-11-01T21:47:57.000Z | 2022-01-07T03:50:58.000Z | src/Magma/Window/GLFWWindow.hpp | RiscadoA/Magma-Engine | ebf8d8c25d631a9731efa33e23b162339985ae3b | [
"Zlib"
] | null | null | null | src/Magma/Window/GLFWWindow.hpp | RiscadoA/Magma-Engine | ebf8d8c25d631a9731efa33e23b162339985ae3b | [
"Zlib"
] | null | null | null | #pragma once
#include "Window.hpp"
#include <atomic>
#include <queue>
struct GLFWwindow;
namespace Magma
{
/// <summary>
/// Implements Window abstract interface class using GLFW
/// </summary>
class GLFWWindow : public Window
{
public:
GLFWWindow();
virtual ~GLFWWindow() final;
/// <summary>
/// G... | 34.325301 | 95 | 0.75079 | RiscadoA |
22839d29257f3790c1872f3f32c065b3689ba351 | 3,320 | cpp | C++ | src/eepp/graphics/ctexturefontloader.cpp | dogtwelve/eepp | dd672ff0e108ae1e08449ca918dc144018fb4ba4 | [
"MIT"
] | null | null | null | src/eepp/graphics/ctexturefontloader.cpp | dogtwelve/eepp | dd672ff0e108ae1e08449ca918dc144018fb4ba4 | [
"MIT"
] | null | null | null | src/eepp/graphics/ctexturefontloader.cpp | dogtwelve/eepp | dd672ff0e108ae1e08449ca918dc144018fb4ba4 | [
"MIT"
] | null | null | null | #include <eepp/graphics/ctexturefontloader.hpp>
#include <eepp/graphics/cfontmanager.hpp>
namespace EE { namespace Graphics {
cTextureFontLoader::cTextureFontLoader( const std::string FontName, cTextureLoader * TexLoader, const eeUint& StartChar, const eeUint& Spacing, const eeUint& TexColumns, const eeUint& TexRows,... | 22.432432 | 219 | 0.716566 | dogtwelve |
2285ef05a4bee2ac69dd0545677fe1b1304e5cdb | 33,821 | cpp | C++ | tests/storeTests/TestHMStorageHostGroup.cpp | tkraiser/NetCHASM | 6b6e70fb071c9be497b0f83359ecfa0ef6e8b2f4 | [
"Apache-2.0"
] | null | null | null | tests/storeTests/TestHMStorageHostGroup.cpp | tkraiser/NetCHASM | 6b6e70fb071c9be497b0f83359ecfa0ef6e8b2f4 | [
"Apache-2.0"
] | null | null | null | tests/storeTests/TestHMStorageHostGroup.cpp | tkraiser/NetCHASM | 6b6e70fb071c9be497b0f83359ecfa0ef6e8b2f4 | [
"Apache-2.0"
] | null | null | null | // Copyright 2019, Oath Inc.
// Licensed under the terms of the Apache 2.0 license. See LICENSE file in the root of the distribution for licensing details.
#include "TestHMStorageHostGroup.h"
#include "common.h"
#include "TestStorageHostGroup.h"
using namespace std;
CPPUNIT_TEST_SUITE_REGISTRATION(TESTNAME);
void
TES... | 39.556725 | 126 | 0.717838 | tkraiser |
228724da71b641d8d9a08f27b639cbde44a77aec | 2,997 | cpp | C++ | examples/accumulator_example/accumulator_example.cpp | alexsr/bachelorthesis-vup | d6a870bbde0cdd7275cbe785e6ef024b48f7687b | [
"MIT"
] | null | null | null | examples/accumulator_example/accumulator_example.cpp | alexsr/bachelorthesis-vup | d6a870bbde0cdd7275cbe785e6ef024b48f7687b | [
"MIT"
] | null | null | null | examples/accumulator_example/accumulator_example.cpp | alexsr/bachelorthesis-vup | d6a870bbde0cdd7275cbe785e6ef024b48f7687b | [
"MIT"
] | null | null | null | // Bachelor thesis Particleframework
// Author: Alexander Scheid-Rehder
// Email: alexsr@uni-koblenz.de
#include "vup/Core/defs.h"
#include "vup/Core/utils.h"
#include "vup/Rendering/ShaderProgram.h"
#include "vup/Rendering/TrackballCam.h"
#include "vup/Rendering/RenderData/SphereData.h"
#include "vup/Rendering/Partic... | 32.225806 | 108 | 0.688689 | alexsr |
228770341eaf4887a11b131dce6cda60ad4e53fa | 4,833 | cpp | C++ | src/nnfusion/core/graph/graph_util.cpp | lynex/nnfusion | 6332697c71b6614ca6f04c0dac8614636882630d | [
"MIT"
] | 639 | 2020-09-05T10:00:59.000Z | 2022-03-30T08:42:39.000Z | src/nnfusion/core/graph/graph_util.cpp | QPC-database/nnfusion | 99ada47c50f355ca278001f11bc752d1c7abcee2 | [
"MIT"
] | 252 | 2020-09-09T05:35:36.000Z | 2022-03-29T04:58:41.000Z | src/nnfusion/core/graph/graph_util.cpp | QPC-database/nnfusion | 99ada47c50f355ca278001f11bc752d1c7abcee2 | [
"MIT"
] | 104 | 2020-09-05T10:01:08.000Z | 2022-03-23T10:59:13.000Z | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include "graph_util.hpp"
#include <queue>
void nnfusion::graph::ReverseDFS(const Graph* graph,
const GNodeVector& start,
const std::function<void(std::shared_ptr<GNode>)>& ente... | 28.263158 | 91 | 0.470515 | lynex |
22888136451d7d988fa8cc94016c41d942d399cf | 2,720 | cpp | C++ | worker/src/Master/RtcMaster.cpp | idarkblue/mediasoup | f77bbd3680c122a2a4f15836b746e53e4b8571d0 | [
"0BSD"
] | null | null | null | worker/src/Master/RtcMaster.cpp | idarkblue/mediasoup | f77bbd3680c122a2a4f15836b746e53e4b8571d0 | [
"0BSD"
] | null | null | null | worker/src/Master/RtcMaster.cpp | idarkblue/mediasoup | f77bbd3680c122a2a4f15836b746e53e4b8571d0 | [
"0BSD"
] | null | null | null | #define PMS_CLASS "pingos::RtcMaster"
#define MS_CLASS "pingos::RtcMaster"
#include "Master/Defines.hpp"
#include "Master/RtcMaster.hpp"
#include "Master/Log.hpp"
#include "Master/RtcWorker.hpp"
#include "MediaSoupErrors.hpp"
namespace pingos {
RtcMaster::RtcMaster()
{
}
RtcMaster::~RtcMaster()
{
}
RtcWorker* Rtc... | 22.666667 | 92 | 0.666912 | idarkblue |
228a1f7e09f9a0015524cf5801846fb76324f36d | 1,097 | cpp | C++ | p_euler_102.cpp | Krshivam/Project-Euler | 108d4c98450de09315e399956665edd369a50d64 | [
"MIT"
] | null | null | null | p_euler_102.cpp | Krshivam/Project-Euler | 108d4c98450de09315e399956665edd369a50d64 | [
"MIT"
] | null | null | null | p_euler_102.cpp | Krshivam/Project-Euler | 108d4c98450de09315e399956665edd369a50d64 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
#define ll long long
#define pll pair<ll,ll>
#define mp make_pair
#define pb push_back
ll dist(pll a,pll b){
return sqrt((a.first-b.first)*(a.first-b.first) + (a.second-b.second)*(a.second-b.second));
}
ll area(ll a,ll b, ll c){
ll s = (a+b+c);
return (s)... | 19.245614 | 100 | 0.534184 | Krshivam |
228c325c39695039d7ee268d2b8eec42e2962d24 | 6,775 | cpp | C++ | source/examples/ex20_scene_graphs.cpp | 3a2l/OpenGL-Examples | a7284a0fc596898188f53671dac36ae60da62408 | [
"MIT"
] | null | null | null | source/examples/ex20_scene_graphs.cpp | 3a2l/OpenGL-Examples | a7284a0fc596898188f53671dac36ae60da62408 | [
"MIT"
] | null | null | null | source/examples/ex20_scene_graphs.cpp | 3a2l/OpenGL-Examples | a7284a0fc596898188f53671dac36ae60da62408 | [
"MIT"
] | null | null | null | #include <application.hpp>
#include <shader.hpp>
#include <imgui-utils/utils.hpp>
#include <mesh/mesh.hpp>
#include <mesh/mesh-utils.hpp>
#include <camera/camera.hpp>
#include <camera/controllers/fly_camera_controller.hpp>
#include <glm/gtx/euler_angles.hpp>
#include <json/json.hpp>
#include <fstream>
#include <str... | 33.539604 | 108 | 0.586863 | 3a2l |
229221a6fc2d1ae4e85587370531bb8684636e29 | 11,693 | cpp | C++ | src/xmppserveroutput.cpp | WST/mawar | 8a603f31869d8b31f60b782e5aa0342082874f9e | [
"MIT"
] | 1 | 2019-08-16T18:07:43.000Z | 2019-08-16T18:07:43.000Z | src/xmppserveroutput.cpp | WST/mawar | 8a603f31869d8b31f60b782e5aa0342082874f9e | [
"MIT"
] | null | null | null | src/xmppserveroutput.cpp | WST/mawar | 8a603f31869d8b31f60b782e5aa0342082874f9e | [
"MIT"
] | null | null | null |
#include <xmppserveroutput.h>
#include <xmppserverinput.h>
#include <s2slistener.h>
#include <xmppserver.h>
#include <xmppdomain.h>
#include <virtualhost.h>
#include <functions.h>
#include <logs.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <xml-parser.h>
#include <string>
using namespace std;... | 27.643026 | 207 | 0.67194 | WST |
2299990e2d751cca8994ce5a32b56a4d91bb1734 | 5,399 | cc | C++ | chrome/browser/ssl/ssl_client_auth_handler.cc | SlimKatLegacy/android_external_chromium | bc611cda58cc18d0dbaa8a7aee05eb3c0742e573 | [
"BSD-3-Clause"
] | 2 | 2017-02-20T14:25:04.000Z | 2019-12-13T13:58:28.000Z | chrome/browser/ssl/ssl_client_auth_handler.cc | SlimKatLegacy/android_external_chromium | bc611cda58cc18d0dbaa8a7aee05eb3c0742e573 | [
"BSD-3-Clause"
] | 2 | 2017-07-25T09:37:22.000Z | 2017-08-04T07:18:56.000Z | chrome/browser/ssl/ssl_client_auth_handler.cc | SlimKatLegacy/android_external_chromium | bc611cda58cc18d0dbaa8a7aee05eb3c0742e573 | [
"BSD-3-Clause"
] | 2 | 2020-01-12T00:55:53.000Z | 2020-11-04T06:36:41.000Z | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ssl/ssl_client_auth_handler.h"
#include "chrome/browser/ssl/ssl_client_auth_notification_details.h"
#include "content/browse... | 38.021127 | 80 | 0.739581 | SlimKatLegacy |
229ab0e7949131966932572a17990d829807197d | 8,714 | cpp | C++ | Blizzlike/ArcEmu/C++/QuestScripts/Quest_UnGoro.cpp | 499453466/Lua-Other | 43fd2b72405faf3f2074fd2a2706ef115d16faa6 | [
"Unlicense"
] | 2 | 2015-06-23T16:26:32.000Z | 2019-06-27T07:45:59.000Z | Blizzlike/ArcEmu/C++/QuestScripts/Quest_UnGoro.cpp | Eduardo-Silla/Lua-Other | db610f946dbcaf81b3de9801f758e11a7bf2753f | [
"Unlicense"
] | null | null | null | Blizzlike/ArcEmu/C++/QuestScripts/Quest_UnGoro.cpp | Eduardo-Silla/Lua-Other | db610f946dbcaf81b3de9801f758e11a7bf2753f | [
"Unlicense"
] | 3 | 2015-01-10T18:22:59.000Z | 2021-04-27T21:28:28.000Z | /*
* ArcScripts for ArcEmu MMORPG Server
* Copyright (C) 2009 ArcEmu Team <http://www.arcemu.org/>
* Copyright (C) 2008-2009 Sun++ Team <http://www.sunscripting.com/>
* Copyright (C) 2005-2007 Ascent Team <http://www.ascentemu.com/>
* Copyright (C) 2007-2008 Moon++ Team <http://www.moonplusplus.info/>
*
* This p... | 38.728889 | 108 | 0.660431 | 499453466 |
229acf34e1869f8476a505292837124d6e7d76a8 | 336 | cpp | C++ | 1487/b.cpp | vladshablinsky/algo | 815392708d00dc8d3159b4866599de64fa9d34fa | [
"MIT"
] | 1 | 2021-10-24T00:46:37.000Z | 2021-10-24T00:46:37.000Z | 1487/b.cpp | vladshablinsky/algo | 815392708d00dc8d3159b4866599de64fa9d34fa | [
"MIT"
] | null | null | null | 1487/b.cpp | vladshablinsky/algo | 815392708d00dc8d3159b4866599de64fa9d34fa | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int get_cnt_skip(int n, int k) {
if (n % 2 == 0) {
return 0;
}
return k / ((n - 1) / 2);
}
void solve() {
int n, k;
scanf("%d%d", &n, &k);
printf("%d\n", (k - 1 + get_cnt_skip(n, k - 1)) % n + 1);
}
int main() {
int t;
scanf("%d", &t);
while (t--) {
... | 13.44 | 59 | 0.464286 | vladshablinsky |
229b827ce6b20a59b9ea173b296a814a2ed3293f | 4,606 | cpp | C++ | src/net/dns/client.cpp | jaeh/IncludeOS | 1cc2bcf36758ff5ef3099e0c0c1ee55f0bb1de02 | [
"Apache-2.0"
] | 3,673 | 2015-12-01T22:14:02.000Z | 2019-03-22T03:07:20.000Z | src/net/dns/client.cpp | jaeh/IncludeOS | 1cc2bcf36758ff5ef3099e0c0c1ee55f0bb1de02 | [
"Apache-2.0"
] | 960 | 2015-12-01T20:40:36.000Z | 2019-03-22T13:21:21.000Z | src/net/dns/client.cpp | jaeh/IncludeOS | 1cc2bcf36758ff5ef3099e0c0c1ee55f0bb1de02 | [
"Apache-2.0"
] | 357 | 2015-12-02T09:32:50.000Z | 2019-03-22T09:32:34.000Z |
#include <net/dns/client.hpp>
#include <net/inet>
namespace net::dns
{
#ifdef LIBFUZZER_ENABLED
Timer::duration_t Client::DEFAULT_RESOLVE_TIMEOUT{std::chrono::seconds(9999)};
uint16_t g_last_xid = 0;
#else
Timer::duration_t Client::DEFAULT_RESOLVE_TIMEOUT{std::chrono::seconds(5)};
#endif
Timer::duration_t Cli... | 25.876404 | 96 | 0.616804 | jaeh |
22a07304a934c770fb3bd6377c38064a2a8ddfb4 | 5,841 | cpp | C++ | tools/signer/lc7signertask.cpp | phixion/l0phtcrack | 48ee2f711134e178dbedbd925640f6b3b663fbb5 | [
"Apache-2.0",
"MIT"
] | 2 | 2021-10-20T00:25:39.000Z | 2021-11-08T12:52:42.000Z | tools/signer/lc7signertask.cpp | Brute-f0rce/l0phtcrack | 25f681c07828e5e68e0dd788d84cc13c154aed3d | [
"Apache-2.0",
"MIT"
] | null | null | null | tools/signer/lc7signertask.cpp | Brute-f0rce/l0phtcrack | 25f681c07828e5e68e0dd788d84cc13c154aed3d | [
"Apache-2.0",
"MIT"
] | 1 | 2022-03-14T06:41:16.000Z | 2022-03-14T06:41:16.000Z | #include "lc7signertask.h"
#include "qcommandline.h"
#include "CkPrivateKey.h"
#include "CkPublicKey.h"
#include "CkRsa.h"
#define MAGIC (0xCDC31337)
void print(QString out)
{
printf("%s",out.toLatin1().constData());
}
LC7SignerTask::LC7SignerTask(QObject *parent) : QObject(parent)
{
m_app=QCoreAp... | 21.086643 | 163 | 0.659305 | phixion |
22a08cf80db06465c549cf747068f85c5fde7287 | 896 | hpp | C++ | src/sdk/rules/LimitedTupleTrimmer.hpp | psettle/sudoku | ea0040f3a9c1c093fa9ece851d2ec4104760e97a | [
"MIT"
] | 1 | 2020-10-11T06:54:04.000Z | 2020-10-11T06:54:04.000Z | src/sdk/rules/LimitedTupleTrimmer.hpp | psettle/sudoku | ea0040f3a9c1c093fa9ece851d2ec4104760e97a | [
"MIT"
] | null | null | null | src/sdk/rules/LimitedTupleTrimmer.hpp | psettle/sudoku | ea0040f3a9c1c093fa9ece851d2ec4104760e97a | [
"MIT"
] | null | null | null | /**
* LimitedTupleTrimmer.hpp - Limited Tuple Trimmer
*
* Check for limited tuples that have been resolved and delete them.
*/
#ifndef _SDK_LIMITEDTUPLETRIMMER
#define _SDK_LIMITEDTUPLETRIMMER
#include "sdk/data/LimitedTupleDatabase.hpp"
#include "sdk/interfaces/ILimitedTupleObserver.hpp"
#include "sdk/interfaces/... | 28.903226 | 94 | 0.780134 | psettle |
22a6c28912f0c699bf66157eefc0977754af59f6 | 2,231 | cpp | C++ | src/HttpCacheMetadata.cpp | commshare/easyhttpcpp | 757ec75679c1cbc5f04c81a30133f4bcd3e780f4 | [
"MIT"
] | 147 | 2017-10-05T01:42:02.000Z | 2022-01-21T08:15:05.000Z | src/HttpCacheMetadata.cpp | commshare/easyhttpcpp | 757ec75679c1cbc5f04c81a30133f4bcd3e780f4 | [
"MIT"
] | 20 | 2018-05-17T01:55:16.000Z | 2021-04-20T07:27:00.000Z | src/HttpCacheMetadata.cpp | commshare/easyhttpcpp | 757ec75679c1cbc5f04c81a30133f4bcd3e780f4 | [
"MIT"
] | 32 | 2018-05-05T13:04:34.000Z | 2022-03-25T16:57:11.000Z | /*
* Copyright 2017 Sony Corporation
*/
#include "HttpCacheMetadata.h"
namespace easyhttpcpp {
HttpCacheMetadata::HttpCacheMetadata() : m_httpMethod(Request::HttpMethodGet), m_statusCode(-1), m_responseBodySize(0),
m_sentRequestAtEpoch(0), m_receivedResponseAtEpoch(0), m_createdAtEpoch(0)
{
}
HttpCacheMe... | 19.919643 | 119 | 0.779023 | commshare |
22a7a56ac931e31adf1102ab56942347c6f443b4 | 5,938 | cpp | C++ | es-core/src/TextToSpeech.cpp | brooksytech/emulationstation | 67f12cb26127ff4f46966ea3735308ee4fd4e1ed | [
"Apache-2.0",
"MIT"
] | 139 | 2017-10-30T13:19:56.000Z | 2022-03-27T05:43:17.000Z | es-core/src/TextToSpeech.cpp | brooksytech/emulationstation | 67f12cb26127ff4f46966ea3735308ee4fd4e1ed | [
"Apache-2.0",
"MIT"
] | 273 | 2018-03-05T13:09:48.000Z | 2022-03-30T11:44:06.000Z | es-core/src/TextToSpeech.cpp | brooksytech/emulationstation | 67f12cb26127ff4f46966ea3735308ee4fd4e1ed | [
"Apache-2.0",
"MIT"
] | 193 | 2017-10-29T18:59:54.000Z | 2022-03-27T16:15:58.000Z | #include "TextToSpeech.h"
#include "Log.h"
#include "LocaleES.h"
#if WIN32
#include "SystemConf.h"
#include <sapi.h>
#include <sphelper.h>
#include <thread>
#pragma comment(lib, "sapi.lib")
void TextToSpeech::SpeakThread()
{
if (FAILED(::CoInitializeEx(NULL, COINITBASE_MULTITHREADED)))
return;
ISpVoice* pVoice ... | 23.105058 | 147 | 0.664534 | brooksytech |
22ad28df7094ac0534375bb2bcb3b6c19876399d | 139 | cpp | C++ | ByteCat/src/byteCat/lua/LuaFunction.cpp | CodingWithMenno/ByteCat | 0fd19aa6781a5c28c6ff5e6f66c9624ace860de7 | [
"Apache-2.0"
] | 2 | 2021-04-07T11:39:24.000Z | 2022-03-02T11:24:58.000Z | ByteCat/src/byteCat/lua/LuaFunction.cpp | CodingWithMenno/ByteCat | 0fd19aa6781a5c28c6ff5e6f66c9624ace860de7 | [
"Apache-2.0"
] | null | null | null | ByteCat/src/byteCat/lua/LuaFunction.cpp | CodingWithMenno/ByteCat | 0fd19aa6781a5c28c6ff5e6f66c9624ace860de7 | [
"Apache-2.0"
] | null | null | null | #include "bcpch.h"
#include "byteCat/lua/LuaFunction.h"
namespace BC
{
void LuaAPI::LOG(std::string string)
{
LOG_ERROR(string);
}
}
| 12.636364 | 37 | 0.690647 | CodingWithMenno |
22ae0f1e9ce554ddebc3a5e15413125dcde28723 | 3,187 | cpp | C++ | components/scene_graph/tests/screen/viewport.cpp | untgames/funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 7 | 2016-03-30T17:00:39.000Z | 2017-03-27T16:04:04.000Z | components/scene_graph/tests/screen/viewport.cpp | untgames/Funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 4 | 2017-11-21T11:25:49.000Z | 2018-09-20T17:59:27.000Z | components/scene_graph/tests/screen/viewport.cpp | untgames/Funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 4 | 2016-11-29T15:18:40.000Z | 2017-03-27T16:04:08.000Z | #include "shared.h"
///Слушатель событий области вывода
class MyViewportListener: public IViewportListener
{
public:
void OnViewportChangeName (const char* new_name)
{
printf ("OnChangeName(%s)\n", new_name);
}
void OnViewportChangeArea (const Rect& new_area, float min_depth, float ... | 28.455357 | 149 | 0.595231 | untgames |
22b32ed752e2ce78c767cb3c241707c2c2cd6c19 | 3,063 | cpp | C++ | cobs/file/ranfold_index_header.cpp | karasikov/cobs | 63ba36f042c59e14f721018e68e36e20a8bf4936 | [
"MIT"
] | null | null | null | cobs/file/ranfold_index_header.cpp | karasikov/cobs | 63ba36f042c59e14f721018e68e36e20a8bf4936 | [
"MIT"
] | null | null | null | cobs/file/ranfold_index_header.cpp | karasikov/cobs | 63ba36f042c59e14f721018e68e36e20a8bf4936 | [
"MIT"
] | null | null | null | /*******************************************************************************
* cobs/file/ranfold_index_header.cpp
*
* Copyright (c) 2018 Florian Gauger
* Copyright (c) 2018 Timo Bingmann
*
* All rights reserved. Published under the MIT License in the LICENSE file.
********************************************... | 34.41573 | 80 | 0.592556 | karasikov |
22b636954ca7a11b897fd7d86ea09522e79bd331 | 775 | cpp | C++ | competitive-programming/codeforces/#786-Div. 3/abc_sort.cpp | dushimsam/deep-dive-in-algorithms | 0c6a04b3115ba789ab4aca68cce51c9a3c3a075a | [
"MIT"
] | null | null | null | competitive-programming/codeforces/#786-Div. 3/abc_sort.cpp | dushimsam/deep-dive-in-algorithms | 0c6a04b3115ba789ab4aca68cce51c9a3c3a075a | [
"MIT"
] | null | null | null | competitive-programming/codeforces/#786-Div. 3/abc_sort.cpp | dushimsam/deep-dive-in-algorithms | 0c6a04b3115ba789ab4aca68cce51c9a3c3a075a | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
struct Node
{
int data;
Node *next = NULL;
};
void insertAtMiddle(Node **head, int data,int position)
{
int count = 0;
while (count < position)
{
head = head->next;
count++;
}
struct Node *newNode = new Node();
newNode->data... | 14.903846 | 56 | 0.529032 | dushimsam |
22b7846ef3357e993329c3b5eb37391160222741 | 1,805 | cpp | C++ | Project/15-QPainter3/widget.cpp | liukai-tech/Qt-Learning | 5f7d29f5868b6fa8b9340095af6cd025f94f698f | [
"MIT"
] | null | null | null | Project/15-QPainter3/widget.cpp | liukai-tech/Qt-Learning | 5f7d29f5868b6fa8b9340095af6cd025f94f698f | [
"MIT"
] | null | null | null | Project/15-QPainter3/widget.cpp | liukai-tech/Qt-Learning | 5f7d29f5868b6fa8b9340095af6cd025f94f698f | [
"MIT"
] | null | null | null | #include "widget.h"
#include "ui_widget.h"
Widget::Widget(QWidget *parent)
: QWidget(parent)
, ui(new Ui::Widget)
{
ui->setupUi(this);
}
Widget::~Widget()
{
delete ui;
}
//当鼠标按下时: 创建一条新线压入vector。并且将当前鼠标位置作为新线的起点。
void Widget::mousePressEvent(QMouseEvent *event){
QVector<QPoint>line;
_lines.... | 25.069444 | 70 | 0.610526 | liukai-tech |
22c0b36cd36d5332d8cc2f2e46f2667bc6a24ea3 | 6,564 | cpp | C++ | sr_apx/vc/lift/vc_lift.cpp | TheoryInPractice/structural-rounding | 0aa961b9c8ecd4fd12f65302f6e95145ccb00cb6 | [
"BSD-3-Clause"
] | 4 | 2019-10-17T02:29:48.000Z | 2022-02-20T17:03:42.000Z | sr_apx/vc/lift/vc_lift.cpp | TheoryInPractice/structural-rounding | 0aa961b9c8ecd4fd12f65302f6e95145ccb00cb6 | [
"BSD-3-Clause"
] | null | null | null | sr_apx/vc/lift/vc_lift.cpp | TheoryInPractice/structural-rounding | 0aa961b9c8ecd4fd12f65302f6e95145ccb00cb6 | [
"BSD-3-Clause"
] | 1 | 2020-01-14T15:51:50.000Z | 2020-01-14T15:51:50.000Z |
#include "vc_lift.hpp"
#include "vc_apx.hpp"
#include "vc_exact.hpp"
#include "bipartite.hpp"
Set* naive_lift(Graph* graph, Set* octset, Set* partial) {
Set* cover = new Set();
for (Set::Iterator iu = octset->begin(); iu != octset->end(); ++iu) {
int u = *iu;
cover->insert(u);
}
for (Set::Iterator iu = parti... | 22.326531 | 97 | 0.605728 | TheoryInPractice |
42ef587ad8c653cd5c9abdcc52b28aa8fbd0583b | 7,253 | hpp | C++ | libs/ml/include/ml/ops/loss_functions/mean_square_error_loss.hpp | jinmannwong/ledger | f3b129c127e107603e08bb192eb695d23eb17dbc | [
"Apache-2.0"
] | null | null | null | libs/ml/include/ml/ops/loss_functions/mean_square_error_loss.hpp | jinmannwong/ledger | f3b129c127e107603e08bb192eb695d23eb17dbc | [
"Apache-2.0"
] | null | null | null | libs/ml/include/ml/ops/loss_functions/mean_square_error_loss.hpp | jinmannwong/ledger | f3b129c127e107603e08bb192eb695d23eb17dbc | [
"Apache-2.0"
] | null | null | null | #pragma once
//------------------------------------------------------------------------------
//
// Copyright 2018-2019 Fetch.AI Limited
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the Licen... | 29.971074 | 100 | 0.560182 | jinmannwong |
42f17c77b425dc71ee0a5cfa35ce4258403145c2 | 1,477 | cc | C++ | src/libc/wchar/ungetwc_test.cc | NuxiNL/CloudLibc | d361c06c3fab3a7814d05b4630abe6da0cc7d757 | [
"BSD-2-Clause"
] | 298 | 2015-03-04T13:36:51.000Z | 2021-12-19T05:11:58.000Z | src/libc/wchar/ungetwc_test.cc | NuxiNL/CloudLibc | d361c06c3fab3a7814d05b4630abe6da0cc7d757 | [
"BSD-2-Clause"
] | 31 | 2015-07-27T14:51:55.000Z | 2020-09-14T15:59:57.000Z | src/libc/wchar/ungetwc_test.cc | NuxiNL/CloudLibc | d361c06c3fab3a7814d05b4630abe6da0cc7d757 | [
"BSD-2-Clause"
] | 18 | 2016-03-27T13:49:22.000Z | 2021-09-21T19:02:04.000Z | // Copyright (c) 2015 Nuxi, https://nuxi.nl/
//
// SPDX-License-Identifier: BSD-2-Clause
#include <errno.h>
#include <locale.h>
#include <stdio.h>
#include <unistd.h>
#include <wchar.h>
#include "gtest/gtest.h"
TEST(ungetwc, eilseq) {
FILE *fp = tmpfile();
ASSERT_NE(NULL, fp);
// Attempted to push a Unicode c... | 21.405797 | 66 | 0.647935 | NuxiNL |
42f6531ebc2e944c59b698966f111aeaab0a16ae | 505 | hpp | C++ | include/xul/data/collection.hpp | hindsights/xul | 666ce90742a9919d538ad5c8aad618737171e93b | [
"MIT"
] | 2 | 2018-03-16T07:06:48.000Z | 2018-04-02T03:02:14.000Z | include/xul/data/collection.hpp | hindsights/xul | 666ce90742a9919d538ad5c8aad618737171e93b | [
"MIT"
] | null | null | null | include/xul/data/collection.hpp | hindsights/xul | 666ce90742a9919d538ad5c8aad618737171e93b | [
"MIT"
] | 1 | 2019-08-12T05:15:29.000Z | 2019-08-12T05:15:29.000Z | #pragma once
#include <xul/lang/object.hpp>
#include <xul/data/iterator.hpp>
#include <xul/data/element_traits.hpp>
namespace xul {
template <typename T, typename TraitsT = element_traits<T> >
class collection : public object
{
public:
typedef T element_type;
typedef TraitsT traits_type;
virtual int g... | 20.2 | 81 | 0.728713 | hindsights |
42f7541754e038a3a0cd02174229e8f3410e355e | 588 | hpp | C++ | books/tech/cpp/std-14/m_gregoire-professional_cpp-3_ed/ch_09-discovering_inheritance_techniques/02_the_weather_prediction_class/WeatherPrediction.hpp | ordinary-developer/education | 1b1f40dacab873b28ee01dfa33a9bd3ec4cfed58 | [
"MIT"
] | 1 | 2017-05-04T08:23:46.000Z | 2017-05-04T08:23:46.000Z | books/techno/cpp/__intermediate/professional_cpp_3_ed_m_gregoire/code/chapter_9/02_the_weather_prediction_class/WeatherPrediction.hpp | ordinary-developer/lin_education | 13d65b20cdbc3e5467b2383e5c09c73bbcdcb227 | [
"MIT"
] | null | null | null | books/techno/cpp/__intermediate/professional_cpp_3_ed_m_gregoire/code/chapter_9/02_the_weather_prediction_class/WeatherPrediction.hpp | ordinary-developer/lin_education | 13d65b20cdbc3e5467b2383e5c09c73bbcdcb227 | [
"MIT"
] | null | null | null | #ifndef WEATHER_PREDICTION_HPP
#define WEATHER_PREDICTION_CPP
#include <string>
class WeatherPrediction {
public:
virtual ~WeatherPrediction();
virtual auto setCurrentTempFahrenheit(int inTemp) -> void;
virtual auto setPositionOfJupiter(int inDistanceFromMars) -> void;
virtual int... | 26.727273 | 74 | 0.707483 | ordinary-developer |
42f88ef5e0712acd05f8351ac7b5cb2b9499eb9b | 13,732 | cpp | C++ | dev/Gems/EMotionFX/Code/EMotionFX/Source/LookAtController.cpp | horvay/lumberyardtutor | 63b0681a7ed2a98d651b699984de92951721353e | [
"AML"
] | 5 | 2018-08-17T21:05:55.000Z | 2021-04-17T10:48:26.000Z | dev/Gems/EMotionFX/Code/EMotionFX/Source/LookAtController.cpp | horvay/lumberyardtutor | 63b0681a7ed2a98d651b699984de92951721353e | [
"AML"
] | null | null | null | dev/Gems/EMotionFX/Code/EMotionFX/Source/LookAtController.cpp | horvay/lumberyardtutor | 63b0681a7ed2a98d651b699984de92951721353e | [
"AML"
] | 5 | 2017-12-05T16:36:00.000Z | 2021-04-27T06:33:54.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... | 32.851675 | 169 | 0.651325 | horvay |
42f93e5e12f8e7523524e1bf42cac2b1bbcc6b15 | 1,211 | cc | C++ | unit-test/test_thread_group.cc | anqin/trident | 1291596db0532b07865920b46165722a6c6244f4 | [
"BSD-3-Clause"
] | 6 | 2015-03-03T14:22:29.000Z | 2021-07-20T13:20:28.000Z | unit-test/test_thread_group.cc | anqin/trident | 1291596db0532b07865920b46165722a6c6244f4 | [
"BSD-3-Clause"
] | null | null | null | unit-test/test_thread_group.cc | anqin/trident | 1291596db0532b07865920b46165722a6c6244f4 | [
"BSD-3-Clause"
] | 5 | 2015-03-03T14:30:18.000Z | 2018-04-12T06:01:39.000Z | // Copyright (c) 2014 The Trident 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 <gtest/gtest.h>
#include <trident/thread_group.h>
#include <trident/closure.h>
class ThreadGroupTest: public ::testing::Test
{
protect... | 23.288462 | 84 | 0.690339 | anqin |
42fd121c07c5f2a1be8b451f2b77a4580177334c | 1,158 | cc | C++ | components/arc/test/fake_policy_instance.cc | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2019-01-28T08:09:58.000Z | 2021-11-15T15:32:10.000Z | components/arc/test/fake_policy_instance.cc | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/arc/test/fake_policy_instance.cc | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 6 | 2020-09-23T08:56:12.000Z | 2021-11-18T03:40:49.000Z | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/arc/test/fake_policy_instance.h"
#include "base/run_loop.h"
namespace arc {
FakePolicyInstance::FakePolicyInstance(
mojo::Inter... | 26.318182 | 75 | 0.752159 | Wzzzx |
42fd14d29eb945747cf63df671ab8fe8a34d816d | 51,984 | cpp | C++ | src/TSSequencerWidgetBase.cpp | j4s0n-c/trowaSoft-VCV | 9cd0d05607c88e95200472725df1d032b42130cd | [
"MIT"
] | 91 | 2017-11-28T07:23:09.000Z | 2022-03-28T08:31:51.000Z | src/TSSequencerWidgetBase.cpp | j4s0n-c/trowaSoft-VCV | 9cd0d05607c88e95200472725df1d032b42130cd | [
"MIT"
] | 59 | 2017-11-28T06:12:18.000Z | 2022-03-18T09:00:59.000Z | src/TSSequencerWidgetBase.cpp | j4s0n-c/trowaSoft-VCV | 9cd0d05607c88e95200472725df1d032b42130cd | [
"MIT"
] | 15 | 2017-11-28T13:42:35.000Z | 2021-12-26T08:03:37.000Z | #include <string.h>
#include <stdio.h>
//#include "widgets.hpp"
#include "trowaSoft.hpp"
using namespace rack;
//#include "dsp/digital.hpp"
#include "trowaSoftComponents.hpp"
#include "trowaSoftUtilities.hpp"
#include "TSSequencerModuleBase.hpp"
#include "TSSequencerWidgetBase.hpp"
#include "TSOSCConfigWidge... | 38.336283 | 289 | 0.636734 | j4s0n-c |
6e02834dd17eb1d9d1c81772ff522533a147c9f8 | 2,368 | cpp | C++ | 201-300/269-Alien_Dictionary-h.cpp | ysmiles/leetcode-cpp | e7e6ef11224c7383071ed8efbe2feac313824a71 | [
"BSD-3-Clause"
] | 1 | 2018-10-02T22:44:52.000Z | 2018-10-02T22:44:52.000Z | 201-300/269-Alien_Dictionary-h.cpp | ysmiles/leetcode-cpp | e7e6ef11224c7383071ed8efbe2feac313824a71 | [
"BSD-3-Clause"
] | null | null | null | 201-300/269-Alien_Dictionary-h.cpp | ysmiles/leetcode-cpp | e7e6ef11224c7383071ed8efbe2feac313824a71 | [
"BSD-3-Clause"
] | null | null | null | // There is a new alien language which uses the latin alphabet. However, the
// order among letters are unknown to you. You receive a list of non-empty words
// from the dictionary, where words are sorted lexicographically by the rules of
// this new language. Derive the order of letters in this language.
// Example 1... | 24.163265 | 80 | 0.489865 | ysmiles |
6e07301ca31abe344945c29129c033fc427e00f3 | 16,175 | cpp | C++ | src/pke/unittest/UnitTestBatching.cpp | marcelmon/PALISADE_capstone | 2cfd1626b26576f8fe93bb3a424f934ef700c5b2 | [
"BSD-2-Clause"
] | null | null | null | src/pke/unittest/UnitTestBatching.cpp | marcelmon/PALISADE_capstone | 2cfd1626b26576f8fe93bb3a424f934ef700c5b2 | [
"BSD-2-Clause"
] | null | null | null | src/pke/unittest/UnitTestBatching.cpp | marcelmon/PALISADE_capstone | 2cfd1626b26576f8fe93bb3a424f934ef700c5b2 | [
"BSD-2-Clause"
] | null | null | null | /*
* @file
* @author TPOC: palisade@njit.edu
*
* @copyright Copyright (c) 2017, New Jersey Institute of Technology (NJIT)
* All rights reserved.
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
* 1. Redistributio... | 35.163043 | 150 | 0.726306 | marcelmon |
6e107a9a24375a769e5d1f5923eb40da5f510006 | 9,611 | cpp | C++ | plugins/string-machine/StringMachinePlugin.cpp | jjYBdx4IL/string-machine | 0bb2ac9092d31402c8ecfd5f681a3a4f2d575024 | [
"BSL-1.0"
] | 34 | 2019-07-08T15:02:10.000Z | 2022-02-20T01:44:02.000Z | plugins/string-machine/StringMachinePlugin.cpp | jjYBdx4IL/string-machine | 0bb2ac9092d31402c8ecfd5f681a3a4f2d575024 | [
"BSL-1.0"
] | 27 | 2019-07-08T21:46:19.000Z | 2022-03-24T16:01:02.000Z | plugins/string-machine/StringMachinePlugin.cpp | jjYBdx4IL/string-machine | 0bb2ac9092d31402c8ecfd5f681a3a4f2d575024 | [
"BSL-1.0"
] | 3 | 2019-08-03T22:35:08.000Z | 2022-02-20T01:19:52.000Z | #include "StringMachinePlugin.hpp"
#include "StringMachinePresets.hpp"
#include "StringSynthDefs.h"
#include "DenormalDisabler.h"
StringMachinePlugin::StringMachinePlugin()
: Plugin(Parameter_Count, NumPresets, State_Count)
{
double sampleRate = getSampleRate();
fSynth.init(sampleRate);
for (unsigned ... | 27.617816 | 144 | 0.670482 | jjYBdx4IL |
6e12edfa8a7f3ff1449a60c8383aaea72796e357 | 1,589 | cpp | C++ | C++/sum-of-distances-in-tree.cpp | black-shadows/LeetCode-Solutions | b1692583f7b710943ffb19b392b8bf64845b5d7a | [
"Fair",
"Unlicense"
] | 1 | 2020-04-16T08:38:14.000Z | 2020-04-16T08:38:14.000Z | sum-of-distances-in-tree.cpp | Jeevan-kumar-Raj/LeetCode-Solutions-Topicwise | f1111b4edd401a3fc47111993bd7250cf4dc76da | [
"MIT"
] | null | null | null | sum-of-distances-in-tree.cpp | Jeevan-kumar-Raj/LeetCode-Solutions-Topicwise | f1111b4edd401a3fc47111993bd7250cf4dc76da | [
"MIT"
] | 1 | 2021-12-25T14:48:56.000Z | 2021-12-25T14:48:56.000Z | // Time: O(n)
// Space: O(n)
class Solution {
public:
vector<int> sumOfDistancesInTree(int N, vector<vector<int>>& edges) {
unordered_map<int, vector<int>> graph;
for (const auto& edge : edges) {
graph[edge[0]].emplace_back(edge[1]);
graph[edge[1]].emplace_back(edg... | 30.557692 | 74 | 0.452486 | black-shadows |
6e163214b313f7debfbd7fb5f10c545127da76c3 | 312 | hpp | C++ | tests/typedefs.hpp | 5cript/interval-tree | 27ffeb8e6e8268cb94bd6d5c4f085cf5b595789f | [
"CC0-1.0"
] | 36 | 2018-08-06T13:59:13.000Z | 2022-03-25T19:58:58.000Z | tests/typedefs.hpp | 5cript/interval-tree | 27ffeb8e6e8268cb94bd6d5c4f085cf5b595789f | [
"CC0-1.0"
] | 13 | 2017-04-03T12:17:27.000Z | 2022-02-27T12:17:33.000Z | tests/typedefs.hpp | 5cript/interval-tree | 27ffeb8e6e8268cb94bd6d5c4f085cf5b595789f | [
"CC0-1.0"
] | 5 | 2019-04-01T15:53:59.000Z | 2021-09-15T16:38:32.000Z | #pragma once
template <typename ContainedT>
struct IntervalTypes
{
using value_type = ContainedT;
using interval_type = lib_interval_tree::interval <ContainedT>;
using tree_type = lib_interval_tree::interval_tree <interval_type>;
using iterator_type = typename tree_type::iterator;
};
| 28.363636 | 72 | 0.746795 | 5cript |
6e1d2f46e2b460b613251bacb68a2e30a11cbe1e | 3,526 | cpp | C++ | hphp/runtime/ext/hsl/ext_hsl_io.cpp | donsbot/hhvm | ac98a590f75c569e1249b6c1145c7512c7bd240e | [
"PHP-3.01",
"Zend-2.0"
] | 9,491 | 2015-01-01T00:30:28.000Z | 2022-03-31T20:22:11.000Z | hphp/runtime/ext/hsl/ext_hsl_io.cpp | donsbot/hhvm | ac98a590f75c569e1249b6c1145c7512c7bd240e | [
"PHP-3.01",
"Zend-2.0"
] | 4,796 | 2015-01-01T00:26:31.000Z | 2022-03-31T01:09:05.000Z | hphp/runtime/ext/hsl/ext_hsl_io.cpp | donsbot/hhvm | ac98a590f75c569e1249b6c1145c7512c7bd240e | [
"PHP-3.01",
"Zend-2.0"
] | 2,126 | 2015-01-01T11:13:29.000Z | 2022-03-28T19:58:15.000Z | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) |
+---------... | 31.765766 | 75 | 0.562961 | donsbot |
6e212aca7d62e722ea4d381b0d060a764c6b8a33 | 1,712 | cpp | C++ | src/RcppExports.cpp | cran/edina | 90e721689f750eefc1f8294fa8763daefba60983 | [
"OLDAP-2.4"
] | null | null | null | src/RcppExports.cpp | cran/edina | 90e721689f750eefc1f8294fa8763daefba60983 | [
"OLDAP-2.4"
] | null | null | null | src/RcppExports.cpp | cran/edina | 90e721689f750eefc1f8294fa8763daefba60983 | [
"OLDAP-2.4"
] | null | null | null | // Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#include "../inst/include/edina.h"
#include <RcppArmadillo.h>
#include <Rcpp.h>
using namespace Rcpp;
// edina_Gibbs_Q
Rcpp::List edina_Gibbs_Q(const arma::mat& Y, unsigned int K, unsigned ... | 37.217391 | 109 | 0.751168 | cran |
6e223d7642570e8cda894ef8230f867b0e0f5941 | 2,783 | cc | C++ | src/tck-simulate/graph.cc | schlepil/tchecker | 3ab68fe150d16e3db77db8380c47e02026c7815f | [
"MIT"
] | null | null | null | src/tck-simulate/graph.cc | schlepil/tchecker | 3ab68fe150d16e3db77db8380c47e02026c7815f | [
"MIT"
] | null | null | null | src/tck-simulate/graph.cc | schlepil/tchecker | 3ab68fe150d16e3db77db8380c47e02026c7815f | [
"MIT"
] | null | null | null | /*
* This file is a part of the TChecker project.
*
* See files AUTHORS and LICENSE for copyright details.
*
*/
#include "graph.hh"
namespace tchecker {
namespace tck_simulate {
/* node_t */
node_t::node_t(tchecker::zg::state_sptr_t const & s) : _state(s) {}
node_t::node_t(tchecker::zg::const_state_sptr_t co... | 28.690722 | 128 | 0.679842 | schlepil |
6e2243f6b58f9a4c6317829b37bef02bec7f500b | 6,411 | cpp | C++ | ViAn/GUI/viewpathdialog.cpp | NFCSKL/NFC-ViAn | ce04b78b4c9695374d71198f57d4236a5cad1525 | [
"MIT"
] | 1 | 2019-12-08T03:53:03.000Z | 2019-12-08T03:53:03.000Z | ViAn/GUI/viewpathdialog.cpp | NFCSKL/NFC-ViAn | ce04b78b4c9695374d71198f57d4236a5cad1525 | [
"MIT"
] | 182 | 2018-02-08T11:03:26.000Z | 2019-06-27T15:27:47.000Z | ViAn/GUI/viewpathdialog.cpp | NFCSKL/NFC-ViAn | ce04b78b4c9695374d71198f57d4236a5cad1525 | [
"MIT"
] | null | null | null | #include "viewpathdialog.h"
#include "Project/video.h"
#include "viewpathitem.h"
#include <QDebug>
#include <QDesktopServices>
#include <QDialogButtonBox>
#include <QFile>
#include <QFileDialog>
#include <QFormLayout>
#include <QHeaderView>
#include <QLineEdit>
#include <QPushButton>
#include <QTreeWidget>
#include <... | 33.046392 | 121 | 0.684761 | NFCSKL |
6e235819495f5cf6377458a5b86b94b029566ffc | 4,779 | cpp | C++ | src/bin/uptime.cpp | deep-1/haiku | b273e9733d25babe5e6702dc1e24f3dff1ffd6dc | [
"MIT"
] | 4 | 2016-03-29T21:45:21.000Z | 2016-12-20T00:50:38.000Z | src/bin/uptime.cpp | jessicah/haiku | c337460525c39e870d31221d205a299d9cd79c6a | [
"MIT"
] | null | null | null | src/bin/uptime.cpp | jessicah/haiku | c337460525c39e870d31221d205a299d9cd79c6a | [
"MIT"
] | 1 | 2020-05-08T04:02:02.000Z | 2020-05-08T04:02:02.000Z | /************
** from http://www.beatjapan.org/mirror/www.be.com/beware/Utilities/uptime.html
** archive ftp://ftp.halcyon.com/pub/users/jrashmun/uptime.zip
** License : Freeware
*************/
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <SupportDefs.h>
#include <OS.h>
void Usage( );
v... | 28.616766 | 81 | 0.529818 | deep-1 |
6e26080ce8597ca5d0e7c254932c9c4e105ff076 | 35,217 | cc | C++ | acvIO.cc | kaityo256/acv | da5deb0f6e2298417c7c0241820096d806c7c2c4 | [
"BSD-3-Clause"
] | null | null | null | acvIO.cc | kaityo256/acv | da5deb0f6e2298417c7c0241820096d806c7c2c4 | [
"BSD-3-Clause"
] | null | null | null | acvIO.cc | kaityo256/acv | da5deb0f6e2298417c7c0241820096d806c7c2c4 | [
"BSD-3-Clause"
] | null | null | null | #include <unistd.h>
#include "acvIO.h"
#define BUFFER_LENGTH 256
//------------------------------------------------------------
// Option Parser
//------------------------------------------------------------
void
Option::parseOptions(const int argc, char **argv, int &numfiles, System &sys, Type &typ) {
std::string... | 32.943873 | 182 | 0.505353 | kaityo256 |
6e289d4783777cc8b427352df6e1c3245a581215 | 3,022 | hpp | C++ | OptFrame/Util/TestMove.hpp | vncoelho/optmarket | dcfa8d909da98d89a464eda2420c38b0526f900c | [
"MIT"
] | null | null | null | OptFrame/Util/TestMove.hpp | vncoelho/optmarket | dcfa8d909da98d89a464eda2420c38b0526f900c | [
"MIT"
] | null | null | null | OptFrame/Util/TestMove.hpp | vncoelho/optmarket | dcfa8d909da98d89a464eda2420c38b0526f900c | [
"MIT"
] | null | null | null | // OptFrame - Optimization Framework
// Copyright (C) 2009-2015
// http://optframe.sourceforge.net/
//
// This file is part of the OptFrame optimization framework. This framework
// is free software; you can redistribute it and/or modify it under the
// terms of the GNU Lesser General Public License v3 as published by... | 25.610169 | 103 | 0.708471 | vncoelho |
6e28af1cd0052ffafaaaea019130c799d8d50220 | 2,718 | cpp | C++ | test/matrix_array_test.cpp | muellan/containers | f07c4da2232faac115ff69b05f6d043308b01460 | [
"MIT"
] | 9 | 2017-07-03T20:57:53.000Z | 2022-03-10T12:19:01.000Z | test/matrix_array_test.cpp | muellan/containers | f07c4da2232faac115ff69b05f6d043308b01460 | [
"MIT"
] | null | null | null | test/matrix_array_test.cpp | muellan/containers | f07c4da2232faac115ff69b05f6d043308b01460 | [
"MIT"
] | null | null | null | /*****************************************************************************
*
* AM utilities
*
* released under MIT license
*
* 2008-2017 André Müller
*
*****************************************************************************/
#include "matrix_array.h"
#include <algorithm>
#include <numeric>
#include... | 22.65 | 79 | 0.37454 | muellan |
6e2a758fd3a6f4f517647b12778d72c42caccd28 | 724 | cc | C++ | suif/lib/suif1/symaddr.cc | paulhjkelly/taskgraph-metaprogramming | 54c4e2806a97bec555a90784ab4cf0880660bf89 | [
"BSD-3-Clause"
] | 5 | 2020-04-11T21:30:19.000Z | 2021-12-04T16:16:09.000Z | suif/lib/suif1/symaddr.cc | paulhjkelly/taskgraph-metaprogramming | 54c4e2806a97bec555a90784ab4cf0880660bf89 | [
"BSD-3-Clause"
] | null | null | null | suif/lib/suif1/symaddr.cc | paulhjkelly/taskgraph-metaprogramming | 54c4e2806a97bec555a90784ab4cf0880660bf89 | [
"BSD-3-Clause"
] | null | null | null | /* Symbolic Address Implementation */
/* Copyright (c) 1994 Stanford University
All rights reserved.
This software is provided under the terms described in
the "suif_copyright.h" include file. */
#include <suif_copyright.h>
#define _MODULE_ "libsuif.a"
#pragma implementation "symaddr.h"
#define RCS... | 15.083333 | 58 | 0.649171 | paulhjkelly |
6e32c57743069fda0ffce21b4fbd2939cde8edbd | 5,376 | cpp | C++ | compiler/target_benchmark_internals/floyd_benchmark_main.cpp | Ebiroll/floyd | 28d05ca4a3a36274cd6e6550eb127739bfde4329 | [
"MIT"
] | 95 | 2019-02-08T12:22:12.000Z | 2019-07-29T06:32:29.000Z | compiler/target_benchmark_internals/floyd_benchmark_main.cpp | Ebiroll/floyd | 28d05ca4a3a36274cd6e6550eb127739bfde4329 | [
"MIT"
] | 73 | 2019-02-25T18:44:36.000Z | 2019-07-02T10:00:45.000Z | compiler/target_benchmark_internals/floyd_benchmark_main.cpp | Ebiroll/floyd | 28d05ca4a3a36274cd6e6550eb127739bfde4329 | [
"MIT"
] | 9 | 2019-02-19T02:00:22.000Z | 2019-07-01T19:10:33.000Z | //
// main.cpp
// megastruct
//
// Created by Marcus Zetterquist on 2019-01-28.
// Copyright © 2019 Marcus Zetterquist. All rights reserved.
//
#include "gtest/gtest.h"
#include "benchmark/benchmark.h"
#include "hardware_caps.h"
#include <iostream>
#include <vector>
//////////////////////////////// BENCHMARK... | 25.722488 | 90 | 0.669085 | Ebiroll |
6e33019fa0d2effc92f96bd80fe19304a566073c | 24,638 | cpp | C++ | MIRU_CORE/src/directx12/D3D12Image.cpp | AndrewRichards-Code/MIRU | 7001830734c7ee0237243e3ab5cd9d2526d3db08 | [
"MIT"
] | 7 | 2020-09-07T12:36:42.000Z | 2021-07-01T22:15:04.000Z | MIRU_CORE/src/directx12/D3D12Image.cpp | AndrewRichards-Code/MIRU | 7001830734c7ee0237243e3ab5cd9d2526d3db08 | [
"MIT"
] | null | null | null | MIRU_CORE/src/directx12/D3D12Image.cpp | AndrewRichards-Code/MIRU | 7001830734c7ee0237243e3ab5cd9d2526d3db08 | [
"MIT"
] | 1 | 2021-06-11T04:28:57.000Z | 2021-06-11T04:28:57.000Z | #include "miru_core_common.h"
#if defined(MIRU_D3D12)
#include "D3D12Image.h"
#include "D3D12Allocator.h"
using namespace miru;
using namespace d3d12;
Image::Image(Image::CreateInfo* pCreateInfo)
:m_Device(reinterpret_cast<ID3D12Device*>(pCreateInfo->device))
{
MIRU_CPU_PROFILE_FUNCTION();
m_CI = *pCreateInfo;
... | 34.362622 | 249 | 0.79073 | AndrewRichards-Code |
6e37eb70713a8a61a8dd0019b40bf278c8943fdc | 3,098 | cpp | C++ | codeforces/round698_div2/c.cpp | zaurus-yusya/atcoder | 5fc345b3da50222fa1366d1ce52ae58799488cef | [
"MIT"
] | 3 | 2020-05-27T16:27:12.000Z | 2021-01-27T12:47:12.000Z | codeforces/round698_div2/c.cpp | zaurus-yusya/Competitive-Programming | c72e13a11f76f463510bd4a476b86631d9d1b13a | [
"MIT"
] | null | null | null | codeforces/round698_div2/c.cpp | zaurus-yusya/Competitive-Programming | c72e13a11f76f463510bd4a476b86631d9d1b13a | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
// #include <atcoder/all>
// using namespace atcoder;
typedef long long ll;
typedef long double ld;
#define rep(i,n) for(ll i=0;i<(n);i++)
#define repr(i,n) for(ll i=(n-1);i>=0;i--)
#define all(x) x.begin(),x.end()
#define br cout << "\n";
using namespace std;
const long long INF = 1e18;
const ... | 29.504762 | 126 | 0.433505 | zaurus-yusya |
6e3825a9ba355e74773d092b7f48bc9c1269728b | 41,987 | cpp | C++ | Software/2022-01-07d-OrangeHat-Webserver/src/ob.cpp | OrsoEric/OrangeHat | aac610605dd2dedd7c202b71d7002d1ffd33e853 | [
"MIT"
] | 3 | 2021-08-04T07:38:14.000Z | 2022-01-05T09:46:59.000Z | Software/2022-01-07b Test OrangeBot Webserver/src/ob.cpp | OrsoEric/OrangeHat | aac610605dd2dedd7c202b71d7002d1ffd33e853 | [
"MIT"
] | 27 | 2021-06-26T09:55:26.000Z | 2022-01-09T10:15:18.000Z | Software/2022-01-07d-OrangeHat-Webserver/src/ob.cpp | OrsoEric/OrangeHat | aac610605dd2dedd7c202b71d7002d1ffd33e853 | [
"MIT"
] | null | null | null | /****************************************************************
** OrangeBot Project
*****************************************************************************
** /
** /
** /
** ______ \
** \
** \
*****************************************************************************
**
*... | 34.275102 | 125 | 0.399052 | OrsoEric |
6e3a00efcd6c178ce51b193d1565a185e01052da | 1,461 | cpp | C++ | test/datastore/TestCacheMap.cpp | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | test/datastore/TestCacheMap.cpp | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | test/datastore/TestCacheMap.cpp | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | #include <pulsar/testing/CppTester.hpp>
#include <pulsar/datastore/CacheMap.hpp>
using namespace pulsar;
using namespace std;
TEST_SIMPLE(TestCacheMap){
CppTester tester("Testing CacheMap class");
CacheMap cm1;
using Vector=vector<double>;
Vector v1({1.0,2.0,3.0}),v2({2.0,3.0,4.0});
const std::st... | 39.486486 | 103 | 0.704997 | pulsar-chem |
6e3ae60f100a39af16412baea625c294224aa7e9 | 834 | cpp | C++ | Backtracking/Minimum Number of Jumps to Reach ( M , N ) From ( 1 , 1 )/SolutionByManisha.cpp | Mdanish777/Programmers-Community | b5ca9582fc1cd4337baa7077ff62130a1052583f | [
"MIT"
] | 261 | 2019-09-30T19:47:29.000Z | 2022-03-29T18:20:07.000Z | Backtracking/Minimum Number of Jumps to Reach ( M , N ) From ( 1 , 1 )/SolutionByManisha.cpp | Mdanish777/Programmers-Community | b5ca9582fc1cd4337baa7077ff62130a1052583f | [
"MIT"
] | 647 | 2019-10-01T16:51:29.000Z | 2021-12-16T20:39:44.000Z | Backtracking/Minimum Number of Jumps to Reach ( M , N ) From ( 1 , 1 )/SolutionByManisha.cpp | Mdanish777/Programmers-Community | b5ca9582fc1cd4337baa7077ff62130a1052583f | [
"MIT"
] | 383 | 2019-09-30T19:32:07.000Z | 2022-03-24T16:18:26.000Z | #include <iostream>
using namespace std;
int sol = INT_MAX;
bool isSolve(int x, int y, int m, int n)
{
if (m > 0 && n > 0 && x <= m && y <= n) {
return true;
}
return false;
}
void helper(int x, int y, int m, int n, int counter)
{
if (isSolve(x, y, m, n) == true) {
if (x == m && y == n... | 19.857143 | 64 | 0.43765 | Mdanish777 |
6e3f4783bff8d26f9f70994215d52edba3f23321 | 922 | cpp | C++ | TC/721-DIV2-250.cpp | aajjbb/contest-files | b8842681b96017063a7baeac52ae1318bf59d74d | [
"Apache-2.0"
] | 1 | 2018-08-28T19:58:40.000Z | 2018-08-28T19:58:40.000Z | TC/721-DIV2-250.cpp | aajjbb/contest-files | b8842681b96017063a7baeac52ae1318bf59d74d | [
"Apache-2.0"
] | 2 | 2017-04-16T00:48:05.000Z | 2017-08-03T20:12:26.000Z | TC/721-DIV2-250.cpp | aajjbb/contest-files | b8842681b96017063a7baeac52ae1318bf59d74d | [
"Apache-2.0"
] | 4 | 2016-03-04T19:42:00.000Z | 2018-01-08T11:42:00.000Z | #include <bits/stdc++.h>
template<typename T> T gcd(T a, T b) {
if(!b) return a;
return gcd(b, a % b);
}
template<typename T> T lcm(T a, T b) {
return a * b / gcd(a, b);
}
template<typename T> void chmin(T& a, T b) { a = (a > b) ? b : a; }
template<typename T> void chmax(T& a, T b) { a = (a < b) ? b : a; }
int ... | 22.487805 | 85 | 0.595445 | aajjbb |
6e41438a6878a205494243b850417d15701be8b7 | 3,178 | cc | C++ | reid_cloud/src/model/ImportSpecialPersonnelRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | reid_cloud/src/model/ImportSpecialPersonnelRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | reid_cloud/src/model/ImportSpecialPersonnelRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* 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... | 24.635659 | 83 | 0.760227 | aliyun |
6e437318383671d2e835f4141ae32a3690d524d9 | 1,066 | hpp | C++ | inc/cxpr_swap.hpp | TinfoilPancakes/hilbert-generator | e53ce260e3e998d0c1e92e6e2165c0c0a347aa81 | [
"MIT"
] | null | null | null | inc/cxpr_swap.hpp | TinfoilPancakes/hilbert-generator | e53ce260e3e998d0c1e92e6e2165c0c0a347aa81 | [
"MIT"
] | null | null | null | inc/cxpr_swap.hpp | TinfoilPancakes/hilbert-generator | e53ce260e3e998d0c1e92e6e2165c0c0a347aa81 | [
"MIT"
] | null | null | null | /* ************************************************************************** */
/* */
/* __ */
/* cxpr_swap.hpp <(o )___ ... | 48.454545 | 80 | 0.212946 | TinfoilPancakes |
6e452d29a3f39fb78781e818082866904b0f4aef | 2,175 | cpp | C++ | icpc/2018-8-19/F.cpp | Riteme/test | b511d6616a25f4ae8c3861e2029789b8ee4dcb8d | [
"BSD-Source-Code"
] | 3 | 2018-08-30T09:43:20.000Z | 2019-12-03T04:53:43.000Z | icpc/2018-8-19/F.cpp | Riteme/test | b511d6616a25f4ae8c3861e2029789b8ee4dcb8d | [
"BSD-Source-Code"
] | null | null | null | icpc/2018-8-19/F.cpp | Riteme/test | b511d6616a25f4ae8c3861e2029789b8ee4dcb8d | [
"BSD-Source-Code"
] | null | null | null | #include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
typedef long long i64;
#define NMAX 500
#define MOD 998244353
#define INV2 499122177
static int n, S[NMAX + 10][NMAX + 10];
static i64 G[NMAX + 10][NMAX + 10];
static bool m1[NMAX + 10], m2[NMAX + 10];
inline void add(i64 &a, i64 b) {
... | 27.884615 | 94 | 0.322299 | Riteme |
6e4bc35de6fb436d3f18646d12cf5f5e23d24710 | 6,760 | cpp | C++ | d3d10drv/texturecache.cpp | SuiMachine/khg-d3d10drv | 58235d94440791f63abca857584bd2f06c963d60 | [
"MIT"
] | null | null | null | d3d10drv/texturecache.cpp | SuiMachine/khg-d3d10drv | 58235d94440791f63abca857584bd2f06c963d60 | [
"MIT"
] | 2 | 2019-06-11T16:46:56.000Z | 2020-06-11T13:26:51.000Z | d3d10drv/texturecache.cpp | SuiMachine/khg-d3d10drv | 58235d94440791f63abca857584bd2f06c963d60 | [
"MIT"
] | 1 | 2021-09-27T09:54:57.000Z | 2021-09-27T09:54:57.000Z | /**
Cache for game textures; also handles the external extra textures.
*/
#include "texturecache.h"
#include "d3d10drv.h"
//Definitions of extra external textures
const TextureCache::ExternalTexture TextureCache::externalTextures[TextureCache::DUMMY_NUM_EXTERNAL_TEXTURES] = {{".detail",1},{".bump",0},{".height",0}};... | 27.479675 | 165 | 0.744527 | SuiMachine |
6e4d53110d855e9f2bb81c97891cd90e71655e9e | 15,076 | cpp | C++ | gem/Code/Source/Components/AlarmComponent.cpp | loherangrin/addons.o3de.date-time | e3e7719204490dc2b69598e88803aaa1b3bb4fa3 | [
"Apache-2.0"
] | null | null | null | gem/Code/Source/Components/AlarmComponent.cpp | loherangrin/addons.o3de.date-time | e3e7719204490dc2b69598e88803aaa1b3bb4fa3 | [
"Apache-2.0"
] | null | null | null | gem/Code/Source/Components/AlarmComponent.cpp | loherangrin/addons.o3de.date-time | e3e7719204490dc2b69598e88803aaa1b3bb4fa3 | [
"Apache-2.0"
] | null | null | null | /* Copyright 2022 Matteo Grasso
*
* 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... | 26.542254 | 215 | 0.749005 | loherangrin |
6e4db13dd48163951056ee2a1dd16077f5c80020 | 9,380 | cpp | C++ | DlgSongProperties.cpp | addam/SkauTan | a46b60e91741da343a50a63948d3a19d961550d0 | [
"Unlicense"
] | null | null | null | DlgSongProperties.cpp | addam/SkauTan | a46b60e91741da343a50a63948d3a19d961550d0 | [
"Unlicense"
] | null | null | null | DlgSongProperties.cpp | addam/SkauTan | a46b60e91741da343a50a63948d3a19d961550d0 | [
"Unlicense"
] | null | null | null | #include "DlgSongProperties.h"
#include <assert.h>
#include <QDebug>
#include <QMessageBox>
#include "ui_DlgSongProperties.h"
#include "Database.h"
#include "Settings.h"
#include "Utils.h"
DlgSongProperties::DlgSongProperties(
Database & a_DB,
SongPtr a_Song,
QWidget * a_Parent
) :
Super(a_Parent),
m_UI(new U... | 25.48913 | 130 | 0.707143 | addam |
6e4ee48929e83cd9036ff866775394cbb8495e22 | 3,890 | cpp | C++ | src/View3d.cpp | peterlama/SMeshViewer | 9982f4e79fd08190a730365a46afefa9f72298cf | [
"MIT"
] | 1 | 2017-11-25T15:22:07.000Z | 2017-11-25T15:22:07.000Z | src/View3d.cpp | peterlama/SMeshViewer | 9982f4e79fd08190a730365a46afefa9f72298cf | [
"MIT"
] | null | null | null | src/View3d.cpp | peterlama/SMeshViewer | 9982f4e79fd08190a730365a46afefa9f72298cf | [
"MIT"
] | null | null | null | //-----------------------------------------------------------------------------
//Copyright (c) 2014 Peter Lama
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, includi... | 25.096774 | 82 | 0.685604 | peterlama |
6e54992eea4715de53e651cc99cc17caeae4c0f1 | 3,010 | hpp | C++ | SDK/PUBG_BP_TslBaseLobbySceneTravel_FadeInOut_parameters.hpp | realrespecter/PUBG-FULL-SDK | 5e2b0f103c74c95d2329c4c9dfbfab48aa0da737 | [
"MIT"
] | 7 | 2019-03-06T11:04:52.000Z | 2019-07-10T20:00:51.000Z | SDK/PUBG_BP_TslBaseLobbySceneTravel_FadeInOut_parameters.hpp | realrespecter/PUBG-FULL-SDK | 5e2b0f103c74c95d2329c4c9dfbfab48aa0da737 | [
"MIT"
] | null | null | null | SDK/PUBG_BP_TslBaseLobbySceneTravel_FadeInOut_parameters.hpp | realrespecter/PUBG-FULL-SDK | 5e2b0f103c74c95d2329c4c9dfbfab48aa0da737 | [
"MIT"
] | 10 | 2019-03-06T11:53:46.000Z | 2021-02-18T14:01:11.000Z | #pragma once
// PUBG FULL SDK - Generated By Respecter (5.3.4.11 [06/03/2019]) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "PUBG_BP_TslBaseLobbySceneTravel_FadeInOut_classes.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//-----------... | 37.625 | 152 | 0.772757 | realrespecter |
6e568aee0bafab1f4c516b59c764cf019d3c26fb | 24,621 | cpp | C++ | src/min.cpp | luwei0917/GlpG_Nature_Communication | a7f4f8b526e633b158dc606050e8993d70734943 | [
"MIT"
] | 1 | 2018-11-28T15:04:55.000Z | 2018-11-28T15:04:55.000Z | src/min.cpp | luwei0917/GlpG_Nature_Communication | a7f4f8b526e633b158dc606050e8993d70734943 | [
"MIT"
] | null | null | null | src/min.cpp | luwei0917/GlpG_Nature_Communication | a7f4f8b526e633b158dc606050e8993d70734943 | [
"MIT"
] | null | null | null | /* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... | 30.209816 | 80 | 0.596401 | luwei0917 |
6e5d0a1f79c6f9d2b44e14eea33ddc2f6dfa59cd | 258 | hpp | C++ | src/OCGL_Buffer.hpp | Jino42/stf | f10ddaf4eb0a7ba94e6f9bb7d6b2191ca3a0b3db | [
"Unlicense"
] | null | null | null | src/OCGL_Buffer.hpp | Jino42/stf | f10ddaf4eb0a7ba94e6f9bb7d6b2191ca3a0b3db | [
"Unlicense"
] | null | null | null | src/OCGL_Buffer.hpp | Jino42/stf | f10ddaf4eb0a7ba94e6f9bb7d6b2191ca3a0b3db | [
"Unlicense"
] | null | null | null | #pragma once
#include <NTL.hpp>
#include <glad/glad.h>
class OCGL_Buffer {
public:
OCGL_Buffer(size_t size);
OCGL_Buffer(OCGL_Buffer const &deviceBuffer);
OCGL_Buffer &operator=(OCGL_Buffer const &deviceBuffer);
GLuint vbo;
cl::Memory mem;
};
| 17.2 | 60 | 0.728682 | Jino42 |
6e6321da04804ffe3b088f4c0bec09eff53a567b | 8,430 | cpp | C++ | src/sdk/hl2_csgo/game/missionchooser/vgui/RoomTemplateListPanel.cpp | newcommerdontblame/ionlib | 47ca829009e1529f62b2134aa6c0df8673864cf3 | [
"MIT"
] | 51 | 2016-03-18T01:48:07.000Z | 2022-03-21T20:02:02.000Z | src/game/missionchooser/vgui/RoomTemplateListPanel.cpp | senny970/AlienSwarm | c5a2d3fa853c726d040032ff2c7b90c8ed8d5d84 | [
"Unlicense"
] | null | null | null | src/game/missionchooser/vgui/RoomTemplateListPanel.cpp | senny970/AlienSwarm | c5a2d3fa853c726d040032ff2c7b90c8ed8d5d84 | [
"Unlicense"
] | 26 | 2016-03-17T21:20:37.000Z | 2022-03-24T10:21:30.000Z | #include <vgui/IVGui.h>
#include <vgui/IInput.h>
#include "vgui_controls/Controls.h"
#include <vgui/IScheme.h>
#include <vgui_controls/ImagePanel.h>
#include <vgui_controls/Button.h>
#include <KeyValues.h>
#include "TileGenDialog.h"
#include "RoomTemplateListPanel.h"
#include "RoomTemplatePanel.h"
#include "TileSource... | 28.19398 | 116 | 0.707355 | newcommerdontblame |
6e63b080e85c394eb82f84648a99299f50bb4233 | 14,241 | cc | C++ | 3rdParty/s2geometry/552f562/src/s2/util/coding/varint.cc | sita1999/arangodb | 6a4f462fa209010cd064f99e63d85ce1d432c500 | [
"Apache-2.0"
] | 1 | 2019-08-11T04:06:49.000Z | 2019-08-11T04:06:49.000Z | 3rdParty/s2geometry/552f562/src/s2/util/coding/varint.cc | sita1999/arangodb | 6a4f462fa209010cd064f99e63d85ce1d432c500 | [
"Apache-2.0"
] | null | null | null | 3rdParty/s2geometry/552f562/src/s2/util/coding/varint.cc | sita1999/arangodb | 6a4f462fa209010cd064f99e63d85ce1d432c500 | [
"Apache-2.0"
] | 1 | 2018-11-04T01:30:53.000Z | 2018-11-04T01:30:53.000Z | // Copyright 2001 Google Inc. 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... | 36.703608 | 80 | 0.592866 | sita1999 |
6e64e46916600f8502d5e3c037f94ea03f22551c | 5,043 | cc | C++ | chrome/browser/chrome_navigation_browsertest.cc | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2019-01-28T08:09:58.000Z | 2021-11-15T15:32:10.000Z | chrome/browser/chrome_navigation_browsertest.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | null | null | null | chrome/browser/chrome_navigation_browsertest.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | 6 | 2020-09-23T08:56:12.000Z | 2021-11-18T03:40:49.000Z | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chrome_notification_types.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include ... | 39.093023 | 79 | 0.761452 | Wzzzx |
6e65502e96a12437e12aad53ae1f8063e28098ee | 2,529 | cpp | C++ | 011/011.cpp | joeymich/Project-Euler | a061f6ecc2afa9f95f3727380443dfc6e8d43db0 | [
"MIT"
] | 1 | 2022-03-26T07:05:21.000Z | 2022-03-26T07:05:21.000Z | 011/011.cpp | joeymich/Project-Euler | a061f6ecc2afa9f95f3727380443dfc6e8d43db0 | [
"MIT"
] | null | null | null | 011/011.cpp | joeymich/Project-Euler | a061f6ecc2afa9f95f3727380443dfc6e8d43db0 | [
"MIT"
] | null | null | null | // Problem 11 -- Largest product in a grid
/*
08 02 22 97 38 15 00 40 00 75 04 05 07 78 52 12 50 77 91 08
49 49 99 40 17 81 18 57 60 87 17 40 98 43 69 48 04 56 62 00
81 49 31 73 55 79 14 29 93 71 40 67 53 88 30 03 49 13 36 65
52 70 95 23 04 60 11 42 69 24 68 56 01 32 56 71 37 02 36 91
22 31 16 71 51 67 63 89 41 92 36 ... | 40.142857 | 63 | 0.550415 | joeymich |
6e6747cd12f03d84ef2675e5a7b0bdb74173bc1b | 1,145 | hpp | C++ | gearoenix/vulkan/texture/gx-vk-txt-cube.hpp | Hossein-Noroozpour/gearoenix | c8fa8b8946c03c013dad568d6d7a97d81097c051 | [
"BSD-Source-Code"
] | 35 | 2018-01-07T02:34:38.000Z | 2022-02-09T05:19:03.000Z | gearoenix/vulkan/texture/gx-vk-txt-cube.hpp | Hossein-Noroozpour/gearoenix | c8fa8b8946c03c013dad568d6d7a97d81097c051 | [
"BSD-Source-Code"
] | 111 | 2017-09-20T09:12:36.000Z | 2020-12-27T12:52:03.000Z | gearoenix/vulkan/texture/gx-vk-txt-cube.hpp | Hossein-Noroozpour/gearoenix | c8fa8b8946c03c013dad568d6d7a97d81097c051 | [
"BSD-Source-Code"
] | 5 | 2020-02-11T11:17:37.000Z | 2021-01-08T17:55:43.000Z | #ifndef GEAROENIX_VULKAN_TEXTURE_CUBE_HPP
#define GEAROENIX_VULKAN_TEXTURE_CUBE_HPP
#include "../../core/gx-cr-build-configuration.hpp"
#ifdef GX_USE_VULKAN
#include "../../core/sync/gx-cr-sync-end-caller.hpp"
#include "../../render/texture/gx-rnd-txt-texture-cube.hpp"
#include "../../render/texture/gx-rnd-txt-texture-... | 30.945946 | 84 | 0.697817 | Hossein-Noroozpour |
6e67e9b6ff26bb8d951fb88800c8960d5a0cdfd5 | 1,019 | cpp | C++ | bp/src/OffscreenFramebuffer.cpp | larso0/bp | 0aa13c6d78f6e6a1097d9231c1b9fc47ae74a9fe | [
"MIT"
] | 8 | 2018-10-17T00:36:46.000Z | 2020-11-18T05:34:28.000Z | bp/src/OffscreenFramebuffer.cpp | larso0/bp | 0aa13c6d78f6e6a1097d9231c1b9fc47ae74a9fe | [
"MIT"
] | null | null | null | bp/src/OffscreenFramebuffer.cpp | larso0/bp | 0aa13c6d78f6e6a1097d9231c1b9fc47ae74a9fe | [
"MIT"
] | 1 | 2022-01-06T04:28:18.000Z | 2022-01-06T04:28:18.000Z | #include <bp/OffscreenFramebuffer.h>
#include <bp/RenderPass.h>
namespace bp
{
void OffscreenFramebuffer::init(RenderPass& renderPass, uint32_t width, uint32_t height,
const AttachmentSlot& colorAttachmentSlot,
const AttachmentSlot& depthAttachmentSlot)
{
Device& device = renderPass.getDevice();
colorAttach... | 30.878788 | 91 | 0.784102 | larso0 |
6e6a63640b448ebb8e7891e60e2c4139077bfed4 | 8,080 | hpp | C++ | src/dag/dag.hpp | kostdima/taraxa | 61e9a50a60049c3f989efaf6970cd99a74896767 | [
"MIT"
] | null | null | null | src/dag/dag.hpp | kostdima/taraxa | 61e9a50a60049c3f989efaf6970cd99a74896767 | [
"MIT"
] | null | null | null | src/dag/dag.hpp | kostdima/taraxa | 61e9a50a60049c3f989efaf6970cd99a74896767 | [
"MIT"
] | null | null | null | #pragma once
#include <atomic>
#include <bitset>
#include <boost/function.hpp>
#include <boost/graph/adjacency_list.hpp>
#include <boost/graph/breadth_first_search.hpp>
#include <boost/graph/depth_first_search.hpp>
#include <boost/graph/graph_traits.hpp>
#include <boost/graph/graphviz.hpp>
#include <boost/graph/labele... | 35.283843 | 120 | 0.727723 | kostdima |
6e6a707446cd007d30d0fcce7439127d819dfb5d | 4,519 | cpp | C++ | src/common/common.cpp | nikolovjovan/exblas | 7541d384242a84a8b8314648d939b846ca632321 | [
"Apache-2.0"
] | null | null | null | src/common/common.cpp | nikolovjovan/exblas | 7541d384242a84a8b8314648d939b846ca632321 | [
"Apache-2.0"
] | null | null | null | src/common/common.cpp | nikolovjovan/exblas | 7541d384242a84a8b8314648d939b846ca632321 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2016 Inria and University Pierre and Marie Curie
* All rights reserved.
*/
#include <cstdlib>
#include <cstdio>
#include <random>
#include <math.h>
#include "common.hpp"
double randDoubleUniform() {
// Uniform distribution for now
return double(rand() - RAND_MAX/4) * 12345.678901234;
... | 29.730263 | 145 | 0.477097 | nikolovjovan |
6e6af1da2aa1e2121cebb42182a44dc806e4e110 | 2,426 | hpp | C++ | Nacro/SDK/FN_Landscape_parameters.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 11 | 2021-08-08T23:25:10.000Z | 2022-02-19T23:07:22.000Z | Nacro/SDK/FN_Landscape_parameters.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 1 | 2022-01-01T22:51:59.000Z | 2022-01-08T16:14:15.000Z | Nacro/SDK/FN_Landscape_parameters.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 8 | 2021-08-09T13:51:54.000Z | 2022-01-26T20:33:37.000Z | #pragma once
// Fortnite (1.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//---------------------------------------------------------------------------
// Function Landscape.Lan... | 55.136364 | 172 | 0.40643 | Milxnor |
6e6bb91077029d71cde67930680eda2bdbdc66fe | 4,131 | cpp | C++ | Kamek/src/meteor.cpp | H1dd3nM1nd/NewerSMBW | b747e89375245a1da650b186181d2b94a12387a0 | [
"MIT"
] | 1 | 2021-06-21T04:11:04.000Z | 2021-06-21T04:11:04.000Z | Kamek/src/meteor.cpp | CLF78/NSMASR-Code | b747e89375245a1da650b186181d2b94a12387a0 | [
"MIT"
] | null | null | null | Kamek/src/meteor.cpp | CLF78/NSMASR-Code | b747e89375245a1da650b186181d2b94a12387a0 | [
"MIT"
] | null | null | null | #include <common.h>
#include <game.h>
#include <g3dhax.h>
#include <sfx.h>
#include "boss.h"
const char* MEarcNameList [] = {
"kazan_rock",
NULL
};
class dMeteor : public dEn_c {
int onCreate();
int onDelete();
int onExecute();
int onDraw();
static dMeteor *build();
mHeapAllocator_c allocator;
m3d::mdl_c b... | 22.95 | 128 | 0.68458 | H1dd3nM1nd |
6e6cd33458522cbe4976a2251116feb73eb93c9e | 8,752 | cpp | C++ | src/framework/factory.cpp | ancrist/apitest | cde1d337e7f0b60aa5bb943fb54219cccfa0ad06 | [
"Unlicense"
] | 1 | 2017-03-14T12:29:06.000Z | 2017-03-14T12:29:06.000Z | src/framework/factory.cpp | ancrist/apitest | cde1d337e7f0b60aa5bb943fb54219cccfa0ad06 | [
"Unlicense"
] | null | null | null | src/framework/factory.cpp | ancrist/apitest | cde1d337e7f0b60aa5bb943fb54219cccfa0ad06 | [
"Unlicense"
] | null | null | null | #include "pch.h"
#include "factory.h"
#include "problems/dynamicstreaming.h"
#include "problems/null.h"
#include "problems/texturedquads.h"
#include "problems/untexturedobjects.h"
#include "solutions/dynamicstreaming/gl/buffersubdata.h"
#include "solutions/dynamicstreaming/gl/mappersistent.h"
#include "solutions/dyna... | 46.802139 | 121 | 0.650594 | ancrist |
6e6d5ad686077d589e3ff777bf78c9fd6fcc5252 | 1,950 | cpp | C++ | src/harbour-hafenschau.cpp | black-sheep-dev/harbour-hafenschau | 8384e769a0d6d5b85787e92565c475be9d2f37fa | [
"MIT"
] | 8 | 2021-01-09T21:37:36.000Z | 2022-01-05T09:27:13.000Z | src/harbour-hafenschau.cpp | black-sheep-dev/harbour-hafenschau | 8384e769a0d6d5b85787e92565c475be9d2f37fa | [
"MIT"
] | null | null | null | src/harbour-hafenschau.cpp | black-sheep-dev/harbour-hafenschau | 8384e769a0d6d5b85787e92565c475be9d2f37fa | [
"MIT"
] | 1 | 2021-03-13T11:21:03.000Z | 2021-03-13T11:21:03.000Z |
#include <QtQuick>
#include <sailfishapp.h>
#include "api/apiinterface.h"
#include "comments/commentsmodel.h"
#include "comments/commentssortfiltermodel.h"
#include "enums/enums.h"
#include "news/newslistmodel.h"
#include "news/newssortfiltermodel.h"
#include "region/regionsmodel.h"
#include "tools/datawriter.h"
in... | 34.821429 | 84 | 0.72 | black-sheep-dev |
6e6ed92c19e6d3d1cf2849e90e3fc564a379a8ae | 4,760 | cpp | C++ | service/kernel/data_management/data_management_utils_cpu.cpp | rayrapetyan/daal | 41cc748dc50097b1064e40395a4da7ce6f836244 | [
"Apache-2.0"
] | null | null | null | service/kernel/data_management/data_management_utils_cpu.cpp | rayrapetyan/daal | 41cc748dc50097b1064e40395a4da7ce6f836244 | [
"Apache-2.0"
] | null | null | null | service/kernel/data_management/data_management_utils_cpu.cpp | rayrapetyan/daal | 41cc748dc50097b1064e40395a4da7ce6f836244 | [
"Apache-2.0"
] | null | null | null | /** file data_management_utils_cpu.cpp */
/*******************************************************************************
* Copyright 2014-2018 Intel Corporation
* All Rights Reserved.
*
* If this software was obtained under the Intel Simplified Software License,
* the following terms apply:
*
* The source code, ... | 41.754386 | 128 | 0.664916 | rayrapetyan |
6e734e55003b77e7c2ab27f5661c6915e13f3bf6 | 4,628 | cpp | C++ | cpp/Inject0r/Inject0r/Helpers.cpp | ScriptIdiot/pantry | 4cdda7bb8747f7b2eb00d85e929b9d797b1bcf85 | [
"MIT"
] | 4 | 2021-09-13T08:08:05.000Z | 2022-03-27T20:08:34.000Z | cpp/Inject0r/Inject0r/Helpers.cpp | ScriptIdiot/pantry | 4cdda7bb8747f7b2eb00d85e929b9d797b1bcf85 | [
"MIT"
] | null | null | null | cpp/Inject0r/Inject0r/Helpers.cpp | ScriptIdiot/pantry | 4cdda7bb8747f7b2eb00d85e929b9d797b1bcf85 | [
"MIT"
] | 2 | 2021-06-27T23:03:27.000Z | 2021-08-01T08:47:52.000Z | #include "pch.h"
FARPROC ResolveFunction(char* function, char* dll, BOOL Load)
{
HMODULE hModule;
if (Load) {
hModule = ::LoadLibraryA(dll);
}
else {
hModule = ::GetModuleHandleA(dll);
}
if (hModule == NULL) {
printf("[!] Failed to get handle on %s!\n", dll);
return NULL;
}
FARPROC p... | 22.79803 | 132 | 0.66465 | ScriptIdiot |
6e7582ecc2442c469932f589a93c5c973835a973 | 352 | cpp | C++ | src/Encryptions/DES.cpp | mugwort-rc/pyOpenPGP | a1d35a93a69ed5bbec768f3c6347742630d71a15 | [
"MIT"
] | null | null | null | src/Encryptions/DES.cpp | mugwort-rc/pyOpenPGP | a1d35a93a69ed5bbec768f3c6347742630d71a15 | [
"MIT"
] | null | null | null | src/Encryptions/DES.cpp | mugwort-rc/pyOpenPGP | a1d35a93a69ed5bbec768f3c6347742630d71a15 | [
"MIT"
] | null | null | null | #include <boost/python.hpp>
#include "OpenPGP/Encryptions/DES.h"
void DES_init()
{
boost::python::class_<DES, boost::python::bases<SymAlg>>("DES")
.def(boost::python::init<const std::string &>())
.def("decrypt", &DES::decrypt)
.def("blocksize", &DES::blocksize)
.def("encrypt", &DES::encrypt)
.def(... | 23.466667 | 63 | 0.627841 | mugwort-rc |
6e75f6b18a9a6005dc80df6d97ad188b924729d5 | 8,840 | hpp | C++ | applications/GeoMechanicsApplication/custom_elements/transient_Pw_element.hpp | clazaro/Kratos | b947b82c90dfcbf13d60511427f85990d36b90be | [
"BSD-4-Clause"
] | null | null | null | applications/GeoMechanicsApplication/custom_elements/transient_Pw_element.hpp | clazaro/Kratos | b947b82c90dfcbf13d60511427f85990d36b90be | [
"BSD-4-Clause"
] | null | null | null | applications/GeoMechanicsApplication/custom_elements/transient_Pw_element.hpp | clazaro/Kratos | b947b82c90dfcbf13d60511427f85990d36b90be | [
"BSD-4-Clause"
] | null | null | null | // KRATOS___
// // ) )
// // ___ ___
// // ____ //___) ) // ) )
// // / / // // / /
// ((____/ / ((____ ((___/ / MECHANICS
//
// License: geo_mechanics_application/license.txt
//
// Main authors: Vahid Galavi
//
#if !defined(KRATOS_GEO_PW_ELEMENT_H_INCLUDED )
#de... | 41.895735 | 181 | 0.581787 | clazaro |
6e7601e6390fc6c5baf5e98225104f48ee026593 | 15,462 | cpp | C++ | Framewave/domain/fwImage/src/Sqrt.cpp | dbremner/framewave | 94babe445689538e6c3b44b1575cca27893b9bb4 | [
"Apache-2.0"
] | null | null | null | Framewave/domain/fwImage/src/Sqrt.cpp | dbremner/framewave | 94babe445689538e6c3b44b1575cca27893b9bb4 | [
"Apache-2.0"
] | 1 | 2019-01-14T04:00:23.000Z | 2019-01-14T04:00:23.000Z | Framewave/domain/fwImage/src/Sqrt.cpp | dbremner/framewave | 94babe445689538e6c3b44b1575cca27893b9bb4 | [
"Apache-2.0"
] | null | null | null | /*
Copyright (c) 2006-2009 Advanced Micro Devices, Inc. All Rights Reserved.
This software is subject to the Apache v2.0 License.
*/
#include "Arithmetic/Def/SqrXDef.h"
#include "fwImage.h"
using namespace OPT_LEVEL;
FwStatus PREFIX_OPT(OPT_PREFIX, fwiSqrt_8u_C1IRSfs )( A8U *sd, int sdStep, ASZ roi, int sc... | 38.849246 | 116 | 0.534213 | dbremner |
6e7a84cd88396685d4473b5cae04ca691f04212d | 1,459 | cc | C++ | hdoj/tire.cc | baobei813214232/common-alglib | 303e4edc5f7c1b5e9a2a6ebc4742d7bae61c5d31 | [
"MIT"
] | 4 | 2017-05-02T09:47:48.000Z | 2019-05-01T06:26:26.000Z | hdoj/tire.cc | xiaolongnk/Alglib | 303e4edc5f7c1b5e9a2a6ebc4742d7bae61c5d31 | [
"MIT"
] | null | null | null | hdoj/tire.cc | xiaolongnk/Alglib | 303e4edc5f7c1b5e9a2a6ebc4742d7bae61c5d31 | [
"MIT"
] | 1 | 2021-01-31T07:21:53.000Z | 2021-01-31T07:21:53.000Z | #include <stdio.h>
#include <iostream>
#include <string.h>
using namespace std;
struct node {
char data;
struct node *next[26];
node(){
for(int i=0; i<26; i++){
next[i] = NULL;
}
}
};
void insert(node *root,char *s){
int len = strlen(s);
int idx;
for(int i=0;... | 18.948052 | 45 | 0.415353 | baobei813214232 |
6e81bf8f276bc39d920598cd7db6f308ad38f9a6 | 5,799 | hpp | C++ | src/graphlab/graph/mr_disk_graph_construction_impl.hpp | iivek/graphlab-cmu-mirror | 028321757ea979e6a0859687e37933be375153eb | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2018-08-01T06:32:58.000Z | 2018-08-01T06:32:58.000Z | src/graphlab/graph/mr_disk_graph_construction_impl.hpp | iivek/graphlab-cmu-mirror | 028321757ea979e6a0859687e37933be375153eb | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/graphlab/graph/mr_disk_graph_construction_impl.hpp | iivek/graphlab-cmu-mirror | 028321757ea979e6a0859687e37933be375153eb | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /**
* Copyright (c) 2009 Carnegie Mellon University.
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2... | 35.576687 | 114 | 0.644249 | iivek |
6e81dcec9630a1c2e954cf272b68ab3816fb45b7 | 32,135 | cpp | C++ | graphics_test/graphics_test/src/ngl/rhi/d3d12/rhi_resource_view.d3d12.cpp | nagakagachi/sample_projct | 300fcdaf65a009874ce1964a64682aeb6a6ef82e | [
"MIT"
] | null | null | null | graphics_test/graphics_test/src/ngl/rhi/d3d12/rhi_resource_view.d3d12.cpp | nagakagachi/sample_projct | 300fcdaf65a009874ce1964a64682aeb6a6ef82e | [
"MIT"
] | null | null | null | graphics_test/graphics_test/src/ngl/rhi/d3d12/rhi_resource_view.d3d12.cpp | nagakagachi/sample_projct | 300fcdaf65a009874ce1964a64682aeb6a6ef82e | [
"MIT"
] | null | null | null |
#include "rhi_resource_view.d3d12.h"
#include "rhi.d3d12.h"
#include <array>
#include <algorithm>
namespace ngl
{
namespace rhi
{
// -------------------------------------------------------------------------------------------------------------------------------------------------
// -------------------------... | 35.390969 | 173 | 0.647394 | nagakagachi |
6e8df8ed79087855af3e93aa0c25fdda8d0629db | 11,956 | hpp | C++ | include/frechetrange/detail/bb/spatial_index.hpp | TWTDIG/frechetrange | b5b30708a7d2ec181ed6a870923542e286f894ab | [
"MIT"
] | 5 | 2018-03-24T02:40:36.000Z | 2020-08-31T02:50:49.000Z | include/frechetrange/detail/bb/spatial_index.hpp | TWTDIG/frechetrange | b5b30708a7d2ec181ed6a870923542e286f894ab | [
"MIT"
] | 9 | 2017-11-22T11:09:52.000Z | 2018-03-03T09:55:01.000Z | include/frechetrange/detail/bb/spatial_index.hpp | TWTDIG/frechetrange | b5b30708a7d2ec181ed6a870923542e286f894ab | [
"MIT"
] | 3 | 2017-11-21T07:29:32.000Z | 2019-12-22T15:50:47.000Z | #ifndef BB_SPATIAL_INDEX_HPP
#define BB_SPATIAL_INDEX_HPP
#include <algorithm> // for std::max and std::min
#include <array>
#include <cmath> // for std::sqrt and std::abs
#include <memory> // for std::unique_ptr
#include <utility> // for std::pair
#include <vector>
#include "frechet_distance.hpp"
... | 34.655072 | 93 | 0.505353 | TWTDIG |
6e8ed7dc5bcc95a9ffc0a61de4edc4429711ae1e | 4,144 | inl | C++ | include/as/as-mat.inl | pr0g/as | 5698ded06abca884385b9deebe8a2e702e8a66a8 | [
"MIT"
] | 6 | 2019-06-16T22:20:55.000Z | 2021-11-13T17:16:16.000Z | include/as/as-mat.inl | pr0g/as | 5698ded06abca884385b9deebe8a2e702e8a66a8 | [
"MIT"
] | null | null | null | include/as/as-mat.inl | pr0g/as | 5698ded06abca884385b9deebe8a2e702e8a66a8 | [
"MIT"
] | 1 | 2020-04-11T14:24:13.000Z | 2020-04-11T14:24:13.000Z | namespace as
{
template<typename T, index d>
AS_API mat<T, d> mat_identity()
{
mat<T, d> identity{};
for (index i = 0; i < mat<T, d>::size(); i += d + 1) {
identity[i] = T(1.0);
}
return identity;
}
template<typename T, index d>
AS_API constexpr index mat<T, d>::dim()
{
return d;
}
template<typename T,... | 22.521739 | 79 | 0.610521 | pr0g |
6e8fa2fb56d06ebf06acaaa2e29e4db377dfd422 | 1,196 | cpp | C++ | samples/snippets/cpp/VS_Snippets_CLR/List`1_Reverse/cpp/source.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 421 | 2018-04-01T01:57:50.000Z | 2022-03-28T15:24:42.000Z | samples/snippets/cpp/VS_Snippets_CLR/List`1_Reverse/cpp/source.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 5,797 | 2018-04-02T21:12:23.000Z | 2022-03-31T23:54:38.000Z | samples/snippets/cpp/VS_Snippets_CLR/List`1_Reverse/cpp/source.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 1,482 | 2018-03-31T11:26:20.000Z | 2022-03-30T22:36:45.000Z | // <Snippet1>
using namespace System;
using namespace System::Collections::Generic;
void main()
{
List<String^>^ dinosaurs = gcnew List<String^>();
dinosaurs->Add("Pachycephalosaurus");
dinosaurs->Add("Parasauralophus");
dinosaurs->Add("Mamenchisaurus");
dinosaurs->Add("Amargasaurus");
... | 18.4 | 54 | 0.664716 | hamarb123 |
6e9167bc0867048bff0f11a078a6b739187a31a6 | 8,478 | cpp | C++ | Module/Components/TextureVideoPlayerComponent.cpp | afrostalin/CEVPlayer | 5e91493a11b4c294d3582b80dae4ea2d95856a7d | [
"BSL-1.0"
] | 14 | 2018-03-16T10:08:12.000Z | 2021-04-13T21:11:53.000Z | Module/Components/TextureVideoPlayerComponent.cpp | afrostalin/CryVideoPlayer | 5e91493a11b4c294d3582b80dae4ea2d95856a7d | [
"BSL-1.0"
] | 4 | 2018-03-06T01:52:36.000Z | 2021-04-26T07:25:07.000Z | Module/Components/TextureVideoPlayerComponent.cpp | afrostalin/CEVPlayer | 5e91493a11b4c294d3582b80dae4ea2d95856a7d | [
"BSL-1.0"
] | 8 | 2018-06-14T13:09:13.000Z | 2021-04-13T21:11:57.000Z | // Copyright (C) 2017-2020 Ilya Chernetsov. All rights reserved. Contacts: <chernecoff@gmail.com>
// License: https://github.com/afrostalin/CEVPlayer/blob/master/LICENSE
#include "StdAfx.h"
#include "PluginEnv.h"
#include "TextureVideoPlayerComponent.h"
#include "Video/TextureVideoQueue.h"
#include <CrySchematyc/Util... | 37.184211 | 222 | 0.760085 | afrostalin |
6e969556dfe5103fd7fa2c59af2895a8bf0b76ac | 6,329 | cpp | C++ | src/index/ph_index.cpp | h-2/graphtyper | 692eac909f00a888dcc14487fe57907ff88f6d17 | [
"MIT"
] | null | null | null | src/index/ph_index.cpp | h-2/graphtyper | 692eac909f00a888dcc14487fe57907ff88f6d17 | [
"MIT"
] | null | null | null | src/index/ph_index.cpp | h-2/graphtyper | 692eac909f00a888dcc14487fe57907ff88f6d17 | [
"MIT"
] | null | null | null | #include <string>
#include <vector>
#include <boost/log/trivial.hpp>
#include <parallel_hashmap/phmap.h>
#include <graphtyper/graph/graph.hpp>
#include <graphtyper/index/ph_index.hpp>
#include <graphtyper/utilities/options.hpp>
#include <graphtyper/utilities/type_conversions.hpp>
namespace gyper
{
void
PHIndex::p... | 25.115079 | 115 | 0.588877 | h-2 |
6e98d6768c8266328d120379214e497a368e85b9 | 4,383 | cpp | C++ | relationships/unify_years.cpp | tehora/phd-sourcecodes | b8c9be03b6de012b886e3d3f43c9d179ec2d701b | [
"MIT"
] | null | null | null | relationships/unify_years.cpp | tehora/phd-sourcecodes | b8c9be03b6de012b886e3d3f43c9d179ec2d701b | [
"MIT"
] | null | null | null | relationships/unify_years.cpp | tehora/phd-sourcecodes | b8c9be03b6de012b886e3d3f43c9d179ec2d701b | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <ghutils.h>
#include <vector>
#include <map>
FILE *fmyids = fopen("myids.txt", "wt");
FILE *fstats = fopen("stats.txt", "wt");
#define MAXLINE 1000000000
typedef unsigned char uchr;
map <pair<int, int>, int > graf;
struct osoba {
string xlogin;
uchr rozmiar;
... | 27.055556 | 86 | 0.534337 | tehora |