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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ad82082bf3cad85f8a1c1cbd0c5b7b3dd773f05f | 46930ce44d9ed80e10a633d4c30251567274a733 | /course_schedule.cpp | 2ba9986f6b29daacbbc496128a071ce2e09664ce | [] | no_license | DonCyriac/coding_challenges | 46337d5f771b947ef9fc9f92f1adb3abfa2ec7bd | b8d6349d897357b4e368719dfe11b59586c833ed | refs/heads/master | 2022-11-14T19:30:08.731395 | 2020-07-06T16:27:35 | 2020-07-06T16:27:35 | 273,024,344 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,004 | cpp | course_schedule.cpp | #include <vector>
using namespace std;
class Solution {
public:
bool dfs(int root, vector<bool>& discovered, vector<vector<int>>& graph) {
if (discovered[root]) {
return false;
}
discovered[root] = true;
for (int child: graph[root]) {
if (!dfs(child, disco... |
44068baf4ebbb4421a4860625b73a2467b4d5553 | 39a1d46fdf2acb22759774a027a09aa9d10103ba | /ngraph/core/include/ngraph/op/op.hpp | 8581b850c117129eca19a0ca42326df34fe56159 | [
"Apache-2.0"
] | permissive | mashoujiang/openvino | 32c9c325ffe44f93a15e87305affd6099d40f3bc | bc3642538190a622265560be6d88096a18d8a842 | refs/heads/master | 2023-07-28T19:39:36.803623 | 2021-07-16T15:55:05 | 2021-07-16T15:55:05 | 355,786,209 | 1 | 3 | Apache-2.0 | 2021-06-30T01:32:47 | 2021-04-08T06:22:16 | C++ | UTF-8 | C++ | false | false | 469 | hpp | op.hpp | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include <string>
#include "ngraph/node.hpp"
namespace ngraph
{
namespace op
{
/// Root of all actual ops
class NGRAPH_API Op : public Node
{
protected:
Op()
... |
3d0014c6cec8d9147c45debacf82c317b38f2cd4 | 8173234f279a012d0cb813473f2e7ce15573ab5e | /code/HW4_official/IReadCardList.h | 4649d8a882b91b5b8007227aa07839bdb40e2a73 | [] | no_license | Rvansolkem/ESU-SoftwareEngineering | 31bb3a4950082d62462927f43c485cc698141540 | cbb2b913fc73914c0989b093e210c01be2a277bc | refs/heads/master | 2023-01-19T23:34:04.010267 | 2020-11-24T00:48:35 | 2020-11-24T00:48:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 487 | h | IReadCardList.h | #ifndef IREADCARDLIST_H
#define IREADCARDLIST_H
#include "Card.h"
class IReadCardList{
public:
/*preconfition: IReadCardList exists (is instantiated)
* postcondition: returns first card in list
*/
virtual Card* getFirst() = 0;
/*precondition: Ireadcardlist exists
* ... |
d245731aef5a1075b666141bd52c23805bd98dda | 59c32d9f5c989aba4b2d56fdd14529ef232c7944 | /GrimmEngine/Source/renderer.cpp | 3d3752551d8541b5238fd4a765f72e379e0fff7c | [] | no_license | abm-77/LunarEngine | f459a3ec4c1cfbfb41f173f97a9f36f4a601363b | 91d594500a7302a3aaaeb8549d0ec2768e9add50 | refs/heads/master | 2023-01-02T07:31:56.590294 | 2020-10-29T00:28:23 | 2020-10-29T00:28:23 | 308,173,501 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 388 | cpp | renderer.cpp | #include "Graphics/Renderer.h"
void Renderer::Clear()
{
glEnable(GL_DEPTH_TEST);
glClearColor(0.2f, 0.3f, 0.3f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
}
void Renderer::Draw(const VertexArray& VA, const ElementBuffer& EB, const Shader& Shader)
{
VA.Bind();
EB.Bind();
Shader.Bind();
glDrawEl... |
fc8f2d4227edbc3ea2014f6ae3f8eafa84a0c896 | 8c35c227196168c43ae11bb3ba88780314bac0a7 | /osquery/include/osquery/registry_interface.h | 7c5785210b3c8510f2ce5dd6c389e49a82e08314 | [
"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 | 11,760 | h | registry_interface.h | /**
* Copyright (c) 2018-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.
*/
#pragma once
#include <functional>
#include <map>
#include <mutex>
#include <string>
#inc... |
78b7ac69aff1986320f17e67c8471fa275091b4c | 1468b015f5ce882dbd39dc75c9a6560179a936fb | /card/M41118.h | 4175451aa61b26eccfd93a5016954745619481af | [] | no_license | Escobaj/HearthstoneResolver | cbfc682993435c01f8b75d4409c99fb4870b9bb3 | c93b693ef318fc9f43d35e81931371f626147083 | refs/heads/master | 2021-04-30T22:31:01.247134 | 2017-01-31T00:05:32 | 2017-01-31T00:05:32 | 74,474,216 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 249 | h | M41118.h | #ifndef HEARTHSTONERESOLVER_M41118_H
#define HEARTHSTONERESOLVER_M41118_H
#include "../Core/Entities/Minion.h"
class M41118 : public Minion {
public:
M41118(const EventHandler &e);
void init();
};
#endif //HEARTHSTONERESOLVER_M41118_H
|
2b2de307fd0a9a55322caf9eee0d908b7535bcc4 | fa33a7382a642afff0e1d72b766afce72c150b18 | /strange_num.cpp | 4ea2be53f43f05e2902fd9c8192e3390440e2a56 | [] | no_license | SaksheePhade/Competitive-programming | 5018cca606afd7f9809c9f36445aa4a5b7835c12 | 5ad029ca506646448d37ecb0f477e35c2d484818 | refs/heads/master | 2023-01-31T03:20:57.722175 | 2020-12-07T03:52:43 | 2020-12-07T03:52:43 | 314,853,901 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 684 | cpp | strange_num.cpp | # include <iostream>
# include <vector>
using namespace std;
int isPrime(int n) {
int count=0,i;
for(i=2; i<n; i++) {
if(n%i==0) break;
}
if(i==n) return 1;
else return 0;
}
int main()
{
int T, i, j, flag=0;
long int X, K, count, prime;
vector<int> result;
cin >> T;
while(T--) {
flag=0;
cin >> X >> K;... |
cb3e4e7aa2d27c42877165b145bbceaf89c6bd54 | e5128a08aee208de8770b04f34ebbaa533ae25df | /Рабочий стол/projects/sniffer/main.cpp | fa85b14a175c9e97405061fa987c8e0f09748db2 | [] | no_license | workqqq68/Practice | 78de8585974a34ea15a95d04ee13967325bcc145 | ae7933b1cd9f5dcbb31f59df67dbd9ed88de80ff | refs/heads/master | 2021-03-23T11:57:07.310637 | 2020-04-11T11:31:38 | 2020-04-11T11:31:38 | 247,449,662 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,859 | cpp | main.cpp | #include <cstdio>
#include <pcap.h>
#include <netinet/if_ether.h>
#include <netinet/in.h>
#include <netinet/ip.h>
#include <netinet/udp.h>
#include <arpa/inet.h>
#include <net/if_arp.h>
void callback(u_char *args, const struct pcap_pkthdr* pkthdr, const u_char*
packet) {
static int num = 0;
num++;
ethhdr *... |
cdd63bc656b3bef54687dbf07bc272a5c5dca850 | e5d8fa57cc725a6b36432474a8d6f70b9f3c1d0f | /Empty/Empty/String.cpp | 8ae4fd6ce9497707d4866b81adee491d03deb2ee | [] | no_license | Fishingpilot/ASCII | ad717ccdb34f3a44f4ebfe3a295b46ffaafeeebe | cbaa06e4ca6ef6a8098c97b88f149afa6b530788 | refs/heads/master | 2021-04-30T00:53:22.775749 | 2018-02-28T02:55:16 | 2018-02-28T02:55:16 | 121,467,256 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,629 | cpp | String.cpp | #include "String.h"
String::String(unsigned int _size)
{
string = new char[_size];
string[0] = 0;
count = 0;
}
String::~String()
{
delete[] string;
}
char* String::Chr()
{
return string;
}
void String::ToLower()
{
//Sets all 'letter' characters to their uppercase counterparts
for (int... |
2884e4a3aa6ccd4074d324b2c943c73a0c5b6e9f | 3511c64f8b19418d1a4198eae16a7c08bd944033 | /2019-07-13/ulamek3.cpp | 03ffa25407ff89d6fe4e386a2aed9aa7b619a9c9 | [] | no_license | rbaleja/kurs_cpp | c7d3a511becf580f5b4e12be062a4c23a18b441c | a8dce2a3f91302b29688fefc1d3a7ace723fbb6b | refs/heads/master | 2020-06-20T14:19:01.223139 | 2019-07-16T08:04:58 | 2019-07-16T08:04:58 | 197,148,681 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 829 | cpp | ulamek3.cpp | #include <iostream>
class Ulamek {
private:
int licznik;
int mianownik;
public:
void wypisz() const
{
std::cout << licznik << '/' << mianownik << std::endl;
}
int get_licznik() const
{
return licznik;
}
void set_licznik(int x)
{
licznik = x;
}
int get_mianownik() const
{
return mianownik;
... |
8ce20a2f5ab4cfef5f1edd37fe8cb705b3b08539 | e017afbf7f077682694b6926a333850b0eb3e4a4 | /server/src/Entity/Bonus.cpp | d6ce41e9de9627e54c5f951a11a0ab64bd9001dc | [] | no_license | zheck/rtype | a1540b8c4dc9e818fa499c1328042caf2075b728 | c4b3fbb23c3d7556052aee182b2d531b515e5e98 | refs/heads/master | 2021-01-10T01:48:20.049694 | 2015-10-01T15:05:42 | 2015-10-01T15:05:42 | 43,503,054 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 613 | cpp | Bonus.cpp | //
// Bonus.cpp
// R-TypeServer
//
// Created by Zhou Fong on 11/20/13.
// Copyright (c) 2013 Zhou Fong. All rights reserved.
//
#include "Bonus.hpp"
Bonus::Bonus(eType bonusType, Vect2 const & position, Vect2 const & direction) :
Entity(position, bonusType, Vect2(20, 20)),
_direction(direction)
{
}
Bonus::~Bonu... |
8120cc1a89af121960409029b0a5a221a6cd53b2 | 7d475ca3b64e38ce8972126048744b9d9845c1a2 | /RegressionForest/WeightedFeatureSelector.cpp | b9dfaa745e08cb812ed13bb442456f0319719103 | [] | no_license | darefish/RegressionForest | 0743aa3d4bdd7699f112d4d81124d77e1e3c398c | d196f5caa47dec291e9d09f0c36b453ecf60c1f0 | refs/heads/master | 2021-01-01T00:17:40.343351 | 2020-01-14T12:35:30 | 2020-01-14T12:35:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 882 | cpp | WeightedFeatureSelector.cpp | #include "WeightedFeatureSelector.h"
#include "RegressionForestCommon.h"
#include "math/RandomInterface.h"
#include "common/ProductFactory.h"
using namespace hiveRegressionForest;
hiveOO::CProductFactory<CWeightedFeatureSelector> theCreator(KEY_WORDS::WEIGHTED_FEATURE_SELECTOR);
CWeightedFeatureSelector::CWeightedFe... |
c0f58ac311aee9df3b1a4d26568cb6a0d452827e | 9fcd251cf0ef6164cd266fb478054cb2a0b765b3 | /Algoritmica Grafurilor/Laborator/Algoritmi/Sortare Topologica.cpp | b6965fe077e127a214d448c8534ab582524d832b | [] | no_license | liviu-gheorghe/FMI-Materials | ff9fa13a75417e58af6588d6872084163866c27c | 5125517725e4f25c5edaf75758761f356501e3e6 | refs/heads/master | 2023-06-04T02:53:31.576152 | 2021-06-29T12:26:55 | 2021-06-29T12:26:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,074 | cpp | Sortare Topologica.cpp | #include <iostream> //Sortare Topologica
#include <list>
#include <queue>
#include <utility>
#include <fstream>
using namespace std;
int grad[100];
int main ()
{
ifstream fin("date.txt");
list< pair<int, int>> L[100]; //L[x]; primul int=y, 2 int=pondere; xy=muchie
int i, n, m, x, y, c;
fin>>n>... |
c6c5aa3dbf94823b08e082310e9d2cac81f7bee1 | 4df879b552fd7ed22546dd087b75aa9ea499762d | /header/start_cell.hpp | a40f5fa23d5d5bbd97096eca769017cb1dad115f | [] | no_license | austinslee/Calendar-Project | ab5adf4a8a66e76ece55d670d0c98cab6d72c00f | b2a95e36b10492b3899ec12c590677a98cad18b8 | refs/heads/master | 2023-03-24T09:03:28.615652 | 2021-03-12T22:01:11 | 2021-03-12T22:01:11 | 348,214,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,382 | hpp | start_cell.hpp | #ifndef __START_CELL_HPP__
#define __START_CELL_HPP__
#include <string>
#include "../header/cell.hpp"
class StartCell : public Cell {
private:
public:
StartCell() {}
StartCell(Task* ftask) {
task = ftask;
}
StartCell(Task *ftask, Control* theControl) {
cellType = 2;
task = ftask;
ta... |
12182db016948f61095e54eda035f1cb84ef922b | a6b516ec1027cd3d22f2b19a233083ffe18e9ce8 | /Lectures/Lecture_15/traverseString.cpp | d42cb2c490e46f597582fa08144cad2465fa71c6 | [] | no_license | kale6834/CSCI1300 | 931dcb916b928c0dcb90434c2e7ca30ab45e4575 | bcfbdd3d78861f72ea3de7657989e7ff21e29b31 | refs/heads/master | 2021-01-26T07:40:34.060453 | 2020-02-26T21:20:34 | 2020-02-26T21:20:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 799 | cpp | traverseString.cpp | #include <iostream>
#include <string>
using namespace std;
// print each character in a given string
void traverse(string x);
int main()
{//this string has 3 characters but starts at position 0
string str = "ABCerddffds";
//if you don't know how many characters you have, you can put 'name of variable'.length()... |
932765cf73af59dc8a35307696fe99f65770bcb0 | bcf138c82fcba9acc7d7ce4d3a92618b06ebe7c7 | /rdr2/0x95384C6CE1526EFF.cpp | 2fa8b89c217c83e6e2e7274b9fd3ad2eadf7edfd | [] | no_license | DeepWolf413/additional-native-data | aded47e042f0feb30057e753910e0884c44121a0 | e015b2500b52065252ffbe3c53865fe3cdd3e06c | refs/heads/main | 2023-07-10T00:19:54.416083 | 2021-08-12T16:00:12 | 2021-08-12T16:00:12 | 395,340,507 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 356 | cpp | 0x95384C6CE1526EFF.cpp | // bjack_sp.ysc @ L33353
void func_1145(int iParam0, int iParam1)
{
if (iParam0 < 0 || iParam0 >= 32)
{
return;
}
if (Global_1058888.f_42784[iParam0 /*12*/].f_6 == iParam1)
{
return;
}
Global_1058888.f_42784[iParam0 /*12*/].f_6 = iParam1;
HUD::_SET_MP_GAMER_TAG_SECONDARY_ICON(Global_1058888.f_42... |
82642b1189bb72aa34da1e0155d77f03480b01d5 | 1960d202f146b6b078f578372e3ede0778877557 | /CPP-Signing/CPP-Signing.cpp | 26f3d51fdcd3a4c583becfba77abdccf13e796a7 | [
"Apache-2.0"
] | permissive | dcluomax/rsa-pss-signing-examples | c844e816a53413b7ba2cec151a6f44041d810ff7 | ad40f3d2930438ae70be39f5ff985e8f082121d3 | refs/heads/main | 2023-04-20T12:09:41.426015 | 2021-05-12T18:40:53 | 2021-05-12T18:40:53 | 366,811,192 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,445 | cpp | CPP-Signing.cpp | #include <iostream>
#include <openssl/aes.h>
#include <openssl/evp.h>
#include <openssl/rsa.h>
#include <openssl/pem.h>
#include <openssl/ssl.h>
#include <openssl/bio.h>
#include <openssl/err.h>
#include <assert.h>
std::string privateKey = "-----BEGIN RSA PRIVATE KEY-----" "\n"
"MIIEpQIBAAKCAQEAnsxe6HMLAqzdRe/aAkTecba... |
4d4060e800095dc7c29a914701b3fef2dd862a10 | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/ImageConfig.h | 8c32f38e1973cfc75633ea25c34a9b4b2636ca4d | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | aws/aws-sdk-cpp | aff116ddf9ca2b41e45c47dba1c2b7754935c585 | 9a7606a6c98e13c759032c2e920c7c64a6a35264 | refs/heads/main | 2023-08-25T11:16:55.982089 | 2023-08-24T18:14:53 | 2023-08-24T18:14:53 | 35,440,404 | 1,681 | 1,133 | Apache-2.0 | 2023-09-12T15:59:33 | 2015-05-11T17:57:32 | null | UTF-8 | C++ | false | false | 7,184 | h | ImageConfig.h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/lambda/Lambda_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Util... |
edc392289fc206bf6b96903e4d02e6bd8eeb94f1 | 091afb7001e86146209397ea362da70ffd63a916 | /inst/include/nt2/core/include/functions/minexponent.hpp | 0945a87830462b6ab3e454c4dd3e4348b0be6a0b | [] | no_license | RcppCore/RcppNT2 | f156b58c08863243f259d1e609c9a7a8cf669990 | cd7e548daa2d679b6ccebe19744b9a36f1e9139c | refs/heads/master | 2021-01-10T16:15:16.861239 | 2016-02-02T22:18:25 | 2016-02-02T22:18:25 | 50,460,545 | 15 | 1 | null | 2019-11-15T22:08:50 | 2016-01-26T21:29:34 | C++ | UTF-8 | C++ | false | false | 175 | hpp | minexponent.hpp | #ifndef NT2_CORE_INCLUDE_FUNCTIONS_MINEXPONENT_HPP_INCLUDED
#define NT2_CORE_INCLUDE_FUNCTIONS_MINEXPONENT_HPP_INCLUDED
#include <nt2/core/functions/minexponent.hpp>
#endif
|
bf3b049252e0fe85fe7fef4bfe55b3d54b8bab13 | 19fad34c2396b2043c165085c6170da37e8f53e7 | /mythread.h | a94c29e38fd1d222c715f5b2d9a4c712923d809f | [] | no_license | DiimaMenko/ThreadsLab1 | bac3c08eb3f6ef954b818283d10c176180c86360 | 0e3f44a85102bc720e2ab0b19d1ea54c8879d811 | refs/heads/master | 2021-01-10T18:04:05.796103 | 2016-04-03T04:54:15 | 2016-04-03T04:54:15 | 52,384,819 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 310 | h | mythread.h | #ifndef MYTHREAD_H
#define MYTHREAD_H
#include <QThread>
class MyThread : public QThread
{
Q_OBJECT
double a;
double b;
double result;
double eps;
public:
MyThread();
MyThread(double start, double end, double eps);
double getResult();
void run();
};
#endif // MYTHREAD_H
|
2ff7d481f5b6012f52f0a83c1e2dcb8dcaefe22a | a5e3ad25dd5747cf713a854baa1c845b9eac0c50 | /src/examples/DownloaderHandler.cpp | eb0123b64a08269f31955d87322bac84ee08a48c | [] | no_license | wangjiaming0909/unp | 34fc91ac8c10810c6645ecd98869b2d25e4d9f11 | 2e38198a9a3a574c291b315ed5558c1aba508bcc | refs/heads/master | 2021-06-03T23:53:45.388179 | 2021-03-01T13:25:17 | 2021-03-01T13:25:17 | 93,808,858 | 1 | 0 | null | 2020-07-30T05:42:04 | 2017-06-09T02:04:08 | C++ | UTF-8 | C++ | false | false | 3,527 | cpp | DownloaderHandler.cpp | #include "examples/DownloaderHandler.h"
#include "http/HttpCodec.h"
#include "http/gperf/HttpHeaderCode.h"
namespace examples
{
int DownloaderHandler::handle_input(int handle)
{
if(sock_connection_handler::handle_input(handle) < 0) {
LOG(WARNING) << "error when sock_connection_handler::handle_input";
return... |
22f75ddbf7dc60b4e76ada0d7d55200b8a4e4243 | f6be94eba9d5471270b04c98f63afd4875d29a1b | /src/flamegpu/model/AgentFunctionData.cpp | d2b51629eaf9343b53703e1879a9e72c2af31ae0 | [
"MIT"
] | permissive | FLAMEGPU/FLAMEGPU2 | 7c07e7cc3508268a057525f9ca58339ad4871be3 | c93130c29b6d138d879fe2303539f13798ef6e94 | refs/heads/master | 2023-08-31T03:33:08.063296 | 2023-08-25T10:33:25 | 2023-08-25T10:33:25 | 34,064,755 | 68 | 12 | MIT | 2023-09-14T09:06:29 | 2015-04-16T15:41:51 | Cuda | UTF-8 | C++ | false | false | 7,994 | cpp | AgentFunctionData.cpp | #include "flamegpu/model/AgentFunctionData.cuh"
#include "flamegpu/model/AgentDescription.h"
#include "flamegpu/model/AgentFunctionDescription.h"
#include "flamegpu/runtime/detail/curve/curve_rtc.cuh"
#include "flamegpu/detail/cxxname.hpp"
namespace flamegpu {
AgentFunctionData::AgentFunctionData(std::shared_ptr<Age... |
b6264a6b9563cf126e94f16dbfe33696eaa5ee29 | addd774ae8a37124c57537881e40c1cc6bea5357 | /Source/VCLUtils/xmlUtils_.h | d31ac0baac55af2f8edbc9e74de43c841aa920e0 | [] | no_license | fpawel/dak-m-seh1 | a9cb9165fdd9827a6aba40d4d2b1c14240030909 | 678cb60601d103a0555125f91cd261856df98eb7 | refs/heads/master | 2022-11-26T14:10:48.706947 | 2020-08-06T08:30:36 | 2020-08-06T08:30:36 | 104,171,187 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 5,045 | h | xmlUtils_.h | //------------------------------------------------------------------------------
#ifndef xmlUtils_H
#define xmlUtils_H
//------------------------------------------------------------------------------
// my
#include "tinyxml.h"
#include "MyStrUtils.h"
#include "my_static_check.h"
// std
#include <utility>
#include <vect... |
b04e6cd0fd8c599d0a18a82c2d06e3616fdf6396 | 489d38ea37898d043d0a529e50ca8ea45c591f50 | /UI/TitledToggleButton.h | 7bf70f0e0c38a11264919b4d15a65a63aafa685e | [] | no_license | mtaufen/HiPerCrCiC | 6e4ebffadf72df71dfd72a67086e3dd11f5a8278 | 7b2addeb8491c56e6a6af5f45d5f418023a505d3 | refs/heads/master | 2020-05-29T20:57:35.250848 | 2012-12-11T04:22:34 | 2012-12-11T04:22:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 548 | h | TitledToggleButton.h | // Michael Taufen 2012
#ifndef _Titled_Toggle_Button_h_
#define _Titled_Toggle_Button_h_
#include "TextRenderView.h"
#include "ToggleButton.h"
class TitledToggleButton : public View
{
private:
TextRenderView * _titleView;
ToggleButton * _toggleButton;
public:
private:
public:
TitledToggleButton(string title)... |
a42f0a0a5348766dfaae3347f6ae1d72e2f9a169 | c98f171ed91554cd6aa1058b503bef232ab52d18 | /Pump.h | 7b2cd050038273872c74c9a83356b89277938fee | [] | no_license | gml256/pumpmaster | 68573d8fa44e0197ee2d401a0fb2dbfceceeaebc | a0c6e17953ae946981d8feac152f0fdb4a790251 | refs/heads/master | 2020-03-17T03:42:49.997002 | 2018-05-13T15:15:14 | 2018-05-13T15:15:14 | 133,247,408 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,744 | h | Pump.h | // The Pump object is a digital twin of a system consisting of:
// - irrigation pump,
// - relay that activates the main contactor
// - current sensor (TA12-100) to measure the motor current
// - pressure transducer with a measuring range of 0 to 80PSI (p/n AEM 30-2131-80
// - analog temperature sensor TMP-36
... |
6d8a2bb7eecd6f49f913c29d854e68e97b7dd92a | 388bbd69059cdac4a7388bb9443f1d41bf0c3d8b | /plugins/filters/gammawidget.cpp | dddcbce9f6b18335061caad773e15e83bd745890 | [] | no_license | MADTeacher/VideoModeling | 772d36cc97a663da246fabefc33e2dd50967b190 | c8d17ad273fe32d2d2f103106e1851a86d56b369 | refs/heads/master | 2021-10-11T02:08:29.030420 | 2019-01-21T10:40:15 | 2019-01-21T10:40:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,523 | cpp | gammawidget.cpp | #include "gammawidget.h"
#include "gammaprocessing.h"
#include "ui_gammaprocessingwidget.h"
GammaWidget::GammaWidget(GammaProcessing *processing, QWidget *parent)
: BaseProcessingWidget(parent)
{
QWidget* itemWidget = new QWidget;
Ui::GammaProcessingWidget* ui = new Ui::GammaProcessingWidget;
ui->setupUi(itemWidge... |
d66b33dc55bbb10e4c247e896c70bc6ad939631f | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_repos_function_3077_httpd-2.2.27.cpp | a02551c695cd5be10bb093a5b0f6fbbd385a8191 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 233 | cpp | httpd_repos_function_3077_httpd-2.2.27.cpp | int _crypt_output_magic(const char *setting, char *output, int size)
{
if (size < 3)
return -1;
output[0] = '*';
output[1] = '0';
output[2] = '\0';
if (setting[0] == '*' && setting[1] == '0')
output[1] = '1';
return 0;
} |
422d3c56543c18bd6682b06f6ab098ead6183cab | 52adb97d6cff2ab9e992be17b89fd0aa30714325 | /Htouch/ConsolePrinter.cpp | 6974c52ba4c1dfd1fe24e03f3c5fef797e0a828f | [] | no_license | shrekei/QuadricHandModel | 4a809bd4490cb9edefdf313c6b0610a824a6d30c | a656622be6954fb45c7a9c8d4d6bd558524e4233 | refs/heads/master | 2020-05-30T03:15:35.861519 | 2015-08-16T08:20:53 | 2015-08-16T08:20:53 | 40,803,538 | 14 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 1,554 | cpp | ConsolePrinter.cpp | // ConsolePrinter.cpp: implementation of the CConsolePrinter class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "ConsolePrinter.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
/////////////////////////////////... |
4d2d3551c375f58b9562d8fe6a817724b8a45b78 | 3482c68c7127e6282bf6cb2df0975f1444f7a5b9 | /utils/utils.h | d56cd0e7b3bf787281b7bdfe18fa556460582aa3 | [] | no_license | craciunoiuc/parallel-architectures | 197e7fd7ec9532878e284958f770bb3dd68801c0 | 3edbf744be05ede43aaa01c1f0c7539ae5375f6c | refs/heads/master | 2023-02-22T01:11:50.548653 | 2021-01-25T17:01:41 | 2021-01-25T17:01:41 | 332,817,482 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,245 | h | utils.h | #ifndef __UTILS_H_
#define __UTILS_H_
#include <string>
#include <unordered_map>
/**
* OBS: il definim in Makefile
*/
/**
* ASSERT folosit pentru debugging
*/
#ifdef ASSERT_ENABLE
#include <cassert>
#define ASSERT(x) assert(x);
#else
#define ASSERT(x)
#endif /* ASSERT_ENABLE */
/**
* filtrele disponibile
*/
/*... |
30615b1568ee9e65a5a0d86f9f7527961d09e888 | ad8d8d5cf93c9ff9ac1bb0c9f0eef6378c221b58 | /Source/Application.cpp | d798f883c5302d9d2c593a28e4c9485151a23273 | [] | no_license | LYP951018/FancyRenderer | 4f10387ca4b70c34a7ebf10b0e8dd59c2b5f4f62 | 83c8ebb63f80a18539d16138cd7cfe7e033c5852 | refs/heads/master | 2021-01-11T16:11:55.618897 | 2017-01-25T17:46:45 | 2017-01-25T17:46:45 | 80,034,087 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 835 | cpp | Application.cpp | #include "Application.hpp"
//#include "Win32Window.hpp"
#include <utility>
#include <Windows.h>
namespace Fancy
{
Application::Application()
: mainWindow_{}
{
}
Graphics::Win32Window* Application::SetMainWindow(Graphics::Win32Window& window)
{
return std::exchange(mainWindow_, &win... |
99a2ff8eb7e844f855c785c73b339212a12f14df | 7e3a0311d7a8c3f5e05182498fb96a7f17f4fb1b | /graph/minimumcostbflow.hpp | 72d902f1bed1a6832057edc68912b6e37843fad7 | [] | no_license | kanpurin/kyoprolibrary | 8d3d0e5936858511f5efb92b5bf17ab005e6fb49 | 77bb00fda9cd43ee27c217d10d6aece346015eaa | refs/heads/master | 2023-08-16T22:09:39.879612 | 2023-08-08T08:45:33 | 2023-08-08T08:45:33 | 224,343,170 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,694 | hpp | minimumcostbflow.hpp | #ifndef _MINIMUM_COST_B_FLOW_HPP_
#define _MINIMUM_COST_B_FLOW_HPP_
#include <vector>
#include <cassert>
#include "minimumcostflow.hpp"
// b-flow
// source,sinkの需給設定に注意
// O(ElogVΣmax(b_i,0))
template<typename Cap, typename Cost>
struct MinCostBFlow{
MinCostFlow<Cap,Cost> G;
std::vector<Cap> b;
Cap pre_f... |
5cdad1a0e6b1f34830319a04dc92988f3a0715f4 | fb3a0978ecaedb22015f55c353e3de400e51d011 | /src/services/fibers_to_sockets/config.cpp | d0d28cba929b41fd2704f719db6094d080198ee1 | [
"BSD-3-Clause",
"OpenSSL",
"MIT",
"BSL-1.0"
] | permissive | securesocketfunneling/ssf | 820837f87b01447f74fbf6d26a26e88177bce185 | 2caaaab4ef8def710f960b8ea96937f6a80fe060 | refs/heads/develop | 2021-06-13T00:02:03.872462 | 2018-02-13T21:51:15 | 2018-02-19T18:51:07 | 36,677,045 | 1,596 | 262 | NOASSERTION | 2021-05-24T17:29:17 | 2015-06-01T17:34:23 | C++ | UTF-8 | C++ | false | false | 314 | cpp | config.cpp | #include "services/fibers_to_sockets/config.h"
namespace ssf {
namespace services {
namespace fibers_to_sockets {
Config::Config() : BaseServiceConfig(true) {}
Config::Config(const Config& stream_forwarder)
: BaseServiceConfig(stream_forwarder.enabled()) {}
} // fibers_to_sockets
} // services
} // ssf |
b8a70d6bf685a30e3f96f879f030839029f049e7 | 534f411d538111f2da97103be1ec75f15ebdf797 | /mecpoqr.cpp | d8d83759c2057793ebc6561bd23f98830f34ea02 | [] | no_license | ArmMyan/Words | fb8cfe793f7d4e5c88ac8d883d686834e87bc9b2 | ab91a741b5ab1ada820e9b2eb32ebeb1f4a89d82 | refs/heads/main | 2023-06-12T13:52:43.255696 | 2021-07-14T12:35:31 | 2021-07-14T12:35:31 | 385,933,203 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 317 | cpp | mecpoqr.cpp | #include <iostream>
using namespace std;
int main () {
int size;
cout << "Enter words size: ";
cin >> size;
char arr[size];
cout << "Enter the word: ";
cin >> arr;
for (int i = 0; i < size; i++)
{
if (arr[i] >= 97)
{
arr[i] -= 32;
}
else
{
arr[i] += 32;
}
cout << arr[i];
}
cout << endl;
}
|
b69c2dce4370328510c46b32fa3fa3e5292e8a27 | 21bcedc4fa3f3b352f2a7952588d199a80f0d4a7 | /src/blink/TcpClient.h | 4c04d24833e8e8e88ee8a9c44830f514dd57e1ef | [
"BSD-3-Clause"
] | permissive | liyuan989/blink | c1a4ae4cb92a567ecdf4a12f1db0bec22a6f962a | 7a0d1367d800df78a404aeea13527cd9508fbf4d | refs/heads/master | 2016-09-05T11:13:37.503470 | 2015-04-14T11:35:40 | 2015-04-14T11:35:40 | 29,411,173 | 13 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,055 | h | TcpClient.h | #ifndef __BLINK_TCPCLIENT_H__
#define __BLINK_TCPCLIENT_H__
#include <blink/Nocopyable.h>
#include <blink/TcpConnection.h>
#include <blink/MutexLock.h>
namespace blink
{
class Connector;
typedef boost::shared_ptr<Connector> ConnectorPtr;
class TcpClient : Nocopyable
{
public:
TcpClient(EventLoop* loop, const I... |
73836ab0555b91100759a9e4fac8fa5cbf584f6f | 617a25be1df450b4eea55c12440315268adde10d | /Field2DJeung.cpp | 1d5701e9cdc6b32b7987b937e6f1634b6c5c4f49 | [] | no_license | ZhangMingdong/TrendDetectionVis | 34250407efd675bd8ca8fe4e64a7ab7b8152740c | 9a0aa01b2023250d1b0f3a42f525e33ba501957b | refs/heads/master | 2021-08-29T16:16:12.815141 | 2017-12-13T05:51:44 | 2017-12-13T05:51:44 | 111,173,115 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,963 | cpp | Field2DJeung.cpp | #include "Field2DJeung.h"
#include <algorithm>
#include <iterator>
#include <iostream>
#include <ctime>
using namespace std;
namespace FIELD2D {
Field2DJeung::Field2DJeung()
{
}
Field2DJeung::~Field2DJeung()
{
}
// detect the trend
void Field2DJeung::TrendDetect() {
clock_t begin = clock();
// clusteri... |
45f1eeadd70aa18e018658f8327fa757798a1961 | ad6e1f2e9bbefca3b94a609bb0faefeebd7bf12c | /me/render/MatrixFeed.cpp | d0c60c0cb9be965bb5526b0d88ee2ab54495f212 | [] | no_license | kit10us/MercuryEngine | c9842201b19abdc0bb093681834742925cf0d493 | e1951f223dc8908a4cf7884a8cdf73442b6bd760 | refs/heads/master | 2023-06-22T09:44:19.756924 | 2021-07-21T13:45:24 | 2021-07-21T13:45:24 | 206,671,692 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 953 | cpp | MatrixFeed.cpp | // Copyright (c) 2002 - 2018, Kit10 Studios LLC
// All Rights Reserved
#include <me/render/MatrixFeed.h>
using namespace me;
using namespace render;
MatrixFeed::MatrixFeed( const MatrixFoodBase & food, size_t stride )
: m_done{ false }
, m_stride{ stride }
, m_major_index{ 0 }
, m_minor_index{ 0 }
, m_food{ &f... |
12e93a126e6a12cc9f7103b6a92518bfa4467e2f | ec9897db458f932bbea0845f9f570224bb81d5ae | /multiProcDriver.cpp | 11be10ff613d8e52647385b94cb121b51936c68c | [] | no_license | Dragos-Marian/LITMUS | c0b45f5b1b414d314a51640d116e915f2955b02b | b4e8a54b14e6320a6ff9ca36e7647ab2bfd6aa3a | refs/heads/master | 2022-11-29T02:15:25.695223 | 2020-08-14T13:17:16 | 2020-08-14T13:17:16 | 279,056,497 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,424 | cpp | multiProcDriver.cpp | #include "multiProc.h"
#define MAXNOPROC 100
#define DEBUG 1
#define LO 1
#define HI 2
int maxNoOfProcessors;
int procReqd;
int noOfTasks;
int sysCriticality;
int maxCriticality;
int loCriticality = 1;
int hyperPeriod;
std::vector<int> processorTasks;
std::vector<int> periods;
int noOfLoTasks;
std::multimap<pair<doubl... |
e4d881ff16b2743c2ac318d1195bf0ecc9590b43 | 0220c90185efe664fe6877d27e1fcf5bd9610e41 | /Gbase/Events.cpp | 01107f4655d10203cd9847ab006b684f58aef06a | [] | no_license | gldraphael/GameBase | c5f047e7f5d039ccb860f7f9a1fd2d349d27bfda | 34ed6d3a3b4b190aab27fb4dfaab7c1398626182 | refs/heads/master | 2021-01-21T10:33:40.862507 | 2017-03-12T19:30:16 | 2017-03-12T19:30:16 | 83,448,029 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,373 | cpp | Events.cpp | #include "Events.h"
#include <SDL.h>
#include "Game.h"
//namespace GameBase
//{
#pragma region cdtor
Events::Events()
{
previousKey = SDLKey::SDLK_UNKNOWN;
Event = new SDL_Event;
//key_repeated = false;
}
Events::~Events()
{
delete Event;
}
//Copy Constructor
Events::Events(const Events &source)
{
if(source... |
2f86970d8b7e76750b17bf3f387db6f512fc92d4 | 5c3c559b9accafebcbd143f543ecf20dd4410269 | /Catastrophe/Game/camera debug render.cpp | 96918fe02dd533f48098f2f2217d88129e2430ea | [] | no_license | indianakernick/Catastrophe | cd2688af966755d934c20aafdb73562674071939 | 8b50525c43c4f6d6b034e98c1882ded492745458 | refs/heads/master | 2022-05-24T13:45:30.678733 | 2018-10-06T09:32:44 | 2018-10-06T09:32:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,836 | cpp | camera debug render.cpp | //
// camera debug render.cpp
// Catastrophe
//
// Created by Indi Kernick on 20/10/17.
// Copyright © 2017 Indi Kernick. All rights reserved.
//
#include "camera debug render.hpp"
#include "nanovg.hpp"
#include "camera.hpp"
#include "layer names.hpp"
#include "global flags.hpp"
#include "rendering context.hpp"
#... |
f72dd9aaa2093c6b1869b76301850a95d9870897 | 703d964eacf4f8b4599d6ea3bb0f0a9e6c5606ea | /CSee/LidarDevice.cpp | 1868e1cb8820f3664e3b791261294f64591aece3 | [] | no_license | MDHSRobotics/HolySee | 04d516ce61369cf0b574b303e26ff85a788f8818 | bc18b1278b0e719393e125509dd55f402311d927 | refs/heads/master | 2021-01-10T23:44:57.379157 | 2017-04-01T04:08:52 | 2017-04-01T04:08:52 | 69,712,930 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 32,425 | cpp | LidarDevice.cpp | #include "LidarDevice.h"
#include <chrono>
#define _USE_MATH_DEFINES
#include <math.h>
#include <thread> //for Unix
//#include <windows.h> //for Windows
#ifndef _countof
#define _countof(_Array) (int)(sizeof(_Array) / sizeof(_Array[0]))
#endif
void simulateFrame(Frame& frame);
LidarDevice::LidarDevic... |
028d16b946a5b37d8bcd572e0dc9ec43822caba4 | 6caded3fe4e999d3061a2f9bd44c704f80e53b52 | /C++/labo7/labo7/main.cpp | a3435bf98bc372836cdbbaf715e3013184098e7d | [] | no_license | Galliezb/exProgrammation | f0cce833764a4f9d98b9aecdb41ea2f11df658b1 | 9832f052c7df043ba4498b1c75445f8a5af58ce3 | refs/heads/master | 2021-01-13T05:50:02.195449 | 2017-06-08T06:13:08 | 2017-06-08T06:13:08 | 68,911,957 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,020 | cpp | main.cpp | #include "Ai.h"
void main(){
// creation d'une adresse
Address adr = Address(7,"rue des lapins vert","59685","CarotteVille");
// creation d'un Agence Immobiliere
Ai ai = Ai("056",adr,"056/56.56.56");
// creation d'un bien
Bien *b1 = new Maison(true,15);
Bien *b2 = new Appartement(10,150);
// creation des pe... |
5fb4e828459441715518370689a62cf88f4a9881 | e82a424711a34c72eb7d7604cffc55ef13e92742 | /Engine/Source/Insight/Runtime/Components/CSharp_Scirpt_Component.h | 10f331c113614fece10579304c3ce4f7b8536c7a | [
"Apache-2.0"
] | permissive | wangscript007/InsightEngine | 38e2d24f5d92bed342200a23174546249a4ccecd | 3d371faaad2c6d63328b18070ed7087638b58169 | refs/heads/master | 2022-12-10T17:24:58.336857 | 2020-08-09T00:19:48 | 2020-08-09T00:19:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,170 | h | CSharp_Scirpt_Component.h | #pragma once
#include <Insight/Core.h>
#include "Actor_Component.h"
#include <mono/metadata/debug-helpers.h>
namespace Insight {
class MonoScriptManager;
class INSIGHT_API CSharpScriptComponent : public ActorComponent
{
public:
public:
CSharpScriptComponent(AActor* pOwner);
virtual ~CSharpScriptCompone... |
fc43313283d502ea72c368c39b8a6289368ee4a1 | 1fdc3238fe3d59e7952665a117b4484dce35b1a5 | /VLSI PROJECT/size.cpp | a04bd480385b5c8aae31dece8230304d2c24a4e3 | [] | no_license | loganmcampbell/VLSI-CIRCUITS-AND-SYS | de0895085872ccf4b16a995484f40d231ee3e4d3 | 052af616901cd65c7dd1f64600e9e9d5952ab4b2 | refs/heads/master | 2020-03-29T23:43:31.389108 | 2018-12-12T22:29:58 | 2018-12-12T22:29:58 | 150,485,867 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 967 | cpp | size.cpp | #include <iostream>
#include <fstream>
using namespace std;
int linecount (string filename)
{
int count = 0; string lines;
ifstream input;
input.open(filename.c_str());
while (std::getline(input,lines))
{
++count;
}
input.close();
count - 1;
return count;
}
int main()
{
ifstream infile;... |
64b307f982e30eaa5ca7355b5a778e4cdd227456 | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir7941/dir22441/dir26975/dir27120/dir27263/file27288.cpp | 4a57653198fcb377383a1c9b5f3f6c2285c1a1e0 | [] | no_license | tgeng/HugeProject | 829c3bdfb7cbaf57727c41263212d4a67e3eb93d | 4488d3b765e8827636ce5e878baacdf388710ef2 | refs/heads/master | 2022-08-21T16:58:54.161627 | 2020-05-28T01:54:03 | 2020-05-28T01:54:03 | 267,468,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | cpp | file27288.cpp | #ifndef file27288
#error "macro file27288 must be defined"
#endif
static const char* file27288String = "file27288"; |
0aeb823cc7daa0621650874837429e6f6f297f15 | cdebeb889d6d7495efe5b747ff64e007d47bc8a9 | /game/src/PenguinCannon.cpp | 44f50157058bf52c590dcc3af94bd0324e0d8f0e | [] | no_license | EdgarFabiano/idj | ea0816e52a5a2b13789881ac28a6b4ed136535a7 | 72ef2c3672f7b85d033c71cbbd0aadbd488fd5ef | refs/heads/master | 2021-04-06T03:38:57.920746 | 2018-05-15T22:53:53 | 2018-05-15T22:53:53 | 125,245,771 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,805 | cpp | PenguinCannon.cpp | //
// Created by edgar on 25/04/18.
//
#include <Sprite.h>
#include <InputManager.h>
#include <Game.h>
#include <Bullet.h>
#include <Collider.h>
#include <Timer.h>
#include <Sound.h>
#include "PenguinCannon.h"
PenguinCannon::PenguinCannon(GameObject &associated, weak_ptr<GameObject> penguinBody) : Component(associate... |
44d7c28b40981fee03389b375d859073ae9ccc9a | d1ed4185904c093bda093a28fa6dd5de3e5695f9 | /src/common/test/test_term_parser.cpp | 5ef823c9df0e0b22942bc4db4f1d2f88d4d00171 | [
"MIT"
] | permissive | datavetaren/epilog | 7c31fc89f9428a5f14edf0eabf4550aa13ad7d99 | 7067a4cf5b62dd8eca3ab9395fbb1b85d95a9820 | refs/heads/master | 2023-07-23T22:57:41.040136 | 2021-08-26T10:45:07 | 2021-08-26T10:45:07 | 371,300,487 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,624 | cpp | test_term_parser.cpp | #include <iostream>
#include <fstream>
#include <iomanip>
#include <assert.h>
#include <common/term_tokenizer.hpp>
#include <common/token_chars.hpp>
#include <common/term_parser.hpp>
#include <common/term_emitter.hpp>
#include "test_home_dir.hpp"
using namespace epilog::common;
static void header( const std::string &... |
040b84ea07d32067c850f0de09a28d9900038fb0 | 32661cd29ed94213c567bcdc82887b1d85f0088f | /string/goat-latin.cpp | 7af24060a1bacec153f79c29a23f75ae2e04ee74 | [] | no_license | iamnidheesh/Leet-Code-Solutions | 5ae5116b279b0c4bbaccb6471189bd74cc263642 | d65d0c7395bea447244fa7e3950b1a8562c71abc | refs/heads/master | 2021-04-03T06:58:00.482698 | 2018-06-24T17:52:35 | 2018-06-24T17:52:35 | 124,734,912 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 814 | cpp | goat-latin.cpp | class Solution {
public:
string toGoatLatin(string S) {
string ans = "";
string a = "a";
for(int i = 0;i < S.size();i++) {
char k = tolower(S[i]);
if(k == 'a' || k == 'e' || k == 'i'
|| k == 'o' || k == 'u') {
while(i < S.size() && S[i] != ' ') {
... |
df81f2252ae93ce83816596cb5ab334114efea68 | fd2bc61cf4a887708c483444d1db6ca9c0029622 | /ParallaxBarrierLib/ParallaxBarrierModel.cpp | 3f8482da0f389f5dd480f49e8fc8a56fed520b2d | [] | no_license | szabalza/ParallaxBarrierLib | f1ad2ed04e70bda7ee018066f48b11f91db8192b | df2ea18f13db7c523d6e70c04468acf53b5bcfca | refs/heads/master | 2021-01-17T14:07:10.578868 | 2016-07-24T19:41:13 | 2016-07-24T19:41:13 | 17,323,424 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,156 | cpp | ParallaxBarrierModel.cpp | #include "ParallaxBarrierModel.h"
#include "ofGraphics.h"
ParallaxBarrierModel::ParallaxBarrierModel(): _width(1.f)
{
}
ParallaxBarrierModel::~ParallaxBarrierModel()
{
}
bool ParallaxBarrierModel::initialize(ofImage& leftImage, ofImage& rightImage, ofImage& screenImage, ofImage& barrierImage, float screenPixelWidth,... |
797e3735cf7e93edd3d801c9324bc8c8594e04e2 | 7bf5c360d9e2ba3a3730c04266fcd88721824725 | /render/gl/gl_buffer.cpp | 38b39dbc5aa44e72cd8d790374affd91eee8ee87 | [] | no_license | Qartar/quark | b773afd6a6882a6b25db5da4aa947fa9addf533a | 8c516816367f11f72c9c1b4d45fd8cd75cd4e5cf | refs/heads/master | 2022-06-14T10:56:39.564651 | 2020-07-31T17:21:10 | 2021-05-13T01:00:30 | 169,369,417 | 1 | 1 | null | 2019-10-18T06:16:27 | 2019-02-06T07:27:37 | C++ | UTF-8 | C++ | false | false | 7,591 | cpp | gl_buffer.cpp | // gl_buffer.cpp
//
#include "precompiled.h"
#pragma hdrstop
#include "gl/gl_buffer.h"
#include "gl/gl_include.h"
////////////////////////////////////////////////////////////////////////////////
namespace render {
namespace gl {
namespace {
//------------------------------------------------------------------------... |
8435966fedc6697044b0ccccde3cad06fb1adafc | 0cc0069216017c49699bf24ecff63cdd205d0edc | /source/Horse.cpp | ce6f1bb01dc3d5c3834258a64ffa7ae14b626410 | [] | no_license | whoami-memkid/oop-chess-framework | 0bacecb1bb9323b0b72e3764cde9c9f190aef254 | 963b307e2ef5e1b2c4e0b1c0840bc439ab663d73 | refs/heads/master | 2020-06-19T08:24:38.688633 | 2019-07-21T02:16:12 | 2019-07-21T02:16:12 | 196,637,737 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 55 | cpp | Horse.cpp | #include "../headers/Horse.h"
void Horse::move() {
}
|
fb72d369cda6033da24ac70c83b2114d74784cf5 | 13869b49ad997467bd30d32d74af8020c142d5e1 | /include/Option.h | c0c0ba1b7feba836f0cffab5744ed66004464af6 | [] | no_license | ageev-aleksey/compilers-lab4 | 0d859cdc0e0eb58ff32ef986f20122414e2dfa19 | 88cf216ed20e9ba6b2a2364bb01254e295b4acb8 | refs/heads/master | 2022-08-25T16:39:18.907484 | 2020-05-27T13:44:45 | 2020-05-27T13:44:45 | 266,346,381 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 475 | h | Option.h | //
// Created by nrx on 06.05.2020.
//
#ifndef OPTION_H
#define OPTION_H
template<typename T>
class Option {
public:
Option(T value) {
v = value;
ok = true;
}
Option(T value, bool isOk) {
v = value;
ok = isOk;
}
Option() {
ok = false;
}
bool isError()... |
a5030f5403aa94faa5bf13b1e67775f18cdd36b0 | b1c0a1117a62d5f049e189e041aa19a914be6dbd | /2012/11/26/cpp11.cpp | 80f6c1162f657d97f5bc7a8607b26f9f8630aad2 | [
"LicenseRef-scancode-public-domain"
] | permissive | lemire/Code-used-on-Daniel-Lemire-s-blog | 847451d3acbeb28a6a6d50c6686eb537a6fdff41 | c13fe68cdec26d45f688b5c58245fb428dc2ddb9 | refs/heads/master | 2023-08-31T09:55:12.275811 | 2023-08-31T00:33:59 | 2023-08-31T00:33:59 | 3,945,414 | 729 | 194 | null | 2023-09-04T07:50:21 | 2012-04-06T00:13:02 | C | UTF-8 | C++ | false | false | 726 | cpp | cpp11.cpp | #include <string>
#include <iostream>
#include <map>
#include <vector>
using namespace std;
// returns the greater common divisor
constexpr int gcd(int x, int y) {
return (x % y) == 0 ? y : gcd(y,x % y);
}
// because gcd is constexpr, the compiler
// can compute it at compile time.
enum {GCD4AND12 = gcd(4,12)}... |
57d1693fe9fe08f89d2f96471b7b3ec09327fef7 | 9e1f26bd14e574f8313ff5a86d2645ad3ca294a1 | /win_playground/src/resources/FileParser.h | b98ec52f8090548b7b1a84b0224256d39dbea5b7 | [] | no_license | leandrolillo/dev | d4431887c138ea5b3f7c0b51e9966b4eda054bc1 | fca889422871e9d80aaaa6857bf3717063c996ce | refs/heads/master | 2023-04-30T08:37:49.212799 | 2023-04-17T13:04:38 | 2023-04-17T13:04:38 | 7,986,331 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 5,012 | h | FileParser.h | /*
* FileParser.h
*
* Created on: 03/02/2013
* Author: Lean
*/
#ifndef FILEPARSER_H_
#define FILEPARSER_H_
#include "core/javaLike.h"
#include "log/Logger.h"
#include "exceptions/InvalidArgumentException.h"
#include <string>
#include<stdio.h>
#define eof "ÿ"
#define eol "\n"
class FileParser {
private:
... |
3e34eb6e935034ad51cc6c031ada3a7b977e37e3 | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /ocr/src/v20181119/model/BusInvoice.cpp | afcbe6ae03bd30d22308f3b52d0f06a15f2f7104 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 21,202 | cpp | BusInvoice.cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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
... |
d9f8756b4d06baa5d7fc14c182e57737b8304009 | 3a27fe728d0dba2f766fffd37544937b9da73419 | /Solutions/Math/74Searcha2DMatrix.cpp | 765a112ed3272c227b8a74a0a15dcc3fe10a23cd | [] | no_license | LIUHUANUCAS/leetcode | f43fe193395b67a1d907f9fa485a898d3b2be081 | 18deb4820271db1ed5d9a84bd894d6c8f48baa2a | refs/heads/master | 2021-01-17T10:34:44.045745 | 2017-07-02T03:22:18 | 2017-07-02T03:22:18 | 39,435,731 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,911 | cpp | 74Searcha2DMatrix.cpp | #include<iostream>
#include<vector>
#include <cstdlib>
#include<iterator>
using namespace std;
/**
doc
Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:
Integers in each row are sorted from left to right.
The first integer of each row... |
ed813e0835bd17d1dc0aa47405a0a68c23204b46 | c5f19d6d33b2670c6a9dfc3324228648f0e98be7 | /maxSum_of_SubArray.cpp | 37721d565804eed3d84a5a6df3377604cf1bd7fc | [] | no_license | ballwql/algorithm | a5546757f869b501975d80aa3cffd52a88a2d15f | 41951753578ebf25b47bc8846219a2a624ccb0d4 | refs/heads/master | 2021-01-17T06:27:49.985372 | 2014-03-18T13:07:08 | 2014-03-18T13:07:08 | 17,865,705 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 473 | cpp | maxSum_of_SubArray.cpp | //the max sum of sub array:
#include <iostream>
using namespace std;
int main()
{
int a[]={1,-2,3,10,-4,7,2,-5};
int maxSum=0,tmpSum=0,bInx=0,eInx=0;
for(int i=0;i<8;++i)
{
if(tmpSum<=0)
{
tmpSum=a[i];
bInx=i; //begin index of sub array
}
else
tmpSum+=a[i];
if(tmpSum>maxSum)
{
maxSum=tmpSum;... |
f8cc645ee0d8461716e9fd8ca6b4424660bb1af2 | c95a82053d61daaefa8c5d654490afa20d6d45ce | /Dp/0-1knapsack.cpp | 6f6052a8f76c06bbc066abbe490d916905a2895f | [] | no_license | ShivaBansfore-JGEC/InterviewQuestion | 8aef988296735d72c3bdcabb9e880f9df1265cec | 7841c77e0d7557ff7e15a7634d0c85ad3ebdd438 | refs/heads/main | 2023-01-18T15:43:13.092051 | 2020-12-08T18:20:09 | 2020-12-08T18:20:09 | 319,723,898 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 663 | cpp | 0-1knapsack.cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
int n;
cin>>n;
int values[n];
for(int i=0;i<n;i++) cin>>values[i];
int wt[n];
for(int i=0;i<n;i++) cin>>wt[i];
int cap;
cin>>cap;
int dp[n+1][cap+1];
for(int i=0;i<=n;i++){
for(int j=0;j<=cap;j++){
if... |
8fa7f3b9fbf730db2e1e2c4a74c9bccc2e06a048 | 33f1b5f6afa115be45cade93479bb7fbc33e7da0 | /CodeForces/939D/12744664_AC_15ms_3032kB.cpp | 472f521613b84ee49540b66998105f235c0766ee | [] | no_license | showmic96/Online-Judge-Solution | 3960c37a646f4885210c09096c21dabd7f2154d2 | 94c34e9db2833fb84d0ac885b637dfebac30a5a2 | refs/heads/master | 2022-11-26T09:56:58.469560 | 2020-08-02T04:42:33 | 2020-08-02T04:42:33 | 230,185,618 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 903 | cpp | 12744664_AC_15ms_3032kB.cpp | // In the name of Allah the Lord of the Worlds.
#include<bits/stdc++.h>
using namespace std;
int par[26];
char ar[1000005];
int Find(int x)
{
if(par[x]==x)return x;
return par[x] = Find(par[x]);
}
void Union(int x , int y)
{
int px = Find(x);
int py = Find(y);
par[py] = px;
}
int main(void)
{
... |
159c56f3706ae213321e2b1ffac995801fe5dc0b | 1b7fc575dd210a4b0b40855e4f58daafe219cb7b | /Buppanretsu/arrows/main.cc | 42bacebf78e1c523b84f6e27c1e0d52a35d132d4 | [] | no_license | satellitex/rupc2016 | 297765546f3f68379a83bfb306f0d1b6bb723594 | d57856598c9d4a4924e6f18594731103104c3963 | refs/heads/master | 2020-04-12T19:13:40.784517 | 2016-03-07T13:39:27 | 2016-03-07T13:39:27 | 51,900,934 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,093 | cc | main.cc | #include <bits/stdc++.h>
using namespace std;
int main()
{
int W, H, N;
cin >> W >> H >> N;
vector<int> p(N);
for (int i = 0; i < N; i++) {
cin >> p[i];
}
int ux = 0, uy = 0, ud = 0;
int rx = 0, ry = 1, rd = 0;
// right down left (up)
const int dx[] = {+1, +0, -1, +0}... |
0b935cc3d7b6a2a586f3ca8d465993508b0f004a | 543baf3f63e6a6b47534b524e54fa90c37613959 | /codeforce/96/t.cpp | 8c9d38c2d084ee58fbfb9571fc310990cb27d5f5 | [] | no_license | funtion/algorithmProblems | ac9341f9fc5233cffe51d2140404983763b66265 | dd27afc25670ea3ad2a681dc382a3e500e530c1a | refs/heads/master | 2020-05-04T05:15:44.150235 | 2014-01-12T10:53:27 | 2014-01-12T10:53:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 334 | cpp | t.cpp | #include<vector>
#include<iostream>
class t{
public:
t(){
throw 1;
}
};
void test(){
//std::vector<t> vt;
//vt.push_back(t());
//vt.push_back(t());
t t1;
t t2;
}
int main(){
try{
test();
std::cout<<"test\n";
}catch(...){
std::cout<<"catch\n";
}
... |
7589277a3004ee0fd3a575b28c3725d5ed6589fa | 370881312084d8d2ce0f9c8dce147b81a3a9a923 | /Game_Code/Code/CryEngine/CryAction/Mannequin/ProceduralClipEvent.cpp | 7ed20228800a44de5a503ab0388080d0569a3a6a | [] | no_license | ShadowShell/QuestDrake | 3030c396cd691be96819eec0f0f376eb8c64ac89 | 9be472a977882df97612efb9c18404a5d43e76f5 | refs/heads/master | 2016-09-05T20:23:14.165400 | 2015-03-06T14:17:22 | 2015-03-06T14:17:22 | 31,463,818 | 3 | 2 | null | 2015-02-28T18:26:22 | 2015-02-28T13:45:52 | C++ | UTF-8 | C++ | false | false | 946 | cpp | ProceduralClipEvent.cpp | ////////////////////////////////////////////////////////////////////////////
//
// Crytek Engine Source File.
// Copyright (C), Crytek Studios, 2011.
//
////////////////////////////////////////////////////////////////////////////
#include "StdAfx.h"
#include "ICryMannequin.h"
#include <CryExtension/Impl/ClassWeaver... |
b8c50109e3efaa194ff0cf3a89b1c1e6d25e6fa3 | 34b3623dbd185b9d8e6bc5af787ff656ebb8f837 | /finalProject/results/realisticVelo (FINAL SIMS)/spline2/7/p | 3e1408f68d9284f1e64f3bf83a6651971d43a169 | [] | no_license | kenneth-meyer/COE347 | 6426252133cdb94582b49337d44bdc5759d96cda | a4f1e5f3322031690a180d0815cc8272b6f89726 | refs/heads/master | 2023-04-25T04:03:37.617189 | 2021-05-16T02:40:23 | 2021-05-16T02:40:23 | 339,565,109 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,160,762 | p | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | |
5506b5f2b8ab2f151b88ab229dcc2a51af1e38aa | da1500e0d3040497614d5327d2461a22e934b4d8 | /cobalt/browser/screen_shot_writer.cc | 5e639c37d5eeb0524b8df5553d07aef8499fedfc | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | youtube/cobalt | 34085fc93972ebe05b988b15410e99845efd1968 | acefdaaadd3ef46f10f63d1acae2259e4024d383 | refs/heads/main | 2023-09-01T13:09:47.225174 | 2023-09-01T08:54:54 | 2023-09-01T08:54:54 | 50,049,789 | 169 | 80 | BSD-3-Clause | 2023-09-14T21:50:50 | 2016-01-20T18:11:34 | null | UTF-8 | C++ | false | false | 5,352 | cc | screen_shot_writer.cc | // Copyright 2015 The Cobalt Authors. All Rights Reserved.
//
// 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 ap... |
f04d6c282597aeb43902bcc4544ca347a9921450 | d5cb0e3a8fc1f9522954e453e238481b9406d978 | /fyp-evolutionary-art/core/opencl.cpp | abe3b963589073161798ab4dc75e23412cd25471 | [
"MIT"
] | permissive | baccka/fyp-evolutionary-art | 831c1acf761df6d028d5a5316101b4a1828a608e | dac828e229aee4e8975c297d2021a897a30737cc | refs/heads/master | 2016-08-11T23:10:13.172034 | 2016-04-17T22:33:50 | 2016-04-17T22:33:50 | 55,785,020 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,415 | cpp | opencl.cpp | #include "opencl.h"
#include "image.h"
#include <iostream>
#include <fstream>
#include <cassert>
namespace core {
CLComputeProvider::CLComputeProvider(std::string resourcePath) : resourcePath(resourcePath) {
std::vector<cl::Platform> all_platforms;
cl::Platform::get(&all_platforms);
if (all_platforms.size() == 0)... |
ca759b4184122b176c5bc2be7e4f7025087cc86b | 5a395737abad64692074db89301411d028ca4564 | /homework1_cpp/start_with_a.cc | 655bc8a7dea2dc4f45621ad4a7baadedd138e430 | [] | no_license | makotoshimazu/step-lecture4 | c21a3825231993d01f1b312a68291af618218e29 | feacc62c98d704f78e6ad678c161f082eca1cc82 | refs/heads/master | 2021-03-30T17:08:30.296621 | 2020-06-11T23:29:02 | 2020-06-11T23:29:02 | 94,413,829 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,700 | cc | start_with_a.cc | //! clang++ -std=c++14 -Wall -Wextra start_with_a.cc
#include <sys/time.h>
#include <cstdio>
#include <algorithm>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <vector>
constexpr char kNicknamesTextPath[] = "nicknames.txt";
class Timer {
public:
Timer(const std::string& tag) : tag_(tag) {
... |
430e9b4b66106a5d665d5b250b3a673a502773df | b367fe5f0c2c50846b002b59472c50453e1629bc | /xbox_leak_may_2020/xbox trunk/xbox/private/vc6addon/Loc/VCMunge/Jpn/MfcApWz/Res/WndView.Cpp | 124c7327e36d7179fd11dc1882280339f7cac350 | [] | no_license | sgzwiz/xbox_leak_may_2020 | 11b441502a659c8da8a1aa199f89f6236dd59325 | fd00b4b3b2abb1ea6ef9ac64b755419741a3af00 | refs/heads/master | 2022-12-23T16:14:54.706755 | 2020-09-27T18:24:48 | 2020-09-27T18:24:48 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,417 | cpp | WndView.Cpp | // $$wndview_ifile$$.cpp : $$WNDVIEW_CLASS$$ クラスの動作の定義を行います。
//
#include "stdafx.h"
#include "$$root$$.h"
#include "$$wndview_hfile$$.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
///////////////////////////////////////////////////////////////////////... |
24b47698ed98c2d8f385948a1c965f41d3e267aa | 0f8f34958bcd6919afe6a9a050a669fe196c3246 | /Vjudge/UVA/11764/21779183_AC_0ms_0kB.cpp | 7e98a121de28671a39f5ca62b18424a27267faa3 | [] | no_license | mahmudulhn/SolvedProblem | cb137bd8aa18911ba9897e5fc2ffcdb584d7afa8 | a948294376c2c2c863807c35d8f65677cd1c7592 | refs/heads/main | 2023-08-17T21:37:06.254489 | 2021-10-10T14:34:29 | 2021-10-10T14:34:29 | 401,106,714 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 639 | cpp | 21779183_AC_0ms_0kB.cpp | #include<bits/stdc++.h>
using namespace std;
void solve(){
//freopen("in.txt","r",stdin);
int tc;
while(cin>>tc){
for(int i=1;i<=tc;i++){
int n,h=0,l=0;
cin>>n;
int temp=0;
for(int j=0;j<n;++j){
int x;
cin>>x;
... |
4d4457ae7ee058bd855af497d6bea3ca461c0291 | dc933e6c4af6db8e5938612935bb51ead04da9b3 | /android-x86/external/opencore/fileformats/mp4/composer/src/initialobjectdescriptor.cpp | 7de883594d268f3b4392910fc19ca7a9aa4c6085 | [] | no_license | leotfrancisco/patch-hosting-for-android-x86-support | 213f0b28a7171570a77a3cec48a747087f700928 | e932645af3ff9515bd152b124bb55479758c2344 | refs/heads/master | 2021-01-10T08:40:36.731838 | 2009-05-28T04:29:43 | 2009-05-28T04:29:43 | 51,474,005 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,180 | cpp | initialobjectdescriptor.cpp | /* ------------------------------------------------------------------
* Copyright (C) 2008 PacketVideo
*
* 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/li... |
fa03093aa5a18b5f45a904503c05e8369b9c5807 | 261ff029c1355a8a1f74a46f76155bc44ca2f44b | /Client/Headers/Defines.h | a92b593e145edf47c6534cdb4d66abb482fafa00 | [] | no_license | bisily/DirectX3D_Personal_-portfolio | 39aa054f60228e703a6d942a7df94a9faaa7a00a | e06878690793d103273f2b50213a92bdfb923b33 | refs/heads/master | 2022-11-26T11:51:29.985373 | 2020-08-04T09:17:09 | 2020-08-04T09:17:09 | 284,932,529 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 270 | h | Defines.h | #ifndef Defines_h__
#define Defines_h__
#include "../Default/stdafx.h"
using namespace std;
#include "Typedef.h"
#include "Macro.h"
#include "Function.h"
#include "KeyMgr.h"
#include "SoundMgr.h"
extern HWND g_hWnd;
extern HINSTANCE g_hInst;
#endif // Defines_h__
|
c021a4c1c5289f4949e0c640bddeeaef311dac39 | 8b461323d1dfc94e3d5ef3449cc8fcce7ee9de77 | /Server/系统模块/服务器组件/私人场服务/FangKaHttpUnits.h | e08fcdce8402291ad5c0acb1a31e54c8bed48739 | [] | no_license | Crasader/18_TTL | 5c324623207fff1c187f8d26a9cdc5097e105850 | 4489bd5cfcf10eb9ebf4232cde822c40f5be6960 | refs/heads/master | 2020-12-12T03:19:21.529121 | 2019-01-25T05:00:11 | 2019-01-25T05:00:11 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,756 | h | FangKaHttpUnits.h |
#pragma once
#include "Stdafx.h"
//·þÎñµ¥Ôª
namespace FangKaHttpUnits
{
template<typename T>
inline std::wstring toString (T p)
{
std::wostringstream stream;
stream << p;
return stream.str();
}
template<typename T>
inline T parseValue( const std::wstring& _value )
{
std::wistringstream stream(_value... |
00ec77d9a3320418375b00c05d342cbde0bc7e21 | 3fea9571323be66c0cbcb315700468d092a58c09 | /CIDTest/CIDTest.ino | cd40576b190699b3988812550610e4cc651b500e | [] | no_license | lubja/Arduino | 48bca33a99347e16857b568f63faff24a514071c | 7a4ac8f6e486c463f7d8ccb44a574de4621c643f | refs/heads/master | 2021-01-17T09:55:49.511318 | 2017-03-05T19:07:10 | 2017-03-05T19:07:10 | 83,994,829 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,386 | ino | CIDTest.ino | /*
Basic instructions for recording data in an SD Card in native mode
The SD card (3.3 V) must be properly interfaced to Arduino (5 V)
The typical procedure is:
Initialize SPI
Initialize SD Card
START
-Blank vector of data (vBlock)
-Record data in vector of data
-Copy data from vector to CSD card
GOTO START
At your ... |
a3a7495ed252341514d1200af539864f88f80671 | 8e4b50ebb08ffc22637b13a5324ad512f5b059d8 | /include/Chord.h | 88f7aefb7f162ff55c0f9fa6a6a3cabdb7f897e9 | [
"MIT"
] | permissive | pacificr/MusAI | 674dce6e256b2af061dd4c1c330e159258ce58d6 | ac015359480147a0e2db8e9aaf8c5ffd5b6d498a | refs/heads/master | 2020-05-16T21:28:27.354737 | 2019-05-11T13:30:41 | 2019-05-11T13:30:41 | 183,307,122 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 337 | h | Chord.h | #pragma once
#include "Scale.h"
#include <vector>
class Chord
{
private:
std::vector<int> mChordDegrees;
public:
bool mUseScale;
int mStartingScaleDegree;
Chord(const std::vector<int>, bool useScale = true, int startingScaleDegree = 0);
int resolveDegree(int, Scale&) const;
unsigned int ... |
7137a1a4709ab283a62a49604a12e69834a52edc | ac1080b40c862c84a54d820c3f95da64110f31a5 | /mainwindow.h | c8655faf346e653536d2972d22e557f7fd1085c0 | [] | no_license | IntechServers/admintool | eca0202a437c0c44c1a4d50aa017325a0e1cae99 | 0384b73cd71fac1bb87fa466d8112a849e054678 | refs/heads/master | 2020-07-26T09:38:50.017387 | 2016-11-13T00:58:48 | 2016-11-13T00:58:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,271 | h | mainwindow.h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QDebug>
#include <QMainWindow>
#include <QSplitter>
#include <QStringList>
#include <QHostAddress>
#include <QTableWidget>
#include <QMutableListIterator>
#include "query.h"
#include "serverinfo.h"
#include "loghandler.h"
enum AddServerError
{
AddServerError_Non... |
0716d8ae01be9dccaee64773882f2b9211c81b2f | c6c8bf3525698a8184fde1b5439a24744970512d | /searchsummary/src/tests/extractkeywords/simplequerystackitem.cpp | f12822949f9c8be0dfe6e848c37f04d29253e88c | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | socratesone/vespa | 0df03ece09de001942232300de23f8db13a38e45 | 7ee52b93cbae2695cf916c9b2941361b35b973f1 | refs/heads/master | 2023-03-16T23:35:10.953427 | 2021-03-17T02:41:56 | 2021-03-17T02:41:56 | 305,143,840 | 1 | 0 | Apache-2.0 | 2021-03-17T02:41:56 | 2020-10-18T16:18:57 | null | UTF-8 | C++ | false | false | 6,068 | cpp | simplequerystackitem.cpp | // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "simplequerystackitem.h"
#include <vespa/vespalib/objects/nbo.h>
#include <vespa/vespalib/stllike/asciistream.h>
#include <cassert>
namespace search {
SimpleQueryStackItem::SimpleQueryStack... |
cbbc89c01309a0acc58e19256628b8e4a6424616 | b8a833801aa3f3618a4a68c1936299f8bd270038 | /src/gpre/pat.cpp | e12ee1a0986afbc74d7edffaedde6403185d6741 | [] | no_license | FirebirdSQL/firebird | 039a84a81ea089852ad36339e44256c85dbf5b10 | 1973d01f396196d18f284114bd2905ac4dcfeb94 | refs/heads/master | 2023-09-01T21:34:39.835826 | 2023-08-31T20:13:52 | 2023-08-31T20:13:52 | 54,005,538 | 1,192 | 303 | null | 2023-09-14T16:12:28 | 2016-03-16T06:10:37 | C++ | UTF-8 | C++ | false | false | 9,710 | cpp | pat.cpp | //____________________________________________________________
//
// PROGRAM: Language Preprocessor
// MODULE: pat.cpp
// DESCRIPTION: Code generator pattern generator
//
// The contents of this file are subject to the Interbase Public
// License Version 1.0 (the "License"); you may not use this file
// except i... |
d341538b83f39d5c395a69ab82c9a64811b1b1d0 | 1db3b01e05196839c23bc565f97c9865b5d7464f | /Chooser.hpp | 83152ac969ca0a477350999bc71984e2f6b410c4 | [] | no_license | DanaSMor/MasterMind | 112ae27f8c1aaf1b936c8eaadc15fc73b07f51ce | f9c6f783d1c0b217a49419764a926c52f7897228 | refs/heads/master | 2020-05-12T16:27:05.510401 | 2019-04-16T16:52:52 | 2019-04-16T16:52:52 | 181,535,236 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 214 | hpp | Chooser.hpp | #pragma once
#include <string>
using std::string;
namespace bullpgia{
class Chooser {
public:
//Chooser(const string& constantString) { myString = constantString; }
virtual string choose(uint length) =0;
};
} |
642b990c18aa6ed5ec950f035297f577149e3da2 | 7c1ed8d661c6e936d1f9bc6be7c570cd6d03ab4c | /mainwindow.cpp | 5985ec1d26a8a23b17a8b7a25ba5489897b93c5c | [] | no_license | wudengfeng/Drawing | 4c3f4ce3cdf135bda20f5091469bc697efd984cf | c0ae14231e577bf07ebc17f488c9a177dbe14fdb | refs/heads/master | 2021-01-20T16:05:21.865079 | 2016-07-29T03:47:03 | 2016-07-29T03:47:03 | 64,378,525 | 12 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 995 | cpp | mainwindow.cpp | #include <QtWidgets>
#include "mainwindow.h"
MainWindow::MainWindow(QWidget *parent)
: QStackedWidget(parent)
, index(0)
{
QStringList list;
list << ":/resources/Chrysanthemum.jpg" << ":/resources/Desert.jpg"
<< ":/resources/Hydrangeas.jpg" << ":/resources/Jellyfish.jpg"
<< ":/resourc... |
a1cda2bf749d06c63b33c499c63cbbd95781aa3d | cdad847cff684cb5a298ed9cfd8e537e37cfcf7c | /src/entity/camera/camera.cpp | 6af68f485d212682856f88e9e5db9c2c5e110ae1 | [] | no_license | shivarao96/MineCraft-Clone | 2443a2546930324c30a3613c75bfd7789156a101 | 1e73b0cc61124375c0d73e7ab9c7890d2aa1b6fc | refs/heads/master | 2023-04-13T15:04:45.882936 | 2021-04-26T15:47:33 | 2021-04-26T15:47:33 | 339,742,078 | 0 | 0 | null | 2021-04-26T15:47:34 | 2021-02-17T14:02:20 | C++ | UTF-8 | C++ | false | false | 1,014 | cpp | camera.cpp | #include "camera.h"
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
Camera::Camera() {
m_projectionMatrix = glm::perspective(glm::radians(45.0f), (float)(1280 / 768), 0.1f, 1000.0f);
}
void Camera::hookEntity(const Entity& entity) {
m_pEntity = &entity;
}
void Camera::update() {
m_position ... |
b63231381f1346418f45490c82121fa6242489b6 | a814e35fdfc255852562b5451f920060a7032a6e | /main.cpp | 7483a7fed3943cb35b6114a4719d80f29ba629ca | [] | no_license | ernuan/webNotice | 65e0521530aeef130a418c6101078e0d08c46217 | 5771da14fb7a03f22f2d0487f48604b072fa3dc2 | refs/heads/master | 2021-04-29T20:36:52.382525 | 2018-02-12T09:16:44 | 2018-02-12T09:16:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 488 | cpp | main.cpp | #include <QApplication>
#include <QQmlApplicationEngine>
#include <QtWebEngine/QtWebEngine>
#include "./window.h"
int main(int argc, char *argv[])
{
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication app(argc, argv);
QtWebEngine::initialize();
QQmlApplicationEngine engine;
Wi... |
e7872ecbc81c917ee749470ab21e8cd75bb4617f | a437f17a9254164d4d291773bf13c8ee67161cf1 | /PDD1_ver2_rev61_exp/gpio.h | e5c712614d20c1e156ebdb340b61c817f4b1a81c | [] | no_license | bmit-pune/PDDV2_GUI | ba789a8bf67eb052a0291e2108919c36dad68949 | 025d7eb7cc658265d8783e6c42ad580ce166b2c3 | refs/heads/master | 2021-01-12T11:06:17.971110 | 2017-01-27T05:25:45 | 2017-01-27T05:25:45 | 72,822,655 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,920 | h | gpio.h | #ifndef GPIO_H
#define GPIO_H
#include <QWidget>
//#include <types.h>
#include <QDebug>
#include <stdio.h>
#include <stdlib.h>
#include <QString>
#include <QLabel>
#include <QString>
#include "stdbool.h"
#include <unistd.h>
#include <time.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <... |
98975157db274a398f761c11113b9ba19d436332 | 38408dd434d1d191fa73f0ebdc90877d31d41f7d | /SystemInfo/main.cpp | 668b4b4ca114b4df313f006d431531ccd9394f60 | [] | no_license | ben-levinson/CPU-Info | cba2422affc4e9160dc2aa5b8f53443d7593fecd | dfa0a3762ba757cd2c25b21ff3cf858e8f777de1 | refs/heads/master | 2021-07-01T03:11:34.492559 | 2017-09-21T19:37:36 | 2017-09-21T19:37:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,365 | cpp | main.cpp | #include <iostream>
#include <string>
#ifndef map
#include <map>
#endif
#include "CPUInfo.h"
const std::map<int8_t, std::string> TO_HEX =
{
{10, "A"},
{11, "B"},
{12, "C"},
{13, "D"},
{14, "E"},
{15, "F"}
};
void PrintISAExtensions(CPUInfo c)
{
std::cout << "SSE3 Supported: " << (c.SSE3() ? "True" : "False"... |
1aa1c2a83dbe4b47d4a634b9d1779c828347a59a | 37860b1135d21e1af386ad414ce1ed192f23717b | /ks2017/practice/B.cc | 81d38403e550e61c746ac22a6d22c4576f2f44e0 | [] | no_license | bnuzhanyu/GCJ | d9e42882ef45908efd17b168c5c451f55524b872 | db6a156be737349c8c35445bad8f3d8ff0ddc81e | refs/heads/master | 2022-07-01T05:16:00.920563 | 2022-05-16T05:53:11 | 2022-05-16T05:53:11 | 83,320,956 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,027 | cc | B.cc | #include <iostream>
#include <string>
using namespace std;
double dp[2][4000] = { 0 };
struct Problem{
int N, M;
void read(){
cin >> N >> M;
}
void solve(int ca){
printf("Case #%d: ", ca);
memset(dp, 0, sizeof(dp));
dp[1][1] = (double) N / (N + M);
int cur = 0;
for (int i = 2; i <= N + M; i... |
0cf60c4e1679624629e578e4419c59ba4586c177 | 3db48713c39b90d5967615e3d1c874d88055ba70 | /tests/std/tests/P0156R2_scoped_lock/test.cpp | 2bedbcaf70946a174d3b04b7162d642b5cae0941 | [
"Apache-2.0",
"LLVM-exception",
"LicenseRef-scancode-object-form-exception-to-mit",
"LicenseRef-scancode-unicode",
"MIT",
"LicenseRef-scancode-mit-old-style",
"LicenseRef-scancode-other-permissive",
"CC0-1.0",
"BSL-1.0",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-generic-cla",
"... | permissive | microsoft/STL | 4b1a6a625402e04b857e8dfc3c22efd9bc798f01 | 6c69a73911b33892919ec628c0ea5bbf0caf8a6a | refs/heads/main | 2023-09-04T08:50:17.559497 | 2023-08-31T16:49:43 | 2023-08-31T16:49:43 | 204,593,825 | 9,862 | 1,629 | NOASSERTION | 2023-09-14T21:57:47 | 2019-08-27T01:31:18 | C++ | UTF-8 | C++ | false | false | 10,025 | cpp | test.cpp | // Copyright (c) Microsoft Corporation.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#include <atomic>
#include <cstdlib>
#include <iostream>
#include <mutex>
#include <thread>
#include <type_traits>
#include <utility>
#define STATIC_ASSERT(...) static_assert(__VA_ARGS__, #__VA_ARGS__)
usi... |
6e4ba98cd539b67c72ed9cc90cd38dfeec3a8dc7 | a5326808e3b958163af2c6123d233d791e0b012d | /src/Renderer/OGRERenderer/OgreRenderer.cpp | 9bfa63aefb149e8062033fed78bd5e4196cfad27 | [] | no_license | sebhd/spaceroads | 2bb6fb9d52277baca1b44051f45baeee4ae6e91c | 32a4ca4341d2c6e966ae698da2af8cc52f4c856a | refs/heads/master | 2021-01-10T19:31:42.331710 | 2012-09-24T10:04:15 | 2012-09-24T10:04:15 | 4,443,529 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 19,686 | cpp | OgreRenderer.cpp | /*
* OgreApplication.cpp
*
* Created on: 24.04.2012
* Author: sebastian
*/
// TODO 1: Fix wrong camera orientation after reset when gravity vector was changed during previous run
// TODO 4: Implement "classic" camera that doesn't translate left/right ...
// with the vehicle but stays in the centerline of th... |
06358f6f15ec657b7b2d4d91ad684e2ae2daff17 | 40ac4059db3763d47198837f76c916483cdc6f62 | /imageManager.h | 0bb762485db9fa9b2f843c60b1fc310b1f876bfc | [] | no_license | tpgns139/TeamProject-SecretOfGrandia | b340f6173ed6c7a80671e9b106b412f7cd289870 | 6a8afeebaa6a3e41cb4ac50cb69c81fd3afe20f3 | refs/heads/master | 2020-12-22T06:48:47.852447 | 2020-02-26T08:53:04 | 2020-02-26T08:53:04 | 236,700,522 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 507 | h | imageManager.h | #pragma once
#include"image.h"
#include"singletonBase.h"
class imageManager :public singletonBase<imageManager>
{
private:
std::unordered_map<std::string, image*> _imageMap;
std::unordered_map<std::string, image*>::iterator _iTImageMap;
public:
imageManager();
~imageManager();
HRESULT init();
virtual void relea... |
a5329e1201e65501c626cd138c4106b9098abfc2 | 5db5a5a053ef2c572c115f4ac36bfefa00e28379 | /ZOJ/ZOJ2112.cpp | 6e376af0e7eda71ce61af51d2a5426bd250451cd | [] | no_license | CaptainSlowWZY/OI-Code | 4491dfa40aae4af148db2dd529556a229a1e76af | be470914186b27d8b24177fb9b5d01d4ac55cd51 | refs/heads/master | 2020-03-22T08:36:19.753282 | 2019-12-19T08:22:51 | 2019-12-19T08:22:51 | 139,777,376 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,015 | cpp | ZOJ2112.cpp | #include <cstdio>
const int kMaxn = 7e4 + 5, kInf = 0x3f3f3f3f;
struct Oper {
int l, r, val, id;
} O[kMaxn];
int n, m, toto, totq;
int last[kMaxn], ans[kMaxn];
char IN[5];
void Solve(int ql, int qr, int vl, int vr);
int main() {
int t;
for (scanf("%d", &t); t--; ) {
scanf("%d%d", &n, &m);
toto = totq = 0;
... |
0fd95d01251e69dcb788f3cf7ca990ca5eee4ebf | 04bc908edb95f7b7ad867e40e81b2342928b77ae | /include/cnbiros_robotino/Base.hpp | 4f49e892cf5771d4c6d0356fe3af9b4dbffec251 | [] | no_license | millanlaboratory/cnbiros_robotino | c1ec9a4636df49934c8eeab62d81ff80e95ddac1 | a7b15c0379b2e2b4f5e5e80e471c6804f80a58c3 | refs/heads/master | 2020-05-24T08:19:26.970920 | 2018-02-27T16:33:06 | 2018-02-27T16:33:06 | 187,181,578 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 960 | hpp | Base.hpp | #ifndef CNBIROS_ROBOTINO_BASE_HPP
#define CNBIROS_ROBOTINO_BASE_HPP
#include "cnbiros_core/NodeInterface.hpp"
#include "cnbiros_robotino/Communication.hpp"
#include "cnbiros_robotino/CommService.h"
namespace cnbiros {
namespace robotino {
class Base : public cnbiros::core::NodeInterface {
public:
Base(ros::Node... |
80306ac273f9b455670369944bc5d92fbdf722c5 | f5284ff5354764bfa4343f3190e727adb6f7b6f8 | /Project Folder1/cardinal/cardinal/Classes/HelloWorldScene.cpp | 09c213846fc8a8c19694f2891742c93b7a8d25d1 | [] | no_license | wzit/Projects-cocos2dx-Games-Mine | 41e7041c591b9e0c3d0e568ad3803857a57797f7 | 164ec8e3d9fa86a4201926dfc48f32eda675d607 | refs/heads/master | 2021-01-17T16:06:50.771593 | 2015-03-25T08:53:00 | 2015-03-25T08:53:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,618 | cpp | HelloWorldScene.cpp | #include "HelloWorldScene.h"
#include "SimpleAudioEngine.h"
using namespace cocos2d;
using namespace CocosDenshion;
CCScene* HelloWorld::scene()
{
// 'scene' is an autorelease object
CCScene *scene = CCScene::create();
// 'layer' is an autorelease object
HelloWorld *layer = HelloWorld::create();
... |
20d7c0468c766ba63ce57195f573f604950a9af5 | 4540b627dfeda33422e49e89b44ce9589f7c3e0a | /mqtt/Controller.cpp | f97e3d1c32a6979844369c8610d54847aee1cacd | [] | no_license | romanchom/libLunaEsp32 | f88bba2f6c8b8c0f9cc06e51f6f4f1e655489aca | 42c4922e5676407af7ba0dc77b50f2c278d02183 | refs/heads/master | 2022-02-24T09:36:10.711744 | 2022-01-30T12:42:01 | 2022-01-30T12:42:01 | 153,509,549 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,096 | cpp | Controller.cpp | #include "Controller.hpp"
#include <luna/Property.hpp>
#include <prism/Prism.hpp>
#include <esp_log.h>
#include <string>
#include <cstdint>
#include <optional>
static char const TAG[] = "MqttSvc";
namespace luna::mqtt
{
struct Delivery
{
template<typename T>
void operator()(Property<T> * p... |
6e21d7c4ac5e33e3d6fe4293237b7f2fe81cd477 | de6d1b709329f4108fac216f9dff97d62adbfe14 | /GraphicEditor/Lua/ElementAllocator.cpp | 248cbce1a769b662d87a70e9e0609cfc78197adf | [
"MIT"
] | permissive | AdUki/GraphicEditor | eaeec553a4afa297bc094ab1eeb5042a5ed0d059 | c79f44f28a980dcbb0d423e827699c49bd2bbb2e | refs/heads/master | 2016-09-05T11:09:00.633852 | 2014-01-04T13:04:20 | 2014-01-04T13:04:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 675 | cpp | ElementAllocator.cpp | #include "ElementAllocator.h"
#include "Ui/Grids/BaseGrid.h"
#include "Data/ElementManager.h"
////////////////////////////////////////////////////////////////
ElementAllocator::ElementAllocator(void* parent)
: index(-1)
, allocatedPointer(new (void**)()) // Allocates pointer
, parent(nullptr)
{
// Parent can be ... |
3bed40368232eb7e85bd1d742506f5a335eea04f | 6b6af5afdc38d6939ae0499a6879b89573049a14 | /ZH/NetBase/McsfNetBase/include/mcsf_inner_cmd_handler.h | b8f90d5e14a9b882ee789b9e2288f067b994bde1 | [] | no_license | yongweili1/portal | ec84608644461b23c885697727956d508dcb7be3 | d3206f29d37735b5cc393744faaa55295fe7d6b1 | refs/heads/master | 2020-04-11T14:29:35.229893 | 2018-12-19T07:10:27 | 2018-12-19T07:10:42 | 161,857,114 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,855 | h | mcsf_inner_cmd_handler.h | ////////////////////////////////////////////////////////////////////////////
///
/// Copyright, (c) Shanghai United-imaging Healthcare Inc., 2011
/// All rights reserved
///
/// \file mcsf_inner_cmd_handler.h
/// \author Ruifei.liu <ruifei.liu@united-imaging.com>
///
/// \date 2011/09/05
///
/// \brief some comman... |
1ee3f8cf09dd6615fb5cbea30321b1bc9f49287d | 10821e85ce5ab62b2000e2cc893dc6ebc946c35a | /plugins/robots/interpreters/nxtKitInterpreter/src/robotModel/twoD/twoDRobotModel.cpp | bf4539c04d511d088412407744b034d2f90c57b6 | [
"BSD-3-Clause",
"MIT",
"CC-BY-4.0",
"GPL-3.0-only",
"GPL-1.0-or-later",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | trikset/trik-studio | aa65b6cee085ca34c875ac488f7ec45ff47efbfd | 2913f54d43e32f82c86e21dc9d0b22dbd1388086 | refs/heads/master | 2023-08-18T05:09:14.748955 | 2023-07-20T19:26:38 | 2023-07-20T19:26:38 | 143,976,458 | 21 | 22 | Apache-2.0 | 2023-09-12T09:39:43 | 2018-08-08T07:24:14 | C++ | UTF-8 | C++ | false | false | 4,099 | cpp | twoDRobotModel.cpp | /* Copyright 2012-2017 QReal Research Group
*
* 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... |
2ab27f1a0b141412fb780e7a0e5cfe4fbc3cc7f0 | 9735eea44d3a53a3bd4e9c5a32de7dcc02ea7868 | /src/WorkThread.h | 554ac3fd10a336dcb47749daec72931f8cbf8bdc | [] | no_license | magnusl/ssh | e03af4c2f107afe8a4450d9186d3f75a0a8adf1c | 625434a6c473de7c91c97b1575964f926c19c8fc | refs/heads/master | 2020-03-07T10:14:03.909620 | 2018-03-30T12:39:51 | 2018-03-30T12:39:51 | 127,426,508 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 895 | h | WorkThread.h | #ifndef _WORKTHREAD_H_
#define _WORKTHREAD_H_
// Windows stuff
#ifdef _WIN32
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#include <windows.h>
#endif
#include "ssh_connection.h"
namespace ssh
{
/* Class: WorkThread
* Description: A work thread.
*/
c... |
63502928bbe87d1af906420346ec179a68cedd6f | b0d9a8dca6063dc212f2cec11217cf4413cc5bb4 | /数据结构/实习2/3/No.3面试评分/堆排序/大根堆.h | 4d8084f854d03ce64699a07f3e0f73110265d50f | [] | no_license | AbiterVX/In-ClassLearning | 2c49c27ef85a7c9c3c43bc7d3fdc4cd5c563bebf | 082c8f8cbdf819069d9d94a04c8dcbfe38d13472 | refs/heads/master | 2023-03-23T12:49:21.141982 | 2021-03-23T04:43:30 | 2021-03-23T04:43:30 | 347,906,986 | 8 | 1 | null | null | null | null | GB18030 | C++ | false | false | 2,266 | h | 大根堆.h | #pragma once
#include<algorithm>
#include<iostream>
#include<time.h>
#include <fstream>
#include <sstream>
#include<Windows.h>
using namespace std;
class Heap
{
private:
int *Data; //数组
int Length; //长度
public:
Heap(int *data, int TotalNumber) //构造
{
Data = data; //导入数据
Le... |
f870d283796f2b1eaace0092e895495dba6d841f | aafaf249d370b1aa6b370fd6dc75af609a4e6fdf | /source/controller/controller.ino | c7407896c170a9d318ad7bef6febc8c5e0f27158 | [] | no_license | LuisGaguiar/ball_and_plate | 273290251636ec1285be27916b74ff91ea5ee06f | 6af2dacade4c560c39151763dde7e55071f6cebf | refs/heads/master | 2021-01-23T06:02:28.911684 | 2017-06-14T01:59:59 | 2017-06-14T01:59:59 | 93,008,153 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,926 | ino | controller.ino | #define DXL_BUS_SERIAL1 1 //Dynamixel on Serial1(USART1) <-OpenCM9.04
#define DXL_BUS_SERIAL2 2 //Dynamixel on Serial2(USART2) <-LN101,BT210
#define DXL_BUS_SERIAL3 3 //Dynamixel on Serial3(USART3) <-OpenCM 485EXP
#define FIRST_SERVO_ID 1
#define LAST_SERVO_ID 2
#define PIXELS_LENGTH 800
#define PIXELS_WIDTH 480... |
6eaccc88c61a7a04505d3a4f77a61f91d71d3766 | ace28e29eaa4ff031fdf7aa4d29bb5d85b46eaa3 | /Visual Mercutio/zBaseLib/PSS_UserLoader.cpp | 5b3699d634e46182845cb81ea41aadf8dec10651 | [
"MIT"
] | permissive | emtee40/Visual-Mercutio | 675ff3d130783247b97d4b0c8760f931fbba68b3 | f079730005b6ce93d5e184bb7c0893ccced3e3ab | refs/heads/master | 2023-07-16T20:30:29.954088 | 2021-08-16T19:19:57 | 2021-08-16T19:19:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,067 | cpp | PSS_UserLoader.cpp | /****************************************************************************
* ==> PSS_UserLoader ------------------------------------------------------*
****************************************************************************
* Description : Provides an user loader *
* Devel... |
2871eb4afe4accbbc95c6dc7fae9d3b5737ece86 | 19a58725f665b8b837e3b8c48215edc4913f5eca | /Iniciante/Lista de Exercicios/Strings/Cifra de César/sol.cpp | 96f3d9cfec1acd3edab41dbe26482dee8563fbfc | [
"MIT"
] | permissive | glaucogithub/UNB--Grupo-de-Programacao | f13044a2c278593f348ff33805356f8f58152fb4 | edc3bb07ccbe593457868862a2cf4201d9a056ea | refs/heads/main | 2023-06-19T22:38:02.312580 | 2021-07-16T21:27:16 | 2021-07-16T21:27:16 | 369,855,956 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 822 | cpp | sol.cpp |
// author: glaucoacassioc
// created on: July 14, 2021 2:36 AM
// Problem: Cifra de César
// URL: https://www.urionlinejudge.com.br/judge/pt/problems/view/1253
// Time Limit: 1000 ms
// Memory Limit: 1024 MB
#include <bits/stdc++.h>
using namespace std;
mt19937_64 rng(chrono::steady_clock::now().time_since_epoch().... |
5c6603cec18eade7eb21f59d174bbfbaf0159524 | ccb9c9811a4f5a277eeefce50e257043cf7159de | /sensground.ino | e6a19522f6457009d584482e1e8642f7905642bf | [
"MIT"
] | permissive | WesGtoX/sensground | 90ffc2f59fac77ee906b2f8e32401a50a9c3dd41 | 738b3bdab0af3bc7716dfefe2069f8c4be97c3b9 | refs/heads/master | 2020-04-04T17:59:46.424646 | 2019-05-11T05:24:08 | 2019-05-11T05:24:08 | 156,145,683 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,995 | ino | sensground.ino | // ===== SOIL LEVEL MOISTURE RANGE =====
// =====================================
#define L1 169
#define L2 340
#define L3 511
#define L4 682
#define L5 853
// ===== HARDWARE MAPPING =====
// ============================
//relay signalevel for valve
int valve = 8;
// ===== INITIAL LEVEL SETTINGS =====
// ============... |
874aa60526aff3fdddd849a866ad3979c6aa24bc | 587631f7728c9035ce08fa2ab9f780f71ec0717f | /Transport.h | df5496652047c397359a600c74cd69b3430df2eb | [] | no_license | Gerder08/Vodenin_last | a51e36f3d9a53c0629f28f78bf458c726375b84f | 25d0da3cf4291c3f9db0147bca624decad34a427 | refs/heads/master | 2020-03-18T01:57:09.324165 | 2018-05-21T17:18:16 | 2018-05-21T17:18:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 367 | h | Transport.h | #ifndef transport_h
#define transport_h
class transport
{
public:
void create_Post(int m,double *A);
void create_Potr(int n,double *B);
void create_trtabl(int n,int m,double **C);
private:
double *A;
double *B;
double **C;
int n,m;
int i,j;
... |
8e1942193d9b19d67a6937d377f2b1a6c99bff40 | b572cd7ff8692e2936e8ff596842bf432d45c569 | /src/TsunamiUtil.cpp | b97156448cd742b023e270588f4a5a5b55d11b5d | [
"MIT"
] | permissive | rundle-research-group/TsunamiSquares-xx | 5458aa32b89064a056f3926f951bbfbe7aae5940 | b37001294199fa999d6504745e467c1437dd1df7 | refs/heads/master | 2023-04-14T04:31:20.630147 | 2019-04-10T19:49:35 | 2019-04-10T19:49:35 | 107,715,284 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 12,358 | cpp | TsunamiUtil.cpp | // Copyright (c) 2015-2019 John M. Wilson, Kasey W. Schultz
//
// 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,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.