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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
606fe23577599190fc90a4cb1be9fc67ef149203 | 057a475216e9beed41983481aafcaf109bbf58da | /src/Dictionaries/ClickHouseDictionarySource.h | 124d4c8db3f3d6c5fe026f507374365bdf6b6c31 | [
"Apache-2.0"
] | permissive | ClickHouse/ClickHouse | fece5204263a5b4d693854b6039699265f1bb27f | 6649328db809d51a694c358571539bc5820464be | refs/heads/master | 2023-08-31T18:48:36.615225 | 2023-08-31T17:51:24 | 2023-08-31T17:51:24 | 60,246,359 | 23,878 | 5,449 | Apache-2.0 | 2023-09-14T20:10:52 | 2016-06-02T08:28:18 | C++ | UTF-8 | C++ | false | false | 3,106 | h | ClickHouseDictionarySource.h | #pragma once
#include <memory>
#include <Poco/Logger.h>
#include <Client/ConnectionPoolWithFailover.h>
#include <Interpreters/Context.h>
#include "DictionaryStructure.h"
#include "ExternalQueryBuilder.h"
#include "IDictionarySource.h"
namespace DB
{
/** Allows loading dictionaries from local or remote ClickHouse ins... |
4623b0d2dc4a7630c8bb079f9108dbceb63b2c0d | c0c8bc8bc991fd93d57c479bb02dee385616bb20 | /src/file.cpp | e0bb84cb20be7ae26cfde45c2a7d6f605c83a4e5 | [] | no_license | Zanderax/C-Compiler | c6d9ef2734a7fa48ad2d1cc1fc6742a8fda9f68a | 8b4e1aa14801ecc1166f96ccc36e110ea5cd45d2 | refs/heads/master | 2021-04-27T01:44:49.428808 | 2018-03-04T20:49:51 | 2018-03-04T20:49:51 | 122,680,035 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 915 | cpp | file.cpp | #include "file.hpp"
#include <cstdio>
#include <stdio.h> /* defines FILENAME_MAX */
#include <unistd.h>
#include <iostream>
#include <fstream>
#include <string>
#include "logger.hpp"
std::string GetCurrentWorkingDir( void ) {
char buff[FILENAME_MAX];
getcwd( buff, FILENAME_MAX );
std::string current_working_... |
483826d26a116c0eb1886e9c646cf6586267416a | 182adfdfa907d3efc0395e293dcdbc46898d88eb | /Temp/il2cppOutput/il2cppOutput/AssemblyU2DCSharpU2Dfirstpass_GC_Achievement3300428386.h | 10ed2ed3ecbbdf13f3c50c26c783f6c18d4e3634 | [] | no_license | Launchable/1.1.3New | d1962418cd7fa184300c62ebfd377630a39bd785 | 625374fae90e8339cec0007d4d7202328bfa03d9 | refs/heads/master | 2021-01-19T07:40:29.930695 | 2017-09-15T17:20:45 | 2017-09-15T17:20:45 | 100,642,705 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,616 | h | AssemblyU2DCSharpU2Dfirstpass_GC_Achievement3300428386.h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Object2689449295.h"
#include "mscorlib_System_DateTime693205669.h"
// System.String
struct String_t;
// UnityEngine.Texture2D
struct Texture2D_t3542995729;
... |
da4a41f29be659a4d82baadec604ef9ee34e27fe | ea25f05b5d80f60874d9043d7e88975d296e1f1d | /src/core/ranimation.cpp | 9b7b07e040a030ab89311e388c2ffc8c07dca526 | [] | no_license | trsquarelab/csscene | be420f4af32235dea805183a2ccfe55d1090e063 | 6cc9acecc79bb35a12b0be897076c2789d68d878 | refs/heads/master | 2021-01-15T09:52:25.036532 | 2016-02-27T09:02:21 | 2016-02-27T09:02:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,620 | cpp | ranimation.cpp |
#include "ranimation.h"
namespace chikkooos
{
RAnimation::RAnimation()
: mDuration(2.0f),
mInterval(0.02),
mState(None),
mListner(0),
mRepeat(false),
mReverse(false)
{}
void RAnimation::step()
{
if (mState == Running) {
float mselap = (float)mPreviousTime.elapsed() / 1000.0f;
i... |
88992266a0dfce5269ba3e8df72a81307d71a2b8 | 70d28d4d61ded6a99010d1c39ba1abfd5839f2e1 | /Arduino/Smart_ARbnb_IoT_communicator_code/Smart_ARbnb_IoT_communicator_code.ino | d091045e97a2c277b1c5cc5ed7bd1e5a01c6e193 | [
"MIT"
] | permissive | tomasGecevicius/SmartARbnb | b6523df8bf5a073d6a54efc8f50c6e76d034e1a7 | 5eab0540d8d15b5bc8e46dc1941eaad5342c72e2 | refs/heads/main | 2023-02-13T01:34:41.891973 | 2021-01-08T14:02:49 | 2021-01-08T14:02:49 | 327,142,110 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,618 | ino | Smart_ARbnb_IoT_communicator_code.ino | // Smart ARbnb IoT communicator code.
// Made by Tomas Gecevičiuc https://gecevicius.lt
//Some nice parts of information how to connect to MQTT is found from here:
//https://techtutorialsx.com/2017/04/09/esp8266-connecting-to-mqtt-broker/
#include <WiFi.h>
#include <PubSubClient.h>
#include <Wire.h>
WiF... |
9c3f432148ed7d45637104560cca36f28e383935 | 72cb19b84fa9ee482f152f2d08ad0456879f5f87 | /lib/lvd/random_map.hpp | 5c07f36e858a27eb32118505fcf912a0ba40ff2c | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | vdods/lvd | 270a82d56edab352f17ad70089e5f487ee50dd04 | 864eaa25bdaddfc0dc7e788e693ebae3b42597be | refs/heads/master | 2023-04-26T12:52:29.895390 | 2021-05-17T22:11:34 | 2021-05-17T22:11:34 | 289,436,532 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 353 | hpp | random_map.hpp | // 2021.01.04 - Copyright Victor Dods - Licensed under Apache 2.0
#pragma once
#include "lvd/random_container.hpp"
#include "lvd/random_pair.hpp"
#include <map>
namespace lvd {
template <typename... Types_>
struct PopulateRandom_t<std::map<Types_...>> : public PopulateRandom_AssociativeContainer_t<std::map<Types_..... |
65af01a83d95858fd5171d100160c0515bbc511a | 6f57491fdcab5c9f0dedd5dd949dccad79f5783f | /Cpp_ex/C_ex/ch7 input data/ch7.hw05.cpp | f10cdb5b0567a5f72f59973828d0e53a8637e609 | [] | no_license | frankylin1111/1081ML | 1e9f07de708d8c989fed1e7dd2f313c12b3c79fb | 1ee8c99516f28e07f5ecd2530800eba8104451a6 | refs/heads/master | 2022-01-31T09:00:11.816451 | 2022-01-24T02:01:24 | 2022-01-24T02:01:24 | 208,534,601 | 0 | 0 | null | null | null | null | BIG5 | C++ | false | false | 206 | cpp | ch7.hw05.cpp | #include <stdio.h>
#include <stdlib.h>
/*
心得 2018/06/09
chapter 7.資料輸入--------homework 5
*/
int main()
{
int a,b,c,d;
scanf("%o %d %x",&a,&b,&c);
d =a+b+c;
printf("%x \n",d);
}
|
a758cd11f7c3c289b805c5a8965ace3d620b665c | a92b18defb50c5d1118a11bc364f17b148312028 | /src/prod/src/Reliability/LoadBalancing/PartitionDomainStructure.h | 47f13f73b479cc310302d54d29505966a0f3921e | [
"MIT"
] | permissive | KDSBest/service-fabric | 34694e150fde662286e25f048fb763c97606382e | fe61c45b15a30fb089ad891c68c893b3a976e404 | refs/heads/master | 2023-01-28T23:19:25.040275 | 2020-11-30T11:11:58 | 2020-11-30T11:11:58 | 301,365,601 | 1 | 0 | MIT | 2020-11-30T11:11:59 | 2020-10-05T10:05:53 | null | UTF-8 | C++ | false | false | 2,002 | h | PartitionDomainStructure.h | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#pragma once
#include "LazyMap... |
79ad508f36d19b3639f0172e1e506038c7fedb76 | 94503e468616c7c9dc42ca4b6de368119b9994b3 | /Medias_nao_sao_tudo.cpp | ee07407b12da75fecb6f29cb2b5913a899c9ecfd | [] | no_license | Keilla-Jade/Medianaosaotudo | 90015ae83e5a4b6efdae7af9304392b20a1cfd57 | 02c2d042e36ea30f3cb4bbb7265ed9435415e1fb | refs/heads/main | 2023-06-07T08:13:13.582680 | 2021-07-07T01:07:33 | 2021-07-07T01:07:33 | 383,636,732 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 2,298 | cpp | Medias_nao_sao_tudo.cpp | #include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <utility>
#include <iostream>
#include <random>
#include <iomanip>
#include <string>
#include <map>
#include <cmath>
double media(int qtd = 10) {
float soma = 0, media = 0;
float n[qtd];
for (int cont = 0; cont < qt... |
508dde16c926871eb8f787892c6410078c39dcda | 11351870905c52454934b23b27ace5e3306c4107 | /Amman16/a.cpp | 63ca2e8aab9f2d8175181c3030a64c87457be664 | [] | no_license | IvanAli/ACMICPC2017Training | 65cbe9a47788ab38026134dfe41ef7132801d8c5 | 0a274f41d9b4300fdfbc9160cd171c5edf265cbc | refs/heads/master | 2021-08-29T15:42:24.789100 | 2017-12-14T05:49:03 | 2017-12-14T05:49:03 | 114,207,562 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,344 | cpp | a.cpp | #include <bits/stdc++.h>
using namespace std;
const int maxn = 15;
int n;
string s[maxn];
int used[maxn];
int digit[256];
long long ans;
long long solve(int j, int carry) {
int sum = carry;
int ret = 0;
if (j < 0) {
ans++;
return 1;
}
for (int i = 0; i < n - 1; i++) {
if (digit[s[i][j]] == -1) {
for (i... |
7401731e44cac662fae1ffd274d10940b7233132 | c45ed46065d8b78dac0dd7df1c95b944f34d1033 | /TC-SRM-550-div1-300/czgj.cpp | b18d4cbfe282701990a20681b1668712940d19e6 | [] | no_license | yzq986/cntt2016-hw1 | ed65a6b7ad3dfe86a4ff01df05b8fc4b7329685e | 12e799467888a0b3c99ae117cce84e8842d92337 | refs/heads/master | 2021-01-17T11:27:32.270012 | 2017-01-26T03:23:22 | 2017-01-26T03:23:22 | 84,036,200 | 0 | 0 | null | 2017-03-06T06:04:12 | 2017-03-06T06:04:12 | null | UTF-8 | C++ | false | false | 1,248 | cpp | czgj.cpp | /*
Implementation.
*/
#include <bits/stdc++.h>
using namespace std;
const int dx[4] = {0, -1, 0, 1};
const int dy[4] = {1, 0, -1, 0};
int A[255][255];
int x, y, xl, xr, yl, yr;
class RotatingBot {
public:
int minArea(vector <int> moves) {
int n = moves.size();
x = xl = xr = y = yl = yr = 100; // starting at (1... |
308668984ee4419245808f5061b6703f541b60a4 | 5a578238cf15af2153f64ae3b5d2f5a835b161c6 | /Day04/ex01/Enemy.hpp | debfc9ad7abcbf2f8de6e894e3e61a11bf779cf9 | [] | no_license | KoliaPO/Piscine_CPP_unit | 59cc04125afd4f2d942f31feceda45400f434918 | 1f2a80628e9142d6bb6f5efaa2a5bbd7337ff8b5 | refs/heads/master | 2020-03-19T19:14:08.361731 | 2018-06-10T21:34:15 | 2018-06-10T21:34:15 | 136,846,229 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,243 | hpp | Enemy.hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Enemy.hpp :+: :+: :+: ... |
f2b3b1f69dc7914361fffde14a9e4145bb2aa560 | f99be17751c7c736b68fcaf382c8b47c4fccb7c4 | /thread/thread.cpp | 8999b2b534a12b8b3bb2980d3bf8105587f76261 | [] | no_license | DaltonCole/ACM_STL_Demo | 247a06603744747f7f7a88aba1af06f55c272f41 | 8c1af14cd4b2c7fce69bd20445d30205fd3fa3a8 | refs/heads/master | 2021-09-14T09:14:17.534199 | 2018-05-11T05:27:02 | 2018-05-11T05:27:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 406 | cpp | thread.cpp | #include <iostream>
#include <thread>
#include <chrono>
#include <vector>
using namespace std;
void zzz(int i) {
this_thread::sleep_for(chrono::milliseconds(564));
cout << i << " is done sleeping!" << endl;
}
int main() {
vector<thread> threads;
for(int i = 0; i < 10; i++) {
threads.push_back(thread(zzz, i));... |
1f8948b74e2f89a6a8b2ae6bc583f56e4f11a94b | 2993b609be8dc258d1387fec271584c5af568690 | /examples/ToF/readToF/readToF.ino | 838738a07321f7d9434e757364df3f95c9963144 | [
"Apache-2.0"
] | permissive | oroca/OROCA-EduBot-Library | bab5c39137081a47b5a7701692681270f68c7248 | 7046a1121f26b458800015ee5883c4b78212169b | refs/heads/master | 2020-04-18T07:11:21.739466 | 2019-06-19T13:15:40 | 2019-06-19T13:15:40 | 167,351,828 | 4 | 11 | Apache-2.0 | 2019-06-19T13:15:41 | 2019-01-24T10:50:16 | C | UTF-8 | C++ | false | false | 645 | ino | readToF.ino | #include <EduBot.h>
void setup() {
// put your setup code here, to run once:
edubot.begin(115200);
}
uint8_t mode = 0;
void loop() {
// put your main code here, to run repeatedly
edubot.lcd.clearDisplay();
edubot.lcd.printf(0, 0 , "L %d mm", edubot.tof_L.distance_mm);
edubot.lcd.printf(0... |
f4bf4567179763c0419f0320d4a7dfbf9706a241 | e31cdf21cb0d121227a05fc4bf10d0e7b618250f | /src/args.h | 539a554d3df6057cfbc8554043be241099e4720a | [] | no_license | igrek51/ycmd | 0e99b8b5b2a6ad9487461b136ca9f4f051ac6431 | ef1e0545550dbfa63dd5e896036e711cef5874aa | refs/heads/master | 2020-04-06T13:55:10.007353 | 2016-09-16T23:23:22 | 2016-09-16T23:23:22 | 36,360,631 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 750 | h | args.h | #ifndef ARGS_H
#define ARGS_H
#include "log.h"
#include <iostream>
#include <vector>
using namespace std;
class IO {
public:
static bool pause;
static string version;
};
vector<string> *get_args(int argc, char **argv);
int find_arg(string szukany, vector<string> *args);
bool is_arg(string szukany, vector... |
497d49a885c5d161b27f7862a46de9b275d762cd | d4e96aa48ddff651558a3fe2212ebb3a3afe5ac3 | /Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_vector+schar-.cxx | 5a8a67433e9865e346e2f611ffe57c13021eaa27 | [
"SMLNJ",
"BSD-3-Clause",
"LicenseRef-scancode-free-unknown",
"LicenseRef-scancode-mit-old-style",
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-warranty-disclaimer",
"NTP",
"IJG",
"GPL-1.0-or-later",
"libtiff",
"BSD-4.3TAHOE",
"... | permissive | nalinimsingh/ITK_4D | 18e8929672df64df58a6446f047e6ec04d3c2616 | 95a2eacaeaffe572889832ef0894239f89e3f303 | refs/heads/master | 2020-03-17T18:58:50.953317 | 2018-10-01T20:46:43 | 2018-10-01T21:21:01 | 133,841,430 | 0 | 0 | Apache-2.0 | 2018-05-17T16:34:54 | 2018-05-17T16:34:53 | null | UTF-8 | C++ | false | false | 69 | cxx | vnl_vector+schar-.cxx | #include <vnl/vnl_vector.hxx>
VNL_VECTOR_INSTANTIATE(signed char);
|
1ec36af8732f7e789eed0cb29f755ad312554239 | 31ac07ecd9225639bee0d08d00f037bd511e9552 | /externals/OCCTLib/inc/Select3D_SequenceNodeOfSensitiveEntitySequence.hxx | a6f63c5482af4d21a6243765b12fb060ad6ee600 | [] | no_license | litao1009/SimpleRoom | 4520e0034e4f90b81b922657b27f201842e68e8e | 287de738c10b86ff8f61b15e3b8afdfedbcb2211 | refs/heads/master | 2021-01-20T19:56:39.507899 | 2016-07-29T08:01:57 | 2016-07-29T08:01:57 | 64,462,604 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,478 | hxx | Select3D_SequenceNodeOfSensitiveEntitySequence.hxx | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _Select3D_SequenceNodeOfSensitiveEntitySequ... |
afd5ee270ecdabef2568e7d4d9b5079e675b69f9 | 27572988c45401e543f61e0b539847b2171204ac | /src/core/ContentWindowManager.cpp | b4897e5dd37ebdd63874cc268fbf7f314cc3ca3c | [
"BSD-2-Clause"
] | permissive | biddisco/DisplayCluster | 566cc81314c0e0bfec1cd0d2da7f893f77e9d1df | 18f4c4652182238f3bcaab1fc49ffea3558b63b0 | refs/heads/master | 2021-01-18T09:05:59.122417 | 2014-08-11T12:30:58 | 2014-08-11T12:30:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,487 | cpp | ContentWindowManager.cpp | /*********************************************************************/
/* Copyright (c) 2011 - 2012, The University of Texas at Austin. */
/* All rights reserved. */
/* */
/* Redistribution and use in sou... |
ddb6a3d3fc936f30f088a9af7a125721288810c6 | 7b3c55cc22b812ce2c6f4b410396ddf30ee990d3 | /dsd/dsd_rx.cc | e7419b14f4ee1a8b047aec44657fec1963f1cb3e | [] | no_license | croutonage/sdr | 645f68755d91dd0a173544ff2339458b7567a2e6 | 6a80426d2b2203644c9d7185700d5af61b73b246 | refs/heads/master | 2020-04-06T03:42:59.744433 | 2013-10-11T00:55:08 | 2013-10-11T00:55:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,176 | cc | dsd_rx.cc | /*
* Copyright 2011 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* GNU Radio is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later ver... |
0a55a1b7f9c6f944d78c39bbac6db2580721a39c | 5600b02e374beb0fc4bba648ac36c68637018601 | /Bot.h | 0015bb3930ff9908b777c8de395c254aa4d8b220 | [] | no_license | 0celot/heron2011 | aec84eb7d56aaa829d102793454ad388288a8e79 | 8d106a90b67b5da375141bb7c58d26a5fe448049 | refs/heads/master | 2016-09-06T11:48:07.812020 | 2012-05-29T19:42:44 | 2012-05-29T19:42:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,433 | h | Bot.h | #ifndef BOT_H_
#define BOT_H_
#include <list>
#include <vector>
//#include "Bot.h"
#include "Realm.h"
#include "AStar.h"
#include "GameState.h"
/*
This struct represents your bot in the game of Ants
*/
struct Bot
{
AStar pathFinder;
GameState gameState;
std::list<Realm> realms;
std::list<Task> task... |
ac962483bc7b456b802885f53deb719513ae6258 | cb38302ccbe839399f81084202f09f8bbd02bc78 | /src/include/SpecialFunctions.hpp | 1f00780991b42324a1f060d3d06220989549fbbf | [
"BSD-3-Clause",
"MIT",
"BSL-1.0",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause"
] | permissive | granthussey/Umibato | 65771c1673e4aea60d2f56adb53e38d42d88478b | 20718f75a3e4549f26315984691409b49d9d75d5 | refs/heads/main | 2023-04-08T13:36:42.680271 | 2021-04-22T14:53:08 | 2021-04-22T14:53:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 796 | hpp | SpecialFunctions.hpp | //
// SpecialFunctions.hpp
//
// Copyright (c) 2020 Shion Hosoda
//
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
//
#include<iostream>
#include<Eigen/Dense>
#include<Eigen/Core>
#include <unsupported/Eigen/SpecialFunctions>
#include <boost/math/special_functions/... |
bbe663522d313eecaae2b8b23939a10d7baa00c1 | 470fae08316b55246ab01675ac5013febfb13eee | /src/server/bnetserver/Services/ServiceDispatcher.cpp | 5b53ef0ca5a9ae396d9e95db0ee8851910cb8452 | [] | no_license | adde13372/shadowcore | 8db6fb6ccc99821e6bd40237a0c284ce7cf543c2 | aa87944193ce02f6e99f7b35eceac5023abfca1b | refs/heads/main | 2023-04-01T07:38:39.359558 | 2021-04-03T07:54:17 | 2021-04-03T07:54:17 | 354,320,611 | 4 | 8 | null | 2021-04-03T15:02:49 | 2021-04-03T15:02:49 | null | UTF-8 | C++ | false | false | 1,961 | cpp | ServiceDispatcher.cpp | /*
* Copyright 2021 ShadowCore
*
* 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
* option) any later version.
*
* This program is distributed... |
c9946c84efccf728a0e88a4cca951786de3677f2 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /src/library/compiler/struct_cases_on.cpp | 3e2613f569577487a8fb387bc31ebaf3aa8dca85 | [
"Apache-2.0",
"LLVM-exception",
"NCSA",
"LGPL-3.0-only",
"LicenseRef-scancode-inner-net-2.0",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"Spencer-94",
"LGPL-2.1-or-later",
"HPND",
"LicenseRef-scancode-pcre",
"ISC",
"LGPL-2.1-only",
"LicenseRef-scancode-other-permissive",
"SunPro",
"CMU-Mach"... | permissive | leanprover/lean4 | 4bdf9790294964627eb9be79f5e8f6157780b4cc | f1f9dc0f2f531af3312398999d8b8303fa5f096b | refs/heads/master | 2023-08-30T01:57:45.786981 | 2023-08-29T23:14:28 | 2023-08-29T23:14:28 | 129,571,436 | 2,827 | 311 | Apache-2.0 | 2023-09-14T18:29:16 | 2018-04-15T02:49:20 | Lean | UTF-8 | C++ | false | false | 8,305 | cpp | struct_cases_on.cpp | /*
Copyright (c) 2019 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#include "runtime/flet.h"
#include "kernel/instantiate.h"
#include "kernel/abstract.h"
#include "kernel/type_checker.h"
#include "kernel/inductive.h"
#inclu... |
69bfd5fd8eee6b603db0fa01ae1bcc066555b7a9 | 6238dafed3bdc01d898059cbfe475219c8643ccd | /SENSOR_ULTRASSONICO.ino | e8b3fd4bd81a422f40a7671fbb543a609a808395 | [] | no_license | pacocatech/sensor-ultrassonico | 5800c4569b0807626d7f81279cf5ef19b80ed962 | 50ae3fa9262f845ac469b8b15d3a7319720757ab | refs/heads/master | 2022-12-28T08:49:10.714891 | 2020-10-13T20:04:36 | 2020-10-13T20:04:36 | 303,815,677 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,362 | ino | SENSOR_ULTRASSONICO.ino | /**
Criado por Paçoca Tech
Youtube: https://www.youtube.com/channel/UCW6OP5j28zFsnKxpQ2v9CsA
Instagram: http://instagram.com/pacocatech
Github: http://github.com/pacocatech
E-mail: pacocatech@gmail.com
Manipulando sensor de distância ultrassônico.
*/
#define PIN_TRIGGER 7
#define PIN_ECHO... |
42662171ea2f66438f8956a514133afeb370beca | cb0016b2fb81c6f0483ec9dde2d762b7ce161bce | /c++/multiplication/.#plotting.cpp | c6ce88a2ae3b5175b4a55301056d39cfcf34b40b | [] | no_license | HoldenCaulfieldRye/DivideConquer | 04f901faa9c4d104a4d4c7d4144c0cde9fd46504 | 1e5ac960e7a9718822299db606dff6bf499764d2 | refs/heads/master | 2020-05-18T10:48:59.321917 | 2014-03-18T23:51:07 | 2014-03-18T23:51:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 44 | cpp | .#plotting.cpp | hh1013@matrix11.doc.ic.ac.uk.3205:1394533057 |
d8581f5913dbcb2df52bd7fd9c4c7a1be0f618e6 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5646553574277120_1/C++/SerLis/main.cpp | 72486836d6d43c3a4f97500588dc22c14f10a97a | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,765 | cpp | main.cpp | #pragma comment(linker, "/STACK:256000000")
#include <stdio.h>
#include <iostream>
#include <cmath>
#include <math.h>
#include <string>
#include <algorithm>
#include <vector>
#include <set>
#include <map>
using namespace std;
int Zf(const string& str) {
vector<int> result;
result.push_back(str.size... |
e273425ed2d8be747af6a292ecee3b7e7952543e | 301fcf8f5b5020a96f3217a84757026d1607ff48 | /include/osnet.h | d013eb63fb9a01e377a73bfbb937fbc92d2b1dfb | [] | no_license | ngduchai/hp-range-search | 9af7a1234ed36a071de4f21343bf06137de7d8a9 | b1b274f7bb0af4b0a7510dc50d721a0507df852f | refs/heads/master | 2021-01-09T06:57:59.773914 | 2017-02-28T16:11:35 | 2017-02-28T16:11:35 | 81,162,078 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,386 | h | osnet.h |
#ifndef BNET_H
#define BNET_H
#include <rdma/rdma_cma.h>
#include <pthread.h>
#include "define.h"
#include "net.h"
#include <vector>
#include <list>
#include <iostream>
#define LARM_NET_BASE base
#define BUFFER_SIZE (1 << 19)
#define NUM_WORKERS 12
#define NUM_QUEUES 8
namespace LARM {
namespace LARM_NET {
name... |
e9fa178bb6ec88c72851e81ed16b459bf1e1d4df | 4b3af359a30b568f43c2a77cd10ff907eac2cc88 | /app/src/main/cpp/NoiseOsc.h | 4fb53c0cdbb99df99d0a72700f11300f0f2c2f26 | [] | no_license | claybailey2/SeniorProject | cec145be288a6fe7831b7990c0283e0af452858c | 9ab814c01db55c8302513db1ebbe693d0a89fe9c | refs/heads/master | 2023-01-08T03:55:33.865366 | 2020-11-01T16:20:00 | 2020-11-01T16:20:00 | 291,770,495 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 892 | h | NoiseOsc.h | //
// Created by Clay Bailey on 2020/09/10.
//
#ifndef SENIOR_PROJECT_NOISEOSC_H
#define SENIOR_PROJECT_NOISEOSC_H
#include "IRenderableAudio.h"
#include <stdlib.h>
constexpr int32_t kNumIncrements = 10000;
class NoiseOsc : public IRenderableAudio {
public:
void renderAudio(float *audioData, int32_t numFrames... |
b8e5399ac397c1dd9fb230faceec723c98c0e8dd | 073e521d43a80397fc82322387c2f593ea69a5c0 | /SocketWrapper/Socket.h | 54dc758fd737d32885320a1092c21d6dc984b113 | [] | no_license | RoryHemmings/Dino | 3aa1122fba92baecc22fd245b06b41cd82ef8845 | 5e33583b2f691b1076d977aacf47b3aaf2ac692e | refs/heads/master | 2020-07-22T10:33:34.869890 | 2019-10-18T05:12:15 | 2019-10-18T05:12:15 | 207,169,537 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,878 | h | Socket.h | #pragma once
#ifndef SOCKET_H
#define SOCKET_H
#include <stdio.h>
#include <winsock2.h>
#include <ws2tcpip.h>
#include <iphlpapi.h>
#include <string>
#include <Windows.h>
#pragma comment(lib, "Ws2_32.lib")
class Socket
{
public:
// Recieves until newline (\n)
std::string recieveLine() const;
// Recieves stri... |
64f25b6f7e9bb618931e220b6c44225a05334c66 | 5a235776f40cf4bb82e9e345865072fffdf48caf | /Week 8/insetTBT.cpp | e3031c51cfc39d7272c655bae5981e7b373b978b | [] | no_license | Vignesvaraa/FirstRepo | 01f5c09a06657d02e4389409a4fec7e744cc30d2 | 97ab1121c77a8d62425829cc92f90e1f9c9d44ba | refs/heads/master | 2020-04-08T23:10:16.336430 | 2018-11-30T11:31:48 | 2018-11-30T11:43:09 | 159,814,212 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,397 | cpp | insetTBT.cpp | #include <stdio.h>
#include <conio.h>
#include <stdlib.h>
typedef struct threadedbinarytree
{int info;
struct threadedbinarytree *left,*right;
int rlink;
}TBT;
TBT *create();
TBT *makenode(int);
TBT *insert(TBT *,TBT *);
/*inorder or symmetric order*/
void inorder(TBT *);
/*Depth first order*/
void pr... |
f983829ddf565f0ef7ec406344852ab26a2387b7 | ba3a948544299d6d9eab9093ed7fd7bb3aaca5f6 | /tiny_compiler/core/Parser.h | 5c3ac92a4135431c444b6f71a0f48bc2ed8196c5 | [] | no_license | abyanwang/tiny_compiler | 65d5dbfe04f3c2db4ac5ded9fdb2d09daa0ab4dc | 9864702be55c546e35349336c992967cc466cf2d | refs/heads/master | 2022-11-10T10:34:37.133418 | 2020-07-01T11:22:25 | 2020-07-01T11:22:25 | 274,130,687 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,593 | h | Parser.h | #ifndef TINY_COMPILE_PARSE_H
#define TINY_COMPILE_PARSE_H
#include <sstream>
#include "Token.h"
#include "TreeNode.h"
#include "SymbolTable.h"
#include "Log.h"
class Parser {
public:
class TokenInterface;
private:
TokenInterface& _interface;
SymbolTable symbol_table;
TreeNode* root = nullptr;
Log... |
64b4ac67d4fd9a21c4eae62656067ccf1da09d1e | f6244209f8ecff355822843f64d6368281266143 | /881.BoatstoSavePeople.cc | 366c660e17c630e18f5105f84a573edc1cb6446b | [] | no_license | seesealonely/old-leetcode | 5711fc0d583ca15c14cb8fb3a241e860e6d6fcd4 | 28e4bc6e28ba8c36e90a05a6214c7c716fe03431 | refs/heads/master | 2022-04-26T10:18:43.770677 | 2020-04-28T21:20:35 | 2020-04-28T21:20:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 955 | cc | 881.BoatstoSavePeople.cc | /*
The i-th person has weight people[i], and each boat can carry a maximum weight of limit.
Each boat carries at most 2 people at the same time, provided the sum of the weight of those people is at most limit.
Return the minimum number of boats to carry every given person. (It is guaranteed each person can be carrie... |
2b57747acd7817426031231ad8f7eab181c4d3bf | 7e802f2d27319db817eda4a77d887042c32ebb92 | /412/soln.cpp | 483fb62a23ff461ce99a2f7f8bbd0e72685052e1 | [] | no_license | wildpotato/LC | 71cbd01284570c87ed41e907cf64e9b2c441781e | c7cc76eb64787c4ea925663f0de7cee0f2605546 | refs/heads/master | 2023-03-20T01:06:31.905711 | 2021-02-18T00:19:25 | 2021-02-18T00:19:25 | 308,576,158 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 608 | cpp | soln.cpp | #include "../include.h"
class Solution {
public:
vector<string> fizzBuzz(int n) {
vector<string> ret (n);
for (int i = 1; i <= n; ++i) {
string out = "";
if (i % 3 == 0) {
out += "Fizz";
}
if (i % 5 == 0) {
out += "Buzz";
}
if (out.empty()) {
out += to_string(i);
}
ret[i-1] ... |
061a1f5373b9a4750e510154e68b150e32a730b8 | 07a93bc9448c3f6004edfe3c2f35d1a76fadbb34 | /dynamic_programming/knapsack_01/equal_partition_sum_knapsack.cpp | 29029226841ffe117e0846644d5bca0e62aaf259 | [] | no_license | biswaroop1547/CS_work_codes | dbdd6c67f42a6c62542a3683cc4b4139c28d0d10 | 1ce249b0026cf82d8c056003d12749ef2b4a024a | refs/heads/master | 2023-03-28T23:54:26.599672 | 2021-03-25T00:45:38 | 2021-03-25T00:45:38 | 293,131,198 | 0 | 3 | null | 2020-10-16T00:12:32 | 2020-09-05T18:19:36 | C | UTF-8 | C++ | false | false | 1,047 | cpp | equal_partition_sum_knapsack.cpp | #include<iostream>
bool subsetSum(int value[], int sum, int n){
bool memo[n + 1][sum + 1];
for(int i = 0; i < n + 1; ++i){
for(int j = 0; j < sum + 1; ++j){
if(i == 0){
memo[i][j] = false;
}
if(j == 0){
memo[i][j] = true;
... |
04d0d1a50a8935c64265f5b650665cd95f640e23 | fed98c76e41d51a24f262fa4c2ea17aea10539de | /src/wugang/src/461_hamming_distance/hamming_distance.h | 8d45f5c60026442b5ad7f718bbc56aeb73c241ea | [] | no_license | generalibm/leetcode | 78c06c9cc8d3e164e3c87818a841e26c9a5009d5 | 3d7d18ae9fd50b457b7cb39b27568a2eafb856bc | refs/heads/master | 2021-06-24T11:24:11.572522 | 2019-11-13T12:34:44 | 2019-11-13T12:34:44 | 188,649,239 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 140 | h | hamming_distance.h | #ifndef HAMMING_DISTANCE_H_
#define HAMMING_DISTANCE_H_
class HammingDistance
{
public:
int hammingDistance(int x, int y);
};
#endif
|
6779d08cf07217645dbca0c9aa9269559d494122 | 48e256051b205e7b324172fc0cf13fb1efb0e3a3 | /marcview/VWCL/common_dialogs/vcolordialog.hpp | fe9833ebf39498ab10c5b8386433e815129514c0 | [
"Apache-2.0"
] | permissive | 15831944/MARCView-Convert | b8ccf2ae3781e9e3957a6ad3c061e08bd1310606 | 4afe7f08e59550446b32a363873ea2cd35f163ab | refs/heads/master | 2021-12-14T21:52:40.578212 | 2017-06-09T16:17:59 | 2017-06-09T16:17:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,780 | hpp | vcolordialog.hpp | /* This source code is part of the Virtual Windows Class Library (VWCL).
VWCL is a public C++ class library, placed in the public domain, and is
open source software. VWCL is not governed by any rules other than these:
1) VWCL may be used in commercial and other applications.
2) VWCL may not be distributed, in ... |
a608a65bfe79f05c3adf1cc18bc26c79932a81cb | d2825a1ac58f839ef374e1a137bc0c92b6449a6f | /src/Frodo-core/core/math/vec2i.cpp | 5c9e004b49c51f88526f8464052ac42f74ba85c7 | [
"MIT"
] | permissive | JeppeSRC/Frodo | 6b1f5e34f5a39267ffd2fa920c8692dec1f136e5 | f3229c4601608254f16f4499052d8d03c94c0e86 | refs/heads/master | 2021-04-22T12:51:47.546177 | 2019-08-21T10:00:30 | 2019-08-21T10:00:30 | 114,281,418 | 17 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,736 | cpp | vec2i.cpp | #include "vec2.h"
namespace fd {
namespace core {
namespace math {
vec2i::vec2i() : x(0), y(0) {}
vec2i::vec2i(int32 x, int32 y) : x(x), y(y) {}
//int32
vec2i& vec2i::Add(const vec2i& v) {
__m128i vxmm = _mm_set_epi32(0, 0, v.y, v.x);
__m128i xmm = _mm_set_epi32(0, 0, y, x);
xmm = _mm_add_epi32(xmm... |
11806a392e5902cd179917f3ea57d860b4cc675c | 60fa6f19ec80cd9cd546615e7eac1333884f56d2 | /loadingform.cpp | b8e7d323b165b9a6620053656ce8093f2d3a888b | [] | no_license | zmwupgreat/DataManager | 5fdaf4aa5861ee9efb19df8e6ab3a8e268128091 | 11398309d46a51d6567adc073d709dae90234a52 | refs/heads/master | 2020-03-28T01:17:20.665854 | 2018-10-21T05:02:03 | 2018-10-21T05:02:03 | 147,493,493 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 327 | cpp | loadingform.cpp | #include "loadingform.h"
#include "ui_loadingform.h"
LoadingForm::LoadingForm(QWidget *parent) :
QWidget(parent),
ui(new Ui::LoadingForm)
{
ui->setupUi(this);
this->setWindowFlags(Qt::FramelessWindowHint);
this->setWindowModality(Qt::ApplicationModal);
}
LoadingForm::~LoadingForm()
{
delete u... |
83efde9b816003df729b77cfd0d838066a21aaef | 761d2729914160aa8d86a4067a5a85ef7ba8cf78 | /leetcode/480.cpp | 2ea4efdc688975d406fb229cefcd8e457ee525bb | [] | no_license | leebohee/problem-solving | 152ec5abb7fcafd3006dbc2ccc7152724658fb53 | 08d77878b09b763c735ba55fc779eb4386b74d33 | refs/heads/master | 2021-07-05T11:56:40.623793 | 2020-09-10T11:21:41 | 2020-09-10T11:21:41 | 170,067,865 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 824 | cpp | 480.cpp | class Solution {
public:
vector<double> medianSlidingWindow(vector<int>& nums, int k) {
multiset<int> mset;
vector<double> result;
for(int i=0; i<k; i++) mset.insert(nums[i]);
int n = nums.size();
auto mid = next(mset.begin(), k/2);
for(int i=k; ; i+... |
4545f77544c2f7a6c51b7e5b302af6eec9df7751 | d8a8831ad5f0edbd2df58471f70695e219ec9b24 | /basics/stringstream.cpp | 5fbdfd9a54188265c51ba2ddf6b5643a45bbccba | [] | no_license | pingsoli/cpp | 71a28fcd2f5e8c3e3a36eb9bfb452c5efc346f06 | 63ab2b4d94c0e349b47bdb2dd99c8631260d9cd1 | refs/heads/master | 2021-05-10T15:20:08.295191 | 2019-02-22T09:06:32 | 2019-02-22T09:06:32 | 113,022,278 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,170 | cpp | stringstream.cpp | ////////////////////////////////////////////////////////////////////////////////
// stringstream is based on readbuf, not support move semantics by now.
////////////////////////////////////////////////////////////////////////////////
#include <sstream>
#include <iostream>
int main(int argc, char *argv[])
{
int n;
... |
38e71013e8c1507d694f24992b034218b40e727d | c709d2b301ed035542ecd597e75f19b5fcdd975e | /xcyDesignMode/xcyDesignMode/mediator/mediatest.cpp | 9f6323bf6eeb9ef61afe571bd4b2faf4848dd087 | [] | no_license | xcysuccess/ios--stl------ | a040788d691987b388ef5569fe2cfab8fc216152 | 9c415a48cec06c81295d433b7fef03bbb3e1f2e9 | refs/heads/master | 2021-01-17T14:14:46.274141 | 2014-03-25T15:53:43 | 2014-03-25T15:53:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 612 | cpp | mediatest.cpp | //
// mediatest.cpp
// xcyDesignMode
//
// Created by XiangChenyu on 14-3-25.
// Copyright (c) 2014年 XiangChenyu. All rights reserved.
//
#include "mediatest.h"
#include "person.h"
#include "mediator.h"
void mediatest::show()
{
Person *pRentor = new Renter();
Person *pLandlord = new Landlord();
Medi... |
d66496e2e34d16dba13cf8e5fb593157fbe57972 | c3f32df33fb37f6daceaad2c2cffe717e39bb4e1 | /Codeforces/Round#303/e.cpp | 6d27dfc90ee18f6073bbe5af84cf0de55c1f1476 | [] | no_license | diego-gabriel/CompetitiveProgramming | 92ab79e1acd39b17455a86f36489448085df5a46 | c119997fbe8d1786e0269fe784bc963a17e21564 | refs/heads/master | 2021-01-17T11:55:17.840903 | 2015-06-23T19:44:35 | 2015-06-23T19:44:35 | 37,434,165 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,110 | cpp | e.cpp | #include <iostream>
#include <cstdio>
#include <map>
#include <set>
#include <vector>
#include <queue>
using namespace std;
struct Edge
{
long long to;
long long w;
Edge(){};
Edge(long long a, long long b){
to = a;
w = b;
}
};
bool operator < (Edge a, Edge b){
if (a.w == b.w)
return a.to < b.to;
return... |
1158c1a7451881b23da4b5254573cc470f32613e | f0d9cb209d81ec7bf981bc1502948c0191c2bb8c | /source/blind_jump/entity/effects/orbshot.cpp | fe30bf7c536c10579d4b8b16c4b6e41deb623243 | [
"GPL-1.0-or-later",
"MIT"
] | permissive | evanbowman/blind-jump-portable | 7bcbba0a4cf5860587a6bc19e126e39b6783bd70 | 60f57285d96c083a6fd76d0a07bf7f9c15158feb | refs/heads/master | 2023-07-21T08:52:49.305448 | 2023-07-07T19:53:09 | 2023-07-07T19:53:09 | 193,804,028 | 195 | 11 | MIT | 2023-07-07T19:53:10 | 2019-06-26T00:55:21 | C++ | UTF-8 | C++ | false | false | 1,507 | cpp | orbshot.cpp | #include "orbshot.hpp"
#include "platform/platform.hpp"
OrbShot::OrbShot(const Vec2<Float>& position,
const Vec2<Float>& target,
Float speed,
Microseconds duration)
: Projectile(position, target, speed),
timer_(duration), hitbox_{&position_, {{12, 12}, {8, ... |
7558d52edb738569bbdcd558e86b2dce2b449c93 | 574b207e8608e288274a8450bcf9f3635fff38d6 | /17_advanced_graphs/2_permutation_swaps.cpp | 73d1d6c8a9199ce960926ecbddabff242363c252 | [
"MIT"
] | permissive | anujjain5699/Coding-Ninjas-Competitive-1 | eabce470e790ddf209d23ef15f49133efb47176d | 791dfd800d5ca6def63da12ad286d49edda736a0 | refs/heads/master | 2023-07-16T02:58:38.538649 | 2021-09-02T11:35:48 | 2021-09-02T11:35:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,726 | cpp | 2_permutation_swaps.cpp | /*
Kevin has a permutation P of N integers 1, 2, ..., N, but he doesn't like it. Kevin wants to get a permutation Q.
Also he believes that there are M good pairs of integers (ai , bi). Kevin can perform following operation with his permutation:
Swap Px and Py only if (x, y) is a good pair.
Help him and tell if Kevin ... |
3f0a0ade94de35e34524ff79ab0a4a257e9aeb49 | d5acc40e766857c2399013c5228fc4f02b2f5210 | /c++/31 - coin sums.cpp | db2168797456964bb4c7c671ae6cd52228c8f3eb | [] | no_license | celvro/euler | a79dec92620fedfaaa5789a29d964395488fc1d8 | f76d6f00efd9db26b9caad72e94110d5ef972b37 | refs/heads/master | 2016-09-10T03:21:41.417156 | 2015-04-30T21:27:38 | 2015-04-30T21:27:38 | 20,080,352 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 393 | cpp | 31 - coin sums.cpp | #include<iostream>
using namespace std;
int main(){
int max = 200;
int count = 0;
for(int a=max; a>=0; a-=200)
for(int b=a; b>=0; b-=100)
for(int c=b; c>=0; c-=50)
for(int d=c; d>=0; d-=20)
for(int e=d; e>=0; e-=10)
for(int f=e; f>=0; f-=5)
for(int g=f; g>... |
10c8c2ad8ae89fe49d7a1d892569a7ce4d24ccea | 9eb2245869dcc3abd3a28c6064396542869dab60 | /benchspec/CPU/541.leela_r/src/Utils.cpp | 8795bbe724920e2c6168b25a5f23e4b0ab4f0798 | [] | no_license | lapnd/CPU2017 | 882b18d50bd88e0a87500484a9d6678143e58582 | 42dac4b76117b1ba4a08e41b54ad9cfd3db50317 | refs/heads/master | 2023-03-23T23:34:58.350363 | 2021-03-24T10:01:03 | 2021-03-24T10:01:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,125 | cpp | Utils.cpp | #include "config.h"
#include <iostream>
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#ifdef WIN32
#include <windows.h>
#endif
#include "Utils.h"
bool Utils::input_causes_stop() {
char c;
c = std::cin.get();
std::cin.unget();
return true;
}
bool Utils::input_pend... |
abbb21985b9197fb7b5f5d9b8e3090b30f53b1ac | 20f52e35def95343577c691d9dca66ac0846f807 | /include/SdlContextWrapper.h | 312e0ca79bfeaa36a1f2ed6d91fce3bf5adf7ee1 | [] | no_license | BlindGarret/openGL.101 | 3fa393a314f6d541014ede595a9ef6bf3cecbf12 | fe891e99d485f45a7f75af3ca966dcaf370c4327 | refs/heads/master | 2016-09-01T06:22:50.454228 | 2015-11-13T19:02:32 | 2015-11-13T19:02:32 | 45,715,245 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 325 | h | SdlContextWrapper.h | #ifndef SDLCONTEXTWRAPPER_HEADER
#define SDLCONTEXTWRAPPER_HEADER
#include "OpenGlTestCase.h"
class SdlContextWrapper
{
public:
SdlContextWrapper(OpenGlTestCase* testCase);
bool Init();
void Start();
void Close();
private:
OpenGlTestCase* _testCase;
SDL_Window* _window = nullptr;
SDL_GLContext _context;
};
#e... |
644ce4368a93257390d5192ca660b5bf56b6d9d4 | 6fee5fd1b5412e65a3a6c4df3edfa608c885f11b | /Cpp/uva 10341 solve it.cpp | ee0655eddf6e341165c052bc07630f22ded15270 | [] | no_license | PrinceCuet77/UVa | d47f000ae6c05465b5582c77626a7d9f2942eb71 | d45e0d895bf56696d5bb0c331a517249b7ba6ef1 | refs/heads/master | 2020-12-15T00:39:33.049648 | 2020-05-31T07:52:21 | 2020-05-31T07:52:21 | 234,930,506 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 739 | cpp | uva 10341 solve it.cpp | #include<bits/stdc++.h>
#include<math.h>
using namespace std;
double p, q, r, s, t, u;
double func(double x){
return p * exp(-x) + q * sin(x) + r * cos(x) + s * tan(x) + t * x * x + u;
}
int main()
{
double mid;
while(scanf("%lf %lf %lf %lf %lf %lf", &p, &q, &r, &s, &t, &u) == 6){
if(func(0) * fu... |
67e4e08c99506ed5612b00b21c43c8af96f3868c | 753671f685808c793682c432227885330a9fa548 | /tp1/punto1/ej1P.cpp | d0d8402eed9ab24bbd6507fa04b106495e93c658 | [] | no_license | rozen03/algo3_2c2016 | 7a814d90a207c69b6fea553beb351ed99ee00e5e | 58b12eee2d2e78d2598b45915b4e34489224eb9b | refs/heads/master | 2020-06-13T04:56:46.834941 | 2016-12-02T02:17:55 | 2016-12-02T02:17:55 | 75,445,740 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,437 | cpp | ej1P.cpp | #include <list>
#include <iostream>
#include <fstream>
#include <chrono>
#include <vector>
using namespace std;
int AAA =0;
//se asegura que al enviar a cantA y cantC no haya una muerte sangrienta de algun lado
bool puedensalirP(int cantA, int cantC, int arcMismoLado, int canMismoLado, int arcOtroLado, int canOtroLad... |
8ccaf25682634cb41cca43b18615f1e7206af929 | c18a340b9b01bc076b969476de637c72b3e31cdf | /include/boo/inputdev/DolphinSmashAdapter.hpp | a31bb6ccf5fed05688669d21b16bb37a7f5f6766 | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | GarntS/boo | fa50acd1afdc79dce15b1343e8b6b95624a84298 | 73891af56a633cf2b4e047b6422f34c80230eb29 | refs/heads/master | 2020-05-21T15:29:11.272038 | 2017-03-10T21:07:29 | 2017-03-10T21:07:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,211 | hpp | DolphinSmashAdapter.hpp | #ifndef CDOLPHINSMASHADAPTER_HPP
#define CDOLPHINSMASHADAPTER_HPP
#include <stdint.h>
#include "DeviceBase.hpp"
namespace boo
{
enum class EDolphinControllerType
{
None = 0,
Normal = 0x10,
Wavebird = 0x20,
};
ENABLE_BITWISE_ENUM(EDolphinControllerType)
enum class EDolphinControllerButtons
{
St... |
e5dbd6f4cf996455f9ae0cdc7433cdb11dada9d4 | 84b846a8af370065ebc1bc76c08f9cb5df5caccc | /valid_ip_address.cpp | 7ecc2e3380d357cc5745e3c3866562b866b9b20f | [] | no_license | vidhibansal/codes | ac7da981656396dd7e0b0d22f51208cf7a3e895c | de7d3ff3a111ef956cff01a71987277c3542ff3d | refs/heads/master | 2020-06-29T01:59:39.829560 | 2019-08-04T16:19:20 | 2019-08-04T16:19:20 | 200,404,448 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,571 | cpp | valid_ip_address.cpp | /*
Given a string containing only digits, restore it by returning all possible valid IP address combinations.
A valid IP address must be in the form of A.B.C.D, where A,B,C and D are numbers from 0-255. The numbers cannot be 0 prefixed unless they are 0.
Example:
Given “25525511135”,
return [“255.255.11.13... |
793bf8ba9d5b85f7d4ad56b23125cf295f789f47 | 92c8dfc77c335358d4d3911397d0959685f70c37 | /injectTools/injectToolsDlg.h | b90bf41c3ed47a3065fee23e2a93b6b830f5deb7 | [] | no_license | fengjixuchui/heapSpray | cb92264cbd844a8f7063b685ad23cee574ffb6d9 | e0e8aa7f6c8957a9f445673910888c8275c7eaec | refs/heads/master | 2020-06-25T03:38:21.232500 | 2018-11-21T02:44:28 | 2018-11-21T02:44:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 730 | h | injectToolsDlg.h |
// injectToolsDlg.h : header file
//
#pragma once
// CinjectToolsDlg dialog
class CinjectToolsDlg : public CDialogEx
{
// Construction
public:
CinjectToolsDlg(CWnd* pParent = nullptr); // standard constructor
// Dialog Data
#ifdef AFX_DESIGN_TIME
enum { IDD = IDD_INJECTTOOLS_DIALOG };
#endif
protected:
virtua... |
bf66dc37ae8a2fd711b441b87fedc75a7d4f239a | 7ff088be1ebb08183f7dab039f8b41aafe7dc9e8 | /main.cpp | dda087c4284ed8fb7e1c1626c71aa163feecfc52 | [] | no_license | hqw19881118/CARP_SPD | 19852b6b6c1bf568a4e6c2c4138aa24b8dac5939 | 31b153f883f154f9293da50c74c36ddfc2c5563b | refs/heads/master | 2016-09-06T09:54:18.098731 | 2015-03-28T12:19:55 | 2015-03-28T12:19:55 | 33,032,107 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,826 | cpp | main.cpp | #include "problem.h"
#include "solution.h"
#include <cstdlib>
#include <iostream>
#include <string>
#include <ctime>
using namespace std;
int main(int argc, char** argv)
{
string no = "5";
cout<<"请输入数据文件名:\n";
cin>>no;
string s = "./dataSet/gdb" + no + ".dat";
char* fileName = const_cast<char *>(s.c_str() );
u... |
6dceea7e6f70b634198707d6394037a30e0ab0fb | f31b8497718c5c00e233c9fb17160339fa0275e1 | /TheQuestOfTheBurningHeart/GamePlayerComponent.h | e31f8533f7d3f8a06d8d54169acc381bc784c710 | [] | no_license | bliou/TheQuestOfTheBurningHeart | 30a6876e80e7424dba6dd8dfa670a5ddabf4a46a | edbb98644f82fb6fcc2182b9bfc79a7fd9872bc2 | refs/heads/master | 2020-04-17T22:34:01.563921 | 2019-02-16T15:41:50 | 2019-02-16T15:41:50 | 166,999,372 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 108 | h | GamePlayerComponent.h | #pragma once
#include <map>
#include <anax/Component.hpp>
struct GamePlayerComponent : anax::Component
{
}; |
0c995c2a1e1f41d7697b5685019c41e70ff85914 | d98e8d4308637135efcdfc61b69293709fc31d29 | /lnahabedian-mtsa-26803a183c10/maven-root/mtsa/src/main/java/RobotProtocol/src/main/java/DuinoBotKids.v1.xx_0022/VirtualSerial.cpp | f45f60a6a5eb885083628750b500498f213c3171 | [] | no_license | FabianGomez/MTSATesting | 63f036edc098ebceb23c772e5d9bdb66fb321052 | 4d2c9d95cab08f0345cb44017eb37bf7e97f21a1 | refs/heads/master | 2021-09-10T07:35:06.603016 | 2018-03-22T06:38:27 | 2018-03-22T06:38:27 | 112,141,922 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,369 | cpp | VirtualSerial.cpp |
#include "VirtualSerial.h"
#include "CDCSerial.h"
#include "wd.h"
#include "wiring_private.h"
/** LUFA CDC Class driver interface configuration and state information. This structure is
* passed to all CDC Class driver functions, so that multiple instances of the same class
* within a device can be differentiated... |
2df8f2676b90e16ff215f1419ab3f382067faf4c | e37a4775935435eda9f176c44005912253a720d8 | /datadriven/src/sgpp/datadriven/datamining/builder/ScorerFactory.hpp | 0e18ab35ac8709bf0f3c8f2442199b5ec949ecb7 | [] | no_license | JihoYang/SGpp | b1d90d2d9e8f8be0092e1a9fa0f37a5f49213c29 | 7e547110584891beed194d496e23194dd90ccd20 | refs/heads/master | 2020-04-25T10:27:58.081281 | 2018-09-29T19:33:13 | 2018-09-29T19:33:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,186 | hpp | ScorerFactory.hpp | /*
* Copyright (C) 2008-today The SG++ project
* This file is part of the SG++ project. For conditions of distribution and
* use, please see the copyright notice provided with SG++ or at
* sgpp.sparsegrids.org
*
* ScorerFactory.hpp
*
* Created on: Oct 11, 2016
* Author: Michael Lettrich
*/
#pragma once
... |
e3de796b066b4c58310fe72116b4557aa390b084 | fe5aa130b39392d62957641e101583c00fff33e8 | /ecclesia/magent/redfish/common/session_collection.h | f50153937f326ee7862abee3da31dedbaf09a697 | [
"Apache-2.0"
] | permissive | isabella232/ecclesia-machine-management | e7075cb5813e7fae234da8b97ee381435add1e34 | 06a73465e0a3dc80ebf1b4702d80ec4b4c74e8d2 | refs/heads/master | 2023-08-24T09:52:14.475682 | 2021-10-20T02:10:51 | 2021-10-20T02:11:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,358 | h | session_collection.h | /*
* Copyright 2020 Google LLC
*
* 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 ... |
7ea5dd0567e291745985cb0fdfcc7435ff904f75 | dcc727c57317a96da73e9315e42943125dc6775d | /lib/Target/Patmos/SinglePath/SPScheduler.cpp | 602f0657bdea9de9da43ac935844505b9422147a | [
"NCSA"
] | permissive | Emoun/patmos-llvm | eb1e9ae4d3e66865d5ad7e0018890f9221e6ae6e | 010fafcdb51ef188a331cd9c09402ad162b3c75f | refs/heads/master | 2022-10-15T00:44:30.433231 | 2021-05-18T15:21:38 | 2021-05-18T15:21:38 | 153,771,328 | 1 | 0 | NOASSERTION | 2018-10-19T11:15:56 | 2018-10-19T11:15:55 | null | UTF-8 | C++ | false | false | 2,799 | cpp | SPScheduler.cpp | //===---------- SchedulePostRAList.cpp - Scheduler ------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
1bd64da1a8bbd959ef64ebf1a806e8700de5337b | 3c2c511cf8c181ab6c5437ef84ea16b4de6f40a2 | /Code/demo_test/libraries/OffChip/Compass/Compass.h | 2f8b17967183ce2589fc2b85c7c33e7c2035bcd9 | [] | no_license | Neutree/AHRS | c9c53f845df755a93ba8ac6121551ee3c46aa6f6 | 423776e70f06c0b04eb7cd44a08d77610f03de81 | refs/heads/master | 2021-01-17T14:16:49.834662 | 2017-03-11T09:22:59 | 2017-03-11T09:22:59 | 49,999,568 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 229 | h | Compass.h | #ifndef _COMPASS_H_
#define _COMPASS_H_
#include "stm32f10x.h"
#include "Mathtool.h"
#include "Sensor.h"
class Compass : public Sensor
{
public:
virtual bool Initialize()=0;
virtual bool Update(Vector3f &mag)=0;
};
#endif
|
49c528862b537e8bd01d30bb8d496578d44cc02b | b893b3f14ad1044447dfb718d432de8c49bbe419 | /src/map/ValueEditor.cpp | 67d4b565f57acb1f596c6fde0013c01f32506fd4 | [] | no_license | uavos/plugin-mapping-test | 243a6db6cd3ff845a29568d49591676b42e820f1 | 98f6fb402391117da0af02deb332a5a6a76e384b | refs/heads/master | 2021-03-27T18:13:09.540593 | 2017-06-20T09:48:35 | 2017-06-20T09:48:35 | 94,532,234 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,217 | cpp | ValueEditor.cpp | /*
* Copyright (C) 2011 Aliaksei Stratsilatau <sa@uavos.com>
*
* This file is part of the UAV Open System Project
* http://www.uavos.com/
*
* 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 Foundatio... |
fece08e10da231d09655aa577edd5f1a2e289cef | 2888c645716d662545ad67387ad81e533db816d5 | /lib/kmeans.cpp | 27471f639ba661d4196345847768ba5f994b3509 | [] | no_license | IsaacSherman/Matrix | 4bd7813b242f67e1e260a2f5c08851afbcfae115 | 6c1cd9dd02cf8db8be84ba1c1b74a8cfa4d1bbbb | refs/heads/master | 2016-09-10T03:32:03.907712 | 2014-12-04T18:23:11 | 2014-12-04T18:23:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,379 | cpp | kmeans.cpp | #include "Matrix.h"
#include <set>
#include <vector>
#include <cmath>
#include <cstdlib>
using namespace std;
struct RGB{
double R,G,B;
RGB(){R=B=G=0;};
RGB(double r, double g, double b){
R=r;
G=g;
B=b;
};
RGB multiplyRGB(double mult){
return RGB(R*mult, G*mult, B*mult);
};
RGB addRGB(RGB rhs){
return RGB... |
8249e776383d774a071ed68e902336bc44a4bc8a | 03c170b913c149a42690424b913415e136df5bc6 | /tetrisdata.h | f05aadac99ed005e4715c147d6191c7431edd68a | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | PSP-Archive/Monolith | bc9b17875aa6c23f99914d5314ab387af5aee80c | 64f54c799aaba7b371bcbf49886a2370cd10de30 | refs/heads/main | 2023-02-10T12:11:19.881294 | 2021-01-01T22:58:10 | 2021-01-01T22:58:10 | 326,066,453 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,723 | h | tetrisdata.h | #ifndef TETRISDATA_H
#define TETRISDATA_H
#include <string>
const int GRID_MAX_WIDTH = 10;
const int GRID_MAX_HEIGHT = 20;
const int BLOCK_SIZE = 12;
typedef enum statustype{TETRIS_STARTUP,TETRIS_PLAYING,TETRIS_PAUSE,TETRIS_GAME_OVER} ;
typedef enum blocktype{STICK, SQUARE, LETTERT, LETTERS, NUMBER2, GAMMA, ... |
29884b01d38657dd04eb076b6418a8745732342c | 77d04fe45ded59dffcb6c9c4dfbe9a517fc685b1 | /ScrambleString.cpp | e1890d3c479af8666d5ce033db80058792df454a | [] | no_license | nhzc123/leetcode | 6ac4e9c13819b01b1d36786f4a128efb7b658a88 | 3ccfb1511ef1276798ea1eee8db64d389b3a7964 | refs/heads/master | 2021-06-02T14:10:24.924507 | 2017-06-13T06:02:55 | 2017-06-13T06:02:55 | 23,906,616 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,405 | cpp | ScrambleString.cpp | /**
* @file ScrambleString.cpp
* @brief
* @author nhzc charles.nhzc@gmail.com
* @version 1.0.0
* @date 2014-09-14
*/
class Solution {
public:
//递归 + 剪枝做法
//主要是遍历所有切换的位置,比如找到一个位置 i , 那么第一个字符串分为左1,左2,第二个字符串分为右1, 右2,则返回true的规则为
//isScamble(左1,右1) && isScamble(左2,右2)|| isScamble(左1,右2) &&isScamble(左2,右1... |
7d360614fbefd316d316fafdabe19ed5d5954b9a | 3bccf6eb38c29f9f71fe4b4e64455b95cc1ca9fe | /Mul/solution6/syn/systemc/mul1.h | 8227a8d7e43339f06a316b8d443e981b325e5349 | [] | no_license | ayush983/Sparse_Matrix_Accelerator | 7f18b9ae00436d907475626aa6dcf2fef8a2e926 | 7d96709c8a6f166cea0542d76b1f92d98e70939f | refs/heads/master | 2023-06-20T13:56:37.386088 | 2021-07-23T09:30:26 | 2021-07-23T09:30:26 | 388,742,889 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,436 | h | mul1.h | // ==============================================================
// RTL generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC
// Version: 2018.2
// Copyright (C) 1986-2018 Xilinx, Inc. All Rights Reserved.
//
// ===========================================================
#ifndef _mul1_HH_
#defin... |
de2dd758f5795973453f92ea627ab3783dc6811f | bd0a2530dc1fc13cbeb16dcea08fc0ffe48da4c7 | /projects/project1/mytest.cpp | dbde9798b3484e5471055cf88ca72f0371e29367 | [] | no_license | Build-coder/DataStructures | 835efc7b77d1382ed18017e0b3152b497d1d8a68 | aab2092d2c260c0332b9f276d3aa89c30daa4d45 | refs/heads/master | 2023-03-07T20:03:26.047080 | 2021-02-23T00:14:16 | 2021-02-23T00:14:16 | 290,821,330 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,389 | cpp | mytest.cpp | // CMSC 341 - Fall 2020 - Project 1
#include "csr.h"
#include "csrlist.h"
using namespace std;
/*****************************
* Bool Unit Tests
* **************************/
// test if CSR objects are copies
bool testValuesEQ(CSR& a, CSR& b){
return ( a == b );
}
// test if CSR objects are deep copies
bool... |
24a626beed9baabf6d2b4fa71945165f25488707 | c2719f9beaf4cb1640bc73ad2bb8fe5a7b26bb6e | /modules/tools/src/libifm3d_tools/app_types_app.cpp | 3317b606b5fab35fc83d7c68910c44e9812491f8 | [
"Apache-2.0"
] | permissive | braincorp/ifm3d | 8e300bcea41a4bafe48ba53ef1c1878710ddc4ab | 13c01362e045334b9f5854015e5f3300f814871f | refs/heads/master | 2022-09-12T22:18:39.604356 | 2022-03-15T10:39:31 | 2022-03-15T10:39:31 | 95,600,652 | 0 | 1 | NOASSERTION | 2020-05-16T00:22:10 | 2017-06-27T21:03:11 | C++ | UTF-8 | C++ | false | false | 710 | cpp | app_types_app.cpp | /*
* Copyright 2018-present ifm electronic, gmbh
* Copyright 2017 Love Park Robotics, LLC
* SPDX-License-Identifier: Apache-2.0
*/
#include <ifm3d/tools/app_types_app.h>
#include <iostream>
#include <string>
#include <ifm3d/tools/cmdline_app.h>
#include <ifm3d/camera/camera.h>
ifm3d::AppTypesApp::AppTypesApp(int ... |
951b03b4bac36d15c6080277ed2aa8b7bb2091eb | fc987ace8516d4d5dfcb5444ed7cb905008c6147 | /third_party/aria2/src/SocketBuffer.h | 9545836006177e1fd3e3b2ca34e3cd3d0d92397f | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"OpenSSL",
"GPL-1.0-or-later",
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-ssleay-windows",
"FSFAP",
"GPL-2.0-only",
"LicenseRef-scancode-public-domain",
"MIT",
"Apache-2.0"
] | permissive | nfschina/nfs-browser | 3c366cedbdbe995739717d9f61e451bcf7b565ce | b6670ba13beb8ab57003f3ba2c755dc368de3967 | refs/heads/master | 2022-10-28T01:18:08.229807 | 2020-09-07T11:45:28 | 2020-09-07T11:45:28 | 145,939,440 | 2 | 4 | BSD-3-Clause | 2022-10-13T14:59:54 | 2018-08-24T03:47:46 | null | UTF-8 | C++ | false | false | 5,187 | h | SocketBuffer.h | /* <!-- copyright */
/*
* aria2 - The high speed download utility
*
* Copyright (C) 2010 Tatsuhiro Tsujikawa
*
* 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 Lice... |
92b17a6310a8bb6ab78551fd1c2ac1289b3dd152 | 103c7d85afa65a7badbee884c1e9cc4fd921fc16 | /src/convert_node/src/convert_subscriber.cpp | e1f99f0ac5f3635d8799172d7a46a125d0947d0e | [] | no_license | kaidwang/mavros_px4_can | 9e41a21b18a8946ca3c1403ff586a28cdad23cfe | 222d03eda9a5e99070eee7e40adb2eea86aaabc4 | refs/heads/master | 2020-11-25T08:52:58.130749 | 2019-12-17T09:41:13 | 2019-12-17T09:46:42 | 228,578,139 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,089 | cpp | convert_subscriber.cpp | #include <ros/ros.h>
#include <std_msgs/Float64.h>
void myCallback(const std_msgs::Float64& message_holder)
{
//the real work is done in this callback function
//it wakes up every time a new message is published on "kd_convert_message"
//since this function is prompted by a message event
//it does not consume ... |
d822f30ecf2d3f15dee3799b1273d8a7062202bc | 29d8207a29c0bc42c447bc15513025f276306fd3 | /Citrus/lemon.h | 42583ee7f7bb85b2551133693b7f9ff04ef6753a | [] | no_license | Kades420/ICSassignment3 | 1125e33db02623da10e17707dde3a9ddd684c7eb | fb53a430d8d9e813f58fd2f3a449a890e7e9de4e | refs/heads/master | 2016-09-14T13:12:50.688969 | 2016-05-17T15:41:39 | 2016-05-17T15:41:39 | 59,035,315 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 202 | h | lemon.h | #ifndef LEMON_H
#define LEMON_H
#include "citrus.h"
class Lemon : public CitrusFruit {
public:
Lemon(float ph) : CitrusFruit(ph){}
const char * getName(){ return "Lemon Fruit";}
float getPh();
};
#endif |
f92034b41b3fe3b74ba31d5c29a77fa6ee013f5e | 0bfde4a1b3a2eaaa2a84c3d5f4b6eb4a982c931d | /PointCloudGenerator/cpp/src/benchmarker.cpp | dab57ea18fc2fa01b7567bc21be8747476cb9e4e | [
"MIT"
] | permissive | first95/ImageProcessorStub | cf4d7c9a7777fbf2516c5ef3fcf0db3b795bf5c5 | 7b95b8b80ad708115e10104aaa1515f626b94c7d | refs/heads/master | 2021-05-10T14:41:35.492735 | 2018-01-22T23:13:20 | 2018-01-22T23:13:20 | 118,527,712 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,052 | cpp | benchmarker.cpp | /*
benchmarker.cpp
Class for storing stereo calibration data
2016-12-23 JDW Created.
2017-03-02 JDW Moved into its own file.
*/
#include <benchmarker.h>
using namespace std;
using namespace chrono;
void Benchmarker::start() {
startTime = steady_clock::now();
}
void Benchmarker::pause(int items_processed)... |
dcf1e9a8d25ac10d87bdcf35e2af3ef63c82e264 | ff13c255737ff4df265d84177ff110e9a3888b9a | /mainfunclass.cpp | 25e474ad9426f36da24d14261e20031a32c84576 | [] | no_license | liuyufeng509/SecCenter | ef651ba85c10841faeede83bf357c823ce266231 | 84e11cc3a13d256880ca0ac52f39fc85aa4c146e | refs/heads/master | 2021-01-19T20:27:14.402515 | 2017-07-27T01:23:05 | 2017-07-27T01:23:05 | 83,753,899 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,291 | cpp | mainfunclass.cpp | #include "mainfunclass.h"
MainFunClass* MainFunClass::m_pInstance = NULL;
MainFunClass::MainFunClass(QObject *parent) : QObject(parent)
{
}
ROLE MainFunClass::getUserRole() /* throw()*/
{
QString cmd = "id -Z 2>&1; echo $?";
QString resStr = GetCmdRes(cmd).trimmed();
QStringList strl = resStr.split('\n'... |
403457b75b666338ba9db58204acc7cac46791a3 | 692b0ef75324889a5d3f9260852c3f4cc8e5b319 | /Homework/Assignment_2/Gaddis_ch3_prob9/main.cpp | 6541086d14876c4ee36c5b775ba8652615ce8708 | [] | no_license | PDcsc5/pd2503230 | 0e35a750980a66a97a97ff1860d9549d04e95992 | c71540b5768ba73a0abdc495baf5562023b26eea | refs/heads/master | 2021-01-25T06:01:03.963331 | 2014-07-31T10:44:12 | 2014-07-31T10:44:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,004 | cpp | main.cpp | /*
* File: main.cpp
* Author: KrabbyPatty
*
* Created on July 1, 2014, 11:38 PM
*/
#include <cstdlib>
#include <iostream>
#include <iomanip>
#include <string>
using namespace std;
//User Defined Libraries
//Global Constants
//Function Prototypes
//Execution Begins Here
int main(int argc, char** argv) {
... |
d12f06cc73fd0a508780933ae4f6cc6895c3acac | 2bf49805d41b85b45c2666bd91fef1118327ed5a | /sensor.h | c35cce70d1f30da98ba9239a9bacc85760d1707f | [] | no_license | Jesgreg/ProyectoFinalALSE | a7935b296473d10e4ad52765ed0b969751b6d973 | aa57008024e1b0c0a66336a98baed7485e458a99 | refs/heads/main | 2023-05-07T10:21:30.946694 | 2021-05-24T19:27:03 | 2021-05-24T19:27:03 | 370,461,797 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,222 | h | sensor.h | #ifndef SENSOR_H
#define SENSOR_H
#include <iostream>
#include <string>
#include <sstream>
#include <cmath>
class Sensor{
private:
double *_dato;
int _tamano;
public:
Sensor(int tamano = 1){
_dato = new double[tamano];
_tamano = tamano;
}
~Sensor(){ delete []_dato; }
double l... |
c4fc6459d8c8cb967b5667136aeee82f7b152544 | d3d51134c56de561fa417ccc4c6259eec1deab78 | /Canny3D/Src/example.h | 401cd0b4fc136d19aff9c00a13a0aecbf23e0ce9 | [] | no_license | acodeliker/CannyDICOM | 3bdf38272f7d46ad7eb188052d9fcdefcf598ba9 | 26ee17ba0d3602d263dfa3d613e1efc9b0e06897 | refs/heads/master | 2022-01-09T22:06:19.698717 | 2019-06-11T15:34:18 | 2019-06-11T15:34:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,322 | h | example.h | #pragma once
// Copyright (C) 2017, Dominik Wodniok
// This software may be modified and distributed under the terms
// of the BSD 3-Clause license.
// See the LICENSE.txt file for details.
#include <string>
#include <vector>
#include "dualmc.h"
/// Example application for demonstrating the dual marching cubes builde... |
d5616ae5e0546c3e00803fdd0b9945cc0dbec9b6 | b9b964896f134067f3356f4392fddfb9c56f1945 | /1496. Path Crossing Solution1.cpp | 11e4e08ac6f7ea1d25a0e2d21d7f3338d18c3cfe | [] | no_license | NEITGNART/LeetCode | db45b5ea3c381f151a8bc7a322da03d1c446e217 | 20e1c22965296f87dfd26b121941a4f6a60a0f72 | refs/heads/master | 2022-12-07T11:50:27.702946 | 2020-08-29T18:41:14 | 2020-08-29T18:41:14 | 291,970,797 | 2 | 0 | null | 2020-09-01T10:46:46 | 2020-09-01T10:46:45 | null | UTF-8 | C++ | false | false | 473 | cpp | 1496. Path Crossing Solution1.cpp | class Solution {
public:
bool isPathCrossing(string path) {
unordered_set<string> st;
st.insert("0 0");
int x = 0, y = 0;
for (auto c : path) {
if (c == 'N') --x;
else if (c == 'S') ++x;
else if (c == 'W') --y;
else ++y;
str... |
33b97c9b2739dd2b6e33dedd109a2f0d4c7255be | 4207610c48cbb9021f4420791a9c9d07550b72d9 | /JUCE/modules/juce_osc/osc/juce_OSCTimeTag.h | e00f72f99cd27ce4ba49438928490dbee94a05da | [
"GPL-1.0-or-later",
"LicenseRef-scancode-proprietary-license",
"GPL-3.0-only",
"ISC",
"LicenseRef-scancode-unknown-license-reference",
"GPL-2.0-only",
"BSD-3-Clause"
] | permissive | RomanKubiak/ctrlr | d98a910eb46f6cf4324da3fc3ae664cc7dd5aec9 | 8aa00d82127acda42ad9ac9b7b479461e9436aa4 | refs/heads/master | 2023-02-13T00:21:04.546585 | 2022-06-24T10:53:16 | 2022-06-24T10:53:16 | 14,671,067 | 435 | 82 | BSD-3-Clause | 2022-05-31T18:18:23 | 2013-11-24T22:53:11 | C++ | UTF-8 | C++ | false | false | 3,223 | h | juce_OSCTimeTag.h | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of... |
581ad854f1f5101f7320bc59263d06d71a1a6d05 | d818edebb14d90c0b82186fb80e547e41a66e339 | /src/Cxx/CompositeData/OverlappingAMR.cxx | b5bbfd867c651805933ea2553c10407662dbcf1f | [
"Apache-2.0"
] | permissive | Kitware/vtk-examples | 900de7c3cbbb42c014d2bc1ae70fe9783df01997 | e696d92dcdc452cbde5df77d06877404542a3aae | refs/heads/master | 2023-09-05T17:18:32.943962 | 2023-09-05T06:20:11 | 2023-09-05T06:20:11 | 281,112,041 | 162 | 64 | Apache-2.0 | 2023-01-26T00:37:52 | 2020-07-20T12:36:50 | C++ | UTF-8 | C++ | false | false | 4,949 | cxx | OverlappingAMR.cxx | // Demonstrates how to create and populate a VTK's Overlapping AMR Grid
// type Data
#include <vtkAMRBox.h>
#include <vtkAMRUtilities.h>
#include <vtkCompositeDataGeometryFilter.h>
#include <vtkContourFilter.h>
#include <vtkFloatArray.h>
#include <vtkNamedColors.h>
#include <vtkNew.h>
#include <vtkOutlineFilter.h>
#in... |
c704cc61ab1e1071935779c1672c5326e9eb7394 | b918dc93d498ddaa11118042eaf4b4e1c1432ad0 | /XSTL/header/test/test_deque.h | 171e3e0eb080208df9a0eb2f6913fbbb34e4b6cd | [] | no_license | xiejun901/XSTL | 612ef923cc7abe6d5d76d053f5b12bb321c09198 | 56de56ca6b503d6908ee96e7c569dab932443729 | refs/heads/master | 2020-06-05T15:16:08.813761 | 2015-09-22T11:45:37 | 2015-09-22T11:45:37 | 32,571,902 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,404 | h | test_deque.h | #ifndef _TEST_DEQUE_H_
#define _TEST_DEQUE_H_
#include"test\test.h"
#include"stl_deque.h"
#include"stl_vector.h"
#include<windows.h>
#include<deque>
#include<fstream>
void test_deque();
struct Test_Deque {
using T = XX::TestStruct;
using std_deque = std::deque<T>;
using xx_deque = XX::deque<T>;
using xx_vector = XX... |
74b7b63282c714bb5026c4c65a4abb505745fd00 | 20be2e5541b10a2f570ea5f843da61ef04e29442 | /snmpfwk_1_0_0/snmpfwk/epilogue/EpiloguePacket.cpp | 95489a3f783429ce1765c4836d0bc2bfbe2fc22e | [] | no_license | barby1138/fridmon | e3925530f1ba402e7ad843219056fa015b2dc8c5 | a1e0583b10a4db1a68cb00cdeabb61f982803bfb | refs/heads/master | 2020-03-30T12:04:18.781879 | 2020-02-29T09:19:44 | 2020-02-29T09:19:44 | 151,206,729 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,011 | cpp | EpiloguePacket.cpp | // EpiloguePacket.cpp: implementation of the CEpiloguePacket class.
//
//////////////////////////////////////////////////////////////////////
/*
Author: Denis Garyachy
*/
#include "epilogue/EpiloguePacket.h"
extern "C"{
#include <envoy/h/snmpstat.h>
#include <envoy/h/objectid.h>
}
///////////////////... |
16fd055d67d7435df8d439ecf2057473527a7508 | bb25808c3b9ac21b7758a0f5ddeca1ad20b47113 | /apps/test/BluesmirfApiTest/BluesmirfApiTest.ino | cfa4719b95f420d7838de61f06395e205e51c3a4 | [] | no_license | zackees/arduino-house-apps | 6a37e87a32f0a6725e2415e1a4c1ede4b698370d | 9d150c359fce83b1b8c5ffba4642551e4acc8999 | refs/heads/master | 2022-05-01T06:56:16.157092 | 2022-03-15T01:03:18 | 2022-03-15T01:03:18 | 17,423,734 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 276 | ino | BluesmirfApiTest.ino |
// Serial1 is supported on Teensy.
#define BT_SERIAL Serial1
#include "BluesmirfApi.h"
void setup() {
// put your setup code here, to run once:
BT.begin();
}
void loop() {
// put your main code here, to run repeatedly:
BT.serialConfigMode();
while (1) {}
}
|
05603794470fd61ee8f12632a349b4933ade0f77 | 7b06c01fce0496896c6576cff222fdf8290f820f | /02/ex03/eval_expr.hpp | d5486a124dbec8963adb9801786b463d13e05046 | [] | no_license | clbrunet/42_cpp_piscine | 7c6f803123d400928936a6089b66072c0396f582 | 3fccc26eb4511bde698e5fa294274115f8a43c09 | refs/heads/master | 2023-04-20T09:05:06.510128 | 2021-04-29T13:32:06 | 2021-04-29T13:32:06 | 362,827,338 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 186 | hpp | eval_expr.hpp | #ifndef EVAL_EXPR_HPP
#define EVAL_EXPR_HPP
#include <cctype>
#include <string>
#include <iostream>
#include <sstream>
#include "Fixed.hpp"
bool check_expr(std::string expr);
#endif
|
9d24226491613009d1dbcd68b8f294527ec75350 | 57fb812afcc0d84d99158e25f9dc0a2c94ecce4d | /linkedListSearch.cpp | cb9c7cd1ad3bd1ffe0905147398b8901acfb46b2 | [] | no_license | suraj60081/DataStrucutres | 746134c6c1affbb08473208fa653ad647097daf4 | 8ab299eeaa3c55f2f2ad2eb7cb7b15459f58f50d | refs/heads/master | 2021-02-16T08:53:54.162598 | 2020-09-25T07:08:08 | 2020-09-25T07:08:08 | 244,986,337 | 0 | 1 | null | 2020-10-02T08:09:12 | 2020-03-04T19:30:11 | C++ | UTF-8 | C++ | false | false | 705 | cpp | linkedListSearch.cpp | #include <iostream>
using namespace std;
struct node{
int data;
node* next;
};
void insert(node** head,int value)
{
node* temp = new node();
temp->data=value;
temp->next= *head;
*head=temp;
}
void search(node* head,int x)
{
node* temp = head;
while(temp->next!=NULL)
... |
f85178e40796893c0975c5253f57638d5fd3d6cb | 5ced0d8485f33499df6102367567edc39435df47 | /2차/graphics_hw2/graphics_hw2/main.cpp | cf1a5760a752b8a4dfd6a7600877d9392bce637b | [] | no_license | choijinsung/Graphics | 0cd3e400574a1864159fded2519bc824841f9343 | 2e0c846d315e68577b4b6f7056f74d0becca8a17 | refs/heads/master | 2020-04-06T06:26:51.613731 | 2015-04-07T08:19:33 | 2015-04-07T08:19:33 | 33,530,563 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 14,741 | cpp | main.cpp | #include <gl/glew.h>
#include <gl/freeglut.h>
#include <time.h>
#include <iostream>
void onDisplay(); // display 콜백함수
void onResize(int width, int height); // reshape 콜백함수
void onMouse(int btn, int state, int x, int y); // mousefunc 콜백함수
void mouseWheel(int wheel, int direction, int x, int y); // mousewheelfunc 콜백함수
... |
7a63db07d0f1bacecde1793d6d3f0b87852a6ed1 | 5ffbd98b0b43e7203840d77e2a63ac6308e7f974 | /Sloth-core/src/shadowMapping/shadow_mapping_shader.cpp | 95e0e9f5dfa9f5e2475fe8b1872c161f36615b5c | [] | no_license | OscarShen/Sloth | 50569e6a16acb645985487d257ceee2eca2f1284 | 4a4387ae6d4760d957074f55876e38142daa75ce | refs/heads/master | 2020-06-14T01:56:50.321278 | 2018-03-13T07:39:15 | 2018-03-13T07:39:15 | 75,519,320 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 513 | cpp | shadow_mapping_shader.cpp | #include "shadow_mapping_shader.h"
namespace sloth {
std::shared_ptr<ShadowMappingShader> ShadowMappingShader::inst()
{
static std::shared_ptr<ShadowMappingShader> m_Inst = nullptr;
if (m_Inst.get() == nullptr)
m_Inst = std::shared_ptr<ShadowMappingShader>(new ShadowMappingShader());
return m_Inst;
}
Sha... |
ccaa6fe0a3eb252381092e3f7023219bf5606d4e | 6bd256b72133d8c716ca72fb85375502d7c8f5a0 | /c++/005.cc | 86d4b4b0626cb378250f4e144652e8d1ace3ccd5 | [] | no_license | JamieMagee/ProjectEuler | 7d5de5f121deb5ec54c9899f1fbc124be094901d | 461c4845600d0e91733b0c089ec668e0e2fcba18 | refs/heads/master | 2021-01-10T01:02:16.189274 | 2015-03-21T14:32:23 | 2015-03-21T14:32:23 | 7,844,626 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 476 | cc | 005.cc | #include <iostream>
#include <cmath>
#include <vector>
using namespace std;
int main()
{
int k = 20, i = 0;
unsigned long long n = 1;
vector<int> p = { 2, 3, 5, 7, 11, 13, 17, 19, 23 }, a(p.size(), 1);
bool check = true;
while (p.at(i) <= k)
{
if (check)
{
if (p.at(i) <= sqrt(k))
{
... |
8db9751193486d46351894d91e93ceb8aa7458e7 | 83d68569c42ef1aa08b60f66ed0558c4439fdbbf | /2017-08-05/E.cpp | f685708e1dff3a073b0d85164a695a0b2bea5784 | [
"MIT"
] | permissive | tangjz/Three-Investigators | c4d91da24a9038e4e96f0af01e13974458415d2f | 49c72dc4c7674db46b8076c0264f7b157d362f8e | refs/heads/master | 2022-05-11T19:13:35.845309 | 2022-04-02T18:19:16 | 2022-04-02T18:19:47 | 127,548,373 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,725 | cpp | E.cpp | #include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <algorithm>
#include <vector>
using namespace std;
const int NMAX = 21000;
const double eps = 1e-8;
struct Point
{
double x;
double y;
int type;
operator<(const Point &v)
const{
if(fabs(x - v.x) < eps)
return y < v.y - eps;
... |
71b51ea491b21f850076099b71c46fdbe0845900 | 2bdfec46f4725c9c7c0ad54935802d84076ff3e5 | /source/core/mining-manager/CommonSerManager.hpp | 38ff1d75d1ee14457e4bd20acdd606ed4cc15887 | [
"Apache-2.0"
] | permissive | izenecloud/sf1r-ad-delivery | 66f73bc7764216a1faed3d8de0ab3a569b8d4900 | 998eadb243098446854615de9a96e58a24bd2f4f | refs/heads/master | 2021-01-19T14:09:42.842935 | 2014-09-23T10:41:15 | 2014-09-23T10:41:15 | 24,359,409 | 18 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 2,659 | hpp | CommonSerManager.hpp | ///
/// @file CommonSerManager.hpp
/// @brief the super class of all mining component which has at least one ser data.
/// @author Jia Guo
/// @date 2010-02-04
/// @date 2010-02-04
///
#ifndef COMMONSERMANAGER_HPP_
#define COMMONSERMANAGER_HPP_
#include <boost/filesystem.hpp>
#include <fstream>
#include <am/tok... |
84261210a2075ff01f780c7c8a6f01b5814ef9d4 | 705c7223bc1f33f0c86a1344efbbcc53f3e0bb46 | /src/include/cube.h | eea71f3f294a325fb700400398fae38aad1104e1 | [] | no_license | andregri/minecraft | 050594271ec6f3d3bf93e42f9deedd94842635ea | 39963edb4fa261ba3e06a57524ed770c9120e833 | refs/heads/master | 2023-03-25T13:17:54.157374 | 2021-03-19T22:17:19 | 2021-03-19T22:18:04 | 346,765,158 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 931 | h | cube.h | #ifndef __CUBE_H__
#define __CUBE_H__
#include <memory>
#include <glm/glm.hpp>
#include "vertex_array.h"
#include "vertex_buffer.h"
#include "world/terrain_cube.h"
class Cube {
public:
Cube();
Cube(float, float, float);
Cube(const Cube&);
Cube& operator = (const Cube&);
vo... |
d885b26107213b9f5bad62ba564dddc83ce71a2c | 62824c184a1c5473a3eecc9af29845ecf28597f0 | /src/Emdemnn/Exception.h | 045f5e3053454c104f4737c3f1eb1b898f8eab98 | [] | no_license | Emdemnnal/Emdemnn | 7e284949ccd16c2f04dc4cea534ddd3bdcb858c6 | 27e829bd0e9f9693e2a60c49c75fdc025a75503b | refs/heads/master | 2023-06-14T05:43:16.232450 | 2021-07-15T11:36:52 | 2021-07-15T11:36:52 | 212,774,027 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 986 | h | Exception.h | #ifndef EMDEMNN_EXCEPTION_H
#define EMDEMNN_EXCEPTION_H
#include <exception>
#include <string>
namespace Emdemnn
{
/**
* Shows the basic structure to how exceptions are handled inside the game engine.
*/
struct Exception : public std::exception
{
/// The constructor for exception handling.
/**
* This functi... |
0586bbc803bb0c14b157aeedc13ec0af2a898c75 | 2a726ed1e55491558f98e156da92c8512c25a935 | /src/test.cpp | 855b307c71ad4b9954551a1a6d621771621f4728 | [
"MIT"
] | permissive | angiglesias/droneNCStracking | 6b1ffc409988f7fe409d4b6bd732c2de788450f5 | 731ec83bb3e75e6b4cff8be993f9860236e29cad | refs/heads/master | 2023-04-16T08:21:52.407516 | 2018-01-14T13:07:39 | 2018-01-14T13:07:39 | 117,279,235 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,180 | cpp | test.cpp | #include "tracking.hpp"
// #include <opencv2/core.hpp>
// #include <opencv2/imgcodecs.hpp>
#include <opencv2/highgui.hpp>
#include <opencv2/videoio.hpp>
#include <iostream>
#include <cstdio>
// #include "opencv2/imgproc.hpp"
int main(int argc, char **argv)
{
/*init tracking*/
std::vector<std::string> lbls;
... |
ebec77cfc5489163de23b655019a70429b812008 | 2ba94892764a44d9c07f0f549f79f9f9dc272151 | /Engine/Source/Runtime/MovieSceneTracks/Private/Tracks/MovieSceneByteTrack.cpp | 40827c434b0f1c33dadac31e180e48b628ef9694 | [
"BSD-2-Clause",
"LicenseRef-scancode-proprietary-license"
] | permissive | PopCap/GameIdea | 934769eeb91f9637f5bf205d88b13ff1fc9ae8fd | 201e1df50b2bc99afc079ce326aa0a44b178a391 | refs/heads/master | 2021-01-25T00:11:38.709772 | 2018-09-11T03:38:56 | 2018-09-11T03:38:56 | 37,818,708 | 0 | 0 | BSD-2-Clause | 2018-09-11T03:39:05 | 2015-06-21T17:36:44 | null | UTF-8 | C++ | false | false | 1,638 | cpp | MovieSceneByteTrack.cpp | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#include "MovieSceneTracksPrivatePCH.h"
#include "MovieSceneByteSection.h"
#include "MovieSceneByteTrack.h"
#include "IMovieScenePlayer.h"
#include "MovieSceneByteTrackInstance.h"
UMovieSceneByteTrack::UMovieSceneByteTrack( const FObjectInitializer& Object... |
59ee6753b9a8513d32bd45204b283979ec1608aa | b98bb5c685d5486448f90133ae682b9c63209de4 | /src/MyDataAnalysisClass.cpp | 7d28543dd76aee82095637c5fdb54ae9e297ef68 | [] | no_license | DengJiawei/DecayTime_UCAS_WHU | dc63e604d124db33d28314e0942a414650972478 | fdc1dd1e9a01e687d0a88fa40070b69b4638cbee | refs/heads/master | 2022-12-23T04:21:32.614119 | 2020-09-22T08:42:15 | 2020-09-22T08:42:15 | 292,489,779 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 38,415 | cpp | MyDataAnalysisClass.cpp | #ifndef MyDataAnalysisClass_cpp
#define MyDataAnalysisClass_cpp
#include "../incl/MyDataAnalysisClass.hpp"
//*****************************************************************************
void MyDataAnalysisClass::GetFileInfo(int FileMaxColumn_fp, int FileMaxRow_fp, double FileTimeUnitAverage_fp)
{
FileMaxColumn =... |
e04512a60943c0ad6411d3fa7a60a4fa4784cd3b | b426c4aa89ed5152efeb3caacc92bbc42b6b7430 | /2019/Oldest_Codes/AED1/AED1-prof/progfor1.cpp | d7ab937a9a660222818847045a6082ee1ce18906 | [] | no_license | nicolas-oliveira/alwayscodeinc | 13413b872c8fdb4eb97d47b1a86945646594b912 | eba122b2cd4679564c707b76ff37baa83c562edc | refs/heads/master | 2023-09-05T05:32:28.432654 | 2021-11-02T01:45:48 | 2021-11-02T01:45:48 | 263,717,031 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,185 | cpp | progfor1.cpp | /*
Código feito por: Vânia Borges UEMG/PASSOS
*/
#include <iostream>
using namespace std;
int main()
{
int i, contAprov=0, contReprov=0, contRec=0;
float n1, n2, media=0, mediaClasse=0;
for (i=1; i<=6; i++)
{
cout << "Digite a Nota1 : ";
cin >> n1;
cout... |
07a306430ad85492a9b9a573e1b3f1f81ccdde4a | 1fcdb2bc2c7f75f6aed466119a4b1c53777f0b7a | /holly_inletwfine_kappaepsilon_noturbulence6/8/phi | 2c0023bad96ec6401f974912987bbdac26d901aa | [] | no_license | bshambaugh/openfoam-experiments3 | b32549e80836eee9fc6062873fc737155168f919 | 4bd90a951845a4bc5dda7063e91f6cc0ba730e48 | refs/heads/master | 2020-04-15T08:17:15.156512 | 2019-01-15T04:31:23 | 2019-01-15T04:31:23 | 164,518,405 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 287,665 | phi | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.1 |
... | |
f3c37da75901746267c1d8db54631cb0117ce5dd | ab0d6d6563b183073f31fc00596342488713b1b9 | /Semana4/Cadenas.cpp | a47522077686956e5c33c9d11f637b25b6bd44b1 | [] | no_license | ramiromora/ETN-307L | 9f9cb607f925b26fe0b1fe31bfe2450e13770490 | a587256dd4a894247cfee88ad83f52751c645dfa | refs/heads/master | 2020-06-24T11:38:10.850054 | 2017-11-24T12:02:51 | 2017-11-24T12:02:51 | 96,935,618 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 505 | cpp | Cadenas.cpp | #include <iostream>
using namespace std;
int main()
{
//int numeros[10]={56,45,89,50,15,46,51,99,90,30};
int numeros[100];
int maximo=0;
float prom=0;
//numeros[0]=23;
cout << "Cuantos numeros? ";
cin>>maximo;
cout << "Ingrese " << maximo << " numeros" << endl;
for(int dir=0;dir<=max... |
6e2abbd680ba7fbec6cece703f1f41fe9058e948 | 3be7eed9bd5efec57c1580df117559290123907a | /deformo/DesignerController.cpp | 5312bb9e9c955a2d5c332eb821cf69f9e0d8b697 | [] | no_license | jparr721/deformo | 7f84bd835f3311afdc11effd1856a0fb5517e0be | 977193758a4d37627846c64509a0a55f68014062 | refs/heads/main | 2023-07-23T20:03:59.912460 | 2021-08-27T20:18:32 | 2021-08-27T20:18:32 | 359,218,224 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,358 | cpp | DesignerController.cpp | #include "DesignerController.h"
#include "MarchingCubes.h"
#include "QTUtils.h"
#include "Rve.h"
#include <QFileDialog>
#include <QPushButton>
#include <QString>
#include <random>
#include <igl/writeOBJ.h>
DesignerController::DesignerController(const std::shared_ptr<Mesh> mesh,
c... |
981d91c0b8139955b78f4131ff3d74159e302975 | 3ffda988a5528e70c23ad368de6119b12807338e | /src/GUI.cpp | 4339e22f610aa461278d82b6c2903b17e28ba995 | [] | no_license | frumsy/Space-Pong | bce0433b4a3eb5901248db3a4aeea29040330b8c | 67fb2dde101c2896184f5fb6c1ac2104b02f1a46 | refs/heads/master | 2021-01-22T01:19:11.131259 | 2018-08-06T02:49:50 | 2018-08-06T02:49:50 | 102,216,335 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,852 | cpp | GUI.cpp | #include "GUI.h"
#include <iostream>
//Background
Background::Background(std::string filepath)
{
bgTex.loadFromFile(filepath);
bgTex.setSmooth(false);
bgSprite.setTexture(bgTex);
bgSprite.setPosition(0, 0);
}
void Background::Render(sf::RenderWindow &window)
{
window.draw(bgSprite);
}
MenuGraphics::MenuGraphics... |
a7a45a222afa8f1220ed8fd5bf2ae76304eb6927 | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /Rvoterdistance/src/RcppExports.cpp | bdc9dfbf62a7d60e5d386b52f6040b9cf54fad62 | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,897 | cpp | RcppExports.cpp | // Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#include <Rcpp.h>
using namespace Rcpp;
// deg2rad
double deg2rad(double deg);
RcppExport SEXP _Rvoterdistance_deg2rad(SEXP degSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp... |
78ac950b1c91669678e2fd7dacebbb08a62e3e02 | fa2250779a2eb0b3155f8a9912b9b08caeba0cbe | /OpenGL/TEMPLATE.app.GLSL.GLFW/tools.hpp | 354eafb5124e449fee17c0bb907f75ee4c530a24 | [
"MIT"
] | permissive | on62/daft-lib | 33b3d00fe3520b9ce78ddcbd7a814ed78c1bf254 | 7890fdba0aab800022ab9afb958946bd06779f33 | refs/heads/master | 2022-11-14T23:08:13.978445 | 2020-07-08T13:33:09 | 2020-07-08T13:33:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,027 | hpp | tools.hpp | //----------------------------------------------------------------------------
//
// file: tools.hpp
//
// Набор функций, необходимый для создания контента и компиляции шейдера
//
//----------------------------------------------------------------------------
#ifndef __TOOLS_HPP__
#define __TOOLS_HPP__
// Размещение ... |
4020d51e71c6b633d7c728ae75e667db4c92ca89 | 23b9ac77fef2df3c4daacd32c76d46c3c223bc24 | /Auxiliar.cpp | ca7d6e38592afcabab4f742927d47f5e7f474d03 | [] | no_license | Henrique-CP/Sim-Heuristics | 7250ac56ff7a981871f7a6200dee29e537fbc162 | 6a607f6af1d2b7fddbaaea45fdee89a0631ecc32 | refs/heads/master | 2020-04-02T11:30:50.928468 | 2018-10-23T20:35:51 | 2018-10-23T20:35:51 | 154,392,782 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,144 | cpp | Auxiliar.cpp | #include <iostream>
#include <vector>
#include <random>
#include <fstream>
#include <string>
#include <chrono>
#include <string.h>
#include <algorithm>
#include "Auxiliar.h"
bool compara (const Var& v1, const Var& v2)
{
return (v1.inicio < v2.inicio);
}
double tempo_reparo(double u, double s)
{
double tempo;
un... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.