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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
723e0953624059ce10643a55f5bf9a0d874e8f47 | 8452fe7fa8e37725db1535297b7778a2226702ff | /octopusAPI.hpp | 13581f57b39db39c7f1270adc27c340c6afbbc04 | [] | no_license | TheTelematic/octopus | b09fc9332a808ace86bd7650559053f7ca6b2c3e | 6672d7692b2a2a2fd4aabbe69eb7663406b79115 | refs/heads/master | 2021-01-11T04:29:56.780391 | 2017-07-17T06:49:39 | 2017-07-17T06:49:39 | 71,150,309 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,471 | hpp | octopusAPI.hpp | /*
This is the API of my service, for future developers
*/
#ifndef __OCTOPUSAPI__HPP__
#define __OCTOPUSAPI__HPP__
#include "libs/udp.hpp"
#include "libs/types.hpp"
#include "libs/myapi.hpp"
#include "libs/octopus.hpp"
namespace octopus{
class octopusAPI {
private:
Octopus *master_server;
... |
aa6ad8fbc0425b9e3e03469a7e4c0ec9138d1f6e | fe5a893303ef2050184afc85898f5a48da5b0e94 | /SpaceStationRescueSouls/SpaceStationRescueSouls/src/main.cpp | 31dea7088da8da896561109f464a95403aa9a601 | [
"MIT"
] | permissive | blockspacer/Space-Station-Rescue-Souls | 20941e674a3692308810e9a6e32fdee8bec1b5f6 | 48621dd8ddf9c6282669b1547ebca0af56ef7fa9 | refs/heads/master | 2021-04-19T14:51:24.687507 | 2019-01-18T10:57:44 | 2019-01-18T10:57:44 | null | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 7,957 | cpp | main.cpp | #include "stdafx.h"
#include "Game.h"
///
/// @namespace app
/// @author Rafael Plugge
/// @author Sebastian Kruzel
/// @brief Contains global classes and major application startup.
///
/// <summary>
/// Conatins our global classes that will have the overhaul responsibility for
/// running the application and start... |
e0e29fc8f4148cf1e13ea1130076c4a61e302279 | aaa97c8a228b80064f38fcca808e17bfa47ca187 | /Game of Thrones Game/city.h | 865693698558aec07a843bb28b3d4600727e0067 | [] | no_license | SpencerFurgerson/Coding-Projects | 322991ef22f3501f4d0555963e5d6632a386cb8c | 2d7704371c4bba3cafc64526782767a48ad9bb2c | refs/heads/master | 2023-08-27T06:40:36.382286 | 2021-10-29T19:38:56 | 2021-10-29T19:38:56 | 234,152,534 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 974 | h | city.h | #include <iostream>
#include <math.h>
#include <iomanip>
#include <string>
#include <fstream>
using namespace std;
//header for all city objcts
class City
{
public:
City(); // default constructor
City(int cityRow, int cityCol, string cityLet, string cityName, int cityMoney, int cityArmy, int cityPoin... |
aa5869a222d8045dd5c7373216e570165892087e | c510e37d09cf784eef18b153856562a0e954d77a | /src/parser.cc | cb01e5c64ba4cc8fc13bcb724b25ecdfcac94a15 | [
"MIT"
] | permissive | dnperfors/calculator | 353fbb5e4816a6090d156535954cd4b61c08245a | 72c8c330c67b957447e01b6b0d66251c84ad4b88 | refs/heads/master | 2021-01-01T05:53:43.825713 | 2015-10-31T12:32:22 | 2015-10-31T13:02:53 | 33,088,025 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,010 | cc | parser.cc | /*
* Copyright (C) 2015 David Perfors
*
* 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, merge, publi... |
86d312e76c80f3db4712429687ed1765aedcfe6a | 1a05ec20e7adb12a3009fc689cc510250d4fa225 | /BattleMoveFactory.cpp | 9e093e5ef46e5582c8338129177c353551c1f96f | [] | no_license | programmeremmanuel586/Data-Structures-program-3 | 6725d4ee5a6f2fa0d2b92724f3d75166370f3ee3 | 4e9ec14ae8fa1067eb5940fb48241968cd5984eb | refs/heads/master | 2023-02-07T05:04:12.561336 | 2020-12-26T19:32:35 | 2020-12-26T19:32:35 | 324,621,809 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 830 | cpp | BattleMoveFactory.cpp | //
// BattleMoveFactory.cpp
// program_3
//
// Created by Emmanuel Amoh on 11/16/20.
//
#include <iostream>
#include "enum.hpp"
#include "Actor.h"
#include "BattleMove.h"
#include "BattleMoveFactory.h"
BattleMove* BattleMoveFactory::BuildMove(MoveType moveType, Actor* attacker, Actor* target) {
BattleMove* bat... |
4a383dd31c9e6a24917042d3049e2fd917d0e758 | 4dd2545fe8807acffd678aebfaccb9d9e3ce60cf | /src/Token.h | 4634bba774a3c075010186470ee58718e4635ecb | [] | no_license | nsinitsyn/MathExpressionRecognizer | af4b5cc44929aa1c5ef34d1ea5d91d9dea72967e | 37556fd3a3fc381d1963a58ca9132b0acefd6f56 | refs/heads/master | 2021-05-03T11:54:06.273026 | 2018-02-06T18:59:47 | 2018-02-06T18:59:47 | 120,490,150 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,380 | h | Token.h | #pragma once
#include <iostream>
using namespace std;
class Token
{
int n; // имя токена
char* v; // значение атрибута
bool attr; // установлен ли атрибут
char** mN; // Отображение числового имени токена на строчное имя
int cTokens; // Число токенов
void InitMN(); // Инициализация mN. Вызывается во всех конструк... |
f0a1de83448d8888140edf7d0ddd4f06e2007840 | 53b88d0e2ab61aa00d42e83866b88daa42113df5 | /linux/ipc/ipc.cpp | ee92ca34fa9ae05140cd59ef5e2c53fad65550d4 | [] | no_license | Shajan/CS | 93c24dd011cfff4a97fc2c003207a6373266fb7d | 8b32426d66167f3cba3815164447ae324e9107af | refs/heads/master | 2023-07-18T20:48:30.259772 | 2023-07-10T16:20:39 | 2023-07-10T16:21:35 | 3,363,252 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,347 | cpp | ipc.cpp | #include <stdlib.h> // exit
#include <string.h> // memcpy
#include <unistd.h> // fork
#include "common.h"
#include "message.h"
#define MUTEX_NAME "/sdasan/ipc-mutex"
#define MEM_NAME "/sdasan/ipc-mem"
#define SIZE 1024
class CMutex {
private:
mutex m_mutex;
const char* m_name;
bool m_create;
bool m_locked; //... |
b0d5d74952a8a39b18dadba06c5e56a1d58e946b | e8282e3ae8aafa07b7f7261c639f206c4e97e0fc | /03 - Online Judges/codeforces/B.sale.cpp | 647ce756a4e2f2c5f1085aa26d44dfdbbd56807e | [] | no_license | irfansofyana/cp-codes | 7cad844da49b901ccf678b75c31ed41e2fa9d645 | 9fa723129088f0e4832ecb7e012fe586b6d59e41 | refs/heads/master | 2023-04-04T00:48:36.334817 | 2021-04-12T03:07:06 | 2021-04-12T03:07:06 | 218,084,148 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 264 | cpp | B.sale.cpp | #include <bits/stdc++.h>
using namespace std;
int n,m,i,j;
int A[10010];
int jumlah;
int main(){
cin>>n>>m;
jumlah=0;
for (i=0;i<n;i++) cin>>A[i];
sort(A,A+n);
for (i=0;i<m;i++){
if (A[i]<=0) jumlah+=A[i];
}
cout<<abs(jumlah)<<endl;
}
|
acd43e408892bcdaa9cc6581895087e672583731 | e4038eaf894bfc55dab67142cb7d850b51df2b32 | /project-01/kattis-basicprogramming2/main.cpp | 308720e3b115383d55473448b576f69f5620d867 | [] | no_license | tokbaev-a/auca-ds-2020 | cf1530191771a877c97c90ad82c06b519c18f820 | e4cfd3a52bd0d99da6777571cf4b964dfef32455 | refs/heads/master | 2023-08-10T10:03:46.164170 | 2021-02-07T14:25:00 | 2021-02-07T14:25:29 | 292,755,324 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,712 | cpp | main.cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int n, t;
cin >> n >> t;
vector<int> digits;
for (int i = 0; i < n; i++)
{
int a;
cin >> a;
digits.push_back(a);
}
sort(digits.begin(), digits.end());
if (t == 1)
{
string tmp = "No";
... |
dd8e71ad90b99686f610ac260ba68b52e8574490 | eb79ade840c835cf8c1e1ad1a9e5839579bf9247 | /Level1.cc | 3e3787b0c8f4f1b77520a0eed18f35db4472e476 | [] | no_license | kpatel5797/Quadris | 63d94b182f4f89a6b81d06fc69b73b821cc8f7ea | 14bfd302fa004c385eb7a05f6b15cfbe1e1d2b70 | refs/heads/master | 2021-07-02T22:14:39.780937 | 2017-09-24T20:59:33 | 2017-09-24T20:59:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 928 | cc | Level1.cc | #include "Level.h"
#include "Level0.h"
#include "Level1.h"
#include "Level2.h"
#include "block.h"
#include "oBlock.h"
#include "sblock.h"
#include "zblock.h"
#include "iblock.h"
#include "lblock.h"
#include "jblock.h"
#include "tblock.h"
#include <iostream>
#include <cstdlib>
#include <fstream>
using namespace std;
Le... |
c16abce7bb012511121cb06c91870889f9e53a78 | f556de35cb88a1433b5e5d898c8a5185e387b8dd | /game.cpp | 942e56bfa22e5db3672de2ae2ffee7e5cb8e2987 | [] | no_license | asfandahmed/C-plus-plus-Programs | 954d8f5dda19bf500d283853c3735a5b07056f92 | bc55a88d7e1f8ca6900d41f25c5c5faf4c695562 | refs/heads/master | 2020-05-26T09:35:29.801797 | 2015-04-26T22:59:52 | 2015-04-26T22:59:52 | 34,633,697 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,051 | cpp | game.cpp | #include <iostream>
#include <conio.h>
using namespace std;
const int ROWS = 10;
const int COLS = 5;
const int HEIGHT = 25;
int main()
{
int count, j, k;
char* ptr[ROWS];
char* temp;
static char pict[ROWS][COLS] = {
{0, 0, 0, 0, 0},
... |
f9e11e2b5c04435e3a9a435f79c5d28882cac8c1 | 950b9dcea55cd43a4f3853cb0897c53e2758146f | /F2FSetup/F4PatchPage.cpp | a0277098beaa7376b3bb4ca2e00e7041be08f89b | [
"MIT"
] | permissive | opiopan/f2filter | 231404ff395da91a6ebd6c5a083b77e66c4e56f0 | 616c90d95a9ccdea9aa598b992388a4197f2bc98 | refs/heads/master | 2020-05-04T16:01:50.858541 | 2019-04-03T12:45:12 | 2019-04-03T12:45:12 | 179,264,792 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,456 | cpp | F4PatchPage.cpp | // F4PatchPage.cpp : インプリメンテーション ファイル
//
#include "stdafx.h"
#include "F2FSetup.h"
#include "F4PatchPage.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CF4PatchPage プ... |
a7e9c2cbc9c7f29ee82547c7385c4496688a80de | d320d6fed418f4339a953f3963e7bd4b6b4b3cd0 | /libapi/basalt/api/math/vector3.h | 63e9169214cb8f7121566435b1e40c35b5041399 | [] | no_license | juli27/basaltcpp | 6ef93bb3c322f328262bb18c572968eb0ff8fc2b | 1c6bb55f80e8c1fa4aa3b52a7111e78741424955 | refs/heads/master | 2023-08-31T04:30:57.379453 | 2023-08-30T18:57:54 | 2023-08-30T18:57:54 | 189,708,858 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,919 | h | vector3.h | #pragma once
#include <basalt/api/math/vector.h>
#include <basalt/api/math/types.h>
#include <basalt/api/base/types.h>
#include <array>
namespace basalt {
class Vector3f32 : public detail::Vector<Vector3f32, f32, 3> {
public:
[[nodiscard]] static constexpr auto right() noexcept -> Vector3f32 {
return Vector... |
1c01f3b39276ed8866d58bc66de5c113dab8cc92 | b6f34c048ba64b3825ca033342a6c847ef7578b2 | /VCSProject/VCSProject/Merge.h | 0ad6125e48b6bdc31fec64d728599aa529bf2a70 | [] | no_license | dbortiz/VCSProject | 739b707f601a5ab4573941de34273b2891a49b63 | 700d607393ba13a862ab54d71e7af6ff79dee5ad | refs/heads/master | 2020-04-08T10:12:20.659550 | 2018-12-17T10:09:39 | 2018-12-17T10:09:39 | 159,122,130 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,886 | h | Merge.h | /*This header file does not work. */
#pragma once
#include <iostream>
#include <experimental/filesystem>
#include <fstream>
#include "CreateRepository.h"
namespace fs = std::experimental::filesystem;
void findManifest(fs::path& currentPath, fs::path& manifestPath) {
for (auto it : fs::recursive_directory_iterator(c... |
adf7c1be1c955dcb3d6faa51b937706d95e488ec | 76bdc69d847acbe350ebf13a7b6cde7dacbb690c | /src/arduino/programChanger/NumEdit.h | b4fc6500337347d2113bea95a1bd2e530b897c87 | [] | no_license | mink99/programchanger | 0c5f122cda73589215880795a94768175765c580 | 99ffb6a14bc8abf3f7e081b7b0c1d23da9ef005a | refs/heads/master | 2016-09-13T11:24:44.373913 | 2016-05-03T02:06:59 | 2016-05-03T02:06:59 | 56,006,758 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 416 | h | NumEdit.h | #include "BasicEdit.h"
class NumEdit : public BasicEdit
{
public:
NumEdit() {};
int edit(Field & fld, Value &val);
int edit(byte _col, byte _row, byte _len, int _min, int _max, int _value, char *formatBuf);
private:
bool parse(char *input, Value & v, Field &f, byte nPos);
int range(int n, V... |
1dbfb11ab50aee4efeed9c34d7b4cfb604b7a665 | ed014909d18ad96b12a0101178245d7007ac6e50 | /WINDOWS/disconnector_GPU/testbed/DigitalDemo(DigitRelease)yolo_cpp_dll.cpp | 358a1de59d162c37abeb75c5788c9034c6afcf11 | [
"Apache-2.0"
] | permissive | xiakexiaoyi/WHAYER-CODE-RECORD | fc75b6e74738a417b8a31d2bd0fd432bfbe3580b | 0e7a34b0116237a80e73a516aadc1284645acf51 | refs/heads/master | 2020-05-20T12:19:51.948962 | 2019-05-06T07:51:55 | 2019-05-06T07:51:55 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 13,268 | cpp | DigitalDemo(DigitRelease)yolo_cpp_dll.cpp | #include <opencv2/opencv.hpp>
/***********************/
//#include "HY_Network.h"
#ifdef __cplusplus //指明函数的编译方式,以得到没有任何修饰的函数名
extern "C"
{
#endif
#include "detector.h"
#ifdef __cplusplus
}
#endif
/***********************/
using namespace std;
using namespace cv;
typedef struct
{
int left;
int top;
int right;
in... |
b03f7959a379345346a5a78d98f10a6e14c865f0 | dca4eaebf0e4de55b251813abe13687f9d656ac5 | /simulate/src/FrictionInfo/frictioninfo.cpp | 2ef34d4e2d731587cef933b816cf4d56ae16f46a | [
"MIT"
] | permissive | dulte/FrictionProject | 6ebe18e8a237a8b90525114e8c7a299a47a66ac9 | fa30c59286266df263b75a95e0238cb595046375 | refs/heads/master | 2021-01-13T15:56:31.655693 | 2018-01-12T13:18:31 | 2018-01-12T13:18:31 | 76,807,605 | 0 | 0 | null | 2018-01-05T15:34:15 | 2016-12-18T21:25:21 | C++ | UTF-8 | C++ | false | false | 712 | cpp | frictioninfo.cpp | #include "frictioninfo.h"
FrictionInfo::FrictionInfo(std::shared_ptr<Parameters> spParameters)
{
m_ns = spParameters->get<int>("ns");
m_nx = spParameters->get<int>("nx");
m_meantime = spParameters->get<double>("tRmean");
m_stdtime = spParameters->get<double>("tRs... |
54a2bc4dfa8614adeb3fac13e6ebfe3afb43b216 | b20e98cb1b7b7ab04480efe65cc1ddeb938db52c | /20181227二叉树中查找后继节点/BinaryTreeFindNextNode/main.cpp | e5cbbd0cd1aa6e766e13f315937dbbb166f499d8 | [] | no_license | thunderzong/Algorithm | 57476a523a0e938a098142df728cee6372da3572 | c49322a61e8842216d082bbfa64c5319941bc23e | refs/heads/master | 2020-04-13T13:43:24.999503 | 2018-12-27T10:43:57 | 2018-12-27T10:43:57 | 163,240,231 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,189 | cpp | main.cpp | #include <iostream>
using namespace std;
class Node
{
public:
int value;
Node *left;
Node *right;
Node *parent;
Node (int data)
{
this->value=data;
}
};
Node *getLeftMost(Node *node);
Node *getSuccessorNode(Node *node)
{
if(node==NULL)
{
return node;
}
if(n... |
1bbd11b8722f0f41cc31d1b6a3499df0067975ed | 32fb20460873512cf1c465e2dd55308bcb43093d | /vectors.h | 8e18bb11070ba872b10df70e1404647c5e0b511c | [] | no_license | jbsec/Repl.it-Snippets | 05319796eb28f9c800588fcfceb805e4a647636f | 1b4e108de0f268642fa1f1df7bd91d775b9965d9 | refs/heads/master | 2022-01-24T07:59:34.466367 | 2019-07-18T16:29:30 | 2019-07-18T16:29:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 559 | h | vectors.h | #include <iostream>
using namespace std;
int main() {
std::cout << "Hello World!\n";
}
// this is a vector
double read_and_sum(int s)
// read s integers from cin and return their sum; s is assumed to be positive
{
Vector v;
vector_init(v,s); // allocate s elements for v
for (int i=0; i!=s; ++i)... |
9660cdca69ab811e07e6bbb15469328adef2edc1 | 0ec2741757aba9a75156cf824d7fb4af423420cc | /Lab_Digital.ino | d4db5ec0d794ed715e7c5e05f047601ce7b4b47e | [] | no_license | luiguijoelmiranda/laboratorio-ed | 63cb2d823367b88dee30f0aa537e21d221276982 | 5528efa77d5e2639084e7c6f518adef7f88239b7 | refs/heads/master | 2022-08-08T14:19:53.053477 | 2020-05-16T03:18:30 | 2020-05-16T03:18:30 | 264,347,679 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,869 | ino | Lab_Digital.ino | ndo #include <Keypad.h>
#include <LiquidCrystal.h>
const int rs = 27, en = 26, d4 = 25, d5 = 24, d6 = 23, d7 = 22;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
////////////////////////////////////////////////////////////
//declaracion de variables
///////////////////////////////////////////////////////////
unsigned long ... |
3f719ebc8e7851746d6c149ae7a02fbbc2e385f5 | 865bee9c6d2d0a6dc7a97f6d0ffc76aa7b95a328 | /0515/std_allocator.cpp | e9413cbc53dd72e25259c1a478d96fb447bd7335 | [] | no_license | sylph01/cea21 | 1628d7f12ffb75d9831e3b8037f94fbb2686cde6 | ddcce7e35bf2daab2a246749e39019ec55b4c0fe | refs/heads/master | 2023-05-01T16:06:07.838329 | 2021-05-20T12:02:44 | 2021-05-20T12:02:44 | 354,940,598 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 257 | cpp | std_allocator.cpp | #include "../all.h"
int main(){
std::allocator<std::string> a;
std::string *p = a.allocate(1);
std::string * s = new(p) std::string("hello");
std::cout << *s << std::endl;
// s->~basic_string();
std::destroy_at(s);
a.deallocate(p, 1);
}
|
ba39c0efdf43425e1fcc778d451f9abb032c4060 | 0b2d6856f81aaa8d3a5b08554ec95d4d35be5504 | /ReliableUDP/Headers/OutputMemoryBitStream.h | dd35bbf29da4cc4cf98b077a63776075573a1eb4 | [
"MIT"
] | permissive | elderkeltir/hurricanengine | 5dbc368118e0891faf84b8e9608977775a6623bd | dc0329c55dc4b3a15f13cffdcf155c0a02618bb0 | refs/heads/master | 2023-05-11T05:23:32.458240 | 2021-03-25T14:57:13 | 2021-03-25T14:57:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,136 | h | OutputMemoryBitStream.h | #pragma once
#include "MemoryStream.h"
#ifdef NETWORKLIBRARY_EXPORTS
#define NETWORKLIBRARY_API __declspec(dllexport)
#else
#define NETWORKLIBRARY_API __declspec(dllimport)
#endif
class OutputMemoryBitStream : public MemoryStream
{
public:
NETWORKLIBRARY_API OutputMemoryBitStream();
NETWORKLIBRARY_API uint32_t Ge... |
e5a1c158b6bb75d1ae8587960c9b7684b5da56ef | dad6a8033f8412790cbf9c2cb1a27064689875a7 | /DM2GDED/EditVWordValPg.h | 2038c680d19035bcaedb6a6c0098b4825b27749f | [] | no_license | gbsphenx/skproject | d95b28221187ada06b12dfa7550c5540bdf262dc | 48fb31883df76ecff0b6ebe533c89f779b66b12c | refs/heads/master | 2023-09-04T10:57:47.634857 | 2023-09-01T17:15:56 | 2023-09-01T17:15:56 | 32,668,925 | 13 | 3 | null | 2022-12-07T17:22:37 | 2015-03-22T09:08:24 | C++ | SHIFT_JIS | C++ | false | false | 3,565 | h | EditVWordValPg.h | #if !defined(AFX_EDITVWVPG_H__2E7A460E_08BB_4454_9F08_F13FEEC9C35E__INCLUDED_)
#define AFX_EDITVWVPG_H__2E7A460E_08BB_4454_9F08_F13FEEC9C35E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// EditVWVPg.h : ヘッダー ファイル
//
#include "EditVPg.h"
#include "EditVxxx.h"
/////////////////////... |
26819f3e44b19a41801b93fe77f85537c2e8065f | 8d554b68dc2f5ff7bb23054d956c2dced3b18361 | /Iterator.h | 173bf41a70f07671c3df7135331139eb755a1045 | [] | no_license | tom-bea/GettingBackIntoCpp | 508615fc942e7df31120a3aa12e0b611c0f54598 | 218ec43fe2dfd5c45fe2feb790ec8e238619f908 | refs/heads/master | 2020-03-29T10:35:15.594402 | 2018-10-15T06:39:21 | 2018-10-15T06:39:21 | 149,812,969 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 575 | h | Iterator.h | #pragma once
template <class NodePtrType, class StoredType>
class Iterator
{
private:
NodePtrType* m_value;
public:
Iterator(NodePtrType* start) : m_value(start) {}
StoredType operator*() const { return ***m_value; }
bool operator==(const Iterator& other) const { return m_value == other.m_value; }
bool... |
f3ef96a640eaf40ee739f12551cb38b3748539bb | e5b18a6fe48327ac208dc2a5ef9204247b6a863c | /void_numerics.cpp | 62fa71e07e347ecb8f52419f7f73edafddb8213a | [] | no_license | Blosberg/meanfield_void_numerics | 245abbf2861f570bce15529569fd4f8ce8585bd6 | 7dff16c5a458626289430a46358c3615c5e8e7d6 | refs/heads/master | 2020-05-17T00:52:53.111861 | 2019-05-05T18:39:33 | 2019-05-05T18:39:33 | 183,410,979 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,648 | cpp | void_numerics.cpp | //---------------------------------------------------------------------------------------------
// ---last updated on Sun Apr 27 21:18:49 CEST 2014 by bren at location , bren-Desktop
// changes from Sun Apr 27 21:18:49 CEST 2014 : implemented criteria to terminate the run when a maximum in the density is encoun... |
e3f8ca1ed89115c6f0bcf7fd0c9eb369be1e52f8 | dd656493066344e70123776c2cc31dd13f31c1d8 | /MITK/Modules/QmitkExt/QmitkAboutDialog/QmitkAboutDialog.h | c09a6d26ee812aba46208b459026d268d3acd9aa | [] | no_license | david-guerrero/MITK | e9832b830cbcdd94030d2969aaed45da841ffc8c | e5fbc9993f7a7032fc936f29bc59ca296b4945ce | refs/heads/master | 2020-04-24T19:08:37.405353 | 2011-11-13T22:25:21 | 2011-11-13T22:25:21 | 2,372,730 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 976 | h | QmitkAboutDialog.h | /*=========================================================================
Program: Medical Imaging & Interaction Toolkit
Language: C++
Date: $Date: 2009-07-14 19:11:20 +0200 (Tue, 14 Jul 2009) $
Version: $Revision: 18127 $
Copyright (c) German Cancer Research Center, Division of Medical and
Biological Inf... |
3ca4dc00f2711635450697dee445de3e0cfb7733 | e23de521dac17dd9ffa4fd4926f797da35625b16 | /vision/obj_pose/src/seg_plane_cam2obj.hpp | df61b0b761ffd59fd1043a29ef164ba233ffe256 | [] | no_license | tkuiclab/ARC | a3938c3f6ad943b0b733ff4be54c05cc3a32607a | 3c8924f2728fef9f6b09c84036a8219c08b24c67 | refs/heads/master | 2021-03-19T18:11:48.278339 | 2017-05-29T07:05:48 | 2017-05-29T07:05:48 | 79,823,986 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,277 | hpp | seg_plane_cam2obj.hpp | #include "pcl_utility.hpp"
#include <iostream>
#include <pcl/ModelCoefficients.h>
#include <pcl/point_types.h>
#include <pcl/sample_consensus/method_types.h>
#include <pcl/sample_consensus/model_types.h>
#include <pcl/segmentation/sac_segmentation.h>
#include <pcl/filters/voxel_grid.h>
#include <pcl/filters/extract_in... |
ec727bf32cd254b64f3859edc27d8cc998dd6a8c | 51819345c6569587e28393a5df12afa34fd7595f | /ui_qhairprocessing.h | 7f02823713df5d09c3e80d30443ba6e38cd2bbea | [] | no_license | 000ddd00dd0d/Hair-Tracing | 0f82aed18595728266b875e266d44a856db7a3ad | 9b342780f748083b788725b231a6dde4a0a16a2a | refs/heads/master | 2021-01-13T10:15:17.182301 | 2017-02-08T08:48:49 | 2017-02-08T08:48:49 | 69,742,699 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 23,117 | h | ui_qhairprocessing.h | /********************************************************************************
** Form generated from reading UI file 'qhairprocessing.ui'
**
** Created by: Qt User Interface Compiler version 5.6.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
***********************************... |
b7e39d96257122c6dbc44c3aba150ec6d46d408a | bd41a6bb250ea6b2b62bd49db3644e2a1e43bf77 | /include/RCE-Error.hpp | 657140cf6ea8cba364251c3a269c15c06f4371e8 | [] | no_license | Aalexdev/Ray-caster-engine | ea36d9bd4750f6fef2668f8241f57a28b7dc9a40 | da1a50e663cbae524986ec38973a164e877987f5 | refs/heads/master | 2023-06-28T16:41:37.435392 | 2021-08-04T19:15:52 | 2021-08-04T19:15:52 | 390,816,778 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,119 | hpp | RCE-Error.hpp | #ifndef __RCE_ERROR__HPP__
#define __RCE_ERROR__HPP__
#include "RCE-begin_code.hpp"
#include <iostream>
namespace RCE{
namespace error{
enum Type{
ERR_invalid_error,
// libs init
ERR_SDL2_image_init,
ERR_SDL2_ttf_init... |
b65d968b081b3184215c8303b406a29db4eedc67 | c26217ed80420f1245ef0f2224434520ffc9ed8d | /w3/VREME-0Evidencija/main.cpp | a53184fc9a1328677447bb645a33783dd21a9368 | [] | no_license | acorovic/operativni_sistemi | e52453d5cfe3d76c601fe441a91afd67751d5f00 | 60f2706571c73b8f54942b3e7442a7535bfe9925 | refs/heads/master | 2021-01-18T21:23:05.880283 | 2016-05-23T10:05:23 | 2016-05-23T10:05:23 | 53,074,865 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,708 | cpp | main.cpp | /*
Napraviti konkurentni program koji pronalazi element najblizi 0 iz zadatog niza brojeva.
Posao podeliti u 3 toka izvrsavanja.
Niz treba da sadrzi 900000 elemenata. Elementi su pseudoslucajni brojevi dobijeni
pozivom funkcije rand().
Za svaki tok izvrsavanja, evidentirati trenutke kada je izvrsav... |
50f1a9219d84e7fd88bce5be9ab8c53f2f8b15d8 | a0408d7447ad61283dc34f12cd980db4d280729c | /src/sim/SettingsMouseAlgos.cpp | 4cc3ad23b85a3fe2ce3a34b64cc9853adf99eb1c | [
"MIT"
] | permissive | gbalke/mms | f4d3b51f6f978077b28972e797910defe1e26f1f | f8e7209b7ee1242711c038437947f1b8602f5eec | refs/heads/master | 2020-03-10T05:07:47.010284 | 2018-03-25T18:20:13 | 2018-03-25T18:20:13 | 129,210,013 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,642 | cpp | SettingsMouseAlgos.cpp | #include "SettingsMouseAlgos.h"
#include "Assert.h"
#include "ConfigDialog.h"
#include "ConfigDialogField.h"
#include "Settings.h"
namespace mms {
const QString SettingsMouseAlgos::GROUP = "mouseAlgos";
const QString SettingsMouseAlgos::KEY_NAME = "name";
const QString SettingsMouseAlgos::KEY_DIR_PATH = "dirPath";
c... |
2b04d7475de396517ae279314b7aa2eb108bc070 | 1abda5c7adc4dcbee7c7111749785d819985cdf8 | /Protocols/asciidecorator.h | 10e3eda9423ea4a3a8c6447caeb82474301c8d63 | [] | no_license | 519984307/PLC_Config | 70b2bc74366894f5a0535a3a382bb5570deb19bc | c9bb5065d49e92d49a9e20bcfaf2d7d88baf926a | refs/heads/master | 2023-03-16T05:51:32.255079 | 2018-07-24T08:11:38 | 2018-07-24T08:11:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 564 | h | asciidecorator.h | #ifndef ASCIIDECORATOR_H
#define ASCIIDECORATOR_H
// реализация декоратора команды - преобразование в ASCII
#include "commanddecorator.h"
class AsciiDecorator : public CommandDecorator
{
public:
explicit AsciiDecorator(CommandInterface* cmd);
bool form(Request &req);
bool waitAnAnswer(Request &req, QIODe... |
ff1baab2800a4768ed0d3762cfba8a6496d96b50 | fb0cc37a92ad1fbcbb4fb5750a75bcb200416ce7 | /src/LeadingParameter.h | ae5b44a87ecf25af83c4cbf2f2c5ef1828e8701f | [] | no_license | cgrandin/oocam | 1c740d07d685483ca808c75a159066c44d6a03c7 | e801a8ca9b394dd98f759dc9ec0698960eb83640 | refs/heads/master | 2020-06-09T05:37:05.772862 | 2015-05-28T19:44:27 | 2015-05-28T19:44:27 | 19,587,328 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 557 | h | LeadingParameter.h | #include <admodel.h>
#include "Prior.h"
#ifndef _LEADINGPARAMETER_H
#define _LEADINGPARAMETER_H
class LeadingParameter{
private:
adstring m_name;
data_number m_ival;
data_number m_lb;
data_number m_ub;
data_int m_phz;
Prior *m_prior;
public:
LeadingParameter();
~LeadingParameter();
void allocate(a... |
073fdd6e6379fc3451b4e68da064c3251abdd3e5 | 6327f33bf75f96077ce505a0f8fb8d52bc4c1994 | /school/test/confirmdialogmock.cpp | 5865db0ef31269b81e70b1da490522f608ebb65a | [] | no_license | galgreg/SchoolStatistics | 5f93ef238ab6123f733cf9925aa49df9ef227b65 | aad3d9ddd3788471eeca7bf71844473f90d3ec50 | refs/heads/master | 2020-06-24T16:29:44.398719 | 2019-11-10T12:28:41 | 2019-11-10T12:28:41 | 199,015,298 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 981 | cpp | confirmdialogmock.cpp | #include "confirmdialogmock.h"
ConfirmDialogMock::ConfirmDialogMock(
const QString &defaultAction,
const QString &defaultStudentName) noexcept :
mActionString(defaultAction),
mStudentName(defaultStudentName) {
}
void ConfirmDialogMock::showDialog() noexcept {
}
void ConfirmD... |
2354d48204736eca653c276008b43ffe0f7767a6 | f6c0da54b6c8d869655198d5699140f84e4ce517 | /Firmware-Arduino/src/barometer.h | 875eb6ef46a34ce84ff6509d39ca2272c9f5fd54 | [] | no_license | introlab/OpenIMU-MiniLogger | 3b86dcb9e5e108c5c55e43d158a44d2788eda1a7 | 436f5e6caf2dea375c815e73e659914844934e61 | refs/heads/master | 2022-09-03T10:39:57.621431 | 2022-08-23T18:31:46 | 2022-08-23T18:31:46 | 126,327,562 | 34 | 15 | null | 2022-08-23T18:31:47 | 2018-03-22T11:50:32 | C++ | UTF-8 | C++ | false | false | 322 | h | barometer.h | #ifndef _BAROMETER_H_
#define _BAROMETER_H_
#include "defines.h"
#include "MPL115A2.h"
class Barometer
{
public:
static Barometer* instance();
void getPT(float &p, float&t);
private:
static Barometer* _instance;
Barometer();
MPL115A2 _mpl115A2;
TaskHandle_t _baroTaskHandle;
};
#endi... |
542b63b9f545b8fbdd435a32900e0d5bc97c5fc0 | b7346d0bb304e993107a666562b18827cc5e58c3 | /Team Flight/SimultaneusTransportationSIRModel/main.cpp | f18ec5e4b8cff4a69da9ad6c5816b3e223c20cd7 | [] | no_license | lavneetpuri/Hackathon2020 | 0a60ca53ab33fb2a59d90206cd3f3b845921767e | fd1d73b7e7442a68a0bb03afceafc93a05a64c1b | refs/heads/master | 2021-01-06T19:03:04.305152 | 2020-03-10T00:55:32 | 2020-03-10T00:55:32 | 241,451,810 | 0 | 0 | null | 2020-02-25T22:30:01 | 2020-02-18T19:43:27 | HTML | UTF-8 | C++ | false | false | 1,046 | cpp | main.cpp | //
// Created by george on 2020-02-18.
//
#include "csv_read.hpp"
#include "model.hpp"
#include <iostream>
int main(int argc, char* argv[])
{
constexpr auto k_data_confirmed_cases = "../data/novel-corona-virus-2019-dataset/time_series_2019_ncov_confirmed.csv";
constexpr auto k_data_deaths_cases = "../data/... |
be16d670aef08752b5c9e3517232d5676b2e943b | 9d3de53085816e0c9377a2bfa26c880b81936fb4 | /conv.cpp | 747b39bc74b7a208fef1fe5d1091cb428e58dd68 | [] | no_license | nkirov/tif2fits | 687eeafd9a12cf3feb33b5978b849fe6157b7ae2 | 79497926ae6be1feae3253b3819df2d7b1655ff3 | refs/heads/master | 2021-01-24T16:11:02.678650 | 2016-03-28T15:19:49 | 2016-03-28T15:19:49 | 8,161,620 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,018 | cpp | conv.cpp | #include <QFileInfo>
#include "conv.h"
Conv::Conv(QString f, QString f2, const Menu *menu)
{
qDebug() << "start Conv";
typef =
"biiiibiibssssssssdssdssdssdsissssssdsssddssssisdddsiddiiddssssss";
//1234567890123456789012345678901234567890123456789012345678901234567890
fname = f;
f2name = f2; //... |
649bc66e3a5c9f28e329730fe0b2846c43ecb9c5 | 04115e2839a8e5baa30e98699c3a3db58a30a3fc | /CPP/home_work/BlackJack/deck.cpp | 7a6fd5481e3d07b0e8844072d916f987cddd95cb | [] | no_license | THEDECAL/Projects | 767ea2767c425e53fc6301f8a1f2188f0d1385c8 | 1692c9f27a47afc112a79003c07896a7d00f5c73 | refs/heads/master | 2023-02-21T09:31:21.281608 | 2023-02-07T15:01:43 | 2023-02-07T15:01:43 | 162,668,800 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 905 | cpp | deck.cpp | #include "deck.h"
deck::deck(){
_deck[CNT_CARDS];
cntCards=0;
}
void deck::init_deck(){
cntCards=CNT_CARDS;
const int totalSuits=4;
const int totalJockers=2;
const int size=(CNT_CARDS-totalJockers)/totalSuits;
for(int k=0,i=0; i<totalSuits; i++,k+=size){
for(int j=0; j<size;j++){
_deck[j+k].... |
11f3cb9b33f7eba8295bcaf375c0e1a82681e863 | 5a87eaac41c3341c52fb01f347eb991b9aaffe95 | /apue/chapter10/10.10.2.cpp | ce072be010d30a324dc7bfdd736408b343a372c8 | [] | no_license | TTLIUJJ/MyLearning | 031cd457379a403a526478048604ccf00308b0fb | 1682796cb9f8da59e6c87e6e015aa4e12bbeab2a | refs/heads/master | 2021-01-17T17:48:21.252858 | 2017-03-25T15:10:48 | 2017-03-25T15:10:48 | 70,613,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 639 | cpp | 10.10.2.cpp | #include <iostream>
#include <setjmp.h>
#include "apue.h"
using namespace std;
static jmp_buf env_alrm;
static void sig_alrm(int);
int main()
{
int n;
char line[MAXLINE];
if(signal(SIGALRM, sig_alrm) == SIG_ERR){
cerr << "Main: signal() error" << endl;
return -1;
}
if(setjmp(env_alrm) != 0){
cerr << "Long... |
a543924a7a848d988e5ead32a74db58a2ac0fe38 | 9d364070c646239b2efad7abbab58f4ad602ef7b | /platform/external/chromium_org/media/cdm/ppapi/cdm_wrapper.h | 21589c365c29679d4d8f80732edcfc18328d4869 | [
"BSD-3-Clause"
] | permissive | denix123/a32_ul | 4ffe304b13c1266b6c7409d790979eb8e3b0379c | b2fd25640704f37d5248da9cc147ed267d4771c2 | refs/heads/master | 2021-01-17T20:21:17.196296 | 2016-08-16T04:30:53 | 2016-08-16T04:30:53 | 65,786,970 | 0 | 2 | null | 2020-03-06T22:00:52 | 2016-08-16T04:15:54 | null | UTF-8 | C++ | false | false | 18,546 | h | cdm_wrapper.h | // Copyright 2013 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_CDM_PPAPI_CDM_WRAPPER_H_
#define MEDIA_CDM_PPAPI_CDM_WRAPPER_H_
#include <map>
#include <queue>
#include <string>
#include "base/basictype... |
bf0d9cc85810d0915c774d2eb189c6a3215867ff | 9919f528b0c2ea5650ad418d9b12b0480a8798fc | /linear/ADSR_Linear.h | 9779938a8f85bcf17f31b80ef5f5b592810cbd6c | [] | no_license | JeffGregorio/Envelope-Generators | 80281d28bd127af5a88f23bda23ade24ca142ec5 | 96bef36954b02ac19ce2a28855e4fff1ea8d7cea | refs/heads/master | 2020-03-20T15:27:33.101056 | 2018-07-06T22:22:28 | 2018-07-06T22:22:28 | 137,513,850 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,185 | h | ADSR_Linear.h | // ADSR_Linear.h
// Linear envelope generator
//
// Copyright (C) 2018 Jeff Gregorio
//
// 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 ... |
1e3cd6d4c1727c4335bd37cf73fa3ce11cde6bbc | bebc95de2ba0b18ab89807973ec445ba32e01d50 | /innative-test/test_errors.cpp | 38428e4aa98180fe406731a033944bf66badc6f2 | [
"Apache-2.0",
"LLVM-exception"
] | permissive | innative-sdk/innative | c7cab04587382b019f699a45b48fbd85fa323ad5 | 1fb381d7dfabc581c42114aa66cf81ae63a06eb9 | refs/heads/master | 2023-08-30T03:33:20.190480 | 2022-12-27T21:03:49 | 2022-12-27T21:03:49 | 122,264,181 | 412 | 16 | Apache-2.0 | 2020-10-27T08:54:11 | 2018-02-20T22:24:52 | C++ | UTF-8 | C++ | false | false | 966 | cpp | test_errors.cpp | // Copyright (c)2021 Fundament Software
// For conditions of distribution and use, see copyright notice in innative.h
#include "test.h"
void TestHarness::test_errors()
{
for(int i = ERR_PARSE_UNEXPECTED_EOF; i <= ERR_INSUFFICIENT_BUFFER; ++i)
TEST((*_exports.GetErrorString)(i) != nullptr);
for(int i = ERR_FA... |
8befb637f8fde78f0f106872f77b63d88625fd37 | d13e8cf45b94dca462ead1f088dc538ca3b907f3 | /Remote_Operated/RC_Control/include/BlackUART.cpp | 1ec8e6191d60a80da28f49663567afeaf8f1461f | [] | no_license | williamg42/AGV-IV | 2f22e87ad259dca0495b1e79b3a12cf24d092741 | 9f080e8219bb949ab3e74672389bbe76ade22cf4 | refs/heads/master | 2021-01-17T13:07:33.433371 | 2017-03-25T18:51:07 | 2017-03-25T18:51:07 | 30,118,558 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,134 | cpp | BlackUART.cpp | /*
####################################################################################
# BlackLib Library controls Beaglebone Black's inputs and outputs. #
# Copyright (C) 2013-2014 by Yigit YUCE #
#########################################################... |
84b1dbe9d291284636e27a956d95f4a17c9f57bf | a129e0634744a348b657ce83eec025bcbdddecee | /third_party/vcglib/vcg/space/intersection2.h | 30b0353d853104fc4573c38626d6bf2c281f898c | [
"BSD-3-Clause"
] | permissive | vrsys/lamure | dce3edc41041d5b9f8cf978931e8958ec09db3c4 | 48fd3b8da09089a429a883a5251501075bf8aaee | refs/heads/master | 2021-06-20T03:27:48.701265 | 2021-02-08T13:29:02 | 2021-02-08T13:29:02 | 46,350,191 | 7 | 17 | BSD-3-Clause | 2019-10-09T08:02:39 | 2015-11-17T13:52:53 | C++ | UTF-8 | C++ | false | false | 12,078 | h | intersection2.h | /****************************************************************************
* VCGLib o o *
* Visual and Computer Graphics Library o o *
* _ O _ *
* Copyri... |
4e26e1a55dd3f5635c15a7bc4ad0b68cb4a4eb78 | 5aa80aab7a75d76b0aa838bf8f74a276a12c876e | /src/db/db_graph_vertex.h | dc02f1da7b7af5a6795472b0cf866377a87bedbe | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | tungstenfabric/tf-controller | 83b6d58afadb5697b540b5345711a5b2af90d201 | f825fde287f4eb2089aba2225ca73eeab3888040 | refs/heads/master | 2023-08-28T02:56:27.329584 | 2023-08-20T12:15:38 | 2023-08-20T12:31:34 | 231,070,970 | 55 | 29 | Apache-2.0 | 2023-07-23T01:38:17 | 2019-12-31T10:24:38 | C++ | UTF-8 | C++ | false | false | 3,346 | h | db_graph_vertex.h | /*
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
*/
#ifndef ctrlplane_db_graph_entry_h
#define ctrlplane_db_graph_entry_h
#include "db/db_entry.h"
#include "db/db_graph_base.h"
class DBGraph;
class DBGraphEdge;
class DBGraphVertex;
namespace boost {
template <>
struct is_POD<DBGraphEdge> : publ... |
eef9575a1c9597924da97aa3405d007fc8d8b53d | 1cc4727469951710751e9c46d4e578cacc0ec141 | /jp2_pc/Source/Lib/Renderer/Sky.hpp | cf0d0613872acd16859b8efa89d6b9bc0a44e435 | [] | no_license | FabulaM24/JurassicParkTrespasserAIrip | 60036b6a0196f33b42bdc7f6e4c984ef39a813f4 | 081c826b723a5fef2b318009fdaf13a27af908a5 | refs/heads/master | 2023-07-15T20:49:47.505140 | 2020-05-13T12:57:52 | 2020-05-13T12:57:52 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 12,901 | hpp | Sky.hpp | /***********************************************************************************************
*
* Copyright © DreamWorks Interactive. 1997
*
* Contents:
* Sky renderer CSkyRender
* Class pointer to the global sky.
*
* Bugs:
*
* To do:
*
******************************************************************... |
fcd80d44cf199e70faebdffbf4eefba4c53b502b | 37ae3ed432431ed5450a3f16400f7d15406af7ad | /ScheduleMultipartiteGraph/someTestData/planettablemodel.h | a5248cd188e75cd077fdc5648ee39f42880e38a1 | [] | no_license | valeriefuerte/ScheduleMultipartiteGraph | 9ac6a501cd7d44b613851ffe37a6223c6912256e | 6cb5a131ed71f465bf0f78905d8b0589ad52a2c2 | refs/heads/master | 2021-01-05T17:40:26.863925 | 2020-06-04T09:12:07 | 2020-06-04T09:12:07 | 241,092,173 | 1 | 3 | null | 2020-06-04T09:12:09 | 2020-02-17T11:34:18 | C++ | UTF-8 | C++ | false | false | 772 | h | planettablemodel.h | #ifndef PLANETTABLEMODEL_H
#define PLANETTABLEMODEL_H
#include <QAbstractTableModel>
#include "planet.h"
#include <QColor>
class PlanetTableModel : public QAbstractTableModel
{
public:
PlanetTableModel(QObject* parent = 0);
PlanetTableModel(const QList<Planet>& planetList,
QObject *p... |
960765f6c0e272b7aab524e718234bbd029fb93b | 71bbcda157cc485c14f33fa73c6a851ea12ed509 | /1-8-13z.cpp | 2682e17d2acb74df573a502a1f20e236b94759d8 | [
"Apache-2.0"
] | permissive | Kaermor/stepik-course363-cpp | 3196b7ed5b491a705849dfe7c9b6bb9e56fc7f72 | 7df3381ee5460565754745b6d48ed3f1324e73ef | refs/heads/master | 2020-07-26T17:30:05.182616 | 2020-02-12T13:49:13 | 2020-02-12T13:49:13 | 208,719,062 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 641 | cpp | 1-8-13z.cpp | //
// Created by grey on 27.10.2019.
//
#include <iostream>
#include <iomanip>
using namespace std;
void foo_1_8_13z() {
int n, m, a[100][100], k=1, x1=0, y1=0, j, i;
cin >> n >> m;
while (k <= n*m) {
j = x1;
i = y1;
while (j >= 0 && i < n) {
a[i][j] = k;
i... |
a5502066822665f666ed17f8bcc2cf6c3a4ff64c | 2485005ebb1b9ac79a3f9195b6bfeb7817ae7a9c | /include/braincloud/internal/DefaultRelayTCPSocket.h | f21d90a10b4c494263e9fd462544c77a5e9fc778 | [
"LicenseRef-scancode-public-domain",
"Apache-2.0"
] | permissive | getbraincloud/braincloud-cpp | c2ca31e9971b1103178eedc55cd40ea98a03bbb1 | 03c2446cd512529a35fdf4d041da0ec84c785b4a | refs/heads/master | 2023-09-01T15:47:48.536831 | 2023-08-03T19:40:31 | 2023-08-03T19:40:31 | 51,466,360 | 4 | 19 | Apache-2.0 | 2023-09-14T20:39:40 | 2016-02-10T19:33:02 | C++ | UTF-8 | C++ | false | false | 1,677 | h | DefaultRelayTCPSocket.h | #ifndef _DEFAULTRELAYTCPSOCKER_H_
#define _DEFAULTRELAYTCPSOCKER_H_
#include "braincloud/internal/IRelayTCPSocket.h"
#include <thread>
#include <atomic>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/select.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <netdb.h>
#include <unistd.h>
#inc... |
0151327fb2a119abb6549d84edff78c45185a534 | b565b75160e8b99cabb268412d0311e562a3ff25 | /OrionUO/Managers/ConnectionManager.cpp | 01dab770d8c1813f00068f90924cf085c8743837 | [
"MIT"
] | permissive | Siebenwind/Siebenwind-Beta-Client | 64afeea76493f45e106e9c4f8631cfa4034c5f23 | ac3058c9c6b68e24b2707d568e1b86ff4c6f8a71 | refs/heads/master | 2022-04-06T13:03:18.024038 | 2022-04-05T21:37:53 | 2022-04-05T21:37:53 | 477,783,130 | 1 | 4 | MIT | 2022-04-05T21:37:54 | 2022-04-04T16:27:15 | C++ | UTF-8 | C++ | false | false | 7,622 | cpp | ConnectionManager.cpp | // MIT License
// Copyright (C) August 2016 Hotride
#include "ConnectionManager.h"
#include "PacketManager.h"
#include <SDL_stdinc.h>
#include "../Config.h"
#include "../OrionUO.h"
#include "../Profiler.h"
#include "../ScreenStages/ConnectionScreen.h"
#include "../ScreenStages/GameBlockedScreen.h"
#include "../Crypt/... |
9eb444684c1ceb18942bb3f3bb2a169383e1a5e7 | e0366e6e4ed0efc707eafac0884c1c55de040b25 | /20101229/Q2/main.cpp | 47c903fa5bff45d6789fb44e7334061c1a041aa0 | [] | no_license | Vdragon/NTOU_C_programming_lab | baa3f775022966fa2b66c970c14066fb6f5db223 | 5c268e857818f716a967f98b7fb342102a31249b | refs/heads/master | 2016-09-06T03:28:10.300639 | 2012-06-12T17:39:54 | 2012-06-12T17:39:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,706 | cpp | main.cpp | #include <stdio.h>
/*#include <conio.h>*/
#include <stdlib.h>
int main()
{
restart:
//declare int for input
unsigned short int inputNum;
//prompt
scanf("%hud", &inputNum);
//xValue array&y
short int xValue[20] = {0};
short int... |
31fd4e5f2b0e5a05e8b0732dcb404f1d251147f3 | 138b2ddf41a09aa681a9d42f2204950d16f176bf | /dumb_graphics_component.cpp | 722df52d367074574a7be73b77d9ee6de5ac90a8 | [] | no_license | calebpalmer/balloon | cc70fc0fd89cfe59acf0f0dac30f88708a3e2eba | e4859a30787664502d8add8c62656df43341fc5c | refs/heads/master | 2021-01-12T17:23:04.679021 | 2017-04-16T00:04:26 | 2017-04-16T00:04:26 | 71,556,229 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 967 | cpp | dumb_graphics_component.cpp | #include "dumb_graphics_component.h"
using namespace CapEngine;
DumbGraphicsComponent::DumbGraphicsComponent(Uint32 windowID, int width, int height, Colour colour) :
m_windowID(windowID), m_width(width), m_height(height), m_colour(colour), m_pTexture(nullptr) {}
DumbGraphicsComponent::~DumbGraphicsComponent(){
i... |
2d7feac8f6ddc4d569373844acd1345529f6be21 | 9a7c801ba44f7597056ae676fd10a57e3bb75ec6 | /Transform.hpp | debb350ad491e1a35c989e00fa5cd6298ceca468 | [] | no_license | krinnewitz/Transform | e670bdab66472f3477fe3c585e1966c6c0b4d17e | 6e86efde26b056ae078d4b48911fa0b1453c2517 | refs/heads/master | 2016-09-10T20:51:50.253881 | 2012-08-07T11:43:31 | 2012-08-07T11:43:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,394 | hpp | Transform.hpp | /* Copyright (C) 2011 Uni Osnabrück
* This file is part of the LAS VEGAS Reconstruction Toolkit,
*
* LAS VEGAS 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 2 of the License, or
* (at yo... |
9eb34c59245fb6b31501e730208a72249bdeee20 | fb2f9f38a1828c4c9a6820e945ccd2aaa9a29aac | /metadatatable.cpp | 40683d459d4d0b7f410aede9fdb62ffe48c6df94 | [] | no_license | CastellarFrank/BASE_DATOS | 9b5cb1765a227c4fde7bcc5156bd9059b5b96399 | 6f40254fb56d715414ec8c93592082f84f0749f4 | refs/heads/master | 2020-05-17T06:02:45.420039 | 2012-09-24T20:19:08 | 2012-09-24T20:19:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 572 | cpp | metadatatable.cpp | #include "metadatatable.h"
MetaDataTable::MetaDataTable()
{
this->primaryKey=-1;
this->cant_camp=0;
this->free='f';
this->pointerToFields=-1;
this->nextDataFree=-1;
this->register_size=0;
this->register_cant=0;
this->treeStart=-1;
memset(this->nombre,0,24);
memset(this->descrip,... |
a9eade6617c7f52b2d65bf323e9aaa532dbcdf38 | 8c7b3993091dac96a017328ad69e04746d07c91d | /main.cpp | 1fec64aa0a9742619881f8e40dd8791ecf13dccd | [] | no_license | SundongCandy/ParticleSystem | e0cfc9485a39c151b3ec79e885ecbe1746aae30d | e0f0a079db44cbc6f1c1f4c40c8c54d803ea28f1 | refs/heads/master | 2021-01-19T19:57:02.990651 | 2017-04-20T15:22:42 | 2017-04-20T15:22:42 | 88,467,843 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,329 | cpp | main.cpp | #include <iostream>
// GLEW
#define GLEW_STATIC
#include <GL/glew.h>
// GLFW
#include <GLFW/glfw3.h>
// Other Libs
#include <SOIL/SOIL.h>
// Other includes
#include "Shader.h"
#include "psparticle2f.h"
#include "psparticleemitter2f.h"
// Function prototypes
void key_callback(GLFWwindow* windo... |
34203c65c43a552cb488c480892becb43ed1567d | bb79366c36a43ed2526dbaf9925175b98cdfe1a8 | /Source/InceptionEngine/ECS/Components/AnimationComponent/AnimStateMachine.h | 0c82a35b94f383a6db1471211921389d0bba5411 | [] | no_license | vincore/InceptionEngine | caa01a406a6df0794013663db58f276fa7598045 | cc1e5b13c9b195c8a48064ace067bafa951376d6 | refs/heads/master | 2023-07-12T12:15:22.435629 | 2021-08-07T06:46:20 | 2021-08-07T06:46:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,944 | h | AnimStateMachine.h | #pragma once
#include "EngineGlobals/EngineApiPrefix.h"
#include "ECS/Entity/EntityID.h"
#include "RunTime/Animation/AnimBlender.h"
namespace inceptionengine
{
class AnimInstance;
class Entity;
class World;
class IE_API AnimStateMachine
{
public:
AnimStateMachine(EntityID entityID, std::reference_wrapper<Wor... |
b246c4fc40327ce0e904f59725848c9b4cfccf0b | 3ea34c23f90326359c3c64281680a7ee237ff0f2 | /Data/860/E | 665a231ffbcf76f9d3548927fbf3815f3bd7ea27 | [] | no_license | lcnbr/EM | c6b90c02ba08422809e94882917c87ae81b501a2 | aec19cb6e07e6659786e92db0ccbe4f3d0b6c317 | refs/heads/master | 2023-04-28T20:25:40.955518 | 2020-02-16T23:14:07 | 2020-02-16T23:14:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 80,829 | E | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
... | |
bbc1e7e4dda4c5c049422d6de44dc724ba7d1328 | b4f42eed62aa7ef0e28f04c1f455f030115ec58e | /messagingfw/msgtestproduct/email/smtp/src/T_SmtpServer.cpp | a1a2ee1a1588bcd11a74c03c84e146f05814472f | [] | no_license | SymbianSource/oss.FCL.sf.mw.messagingmw | 6addffd79d854f7a670cbb5d89341b0aa6e8c849 | 7af85768c2d2bc370cbb3b95e01103f7b7577455 | refs/heads/master | 2021-01-17T16:45:41.697969 | 2010-11-03T17:11:46 | 2010-11-03T17:11:46 | 71,851,820 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,443 | cpp | T_SmtpServer.cpp | // Copyright (c) 2006-2009 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/e... |
b59b696bbb22cd698fc855cfbc80348710853052 | 42827e6606e4f3eec4addc6b6acea1d38bbd5c39 | /TAP/bootsexchange.cpp | 7e60d5f7af5b7da83854d2f1a39e6257989cf67b | [] | no_license | axelzito/C-codes | 5c490061870b51f1211d085c66b3faa5e2a9f591 | cc7029f38c9735a7616a8f1e9977cdae1446180b | refs/heads/master | 2020-03-17T15:53:58.241441 | 2018-05-16T22:09:30 | 2018-05-16T22:09:30 | 133,725,710 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 640 | cpp | bootsexchange.cpp | #include <iostream>
#include <string>
using namespace std;
int main(){
ios::sync_with_stdio(false);
int testes;
cin>>testes;
for(int k=0; k<testes; k++){
int dir[1001], esq[1001];
int num, num2, status=0, sum=0;
cin>>num;
for(int i=0; i<num; i++){
cin>>dir[i];
}
cin>>num2;
... |
d347c883422a4e6da70ac5d80ccacd9cc1a23fda | b1c4be5357d95a8bef78dab271189a4161ffbd2c | /Regionals/Jakarta 2013/Horrible Quiz.cpp | 1a477625e13f2eacbc56529916f595a96ffa8427 | [] | no_license | Shaker2001/Algorithms-Library | faa0434ce01ad55d4b335c109f4f85736a6869ed | 1aa09469ca434f6138547592ce49060d4400e349 | refs/heads/master | 2023-03-16T04:41:27.367439 | 2017-11-13T00:41:55 | 2017-11-13T00:41:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,570 | cpp | Horrible Quiz.cpp | #include<stdio.h>
#include<string.h>
#include<algorithm>
#include<vector>
#include<math.h>
using namespace std;
long long dp[1300][1300];
vector<int> cor, wor;
int main(){
int t;
scanf("%d", &t);
int N, M, cn = 1;
int d;
while(t--){
memset(dp,0,sizeof dp);
cor.clear();
wor... |
f4903df4fcdf78f05a7d0e0d6b11facda75f5d3c | 202b96b76fc7e3270b7a4eec77d6e1fd7d080b12 | /platforms/windows/module.strings | 64937d36536c7a94ad924567f4716835423d23cc | [] | 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 | 5,831 | strings | module.strings | #ifdef MSWIN // -*- Mode: c++; tab-width: 4; c-basic-offset: 4 -*-
// Don't forget the platform ifdef: other platforms may have windows checked out for reference ...
/* Strings referenced in the windows platform module.
*
* Comment lines in either form valid for C++ are ignored. Preprocessor
* directives are allowe... |
4d6c6cb7bfaceef83fa67bea0cebdd721ea17844 | 793c8848753f530aab28076a4077deac815af5ac | /src/dskphone/ui/t48/settingui/src/cdlgdsskey.cpp | 922a77f55762694c012f05d59e560c4d08f1fbbc | [] | no_license | Parantido/sipphone | 4c1b9b18a7a6e478514fe0aadb79335e734bc016 | f402efb088bb42900867608cc9ccf15d9b946d7d | refs/heads/master | 2021-09-10T20:12:36.553640 | 2018-03-30T12:44:13 | 2018-03-30T12:44:13 | 263,628,242 | 1 | 0 | null | 2020-05-13T12:49:19 | 2020-05-13T12:49:18 | null | UTF-8 | C++ | false | false | 23,560 | cpp | cdlgdsskey.cpp | #include "model.h"
#include "cdlgdsskey.h"
#include "uikernel/languagehelper.h"
//#include "setting/dsskeycontroller.h"
#include "inputmethod/inputmethod.h"
#include "baseui/fontcolor.h"
#include <configiddefine.h>
#include "configparser/modconfigparser.h"
#include "account/include/accountmanager.h"
#include "setting... |
76c2d4d119ffa15870048dc6baba3cd537c87601 | 8a5a1de566782654ba7b7a7019adcf4ecd4c98f9 | /source/player.h | 216e95ff854f2fb2e491813a0c47bec6836d0ce1 | [] | no_license | jlalexander4141/RobinHood_2D | 811af024d9d14c4e784d49e51f8424daddc4e318 | 091dc3d215e6859a9fdf2c45693222ad18882722 | refs/heads/master | 2021-01-20T18:54:31.844459 | 2016-08-16T22:03:23 | 2016-08-16T22:03:23 | 63,387,052 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 933 | h | player.h | //Joshua Alexander
#ifndef _player_h
#define _player_h
#include "game.h"
class player
{
public:
//variables
SDL_Texture *texture1;
SDL_Texture *texture2;
SDL_Texture *bulletTexture1;
SDL_Texture *bulletTexture2;
const int PLAYER_VEL = 5;
int pVelX;
int pVelY;
SDL_Rect pos;
SDL_Rect bulletPos;
bool bulletA... |
f4c1fdb6661d65f14856c6133e8eaf5b0a509034 | 76fe0a0404ca1d71779fc6c1122b87e0d7a7aa1b | /codeforces/rounds/Educational 60/c.cpp | fa4b41c3c6fb7960f57e7cfd830df5ae36384dc6 | [] | no_license | vitorguidi/Competitive-Programming | 905dd835671275284418c5885a4a1fae2160f451 | 823a9299dce7b7f662ea741f31b4687f854bb963 | refs/heads/master | 2021-06-25T06:58:53.670233 | 2020-12-19T16:53:15 | 2020-12-19T16:53:15 | 133,260,248 | 3 | 0 | null | 2018-05-13T17:46:43 | 2018-05-13T17:40:24 | null | UTF-8 | C++ | false | false | 1,560 | cpp | c.cpp | #include "bits/stdc++.h"
using namespace std;
#define pb push_back
#define mp make_pair
#define fst first
#define snd second
#define fr(i,n) for(int i=0;i<n;i++)
#define frr(i,n) for(int i=1;i<=n;i++)
#define ms(x,i) memset(x,i,sizeof(x))
#define dbg(x) cout << #x << " = " << x << endl
#define all(x) x.begin(),x.en... |
60526499404ee55158f77f5cab9bb59fc614281f | cbd9ddc22aeecc90d7ab4008e3c30744ff9d4486 | /Source/Project_Countess/Public/Characters/GameplayAbilities/Calculations/Countess_GE_BloodLust_Cost_Exec.h | 855a826652e32d34ef9ad06c76b88a4d80cfb8b2 | [] | no_license | nik3122/Project_Countess | 1437db9c386f144f81fd1a76e74bd4e2444c71e6 | 6c959782c7dfe31467ca99010cc3ed18670ed0e7 | refs/heads/master | 2022-12-25T17:49:52.479003 | 2020-10-12T19:21:42 | 2020-10-12T19:21:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 623 | h | Countess_GE_BloodLust_Cost_Exec.h | // Free to play. By SoNa Games.
#pragma once
#include "Globals/Project_Countess.h"
#include "GameplayEffectExecutionCalculation.h"
#include "Countess_GE_BloodLust_Cost_Exec.generated.h"
/**
*
*/
UCLASS()
class PROJECT_COUNTESS_API UCountess_GE_BloodLust_Cost_Exec : public UGameplayEffectExecutionCalculation
{
GE... |
95c30bcbec588239a5fbd4ac564b8e158ad9fceb | 1e29330fbf4d53cf5dfac6f0290f660647109da7 | /yss/gui/Segment.cpp | 525913e905ed99602f5b71103e15a439a094793b | [] | no_license | bluelife85/yss | 2c9807bba61723a6fa578f80edadd9e8d6f9d1a9 | 1ada1bcc8579bf17e53d6f31525960703ef2f6b9 | refs/heads/master | 2023-01-16T02:12:26.099052 | 2020-11-26T01:18:43 | 2020-11-26T01:18:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,141 | cpp | Segment.cpp | ////////////////////////////////////////////////////////////////////////////////////////
//
// 저작권 표기 License_ver_2.0
// 본 소스코드의 소유권은 yss Embedded Operating System 네이버 카페 관리자와 운영진에게 있습니다.
// 운영진이 임의로 코드의 권한을 타인에게 양도할 수 없습니다.
// 본 소스코드는 아래 사항에 동의할 경우에 사용 가능합니다.
// 아래 사항에 대해 동의하지 않거나 이해하지 못했을 경우 사용을 금합니다.
// 본 소스코드를 사용하였... |
1a0e67f16777ca7c9de2dec70a7feab41fbf6952 | 7dcc00aeab6ce52256eb37e7a6da6c986e7015c3 | /yl_algorithm_code/C,C++/校ACM/小组集训/第二次/14-矩阵乘法.cpp | 0412763d10d62b23afc7492bcb2d76bdff0ed0b3 | [] | no_license | ztony123/codeHouse | ea2e6efb4460d1296e24dbf670e0a783ec99655a | f767149cbc558fae14f8cfde5778f57a122984e2 | refs/heads/master | 2023-01-22T14:12:52.483079 | 2020-12-01T11:09:37 | 2020-12-01T11:09:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 481 | cpp | 14-矩阵乘法.cpp | #include <iostream>
using namespace std;
int main() {
int m,s,n;
int a[205][205];
int b[205][205];
cin >> m >> s >> n;
for(int i=0; i<m; i++) {
for(int j=0; j<s; j++) {
cin >> a[i][j];
}
}
for(int i=0; i<s; i++) {
for(int j=0; j<n; j++) {
cin >> b[i][j];
}
}
for(int i=0; i<m; i++) {
for(i... |
2823a92f7183db3ba0e973c5588527f82741fc94 | 38b9daafe39f937b39eefc30501939fd47f7e668 | /tutorials/2WayCouplingOceanWave3D/basicTutorialwtProbesResultsWtPhiCoupled/15.4/alpha.water | b51d55a80e02a9d1a6179a1e317294e545cb7226 | [] | no_license | rubynuaa/2-way-coupling | 3a292840d9f56255f38c5e31c6b30fcb52d9e1cf | a820b57dd2cac1170b937f8411bc861392d8fbaa | refs/heads/master | 2020-04-08T18:49:53.047796 | 2018-08-29T14:22:18 | 2018-08-29T14:22:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 142,375 | water | alpha.water | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.1 |
... |
dba15b6657127f0f7b3388b0fd46670642bd3cc8 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5658282861527040_0/C++/gconeice/B.cpp | 09509dce9ad1141db6c7911305d0da0dd6e5ef0f | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 407 | cpp | B.cpp | #include <cstdio>
#include <cstdlib>
#include <algorithm>
using namespace std;
int T;
int a,b,k;
int main()
{
freopen("B.in","r",stdin);
freopen("B.out","w",stdout);
scanf("%d",&T);
for (int ii=1;ii<=T;ii++)
{
scanf("%d%d%d",&a,&b,&k);
int ans=0;
for (int i=0;i<a;i++)
for (int j=0;j<b;... |
3441e0e625a1861b26b999c14e0b72d34ebe0468 | 1e58f86db88d590ce63110c885c52305d67f8136 | /DataModel/modelmultipanelmodel.cpp | 2b44b35e2231241aa8d6efa703aa0da6eb71b336 | [] | no_license | urielyan/F270 | 32a9b87780b6b0bbbd8e072ca4305cd38dc975c1 | c3d1eceead895ded12166eeb6748df111f46ef2d | refs/heads/master | 2021-01-10T02:06:40.335370 | 2016-03-02T03:23:02 | 2016-03-02T03:23:02 | 52,927,128 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,442 | cpp | modelmultipanelmodel.cpp | #include "modelmultipanelmodel.h"
#include "GlobalData/cfgGlobalDef.h"
#include <QDebug>
ModelMultiPanelModel::ModelMultiPanelModel(QObject *parent) :
QObject(parent),Settings("DH","F270", this)
{
//Settings.beginGroup("MultiPanel");
}
/**
* 功能:
* 获取多画面布局风格
* 参数:
* 1、int fmIndex 当前帧编号
*... |
1588a276183224bdc7d103cf14bc4d5b8b70994c | 8a456651e907c8aa4f6dc4b8138bed09decd25e6 | /swc/CHeaderCtrl.h | 4e59746aba0136a5c0841211a8fe2052aac00780 | [] | no_license | weimingtom/swc | 777475cedc68d813e7b21cb0e7ad21d8a51a4d3e | 7605ed9ca825d2a64d4b41c4dbe8aba23a2d4b10 | refs/heads/master | 2021-01-10T01:36:44.053090 | 2017-02-28T19:00:41 | 2017-02-28T19:00:41 | 49,672,960 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,145 | h | CHeaderCtrl.h | #pragma once
#include "stdafx.h"
#include "ComControlEX.h"
#include "CImageCtrl.h"
class CHeaderCtrl : public ComControlEX
{
public:
CHeaderCtrl(HWND hWnd=NULL){m_hWnd=hWnd;}
BOOL Create(HWND hWndParent,DWORD dwStyle=0,
UINT uID=0)
{
BOOL bRes = CreateEx(0L, WC_HEADER, NULL,
dwStyle,CRect(0L, 0L, 0... |
ec8759a41ca1d8c47f77eff5a5932e870200b688 | d3afed913f92ca939057be02e09fbc63433c6762 | /Robots/BabyAlarm/BabyAlarm.ino | 3c8340c90b151df16f3ea3deae044ef9721372a1 | [] | no_license | mnemonia/robotix | 5981ee62c3e727a3ece0aaa00fca91ad3dbbb495 | 8d9d745872f3509baf9e764d1e8be1b5e63732a4 | refs/heads/master | 2021-01-23T16:36:31.182773 | 2017-08-07T19:29:37 | 2017-08-07T19:29:37 | 3,083,936 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,800 | ino | BabyAlarm.ino | extern "C"{
#include "sTheUnit.h"
}
unsigned long time;
long sA;
long signalA;
long averageReadingA;
const int numberOfSamples =128;
const int middleValue = 340;
const int MAX_NOISE = 2000;
const int WAIT_TIME_IN_MILLIES = 15 * 1000; // 15 sec
int lastTimeSnapshotInMillies = 0;
int currentTimeInMillies;
void setup(){... |
0342b87491d5ac1b3c33642c1db6af533c63cbd4 | 45b64e8644ad7b12ab8ba79e2cf4679c23b43e18 | /common/Secp256k1/Random.cpp | 1c15d203e65baccc5fbfed38d89590ed9833b656 | [
"MIT"
] | permissive | ZmnSCPxj/cldcb | 87cc4e7f9d6325fb9d9843331ab8208ab2d32c3b | 4375d95cacee2a51fe5c4c1accc9fc616474bd41 | refs/heads/master | 2021-04-20T19:25:23.581684 | 2020-08-24T11:49:39 | 2020-08-24T11:49:39 | 249,712,650 | 13 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 479 | cpp | Random.cpp | #include<sodium/randombytes.h>
#include"Secp256k1/Random.hpp"
#include"Util/make_unique.hpp"
namespace Secp256k1 {
class Random::Impl {
private:
unsigned int num;
std::uint8_t buffer[64];
public:
Impl() : num(64) { }
std::uint8_t get() {
if (num >= 64) {
randombytes_buf(buffer, 64);
num = 0;
}
return... |
dab1ff16e5b9b1805ec3ab884592f6284ea206fc | 3c1982046d22f882fce3ed7c5d6402c9565846cd | /main.cpp | dc73e0584518899e7ba440a277b41c7c3c7b4c94 | [] | no_license | rsapien/CS415Proj2 | a1c1b842db0882001b72743e66c91a03dfa2c0f7 | 5bc648a4d5649e168efd12fb769cb9fa5885b6df | refs/heads/master | 2021-04-03T21:53:06.817147 | 2020-03-30T02:48:26 | 2020-03-30T02:48:26 | 248,399,725 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 666 | cpp | main.cpp | //
// Created by Robert Sapien on 3/18/20.
//
#include "ADJList.hpp"
#include <string>
#include <iostream>
using namespace std;
int main() {
// Getting data file
string fName;
cout << "Enter a file to read in the data: "; cin >> fName; cout << endl;
ifstream inFile;
inFile.open(fName);
if(!i... |
3fe82a140b920950c65f145961eabed8d8e0e3f1 | 74548248cdf4aa7ab9213b9b801ee2dde669a9ad | /part-4/final vs/r.cpp | cd8f377e7932aac43b409739622f25b454c02a39 | [] | no_license | f2rkan/intro-to-Programming-w-c-plus-plus | e92e9da15d70b10030ba1ff73c2884df8b25e8d6 | 263637d797e385290daf2f6806a82149f5e87c1e | refs/heads/main | 2023-06-14T16:57:10.772542 | 2021-07-03T11:11:56 | 2021-07-03T11:11:56 | 382,592,830 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 330 | cpp | r.cpp | #include<iostream>
using namespace std;
int Fonk(int * a, int b)
{
int toplam;
*a = *a * *a;
b = b * b;
toplam = *a + b;
return toplam;
}
int main(void)
{
int x = 30;
int y = 20;
int *p = &x;
*p = Fonk(p, y);
cout << x << " " << y << " " << *p;
re... |
749fa5c791384c0207b2c8cba01573f38ce65609 | c1bac0a5ce2b53c5058a70438d7d1d54af965c45 | /TP3_HALBG_GOMESF/src/Darray.cpp | f9fadb7c701bd215def8bdcd87d78e6db5eb6588 | [] | no_license | GuillaumeHalb/CPP | 4b1dabbce60df73b675a88d9f204c01d0c2e7204 | 308c9b18ccd8ab0941d56f8c7671593730de746e | refs/heads/master | 2021-01-10T17:40:22.027371 | 2016-03-28T21:09:50 | 2016-03-28T21:09:50 | 51,507,739 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,873 | cpp | Darray.cpp | /*!
* \file Darray.cpp
* \brief vecteur de dimension n ainsi que ses n coordoonnées
* \author Halb Guillaume, Gomes Filipe
*/
#include <iostream>
#include "Darray.h"
#include <cstdlib> // bibliothèque pour rand()
#include <fstream>
#include <string>
#include <stdexcept>
#include <memory.h>
using namespace std;
u... |
4c9288bdc02b168c2787d79fbfb5eea81e713f4e | 062f9aab20421f4b0ad21daaaf653e753fe4643e | /src/Factory/src/Designer/Designer.hpp | a1ee37722f656139af6eaafae8bda9de215d8f36 | [] | no_license | UsingCoding/ood | 5b12be32af55f3b58c8ed0b02b3914db9d7cf6ef | c1703bf7e97f82413975a9ae5ea36ed17e272a89 | refs/heads/master | 2023-02-19T12:40:28.171444 | 2021-01-20T08:17:22 | 2021-01-20T08:17:22 | 293,778,942 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 352 | hpp | Designer.hpp | #pragma once
#include "IDesigner.hpp"
#include "../Factory/IShapeFactory.hpp"
class Designer : public IDesigner
{
public:
Designer(IShapeFactory &factory) : m_factory(factory) {}
std::unique_ptr<PictureDraft> CreateDraft(std::istream &input) override;
private:
IShapeFactory & m_factory;
static cons... |
08aeefbecdaae198fc057da27209d8f8431638b9 | d537cd2fa2e5f77a645f881e01108ea1c9d89e19 | /GroundEnemy.cpp | 822c72c86dad747554c5b303c21146abecbe1202 | [] | no_license | MarcBerneman/Tower-Defense | 10b73a93d22464ee451e97264933078e97f2bdd1 | a8725117a533ecf6ea3c9496e1c4c73323120707 | refs/heads/master | 2020-03-17T23:41:17.121568 | 2018-06-01T01:19:58 | 2018-06-01T01:19:58 | 134,055,606 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 322 | cpp | GroundEnemy.cpp | #include "GroundEnemy.h"
const QString image(":images/ground_enemy.png");
const double enemy_speed = 1.2;
const int health = 500;
const int cash_val = 100;
GroundEnemy::GroundEnemy(QList<Enemy*> * group, QVector<QPointF> path) : Enemy(image,path,enemy_speed,health)
{
setCash_value(cash_val);
setGroup(group);
... |
088d64f6ecb35ee111a9274af143490f906baeab | 66baf81540b7d013d564fdf8959b63198cd6e902 | /src/Win32Utils.cpp | 315782a48d8415b04588715349831ce00382dabd | [
"MIT"
] | permissive | acglobalmarketing/ShellAnything | 3a469af6052e33b375294ae0937ccc3c4ec3f8af | 366ab31679b1e12fcf37c0766411a717b10be707 | refs/heads/master | 2023-02-07T11:23:01.773189 | 2021-01-04T13:15:29 | 2021-01-04T13:15:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,365 | cpp | Win32Utils.cpp | //#define WIN32_LEAN_AND_MEAN 1
#include "Win32Utils.h"
#undef GetEnvironmentVariable
#undef DeleteFile
#undef CreateDirectory
#undef CopyFile
#undef CreateFile
#include "rapidassist/unicode.h"
#include <string>
#include <assert.h>
namespace Win32Utils
{
static const size_t BITS_PER_PIXEL = 32;
static const size... |
47953277293ff6e4d0a1a500c2142313381b9b31 | b9ca32281ca616fa5908c661e85f23abc9a8e350 | /Nodo.h | 6892d2ddf827f7678078bd1f37dfec3959518602 | [] | no_license | tiaomatos/Projeto-C- | 6803333c6a7368e448ae30c1dc6d46868ac6b367 | f05e3d194c402d1068c8dc1e843fc6e5e8e50770 | refs/heads/master | 2020-09-21T06:25:13.982314 | 2019-11-28T18:26:59 | 2019-11-28T18:26:59 | 224,708,884 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 316 | h | Nodo.h | #ifndef NODO_H_INCLUDED
#define NODO_H_INCLUDED
#include <iostream>
using namespace std;
class Nodo {
float valor;
int refri;
Nodo* next;
public:
Nodo(int refri, float valor, Nodo* nxt);
~Nodo();
Nodo* getNext();
void setNext(Nodo* nxt);
int getRefri();
float getValrefri();
};
#endif
|
579cf1e375f786dc1fa1974c801a3b80e4f6ceee | 297c0f25c360b6c72d011311074cebc22feda14f | /BattleTank/Source/BattleTank/Public/TankAimingComponent.h | d91321a2b8de3b157075037bfb081db6c505f0ae | [] | no_license | Tuomir/B_T | 67deec63176cd77bc1ae3a5c72ade2b38cdfee2b | 56f0c274e0cca00ad8a028ded6977262e053e617 | refs/heads/master | 2021-04-28T14:45:38.265809 | 2018-10-03T17:30:27 | 2018-10-03T17:30:27 | 121,972,466 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,722 | h | TankAimingComponent.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Components/ActorComponent.h"
#include "TankAimingComponent.generated.h"
// Enum for aiming state
UENUM()
enum class EFiringStatus : uint8
{
Reloading,
Aiming,
Locked,
OutOfAmmo
};
clas... |
d16444f5de9e5a951bc24712cc00e071cf994319 | b77dd6dcb1f84fc249e0050013e6d74f2b3f039d | /src/scanio/scan_io_uos.cc | 554ee087b6bba7834c6f927149d221cdc9f8c584 | [] | no_license | 3DTK/3DTK | fad4333832d5ee3c4fa43a0e3c2ab719bd7ec278 | bfc46d1b30b35a955ebde78c229ac40ee10e296c | refs/heads/master | 2023-08-10T01:58:20.472841 | 2023-07-28T11:54:42 | 2023-07-28T11:54:42 | 120,477,018 | 64 | 28 | null | null | null | null | UTF-8 | C++ | false | false | 1,480 | cc | scan_io_uos.cc | /*
* scan_io_uos implementation
*
* Copyright (C) Thomas Escher, Kai Lingemann, Andreas Nuechter
*
* Released under the GPL version 3.
*
*/
/**
* @file
* @brief Implementation of reading 3D scans
* @author Kai Lingemann. Institute of Computer Science, University of Osnabrueck, Germany.
* @author Andreas Nu... |
1c1e2c1fffe9effd7356a3a3ee8dcf3a75d729ca | 3ea34c23f90326359c3c64281680a7ee237ff0f2 | /Data/787/E | 944e5c7df178ceed7ce3553ad25f9d8342d48ef3 | [] | no_license | lcnbr/EM | c6b90c02ba08422809e94882917c87ae81b501a2 | aec19cb6e07e6659786e92db0ccbe4f3d0b6c317 | refs/heads/master | 2023-04-28T20:25:40.955518 | 2020-02-16T23:14:07 | 2020-02-16T23:14:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 80,869 | E | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
... | |
c4ba376ce0c6efcf332be4169917615c4b9e14d6 | 7c79637c2579fff3d43b05840a8ded828a6d57fb | /RoadGenerator.h | d8e8c6e08aa7c748ca1ff31d72a2a48e2d61c46c | [] | no_license | okaresz/awts | b06c07df3a24c2864748374087934d2052709acb | 74d297ac54938dd0bf58db78d36f31bd30d72f1b | refs/heads/master | 2021-01-20T17:14:51.136006 | 2016-07-13T16:50:36 | 2016-07-13T16:50:36 | 62,257,367 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,791 | h | RoadGenerator.h | #ifndef ROADGENERATOR_H
#define ROADGENERATOR_H
#include <QObject>
#include <QQueue>
#include "RoadSegment.h"
#include "RoadObstacle.h"
class RoadGenerator : public QObject
{
Q_OBJECT
public:
explicit RoadGenerator(double roadVisibility, QObject *parent = 0);
void setRoadGenerationHorizon(double roadGeneration... |
16d149f6e80226e9754ccdc5906eba84a1f151e1 | afb7006e47e70c1deb2ddb205f06eaf67de3df72 | /third_party/libwebrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report.h | 4b05491023baef5cf144c12a597d3becbb76541a | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | marco-c/gecko-dev-wordified | a66383f85db33911b6312dd094c36f88c55d2e2c | 3509ec45ecc9e536d04a3f6a43a82ec09c08dff6 | refs/heads/master | 2023-08-10T16:37:56.660204 | 2023-08-01T00:39:54 | 2023-08-01T00:39:54 | 211,297,590 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,576 | h | sender_report.h | /
*
*
Copyright
(
c
)
2016
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
contributing... |
498c1e9684523a38fc441aab8773022ed5d62131 | 81bfcc517f000101148685239774f8c3cce4c268 | /Script.h | 7fead97726286c6f210a4ea817a119e18fd61368 | [] | no_license | AlexOpenSourceCode/2D-Sidescroller-Game | b800d6b7a98d6a1ed1f584684d62dbf45e05247e | 44e63dc326c07c224626cd00ded9088ae24b27f8 | refs/heads/master | 2020-04-04T16:08:05.632920 | 2018-11-04T13:14:40 | 2018-11-04T13:14:40 | 156,065,962 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 541 | h | Script.h | #ifndef SCRIPT_H
#define SCRIPT_H
#include <vector>
#include <unordered_map>
#include <math.h>
#include <algorithm> //std::remove_if
#include <iostream>
#include <memory>
//#include "GameObject.h";
class GameObject;
class App;
class Script {
public:
std::shared_ptr<App> app;
GameObject* obj = NULL;
Script();
Sc... |
d2521e50b0bd90a58fe6936df292af2add520ee9 | c330ff20fae575aaa3cc2cef4997f544477a1f48 | /tools/FMM_3DSMAX_ExportPlugin/FMMExporter.h | 0b1321374cf28d0179374c5ea35a915e29c99866 | [] | no_license | sunnycase/fancy2d | cffd575ead82df42ee645c20c34b6354fa3b510c | d2403cfd3a52508e434beee3e3c0776d07e22050 | refs/heads/master | 2021-01-13T03:33:39.265125 | 2016-12-05T16:32:05 | 2016-12-05T16:32:05 | 77,521,117 | 2 | 1 | null | 2016-12-28T09:36:09 | 2016-12-28T09:36:09 | null | GB18030 | C++ | false | false | 3,715 | h | FMMExporter.h | ////////////////////////////////////////////////////////////////////////////////
/// @file FMMExport.h
/// @brief FMM模型导出插件实现
/// @note 实现SceneExport
////////////////////////////////////////////////////////////////////////////////
#pragma once
#include <limits>
#include <unordered_map>
#include <string>
#include <M... |
810387a72e884a4a0d7c37779592c14512f49663 | aac4b0cfbdfd57d9c57ee1bbdd0e425f4bcdb98a | /hamming/sol_dfs.cpp | 27dca935ae59a9de15a70415eef22412d009889a | [] | no_license | GuangLightman/Cainiao-USACO-fly | f615b57476e4dfe31d7260a77aa109f649167a0a | 415ba64157f6f4c4b430f3d286c0feb89d267b37 | refs/heads/master | 2021-01-10T17:41:19.791266 | 2016-04-16T12:31:49 | 2016-04-16T12:31:49 | 53,666,389 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,473 | cpp | sol_dfs.cpp | /*
ID: your_id_here
PROG: hamming
LANG: C++
*/
#include <cstdio>
#include <cstring>
using namespace std;
int n,b,d,ans[65],num,ready[255],rn,t,tt,tmp,mx;
bool isLegal(int x,int y) {
x^=y,tmp=0;
for(t=0;t<b;++t)
if(x&(1<<t))
++tmp;
return tmp>=d;
}
... |
3122b1ba5c0f5759ecafd47a700a55c343ed4aea | a3c2787f52301dee40a9064e084bb8a157967e83 | /c++/第二次练习/课前练习/调用合法.cpp | 2f63ad897e5ae1d4580675227cc794d5eb2add1d | [] | no_license | welkin-qing/C | 509ea3807d84fe983be38c8c1c178bc7370008f7 | a812e1e1688b421a36f5645c1c1e37166bf5210c | refs/heads/master | 2020-03-17T20:49:34.799686 | 2018-07-17T06:35:50 | 2018-07-17T06:35:50 | 133,930,240 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 189 | cpp | 调用合法.cpp | #include<iostream>
using namespace std;
void f1(int * m,long & n);
int main()
{
int a;
long b;
cin>>a>>b;
f1(&a,b);
}
void f1(int * m,long & n)
{
cout<<m<<n<<endl;
}
|
a20e84c6c90e96f3f43e140ea5c9a3ea4238b648 | e0e9a7b63dd1b9ace628a47172925918ee36f862 | /Codeforces/520A.cpp | 8efccdbf1a8efe5d56c0d94478119e5d8e929e4a | [] | no_license | sowmenappd/code-box | 01cc4d2049b296237a7ddaf5a0873c3369f87eaa | f5e66b908feac8632e4d2d6db00d0c28c620316c | refs/heads/master | 2021-09-11T13:42:26.060962 | 2018-04-08T05:49:00 | 2018-04-08T05:49:00 | 93,412,638 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 462 | cpp | 520A.cpp | #include <iostream>
#include <ctype.h>
using namespace std;
bool alphabets[26] = { false };
int main()
{
int n;
cin >> n;
char a[101];
cin >> a;
int i = 0;
if (n < 26)
{
cout << "NO" << endl;
return 0;
}
else
{
while (i < n)
{
alphabets[tolower(a[i]) - 97] = true;
i++;
}
for (int i = 0;... |
4a60b44b802916973117d8f054aa6b8767a718be | ddffdccbc1cb2f45348cd564cb2b0d631877a977 | /Framework flou/Framework flou/ExceptionTargetAndOperator.h | 202991f187ce9d246c493f70e8e791f6cec563bc | [] | no_license | rachelnoireau/projetFramework | cb3a08c191e0892cc71efdfbff0ae77a4da1e05c | b2bafe03965cbda2f1c4ec5ea963c72292c9121a | refs/heads/master | 2020-03-13T23:49:43.087636 | 2018-06-17T16:51:46 | 2018-06-17T16:51:46 | 131,343,628 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 233 | h | ExceptionTargetAndOperator.h | #ifndef EXCEPTIONTARGETANDOPERATOR_H
#define EXCEPTIONTARGETANDOPERATOR_H
#include <exception>
using namespace std;
class ExceptionTargetAndOperator : public exception {
public :
ExceptionTargetAndOperator() throw() {}
};
#endif |
ce27bc9893c6755dfb946f789da268a26a9b5b21 | 067ce10df08c4328c2a20017888022f13c67cb9e | /Find the Difference.cpp | feee0f7b3f6cfbe11c6a88aec5d4463a6b97adf7 | [] | no_license | hxchengtj/leetcode | 85c23bd167b68e61aa09a459cd43cf943715ea7d | b5d2bcffebab394c0fe7f8e46e8192c9b82c597a | refs/heads/master | 2021-01-11T02:30:26.061334 | 2016-10-13T07:49:50 | 2016-10-13T07:49:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 319 | cpp | Find the Difference.cpp | class Solution {
public:
char findTheDifference(string s, string t) {
int dict[26];
memset(dict, 0, sizeof(dict));
for(char c:s) dict[c-'a']++;
for(char c:t) dict[c-'a']--;
for(int i = 0; i < 26; i++)
if(dict[i] == -1) return i+'a';
return '\0';
}
};
|
5a472f2db8e30edc5cb51a32616f6daf6445442a | 4d0cfe9623423eb8be213344d52353e99a411f51 | /Systematics/interface/THHardProcess.h | 5fcc5fd7dcd642c31a0b5422c9859ad8d2a47ec3 | [] | no_license | hbakhshi/flashgg | 024ed7428c1c45507c0ac300a2accc7d339b57cc | c56e24d949de01e95ccd91e6ca964c43ae659b35 | refs/heads/master | 2020-04-05T11:45:22.471072 | 2018-03-14T14:36:48 | 2018-03-14T14:36:48 | 59,016,696 | 0 | 1 | null | 2017-07-13T13:16:23 | 2016-05-17T11:31:59 | C | UTF-8 | C++ | false | false | 4,158 | h | THHardProcess.h | #ifndef THHARDPROCESS_h
#define THHARDPROCESS_h
// -*- C++ -*-
//
// Package: THHardProcess
// Class: THHardProcess
//
// system include files
#include <memory>
#include <map>
#include "TCanvas.h"
#include "TH1.h"
// user include files
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Fr... |
b71036707563739a5b739a3a089ca27650c74d43 | ee80ddf7d1de919847f1072f83c9ee3e3deeae02 | /gwell/source/modeller/dialogs/hierlistviewitem.cpp | 489ccf9c2d9a6290f7f0fcc61f7030391e2db6ee | [] | no_license | pjakwert/gwell3d | 8bef1d3616810e6a79aff12869f164cdff0ac8b5 | 798b928d91864ba7f2ed5b9ccd46b3d6a693908c | refs/heads/master | 2020-03-26T00:42:58.091397 | 2018-08-10T21:48:12 | 2018-08-10T21:48:12 | 144,333,776 | 0 | 0 | null | null | null | null | ISO-8859-2 | C++ | false | false | 1,336 | cpp | hierlistviewitem.cpp | ////////////////////////////////////////////////////////////////////////////////////////////////////////////
///
/// class: HierListViewItem (.h)
///
/// dziedziczony od QListViewItem element listy QListView, zawierajacy dodatkowo wskaznik i adres obiektu
///
//////////////////////////////////////////////////////////... |
cb0e545530aee21ff718cff488ccb3ba1029fa17 | da33f708eed654216417e095373fdfa640c36f0a | /Game/GameObjectState/Enemy/Walking/WalkingEnemy.cpp | b729211decdc23dc93d333cb8c2e61a680f9df8a | [] | no_license | Ryu-armour/employed | 5f246867fddb02f2d2ccfb0ca02413f24ac18759 | b9f2df4ed5df78aeb040a635fa058b14fc9234b0 | refs/heads/master | 2022-09-25T05:04:25.283239 | 2020-06-03T08:59:32 | 2020-06-03T08:59:32 | 269,035,451 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,289 | cpp | WalkingEnemy.cpp | #include "WalkingEnemy.h"
#include "Game\Camera\FollowCameraClass.h"
#include "Game\GameObject\Enemy\Enemy.h"
WalkingEnemy::WalkingEnemy(Enemy* enemy)
{
m_enemy = enemy;
m_stateName = L"WalkingEnemyState";
}
WalkingEnemy::~WalkingEnemy()
{
Finalize();
}
void WalkingEnemy::Initialize()
{
//ターゲットの位置を入れる
m_targ... |
dcc3e5b76e73722347dbc48a5982c5e9d8af1e50 | 27c2e5277bac7ba627f461d52e6c59dd23731e86 | /sugar/core/mem/su_mcursori.h | 4d0342b4009fbed7c1ade68efa9b9f5cfd66b1b4 | [] | no_license | magicfoo/atonce | 4c70fbc753fbc9bc1e32b14317ddf4bc61cafd66 | 7561af1c477e107ee9cdd1bcb82a8f7b753bc6ab | refs/heads/master | 2022-12-23T10:10:42.602545 | 2020-09-23T20:18:42 | 2020-09-23T20:18:42 | 298,083,714 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,907 | h | su_mcursori.h | /*LIC-HDR********************************************************************
**
** Copyright (C) 2001-2010 AtOnce Technologies
**
** This file is part of the Sugar Framework.
**
** This file and the associated product may be used and distributed
** under the terms of a current License as defined by AtOnce Technologies... |
ed18a1a95c2dfc0bc58c5dd5bb3ad6b2ee658cb7 | 2e45720a8747bbcd06213a3dfc2b3a5c668052d6 | /org.glite.wms.core/interface/glite/wms/ism/purchaser/ism-file-purchaser.h | d56207c5c8c81d79aefb6de8686c16c6de36aa16 | [
"Apache-2.0"
] | permissive | italiangrid/org.glite.wms | df0616a06b034b875b3c93e16995fc022a206685 | 0fc86edb5b0395c5400023a4cfb29b5273eba729 | refs/heads/master | 2021-01-10T20:25:56.444145 | 2015-01-23T15:09:44 | 2015-01-23T15:09:44 | 5,776,443 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,407 | h | ism-file-purchaser.h | /*
Copyright (c) Members of the EGEE Collaboration. 2004.
See http://www.eu-egee.org/partners for details on the
copyright holders.
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.ap... |
2837a80a606a3f4ef21c524f79e4d79275757d6d | 66cc722357e79b8068f4a887b47b46cda309f8bd | /NARODMON/narodmon-ds18b20.ino | 25b6af9fac6a081fe08d0ad6e63b8b0f318f437e | [] | no_license | LuckyLiski/MyArduino | ba6319881822bca29b7c83147f6ff49b01faeafa | f994c27015e8e2c6f995e11858c0f3cd79c69516 | refs/heads/master | 2021-01-01T16:45:07.351319 | 2016-10-18T10:34:32 | 2016-10-18T10:34:32 | 11,216,704 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,189 | ino | narodmon-ds18b20.ino | // Скетч для Arduino для отправки данных о температуре на Народный мониторинг.
// Версия 1.3 (16.07.2014)
//
// Автор: Гладышев Дмитрий (2012-2014)
// http://student-proger.ru/2012/06/podklyuchenie-arduino-k-otechestvennomu-proektu-narodnogo-monitoringa/
#include <SPI.h>
#include <Ethernet.h>
#include <OneWire.h>
boo... |
1f1821a7103da3977c5c4acee6ac9ae3a600b8ae | 06bed8ad5fd60e5bba6297e9870a264bfa91a71d | /LayoutEditor/generated_cpp/test/test0.h | 9484bbb5e83fe7ec9503dc9b9e53806d61f06de5 | [] | no_license | allenck/DecoderPro_app | 43aeb9561fe3fe9753684f7d6d76146097d78e88 | 226c7f245aeb6951528d970f773776d50ae2c1dc | refs/heads/master | 2023-05-12T07:36:18.153909 | 2023-05-10T21:17:40 | 2023-05-10T21:17:40 | 61,044,197 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 4,657 | h | test0.h | #include <PythonQt.h>
#include <QObject>
#include <QVariant>
#include <qbytearray.h>
#include <qlist.h>
#include <qobject.h>
#include <test/testbase.h>
class PythonQtShell_TestBase : public TestBase
{
public:
PythonQtShell_TestBase(QObject* parent = nullptr):TestBase(parent),_wrapper(NULL) {}
~PythonQtShell... |
7fccefac0180d1c186c3bee42a7f9ebc53fe5ef9 | 0e2af594c166bde94bfa338860befc417c63d857 | /StellaCharta/Game/Entities/Collisions/Polygon.cpp | fe23fe298ab684bfadfc0924d346549764f54584 | [] | no_license | ZachPerkins1/StellaCharta | c3c9d8a4bc208159f604ed7b25e7b10fa76d3ca7 | 68b150af4985dc2ecf4508b9a039f1e21990a4db | refs/heads/master | 2021-01-17T17:57:25.809378 | 2016-07-16T02:25:34 | 2016-07-16T02:25:34 | 59,330,123 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,057 | cpp | Polygon.cpp | #include "Polygon.h"
Polygon::Polygon() {
points = new std::vector<Vector>;
}
Polygon::~Polygon() {
}
Polygon Polygon::createFromPoints(std::vector<Vector> points) {
Polygon p;
for (int i = 0; i < points.size(); i++) {
p.addPoint(points[i]);
}
return p;
}
Polygon Polygon::convexHull() {
std::vector<Vector... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.