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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0c0f3e19b7cf62cce217c81a05ce9c674a970a82 | b3216223376513a0bf645d381973491994ef71f1 | /testCase/inletOutletFlow/0.05/f | e53d07aeda70f42e6f8b2a87449222d64ae09f5c | [] | no_license | pramilasneh/immersedBodyMethod-functionObject | 2cab78713695c646b944eefe6c0e6033923e3f49 | 46aa0396d152a20482453d14ef75109e9769ea15 | refs/heads/master | 2020-03-31T18:56:21.934866 | 2018-10-10T19:45:51 | 2018-10-10T19:45:51 | 152,479,104 | 0 | 0 | null | 2018-10-10T19:34:47 | 2018-10-10T19:34:47 | null | UTF-8 | C++ | false | false | 49,231 | f | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1806 |
... | |
62dd51e5cc8ca66fff30773ff09effe2d1e9c6c1 | 59dc938d387e0fbd1970391f27d26a4adc0423a6 | /Engine/Source/Core/SurfaceHit.cpp | 9bf6c8fab2aac88d569a775ea9029f4113f984d4 | [
"MIT"
] | permissive | VovoWang/Photon-v2 | 35d06bcc279a887c1e4a301744fa97cb77210216 | 82687ba650e98a2bfb73d897f673aa9a856245af | refs/heads/master | 2021-04-26T22:19:04.520190 | 2018-03-06T11:44:13 | 2018-03-06T11:44:13 | 124,069,900 | 0 | 0 | null | 2018-03-06T11:40:25 | 2018-03-06T11:40:25 | null | UTF-8 | C++ | false | false | 69 | cpp | SurfaceHit.cpp | #include "Core/SurfaceHit.h"
namespace ph
{
}// end namespace ph |
f9e29ea5e27be1050080441ff20c4f1cb277c626 | eeff654d4540ce7e885fe3988dda29b792cbe3cc | /Classes/MainMenuScene.h | 74cde63189c8ddb5736d9bf581800459b5c7d271 | [] | no_license | sapphireHL/cocos2dx-FlappyBird | 87a257c144b6c52e5e105256754e25ff3a155c32 | f924259fb7c8b55a212d6335072861fa46805c29 | refs/heads/master | 2021-08-15T20:44:14.719255 | 2017-11-18T08:06:10 | 2017-11-18T08:06:10 | 111,186,363 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 462 | h | MainMenuScene.h | #ifndef __MAIN_MENU_SCENE_H__
#define __MAIN_MENU_SCENE_H__
#include "cocos2d.h"
#include "SimpleAudioEngine.h"
USING_NS_CC;
using namespace CocosDenshion;
class MainMenu : public cocos2d::Scene
{
public:
static cocos2d::Scene* createScene();
virtual bool init();
// implement the "static create()" method manual... |
0aeaa1fcbc68e036c246f621f0112ab36d39bdb7 | b326b8164beadc42e8f35b8c89977c7814938dd3 | /wk2/lab02/q3.cpp | 1f39f325768dc08a4208958f34316f1c09b4d9ec | [] | no_license | FraserGreen/APT | 2e8f296f83033a55bfcc89bd6c42cfc99acc49e7 | e55e338f4b3340e29146e2f21d3c2603da4bb15a | refs/heads/main | 2023-04-15T05:59:01.882875 | 2021-04-24T07:38:18 | 2021-04-24T07:38:18 | 354,027,635 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 349 | cpp | q3.cpp | #include <iostream>
using std::cin;
using std::cout;
using std::endl;
int main(void)
{
cout << "The purpose of a function prototype is to let the compiler know that there exists a method that will be called from the main" << endl;
cout << "It also reveals the number and type of parameter(s), and the return val... |
a1856f8cb57cb10cc750358a9403d5ccbf7506d3 | 39adfee7b03a59c40f0b2cca7a3b5d2381936207 | /codeforces/638/B.cpp | 61395ad3b89fd3d78a6ab9e3dfd42ce263e68889 | [] | no_license | ngthanhtrung23/CompetitiveProgramming | c4dee269c320c972482d5f56d3808a43356821ca | 642346c18569df76024bfb0678142e513d48d514 | refs/heads/master | 2023-07-06T05:46:25.038205 | 2023-06-24T14:18:48 | 2023-06-24T14:18:48 | 179,512,787 | 78 | 22 | null | null | null | null | UTF-8 | C++ | false | false | 1,678 | cpp | B.cpp |
#include <bits/stdc++.h>
#define int long long
#define FOR(i,a,b) for(int i=(a),_b=(b); i<=_b; ++i)
#define FORD(i,a,b) for(int i=(a),_b=(b); i>=_b; --i)
#define REP(i,a) for(int i=0,_a=(a); i < _a; ++i)
#define DEBUG(X) { cout << #X << " = " << (X) << endl; }
#define PR(A,n) { cout << #A << " = "; FOR(_,1,n... |
3b3e47fd2dc31749ef25e60b5d12116a7458d771 | d347554c4bc24b7e159551007f5683cac8fa97d0 | /arincmerge/src/arinc/structures/Ndb.cpp | 5235e4dc415882a66f3d5326c11e9ae0b8586a64 | [] | no_license | ansartnl/ALPHA | 892065b1476ec9c35e834a3158592332cda4c5f5 | 138ddd981ed5bac882c29f28a065171e51d680cf | refs/heads/main | 2022-12-27T16:15:28.721053 | 2020-10-16T08:58:41 | 2020-10-16T08:58:41 | 304,633,537 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17 | cpp | Ndb.cpp | #include "Ndb.h"
|
0b734462af19d174f5c932bcdf5506b9c54c1918 | 1c9b4c164245e6f01b893badd7dee958324f4bcd | /src/entity/entity.cpp | bcb7b2d697338ae5114c8f4ea91ae3be21be32ef | [] | no_license | Minichota/Deranged-Farmer | 4b74cd410fa4022a91615a43286e0a4c0f25fccb | ddc160bb59e99c7d30e7aec79512f222129a1441 | refs/heads/master | 2020-04-29T13:41:34.701851 | 2020-01-25T05:37:58 | 2020-01-25T05:37:58 | 176,175,718 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,921 | cpp | entity.cpp | #include <cassert>
#include <cmath>
#include "entity.hpp"
#include "error.hpp"
Entity::Entity(SDL_Renderer* renderer, Fvec pos, Fvec size, int type,
int rotation) :
Renderable(renderer),
Sized(pos, size, Fvec(1.0f, 1.0f), rotation)
{
this->type = type;
}
Entity::Entity(SDL_Renderer* renderer, Fvec pos, Fvec s... |
c72b46ce4e1375d585f7715988dff44c26db016b | 3890e5e51aa23d4d42ea2a9c45e30b1e83cb6570 | /src/point_impl.hpp | 198554e44ab1fe39785be854e76fc17eea254067 | [] | no_license | delta2323/algorithm_library | 2e6f512fed1a48b0c535c4ccd516ac0f0e042e8f | 04850d7cb9218c6c1e976212bf53124a5623110a | refs/heads/master | 2021-01-21T12:43:30.097973 | 2012-05-10T10:38:48 | 2012-05-10T10:38:48 | 3,145,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,685 | hpp | point_impl.hpp | #ifndef POINT_IMPL_HPP__
#define POINT_IMPL_HPP__
template <typename T>
Point2<T>::Point2(const Point2<T>& p) : id_(p.id_), x_(p.x_), y_(p.y_){}
template <typename T>
Point2<T> Point2<T>::operator+=(const Point2<T>& p) {
{
Point2<T> tmp(id_, x_+p.x_, y_+p.y_);
swap(tmp, *this);
}
return *this;
}
templa... |
a88b5d8b1eabee9fad861b01acaaf638054cb236 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5640146288377856_1/C++/viivalerio/A.cpp | b4e9a222819a1e58572e574ff3aea60820890e3d | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,098 | cpp | A.cpp | #include<cstdio>
#include<cstring>
#include<iostream>
#include<cstdlib>
#include<string>
#include<algorithm>
#include<limits.h>
#include<iomanip>
#include<cmath>
#include<cassert>
#include<map>
#include<set>
#include<stack>
#include<queue>
#include<deque>
#include<list>
#include<vector>
#include<sstrea... |
7b8e0692fe64e14ec1a1cabaaebd0348288cd902 | d8cb3dbdd287d58abd14f4d4f941716cc28d0865 | /codegenerator.h | 630eb61c47de9c1f211ee9a598b8e4ab0fe33d62 | [] | no_license | itwasntme-mk/serialize3 | 81a4b0f0a676e7ad6b4fdb440b5b2fa84b446329 | 2aa396ff9c6d167dc956ffd05ae285652244f7fc | refs/heads/master | 2021-09-03T22:21:08.918502 | 2018-01-12T13:13:43 | 2018-01-12T13:13:43 | 114,878,897 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,194 | h | codegenerator.h | ///\file codegenerator.h
#include "logger.h"
#include <fstream>
#include <vector>
#include <string>
/// Helper class for generate serialization code.
class TCodeGenerator
{
public:
explicit TCodeGenerator(TLogger& logger, const std::string& indent)
: Logger(logger), Indent(indent) {}
//file creati... |
13d0725032ff92f79e874daf601b0edf656c5b66 | 0536fc42ef43a8721b0ee156cad1b18140ebdfea | /Algorithms/Megacity.cpp | 1df8f317f8e0ebe45659355f9fda47ec07a8d860 | [] | no_license | DuyHuynhMinh/Project | b056961db818a8e8178572bc3a672c919d817bd2 | 146f8e2b8a6028437a14caad52fd0f48a95d7a79 | refs/heads/master | 2022-12-06T03:55:28.283333 | 2021-12-06T02:55:25 | 2021-12-06T02:55:25 | 133,676,929 | 1 | 0 | null | 2022-11-24T09:56:18 | 2018-05-16T14:20:21 | Java | UTF-8 | C++ | false | false | 684 | cpp | Megacity.cpp | #include<iostream>
#include<vector>
#include<iterator>
#include<algorithm>
#include <map>
#include<string>
#include <cmath>
using namespace std;
int main() {
int n, s;
int x, y;
int p;
cin >> n;
cin >> s;
int value = 1000000 - s;
map<long long, int> m;
for (int i = 0; i < n; ++i) {
cin >> x;
cin >>... |
ddebdecd2ea306e8f7765bf8bb3b6c851a8d7a1b | e475fe74817800258bd400a7decdd58d8c4b602c | /c_sources/graph.cc | 39ad97b94126afcdf56e2fc9bcf4cc1ef277f1d1 | [
"Apache-2.0"
] | permissive | kobeHub/C-implementation-of-Introduction-to-Algorithms | 78636612f49b51b01624b104120d60acc599ad46 | 90e3e2c0e0cdfa6237f27340d25ee836d1b325da | refs/heads/master | 2020-03-26T13:43:22.765316 | 2019-01-10T13:56:08 | 2019-01-10T13:56:08 | 144,953,421 | 2 | 0 | null | 2018-08-16T07:58:05 | 2018-08-16T07:33:45 | C | UTF-8 | C++ | false | false | 3,837 | cc | graph.cc | #include "graph.h"
//----------------------------------------------------------
// Graph::Graph
// Initialize the basic Graph structure
// "vertexs": the list of vertexes
// "edges": the list of edges
//----------------------------------------------------------
Graph::Graph(Vertex* vertexs, Edge*... |
81f635938517922abd6b96b36c8d67229cfd8104 | 717c5c4e11fc2d407c41753ec33488ed4f2f0834 | /Software/RGBcontrol/RGBcontrol.h | f88bc8d3f09478e710870a7346d317fa868594c4 | [] | no_license | LieBtrau/ledstripes | 96bb756ee9de9d253a0b324a4920beaf23328edd | 208ff9cf27e3c749b4f5fa6c5a1ed6b2461f4ce2 | refs/heads/master | 2021-01-22T23:10:55.521987 | 2013-11-16T12:10:34 | 2013-11-16T12:10:34 | 32,350,441 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 636 | h | RGBcontrol.h | /*
*/
#ifndef RGBcontrol_h
#define RGBcontrol_h
typedef unsigned char byte;
typedef enum{
RANDOM_SET_NEW_VAL,
RANDOM_GO_TO_VAL,
FADE_LIGHT,
RANDOM_WAIT
}RANDOM_STATE;
class RGBcontrol
{
public:
RGBcontrol(byte Rpin, byte Gpin, byte Bpin);
void updateLEDs();
void increaseHue();
void decr... |
19fb865fd8c30257785c54b991d9a93789eef389 | 3ab6ea927dc4f5fdb3d04265a2a21090d3529189 | /LV3_Z4.cpp | 98f115f64be9a962a493c38a080948148f02d05b | [] | no_license | momerovic4/US | 6a5aa8a940b431452eb2ba7318c02f0fd11594bf | db179b6ce07b15160861df26a644d7f74c72c8e9 | refs/heads/master | 2023-04-01T21:28:57.568913 | 2021-04-14T22:11:10 | 2021-04-14T22:11:10 | 350,832,942 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 604 | cpp | LV3_Z4.cpp | #include "mbed.h"
#include "stm32f413h_discovery_lcd.h"
PwmOut led(LED1);
double oldX=10,oldY=230,newX=10,newY=230;
int brojac = 0;
int main() {
BSP_LCD_Init();
BSP_LCD_DrawVLine(10,10,220);
BSP_LCD_DrawHLine(10,230,210);
for(int i=0;i<10;++i) BSP_LCD_DrawHLine(5,i*22+10,10);
while(1) {
... |
9fcbe58f5433bcdab78902d3f41962b3e07e785c | dd89ed95b3eff2f4aa338847788206d15fd18884 | /C-plus-plus/cpp_exercise/Chapter14/Exercise3/queuetp.h | 44bd506790d98ef07e03fbfa05c6f08dc52dd9f6 | [
"MIT"
] | permissive | dqhplhzz2008/Study-notes | 998294dda3c8ffe885fe03148b1b70b73ac520a8 | 0df739d22add100e0f5976226abce34242fae57b | refs/heads/master | 2021-06-25T06:35:34.517716 | 2019-06-12T14:18:23 | 2019-06-12T14:18:23 | 152,032,682 | 14 | 7 | null | 2018-10-08T07:18:31 | 2018-10-08T06:58:45 | null | GB18030 | C++ | false | false | 1,811 | h | queuetp.h | #ifndef QUEUETP_H_
#define QUEUETP_H_
#include <iostream>
#include<string>
using namespace std;
//Worker类
class Worker
{
private:
string fullname;
long id;
public:
Worker() :fullname("no one"), id(0L) {}
Worker(const string & s, long n) :fullname(s), id(n) {}
~Worker() {}
void Set();
void Show() const;
};
//队列... |
b62fb02e06479496075afa26d9ddb1d3dbdc082f | e5730a6c82d5f7193ab83740ac1bdc475b17f565 | /LeetCode/SearchinRotatedSortedArrayII.h | f511773c0303261089be40e2a0bd0b0b0e6cccff | [] | no_license | SamanthaChen/LeetCode | fc808089660ba67975dccdfca5d59e05576261b5 | 1da45a1edb2f2fb07adf37a4d31664eab5c8fe62 | refs/heads/master | 2020-04-06T05:11:36.454110 | 2017-02-20T13:58:06 | 2017-02-20T13:58:06 | 53,720,495 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 1,548 | h | SearchinRotatedSortedArrayII.h | /*
Follow up for "Search in Rotated Sorted Array":
What if duplicates are allowed?
Would this affect the run-time complexity? How and why?
Write a function to determine if a given target is in the array.
*/
#pragma once
#include "LeetCode.h"
class SearchinRotatedSortedArrayII
{
public:
SearchinRotatedSortedArrayII()... |
af3ebc04a4b7068af66194781fc9551c2a2fe759 | d4422ebd1b82f5024038537de68d2af5d27de34c | /AeroDrawTest/AeroDrawTestDlg.cpp | 31c4b8fa2f050a9d5d580f540cc66366ddae1c0d | [] | no_license | LeeJaeBin/All-Application-Screencapture | a182ad29be3833a33707726d817c9adf861abc68 | 722903845175cf41e78ee6a408f407becd852872 | refs/heads/master | 2020-04-09T07:38:39.811001 | 2019-02-07T05:51:48 | 2019-02-07T05:51:48 | 160,164,296 | 2 | 0 | null | null | null | null | UHC | C++ | false | false | 28,805 | cpp | AeroDrawTestDlg.cpp |
// AeroDrawTestDlg.cpp : 구현 파일
//
#include "stdafx.h"
#include "AeroDrawTest.h"
#include "AeroDrawTestDlg.h"
#include "CxImage/ximage.h"
#include <Dwmapi.h>
#include "SystemInfo.h"
#pragma comment(lib, "Dwmapi.lib")
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
HWND SetFromPidtoHnd(DWORD dwPid, int nType);
int Check... |
761a6b92099d43ea687db13037b61590f5d7e76e | 8d08d12e7a06ab4832d070646bf69c5614210599 | /02_integral_sin.cpp | 0991348665da324f6ed0264b10210278388c550c | [] | no_license | f-fathurrahman/ffr-learns-madness | 7012d0b2dc2f1a6b02a736bd86b48138bb91dc3b | 1659654503d7ca7052e7620b62b49b9052dd6384 | refs/heads/master | 2020-05-26T11:17:58.815990 | 2019-05-23T10:25:40 | 2019-05-23T10:25:40 | 188,213,327 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 699 | cpp | 02_integral_sin.cpp | #include <cstdio>
#include <cmath>
#include <madness/mra/mra.h>
using namespace madness;
// define a function
double my_func(const coord_1d& r) {
return std::sin(r[0]);
}
int main(int argc, char** argv) {
initialize(argc, argv);
World world(SafeMPI::COMM_WORLD);
startup(world, argc, a... |
699f8d3b572e42b29a875f5ae40df69d8afbce2d | 781b703672fee74cb943188f5aee9d7af1929587 | /src/TControl/TControl.cpp | 8fddf0fdc61c116bb92e470756410c8171c763b5 | [] | no_license | tomwillow/SagittariusIII | 098ac436aba4ef2067c1f2855900058df3a4d3a8 | 28bbd17a44323654294ed063655ec52fc2df2af5 | refs/heads/master | 2023-05-21T21:43:12.887588 | 2021-06-11T03:52:34 | 2021-06-11T03:52:34 | 322,238,947 | 2 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,093 | cpp | TControl.cpp | #include "TControl.h"
LRESULT CALLBACK TControl::SubControlProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
TWindow* pControl = nullptr;
#ifdef _WIN64
pControl = (TControl*)GetWindowLongPtr(hWnd, GWLP_USERDATA);
#else
pControl = (TWindow*)GetWindowLong(hWnd, GWL_USERDATA);
#endif
WNDPROC oldProc = (WND... |
c3e27a94d8f52fdc7a43c8b66e5d21efb122854a | c3fde291428d78e38e56c202ef77da92000e528a | /task 74.cpp | a36acf80bd7362772b89b9e0d5af2added4950d2 | [] | no_license | Dimash1905/d_cs-1905 | 5dd293c8f1f5905c52c9a9e6f1b7b95647f4d6d0 | 071bdc1c6798ed810e87ffc8fa905072f7d082a4 | refs/heads/master | 2020-09-14T02:45:51.031613 | 2019-11-23T09:42:54 | 2019-11-23T09:42:54 | 222,990,619 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 237 | cpp | task 74.cpp | #include<iostream>
using namespace std;
int main()
{
int a;
cin >> a;
if (a > 1 && a < 180) {
int b = (a - 1) / 20 + 1;
int c = ((a - 1) % 20) / 2;
cout << (a % 2) * b + ((a + 1) % 2) * c;
}
else {
cout << "does not exist";
}
} |
435edc8718b6acc90292975509531f9d01d57296 | ec32f571f38fd293b64e4ca880e92f4c5e804af5 | /run/tutorials/heatTransfer/buoyantBoussinesqSuperFluidPimpleFoam/wycinekRury/bezQ/wycinekRuryBlockMeshBezQ_Pawel/constant/transportProperties | fba57527fce4e028828a4f5129174235c092db9a | [] | no_license | Zhouwenyuan801/of1612 | e53fbdf0b3a8c82206751ff5fe7d9c92b330f362 | 524e696526485023194da23e07ae3ac41267bb3d | refs/heads/master | 2021-10-08T12:55:57.506426 | 2018-12-12T14:50:04 | 2018-12-12T14:50:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,444 | transportProperties | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1606+ |
... | |
b5c0f2668a33f9c31bc40aea97aee8f13a760dcc | 88a88bbc9acf2c73319a71c6d94e96b09f13a6b1 | /练习/习题/5714.cpp | 6186fe20357df3a467e233520e1c41ab458d9638 | [
"MIT"
] | permissive | XingChenHaiYi/XingChenHaiYi.github.io | 5a87586e71a8009de1e49fd31ead25ea9caac7d8 | 5c006e5365742fb3bcf74695d08dbed5ca001ab7 | refs/heads/master | 2023-08-23T08:40:37.891467 | 2021-10-22T11:36:41 | 2021-10-22T11:36:41 | 419,147,950 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 338 | cpp | 5714.cpp | #include <stdio.h>
int main()
{
int m,h;
scanf("%d %d",&m,&h);
double BMI = m/(h*h);
if(BMI<18.5){
printf("Underweight");
}
if(BMI>=18.5 && BMI<24){
printf("Normal");
}
if(BMI>24){
printf("%lf\n",BMI);
printf("Overweight");
}
return 0;
}
// ´ËΪ40... |
e6fb9eeb252002cf801e07dae2bb5837bdc7c109 | b93bd9183ce0064735651b8bca1f700ef02826e7 | /1018 Public Bike Management (30分)/1018 Public Bike Management (30分)/1018 Public Bike Management (30分).cpp | 0a69d0fea3c8bdade76103663e59ba64090b939a | [] | no_license | qianguangyuan/PAT- | 4d404fa7fa887b6658da37ff3a63482bb34379cc | 1eda7de7c039a5eb17d9e6e082d022e5e8ced1df | refs/heads/master | 2023-01-12T06:51:16.755672 | 2020-11-08T13:10:00 | 2020-11-08T13:10:00 | 311,057,689 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,289 | cpp | 1018 Public Bike Management (30分).cpp | #include <iostream>
#include<vector>
using namespace std;
int m, n, nroad, pnode, lasttake= 0x3f3f3f3f,lastsend= 0x3f3f3f3f;
vector<int> v[501],path,lastp;
int a[501],b[501], dis[501][501];
int mindis[501] = { 0x3f3f3f3f };
void dfs(int cur, int dist,int send,int take) {
if (dist > mindis[cur])return;
path.push_ba... |
b1c0cc2a117f1a892ee86cc5589d76e9335d165f | 4fe5eaa7bbd8c906ed58ee094d18f8590c2318b9 | /event.cc | 448084fe17d047d50bbbca56ea8c72e62ff3ff5f | [] | no_license | twoflies/mc | 18c5ff6fbd4295672fc081f1b60bd0dfe8645e04 | f76d5a85a6049f485013e12cdede14dad582f7fa | refs/heads/master | 2021-01-11T22:25:42.424866 | 2017-04-21T18:44:08 | 2017-04-21T18:44:08 | 78,960,892 | 0 | 0 | null | 2017-04-21T18:44:08 | 2017-01-14T19:11:26 | C++ | UTF-8 | C++ | false | false | 29 | cc | event.cc | // Event
#include "event.h"
|
8755f9942990dfdc886ee655b04da351b07b6bee | e39cd1188e2b400a2b7451fba8fee5fe0a7fef1a | /src/main.cpp | 3c40c6c0f30af44bc2baaf64acd3725ea8fa3256 | [] | no_license | ATM006/web | c7b9c91ca343a57f1f1db36f300d708ae7bce149 | 667e52552e176941094d2e974413c922795cbd50 | refs/heads/master | 2021-01-19T13:03:31.589246 | 2017-03-13T15:21:27 | 2017-03-13T15:21:27 | 82,361,158 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,320 | cpp | main.cpp | #include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <sys/types.h> /* See NOTES */
#include <sys/socket.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <vector>
#include "http_response.h"
#include "http_request.h"
#include <string>
#define IP "127.0.0.1" /* */
#define PORT 8080 /* ... |
446d3ddaa46ee702fe8f4b4f749cc7013656c122 | bdba9da6e6a9fd0abc116df6a8c004f27ae08dd2 | /Problem 03 - Largest prime factor.cpp | fa5d436ec6785dc4b6e51d48a0ec8076959e4c6d | [] | no_license | AndreyPaiva/Project-euler | 0d99216ce143e594c3f31bcd59ff10d8700842a3 | cc26bca20d413d6bc9336afbfd2817076ebe996a | refs/heads/main | 2023-09-04T11:52:39.774265 | 2021-10-28T04:12:05 | 2021-10-28T04:12:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,069 | cpp | Problem 03 - Largest prime factor.cpp | /*Project Euler - Problem 3: Largest prime factor
The prime factors of 13195 are 5, 7, 13 and 29.
What is the largest prime factor of the number 600851475143 ?
Author: Andrey Paiva
October 27th of 2021*/
#include <iostream>
#include <cstdlib>
using namespace std;
int main(void){
long long int num... |
2c01681cc7b08ccb6e5821de2ee63cedbee1476a | 7cc08e2de5f8f2d3e2623af978150bfc719ed2c7 | /DOSCenter/NewFilenameDlg.h | 3e68617e9bac13e6ce8fcf3790c7cacbdcc079e8 | [] | no_license | lowercasehargle/DOSCenter | f875eefc87f59db8830c370c37cc965df706a45d | dae074da49b2cae3561943031ae5dc7f572db972 | refs/heads/master | 2020-07-28T14:09:30.796807 | 2020-05-11T16:47:24 | 2020-05-11T16:47:24 | 209,434,409 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 558 | h | NewFilenameDlg.h | #pragma once
#include "afxwin.h"
// CNewFilenameDlg dialog
class CNewFilenameDlg : public CDialog
{
DECLARE_DYNAMIC(CNewFilenameDlg)
public:
CNewFilenameDlg(CWnd* pParent = NULL); // standard constructor
virtual ~CNewFilenameDlg();
virtual BOOL OnInitDialog();
// Dialog Data
enum { IDD = IDD_... |
10af7d0493f3c6f5eee50074abf3e9de4a8cd61c | a27902d38a9a474ebb3d8563463fd88cca7e4685 | /DeviceDetect/EnumDevices.cpp | 81771304df9e4d28423054f7fa188e860bfcfa65 | [] | no_license | axax002/DeviceControl | f69b1308fdd5df1bec0c73bef2f1243810f47554 | 953537539000bbf0f7821fb7c4a2564877c571c7 | refs/heads/master | 2023-05-30T02:56:32.141702 | 2017-09-28T02:06:47 | 2017-09-28T02:06:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,570 | cpp | EnumDevices.cpp | #include "StdAfx.h"
#include "EnumDevices.h"
#include <setupapi.h>
using namespace DeviceDetectLibrary;
static DeviceType GetDeviceType(const wchar_t* sPath);
static std::wstring GetDeviceRegistryProperty(HDEVINFO & hDevInfo, PSP_DEVINFO_DATA pdevInfoData, DWORD dwProperty);
DeviceType GetDeviceType(const wchar_t* s... |
404585ad268e3183acc12a2b035cf8409a942d6c | 9755db4052843b40c1487991d6e3db4838761c70 | /520B.cpp | 8a7c2d99f7776caa396ce49302d2e1faefaf6882 | [] | no_license | Leonid369/Codeforces-solutions | 93c0ec2f8ee79a24dc630d39072074c12cb6382e | a2eea77157cec95397459de3be3d3d0759e20b73 | refs/heads/master | 2021-07-03T23:32:45.505799 | 2020-12-10T01:02:08 | 2020-12-10T01:02:08 | 207,666,030 | 1 | 0 | null | 2020-08-06T15:29:47 | 2019-09-10T21:25:45 | C++ | UTF-8 | C++ | false | false | 973 | cpp | 520B.cpp | //
// main.cpp
// codeforces
//
// Created by Sachu Leonid on 9/22/19.
// Copyright © 2019 Sachu Leonid. All rights reserved.
//
#include <iostream>
#include <queue>
using namespace std;
int k;
bool visited[10020];
struct node{
int p, t;
node(int a,int b){
p=a;
t=b;
}
};
int bfs(int... |
0e6db4b8580f4c2f50cbf96717a7e779a960e236 | a672dea4d4e83c1763fe506900ea93234d10811e | /C/submissions/accepted/c.cpp | efeb11054e3f72f75119569de9cae687ac8a3c1f | [] | no_license | mzshieh/2020-topc | ed1160c2eef25a67a81ba021d59647ff41a73427 | ea598061ddff1c0048fdb1421d62031ebd84d182 | refs/heads/master | 2022-12-26T21:46:07.025827 | 2020-10-08T12:42:20 | 2020-10-08T12:42:20 | 290,397,347 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,037 | cpp | c.cpp | #include<bits/stdc++.h>
#define mp make_pair
#define pb push_back
#define pll pair<LL,LL>
#define pii pair<int,int>
#define y second
#define x first
#define LL long long
#define sqr(x) ((x)*(x))
#define pi acosl(-1)
#define MEM(x) memset(x,0,sizeof(x))
using namespace std;
double getdis(pii &p,pii &q){
... |
16536bef89fc853ba816711dd8edd8e5ba741e96 | c90a56e7d7752b041fc5eb38257c5573cef346c6 | /src-linux/TPrsStd.cpp | 9a2328fe085258f2438e25fa6cfe7bda924b6ac7 | [] | no_license | random-builder/design_cadquery_ocp | a4c572a72699bad52ca5f43f30bb7c15d89072ff | 2af799a9f1b2d81fd39e519b2f73e12b34a14c0a | refs/heads/master | 2021-05-21T23:10:23.833461 | 2020-03-29T15:34:46 | 2020-03-29T15:34:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 50,322 | cpp | TPrsStd.cpp |
// std lib related includes
#include <tuple>
// pybind 11 related includes
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
namespace py = pybind11;
// Standard Handle
#include <Standard_Handle.hxx>
// includes to resolve forward declarations
#include <TDF_Label.hxx>
#include <AIS_InteractiveObject.hxx>
... |
87d970b764be13ffbb240fa8c9c50ed4ec076bc8 | a0ed4c90b79c715bd6226301e2176f8f4b3d2b8e | /URI/URI1003==Soma Simples.cpp | 2667259996dc30b3dda68bdf136183df6e5441ac | [] | no_license | marlonwc3/cp-codes | 501fdab9a173bad3c2b34dbbd188b693e1c8fc2c | dafd83e66f8ee223fae7d09cadc616952be1e799 | refs/heads/master | 2020-07-02T06:30:11.554661 | 2015-10-06T00:53:14 | 2015-10-06T00:53:14 | 28,721,298 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 247 | cpp | URI1003==Soma Simples.cpp | #include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <iostream>
using namespace std;
int a,b;
int main (int argc, char const* argv[]) {
scanf("%d", &a);
scanf("%d", &b);
printf("SOMA = %d\n", (a+b));
return 0;
}
|
861f438d35d84c0a17a4550f96104412aee47f7e | b5644b08f5294d855bbbe49bf42be0f5eeb50db7 | /asv_wave_sim_gazebo_plugins/include/asv_wave_sim_gazebo_plugins/TriangulatedGrid.hh | 6eab32b04a2d975b06634c9220543375edf8b718 | [] | no_license | LASER-Robotics/Drone_Trial_League | b2a9686fec600c0a3c0ad9f3823a7b2c9ede428e | d13046cd5e33cd61bf2965515fcfc329c0f4fea8 | refs/heads/master | 2023-08-28T04:25:33.180005 | 2021-10-11T23:25:17 | 2021-10-11T23:25:17 | 386,699,039 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,497 | hh | TriangulatedGrid.hh | // Copyright (C) 2019 Rhys Mainwaring
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is dist... |
4d9905869b2f144061de24a36c40ba0ad866145a | 7d354b34fcd838e05681118d4e4edbd29fcf77ab | /Implode/PluginRegistration.cpp | 346d8721199a7a8bd6fe1faee393e93b90784e64 | [] | no_license | rcspam/openfx-arena | 42df167d3dc42f33ca17bbd923a5740d1ee618ad | 7b3ac429c8d565bde6d074d36cdcce4ea29287af | refs/heads/master | 2021-01-15T20:18:55.749007 | 2015-06-21T18:56:08 | 2015-06-21T18:56:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 195 | cpp | PluginRegistration.cpp | #include "ofxsImageEffect.h"
#include "Implode.h"
namespace OFX
{
namespace Plugin
{
void getPluginIDs(OFX::PluginFactoryArray &ids)
{
getImplodePluginID(ids);
}
}
}
|
7540e3484b665756ba7d597a2006970da9a088bd | 02c0e8723e1b16429ae7b3f3d12a492a8a69ad27 | /SQLComponents/ConvertWideString.h | 0d9f16f6f9f6a547f95877b981fa339b237bc2bf | [
"MIT"
] | permissive | radtek/QLLanguage | 4d63701dea3ec74a18a376bc5153a0410ee193ec | 8a2453ce7c5eb7392eeffaffd19b27d6fadb890d | refs/heads/master | 2020-07-16T19:32:42.891709 | 2018-11-08T13:57:47 | 2018-11-08T13:57:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,732 | h | ConvertWideString.h | /////////////////////////////////////////////////////////////////////////////////
//
// SourceFile: ConvertWideString.h
//
// From the project: Marlin Server: Internet server/client
// See: https://github.com/edwig/Marlin
//
// Copyright (c) 2016-2017 ir. W.E. Huisman
// All rights reserved
//
// Permission is hereby ... |
c8fe642e3fd2580700996487a366978a9d110d6b | 81856c4a00d4538af05e1566afcd5eb25ec231da | /debug.hpp | 10f242823ee116ca2cf7279c692bf2daf16b51aa | [] | no_license | ntibi/ntibux | 6064fc3b9ec56d6948211b5a43f2693e62b5c482 | cd2ff8f4e9b63ed0b4e1b59d0f73050077c21d13 | refs/heads/master | 2021-01-23T09:45:02.268815 | 2017-10-10T13:57:07 | 2017-10-10T13:57:07 | 102,595,331 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 265 | hpp | debug.hpp | #ifndef DEBUG_HPP
# define DEBUG_HPP
#include "multiboot.h"
#include "header.hpp"
#include "kernel.hpp"
class debug
{
public:
debug();
void init(struct multiboot_info *mboot);
void trace();
private:
elf_section_header_table_t *elf_sec;
};
#endif
|
3c0450b13e8d3d293ffc9b8ce996658730cfe982 | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /cpdp/src/v20190820/model/PayDataResult.cpp | 70247e377be1876b90d912f770abde2d59dd2436 | [
"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,214 | cpp | PayDataResult.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
... |
58d1232855b11982d9b08df13f70da7f536199c3 | 9ba0255bc414c35aa1792f5fc1827b655ae549f8 | /Library/Photogrammetry/src/ImageLines.cc | 5d8cfa31efdb1964c2b403701eb9aad8a2e12bc9 | [] | no_license | Geodan/3D4EM-LoD2buildingmodels | 526353e190cd0e985a461a9e2fcad355baad559e | 4ce4d87af56303d58ce0295634c5ca1d727ce5b3 | refs/heads/master | 2021-01-20T12:41:54.687549 | 2017-02-20T08:10:15 | 2017-02-20T08:10:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,611 | cc | ImageLines.cc |
/*
Copyright 2010 University of Twente and Delft University of Technology
This file is part of the Mapping libraries and tools, developed
for research, education and projects in photogrammetry and laser scanning.
The Mapping libraries and tools are free software: you can redistribute it
a... |
19bd5dde225515ad232b4d55edae24eb8162e7dc | 5145d166dbb699a8f75c4b9d9614002607ae0597 | /algos_assignment/2nd_grade/김채연_chaeyeon20/week1/4358.cpp | 071ee56ba603bd49861fe8cfbe92b653615cd6db | [] | no_license | Sookmyung-Algos/2021algos | 8cedfb92d8efaf4f6241dece5bc9b820fc5dc277 | be152912517558f0fc8685574064090e6c175065 | refs/heads/master | 2022-07-21T03:47:38.926142 | 2021-12-02T01:35:13 | 2021-12-02T01:35:13 | 341,102,594 | 11 | 46 | null | 2021-12-02T01:35:14 | 2021-02-22T06:32:53 | C++ | UTF-8 | C++ | false | false | 545 | cpp | 4358.cpp | #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <queue>
#include <map>
#include <stack>
using namespace std;
void init() {
cin.tie(0);
cout.tie(0);
ios_base::sync_with_stdio(false);
}
int main() {
float cnt = 0;
init();
map<string, int> arr;
string tree;
while (getline... |
b19e41f7b122b43cacabdef293627d7c1f1a4ef8 | fdecb4cfcf13c8113fd741b2976b2daf208a9e26 | /src/translate.h | 627ad4dc0e55dd684a0bb69727553532ca310b0b | [
"MIT"
] | permissive | zionlang/zion | cb1a3a50ff51775e042c89933571fe1d19017f15 | 5b4df370766e342fd4efffff34cd8966990f9ac4 | refs/heads/master | 2023-01-04T21:56:43.501770 | 2023-01-02T17:07:56 | 2023-01-02T22:48:50 | 184,154,262 | 49 | 2 | NOASSERTION | 2020-08-27T04:35:04 | 2019-04-29T22:42:36 | C++ | UTF-8 | C++ | false | false | 1,402 | h | translate.h | #pragma once
#include <list>
#include <unordered_set>
#include "ast_decls.h"
#include "data_ctors_map.h"
#include "defn_id.h"
#include "tracked_types.h"
#include "types.h"
namespace zion {
struct Translation {
typedef std::shared_ptr<Translation> ref;
Translation(const ast::Expr *expr, const TrackedTypes &typin... |
3502a697f1b72a246d9e3de832c5fa17789f300d | 022ddbfd08623b855f50331861309d5429753d99 | /分类/语言入门/小学生算术/main.cpp | 7b122158d260f85ae1cafe5daf4b249201af1177 | [] | no_license | xluos/ACM | 06d6881dac8c12e6e0ded66fc5da43974e3520e7 | e90707178cc203e0e36092dc73bdc807c7daa246 | refs/heads/master | 2020-06-21T07:20:14.584736 | 2018-03-20T13:26:53 | 2018-03-20T13:26:53 | 94,203,765 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 545 | cpp | main.cpp | #include <iostream>
#include <stdio.h>
using namespace std;
void itoa(int a,char *s)
{
int i,j;
for(i=0;a;i++)
{
s[i]=a%10;
a/=10;
}
s[i]='\0';
}
int main()
{
int n,m;
while(scanf("%d %d",&n,&m),n+m)
{
char a[5],b[5],c[6];
int count=0;
... |
29bf275a3dcb0c81a90ba9abb62580500152abcf | c611b35a08d0abbce62c8a3e80ab747967460e4a | /tags/open64-1.0/osprey1.0/ipa/main/analyze/ipa_summary.h | f72426aa6764f5741e6973c871ee64362a610641 | [] | no_license | svn2github/open64 | 301f132bdcb602d4e677fc23881ce602f3961969 | 88431de7e6860ed692c0c160724620e798de428a | refs/heads/master | 2021-01-20T06:59:43.507059 | 2014-12-31T18:38:48 | 2014-12-31T18:38:48 | 24,089,237 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,988 | h | ipa_summary.h | /*
Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
This program is distributed in the hope that it would... |
0979bf36b7066618c7d623a4f3bb2f7d2af9a87e | 0df7458db376ed518c1da36e79c98682147c13c4 | /src/math/includes/math/Size2u.hpp | 02610cc2a6d2f84de4bdd5954e1d7108ae83319f | [] | no_license | NadzwyczajnaGrupaRobocza/bomberman | d73fd04d6621c4e238e16cf68a758d0bc9aae1df | 5ccec6ec93bcf306f145fdbb0537e51752c5fa7f | refs/heads/master | 2021-01-22T19:41:14.458578 | 2019-11-07T07:42:14 | 2019-11-07T07:42:14 | 85,224,906 | 10 | 4 | null | 2020-02-06T08:02:20 | 2017-03-16T17:40:10 | C++ | UTF-8 | C++ | false | false | 92 | hpp | Size2u.hpp | #pragma once
#include "math/Size2.hpp"
namespace math
{
using Size2u = Size2<unsigned>;
}
|
79c142035db74d2d99340da0c9daf9217e0cbdad | 349fe789ab1e4e46aae6812cf60ada9423c0b632 | /Interface/IREM_DMZayavka.h | 2c4766a585190b607762c5c6a55c5a8c07906d81 | [] | no_license | presscad/ERP | a6acdaeb97b3a53f776677c3a585ca860d4de980 | 18ecc6c8664ed7fc3f01397d587cce91fc3ac78b | refs/heads/master | 2020-08-22T05:24:15.449666 | 2019-07-12T12:59:13 | 2019-07-12T12:59:13 | 216,326,440 | 1 | 0 | null | 2019-10-20T07:52:26 | 2019-10-20T07:52:26 | null | UTF-8 | C++ | false | false | 71,050 | h | IREM_DMZayavka.h | #ifndef UIREM_DMZayavkaH
#define UIREM_DMZayavkaH
#include "IMainInterface.h"
#include "UGlobalConstant.h"
#include "FIBDatabase.hpp"
#include "FIBDataSet.hpp"
#include "FIBQuery.hpp"
#include "pFIBDatabase.hpp"
#include "pFIBDataSet.hpp"
#include "pFIBQuery.hpp"
#include <Classes.hpp>
class __declspec(uuid(Global_IID_... |
8cdc4f5493882874d43467d7d7db8bd7a3d29212 | 6f6e378ea2a3e23d3ecefb1f8ff4e847a7dcda68 | /libember/Headers/ember/glow/GlowTags.hpp | efc57fff5d3074a186f8c174f9a487a8896cf798 | [
"BSL-1.0",
"LicenseRef-scancode-dco-1.1"
] | permissive | Lawo/ember-plus | 878b772f2dff07821019690ba91a72095bf68081 | b42f3143c89f093e01362da69fb39686d0f1bd9e | refs/heads/master | 2023-04-02T17:03:47.304757 | 2023-03-30T12:38:39 | 2023-03-30T12:38:39 | 40,001,159 | 99 | 54 | BSL-1.0 | 2023-03-06T08:30:53 | 2015-07-31T10:55:18 | C++ | UTF-8 | C++ | false | false | 28,613 | hpp | GlowTags.hpp | /*
libember -- C++ 03 implementation of the Ember+ Protocol
Copyright (C) 2012-2016 Lawo GmbH (http://www.lawo.com).
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)
*/
#ifndef __LIBEMBER_GLOW_GLOWTAGS_HP... |
f265c986a9d1dde479b070265e849d1fdd285c43 | 3391892861a1e1e71af6e414bcdb9fc0df66c62e | /src/jk/cog/semantics/symbol_extension_field_string_visitor.hpp | 4f346ed8b38fc10b13a6ade20053d27bca270665 | [
"Apache-2.0"
] | permissive | jdmclark/gorc | a21208b1d03a85fc5a99fdd51fdad27446cc4767 | a03d6a38ab7684860c418dd3d2e77cbe6a6d9fc8 | refs/heads/develop | 2021-01-21T05:01:26.609783 | 2020-12-21T00:26:22 | 2020-12-21T02:34:31 | 10,290,074 | 103 | 10 | Apache-2.0 | 2020-12-21T02:34:33 | 2013-05-25T21:27:37 | C++ | UTF-8 | C++ | false | false | 356 | hpp | symbol_extension_field_string_visitor.hpp | #pragma once
#include "jk/cog/ast/ast.hpp"
namespace gorc {
namespace cog {
class symbol_extension_field_string_visitor {
public:
std::string visit(ast::string_fragment_field &) const;
std::string visit(ast::integer_field &) const;
std::string visit(ast::float_... |
4672bb234cf090584536e68dd8203563babeb6ca | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_patch_hunk_2426.cpp | 0502ff880efd546bb9cfebdf9d9348964a93dfdb | [] | 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 | 3,062 | cpp | httpd_patch_hunk_2426.cpp |
ldc = util_ldap_connection_find(r, sec->host, sec->port,
binddn, bindpw,
sec->deref, sec->secure);
}
else {
- ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r,
+ ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r,... |
0f5d46fc1ce29d836f20d03ef7ab58534635f9de | b6607ecc11e389cc56ee4966293de9e2e0aca491 | /acmp.ru/501...600/576/576.cpp | d1027b460cf9b0c064ceb249ebfaf474cf4edd95 | [] | no_license | BekzhanKassenov/olymp | ec31cefee36d2afe40eeead5c2c516f9bf92e66d | e3013095a4f88fb614abb8ac9ba532c5e955a32e | refs/heads/master | 2022-09-21T10:07:10.232514 | 2021-11-01T16:40:24 | 2021-11-01T16:40:24 | 39,900,971 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 435 | cpp | 576.cpp |
#include <iostream>
#include <cstdio>
using namespace std;
int gcd(int a, int b)
{
if (a==b) return a;
if (a<b) return gcd(b-a,a);
if (a>b) return gcd(a-b,b);
}
int main()
{
freopen("input.txt","r",stdin);
freopen("output.txt","w",stdout);
int n;
cin>>n;
int ans=0... |
38d7d784613892515fa443796150cabdb91f1f6d | 2c811434dd9cc3bb54d64f92733c40ddd3fa0383 | /UVa-AC/uva 101 The Blocks Problem.cpp | 90f580da6c851702362253011c987003e2522576 | [] | no_license | gmtranthanhtu/competitive-programming | 457e5cc16ede75d9496ac195de845ebe8d6e5664 | d765002704e2a8cf547cbe67f0f9a31db88bfc9b | refs/heads/master | 2021-01-23T08:56:52.594506 | 2014-11-01T09:52:12 | 2014-11-01T09:52:12 | 26,047,176 | 3 | 3 | null | 2020-10-01T14:15:30 | 2014-11-01T09:55:03 | C++ | UTF-8 | C++ | false | false | 4,618 | cpp | uva 101 The Blocks Problem.cpp | /*
Name: UVa 101 The Blocks Problem
Copyright:
Author: 3T
Date: 08/11/10 14:07
Description: adhoc, stack
*/
#include <stdio.h>
#include <algorithm>
#include <string.h>
#include <queue>
#include <stack>
using namespace std;
int a, b, n, IsAt[26];
char line[50], Opa[10], Opb[10];
stack <int>... |
4a5e06826b80046345ae194d03c15b286835a598 | eee64ef3b384930cc04de645316e8ffea01b1b72 | /chapter04/cpp/getRandom.cpp | dc387e81651f8f34f731a57fa8f2cb3765a5d3d4 | [] | no_license | XingBin111/LeetCode | 17a8b2d764900510989531198f71bfbfbb601803 | 6bceb5569e45ffc0d83f22467d25380bbc25aa77 | refs/heads/master | 2023-07-22T05:12:32.092963 | 2021-09-09T09:37:48 | 2021-09-09T09:37:48 | 266,281,037 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 870 | cpp | getRandom.cpp | #include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include "limits.h"
#include <math.h>
#include <stdlib.h>
using namespace std;
struct ListNode
{
int val;
ListNode* next;
ListNode(int v=0, ListNode* nxt=nullptr) : val(v), next(nxt) {};
};
int get_random(ListNode* head)
{
... |
61c0d746a21a02a31524b36e0a0091c689196ace | 0f2b08b31fab269c77d4b14240b8746a3ba17d5e | /onnxruntime/core/providers/dml/DmlExecutionProvider/src/TensorDesc.h | ff70dec5b887194be0ea76f2d73a04527ab6fab8 | [
"MIT"
] | permissive | microsoft/onnxruntime | f75aa499496f4d0a07ab68ffa589d06f83b7db1d | 5e747071be882efd6b54d7a7421042e68dcd6aff | refs/heads/main | 2023-09-04T03:14:50.888927 | 2023-09-02T07:16:28 | 2023-09-02T07:16:28 | 156,939,672 | 9,912 | 2,451 | MIT | 2023-09-14T21:22:46 | 2018-11-10T02:22:53 | C++ | UTF-8 | C++ | false | false | 6,521 | h | TensorDesc.h | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
namespace Dml
{
class TensorDesc
{
public:
// Constructs an invalid / optional tensor desc.
TensorDesc() = default;
// Constructs a minimal tensor desc that knows type but ... |
642bc30bf0bea8ccfc3b231cbd36151e6efac01a | 9cb5d30009472838a9b523cb35cfc85556ca209d | /hwcomposer/OverlayDisplayEngine/IOverlay.cpp | 31160ffe36e13cd7baa2b7e774522620ea368b9f | [] | no_license | SamsungGalaxyTab3/android_vendor_marvell_generic | 786f418b6bb5418a4b28ddf4d180227336d7e558 | cda3d6f6a61148184ceb23c6028be44b3e830c7f | refs/heads/cm-11.0 | 2020-04-05T13:00:16.652307 | 2015-01-05T03:04:25 | 2015-01-05T03:04:25 | 95,005,215 | 0 | 3 | null | 2017-06-21T13:09:35 | 2017-06-21T13:09:35 | null | UTF-8 | C++ | false | false | 2,945 | cpp | IOverlay.cpp | /*
* (C) Copyright 2010 Marvell Int32_Ternational Ltd.
* All Rights Reserved
*
* MARVELL CONFIDENTIAL
* Copyright 2008 ~ 2010 Marvell International Ltd All Rights Reserved.
* The source code contained or described herein and all documents related to
* the source code ("Material") are owned by Marvell Int32_Terna... |
a9661b1c38272790cde0ee0d4ed9d655f595e92f | 66d4806433c57f615ac7cf2e71004f74776498ae | /TareaLab/main.cpp | 2a27c2508079d60b1300a148123e1b0321dfe81c | [] | no_license | Jarfsoft/TareaLab2 | 093001419689a6daa060afbb6efd0c3e529554f9 | 24f591b2d3dfeb9bd5e92ae2732197970b55abab | refs/heads/master | 2020-04-26T06:30:16.986648 | 2019-03-01T20:51:36 | 2019-03-01T20:51:36 | 173,366,506 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 459 | cpp | main.cpp | #include <iostream>
#include "Parsing.h"
#include <string>
using namespace std;
int main()
{
Parsing go;
Expression *x=go.Parsing_Function("1");
cout<<x;
/*Number x(1);
Number y(2);
Addition a(&x,&y);
cout<<a.getValue()<<endl;
Substraction s(&y,&x);
cout<<s.getValue()<<en... |
b53d24dbc9acc490583e0a9640c5bcb5fa3fe134 | 883a259d229b16241ee9c5f04a7389862332311e | /Link/DotNetInjection.cpp | c9e8ac41689ce5fd4bc9bfc9a90fb0a091f3fdf2 | [] | no_license | cacodemonx/BolterV2 | b8f596d4c185ed05af5b787b05b2000de22cf27e | f0f2c77e3147b53aab0f31079a21ac9b3bce8d13 | refs/heads/master | 2021-01-18T00:31:45.058431 | 2014-02-22T14:01:55 | 2014-02-22T14:01:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,209 | cpp | DotNetInjection.cpp | #include "stdafx.h"
#include "DotNetInjection.h"
#pragma warning(disable : 4244)
using namespace mscorlib;
DotNetInjection::DotNetInjection()
{
}
_Assembly *assembly = NULL;
VARIANT *launcher = new VARIANT();
ICorRuntimeHost *pHost = NULL;
_AppDomain *appDomain = NULL;
ICLRMetaHost *pMetaHost = NULL;
ICLRRuntimeInfo... |
e1f90acfe4bb30955d32552f9e2437cc45e4717d | 6ba143f4f8c237dbba7d99ec2a8ccdb60a431e5b | /arbor/event_binner.hpp | 7d12526457dc0365d57f7a93196a376ca4581938 | [
"BSD-3-Clause"
] | permissive | thorstenhater/arbor | 0073218bbbe6659d87d2db182610dadb3b6ea5e0 | 29b09f2d752cb1243eddda31ff0b06675b52fc1f | refs/heads/master | 2023-08-31T17:52:30.275512 | 2021-02-04T06:38:14 | 2021-02-04T06:38:14 | 251,275,953 | 0 | 1 | BSD-3-Clause | 2023-02-13T09:42:40 | 2020-03-30T10:46:55 | C++ | UTF-8 | C++ | false | false | 947 | hpp | event_binner.hpp | #pragma once
#include <limits>
#include <optional>
#include <unordered_map>
#include <arbor/common_types.hpp>
#include <arbor/spike.hpp>
namespace arb {
class event_binner {
public:
event_binner(): policy_(binning_kind::none), bin_interval_(0) {}
event_binner(binning_kind policy, time_type bin_interval):
... |
3d88960236d595872c9d01e027c15d2ffd8efa7c | 31a79633943af23f03b0e4923f16a3f579b6458a | /TP6/src/Plane.h | 6f3945f3cc7d525e20665eeaa6259b14b7a2d055 | [] | no_license | ludwig801/FEUP-CGRA | ff56ec17dbc32eea2d43d6e46797b91cf4037807 | 19f44ed1bc2c38cf4caf0148928d14139426654c | refs/heads/master | 2021-01-10T21:47:07.036866 | 2015-11-09T14:04:50 | 2015-11-09T14:04:50 | 16,984,358 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 349 | h | Plane.h | #pragma once
#include "CGF\CGFobject.h"
#include <iostream>
class Plane {
public:
Plane(void);
Plane(int);
Plane(int n, double si, double ti, double sf, double tf);
~Plane(void);
void draw();
private:
int _numDivisions; // Number of triangles that constitute rows/columns
double si, sf;
double ti, t... |
aa3e1552271c764d6096c12f0f8a3204f7421174 | 486fd7b6a7891cb5c674d541db069bbcb9cd4f52 | /Alimentadores/comunica.ino | 9d29672aef8943f87c266df93644ec8adc8d4ed2 | [] | no_license | TalesMauricio/Codigos-Arduino-Raspberry | c9b579b0faad2e79e71a9e1b523083db119a8c48 | 1eed47cbcca7fc49150ad8d19327baff8c67faae | refs/heads/master | 2021-09-09T16:39:24.194496 | 2018-03-13T16:44:37 | 2018-03-13T16:44:37 | 104,351,356 | 0 | 2 | null | 2017-11-19T21:39:55 | 2017-09-21T13:25:16 | Arduino | UTF-8 | C++ | false | false | 4,075 | ino | comunica.ino | //Aqui vai tudo relacionado a comunicação sem fio
#include "RF24.h"
#include "RF24Network.h"
#include "RF24Mesh.h"
#define nodeID 2 //1-255
#define intervalo 6000 // tempo em milissegundos para enviar os dados
/**** Configure the communication ****/
RF24 radio(CEpin, CSpin);
RF24Network network(radio);
RF2... |
20bb078ad240fad2dc23027d70d131d13e71698e | 8da5eb54981193d850a7e35439845a6b54326c65 | /VGP336/Engine/GameObjectFactory.cpp | 867f2ebc2bd9b0fffc5983db43c5ba615aea10bb | [] | no_license | tstaples/Cat3D | 7eb5cf590798e09a6bdb8bed68bd83fe903d43b8 | 795d3bfce0eb52b36324ffe9de99269bb40a6ec6 | refs/heads/master | 2021-01-15T20:43:48.676483 | 2015-08-14T00:53:56 | 2015-08-14T00:53:56 | 28,846,705 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,172 | cpp | GameObjectFactory.cpp | #include "Precompiled.h"
#include "GameObjectFactory.h"
#include "Component.h"
#include "GameWorld.h"
#include "MemoryPool.h"
#include "IO.h"
#include "RenderService.h"
#include <json/json.h>
#include <fstream>
#include <exception>
namespace
{
Service* LookUpService(const Services& services, con... |
dc22167564432024c427d148b38e349b9afe5a97 | 5cc38217766f8a49a8a339395d3ca4b4b8161a36 | /Servaival/LoadScene.cpp | b6ba58740afd04e2929a27f3ad1cdf8bd54fc36c | [] | no_license | NeuroWhAI/Servaival | e74c5ea28fed5fc5fb85c88103f5ffc93a8827e4 | 58a143843c1d394b4e165da0c81c764c79983202 | refs/heads/master | 2021-01-19T08:24:03.617338 | 2017-04-08T10:20:00 | 2017-04-08T10:20:00 | 87,625,009 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,168 | cpp | LoadScene.cpp | #include "LoadScene.h"
#include "MenuScene.h"
LoadScene::LoadScene()
: m_loadInfo("Res/Img/info.txt")
, m_loadFileName("...")
, m_loadStage(0)
, m_loadGage(0)
{
}
LoadScene::~LoadScene()
{
}
//########################################################################################################
void Lo... |
98d41e12c6d822efbb92d45272857cce6eb8c719 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5766201229705216_0/C++/csegura/solver.cpp | e7c3174acf9d92b1a6882bfd47e83a4f7fa07d67 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,164 | cpp | solver.cpp | #include <iostream>
#include <sstream>
#include <numeric>
#include <set>
#include <algorithm>
#include <map>
#include <vector>
#include <queue>
#include <stack>
#include <list>
#include <strings.h>
#include <math.h>
using namespace std;
bool isTree(vector < vector < int > > &graph, int n, int &count){
count = 0;
in... |
b73a2593e2c697b881baa66dd1b21781b74e91d0 | 7f60f2136e67be1c008c0b24375711630e92461b | /red_belt/6week/final1/search_server.h | e72210886f472557d09f130c9c56d849c42e0e2e | [] | no_license | ebriussenex/cplusplus-issue | d4995e002f978b9243d15057f20ea8357d27e68d | 2a0488a3d4106a408a74466c4cd6e5072810f405 | refs/heads/master | 2022-11-06T16:35:28.922698 | 2020-06-29T05:04:27 | 2020-06-29T05:04:27 | 195,709,767 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,458 | h | search_server.h | #pragma once
#include "add_duration.h"
#include <istream>
#include <ostream>
#include <set>
#include <list>
#include <vector>
#include <map>
#include <string>
#include <unordered_map>
using namespace std;
vector<string_view> SplitIntoWords(string_view line);
class InvertedIndex {
public:
InvertedIndex() {
... |
35178a79836f624674f22db2e9ebdff9b7574b48 | 0674e81a160161996251fb4b063c801330ccd1e2 | /codechef/SNCK151C/ANKINTER.cpp | a07992a918ae027f17c972d9dbd18614a2c5ae3a | [] | no_license | joshuabezaleel/cp | 8a2c9b44605810da4367efeb981f822ae5e1e9a2 | 57f365458cca38c3c0fb1f5af1c6b44b74f3b53e | refs/heads/master | 2022-07-19T00:39:34.395495 | 2020-05-23T20:37:20 | 2020-05-23T20:37:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,556 | cpp | ANKINTER.cpp | #include <vector>
#include <map>
#include <set>
#include <queue>
#include <deque>
#include <stack>
#include <algorithm>
#include <utility>
#include <numeric>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <cstdlib>
#include <ctime... |
3b80e1da689c780bbd5460c6b91f68f811df98b0 | 23d3335c229be08687909ec5516d40b885a1f7c3 | /Geometry2D/src/convex_hull_gl.cpp | 82a0b2fb5e2fefd9df7099763f2c60c79b94f70b | [] | no_license | carlosraoni/Geometria-Computacional | 58c5ff20e8aec4a5ff154843c0556dd746261d3a | 822e8e03d9ddecf3a268bc15aa504c03d09bc12b | refs/heads/master | 2016-09-08T11:38:23.366396 | 2012-12-06T18:48:11 | 2012-12-06T18:48:11 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 7,362 | cpp | convex_hull_gl.cpp | #include <GL/glut.h> // Header File For The GLUT Library
#include <GL/gl.h> // Header File For The OpenGL32 Library
#include <GL/glu.h> // Header File For The GLu32 Library
#include <cstdlib>
#include <cstdio>
#include <ctime>
#include <cmath>
#include <iostream>
#include "geometry2d.h"
/* ASCII code for the escape... |
374d8674cf1ea0254cd6035eced2e09ddee0b38d | a823aa651f2a2c5f78dc167771b66a20e6236490 | /840.cpp | ba720ca32516f705f7188c426a9ccb8286d51824 | [] | no_license | maxioul/leetcode_practice | a8ff89d07228098c46d2368eaa81a6ab61ed71ca | f327ea4fe4dd501106cb0c31057dbcb4366022f1 | refs/heads/master | 2023-03-06T03:01:05.590121 | 2021-02-04T02:26:39 | 2021-02-04T02:26:39 | 266,527,352 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,258 | cpp | 840.cpp | class Solution {
public:
int numMagicSquaresInside(vector<vector<int>>& grid) {
int output=0;
int i=0,j=0;
int max_i = grid.size()-2;
int max_j = grid[0].size()-2;
while(i<max_i){
j=0;
while(j<max_j){
vector<int>temp;
... |
cb50c3cd8950d3ddf4a91d2f7cd8b5f128845745 | c0b1f0e7c2a690a1993ee6a7829e58d32f082424 | /thor/code/Thor/Framework/Filesystem/ThiFileStream.h | 79404843deebe8bfea1b2027b24ae059a14b5c58 | [
"MIT"
] | permissive | Soth1985/Thor | 2c05189c5af0b8d3ce4fe6640f0b48cd57d2ff15 | 4e1c939183ce3e7f8ae4150cfe190f8f00d0f0b2 | refs/heads/master | 2020-12-25T19:03:55.824820 | 2015-01-01T14:12:43 | 2015-01-01T14:12:43 | 28,458,675 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,626 | h | ThiFileStream.h | #ifndef THOR_FS_THIFILESTREAM_H
#define THOR_FS_THIFILESTREAM_H
#include <Thor/Framework/Filesystem/FSLibConfig.h>
#include <Thor/Framework/Filesystem/ThiDataStream.h>
#include <iostream>
#include <fstream>
#include <iterator>
#include <string>
namespace Thor{
THOR_INLINE ThString FileExtension( const T... |
04f6cd9460f33c313532521b75e67809636c6157 | a9e308c81c27a80c53c899ce806d6d7b4a9bbbf3 | /engine/xray/render/engine/effect_deffer_aref.h | 0b1fad03171c9b875242019120637a31dc34d13c | [] | no_license | NikitaNikson/xray-2_0 | 00d8e78112d7b3d5ec1cb790c90f614dc732f633 | 82b049d2d177aac15e1317cbe281e8c167b8f8d1 | refs/heads/master | 2023-06-25T16:51:26.243019 | 2020-09-29T15:49:23 | 2020-09-29T15:49:23 | 390,966,305 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,154 | h | effect_deffer_aref.h | ////////////////////////////////////////////////////////////////////////////
// Created : 20.02.2009
// Author : Mykhailo Parfeniuk
// Copyright (C) GSC Game World - 2009
////////////////////////////////////////////////////////////////////////////
#ifndef BLENDER_DEFFER_AREF_H_INCLUDED
#define BLENDER_DEFFER_AREF_H_... |
b45981ae0d504642963db702821df3e32b31b216 | d24f6a1dbd9d68e5662ab248ec400883fbf19c02 | /RedWire/src/Interface/Window/HelpWindow.cpp | 8d83da2886dfb2ffc98292a00ecb608a186e8140 | [] | no_license | GaryHuan9/RedWire | d600534aab9a6fd9ec813b35c13e03d70a3f40a1 | fd3f458ae343da2dea472fa7a872eb496b6cc2b0 | refs/heads/master | 2023-06-24T04:13:44.549257 | 2021-07-24T20:41:53 | 2021-07-24T20:41:53 | 382,692,967 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,923 | cpp | HelpWindow.cpp | #include "imgui.h"
#include "HelpWindow.h"
#include "../../Application.h"
#include "../../Control/InputManager.h"
#include "../../Control/Tool.h"
#include <string>
using namespace RedWire;
HelpWindow::HelpWindow(Application& application) : UIWindow(application)
{}
void HelpWindow::showUI()
{
bool active = isActiv... |
2e19c1fa560551713f0a789f97d1bf58335928ec | 64f108413f9dea7fdd36aa3a10717b89f45396fa | /Array/majorityNumber.cpp | 1afe4bb5711f5a55c07b23316dc496baab643e4a | [] | no_license | AlexLai1990/Leetcode_-_- | a0b54441722f82b30ef777fbf7c42b007232e6d5 | 98eca56b44fb362b9271dfdb25fb2c3c889550bb | refs/heads/master | 2021-01-06T20:42:17.043087 | 2015-03-16T23:24:52 | 2015-03-16T23:24:52 | 25,856,040 | 0 | 0 | null | 2014-10-28T07:56:59 | 2014-10-28T06:25:49 | C++ | UTF-8 | C++ | false | false | 444 | cpp | majorityNumber.cpp | class Solution {
public:
int majorityElement(vector<int> &num) {
int m_majority, count = 0;
for (int i = 0; i < num.size(); i++) {
if (count == 0) {
m_majority = num[i];
count++;
}
else if (m_majority == num[i]) {
co... |
e8a5d70fcca01005ffbb9e10e65582f8e0b66959 | 22c8fe57c49a385be90c17a1f72d3d70a89e22ec | /explore/src/meexplore.cpp | 2655b70fb814012db31de0981e33df39445b1197 | [] | no_license | abmoRobotics/P1 | ddf852737d88e6d98281fbcde2927c17642ae943 | 0dc89af862e6bf8328a97917c1479199322021ec | refs/heads/master | 2020-08-10T17:11:26.299873 | 2020-01-08T15:01:56 | 2020-01-08T15:01:56 | 214,382,997 | 1 | 0 | null | 2019-11-26T10:17:57 | 2019-10-11T08:23:58 | CMake | UTF-8 | C++ | false | false | 348 | cpp | meexplore.cpp | /* #include <explore/explore.h>
#include <std_srvs/Empty.h>
class dinmor{
explore::Explore explorer;
public:
dinmor(){
}
void start(){
explorer.start();
}
};
int main(int argc, char* argv[])
{
ROS_INFO("guten tag");
ros::init(argc, argv, "meexplore");
dinmor e;
ros::NodeHandle n;
e.start();
ro... |
071fb7849d4d7bd1bcabd87402f4df88c641a8ba | 2b04bbdc96af45d1932ee0b5facdec2444ca27e2 | /test.cpp | 1de53ca84cc41ca433512912da65015e0d1aa4d6 | [] | no_license | nc1729/sudoku_solver | 4164e8bd76726a8b542e26d014910dfcaeab0d8b | 2ea3e5fc3f95a429208546b928e49104ccf6699a | refs/heads/master | 2023-03-03T04:53:32.286498 | 2021-02-02T23:13:32 | 2021-02-02T23:13:32 | 335,449,480 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 390 | cpp | test.cpp | #include <array>
#include <cassert>
#include "solver.h"
void test_is_ok()
{
std::array<int, 9> test_array = {1,2,3,4,5,6,7,8,9};
std::array<int, 9> test_array2 = {7,0,0,2,6,1,4,0,3};
std::array<int, 9> test_array3 = {0,0,0,1,1,2,3,4,5};
assert(is_ok(test_array));
assert(is_ok(test_array2));
ass... |
4cc5c1db26bed63b2ae7845d6528fdbbbe377e26 | 924ae327c5a830cb9dfbbaf97fb60b13d24016a6 | /Code/Editor.cpp | 1709baaef7b6afc430d8f8dc4c05d0784285f7eb | [] | no_license | AdeptusForge/MAADeditor | 11158e38f0298c8cca45036b383b8be98b687e1a | 293109f796b096fc6c5d19672920528bd49399ac | refs/heads/master | 2021-07-14T16:29:33.326928 | 2020-04-08T11:07:41 | 2020-04-08T11:07:41 | 220,296,313 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,969 | cpp | Editor.cpp | #include "Editor.h"
#if defined(IMGUI_IMPL_OPENGL_LOADER_GL3W)
#include <GL/gl3w.h> // Initialize with gl3wInit()
#elif defined(IMGUI_IMPL_OPENGL_LOADER_GLEW)
#include <GL/glew.h> // Initialize with glewInit()
#elif defined(IMGUI_IMPL_OPENGL_LOADER_GLAD)
#include <glad/glad.h> // Initialize with gladLoadGL()
//... |
ac5bc6e5c5d1ec0b31a68fde124d6d26f470f86e | 1c2473511307fd304246eecd3881b4781387ed1c | /sword2offer/60.Print.cpp | 2b015c9fe851abcbcf5a20e4fccadfeba49a64b3 | [] | no_license | git-hub-tig/nowcoder | e2f425d7300738bf4120829bee0e3842d4304ffb | 921a7b432aff890aeb27927271487051094795cd | refs/heads/master | 2022-09-26T12:37:08.659939 | 2020-06-05T17:07:58 | 2020-06-05T17:07:58 | 267,293,125 | 0 | 0 | null | 2020-05-27T10:47:37 | 2020-05-27T10:47:36 | null | UTF-8 | C++ | false | false | 962 | cpp | 60.Print.cpp | //把二叉树打印成多行
//https://www.nowcoder.com/practice/445c44d982d04483b04a54f298796288
class Solution {
public:
vector<vector<int> > Print(TreeNode* pRoot) {
queue<TreeNode*> q;
vector<vector<int>> result;
if(pRoot == NULL) return result;
q.push(pRoot);
Tree... |
0b1c38c76476a94b8513040cd3d79f77bf55c44a | 4eb58b82b857edde83e8ed99dc10f59e8ea2c71f | /10970/10970.cpp | 4bc0df88a9e0caf668fcb1f5ef38edced8a0356b | [] | no_license | RezaMokaram/Solutions-to-UVAonlinejudge-problems | 18be6d1d7ca302c233e077546d7ad4bffa9f1448 | e4117ed247ff3f707cd71e84df662835affb1077 | refs/heads/master | 2023-06-11T06:47:05.602555 | 2023-06-03T01:59:10 | 2023-06-03T01:59:10 | 248,146,437 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 402 | cpp | 10970.cpp | #include <iostream>
#include <string>
#include <cmath>
#include <vector>
#include <iomanip>
#include <algorithm>
using namespace std;
int main()
{
int a, b;
while (cin >> a >> b)
{
if (a <= 1 && b <= 1 || a == 0 || b == 0)
{
cout << 0 << endl;
continue;
}
if (b < a)
{
int temp = b;
b = a;
... |
96ce68988c3e4cb44a6090d179bc1cdaf2cfe53f | 63bfb3e7f9b7e6be9f780763ce36202a3b40bfcc | /KOD - verzije/v5 - v4++/TIMER.CPP | b2cdb18851e4391c5aef60eaee0f1125a06a2126 | [] | no_license | fishsalad183/ETF-OS1 | ac8719737a771f48aa2d6277d01227d2763363c5 | d478bce2227c4d6946ad0dc3c2e3d56ae4819bd7 | refs/heads/master | 2021-07-12T02:02:36.266146 | 2020-06-08T19:50:36 | 2020-06-08T19:50:36 | 150,605,463 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,865 | cpp | TIMER.CPP | #include <dos.h>
#include "TIMER.H"
#include "DEFS.H"
#include "PCB.H"
#include "SCHEDULE.H"
#include "IDLE.H"
#include "KERNSEM.H"
#include "thread.h"
//#include <iostream.h> // for timer diagnostics
extern void tick();
extern IdleThread* idle;
extern Thread* starting;
volatile unsigned int l... |
903dc24be1ebdb3aaaa1452dee35da07890db13f | d588b67b3a694318c0ddc1ba99839ee948c53fc9 | /CartesianLuajitCore/src/CartesianPluginLoader.cpp | 7e57e3e5705a4e4b28334cf2c0888d145175a432 | [] | no_license | gearslogy/Cartesian | 9f599dcff88347478e89f0a8b51b10009320a406 | 13e088da181991629c0593154a43692876eeb2bc | refs/heads/master | 2023-08-06T23:56:30.372721 | 2021-09-10T07:17:50 | 2021-09-10T07:17:50 | 285,244,846 | 10 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 3,505 | cpp | CartesianPluginLoader.cpp | //
// Created by admin on 2020/8/2.
//
#include "CartesianPluginLoader.h"
#include <iostream>
#include <cstdlib>
#include <direct.h>
#include <boost/dll/import.hpp> // for import_alias
namespace dll = boost::dll;
namespace Cartesian{
std::vector<dllsymbolfunc> PluginLoader::loadPlugins()
{
// FUNC... |
03b8c2af1e583320ed2bb302efba9d5c6f19e833 | 36c1c4a8502c07c3da9d6fd4f169d0b6a492fab1 | /QtWidgetUsageExample/QtWidgetUsageExample/QtWidgetUsageExample.cpp | 8f6cfb222898026381e31c73a787d267ff109c45 | [
"MIT"
] | permissive | ArchanShaikan/QtVisualStudioCustomWidget | cf0c0bb9efbfb850687ca1119504a2b0056c19d9 | 077e2096585b71d3a6b2801f57460119b2fc35d1 | refs/heads/master | 2021-05-25T17:21:47.479375 | 2020-04-07T16:15:44 | 2020-04-07T16:15:44 | 253,840,924 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 141 | cpp | QtWidgetUsageExample.cpp | #include "QtWidgetUsageExample.h"
QtWidgetUsageExample::QtWidgetUsageExample(QWidget *parent)
: QMainWindow(parent)
{
ui.setupUi(this);
}
|
9e8e8bdf3b43205b493228273abd6efe2a6a7a61 | 69c3a9292a8b76696695712329cd68b56a5ba2c8 | /Volume 0/0038.cpp | 4fd91dff4b44ecdccb97587ff14df954100a6e25 | [] | no_license | yuta1024/aoj | ebbf7ccc03d1adf00c2301559a8d835fba5e4003 | da24890eaf199f7eb2cb98bfed1bf7e1c533b586 | refs/heads/master | 2021-01-02T22:37:55.372004 | 2012-09-18T11:36:43 | 2012-09-18T11:36:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,221 | cpp | 0038.cpp | #include <iostream>
#include <cstdio>
#include <vector>
#include <algorithm>
#include <map>
#include <functional>
using namespace std;
int main()
{
vector<int> cards(5);
while (~scanf("%d,%d,%d,%d,%d",
&cards[0], &cards[1], &cards[2], &cards[3], &cards[4])) {
sort(cards.begin(), cards.end());
... |
d1349b2a3d02a8a6a49e0ed3272949ac4ed65d4c | a1b9e94281552485a5b032a64d0ca9a1ec99f184 | /runMuMuTauETauEAnalyzer.cc | 9188fbd6c04f0c24e58efc4ca8078255091b149c | [] | no_license | gracehaza/MuMuTauTauAnalyzer | 9a2b6f281e57eca74f570d82ae4ed7d8dd8ce81d | deb0d6f99edf23438bba14f0e97f00a81266709d | refs/heads/master | 2022-09-05T20:13:01.956825 | 2021-10-08T12:43:28 | 2021-10-08T12:43:28 | 233,645,307 | 0 | 0 | null | 2020-06-03T14:09:35 | 2020-01-13T16:49:57 | C++ | UTF-8 | C++ | false | false | 10,067 | cc | runMuMuTauETauEAnalyzer.cc | #include <fstream>
#include <TString.h>
#include "ArgParser.h"
#include "ConfigArg.h"
#include "MuMuTauETauEAnalyzer.h"
#include "lumiana.h"
using namespace std;
int main(int argc, char **argv)
{
//--- Load configuration ---
ConfigArg cfg;
TString inputFile = cfg.getS("inputFile");
TString outp... |
e4a269bcb2fbe65e0be3fdf88b408874f53274cb | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /chrome/browser/ui/xr/xr_session_request_consent_dialog_delegate.cc | f8a7bbda1c30aaa53cf35f2a987eae5c97dd1590 | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 2,949 | cc | xr_session_request_consent_dialog_delegate.cc | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/xr/xr_session_request_consent_dialog_delegate.h"
#include <utility>
#include "chrome/browser/ui/tab_modal_confirm_dialog.h"
... |
0a92adc082f8f65bd1851e8a163971a32dd7bf08 | 68cbf53681b14187d34915ab053435103d154e6f | /002_SRM144_DIV2/BinaryCode_550/BinaryCode.cpp | ea80a526353fa1ee785ae2624d848d5ab0188a53 | [] | no_license | LoveWX/TopCoder_SRM_mycode | 16cecd12f94a6b152edc27b8f3e6aaf77852a7c1 | 038a4b848cd2f18104bdbf8641a788296a16c794 | refs/heads/master | 2016-09-06T01:10:20.547855 | 2015-04-22T16:03:36 | 2015-04-22T16:03:36 | 34,399,877 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,913 | cpp | BinaryCode.cpp | #include <vector>
#include <list>
#include <map>
#include <set>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <c... |
1af94292210942e1cca42791c87af3b8be86e547 | a5392bca8a2728980b7d2c42b846da1508c05634 | /samsung/c++/13458.cpp | 219d30db31f026e7e595fa74e71b79de72186e71 | [] | no_license | shin0park/Algorithm-Problems | 7d3a79054d4a10eadf38ef45910720eb14044689 | b8d9364e0ef5c8dc8bd197fd272f08e07b375225 | refs/heads/master | 2022-12-30T12:46:29.701349 | 2020-10-15T09:34:09 | 2020-10-15T09:34:09 | 288,099,317 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 442 | cpp | 13458.cpp | //시험감독
#include <iostream>
using namespace std;
const int MAX = 1000001;
int arr[MAX];
int b, c, n;
long long sum;
int main() {
cin >> n;
for (int i = 0; i < n; i++) {
cin >> arr[i];
}
cin >> b >> c;
for (int i = 0; i < n; i++) {
if (arr[i] - b <= 0)
sum++;//총감독
else {
sum++;//총감독
sum += ((arr[i] -... |
d302ff0189adbabfd1f8ea12c3eeaab149352d4e | 0c141972d779ec44c1f252194514ad9c464aef2e | /mailnews/addrbook/src/nsAbLDIFService.cpp | dbc6f882d3c2437d2546936e7429b859351eed3b | [] | no_license | mozilla/releases-comm-central | 6a47ae14f6e24b4ff22998ca957078b7956b04e2 | d4838a15a8dbad6d5d9b7e6f486e43bf1511f87a | refs/heads/master | 2022-02-12T03:24:52.518381 | 2022-02-12T00:34:15 | 2022-02-12T00:34:15 | 4,578,344 | 137 | 101 | null | 2023-07-25T20:56:40 | 2012-06-06T21:42:18 | JavaScript | UTF-8 | C++ | false | false | 26,011 | cpp | nsAbLDIFService.cpp | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsAbBaseCID.h"
#include "... |
c5a7500ed0857de51cb18092943a29b630717d53 | 4b4d6d9e2f4be42289174eeb79ae6e9e79a8223a | /psets/pset04binsearch/randomN.cpp | 8be15197f3148908e169559224af8324f0772ade | [] | no_license | cinxdy/DataStructure | 430c61def293dc7ac27c6cd7cea0c7c7c115b489 | 84d5f624b588d61afc494bda77a78c33f5a44cf8 | refs/heads/master | 2020-05-07T08:13:40.553126 | 2019-06-05T15:05:00 | 2019-06-05T15:05:00 | 180,316,142 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,095 | cpp | randomN.cpp | /*
* randomN.cpp
* Generates N random numbers in the range of [0..N)
* and prints them at stdout. N is specified as a
* command line argument. For example, randomN 100
* will generate 100 numbers among [0..99].
*
* Usage:
* randomN 100
*
* History:
* 2018/03/09 YSK Creation
* 2019/02/01 C++ conversion... |
a88137faf430f85451eb9a3a22c02917e96788ec | f675ac6f567a306d4124d9c0360c1a492bf3546d | /Project1/scalability_study.cxx | 27a26999a1b7937edf2692b12fca8d4707449fd4 | [] | no_license | joelrorseth/Big-Data-Analytics | be898000811033488f8fd2aacb63f605cb8e6055 | 5dc6a7026b920b7eb091f6f4a15a16e203fc5296 | refs/heads/master | 2021-03-27T10:01:30.423572 | 2018-02-13T18:25:46 | 2018-02-13T18:25:46 | 121,200,452 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,604 | cxx | scalability_study.cxx | //
// Scalability Study
//
// Joel Rorseth 104407927
// February 11, 2018
//
#include <iostream>
#include <fstream>
#include <sstream>
#include <utility>
#include <vector>
#include <algorithm>
#include <cstdio>
#include <chrono>
#include "gnuplot-iostream/gnuplot-iostream.h"
// Get string filename for chunk perc... |
8525a34a9c858a46888ed5012f6f7348ad299f33 | c5d3212b288e704caeec1f91387750f1508b6821 | /XEngine/include/core/graphics/XGLBuffer.h | 1a6decf75820ba73c74932b19346d0281f9435e7 | [] | no_license | aarontt20/sea-plus-plus | 39f6ef7985e72bfb8366b80a22a60af97cc42390 | 88d81db00a329fa1db01372b282dc5be6c46fe46 | refs/heads/main | 2023-03-08T15:16:15.012042 | 2021-02-10T04:48:42 | 2021-02-10T04:48:42 | 337,615,878 | 0 | 0 | null | null | null | null | IBM852 | C++ | false | false | 1,078 | h | XGLBuffer.h |
//==================================================================================\\
//FILE NAME: XGLVBuffer.h \\
//PROJECT: XEngine \\
//CREATED BY: Aaron Toms \\
//DATE CREATED: 05/09/2017 \\
//LAST MODIIFED: 05/09/2017 \\
// ęCopyright 2017,... |
e166a18a82115cc24cc6871102e111987e786cd5 | 8991e8cac63924e8c16ad0be0b3d6e809311f007 | /src/functions.cxx | 8c5f1761fe35005ad24c6fec66fadabac221c574 | [] | no_license | sPHENIX-Collaboration/eic-smear | b8dbb9bcebd25ff1161f5f698e4061231363525c | 0233d8e9730c042519f7b7e8267302ac454caae2 | refs/heads/master | 2021-09-13T06:02:02.012253 | 2021-09-08T15:40:37 | 2021-09-08T15:40:37 | 259,756,735 | 0 | 2 | null | 2020-04-28T21:35:24 | 2020-04-28T21:35:23 | null | UTF-8 | C++ | false | false | 4,993 | cxx | functions.cxx | /**
\file
Global function implementations.
\author Thomas Burton
\date 2011-07-07
\copyright 2011 Brookhaven National Lab
*/
#include "eicsmear/functions.h"
#include <cmath>
#include <fstream>
#include <set>
#include <sstream>
#include <string>
#include <TLorentzVector.h>
#include <TMath.h>
#include ... |
2a260c3a46228766b4bf27193a1e25c32da52d48 | 2b183d0e864c901ce937892cf089c8b66ac2cca1 | /src/main.cpp | 85a1e33bde986c795a3e53469406a749209cd93f | [] | no_license | abstrakct/nessy | ddf7156c8d089ac34fc26c6fff8a063836e263cc | 41d2a978e50949e244ab70456b77530cdc65f97d | refs/heads/master | 2021-07-20T06:00:23.876676 | 2021-01-18T20:25:11 | 2021-01-18T20:25:11 | 233,913,780 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,916 | cpp | main.cpp | /*
* NESSY - an NES emulator/disassembler/debugger
*
* Yeah, that ambitious.
*
*/
#include <bitset>
#include <chrono>
#include <cstdint>
#include <fstream>
#include <iostream>
#include <memory>
#include <sstream>
#include <string>
#include <thread>
#include <vector>
#include "imgui/imgui-SFML.h"
#include "imgui/... |
b5aed390ec213fa87b1fd85bcbedabb2f0075109 | a3af266d326124d8ba3f256a51a999f64c2040d1 | /Module8/code/pointers/ex2.cpp | d41550cad08ebd42828e57809207fe6ab5517dcb | [] | no_license | wjshku/COMP2113 | e0c64ed1b67c4b19a0aa494a91edb16e8f04c2d5 | 73af2ce5e25fe1922ed6fc15d49f64f9d79b4daa | refs/heads/master | 2023-01-24T10:41:57.429562 | 2020-11-30T10:02:28 | 2020-11-30T10:02:28 | 296,045,333 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 213 | cpp | ex2.cpp | #include<iostream>
using namespace std;
void addOneref(int &num){
num++;
}
void addOnepoi(int *p){
(*p)++;
}
int main(){
int num = 0;
addOneref(num);
cout<<num<<endl;
addOnepoi(&num);
cout<<num<<endl;
}
|
1f550a2c1c49fc12f8535aa56f41e21c5a485d3e | 73a52d0a1325c9865896a9197730875cb6d46c61 | /Framework/Geometry/test/ReferenceFrameTest.h | f203819da2d9f77200d5c7ae6c7e8db1d8142632 | [] | no_license | dezed/mantid | 47b3c9f57f9adf2b6ac642ae407d26f06a0889c5 | 9095776c26e868a00d8126ad275626f910d66f62 | refs/heads/master | 2021-01-15T13:51:57.852879 | 2016-03-08T10:49:43 | 2016-03-08T10:49:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,180 | h | ReferenceFrameTest.h | #ifndef MANTID_GEOMETRY_REFERENCEFRAMETEST_H_
#define MANTID_GEOMETRY_REFERENCEFRAMETEST_H_
#include <cxxtest/TestSuite.h>
#include "MantidKernel/Timer.h"
#include "MantidKernel/System.h"
#include "MantidKernel/V3D.h"
#include "MantidGeometry/Instrument/ReferenceFrame.h"
using namespace Mantid;
using namespace Manti... |
2cd67eb0967633ad2d81459dc0102b24ed1386df | 640c857f4fb58ebee674274353d2c35a2ce5391d | /my_fuwuqi/my_fuwuqi/fightServerConfig.hpp | dfadf2ad039eeadd308949ce169525554c069956 | [] | no_license | wuxuewulinux/win_fuwuqi | c28db662057d106ae624dadaa6a6fde40e02e8a4 | e8714f0bfa0908fed1897c2521f8ff1d205a6ecf | refs/heads/master | 2020-04-11T06:08:41.743795 | 2019-02-17T16:18:53 | 2019-02-17T16:18:53 | 161,571,911 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 952 | hpp | fightServerConfig.hpp |
#ifndef _FIGHTSERVERCONFIG_HPP_
#define _FIGHTSERVERCONFIG_HPP_
#include"xmlnodeconfig.hpp"
#include <map>
struct FightServerInfo
{
int FightServerId;
int FightServerPort;
std::string FightServerIp;
uint32_t UserCount; //用户连接人数,多少个人正在连接该战斗服务器
};
class FightServerConfig
{
public:
FightServerConfig();
~Figh... |
a2274094586b11c2098d044a2bdbdc92ca1c661e | b014d2bd592c5556e5fbd179e2ccc99df7b8bccd | /card/MFRC522Hack.h | c6010e46f47c81115424cec6224d3efb6a2d024a | [] | no_license | lizeyan/Card | 67f07fdc018ba44629142a832c2f753616f66132 | 9d2016f44737b802b36fa4a01815f7647f951f00 | refs/heads/master | 2020-12-02T22:47:19.884327 | 2017-07-29T09:51:01 | 2017-07-29T09:51:01 | 96,181,986 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 496 | h | MFRC522Hack.h | #ifndef MFRC522HACK_H
#define MFRC522HACK_H
#include <Arduino.h>
#include "MFRC522.h"
#include "MFRC522Debug.h"
class MFRC522Hack {
private:
MFRC522 *const _device;
public:
MFRC522Hack(MFRC522 *const device) : _device(device) {};
bool MIFARE_OpenUidBackdoor(const bool logErrors) const;
bool MIF... |
2623570d88c824af1fe0bca615087c165c8e2ae1 | b14f0dee754164d38904f3e7a5d338e00fc14a3f | /ida_impl_analysis/EnumToString.cpp | 37f33fa62052be49b571fa807fe382bdbe1d0d7d | [] | no_license | nihilus/ida_bochs_debugger | 8999d21ff1e93ee774416d87e0b30ebc20a16a84 | bc8a7e8eedf7019be2b37256eb3f3fbffc3891e6 | refs/heads/master | 2021-01-15T09:23:20.184315 | 2015-01-20T14:57:01 | 2015-01-20T14:57:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 47 | cpp | EnumToString.cpp | #include <dbg.hpp>
#include "EnumToString.h"
|
c2a110159b53332d11c9152aeeee35ee6587e657 | 8465159705a71cede7f2e9970904aeba83e4fc6c | /src_change_the_layout/stdfblib/events/GEN_E_MUX.h | d2cc3e8676060acc4b4f4b3158c5667318116d09 | [] | no_license | TuojianLYU/forte_IO_OPCUA_Integration | 051591b61f902258e3d0d6608bf68e2302f67ac1 | 4a3aed7b89f8a7d5f9554ac5937cf0a93607a4c6 | refs/heads/main | 2023-08-20T16:17:58.147635 | 2021-10-27T05:34:43 | 2021-10-27T05:34:43 | 419,704,624 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,560 | h | GEN_E_MUX.h | /*******************************************************************************
* Copyright (c) 2011 ACIN
* 2018 Johannes Kepler University
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.e... |
b4b11e3f69463e03ad5ff7f07ee04d7ae9d636cf | 92d997e19d3d85d69f8c432a12367671960c8c6e | /C . C++/C++ (variado)/C++ Codes/Old Stuff/Nuevas practicas2/Vectores practica.cpp | de498a2f681613059295c69391d9da826ae0151e | [] | no_license | 0aps/Legacy-Code | 3aebc22d0d513e95ccf1b9149a80675cc02c04df | be8f336d6d0d3c63d2961c25e4584f9d08404b37 | refs/heads/master | 2021-01-10T21:38:58.395925 | 2014-09-24T20:36:16 | 2014-09-24T20:36:16 | 24,429,977 | 11 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,080 | cpp | Vectores practica.cpp | #include <stdio.h>
#include <stdlib.h>
#include <conio.h>
int main()
{
int notas[4];
int i,a;
printf("@********************************************************@\n");
printf(" @ ***** * * ***** * * * * @\n");
printf(" @ * *-* * * * * * *-* @\n");
printf(" @... |
0bff01f4d6f8f1a4ae528289a12d756ec693108d | 8d4c2ee081394d7f3bf8d4026726501ee587f36f | /2 Code/PCS/XYPCS/PCS.BasisData/DialogCraftStation.h | 753142a1cb6815f345495265fa2b11f2bc81476f | [] | no_license | radtek/PCS | 9ec9387fe714c0043457cd9f15a89dbdbd3a6c55 | 235a176fee6c0d886d81ddd17e9851fe6918357b | refs/heads/master | 2020-06-21T22:12:28.629058 | 2018-04-03T11:47:13 | 2018-04-03T11:47:13 | 197,563,854 | 1 | 0 | null | 2019-07-18T10:16:19 | 2019-07-18T10:16:18 | null | UTF-8 | C++ | false | false | 391 | h | DialogCraftStation.h | #ifndef DIALOGCRAFTSTATION_H
#define DIALOGCRAFTSTATION_H
#include <QDialog>
namespace Ui
{
class DialogCraftStation;
}
class DialogCraftStation : public QDialog
{
Q_OBJECT
public:
explicit DialogCraftStation(QWidget *parent = 0);
~DialogCraftStation();
private Q_SLOTS:
void slotAccept();
private:... |
a5792da7c6ac266c051f4d098b65a410c9c9d117 | c63c4fed502fd4cbf82acc7901ba0d72b0338bdb | /Create/GUI/Viewport.cpp | 5937736ee9d1185e6867600a5ac9837539800d92 | [] | no_license | seeyousystems/core | 7436a38fb09ea08f5d29cf8db2490c92f48d9267 | baddc89a366ad769a1a9c9a59c14f28291b81971 | refs/heads/master | 2020-05-17T19:11:57.814200 | 2011-05-06T04:00:59 | 2011-05-06T04:00:59 | 1,517,217 | 1 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 12,719 | cpp | Viewport.cpp | /*
* Viewport.cpp
*
* ===========================================================================
*
* Copyright 2008-2009 Daniel Kruesi (Dan Krusi) and David Grob
*
* This file is part of the emms framework.
*
* The emms framework is free software: you can redistribute it and/or modify
* it u... |
a662dabdda955b2210dcb45a2f7fc873c83547de | 6a171e51da9c223f889fe2ef9d243a624ddf1623 | /Code/Review/petsc_fem_context.cxx | 4e198534d18e268b9f86251b47fdfe95e209da25 | [] | no_license | ImageGuidedTherapyLab/ImageGuidedSolvers | 9a8eb0d779699163e0ac9ba3ef4a734e451420e6 | 0789bd78a09b1e607743aef0fdfee45e5e5f0099 | refs/heads/master | 2020-04-22T23:25:43.323472 | 2013-05-10T23:41:04 | 2013-05-10T23:41:04 | 6,768,767 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 21,825 | cxx | petsc_fem_context.cxx | // distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
// You should have received a copy of the GNU Lesser General Public
// License a... |
f6cfda5c49188d59a8d5bf7f2ceb80b5c5243e97 | bcdad145f40b13a5f23f1bd6e191caf20db4df7c | /integration-sample/gui.cxx | 26699365cf7df859fe36f253eab5b46933f369ed | [] | no_license | usagi/virtual-keyboard-prototype-1 | d7c9f65019897f7949f2f59ebc15aa1782e4e69e | b6156b1bf30fa1dbf6e2ca3792772e121c24547c | refs/heads/master | 2016-09-06T09:20:56.639399 | 2014-01-29T21:45:02 | 2014-01-29T21:45:02 | 14,557,877 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,582 | cxx | gui.cxx | #include "gui.hxx"
#include "cv_gui_helper.hxx"
#include "commandline_helper.hxx"
namespace arisin
{
namespace etupirka
{
gui_t::gui_t(configuration_t& conf)
: conf_(conf)
, current_finger_detector_conf_(conf.finger_detector_top)
, prev_top_front_switch(0)
{
DLOG(INFO) << "ctor star... |
83a7ccb120675bfcc4cf31962b4f84bb4e552f78 | 1d928c3f90d4a0a9a3919a804597aa0a4aab19a3 | /c++/ClickHouse/2017/4/AggregateFunctionForEach.cpp | 51d9018fa78b55029778786795f8b0b759bcfd92 | [
"BSL-1.0"
] | permissive | rosoareslv/SED99 | d8b2ff5811e7f0ffc59be066a5a0349a92cbb845 | a062c118f12b93172e31e8ca115ce3f871b64461 | refs/heads/main | 2023-02-22T21:59:02.703005 | 2021-01-28T19:40:51 | 2021-01-28T19:40:51 | 306,497,459 | 1 | 1 | null | 2020-11-24T20:56:18 | 2020-10-23T01:18:07 | null | UTF-8 | C++ | false | false | 208 | cpp | AggregateFunctionForEach.cpp | #include "AggregateFunctionForEach.h"
namespace DB
{
AggregateFunctionPtr createAggregateFunctionForEach(AggregateFunctionPtr & nested)
{
return std::make_shared<AggregateFunctionForEach>(nested);
}
}
|
04f60b6c32fbf37d2615718ac0fedcb8e90081ca | 4f9bffdb2d9a9a0b94dbaa761720492ddab79867 | /cbu/cbu/common/unit_prefix.h | 778363ce3abc4cb49785da38b4f4e81e4efc9ead | [] | no_license | chys87/toolchain | b4775662ffba7ea5d4976c1bfe252fec6a991339 | 129b522a645b973ffd516302a4d6e66e08637a93 | refs/heads/master | 2023-08-18T23:06:08.522163 | 2023-07-31T06:49:10 | 2023-07-31T06:49:10 | 150,109,120 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,927 | h | unit_prefix.h | /*
* cbu - chys's basic utilities
* Copyright (c) 2019-2021, chys <admin@CHYS.INFO>
* 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 ab... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.