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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ddb858a32a4a42a05964eb4afda8c5a727edf679 | a4a7c549d1fb804c0df28ba6d55bdb4ae7c7f073 | /MergeIntervals.cc | b451207fd3114ad66dcec2f66cd3269c5b2a4316 | [] | no_license | yangchi/LCPractice | df617e3c563977b6553fddee4c823d2402992abe | 629339e3bf8263b0d95e3ebddf62204e6805c773 | refs/heads/master | 2020-05-09T22:18:41.597979 | 2015-03-09T23:34:10 | 2015-03-09T23:34:10 | 26,670,123 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 850 | cc | MergeIntervals.cc | /**
* Definition for an interval.
* struct Interval {
* int start;
* int end;
* Interval() : start(0), end(0) {}
* Interval(int s, int e) : start(s), end(e) {}
* };
*/
bool CompareInterval (const Interval & interval1, const Interval & interval2)
{
return interval1.start < interval2.start;
}
c... |
e2a377cd9e5b8ff8a14a289ff2b484346c15b567 | fb5b25b4fbe66c532672c14dacc520b96ff90a04 | /export/release/macos/obj/src/WiggleShader.cpp | 48ce9c300ff53599483745b9b45ac2c179534bb5 | [
"Apache-2.0"
] | permissive | Tyrcnex/tai-mod | c3849f817fe871004ed171245d63c5e447c4a9c3 | b83152693bb3139ee2ae73002623934f07d35baf | refs/heads/main | 2023-08-15T07:15:43.884068 | 2021-09-29T23:39:23 | 2021-09-29T23:39:23 | 383,313,424 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 12,105 | cpp | WiggleShader.cpp | // Generated by Haxe 4.1.5
#include <hxcpp.h>
#ifndef INCLUDED_WiggleShader
#include <WiggleShader.h>
#endif
#ifndef INCLUDED_flixel_graphics_tile_FlxGraphicsShader
#include <flixel/graphics/tile/FlxGraphicsShader.h>
#endif
#ifndef INCLUDED_openfl_display_GraphicsShader
#include <openfl/display/GraphicsShader.h>
#endi... |
fd38ca91f0acbe225d73238b1832fd1ce13a81a1 | c268e05283406646b79dd6863110c15a7d4740d5 | /src/TrackList.cpp | c6d3d3a93532f0d707d45870a3528eb5275e72c5 | [
"MIT"
] | permissive | rikkus/squelch | 18484d57e6c12faec476153764b3c245dd1c9c97 | 4d3c67433f7adbf22991d86e0a65db82e47b4c91 | refs/heads/master | 2020-07-10T07:54:45.023565 | 2019-08-24T20:40:06 | 2019-08-24T20:40:06 | 204,210,444 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,856 | cpp | TrackList.cpp | /*
Copyright (C) 2001 Rik Hemsley (rikkus) <rik@kde.org>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modif... |
55b871d5f6e13420e05a56af39b291c4f7d1a65d | 5fb266bd8a62059e370f070af83857f8a53b3c48 | /dynamic_programing/logestPelindromicSub.cpp | c2727df5d5eb836c4464ecd85a196b590f7408e8 | [] | no_license | jhashivam1996/problem_solving | 2d0b9e6128ad69e3260b35fae89374d8211fa02e | 86291dd62022f43d57c58d02b17f0358ee7d91ea | refs/heads/master | 2020-09-08T16:31:01.718610 | 2019-11-12T09:59:22 | 2019-11-12T09:59:22 | 221,184,255 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 807 | cpp | logestPelindromicSub.cpp | #include<iostream>
#include<cstring>
using namespace std;
struct lps{
string ans="";
int length;
}abc;
lps LPS(string s, int i, int j ){
if(i==j){
abc.ans=s[i];
abc.length=1;
return abc;
}
if(s[i]==s[j]){
if(i+1==j){
abc.ans.insert(s[i],0);
abc.ans+= s[j];
abc.length=2;
return a... |
bace800b8cabd7233be72075549180f56062d62a | e70abd28dba76d3efe8f0c2f0b708f3c1346a402 | /~11.02까지 푼문제/예전에 푼문제/5397.cpp | 359c138efd31f83c4978d3a64cb4ba733edb4eed | [] | no_license | TaeBeomShin/1day-1ps | 3dab86833c1643a5954bfe62cf3de6098e138558 | a362105bd9139e82cbf7a9c896a06d37da10726b | refs/heads/master | 2023-08-20T10:05:04.880960 | 2021-10-15T14:39:58 | 2021-10-15T14:39:58 | 284,451,077 | 4 | 0 | null | null | null | null | UHC | C++ | false | false | 1,250 | cpp | 5397.cpp | #include<iostream>
#include<cstring>
#include<deque>
using namespace std;
int main(){
ios_base::sync_with_stdio(0),cin.tie(0),cout.tie(0);
int test;
cin>>test;
//각 기호의 의미 -: 백스페이스, < > : 커서위치 이동(움직일 수 있다면)
for(int i=0;i<test;i++){
deque<char> passward;
string a;
cin>>a;
// 1.string에 주어진 문자열을 저장한다.
// 2.문... |
504fbb63e979ea81ee43e533c69c4d424baf6a71 | afee1930ded877ca25e5f1ed64036cdec93a0b40 | /Sala.h | 07f3a64e88926db368c2f79fadfc2706c16081e1 | [] | no_license | davysouza94/ProjetoIntegrado | e0c0ec6e2dc03ac6d300162ef899e51c0ff387f1 | 5a5a02fcd67039667d2f8ee6e456d54d43171ac6 | refs/heads/master | 2020-04-14T22:47:43.087066 | 2014-06-29T02:11:23 | 2014-06-29T02:11:23 | 21,294,906 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,554 | h | Sala.h | #ifndef SALA_H
#define SALA_H
#include "Situacao.h"
#include "Sessao.h"
#include "Lista.h"
#include <string>
class Sala{
private:
int numSala;
int capacidade;
int qtFileira;
int qtSessoes;
Situacao situacao;
Lista < Sessao > sessoes;
public:
Sala();
Sala(int nsala, int numAssento, int qtFil);
int getNumSal... |
dc7482fc1815977427fc321c2a4dc9091ad67f47 | 367d02e38ed4316b841c0ff340449d90aade6747 | /EngineKB01/DirectXRenderer.h | b359c581af9090ccf5c28ea432e5af327d28a818 | [] | no_license | botenbreuk/KB01-3D-Engine | 2fabdf94573689dce1c1edb7bb52ba389d0e0049 | f5119d7ad8e4b8cbed15eb9bb9933439b012c848 | refs/heads/master | 2020-06-02T15:51:59.822415 | 2015-01-23T13:06:48 | 2015-01-23T13:06:48 | 26,780,876 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,204 | h | DirectXRenderer.h | #ifndef __DIRECTXRENDERER_H__
#define __DIRECTXRENDERER_H__
#include <d3d9.h>
#include <d3dx9.h>
#include <list>
#include <map>
#include <vector>
#include "Renderer.h"
#include "Mesh.h"
#include "LoggerPool.h"
#include "CustomVertex.h"
class DirectXRenderer : public Renderer
{
public:
DirectXRenderer();
~DirectXRe... |
093c9b8043703d6aa6ae3d237960632b3a070e36 | 72a0db529ff12e566ddcf007c4f896f57f3e51b8 | /02_STRING/Assignment19.cpp | 055a3e70f78c982b5f0b5348a5fc0d0d28012a0b | [] | no_license | amoljore7/02-Logic-Building-Program-All | d6897b6c8d46040b7877e7c8d3c0d1a1fc9398bf | 6457b1fd20bc70b81a3d71e19f7cdd3faefb70c8 | refs/heads/master | 2020-04-16T13:49:42.613073 | 2019-01-14T10:58:03 | 2019-01-14T10:58:03 | 165,644,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,019 | cpp | Assignment19.cpp | ////////////////////////////////////////////////////////////////////////////////////////
//
// 19.Write a program which accept two strings from user and compare two
// strings. If both strings are equal then return 0 otherwise return difference
// between first mismatch character (Implement strcmp()).
//
////////... |
8824abc116234d1e38b6187ac7bd8ae999fe33d0 | 1abfb9298c02e0d1ad559b080c54ca13a6514ab0 | /src/game.cpp | 87390fb8e5f03f056ba4b95f7c94b22739628fd6 | [
"MIT"
] | permissive | ArditBaloku/IMT2531-Exam | 2fb5cf8deca1c631d2d2ea39b1370e538bf1a731 | a005f342bbe11292ba305cc5c72a37d7c61061df | refs/heads/master | 2022-07-16T12:05:18.025172 | 2020-05-21T08:04:32 | 2020-05-21T08:04:32 | 264,894,334 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,681 | cpp | game.cpp | #include "game.h"
float accumulator = 0.0f;
glm::vec3 color = glm::vec3(.6f, .8f, .8f);
float eagleRotation = 180.0f;
void Game::init() {
shader = Shader("../resources/shaders/vertex.vert", "../resources/shaders/fragment.frag");
skyboxShader = Shader("resources/shaders/skybox.vert", "resources/shaders/skybox.frag... |
06139cb0950c9d5b536452d3d7ffbfbeae0617a5 | 0d2b71f41760bfec75b8c130bbb5395339d5f435 | /FirstTest/robot.h | a103256a27c06065ac9de00e6839aca3a32f5671 | [] | no_license | kapeps/Robot-explorateur- | 433a09ccb4b5229a8f3ac1f9b2f4a563ac93b767 | 578fc341dc308be79f36a2284e38b25878afa2ae | refs/heads/main | 2023-04-25T23:41:41.647537 | 2021-06-02T23:31:13 | 2021-06-02T23:31:13 | 334,951,460 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,320 | h | robot.h | #ifndef ROBOT_H
#define ROBOT_H
#include <Arduino.h>
#include "Constants.h"
#include "Motor.h"
#include "PID.h"
class Robot {
public:
Robot(float maximumVelocity);
Motor Right_Motor = Motor(RIGHT_MOTOR_DIRECTION, ENCODER_RIGHT_A, ENCODER_RIGHT_B);
Motor Left_Motor = Motor(LEFT_MOTOR_DIRECTION, ENCODER_L... |
385574e6748599e67b6b2c3bbae544f5b438820c | 0bba5128e7566249f208946e9b806d30cadb28e0 | /WvsGame/MobSkillLevelData.cpp | af8483a9acfe2c12112e93bb813e302231efa98e | [] | no_license | CCasusensa/mnwvs077 | ad394859b716e9d99f83a030b1930732d4614a73 | 89c45c8d481b42a77be90d14e7643c4454a1b847 | refs/heads/master | 2022-05-28T00:17:48.750920 | 2020-12-04T10:49:42 | 2020-12-04T10:49:42 | 192,504,728 | 0 | 0 | null | 2019-06-18T09:04:31 | 2019-06-18T09:04:30 | null | UTF-8 | C++ | false | false | 32 | cpp | MobSkillLevelData.cpp | #include "MobSkillLevelData.h"
|
f7d1657a8ea594cc7b7adbf00c344b6c57b77eb0 | a37fe8de18e82d2fbc04da4c409897de34c2d0b2 | /KOE/DG/TV/TVKEYFLD.CPP | 07bb49037c5ed30fb600f3ff6192acd6e13569d0 | [] | no_license | jskripsky/ancient | e469354deef1ed2fee652f8686a033ee5d4bb970 | 052d342d5ca701c9b74b2505bd745d7849f66dcd | refs/heads/master | 2016-09-05T14:26:45.625760 | 2014-04-15T17:34:38 | 2014-04-15T17:36:17 | 18,808,800 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,944 | cpp | TVKEYFLD.CPP | /*****************************************************************************
** **
** **
** DOS Dialog Generator **
... |
9c497b39ae494e76d46de4c807754fea2241773e | 0faf846e04352255ba98770cf1a0475376e82cd0 | /GLImac-Template/TP2/mandelbrot.cpp | 2bb9e22ecc768c8d74718651751a175b8d0c580e | [] | no_license | MarcoKouyate/imac2-opengl | 63bcf1b4634d0fc350abec96f6ecf7917b5439b2 | 6a2f2aaa85dfe8129a26611641a6d0c28f3fe5ae | refs/heads/master | 2020-04-25T21:12:38.384751 | 2019-02-28T08:37:29 | 2019-02-28T08:37:29 | 173,073,642 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,431 | cpp | mandelbrot.cpp | #include <glimac/SDLWindowManager.hpp>
#include <GL/glew.h>
#include <iostream>
#include <glimac/Program.hpp>
#include <glimac/glm.hpp>
using namespace glimac;
// ====== CLASSE DE SOMMET ======
class Vertex2D {
public :
const glm::vec2 _position;
Vertex2D(const glm::vec2 position);
Verte... |
e1233db05b0d6d29fb204758d7f95833ba70ebba | e215ac34daff0eda58d978ee097db6c77dcf592e | /AI.cpp | ab613f45dfff8b1c4a868117a0883da25ce6e720 | [] | no_license | nguditis/Mario-Kart | f9dc8227a89127cd6a993178ca06277df03de0a5 | a15060c224759811f62f60b77ecb67d685dc8825 | refs/heads/master | 2020-04-06T11:14:35.640969 | 2018-12-12T22:32:56 | 2018-12-12T22:32:56 | 157,409,285 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,684 | cpp | AI.cpp | #include "AI.h"
#include "gameData.h"
#include "imageFactory.h"
AI::AI( const std::string& name) :
Drawable(name,
Vector2f(Gamedata::getInstance().getXmlInt(name+"/startLoc/x"),
Gamedata::getInstance().getXmlInt(name+"/startLoc/y")),
Vector2f(Gamedata::getInstance().getXmlI... |
1a59af6ab452f2582b6efbc4d219133c9c1e469c | 23413b022c11f69743951bd81d2cc5e0c0382537 | /Closure/include/BindStateBase.h | 4e1efd4f6505abd7b78fed74d60519a09230dd46 | [] | no_license | BigFinger/Closure | c41afa88561cf473a999a97c3a49f0ad9a6f4410 | 8c75d4f3a975cd82752be9c19ba3e4db6419e634 | refs/heads/master | 2020-03-17T20:36:54.676171 | 2018-05-18T07:32:36 | 2018-05-18T07:32:36 | 132,395,267 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 279 | h | BindStateBase.h | #include "config.h"
#include "RefCountedThreadSafe.h"
class BindStateBase : public RefCountedThreadSafe<BindStateBase> {
protected:
friend class RefCountedThreadSafe<BindStateBase>;
virtual ~BindStateBase();
public:
int mParamCount;
const void* mInvokerPtr;
};
|
5f8d0758e2dfd102144a98c691a2b66dfc6409d7 | fce0b4ada8337bc04937bdd237d16c23dff2e481 | /beakjoon/beakjoon_2225.cpp | ff10d15a075a86bffda0dcad8f5a78ee343bc865 | [] | no_license | Rakwon/Problem.Solving | 69d78a6e55edc014fa8c2ea93284a236843fdf98 | d5bd6228d149f2ab2c3034dc5ac3a7093acf91bd | refs/heads/master | 2021-09-07T23:24:54.112587 | 2018-03-03T01:16:38 | 2018-03-03T01:16:38 | 105,760,102 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 574 | cpp | beakjoon_2225.cpp | #include <cstdio>
#include <cstdlib>
#include <cstring>
#define MOD 1000000000
int d[201][201];
int process(int n, int k, int sum){
if(k == 0){
if(sum == 0) return 1;
return 0;
}
if(d[k][sum] == -1){
d[k][sum] = 0;
for(int i = n; i>=0; --i){
if(sum - i >= 0)
... |
ebeed20e0df602e573b13523657bfe642e208994 | f67b47259c734b4355057246ac7111ab59086dd6 | /lib/KFCGfx/include/GFXCanvas.h | 7ca2ff09394f6e5f3b5dc7ed1cd42d8eae0949b6 | [] | no_license | externall-projects/esp8266-kfc-fw | 2b28b848f9ab54a7107e6b27319606b5ad17f727 | 5889f7dce2ced0347ff96db3cbf27d1ea50dc466 | refs/heads/master | 2022-04-22T07:59:02.233681 | 2020-04-12T03:46:03 | 2020-04-12T03:46:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,435 | h | GFXCanvas.h | /**
* Author: sascha_lammers@gmx.de
*/
#pragma once
#include <Arduino_compat.h>
#include <assert.h>
#include <Buffer.h>
#include <MicrosTimer.h>
#ifndef DEBUG_GFXCANVAS
#define DEBUG_GFXCANVAS 1
#endif
#if _MSC_VER
#define DEBUG_GFXCANVASCOMPRESSED_BOUNDS_CHECK 1
#define DEBUG_GFXCA... |
8ab7ec8a01a1140072863e3ec615e0797d46b312 | 35a8341ef155f3c60758ee61302474c439ae3d75 | /kernel/trap_handler.cpp | 34da87a1e1d5ac20faf9e136d18318a69aac4f3b | [] | no_license | jrwilson/Lily | 0e5b4d16002a80f2e3ca7a18aa387aa0478bd7c2 | 24cd1b0fc0ad8676d6b1505324ed156f0f2b2ccb | refs/heads/master | 2016-09-09T19:58:21.254516 | 2012-05-14T12:22:35 | 2012-05-14T12:22:35 | 2,610,882 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,195 | cpp | trap_handler.cpp | /*
File
----
trap_handler.hpp
Description
-----------
Object for handling traps.
Authors:
Justin R. Wilson
*/
#include "trap_handler.hpp"
#include "idt.hpp"
#include "gdt.hpp"
#include "vm_def.hpp"
#include "registers.hpp"
#include "kassert.hpp"
#include "action.hpp"
#include "scheduler.hpp"
#inc... |
332b614f8aae6c6ca210e1b92de5142009cdf9f5 | 71a12a5843b74fe43f298c7a22b8b259f453fca5 | /src/preferences/loginPreferences.hpp | 0e80e617e9c859019ba9d9e39e0b75e2f933d456 | [] | no_license | andreagen0r/project-template | bda1fda97291b263947f4144f7ee023a3e6ad536 | 2b6e38a971a3b2ab670cd0133c26cda70ead9680 | refs/heads/main | 2023-03-17T22:53:22.707586 | 2021-03-07T22:04:51 | 2021-03-07T22:04:51 | 345,463,436 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 301 | hpp | loginPreferences.hpp | #pragma once
#include <QDir>
#include <QSettings>
#include "ipreferences.hpp"
namespace foo {
class PREFERENCES_EXPORT LoginPreferences : public foo::Preferences {
public:
LoginPreferences() = default;
virtual void save() override;
virtual void load() override;
};
} // namespace foo
|
8812e7a76115e8134c60af8cf331b3e72d6ef497 | 6a3697b5b5606fea7fa67dcef5722913a77fddf3 | /ACM/summer training 2019/2019 Multi-University Training Contest 2/K.cpp | 971468755de0fc944da0c94d83128bca1221e776 | [] | no_license | FarmerKb/oj | d154300752091749eea6fb6fa4fc36f19374daa1 | 5361945d12f70ea3cdad5235bee55ee9b0c835fb | refs/heads/master | 2020-09-07T21:11:28.529388 | 2019-11-12T00:50:08 | 2019-11-12T00:50:08 | 220,912,607 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,898 | cpp | K.cpp | #include <bits/stdc++.h>
using namespace std;
const long long llINF = 9223372036854775807;
const int INF = 2147483647;
const int maxn = 6e5 + 7;
const int maxm = 1e6 + 7;
int ans[maxn];
int nxt[maxn][30];
int fail[maxn];
int cnt[maxn];
int num[maxn];
int len[maxn];
int s[maxn];
int lst, n, p;
bool vis[maxn];
vector<... |
66abfe4237e425556fcdba8d0073c1c8457b2087 | 7c4e18dc769ebc3b87d6f45d82812984b7eb6608 | /source/application.cpp | 01afd2db05369fc5e9e5a348f8f0965f2be7d53c | [] | no_license | ishahid/smartmap | 5bce0ca5690efb5b8e28c561d86321c8c5dcc794 | 195b1ebb03cd786d38167d622e7a46c7603e9094 | refs/heads/master | 2020-03-27T05:43:49.428923 | 2010-07-06T08:24:59 | 2010-07-06T08:24:59 | 10,093,280 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,096 | cpp | application.cpp | #include "application.h"
#include "layerpanel.h"
#include "projectwindow.h"
#include "sminfo.h"
#include "smabout.h"
#include <qworkspace.h>
#include <qpixmap.h>
#include <qtoolbar.h>
#include <qtoolbutton.h>
#include <qpopupmenu.h>
#include <qmenubar.h>
#include <qfiledialog.h>
#include <qstatusbar.h>
#in... |
96836a26ce5f93e19e19fb7449e4db87f254c3a9 | 2e8ee837651ad66a073434c5d2d3f498e34a7100 | /Globals/stddef.h | 63009b68abdc0b7c6c1feab881c69386bbab236c | [] | no_license | Fracture17/ProjectMCodes | f673e35c9a0f85ff85765921bfe935e91e8c17f5 | 47a559870c0190042cd3646efe5657222361fe19 | refs/heads/master | 2023-06-23T21:08:31.074632 | 2023-06-14T00:20:49 | 2023-06-14T00:20:49 | 275,945,553 | 11 | 4 | null | 2022-02-06T02:59:35 | 2020-06-29T23:08:58 | C++ | UTF-8 | C++ | false | false | 3,573 | h | stddef.h | #pragma once
#define VTABLE_METHOD(RET_TYPE, FN_NAME) \
inline RET_TYPE FN_NAME() { return ((RET_TYPE (*)()) this->vtable->fn__ ## FN_NAME)(); }
#define VTABLE_METHOD_1ARG(RET_TYPE, FN_NAME, TYPE1, NAME1) \
inline RET_TYPE FN_NAME(TYPE1 NAME1) { return ((RET_TYPE (*)(TYPE1 NAME1)) this->vtable->fn__ ## FN_NAME)(NAME1)... |
351d7f13d4c6f3ba0bfbd49da2b45caa9d33a422 | 5965a658a81df839c8909299fc8040fe87daf0df | /华为机试/code/HJ16_购物单.cpp | 52c524f914db392e02d1ad444d3c8f0024757a04 | [] | no_license | da1234cao/data_structure | 5d7135cef831cca66623c4cceb68ddc63b27003f | 0ee470ab7810243661cd2086dc34d2f38c13236b | refs/heads/master | 2022-03-28T00:28:57.073599 | 2022-03-02T09:06:44 | 2022-03-02T09:06:44 | 210,477,465 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,200 | cpp | HJ16_购物单.cpp | // 题解参考:https://blog.csdn.net/weixin_45965762/article/details/118773265
// 参考题解使用滚动数组来写动态规划,我这里使用二维数组
#include <iostream>
#include <vector>
#include <map>
#include <cassert>
using namespace std;
int main(int argc, char const *argv[]){
////////////////////读取输入
int N,m;
cin>>N>>m;
vector<int> zj(... |
4194adc98e3ee1280ae273e843531e9360a41741 | 9fc51408cb32612323bd85d165fb8aaa32dcfaed | /rjesenje/App/RacunKolekcija.h | 790ccfd403c73916e6309fe557ff898061484a36 | [] | no_license | jasarsoft/kckf-pr2 | d5a37c8c01092f5d692afa144cb6c55b9dbe16d4 | 52f7c5392be18c6f8befcb997719b05c90c56e41 | refs/heads/master | 2021-04-15T16:57:56.840120 | 2018-03-24T19:58:49 | 2018-03-24T19:58:49 | 94,584,418 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 550 | h | RacunKolekcija.h | #pragma once
#pragma once
#include <iostream>
#include <memory>
#include"Transakcija.h"
#include "Klijent.h"
#include "Racun.h"
using namespace std;
typedef Racun* RacunTip;
struct RacunKolekcija
{
int max_size = 30;
RacunTip* podaci = new RacunTip[max_size];
int brojac = 0;
RacunTip& Get(int i)
{
return pod... |
d61cd8b0b3b2116026d007cedf68755ac4b5b117 | 533621231aa7233de90e29c31ae721e97c29fb8b | /Codeforces/Round/Round #644 (Div. 3)/1360G.cpp | 35b1e7c8a1e2c8a60e294780535366c268dd7668 | [] | no_license | NatanGarcias/Competitive-Programming | 00ad96389d24040b9d69eed04af04e8da0a4feb6 | ffb7a156352432c6a246c0024522aa97b5a5f2b8 | refs/heads/master | 2021-11-29T16:35:36.476318 | 2021-08-21T00:21:08 | 2021-08-21T00:21:08 | 238,455,629 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,779 | cpp | 1360G.cpp | #include<bits/stdc++.h>
using namespace std;
template<typename T> ostream& operator<<(ostream &os, const vector<T> &v) { os << "{"; for (typename vector<T>::const_iterator vi = v.begin(); vi != v.end(); ++vi) { if (vi != v.begin()) os << ", "; os << *vi; } os << "}"; return os; }
template<typename A, typename B> ostre... |
9b81c44427291d88a823e88c8e14a4c7fe92fad3 | 1a20961af3b03b46c109b09812143a7ef95c6caa | /Book/3dlearn/Samples/ElGame/ElGUI/src/ELGUIRenderCache.cpp | 30b63c20afedaf310215c60fff690d64c8a2811a | [] | no_license | JetAr/ZNginx | eff4ae2457b7b28115787d6af7a3098c121e8368 | 698b40085585d4190cf983f61b803ad23468cdef | refs/heads/master | 2021-07-16T13:29:57.438175 | 2017-10-23T02:05:43 | 2017-10-23T02:05:43 | 26,522,265 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,032 | cpp | ELGUIRenderCache.cpp | #include "ELGUIPCH.h"
#include "ELGUIRenderCache.h"
#include "ELGUISystem.h"
namespace ELGUI
{
bool RenderCache::hasCachedImagery() const
{
return !(d_cachedImages.empty() && d_cachedTexts.empty());
}
void RenderCache::render(const Point& basePos, const Rect& clipper)
{
Rect displayArea(System::getSingleton(... |
979635ddf0cecf70d0a4288e2cd050aa5ad1b20e | 47fb36c26f47c2a7ff3c4ca177a3706ae2156c2d | /src/thunderbots/software/ai/hl/stp/action/move_action.cpp | 1d64a87e6549aaa3138be4ffe81b5fb1df109b6a | [
"LGPL-3.0-only"
] | permissive | Solaris5959/Software | 17005ba735c304b85a46fdb96e7459a8960fc5a0 | b34ed63f671460dcb8db62d328b776747adaf374 | refs/heads/master | 2020-07-30T03:04:07.075323 | 2019-09-29T20:44:10 | 2019-09-29T20:44:10 | 210,065,033 | 0 | 0 | MIT | 2019-09-21T23:23:14 | 2019-09-21T23:23:13 | null | UTF-8 | C++ | false | false | 1,892 | cpp | move_action.cpp | #include "ai/hl/stp/action/move_action.h"
#include "ai/intent/move_intent.h"
MoveAction::MoveAction(double close_to_dest_threshold,
Angle close_to_orientation_threshold, bool loop_forever)
: Action(),
close_to_dest_threshold(close_to_dest_threshold),
close_to_orientation_thresho... |
fae6f6cb155184af9c1e3673cfac05b4d0da911d | 25f5ed71cdc8ff9ac680df4876b086ccaf51b5cc | /lib/dwarfs/logger.h | d160cb6858c87e9f33a8c06107c0b8381508b6f3 | [] | no_license | marisancans/home_system | 3a7ea8b940ba19c9d877b736b6dc4d5378fe4b6c | 127a09dd7b9896ea7cdd50a1a735d9554220d72d | refs/heads/master | 2021-07-17T06:48:53.935035 | 2020-03-25T12:35:27 | 2020-03-25T12:35:27 | 249,437,366 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,818 | h | logger.h | #pragma once
#include "alias.h"
#include "alg.h"
#include <mutex>
#include <cstdio>
#include <iostream>
#include <fstream>
// forward declared
namespace fs {
struct TxtFile;
}
namespace dw {
// Forward declared
template <typename ...Args>
struct Signal;
struct Logger {
struct{
int log_level_length = 4... |
0c0e1fedef32ef7744838f5d0b724119c0552f12 | 65aac98868973869c0a15dfc1b896a995a67f510 | /Connect6.cpp | 638510b59afd7bb6c1e4d69b1c22ca706f5fff55 | [] | no_license | SmirnoffAlexander/Implementation-of-Connect6-game | 317fbcfec745c0b80fd9d310703365d8ba6306d1 | d86752a680a0d26f1887a6048e7f973fa089a49b | refs/heads/master | 2022-05-05T10:03:50.438659 | 2018-06-01T14:48:31 | 2018-06-01T14:48:31 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 23,047 | cpp | Connect6.cpp | // Connect6.cpp: определяет точку входа для приложения.
//
#include "stdafx.h"
#include "Connect6.h"
#include <windowsx.h>
#include "Vars.h"
int mark = 0;
bool step;
int left1;
int top1;
vector <int> steps_i;
vector <int> steps_j;
void TSS(int field[19][19], int copy_field[19][19], int* current_step1_... |
99a2bb2e408f32d4424919e48303f0a47f2d4558 | 3d5233fb90e63236fdabe6f14b3744f7353f85a8 | /02 - Taller f(n)/3 - Algoritmo [Con Nodos].cpp | e9e3e6f4fac9fa2acd98a375aa10509d2ccd79a0 | [] | no_license | USERCALL/Ciencias1_UD | 8dc41e495e648fd528c5da8fea1107a4dea407a4 | 5e76b57c4c5a6d9c809e5bff377a407a7351fd5e | refs/heads/master | 2021-06-12T18:24:57.525949 | 2017-04-07T16:09:20 | 2017-04-29T01:29:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 752 | cpp | 3 - Algoritmo [Con Nodos].cpp | //Diego Hernandez -> 20141020271
// Cristian Rios -> 20141020058
//Ciencias Computacion I (2017-02-07)
#include <iostream>
using namespace std;
struct nodo{
int x,y;
nodo *sig;
};
int main(int argc, char** argv) {
nodo *CAB = NULL, *AUX;
int N, i, bytes;
bytes=sizeof(&CAB);
cout<<"Ingerse N: ";
cin>>N;
for... |
2c8bdec34c30f4225143d946c45eecaa15c836ba | da6f22c03eb57e4d76665adac5542622aaa7358d | /TradingSDI/TradingSDI/Duplicate_OrderTable.h | 1af53d23c2fa4c860038b3883d14dcd6f05949d0 | [] | no_license | 15831944/Trading | 0a5246d8ac78a0a087bb4ce58bb811248af9a4ad | ddf28c0882d29f1e6389f505e24dbe7422114d3f | refs/heads/master | 2020-09-11T10:28:03.148204 | 2017-12-30T07:25:19 | 2017-12-30T07:25:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,063 | h | Duplicate_OrderTable.h | #include <atldbcli.h>
#include "Grid_CheckTrade.h"
class Duplicate_OrderTable
{
public:
TCHAR m_order[31];
TCHAR m_deal[31];
TCHAR m_login[31];
TCHAR m_symbol[31];
TCHAR m_volume[31];
TCHAR m_price[31];
DBSTATUS m_dworderStatus;
DBSTATUS m_dwdealStatus;
DBSTATUS m_dwloginStatus;
DBSTATUS m_dwsymbolStatus;
... |
a3f8e1cc45f83a0084d3b7c91a942fc44db0948e | 3033de396fe3ef4e65d52bcaf77dc21b9b2aaebc | /configdlg.cpp | e9daa00e01dd1503f31e91b02c764ae4647c827d | [] | no_license | davidivanmarsh/TORQUEView | 58ec7440f5fd136fe1bc00f726766c0967d499c9 | 76a2c7f7f675a501adaee84f5e3b405622028d24 | refs/heads/master | 2021-01-10T19:02:00.745687 | 2014-12-16T20:53:11 | 2014-12-16T20:53:11 | 24,952,658 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 26,090 | cpp | configdlg.cpp | /*
* The contents of this file are subject to the Mozilla Public License
* Version 1.1 (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.mozilla.org/MPL/
* Software distributed under the License is distributed on an "AS IS"
* ... |
3a61f1d60c4c36e693849204c112b91c83defe87 | f56768d4092e578f31a54158aec800fa9ce2cb15 | /src/beta_nmf/divergence.h | c3248889c6fa6dd762de24dd17e8702a61562878 | [] | no_license | faroit/beta-nmf | 6849a86957924fb373bb849f5b4898a9b588978a | bcc1c4dbc1cbfbee3ebc4f4054131c30e3da1b8a | refs/heads/master | 2021-01-18T08:29:41.846807 | 2014-06-05T14:07:08 | 2014-06-05T14:07:08 | 20,527,220 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,335 | h | divergence.h | // Author: Olivier Gillet (ol.gillet@gmail.com)
//
// Computation of beta-divergence.
#ifndef BETA_NMF_DIVERGENCE_H_
#define BETA_NMF_DIVERGENCE_H_
#include <third_party/eigen3/Eigen/Eigen>
namespace beta_nmf {
template<typename T>
typename T::Scalar BetaDivergenceEuclidian(const T& x, const T& y) {
return 0.5 * ... |
2fe038cf6353d1d353aba9223081126eaaf2208c | 3e499fac4a9c64a6a4e3cd76e60d194872c88e74 | /libs/fungus_booster/fungus_util/common.cpp | 63b0e85df29b2af2a36a0fdd6546e05693ccfaf5 | [] | no_license | stonedcoldsoup/fungus_libs | 976b5e87c7441c06b60def4eb7507c89a9951739 | dcdc62579ef643acd3b732d6ff85fd5c48f3c9e3 | refs/heads/master | 2020-06-02T00:49:46.415826 | 2012-12-15T03:57:02 | 2012-12-15T03:57:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 48 | cpp | common.cpp | #include "common.h"
namespace fungus_util
{
}
|
1fbcecdacb0863f7f5b60efe07b7aa8423ff0788 | 0c86bde8e4b1968d6bd582ba0a5d2941a54c04b5 | /PA4/teller.h | 8665119711cc8dcfb01cf6550cb5c80357641586 | [] | no_license | etarthur/SystemsProgrammingCS2303 | fd0d0b77033ecb8aba1e7229c526d6af74b047c1 | 0b9941c8f32be1c88bd73a308edda8a987e1b5b3 | refs/heads/master | 2021-04-30T06:59:30.457479 | 2018-02-14T16:24:34 | 2018-02-14T16:24:34 | 121,459,340 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 991 | h | teller.h | // teller.h -- Eric Arthur (etarthur) & Przemek Gardias (pmgardias)
#ifndef TELLER_H_
#define TELLER_H_
#include "event.h"
#include "eventqueue.h"
/**
* \class Teller
*
* \brief Teller is the derived class of Event that carries additional info such as idle_time for each specific teller
*/
class Teller: public Ev... |
031be2cfea3b7377a284a2614ab9d3bb580066bb | cd6abf50a9767e9d0e5b53e408dba4c6c6f3ac45 | /iteration2/src/FThreshold.h | 0ec0d595942b0628282e5f2038fc7b762359411b | [] | no_license | Michael-Cooper/FlashPhoto | 92487b0779a6639f326a7746a3e3a4d2075d8d9a | 772a8ed7a6cfd7cf7d47c484ccedfb472b172fb3 | refs/heads/master | 2021-01-17T19:13:55.705209 | 2016-08-03T04:47:03 | 2016-08-03T04:47:03 | 60,245,385 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 334 | h | FThreshold.h | //
//
//
#ifndef FThreshold_H
#define FThreshold_H
#include "Filter.h"
#include <string>
class PixelBuffer;
class ColorData;
// class Mask;
class FThreshold : public Filter
{
public:
FThreshold();
std::string getName() ;
void applyToBuffer(PixelBuffer* buffer, float newStrength[]);
private:
float strength;... |
2821fe3109e5154d5a920a96bb0297185ecd352c | cc8a39e61c1de4f8657fe32a50249f369cf57577 | /health_check/systemd/systemd-test.cpp | 62b9cae11e94f06d9ce11348ce43a2d0d763db95 | [
"BSD-3-Clause"
] | permissive | xcnix/HPC_Scripts | addfd3e765b9030980a05ce7565b0519a3226301 | 5be3870aedde320de55fcd9190936f8e84b11735 | refs/heads/master | 2023-06-23T06:28:52.470806 | 2018-10-11T20:06:13 | 2018-10-11T20:06:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,803 | cpp | systemd-test.cpp | #include <stdio.h>
#include <stdlib.h>
#include <systemd/sd-bus.h>
//nate@cisl-prescott:~/git/node-sentinel/build$ busctl call org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager GetUnitProcesses "s" cups.service
//a(sus) 6 "/system.slice/cups.service" 1028 "/usr/sbin/cupsd -l" "/system... |
bdf4a9700309e51aa2ba61be55e191b6bef77056 | 9e20d39fa21b5ccd657a511ff2c74185bd3bf482 | /Test Project/Question14/Question14.hpp | 5b94bd5be9be71a04b10c0b0c595b913d8e4a1db | [] | no_license | CoolNietzsche/cpp_exercises_solutions | 309a358597e7bc9b01fd1195341a0618025faf6d | 315477ca5743dca11074afe195fa88cf65482b95 | refs/heads/master | 2022-04-09T06:43:06.664871 | 2019-11-19T04:11:52 | 2019-11-19T04:11:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 280 | hpp | Question14.hpp | //
// Question14.hpp
// Test Project
//
// Created by Biruk Tilahun on 11/18/19.
// Copyright © 2019 Biruk Tilahun. All rights reserved.
//
#ifndef Question14_hpp
#define Question14_hpp
#include <stdio.h>
#include <iostream>
#endif /* Question14_hpp */
void Question14();
|
46eecd5994718ae829783f18b080b88b8586023a | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/enduser/netmeeting/ui/wb/draw.cpp | b7ed6af106d50314ad2496eef08b0e26ecfa32df | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 88,191 | cpp | draw.cpp | //
// DRAW.CPP
// Main Drawing Window
//
// Copyright Microsoft 1998-
//
// PRECOMP
#include "precomp.h"
#include "nmwbobj.h"
static const TCHAR szDrawClassName[] = "T126WB_DRAW";
//
//
// Function: Constructor
//
// Purpose: Initialize the drawing area object
//
//
WbDrawingArea::WbDrawin... |
a84d40a4ae9e1c571a020941ccce0300eb3cb9e3 | 5b2f83597acb1e07d031cbdeb33080b656f2327c | /Misc/read_writer.cpp | 829705630e943d77129feb12b022165ec22cd4d1 | [] | no_license | sahilkumar11/Operating-System-Lab-Programs | bd14d23c716908f6b3d95b9222ceb79da5a9f1de | 767cab880f6e54ed4aaa37ce1c4d1a01bcc7ced4 | refs/heads/master | 2022-03-01T01:32:56.542142 | 2019-12-08T22:30:26 | 2019-12-08T22:30:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 185 | cpp | read_writer.cpp | #include<bits/stdc++.h>
#include<sys/types.h>
using namespace std;
bool wrt;
void writer()
{
while(wrt==false);
cout<<"\nWriting...";
wrt=false;
}
int main()
{
return 0;
}
|
abc83d63fc59ce539605122928c529d7d3a52646 | b2357aee67c308a3bb2ce07c6f4da388d4d83cd2 | /src/BluetoothServiceAdvertiser.cpp | f8deb92a09f13334c9d726e1e951f78db148d8c2 | [] | no_license | bindscha/secure-sms | fecb6927782ca00fd24810d6cb5e57e6c6a4a498 | 6c934b3ddd829fc0d1251648936cfde3cf8a57eb | refs/heads/master | 2021-03-27T16:49:41.496617 | 2013-04-23T20:37:54 | 2013-04-23T20:37:54 | 9,632,787 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,236 | cpp | BluetoothServiceAdvertiser.cpp | /*
========================================================================
Name : BluetoothServiceAdvertiser.cpp
Author : Nokia Corporation
Modified : Laurent Bindschaedler
Copyright : Copyright (c) Nokia Corporation 2009
Description : Implementation of Bluetooth service advertiser
==========... |
69e9acc56bda79cd2a7bfc6538cf3c76c7ad1f93 | aa4733448f2768f936ae98379fa6555025e37dff | /MFW/Android/jni/source/njvrender/vomeRGB565VideoRender.cpp | e9a63acc5ad52ddf71365897b4c72705d59ba4be | [] | no_license | schreibikus/nmPlayer | 0048599d6e5fc60cc44f480fed85f9cf6446cfb4 | 1e6f3fb265ab8ec091177c8cd8f3c6e384df7edc | refs/heads/master | 2020-04-01T20:34:56.120981 | 2017-05-06T08:33:55 | 2017-05-06T08:33:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,405 | cpp | vomeRGB565VideoRender.cpp | /*
** Copyright 2007, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applica... |
7b549e23cf54dd265a75705e48545aac528bb212 | 5ad7d5b4a5f6c973c1315fdc2314c0442b4c3c66 | /parser.h | c556cd2f37e3b7e565b485094a9ccf5cad212ce3 | [] | no_license | Cornelius-Leary-III/MIPS_Simulator_M0-M1 | 9af5b20f94103ae4d8bf851c264212eacc9ead54 | aad52c833175784e475d224a4bb4d3f80248f6d0 | refs/heads/master | 2020-03-30T05:37:18.761542 | 2018-10-05T17:08:49 | 2018-10-05T17:08:49 | 150,809,622 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,085 | h | parser.h | #ifndef PARSER_H
#define PARSER_H
#include "lexer.h"
#include "DeclarationParser.h"
#include "InstructionParser.h"
#include <vector>
using std::vector;
#include <sstream>
using std::stringstream;
class parser
{
public:
parser(std::istream& streamToParse);
bool parseStream();
bool checkForGrammarChang... |
726a4276ce9ff544a3c7ccf5854652d13b10c64f | 43379391fe3bb06be04d37208e8234d9865543f0 | /source/bwh/hacks/lockspeed.cpp | 48eccc882080d222a565d518eebece410e63f7dc | [] | no_license | coolzoom/bwh14 | 4e55112e630e0f979ed2746e599e79c28d405587 | 762471de3fe2b2fcd83bba9a1fcf7de2391c96d5 | refs/heads/master | 2020-09-11T15:36:21.504088 | 2019-11-16T15:17:03 | 2019-11-16T15:17:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 650 | cpp | lockspeed.cpp | #include "lockspeed.h"
#include "..\common.h"
BYTE g_bLockSpeedBackup[6];
VOID LockSpeed_Enable(PBYTE pLockSpeed, BOOL bEnable)
{
DWORD dwOldProtect;
if(pLockSpeed && VirtualProtect(pLockSpeed, sizeof(g_bLockSpeedBackup), PAGE_READWRITE, &dwOldProtect))
{
if(bEnable)
{
if(pLockSpeed[0] != 0x90)
memcpy(g... |
58062d85055c828a9265ff9d74cb35b3ec687a23 | ed4a91fd9b4fefca40cc5118b485c0ec7d4ba40c | /louluosrc/logingame_server/src/client/zmq_client_pub_client.h | 909512a6ac1c3d3c9bea789af7e2299c64012626 | [] | no_license | hkduke/my_src | 165035db12481d36bedb48cf2c1c1759ce2af42f | 2282fff562fd14c972e7ce66a615a7125cb4a877 | refs/heads/master | 2020-06-13T08:14:34.674528 | 2017-04-09T12:47:57 | 2017-04-09T12:48:37 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,245 | h | zmq_client_pub_client.h | #ifndef _SD_ZMQ_CLIENT_PUB_CLIENT_H_
#define _SD_ZMQ_CLIENT_PUB_CLIENT_H_
#define SERVER_NAME_KEY "SERVER_NAME"
#define SERVICE_NAME_KEY "SERVICE_NAME"
#define SERVER_IP_KEY "SERVER_IP"
#pragma once
#include "zmq_client.h"
#include "zmq_client_sub.h"
#include "zmq_client_pub.h"
#include "SDPthr... |
7fdfd1a139869e8ee9bbe5895480dc9057a61aab | 2867c7651870f519cd446d399fafa244fb1726e8 | /naos/includes/kernel/fs/vfs/standalone_file.hpp | 0ebde8d61d669f4c970a24d97142570b1d2ee718 | [
"BSD-3-Clause"
] | permissive | kadds/NaOS | 28f456692338d79ddf0272644a752c275ffea477 | 476f28eeebf231e3663772dcd69c521ce046e076 | refs/heads/master | 2023-08-09T05:11:18.300464 | 2023-07-28T14:17:02 | 2023-07-28T14:17:02 | 210,094,361 | 24 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 576 | hpp | standalone_file.hpp | #pragma once
#include "common.hpp"
#include "defines.hpp"
#include "file.hpp"
#include "pseudo.hpp"
namespace fs::vfs
{
class dentry;
class standalone_file : public file
{
public:
standalone_file();
standalone_file(const standalone_file &f) = delete;
file &operator=(const standalone_file &f) = delete;
... |
218025294666f6c4821631f968a8c6f27faf19ec | 26ded66fe25ab74b8e40e01ded1c0a3d1b5028a8 | /plugins/PATTauVectorJetCorrMomValExtractor.cc | f096a95191d7eacfecf3507c01b327e6ee588d62 | [] | no_license | akalinow/TauAnalysis-TauIdEfficiency | 8a332a63be27fdb516add14c46ad1613b882cae5 | ec5462d47672662e8d995fc9175088a5de820b99 | refs/heads/master | 2021-01-21T02:21:48.666347 | 2013-06-28T20:10:44 | 2013-06-28T20:10:44 | 56,061,220 | 0 | 0 | null | 2016-04-12T12:29:24 | 2016-04-12T12:29:23 | null | UTF-8 | C++ | false | false | 1,656 | cc | PATTauVectorJetCorrMomValExtractor.cc | #include "TauAnalysis/TauIdEfficiency/plugins/PATTauVectorJetCorrMomValExtractor.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "DataFormats/Common/interface/View.h"
#include "DataFormats/PatCandidates/interface/Tau.h"
#include "DataForma... |
82a71589e18978412821bae7db228ab6fe4c33d5 | 40eae647d284e17fdbbb06fe2a3090d6c6f6407b | /libs/draw/polyline.h | 864cb12f5745a073c216fccde510d7d46c52a153 | [
"MIT"
] | permissive | kdt3rd/gecko | 1f6aff6e1e5e0fb125ebeb0352040f1a74939bfc | 756a4e4587eb5023495294d9b6c6d80ebd79ebde | refs/heads/master | 2021-01-20T21:45:08.459181 | 2020-02-02T01:04:02 | 2020-02-02T01:04:02 | 23,272,198 | 19 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,719 | h | polyline.h | // SPDX-License-Identifier: MIT
// Copyright contributors to the gecko project.
#pragma once
#include "types.h"
#include <array>
#include <base/format.h>
#include <iostream>
#include <iterator>
#include <vector>
namespace draw
{
////////////////////////////////////////
class polyline
{
public:
using point = po... |
bb97ae1640a5bcb2c5dbd429b1528c2b81451ddf | 4da7317e1e461e0ff5e17e6bf1e03e59a5289a07 | /apps/prep.cc | 199b91c55afaf6145d36c38a982d2376d0ba1338 | [] | no_license | vatai/mpk | 81ccbcec4b2c6be1cd01cca865d3e112ce27e5f8 | 1687a77ccb9a7ecc154007f32d384a9acb2a8118 | refs/heads/master | 2022-09-07T18:09:51.431262 | 2022-08-29T05:00:35 | 2022-08-29T05:00:35 | 89,324,963 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,019 | cc | prep.cc | /// @file
/// @author Emil VATAI <emil.vatai@gmail.com>
/// @date 2019-09-17
/// @page pdmpk_prep pdmpk_prep
///
/// The body of `pdmpk_prep` page.
#include <cassert>
#include <iostream>
#include "../pdmpk/args.h"
#include "../pdmpk/comm_comp_patterns.h"
#include "../pdmpk/typedefs.h"
/// Prepare @ref Buffers using... |
759512af4f0f89d6b227050e1c231bec4f50894c | 77479506c26b2a33a604108444bb2147b6b8b335 | /lightSensing_triple/lightSensing_triple.ino | 157690e74b89647d49b57721371b0993f3b289b3 | [] | no_license | WenqiYangTeresa/IDMseniorProject | aef3442e01adcf4e6ffe13b82b1997232df47dcd | ceb3bd181a76a6e858f5d3827749417f048ef023 | refs/heads/master | 2020-03-14T03:24:51.902632 | 2018-05-07T00:43:22 | 2018-05-07T00:43:22 | 131,419,339 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,160 | ino | lightSensing_triple.ino | //Count Time & Calibration
unsigned long start_time;
unsigned long current_time;
unsigned long elapsed_time;
unsigned long start_calibrate;
unsigned long current_calibrate;
unsigned long elapsed_calibrate;
//Input & Output
const int sensorPin = A4;
const int sensorPinB = A0;
const int sensorPinC = A2;
const int ledPin... |
f058fae69a1d8beb527b118ea1e4c674d34b8628 | 9d8dad1ea06300f0d70328398bf137fa6c824502 | /src/core/topology/manager/TopologyTrustLinesManager.h | ecd785d97aaf7f6eb4363f04b56af138afd1bde2 | [] | no_license | MukolaIlashchuk/geo-client | a37d65e959b8579ef6cbf83b8b06022d991f218c | 30f32cf74790155d3e14fe26b1c0ac0193e2f447 | refs/heads/master | 2020-04-03T06:06:18.201690 | 2018-10-28T11:59:53 | 2018-10-28T11:59:53 | 155,065,873 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,920 | h | TopologyTrustLinesManager.h | #ifndef GEO_NETWORK_CLIENT_TOPOLOGYTRUSTLINESMANAGER_H
#define GEO_NETWORK_CLIENT_TOPOLOGYTRUSTLINESMANAGER_H
#include "../../common/NodeUUID.h"
#include "TopologyTrustLineWithPtr.h"
#include "../../common/time/TimeUtils.h"
#include "../../logger/Logger.h"
#include <set>
#include <unordered_set>
#include <unordered_m... |
807f6d690d20c30078dc0b64d66096593e55a262 | a69042cde9531714459b2e2608f2e1a7ef809039 | /cd3/정보올림피아드관련/정보올림피아드관련/문제들/문제/ACM/4월20/4.DIR/Source.rgm/조용운_juice.cpp | ed62e7b50a9d770eca3b08d92dbba2ca4e55c7d4 | [] | no_license | almoreir/algorithm | 7ebb8b79cfd92208df6db4425f5cb49ee06a50be | af74200d33cf89b038016311efd3487c58132bb3 | refs/heads/master | 2020-09-03T07:13:53.305987 | 2016-11-02T10:09:45 | 2016-11-02T10:09:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 898 | cpp | 조용운_juice.cpp | #include <stdio.h>
#include <fstream.h>
#define Num 1000
#define Mum 1000000
#define M 2000000000
int n,m;
int q[Num][2]; //v w
int d[Mum];
//int nr[Mum];
void i_f() {
int i;
int a,b;
ifstream in ("juice.in");
in >> a >> b;
m=b-a;
in >> n;
for(i=0;i<n;i++) {
in >> q[i... |
d1b3356f3a4bc4247dac59b79c9c8abd0897341c | 98a54fd97256a983f3eaf0bf8004fc41999cf4de | /Day_11/CF/A.cpp | f0d3907ac6e5ecd6ca5b4af2d3a79db932f65e99 | [] | no_license | cornyum/acm_summer | f2a9916e5fd2442b0ce6c94a700f862034e525f1 | a527585eae118abc7845dd6e9f3d4061f115edc2 | refs/heads/master | 2020-06-22T09:07:41.126014 | 2019-07-23T15:30:27 | 2019-07-23T15:30:27 | 197,687,976 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 570 | cpp | A.cpp | #include <bits/stdc++.h>
#define FAST_IO std::ios::sync_with_stdio(false),std::cin.tie(0),std::cout.tie(0)
#define pause system("pause")
typedef long long ll;
typedef unsigned int UINT;
typedef unsigned long long ull;
using namespace std;
int main(void) {
FAST_IO;
int n;
cin >> n;
int x = n % 4;
if... |
2aabb4d83e06f13a4f7316cdbb4a6bab63ea1df7 | 7ccf7a19d06fe95851c8fbcba414d5db5873bdab | /cpp_wraps_c_wrapping/src/cpp_wrap.cpp | 5e00a39061c43b067f1e0d025b05b4b342e3b5cb | [] | no_license | gsimbr/CythonExperiments | d43f39a8481977d9612fdedc4f7ac3d9b7fa721b | 47232f86bc9f0da11b97202484001e60b0df5114 | refs/heads/master | 2021-01-01T06:13:33.263301 | 2019-04-22T10:09:02 | 2019-04-22T10:09:02 | 97,383,786 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | cpp | cpp_wrap.cpp | // cpp_wrap.cpp
#include <stddef.h>
#include <string>
#include <iostream>
#include "cpp_wrap.hpp"
#include "c_code.c"
namespace wrap {
StringClass::StringClass(const std::string &stringi)
{
std::cout << stringi << std::endl;
gx = stringi;
}
size_t StringClass::getStringLength()
{
const char *cstr = gx.c_str();
... |
f0b9977ee7db0c8ff270b54e8933a0e5adcdc1f8 | 504d94c9e544c88d554b2fd84baae01d6abf72cc | /Mario/Tools/controls.cpp | 5caeb30cdef12bf6d17de6f94d42522926849f29 | [] | no_license | AdrienVerdier/JeuQt | d7e456be48dd7c09aa3eac9a1ee6a34d2093356b | 506bbd131c749ddcd12bbe67b0d2377db9cc78cc | refs/heads/master | 2022-09-21T02:57:35.983165 | 2020-06-05T15:18:34 | 2020-06-05T15:18:34 | 261,675,530 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 144 | cpp | controls.cpp | #include "controls.h"
Controls::Controls()
{
left = false;
right = false;
down = false;
up = false;
shoot = false;
}
|
1bc4ebd54a8f15bfcce483f72e696b1266c518a0 | 8cd5ca0855263d35a2343ab91ea08e725e5a7c5d | /PCSAEstimator.cc | 73b4800b1b0adfeb57615f723039422e5726d923 | [] | no_license | atran3/cardinality_estimator | 3a319318092f0937ae24c4dd479263a08cd28173 | cae37cbf60cd3d2948e51cf863822711ab2b61fc | refs/heads/master | 2021-01-20T18:52:30.076186 | 2016-06-02T00:53:04 | 2016-06-02T00:53:04 | 60,126,715 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 887 | cc | PCSAEstimator.cc | #include "PCSAEstimator.h"
#include <strings.h>
#include <math.h>
static const double phi = 0.77351;
static const unsigned int L = 32;
PCSAEstimator::PCSAEstimator(size_t numBuckets) {
this->numBuckets = numBuckets;
//assumes each bitmap is sizeof(int) * 8
buckets = new unsigned int[numBuckets]();
h = threeIndep... |
ad9682ea70d44c53ac339fd8c2453251de1f1d85 | 88df7f763ae178fa8791cecf0a3c5955d3fa7c21 | /1149/1049.cpp | 02f016c63d99e299e0212b1493e3bc7ade144269 | [] | no_license | sanchezz93/cojProblems | 37c1548c5bad6fe462ad0a16f4e1480054b5f812 | ad24534121d958403e63063070975666f341d44e | refs/heads/master | 2021-01-13T16:10:26.398353 | 2015-02-01T22:07:50 | 2015-02-01T22:07:50 | 23,449,941 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 303 | cpp | 1049.cpp | //
// 1049.cpp
//
//
// Created by Alejandro Sanchez on 8/28/14.
//
//
#include <cmath>
#include <iostream>
using namespace std;
int main(){
int n;
cin >> n;
if(n>=0)
cout << (n*(n+1))/2;
else
cout << (((n*-1)*((n*-1)+1)/2)*-1)+1;
cout << endl;
return 0;
} |
3f96674b2a7a3a99020f63e1549d7d0cef080b7a | 829d18a0dd19613364b796e8d0c78b09f41c75c4 | /library/sslive/src/main/cpp/PrefixHeader.h | 6a6f66ee623a29f965c362ac631c50a8c4a367f8 | [] | no_license | zlxqiang/SuishiLive | 530bf0f9552c981d19411657f8909d59de31ac5a | d35d9c5f8682d3854766931499c51a093fd75a1d | refs/heads/master | 2021-05-26T07:03:59.034322 | 2020-09-23T20:45:00 | 2020-09-23T20:45:00 | 127,826,727 | 9 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 515 | h | PrefixHeader.h | //
// Created by developer on 11/12/17.
//
#ifndef NATIVEAPP_PREFIXHEADER_H
#define NATIVEAPP_PREFIXHEADER_H
#include <iostream>
#include <mutex>
#include <memory>
#include <condition_variable>
#include "base_include.h"
using namespace std;
//测试数据写入文件
#if 0
#define WRITE_YUV_TO_FILE
#define WRITE_PCM_TO_FILE
#endif... |
4f1a7cdd8afbbf7795b0ca075263a9fa55070311 | 5f2f1c1061fa9b9a002b1f07239d71e47d1092f9 | /absp1.cpp | 427be245e4ee779d8b116d4ac6a880afb7b70679 | [] | no_license | shubhamgupta1404/mySpojSolvedProblems | d4fa961167c10e23541566ce7b09a9304fcc8254 | 22be80d70f0ed002c21dca06efc5dfc339aef931 | refs/heads/master | 2021-01-15T18:50:46.772544 | 2015-06-02T14:19:17 | 2015-06-02T14:19:17 | 36,737,471 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 428 | cpp | absp1.cpp | #include<iostream>
#define MAX 10000
using namespace std;
int main(){
int t,n;
cin >> t;
while(t--){
int arr[MAX];
long long int sum=0;
long long int prevSum=0;
cin >> n;
cin >> arr[0];
for(int i=1;i<n;i++){
cin >> arr[i];
long long int temp = prevSum + (i-1)*(arr[i]-arr[i-1]) +... |
3507de86d06d1aebacada1356a6ac1cccd1ec2dd | a0f10d96833d6fb1b13eb3f350b0782afb887f45 | /sources/core/qv_block.h | fe9e3ac4ae184cab69f9977efaee5243080c8535 | [
"MIT"
] | permissive | dabroz/dablang | 6462c410165d123ad6bbf22d9ff6bbb029a3a30e | 60c9b0310cee1488fbde1dbbc2fd411a9cc6dbce | refs/heads/master | 2021-01-22T09:41:07.513962 | 2011-11-25T22:26:28 | 2011-11-25T22:26:28 | 2,259,362 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 378 | h | qv_block.h | #pragma once
class qBlock : public qInstruction
{
public:
qBlock(qValue * v)
{
insert(v);
}
qString print(int indent)
{
return doIndent(indent) + "{\n" + L()->print(indent+1) + doIndent(indent) + "}";
}
bool isBlock() { return true; }
virtual bool LLVM_build(llvm::Module * module) { return L()->LLVM_build(... |
c8d2ada02a02a4bce8ac495ee9ef9f7ee6fc0a40 | f6ef1f50a476c3ed58b4f268feb6fb438996f06a | /有OJ/刷题指南(包含leetcode, POJ, PAT等)/POJ-2/problems/2185MilkingGrid.cpp | 00b40f9f07b6bfc9b64d12521a3e3655d4851fd2 | [] | no_license | February13/OJ_Guide | f9d6c72fc2863f5b6f3ad80b0d6c68b51f9a07db | a190942fae29a0dbee306adc81ee245be7fda44a | refs/heads/master | 2020-04-25T09:01:48.458939 | 2018-01-18T08:31:30 | 2018-01-18T08:31:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,263 | cpp | 2185MilkingGrid.cpp | #include<iostream>
#include<stdio.h>
#include<string>
using namespace std;
char cow_h[10000][80];
char cow_v[75][10010];
int h[10000],v[75];
int R,C;
int fail[10010];
int get_tile(char *s)
{
//cout<<s<<endl;
int n=strlen(s);
int i,j=0;
fail[1]=0;
for(i=2;i<=n;i++)
{
while(j>0 && s[j+1-1]... |
4882d873ddd04a852e1e309f86ae90be2a383808 | 556bc516271dfe48b13850d51a6f65dce425adc4 | /Random/geeksforgeeks/UNDERSTOOD/Print substring of a given string without using any string function and loop in C/recursive.cpp | 297cd03aa9de1c1e4c3742433e023cbeff888392 | [] | no_license | nur-alam/Problem-Solving | 4fae30499b5dd802854b7efa0b702b3f173fa236 | b0db93d597142590010b60bfa2054409a6ca6754 | refs/heads/master | 2021-01-13T11:10:06.766089 | 2019-01-16T12:01:52 | 2019-01-16T12:01:52 | 77,365,261 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 271 | cpp | recursive.cpp | #include<bits/stdc++.h>
using namespace std;
void mysubstr(char str[], int low, int high)
{
if(low<=high){
cout << str[low];
mysubstr(str, low+1, high);
}
}
int main(){
char str[] = "geeksforgeeks";
mysubstr(str,1,3);
return 0;
}
|
4759bc6b384457f84a28b043c050f78905ae8114 | 513aa0c4f7b10383eb76a48972e225b227016249 | /CODEBLOCKS/chefnrectarray.cpp | 79987fcc94ee00cd3c4cff745e56a9b01b9c72ce | [] | no_license | diksha1996/mycodes | d83ff0a773ff9ecb2dd80ec3ec5da86457899439 | 016cbb92abc4bf625d6b6c652b05215b740515df | refs/heads/master | 2020-12-31T00:41:53.891042 | 2017-02-01T16:21:10 | 2017-02-01T16:21:10 | 80,544,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 997 | cpp | chefnrectarray.cpp | #include <bits/stdc++.h>
#define ll long long
#define maxn 100005
#define slld(t) scanf("%lld",&t)
#define sd(t) scanf("%d",&t)
#define pd(t) printf("%d\n",t)
#define plld(t) printf("%lld\n",t)
#define foll(i,n) for(long long i=0;i<n;i++)
#define fo(i,n) for(int i=0;i<n;i++)
#define PI 3.14159265
int arr[10000][10000];... |
4dd5ae047afc243a7c64ffd32c2448ddc8bc2bd3 | 7afbd354522a7ccf234d9c74c75a1915925f9c06 | /makai/AcquisitionBroker/src/DataHandler.cc | a6c3020a77932ef3a1c7b3d40275f76f05615f71 | [] | no_license | vinipletsch/opq | 70209cb61428cf495db0c13812036f69be4f981a | 0795f6140bc93c0a74d8ac788bdea547428517b5 | refs/heads/master | 2020-03-29T23:42:54.418212 | 2018-09-26T00:41:41 | 2018-09-26T00:41:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,899 | cc | DataHandler.cc | #include <zmqpp/socket.hpp>
#include <zmqpp/message.hpp>
#include "DataHandler.h"
#include "MongoDriver.h"
#include "util.h"
#include <syslog.h>
#include "opq.pb.h"
using namespace std;
DataHandler::DataHandler(Config &c, zmqpp::context &ctx) : _ctx(ctx), _config(c) {
}
void DataHandler::handle_data_loop() {
... |
72c7977cc1c938b122d9b67a5eb51eb05a91dfaa | e68c1f9134b44ddea144f7efa7523076f3f12d3a | /FinalCode/Barbarian_Male_1HT_Attack.cpp | af512b86f936f18cb8657bac83de1d08acc3478a | [] | no_license | iso5930/Direct-3D-Team-Portfolio | 4ac710ede0c9176702595cba5579af42887611cf | 84e64eb4e91c7e5b4aed77212cd08cfee038fcd3 | refs/heads/master | 2021-08-23T08:15:00.128591 | 2017-12-04T06:14:39 | 2017-12-04T06:14:39 | 112,998,717 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 607 | cpp | Barbarian_Male_1HT_Attack.cpp | #include "StdAfx.h"
#include "Barbarian_Male_1HT_Attack.h"
CBarbarian_Male_1HT_Attack::CBarbarian_Male_1HT_Attack(void)
{
m_eStateType = STATE_TYPE_BARBARIAN_MALE_1HT_ATTACK;
}
CBarbarian_Male_1HT_Attack::~CBarbarian_Male_1HT_Attack(void)
{
}
void CBarbarian_Male_1HT_Attack::Initialize()
{
CPlayerState::Initialize... |
ce5d0256b64bc67a538cf31a5839ead33fefd636 | f011cb91d1cc5ef05ab01bed33e7b22c518ad92e | /src/jni/FbxColor.cpp | 2ae478626b90d3c3557058538d3058afb0c21200 | [] | no_license | aerror2/FbxsdkJNI | f105681a779c6a2487e110d9fac5309b4fa608ef | d1886e4bdcfefbe2cb6af0d539d92c70bd277b6c | refs/heads/master | 2021-01-20T20:10:44.740121 | 2017-03-29T18:10:30 | 2017-03-29T18:10:30 | 64,756,206 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,925 | cpp | FbxColor.cpp | //copyright by aerror 2016
#include <jni.h>
#include <fbxsdk.h>
#include "JNILocalConverter.h"
/// FbxColor ()
extern "C" JNIEXPORT jlong JNICALL Java_fbxsdk_FbxColor_meCreate(JNIEnv * __env, jclass __jc)
{
JNILocalConverter _lcvt(__env,__jc);
jlong ret=(jlong)_lcvt.c2j_obj_pt<jlong, FbxColor>(
new FbxColor... |
095a5f5a80eaade3d9a716fc24c10df6367802da | db6f3e6486ad8367c62163a4f124da185a64ab5d | /include/retdec/cpdetect/cptypes.h | 40abc4316dc2850da659dcaeb51843df1a3ed9a3 | [
"MIT",
"Zlib",
"JSON",
"LicenseRef-scancode-unknown-license-reference",
"MPL-2.0",
"BSD-3-Clause",
"GPL-2.0-only",
"NCSA",
"WTFPL",
"BSL-1.0",
"LicenseRef-scancode-proprietary-license",
"Apache-2.0"
] | permissive | avast/retdec | c199854e06454a0e41f5af046ba6f5b9bfaaa4b4 | b9791c884ad8f5b1c1c7f85c88301316010bc6f2 | refs/heads/master | 2023-08-31T16:03:49.626430 | 2023-08-07T08:15:07 | 2023-08-14T14:09:09 | 113,967,646 | 3,111 | 483 | MIT | 2023-08-17T05:02:35 | 2017-12-12T09:04:24 | C++ | UTF-8 | C++ | false | false | 6,364 | h | cptypes.h | /**
* @file include/retdec/cpdetect/cptypes.h
* @brief cpdetectl types and structures.
* @copyright (c) 2017 Avast Software, licensed under the MIT license
*/
#ifndef RETDEC_CPDETECT_CPTYPES_H
#define RETDEC_CPDETECT_CPTYPES_H
#include <limits>
#include <vector>
#include "retdec/cpdetect/settings.h"
#include "re... |
454c50efb1589c6265c9dc9b6526e947601e427b | dd53cfa625675dafe268e9ec3fbe2d8f29d3e4a1 | /XiAnalyzer/XiMassPt/plugins/SealModule.cc | 31418dbca715c45366cf136444da88884d83db24 | [] | no_license | BenjaminTran/XI_CMSSW8_0_24 | 8b8c6f857d722b7d3ef80f6567a2057f366b3bcd | cc3ef866684701d68c73e841241ec20a0c52f096 | refs/heads/master | 2021-01-21T10:55:23.275112 | 2017-08-03T16:29:42 | 2017-08-03T16:29:42 | 91,714,492 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 189 | cc | SealModule.cc | #include "FWCore/PluginManager/interface/ModuleDef.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "XiAnalyzer/XiMassPt/interface/XiMassPt.h"
DEFINE_FWK_MODULE(XiMassPt);
|
85823b29c006c11946bb54c07970ead1cc2e8019 | c1bdc9e035765da0025919ad38a45e0bc0aafc80 | /Source/MultiverseLegends/Private/Attributes/OffensiveAttributeSet.cpp | 583b9ed37353ea85b5d499ba46b3fd06e3300f48 | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | yasinallahdev/multiverse-legends | b2fb969ff579738b9b3593891b0bd5ecac195ba5 | 62b1562078b5c4882b581088b51ec153ec81dd2d | refs/heads/master | 2020-12-04T13:31:45.610780 | 2020-06-26T20:54:13 | 2020-06-26T20:54:13 | 231,780,945 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,801 | cpp | OffensiveAttributeSet.cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "OffensiveAttributeSet.h"
#include "UnrealNetwork.h"
void UOffensiveAttributeSet::GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& OutLifetimeProps) const {
DOREPLIFETIME_CONDITION_NOTIFY(UOffensiveAttributeSet, BaseAtt... |
20cbe74aa2ccc12315ac63e2ef8f51f107706d70 | 252d885e6aa69d67ab76ca5c17785a41094d1cdd | /SFML Tries/Main.cpp | 5ddcc84bea86dd7540a3979f604436dd89d9b0c2 | [] | no_license | AlexisAubineau/Project-Shooter | 913d8fb0e16057c27ef7425daf02aebd2aa12983 | b97ab43fd55e4a2426460233d60c1a89e2683d0c | refs/heads/master | 2021-05-22T15:28:19.748283 | 2020-04-19T09:46:37 | 2020-04-19T09:46:37 | 252,976,870 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 155 | cpp | Main.cpp | // Let's start here as our entry point ok?
//
#include "stdafx.h"
#include "Game.h"
int _tmain(int argc, _TCHAR* argv[])
{
Game::Start();
return 0;
}
|
f7af5985551c8bb6faedcde08b3ea27afa7b9f77 | 0efb71923c02367a1194a9b47779e8def49a7b9f | /Oblig1/les/1.85/phi | 39a3831ee05f4df3997e39ac4379e55e2479a731 | [] | no_license | andergsv/blandet | bbff505e8663c7547b5412700f51e3f42f088d78 | f648b164ea066c918e297001a8049dd5e6f786f9 | refs/heads/master | 2021-01-17T13:23:44.372215 | 2016-06-14T21:32:00 | 2016-06-14T21:32:00 | 41,495,450 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 214,294 | phi | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
... | |
a53bb17866e57dad70684b26ac85bee6edb02876 | c1e3fcbe701691d23c16bc5e4cf72730bb1c35c1 | /pkg/CppCommon/include/common/uint256.inl | f3a58163eb903cc21bbf950ed792c5fdf044c9d4 | [
"MIT"
] | permissive | Shuooang/Winpache | a3d4c475140767a6490008a6fa4b44b5880d601d | d4d9aa6d839a2908269be8d61acba18bcf738f3f | refs/heads/main | 2023-07-18T11:24:52.017248 | 2021-09-08T17:31:16 | 2021-09-08T17:31:16 | 377,214,088 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 6,522 | inl | uint256.inl | /*!
\file uint256.inl
\brief Unsigned 256-bit integer type inline implementation
\author Ivan Shynkarenka
\date 11.10.2017
\copyright MIT License
*/
namespace CppCommon {
inline uint256_t::uint256_t() noexcept
: _upper(0), _lower(0)
{
}
inline uint256_t::uint256_t(int8_t value) noexcept
:... |
f029c01d1b2565159b9286675cd4b489c957451a | 996e3a87e3cb335718ffb1be9b56ee241b067d0f | /src/animation.cpp | 4f6cca56c350cfc46f15fb2a0775d765374a2f51 | [] | no_license | claudiojrt/sdl_tutorial | c125d730467758f0ee9e7ee6c7af24a871aeef0a | 2bddc0712399bacf234d49a8bc9784bf972b6444 | refs/heads/master | 2020-04-15T05:56:57.542438 | 2019-01-09T00:14:12 | 2019-01-09T00:14:12 | 164,442,876 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,269 | cpp | animation.cpp | #include <animation.hpp>
void Animation::loadFromFile(SDL_Renderer* renderer, std::string path, int frames, int animationSpeedVSync)
{
mAnimationSpeedVSync = animationSpeedVSync;
mFrames = frames;
mSpritesheet.loadFromFile(renderer, path.c_str());
mWidth = mSpritesheet.getWidth() / mFrames;
mHeight =... |
835dd0d773ae783430594410d7a292ad199fb761 | 243fb0873ae258e3236ee23b37848405d450ce8c | /include/mystd/meta/max.h | 41f9f89a15810213dfe96cd09c7bad3f6c647762 | [] | no_license | TiagoRabello/mystd | 27261dbc33bacb02503b7a4646f5635b829b8a65 | 021e7abd5676b3345bd92de8867e8ae765e7491b | refs/heads/master | 2021-01-18T14:58:40.430747 | 2014-08-09T04:47:45 | 2014-08-09T04:47:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,058 | h | max.h | #ifndef _MYSTD_META_MAX
#define _MYSTD_META_MAX
#include <type_traits> // for std::conditional and std::integral_constant
namespace mystd
{
namespace meta
{
///////////////////////////////////////////////////////////////////////////
/// Obtains the maximum value among a list of compile-time numbers.
/... |
e501484b8a69ca8c767a637b58bfa0d580fa6e17 | 432414537039f2bfaf3e34cc0e16171b678ba163 | /src/pp6Utils/ParticleInfo.hpp | 5b4013b6760b8c569527bedaf0a19bbda0a30492 | [] | no_license | dpohanlon/pp6Calculator | 310b8b17890096f80543624e1989fe963499f148 | 4e1f94da10c6a00dda8e08a4dc3436fff4e8fe63 | refs/heads/master | 2021-01-17T11:51:40.468277 | 2014-03-27T17:58:40 | 2014-03-27T17:58:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 705 | hpp | ParticleInfo.hpp | #ifndef PARTICLEINFO_HPP
#define PARTICLEINFO_HPP
#include <map>
#include "MyFileReader.hpp"
class ParticleInfo
{
public:
ParticleInfo(std::string fileName);
~ParticleInfo(void);
int getPDGCode(std::string name);
int getCharge(int pdg);
std::string getName(int pdg);
double getMassMeV(in... |
19d187c7c6c152559983a703dff11c97062ef060 | a411a55762de11dc2c9d913ff33d2f1477ac02cf | /lte/gateway/c/core/oai/tasks/nas/ies/ShortMac.hpp | 3f8b51f66fdb03133829b7c862571c247fd6c12e | [
"BSD-3-Clause"
] | permissive | magma/magma | 0dc48c1513d9968bd05fb7589f302c192b7c0f94 | 0e1d895dfe625681229e181fbc2dbad83e13c5cb | refs/heads/master | 2023-09-04T09:31:56.140395 | 2023-08-29T13:54:49 | 2023-08-29T13:54:49 | 170,803,235 | 1,219 | 525 | NOASSERTION | 2023-09-07T17:45:42 | 2019-02-15T04:46:24 | C++ | UTF-8 | C++ | false | false | 1,287 | hpp | ShortMac.hpp | /*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the terms found in... |
7ab025316143a20486e5d45ba9114a43f13dd1b3 | ef8f1138ed718b594f898cfd9448e5fd8d64c615 | /week3/6 Maximum Number of Prizes/main.cpp | bc3741161431ab1397d15148deab2f30372c07b7 | [] | no_license | AhmedRamadan6/Coursera-Algorithmic-Toolbox | 0f861cacd03070b02e382df93d7319e219744313 | e1a23fd12850f5af079da30d7ed72cc6101d529c | refs/heads/master | 2021-04-24T06:00:31.678778 | 2020-04-05T13:22:13 | 2020-04-05T13:22:13 | 250,088,919 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 582 | cpp | main.cpp | #include <iostream>
#include <vector>
using std::vector;
vector<int> optimal_summands(int n) {
vector<int> summands;
for(int i=1;i<=n;i++)
{
n-=i;
if(n<=i)
{
summands.push_back(i+n);
break;
}
else
summands.push_back(i);
... |
b65d3eae18ad03e2375266ee2d307692e73eeee3 | 6280d52ececb26fcbfdcfe906a6d02324363225e | /Marlin-bugfix-2.0.x/Marlin-bugfix-2.0.x/Marlin/src/module/probe.h | 928eb43ab5fab6b0813dfa099fc2de9254efdd2d | [
"MIT",
"GPL-3.0-only",
"GPL-1.0-or-later"
] | permissive | SOliasS/Ender5plusSKRv1.3 | aaf4b8b225b40335b9185e1ee19f50eabf76b658 | a80ec20e0088fe615fc1f3c465469b43a63e6f73 | refs/heads/master | 2022-11-27T12:00:57.819603 | 2019-12-08T14:50:41 | 2019-12-08T14:50:41 | 224,746,129 | 0 | 0 | MIT | 2022-11-10T01:03:46 | 2019-11-28T23:54:42 | C++ | UTF-8 | C++ | false | false | 4,759 | h | probe.h | /**
* Marlin 3D Printer Firmware
* Copyright (c) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... |
c53c39ff1b0ce7266d28d319684ef1af51fb2655 | ed6ce53c235e0bc64c0b86052829c488e123cabf | /sorting/sort-0-1-2.cpp | abdce9c79446820a749700c4dde494b61dea806b | [
"MIT"
] | permissive | Strider-7/code | 6a2cf94407c0d004fb6fbcdcb3679779e40b1eb0 | e096c0d0633b53a07bf3f295cb3bd685b694d4ce | refs/heads/master | 2022-12-14T20:12:52.568623 | 2020-09-04T13:27:16 | 2020-09-04T13:27:16 | 292,848,664 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 756 | cpp | sort-0-1-2.cpp | #include <bits/stdc++.h>
using namespace std;
// group 0,1,2 together
void sort(int arr[], int n)
{
int l = 0, mid = 0, h = n - 1;
while (mid <= h)
{
switch (arr[mid])
{
case 0:
swap(arr[l], arr[mid]);
l++;
mid++;
brea... |
9a3a52b6343170afe9f9f5e5b70fa5b4fd29e0c8 | ec45ecf96a51caef68fa3c73823ab160f46066bf | /DEngine/Math/simdmath.h | a9e6ae8a5337f3b4c8f1a5e4ccd624c4d6e21f4e | [
"MIT"
] | permissive | norrischiu/DEngine | 1a9761da1fad12fb697e918b06abc63f7cc9bfa2 | acea553f110b8d10fc7386ff0941b84f6d7ebce7 | refs/heads/master | 2021-01-21T16:53:10.936347 | 2018-06-23T09:51:11 | 2018-06-23T09:51:11 | 39,889,195 | 10 | 1 | null | 2018-06-23T09:51:11 | 2015-07-29T11:08:23 | C++ | UTF-8 | C++ | false | false | 24,284 | h | simdmath.h | // simdmath.h: Maths Libraray, defining vector, matrix and quaternion, with Intel SSE4.1 extensions and MSVC++
#ifndef SIMDMATH_H_
#define SIMDMATH_H_
#include <xmmintrin.h> // intrinics
#include <smmintrin.h> // intrinics
#include <math.h> // sin cos
#include "Memory\MemoryManager.h"
namespace DE
{
class SQT;
#def... |
200ea339432366112d740a0950e291f9065a70e9 | f42f51cddb2315bb8c1eb204cd0896273ab37b71 | /src/common/Profile.cpp | 3233e80c91a88435541038a943893716295e02b8 | [
"MIT"
] | permissive | bangush/FBXViewer-1 | 16cb054f701cfbb365d44510b4334a3ffa8f1a78 | f4ad7ba02e4a48737db58269e1673851ea4d09da | refs/heads/master | 2021-06-19T04:30:10.997176 | 2017-05-03T13:25:59 | 2017-05-03T13:25:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 700 | cpp | Profile.cpp | #include "stdafx.h"
#include "Windows.h"
#include "Profile.h"
Profile* Profile::Instance = new Profile();
void Profile::Start(const char* name)
{
QueryPerformanceFrequency(&Instance->Frequency);
QueryPerformanceCounter(&Instance->StartingTime);
Instance->name = name;
}
void Profile::End()
{
QueryP... |
ae7bc39937eb4adc533534ba2b921ebf82544e13 | 19a1f79e7a3ba00b96de4303c5a21f863bbd96fa | /strawberry.cpp | 03d6f6038fca7b1891c470d09c06ed5cc36e6c74 | [] | no_license | zhouqihao222/TianChiShe | 0cb0ba8cb5331624044fe2b527b058337a947173 | 5f585b62255d13a7b9da7f327faa88fca2a7bda1 | refs/heads/master | 2023-03-12T15:56:56.785121 | 2021-03-01T08:41:32 | 2021-03-01T08:41:32 | 342,475,009 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 442 | cpp | strawberry.cpp | #include "strawberry.h"
#include"wall.h"
strawberry::strawberry()
{
is_alive=false;
}
void strawberry::createstrawberry()
{
is_alive=true;
qsrand(int(time(0)));
thestrawberry=(QRectF(wall::thestartX+30+qrand()%((wall::w-50)/30)*20,wall::thestartY+80+qrand()%((wall::h-50)/30)*20,20,20));... |
d7f1a36321843928468868a478ddea879373f0b4 | 530da0d50c693098df38369231b191f57b520553 | /Gaea/cpp/util/test/RandomTest.cpp | 143ad1c71b05025e798c657b200c0199a2296e42 | [] | no_license | ycgsb/Gaea | 704c22ff93e61d181d601f4ea5090c267af3c46f | d990884b8bd1b9bcc40692fd2c7c3baf99eaec91 | refs/heads/master | 2021-03-12T20:19:34.907034 | 2014-03-18T03:38:06 | 2014-03-18T03:38:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,273 | cpp | RandomTest.cpp | #include "RandomTest.h"
#include "../Random.h"
#include "../../math/Math.h"
#include <vector>
namespace ycg {
void RandomTest::run() {
testUniformInt();
testUniformDouble();
testGaussStandard();
testGauss();
}
void RandomTest::testUniformInt() {
printf("test uniform int:\n");
Random& rnd = Random::instance();
... |
15dbfd97f3807aac8dbfb765bc1ce72d62e6ed3e | 857d2b227ef70d695887104edeb38e8994b22093 | /src/Sound.h | b906d98c692c0a7cf62e27d7563c8d76f713f4b4 | [] | no_license | JAGormley/Wandering | a061f160ed89b6a9c6e61ac120a1f85f766ca452 | 9de91f44f7096415d6cb82fdc6c6abc6b88333d2 | refs/heads/master | 2016-08-12T20:54:11.815774 | 2015-07-02T23:55:39 | 2015-07-02T23:55:39 | 35,998,353 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 446 | h | Sound.h | //
// Sound.h
// Wandering2
//
// Created by J Andrew Gormley on 2015-06-25.
//
//
#ifndef __Wandering2__Sound__
#define __Wandering2__Sound__
#include <stdio.h>
#include "ofFmodSoundPlayer.h"
#endif /* defined(__Wandering2__Sound__) */
class Sound {
public:
void loadMusic();
void playMusic();
void... |
d3f7d8823c385d018c32dd17748cc2f8e6d44d54 | e45a6601116a9e3dc10d9799e1e9a0d980760f26 | /AStar.cpp | 5fecb42715a1988572d8968d0f86117295a89ce6 | [] | no_license | Zedidle/MyAlgorithms | ba7bbc7163e28c85dc96c9d70e6ededab0fc7717 | d84deed8b705a41297566bc1c317e1920347624e | refs/heads/master | 2023-03-02T21:33:35.780663 | 2021-02-17T09:03:59 | 2021-02-17T09:03:59 | 312,981,093 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,936 | cpp | AStar.cpp | #include "AStar.h"
#include "BTree.h"
ASart::ASart(int row, int line) :Row(row), Line(line)
{
int PlainFactor = 10; // 平原系数:数值越大,遇到障碍(不可通过)的概率越低
int CostFactor = 5; // 耗费系数;数值越大,所在区域平均每步所耗费的体力越大
for (int i = 0; i < Row; ++i)
{
vector<Dot*> m;
for (int j = 0; j < Line; ++j)
{
int cost;
if ( j == Lin... |
68a8d02d81c961ef6d9acfad5d609b9be1cce783 | 7c236ec3a9b842098a3af722b332e6496d9ee971 | /CodingInterviews/63. 股票的最大利润.cpp | ba7410258e85a5b7c7dae97ed1e648e1cda28a81 | [
"MIT"
] | permissive | M3stark/LeetCoding | 3db52aafc6e051ea0c958b8af1b7d7aec23b7958 | da0edbf16830e0b9da89893d0a90539d2e738477 | refs/heads/main | 2023-08-31T00:08:48.355101 | 2021-10-01T14:59:08 | 2021-10-01T14:59:08 | 361,074,595 | 9 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,427 | cpp | 63. 股票的最大利润.cpp | /*
剑指 Offer 63. 股票的最大利润
假设把某股票的价格按照时间先后顺序存储在数组中,请问买卖该股票一次可能获得的最大利润是多少?
难度:中等
https://leetcode-cn.com/problems/gu-piao-de-zui-da-li-run-lcof/
*/
#include <iostream>
#include <vector>
#include <algorithm>
#include <limits.h> // INT_MAX头文件
using namespace std;
class Solution
{
public:
int maxProfit(... |
d295c16c1e3e4d8a65b01b6f477b322ac5378c1a | 4bad21bf381b261f468538729e22877261af7775 | /test/app.cpp | dfda93611389b27a3a8757ebf5cdc7c5fbabe805 | [] | no_license | LootMaker/Qt_Quwi_Test | 41feabcbfdc83509d43349c6ea6ef8ed2858eef3 | 3edec136aa5de2063a9fcdd870fdcea7d53b43f1 | refs/heads/main | 2023-08-18T05:23:31.745289 | 2020-10-16T09:01:43 | 2020-10-16T09:01:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 341 | cpp | app.cpp | #include "app.h"
App *g_app;
App::App(int &argc, char **argv)
:QApplication(argc, argv)
{
g_app = this;
}
void App::showLoginDlg() {
mainWnd.close();
if (loginDlg.exec() == QDialog::Accepted) {
showMainWnd();
} else {
quit();
}
}
void App::showMainWnd() {
mainWnd.show();
... |
5627511ec2c79bef00f0dc16630f77870902df05 | af19e490c4445baeb40a02e51c4c15cce1e8686e | /247. Strobogrammatic Number II.cpp | d227eca0a89f26f509896526e67ca3ff4b6bdbcd | [] | no_license | daviscoder/Leetcode_2016_Pass1 | 5ddefefa9178cf67c4e24c14a5ea69df86325085 | bc1c2196f930a4505317e828eb64da63039ec263 | refs/heads/master | 2021-01-24T22:07:04.143664 | 2017-05-05T06:08:21 | 2017-05-05T06:08:21 | 66,132,727 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 826 | cpp | 247. Strobogrammatic Number II.cpp | class Solution {
public:
vector<string> helper (int m, int n) {
vector<string> res;
if (n == 0) {
res.push_back ("");
return res;
}
if (n == 1) {
res.push_back ("0");
res.push_back ("1");
res.push_back ("8");
ret... |
62119e0e4e840ac9a53f0f52e1a7ed4c653a7da0 | e7cab3ed773feaaf42c4aff412ee933096043474 | /D3D12_Water/D3D12_Water/D3D.h | ad35f6f537b58356db13b4d249d7863b54f4e844 | [] | no_license | ma0724/DirectX12_water_test | 659467ef4d2bb643576e21fb3a842c33e863a83e | e01db3e238d8ba6fe45802b5d6cf930116dbcde7 | refs/heads/master | 2021-09-23T06:24:30.377167 | 2018-06-15T03:38:47 | 2018-06-15T03:38:47 | 137,435,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,582 | h | D3D.h | #pragma once
#include <Windows.h>
#include <d3d12.h>
#include <d3d12shader.h>
#include <dxgi1_4.h>
#include <d3dcompiler.h>
#include <DirectXMath.h>
#include <wrl/client.h>
#include <vector>
#include <memory>
#pragma comment(lib, "d3dcompiler.lib")
#pragma comment(lib,"dxgi.lib")
#pragma comment(lib,"d3d12.lib")
c... |
581b4498a064f58a7241f8542d5178025545dd66 | 328386f90e699a950a4bcf925356cad1800b0799 | /THSocketProxyServer.h | e0943077ef3233021187b0f2f9cb7176e8d5f13e | [
"Apache-2.0"
] | permissive | tansoft/tan.h | a39713e5adbbeef35ff7099e7d345c9c9c91b1cc | 3380b71b1ed4bf21d2da6fc5bbfc7ea6c4a127d1 | refs/heads/main | 2023-08-16T01:45:31.735941 | 2021-10-05T10:46:43 | 2021-10-05T10:46:43 | 413,724,892 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 6,595 | h | THSocketProxyServer.h | #pragma once
#include <THRawSocketModel.h>
class ITHProxyEvent{
public:
//only tcp
virtual void OnConnect(SOCKET local,SOCKET peer)=0;
virtual void OnData(SOCKET local,SOCKET peer,const char* buf,unsigned int len,int direction)=0;
virtual void OnClose(SOCKET local,SOCKET peer,int direction)=0;
};
#de... |
efc66c8d9e355e3a3ff6c7483ae168d7a32b1e2c | b1ed6a99a59904988f18605855a43703afc10ffb | /tags/reactos-import/reactos/base/shell/explorer/shell/webchild.h | 4793a77c9f70a2aeef7872f9c92690e8a832e67e | [] | no_license | svn2github/ros-explorer | 0831cd87485b8397cd2c012b930779ad2af5b643 | 06ea4a5d06acf0ee8481c519e76217fd02409ba7 | refs/heads/master | 2021-01-10T03:09:27.915688 | 2013-01-01T10:57:30 | 2013-01-01T10:57:30 | 50,790,636 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 25,725 | h | webchild.h | /*
* Copyright 2004, 2005 Martin Fuchs
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This libra... |
beb55a38ebe07e6f84038afc78ddac9a94163623 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /content/browser/appcache/appcache_url_loader_request.h | 191b860ef4d60f489340165465ded4cfde9bc25d | [
"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,243 | h | appcache_url_loader_request.h | // Copyright (c) 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_BROWSER_APPCACHE_APPCACHE_URL_LOADER_REQUEST_H_
#define CONTENT_BROWSER_APPCACHE_APPCACHE_URL_LOADER_REQUEST_H_
#include "base/memory... |
242c43ce5a0113c68cbc9e2db7d9207979e9bde6 | ba2c85d64fb5a979be13b7eb731ce082d0ecaa02 | /SigmaCode2016/src/AutoDrive.cpp | e9a5e5d827b330647be20be8a5f37bff5151127e | [] | no_license | SigmaCats-108/SigmaCode-2016 | d8ab440de3812e26f6a916cca41b1bce772246f9 | f04e36505f2409fe97d05e32ecfa3ad5d5ed4b42 | refs/heads/master | 2020-03-28T01:44:12.916641 | 2016-02-18T19:43:50 | 2016-02-18T19:43:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,671 | cpp | AutoDrive.cpp | /*
* AutoDrive.cpp
*
* Created on: Feb 15, 2016
* Author: Andrew
*/
#include <AutoDrive.h>
AutoDrive::AutoDrive(SigmaDrive* drive) {
drive108 = drive;
}
AutoDrive::~AutoDrive(){};
void AutoDrive::driveStraight(double d, double t, bool stopWhenDone){
//currentSpeed = drive108.getSpeed();
... |
d7ec5a1dc083ecf73f9dc3a9e4073facef262bc3 | 674f269f6ca90298d22452d24656cedb45f1fc95 | /plugins/KeyboardGUIPlugin.hh | e4063e842ed9f8d0c2da1faafdb85a4dc2718b92 | [
"Apache-2.0"
] | permissive | mingfeisun/gazebo | f4187a5214cafd3fab6921e3cc62f4dadddf14ea | f3eae789c738f040b8fb27c2dc16dc4c06f2495c | refs/heads/master | 2021-07-07T05:19:48.545813 | 2019-01-11T12:35:31 | 2019-01-11T12:35:31 | 132,331,071 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,896 | hh | KeyboardGUIPlugin.hh | /*
* Copyright (C) 2016 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... |
071724dfedb997e973c4dc205e4de3ec0b2e6c10 | bd1cbd63c59d1f0c7fe11f7284b89f778c54f905 | /prx_external/parallel_pqp/cuda_errorcheck.h | d033acfe646090540f722a58645b474d13d18885 | [] | no_license | warehouse-picking-automation-challenges/rutgers_arm | e40019bec4b00838909c593466f8d3af320752fa | 647f5f7a3a87ad5fdc5dae04d61fc252885199c9 | refs/heads/master | 2021-06-03T20:08:16.371078 | 2016-08-26T16:37:56 | 2016-08-26T16:37:56 | 65,869,656 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,202 | h | cuda_errorcheck.h | #ifndef CUDA_ERROR_CHECK_H
#define CUDA_ERROR_CHECK_H
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#define CUDA_ERROR_CHECK
#define CUDA_SAFE_CALL( err ) __cudaSafeCall( err, __FILE__, __LINE__ )
#define CUDA_CHECK_ERROR() __cudaCheckError( __FILE__, __LINE__ )
inline void __cudaSafeCall( cu... |
aa0116398ca68e069b6e3be402a6a6f0dd88d690 | 2d35b36c831db8a4f75f60f1e3ab9ac0d538dda2 | /leetcode/done/l389.cc | 386f2135815e3ac85579c66ec2515126495d1295 | [] | no_license | whutaihejin/repo | 55ab38f29420e9674ae3f8e84d7c1ea0a085fb40 | 33137d826ae24dcd0b0552a4b44b7aae1c25a6e7 | refs/heads/master | 2022-05-02T16:34:13.302691 | 2022-04-16T04:40:01 | 2022-04-16T04:40:01 | 98,664,795 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 560 | cc | l389.cc | #include <iostream>
#include <gtest/gtest.h>
using namespace std;
namespace {
char findTheDifference(string s, string t) {
size_t i = 0, limit = s.size() < t.size() ? s.size() : t.size();
char val = 0;
for (; i < limit; ++i) {
val ^= s[i];
val ^= t[i];
}
if (i < s.size()) val ^= s[i... |
50d239524bc7f82a77e8f6ba7b117a4e1933bdbb | 86ed52e38cd8e1dc49e9535468dcac95ba07823c | /JavaScript/Thực Hành/Đồ án đạp gạch/HoTanDat_0306171336_17D/Ai_La_Trieu_Phu/Ai_La_Trieu_Phu/CauHoi.h | d1ac178465d4a9b42bd1744bc764681e2d55bbd6 | [] | no_license | khuongsatou/SlidePrograming | cffe781ba9cc44b8fb73dec4a05b98b71082e4da | 30170a7e8588bffb9ca75bfe9050a3f491ef0d2d | refs/heads/master | 2020-08-28T11:51:05.613693 | 2019-10-26T10:12:28 | 2019-10-26T10:12:28 | 217,688,342 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 497 | h | CauHoi.h | #pragma once
#include <iostream>
using namespace std;
class CauHoi
{
private:
string cauHoi;
string dapAn1;
string dapAn2;
string dapAn3;
string dapAn4;
int ketQua;
bool daTraLoi;
public:
CauHoi();
CauHoi(string cauhoi, string dapan1, string dapan2, string dapan3, string dapan4, int ketqua);
~CauHoi();
public... |
3fac0a408d2c940243f7289db34db0757b512172 | be2aba77c0292218f518b1df4ba42e178dc146f9 | /DemolisherWeapon/Graphic/Shader/ShaderUtil.cpp | 76a06804b13c25c80ddbf3b4849e52136dc9c541 | [] | no_license | ShanzhongXinzhijie/DemolisherWeapon | 52f52199f5cb452791883168b2acf6730241f333 | d3fc64a81282baeed31ff619fa194272f4d76712 | refs/heads/master | 2021-06-13T15:33:03.716910 | 2021-02-24T03:07:05 | 2021-02-24T03:07:05 | 156,185,052 | 2 | 0 | null | 2019-03-07T01:16:45 | 2018-11-05T08:34:14 | C++ | SHIFT_JIS | C++ | false | false | 536 | cpp | ShaderUtil.cpp | #include "DWstdafx.h"
#include "ShaderUtil.h"
namespace DemolisherWeapon {
//定数バッファの作成
void ShaderUtil::CreateConstantBuffer(int size, ID3D11Buffer** buffer) {
int bufferSize = size;
D3D11_BUFFER_DESC bufferDesc;
ZeroMemory(&bufferDesc, sizeof(bufferDesc));
bufferDesc.Usage = D3D11_USAGE_DEFAULT;
bufferDes... |
f53efd923f13da8c04da0bacce860c1fbcf69edb | 1ef4c143df27402ab793bcfc4b5eda40216b0560 | /Traveller's app/user.h | adac8d20cb332802bad2d53ba0e6e83b82faeb05 | [] | no_license | martinikolaev00/Traveller-s-app | ac820bdbeb59cd6903a50b49a451d8c8e7abac01 | 4850b0b38c5ff87ec30b6ed26ad7acb5100e6477 | refs/heads/master | 2022-10-04T07:32:00.167679 | 2020-06-07T18:35:51 | 2020-06-07T18:35:51 | 270,320,092 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,443 | h | user.h | #pragma once
#include<fstream>
#include<iostream>
static int base = 200;
/// a short class to help us create login profiles
///@param username - char* for name
///@param password - char* for password
///@param email - char* for email
class user
{
char* username;
char* password;
char* email;
public:
/// simple contr... |
968cec824eb0ef9cadb9630a84123d4493f420e7 | 6fd072757f7f9ceeff1832513b7393bcef91d4dc | /framework/tarscpp/util/include/util/tc_thread_mutex.h | 3ecb2e08d2d71c3e55bf5036275f511c6d3d0a7e | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | hfcrwx/Tars-v2.4.20 | 2d6a5f84df434c293cef301d978d38f691d9227f | b0782b3fad556582470cddaa4416874126bd105c | refs/heads/master | 2023-07-16T06:02:01.278347 | 2021-08-28T16:08:40 | 2021-08-28T16:08:40 | 400,194,431 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,582 | h | tc_thread_mutex.h | /**
* Tencent is pleased to support the open source community by making Tars
* available.
*
* Copyright (C) 2016THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License"); you may not use this
* file except in compliance with the License. You may obtain ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.