hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 109 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 48.5k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f6f3b455dd68126270bdd7e38b4c4907c196bcfe | 2,196 | cc | C++ | src/transport/FissionSource.cc | RLReed/libdetran | 77637c788823e0a14aae7e40e476a291f6f3184b | [
"MIT"
] | null | null | null | src/transport/FissionSource.cc | RLReed/libdetran | 77637c788823e0a14aae7e40e476a291f6f3184b | [
"MIT"
] | null | null | null | src/transport/FissionSource.cc | RLReed/libdetran | 77637c788823e0a14aae7e40e476a291f6f3184b | [
"MIT"
] | null | null | null | //----------------------------------*-C++-*----------------------------------//
/**
* @file FissionSource.cc
* @author robertsj
* @date Apr 10, 2012
* @brief FissionSource class definition.
*/
//---------------------------------------------------------------------------//
#include "transport/FissionSource.hh... | 29.675676 | 79 | 0.489982 | RLReed |
f6f64413d6b12049850d4d147806c3555d1b6098 | 995 | cpp | C++ | hw4/src/lib/AST/VariableReference.cpp | idoleat/P-Language-Compiler-CourseProject | 57db735b349a0a3a30d78b927953e2d44b7c7d53 | [
"MIT"
] | 7 | 2020-09-10T16:54:49.000Z | 2022-03-15T12:39:23.000Z | hw4/src/lib/AST/VariableReference.cpp | idoleat/simple-P-compiler | 57db735b349a0a3a30d78b927953e2d44b7c7d53 | [
"MIT"
] | null | null | null | hw4/src/lib/AST/VariableReference.cpp | idoleat/simple-P-compiler | 57db735b349a0a3a30d78b927953e2d44b7c7d53 | [
"MIT"
] | null | null | null | #include "AST/VariableReference.hpp"
#include "visitor/AstNodeVisitor.hpp"
VariableReferenceNode::VariableReferenceNode(const uint32_t line,
const uint32_t col,
const char *p_name)
: ExpressionNode{line, col}, name(p_name) {}... | 35.535714 | 80 | 0.580905 | idoleat |
f6f81d27fca34b6cd9e7f5210d2847622ad87a4d | 6,248 | cpp | C++ | modules/preprocessing/processors/glimageresampler.cpp | hmsgit/campvis | d97de6a86323866d6a8f81d2a641e3e0443a6b39 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2018-06-19T06:20:01.000Z | 2021-07-31T05:54:25.000Z | modules/preprocessing/processors/glimageresampler.cpp | hmsgit/campvis | d97de6a86323866d6a8f81d2a641e3e0443a6b39 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | modules/preprocessing/processors/glimageresampler.cpp | hmsgit/campvis | d97de6a86323866d6a8f81d2a641e3e0443a6b39 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | // ================================================================================================
//
// This file is part of the CAMPVis Software Framework.
//
// If not explicitly stated otherwise: Copyright (C) 2012-2015, all rights reserved,
// Christian Schulte zu Berge <christian.szb@in.tum.de>
// ... | 43.388889 | 182 | 0.618918 | hmsgit |
f6f8e76b81aa6bccd97a2f568a866c6ed92c3333 | 816 | cc | C++ | src/longest-prefix/t.cc | thinkoid/hacks | 7c5887860bf9177e487e2f2f041629ddbd3c38fb | [
"MIT"
] | null | null | null | src/longest-prefix/t.cc | thinkoid/hacks | 7c5887860bf9177e487e2f2f041629ddbd3c38fb | [
"MIT"
] | null | null | null | src/longest-prefix/t.cc | thinkoid/hacks | 7c5887860bf9177e487e2f2f041629ddbd3c38fb | [
"MIT"
] | null | null | null | // -*- mode: c++ -*-
#include <cassert>
#include <iostream>
#include <iterator>
#include <string>
#include <vector>
#include <hacks/knuth-morris-pratt.hh>
using namespace std;
static inline size_t
longest_prefix (const string& s) {
const auto t (s + '$');
const auto kmp = knuth_morris_pratt< string::const... | 16.32 | 67 | 0.535539 | thinkoid |
f6f9beb1dbf89737dcec729f0e44ec3976e38652 | 8,561 | cpp | C++ | Engine/source/sfx/sfxBuffer.cpp | vbillet/Torque3D | ece8823599424ea675e5f79d9bcb44e42cba8cae | [
"MIT"
] | 2,113 | 2015-01-01T11:23:01.000Z | 2022-03-28T04:51:46.000Z | Engine/source/sfx/sfxBuffer.cpp | Ashry00/Torque3D | 33e3e41c8b7eb41c743a589558bc21302207ef97 | [
"MIT"
] | 948 | 2015-01-02T01:50:00.000Z | 2022-02-27T05:56:40.000Z | Engine/source/sfx/sfxBuffer.cpp | Ashry00/Torque3D | 33e3e41c8b7eb41c743a589558bc21302207ef97 | [
"MIT"
] | 944 | 2015-01-01T09:33:53.000Z | 2022-03-15T22:23:03.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... | 29.318493 | 116 | 0.550403 | vbillet |
f6fc221cbd0db245d84b04bbf998e51b7cd679ad | 107,768 | hpp | C++ | ReactNativeFrontend/ios/Pods/boost/boost/preprocessor/seq/limits/fold_left_512.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 2,728 | 2015-01-01T10:06:45.000Z | 2022-03-30T18:12:58.000Z | ReactNativeFrontend/ios/Pods/boost/boost/preprocessor/seq/limits/fold_left_512.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 1,192 | 2015-01-01T06:03:19.000Z | 2022-03-31T09:14:36.000Z | ReactNativeFrontend/ios/Pods/boost/boost/preprocessor/seq/limits/fold_left_512.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 334 | 2015-01-08T20:47:03.000Z | 2022-02-18T07:07:01.000Z | # /* **************************************************************************
# * *
# * (C) Copyright Paul Mensonides 2002.
# * Distributed under the Boost Software License, Version 1.0. (See
# * accompanying file LICENSE_1_0.txt... | 136.588086 | 220 | 0.817627 | Harshitha91 |
f6fc3853395e5aa108aa45576e0ce52451724c0a | 632 | hpp | C++ | Source/Client/StateManager.hpp | ace13/LD35 | 7e48d956feeb9ffd6ebed48a255ee01a6581df2e | [
"MIT"
] | null | null | null | Source/Client/StateManager.hpp | ace13/LD35 | 7e48d956feeb9ffd6ebed48a255ee01a6581df2e | [
"MIT"
] | null | null | null | Source/Client/StateManager.hpp | ace13/LD35 | 7e48d956feeb9ffd6ebed48a255ee01a6581df2e | [
"MIT"
] | null | null | null | #pragma once
#include "IState.hpp"
#include <list>
class Engine;
class StateManager
{
public:
StateManager();
StateManager(const StateManager&) = delete;
~StateManager();
StateManager& operator=(const StateManager&) = delete;
void pushState(IState* newState, bool removeCur = false);
void popState();
void ... | 18.057143 | 58 | 0.71519 | ace13 |
f6fc62774ab1791c7378f783364bfa785b014056 | 1,542 | cpp | C++ | tests/modules/shape.test.cpp | jsk89/projectx | 1490af758078c61caacc16f3445403df3595b33c | [
"MIT"
] | 1 | 2021-08-29T17:12:23.000Z | 2021-08-29T17:12:23.000Z | tests/modules/shape.test.cpp | jsk89/projectx | 1490af758078c61caacc16f3445403df3595b33c | [
"MIT"
] | null | null | null | tests/modules/shape.test.cpp | jsk89/projectx | 1490af758078c61caacc16f3445403df3595b33c | [
"MIT"
] | null | null | null | #include <catch.hpp>
#include <fundamental/macro.h>
#include <fundamental/shape.h>
#include <fundamental/transform/transform_slice.h>
using namespace core;
TEST_CASE("Shape - deduced", "[shape]"){
Shape shape(54, 2, 2, 3);
index_t results[SHAPE_MAX_DIM] = {3, 1, 1, 1};
index_t tesa[SHAPE_MAX_DIM];
shape.d... | 19.769231 | 51 | 0.565499 | jsk89 |
f6fc8c0061b010deb37bf74da31bb6c7783b15bc | 143 | hpp | C++ | lib/Structs/GamePacket.hpp | Alexander9673/c--gtps-wrapper | ab366668923eb56a3cde10a3a7ee7f7099b5341c | [
"MIT"
] | 2 | 2020-04-26T12:15:30.000Z | 2020-04-30T08:48:38.000Z | lib/Structs/GamePacket.hpp | Alexander9673/c--gtps-wrapper | ab366668923eb56a3cde10a3a7ee7f7099b5341c | [
"MIT"
] | 1 | 2020-04-27T11:56:38.000Z | 2020-04-27T14:46:49.000Z | lib/Structs/GamePacket.hpp | Alexander9673/c--gtps-wrapper | ab366668923eb56a3cde10a3a7ee7f7099b5341c | [
"MIT"
] | null | null | null | #ifndef GAMEPACKET_HPP
#define GAMEPACKET_HPP
typedef unsigned char BYTE;
struct GamePacket
{
BYTE* data;
int len;
int indexes;
};
#endif | 11 | 27 | 0.755245 | Alexander9673 |
f6fdec8f0f70c41874a71a17711bd6cef98a1550 | 7,425 | hpp | C++ | ur_calibration/include/ur_calibration/calibration.hpp | mowito/Universal_Robots_ROS2_Driver | a5fbbb2e52b9d1111c46bb172c74f9f0063dabbd | [
"BSD-3-Clause"
] | null | null | null | ur_calibration/include/ur_calibration/calibration.hpp | mowito/Universal_Robots_ROS2_Driver | a5fbbb2e52b9d1111c46bb172c74f9f0063dabbd | [
"BSD-3-Clause"
] | null | null | null | ur_calibration/include/ur_calibration/calibration.hpp | mowito/Universal_Robots_ROS2_Driver | a5fbbb2e52b9d1111c46bb172c74f9f0063dabbd | [
"BSD-3-Clause"
] | null | null | null | // -- BEGIN LICENSE BLOCK ----------------------------------------------
// Created on behalf of Universal Robots A/S
// Copyright 2019 FZI Forschungszentrum Informatik
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:... | 34.059633 | 115 | 0.693468 | mowito |
f6fdfece4c5dcbf43504e78dc985a13f655a342a | 2,871 | hpp | C++ | OREData/ored/model/irlgmdata.hpp | nvolfango/Engine | a5ee0fc09d5a50ab36e50d55893b6e484d6e7004 | [
"BSD-3-Clause"
] | 1 | 2021-03-30T17:24:17.000Z | 2021-03-30T17:24:17.000Z | OREData/ored/model/irlgmdata.hpp | zhangjiayin/Engine | a5ee0fc09d5a50ab36e50d55893b6e484d6e7004 | [
"BSD-3-Clause"
] | null | null | null | OREData/ored/model/irlgmdata.hpp | zhangjiayin/Engine | a5ee0fc09d5a50ab36e50d55893b6e484d6e7004 | [
"BSD-3-Clause"
] | 1 | 2022-02-07T02:04:10.000Z | 2022-02-07T02:04:10.000Z | /*
Copyright (C) 2017 Quaternion Risk Management Ltd
All rights reserved.
This file is part of ORE, a free-software/open-source library
for transparent pricing and risk analysis - http://opensourcerisk.org
ORE is free software: you can redistribute it and/or modify it
under the terms of the Modified BSD License... | 32.625 | 117 | 0.697666 | nvolfango |
f6fef2afd38fd18ef3dcea3fd08dc0d00b0e52d1 | 7,676 | cpp | C++ | demo/com/ipicture/test_ipicture.cpp | fox000002/ulib-win | 628c4a0b8193d1ad771aa85598776ff42a45f913 | [
"Apache-2.0"
] | 4 | 2016-09-07T07:02:52.000Z | 2019-06-22T08:55:53.000Z | demo/com/ipicture/test_ipicture.cpp | fox000002/ulib-win | 628c4a0b8193d1ad771aa85598776ff42a45f913 | [
"Apache-2.0"
] | null | null | null | demo/com/ipicture/test_ipicture.cpp | fox000002/ulib-win | 628c4a0b8193d1ad771aa85598776ff42a45f913 | [
"Apache-2.0"
] | 3 | 2019-06-22T16:00:39.000Z | 2022-03-09T13:46:27.000Z | #include "resource.h"
#include <windows.h>
#include <tchar.h>
#include <ocidl.h>
#include <olectl.h>
#include "ubasewindow.h"
#include "uwinapp.h"
#include "ufile.h"
BOOL save2file(LPCSTR szFileName, IPicture *pPic)
{
// Create ILockBytes Buffer
ILockBytes *plkbyt = NULL;
CreateILockBytesOnHGlobal(NULL,... | 23.120482 | 99 | 0.542861 | fox000002 |
1000209981813c13d13ada79ec1e9ecb7f3dff6d | 960 | hpp | C++ | test_apps/STM32Cube_FW_F4_V1.24.0/Projects/STM32469I_EVAL/Demonstrations/TouchGFX/Gui/gui/include/gui/common/ButtonWithMargin.hpp | hwiwonl/ACES | 9b9a6766a177c531384b863854459a7e016dbdcc | [
"NCSA"
] | null | null | null | test_apps/STM32Cube_FW_F4_V1.24.0/Projects/STM32469I_EVAL/Demonstrations/TouchGFX/Gui/gui/include/gui/common/ButtonWithMargin.hpp | hwiwonl/ACES | 9b9a6766a177c531384b863854459a7e016dbdcc | [
"NCSA"
] | null | null | null | test_apps/STM32Cube_FW_F4_V1.24.0/Projects/STM32469I_EVAL/Demonstrations/TouchGFX/Gui/gui/include/gui/common/ButtonWithMargin.hpp | hwiwonl/ACES | 9b9a6766a177c531384b863854459a7e016dbdcc | [
"NCSA"
] | null | null | null | /**
******************************************************************************
* This file is part of the TouchGFX 4.10.0 distribution.
*
* <h2><center>© Copyright (c) 2018 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under Ultimate Libert... | 29.090909 | 80 | 0.573958 | hwiwonl |
100120e91480c96087db3a551129e9dcc6e97383 | 167 | hpp | C++ | include/Enumerators/EPlayerRole.hpp | BigETI/WhackAStoodentServer | 05c670a9b745262ae926aebcb1fce0f1ecc5f4d2 | [
"MIT"
] | 1 | 2021-04-28T20:32:57.000Z | 2021-04-28T20:32:57.000Z | include/Enumerators/EPlayerRole.hpp | BigETI/WhackAStoodentServer | 05c670a9b745262ae926aebcb1fce0f1ecc5f4d2 | [
"MIT"
] | 7 | 2021-08-24T14:09:33.000Z | 2021-08-30T12:47:40.000Z | include/Enumerators/EPlayerRole.hpp | BigETI/WhackAStoodentServer | 05c670a9b745262ae926aebcb1fce0f1ecc5f4d2 | [
"MIT"
] | null | null | null | #pragma once
/// <summary>
/// Whack-A-Stoodent server namespace
/// </summary>
namespace WhackAStoodentServer
{
enum class EPlayerRole
{
Hitter,
Mole
};
}
| 11.133333 | 37 | 0.670659 | BigETI |
10083f7d7b772a26dc028f2876b985b7679fcde6 | 5,456 | cpp | C++ | IfcPlusPlus/src/ifcpp/IFC4/IfcFixedReferenceSweptAreaSolid.cpp | linsipese/ifcppstudy | e09f05d276b5e129fcb6be65800472979cd4c800 | [
"MIT"
] | 1 | 2018-10-23T09:43:07.000Z | 2018-10-23T09:43:07.000Z | IfcPlusPlus/src/ifcpp/IFC4/IfcFixedReferenceSweptAreaSolid.cpp | linsipese/ifcppstudy | e09f05d276b5e129fcb6be65800472979cd4c800 | [
"MIT"
] | null | null | null | IfcPlusPlus/src/ifcpp/IFC4/IfcFixedReferenceSweptAreaSolid.cpp | linsipese/ifcppstudy | e09f05d276b5e129fcb6be65800472979cd4c800 | [
"MIT"
] | null | null | null | /* -*-c++-*- IfcPlusPlus - www.ifcplusplus.com - Copyright (C) 2011 Fabian Gerold
*
* This library is open source and may be redistributed and/or modified under
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
* (at your option) any later version. The full license is in LICENSE file
* in... | 55.673469 | 239 | 0.745051 | linsipese |
100a58a26e3bf1f3847b1b4607135cee0b813062 | 351 | cc | C++ | src/flyweight.cc | alibenD/design_pattern_example_code | f78b2c2ac2ff3ce73cd404ea0e16d345d17b217f | [
"MIT"
] | null | null | null | src/flyweight.cc | alibenD/design_pattern_example_code | f78b2c2ac2ff3ce73cd404ea0e16d345d17b217f | [
"MIT"
] | null | null | null | src/flyweight.cc | alibenD/design_pattern_example_code | f78b2c2ac2ff3ce73cd404ea0e16d345d17b217f | [
"MIT"
] | null | null | null | /**
* @Copyright (C) 2019 All rights reserved.
* @date: 2019
* @file: flyweight.cc
* @version: v0.0.1
* @author: aliben.develop@gmail.com
* @create_date: 2019-08-06 17:03:34
* @last_modified_date: 2019-08-06 17:05:19
* @brief: TODO
* @details: TODO
*/
//INCLUDE
#include <design_pattern/flyweight.hh... | 18.473684 | 44 | 0.646724 | alibenD |
100b399c1918ac3bb37815e8ba5d9e750679af2b | 8,906 | cpp | C++ | src/autowiring/test/ScopeTest.cpp | CaseyCarter/autowiring | 48e95a71308318c8ffb7ed1348e034fd9110f70c | [
"Apache-2.0"
] | 87 | 2015-01-18T00:43:06.000Z | 2022-02-11T17:40:50.000Z | src/autowiring/test/ScopeTest.cpp | CaseyCarter/autowiring | 48e95a71308318c8ffb7ed1348e034fd9110f70c | [
"Apache-2.0"
] | 274 | 2015-01-03T04:50:49.000Z | 2021-03-08T09:01:09.000Z | src/autowiring/test/ScopeTest.cpp | CaseyCarter/autowiring | 48e95a71308318c8ffb7ed1348e034fd9110f70c | [
"Apache-2.0"
] | 15 | 2015-09-30T20:58:43.000Z | 2020-12-19T21:24:56.000Z | // Copyright (C) 2012-2018 Leap Motion, Inc. All rights reserved.
#include "stdafx.h"
#include "TestFixtures/SimpleObject.hpp"
#include <autowiring/autowiring.h>
#include <autowiring/GlobalCoreContext.h>
class ScopeTest:
public testing::Test
{};
TEST_F(ScopeTest, VerifyGlobalExists) {
// Verify that we at least g... | 31.469965 | 135 | 0.743431 | CaseyCarter |
10108bc1a086f9832b1599440d384818b8d99c0b | 3,490 | cpp | C++ | gstd/src/io_Printer.cpp | georgephilipp/cppgstd_legacy | e130860da7700aae42b915bc36a7efa4cae06d56 | [
"MIT"
] | null | null | null | gstd/src/io_Printer.cpp | georgephilipp/cppgstd_legacy | e130860da7700aae42b915bc36a7efa4cae06d56 | [
"MIT"
] | null | null | null | gstd/src/io_Printer.cpp | georgephilipp/cppgstd_legacy | e130860da7700aae42b915bc36a7efa4cae06d56 | [
"MIT"
] | null | null | null | /*
* File: Printer.cpp
* Author: gschoenh
*
* Created on November 14, 2013, 6:21 PM
*/
#include "stdafx.h"
#include "Printer.h"
namespace msii810161816
{
namespace gstd
{
Printer::Printer()
{
lineend = true;
}
Printer::~Printer() {}
... | 27.265625 | 78 | 0.35788 | georgephilipp |
1014cfd946000b7ba44e4e6bef8cd01c1b741731 | 1,548 | hpp | C++ | src/StreamUtils/Streams/MemoryStream.hpp | bblanchon/StreamUtils | dcbf6df80064b8ed73fab274963f8a054f97d55f | [
"MIT"
] | null | null | null | src/StreamUtils/Streams/MemoryStream.hpp | bblanchon/StreamUtils | dcbf6df80064b8ed73fab274963f8a054f97d55f | [
"MIT"
] | null | null | null | src/StreamUtils/Streams/MemoryStream.hpp | bblanchon/StreamUtils | dcbf6df80064b8ed73fab274963f8a054f97d55f | [
"MIT"
] | null | null | null | // StreamUtils - github.com/bblanchon/ArduinoStreamUtils
// Copyright Benoit Blanchon 2019-2022
// MIT License
#pragma once
#include <Stream.h>
#include "../Buffers/CircularBuffer.hpp"
#include "../Configuration.hpp"
#include "../Ports/DefaultAllocator.hpp"
namespace StreamUtils {
template <typename TAllocator>
cl... | 23.454545 | 75 | 0.718992 | bblanchon |
1016e4607e41555c926ea185ed951b29d536e8e5 | 36,226 | cpp | C++ | framework/opengl/gluShaderUtil.cpp | tarceri/VK-GL-CTS | 22389a0e44f458492f594ca0553a5a67cf6c7ada | [
"Apache-2.0"
] | 1 | 2021-06-29T04:55:52.000Z | 2021-06-29T04:55:52.000Z | framework/opengl/gluShaderUtil.cpp | tarceri/VK-GL-CTS | 22389a0e44f458492f594ca0553a5a67cf6c7ada | [
"Apache-2.0"
] | null | null | null | framework/opengl/gluShaderUtil.cpp | tarceri/VK-GL-CTS | 22389a0e44f458492f594ca0553a5a67cf6c7ada | [
"Apache-2.0"
] | null | null | null | /*-------------------------------------------------------------------------
* drawElements Quality Program OpenGL ES Utilities
* ------------------------------------------------
*
* Copyright 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not us... | 28.65981 | 141 | 0.702286 | tarceri |
10198e4d514caaa5671a01595a1c88b94767219b | 649 | hpp | C++ | include/RED4ext/Scripting/Natives/Generated/work/AnimClipWithItem.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 42 | 2020-12-25T08:33:00.000Z | 2022-03-22T14:47:07.000Z | include/RED4ext/Scripting/Natives/Generated/work/AnimClipWithItem.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 38 | 2020-12-28T22:36:06.000Z | 2022-02-16T11:25:47.000Z | include/RED4ext/Scripting/Natives/Generated/work/AnimClipWithItem.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 20 | 2020-12-28T22:17:38.000Z | 2022-03-22T17:19:01.000Z | #pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/DynArray.hpp>
#include <RED4ext/Handle.hpp>
#include <RED4ext/Scripting/Natives/Generated/work/AnimClip.hpp>
namespace RED4ext
{
namespace work { struct IWorkspotItemAction; }
na... | 24.961538 | 66 | 0.761171 | jackhumbert |
101a6c7b64bc85fe7068333c04aa2ea219f8c47f | 1,786 | cpp | C++ | BOJ_solve/8193.cpp | python-programmer1512/Code_of_gunwookim | e72e6724fb9ee6ccf2e1064583956fa954ba0282 | [
"MIT"
] | 4 | 2021-01-27T11:51:30.000Z | 2021-01-30T17:02:55.000Z | BOJ_solve/8193.cpp | python-programmer1512/Code_of_gunwookim | e72e6724fb9ee6ccf2e1064583956fa954ba0282 | [
"MIT"
] | null | null | null | BOJ_solve/8193.cpp | python-programmer1512/Code_of_gunwookim | e72e6724fb9ee6ccf2e1064583956fa954ba0282 | [
"MIT"
] | 5 | 2021-01-27T11:46:12.000Z | 2021-05-06T05:37:47.000Z | #include <bits/stdc++.h>
#define x first
#define y second
#define pb push_back
#define all(v) v.begin(),v.end()
#pragma gcc optimize("O3")
#pragma gcc optimize("Ofast")
#pragma gcc optimize("unroll-loops")
using namespace std;
const int INF = 1e9;
const int TMX = 1 << 18;
const long long llINF = 2e18;
const long long ... | 21.780488 | 55 | 0.533595 | python-programmer1512 |
101b5cd85fdb9264ebbfd21b7b89b41f473e9e73 | 5,174 | hpp | C++ | src/Core/Geometry/CatmullClarkSubdivider.hpp | Yasoo31/Radium-Engine | e22754d0abe192207fd946509cbd63c4f9e52dd4 | [
"Apache-2.0"
] | 78 | 2017-12-01T12:23:22.000Z | 2022-03-31T05:08:09.000Z | src/Core/Geometry/CatmullClarkSubdivider.hpp | Yasoo31/Radium-Engine | e22754d0abe192207fd946509cbd63c4f9e52dd4 | [
"Apache-2.0"
] | 527 | 2017-09-25T13:05:32.000Z | 2022-03-31T18:47:44.000Z | src/Core/Geometry/CatmullClarkSubdivider.hpp | Yasoo31/Radium-Engine | e22754d0abe192207fd946509cbd63c4f9e52dd4 | [
"Apache-2.0"
] | 48 | 2018-01-04T22:08:08.000Z | 2022-03-03T08:13:41.000Z | #pragma once
#include <Core/Geometry/deprecated/TopologicalMesh.hpp>
#include <OpenMesh/Tools/Subdivider/Uniform/SubdividerT.hh>
namespace Ra {
namespace Core {
namespace Geometry {
/**
* This class implements the Catmull-Clark subdivision algorithm
*
* This class extends OpenMesh's CatmullClarkT subdivider to h... | 37.492754 | 99 | 0.676073 | Yasoo31 |
101ccaebd0a01184432a4db39605542ba2003166 | 6,349 | hpp | C++ | websocket/socket.hpp | Matazure/websocket-cpp | 492587a412ffe67c870098154a9e6869b3e10052 | [
"MIT"
] | null | null | null | websocket/socket.hpp | Matazure/websocket-cpp | 492587a412ffe67c870098154a9e6869b3e10052 | [
"MIT"
] | null | null | null | websocket/socket.hpp | Matazure/websocket-cpp | 492587a412ffe67c870098154a9e6869b3e10052 | [
"MIT"
] | null | null | null | #pragma once
#include <map>
#include <queue>
#include <functional>
#include <iostream>
#include <boost/signals2.hpp>
#include <boost/asio.hpp>
namespace websocket{
namespace asio = boost::asio;
using std::make_shared;
using std::shared_ptr;
using std::enable_shared_from_this;
using asio::io_serv... | 33.592593 | 101 | 0.515514 | Matazure |
101ee731d792094b5a1357e7eba79e4508f42642 | 18,553 | cc | C++ | lib/wabt/src/type-checker.cc | paolosevMSFT/ChakraCore | e381509ce04eaee0517a668d5002d3eedf582b8b | [
"MIT"
] | 3 | 2018-08-08T03:36:56.000Z | 2019-05-24T08:45:30.000Z | lib/wabt/src/type-checker.cc | paolosevMSFT/ChakraCore | e381509ce04eaee0517a668d5002d3eedf582b8b | [
"MIT"
] | null | null | null | lib/wabt/src/type-checker.cc | paolosevMSFT/ChakraCore | e381509ce04eaee0517a668d5002d3eedf582b8b | [
"MIT"
] | null | null | null | /*
* Copyright 2017 WebAssembly Community Group participants
*
* 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... | 28.110606 | 79 | 0.665014 | paolosevMSFT |
101f784e325666cda51020e14fee793945097532 | 10,700 | cpp | C++ | Engine/source/gfx/video/videoCapture.cpp | Pecon/Torque3D-1 | 81777348c8ab2fa49cbc534315294c3bee7ae3aa | [
"MIT"
] | 417 | 2020-06-01T15:55:15.000Z | 2022-03-31T12:50:51.000Z | Engine/source/gfx/video/videoCapture.cpp | Ashry00/Torque3D | 33e3e41c8b7eb41c743a589558bc21302207ef97 | [
"MIT"
] | 186 | 2020-06-02T19:12:39.000Z | 2022-02-15T02:22:27.000Z | Engine/source/gfx/video/videoCapture.cpp | Ashry00/Torque3D | 33e3e41c8b7eb41c743a589558bc21302207ef97 | [
"MIT"
] | 84 | 2020-06-01T15:54:44.000Z | 2022-03-24T13:52:59.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... | 28.99729 | 134 | 0.648411 | Pecon |
1021f500fcce6635853389251968823a7060d9d0 | 17,829 | cpp | C++ | RadeonRays/src/intersector/intersector_skip_links.cpp | pribault/RadeonRays_SDK | b9bda1fcdb806c5f0f157b17d473daa5f45e3ce1 | [
"MIT"
] | 675 | 2019-02-07T01:23:19.000Z | 2022-03-28T05:45:10.000Z | RadeonRays/src/intersector/intersector_skip_links.cpp | pribault/RadeonRays_SDK | b9bda1fcdb806c5f0f157b17d473daa5f45e3ce1 | [
"MIT"
] | 843 | 2019-01-25T01:06:46.000Z | 2022-03-16T11:15:53.000Z | RadeonRays/src/intersector/intersector_skip_links.cpp | pribault/RadeonRays_SDK | b9bda1fcdb806c5f0f157b17d473daa5f45e3ce1 | [
"MIT"
] | 83 | 2019-02-20T06:18:46.000Z | 2022-03-20T09:36:09.000Z | /**********************************************************************
Copyright (c) 2016 Advanced Micro Devices, Inc. All rights reserved.
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... | 39.532151 | 219 | 0.557799 | pribault |
1023e203202f2245911dbdafd88c511eb1245620 | 26,212 | cpp | C++ | sdl1/xargon/libgamemusic/mus-tbsa-doofus.cpp | pdpdds/sdldualsystem | d74ea84cbea705fef62868ba8c693bf7d2555636 | [
"BSD-2-Clause"
] | null | null | null | sdl1/xargon/libgamemusic/mus-tbsa-doofus.cpp | pdpdds/sdldualsystem | d74ea84cbea705fef62868ba8c693bf7d2555636 | [
"BSD-2-Clause"
] | null | null | null | sdl1/xargon/libgamemusic/mus-tbsa-doofus.cpp | pdpdds/sdldualsystem | d74ea84cbea705fef62868ba8c693bf7d2555636 | [
"BSD-2-Clause"
] | null | null | null | /**
* @file mus-tbsa-doofus.hpp
* @brief Support for The Bone Shaker Architect used in Doofus.
*
* Copyright (C) 2010-2015 Adam Nielsen <malvineous@shikadi.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the ... | 29.18931 | 107 | 0.665153 | pdpdds |
10292738543a5c8c987413807fd5703c56965bfc | 9,367 | cpp | C++ | src/matrix.cpp | Seemos/simple-neural-network | 829fb70589e21c2b95cef10322f7c00f367ade98 | [
"Apache-2.0"
] | 1 | 2020-12-02T17:15:56.000Z | 2020-12-02T17:15:56.000Z | src/matrix.cpp | Seemos/simple-neural-network | 829fb70589e21c2b95cef10322f7c00f367ade98 | [
"Apache-2.0"
] | null | null | null | src/matrix.cpp | Seemos/simple-neural-network | 829fb70589e21c2b95cef10322f7c00f367ade98 | [
"Apache-2.0"
] | null | null | null | #include <vector>
#include <iostream>
#include <random>
#include <cmath>
#include <assert.h>
#include "matrix.h"
matrix create_matrix(unsigned int n_rows, unsigned int n_cols)
{
matrix mat;
mat.n_cols = n_cols;
mat.n_rows = n_rows;
mat.values.resize(n_rows);
for (unsigned int i = 0; i < n_rows; i++... | 25.316216 | 112 | 0.585246 | Seemos |
102927980e657195300e6ac9afd2eeba47b810cb | 28,760 | cpp | C++ | src/openms/source/ANALYSIS/OPENSWATH/MRMFeatureFinderScoring.cpp | kreinert/OpenMS | 45455356482ce5ab35e32e445609b291ec78a6d6 | [
"Zlib",
"Apache-2.0"
] | 1 | 2016-12-09T01:45:03.000Z | 2016-12-09T01:45:03.000Z | src/openms/source/ANALYSIS/OPENSWATH/MRMFeatureFinderScoring.cpp | kreinert/OpenMS | 45455356482ce5ab35e32e445609b291ec78a6d6 | [
"Zlib",
"Apache-2.0"
] | null | null | null | src/openms/source/ANALYSIS/OPENSWATH/MRMFeatureFinderScoring.cpp | kreinert/OpenMS | 45455356482ce5ab35e32e445609b291ec78a6d6 | [
"Zlib",
"Apache-2.0"
] | null | null | null | // --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and Freie Universit... | 53.358071 | 283 | 0.701739 | kreinert |
102a31d9246c28735b43dfc55d7e279ea1db5c4b | 1,978 | cpp | C++ | Code/Game/Core/Player/GraphControllers/PlayerGraphController_Locomotion.cpp | JuanluMorales/KRG | f3a11de469586a4ef0db835af4bc4589e6b70779 | [
"MIT"
] | 419 | 2022-01-27T19:37:43.000Z | 2022-03-31T06:14:22.000Z | Code/Game/Core/Player/GraphControllers/PlayerGraphController_Locomotion.cpp | jagt/KRG | ba20cd8798997b0450491b0cc04dc817c4a4bc76 | [
"MIT"
] | 2 | 2022-01-28T20:35:33.000Z | 2022-03-13T17:42:52.000Z | Code/Game/Core/Player/GraphControllers/PlayerGraphController_Locomotion.cpp | jagt/KRG | ba20cd8798997b0450491b0cc04dc817c4a4bc76 | [
"MIT"
] | 20 | 2022-01-27T20:41:02.000Z | 2022-03-26T16:16:57.000Z | #include "PlayerGraphController_Locomotion.h"
//-------------------------------------------------------------------------
namespace KRG::Player
{
LocomotionGraphController::LocomotionGraphController( Animation::AnimationGraphComponent* pGraphComponent, Render::SkeletalMeshComponent* pMeshComponent )
: Ani... | 35.963636 | 158 | 0.628413 | JuanluMorales |
102b660bb8f6800ceca6344b36d3eadfd8607316 | 1,378 | cpp | C++ | wallet/qt/ntp1/ntp1tokenlistfilterproxy.cpp | tahussle/bebbang | 93be7665680d454f2f5a8c1124b1f1fa83f95960 | [
"MIT"
] | null | null | null | wallet/qt/ntp1/ntp1tokenlistfilterproxy.cpp | tahussle/bebbang | 93be7665680d454f2f5a8c1124b1f1fa83f95960 | [
"MIT"
] | 1 | 2019-04-19T03:20:52.000Z | 2019-04-19T03:20:52.000Z | wallet/qt/ntp1/ntp1tokenlistfilterproxy.cpp | tahussle/bebbang | 93be7665680d454f2f5a8c1124b1f1fa83f95960 | [
"MIT"
] | null | null | null | #include "ntp1tokenlistfilterproxy.h"
#include "ntp1tokenlistmodel.h"
NTP1TokenListFilterProxy::NTP1TokenListFilterProxy(QLineEdit* FilterLineEdit)
{
filterLineEdit = FilterLineEdit;
}
bool NTP1TokenListFilterProxy::filterAcceptsRow(int source_row, const QModelIndex& source_parent) const
{
if (filterLineEdit ... | 33.609756 | 103 | 0.652395 | tahussle |
102c91f31f2a5fa34290da34bcd8dd0bac72ba00 | 1,550 | cpp | C++ | src/kits/storage/sniffer/Err.cpp | axeld/haiku | e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4 | [
"MIT"
] | 2 | 2020-09-26T13:18:36.000Z | 2021-06-16T20:38:20.000Z | src/kits/storage/sniffer/Err.cpp | axeld/haiku | e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4 | [
"MIT"
] | null | null | null | src/kits/storage/sniffer/Err.cpp | axeld/haiku | e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4 | [
"MIT"
] | 3 | 2018-12-17T13:07:38.000Z | 2021-09-08T13:07:31.000Z | //----------------------------------------------------------------------
// This software is part of the OpenBeOS distribution and is covered
// by the MIT License.
//---------------------------------------------------------------------
/*!
\file Err.cpp
MIME sniffer Error class implementation
*/
#include <sniffe... | 15.5 | 80 | 0.505161 | axeld |
102da36abba0d8ebb37d3a8f260e01aecf41dd4e | 260 | cpp | C++ | Learning Basics of C++/ASimpleProgram/prog.cpp | RyanPaulMcKenna/C-Basics | 58943fb6ad123b4ffd82b624f1ceff88076816a0 | [
"MIT"
] | null | null | null | Learning Basics of C++/ASimpleProgram/prog.cpp | RyanPaulMcKenna/C-Basics | 58943fb6ad123b4ffd82b624f1ceff88076816a0 | [
"MIT"
] | null | null | null | Learning Basics of C++/ASimpleProgram/prog.cpp | RyanPaulMcKenna/C-Basics | 58943fb6ad123b4ffd82b624f1ceff88076816a0 | [
"MIT"
] | null | null | null | #include <iostream>
#define BOOK "C++ Programming"
#define NUM 200
#define RULE ***********************
using namespace std;
int main()
{
cout << endl << "NUM is:" << NUM << endl;
cout << "Double NUM: " << ((NUM) * 2) << endl;
system('pause');
return 0;
}
| 15.294118 | 46 | 0.546154 | RyanPaulMcKenna |
102df231499229a75d602781faf81009efaa1078 | 6,833 | cpp | C++ | src/chrono_models/vehicle/man/MAN_5t_Solid3LinkAxle.cpp | Ruochun/chrono | 7b0f09242ef540ae56cfc8add3a5dc7985c654d2 | [
"BSD-3-Clause"
] | 1 | 2020-01-18T02:39:17.000Z | 2020-01-18T02:39:17.000Z | src/chrono_models/vehicle/man/MAN_5t_Solid3LinkAxle.cpp | Ruochun/chrono | 7b0f09242ef540ae56cfc8add3a5dc7985c654d2 | [
"BSD-3-Clause"
] | 7 | 2021-10-20T04:43:35.000Z | 2021-12-24T08:44:31.000Z | src/chrono_models/vehicle/man/MAN_5t_Solid3LinkAxle.cpp | Ruochun/chrono | 7b0f09242ef540ae56cfc8add3a5dc7985c654d2 | [
"BSD-3-Clause"
] | 2 | 2021-12-09T05:32:31.000Z | 2021-12-12T17:31:18.000Z | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... | 39.959064 | 118 | 0.594907 | Ruochun |
1033d3fa6b558be3679599085578020d4d9d3735 | 15,198 | cpp | C++ | source/games/exhumed/src/exhumed.cpp | DosFreak/Raze | 389f760d45748da28ba758f12be1be2a9ba9b4b2 | [
"RSA-MD"
] | null | null | null | source/games/exhumed/src/exhumed.cpp | DosFreak/Raze | 389f760d45748da28ba758f12be1be2a9ba9b4b2 | [
"RSA-MD"
] | null | null | null | source/games/exhumed/src/exhumed.cpp | DosFreak/Raze | 389f760d45748da28ba758f12be1be2a9ba9b4b2 | [
"RSA-MD"
] | null | null | null | //-------------------------------------------------------------------------
/*
Copyright (C) 2010-2019 EDuke32 developers and contributors
Copyright (C) 2019 sirlemonhead, Nuke.YKT
This file is part of PCExhumed.
PCExhumed is free software; you can redistribute it and/or
modify it under the terms of the GNU General Pub... | 23.381538 | 209 | 0.579484 | DosFreak |
10341a89d0544caa926c916c1f43822dd981210a | 9,767 | cc | C++ | src/suif1/TaskMallocLargeArrays.cc | paulhjkelly/taskgraph-metaprogramming | 54c4e2806a97bec555a90784ab4cf0880660bf89 | [
"BSD-3-Clause"
] | 5 | 2020-04-11T21:30:19.000Z | 2021-12-04T16:16:09.000Z | src/suif1/TaskMallocLargeArrays.cc | paulhjkelly/taskgraph-metaprogramming | 54c4e2806a97bec555a90784ab4cf0880660bf89 | [
"BSD-3-Clause"
] | null | null | null | src/suif1/TaskMallocLargeArrays.cc | paulhjkelly/taskgraph-metaprogramming | 54c4e2806a97bec555a90784ab4cf0880660bf89 | [
"BSD-3-Clause"
] | null | null | null | #include <cassert>
#include <cstdio>
#include <cstddef>
#include <climits>
#include <limits>
#include <set>
#include <suif1.h>
#include <useful.h>
#include <dependence.h>
#ifdef VERBOSE_MALLOC_LARGE_ARRAYS
#define INFO printf
#else
#define INFO if ( false ) printf
#endif
namespace
{
// This transformation attempts t... | 31.405145 | 139 | 0.644824 | paulhjkelly |
10396c65f424e66812b6eb4872935ab6cc2fe330 | 5,846 | cpp | C++ | runtime/test/test_pstorage.cpp | kinsamanka/OpenPLC_v3 | fc1afcf702eebaf518971b304acf487809c804d4 | [
"Apache-2.0"
] | null | null | null | runtime/test/test_pstorage.cpp | kinsamanka/OpenPLC_v3 | fc1afcf702eebaf518971b304acf487809c804d4 | [
"Apache-2.0"
] | null | null | null | runtime/test/test_pstorage.cpp | kinsamanka/OpenPLC_v3 | fc1afcf702eebaf518971b304acf487809c804d4 | [
"Apache-2.0"
] | null | null | null | // Copyright 2019 Smarter Grid Solutions
//
// 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 agre... | 32.842697 | 77 | 0.567739 | kinsamanka |
103ad622d2b839bd007a56f0a623898d7183a003 | 3,643 | cpp | C++ | src/mongo/transport/transport_layer_legacy_test.cpp | SCC-RHUL-Projects/jrtapsell_loggingMongo | 4c5b27194f784fe1893bf97923874f736ab6c2ea | [
"Apache-2.0"
] | null | null | null | src/mongo/transport/transport_layer_legacy_test.cpp | SCC-RHUL-Projects/jrtapsell_loggingMongo | 4c5b27194f784fe1893bf97923874f736ab6c2ea | [
"Apache-2.0"
] | null | null | null | src/mongo/transport/transport_layer_legacy_test.cpp | SCC-RHUL-Projects/jrtapsell_loggingMongo | 4c5b27194f784fe1893bf97923874f736ab6c2ea | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2017 MongoDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be usef... | 32.526786 | 98 | 0.690914 | SCC-RHUL-Projects |
103d9d79352720768d8e12d017b4961cda5f0a2e | 19,028 | cpp | C++ | ace/Naming_Context.cpp | xiafuyang2004/ACEFileService | 51a330cdf2515919abe102bac5fec995fbe89cca | [
"MIT"
] | null | null | null | ace/Naming_Context.cpp | xiafuyang2004/ACEFileService | 51a330cdf2515919abe102bac5fec995fbe89cca | [
"MIT"
] | null | null | null | ace/Naming_Context.cpp | xiafuyang2004/ACEFileService | 51a330cdf2515919abe102bac5fec995fbe89cca | [
"MIT"
] | 1 | 2020-02-22T08:42:22.000Z | 2020-02-22T08:42:22.000Z | // $Id: Naming_Context.cpp 84565 2009-02-23 08:20:39Z johnnyw $
#include "ace/Get_Opt.h"
#include "ace/Naming_Context.h"
#include "ace/Remote_Name_Space.h"
#include "ace/Local_Name_Space_T.h"
#include "ace/Registry_Name_Space.h"
#include "ace/MMAP_Memory_Pool.h"
#include "ace/RW_Process_Mutex.h"
#include "ace/OS_NS_st... | 29.273846 | 101 | 0.616302 | xiafuyang2004 |
103f662a3cb3c9ef1321388a06af822529a21c15 | 2,106 | cc | C++ | tcpevent/eventloop.cc | sonyangchang/mycodecollection | d56149742f71ae7ae03f5a92bd009edbb4d5d3c6 | [
"Apache-2.0"
] | 1 | 2020-10-18T02:00:01.000Z | 2020-10-18T02:00:01.000Z | tcpevent/eventloop.cc | sonyangchang/mycodecollection | d56149742f71ae7ae03f5a92bd009edbb4d5d3c6 | [
"Apache-2.0"
] | null | null | null | tcpevent/eventloop.cc | sonyangchang/mycodecollection | d56149742f71ae7ae03f5a92bd009edbb4d5d3c6 | [
"Apache-2.0"
] | 1 | 2020-10-18T02:00:03.000Z | 2020-10-18T02:00:03.000Z | /*
* eventloop.cc
*
* Created on: 2018年8月4日
* Author: LENOVO
*/
#include "eventloop.h"
#include "flag.h"
#include "tcp.h"
#include <malloc.h>
#include <memory.h>
#include <unistd.h>
namespace zsy
{
EventLoop::EventLoop(int maxpoll)
{
m_events=(struct epoll_event*)malloc(maxpoll*sizeof(struct... | 21.272727 | 75 | 0.625356 | sonyangchang |
1040bf145eb3edbfe8ccd7ca383748498f5d12d8 | 4,315 | cc | C++ | test/extensions/access_loggers/wasm/config_test.cc | driev/envoy | d04ea855ae99e744ea5ed3df0e0234e301d9e081 | [
"Apache-2.0"
] | 2 | 2021-04-22T21:38:58.000Z | 2021-04-22T21:39:40.000Z | test/extensions/access_loggers/wasm/config_test.cc | driev/envoy | d04ea855ae99e744ea5ed3df0e0234e301d9e081 | [
"Apache-2.0"
] | 8 | 2022-03-01T20:32:32.000Z | 2022-03-23T22:08:49.000Z | test/extensions/access_loggers/wasm/config_test.cc | yanavlasov/envoy | 2b8a744bf0b77717be889d4f514edd22a76cbe8e | [
"Apache-2.0"
] | 2 | 2021-02-18T18:25:58.000Z | 2021-03-30T18:30:26.000Z | #include "envoy/extensions/access_loggers/wasm/v3/wasm.pb.h"
#include "envoy/registry/registry.h"
#include "common/access_log/access_log_impl.h"
#include "common/protobuf/protobuf.h"
#include "extensions/access_loggers/wasm/config.h"
#include "extensions/access_loggers/wasm/wasm_access_log_impl.h"
#include "extension... | 36.880342 | 98 | 0.755736 | driev |
1041e56c9f7bfa116c3fa95d4da4e351676c754e | 632 | cpp | C++ | 10-stl-containers/4-maps/loops.cpp | nofar88/cpp-5782 | 473c68627fc0908fdef8956caf1e1d2267c9417b | [
"MIT"
] | 14 | 2021-01-30T16:36:18.000Z | 2022-03-30T17:24:44.000Z | 10-stl-containers/4-maps/loops.cpp | dimastar2310/cpp-5781 | 615ba07e0841522df74384f380172557f5e305a7 | [
"MIT"
] | 1 | 2022-03-02T20:55:14.000Z | 2022-03-02T20:55:14.000Z | 10-stl-containers/4-maps/loops.cpp | dimastar2310/cpp-5781 | 615ba07e0841522df74384f380172557f5e305a7 | [
"MIT"
] | 16 | 2021-03-02T11:13:41.000Z | 2021-07-09T14:18:15.000Z | /**
* Demonstrates iteration on stl maps
*
* @author Erel Segal-Halevi
* @since 2018-05
*/
#include <map>
#include <iostream>
using namespace std;
map<string, int> m {
{"abc", 2},
{"xyz", 8},
};
int main() {
m["def"] = 4;
m["ghi"] = 6;
// Old version:
for (map<string, int>::iterator iter = m.begin(); it... | 17.555556 | 74 | 0.544304 | nofar88 |
1042bcab45f1b1255b15dbaf9b0e71468721d1b3 | 2,720 | hpp | C++ | include/ssm-proxy.hpp | Kamiya-T/Distributed-Streaming-data-Sharing-Manager | d615f0062c507b89d35398833544380bbc4240ae | [
"MIT"
] | null | null | null | include/ssm-proxy.hpp | Kamiya-T/Distributed-Streaming-data-Sharing-Manager | d615f0062c507b89d35398833544380bbc4240ae | [
"MIT"
] | 1 | 2019-12-19T04:14:55.000Z | 2019-12-19T05:53:12.000Z | include/ssm-proxy.hpp | Kamiya-T/Distributed-Streaming-data-Sharing-Manager | d615f0062c507b89d35398833544380bbc4240ae | [
"MIT"
] | 1 | 2021-01-07T05:49:17.000Z | 2021-01-07T05:49:17.000Z | #ifndef _SSM_PROXY_H_
#define _SSM_PROXY_H_
#include "ssm.hpp"
void test();
#define SERVER_PORT 8080 /* サーバ用PORT */
#define SERVER_IP 0x00000000UL /* サーバ用待ち受けIP */
#define BUFFER_SIZE 1024 /* バッファバイト数 */
/* クライアントからの接続を待つサーバの情報を表現する構造体 */
typedef struct {
int ... | 22.113821 | 81 | 0.688971 | Kamiya-T |
10436864192585229bc52c1c46891eaf2aafa396 | 7,484 | hpp | C++ | extlib/include/xyginext/ecs/System.hpp | fallahn/speljongen | 57cb5e09eec7db8c21ee7b3e7943fa0a76738c51 | [
"Unlicense"
] | 17 | 2018-06-23T14:40:56.000Z | 2019-07-02T11:58:55.000Z | extlib/include/xyginext/ecs/System.hpp | fallahn/speljongen | 57cb5e09eec7db8c21ee7b3e7943fa0a76738c51 | [
"Unlicense"
] | 3 | 2018-06-23T12:35:12.000Z | 2018-06-23T12:38:54.000Z | extlib/include/xyginext/ecs/System.hpp | fallahn/speljongen | 57cb5e09eec7db8c21ee7b3e7943fa0a76738c51 | [
"Unlicense"
] | null | null | null | /*********************************************************************
(c) Matt Marchant 2017 - 2019
http://trederia.blogspot.com
xygineXT - Zlib license.
This software is provided 'as-is', without any express or
implied warranty. In no event will the authors be held
liable for any damages arising from the use of thi... | 29.936 | 99 | 0.622528 | fallahn |
10450c634fdddcbb5969c48429da022e2a571ac6 | 643 | cpp | C++ | _includes/leet443/leet443.cpp | mingdaz/leetcode | 64f2e5ad0f0446d307e23e33a480bad5c9e51517 | [
"MIT"
] | null | null | null | _includes/leet443/leet443.cpp | mingdaz/leetcode | 64f2e5ad0f0446d307e23e33a480bad5c9e51517 | [
"MIT"
] | 8 | 2019-12-19T04:46:05.000Z | 2022-02-26T03:45:22.000Z | _includes/leet443/leet443.cpp | mingdaz/leetcode | 64f2e5ad0f0446d307e23e33a480bad5c9e51517 | [
"MIT"
] | null | null | null | class Solution {
public:
int compress(vector<char>& chars) {
int cur,i,num,count,n;
cur=0;
for(i=0;i<chars.size();){
chars[cur]=chars[i];
cur++;
count=0;
while(i<chars.size()&&chars[i]==chars[cur-1]){
count++;
i+... | 24.730769 | 58 | 0.374806 | mingdaz |
10481bde6b0a0db9a84c6d6dee87130e2c552db3 | 7,074 | cc | C++ | onnxruntime/core/optimizer/utils.cc | codemzs/onnxruntime | c69194ec4c8c9674368113aa6044d0db708cd813 | [
"MIT"
] | 1 | 2020-07-12T14:56:55.000Z | 2020-07-12T14:56:55.000Z | onnxruntime/core/optimizer/utils.cc | codemzs/onnxruntime | c69194ec4c8c9674368113aa6044d0db708cd813 | [
"MIT"
] | null | null | null | onnxruntime/core/optimizer/utils.cc | codemzs/onnxruntime | c69194ec4c8c9674368113aa6044d0db708cd813 | [
"MIT"
] | 2 | 2020-05-21T20:08:25.000Z | 2021-04-19T10:39:13.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "core/common/make_unique.h"
#include "core/graph/onnx_protobuf.h"
#include "core/graph/graph_utils.h"
#include "core/framework/tensorprotoutils.h"
#include "core/optimizer/initializer.h"
#include "core/framework/uti... | 33.211268 | 231 | 0.691688 | codemzs |
1048b6db6ff46329e17c7dc1e77abbd3c8051136 | 108,173 | cpp | C++ | Code/Tools/FBuild/FBuildCore/Graph/ObjectNode.cpp | qq573011406/FASTBuild_UnrealEngine | 29c49672f82173a903cb32f0e4656e2fd07ebef2 | [
"MIT"
] | 30 | 2020-07-15T06:16:55.000Z | 2022-02-10T21:37:52.000Z | Code/Tools/FBuild/FBuildCore/Graph/ObjectNode.cpp | qq573011406/FASTBuild_UnrealEngine | 29c49672f82173a903cb32f0e4656e2fd07ebef2 | [
"MIT"
] | 1 | 2020-10-19T22:12:03.000Z | 2020-10-19T22:12:03.000Z | Code/Tools/FBuild/FBuildCore/Graph/ObjectNode.cpp | qq573011406/FASTBuild_UnrealEngine | 29c49672f82173a903cb32f0e4656e2fd07ebef2 | [
"MIT"
] | 12 | 2020-09-16T17:39:34.000Z | 2021-08-17T11:32:37.000Z | // ObjectNode.cpp
//------------------------------------------------------------------------------
// Includes
//------------------------------------------------------------------------------
#include "ObjectNode.h"
#include "Tools/FBuild/FBuildCore/BFF/Functions/FunctionObjectList.h"
#include "Tools/FBuild/FBuildCor... | 36.275319 | 272 | 0.548714 | qq573011406 |
104a5da4cccf8a4385b5420640bc11a60d732437 | 582 | cpp | C++ | test/src/datastructure/compressed_wavelet_matrix/static_rmq.test.cpp | suisen-cp/cp-library-cpp | 8fbbdcdbceb60f5adc56ff4740549ce3c1a1ea43 | [
"CC0-1.0"
] | 2 | 2021-10-04T15:46:56.000Z | 2022-01-14T19:28:43.000Z | test/src/datastructure/compressed_wavelet_matrix/static_rmq.test.cpp | suisen-cp/cp-library-cpp | 8fbbdcdbceb60f5adc56ff4740549ce3c1a1ea43 | [
"CC0-1.0"
] | null | null | null | test/src/datastructure/compressed_wavelet_matrix/static_rmq.test.cpp | suisen-cp/cp-library-cpp | 8fbbdcdbceb60f5adc56ff4740549ce3c1a1ea43 | [
"CC0-1.0"
] | null | null | null | #define PROBLEM "https://judge.yosupo.jp/problem/staticrmq"
#include <iostream>
#include "library/datastructure/compressed_wavelet_matrix.hpp"
using suisen::CompressedWaveletMatrix;
constexpr int MAX_LOG = 19;
int main() {
std::ios::sync_with_stdio(false);
std::cin.tie(nullptr);
int n, q;
std::cin ... | 23.28 | 62 | 0.597938 | suisen-cp |
104e354c7eb4c4a79be63cd2d75190bd4f27e224 | 2,570 | hpp | C++ | include/armadillo_bits/op_chol_meat.hpp | getfiit/armadillo-code | 3a896deca12a0f596b52d84185ebfad65df650b7 | [
"Apache-2.0"
] | 3 | 2020-03-23T04:31:14.000Z | 2021-01-17T09:03:09.000Z | include/armadillo_bits/op_chol_meat.hpp | getfiit/armadillo-code | 3a896deca12a0f596b52d84185ebfad65df650b7 | [
"Apache-2.0"
] | null | null | null | include/armadillo_bits/op_chol_meat.hpp | getfiit/armadillo-code | 3a896deca12a0f596b52d84185ebfad65df650b7 | [
"Apache-2.0"
] | 3 | 2018-03-28T20:53:27.000Z | 2020-04-27T07:03:02.000Z | // SPDX-License-Identifier: Apache-2.0
//
// Copyright 2008-2016 Conrad Sanderson (http://conradsanderson.id.au)
// Copyright 2008-2016 National ICT Australia (NICTA)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may ob... | 29.883721 | 180 | 0.657198 | getfiit |
10509b0a337b44f7897575e4c4f3ca5dd7eadad3 | 409 | cpp | C++ | SystemDLL/Source/Object/CameraObject.cpp | jsham0414/MyD3D12Engine | 0dfac18f4b1ede76cb481fb2d7253bc2ef7e9b0e | [
"MIT"
] | null | null | null | SystemDLL/Source/Object/CameraObject.cpp | jsham0414/MyD3D12Engine | 0dfac18f4b1ede76cb481fb2d7253bc2ef7e9b0e | [
"MIT"
] | null | null | null | SystemDLL/Source/Object/CameraObject.cpp | jsham0414/MyD3D12Engine | 0dfac18f4b1ede76cb481fb2d7253bc2ef7e9b0e | [
"MIT"
] | null | null | null | #include "SystemDLL.h"
#include "CameraObject.h"
CameraObject::CameraObject() {
Initialize();
}
CameraObject::~CameraObject() {
Release();
}
VOID CameraObject::Initialize() {
m_Camera = new Camera();
}
VOID CameraObject::Update() {
m_Camera->Update();
}
VOID CameraObject::Render() {
}
VOID CameraObject::Rele... | 13.633333 | 33 | 0.677262 | jsham0414 |
10518a900d3082da1fa12b6d947e352053d8755f | 13,734 | cpp | C++ | src/libs/AESCommon.cpp | Papabyte/byteduino | b0446e040b48acfdcc838074d63d3f2848b1f722 | [
"MIT"
] | 12 | 2018-09-20T14:44:24.000Z | 2022-01-31T03:32:01.000Z | src/libs/AESCommon.cpp | Electronics-world/Byteduino | 51b6a3eab283948a172db238deeaddac63b69879 | [
"MIT"
] | null | null | null | src/libs/AESCommon.cpp | Electronics-world/Byteduino | 51b6a3eab283948a172db238deeaddac63b69879 | [
"MIT"
] | 4 | 2018-11-02T14:06:06.000Z | 2019-08-23T17:01:03.000Z | /*
* Copyright (C) 2015 Southern Storm Software, Pty Ltd.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, ... | 37.730769 | 89 | 0.614606 | Papabyte |
1051d3eb8c0967f70077ca8cc5200b5e0733b0a6 | 229,676 | cpp | C++ | common/beerocks/tlvf/AutoGenerated/src/beerocks/tlvf/beerocks_message_bml.cpp | ydx-coder/prplMesh | 6401b15c31c563f9e00ce6ff1b5513df3d39f157 | [
"BSD-2-Clause-Patent"
] | null | null | null | common/beerocks/tlvf/AutoGenerated/src/beerocks/tlvf/beerocks_message_bml.cpp | ydx-coder/prplMesh | 6401b15c31c563f9e00ce6ff1b5513df3d39f157 | [
"BSD-2-Clause-Patent"
] | null | null | null | common/beerocks/tlvf/AutoGenerated/src/beerocks/tlvf/beerocks_message_bml.cpp | ydx-coder/prplMesh | 6401b15c31c563f9e00ce6ff1b5513df3d39f157 | [
"BSD-2-Clause-Patent"
] | null | null | null | ///////////////////////////////////////
// AUTO GENERATED FILE - DO NOT EDIT //
///////////////////////////////////////
/* SPDX-License-Identifier: BSD-2-Clause-Patent
*
* Copyright (c) 2016-2019 Intel Corporation
*
* This code is subject to the terms of the BSD+Patent license.
* See LICENSE file for more details... | 33.676833 | 173 | 0.692489 | ydx-coder |
1054cbbb09802aa8a6cfaf8670407e54aa96d367 | 3,438 | hpp | C++ | PathNetwork.hpp | jeffreycassidy/osm2bin | 7a6751d1a5045d8fb260aaa723ae85da193b4c93 | [
"Apache-2.0"
] | 4 | 2015-10-31T01:33:25.000Z | 2021-04-29T08:04:51.000Z | PathNetwork.hpp | jeffreycassidy/osm2bin | 7a6751d1a5045d8fb260aaa723ae85da193b4c93 | [
"Apache-2.0"
] | null | null | null | PathNetwork.hpp | jeffreycassidy/osm2bin | 7a6751d1a5045d8fb260aaa723ae85da193b4c93 | [
"Apache-2.0"
] | 2 | 2016-06-14T05:05:04.000Z | 2020-04-11T05:56:39.000Z | /*
* PathNetwork.hpp
*
* Created on: Jun 15, 2015
* Author: jcassidy
*/
#ifndef PATHNETWORK_HPP_
#define PATHNETWORK_HPP_
#include <vector>
#include <string>
#include <unordered_map>
#include <boost/range/algorithm.hpp>
#include <iomanip>
#include <iostream>
#include <boost/container/flat_set.hpp>
#inc... | 24.557143 | 99 | 0.71466 | jeffreycassidy |
1056671f2a48b5c142753ad4c39802c78b639595 | 1,177 | cpp | C++ | homomorphic_evaluation/ntl-11.3.2/src/ZZVec.cpp | dklee0501/PLDI_20_242_artifact_publication | f2b73df9165c76e8b521d8ebd639d68321e3862b | [
"MIT"
] | 160 | 2016-05-11T09:45:56.000Z | 2022-03-06T09:32:19.000Z | homomorphic_evaluation/ntl-11.3.2/src/ZZVec.cpp | dklee0501/Lobster | f2b73df9165c76e8b521d8ebd639d68321e3862b | [
"MIT"
] | 57 | 2016-12-26T07:02:12.000Z | 2022-03-06T16:34:31.000Z | LibSource/ExtendedNTL/src/ZZVec.cpp | ekzyis/CrypTool-2 | 1af234b4f74486fbfeb3b3c49228cc36533a8c89 | [
"Apache-2.0"
] | 67 | 2016-10-10T17:56:22.000Z | 2022-03-15T22:56:39.000Z |
#include <NTL/ZZVec.h>
NTL_START_IMPL
void ZZVec::SetSize(long n, long d)
{
if (n < 0 || d <= 0) LogicError("bad args to ZZVec::SetSize()");
if (v)
LogicError("illegal ZZVec initialization");
if (n == 0) {
len = n;
bsize = d;
return;
}
ZZVec tmp;
tmp.len = 0;
tmp.bsiz... | 14.898734 | 67 | 0.487681 | dklee0501 |
10573532943b08ac912f1d82906e6bddd40aa40d | 10,649 | cpp | C++ | program/p2m3/p2m3.cpp | Gabriellgpc/Sistemas_Roboticos | 299fe01b85c3644acb7fa2141d9b095649c5dcef | [
"MIT"
] | 4 | 2021-02-06T09:13:54.000Z | 2021-12-14T20:09:23.000Z | program/p2m3/p2m3.cpp | Gabriellgpc/Sistemas_Roboticos | 299fe01b85c3644acb7fa2141d9b095649c5dcef | [
"MIT"
] | null | null | null | program/p2m3/p2m3.cpp | Gabriellgpc/Sistemas_Roboticos | 299fe01b85c3644acb7fa2141d9b095649c5dcef | [
"MIT"
] | 1 | 2021-12-30T15:49:42.000Z | 2021-12-30T15:49:42.000Z |
#include <gnuplot-iostream.h> //Gnuplot
#include <configSpaceTools.hpp> //Polygon2D, Robot, World, Vector2D, Config
#include <b0RemoteApi.h> //para comunicação com o coppeliaSim via Blue-zero
#include <potentialField.hpp> //PotentialField
#include <utils.hpp> //pioneer_mo... | 37.628975 | 164 | 0.645976 | Gabriellgpc |
10583f18bd53129820d3cb50863f519907c790cf | 8,019 | cpp | C++ | Chess/Move.cpp | jambolo/Chess | 5c1206fe976336bd240c546457590013685ee2bb | [
"MIT"
] | null | null | null | Chess/Move.cpp | jambolo/Chess | 5c1206fe976336bd240c546457590013685ee2bb | [
"MIT"
] | 27 | 2018-12-04T19:52:37.000Z | 2019-02-03T10:21:02.000Z | Chess/Move.cpp | jambolo/Chess | 5c1206fe976336bd240c546457590013685ee2bb | [
"MIT"
] | null | null | null | #include "Move.h"
#include "Move.h"
#include "Piece.h"
#include "Types.h"
#include <cassert>
#include <cstdlib>
Move::Move(Piece const * piece, Position const & from, Position const & to, bool capture /*= false*/)
: piece_(piece)
, from_(from)
, to_(to)
, capture_(capture)
, special_(NORMAL)
{
}
... | 23.937313 | 101 | 0.485971 | jambolo |
105c2c981e2002370fb86bdd661ac64c2238a60e | 3,954 | cpp | C++ | modules/mono/utils/path_utils.cpp | MattDBell/godot | 5938466c848becb269f002191901487135e39ce3 | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 1 | 2020-04-30T23:05:16.000Z | 2020-04-30T23:05:16.000Z | modules/mono/utils/path_utils.cpp | MattDBell/godot | 5938466c848becb269f002191901487135e39ce3 | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | null | null | null | modules/mono/utils/path_utils.cpp | MattDBell/godot | 5938466c848becb269f002191901487135e39ce3 | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | null | null | null | /*************************************************************************/
/* path_utils.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | 35.303571 | 99 | 0.540465 | MattDBell |
106200e0bd0f0e4fa61552ec2ca92ff9bd726009 | 2,365 | cpp | C++ | test/run_emoa.cpp | wonderren/public_emoa | d40d6543ffa2a7d0efb1141541d685427eee87dc | [
"Unlicense"
] | null | null | null | test/run_emoa.cpp | wonderren/public_emoa | d40d6543ffa2a7d0efb1141541d685427eee87dc | [
"Unlicense"
] | null | null | null | test/run_emoa.cpp | wonderren/public_emoa | d40d6543ffa2a7d0efb1141541d685427eee87dc | [
"Unlicense"
] | null | null | null |
/*******************************************
* Author: Zhongqiang Richard Ren.
* All Rights Reserved.
*******************************************/
#include "api.hpp"
#include "graph_io.hpp"
#include "debug.hpp"
#include <iostream>
#include <string>
int TestNY3();
void print_help_message();
int main( int argc, c... | 26.875 | 187 | 0.547992 | wonderren |
1062814c8f9a47382833651b4f6ee97b85c79616 | 3,896 | hh | C++ | LiteCore/Storage/RecordEnumerator.hh | udkyo/couchbase-lite-core | 18f3368186875461c49a559705f9a791e31c6fb9 | [
"Apache-2.0"
] | null | null | null | LiteCore/Storage/RecordEnumerator.hh | udkyo/couchbase-lite-core | 18f3368186875461c49a559705f9a791e31c6fb9 | [
"Apache-2.0"
] | null | null | null | LiteCore/Storage/RecordEnumerator.hh | udkyo/couchbase-lite-core | 18f3368186875461c49a559705f9a791e31c6fb9 | [
"Apache-2.0"
] | null | null | null | //
// RecordEnumerator.hh
//
// Copyright (c) 2014 Couchbase, 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
//
... | 36.074074 | 111 | 0.585472 | udkyo |
1067689b39767c46042ce443c17c14eaf4946b8b | 1,247 | cpp | C++ | lib/winss/event_wrapper.cpp | taylorb-microsoft/winss | ede93f84a5d9585502db5190f2ec6365858f695a | [
"Apache-2.0"
] | 52 | 2017-01-05T23:39:38.000Z | 2020-06-04T03:00:11.000Z | lib/winss/event_wrapper.cpp | morganstanley/winss | ede93f84a5d9585502db5190f2ec6365858f695a | [
"Apache-2.0"
] | 24 | 2017-01-05T05:07:34.000Z | 2018-03-09T00:50:58.000Z | lib/winss/event_wrapper.cpp | morganstanley/winss | ede93f84a5d9585502db5190f2ec6365858f695a | [
"Apache-2.0"
] | 7 | 2016-12-27T20:55:20.000Z | 2018-03-09T00:32:19.000Z | /*
* Copyright 2016-2017 Morgan Stanley
*
* 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 ag... | 31.974359 | 78 | 0.740978 | taylorb-microsoft |
1067b59f92955f4abb3143cf090bbf9beccce792 | 5,146 | hpp | C++ | libs/ml/include/ml/utilities/min_max_scaler.hpp | devjsc/ledger | 5681480faf6e2aeee577f149c17745d6ab4d4ab3 | [
"Apache-2.0"
] | 1 | 2019-09-11T09:46:04.000Z | 2019-09-11T09:46:04.000Z | libs/ml/include/ml/utilities/min_max_scaler.hpp | devjsc/ledger | 5681480faf6e2aeee577f149c17745d6ab4d4ab3 | [
"Apache-2.0"
] | null | null | null | libs/ml/include/ml/utilities/min_max_scaler.hpp | devjsc/ledger | 5681480faf6e2aeee577f149c17745d6ab4d4ab3 | [
"Apache-2.0"
] | 1 | 2019-09-19T12:38:46.000Z | 2019-09-19T12:38:46.000Z | #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... | 28.274725 | 99 | 0.669063 | devjsc |
106acee9c927d15a504bc6ce72be475d8b5ca07d | 34,870 | cc | C++ | src/libmodelbox/engine/graph.cc | fujl/modelbox | 390541a87318bb6f8a37163668b439e5387f5d9a | [
"Apache-2.0"
] | 1 | 2021-12-16T06:53:00.000Z | 2021-12-16T06:53:00.000Z | src/libmodelbox/engine/graph.cc | fujl/modelbox | 390541a87318bb6f8a37163668b439e5387f5d9a | [
"Apache-2.0"
] | null | null | null | src/libmodelbox/engine/graph.cc | fujl/modelbox | 390541a87318bb6f8a37163668b439e5387f5d9a | [
"Apache-2.0"
] | 1 | 2021-12-03T06:19:09.000Z | 2021-12-03T06:19:09.000Z | /*
* Copyright 2021 The Modelbox Project 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 requi... | 27.413522 | 80 | 0.624405 | fujl |
106c3bdda9708e1f33261c2b446dff5d2dd4ef6a | 986 | hpp | C++ | third_party/glm/ext/quaternion_double.hpp | floppyhammer/nanovg-demo | 47e0772e73d7d0cbb4f017b09871da4fd19af7a6 | [
"MIT"
] | null | null | null | third_party/glm/ext/quaternion_double.hpp | floppyhammer/nanovg-demo | 47e0772e73d7d0cbb4f017b09871da4fd19af7a6 | [
"MIT"
] | null | null | null | third_party/glm/ext/quaternion_double.hpp | floppyhammer/nanovg-demo | 47e0772e73d7d0cbb4f017b09871da4fd19af7a6 | [
"MIT"
] | 1 | 2019-12-05T11:50:24.000Z | 2019-12-05T11:50:24.000Z | /// @ref ext_quaternion_double
/// @file glm/ext/quaternion_double.hpp
///
/// @defgroup ext_quaternion_double GLM_EXT_quaternion_double
/// @ingroup ext
///
/// Exposes double-precision floating point quaternion type.
///
/// Include <glm/ext/quaternion_double.hpp> to use the features of this extension.
///
/// @see e... | 24.65 | 82 | 0.75355 | floppyhammer |
1072e13a3af2fdd62274b7dc4a450df660128e4b | 7,990 | cxx | C++ | Source/Decoda/libs/wxScintilla/src/scintilla/src/LexLisp.cxx | KoSukeWork/BabeLua | 0904f8ba15174fcfe88d75e37349c4f4f15403ef | [
"MIT"
] | 68 | 2015-02-01T10:42:09.000Z | 2021-08-05T06:30:35.000Z | Src/Plugins/org.owm.scite/scintilla1.7.7/src/LexLisp.cxx | H1N2/Script.NET | 6214e00371b3c983ec68e0660b0c708a6d8b81e8 | [
"MIT"
] | 2 | 2016-08-24T10:29:05.000Z | 2021-11-08T13:56:40.000Z | Src/Plugins/org.owm.scite/scintilla1.7.7/src/LexLisp.cxx | H1N2/Script.NET | 6214e00371b3c983ec68e0660b0c708a6d8b81e8 | [
"MIT"
] | 39 | 2015-03-03T15:11:24.000Z | 2022-03-20T05:31:57.000Z | // Scintilla source code edit control
/** @file LexLisp.cxx
** Lexer for Lisp.
** Written by Alexey Yutkin.
**/
// Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org>
// The License.txt file describes the conditions under which this software may be distributed.
#include <stdlib.h>
#include <string.h>
#include... | 28.535714 | 129 | 0.606008 | KoSukeWork |
1075628b91b4ec1138d59e99f1d45304599be8aa | 2,890 | cpp | C++ | Source/DeathMatch/Weapon.cpp | OmarAlesharie/UE4_OnlineDeathMatch | aa41143d01743c6b41c8bf1a15160747018f88ff | [
"MIT"
] | null | null | null | Source/DeathMatch/Weapon.cpp | OmarAlesharie/UE4_OnlineDeathMatch | aa41143d01743c6b41c8bf1a15160747018f88ff | [
"MIT"
] | null | null | null | Source/DeathMatch/Weapon.cpp | OmarAlesharie/UE4_OnlineDeathMatch | aa41143d01743c6b41c8bf1a15160747018f88ff | [
"MIT"
] | 1 | 2021-11-29T11:40:16.000Z | 2021-11-29T11:40:16.000Z | // Fill out your copyright notice in the Description page of Project Settings.
#include "Weapon.h"
#include "DrawDebugHelpers.h"
#include "Projectile.h"
#include "Kismet/GameplayStatics.h"
#include "Sound/SoundCue.h"
#include "UObject/ConstructorHelpers.h"
// Sets default values
AWeapon::AWeapon()
{
MeshComp = Cr... | 23.688525 | 149 | 0.762284 | OmarAlesharie |
1075b4bc42b06c9a3d679ec74a22bcf045baf046 | 386 | cpp | C++ | lib/zdrot.cpp | langou/latl | df838fb44a1ef5c77b57bf60bd46eaeff8db3492 | [
"BSD-3-Clause-Open-MPI"
] | 6 | 2015-12-13T09:10:11.000Z | 2022-02-09T23:18:22.000Z | lib/zdrot.cpp | langou/latl | df838fb44a1ef5c77b57bf60bd46eaeff8db3492 | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | lib/zdrot.cpp | langou/latl | df838fb44a1ef5c77b57bf60bd46eaeff8db3492 | [
"BSD-3-Clause-Open-MPI"
] | 2 | 2019-02-01T06:46:36.000Z | 2022-02-09T23:18:24.000Z | //
// zdrot.cpp
// Linear Algebra Template Library
//
// Created by Rodney James on 1/1/13.
// Copyright (c) 2013 University of Colorado Denver. All rights reserved.
//
#include "blas.h"
#include "rot.h"
using LATL::ROT;
int zdrot_(int &n, complex<double> *x, int& incx, complex<double> *y, int& incy, double &C, ... | 19.3 | 102 | 0.65285 | langou |
10782735499772ad9308acae174f3a08a9d8ef79 | 5,612 | cpp | C++ | src/server/lcdapi/sensors/LCDSensor.cpp | adriaandegroot/NymphCast | 730ad80eed58a0e610f110167b39f8a525e306c2 | [
"BSD-3-Clause"
] | null | null | null | src/server/lcdapi/sensors/LCDSensor.cpp | adriaandegroot/NymphCast | 730ad80eed58a0e610f110167b39f8a525e306c2 | [
"BSD-3-Clause"
] | null | null | null | src/server/lcdapi/sensors/LCDSensor.cpp | adriaandegroot/NymphCast | 730ad80eed58a0e610f110167b39f8a525e306c2 | [
"BSD-3-Clause"
] | null | null | null | /* Copyright 2012-2017 Simon Dawson <spdawson@gmail.com>
This file is part of lcdapi.
lcdapi is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation, either version 3 of
the License, or (at your option) ... | 25.393665 | 88 | 0.715075 | adriaandegroot |
1079948bc3a4f3159500be04eb6f1f02607337e0 | 21,769 | cc | C++ | src/core/ext/filters/client_channel/subchannel_stream_client.cc | temawi/grpc | 4bcfbcd8025ff5b28206895b4ac9139eb8474cb6 | [
"Apache-2.0"
] | null | null | null | src/core/ext/filters/client_channel/subchannel_stream_client.cc | temawi/grpc | 4bcfbcd8025ff5b28206895b4ac9139eb8474cb6 | [
"Apache-2.0"
] | null | null | null | src/core/ext/filters/client_channel/subchannel_stream_client.cc | temawi/grpc | 4bcfbcd8025ff5b28206895b4ac9139eb8474cb6 | [
"Apache-2.0"
] | null | null | null | //
// Copyright 2018 gRPC authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | 39.869963 | 80 | 0.720474 | temawi |
1079f5dd440bc601983f505b0662deb9392e0302 | 9,188 | cpp | C++ | oneflow/user/kernels/eager_s_to_b_kernel.cpp | dssgsra/oneflow | 47e85b05c15d68ef9ed3b8dfd03c469aec6b8e15 | [
"Apache-2.0"
] | null | null | null | oneflow/user/kernels/eager_s_to_b_kernel.cpp | dssgsra/oneflow | 47e85b05c15d68ef9ed3b8dfd03c469aec6b8e15 | [
"Apache-2.0"
] | null | null | null | oneflow/user/kernels/eager_s_to_b_kernel.cpp | dssgsra/oneflow | 47e85b05c15d68ef9ed3b8dfd03c469aec6b8e15 | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2020 The OneFlow 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 agre... | 45.485149 | 100 | 0.735851 | dssgsra |
107b40d28b4287d78b6fdaaaa39e13b2166eab9b | 1,971 | cpp | C++ | sdk_core/src/command_handler/hub_command_handler.cpp | elapidae/Livox-SDK | c51d62ab2a6ce7dd8efb059da6600b755ea75a39 | [
"BSL-1.0",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | sdk_core/src/command_handler/hub_command_handler.cpp | elapidae/Livox-SDK | c51d62ab2a6ce7dd8efb059da6600b755ea75a39 | [
"BSL-1.0",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | sdk_core/src/command_handler/hub_command_handler.cpp | elapidae/Livox-SDK | c51d62ab2a6ce7dd8efb059da6600b755ea75a39 | [
"BSL-1.0",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | //
// The MIT License (MIT)
//
// Copyright (c) 2019 Livox. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the ri... | 29.863636 | 91 | 0.73313 | elapidae |
107ee4e37164cc7ae0cfb0a51f402c2cf65c4bfc | 55 | cc | C++ | wobblepy/core.cc | spanezz/wobblepy | 29850f5e1257d58f5e35af93bf362ddda9edf0e5 | [
"BSD-3-Clause"
] | null | null | null | wobblepy/core.cc | spanezz/wobblepy | 29850f5e1257d58f5e35af93bf362ddda9edf0e5 | [
"BSD-3-Clause"
] | null | null | null | wobblepy/core.cc | spanezz/wobblepy | 29850f5e1257d58f5e35af93bf362ddda9edf0e5 | [
"BSD-3-Clause"
] | null | null | null | #include "core.h"
namespace wobblepy {
} // wobblepy
| 9.166667 | 20 | 0.672727 | spanezz |
108275c2ad36506c49e72fec288ffa7f923e8ba1 | 849 | cpp | C++ | recursive/Recursion/src/fiboniciseriesrecursive.cpp | ShaliniThiyagarajan/Datastructure_and_Algorithm | d57551883cdd6bc65eab2b67d1edbdbf9dc97f0d | [
"MIT"
] | null | null | null | recursive/Recursion/src/fiboniciseriesrecursive.cpp | ShaliniThiyagarajan/Datastructure_and_Algorithm | d57551883cdd6bc65eab2b67d1edbdbf9dc97f0d | [
"MIT"
] | null | null | null | recursive/Recursion/src/fiboniciseriesrecursive.cpp | ShaliniThiyagarajan/Datastructure_and_Algorithm | d57551883cdd6bc65eab2b67d1edbdbf9dc97f0d | [
"MIT"
] | null | null | null | /*
* fiboniciseriesrecursive.cpp
*
* Created on: 17-Dec-2021
* Author: acer
*/
#include<iostream>
#include<stdio.h>
using namespace std;
int fibanic(int n)
{
if(n<=1)
return n;
return fibanic( n-1)+fibanic( n-2);
}
int fibanic1(int n)
{
int t1=0,t2=1,f;
if(n<=1)
{
return n;
}
for(int i=2;i<=n;i... | 11.025974 | 60 | 0.526502 | ShaliniThiyagarajan |
1085410cb5dd5cd47dc04cf29f221613e31ab58e | 5,364 | cpp | C++ | Scenes/HostClient.cpp | javics2002/Paella | 53449d828b09ba63805ea9ee5a2f6b2d178490dc | [
"MIT"
] | 4 | 2022-01-29T16:50:42.000Z | 2022-03-04T09:44:59.000Z | Scenes/HostClient.cpp | javics2002/Paella | 53449d828b09ba63805ea9ee5a2f6b2d178490dc | [
"MIT"
] | 194 | 2022-01-27T09:47:37.000Z | 2022-03-31T21:42:06.000Z | Scenes/HostClient.cpp | javics2002/Paella | 53449d828b09ba63805ea9ee5a2f6b2d178490dc | [
"MIT"
] | 2 | 2022-02-05T10:18:35.000Z | 2022-03-27T11:52:13.000Z | #include "HostClient.h"
#include "../Scenes/Lobby.h"
#include "../Control/NetworkManager.h"
#include "../Scenes/Jornada.h"
#include "../GameObjects/UI/ShowText.h"
#include "../Scenes/Menu.h"
HostClient::HostClient(Game* mGame) : Scene(mGame)
{
mBackground->setTexture("hostClientBg");
mBackground->setPosition(sdlutil... | 24.605505 | 122 | 0.656972 | javics2002 |
108763a3a64d7c4e0c815d18763c7bcc8f19dbb3 | 548 | cpp | C++ | src/tfwifi.cpp | thingforward/slyft-demo-board | 6031aa5824817a6c20a8cd8435841c42ee289234 | [
"MIT"
] | null | null | null | src/tfwifi.cpp | thingforward/slyft-demo-board | 6031aa5824817a6c20a8cd8435841c42ee289234 | [
"MIT"
] | null | null | null | src/tfwifi.cpp | thingforward/slyft-demo-board | 6031aa5824817a6c20a8cd8435841c42ee289234 | [
"MIT"
] | null | null | null | #include <Arduino.h>
#include "tfwifi.h"
const char* ssid = "ThingForwardWiFi";
const char* password = "iotthingforward";
void setup_wifi() {
Serial.println();
Serial.println();
Serial.print("Connecting to ");
Serial.println(ssid);
WiFi.mode(WIFI_STA);
WiFi.begin(ssid, password);
whi... | 20.296296 | 43 | 0.616788 | thingforward |
1087fae7a181ffe404a9f72a8be436c2705fd8ff | 437 | cpp | C++ | test/test.cpp | scpaes/aed | 1937bd3e8093179a05f0c78aca76264354c0ae20 | [
"MIT"
] | null | null | null | test/test.cpp | scpaes/aed | 1937bd3e8093179a05f0c78aca76264354c0ae20 | [
"MIT"
] | null | null | null | test/test.cpp | scpaes/aed | 1937bd3e8093179a05f0c78aca76264354c0ae20 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
#define PRINT(M) cout << M << " ";
class A
{
public:
A() { PRINT("A+"); }
~A() { PRINT("A-"); }
};
class B
{
private:
A *a;
public:
B()
{
PRINT("B+");
a = new A;
}
~B()
{
PRINT("B-");
delete a;
}
};
class C... | 10.404762 | 34 | 0.377574 | scpaes |
c8061fec0d750aba9f1393ca9c9b070631ca9ba6 | 604 | cpp | C++ | src/PlotsDrawer/ui/LogsImpl.cpp | jenya4361/Composite-LightCurve-Asteroids-PlotsDrawer | 1155e67fe000573ddb606a8039a4068bd73bf1bb | [
"MIT"
] | null | null | null | src/PlotsDrawer/ui/LogsImpl.cpp | jenya4361/Composite-LightCurve-Asteroids-PlotsDrawer | 1155e67fe000573ddb606a8039a4068bd73bf1bb | [
"MIT"
] | null | null | null | src/PlotsDrawer/ui/LogsImpl.cpp | jenya4361/Composite-LightCurve-Asteroids-PlotsDrawer | 1155e67fe000573ddb606a8039a4068bd73bf1bb | [
"MIT"
] | null | null | null | #include "LogsImpl.h"
#include <QLabel>
#include <QLayout>
#include "MainIncludes.h"
LogsImpl::LogsImpl()
{
m_fout.open( "log.txt" );
}
LogsImpl::~LogsImpl()
{
m_fout.close();
}
void LogsImpl::assignUI( const QMainWindow* ui )
{
m_logLabel = FindUIElementInWindow<QLabel*>( ui, "logLabel" );
}
void LogsI... | 19.483871 | 81 | 0.629139 | jenya4361 |
c8089ea330b4699cbc595340f32e81f28a8cfa5b | 10,632 | hpp | C++ | source/xyo/xyo-managedmemory-tmemorypoolactiveprocess.hpp | g-stefan/xyo | e203cb699d6bba46eae6c8157f27ea29ab7506f1 | [
"MIT",
"Unlicense"
] | null | null | null | source/xyo/xyo-managedmemory-tmemorypoolactiveprocess.hpp | g-stefan/xyo | e203cb699d6bba46eae6c8157f27ea29ab7506f1 | [
"MIT",
"Unlicense"
] | null | null | null | source/xyo/xyo-managedmemory-tmemorypoolactiveprocess.hpp | g-stefan/xyo | e203cb699d6bba46eae6c8157f27ea29ab7506f1 | [
"MIT",
"Unlicense"
] | null | null | null | //
// XYO
//
// Copyright (c) 2020-2021 Grigore Stefan <g_stefan@yahoo.com>
// Created by Grigore Stefan <g_stefan@yahoo.com>
//
// MIT License (MIT) <http://opensource.org/licenses/MIT>
//
#ifndef XYO_MANAGEDMEMORY_TMEMORYPOOLACTIVEPROCESS_HPP
#define XYO_MANAGEDMEMORY_TMEMORYPOOLACTIVEPROCESS_HPP
#ifdef... | 28.276596 | 160 | 0.670617 | g-stefan |
c80bff069b102c7c6fe9b777ef9e4f5192955bfd | 884 | cpp | C++ | src/parser/__ast/SwitchStmt.cpp | shockazoid/HydroLanguage | 25071995477406245911989584cb3e6f036229c0 | [
"Apache-2.0"
] | null | null | null | src/parser/__ast/SwitchStmt.cpp | shockazoid/HydroLanguage | 25071995477406245911989584cb3e6f036229c0 | [
"Apache-2.0"
] | null | null | null | src/parser/__ast/SwitchStmt.cpp | shockazoid/HydroLanguage | 25071995477406245911989584cb3e6f036229c0 | [
"Apache-2.0"
] | null | null | null | //
// __ __ __
// / / / /__ __ ____/ /_____ ____
// / /_/ // / / // __ // ___// __ \
// / __ // /_/ // /_/ // / / /_/ /
// /_/ /_/ \__, / \__,_//_/ \____/
// /____/
//
// ... | 23.263158 | 109 | 0.507919 | shockazoid |
c80e4bcf5ef90132e51973018658b27335f7841d | 9,901 | cpp | C++ | Source/Urho3D/Math/Polyhedron.cpp | jayrulez/rbfx | 8641813787d558b6e8318c1b8e9da86c0e52f9dc | [
"MIT"
] | 48 | 2016-11-14T00:39:35.000Z | 2018-12-18T16:37:43.000Z | Source/Urho3D/Math/Polyhedron.cpp | jayrulez/rbfx | 8641813787d558b6e8318c1b8e9da86c0e52f9dc | [
"MIT"
] | 54 | 2017-10-18T07:18:12.000Z | 2018-12-23T14:09:30.000Z | Source/Urho3D/Math/Polyhedron.cpp | jayrulez/rbfx | 8641813787d558b6e8318c1b8e9da86c0e52f9dc | [
"MIT"
] | 10 | 2017-11-10T11:46:15.000Z | 2018-12-18T11:58:44.000Z | //
// Copyright (c) 2008-2022 the Urho3D project.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, m... | 31.632588 | 116 | 0.59802 | jayrulez |
c8123127495c5f1f14e9f35669385718c0a14365 | 6,458 | hxx | C++ | src/utils/constants.hxx | TrainzLuvr/openmrn | b3bb9d4995e49aa39856740d292d38cf4a99845b | [
"BSD-2-Clause"
] | 1 | 2016-03-14T21:43:26.000Z | 2016-03-14T21:43:26.000Z | src/utils/constants.hxx | TrainzLuvr/openmrn | b3bb9d4995e49aa39856740d292d38cf4a99845b | [
"BSD-2-Clause"
] | null | null | null | src/utils/constants.hxx | TrainzLuvr/openmrn | b3bb9d4995e49aa39856740d292d38cf4a99845b | [
"BSD-2-Clause"
] | null | null | null | /** \copyright
* Copyright (c) 2014, Balazs Racz
* 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... | 46.128571 | 80 | 0.568287 | TrainzLuvr |
c81357a16345be3eebe2a4a2bbe6bfda6abea46c | 1,168 | cpp | C++ | LeetCode/ValidateBinarySearchTree.cpp | SelvorWhim/competitive | b9daaf21920d6f7669dc0c525e903949f4e33b62 | [
"Unlicense"
] | null | null | null | LeetCode/ValidateBinarySearchTree.cpp | SelvorWhim/competitive | b9daaf21920d6f7669dc0c525e903949f4e33b62 | [
"Unlicense"
] | null | null | null | LeetCode/ValidateBinarySearchTree.cpp | SelvorWhim/competitive | b9daaf21920d6f7669dc0c525e903949f4e33b62 | [
"Unlicense"
] | null | null | null | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode() : val(0), left(nullptr), right(nullptr) {}
* TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
* TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l... | 37.677419 | 145 | 0.589041 | SelvorWhim |
c81c462769954a0406bd1361b4a374a39d5b587b | 9,944 | cpp | C++ | src/generation/impl/CompilerImpl.cpp | fuchstraumer/ShaderTools | 02acb297c5cbb645d0004dd681f8a7135b568a5f | [
"MIT"
] | 1 | 2018-03-29T14:49:03.000Z | 2018-03-29T14:49:03.000Z | src/generation/impl/CompilerImpl.cpp | fuchstraumer/ShaderTools | 02acb297c5cbb645d0004dd681f8a7135b568a5f | [
"MIT"
] | 5 | 2018-04-22T16:03:49.000Z | 2019-04-25T21:55:02.000Z | src/generation/impl/CompilerImpl.cpp | fuchstraumer/ShaderTools | 02acb297c5cbb645d0004dd681f8a7135b568a5f | [
"MIT"
] | null | null | null | #include "CompilerImpl.hpp"
#include <filesystem>
#include <fstream>
#include "spirv_glsl.hpp"
#include "easyloggingpp/src/easylogging++.h"
#include "../../util/ShaderFileTracker.hpp"
namespace st {
namespace fs = std::filesystem;
shaderc::CompileOptions ShaderCompilerImpl::getCompilerOptions() const {
... | 47.127962 | 167 | 0.656778 | fuchstraumer |
c81dc5b1911d513cd873cc733bd8bdf58cacfe32 | 17,807 | cpp | C++ | SDK/ARKSurvivalEvolved_Telemetry_functions.cpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 10 | 2020-02-17T19:08:46.000Z | 2021-07-31T11:07:19.000Z | SDK/ARKSurvivalEvolved_Telemetry_functions.cpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 9 | 2020-02-17T18:15:41.000Z | 2021-06-06T19:17:34.000Z | SDK/ARKSurvivalEvolved_Telemetry_functions.cpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 3 | 2020-07-22T17:42:07.000Z | 2021-06-19T17:16:13.000Z | // ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_Telemetry_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//------------------------------------------------------------------------... | 31.240351 | 173 | 0.699107 | 2bite |
c81f2349939a070d59ee0905ed32153184db9789 | 1,362 | cpp | C++ | dev/ScrollPresenter/ScrollControllerScrollToRequestedEventArgs.cpp | riverar/microsoft-ui-xaml | ef3a0fcd85d200c98514e765eea94323b943cf1e | [
"MIT"
] | 3,788 | 2019-05-07T02:41:36.000Z | 2022-03-30T12:34:15.000Z | dev/ScrollPresenter/ScrollControllerScrollToRequestedEventArgs.cpp | riverar/microsoft-ui-xaml | ef3a0fcd85d200c98514e765eea94323b943cf1e | [
"MIT"
] | 6,170 | 2019-05-06T21:32:43.000Z | 2022-03-31T23:46:55.000Z | dev/ScrollPresenter/ScrollControllerScrollToRequestedEventArgs.cpp | riverar/microsoft-ui-xaml | ef3a0fcd85d200c98514e765eea94323b943cf1e | [
"MIT"
] | 532 | 2019-05-07T12:15:58.000Z | 2022-03-31T11:36:26.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#include "pch.h"
#include "common.h"
#include "TypeLogging.h"
#include "ScrollPresenterTypeLogging.h"
#include "ScrollPresenter.h"
#include "ScrollController... | 30.266667 | 96 | 0.78047 | riverar |
c821b4f3e1686afdec2ca85677951da0c1229aac | 19,144 | cpp | C++ | src/add-ons/kernel/bus_managers/ps2/ps2_synaptics.cpp | Yn0ga/haiku | 74e271b2a286c239e60f0ec261f4f197f4727eee | [
"MIT"
] | 1,338 | 2015-01-03T20:06:56.000Z | 2022-03-26T13:49:54.000Z | src/add-ons/kernel/bus_managers/ps2/ps2_synaptics.cpp | Yn0ga/haiku | 74e271b2a286c239e60f0ec261f4f197f4727eee | [
"MIT"
] | 15 | 2015-01-17T22:19:32.000Z | 2021-12-20T12:35:00.000Z | src/add-ons/kernel/bus_managers/ps2/ps2_synaptics.cpp | Yn0ga/haiku | 74e271b2a286c239e60f0ec261f4f197f4727eee | [
"MIT"
] | 350 | 2015-01-08T14:15:27.000Z | 2022-03-21T18:14:35.000Z | /*
* Copyright 2008-2010, Haiku, Inc.
* Distributed under the terms of the MIT License.
*
* Authors (in chronological order):
* Clemens Zeidler (haiku@Clemens-Zeidler.de)
* Axel Dörfler, axeld@pinc-software.de
*/
//! PS/2 synaptics touchpad
#include "ps2_synaptics.h"
#include <string.h>
#include <stdlib.h... | 26.405517 | 77 | 0.711241 | Yn0ga |
c828fc96a96db8f61d3dd100a4fdb4d606cb7028 | 442 | hpp | C++ | sprout/uuid/name_generator.hpp | osyo-manga/Sprout | 8885b115f739ef255530f772067475d3bc0dcef7 | [
"BSL-1.0"
] | 1 | 2020-02-04T05:16:01.000Z | 2020-02-04T05:16:01.000Z | sprout/uuid/name_generator.hpp | osyo-manga/Sprout | 8885b115f739ef255530f772067475d3bc0dcef7 | [
"BSL-1.0"
] | null | null | null | sprout/uuid/name_generator.hpp | osyo-manga/Sprout | 8885b115f739ef255530f772067475d3bc0dcef7 | [
"BSL-1.0"
] | null | null | null | #ifndef SPROUT_UUID_NAME_GENERATOR_HPP
#define SPROUT_UUID_NAME_GENERATOR_HPP
#include <sprout/config.hpp>
#include <sprout/uuid/md5_name_generator.hpp>
#include <sprout/uuid/sha1_name_generator.hpp>
namespace sprout {
namespace uuids {
//
// name_generator
//
typedef sprout::uuids::sha1_name_gen... | 24.555556 | 61 | 0.757919 | osyo-manga |
c8299cd8793afc40f2d1115b7686df57c2209339 | 6,978 | hpp | C++ | src/Evolution/Systems/NewtonianEuler/FiniteDifference/AoWeno.hpp | geoffrey4444/spectre | 9350d61830b360e2d5b273fdd176dcc841dbefb0 | [
"MIT"
] | 1 | 2021-04-02T16:49:35.000Z | 2021-04-02T16:49:35.000Z | src/Evolution/Systems/NewtonianEuler/FiniteDifference/AoWeno.hpp | GitHimanshuc/spectre | 4de4033ba36547113293fe4dbdd77591485a4aee | [
"MIT"
] | 19 | 2019-02-27T22:13:47.000Z | 2020-09-03T16:21:08.000Z | src/Evolution/Systems/NewtonianEuler/FiniteDifference/AoWeno.hpp | geoffrey4444/spectre | 9350d61830b360e2d5b273fdd176dcc841dbefb0 | [
"MIT"
] | null | null | null | // Distributed under the MIT License.
// See LICENSE.txt for details.
#pragma once
#include <array>
#include <boost/functional/hash.hpp>
#include <cstddef>
#include <limits>
#include <memory>
#include "DataStructures/DataBox/PrefixHelpers.hpp"
#include "DataStructures/DataBox/Prefixes.hpp"
#include "DataStructures/F... | 40.807018 | 80 | 0.676842 | geoffrey4444 |
c82b1b9f3a60642dcd21eecf8c9c04ed8a4628dd | 5,516 | cpp | C++ | models/cache/simple-cache/hash_table.cpp | Basseuph/manifold | 99779998911ed7e8b8ff6adacc7f93080409a5fe | [
"BSD-3-Clause"
] | 8 | 2016-01-22T18:28:48.000Z | 2021-05-07T02:27:21.000Z | models/cache/simple-cache/hash_table.cpp | Basseuph/manifold | 99779998911ed7e8b8ff6adacc7f93080409a5fe | [
"BSD-3-Clause"
] | 3 | 2016-04-15T02:58:58.000Z | 2017-01-19T17:07:34.000Z | models/cache/simple-cache/hash_table.cpp | Basseuph/manifold | 99779998911ed7e8b8ff6adacc7f93080409a5fe | [
"BSD-3-Clause"
] | 10 | 2015-12-11T04:16:55.000Z | 2019-05-25T20:58:13.000Z | #include <assert.h>
//#include <iostream>
#include <math.h>
#include <string.h>
#include "hash_table.h"
#include "cache_req.h"
using namespace std;
namespace manifold {
namespace simple_cache {
// mshr_entry: Constructor
mshr_entry::mshr_entry (Cache_req *request)
{
creq = request;
}
//! hash_entry: Cons... | 21.976096 | 87 | 0.669688 | Basseuph |
c82fe4367fd685d76d4b70ba4c2280c715dd9f70 | 4,635 | hpp | C++ | boost/archive/xml_iarchive.hpp | ballisticwhisper/boost | f72119ab640b564c4b983bd457457046b52af9ee | [
"BSL-1.0"
] | 2 | 2015-01-02T14:24:56.000Z | 2015-01-02T14:25:17.000Z | boost/archive/xml_iarchive.hpp | ballisticwhisper/boost | f72119ab640b564c4b983bd457457046b52af9ee | [
"BSL-1.0"
] | 2 | 2019-01-13T23:45:51.000Z | 2019-02-03T08:13:26.000Z | boost/archive/xml_iarchive.hpp | ballisticwhisper/boost | f72119ab640b564c4b983bd457457046b52af9ee | [
"BSL-1.0"
] | 1 | 2016-05-29T13:41:15.000Z | 2016-05-29T13:41:15.000Z | #ifndef BOOST_ARCHIVE_XML_IARCHIVE_HPP
#define BOOST_ARCHIVE_XML_IARCHIVE_HPP
// MS compatible compilers support #pragma once
#if defined(_MSC_VER)
# pragma once
#endif
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// xml_iarchive.hpp
// (C) Copyright 2002 Robert Ramey - http://www... | 27.426036 | 82 | 0.716289 | ballisticwhisper |
c834120498fd3e69faa2fd5aab03b7f20e5db3c7 | 7,333 | cc | C++ | etc/ctemplate-master-configured/src/template_namelist.cc | kundanjadhav/OpenProtocolMail | 682780de4602524b969d1ed2536fa035c750706a | [
"BSD-3-Clause"
] | 337 | 2015-03-12T19:10:04.000Z | 2022-03-29T12:31:00.000Z | etc/ctemplate-master-configured/src/template_namelist.cc | kundanjadhav/OpenProtocolMail | 682780de4602524b969d1ed2536fa035c750706a | [
"BSD-3-Clause"
] | 38 | 2015-04-03T09:00:39.000Z | 2020-11-02T02:58:22.000Z | etc/ctemplate-master-configured/src/template_namelist.cc | kundanjadhav/OpenProtocolMail | 682780de4602524b969d1ed2536fa035c750706a | [
"BSD-3-Clause"
] | 105 | 2015-03-14T12:18:14.000Z | 2022-03-06T07:36:59.000Z | // Copyright (c) 2006, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditi... | 37.605128 | 81 | 0.700805 | kundanjadhav |
c836eab1f99e724f3855ac2fda7af49f7e9924ae | 129 | cpp | C++ | dependencies/physx-4.1/source/physxextensions/src/ExtRigidActorExt.cpp | realtehcman/-UnderwaterSceneProject | 72cbd375ef5e175bed8f4e8a4d117f5340f239a4 | [
"MIT"
] | null | null | null | dependencies/physx-4.1/source/physxextensions/src/ExtRigidActorExt.cpp | realtehcman/-UnderwaterSceneProject | 72cbd375ef5e175bed8f4e8a4d117f5340f239a4 | [
"MIT"
] | null | null | null | dependencies/physx-4.1/source/physxextensions/src/ExtRigidActorExt.cpp | realtehcman/-UnderwaterSceneProject | 72cbd375ef5e175bed8f4e8a4d117f5340f239a4 | [
"MIT"
] | null | null | null | version https://git-lfs.github.com/spec/v1
oid sha256:1b2bcfd87c3bda2a807e67b8e14f0401226018f6de551423e3b55f37df208c1b
size 2789
| 32.25 | 75 | 0.883721 | realtehcman |
c83c59875d965fbfda3d3cc5540620cfcebedd15 | 17,386 | cpp | C++ | Server/GameServer/CharacterMovementHandler.cpp | APistole/KnightOnline | 80268e2fa971389a3e94c430966a7943c2631dbf | [
"MIT"
] | 191 | 2016-03-05T16:44:15.000Z | 2022-03-09T00:52:31.000Z | Server/GameServer/CharacterMovementHandler.cpp | APistole/KnightOnline | 80268e2fa971389a3e94c430966a7943c2631dbf | [
"MIT"
] | 128 | 2016-08-31T04:09:06.000Z | 2022-01-14T13:42:56.000Z | Server/GameServer/CharacterMovementHandler.cpp | APistole/KnightOnline | 80268e2fa971389a3e94c430966a7943c2631dbf | [
"MIT"
] | 165 | 2016-03-05T16:43:59.000Z | 2022-01-22T00:52:25.000Z | #include "stdafx.h"
#include "Map.h"
void CUser::MoveProcess(Packet & pkt)
{
ASSERT(GetMap() != nullptr);
if (m_bWarp || isDead())
return;
uint16_t will_x, will_z, will_y;
int16_t speed=0;
float real_x, real_z, real_y;
uint8_t echo;
pkt >> will_x >> will_z >> will_y >> speed >> echo;
real_x = will_x/10.0f... | 24.660993 | 191 | 0.68791 | APistole |
c845f9425a08bd2cad727a4cd9cdede33a57645d | 8,528 | cpp | C++ | SignInRegister/MyPrintManager.cpp | sbweeden/signinregister | bf6741f71eefb4ad860c83473f84417a9cabbd73 | [
"MIT"
] | null | null | null | SignInRegister/MyPrintManager.cpp | sbweeden/signinregister | bf6741f71eefb4ad860c83473f84417a9cabbd73 | [
"MIT"
] | null | null | null | SignInRegister/MyPrintManager.cpp | sbweeden/signinregister | bf6741f71eefb4ad860c83473f84417a9cabbd73 | [
"MIT"
] | null | null | null | #include "StdAfx.h"
#include "MyPrintManager.h"
#include "SignInRegister.h"
#include "Msg.h"
#include "Resource.h"
#include "SignInRecord.h"
#define RECORDS_PER_PAGE 14
#define PRINTER_SIGNATURE_SCALE 1.016
MyPrintManager::MyPrintManager(CPtrArray& records, LPCTSTR filename)
: m_records(records),
m_filename(filena... | 35.09465 | 121 | 0.695356 | sbweeden |
c847e6fae78ccb5587cd2b02676a32c49cb407f8 | 15,055 | cpp | C++ | engine/tmessage.cpp | DannyParker0001/Kisak-Strike | 99ed85927336fe3aff2efd9b9382b2b32eb1d05d | [
"Unlicense"
] | 252 | 2020-12-16T15:34:43.000Z | 2022-03-31T23:21:37.000Z | cstrike15_src/engine/tmessage.cpp | bahadiraraz/Counter-Strike-Global-Offensive | 9a0534100cb98ffa1cf0c32e138f0e7971e910d3 | [
"MIT"
] | 23 | 2020-12-20T18:02:54.000Z | 2022-03-28T16:58:32.000Z | cstrike15_src/engine/tmessage.cpp | bahadiraraz/Counter-Strike-Global-Offensive | 9a0534100cb98ffa1cf0c32e138f0e7971e910d3 | [
"MIT"
] | 42 | 2020-12-19T04:32:33.000Z | 2022-03-30T06:00:28.000Z | //========= Copyright (c) 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//
//=============================================================================//
#include "quakedef.h"
#include "cdll_int.h"
#include "draw.h"
#include "tmessage.h"
#include "common.h"
#i... | 23.56025 | 162 | 0.630687 | DannyParker0001 |
c8497a1e3394b401688b970a845be2c8ab1b9633 | 1,121 | cc | C++ | Codeforces/213 Division 1/Problem A/A.cc | VastoLorde95/Competitive-Programming | 6c990656178fb0cd33354cbe5508164207012f24 | [
"MIT"
] | 170 | 2017-07-25T14:47:29.000Z | 2022-01-26T19:16:31.000Z | Codeforces/213 Division 1/Problem A/A.cc | navodit15/Competitive-Programming | 6c990656178fb0cd33354cbe5508164207012f24 | [
"MIT"
] | null | null | null | Codeforces/213 Division 1/Problem A/A.cc | navodit15/Competitive-Programming | 6c990656178fb0cd33354cbe5508164207012f24 | [
"MIT"
] | 55 | 2017-07-28T06:17:33.000Z | 2021-10-31T03:06:22.000Z | #include<cstdio>
#include<iostream>
#include<cmath>
#include<algorithm>
#include<cstring>
#include<map>
#include<set>
#include<vector>
#include<utility>
#include<queue>
#include<stack>
#define sd(x) scanf("%d",&x)
#define sd2(x,y) scanf("%d%d",&x,&y)
#define sd3(x,y,z) scanf("%d%d%d",&x,&y,&z)
#define fi first
#define... | 19 | 82 | 0.570027 | VastoLorde95 |
c84996aeb4718c79230683382d6425bb03f93f2b | 3,001 | cpp | C++ | Reactions/AMReX_SUNMemory.cpp | wjge/PelePhysics | 631bc129262f9a0e0a3fa4626f855c02e4847a81 | [
"BSD-3-Clause-LBNL"
] | null | null | null | Reactions/AMReX_SUNMemory.cpp | wjge/PelePhysics | 631bc129262f9a0e0a3fa4626f855c02e4847a81 | [
"BSD-3-Clause-LBNL"
] | null | null | null | Reactions/AMReX_SUNMemory.cpp | wjge/PelePhysics | 631bc129262f9a0e0a3fa4626f855c02e4847a81 | [
"BSD-3-Clause-LBNL"
] | null | null | null | #include <AMReX.H>
#include <AMReX_Gpu.H>
#include <AMReX_SUNMemory.H>
#if defined(AMREX_USE_HIP)
#include <sunmemory/sunmemory_hip.h>
#elif defined(AMREX_USE_CUDA)
#include <sunmemory/sunmemory_cuda.h>
#endif
namespace amrex {
namespace sundials {
namespace {
int
Alloc(
SUNMemoryHelper, SUNMemory* memptr, size_t m... | 21.589928 | 80 | 0.695102 | wjge |
c84e7eeea51b7b82d21e2344707891582bf1083e | 697 | cpp | C++ | gym/index20_29/ioi2021_25/JI.cpp | daklqw/IOI2021-training | 4f21cef8eec47330e3db77a3d90cbe2309fa8294 | [
"Apache-2.0"
] | 6 | 2020-10-12T05:07:03.000Z | 2021-09-11T14:54:58.000Z | gym/index20_29/ioi2021_25/JI.cpp | daklqw/IOI2021-training | 4f21cef8eec47330e3db77a3d90cbe2309fa8294 | [
"Apache-2.0"
] | null | null | null | gym/index20_29/ioi2021_25/JI.cpp | daklqw/IOI2021-training | 4f21cef8eec47330e3db77a3d90cbe2309fa8294 | [
"Apache-2.0"
] | 2 | 2021-02-09T02:06:31.000Z | 2021-10-06T01:25:08.000Z | #include <bits/stdc++.h>
const int MAXN = 2e5 + 10;
int A[MAXN], n;
int f[MAXN], g[MAXN];
void solve(int * f) {
static int st[MAXN];
memset(st, 0x3f, n << 2);
int top = 0;
for (int i = 1; i <= n; ++i) {
int * at = std::upper_bound(st, st + top, A[i]);
f[i] = (at - st) + 1;
*at = std::min(*at, A[i]);
top =... | 21.78125 | 56 | 0.497848 | daklqw |
c84f2616ebd8e69e8bbae5de0ab78e92ebab007f | 17,869 | cpp | C++ | ukmarsbot-basic-follower/commands.cpp | micromouseonline/ukmarsbot-line-follower-basic | b4030c358f4a316d4089f8e27afda02d78e7544f | [
"MIT"
] | null | null | null | ukmarsbot-basic-follower/commands.cpp | micromouseonline/ukmarsbot-line-follower-basic | b4030c358f4a316d4089f8e27afda02d78e7544f | [
"MIT"
] | null | null | null | ukmarsbot-basic-follower/commands.cpp | micromouseonline/ukmarsbot-line-follower-basic | b4030c358f4a316d4089f8e27afda02d78e7544f | [
"MIT"
] | 1 | 2021-12-21T15:48:01.000Z | 2021-12-21T15:48:01.000Z | #include "commands.h"
#include "cli.h"
#include "digitalWriteFast.h"
#include "encoders.h"
#include "motors.h"
#include "profile.h"
#include "sensors.h"
#include "settings.h"
#include "streaming.h"
#include "systick.h"
#include "twiddle.h"
#include <arduino.h>
#include <util/atomic.h>
void cmdFilter(float f) {
floa... | 23.793609 | 99 | 0.624825 | micromouseonline |
c8504be6512b56ac5925669bccb70d0702e43bae | 460 | cpp | C++ | codeforces/802G.cpp | sgrade/cpptest | 84ade6ec03ea394d4a4489c7559d12b4799c0b62 | [
"MIT"
] | null | null | null | codeforces/802G.cpp | sgrade/cpptest | 84ade6ec03ea394d4a4489c7559d12b4799c0b62 | [
"MIT"
] | null | null | null | codeforces/802G.cpp | sgrade/cpptest | 84ade6ec03ea394d4a4489c7559d12b4799c0b62 | [
"MIT"
] | null | null | null | // G. Fake News (easy)
#include <iostream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
bool ans = false;
int n = size(s);
string fake = "heidi";
int j = 0;
for (int i = 0; i < n; ++i) {
if (s[i] == fake[j]) {
++j;
}
... | 12.432432 | 41 | 0.384783 | sgrade |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.