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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
11137de7b57c7a82ccd8402984f3a50f48f6fa6e | 5c929e8163fe4d922b1465793896a9e8dcecfa7f | /verilog/fdlver.cxx | d5ea24ec08c37b225515b2bab82bb976756d2481 | [] | no_license | gezel-hdl/gezel-cg | c4f84789ee95292a78738098e280f6ca317149f9 | 5d1357fd375c43a44c11801cac8fbf4bdc4252b0 | refs/heads/master | 2022-11-15T01:11:49.561388 | 2020-07-07T20:18:40 | 2020-07-08T00:11:04 | 277,914,462 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,875 | cxx | fdlver.cxx | //--------------------------------------------------------------
// Copyright (C) 2003-2010 P. Schaumont
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public License... |
6d9cc84a1b3f0554f513965286e04f12170c8d19 | 8a08c72fe97d4fdafbcaef092e018c350e271b06 | /Working/gym.h | 9ecfb40f18d66652c92a9622fdb711edb3e75e8b | [] | no_license | normanwang92/project7k | d4eb992d1e90d2b80b404d87c94def6744dd5348 | 8f9cd66a1070ac545026608aa1b2dbda14665d8b | refs/heads/master | 2020-07-07T06:27:55.667233 | 2015-04-07T03:39:11 | 2015-04-07T03:39:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 336 | h | gym.h | #ifndef __GYM_H__
#define __GYM_H__
#include <iostream>
#include <cstdlib>
#include "building.h"
class Owner;
class Building;
class Gym: public Building
{
public:
Gym(std::string, int, int, int, BoardDisplay *);
~Gym();
void setCost();
void setPay();
int getCost();
int getPay();
void addNeighbour(Til... |
8b6c91613bed737f1d33174103dc89c49d5095c5 | f40fecca5beda7f6958df7330b2fccc0fe7290ad | /src/objective_function.cpp | de03a17ccc4cd15ab823edd85daf59dd6472c616 | [] | no_license | kohutjan/HABCforNRP | a3eb901e22d9abd6ca3699a29a7d97266efe5e82 | 9c0c18042b4f11228344afdeb516bc07d8e2810f | refs/heads/master | 2021-09-14T23:36:16.459094 | 2018-05-22T10:47:48 | 2018-05-22T10:47:48 | 125,055,001 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,597 | cpp | objective_function.cpp | #include "objective_function.hpp"
using namespace std;
using namespace boost::gregorian;
int ObjectiveFunction::Forward(Roster roster)
{
int penalty = 0;
int constrainPenalty;
this->employeeIds = roster.employeeIds;
this->penalties.clear();
// Count penalty per employee
for (int i = 0; i < roster.table.ro... |
14b230c16f8d1386994e9284c9d65aaf14c40909 | 6d69acff955487783abebe8793146e0bb8520390 | /InputContext.cpp | 58a913504491e8945890a9ad3e35ea19125ddc43 | [] | no_license | dongdong-2009/HLSLive | bf255a76d291b14f5e0a9d5d7b419d34d46227fd | a0f286db657f47b6082170004e37bb9cfcc36f72 | refs/heads/master | 2021-05-30T08:39:20.795871 | 2016-01-09T02:55:55 | 2016-01-09T02:55:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,050 | cpp | InputContext.cpp | #include "InputContext.h"
#include <cassert>
/////////////////////////////////////////////////////////////////////////////////
////
int
g_read(void * opaque, unsigned char * buf, int buf_size)
{
InputContext * inst = static_cast<InputContext *>(opaque);
return inst->read(buf, buf_size);
}
InputContext::Input... |
ad4040fdbc9e99721cfe3d1fc46a35caf1a04f6c | 1df9106e475d7f1b4de615cb4f8122cc93305b7b | /Engine/PhysicsWorld.h | 8db38eca57f38fadf5f44d6d32b9f696ed5f9fb1 | [] | no_license | mcferront/anttrap-engine | 54517007911389a347e25542c928a0dd4276b730 | c284f7800becaa973101a14bf0b7ffb0d6b732b4 | refs/heads/master | 2021-06-26T08:48:59.814404 | 2019-02-16T05:37:43 | 2019-02-16T05:37:43 | 148,593,261 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,927 | h | PhysicsWorld.h | #pragma once
#include "EngineGlobal.h"
#include "List.h"
#include "HashTable.h"
#include "SystemId.h"
class PhysicsObject;
class CollisionObject;
class ICollisionHandler;
class Channel;
class CollisionDesc
{
public:
CollisionDesc( void )
{
collision = false;
count = 0;
}
struct Desc
... |
66b9065ecc681238a48ec8088bf40d33debc08c9 | f29dd893111ebbb10605e0a06c209f6e0dfa03eb | /src/Cam.cpp | bbc3c697686e5a488f413b0f2484f0c7c6937b8e | [] | no_license | Montecher/raytrace | 85b42f63cf7ad0b7ed12b4cc345234895efb40bc | 5d5cbbaf2b4e4cd31f080fc1b0ba3183914cd004 | refs/heads/master | 2023-02-19T05:23:04.462001 | 2021-01-14T19:14:15 | 2021-01-14T19:14:15 | 295,751,239 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,294 | cpp | Cam.cpp | #include "Cam.h"
#include "constants.h"
#include "color.h"
#include <cmath>
#include <cstdlib>
static inline double clamp(double v, double min, double max) {
return v<min ? min : v>max ? max : v;
}
Cam::Cam() {
this->orig = Vec3::O;
this->dir = Vec3::X;
this->right = Vec3::Y;
this->up = Vec3::Z;
... |
3f3dedf19eae32eccceedd8954bc62af55233c9c | eff76a578b2cc40d6b1e2dd00e2fe6adbb029b88 | /tests/test_data/stereotype/api_utility_verifier.cpp | e2bcccbd5ca174507f4c8dddd9425971d044f27a | [] | no_license | osshad/stereocode | c31ffe448800e35c656cbcbc98fbb4027d3d9e15 | b7dbb87af590c79461e5f8c52c9c7c7305a62c08 | refs/heads/master | 2022-11-21T04:59:07.055369 | 2019-04-29T19:40:02 | 2019-04-29T19:40:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,281 | cpp | api_utility_verifier.cpp | // DiskDataTest.cpp: implementation of the DiskDataTest class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "DiskDataTestCase.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//
// These are correct values stor... |
f9066a87bce04b4e8644388479fdc75db3c8105e | b78cdfafc87968a4908b2fb6f561ad00315aa61b | /list_util.h | 332af3bd2639f620ad4d03f1f0aae42e55164d37 | [] | no_license | bigpotato920/algorithm | b04e869be33fd2725572d50179cc7a957a18c3a4 | 913207d2c2417b2f2be2c5c9624ed12245704349 | refs/heads/master | 2020-05-16T23:03:10.395816 | 2014-06-05T00:45:21 | 2014-06-05T00:45:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 268 | h | list_util.h | #ifndef LIST_UTIL_H
#define LIST_UTIL_H
#include <iostream>
struct ListNode {
int val;
ListNode *next;
ListNode(int x) : val(x), next(NULL) {}
};
ListNode *build_list(int *a, int n);
void traverse_list(ListNode *head);
void destroy_list(ListNode *head);
#endif |
b6f1b425f19904825a129426611d1603baa7ff58 | d41c430ec554f4a7c6ffed88440eb179c478d8df | /DspLib/dspHistoryGenBase.cpp | 39669c5bcfcdaa2a60b9d900b87348b847da63ad | [
"MIT"
] | permissive | chrishoen/Dev_DspLib | d8035071c8a9b49bbb193e9157f557379f63ca36 | 030b8a4890fd89ad618a31abefdc302d7ed8892c | refs/heads/master | 2022-11-22T05:43:05.783518 | 2022-11-04T17:21:53 | 2022-11-04T17:21:53 | 144,871,706 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,463 | cpp | dspHistoryGenBase.cpp | /*==============================================================================
Description:
==============================================================================*/
//******************************************************************************
//*************************************************************... |
184ed3a3d4a6516b53e83c56a7521646c0e45204 | dd0a25afe5987e473175920653ceecca84501023 | /Digital Wolves Games - Tower Defense/Motor2D/UI_Text_Input.h | b6a60039a748226ccd590687e749b1df42241ff7 | [] | no_license | marclafr/Expansion-AoE-II-Defenders | 4255bd55279e07498802ce3a2ad7258532c7c228 | cf06a0d826395ae8271208c190b9914b54e29cef | refs/heads/master | 2021-07-03T06:27:49.428265 | 2017-09-08T18:06:30 | 2017-09-08T18:06:30 | 94,330,738 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 926 | h | UI_Text_Input.h | #ifndef __UI_TEXT_INPUT_H__
#define __UI_TEXT_INPUT_H__
#include "j1Gui.h"
#include "j1Timer.h"
class _TTF_Font;
class UI_TextInput : public UI_Element
{
public:
UI_TextInput(iPoint pos, std::string text, FONT_NAME font_name = OPENSANS_REGULAR, SDL_Color color = { (0), (0), (0), (255) }, bool not_in_world = true);
... |
954e5e0b80db9bc977185aa53cbd69d2f37c4bf3 | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/webrtc/audio/voip/audio_ingress.cc | 80f21152c02f680fc0898f441ab18254f81b1295 | [
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later",
"LicenseRef-scancode-google-patent-license-webrtc",
"BSD-3-Clause",
"LicenseRef-scancode-google-patent-license-webm",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 9,979 | cc | audio_ingress.cc | /*
* Copyright (c) 2020 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... |
57c2639171e05a73539c3d31c5b246104c43292f | ffd6e7f0f3dc76e41c7784bebdd28973191900f2 | /USACO/grass.cpp | 1d91ab8407bae2872e071d4aafe11f493ed1d6b5 | [] | no_license | theopan8/competitive-programming | e12a1b2f8a00748d7170ec8c130c0bfdb605baa8 | c507102b204e09ccd037dd37e6e3677dae1bb89c | refs/heads/main | 2023-07-22T20:56:39.956584 | 2021-08-31T20:57:11 | 2021-08-31T20:57:11 | 387,005,395 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,779 | cpp | grass.cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <string>
#include <map>
#include <cstdio>
#include <utility>
#include <queue>
#include <math.h>
#include <set>
#include <bitset>
#include <cmath>
#include <bitset>
#include <stack>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;... |
684a4efbe5c6f7ce782107a651e7843db5ea820a | a92b18defb50c5d1118a11bc364f17b148312028 | /src/prod/src/ServiceModel/DeployServicePackageToNodeMessage.h | 94e2872bab6fb918874968c1d174a77edaa74eb1 | [
"MIT"
] | permissive | KDSBest/service-fabric | 34694e150fde662286e25f048fb763c97606382e | fe61c45b15a30fb089ad891c68c893b3a976e404 | refs/heads/master | 2023-01-28T23:19:25.040275 | 2020-11-30T11:11:58 | 2020-11-30T11:11:58 | 301,365,601 | 1 | 0 | MIT | 2020-11-30T11:11:59 | 2020-10-05T10:05:53 | null | UTF-8 | C++ | false | false | 3,948 | h | DeployServicePackageToNodeMessage.h | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#pragma once
namespace Servi... |
185907b279411a33dc1c079c3cef5415ab3298c1 | 5a6310e063575afa144f158069d39a0e5c7617a1 | /source/squirrelbindings/SquirrelArray.h | de5027f867ed5027512abe04b1c735731576a8a2 | [
"Apache-2.0"
] | permissive | l0ud/MCServer | ae31bb81ad2c7d2f8ed7619e8c9f36e9b014d29f | ca5561c395332b266b73b9cb56c50d1cc3c275c5 | refs/heads/master | 2021-01-15T16:43:01.181366 | 2013-08-05T13:24:23 | 2013-08-05T13:24:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 497 | h | SquirrelArray.h |
#pragma once
#ifdef USE_SQUIRREL
template <typename T>
class SquirrelArray
{
public:
SquirrelArray()
{
}
unsigned int Size()
{
return m_Values.size();
}
T Get(unsigned int a_Index)
{
if(m_Values.size() < a_Index)
{
return T();
}
return m_Values.at(a_Index);
}
void Add(T a_Value)
{
... |
ead97b2b302de2ab7d5bec85906c9397d362b77d | 7505fe4e1050790986c7327b15a48ffb0a3fc7e9 | /location.cpp | bc6d7bfada9203860b8bc67711e0cb885896651f | [] | no_license | topninja/QT_VPN | c160232fc0ecc3e6247c09555033058bba338481 | d48c7bd668db001ee4143c1d31b2c4ba85444f59 | refs/heads/master | 2022-10-23T18:11:06.945979 | 2020-06-11T19:50:20 | 2020-06-11T19:50:20 | 271,634,020 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,898 | cpp | location.cpp | #include <QtGui>
#include "location.h"
Location::Location()
{
label1 = new QLabel(this);
label2 = new QLabel(this);
mainImg = new ImageLabel(":/images/main1.png", ":/images/main2.png", this);
connect(mainImg, SIGNAL(clicked()), this, SLOT(returnMainWindow()));
connectButton = new QPushButton(this);... |
c187b88a24632b1e28baa37d0c567ca8b140d65a | 37cad8735820a47ba83bd419a09b36072ff4024a | /10.3-Rio/AndroidAPILevelUpgrade_Demos/CPP/Multi-Device Samples/Device Sensors and Services/Address Book/BirthdayReminder/MainFrm.cpp | 941545d6db38cf574e3d26d653e39709f150085f | [] | no_license | flrizzato/DelphiTour | 02426fcc4c2e33aa78625710b68b87a9091e29c4 | b325c97befa81256928359e2a454a5e127e37e7f | refs/heads/master | 2023-04-02T09:12:46.867024 | 2023-03-16T17:44:52 | 2023-03-16T17:44:52 | 91,590,278 | 38 | 38 | null | null | null | null | UTF-8 | C++ | false | false | 8,908 | cpp | MainFrm.cpp | // ---------------------------------------------------------------------------
// Copyright (c) 2016 Embarcadero Technologies, Inc. All rights reserved.
//
// This software is the copyrighted property of Embarcadero Technologies, Inc.
// ("Embarcadero") and its licensors. You may only use this software if you
// a... |
3d13b502dee83fac8172c83659d4a2f29c844b2d | ffb989dceefb4eec00e7932c6399520098db30a1 | /cpp/main.cpp | 405b55410c92bb4d20c87e55f52cb7c2c8292d3b | [] | no_license | jcheung0/HelloWorld | a176357a6bfb4cd67111445a118bffb7040d5aa2 | f9d6b56dcde4ccb8a59ceaca6301e742c641fc7b | refs/heads/master | 2020-02-26T15:45:30.030585 | 2016-10-13T15:49:44 | 2016-10-13T15:49:44 | 70,822,869 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 653 | cpp | main.cpp | #include <iostream>
#include <algorithm>
#include <mutex>
#include <thread>
#include <vector>
#include <chrono>
using namespace std;
int main(){
unsigned num_cpus = thread::hardware_concurrency();
cout << "Launching " << num_cpus << " threads \n";
mutex iomutex;
vector<thread> threads(num_cpus);
... |
26612d19ebbe7971e84e4ccec5cc5e346028bc48 | b4741e921977e7806075175dc044eb928ca8911a | /Programs/Algorithms/Image Processing/imagetests/image_test.cpp | 9d8f42134db93387263b4326c97cd2545bcd5688 | [] | no_license | mfonken/xprm | 2de4188b9ed635f50027c57b24b1b566f01e9736 | 71865995c08a2daf607d2bc53908b104ca657d61 | refs/heads/master | 2021-01-11T00:27:51.196432 | 2019-12-29T20:58:04 | 2019-12-29T20:58:04 | 70,558,138 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,723 | cpp | image_test.cpp | #include <iostream>
#include <fstream>
#include <cstring>
#include <cstddef>
#include <sstream>
#include "unfisheye.h"
#define WIDTH 620
#define HEIGHT 387
const char* INPUT_FILENAME = "images/kitten3.bmp";
const char* OUTPUT_FILENAME = "images/kitten_unfisheyed.bmp";
using namespace std;
int main(int argc, char *... |
969f426d5a631b06748a84e3132af8a7a2e9bed6 | 446bc839b1c47f6f87c8d455947760cc511c2697 | /Driver.cpp | 7690a9f404473260f94c20b9f4ea47497878e801 | [] | no_license | nhameed3/Lazy-Binary-Search-Tree | 3c02e9743de34d6800485525bd37425c7042023f | 52d2dbc77aeb54dd5bd1b82cb05302286bc435b5 | refs/heads/master | 2020-03-15T08:26:36.039296 | 2018-05-03T21:26:46 | 2018-05-03T21:26:46 | 132,050,937 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,432 | cpp | Driver.cpp | // File: test3.cpp
//
// Simple test of inserting and removing.
// This test includes inserting duplicates and
// attempt to remove keys not in the tree.
//
#include <iostream>
using namespace std ;
#include "LazyBST.h"
int main() {
LazyBST T ;
T.insert(14) ;
T.insert(7) ;
T.insert(25) ;
T.insert(... |
18f7871d9b31279669d9e66839aa2096a455960c | c9d12dbf3d8d3cbe2e8490139c2f42100686bcd3 | /Qopo/message.h | 169c953ad53d1b977f5abde9f29ac6538b861125 | [] | no_license | feda12/arduino | 2f390384e760aafdbd50a2c4b60c665cf8078fe5 | cd9da00ef2f9b9e9f55c68137b97d2f3a9803a1e | refs/heads/master | 2022-11-06T07:17:33.015273 | 2020-06-26T01:57:47 | 2020-06-26T01:57:47 | 275,053,343 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,783 | h | message.h | /*
messages.h
C++ header file for Qopo Morning Shower device
Based on Jean-Michel Mercier, 'Implementer un protocole de communication pour Arduino'
Ben Le Cam - Qopo Inc.
June 2014
All rights reserved.
*/
#ifndef _MESSAGES_H
#define _MESSAGES_H
#include "protocol.h"
#include "helpers.h"
// C++ libraries
#inclu... |
f2bd6e214cd3ed00d9a9b0f0d5a60497b285157a | 16647f3d76502b3ebed00f5f91a7e4786878ced4 | /src/utest/test_assert.cpp | 38977fb0b8e9ddc6746d0214aa61d2dc8fa15f95 | [
"BSD-3-Clause"
] | permissive | mmwebster/utest | 7ea1e08951ed5748d04b6c810529184851b59214 | f2fe2880253cdb090c906958e4937d24717aa39b | refs/heads/master | 2020-04-20T17:16:03.457011 | 2017-02-21T20:23:22 | 2017-02-21T20:23:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,534 | cpp | test_assert.cpp | /*!
* @copright
* Copyright (c) 2017, Tymoteusz Blazejczyk
* All rights reserved.
*
* @copright
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* @copright
* * Redistributions of source code must retain the ab... |
ffda7d6218525ef48afe2fe415caf3058709daf9 | 86df6f8f4f3c03cccc96459ad82bcdf3bf942492 | /leetcode-2/first-bad-version.cc | f32543f25f0cda8bf17784080511b866e1ea0018 | [] | no_license | bdliyq/algorithm | 369d1fd2ae3925a559ebae3fa8f5deab233daab1 | e1c993a5d1531e1fb10cd3c8d686f533c9a5cbc8 | refs/heads/master | 2016-08-11T21:49:31.259393 | 2016-04-05T11:10:30 | 2016-04-05T11:10:30 | 44,576,582 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 437 | cc | first-bad-version.cc | // Question: https://leetcode.com/problems/first-bad-version/
// Forward declaration of isBadVersion API.
bool isBadVersion(int version);
class Solution {
public:
int firstBadVersion(int n) {
int i = 1, j = n;
while (i < j) {
int m = i + (j-i) / 2;
if (isBadVersion(m)) {
... |
f2880b3e089181635392cdc628e8d51fb76fd27e | 898c761766be7b0db4ea51e50f11953a04da0f50 | /2020-10-31/ARC107/C.cpp | d1fa79578093bafd7992d3756925c45626ef9c5c | [] | no_license | zhoufangyuanTV/zzzz | 342f87de6fdbdc7f8c6dce12649fe96c2c1bcf9c | 1d686ff1bc6adb883fa18d0e110df7f82ebe568d | refs/heads/master | 2023-08-25T03:22:41.184640 | 2021-09-30T12:42:01 | 2021-09-30T12:42:01 | 286,425,935 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,035 | cpp | C.cpp | #include<cstdio>
#include<cstring>
using namespace std;
long long jc[110];
int a[110][110],f[110],ff[110],cnt[110],cntt[110];
int find(int x){return f[x]!=x?f[x]=find(f[x]):x;}
int ffind(int x){return ff[x]!=x?ff[x]=ffind(ff[x]):x;}
int main()
{
jc[0]=1;
for(int i=1;i<=100;i++)jc[i]=jc[i-1]*i%998244353;
int n,m;scan... |
1419a34e134e600a234bb83cb849fb4c6343e1bc | f2eabc112d497fc536cd64a4c1926fdc14522dd1 | /EntryStep.h | 91f7c50d64a9c1481d4abbc9d90a9a716cc32fcc | [] | no_license | Erkin68/Sino | e64fc20803f43a4d6abb72315bfda888003b8460 | 83944b505c9ae239b196ae58905e5b0150496b26 | refs/heads/master | 2022-11-14T13:52:03.226872 | 2020-07-14T22:23:50 | 2020-07-14T22:23:50 | 279,695,670 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,755 | h | EntryStep.h | #ifndef _ENTRY_STEP_H
#define _ENTRY_STEP_H
#include "windows.h"
#include "Operations\Temporary.h"
typedef enum TEntryType
{ unknown=0,
directFolder=1,
guidFolder=2,
rndPathList=3,//result of seachVia7, for sample
archElem=4,
socketCl=5,
virtualPanel=6
} EntryType;
class EntryStep
{
public:... |
e12705cbc0c6105d1faa447d767e85bde430d504 | a9c75e170aceba7402cf7801bfbf34053e118b25 | /external/glm-0.9.5.3/test/gtx/gtx_euler_angle.cpp | 1659780913bbbfff5785a3c96a3b6c6bc75899cd | [
"MIT"
] | permissive | steppobeck/rgbd-calib | 4ac4079ae43af3678929ae21d372a201daa042e5 | 5f69cdde097e60384fc46627c6d06c9d8eb64171 | refs/heads/master | 2021-04-19T01:20:45.067315 | 2020-06-08T12:00:38 | 2020-06-08T12:00:38 | 44,667,616 | 11 | 11 | MIT | 2019-04-04T08:49:22 | 2015-10-21T10:00:22 | C | UTF-8 | C++ | false | false | 1,623 | cpp | gtx_euler_angle.cpp | ///////////////////////////////////////////////////////////////////////////////////////////////////
// OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net)
///////////////////////////////////////////////////////////////////////////////////////////////////
// Created : 2013-10-25
// Updated : 20... |
b4ca46c5d88fd3db78f6383ea43445bc6227ba90 | 31c9625cccba66c661a7e0a997abf522d229c522 | /StarShIUP/InfoScene.cpp | 6ab9dd08cef41e40c5958c49597cb0aac2a75e90 | [] | no_license | ongalek/StarShIUP | 8682f39d589fbf559a410f8de8fcb73bfaf466c4 | 8c49313548ff209422b9f0455fa6506615c65397 | refs/heads/main | 2023-03-16T00:07:39.686111 | 2021-03-10T17:28:43 | 2021-03-10T17:28:43 | 346,437,700 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,536 | cpp | InfoScene.cpp | #include "InfoScene.h"
void InfoScene::UnderstoodButton_Click()
{
SceneLayout.Close();
SceneRunning = false;
}
void InfoScene::SetInfoText(const std::string text)
{
SceneText.SetText(text);
}
InfoScene::InfoScene(ResourceManager& manager, std::string exit_request, uint32_t text_color) :
Scene(manager), ExitRequ... |
b566ec20ad10856d6df51dbbc2f6d8078411b8db | 4ee5391d28631562b15141e5f505f5eaf824fabc | /ir.h | 71ea163b35caab6f94240ae74b4e819bb5d1bb2a | [] | no_license | Lyther/SPL-compiler | 4c15376f40f28f96840f5f2b9d760b53c48f6640 | f6f7e7d03a5b30b512b98ff8996bad4258582011 | refs/heads/master | 2020-08-10T23:27:49.072204 | 2020-01-07T13:59:12 | 2020-01-07T13:59:12 | 214,443,748 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 775 | h | ir.h | #ifndef _IR_H_
#define _IR_H_
#include <iostream>
#include "tree.h"
#include "stmt.h"
#include "optimize.h"
#include<string>
using namespace std;
extern struct gramTree* root;
class InnerCode {
private:
vector<string> codeList;
public:
int tempNum = 1;
int varNum = 1;
int labelNum = 1;
int arrayNum = 0;
Inner... |
72dacbf7d15ca8223fe46cf7af9574501736e0bc | 2f10f807d3307b83293a521da600c02623cdda82 | /deps/boost/win/debug/include/boost/exception/to_string.hpp | 87c03882595ad13b6f9963e3832771d4437fdeac | [] | no_license | xpierrohk/dpt-rp1-cpp | 2ca4e377628363c3e9d41f88c8cbccc0fc2f1a1e | 643d053983fce3e6b099e2d3c9ab8387d0ea5a75 | refs/heads/master | 2021-05-23T08:19:48.823198 | 2019-07-26T17:35:28 | 2019-07-26T17:35:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | hpp | to_string.hpp | version https://git-lfs.github.com/spec/v1
oid sha256:69584c5a901d6330a1376ead93f2c0f9785fe7bec22ebb64085a812965a3af01
size 2268
|
55bb3885efdbd10a44ae6b4eea36b8b0532f2452 | b4330417dd1590cf7ea3484c4dda20a0ecfee3b4 | /Online_judge/poj/poj_1023.cpp | 7dba5785e6ef9afcbaa5c8d4fafc01d1e9729fd1 | [] | no_license | Q10Viking/ACM_ICPC | d2b2c69e451a4e8de2fafdf346797900c61e65ee | d3d6547313a4400ed9c3eef1339a79466ffa5d97 | refs/heads/master | 2021-01-01T17:26:04.629801 | 2014-07-03T06:54:15 | 2014-07-03T06:54:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 787 | cpp | poj_1023.cpp | #include <cstdio>
#include <iostream>
#include <string>
#include <algorithm>
#define LL long long
int main(){
LL k,n,t;
char str[100];
std::cin>>t;
while(t--){
std::cin>>k>>str>>n;
std::string s="";
for(int i=0;i<k;i++){
if(n&1){
... |
81fb973729cd435b69dcbc41819cd621f14215ba | 62bc7e97c4a383fc0221d157fc9883fd1b0e66c6 | /gen/stock.cpp | ba6ce45da674bd54e79efb394e1fe273cbea453c | [
"MIT"
] | permissive | fwalch/imlab | becac76c0b1b638dcc5138ae09be741bffaeba37 | a36e8ac84e7cf6a7763291703295d9c03db6c866 | refs/heads/master | 2021-01-19T08:03:32.775274 | 2013-02-04T01:36:40 | 2013-02-04T13:34:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,839 | cpp | stock.cpp | #include <climits>
#include <cstdlib>
#include <cstring>
#include "stock.h"
#include "../src/schema/conversion.h"
using namespace std;
void StockStore::add(string elements[17]) {
add_instance(atoi(elements[0].c_str()),
atoi(elements[1].c_str()),
db_stol(elements[2]),
elements[3],
elements[4],
el... |
b3b7db0233b94fc3a1513381b667f107b9199d8d | 9408f7cff47896e2c5651c8f394f0a87ed147594 | /src/template.cpp | 0bf40fab12420fb4d36597ee5532cb50e9338b51 | [] | no_license | maxxwave/AtoS | 1d829f6b7b6756bef7610d440e7bd69b8fdf831b | e1a35ac2857d7f4213c75fdd5ae1fd0fbae0bd50 | refs/heads/master | 2021-01-18T23:28:31.893531 | 2016-05-02T17:24:10 | 2016-05-02T17:24:10 | 37,985,808 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 394 | cpp | template.cpp | #include <iostream>
#include <vector>
#include "../hdr/template.h"
/*
namespace template_t{
class H_internal{
public:
double x;
double y;
double z;};
class atom{
public:
double sx;
double sy;
double sz;
double cx... |
e4ccf946c7094c156849b92865e328aa0b6a9c5f | 6d5732b6250b2c94b9e68e8f5df8d91dd983dc3c | /lib/Dali/Dali.h | 66d8c0da9051e288987a5f338c31a174d516b955 | [] | no_license | bcatalin/arduino-dali | 4fc38d1ceb136d54365af72bb8a8fdff91518f5a | 5a2214168578e2b16cea0f0f918ca3ab68614381 | refs/heads/master | 2021-01-16T23:31:14.936721 | 2015-11-24T18:30:38 | 2015-11-24T18:30:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,569 | h | Dali.h | /*
* Copyright (C) 2015 Luca Zulberti <luca.zulberti@cosino.io>
* Copyright (C) 2015 HCE Engineering <info@hce-engineering.com>
*
* This code is derived from pq_Dali.h by http://blog.perquin.com.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Publ... |
dc837814238b7479423a8b3ee293f59d41d107dd | 5a60d60fca2c2b8b44d602aca7016afb625bc628 | /aws-cpp-sdk-transcribe/source/TranscribeServiceClient.cpp | 37d6352e573ce4e2dbc0a9153392282876947960 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | yuatpocketgems/aws-sdk-cpp | afaa0bb91b75082b63236cfc0126225c12771ed0 | a0dcbc69c6000577ff0e8171de998ccdc2159c88 | refs/heads/master | 2023-01-23T10:03:50.077672 | 2023-01-04T22:42:53 | 2023-01-04T22:42:53 | 134,497,260 | 0 | 1 | null | 2018-05-23T01:47:14 | 2018-05-23T01:47:14 | null | UTF-8 | C++ | false | false | 70,544 | cpp | TranscribeServiceClient.cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/core/utils/Outcome.h>
#include <aws/core/auth/AWSAuthSigner.h>
#include <aws/core/client/CoreErrors.h>
#include <aws/core/client/RetryStrategy.h>
#include <aws/core/http/HttpClient.h>
#i... |
2333e8a89efb79e7bd666e8d7518885a36297d1b | 04d9257222d168ec6b08751acc318deb22d50bba | /Renderers/OpenGL/ParticleRenderer.cpp | f9d67578f4cd4eff9f001d1824852c3f64743fc1 | [] | no_license | OpenEngineDK/extensions-OEParticleSystem | 994b6dd6962b58a4c2441f471abc548231b06d50 | b14c39500654ca3d0e65a5545401952104594c71 | refs/heads/master | 2023-04-12T16:25:28.765876 | 2023-03-31T18:42:57 | 2023-03-31T18:42:57 | 58,073,097 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,397 | cpp | ParticleRenderer.cpp | //
// -------------------------------------------------------------------
// Copyright (C) 2007 OpenEngine.dk (See AUTHORS)
//
// This program is free software; It is covered by the GNU General
// Public License version 2 or any later version.
// See the GNU General Public License for more details (see LICENSE).
//---... |
8cdbf7666d2ae6574f9ab3be77e8041e6457b602 | f6602796607fdbe2286dad795090aad7e4e89312 | /dragonpoop_alpha/dragonpoop/core/dpthread/dpthread.h | 9190bce7e8d7d8a1aa8115950f700b73f08244f4 | [] | no_license | rvaughn4/dragonpoop_alpha | a38ffde088a35d7c43a0e96480fd99ac2e2794a9 | 5a516c21749a63c951cb19c75f6325b9af484d4e | refs/heads/master | 2020-04-05T22:51:38.273761 | 2016-01-20T09:54:11 | 2016-01-20T09:54:11 | 39,721,963 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,977 | h | dpthread.h |
#ifndef dragonpoop_dpthread_h
#define dragonpoop_dpthread_h
#include "dpthread_interface.h"
#include <thread>
#include <atomic>
namespace dragonpoop
{
class dpthread_lock;
class dpmutex;
class dpmutex_master;
struct dpthread_tasklist
{
dptask_ref **buffer;
unsigned int cnt, max;... |
d6a819fe8443ee5f71080a0368bdd301b722420a | a35b30a7c345a988e15d376a4ff5c389a6e8b23a | /boost/mpl/aux_/preprocessed/dmc/greater_equal.hpp | b9b7ae69555c3831163792433695e197a29e6622 | [] | no_license | huahang/thirdparty | 55d4cc1c8a34eff1805ba90fcbe6b99eb59a7f0b | 07a5d64111a55dda631b7e8d34878ca5e5de05ab | refs/heads/master | 2021-01-15T14:29:26.968553 | 2014-02-06T07:35:22 | 2014-02-06T07:35:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 85 | hpp | greater_equal.hpp | #include "thirdparty/boost_1_55_0/boost/mpl/aux_/preprocessed/dmc/greater_equal.hpp"
|
373a240007c76f9f293d44c80af88d2d33d81297 | 023507e4a3b15baee6d7c3b71632b079d9726cc6 | /ModernC++/ModemC++.h | c64ff11c3fce996b54844ef1fc00fc60be1f2ad8 | [] | no_license | hxqswx/ModernC | fbeb35925f4c04d317c372a5406c5a26a2967a8e | 8e727fa5aa763d4db50d5e8d3f803f4b81424eb2 | refs/heads/main | 2023-01-12T12:26:06.568469 | 2020-11-16T17:04:03 | 2020-11-16T17:04:03 | 313,369,570 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 280 | h | ModemC++.h | #pragma once
#include <memory>
class widget
{
private:
std::unique_ptr<int> data;
int iweight;
public:
widget(const int size) : iweight (size)
{
}
void do_something() { data = std::make_unique<int>(iweight); }
int weight() const { return iweight; }
};
|
db8aa88473391209fd9829b4c3556644787328bb | 49a5a66e8127b79cc2a1c770d7dc0d9bf3c7cbc2 | /CG_TestProjekt/Source/Callbacks/WindowCallbacks.cpp | 7b280a5874512fb1ec2b10efbf4b8c124c3d1ccf | [] | no_license | Wallhalla/3DEnginePrototype | c50ba96f0f6bc9d887343bbb2b97d27b54b20273 | 96015ae6e268767ba59ea5e1fb7cf906c9d01294 | refs/heads/master | 2016-09-13T01:15:59.262295 | 2016-05-09T19:34:35 | 2016-05-09T19:34:35 | 58,402,283 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 345 | cpp | WindowCallbacks.cpp | #include "WindowCallbacks.h"
#include <iostream>
void CG::OnWindowResize(
GLFWwindow* resizedWindow,
GLsizei newWidth,
GLsizei newHeight)
{
glViewport(0, 0, newWidth, newHeight);
}
void CG::OnKeyAction(GLFWwindow* window, int key, int scancode, int action, int mods)
{
if (key == GLFW_KEY_W)
{
std::cout << ... |
f32e98ca478850fab44806d782006e1129af00e7 | af885e100061ee8fd928c679a131642c798e84c7 | /codes/magnet/magnet.ino | dda0e9a67ee57bb4da5f1064fe06ed3516d6322c | [] | no_license | immlima/Arduino | d20a00a4479b05cbe423aaf4b20f65e89272062e | 7a577b60df6deb1c22014cef60f383f1d0d37e2e | refs/heads/master | 2020-04-10T20:46:10.103297 | 2019-02-15T21:00:54 | 2019-02-15T21:00:54 | 161,274,211 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 407 | ino | magnet.ino | int sensor=2;
int RGB1R =8;
int RGB1G =9;
void setup() {
pinMode(sensor,INPUT);
pinMode(RGB1R, OUTPUT);
pinMode(RGB1G, OUTPUT);
digitalWrite(RGB1R,HIGH);
digitalWrite(RGB1G,LOW);
}
void loop() {
if(digitalRead(sensor)==HIGH){
digitalWrite(RGB1R,LOW);
digitalWrite(RGB1G,HIGH);
}... |
86e7a6c14f1ac74951bb58ebfba79dc504b09f4e | 612baca624954c7ed18e18db2bef480a489af4db | /leftRecursion.cpp | 692c88915c5c8412369208e7ca71948a0ee634fd | [] | no_license | ksid49/compiler | 9dfc7fcbe2e8607ef3aff2c342914b1262c95734 | dfe7e15977a646931ab722fb39e92fc79d60618e | refs/heads/master | 2021-01-22T19:08:54.202614 | 2017-03-16T08:03:30 | 2017-03-16T08:03:30 | 85,168,701 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,465 | cpp | leftRecursion.cpp | #include<iostream>
#include<fstream>
#include<stdlib.h>
#include<string.h>
#include<stdio.h>
using namespace std;
int main()
{
int i=0,n=0,j,k,flag=1,rec=74;
string temp;
string str[8],tok[20][20];
char var[10];
fstream fin,fout;
fin.open("input.txt",ios::in);
fout.open("output... |
dd51c0d184b70823b0d2752a958d420b494375d4 | 49f394ccd6c3729e9c382a3fe09415344ca98874 | /dali-scene3d/internal/common/light-observer.h | eb98c90882c65393c0c97795d15cdcf2e69fc839 | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | dalihub/dali-toolkit | 69ccb4c71904fdc9f1d88e0a1fedeaa2691213f8 | 4dec2735f5e5b5ed74f70a402c9a008d6c21af05 | refs/heads/master | 2023-09-03T05:02:34.534108 | 2023-09-01T14:02:39 | 2023-09-01T14:02:39 | 70,086,454 | 8 | 12 | NOASSERTION | 2020-08-28T14:04:59 | 2016-10-05T18:13:51 | C++ | UTF-8 | C++ | false | false | 2,425 | h | light-observer.h | #ifndef DALI_SCENE3D_INTERNAL_LIGHT_OBSERVER_H
#define DALI_SCENE3D_INTERNAL_LIGHT_OBSERVER_H
/*
* Copyright (c) 2022 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the ... |
51f029bfd1c759355144407066c1b521f414c39f | 8635e9e8cde70ce1f55aac7b50d8090add38a163 | /Problems/bzoj/3894.cpp | 5e2f539315838c7d5aae81993f6d5190eaa9d59b | [] | no_license | 99hgz/Algorithms | f0b696f60331ece11e99c93e75eb8a38326ddd96 | a24c22bdee5432925f615aef58949402814473cd | refs/heads/master | 2023-04-14T15:21:58.434225 | 2023-04-03T13:01:04 | 2023-04-03T13:01:04 | 88,978,471 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,814 | cpp | 3894.cpp | #include <cstdio>
#include <cstring>
#include <cstdlib>
#include <algorithm>
using namespace std;
typedef long long ll;
int Q[51000], dep[51000];
int tot, Head[51000], cur[51000], Next[401000];
ll Val[401000], To[401000];
int n, m, S, T, u, v;
bool bfs()
{
memset(dep, -1, sizeof dep);
int t = 0, w = 1;
... |
cff00e29385a782abc8965f2d01b04406c35551b | 308f5596f1c7d382520cfce13ceaa5dff6f4f783 | /hphp/runtime/ext/extension-registry.cpp | 09a1f38dab11204d00737a8929fe40ab4e9312b7 | [
"PHP-3.01",
"Zend-2.0",
"MIT"
] | permissive | facebook/hhvm | 7e200a309a1cad5304621b0516f781c689d07a13 | d8203129dc7e7bf8639a2b99db596baad3d56b46 | refs/heads/master | 2023-09-04T04:44:12.892628 | 2023-09-04T00:43:05 | 2023-09-04T00:43:05 | 455,600 | 10,335 | 2,326 | NOASSERTION | 2023-09-14T21:24:04 | 2010-01-02T01:17:06 | C++ | UTF-8 | C++ | false | false | 9,173 | cpp | extension-registry.cpp | #include "hphp/runtime/ext/extension-registry.h"
#include <sstream>
#include "hphp/runtime/base/array-init.h"
#include "hphp/runtime/base/file-util.h"
#include "hphp/runtime/base/runtime-option.h"
#include "hphp/runtime/version.h"
#include "hphp/runtime/vm/jit/prof-data-serialize.h"
#include "hphp/system/systemlib.h"... |
d1ba85133b5561b7687552129460dc69fe0d26d8 | 38e66720da4db4112d381ddb76e73bf4474688a4 | /Tile.h | 6075041f42a8d6d9c749519d89d058bba67bb492 | [] | no_license | vinny2k/AzulBoardGame | f9175d80af0bce2f5f5c8609bf1c62c545a528fd | 3fc71e966884a836951ee1569d51563d155740b6 | refs/heads/master | 2022-12-20T09:38:14.239230 | 2020-10-22T03:03:02 | 2020-10-22T03:03:02 | 306,205,980 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 908 | h | Tile.h | #ifndef COSC_ASSIGN_TWO_TILE
#define COSC_ASSIGN_TWO_TILE
#include <iostream>
// Creating enumaration for tile colours
enum Colour {
Red, //= 'R'
Yellow, // = 'Y'
Dark_Blue, // = 'B'
Light_Blue, // = 'L'
Black, // = 'U'
First_Player, // = 'F'
No_Tile, // = '.'
Blank, // = ' '
} ;
// Cre... |
3e960316e262f010a458b2ab742eab645236a0a4 | 6b28df12d3a45c20a19503e0eeb3649460d587f9 | /data/713.cpp | 5556601d210e1424e725d2537dd1ded7bdbed74a | [
"MIT"
] | permissive | TianyiChen/rdcpp-data | 9bb1f0319de5a22c601192c3eef33e4024b172fe | 75c6868c876511e3ce143fdc3c08ddd74c7aa4ea | refs/heads/master | 2021-04-15T09:26:01.359253 | 2018-03-21T18:57:09 | 2018-03-21T18:57:09 | 126,216,374 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,365 | cpp | 713.cpp | int h3, Bao ,cS9
, ZKH , ei
, UL84 , i0RF,
z4b//JUL
,/*L*/m8oY ,c0r
, HxG ,K ,Vh,ol ,B ,lfVs , nl
, vS,PhFjY,adJ,//9DNX
WWc,
HZ1Y , jAD
,jGA
, eN8A0 , s7ii,COu ,
/*UQ*/jL ,Nw8Pn ,
lW , zOAGU//
//7Ae4
,d8gT , TGa, EVgF,
c
,
d0C , gDzU5,qoay ,g3J//FH
,
Zi ,
sHBP ,
ntv3E , eTME
,
XF , rA , VWy... |
6f99bcabbff51c6ece31c2ce6b5cf12e96cc8600 | 44b8e3a2046b2a20490df4607d0244dd5c6d491c | /Screen.cpp | 3e604d416cd7450393f48bdcb97c1ddc328e9679 | [] | no_license | thomasfantou/Bomberman | 348b09ed3b6a861635b992837b9edf3a8092686c | 9ca2a10c91c3434fa0d1fc22bcb48400f9345c22 | refs/heads/master | 2021-01-19T11:02:58.333903 | 2013-07-18T10:21:52 | 2013-07-18T10:21:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 171 | cpp | Screen.cpp | #include "Screen.h"
Screen::Screen(void)
{
myFont.LoadFromFile("Policies\\CROOBIE_.TTF");
myFont2.LoadFromFile("Policies\\hemi-head.ttf");
}
Screen::~Screen(void)
{
}
|
fa0b1b48228beb4e56e8c268df1a1bc7010df465 | 07b30b07f3ef2fc2734c6a7226aee9b5cba04851 | /engine/common/Component.hpp | 19246da0b93ea0fe302c7b107b96eb2e2c85c293 | [
"Apache-2.0"
] | permissive | Endofunctor/noobwerkz-engine | 3ba001e97bdf56e52f3baaa263ed9cea0e79cec2 | 2f35b4cd8724e59e2a442f0697db5cb5897d0b7c | refs/heads/master | 2020-12-25T11:16:07.669537 | 2016-01-13T03:09:50 | 2016-01-13T03:09:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,468 | hpp | Component.hpp | #pragma once
#include <unordered_map>
#include <memory>
#include <vector>
namespace noob
{
class stage;
template <typename T>
class component
{
public:
class handle
{
friend class component;
public:
handle() : valid(false), inner(0) {}
bool operator==(const noob::component<T>... |
6f0f449727900d00d9af33c8eeb18e3a06f4cd53 | 3a7d985b337d97f4ea7702b45bde58f70d3ee3c2 | /network/tcp_master_face.cpp | a86e33e6ca748acbe248696c610c08673e8c66e3 | [] | no_license | DOCTOR-ANR/NDN-firewall | 015d2d27b948dbbaaccabe092af997d159af8ff7 | 72245eb15b9865223598c5d1c0f94efb20683301 | refs/heads/master | 2020-03-30T22:57:00.105842 | 2018-08-06T09:08:03 | 2018-08-06T09:08:03 | 151,606,560 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,417 | cpp | tcp_master_face.cpp | /*
Copyright (C) 2017-2018 Xavier MARCHAL
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in ... |
6f7105dc17c05c965083d1e8bf5b16a5561f3e32 | 6376d4b8a087a61f3a40a8a80862e46f9ef58719 | /src/common/deport/redisdeport.cpp | 860aa65c6215280040d8c3d5393ad6389b3d4405 | [] | no_license | limoiie/rakeman-engine | 272c70a2e40f91766a9b1a5d83a608c4c4aa9dcb | 48ea0033a54eff36206e2fd8956504f84a1bcdfd | refs/heads/master | 2021-05-06T17:29:22.201011 | 2018-01-16T15:52:40 | 2018-01-16T15:52:40 | 111,865,648 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,441 | cpp | redisdeport.cpp | //
// Created by limo on 11/29/17.
//
#include "redisdeport.h"
#include <common/serializer.h>
#include <common/integer2string.h>
#include <saker/postingsop.h>
#include <common/config.h>
CRedisDeport::CRedisDeport(std::string host, size_t port)
: m_host(std::move(host)), m_port(port), m_client(), m_state(UN... |
c6a32b3e9bc57d363fd8fdb33c4b9436c821dbb2 | 798491d9b382b7b19d61bfab5ef3ddead9173a79 | /source/dllmain.cpp | a91c60f90a3bdda806009a6d5e4bffea88dcddaa | [
"MIT"
] | permissive | ThirteenAG/Ultimate-ASI-Loader | ef82e67eb4ece98d52fc59504ac3e6a7e5479082 | 445b6198478909b78532f76386db07b4ffbf1cd7 | refs/heads/master | 2023-08-27T16:42:23.632990 | 2023-06-28T17:09:43 | 2023-06-28T17:09:43 | 14,176,293 | 827 | 103 | MIT | 2023-06-09T07:51:27 | 2013-11-06T15:23:05 | C++ | UTF-8 | C++ | false | false | 51,605 | cpp | dllmain.cpp | #include "dllmain.h"
#include "exception.hpp"
#include <initguid.h>
#include <filesystem>
#if !X64
#include <d3d8to9\source\d3d8to9.hpp>
extern "C" Direct3D8 *WINAPI Direct3DCreate8(UINT SDKVersion);
#endif
HMODULE hm;
std::vector<std::wstring> iniPaths;
std::filesystem::path sFileLoaderPath;
std::filesystem::path ga... |
79a6342de8353fad8947ac88fe7c896b307cda0c | b90ce73d0093cd387acd62d6b5d1f6f85c3394e8 | /connection/Connection.h | a8e163b530e730d81534a89367f0f8ffeddcd5c7 | [] | no_license | bboynton97/Design_Pattern_Neural_Network | f636d6dbf72d1054900c6f97eb320af8a000f751 | 992718c83c5eb42fa3731bd457fea49c64e08cf6 | refs/heads/master | 2021-08-28T08:23:39.924211 | 2017-12-11T17:57:46 | 2017-12-11T17:57:46 | 112,644,242 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 422 | h | Connection.h | //Honor Pledge:
//
//I pledge that I have neither given nor
//received any help on this assignment.
//
//brboynto
#ifndef _CONNECTION_H_
#define _CONNECTION_H_
#include <iostream>
class Connection {
public:
Connection();
~Connection();
float getWeight();
float getDeltaWeight();
void setWeight(float weight)... |
ee55e8163aa81b4f0f4d3932b63260f6841302ad | b4df97d8e7d30ab15e187fdf8549d3d3cc449482 | /ProyectosOGRE15x86/IG2App/Plano.h | 20fbf82b59ee648ddbbead5cdfd150caeb0a6b75 | [] | no_license | ancues02/IG2 | a7c063e0887df07cb3bdb8f8d8fcaa183052ae04 | 257102c24d239e56fa8b81d125ba6903d6a06be4 | refs/heads/master | 2023-02-26T09:01:47.791824 | 2021-01-29T11:05:39 | 2021-01-29T11:05:39 | 301,685,047 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,112 | h | Plano.h | #pragma once
#include "EntidadIG.h"
#include <OgreMeshManager.h>
#include <OgreMovablePlane.h>
#include <OgreCamera.h>
#include <OgreTextureManager.h>
#include <OgreRenderTexture.h>
#include <OgreHardwarePixelBuffer.h>
#include <OgreViewport.h>
#include <OgreSubEntity.h>
#include <OgreTechnique.h>
#include <OgreRenderT... |
43d213206c9e4162baa76619fac57aa37a21e614 | 4b73a36745e969cf9d222c111d1baa39cb3d254a | /test/autogen/smp@algorithm@reverse_fold.cpp | 368a591f9865e0b4b1aef610c282b4f8ec19736e | [
"MIT"
] | permissive | Ornito/jln.mp | f3cc94e7b34523d40777171c5d38fdb2c817287e | 9553e3d3bc6424f8cfc4e550fdab5ec94d97594e | refs/heads/master | 2023-05-05T02:51:29.101364 | 2021-05-22T22:40:31 | 2021-05-22T22:40:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 49 | cpp | smp@algorithm@reverse_fold.cpp | #include "jln/mp/smp/algorithm/reverse_fold.hpp"
|
0ed3504e2d728c0e79f81797d2aa232c18dca18f | fe82dc5d82d4a8d3fc806cacdbe05035e1b379e6 | /Hello/Network/ASIO/player.cpp | 7ae9038bfbe491ff78e29efa1a1adae3e12c41ba | [] | no_license | HarounH/spaceRash | 5bab67d16a4539c603b096441a7c6076ef6a5bd4 | a51ce510c70f32f7f46ed221749d7e3d2e700b37 | refs/heads/master | 2016-08-04T20:01:40.360068 | 2015-04-25T18:18:18 | 2015-04-25T18:18:18 | 34,252,186 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 229 | cpp | player.cpp | #ifndef PLAYER_CPP
#define PLAYER_CPP
#include "players.hpp"
Player() {
//Do things.
init_bulletWorld();
}
~Player() {
//Do things.
delete bulletWorld;
}
void init_bulletWorld() {
bulletWorld = new BulletWorld();
}
#endif |
a1a07f7730d2abc287f2e1a6426efdb11f959a76 | bfb98c332f7160dc2a520b218b9a6797264f7c53 | /private_include/lc/libcomp_nsdef.h | d6e2c6fa72590446d879d0acd4fc9a1a2eb5dca2 | [] | no_license | yusuke-matsunaga/ym-cell | 56ad0a5cd76ba8809c22b9f25f81e0bc8d130a38 | 3430a898ca709e3ec1f7134396d29d0e81e7b794 | refs/heads/master | 2023-07-21T14:56:44.986876 | 2023-07-10T04:56:04 | 2023-07-10T04:56:04 | 51,415,416 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 832 | h | libcomp_nsdef.h | #ifndef LIBCOMP_NSDEF_H
#define LIBCOMP_NSDEF_H
/// @file libcomp_nsdef.h
/// @brief libcomp 用の名前空間の定義
/// @author Yusuke Matsunaga (松永 裕介)
///
/// Copyright (C) 2005-2011, 2014, 2021 Yusuke Matsunaga
/// All rights reserved.
#include "ym/clib.h"
/// @brief libcomp 用の名前空間の開始
#define BEGIN_NAMESPACE_YM_CLIB_LIBCOMP... |
60959c0eee221aea62a83b89d1c1cbfc1e36fc18 | e1c6bed59e725e9e7f28f17e88357c3424dba491 | /est/speech_tools/main/siod_main.cc | 2c4a1a01f2a011dc1904ca734be4645e63deef19 | [
"MIT",
"LicenseRef-scancode-proprietary-license",
"BSD-3-Clause",
"GPL-1.0-or-later",
"LicenseRef-scancode-other-permissive",
"MIT-Festival"
] | permissive | shashankrnr32/WaveCLI | 87a398809263a97da4c072617b3ed3e0aa396287 | b2addcfb90b9dbef8ce6035e01dbf639285ec20f | refs/heads/master | 2020-05-07T09:17:19.010465 | 2019-05-21T07:59:04 | 2019-05-21T07:59:04 | 180,370,062 | 1 | 2 | MIT | 2019-04-20T08:48:39 | 2019-04-09T13:13:02 | Python | UTF-8 | C++ | false | false | 7,635 | cc | siod_main.cc | /*************************************************************************/
/* */
/* Centre for Speech Technology Research */
/* University of Edinburgh, UK */
/* ... |
6d90caedbff02cfd4f26343d09f9e5470bda0eb7 | 80adfe970af596fe3247f64bb82a49e972a1cbe2 | /Src/Client/GameApp/Game/Player.cpp | 5097d6d89900dfa9dfdeeb486bebc3b3b80cd1df | [] | no_license | jjuiddong/MadSoccer | 800f88b21e4117c2c54996d80b14aeed7b62027a | 0cf0c06b6a9451d9130087c26204777cd936ea14 | refs/heads/master | 2020-06-02T10:44:07.573810 | 2019-01-07T09:10:28 | 2019-01-07T09:10:28 | 6,795,510 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 891 | cpp | Player.cpp |
#include "stdafx.h"
#include "Player.h"
using namespace game;
CPlayer::CPlayer() :
graphics::CWindow(ID_PLAYER, "Player")
{
graphics::VertexList vtxList;
graphics::IndexList idxList;
const float circleR = 1.f;
for (float i=0; i < MATH_PI*2.1f; i+=0.1f)
vtxList.push_back( Vector3(cos(i)*circleR, 0, sin(i)*cir... |
61d85526a60abadcccefe98d535e301934d143d0 | f96f9244a9e1e4711c27c6d969e513999c4e84a5 | /middleware/common/unittest/source/log/test_stream.cpp | 43246a401c1f8510f1be9583f5afa2f2e393ccd3 | [
"MIT"
] | permissive | casualcore/casual | 88965684f908a46dcc998238aa78726e0143bb05 | 7311cc481f3b823d0c86fc09171fbd17e3c39fc1 | refs/heads/feature/1.7/main | 2023-09-04T01:22:09.633159 | 2023-07-07T15:33:29 | 2023-07-18T08:48:49 | 477,282,028 | 14 | 4 | MIT | 2023-09-14T07:52:38 | 2022-04-03T08:34:20 | C++ | UTF-8 | C++ | false | false | 4,441 | cpp | test_stream.cpp | //!
//! Copyright (c) 2022, The casual project
//!
//! This software is licensed under the MIT license, https://opensource.org/licenses/MIT
//!
#include "common/unittest.h"
#include "common/unittest/file.h"
#include "common/log/stream.h"
#include "common/log/category.h"
#include "common/execute.h"
#include "common/en... |
b41e2e3a83dc37c6a22e1bfa3c228e073aa26327 | 88ae8695987ada722184307301e221e1ba3cc2fa | /chrome/browser/vr/model/text_input_info_unittest.cc | 18e9b0f3a3c890e2b9ef6b92af726c4be95d5a4f | [
"BSD-3-Clause"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 7,035 | cc | text_input_info_unittest.cc | // Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/vr/model/text_input_info.h"
#include <memory>
#include "base/strings/utf_string_conversions.h"
#include "testing/gtest/include/gtest/gtest.h"
namesp... |
6d97e1372a0ca118fabaffa4cdb3ada42afa8b66 | a02fb389968b5780c438b902c019e85d3552dd68 | /hsy/413.cpp | bcbba98c964de9152b86dea63262c9a08462b85e | [] | no_license | crazyrabbit0424/watch-learn | 81b38e081e3134c5d37727ae14e2c34dae5d501e | 5aacf5fa8301db8158ae989ca4729abe2175fea2 | refs/heads/master | 2021-01-20T18:44:23.772904 | 2019-11-17T11:59:08 | 2019-11-17T11:59:08 | 63,000,045 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 849 | cpp | 413.cpp | class Solution {
public:
int numberOfArithmeticSlices(vector<int>& A) {
int size = A.size(), cnt = 0;
bool find = false;
int diff, start;
for (int i = 0; i < size - 2; ++i) {
if (!find && (A[i] + A[i + 2] == A[i + 1] * 2)) {
find = true;
di... |
12f91ef6349b21e1c331b0f82e4ba111f907a905 | 72da305cf5970dbd6a76d4bd5e37fcbcfa5155ab | /src/tcplistener.cpp | 4e9872ce93023512c5dc9dfe15e2a7e179379713 | [] | no_license | jam3st/epoller | b5ab7ac0d93a0d028a213063f1a7449bd5d54a17 | 2e7cc08c177e171f121e3d1f574aba6f34c49138 | refs/heads/master | 2021-01-19T17:22:57.594347 | 2015-06-12T22:25:06 | 2015-06-12T22:25:06 | 82,452,195 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,409 | cpp | tcplistener.cpp | #include <string>
#include "logger.hpp"
#include "tcplistener.hpp"
namespace Sb {
void
TcpListener::create(uint16_t const port, std::function<std::shared_ptr<TcpStreamIf>()> const& clientFactory) {
std::shared_ptr<Socket> ref = std::make_shared<TcpListener>(port, clientFactory);
En... |
621c3d8c77cd307b5eedaf04486e764e72f772ab | 4048a1f47ef44dd538b2fcb640ebb3b3a3d91ef1 | /info_display/infodisplay.h | 4471f49743374df9667dcac2846829b7ed94ebd5 | [] | no_license | Osmanthus-D/bms_tool_alpha | 7fc505661c0f502636bf810a702bf2455cd938dc | 457e0b0881af0a6bf5de31d7b13a4b6c760b2c1e | refs/heads/main | 2023-05-25T23:09:23.792117 | 2021-01-20T23:34:28 | 2021-01-20T23:34:28 | 330,866,862 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,546 | h | infodisplay.h | #ifndef INFODISPLAY_H
#define INFODISPLAY_H
#include <QWidget>
#include <QGroupBox>
#include <QMessageBox>
#include <QTimer>
#include <QThread>
#include <QSerialPort>
#include <QtEndian>
#include "modbushelper.h"
#include "preference.h"
#include "defs.h"
const QImage imageYes(":/img/yes_96x96.png");
const QImage imag... |
8c6bcc74c234543cad4d8648a802b8203223ee1e | 63e1209781b7e285cac271a3e1960017818bcf7c | /bearermanagement/mpm/src/mpmserver.cpp | 388e0a8f6bdd3cfeaaef4d72348971024f808dfd | [] | no_license | SymbianSource/oss.FCL.sf.mw.ipconnmgmt | ae5b9fecf316dc50ec77865760ff5ebce3022a6f | 7c6f294faf11b41753e2402de392b6359acc8a2e | refs/heads/master | 2021-05-04T00:31:37.516130 | 2010-10-28T10:13:30 | 2010-10-28T10:13:30 | 71,849,834 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 81,182 | cpp | mpmserver.cpp | /*
* Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl... |
98297296d31b4a0ba4c219bd8d2235a55346fb43 | ee81fa71c6b8433c77bea83911fe336aabcfa75a | /test/unit_test/bc/fund/fund_query_mock.h | 2e624337659b8e3b2f82630fd19a694bc0e0ddaf | [] | no_license | wunglee/DDD-Demo-for-C | ed47815ef814e97bc45058cf4fd374fe960db6e4 | 858d84624ec69b590400a25cc88247cc2f151015 | refs/heads/main | 2023-06-03T03:03:50.690428 | 2021-06-11T03:35:30 | 2021-06-11T03:35:30 | 368,185,428 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,195 | h | fund_query_mock.h | #ifndef TRANSFER_FundQueryMock_H
#define TRANSFER_FundQueryMock_H
#include "../../../../src/bc/fund/application/fund_service_query_interface.h"
class FundQueryMock : public FundServiceQueryInterface {
private:
std::vector<Fund> &funds;
static FundQueryMock* fundQueryMock;
FundQueryMock(std::vector<Fund> &fu... |
84d84251694655fdee9add93b7fe4953bcb28083 | 1384d6be3925905ace9a9a768c512ca6438a5386 | /计蒜客/不同的钱数.cpp | d38cfefc4295fefd21ca86c2de9605a6dc1f5193 | [] | no_license | PPPPro/AcmPractise | 0d816911d55bc032bb2e049c722f028a8abe3694 | b4f7df26c1ad8f726a20df9edba9ac2d7296624c | refs/heads/master | 2020-04-13T03:47:29.380308 | 2018-12-24T02:43:12 | 2018-12-24T02:43:12 | 162,942,316 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 375 | cpp | 不同的钱数.cpp | #include<iostream>
#include<set>;
using namespace std;
int a[] = {2,2,2,2,3,3,3,5,5};
set<int> s;
void dfs(int deep,int res){
if(deep == 9){
s.insert(res);
return;
}
dfs(deep+1,res+a[deep]);
dfs(deep+1,res);
return;
}
int main(){
dfs(0,0);
int cnt = 0;
for(set<int>::iterator it = s.begin();
it != s.end();... |
9ccbeb22f82abf513464f53878418ed693d2541b | ad13cc127c7ae8838bf224e6170ed343102f69b5 | /src/module/user/list.cpp | 8f6ada5a77f1ceb03632ed347d5e3ee556a02b82 | [] | no_license | fsiaonma/together | 37297c1db3857e4b544a7f8bf4684340a1533d74 | a74dfbc26c98b6fe45be3833488026330a9aa07d | refs/heads/master | 2021-01-23T05:45:32.254949 | 2013-05-29T13:04:57 | 2013-05-29T13:04:57 | 8,816,485 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,316 | cpp | list.cpp | #include "user.h"
/**
* get follow list
*
* @method get_following_list
* @param {int} uid uid which is used for mark which user is to depend on
* @param {int} page_no page_no which is used for get follow list
* @param {int} page_size page_size which is used for get follow list
* @param {string} sid sid which ... |
7c37018472cf78f34c5194396e1a057cc03971b3 | 59f1ebcb9ac7535dddb49b41c68df0ed3f0bc3c8 | /CS32HW1.final/testScoreList.cpp | 639f3c95abf94466bf1ebb97563670bb10da179f | [] | no_license | Ojasbardiya11/CS32 | 82a25d6503e03f5920a6d2d768095fa486f8d922 | 2a3f4ca3e6ffd4f3ee5a536f46638e4f37c69d1f | refs/heads/master | 2020-12-13T11:06:22.711110 | 2020-02-06T20:35:53 | 2020-02-06T20:35:53 | 234,397,271 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 654 | cpp | testScoreList.cpp | //
// testScoreList.cpp
// CS32_code1
//
// Created by Ojas Bardiya on 4/16/19.
// Copyright © 2019 Ojas bardiya. All rights reserved.
//
#include "Sequence.h"
#include "Scorelist.h"
#include <cassert>
#include <iostream>
#include <string>
using namespace std;
int main()
{
ScoreList mathgrades;
assert(ma... |
50ab09ee6a9c91106a5da9dee07d4747aa8e2785 | f012891a6066d01b4fc419bef97299f2df25e342 | /Dynamic_Programming/DP19 Fibonacci number problem.cpp | be028823645b4c038598dd6fceb87d21d82c640b | [] | no_license | wayne1116/ITSA-Online-programming | 50bc0243f8a99079303801461a3b56be87b1620b | 96789878f26b2af1983efdbb292c3e8614b3e456 | refs/heads/master | 2020-04-30T08:30:00.415952 | 2020-02-28T17:34:11 | 2020-02-28T17:34:11 | 176,717,738 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 408 | cpp | DP19 Fibonacci number problem.cpp | #include<iostream>
using namespace std;
int main()
{
double result[10000];
double lower, upper;
result[0]=result[1]=1;
for(int i=2; i<10000; i++)
result[i]=result[i-1]+result[i-2];
cin >> lower >> upper;
int i;
for(i=0; i<10000; i++){
if(result[i]>=lower)
break;
}
int count=0;
for(int j=i; j<10000;... |
b8890f3fd00363ea85baa225d3c3f18d4fc6d42b | edbb300e599241f7b5aa91860a1b83ed13fe1c1a | /src/loading/loading.h | 46fadfdb5edee3cde2c81ba93cee33e95bbbd7a3 | [
"BSL-1.0"
] | permissive | PeriHPX/PeriHPX | 58dc4040f076067721d62d1abaa4a23f5500ce66 | b7d486bdcd5368385e7ed2cc35b587361e4cb637 | refs/heads/main | 2023-09-03T22:57:15.549422 | 2023-08-23T00:38:24 | 2023-08-23T00:38:24 | 411,704,960 | 7 | 2 | BSL-1.0 | 2023-08-23T00:38:26 | 2021-09-29T14:22:11 | C++ | UTF-8 | C++ | false | false | 1,506 | h | loading.h | ////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2019 Prashant K. Jha
// Copyright (c) 2019 Patrick Diehl
//
// 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)
/////... |
47c3953f014df7826b259c686ce3f01accd88a4e | dab16faeec5a1882c3aa65d823fa669e5e832111 | /CommonUtl/DemoUtl/TestDialog.cpp | 148559156f98cc9dd4a053810754ff4bbb4a0a72 | [] | no_license | paul-hc/DevTools | adaa6b20bedfb941a6114c70b97c2776c543946c | 84be93c23d8d2a272b6d5d09c4129a6cd87a2aa4 | refs/heads/master | 2023-08-31T18:17:21.143856 | 2023-08-31T17:51:12 | 2023-08-31T17:51:12 | 116,268,930 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 919 | cpp | TestDialog.cpp |
#include "pch.h"
#include "TestDialog.h"
#include "DemoTemplate.h"
#include "resource.h"
#include "utl/UI/CmdUpdate.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
CTestDialog::CTestDialog( CWnd* pParent )
: CLayoutDialog( IDD_DEMO_DIALOG, pParent )
, m_pDemo( new CDemoTemplate( this ) )
{
m_regSection = _T("TestD... |
658748503fef338cfc85d4bb50534a88677af1a5 | ba99ed52e4aff322c2407334d0857b25670ae250 | /HippoPrinter/src/libslic3r/ExPolygon.hpp | bbf7f493d24e72b1a7af7139791e548d6a705ec8 | [] | no_license | SHINOTECH/HippoPrinter | 2b452445c302f0bbd7b57d17f98df5be22540bbb | bbc3bdced588c4fd63b9c5d8e629873fc9a4b7c3 | refs/heads/master | 2021-01-20T09:48:47.202253 | 2017-04-05T02:00:29 | 2017-04-05T02:00:29 | 90,288,445 | 2 | 0 | null | 2017-05-04T17:02:52 | 2017-05-04T17:02:51 | null | UTF-8 | C++ | false | false | 5,204 | hpp | ExPolygon.hpp | #ifndef slic3r_ExPolygon_hpp_
#define slic3r_ExPolygon_hpp_
#include "libslic3r.h"
#include "Polygon.hpp"
#include "Polyline.hpp"
#include <vector>
namespace Slic3r {
class ExPolygon;
typedef std::vector<ExPolygon> ExPolygons;
class ExPolygon
{
public:
Polygon contour;
Polygons holes;
operator Point... |
65a4ddfa64edd25082e02cddc033312d253025d9 | 5e669d2860da3e849557574f2c8f5b3208c21f7f | /hefur/template-factory.hh | 830615f82d46797d3ff2bde8e1a57700ce95b487 | [
"MIT"
] | permissive | abique/hefur | 17b2c87968560f32e70ee7894ddaa980d7623758 | 5f443757b5938a2bf9a4945508e45db90703a766 | refs/heads/master | 2023-09-01T16:50:05.668857 | 2022-08-02T21:26:20 | 2022-08-03T07:00:11 | 4,232,506 | 139 | 38 | MIT | 2022-08-03T07:00:11 | 2012-05-05T08:36:51 | C++ | UTF-8 | C++ | false | false | 468 | hh | template-factory.hh | #pragma once
#include <mimosa/singleton.hh>
#include <mimosa/tpl/cache.hh>
#include "namespace-helper.hh"
namespace hefur {
/**
* This is factory which caches parsed html template files.
*/
class TemplateFactory : public m::Singleton<TemplateFactory> {
public:
/**
* Fetches the template... |
a37a4af96aeabfffee2c9bd1a33ef9e0a7a5e97b | d65d3883b0f826e33d0d9b037298659e6ea9d49f | /Winara/Movimento.cpp | 3782a11d361744a4d5696ba3f629a1b1fe4edbf6 | [] | no_license | OranyPortilho/Sexta-feira | d35d07742015c3b53a4eb004d784460c0c71d03e | 1dc77b4d60d9d9a6aecc07c6abc527363c913439 | refs/heads/master | 2020-08-22T14:42:32.940963 | 2019-11-03T19:58:15 | 2019-11-03T19:58:15 | 216,418,189 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 911 | cpp | Movimento.cpp | #include "robo_hardware2.h"
#include "Movimento.h"
void Movimento :: fren()
{
robo.acionarMotores(60,60);
}
//Garra
void Movimento :: aberta()
{
robo.acionarServoGarra1(180); //BRAÇO
robo.acionarServoGarra2(180); //GARRA
}
void Movimento :: fechada()
{
robo.aci... |
5c5b689ec02e7af44f2508408c160a6d1d144eb4 | 49554eed9613cf9a4cd46f92110efea3e0a21759 | /Room.h | 4776bc7a3b74a7da21aec9cb99769bf0b6fe0bc1 | [] | no_license | omar-faruk01/Hero-Escape-Game | a91b3b53e26b5114c3d79591c7ad045ef06d4500 | 38bf9720804781b1416e6ce43b7c3e6a0c71890f | refs/heads/main | 2023-04-18T04:03:43.746027 | 2021-05-04T17:57:29 | 2021-05-04T17:57:29 | 363,815,438 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 938 | h | Room.h | #pragma once
#include "Item.h"
#include "Monster.h"
class Room {
private:
string name;
Room* east;
Room* west;
Room* north;
Room* south;
Monster* roomMonster;
Item* roomItem;
bool exit;
public:
void setName(string alpha);
string getName() const;
void setEastRoom(Room* x);
void setWestRo... |
b2e7ee39046a0fa396d0db36fccccabd8afedfd2 | fb11fed7773fd03bcce7cf2c140641c572d252b4 | /sources/Material.cpp | 7726f557463aaf13a7538baa09fcded8c692990b | [] | no_license | bensuperpc/Minecraft_clone | 49b03b41439905c1fe3c614042420ef9f9aef454 | 7040187a175b9bf4923aa093fcf8b6a9fb93106e | refs/heads/master | 2023-06-17T19:47:21.721810 | 2021-07-12T12:31:31 | 2021-07-12T12:31:31 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 2,108 | cpp | Material.cpp | #include "Material.h"
Material Material::block = Material(Color(), 0.2f, 0.6f, 0.f, 1.f);
Material Material::entity = Material(Color(), 0.2f, 0.6f, 0.4f, 100.f);
Material Material::water = Material(Color(0.f, 0.2f, 0.8f, 1.f), 0.4f, 0.4f, 0.4f, 500.f);
// Crée un matériaux
Material::Material()
{
color = Color(0.f, ... |
28a7c4a13406597afc3366baec44fd9c8c2812b4 | 5dcc071d67795368ad9fd58e23b26056ab6f356f | /Test/kTest.cpp | e6cc3377ee5aa0dd0a44b658bef89447a8427896 | [] | no_license | BlenderCN-Org/kgmEngine | 3d3c08b87fc95495017832303ca9d157f32283ee | 8ebaf6a7c840d93814e1481d6844b251e5e085d1 | refs/heads/master | 2020-05-30T08:26:55.392045 | 2019-05-31T10:40:23 | 2019-05-31T10:40:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,454 | cpp | kTest.cpp | #include "../kgmSystem/kgmSystem.h"
#include "../kgmGame/kgmGameApp.h"
#include "../kgmGame/kgmGameBase.h"
#include "../kgmBase/kgmXml.h"
#include "../kgmBase/kgmLog.h"
#include "../kgmBase/kgmPointer.h"
#include "../kgmGraphics/kgmGuiButton.h"
#ifdef VULKAN
#include "../kgmSystem/kgmVulkan.h"
#endif
#i... |
0cbb01313d995815fb9e5e506f0ab51942d7d4d2 | 886a88a9624ca55efd08b8ea910286fe89d18893 | /RPhoton/src/ShadingInfo.cpp | 5040549e4e5ca12e685dcb2ca9854c6bf436a213 | [] | no_license | zjryan/RPhoton | 55f91a2c3b7a7e918df1d8133d6b426af629868a | 6d55a1d56a44d454a6d88c92b25a5ac485fd862b | refs/heads/master | 2021-01-10T01:50:40.319632 | 2016-03-10T07:11:32 | 2016-03-10T07:11:32 | 49,118,178 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 449 | cpp | ShadingInfo.cpp | #include "ShadingInfo.h"
#include "Geometry.h"
#include "../GraphicLib/Ray.h"
#include "../GraphicLib/Maths.h"
ShadingInfo::ShadingInfo()
: isIntersected(false),
t(INFINITY),
hitGeo(nullptr),
hitPoint(),
hitNormal(),
texCoord()
{
}
ShadingInfo::~ShadingInfo()
{
}
void ShadingInfo::updateShadingInfo(cons... |
c4c5908322fc22e9f041f70e862a02387cbcfc51 | d9b16376756383add5eedc987501403aa6fb2d79 | /static_planner/include/static_planner/ad_astar.h | 13d155b139fa731fc70aaf2220fdf0bc0176f07a | [] | no_license | LiuYuha0/usv_navigation | ffa4b49565b41e4cc68e0e2da22d269870e1530f | 9c6ead4bb4f6b6ad705af9535468107b355dbb64 | refs/heads/master | 2022-04-05T22:40:10.077928 | 2020-01-21T14:05:16 | 2020-01-21T14:05:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,234 | h | ad_astar.h | #ifndef _AD_ASTAR_H
#define _AD_ASTAR_H
#include <costmap_2d/costmap_2d.h>
#include <static_planner/planner_core.h>
#include <static_planner/planner.h>
#include <static_planner/costmap_wrapper.h>
#include <vector>
#include <algorithm>
#include <string>
namespace static_planner {
class Index {
public:
Inde... |
27b0a50b5bc789c3ea4bd244d884ff988c80710b | 35d94106b695c32f0015d69f0e45a83ede217cde | /Practical5B/Bridge.cpp | 0a2141070687f7336f832da3f9f0919b323f3440 | [] | no_license | JacksonCKY/3D-Bridge | 552ec882a1ef81d62d70038a4cd8b40048cc37f0 | 007f77f584676125dfbb1f0e1a3092752ce4db39 | refs/heads/master | 2022-12-17T08:33:44.385526 | 2020-09-20T08:26:40 | 2020-09-20T08:26:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 44,557 | cpp | Bridge.cpp |
#include <Windows.h>
#include <gl/GL.h>
#include <gl/GLU.h>
#include <math.h>
#pragma comment (lib, "OpenGL32.lib")
#pragma comment (lib, "GLU32.lib")
#define WINDOW_TITLE "3D Bridge"
int questionnumber = 1;
int changeview = 1;
float radius = 0.275;
int slices = 30;
int stacks = 30;
float rotateBridge = 0.0;
float p... |
382015bee65a5666f2908fb9da6e6e0993da1377 | 026af1cf32ca6ae9f14e638c477b6bf556468ee9 | /tms_rp/tms_rp_rps/rps_commander/src/rps_robot_commander.cpp | d8d79d3b6ee5e19c88c3dd0a180725275a76fbd2 | [] | permissive | irvs/ros_tms | f2449fc2d51e369bd962398aded8e1829a314b16 | 3d6b6579e89aa9cb216cd3cb6157fabc553c18f1 | refs/heads/develop | 2023-01-28T03:29:27.004140 | 2020-02-22T04:53:33 | 2020-02-22T04:53:33 | 24,835,814 | 56 | 24 | BSD-3-Clause | 2023-01-11T22:23:41 | 2014-10-06T06:19:21 | TSQL | UTF-8 | C++ | false | false | 21,782 | cpp | rps_robot_commander.cpp | #include <ros/ros.h>
#include <std_msgs/String.h>
#include "../../rps.h"
#include <tms_msg_db/tmsdb_get_robots_info.h>
#include <tms_msg_rp/rps_robot_command.h>
#include <tms_msg_rc/smartpal_control.h>
#include <tms_msg_rc/smartpal_speak.h>
#include <sstream>
#define USE_TMS_DB
//~ #define SEND_COMMAND
using namespa... |
7d0e3d76c2f9a177ca312287327bed47a0176745 | 0f735afac2f581527c44ace5698050a6089bc28d | /extensions/DRM/dream/DRMReceiver.cpp | 6c6e7926c31a5daae3c4c25297c1200ca311b733 | [
"MIT"
] | permissive | mfkiwl/FlyDog_SDR_GPS | 83db8d4990db7ee39188d7f6e5fc60c42cc865db | d4870af35e960282a3c1b7e6b41444be4cb53fab | refs/heads/master | 2022-12-11T23:36:01.925673 | 2020-09-15T04:59:34 | 2020-09-15T04:59:34 | 296,168,529 | 11 | 4 | MIT | 2020-09-16T23:22:22 | 2020-09-16T23:22:22 | null | UTF-8 | C++ | false | false | 58,269 | cpp | DRMReceiver.cpp | /******************************************************************************\
* Technische Universitaet Darmstadt, Institut fuer Nachrichtentechnik
* Copyright (c) 2001-2005
*
* Author(s):
* Volker Fischer, Andrew Murphy, Julian Cable
*
* Description:
* DRM-receiver
* The hand over of data is done ... |
0c0788bd30955c280b1a949dae6c036ec05a1afc | 6192fe49fead10a5af71fc570652ac6c289004c7 | /SortingAlgorithm/InsertionSort.h | 817532a770941a44187a74006c732320b48ae8c7 | [] | no_license | licongcong/DataStructrueAndAlgorithms | 52ef888eac8143919a9130c05f0a2c23aed80167 | b15c6b3c181e95ffb6b8d3ce99e88b2ac936a62e | refs/heads/master | 2020-04-01T05:56:57.858465 | 2018-10-17T10:50:33 | 2018-10-17T10:50:33 | 152,926,552 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 609 | h | InsertionSort.h | //
// Created by Li Congcong on 2018/10/14.
//
#ifndef SORTINGALGORITHM_INSERTIONSORT_H
#define SORTINGALGORITHM_INSERTIONSORT_H
#include "SortingHelper.h"
template <typename T>
void insertionSort(T arr[], int size) {
T temp;
int index;
for (int i=0; i < size-1; i++) {
index = i + 1;
te... |
c111aca8020992bf1cba7982e15ee7ffd40fbe34 | 6ed231675a60c99609fb1825fd2ea12da0eb8ce0 | /include/Grid.h | 711a73905cde648b9cfc9cb02d8e57ad7b86c889 | [] | no_license | julialou/fluid-sim | 9b1b6d9a483e1952926ae33a703a1935cc4419b9 | 7e30c5005baaec3dde98b1eaa272806e6c2f478f | refs/heads/master | 2021-01-02T08:57:08.305317 | 2013-10-02T04:50:10 | 2013-10-02T04:50:10 | 13,262,851 | 0 | 0 | null | 2016-12-30T18:11:09 | 2013-10-02T04:35:04 | C++ | UTF-8 | C++ | false | false | 2,440 | h | Grid.h | #ifndef GRID_H
#define GRID_H
#include <cstdlib>
#include <ngl/Vec3.h>
#include "GridCell.h"
#include "Particle.h"
/// \file Grid.h
/// \brief Class for uniform grid, stores neighbours for each cell
/// \author Julia Lou
/// \date 08/05/2013 removed unneccessary methods
class Grid
{
public:
/// @brief default co... |
2fcd2fa28b452a29ade3b49ca580c77d7f495392 | 0e24f1cd3dd678fb746e68c7deecd0e3c6035a9f | /Encapsulation/Encapsulation/WndLogin.cpp | dab73114a9e20a85e63e11d743d6c01cba03370f | [] | no_license | danilodanicomendes/PipeMessaging | 7b8fa9018be45d757248e267cbe0b4fdc585befc | 080f8ab56e8b3bd010376a95d898bb0cc14df0cb | refs/heads/master | 2021-03-27T14:13:46.954520 | 2017-10-11T20:05:26 | 2017-10-11T20:05:26 | 20,533,961 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 7,988 | cpp | WndLogin.cpp | #include <windows.h>
#include <tchar.h>
#include "WndLogin.h"
#include "WndInicial.h"
#include "resource.h"
WndLogin::WndLogin(HINSTANCE hInst) :
Window<WndLogin>(TEXT("PipeMessaging - Login"), WS_OVERLAPPED | WS_SYSMENU, 200, 200,
615, 435, NULL, NULL, TEXT("JanelaLogin"), IDB_BITMAP2, NULL, hInst) {
// Como e... |
eb1521f9103bfad419d4e3624c3ec2b2a60287ba | d23001042eb0c91e2380dd2582285166e95e7d62 | /SDL2/player.h | d3835ea49bdcba6e2d1c3333ee8463840782420a | [] | no_license | vasilevx/wow-game | 63712933391286573c727f3e8c48392aa6c0e565 | 4e7b91a4e7650d834c19f86efc36b3303fa98ef6 | refs/heads/master | 2021-09-02T06:41:44.914026 | 2017-12-31T03:42:18 | 2017-12-31T03:42:18 | 115,257,404 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 202 | h | player.h | #ifndef _PLAYER_H
#define _PLAYER_H
#include "controlUnits.h"
//игрок
class player : public controlUnits{
public:
player(SDL_Renderer*const &ren);
void Reset();
};
#endif // _PLAYER_H
|
2b46ad0b5aa96c7ab0fdaa5ae27c14a96e5c820d | c0d3d361f524c4f55ea2931048a113acf732c8af | /translator/ass4_15CS30031_translator.h | 0aed4fb176ac54d5bd4f03fc936081fc7700743e | [] | no_license | sibby97/miniMATLAB | e6f7b05f91a0a6fbd982d0e19b1d510918fab13f | dd8720b17e1a8b96f9ad4c2b10aab7cb3d98060c | refs/heads/master | 2021-08-23T23:51:48.077754 | 2017-12-07T04:50:36 | 2017-12-07T04:50:36 | 106,152,801 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,512 | h | ass4_15CS30031_translator.h | #ifndef TRANSLATOR_H
#define TRANSLATOR_H
#include <iostream>
#include <vector>
#include <bits/stdc++.h>
#include <string>
/*--------MACRO DEFINTIONS-------*/
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_POINTER 4
#define SIZEOF_DOUBLE 8
extern char* yytext;
extern int yyparse();
using namespace ... |
bb28b2b35116ccc1f5188517e600bda468fecb42 | a69393a17b8d66ff758b72c71c46ac38a764985e | /src/rpcz/request_handler_ptr.hpp | 34fd456783bdd58cf5a710c3a4f029c2aeba3313 | [
"Apache-2.0"
] | permissive | jinq0123/rpcz | e9adbe1ef59bbb943095e82026a52fbbc324a6ce | d273dc1a8de770cb4c2ddee98c17ce60c657d6ca | refs/heads/master | 2020-12-25T20:55:05.209914 | 2015-03-08T04:19:48 | 2015-03-08T04:19:48 | 14,981,981 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 321 | hpp | request_handler_ptr.hpp | // Author: Jin Qing (http://blog.csdn.net/jq0123)
#ifndef RPCZ_REQUEST_HANDLER_PTR_H
#define RPCZ_REQUEST_HANDLER_PTR_H
#include <boost/shared_ptr.hpp>
namespace rpcz {
class request_handler;
typedef boost::shared_ptr<request_handler> request_handler_ptr;
} // namespace rpcz
#endif // RPCZ_REQUEST_HANDLER_PTR_H... |
e19fc4cc3bdef5df429cd476e6cbf5ec6405f301 | 4305670a9c5b9ca858da0a788b7ff1d2096334af | /Cell.h | 32f8c1504593da6a553b596e558eb37a36064870 | [] | no_license | apgsn/Conway-s-Game-of-Life | 29596484d631685dbb2494cf0c6249415d1f2ca6 | d3251e395ad52d3854062da78bfa2e9b301bc8ca | refs/heads/master | 2020-03-25T07:56:20.312772 | 2018-10-24T19:54:52 | 2018-10-24T19:54:52 | 143,589,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 330 | h | Cell.h | #ifndef __CELL_H_INCLUDED__
#define __CELL_H_INCLUDED__
#include <vector>
#include <SFML/Graphics.hpp>
class Cell{
public:
sf::VertexArray getTile() { return tile; }
private:
bool status;
unsigned neighbors;
sf::VertexArray tile = sf::VertexArray(sf::Quads, 4);
void toggle();
friend class ConwaysField;
}... |
2f06b32c57f091a7921245b59a5a79ef0bb530d3 | 04e2786a7baf40b5f8ac60e071144984e28e7dc2 | /source/MaterialManager.cpp | 497598eea2a537118abd4411885b949d7d1cef2b | [] | no_license | ssyp/pathtracer | 3d3917e442b4bb43b057aa01900b4c8900f53dc3 | 9fd60f29440de1477a9eed129ceb5a92545dfa3c | refs/heads/master | 2021-01-19T21:48:17.571571 | 2013-05-06T16:20:36 | 2013-05-06T16:20:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 968 | cpp | MaterialManager.cpp | #include "MaterialManager.h"
std::map<std::string, IMaterial *> MaterialManager::materials;
void MaterialManager::addMaterial(IMaterial* material, const std::string & string) {
materials[string] = material;
}
void MaterialManager::deleteMaterial(const std::string & string) {
std::map<std::string, IMaterial *>::ite... |
c6d419892abd5038c86e368e0a9e7441fc6a0872 | 1fea014ccd454c7235b51f9287bc8d076a4bddca | /archives/CF#719/D.cpp | 223577901144887aeb26ad4f570dade28abd8da9 | [] | no_license | hadron43/codeforces | baaebf8eeccf1a86b46fb304682cc81209ea3026 | 79bcf2ecbc05bb8d878da704eaa416616d41361e | refs/heads/master | 2023-05-27T01:44:56.121985 | 2021-06-11T15:15:03 | 2021-06-11T15:15:03 | 330,699,669 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 562 | cpp | D.cpp | /*
* @hadron43, Expert soon
* Good luck!
*/
#include <bits/stdc++.h>
using namespace std;
#define modulo 1000000007
#define maxsize 200000
typedef long long ll;
vector<ll> arr;
map<ll, ll> m;
ll T, n, in;
void solve() {
arr.resize(n);
for(ll &x : arr) cin>>x;
for(int i=0; i<n; ++i)
arr[i] -... |
e69f121e24c2508b774d6fcea7784462588f2982 | 58958463ae51c6af762ade55e53154cdd57e9b71 | /OpenSauce/Halo1/Halo1_CE/Settings/Settings.cpp | 2635294f1988648b25e48a98a411d1071149cb1c | [] | no_license | yumiris/OpenSauce | af270d723d15bffdfb38f44dbebd90969c432c2b | d200c970c918921d40e9fb376ec685c77797c8b7 | refs/heads/master | 2022-10-10T17:18:20.363252 | 2022-08-11T20:31:30 | 2022-08-11T20:31:30 | 188,238,131 | 14 | 3 | null | 2020-07-14T08:48:26 | 2019-05-23T13:19:31 | C++ | UTF-8 | C++ | false | false | 1,545 | cpp | Settings.cpp | /*
Yelo: Open Sauce SDK
Halo 1 (CE) Edition
See license\OpenSauce\Halo1_CE for specific license information
*/
#include "Common/Precompile.hpp"
#include "Settings/Settings.hpp"
#include <YeloLib/Halo1/shell/shell_windows_command_line.hpp>
#include <YeloLib/Halo1/open_sauce/settings/yelo_shared_settings.... |
357de04882823b8977428c3932aced42542f887c | 0d73d7e2ff7f30c5b4bc4e3c3c654f519186c187 | /Library/Il2cppBuildCache/iOS/il2cppOutput/Unity.RenderPipelines.Universal.Runtime.cpp | dace7b497fdbade337f56d6886d0192f85ab805b | [
"MIT"
] | permissive | Alex-Greenen/Spectral-Neural-Animation-Unity | 654710696b60db5c1dda2d912c0f15cbd20bc88e | fbd4983c2e260e21b353bf44c682e1413e480ce5 | refs/heads/main | 2023-08-01T08:17:57.781205 | 2021-09-14T17:24:26 | 2021-09-14T17:24:26 | 406,389,001 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,146,201 | cpp | Unity.RenderPipelines.Universal.Runtime.cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
template <typename R>
struct VirtFuncInvoker0
{
typedef R (*Func)(void*, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
{
const Virt... |
5ae1bc5e830c4da520ae0bf3daab304b7b0e70f8 | 1b9d37e7699632d819e8f4b57e3d99f1a071a5eb | /speech_utility/plugin/plugin.h | 9a2c25caa82a7d462db16f021a23eba08ce88068 | [] | no_license | AlexLexx706/speech_ut | 62cdd7c2c0a9daf25c70bb14686b33bb8f0c385b | 4be32e057a47840d9284f656cdfe782354338ad6 | refs/heads/master | 2021-01-18T22:23:15.898521 | 2016-03-14T20:27:22 | 2016-03-14T20:27:22 | 72,467,939 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,078 | h | plugin.h | #ifndef _PLUGIN_ALEX_H_
#define _PLUGIN_ALEX_H_
#include "../BaseSUPlugin/plugincommon.h"
#include <QLibrary>
class FileView;
class QMenu;
class QSettings;
class InternalThread;
class QToolBar;
//! Реализует интерфейс для работы с плагином.
class PluginWrapper:public QObject
{
Q_OBJECT
public:
//! Дополнительные да... |
7f609668fd8f547df80314b335f2b574f91ad54c | 433918960a7a3c6b09d9b29a63ed1e8fb5de1050 | /src/uml/uml/src_gen/uml/impl/NamespaceImpl.cpp | dad62f3ea0cfa5a5b1a9b710ccd70a2b609e0fa8 | [
"EPL-1.0",
"MIT"
] | permissive | MDE4CPP/MDE4CPP | 476709da6c9f0d92504c1539ee4b1012786e3254 | 24e8ef69956d2a3c6b04dca3a61a97223f6aa959 | refs/heads/master | 2023-08-31T03:15:56.104582 | 2023-01-05T14:45:37 | 2023-01-05T14:45:37 | 82,116,322 | 14 | 27 | MIT | 2023-06-23T09:23:01 | 2017-02-15T23:11:29 | C++ | UTF-8 | C++ | false | false | 35,034 | cpp | NamespaceImpl.cpp |
#include "uml/impl/NamespaceImpl.hpp"
#ifdef NDEBUG
#define DEBUG_MESSAGE(a) /**/
#else
#define DEBUG_MESSAGE(a) a
#endif
#ifdef ACTIVITY_DEBUG_ON
#define ACT_DEBUG(a) a
#else
#define ACT_DEBUG(a) /**/
#endif
//#include "util/ProfileCallCount.hpp"
#include <cassert>
#include <iostream>
#include <sstream>
... |
163829e371b9a9f6b638dc450c8b320ab114f975 | 870086c6194738791df42831668b2bc8d1c9fb05 | /MultiShaft_BootLaoder_Uart_K20/src/MCF51QE/Sources/SCI_2_32_HighSpeed.inc | 8db2325f4381051ea01913068d74157f2843f166 | [] | no_license | pipeng123/learngit | cf64119b93b2e5318f85e2bd3348586a21b1ca20 | bf485b663e64d6755fed80b1db08576824d029a8 | refs/heads/master | 2021-05-11T04:16:00.346464 | 2018-01-18T01:56:54 | 2018-01-18T01:56:54 | 117,935,434 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42 | inc | SCI_2_32_HighSpeed.inc | SCI .EQU 2
SIZE .EQU 32
HIGHSPEED .EQU 1
|
7d8a9c4f9abb4707f1f03c251acb74bd6f9eb031 | ccc5a83cdd5ff53aacdaef767cd17e531ee7b637 | /lab01.cpp | 713aefe0c802e310cd23830a7b0018d74ff6d5c4 | [] | no_license | UW-COSC-2030-FA-2017/lab1-processlist-Jkoney76 | 2e62f8c728fcd0fecaa43b0269f5016e94bb0b02 | b47259bf7e38aee0d1641196c173434020d9ce35 | refs/heads/master | 2021-06-28T01:16:48.566638 | 2017-09-18T04:13:17 | 2017-09-18T04:13:17 | 103,197,668 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,279 | cpp | lab01.cpp | // lab01.cpp
// Jake Koney
#include <iostream>
#include <fstream>
#include <string>
using std::ifstream;
using std::string;
using namespace std;
int main() {
float n = 1;
string filename;
cout << "Please enter the input file name: ";
cin >> filename;
ifstream filestr; // Create an input file stream.
... |
af6959b8862e3f66b007258d0da95c84a9ad9f4d | 0414f09002a1255cf2eaa7c760a9000e94f9b6f4 | /kernel/src/common/_2RealDeclarations.cpp | 18939b1f132279c3485ed6dd958b3159b23d7aa6 | [
"Apache-2.0"
] | permissive | MAMKramer/_2RealFramework | bb4ab1a9feb93bd92b3124e3526418c413b9837a | 67733d894d45bdb1c62df7eb9ba1f2d4bbc311ef | refs/heads/master | 2020-07-01T01:35:23.525495 | 2014-12-05T10:15:02 | 2014-12-05T10:15:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,720 | cpp | _2RealDeclarations.cpp | /*
CADET - Center for Advances in Digital Entertainment Technologies
Copyright 2011 Fachhochschule Salzburg GmbH
http://www.cadet.at
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://... |
61d35bde904c67961ecbf20be1765c7840234226 | 654e9baa5f90f35f1f78d3c20248ad22092cba00 | /VideoPlayer/DlgPtConfirm.cpp | d0dd2c84fa291aa8ddc58fb7d35047a90eac6935 | [] | no_license | eglrp/3DShow_1_modify | 412e48606e3dbbfa6a08a8b3cae00b2a01f00563 | a769de359783e8703185b6255b260c6a46bb7d57 | refs/heads/master | 2020-03-23T02:00:51.981955 | 2017-07-21T12:24:47 | 2017-07-21T12:24:47 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 518 | cpp | DlgPtConfirm.cpp | // DlgPtConfirm.cpp : 实现文件
//
#include "stdafx.h"
#include "DlgPtConfirm.h"
#include "afxdialogex.h"
// CDlgPtConfirm 对话框
IMPLEMENT_DYNAMIC(CDlgPtConfirm, CDialogEx)
CDlgPtConfirm::CDlgPtConfirm(CWnd* pParent /*=NULL*/)
: CDialogEx(CDlgPtConfirm::IDD, pParent)
{
}
CDlgPtConfirm::~CDlgPtConfirm()
{
}
void CDlgP... |
811e56b1178a9e0134f9e1bc0611e59e362cc7bf | f6df2482289973ab78d0b62cbc019f199c2ecab5 | /Coding/ClassProject/Inheritance.h | 5510b037796c0dd382b5a003806db324b5cbe23d | [] | no_license | f11m4at4/C- | d7f27ccda8cab4d0bacb7b8a922185200d5e9ce6 | e11eb7a8836df515c52e0c48dec0b149daeb4801 | refs/heads/main | 2023-04-22T06:39:17.876007 | 2021-05-17T08:58:43 | 2021-05-17T08:58:43 | 366,320,459 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 421 | h | Inheritance.h | #pragma once
#include <iostream>
using namespace std;
class CParent
{
public:
void SetFamilyName(string family);
string GetFamilyName()
{
return m_FamilyName;
}
private:
string m_FamilyName;
};
class CChild : public CParent
{
private:
string m_Name;
public:
void SetName(string n);
string GetName();
vo... |
a506028bc6d5f205f07bba889ffec475016b6d8d | 284047fb958e867033fac5eb9893d0fce503d1cf | /chapter13/page461/main.cpp | 1aaa8c067804a60cb0d6705bae1e7a38b2802fd0 | [] | no_license | liuxinyu123/cpp-primer | d8bbc4c209e077187221d6bdb12c1f88a0002cfb | 5f27e737de13df705fb7f5a57a4a5ac07cb24200 | refs/heads/master | 2021-01-13T16:42:45.948833 | 2017-02-22T15:01:32 | 2017-02-22T15:01:32 | 77,421,962 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 551 | cpp | main.cpp | #include <iostream>
#include "message.h"
#include "folder.h"
int main (int argc, char *argv[])
{
Message m1 ("hello");
Message m2 ("world");
Folder f1 ("folder1");
Folder f2 ("folder2");
f1.Save (m1);
f1.Save (m2);
m1.Save (f2);
m2.Save (f2);
f1.PrintMessage ();
f2.PrintMessage ();
m1.PrintFolder ();
m2... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.