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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f4016e6ff1f2d380adc315a0819e36a957526a73 | fbd885161ed1084fa269054397e88f5bcb8fe1da | /TemplateLearning/FunctionalPipeline.cpp | 55e6e5904531f2652b2ce1d361cbb85a8d0f5698 | [] | no_license | shahramkom/SecondVision | 0fee2b7566ec3f44736620469feb6df1003bc2bb | 48f638adeffc45c40318d6d1fe71d58f48a46ffe | refs/heads/master | 2020-04-22T14:27:59.439727 | 2019-03-27T11:43:56 | 2019-03-27T11:43:56 | 170,444,386 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,536 | cpp | FunctionalPipeline.cpp | #include "includes.h"
#include "NamedTuple.h"
template <class F>
class pipeable
{
private:
F f;
public:
pipeable(F&& f) : f(std::forward<F>(f)) {}
template<class... Xs>
auto operator()(Xs&& ... xs) -> decltype(std::bind(f, std::placeholders::_1, std::forward<Xs>(xs)...)) const {
return std::bind(f, std::placeho... |
9a39ddae3ea33ebe10d75de3019fa69777914320 | d08dd26b1dd36585a56afa0708a8c2ebb03de538 | /01/ex00/Pony.hpp | a5624e15aaf4968bcf46233ccde5c3a95185c7af | [] | no_license | jjs576/cpp-module | ab2d9b3b0096637c86f104022bf11b99bfa20ea8 | 52eb12fe4a56f8a700e86592d76dffc6a7de1ca9 | refs/heads/master | 2023-05-27T09:12:00.791585 | 2021-06-13T04:54:00 | 2021-06-13T04:54:00 | 374,712,169 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 185 | hpp | Pony.hpp | #ifndef PONY_HPP
# define PONY_HPP
#include <iostream>
#include <string>
class Pony{
private:
std::string name;
public:
Pony(std::string _name);
~Pony();
void run();
};
#endif
|
8719de7f50a40f3840fd78bdea3213f56d15f1c1 | ec942d0557a566f6dc8d443a74bab492bd83fbd3 | /CPP1/CPP1/zadanie3.cpp | 95857ecdb97ec2c6628e46e3b4132b3fd2daf8cb | [] | no_license | hexen2k/cppio | eadaf1663e9ba8a198f73e351973fd40c34c3d9b | 73de1946033ce5c2421589736907b9823b74bc78 | refs/heads/master | 2021-09-04T04:30:28.766343 | 2018-01-14T13:13:51 | 2018-01-14T13:13:51 | 111,987,813 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 524 | cpp | zadanie3.cpp | #include "zadanie3.h"
int tablica[1000];
void zadanie3(void) {
int liczba, kolejna_liczba;
string wynik = "TAK";
cout << "Podaj ilosc wprowadzanych liczb: ";
cin >> liczba;
if (liczba >= 1000) {
cout << "BLAD: Liczba calkowita wieksza lub rowna 1000";
return;
}
cout << "Podaj liczby odseparowane spacja:... |
1c2ac566e2b73a096e6bc7dbdc4e98b75ad0e4e6 | 4a41a7e44e4462121c67145a736734f8f1fa7358 | /algorithms/include/ACalibrationAlgorithm.h | 0a1245ad4111fe3a9ad925fddb0bfbaa14a837cb | [] | no_license | tigerInAJar/typeCase | 965bba23f3aa0c2434cd44bc6f83b12dd640b490 | 067d3dab23c40658c80de2701f452d2fc55edec3 | refs/heads/master | 2020-04-13T02:55:05.085444 | 2019-08-15T18:43:09 | 2019-08-15T18:43:09 | 162,915,782 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 470 | h | ACalibrationAlgorithm.h | #include "algorithm.h"
using namespace std;
class ACalibrationAlgorithm : public AAlgorithm
{
protected:
const int NCalTypes;
int* calTypes;
int* NParams;
int* DetID;
int* Nel;
int minRun;
int maxRun;
string BeamTime;
string Author;
public:
ACalibrationAlgorithm(string name, int NCalibs);
~ACali... |
e705251612a460f62529dad9e199e31e43077f4f | f41cdbf50f679ee9391cb9c958232efbad4d5207 | /Material/AceTable/AceReaction/FissionReaction.cpp | b33ea17d56f5d2290393f2362010201d558c12f7 | [] | no_license | studymcnpandgeant/helios | 55d4b3cd28991ca2fb7bac55fc2d8bfa9bcffc32 | b8ae1836eeff1f6dcc45a5ffaa49212d8ae3f78c | refs/heads/master | 2021-05-27T19:32:17.074385 | 2012-11-20T02:33:32 | 2012-11-20T02:33:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,133 | cpp | FissionReaction.cpp | /*
Copyright (c) 2012, Esteban Pellegrino
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the fo... |
987de8af97993af84f352f5305023ba9455aee67 | d7f5938376fc232b3066a8a51005b9c7c6ab3dc5 | /C/Lab report....1st semester/section2/i.cpp | e3ab0000ff186349e36690d21251f430a8c08f9b | [] | no_license | NurenDurdanaAbha/Nuren | a0384e167256a051c224298444f6f75d58a709b6 | a2680693c8ccfc32268c05f816030098d16865c6 | refs/heads/master | 2021-01-09T16:19:45.805936 | 2020-02-22T15:55:19 | 2020-02-22T15:55:19 | 242,368,663 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 363 | cpp | i.cpp | #include<stdio.h>
#include<string.h>
int main()
{
char name[100], first_name[100], second_name[100], third_name[100];
gets(first_name);
gets(second_name);
gets(third_name);
strcpy(name, first_name);
strcat(name, " ");
strcat(name, second_name);
strcat(name, " ");
strcat(name, thir... |
e6e2c96037ea4e0ae13c7402ac3291a0c3ce58e6 | 5618f5fe27320c4d19b209f033ee8f31669b1bf9 | /src/Bar.h | cd1dcabb61788050909e87fcdae174d6248defd7 | [] | no_license | KraterosProgramming/Alienheim | 93fb2189ba7b7dd07afbc9e00ef3055a9a99f981 | cf7a59ed24159090483bc9193d618482632724b1 | refs/heads/master | 2021-01-15T23:40:12.851520 | 2014-06-07T20:07:26 | 2014-06-07T20:07:26 | 20,600,944 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 291 | h | Bar.h | #pragma once
#include "Object.h"
class Bar : public Object
{
public:
Bar(int x, int y, int w, int h, float (*getter)(), SDL_Color backColor, SDL_Color foreColor);
virtual ~Bar();
virtual void draw();
float (*getter)();
int w, h;
SDL_Color backColor, foreColor;
};
|
4c8950ac75749a82e8412cf9a55de36506422636 | ead0f3f313bdd574545794b0c372eca6bbca9830 | /2960에라토스테네스의체.cpp | df8afab52c7616e11bdb65ea39d37607d19aab84 | [] | no_license | tomcruse/algorithm | fe237ea40d6c29add4b124b84f8714f846a8e385 | 3029b7ea498c9b63c145f5d5bda26dfd7a17a447 | refs/heads/master | 2021-06-23T00:23:38.983751 | 2017-08-19T17:14:56 | 2017-08-19T17:14:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 472 | cpp | 2960에라토스테네스의체.cpp | #include<cstdio>
using namespace std;
int cnt, min;
bool arr[1010];
int main() {
int n, k;
scanf("%d %d", &n, &k);
while (cnt != k) {
for (int i = 2; i <= n; i++) {
if (!arr[i]) {
arr[i] = true;
min = i;
cnt++;
break;
}
}
if (cnt == k) {
printf("%d", min);
return 0;
}
for (int j... |
ec4b3c6d275488c9cc958a548f0ed225447d3d0c | 2ba11c26ed8754ea6c56d1d242010b1fb8385306 | /cwrapper/engine/src/Framebuffer.cpp | 6049b2a1efaaa5ae4d36fb5f63f05add0476301c | [
"MIT",
"Zlib",
"BSD-3-Clause"
] | permissive | tippesi/Go-Atlas-Engine | 60fb4cae781bd475658e29101b08c19cd928a72d | 83aedf376802803eddded6363898f001e4e83c36 | refs/heads/master | 2020-09-20T09:04:14.963788 | 2019-11-28T23:27:41 | 2019-11-28T23:27:41 | 224,431,342 | 0 | 1 | NOASSERTION | 2019-11-28T08:46:17 | 2019-11-27T12:56:37 | C | UTF-8 | C++ | false | false | 6,733 | cpp | Framebuffer.cpp | #include "Framebuffer.h"
namespace Atlas {
uint32_t Framebuffer::boundFramebufferID = 0;
Framebuffer::Framebuffer() {
glGenFramebuffers(1, &ID);
drawBuffersSet = false;
}
Framebuffer::Framebuffer(const Framebuffer& that) {
glGenFramebuffers(1, &ID);
drawBuffersSet = false;
}
Framebuffer::Frameb... |
d1321103d7836209d2888043f1347c5b6e9fb71e | e1052e297eed464ac4d27444071beeb160596434 | /Blynk_Wifi_BLEConnection/Ble_server_Smoke/Ble_server/SensorUnit-WifiBle/SensorUnit-WifiBle.ino | 63e34b2c0e2ad19dbd66ed81841ba341b943023c | [] | no_license | lnguyen-wsu/MicrocontrollerC- | ab57589776aed3efe4e6e6e455dd9f271e750b65 | 67eabebca58e1efe0a2541b0fe758dafc41af558 | refs/heads/master | 2023-04-08T19:57:10.576758 | 2021-04-21T02:52:50 | 2021-04-21T02:52:50 | 270,869,951 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,152 | ino | SensorUnit-WifiBle.ino | // Project: Smart Knob
// Purpose: This is start over project by Luan Nguyen as individual for whole project's summer
// only for summer so that I can test some points of communication
// 1. WIfi and BLE at the same time
// 2. Data between App and Sensor Unit
// 3. Connect with the Knob
// 4. connect with the App
// ... |
9c6c59b4abcc80cfd225afccd6b2f2f8e246bb7c | a26ca890cbea74377929e862e62ae2df7fbcb888 | /FirstGame/CDevice.cpp | 8b9799abbab17ca8dfb6115e64b665a1186c74fe | [] | no_license | NguyenHieu1995/FrameworkDirectX9 | f49447fe154839403d7616b82244583b59f1765b | a12bfa2e640a52acf47675c53353cdbf5f017d2f | refs/heads/master | 2021-01-18T03:34:53.862494 | 2017-03-26T11:09:52 | 2017-03-26T11:09:52 | 85,808,123 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 998 | cpp | CDevice.cpp | #include "CDevice.h"
#include "CViewController.h"
#include "SGameConfig.h"
#if CONFIG_PLATFORM==PLATFORM_WIN32_VS
namespace GameTutor
{
void CDevice::SleepEx(__UINT64 milisec)
{
Sleep(DWORD(milisec));
}
__UINT64 CDevice::GetTimer()
{
return clock();
}
void StartApp(SGameConfig cnf)
{
// Init view
CVi... |
99fe51c20a6251175eb5ea46d73c6fcee55688b6 | 52cb50391095cd1c87f14ee3f3ef94360f9a8923 | /BestFirstSearch.h | b08be501b6b18ce0218f1d821a0ef3db886c409e | [] | no_license | wonjoonSeol/SudokuSolver | b43b29147fc559a45e487da72925bbf64bed2cf7 | 341da999dbf7dd39155b8dfeda9bfcee8022f359 | refs/heads/master | 2021-08-16T17:28:56.505235 | 2017-11-20T05:42:32 | 2017-11-20T05:42:32 | 111,366,471 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,421 | h | BestFirstSearch.h | #ifndef BEST_FIRST_SEARCH_H
#define BEST_FIRST_SEARCH_H
#include "Searchable.h"
#include <memory>
using std::unique_ptr;
#include <queue>
using std::priority_queue;
class LessThanByHeuristic {
public:
bool operator()(unique_ptr<Searchable> & a, unique_ptr<Searchable> & b) const {
return a->heuristic... |
fc663656b9ee1872343e746cc7adf3cdd989998d | 0f9a076f283dc1d5a94bca28901143662daa42ef | /board.hpp | 31b4273832a1ecdd3cc47a5d9c4f6a6ae4e2f29f | [] | no_license | helenawu1998/othello | cbcad5d051ae1083bc22115a7a1e16c5a5123f8a | ba216d4b1ed7e885176361b9ac070bbcae08ad54 | refs/heads/master | 2021-01-20T05:02:17.906025 | 2017-03-14T09:59:36 | 2017-03-14T09:59:36 | 83,851,250 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,594 | hpp | board.hpp | #ifndef __BOARD_H__
#define __BOARD_H__
#include <bitset>
#include "common.hpp"
#include <vector>
using namespace std;
class Board {
private:
bitset<64> black;
bitset<64> taken;
bool occupied(int x, int y);
bool get(Side side, int x, int y);
void set(Side side, int x, int y);
bool onBoard(i... |
537764c2e018b1c878af58c956795c3a1876bfdb | 903b69c72452d64f159ccec263e5fbe0320502e4 | /main.cpp | fe8b7caaa8ca22c2e22505fb6d02045253ed641e | [
"MIT"
] | permissive | Whu-MT/VSL | 70b6985de8e62c7b1309f1852e931cc0b7c4e4ae | 9457da453c5cbbde0cf511df0fc916511170c985 | refs/heads/master | 2020-03-28T13:35:23.421034 | 2019-01-08T06:08:31 | 2019-01-08T06:08:31 | 148,408,471 | 14 | 4 | MIT | 2018-09-25T13:35:47 | 2018-09-12T02:20:11 | C++ | UTF-8 | C++ | false | false | 3,622 | cpp | main.cpp | #include <cstdio>
#include <cstdlib>
#include "llvm/Support/TargetSelect.h"
#include "llvm/Target/TargetMachine.h"
#ifdef linux //linux
#include "KaleidoscopeJIT.h"
#else //windows
#include "../include/KaleidoscopeJIT.h"
#endif
static int emitIR = 0;
static int emitObj = 0; //如果添加了-obj选项,则只生成.o文件,不运行代码
static char... |
ea8fdafc88e6cb1539def4eb09e7ba5a1af90146 | 79da14611e8f7a5014807515a5bd9ebd604edfe4 | /Day 1 - 3/Day-2.cpp | 3324dc0f0fcc08e49450358fe3df5d5fe49a2298 | [] | no_license | Prateek-Pandey-96/LevelUp | 166e81177267158b19a87655699a0b5040ba7cac | 31a0cc2695182a1a396342c534808d4e782b5168 | refs/heads/main | 2023-04-24T20:18:00.918575 | 2021-05-09T17:36:52 | 2021-05-09T17:36:52 | 361,412,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,879 | cpp | Day-2.cpp | #include <bits/stdc++.h>
//Binary Search
//Ques-1
int getIndex(vector<int>& seq, int element){
int low = 0;
int high = seq.size()-1;
while(low<=high){
int mid = low + (high - low)/2;
if(seq[mid] == element)
return mid;
else if(seq[mid]>element)
high = mi... |
88758f61bf44a76678d0f0c2353685c5db2d5841 | 1dbf007249acad6038d2aaa1751cbde7e7842c53 | /drs/include/huaweicloud/drs/v5/model/BatchDeleteJobsByIdResponse.h | c14898ca68c4387279663fd587f5882a023ff87e | [] | permissive | huaweicloud/huaweicloud-sdk-cpp-v3 | 24fc8d93c922598376bdb7d009e12378dff5dd20 | 71674f4afbb0cd5950f880ec516cfabcde71afe4 | refs/heads/master | 2023-08-04T19:37:47.187698 | 2023-08-03T08:25:43 | 2023-08-03T08:25:43 | 324,328,641 | 11 | 10 | Apache-2.0 | 2021-06-24T07:25:26 | 2020-12-25T09:11:43 | C++ | UTF-8 | C++ | false | false | 1,514 | h | BatchDeleteJobsByIdResponse.h |
#ifndef HUAWEICLOUD_SDK_DRS_V5_MODEL_BatchDeleteJobsByIdResponse_H_
#define HUAWEICLOUD_SDK_DRS_V5_MODEL_BatchDeleteJobsByIdResponse_H_
#include <huaweicloud/drs/v5/DrsExport.h>
#include <huaweicloud/core/utils/ModelBase.h>
#include <huaweicloud/core/http/HttpResponse.h>
#include <huaweicloud/drs/v5/model/DeleteJob... |
a23676b385e6e9fad2d961544e95ca7471c6f7dd | 12d32b6f06a1505a7c66c5aef819f153ac382ee4 | /src/Wire/Wire.cpp | 8a9ddeaff4c80d2e3e0904e973d0dc76043cbd07 | [] | no_license | zealws/Circuit-Simulator | bc41335e5af6e67a3d43292795d6bb800d48c67b | 5986c030df80a8db9ce38761426ebb3ca27d6faa | refs/heads/master | 2021-05-27T16:43:45.252412 | 2012-05-11T17:20:57 | 2012-05-11T17:20:57 | 3,446,754 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,809 | cpp | Wire.cpp | #include "Circuit.h"
#include "CustomComponent.h"
#include "State.h"
#include "Wire.h"
#include <cstdlib>
using namespace std;
////
//// Wire Class
////
// Constructor
// Create a wire with no output gate.
Wire::Wire()
: evaluationForced(true), beenUpdated(false), myState(), outputCircuit(NULL) {
// Do Nothin... |
419f956f1dfcb38f3df044c6fcdbdfb59d0eafb2 | b94499b0e7e7992d54280c386c84f72016c6c802 | /rysowanie_odcinka/mywindow.cpp | e0da64dff018893ad6e9bac0a1951a3404c66703 | [] | no_license | nataszczypiora/Graphic-project | 5fdd156160b357f381441a88dabdebea3ed80eed | 65eb80d71ef666c6925df7ec99c65535562d2d93 | refs/heads/master | 2020-06-04T21:50:49.716013 | 2019-06-16T15:35:13 | 2019-06-16T15:35:13 | 192,204,150 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,141 | cpp | mywindow.cpp | // Dolaczamy plik naglowkowy naszej klasy MyWindow
#include "mywindow.h"
#include <tgmath.h>
// Dolaczamy plik naglowkowy zawierajacy definicje GUI
// Plik ten jest generowany automatycznie
// z pliku XML "mywindow.ui"
#include "ui_mywindow.h"
// Definicja konstruktora, wywolujemy najpierw
// konstruktor klas... |
14e5ad634e9828562c20cd4827a6fd014d8b80e5 | d1aca4ef08191d438e003d5b758e09fe94d50a1c | /SkelNet/SNFSMSPAttackState.cpp | f47bb39880b8b0309c45d2ad792ccaa40af0afb3 | [] | no_license | ThanksJupiter/SkelNet | a04a8fd4b8e11b155a215613b868386948e46d80 | 9c5f5c56bb4bcc0c491f3b91eb47099250f24792 | refs/heads/master | 2022-04-04T12:18:29.974507 | 2020-02-19T09:27:26 | 2020-02-19T09:27:26 | 234,511,775 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 931 | cpp | SNFSMSPAttackState.cpp | #include "SNFSMSPAttackState.h"
#include "SNWorld.h"
#include "SNAnimator.h"
#include "SNFSMData.h"
void SNFSMSPAttackState::Enter(SNFSMData* fsmData)
{
fsmData->simulatedProxy->animator->SetCurrentAnimation(fsmData->world->spAttackAnim);
timer = 0.f;
hit = false;
hasMissSoundPlayed = false;
hasStartSoundPlayed =... |
7b436c18255559dd331e351c3060e2bbbec71122 | cf9091e14a4490f8bac723f7cc0198d5277e6742 | /QmlExtension/include/QmlExtension/TextDocumentHelper.h | 63f25c50525a11fb652c0f307769095846e426b6 | [
"Apache-2.0"
] | permissive | wiphombear/cord.qml-extension | 9bab44f6dd515a5b5b1a712ba6412b292b9b1b3f | 1b156bbf44eabf7f691c6b1fee0f9fe0b2d87b3c | refs/heads/master | 2023-03-18T04:06:46.366055 | 2018-11-14T08:27:56 | 2018-11-14T08:27:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 446 | h | TextDocumentHelper.h | #pragma once
#include <QtCore/QObject>
#include <QtCore/QString>
#include <QtQuick/QQuickItem>
class TextDocumentHelper : public QObject
{
Q_OBJECT
public:
explicit TextDocumentHelper(QObject* obj = nullptr);
virtual ~TextDocumentHelper();
static TextDocumentHelper *qmlAttachedProperties(QObject *obj);
... |
0f2efe8b6277336dd366573c67244261971fab64 | 521c530df16e6ad55cfd33ff2bdd2561e4ae6aca | /800/EhAb AnD gCd/main.cpp | dca916f2a71c4aebcba9ac7e6b931e699bd6542f | [] | no_license | EdPeReg/Codeforces | b754ee3e997f32d3b4f05a4930833a740983ee37 | 39bdbc372ce5f6fcee5b1555a3fc573c61777386 | refs/heads/master | 2021-09-28T06:00:43.743021 | 2021-09-19T00:55:40 | 2021-09-19T00:55:40 | 251,514,482 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 600 | cpp | main.cpp | // https://codeforces.com/problemset/problem/1325/A
// Time 30m
#include <iostream>
#include <cmath>
int gcd(int a, int b) {
if(b == 0)
return a;
return gcd(b, a % b);
}
int lcm(int a, int b) {
return (a*b) / (gcd(a,b));
}
int main() {
int t;
std::cin >> t;
while(t--) {
int x;
bool find = false;
std::... |
2604ba3c118156137a8b63711ae151891841404a | 070955d59d7c470590e4bf7c396d0d492f7ed0aa | /framework/graphics/graphics/renderer/renderer_pre_depth_target.hpp | fe646a745358ef712d831b26fbc06ad5c3367073 | [
"MIT"
] | permissive | YiJiangFengYun/vulkan-graphics-samples | 6d56b93d7339853b1a152042cfd7b5e7e4fce2c3 | e7b788b8f47dd238b08840c019940c7c52335a54 | refs/heads/master | 2021-01-15T22:51:48.995929 | 2019-01-19T06:34:39 | 2019-01-19T06:34:39 | 99,918,437 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 844 | hpp | renderer_pre_depth_target.hpp | #ifndef VG_RENDERER_PRE_DEPTH_TARGET_HPP
#define VG_RENDERER_PRE_DEPTH_TARGET_HPP
#include "graphics/global.hpp"
#include "graphics/texture/texture_2d.hpp"
#include "graphics/render_target/pre_depth_target.hpp"
namespace vg
{
class RendererPreDepthTarget : public PreDepthTarget
{
public:
RendererP... |
46c2d4be0182ca038b56d144e6b57d32087f8298 | 958ab1ec72270dd3c55f898287e8b8297a19c9eb | /inc/EflCpp/events/base_events.h | be848bf768bbd115b096502c38730ea1ca37888b | [] | no_license | voivoid/EflCpp | 8136a66cbfa7eb30d034623d751c55feafe2977c | 1ab3a6a5b46b5800e85b9f6cfcbd5b93bdc6af9c | refs/heads/master | 2021-01-10T01:33:22.069803 | 2017-04-24T22:29:45 | 2017-04-24T22:29:45 | 70,422,947 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 747 | h | base_events.h | #pragma once
#include <functional>
#include <memory>
namespace EflCpp
{
template <typename Source, typename Event, typename Ret, typename... Args>
class BaseEventsHandler
{
public:
BaseEventsHandler();
virtual ~BaseEventsHandler();
using Handler = std::function<Ret(Args...)>;
using OpaqueSignal = v... |
a525fb1f93e01f60f2955fab7b55f430d7e09514 | 4ada7a42207e9fe47d7f714f5d5f8d202141eabb | /20170509/my/bind.cc | 17265233bd70ab046a6123622feba20dde335a79 | [] | no_license | Xzzzh/cpplearn | 2b2d64d3f667c206b9d98e894cf4910f2eb0a901 | ff601086074817478a737f1f7d9ca3725ef4d83b | refs/heads/master | 2021-01-19T10:05:05.372192 | 2017-05-16T08:47:26 | 2017-05-16T08:47:26 | 87,823,690 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,522 | cc | bind.cc | #include <iostream>
#include <functional>
#include <algorithm>
using std::cout;
using std::endl;
using std::bind;
typedef int (*Function)(int, int);//函数指针
int func(int x, int y)
{
return x + y;
}
int func2(int x, int y)
{
return x * y;
}
int test0(void)
{
func(3, 4);
Function f2 = func;
cout << "10 + 20 = " <<... |
8e2891888d3da1d502ba54619e2b411556b5e2e4 | 59d26f54e985df3a0df505827b25da0c5ff586e8 | /OJ_UVA/completed/11530 - SMS Typing_Completed_1.cpp | 8eb3c8242c6dfe048cc1217876441b0007a2bd8a | [] | no_license | minhaz1217/My-C-Journey | 820f7b284e221eff2595611b2e86dc9e32f90278 | 3c8d998ede172e9855dc6bd02cb468d744a9cad6 | refs/heads/master | 2022-12-06T06:12:30.823678 | 2022-11-27T12:09:03 | 2022-11-27T12:09:03 | 160,788,252 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,511 | cpp | 11530 - SMS Typing_Completed_1.cpp | #include<iostream>
using namespace std;
int main(){
int i,num,sum = 0,flag =0,j,a,k,arrCounter = 0;
string name, one = "adgjmptw " , two= "behknqux" , three="cfilorvy", four="sz";
cin >> a;
int arr[a];
cin.ignore();
for(k=1;k<=a;k++){
getline(cin , name);
for(i=0;name[i];i++){
... |
60040faf184aab0ae44f559296eddced5306658f | ff208eff84c06e9754fda2c0dec9545b2957c1b6 | /src/Camera.h | 7b8d15f81a7c51f5106fe827d8883185cd65ada1 | [] | no_license | LENIA312/XEVIOUS | 36e97d66066ca402dcc42affef880e0e52d5cfcd | 5f9e55900b7a4d22e6107caea768158311728502 | refs/heads/master | 2023-03-27T12:22:33.203524 | 2021-03-25T05:46:36 | 2021-03-25T05:46:36 | 350,354,940 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 218 | h | Camera.h | #pragma once
#include "SceneList.h"
class Camera
{
public:
Camera();
~Camera();
void update();
void draw() const;
float getY() const;
void reset();
void setMode(int aMode);
private:
int mMode;
float mY;
}; |
de2d575188cd8cd2e01c7aed4e910c39a0f10539 | 0c9c751411ef9260686f5651c4461f897c00b7d3 | /w8-4_springCreatureStateofMind/src/silkworm.h | d925d479fe92248e435d9fb6c6675c3316ed1446 | [] | no_license | firmread/firm_algo2012 | 0418c562f48036e543c9152da932188dc366199b | a523a561f106d23641a28a8c987521ebe21368f3 | refs/heads/master | 2020-04-18T16:24:08.059888 | 2012-12-18T02:36:19 | 2012-12-18T02:36:19 | 5,781,577 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 717 | h | silkworm.h | //
// silkworm.h
// w8-2_silkwormlady
//
// Created by Firm Read on 11/27/12.
//
//
#ifndef __w8_2_silkwormlady__silkworm__
#define __w8_2_silkwormlady__silkworm__
#include <iostream>
#include "ofMain.h"
#include "particle.h"
#include "spring.h"
class silkworm
{
public:
void setup();
void resetFor... |
acf6cb788c31f753bff3f412d0da19f624dda0b2 | b17e01afc9212bc3bbcfaf2af0c63666448b6a7b | /100-199/128.cpp | edb125bd17219533f4ad80cee0518bb043176a16 | [] | no_license | zhenia01/e-olymp | 4b2c89777c48525b85a407830cd91914b49fdcdf | 327289bf6ed9a4e607a99bc1e0562b2c6f7ef8cd | refs/heads/master | 2021-06-16T20:00:16.920474 | 2017-04-14T19:13:07 | 2017-04-14T19:13:07 | 88,272,415 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 245 | cpp | 128.cpp | #include <iostream>
using namespace std;
int main()
{
int N, c = 0;
cin >> N;
for ( int i = 0; i < 10; i++ )
for ( int j = 0; j < 10; j++ )
if ( N - i - j >= 0 && N - i - j < 10 )
c++;
cout << c*c;
return 0;
}
|
51491f7b99795921f0260fe0b9656ad2c5f4c265 | 493ac26ce835200f4844e78d8319156eae5b21f4 | /CHT_heat_transfer/constant/solid_16/polyMesh/cellRegionAddressing | 7eb330ae39d013e547ea8445d01af3891dbf72a2 | [] | no_license | mohan-padmanabha/worm_project | 46f65090b06a2659a49b77cbde3844410c978954 | 7a39f9384034e381d5f71191122457a740de3ff0 | refs/heads/master | 2022-12-14T14:41:21.237400 | 2020-08-21T13:33:10 | 2020-08-21T13:33:10 | 289,277,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,070 | cellRegionAddressing | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | |
f9db5434d6a6531eeef3919cb935e6d0a9b587b4 | 41f0b2396d570b37f06bda79e678b59df3c1e9bb | /Classes/GameScene.h | 8bb840b5074cb30c1f50f174ed086e819cedcf8f | [] | no_license | Bware-studios/LastTenSeconds | 6c858d16a88390eb24d7fbbed45e0d15a1f2d1a8 | c74cd3398059c8677ec4a5fc9b097800523707d4 | refs/heads/master | 2021-01-22T12:12:09.265653 | 2013-10-12T11:10:25 | 2013-10-12T11:10:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,419 | h | GameScene.h | //
// GameScene.h
// ld27
//
// Created by Mikel on 24/08/13.
//
//
#ifndef __ld27__GameScene__
#define __ld27__GameScene__
#include "common.h"
#include "GameLayer.h"
extern const float baseline_height;
extern const CCPoint center_position;
extern const float optimum_step_size;
class GameScene : public CCScen... |
98daa991a94c67166ceb6328dc28ea1d416ef98f | 49921531f2e8a0eb689c063461ad50c0f26e15bb | /jjbiggins/homework/hw5/PurchaseRecord.cpp | e6c06dd6d97795b3072d78e2cae0d2a9b99faaff | [] | no_license | jjbiggins/cie | 6497ce07990bf190a13726376803d1a3a06139f8 | 4bacefc42ce10396b2b417e09350b2145f727ba1 | refs/heads/master | 2021-10-11T15:59:32.919232 | 2021-09-25T12:10:12 | 2021-09-25T12:10:12 | 225,742,145 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 71 | cpp | PurchaseRecord.cpp | //
// Created by jjbiggins on 4/19/17.
//
#include "PurchaseRecord.h"
|
a4537f93e3196df7fe7402581bda9b54d9d8ca9d | 879681c994f1ca9c8d2c905a4e5064997ad25a27 | /root-2.3.0/run/tutorials/multiphase/twoPhaseEulerFoam/RAS/bubbleColumn/35/phi.air | 77f56ddbf4e1b5ef2443fad91d2f6e53980671ca | [] | no_license | MizuhaWatanabe/OpenFOAM-2.3.0-with-Ubuntu | 3828272d989d45fb020e83f8426b849e75560c62 | daeb870be81275e8a81f5cbac4ca1906a9bc69c0 | refs/heads/master | 2020-05-17T16:36:41.848261 | 2015-04-18T09:29:48 | 2015-04-18T09:29:48 | 34,159,882 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 46,111 | air | phi.air | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
... |
4c3a34f53572420a444cd572f740f86b0ef60d15 | 2fad417f254aca09adec8ced01d61465dd8e591f | /Arme.h | e200ae6c6d3d0dad8392b87fc5e9dd17271bdb52 | [] | no_license | Rbtsv2/training | 4f4f4fce547757e90eea01fdc281cb8a2ea29e73 | d58134a9b61564eb9714ee45a6ed319127772881 | refs/heads/master | 2023-01-14T14:44:13.906484 | 2020-11-22T00:54:24 | 2020-11-22T00:54:24 | 314,918,572 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 280 | h | Arme.h | #pragma once
#include "Arme.h"
#include <string>
class Arme
{
public:
Arme(); // constructor par default
Arme(std::string nameArme, int degatsArme);
int getDegats() const;
void changer(std::string nom, int degats);
private:
std::string m_name;
int m_degats;
}; |
28d28d46912d986872e6fa79374e6c30090dfd80 | 0b6309f2222033a58122bb67ca70182899349bbb | /Filerun_candle_vgrid/Default Include/ACE 5.4/ACE_wrappers/ace/Framework_Component_T.inl | 796144550ecaf78849ece135729649390716f578 | [
"BSD-3-Clause"
] | permissive | elysionlab/client | 8c0923df53069510bb0557241cee6bc7ed380806 | f67bd232e3eaa859f8b594748d9a3ad306e22c34 | refs/heads/master | 2022-04-16T18:17:33.976968 | 2020-04-06T05:32:59 | 2020-04-06T05:32:59 | 253,389,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | inl | Framework_Component_T.inl | /* -*- C++ -*- */
// Framework_Component_T.inl,v 1.1 2002/01/19 22:42:33 dhinton Exp
// Framework_Component_T.inl
|
321bc40222df6969d56c0f4a24448fe399a68ed9 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_repos_function_5502_git-2.14.0.cpp | f127b35e7f2578328e1e32bcbb62e3f34997f5ed | [] | 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 | 783 | cpp | git_repos_function_5502_git-2.14.0.cpp | static int fsck_head_link(void)
{
int null_is_error = 0;
if (verbose)
fprintf(stderr, "Checking HEAD link\n");
head_points_at = resolve_ref_unsafe("HEAD", 0, head_oid.hash, NULL);
if (!head_points_at) {
errors_found |= ERROR_REFS;
return error("Invalid HEAD");
}
if (!strcmp(head_points_at, "HEAD"))
/* d... |
4e8c797767a8b8f7c0d5bcf41823c01e7b14be84 | b9ef0754b47d8d2fb7c172e0bda22d5ff6572065 | /Helios/src/Renderer.hpp | a796f5f2882bc3e37f9cd11a5b9e67d0fc9eb72e | [
"Apache-2.0"
] | permissive | rgracari/helio_test | 9f3397a78b4238726b47484b5a25d1c88f2b3132 | 2d516d16da4252c8f92f5c265b6151c6e87bc907 | refs/heads/master | 2022-12-07T11:29:43.244086 | 2020-09-01T07:12:53 | 2020-09-01T07:12:53 | 289,459,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 678 | hpp | Renderer.hpp | #pragma once
#include <SDL.h>
#include <iostream>
#include "Window.hpp"
#include "Sprite.hpp"
namespace Helio
{
class Renderer
{
public:
Renderer(const Renderer&) = delete;
Renderer(const std::string& windowName);
static Renderer& Get();
SDL_Renderer* GetSDLRenderer();
void Update();
void BeginDra... |
56387732e9e1ba34074bf187406d1714452e5d5f | 9838484e51767fc446baa82934d3c984a09aa896 | /Plane.cpp | c204df8d017198b6dc7274dbbbad553b706464d6 | [] | no_license | rmalkevy/RenderCPP | f19c9f793ad0090d12dc6c8273d8b08ff4f709df | 4a96f8fa4d78f73dc23b26f99deade2ccd8d60ea | refs/heads/master | 2020-06-27T12:03:33.109249 | 2017-07-30T13:43:17 | 2017-07-30T13:43:17 | 97,053,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 885 | cpp | Plane.cpp | //
// Created by Roman Malkevych on 7/22/17.
//
#include "includes/Plane.h"
Plane::Plane(Vec3d position, Vec3d direction, Vec3d color)
{
this->position = position;
this->direction = direction;
this->color = color;
return ;
}
Plane::~Plane()
{
return ;
}
bool Plane::intersection(const Vec3d &rOri... |
0e4cf362d066574f9232e1eab9668d5060787a72 | c6ba59cc5ef68f70db430a3b43fececce12a2675 | /PAT/1001.A+BFormat/Solution.cpp | 1826316aaf0e60d0fa5ec19d9dbffec73f31cfad | [] | no_license | 0Kelvins/LeetCode | ef59f6111e8eb9b8286bf81bd02ffaf0e0351cb5 | 8aafd1ed8a0d57aad45f2fafc178fb001a7096ca | refs/heads/master | 2022-10-23T18:33:07.018470 | 2022-08-04T05:42:26 | 2022-08-04T05:42:26 | 110,679,725 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 543 | cpp | Solution.cpp | /**
* 1001 A+B Format
*/
#include <iostream>
#include <string>
using namespace std;
int main()
{
int a, b;
bool s;
string r;
cin >> a >> b;
a = a + b;
s = a < 0 ? true : false;
r = "";
a = abs(a);
if (!a)
r = "0";
int n = 0;
while (a > 0)
{
if (n == 3)
... |
949fe44f1436543c8074b930f00c7a430fb14909 | 125e69541f96595e8895f15e022765079b1b96c9 | / 91. Decode Ways.cpp | b4b1ce59f669df0b27a84bab50fc3af8d84fa407 | [] | no_license | danny-wang/leetcode | 8ff8840d8129e6ab48cad5df7cf1f0eca3bdc97e | 978e9eb7357dc85dedd1e152fc5eef3e8e67c2a2 | refs/heads/master | 2021-01-12T12:42:33.540410 | 2017-05-31T12:38:40 | 2017-05-31T12:38:40 | 69,646,360 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,100 | cpp | 91. Decode Ways.cpp | /**
91. Decode Ways
A message containing letters from A-Z is being encoded to numbers using the following mapping:
'A' -> 1
'B' -> 2
...
'Z' -> 26
Given an encoded message containing digits, determine the total number of ways to decode it.
For example,
Given encoded message "12", it could be decoded as "AB" (1 2) ... |
0be5304e7f2979dce9848ec66b77d303a22c8f07 | 8a732195cbf21196c5c2888f101cb7b37dc4e51e | /cplusplus/391_Perfect_Rectangle.cpp | bd9a4326cb306f268bfc10e1591c0a4b01b479b2 | [] | no_license | arnabs542/LeetCode-31 | e00e46377ef63b7070d113f8c09c2e3ea1225548 | 0a95d510871b6507ba4352c063f712281791bdf9 | refs/heads/master | 2023-05-01T12:00:21.541998 | 2021-05-10T00:28:45 | 2021-05-10T00:28:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,762 | cpp | 391_Perfect_Rectangle.cpp | // Solution one
class Solution {
public:
bool isRectangleCover(vector<vector<int>>& rectangles) {
if (rectangles.empty()) return false;
int x1(INT_MAX), x2(0), y1(INT_MAX), y2(0);
std::size_t area(0);
std::unordered_set<std::string> points_hash;
for (vector<int> & rectangle : rectangles) {
... |
7b566cce0be7baedca368d5def8911c74b6fa8d5 | e4f49cd5b217712b977dceb4598d9392393962e3 | /contador/contador.ino | aabe3c5fcfae9a3709bde7e9d4d674aad4170e46 | [] | no_license | strugg/Arduino | 0e2490709c63fac9284f7c03c3c5d006ee85ce7b | 137a6c7d10adcc56f313647fbc8de00c21332bec | refs/heads/master | 2021-01-18T14:44:32.559049 | 2016-10-06T15:02:08 | 2016-10-06T15:02:08 | 68,338,537 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,144 | ino | contador.ino | int a = 2;
int b = 3;
int c = 4;
int d = 5;
int e = 6;
int f = 7;
int g = 8;
int t = 800;
void setup(){
pinMode(a,OUTPUT);
pinMode(b,OUTPUT);
pinMode(c,OUTPUT);
pinMode(d,OUTPUT);
pinMode(e,OUTPUT);
pinMode(f,OUTPUT);
pinMode(g,OUTPUT);
}
void loop() {
//CERO
digitalWrite(a,HIGH);
digitalWrite(b,... |
e66b2b8c8b222ae8a8a8d2d611ad92e84a7fcf2d | 6a04a312a727efa4ad33386edbb41bac73327e79 | /Alg1/PilaImp.h | 14ae39d1f79eb5242636d2421a247c27fbad01b6 | [] | no_license | Gabyeke/Algoritmos2 | 075cf266a03d2684a303159ac054488c8ac7cc07 | fdfa63053ebda8502e3b00c84094f49891a6785e | refs/heads/master | 2021-03-12T20:27:52.630442 | 2014-08-31T02:35:45 | 2014-08-31T02:35:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 853 | h | PilaImp.h | #ifndef PILAIMP_H
#define PILAIMP_H
#include "Pila.h"
#include "ListaImp.h"
#include "Planilla.h"
#include "Hoja.h"
#include <iostream>
using namespace std;
#include <assert.h>
template <class T>
class PilaImp:public Pila <T>{
public:
PilaImp();
PilaImp(const Pila<T> &p);
~PilaImp();
// Inserta un elemento en... |
6f43e41e799a1133e3eb957cd28aeb76f115095b | 49f337e8301114c954bd9324d655fd7775d97e52 | /HOMEWORK 2/TASK 4.cpp | b14b9d6a3ba2cf3d2bab87471cbbbb4553fc8bf0 | [] | no_license | NikolaChachev/UP---2016-2017 | a5cbc4ee18f8990573b031fbedadc3537b21db42 | 00b3d1c8cf7fa873d5a0468464202bb9a9fbe7f0 | refs/heads/master | 2021-01-12T15:27:01.352397 | 2016-12-19T19:41:48 | 2016-12-19T19:41:48 | 71,786,858 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 840 | cpp | TASK 4.cpp | // TASK 4.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
using namespace std;
const int ROWS = 50;
const int COLS = 50;
void FillMatrix(int arr[][50], int *cols, int *rows)
{
for (int i = 0; i < *rows; i++)
{
for (int j = 0; j < *cols; j++)
{
cin >> a... |
edeb745818b1f52f6ab534da9d9732c2ae7e3344 | bd0ea820a7b409b1fe9eb79b68fec5a23c9c4f23 | /src/graph/include/graph/xml_io.h | 7b706a6883ac99cebcaeb4720fe510793bec6ef5 | [] | no_license | IliyaKarkamov/GraphTheoryProject | 566bd0b53d4639ab0ea2f4ef9450589356ea9bc6 | 7b2774cef7fe3178369599bd02de639af14cc837 | refs/heads/master | 2020-12-05T00:12:18.529301 | 2020-01-27T15:19:32 | 2020-01-27T15:19:32 | 231,946,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,851 | h | xml_io.h | #ifndef GRAPH_THEORY_PROJECT_XML_IO_H
#define GRAPH_THEORY_PROJECT_XML_IO_H
#include <graph/adjacency_list.h>
#include <tinyxml2/tinyxml2.h>
#include <ostream>
namespace graph
{
template<typename TVertexData, typename TEdgeData>
std::ostream& operator<<(std::ostream& os, const AdjacencyList<TVertexData, TEdgeData>& g... |
15497ab9800741434468a16792ab066afc546a25 | 2e3b5e23098b43adf6c8a4f6388fd652e2da2dcf | /SERRA_AUTOMATICA_PROVVISORIO/SERRA_AUTOMATICA_PROVVISORIO.ino | f326371a0cefa0c707b61f322271bf3a060f51b3 | [] | no_license | iz4tow/SERRA_AUTOMATICA_ARDUINO | 0707735b3931acd2b376995f228701cb9f0fde97 | bf22350d7852df3b2f17375fce60abb890fc007f | refs/heads/master | 2021-04-15T10:02:40.524166 | 2018-03-26T15:06:42 | 2018-03-26T15:06:42 | 126,846,102 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,334 | ino | SERRA_AUTOMATICA_PROVVISORIO.ino | // Serra autonoma con sensore di temperatura e umidità (DHT11), igrometro, fotoresistore, display LCD 20x4, sensore livello acqua e relè.
const int valore_limite = 27; //Valore dell'igrometro al quale il relay sarà ON
//DHT11 Sensor:
#include "DHT.h"
#define DHTPIN 12 // Sensore collegato al PIN 12
#define DHT... |
512cb317f81f6ded5b9b498bd4668d83cfe68bb2 | 2b1fec5c7979f8e21bf42fcc06606177a29e34e2 | /Sensorer/sensorer.hpp | d4a5471251c1758d3a069a1f95b7e9b4248f1165 | [] | no_license | AOKullberg/kandidatbilenbil | 4c0d07ba9b9719dec080ae0afb4c3cf24278bec6 | 51ac8f33b8f7d728114be84a8de97830348db335 | refs/heads/master | 2021-01-23T05:24:10.185651 | 2017-05-23T10:47:39 | 2017-05-23T10:47:39 | 86,301,071 | 0 | 1 | null | 2017-04-26T08:48:49 | 2017-03-27T06:52:18 | C++ | UTF-8 | C++ | false | false | 176 | hpp | sensorer.hpp | #ifndef sensorer_h
#define sensorer_h
/* Definierar funktioner
*/
void read_sensors(void);
void send_sensor_data(void);
int sensor_setup(void);
void measure_speed();
#endif
|
773b0c1cbb15b62d378d1e86e2d904ac41b96d06 | bf800d33ed6f3863faece4331022ed9a33995282 | /Cpp/객체생성테스트.cpp | c8e8fa9a49a99fe11650e38dad9a8a00d5941bc6 | [] | no_license | dong9409/DongGyu1 | cd03bd225f57648b97b4ddeab4d88739f6740149 | 7a0707e5585668c011bf0461c84ff13c2d759f75 | refs/heads/master | 2023-03-13T12:11:57.646155 | 2021-03-23T05:00:58 | 2021-03-23T05:00:58 | 259,036,479 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 230 | cpp | 객체생성테스트.cpp | #include <iostream>
using namespace std;
class test
{
int x;
int y;
public:
test(int _x=1, int _y=0): x(_x), y(_y) {}
void Print() const{
cout << x << ',' << y << endl;
}
};
int main(void)
{
test().Print();
return 0;
}
|
b9abfac2ba57071a373508af23d05393b8c8c328 | 9b6373ef79e8073c560e9b3ab935ba285589a6ac | /MultiIO/examples/Controle_de_Portas_de_Saida/Controle_de_Portas_de_Saida.ino | c70e6a253f401f63bf232aae8450d7b045975a2c | [
"MIT"
] | permissive | lucasdeosantana/MultiIO | b03bbd67f826abca8529c834ed4b53301e7bece8 | 7377d014aa72a2949a2f771bdc32645d42669ea4 | refs/heads/master | 2021-06-18T06:51:00.823040 | 2017-07-05T22:11:31 | 2017-07-05T22:11:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,662 | ino | Controle_de_Portas_de_Saida.ino | /* *****************************************************************************************************************
* Esse Exemplo demonsta o envio e valores a Portas de saidas com 74HC595. *
* Será enviado as portas os valores crescentes, que serão escritos pela função ... |
0ce1a17c1ec7701ffb07dea06c42a7f1f814c81b | 70f7a85246a0b807f16d1c0aba7497fc73a91da0 | /src/sdktools/debuggers/symchk/symchk/exe/de_utils.cpp | 2b6c1357f6ca1ca3c16b55f8f029101923542dd2 | [] | no_license | conioh/NTOSBE | a2c2087a4477885c4e393268fd916fcbcdf03954 | 4b0848b49ee3079b4115ad9ac7ea8867ab3addbd | refs/heads/master | 2021-01-11T10:54:55.647926 | 2016-11-13T10:42:28 | 2016-11-13T10:42:28 | 76,147,489 | 8 | 3 | null | 2016-12-11T01:27:06 | 2016-12-11T01:27:06 | null | UTF-8 | C++ | false | false | 11,834 | cpp | de_utils.cpp | ///////////////////////////////////////////////////////////////////////////////
//
// This file contains all of the SymChk code that relies on dbgeng.dll
//
#include <windows.h>
#include <dbgeng.h>
#include <dbghelp.h>
#include "Common.h"
#define INTERNAL_ERROR 0x20000008
#define PROCESS_NOT_FOUND 0xDEADBEEF
typed... |
29a616067ae9853f182ffdcd08612931250164a7 | 04fa32e35971bcef99074b97fdf0a611005799c5 | /VersionC++/Headers/boardslot.h | 917579a56451d632cbf423aecaae2dc9a0c19f98 | [] | no_license | AdrianWennberg/ATak | 71cd56c2442b2f9c4c108e7c28a34ef525db7983 | 07aa97c24b47ec0f3194e04d0d84c15f93ff9444 | refs/heads/master | 2021-01-22T21:07:39.882646 | 2017-11-13T06:52:05 | 2017-11-13T06:52:05 | 85,395,233 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 546 | h | boardslot.h | #ifndef BOARDSLOT_H
#define BOARDSLOT_H
#include <vector>
#include <string>
#include "takheader.h"
class BoardSlot
{
public:
BoardSlot();
int addStone(char pStone);
std::vector<char> removeStones(int pAmount);
int size();
bool isPassable();
bool isRoad(CurrentPlayer pOwner);
... |
4c39de63f13acfaedb26d468e5c6acd23cc270ec | 8f9fdd9154cf285b2c18d3f03bdcdab57b33a316 | /Easy/1089-duplicate-zeroes.cpp | 9eed03c58346bec316533523ff83428df3f3695c | [] | no_license | IamRaviTejaG/Leetcode | 6a366d1d6090fc4cda7f07aa821da6b4f52f876d | 9d0015ebe0534882b60a2eeab3a4aa4884d4589e | refs/heads/master | 2020-05-25T16:22:31.557381 | 2019-10-01T17:32:16 | 2019-10-01T17:32:16 | 187,886,334 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 452 | cpp | 1089-duplicate-zeroes.cpp | /*
Author: Ravi Teja Gannavarapu
Difficulty: Easy
https://leetcode.com/problems/duplicate-zeros/
*/
class Solution {
public:
void duplicateZeros(vector<int>& arr) {
ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
for (int i=0; i<arr.size(); i++)
if (arr[i] == 0)
... |
bbd6a5c27a53e79b97170e02c1dc010e6f06d0ed | 548e9087eea5ea27073ec623ffae372be813f1de | /World Finals 2011/coffee.cpp | 5184eb759b2667ee7e690d4d2b0036ee2dcecd50 | [] | no_license | gaoneto/maratona | e70ac7467e1d1fc383338c0b52b110cc2e38f901 | 056fc8187aeb94321862796fc3cc284a8003f5f0 | refs/heads/master | 2021-06-07T13:31:27.536135 | 2019-11-12T11:13:39 | 2019-11-12T11:13:39 | 11,587,935 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,931 | cpp | coffee.cpp | #include <bits/stdc++.h>
#define OFF 1000
using namespace std;
const int N=5e5+10;
int x[N], y[N], xn[N], yno[N], a[3333][3333], dp[3333][3333];
int sum(int a, int b, int c, int d) { return dp[c][d]-dp[c][b-1]-dp[a-1][d]+dp[a-1][b-1]; }
int main()
{
int i, dx, dy, n, q, m, j, t=1;
while(scanf("%d %d %d %d",... |
fd7cd24fddb128d06375b20693635c7a35ec6698 | 297ba5f8b7f9cc01f356eac0e0572654a68e28b0 | /utils/Frustum.cpp | 3a6c45388f53c6cde1f0b47685a6f5414ecf8780 | [] | no_license | elongbug/GLSLCode | 2510f52a8a719be054acd77f23d6e4410f1ef60b | a24665b670330e56077caa84e85e806ae7eca5fc | refs/heads/master | 2021-05-11T20:01:23.844532 | 2014-06-11T15:26:13 | 2014-06-11T15:26:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,315 | cpp | Frustum.cpp | #include "Frustum.h"
using namespace RenderSystem;
Frustum::Frustum()
{
}
Frustum::~Frustum()
{
}
void Frustum::constructFrustum(float screenDepth, mat4 projection_matrix, mat4 view_matrix)
{
mat4 matrix;
// Create the frustum matrix from the view matrix and updated projection matrix.
matrix = projection_matri... |
a6ee9bebc747d9c77ff76aefff81abd7a9a9e233 | 3273724b657e7d53e12abb88ac5132b10330193b | /Classes/math/boundingbox.h | 3fd1bd19d9afc697578237e358cb12f2e8ae5da6 | [] | no_license | gittopper/SpaceArcade | 49e1bfdf443e389c6bc30639c19b261dcab8c0c7 | 857b6c669a007a45f9e2cb54e6f046a4ad4f9748 | refs/heads/master | 2023-04-13T13:06:36.083153 | 2014-10-23T20:17:25 | 2014-10-23T20:17:25 | 25,655,322 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,721 | h | boundingbox.h | //
// boundingbox.h
// SpaceArcade
//
// Created by Admin on 22/10/14.
//
//
#ifndef __SpaceArcade__boundingbox__
#define __SpaceArcade__boundingbox__
#include "vector.h"
namespace Math
{
class BoundingBox2D
{
public:
void merge(const Vector& v);
BoundingBox2D(const VArray& v);
... |
3145283bcb61357dbd168f0f44462cdc2d222bf2 | e7acf27c194832dae79ace54cff0d2a0b5f72646 | /src/Ui/Questions/QAddAccountant.h | 017f202d0abd6e2419ed1e586ae4f561d1370528 | [] | no_license | mrAndersen/cpp_The_Corp_Game | f872d3bd8cc01415f826efeb877712fea1fd46bb | 7d4318701216845f1c7c17ed2199cb94cd6eff0e | refs/heads/master | 2021-03-27T19:54:55.184265 | 2019-08-22T19:53:50 | 2019-08-22T19:53:50 | 102,848,329 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 251 | h | QAddAccountant.h | #ifndef THE_CORP_GAME_QADDACCOUNTANT_H
#define THE_CORP_GAME_QADDACCOUNTANT_H
#include "Question.h"
class QAddAccountant : public Question {
public:
QAddAccountant(float leftOffset, float topOffset);
};
#endif //THE_CORP_GAME_QADDACCOUNTANT_H
|
00784830e4b8a2d857d594e6545c8babffd7e99b | 66e182d6882231ffe4cc323621b55567fe956c98 | /src/cbag/layout/cellview_poly.cpp | c16a3ccc8913281343fe4ed64a9637cc1c9550a9 | [
"BSD-3-Clause"
] | permissive | ayan-biswas/cbag | 24bd236b0c90f9ce0e15ce48f5e33a2ff1054b70 | 0d08394cf39e90bc3acb4a94fd7b5a6560cf103c | refs/heads/master | 2020-04-22T06:09:31.819213 | 2019-02-11T17:10:39 | 2019-02-11T17:10:39 | 170,180,547 | 1 | 1 | BSD-3-Clause | 2019-02-11T18:34:46 | 2019-02-11T18:34:46 | null | UTF-8 | C++ | false | false | 1,415 | cpp | cellview_poly.cpp | #include <cbag/common/box_t_util.h>
#include <cbag/layout/cellview_poly.h>
#include <cbag/layout/grid_object.h>
#include <cbag/layout/routing_grid_util.h>
#include <cbag/layout/tech_util.h>
#include <cbag/layout/track_info.h>
namespace cbag {
namespace layout {
shape_ref<box_t> add_rect(cellview &cv, const std::strin... |
0f6c7638b173a68c51ff38a296fbb4d23a5af402 | 458eea1b41c9eae73146a1668af6bb6a3362a14c | /libraries/process/test/find_test.cpp | d5312724971baa2cd039b51c5ad44d68998fadc9 | [
"BSL-1.0"
] | permissive | mCRL2org/mCRL2 | 91fb459f26087ac50036150cd77c7e8a16b5ec42 | 33d77f5ef994381e03a0d3b0693c1014e4e12d41 | refs/heads/master | 2023-09-01T13:54:28.982994 | 2023-09-01T12:54:35 | 2023-09-01T12:54:35 | 128,542,478 | 90 | 42 | BSL-1.0 | 2023-08-10T15:12:42 | 2018-04-07T15:35:53 | C++ | UTF-8 | C++ | false | false | 2,315 | cpp | find_test.cpp | // Author(s): Wieger Wesselink
// Copyright: see the accompanying file COPYING or copy at
// https://github.com/mCRL2org/mCRL2/blob/master/COPYING
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
/// \file f... |
9fb1513aa98cb928ba96c9ebd53474fd6768e506 | 16c5747cd98cece0202b893190d44217e73b853a | /src/node.cpp | 568f80582da0f97a3b186b55c6a087cacffcd870 | [
"MIT"
] | permissive | whiteblock/discv5_cpp | 000a9163e79a915499b6af957740ddbd6a3e084a | dbdd6a22514a6ef072e86bdbbc267f5dd9107c61 | refs/heads/master | 2020-05-27T11:19:47.142864 | 2019-06-01T18:09:22 | 2019-06-01T18:09:22 | 188,599,159 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,076 | cpp | node.cpp | #include "node.h"
func (n *nodeNetGuts) deferQuery(q *findnodeQuery) {
n.deferredQueries = append(n.deferredQueries, q)
}
func (n *nodeNetGuts) startNextQuery(net *Network) {
if len(n.deferredQueries) == 0 {
return
}
nextq := n.deferredQueries[0]
if nextq.start(net) {
n.deferredQueries = append(n.deferredQ... |
d7dab38a240049035c7528c788567fb86d08f45f | 04c199ad02cc37cad4cb7ac8efbbefffb71c2527 | /Table/DBTableResultSet.h | f27766869ffdf4d89512e87d4ca2f63e7e123dfd | [] | no_license | wingo1990/my_lib | 89ed3a65a9edce6b0f47c5e5caa9e41e2ed6d6f5 | d568fb3f7d9b4e8ace05dbee94acd91ce2d31fe4 | refs/heads/master | 2021-03-12T19:53:12.440793 | 2014-11-19T15:04:31 | 2014-11-19T15:04:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 536 | h | DBTableResultSet.h | #ifndef _DB_TABLE_RESULTSET_H_
#define _DB_TABLE_RESULTSET_H_
#include "TableResultSet.h"
#include "mysql_public_iface.h"
class DBTableResultSet :
public TableResultSet
{
public:
DBTableResultSet(void *);
~DBTableResultSet(void);
void beforeFirst();
void afterLast();
bool first();
bool last();
bool next(void... |
89b31456dcbe5d109193958ac8722ddec6d107a8 | 0fe7aaac6fd83774ddf7272e029c09e4926a310c | /Dynamic_programming/Rock_Climbing/lightoj_1047 - Neighbor House.cpp | 652da8dd09cbeb5704a1143058bc5a911c087255 | [] | no_license | atique7465/algorithm_in_detail | 8e9b8c145cfc0f377bcadb9ab7e9d113f10753b9 | b35da6af622e33a51d9e121d10ea80c5b476eef5 | refs/heads/master | 2022-11-03T14:24:42.812739 | 2022-10-22T09:31:58 | 2022-10-22T09:31:58 | 236,742,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,248 | cpp | lightoj_1047 - Neighbor House.cpp | #include<bits/stdc++.h>
using namespace std;
int grid[21][4],dp[21][4],t,n;
int rock_climbing_fun(int i, int j)
{
if( i>n ) /// if cell is out of grid.
return 0;
if(dp[i][j] != -1)
return dp[i][j];
int ret = INT_MAX;
if(j==1)
{
ret = min(ret,rock_climbing_fu... |
1a8c5f7b20ae2a65c172ae14cd4e7d8d34b624e5 | 5902fa0857cd4f722a9663bbd61aa0895b9f8dea | /BMIG-5101-SequencesAsBioInformation/Blast/ncbi-blast-2.10.0+-src/c++/include/connect/ncbi_conn_stream.hpp | aaeb80558c45349a49e3abaf65a53db14e812f5c | [] | no_license | thegrapesofwrath/spring-2020 | 1b38d45fa44fcdc78dcecfb3b221107b97ceff9c | f90fcde64d83c04e55f9b421d20f274427cbe1c8 | refs/heads/main | 2023-01-23T13:35:05.394076 | 2020-12-08T21:40:42 | 2020-12-08T21:40:42 | 319,763,280 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 130 | hpp | ncbi_conn_stream.hpp | version https://git-lfs.github.com/spec/v1
oid sha256:c29048063403c842c690c6e1dc9001450d9277636a0738090bc84247842c76cb
size 35440
|
652e210d22594d218f5c4a5c5470cfb9c462f8b9 | 16340827bf2dc2cde2260d0cf23bc8d17a96909f | /dependencies/TV3D65/CTVParticleSystem.h | c87ea49bf201de92049577e6a1223b487ae0d98a | [
"BSD-3-Clause"
] | permissive | quakex/gcblue | f6a323fbc9e185e780a272c40445382a44c570a6 | 433ebf1b4c2f2d4448777c46e3b67f0a16be05e0 | refs/heads/master | 2021-01-11T04:56:44.138810 | 2015-08-02T15:03:36 | 2015-08-02T15:03:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,661 | h | CTVParticleSystem.h | #pragma once
#include "tv_types.h"
#include "CTVMiniMesh.h"
class EXPORTCLASS CTVParticleSystem
{
public:
int iParticleSystemIndex;
bool Load(char* sBinaryDataSource);
bool Save(char* sBinaryDataPlace, bool bSaveTextures = true);
int GetEmitterCount();
int GetAttractorCount();
int GetGlobalParticleCount();
... |
dac857c946c1fc7c07664e601256f519332b45ba | bbe2e2346b0feeb5a79f3dac732a5c43160a0b5f | /Codefights/electionsWinners.cpp | 99721b8ba958c25998054a86582da8e072a7e481 | [] | no_license | sarangbishal/Competitive-Coding-Solutions | ac145b83b44d8ba685576ebd6e97bd34ec10f35e | 99aae5b9046dd46a249feaf384e57c7d4e60eec3 | refs/heads/master | 2018-12-06T02:37:15.489723 | 2018-11-27T05:59:19 | 2018-11-27T05:59:19 | 114,850,137 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 578 | cpp | electionsWinners.cpp | int electionsWinners(std::vector<int> votes, int k) {
int maxm = *max_element(votes.begin(), votes.end());
map<int, int> mp;
for(auto x: votes){
mp[x]++;
}
int maxm_cnt = count(votes.begin(), votes.end(), maxm);
if(k == 0){
if(maxm_cnt == 1)
return 1;
}
... |
23ed2e11817bfbc457f25283c59f22b4675a2761 | de7e771699065ec21a340ada1060a3cf0bec3091 | /core/src/test/org/apache/lucene/search/spans/TestSpanExplanations.cpp | 686d3756216dafff6cd7d09b9ad5337c8ae5ad2d | [] | no_license | sraihan73/Lucene- | 0d7290bacba05c33b8d5762e0a2a30c1ec8cf110 | 1fe2b48428dcbd1feb3e10202ec991a5ca0d54f3 | refs/heads/master | 2020-03-31T07:23:46.505891 | 2018-12-08T14:57:54 | 2018-12-08T14:57:54 | 152,020,180 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,543 | cpp | TestSpanExplanations.cpp | using namespace std;
#include "TestSpanExplanations.h"
namespace org::apache::lucene::search::spans
{
using namespace org::apache::lucene::search;
void TestSpanExplanations::testST1()
{
shared_ptr<SpanQuery> q = st(L"w1");
qtest(q, std::deque<int>{0, 1, 2, 3});
}
void TestSpanExplanations::testST2()
{
share... |
8246da47b5eba1d759ec352516885d98d2fdd992 | 0ba672d85df06c158c700855793c80c5b76fbeb0 | /acmicpc/cpp/3449.cc | 11c51ade30b3be7da2d9b213cfc9bc1adb60b9bd | [] | no_license | jhnaldo/problem-solving | 6b986a6d19cfe293c5e148e101fe2a7f88a4e45e | b4fec804b25d88a94cb65a8981f744b290849c1d | refs/heads/master | 2022-07-23T14:06:39.727661 | 2022-07-07T11:17:40 | 2022-07-07T11:17:40 | 122,852,274 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 345 | cc | 3449.cc | #include <stdio.h>
int main(){
int t;
scanf("%d", &t);
while(t--){
int i, count = 0;
char left[101], right[101];
scanf("%s\n%s", left, right);
for (i = 0; left[i]; i++){
if (left[i] != right[i]) count++;
}
printf("Hamming distance is %d.\n", count... |
ecadfe8297988afa24004d4c24f91e2efb48d471 | 0805c1310de7746e6908df3b148e45a9ab652969 | /bdvd/RUVgWorker.h | a3ea25a6e5f57f500bbfa078e83e8e594c0fe846 | [] | no_license | ecto/BDT | b4d8ca9759b40523e77a34e3cfb6ea99c01d25cd | ab8f24a0480929be17b8dd9424def8c90dd85f89 | refs/heads/master | 2021-01-22T01:28:56.238704 | 2016-04-06T22:22:07 | 2016-04-06T22:22:07 | 58,405,650 | 1 | 0 | null | 2016-05-09T20:23:20 | 2016-05-09T20:23:20 | null | UTF-8 | C++ | false | false | 1,172 | h | RUVgWorker.h | #ifndef __RUVgWorker_h__
#define __RUVgWorker_h__
#include <IceUtil/IceUtil.h>
#include <IceUtil/ScopedArray.h>
#include <RUVsWorkItem.h>
#include <armadillo>
#include <RandomHelper.h>
class CRUVgWorker;
typedef IceUtil::Handle<CRUVgWorker> RUVgWorkerPtr;
class CRUVgWorker : public IceUtil::Thread
{
public:
CRUVgWo... |
9e0673902f8be0d55bba339a07465aa78df7a1c1 | 065d717cb3375b843498840d709c689ad1e936dc | /1053.cpp | a93280610d54e89d24c23c7da3dab37c8cad8133 | [] | no_license | otifik/algorithm | 6060d19f1090fe6a31c1c523e3e31fe3dabd0877 | 2f5eafd7f8a3099df0add6ce65e36d860c86c73f | refs/heads/master | 2023-09-04T23:04:18.537769 | 2021-10-04T02:03:20 | 2021-10-04T02:03:20 | 389,320,303 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,275 | cpp | 1053.cpp | //排序,小启发,不要停留在下面一步踌躇不前,要往前想,排序之前就可以完成的,为什么非要放到后面排序
#include<iostream>
#include<algorithm>
#include<vector>
using namespace std;
vector<int> vec[110];
vector<int> tempPath;
vector<vector<int>> path;
int n,m,goalWeight;
int w[110],vis[110];
void dfs(int node,int weight,int nowWeight){
tempPath.push_back(nowWeight);
... |
6f2d1f055e9d12f80dcb575226c9620734bb09d2 | 8afb99756510586538dff13fb6577a769b528f5a | /Practice/Intermediate/Plugins/WindowsNoEditor/NativizedAssets/Source/NativizedAssets/Private/Character_Blueprint__pf2132744816.cpp | 303edb806eb5654da278aac00aabe3f7da9dab2a | [] | no_license | yeshjho/Typing_Game | 35e741f1a27771d92f3a341a42266c904364dad4 | 69ac4c3cf7505976eb9cc107e34bc193478e8ea9 | refs/heads/master | 2021-05-02T14:29:23.247658 | 2018-02-08T05:53:39 | 2018-02-08T05:53:39 | 120,717,722 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 74,173 | cpp | Character_Blueprint__pf2132744816.cpp | #include "NativizedAssets.h"
#include "Character_Blueprint__pf2132744816.h"
#include "GeneratedCodeHelpers.h"
#include "Runtime/Engine/Classes/Engine/InputKeyDelegateBinding.h"
#include "Runtime/Engine/Classes/Engine/TimelineTemplate.h"
#include "Runtime/Engine/Classes/Curves/CurveFloat.h"
#include "Runtime/Engine/Cla... |
beb13c2128f7c052c427bbd58c3cefad946367f5 | c4116c2e8c411a9ab01065144e0e105f99f95313 | /Podd/THaCodaRun.cxx | 1b7c856e80dc21e0a355ebfc7f5bf4ea0948f99f | [
"BSD-3-Clause"
] | permissive | JeffersonLab/analyzer | aba8b4ce90b549b345daa81e731e44b0d704354b | a0613dcafa9efe42f759f5321cd0f8d2c633ba2f | refs/heads/master | 2023-06-17T00:26:31.368749 | 2022-11-06T22:46:23 | 2022-11-06T22:46:23 | 13,133,237 | 9 | 61 | BSD-3-Clause | 2021-10-30T14:54:45 | 2013-09-26T20:14:27 | C++ | UTF-8 | C++ | false | false | 3,917 | cxx | THaCodaRun.cxx | //*-- Author : Ole Hansen 13/05/00
//////////////////////////////////////////////////////////////////////////
//
// THaCodaRun
//
// Description of a run based on CODA data.
//
//////////////////////////////////////////////////////////////////////////
#include "THaCodaRun.h"
#include "THaCodaData.h"
#include "TC... |
f693fa6154901b9f9ddc441753efeba42e8a0c14 | 8f50c262f89d3dc4f15f2f67eb76e686b8f808f5 | /Trigger/TrigEvent/TrigCaloEventTPCnv/TrigCaloEventTPCnv/TrigRNNOutputCnv_p2.h | 355a0fd717986fd5909b1eef9a0b50662bcf8a18 | [
"Apache-2.0"
] | permissive | strigazi/athena | 2d099e6aab4a94ab8b636ae681736da4e13ac5c9 | 354f92551294f7be678aebcd7b9d67d2c4448176 | refs/heads/master | 2022-12-09T02:05:30.632208 | 2020-09-03T14:03:18 | 2020-09-03T14:03:18 | 292,587,480 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,556 | h | TrigRNNOutputCnv_p2.h | /*
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
*/
/**********************************************************************************
* @Project: Trigger
* @Package: TrigCaloEventTPCnv
* @class : TrigRNNOutputCnv_p2
*
* @brief transient persistent converter for TrigRNNOutput
*
* @... |
1b143332fd9e531f01ea33979636eeebe0b19209 | 28dba754ddf8211d754dd4a6b0704bbedb2bd373 | /Spoj/P377_TAXI.cpp | 264a46d098fc249fc6631986abf681ffb928f550 | [] | no_license | zjsxzy/algo | 599354679bd72ef20c724bb50b42fce65ceab76f | a84494969952f981bfdc38003f7269e5c80a142e | refs/heads/master | 2023-08-31T17:00:53.393421 | 2023-08-19T14:20:31 | 2023-08-19T14:20:31 | 10,140,040 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,595 | cpp | P377_TAXI.cpp | #include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>
using namespace std;
const int MAXN = 400 + 10;
int nx, ny, res;
int x1[MAXN], y1[MAXN], x2[MAXN], y2[MAXN];
int cx[MAXN], cy[MAXN], mk[MAXN], g[MAXN][MAXN];
int abs(int x)
{
if (x < 0) return -x;
return x;
}
int path(int u)
{
for... |
c0f6bc5e177b2a6bab9ff9f9e68b6fd74b1f8670 | a204c900eb1fbd8334c6aa65d8c2186240083d76 | /cpp/include/numRec_bits/ludcmp.hpp | 11eb88565d9fb86c381458174d8a3b10531dc613 | [] | no_license | bdcbqa314159/numericalRecipes | bd33dac705e5cdd6495ef6bd50adc2efbfb25fc8 | 31e56abdbc8c361f1960cb6d59974f87f5c4d0a1 | refs/heads/master | 2023-07-03T14:36:00.305764 | 2021-08-03T00:53:39 | 2021-08-03T00:53:39 | 387,030,282 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 341 | hpp | ludcmp.hpp | #include "./nr.hpp"
#ifndef LUDCMP_H
#define LUDCMP_H
struct LUdcmp{
int n;
matDoub lu;
vecInt indx;
double d;
LUdcmp(matDoub_I &a);
void solve(vecDoub_I &b, vecDoub_O &x);
void solve(matDoub_I &b, matDoub_O &x);
void inverse(matDoub_O &ainv);
double det();
void mprove(vecDoub_I &b, vecDoub_IO &x);
matDoub... |
8ea5b6e58b88fe154d877d13a104eebdb3d43e16 | 5f85e0b9bb0fe18abb874f498c2e34c3db51a590 | /202011231646 - ruya44 (C - OOP)/03_example-code/University-Course-Object-Oriented-Programming-416f93567861fc33b66a4f1f8d8b7a65ebed1ca8/Laboratory/Lab8/OOP1_Lab8_PreLab_Quiz_152120141003_SafakAkinci/RectangularPrism.h | f4425459df13797624de1e6291616928f0cc639a | [] | no_license | serdaraltin/Freelance-Works-2020 | 8370c68603d309f55f67adc41b74931a844a4e1a | 7d890a305e764791bf525a170351386eabd957e3 | refs/heads/master | 2023-05-31T07:10:42.806165 | 2021-06-20T20:25:27 | 2021-06-20T20:25:27 | 292,573,849 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,247 | h | RectangularPrism.h | /*****************************************
* RectangularPrism.h *
*****************************************
* IDE : Xcode *
* Author : Şafak AKINCI *
* Experiment 8: Polymorphism *
*****************************************/
#ifndef Rectangu... |
e1fb43f3e238ce7218ad4cf2b1158352dc1d155b | 32a87cda74dacf8289b21aefd63fbcb31d20c535 | /Kassiopeia/Bindings/Terminators/Source/KSTermMinEnergyBuilder.cxx | f374c82a102d7a2a11cf03a7956eeda28b549136 | [] | no_license | Blawker/Kassiopeia | 16c9ed4e203073409cc58e009207950b0f7dde80 | 4f7145bde9972cfa088a1994f98a491646333a8b | refs/heads/master | 2022-12-03T19:28:38.050926 | 2020-08-18T14:16:21 | 2020-08-18T14:16:21 | 279,245,030 | 1 | 0 | null | 2020-07-13T08:38:58 | 2020-07-13T08:38:57 | null | UTF-8 | C++ | false | false | 463 | cxx | KSTermMinEnergyBuilder.cxx | #include "KSTermMinEnergyBuilder.h"
#include "KSRootBuilder.h"
using namespace Kassiopeia;
using namespace std;
namespace katrin
{
template<> KSTermMinEnergyBuilder::~KComplexElement() {}
STATICINT sKSTermMinEnergyStructure =
KSTermMinEnergyBuilder::Attribute<string>("name") + KSTermMinEnergyBuilder::Attribute... |
9989d904e8d28be9094fa43e05ae0deacc74617f | a2b2da50731bff0c086838d01392a42777920aae | /TList/Gr_polinom/Form1.h | 076b3d6a0eecae2b5f3bb0dfcd21a93cb7345821 | [] | no_license | pavelkumbrasev/TList | 7d22698882afe550a1ec376b87ae013a59d1df40 | 7d0caf0124fd7885106db00b27cdf970ec8d1b41 | refs/heads/master | 2021-09-07T13:41:09.527378 | 2018-02-23T18:00:26 | 2018-02-23T18:00:26 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 8,560 | h | Form1.h | #pragma once
#include "TPolinom.h"
#include <string>
namespace Gr_polinom {
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
/// <summary>
/// Сводка для ... |
962199ac29e4da37b35f1c5e50e3a42cbab0d0be | 853fddd69e2ae20058d5a8fe52e2d386dd613811 | /test/Test_Tool.h | a2e2784b66d0a5470c2052b7e178610f718a3e1e | [] | no_license | ABackerNINI/CRMS_On_VxWorks | ed2b81fe5f7ecff71e42e0e88603f9cdfa4f67a2 | 9b90d163840a25ee4ebe94a91c6de93588622e72 | refs/heads/master | 2021-01-16T18:10:36.044839 | 2017-11-20T02:58:14 | 2017-11-20T02:58:14 | 100,043,569 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,271 | h | Test_Tool.h | //
// Created by nini on 11/9/16.
//
#ifndef _CRMS_TEST_TOOL_H_
#define _CRMS_TEST_TOOL_H_
#include "../utility/HttpUtil/HttpUtil.h"
#include "../protocol/resource/crms_common/CRMS_RetrieveQuery.h"
#include "../protocol/resource/crms_resource/CRMS_Resource.h"
namespace test_tool {
static const std::string URL =... |
a7d3ded788e287dea3e447b98de4f0bcdb0e9dee | 4ff2f1b2cc2dffa9560303a7686e958bc1ba4361 | /Source/HandMoves/Record.h | ab0a9c3aca5bc029bc4664369e17326cdb24b375 | [
"MIT"
] | permissive | favorart/robot-hand | 4fb596f2d6ead3d981a6980f95fc3727fb8ea9c8 | 55ea2a74573972a6e5efcf525485e56918d81086 | refs/heads/master | 2021-01-09T07:04:35.297134 | 2020-09-16T15:35:28 | 2020-09-16T15:35:28 | 49,375,205 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,195 | h | Record.h | #include "StdAfx.h"
#ifndef _RECORD_H_
#define _RECORD_H_
//------------------------------------------------------------------------------
#define HAND_VER 2
#if HAND_VER == 1
#include "Hand.h"
using namespace OldHand;
#elif HAND_VER == 2
#include "Hand.h"
using namespace NewHand;
#include "HandMuscles.h"
#endif
... |
94dcf81526a1f7dcc18ed941bb7b715d7dd83899 | 40d923f83eb732a884f546b46185b9b94c88ea6e | /N5110LCD/5110LCD.cpp | 9805140bafa9ce8612d137e8541f5fd6cd87777d | [] | no_license | Nand-e/RPI-TFTLIBS | 130c0e1f26914d180b273b55091e05ba5a93e092 | a50f9edfef8fb9d047c8e6e7c06493c40be5c050 | refs/heads/master | 2021-01-19T07:09:56.020015 | 2016-06-06T20:45:29 | 2016-06-06T20:45:29 | 60,264,745 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,252 | cpp | 5110LCD.cpp |
/* PCD8544-specific defines: */
#define LCD_COMMAND 0
#define LCD_DATA 1
#include "5110LCD.h"
#include <wiringPi.h>
#include <wiringPiSPI.h>
#include <stdio.h>
#include <stdlib.h>
NOKIALCD::NOKIALCD ( int dc, int sce, int rst ) :
GFX ( LCD_WIDTH, LCD_HEIGHT )
{
scePin = sce;
rstPin = rst;
dcPin = dc;
... |
b3d8976af9238d2bca490142ae4a1c2c5f30dc7a | fa3b89c5ead0d403f7db4be81f791a272f4fe62e | /alg/poj/archive/3216/7296030_RE.cpp | 4c8911962426c1f581208c9f47dc2fa2326f2f5d | [] | no_license | ruleless/programming | aa32e916a5b3792ead2a6d48ab924d3554cd085f | c381d1ef7b1c7c0aff17603484e19a027593429b | refs/heads/master | 2022-11-14T02:07:47.443657 | 2022-11-03T23:47:32 | 2022-11-03T23:47:32 | 86,163,253 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,392 | cpp | 7296030_RE.cpp | #include <iostream>
#include <cstdio>
using namespace std;
#define MAX 10000000
int f[22][22],n,m;
int p[220],start[220],end[220];
bool edge[220][220];
void floyd()
{
int i,j,k;
for(k=1;k<=n;k++)
{
for(i=1;i<=n;i++)
{
for(j=1;j<=n;j++)
{
if(f[i][k]+f[k][j]<f[i][j])
{
... |
a1a2afcb504af7f06cbcece4699c077d58af2268 | a5f3b0001cdb692aeffc444a16f79a0c4422b9d0 | /main/sc/inc/pivot.hxx | b425c86582c6a9a9d9f1c3a40517211109ac9c40 | [
"Apache-2.0",
"CPL-1.0",
"bzip2-1.0.6",
"LicenseRef-scancode-other-permissive",
"Zlib",
"LZMA-exception",
"LGPL-2.0-or-later",
"LicenseRef-scancode-free-unknown",
"LicenseRef-scancode-philippe-de-muyter",
"OFL-1.1",
"LGPL-2.1-only",
"MPL-1.1",
"X11",
"LGPL-2.1-or-later",
"GPL-2.0-only",
... | permissive | apache/openoffice | b9518e36d784898c6c2ea3ebd44458a5e47825bb | 681286523c50f34f13f05f7b87ce0c70e28295de | refs/heads/trunk | 2023-08-30T15:25:48.357535 | 2023-08-28T19:50:26 | 2023-08-28T19:50:26 | 14,357,669 | 907 | 379 | Apache-2.0 | 2023-08-16T20:49:37 | 2013-11-13T08:00:13 | C++ | UTF-8 | C++ | false | false | 5,824 | hxx | pivot.hxx | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... |
03947b09fa6bfd2aedb58e5e93be4d66266102d2 | 3a37e6c3cefc528d7b12b41b685d1cc1d8aeb0c6 | /Btree/Btree/Btree.cpp | 50eb0ff70fda4971f241695bb861f7a2006244b7 | [] | no_license | p3hr55/binary_search_tree | a95c057f7712586119b3619aafb6aba6eba94efd | ed99a1d449dc855cf2f2b86e5658f2a33c299583 | refs/heads/master | 2021-01-21T07:13:37.418669 | 2017-05-17T17:33:55 | 2017-05-17T17:33:55 | 91,598,959 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,074 | cpp | Btree.cpp | // Brandon Alvino
// null793@gmail.com
// Project 6
#define MAX_FILE_SIZE 50
#include <iostream>
#include <fstream>
#include <string>
#include <sstream>
using namespace std;
struct Node
{
int data;
Node * right = NULL;
Node * left = NULL;
};
class Btree
{
private:
Node * root = NULL;
int *... |
210dce20dfcf2fbf012323a3b73474540b640048 | eecea56074ce452c0d1067ed6e8a33de3b7f6638 | /JitCpp/ClangDriver.hpp | 7fbfff560c5e194d25c6a337683a764255eb2613 | [] | no_license | scrime-u-bordeaux/score-addon-jit | 2f47bc8f8d56387dc68dd2dbf69a93401e8ddc03 | 0bdc10a846418281ef9e75f52aac9fe38234b033 | refs/heads/master | 2020-04-24T05:49:44.390836 | 2019-02-16T09:54:48 | 2019-02-16T09:54:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 758 | hpp | ClangDriver.hpp | #pragma once
#include <JitCpp/JitPlatform.hpp>
#include <JitCpp/JitUtils.hpp>
#include <clang/Frontend/TextDiagnosticBuffer.h>
#include <vector>
#include <string>
namespace Jit
{
class ClangCC1Driver
{
public:
ClangCC1Driver() = default;
~ClangCC1Driver();
static ossia::optional<QDir> bitcodeDatabase();
ll... |
da17e9f586167f839aeb7684b9b45acfa828692c | 8789405af25893254a8b4206cd911929a9b46c36 | /main_window.cpp | 1a28195345e301cc80a9d9133f7ae81902a5fdea | [] | no_license | Nierius/Slots-game | 9528b22726ec15c760011687bf48410fe23facc0 | 67ae638dcf33b15fff9028486881040d79e995ff | refs/heads/master | 2023-01-24T11:14:30.224577 | 2020-01-16T22:54:14 | 2020-01-16T22:54:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,587 | cpp | main_window.cpp | /*
#####################################################################
# TIE-02207 Programming 2: Basics, F2018 #
# Project4: Slots #
# Program description: Implements a virtual slots game. #
# File: main_window.cpp ... |
10516be2c596289840b88f84631f3c0172042f0d | ab81ae0e5c03d5518d535f4aa2e3437081e351af | /OCCT.Foundation.Net/Draw/TKTopTest/GeometryTest/GeometryTest_CurveTanCommands.cxx | 5871aeb0d42fa571026088b0d0d9ea7af610bb2e | [] | no_license | sclshu3714/MODELWORX.CORE | 4f9d408e88e68ab9afd8644027392dc52469b804 | 966940b110f36509e58921d39e8c16b069e167fa | refs/heads/master | 2023-03-05T23:15:43.308268 | 2021-02-11T12:05:41 | 2021-02-11T12:05:41 | 299,492,644 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 15,197 | cxx | GeometryTest_CurveTanCommands.cxx | // Created on: 2017-06-16
// Created by: Natalia ERMOLAEVA
// Copyright (c) 2017 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as ... |
d055b5339894ef68c15d85e3e2d10d300ecc53d6 | 04f85beac32f5977f9ff1a4944b0faa41f669a37 | /ConndSvr/ConndServerSrc/session/Session.cpp | ffc4907a57e8252e42576e8d2fc96be442bb8203 | [] | no_license | loganwu/ServerForMogan | 5dcf3af80bbfa97413b7c1cfd69ec83e560c4b05 | 1c4e7d5a54ae4b0e70766d44e617553910132dea | refs/heads/master | 2016-09-06T00:22:28.496713 | 2015-12-02T07:02:34 | 2015-12-02T07:02:34 | 19,661,388 | 0 | 0 | null | 2015-08-05T07:17:46 | 2014-05-11T07:59:31 | C++ | UTF-8 | C++ | false | false | 3,197 | cpp | Session.cpp | #include <arpa/inet.h>
#include <unistd.h>
#include "Session.h"
#include "NetworkWrapper.h"
#include "log.h"
#include "SingletonHolder.h"
#include "SessionMgr.h"
#include "MsgMgr.h"
/************************************************/
/*libevent cb def*/
/************************************************/
... |
a4627d0b80c3ff29814324fd41484484d6395fbb | 492524eeed4931c2c838ee18e8b44c048e1a58ef | /OS/nachos/threads/main.cc | b659c9d0580937d3c4f41d6c06455f4c8eaef24a | [
"MIT-Modern-Variant"
] | permissive | abhipa5197/PersonalDevelopment | c831a3394e7197945cda8736a1c8786e7200f64a | c10d2b1c932d90203b2b67bf861713762bdbc8ce | refs/heads/master | 2022-07-11T03:17:07.160648 | 2020-05-17T16:32:58 | 2020-05-17T16:32:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,740 | cc | main.cc | // main.cc
// Bootstrap code to initialize the operating system kernel.
//
// Allows direct calls into internal operating system functions,
// to simplify debugging and testing. In practice, the
// bootstrap code would just initialize data structures,
// and start a user program to print the login prompt.
//
// ... |
9ea749c3180c3625b4c5b3bdd7b5bd5581093c9e | fa6bdf281dd4f4b60991c0eae25c658472688c1e | /plugins/Dfusion/src/lua_Console.cpp | 1d52d61582c801a74429c9ca7f46af3bf771e0ed | [
"MIT",
"Zlib",
"BSD-2-Clause",
"LicenseRef-scancode-public-domain"
] | permissive | jaxad0127/dfhack | 642195807763d47e81491244ab536efb3f4c9689 | f3ca3addbf4b842ceef567837edf768646ce07e7 | refs/heads/master | 2021-01-17T21:54:55.340280 | 2012-05-11T04:06:43 | 2012-05-11T04:06:43 | 1,686,001 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,903 | cpp | lua_Console.cpp | #include "LuaTools.h"
#include "lua_Console.h"
#include <sstream>
//TODO error management. Using lua error? or something other?
static DFHack::color_ostream* GetConsolePtr(lua::state &st)
{
return DFHack::Lua::GetOutput(st);
}
static int lua_Console_clear(lua_State *S)
{
lua::state st(S);
DFHack::color_ostrea... |
f98dceae3400565da3326dc9703f1be133ed701e | 28deae191271bc80344aa266aa71856a0a558dd4 | /Project/befc/smi/calls/Smi_ProcSetDbg.cpp | 6ffc4d56e3f6d4c2edcf07d35b2bb468d03b2085 | [] | no_license | ruudstaal/myproject | fb15d2da87523edccd86c3450cb01c16c76ce61b | 483dff59824a39508c1f8c6df5d37c60fbd84429 | refs/heads/main | 2023-03-16T10:21:19.198456 | 2021-02-26T10:31:11 | 2021-02-26T10:31:11 | 342,539,312 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,224 | cpp | Smi_ProcSetDbg.cpp | /**
********************************************************************************
* @file Smi_ProcSetDbg.cpp
* @author madsen
* @version $Revision: 000 $
* @date $LastChangeDate: Feb 12, 2013 9:50:58 AM 11:00:00 $
*
* @brief Implementation of Smi_ProcSetDbg
*
**********************************... |
c8bd2a85fe1798b69ff988c256be6c5c2f0a4514 | 2476b7218dca3c53ce44e487f11ea3fdb7626d61 | /src/settingmodel.cpp | 0e580c56aa677b9d9ef7a2299ac0ad5ecfd0ebea | [] | no_license | glKarin/weibomm | 459b7bc9fda531ee1243014421bdd0287d161be4 | c767ff13d022e57a3b2ae5b7a22cd5b1dbeb492a | refs/heads/master | 2020-07-02T16:09:20.167448 | 2019-08-16T05:26:18 | 2019-08-16T05:26:18 | 201,583,515 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,668 | cpp | settingmodel.cpp | #include "settingmodel.h"
#include <QSettings>
#include <QDateTime>
#include <QDebug>
#include "database.h"
namespace id
{
extern idDatabase * database_instance();
}
const QString id_settingModel::TableName = "id_recent_topic";
id_settingModel::id_settingModel(QObject *parent)
: QObject(parent),
m_settings(new... |
c768fba031a210b5da60082e86dc75fd14158ebc | 58a0ba5ee99ec7a0bba36748ba96a557eb798023 | /CodeForces/misc/Xenia and Bit Operations.cpp | 1b22e09cf5a6de294233b8cc77bd63859b543277 | [
"MIT"
] | permissive | adityanjr/code-DS-ALGO | 5bdd503fb5f70d459c8e9b8e58690f9da159dd53 | 1c104c33d2f56fe671d586b702528a559925f875 | refs/heads/master | 2022-10-22T21:22:09.640237 | 2022-10-18T15:38:46 | 2022-10-18T15:38:46 | 217,567,198 | 40 | 54 | MIT | 2022-10-18T15:38:47 | 2019-10-25T15:50:28 | C++ | UTF-8 | C++ | false | false | 1,835 | cpp | Xenia and Bit Operations.cpp | #include <bits/stdc++.h>
using namespace std;
#define mod 1000000007
#define pie 3.14
typedef long long int ll;
/*
.d8b. d8888b. db db .d8b. d8b db
d8' `8b 88 `8D `8b d8' d8' `8b 888o 88
88ooo88 88oobY' `8bd8' 88ooo88 88V8o 88
88~~~88 88`8b 88 88~~~88 88 V8o88
88 88 88 `88. 88 88 88 ... |
652d81d74e3b10716dcb8e969632eceb4dc5bf0b | 5dfd71fe542213ebb289525b78aa9af312cb5690 | /dense-frontier/driver/BFSAccelerator.cpp | 5666d9411b8d094834431607d2f0332721d11373 | [
"CC-BY-4.0"
] | permissive | mahesh15230/fpga-booleanring-bfs | 6fabd00bc924e05e8468cf2880fcb88b2427b029 | b9e2abb67ec4a617099e93c9ebb11de04deed21b | refs/heads/master | 2020-03-27T21:34:57.209400 | 2015-06-09T12:47:13 | 2015-06-09T12:47:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,486 | cpp | BFSAccelerator.cpp | /*
* BFSAccelerator.cpp
*
* Created on: Feb 3, 2015
* Author: maltanar
*/
#include <iostream>
#include "BFSAccelerator.h"
using namespace std;
static const char * feStateNames[] = { "Idle", "ReadColLen", "ProcUpper",
"ProcBoth", "Finished", "ResultDump" };
static const char * rgStateNames[] = { "sIdle"... |
45992b44e1735e8febe7c3c9b80f7afa601f9785 | 96a2c31554501a3fc1534960cdfb1e39bda0cdd6 | /Data Structures/Trees/Binary Trees/LevelOrderLineByLine.cpp | 2870b3c7bbc0e5fa8aeac1efef5c29b66ae2a6d7 | [
"Apache-2.0"
] | permissive | anjali9811/Programming-in-Cpp | d539fabdfda2a6b5b9126e26d267bb632e91c20f | 02e80e045a7fb20f8970fcdae68c08bdf27f95b8 | refs/heads/master | 2022-12-20T11:27:43.430458 | 2020-09-30T19:59:18 | 2020-09-30T19:59:18 | 300,045,235 | 0 | 0 | Apache-2.0 | 2020-09-30T19:55:16 | 2020-09-30T19:55:15 | null | UTF-8 | C++ | false | false | 1,022 | cpp | LevelOrderLineByLine.cpp | #include<iostream>
#include<queue>
using namespace std;
struct node{
int data;
struct node *left,*right;
};
node *newNode(int data)
{
node *temp = new node();
temp->data = data;
temp->left = temp->right = NULL;
}
void PrintLevelLinebyLine(node *root)
{
queue<node *>q;
if(!root) return ;
q.push(root)... |
60d08e2e692ba5a1840bb554474846b711ec0ea4 | a5477fcfb46b78f012dff655c01c3fc1d8e560d5 | /app/genipaessentials/genipaessentials.cpp | 6108669b7e10c3733c8c46b305f7066ebfa297a2 | [
"MIT"
] | permissive | biotomas/ipasir | 13bebde77ffa41aed14817f6b25e39ed66620417 | 461a8f4611c41980037723d0e26856fb224ab188 | refs/heads/master | 2022-07-06T14:48:48.647836 | 2022-06-28T07:37:35 | 2022-06-28T07:37:35 | 90,234,010 | 42 | 14 | NOASSERTION | 2022-06-28T07:37:36 | 2017-05-04T07:26:24 | C++ | UTF-8 | C++ | false | false | 3,779 | cpp | genipaessentials.cpp | /*
* essentials.cpp
*
* Created on: Feb 3, 2015
* Author: Tomas Balyo, KIT
*/
extern "C" {
#include "ipasir.h"
}
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <vector>
int getDualRailName(int lit) {
if (lit == 0) {
return 0;
}
if (lit > 0) {
return 2*lit;
} else {
return... |
d31756e3d46d2022390afd78a6b6af0af82b93bd | bc8499da4640a2c33056d56e63e618a0269f3f17 | /BountyHunterDemo/Camera.h | beabfed6c5d663000d1019a804813eba779497cc | [] | no_license | tobias-stein/BountyHunterDemo | 944ac6ebc4b928aca12858f299d5d067c43919cf | 2af31d09a3eeaff540ab14775bc0385a01a11d33 | refs/heads/master | 2023-06-07T15:11:13.038034 | 2023-05-25T04:47:29 | 2023-05-25T04:47:29 | 158,100,966 | 26 | 12 | null | null | null | null | UTF-8 | C++ | false | false | 1,010 | h | Camera.h | ///-------------------------------------------------------------------------------------------------
/// File: Camera.h.
///
/// Summary: Declares the camera class.
///-------------------------------------------------------------------------------------------------
#ifndef __CAMERA_H__
#define __CAMERA_H__
#include "... |
7d7c0b8a67802688e3e4d9224b2b39297710ff00 | fe8f319a84bac90613ec58e089ff0d859a1ba9ec | /leetcode/49_group_anagrams2.cpp | fc2fad4bf76251d39a90e628346597e5713d6f5e | [] | no_license | guohuiGH/codes | 354013a957b3f6dad120b0c731f19b21cd8a24ae | ebb0a295b426dc9e4f2defc7b4c5ac95510cfb2d | refs/heads/master | 2021-01-21T04:47:52.307431 | 2016-06-10T02:55:49 | 2016-06-10T02:55:49 | 43,237,600 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,053 | cpp | 49_group_anagrams2.cpp | /*************************************************************************
> File Name: 49_group_anagrams2.cpp
> Author: guohui
> Mail: guohui1029@foxmail.com
> Created Time: 2016年03月25日 星期五 16时50分14秒
************************************************************************/
#include<iostream>
#includ... |
b691987bb72ec8ca041c65e256c8d1ffd64f22ac | d01c806931e18a0ded5c9c1b6cc23e25d4f58f3f | /Disparity.cpp | b64eae588c40c35ab8eb3522d75c7abc57b5ab14 | [] | no_license | reid-sutherland/opencv-webcam | 8a37671b5ed72a9342e05fcaf2188e6f991f6b4f | 4fbe2d48268084adcca9ec51606756b0e2caa951 | refs/heads/master | 2021-01-19T15:48:12.885287 | 2017-09-20T14:42:35 | 2017-09-20T14:42:35 | 98,576,301 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,164 | cpp | Disparity.cpp | /*
* Disparity.cpp
*
* Created on: 19 sept. 2015
* Author: erman
*/
//#define DEBUG
//#define STAT
#include "Disparity.h"
using namespace cv;
Disparity::Disparity()
: method("sgbm"), wls_lambda(8000.0),
filterType("wls_conf"), wls_sigma(1.5), vis_mult(1.0),
numberOfDisparitie... |
21b07873e68d92965c6ed0419e369e3807641bd0 | 3a4dd6496ccaedc97f68434705644d152787e558 | /src/Scene.cpp | bb25eabaa557f00ef6637d7d94c0e935c31a5663 | [] | no_license | r-englund/Monte-Carlo-Global-Illumination-Project | d053f2473e39bd344fc341edd396eba14c3511b8 | dc054a5e82dc49ba359071a1781f857bd325bff6 | refs/heads/master | 2021-01-10T22:08:26.402659 | 2013-01-25T13:50:21 | 2013-01-25T13:50:21 | 6,258,253 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,911 | cpp | Scene.cpp | #include "includes.h"
#include <fstream>
#include <map>
#include <string>
Scene::Scene()
{
bgColor = Color3(0,0,0);
cam = new Camera();
}
Scene::~Scene()
{
std::cout << "Deleting scene" << this->object.size() << std::endl;
for(unsigned int i = 0; i < this->object.size(); i++)
{
std... |
68fc7dc8d21e3360628f7ab589a0bd8f55b94fac | 25b10a250c86a7554904dd1b6ce1275c574cef2e | /n k repeat numbers.cpp | 3552db1c60b6af9b20dcbc28f914557f4a36d00f | [
"MIT"
] | permissive | ar1936/cpp | f34557c2a14a32c8911fcb18b0c48b722fede8b7 | 4c76c2bf5308d8d3b6e295482e3ce4284fbeaf13 | refs/heads/main | 2023-05-18T20:52:58.832046 | 2021-06-10T21:23:57 | 2021-06-10T21:23:57 | 343,705,272 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,052 | cpp | n k repeat numbers.cpp | // A C++ program to print elements with count more than n / k
#include <iostream>
using namespace std;
// A structure to store an element and its current count
struct eleCount
{
int e; // Element
int c; // Count
};
void moreThanNdK(int arr[], int n, int k)
{
if (k < 2)
return;
... |
2d0bcae3123e4a4a3aef858c297dcfa2a5046b72 | 1ca5937db4d17a8db3244cf647bac4343cca66fa | /Triangle.cpp | be3946e0a8b0b9182a6647b1bb1ff479919a01c9 | [] | no_license | patrick141/GraphicsProjectInPPM | 539c0db00ed9612ee6ded69b6b6adbf1332b02d7 | 0896b08db599bd9ad59fa90f90840bfba627d3e8 | refs/heads/master | 2023-01-24T17:08:40.232013 | 2020-12-07T17:25:02 | 2020-12-07T17:25:02 | 299,405,784 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,385 | cpp | Triangle.cpp | #include "Triangle.h"
Triangle2D::Triangle2D()
{
v1 = Vector2(0.0 ,0.0);
v2 = Vector2(0.0 ,0.0);
v3 = Vector2(0.0 ,0.0);
c1 = Black;
c2 = Black;
c3 = Black;
}
Triangle2D::Triangle2D(Vector2 a1, Vector2 a2, Vector2 a3, Color b1, Color b2, Color b3)
{
v1 = a1;
v2 = a2;
v3 = a3;
... |
676ad2441a29bdaf44cafe1b5fda0c4fe925d887 | 66626bdbf7ee3e41289ba1f3027c44542d6ac15b | /Hackson2Ginza/Customer.cpp | 37b4384f8a841731b46fd994866f10887a0bb578 | [] | no_license | hackerthonForStudy/Hackson2Ginza | d08d7d513e004848e512df7a5cfa630af63cbc78 | 0e7267f6f9df32b39661d4ec16dd5fc266f92731 | refs/heads/master | 2020-03-18T15:48:24.744026 | 2018-05-26T12:19:29 | 2018-05-26T12:19:29 | 134,930,021 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 678 | cpp | Customer.cpp | #include "Customer.h"
#include "ProgressBar.h"
Customer & Customer::operator=(const Customer & c)
{
z_area = c.z_area;
z_progress = c.z_progress;
z_time = c.z_time;
z_speed = c.z_speed;
z_isExist = c.z_isExist;
return *this;
}
void Customer::Draw() const
{
if (!IsExist())
return;
z_area(z_texture).draw(... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.