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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
adeded975ff151c87f18bd528883a79069535a66 | c1209bd7b2d035097703f945fd84795c66ead643 | /inc/Parser.hpp | 7fdb5797bdc51cf9e88a5c0b22e176d8204143a3 | [] | no_license | MarryMilkman/anteniti_client_server | 0dced713b6c8d8ab10e27bd1506b0f182ee45deb | 5559c1a7bb595c5e15691a45093f05e877958826 | refs/heads/master | 2022-03-16T21:57:18.227010 | 2019-11-01T12:09:51 | 2019-11-01T12:09:51 | 204,306,317 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 639 | hpp | Parser.hpp | #ifndef PARSER
#define PARSER
#include "lib.h"
class Parser {
public:
Parser();
~Parser();
void pars_and_add_to_answer(std::string message);
std::string get_answer_for_cloud();
static std::vector<std::string> custom_split(std::string str, std::string delim);
static std::vector<s... |
e52061846735f9dfe3adb912d0d55bd7e28872e1 | 7536f5d95e5094b20d360a3a6427acbb2c1cd368 | /cds/procadjust_cds.h | a14ecaf559edc98f96693beb45484f40594e5c8f | [] | no_license | ebadusb/Trima_12.4 | 6804354151afd5d70014ccea3ced73b054cd2eea | 8e3d59f14f30b1b5bd1c3696703c2a024c2e4c5f | refs/heads/master | 2022-11-12T19:30:35.576215 | 2019-08-19T19:16:23 | 2019-08-19T19:16:23 | 274,995,217 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,475 | h | procadjust_cds.h | #ifndef __PROCADJUST_CDS
#define __PROCADJUST_CDS
#include <vxworks.h> // Needed for CPU-based compiler directives in header
#include "adjust.h"
#include "datastore.h"
#include "run_defs.h"
#ifndef WIN32
#pragma interface
#endif
class ProcAdjustBar_CDS
: public MultWriteDataStore
{
public:
BaseElement<float> ... |
f91b898ac437e105893c7fb9b5048743ddc21a29 | d44de257f5a4e4d7b733ed31179d0d28e62c352d | /CourseWorkUser/ChartForm.cpp | 9939c3304285b24c6303c06936004e8471931fb4 | [] | no_license | ErnestoFolting/CourseWorkUserInterface | ec79404bd56fe981f4d0b50e2a449eaddba90acf | ab9d2c1e1f08afd8dbaf43b81fa9b925e1679552 | refs/heads/main | 2023-05-08T10:32:24.087294 | 2021-06-03T12:56:13 | 2021-06-03T12:56:13 | 371,508,741 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,132 | cpp | ChartForm.cpp | #include "ChartForm.h"
#include "MenuForm.h"
#include "Root.h"
#include <string>
using namespace std;
System::Void CourseWorkUser::ChartForm::button1_Click(System::Object^ sender, System::EventArgs^ e)
{
MenuForm^ form = gcnew MenuForm();
this->Hide();
form->Show();
}
System::Void CourseWorkUser::ChartForm... |
68ecc60859a1c8af500c5651c8d3430bdca765ed | 7e5be101928eb7ea43bc1a335d3475536f8a5bb2 | /2015 Training/11.22/K.cpp | fff26f374cbefff3afa55803d660cc9c1d226e37 | [] | no_license | TaoSama/ICPC-Code-Library | f94d4df0786a8a1c175da02de0a3033f9bd103ec | ec80ec66a94a5ea1d560c54fe08be0ecfcfc025e | refs/heads/master | 2020-04-04T06:19:21.023777 | 2018-11-05T18:22:32 | 2018-11-05T18:22:32 | 54,618,194 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,377 | cpp | K.cpp | //
// Created by TaoSama on 2015-11-22
// Copyright (c) 2015 TaoSama. All rights reserved.
//
//#pragma comment(linker, "/STACK:1024000000,1024000000")
#include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <map>
... |
60be0a948ad16fc69747cd6742d17717e23c4450 | 4fd13fae5c0c36357e34e0cbf0c4f0d389710255 | /Application.h | 8c898e249f6452605c31850a3ee47bcbe945c67f | [
"MIT"
] | permissive | jjzhang166/ModelViewer | c50affeceaef250d3fb9db651abca6e9bbf030e7 | 8b6277c2c8a9727d826414ec33f228bfbdb2635a | refs/heads/master | 2023-04-18T20:50:06.811282 | 2017-06-29T21:30:32 | 2017-06-29T21:30:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 964 | h | Application.h | #pragma once
#include <d3d11_1.h>
#include <cstdint>
#include <Windows.h>
class Application
{
public:
int32_t init();
int32_t run();
public:
LRESULT wnd_proc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
protected:
bool running;
HWND hWnd;
uint32_t bufferWidth;
uint32_t bufferHeight;
private... |
4805e5cedc8d166f49a9451b7c2f21dbfbcba098 | 6f7c4dd5942bf8406d31a2467c97712eb2702669 | /mapeditdialog.cpp | 7a5b5ec5c29129acccca0ca3e21173c86c4831fc | [] | no_license | shimizunochikara/RoombaController | e42c98e00f34503811428a5597d90ee2e0e22aa5 | 6589e6ec3aeca6fa84e33e89d1540a346eb1c943 | refs/heads/master | 2021-01-12T06:06:08.967019 | 2017-02-05T06:46:34 | 2017-02-05T06:46:34 | 77,300,109 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,575 | cpp | mapeditdialog.cpp | #include "mapeditdialog.h"
#include "ui_mapeditdialog.h"
#include <QDomDocument>
#include <QFile>
#include <QTextStream>
#include <QtCore>
#include <QDomNodeList>
#include <QTimer>
#include <QColor>
MapEditDialog::MapEditDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::MapEditDialog)
{
r... |
b545ffd79722fdbb9a579743557bf966a1e113b0 | 32440b53eb897b377a44b7838719b6a66f2283ef | /src/mobius/PhysActor.hpp | a3d6fcf5b1f234d5c3af28a180e0103604121ddb | [
"Zlib",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | madeso/lolball | 7f904900be5acb55ee37fca342ecb4cfe3dcd342 | 18d831efa9978a07808fcfa51a7cda4925e1ac14 | refs/heads/master | 2020-06-05T12:23:00.462002 | 2014-09-24T06:00:50 | 2014-09-24T06:00:50 | 24,402,678 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 963 | hpp | PhysActor.hpp | #ifndef PHYS_ACTOR_HPP
#define PHYS_ACTOR_HPP
#include <string>
#include "ode/ode.h"
#include "Actor.hpp"
class PhysActor : public Actor {
public:
PhysActor(const std::string& pName, const vec3& pPosition, const Quaternion& pRotation, dWorldID pWorld, dSpaceID pSpace, bool pDoRotation, bool pAutoDisable);
virtual... |
d59e9814569a36da8f4729d2f30b52f677a219c6 | e126f1b2300937ff0636426d0e2b0ce3e4b6ac14 | /PDFReduce/Base/SmartRef.h | 74aa5946ba8d3cd8979f608f10f6061829e38ffb | [] | no_license | symanli/PDFReduce | f01fcef936e816a44fa027ec87cb9aefaf18a49a | c619a8c78929d90669e297d3dca49fd2f676f28e | refs/heads/master | 2022-01-14T06:50:18.473596 | 2018-05-24T02:24:30 | 2018-05-24T02:24:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 781 | h | SmartRef.h | //
// 描述:智能指针基类
// 注意:构造函数必须初始化m_ulRef为1
//
#ifndef __SMART_REF_H__
#define __SMART_REF_H__
class ISmartRef
{
public:
virtual unsigned long AddRef() = 0;
virtual unsigned long Release() = 0;
protected:
virtual ~ISmartRef() {}
};
#define IMPLEMENT_REFCOUNT(ClassName) \
public: ... |
806bec54c45ad13905ab81e38996fe529f49d5b8 | 1bf8b46afad5402fe6fa74293b464e1ca5ee5fd7 | /SDK/BP_OD_Take2_classes.h | 2e61e30d54b2ee86deb784369db572c32c74452c | [] | no_license | LemonHaze420/ShenmueIIISDK | a4857eebefc7e66dba9f667efa43301c5efcdb62 | 47a433b5e94f171bbf5256e3ff4471dcec2c7d7e | refs/heads/master | 2021-06-30T17:33:06.034662 | 2021-01-19T20:33:33 | 2021-01-19T20:33:33 | 214,824,713 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,656 | h | BP_OD_Take2_classes.h | #pragma once
// Name: Shenmue3SDK, Version: 1.4.1
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass BP_OD_Ta... |
9bd7559ea8adbc85cb69afa991abab73778189ac | be4ed634abaab9032ad7a85802c3a62a4d5de050 | /FMU/Source/Model_Appliance_Large_Usage.cpp | 064dfe9ba6b9b854d983b987457b50ae73466646 | [
"MIT"
] | permissive | jacoblchapman/No-MASS | 380b08e56214ea08c885fe7a65d1f35a11bf1181 | 843ccaa461923e227a8e854daaa6952d14cb8bed | refs/heads/Master | 2021-03-27T11:47:05.283200 | 2020-08-28T18:11:39 | 2020-08-28T18:11:39 | 38,058,134 | 0 | 2 | MIT | 2020-08-28T18:11:40 | 2015-06-25T15:37:00 | Jupyter Notebook | UTF-8 | C++ | false | false | 4,291 | cpp | Model_Appliance_Large_Usage.cpp | // Copyright 2015 Jacob Chapman
#include <cstring>
#include <string>
#include <vector>
#include "Utility.hpp"
#include "Configuration.hpp"
#include "Model_Appliance_Large_Usage.hpp"
Model_Appliance_Large_Usage::Model_Appliance_Large_Usage() {
state = Utility::randomInt(0.0, 1.0);
}
void Model_Appliance_Large_Usag... |
d934eadd22796bb2f436c72e98bcad988cf9c962 | 9de69910925e3a018abe4ca4d1554a8595bef9f2 | /empery_center/src/map_utilities_center.cpp | 4a287407b6f3400d268b935d5274d9b08b7cd6bc | [] | no_license | kspine/solution_pk | cbfec7d9f790d767788bfc1bfba670083aaaef72 | 3ae0f985f83cb6285fb01b7a90a488cbdf5ef7b8 | refs/heads/master | 2021-01-22T05:19:55.114481 | 2017-02-10T11:41:08 | 2017-02-10T11:41:08 | 81,637,282 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,062 | cpp | map_utilities_center.cpp | #include "precompiled.hpp"
#include "map_utilities_center.hpp"
#include "map_utilities.hpp"
#include "cbpp_response.hpp"
#include "data/global.hpp"
#include "data/map.hpp"
#include "map_cell.hpp"
#include "map_object.hpp"
#include "strategic_resource.hpp"
#include "singletons/world_map.hpp"
#include "msg/err_map.hpp"
#... |
2cc63dd81b97967edb6229e95730b7acb26e2215 | 5eec18cb592d55a164fdc07f8a223c50af505f43 | /ana.cpp | 61bde2f0083f2983b5735301397df09d199f4bca | [] | no_license | x27/rx63 | d0734042db795118e7ccffe79062e973fffa6222 | 4c257942d601e288453ff1485d12fed62ce5c33b | refs/heads/master | 2022-01-16T21:50:20.735318 | 2021-12-29T22:52:34 | 2021-12-29T22:52:34 | 62,134,011 | 12 | 4 | null | 2021-09-19T00:38:38 | 2016-06-28T11:00:45 | C++ | UTF-8 | C++ | false | false | 41,464 | cpp | ana.cpp | #include "rx63.hpp"
enum simm_t
{
imm32 = 0,
simm8 = 1,
simm16 = 2,
simm24 = 3,
};
void set_reg(op_t &op, uint16 reg)
{
op.type = o_reg;
op.reg = reg;
op.dtype = dt_word;
}
void set_displ_reg(op_t &op, uint16 reg, uval_t value, memex_t memex)
{
op.type = o_... |
a30540fe2239470f7b78b1c658cc641d9dccc41d | 4ea6fbfd6eff19395ba8e5a1da33e712e8d23aca | /apps/simple/block-profiling.cpp | 86d9a9175219fe5cc99841676809e435c770a80e | [] | no_license | nanding0701/DyFuse_model | 968e3e66fda6eefe661eaa0d6b0429e388261e0f | 481f2d6b454a69ddbf8336915dee251ff72cf6ff | refs/heads/main | 2023-08-15T12:31:37.498876 | 2021-10-14T00:11:30 | 2021-10-14T00:11:30 | 416,920,417 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,707 | cpp | block-profiling.cpp | #include <otx/otx.h>
#include <Scheduler.h>
#include <algorithm>
#include <iomanip>
#include "../util/GrB_util.h"
#include "common.h"
extern "C" {
#include <GraphBLAS.h>
}
struct TaskArgs {
GrB_Matrix C;
GrB_Matrix M;
GrB_Matrix A;
GrB_Matrix B;
GrB_Descriptor descriptor;
int nthreads;
// ... |
7d495a727f25fe0bbe4eead021a17eb039259239 | df872c79b4547a12874fdaee0a363d1a3415c361 | /AStar-Traditional.cpp | 708c0451329c9aaed55b4a68a1d3fa7b1447b105 | [
"MIT"
] | permissive | ugokce/Efficent-Path-Finding-Algorithms | b06985af349c123bd76406700a8ae406cea0f186 | 7f4766cad5b8229ac6adb323209e34b5f47e7b5d | refs/heads/master | 2022-12-15T05:46:03.940822 | 2020-07-06T22:46:45 | 2020-07-06T22:46:45 | 296,418,955 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,805 | cpp | AStar-Traditional.cpp | #include <stdio.h>
#include <vector>
#include <algorithm>
#include <iostream>
#include <cmath>
#define Weight 10;
template <typename T>
struct Vector2
{
Vector2() = default;
Vector2(T xValue, T yValue)
{
x = xValue;
y = yValue;
}
static T Distance(Vector2<T> firstPosition, Vector... |
1d40db2e34eef89dc4c1d6f9f875e3134e82671a | 0b11c8c54b1e71ae935ea032376e785be8bfb65e | /1782_wyx.cpp | fdbc8abe796959429154e41cbafcbe0fd324c7f2 | [] | no_license | wyx150137/wyx-infinity37-ac-code-on-BZOJ | 320bef65927b065c938dec97c44fc599fac14176 | 5a1cc0803e0356e59f6e679e6aed23f8374ab67b | refs/heads/master | 2020-06-25T01:45:51.676298 | 2017-07-12T23:45:45 | 2017-07-12T23:45:45 | 96,950,945 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,947 | cpp | 1782_wyx.cpp |
#include <stdio.h>
#include <string.h>
#include <algorithm>
#include <iostream>
#define lowbit(x) ((x)&(-x))
#define N 100000+5
#define M 200000+5
using namespace std;
int n;
int head[N];
int size[N],depth[N];
int top[N],fa[N];
int w[N],sz;
inline int read()
{
int x=0,f=1;char ch = getchar();
while(ch < '0' || ch >... |
1cb98477035e13b09d6ad9cbceb159cef838905b | 5ce902c690583a93c12a03da49201e6b3e6c3381 | /src/graphics/Size2D.cpp | 0c942a409e77f6b55d1ff7fe8897a77b60297cf8 | [] | no_license | raynardbrown/graphics | 44471109a76645ab4796495d0321d29dcbc242ef | fb6babc46df61667669e34e77a742be4db2988c1 | refs/heads/master | 2020-11-27T15:48:07.573134 | 2020-06-18T03:24:59 | 2020-06-18T03:55:03 | 229,517,838 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,042 | cpp | Size2D.cpp | ////////////////////////////////////////////////////////////////////////////////
//
// File: Size2D.cpp
//
// Author: Raynard Brown
//
// Copyright (c) 2020 Raynard Brown
//
// All rights reserved.
//
////////////////////////////////////////////////////////////////////////////////
#include "graphics/Size2D... |
190d175c28cd387ebc0c8fe5fe2a9ca8850d3c9e | 69089974531355a74ccb9d2618952de2de30d4b5 | /Lab 3/matrixIterator.h | b917d4a975a834cfc66d16fc447cbb3d300661c5 | [] | no_license | GhermanCristian/Sem2_DSA | 4dd6bd3784df23912bc8fce796fcff0e58aafa2b | d8d28a91753fb4ea2824119428281bbb879d7171 | refs/heads/master | 2021-02-12T17:08:58.107801 | 2020-06-02T21:22:06 | 2020-06-02T21:22:06 | 244,610,034 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 864 | h | matrixIterator.h | #pragma once
#include "Matrix.h"
using namespace std;
class Matrix;
class MatrixIterator{
friend class Matrix;
private:
int currentLine;
int currentColumn;
const Matrix& currentMatrix;
MatrixIterator(const Matrix& crtMatrix, int line);
public:
TElem getCurrent();
/*
- BC : theta(1), when the eleme... |
0071436ed99aa82a2c3c002ce52ea1901bb74578 | 796fcd015c7d444189384c73f6539ff343d492d2 | /source/cpp/Unused/CCM_DistributionFuns.h | f5a1f57a11363fd49a8133eb2c56e63a08155ae4 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | hardmanko/CatContModel | 50e999ab2cdc931d8e2c2e4ee208a7cd7473393c | 94a27cf8cf6b1c664e9e7b887d8c3c0b22c5d602 | refs/heads/master | 2023-08-31T06:56:27.760526 | 2023-08-26T22:20:06 | 2023-08-26T22:20:06 | 63,280,312 | 9 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 218 | h | CCM_DistributionFuns.h | #pragma once
#include "CCM_Main.h"
namespace CatCont {
// Functions related to distributions from UtilityFunctions.h/cpp and CCM_Util.h/cpp
// Maybe some other stuff about transformations?
} // namespace CatCont |
7023efa0b692212d636d2a24a19b3107654a78a7 | fbe68d84e97262d6d26dd65c704a7b50af2b3943 | /third_party/virtualbox/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineLogicNormal.cpp | 5847b54d7c2ce0f3e121aafa6a65f03aca02740a | [
"GPL-2.0-only",
"LicenseRef-scancode-unknown-license-reference",
"CDDL-1.0",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-1.0-or-later",
"LGPL-2.1-or-later",
"GPL-2.0-or-later",
"MPL-1.0",
"LicenseRef-scancode-generic-exception",
"Apache-2.0",
"OpenSSL",
"MIT"
] | permissive | thalium/icebox | c4e6573f2b4f0973b6c7bb0bf068fe9e795fdcfb | 6f78952d58da52ea4f0e55b2ab297f28e80c1160 | refs/heads/master | 2022-08-14T00:19:36.984579 | 2022-02-22T13:10:31 | 2022-02-22T13:10:31 | 190,019,914 | 585 | 109 | MIT | 2022-01-13T20:58:15 | 2019-06-03T14:18:12 | C++ | UTF-8 | C++ | false | false | 14,705 | cpp | UIMachineLogicNormal.cpp | /* $Id: UIMachineLogicNormal.cpp $ */
/** @file
* VBox Qt GUI - UIMachineLogicNormal class implementation.
*/
/*
* Copyright (C) 2010-2017 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redist... |
b0f92932b35dd174c4c3855c8a8210569db3b5c6 | 987d6b1057402bf364e9ffdac89fd45f280c1c05 | /FF/coreassets/nwbusiness/nwpwrfil.h | a38777cb62b526b5bf68000ffe77cb070a4c598d | [] | no_license | SteveZiZi/FeesCharged | ed1199de7c7007062d5dcb66d228c18bc727133b | a3983378d89fa77643cd0f7fb4e112ca0f91bc59 | refs/heads/master | 2021-03-13T04:08:40.881614 | 2017-03-10T08:00:58 | 2017-03-10T08:00:58 | 84,532,826 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 15,597 | h | nwpwrfil.h | /**
* @file
* @brief 集中器能量数据文件存取操作集
* @author
* @date 2009-11-24
* @version v1.0
* @note
* 1、同一个FN费率须以最大的那个为准,不足部分填充无效数据0xEE。可以依FN不同
* 2、同一个重点户FN数据点数只能固定为某个数据值(24的倍数)。可以依FN不同
*/
#ifndef __NWB_POWER_FILE_H__
#define __NWB_POWER_FILE_H__
#include "basedef.h"
#include "basetype.h"
#include "nwbtype.h"
#i... |
ea1d4a8f73844eff0c575a85e561c467fdbc9bee | 062db1a799c111ee5c51df5f2f2696d428e6cc5b | /src/LightweightGraph.cxx | c879c344ab077b6cc613cdc510400ebefd1e4195 | [
"MIT"
] | permissive | scott-snyder/lwtnn | 1c76dd1182cf5326f0ab45b4bbe628b8f8014111 | 95ecb14b45e6a1e40a9539fee810f4d5b965d6c3 | refs/heads/master | 2023-09-01T06:28:06.615208 | 2023-08-02T04:55:23 | 2023-08-02T04:55:23 | 76,580,675 | 0 | 0 | null | 2016-12-15T17:21:43 | 2016-12-15T17:21:43 | null | UTF-8 | C++ | false | false | 1,420 | cxx | LightweightGraph.cxx | #include "lwtnn/LightweightGraph.hh"
#include "lwtnn/generic/LightweightGraph.hh"
#include "lwtnn/generic/InputPreprocessor.hh"
#include "lwtnn/generic/Graph.hh"
#include "lwtnn/generic/eigen_typedefs.hh"
namespace lwt {
// ______________________________________________________________________
// Lightweight Graph... |
c0da824843908f70153a0c971239857d996dd886 | 662e36112643697e4f40b036a91c37436e3256d0 | /aslam_cv2/aslam_cv_cameras/test/test-camera-3d-lidar.cc | 78b898acb6ea8d5b921705e9aa479b940e0e7fb6 | [
"Apache-2.0"
] | permissive | ethz-asl/maplab | ca9e2cacd2fbaf9dac22b455e24a179f8613729a | 0b4868efeb292851d71f98d31a1e6bb40ebb244b | refs/heads/master | 2023-08-28T16:19:16.241444 | 2023-06-18T21:36:18 | 2023-06-18T21:36:18 | 112,253,403 | 2,488 | 755 | Apache-2.0 | 2023-06-18T21:36:19 | 2017-11-27T21:58:23 | C++ | UTF-8 | C++ | false | false | 9,520 | cc | test-camera-3d-lidar.cc | #include <Eigen/Core>
#include <eigen-checks/gtest.h>
#include <glog/logging.h>
#include <gtest/gtest.h>
#include <typeinfo>
#include <aslam/cameras/camera-3d-lidar.h>
#include <aslam/cameras/camera-factory.h>
#include <aslam/cameras/camera-pinhole.h>
#include <aslam/cameras/camera-unified-projection.h>
#include <asla... |
2a786c338183800bc01bb099d67eb85d3b7e0ebe | 1e19224e3bd01383604354f2654e5f05ab97f789 | /Hackerrank/30-days-of-code/day_27.cpp | a751fd214e0e2754fdba19c72e11869a057a970b | [] | no_license | kiner-shah/CompetitiveProgramming | f67fdfeee189d9215c0b380197ca03ae2ae0efe1 | 8b3cea85bf99b099d18a978a209aa67030b75c9e | refs/heads/master | 2022-11-29T19:33:37.686989 | 2020-08-22T08:04:28 | 2020-08-22T08:04:28 | 102,189,359 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,323 | cpp | day_27.cpp | // Testing
#include <algorithm>
#include <iostream>
#include <stdexcept>
#include <vector>
#include <cassert>
#include <set>
using namespace std;
int minimum_index(vector<int> seq) {
if (seq.empty()) {
throw invalid_argument("Cannot get the minimum value index from an empty sequence");
}
... |
18dae603205de69eada2c8fc74aba85ae6eb101a | dd2b111e9e336cbe32401444b2e190fbafac2df7 | /ZombieApocalypse/pa6-source-code/tests/StudentTests.cpp | 7895000d64ecb75a5cc2911d4fa202e438a115a7 | [] | no_license | marshalljacobs12/Professional-Cplusplus | 88bc0121dee322524c08df77043c08cf29394f49 | 90b4c7d5fcb302ac0f1c9c552ca5a12f219a4ae9 | refs/heads/master | 2021-08-28T03:08:04.355408 | 2017-12-11T04:59:52 | 2017-12-11T04:59:52 | 113,794,993 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,640 | cpp | StudentTests.cpp | #include "catch.hpp"
#include <string>
#include <chrono>
#include "Machine.h"
#include "Op.h"
#include "Traits.h"
#include "World.h"
#ifdef _MSC_VER
#pragma warning(disable : 4996)
#endif
// Helper function declarations (don't change these)
extern bool CheckFileMD5(const std::string& fileName, const std::string& expec... |
daf10c5b032baaacaac4e8ccbc9c843b1e3b8ee4 | 173580b486a75b267ee542a25aea924e5971c2d5 | /Source/Project_C/Weapon/ShootingWeapon.cpp | a7e5a25ad2487c54bf63536aff28c650c7588377 | [] | no_license | gcclua/ShooterGame | 9188f2884acef1f570c543c94c5cb2ecb912e00d | 679c5a9e2e335250260d2d27b742120cf47befeb | refs/heads/master | 2021-05-21T01:49:53.210019 | 2019-10-29T04:48:21 | 2019-10-29T04:48:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 440 | cpp | ShootingWeapon.cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "ShootingWeapon.h"
#include "Components/StaticMeshComponent.h"
// Sets default values
AShootingWeapon::AShootingWeapon()
{
MuzzlePoint = CreateDefaultSubobject< USceneComponent >(TEXT("MuzzlePoint"));
MuzzlePoint->SetupAttachmen... |
3398720e810077ab923d474d46b7d8790d96dff1 | d5f68f68ba46df63b20c1c5c7f020136cbc31647 | /Error-Game/Source/Difficulty.cpp | f0c75e7d93e1df5ee11621be20123fe8536ab9bb | [] | no_license | ianalcid08/FinalProject | 088f8bf035543b55243c20be274538552d58c384 | a41c87a85d130e3c3021d24d53df4ffa2a80d67f | refs/heads/master | 2021-01-23T08:15:25.394104 | 2014-02-25T01:29:40 | 2014-02-25T01:29:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,016 | cpp | Difficulty.cpp | /***********************************************
* Filename: Difficulty.cpp
* Date: 04/08/2013
* Mod. Date: 04/08/2013
* Mod. Initials: IA
* Author: Ian Alcid
* Purpose: State in which the difficulty is set for all levels.
************************************************/
#include "Difficult... |
4d9932ad50a7a0fa107a313742f0cd07d90430a5 | 78918391a7809832dc486f68b90455c72e95cdda | /boost_lib/boost/type_erasure/dynamic_any_cast.hpp | f87f004e0270440fce3b6a646b87f94a6dde92e8 | [
"MIT"
] | permissive | kyx0r/FA_Patcher | 50681e3e8bb04745bba44a71b5fd04e1004c3845 | 3f539686955249004b4483001a9e49e63c4856ff | refs/heads/master | 2022-03-28T10:03:28.419352 | 2020-01-02T09:16:30 | 2020-01-02T09:16:30 | 141,066,396 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,925 | hpp | dynamic_any_cast.hpp | // Boost.TypeErasure library
//
// Copyright 2015 Steven Watanabe
//
// 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)
//
// $Id$
#ifndef BOOST_TYPE_ERASURE_DYNAMIC_ANY_CAST_HPP_INCLUDED
#define BOOST_TYPE_ERASURE_... |
a64f129d39ae8693b915074d58b3faaf06284ec9 | 6fd67c8a4b4e5de2eec30af3ed679fbdaee90a99 | /Diploma/Diploma/Diploma.h | 338bd3aab075991d37a00ee06bf9cb3c72fe542d | [] | no_license | Aeshylus/Test | 6912ef08828094a2840d87b61fc48c63630442e3 | d4ae1ff98b84cb67650ff6681dc6145fc7e8afb9 | refs/heads/master | 2021-01-25T05:35:40.187114 | 2014-01-29T18:12:37 | 2014-01-29T18:12:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 924 | h | Diploma.h |
// Diploma.h : main header file for the Diploma application
//
#pragma once
#ifndef __AFXWIN_H__
#error "include 'stdafx.h' before including this file for PCH"
#endif
#include "resource.h" // main symbols
#pragma comment(lib, "irrlicht.lib")
// CDiplomaApp:
// See Diploma.cpp for the implementation of this ... |
aabe4dc37602d6c2f817926561a02618a8562886 | a34446bab88860ba15693ce570fcad328d00a0e4 | /test/all_up/all_up.ino | f555b6835baa41f429cf4335d1054691b5f3f45c | [] | no_license | Vlasciar/InfoEdu | 43977cbff44d4a0b53f6bee630ba3a6213803832 | 4cffcf34af62322be99fa362da1c43e449dce161 | refs/heads/master | 2021-04-17T10:43:09.859356 | 2020-05-09T14:51:41 | 2020-05-09T14:51:41 | 249,438,781 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 345 | ino | all_up.ino | void setup() {
// put your setup code here, to run once:
}
void loop() {
for(int i=2;i<=13;i++)
{
digitalWrite(i,HIGH);
}
analogWrite(A0 ,255);
analogWrite(A1 ,255);
analogWrite(A2 ,255);
analogWrite(A3 ,255);
analogWrite(A4 ,255);
analogWrite(A5 ,255);
analogWrite(A6 ,255);
anal... |
bbc6e561dbfc6973d029b1ebc864578309d03d35 | 39f93acde728ccb6e7029658043de4548522cb35 | /include/crawl/db.hpp | 18ab08c21faa195a53ed553fd8e073df650a6631 | [] | no_license | siosig/libcrawl | a10c5bfcc3ca46a75b5ea8b142b7ca73bb832920 | 273595a4d4499a0c422ef5921b7eff137e9d676f | refs/heads/master | 2021-01-10T03:21:40.232045 | 2016-03-17T13:53:59 | 2016-03-17T13:53:59 | 51,982,168 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,098 | hpp | db.hpp | #pragma once
#include <string>
#include <mysql_driver.h>
#include <mysql_connection.h>
#include <cppconn/statement.h>
#include <cppconn/prepared_statement.h>
#include <vector>
namespace crawl {
class DB {
public:
DB();
explicit DB(const std::string &schema);
~DB();
void begin();
void commit();... |
bf1c16e81643dc83ca6b1b8fb9d3d319fc9b1916 | 4ad2ec9e00f59c0e47d0de95110775a8a987cec2 | /_Practice/IOI wcipeg/Teleporters/main.cpp | ce825ac3f76906fbcf587cb74c5fc61868dab2f5 | [] | no_license | atatomir/work | 2f13cfd328e00275672e077bba1e84328fccf42f | e8444d2e48325476cfbf0d4cfe5a5aa1efbedce9 | refs/heads/master | 2021-01-23T10:03:44.821372 | 2021-01-17T18:07:15 | 2021-01-17T18:07:15 | 33,084,680 | 2 | 1 | null | 2015-08-02T20:16:02 | 2015-03-29T18:54:24 | C++ | UTF-8 | C++ | false | false | 1,578 | cpp | main.cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <vector>
#include <algorithm>
#include <cmath>
#include <queue>
using namespace std;
#define mp make_pair
#define pb push_back
#define ll long long
#define maxN 2000011
int n, m, i, x, y;
vector< pair<int, int> > pos;
pair<int, int> wh[maxN];
queue<i... |
d96bfde994bd6f53e21a87d6c2c861d24779280c | 7c2c16c7b74095020b2d35039ba7af5c37149217 | /test_sub_derived_2.h | 88d1a838c24df7550275edbaec8702a1b48a061f | [
"MIT"
] | permissive | Dugy/generic_factory | 4ba0264e1aabc98af48a2a7185d174a2333e74a5 | 327d4234d8e79de4775ca07fef1a2601f70b0e5f | refs/heads/master | 2020-07-09T09:38:42.911151 | 2019-09-06T14:36:11 | 2019-09-06T14:36:11 | 203,941,046 | 9 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 297 | h | test_sub_derived_2.h | #ifndef TEST_SUB_DERIVED_2_H
#define TEST_SUB_DERIVED_2_H
#include "test_sub_base.hpp"
class TestSubDerived2 : public TestSubBase {
std::string _name;
public:
TestSubDerived2();
std::string name() const override;
void setName(const std::string&) override;
};
#endif // TEST_SUB_DERIVED_2_H
|
fc8bf008873b90159d396357c6c83f2a7b0023b1 | 0364bdde2c7386f38dc84e6791697c9413f51443 | /Test/Base/utilsTest.h | 9a008e342a82c36b27f2b7c6a8d25f4a2c1c728f | [
"MIT"
] | permissive | DrStrangelove42/DreamOfaRidiculousMan | 0cd088375851bc68b1f1b958a69ddcee3b3ec23c | a19af08c0a044ed4a30194ffdfac912475618b14 | refs/heads/main | 2023-06-17T19:21:53.341035 | 2021-07-14T09:39:05 | 2021-07-14T09:39:05 | 304,332,780 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 498 | h | utilsTest.h | #ifndef TEST_UTILS_H
#define TEST_UTILS_H
#include <cppunit/TestFixture.h>
#include <cppunit/extensions/HelperMacros.h>
#include "../../Source/Base/utils.h"
class UtilsTest : public CppUnit::TestFixture {
CPPUNIT_TEST_SUITE(UtilsTest);
CPPUNIT_TEST(TestRandRange);
CPPUNIT_TEST(Textures);
CPPUNIT_TEST(TestEatToken... |
8923234d38a42d0e66e5ffdf5a0d0349dbd91376 | 0f00091b2adebd8ab7d84396387bb6cb0eb8d2da | /RemoteController_LocalPowerSwitch.cpp | efdb4028067273268c1b89549f2059e8e138d242 | [
"Apache-2.0"
] | permissive | hidenorly/Esp32_WiFi_PowerSwitch | fd24f781a0ae1fbe124615c0138d3506c6baac18 | ee36ec146a91b26e6d7ed5f9902795e5625f8e8b | refs/heads/master | 2022-07-29T23:46:45.269422 | 2020-05-17T16:01:35 | 2020-05-17T16:01:35 | 262,970,587 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 955 | cpp | RemoteController_LocalPowerSwitch.cpp | /*
Copyright (C) 2020 hidenorly
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... |
7ed38a4b02ab229c083bdcdddafc80263b01a858 | e59d731900e54c51de71f427e88d035dad6543fd | /controller/clientesEnCaja/ClientesEnCajaController.h | c3bc7805ab0c5bfe9352492ba8b145b81d8462b2 | [] | no_license | L2AsHdz/MiniMarketManager | 05def2c800792f724674a39d5f7b3c608664c377 | 20c81654b891e7c53072a19bf892f66658b77188 | refs/heads/master | 2023-03-15T10:50:57.807644 | 2021-03-06T17:41:58 | 2021-03-06T17:41:58 | 342,705,948 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 333 | h | ClientesEnCajaController.h | #ifndef CLIENTES_EN_CAJA_CONTROLLER_H
#define CLIENTES_EN_CAJA_CONTROLLER_H
#include "../../edd/pila/Pila.h"
#include "../../edd/linkedList/LinkedList.h"
class ClientesEnCajaController {
public:
ClientesEnCajaController();
void start(LinkedList*, Pila*, Pila*, int);
};
#endif /*CLIENTES_EN_CAJA_C... |
094af4cbcc838ade1c5a8391217a7da2734ed209 | 699f63477c9659498e1b342602656507c92f3e79 | /Worm/Biologie/WormDegatsIrradiationHadron.h | 3a125b87b70c52d9e85ee07bfd86957e4b028b50 | [] | no_license | dcussol/protoPMRT | 634477174d01c1d3a48d63adc175e412729fb748 | e3a66a11ce341ed0a3e7091fee4801cb5ba4ac76 | refs/heads/master | 2021-01-10T19:05:18.382410 | 2014-12-17T16:11:03 | 2014-12-17T16:11:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 604 | h | WormDegatsIrradiationHadron.h | //
// Classe d'imagerie du Worm
//
#ifndef WormDegatsIrradiationHadron_h
#define WormDegatsIrradiationHadron_h
#include "WormDegatsIrradiationX.h"
#include "GenerateurNombresAleatoires.h"
class WormDegatsIrradiationHadron : public WormDegatsIrradiationX
{
protected:
CartographieVecteur<double> EBRalpha;
... |
aa26ce346f289b2d1eff942b671eb18740755fe0 | 350623fcfc747d8f87ad235eff811768dc74020a | /bftengine/tests/bcstatetransfer/bcstatetransfer_tests.cpp | d2bc35699e77ecef6232869d6a75ab4cb384f268 | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla"
] | permissive | dartdart26/concord-bft | 3e26f501331619916e26ece9d286a987b6bb7d3b | 7e863d933d4b6be5d46eaa6861aa2827936055d2 | refs/heads/master | 2022-03-19T02:50:16.164649 | 2022-02-17T16:06:41 | 2022-02-17T16:06:41 | 218,711,816 | 2 | 0 | null | 2019-10-31T07:47:49 | 2019-10-31T07:47:47 | null | UTF-8 | C++ | false | false | 32,520 | cpp | bcstatetransfer_tests.cpp | // Concord
//
// Copyright (c) 2019 VMware, Inc. All Rights Reserved.
//
// This product is licensed to you under the Apache 2.0 license (the "License").
// You may not use this product except in compliance with the Apache 2.0
// License.
//
// This product may include a number of subcomponents with separate copyright
... |
76a39c69a4db7f761cd55020a6716e9642ae361b | 916109bf168239202442498e568b2bfc9a8bc8a9 | /src/asiVisu/asiVisu_MeshDisplayMode.h | 6ff3a9cf6651e9c60637ab28809e44d0cc0fd9c5 | [
"BSD-3-Clause",
"MIT"
] | permissive | yeeeeeeti/3D_feature_extract | 35da69cd64cd6ed6c92fd4541da5de7bb96dc2b6 | 6297daa8afaac09aef9b44858e74fb2a95e1e7c5 | refs/heads/master | 2020-09-05T02:27:30.997017 | 2019-11-07T01:24:26 | 2019-11-07T01:24:26 | 219,956,109 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,533 | h | asiVisu_MeshDisplayMode.h | //-----------------------------------------------------------------------------
// Created on: 11 July 2017
//-----------------------------------------------------------------------------
// Copyright (c) 2017, Sergey Slyadnev
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or with... |
5fed4de581326c7ce7c3dd5fbd81f1ec2212cd05 | 6923f79f1eaaba0ab28b25337ba6cb56be97d32d | /GPU-Gems-Book-Source-Code/GPU-Gems-3-CD-Content/content/30/Include/FCollada/FCDocument/FCDCamera.h | efed18499edbeffd1b716308a36721cb84c62ba4 | [
"MIT",
"LicenseRef-scancode-x11-xconsortium-veillard"
] | permissive | burakbayramli/books | 9fe7ba0cabf06e113eb125d62fe16d4946f4a4f0 | 5e9a0e03aa7ddf5e5ddf89943ccc68d94b539e95 | refs/heads/master | 2023-08-17T05:31:08.885134 | 2023-08-14T10:05:37 | 2023-08-14T10:05:37 | 72,460,321 | 223 | 174 | null | 2022-10-24T12:15:06 | 2016-10-31T17:24:00 | Jupyter Notebook | UTF-8 | C++ | false | false | 11,800 | h | FCDCamera.h | /*
Copyright (C) 2005-2007 Feeling Software Inc.
MIT License: http://www.opensource.org/licenses/mit-license.php
*/
/*
Based on the FS Import classes:
Copyright (C) 2005-2006 Feeling Software Inc
Copyright (C) 2005-2006 Autodesk Media Entertainment
MIT License: http://www.opensource.org/licenses/mit-license... |
5665185320d2efed53e9056c0a1a9b3ca5329704 | 4bcc9806152542ab43fc2cf47c499424f200896c | /tensorflow/compiler/tf2xla/kernels/tensor_list_ops.cc | 94b3af69323e1f307682aa2d5f777de78650eeca | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | tensorflow/tensorflow | 906276dbafcc70a941026aa5dc50425ef71ee282 | a7f3934a67900720af3d3b15389551483bee50b8 | refs/heads/master | 2023-08-25T04:24:41.611870 | 2023-08-25T04:06:24 | 2023-08-25T04:14:08 | 45,717,250 | 208,740 | 109,943 | Apache-2.0 | 2023-09-14T20:55:50 | 2015-11-07T01:19:20 | C++ | UTF-8 | C++ | false | false | 26,353 | cc | tensor_list_ops.cc | /* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... |
c34581fb3b68ba445cf8760005a402815ac71a73 | d3932e6bded7d8def64078fbce8e91e0189175f4 | /tutorials/week2/overload.cpp | 08106e0ce7e278a76d4aef83e1f5a7636682e8a2 | [] | no_license | Wilsonchoo2017/cs6771-Advance-Cpp | d249aa431c6512d48959ca017f9a22e2209d6e1e | d8901ca4801744bbdf719faa1966d9847334a114 | refs/heads/master | 2020-06-06T07:06:13.306485 | 2019-10-07T20:17:36 | 2019-10-07T20:17:36 | 192,673,564 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 77 | cpp | overload.cpp | //
// Created by wilson on 1/07/19.
//
#include <iostream>
int main() {
}
|
c377a189f582af00fb27d6107036657a92ac1217 | 497c6f4c3f5cdb0573a5d892b7a2e2464f5f5b8e | /Input and Output Questions/Control Instructions/Question8.cpp | dcafb38de2f1737dd3f989d8c94900c7399b434c | [] | no_license | Sanyam96/Programming | cde481359f361d3c055285b5b772525a752be256 | 507cc12fc124612764764f888720643ff4d76a88 | refs/heads/master | 2020-12-02T16:38:22.499217 | 2017-10-26T18:04:24 | 2017-10-26T18:04:24 | 96,563,328 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 656 | cpp | Question8.cpp | // What is the output of the following program and also Point out the Error If Any
#include <bits/stdc++.h>
using namespace std;
int main() {
void fun();
int i = 1;
while( i <= 5 ) {
cout << i <<"\n";
if ( i > 2 ){
goto here;
}
}
return 0;
}
void fun() {
here :
cout << "Goto works!\n";
}
// --... |
c57ee966da8b610c1beed6f8e0da8c0b191a8ca4 | 6ee203634b91de08a3869c40adb43feef11e11d9 | /ComputerGraphics/computergraphicsview.cpp | 358d4aad91eaa64c04d3f7b8b3a37f147eed1816 | [] | no_license | Ice2Faith/ComputerGraphics | e339e33e82dfab63fa97bcaeb8f47f169f5bfc34 | be04228b67c475b65f38eafd788191408ea8585d | refs/heads/master | 2020-09-22T09:24:17.361379 | 2019-12-08T10:39:56 | 2019-12-08T10:39:56 | 224,854,838 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 38,184 | cpp | computergraphicsview.cpp | // ComputerGraphicsView.cpp : implementation of the CComputerGraphicsView class
//
#include "stdafx.h"
#include "ComputerGraphics.h"
#include "ComputerGraphicsDoc.h"
#include "ComputerGraphicsView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////... |
e49c918ae6df95b7a26e6737843df8307906fbb4 | cd121380c1dca39123d9950c49d138bb1b32d027 | /ArduinoTestCode/oldOutputCAN/oldOutputCAN.ino | ff3d50380a8ad80b7168c9908934914ea57ea554 | [] | no_license | nusolar/sc7-telemetry-code | 38a085139efbec0296d1784d4eb29642a55e747b | e3d0f13968e043367ef454d870b83a256d13480e | refs/heads/master | 2021-01-18T22:33:18.542592 | 2018-02-24T19:21:30 | 2018-02-24T19:21:30 | 30,443,312 | 1 | 4 | null | 2017-02-08T23:31:51 | 2015-02-07T03:14:31 | Visual Basic | UTF-8 | C++ | false | false | 2,987 | ino | oldOutputCAN.ino | /* TODO Documentation for this file */
#define COMPILE_ARDUINO
#define DEBUG
//#define LOOPBACK
#include <SPI.h>
#include "CAN_experimenting.h"
#define CANINT 8
#define CANCS 5
#define CAN_NBT 1000 //Nominal Bit Time
#define CAN_FOSC 16
#define PEDAL_ACCL_MAX_CURRENT 0.8f
CAN_IO can(CANCS,CANINT,CAN_NBT,CAN_FOSC);... |
38d2560caed949c5f0da96c8da561d51f1ab61d5 | f17f0751530fa69b2ab40a3ef8a9e2ce50b39771 | /src/Mesh.cpp | 1385f8eb17db9f617f9123483dc3ee7e175079de | [
"Zlib"
] | permissive | whztt07/globe | 8b1bb505b215c0b66abc495729e49b73d8edd0a9 | 98dba87da749bcb5cc5cb0cffa759b38f74e784c | refs/heads/master | 2020-12-03T10:31:38.400104 | 2015-01-16T15:26:39 | 2015-01-16T15:26:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,493 | cpp | Mesh.cpp | //***************************************************************************
//
// Globe
// A small C++ library to allow fast prototyping of Direct3D animations.
//
// Copyright (C) 2012-2013 Jean-Charles Lefebvre <polyvertex@gmail.com>
//
// This software is provided 'as-is', without any express or implied
//... |
6a895d36e39f98f6744fdd968a41bdd49467318e | 73edb03b249034cde7fb40737b9c1fac8b2cada5 | /Sequence.h | 6767764c48300852b85241c0fa33d4df2c6d9d51 | [] | no_license | BK286/Sequence | 839c17a294ceea730407ed8a8673325659f5420f | 44fe67d5f73ec810287ec2021edf860fdc26f7c1 | refs/heads/master | 2020-03-21T08:44:52.809274 | 2018-07-05T06:10:52 | 2018-07-05T06:10:52 | 138,362,042 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 304 | h | Sequence.h | #ifndef SEQUENCE_H
#define SEQUENCE_H
#include <string>
#include <fstream>
using namespace std;
class Sequence
{
public:
Sequence(string filename);
int length();
int numberOf(char base);
string longestConsecutive();
string longestRepeated();
~Sequence();
private:
string s;
int num;
};
#endif
|
b5271a96913f12f6fce3a446e4c91141020365e6 | 95a5346295a7c277ac4f0f04988dbe1476a970c9 | /src/n_dir_watcher.h | 1e373cc90f6d64b353629ffadbe5d3d7039296dc | [] | no_license | sdolard/nawis | ecc0a83f1d79991af477c8f3fba1c39ce77a802d | 9e0b701c612f551760ec3ccca6b28610f0c9a122 | refs/heads/master | 2016-09-02T11:33:28.726466 | 2010-11-01T15:31:55 | 2010-11-01T15:31:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,591 | h | n_dir_watcher.h | /*
* kn_dir_watcher.cpp - file sharing watcher
* Copyright (C) 2008 Sebastien Dolard
*
* 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 2
* of the License, or (at your optio... |
43bc8155c235b1b3d454c7240eec9de7311a7f5f | 1b3fa108fcea48d6cfa7ee8abe910c601215c9bf | /src/buffered_cstyle_fadvise.h | 955f7b537e5dc1b3d709676d882c5a9165531200 | [
"ISC"
] | permissive | mdtisdall/read_strategies | 899c7e1e893ddd9ef50c8ab626654793424143c7 | b96285026c8833161b68e44f0176590d92755e73 | refs/heads/master | 2021-01-10T07:32:51.968587 | 2015-12-22T23:28:34 | 2015-12-22T23:28:34 | 48,198,057 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,329 | h | buffered_cstyle_fadvise.h | #ifndef buffered_cstyle_fadvise_h
#define buffered_cstyle_fadvise_h
#include <iostream>
#include <vector>
#include <fcntl.h>
#include <unistd.h>
template <typename T>
class buffered_cstyle_fadvise {
public:
buffered_cstyle_fadvise(
std::vector<std::string> inputFilePaths,
size_t buffersize = (8 * 10... |
3d18e881ca1defaf038e3f35783e457001caf73c | 4e346e409b905a4858410e9f01818aa5f426d6ef | /Desktop/Git/Bank-Ecommerce Simulation Design/Simulation3:E-Pay System/BANK_1.0/build-BANK_STEAM-Desktop_Qt_5_4_1_MinGW_32bit-Debug/debug/qrc_background_bank.cpp | c2f83f48a3ae982057ed127a437f7cfd5def3d1a | [] | no_license | BonZhao/Bank-and-E-commerce-System-Simulation-Design | 017c89f872491226925f73e57d7da6f376cdebc7 | 9cf3525590926aace0df37bbd4a84311ab45128b | refs/heads/master | 2020-03-31T14:19:10.383084 | 2018-10-09T17:12:33 | 2018-10-09T17:12:33 | 152,289,346 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 176,139 | cpp | qrc_background_bank.cpp | /****************************************************************************
** Resource object code
**
** Created by: The Resource Compiler for Qt version 5.4.1
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
static const unsig... |
9df95be176a0a5daf516c4a9748c2ac9fb504b33 | 3a2463e1c3ae40056358194c1c710c7050a0d891 | /Client Source/.svn/pristine/9d/9df95be176a0a5daf516c4a9748c2ac9fb504b33.svn-base | bfa07cfe8ab446a7239f420c9ef0ac4d5bd75437 | [] | no_license | jgenoss/LCSource | c20e928eae3406b06849c4d45624ee9f8df7bed5 | 07197bffbe38f9c9d5e745cc1c91fca58b30c856 | refs/heads/master | 2023-08-26T00:38:04.820048 | 2015-08-13T19:39:50 | 2015-08-13T19:39:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 429 | 9df95be176a0a5daf516c4a9748c2ac9fb504b33.svn-base | // collision box dimension equality names
#define HEIGHT_EQ_WIDTH 0
#define LENGTH_EQ_WIDTH 1
#define LENGTH_EQ_HEIGHT 2
#define MAX_MODELMIPS 32
#define MAX_TEXTUREPATCHES 32
#define MAX_COLOR_NAMES 32
struct PolygonsPerPatch;
struct ModelPolygon;
struct ModelTextureVertex;
struct Mappin... | |
2d97381e74715ffbaa0de8f7a943d3cbaff78488 | cdd092e7c2e2a52093200797737205b6a2fe716e | /ldr_matrix/ldr_matrix.ino | 2e4d9ce1f1f665a2ddf39d3f49e074382c8737af | [] | no_license | somas95/E-T-A | 3182b09637931bdc5838e1cef7477a05552d31b5 | 3abe9a8e8fde29711ec1bc7fc07d5291813731c1 | refs/heads/master | 2022-11-09T17:17:56.931560 | 2020-06-21T17:39:06 | 2020-06-21T17:39:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,924 | ino | ldr_matrix.ino | const int n_rows = 8; // matrix size
const int n_columns = 8;
// columns are digital pins
//const int colPins[n_columns] = { 8, 9, 10 };
// rows are analog inputs with 10k resistor to GND.
const int rowPins[n_rows] = { A0, A1, A2, A3};
int ldr[n_rows][n_columns];
int ldr_basis[n_rows][n_columns];
int gol[n_rows][n... |
f857aa87a95689eb7a0646aa6eae90a6112cc9b1 | f7453b84352aff79ef7b7bc091d5ceec90eee2f5 | /src/Tools/xmltree.cpp | 6c2c581a30b8a3ecc3b5d687c5e5de879e4a3edc | [
"MIT"
] | permissive | DisCODe/DisCODe | a1be865f1fc28104a8f1e3a368a4428e4c54a0e9 | c6e1e5795eeccfc5ed03bec1acff693990726d81 | refs/heads/master | 2021-01-15T18:09:30.589299 | 2016-01-27T14:32:20 | 2016-01-27T14:32:20 | 930,813 | 2 | 9 | null | 2014-11-20T09:44:13 | 2010-09-22T14:50:45 | C++ | UTF-8 | C++ | false | false | 1,833 | cpp | xmltree.cpp | /*!
* \file xmltree.cpp
* \brief Simple program printing XML-tree from given file.
*
* File name must be passed as first argument, tree is printed in very simple
* form, with indents indicating child-parent relationship. For each node
* value is printed, event if there is no value associated (in that case e... |
b47c4cd4c31dfd629432129150287f38237891f1 | b8adcabb72f6db3c4eeeb9f24ddc42bab4eeefca | /SWEA/level_B/3993.cpp | ba8a46e9e897fbd40a19c152c3483148079c4d71 | [] | no_license | don2101/APS_problem | 71ceccf413c3432321cda4e0543780faf0647ce7 | c51d9980e67d59ec3c10500f92a4fa8ca4b4ae3d | refs/heads/master | 2020-04-25T09:08:49.480350 | 2019-11-06T08:17:10 | 2019-11-06T08:17:10 | 172,667,731 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 995 | cpp | 3993.cpp | #include <iostream>
using namespace std;
long long ans;
int n, l, r;
long long dp[21][21][21];
long long search(int n, int l, int r) {
if(n == 1 && r == 1 && l == 1) return 1;
if(n < 1 || r < 1 || l < 1) return 0;
if(n < r || n < l) return 0;
if(n+1 < l+r) return 0;
if(dp[n-1][l-1][r] == 0) dp[... |
0af41372b695641ee75b23b625d53b35ed09857d | ecfbddcdf4fb6328d21dd69c4c768dd908689b5d | /include/polyvec/utils/num.hpp | d30f8be5d0313021fa670dd45630a0e6d2ee3319 | [
"MIT"
] | permissive | ShnitzelKiller/polyfit | 83aece9269e12b3d47d5cb0e4eb2884f551c9635 | 51ddc6365a794db1678459140658211cb78f65b1 | refs/heads/master | 2022-12-04T07:28:01.805877 | 2020-09-02T00:36:32 | 2020-09-02T00:36:32 | 291,927,085 | 0 | 0 | MIT | 2020-09-01T07:24:42 | 2020-09-01T07:24:41 | null | UTF-8 | C++ | false | false | 1,722 | hpp | num.hpp | #pragma once
#include <polyvec/core/macros.hpp>
#include <polyvec/core/types.hpp>
#include <algorithm>
#ifndef logic_xor // https://benpfaff.org/writings/clc/logical-xor.html
#define logic_xor(a, b) ((!(a)) != (!(b)))
#endif
NAMESPACE_BEGIN(polyvec)
NAMESPACE_BEGIN(Num)
template <typename T>
T lerp(const T& v0, c... |
fae0cf5fe7f193eb13fa87a601ceb7383ec6e11e | 0145d34a74227b85fddeed2de86f26037dd9e1a7 | /solutions/house-robber/solution.cpp | 716ba912be551381219db43818a0cfda9a8405cc | [
"BSD-2-Clause",
"BSD-2-Clause-Views"
] | permissive | locker/leetcode | f2b5d2607b388e39b459ced77dde33d881e087cc | ad3a0b2f6b01d9ae05bb93b10ba1c9f66d6a9abb | refs/heads/master | 2022-08-29T12:49:13.422799 | 2022-08-28T13:26:09 | 2022-08-28T13:26:09 | 172,386,042 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,344 | cpp | solution.cpp | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
template<typename T>
ostream& operator<<(ostream& out, const vector<T>& v)
{
out << '[';
for (auto it = v.begin(); it != v.end(); ++it) {
if (it != v.begin())
out << ',';
out << *it;
}
out << ']';
return out;
}
class Solution... |
555c76980aab0b4c64b36f7ce171eba758d96080 | b125436787ea535eee0c7eea07d36f0f75a4a3ca | /1/소스.cpp | 6d6830fef7a97d5eed0556f94d3f55f78961de49 | [] | no_license | leeseong10/test | 70742423aa0ddc483738a5b8c3fb39e4da42c4a6 | 066e58087898e289ff2b7034ccb61e0aaa698a85 | refs/heads/master | 2023-04-25T04:50:17.541300 | 2021-05-21T03:58:20 | 2021-05-21T03:58:20 | 369,404,952 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 687 | cpp | 소스.cpp | #include <stdio.h>
#pragma warning (disable:4996)
#include <iostream>
#include <limits>
using namespace std;
int main() {
int n;
scanf("%d", &n);
printf("%d", n);
return 0;
char x;
scanf("%c", &x);
printf("%c", x);
float x;
scanf("%f", &x);
printf("%f", x);
int a, b;
scanf("%d%d", &a, &b);
printf("%... |
4258b9a8a456b87a55453be9295f5c2b1dabe776 | 04fee3ff94cde55400ee67352d16234bb5e62712 | /11.11contest/source/Stu-54-Peper/equal/equal.cpp | 337382a4c3b428cb5d9c805681a3e30ded47f772 | [] | no_license | zsq001/oi-code | 0bc09c839c9a27c7329c38e490c14bff0177b96e | 56f4bfed78fb96ac5d4da50ccc2775489166e47a | refs/heads/master | 2023-08-31T06:14:49.709105 | 2021-09-14T02:28:28 | 2021-09-14T02:28:28 | 218,049,685 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,149 | cpp | equal.cpp | #include<stdio.h>
#include<string.h>
#include<algorithm>
using namespace std;
template<class T>void read(T &x){
int f=0;x=0;char ch=getchar();
while(ch<'0'||ch>'9') {f|=(ch=='-');ch=getchar();}
while(ch>='0'&&ch<='9'){x=(x<<1)+(x<<3)+(ch^48);ch=getchar();}
x=f?-x:x;
}
const int N=1e5+100;
struct Edge{
... |
0f1120e77a51c0f42d758ac4e80570d46c5f65b6 | 0b9fc8d6fa090c9ff23215b4dab16aa28d2c85d0 | /Graphs/Graph.h | cc03414dcc3ec15fa197983b9dc5de6fe84b19b4 | [] | no_license | birneAgeev/ShortestPaths | ee9b2a278d82ad097768ab82ba1b6212074432b6 | 5d326db5e4d8ad24e13bd8449fe25c10161c52c5 | refs/heads/master | 2021-01-10T14:14:40.118314 | 2015-10-02T09:19:56 | 2015-10-02T09:21:19 | 43,388,713 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 808 | h | Graph.h | #pragma once
#include "IReader.h"
#include "Edges.h"
class Graph {
public:
class Builder;
static Graph* ReadFrom(IReader& reader);
virtual ~Graph();
Link* & operator[](int vertexIndex) const;
int GetVertexDegree(int vertexIndex) const;
Link* FindLink(int startVertex, int endVertex) const;
int ... |
58a070bcd38b5a20f7f9fd1d704da6614d7712e5 | 6219258b970ebf2b83848a9661aee27035bdf730 | /molecular_dynamics/fast/vec.h | e213d9500c77e6a9141305f7a1a7938ca45aa323 | [] | no_license | liujiamingustc/c-programs | d1ce57b8f8833b926e4e10316be10971799e5b8b | c56c7a2012938b569a25e3b8be45aa6f0498dbe4 | refs/heads/master | 2020-04-15T02:34:55.043529 | 2015-11-09T14:11:00 | 2015-11-09T14:11:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,594 | h | vec.h | #ifndef VEC_H
#define VEC_H
#include <iostream>
#include <cmath>
using namespace std;
typedef double real;
class Vec
{
private:
real x_val, y_val, z_val;
public:
Vec();
Vec(real,real);
Vec(real,real,real);
void set(real,real);
void set(real,real,real);
real& x();
real& y();
real& z();
void o... |
57e3a166f6066873fe4e5f48dd2ba44713b6e68c | f7acc5ec96931a0c03a2ebf519d6861f751016df | /algorithm/bakejoonAlgorithm/14500_테트로미노.cc | 176b9d101e60881d0d2f84069c5fb133ffebee32 | [] | no_license | saeromkim/TIL | 43bee8d5d25e8fc4b9889b8b5556583caed12899 | 55bb02ae539a9f4edc0e1d71abb23529d7117797 | refs/heads/master | 2020-03-28T12:08:04.089480 | 2019-05-02T10:49:19 | 2019-05-02T10:49:19 | 148,271,844 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,837 | cc | 14500_테트로미노.cc | //dfs로 풀었다 혼자 못풀고 몇달 전 푼 그대로 풀었다.
#include <iostream>
using namespace std;
int a[500][500]; //입력배열
bool check[500][500]; //방문했는지 여부를 체크하기 위한 배열
int x[] = {0,0,1,-1};
int y[] = {1,-1,0,0};
int n,m;
int ans = 0;
void go(int i, int j, int sum, int cnt){
//4가지에 대해 순회
if(cnt == 4){
if(ans<sum) ans = sum;
return;
}
... |
d0ddc807835a2350bc87cc0503838b488a42f4f4 | 2cc110a97d0710c3a140cd22c2012569cc3716be | /KolkoKrzyzyk/board.h | 04a5ba28c07b5821fb7ec762dfd67b0fb27e03af | [] | no_license | Dewkong/CPPKolkoKrzyzyk | 31294010bc2318f547f0a9068a2cf3344c8a27c1 | 1d3f20f8e5ca3e4e5400aebf86d1f047e34772b3 | refs/heads/main | 2023-05-25T18:16:35.127528 | 2021-06-09T12:36:10 | 2021-06-09T12:36:10 | 375,346,534 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 814 | h | board.h | #ifndef BOARD_H
#define BOARD_H
//enum odpowiedzialny za całą logikę symboli/znaków na planszy, BLANK oznacza puste pole
enum Sign {BLANK, X, O};
//enum używany przy wyznaczaniu zwycięzcy lub remisu
enum State {UNDECIDED, X_WINNER, O_WINNER, DRAW};
//klasa planszy, która zawiera całą logikę gry
class boa... |
069d5881ecd4fd8a87b7332bebedbe2e44c05b71 | 0254285e639c21a286ecc876a4bb1ce52b9408dd | /smalldb/solution/src/main.cpp | fde980e9c828d2f3cae149c7f9882295b15153e4 | [] | no_license | jeagrego/jeagrego | 3981cf7012b16d6e797427e7ac72941fca44331e | 25aaaa20369d85bdc9716137c651c58ed2adf762 | refs/heads/main | 2022-12-13T04:01:57.921299 | 2022-11-29T13:50:00 | 2022-11-29T13:50:00 | 220,828,329 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,616 | cpp | main.cpp | /**
* L'application est répartie en 1 processus principal (le processus initial) et
* 4 processus dédiés dont les informations sont contenues dans des données de
* type dedicated_process_t.
*
* Au niveau des communications :
*
* • stdin : lecture des commandes (select, insert, delete, update, transaction),
* ... |
1eb7cbbdccb284d6ea1a8683a546abd67e4a84a9 | 0c226f4a47ac0abde45f9daecd8e03ca6e7a2c26 | /cpp/15905.cpp | 2e1505f05e08f8d54077df5e7d74b2fbb429136f | [] | no_license | fjvbn2003/BOJ_backup | 1c86542131ffe0621be5dc6f37f3da812ceba00e | 9ee0dfcd86bb3010040121b3a09b30b03e66d062 | refs/heads/master | 2023-01-08T00:43:26.061434 | 2020-11-11T07:23:05 | 2020-11-11T07:23:05 | 100,412,849 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 667 | cpp | 15905.cpp | #include <iostream>
#include <bits/stdc++.h>
using namespace std;
struct person{
int n;
int p;
person(int a, int b): n(a), p(b){}
};
bool comp(person &a, person &b){
if(a.n == b.n){
return a.p <b.p;
}
return a.n >b.n;
};
int main(){
int n, a, b;
vector<person> arr;... |
c56e9411f915469cda1e40988634ba139ab52c03 | 6c8b28f7e3c455db2bd593d9c30e8169b35bfd5f | /Daemon/config/config_daemon.h | 95dc1d9619afe91535ebb2cebe7427b0e0fda662 | [] | no_license | sokolov-s/IEXAPITest | 21ae13c1e23ce66f0c152e61cc41656c1c48b976 | 8c43cbb5ab8c7c0045de0a076c158de2121b7c4b | refs/heads/master | 2020-06-26T11:25:58.152382 | 2019-07-30T10:45:20 | 2019-07-30T10:45:20 | 199,619,258 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,002 | h | config_daemon.h | #pragma once
#include "config.h"
#include "common_utils/noncopyable.h"
namespace config {
class Daemon : private common_utils::noncopyable::NonCopyable
{
enum class eKeys {
LOG_PATH,
DB_PATH,
INTERFACE,
PORT,
IEX_URL,
IEX_TOCKEN,
IEX_UPDATE_PRICE_SECOND,
... |
0a9335b7b07f8fa442993c2e32ea086a4b574687 | 16f80b3229701a6bea60d411f6459c6b980003b8 | /CreateLisencelib/SodiumLicense/License/SdmLicense.h | 5675c715a3f865f63f56d049a7dc39c843ab27ab | [] | no_license | asky991/LicensePro | 8fdd3e381153aba3d9c09e5b18b3d4b1d756ecba | 2437ebd99e60407ee6c49188d96c7f225dedb05d | refs/heads/master | 2021-07-06T19:43:40.554242 | 2017-09-30T06:37:31 | 2017-09-30T06:37:31 | 104,193,212 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,582 | h | SdmLicense.h | #ifndef __STDLICENSE_H__
#define __STDLICENSE_H__
#define PUBLICKEYPATH "./public.bin"
#define PRIVATEKEYPATH "./private.bin"
#define LICENSEDATPATH "./license.dat"
#include <vector>
class CSdmLicense
{
public:
CSdmLicense();
~CSdmLicense();
// 生成证书
int EncodeLicense(const char* pDate,const int nLen);
//解... |
1c4168e38d129ca54bedee23207302787cb78786 | 294fb36d24c61a7754ecc42013027c725f5084e7 | /OpenCVTest/RenderScene.cpp | 5292bd04247e5c5c4023d9be741687af34a81c42 | [
"Apache-2.0"
] | permissive | chiltonotlihc/KinectViewport | 97d479c36de32c1dc9cab086453c45fe6f06fe35 | a04db0694577bd7d9969cb312a9bba9255fa1f41 | refs/heads/master | 2021-01-25T10:49:38.767199 | 2014-05-04T15:13:25 | 2014-05-04T15:13:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,810 | cpp | RenderScene.cpp | //
// RenderScene.cpp
// OpenGLScene
//
// Created by Oliver Chilton on 24/03/2014.
// Copyright (c) 2014 Oliver Chilton. All rights reserved.
//
#include "RenderScene.h"
RenderScene *RenderScene::instance = NULL;
RenderScene::RenderScene(){
windowTitle = "Window1";
WINDOW_WIDTH = 200;
WINDOW_HEIGH... |
0c2d4104bb00c06629d9b1e39fed069b94f7b65a | 8a732195cbf21196c5c2888f101cb7b37dc4e51e | /cplusplus/367_Valid_Perfect_Square.cpp | f41288adc2f55130d6f69286cf2f8feca45a5358 | [] | no_license | arnabs542/LeetCode-31 | e00e46377ef63b7070d113f8c09c2e3ea1225548 | 0a95d510871b6507ba4352c063f712281791bdf9 | refs/heads/master | 2023-05-01T12:00:21.541998 | 2021-05-10T00:28:45 | 2021-05-10T00:28:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 396 | cpp | 367_Valid_Perfect_Square.cpp | class Solution {
public:
bool isPerfectSquare(int num) {
if (num<0) return false;
long low(0),high(num/2+1);
while (low<=high) {
long mid = low + (high-low)/2;
long product = mid * mid;
if (product == num) {
return true;
} else if (product > num) {
high = mid - 1;
... |
73f31b6286e3272d76fa8ec310eb967837442e8f | ada318d06bb13b96b6ba1f1b29dde132589f2fe6 | /kb_test.txt | 2fe47e9c686add9ed05171e9b94aa477127bd8c0 | [] | no_license | jzy-byte-cmd/keyboard-gazer-test- | 90f478cfa4d1de7b438e78f38275b3482353a400 | c4a5bcad5f92219533cd7affabbc65d385bde90c | refs/heads/master | 2022-12-28T21:24:59.278639 | 2020-10-06T14:41:19 | 2020-10-06T14:41:19 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 16,093 | txt | kb_test.txt | #include <iostream>
#include <conio.h>
#include <windows.h>
#include <fstream>
#include <tchar.h>
#include <ctime>
//#pragma comment( linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"" )
using namespace std;
//声明
int symbol[70] = { 0 };
int b = 0;
//变量声明
int Kwrite(char a)
{
ofstream outfile;
outfile.open... |
f4289b88bc0e989c76356d710360584ca9b4c98e | 83abc9a2234192dbf69b276710f4219c6bc40e28 | /Bow-Man_Engine3/Bow-Man_Engine3/Source/Material.h | 4d6e8d8f70932d4b7ca38a91de7813b86cf48c2f | [] | no_license | GyungBaeCho/Bow-Man_Engine3 | 34c6f536fc5df28dcc61cdb046d0592629ee6bf3 | 879ff4cafb74c0cf15d7ee5b6e414d93a60e30da | refs/heads/master | 2021-04-09T14:17:08.767384 | 2018-03-18T14:30:00 | 2018-03-18T14:30:00 | 125,732,905 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 899 | h | Material.h | #pragma once
#include "ResourceData.h"
//Dummy Class
//class CResource;
//--------------------------------------------------
class CMaterial : public CResource{
private:
XMFLOAT4 m_vDiffuseSpecExp;
public:
static ID3D11Buffer* m_pcbMaterialColors;
public:
CMaterial(float r, float g, float b, float specular)... |
f8d79b1da60fb427b9028eef0adbefc1bb5266a4 | 6fc13abb5678ca70b96af488c1c66a63f7aef7d3 | /clip.cpp | 7fa9ff6504feaedc1ea86940912f21f8582f2f87 | [] | no_license | thasmin/twinkle | 71e43e4674e7464c7971f09180618f736ff50be7 | 502658c91ac0a9f5dba99112aac9a38880c95bdf | refs/heads/master | 2021-01-20T11:55:46.340216 | 2017-08-26T02:18:26 | 2017-08-26T02:18:26 | 82,636,620 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,773 | cpp | clip.cpp | #include "clip.h"
#include <iomanip>
#include <numeric>
#include <sstream>
extern "C" {
#include "libavutil/opt.h"
}
#include "logger.h"
std::ostream& operator<<(std::ostream& out, const TransitionEffect value){
const char* s = 0;
#define SWITCH_VAL(p) case(p): s = #p; break;
switch(value){
SWITCH_VAL(Transitio... |
4fc7acd62742197896107fbf0b2f686b00f45b68 | 15ae3c07d969f1e75bc2af9555cf3e952be9bfff | /analysis/pragma_before/pragma_220.hpp | 553b89019ced1c6401196631c1837a6ec95173ae | [] | no_license | marroko/generators | d2d1855d9183cbc32f9cd67bdae8232aba2d1131 | 9e80511155444f42f11f25063c0176cb3b6f0a66 | refs/heads/master | 2023-02-01T16:55:03.955738 | 2020-12-12T14:11:17 | 2020-12-12T14:11:17 | 316,802,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 74 | hpp | pragma_220.hpp | #ifndef JMRFYZHWWXG_HPP
#define JMRFYZHWWXG_HPP
#endif // JMRFYZHWWXG_HPP |
b4190a027c9e297678f6ffd8ef30b9071648d1d8 | 891cf45a426de2fe8fb1fb3e93d2159b8298d881 | /src/vw/Mosaic/UniviewQuadTreeConfig.h | 2626f1b922f1f8969ad4dd0ee43b75f33c13f39b | [
"BSD-3-Clause",
"Apache-2.0",
"LicenseRef-scancode-public-domain"
] | permissive | visionworkbench/visionworkbench | bf4bfeac0af1691844fc9fd496b4ffa153a1db9d | e7b350370ca424c745d223cbeaa9072fd42fca79 | refs/heads/master | 2023-08-30T06:32:10.746834 | 2023-08-22T21:46:05 | 2023-08-22T21:46:05 | 665,764 | 362 | 146 | NOASSERTION | 2019-11-14T16:35:49 | 2010-05-14T02:48:33 | C++ | UTF-8 | C++ | false | false | 2,130 | h | UniviewQuadTreeConfig.h | // __BEGIN_LICENSE__
// Copyright (c) 2006-2013, United States Government as represented by the
// Administrator of the National Aeronautics and Space Administration. All
// rights reserved.
//
// The NASA Vision Workbench is licensed under the Apache License,
// Version 2.0 (the "License"); you may not use this f... |
3f54033fb9ece08450cefd85ec6868f47ef8c077 | 9bdb93b3a3125c1b4d6480972459cb61b5ee2b0b | /src/libraries/Utils/TextureToViewportRenderer.h | c9222cde949ce039b654a9541928ea0212abf308 | [] | no_license | BatsiMcLovin/EZR-Project | 74d8275c07bb525e2e4c84c6c4613e14a718a1e1 | e9ff7b41102c1f5802e7ae6a593109ed5d66606c | refs/heads/master | 2020-03-07T23:53:07.702602 | 2018-04-01T18:46:43 | 2018-04-01T18:46:43 | 127,792,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 722 | h | TextureToViewportRenderer.h | //
// Created by rheidrich on 14.06.17.
//
#ifndef EZR_PROJECT_TEXTURETOVIEWPORTRENDERER_H
#define EZR_PROJECT_TEXTURETOVIEWPORTRENDERER_H
#include <Renderables/Quad.h>
#include <Shaders/SimpleShader.h>
#include <FBO/TextureArray.h>
namespace ezr
{
class TextureToViewportRenderer
{
public:
Textu... |
9e35c52b9d65c133fe6782c8efc37963d885e61a | f7f379a617a99904b919df4591756e6c282a75b4 | /q72_alt.cpp | ea4b6f40c092b5ac1bf791374f56f4f97321c522 | [] | no_license | kk77777/LeetCode-Solutions | f9bcbba1a29e33f0d495fc1fc66550f217037ce0 | aaae843bd52485cf7218fbfe1d58ae5e860662b8 | refs/heads/master | 2022-02-05T14:40:48.085094 | 2022-01-26T05:07:09 | 2022-01-26T05:07:09 | 251,509,553 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 961 | cpp | q72_alt.cpp | class Solution
{
int solve(string &s1, string &s2, int n, int m, vector<vector<int>> &dp)
{
for (int i = 0; i <= n; i++)
{
for (int j = 0; j <= m; j++)
{
if (i == 0)
dp[i][j] = j;
else if (j == 0)
dp... |
cc7aa3c4434543be8ff13f524945392b747890f5 | e17143acf0204d8a8b8e6e8f61893b9fc18e9d34 | /include/ImageFile.h | a781cc14eee0f4ad0d0d2f942330fc8023b42ce2 | [
"Zlib"
] | permissive | nullpointer2017/mod_uploader | 2b8654c847bfa87c7664828deb1c6bde02a9eecc | 31632a29138b18b7adbf533416a0ec660f1b07ac | refs/heads/master | 2022-07-26T15:25:00.829263 | 2022-06-27T00:42:39 | 2022-06-27T00:42:39 | 110,597,596 | 0 | 0 | null | 2017-11-13T20:21:31 | 2017-11-13T20:21:31 | null | UTF-8 | C++ | false | false | 2,317 | h | ImageFile.h | /******************************************************************************
* Copyright (C) 2007 Tetsuya Kimata <kimata@acapulco.dyndns.org>
*
* All rights reserved.
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any
*... |
1a3e8f7086d7e2cf1351033b498a939ff1438c5f | e90437391895d0d798278571826a93ce415506c8 | /include/grpc/event_engine/endpoint_config.h | ea1e172f7865be3cf99c8d20019b625b422710bf | [
"Apache-2.0"
] | permissive | donnadionne/grpc | ecca6a14a2bb0a24eb760bf8df478c4551c93c16 | 001c497c230fa94e8baec78fa0c83839c0e79103 | refs/heads/master | 2022-06-24T03:13:34.565857 | 2021-09-07T21:16:02 | 2021-09-07T21:16:02 | 31,379,498 | 2 | 0 | Apache-2.0 | 2022-05-13T08:04:02 | 2015-02-26T17:33:37 | C++ | UTF-8 | C++ | false | false | 1,965 | h | endpoint_config.h | // Copyright 2021 The gRPC Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... |
18593bde2af07a08a8f920f3bc3a516d52466d83 | eccf6398310a3f7d67ef18374d80733cc9077742 | /AuctionClient/ClientSocket.cpp | 96663a9a861e500d79013a1cd4589ab1df0b08a6 | [] | no_license | richardsongqc/AuctionSystem | 7d4ea444ff45980914b66438dedf2caebc5ad36d | 59402cd9fde29d7c7023058c700b8bb5d1fb0e5b | refs/heads/master | 2021-01-10T05:10:28.247881 | 2015-12-07T05:52:31 | 2015-12-07T05:52:31 | 46,315,085 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 477 | cpp | ClientSocket.cpp | // ClientSocket.cpp : implementation file
//
#include "stdafx.h"
#include "AuctionClient.h"
#include "ClientSocket.h"
#include "AuctionClientDoc.h"
// CClientSocket
IMPLEMENT_DYNAMIC(CClientSocket, CSocket)
CClientSocket::CClientSocket(CAuctionClientDoc* pDoc)
{
m_pDoc = pDoc;
}
void CClientSocket::OnReceive(int... |
5d05023f1b37bf13a2b6a1d8837e35ab297ed2cf | ba7308ec0c68378e3125c8d2d32113380c6f21fa | /WebDownloaderDlg.cpp | 47e003ec46146cf0cf62aae1b7d629480d7ce7c6 | [
"MIT"
] | permissive | smok95/WebDownloader | 33a0d3ba145c970aaa868040ab24b6e01f827583 | f0212ceab819bc01adc133e601b9ec7e5b7b5b26 | refs/heads/master | 2021-02-07T17:21:13.243056 | 2020-02-29T23:49:54 | 2020-02-29T23:49:54 | 244,056,437 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 6,388 | cpp | WebDownloaderDlg.cpp | // WebDownloaderDlg.cpp : 구현 파일
//
#include "stdafx.h"
#include "WebDownloader.h"
#include "WebDownloaderDlg.h"
#include ".\webdownloaderdlg.h"
#include "JKDir.h"
#include "urlmon.h"
#pragma comment(lib,"urlmon")
#include <wininet.h>
#include "JKDebug.h"
#include "WDReg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
... |
3b871a3ce89823863af61f00aa4c4b08268df8e0 | 8fd3b655b2dce3dec782ccc9d1779176758612c0 | /vehiclemaintainpage.cpp | 7c5a185cc45c4feb69aa7d0a4098ba485cd244fd | [] | no_license | isliulin/HHHTL1 | 0f0ce52016f2c0938cef7d99cb6ab8ec04992e53 | 944255c99ee8f9ec6a71574b208da1f6e7d62549 | refs/heads/master | 2022-03-29T09:35:42.153557 | 2018-08-05T13:19:20 | 2018-08-05T13:19:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,768 | cpp | vehiclemaintainpage.cpp | #include "vehiclemaintainpage.h"
#include "ui_vehiclemaintainpage.h"
#include "qdebug.h"
VehicleMaintainPage::VehicleMaintainPage(QWidget *parent) :
MyBase(parent),
ui(new Ui::VehicleMaintainPage)
{
ui->setupUi(this);
buttons<<ui->BTN1<<ui->BTN2<<ui->BTN3<<ui->BTN4<<ui->BTN5<<ui->BTN6<<ui->BTN7<<ui->BT... |
c6bd8343ec7735c3b3bc5e30809364bc86fc898b | 9ca51d1ee38b5157c11685b348ba58602c837d6a | /ch17/baseFile/binaryFile.cpp | b7bda60ee98b63c2930751ab8e08c696f146be0b | [] | no_license | HLPJay/C-PrimerPlusTest | 54fdc41e809e0bd707bc430b1dca3ade2faee6bc | bd08d23210b1947c7dd24d5ae974df5ec1136b6a | refs/heads/master | 2020-06-29T14:21:34.451932 | 2019-09-19T09:30:32 | 2019-09-19T09:30:32 | 200,559,949 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,975 | cpp | binaryFile.cpp | /*************************
二进制文件和文本文件
使用write()和read()实现,逐个字节进行复制,而不进行转换。
第一个参数强制转为为指向char的指针,第二个参数为长度
//TODO 强制转换为char*
*************************/
#include <iostream>
#include <fstream>
#include <iomanip>
#include <cstdlib> //exit()
inline void eatline()
{
while(std::cin.get() != '\n')
continue;
}
struct pla... |
eb06a101379f75856db8b19d88eba2cb981393c7 | 6a15b70197d05c1245f8a5572823545712731edb | /lib/InstModel/GenericInstModel/GenericInstModel.cpp | 9bc86f929b90eae26d557600d99ef453eadfcc75 | [] | no_license | ayush-qubit/spatial | a9ddb0574da8f3fd8e74445b703431d93798f9d8 | 48d0d0d307f40b5f58ddaa1c6dfef6d3080c9a90 | refs/heads/master | 2023-05-30T14:33:09.278435 | 2021-06-21T14:19:18 | 2021-06-21T14:19:18 | 340,381,795 | 0 | 0 | null | 2021-06-04T11:05:07 | 2021-02-19T13:45:21 | C++ | UTF-8 | C++ | false | false | 8,792 | cpp | GenericInstModel.cpp | #include "InstModel/GenericInstModel/GenericInstModel.h"
#include "InstInfo/InstInfo.h"
#include "vector"
namespace spatial {
/// extractInstInfo - Returns empty InstInfo for every instruction as it is not
/// support right now
InstInfo GenericInstModel::extractInstInfo(llvm::Instruction *) {
InstInfo II;
return ... |
a411b3544a4b79e7836404d9bf68b0cb8a49629a | 1cf1543cd5460621f530f730a4f3969cfa74197c | /Const.cpp | b274e7a6d9f02238a70702726fc1010ed19eef45 | [] | no_license | derpepe/sysprog | 042048d0c8f30fb26f0fb79a024530f67a852ca9 | 2fa6fb3b7c7f53b3fa8ff6aeb74d8d3e3331ba61 | refs/heads/master | 2021-01-18T14:01:45.742680 | 2010-02-23T22:23:25 | 2010-02-23T22:23:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,442 | cpp | Const.cpp | #include "Const.h"
tokenType Const::stateTypeToTokenType(stateType state)
{
tokenType myResult = TOKEN_UNKNOWN;
switch(state)
{
case STATE_IDENTIFIER:
myResult = TOKEN_IDENTIFIER;
break;
case STATE_INTEGER:
myResult = TOKEN_INTEGER;
break;
case STATE_SIGN:
case STATE_SIGN_OPENBRA... |
6e007f0554b41e697cacf472fd1c4de4791b72bf | 5cd36f5e76a7b1b255b6c115a19342211fd7bdf6 | /ckc_abb/tests/test_proj.cpp | 8a8cd384252e4ba120e471b2587a062ca724574a | [] | no_license | avishais/ml_planner | aa9d411a95d0c51638bda141ff2e3a4aba1e1765 | 28671b13c9eac7556662dbef5cb245dd92792c2d | refs/heads/master | 2020-03-08T06:11:03.289576 | 2018-04-03T20:31:46 | 2018-04-03T20:31:46 | 127,964,864 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,573 | cpp | test_proj.cpp | #include "kdl_class.h"
#include "net_proj.h"
#include <stdio.h>
#include <stdlib.h>
#include <fstream>
#include <chrono> // for high_resolution_clock
typedef std::chrono::high_resolution_clock Clock;
#define ROBOTS_DISTANCE 900
#define ROD_LENGTH 300
double fRand(double fMin, double fMax)
{
double f = (double)ran... |
e84fe15d7e20b5659875464e18fa0e9800017fb4 | cb066dbcb76f1ce142c1f5bf439bee57d546bbc0 | /application/slave_main.cpp | 44082c618b7813e37cd6cf57ae0f8530f7c61b58 | [] | no_license | JP-Reddy/distribute_download | 5220b2222a641c524d1c08996821decd0dfdbd3f | e0b78fafdae9ba63d93f2a806d3468eb6f425071 | refs/heads/master | 2020-04-04T10:09:35.772673 | 2018-11-04T04:14:14 | 2018-11-04T04:14:14 | 155,844,478 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,786 | cpp | slave_main.cpp | //Socket headers
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
//C++ headers.
#include <string>
#include <iostream>
#include <curl/curl.h>
//C headers.
#include <stdlib.h>
#include <string.h>
#include <cstring>
#include <fcntl.h>
#include <signal.h>
using std::cin;
using ... |
23f7a534b21ec13e100c1ff3fe937b2ff1cf1621 | c2ebaf489c1932ca852925219c4846377ee23dd0 | /cplusplus/exercise6/q2/q2.cpp | 123ceda79d72bdeb0b2e0628253675c478748a06 | [] | no_license | edlym96/misc-projects | 0c97be0b0322dd90ea489004a898593b250ee9a7 | e91a79ce91e9ed7a6575e6b8db8227a498c9f131 | refs/heads/master | 2020-06-19T21:33:41.316396 | 2019-08-08T21:37:46 | 2019-08-08T21:37:46 | 196,881,105 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 864 | cpp | q2.cpp | #include <iostream>
#include <cstring>
using namespace std;
void selection_sort(char a[]);
int minimum_from(char a[], int position);
void swap(char& first, char& second);
const int MAXIMUM_LENGTH=80;
int main(){
char str[MAXIMUM_LENGTH];
cout << "Type in a string" << endl;
cin.getline(str, MAXIMUM_LENGTH);
se... |
ad8dcba831841296257ad1026cd9d454db02c0f7 | 0e8d72cdea3d9ae065414d5061a885f4875594b8 | /CH-6 C++ CLASSES/ex6010.cpp | c044a0b7c14a66b85411730b40e40022ecd2f6c5 | [] | no_license | yeyintlwin/learn-cpp | 7fabe2d1d46a3ad37e1870547cfd5f89e1ebed03 | 0f8201ebe78f7d62073f3a6e3cc8841e2b2d24f2 | refs/heads/master | 2022-06-18T00:10:18.608936 | 2020-05-04T06:55:30 | 2020-05-04T06:55:30 | 245,497,044 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 450 | cpp | ex6010.cpp | // Listing 6.10: Overloaded constructors
#include <iostream>
class Box
{
float height, width, depth;
public:
Box(){};
Box(float h, float w, float d)
{
height = h;
width = w;
depth = d;
}
float calVolume()
{
return height * width * depth;
}
};
int main()
{
Box thisBox(7.5, 8.5, 9.5);... |
5bc47552957cc0ebe85b4d3cfed483f769d85cbe | 15ba4aefaad5ee8d7f1d7bfb3709c289315432f6 | /4.5/盒子与小球之四.cpp | dcd899cde2a52324368041372e9a7116da1efbe9 | [
"MIT"
] | permissive | tangxiangru/NOIP | e48b253e19eca82082dd7d9dfd3d75141930e238 | 6c756df37e5cb6105f5d5eb0fd9b03a4ef8407e4 | refs/heads/master | 2022-03-01T22:55:06.509064 | 2019-09-07T05:11:46 | 2019-09-07T05:11:46 | 194,476,273 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 884 | cpp | 盒子与小球之四.cpp | #include <iostream>
#include <string>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <algorithm>
#include <ctime>
#include <stack>
#define siji(i,x,y) for(int i=(x);i<=y;i++)
#define gongzi(j,x,y) for(int j=(x);j>=y;j--)
#define ivory(z,x) for(int z=h[x];z;z=e[z].n)
#define pii pair<int,int>
#define pi ... |
1033f93e3605e8dd842590101fbc2ecaa6727f60 | 2a9bb2479249dcc311dc437efdaf365f827e7cb2 | /IfcPlusPlus/src/ifcpp/IFC4X3/include/IfcReinforcedSoilTypeEnum.h | c62e0b3b5249ae9cd684a0bf56b6d57fb9f88894 | [
"MIT"
] | permissive | ifcquery/ifcplusplus | b889ea11bac77e34ef19c4561b24b4ac30389703 | d28b77d85ed45d3da5a674ee3d3ebee88e681717 | refs/heads/master | 2023-08-21T21:23:49.859570 | 2023-08-04T15:37:54 | 2023-08-04T15:37:54 | 33,250,365 | 540 | 240 | MIT | 2023-08-04T14:04:20 | 2015-04-01T13:53:19 | C++ | UTF-8 | C++ | false | false | 1,301 | h | IfcReinforcedSoilTypeEnum.h | /* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */
#pragma once
#include <vector>
#include <map>
#include <sstream>
#include <string>
#include "ifcpp/model/GlobalDefines.h"
#include "ifcpp/model/BasicTypes.h"
#include "ifcpp/model/BuildingObject.h"
namespace IFC4X3
{
// TYPE IfcReinforcedSoilTypeEn... |
d4d8a91f3526de68d770a7e7b047ec0906abbed6 | a2b0ccdfd1a3f385bc364d7330049a0273415fd7 | /Engine/Engine/src/graphics/animation/AnimationLoader.h | 2f173afe69617b5228a335077bec49b81c465f98 | [] | no_license | TheGreenBridge/bridgeengine | c38d4115fec818aed842a29af48f1860cbfa9502 | fd13d261a9f537a04b8b5a11fb76033ef7ec4708 | refs/heads/master | 2021-01-24T00:15:29.504844 | 2018-02-24T18:18:27 | 2018-02-24T18:18:27 | 122,758,838 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 230 | h | AnimationLoader.h | #pragma once
namespace engine { namespace animation {
// forward declaration
struct AnimationClip;
struct RenderableSkin;
bool loadAnimation(const char* path, AnimationClip *clipStorage, RenderableSkin *mesh);
}}
|
2424e08eb460e217bebb08db01dc96ddfbd97115 | 00bc7da8ebe48a6d01b6305317049376c181acb5 | /Direct2DNet/DWriteNet/DWriteError.cpp | bce8212dac02b66927572c84a61face62500d66a | [
"MIT"
] | permissive | SansyHuman/Direct2DNet | f9f8db13eb47d687b4a777cff75507abf0981fce | 345d981a07fd8cbdf7cf7e6ca9d7b493439dbd17 | refs/heads/master | 2021-07-24T12:04:38.292005 | 2021-04-27T13:27:10 | 2021-04-27T13:27:10 | 247,935,390 | 0 | 0 | MIT | 2021-04-21T19:44:14 | 2020-03-17T10:00:47 | C++ | UTF-8 | C++ | false | false | 24 | cpp | DWriteError.cpp | #include "DWriteError.h" |
8257ed96048e61bb1dcb02bb18837541efc60f5c | 303316f1105ab10d0978bab2731ee8d9ef0f7ee3 | /module04/ex02/TacticalMarine.cpp | be66fd4454aa0795b11f079cd1aa322207e84578 | [] | no_license | AcensJJ/Piscine-CPP | db26bcc710ce916c3313e73f429dc8918b9f60d3 | 773d3614a2eb7bf9f1c3e2f5a31a07e5b1ee4c7e | refs/heads/master | 2021-07-01T08:05:28.824226 | 2021-06-11T23:54:19 | 2021-06-11T23:54:19 | 241,883,493 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 892 | cpp | TacticalMarine.cpp | #include "TacticalMarine.hpp"
/*
** ------------------------------- CONSTRUCTOR --------------------------------
*/
TacticalMarine::TacticalMarine()
{
std::cout << "Tactical Marine ready for battle!" << std::endl;
}
TacticalMarine::TacticalMarine( const TacticalMarine & src )
{
(void)src;
std::cout << "Tactical M... |
22008f8e60959544cfc84bbb6e51a55380ad7b36 | 39703209f20ad5d630808340b8e8bb9b8483d121 | /selection_sort.cpp | e99a3055eeb0d98b2e37d13ed386240756b432ad | [
"ISC"
] | permissive | chaitanyav/fun_code | 6586f24a51532d4a3675ed696d9a6777d5973f8c | 3e9aa04c050f357ec5389adeb2bda93c929393db | refs/heads/master | 2016-09-06T06:53:06.109068 | 2012-11-12T21:00:26 | 2012-11-12T21:01:00 | 905,560 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,174 | cpp | selection_sort.cpp | /*
*Copyright 2010, NagaChaitanya Vellanki
*
*Author NagaChaitanya Vellanki
*
* Selection sort , complexity O(n^2)
*/
#include <iostream>
#include <stdint.h>
#include <vector>
#include <algorithm>
using namespace std;
void PrintArray(vector<int32_t> &array)
{
for (int32_t index = 0; index < array.size(); ind... |
74449c3019c3a43dca34e6d8f2cae9258dff80b4 | b88c23a80df02c5214bf62c968a0479d7f2b74f9 | /test/test-600-others/sources/tools/algorithm/tokenizer/list-new/test-tokenizer-list-new-w.cpp | 123957bdee2957ff8b2342cfdbccfcf296a0292f | [
"MIT"
] | permissive | Kartonagnick/tools | 6458cab1754a9d521755781f4301428189780fad | 5e4027d9e734adff375b6d56092ffb80364a0389 | refs/heads/master | 2023-04-28T15:15:42.141295 | 2021-05-16T20:39:09 | 2021-05-16T20:39:15 | 340,688,558 | 0 | 0 | MIT | 2021-03-17T20:34:52 | 2021-02-20T15:35:50 | C++ | UTF-8 | C++ | false | false | 9,842 | cpp | test-tokenizer-list-new-w.cpp |
#include <mygtest/modern.hpp>
//=================================================================================
//=================================================================================
#ifdef TEST_TOOLS_TOKENIZER
#include <tools/features.hpp>
#ifndef dHAS_AGGREGATE_INITIALIZE
dMESSAGE("[test] tools:... |
41cdbacdc987e8562886e222d7ef22516168e4c4 | 78c443fafbe992d2d8b6b8dc3f2d4a346b1f019b | /src/ui/MainWindow.cpp | cff8db81516c9ecd881dc1f819c68e333528acf9 | [] | no_license | seanyangsz/FaceRecognition | 21dbdb0fbf3a8444bc9e13b8f9c3d0468420c5a5 | 6b66e3b65fd3658174b337722fa2d4d31e312d36 | refs/heads/master | 2020-04-06T14:41:42.859410 | 2018-11-14T13:19:02 | 2018-11-14T13:19:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,271 | cpp | MainWindow.cpp | #include "ui/MainWindow.h"
#include "ui_MainWindow.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
// Setup UI
ui->setupUi(this);
// Connect other signals/slots
connect(ui->actionAbout, SIGNAL(triggered()), this, SLOT(showAboutDialog()));
connect(... |
3292d41e7497eb39f3cef31c4e1797bc8df126e7 | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_MultiUseUI_classes.hpp | db364648bc7c46de48b4fda8369bd842ee283ad3 | [
"MIT"
] | permissive | git-Charlie/ARK-SDK | 75337684b11e7b9f668da1f15e8054052a3b600f | c38ca9925309516b2093ad8c3a70ed9489e1d573 | refs/heads/master | 2023-06-20T06:30:33.550123 | 2021-07-11T13:41:45 | 2021-07-11T13:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,083 | hpp | ARKSurvivalEvolved_MultiUseUI_classes.hpp | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_MultiUseUI_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//--------------------------------------------------------------... |
a29cecc61b38c3f664e84177f1959ca43278d40a | 2476e036866ebf861e834eb0ddb2a8cd49104285 | /leetcode/leetcode258/add_digit.cpp | 9ae4a140b048c8b6c8b491fdf2a27e907c7bf240 | [] | no_license | xchmwang/algorithm | 7deaedecb58e3925cc23239020553ffed8cc3f04 | 55345160b6d8ef02bc89e01247b4dbd1bc094d5e | refs/heads/master | 2021-09-17T23:54:40.785962 | 2018-07-07T06:40:27 | 2018-07-07T06:40:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 465 | cpp | add_digit.cpp | #include <iostream>
using namespace std;
class Solution {
public:
int addDigits(int num) {
while (num > 9) {
int digit_sum = 0;
while (num) {
digit_sum += num%10;
num /= 10;
}
num = digit_sum;
}
return num;
... |
510a8feb576289cd0c4966216082ef3a4090876a | f4118e47a6dc256f7525fe2fbda41e8e0ce447b5 | /Bin/tools/publish-tool_pro/source/lua_function/LuaFunction.cpp | 935f02ea17f0b8b32993a3fe134bf9c7d692c485 | [] | no_license | tkzcfc/ed_imgui | 066668dd0a1f567c056b9f926288ed639b86033a | 609e6b0aa570635816b94b57229cc4bb76f44114 | refs/heads/master | 2023-06-07T22:27:40.136889 | 2023-05-30T10:44:11 | 2023-05-30T10:44:11 | 221,164,955 | 6 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 6,296 | cpp | LuaFunction.cpp | #include "LuaFunction.h"
#include <assert.h>
LuaRef::LuaRef()
: L(nullptr)
, m_ref(LUA_NOREF)
{
}
LuaRef::LuaRef(lua_State* aL, int index)
: L(aL)
, m_ref(LUA_NOREF)
{
lua_pushvalue(L, index);
m_ref = luaL_ref(L, LUA_REGISTRYINDEX);
}
LuaRef::~LuaRef()
{
unref();
}
LuaRef::LuaRef(const LuaRef& other)
: ... |
939e23e3a34422e390efe1f18e26f3a93d00f5ce | 6a2bf8b17e5856fa288b6f788019d8f508a38fb7 | /0200/0269/B/Solution.cpp | 19d7a802c42fc2d8611a0e2ab36ee5ed4e184d3c | [] | no_license | apluscs/Codeforces | a708951dc410e85d201d44b9e55a415f8bf4f280 | 38646599e7f7912d2ebe3853a6693407ea5f36b7 | refs/heads/master | 2021-06-11T19:59:13.147940 | 2021-04-15T01:33:16 | 2021-04-15T01:33:16 | 171,361,624 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,018 | cpp | Solution.cpp | #include <assert.h>
#include <math.h>
#include <algorithm>
#include <climits>
#include <functional>
#include <iostream>
#include <numeric>
#include <queue>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#define ll long long
using namespace std;
const int mod = 1e9 + 7;
int n, m... |
af3515a55828b1ab07a1f4e5d5f7a4498270b0d9 | 4c9e16e6b2f1a2a0e1f8cf29e6c6128fb1706a42 | /MontyRaspberryPI/hardware/stepper.cpp | 6b74cd7b4d48e81837c0120f29eda299c5b0a3bd | [] | no_license | travelhawk/MontyNotPython | 21ffcfa83427db9c2a9444a7e50d4b9942e85a09 | cfe241e09f1bcf63ce37aab998d4b9982c7cdefe | refs/heads/master | 2020-05-29T12:28:32.455072 | 2020-03-01T18:27:34 | 2020-03-01T18:27:34 | 27,126,859 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,280 | cpp | stepper.cpp | ///g++ -Wall -o stepper stepper.cpp
#include "stepper.h"
#include "util/gpio.h"
#include <QThread>
#include <unistd.h>
#include <QDebug>
const int Stepper::TIME_TO_WAIT = 10;
/**
* @brief create a new stepper instance
* @details init the pins
*/
Stepper::Stepper(int pin1, int pin2,int pin3, int pin4){
counter=0... |
ce15bfb82750c920aa1f9092a9033fd72579dd35 | 0e53a42e9bc27b8353a04b4121d63dc61b615ec8 | /src/ExtensionsCommon/ProfilerHostServices.h | 9c6656cfb65ce7c6b737355d10f1c067659cfe4e | [
"LicenseRef-scancode-generic-cla",
"MIT"
] | permissive | microsoft/CLRInstrumentationEngine | 2b899b981323e7c96a3a7b50f370314370d78a3c | 8f085c2c18d82577c94e2425bd58f0e301603e3a | refs/heads/main | 2023-08-26T07:38:19.043373 | 2023-04-20T16:44:34 | 2023-04-20T16:44:34 | 144,217,162 | 86 | 49 | NOASSERTION | 2023-09-06T11:36:07 | 2018-08-10T00:31:22 | C++ | UTF-8 | C++ | false | false | 2,274 | h | ProfilerHostServices.h | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
#include "InstrumentationEngineInfraPointerDefs.h"
#include "AgentValidation.h"
#include "Exception.h"
class CProfilerHostServices
{
CProfilerHostServices(const CProfilerHostServices&) = delete;
public:
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.