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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7625d388e2b4e1a206af37fbbef0c8ff8110236a | 11d7549a3340d2e8f63b4b4304a3413712d63882 | /Sys/Dev/Abstract/Pin/cmtPinBase.h | 0fcde4b761e5c30823bc46c65af666f80b6e8054 | [] | no_license | hogiboygoy/cmt-lib | ac8676a4923d94a1e3e42c4cf4a01a86268e006f | 5424b4f206e9ef8c271143113552f78922fb6923 | refs/heads/master | 2021-01-10T10:05:21.005585 | 2012-09-12T04:53:19 | 2012-09-12T04:53:19 | 52,946,234 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 2,974 | h | cmtPinBase.h | //==============================================================================
// Cooperative MultiTasking system
// CMT system
// By Alexander Sibilev
//==============================================================================
//! Преобразователь битовых полей. Позволяет п... |
e6a5941945dca30d9c40a596fb429e35c5ccba14 | dbcb8457a0fa8c18003fb8efec8990bfea39a706 | /backtrace_libbt/bktce.h | b6c615bb9eac39db94ffbe59a505b78c28a45d26 | [] | no_license | Wei-N-Ning/cxxDebugGems | c7b2e5fd5488a80a3964a26dce7a1af9c6cb6a3c | d3481074f84fef233b57f2beb01fbe77fb086f7d | refs/heads/master | 2021-07-21T01:33:15.527164 | 2020-04-23T21:56:54 | 2020-04-23T21:56:54 | 144,344,297 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,054 | h | bktce.h | #ifndef _BACKTRACE_LIB_H
#define _BACKTRACE_LIB_H
#include <string>
#include <vector>
#include <cstdlib>
using string_t = std::string;
using bool_t = bool;
using native_frame_ptr_t = const void *;
//! A textural representation of an x86_64 runtime stack-frame;
//! Provides accessor methods to retrieve the frame poi... |
d2279c68ae34c52d6bb20736d5cc7ac879cf8494 | 47cceefe390101069de80d0b1af4ee7bdbec1d6e | /groups/bsl/bslstl/bslstl_list.t.cpp | 5c3f07128508c8205e44783bc3fe41c7dbd75019 | [
"Apache-2.0"
] | permissive | mversche/bde | a184da814209038c8687edaa761f420aa3234ae2 | 842c7e5c372eb5c29f7984f3beb4010d1c493521 | refs/heads/master | 2021-01-21T23:45:25.376416 | 2015-11-06T19:15:10 | 2015-11-06T19:15:10 | 29,453,231 | 2 | 0 | null | 2015-01-19T04:13:24 | 2015-01-19T04:13:22 | null | UTF-8 | C++ | false | false | 390,799 | cpp | bslstl_list.t.cpp | // bslstl_list.t.cpp -*-C++-*-
#include <bslstl_list.h>
#include <bslstl_iterator.h>
#include <bslma_allocator.h>
#include <bslma_default.h>
#include <bslma_defaultallocatorguard.h> // for testing only
#include <bslma_newdeleteallocator.h>
#include <bslma_testallocat... |
21e61f4c3068f2778550bafc9161e6ea2973fb1e | 6a6193dc6dc8a49cf92846d8011c1f37c7c1fb48 | /src/runtime/ssp.cpp | 87b8efd4485988750ba093c46998bbb94c2c1715 | [
"MIT"
] | permissive | StanfordAHA/Halide-to-Hardware | ac10c68fea5a295a8556284bec67dbd1ab8feffc | 135c5da2587e6f6b17b2e9352a456a645367ad4e | refs/heads/master | 2023-08-31T07:00:40.869746 | 2021-10-20T19:16:51 | 2021-10-20T19:17:08 | 167,240,813 | 76 | 14 | NOASSERTION | 2023-09-06T00:09:25 | 2019-01-23T19:25:20 | C++ | UTF-8 | C++ | false | false | 504 | cpp | ssp.cpp | #include "HalideRuntime.h"
#include "runtime_internal.h"
// LLVM sometimes likes to generate calls to a stack smashing
// protector, but some build environments (e.g. native client), don't
// provide libssp reliably. We define two weak symbols here to help
// things along.
extern "C" {
WEAK char *__stack_chk_guard =... |
9b51756843c4b2a0af1fe2c73f4a09b3c34b1ab5 | 0574237636f4d9ee0099f77c79adf182ce69419d | /TopCoder/EllysReversals.cpp | 46dde9ee51838fd1fe5d3f76aa214a8086ba5fe2 | [] | no_license | andreicoman11/code | 77359bccd7cc451d6db5edbfea9b2bf81f44250f | c0e318e7c7e192f1d90e82e2468344b6a27a310f | refs/heads/master | 2020-05-27T05:08:22.332100 | 2014-12-19T01:39:41 | 2014-12-19T01:39:41 | 28,082,193 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,614 | cpp | EllysReversals.cpp | // BEGIN CUT HERE
// PROBLEM STATEMENT
// Elly has a list of several distinct strings given in the
// vector <string> words. She can apply the following
// operation as many times as she wants (including zero times):
//
// Choose one of the words and call it S.
// Choose an even number k between 2 and |S|, inclusive... |
94876d32ee88317f4a0ca004b8fbd22331390a99 | 604964b710c03370521ec72f1519d554826cd73e | /software/watch1/app_watch1.cpp | 5eee15153105f2c95d07e99fcbc47b08da7b6e40 | [] | no_license | jterweeme/digitalwatch | 636fc2d657917ab327af0b667b6df561c5c1f959 | 72896e43f0e998b4c2de6214a0a037e37e9ac4cd | refs/heads/master | 2021-01-01T18:29:59.750018 | 2014-06-30T17:19:34 | 2014-06-30T17:19:34 | 17,646,651 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,878 | cpp | app_watch1.cpp | /*
2014 Jasper ter Weeme
A simple digital watch displays the time of day. Setting of the time is
achieved by two buttons. Button #1 will switch from displaying time mode
to increment hours mode. In this mode the hours flash and pressing
button #2 will increment the hours each time it is pressed. Further
pressing of bu... |
7af039ac67db4a83b8efb10530c88fffb7ba8a7d | 3843a9367ee129eb2dccd2411fef840ba652c82d | /Database/movie.cpp | 9dbfe4780f03ef2c2f0b968d23bf700ec5a15a50 | [] | no_license | nouryehia/Database | a7458cf0ec15f40cdde6f9358a5f69c9412f2ca1 | add4f6ac0deb9679547227993bc34b5b92331df5 | refs/heads/master | 2021-05-07T04:01:21.593041 | 2017-12-04T07:59:47 | 2017-12-04T07:59:47 | 111,067,728 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 644 | cpp | movie.cpp | //cpp class for movie class.
#include "movie.h"
movie::movie(char t[80], int y, char di[80], char du[80], double r) : media(t, y){ //constructor.
strcpy(director, di);
strcpy(duration, du);
rating = r;
type = 3;
}
char* movie::getDirector(){ // get director.
return director;
}
char* movie::getDuration(){ //get... |
0e85abf2a845e9992b9bf4fd35a8429563d7659a | 082389d29e73a19668cf5c829e0059309203e320 | /Before Novemeber 2017/Hackerearth/Untitled1.cpp | 6942e0c45f9caef116b1adea2b179eb6ac182459 | [] | no_license | aman955/Competitive-Coding | 41674cd625e2d941332d77ed0832fbc09ecf898e | 3feab59f254654a72ea6d0fba74c3f21eb710242 | refs/heads/master | 2021-05-10T20:25:22.604740 | 2018-02-15T15:24:58 | 2018-02-15T15:24:58 | 118,187,667 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 494 | cpp | Untitled1.cpp | #include<bits/stdc++.h>
#include<vector>
using namespace std;
int main()
{
int n,low,high,i,x;
cin>>n;
int arr[n];
for(i=0;i<n;i++)cin>>arr[i];
vector<int> sum(n);
sum[0]=arr[0];
for(i=1;i<n;i++)
{
sum[i]=sum[i-1]+arr[i];
}
int q;
cin>>q;
while(q--)
{
cin>>x;
if(x>su... |
aa6a7f2c97a507653e594a06e7b62209ec44b5c0 | d6ae8dc5bf9f94717a243aebd9572c1289661978 | /[BOJ]1949/[BOJ]1949/Source.cpp | d880da72e96988df7ae133b03203a253a4c3fd6c | [] | no_license | jinbeomdev/daily-algorithm-problems | b3ffd98626861fe670b5c9778a88c110b4654b33 | 7b1155bc9e7ad48efa490b8f88fe6b599182ee93 | refs/heads/master | 2021-06-12T09:16:32.184753 | 2019-10-21T14:41:35 | 2019-10-21T14:41:35 | 91,214,514 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,042 | cpp | Source.cpp | #include <cstdio>
#include <vector>
#include <algorithm>
using namespace std;
int N;
vector<int> residents;
vector<vector<int>> tree;
vector<bool> visited;
vector<vector<int>> dp;
int dfs(int root, bool check) {
int& ret = dp[root][check];
if (ret != -1) return ret;
ret = 0;
if (check) {
ret = residents[roo... |
e5b30f9463cc9cd581bfc899425d2db6a289ec1f | ad74dca1a5bf761e3895a229e7778e6fe1fe7d56 | /svrbase/SvrBase/libuv/include/UvUtil.h | 68782ee9158d9fb54d09340aa977d9a0dd3fdda0 | [] | no_license | lightjia/SvrBase | 1530c754c5c96f36f3de2d0e621aafd6dacf22fb | fcb0516b7b00e1dab30e73d9b62b196b469e1eac | refs/heads/master | 2020-04-11T14:35:11.655135 | 2019-07-09T07:50:40 | 2019-07-09T07:50:40 | 161,860,476 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,712 | h | UvUtil.h | #ifndef __CUVUTIL__H_
#define __CUVUTIL__H_
#include "singleton.h"
#include "uv.h"
#include "util.h"
class CUvUtil : public CSingleton<CUvUtil>{
SINGLE_CLASS_INITIAL(CUvUtil);
public:
~CUvUtil();
public:
unsigned int UvVersion();
const char* UvVersionStr();
uv_pid_t GetPid();
uv_pid_t GetPpid(... |
39fd42515bd9a1a766bb98ac78bd97a515a9d9ef | 916efa72e6615578dc82c75eb125dc944dd9cd89 | /arduino_sketch/arduino_sketch.ino | 0cd0823d1d07ffdba60ae335592e26880a5d7caa | [
"MIT"
] | permissive | attentec/jenkins_traffic_light | 1efb16c2aca517e283a42f41fc2f3719607ae2e6 | 902816800c6466ab6bcd40f5f1666d3ea473775e | refs/heads/master | 2021-01-19T07:20:51.154116 | 2017-10-13T14:08:26 | 2017-10-13T14:08:26 | 87,537,875 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,621 | ino | arduino_sketch.ino | #include <Adafruit_NeoPixel.h>
#include "declaration_workaround.h"
#define COMMAND_MASK 0xc0
#define COMMAND_OFFSET 6
#define DATA_MASK 0x3f
#define BUILDINFO_STATUS_MASK 0x03
#define BUILDINFO_BUILDING_MASK 0x04
#define HISTORY_SIZE 30
Adafruit_NeoPixel pixels = Adafruit_NeoPixel(HISTORY_SIZE, 7, NEO_GRB + NEO_KHZ... |
0a3e71932e8b420fa2f182c191440789e555c689 | 4c1dfcfaf2bcbfd3519620556288783c068ea514 | /nwol/label.cpp | c973846e06c6fb3bd8684ac920902619a14478ad | [
"MIT"
] | permissive | asm128/nwol | f3160cf00f3c0dd49a5b6094ee53d2da910b83f7 | a28d6df356bec817393adcd2e6573a65841832e2 | refs/heads/master | 2022-03-08T15:49:30.780998 | 2022-02-18T04:34:51 | 2022-02-18T04:34:51 | 85,928,436 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,469 | cpp | label.cpp | /// Copyright 2016-2017 - asm128
//#pragma warning(disable:4005)
#include "nwol_label.h"
#include "nwol_label_manager.h"
#include "stype.h"
#include <string>
//------------------------------------------------------------------- gsyslabel -------------------------------------------------------------------------------... |
cea93b255250a0b4ddb30fa4e7b75380a43caefa | 32e910f5440c10b384bb26b5555ac7adb77540ee | /src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/resource_allocation_manager_impl.cc | 0c513cb01ecace5c20ada8063e67bc66602d4e69 | [] | permissive | smartdevicelink/sdl_core | 76658282fd85b16ed6d91d8d4087d8cd1353db76 | 7343fc72c12edc8ac42a62556c9e4b29c9408bc3 | refs/heads/master | 2022-11-04T12:17:58.725371 | 2022-10-26T15:34:13 | 2022-10-26T15:34:13 | 24,724,170 | 269 | 306 | BSD-3-Clause | 2022-10-26T15:34:15 | 2014-10-02T15:16:26 | C++ | UTF-8 | C++ | false | false | 23,770 | cc | resource_allocation_manager_impl.cc | /*
Copyright (c) 2018, Ford Motor Company
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this
list of conditions and the fol... |
08e1a692e29d19588381904796f52e56cdd42f4e | 94f9d3863c93f4a990ab87d4933e0498ed3e2ba1 | /Dev-Cpp/DirectX/MD2 animation/NormalsTable generator/e_md2generatetable.h | 2ad2598172058343815fa4016c63cdbdff0bd3a3 | [
"MIT"
] | permissive | Jeanmilost/Demos | 6401d7af4612e6a6a06b070a5e951457c1cdc069 | 3300e056e88506757f3185ba94d6b2ac3da344af | refs/heads/master | 2023-01-28T19:51:05.670586 | 2023-01-09T16:20:48 | 2023-01-09T16:20:48 | 156,447,978 | 1 | 1 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,008 | h | e_md2generatetable.h | /*****************************************************************************
* ==> Classe E_MD2GenerateTable --------------------------------------------*
* ***************************************************************************
* Description : Cette classe permet la génération d'un fichier binaire *
* ... |
0fbcd355d282bdaafb3e5259b1af1fa0e107ce95 | 5e669d2860da3e849557574f2c8f5b3208c21f7f | /hefur/control-server.hh | 3cfb1a984eb5835246522ef33e425d6dea42c861 | [
"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 | 1,063 | hh | control-server.hh | #pragma once
#include <mimosa/rpc/server.hh>
#include <mimosa/string-ref.hh>
#include <mimosa/thread.hh>
#include "namespace-helper.hh"
namespace hefur {
/**
* This is a server which accepts commands from a unix socket,
* making it possible to control Hefur.
*/
class ControlServer : public m::RefCountable<Control... |
b47f1daf8981e321dc8d76c4993fecdd6a4d1612 | f0dbabac157fc79094062513cfcc28be253d9b70 | /modules/sdk-core/test/GroupAccessorMock.hpp | 07f4cda368b6463e0c843970d222f0e1a85c4587 | [
"Apache-2.0"
] | permissive | TankerHQ/sdk-native | 4c3a81d83a9e144c432ca74c3e327225e6814e91 | c062edc4b6ad26ce90e0aebcc2359adde4ca65db | refs/heads/master | 2023-08-19T02:59:40.445973 | 2023-08-09T12:04:46 | 2023-08-09T12:04:46 | 160,206,027 | 20 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 647 | hpp | GroupAccessorMock.hpp | #pragma once
#include <Tanker/Groups/IAccessor.hpp>
#include <trompeloeil.hpp>
namespace Tanker
{
class GroupAccessorMock : public Groups::IAccessor
{
public:
MAKE_MOCK1(getInternalGroup,
tc::cotask<InternalGroup>(Trustchain::GroupId const&),
override);
MAKE_MOCK1(getPublicEncryptionKey... |
4d3c075350752418fc6d6154a7ff0ba129265dda | 3a68b2d9b028cf7b8a0ddd0635c87e22743880ce | /Quiz/Repository/RepoParticipants.h | e5969f69c6b4981e9dae4743942a2ada52155ac0 | [] | no_license | pauladam2001/Sem2_ObjectOrientedProgramming | 527be32f0daecc8215f939d2fb2ef906555102f1 | fc3ff465018cf4004ea5af70b2e880043d55a3db | refs/heads/main | 2023-08-13T18:03:49.998731 | 2021-10-18T08:55:11 | 2021-10-18T08:55:11 | 390,777,948 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 609 | h | RepoParticipants.h | //
// Created by paula on 6/21/2021.
//
#ifndef QUIZ_REPOPARTICIPANTS_H
#define QUIZ_REPOPARTICIPANTS_H
#include "../Participant/Participant.h"
#include "../Question/Question.h"
#include "../Observer/Observer.h"
#include <fstream>
#include <vector>
class RepoParticipants {
private:
vector<Partic... |
fc01763873b5ce64c971783e72ba66a64b9b7b24 | 9be21a3bfc5d04bea4a6cda082f45517a68f42eb | /hphp/php7/unit.h | 45a07ac7173fd430a86632d4ba287a18e5cd732f | [
"PHP-3.01",
"Zend-2.0",
"BSD-3-Clause"
] | permissive | bcopeland/hhvm | 6cb9fd8f0be0f9fdf803e7f5df9c7130617a3480 | d4dd223529d42ccaec9014e8d9a1009d7c2a7cc0 | refs/heads/master | 2021-01-15T14:58:31.498315 | 2017-08-08T06:38:12 | 2017-08-08T06:44:40 | 99,701,343 | 0 | 0 | null | 2017-08-08T14:22:24 | 2017-08-08T14:22:24 | null | UTF-8 | C++ | false | false | 3,607 | h | unit.h | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010- Facebook, Inc. (http://www.facebook.com) |
+---------... |
39635057f75b41b07af955f3147190262e8bfe54 | 0013951a9aea5fc3dc2f546fc1972b630110f993 | /Seccesfuly/Shcool_schedule/add_subject.cpp | 34c141a80a25e919fbc744bb44803deecb969199 | [] | no_license | SHCHERBA92/Shcool_schedule | 10904cca64a484f4a6a0125bb897f35dde653fe3 | a171fb93e41785ecedb4cc79c872da31b81b42b6 | refs/heads/master | 2022-06-29T22:50:55.831877 | 2020-05-10T10:14:13 | 2020-05-10T10:14:13 | 261,287,217 | 0 | 1 | null | 2020-05-07T14:40:57 | 2020-05-04T20:21:55 | C++ | UTF-8 | C++ | false | false | 3,669 | cpp | add_subject.cpp | #include "add_subject.h"
#include "ui_add_subject.h"
#include <QDebug>
#include <QMessageBox>
Add_Subject::Add_Subject(QWidget *parent) :
QDialog(parent),
ui(new Ui::Add_Subject)
{
ui->setupUi(this);
// косметика Главного окна
this->setWindowTitle("Редактор списка предметов");
this->setFixedS... |
67c7a867b952e9039d0b5b8e86f5e0238ec132e2 | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Source/Editor/SkeletonEditor/Public/ISkeletonTree.h | 5fcc96b212ff8d812be64bded4ef55fd13a9d71e | [
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | windystrife/UnrealEngine_NVIDIAGameWorks | c3c7863083653caf1bc67d3ef104fb4b9f302e2a | b50e6338a7c5b26374d66306ebc7807541ff815e | refs/heads/4.18-GameWorks | 2023-03-11T02:50:08.471040 | 2022-01-13T20:50:29 | 2022-01-13T20:50:29 | 124,100,479 | 262 | 179 | MIT | 2022-12-16T05:36:38 | 2018-03-06T15:44:09 | C++ | UTF-8 | C++ | false | false | 5,473 | h | ISkeletonTree.h | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Widgets/SCompoundWidget.h"
#include "ArrayView.h"
struct FAssetData;
class IPersonaPreviewScene;
class UBlendProfile;
struct FSelectedSocketInfo;
class ISkeletonTreeBuilder;
class ISkeletonTreeItem;
class FMe... |
05574fd0b440ec45d25d3d6926bd76d9c499c82b | 2328d903e7c4092025bc0bb18be40efee0a963f8 | /src/mate/create_map.h | c0f1daddfe2ba5deea67690793d09dbe21b9391c | [
"MIT"
] | permissive | NPTricky/adm-machine-ss14 | 525a3787ca95c0eb93a47dfc464f9a2865752436 | 29cd9bd96cedb1a52a834e03d03548e99b96058a | refs/heads/master | 2021-01-10T19:25:17.498832 | 2014-09-09T08:37:19 | 2014-09-09T08:37:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 612 | h | create_map.h | #pragma once
#include <map>
/// Generic class for the chained creation of a std::map.
template <typename K, typename V>
class create_map
{
public:
/// Constructor for a map with a single entry.
/// \param _key
/// \param _value
create_map(const K& _key, const V& _value)
{
m_map[_key] = _value;
}
//... |
63af1ec2a19d517242c43c22fc8d7fb1ff7cedba | b19cbac54a06a360c944bcac15ff3a1178c996e4 | /Group07_Assignment_Unit3 2/circuit.cpp | a55674c9a0aaa9918e8bae2eddb53d4a376fa7eb | [] | no_license | bisscay/CircuitAnalyzer | 1a1a311c588990b914c654c6571918d07989a5f5 | aaa3f4ba3f20fc1e120e8c9006d25bd61a128a5b | refs/heads/master | 2022-12-10T23:04:19.379771 | 2020-09-08T19:09:08 | 2020-09-08T19:09:08 | 293,898,488 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 404 | cpp | circuit.cpp | // circuit.cpp
// Abstract base class
#include <cstdlib>
#include "circuit.h"
Circuit::Circuit():totalV(0.0),totalC(0.0),totalR(0.0)
{
// Cstr
}
Circuit::~Circuit()
{
// Dstr
}
void Circuit::setTotalV(double newV)
{
totalV = newV;
//calculate and assign total current
setTotalC(getTotalV() / getTotalR());
}... |
58a0721df46cc7ded1b238c4fcc27d2e23d279c4 | 0a5ea4fcd45a402745df36c1d66ad40d434d183b | /utilisateur/utilisateur.h | 7aa83c345618f42cbf08d835fe3fdccd7368c51d | [] | no_license | SandraGuillo/ProjetCPOA | 5ccb2a627bf411a23cc63f2afc84fcb1af04914e | 807af5903ffe82a50f1b2080ff07ebc8414173df | refs/heads/main | 2023-01-31T03:36:39.189130 | 2020-12-17T10:32:57 | 2020-12-17T10:32:57 | 319,767,378 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,878 | h | utilisateur.h | #ifndef UTILISATEUR_H
#define UTILISATEUR_H
#include <QString>
/**
* @namespace utilisateur
* Contient toutes les classes utilisateurs.
* @author Sandra GUILLO
*/
namespace utilisateur {
/**
* @brief Classe de base pour les utilisateurs.
*/
class Utilisateur {
//ici on déclare tous les c... |
d112189a7eb35b6ea31466db7a9d6bd5d826558b | fac38da2f55456c484c9b0289c5f6b2c173b8779 | /include/d2/detail/inherit_constructors.hpp | d37e48db21ca81395dd838ae68a567e787179d69 | [
"MIT"
] | permissive | ldionne/d2 | e15424c0900493f0d5e821f84c91cbd9b461ddb4 | 225743937dc8c50a1779436c5ad5cb2afd04864a | refs/heads/master | 2021-01-11T05:30:54.345546 | 2013-08-16T01:11:23 | 2013-08-16T01:11:23 | 7,371,168 | 6 | 1 | null | 2013-10-24T15:26:29 | 2012-12-29T22:40:01 | C++ | UTF-8 | C++ | false | false | 4,099 | hpp | inherit_constructors.hpp | /**
* This file defines the `D2_INHERIT_CONSTRUCTORS` macro.
*/
#ifndef D2_DETAIL_INHERIT_CONSTRUCTORS_HPP
#define D2_DETAIL_INHERIT_CONSTRUCTORS_HPP
#include <boost/config.hpp>
#include <boost/move/utility.hpp>
// If we have inherited constructors
// Note: BOOST_NO_CXX11_INHERITED_CONSTRUCTORS does not currently... |
198fab9d4ed13c7509f34b174b59b6e9602d71f6 | 5723820da754091f22d4e789a93ecd0e81aa1a34 | /5_loops/sumTillPositive.cpp | 27d5c7dd6c008847ab2fcff7b0708f9f8d582c08 | [] | no_license | VinayakTekade/Data-Structures-and-Algorithm | eb1ceae78baeb07b8c3990d97e53aa83670a1805 | 7e033fc7ab494234fd1c93ebee521d72bd0597a5 | refs/heads/main | 2023-08-24T21:42:09.179023 | 2021-10-25T11:07:15 | 2021-10-25T11:07:15 | 371,285,728 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 369 | cpp | sumTillPositive.cpp | #include <iostream>
using namespace std;
int main()
{
//#ifndef ONLINE_JUDGE
// freopen("../input.txt", "r", stdin);
// freopen("../output.txt", "w", stdout);
// #endif
// NEEDS TO RUN IN INTERACTIVE MODE
int n = 0, sum = 0;
do
{
sum = sum + n;
cin >> n;
} ... |
1db9442cc3df5f7d611e3eb90a1369250a543242 | 8f2aef3698df4f6cdb2916d8953c563ed693a9f3 | /src/Calculator/simplify.h | e9bf4e8f236fdf21d9fd334a6ea8ac9d9ae7b1c0 | [] | no_license | LiuQinHong/Algebraic-calculator | b4c07b04945bb3ac31afde0e20b4c24d4d33188e | 377572b8726163e08d529a18fadbf63a0b5f5acf | refs/heads/master | 2020-04-06T17:29:09.565877 | 2018-11-24T03:14:01 | 2018-11-24T03:14:01 | 157,660,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 223 | h | simplify.h | #ifndef SIMPLIFY_H
#define SIMPLIFY_H
#include <QObject>
#include <QString>
class Simplify : public QObject
{
Q_OBJECT
public:
bool simplify(QString &original,QString *outHtml);
private:
};
#endif // SIMPLIFY_H
|
8e67e0dbbbce7a5bc0d3dabe945c8d5d3742a399 | 838cd450e6a8ec5c6c5ef75faa59046650111396 | /UVa/UVA-524.cpp | f19eb1944cdf5754378347505e5725d7cd08885f | [] | no_license | krimson8/acm | 252fea2b46e4d694827da076c804ce1be1d89c6a | e1b6748d94f59dd6749a68f5f4441723baa1fa73 | refs/heads/master | 2020-04-07T08:43:44.481580 | 2018-06-27T09:39:29 | 2018-06-27T09:39:29 | 124,198,178 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 977 | cpp | UVA-524.cpp | #include <cstdio>
#include <vector>
using namespace std;
vector<int> prime = {2,3,5,7,11,13,17,19,23,29,31,37,41};
int n, ans[20] = {1};
bool check(int a) {
for(int i = 0; i < prime.size(); i++)
if (a == prime[i]) return true;
return false;
}
void backtracking(int digit, bool visit[])
{
if (digit... |
58553c82d6cd53f8de0a25aaa30c82548bb80c21 | 0082b9fc6027402032864ded9bcf70efac615ccd | /model/host.h | 33ba81caa30e91bb8cea3984f1ab8437a165767f | [] | no_license | Xaltonon/ocvm | 2d48d7f96b1860c14c69127db63f69578322fdd2 | 5c1013867187b8991396569f662a4576703115ad | refs/heads/master | 2020-03-07T16:53:43.359662 | 2018-04-26T15:34:17 | 2018-04-27T00:07:15 | 127,596,671 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 701 | h | host.h | #pragma once
#include <string>
#include "config.h"
class Component;
class Frame;
class Host
{
public:
Host(string frameType);
~Host();
Frame* createFrame() const;
std::unique_ptr<Component> create(const string& type) const;
void close();
string stackLog() const;
void stackLog(const strin... |
14fd6de1e20d44b958cb2571cc8d827ed8bb8f6b | e59177d7d26f249bb3974e5877ea3bbc4354cf4a | /700+/794_Valid_Tic-Tac-Toe_State.cpp | ba981bc98c116812ddbb49748bbd24e00d8fc37d | [] | no_license | milanow/LeetCodePractice | 8ae2957f70f94dcfd22558d0b736cda587c5b308 | c99545d6b5a191bce6fd66c9941b06573a0af0c1 | refs/heads/master | 2021-09-12T12:42:21.958668 | 2018-04-16T18:42:39 | 2018-04-16T18:42:39 | 104,815,007 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,343 | cpp | 794_Valid_Tic-Tac-Toe_State.cpp | /* 794. Valid Tic-Tac-Toe State
* The information we need to collect through the 9 cells are:
* 1. number of 'X' and 'O'
* 2. if 'X' has 3-line
* 3. if 'O' has 3-line
* Detailed explination in the comments
*/
class Solution {
public:
bool validTicTacToe(vector<string>& board) {
// rule: numof(X) - nu... |
ae6a63fb5bf8f895acca06ca8f301c5d4f967908 | 2c81c4e0f924f283458774e9a96cde77f804fee0 | /src/ekat/mpi/ekat_comm.cpp | d27efa34e70de6152863c925badfca196d1cd86d | [] | no_license | samcom12/EKAT | 3215a0e1c6cca337c0994ad2074e8187af4db376 | f9f1200311511026046ab754ffec4d8c6808b38e | refs/heads/master | 2023-05-06T04:57:02.214919 | 2021-05-25T23:15:37 | 2021-05-25T23:15:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,235 | cpp | ekat_comm.cpp | #include "ekat_comm.hpp"
#include <cassert>
namespace ekat
{
Comm::Comm()
{
check_mpi_inited();
reset_mpi_comm (MPI_COMM_SELF);
}
Comm::Comm(MPI_Comm mpi_comm)
{
check_mpi_inited();
reset_mpi_comm (mpi_comm);
}
void Comm::reset_mpi_comm (MPI_Comm new_mpi_comm)
{
m_mpi_comm = new_mpi_comm;
MPI_Comm_siz... |
e59acc2d141dec9f99fd07489509601c511f8f33 | d3d721714d696728d015886b3b20517841bd4a1d | /src/GanderImageTest/RowTest.cpp | 04bf3c0497c103f1e5d1addad87dada626d1bafa | [
"BSD-3-Clause"
] | permissive | lucienfostier/gander | a9711b9e88d2dba415a9a6684895b3ef68453d09 | 5dc540d9eb954984f7f23bf9fa47d8054d9eaec8 | refs/heads/master | 2021-01-21T00:45:07.626861 | 2014-09-01T12:20:44 | 2014-09-01T12:20:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,418 | cpp | RowTest.cpp | //////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2013-2014, Luke Goddard. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistri... |
ca5e080021bc4ff8e4d4be6455cc816457f7f3d7 | d50b9c65742d6e2381963b47b5d51b148f343dfa | /v50-caracter.cpp | 78322f54301972eea694d4ad312b7b8027d1e6aa | [] | no_license | bogdanpreda/cpp | 0f0c0ae47f46bc6e292d49766a500dcfed47c90b | 0264a8f430818ef52b0e8cbc40830cb44513b7dc | refs/heads/master | 2021-01-01T18:12:04.284777 | 2015-03-15T19:32:43 | 2015-03-15T19:32:43 | 29,315,444 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 552 | cpp | v50-caracter.cpp | #include <iostream>
#include <string.h>
using namespace std;
int main() {
int i,n=0,p,ok=0;
char v[255][255];
i=0;
char s[] = "bacalaureat";
while(i<strlen(s) && ok==0) {
if(strchr("aeiou",s[i])) {
strcpy(s+i,s+i+1);
ok++;
}
i++;
... |
1156cfbb274fc0098aff9c1373d1a357d98723b5 | b1f4e9a16c8ccec8bad680a41acca57cbff8cf9f | /include/jwm/runtime/Module.h | f3a2f8c4d4e265fea832af796ecb3d2d9eec205d | [] | no_license | thers/jwm | e7c227c4a2a7f3ecfe515f61e970b70280f4902d | 61e8dc1fa585043f50edd8cae436375afb37e039 | refs/heads/master | 2021-07-16T11:04:32.299199 | 2020-06-10T09:06:59 | 2020-06-10T09:06:59 | 173,256,292 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,571 | h | Module.h | #pragma once
#include <map>
#include <jwm/stdinc.h>
#include <jwm/wasm.h>
using namespace jwm::wasm;
namespace jwm::runtime {
class Module {
public:
using module_types_t = vec_t<func_type_decl_t>;
using module_imports_t = vec_t<import_decl_t>;
using module_functions_t = vec_t<u32_t>;... |
98d50f52948d10cebeb6ec5f8558d152c27701ef | e7c4ecf70c7439e40484b9ff9ee450289fe16310 | /fennel/exec/ExecStreamGraphImpl.h | 06382ecc2a70e470dde58c92314c8399df481eb7 | [
"Apache-2.0",
"GPL-2.0-only",
"GPL-1.0-or-later",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | jomedinas7/luciddb | 51cf161301a1452a1248c7ec630952f7a6136404 | 55bfa3d5a8788c9d17c531fa367558f37f41b7ae | refs/heads/master | 2023-08-10T16:14:38.585539 | 2021-09-14T01:42:54 | 2021-09-14T01:42:54 | 406,180,598 | 0 | 0 | Apache-2.0 | 2021-09-14T01:16:37 | 2021-09-14T01:16:37 | null | UTF-8 | C++ | false | false | 11,055 | h | ExecStreamGraphImpl.h | /*
// Licensed to DynamoBI Corporation (DynamoBI) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. DynamoBI licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may ... |
763a4cb245949f443ee06dca205cd07dcb73798b | bc62fef73c32417ed4b71c193ab8b6ed712a73f1 | /libnd4j/include/execution/cpu/LaunchContext.cpp | b02ff3cbbee9fa44f4b14ee3683c2cecca8ac410 | [
"Apache-2.0",
"MIT",
"BSD-3-Clause"
] | permissive | deeplearning4j/deeplearning4j | 0a1af00abc2fe7a843b50650b72c8200364b53bf | 91131d0e1e2cf37002658764df29ae5c0e1f577b | refs/heads/master | 2023-08-17T08:20:54.290807 | 2023-07-30T10:04:23 | 2023-07-30T10:04:23 | 14,734,876 | 13,626 | 4,793 | Apache-2.0 | 2023-09-11T06:54:25 | 2013-11-27T02:03:28 | Java | UTF-8 | C++ | false | false | 3,157 | cpp | LaunchContext.cpp | /* ******************************************************************************
*
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
* See the NOTICE file distributed wit... |
85d673bfefaf51f7b247ec4491d0343ac394ac08 | 0acb4ddf44ff01d2052f1d17052b05f3b676dbed | /Source/ProjectBD/Basic/BulletActor.h | 53008d37402cca310164fdcda0d7529cc41475c1 | [] | no_license | ldw9981/ProjectBD | d290482c9d7b9946955dec0a7d870d637a409723 | 50deeec078135c7d579ee76a849ae8fa3ba4b95a | refs/heads/master | 2022-02-14T16:29:42.431036 | 2022-02-05T16:22:03 | 2022-02-05T16:22:03 | 163,127,961 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,793 | h | BulletActor.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "BulletActor.generated.h"
UCLASS()
class PROJECTBD_API ABulletActor : public AActor
{
GENERATED_BODY()
public:
// Sets default values for this actor's p... |
6d7df9a7544d7a74ffa53c907ef0c3cbfd19a045 | 46087ddd70356ed4717dc23ea2bb9cc4e003dd63 | /Codeforces Round #550 (Div. 3) - A/Codeforces Round #550 (Div. 3) - A/main.cpp | 973755aa548a65568047bcdfc54bc72e8edd96eb | [] | no_license | smhemel/Codeforces-Online-Judge | dae1b6a128fe90923d3cb308b3288b6d5df4df4e | e143341ca0a0149ee088bfbce50dac923b6e3d47 | refs/heads/master | 2020-04-04T13:16:02.975187 | 2019-11-09T09:20:14 | 2019-11-09T09:20:14 | 155,955,102 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 634 | cpp | main.cpp | //
// main.cpp
// Codeforces Round #550 (Div. 3) - A
//
// Created by S M HEMEL on 2/4/19.
// Copyright © 2019 S M HEMEL. All rights reserved.
//
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
int n;
cin >> n;
while (n--) {
cin >> s;
int len = s.size();
... |
1e680fc20b60e819de632d3551faef0e6bf2dbc5 | 681d78f4a954f7d0dec441a97d07420df36b52f2 | /SPOJ/shpath.cpp | c7cef6ec3a76758b65f42fe828a4ade34b6a2640 | [] | no_license | pkc232/CompetitiveCoding | 117364bea4aee04ff570615f4881391c9f243a15 | 2cf9216875678e3e8cf6ca91d7bb13bb597387ba | refs/heads/master | 2022-02-09T07:16:39.273208 | 2022-01-16T17:14:59 | 2022-01-16T17:14:59 | 158,157,982 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,215 | cpp | shpath.cpp | #include <bits/stdc++.h>
#define ll long long int
#define pb push_back
#define mp make_pair
#define ff first
#define ss second
#define MOD 1000000007
#define pii pair<int,int>
using namespace std;
#define NOV 10005
unordered_map<string,int> cities;
vector<pair<int,int> > gr[NOV];
int dis[NOV];
int n;
int dijkstra(i... |
fece8e1ec5336a5047a11e99ef872d79a3fcff16 | 49914b07703ba7f255406781f33419b9df9f99fb | /src/store/StoreMessage.h | 6a8751a9b2bc8765147f8d63ab65d5f81a8c473c | [
"Apache-2.0"
] | permissive | chenjun-bj/pluto | 831fe07bf21a3772e8f87e39e3bf18b32244ebb1 | 0d4001bbed742afb39505af4662c5ffbe189f222 | refs/heads/master | 2020-05-30T15:10:04.034051 | 2020-03-28T11:22:20 | 2020-03-28T11:22:20 | 37,918,370 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,970 | h | StoreMessage.h | /**
*******************************************************************************
* StoreMessage.h *
* *
* Store message commons ... |
f5f347ebb97e126f494b3c2bf495de1b23486c7c | 24bdb6046f9102197eed30f03d2ddcd780f8783d | /src/modules/m_cap.h | ce5aec8ba4b506c62128de18726aeb4904177280 | [] | no_license | thepaul/inspircd-deb | 4044288a230cc51b3ec01c01c516c178ae6ad986 | 303a77afee7f8348a53aaac6090eefd177570322 | refs/heads/master | 2021-01-23T21:28:04.404633 | 2010-02-05T05:28:53 | 2010-02-05T05:28:53 | 918,949 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,551 | h | m_cap.h | /* +------------------------------------+
* | Inspire Internet Relay Chat Daemon |
* +------------------------------------+
*
* InspIRCd: (C) 2002-2009 InspIRCd Development Team
* See: http://wiki.inspircd.org/Credits
*
* This program is free but copyrighted software; see
* the file COPYI... |
706204e39f2a1055f122b17240b3eb95eed7e3f2 | d9452ea7d3f9aaa77bc7d538c987ccbd0f8cfed9 | /ListClient.cpp | 75438108bcf16bbb0409f845dee80be61cb4d9d8 | [] | no_license | ProgrammingLightbulb/adts | 5c477f48a078cf017113cb93671b569349e5b383 | 11bee53a1b6c88d547b75c214f1e6724c021c77c | refs/heads/master | 2021-01-17T16:17:42.589411 | 2017-03-06T23:51:51 | 2017-03-06T23:51:51 | 84,124,643 | 0 | 0 | null | 2017-03-06T21:53:10 | 2017-03-06T21:53:10 | null | UTF-8 | C++ | false | false | 1,147 | cpp | ListClient.cpp | #include <iostream>
#include "List.h"
using namespace std;
/*int menu();
int menu()
{
int opt = 0;
cout << "LIST OF OPTIONS" << endl;
cout << "Option 1 - Insert an element into the list." << endl;
cout << "Option 2 - Remove an element from the list." << endl;
cout << "Option 3 - View the number of element... |
3e2ad2b5d117e461491f50d3fd9a2c22f696813a | a9effd0e63e65382ab2c3c5fbb5c5116f4306033 | /FCollada/FCDocument/FCDPhysicsModelInstance.cpp | 73624029e5e3b7520932e3aa24b382e6fd1fc9c6 | [
"LicenseRef-scancode-x11-xconsortium-veillard",
"MIT"
] | permissive | jwthomp/OGE | 7cdf8ce96d0c44ea1bfcac063b6a2a745cf23a60 | ddf059dea71c0879cb44c1c62ba4df1d6086b721 | refs/heads/master | 2022-11-19T21:54:57.073795 | 2020-07-22T17:21:16 | 2020-07-22T17:21:16 | 281,739,974 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,197 | cpp | FCDPhysicsModelInstance.cpp | /*
Copyright (C) 2005-2007 Feeling Software Inc.
Portions of the code are:
Copyright (C) 2005-2007 Sony Computer Entertainment America
MIT License: http://www.opensource.org/licenses/mit-license.php
*/
#include "StdAfx.h"
#include "FCDocument/FCDocument.h"
#include "FCDocument/FCDController.h"
#include "FCDocume... |
f7ca33e553e28349c6f76ae2cd1a1fe4803b4c18 | b289d4a155263136d71ab4f9a6f710fe5324e5d8 | /MapEditor/N3BASE/N3UIArea.h | fa531e7a9a46262d1cf8851c2cf0940505b4b699 | [
"MIT"
] | permissive | iKlotho/KnightOnline | 1f63f588cb532de89a824407da6dc53f3a38c663 | bd3502e1e826a1b9007629fcb3c07c4f6370eba4 | refs/heads/master | 2022-10-16T21:26:10.842056 | 2020-06-13T11:56:04 | 2020-06-13T11:56:04 | 271,982,708 | 0 | 0 | MIT | 2020-06-13T09:57:25 | 2020-06-13T09:57:25 | null | UHC | C++ | false | false | 1,440 | h | N3UIArea.h | // N3UIArea.h: interface for the CN3UIArea class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_N3UIAREA_H__895A2972_7C58_4264_92AA_B740D40B0C22__INCLUDED_)
#define AFX_N3UIAREA_H__895A2972_7C58_4264_92AA_B740D40B0C22__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _... |
b9efa112389999fa97906a11bbe61af9fbf2a098 | 26df6604faf41197c9ced34c3df13839be6e74d4 | /src/org/apache/poi/poifs/storage/SmallDocumentBlock.hpp | d03110f4405f9334fe9494a86108107dc13b8e6d | [
"Apache-2.0"
] | permissive | pebble2015/cpoi | 58b4b1e38a7769b13ccfb2973270d15d490de07f | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | refs/heads/master | 2021-07-09T09:02:41.986901 | 2017-10-08T12:12:56 | 2017-10-08T12:12:56 | 105,988,119 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,548 | hpp | SmallDocumentBlock.hpp | // Generated from /POI/java/org/apache/poi/poifs/storage/SmallDocumentBlock.java
#pragma once
#include <fwd-POI.hpp>
#include <java/io/fwd-POI.hpp>
#include <java/lang/fwd-POI.hpp>
#include <java/util/fwd-POI.hpp>
#include <org/apache/poi/poifs/common/fwd-POI.hpp>
#include <org/apache/poi/poifs/storage/fwd-POI.hpp>
#... |
39435c4f170f86029a2577f02d79803589a47aff | 381b5055c7429a1397ef5fd6b4097f73ea23376a | /source/lab3/solver.cpp | 1df41b03cec2cfa9ea53e8666bd8bec606eb643c | [
"Unlicense"
] | permissive | Jovvik/methopt-lab | 33137a7afc2069523ca95077b9da38f0f682f0eb | 2c3acaf653c7214a925ed1292b9d1d30a33d2737 | refs/heads/master | 2023-05-15T09:20:28.348701 | 2021-06-08T17:39:39 | 2021-06-08T17:39:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 572 | cpp | solver.cpp | #include <lab2/vector.h>
#include <lab3/solver.h>
#include <fstream>
#include <string>
using namespace lab3;
lab2::Vector Solver::solve(const lab2::Matrix& A, const lab2::Vector& b) {
std::ofstream A_of("data/A.txt");
A_of << A;
A_of.close();
std::ofstream b_of("data/b.txt");
b_of << b;
b_of.... |
18abde2ecc5bd7dd2169abd042475a389ed9e36d | 8cfc1dbef37eb45ea16e4ef4a49c386439eaf0ca | /computer_player.cc | bc3b9c0a34b9ba7480a0a7f6a050533760d3415d | [] | no_license | catarak/battleship | 3c0053127ce40285cf9e46d436d4ca33444fbcd8 | b68ee64e12fd90c09418100379e5f3a3bd5458b7 | refs/heads/master | 2021-01-01T05:38:51.676869 | 2014-12-03T03:30:45 | 2014-12-03T03:30:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,529 | cc | computer_player.cc | //Cassie Tarakajian, ctarakajian@gmail.com
#include "computer_player.h"
#include <algorithm>
#include <random>
#include <iostream>
ComputerPlayer::ComputerPlayer(TargetBoard *target_board,
std::map<char, Ship> ship_map,
bool intelligent):
_intelligent(in... |
ea4b15d6ec6bff4b83d47ae43487811b7ba40aff | f001c6bc14282301bab60f9da078af9162cb76ce | /dmx.h | c5488233837a812531e35db4c72da4fe476b25a5 | [] | no_license | bitogre/DMX-LEDs | 907fc8cff700ae3792b5d5fb41f3174fbe129133 | e98cec896083f66677a22cfd8fdfce393682780f | refs/heads/master | 2021-01-23T11:33:39.120079 | 2015-04-10T23:19:48 | 2015-04-10T23:19:48 | 33,517,024 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,912 | h | dmx.h | /* DMX Slave
* Copyright (c) 2014 Devin Crumb, Church by the Glades (cbglades.com)
*
* Based on serial1.c in the Teensyduino Core Library converted to use DMA
* http://www.pjrc.com/teensy/
* Copyright (c) 2013 PJRC.COM, LLC.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy... |
d8ce785b10eeb6ad3c186d6f49b72934b1148ce3 | e845f9d00689489e28e1bcd80044307d2839b816 | /headers/fightclub.h | 1af266c9d42b52558038477dc5dc0087199a8b2e | [] | no_license | georgreichert/ascendiiSampleGame | d562f201a2999820b16bb0104f0775a561722409 | 7063a522c0f3bff42279c2b0b9c5885b0ccd1e70 | refs/heads/main | 2023-03-31T08:11:50.199219 | 2021-04-06T18:20:27 | 2021-04-06T18:20:27 | 352,204,849 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,190 | h | fightclub.h | #ifndef FIGHTCLUB_H
#define FIGHTCLUB_H
#include <iostream>
#include <iomanip>
#include <list>
#include <stack>
#define KEY_ABILITY_1 1
#define KEY_ABILITY_2 2
#define KEY_BLOCK 3
#define KEY_ABILITY_1_PLAYER_1 68
#define KEY_ABILITY_2_PLAYER_1 83
#define KEY_BLOCK_PLAYER_1 65... |
860ae7c28b94f81341c9d3c7970ee6f3047d6475 | ba1944305bd4641be09c90f4464475901845077a | /codeforce/CF EDU/BinarySearch/1D.cpp | a69fb2401d4169176da4942a4f7549680146a5b6 | [] | no_license | Ravi-Khatri/code | e5c9bb0d88a5ea74ac2b0dfae83b90944b69ce0b | be40c85ec888059457b2189829f329268cd036b5 | refs/heads/main | 2023-04-03T18:38:54.289012 | 2021-04-18T08:05:20 | 2021-04-18T08:05:20 | 256,105,251 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 655 | cpp | 1D.cpp | #include<bits/stdc++.h>
#define ll long long
#define vi vector<int>
#define vll vector<ll>
#define F first
#define S second
#define pb push_back
#define f(i,s,n) for(int i=(int)s;i<=(int)n;++i)
#define Fast ios_base::sync_with_stdio(0),cin.tie(0),cout.tie(0);
using namespace std;
void solve()
{
int n;cin>>n;
vi a(n);... |
3629f3b30a9e7ba14ae1a40d81f6fa96b3630fe2 | 00a21845bdef7062fa9965bd91a2648318f62f2f | /include/CIdle_movement.h | ee8fa31680d5c9c7f67d2b5c9ce2a28e005b5109 | [] | no_license | Rumiana-Ivanova/Rabies-through-the-ages | 330a0943e14fd101af7bbfd4593ec0294464dc8d | 3fd61378e2c3f19730c45c697019bc53d3871505 | refs/heads/main | 2023-04-03T00:55:28.487636 | 2021-04-07T09:56:38 | 2021-04-07T09:56:38 | 304,546,790 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 374 | h | CIdle_movement.h | #ifndef IDLE_MOVEMENT_H
#define IDLE_MOVEMENT_H
#include "CMovement.h"
#include <fstream>
#include <vector>
#include <iostream>
#include <cmath>
using namespace std;
class CIdle_movement : public CMovement
{
public:
virtual void move(CActor* actor);
int field[102*102];
};
extern CIdle_movemen... |
d5a21265115e4d49af024b542c86f41c356c5650 | 6106419db8370ccf4d0f55813eaddf5f666bea0b | /LexemManager.cpp | fb603628a14652affecd42189c987ce1baa3744a | [] | no_license | Stasychbr/Calculator-2.0 | c57bd715565b35bc8192977fd0d22e1413bf76b8 | d4d4e33325c1d3e6b50dd4a7faf8ee3c6a6bd7a7 | refs/heads/master | 2023-01-13T15:25:26.459824 | 2020-11-21T00:48:25 | 2020-11-21T00:48:25 | 310,397,925 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,449 | cpp | LexemManager.cpp | #include "LexemManager.h"
#include "Number.h"
#include "Addition.h"
#include "Brackets.h"
LexemManager::LexemManager() {
shared_ptr<Lexem> addition(new Addition);
shared_ptr<Lexem> openBrac(new OpenBracket(0));
shared_ptr<Lexem> closeBrac(new CloseBracket(0));
addLexem(move(addition), "+");
addLex... |
a291e22b486a7e8307e4daddb6dce356a331edc1 | 7536cca8ccde595dca3cf4518e08f831b11cb9b6 | /libraries/chain/db_block.cpp | 5b0624b4d91ce9c62908f5f4454ab40958d79d25 | [
"MIT"
] | permissive | rendyirawan/cocos-mainnet | 629cd432d67eb3cad5913ceaf25606d85e20c9ca | 5e4e3f120c2c773a0ea39bf6ea4e825451b2bd92 | refs/heads/develop | 2021-01-04T12:21:11.474134 | 2020-02-13T02:28:08 | 2020-02-13T02:28:08 | 240,546,426 | 1 | 0 | MIT | 2020-02-14T16:02:09 | 2020-02-14T16:02:08 | null | UTF-8 | C++ | false | false | 37,646 | cpp | db_block.cpp | /*
* Copyright (c) 2015 Cryptonomex, Inc., and contributors.
*
* The MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the... |
fff0a05d1fb0e0ca6bef3794352d0c49e9f7249e | 00c7bb6405252a20b49c13474bdfd8f413f210b2 | /lab5.5_4.cpp | 245fcf97bef27db5a20c54bb5cdb7aa6ef7918da | [] | no_license | SaWho/lab5.5 | 4a054a44e779c3424048a2dc210cce9a47dee315 | c9c926d4f36a69977de2b008e821d882712b1209 | refs/heads/master | 2020-03-28T05:31:18.935612 | 2018-09-07T06:38:12 | 2018-09-07T06:38:12 | 147,781,540 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 416 | cpp | lab5.5_4.cpp | //to print rhombus star pattern
//inclusion of packages
#include <iostream>
#include <string>
using namespace std;
//main
int main()
{
//initialisation
int i,j,r;
string s;
//user prompt
cout<<"Enter the row/column number. "<<endl;
//input
cin>>r;
//loop
for(i=r;i>=1;i--)
{
for(j=1;j<=i;j++)
... |
e2f89dff993ca70d04f12c9df6abdb77966440de | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /media/audio/win/wavein_input_win.h | 17af10f5dcc8f65e67df1b4e8ec760e8b903f1ad | [
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 4,692 | h | wavein_input_win.h | // Copyright (c) 2012 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.
#ifndef MEDIA_AUDIO_WIN_WAVEIN_INPUT_WIN_H_
#define MEDIA_AUDIO_WIN_WAVEIN_INPUT_WIN_H_
#include <windows.h>
#include <mmsystem.h>
#include <stdint.h... |
d69874a750dff51d0d198d23e8b61d9e2b9c73af | 34b31682681cab577d80b455e139f663304716ef | /commelec-api/daemon.cpp | a13ceea3bd378ce5e583f9c68a26e473eea8627d | [
"MIT"
] | permissive | niekbouman/commelec-api | 22b1f54ad5fc4661a32211aabf6cc4f0ef9ec998 | 4bc588340ec2d669bd92f8c4f2b3bba3d6db0ca3 | refs/heads/master | 2020-12-29T01:54:05.346810 | 2016-08-02T16:33:34 | 2016-08-02T16:33:34 | 30,344,680 | 20 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 20,125 | cpp | daemon.cpp | #define SPDLOG_DEBUG_ON
// enable logging macros
#include <capnp/message.h>
#include <kj/io.h>
#include <commelec-api/serialization.hpp>
#include <commelec-api/schema.capnp.h>
#include <commelec-api/hlapi-internal.hpp>
#include <commelec-api/sender-policies.hpp>
#include <commelec-api/json.hpp>
#include <commelec-api... |
ad22a40f1dc402801e4a84ddd12d1b152fd37ed0 | b64a95c32e2aeeec6f766f2701f686e2c2423008 | /drone_con1/read_compass.ino | 66821168b693544a0c65629f5fc155c0c557892e | [] | no_license | samariumch/mav_rpi | 557c4c4b8bfe1514f36950c90ee519383bbb4d06 | 28b111cc5a6efea0fe5d21fe2dac4d5b84137dd4 | refs/heads/master | 2020-05-05T12:22:21.576320 | 2019-04-07T21:24:01 | 2019-04-07T21:24:01 | 180,025,380 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,352 | ino | read_compass.ino | void setup_compass() {
Wire.beginTransmission(0x0D); //Start communication with the compass.
Wire.write(0x0B); //We want to write to the Configuration Register A (00 hex).
Wire.write(0x01);
Wire.endTransmission();
Wire.beginTransmission(0x0D);
W... |
1da70840da34ba8d2166a993a1482068e34ba17a | ffff2a4fb72a163e4d42b01cefa1f5566784990f | /gfg/q4.cpp | 9af8f37dc699dc3ed5aa875a0aef3724fb563559 | [] | no_license | sanyamdtu/competitive_programming | d5b4bb6a1b46c56ebe2fe684f4a7129fe5fb8e86 | 5a810bbbd0c2119a172305b16d7d7aab3f0ed95e | refs/heads/master | 2021-10-25T07:11:47.431312 | 2021-10-06T07:37:25 | 2021-10-06T07:37:25 | 238,703,031 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 746 | cpp | q4.cpp | #define ll long long
#define ff first
#define ss second
#define pb push_back
#define deb(x) cout<<x<<"\n";
#define deB(x,y) cout<<x<<" "<<y<<"\n";
#define Deb(x,y,z) cout<<x<<" "<<y<<" "<<z<<"\n";
#define YES cout<<"YES\n";
#define Yes cout<<"Yes\n";
#define NO cout<<"NO\n";
#define No cout<<"No\n";
#define clt(x) 63-_... |
ca64c8f258368a1347fb3c649e5ec5182f3a4df9 | 1b824a21507632d08d8ae0b093c0212ea9645e2a | /ch07/exer7.58.cpp | 7d6cadd5ff2f855de439c3ee00d71b74c1bc7b12 | [] | no_license | gofreelee/cppprimerexercise | 35d077e034ea631a56305d6b152b24d9928418d1 | 4a50050b7ea6c4bd03f7af638ff38154ffd00e40 | refs/heads/master | 2020-12-02T06:51:28.564615 | 2020-02-05T12:25:24 | 2020-02-05T12:25:24 | 230,921,184 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 269 | cpp | exer7.58.cpp | #include<vector>
#include<iostream>
class Example
{
public:
static constexpr double rate = 6.5;
static const int vecSize = 20;
static std::vector<double> vec;
private:
};
std::vector<double> Example::vec ;
int main()
{
std::cout<< Example::vec.size();
} |
74f11486312b28ed64216b96486b5169de6297e8 | f3cdaa13fd80501bc90a7b1192def08505d49841 | /dl_createlightingform.cpp | 894fd1fcec10cc1c805ad9b43b5b9ca2244e4730 | [] | no_license | da-nie/3DEngine-OpenGL-MapEditor | a1fe51fed228adb3fb2ec677867be025e506e88f | c786b5788499bbf9085141c91f1c4133df7d4558 | refs/heads/master | 2021-03-24T13:25:14.775247 | 2018-02-17T17:31:17 | 2018-02-17T17:31:17 | 121,876,330 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 13,979 | cpp | dl_createlightingform.cpp | #include "dl_createlightingform.h"
extern SKeyData sKeyData;//ключевая информация
extern HINSTANCE hProjectInstance;
extern CWnd_Menu cWnd_Menu;
CDialog_CreateLighting cDialog_CreateLighting;
//------------------------------------------------------------------------------
CDialog_CreateLighting::CDialog_Cre... |
3143f5008822b5b81d3154a8b438e5da93e9739b | 604f66860a18f85a528a943b4387d84bb20891bf | /UT_SolidAngle.cpp | e262e921850cf86b3b561b5537b26f640d74f7e5 | [
"MIT"
] | permissive | alecjacobson/WindingNumber | cd442000b25b82ec7a284c15309001232373108e | 106a8a29710f38826ced2d278b33ac647a41811b | refs/heads/master | 2022-02-19T22:49:59.074416 | 2022-02-17T22:13:07 | 2022-02-17T22:13:07 | 162,359,694 | 9 | 3 | MIT | 2018-12-19T00:07:40 | 2018-12-19T00:07:39 | null | UTF-8 | C++ | false | false | 63,491 | cpp | UT_SolidAngle.cpp | /*
* Copyright (c) 2018 Side Effects Software Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify,... |
d36da1cd36151c3e1e6b2917b4d0d9bc1e189edd | d643aed697c889912e4f9dd78971226d5cb02694 | /src/display/gl_objects.hh | bcd43b1d8992ea76e31f9653a71e3883f08447cf | [] | no_license | excamera/webcam-experiment | 792f556094e257b340adf1040012c392f7b29250 | 8c70e26b412ddde0ce6082b6fe2971f8e8011bd3 | refs/heads/master | 2021-01-15T20:29:01.550656 | 2017-09-12T23:18:25 | 2017-09-12T23:18:25 | 99,854,423 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,979 | hh | gl_objects.hh | /* -*-mode:c++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
#ifndef GL_OBJECTS_HH
#define GL_OBJECTS_HH
#define GLEW_STATIC
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <string>
#include <vector>
#include <memory>
#include "raster.hh"
class GLFWContext
{
static void error_callback( co... |
bb8b1db19ca3ef3af8379bc86ebc11afa18f9f17 | 0e9655abab1f83903f5fd9e2de8a90ebe438b519 | /include/Child3.h | 1d7a78570d881753f3fe64b4469cdf0134d950f5 | [] | no_license | pilojo66/Classes-Tutorial | 76dedf625186d3088669e72031b77ee34983b538 | 19051d787fb9865982d6afcf4af571693803c600 | refs/heads/master | 2021-01-10T19:26:38.988709 | 2015-08-18T00:03:53 | 2015-08-18T00:03:53 | 40,921,960 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 294 | h | Child3.h | #ifndef CHILD3_H
#define CHILD3_H
#include "Parent.h"
class Child3 : public Parent{
public:
Child3() : Parent() {}
Child3(int f, int g, char h, double i, std::string j) : Parent(f, g, h, i, j){}
void genericFunction(){
a = 13;
b = 16;
c = 'B';
d = 70.5;
e = "Child3";
}
};
#endif |
d1a9ad74ee8802dc074f883809979c873a03a40f | 062fe73aef5bd087e88320f0f8ce2023c0981713 | /RyujinrokuMobile/RyujinrokuMobile.NativeActivity/main.cpp | 79e40b25d8de4fb99dbc37bdd24aa7cc20da4587 | [] | no_license | remicalsoft/RyujinrokuMobile | 762c1bc94ab2baf5ebb71ae392f2e1e75c9e9601 | c3bff61dbce2298890954b8bba32da4946c085f9 | refs/heads/master | 2021-05-17T07:39:42.961357 | 2020-04-01T14:42:27 | 2020-04-01T14:42:27 | 250,699,354 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 190 | cpp | main.cpp | #include <DxLib.h>
#include "SystemMain.h"
int android_main(void){
SystemMain system;
if (system.initialize()) {
system.main();
}
system.finalize();
return 0;
}
|
c4c286032f79e7407c2382e6206e5bad3376047a | 40fcf6c971993c7e4866e0a7f2c3166e4a334912 | /src/uCapture/ActiveControl.h | 4a7e135cfa752ca34f1b4d5cb9bc74ce65c269c6 | [] | no_license | fengjixuchui/urltraveler | d854b8cbfe38b6fe0b68a2b7217b0e378d38e214 | 973edcca5f0b75eec3949d57704821255139a054 | refs/heads/master | 2020-11-28T00:18:24.364402 | 2012-12-20T03:26:00 | 2012-12-20T03:26:00 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,850 | h | ActiveControl.h | #pragma once
#include "Base.h"
class CWindowWnd
{
public:
CWindowWnd();
HWND GetHWND() const;
operator HWND() const;
bool RegisterWindowClass();
bool RegisterSuperclass();
HWND Create(HWND hwndParent, LPCTSTR pstrName, DWORD dwStyle, DWORD dwExStyle, const RECT rc, HMENU hMenu = NULL);
HWND ... |
f236bf54aa02f346e8df911a066f620b9abb0ac2 | 1054b250cfb7b2c663060d7d8fd75154407e4dd9 | /include/scraps/opengl/opengl.h | 7b3f3431ee6bc077b35d032b8ad1f4640d94f027 | [
"Apache-2.0"
] | permissive | libertasprimordium/scraps | a0ad583fa8093d2a3e828aa1a72cb9fbbb16b643 | be59dc831eae2f765f3173dbdffb826aa8c0cb0e | refs/heads/master | 2020-04-21T09:50:55.264778 | 2017-01-19T02:31:07 | 2017-01-19T02:31:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,462 | h | opengl.h | /**
* Copyright 2016 BitTorrent Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... |
13e9a70fc07ed65d638066121c1aee05480090a8 | 623c1ed6a1eb86d58eba2bcdb804b33eda6bf0cb | /Cal/Al/test/C2/U4/Heapsort_test.cpp | 5a9efe013f275d230c66d887f4d1b959dc1af4a5 | [] | no_license | yaoguilv/Alex | 761321e406b76bf401f725c0b80bc8b9dbb154c4 | 09ed9410026427fb6d43d130d715c4bbd6137317 | refs/heads/master | 2021-08-16T15:06:52.417420 | 2018-09-25T13:03:56 | 2018-09-25T13:03:56 | 115,491,760 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 510 | cpp | Heapsort_test.cpp | #include <iostream>
#include "C2/U1/MyDate.h"
#include "C2/U4/Heapsort.h"
using namespace std;
int main(int argc, char ** argv)
{
cout << "Hello tester!" << endl;
MyDate ** dat = new MyDate*[5];
dat[0] = nullptr;
dat[1] = new MyDate(1, 1, 2010);
dat[2] = new MyDate(1, 1, 2017);
dat[3] = new M... |
18c9c56cff78496ed7962394b3d67be249ad97b1 | 5bc54bf06ea3d256a7532787024b5147e0bde50e | /thread/4_thread.cpp | f57ea58176fa3b6b72a9d3a54abfd8ab6f942d36 | [] | no_license | Coastchb/cpp_primer_plus | 2e339d04d6ff24bef337ff98c4fc38501d2ed071 | adb15400feea61392083d356ccd7d25c2e256023 | refs/heads/master | 2021-07-19T11:10:43.314858 | 2021-07-19T02:16:03 | 2021-07-19T02:16:03 | 142,433,133 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 780 | cpp | 4_thread.cpp | /**
* Created by coast on 2018/10/11
*/
#include<iostream> //std::cout std::endl
#include<thread> //std::thread
#include<future> //std::future std::promise
#include<utility> //std::ref
#include<chrono> //std::chrono::seconds
// preliminary example
// ref: https://blog.csdn.net/hutianyou123/arti... |
1c538f4315ce589df85b4028e5cf1f729f386398 | 6f1e2b95e8d690ea1605646d8decf33f712470c0 | /Week 07 - Greedy/978B - File Name.cpp | 8bbd43f29967e0d50da04796ecf8d0689a9e44b5 | [
"MIT"
] | permissive | AAlab1819/dennyraymond-01082170017 | 48f9928359b37da50f9f664038883e71739f260c | d4a278744b42aadf355aa3e5dc8fd849ead71da6 | refs/heads/master | 2020-03-27T14:59:06.421967 | 2018-11-30T15:57:42 | 2018-11-30T15:57:42 | 146,691,238 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 581 | cpp | 978B - File Name.cpp | #include <iostream>
using namespace std;
int main()
{
int n; // length of the file name
cin>>n;
string a; // use string instead of array, cos string are array of character :)
int totalRemove = 0;
cin>>a; // input all the character
for(int i=0;i<n;i++){
//check the 'x', ... |
bb90a331c699f39bc06bd009ce077c5e0dc170df | 5b30070c6c11618649e6b6c35ad6634790eaf46c | /source/Level.cpp | 029ae436fd3ac01b1e0363b968778a9053ef638f | [] | no_license | guiathayde/underground | 43124796f5198f84ac91c632a7e399b68643ca39 | f1abebf66ae9958a01025f05333528aa2c6c796b | refs/heads/master | 2023-07-07T06:30:22.574133 | 2021-08-16T10:59:25 | 2021-08-16T10:59:25 | 383,897,065 | 0 | 1 | null | 2021-08-07T17:26:11 | 2021-07-07T18:52:59 | C++ | UTF-8 | C++ | false | false | 9,926 | cpp | Level.cpp | #include "stdfx.h"
#include "Level.h"
#include "Player.h"
#include "Obstacle.h"
#include "GraphicManager.h"
#include "ColliderManager.h"
#include "Item.h"
#include "Ranking.h"
Level::Level(GraphicManager *graphicManager, ColliderManager *colliderManager) : Entity(graphicManager), colliderManager(colliderManager)
{
n... |
f93c41bee2549d6ccad52b38aa4885f2ae763601 | 4f194dbcf1d34191b7830a4ce27f3b3c4d5986ff | /parth vyas6.cpp | ba16befb742863def21aa3b4c73f2234ecc29ccd | [] | no_license | Parth0836/C- | 23f51a56feed5731c7969a40fd53dd20d40938fb | 3018a4eb4ca812181dc193afc7010fe67e13b39c | refs/heads/main | 2023-08-30T02:12:31.098338 | 2021-10-18T15:33:37 | 2021-10-18T15:33:37 | 413,447,212 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,044 | cpp | parth vyas6.cpp | #include<iostream>
using namespace std;
// Function to find the median of two sorted array of equal length.
void median(float arr1[], int s1, int e1, float arr2[], int s2, int e2)
{
float med1, med2;
// If the length of the sub arrays is even.
if((e1-s1+1)%2 == 0)
{
// If only two element left in ... |
f832eed0244f70ead8eda1775da61cdffb8f11a2 | 45aa17ba7e68b7d5d42fd0963f5eba7d90e4d4e6 | /mainProgram/src/thrackle_drawer.cpp | ce692e7127d42a8981edbcf5c1d7b771638efe1f | [] | no_license | demaseme/programas_tesis | 61adb3ccd92b7a785dd2eb0b95ae505858106536 | 7f7002e7a0425f9701e745d32d6805589dc50f92 | refs/heads/master | 2020-04-15T23:31:52.217439 | 2019-11-01T13:48:58 | 2019-11-01T13:48:58 | 165,108,705 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,964 | cpp | thrackle_drawer.cpp | #include "../include/thrackle_drawer.h"
int ancho=1600,alto=1024;
vector<Point> points;
vector<Edge> edges;
vector<Thrackle> thrackles;
uint16_t ot;
uint16_t desired_ot_g;
uint16_t thrackle_size;
uint16_t number_thrackles;
uint16_t current_thrackle;
uint16_t current_pair;
bool pairwise_flag;
bool dec_flag;
int dec_siz... |
6d493d8e8ac06a9b5820ff1bda946f7056a20858 | aa07db86d2abb542f04f3652dbff85c2d3aecdbd | /Chimera/rerngContainer.h | 01365bf297cb911770a6e427e9648b65befc0d91 | [] | no_license | KaufmanLabJILA/Chimera-Control-Master | 3604ed5be843388e113ffe47aee48b4d41c2c0bf | 8ae17f4f562ca899838f6fbea71fc431981efe98 | refs/heads/master | 2023-08-21T10:24:30.614463 | 2022-01-18T22:42:35 | 2022-01-18T22:42:35 | 105,817,176 | 6 | 3 | null | 2019-08-15T16:57:10 | 2017-10-04T20:52:16 | C++ | UTF-8 | C++ | false | false | 2,937 | h | rerngContainer.h | #pragma once
#include "rerngMove.h"
#include "windows.h"
#include <vector>
/*
this is more or less a wrapper for a const 3-Dimensional vector. E.g. I could also implement this as
std::vector<std::vector<std::array<rearrangementMove>, 4>> where the first two dimensions select move / row, and
the 4 elements in tha... |
de583cc1128c72811e9a51980d336849d87bc84c | e58a4f1b096b9544ef56f865afe9f079d3fc89db | /Tree/tree_build_height_balanced_tree.cc | 55391a221548780619cd3292204edc15caeddd9b | [] | no_license | 0APOCALYPSE0/Algorithm-Concepts | c14c27ba967f524202ed9be8a79428bfc01e5dc0 | 587f620dc5b1481790987a86ef34225899d4f35d | refs/heads/master | 2023-06-13T08:05:02.208567 | 2021-07-04T22:32:25 | 2021-07-04T22:32:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,577 | cc | tree_build_height_balanced_tree.cc | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define endl "\n"
class Node
{
public:
int data;
Node* left;
Node* right;
Node(const int d){
data = d;
left = NULL;
right = NULL;
}
~Node();
};
// This implementation does'nt take the root pointer as the input.
// and at the end of t... |
7f8c66527ac0025e67925586e78c7270cbe7cd8a | d1fedc520db8a928ad1625d62da1ae3547a8f898 | /user.cpp | 79947c612932522f8bd2300641e9ca5bf703127f | [] | no_license | LuisLVar/FileSystemLinux | 17739435689d1aa95da8a00eced56df0bb6f0e2e | 9129d66c4ee18be34c9122dc329fde48afce5a0e | refs/heads/master | 2020-07-17T21:57:22.761807 | 2019-09-10T03:26:16 | 2019-09-10T03:26:16 | 206,107,882 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 194 | cpp | user.cpp | #include "user.h"
User::User()
{
}
void User::makeUser(string usr, string pwd, string grp){
}
void User::removeUser(string usr){
}
void User::changeMod(string path, string ugo, int r){
}
|
34ab741b6c8ce59a4a08197d401d7f718e0c5bfd | 935e491aa0f7dd739b8ee43fe0848e4b1a65f1fc | /CodeForces/Contest/Div2_704/ThreeSwimmers/ThreeSwimmers.cpp | 1b5b7e6714961add315675231298ada80c0b4100 | [] | no_license | Shubhrajyoti-Dey-FrosTiK/My-Codes | b2aaf63c7e731fb96cfc15a367b21332615329b3 | 999a8c57df12c5ce46c9223fb5e760ab428d7408 | refs/heads/master | 2023-03-16T08:11:33.121451 | 2021-03-01T10:27:28 | 2021-03-01T10:27:28 | 343,372,135 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 597 | cpp | ThreeSwimmers.cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long int ll;
int main()
{
ios_base::sync_with_stdio(0); cin.tie(NULL); cout.tie(NULL);
ll TestCases,p,a,b,c;
cin>>TestCases;
while(TestCases--)
{
cin>>p>>a>>b>>c;
ll time1,time2,time3;
time1=p/a; if(p%a!=0){time1++;}... |
70e922eb8d718805b9f70e1e1c354e623e861d2b | b8083fa2ade8c62bc0a67cbc0c75c861787d19b8 | /src/c/Listener.cpp | e0dcf4a51c76df8eed73ae752704e432f12706a4 | [] | no_license | mgottschlag/RaumKlang | 258d2bb412be255cfb57d4df53bd84f226e3d995 | d5396a995d78be57a9c1cf67a02bdea06a6d47bf | refs/heads/master | 2016-09-06T06:20:04.156168 | 2009-09-23T17:00:25 | 2009-09-23T17:00:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,455 | cpp | Listener.cpp | /*
Copyright (c) 2009, Mathias Gottschlag
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARR... |
2eb914c16cae13b45f9080de78f612412154f9e7 | e31694aed7509f70019ae9c69e761a8f38ffd1f2 | /exercises/Ex049/C++.ex49.cpp | fc6e07e95fbc4ce7004f518a3a4086b587ae1967 | [] | no_license | simongarisch/300-Project-Euler | 6c0f561d5303132ecd288ad2293cfd261ba1039f | 3e53236b2022a96be4e3c6ea9cbd8346aae254c0 | refs/heads/master | 2022-06-10T06:46:44.279134 | 2022-05-28T12:11:56 | 2022-05-28T12:11:56 | 163,732,751 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,374 | cpp | C++.ex49.cpp | /*
The arithmetic sequence, 1487, 4817, 8147,
in which each of the terms increases by 3330, is unusual in two ways:
(i) each of the three terms are prime, and,
(ii) each of the 4-digit numbers are permutations of one another.
There are no arithmetic sequences made up of three 1-, 2-, or 3-digit primes,
exhibiting this... |
bd8ea175e1a875797408e0027b77b65c22f6fe76 | a37963cee6a482275b089922375a60b3819d8072 | /openni/SupportOpenNI/UserGenerator.h | 156963b5950134e1bc15df7e1abbd6d4216a697d | [] | no_license | njun-git/kvs | f639ab36df290d308531d1538066739b8ca265e6 | ae15b5dc2b50f9ff8fb5090bdd41fc1b496cada3 | refs/heads/master | 2021-01-23T07:03:20.287011 | 2012-02-14T06:53:59 | 2012-02-14T06:53:59 | 2,502,777 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,856 | h | UserGenerator.h | //
// UserGenerator.h
//
//
// Created by Jun Nishimura on 10/19/11.
// Copyright (c) 2011 Jun Nishimura. All rights reserved.
//
#ifndef KVS__OPENNI__USER_GENERATOR_H_INCLUDE
#define KVS__OPENNI__USER_GENERATOR_H_INCLUDE
#include <kvs/ClassName>
#include <kvs/ValueArray>
#include <list>
#include "GeneratorBase... |
88bfcf3b1511ad2fef7b8b16a61d580d9996a919 | d9b1de5d5cf82efc258073d9e49973eb691f5468 | /StudentRegisterPage.cpp | 1c941a078b552bca846724684da3d7afe299e0e2 | [] | no_license | SantoshKumarSingh64/TEST-YOUR-SKILLS-PROJECT-ON-C | 4b4e322c81b5692a23a1e7401da4b19e7295a1d3 | 17d9fe00fdefdc560707b37948efdf12a260466c | refs/heads/master | 2023-08-03T16:48:17.554585 | 2021-09-16T17:28:44 | 2021-09-16T17:28:44 | 268,097,958 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,776 | cpp | StudentRegisterPage.cpp | //This function registers student details.
void studentregisterpage()
{
char username[30],password[30],address[30],email[30],firstname[30],lastname[40];
char ch,mobileno[10];
FILE *fp;
cleardevice();
setbkcolor(GREEN);
setcolor(RED);
rectangle(5,5,632,470);
rectangle(8,8,629,467);
setcolor(YELLOW);
... |
188ea0b642add712c37296cb50579eb6ff2dcc4d | 8c35c227196168c43ae11bb3ba88780314bac0a7 | /tests/integration/tables/memory_map.cpp | acfb685c7c6633bd5a849e74bd5cc106b47b79af | [
"GPL-2.0-only",
"LicenseRef-scancode-generic-cla",
"Apache-2.0"
] | permissive | theopolis/osquery | e17571b7566ff512c8367e8560dc582d18a796df | 1d5bbbcecaea35051146a192861bc0bc6ed89f12 | refs/heads/master | 2022-01-14T14:31:06.200814 | 2019-10-26T14:59:01 | 2019-10-26T14:59:01 | 26,103,098 | 3 | 2 | BSD-3-Clause | 2017-12-21T20:00:03 | 2014-11-03T03:56:14 | C++ | UTF-8 | C++ | false | false | 1,324 | cpp | memory_map.cpp | /**
* Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed in accordance with the terms specified in
* the LICENSE file found in the root directory of this source tree.
*/
// Sanity check integration test for memory_map
// Spec file: specs/linux/memory_map.table
... |
55e98b634b1e06bb171f87d72d2b0b32c57359fe | cb80a8562d90eb969272a7ff2cf52c1fa7aeb084 | /inletTest6/0.042/turbulenceProperties.L | 8344a428fd5673a6ca110138d47cbd8b270e9d1b | [] | no_license | mahoep/inletCFD | eb516145fad17408f018f51e32aa0604871eaa95 | 0df91e3fbfa60d5db9d52739e212ca6d3f0a28b2 | refs/heads/main | 2023-08-30T22:07:41.314690 | 2021-10-14T19:23:51 | 2021-10-14T19:23:51 | 314,657,843 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 419,641 | l | turbulenceProperties.L | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2006 |
... |
d887eafd1014ae3621e9623124c286e07b42dc2b | b6a216e4f00ecee2776334c40ebb09868d381351 | /src/xnode.cc | 231835e2cd5088ab9041ced7429fc4b24a3eb87f | [
"MIT"
] | permissive | rickyes/node-mini | 251cfe1e1c592a19770e92a6ef1140f791096c03 | fa7bb8033918aef107becfef2c32de2b67906c6e | refs/heads/master | 2021-06-06T16:38:51.019142 | 2020-10-20T07:33:02 | 2020-10-20T07:33:02 | 146,405,819 | 26 | 2 | null | 2018-09-28T09:18:17 | 2018-08-28T07:02:02 | C++ | UTF-8 | C++ | false | false | 12,029 | cc | xnode.cc | #include "libplatform/libplatform.h"
#include "v8.h"
#include <iostream>
#include <string>
#include <fstream>
#include <sstream>
#include <map>
#include "shell.h"
#include "process.h"
#include "env.h"
#include "xnode.h"
#include "xnode_binding.h"
#include <assert.h>
using v8::V8;
using std::map;
using std::string;
u... |
0689b1e15cf2a711d2dc418c3a6ecfaf40e94876 | 801f7ed77fb05b1a19df738ad7903c3e3b302692 | /refactoringOptimisation/differentiatedCAD/occt-min-topo-src/src/math/math_BissecNewton.cxx | 1bead95676a847acaac718cefadc2cc932bdf442 | [] | no_license | salvAuri/optimisationRefactoring | 9507bdb837cabe10099d9481bb10a7e65331aa9d | e39e19da548cb5b9c0885753fe2e3a306632d2ba | refs/heads/master | 2021-01-20T03:47:54.825311 | 2017-04-27T11:31:24 | 2017-04-27T11:31:24 | 89,588,404 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,474 | cxx | math_BissecNewton.cxx | // Copyright (c) 1997-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
... |
361e37b19b86a0f29ba218343eeba47e2331ffce | 556f5f9648be5f847d68b2e8513229f899e09bfc | /service/company_match/company_match_entry.cpp | 725e6a3d617adf3bbe16d3228414003bda1976d4 | [] | no_license | hermixy/C | 40d704ba38878e7785e95470108fc9e3dd13a987 | 4d1063106ebc19d9cde4f18ef5f6b6c7b9502332 | refs/heads/master | 2020-04-27T13:03:36.409527 | 2019-03-06T12:41:55 | 2019-03-06T12:41:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,142 | cpp | company_match_entry.cpp | // #include "conf.h"
// #include "log.h"
//
#include "company_match.h"
#include "conf.h"
#include "log.h"
#include <errno.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
static bool g_running = true;
static const char *pid_file = "./pid";
typedef struct {
char... |
19506f7df7745fc5728528bb1197978796ba28ba | 67f4cb7058b1bb83a662051b13c34ff1307a28df | /include/deviceList.hpp | a4550edd22cced55ef779cc29c20252c2639c04f | [
"MIT"
] | permissive | agauniyal/isaac-core | 76b345902cb77a2725163c8796a1669f056160e1 | bc68df1d7beb4fe1ae639c671957fb214b59458c | refs/heads/master | 2023-03-17T11:46:43.956839 | 2016-12-05T10:39:16 | 2016-12-05T10:39:16 | 64,933,012 | 5 | 0 | null | 2016-12-05T10:39:16 | 2016-08-04T12:32:10 | C++ | UTF-8 | C++ | false | false | 2,392 | hpp | deviceList.hpp | #ifndef DEVICE_LIST_HPP
#define DEVICE_LIST_HPP
#include "device.hpp"
#include <unordered_map>
#include <utility>
#include <atomic>
#include <uv.h>
namespace isaac {
// umap is a constant lookup container with device ID
// as key and pointer to actual device object as value
using umap = std::unordered_map<std::strin... |
2b4f6b235cccb6a349d3814512a679b9cb831d16 | ae4ff2f711b844c12cca4c21ebc0a70c83fe612f | /北大 C++程序设计学习笔记/code/main.cpp | 5e699158122855d62cf59bf9500061f6e564861b | [] | no_license | jianqiangq/cppLearning | ce7b3f547211c30887be552378de60d613edc35f | 81de29f1a0f1d312d0df46dd00348a0429cf168c | refs/heads/master | 2020-07-30T05:18:44.183714 | 2019-09-22T06:19:46 | 2019-09-22T06:19:46 | 210,100,272 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,145 | cpp | main.cpp | #include <iostream>
#include <stack>
#include <queue>
using namespace std;
typedef struct TNode* BinaryTree;
struct TNode
{
int data;
TNode* left;
TNode* right;
};
//层序生成算法
int CreateBinaryTree(BinaryTree &BT)
{
queue<TNode*> q;
int data;
TNode* tnode = NULL;
cin >> data;
if(data == ... |
eac2eff8d67d95e1e1126beb787bc607a3548906 | cd94e4a89afb36b4d03f4808c6001c65217d63d7 | /SpehsEngine/Core/Serial/BinaryReader.h | 0c02ccefab42ae42a801b0b8de9b90cba4900e55 | [] | no_license | Yuuso/SpehsEngine | 61e35a6cc6f800fddd6aa36ad4e3b225c1f222e5 | 04bbddaf7c3d8d597f6b79cd54732506ce0b34cc | refs/heads/master | 2023-08-16T22:59:50.776551 | 2023-08-10T16:35:01 | 2023-08-10T16:35:01 | 51,141,207 | 1 | 1 | null | 2016-09-16T07:11:18 | 2016-02-05T10:49:43 | C++ | UTF-8 | C++ | false | false | 2,910 | h | BinaryReader.h | #pragma once
#include "SpehsEngine/Core/Serial/Serial.h"
#include "SpehsEngine/Core/ByteView.h"
#include "SpehsEngine/Core/ByteVector.h"
#include "SpehsEngine/Core/Endianness.h"
#include "SpehsEngine/Core/SE_Assert.h"
namespace se
{
class BinaryReader
{
public:
static inline constexpr bool getKeyEnabled() { re... |
90d9a1969bba8ae948aab4e9e3a28a762d4a3a93 | 28f7e229958c8544dd1a70af3b823da29d11fcc4 | /Codes/Minimum_addition.cpp | 03416cec9262fa02dd04ff47b9895a64aabe0463 | [] | no_license | Praveennaik8/my-code-library | c484d70041abcec01bbf6010311977151354f240 | ef16542990d6d234a368d8d49c09685adb11ab39 | refs/heads/main | 2023-06-06T07:06:23.739500 | 2021-06-24T13:32:37 | 2021-06-24T13:32:37 | 379,278,340 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,979 | cpp | Minimum_addition.cpp | // Minimum addition
// Max. score: 100
// You are given an array of positive numbers. You are also given queries. Each query contains two integers . For each query, determine the sum of all values that must be added to each number in range to such that bitwise AND of all numbers in the range is greater than 0.
... |
4f3d5446cf3a2528b56aabbd8b43581f74b97483 | 920351fbbe44741e0ffca786b69ee9b6f2b8e4ea | /src/main.cpp | 8e227725a166f0f42fa1cf9f709903ab6f61d8f1 | [] | no_license | varunk08/OglCollision | 96dac68e256f427fdd94e5563af3db27146535b8 | c78a455fbe4df54f1868199d120e6f223b14dbd5 | refs/heads/master | 2020-04-05T18:53:09.505296 | 2014-03-17T22:40:54 | 2014-03-17T22:40:54 | 17,845,774 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,145 | cpp | main.cpp | // Include standard headers
#include <stdio.h>
#include <stdlib.h>
// Include GLEW
#include <GL/glew.h>
#include <GL/freeglut.h>
#include "Camera.h"
#include "LoadShaders.h"
#include "CubePrimitive.h"
#include "ProceduralSphere.h"
// Include GLM
#include "glm/glm.hpp"
#include "glm/gtc/matrix_transform.hpp"
#include "... |
31339560eea9176b4ccb939211ad03b6975ac76a | 4591b68e2e07187f19edb4474cb92ddafa6be275 | /runtime/skeleton/ZonalSkeleton.hpp | 60e2e81fbc30bf8dbb565616db05d9ee0b63d8cc | [] | no_license | mohitsahunitrr/map | 2e85abcf9311e2b17eeaa1bea702aca384b2c498 | 843423ff6b11b9a7535db74907d136a2251f060c | refs/heads/master | 2020-07-11T01:17:39.811771 | 2017-03-23T07:19:11 | 2017-03-23T07:19:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 731 | hpp | ZonalSkeleton.hpp | /**
* @file ZonalSkeleton.hpp
* @author Jesús Carabaño Bravo <jcaraban@abo.fi>
*
* Visitor of the dag that composes the kernel codes from skeletons
*/
#ifndef MAP_RUNTIME_SKELETON_ZONAL_HPP_
#define MAP_RUNTIME_SKELETON_ZONAL_HPP_
#include "Skeleton.hpp"
namespace map { namespace detail {
#define DECLARE_VIS... |
1d0a1248264776a7c4517a9dcb98a52ff75cd772 | 3dcaec72fa977745cd85ee9bc884c0ad1a33a079 | /network/RampTile.h | 49e936e8d11fe25aaf3a89b0483306008929ecbb | [] | no_license | ucsd-cse-125-spring-2019/cse125-sp19-group1 | d266b9677e5bc4bab24bc885b20260319ceeebb4 | d7d880786653689b067f1751dd189e4d7d3f0624 | refs/heads/master | 2020-05-04T19:03:59.247001 | 2019-06-09T02:03:27 | 2019-06-09T02:03:27 | 179,378,084 | 1 | 0 | null | 2019-06-07T05:20:01 | 2019-04-03T22:13:40 | C++ | UTF-8 | C++ | false | false | 1,208 | h | RampTile.h | #pragma once
#include "Tile.h"
enum class Orientation { NORTH = 4, SOUTH = 2, EAST = 1, WEST = 8};
class RampTile : public Tile
{
public:
// Default constructor
RampTile(Orientation aRampDir = Orientation::NORTH, int aWallLayout = 0, int aHeight = 0) : Tile(TileType::RAMP, aWallLayout, aHeight), rampDirection(aRam... |
d9daae8d662739a0c15002b770d1e291fb92ec1b | 202b96b76fc7e3270b7a4eec77d6e1fd7d080b12 | /modules/ecmascript/carakan/src/builtins/es_regexp_builtins.cpp | a52ee2499c1f2dcea40737dacde1312a3a189242 | [] | no_license | prestocore/browser | 4a28dc7521137475a1be72a6fbb19bbe15ca9763 | 8c5977d18f4ed8aea10547829127d52bc612a725 | refs/heads/master | 2016-08-09T12:55:21.058966 | 1995-06-22T00:00:00 | 1995-06-22T00:00:00 | 51,481,663 | 98 | 66 | null | null | null | null | UTF-8 | C++ | false | false | 13,889 | cpp | es_regexp_builtins.cpp | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; c-file-style: "stroustrup" -*- */
#include "core/pch.h"
#include "modules/ecmascript/carakan/src/es_pch.h"
#include "modules/ecmascript/carakan/src/builtins/es_builtins.h"
#include "modules/ecmascript/carakan/src/builtins/es_regexp_builtins.h"
... |
7865770c45bc5c1b888fddf8ca03d2cc02ca02d0 | fcceb4f2a4b6600fd601fc2d4b7eeae322c2073b | /Lab 5 - Expressions/ExpressionManagerInterface.h | 489b844e2a4b613217bc53348fb6a4e4ce2fb438 | [] | no_license | nmcmurdie/CS235 | 635a12a7b226aca0c59673221eba926ada614133 | 78dbe280d16100cf7a45c6b20addfed21451b7c3 | refs/heads/main | 2023-02-25T03:49:18.921626 | 2021-02-03T05:20:57 | 2021-02-03T05:20:57 | 335,514,591 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,200 | h | ExpressionManagerInterface.h | //**** YOU MAY NOT MODIFY THIS DOCUMENT ****/
#ifndef EXPRESSION_INTERFACE_H
#define EXPRESSION_INTERFACE_H
#include <string>
using std::string;
class ExpressionManagerInterface
{
public:
ExpressionManagerInterface(void) {}
virtual ~ExpressionManagerInterface(void) {}
/** Return the integer value of ... |
0a3abab1c50027444525c8a0b4c2f85056993e3d | a6ef9674622f6e7c46ac31f4cfffbd568ff4f97e | /SteadyState_Rectangular_0_dt2t10000/processor2/2000/k | a1646c5b409bd39fc5455a95f4006b353c3cb246 | [] | no_license | jhargun/FluidIP | 4c3f6d9a87ed8ce24ed692a9bf939a9ca04222f6 | d6e0f20c1f5e1f86c160497be9d632e6d17abbf7 | refs/heads/master | 2022-08-26T02:34:26.327956 | 2020-05-26T22:33:29 | 2020-05-26T22:33:29 | 266,886,503 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 425,863 | k | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | |
f3aa25be3f328adda50b22b240f562b37aa9d505 | 0872e0bc42c1ff5699dd14d22a12f09e38a6ec67 | /MIG_SFML_WINDOWS/State/MainMenu.h | cd3c85d0c29a1cb3d99f0bdaa4700d57deb06fac | [] | no_license | WearyWanderer/MIG_SFML_WINDOWS | 7d50470a729df955c56dff3ee59126fad36c9676 | 7536051a8972f9e217a9c4a741674796927bf879 | refs/heads/master | 2021-01-20T10:30:41.070884 | 2017-01-31T16:49:43 | 2017-01-31T16:49:43 | 71,495,227 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,021 | h | MainMenu.h | #pragma once
#include "../Base/BaseLoopClass.h"
#include "../Base/stdafx.h"
#include "../Base/Application.h"
enum ActiveMenu
{
MAIN_ROOT,
LOBBY_SEARCH,
HOST_INFO,
LOGIN,
FAIL_LOGIN
};
class MainMenu : public BaseLoopClass
{
public:
MainMenu() {};
MainMenu(tgui::Gui* gui, sf::RenderWindow* window);
~MainMenu()... |
ec35a9b06a19c0f96ed37efbb55ae8f747ddd50b | 9443a143d4bcc429a433d5518dd9cb060875000e | /src/nseof/flowmodels/ke/KEStencil.cpp | ed81ae08db3ccdd55c9502685b7a721dc866b567 | [] | no_license | martenlienen/turbulence | a8f5cc583aef44a6765ed81ab53db2c1bdbdd56b | 3512685f3e4f50f00361b50e1fa891eed42e8e1c | refs/heads/master | 2021-06-19T18:41:47.032523 | 2016-01-29T23:27:20 | 2016-01-29T23:27:20 | 45,708,901 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,146 | cpp | KEStencil.cpp | #include "../../stencils/StencilFunctions.h"
#include "KEStencil.h"
namespace nseof {
namespace flowmodels {
namespace ke {
KEStencil::KEStencil(const Parameters& parameters)
: FieldStencil<FlowField>(parameters) {}
void KEStencil::apply(FlowField& flowField, int i, int j) {
// calculate new value from old ... |
21feb6dd348453ab04754cbd0e61ddc253e14ef0 | 59418b5794f251391650d8593704190606fa2b41 | /plugin_api/qsf/qsf/renderer/helper/OgreManualObjectHelper.h | 430db6936c632aa5391aa867420e68d5ed6e83bb | [] | no_license | JeveruBerry/emergency5_sdk | 8e5726f28123962541f7e9e4d70b2d8d5cc76cff | e5b23d905c356aab6f8b26432c72d18e5838ccf6 | refs/heads/master | 2023-08-25T12:25:19.117165 | 2018-12-18T16:55:16 | 2018-12-18T17:09:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,779 | h | OgreManualObjectHelper.h | // Copyright (C) 2012-2018 Promotion Software GmbH
//[-------------------------------------------------------]
//[ Header guard ]
//[-------------------------------------------------------]
#pragma once
//[-------------------------------------------------------]
//[ Includes... |
c9535492cfbb7ea2e745376733474a0d6c46561a | 99d91bdfa1b50c9a78493def1f081a0608127821 | /MSSFMLView.h | 008fc0c130c4db5daad5f18606d16ed3130044fd | [] | no_license | xdawxd/SFML-Saper | 015c994967e1ef9b0625e2d92d57616bc666f374 | b729e04c7e1a9174c1c1a8d215605c4cc42e79b4 | refs/heads/master | 2023-04-21T21:57:22.204920 | 2021-05-02T21:33:28 | 2021-05-02T21:33:28 | 363,751,127 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 553 | h | MSSFMLView.h | #ifndef MSSFMLVIEW_H__
#define MSSFMLVIEW_H__
#include <SFML/Graphics.hpp>
#include "MinesweeperBoard.h"
class MSSFMLView
{
int height;
int width;
int screen_height;
int screen_width;
GameMode mode;
GameState state;
MinesweeperBoard& displayableBoard;
sf::RectangleShape addShadow(sf::RectangleShape field);
... |
93c1ea68eff81979d24e931f85aa50c8638184c7 | 36d041252ad9f1c3c5471e218f6df5bfcfc33023 | /cm-lib/source/controllers/INavigationController.h | 3a645cf350176011085c77fdff6f7c78c9a7b46f | [] | no_license | sancheg31/Database-Client-Management-Application | c37c3d1dbd1d243ef013306ced6ad717325542fd | bdc39d3767d04f6ba1057ab0121e28a704c37309 | refs/heads/master | 2020-12-29T12:39:34.414994 | 2020-02-06T04:43:14 | 2020-02-06T04:43:14 | 238,609,011 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 579 | h | INavigationController.h | #pragma once
#include <QObject>
#include "cm-lib_global.h"
#include "models/Client.h"
namespace cm {
namespace controllers {
class CMLIB_EXPORT INavigationController : public QObject
{
Q_OBJECT
public:
INavigationController(QObject* parent) : QObject(parent){}
virtual ~INavigationController(){}
signa... |
5d3532be6a7ba0a3211b55e927c9ac1f622135ad | f6104142bb6d6ed5bc84d08fed73e7087c80b881 | /Equipe.hpp | fc74e04276f96a7834f6f0ec80a0f5456cfd82bb | [] | no_license | landrieu/Pokemon-Fight-Mode | 5af3ab3be853a5e60b7d97a7b73da7ec09d87789 | 3a838e61b8f37f4069d51b0aac8ff06086162511 | refs/heads/master | 2021-01-11T16:24:17.878480 | 2017-04-05T02:20:49 | 2017-04-05T02:20:49 | 80,076,667 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 617 | hpp | Equipe.hpp | #ifndef EQUIPE_HPP
#define EQUIPE_HPP
#include <string>
#include "Pokemon.hpp"
#include <vector>
using namespace std;
class Equipe{
private:
vector<Pokemon> equipe; //liste de 6 Pokémon
public:
Equipe();
Equipe(Pokemon);
Equipe(Pokemon, Pokemon);... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.