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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d01103efef5d7119a48afd53996f7d0d68957148 | 1,511 | hpp | C++ | source/hls/_FIRMWARE/shared_dram.hpp | somdipdey/Traffic_Analysis_Images__Dataset | 9620c68ca71cda951a821aeaf89fcde6a7bb81fb | [
"MIT"
] | 1 | 2019-02-22T12:23:31.000Z | 2019-02-22T12:23:31.000Z | source/hls/_FIRMWARE/shared_dram.hpp | maxpark/MAT-CNN-SOPC | 9620c68ca71cda951a821aeaf89fcde6a7bb81fb | [
"MIT"
] | 1 | 2018-06-26T22:17:03.000Z | 2018-06-26T22:17:34.000Z | source/hls/_FIRMWARE/shared_dram.hpp | somdipdey/MAT-CNN-FPGA_Traffic_Analysis_Using_CNNs_On_FPGA | 9620c68ca71cda951a821aeaf89fcde6a7bb81fb | [
"MIT"
] | 1 | 2018-06-29T09:59:33.000Z | 2018-06-29T09:59:33.000Z |
#ifndef SHARED_DRAM_H_9B5B43B5
#define SHARED_DRAM_H_9B5B43B5
#include <sys/mman.h>
#include <fcntl.h>
#include <err.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <stddef.h>
#include <stdint.h>
#include "xfpga_hw.hpp" // Register addresses
typedef uint8_t u8;
typedef u... | 26.982143 | 68 | 0.733951 | somdipdey |
d011cc3e7e0512dd095e3bef663f0c6469948965 | 19,018 | cpp | C++ | moai/src/moaicore/MOAICameraFitter2D.cpp | jjimenezg93/ai-pathfinding | e32ae8be30d3df21c7e64be987134049b585f1e6 | [
"MIT"
] | null | null | null | moai/src/moaicore/MOAICameraFitter2D.cpp | jjimenezg93/ai-pathfinding | e32ae8be30d3df21c7e64be987134049b585f1e6 | [
"MIT"
] | null | null | null | moai/src/moaicore/MOAICameraFitter2D.cpp | jjimenezg93/ai-pathfinding | e32ae8be30d3df21c7e64be987134049b585f1e6 | [
"MIT"
] | null | null | null | // Copyright (c) 2010-2011 Zipline Games, Inc. All Rights Reserved.
// http://getmoai.com
#include "pch.h"
#include <moaicore/MOAICameraAnchor2D.h>
#include <moaicore/MOAICameraFitter2D.h>
#include <moaicore/MOAIGfxDevice.h>
#include <moaicore/MOAILogMessages.h>
#include <moaicore/MOAITransform.h>
#include <moaicore/... | 27.723032 | 136 | 0.595331 | jjimenezg93 |
d015e1d47dab3b6f4d16d5072775e6aef3825b17 | 76,269 | cpp | C++ | cpu/sh2/sh2.cpp | ssilverm/pifba-code | 386ff10535af1e9353488b98a49777ee5499d86e | [
"Xnet",
"X11"
] | 8 | 2017-08-10T14:04:14.000Z | 2021-12-08T15:35:34.000Z | cpu/sh2/sh2.cpp | ssilverm/pifba-code | 386ff10535af1e9353488b98a49777ee5499d86e | [
"Xnet",
"X11"
] | null | null | null | cpu/sh2/sh2.cpp | ssilverm/pifba-code | 386ff10535af1e9353488b98a49777ee5499d86e | [
"Xnet",
"X11"
] | 7 | 2017-04-09T13:46:34.000Z | 2021-03-04T01:55:47.000Z | /*****************************************************************************
*
* Portable Hitachi SH-2 (SH7600 family) emulator
*
* Copyright (c) 2000 Juergen Buchmueller <pullmoll@t-online.de>,
* all rights reserved.
*
* - This source code is released as freeware for non-commercial purposes.
... | 22.869265 | 181 | 0.541898 | ssilverm |
d016c65b6c93c608d54d99c52c4a512c7f7617cd | 6,369 | hpp | C++ | include/private/configuration.hpp | TetraSomia/liblapin | f5ee3ce9b0fff8459ec15d5e24287f2c16e5ae35 | [
"BSD-3-Clause"
] | 1 | 2021-06-14T19:26:42.000Z | 2021-06-14T19:26:42.000Z | include/private/configuration.hpp | TetraSomia/liblapin | f5ee3ce9b0fff8459ec15d5e24287f2c16e5ae35 | [
"BSD-3-Clause"
] | null | null | null | include/private/configuration.hpp | TetraSomia/liblapin | f5ee3ce9b0fff8459ec15d5e24287f2c16e5ae35 | [
"BSD-3-Clause"
] | null | null | null | /*
** Jason Brillante "Damdoshi"
** Hanged Bunny Studio 2014-2016
**
**
** Bibliotheque Lapin
*/
#ifndef __LAPIN_PRIVATE_CONFIGURATION_HPP__
# define __LAPIN_PRIVATE_CONFIGURATION_HPP__
# include <iomanip>
# include <sstream>
struct SmallConf;
t_bunny_configuration *_bunny_read_ini(const char *code,
... | 22.347368 | 66 | 0.57403 | TetraSomia |
d016f0b1044b6e6dca3486f07fb52fd71862cea4 | 4,463 | hpp | C++ | Genesis/include/Genesis/LegacyBackend/LegacyBackend.hpp | JoshuaMasci/Genesis | 761060626a92e3df7b860a97209fca341cdda240 | [
"MIT"
] | 2 | 2020-01-22T05:57:12.000Z | 2020-04-06T01:15:30.000Z | Genesis/include/Genesis/LegacyBackend/LegacyBackend.hpp | JoshuaMasci/Genesis | 761060626a92e3df7b860a97209fca341cdda240 | [
"MIT"
] | null | null | null | Genesis/include/Genesis/LegacyBackend/LegacyBackend.hpp | JoshuaMasci/Genesis | 761060626a92e3df7b860a97209fca341cdda240 | [
"MIT"
] | null | null | null | #pragma once
#include "Genesis/RenderingBackend/VertexInputDescription.hpp"
#include "Genesis/RenderingBackend/RenderingTypes.hpp"
#include "Genesis/RenderingBackend/PipelineSettings.hpp"
namespace Genesis
{
enum class DepthFormat
{
depth_16,
depth_24,
depth_32,
depth_32f,
};
enum class TextureWrapMode
... | 30.568493 | 138 | 0.766077 | JoshuaMasci |
d01efa51e1883ccdcd82c4418fbaf02af8fea6f1 | 861 | cpp | C++ | TouchBarConfig.cpp | RPBCACUEAIIBH/HexaLib-Arduino | 0f61cb0c1fd560df5a6395749376e1123ba0a8f5 | [
"BSD-3-Clause"
] | 3 | 2020-09-10T18:36:25.000Z | 2020-12-18T03:34:08.000Z | TouchBarConfig.cpp | RPBCACUEAIIBH/TouchBar | 96378d143a57e1a0e5e32b2577d94ee717c5c6cf | [
"BSD-3-Clause"
] | null | null | null | TouchBarConfig.cpp | RPBCACUEAIIBH/TouchBar | 96378d143a57e1a0e5e32b2577d94ee717c5c6cf | [
"BSD-3-Clause"
] | null | null | null | #include "TouchBar.h"
/* Configure Private */
void TouchBarConfig::SetFlags (boolean SpringBackFlag, boolean SnapFlag, boolean RampFlag, boolean FlipFlag)
{
Flags = 0;
bitWrite(Flags, 6, SpringBackFlag);
bitWrite(Flags, 5, SnapFlag);
bitWrite(Flags, 4, RampFlag);
bitWrite(Flags, 3, FlipFlag);
}
void Touch... | 17.571429 | 108 | 0.711963 | RPBCACUEAIIBH |
d0221ec0649cad315b8faa29b379bb05862f5f92 | 31,902 | cpp | C++ | src/builder.cpp | blackberry/Wesnoth | 8b307689158db568ecc6cc3b537e8d382ccea449 | [
"Unlicense"
] | 12 | 2015-03-04T15:07:00.000Z | 2019-09-13T16:31:06.000Z | src/builder.cpp | blackberry/Wesnoth | 8b307689158db568ecc6cc3b537e8d382ccea449 | [
"Unlicense"
] | null | null | null | src/builder.cpp | blackberry/Wesnoth | 8b307689158db568ecc6cc3b537e8d382ccea449 | [
"Unlicense"
] | 5 | 2017-04-22T08:16:48.000Z | 2020-07-12T03:35:16.000Z | /* $Id: builder.cpp 49134 2011-04-09 16:00:16Z mordante $ */
/*
Copyright (C) 2004 - 2011 by Philippe Plantier <ayin@anathas.org>
Part of the Battle for Wesnoth Project http://www.wesnoth.org
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Pu... | 29.375691 | 165 | 0.648486 | blackberry |
d02248a925b2e191b000ae89b231c53d74468938 | 17,691 | cc | C++ | protocal/guardian/guardian.pb.cc | racestart/g2r | d115ebaab13829d716750eab2ebdcc51d79ff32e | [
"Apache-2.0"
] | 1 | 2020-03-05T12:49:21.000Z | 2020-03-05T12:49:21.000Z | protocal/guardian/guardian.pb.cc | gA4ss/g2r | a6e2ee5758ab59fd95704e3c3090dd234fbfb2c9 | [
"Apache-2.0"
] | null | null | null | protocal/guardian/guardian.pb.cc | gA4ss/g2r | a6e2ee5758ab59fd95704e3c3090dd234fbfb2c9 | [
"Apache-2.0"
] | 1 | 2020-03-25T15:06:39.000Z | 2020-03-25T15:06:39.000Z | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: guardian/guardian.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "guardian/guardian.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/port.h>
#include <google/protobuf/stubs/... | 35.170974 | 125 | 0.738907 | racestart |
d02270a485173a1eff99d741d0d39f556f84faa4 | 1,046 | cpp | C++ | code/cpp/NumberOfSymbolsCommonInaSetOfStrings.cpp | analgorithmaday/analgorithmaday.github.io | d43f98803bc673f61334bff54eed381426ee902e | [
"MIT"
] | null | null | null | code/cpp/NumberOfSymbolsCommonInaSetOfStrings.cpp | analgorithmaday/analgorithmaday.github.io | d43f98803bc673f61334bff54eed381426ee902e | [
"MIT"
] | null | null | null | code/cpp/NumberOfSymbolsCommonInaSetOfStrings.cpp | analgorithmaday/analgorithmaday.github.io | d43f98803bc673f61334bff54eed381426ee902e | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <map>
#include <vector>
using namespace std;
void remove_dup(string& gems) {
map<char, bool> visited;
int len = gems.length();
int i = 0;
while(i < len) {
if(visited[gems[i]]) {
gems.erase(i, 1);
len--;
continue... | 20.509804 | 92 | 0.5 | analgorithmaday |
d022d9f43f19a76814e537c7f00d33fcfa32a76e | 12,745 | cpp | C++ | test/err/id/System.main.cpp | AnantaYudica/basic | dcbf8c9eebb42a4e6a66b3c56ebc3a7e30626950 | [
"MIT"
] | null | null | null | test/err/id/System.main.cpp | AnantaYudica/basic | dcbf8c9eebb42a4e6a66b3c56ebc3a7e30626950 | [
"MIT"
] | 178 | 2018-08-08T04:04:27.000Z | 2019-12-15T01:47:58.000Z | test/err/id/System.main.cpp | AnantaYudica/basic | dcbf8c9eebb42a4e6a66b3c56ebc3a7e30626950 | [
"MIT"
] | null | null | null | #include "Test.h"
#include "test/Message.h"
#include "test/Variable.h"
#include "test/Case.h"
#include "test/var/At.h"
#include "err/id/System.h"
#include "err/id/rec/ToBytes.h"
#include <type_traits>
#include <utility>
BASIC_TEST_CONSTRUCT;
#define BUFFER_FORMAT_CSTRING 256
basic::test::CString<char>
Identificat... | 40.332278 | 79 | 0.691487 | AnantaYudica |
d0247ebaf87e6150cd5095f285103e5820f9b090 | 1,686 | hpp | C++ | plansys2_problem_expert/include/plansys2_problem_expert/ProblemExpertInterface.hpp | mjcarroll/ros2_planning_system | 676d0d3a9629446cdc0797df8daa808e75728cf3 | [
"Apache-2.0"
] | null | null | null | plansys2_problem_expert/include/plansys2_problem_expert/ProblemExpertInterface.hpp | mjcarroll/ros2_planning_system | 676d0d3a9629446cdc0797df8daa808e75728cf3 | [
"Apache-2.0"
] | null | null | null | plansys2_problem_expert/include/plansys2_problem_expert/ProblemExpertInterface.hpp | mjcarroll/ros2_planning_system | 676d0d3a9629446cdc0797df8daa808e75728cf3 | [
"Apache-2.0"
] | null | null | null | // Copyright 2019 Intelligent Robotics Lab
//
// 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 ... | 32.423077 | 78 | 0.759786 | mjcarroll |
d02509ddd5dc23605bb012f156f495806568657e | 4,758 | cc | C++ | ash/autoclick/common/autoclick_controller_common.cc | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 777 | 2017-08-29T15:15:32.000Z | 2022-03-21T05:29:41.000Z | ash/autoclick/common/autoclick_controller_common.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 66 | 2017-08-30T18:31:18.000Z | 2021-08-02T10:59:35.000Z | ash/autoclick/common/autoclick_controller_common.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 123 | 2017-08-30T01:19:34.000Z | 2022-03-17T22:55:31.000Z | // Copyright 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 "ash/autoclick/common/autoclick_controller_common.h"
#include "ash/autoclick/common/autoclick_controller_common_delegate.h"
#include "ui/aura/wi... | 36.320611 | 80 | 0.714586 | google-ar |
d02544ddd1be1a6bf3b41d3a07d7085e57b7c2f1 | 739 | cpp | C++ | UVa Online Judge (UVa)/Volume 102/10226 - Hardwood Species.cpp | sreejonK19/online-judge-solutions | da65d635cc488c8f305e48b49727ad62649f5671 | [
"MIT"
] | null | null | null | UVa Online Judge (UVa)/Volume 102/10226 - Hardwood Species.cpp | sreejonK19/online-judge-solutions | da65d635cc488c8f305e48b49727ad62649f5671 | [
"MIT"
] | null | null | null | UVa Online Judge (UVa)/Volume 102/10226 - Hardwood Species.cpp | sreejonK19/online-judge-solutions | da65d635cc488c8f305e48b49727ad62649f5671 | [
"MIT"
] | 2 | 2018-11-06T19:37:56.000Z | 2018-11-09T19:05:46.000Z | #include <bits/stdc++.h>
using namespace std;
string name;
map <string, int> msi;
map <string, int> :: iterator mit;
int main( int argc, char ** argv ) {
// freopen( "in.txt", "r", stdin );
int tc;
scanf( "%d ", &tc );
for( int nCase = 1 ; nCase <= tc ; ++nCase ) {
msi.clear();
int t... | 24.633333 | 86 | 0.460081 | sreejonK19 |
d0283ea2630da8f55c697dd4ced02391d4f5681d | 4,951 | cpp | C++ | tasks/FrameFilter.cpp | PhischDotOrg/stm32f4-common | 4b6b9c436018c89d3668c6ee107e97abb930bae2 | [
"MIT"
] | 1 | 2022-01-31T01:59:52.000Z | 2022-01-31T01:59:52.000Z | tasks/FrameFilter.cpp | PhischDotOrg/stm32-common | 4b6b9c436018c89d3668c6ee107e97abb930bae2 | [
"MIT"
] | 5 | 2020-04-13T21:55:12.000Z | 2020-06-27T17:44:44.000Z | tasks/FrameFilter.cpp | PhischDotOrg/stm32f4-common | 4b6b9c436018c89d3668c6ee107e97abb930bae2 | [
"MIT"
] | null | null | null | /*-
* $Copyright$
-*/
#include "tasks/FrameSampler.hpp"
#ifndef _FRAME_FILTER_CPP_4085c3de_7e34_4002_a351_d24c2cd81aff
#define _FRAME_FILTER_CPP_4085c3de_7e34_4002_a351_d24c2cd81aff
#if defined(__cplusplus)
extern "C" {
#endif /* defined(__cplusplus) */
#include "FreeRTOS/FreeRTOS.h"
#include "FreeRTOS/task.h"
#incl... | 40.252033 | 146 | 0.565946 | PhischDotOrg |
d02d99d2d8fdc4ae9ca2b31e5ac7d74a8c51bd3e | 3,321 | cpp | C++ | src/menustate.cpp | jumpmanmv/pixeltetris | 4a40543e5919b3ca3b35c2310da258a6cf5d224f | [
"MIT"
] | 2 | 2021-05-07T15:05:56.000Z | 2021-11-16T17:33:46.000Z | src/menustate.cpp | jumpmanmv/pixeltetris | 4a40543e5919b3ca3b35c2310da258a6cf5d224f | [
"MIT"
] | null | null | null | src/menustate.cpp | jumpmanmv/pixeltetris | 4a40543e5919b3ca3b35c2310da258a6cf5d224f | [
"MIT"
] | null | null | null | #include "menustate.hpp"
#include <iostream> //debug
#include <vector>
#include <SDL2/SDL.h>
#include "config.hpp"
#include "inputmanager.hpp"
#include "renderer.hpp"
#include "state.hpp"
/*
* ====================================
* Public methods start here
* ====================================
*/
MenuState::... | 28.878261 | 139 | 0.586871 | jumpmanmv |
d02db68039e6d395d4ec07e96e7f37ef581edfb8 | 2,315 | cpp | C++ | admin/wmi/wbem/winmgmt/esscomp/forwarding/fconprov.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | admin/wmi/wbem/winmgmt/esscomp/forwarding/fconprov.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | admin/wmi/wbem/winmgmt/esscomp/forwarding/fconprov.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z |
#include "precomp.h"
#include <assert.h>
#include <sync.h>
#include <arrtempl.h>
#include <wstring.h>
#include <comutl.h>
#include <statsync.h>
#include <map>
#include <wstlallc.h>
#include "fconprov.h"
#include "fconnspc.h"
#include "fconsink.h"
LPCWSTR g_wszNamespace = L"__NAMESPACE";
LPCWSTR g_wszCl... | 23.865979 | 104 | 0.631102 | npocmaka |
d02e2fef6086d606dee2b2a510ff67a73450e2b3 | 175 | cpp | C++ | applications/sandbox/systems/gui_test.cpp | Rythe-Interactive/Rythe-Engine.rythe-legacy | c119c494524b069a73100b12dc3d8b898347830d | [
"MIT"
] | 2 | 2022-03-08T09:46:17.000Z | 2022-03-28T08:07:05.000Z | applications/sandbox/systems/gui_test.cpp | Rythe-Interactive/Rythe-Engine.rythe-legacy | c119c494524b069a73100b12dc3d8b898347830d | [
"MIT"
] | 3 | 2022-03-02T13:49:10.000Z | 2022-03-22T11:54:06.000Z | applications/sandbox/systems/gui_test.cpp | Rythe-Interactive/Rythe-Engine.rythe-legacy | c119c494524b069a73100b12dc3d8b898347830d | [
"MIT"
] | null | null | null | #include "gui_test.hpp"
bool legion::GuiTestSystem::captured = false;
bool legion::GuiTestSystem::isEditingText = false;
legion::ecs::entity legion::GuiTestSystem::selected;
| 29.166667 | 52 | 0.782857 | Rythe-Interactive |
d0317bfdeb24757d771b5c209eff14e2866e5de9 | 736 | cpp | C++ | source.cpp | IshaySela/lightningPlusPlus | bdd81921c6f112b7ed51bb3297ffc213d256e178 | [
"MIT"
] | 1 | 2022-01-20T15:51:04.000Z | 2022-01-20T15:51:04.000Z | source.cpp | IshaySela/lightningPlusPlus | bdd81921c6f112b7ed51bb3297ffc213d256e178 | [
"MIT"
] | 1 | 2022-01-30T10:15:29.000Z | 2022-01-30T10:15:29.000Z | source.cpp | IshaySela/lightningPlusPlus | bdd81921c6f112b7ed51bb3297ffc213d256e178 | [
"MIT"
] | null | null | null | #include <iostream>
#include <lightning/httpServer/ServerBuilder.hpp>
constexpr const char *PublicKeyPath = "/home/ishaysela/projects/lightningPlusPlus/tests/localhost.cert";
constexpr const char *PrivateKeyPath = "/home/ishaysela/projects/lightningPlusPlus/tests/localhost.key";
auto main() -> int
{
auto server =... | 29.44 | 104 | 0.641304 | IshaySela |
d0327b0a24259003449b06c9f5d018f72a0dc192 | 33 | cpp | C++ | tutorials/learncpp.com#1.0#1/control_flow/for_statements/source8.cpp | officialrafsan/CppDroid | 5fb2cc7750fea53b1ea6ff47b5094da6e95e9224 | [
"MIT"
] | null | null | null | tutorials/learncpp.com#1.0#1/control_flow/for_statements/source8.cpp | officialrafsan/CppDroid | 5fb2cc7750fea53b1ea6ff47b5094da6e95e9224 | [
"MIT"
] | null | null | null | tutorials/learncpp.com#1.0#1/control_flow/for_statements/source8.cpp | officialrafsan/CppDroid | 5fb2cc7750fea53b1ea6ff47b5094da6e95e9224 | [
"MIT"
] | null | null | null | if (nValue == 0);
nValue = 1; | 16.5 | 17 | 0.484848 | officialrafsan |
d0345f9e3c9d3fad1356be7892fbeaf358ead281 | 231 | cpp | C++ | GreetingKit/HelloCpp.cpp | skyfe79/GreetingKit | 034ad4bb8687bcfa24168f5a0803af89210bb73e | [
"MIT"
] | null | null | null | GreetingKit/HelloCpp.cpp | skyfe79/GreetingKit | 034ad4bb8687bcfa24168f5a0803af89210bb73e | [
"MIT"
] | null | null | null | GreetingKit/HelloCpp.cpp | skyfe79/GreetingKit | 034ad4bb8687bcfa24168f5a0803af89210bb73e | [
"MIT"
] | null | null | null | //
// HelloCpp.cpp
// GreetingKit
//
// Created by burt on 2016. 3. 3..
// Copyright © 2016년 BurtK. All rights reserved.
//
#include "HelloCpp.hpp"
HelloCpp::HelloCpp(std::string msg) {
printf("C++ %s\n", msg.c_str());
}
| 16.5 | 49 | 0.614719 | skyfe79 |
d035e73431be12b96218067cda121ca7284e9d35 | 3,089 | cpp | C++ | Task 1/LongestArithmeticSubsequence/answer.cpp | anjali-coder/Hacktoberfest_2020 | 05cf51d9b791b89f93158971637ba931a3037dc5 | [
"MIT"
] | 74 | 2021-09-22T06:29:40.000Z | 2022-01-20T14:46:11.000Z | Task 1/LongestArithmeticSubsequence/answer.cpp | anjali-coder/Hacktoberfest_2020 | 05cf51d9b791b89f93158971637ba931a3037dc5 | [
"MIT"
] | 65 | 2020-10-02T11:03:42.000Z | 2020-11-01T06:00:25.000Z | Task 1/LongestArithmeticSubsequence/answer.cpp | anjali-coder/Hacktoberfest_2020 | 05cf51d9b791b89f93158971637ba931a3037dc5 | [
"MIT"
] | 184 | 2020-10-02T10:53:53.000Z | 2021-08-20T12:27:04.000Z | // longest arithmetic progression subsequence #138
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int longestAP (int set[], int n) {
if (n <= 2) return n;
//create a table and init all vals as 2.
int TBL[n][n];
int lapLen = 2;
for (int i = 0; i < n;... | 31.845361 | 87 | 0.431208 | anjali-coder |
d03699385d86d7ebf09248cf6c615dcf06c65221 | 7,717 | cpp | C++ | codecparsers/mpeg2_parser_unittest.cpp | genisysram/libyami | 08d3ecbbfe1f5d23d433523f747a7093a0b3a13a | [
"Apache-2.0"
] | 89 | 2015-01-09T10:31:13.000Z | 2018-01-18T12:48:21.000Z | codecparsers/mpeg2_parser_unittest.cpp | genisysram/libyami | 08d3ecbbfe1f5d23d433523f747a7093a0b3a13a | [
"Apache-2.0"
] | 626 | 2015-01-12T00:01:26.000Z | 2018-01-23T18:58:58.000Z | codecparsers/mpeg2_parser_unittest.cpp | genisysram/libyami | 08d3ecbbfe1f5d23d433523f747a7093a0b3a13a | [
"Apache-2.0"
] | 104 | 2015-01-12T04:02:09.000Z | 2017-12-28T08:27:42.000Z | /*
* Copyright 2016 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 35.237443 | 131 | 0.662434 | genisysram |
d036ee1170c75bf67a68afdc072618208fbac472 | 867 | cpp | C++ | src/tuw_geometry/polar2d.cpp | baluke/tuw_geometry | eaa03386d91f38f70a11dac242ff92eca24906e5 | [
"BSD-2-Clause"
] | null | null | null | src/tuw_geometry/polar2d.cpp | baluke/tuw_geometry | eaa03386d91f38f70a11dac242ff92eca24906e5 | [
"BSD-2-Clause"
] | null | null | null | src/tuw_geometry/polar2d.cpp | baluke/tuw_geometry | eaa03386d91f38f70a11dac242ff92eca24906e5 | [
"BSD-2-Clause"
] | null | null | null | #include <memory>
#include <tuw_geometry/polar2d.h>
using namespace tuw;
Polar2D::Polar2D () : Point2D ( 0,0 ) {};
Polar2D::Polar2D ( const Point2D &p ) : Point2D ( atan2( p.y(), p.x()), sqrt( p.x() * p.x() + p.y()* p.y() ), 1 ) {};
Polar2D::Polar2D ( double alpha, double rho ) : Point2D ( alpha,rho ) {};
Polar2D::Po... | 21.146341 | 117 | 0.579008 | baluke |
d038351d3a364558234f3d429eb9cc35c15e8c5b | 1,606 | hpp | C++ | Header Files/Game.hpp | zhihanLin/text-based-RPG | 1d4919a3d9569739ea924a5aa4699a3995dab043 | [
"FSFAP"
] | null | null | null | Header Files/Game.hpp | zhihanLin/text-based-RPG | 1d4919a3d9569739ea924a5aa4699a3995dab043 | [
"FSFAP"
] | null | null | null | Header Files/Game.hpp | zhihanLin/text-based-RPG | 1d4919a3d9569739ea924a5aa4699a3995dab043 | [
"FSFAP"
] | null | null | null | //
// Game.hpp
// idleRPG
//
// Created by ZHIHAN LIN on 4/17/20.
// Copyright © 2020 ZHIHAN LIN. All rights reserved.
//
#ifndef Game_hpp
#define Game_hpp
#include <stdio.h>
#include <iterator>
#include <algorithm>
#include <ctime>
#include <string>
#include <vector>
#include <deque>
#include <fstream>
#include ... | 21.131579 | 78 | 0.640722 | zhihanLin |
d03a3dfeb4eaf07698b73b1f08901ead91400deb | 1,052 | hpp | C++ | ios/Pods/boost-for-react-native/boost/hana/concept/logical.hpp | rudylee/expo | b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc | [
"Apache-2.0",
"MIT"
] | 8,805 | 2015-11-03T00:52:29.000Z | 2022-03-29T22:30:03.000Z | ios/Pods/boost-for-react-native/boost/hana/concept/logical.hpp | rudylee/expo | b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc | [
"Apache-2.0",
"MIT"
] | 14,694 | 2015-02-24T15:13:42.000Z | 2022-03-31T13:16:45.000Z | ios/Pods/boost-for-react-native/boost/hana/concept/logical.hpp | rudylee/expo | b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc | [
"Apache-2.0",
"MIT"
] | 1,329 | 2015-11-03T20:25:51.000Z | 2022-03-31T18:10:38.000Z | /*!
@file
Defines `boost::hana::Logical`.
@copyright Louis Dionne 2013-2016
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
#ifndef BOOST_HANA_CONCEPT_LOGICAL_HPP
#define BOOST_HANA_CONCEPT_LOGICAL_HPP
#include ... | 29.222222 | 79 | 0.706274 | rudylee |
d03bd3c5964ebbbad0644444a9a8065c1aac4201 | 2,088 | cpp | C++ | domain/thumbnaildatabase.cpp | goph-R/Pixie | 89beacd5aca02a3fe4a9f8dcbe9eeda7ca0f1a37 | [
"Apache-2.0"
] | 2 | 2016-10-16T13:06:42.000Z | 2020-06-07T19:30:34.000Z | domain/thumbnaildatabase.cpp | goph-R/Pixie | 89beacd5aca02a3fe4a9f8dcbe9eeda7ca0f1a37 | [
"Apache-2.0"
] | 2 | 2019-12-20T11:35:51.000Z | 2019-12-20T11:37:26.000Z | domain/thumbnaildatabase.cpp | goph-R/Pixie | 89beacd5aca02a3fe4a9f8dcbe9eeda7ca0f1a37 | [
"Apache-2.0"
] | null | null | null | #include "domain/thumbnaildatabase.h"
#include <QSqlQuery>
#include <QSqlRecord>
#include <QSqlField>
#include <QBuffer>
#include <QSqlError>
#include <QSqlDriver>
#include <QDebug>
ThumbnailDatabase::ThumbnailDatabase(QString path) : QObject() {
databasePath = path;
}
void ThumbnailDatabase::connect() {
db... | 25.156627 | 97 | 0.630747 | goph-R |
d03c2682b2d823739f16d8d3dc226c1b93040ac3 | 6,817 | cpp | C++ | booster/lib/regex/test/test_regex.cpp | gatehouse/cppcms | 61da055ffeb349b4eda14bc9ac393af9ce842364 | [
"MIT"
] | 388 | 2017-03-01T07:39:21.000Z | 2022-03-30T19:38:41.000Z | booster/lib/regex/test/test_regex.cpp | gatehouse/cppcms | 61da055ffeb349b4eda14bc9ac393af9ce842364 | [
"MIT"
] | 81 | 2017-03-08T20:28:00.000Z | 2022-01-23T08:19:31.000Z | booster/lib/regex/test/test_regex.cpp | gatehouse/cppcms | 61da055ffeb349b4eda14bc9ac393af9ce842364 | [
"MIT"
] | 127 | 2017-03-05T21:53:40.000Z | 2022-02-25T02:31:01.000Z | //
// Copyright (C) 2009-2012 Artyom Beilis (Tonkikh)
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
#include <booster/regex.h>
#include "test.h"
#include <pcre.h>
#define THROWS(x,te) do { \
try... | 25.920152 | 92 | 0.589702 | gatehouse |
d03cee142a4da717978b38dfc5f2362cd0df7d42 | 3,520 | cpp | C++ | injectors/Kd.cpp | TedBrookings/fitneuron | 2ab68481a4caf64a18da9ffc6302b004345fd173 | [
"MIT"
] | null | null | null | injectors/Kd.cpp | TedBrookings/fitneuron | 2ab68481a4caf64a18da9ffc6302b004345fd173 | [
"MIT"
] | null | null | null | injectors/Kd.cpp | TedBrookings/fitneuron | 2ab68481a4caf64a18da9ffc6302b004345fd173 | [
"MIT"
] | null | null | null | #include "OhmicChannel.h"
// Delayed rectifier potassium current (mPower = 4, hPower = 0)
// Base formula from Turrigiano et al., 1995
// Cultured spiny lobster STG cells, recorded at room temperature (22-25 C)
// Adjustable with vShift, vScale, tauScale
class Kd : public OhmicChannel<4,0>
{
public:
// Define t... | 29.830508 | 76 | 0.608239 | TedBrookings |
d03d4d9b0eac61733880aa3f0b3d4c7062f0312f | 692 | cpp | C++ | Codeforces/1005C - Summarize to the Power of Two.cpp | naimulcsx/online-judge-solutions | 0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f | [
"MIT"
] | null | null | null | Codeforces/1005C - Summarize to the Power of Two.cpp | naimulcsx/online-judge-solutions | 0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f | [
"MIT"
] | null | null | null | Codeforces/1005C - Summarize to the Power of Two.cpp | naimulcsx/online-judge-solutions | 0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
vector<int> val;
int n, arr[120100];
unordered_map<int, int> freq;
int main() {
cin >> n;
for (int i = 1; i <= 30; ++i) val.push_back(pow(2, i));
for (int i = 0; i < n; ++i) cin >> arr[i], freq[arr[i]]++;
int cnt = 0;
for (int i = 0; i < n; ++i) {
... | 20.352941 | 62 | 0.413295 | naimulcsx |
d03fe15639f5eed4b5640e406a4891ea6bcc5cf9 | 1,835 | hpp | C++ | src/main/cpp/RLBotInterface/RLBotMessages/BoostUtilities/BoostUtilities.hpp | whokRL/RLBot | a39ad1aa21298cc78162b694c850ff031fbf6816 | [
"MIT"
] | null | null | null | src/main/cpp/RLBotInterface/RLBotMessages/BoostUtilities/BoostUtilities.hpp | whokRL/RLBot | a39ad1aa21298cc78162b694c850ff031fbf6816 | [
"MIT"
] | null | null | null | src/main/cpp/RLBotInterface/RLBotMessages/BoostUtilities/BoostUtilities.hpp | whokRL/RLBot | a39ad1aa21298cc78162b694c850ff031fbf6816 | [
"MIT"
] | 1 | 2019-01-19T12:54:41.000Z | 2019-01-19T12:54:41.000Z | #ifndef BOOSTUTILITIES_HPP
#define BOOSTUTILITIES_HPP
#include "..\MessageStructs\ByteBuffer.hpp"
#include "..\ErrorCodes\ErrorCodes.hpp"
#include <boost\interprocess\ipc\message_queue.hpp>
#include <boost\interprocess\shared_memory_object.hpp>
#include <boost\interprocess\mapped_region.hpp>
#include <boost\... | 33.363636 | 148 | 0.760218 | whokRL |
d041fe83c7009ef6a47479db78296e97b3170338 | 887 | hpp | C++ | src/network/server.hpp | leezhenghui/Mushroom | 8aed2bdd80453d856145925d067bef5ed9d10ee0 | [
"BSD-3-Clause"
] | 351 | 2016-10-12T14:06:09.000Z | 2022-03-24T14:53:54.000Z | src/network/server.hpp | leezhenghui/Mushroom | 8aed2bdd80453d856145925d067bef5ed9d10ee0 | [
"BSD-3-Clause"
] | 7 | 2017-03-07T01:49:16.000Z | 2018-07-27T08:51:54.000Z | src/network/server.hpp | UncP/Mushroom | 8aed2bdd80453d856145925d067bef5ed9d10ee0 | [
"BSD-3-Clause"
] | 62 | 2016-10-31T12:46:45.000Z | 2021-12-28T11:25:26.000Z | /**
* > Author: UncP
* > Github: www.github.com/UncP/Mushroom
* > License: BSD-3
* > Time: 2017-04-23 10:50:39
**/
#ifndef _SERVER_HPP_
#define _SERVER_HPP_
#include <vector>
#include "../include/utility.hpp"
#include "callback.hpp"
#include "socket.hpp"
namespace Mushroom {
class Cha... | 16.425926 | 51 | 0.662909 | leezhenghui |
d04467c608396feed828918927c8fc6759d68d76 | 2,587 | hpp | C++ | src/libvisr/parameter_config_base.hpp | s3a-spatialaudio/VISR | 55f6289bc5058d4898106f3520e1a60644ffb3ab | [
"ISC"
] | 17 | 2019-03-12T14:52:22.000Z | 2021-11-09T01:16:23.000Z | src/libvisr/parameter_config_base.hpp | s3a-spatialaudio/VISR | 55f6289bc5058d4898106f3520e1a60644ffb3ab | [
"ISC"
] | null | null | null | src/libvisr/parameter_config_base.hpp | s3a-spatialaudio/VISR | 55f6289bc5058d4898106f3520e1a60644ffb3ab | [
"ISC"
] | 2 | 2019-08-11T12:53:07.000Z | 2021-06-22T10:08:08.000Z | /* Copyright Institute of Sound and Vibration Research - All rights reserved */
#ifndef VISR_PARAMETER_CONFIG_BASE_HPP_INCLUDED
#define VISR_PARAMETER_CONFIG_BASE_HPP_INCLUDED
#include "parameter_base.hpp"
#include "export_symbols.hpp"
#include <memory>
namespace visr
{
/**
* Base class for parameter configurati... | 39.19697 | 169 | 0.770004 | s3a-spatialaudio |
d044926c25f487951aed32ee722aae0fe10578c0 | 1,598 | cpp | C++ | source/pkgsrc/graphics/gimmage/patches/patch-src_ImageEventBox.cpp | Scottx86-64/dotfiles-1 | 51004b1e2b032664cce6b553d2052757c286087d | [
"Unlicense"
] | 1 | 2021-11-20T22:46:39.000Z | 2021-11-20T22:46:39.000Z | source/pkgsrc/graphics/gimmage/patches/patch-src_ImageEventBox.cpp | Scottx86-64/dotfiles-1 | 51004b1e2b032664cce6b553d2052757c286087d | [
"Unlicense"
] | null | null | null | source/pkgsrc/graphics/gimmage/patches/patch-src_ImageEventBox.cpp | Scottx86-64/dotfiles-1 | 51004b1e2b032664cce6b553d2052757c286087d | [
"Unlicense"
] | null | null | null | $NetBSD: patch-src_ImageEventBox.cpp,v 1.1 2017/02/09 00:22:35 joerg Exp $
--- src/ImageEventBox.cpp.orig 2017-01-08 18:51:01.889096829 +0000
+++ src/ImageEventBox.cpp
@@ -149,7 +149,7 @@ void ImageEventBox::LoadImage( const Gli
void ImageEventBox::ScaleImage( double scalefactor,
Gdk::InterpType interp_type)... | 38.97561 | 99 | 0.684606 | Scottx86-64 |
d0467369531d2e1f3dd01fea8c395f1a8a034d25 | 6,751 | cpp | C++ | source/ashes/renderer/D3D11Renderer/Miscellaneous/D3D11QueryPool.cpp | DragonJoker/Ashes | a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e | [
"MIT"
] | 227 | 2018-09-17T16:03:35.000Z | 2022-03-19T02:02:45.000Z | source/ashes/renderer/D3D11Renderer/Miscellaneous/D3D11QueryPool.cpp | DragonJoker/RendererLib | 0f8ad8edec1b0929ebd10247d3dd0a9ee8f8c91a | [
"MIT"
] | 39 | 2018-02-06T22:22:24.000Z | 2018-08-29T07:11:06.000Z | source/ashes/renderer/D3D11Renderer/Miscellaneous/D3D11QueryPool.cpp | DragonJoker/Ashes | a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e | [
"MIT"
] | 8 | 2019-05-04T10:33:32.000Z | 2021-04-05T13:19:27.000Z | #include "Miscellaneous/D3D11QueryPool.hpp"
#include "Core/D3D11Device.hpp"
#include "ashesd3d11_api.hpp"
namespace ashes::d3d11
{
namespace
{
D3D11_QUERY convert( VkQueryType type )
{
switch ( type )
{
case VK_QUERY_TYPE_OCCLUSION:
return D3D11_QUERY_OCCLUSION;
case VK_QUERY_TYPE_PIPELINE_STA... | 22.654362 | 125 | 0.642423 | DragonJoker |
d04673c6ad39eb0f6b8d6314dabf44ca8fd740fe | 113 | cpp | C++ | Resources/Example Code/04 Functions/Functions in another file/Maths.cpp | tdfairch2/CS200-Concepts-of-Progamming-Algorithms | 050510da8eea06aff3519097cc5f22831036b7cf | [
"MIT"
] | null | null | null | Resources/Example Code/04 Functions/Functions in another file/Maths.cpp | tdfairch2/CS200-Concepts-of-Progamming-Algorithms | 050510da8eea06aff3519097cc5f22831036b7cf | [
"MIT"
] | null | null | null | Resources/Example Code/04 Functions/Functions in another file/Maths.cpp | tdfairch2/CS200-Concepts-of-Progamming-Algorithms | 050510da8eea06aff3519097cc5f22831036b7cf | [
"MIT"
] | null | null | null |
float Sum( float a, float b )
{
return a + b;
}
float Difference( float a, float b )
{
return a - b;
}
| 10.272727 | 36 | 0.557522 | tdfairch2 |
d04c91744f1a6c6667ac3c3789968adc006c2afb | 516 | cpp | C++ | Codeforces/559A - Gerald's Hexagon.cpp | SamanKhamesian/ACM-ICPC-Problems | c68c04bee4de9ba9f30e665cd108484e0fcae4d7 | [
"Apache-2.0"
] | 2 | 2019-03-19T23:59:48.000Z | 2019-03-21T20:13:12.000Z | Codeforces/559A - Gerald's Hexagon.cpp | SamanKhamesian/ACM-ICPC-Problems | c68c04bee4de9ba9f30e665cd108484e0fcae4d7 | [
"Apache-2.0"
] | null | null | null | Codeforces/559A - Gerald's Hexagon.cpp | SamanKhamesian/ACM-ICPC-Problems | c68c04bee4de9ba9f30e665cd108484e0fcae4d7 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <algorithm>
#include <cmath>
using namespace std;
int main()
{
bool ok = true;
int a[6], sum = 0;
for (int i = 0; i < 6; i++)
{
cin >> a[i];
}
while (ok)
{
ok = false;
for (int i = 0; i < 6; i++)
{
if (a[i] > 1 && a[(i + 2) % 6] > 1)
{
... | 11.727273 | 43 | 0.362403 | SamanKhamesian |
d04fde4bfe918b8eb904aee533cd4970efd83576 | 637 | cpp | C++ | frontend/ast_test.cpp | DennisZZH/CS263_Project_Garbage_Collector | 07e81c0eb532792cb3d1fd504b501bca67b5365d | [
"MIT"
] | null | null | null | frontend/ast_test.cpp | DennisZZH/CS263_Project_Garbage_Collector | 07e81c0eb532792cb3d1fd504b501bca67b5365d | [
"MIT"
] | null | null | null | frontend/ast_test.cpp | DennisZZH/CS263_Project_Garbage_Collector | 07e81c0eb532792cb3d1fd504b501bca67b5365d | [
"MIT"
] | null | null | null | #define CATCH_CONFIG_MAIN
#include "catch2/catch.hpp"
#include "frontend/parser.h"
using namespace cs160::frontend;
TEST_CASE("Builder methods", "[ast]") {
SECTION("makeVar") {
auto tok = std::make_unique<const Variable>("x");
REQUIRE(tok->name() == "x");
}
SECTION("makeInt") {
auto tok = std::mak... | 23.592593 | 56 | 0.629513 | DennisZZH |
d0539e7bca2dd480d666f8f4e02fbec4a66ea861 | 27,036 | hpp | C++ | include/ResourceState.hpp | procedural/d3d12_translation_layer | fc07d09db68e304b1210a7c4d7793c944dd8151f | [
"MIT"
] | 1 | 2020-04-08T03:12:17.000Z | 2020-04-08T03:12:17.000Z | include/ResourceState.hpp | procedural/d3d12_translation_layer | fc07d09db68e304b1210a7c4d7793c944dd8151f | [
"MIT"
] | null | null | null | include/ResourceState.hpp | procedural/d3d12_translation_layer | fc07d09db68e304b1210a7c4d7793c944dd8151f | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
namespace D3D12TranslationLayer
{
class CommandListManager;
// These are defined in the private d3d12 header
#define UNKNOWN_RESOURCE_STATE (D3D12_RESOURCE_STATES)0x8000u
#define RESOURCE_STATE_VALID_BITS 0x2f3fff
#... | 57.892934 | 160 | 0.593579 | procedural |
d05485f7df5f87e26ce8365e46fbfa8ed8418a55 | 1,758 | hpp | C++ | progression/resource/shader.hpp | LiamTyler/OpenGL_Starter | 7110e94cb583e5fbfefb70ede40d305674261c5a | [
"MIT"
] | null | null | null | progression/resource/shader.hpp | LiamTyler/OpenGL_Starter | 7110e94cb583e5fbfefb70ede40d305674261c5a | [
"MIT"
] | null | null | null | progression/resource/shader.hpp | LiamTyler/OpenGL_Starter | 7110e94cb583e5fbfefb70ede40d305674261c5a | [
"MIT"
] | null | null | null | #pragma once
#include "core/math.hpp"
#include "core/platform_defines.hpp"
#include "graphics/graphics_api.hpp"
#include "resource/resource.hpp"
#include <vulkan/vulkan.h>
#include <unordered_map>
namespace Progression
{
namespace Gfx
{
enum class ShaderStage
{
VERTEX = 0x00000001,
... | 24.760563 | 87 | 0.684869 | LiamTyler |
d05bac40c19604712852e8646c9c812c72dff4b1 | 724 | hpp | C++ | libuavcan/include/uavcan/util/placement_new.hpp | tridge/uavcan_old | 6dd432c9742c22e1dd1638c7f91cf937e4bdb2f1 | [
"MIT"
] | null | null | null | libuavcan/include/uavcan/util/placement_new.hpp | tridge/uavcan_old | 6dd432c9742c22e1dd1638c7f91cf937e4bdb2f1 | [
"MIT"
] | null | null | null | libuavcan/include/uavcan/util/placement_new.hpp | tridge/uavcan_old | 6dd432c9742c22e1dd1638c7f91cf937e4bdb2f1 | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2014 Pavel Kirienko <pavel.kirienko@gmail.com>
*/
#pragma once
#include <cstddef>
#include <uavcan/build_config.hpp>
/*
* Some embedded C++ implementations don't implement the placement new operator.
* Define UAVCAN_IMPLEMENT_PLACEMENT_NEW to apply this workaround.
*/
#ifndef UAVCAN_IMPLEMEN... | 20.111111 | 80 | 0.723757 | tridge |
d05c0e47dfcfbf4580a6c245ee181ec570c96dd5 | 811 | cpp | C++ | test/MeLikeyCode-QtGameEngine-2a3d47c/qge/RangedWeapon.cpp | JamesMBallard/qmake-unity | cf5006a83e7fb1bbd173a9506771693a673d387f | [
"MIT"
] | 16 | 2019-05-23T08:10:39.000Z | 2021-12-21T11:20:37.000Z | test/MeLikeyCode-QtGameEngine-2a3d47c/qge/RangedWeapon.cpp | JamesMBallard/qmake-unity | cf5006a83e7fb1bbd173a9506771693a673d387f | [
"MIT"
] | null | null | null | test/MeLikeyCode-QtGameEngine-2a3d47c/qge/RangedWeapon.cpp | JamesMBallard/qmake-unity | cf5006a83e7fb1bbd173a9506771693a673d387f | [
"MIT"
] | 2 | 2019-05-23T18:37:43.000Z | 2021-08-24T21:29:40.000Z | #include "RangedWeapon.h"
#include "Sprite.h"
#include "EntitySprite.h"
using namespace qge;
/// Returns the point at which projectiles will be spawn.
/// This point is in local coordinates (relative to the RangedWeapon itself).
QPointF RangedWeapon::projectileSpawnPoint()
{
return this->projectileSpawnPoint_;
}... | 26.16129 | 92 | 0.747226 | JamesMBallard |
d05ca859750fea2d1ea71087dfe4f78008fc544e | 7,973 | cpp | C++ | modfile/records/SrScrlRecord.cpp | uesp/tes5lib | 07b052983f2e26b9ba798f234ada00f83c90e9a4 | [
"MIT"
] | 11 | 2015-07-19T08:33:00.000Z | 2021-07-28T17:40:26.000Z | modfile/records/SrScrlRecord.cpp | uesp/tes5lib | 07b052983f2e26b9ba798f234ada00f83c90e9a4 | [
"MIT"
] | null | null | null | modfile/records/SrScrlRecord.cpp | uesp/tes5lib | 07b052983f2e26b9ba798f234ada00f83c90e9a4 | [
"MIT"
] | 1 | 2015-02-28T22:52:18.000Z | 2015-02-28T22:52:18.000Z | /*===========================================================================
*
* File: SrScrlRecord.CPP
* Author: Dave Humphrey (dave@uesp.net)
* Created On: 5 December 2011
*
* Description
*
*=========================================================================*/
/* Include Files */
#includ... | 40.065327 | 113 | 0.529286 | uesp |
d05e3e0d3573e3c438f91f523f2f6aea7cd28bd5 | 231 | hpp | C++ | chaine/src/mesh/mesh/create_triangle.hpp | the-last-willy/id3d | dc0d22e7247ac39fbc1fd8433acae378b7610109 | [
"MIT"
] | null | null | null | chaine/src/mesh/mesh/create_triangle.hpp | the-last-willy/id3d | dc0d22e7247ac39fbc1fd8433acae378b7610109 | [
"MIT"
] | null | null | null | chaine/src/mesh/mesh/create_triangle.hpp | the-last-willy/id3d | dc0d22e7247ac39fbc1fd8433acae378b7610109 | [
"MIT"
] | null | null | null | #pragma once
#include "mesh.hpp"
#include "topology.hpp"
#include "mesh/triangle/proxy.hpp"
namespace face_vertex {
inline
TriangleProxy create_triangle(Mesh& m) {
return proxy(m, index(create_triangle(topology(m))));
}
}
| 14.4375 | 57 | 0.731602 | the-last-willy |
d05fd6b7b0023145cccda237ec0572e8b738aa7b | 1,550 | hpp | C++ | ufora/FORA/TypedFora/ABI/ArbitraryNativeConstantForCSTValue.hpp | ufora/ufora | 04db96ab049b8499d6d6526445f4f9857f1b6c7e | [
"Apache-2.0",
"CC0-1.0",
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | 571 | 2015-11-05T20:07:07.000Z | 2022-01-24T22:31:09.000Z | ufora/FORA/TypedFora/ABI/ArbitraryNativeConstantForCSTValue.hpp | timgates42/ufora | 04db96ab049b8499d6d6526445f4f9857f1b6c7e | [
"Apache-2.0",
"CC0-1.0",
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | 218 | 2015-11-05T20:37:55.000Z | 2021-05-30T03:53:50.000Z | ufora/FORA/TypedFora/ABI/ArbitraryNativeConstantForCSTValue.hpp | timgates42/ufora | 04db96ab049b8499d6d6526445f4f9857f1b6c7e | [
"Apache-2.0",
"CC0-1.0",
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | 40 | 2015-11-07T21:42:19.000Z | 2021-05-23T03:48:19.000Z | /***************************************************************************
Copyright 2015 Ufora Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licen... | 26.271186 | 77 | 0.696129 | ufora |
d05ff47f5ed157f07009b8184251062ba1117a46 | 681 | cpp | C++ | optimal-division.cpp | cfriedt/leetcode | ad15031b407b895f12704897eb81042d7d56d07d | [
"MIT"
] | 1 | 2021-01-20T16:04:54.000Z | 2021-01-20T16:04:54.000Z | optimal-division.cpp | cfriedt/leetcode | ad15031b407b895f12704897eb81042d7d56d07d | [
"MIT"
] | 293 | 2018-11-29T14:54:29.000Z | 2021-01-29T16:07:26.000Z | optimal-division.cpp | cfriedt/leetcode | ad15031b407b895f12704897eb81042d7d56d07d | [
"MIT"
] | 1 | 2020-11-10T10:49:12.000Z | 2020-11-10T10:49:12.000Z | /*
* Copyright (c) 2018 Christopher Friedt
*
* SPDX-License-Identifier: MIT
*/
#include <string>
#include <vector>
using namespace std;
class Solution {
public:
// https://leetcode.com/problems/optimal-division
string optimalDivision(vector<int> &nums) {
size_t N = nums.size();
if (N > 2) {
s... | 19.457143 | 63 | 0.530103 | cfriedt |
d0611935cfb85c847eb933c2b5fd27f1284aa6d8 | 1,100 | hpp | C++ | Oem/dbxml/dbxml/src/dbxml/UpdateContext.hpp | achilex/MgDev | f7baf680a88d37659af32ee72b9a2046910b00d8 | [
"PHP-3.0"
] | 2 | 2017-04-19T01:38:30.000Z | 2020-07-31T03:05:32.000Z | Oem/dbxml/dbxml/src/dbxml/UpdateContext.hpp | achilex/MgDev | f7baf680a88d37659af32ee72b9a2046910b00d8 | [
"PHP-3.0"
] | null | null | null | Oem/dbxml/dbxml/src/dbxml/UpdateContext.hpp | achilex/MgDev | f7baf680a88d37659af32ee72b9a2046910b00d8 | [
"PHP-3.0"
] | 1 | 2021-12-29T10:46:12.000Z | 2021-12-29T10:46:12.000Z | //
// See the file LICENSE for redistribution information.
//
// Copyright (c) 2002,2009 Oracle. All rights reserved.
//
//
#ifndef __UPDATECONTEXT_HPP
#define __UPDATECONTEXT_HPP
#include "ReferenceCounted.hpp"
#include "Container.hpp"
#include "Indexer.hpp"
#include "IndexSpecification.hpp"
#include "OperationCont... | 20.754717 | 75 | 0.764545 | achilex |
d0620f145594274dab3e17380e893ce23bf4a984 | 2,440 | cpp | C++ | src/ui/contacts/VKUContactsPanel.cpp | igorglotov/tizen-vk-client | de213ede7185818285f78abad36592bc864f76cc | [
"Unlicense"
] | null | null | null | src/ui/contacts/VKUContactsPanel.cpp | igorglotov/tizen-vk-client | de213ede7185818285f78abad36592bc864f76cc | [
"Unlicense"
] | null | null | null | src/ui/contacts/VKUContactsPanel.cpp | igorglotov/tizen-vk-client | de213ede7185818285f78abad36592bc864f76cc | [
"Unlicense"
] | null | null | null | #include "AppResourceId.h"
#include "VKUContactsPanel.h"
#include "VKUApi.h"
#include "UsersPanel.h"
#include "SceneRegister.h"
#include "ObjectCounter.h"
using namespace Tizen::Base;
using namespace Tizen::Ui;
using namespace Tizen::Ui::Controls;
using namespace Tizen::Ui::Scenes;
using namespace Tizen::Base::Collect... | 27.727273 | 141 | 0.766803 | igorglotov |
d0622848b7eb8afef2a3a200338bcddad81d9cca | 19,655 | cpp | C++ | pwiz/analysis/spectrum_processing/SpectrumList_FilterTest.cpp | shze/pwizard-deb | 4822829196e915525029a808470f02d24b8b8043 | [
"Apache-2.0"
] | 2 | 2019-12-28T21:24:36.000Z | 2020-04-18T03:52:05.000Z | pwiz/analysis/spectrum_processing/SpectrumList_FilterTest.cpp | shze/pwizard-deb | 4822829196e915525029a808470f02d24b8b8043 | [
"Apache-2.0"
] | null | null | null | pwiz/analysis/spectrum_processing/SpectrumList_FilterTest.cpp | shze/pwizard-deb | 4822829196e915525029a808470f02d24b8b8043 | [
"Apache-2.0"
] | null | null | null | //
// $Id: SpectrumList_FilterTest.cpp 10462 2017-02-10 17:52:32Z chambm $
//
//
// Original author: Darren Kessner <darren@proteowizard.org>
//
// Copyright 2008 Spielberg Family Center for Applied Proteomics
// Cedars-Sinai Medical Center, Los Angeles, California 90048
//
// Licensed under the Apache License, Vers... | 29.379671 | 154 | 0.654846 | shze |
d06472c7490413f30aa3bc094faa073afb2a4f1d | 14,820 | cpp | C++ | src/mruntime/GlobalEventReceiver.cpp | 0of/WebOS-Magna | a0fe2c9708fd4dd07928c11fcb03fb29fdd2d511 | [
"Apache-2.0"
] | 1 | 2016-03-26T13:25:08.000Z | 2016-03-26T13:25:08.000Z | src/mruntime/GlobalEventReceiver.cpp | 0of/WebOS-Magna | a0fe2c9708fd4dd07928c11fcb03fb29fdd2d511 | [
"Apache-2.0"
] | null | null | null | src/mruntime/GlobalEventReceiver.cpp | 0of/WebOS-Magna | a0fe2c9708fd4dd07928c11fcb03fb29fdd2d511 | [
"Apache-2.0"
] | null | null | null | #include "GlobalEventReceiver.h"
#include "OSRenderBehaviourNotifier.h"
#include "OSAttachControllersBehaviourNotifier.h"
#include "OSDetachControllersBehaviourNotifier.h"
#include "OSScriptRunBehaviourNotifier.h"
#include "OSWindowCloseBehaviourNotifier.h"
#include "OSStartWindowBehaviourNotifier.h"
#include ... | 38.493506 | 167 | 0.631242 | 0of |
d0671748b70bb83cf7a659a55423e7f4ff7865ef | 1,399 | cpp | C++ | src/Matrix4.cpp | ianmurfinxyz/software_renderer | 1feef4754509d99013dc4bbe51006d858bc27561 | [
"Unlicense"
] | null | null | null | src/Matrix4.cpp | ianmurfinxyz/software_renderer | 1feef4754509d99013dc4bbe51006d858bc27561 | [
"Unlicense"
] | null | null | null | src/Matrix4.cpp | ianmurfinxyz/software_renderer | 1feef4754509d99013dc4bbe51006d858bc27561 | [
"Unlicense"
] | null | null | null | #include "Matrix4.h"
using namespace gr;
Matrix4::Matrix4(){
this->e[0][0] = 0.f;
this->e[0][1] = 0.f;
this->e[0][2] = 0.f;
this->e[0][3] = 0.f;
this->e[1][0] = 0.f;
this->e[1][1] = 0.f;
this->e[1][2] = 0.f;
this->e[1][3] = 0.f;
this->e[2][0] = 0.f;
this->e[2][1] = 0.f;
t... | 22.564516 | 61 | 0.425304 | ianmurfinxyz |
d0681640cd60261669e246ddaef044d5576a7fd4 | 189 | cpp | C++ | CodeForces/Complete/200-299/246A-BuggySorting.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 36 | 2019-12-27T08:23:08.000Z | 2022-01-24T20:35:47.000Z | CodeForces/Complete/200-299/246A-BuggySorting.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 10 | 2019-11-13T02:55:18.000Z | 2021-10-13T23:28:09.000Z | CodeForces/Complete/200-299/246A-BuggySorting.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 53 | 2020-08-15T11:08:40.000Z | 2021-10-09T15:51:38.000Z | #include <cstdio>
int main(){
int n; scanf("%d", &n);
if(n <= 2){printf("-1\n");}
else{printf("3 2 ");for(int k = 0;k < n-2; k++){printf("1 ");};printf("\n");}
return 0;
}
| 21 | 81 | 0.465608 | Ashwanigupta9125 |
d0695eaf6fa81759dadae3c3475dd9bcf0ed247b | 35,813 | cpp | C++ | Underlight/Interface.cpp | christyganger/ULClient | bc008ab3042ff9b74d47cdda47ce2318311a51db | [
"BSD-3-Clause"
] | 5 | 2018-08-17T17:17:01.000Z | 2020-11-14T05:41:31.000Z | Underlight/Interface.cpp | christyganger/ULClient | bc008ab3042ff9b74d47cdda47ce2318311a51db | [
"BSD-3-Clause"
] | 16 | 2018-08-16T15:37:04.000Z | 2019-12-24T19:09:19.000Z | Underlight/Interface.cpp | christyganger/ULClient | bc008ab3042ff9b74d47cdda47ce2318311a51db | [
"BSD-3-Clause"
] | 5 | 2018-08-16T15:34:41.000Z | 2019-03-04T04:06:11.000Z | // Interface: utility functions for making the interface pretty
// Copyright Lyra LLC, 1997. All rights reserved.
#define STRICT
#define OEMRESOURCE // to get defines for windows cursor id's
#include "Central.h"
#include <windows.h>
#include <windowsx.h>
#include "Utils.h"
#include "Resource.h"
#include "cGameServer... | 27.172231 | 147 | 0.699578 | christyganger |
d06af26600b503a2b881f5ff5f8e9a08460cf32d | 1,452 | cpp | C++ | examples/multistep/main.cpp | Pan-Maciek/iga-ads | 4744829c98cba4e9505c5c996070119e73ba18fa | [
"MIT"
] | 7 | 2018-01-19T00:19:19.000Z | 2021-06-22T00:53:00.000Z | examples/multistep/main.cpp | Pan-Maciek/iga-ads | 4744829c98cba4e9505c5c996070119e73ba18fa | [
"MIT"
] | 66 | 2021-06-22T22:44:21.000Z | 2022-03-16T15:18:00.000Z | examples/multistep/main.cpp | Pan-Maciek/iga-ads | 4744829c98cba4e9505c5c996070119e73ba18fa | [
"MIT"
] | 6 | 2017-04-13T19:42:27.000Z | 2022-03-26T18:46:24.000Z | // SPDX-FileCopyrightText: 2015 - 2021 Marcin Łoś <marcin.los.91@gmail.com>
// SPDX-License-Identifier: MIT
#include <cstdlib>
#include <exception>
#include <iostream>
#include "multistep2d.hpp"
#include "multistep3d.hpp"
#include "scheme.hpp"
int main(int argc, char* argv[]) {
if (argc < 8) {
std::cerr ... | 30.25 | 99 | 0.53168 | Pan-Maciek |
d06b3400af1c40f7f62a8edba47d77dba695b222 | 7,281 | cpp | C++ | Source/DreamPlace/DreamPlaceCharacter.cpp | YuanweiZHANG/DreamPlace | b005c22e2353e674a0596c078083b82efe9ae733 | [
"MIT"
] | null | null | null | Source/DreamPlace/DreamPlaceCharacter.cpp | YuanweiZHANG/DreamPlace | b005c22e2353e674a0596c078083b82efe9ae733 | [
"MIT"
] | null | null | null | Source/DreamPlace/DreamPlaceCharacter.cpp | YuanweiZHANG/DreamPlace | b005c22e2353e674a0596c078083b82efe9ae733 | [
"MIT"
] | null | null | null | // Copyright Epic Games, Inc. All Rights Reserved.
#include "DreamPlaceCharacter.h"
#include "HeadMountedDisplayFunctionLibrary.h"
#include "Camera/CameraComponent.h"
#include "Components/CapsuleComponent.h"
#include "Components/InputComponent.h"
#include "GameFramework/CharacterMovementComponent.h"
#include "GameFram... | 35.691176 | 180 | 0.757039 | YuanweiZHANG |
d06ffe07c97d5c57e68e29c9e2f3be27a088053e | 2,327 | cpp | C++ | android/android_9/hardware/intel/img/hwcomposer/moorefield_hdmi/common/buffers/BufferCache.cpp | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | 1 | 2017-09-22T01:41:30.000Z | 2017-09-22T01:41:30.000Z | intel/img/hwcomposer/moorefield_hdmi/common/buffers/BufferCache.cpp | Keneral/ahardware | 9a8a025f7c9471444c9e271bbe7f48182741d710 | [
"Unlicense"
] | null | null | null | intel/img/hwcomposer/moorefield_hdmi/common/buffers/BufferCache.cpp | Keneral/ahardware | 9a8a025f7c9471444c9e271bbe7f48182741d710 | [
"Unlicense"
] | 1 | 2018-02-24T19:09:04.000Z | 2018-02-24T19:09:04.000Z | /*
// Copyright (c) 2014 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law o... | 23.744898 | 76 | 0.662656 | yakuizhao |
d072835d11b23cf20363c92f5d5a2a057f3a7b3c | 4,631 | cpp | C++ | LeapMotion/src/leap/LeapListener.cpp | kondrak/oculusvr_samples | 553c2f6f6c1dcf5071aa3c423436d92449eb2038 | [
"MIT"
] | 64 | 2015-06-16T18:39:34.000Z | 2022-03-22T14:13:23.000Z | LeapMotion/src/leap/LeapListener.cpp | kondrak/oculusvr_samples | 553c2f6f6c1dcf5071aa3c423436d92449eb2038 | [
"MIT"
] | null | null | null | LeapMotion/src/leap/LeapListener.cpp | kondrak/oculusvr_samples | 553c2f6f6c1dcf5071aa3c423436d92449eb2038 | [
"MIT"
] | 13 | 2015-07-01T09:20:37.000Z | 2020-11-06T17:12:36.000Z | #include "leap/LeapListener.hpp"
#include "leap/LeapLogger.hpp"
#ifdef _DEBUG
#define LEAP_DEBUG_ENABLED
#endif
void LeapListener::onInit(const Leap::Controller& controller)
{
LOG_MESSAGE("[LeapMotion] Initialized");
}
void LeapListener::onConnect(const Leap::Controller& controller)
{
LOG_MESSAGE("[LeapMot... | 26.3125 | 141 | 0.635932 | kondrak |
d072ddb0cb8f3cc8a41af4c90db3edac8f827734 | 549 | cpp | C++ | test/src/gl/GLDemo.cpp | tjakway/pyramid-scheme-simulator | 4de02ac120b39185342f433999c2d360a7ccbf7e | [
"MIT"
] | null | null | null | test/src/gl/GLDemo.cpp | tjakway/pyramid-scheme-simulator | 4de02ac120b39185342f433999c2d360a7ccbf7e | [
"MIT"
] | null | null | null | test/src/gl/GLDemo.cpp | tjakway/pyramid-scheme-simulator | 4de02ac120b39185342f433999c2d360a7ccbf7e | [
"MIT"
] | null | null | null | #include "gl/GLBackend.hpp"
#include "PopulationGraph.hpp"
#include "TestConfig.hpp"
#include "BasicGraphSetup.hpp"
namespace pyramid_scheme_simulator {
TEST_F(BasicGraphSetup, gldemo)
{
gl::GLBackend backend(
Config::Defaults::defaultGraphLayoutOptions,
Config::Defaults::defaultWindowOpt... | 22.875 | 69 | 0.672131 | tjakway |
d0736005758779572892e66bf354b1819ccd9fcb | 3,319 | cpp | C++ | Algo_Ds_Notes-master/Algo_Ds_Notes-master/Machine_Learning/K_Nearest_Neighbours/K_Nearest_Neighbors.cpp | rajatenzyme/Coding-Journey- | 65a0570153b7e3393d78352e78fb2111223049f3 | [
"MIT"
] | null | null | null | Algo_Ds_Notes-master/Algo_Ds_Notes-master/Machine_Learning/K_Nearest_Neighbours/K_Nearest_Neighbors.cpp | rajatenzyme/Coding-Journey- | 65a0570153b7e3393d78352e78fb2111223049f3 | [
"MIT"
] | null | null | null | Algo_Ds_Notes-master/Algo_Ds_Notes-master/Machine_Learning/K_Nearest_Neighbours/K_Nearest_Neighbors.cpp | rajatenzyme/Coding-Journey- | 65a0570153b7e3393d78352e78fb2111223049f3 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
struct point {
float w, x, y, z; // w, x, y and z are the values of the dataset
float distance; // distance will store the distance of dataset point from the unknown test point
int op; // op will store the class of the point
};
int main() {
int i, j, n, k;... | 29.633929 | 190 | 0.456764 | rajatenzyme |
d07561bdbc2874279e756285f36484c58f2a3b15 | 5,198 | cpp | C++ | dev/Code/CryEngine/CrySystem/MissingFileReport.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | null | null | null | dev/Code/CryEngine/CrySystem/MissingFileReport.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | null | null | null | dev/Code/CryEngine/CrySystem/MissingFileReport.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | null | null | null | /*
* 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... | 39.378788 | 156 | 0.649288 | jeikabu |
d0757df2d5eb7c106e301451dafe2f006825c5e5 | 16,881 | cpp | C++ | src/core/FlamePart/SlidePartition.cpp | jeffhammond/Elemental | a9e6236ce9d92dd56c7d3cd5ffd52f796a35cd0c | [
"Apache-2.0"
] | null | null | null | src/core/FlamePart/SlidePartition.cpp | jeffhammond/Elemental | a9e6236ce9d92dd56c7d3cd5ffd52f796a35cd0c | [
"Apache-2.0"
] | null | null | null | src/core/FlamePart/SlidePartition.cpp | jeffhammond/Elemental | a9e6236ce9d92dd56c7d3cd5ffd52f796a35cd0c | [
"Apache-2.0"
] | null | null | null | /*
Copyright (c) 2009-2016, Jack Poulson
All rights reserved.
This file is part of Elemental and is under the BSD 2-Clause License,
which can be found in the LICENSE file in the root directory, or at
http://opensource.org/licenses/BSD-2-Clause
*/
#include <El-lite.hpp>
namespace El {
// Slide a part... | 32.154286 | 100 | 0.622949 | jeffhammond |
d07a4198198787828a7b5b9c0a702f82fb336dbf | 8,746 | cpp | C++ | src/Network/msgitem.cpp | COPS-Projects/COPS-v7-Emulator | ccf377023b0399dc55675577c713ca7440000a80 | [
"BSD-2-Clause"
] | 2 | 2019-02-09T20:55:32.000Z | 2021-08-12T12:15:03.000Z | src/Network/msgitem.cpp | COPS-Projects/COPS-v7-Emulator | ccf377023b0399dc55675577c713ca7440000a80 | [
"BSD-2-Clause"
] | null | null | null | src/Network/msgitem.cpp | COPS-Projects/COPS-v7-Emulator | ccf377023b0399dc55675577c713ca7440000a80 | [
"BSD-2-Clause"
] | 5 | 2016-06-27T04:17:38.000Z | 2021-08-12T12:15:04.000Z | /**
* ****** COPS v7 Emulator - Open Source ******
* Copyright (C) 2012 - 2014 Jean-Philippe Boivin
*
* Please read the WARNING, DISCLAIMER and PATENTS
* sections in the LICENSE file.
*/
#include "msgitem.h"
#include "client.h"
#include "entity.h"
#include "player.h"
#include "npc.h"
#include "item.h"
#include "... | 30.58042 | 101 | 0.424194 | COPS-Projects |
4eda6495f881722d448fbca2b594ae7fcc2292f0 | 361 | cpp | C++ | imgui-binding/src/main/native/jni_binding_struct.cpp | zgoethel/imgui-java | 4824bd523c98b987d3cb347550d0548bb7880180 | [
"Apache-2.0"
] | 245 | 2019-12-29T21:02:12.000Z | 2022-03-30T09:31:22.000Z | imgui-binding/src/main/native/jni_binding_struct.cpp | abvadabra/imgui-java | 6bb046c43303f871318963df83e393063137c824 | [
"Apache-2.0"
] | 103 | 2020-01-26T06:29:54.000Z | 2022-03-30T17:08:31.000Z | imgui-binding/src/main/native/jni_binding_struct.cpp | abvadabra/imgui-java | 6bb046c43303f871318963df83e393063137c824 | [
"Apache-2.0"
] | 55 | 2020-01-03T09:58:01.000Z | 2022-03-24T13:06:04.000Z | #include "jni_binding_struct.h"
jfieldID imGuiStructPtrID;
namespace Jni
{
void InitBindingStruct(JNIEnv* env) {
jclass jImGuiStructClass = env->FindClass("imgui/binding/ImGuiStruct");
imGuiStructPtrID = env->GetFieldID(jImGuiStructClass, "ptr", "J");
}
jfieldID GetBindingStructPtrID() {
... | 22.5625 | 79 | 0.695291 | zgoethel |
4edc6303ac53d563e269047ebedbb45641bebf87 | 4,704 | cpp | C++ | Examples/Basics/Particles/Combined/ParticlesCombined.cpp | SuperflyJon/VulkanPlayground | 891b88227b66fc1e933ff77c1603e5d685d89047 | [
"MIT"
] | 2 | 2021-01-25T16:59:56.000Z | 2021-02-14T21:11:05.000Z | Examples/Basics/Particles/Combined/ParticlesCombined.cpp | SuperflyJon/VulkanPlayground | 891b88227b66fc1e933ff77c1603e5d685d89047 | [
"MIT"
] | null | null | null | Examples/Basics/Particles/Combined/ParticlesCombined.cpp | SuperflyJon/VulkanPlayground | 891b88227b66fc1e933ff77c1603e5d685d89047 | [
"MIT"
] | 1 | 2021-04-23T10:20:53.000Z | 2021-04-23T10:20:53.000Z | #include <VulkanPlayground\Includes.h>
#include <random>
#include "..\ParticleSystem.h"
class ParticlesCombinedApp : public VulkanApplication3DLight
{
struct VertInfo
{
glm::vec3 lightPos;
float pad1;
glm::vec3 viewPos;
};
public:
ParticlesCombinedApp()
{
TidyObjectOnExit(particles);
}
void ResetScen... | 35.636364 | 152 | 0.764456 | SuperflyJon |
4edc78cd9acce413332ebc186c7039492aaece2a | 1,038 | cc | C++ | src/congestion/util.cc | codefan-byte/supersim | 38bd445dcd21fdb78fd28819e0d4dfaa6d1fd651 | [
"Apache-2.0"
] | 17 | 2017-05-09T07:08:41.000Z | 2021-08-03T01:22:09.000Z | src/congestion/util.cc | codefan-byte/supersim | 38bd445dcd21fdb78fd28819e0d4dfaa6d1fd651 | [
"Apache-2.0"
] | 32 | 2020-02-26T00:02:29.000Z | 2022-01-20T23:23:55.000Z | src/congestion/util.cc | codefan-byte/supersim | 38bd445dcd21fdb78fd28819e0d4dfaa6d1fd651 | [
"Apache-2.0"
] | 13 | 2016-12-02T22:01:04.000Z | 2020-03-23T16:44:04.000Z | /*
* Licensed under the Apache License, Version 2.0 (the 'License');
* you may not use this file except in compliance with the License.
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership. You may obtain a copy of the License at
*
* http://www.apache.org/li... | 34.6 | 76 | 0.753372 | codefan-byte |
4ede16040c950c977ea300c47c8b20d60029d32f | 486 | cpp | C++ | sycl/test/esimd/nbarriers.cpp | MikeDvorskiy/llvm | 8213321ebb90110bf4f3d04fa0dc8e131a464a19 | [
"Apache-2.0"
] | null | null | null | sycl/test/esimd/nbarriers.cpp | MikeDvorskiy/llvm | 8213321ebb90110bf4f3d04fa0dc8e131a464a19 | [
"Apache-2.0"
] | null | null | null | sycl/test/esimd/nbarriers.cpp | MikeDvorskiy/llvm | 8213321ebb90110bf4f3d04fa0dc8e131a464a19 | [
"Apache-2.0"
] | null | null | null | // RUN: %clangxx -fsycl -c -fsycl-device-only -Xclang -emit-llvm %s -o %t
#include <CL/sycl.hpp>
#include <sycl/ext/intel/experimental/esimd.hpp>
using namespace sycl::ext::intel::experimental::esimd;
template <typename name, typename Func>
__attribute__((sycl_kernel)) void kernel(Func kernelFunc) {
kernelFunc();
... | 24.3 | 73 | 0.693416 | MikeDvorskiy |
4ede4bf6a196bc6187236dd980b7e27d12b5a8a3 | 329 | hpp | C++ | src/Game.hpp | rainstormstudio/Rainstorm-Engine | f27ead834d93343aff22d8fc304cc8e91b19ac6e | [
"MIT"
] | 1 | 2020-05-03T16:26:32.000Z | 2020-05-03T16:26:32.000Z | src/Game.hpp | rainstormstudio/Rainstorm-Engine | f27ead834d93343aff22d8fc304cc8e91b19ac6e | [
"MIT"
] | null | null | null | src/Game.hpp | rainstormstudio/Rainstorm-Engine | f27ead834d93343aff22d8fc304cc8e91b19ac6e | [
"MIT"
] | null | null | null | #pragma once
#include "Timer.hpp"
#include "WindowManager.hpp"
class Game {
private:
bool mIsRunning;
Timer *timer;
WindowManager mainWindow;
public:
Game();
bool isRunning();
void initialize(int initWidth, int initHeight);
void processEvent();
void update();
void render();
void destroy();
~Ga... | 14.304348 | 49 | 0.680851 | rainstormstudio |
4edfcef15cf2a3eecb9233fa094776dde2dd24b1 | 786 | cpp | C++ | practical16.cpp | ChaitanyaJoshiX/1-PU-Programs | 44934140b63660f66d15da6d76b06530a4a714b9 | [
"MIT"
] | null | null | null | practical16.cpp | ChaitanyaJoshiX/1-PU-Programs | 44934140b63660f66d15da6d76b06530a4a714b9 | [
"MIT"
] | null | null | null | practical16.cpp | ChaitanyaJoshiX/1-PU-Programs | 44934140b63660f66d15da6d76b06530a4a714b9 | [
"MIT"
] | null | null | null | /*
WAP to generate the Fibonacci sequence up to a limit using for
statement.
@ChaitanyaJoshiX
*/
#include <iostream>
using namespace std;
main()
{
int i, limit;
cout << "Enter limit for sequence : ";
cin >> limit;
int numlist[limit];
numlist[0] = 0;
numlist[1] = 1;
c... | 18.27907 | 63 | 0.398219 | ChaitanyaJoshiX |
4ee2e694d6fd1e5aacae17acd46f3528def3fd0e | 587 | hpp | C++ | src/net/Serialize.hpp | kochol/ari2 | ca185191531acc1954cd4acfec2137e32fdb5c2d | [
"MIT"
] | 81 | 2018-12-11T20:48:41.000Z | 2022-03-18T22:24:11.000Z | src/net/Serialize.hpp | kochol/ari2 | ca185191531acc1954cd4acfec2137e32fdb5c2d | [
"MIT"
] | 7 | 2020-04-19T11:50:39.000Z | 2021-11-12T16:08:53.000Z | src/net/Serialize.hpp | kochol/ari2 | ca185191531acc1954cd4acfec2137e32fdb5c2d | [
"MIT"
] | 4 | 2019-04-24T11:51:29.000Z | 2021-03-10T05:26:33.000Z | #pragma once
#include <Meta.h>
namespace ari::net
{
template<typename Class,
typename Stream,
typename = std::enable_if_t <meta::isRegistered<Class>()>>
bool Serialize(Stream & stream, Class & obj, const int& member_index = -1);
template <typename Class,
typename Stream,
typename = std::enable_if_t <!meta:... | 25.521739 | 76 | 0.715503 | kochol |
4ee3a6be0ead88efed4827d7f6c00783b1e9a1f0 | 3,171 | hpp | C++ | Core/History/HistoryTreeView.hpp | Feldrise/SieloNavigateurBeta | faa5fc785271b49d26237a5e9985d6fa22565076 | [
"MIT"
] | 89 | 2018-04-26T14:28:13.000Z | 2019-07-03T03:58:17.000Z | Core/History/HistoryTreeView.hpp | inviu/webBrowser | 37b24eded2e168e43b3f9c9ccc0487ee59410332 | [
"MIT"
] | 51 | 2018-04-26T12:43:00.000Z | 2019-04-24T20:39:59.000Z | Core/History/HistoryTreeView.hpp | inviu/webBrowser | 37b24eded2e168e43b3f9c9ccc0487ee59410332 | [
"MIT"
] | 34 | 2018-05-11T07:09:36.000Z | 2019-04-19T08:12:40.000Z | /***********************************************************************************
** MIT License **
** **
** Copyright (c) 2018 Victor DENIS (victordenis01@gmail.com) ... | 40.139241 | 102 | 0.580259 | Feldrise |
4ee3c47758de2eaafa89072d1db180806ada90d2 | 13,552 | cc | C++ | test/gtest/ucs/test_conn_match.cc | ironMann/ucx | 4bb5c6892c7958a64378c5137e279e8250261a56 | [
"BSD-3-Clause"
] | 2 | 2021-09-15T22:50:14.000Z | 2021-11-11T15:36:06.000Z | test/gtest/ucs/test_conn_match.cc | ironMann/ucx | 4bb5c6892c7958a64378c5137e279e8250261a56 | [
"BSD-3-Clause"
] | 48 | 2019-03-22T09:41:47.000Z | 2022-03-31T18:54:57.000Z | test/gtest/ucs/test_conn_match.cc | ironMann/ucx | 4bb5c6892c7958a64378c5137e279e8250261a56 | [
"BSD-3-Clause"
] | 2 | 2020-07-25T23:48:33.000Z | 2020-07-30T20:14:53.000Z | /**
* Copyright (C) Mellanox Technologies Ltd. 2020. ALL RIGHTS RESERVED.
* See file LICENSE for terms.
*/
#include <common/test.h>
#include <ucs/datastruct/conn_match.h>
#include <ucs/sys/sys.h>
#include <vector>
class test_conn_match : public ucs::test {
public:
typedef struct {
ucs_conn_match_ele... | 39.976401 | 87 | 0.579029 | ironMann |
4ee61f1ccc807a821a4b6ff20cba9e8ab0c50228 | 490 | cpp | C++ | test/opencv/opencv5.cpp | 6923403/C | d365021759e6d9078254b4b7b6455e0408e4b691 | [
"MIT"
] | 1 | 2020-10-01T14:52:45.000Z | 2020-10-01T14:52:45.000Z | test/opencv/opencv5.cpp | 6923403/C | d365021759e6d9078254b4b7b6455e0408e4b691 | [
"MIT"
] | 3 | 2020-06-19T01:24:51.000Z | 2020-07-16T14:00:30.000Z | test/opencv/opencv5.cpp | 6923403/C | d365021759e6d9078254b4b7b6455e0408e4b691 | [
"MIT"
] | null | null | null | #include <opencv2/opencv.hpp>
#include <iostream>
using namespace std;
using namespace cv;
int main(int argc, char const *argv[])
{
Mat data = (Mat_<double>(2, 2) << 1, 2, 2, 1);
Mat eigen_values, eigen_vector;
eigen(data, eigen_values, eigen_vector);
for(int i = 0; i < eigen_values.rows; i++)
{
... | 27.222222 | 72 | 0.610204 | 6923403 |
4eeba18e6b11a8e639882f194f6a9da4548eff7c | 5,422 | cpp | C++ | src/parseosg.cpp | strawlab/flyvr | 335892cae740e53e82e07b526e1ba53fbd34b0ce | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 3 | 2015-01-29T14:09:25.000Z | 2016-04-24T04:25:49.000Z | src/parseosg.cpp | strawlab/flyvr | 335892cae740e53e82e07b526e1ba53fbd34b0ce | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 3 | 2016-08-05T12:56:12.000Z | 2016-08-09T14:20:09.000Z | src/parseosg.cpp | strawlab/flyvr | 335892cae740e53e82e07b526e1ba53fbd34b0ce | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | #include <iostream>
#include <osg/io_utils>
#include <osg/Geometry>
#include <osg/MatrixTransform>
#include <osg/Geode>
#include <osgDB/ReadFile>
#include <osgAnimation/AnimationManagerBase>
#include <osgAnimation/BasicAnimationManager>
#include <osgAnimation/Bone>
class MatrixNodeFinder : public osg::NodeVisitor
{
pu... | 27.383838 | 143 | 0.588897 | strawlab |
4eec0fe0a57a75decb70a9ee2366c941c54b3963 | 1,163 | cc | C++ | src/tm_ncc/tm_ncc_generator.cc | fixstars/Halide-elements | 0e9d1f27628c2626a4f4468fcacac8f71d70f525 | [
"MIT"
] | 76 | 2017-10-19T07:16:55.000Z | 2022-03-23T00:04:39.000Z | src/tm_ncc/tm_ncc_generator.cc | tufei/Halide-elements | d9354213920441d4d3e1b0757e9354db48c9fbcc | [
"MIT"
] | 3 | 2017-11-17T19:50:38.000Z | 2021-08-07T07:39:05.000Z | src/tm_ncc/tm_ncc_generator.cc | tufei/Halide-elements | d9354213920441d4d3e1b0757e9354db48c9fbcc | [
"MIT"
] | 15 | 2017-11-09T18:52:10.000Z | 2021-12-11T03:33:23.000Z | #include <cstdint>
#include "Halide.h"
#include "Element.h"
using namespace Halide;
using Halide::Element::schedule;
template<typename T>
class TmNcc : public Halide::Generator<TmNcc<T>> {
public:
ImageParam src0{type_of<T>(), 2, "src0"};
ImageParam src1{type_of<T>(), 2, "src1"};
GeneratorParam<int32_t> ... | 30.605263 | 91 | 0.689596 | fixstars |
4eec2ad0bc960df37cf3eb7f215f5205e6109939 | 1,846 | cpp | C++ | ParticlePlay/IMS/Format/EmptyFormat.cpp | spywhere/Legacy-ParticlePlay | 0c1ec6e4706f72b64e0408cc79cdeffce535b484 | [
"BSD-3-Clause"
] | null | null | null | ParticlePlay/IMS/Format/EmptyFormat.cpp | spywhere/Legacy-ParticlePlay | 0c1ec6e4706f72b64e0408cc79cdeffce535b484 | [
"BSD-3-Clause"
] | null | null | null | ParticlePlay/IMS/Format/EmptyFormat.cpp | spywhere/Legacy-ParticlePlay | 0c1ec6e4706f72b64e0408cc79cdeffce535b484 | [
"BSD-3-Clause"
] | null | null | null | #include "EmptyFormat.hpp"
ppEmptyFormat::ppEmptyFormat(ppIMS* ims, Sint64 length, ppFormat* audioFormat) : ppFormat(ims){
this->length = length;
this->sourceAudioFormat = audioFormat;
}
int ppEmptyFormat::Init(const char *filename, bool stereo){
int status = ppFormat::Init(filename, stereo);
if(status>0){
retu... | 28.84375 | 95 | 0.762189 | spywhere |
4eefd196764276bef5cbb19a5747c1548be3ec0c | 90,979 | cpp | C++ | picoc/assumption_expr.cpp | moves-rwth/nitwit-validator | 8819d537b30360ed267f6950dc5219af4abc5bad | [
"BSD-3-Clause"
] | 4 | 2019-10-02T10:15:51.000Z | 2019-11-24T12:00:18.000Z | picoc/assumption_expr.cpp | moves-rwth/nitwit-validator | 8819d537b30360ed267f6950dc5219af4abc5bad | [
"BSD-3-Clause"
] | null | null | null | picoc/assumption_expr.cpp | moves-rwth/nitwit-validator | 8819d537b30360ed267f6950dc5219af4abc5bad | [
"BSD-3-Clause"
] | 2 | 2019-10-04T10:19:11.000Z | 2020-05-31T06:58:40.000Z | /* picoc expression evaluator - a stack-based expression evaluation system
* which handles operator precedence */
#include "interpreter.hpp"
/* whether evaluation is left to right for a given precedence level */
#define IS_LEFT_TO_RIGHT(p) ((p) != 2 && (p) != 14)
#define BRACKET_PRECEDENCE 20
/* If the destination ... | 48.834675 | 252 | 0.555183 | moves-rwth |
4ef2dd0809b01540dc32e00190485998b5af75b9 | 18,778 | cc | C++ | src/Tools.cc | ceremcem/node-occ | 100a08bbf6f65ef02d53e08581f5f591fd21a96b | [
"MIT"
] | 1 | 2021-01-15T00:00:47.000Z | 2021-01-15T00:00:47.000Z | src/Tools.cc | ceremcem/node-occ | 100a08bbf6f65ef02d53e08581f5f591fd21a96b | [
"MIT"
] | null | null | null | src/Tools.cc | ceremcem/node-occ | 100a08bbf6f65ef02d53e08581f5f591fd21a96b | [
"MIT"
] | null | null | null | #include "Tools.h"
#include "IFSelect_ReturnStatus.hxx"
#include "Shape.h"
#include "Solid.h"
#include <list>
#include <sstream>
#include "AsyncWorkerWithProgress.h"
//
// ref : http://nikhilm.github.io/uvbook/threads.html
//
void extractShapes(v8::Local<v8::Value> value, std::list<Shape*>& shapes)
{
if (value->I... | 27.214493 | 179 | 0.635584 | ceremcem |
4ef31f129f5fd7c09f77d47d9932abae6cf4339e | 2,711 | cpp | C++ | src/Heimdall/Gatekeeper.cpp | andoma/rainbow | ed1e70033217450457e52b90276e41a746d5086a | [
"MIT"
] | null | null | null | src/Heimdall/Gatekeeper.cpp | andoma/rainbow | ed1e70033217450457e52b90276e41a746d5086a | [
"MIT"
] | null | null | null | src/Heimdall/Gatekeeper.cpp | andoma/rainbow | ed1e70033217450457e52b90276e41a746d5086a | [
"MIT"
] | 1 | 2018-09-20T19:34:36.000Z | 2018-09-20T19:34:36.000Z | // Copyright (c) 2010-present Bifrost Entertainment AS and Tommy Nguyen
// Distributed under the MIT License.
// (See accompanying file LICENSE or copy at http://opensource.org/licenses/MIT)
#include "Heimdall/Gatekeeper.h"
#if USE_LUA_SCRIPT
# include "Common/Data.h"
# include "Common/String.h"
# include "File... | 26.578431 | 80 | 0.637403 | andoma |
4ef66a017f5cbe0b68b52bcd2b27db4e9445e468 | 7,882 | cxx | C++ | smtk/attribute/FileItem.cxx | yumin/SMTK | d280f10c5b70953b2a0196f71832955c7fc75e7f | [
"BSD-3-Clause-Clear"
] | null | null | null | smtk/attribute/FileItem.cxx | yumin/SMTK | d280f10c5b70953b2a0196f71832955c7fc75e7f | [
"BSD-3-Clause-Clear"
] | 4 | 2016-11-10T15:49:51.000Z | 2017-02-06T23:24:16.000Z | smtk/attribute/FileItem.cxx | yumin/SMTK | d280f10c5b70953b2a0196f71832955c7fc75e7f | [
"BSD-3-Clause-Clear"
] | null | null | null | //=========================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
//
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE... | 29.856061 | 79 | 0.530576 | yumin |
4ef7c5554c5f2f72dfef5cc3fda3c84fb4d92d85 | 778 | hpp | C++ | modules/event/shiva/event/change_scene.hpp | Milerius/rs_engine | d25b54147f2f9a4710e3015c4eed7d076e3de04b | [
"MIT"
] | 176 | 2018-06-06T12:20:21.000Z | 2022-01-27T02:54:34.000Z | modules/event/shiva/event/change_scene.hpp | Milerius/rs_engine | d25b54147f2f9a4710e3015c4eed7d076e3de04b | [
"MIT"
] | 11 | 2018-06-09T21:30:02.000Z | 2019-09-14T16:03:12.000Z | modules/event/shiva/event/change_scene.hpp | Milerius/rs_engine | d25b54147f2f9a4710e3015c4eed7d076e3de04b | [
"MIT"
] | 19 | 2018-08-15T11:40:02.000Z | 2020-08-31T11:00:44.000Z | //
// Created by roman Sztergbaum on 06/08/2018.
//
#pragma once
#include <shiva/reflection/reflection.hpp>
#include <shiva/event/invoker.hpp>
namespace shiva::event
{
struct change_scene
{
static constexpr const shiva::event::invoker_dispatcher<change_scene, const char *> invoker{};
reflect... | 22.882353 | 102 | 0.640103 | Milerius |
4efd58df76a0570e6c33bcf2ae94ba2bb45c1684 | 1,183 | hpp | C++ | include/gbVk/config.hpp | ComicSansMS/GhulbusVulkan | b24ffb892a7573c957aed443a3fbd7ec281556e7 | [
"MIT"
] | null | null | null | include/gbVk/config.hpp | ComicSansMS/GhulbusVulkan | b24ffb892a7573c957aed443a3fbd7ec281556e7 | [
"MIT"
] | null | null | null | include/gbVk/config.hpp | ComicSansMS/GhulbusVulkan | b24ffb892a7573c957aed443a3fbd7ec281556e7 | [
"MIT"
] | null | null | null | #ifndef GHULBUS_LIBRARY_INCLUDE_GUARD_VULKAN_GBVK_CONFIG_HPP
#define GHULBUS_LIBRARY_INCLUDE_GUARD_VULKAN_GBVK_CONFIG_HPP
/** @file
*
* @brief General configuration for Vulkan.
* @author Andreas Weis (der_ghulbus@ghulbus-inc.de)
*/
#include <gbVk/gbVk_Export.hpp>
/** Specifies the API for a function declaration.... | 30.333333 | 111 | 0.800507 | ComicSansMS |
4efebeb26fd1be374f48f4883c6ad81a4f048c9d | 1,045 | cpp | C++ | c++/EggDroppingProblem.cpp | parizadas/HacktoberFest2020-3 | 48cb0c7f2d43d38cb7d8343df18035c9288c63ea | [
"MIT"
] | 51 | 2020-09-27T15:28:05.000Z | 2021-09-29T02:07:25.000Z | c++/EggDroppingProblem.cpp | parizadas/HacktoberFest2020-3 | 48cb0c7f2d43d38cb7d8343df18035c9288c63ea | [
"MIT"
] | 152 | 2020-09-27T12:12:12.000Z | 2021-10-03T18:22:15.000Z | c++/EggDroppingProblem.cpp | parizadas/HacktoberFest2020-3 | 48cb0c7f2d43d38cb7d8343df18035c9288c63ea | [
"MIT"
] | 453 | 2020-09-27T12:34:35.000Z | 2021-10-16T08:33:33.000Z |
#include <bits/stdc++.h>
using namespace std;
//egg dropping problem
void eggdroppingpuzzle(int eggs,int floors)
{
int **T=(int **)malloc(eggs*sizeof(int *));
for(int i=0;i<eggs;i++)
T[i]=(int *)malloc((floors+1)*sizeof(int));
for(int i=0;i<eggs;i++)
T[i][0]=0;
for(int i=1;i<=floors;i++... | 24.302326 | 103 | 0.466029 | parizadas |
f60127fab3d565dccf2af1994d07743f9b972a1e | 6,346 | cpp | C++ | ramp_14890.cpp | goongg/SamSung | d07f8ca06fa21c2c26f63f89978b79a204373262 | [
"CECILL-B"
] | null | null | null | ramp_14890.cpp | goongg/SamSung | d07f8ca06fa21c2c26f63f89978b79a204373262 | [
"CECILL-B"
] | null | null | null | ramp_14890.cpp | goongg/SamSung | d07f8ca06fa21c2c26f63f89978b79a204373262 | [
"CECILL-B"
] | null | null | null | // 7시 32분
#include <iostream>
#include <vector>
#include <queue>
using namespace std;
#define debug 0
class ramp
{
int n, l;
vector<int> t;
vector<bool> poss_r;// 가능 행 조사
vector<bool> poss_c;// 가능 열 조사
vector<bool> v;
public:
void input()
{
cin>>n >>l;
... | 29.793427 | 73 | 0.180586 | goongg |
f601c002dc84eb5f812cf6abd865d61c25b26fd4 | 4,725 | hpp | C++ | src/lib/include/black/internal/formula/alphabet.hpp | black-sat/black | 80902240987312fb0e6f00227a06e9f9c9728a67 | [
"MIT"
] | 4 | 2020-09-30T15:16:22.000Z | 2021-09-20T15:02:39.000Z | src/lib/include/black/internal/formula/alphabet.hpp | teodorov/black | 4de280ded5e99cc515141b4acc35137ba32c2469 | [
"MIT"
] | 42 | 2020-07-15T13:46:11.000Z | 2022-03-10T09:42:43.000Z | src/lib/include/black/internal/formula/alphabet.hpp | teodorov/black | 4de280ded5e99cc515141b4acc35137ba32c2469 | [
"MIT"
] | 3 | 2020-03-30T14:39:17.000Z | 2022-03-18T14:05:33.000Z | //
// BLACK - Bounded Ltl sAtisfiability ChecKer
//
// (C) 2019 Nicola Gigante
//
// 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 righ... | 32.363014 | 80 | 0.685714 | black-sat |
f6051e9c65fa8d7bd0a127758e0a25fb0e44b0f4 | 15,312 | cc | C++ | src/core/analysis/rnn_scorer_gbeam.cc | 5003/jumanpp | 9f50ee3d62591936a079ade18c6e1d1e8a6d3463 | [
"Apache-2.0"
] | 1 | 2018-03-18T15:53:27.000Z | 2018-03-18T15:53:27.000Z | src/core/analysis/rnn_scorer_gbeam.cc | 5003/jumanpp | 9f50ee3d62591936a079ade18c6e1d1e8a6d3463 | [
"Apache-2.0"
] | null | null | null | src/core/analysis/rnn_scorer_gbeam.cc | 5003/jumanpp | 9f50ee3d62591936a079ade18c6e1d1e8a6d3463 | [
"Apache-2.0"
] | null | null | null | //
// Created by Arseny Tolmachev on 2017/11/20.
//
#include "rnn_scorer_gbeam.h"
#include "rnn/mikolov_rnn.h"
#include "rnn_id_resolver.h"
#include "util/stl_util.h"
namespace jumanpp {
namespace core {
namespace analysis {
struct GbeamRnnFactoryState {
rnn::RnnIdResolver resolver;
jumanpp::rnn::mikolov::Mikolo... | 32.929032 | 80 | 0.655499 | 5003 |
f60bc96391cc2c3004599c52dec37ec03c42b482 | 11,188 | hpp | C++ | mjolnir/forcefield/external/RectangularBoxInteraction.hpp | yutakasi634/Mjolnir | ab7a29a47f994111e8b889311c44487463f02116 | [
"MIT"
] | 12 | 2017-02-01T08:28:38.000Z | 2018-08-25T15:47:51.000Z | mjolnir/forcefield/external/RectangularBoxInteraction.hpp | Mjolnir-MD/Mjolnir | 043df4080720837042c6b67a5495ecae198bc2b3 | [
"MIT"
] | 60 | 2019-01-14T08:11:33.000Z | 2021-07-29T08:26:36.000Z | mjolnir/forcefield/external/RectangularBoxInteraction.hpp | yutakasi634/Mjolnir | ab7a29a47f994111e8b889311c44487463f02116 | [
"MIT"
] | 8 | 2019-01-13T11:03:31.000Z | 2021-08-01T11:38:00.000Z | #ifndef MJOLNIR_INTERACTION_EXTERNAL_RECTANGULAR_BOX_INTERACTION_HPP
#define MJOLNIR_INTERACTION_EXTERNAL_RECTANGULAR_BOX_INTERACTION_HPP
#include <mjolnir/core/ExternalForceInteractionBase.hpp>
#include <mjolnir/core/BoundaryCondition.hpp>
#include <mjolnir/core/SimulatorTraits.hpp>
#include <mjolnir/math/math.hpp>
#i... | 41.437037 | 136 | 0.642653 | yutakasi634 |
f60d8f801c3ac8ed0863421791d74c5702f9b223 | 1,836 | hpp | C++ | src/bwt.hpp | SebWouters/aiss4 | f46ea04e573b77abec74459f018d32bd0bdc8865 | [
"BSD-3-Clause"
] | null | null | null | src/bwt.hpp | SebWouters/aiss4 | f46ea04e573b77abec74459f018d32bd0bdc8865 | [
"BSD-3-Clause"
] | null | null | null | src/bwt.hpp | SebWouters/aiss4 | f46ea04e573b77abec74459f018d32bd0bdc8865 | [
"BSD-3-Clause"
] | null | null | null | /*
aiss4: suffix array via induced sorting
Copyright (c) 2020, Sebastian Wouters
All rights reserved.
This file is part of aiss4, licensed under the BSD 3-Clause License.
A copy of the License can be found in the file LICENSE in the root
folder of this project.
*/
#pragma once
#include <stdi... | 23.844156 | 99 | 0.562092 | SebWouters |
f610e7915dfa37bc2766ed278f867b9770dbb6dd | 8,779 | inl | C++ | include/hfsm/detail/machine_composite_methods.inl | kgreenek/HFSM | 4a6f5bf6fb868c05ea797f1b8d33073eee461a0b | [
"MIT"
] | 74 | 2017-04-11T20:54:20.000Z | 2021-09-01T06:31:01.000Z | include/hfsm/detail/machine_composite_methods.inl | kgreenek/HFSM | 4a6f5bf6fb868c05ea797f1b8d33073eee461a0b | [
"MIT"
] | 14 | 2018-01-04T03:54:00.000Z | 2018-07-02T22:34:12.000Z | include/hfsm/detail/machine_composite_methods.inl | kgreenek/HFSM | 4a6f5bf6fb868c05ea797f1b8d33073eee461a0b | [
"MIT"
] | 33 | 2017-04-12T13:11:37.000Z | 2022-01-06T02:06:07.000Z | namespace hfsm {
////////////////////////////////////////////////////////////////////////////////
template <typename TC, unsigned TMS>
template <typename TH, typename... TS>
M<TC, TMS>::_C<TH, TS...>::_C(StateRegistry& stateRegistry,
const Parent parent,
Parents& stateParents,
Parents& fork... | 30.065068 | 90 | 0.598929 | kgreenek |
f61211199fcc49d95fc860f04c824dacf4dbf7e4 | 1,033 | cpp | C++ | src/system/boot/platform/next_m68k/devices.cpp | Yn0ga/haiku | 74e271b2a286c239e60f0ec261f4f197f4727eee | [
"MIT"
] | 1,338 | 2015-01-03T20:06:56.000Z | 2022-03-26T13:49:54.000Z | src/system/boot/platform/next_m68k/devices.cpp | Yn0ga/haiku | 74e271b2a286c239e60f0ec261f4f197f4727eee | [
"MIT"
] | 15 | 2015-01-17T22:19:32.000Z | 2021-12-20T12:35:00.000Z | src/system/boot/platform/next_m68k/devices.cpp | Yn0ga/haiku | 74e271b2a286c239e60f0ec261f4f197f4727eee | [
"MIT"
] | 350 | 2015-01-08T14:15:27.000Z | 2022-03-21T18:14:35.000Z | /*
* Copyright 2008-2010, François Revol, revol@free.fr. All rights reserved.
* Copyright 2003-2006, Axel Dörfler, axeld@pinc-software.de.
* Distributed under the terms of the MIT License.
*/
#include <KernelExport.h>
#include <boot/platform.h>
#include <boot/partitions.h>
#include <boot/stdio.h>
#include <boot/s... | 15.892308 | 75 | 0.760891 | Yn0ga |
f612765de4f9bd0c76d35caea168de5b8a018dc8 | 9,805 | cpp | C++ | source/details/StackTraceGnu-inl.cpp | aminya/cppassert | a686985e16698dfbcfa60e512c33a2eedf240892 | [
"BSD-3-Clause"
] | 3 | 2016-05-12T13:21:26.000Z | 2019-02-06T14:00:24.000Z | source/details/StackTraceGnu-inl.cpp | aminya/cppassert | a686985e16698dfbcfa60e512c33a2eedf240892 | [
"BSD-3-Clause"
] | 1 | 2022-02-17T23:07:54.000Z | 2022-02-17T23:07:54.000Z | source/details/StackTraceGnu-inl.cpp | DariuszOstolski/cppassert | 3b0c3f800297e368a7c452ec039c3eba268fbfd3 | [
"BSD-3-Clause"
] | null | null | null | #include <cppassert/details/StackTrace.hpp>
#include <cstdlib>
#include <cstring>
#include <execinfo.h>
#include <cxxabi.h>
#include <sstream>
namespace cppassert
{
namespace internal
{
/**
* Provides C++ symbol demangling
*/
class CppDemangler
{
CppDemangler(const CppDemangler &) = delete;
CppDemangler &op... | 26.077128 | 82 | 0.550025 | aminya |
f614c01aaa6ff892bbee02b8ba5a14cca3d9c155 | 450 | cpp | C++ | series2_workbench/hyp_sys_1d/src/ancse/boundary_condition.cpp | BeatHubmann/19H-AdvNCSE | 3979f768da933de82bd6ab29bbf31ea9fc31e501 | [
"MIT"
] | 1 | 2020-01-05T22:38:47.000Z | 2020-01-05T22:38:47.000Z | series2_handout/hyp_sys_1d/src/ancse/boundary_condition.cpp | BeatHubmann/19H-AdvNCSE | 3979f768da933de82bd6ab29bbf31ea9fc31e501 | [
"MIT"
] | null | null | null | series2_handout/hyp_sys_1d/src/ancse/boundary_condition.cpp | BeatHubmann/19H-AdvNCSE | 3979f768da933de82bd6ab29bbf31ea9fc31e501 | [
"MIT"
] | 1 | 2019-12-08T20:43:27.000Z | 2019-12-08T20:43:27.000Z | #include <ancse/boundary_condition.hpp>
#include <fmt/format.h>
std::shared_ptr<BoundaryCondition>
make_boundary_condition(int n_ghost, const std::string &bc_key) {
if (bc_key == "periodic") {
return std::make_shared<PeriodicBC>(n_ghost);
}
if (bc_key == "outflow") {
return std::make_sha... | 23.684211 | 65 | 0.66 | BeatHubmann |
f61a2e86ccbfdb9510471373060b43b0ef035805 | 1,778 | cpp | C++ | modules/fsio/tests/src/disk_device.cpp | hfarrow/Fissura | 0ccc319b55f8dc99af712c95580342430444bc29 | [
"MIT"
] | null | null | null | modules/fsio/tests/src/disk_device.cpp | hfarrow/Fissura | 0ccc319b55f8dc99af712c95580342430444bc29 | [
"MIT"
] | null | null | null | modules/fsio/tests/src/disk_device.cpp | hfarrow/Fissura | 0ccc319b55f8dc99af712c95580342430444bc29 | [
"MIT"
] | null | null | null | #include <cstdio>
#include <boost/test/unit_test.hpp>
#include "global_fixture.h"
#include "fstest.h"
#include "fscore.h"
#include "fsmem.h"
#include "fsio.h"
using namespace fs;
using FileArena = MemoryArena<Allocator<HeapAllocator, AllocationHeaderU32>,
MultiThread<MutexPrimitive>,
... | 22.794872 | 120 | 0.652981 | hfarrow |
f61d2dfd00d13a3a9778cff498e45fc067422dad | 20,005 | hpp | C++ | modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp | liuhuanjim013/opencv | ac5e5adb6fbefa16bb48257cf534f1d55811603e | [
"BSD-3-Clause"
] | 1 | 2020-11-12T03:37:51.000Z | 2020-11-12T03:37:51.000Z | modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp | liuhuanjim013/opencv | ac5e5adb6fbefa16bb48257cf534f1d55811603e | [
"BSD-3-Clause"
] | null | null | null | modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp | liuhuanjim013/opencv | ac5e5adb6fbefa16bb48257cf534f1d55811603e | [
"BSD-3-Clause"
] | null | null | null | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | 44.654018 | 140 | 0.713322 | liuhuanjim013 |
f61f0fb6f3804c88c2d74049dd4488714d94af28 | 547 | cpp | C++ | 0119 Pascals Triangle II/solution.cpp | Aden-Tao/LeetCode | c34019520b5808c4251cb76f69ca2befa820401d | [
"MIT"
] | 1 | 2019-12-19T04:13:15.000Z | 2019-12-19T04:13:15.000Z | 0119 Pascals Triangle II/solution.cpp | Aden-Tao/LeetCode | c34019520b5808c4251cb76f69ca2befa820401d | [
"MIT"
] | null | null | null | 0119 Pascals Triangle II/solution.cpp | Aden-Tao/LeetCode | c34019520b5808c4251cb76f69ca2befa820401d | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
class Solution {
public:
vector<int> getRow(int rowIndex) {
//The basic idea is to iteratively update the array from the end to the beginning.
vector<int> res(rowIndex+1, 0);
res[0] = 1;
for(int i = 1; i<=rowIndex; i++){
for(... | 22.791667 | 90 | 0.493601 | Aden-Tao |
f61f4fac644e64b9beeecde0907d014d6c7cb7ae | 1,174 | cpp | C++ | IntroductionToCpp/Arrays/main.cpp | Trey0303/IntroToCpp | 6aea72df60a1dfa80dbeb0d4f90a37fdaf3721b7 | [
"MIT"
] | null | null | null | IntroductionToCpp/Arrays/main.cpp | Trey0303/IntroToCpp | 6aea72df60a1dfa80dbeb0d4f90a37fdaf3721b7 | [
"MIT"
] | null | null | null | IntroductionToCpp/Arrays/main.cpp | Trey0303/IntroToCpp | 6aea72df60a1dfa80dbeb0d4f90a37fdaf3721b7 | [
"MIT"
] | null | null | null | #include <cstdlib>
#include <iostream>
#include "arrayh.h"
int main()
{
//create array
//index 0 ,1,2 ,3,4 ,5, 6,7,8,9
//array size: 1 ,2,3 ,4,5 ,6, 7,8,9,10
int array[10]{10,1,25,4,33,4,26,7,6,9};
//get size of array
int size = 0;
for (int i : array)
{
size++;
}
//add first 5 numbers in array
... | 22.150943 | 79 | 0.623509 | Trey0303 |
f621ad6f82b11b939ba955b08fe55e539277e5dd | 7,326 | cpp | C++ | packages/geometry/legacy/src/Geometry_SurfaceInputValidatorHelpers.cpp | lkersting/SCR-2123 | 06ae3d92998664a520dc6a271809a5aeffe18f72 | [
"BSD-3-Clause"
] | null | null | null | packages/geometry/legacy/src/Geometry_SurfaceInputValidatorHelpers.cpp | lkersting/SCR-2123 | 06ae3d92998664a520dc6a271809a5aeffe18f72 | [
"BSD-3-Clause"
] | null | null | null | packages/geometry/legacy/src/Geometry_SurfaceInputValidatorHelpers.cpp | lkersting/SCR-2123 | 06ae3d92998664a520dc6a271809a5aeffe18f72 | [
"BSD-3-Clause"
] | null | null | null | //---------------------------------------------------------------------------//
//!
//! \file Geometry_SurfaceInputValidatorHelpers.cpp
//! \author Alex Robinson
//! \brief Surface input validator helper function definitions.
//!
//---------------------------------------------------------------------------//
// Std... | 31.307692 | 79 | 0.627355 | lkersting |
f62686765a2bf341306311cfa01096943efba6ad | 6,362 | cpp | C++ | Meitner/Application/Example/Testbench/ProcessorTest/main.cpp | testdrive-profiling-master/profiles | 6e3854874366530f4e7ae130000000812eda5ff7 | [
"BSD-3-Clause"
] | null | null | null | Meitner/Application/Example/Testbench/ProcessorTest/main.cpp | testdrive-profiling-master/profiles | 6e3854874366530f4e7ae130000000812eda5ff7 | [
"BSD-3-Clause"
] | null | null | null | Meitner/Application/Example/Testbench/ProcessorTest/main.cpp | testdrive-profiling-master/profiles | 6e3854874366530f4e7ae130000000812eda5ff7 | [
"BSD-3-Clause"
] | null | null | null | //================================================================================
// Copyright (c) 2013 ~ 2021. HyungKi Jeong(clonextop@gmail.com)
// Freely available under the terms of the 3-Clause BSD License
// (https://opensource.org/licenses/BSD-3-Clause)
//
// Redistribution and use in source and binary forms,
... | 36.774566 | 139 | 0.602012 | testdrive-profiling-master |
f626edbdcefd3f42a5ebe6d3b779ad4cc955d7da | 19,938 | hpp | C++ | src/core/tb2clause.hpp | nrousse/toulbar2 | ae79b8b05d7a57d7563ed6d497107b2e77cdd49c | [
"MIT"
] | 33 | 2018-08-16T18:14:35.000Z | 2022-03-14T10:26:18.000Z | src/core/tb2clause.hpp | nrousse/toulbar2 | ae79b8b05d7a57d7563ed6d497107b2e77cdd49c | [
"MIT"
] | 13 | 2018-08-09T06:53:08.000Z | 2022-03-28T10:26:24.000Z | src/core/tb2clause.hpp | nrousse/toulbar2 | ae79b8b05d7a57d7563ed6d497107b2e77cdd49c | [
"MIT"
] | 12 | 2018-06-06T15:19:46.000Z | 2022-02-11T17:09:27.000Z | #ifndef TB2WCLAUSE_HPP_
#define TB2WCLAUSE_HPP_
#include "tb2abstractconstr.hpp"
#include "tb2ternaryconstr.hpp"
#include "tb2enumvar.hpp"
#include "tb2wcsp.hpp"
#include <numeric>
//TODO: avoid enumeration on all variables if they are already assigned and removed (using backtrackable domain data structure).
//in ord... | 34.023891 | 231 | 0.440716 | nrousse |
f628fb8cbac669d14b03e8cca499eb4e042514e0 | 1,870 | cpp | C++ | src/light_effects.cpp | ljmerza/mqtt-msgeq7-led-strip | cd7574efbb1c4a2ba465cba51abe6fbeef5ac875 | [
"MIT"
] | 1 | 2019-05-16T01:49:14.000Z | 2019-05-16T01:49:14.000Z | src/light_effects.cpp | ljmerza/mqtt-msgeq7-led-strip | cd7574efbb1c4a2ba465cba51abe6fbeef5ac875 | [
"MIT"
] | 1 | 2019-01-24T02:04:06.000Z | 2019-01-28T17:51:22.000Z | src/light_effects.cpp | ljmerza/mqtt-msgeq7-led-strip | cd7574efbb1c4a2ba465cba51abe6fbeef5ac875 | [
"MIT"
] | null | null | null | #include "common.h"
#include "config.h"
void fill_led_colors(CRGBPalette16 current_palette){
for(int i=0; i<NUM_LEDS; i++) {
leds[i] = ColorFromPalette(current_palette, 0, brightness, LINEARBLEND);
}
}
CRGBPalette16 lamp_light(uint8_t red, uint8_t green, uint8_t blue){
CRGB rgb = CRGB(red, green... | 24.605263 | 80 | 0.728877 | ljmerza |
f62a2d735236ec7886e7eca2fd5ecc23a7f9cb5f | 1,498 | cpp | C++ | Src/ai/zealotgroup.cpp | jjuiddong/AI-Practice | ebd3423c6684b6978c0d68cc9b29ab69acb1c545 | [
"MIT"
] | 1 | 2019-01-04T16:34:45.000Z | 2019-01-04T16:34:45.000Z | Src/ai/zealotgroup.cpp | jjuiddong/AI-Practice | ebd3423c6684b6978c0d68cc9b29ab69acb1c545 | [
"MIT"
] | null | null | null | Src/ai/zealotgroup.cpp | jjuiddong/AI-Practice | ebd3423c6684b6978c0d68cc9b29ab69acb1c545 | [
"MIT"
] | null | null | null |
#include "stdafx.h"
#include "zealotgroup.h"
#include "groupmove.h"
#include "formation.h"
#include "formationmove.h"
using namespace graphic;
//----------------------------------------------------------------
cGroup::cGroup()
{
m_brain = new cZealotGroupBrain(this);
}
cGroup::~cGroup()
{
SAFE_DELETE(m_brain);... | 20.805556 | 88 | 0.625501 | jjuiddong |
f62b9446cb6a8084b843648adfd65d222d4df16f | 5,861 | cpp | C++ | IP.cpp | keewon/winter-source-beta-3 | 6fb5d1f524119344785b3587ecb71dff74120b91 | [
"FSFAP"
] | null | null | null | IP.cpp | keewon/winter-source-beta-3 | 6fb5d1f524119344785b3587ecb71dff74120b91 | [
"FSFAP"
] | null | null | null | IP.cpp | keewon/winter-source-beta-3 | 6fb5d1f524119344785b3587ecb71dff74120b91 | [
"FSFAP"
] | null | null | null | #include "IP.h"
#include <set>
#define LOG_ERR 3
unsigned int IP::counter(0);
SOCKET
IP::
UDP(int (*const function)(const SOCKET), const u_short port)
{
struct sockaddr_in address;
size_t length(sizeof(struct sockaddr));
SOCKET socketID(socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP));
if (s... | 25.819383 | 108 | 0.615765 | keewon |