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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5a2e09aa7802460c5a287125675196d62d1ad396 | 60a15a584b00895e47628c5a485bd1f14cfeebbe | /comps/misc/Stage/StatusPane.cpp | c8c5fc79c430c696c391e188ed3756fe671f15c6 | [] | no_license | fcccode/vt5 | ce4c1d8fe819715f2580586c8113cfedf2ab44ac | c88049949ebb999304f0fc7648f3d03f6501c65b | refs/heads/master | 2020-09-27T22:56:55.348501 | 2019-06-17T20:39:46 | 2019-06-17T20:39:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,138 | cpp | StatusPane.cpp | #include "StdAfx.h"
#include "StatusPane.h"
#include "core5.h"
#include "statusint.h"
#include "misc_utils.h"
#include <stdio.h>
#include <commctrl.h>
#include "PaintDC.h"
// {61EC9436-676B-4a3a-904D-FAE45321447B}
static const GUID guidPaneFocus =
{ 0x61ec9436, 0x676b, 0x4a3a, { 0x90, 0x4d, 0xfa, 0xe4, 0x53, 0x21, 0x... |
f819693f022862c9301cf5459ca078216bbad435 | d315aba79615f8efbc3329f89278f5df46eaa91c | /srcs/Star1.cpp | 9f37a3c1cc2849fbfd600474e672bdccb2c7f60f | [] | no_license | lnicosia/ft_retro | 5de5393fb2558511116526a99ed0f57c025d0e18 | 2ea67b965bfd4f60eee2c58aa90308828cde804e | refs/heads/master | 2020-08-20T06:16:35.026552 | 2020-06-25T12:12:15 | 2020-06-25T12:12:15 | 215,990,662 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,281 | cpp | Star1.cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Star1.cpp :+: :+: :+: ... |
75d4a636ee896e575a7a8d5ea4aad5a0ac0437ec | efe9b015f3e45e8df7a457d39292a6a31afb23ec | /mlir/include/mlir/Dialect/X86Vector/Transforms.h | 66749d55d594d983ee7dcbfc036aa1a6ec7ff687 | [
"LLVM-exception",
"Apache-2.0"
] | permissive | open-dotnet/llvm-project | 3c8cd67ed2501630f46e2ff574d6a8a4e977e92c | b72b56016a6b586a22a49f145c924c03e4239b1d | refs/heads/main | 2023-09-05T18:23:30.802715 | 2021-11-22T02:14:30 | 2021-11-22T02:16:02 | 430,545,862 | 1 | 0 | null | 2021-11-22T03:09:22 | 2021-11-22T03:09:22 | null | UTF-8 | C++ | false | false | 5,463 | h | Transforms.h | //=- Transforms.h - X86Vector Dialect Transformation Entrypoints -*- C++ -*-=//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------... |
96d9443f49728328049ce82e36fdfbb4fc185480 | 401a27fa7a2b1c1d568f10e26fe37ef3b598e6ad | /Train Tracks/MarkedGraph.cpp | 21afa98f197827ff3e9754b3e2138a0cd1d8b620 | [] | no_license | AlexLowen/Train-Tracks | 19b874b963df422102f8e8c3f9db6c9f2b91f88e | 9dbadd53780961be03944b49ad38dd43fc74e19c | refs/heads/master | 2020-04-10T14:57:13.414911 | 2019-01-10T01:24:21 | 2019-01-10T01:24:21 | 161,092,498 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,097 | cpp | MarkedGraph.cpp | //
// MarkedGraph.cpp
// Train Tracks
//
// Created by Alex Lowen on 12/30/18.
// Copyright © 2018 Alex Lowen. All rights reserved.
//
#include "MarkedGraph.hpp"
#include <iostream>
#include <string>
#include <vector>
#include <set>
#include <map>
#include <cstdlib>
int CharToInt(const char ch){
char letter='... |
b8e43fb7218c4f1248c9b0542202f8cd219beb10 | c85295cb8442553223786375db41ce1dc0d0d27d | /desktop/report-detection.cpp | bd9221c836db2853db304cc4e8fc41e31c7b5cb2 | [
"MIT"
] | permissive | hrabalik/fmo-cpp | 8769b70a5a69f06a89146ccfbaf5fb28e4eaabb1 | 658545f0cf015a13ab16950f17027e622c87e5fb | refs/heads/master | 2021-06-17T11:33:23.675346 | 2017-05-30T09:59:23 | 2017-05-30T09:59:23 | 86,446,432 | 3 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 3,497 | cpp | report-detection.cpp | #include "report.hpp"
namespace {
const char* space[4] = {" ", " ", " ", " "};
}
// DetectionReport
DetectionReport::DetectionReport(const std::string& directory, const Date& date)
: mOut(fileName(directory, date), std::ios_base::out | std::ios_base::binary) {
if (!mOut) {
std::c... |
c2d4006d650b21f91dcdf3d433757706c0de12e7 | e7729dfd11a0257b00e3b826baa9f9f9c3689f3e | /DynamicProgramming/smallest_subset_with_or.cpp | a267551c46960ed58c888707dbfcb923fa8a5462 | [] | no_license | abhishek0508/cp-algo | a430dd3b3070b8e44498274114167b489056467e | f4c7ebe79efa97488c5fe94a60baf045debf248e | refs/heads/master | 2023-04-16T06:29:07.397171 | 2021-04-28T04:58:06 | 2021-04-28T04:58:06 | 296,024,269 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 663 | cpp | smallest_subset_with_or.cpp |
int helper(int pos, vector<int> nums, int curr_or, int target){
if(pos>=nums.size()){
return 0;
}
if(curr_or == target){
return 1;
}
if(dp[pos][curr_or]!=-1){
return dp[pos][curr_or];
}
int ans1 = INT_MAX, ans2 = INT_MAX;
ans1 = min(ans1,helper(pos+1,nums,cu... |
fad1022569c7d5980f851a8f9d48864ea8ef0448 | 462350b609f463d773e60e066797a1adaccdf8f4 | /acm/HDU/2010.cpp | 365d5f37f01fcdaecd1f65f13414eb79fcf2c320 | [] | no_license | lifuxianoa/Mystudy | 058bd860ada31c34adf9a206f920c7b635494cfd | bb48a6194aec888bef5115ac0b2779e846056bc0 | refs/heads/master | 2016-09-08T06:07:36.356120 | 2013-10-09T07:41:59 | 2013-10-09T07:41:59 | 2,487,974 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 720 | cpp | 2010.cpp | /*
* 1000.cpp
*
* Created on: 2013-8-26
* Author: Administrator
*/
#include <stdio.h>
bool isFlower(int n)
{
int sum = 0;
int digit = 0;
int num = n;
while(n > 0)
{
digit = n % 10;
n /= 10;
sum += digit * digit * digit;
}
if (sum == num)
{
return true;
}
else
{
return false;
}
}
int... |
c8563a93041773138acb543ec1584bab430cecbd | b1ab8a527094dc8a5f212748a5261d74e4e79f7b | /实验代码/汇编5-2.cpp | 96aa7c610c2eeda20997eac5bf2d5b58a8eb6eb1 | [] | no_license | zoubs/AssemblyLanguage | 6a394942fc669d5bb9f5acb0744ad21b5068665f | bc254f2c646e1dce4cedc431730e93d9eb638f65 | refs/heads/main | 2023-01-13T11:11:45.708536 | 2020-11-18T05:52:52 | 2020-11-18T05:52:52 | 313,835,510 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 959 | cpp | 汇编5-2.cpp | #include <stdio.h>
#include <string.h>
#define MAX 100
int count(int type, int& m, int &n)
{
if (type == 0)
{
m++;
}
else if (type == 1)
{
n++;
}
return 0;
}
int number(char ch) //a为当前字符,判断是否为数字
{
if (ch >= '0' && ch <= '9')
{
return 1;
}
else
return 0;
}
int alph(char ch) //a为当前字符,判断是否为字母
... |
6b1cb8625a39bc8d755b43c67ba185ad11a92635 | 3279f5ae1405c6796a3cdcfbb7125b5dfcbc63a6 | /ColorHSV.hpp | e7c470d8a90304b55adeb4c1d667c14769bc656a | [
"MIT"
] | permissive | richardboo/Chromatic4cpp | 1bc0f2c9fc38947c1fdf8aa5cafea9f0b8522e3d | 31a7e31cd331728ad65280d5d57556c3bd0a8605 | refs/heads/master | 2021-01-01T15:42:41.890167 | 2017-02-22T15:40:17 | 2017-02-22T15:40:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,702 | hpp | ColorHSV.hpp | //
// ColorHSV.hpp
// Playground
//
// Created by Reyn-Mac on 2017/2/18.
// Copyright © 2017年 Reyn-Mac. All rights reserved.
//
#ifndef ColorHSV_hpp
#define ColorHSV_hpp
#include <iostream>
#include "BaseMath.hpp"
#include "BaseTypes.hpp"
using namespace std;
struct RGB;
struct RGBA;
struct CMYK;
struct HSL;
st... |
26fd8dcf10a5e019ae7b97c2caf7cc9047d5fde6 | 529db0a43f5cd112ea93dcbd85068727795d17f0 | /Phase-1/Day-8/3-SubwayRunners.cpp | 2278c2d98762a7f4ab3c289783f273fb5d3ae226 | [] | no_license | antassinha/Competitive_Coding | 5252818e7e7204e8b48c64c9a52a39303d97a395 | 5cc3f85325b9f2c28ef7dbdff7e1ca28394c17df | refs/heads/master | 2020-06-16T06:37:49.571971 | 2019-07-06T06:06:14 | 2019-07-06T06:06:14 | 195,503,847 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 916 | cpp | 3-SubwayRunners.cpp | #include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int Switch(int ini,int x,int y){
if(x==2 && y==3){
if(ini == 2)
return 3;
else if(ini == 3)
return 2;
else
return ini;
}
if(x==1 && y==2){
if... |
846ab85d30bd3036ce86d0a61a94055273cf241d | d189ae8b44ccbb95ca28a9606a704526086c3994 | /src/core/splitter.cpp | 5f8939686b11775f6c9f32007d16a4ab53b736c0 | [
"MIT"
] | permissive | AlbertoCasasOrtiz/twigy | 1fa99d1dea13b3093ec0e5653bc12fa54e014d44 | 96cf39f6281cca7961dc045cad1dadaaabb5349e | refs/heads/master | 2022-11-11T14:51:03.815857 | 2020-06-29T18:51:38 | 2020-06-29T18:51:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,846 | cpp | splitter.cpp | #include "core/splitter.h"
#include <limits>
#include <vector>
#include "core/utils.h"
Splitter::Splitter(const std::vector<std::vector<double>> *feature_data,
const std::vector<int> *label_data, int min_samples_leaf,
ImpurityMeasure impurity_measure, std::size_t max_features,
... |
93302f6bb05e2f55f7bb7de60ebad24152c3b432 | 36c2eec4816c17570b771174dfbff7a81ded3cac | /agent/src/main/cpp/bytecode/ConstantInteger.cpp | b28b48ebffb39d52e2c836973ed14ed47e66fb00 | [] | no_license | jakubhava/Distrace | a50ca4b8a35a1f35a09aceb438ba40386a0975d8 | b690d87c5b68f55f166ba6ab7c580617fc5c983b | refs/heads/master | 2020-12-26T04:56:44.592620 | 2018-11-05T14:51:36 | 2018-11-05T14:51:36 | 53,582,673 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 304 | cpp | ConstantInteger.cpp | //
// Created by Jakub Háva on 18/10/2016.
//
#include "ConstantInteger.h"
#include "JavaConst.h"
ConstantInteger::ConstantInteger(ByteReader &reader) : ConstantInteger(reader.readInt()){ }
ConstantInteger::ConstantInteger(int bytes) :Constant(JavaConst::CONSTANT_Integer){
this->bytes = bytes;
}
|
5f7e6455072a6fde45de071b674683256ad87a34 | fa6a6fb34fb61c71bc55daea50e799164711126e | /CryGame/STLPORT/test/regression/genern1.cpp | 579dfdc52740919b1669a8469ff361329b4fad16 | [
"LicenseRef-scancode-stlport-4.5",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | HackCarver/FunCry | 3e683309b418b66d4b0baf267ace899b166e48f8 | e03d420a825a70821e5d964556f3f87a9388d282 | refs/heads/main | 2023-08-24T06:43:19.121027 | 2021-10-15T23:42:59 | 2021-10-15T23:42:59 | 377,707,614 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 896 | cpp | genern1.cpp | // STLport regression testsuite component.
// To compile as a separate example, please #define MAIN.
#include <vector>
#include <algorithm>
#include <iostream>
#include <cstdlib>
#include "fadapter.h"
#ifdef MAIN
#define genern1_test main
#endif
#if !defined (STLPORT) || defined(__STL_USE_NAMESPACES)... |
f63fcdb9be938c87e692d05aff4fa234e808cdaf | e359db0e752a11c5d677e3a82574065831bab447 | /app/demo/touchgfx_demo2015_480x272_8MB/generated/fonts/src/Table_Asap_Regular_18_4bpp.cpp | c5712365e7638c061c56573d8b311df4630e694c | [] | no_license | chichtlm/TouchGFX | 694936495ba49b4baba4fb56fd1165f424518c94 | 09cfdf466ae98fa61f54d55548248134a007871f | refs/heads/master | 2020-05-10T00:07:11.813953 | 2016-12-14T06:55:22 | 2016-12-14T06:55:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,799 | cpp | Table_Asap_Regular_18_4bpp.cpp |
#include <touchgfx/Font.hpp>
#ifndef NO_USING_NAMESPACE_TOUCHGFX
using namespace touchgfx;
#endif
FONT_LOCATION_FLASH_PRAGMA
KEEP extern const touchgfx::GlyphNode glyphs_Asap_Regular_18_4bpp[] FONT_LOCATION_FLASH_ATTRIBUTE = {
{ 0, 32, 0, 0, 0, 0, 4, 255, 0, 0},
{ 0, 65, 11, 13, 13, 0, ... |
3b25d165d9f8a0bca5f4081337a6987bad593a20 | 1e098d4bf546b0c88c5e79d83afeb1aa4e120956 | /myview.h | f1785fbd088cb4f81d5cccf5d8e1c49a8c1911d6 | [] | no_license | 13627326651/MyTanke | 832554fadd20650ac6255982213316223cccb4be | edf829969a1c57f7a2b23bf1062f6858760481e0 | refs/heads/master | 2020-06-14T02:09:13.672159 | 2016-12-04T04:45:31 | 2016-12-04T04:45:31 | 75,518,066 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 742 | h | myview.h | #ifndef MYVIEW_H
#define MYVIEW_H
#include <QGraphicsView>
#include "tanke.h"
class MyView : public QGraphicsView
{
Q_OBJECT
public:
enum BarrierType{BLUEWATER,WHITEWALL,REDWALL};
MyView();
void initView();
void createTanke();
void initTankeInfo();
void displayMenu();
protected:
void ke... |
3a7e8ab029dbf19a3395e4f1bbabbc4cae8844e3 | 1c0c3fe481bbf989ac55507782249ddc62011b8e | /Programmeren/charles_gtk/user.hpp | df5e4902d06f5cae5f559a5babee3c3d034ca61d | [] | no_license | hettoo/informatica | ebc0d375a7378af1902106f55003927c960bb38e | 38430f2c137bbd32b1d4d3d11c158d98aefbd0ff | refs/heads/master | 2016-09-05T10:52:00.888961 | 2012-09-25T15:16:30 | 2012-09-25T15:16:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,424 | hpp | user.hpp | #ifndef __CHARLES_USER_H__
#define __CHARLES_USER_H__
#include <string>
#include "src/globals.hpp"
/* Customisable constants */
const int FIELD_COLS = 50;
const int FIELD_ROWS = 32;
const std::string DEFAULT_LABYRINTH = "labyrinth";
const int DEFAULT_WINDOW_WIDTH = 900;
const int DEFAULT_WINDOW_HEIGHT = 600;
cons... |
0272b38365f25e0723f4b8c8edaf2161e7b188c1 | 1207c707693747a979699512f4dedfbb6e4e4056 | /VisualisationGraph/src/serialize/Serialize.cpp | ae00e389847756f4226672079211ae22b9a23de0 | [] | no_license | antho1404/myownprojects | 46b91b923eb48290edc6038e3cfaa7f11d19bf50 | 168deb390c8f438819effcc735a7dd01805229a4 | refs/heads/master | 2021-01-11T11:00:53.738119 | 2010-03-14T21:57:43 | 2010-03-14T21:57:43 | 32,131,194 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 682 | cpp | Serialize.cpp | /**
* @author Estebe Anthony
*/
#include "Serialize.h"
#include "GraphXml.h"
#include "AlgoLoader.h"
Serialize *Serialize::instance = NULL;
Serialize::Serialize() {
objGraph = NULL;
objAlgo = NULL;
}
Serialize::~Serialize() {
delete objAlgo;
delete objGraph;
}
Serialize* Serialize::getInstance() {
if (N... |
a3b5876ad7ce2203cc156aa39e5c0156af7bdd3f | eb4d694fe074e85d41a00af3aa9c98191f8df9f6 | /pkgs/costmap_2d/src/voxel_costmap_2d.cpp | 6a35762e90729866df3899860ea881dc0b499963 | [] | no_license | zlalanne/TurtlebotSeniorDesign | 864f52ede645e7e7351a689423c09a5201618eff | f818eeea5097157197216f1daeed6cb11829fbde | refs/heads/master | 2020-05-18T20:56:29.798255 | 2012-04-21T17:26:23 | 2012-04-21T17:26:23 | 3,507,345 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,723 | cpp | voxel_costmap_2d.cpp | /*********************************************************************
*
* Software License Agreement (BSD License)
*
* Copyright (c) 2008, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following cond... |
36aaf317b42fbe36db87aaf637106bc2be607bf7 | 72798740f9d8a20ccd43782698ef1c2cece31a69 | /Graph Problems/FlightDiscount.cpp | e64daed69e6110d715491a11f553bc55d591fedc | [] | no_license | Radhesh-Sarma/CSES-Problemset-Solutions | d2b29007b90030765c02faa4792639f06e449fab | 039dbb55a105e120045d7ce2e288da57ddb73b3f | refs/heads/master | 2022-12-28T00:04:32.466359 | 2020-10-11T17:04:12 | 2020-10-11T17:04:12 | 291,469,042 | 3 | 1 | null | 2020-10-11T17:04:13 | 2020-08-30T12:47:32 | C++ | UTF-8 | C++ | false | false | 2,847 | cpp | FlightDiscount.cpp | #include<bits/stdc++.h>
using namespace std;
#define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define endl "\n"
#define ll long long
#define int long long
#define double long double
#define max(a,b) (a>b?a:b)
#define min(a,b) (a<b?a:b)
#define mp make_pair
#define pb push_back
#define... |
f12e37837d22bdc525af3124464d907d1b9fa457 | 425963de819e446a75441ff901adbfe5f1c5dea6 | /components/sync_bookmarks/bookmark_model_associator.cc | 958a6ffa60b10057194ac3939f81937abdd8902e | [
"BSD-3-Clause"
] | permissive | Igalia/chromium | 06590680bcc074cf191979c496d84888dbb54df6 | 261db3a6f6a490742786cf841afa92e02a53b33f | refs/heads/ozone-wayland-dev | 2022-12-06T16:31:09.335901 | 2019-12-06T21:11:21 | 2019-12-06T21:11:21 | 85,595,633 | 123 | 25 | NOASSERTION | 2019-02-05T08:04:47 | 2017-03-20T15:45:36 | null | UTF-8 | C++ | false | false | 38,170 | cc | bookmark_model_associator.cc | // Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/sync_bookmarks/bookmark_model_associator.h"
#include <utility>
#include "base/bind.h"
#include "base/command_line.h"
#include "base... |
183cb3210b1e6338292e1bd68f6d3df1e81ac2cb | 343da56e3c524f62caf39d7f9abefb5ea8a15e63 | /Sum.h | 9ac5587ccab8ea6014efe1a2a8a8d57a81810991 | [] | no_license | manuelsalamino/Spreadsheet | cfc4f3708e98387734708df2752e314fb56ef384 | dd5c0a1b9a52aaee8a73acaeb2966b88b9aa7dd0 | refs/heads/master | 2022-04-14T20:03:11.491370 | 2020-03-25T18:14:28 | 2020-03-25T18:14:28 | 100,630,024 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 272 | h | Sum.h | //
// Created by utente on 26/10/2016.
//
#ifndef ELABORATO_SUM_H
#define ELABORATO_SUM_H
#include "Cell.h"
#include "Formula.h"
class Sum : public Formula {
public:
Sum(Cell* ptr) : Formula(ptr){}
virtual void calc() override;
};
#endif //ELABORATO_SUM_H
|
5e825ad36f067713e7bd0a4902010a5cdabd9c05 | c91fa94edd26e3ba58d04d3843c834e1a19d24ad | /StudySeries/StudyCpp/Chap09App/TryCatch.cpp | 2bccb2b3e19ae6ae10a40e69fe87cc299d73998e | [] | no_license | jsc5023/StudentStudySpace | d1c708e8fc827012ae201721f8842261f89c2279 | cc181b5645b30bbabeb9ec7deaa738b7d1a035d8 | refs/heads/master | 2023-02-09T06:51:04.854083 | 2020-12-04T12:50:40 | 2020-12-04T12:50:40 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 492 | cpp | TryCatch.cpp | #include <stdio.h>
int main() {
int a, b;
try
{
printf("a를 입력하세요 : ");
scanf("%d", &a);
if (a < 0) throw a;
printf("b를 입력하세요: ");
scanf("%d", &b);
if (b == 0) throw double(b);
printf("나누기결과 %d\n", a / b);
}
catch (int a)
{
printf("%d는 음수이거나 0이므로 연산 불가\n", a);
}
catch (double b)
{
printf("... |
0bfd079b396722530288161b9c9447d41351476c | 6ea50d800eaf5690de87eea3f99839f07c662c8b | /ver.0.8.1/Node.h | 2b4779cd6105b721988de188406e9f6e9a297c5e | [] | no_license | Toku555/MCPE-Headers | 73eefeab8754a9ce9db2545fb0ea437328cade9e | b0806aebd8c3f4638a1972199623d1bf686e6497 | refs/heads/master | 2021-01-15T20:53:23.115576 | 2016-09-01T15:38:27 | 2016-09-01T15:38:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 205 | h | Node.h | #pragma once
class Node{
public:
Node(int,int,int);
void _init(void);
void createHash(int,int,int);
void distanceTo(Node*);
void equals(Node*);
void hashCode(void);
void inOpenSet(void);
};
|
531d1dc084319de7ea1ccab62ccde4ee2bbd3e53 | 9f520bcbde8a70e14d5870fd9a88c0989a8fcd61 | /pitzDaily/859/pa | 695d66c0ceb907d2e48072a1de5ac66b9df99ceb | [] | no_license | asAmrita/adjoinShapOptimization | 6d47c89fb14d090941da706bd7c39004f515cfea | 079cbec87529be37f81cca3ea8b28c50b9ceb8c5 | refs/heads/master | 2020-08-06T21:32:45.429939 | 2019-10-06T09:58:20 | 2019-10-06T09:58:20 | 213,144,901 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 104,946 | pa | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1806 |
... | |
18b7df7a03d432ee62b7834d5bf8b93977a0d7de | 74481b97524ebb4cad7b24f74cc7ad8ef8437227 | /SimulerCombat.h | b286adbf182701cf5e9333d645a09e8271313726 | [] | no_license | Zilmerx/RainbowSix | d42de0ded09b4ba744acdaf69a0654391d071b3a | fc44310705102574b75bcc27f40803dbc6c67222 | refs/heads/master | 2020-06-23T17:21:48.864372 | 2017-01-26T21:38:05 | 2017-01-26T21:38:05 | 66,678,856 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,410 | h | SimulerCombat.h | #pragma once
#include <ostream>
#include <future>
#include <atomic>
#include "Operator.h"
class SimulerCombat
{
private:
Operator& m_op1;
Operator& m_op2;
// Pense pas qu'un atomic / un mutex soit necessaire.
bool Start;
bool KeepOnGoing;
std::vector<std::pair<Operator&, Damage>> damageLog;
public:
Simul... |
7297e6d0c88e443208a0e6624f1badda5c6d480c | 8f34911e697ef220d7cf76d44fa9b560be4ba7f0 | /Engine/Header/Render/Gizmos/CGizmosDirectionalLight.hpp | 3aa51a1c16f6036f7913f869b1f6f829f26f32bc | [
"MIT"
] | permissive | RaMaaT-MunTu/OOM-Engine | 3d85d6bef34d55b4061dc5f87d74d411e66ec93a | e52f706d17f1867f575a85ba5b87b4cc34a7fa97 | refs/heads/master | 2022-01-23T07:17:14.483120 | 2018-08-20T11:19:31 | 2018-08-20T11:19:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 492 | hpp | CGizmosDirectionalLight.hpp | /// \file CGizmosDirectionalLight.hpp
/// \date 03/08/2018
/// \project OOM-Engine
/// \package Render/Gizmos
/// \author Vincent STEHLY--CALISTO
#ifndef OOM_ENGINE_C_GIZMOS_DIRECTIONAL_LIGHT_HPP__
#define OOM_ENGINE_C_GIZMOS_DIRECTIONAL_LIGHT_HPP__
#include <GLM/glm.hpp>
namespace Oom {
void ... |
151cc4a577511b545eb71a3a8198fc18dc698dbe | 601b572c0857aecd7edf7d1cea8f779089e2fc26 | /float_count.cc | 8406e29fc29bf931b038716f288e917bf39ab7a6 | [] | no_license | realfirst/ffcpp | a320b10138bb10af9ae91fe9cd87dcf81145ef3c | 0a9f2fe0def2568e929c5e1962094f909cd5400e | refs/heads/master | 2016-09-06T12:33:02.724924 | 2011-06-06T11:57:11 | 2011-06-06T11:57:11 | 1,680,642 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 205 | cc | float_count.cc | #include <iostream>
using namespace std;
int main(int argc, char **argv) {
double x;
for (x = 0; x < 1.0; x = x + 0.1) {
std::cout << 1.0 - x << ' ' ;
}
std::cout << std::endl;
return 0;
}
|
2ea5322d9bf59147285470bd29837c55b414d0fb | 1835e4366fe74851ae2db2d1c0cb4ee39d2d03ee | /app/src/main/cpp/hellonativetriangle/src/renderer.cpp | 1f97d1cd538a54857b80d30cd49d38451b99bb55 | [] | no_license | Siamaster/HelloNativeTriangle | 91371d53ae9f2dd79c0c58e86a6bcb4bb8d38a96 | 3c5aa58bf015f994b437b72e542b463e3e5322d8 | refs/heads/master | 2020-04-10T08:47:48.367442 | 2018-03-11T20:52:44 | 2018-03-11T20:52:44 | 124,267,743 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,981 | cpp | renderer.cpp | #include "renderer.h"
#include "file.h"
#include "logger.h"
#include "shader.h"
#include "texture.h"
#include <glm/ext.hpp>
using namespace std;
Renderer::~Renderer() {
Destroy();
}
void Renderer::Initialize() {
// Initialize EGL
display_ = eglGetDisplay(EGL_DEFAULT_DISPLAY);
if (display_ == EGL_N... |
b10650b141df7e58a5ddda682c8ef613820b0db0 | 9db98bca06eb487acd2bf6e916aaf8ed193ebfb5 | /C++Version/Msg/MsgManager.h | 92aa279244c5c6342604cb774ce356b4a8868349 | [] | no_license | SkadyCat/CompressJson | e28891d75d84b031a739c8e23e848ffe447b6f06 | 9100537cd0fa5ac83661a72fc294516a93dc28bc | refs/heads/main | 2023-05-23T20:34:35.323834 | 2021-06-21T15:02:36 | 2021-06-21T15:02:36 | 366,011,300 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,025 | h | MsgManager.h |
#pragma once
#include"MsgEntity.h"
#include <queue>
#include <string>
using namespace std;
class MsgManager
{
public:
int index;
MsgManager();
~MsgManager();
string preProcess;
map<string, SerializeNode*> headMap;
map<string, SerializeNode*> serialsNodes;
queue<string> load(string path);
void process(strin... |
9b49bdd4226866a2330a1993dae0a142fba7e518 | 9e7ddbe6bdc142661431ae997b52bb3950e02659 | /tests/test-hdr/queue/hdr_intrusive_msqueue_hp.cpp | fa11fa483f8d9d616060b6f588ecb314d002771a | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | OlegZaytsev/libcds | f8971cb9c6d4240dafbe225cba9682d204a7e8f7 | ce09638fafc152a6d3c9320e676056e99ae93cba | refs/heads/master | 2021-01-15T21:08:18.071447 | 2016-02-26T08:11:04 | 2016-02-26T08:11:04 | 50,012,457 | 0 | 1 | null | 2016-01-20T07:23:36 | 2016-01-20T07:23:35 | null | UTF-8 | C++ | false | false | 9,024 | cpp | hdr_intrusive_msqueue_hp.cpp | /*
This file is a part of libcds - Concurrent Data Structures library
(C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2016
Source code repo: http://github.com/khizmax/libcds/
Download: http://sourceforge.net/projects/libcds/files/
Redistribution and use in source and binary forms, ... |
ee2fa54d31cba1a21af3d007fefd15a91927d9af | d81fde186297f570ccd4f9ea5df3277a0172ab17 | /Temp/il2cppOutput/il2cppOutput/Bulk_System.Xml_1.cpp | 9a5ae8505f45d6057c0abd7596ddd89831469038 | [] | no_license | dsalamancad/ARPlaceMaker | 832c7d87b5786f14c922c4716d03075edf2ec3ba | 9c5674007b35fd50a06abb858d5f1275be231eb6 | refs/heads/master | 2021-01-17T20:27:51.944773 | 2016-05-06T04:38:43 | 2016-05-06T04:38:43 | 58,178,989 | 0 | 0 | null | 2016-05-06T03:41:18 | 2016-05-06T03:41:17 | null | UTF-8 | C++ | false | false | 1,595,548 | cpp | Bulk_System.Xml_1.cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
// System.Xml.Schema.XmlSchemaDatatype
struct XmlSchemaDatatype_t2590121;
// System.Xml.XmlQualifiedName... |
30ca4fc9cf300a33ea73398a995009e216511fc4 | 226644adf0554f20164cc0594d10d1706a0d7510 | /Classes/GameAbout.h | c0441fe4203b34de23312e55012999bc59430678 | [] | no_license | water158/RockAndSerriors | 73b65ff8e3a9ce7acfb9de5c4d2ca1cf866fa408 | 1d7a2bb17e3d7b782a3df744a1726eee3cab26f5 | refs/heads/master | 2020-06-24T21:41:50.210550 | 2019-07-27T01:21:24 | 2019-07-27T01:21:24 | 199,099,638 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 611 | h | GameAbout.h | //
// GameAbout.h
// RockPaperScissors
//
// Created by mini01 on 14-5-10.
//
//
#ifndef __RockPaperScissors__GameAbout__
#define __RockPaperScissors__GameAbout__
#include <iostream>
#include "cocos2d.h"
#include "MyXmlParser.h"
#include "GsoundManager.h"
#include "MyMenu.h"
#include "SmartRes.h"
using namespace... |
1318bedbf1048e30ab0f2a1ae8219437d47f4ecd | bdfda25eb8f35346081d9cfb0ce00c845e771a72 | /Plugins/BasisCore/Source/BasisCore/Private/TPSCharacterBase.cpp | 7e8e03daa4012f408e04dd3d616610a5587bfdcd | [] | no_license | kkcedar8520/UnrealDestiny | bf062b284efd500b482d13585e086318de2fc10e | 3dbe4af01597948edae1cf546ec5d957f0e04b81 | refs/heads/master | 2023-03-29T15:28:10.726572 | 2021-04-08T15:03:14 | 2021-04-08T15:03:14 | 355,240,409 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,423 | cpp | TPSCharacterBase.cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "TPSCharacterBase.h"
// Sets default values
ATPSCharacter::ATPSCharacter()
{
// Set this character to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActorTick.bCanEverTick =... |
4aae7d33a10d28a5ca83f1a5d2595601ff9da643 | 42eb5cf43d311789481ffd00f5ceeaf332887ff6 | /libXBase/XAbsoluteTime.cpp | f2e05da904a2c6295da04b73e0cbed6ba161f4f5 | [] | no_license | OliviaWinona/GeorefLaser | 6f53e1dbd6e6efe3c4c3672916e79b1b466c18fb | 3291756d54fee3a3749c55ad02f7ccf8637598d2 | refs/heads/master | 2021-01-10T15:56:17.023162 | 2016-01-29T09:29:05 | 2016-01-29T09:29:05 | 48,236,174 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,953 | cpp | XAbsoluteTime.cpp | #include "XAbsoluteTime.h"
#include <time.h>
#include "libXBase/Xbase.h"
#include "libXGeodesy/XGpsTools.h"
XAbsoluteTime::XAbsoluteTime(void)
{
year = 0;
month = 0;
day = 0;
m_tps = 0;
hour = 0;
min =0;
sec =0;
}
//-----------------------------------------------------------------------------
XAbsoluteTime:... |
05eadff134fa6ce5bb399e61ef4a4b4d2e160e34 | 483b333c2f6c11ede642f585f917137855d7fda2 | /example/setenv/setenv.cpp | ebb082665b6ea4f18df3c7ab98a5185402b795f6 | [] | no_license | kevinkassimo/TLPI | 612dedf2e8d6c19c12ef6192516f8d5be8e15c8a | 60645075e0b1bd1b057e70f6d13ee28cb8764018 | refs/heads/master | 2021-01-21T22:10:34.784819 | 2017-06-29T10:49:37 | 2017-06-29T10:49:37 | 95,181,513 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,027 | cpp | setenv.cpp | //
// Created by kunqian on 6/24/17.
//
#include "../myutils.h"
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <unistd.h>
extern char **environ;
int main(int argc, char **argv) {
clearenv();
if (argc < 2 || strcmp(argv[1], "--help") == 0) {
usage_exit("setenv [n... |
ff14b7ddd04c0d097a6b516b3f7b9055d296ba05 | 3f0128502b50d935012610ccc4820efdff669228 | /Symulator-ruchu-pociagow-master/graphics/parsertilemap.cpp | 7787b6d0ec1f600d92ab159b956a694fa5160a04 | [] | no_license | feels-like-1984/AISDI | 5aa07d4a0101ff5fb23846368153a21de8aabb34 | 25c8801ff32221739a1484c287229b9ac8acd3ab | refs/heads/master | 2021-05-29T20:40:15.006662 | 2015-04-12T21:13:59 | 2015-04-12T21:13:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,423 | cpp | parsertilemap.cpp | #include <QFile>
#include <QString>
#include "decodexml.h"
struct SRPTile{
QString line1, line2, line3;
int size;
int numTiles;
void GetSize();
bool ReadFromStream(QTextStream &input);
qint64 GetTileNumber(int index);
};
void inline SRPTile::GetSize(){
size = line1.size();
int temp = line2.size();
if(temp<s... |
61f38d2b65448a1cf28366d9d4a9c0f7d657a3c1 | 2af8ad4883fe6626c347183207b1331043ed9b5d | /source/ProcessorIF.cpp | 539e4d1f52c84d4fbb4aa28355398858c644dea7 | [
"BSD-3-Clause",
"MIT"
] | permissive | specpose/VST3SkeletonOpenGLViewTest | 7fdab4474d4f406752b5eb3688519cff70d151f4 | 7af05ac52168b07f1cef4059617eb5883f2bfce3 | refs/heads/master | 2021-01-12T04:45:24.486596 | 2017-01-06T18:35:55 | 2017-01-06T18:35:55 | 77,789,973 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,878 | cpp | ProcessorIF.cpp | #include "ProcessorIF.h"
using namespace Steinberg;
using namespace Steinberg::Vst;
FUID ProcessorIF::cid(0x49BAF003, 0xB44D455E, 0x9CBDE54F, 0x7FF2CBA1);
//------------------------------------------------------------------------
//------------------------------------------------------------------------
//----------... |
2aa64ab99cc6fd518a5bd43454db9c4f330dc7f3 | 4adf8d064c33e7498b0e5baaf6767c30261cb71b | /WeeklyCompetition/20211205/2096.cpp | e1a5fcd835b0d661e6bb3cc3794cecd3d4ad78e1 | [] | no_license | codingClaire/leetcode | 0f679b526c14083ccf6d35937e5d845c9fa27f71 | 45fd500d2e2f52df0adc9d47ccc9fd29993dbef1 | refs/heads/main | 2023-05-25T12:34:27.952866 | 2023-05-20T15:09:02 | 2023-05-20T15:09:02 | 148,796,605 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,361 | cpp | 2096.cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode() : val(0), left(nullptr), right(nullptr) {}
* TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
* TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l... |
ad3a40235c4dc2e5fd86414808b793f2e9f4bc91 | a41ff94559e24cba03f42081ee5452f64063622a | /Notes/Recursion/CoinExchange.cpp | 5bb27a2b53dfccc91991cf62cde993e486424b40 | [] | no_license | RavenColEvol/competitive-journey | aaff3ebd66bb6fdbbcff33de7516ac401023e1f0 | 0e5cd2ff7e7c92644a8bee2b016c2eead4cb8370 | refs/heads/master | 2022-11-23T02:06:10.966813 | 2020-07-30T13:32:57 | 2020-07-30T13:32:57 | 229,191,033 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 553 | cpp | CoinExchange.cpp | #include<bits/stdc++.h>
#define REP(i, a, b) for(int i = a; i <= b; i++)
#define fastio ios::sync_with_stdio(0); cin.tie(0);
using namespace std;
int minCoin(int value, int coins[], int m)
{
if(value==0)
return 0;
int answer = INT_MAX;
REP(i, 0 , m-1){
if(coins[i] <= value)
{
int temp = 1 + minCoin(valu... |
f2b793362db02b05199fe5fbc52d1a32ba32e66e | 0299d546825752a82b86d7ddd156f9bcd7ea4bc5 | /src/ElectroMagnSolver/EF_Solver1D_TDMA.cpp | 997532adea7a0f922e3c6c0f2cbc3bb329878315 | [] | no_license | wphu/SmileiSE | 400eed1bf60a109ab16218efec03ab3edfb741a6 | ac5dd2df9425bb9b74e8cd8cc399a2bd30950b69 | refs/heads/master | 2020-05-25T06:43:59.753150 | 2018-03-21T06:59:44 | 2018-03-21T06:59:44 | 84,918,453 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,482 | cpp | EF_Solver1D_TDMA.cpp |
#include "EF_Solver1D_TDMA.h"
#include "ElectroMagn.h"
#include "Field1D.h"
EF_Solver1D_TDMA::EF_Solver1D_TDMA(PicParams ¶ms, SmileiMPI* smpi, int nx_sou_left)
: Solver1D(params)
{
SmileiMPI_Cart1D* smpi1D = static_cast<SmileiMPI_Cart1D*>(smpi);
dx = params.cell_length[0];
dx_inv_ = 1.0 / dx;
... |
3d1b740a5f3e5817862f16bcd45077eabc50b2d4 | 37cca16f12e7b1d4d01d6f234da6d568c318abee | /ext/src/java/io/BufferedOutputStream.hpp | ee21cff1450d47db99e59ca7a58564155a1a68c2 | [] | no_license | subhash1-0/thirstyCrow | e48155ce68fc886f2ee8e7802567c1149bc54206 | 78b7e4e3d2b9a9530ad7d66b44eacfe73ceea582 | refs/heads/master | 2016-09-06T21:25:54.075724 | 2015-09-21T17:21:15 | 2015-09-21T17:21:15 | 42,881,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,028 | hpp | BufferedOutputStream.hpp | // Generated from C:/Program Files/Java/jre1.8.0_51/lib/rt.jar
#pragma once
#include <fwd-pastry-2.1.hpp>
#include <java/io/fwd-pastry-2.1.hpp>
#include <java/io/FilterOutputStream.hpp>
struct default_init_tag;
class java::io::BufferedOutputStream
: public FilterOutputStream
{
public:
typedef FilterOutputS... |
91fd482c3500cfca0765a55aa48e20c377a84a77 | ccb5c239db674fddddc051a314945e648ede05cb | /main.cpp | 7fb85136e3f365d2b93f3e1eaad966cc503428de | [] | no_license | LittleD3092/bottle_and_cap_problem | 809927b84bb3bc741325bd0371e6528cd3a384f7 | 3c5e02a7164275e2280cd45e82a44cbf25f49a6c | refs/heads/master | 2023-03-27T19:35:38.643955 | 2021-03-23T13:26:26 | 2021-03-23T13:26:26 | 350,722,640 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 431 | cpp | main.cpp | #include <stdio.h>
#include <stdlib.h>
int main(int argc, char const *argv[])
{
//input
int x;
scanf("%d", &x);
//change money to bottle and cap
int bottle = x;
int cap = x;
//process
while(cap >= 3)
{
if(cap == 3)
{
cap = 0;
bottle ++;
break;
}
int new_bottle = cap/4;
bottle += new_bot... |
d7a5a9bb2367d6648f2108a6097ff4c5293fc31a | d479a3ea5db1516574b20df0456f5fb9238c4992 | /STL_BASICS/containers/seq_containers/seq_containers.cpp | 72bb9eef7defe7196546aed690c77c08c4a19c55 | [] | no_license | v33rh0ra/cpp_filestuff | 6e512a285accc509886ee21caa27ada33c8d3aeb | 9a0fd8090fd370d2d9cd86766a041ab43240691d | refs/heads/master | 2020-03-24T09:07:58.782072 | 2018-07-28T11:17:48 | 2018-07-28T11:17:48 | 142,619,358 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 609 | cpp | seq_containers.cpp | /* Sequence Containers
* -vector, deque, list, forward list, array
*
*/
/* Associative Containers
* (binary tree)
* -set, multiset
* -map, multimap
*/
/* unordered containers
* - unordered set/multiset
* - unordered map/multimap
*/
#include <vector>
#include <deque>
#include <list>
#include <set> //set and multiset
... |
36bd94750e4240c858fcf22167aab1bb566e60ac | a6c1139ce5989786ec86baa74e6d5b579b7be6f6 | /stockServer/fetch/FetchActor.hpp | f85f646648c81e7ee3662b30bf43d02002b57b3b | [] | no_license | spectrum968/dfwbi | 99b35bfb39450d4bd686a9ef35b7c41ded4a59f8 | 5f004dd5027f17884fe6d398620019090e8c6d4c | refs/heads/master | 2022-06-29T14:17:04.417249 | 2014-01-19T15:25:13 | 2014-01-19T15:25:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,321 | hpp | FetchActor.hpp | #ifndef __FETCH_ACTOR_H_
#define __FETCH_ACTOR_H__
#include <boost/algorithm/string.hpp>
#include "boost/date_time/posix_time/posix_time.hpp"
#include <Theron/Actor.h>
#include <iostream>
#include <sstream>
#include <tidy/tidy.h>
#include <tidy/buffio.h>
#include <curl/curl.h>
#include <unicode/ucnv.h>
#include "Ope... |
4e3aae132e43cda9e9bc017a95eb4a693adae1a3 | 32a9356bc4e0af62eb960c89ab3adc373812675f | /contrib/CCF/CCF/Test/IDL2/SemanticGraph/HandBuilt/Builder.hpp | 180f9ba313631be86c905799fac3ddfd0f0fb247 | [] | no_license | DOCGroup/XSC | 0c2ce163a307f9d20366d707f772ff1f04c72261 | b85458b18b95bf81dc9c807d8d06768111b22172 | refs/heads/master | 2023-08-25T18:53:51.641598 | 2022-05-10T14:18:58 | 2022-05-10T14:18:58 | 27,931,533 | 4 | 3 | null | 2023-09-11T06:12:54 | 2014-12-12T17:54:46 | C++ | UTF-8 | C++ | false | false | 383 | hpp | Builder.hpp | // file : Test/IDL2/SemanticGraph/HandBuilt/Builder.hpp
// author : Boris Kolpackov <boris@dre.vanderbilt.edu>
#ifndef TEST_IDL2_SEMANTIC_GRAPH_BUILDER_HPP
#define TEST_IDL2_SEMANTIC_GRAPH_BUILDER_HPP
#include "CCF/IDL2/SemanticGraph.hpp"
class Builder
{
public:
CCF::IDL2::SemanticGraph::TranslationUnit*
... |
370041e1f7b88743126614e9f1e55b4002632ed3 | 7a0211f643a19c0e4fc985c1d749ded40dd78e97 | /NRF24__transmitter_code/NRF24__transmitter_code..ino | 2995d1e4cef31e5c1182261ad650c8be5487deb6 | [
"MIT"
] | permissive | yinflight/Airplane--Fixed-Wing-UAV | 8412f3b9c1da974501419990c47a3698e92c7ec4 | bd9ca980fa65ab15bfdd5fdf007a2ec4fb6e9af8 | refs/heads/master | 2023-03-22T16:04:31.675544 | 2019-09-22T04:36:04 | 2019-09-22T04:36:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,727 | ino | NRF24__transmitter_code..ino | /*A basic 4 channel transmitter using the nRF24L01 module.*/
/* Like, share and subscribe, https://www.youtube.com/channel/UCNMdGm2BwTYoPvY7Yus1QpA */
/* Channel Name Manoj Sharma...(yes, I know I need to change it. */
/* First include the libraries.Google and Download it.
* Install the NRF24 library to your IDE
... |
33032f393c57b84ae7abed6e3998b6a4c25fd8b6 | 6fe0473cfa3699bc3ed99ae159ea5bcfd29b9e4b | /hackerrank/warmup/FillingJars.cpp | 2f64b5c0870f66d5b02b49d7fcbdb852fc89ac8e | [] | no_license | digideskio/contest | 52836b5b7afc9d59194626f17844bdfd5e755a93 | 83657f96544a742ef746eda926622799fd080369 | refs/heads/master | 2021-01-21T03:46:16.857522 | 2015-03-25T22:42:56 | 2015-03-25T22:42:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 456 | cpp | FillingJars.cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
typedef long long ll;
int main() {
ll N;
ll M;
cin >> N >> M;
ll jar1;
ll jar2;
ll total = 0;
ll temp;
for(ll i=0; i<M; i++){
cin >> jar1 >> jar2 >> temp;
temp *=(... |
9c0dcfe50ab50ef7291492c5d74301bfd549bb60 | 363b62d1424fedf7a40a87045fccf9eaa469ff5f | /todo-ui/taskwidget.h | e9a3dce175685f6adfa9891beb6833a12201cc8c | [] | no_license | vagnergrossklaus/todo-qt | 725a985ec8c74715f42a31ac7b3353c49b3ccd88 | 43be2d32a519f56f26165441c9efae1b5b3dad7f | refs/heads/master | 2021-06-30T23:30:10.322269 | 2019-03-19T13:08:29 | 2019-03-19T13:08:29 | 138,225,039 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 599 | h | taskwidget.h | #ifndef TASKWIDGET_H
#define TASKWIDGET_H
#include <QWidget>
#include "model/taskmodel.h"
namespace Ui {
class TaskWidget;
}
class TaskWidget : public QWidget {
Q_OBJECT
public:
explicit TaskWidget(TaskModel *task, QWidget *parent = nullptr);
~TaskWidget();
TaskModel *task() const;
private:
Ui::TaskWid... |
264fd209b62635b431bc310ccf5d8305ddf7e6d1 | 3d860cb7fc8b1d1b15fbff1f44e32dc6a8fe6176 | /source/Seat.cpp | e6cd20959201b74cb534079404d6a2db82912572 | [] | no_license | raven-os/feathers | 0202352b30aeefc5ffc236d2ead8c456fb1d6646 | 30b9c5c04c8e0c1d6f6487e0fa4eb001e5bbff3c | refs/heads/master | 2021-06-03T21:50:12.469054 | 2019-12-12T21:07:23 | 2019-12-12T21:07:23 | 111,445,046 | 14 | 1 | null | 2019-01-21T20:06:18 | 2017-11-20T18:03:48 | C++ | UTF-8 | C++ | false | false | 2,382 | cpp | Seat.cpp | #include "Seat.hpp"
#include "Server.hpp"
Seat::Seat()
{
seat = wlr_seat_create(Server::getInstance().getWlDisplay(), "seat0");
SET_LISTENER(Seat, SeatListeners, request_cursor, seat_request_cursor);
wl_signal_add(&seat->events.request_set_cursor, &request_cursor);
SET_LISTENER(Seat, SeatListeners, request_s... |
9042cd0a91c8b8b75a77b9215744df437890c530 | fb606fe829b50476ad5cc20be08bb32416b3ad3a | /Курсовая работа/Coursework(ORIGINAL)/find.h | f01b4770c6f20ac54312f3cee5185d915a6d4d17 | [] | no_license | AdilBikeev/Exam_Schedule | f399602c7e68a32515b8a4b618655ea62da266be | 80ce4436a0a886b759fe1d1ba4d32ecc32e24323 | refs/heads/master | 2020-03-23T18:37:28.018454 | 2018-07-22T18:31:43 | 2018-07-22T18:31:43 | 141,920,707 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 921 | h | find.h | #ifndef FIND_H
#define FIND_H
#include <QMainWindow>
#include <QWidget>
#include <QString>
#include "menu.h"
class Find: public Menu
{
public:
void Void_Audit(int from_time_heur, int from_time_minute,int to_time_heur, int to_time_min);//устанавливает знак - говорящий о том, что аудитория будет занята... |
25d7d1f04b11f0e72da94e48d529670a0f5b1da1 | e2271fed03eaa42ced1fcb018d7db6234ba09a18 | /Dynamic_Programming/push_dominoes.cpp | 806a13e5168ec0b547e001159d99d616ff0534db | [] | no_license | saurabh8522/fantastic-couscous | 3e555cad5a70947be5c876e5b9e50b1652ffad6e | e639b9fe1e4c2f74154b055a5f1532831d9b35f7 | refs/heads/master | 2022-04-14T23:55:18.089297 | 2020-03-24T09:26:34 | 2020-03-24T09:26:34 | 241,529,595 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,379 | cpp | push_dominoes.cpp | class Solution {
public:
string pushDominoes(string d) {
if(d.size()<2) return d;
int n=d.size();
int i,j;
for(i=0;i<d.size();){
// cout<<i<<endl;
if(d[i]!='.'){i++;continue;}
for(j=i+1;j<d.size();j++){
// cout<<j<<endl;
... |
456c4664d868fd99ad3866423711ec8c29fcfe9d | 6abb92d99ff4218866eafab64390653addbf0d64 | /AtCoder/abc/abc245/c.cpp | c162a64061e738bef04da4db54b49c4e9a998a8b | [] | no_license | Johannyjm/c-pro | 38a7b81aff872b2246e5c63d6e49ef3dfb0789ae | 770f2ac419b31bb0d47c4ee93c717c0c98c1d97d | refs/heads/main | 2023-08-18T01:02:23.761499 | 2023-08-07T15:13:58 | 2023-08-07T15:13:58 | 217,938,272 | 0 | 0 | null | 2023-06-25T15:11:37 | 2019-10-28T00:51:09 | C++ | UTF-8 | C++ | false | false | 929 | cpp | c.cpp | #include <bits/stdc++.h>
#define rep(i, n) for(int i = 0; i < (n); ++i)
#define rep1(i, n) for(int i = 1; i < (n); ++i)
using namespace std;
using ll = long long;
int main(){
cin.tie(nullptr);
ios::sync_with_stdio(false);
int n, k;
cin >> n >> k;
vector<int> a(n), b(n);
rep(i, n) cin >> a[i];
... |
e568730367b2908858c731482ad30ce8f03b810e | 021806922e8c30cee0481f121bb2524c30f2016b | /codechef/DRS.cpp | 91874a97906c75e55d3d06d733de9a19da3b00fd | [] | no_license | apsknight/snippets | 5d0aeb44dd32a63faf15c67b0be572be4baf87d1 | 596edd2fee92db41ab031e1ffc59cdd08ad529d8 | refs/heads/master | 2022-02-20T07:25:25.919361 | 2019-10-03T18:04:47 | 2019-10-04T08:11:04 | 81,497,666 | 2 | 2 | null | 2019-10-04T08:11:08 | 2017-02-09T21:41:09 | C++ | UTF-8 | C++ | false | false | 852 | cpp | DRS.cpp | /**
* Problem URL : https://www.codechef.com/LOCAPR17/problems/DRS
* Author : Aman Pratap Singh
* Language : C++
* Compiler : G+
*/
#include <iostream>
#include <vector>
using namespace std;
int main() {
int t;
cin >> t;
while(t--) {
int n;
cin >> n;
... |
5e5d590200cb72c7020430f99dbfff9980c1f648 | 9720521a2296d1e6f7bc2855fd8ce87efd6280af | /test/composition_test.cpp | f9405a399ccd47e576e17073caf6bf6400c08ada | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | giveflow/FunctionalPlus | a7e3baa20f776935404b3a6587553401b73d8c1f | e799da5c8fe197e282dc36736f120f5f8719b123 | refs/heads/master | 2021-01-19T13:15:27.600929 | 2017-08-15T15:40:42 | 2017-08-15T15:40:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,360 | cpp | composition_test.cpp | // Copyright 2015, Tobias Hermann and the FunctionalPlus contributors.
// https://github.com/Dobiasd/FunctionalPlus
// 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)
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
#in... |
ff5a0089f67d17f701b6132a845197cb40682be1 | cf76cc266aa332eb8f6030d1b0afdb9576414ea1 | /src/transport.cpp | d9b6d56e38021ff3dfac2a6031779b6f8937da64 | [
"Apache-2.0"
] | permissive | tsc19/fring | 8c7a1773ef40b4d43459cdcc0383c69ca90fa75d | 2418ce1b27892f2f5c256f94ae0c5fc376cfa72c | refs/heads/master | 2021-12-14T14:39:03.765593 | 2021-12-06T15:38:11 | 2021-12-06T15:38:11 | 177,904,545 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,786 | cpp | transport.cpp | #include "transport.h"
// Destructor function body must be provided even pure virtual
Receiver::~Receiver() { }
AsyncUDPServer::AsyncUDPServer(const std::shared_ptr<Receiver>& receiver, unsigned short port):
receiver(receiver), buffer(new AtomicQueue<BufferItemType>()) {
std::cout << "INFO: AsyncUDPServe... |
3f0601ed888ce41dd73e3e8d04321792f10912ab | f31f0530997a179473d3ae45ebf96e4b1c6de5bd | /Digital_Filter.h | 0a84d5fb37617d70761e77739f282251f8800282 | [] | no_license | jinason29/Digital-Signal-Processing-Program | d6231e2235755945cf0871a72911ad8b8d9dae3a | ee21786afcf322fbc5abbd85e13a61563bf23042 | refs/heads/master | 2022-11-21T10:51:59.914012 | 2020-07-30T07:09:33 | 2020-07-30T07:09:33 | 283,686,215 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 978 | h | Digital_Filter.h | #pragma once
#include "Draw_XY.h"
#include "Fourier_Transform.h"
#include <math.h>
class Digital_Filter
{
public:
Digital_Filter(void);
~Digital_Filter(void);
void Digital_Filter_LowPass();
void Digital_Filter_Butterworth();
void Digital_Filter_Chebyshev();
void Digital_Filter_FilterValue(CDC* p... |
0e0ea7ce3c2220e1cc9940ca4d582537c44bc2c4 | 33ac633b566c21f00a6073fba2f896020cd7f62c | /Pal/PalAPI.h | ec730685c69e49d2e81eaa0b9909b333beec057b | [] | no_license | orichisonic/GMServer_20091221 | ef4d454d4b78d01b49b8752eed2170c3419af22a | 19847f86a45a2706ddf645a2ca9e98f80affb198 | refs/heads/master | 2020-03-13T04:33:08.253747 | 2018-04-25T07:29:55 | 2018-04-25T07:29:55 | 130,965,261 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 9,384 | h | PalAPI.h | // PalAPI.h: interface for the CPalAPI class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PALAPI_H__3B270351_F11B_4F40_8BC3_B464590B786B__INCLUDED_)
#define AFX_PALAPI_H__3B270351_F11B_4F40_8BC3_B464590B786B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER ... |
5cf4c0bbe3d123f75ce36fba4cdbb182eca1b9fe | 44f2290d42de0a5e7711d3b834d13a1cc9c06c61 | /pluginsorsa/CamPlugin.cpp | db9c93bfcb9dfd0144ecc58e86719ed218aa9726 | [] | no_license | mkko/masters-template-lout | 8fbdd50a598ec8824dcdb9f57075b3963466c7c1 | 42c66b911bbb59b075fafb1958bf1dc017ad1c19 | refs/heads/master | 2021-01-21T14:23:09.565060 | 2016-06-14T18:37:51 | 2016-06-27T08:05:18 | 59,787,797 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,493 | cpp | CamPlugin.cpp | //**********************************************************************************************************
//
// File: CamPlugin.cpp
//
//**********************************************************************************************************
class CCamPlugin : public MCamPlugin
{
public:
CCamPlugin()
... |
74953e04f4f3ef9493ec1e2fc3b575eb91efbfc9 | 4fdb6c4e6204e1fb9e42ca2c35a19f09c4956c1f | /Loteria_Cliente/main.cpp | 6e97ae7e7c5f0ac7dd5e146965b6259a63d46b11 | [
"MIT"
] | permissive | AlejandroRM-DEV/Juego-Loteria-Mexicana | c50f2b56eefaf8dce0a24c075e8311061486ea41 | 50f5803b69492386a8eb6262d839e723f05e11f5 | refs/heads/master | 2021-06-01T03:47:51.577649 | 2016-07-17T23:50:47 | 2016-07-17T23:50:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,060 | cpp | main.cpp | #include <iostream>
#include <vector>
#include <iomanip>
#include <cstring>
#include <cstdint>
#include <SDL2/SDL_ttf.h>
#include "Boton.h"
#include "Tablero.h"
#include "Credencial.h"
#define VENTANA_ALTO 680
#define VENTANA_ANCHO 800
#define SIZE_OF_STRUCT_TABLERO 48
#define TOTAL_CARTAS 16
#define TAMANO_NOMBRE ... |
9a7e94ded6acd549a01c8e61180e4f7e765e5738 | 25d5bb29212feac6267f05188f6fcd53c2a49414 | /CD Lab/Code Generators/assemblyPrefix.cpp | cef34a55f6c531a82858b239fab56baac87a867e | [] | no_license | AnirudhKashyap511/CSE-Labs | 3d960fc352c6fc76b0375abcc41389197974c9d5 | c90d625e539312ecf228b44cefb1dd0e1fdd9f70 | refs/heads/master | 2022-11-22T23:30:18.684420 | 2022-11-09T03:06:26 | 2022-11-09T03:06:26 | 201,807,973 | 0 | 0 | null | 2019-08-11T19:43:14 | 2019-08-11T19:43:14 | null | UTF-8 | C++ | false | false | 1,421 | cpp | assemblyPrefix.cpp | #include <iostream>
#include <ctype.h>
#include <stack>
#include <string.h>
#include <stdio.h>
using namespace std;
int main() {
int i=0;
char prefix[] = "-+1*234";
int n= strlen(prefix);
char postfix[n];
for(i=0;i<n;i++) {
postfix[i] = prefix[n-i-1];
}
printf("postfix: '%s'\n", postfix);
stack<int> s;
int ... |
6693feba22eb58b3bfff20545cd3fa5f8e7554e2 | 0ec1a1fee551ae3ef5aeb78b2f4b69fba5e55071 | /src/Engine.hxx | 4784932610959833b58980efb7b09ae0c564dff2 | [] | no_license | syvlo/ProjIMA | 8a20c0f9a072aa67cd110d0040fde7da2c0137f7 | aaf8252ff7dcc598518f5ee0521e7e174954d56d | refs/heads/master | 2020-05-30T18:47:37.757789 | 2015-07-16T11:31:52 | 2015-07-16T11:31:52 | 16,434,962 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,250 | hxx | Engine.hxx | #ifndef ENGINE_HXX_
# define ENGINE_HXX_
# include "Engine.hh"
# include "TVL0DecompositionMinimizer.hh"
# include "TVL0DecompositionMinimizerOneBVSeveralS.hh"
# include "ComputeByParts.hh"
# include "ComputeByPartsLinear.hh"
template <typename Minimizer>
Engine<Minimizer>::Engine(const std::vector<unsigned>& alpha)... |
cd56694da7e243395a536b342d8b855deeeb0614 | 6c0a5c01fed96b34731dca52762597e9ef94cae3 | /encrypt-lib/src/main/cpp/helper/EncryptHelper.cpp | 4f6b5e1cf5e254f79351509bbf9da4e137252912 | [] | no_license | Adelbert1988/open_ssl_demo | 8d851ec41ee240a36665fdfe8b95484623245082 | bbd6d4bdcdf48a6dbd4f67beacf7ec97f3638b59 | refs/heads/master | 2020-03-15T04:42:24.244044 | 2018-09-12T08:27:40 | 2018-09-12T08:27:40 | 131,971,848 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,527 | cpp | EncryptHelper.cpp | //
// Created by u51 on 2018/4/25.
//
#include "EncryptHelper.h"
using std::string;
jstring EncryptHelper::encryptByMD5(JNIEnv *env, jstring content)
{
const char *unicodeChar = env->GetStringUTFChars(content, NULL);
size_t unicodeCharLength = env->GetStringLength(content);
unsigned char md[MD5_DIGEST_L... |
9c767163e155f22a69319331bbbecbf654bc8cde | 6d56b059ac8753a75d162d697eddc29b3faa4a3a | /UnrealTank/Source/UnrealTank/Public/TankAiContoller.h | d3771818a3b0fb53580ffe93125ec1909f2ba5b8 | [] | no_license | Losspost/Unreal-Tank-Course | d6790df8ef2d64a53cee37e4adb4b01521b471f0 | aa11ece66788d01f12b4c1202e9279006a4740ae | refs/heads/master | 2020-03-29T22:48:55.806533 | 2018-10-02T11:11:56 | 2018-10-02T11:11:56 | 150,441,724 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 509 | h | TankAiContoller.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "AIController.h"
#include "TankAiContoller.generated.h"
//Forward Declaration
class ATank;
/**
*
*/
UCLASS()
class UNREALTANK_API ATankAiContoller : public AAIController
{
GENERATED_BODY... |
f4ae4eb275c8642666800e66cb2949c3e823163e | ec4afa1366f586f6621c2b6e42fff36dc404e022 | /Computer_Graphics/3.transformation.cpp | 7712d1f4bdd2cff6f664faf80fc633e60134390e | [] | no_license | sparth62/Lab_Programs | 3bf10773b251298adf926bd6509f954d14c0e736 | 459df83fe7394316b7b2c6e48d76014189eb6c27 | refs/heads/master | 2020-03-22T12:59:44.923373 | 2019-09-09T05:37:20 | 2019-09-09T05:37:20 | 140,071,439 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,207 | cpp | 3.transformation.cpp | #include<conio.h>
#include<graphics.h>
#include<stdio.h>
#include<time.h>
#include<math.h>
void translation(double x1,double y1,double x2,double y2)
{
double tx,ty;
int gd = DETECT, gm;
printf("Enter tx:");
scanf("%lf",&tx);
printf("Enter ty:");
scanf("%lf",&ty);
printf("Your line will shown on window in white c... |
d382adfb793cde760d8822b2ea58ca27ac870be9 | 2b302e9ac4cb1bd1dda34bb8366b5d17b6f46955 | /arduino code/homeautomatnble.ino | 0676b42ca73367446c353ce942c8999985c919e1 | [] | no_license | harleenkaurchadha/Home-Automation-Using-Bluetooth | 845870f5ac05f6f59830b21da0f931ce2c037214 | 2667e0728f5e10f6f2b530e41505d0035417cbb9 | refs/heads/master | 2020-07-03T05:13:08.152640 | 2016-12-16T14:21:05 | 2016-12-16T14:21:05 | 74,195,844 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,016 | ino | homeautomatnble.ino | String voice;
#define relayLight 2 //pin connected to input1 of relay
#define relayFan 3 //pin connected to input1 of relay
void setup()
{
Serial.begin(9600);
pinMode(relayLight,OUTPUT);
pinMode(relayFan,OUTPUT);
digitalWrite(relayLight,HIGH); //initially turn off the light
digitalWrite(relayFan,HIGH); //initi... |
b3df9d4297337d4b59648fda52555cd207fa865d | 13204a429a75d37b4645bce4dd947731400700ec | /ABMS_Propeller_Clock_v3_3/ABMS_Propeller_Clock_v3_3.ino | 6c2c932710728c343cd0f1948eecf150928fdf5d | [] | no_license | ISHAN-SACHINTHA/Arduino-projects | 5c3a04e534215e386d406d9b9eb49c6d3d438672 | 2c2753c1ac88623398950e79d01016233d70177c | refs/heads/main | 2023-02-03T15:05:51.071894 | 2020-12-15T04:06:46 | 2020-12-15T04:06:46 | 321,547,787 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,247 | ino | ABMS_Propeller_Clock_v3_3.ino | /*
#####################################################################################
# File: ABMS_Propeller_Clock_v3_3.ino
# Processor: Arduino UNO, MEGA ou Teensy++ 2.0
# Language: Wiring / C /Processing /Fritzing / Arduino IDE
#
# Objectives: ... |
bad82763b52e2b81fb5cf514d3a76a3eb9160d17 | 55ee5259b9b167f05c53a862d266ccc42d64eb6a | /trunk/SonarGaussian/GraphMatcher/VertexMatcher/VMHeuristicByAngVariation1.cpp | 56a92c9f8c60156f880262f57e61f83494b5c358 | [] | no_license | matheusbg8/SonarGraph | 0829a4477271a34ead6c2aaaed5ac810dcada515 | 88beb18a6650194b352b195fc2a22cf256ec9cc8 | refs/heads/master | 2021-01-19T11:14:58.651049 | 2017-02-16T23:18:05 | 2017-02-16T23:18:05 | 82,235,034 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,964 | cpp | VMHeuristicByAngVariation1.cpp | #include "VMHeuristicByAngVariation1.h"
VMHeuristicByAngVariation1::VMHeuristicByAngVariation1()
{
}
bool VMHeuristicByAngVariation1::load(ConfigLoader &config)
{
}
float VMHeuristicByAngVariation1::vertexMatch(Gaussian &gu, Gaussian &gv,
vector<GraphLink *> &eu, vector... |
08c06e665f350877ee442ef1ac8fee4204cc7191 | 12c5cbb7f1a99917ec510d28893b92dc7ff55961 | /CaptureThread.cpp | 10b02fa112e82f6de8e5a15331b23b0389a35ec8 | [] | no_license | StickyNeutrino/CameraPullDownThingy | 37e6b1220c00ca1c1203f07b44ad8acc6f7a1d9e | 2e4ed81b4dba747db83b4ae768a877840f0456a9 | refs/heads/master | 2021-05-12T17:34:30.906528 | 2018-03-08T01:24:37 | 2018-03-08T01:24:37 | 117,048,284 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,252 | cpp | CaptureThread.cpp | //
// CaptureThread.cpp
//
//
// Tasked with Capturing Images regularly
// and pulling them down from the camera
//
#include "CaptureThread.hpp"
using namespace std;
extern vector<char> newestImage;
extern mutex imageVectorMutex;
const string ipAddr = "http://192.168.0.10/";
void CaptureThread(){
std::cout... |
e074fda3d4a0faf348652fefd63cc7eb6cec51fe | 0af8c55a93a493ddf47c8a00943d54ca9ee25550 | /frameworks/runtime-src/proj.ios_mac/XBattleInfo.cpp | c8bbd76058fb9b58c6899de7fb33901026e7544e | [] | no_license | iFlyingfish/X | 382c6532bec7bad2493b3c825bc42cb6c1abb5e8 | d49b484369a721c7e2a86d39ce764853dd40fe35 | refs/heads/master | 2021-01-22T14:03:08.825991 | 2015-07-01T07:21:44 | 2015-07-01T07:21:44 | 28,803,529 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 171 | cpp | XBattleInfo.cpp | //
// XBattleInfo.cpp
// X
//
// Created by leo on 15/1/19.
//
//
#include "XBattleInfo.h"
XBattleInfo::XBattleInfo(int HP)
:mHP(HP),
mState(battleStateIdle)
{
} |
6812212b280fcfbcbcc35efd50e0c26bb1419618 | 412b4c2a33d8ca5554fd607e07cee620cea9b463 | /rmath/matrix/rsparsesymmetricmatrix.cpp | 9dae87b7de95bb3bfa54d3210fabb8f7b32a274b | [] | no_license | pfrancq/r | 65df093d7cd31f4e5c521eadd61a54cb8da58925 | bd78f3b2da3b357ca5d21e6055f809c83b488cd5 | refs/heads/main | 2023-08-17T09:01:37.815379 | 2021-10-04T06:15:01 | 2021-10-04T06:15:01 | 404,758,905 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,964 | cpp | rsparsesymmetricmatrix.cpp | /*
R Project Library
RSparseSymmetricMatrix.cpp
Sparse Matrix - Implementation.
Copyright 2005-2015 by Pascal Francq (pascal@francq.info).
Copyright 2003-2005 by Valery Vandaele.
Copyright 2003-2008 by the Université Libre de Bruxelles (ULB).
This library is free software; you can redistribute it and/or
mod... |
cf0ae8b5ff11bc76714d7c51d9bc41b450c8bfd4 | e9749d4e271546fbcdd261edd538d99eb3f7fff8 | /QT/24_11_2015/keyfilter.h | 143d074138d74505419b1f8e341d3ff52c7ff35e | [] | no_license | Xambey/something | 90e4c4823cf553f9c8acc190313fec991b22b44d | 0dc0ecd163e1fc662caea16f7363e166b6687adf | refs/heads/master | 2021-01-10T14:40:09.253969 | 2016-05-09T08:57:50 | 2016-05-09T08:57:50 | 52,145,859 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,429 | h | keyfilter.h | #ifndef _KeyFilter_h_
#define _KeyFilter_h_
#include <QtGui>
// ======================================================================
class KeyFilter : public QObject {
protected:
bool eventFilter(QObject* pobj, QEvent* pe)
{
if (pe->type() == QEvent::KeyPress) {
if (((QKeyEvent... |
35349e532d0d573c292b803d9b1f68a20cba72c0 | 799a21e89a17fffee2508d40072d68e065c903e4 | /vm2519364/Assignment 6/Savitch_8thEd_Ch6_Prb6/main.cpp | 969c357b404d75931ae0857e4552cd52319fcc14 | [] | no_license | Hillash/CSC5_Spring_2014_42450 | 5b8204b124338587a06210cf4cf05163463ac557 | 7a513d1a2f355da9a62cf86bf7ea5120699004fa | refs/heads/master | 2020-12-28T23:04:32.682727 | 2014-10-01T06:19:38 | 2014-10-01T06:19:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 962 | cpp | main.cpp | /*
* File: main.cpp
* Author: Victor Medel
* Created on May 18, 2014, 5:55 PM
* Edit file (Replace double spaces with single spaces)
*/
//System Libraries
#include <iostream>
#include <fstream>
#include <string>
#include <cstdlib>
using namespace std;
//Global Constants
//Function Prototypes
void rmvBlnk(ifs... |
5051437a1a000f4af3d22be3db4158b9ab9241d4 | 62d6e09be253895ef4f574265e4b86a3fe3936d3 | /Getopt/Getopts.cpp | cdd0c8c5d552f1635ed1135f6a7cb314d64f3960 | [] | no_license | JackWyj/Getopts | d8fa752680467dcf053c8af827f2ec48cd375df5 | 02e7b30a0d593cf127afdfd5a152aa0210496868 | refs/heads/master | 2016-09-08T02:03:18.458048 | 2015-06-23T13:34:13 | 2015-06-23T13:34:13 | 37,046,440 | 3 | 0 | null | null | null | null | GB18030 | C++ | false | false | 11,876 | cpp | Getopts.cpp | #include "stdafx.h"
#include "Getopts.h"
Getopts::Getopts(void)
{
const int num = 1;
const int num_long = 6;
parse_level = 0;
char ex_char[num] = {':'};
char ex_char_long[num_long] = {'i', 'd', 'f', 's', '=', ';'};
/*tmpch = '#';*/
pre_chtype = NONE;
for(int i = 0; i < num; i++){
set_ex_char_short.insert(ex... |
2b163b053fdb5126f108c0bee88099ad8bca1fe7 | b3808f8de44705cf2d0aff6fe97138328f5dfc47 | /2019/Thang10_2019/31_10_2019/assign.cpp | 21d2e796c382a01b17fbfec6a3b12d4a7b8e68bf | [] | no_license | nhathuyle2002/HIGH-SCHOOL-CODE | bd96a4490aa777c2049fe9c21e4be8ee8171619f | 7ab4539b719cb684c2d0933ec5833ecacf6e4fcb | refs/heads/master | 2023-08-25T10:15:53.950368 | 2021-10-24T10:51:21 | 2021-10-24T10:51:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,412 | cpp | assign.cpp | #include <bits/stdc++.h>
#define forn(i,a,b) for(int i=(a); i<=(b); ++i)
#define ford(i,a,b) for(int i=(a); i>=(b); --i)
#define repn(i,a,b) for(int i=(a); i<(b); ++i)
using namespace std;
//////
struct edge
{
int x, y, w;
};
const
int maxn=1e5+100, oo=1e9;
int n, m, res;
vector<edge> e;
vector<int> pos_e[maxn... |
c48e910aa81a3085434684e7736e5288c25cc9e9 | 8420523466c9f6ab0edf6ff556c09c5a49edc1cb | /src/common/net/cmdhandler.cpp | e44d1c9af5aca6d7a1d095b256c7806f3bcd1e0f | [] | no_license | huigou/planeshift | fb31a43ff1fad0e1b69d9683d0e1e8a0945d8fd3 | 78afce50bccf755ec4ded0c6bc91ae3c80bc5eba | refs/heads/master | 2020-05-25T15:47:26.462741 | 2016-06-15T20:34:37 | 2016-06-15T20:34:37 | 64,410,081 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 5,294 | cpp | cmdhandler.cpp | /*
* cmdhandler.cpp - Author: Keith Fulton
*
* Copyright (C) 2001 Atomic Blue (info@planeshift.it, http://www.atomicblue.org)
*
*
* 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 (version... |
9c77d0667c3b3d41f67784f5f65be66a088f27d4 | a0893ceadbf3257263e6f6b4ee8091111e97c64b | /LidarPlugin/IO/GPS-IMU/ArduPilotDataFlashLogReader/vtkArduPilotDataFlashLogReader.h | 63832e7ff0f8a378e59938bda2f22e5380705962 | [
"Apache-2.0"
] | permissive | QPanScience/GIS_PCL_VIS-LidarView | 7e9f04e9da6b13ac636061e3efccfd4686b627e5 | 9b9b2976e9ac5dcd891a604dabbb79bd6fc6a57a | refs/heads/master | 2022-04-07T11:08:09.029362 | 2020-02-14T17:07:32 | 2020-02-14T17:07:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,627 | h | vtkArduPilotDataFlashLogReader.h | //=========================================================================
//
// Copyright 2019 Kitware, Inc.
//
// 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.... |
d5ccb73082d0716c920dd75a507dc25acb792b5d | 1cdca18fe22dcc6508dfd07deb64de4abdec3f0a | /src/model/pair/date.h | 64558e2b4b3fe26f45a994880a90e9cf3d50bb91 | [] | no_license | Nikololoshka/StankinScheduleEditor2 | 1bdd405ec3deaabc29257e3932c569d8dc7cf23d | a9f582c6e5f1592617e20bb879e0de099d69a698 | refs/heads/master | 2023-08-18T15:24:19.477971 | 2021-09-28T17:01:54 | 2021-09-28T17:01:54 | 280,695,069 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,680 | h | date.h | #ifndef DATE_H
#define DATE_H
#include "stdafx.h"
#include "dateItem.h"
/**
* @brief Дата пары.
*/
class Date {
public:
Date();
Date(const Date& date);
Date(Date&& date);
Date& operator=(const Date& date);
const std::unique_ptr<DateItem>& operator[](int index) const;
bool operator==(const ... |
ef665a33b122db90238ab6d29d0909debb64e69d | 035c5da8a2cba6e6a033deb0fdc0bdda4b4d2329 | /Arduino/calc_rota.ino | 551971a64b72ed0da93d7764e17bbd0a751156ae | [] | no_license | davidmorosini/SafeRoute | b4c9a93a4baeed861541113f3f23262257b21256 | 2ba2fafba6dd0fdd8d127825127a0f047b332d23 | refs/heads/master | 2020-06-18T22:24:44.715862 | 2019-07-11T22:54:02 | 2019-07-11T22:54:02 | 196,473,539 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,527 | ino | calc_rota.ino | /**
Autores: David Morosini de Assumpção, Amanda Oliosi
Trabalho de Interfaces e Peridéricos 2018/2
*/
#define MEMBER 1
#define NONMEMBER 0
#define MAXNODES 7
//vamos considerar 1 led, como 1 par de leds
#define NUM_LEDS 5
#define NUM_SENSORES 5
#define NUM_SENSORES_REAIS 1
#define ON 1.0
#defin... |
1d257c63b1cef43a6ad369e81062ef0f75996344 | e477239a7eba11a3a1db92bd30fe0703bbf9e685 | /linearkalman.cpp | a7426e6dde259132742743bb092f286eb43cc518 | [] | no_license | vinaysubramanyam/Kalman-Filter | fbe23c15b32157e37af9d1102970c699828cb9fb | 85e3ca1bfb8c613b3ae84f0e4905696a1b2b5ca6 | refs/heads/master | 2021-04-26T23:20:40.603425 | 2018-03-11T21:03:20 | 2018-03-11T21:03:20 | 123,975,623 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,147 | cpp | linearkalman.cpp | #include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <iostream>
#include <cstring>
#include <fstream>
#include <string>
#include <cstdint>
#include <sstream>
#include <vector>
#include <iterator>
using namespace std;
inline double closed_interval_rand(double x0, double x1)
{
return x0 + (x1 - x0) * rand... |
ef7b8efaf1fba75ebd9e0423579af372ed824d4e | e025562fa4e28cc9f25aa54287ec1e9daabe37d4 | /__lib32/kylib/KYTable.h | cf2369e111ea615e03bb91af99f39b5f52b32d31 | [] | no_license | tenn-cn/TennBaseCPP | 8a526210cd310422b5b333b76ec9faaac5c03e50 | a61d4d77cd5fe1619001579c11cf663e4b67bd2e | refs/heads/master | 2020-05-29T14:41:24.262361 | 2016-07-27T06:25:51 | 2016-07-27T06:25:51 | 64,282,269 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 26,852 | h | KYTable.h | // =======================================
// Unit : 表文件类 (KYTable.h)
// Version: 3.0.0.0 (build 2011.03.09)
// Author : Kyee Ye
// Email : kyee_ye(at)126.com
// Copyright (C) Kyee workroom
// =======================================
#ifndef _KYTable_H_
#define _KYTable_H_
#include "KYFiles.h"
#include "KYFields.h"... |
8b7652db44720bb18a27e3b2ca7f40316b79da8e | bec1efd4c92544a9e304f7cb70bb7769fcf140fb | /arduino/lib/Braccio.cpp | a9d850acd1b70ec8e3fd5d47c2cce0f2a627cacd | [
"MIT"
] | permissive | jonabalzer/braccio_moveit_config | d640ada30a3037038c68b6f4db5e5bab34d40f0f | 86a930052b901953ef1226308857fe03c27bccac | refs/heads/master | 2021-01-23T02:04:51.811124 | 2017-04-20T12:03:20 | 2017-04-20T12:03:20 | 85,960,055 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,771 | cpp | Braccio.cpp | /*
Braccio.cpp - board library Version 2.0
Written by Andrea Martino and Angelo Ferrante
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 op... |
281deb5d99bcb21b6467d019974616715763a7a7 | c33ebb6bbfcbee2a8e92a3b6e9b2dcd4b7de02b4 | /src/behaviour-tree/tasks/task-print-message.cpp | e569cd4e1ab8e90a93ee6459166c7f377a2c33a3 | [
"MIT"
] | permissive | xterminal86/nrogue | 31c44bcb734b5f8516a726d9609f10d99a647336 | 4f2a3c65463fa0225dfe8834ae5bd237b811b594 | refs/heads/master | 2023-08-08T02:47:01.107493 | 2023-07-28T13:10:38 | 2023-07-28T13:10:38 | 150,626,056 | 9 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 463 | cpp | task-print-message.cpp | #include "task-print-message.h"
#include "game-object.h"
#include "printer.h"
TaskPrintMessage::TaskPrintMessage(GameObject *objectToControl, const std::string& debugMessage)
: Node(objectToControl)
{
_message = debugMessage;
}
// =============================================================================
BTR... |
6f75af8957c713b5b69f52e804f57de7cb7f2624 | 0095cab19570f2ad39ba795e4b5de2cca584cf6c | /week0/ch04/SelectSort.cpp | 8585bae90d36d62d5475e48d33a4ce08ea314e3f | [] | no_license | ZhangXiangyu23/test1030 | 01ed8ea3e19308e30f0d2fbaf265dd0b0c7bea14 | 0811efb9e55cf3f481da7536521c7de4dab7520a | refs/heads/master | 2023-09-04T11:39:01.060181 | 2021-10-31T03:17:05 | 2021-10-31T03:17:05 | 422,877,590 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 502 | cpp | SelectSort.cpp | #include <stdio.h>
int main()
{
printf("请依次输入10个地区的面试\n");
int a[10];
for(int i=0;i<10;i++)
{
scanf("%d",&a[i]);
}
printf("排序之前:\n");
for(int i=0;i<10;i++)
{
printf("%d\t",a[i]);
}
printf("\n");
//选择排序
for(int i=0;i<10;i++)
{
for(int j=i+1;j<10;j++)
{
if(a[j]<a[i])
{
int term=a[i];
... |
c140afceba91ac36fbb3935eec39ed805d0813a0 | 463a90a1634eac1085e5424b1e8f13cc7fed7a05 | /Practice/Algorithms/BreakingTheRecord/BreakingTheRecord/BreakingTheRecord.cpp | e3fb6093dc2d70da14bc52a9f2079f63769da2ec | [] | no_license | westsiderz/HackerRank | 33b2cdb163ac1f917f112cdda31a67fdc2f8c4e8 | 0b182f0e1818ba4b17c992377b3b6970052f149d | refs/heads/master | 2020-06-27T00:21:53.217403 | 2020-01-20T16:56:47 | 2020-01-20T16:56:47 | 199,797,435 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 802 | cpp | BreakingTheRecord.cpp | // BreakingTheRecord.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include "pch.h"
#include <iostream>
#include <vector>
using namespace std;
// Complete the breakingRecords function below.
vector<int> breakingRecords(vector<int> scores) {
// Keeps the current min and m... |
7b3d1cb302ef866c6c6997cb503664620d7b56ef | ed651e213c6b4b2188847a0e5084f18c9c0d448b | /CPP/src/PE_0056.cpp | 69544025acd478c7678a973c1768f8992d2b9448 | [] | no_license | udaykkumar/PEular | 577fccfa2f40295b34d3d0ac66187e93bb7c43bb | de92774a9ec7337cd3b31e8c15a04e1d0039203e | refs/heads/master | 2022-03-29T18:01:33.885957 | 2020-01-21T03:06:34 | 2020-01-21T03:06:34 | 117,124,653 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,030 | cpp | PE_0056.cpp | #include <PE_0056.hpp>
#include <boost/multiprecision/cpp_int.hpp>
using boost::multiprecision::cpp_int;
namespace project_euler
{
size_t digit_sum(cpp_int n)
{
size_t sum = 0;
while( n )
{
sum += static_cast<size_t>(n%10);
n /= 10;
}
return sum;
}
size_t PE_0056_Naive_Solution()
{
size_t ma... |
df1977c17bb15bc7e83281b44f97eb1ccbb5e30a | 39ae10a864e7031accd6788f45ea9f989259ac2d | /DataStructuresToy/linked_list.h | fa008cb25e5416d8b69b68d5684a330ee60221d7 | [
"MIT"
] | permissive | vihoc/toy | 006b6133f17d1049ce4e42cbf7aff952f47f2569 | c358eccaccc3692ace80a13bf201f5d2e6a2a4c9 | refs/heads/main | 2023-04-28T22:22:01.495595 | 2021-05-13T15:56:36 | 2021-05-13T15:56:36 | 357,206,411 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,600 | h | linked_list.h | /**
基于C++1單鏈表 , 支持std方式编程.
author: vihoc
*/
#ifndef _VIHO_STRUCTURES_LINKED_LIST_H
#define _VIHO_STRUCTURES_LINKED_LIST_H
#include <tchar.h>
//#define new new(_T(__FILE__), __LINE__)
#include <cstdint>
#include <stdexcept>
#include <traits.h>
namespace VihoStructures {
/**
* @單鏈表數據結構實現
* @每個元素存儲一個指針,鏈表尾部next指向nul... |
014d3d08161905d39c97704194f16870b936fe31 | 9310f0f5d5108612ef79a5f3d501b29cb8676202 | /main.cpp | fb448776912eff4e76fc93a51bd6c2742d97667d | [] | no_license | Sciencethebird/Cpp_Note | b4ef30a49702d44390a13c72b1a788f198e4133b | 5f32569f7d04001862c3edeba125c0b7c9d1ee2b | refs/heads/main | 2023-03-07T12:03:06.069862 | 2021-02-20T09:45:50 | 2021-02-20T09:45:50 | 339,992,719 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 687 | cpp | main.cpp | #include<array>
#include<iostream>
#include<string>
/**
* std::array is the C++ way of using static array (i.e. fixed sized array)
* it's basically C array (same properties, speed, ..), but it helps you keep track of array size
*/
template<class TYPE, std::size_t SIZE>
void print_array(std::array<TYPE, SIZE>& arr) {
... |
d73130cccb2dcca8a5b7772a90dcb949dd146ce7 | 744c38647f9ad6ef13da1c1be711491cfdc4effe | /pessoa7.hpp | 9b1d8201aba1f680edd7d99b84796e86a5a9604e | [] | no_license | pauloatavila/estrutura_dados_II | e041a29431d8ba03bbc9c2f6804d508663fa4856 | 97f79548618120cf062343425f65a1b94c19b15c | refs/heads/master | 2019-05-16T13:48:55.304533 | 2016-06-16T00:44:20 | 2016-06-16T00:44:20 | 55,104,997 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 11,893 | hpp | pessoa7.hpp | #include <iostream>
#include <string>
using namespace std;
// class PessoaTeste {
// protected:
// int variavel;
// public:
// PessoaTeste();
// void Aula();
// };
//
// PessoaTeste *raiz_teste = NULL;
//
// void PessoaTeste::Aula()
// {
// raiz_teste = NULL;
//
// };
class Pessoa {
public:
... |
cfa6c887774f5ad472a7fb66015671d909f0c5b3 | 307a9400a57d2e6a4812b4ce5f86cb63dc864459 | /Minimum_wskazniki/main.cpp | 929cb2272a3c323ea945e1d4e9b9879aa5cd52a3 | [] | no_license | Fr3di/CppApps | 01befba9f9518b8ff4ee5ed8eb901c7b4c408ec4 | b25e96ae956b9728b5dea6c8218c97a6757de613 | refs/heads/master | 2021-01-10T17:25:25.260266 | 2016-02-21T12:54:02 | 2016-02-21T12:54:02 | 52,206,440 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 549 | cpp | main.cpp | #include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;
int main()
{
srand(time(NULL));
int rozm;
cout << "Podaj rozmiar tablicy: ";
cin >> rozm;
double tab[rozm];
for(double *wsktab = tab; wsktab < tab + rozm ; wsktab++)
{
*wsktab = (double) rand() / RAND_MAX;... |
ecb169ef32dcdd6204141eded9e78eb7b803a7ab | 7844d2b9027bd706f95c9539e9029916a4f7681d | /LAB2/_1_m/_1_m.ino | 8693a4b7f23f75111a02b9ff1e0a9b8ea2aed0a9 | [] | no_license | mingzz/UW_EE299 | f8035d014c99f27232b34eced676ec5231c51711 | 6661cfe1180c191441869d67ff5ad775db479d37 | refs/heads/master | 2021-01-09T20:14:02.786353 | 2016-08-04T11:28:52 | 2016-08-04T11:28:52 | 62,349,829 | 0 | 1 | null | 2016-07-14T23:11:06 | 2016-07-01T00:08:52 | Arduino | UTF-8 | C++ | false | false | 2,283 | ino | _1_m.ino | #include <Wire.h>
// working variables
//-----------------------------------------------------------------
int inByte = 0;
char b[5]; // index 0 is on the lhs
int x = 0;
int y = 0;
char op;
void setup()
{
Wire.begin(); // join i2c bus (address optional for master)
// start serial port at 9600 bps and... |
991688d3460ebcc505d873ad65f710c3178e6724 | 7b988ce291294f6627bb7362a3bffa2fafedd9f7 | /ReadMpuDev.cpp | 3a459bb6246b97fdb1985038c6194c4c68902b00 | [] | no_license | MiaoDX/ReadMpuDev_with_RTIMULib | 2d4f08d192a821c62beb70fa3dd8069bee1a2990 | 9b1ef699c4b1e396942bed26ed548a78d78345a3 | refs/heads/master | 2021-01-01T03:47:26.123706 | 2019-01-19T16:22:26 | 2019-01-19T16:22:26 | 58,058,239 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,473 | cpp | ReadMpuDev.cpp | #include "ReadMpuDev.h"
//class mpuDev
int mpuDev::mpuDevInit(){
// Using RTIMULib here allows it to use the .ini file generated by RTIMULibDemo.
// Or, you can create the .ini in some other directory by using:
// RTIMUSettings *settings = new RTIMUSettings("<directory path>", "RTIMULib");
// where <dire... |
32ef094b36ef1ab6c5ddcb491510a5b2d27e6a8b | 13a697e6d41e10ec18f5a1ff0e2d25e386e748f7 | /transformation.h | a42101f91c41d47f7725464900e29a52ab215fa5 | [] | no_license | ZitingShen/Raytracer | 587259b8856154229d9b61f111d2f21565086ab1 | b23696dde9e95348c5c3f61b2d6309eb0b57e914 | refs/heads/master | 2021-01-20T07:02:11.934759 | 2016-12-16T12:17:42 | 2016-12-16T12:17:42 | 75,427,640 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 341 | h | transformation.h | #ifndef TRANSFORMATION_H
#define TRANSFORMATION_H
#include <glm/glm.hpp>
typedef enum _transformation_type{SCALE, TRANSLATE} Transformation_type;
class Transformation{
public:
int id;
Transformation_type type;
glm::vec3 description;
Transformation(Transformation_type type, float x, float y, float z,... |
c6e162ae7933cc3bfca9f7dbebcb83116eeca452 | 38810b445108b40d04551e2d8d3cf1ee7c119333 | /SubgraphIsomorphism/triangle/code/cpp/code/utils/mmUtil.h | 2aae3bb0ee9c3de5d0a9e57c0a7dc6406f78d4a6 | [
"BSD-2-Clause",
"MIT"
] | permissive | ffrankies/GraphChallenge | 2c7bce64a6e2903481ab2e460794f551d5327979 | d98365f90cca4741e2a66d3cbdcb2dae3d123697 | refs/heads/master | 2023-07-08T02:54:11.986630 | 2020-06-23T19:52:10 | 2020-06-23T19:52:10 | 170,616,919 | 0 | 2 | MIT | 2020-06-23T19:52:13 | 2019-02-14T02:54:41 | Jupyter Notebook | UTF-8 | C++ | false | false | 2,585 | h | mmUtil.h | //////////////////////////////////////////////////////////////////////////////
// //
// File: util.h //
// Project: miniTri //
// A... |
8784924eb4581edc8a038ac207187c8181dfff4f | fc140464f8e6e7df89201fb80a8a79c59f419dcd | /include/AST/ASTNodes/BaseNodes/BasicBlockNode.h | 3cac8c59466ad071974a8f830ccb49ad5306a3e4 | [] | no_license | iali17/gazprea-ourapplestory | fccdda460677da7ef213624ef4098546cb7cb26c | 63eec221734e4e45f2f1b526c262b5c9d70560d0 | refs/heads/master | 2020-04-16T21:21:56.383552 | 2018-12-07T20:49:18 | 2018-12-07T20:49:18 | 165,922,836 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 389 | h | BasicBlockNode.h | //
// Created by kyle on 22/10/18.
//
#ifndef GAZPREABASE_BASICBLOCKNODE_H
#define GAZPREABASE_BASICBLOCKNODE_H
#include "ASTNode.h"
#include <vector>
class BasicBlockNode : public ASTNode {
public:
std::vector<ASTNode *> *nodes;
explicit BasicBlockNode(int line);
explicit BasicBlockNode(std::vector<AST... |
56cc98af5ea7f81b18dc9414fe7c81699f19101d | 1a20961af3b03b46c109b09812143a7ef95c6caa | /Book/Windows Graphics Programming Win32 GDI and DirectDraw/Src/include/listview.h | 5ac10672fe32f176abcb9d22e77447b20c81d9af | [] | 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 | 2,278 | h | listview.h | #pragma once
//-----------------------------------------------------------------------------------//
// Windows Graphics Programming: Win32 GDI and DirectDraw //
// ISBN 0-13-086985-6 //
// ... |
38cde1ae65a0f1de511ce4f22ebba6b118f65546 | decf767e0a6580c09d6a26c224ec5be8cf4d3eb2 | /Utunes-Final-Project-Phase3/src/Session.cpp | a7b94d1231576428bd0aca1bb100fc484423aecc | [] | no_license | daniel-saeedi/AdvancedProgrammingUT | d3dffe108d22e252bf06e292b6aae58d6a29351a | 8c146fe1cd77b7b545659a0ba21a2d7f15e1d4c7 | refs/heads/master | 2023-03-12T02:34:11.129714 | 2021-02-20T21:42:27 | 2021-02-20T21:42:27 | 301,691,001 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,062 | cpp | Session.cpp | #include <algorithm>
#include "Session.hpp"
#include "Exception/EmptyException.hpp"
bool song_compare_by_id(Song *song1,Song *song2)
{
return song1->get_id() < song2->get_id();
}
Session::Session(User *_user)
{
user = _user;
songs_filter_status = false;
for(int i = 0;i < FILTERS_SIZE;i++)
{
filters.push_back(n... |
1b078ed84cfc31446760ce5e8acee26434fd71b7 | f2709cb67d6c2f46a6e6e536fd2e1749365511bf | /compiler.cpp | 2ad3e0c26ddfbf3ff1fbd279e8608aadbc011e40 | [] | no_license | gilm501/PcodeCompiler | 3eec271a777c0ceff62dbb3f493eb6c1667b08f6 | 0eb04758870f759a13111306d1547505bf3a6393 | refs/heads/master | 2021-09-01T23:32:28.507873 | 2017-12-29T07:01:36 | 2017-12-29T07:01:36 | 113,087,333 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,305 | cpp | compiler.cpp |
#include <iostream>
#include <algorithm>
#include <string>
#include <fstream>
#include <vector>
#include <stack>
#include <stdio.h>
using namespace std;
// Abstract Syntax Tree
class AST
{
string _value;
AST* _left; // can be null
AST* _right; // can be null
public:
AST(string value, AS... |
d04b829a7ce98176eaee102b8619882acff9a671 | 53b898fe40133488b5bffe9996146efd1e06df51 | /dji_robomaster_ep_driver/src/joystick_teleop_node_main.ros2.cpp | dec4987825ca84d81fa77cc8bea1473cbee94d26 | [] | no_license | calderpg-tri/tri_hardware_drivers | 63412dfbc82472572b9ad291519b2db9b5ebd259 | c6f97989a26d879538fbb224dd9e638e0609a149 | refs/heads/master | 2023-07-08T06:42:29.052239 | 2022-08-06T04:11:26 | 2022-08-06T04:11:26 | 232,660,009 | 0 | 0 | null | 2020-01-27T19:07:07 | 2020-01-08T21:07:40 | C++ | UTF-8 | C++ | false | false | 324 | cpp | joystick_teleop_node_main.ros2.cpp | #include <memory>
#include <rclcpp/rclcpp.hpp>
#include "joystick_teleop_node.ros2.hpp"
int main(int argc, char** argv)
{
rclcpp::init(argc, argv);
using dji_robomaster_ep_driver::ControllerTeleopNode;
rclcpp::spin(std::make_shared<ControllerTeleopNode>(rclcpp::NodeOptions()));
rclcpp::shutdown();
return 0... |
046411aec1bcee0d267efc0a3e26ac20d481ea7b | d82c8e0968ac3ba3ca0e924291a737b6b953e14e | /tracker/source/getBodyThreshold.cpp | a99fc17eb7dd5965ea40bca4b28a8ed7473db915 | [] | no_license | Dicksonlab/MateBook | 57d90a1bd5f40793f6bdeea528d08e355cca0343 | 22142bc7ebdd7f8cb3f3da17c4bba1df04486e1b | refs/heads/master | 2021-03-27T10:44:46.961783 | 2019-06-21T16:38:31 | 2019-06-21T16:38:31 | 101,189,573 | 6 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,725 | cpp | getBodyThreshold.cpp | #include "getBodyThreshold.hpp"
#include <stdexcept>
#include <vector>
#include <iostream>
unsigned char getBodyThreshold(cv::Mat foreground, boost::shared_ptr<std::ofstream> smoothHistogramFile)
{
int hist[256] = {};
for (cv::MatIterator_<uchar> iter = foreground.begin<uchar>(); iter != foreground.end<uchar... |
3438cf12fec6efb9903aa7856fde1ab4851a7b9e | 7a4e060297e7d2b2613deec8dda5da713657c8a1 | /cpp_d14m_2019/ex00/test/Banana.cpp | dbe4c3f8e18d993e4788fc053b654bf315c62337 | [] | no_license | ylevygithub/CPP-Pool | 3309f14e61e3ddb6943b6e33598ef6549e152566 | 0ce3eec010842f8babeac0c189f6669c27981030 | refs/heads/master | 2022-07-06T13:06:23.225297 | 2020-05-19T17:45:16 | 2020-05-19T17:45:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 297 | cpp | Banana.cpp | //
// EPITECH PROJECT, 2020
// c++pool
// File description:
// Banana.cpp
//
#include "Banana.hpp"
Banana::Banana() :
Fruit(5, "banana") {
}
Banana::~Banana() {
}
std::string const &Banana::getName() const {
return _name;
}
int const &Banana::getVitamins() const {
return _vitamins;
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.