blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5afa5475d9d68d9339be65d43d6526ac29054cd7 | 3189793506a679d8c9f077359eb5dd010de92a22 | /ads7843.cpp | a28f7fd30d299393520bf9a12772d4dbeb127abb | [
"Apache-2.0"
] | permissive | petmo338/ignitioncontrol | 8d645b4128c7f2397f98926a84341b82c967ffdf | 7b8a83c9f30aa5a69e04f23cb190a61d3002656b | refs/heads/master | 2021-01-17T15:35:24.258518 | 2016-03-31T19:07:26 | 2016-03-31T19:07:26 | 39,463,351 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,700 | cpp | #include "ads7843.h"
Point::Point(void) {
x = y = 0;
}
Point::Point(int16_t x0, int16_t y0, int16_t z0) {
x = x0;
y = y0;
z = z0;
}
bool Point::operator==(Point p1) {
return ((p1.x == x) && (p1.y == y) && (p1.z == z));
}
bool Point::operator!=(Point p1) {
return ((p1.x != x) || (p1.y != y) || (p1.z !=... | [
"petmo338@gmail.com"
] | petmo338@gmail.com |
7d3ee04c684c1871ccfe722d55ccc5a103fe2339 | b4ca2b3467bc5eae53400442f038859e7ba68bd8 | /Source.cpp | 8ecd9502617c6a78882497016179909042cf0bfb | [] | no_license | EgorKohan/Unit6Exam | 1a9793d160b9edace07676b0ea9616574f86236f | f63aabfaef5b9a017544a99c79ae2b3d57bb2369 | refs/heads/master | 2021-02-07T07:17:17.697803 | 2020-03-06T21:58:19 | 2020-03-06T21:58:19 | 243,996,134 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,130 | cpp | #include <iostream>
#pragma warning(disable:4290)
#include "Shop.h"
#include "Administrator.h"
#include "Customer.h"
#include "AdministratorMenu.h"
#include "CustomerMenu.h"
using namespace std;
int main() {
Shop *KPABT = new Shop("KRABT", 20);
Customer customer("Egor", 300);
Administrator admin("Admin", KPABT);... | [
"zhora.kokhan56@gmail.com"
] | zhora.kokhan56@gmail.com |
d23bd96d06014704fc851258efe87af928b61f40 | f0f59c0edea872cf662026db282ba8d952181a48 | /10818.cpp | 657a2032711989e38d49d0947a8373d1379761d4 | [] | no_license | bonopi07/backjoon_practice | 1d5ba73b10f97a6fa89b503c666f4862669e4e26 | cf986577c6e084e53cb9732fb5807015a84a9637 | refs/heads/master | 2022-10-20T01:58:46.467454 | 2019-10-18T10:42:33 | 2019-10-18T10:42:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 369 | cpp | #include <cstdio>
#include <vector>
#include <algorithm>
using namespace std;
int main()
{
freopen("input.txt", "r", stdin);
int t;
scanf("%d", &t);
vector<int> v;
while (t--) {
int n;
scanf("%d", &n);
v.push_back(n);
}
int max = *max_element(v.begin(), v.end());
int min = *min_element(v.begin(), v.end... | [
"bonopi07@kookmin.ac.kr"
] | bonopi07@kookmin.ac.kr |
aa79ceb53e0f36a19d53c0a1a6e3e33ea9d3d78b | e4c8868c53d9c0fe0e59b7ffcaadef8e8ac92222 | /test/string_test.cpp | 5d0a44063e2e096e361e2d51d6288db1e5ebb8fc | [
"MIT"
] | permissive | theSundayProgrammer/CppLinq | 51072872873dcb0f34f9f9f9f1ac25a806053256 | aca41f2f0b6b91d914e3f91ab81806847d59bbbf | refs/heads/master | 2020-06-27T12:41:15.787547 | 2019-08-07T21:33:44 | 2019-08-07T21:33:44 | 199,956,504 | 0 | 0 | null | 2019-08-01T01:49:26 | 2019-08-01T01:49:26 | null | UTF-8 | C++ | false | false | 2,312 | cpp | #include "string_test.hpp"
#include <linq/string.hpp>
using namespace std;
using namespace linq;
using namespace bstest;
void string_test::split_test()
{
string str{ "Hello world !" };
string_view views[]{ "Hello", "world", "!" };
auto e{ str >> split(' ') };
test_equals(views, e);
}
void string_test... | [
"Strawberry_Str@hotmail.com"
] | Strawberry_Str@hotmail.com |
b38f12ecc78d41fbdc70b0f26a002aedc7e601fb | 70099bc86d4c7b80de1ca112f33d2094c3748ddd | /devel/include/bebop_msgs/CommonCommonStateCountryListKnown.h | 26b2a0f3bb55e1d5a482369b2c63fd7b4d3c02d7 | [] | no_license | jagath-jaikumar/BebopFun | dc8b58a57438fb686e67ad6276fd0f0ecb3cc806 | 353fb1dc9c13e74bb033ceaaba802e822e130d02 | refs/heads/master | 2020-03-20T11:15:58.158755 | 2018-07-04T15:14:35 | 2018-07-04T15:14:35 | 137,398,171 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,018 | h | // Generated by gencpp from file bebop_msgs/CommonCommonStateCountryListKnown.msg
// DO NOT EDIT!
#ifndef BEBOP_MSGS_MESSAGE_COMMONCOMMONSTATECOUNTRYLISTKNOWN_H
#define BEBOP_MSGS_MESSAGE_COMMONCOMMONSTATECOUNTRYLISTKNOWN_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/ser... | [
"="
] | = |
56a61eded965d4e1582b6fe1d73995dac1610c1a | 5a0424cc7a3155f53c15de2e195e1812493c96cd | /mex/cvat.cpp | 6fb7ab408f2ac7880a052952464fa05d296639fa | [] | no_license | Bingzan/coVat | 0193002592cb13c7f2551663e2f6c4755d40f8f6 | 03dce99e250bd72c0a96e1cb83747d5d4b38c9d7 | refs/heads/master | 2016-09-10T08:34:22.687049 | 2014-05-23T01:10:17 | 2014-05-23T01:10:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,286 | cpp | /**
* C/C++ implementation of the VAT algorithm.
*
* @author: Jeffrey Chan, 2014
*
*/
//#include <cmath>
//#include <cassert>
#include "math.h"
#include "assert.h"
#include <algorithm>
#include <iostream>
#include <vector>
#include <list>
#include "mex.h"
/*
* Declarations.
*/
void usageMessage();
void prims... | [
"lbzlillian@gmail.com"
] | lbzlillian@gmail.com |
6cda15292cc2e7c2924d458def280773f947f597 | eb827d7993b146cf507b57a45e420fffdf641eef | /tinkoff/2020/dist_tour03/a_slow.cpp | f26afd8c7d36b40d7b8629409152cbc5abd98ee0 | [] | no_license | khbminus/code2020 | dfdbcae71d61d03d4457aad47ff7d4136e6fcc1e | a0d2230b0905df79ba78cb98353f4ba03f16e8b0 | refs/heads/master | 2023-07-16T16:08:20.629283 | 2021-08-29T20:35:14 | 2021-08-29T20:35:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,283 | cpp | #include <bits/stdc++.h>
#include <ostream>
using namespace std;
using ll = long long;
#define SZ(x) (int)((x).size())
#define ALL(x) (x).begin(), (x).end()
#define RALL(x) (x).rbegin(), (x).rend()
#define TMAX(type) numeric_limits<type>::max()
#define TMIN(type) numeric_limits<type>::min()
#ifdef LOCAL
#define a... | [
"serega.haritontsev@gmail.com"
] | serega.haritontsev@gmail.com |
3432b060ac465db345e9a120cf2758c8b56ffd33 | ab43cdc933812a4bad7525cc7c20926e704c53ef | /Programs/perceptron/perceptron.cpp | b7d581edd91aa691b334d219b4cc7de7819e2e17 | [] | no_license | danielkimcs/data-structures | d26f89aa900af635d88f945ae9fcbb7ef4a0618f | deb3327145cee82f30fa62a585225619d3b3ff00 | refs/heads/master | 2022-11-28T01:28:05.119217 | 2020-08-05T22:40:53 | 2020-08-05T22:40:53 | 217,072,136 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 873 | cpp | #include <vector>
using std::vector;
using VD = vector<double>;
VD perceptron(vector<VD>& a, const VD& y, const int IT_MAX);
double dot_product(VD& a, VD& b) {
double s = 0;
for (int i = 0; i < a.size(); ++i) {
s += (a[i] * b[i]);
}
return s;
}
int sgn(double s) {
return s > 0 ? 1 : -1;
}
VD perceptron(vec... | [
"dankim20@bergen.org"
] | dankim20@bergen.org |
69798234d91643b19b240925c667fa0806dc2bfe | 76780f808e58028e530157f8d943931df3ecbd7a | /Fading/Fading.ino | e3d1744da4d1d9cb70a3b686384016394c511fdc | [] | no_license | h-yaroslav/msp430_macosx | 3bd30edfce78d119441daae2caeb5467fcb95948 | 92582c2f145e1c198c59a4b92bff9d838543c6a4 | refs/heads/master | 2021-01-19T14:34:55.791914 | 2017-04-19T16:55:08 | 2017-04-19T16:55:08 | 88,171,864 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,083 | ino | /*
Fading
This example shows how to fade an LED using the analogWrite() function.
The circuit:
* LED attached from digital pin 9 to ground.
Created 1 Nov 2008
By David A. Mellis
modified 30 Aug 2011
By Tom Igoe
http://arduino.cc/en/Tutorial/Fading
This example code is in the public domain.
*/
i... | [
"h.yaroslav@gmail.com"
] | h.yaroslav@gmail.com |
d48aa888437f48f505eba6da04f1e34103b6c25d | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /third_party/blink/public/web/web_hit_test_result.h | c88ba0683abcddf87619524e7245073a96143a0b | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 3,117 | h | /*
* Copyright (C) 2012 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
c732b4f621c8266aaac982614d63502c9252c484 | 957e65559f1ff4d9027c6ee11700eb9994295e39 | /cs439_f20_p8_beastbla/kernel/threads.cc | 3ceb4367fc64c07693a3639cbd5540aabb9f4d4f | [] | no_license | DD-1111/GheithOS-and-journalism-in-ext2 | 28133c71773551b7ac99af7b9415d8e526d20888 | 1b38f35ab12195c6aba6f9a2b3cc7382cd4c6663 | refs/heads/master | 2023-04-06T15:33:37.791249 | 2021-04-15T12:44:42 | 2021-04-15T12:44:42 | 320,808,605 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,976 | cc | #include "debug.h"
#include "smp.h"
#include "debug.h"
#include "config.h"
#include "machine.h"
#include "threads.h"
namespace gheith {
Atomic<uint32_t> TCB::next_id{0};
TCB** activeThreads;
TCB** idleThreads;
Queue<TCB,InterruptSafeLock> readyQ{};
Queue<TCB,InterruptSafeLock> zombies{};
... | [
"56623337+DD-1111@users.noreply.github.com"
] | 56623337+DD-1111@users.noreply.github.com |
e2fb0d3d490e46f30cd2e9982ae5d86fe195ad19 | 52ca17dca8c628bbabb0f04504332c8fdac8e7ea | /boost/geometry/index/detail/algorithms/segment_intersection.hpp | 0e078085b87244f198988e1f8c3766dc0a8e9fa7 | [] | no_license | qinzuoyan/thirdparty | f610d43fe57133c832579e65ca46e71f1454f5c4 | bba9e68347ad0dbffb6fa350948672babc0fcb50 | refs/heads/master | 2021-01-16T17:47:57.121882 | 2015-04-21T06:59:19 | 2015-04-21T06:59:19 | 33,612,579 | 0 | 0 | null | 2015-04-08T14:39:51 | 2015-04-08T14:39:51 | null | UTF-8 | C++ | false | false | 99 | hpp | #include "thirdparty/boost_1_58_0/boost/geometry/index/detail/algorithms/segment_intersection.hpp"
| [
"qinzuoyan@xiaomi.com"
] | qinzuoyan@xiaomi.com |
6acebf3baa54214d104880cbd01cbb66285710d1 | 24c15f237750892c906c420e0a4f10c29c458012 | /vectorMatrix/vec3f.h | 7e2902d4747c4e95a51191671d5ba1aea6e5196b | [] | no_license | Celelibi/CPOA | 8c0beb19795275c5ebaca7d462a53bb7c2e4e054 | 951b396082c9c0873bd95deff707318b8fb65207 | refs/heads/master | 2021-01-18T00:13:32.738943 | 2014-01-13T23:48:18 | 2014-01-13T23:48:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 543 | h | #ifndef VEC3F_H
#define VEC3F_H
#include "vector.h"
/**
* class that manage Vector of 2 floats
*/
class Vec3f: public Vector<3,float>
{
public:
Vec3f();
Vec3f(const Vec3f& v);
Vec3f(const Vector<3,float>& v);
Vec3f(float x, float y, float z);
/**
* dot product
*/
float operator *(const Vec3f& v) const;... | [
"snqke@Kigle.(none)"
] | snqke@Kigle.(none) |
36e010f3615a265e0e293a70ef92747bb8dca6f5 | e858606ccacb9a78bfb48ca90b56d9469cff7a09 | /RImageBook/src/thirdparty/x64/VTK/include/vtkViewport.h | b7c7b27229d1b81dc128f9d069674ebd4d7db15a | [] | no_license | tkatsuki/rimagebook | 51f41166e98d442f7b9e2226b65046586f95dfc8 | d26a1502faf39804bf8cb06d1699de24e6d53d58 | refs/heads/master | 2021-01-19T17:59:07.539596 | 2015-06-29T21:12:57 | 2015-06-29T21:12:57 | 38,264,836 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 12,368 | h | /*=========================================================================
Program: Visualization Toolkit
Module: vtkViewport.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This softwa... | [
"yhourai@gmail.com"
] | yhourai@gmail.com |
af8f1fff1bfcd3649eafa2838b47b65b1297bc9e | 523f9eb997e038a3e057f603627e218ad96253e3 | /catena-cpp/catena/include/helpers/uintx.h | 288e48d0b4bdd788770f3af545c7e5992fb4afcb | [] | no_license | medsec/catena-cpp | e9c3a49b3332f99ab9a2bc305d66b89121273bd8 | 6a099df57cdc5777c449eef0a784bf10f427c052 | refs/heads/master | 2021-04-15T08:25:27.404122 | 2018-04-17T05:25:51 | 2018-04-17T05:25:51 | 126,825,009 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 445 | h | #include <stdint.h>
#include "../config.h"
#ifndef CATENA_INCLUDE_HELPERS_UINTX_H_
#define CATENA_INCLUDE_HELPERS_UINTX_H_
namespace uintx {
uint8_t *XorArray(uint8_t *left, uint8_t *right, size_t len, uint8_t *out);
uint8_t *XorCopy(uint8_t *left, uint8_t *right, size_t len);
uint8_t *Add(uint8_t *left, size_t... | [
"nicolai@ruckel.de"
] | nicolai@ruckel.de |
9e1b3439ff02b10361e5dad5f3042ac4d5de0a46 | 99404c257b25f796ddb043b2abcf67f855175de7 | /bai9vd5tl.cpp | f0b2d607efcf5ed352f006bf804396b51ee9613a | [] | no_license | Tuegtgt11/c-program | 641a49ee6ea2214806b055d0ba1e6b31d704518e | 499c6d1d55c32f8b244374cfe5052bd4c1898c5e | refs/heads/master | 2023-01-07T11:23:56.359379 | 2020-11-10T04:32:42 | 2020-11-10T04:32:42 | 306,552,208 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 187 | cpp | #include<stdio.h>
int main()
{
int i,j,k,l;
i=0;
printf("Nhap so cuoi:");
scanf("%d",&i);
for (j=i; j>0; j--)
{
printf("\n");
for (k=1; k<=j; k++)
{
printf("*");
}
}
}
| [
"73330581+Tuegtgt11@users.noreply.github.com"
] | 73330581+Tuegtgt11@users.noreply.github.com |
55208d211e3ed7f3f988ff31ca7f05d159179368 | 542c861b857e42d8c550d99f584e207bdc51a139 | /groups/bsl/bslstl/bslstl_setcomparator.t.cpp | f35ffada674e2e973c3ed000314c023f39136109 | [
"MIT"
] | permissive | zhanzju/bsl | 3d803ca7a95e13b6b711b1f3fffea0581d3e710a | 1bb79982cff9bbaa3fb6d038604f04283ba76f07 | refs/heads/master | 2020-04-07T18:07:33.905605 | 2013-05-31T19:08:23 | 2013-05-31T19:08:23 | 10,591,841 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,792 | cpp | // bslstl_setcomparator.t.cpp -*-C++-*-
#include <bslstl_setcomparator.h>
#include <bslstl_allocatortraits.h>
#include <bslstl_allocator.h>
#include <bslstl_treenode.h>
#include <bslalg_rbtreeanchor.h>
#include <bslalg_rbtreenode.h>
#include <bslalg_rbtreeutil.h>
#include <bsl... | [
"abeels@bloomberg.net"
] | abeels@bloomberg.net |
481e55fc4e06159f5244950ec858b187103a2108 | f623ed6d0a0e0cb51c5509daec8c81198d4f9916 | /general/pythagorialTriplet.cpp | b702d32199ac49d3db67a9ba6a7b1f979fe70016 | [] | no_license | proPrincekush/C-and-C-Master-Class | 0137cf8c32c93f4080450f425a70163e24d510fe | 1edebe871e6fbd8382aa6297d5baefb6dc061e0a | refs/heads/main | 2023-06-03T15:57:52.641778 | 2021-06-13T04:48:52 | 2021-06-13T04:48:52 | 301,324,400 | 0 | 0 | null | 2021-06-13T04:48:03 | 2020-10-05T07:19:18 | C | UTF-8 | C++ | false | false | 933 | cpp | #include <iostream>
#include <math.h>
using namespace std;
bool tripletValid(int max, int num1,int num2){
if(pow(max,2)==(pow(num2,2)+pow(num1,2))){
return true;
}else{
return false;
}
}
bool checkTriplet(int a, int b, int c){
if(a>b){
if(a>c){
// a is max
... | [
"netpixeltech@gmail.com"
] | netpixeltech@gmail.com |
3a0779dfc66ed43d519f6b96f242fef35f53ab6b | 1bebad97ca36041eeed3859ec36dd168ada010eb | /XYZ_Engine/src/Platform/Windows/WindowsWindow.h | 20dd133a78b30720e9a869df6a7a0e1b15587498 | [] | no_license | victor-kataev/game-engine | 5a9f09fbd233229c10d673c9b148df583bbc9c9e | c534ce4986ac5233d1173597ad12df879cf73544 | refs/heads/master | 2022-12-22T08:13:46.440534 | 2020-09-22T10:11:55 | 2020-09-22T10:11:55 | 297,257,369 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 914 | h | #pragma once
#include "XYZ/Renderer/APIContext.h"
#include "XYZ/Core/Window.h"
#include <GLFW/glfw3.h>
namespace XYZ {
/** @class WindowsWindow
* Enables window management on Windows
*
*/
class WindowsWindow : public Window
{
public:
WindowsWindow(const WindowProperties& props);
virtual ~WindowsWindow();
... | [
"victor.kataev1@gmail.com"
] | victor.kataev1@gmail.com |
c2fbd73d52992f1250ad901fae7ff1a7039c08dd | c6f60d21bebff54331731d774a28f7c0155ca2b7 | /SdUsbConnect.h | 87e177105562bdc498253a8c57dd57dea39fab6f | [] | no_license | herosugi/mbed-gr-libs | dc70a61be8ffbbebd4473a27f27792b82ab07eb0 | f83ea9d050696e359ba721783752c8af27ed7e2d | refs/heads/master | 2021-01-19T23:53:27.408259 | 2017-04-22T02:52:55 | 2017-04-22T02:52:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,886 | h | /**************************************************************************//**
* @file SdUsbConnect.h
* @brief
******************************************************************************/
#include "mbed.h"
#include "FATFileSystem.h"
#include "SDBlockDevice_GRBoard.h"
#include "USBHostMSD.h"
/** A... | [
"daiki.kato.cj@renesas.com"
] | daiki.kato.cj@renesas.com |
b44ab59e37623831b7e89870407273d481e1041e | 017d653b1a4d9ed3f5d2b36315dc3a131dd3b601 | /Global_classes/Box.h | ea9ace6b4f216c0a2a47129744956bd21bb96f9e | [] | no_license | cwoll87/code | c03e5cd2b9603c27a6397364bf6fee9a62f3c5eb | b584b4248a5f979237f1b9d3664b30b8c4ca8a4d | refs/heads/master | 2016-08-04T07:03:16.013414 | 2015-01-06T22:55:32 | 2015-01-06T22:55:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,117 | h | #pragma once
#include<iostream>
#include<string>
#include<vector>
#include"../Az_Tools/Button.h"
#include <SFML\Graphics.hpp>
enum
{
INFOBOX = 0,
MESSAGEBOX,
EDITBOX
};
class Box
{
private:
//Window
sf::RenderWindow *box_window;
//Button
az::Button *newButton;
int buttonContainerSize;
//var... | [
"Hybra@hotmail.de"
] | Hybra@hotmail.de |
351869ba3cd06d51672271c016f11593cf8c87d6 | ec92bc085547af17c3f361e6b9510ed1d518e3fe | /examples/simple/threadedQueues.cpp | 9a8440d00ff25f054bdc1daa25db38a523aced4f | [
"BSD-3-Clause"
] | permissive | ge49nuk/BCLmatrix | 877729c0bde92458fa505509b512548b0e8b4f79 | f04368cc88ff9b2b652a403c69075a036b2b5586 | refs/heads/master | 2023-06-01T02:41:29.070064 | 2021-07-05T09:05:48 | 2021-07-05T09:05:48 | 357,928,194 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,126 | cpp | #include <bcl/bcl.hpp>
#include <bcl/containers/CircularQueue.hpp>
#include <bcl/containers/FastQueue.hpp>
#include <string>
#include <cstdlib>
#include <time.h>
#include <omp.h>
#include <algorithm>
#include <bitset>
#include <random>
double stealPerc;
bool verifyResults = false;
omp_lock_t stealLock;
int tasksStolen... | [
"ge49nuk2@gpu01.srve"
] | ge49nuk2@gpu01.srve |
21a2e3d571dcfa111f2dfb70ac67cf4bdab15794 | 3ea83072f48c18d1945a8071a558722549a9e2db | /.svn/pristine/21/21a2e3d571dcfa111f2dfb70ac67cf4bdab15794.svn-base | c9f58f86abf69b94fdacc3c464bfa5392bdddd15 | [] | no_license | SeongYeopKim/MFCProject | e6f2e2a3e6322fa8e771c01eb63a60cca24feb18 | 0c33b351e946d5b64975434ecbed8be4fbfe5e1c | refs/heads/master | 2020-12-24T19:36:03.364481 | 2016-05-11T13:03:48 | 2016-05-11T13:03:48 | 58,544,680 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 9,744 |
// MainFrm.cpp : CMainFrame 클래스의 구현
//
#include "stdafx.h"
#include "1121Pro2.h"
#include "MainFrm.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CMainFrame
IMPLEMENT_DYNCREATE(CMainFrame, CFrameWndEx)
const int iMaxUserToolbars = 10;
const UINT uiFirstUserToolBarId = AFX_IDW_CONTROLBAR_FIRS... | [
"ugcharlon@gmail.com"
] | ugcharlon@gmail.com | |
eac7674166e585c1a741a1f37247ca734f4d92a5 | 6447953acab4adff2540dc8066239fb472f83f26 | /Recursion/Recursion/main.cpp | c5720c1cee70303488b744455d54d592c2105a2b | [] | no_license | okovtun/BD_122 | 1a8ec383dd4a1c1bc0a064da271b406ef60a1caa | 685a2cf2dc147637d98c8bf70848ed8d1c4e0cdb | refs/heads/master | 2023-08-25T10:39:18.495416 | 2021-11-04T15:46:52 | 2021-11-04T15:46:52 | 366,404,580 | 2 | 3 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 2,346 | cpp | #include<iostream>
using namespace std;
void elevator(int floor);
long long int factorial(long long int n);
double Power(double a, int n);
void Fibonacci(int n/*, int a = 0, int b = 1*/);
//#define ELEVATOR
//#define FACTORIAL
//#define POWER
#define FIBONACCI_1
void main()
{
setlocale(LC_ALL, "Russian");
#ifdef DE... | [
"Clayman@DESKTOP-DM8E77U"
] | Clayman@DESKTOP-DM8E77U |
9d3881562cb5aa72de0b4c739afabdab830fb721 | 7a23585086bb26779bc0437da76a6e66a5966534 | /GameServer/LoadServerData.cpp | dcea5d2cdae6f788efe822f25bb57e5690fe3d3b | [] | no_license | croweffect/knightonline | 1a1f43c9da08b1e121afb023981f591522bd5ec9 | b1e2ee8d868336a9eea9899e6b938821e18428a2 | refs/heads/master | 2020-05-23T10:13:08.085145 | 2014-08-16T10:09:51 | 2014-08-16T10:09:51 | 52,990,069 | 0 | 1 | null | 2016-03-02T19:28:43 | 2016-03-02T19:28:43 | null | UTF-8 | C++ | false | false | 12,069 | cpp | #include "stdafx.h"
#include "Map.h"
#include "GameEvent.h"
#include "KnightsManager.h"
#include "DBAgent.h"
#include "KingSystem.h"
#include "../shared/HardwareInformation.h"
#include "../shared/database/OdbcRecordset.h"
#include "../shared/database/ItemTableSet.h"
#include "../shared/database/SetItemTableSet.h"
#i... | [
"0xmalloc@gmail.com"
] | 0xmalloc@gmail.com |
46b3fc3e6d3f21b80a6e0f2635a45ade72e9e054 | bd8bcdb88c102a1ddf2c0f429dbef392296b67af | /include/fengine/Engine/Component/TransformComponent.h | d41635b245901237dbeb0f43955446dfef8da711 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | LukasBanana/ForkENGINE | be03cee942b0e20e30a01318c2639de87a72c79c | 8b575bd1d47741ad5025a499cb87909dbabc3492 | refs/heads/master | 2020-05-23T09:08:44.864715 | 2017-01-30T16:35:34 | 2017-01-30T16:35:34 | 80,437,868 | 14 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,510 | h | /*
* Transform component header
*
* This file is part of the "ForkENGINE" (Copyright (c) 2014 by Lukas Hermanns)
* See "LICENSE.txt" for license information.
*/
#ifndef __FORK_TRANSFORM_COMPONENT_H__
#define __FORK_TRANSFORM_COMPONENT_H__
#include "Engine/Component/Component.h"
#include "Scene/Node/SceneNode.h... | [
"lukas.hermanns90@gmail.com"
] | lukas.hermanns90@gmail.com |
4afcb297fcae12fe05d214546437092cb76b3de0 | 0fed3d6c4a6dbdb49029913b6ce96a9ede9eac6c | /Codeforces/1005/1005A.cpp | ba935107d2e545304e7803710bf8f5472db14cd2 | [] | no_license | 87ouo/The-road-to-ACMer | 72df2e834027dcfab04b02ba0ddd350e5078dfc0 | 0a39a9708a0e7fd0e3b2ffff5d1f4a793b031df5 | refs/heads/master | 2021-02-18T17:44:29.937434 | 2019-07-31T11:30:27 | 2019-07-31T11:30:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,833 | cpp | #include <bits/stdc++.h>
using namespace std;
#pragma optimize("-O3")
typedef long long ll;
typedef long double ld;
typedef vector<int> VI;
typedef vector<ll> VL;
typedef pair<int, int> PII;
typedef pair<ll, ll> PLL;
string to_string(string s) { return '"' + s + '"'; }
string to_string(const char* s) { return to_st... | [
"zbszx040504@126.com"
] | zbszx040504@126.com |
49cadd7404ad5b615303c06b4d1779dd436e720b | 178528d48c951b58bc41f67ec7c145a6fb679fa2 | /lib/shearsys_collision_force.cc | be1c8c32cc99165c647ac70b08b32b5ccf2017d9 | [] | no_license | WhiteTshirtXI/bem3d_ves_tube | aecca3d06d6ad82385f8c915fde56c1e301d1927 | fbbf0ec0afcc62f17e117cca62463562953f166d | refs/heads/master | 2021-01-22T05:51:03.726087 | 2015-09-04T04:15:40 | 2015-09-04T04:15:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,682 | cc | #include "cxxheaders.h"
#include "shearsys.h"
#include "geom_oper.h"
#include "ewald.h"
#include "mblas.h"
#include "param.h"
/* ShearSys::addCollisionForce */
namespace {
struct Cld {
// imesh -- index of the mesh on which the collision force is applied
// jmesh -- index of the other mesh in collision
// x -... | [
"jmb@bkats.com"
] | jmb@bkats.com |
f69603d282614f5ddff1b8d5cf588397e81fb992 | 4739696e94290cf7b9f6d427390a5fc8a13501f4 | /src/json.cpp | 15ed1bf88b216524e25add36e35ccfcafdca4436 | [] | no_license | jaduwvad/mymik_subsystem | a1a8543b481a8ea2507c2df4b87049a24dee7435 | a66ab83a1f599a488e11b13c03e98beb002041f8 | refs/heads/master | 2020-04-02T00:14:08.780015 | 2019-01-11T10:28:36 | 2019-01-11T10:28:36 | 153,792,825 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,280 | cpp | /*
* Licensed to cpp-elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use thi... | [
"jadwvad2@gmail.com"
] | jadwvad2@gmail.com |
c6955c2303a454edbf5da95b0120012e190e7304 | ad2c5cdabd0a29df5592500652f4280f3c4c40ce | /Sorting/majority_element.cpp | ff9896700aace7a6d1f8ffcc260f0a2bafcc11c4 | [
"MIT"
] | permissive | pranaymarella/Data-Structures-And-Algorithms | fbf6081bf06c3eeed90d600f693c56529fe32385 | f485a1b3476eafcbcf83ba6f2dcfe6bf5166003e | refs/heads/master | 2021-01-02T08:37:52.921300 | 2017-08-22T02:18:03 | 2017-08-22T02:18:03 | 99,035,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 680 | cpp | #include <algorithm>
#include <iostream>
#include <vector>
#include <unordered_map>
using std::vector;
int majority_element(vector<long long> &a) {
std::unordered_map<long long, int> hashtable;
for (int i = 0; i < a.size(); i++) {
if (hashtable.find(a[i]) != hashtable.end()) {
hashtable[a[... | [
"pranaylearn@gmail.com"
] | pranaylearn@gmail.com |
b5948c3df3098d0077fabe57d8ca11c62a0cc7f4 | 071c74384fb6e929ef37b5ff712d21e6f147d10c | /NyxNet/Source/NyxNetConnectionsTable_Impl.h | ca140d6c5da679bed7735bf16227213cd0df90aa | [] | no_license | cobreti/Nyx | 410597bd763ed2c6583f212f63ba26f1ea3f8c36 | 0c62ba53a2999ad80d7f20f6bbebb00f1247f673 | refs/heads/master | 2016-09-05T11:54:24.773722 | 2014-08-10T13:21:46 | 2014-08-10T13:21:46 | 5,074,458 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 285 | h | //
// NyxNetConnectionsTable_Impl.h
// NyxNet
//
// Created by Danny Thibaudeau on 2012-08-26.
//
//
#ifndef __NyxNet__NyxNetConnectionsTable_Impl__
#define __NyxNet__NyxNetConnectionsTable_Impl__
#include <iostream>
#endif /* defined(__NyxNet__NyxNetConnectionsTable_Impl__) */
| [
"danny.thibaudeau@hotmail.com"
] | danny.thibaudeau@hotmail.com |
984d5d8453403508936b7b35f31757e54dc21e7e | 2b71f9562f48985c0ac78c0addd90518b2b38d9d | /05. Treat-all algorithms for sequences/P89851-Which_is_missing_.cc | c41f3997ced3e789964895738c7428732b72e811 | [] | no_license | delefme/jutge-informatica | ed05fdd1aa8d95847022dc6cb847749b5817e907 | 4fc45bee293708074b35a62b2a43af44c66092c0 | refs/heads/master | 2023-08-13T17:47:02.779225 | 2020-08-08T22:16:24 | 2020-08-08T22:16:24 | 286,070,634 | 10 | 4 | null | 2021-09-23T19:55:18 | 2020-08-08T15:36:29 | C++ | UTF-8 | C++ | false | false | 254 | cc | #include <iostream>
using namespace std;
int main() {
int n;
int x;
while (cin >> n) {
int suma = 0;
for (int i = 0; i < n-1; i++) {
cin >> x;
suma = suma + x;
}
cout << ((n*(n+1))/2)-suma << endl;
}
}
| [
"andreuhuguet@gmail.com"
] | andreuhuguet@gmail.com |
a364cbc63b1edfe23128b0741b2a3fe311fe2934 | ffa420160aa91ef9ee036926937493af6280928f | /src/Chain/libraries/rpc_stubs/CommonApiRpcServer.cpp | 99d280ab6d3ddb734ef7165626b422849f7f54b7 | [] | no_license | OutletsChain/mainChain-win | 65dc9a89f1d5ba97317142c290693c0ff7b2d955 | ce135070ffd8e570eca44fe781f92b4cce33d2d5 | refs/heads/master | 2020-03-22T09:04:32.233204 | 2018-08-17T08:56:13 | 2018-08-17T08:56:13 | 139,812,732 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 840,330 | cpp | // _ _ __ _ _
// | | | | / _(_) |
// __ _ ___ _ __ ___ _ __ __ _| |_ ___ __| | | |_ _| | ___
// / _` |/ _ \ '_ \ / _ \ '__/ _` | __/ _ \/ _` | | _| | |/ _ \`
// | (_| | __/ | | | __/ | | (_| | || __/ (_| |... | [
"outletschain2017@gmail.com"
] | outletschain2017@gmail.com |
ca8086a38fd99aad99133cdf5aa478d56bf7cf96 | 44295298cdb2c452f5915764979a9cf1e08c12c6 | /COACH4ASD/AutismCOACH/AutismCOACHDoc.h | e05db6578818a34b8eb6076847b7fa015605780b | [] | no_license | davidxue1989/MASc | e797a41246e36c0770a6944a2c216bc760d23d3d | 58a8d725447e0852e285f923733d658f4d7a15c8 | refs/heads/master | 2021-06-03T10:14:51.409328 | 2016-07-10T20:56:25 | 2016-07-10T20:56:25 | 24,718,221 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,006 | h | // AutismCOACHDoc.h : interface of the CAutismCOACHDoc class
//
#pragma once
#include <iostream>
#include <fstream>
#include <time.h>
#include "HandTracker.h"//Justin
#include "CalibrateDlg.h"
//#include "HandPositionsDlg.h"//Jan 12
#include "UserDataDlg.h"
#include "resource.h"
#include "ShowImageDlg.h"
#include "af... | [
"davidxue1989@gmail.com"
] | davidxue1989@gmail.com |
21c432977c4a570a1468b1e62d89cadc9b75d1e8 | eac2af1d08b01f39283fd60a47aa6247771ce800 | /Managers/EntityManager.h | 9f72c927e414fe30273b3815d38d47878e16ffff | [] | no_license | dvellucci/Entity-Component-System | f7ab6d93af05721b9c6f3a3090d6a5977334dc35 | 48d89167187ee1a4935b4ab87fb955464118b214 | refs/heads/master | 2020-05-27T18:11:21.352394 | 2019-12-30T13:25:27 | 2019-12-30T13:25:27 | 188,737,372 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 609 | h | #pragma once
#include "../Entity.h"
#include "ComponentManager.h"
#include <vector>
#include <typeindex>
#include <unordered_map>
#include <stack>
#include <iostream>
typedef unsigned int uint;
class EntityHandle;
class EntityManager {
public:
EntityManager();
~EntityManager();
Entity* createEntity();
void del... | [
"vellucci.dan@gmail.com"
] | vellucci.dan@gmail.com |
dc03435f0ba5cde3fc9242ad1ac1e34e56d67237 | 37027d31595171b7fbdaeec33dab261719553001 | /android/frameworks/base/services/jni/com_android_server_input_InputManagerService.cpp | dfb06ff153732d6e28c69aa57269bac449994898 | [
"LicenseRef-scancode-unicode",
"Apache-2.0"
] | permissive | hqctfl/BPI-A20-Android-4.4 | 00aa341659dc0b3a07759e7808b0d5436b4810a1 | 8fe0d48d9ddc84b9821dc767f064edea403e1145 | refs/heads/master | 2022-06-02T15:10:33.870424 | 2018-06-25T03:06:04 | 2018-06-25T03:06:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 57,295 | cpp | /*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | [
"mingxin.android@gmail.com"
] | mingxin.android@gmail.com |
74bcb041ab5d815b4f3bdaddd0db067a2a2c08d4 | 399b5e377fdd741fe6e7b845b70491b9ce2cccfd | /LLVM_src/libcxx/test/libcxx/language.support/support.limits/limits/version.pass.cpp | 4d9ba389290320a9038c433814824f1b600a24b2 | [
"NCSA",
"LLVM-exception",
"MIT",
"Apache-2.0"
] | permissive | zslwyuan/LLVM-9-for-Light-HLS | 6ebdd03769c6b55e5eec923cb89e4a8efc7dc9ab | ec6973122a0e65d963356e0fb2bff7488150087c | refs/heads/master | 2021-06-30T20:12:46.289053 | 2020-12-07T07:52:19 | 2020-12-07T07:52:19 | 203,967,206 | 1 | 3 | null | 2019-10-29T14:45:36 | 2019-08-23T09:25:42 | C++ | UTF-8 | C++ | false | false | 484 | cpp | //===----------------------------------------------------------------------===//
//
// 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
//
//===---------------------------... | [
"tliang@connect.ust.hk"
] | tliang@connect.ust.hk |
b6535f67702f3cd8393f6b41df0444c79699faf9 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/9b/99ea85a10d37b4/main.cpp | 6da030dfb7187f5100d3e6183e73c5c055fa638d | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 411 | cpp | #include <iostream>
unsigned long long hash(std::string const &val) {
unsigned long long hash = 0;
for(size_t i = 0; i < val.size(); ++i)
{
hash += ((i + 1) * (val[i] -3)) % 51;
}
return hash;
}
void show_hash(std::string const &passwd)
{
std::cout << passwd << " " << hash(pa... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
6c8fc007e2213dddbbca319bbde2ab2f83238c80 | cebd013e5944dd62c82f45a5339867a26c5af040 | /myprac/src/BloomFilter.cpp | 6dea57006084011340e54139fefdcc9c33661129 | [] | no_license | littleyellowbicycle/craw | 720595417cfca023487366b35d005dac2732d1b2 | 4edc7ce6effb4903a768ae720989a1f567615d5e | refs/heads/master | 2020-04-02T00:28:24.444103 | 2018-10-19T15:47:56 | 2018-10-19T15:47:56 | 153,804,977 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,330 | cpp | #include "Precompile.h"
#include "BloomFilter.h"
BloomFilter::BloomFilter(void){
bzero(m_bloomTable,sizeof(m_bloomTable));
}
bool BloomFilter::exist(string const& strUrl){
int one=0;// 初始化1位计数器
for(int i=0;i<HASH_FUNCS;i++){
unsigned int bit=hash (i, strUrl )%(sizeof(m_bloomTable)*8);
unsi... | [
"1021593619@qq.com"
] | 1021593619@qq.com |
863ad181ec4b7ba0cafa011b5fb35a9bccd3ab1e | d0a5224a19a87a5cedf357aa30a4e8e8af932adf | /SkeletonViewer opencv 2.1 skin detection/GreenScreen.cpp | 97f47204bdaa74d8cb6f885fdf8c7b2ebe138d2d | [] | no_license | shayekharjan/Skin-Detection | 84ad7e0c14f774cb911f392f4a7f807c423b7ade | f36569928a3fb0fc7beb22c6b41dd429fd26264d | refs/heads/master | 2021-01-25T05:36:00.251660 | 2013-01-06T22:11:25 | 2013-01-06T22:11:25 | 7,472,949 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 22,102 | cpp | //------------------------------------------------------------------------------
// <copyright file="GreenScreen.cpp" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
#include "... | [
"shayekh.arjan.amit@gmail.com"
] | shayekh.arjan.amit@gmail.com |
102b97e753904eea8bb9010061d09dc9bc8a15a4 | 14fa293f5f2c8a403a71bbeb009c65d0b945741d | /base/faces.cc | 059699c63d2fff138d40d4af2cbe31393e06df21 | [
"LicenseRef-scancode-warranty-disclaimer",
"SGI-B-1.1",
"MIT",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | goddice/antiprism | 6b554cfdd14501151881943a5fb2cca43887f94b | c96075ff34ad7aacd0cf7f95b80ee4d374718105 | refs/heads/master | 2020-04-18T06:32:36.699562 | 2018-12-28T11:43:00 | 2018-12-28T11:43:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,661 | cc | /*
Copyright (c) 2003-2016, Adrian Rossiter
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge,... | [
"adrian@antiprism.com"
] | adrian@antiprism.com |
a25eabe8e43658eb1f09745102bd4695908267cd | a10056f491d6e7480cb9a45482f60dbf11038726 | /src/Render/Shader.hpp | b4c2a4830eace5b49710c981a1dc521a6bf2e5a5 | [] | no_license | justofisker/Isker | 9ebe95648614e563a04fd636bdd81b18dcde6c0c | 3d23d62d3679405b4f9e1212ad94d9e573c5c234 | refs/heads/main | 2023-04-25T03:00:48.756151 | 2021-05-15T19:49:59 | 2021-05-15T19:49:59 | 341,068,870 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,564 | hpp | #pragma once
#include <string>
#include <unordered_map>
#include <glm/glm.hpp>
class Shader
{
private:
unsigned int m_ProgramID;
std::unordered_map<std::string, unsigned int> m_Uniforms;
static unsigned int s_CurrentlyBoundProgram;
public:
Shader(const std::string &path_vertex, const std::string &pat... | [
"37525404+justofisker@users.noreply.github.com"
] | 37525404+justofisker@users.noreply.github.com |
14641fab51ea7596f3b6103a66a89e94b2eaa94c | 7c5d7fb6a64df1a118a64bdf6087ecf395a3a722 | /data/open-Cyan/sources/005336-open-2015-022-Cyan.cpp | 59bb58b55e1c8ee98b840f54b421533c7dda2c66 | [] | no_license | alexhein189/code-plagiarism-detector | e66df71c46cc5043b6825ef76a940b658c0e5015 | 68d21639d4b37bb2c801befe6f7ce0007d7eccc5 | refs/heads/master | 2023-03-18T06:02:45.508614 | 2016-05-04T14:29:57 | 2016-05-04T14:54:19 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 2,200 | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <string>
#include <vector>
#include <algorithm>
#define ll long long
using namespace std;
const int MAX = 411;
struct Point
{
ll x, y;
Point(){}
Point(ll x, ll y) : x(x), y(y){}
};
struct Line
{
Point p1, p2;
ll a, b, c;
Li... | [
"shk.slava@gmail.com"
] | shk.slava@gmail.com |
b844a2db88c7a20e67a58de78a48bfbc836e0e6e | 183e4126b2fdb9c4276a504ff3ace42f4fbcdb16 | /VII семестр/Системне програмне забезпечення/1/Курсач/палєво/СПО курсовые/Странное/Неоднородные системы 3/Source/StdAfx.cpp | f5d8f852515f98312147580041d37e2be4fe15fc | [] | no_license | Computer-engineering-FICT/Computer-engineering-FICT | ab625e2ca421af8bcaff74f0d37ac1f7d363f203 | 80b64b43d2254e15338060aa4a6d946e8bd43424 | refs/heads/master | 2023-08-10T08:02:34.873229 | 2019-06-22T22:06:19 | 2019-06-22T22:06:19 | 193,206,403 | 3 | 0 | null | 2023-07-22T09:01:05 | 2019-06-22T07:41:22 | HTML | UTF-8 | C++ | false | false | 202 | cpp | // stdafx.cpp : source file that includes just the standard includes
// Kurs.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
| [
"mazanyan027@gmail.com"
] | mazanyan027@gmail.com |
2952de7c4027b9302bda08aac13d33b048e19a0f | 10c8555c6067db57bb53d00956aaed7ad5ecbeee | /PAT/advance_level/A1076.cc | 1a9d6cc30ce67d39388c9c839d07461bc6d408e8 | [] | no_license | srdczk/online_judge | 3ebd848c3c54e5bc13a699fb606bf8753d4bd35e | 24b3365b79ab91c48337dea6af640ab7d918c97d | refs/heads/master | 2020-08-31T15:52:02.982395 | 2020-07-20T15:11:06 | 2020-07-20T15:11:06 | 218,726,072 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 882 | cc | #include <bits/stdc++.h>
using namespace std;
const int maxV = 1010;
int level[maxV];
int n, l, k, x;
vector<int> adj[maxV];
int res(int a) {
int cnt = 0;
fill(level, level + maxV, INT_MAX);
level[a] = 0;
queue<int> q;
q.push(a);
while (!q.empty()) {
if (level[a = q.front()] == l) ... | [
"srdyjj@163.com"
] | srdyjj@163.com |
44c4d1bc28c00fde651e524526294d850e526a7a | 3282ccae547452b96c4409e6b5a447f34b8fdf64 | /SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimBuildingElementProxy_ThermalMass.hxx | a4dc2b4be4c12b6b8ae8e36951c9faa76a5a70a3 | [
"MIT"
] | permissive | EnEff-BIM/EnEffBIM-Framework | c8bde8178bb9ed7d5e3e5cdf6d469a009bcb52de | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | refs/heads/master | 2021-01-18T00:16:06.546875 | 2017-04-18T08:03:40 | 2017-04-18T08:03:40 | 28,960,534 | 3 | 0 | null | 2017-04-18T08:03:40 | 2015-01-08T10:19:18 | C++ | UTF-8 | C++ | false | false | 13,799 | hxx | // Copyright (c) 2005-2014 Code Synthesis Tools CC
//
// This program was generated by CodeSynthesis XSD, an XML Schema to
// C++ data binding compiler.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Fre... | [
"cao@e3d.rwth-aachen.de"
] | cao@e3d.rwth-aachen.de |
4db2a651efe806deb11a49b8508dfc6e4face0e0 | 5539702546120bc6f22b2bb3acb7d716908a571d | /assignment6/Code/BVH.hpp | fb4ccfddb6797c36044fcd28447004254a5d9f72 | [] | no_license | wlsdzyzl/GAMES101 | 1b27f78ab35712935ea62bcd9306cf7ef97604a7 | 5e3e29f7af39f756d4ba3d9c6aedf6c5a1678abc | refs/heads/main | 2023-03-23T06:51:26.111386 | 2021-03-22T15:42:43 | 2021-03-22T15:42:43 | 346,003,684 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,530 | hpp | //
// Created by LEI XU on 5/16/19.
//
#ifndef RAYTRACING_BVH_H
#define RAYTRACING_BVH_H
#include <atomic>
#include <vector>
#include <memory>
#include <ctime>
#include "Object.hpp"
#include "Ray.hpp"
#include "Bounds3.hpp"
#include "Intersection.hpp"
#include "Vector.hpp"
struct BVHBuildNode;
// BVHAccel Forward De... | [
"wlsdzyzl@gmail.com"
] | wlsdzyzl@gmail.com |
5d90bc3b8ce4a81366e27f871c731639612a882a | 22069dac0dc17447536bad91a158c96165dc9889 | /EmbSysLib/Src/MCU/LPC17xx/Src/USB_MCU - Copy.h | 53d72b65449a1b0861b6e77ce5531410bb7713a7 | [
"MIT"
] | permissive | Gagonjh/Embedded-C-Tic-Tac-Toe | 6a8168e938e24ccd8ccd83d2d3763b4a97334348 | 72f0cf1d21877faf633988ff4df680f0ff9284b9 | refs/heads/master | 2023-06-12T02:56:19.249830 | 2021-07-09T18:44:27 | 2021-07-09T18:44:27 | 375,101,112 | 0 | 0 | null | 2021-07-06T15:24:09 | 2021-06-08T18:02:43 | C | UTF-8 | C++ | false | false | 4,961 | h | //*******************************************************************
/*!
\file USB_MCU.h
\author Thomas Breuer
\date 01.06.02012
*/
//*******************************************************************
#ifndef _HW_USB_MCU_H
#define _HW_USB_MCU_H
#include "Hardware/Common/USB.h"
//********************************... | [
"joshua.hahn@smail.inf.h-brs.de"
] | joshua.hahn@smail.inf.h-brs.de |
815855d6e9fcfda18bed45b7474e1f15a4cfd05c | 8380b5eb12e24692e97480bfa8939a199d067bce | /FlexiSpy/Symbian/Trunk/CodeBase/src/UI/settingInc/S9PromptsSettingItem.h | 56cc0102f7a98720547a5716de6b0aafc3e1c85c | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | RamadhanAmizudin/malware | 788ee745b5bb23b980005c2af08f6cb8763981c2 | 62d0035db6bc9aa279b7c60250d439825ae65e41 | refs/heads/master | 2023-02-05T13:37:18.909646 | 2023-01-26T08:43:18 | 2023-01-26T08:43:18 | 53,407,812 | 873 | 291 | null | 2023-01-26T08:43:19 | 2016-03-08T11:44:21 | C++ | UTF-8 | C++ | false | false | 693 | h | #ifndef __S9PromptsSettingContainer_H__
#define __S9PromptsSettingContainer_H__
#include <coecntrl.h> // CCoeControl
#include <akntabobserver.h>
#include <aknsettingitemlist.h>
class TS9Settings;
class CAknSettingItem;
class CAknsBasicBackgroundControlContext;
//
class CS9PromptsSettingItem : public CAkn... | [
"rui@deniable.org"
] | rui@deniable.org |
2c956a1f710cae8c6118138da620f0c65fdd9989 | dccd1058e723b6617148824dc0243dbec4c9bd48 | /topcoder/SRM/SRM 654/SquareScores.cpp | 630658d8e3d7f581f9aa42fed22c6014a5abca3a | [] | no_license | imulan/procon | 488e49de3bcbab36c624290cf9e370abfc8735bf | 2a86f47614fe0c34e403ffb35108705522785092 | refs/heads/master | 2021-05-22T09:24:19.691191 | 2021-01-02T14:27:13 | 2021-01-02T14:27:13 | 46,834,567 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,563 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i,n) for(int (i)=0;(i)<(int)(n);++(i))
#define each(itr,c) for(__typeof(c.begin()) itr=c.begin(); itr!=c.end(); ++itr)
#define all(x) (x).begin(),(x).end()
#define pb push_back
#define fi first
#define se second
class SquareScores {
p... | [
"k0223.teru@gmail.com"
] | k0223.teru@gmail.com |
0c519e04dcdd252c42e8b27f166bb1fdca552ac8 | 62367f2e0f233bc537459c8111b39c5b54e03aa2 | /Serialcommand/SerialCommand.cpp | 7ff62414cb32d362ff005b8791584ebe62254350 | [] | no_license | level451/libraries | 6771bf9fb78fda7f9013250c0c42e97de18cfa90 | 4ae47f34d8783966d9a6bce4b207704fddbc0140 | refs/heads/master | 2016-09-05T19:20:02.369921 | 2014-04-12T22:40:08 | 2014-04-12T22:40:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,878 | cpp | /**
* SerialCommand - A Wiring/Arduino library to tokenize and parse commands
* received over a serial port.
*
* Copyright (C) 2012 Stefan Rado
* Copyright (C) 2011 Steven Cogswell <steven.cogswell@gmail.com>
* http://husks.wordpress.com
*
* Version 20120522
*
* This library is free soft... | [
"twitzel@gmail.com"
] | twitzel@gmail.com |
c8417c7a3435709a91d0f570fe6684adee58f06b | 27acd9eeb0d2b9b6326cc0477e7dbb84341e265c | /algo_implementations/sorts/insertionsort.h | e7f210b58a66a368c8f902c3dfe0f3e6b47173b3 | [] | no_license | VerstraeteBert/algos-ds | e0fe35bc3c5b7d8276c07250f56d3719ecc617de | d9215f11cdfa1a12a3b19ade3b95fa73848a636c | refs/heads/master | 2021-07-15T13:46:58.790446 | 2021-02-28T23:28:36 | 2021-02-28T23:28:36 | 240,883,220 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 534 | h | #ifndef INSERTIONSORT_H
#define INSERTIONSORT_H
#include "sorteermethode.h"
/** \class InsertionSort
*/
template <class T>
class InsertionSort : public Sorteermethode<T> {
void operator()(vector<T> & v) const {
int i;
for (i = 1; i < v.size(); i++) {
auto el = move(v[i]);
... | [
"bertverstraete22@gmail.com"
] | bertverstraete22@gmail.com |
57721c6b8c54cb51450aa83b44f34904c513db4e | 90a9cba29f9f0bf67bd6650c3c5db7630ee8167e | /core/camerafixture/fixtureCamera.h | aced2fc6de513dacc9bf7077cdf3aa8bfb1ef6bd | [] | no_license | lkolt/corecvs | ffd7ead75e924ab207e376526839edafd384917e | cabae053e5c72d4af132ddac8180fdf4ce565391 | refs/heads/master | 2021-05-14T10:35:55.605237 | 2018-01-05T10:35:33 | 2018-01-05T10:35:33 | 116,359,316 | 0 | 0 | null | 2018-01-05T08:05:54 | 2018-01-05T08:05:54 | null | UTF-8 | C++ | false | false | 3,218 | h | #ifndef FIXTURE_CAMERA_H
#define FIXTURE_CAMERA_H
#include <stdint.h>
#include <unordered_map>
#include "core/utils/atomicOps.h"
#include "core/cameracalibration/calibrationLocation.h" // LocationData
#include "core/alignment/lensDistortionModelParameters.h"
#include "core/geometry/line.h"
#include "core/geometry/co... | [
"Aleksandr.Pimenov@lanit-tercom.com"
] | Aleksandr.Pimenov@lanit-tercom.com |
7f2831ba25af8f4f9262728086a903ba518d4c86 | bc8d05eedc720339f2c00111d1d17cb51eee31ff | /Solution/Engine/Include/ControllerNode.h | de86709877efeebdf830fb1f604fcae41b7c2aca | [] | no_license | galek/RathEngine | 5591b09e4d6e431898bd83aa2b5dadbcc0bd5025 | dcd33fb1ac408231d7baebb18253c78f82cfffbd | refs/heads/master | 2020-12-03T02:28:48.070922 | 2015-10-01T14:55:17 | 2015-10-01T14:55:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 830 | h | #pragma once
#include "Node.h"
#include "PxPhysicsAPI.h"
namespace Rath
{
class ControllerNode : public virtual Node
{
protected:
physx::PxController* m_pController;
DirectX::SimpleMath::Vector3 mVelocity;
DirectX::SimpleMath::Vector3 mAcceleration;
bool mCollided;
bool mGrounded;
void setupFilter... | [
"hbastian@tzi.de"
] | hbastian@tzi.de |
c2b678415f8d169b9edab0bca46edd94579edbbb | c5d4455445d6df4718cefe0ef22a013cac80e1a6 | /Practical Evaluations/aeda2021_ci1/Tests/callCenter.h | 4df165265af8d870d6a49426ace1fa6a0eb30a21 | [] | no_license | s0fiateixeira/FEUP_AEDA | 3952c9a2d18b37521f4cd30d63c2f70f09e3a429 | 865c53f482fd4ab6177d882d0f568be655f99308 | refs/heads/master | 2023-06-17T10:43:26.589791 | 2021-07-12T15:01:28 | 2021-07-12T15:01:28 | 301,207,702 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 783 | h | #ifndef CALLCENTER_H_
#define CALLCENTER_H_
#include "callCenterAgent.h"
#include "call.h"
#include <queue>
#include <list>
#include <stack>
class CallCenter {
list<CallCenterAgent> agents;
vector<stack<OrderCall *> > attendedOrderCalls;
public:
CallCenter();
vector<stack<OrderCall *> > getOrders() co... | [
"anasofiaoliveirateixeira2@gmail.com"
] | anasofiaoliveirateixeira2@gmail.com |
c74646eb27212053fb115dd5a7e4825a75b38067 | 379ad63841f0603380204645843d6954ce9f7af1 | /LeetCode/LC121.cpp | 23babee1990c8a965e36cc42002ed450312311f8 | [] | no_license | DevinChang/LC_AC | 3ec3f311ac16c84ed2add1d871be56fc068cb20b | a10897854e33e7dec8f4c63b002dc8098ed27e9e | refs/heads/master | 2023-07-03T22:04:31.034848 | 2021-08-14T02:41:16 | 2021-08-14T02:41:16 | 100,836,559 | 11 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 627 | cpp | //
// Created by devinchang on 2019/12/24.
//
#include "util.h"
int maxProfit(vector<int> &prices){
int len = prices.size();
if(len < 1)
return 0;
int buy = prices[0];
int maxprofit = 0;
for(int i = 1; i < len; i++){
if(prices[i] <= buy)
buy = prices[i];
else{
... | [
"devinchang@126.com"
] | devinchang@126.com |
a8ecdd3b2167d2be63f764fededfb38b4c15108c | 8380b5eb12e24692e97480bfa8939a199d067bce | /Carberp Botnet/source - absource/pro/all source/BJWJ/source/Common/Requests.h | acde59cc7d625073614502f06dd05d4277a114c6 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | RamadhanAmizudin/malware | 788ee745b5bb23b980005c2af08f6cb8763981c2 | 62d0035db6bc9aa279b7c60250d439825ae65e41 | refs/heads/master | 2023-02-05T13:37:18.909646 | 2023-01-26T08:43:18 | 2023-01-26T08:43:18 | 53,407,812 | 873 | 291 | null | 2023-01-26T08:43:19 | 2016-03-08T11:44:21 | C++ | WINDOWS-1251 | C++ | false | false | 7,104 | h |
#ifndef RequestsH
#define RequestsH
//---------------------------------------------------------------------------
#include <windows.h>
#include "BotClasses.h"
#include "BotHTTP.h"
#include "BotClasses.h"
//********************************************************************
// Старые методы орга... | [
"fdiskyou@users.noreply.github.com"
] | fdiskyou@users.noreply.github.com |
047badc5aa0e602823126d901c27ef9828820932 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/b4/27f2cc422ef43c/main.cpp | 483b5642c1cfcbb9da388057c9356944e6b04509 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,685 | cpp | #include <iostream>
#include <string>
#include <boost/multi_index_container.hpp>
#include <boost/multi_index/member.hpp>
#include <boost/multi_index/ordered_index.hpp>
#include <boost/multi_index/random_access_index.hpp>
#include <boost/multi_index/member.hpp>
#include <boost/interprocess/allocators/allocator.hpp>
#inc... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
ce89325ad26f318bcf697e27f400b0b8217fd7c8 | 7be03467a6567ee1e123d1a3e66b23b9ee8d6de8 | /chicken/utils/libconfig/libconfig.hh | 9c5c513418edb277deff3a86fae202fc4702357c | [] | no_license | heqichen/cooboc | aec800baaf7dfc1178f86de85b27b7f07cf921f9 | 5d1a8d78a9029ab99711b893d8edae18c4b69b52 | refs/heads/master | 2021-01-16T19:19:56.544749 | 2015-06-14T09:17:12 | 2015-06-14T09:17:12 | 34,909,637 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25 | hh | #include <libconfig.h++>
| [
"heqichen@gmail.com"
] | heqichen@gmail.com |
a42bbf2376f695fc9170808961d9adeb6c1335a8 | c24f93bbcb2fb0dfbebb2d380f40fe744881091f | /ModelowanieGeometryczne1/pathsGenerator.h | 974924ca2fefd66462f7e9af66758edc041db224 | [] | no_license | gitzuka/mg1 | 716fad52e0ed01836a31de761fec360112a6cecb | 18987907a0dbe615fde1b353a0549f2d8bf9c463 | refs/heads/master | 2021-10-25T06:48:15.951574 | 2019-04-02T13:27:29 | 2019-04-02T13:27:29 | 105,680,343 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,171 | h | #pragma once
#include <vector>
namespace Paths {
enum class CutterType;
}
class QString;
class QVector3D;
class QVector4D;
class PathsGenerator
{
public:
PathsGenerator();
void savePaths(float radius, Paths::CutterType type, const QString &path) const;
void generateCrudePaths(const QString& fileHeightmap) cons... | [
"andrzejzuk93@gmail.com"
] | andrzejzuk93@gmail.com |
71f4cfc40b817bcef56e615034ad83f0b8f8df62 | 504a95854033d694e9f13fd5d89fc829302d7073 | /term2/p2 - unscented kalman filter/src/ukf.h | 839c5f216c533d32254713225178c7a6431f2c42 | [] | no_license | MichalDulemba/UdacitySelfdrivingCarNanoDegree | 37ccd85aa0c6aac46fbcd6ce180b18735763ad58 | 89a6073a29605cce5a9768fbca188757f2a2f40c | refs/heads/master | 2021-01-23T02:10:28.146318 | 2018-04-05T08:19:15 | 2018-04-05T08:19:15 | 92,909,882 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,508 | h | #ifndef UKF_H
#define UKF_H
#include "measurement_package.h"
#include "Eigen/Dense"
#include <vector>
#include <string>
#include <fstream>
using Eigen::MatrixXd;
using Eigen::VectorXd;
class UKF {
public:
///* initially set to false, set to true in first call of ProcessMeasurement
bool is_initialized_;
///* ... | [
"photocoffeeman@gmail.com"
] | photocoffeeman@gmail.com |
6914a11ed85771f761fc49a51457c1b015650270 | e7d65839ec77d1b5adc02caacdae64eeacdb5339 | /tools/debug_flash_jit/DbgJitExt/tdbg/dbgexts.cpp | 5a8870eaa9937eb8524e98c08e60d98a2be3d564 | [] | no_license | qycqq/Security | 5dd2a3ac6e326d9b96adac9309e125a03b30c195 | 3fb15f5fddf9630b95af518eca7a61572c4f15c4 | refs/heads/master | 2021-01-15T17:02:37.510793 | 2015-10-27T15:25:04 | 2015-10-27T15:25:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,081 | cpp | /*++
Copyright (c) 2000 Microsoft Corporation
Module Name:
dbgexts.cpp
Abstract:
This file contains the generic routines and initialization code
for the debugger extensions dll.
--*/
#include "stdafx.h"
#include "dbgexts.h"
#include <strsafe.h>
#include "dbgeng.h"
PDEBUG_CLIENT4 g_ExtClient;
P... | [
"834858875@qq.com"
] | 834858875@qq.com |
6858d5bccc7124c383dcabcd8e9bf5413081507f | 5526d81970b4ef65953b7a3c92cbea68bfc23341 | /src/Gen_Signal.cc | 3985cfcb113c60e3fe21b9e2ef1fa3bb79b05933 | [] | no_license | chengyaping/juno | e481c7bed42280baffdd91df1632a4236c74c0ac | 9abb9471bfca66c31047a0b5c3bce748df9fc7d8 | refs/heads/master | 2016-08-07T13:42:08.774962 | 2014-04-03T16:11:52 | 2014-04-03T16:11:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39,310 | cc | #include <iostream>
#include <vector>
#include <map>
#include <iterator>
#include <TFile.h>
#include <TTree.h>
#include <TMath.h>
#include <TRandom.h>
#include <string>
#include <sstream>
#include <cassert>
#include <TCanvas.h>
#include <TGraph.h>
#include <TAxis.h>
#include "Gen_Signal.h"
bool SortBytOffset(const int... | [
"chengyp@ihep.ac.cn"
] | chengyp@ihep.ac.cn |
ce2fed0209021bd0a2fa262e7dc688fe8cffe318 | d9827544674aa247059275d837937003c1d8535a | /model/ValidateCountryRequest.cpp | b6ed2b59a01566d4de2adc358e64071628b30fa0 | [
"Apache-2.0"
] | permissive | Cloudmersive/Cloudmersive.APIClient.CPP.Validate | 8b657be8f81f242010e37b24da303a5c5a67318f | fef8188b91223a2b28697a7b295254ceaa1f800b | refs/heads/master | 2023-06-08T22:19:49.437496 | 2023-06-03T22:41:39 | 2023-06-03T22:41:39 | 231,828,255 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,109 | cpp | /**
* validateapi
* The validation APIs help you validate data. Check if an E-mail address is real. Check if a domain is real. Check up on an IP address, and even where it is located. All this and much more is available in the validation API.
*
* OpenAPI spec version: v1
*
*
* NOTE: This class is auto generated... | [
"35204726+Cloudmersive@users.noreply.github.com"
] | 35204726+Cloudmersive@users.noreply.github.com |
aee7bc9ab86ae67d52b22627b29dd867af6e75b2 | 2c97fc62eab1f78c4a5d1a83826a75209ebb6d39 | /2竞赛真题/PJ2012年真题/测试数据/junior-evaldata/treasure.cpp | d7da0c910bd341880b88ef3e256caa5abe1fdbb3 | [] | no_license | GaisaiYuno/My-OI-Code-1 | f32932f1004e593ffee0b0e97cffd25d9e2851bf | c57ec4e2aaa1d770ee9490a42710d1cf71a153f2 | refs/heads/master | 2020-12-31T23:13:46.913582 | 2020-02-08T01:09:46 | 2020-02-08T01:09:46 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,101 | cpp | //treasure
#include<iostream>
#include<cstring>
#include<cstdio>
#define maxn 10002
#define maxm 102
using namespace std;
long long ans=0;
int n,m,r;
struct room {
int s;
int x;
} a[maxn][maxm];
int stair[maxn]; //记录每层有楼梯的房间数
int main() {
//int i,j;
freopen("treasure10.in","r",stdin);
memset(stair,0,sizeof(sta... | [
"1980878786@qq.com"
] | 1980878786@qq.com |
8e2849642b2eedac8c0302b31125e2270dbaa16c | 7d71fa3604d4b0538f19ed284bc5c7d8b52515d2 | /Clients/AG/Pm8/App/CWMFCTL.CPP | 911d54392702e48b306403517101ce0ce33558b0 | [] | no_license | lineCode/ArchiveGit | 18e5ddca06330018e4be8ab28c252af3220efdad | f9cf965cb7946faa91b64e95fbcf8ad47f438e8b | refs/heads/master | 2020-12-02T09:59:37.220257 | 2016-01-20T23:55:26 | 2016-01-20T23:55:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,946 | cpp | /*
// $Workfile: CWMFCTL.CPP $
// $Revision: 1 $
// $Date: 3/03/99 6:04p $
*/
/*
// Revision History:
//
// $Log: /PM8/App/CWMFCTL.CPP $
//
// 1 3/03/99 6:04p Gbeddow
//
// Rev 1.0 14 Aug 1997 15:19:50 Fred
// Initial revision.
//
// Rev 1.0 14 Aug 1997 09:37:58 Fred
// Initial re... | [
"jim@facetofacesoftware.com"
] | jim@facetofacesoftware.com |
02b864bb58bf012a5d474ec4d850a7bd56cd6e43 | d939ea588d1b215261b92013e050993b21651f9a | /asw/src/v20200722/model/DescribeExecutionsRequest.cpp | a2cbb05964af7d6eb298f0bd69c9fa22a38f93ce | [
"Apache-2.0"
] | permissive | chenxx98/tencentcloud-sdk-cpp | 374e6d1349f8992893ded7aa08f911dd281f1bda | a9e75d321d96504bc3437300d26e371f5f4580a0 | refs/heads/master | 2023-03-27T05:35:50.158432 | 2021-03-26T05:18:10 | 2021-03-26T05:18:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,843 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"tencentcloudapi@tenent.com"
] | tencentcloudapi@tenent.com |
eee1d2d3a80767c3fd4f1fac61e10f6eb6b0a1f4 | a7a0d98dba2bc19a0bdc7a28cd732cd105e3b02f | /BAEKJOON/1546.cpp | fce14383a4c90fdc7f775ceff4ed41630e52e41e | [] | no_license | stalker5217/algorithm | 905317b9b24f26bfac2f50a250698d057e21be62 | b635b13512c0057b81d714f14857fc3a9cd84582 | refs/heads/master | 2021-06-26T19:47:10.980335 | 2020-11-18T14:54:35 | 2020-11-18T14:54:35 | 190,971,508 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 506 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <cstdio>
#include <vector>
using namespace std;
int main(int argc, char** argv)
{
int n;
scanf("%d", &n);
vector<double> score;
double max = -1;
for (int i = 0; i < n; i++) {
double temp;
scanf("%lf", &temp);
if (max < temp)
max = temp;
score.push_back(te... | [
"stalker5217@gmail.com"
] | stalker5217@gmail.com |
b688eb0942857231f75b8a4cd711103369664399 | 8175aec9fb5a1f8736b3fa956f43fb3b71d3a5a1 | /mesh.cpp | 3110c7d3599458fe338cebbdab0b4f9928ced294 | [
"MIT"
] | permissive | blitzcode/cpp-11-ray-trace-march-framework | f389250f09a914165620497507fa85212e37d35e | 319f382bd33c8ff836bfedf1f3aa8c031b9b26b8 | refs/heads/master | 2020-06-02T05:52:52.296433 | 2014-10-01T12:48:14 | 2014-10-01T12:48:14 | 24,678,078 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,575 | cpp |
#include "mesh.h"
#include <limits>
#include <cassert>
#include <cstdio>
#include "triangle.h"
#include "cornell_box.h"
#include "trace.h"
void Mesh::Clear()
{
m_triangles.clear();
m_vertices.clear();
}
void Mesh::CornellBox()
{
Clear();
for (uint i=0; i<g_cornell_num_quads; i++)
AddQuad(&... | [
"tim@blitzcode.net"
] | tim@blitzcode.net |
aa8f248d64f25acf48002713b0828a28be7a6716 | 95de58c9010f7901ab491bc2d51a4a69e449ca8d | /smtk/model/EdgeUse.h | bc13d08322e87b3cca7e3baff8aa2e5c15ad7b2b | [] | no_license | mathstuf/SMTK | 066900573e0179c625ad4836ffb2756596393596 | c488d1baa80bbe9806f06923efb8bcd541bd18b4 | refs/heads/master | 2020-12-24T14:01:24.936353 | 2015-12-03T21:57:58 | 2015-12-03T21:57:58 | 32,756,120 | 0 | 0 | null | 2015-03-23T20:10:08 | 2015-03-23T20:10:06 | null | UTF-8 | C++ | false | false | 1,350 | h | //=========================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
//
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE... | [
"david.thompson@kitware.com"
] | david.thompson@kitware.com |
cf62442715029b504aeba6ce73dab8cb82408ba4 | 848115e5c7c733a8a9da5537cf6c70ec931689a6 | /Projects/FrameWork/FrameWork/Systems/Renderer/Sprite/Texture.h | 7b52547401f775e695e414b40826ecd2eb6859fc | [] | no_license | tozawa0406/game | e078710bbfcf545bb68518d9c31f40260057e3d5 | 088c92cd01ff0afbf8db344f6e06bd0b00af463e | refs/heads/master | 2020-04-04T10:01:09.561353 | 2019-02-20T14:25:17 | 2019-02-20T14:25:17 | 155,839,682 | 0 | 0 | null | null | null | null | ISO-8859-10 | C++ | false | false | 785 | h | //-----------------------------------------------------------------------------
//
// eNX`Į[Texture.h]
// Auther : ËāVãÄū
// 2018/08/18
//-----------------------------------------------------------------------------
#ifndef _TEXTURE_H_
#define _TEXTURE_H_
#include "../../../Define/Define.h"
... | [
"s.tozawa.0406@gmail.com"
] | s.tozawa.0406@gmail.com |
4edb580bb5f952418399e506142e7451061b65bc | 42515410d508b263381a822a056ce13fb19f56c5 | /VPL4.cpp | 3cb2f4cbce4b947c09492526e204b63e5bf9cb1a | [] | no_license | danhenrik/ufmgPDS2 | 7e02a00f15f00827d10849e8eb455f8c3e1e671f | 2059a22109d8d82a847ad3b9bc4a4b5e8b7a5435 | refs/heads/main | 2023-06-06T13:20:53.605673 | 2021-06-25T15:57:34 | 2021-06-25T15:57:34 | 317,634,404 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,095 | cpp | #include "VPL4.hpp"
#include <iostream>
#include <iomanip>
// Compile o arquivo de referência abaixo junto ou descomente a próxima linha.
// #include "VPL4-1.cpp"
using namespace std;
int main() {
double xc1, yc1, r1;
cin >> xc1 >> yc1 >> r1;
Circunferencia* circ1 = new Circnferencia(xc1, yc1, r1);
... | [
"danihtoledo22@gmail.com"
] | danihtoledo22@gmail.com |
2ba144d116ebc6e0d8839b1f662266b104d4b3c9 | 3ea34c23f90326359c3c64281680a7ee237ff0f2 | /Data/3550/H | b6b076fb929c74edc1c8f0095a81539d02400e84 | [] | no_license | lcnbr/EM | c6b90c02ba08422809e94882917c87ae81b501a2 | aec19cb6e07e6659786e92db0ccbe4f3d0b6c317 | refs/heads/master | 2023-04-28T20:25:40.955518 | 2020-02-16T23:14:07 | 2020-02-16T23:14:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 92,088 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source Cstd::filesystem::create_directory();FD |
| \\ / O peration | Version: 4... | [
"huberlulu@gmail.com"
] | huberlulu@gmail.com | |
5ab29485aea212c6446e7dbd323eb6162a906b8c | 4428e121574ddc6994c0b16c15a72d99bdd2c3a2 | /game/pistol.h | a3218f6260562e0f6bcdd7478fddf54fcd408ce2 | [
"MIT"
] | permissive | hiragisorah/kalokairi | 7847d350d2657dd73c08b08a17ddabb08bba480b | bd06f7c6033dfa83cda45726dc9f2184ee0b081c | refs/heads/master | 2020-03-26T02:14:34.603067 | 2018-09-15T14:10:22 | 2018-09-15T14:10:22 | 144,402,522 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 387 | h | #pragma once
#include "..\frame-work\engine.h"
#include "renderer.h"
#include "pistol_movement.h"
class Pistol : public Seed::Entity
{
public:
void Initialize(void) override;
private:
Renderer * renderer_;
PistolMovement * movement_;
public:
Renderer * const renderer(void);
public:
Transform * const transfor... | [
"hiragisorah@gmail.com"
] | hiragisorah@gmail.com |
6cdc2c1baaf36e03eb850a35d9750f1e8d55c0c1 | f36f69f28a27cbf278d54efae45222b7071b75f1 | /OOP/0601-ComplexClass/input-main1.cpp | 3b88f6b8e77672f781272bff0a3a40fd04b3564c | [] | no_license | leeyk0501/NTUST-CSIE-OOP | 139bbf190be8543b06e9e4d7832170aba57cbc9d | 03e36a30895502b59cea03a768148ff76ed93e35 | refs/heads/master | 2020-03-18T16:05:02.901847 | 2018-07-01T10:36:29 | 2018-07-01T10:36:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,739 | cpp | #include"complex.h"
int main()
{
// test constructors
Complex x, y(6), z(0, 2.1);
cout << "x = " << x << "y = " << y << "z = " << z << endl << endl;
x = Complex(3, -4);
cout << "testing members and support functions as well as"
<< " output operator:\n"
<< "complex number x = " << x << endl
<< "real part: ... | [
"kevin991239@gmail.com"
] | kevin991239@gmail.com |
8e52a2b5ef7b4a4ff2fedd897859878e6947d09f | c7b46b99aa0cda08957be1b3de27b05a626d86d6 | /src/libcvm/error_handler.hpp | a88e8076d323af0f220e8e4de3f9396e94ae1d00 | [
"BSL-1.0"
] | permissive | marian556/cvm | 8d54bb99fce556c0ed97257557e7b83b5b4bbd43 | 137a02cb841273fc7dd5d654c9c6f1e7df6ce8b8 | refs/heads/master | 2020-04-21T06:40:41.304515 | 2019-02-06T09:19:53 | 2019-02-06T09:19:53 | 169,371,332 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,773 | hpp | /*=============================================================================
Copyright (c) 2001-2014 Joel de Guzman (spirit 3 , calc9 example)
2018-2019 Marian Klein (cvm)
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boo... | [
"mkleinsoft@gmail.com"
] | mkleinsoft@gmail.com |
85ff2f8425260a716277791376d9318443401675 | 726d8518a8c7a38b0db6ba9d4326cec172a6dde6 | /1160. Find Words That Can Be Formed by Characters/Solution.cpp | 34815404dc935b41bd94ac3296b934e837a104d1 | [] | no_license | faterazer/LeetCode | ed01ef62edbcfba60f5e88aad401bd00a48b4489 | d7ba416d22becfa8f2a2ae4eee04c86617cd9332 | refs/heads/master | 2023-08-25T19:14:03.494255 | 2023-08-25T03:34:44 | 2023-08-25T03:34:44 | 128,856,315 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 685 | cpp | #include <string>
#include <vector>
using namespace std;
class Solution
{
public:
int countCharacters(vector<string> &words, string chars);
};
int Solution::countCharacters(vector<string> &words, string chars)
{
vector<int> char_table(26, 0);
for (const char &ch : chars)
char_table[ch - 'a']++;
... | [
"faterazer@outlook.com"
] | faterazer@outlook.com |
b326f327e786e5a4c738d4668a805293bff9d71a | 8a0458d96da032528319422f5ced046621efc3da | /networktables/include/include/networktables2/NetworkTableEntry.h | 27223e4c53c1d5e86c192a44221d68fe175076b3 | [
"MIT"
] | permissive | warrenlp/2015VisionCode | c44a1bba9f4432553a2900f16b13b16b6c9453ec | 38a46724e2fbdc57baeeb7bf196327a106437f11 | refs/heads/master | 2021-01-18T02:19:24.809552 | 2015-12-30T02:10:05 | 2015-12-30T02:10:05 | 46,771,955 | 1 | 1 | null | 2015-12-30T02:10:05 | 2015-11-24T06:31:57 | C++ | UTF-8 | C++ | false | false | 2,058 | h | #ifndef NETWORKTABLEENTRY_H_
#define NETWORKTABLEENTRY_H_
#include <stdlib.h>
#include <stdio.h>
#ifndef _WRS_KERNEL
#include <stdint.h>
#endif
typedef uint16_t EntryId;
typedef uint16_t SequenceNumber;
class NetworkTableEntry;
class TableListenerManager;
#include "networktables2/connection/DataIOStream.h"
#include... | [
"kjaget@nc.rr.com"
] | kjaget@nc.rr.com |
fb810662e2b6efaf15ce36980b5fd0304fc38535 | b98fcf5bc2d12c0789a9b7d4a8c7b37af70f8eb7 | /test/Test_Int.re | 8f2ae512ea887cbc31d50891ffef9f37915a836d | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | srsholmes/bs-abstract | f80930d433b8107ea78c92c8c50f3f7d277df28d | ffd380aa1e84fc3b809bfe08b5ad56505a34c949 | refs/heads/master | 2021-04-27T09:03:32.865390 | 2018-01-24T14:43:22 | 2018-01-24T14:43:22 | 122,506,942 | 1 | 0 | null | 2018-02-22T16:48:43 | 2018-02-22T16:48:42 | null | UTF-8 | C++ | false | false | 5,935 | re | open BsMochajs.Mocha;
open BsJsverify.Verify.Arbitrary;
open BsJsverify.Verify.Property;
describe("Int", () => {
/* Intentionally restricted range to avoid arithmetic overflows as much as possible */
let arb_int' = arb_int(Int.Bounded.bottom / 10000, Int.Bounded.top / 10000);
describe("Additive", () => {
d... | [
"risto1@gmail.com"
] | risto1@gmail.com |
305405975a4b30d0bed551de1629363207d17190 | 8b8e188d166fca740766d80b639f3815a952b13c | /src/gamelevel.cpp | daff82c2a320c8e8c47de28a404f69c5163af767 | [] | no_license | alextousss/snake | 1f3324e0b88b885f7313b2bbbf6bb3e16dc05c95 | 82753541aec710fe5bd3726729d76a03e91e6502 | refs/heads/master | 2021-09-12T04:40:18.019566 | 2018-04-14T10:51:58 | 2018-04-14T10:51:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,116 | cpp | #include <gamelevel.hpp>
#define SCREEN_HEIGHT 1400
#define SCREEN_WIDTH 800
using namespace sf;
using namespace std;
Gamelevel::Gamelevel() : snake(Vector2f(500,500), 10), window(sf::VideoMode(SCREEN_HEIGHT,SCREEN_WIDTH), "Snake du bg")
{
// RenderWindow window(sf::VideoMode(SCREEN_HEIGHT,SCREEN_WIDTH), "Snake du ... | [
"belzebalex@users.noreply.github.com"
] | belzebalex@users.noreply.github.com |
a72af61e7d4be4f694f863a61ec7facb4ea1d1fe | 5521a03064928d63cc199e8034e4ea76264f76da | /fboss/thrift_cow/visitors/DeltaVisitor.h | 798dec61b21afeaba2eefd9748a1422a3470e2bb | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | facebook/fboss | df190fd304e0bf5bfe4b00af29f36b55fa00efad | 81e02db57903b4369200eec7ef22d882da93c311 | refs/heads/main | 2023-09-01T18:21:22.565059 | 2023-09-01T15:53:39 | 2023-09-01T15:53:39 | 31,927,407 | 925 | 353 | NOASSERTION | 2023-09-14T05:44:49 | 2015-03-09T23:04:15 | C++ | UTF-8 | C++ | false | false | 23,280 | h | // (c) Facebook, Inc. and its affiliates. Confidential and proprietary.
#pragma once
#include <glog/logging.h>
#include <type_traits>
#include "folly/Conv.h"
#include "folly/ScopeGuard.h"
#include <boost/function_output_iterator.hpp>
#include <thrift/lib/cpp2/Thrift.h>
#include <thrift/lib/cpp2/TypeClass.h>
#includ... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
2be514dda607b1539865fa8c872ba3380807b5b7 | 9a514e063b9ad932ef4628770e06cebf605f4977 | /merchantHorde.h | c3df8c7890794ae0deb6a2077c86f86ae216e452 | [] | no_license | RWSYang/CC3K | 9c399d552ff8e433c0984c639e7ee991e0e3def0 | c21d3456c2796d85e32250a62ba0d9ee3a9222fd | refs/heads/master | 2020-03-17T05:01:33.151477 | 2018-05-14T03:18:39 | 2018-05-14T03:18:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 243 | h | #ifndef __MERCHANTHORDE_H__
#define __MERCHANTHORDE_H__
#include"gold.h"
class MerchantH: public Gold {
public:
MerchantH();
~MerchantH() = default;
CM getType() const override;
void update(Player *pc) override;
};
#endif
| [
"yws1072@hotmail.com"
] | yws1072@hotmail.com |
b2ec3d88493858e77ba7586fa0edbee23b5ca1ee | da753c5a94427fb21e07b771bb42c85417af1630 | /src/governance.cpp | 1bb6651fdb7c0f34228f81aa119442041eab5aaa | [
"MIT"
] | permissive | dongpu1813/Tourcoin-1 | 648be5548db5c91f29133c15254b71480366cd3a | c8e17e2503283a883f954b2226bcf1340772c223 | refs/heads/master | 2020-04-10T20:09:38.344294 | 2018-09-15T22:54:09 | 2018-09-15T22:54:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 48,070 | cpp | // Copyright (c) 2014-2017 The Dash Core developers
// Copyright (c) 2017-2018 The Tour Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "darksend.h"
#include "governance.h"
#include "governance-objec... | [
"tourcoindev@hotmail.com"
] | tourcoindev@hotmail.com |
4a11b82555c7fd3fd29c15bc0a42053d4f4bdf80 | 710c23453f534aca795b219c1a3281f7c3ec48d9 | /nclgl/Mesh.h | 351f277a896792a88caca6785cd5eb44acd4849a | [] | no_license | HBaghdadi1995/Particle-Systems | fc122fe4c021128ea207ee45b42d92ba8b507474 | 70b496da3a7a88b7c287120145d9e9f47a67f8ce | refs/heads/master | 2020-03-22T09:00:27.548869 | 2018-07-31T02:32:06 | 2018-07-31T02:32:06 | 139,807,181 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,228 | h | #pragma once
#pragma once
#include "OGLRenderer.h"
#include <time.h>
struct GlParticle {
Vector4 location;
Vector4 velocity;
Vector4 initLocation;
Vector4 initVelocity;
float lifeTime;
float initLifetime;
Vector2 filler;
};
enum MeshBuffer {
VERTEX_BUFFER, COLOUR_BUFFER, TEXTURE_BUFFER, NORMAL_BUFFER, TANGE... | [
"h.al-baghdadi1@newcastle.ac.uk"
] | h.al-baghdadi1@newcastle.ac.uk |
0f898adc7ddbbfbe2e6d785cae59eb3318295b25 | d9b3a59ff92554e36051a9d5b154ecfedc776a20 | /Advent-of-Code/day12/code1.cpp | 09a2a6c50fa7b4a7d52a244ba16b971db8f5c047 | [] | no_license | Kuromadoshi/repository | 2d07015e84b4727adcde4aa53378910257fb4d9e | 517d446cfe197f48215ff0551f5d88158810edf6 | refs/heads/master | 2023-03-04T00:40:19.366977 | 2021-02-13T17:54:04 | 2021-02-13T17:54:04 | 332,908,276 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 648 | cpp | #include <cstdio>
#include <cmath>
const double pi = 4*atan(1);
int main ()
{
double x=0, y=0; // x, y coordinates
double az=pi/2; // azimuth in rad
char action; // navigation instruction
int value; // integer input value
while(scanf(" %c%d", &action, &value)==2)
{
switch(action)
{
... | [
"jrmoreira.mac@gmail.com"
] | jrmoreira.mac@gmail.com |
1d6e51c1dd295984de943a152fb6687d57178314 | d3f62daa52dd2de3c41c9f62a12eea5f5aad086d | /ZabawneDodawaniePiotrusia.cpp | 6c0aeb52c5c928a58a5bea778f4f3c92df633bb9 | [] | no_license | shadowplay7/SPOJ | c73539529f78d5da484dd9cf02a79ce3a63dc668 | aa91d9e1abf62d944ab1d1e6391209b34a25b02d | refs/heads/master | 2020-04-02T06:24:40.523926 | 2020-03-27T12:16:53 | 2020-03-27T12:16:53 | 154,146,629 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,028 | cpp | #include <iostream>
#include <string>
int reverseNumber(int num)
{
int digit, rev=0;
while (num != 0)
{
digit = num % 10;
rev = (rev * 10) + digit;
num /= 10;
}
return rev;
}
bool isSameDigit(int num)
{
std::string temp = std::to_string(num);
if (equal(temp.begin(), temp.begin() + temp.size()/2, temp.rbe... | [
"1183195+shadowplay7@users.noreply.github.com"
] | 1183195+shadowplay7@users.noreply.github.com |
756639fc8b44a21634ca2a01aefd022e9a234860 | dca58bb7dd39ecae3ba95b5146643b26bbfe33ef | /CClassSensors.ino | ce45c844dd83ac6b26fd4dffc87378418de33bb9 | [] | no_license | svstas/Ponika | 94c09a741b8f5d3c82b73ddef35a43391d15b3dd | a978fadc8d67bc82e6f538992632c35e24d8aba5 | refs/heads/master | 2021-07-21T16:06:24.829768 | 2018-03-24T13:26:09 | 2018-03-24T13:26:09 | 126,599,999 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,733 | ino | void getTm() {
SyncClient client;
if(!client.connect("ponika.org", 80)){
// sendEvent("Connect Failed","sms");
}
client.setTimeout(2);
client.print("HEAD / HTTP/1.1\r\n\r\n");
while(!!!client.available()) {yield();}
while(client.available()){
if (client.read() == '\n' && client.read() == 'D' && client.rea... | [
"svstas@gmail.com"
] | svstas@gmail.com |
b9752aea1b388999ef0320c0e413392bf3fab643 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_1483485_0/C++/yesh233/a.cpp | 28865f45ca46396e140dee3872e42600b0633baf | [] | 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,619 | cpp | /*
ID:wysovie1
LANG:C++
TASK:
*/
#include <vector>
#include <list>
#include <map>
#include <set>
#include <queue>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstd... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
09ba417dec43ed413dfb8e3453ab762db118af99 | bc56aa80d0417b002cb1381e3911ff1d0df40d06 | /Framework/AppRecord.hh | 84201b62b6a1efaf9ec030af131cb62bdb4c4cb3 | [
"Apache-2.0"
] | permissive | brownd1978/FastSim | 177d79e8ce7bbd71df6f24295b157a8651962981 | 05f590d72d8e7f71856fd833114a38b84fc7fd48 | refs/heads/master | 2023-01-08T07:48:49.843154 | 2020-11-04T00:52:23 | 2020-11-04T00:52:23 | 284,155,237 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,350 | hh | //--------------------------------------------------------------------------
// File and Version Information:
// $Id: AppRecord.hh 509 2010-01-14 15:18:55Z stroili $
//
// Description:
// Class AppRecord.
//
// Environment:
//
// Software developed for the BaBar Detector at the SLAC B-Factory.
//
// This software... | [
"dave_brown@lbl.gov"
] | dave_brown@lbl.gov |
d1457779d2ff71a7ddfa3ef82b7b813c05ae2fa4 | ebca04c06754e6d6f020712c3cd2f597e45a80d2 | /Special Questions/tiling_problem_2_tile.cpp | 70b93914248dd7097293b125122195a0583077bf | [] | no_license | amandewatnitrr/Cpp | c29d599532af65ac80573704cbc3b33db6b5ec1e | 69a294c9db40fad5369691b86d6106dc4806a179 | refs/heads/master | 2023-07-24T16:20:38.982982 | 2021-08-24T17:54:15 | 2021-08-24T17:54:15 | 260,141,200 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 455 | cpp | #include <iostream>
#include <string>
#include <string.h>
using namespace std;
int tiling(int);
/*
* This problem uses the concept of fibonaaci series to be solved.
*/
int main()
{
int n;
cin>>n; /* Enter the no. of columns here. The np. of rows is fixed i.e. 2 and the tile size is 2*1. */
cout<<til... | [
"amandewatnitrr@gmail.com"
] | amandewatnitrr@gmail.com |
23c332b48ab36c9ae51f29204f68ed738c38f668 | b8dbb9de51e58afb0dd81f14a302c1b7d4e9a80a | /src/renderer/modelMulti.cpp | f5e187f73fa5795a7a2660d45b308d979ae0c82b | [] | no_license | tonyellis69/3DEngine | a78425cecf6f0228d6bdc5cfcdf455f00edceefd | 927954300136e67a7fa120d4c5922fe212c07ff6 | refs/heads/master | 2023-07-19T20:07:05.971617 | 2023-07-10T15:01:04 | 2023-07-10T15:01:04 | 41,534,907 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 353 | cpp |
#include "modelMulti.h"
#include "renderer.h"
void CModelMulti::setMultiBufferSize(unsigned int bufSize) {
multiBuf.setMultiBufferSize(bufSize);
}
unsigned int CModelMulti::getFreeMem() {
return multiBuf.freeMem;
}
void CModelMulti::storeLayout(int attr1, int attr2, int attr3, int attr4) {
multiBuf.storeLayout(a... | [
"tonyellis69@gmail.com"
] | tonyellis69@gmail.com |
82a67bce85a17222090055a18c387114ea7d95dd | 88c0e520e2389e676fea559f944109e1ee7e157b | /include/Windows.UI.Xaml.Controls.Primitives.0_4bc8ceb3.h | 679230d90a89b7bf919754bf96c560adeaf0a08d | [] | no_license | jchoi2022/NtFuzz-HeaderData | fb4ecbd5399f4fac6a4982a0fb516dd7f9368118 | 6adc3d339e6cac072cde6cfef07eccafbc6b204c | refs/heads/main | 2023-08-03T02:26:10.666986 | 2021-09-17T13:35:26 | 2021-09-17T13:35:26 | 407,547,359 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 272,529 | h |
WINRT_EXPORT namespace winrt::Windows::UI {
struct Color;
}
WINRT_EXPORT namespace winrt::Windows::UI::Xaml {
enum class ElementSoundMode;
enum class HorizontalAlignment;
enum class VerticalAlignment;
enum class Visibility;
struct DataTemplate;
struct DependencyObject;
struct DependencyProperty;
struct Framewor... | [
"jschoi.2022@gmail.com"
] | jschoi.2022@gmail.com |
a0ce66cdb8bbc1fd890c0025b1abe5a25175b358 | 56b88f9a725b6df7f95f3166f41e4684200ae4ee | /HeroFall/Sprite.h | 22d632d7b3eea779e9fc99873820f327ae6b567b | [] | no_license | Axelrantila/HeroFall | 7458e20c28f07c87389750cf342460fa6351a0d7 | eaeca08190fa4d4f3e27574331857f788e089512 | refs/heads/master | 2020-04-09T08:22:51.313203 | 2013-06-03T02:05:13 | 2013-06-03T02:07:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 954 | h | #pragma once
#include <SFML\Graphics.hpp>
#include <string>
class Renderer;
typedef std::string string;
class Sprite
{
private:
string m_sheetUniqueName;
string m_spriteUniqueName;
bool m_centered;
sf::Sprite* m_sprite;
public:
Sprite(void);
Sprite(string sheetUniqueName, string spriteUniqueName, bool cent... | [
"AxelRantila@gmail.com"
] | AxelRantila@gmail.com |
ce72e338322bf536aa32a13bd4c9cfc15f55315e | b5fc97a5800a5dcc78235f2ed78fea27144b68bd | /main.cpp | e85669cc5a3efcdb1da25f13391ba081874f7e37 | [] | no_license | lior035/AI-state8 | 4f7a6b942fe79bd0e19b8f1d885d18b239d1251b | 177111e5e32ca37d438485f61ce8c83db54c6109 | refs/heads/master | 2016-09-06T16:16:06.919307 | 2014-10-27T12:39:24 | 2014-10-27T12:39:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,180 | cpp | #include <iostream>
#include <fstream>
using namespace std;
#include <cstdlib>
#include <typeinfo.h>
#include "state8.h"
void main()
{
int num = 0;
State8** sons;
State8** sons0;
cout<<"Enter start state: "<<endl;
State8 * s = new State8();
cout<<"Enter goal state: "<<endl;
State8 * goal = new State8();
co... | [
"Lior035@gmail.com"
] | Lior035@gmail.com |
0a3115ad163cea463b9cab286d15eb96e4b96e4d | b688648a5fca3d64b168a5175fab0a96857baede | /wzskcmbd/CrdWzskSes/PnlWzskSesList.cpp | 530db3d9ccb016c991eb786ca8abca3cefb75ea3 | [
"MIT"
] | permissive | mpsitech/wzsk-Whiznium-StarterKit | e4d6f61408d42de86c3055c2156af74eda35c308 | ce594838ceaaf15a8bd08569f64c15bdcfc3efaa | refs/heads/master | 2022-10-08T23:01:09.686373 | 2022-09-12T20:52:32 | 2022-09-12T20:52:32 | 282,704,920 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,884 | cpp | /**
* \file PnlWzskSesList.cpp
* job handler for job PnlWzskSesList (implementation)
* \copyright (C) 2016-2020 MPSI Technologies GmbH
* \author Emily Johnson (auto-generation)
* \date created: 5 Dec 2020
*/
// IP header --- ABOVE
#ifdef WZSKCMBD
#include <Wzskcmbd.h>
#else
#include <Wzskd.h>
#endif
#include ... | [
"aw@mpsitech.com"
] | aw@mpsitech.com |
7285ca5005bc2371ae58d26d01eb813d21e5c97f | ed2cadec46c48e65a4444907f8ade78932f95479 | /Zeta/libzeta/Zeta/Core/RPGClasses/AbilityClass.cpp | f496280050d12163849620483553fe21e302c71f | [
"FSFAP",
"MIT"
] | permissive | klapeto/Zeta-Engine | 5ad0bfd706728fd73a13c3e952004ddfd8821b74 | 444b5ed6492d482dc2a070050afee0e9ad965a86 | refs/heads/master | 2020-12-30T13:39:22.433398 | 2017-05-14T15:13:02 | 2017-05-14T15:13:02 | 91,235,652 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,019 | cpp | /*
* AbilityClass.cpp
*
* Created on: 3 Απρ 2014
* Author: klapeto
*/
/* This file is Part of Zeta Engine
*
* The MIT License
*
* Copyright (c) 2014 Ioannis G. Panagiotopoulos (AKA Klapeto)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated... | [
"yiannispana13@gmail.com"
] | yiannispana13@gmail.com |
c7a4b81b40abb8c4b825a799b1d103688f69a2e9 | d46a4efcdbc7248e8a8469514286038b687831aa | /Library_include/Vietduino_Funtion/examples/Demo_CreateFuntion_With_priority_2/exten_function.cpp | 03aea14028e6530affa43fef0f931ea3a0922a64 | [
"MIT"
] | permissive | devshop2019/WiFi_Car_ForBao | 33cb46df65181a28adfaf11cdabb48b26f294705 | d31da092f5e997ba97dc9b9546b7dfc0e5185af3 | refs/heads/master | 2021-06-12T02:02:20.264397 | 2021-06-02T09:21:26 | 2021-06-02T09:21:26 | 196,298,576 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 842 | cpp | #include "exten_function.h"
CREATE_FUNCTION(myVoid3,3) {
Serial.begin(9600);
while(1){
Serial.println("exten_function 1000");
RunLed.enable();
while(RunLed.available())M_DELAY(1);
Serial.println("exten_function 2000");
RunLed.enable();
while(RunLed.available())M_DELAY(1);
}
... | [
"vietduino@gmail.com"
] | vietduino@gmail.com |
30581c9d331c63ac042682befeb7fae12b1a143a | f1ebd9658af9b16065262bcac988550c06d7e292 | /toolkits/MEDI_toolbox/MEDI_toolbox/functions/bet2/mpoint.h | c08452493f49174270d7398cc39fae6e4e85b49a | [
"GPL-1.0-or-later",
"LicenseRef-scancode-proprietary-license"
] | permissive | kschan0214/Whist | 5b6e3b9ac3bb1e6ca90f8c9599cb95672c02a52a | 96415954a799d1bcfb368819c38d1f034f6c4ef1 | refs/heads/master | 2021-05-20T02:07:30.313106 | 2020-05-19T16:07:17 | 2020-05-19T16:07:17 | 273,886,084 | 0 | 0 | MIT | 2020-06-21T10:58:22 | 2020-06-21T10:58:22 | null | UTF-8 | C++ | false | false | 5,218 | h | /* Copyright (C) 1999-2004 University of Oxford */
/* Part of FSL - FMRIB's Software Library
http://www.fmrib.ox.ac.uk/fsl
fsl@fmrib.ox.ac.uk
Developed at FMRIB (Oxford Centre for Functional Magnetic Resonance
Imaging of the Brain), Department of Clinical Neurology, Oxford
University, Oxfor... | [
"renaud.hedouin@gmail.com"
] | renaud.hedouin@gmail.com |
299c79cbe1fb20943de2343699f830324e170d71 | fca68c5fec6df6f999408571315c2b8e7c4b8ce9 | /service/kalman_from_home/src/IRGeom/IRGeom/IRGeomProd.h | ec10b1829a16b3af77256cb351ef367aaac5f5b2 | [] | no_license | jpivarski-talks/1999-2006_gradschool-3 | 8b2ea0b6babef104b0281c069994fc9894a05b14 | 57e80d601c0519f9e01a07ecb53d367846e8306e | refs/heads/master | 2022-11-19T12:01:42.959599 | 2020-07-25T01:19:59 | 2020-07-25T01:19:59 | 282,235,559 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,230 | h | #if !defined(IRGEOM_IRGEOMPROD_H)
#define IRGEOM_IRGEOMPROD_H
// -*- C++ -*-
//
// Package: <IRGeom>
// Module: IRGeomProd
//
// Description: <one line class summary>
//
// Usage:
// <usage>
//
// Author: Lawrence Gibbons
// Created: Thu Jan 7 14:54:35 EST 1999
// $Id: IRGeomProd.h,v 1.1.1.1 1999... | [
"jpivarski@gmail.com"
] | jpivarski@gmail.com |
0d0a2bd10014d9988229de5fb1614b2b5b604fa6 | ab61da0751d12a29e912eac04bd033b32abb3c33 | /core.cpp | 96d8f491c32b3a516b7b30f4e5a176b501c5735c | [] | no_license | sedykh/curvep | 3c081dd72d6c4eb5e3349510bc7f02bfef663dc5 | 5edfe1d94454c137b0946d834cd1bc18b6c469fd | refs/heads/master | 2021-01-19T08:55:07.881747 | 2016-12-23T14:54:28 | 2016-12-23T14:54:28 | 17,790,627 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 53,489 | cpp | // core.cpp : Defines the entry point for the DLL application.
//
#include "core.h"
//------- memory leaks catcher for the current source-file --------
#ifdef ADV_LEAK_CATCHER
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
#endif
//----------------------------------... | [
"sedykh@email.unc.edu"
] | sedykh@email.unc.edu |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.