blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 247 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2
values | repo_name stringlengths 4 111 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 58 | visit_date timestamp[ns]date 2015-07-25 18:16:41 2023-09-06 10:45:08 | revision_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | committer_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | github_id int64 3.89k 689M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 25
values | gha_event_created_at timestamp[ns]date 2012-06-07 00:51:45 2023-09-14 21:58:52 ⌀ | gha_created_at timestamp[ns]date 2008-03-27 23:40:48 2023-08-24 19:49:39 ⌀ | gha_language stringclasses 159
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 7 10.5M | extension stringclasses 111
values | filename stringlengths 1 195 | text stringlengths 7 10.5M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
50292a2d637ac19de809e5ad4a39d6da4e927943 | 685972b082b132549b2dbf947456c197d7cba9bd | /Tanks2DSetup/objectsOnMap.cpp | df877bbd74c41ff9aa29010a12945259d4ef4f2e | [] | no_license | verciucsergiu/tanks2d | 1aff80426842adb8b2d8d5dd36f96624be7bdc37 | 5bf5b0310a2d532e1be12e84a76c9a7d5f31b7e1 | refs/heads/master | 2021-06-10T19:10:23.627313 | 2017-01-13T21:51:47 | 2017-01-13T21:51:47 | 76,185,814 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 800 | cpp | objectsOnMap.cpp | #include "objectsOnMap.h"
objectsOnMap::objectsOnMap()
{
}
objectsOnMap::~objectsOnMap()
{
}
void objectsOnMap::create(int gridX, int gridY, int x, int y, int type)
{
switch (type)
{
case 0:
if (!objectTexture.loadFromFile("sprites/treelarge.png"));
{
}
break;
case 1:
if (!objectTexture.loadFromFil... |
919bdb3986c1a77ced25778ca7a54e5392b2f465 | 9a43be2820ef252137b3e0b9c132dcdefd1207ad | /moene/static_visitor.h | 80bc23139fbda2b2f000e498a61aa768bc621db1 | [
"BSL-1.0"
] | permissive | martinmoene/spike-expected | a80eb282ab1473374c6a548b333dbfa8e90a7ec6 | 79256e02389918d0e227a69dac7903569fa765b7 | refs/heads/master | 2021-01-20T07:29:43.667101 | 2016-03-14T14:31:29 | 2016-03-14T14:31:29 | 10,615,329 | 14 | 1 | null | 2016-03-14T14:19:37 | 2013-06-11T05:29:22 | HTML | UTF-8 | C++ | false | false | 485 | h | static_visitor.h | // Copyright (C) 2013 Martin Moene <martin.moene@gmail.com>
//
// Use, modification, and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef NONSTD_STATIC_VISITOR_H_INCLUDED
#define NONSTD_STATIC_VISIT... |
12cbc11ef757f53eebe2a2c9d9dbf6cb08f7409e | 194e4c583dc070150e021ae1405cdd990fb67161 | /cppsrc/baduk/agent.h | 4036e130e881cd4c8cd91fea8a5ab91493bb2e54 | [] | no_license | macfergus/baduk | a9fe99f36bc964311222c6f511aee804da57486f | 49195deb94bf7ca7c680a854e2fe66807d9a83a4 | refs/heads/master | 2023-05-09T08:38:09.943472 | 2021-05-21T23:57:13 | 2021-05-21T23:57:13 | 114,782,465 | 9 | 1 | null | 2018-10-06T19:51:55 | 2017-12-19T15:39:08 | C++ | UTF-8 | C++ | false | false | 576 | h | agent.h | #ifndef incl_BADUK_AGENT_H__
#define incl_BADUK_AGENT_H__
#include <chrono>
#include <random>
#include "game.h"
namespace baduk {
class Agent {
public:
virtual Move selectMove(GameState const& game_state) = 0;
};
class RandomBot : public Agent {
public:
RandomBot() :
rng_(
std::chrono::... |
af192ae7ee78504a260928166ca1c68a30f474df | b40f71775712bb918887b198bfbfeeb1e7d3b326 | /sOS/SRunnable.h | ed8703d90dbc26c9336e0828bbf8a901cd74fce5 | [] | no_license | ZeroXCn/sLib | 0d7c96d33759c9a043250194af62c64b3120cb9f | 6cfe7d33febf72ece62ecf68e956e3b902460c93 | refs/heads/master | 2021-01-01T17:13:56.994223 | 2017-12-30T04:53:42 | 2017-12-30T04:53:42 | 98,029,033 | 4 | 0 | null | null | null | null | GB18030 | C++ | false | false | 584 | h | SRunnable.h | /**
*
* SRunnable接口类
* SThread的接口
* @author ZeroX
* @version v1.0 22/07/2017(22/07/2017)
*
*/
#ifndef _SRUNNABLE_H_
#define _SRUNNABLE_H_
#include <functional>
class SRunnable
{
public:
virtual ~SRunnable() {};
//逻辑事件函数,子类重写此函数
virtual void Run() = 0;
};
class SRunnableImpl :public SRunnable
{
private:
std::fun... |
0a0df9fba277ee0b1a5fe6a7bdac58fb03926e74 | c0c44b30d6a9fd5896fd3dce703c98764c0c447f | /cpp/Targets/GUBI/include/Signal/SignalUtils.h | 23a6286d9035ac3448702843494f52f32f7659b2 | [
"BSD-3-Clause"
] | permissive | wayfinder/Wayfinder-CppCore-v2 | 59d703b3a9fdf4a67f9b75fbbf4474933aeda7bf | f1d41905bf7523351bc0a1a6b08d04b06c533bd4 | refs/heads/master | 2020-05-19T15:54:41.035880 | 2010-06-29T11:56:03 | 2010-06-29T11:56:03 | 744,294 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,205 | h | SignalUtils.h | #ifndef _SIGNAL_UTILS_H_
#define _SIGNAL_UTILS_H_
#include "Signal/ISignalCollection.h"
#include "Signal/ISignalHub.h"
#include "Signal/Signal.h"
#include "Common/Identifier.h"
namespace gubi {
// Prototypes
class IPropertyBag;
/**
* Helper function for connecting a signal to an object.
*/
template<class T>
bool ... |
aa636e41c84003e605c9ac76da9d2aaac5acb653 | a0ebf3f7218a7599ae603ad42b5810b85502b3f8 | /DataStructures.Tests/array2D_tests.cpp | f60948862cf80fd5d86181706815692d09be84bc | [] | no_license | drussell33/Data-Structures-With-Tests | 381cdc2ececd2d210b3fd8de9d349e707ab4819b | 570c8ff25d979dc16910a1652b4658dac8931d67 | refs/heads/main | 2023-08-30T02:47:21.426698 | 2021-11-10T21:57:47 | 2021-11-10T21:57:47 | 426,788,191 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,890 | cpp | array2D_tests.cpp | #include "pch.h"
#include "CppUnitTest.h"
#include "crtdbg.h"
#include "adt_exception.hpp"
#include "crt_check_memory.hpp"
#include "array2d.hpp"
#include <string>
#include <vector>
using std::string;
using namespace data_structures;
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
namespace data_struct... |
2125dc699a5f15a1ac42943dccefba3d25273368 | da8b30ee378bdb08f52b4b7fb341c30032f371cc | /src/public/zthread.cpp | 90d93520e5506612de265d1956f7388361d4af22 | [
"MIT"
] | permissive | Shincey/emaild | 0b6cf0015bc32a7003e3e1e1f7fab60059954cf2 | e9bac0dc05660dac014c5a84bd82bf7ba7ab668a | refs/heads/master | 2022-11-16T09:28:29.771242 | 2020-07-14T09:04:13 | 2020-07-14T09:04:13 | 272,872,602 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 624 | cpp | zthread.cpp | #include "zthread.h"
#include <pthread.h>
namespace lib {
static void* thread_proc(void *__param) {
zthread *ptr = static_cast<zthread *>(__param);
zassert(ptr, "the pointer to zthread is null");
ptr->run();
return ptr;
}
bool zthread::start(s32 __threads) {
for... |
17b838cebbd1672c3e1b42fbd0e0170266511128 | 7710b6fe544f4aee705cc48b4d370701471e411d | /Semaphore/traffic_light.h | 05d561798f7105ce24952fa03cffce5971878b5f | [] | no_license | NakedSolidSnake/Arduino_Examples | 324b15335795b9382fca4f72c6c65aa7b520d631 | 60c77130d9083eff16b7f62bac2bfdd018e5c667 | refs/heads/master | 2023-03-20T06:06:54.127303 | 2021-02-21T20:29:29 | 2021-02-21T20:29:29 | 340,989,895 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 471 | h | traffic_light.h | /*
* traffic_light.h
*
* Created on: May 25, 2020
* Author: cssouza
*/
#ifndef TRAFFIC_LIGHT_H_
#define TRAFFIC_LIGHT_H_
class TrafficLight{
public:
enum light{
RED_LIGHT = 3,
YELLOW_LIGHT = 4,
GREEN_LIGHT = 5
};
static TrafficLight *getInstance();
void setTrafficLight(light l, int duration);
... |
cfb269f5bfe24c5d26e2fb761ea07322669232c8 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/8f/3378a069b4ca7b/main.cpp | 75f41f1df4cb4d3dfd2a928df57eae2e79570616 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,120 | cpp | main.cpp | import QtQuick 2.3
Rectangle {
width: 800
height: 600
color: "lightblue"
Item {
width: parent.width
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
Text {
id: t1
anchors.top: parent.top
... |
2b547530b8035e4cf934e20df24d3a76ceb5b2b3 | 9804d38d172052442fc23b18b5c0e24dc99080c9 | /combineanalysis.cxx | 9588e44d39ffc44016bfc5e6b876f7c81de08768 | [] | no_license | marc1uk/wcsim_analysis | 2d08069d866df1a01076a285ff07ba2b60bf14a2 | 45adc331c7ec4f82a11c8de1b614eb3fb1ad3921 | refs/heads/master | 2021-01-11T19:29:33.698385 | 2019-01-11T15:45:12 | 2019-01-11T15:45:12 | 79,377,727 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 81,442 | cxx | combineanalysis.cxx | /* vim:set noexpandtab tabstop=4 wrap */
/*TODO: to modify for new source files:
0. Re-generate and replace in this directory libWCSimRoot.so, .rootmap, .pcm files.
1. Re-enable #include RootOptions.hh
2. Disable timeArrayOffset lines.
*/
#ifndef VERBOSE
//#define VERBOSE
#endif
#ifndef WCSIMDEBUG
//#define WCSIMDEBUG
... |
79f327691c8fae24860f0ab3316239fd6cbfb0ee | 9d2a3e1bdf6a74875e28c74cc80d2a18a57a1314 | /src/lib/core/log/ReadableLogOutput.h | 899dc6970e8d1c4396a1335b864b6c6adf87cfdf | [
"BSD-3-Clause"
] | permissive | eirTony/EIRC2 | 1a979539d2b29cfbb9a2bb1010fe1d39af36aae7 | f0f917d101e3ca24d04c456c31a5b16252feeb62 | refs/heads/master | 2021-01-21T04:40:52.106253 | 2016-04-11T02:21:24 | 2016-04-11T02:21:24 | 55,930,007 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 708 | h | ReadableLogOutput.h | #ifndef READABLELOGOUTPUT_H
#define READABLELOGOUTPUT_H
#include "LogOutputPlugin.h"
#include <type/QQDataStream.h>
#include <type/QQFile.h>
class ReadableLogOutput : public LogOutputPlugin
{
Q_OBJECT
// handles stdout, stderr, logfile
public:
explicit ReadableLogOutput(LogFork * fork,
... |
7c7a15becd5d48e60e7152b0af341372b81abb62 | cc43f33336dac054325d06170c00c40d8f61b080 | /树/437. 路径总和 III.cpp | 8a27d847fb9f60a7963aff4bf76eb0ae4b1cd33a | [] | no_license | MachineGunLin/LeetCode_Solutions | 49f810ef7dc1d7603d8b37a761978481638f82e9 | aed3d37681ed6a8b2a70f1b79d7ceeed5a3755fb | refs/heads/master | 2023-05-12T23:21:47.412202 | 2021-05-31T03:54:58 | 2021-05-31T03:54:58 | 262,694,112 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 592 | cpp | 437. 路径总和 III.cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
int DFS(TreeNode* root, int sum) {
if(root == NULL) return 0;
sum -= root -> va... |
dee8618ae06b415b20e6ed7ecd8300f8a7598ad1 | 641fa8341d8c436ad24945bcbf8e7d7d1dd7dbb2 | /components/subresource_filter/core/common/indexed_ruleset_unittest.cc | f423be3d6c36d9e0933eb5d3c5d8e555671c73e8 | [
"BSD-3-Clause"
] | permissive | massnetwork/mass-browser | 7de0dfc541cbac00ffa7308541394bac1e945b76 | 67526da9358734698c067b7775be491423884339 | refs/heads/master | 2022-12-07T09:01:31.027715 | 2017-01-19T14:29:18 | 2017-01-19T14:29:18 | 73,799,690 | 4 | 4 | BSD-3-Clause | 2022-11-26T11:53:23 | 2016-11-15T09:49:29 | null | UTF-8 | C++ | false | false | 26,179 | cc | indexed_ruleset_unittest.cc | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/subresource_filter/core/common/indexed_ruleset.h"
#include <memory>
#include <string>
#include <vector>
#include "base/logging.h"
#... |
3efac002b427f778e730a5d1acc4f0d92f94d0ec | a1e938fa752e22d88a4cc128f7fbde8ca17aeb0c | /src/opencl/level1/tpch/product.hpp | ddc643a338c8db001c69f70f6e26ce1df8816c71 | [] | no_license | jyoung3131/shoc | b6c7e53490799c0ca297e812fe76f0cd655b9fa8 | a8f946959f97e6179c71afac5a00d56df664de76 | refs/heads/master | 2021-01-21T02:37:35.293720 | 2017-03-08T18:15:29 | 2017-03-08T18:15:29 | 29,740,653 | 0 | 0 | null | 2015-01-23T16:10:58 | 2015-01-23T16:10:58 | null | UTF-8 | C++ | false | false | 1,723 | hpp | product.hpp | #ifndef PRODUCT_H
#define PRODUCT_H
#include "tpch.h"
// ********************************************************************************************
// Class: ProductApp
//
// Purpose:
// Defines the variables required to run the PRODUCT RA operator.
// A binary operator that combines every OldTupl... |
bcbc0070412336fbea0262db382e5f151de894f5 | 4a39fcb86be8dda4659eaf45f883423521c111cb | /1017. Queueing at Bank (25)/1017. Queueing at Bank (25)/1017.cpp | 226ca476576fc1840ad802484b8572a3e70641dc | [] | no_license | burhanxz/Algorithm-PAT-2017 | 34cc9b9df6abed624f58d97cb9cbea8735b3b0c4 | e527dc027763db4400142271fd0842b51a87d3fe | refs/heads/master | 2020-03-11T01:15:53.144710 | 2018-04-16T07:47:34 | 2018-04-16T07:47:34 | 129,686,479 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,131 | cpp | 1017.cpp | #include <iostream>
#include<queue>
#include<cstring>
#include <sstream>
#include<string>
using namespace std;
int N,K;
int a,b,c,d;
string s;
stringstream ss;
struct Time
{
int hh,mm,ss;
Time(int HH,int MM,int SS):hh(HH),mm(MM),ss(SS){}
Time& operator=(const Time &t)
{
hh = t.hh;
mm = t.mm;
... |
8501a2d9cf5b84a68063615501b77aa375b54843 | 63926f6bc3dd5b3573d4e22c7d5ac0bc1a5e253c | /Plugins/ThumbnailExporter/Source/ThumbnailExporter/Public/ThumbnailExporter.h | 3e6d8261c95b6cbb469886aff4993b3cbffbfa8b | [] | no_license | chaiyuntian/MPlugins | 8c024cf3cb815614aa4c5eaf7d6d1e0f5af9eb6b | 9050f15e0ac92657dbf63b403d873e87485892d2 | refs/heads/main | 2023-01-10T23:07:38.428583 | 2020-11-10T04:02:52 | 2020-11-10T04:02:52 | 309,244,097 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,435 | h | ThumbnailExporter.h | // Copyright 2018 Lian Zhang, All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Modules/ModuleManager.h"
enum ImageExportResolution
{
Res_64,
Res_128,
Res_256,
Res_512,
Res_1024
};
enum ImageExportMethod
{
ExportBySelected,
ExportByPath
};
class FToolBarBuilder;
class FMenuBuilde... |
0f22025caf6e6b26cf10ec6c6b8b2dabefaca97c | 792431c821430beb85539ee5a9cb57b9ed06cc49 | /src/layer/Layer.cpp | 29737d0d01a8a7bca3b8967ebac6bbf790f993ee | [] | no_license | louisfaury/basic_ffnn | f8504e979e1ba221f527afb5b8dbebc40b2e87c6 | 974ef8c1b8771b145bf6316d76024f2e4cdb94c9 | refs/heads/master | 2021-01-25T04:27:23.539952 | 2017-08-12T14:29:48 | 2017-08-12T14:29:48 | 93,443,704 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,159 | cpp | Layer.cpp | /* file : Layer.cpp
* author : Louis Faury
* date : 08/06/17
*/
#include "Layer.h"
#include "assert.h"
using namespace Eigen;
Layer::Layer() : m_size(0)
{
}
Layer::Layer(int size) : m_size(size)
{
}
Layer::~Layer()
{
for (NeuralArrayIt it = m_neurons.begin(); it != m_neurons.end(); it++)
{
delet... |
c0c1dca77db3b8de202ec3a903300a81d8bb9471 | 5e50fcdef7ac87b11e61c27613b73b2e9891271e | /Queue ADT/Queue ADT/Source.cpp | 56481b0f9e34cfaee645d6c446cf9aa666cfd1ab | [] | no_license | BilalAli181999/Data-Structures-in-C_Plus_Plus | 70dfd4b8d7dc72a69ff1d797f584517b3e4f80a1 | bbe6dad9763cd863c53086791f8b6bc4be09eaa7 | refs/heads/master | 2020-07-16T05:02:04.436346 | 2019-09-01T20:03:11 | 2019-09-01T20:03:11 | 205,724,906 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 213 | cpp | Source.cpp | #include<iostream>
#include"Queue.h"
using namespace std;
int main()
{
Queue<int> q;
q.enQueue(99);
q.enQueue(13);
q.enQueue(14);
q.enQueue(15);
q.enQueue(16);
cout << q.deQueue();
cout << q.deQueue();
} |
177307527a4b374951473edd1128adcbb8516519 | cd237df71037057ed484e26c196fca589404c939 | /rkclib/NumStr.h | d5b4ccf6bf54d304ef7bbeda5c23609f52182217 | [
"MIT"
] | permissive | elasota/ricochet | 85afa454c6a42b15ea99b6a36f1a6b8655e835f6 | 6c9687738e545c89a4bde94a4118aec40e0c3797 | refs/heads/main | 2023-05-30T22:58:09.085811 | 2021-06-30T04:44:02 | 2021-06-30T04:44:02 | 381,576,898 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 655 | h | NumStr.h | #pragma once
#include "Vector.h"
#include "BigUDecFloatProto.h"
namespace rkci
{
class Result;
template<class T> class ResultRV;
struct IAllocator;
template<class... T> class Tuple;
template<class T> class ArraySliceView;
class NumStr
{
public:
typedef rkci::Vector<uint8_t, 32> NumStrString_t;
explicit... |
9e2e86710f5c68f818eeae2d29237d9e5309191a | e56bf2c4b199e4a88e5894f71b191db3cccd62d1 | /conf_crawler/extractor/gen-cpp/StaticLinkBaseService_server.skeleton.cpp | 8d01d9a88ae0f64f4726bc5961309c2c335db65f | [
"Apache-2.0"
] | permissive | seshucalypso/crawler_cpp | 5155fa4f23913647618dff678f1856b33d9cf1ae | e0c8dba77233005b1ab13731d1cbcce274b70778 | refs/heads/master | 2021-06-14T20:24:50.112279 | 2017-04-06T07:45:13 | 2017-04-06T07:45:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,338 | cpp | StaticLinkBaseService_server.skeleton.cpp | // This autogenerated skeleton file illustrates how to build a server.
// You should copy it to another filename to avoid overwriting it.
#include "StaticLinkBaseService.h"
#include <thrift/protocol/TBinaryProtocol.h>
#include <thrift/server/TSimpleServer.h>
#include <thrift/transport/TServerSocket.h>
#include <thrift... |
47715210487c54d087ecfe9af5887d4152ccd657 | 7a8a90dab1a7ebb99a1d71d160ada1ce73e916d6 | /XafsM.cpp | 3501f3761e962f64586c94f222505e44888e2710 | [] | no_license | mtab3/xafsm2 | 95f5823f79f43105bc7ceef50746cc1f0cb3d623 | 46c6debf633d215de51eff9e150c61ff333155a1 | refs/heads/master | 2021-01-10T06:50:22.514830 | 2015-05-25T08:44:02 | 2015-05-25T08:44:02 | 46,334,410 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,219 | cpp | XafsM.cpp | #include <QtGlobal>
#include <QSplashScreen>
#include <QStyleFactory>
#include <QApplication>
#include <QTranslator>
#include <QTextCodec>
#include <QDebug>
#include <stdio.h>
#include "XafsM.h"
#include "MainWindow.h"
#include "Atoms.h"
QSplashScreen *ShowSplashScreen( int m, int d );
enum LANG { English, Japanese... |
9959676362b153c89bc2f0404a39087d51982c1d | 76171660651f1c680d5b5a380c07635de5b2367c | /SH6_43mps/0.48/rho | fda8e35572b2a6e1601146db3bd98ee98198aee1 | [] | no_license | lisegaAM/SH_Paper1 | 3cd0cac0d95cc60d296268e65e2dd6fed4cc6127 | 12ceadba5c58c563ccac236b965b4b917ac47551 | refs/heads/master | 2021-04-27T19:44:19.527187 | 2018-02-21T16:16:50 | 2018-02-21T16:16:50 | 122,360,661 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 132,260 | rho | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.x |
... | |
8453addf481bc748ac33a76dd2927c3f7db83bc5 | 2960893dc3a549f34eaf40a3ab78673fc0f05156 | /src/execEngine/ThreadPool.h | 5c5a8f230bc5a98eff204fef23f70a0c8e368325 | [] | no_license | SBU-BMI/nscale | dc548aabd53b91bdb8e80244b9da28052cfac5fe | 945c091ceb3452a38f44cb0c3bedbec2188cfd18 | refs/heads/master | 2021-06-28T02:02:29.262063 | 2021-06-16T20:09:01 | 2021-06-16T20:09:01 | 37,320,460 | 8 | 7 | null | 2021-06-16T20:09:02 | 2015-06-12T12:22:18 | C++ | UTF-8 | C++ | false | false | 2,012 | h | ThreadPool.h | /*
* ThreadPool.h
*
* Created on: Aug 18, 2011
* Author: george
*/
#ifndef THREADPOOL_H_
#define THREADPOOL_H_
#include <stdio.h>
#include <stdlib.h>
#include <vector>
#include <pthread.h>
#include <semaphore.h>
#ifdef _MSC_VER
#include "time_win.h"
#else
#include <sys/time.h>
#endif
#include "ExecEngineC... |
3804ba1e9dce224fe07fad73bd6dca16bbf91d3d | 42f5c2263e9ad7955303022b35bad8fafb788ae9 | /magloop_pico.cpp | 1c04006c4ee15f23c190039d3ed5d5f27ef366b8 | [
"MIT"
] | permissive | bowlingb/magloop_pico | 7f1b0bac4ff27f4730b8ee820fc903138ac59ad6 | 951d6d55eaba92596ed4a314287a81133e844719 | refs/heads/master | 2023-05-14T23:48:55.864328 | 2021-06-04T10:01:49 | 2021-06-04T10:01:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,218 | cpp | magloop_pico.cpp | // A "proof of concept" project to replace the STM32F103 "Blue Pill"
// which is used in the "Magnetic Loop Controller" described in the book
// "Microcontroller Projects for Amateur Radio by Jack Purdum, W8TEE, and
// Albert Peter, AC8GY" with the Raspberry Pi Pico.
// The project is to modify the Adafruit_ILI9341 to ... |
25f5a3a271d9ccfcb67f231f9dab02ef56076af1 | 27bfbd6ac1460a4f515cced4c6f6445e6e72e25d | /MakeGUID/UserRegisterDlg.h | a11bca1b6a951e11a76442a3699cb4424d50a709 | [] | no_license | Ivanhan2018/MakeGUID | 0f8e811ce0e6eacdaa72f472314acde0d3789e70 | 5f9d3efcfde1521efe974ce2d47fe34ef2441615 | refs/heads/master | 2022-02-27T09:30:53.674624 | 2022-02-18T10:06:04 | 2022-02-18T10:06:04 | 154,024,614 | 3 | 7 | null | null | null | null | GB18030 | C++ | false | false | 396 | h | UserRegisterDlg.h | #pragma once
// CUserRegisterDlg 对话框
class CUserRegisterDlg : public CDialogEx
{
DECLARE_DYNAMIC(CUserRegisterDlg)
public:
CUserRegisterDlg(CWnd* pParent = NULL); // 标准构造函数
virtual ~CUserRegisterDlg();
// 对话框数据
enum { IDD = IDD_DIALOG_USER_ADD };
protected:
virtual void DoDataExchange(CDataExchange* pDX); ... |
59a08c7a78463c363c7443d3d1b8260fe7ae9a84 | 5f5a5677aaa39f2f3d3cdf16d4d0d4731b9317e1 | /demos/CIELCHColourDemo/Source/Main.cpp | 4263d9219078d74fe133c7976b84e87143db6189 | [
"MIT"
] | permissive | Alatar79/JUCE-CIELCH | ecd54a30526d7e183491aaba75568720e58ae70a | 3b6d9d17ad9f88f037368f35bb447b1fb0aa2863 | refs/heads/master | 2021-01-13T14:37:11.162958 | 2018-08-31T16:34:13 | 2018-08-31T16:34:13 | 48,921,100 | 2 | 0 | null | 2018-08-31T16:34:14 | 2016-01-02T19:25:25 | C++ | UTF-8 | C++ | false | false | 6,066 | cpp | Main.cpp | /*
==============================================================================
This file is part of the CIELCH Colour JUCE module
Copyright 2016 by Alatar79
The CIELCH JUCE module is hosted on github: https://github.com/Alatar79/JUCE-CIELCH
-----------------------------------------------------------------... |
3510d0ea2e40706d4528ad9772a1f2c8044462aa | 83ce02487999b6556d7cdebd68550ebee3d8b8d9 | /include/nontemplate_entitymanager.ipp | f7f796c1b6aa31427744643256ac26d4e59814c2 | [
"MIT"
] | permissive | benjamin-allen/photon | 4386d7db5c598ff51530909c3076a0bacb1d0c07 | 38faec5753285eb0444e551ee81e6234fd48e6eb | refs/heads/master | 2021-09-03T14:32:07.212231 | 2017-09-06T23:08:26 | 2017-09-06T23:08:26 | 99,740,837 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,263 | ipp | nontemplate_entitymanager.ipp | // Photon: A fast, simple, open-source ECS library for C++
//
// MIT License
//
// Copyright(c) 2017 Benjamin Allen
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files(the "Software"), to deal
// in the Software without restriction, i... |
9baadef0787bbb3073d6454ae1a7db1a870dd244 | 12ce713c46fe2e6ee2f29cfb3759050fccb201b9 | /android_test/android_test/android_test.NativeActivity/src/GameSystem.cpp | a7cded51b28b0648614f9e252f593e7e0a278722 | [] | no_license | feveleK5563/android_test | 38b152ed4cf78ddfb8af9c74f4b59634bf2c6039 | e08b50d7ded5cc4416c51d249db0ec4b4ba43daa | refs/heads/master | 2020-09-06T22:28:41.771248 | 2019-11-09T15:56:14 | 2019-11-09T15:56:14 | 220,574,651 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,803 | cpp | GameSystem.cpp | #include "GameSystem.h"
#include "DxLib.h"
#include "Fps.h"
#include "SystemDefine.hpp"
#include "TaskSystem.h"
#include "ImageLoader.h"
#include "ShaderManager.h"
#include "Utility.h"
#include "Task_Bg.h"
#include "Task_Chikuwa.h"
GameSystem::GameSystem(){}
//-----------------------------------------... |
12bee160b9b26c909729fda000d433b4280d21da | 37302275aff7f8d634297b5d87f4bab40672da33 | /src/ObjectPooling/src/Allocator.hpp | cc111bedb69e4d91a78fb10ee764918251fa83bd | [
"MIT"
] | permissive | m1keall1son/MemoryManagement | 9e58b756445effd39a925d74022e654dff095064 | b38b66607e0691b65348a98df751636bac6b91b6 | refs/heads/master | 2021-01-25T13:40:50.116415 | 2018-09-19T15:33:09 | 2018-09-19T15:33:09 | 123,600,280 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,983 | hpp | Allocator.hpp | //
// AllocatorHost.h
// PoolAllocator
//
// Created by Mike Allison on 2/26/17.
// Copyright (c) 2017 Mike Allison. All rights reserved.
//
#pragma once
#include "ObjectTraits.hpp"
#include "AllocatorTraits.hpp"
#include "HeapPolicy.hpp"
#define FORWARD_ALLOCATOR_TRAITS(C) \
typedef typename C:... |
5c061a8969b212262d9044dd6c1eae19ca543134 | 8da33704014b150b27eff3932f276ad7ec3e0216 | /zetasql/common/proto_helper_test.cc | 68b3db9097b73ac62b56648e13c77f5f29983db3 | [
"Apache-2.0"
] | permissive | georgewfraser/zetasql | 2e646eba2d1c88fd37f067c32be48c42eac1e1de | 1ff78deddd2e5abe2ae64117ad04176d52f5724d | refs/heads/master | 2021-07-13T23:32:39.856333 | 2020-11-28T23:45:09 | 2020-11-28T23:45:09 | 226,554,052 | 0 | 1 | Apache-2.0 | 2019-12-07T17:51:12 | 2019-12-07T17:51:11 | null | UTF-8 | C++ | false | false | 8,074 | cc | proto_helper_test.cc | //
// Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to ... |
91b7845094840d991e8f600b28c9ab1f82ac5b7d | 254c4ed40a61fca41ba688d821ca6db8b2c1ad36 | /atcoder/arc116/_a/a.cc | 22d8c2c0368cc9be87efef15e7ee2a84a47be3a0 | [
"MIT"
] | permissive | candywater/ProCon | a52341a3d84a99e7a148cd32671e1478f8cc9445 | 7e994d67e5efdf7ac0b1bee5e0b19b317f07e8af | refs/heads/master | 2021-07-12T15:29:05.538106 | 2021-03-30T13:19:58 | 2021-03-30T13:19:58 | 43,762,018 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,711 | cc | a.cc | #include <algorithm>
#include <climits>
#include <iostream>
#include <stack>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>
#define rep(i, n) for (size_t i = 0; i < (size_t)(n); i++)
#define rep2(i, s, n) for (size_t i = (s); i < (size_t)(n); i++)
#define rep3(... |
8d5b0f1ef819adf463a22e433a3a48aea0c0c6d4 | 2eeb446f7f34bdb75d148161da3ffae35c55645e | /TOANDFRO.cpp | 9886753f4d4ba9283806b822d9787d5f77c66574 | [] | no_license | Shadowfox38/SPOJ | 507eb5a9459bd3c350cfa06d0d63373a65270660 | 2b02ed6a68b21a30ce9679c6fbc35d5997a42f6b | refs/heads/main | 2023-03-20T16:38:11.457241 | 2021-03-15T06:34:12 | 2021-03-15T06:34:12 | 347,862,062 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,101 | cpp | TOANDFRO.cpp | #include<iostream>
#include<vector>
#include<cmath>
#include<algorithm>
#include<string>
using namespace std;
void display(vector<auto> vi)
{
for(int i=0;i<vi.size();i++)
{
cout<<vi[i];
}
cout<<endl;
}
#define reset "\033[0m"
#define black "\033[30m"
#define red "\033[31m"
#define green ... |
70cc2b02a21e2ed80a6a98928d6d991866f8bfa1 | 318a7bb3a195e6a9558228a338daab2ae6de5bc9 | /nozomi/Classes/extend_nodes/CCImageLoader.h | 649310e8689ca167a4944563cee625d377d022fe | [] | no_license | liyonghelpme/iosNozomiVideo | c0ce18e7393d35dca50e0e9b92ab5b682c959b12 | b385f23363497eebea7e255b9fb53cdbb6d375b8 | refs/heads/master | 2020-12-24T17:54:52.769236 | 2013-07-06T06:02:04 | 2013-07-06T06:02:04 | 10,520,426 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 823 | h | CCImageLoader.h | #ifndef __CAESARS_NODE_CCIMAGELOADER_H__
#define __CAESARS_NODE_CCIMAGELOADER_H__
#include "cocos2d_ext_const.h"
#include "base_nodes/CCNode.h"
#include "textures/CCTexture2D.h"
NS_CC_EXT_BEGIN
typedef struct
{
char* imageFile;
char* plistFile;
CCTexture2DPixelFormat format;
} LoadImageItem;
clas... |
a6643d2a7454bbe4838e043de2702d4192afd2f4 | 5353bc9619cd5591aa1affb4d7945f814db7487e | /ngx_http_hi_module/lib/php-x/base.cc | 1c6d0de13f10ede1b6bd2103f756ac9dceb08760 | [
"BSD-2-Clause"
] | permissive | skyformat99/hi-nginx | 56c263121228cb613650123c5bcf52a97ba61cf9 | 663bb367aa3c6051abd36acd60fb0e09025186da | refs/heads/master | 2021-05-10T15:24:59.544311 | 2019-01-06T14:23:59 | 2019-01-06T14:23:59 | 118,550,256 | 0 | 0 | NOASSERTION | 2018-12-04T00:14:05 | 2018-01-23T03:07:58 | C | UTF-8 | C++ | false | false | 9,226 | cc | base.cc | /*
+----------------------------------------------------------------------+
| PHP-X |
+----------------------------------------------------------------------+
| Copyright (c) 2016-2017 The Swoole Group |
+--------------... |
de01567f78395f83c6c888eb8512841b289a8125 | 51d247e7b283ef3733dafc8bba7546c5e30d710f | /Test02.h | 20beb66dec8e4f7be87e165fac0cceebc7d878d3 | [] | no_license | kij0156/08_28_Test | 6f2cbfde3478d6b4da917ccb77b96c9ab4cc813c | 8b50f9a23da8403242a91e970174731db08bdd1f | refs/heads/master | 2020-07-12T20:50:08.942928 | 2019-08-28T10:16:45 | 2019-08-28T10:16:45 | 204,903,743 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 64 | h | Test02.h | #pragma once
class Test02
{
public:
Test02();
~Test02();
};
|
8168edea8d83d212a5c0144ebce55c208c58b3ed | b3ab39f35766be26469cba75b6e7a6a6b5cf5d9d | /source/Engine/Engine.hpp | dedce281d40a56171470083f8b804e0cad1de387 | [] | no_license | simonjamespratt/Aleatoric | bc61802f2eb45a6f25e265f6774f377b1174f56e | 31057d405e83588f89de1418e334c1d0a657a04a | refs/heads/master | 2023-03-28T01:35:40.641374 | 2021-03-19T18:24:41 | 2021-03-19T18:24:41 | 218,398,291 | 0 | 0 | null | 2021-03-06T18:50:48 | 2019-10-29T22:51:44 | C++ | UTF-8 | C++ | false | false | 235 | hpp | Engine.hpp | #ifndef Engine_hpp
#define Engine_hpp
#include <pcg_random.hpp>
namespace aleatoric {
class Engine {
public:
Engine();
pcg32 &getEngine();
private:
pcg32 m_engine;
};
} // namespace aleatoric
#endif /* Engine_hpp */
|
64ef1fd68421a461d20b618cabcb4afc279404b7 | 6473ddedee678813fb1db5c93a9b4b8048d6fa90 | /src/main.cpp | 6cefe3775aab68c9bfafb505528cf4b04f29e75c | [
"MIT"
] | permissive | mikeswhitney33/img-viewer | 9cf4122d54996daaabec9dd8673e02b1e164ba1a | bdc7471abd62281a942b251d9afbc555d4ad3d7c | refs/heads/master | 2020-09-05T15:50:10.435035 | 2019-11-07T04:06:20 | 2019-11-07T04:06:20 | 220,148,253 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,262 | cpp | main.cpp | #include <glad/glad.h>
#include <GLFW/glfw3.h>
#define STB_IMAGE_IMPLEMENTATION
#include <stb_image.h>
#include <iostream>
unsigned int loadGeometry();
unsigned int loadShader();
unsigned int loadTexture(unsigned char *data, int channels);
void framebuffer_resize(GLFWwindow *window, int w, int h);
int offsetx, offs... |
21d6beca43b5a04bb1f213ed1231bc5da406b174 | 903cbd58c474f8961e395b26396be92dcd8efe03 | /build-QtRegistration-Desktop_Qt_5_6_3_GCC_64bit-Debug/ui_chat.h | aa3ed29d84ed9a38097c138800209464998bfc6f | [] | no_license | ayrtonlr/dorime | 892103b0803411e16f19d376f8fc06c490d8c398 | 00d01a0f14c0c4cfa6ae0366a9a7a0980f3133e3 | refs/heads/master | 2022-02-08T22:13:40.914302 | 2017-12-11T15:09:22 | 2017-12-11T15:09:22 | 108,767,720 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,030 | h | ui_chat.h | /********************************************************************************
** Form generated from reading UI file 'chat.ui'
**
** Created by: Qt User Interface Compiler version 5.6.3
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
**********************************************... |
ca22b416b2110bb2c6dad6811376c47690a35b74 | c7936083a966b9a989b4494a69b977aab1dfe6f3 | /Application/plaform_tools.cpp | 6a7d17db14d47db3a0fd535b2f1422faf4bd4a6c | [
"Zlib"
] | permissive | JeffM2501/TestFrame | 6092493242e1db40c1fdca25045d144f308af6d8 | d488fb43f1104c0637a56e3a0902957de7dc9bfd | refs/heads/master | 2023-07-10T17:52:26.727513 | 2021-08-29T01:02:11 | 2021-08-29T01:02:11 | 374,242,296 | 23 | 4 | Zlib | 2021-09-06T04:01:03 | 2021-06-06T01:13:54 | C++ | UTF-8 | C++ | false | false | 1,644 | cpp | plaform_tools.cpp |
#include "platform_tools.h"
#include "../clip/clip.h"
std::string OpenFileDialog(const char* filename, std::vector<std::pair<std::string, std::string>> filterValues);
std::string SaveFileDialog(const char* filename, std::vector<std::pair<std::string, std::string>> filterValues);
namespace PlatformTools
{
void C... |
8ae0ad581de8dad7dfc9c1953c8816d72dc2cbb4 | ed37dfa38bac315b755aebdf8a77ccdfe99b0c5f | /FileManager.h | 9615629368cbd9110f3c51a6e282dc433ec72d96 | [] | no_license | Gaffelmannen/BasicBank | fc4b3267cfbbf22ab64998585a25a41ad79f2286 | 49107a19288eab046d198786a6c2d48a7c42b8aa | refs/heads/master | 2022-04-23T08:13:11.870473 | 2020-04-28T09:59:06 | 2020-04-28T09:59:06 | 258,707,946 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 656 | h | FileManager.h | #ifndef FILE_MANAGER_H
#define FILE_MANAGER_H
#include <iostream>
#include <fstream>
#include <string>
#include <filesystem>
#include <vector>
#include "Account.h"
using namespace std;
class FileManager
{
private:
static const std::string BASE_DIR;
static const std::string ACCOUNT_FILE_HEADER;
st... |
25548a2034f3861ba9396a8d48e561ab687757ea | 3abbb2ce88f9087d3b270aeb384a6dbdc1fad888 | /4Sum.cpp | ca85d98574db361270a92ca2448b17d81b24bbd5 | [] | no_license | liulin2012/myLeetcode | 262c8023ee2021dac02e5b055c0b071b5104f3c0 | 8a87da475a5206df5c33bfa6fdbab2042ca03a1a | refs/heads/master | 2021-01-10T19:39:11.414637 | 2015-12-04T20:16:31 | 2015-12-04T20:16:31 | 30,717,188 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,235 | cpp | 4Sum.cpp | class Solution {
public:
vector<vector<int>> fourSum(vector<int>& nums, int target) {
vector<vector<int>> result;
if (nums.size() < 4) return result;
sort(nums.begin(), nums.end());
int start, end;
for (int i = 0; i < nums.size() - 3; i++) {
for (int j = i + 1; j ... |
4b9633bd66593af04b68e30193f937c74c73f8d6 | 34ad34fb18ae96298db85589587285056f1d2aa6 | /백준/Gold/2098. 외판원 순회/외판원 순회.cc | 859e943f0c355f29827608cfb18498ee7bb2c806 | [] | no_license | SeonghyeonKim/BOJ | 2a473ac232ab95b12ae9f46b2dbbbc1d31de6929 | 1dbd78b797ca487555fa4b18558210e5ce4cbb94 | refs/heads/master | 2023-09-02T18:51:55.842309 | 2023-08-26T16:05:54 | 2023-08-26T16:05:54 | 173,932,904 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 876 | cc | 외판원 순회.cc | #include <iostream>
#include <cstring>
#define INF 987654321
using namespace std;
int N, visit;
int board[16][16];
int cost[16][1<<16];
int dfs(int node, int visited) {
if(visited == visit) {
if(board[node][0]==0) return INF;
return board[node][0];
}
if(cost[node][visited] != -1) return cost[n... |
be1c557bf5bf4397aaccaaec39e466fb5cd440c0 | 3f6ee25f2036e902aba03aaa51ab52b7b5d9b423 | /threadpool/threadpool.h | 23db15e45b51543b4e07f7a0ed47b8570f612abe | [] | no_license | liuguiyangnwpu/parallel | 1d28525eb538af53e3e8abb85cb0bec929574ad8 | ff76b8ee9c149262426bcf0d9bbe570bae9f87d2 | refs/heads/master | 2021-01-17T11:44:16.291194 | 2017-03-16T03:48:56 | 2017-03-16T03:48:56 | 84,044,142 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,499 | h | threadpool.h | #pragma once
#include <pthread.h>
#include <unistd.h>
#include <deque>
#include <iostream>
#include <fstream>
#include <vector>
#include <errno.h>
#include <string.h>
#include <string>
#include <map>
#include <set>
#include "mutex.h"
#include "task.h"
#include "log/log.h"
/*
* This thread pool not manage the memory... |
a97aff13d08c2fe7567af8c5aa9a480aab9f8168 | a55b00eb64b0658de52e9d9892f49e0739237d0b | /sample/src/pipeline_with_params.cpp | 6d11ff9a11ec901f1170fd2311b147f5916b9841 | [
"Apache-2.0"
] | permissive | intel/ros2_openvino_toolkit | 4eda6723452b909c1aa4541ed9f27744f1243e5f | 33485e9b3c8ff2286522925cccba57ac72bf3641 | refs/heads/master | 2023-08-20T00:57:56.423218 | 2023-04-21T08:59:07 | 2023-04-21T08:59:07 | 148,517,341 | 155 | 103 | Apache-2.0 | 2023-09-11T07:23:45 | 2018-09-12T17:32:50 | C++ | UTF-8 | C++ | false | false | 3,538 | cpp | pipeline_with_params.cpp | // Copyright (c) 2018-2022 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... |
40fe68f500c7dfc2782371078b5538ed17a5f386 | e6df870cba4bc77eb6a86d03920bd6d874a719f5 | /app/src/main/jni/sondmusic/Mp3Encoder.cpp | d5fc905511a9cfa387df35b4b44d18bc9e7d0380 | [] | no_license | xingfeng2010/MultiMediaLearn | e0dc5217cdc763ed733609f7c22ce9fbca321a22 | 9cb20e533753936d662e9363fa0d9ef887732839 | refs/heads/master | 2021-11-06T08:11:17.964354 | 2021-11-02T08:09:03 | 2021-11-02T08:09:03 | 178,679,291 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,197 | cpp | Mp3Encoder.cpp | //
// Created by 李世星 on 2019/3/31.
//
#include "com_player_xingfeng_multimedia_Mp3Encoder.h"
#include "mp3_encoder.h"
Mp3Encoder* encoder;
JNIEXPORT void JNICALL Java_com_player_xingfeng_multimedia_Mp3Encoder_encode(JNIEnv *, jobject) {
LOGI("My Audio Encoder!!!");
encoder->Encode();
}
JNIEXPORT jint JNICALL... |
917d101d8e95e1f4e1ecbdc1e2425c83879c77f9 | 6e69eaf63109c10d434e5c8dcd4ffa16df26e2eb | /src/map_editor/export.cpp | 593b2d713307a3c1f19ea26e6eb7d163771a31ea | [] | no_license | UIKit0/dont-stop-running | 5e390473f6130724a0a9989d90c8376e00ef1fbd | 89635714375234dc3365b468ad27a9f76295d7fb | refs/heads/master | 2021-01-15T21:29:18.999842 | 2015-01-31T13:35:38 | 2015-01-31T13:35:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,696 | cpp | export.cpp | #include "export.h"
#include <fstream>
#include <rapidjson/stringbuffer.h>
#include <rapidjson/writer.h>
#include "../engine/game_objects/static_tile.h"
using namespace std;
using namespace rapidjson;
namespace dsr {
template<typename T, typename V>
static void appendMember(Writer<T> &w, std::string membe... |
cbb6e3b392ec136830078f4e5a61af8e847daf29 | dc5fd9e482bd87d72695b14b9e0fd383b2ee9dcf | /src/lib/word.cc | 3c1978458f50e3e9123bc11a8257629f3bfcc94a | [] | no_license | Ambier/crf | 34dbe42e0c1468480a1222d64f46cf04cb451196 | 4cb7c8c3ef0537fe519d27a778e5a6272545069f | refs/heads/master | 2020-05-25T16:39:44.036071 | 2013-04-16T08:39:19 | 2013-04-16T08:39:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 430 | cc | word.cc | #include "base.h"
#include "hash.h"
#include "hashtable/entry.h"
namespace NLP {
typedef Util::hashtable::StringEntry<uint64_t> WordInfo;
uint64_t Word::_freq(void) const {
return reinterpret_cast<WordInfo *>(_id)->value;
}
uint64_t Word::_index(void) const {
return reinterpret_cast<WordInfo *>(_id)... |
4dbee8081e527c718faf5dd64ee6c11213c1c614 | d8faabd4088404d871236bd001c82494d0509e53 | /GenBST.h | 9cbc99b8e651ecb2a3f5e7f3f2ea83cf19a2c834 | [] | no_license | adillon3/CPSC-350-Assignment-5 | 0e7ef7eb67dd2e658cc8e3966a8222a3ba31f468 | 948a344281f153448df20372aac4e99161a32dd8 | refs/heads/master | 2023-01-24T13:51:54.870837 | 2020-12-05T07:59:15 | 2020-12-05T07:59:15 | 318,114,045 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,110 | h | GenBST.h | /*******************************
* Andrew Dillon
* 2382400
* CPSC 350
* Assignment 05
*******************************/
#ifndef GENBST_H_
#define GENBST_H_
#include "TreeNode.h"
template <class x>
class GenBST
{
public:
GenBST()
{
root = nullptr;
}
GenBST(const GenBST &other)
... |
d52843edeaa82a2ad8801ca4cb5cf00de9196ffa | f624f88cde99a35da8025c117c694afaa036815f | /concurrency-scheduler-montaserja/time.h | 8dcd90c6b97243e556f46317c386fec90065029a | [] | no_license | montaserja/EXTProjects | 1288ab61a7e96f4d2eae546112f85d93f784cde2 | c2d134d6e71ceb1a25434103d6d86d94a74226a5 | refs/heads/master | 2022-12-22T11:28:06.996006 | 2020-09-10T16:51:05 | 2020-09-10T16:51:05 | 294,458,229 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,468 | h | time.h | #ifndef __TIME_H__
#define __TIME_H__
#include<time.h>
class Time {
public:
Time(unsigned int time);
~Time();
void now();
Time operator+(Time const & other);
Time operator+=(unsigned int & other);
time_t get_time() const;
private:
time_t m_time;
unsigned int u_time;
};
bool operator<=(Time const & ... |
c28eef908874fe7b9768d0f274249c0931c0ebd8 | 3114f5a15dfda238526b144e170bc3707a066cf7 | /ludo/Source.cpp | 3825a3dbb674105cef0a94568e91c1f8fd4d5e97 | [] | no_license | M-K-Arshad/Snake-and-Ladder | 6df2bb84cb18e969d95c3874e31b7bdca8733bd6 | 233b83b23ce7df7ce8a212c13117f669ddf02421 | refs/heads/main | 2023-05-13T06:38:28.138848 | 2021-06-06T19:11:08 | 2021-06-06T19:11:08 | 374,430,403 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,532 | cpp | Source.cpp | #include <cmath>
#include <iostream>
#include<fstream>
#include <string>
#include <time.h>
#include <conio.h>
#include "mygraphics.h"
#include "myconsole.h"
using namespace std;
int board[10][10];
COLORREF black = RGB(0, 0, 0);
COLORREF white = RGB(255, 255, 255);
COLORREF random = RGB(0, 0, 0);
COLORREF random1 = RGB(... |
21c005fc1a725a63ad553b6b7ffa891f251bd6e1 | a831a62b4a744c8b5315bdeef7ad16af1acf4fb0 | /codes/hdu/2546.cpp | b321c71c6ad3bcf43f0def06319b57d8d93219ef | [] | no_license | Lodour/ACM-ICPC | a93a039d9557a1c24f141363fc98927e0cb79ead | 7c85191f0e0932be3f339696177b483483a394ef | refs/heads/master | 2020-04-06T13:11:53.490611 | 2016-09-17T11:53:42 | 2016-09-17T11:53:42 | 42,819,071 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 780 | cpp | 2546.cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
const int maxn = 1010;
int a[maxn], dp[maxn];
int main() {
#ifndef ONLINE_JUDGE
freopen("data.in", "r", stdin);
#endif
int n, m;
while (cin >> n && n) {
for (int i = 0; i < n; i++)
cin >... |
9b0a225c044d1125f033b83fac5e5ff0118c00a5 | 410294010417d6674c3e205ded162b7e6d5eb710 | /data/tplcache/1c75881d83f793dbc0f4d0600a51dcb6.inc | 8845d24a1174bf8d2cb2334b9112ccfcacb67c90 | [] | no_license | wzsx/gw | 44c0fa6e109be1c3e27ec4a860102751f31ec84d | c88e1eb19c3dd04c396bf7abf9cfcf900361b7a3 | refs/heads/main | 2023-06-27T17:53:47.016925 | 2021-07-28T03:44:19 | 2021-07-28T03:44:19 | 390,202,603 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 437 | inc | 1c75881d83f793dbc0f4d0600a51dcb6.inc | {dede:charset}utf-8{/dede:charset}{dede:list}http://www.baitong666.com/zcgs/list_20_[1-14].html{/dede:list}{dede:page}http://www.baitong666.com/zcgs/(*).html{/dede:page}{dede:titlerule} <h1>[内容]</h1> {/dede:titlerule}{dede:authorrule}达丰财务{/dede:authorrule}{dede:sourcerule}整理自网络{/dede:sourcerule}{dede:bodyrule} <div id=... |
8ae1b594706bd256536aeb1233bf3e4db0e4b555 | 359590f39bc97c0d1af3fd62bf7f82607be8fa31 | /src/ui/mainform.cpp | fcf1b86ff2efd322bfa8ffc602fb3a3400d10582 | [] | no_license | danielwolney/SQtify | 24eb66c2eca26fd9aa69d10c2e76926aeb09408f | b6531862677511c6bd251f74932645b84d7f43db | refs/heads/main | 2023-02-09T09:11:25.617311 | 2020-12-19T15:08:26 | 2020-12-19T15:08:26 | 321,770,828 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,533 | cpp | mainform.cpp | #include "mainform.h"
#include "ui_mainform.h"
#include "control/appcontrol.h"
#include "api/searchresult.h"
#include "ui/searchresultwidget.h"
#include "model/playlistmodel.h"
#include "model/localtracksmodel.h"
#include <QInputDialog>
#include <QMessageBox>
#include <QAction>
#include <QIcon>
MainForm::MainForm(Ap... |
05d01ea305a2101dbdea1f3dfd94213794894b0b | 224a3edc1e5271b9f08eb786e0604dbbf7cad045 | /Lua/LuaHelpers.h | 67520582a5257979ba1fa079fec63fcd06587b2d | [] | no_license | kevinhartman/turnt-bloom | df06de39286fee0232698adafde50f7fff8ff653 | 402a7b2d1809a58bff17c1ad17abdf92ad4c5621 | refs/heads/master | 2020-05-17T02:06:40.194856 | 2014-07-14T15:41:47 | 2014-07-14T15:41:47 | 19,090,555 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 694 | h | LuaHelpers.h | //
// LuaHelpers.h
// LuaProject
//
// Created by Kevin Hartman on 4/22/14.
// Copyright (c) 2014 Kevin Hartman. All rights reserved.
//
#ifndef __LuaProject__LuaHelpers__
#define __LuaProject__LuaHelpers__
#include <iostream>
#include <lua.hpp>
class LuaHelpers {
public:
static bool getVec3(lua_State ... |
dbe01219aa532d87714c52173299c62055d88ca7 | 440f814f122cfec91152f7889f1f72e2865686ce | /src/game_server/server/extension/item/request_get_packet_item_template.cc | 34f32781596f48a5148dc566cf0045e8a2e3d7fd | [] | no_license | hackerlank/buzz-server | af329efc839634d19686be2fbeb700b6562493b9 | f76de1d9718b31c95c0627fd728aba89c641eb1c | refs/heads/master | 2020-06-12T11:56:06.469620 | 2015-12-05T08:03:25 | 2015-12-05T08:03:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,224 | cc | request_get_packet_item_template.cc | //
// Summary: buzz source code.
//
// Author: LuXuefeng.
// Email: lxf@gmail.com.
// Last modify: 2013-11-22 21:06:48.
// File name: request_get_packet_item_template.cc
//
// Description:
//
#include "game_server/server/extension/item/request_get_packet_item_template.h"
#include <boost/bind.hpp>
#include "game_serv... |
dae346700d6aeef4d8b71b4ada8976b29d5f5833 | 100b22feb26bcfd49bd71d284fd0ad4386b71a07 | /src/HTTP.h | 02548614d388631d7d919ed79d8b16410e9535a2 | [
"MIT"
] | permissive | sebastianbergt/influxdb-cxx | a79e3f26ae5b814ed0eeb053e4e08c38500369e5 | e7a186ddf11aecae7521dc44b84bcd6b54c374ee | refs/heads/master | 2020-08-21T23:43:49.265523 | 2019-10-20T20:29:02 | 2019-10-20T20:29:02 | 216,273,941 | 0 | 0 | MIT | 2019-10-19T21:41:24 | 2019-10-19T21:41:24 | null | UTF-8 | C++ | false | false | 1,035 | h | HTTP.h | ///
/// \author Adam Wegrzynek
///
#ifndef INFLUXDATA_TRANSPORTS_HTTP_H
#define INFLUXDATA_TRANSPORTS_HTTP_H
#include "Transport.h"
#include <curl/curl.h>
#include <memory>
#include <string>
namespace influxdb
{
namespace transports
{
/// \brief HTTP transport
class HTTP : public Transport
{
public:
/// Const... |
fd9050c02e31afb7e865f899189bb90fafb0ed6a | ad57ffe2372cf614796e316b4865ba02a760acab | /tcs/csp_solver_stratified_tes.cpp | bb6e35b6c84579e34d0fcf5eb73e684868225113 | [
"LGPL-2.0-or-later",
"LGPL-2.1-only",
"BSD-3-Clause"
] | permissive | NREL/ssc | 6208c26a9bbab21d7beca630d61b8640fe073f49 | 38860345e14a14357cf2ad4f1918729a0c7ac0c6 | refs/heads/develop | 2023-08-30T10:09:17.654286 | 2023-08-16T20:27:59 | 2023-08-16T20:27:59 | 94,245,800 | 74 | 84 | BSD-3-Clause | 2023-09-14T20:03:50 | 2017-06-13T18:40:17 | C++ | UTF-8 | C++ | false | false | 48,037 | cpp | csp_solver_stratified_tes.cpp | /*
BSD 3-Clause License
Copyright (c) Alliance for Sustainable Energy, LLC. See also https://github.com/NREL/ssc/blob/develop/LICENSE
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions ... |
e48a26ef44908ecd137e5c75fd7f09ab3b9ff75b | 670ae36ad5a67b14e9214e9627b65248b1851d87 | /Proyecto Tetris/juego.cpp | 55c6882cbc732054642ac3fa48dccbc266f08856 | [] | no_license | lefmejia/EstructurasDeDatos1Periodo52020 | b1c82ca74b30f6ef510f71b19045f226391c6705 | b28d0283c0a81e8c44ca1007e1555ff523ad6314 | refs/heads/main | 2023-01-31T03:47:20.064712 | 2020-12-18T07:55:03 | 2020-12-18T07:55:03 | 305,874,192 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,733 | cpp | juego.cpp | #include <iostream>
#include <string.h>
#include "tapio/rlutil.h"
#include <stdlib.h>
#include <stdio.h>
#include <thread>
#include <termios.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/time.h>
#include <vector>
#include <list>
#include <time.h>
using namespace std;
const int nScreenWidth = 25;
con... |
2457dc3c384782c058317713226f91a1123d4e88 | 1bbfeca83bac53d22b1110ca7f6c9a28bc46c22e | /ru-olymp-train-winter-2009/Submits/0812xx/18_19_42_17_25tC_7192.cpp | 0bc40de49f59bae3d46db793f0668e9d08a31002 | [] | no_license | stden/olymp | a633c1dfb1dd8d184a123d6da89f46163d5fad93 | d85a4bb0b88797ec878b64db86ad8ec8854a63cd | refs/heads/master | 2016-09-06T06:30:56.466755 | 2013-07-13T08:48:16 | 2013-07-13T08:48:16 | 5,158,472 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,757 | cpp | 18_19_42_17_25tC_7192.cpp | #include <cstdio>
#include <iostream>
#include <algorithm>
#include <vector>
#include <set>
#include <map>
#include <string>
#include <cstring>
#include <ctime>
#include <memory.h>
#include <cstdlib>
using namespace std;
#define y1 botva
#define forn(i,n) for (int i = 0; i < (int)n; i ++)
#define ford(i,n) for (int i... |
9178ebf10275618e3627ba26a29894197d62ea3b | bf640267ece25953368eaadd0a2f78aa1854f06a | /outer_player.h | 3fb85c718ff1c8189862cda2d67c0a37b624337d | [] | no_license | salseeg/mir_v2 | 58abfe2d24a2f47601521d04fc4cd3645f137604 | 29505a93efcfe9241f5b0c62a88d2456ef347b67 | refs/heads/master | 2021-01-10T04:00:20.251393 | 2020-04-20T07:46:06 | 2020-04-20T07:46:06 | 50,790,283 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 610 | h | outer_player.h | #ifndef __MIR__OUTER_PLAYER
#define __MIR__OUTER_PLAYER
/**********************************************
*
* Реализация плейера
* для внешней линии
*
**********************************/
#include "player.h"
#include "hard.h"
#include "aux/ring_.h"
class C_outer_player:public C_player{
private:
int line_id;
outer_... |
8b78633fd963b01939a19cc2130c4269c7c2a841 | 13737a10849b184fe9181d48ca1be2ce052d80f9 | /galvininkas.h | de97bb53f8db3e2bb17abe2dbd2874afb7f0de34 | [] | no_license | nepaulius/2uzduotis | 2761ddd333787a0669f774e15566a214e75aa7a4 | bdebaf20c930f89dbc3de0cb135968a627a2b77d | refs/heads/master | 2020-04-23T08:50:41.682620 | 2019-03-26T07:22:48 | 2019-03-26T07:22:48 | 171,049,955 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,654 | h | galvininkas.h | #ifndef GALVININKAS_H_INCLUDED
#define GALVININKAS_H_INCLUDED
#include <iostream>
#include <string>
#include <iomanip>
#include <algorithm>
#include <cctype>
#include <vector>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <fstream>
#include <iterator>
#include <exception>
#include <limits>
#include... |
9b5f3d177d1995cd526a675f9f7f9bd83a80efd1 | ddf3e4b66336a2cdc917016de4efc939355a8bc9 | /include/RemoveTool.h | fec10b81da9f3b3c3095daf0da272fab9623c470 | [] | no_license | nitinagarwal/OnlineSurfaceReconstruction | ea8c6a3c620579f24875722f107fd1535291e7b4 | 5841486c689cc1ce1237b8473f74a6a11f1b61c7 | refs/heads/master | 2021-01-23T06:15:13.242395 | 2017-05-16T15:51:59 | 2017-05-16T15:51:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 789 | h | RemoveTool.h | #pragma once
#include "Tool.h"
#include "Data.h"
#include "Selection.h"
#include "AbstractViewer.h"
//Represents a modification tool that removes points within a user-defined region.
class RemoveTool : public Tool
{
public:
RemoveTool(AbstractViewer* viewer, DataGL& data, float& selectionRadius);
void enterTool();... |
b2630c468bec901c88913cf3353e3a7994bc4261 | 76be8f87437b6e44d0ce9aea37981056a88ba877 | /Game_process.h | 3634269652bac0b203443e9ccc6f5f3870cb0001 | [] | no_license | team-seed/NeoHandUI | b32330b4d2f06d620acb7abab4775652e0a675a3 | 3d0b08fb043f8e1d4add0c73aa7e707e9c54041e | refs/heads/master | 2020-09-05T07:15:56.605218 | 2019-12-03T16:15:42 | 2019-12-03T16:15:42 | 220,022,991 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,788 | h | Game_process.h | #ifndef GAME_PROCESS_H
#define GAME_PROCESS_H
#include <QObject>
#include <QUrl>
#include <QJsonObject>
#include <QJsonDocument>
#include <QJsonArray>
#include <QFile>
#include "Effect_play.h"
#include "Player.h"
#include "Array_effect.h"
struct slide {
int time, left, right;
};
struct note {
int time, gestur... |
226b18e118ba417cee73afc48c3099b84f757e0a | edb6fbf773328b966eb99cb5e747e15894fabe42 | /BattleBoats/HardCodedPersistance.cpp | 6b650e0a3bcef2724468b1be493136d5a327bfef | [] | no_license | cinfusino/BattleBoats-v2 | 6fd184330a6031b70eab6686bd356c2188c1cee7 | 2f506146f02f7099652982ea46c47989f30d512a | refs/heads/master | 2020-04-09T09:37:06.330714 | 2018-12-03T19:04:49 | 2018-12-03T19:04:49 | 160,239,918 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,073 | cpp | HardCodedPersistance.cpp | #include <string>
#include <vector>
#include <iostream>
#include "HardCodedPersistance.hpp"
namespace TechnicalServices::Persistance
{
HardCodedPersistance::HardCodedPersistance()
{}
HardCodedPersistance::~HardCodedPersistance()
{}
std::vector<std::string> HardCodedPersistance::findRoles()
{
return { "Ad... |
f4cf752872aea7164daa1ae0ad92af694c036ef4 | a64a8d76aac2c9a9cba574f7361f055472488557 | /Tugas Lain/trans.cpp | 82cc38c3c8d88495e9eeeadf42abcaf047fc2b27 | [] | no_license | danielsitepu36/Cpp-as-the-first | 10ea28beff8557afecea15e4db5d677ac08e4ee2 | d94b8b7cfe8c3bdb3fbd55fb3cea11ee72534bd6 | refs/heads/master | 2020-07-06T12:49:53.446105 | 2019-08-28T12:29:16 | 2019-08-28T12:29:16 | 203,023,073 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 406 | cpp | trans.cpp | #include<iostream>
using namespace std;
int main(){
int x=6, y=3;
cout<<"PROGRAM MENENTUKAN TRANSPOSE"<<endl;
int a[x][y];
int i,j;
cout<<"Masukkan Matriks Anda ="<<endl;
for(i=0;i<x;i++){
for(j=0;j<y;j++){
cin>>a[i][j];
}
}
cout<<endl;
cout<<"Transpose matriks anda ="<<endl;
for(i=0;i<y;i++){
... |
c61030d25f05dff1a3b4249a63e496e0bca9b55c | 81de7aaf7ba6a591720056ca9771dd0256e2396a | /include/CsShipObject.h | f469b46c05a00fe3c2b266f80d5411038652917a | [] | no_license | SabinT/Wings-Of-Chaos | 9286add428d4a9a76f713bcc9ce6ac2560ace58f | 71359b1287613f82a35997c50a1c6c5882f98581 | refs/heads/master | 2021-01-10T21:45:41.628525 | 2013-11-25T08:37:22 | 2013-11-25T08:37:22 | 13,536,656 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,302 | h | CsShipObject.h | #pragma once
#include <CsDestructibleObject.h>
#include <CsWeaponManager.h>
#include <string>
#include <CsStateMachine.h>
#include <CsEnemyShipStates.h>
// temporary, get parameters for each ship from ship scene file (tinyXML parser)
class CsShipObject : public CsDestructibleObject
{
public:
enum ShipStatus {
ACT... |
4ad2ee1e8ec0a8df59987e273da953770b6ae29b | cc1ff43f71ee5ef3d681eb3ce0aa512352dfb68a | /backup/Intersection.cpp | e6863aa4844d959e3308811647367376644bdbd5 | [] | no_license | imjjs/sumoc- | 3ba389252d3ebeaef30566879dab4666b0cf29f5 | f6f06b9c2ff77cff3ad4d117ca5013cd6d7542cb | refs/heads/master | 2020-12-01T19:57:18.254556 | 2016-09-09T07:01:52 | 2016-09-09T07:01:52 | 67,171,946 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,224 | cpp | Intersection.cpp | #include "config.hpp"
#include "Intersection.hpp"
#include <cassert>
#include <algorithm>
#include <cstdlib>
#include <iostream>
using namespace std;
Direction::Direction(const string& name, int lanes_num):_name(name), _lanes_num(lanes_num), _q_length_list(lanes_num, 0){
}
int Direction::getQLength() const {
i... |
d0a063d74922d0502df48097716765e058de0180 | e29811cd57f7cdb9b499bcde681916dc6148b93d | /Semaphore/Button/Button.cpp | 956016a839b3eac69ac171dd2e0e0a92b1c474b4 | [
"MIT"
] | permissive | tkapin/Semaphore | 9fb1be5ef6fcb176a61e049dfdb3f4aff3cd26c1 | ac7c52d8ebc8bb416698f4e995200750594dbd20 | refs/heads/master | 2020-03-18T05:10:38.217436 | 2018-05-25T22:14:46 | 2018-05-25T22:14:46 | 134,328,262 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 248 | cpp | Button.cpp | /*
* Button.cpp
*
* Created: 2017-03-21 20:55:59
* Author: Tomas Kapin
*/
#include "Button.h"
Button::Button(IoPort *port, uint8_t pin) {
_port = port;
_pin = pin;
// set as input and enable pull-up
_port->SetAsInputAndEnablePullUp(_pin);
}
|
ab66e339a22d8f228ad17ae70fbb93de81fe7b56 | a91946a034e9909dad24a20777447ba4762983a5 | /OptionBase.h | 8a28abea665f043f7fcbeea4bf8648ee6eab3765 | [] | no_license | ashpace/Out-of-money-derivative-pricing-model | 20b563e2141eaf047e1767be647dd17031f3f36a | 5b58e89568747faee11182fbb142e89a0ff06331 | refs/heads/master | 2021-05-07T03:48:34.606672 | 2017-11-16T16:52:10 | 2017-11-16T16:52:10 | 110,997,813 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 999 | h | OptionBase.h | //XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
// OptionBase.h
// By : 1222781
//XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#ifndef OptionBaseH
#define OptionBaseH
//XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#i... |
24a21bf91bd61d2ed0e6fe241815a8aac512371d | 897ef84932251c57a790b75b1410a147b9b64792 | /seqtime.cpp | db5fa932e5ceeed7fdd75c10eed6a76bfd707b6a | [] | no_license | erophames/CamX | a92b789d758e514d43e6fd676dbb9eed1b7b3468 | 56b08ed02d976621f538feca10e1aaa58926aa5a | refs/heads/master | 2021-06-21T21:14:27.776691 | 2017-07-22T11:46:09 | 2017-07-22T11:46:09 | 98,467,657 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 32,513 | cpp | seqtime.cpp | #include "defines.h"
#include "object.h"
#include "seqtime.h"
#include "songmain.h"
#include "audiodevice.h"
#include "object_song.h"
#include "audiohardware.h"
#include "gui.h"
#include "languagefiles.h"
#include "arrangeeditor.h"
#include "semapores.h"
#include "object_project.h"
#include "editdata.h"
#include "chunk... |
3a79ec85cdfe814848b83caa3a23804d4517ad66 | e074bd82ca35ea1a74d34e48be5bd8b9714c80cc | /codechef/CHEGLOVE/cheglove.cpp | 9757eae61a570180b4f6f34297ddc1e217271425 | [] | no_license | justachetan/cp | 07367e8ed75e8b46ade2cf187483ce5fd70a7d46 | c3dc88b5305762b90dc8a098e3d7a71197611c4d | refs/heads/master | 2021-04-06T04:20:34.424442 | 2020-04-14T08:49:16 | 2020-04-14T08:49:16 | 124,506,364 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,077 | cpp | cheglove.cpp | #include <iostream>
#include <vector>
using namespace std;
int main() {
int tests;
cin >> tests;
for(int i = 0; i < tests; i ++) {
vector<int> glove;
vector<int> hand;
vector<int> reverse;
bool front = true;
bool back = true;
int size;
cin >> si... |
53ec559bb82d67bedfd5af5264fb9a6aacde498c | dc37e552f89f1accd2bac2b613a6ffc0bfaf9d79 | /Vector类/Vector.cpp | 5106c848fe25389034e47788c4436b793bea1089 | [] | no_license | carzymad/STL-INITATE | e0c5a4221b4e85d90fa27cef74518b05ff3ad4be | c96d3ff055aaef3a8a214e893f51040e9b0e60da | refs/heads/master | 2021-01-10T13:28:03.281184 | 2016-03-04T12:29:59 | 2016-03-04T12:29:59 | 53,133,769 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 833 | cpp | Vector.cpp | #include "Vector.h"
#include <iostream>
using namespace std;
Vector::Vector()
{
arry = new int[LENGTH+2];
Size = 0;
Length = LENGTH;
}
Vector::Vector(Vector &tmp)
{
Size = tmp.Size;
Length = tmp.Length;
arry = new int[Length];
for (int i = 0; i < tmp.size(); i++)
arry[i] = tmp[i];... |
401befc1f67cefe21169a24924ea4d2dbd4d9208 | 03a373df58e86b016cdbc17d130548b7cc237b0e | /TrabalhoDeCg/mainwindow.cpp | 8deeb45f6570ca476cbc5d6a6369f532282148fe | [] | no_license | dennermiranda/Computer-Graphics-Project | 316e69a42159d0663a6cec7f1e44f517819666c9 | bafd842ff191f450e516994085edbf03e4a2199a | refs/heads/master | 2021-03-27T10:30:54.182245 | 2016-12-22T18:46:14 | 2016-12-22T18:46:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,429 | cpp | mainwindow.cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include <iostream>
#include <string>
#include <limits>
#include <cmath>
#include <cstdlib>
#include <cstdio>
#include <ctime>
#include "primitive.h"
#include "vector.h"
#include "ray.h"
#include "camera.h"
#include "material.h"
#include "color.h"
#include "light.h"
... |
f455aa600a10e1d477af5ac36b2999c90464e275 | ba4db75b9d1f08c6334bf7b621783759cd3209c7 | /src_main/game/shared/tf/tf_weapon_shovel.cpp | b0414d30df40e6ba453395d5f7ff031875e7bad4 | [] | no_license | equalent/source-2007 | a27326c6eb1e63899e3b77da57f23b79637060c0 | d07be8d02519ff5c902e1eb6430e028e1b302c8b | refs/heads/master | 2020-03-28T22:46:44.606988 | 2017-03-27T18:05:57 | 2017-03-27T18:05:57 | 149,257,460 | 2 | 0 | null | 2018-09-18T08:52:10 | 2018-09-18T08:52:09 | null | WINDOWS-1252 | C++ | false | false | 1,134 | cpp | tf_weapon_shovel.cpp | //====== Copyright © 1996-2005, Valve Corporation, All rights reserved. =======
//
// Purpose:
//
//=============================================================================
#include "cbase.h"
#include "tf_weapon_shovel.h"
#include "decals.h"
// Client specific.
#ifdef CLIENT_DLL
#include "c_tf_playe... |
155b534590e0fe7ee0cc778e248fbfb32d37b861 | 21ff7dc19b5829a85ef044d9a7bcc01513cdc3ef | /CIRCULAR_LINKED_LIST/LINKED_LIST/Node_Implementation.cpp | e2d68d258d13326f8e534809434afb3a74416d9c | [] | no_license | AbdulWajid768/Data_Structures | fa894ecad8d3a04c05b52e07f0ebad61a04327da | fde5bad6bcf273d896e755e7093059427c0cf771 | refs/heads/main | 2023-03-01T09:50:15.374978 | 2021-02-03T17:54:39 | 2021-02-03T17:54:39 | 335,704,151 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 46 | cpp | Node_Implementation.cpp | #include "Node.cpp"
template class Node<int>; |
b79ef52b00baed44a8a3fa5e609bad3aaf03acf1 | 968e85460cfbf7429b24a910e592d00797a6f908 | /C/HDU/2005.cpp | cb75a394da14f2e099aa4925a6b6977a652b8e58 | [] | no_license | Dodd2013/Study | f54a0360c3debfce9b69d96703c373ea5465a916 | 156ba67ca4fa4486e02ff8d6795118357aaeea1c | refs/heads/master | 2023-01-10T00:19:39.015999 | 2019-08-01T14:16:46 | 2019-08-01T14:16:46 | 80,272,251 | 3 | 1 | null | 2023-01-04T06:00:14 | 2017-01-28T07:28:14 | JavaScript | UTF-8 | C++ | false | false | 307 | cpp | 2005.cpp | #include <cstdio>
int mouth[13]={0,31,28,31,30,31,30,31,31,30,31,30,31};
int main(){
int y,m,d,f,sum;
while(~scanf("%d/%d/%d",&y,&m,&d)){
sum=0,f=0;
if((y%4==0&&y%100!=0)||y%400==0)f=1;
for(int i=1;i<m;i++){
sum+=mouth[i];
}
if(f==1&&m>2)sum++;
sum+=d;
printf("%d\n",sum);
}
return 0;
} |
48d2c046e6b2131e6b2ca783a8d9da26da18e21d | 250a624a85fa14b611ef49468a0396d8bb14070c | /activeminion.h | 8b12380003a92597cdcb141ccaff31ea5e619777 | [] | no_license | bboy8863/Sorcery | 66a2291c08ffebfcd5df77172fda3335d254e777 | 7a99e7f030583e718edd896ee469159dcdbfc096 | refs/heads/master | 2020-03-28T08:33:53.540038 | 2018-09-08T22:29:50 | 2018-09-08T22:29:50 | 147,973,654 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 428 | h | activeminion.h | #ifndef ACTIVEMINION_H
#define ACTIVEMINION_H
#include "minion.h"
class ActiveMinion : public Minion {
protected:
int abCost;
std::string desc;
public:
ActiveMinion(std::string name, int cost, Player * o, Player * e
,int att, int def, int abCost, std::string desc);
card_template_t makeTemplate(int new... |
712c12d76c168a5a605ff10cff2b8bbc395a1063 | b9816ae2b659419183c892fbaf8cad9c2423f1d9 | /src/actionmanager.h | e52663b951aeef772cf82783ff5052c530fccc2c | [] | no_license | petokal/harbour-smscontrol | cbef01a3fdf6d0dd7719c6919cab9c1690b076fa | 2202006ace94cac34459323eeb65849cf54ada4f | refs/heads/master | 2021-06-02T09:28:24.761663 | 2016-06-29T08:13:57 | 2016-06-29T08:13:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 352 | h | actionmanager.h | #ifndef ACTIONMANAGER_H
#define ACTIONMANAGER_H
#include <QObject>
#include "action.h"
class ActionManager : public QObject
{
Q_OBJECT
public:
explicit ActionManager(QObject *parent = 0);
QList<Action *> getActions(qlonglong deviceID) const;
signals:
public slots:
private:
QList<Action *> m_actions;... |
fe20fb0e34c4907ee975dd44684d2da55cbc54df | 591b9c72cbbf0c7390dd12c2d3d2a2fe60dd31ea | /windpyfoam/windPyFoamDict | c9751bf876730ddb52d05ff2cea21016b6103ede | [] | no_license | alon/myOpenFOAMscripts | fb37b70d2e724ecf328e958461c2ed5d4ef73342 | c7796196c93fad38e7b2df6607d1b5abe664022b | refs/heads/master | 2021-01-15T11:34:00.519493 | 2012-12-14T16:02:22 | 2012-12-14T16:02:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,477 | windPyFoamDict | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.1 |
... | |
0266ed57b4913fab0ac2a4718be99c9302f7ef18 | e08379436e5023c15ffc0ab9481c67a3c2fd385a | /calculator2/calculator2/Print.cpp | 018845fba0bab94e7ae67441adffe3de2a92c91d | [] | no_license | huangxusijia/object-oriented | 943f3ba6a935ed03c55dcebeadd49908a72c7102 | 8f41124df8b99ea25da3aee11b1bf62e913882fe | refs/heads/master | 2021-01-21T13:57:58.745006 | 2016-06-05T14:04:14 | 2016-06-05T14:04:14 | 50,351,719 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 313 | cpp | Print.cpp | #include "Print.h"
#include<iostream>
#include<string>
#include<queue>
using namespace std;
void Print::printqueue(queue<string> que)
{
int i;
if (!que.empty())
{
while (!que.empty())
{
cout << que.front() << endl;
que.pop();
}
}
else
cout << "输入有误,请重新输入" << endl;
} |
c349105c1dfbbfa883a4379fbccaee2ab10482d5 | 30986ac6466165e25aa80b782e13c30bfa82174b | /src/yal/interpreter.cpp | cb191417e483424a2735ab7cff7bf7cc33a81b0e | [
"MIT"
] | permissive | zhouqqhh/VLSI_project | 141dc5585017cb3a40419f958962be324f5d2463 | 23c1967674cd4aac3b243161bb0e51487a38a70e | refs/heads/master | 2021-10-11T01:03:23.879199 | 2019-01-20T16:06:48 | 2019-01-20T16:06:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,790 | cpp | interpreter.cpp | /*
* The MIT License (MIT)
*
* Copyright (c) 2014 Krzysztof Narkiewicz <krzysztof.narkiewicz@ezaquarii.com>
*
* 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, ... |
07cd81d583536b1dc3ec33b874c34115cf14e075 | b4bb307b8b72d0c7c6f9c76ad46f0853055417c4 | /old[CPP]/Mytool.h | 859cbc682887abeed8cecd2b7e9d27f0c8160efc | [] | no_license | hlz2516/Mytool | 3e46c94ae64c206a7ff9bf9d081946483761d8f2 | 26cd5365f74cec660750810b47de97c60054dff2 | refs/heads/master | 2021-07-13T04:59:27.522387 | 2021-06-24T17:02:08 | 2021-06-24T17:02:08 | 153,772,656 | 0 | 0 | null | null | null | null | MacCentralEurope | C++ | false | false | 4,386 | h | Mytool.h | //this is a joke
#pragma once
#include <iostream>
#include <iomanip>
#include <stdlib.h>
#include <ctime>
#define random(x) (rand()%x)
/*When your function uses random numbers, call the srand () function in the main function or in the function that calls the random number. The srand () function must be called ... |
4433c4d7d96c2d82dbf6a639e2ab44b907928858 | ba1f470c1f405bbf0d97ee5bad4d9c430427858a | /Code/Engine/Math/Objects/GeomObject.hpp | 9da9040cb4370ce5b800c011c9244eae35b186e1 | [
"MIT"
] | permissive | ntaylorbishop/Copycat | 38b4a36ed9bd35e4518767dea36b49a960697ef6 | c02f2881f0700a33a2630fd18bc409177d80b8cd | refs/heads/master | 2021-07-16T18:05:01.742876 | 2017-10-24T02:09:51 | 2017-10-24T02:09:51 | 91,923,450 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 272 | hpp | GeomObject.hpp | #pragma once
enum eGeomType {
GEOM_TYPE_SPHERE = 0,
GEOM_TYPE_AABB3
};
class GeomObject {
public:
GeomObject(eGeomType type) : m_type(type) { }
eGeomType GetType() const { return m_type; }
private:
eGeomType m_type;
};
GeomObject* CreateGeomType(eGeomType type); |
8f3b254df12db9473145469ccd04a971d99f54af | 2e35347816583741a3808fa81700c03f1bf54004 | /TankStorm/TankStorm/FiredEvent.h | 214303515f4498613cc1a54e9962fe32d18946ec | [] | no_license | JackOfDawn/TankStorm | abd1ec1f558fbb29e5597073812171b6c651ce89 | 75942c8b0d4474783a95a63a56c41beb67ffb786 | refs/heads/master | 2016-09-06T20:09:50.932965 | 2015-04-04T14:48:32 | 2015-04-04T14:48:32 | 33,408,700 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 297 | h | FiredEvent.h | #ifndef FIRED_EVENT_H
#define FIRED_EVENT_H
#include "Event.h"
#include "Vector2D.h"
class FiredEvent : public Event
{
public:
FiredEvent(Vector2D location, double angle, float speed, float accuracy);
~FiredEvent();
Vector2D location;
double angle;
float speed;
float accuracy;
};
#endif |
32fd2e448aefbb4f573fed355797c252614dd474 | bf8e51adccd60a6915b002f619e750052bbeab8c | /Projects/CoX/Servers/MapServer/ScriptingEngine_Null.cpp | 762d9d23a29750d84d0cfdced4310cdc87cfb92d | [
"BSD-3-Clause",
"LicenseRef-scancode-free-unknown",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | teronis84/Segs | 14b796a485d9de3b8bf89273d12c43ec18be1339 | 71ac841a079fd769c3a45836ac60f34e4fff32b9 | refs/heads/master | 2020-03-09T07:57:25.957769 | 2018-04-11T11:33:25 | 2018-04-11T11:33:25 | 128,677,317 | 0 | 0 | BSD-3-Clause | 2018-04-08T20:02:02 | 2018-04-08T20:02:01 | null | UTF-8 | C++ | false | false | 638 | cpp | ScriptingEngine_Null.cpp | #include "ScriptingEngine.h"
ScriptingEngine::ScriptingEngine() {}
ScriptingEngine::~ScriptingEngine() {}
void ScriptingEngine::registerTypes() {}
int ScriptingEngine::runScript(const QString &script_contents, const char *script_name) {return -1;}
int ScriptingEngine::runScript(MapClient * client, const QString &script... |
04e775f926feda2c4b4797c07284929cfb49e9e1 | ddbdbc0ce681558fac8d0fad3a5b346bdb8db561 | /libOpenCL/OpenCLInfos.h | 97959d23ef7238f6323a5404a19e64edd8e2838c | [] | no_license | Trisoil/Regards | 9488f4ee31784490e06a24a136a76a45a09910f9 | 3eda6669f4d1a2043f631f747a6c36fa644c590d | refs/heads/master | 2020-05-07T11:57:03.681785 | 2019-04-09T16:41:14 | 2019-04-09T16:41:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 952 | h | OpenCLInfos.h | #pragma once
#ifdef __APPLE__
#include <OpenCL/cl.h>
#else
#include <CL/cl.h>
#endif
namespace Regards
{
namespace OpenCL
{
class COpenCLInfos
{
public:
COpenCLInfos();
~COpenCLInfos();
// Minimal alignment in bytes for memory used in clCreateBuffer with CL_MEM_USE_HOST_PTR
stati... |
ca86ef937cde2df960cb883d3fec93a2b81a4f59 | 5e6c7783679596dca371a5b15071cdfe99683daf | /tasks/Sorting Strings/Word.h | 03658494f7f31b4b26bac9a17df03d63ed4d2f78 | [] | no_license | Mitkosa333/Learning-C_PLUS_PLUS | e5ad4b0aa653c50c1910f13d5482999c43564d5c | ac3898f96fb921703d2ec8f3954fdef1cfbdc6a2 | refs/heads/master | 2020-03-31T02:56:46.895580 | 2018-10-07T11:28:45 | 2018-10-07T11:28:45 | 151,845,626 | 0 | 0 | null | 2018-10-07T10:39:22 | 2018-10-06T14:02:54 | null | UTF-8 | C++ | false | false | 612 | h | Word.h | #ifndef WORD_H
#define WORD_H
#include <iostream>
const unsigned MAX_SIZE = 15;
const char types[4][MAX_SIZE] = {"NOT_DEFINED","SIMPLE","HASHTAG","DATE"};
enum WordType
{
NOT_DEFINED,
SIMPLE,
HASHTAG,
DATE
};
class Word
{
public:
Word();
Word(const Word&);
Word& operator=(const Word&);
... |
d90dadb25c64d262b14ebce044e3f64c076237af | 929176edaf123ac997847f3f6cc657727fe0681b | /pgis/lib/include/config/PiraIIConfig.h | bc6e24750c1398815d41dfac9312981e08d913a5 | [
"BSD-3-Clause"
] | permissive | tudasc/MetaCG | 080444fa1e051de74a21f4009903bbb970e3cd64 | 71711db1946c27bd50c284b5a8e05569ad03b15b | refs/heads/master | 2023-08-18T17:40:27.464783 | 2023-01-11T21:49:37 | 2023-01-11T21:49:37 | 286,386,642 | 31 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,528 | h | PiraIIConfig.h | /**
* File: PiraIIConfig.h
* License: Part of the MetaCG project. Licensed under BSD 3 clause license. See LICENSE.txt file at
* https://github.com/tudasc/metacg/LICENSE.txt
*/
#ifndef PGIS_PIRAIICONFIG_H
#define PGIS_PIRAIICONFIG_H
#include "nlohmann/json.hpp"
namespace pgis::config {
/**
* Strategies to aggre... |
202667af2020a9d688f876125b47f68b38f131b4 | ad29f5ea29738c7adeb4b6a8abacca0b0fbef8b4 | /tools/catkin_ws/src/linefit_ground_segmentation/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc | 464558e24247359c3a9310fee5181078d2116ceb | [
"BSD-3-Clause"
] | permissive | ccyinlu/OGDT_multi_lidar_calibration | 8381e3b8a4b9785e204fa657dda4673bb70020c5 | 61e8c6306320b6839b81a2cbf4d771d559ac95a2 | refs/heads/master | 2022-11-30T10:19:03.254346 | 2020-08-11T17:01:55 | 2020-08-11T17:01:55 | 283,453,691 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,906 | cc | ground_segmentation_node.cc | #include <ros/ros.h>
#include <pcl/io/ply_io.h>
#include <pcl_ros/point_cloud.h>
#include "ground_segmentation/ground_segmentation.h"
class SegmentationNode {
ros::Publisher ground_pub_;
ros::Publisher obstacle_pub_;
GroundSegmentationParams params_;
public:
SegmentationNode(ros::NodeHandle& nh,
... |
3674f03483b1229dc838b51b1eb12ee6387e132e | 845c6766b13394e9f10094025cc5d86b83463b39 | /Practise/16-Jun-17-Prac/rat_in_a_maze.cpp | 1b556f3da660b2e13fb5f035ad924331f56de62c | [] | no_license | MaximumEndurance/Algo-17 | 47acc274d49e285d97dd2dce23430d9d3860be19 | 87b9219a34dd3ddd7cd8f12076f6b33e7ef39f9d | refs/heads/master | 2021-06-21T05:40:10.173748 | 2017-07-27T15:31:56 | 2017-07-27T15:31:56 | 98,552,569 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 912 | cpp | rat_in_a_maze.cpp | #include <iostream>
#include <algorithm>
#include <vector>
#include <stdio.h>
using namespace std;
int cheese_row, cheese_col;
const int N = 5;
void printBoard(char board[N][N]){
for(int i =0 ;i<N;++i) {
for(int j=0;j<N;++j)
cout<<board[i][j]<<' ';
cout<<endl;
}
}
char maze(char board[N][N], int row, int ... |
a25f6f9d868bcf9a56d294abefc229b73ed3eda2 | dfd6e4bb0a6e6b395f3753e11ec2459c8c3b8adc | /Dot_Engine/src/Dot/Utils/MousePicker.cpp | 3a4c6ea0235b8b51e5064a9f180485a9fb4a7d0e | [
"Apache-2.0"
] | permissive | SimonGido/Dot_Engine | f2bce1d4b85c7aa6bd32afd43618da2b4a29c437 | 1db28c56eeecefaed8aa3f1d87932765d5b16dd4 | refs/heads/master | 2022-04-03T08:37:16.832443 | 2020-02-09T21:30:23 | 2020-02-09T21:30:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,582 | cpp | MousePicker.cpp | #include "stdafx.h"
#include "MousePicker.h"
#include "Dot/Core/Input.h"
#include "Dot/Core/Application.h"
#include <glm/gtx/transform.hpp>
#define RAY_RECURSION_COUNT 200
#define RAY_RANGE 400
namespace Dot {
MousePicker::MousePicker()
: m_CurrentRay(glm::vec3(0))
{
m_RayRange = 400;
}
void MousePicker::Ca... |
6843034de32db444c0e3cf82e717faad0ddb62b4 | 506d3798f4b191d91bc9ed88aa1a437b4cabe5c4 | /homepagedialogue.cpp | 1aab66e5ba79461e50738aa3463026b3b081f840 | [] | no_license | shihabshahriar16/Social-network-with-messenger | 7607039f66bf58b59cdb80d0cd543dfd5cf25f00 | 392a896a387bafa24c74bf4b6580b4bd0e46a3ec | refs/heads/master | 2020-07-19T07:35:16.574744 | 2019-09-05T08:51:25 | 2019-09-05T08:51:25 | 206,402,968 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,017 | cpp | homepagedialogue.cpp | #include "homepagedialogue.h"
#include "ui_homepagedialogue.h"
#include "profiledialogue.h"
#include <QtCore>
#include <QtGui>
#include <QMessageBox>
#include "user.h"
#include <string>
#include "groupsdialogue.h"
#include "friendspage_dialog.h"
homepagedialogue::homepagedialogue(QWidget *parent) :
QDi... |
08d2449367acaeb82d5384928b6240a84ff6a3ae | d5749c8baa3c653f7fb8a6006a0776306cd3cfca | /EnumeratedTypes.cpp | f26777ee4aeaccb69d873fbe6b039e3aff2a4475 | [] | no_license | kupull74/test_c-- | dd2d714501924a3592a9af121c425a09ffc94f4b | 06567488268cdcde1f23c84e439f4e2e4e2ab095 | refs/heads/master | 2023-01-23T03:57:31.883412 | 2020-11-27T01:14:39 | 2020-11-27T01:14:39 | 311,860,275 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 409 | cpp | EnumeratedTypes.cpp | #include <iostream>
/*
This is first Comment
*/
using namespace std;
/*enum enum-name { list of names } var-list;
*/
int main() {
enum weekend { Monday, Tuesday, Friday=4, Saturday } enumRed;
enumRed = weekend::Monday;
//cout << "Monday : " << enumRed << "\t";
//cout << "Tuesday : " << enumRed << "\t... |
92a4d6dcf27e5aa13c55608e2965010f5ff3feb7 | 85bab7d09fe236d80bd786708101d7ee8c271c13 | /Source/GameModeLobby.cpp | cd123e10e7972c793118901f9ccf3659333848de | [] | no_license | wasteproduct/Unreal_Portfolio_BattleGround | b38969d488f8b7cfb25f96b1c6e003887d2209c1 | 4b9d0d8f3a3bd41a6211e01994d2114d518eaec4 | refs/heads/master | 2020-04-24T02:07:18.845187 | 2019-02-21T09:30:01 | 2019-02-21T09:30:01 | 171,625,180 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 406 | cpp | GameModeLobby.cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "GameModeLobby.h"
#include "PlayerControllerLobby.h"
AGameModeLobby::AGameModeLobby()
{
PlayerControllerClass = APlayerControllerLobby::StaticClass();
DefaultPawnClass = nullptr;
}
void AGameModeLobby::BeginPlay()
{
Super::Be... |
60a3d0ac13e9b4a7320f3ec2fb5c1ca546de4dae | e149e4ed7e7634ab0fb1e87c26d1a6bc4fcfe3a1 | /leetcode_vscode/leetcode_378/leetcode_378.cpp | dd23c2b55fffb58220521f15cb2642a489d01be6 | [] | no_license | sailor-ux/mycodes | 9291c78c4af2ffa8a4cd593184837a41b288e1ee | 92f6b6338376daaec2d35a508845077fdcf4c25c | refs/heads/main | 2023-08-31T13:29:36.675819 | 2023-08-20T16:19:05 | 2023-08-20T16:19:05 | 214,383,672 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,047 | cpp | leetcode_378.cpp | #include <iostream>
#include <vector>
using namespace std;
class Solution {
public:
int kthSmallest(vector<vector<int>>& matrix, int k) {
int n = matrix.size();
int left = matrix[0][0], right = matrix[n - 1][n - 1];
while (left < right) {
int mid = left + (right - left) / 2; // 注... |
7903a666ad57af707676bb327974b8c905e2e9b8 | 529afabd474a0be26f777f636fd88a0f73b9b1bd | /modules/gr-Metrics/swig/Metrics_swig.i | 326b4db7f9085d1a6b3d025d27e45d9823021737 | [] | no_license | camihera333/GNURadio | f67d9b6fc0928f43b77a6f841e1386b2ad42db4c | 1afa3644a32a72a27120f5d32941483cca3e91c2 | refs/heads/master | 2020-03-25T13:50:20.105665 | 2018-08-07T23:02:33 | 2018-08-07T23:02:33 | 143,845,352 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 159 | i | Metrics_swig.i | /* -*- c++ -*- */
#define METRICS_API
%include "gnuradio.i" // the common stuff
//load generated python docstrings
%include "Metrics_swig_doc.i"
%{
%}
|
d9e8526b7c0c9cf1b13f9e851e4ab4a231e4aab7 | b19f3f3c6409bbea0c7d506e2c921255f4c4a4b0 | /ApocMeowUnreal/Source/GunSIm/AI_Character.cpp | b2b85fe97a2b8c7f416acfedf9fac9cf8c8901ee | [] | no_license | gpcmax/ApocalypseMeow | f2edb12b577d6c11f6c395008809a3e7b5185d68 | 9cfd690f323e2355034d6856960898d5a38d83cb | refs/heads/master | 2020-05-05T00:45:19.972317 | 2019-04-04T22:17:07 | 2019-04-04T22:17:07 | 179,584,298 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,867 | cpp | AI_Character.cpp | //Apocalypse Meow
//Sleepless Ambitions
///2018
//Gage Copelin
#include "AI_Character.h"
#include "Components/SkeletalMeshComponent.h"
#include "Components/CapsuleComponent.h"
#include "VRMainCharacter.h"
#include "Sound/SoundCue.h"
#include "Kismet/GameplayStatics.h"
// Sets default values
AAI_Character::AAI_Charac... |
3200f9f455de3c08fedfe5dff427d382013271ca | e17509fd923921a1528dcaf23ebe30614d9dd299 | /Task-6-JOY/Task-6-JOY.ino | 0ac5cbeab958737d4768b818fa210e8ef2aa2df0 | [] | no_license | sim2908/ES-SS19 | d6d14902d611db66a4d8c9c3e1d86ca8b2e481af | b2740ce4cc418b7a715bc457a839ec2aea1cde5a | refs/heads/master | 2021-08-19T18:13:03.837251 | 2020-05-06T10:16:05 | 2020-05-06T10:16:05 | 179,088,360 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 539 | ino | Task-6-JOY.ino | /*
* JOYSTICK SETUP
*/
const uint8_t joyX_pin = 8;
const uint8_t joyY_pin = 9;
const uint8_t joyButton = 47;
volatile bool pressed = false;
void setup() {
Serial.begin(9600);
attachInterrupt(joyButton, alarm, RISING);
}
void loop() {
Serial.print("X");
int x = analogRead(8);
Serial.println(x);
Serial... |
2d8ca7bb3769f7f9efd6d5e5412c7ca389d1c186 | 19c529c3fa37b2314ff540844d8955e722eb659b | /include/UnitInfo.h | 53b6d3b04e763a221687b760b46143343476054b | [
"MIT"
] | permissive | AirstrikeIvanov/Boris | 11c77942c2bcb49332034f2a3db5e810e4811fba | 884f852bf62143babb5c86c2eb2ba7f261bf8c2d | refs/heads/master | 2021-07-16T20:19:46.370995 | 2021-02-08T03:47:43 | 2021-02-08T03:47:43 | 236,300,146 | 9 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,572 | h | UnitInfo.h | #pragma once
#include <BWAPI.h>
#include <vector>
using namespace BWAPI;
namespace Boris
{
class UnitInfo
{
public:
bool isDepot() { return type.isResourceDepot(); }
bool isWorker() { return type.isWorker(); }
bool isBuilding() { return type.isBuilding(); }
bool isSupply() { return type == UnitTypes::Zerg_... |
5bb92176c51bdd50ecf209d00b344cfd247fb297 | c8dc46be72604b1522eb114129ac8f767f61e399 | /12.27.cpp | ada1b5b4b894081cdb7dde320fc68851e53c54e9 | [] | no_license | mutlukilic/structured-programming---C | a13e72acc8e5db4c0258bc1ff849658e3e3b43ba | bb3ba7469e8a10149dd25b2dc9a2482d4f0ebe9e | refs/heads/master | 2021-01-12T06:39:56.563661 | 2017-03-13T08:44:03 | 2017-03-13T08:44:03 | 77,405,981 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 436 | cpp | 12.27.cpp | #include<stdio.h>
#include<math.h>
float noktakaydir(float *,float *,float,int,int);
int main ( void ){
float x = 2.5,y = 2.5,msf;
int yatay = 5,dusey = 4;
msf = noktakaydir(&x,&y,msf,yatay,dusey);
printf("%.2f,%.2f,%.2f",x,y,msf);
return 0;
}
float noktakaydir(float *xp,float *yp,float msfp,int yatay,int dusey... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.