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 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
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 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3839a18d9a68ea2125bc9850de5062156e36e208 | b4d8ba34bc68f94e837843ef24f3d4ac0877681c | /MAX6952Display.ino | 02ee383364c2d1339baec3b71c3562398233dd16 | [] | no_license | wallace3043/MAX6952Display | b4b58b5f81b4c269ba758e1ed0cd8baf56a8ebe6 | ee0a1fb6bb671c96dc1469edf5266a142d8b62aa | refs/heads/master | 2020-12-13T13:06:23.928410 | 2020-01-20T09:00:33 | 2020-01-20T09:00:33 | 231,735,117 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,061 | ino | // Visual Micro is in vMicro>General>Tutorial Mode
//
/*
Name: MAX6952Display.ino
Created: 2020-01-03 12:58:38 AM
Author: Wallace Long
*/
// The setup() function runs once each time the micro-controller starts
/*
MAX6952
Arduino - MAX6952 (SSOP package)
5V - 35, 36, 37
... | [
"noreply@github.com"
] | wallace3043.noreply@github.com |
aadfdc0c72a4c93cb044f8db4540856e3cd0f765 | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/admin/wmi/wbem/providers/nteventprovider/dll/ntevtprov.cpp | 10a6fd17b234c4a7680758e7e1f710e907ab1b1d | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,622 | cpp | //***************************************************************************
//
// NTEVTPROV.CPP
//
// Module: WBEM NT EVENT PROVIDER
//
// Purpose: Contains the WBEM interface for event provider classes
//
// Copyright (c) 1996-2001 Microsoft Corporation, All Rights Reserved
//
//**************************... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
0f40bf1b3e0df596c14ca17287fa9ef43491e3a5 | 94db0bd95a58fabfd47517ed7d7d819a542693cd | /client/ClientRes/IOSAPI/Classes/Native/AssemblyU2DCSharp_EditerType4017711417.h | 88b3e8e66e62437373bbd7db4f769974b7b17005 | [] | no_license | Avatarchik/card | 9fc6efa058085bd25f2b8831267816aa12b24350 | d18dbc9c7da5cf32c963458ac13731ecfbf252fa | refs/heads/master | 2020-06-07T07:01:00.444233 | 2017-12-11T10:52:17 | 2017-12-11T10:52:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 916 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Enum2459695545.h"
#include "AssemblyU2DCSharp_EditerType4017711417.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Win... | [
"1"
] | 1 |
cf9dc3b898d492358b10c4c99be35e77fa7c633d | f04bb40794f407e077cf47aab643e8536a7384ec | /Video/cutImageTest/cutImageTest.cpp | eb550a8e40a59500d8818ec7b5451458f1a0e95d | [] | no_license | elfmedy/2013 | 50f98ca39ff723b869631912df4b2e0c64f52c26 | fdc3bac5b17871baa22b1d044afd0a5a0e1fcbdc | refs/heads/master | 2020-05-19T07:49:06.318059 | 2014-01-03T17:58:53 | 2014-01-03T17:58:53 | 10,138,872 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 223 | cpp | // cutImageTest.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include "cutImage.h"
int _tmain(int argc, _TCHAR* argv[])
{
CutImage(10, 10, 100, 200, "in\\2.jpg", "out\\s2.jpg");
return 0;
}
| [
"flyoverthecity@gmail.com"
] | flyoverthecity@gmail.com |
3fbab48a9c0ac2a3556e9203c4cabe1958c0f89d | e4a8a6ccd4430bf12ae4262132d74211cf476d5b | /main.cpp | 8a82faa3f28715a6d0c63d6c82a5c96f287a548a | [] | no_license | sebadec/Ksiazka_Adresowa_Wektor_Uzytkownicy | 99ad59d037e7ba78138d59fccffb9e7d88e31695 | 4b60bb7a777679bb330e7ff1c15923bf3a142cb2 | refs/heads/main | 2023-03-30T10:17:19.840127 | 2021-04-07T09:40:25 | 2021-04-07T09:40:25 | 345,739,228 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,142 | cpp | #include <iostream>
#include <vector>
#include <fstream>
#include <string>
#include <cstdio>
#include <algorithm>
using namespace std;
struct Uzytkownik
{
int idUzytkownika;
string nazwa, haslo;
};
struct Adresat
{
int idAdresata, idUzytkownika;
string imie, nazwisko, numerTelefonu,... | [
"noreply@github.com"
] | sebadec.noreply@github.com |
d47546a32b5232a983a35ef2edf4a8bc0c020a98 | 978f387f5280b3f9a0c43bf9896de9376602fbf0 | /全局钩子注入/keyhook/keyhook/keyhook.cpp | 08c647310258ed4811149ae64c2ba5faa6140624 | [] | no_license | Neilai/game-hack | 313228d347592c5423d15e7fdfa088eda8e4eb81 | 0c42ad71fbfcb2cd89bd05e11071616dcaae727c | refs/heads/master | 2020-05-23T20:59:08.039503 | 2019-05-16T03:29:54 | 2019-05-16T03:29:54 | 186,942,572 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 88 | cpp | // keyhook.cpp : 定义 DLL 应用程序的导出函数。
//
#include "stdafx.h"
| [
"1131894367@qq.com"
] | 1131894367@qq.com |
9cb4f059ed372a0a4f3041cea31f267f1da36885 | a4bb94cfe9c0bee937a6ec584e10f6fe126372ff | /Drivers/Video/Console/Console.cpp | 61c3ebf8a02b2cd6a3ad948192fecf6816fce2aa | [] | no_license | MatiasNAmendola/magneto | 564d0bdb3534d4b7118e74cc8b50601afaad10a0 | 33bc34a49a34923908883775f94eb266be5af0f9 | refs/heads/master | 2020-04-05T23:36:22.535156 | 2009-07-04T09:14:01 | 2009-07-04T09:14:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 48,172 | cpp | /*
* Module Name: Console
* File: Silver\Console\Console.cpp
*
*/
#include "Drivers\Video\Console\Console.h"
#if !defined ( __CONSOLE_CPP_ )
#define __CONSOLE_CPP_
char Console::is_console;
unsigned int Console::last_result;
unsigned char * Console::vid_mem;
unsigned int Console::curr_x, Console:... | [
"codemaster.snake@gmail.com"
] | codemaster.snake@gmail.com |
e806a2fa13a3b535b0b1363fc49aa2bf0d7de57f | 16a022f0ff5c3dbe6e4e1009014e452c4af62e74 | /src/qt/mintingview.cpp | 9a227e8565e14d4cdc0edf4ff2b53823c3696911 | [
"MIT"
] | permissive | likecoin-script/novacoin | bc51b2d34cb224463f688402a7133a221c07236a | 3ee4915dfcd6f53516c9d649063c69ff1d61ca2e | refs/heads/master | 2021-01-17T11:42:00.846171 | 2014-11-29T23:47:31 | 2014-11-29T23:47:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,957 | cpp | #include "mintingview.h"
#include "mintingfilterproxy.h"
#include "transactionrecord.h"
#include "mintingtablemodel.h"
#include "walletmodel.h"
#include "guiconstants.h"
#include "guiutil.h"
#include "csvmodelwriter.h"
#include <QHBoxLayout>
#include <QHeaderView>
#include <QVBoxLayout>
#include <QTableView>
#include... | [
"fsb4000@yandex.ru"
] | fsb4000@yandex.ru |
70b15375465e21643b7f68523bef55b45f1c4833 | 334c5c96b7ab8085b086d6403b75153e83371a05 | /Leetcode/128. Longest Consecutive Sequence/LongestConsecutiveSequence.cpp | 3077fd4e878cb8649c296256764b415334ba41d3 | [] | no_license | fenix0111/Algorithm | d536c901df4843e80376c4ad4ca1a520fb77acb6 | 9ed08d536ec84695b28152abaaaea2c6a55ae01f | refs/heads/master | 2023-07-23T08:14:41.173782 | 2023-07-08T13:44:26 | 2023-07-08T13:44:26 | 102,463,797 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,075 | cpp | // Leetcode 128. Longest Consecutive Sequence
// https://leetcode.com/problems/longest-consecutive-sequence/description/
// Runtime: 4ms
// the time complexity of this solution is O(NlogN) because of sorting
class Solution
{
public:
int longestConsecutive(vector<int>& nums)
{
int ret = 0;
if ... | [
"noreply@github.com"
] | fenix0111.noreply@github.com |
1f7b72cab0a0bb8e47da77df247bdc6b6b59a3fa | abdb28b3a907236ee75cdd8a8a49c4a8280c3c33 | /FinalProject/StockAccount.cpp | 239278fe72bd6dabc02f8dd53cc582bfa514b14f | [] | no_license | Aaron723/503Assignments-new- | 81d92db8dacf289d25ce7e8ee904e502a07cf8ae | 1788626c0d8d49d8e6ee47ed78f33f5f213081d1 | refs/heads/master | 2020-04-01T01:54:29.191928 | 2018-12-17T22:41:48 | 2018-12-17T22:41:48 | 152,757,388 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,034 | cpp | //
// Created by Zi Wan on 12/9/18.
//
#include "StockAccount.h"
void StockAccount::setCASH_BALANCE(double stockBalance) {
CASH_BALANCE=stockBalance;
}
StockAccount::StockAccount(){
readPortfolio();//every time construct stock account, we need portfolio information
}
StockAccount::~StockAccount() {}
void Sto... | [
"w745207699@gmail.com"
] | w745207699@gmail.com |
a0e7e627330bec274fb795baa3a91f4fafa07f3b | 1a60c841c4cf4159d9badacbe3e3c05dd4340d73 | /week_2/2292_tjdwn9410.cpp | 5e059555ae54c2c8aefb2a330725e5baf1bb8a8c | [] | no_license | sungjunyoung/algorithm-study | e5d38f0569ec7b639ebd905f0ef79398862696d2 | 5fb4bc9fa9f96a0d17a097ed641de01f378ead27 | refs/heads/master | 2020-12-03T03:46:05.244078 | 2017-10-14T08:01:25 | 2017-10-14T08:04:59 | 95,769,994 | 9 | 12 | null | 2017-10-14T08:05:00 | 2017-06-29T11:16:04 | C++ | UTF-8 | C++ | false | false | 299 | cpp | //
// Created by MAC on 2017. 7. 3..
//
#include<iostream>
using std::cout;
using std::endl;
using std::cin;
int main()
{
int N;
int startValue=1;
int res=1;
cin>>N;
while(N>startValue)
{
startValue += res*6;
res++;
}
cout<<res<<endl;
return 0;
} | [
"abc3176@nate.com"
] | abc3176@nate.com |
d274282d4c07683cddc7ebd32f133de1f7deab01 | d2219fea4d37b8e608e52b9b9a7518d6b213bbbd | /Database/Strategy.cpp | dae67a30aecd0ea78ce764dd75306c4d357ee2e2 | [
"BSD-3-Clause"
] | permissive | qijiezhao/gStore | a42403cd4a4f3f18489a466697f52b0e71833ee4 | e33617ab9b096be4fecdd41710bde46a643c0a7a | refs/heads/master | 2021-01-11T08:15:31.247834 | 2016-09-18T12:23:50 | 2016-09-18T12:23:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,218 | cpp | /*=============================================================================
# Filename: Strategy.cpp
# Author: Bookug Lobert
# Mail: zengli-bookug@pku.edu.cn
# Last Modified: 2016-05-07 16:31
# Description: implement functions in Strategy.h
===========================================================================... | [
"zengli-bookug@pku.edu.cn"
] | zengli-bookug@pku.edu.cn |
906524470a23235e0bfd0ec52aa885e8964af022 | 8da8b1d69950e9e3a0b9e91ebce9bafcf4ee9e6b | /examples/two_axis_ads_demo/two_axis_ads_demo.ino | 687187f3c24c028de4e650b8692bf51b25e477ee | [] | no_license | bendlabs/two_axis_ads | b8d6468880cfaf5ed57c53ea0f3e65da66f8e807 | 5d4afb75110fcf656a019b1d38910df77dda28c8 | refs/heads/master | 2023-06-26T05:35:18.727176 | 2023-04-26T14:17:01 | 2023-04-26T14:17:01 | 146,693,823 | 8 | 9 | null | 2023-04-26T14:17:02 | 2018-08-30T04:03:06 | C | UTF-8 | C++ | false | false | 3,574 | ino | #if defined(ARDUINO_SAMD_ZERO) && defined(SERIAL_PORT_USBVIRTUAL)
// Required for Serial on Zero based boards
#define Serial SERIAL_PORT_USBVIRTUAL
#endif
#include "Arduino.h"
#include "ads_two_axis.h"
#define ADS_RESET_PIN (4) // Pin number attached to ads reset line.
#define ADS_INTERRUPT_PIN (3... | [
"coltonottley@gmail.com"
] | coltonottley@gmail.com |
bac5520dcbb84a30a8178f39e66441b4668bc6be | 599aa4ba4755d6021d1329ea6495b0d460af7606 | /Platforms/hackerEarth/monthlyEasy/mtd.cpp | f860fbde58d4643896acea5d17afccf07ca079a4 | [] | no_license | manosriram/Algorithms | 96109c86bb38a0bad43f6d6c465b224051145123 | 894a37d420aa65fab1e45bcef8d9f1ef262f4aaa | refs/heads/master | 2022-12-21T21:32:53.005160 | 2020-09-24T15:50:58 | 2020-09-24T15:50:58 | 159,975,079 | 7 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 658 | cpp | #include <iostream>
using namespace std;
void removeE(int g, int arr[],int n) {
for (int t=n;t>=0;t--) {
if (arr[t] == g) {
for (int h=t;h<n-t;h++) {
arr[h] = arr[h+1];
}
}
}
}
int main() {
int n,a,b,arr[10000];
int i,j,t;
int count=1;
int sum1=0;
cin ... | [
"mano.sriram0@gmail.com"
] | mano.sriram0@gmail.com |
26583c7774b6bf1ac93c1be00ad27ae7ca6aaacc | 081c75d11a4a8eb139f1685f087d9cc85a4fa072 | /include/nmtools/array/view/swapaxes.hpp | 9af2656b620076d3c1b67a1b402538387c5e3176 | [] | no_license | alifahrri/nmtools | c0a9d63b4101193b484f3e05bce606d58c3b85e2 | fa8a45bc3ddb373b7f547dfea3c2c7bea3056e06 | refs/heads/master | 2023-08-28T19:36:41.814434 | 2023-08-20T08:28:40 | 2023-08-20T08:28:40 | 190,819,342 | 7 | 0 | null | 2023-08-20T08:28:41 | 2019-06-07T22:43:35 | C++ | UTF-8 | C++ | false | false | 122 | hpp | #ifndef NMTOOLS_ARRAY_VIEW_SWAPAXES_HPP
#define NMTOOLS_ARRAY_VIEW_SWAPAXES_HPP
#endif // NMTOOLS_ARRAY_VIEW_SWAPAXES_HPP | [
"noreply@github.com"
] | alifahrri.noreply@github.com |
6f402149560789ca4042cdf028cc5e744cd0c7ad | 512f6474f03964da335a32b7a6834ce1bbf4b651 | /Player.cpp | 0881b6ac9452bd9603911c871b20dd0d9207f7eb | [] | no_license | Eliaslb/Zelda | c797b1537f08ae39ae66f062012cfd1100b915a2 | 1a739871c670f6bf39a55233b11fd78fd49d7fb5 | refs/heads/master | 2021-01-20T11:01:05.316666 | 2017-08-28T16:30:34 | 2017-08-28T16:30:34 | 101,663,985 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,220 | cpp | #include "Player.h"
Player::Player(Arduboy2 &arduboy, Animation2 &PlayerLEFTanim1, Animation2 &PlayerRIGHTanim1, Animation2 &PlayerUPanim1, Animation2 &PlayerDOWNanim1)
{
this->ardu = &arduboy;
this->PlayerLEFTanim = &PlayerLEFTanim1;
this->PlayerRIGHTanim = &PlayerRIGHTanim1;
this->PlayerUPanim =... | [
"eliaslb584@gmail.com"
] | eliaslb584@gmail.com |
d6a6819b69fe3a6bb68a0208cf37c4afd9fb06a4 | eef9cdafb7476427d194374cc11a54a068c30325 | /overallControl.cpp | 61bd3e32b26c32e93d61056c0605554b2396ebdb | [] | no_license | geetika016/FindMeAPet | 3988ecbb87fa0c92c2424f8b628d741cf99810b6 | 43a7dcceb1c01a170d3101c30017a541df89b02b | refs/heads/master | 2020-06-20T09:43:33.569960 | 2019-07-15T22:44:58 | 2019-07-15T22:44:58 | 197,078,766 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 40,316 | cpp | #include "overallControl.h"
OverAllControl::OverAllControl()
{
proxy = new Proxy;
}
OverAllControl::~OverAllControl()
{
delete proxy;
}
void OverAllControl::launch()
{
dbControl = new DatabaseControl;
if (initializeDB())
proxy->displayRequest();
}
void OverAllControl::initializeHelper(QHash<... | [
"geetika.shrma16@gmail.com"
] | geetika.shrma16@gmail.com |
dd65570b9ce936d8b256816347695d10cda4f77f | 8b63f0deb717cbd11a13f418d70f18a612c99d56 | /Metos_Numericos/6-Runge-Kutte.cpp | 3e63cc4ee1ded8b4cbe6bd79f5ffe8ff2355f4d9 | [] | no_license | Israel-Eskape/C- | ebb5aeacbb6f9603b6b1ec79f51c81c033188a0a | 58ac60d42d57634974bc8d73beed655d7683fb47 | refs/heads/master | 2022-04-19T23:40:40.912906 | 2020-04-21T01:46:09 | 2020-04-21T01:46:09 | 257,428,376 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 549 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <math.h>
double yi(double y,double k1,double k2,double h){
return y+(0.5*k1+0.5*k2)*h;
}
double fun(double x,double y){
return x-y;
}
int main(){
double y,x,h,k1,k2,r;
int yf=10;
y=2;
h=0.2;
x=0;
for(int i=0;i<yf/... | [
"isra.ixoye@gmail.com"
] | isra.ixoye@gmail.com |
242f528738ee50c84dd2c6bd5ac9190d98315dd8 | 45874c847c5a2fc4e89e05a7fc8ad9b63d8c4860 | /clang/test/SemaSYCL/intel-max-work-group-size-ast.cpp | 59f80bb24695f1a913beaa94e59f60c55ce460f9 | [
"LicenseRef-scancode-unknown-license-reference",
"NCSA",
"LLVM-exception",
"Apache-2.0"
] | permissive | intel/llvm | 2f023cefec793a248d8a237267410f5e288116c5 | a3d10cf63ddbdcc23712c45afd1b6b0a2ff5b190 | refs/heads/sycl | 2023-08-24T18:53:49.800759 | 2023-08-24T17:38:35 | 2023-08-24T17:38:35 | 166,008,577 | 1,050 | 735 | NOASSERTION | 2023-09-14T20:35:07 | 2019-01-16T09:05:33 | null | UTF-8 | C++ | false | false | 5,087 | cpp | // RUN: %clang_cc1 %s -fsyntax-only -ast-dump -fsycl-is-device -internal-isystem %S/Inputs -sycl-std=2017 -triple spir64 | FileCheck %s
// The test checks support and functionality of [[intel:::max_work_group_size()]] attribute.
#include "sycl.hpp"
using namespace sycl;
queue q;
[[intel::max_work_group_size(2, 2, 2)... | [
"noreply@github.com"
] | intel.noreply@github.com |
15b771928b361c5b13dc56109c65a3bc6d15ef4e | 5885fd1418db54cc4b699c809cd44e625f7e23fc | /codeforces/1167/d.cpp | 98262d5a7737484a17355b2854185cb07d3650cb | [] | no_license | ehnryx/acm | c5f294a2e287a6d7003c61ee134696b2a11e9f3b | c706120236a3e55ba2aea10fb5c3daa5c1055118 | refs/heads/master | 2023-08-31T13:19:49.707328 | 2023-08-29T01:49:32 | 2023-08-29T01:49:32 | 131,941,068 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,651 | cpp | #include <bits/stdc++.h>
using namespace std;
#define _USE_MATH_DEFINES
#define For(i,n) for (int i=0; i<n; i++)
#define FOR(i,a,b) for (int i=a; i<=b; i++)
#define Down(i,n) for (int i=n-1; i>=0; i--)
#define DOWN(i,a,b) for (int i=b; i>=a; i--)
typedef long long ll;
typedef long double ld;
typedef pair<int,int> pii... | [
"henryxia9999@gmail.com"
] | henryxia9999@gmail.com |
b5d4c2a972249ffed244f9592d42a62a2264ab8c | a565dc8a731c4166548d3e3bf8156c149d793162 | /PLATFORM/TI_EVM_3530/SRC/DRIVERS/PM/DLL/pmrelation.cpp | 689b19fed64d53a6d09859b9c68a3571d70956ce | [] | no_license | radtek/MTI_WINCE317_BSP | eaaf3147d3de9a731a011b61f30d938dc48be5b5 | 32ea5df0f2918036f4b53a4b3aabecb113213cc6 | refs/heads/master | 2021-12-08T13:09:24.823090 | 2016-03-17T15:27:44 | 2016-03-17T15:30:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,324 | cpp | //
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Use of this sample source code is subject to the terms of the Microsoft
// license agreement under which you licensed this sample source code. If
// you did not accept the terms of the license agreement, you are not
// authorized to use this samp... | [
"ruslan.sirota@micronet-inc.com"
] | ruslan.sirota@micronet-inc.com |
7d24c20c45672137603f10ae304b6d51202d5e12 | 25f8cc14652d2d4a799fb4e946d79b2672d24662 | /TestCases/main.cpp | 0441bab5def7c96415d4610406c42e802cfe7941 | [] | no_license | da-x-ace/openSSL-compatible-RSA-Engine | 2c313fb693d23c4bab44cf399c0c0c62ab30d70d | 899676109e699b996ed65fa73ef51ab94084f2c1 | refs/heads/master | 2016-08-03T14:43:15.560671 | 2013-01-31T02:44:14 | 2013-01-31T02:44:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 70,661 | cpp | #include <iostream>
#include <stdio.h>
#include <gmp.h>
#include <string.h>
#include <vector>
#include <fstream>
#include <unistd.h>
#include <stdlib.h>
#include <fcntl.h>
#include <sys/types.h>
#include <openssl/evp.h>
#include <sys/syscall.h>
#include <openssl/sha.h>
#define MODULUSSIZE 1024 //No. of bits in n
#d... | [
"prankur.07@gmail.com"
] | prankur.07@gmail.com |
b31b67909a500246f4c3e972b4947bf2aea749ff | 961f6147855cb608eefd2ccb7927e65311133efa | /library/binsaver/ut/binsaver_ut.cpp | 20e4b45044a65ae5fd4efc22db00fcd35b755f8a | [
"Apache-2.0"
] | permissive | kyper999/catboost_yandex | 55a79890be28d46748cb4f55dd7a8ad24ab7b354 | 91c41df3d4997dbab57fc1b8a990017270da47c6 | refs/heads/master | 2022-10-31T11:21:22.438222 | 2017-07-18T10:25:29 | 2017-07-18T10:25:29 | 97,590,200 | 0 | 1 | NOASSERTION | 2022-10-23T09:35:09 | 2017-07-18T11:27:38 | C | UTF-8 | C++ | false | false | 5,563 | cpp | #include <library/binsaver/bin_saver.h>
#include <library/binsaver/util_stream_io.h>
#include <library/unittest/registar.h>
#include <util/stream/buffer.h>
#include <util/generic/map.h>
struct TBinarySerializable {
ui32 Data = 0;
};
struct TNonBinarySerializable {
ui32 Data = 0;
TString StrData;
};
stru... | [
"exprmntr@pepe.search.yandex.net"
] | exprmntr@pepe.search.yandex.net |
c6936387cf0bd8b26139ea46d938f1643fbf610a | 34e11b37fada3d5290509b50d1f9c312225f613b | /InsertionSort.cpp | 7d82977bfd96056b99248dd78d004f8d2b187551 | [] | no_license | MiladEsp/cpp-algorithms | 282ee498829ac0f048874f729a52aaaa16d9f6ec | f20ee6669d95b8ba3f87eeaa35c6fee7d39e985b | refs/heads/master | 2022-12-25T12:18:55.639870 | 2020-10-05T02:05:56 | 2020-10-05T02:05:56 | 295,762,044 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,058 | cpp | #include <iostream>
#include <vector>
template <typename T>
void insertionSort(std::vector<T> &vec, bool ascending)
{
int i, j;
T key;
for (j = 1; j < vec.size(); j++)
{
key = vec[j];
i = j - 1;
if (ascending)
{
while (i >= 0 && vec[i] > key)
{
... | [
"32962296+MiladEsp@users.noreply.github.com"
] | 32962296+MiladEsp@users.noreply.github.com |
daba678609848f35e837db30825e75b51624993c | c05238c76e2d1dff1bca000c1893d49fef58c963 | /base/component/exception.cpp | 0856c004ba9022a43711920a6ff7109c1978ae79 | [] | no_license | firejh/server | 949d371223abbd6890e7b4171a55417fbac7bb23 | 3a5beaf0890db6975e24eebda2fb9029d7ef61f6 | refs/heads/master | 2021-06-18T04:54:44.251910 | 2017-07-06T06:04:43 | 2017-07-06T06:04:43 | 95,762,205 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,289 | cpp | #include "exception.h"
#include <iostream>
#include <sstream>
#include <string.h>
#include <stdlib.h>
namespace base{
namespace component{
ExceptionBase::ExceptionBase(const std::string& msg,
const std::string& file,
const std::string& func,
... | [
"centos@localhost.localdomain"
] | centos@localhost.localdomain |
7883b573bdc66f6999ae56ae24991fc9f42610e2 | b8be015984622307394dc919ab711417da4fa911 | /Length of Last Word.h | cd54d6144712901fa709405f2a7c4159a8594ed3 | [] | no_license | boyxgc/Leetcode | de41651416e5aec30666f67653ab7736e0edc2aa | bd09a470628f7112198b70d52d63b30409cac12f | refs/heads/master | 2021-01-22T06:37:00.824562 | 2014-12-05T03:16:11 | 2014-12-05T03:16:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 481 | h | class Solution {
public:
int lengthOfLastWord(const char *s) {
int size = 0;
const char *s1 = s;
while(*(s1++)) {
size++;
}
int lastword = size-1;
while(lastword >= 0 && s[lastword] == ' ')
lastword--;
int lastwordsize = 0;
... | [
"boyxgc@gmail.com"
] | boyxgc@gmail.com |
67df2629c6da09829d66ee120c50e9c896a84471 | 0f3d13bd7d68efbed8c7db1abcac57f8bd797458 | /HEPfit/examples-src/LibMode_header/libmode_header.cpp | 7a7dcee4c80eac0d32f702ec089e7dbbbdcaa00a | [
"DOC"
] | permissive | talismanbrandi/Belle_1809.03290 | 5b48b1fee290b12159326e04f72640898663540c | b6608353f9c685a95f9a9d2fe2677c3d128baf8a | refs/heads/master | 2020-05-27T05:06:30.404976 | 2019-05-28T17:02:13 | 2019-05-28T17:02:13 | 188,494,216 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,137 | cpp | /*
* Copyright (C) 2014 HEPfit Collaboration
*
*
* For the licensing terms see doc/COPYING.
*/
/**
* @example libmode_header.cpp
* This is an example of how to compute observables from the input parameters
* defined in the file InputParameters.h.
*
*/
#include <iostream>
#include <HEPfit.h>
#include <Input... | [
"apaul2@alumni.nd.edu"
] | apaul2@alumni.nd.edu |
8421bd189ced236256f3be76fdc339ae7bdbfc86 | 74af32d04639d5c442f0e94b425beb68a2544b3c | /LeetCode/Normal/1400-1499/1431.cpp | 228c14d475eea3e1b864489ef4375205c5454dc0 | [] | no_license | dlvguo/NoobOJCollection | 4e4bd570aa2744dfaa2924bacc34467a9eae8c9d | 596f6c578d18c7beebdb00fa3ce6d6d329647360 | refs/heads/master | 2023-05-01T07:42:33.479091 | 2023-04-20T11:09:15 | 2023-04-20T11:09:15 | 181,868,933 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 431 | cpp | #include <bits/stdc++.h>
using namespace std;
class Solution
{
public:
vector<bool> kidsWithCandies(vector<int> &candies, int extraCandies)
{
int n = candies.size();
int maxCandies = *max_element(candies.begin(), candies.end());
vector<bool> ret;
for (int i = 0; i < n; ++i)
... | [
"dlvguo@qq.com"
] | dlvguo@qq.com |
58493d8bed5ecc0ae128aa4b5b0a1e1dec31af9b | 4da66ea2be83b62a46d77bf53f690b5146ac996d | /modules/assimp/assimp/code/CreateAnimMesh.cpp | 1a052849bb705597fcfab64c71d2d4430556b78a | [
"BSD-3-Clause",
"Zlib"
] | permissive | blitz-research/monkey2 | 620855b08b6f41b40ff328da71d2e0d05d943855 | 3f6be81d73388b800a39ee53acaa7f4a0c6a9f42 | refs/heads/develop | 2021-04-09T17:13:34.240441 | 2020-06-28T04:26:30 | 2020-06-28T04:26:30 | 53,753,109 | 146 | 76 | Zlib | 2019-09-07T21:28:05 | 2016-03-12T20:59:51 | Monkey | UTF-8 | C++ | false | false | 3,731 | cpp | /*
---------------------------------------------------------------------------
Open Asset Import Library (assimp)
---------------------------------------------------------------------------
Copyright (C) 2016 The Qt Company Ltd.
Copyright (c) 2006-2012, assimp team
All rights reserved.
Redistribution and use of this... | [
"blitzmunter@gmail.com"
] | blitzmunter@gmail.com |
2ce6f67ba7f336772b326ad9853252225a43a99a | 5bb7cf6f6f38e8a96ef5d522d26cf78c7c097c41 | /src/engine/server/library/serverGame/src/shared/command/CommandQueue.cpp | d581b8aeb5090b282605f42ba1df8338eab51244 | [] | no_license | hackerlank/SWG_Client_Next_Main | 1c88015af11bd42c662a7d7c4fe0807924f4077a | d737257b8fc28f7ad4d8d02113e7662682187194 | refs/heads/master | 2021-01-12T06:25:56.627527 | 2016-06-01T19:32:59 | 2016-06-01T19:32:59 | 77,359,203 | 6 | 4 | null | 2016-12-26T05:09:07 | 2016-12-26T05:09:06 | null | UTF-8 | C++ | false | false | 54,330 | cpp | // ======================================================================
//
// CommandQueue.cpp
//
// Copyright 2002 Sony Online Entertainment
//
// ======================================================================
#include "serverGame/FirstServerGame.h"
#include "serverGame/CommandQueue.h"
#include "UnicodeUti... | [
"lightlordmh@hotmail.com"
] | lightlordmh@hotmail.com |
f250189da39de20a4448c28e9ec26ac17563d6ba | 7121e3df80afdc58fdc10c664c08aee411a78181 | /src/chrome/browser/ui/libgtkui/gtk_ui.cc | 6bc83d0bfc97104f65da0c1a78ece232bdcc5b10 | [
"BSD-3-Clause"
] | permissive | ochrisoyea/AccessControlListsintheDOM | 93d0a1f77f7f3af864d4a2942e4590af9065a7d8 | 9a8796f899592d236628f4d3007337ff5743c32f | refs/heads/master | 2020-06-08T14:31:37.838842 | 2019-06-22T16:17:41 | 2019-06-22T16:17:41 | 193,242,663 | 0 | 0 | null | 2019-06-22T14:24:31 | 2019-06-22T14:24:31 | null | UTF-8 | C++ | false | false | 43,883 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/libgtkui/gtk_ui.h"
#include <dlfcn.h>
#include <gdk/gdk.h>
#include <math.h>
#include <pango/pango.h>
#include <cmath>
#... | [
"heatherfarrar.ima@gmail.com"
] | heatherfarrar.ima@gmail.com |
cfcdaf92ae1a9e6512a390c6755aed5288ccb417 | 2ca36f1406d6e6acad6e4f3663d1a1da4fe1ba25 | /main/chase_value.h | 60b4b1d38c7975b218a78574d9d02e49925e8410 | [] | no_license | je-pu-pu/hand | ce24eacdfaa551a85ff2e2ad7e98b82b62d29541 | bdbc33d5e4912972e0af8ab3cb529be06c9cfb88 | refs/heads/master | 2020-03-11T11:30:12.162397 | 2018-05-06T15:48:30 | 2018-05-06T15:48:30 | 129,971,200 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,123 | h | #ifndef COMMON_CHASE_VALUE_H
#define COMMON_CHASE_VALUE_H
#include "math.h"
namespace common
{
template< typename Type >
class chase_value
{
private:
Type value_;
Type target_value_;
Type speed_;
public:
chase_value( Type value, Type target_value, Type speed )
: value_( value )
, target_v... | [
"je@je-pu-pu.jp"
] | je@je-pu-pu.jp |
769f486f9eaea63e238ccf9611d4d47453dd6995 | 44b2b74338fd359e6535b216319799a1af2ec83c | /communect/searchuser.cpp | 2ecafed1eb302d7b447f980bd778bd8a4fbf6939 | [] | no_license | nozberkaryaindonesia/public | b0cb38f125012d6e931d46266d480729d422705e | 528104029b7f8ebe5734ae6cc4374b5b84d6ef62 | refs/heads/master | 2022-06-05T16:02:33.100468 | 2014-04-07T06:27:34 | 2014-04-07T06:27:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 220 | cpp | /*#include "searchuser.h"
#include "ui_searchuser.h"
searchuser::searchuser(QWidget *parent) :
QDialog(parent),
ui(new Ui::searchuser)
{
ui->setupUi(this);
}
searchuser::~searchuser()
{
delete ui;
}
*/
| [
"festinsalazarsison@gmail.com"
] | festinsalazarsison@gmail.com |
3f0b05fa48c45733ac1251a4a7b2c9c5011829ff | 470f1ea0c29e3c2b3e039dd390ff308e2a3d64b6 | /homework/points2.cpp | 92057a46218063fb5f148fb77bbbc7201dec0e77 | [] | no_license | HOSHICHEN7267/1092CP2 | 655f81efd9281eb522d1c33f4168c855593a3b8c | c8cae852279269949141ba16ac714656ed5c24ac | refs/heads/master | 2023-06-07T18:54:29.435412 | 2021-06-22T06:22:42 | 2021-06-22T06:22:42 | 344,451,013 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 887 | cpp | #include <iostream>
#include <algorithm>
#define SIZE 10000
using namespace std;
int main(){
int num = 0;
int ans = 0;
float slope[SIZE] = {};
int points[SIZE][2] = {};
cin >> num;
for(int i = 0 ; i < num ; ++i){
cin >> points[i][0] >> points[i][1];
}
for(int i = 0 ; i < nu... | [
"antonychen5ds2@gmail.com"
] | antonychen5ds2@gmail.com |
8f56f1db67726fe16f815bb7dcd50cad43c33e15 | db6d5226ad3d8d213e06d59d3998a4ce2e9030bd | /src/addrman.cpp | b27f403849e3d5445adfbe9c30285bc66f89d3b7 | [
"MIT"
] | permissive | Schilling99/SchillingCoin | 9536c00d1bd8eef55482a398f3b5f12429938cb2 | c9d7c4f70341e7ab552131e7e4a018197bc8558a | refs/heads/master | 2022-12-26T14:58:40.917535 | 2020-10-08T12:33:38 | 2020-10-08T12:33:38 | 302,329,522 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 16,094 | cpp | // Copyright (c) 2012 Pieter Wuille
// Copyright (c) 2012-2014 The Bitcoin developers
// Copyright (c) 2017-2019 The PIVX developers
// Copyright (c) 2018-2020 The SchillingCoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-licen... | [
"59433840+Schilling99@users.noreply.github.com"
] | 59433840+Schilling99@users.noreply.github.com |
daa77994fbd83ce04b9661a8432d08975bd70341 | 62d6c28df01ace2ef06c32bd1dc3da4c2c0a210f | /Simple_tic_tac_toe/main.cpp | 1b26c6dcc3d9a3c32f8c85bb197317d51f0ff67c | [] | no_license | ostell/console_games | c83bb7c9ec7425888592325e668a60facf1b5b30 | ce9a68b04084d9bdd484bd32cecb14b3e103023a | refs/heads/master | 2020-03-08T09:42:59.142410 | 2018-04-10T20:43:12 | 2018-04-10T20:43:12 | 128,053,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,078 | cpp | /*
TIC-TAC-TOE
-----------
| o | x | o |
-----------
| o | x | o |
-----------
| x | o | o |
-----------
*/
#include <iostream>
#include <string>
#include <windows.h>
#include "TTToe.h"
int main(){
int coordX = 0, coordY = 0;
char temp;
TToe toe;
WinFuncs win;
//Game setup
std::cout << "WELCOME TO TIC-TAC-TOE!... | [
"noreply@github.com"
] | ostell.noreply@github.com |
3e3f20f3a22598e0dd694d6fdc5fa0408a2c0552 | f2ae99a0fa0e73188f68e0b6d9d6e0c30a24367d | /기초알고리즘/2283_boj(동전1).cpp | 05d59ec23688faf139e06a20bf8e15687ebe9c91 | [] | no_license | kiseop91/Algorithm | 69181d57acfe7a3e7e4696eb215c693b53ef5bec | 4a62e85cce7db04c17c936bae2e885e8c237bc66 | refs/heads/master | 2020-04-10T03:13:17.389509 | 2019-07-18T08:36:21 | 2019-07-18T08:36:21 | 160,764,342 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 350 | cpp | #include <cstdio>
int main() {
int n, k;
int coins[101];
int d[10001] = { 0 };
scanf("%d %d", &n, &k);
for (int i = 1; i <= n; i++) {
scanf("%d", &coins[i]);
}
d[0] = 1;
for (int i = 1; i <= n; i++) {
for (int j = 1; j <= k; j++) {
if (j >= coins[i]) {
d[j] += d[j - coins[i]];
}
}
}
print... | [
"kiseop91@naver.com"
] | kiseop91@naver.com |
455514f11af827e6fc36ff4b1e28c6611fd9521c | a3b3b096fc709a4519a8fc143ad864f936e72d06 | /examples/sqlite3_webquery/sqlite3_webquery.ino | 7180e291061be26964724400f4227da4214601e3 | [
"Apache-2.0"
] | permissive | minimum-necessary-change/esp_arduino_sqlite3_lib | baaf9712d6a6904abb61abf08c692f50d614226d | 2b94d624fdc43fe49e868a2d0932c88d914b9553 | refs/heads/master | 2020-04-25T10:37:35.241016 | 2019-06-24T08:11:08 | 2019-06-24T08:11:08 | 172,715,844 | 0 | 0 | Apache-2.0 | 2019-06-24T08:11:10 | 2019-02-26T13:22:43 | C | UTF-8 | C++ | false | false | 8,523 | ino | /*
This example shows how to retrieve data from Sqlite3 databases from SD Card
through the Web Server and display in the form of HTML page.
It also demonstrates query filtering by parameter passing and chunked encoding.
Before running please copy following files to SD Card:
examples/sqlite3_small_d... | [
"arun@siara.cc"
] | arun@siara.cc |
a49d62dc597ce3adc898ffcdd354b5273b356e84 | b77b470762df293be67877b484bb53b9d87b346a | /game/editor/EditModeSceneImpl.h | 27efa2967507ce9874804a364d0d14bfd3cdb297 | [
"BSD-3-Clause"
] | permissive | Sheph/af3d | 9b8b8ea41f4e439623116d70d14ce5f1ee1fae25 | 4697fbc5f9a5cfb5d54b06738de9dc44b9f7755f | refs/heads/master | 2023-08-28T16:41:43.989585 | 2021-09-11T19:09:45 | 2021-09-11T19:09:45 | 238,231,399 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,086 | h | /*
* Copyright (c) 2020, Stanislav Vorobiov
* 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 ... | [
"sheffmail@mail.ru"
] | sheffmail@mail.ru |
96d2a3d2f6c921b8d477df7390e7338e9a5deda9 | 106023d31ce8cd8db977b8f624a2c3fa1a2e0b25 | /src/rpc/mining.cpp | ff1d9afb999f63020345909a45f9a1c082e06b1b | [
"MIT"
] | permissive | aissty/rockcoin | 06345dc0d8b9056740692601300261a605345e71 | 75e15231d3b8cbf7532741f26f6f0e5a13c223e7 | refs/heads/master | 2021-01-25T09:53:59.781189 | 2018-03-04T19:25:28 | 2018-03-04T19:25:28 | 123,329,520 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42,932 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "base58.h"
#include "amount.h"
#include "chain.h"
#include "chainparams.h"
#i... | [
"aissty@qq.com"
] | aissty@qq.com |
d68d5dc0b28f35dd3d671c078c41659f6288d908 | 3e80a79b455d2c7ab6e5e39d97ec813ff1e8512f | /EditorTextoSln/EditorCPP2015/stdafx.cpp | f592706449921a1cc4ea812ef5a16e620804850e | [
"MIT"
] | permissive | CampioniMan/EditorCPP | 6656691d69888944e316de0423e8c228330c2649 | 41f237a42af8ac5bc89027424c2dd8d8d8536e6f | refs/heads/master | 2021-01-18T18:10:26.158644 | 2016-11-18T20:36:32 | 2016-11-18T20:36:32 | 69,965,394 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 292 | cpp | // stdafx.cpp : source file that includes just the standard includes
// EditorCPP2015.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"campioni.daniel@gmail.com"
] | campioni.daniel@gmail.com |
9458a17564ceb99412ab938caf4f18fe654636ef | b367fe5f0c2c50846b002b59472c50453e1629bc | /xbox_leak_may_2020/xbox trunk/xbox/private/xdktools/Producer/StyleDesigner/TabPatternPattern.cpp | e032a8bb3ada599c58ae1105cfff41338c332049 | [] | no_license | sgzwiz/xbox_leak_may_2020 | 11b441502a659c8da8a1aa199f89f6236dd59325 | fd00b4b3b2abb1ea6ef9ac64b755419741a3af00 | refs/heads/master | 2022-12-23T16:14:54.706755 | 2020-09-27T18:24:48 | 2020-09-27T18:24:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,271 | cpp | // TabPatternPattern.cpp : implementation file
//
#include "stdafx.h"
#include "StyleDesignerDLL.h"
#include "Style.h"
#include "Pattern.h"
#include "PatternLengthDlg.h"
#include "TimeSignatureDlg.h"
#include "RhythmDlg.h"
#include "TabPatternPattern.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FI... | [
"benjamin.barratt@icloud.com"
] | benjamin.barratt@icloud.com |
7b742403a29b8b88c41698af9d7532552888f0fd | 880b21dd63bd95f69978ac7fc18be59f691c8935 | /src/wallet/rpcnames.cpp | 67c3839101e31f9417ead0cd79a4ec9ec2b23a4d | [
"MIT"
] | permissive | sovr610/xaya | c88f60bb72138180d2df6c630a52c44ccc37f8a6 | a1ba991b476eaa49397e2d054be3241db3727831 | refs/heads/master | 2022-10-01T17:45:38.814386 | 2020-06-05T11:53:03 | 2020-06-08T13:55:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,394 | cpp | // Copyright (c) 2014-2020 Daniel Kraft
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <base58.h>
#include <coins.h>
#include <consensus/validation.h>
#include <init.h>
#include <interfaces/chain.h>
#include <key_i... | [
"d@domob.eu"
] | d@domob.eu |
b189572e70472c26b01c47daea76cd9caab28501 | 6beb9371bf20461c218a534ea9aabf73727456c0 | /WS06/in-lab/Car.cpp | 826805572ee822c3bfe272d4f466e3698c5ef00a | [] | no_license | minhqto/oopsiestreefourfive | aef9398a45eabfc62b8a8bf8ff8d5c2d21e44ea5 | cb8a5a745dfd50477316337d99522bf54ae07dfe | refs/heads/master | 2022-03-15T01:14:25.639532 | 2020-01-02T04:30:42 | 2020-01-02T04:30:42 | 208,258,444 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,917 | cpp | // Name: Minh To
// Seneca Student ID: 125526186
// Seneca email: qto@myseneca.ca
// Date of completion: 31 Oct 19
//
// I confirm that the content of this file is created by me,
// with the exception of the parts provided to me by my professor.
#include "Car.h"
namespace sdds
{
Car::Car()
{
maker =... | [
"minhqto3@gmail.com"
] | minhqto3@gmail.com |
9af94c742012d2c814f28c61c6fc3989cad7e2ed | c4026d5ff8cdb876ddb9111df22ce0e4ad3058b2 | /codigosC++/testEpp/testEpp/testEpp.cpp | 2a590c14fdd309941ce2aaaf52af096577ad0d7b | [] | no_license | NoelGaspar/WacBoard | c8335c2807c16a1d31216b6be83d69f78b23f088 | 810938cb2543a3f551d024d1c6680947ad6d0f5f | refs/heads/master | 2020-04-13T13:18:38.772225 | 2019-01-03T03:28:56 | 2019-01-03T03:28:56 | 163,226,293 | 0 | 1 | null | null | null | null | ISO-8859-3 | C++ | false | false | 11,339 | cpp | // testEpp.cpp : Defines the entry point for the console application.
#include "stdafx.h"
#include <windows.h>
#include <stdio.h>
#include <iostream>
#include <fstream>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "dpcdecl.h"
#include "depp.h"
#include "dmgr.h"
#include "dpcutil.h"
#include "dpcde... | [
"waaraya@uc.cl"
] | waaraya@uc.cl |
c72ab318a1314d7a1d024e8dc7aaa0ca85bdac53 | 98e40260cddd889669396c8328805268346684e7 | /src/mineField.h | c4e6d9275062ba6eac3db4b5f2756858bc5c04ca | [] | no_license | FightingSu/mine_sweeper | 4e7f891bba9cdbe70deaf559df3a11f1ea3fa623 | cc7a538b8870dbdf1bcba0f2a32c5de038c149ec | refs/heads/main | 2023-04-02T12:22:33.118838 | 2021-04-07T07:36:07 | 2021-04-07T07:36:07 | 308,811,309 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,405 | h | #ifndef _MINE_FIELD_H_
#define _MINE_FIELD_H_
#include "blockWidget.h"
#include <cstdlib>
#include <ctime>
#include <QWidget>
#include <QVector>
#include <QMessageBox>
#include <QMouseEvent>
#include <QDebug>
class mineField :
public QWidget
{
Q_OBJECT
public:
mineField(QWidget* parent = nullptr,
int _width =... | [
"ww951127.ok@hotmail.com"
] | ww951127.ok@hotmail.com |
909913756b968f2ee38ca4cc7c276341484f1427 | 768bda36062ffa1a5c6357b28cb8367f9b2be1ed | /AbleClass/AsyncLoaderHelper.cpp | 5e29c2ba9f5a99a7e11362fbe11aa99ba91bffd2 | [] | no_license | djia99/creadIWB | 446f9c77c5e97c3774a8fd3efdf9a66e82a64f1c | 6fd0b41f42b29df61dac7952249db8715de076b1 | refs/heads/master | 2020-04-16T22:52:46.243102 | 2019-01-16T07:07:53 | 2019-01-16T07:07:53 | 165,988,118 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,459 | cpp | //===================================================================================
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// THIS CODE AND INFORMATION IS PROVIDED 'AS IS' WITHOUT WA... | [
"noreply@github.com"
] | djia99.noreply@github.com |
ffaa53a6d966d9872692c9fc4b814cc96d412bb0 | 0b34dc130e8296d3d61eedf37452be5de41af1c2 | /OpenGl/OpenGL超级宝典完整源码(第五版)/OpenGL超级宝典完整源码(第五版)/Src/Chapter07/TextureArrays/TextureArrays.cpp | 6175095d59282c7ccfb534788f26f04a7c793668 | [] | no_license | BIbiLion/LS_Wqiakun2017Test | 67a77c07a33ea4d5f308492580a403774de99b30 | 2955f20d8ac63acd8ace2a553f2e062e9ac26e92 | refs/heads/master | 2021-01-20T14:19:28.468757 | 2017-09-15T08:04:55 | 2017-09-15T08:04:55 | 90,591,454 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 9,071 | cpp | // TextureArrays.cpp
// OpenGL SuperBible
// Demonstrates Passing a TextureArray to a shader
// Program by Richard S. Wright Jr.
#include <GLTools.h> // OpenGL toolkit
#include <GLFrustum.h>
#include <Stopwatch.h>
#ifdef __APPLE__
#include <glut/glut.h>
#else
#define FREEGLUT_STATIC
#include <GL/glut.h>
#endif
GLShad... | [
"wqiankun89@163.com"
] | wqiankun89@163.com |
47c52f62c32dabd6b2804693f66fdfdd707b6fc7 | c6881dbb2cb0aea8ac39c809aa5d339c9e15ac09 | /Blockchain/nameclaim.cpp | 37a2ae949f27d126a29dd3d7b55cc86da074e52c | [] | no_license | HungMingWu/blockchain-demo | d62afbe6caf41f07b7896f312fd9a2a7e27280c7 | ebe6e079606fe2fe7bf03783d66300df7a94d5be | refs/heads/master | 2020-03-21T22:33:38.664567 | 2018-10-01T10:12:40 | 2018-10-01T10:12:40 | 139,134,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,046 | cpp | #include "nameclaim.h"
#include "hash.h"
#include "util.h"
#include "Log.h"
#include <string>
using namespace std;
std::vector<unsigned char> uint32_t_to_vch(uint32_t n)
{
std::vector<unsigned char> vchN;
vchN.resize(4);
vchN[0] = n >> 24;
vchN[1] = n >> 16;
vchN[2] = n >> 8;
vchN[3] = n;
... | [
"u9089000@gmail.com"
] | u9089000@gmail.com |
5b0b66aed7ff6b3f5191221a850fbc4d11ee6035 | 5474747cb6ec8f0fe72b4d6320ff51e04e35946e | /training/Source.cpp | be3ef3091d6f42d6cbb8bbc798b94071b279d9f6 | [] | no_license | SergeyShopik/Cpp_Warehouse_Managament | 50dd84bfe1621f7e5001304afa50a3517693c0a3 | bf9d15c55e00854df9283b2a57aca3c2676dcc11 | refs/heads/master | 2023-01-27T22:56:58.547499 | 2020-12-11T19:36:42 | 2020-12-11T19:36:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,938 | cpp | #include<iostream>
#include<cctype>
#include<cstring>
#include<cstdlib>
const int SIZE = 100;
//warehouse managament
struct inv_type
{
char item[40];
double cost, retail;
int on_hand, lead_time;
} invtry[SIZE];
void init_list();
int menu();
void input(int);
void enter();
void update();
void display();
void find();
v... | [
"sergey.shopik101@gmail.com"
] | sergey.shopik101@gmail.com |
f64df2b94f4b1b2a86840084189f9565e180cabf | c81133690291377794e35afc4dcf2763a4b2a12d | /src/proxy_lib.cpp | ce9cdf8f24376dfec86d1575f544a692d7a4f822 | [] | no_license | T-Maxxx/iw3linker_vs | 3666c4646b4ca4e0c8065c1a902350eab4ae97ce | 4fa22fa00bcd4601bf5641199cc336571879a7ef | refs/heads/master | 2021-01-24T04:43:45.438553 | 2020-06-12T13:24:36 | 2020-06-12T13:26:43 | 122,948,449 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,304 | cpp | #include "proxy_lib.hpp"
#include <cstdio>
template<class FP>
FP GetLibFunction(HMODULE hLib_, const char* FunctionName_)
{
return reinterpret_cast<FP>(GetProcAddress(hLib_, FunctionName_));
}
CProxyLib::CProxyLib()
{
char path[MAX_PATH] = { '\0' };
char sysPath[MAX_PATH - 13] = { '\0' };
GetSystem... | [
"tmax.tver.95@gmail.com"
] | tmax.tver.95@gmail.com |
f2e0a2924468f1e593445878edd0e3318c7fb77e | 5752ccaf99fc23ad5d22e8aa2e7d38b0e06c1ad4 | /test/timer.hpp | 23331a6cbd8b5b6fc5c351f2ca9cb8327a384871 | [] | no_license | EoghanMcGinty/xcelerit_test | 1c43db44db5773f8e7acee625b72a8fe1fbc4316 | 98ec76850c615e523497fd45a12436670f89d0cc | refs/heads/master | 2020-08-09T02:15:46.373115 | 2019-10-09T17:07:13 | 2019-10-09T17:07:13 | 213,975,512 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 622 | hpp | #include <iostream>
#include <chrono>
class Timer
{
public:
Timer() {
startTime = std::chrono::high_resolution_clock::now();
}
long int stop() {
auto endTime = std::chrono::high_resolution_clock::now();
auto start = std::chrono::time_point_cast<std::chrono::microseconds>(startTime... | [
"eoghanm19@gmail.com"
] | eoghanm19@gmail.com |
c66afabc1ff3c9d43a80f7f7ed592e835939795e | b3679befe0405fbb04b3b8e331055e1d04704819 | /src/cl_sphere.cpp | f09b8ecdadef40277f3980997ffa4947346dbca9 | [
"MIT"
] | permissive | gmmoreira/ruby-ffi-opencl | f3d5c1ffe249d437439ab3195bcff48805873d24 | 48363889d01428a1d9df78690db7b437974a545c | refs/heads/master | 2021-01-11T08:24:45.982661 | 2016-11-03T01:28:57 | 2016-11-03T01:28:57 | 72,287,687 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,028 | cpp | #include "cl_sphere.h"
#include "cl_platform.hpp"
#include "cl_device.hpp"
#include <cstring>
using std::string;
using std::vector;
using std::strcpy;
const char * string_to_char(string data) {
auto c_data = (char *) malloc(sizeof(char) * (data.size() + 1));
strcpy(c_data, data.c_str());
return c_data;
}
cl_... | [
"guilhermerx7@gmail.com"
] | guilhermerx7@gmail.com |
8177a20561454d860f25fe4dce77c068f6bd7237 | 2d36ac7285664ce798edb27bafa00e0dbc0f25fb | /LSL/liblsl/external/lslboost/date_time/gregorian/greg_month.hpp | e9d3aa485fa1de590c08a9c2d97cf9384e4dc7b5 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | nagarjunvinukonda/Brain-Computer-Interface-for-Bionic-Arm | af1a6241df167e747a7d9426e497f95dda632fda | 839cb0dc798d2bf274d3df7c4db0fef62af3770d | refs/heads/master | 2023-02-13T12:02:36.692225 | 2021-01-14T08:32:35 | 2021-01-14T08:32:35 | 297,540,583 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,508 | hpp | #ifndef GREG_MONTH_HPP___
#define GREG_MONTH_HPP___
/* Copyright (c) 2002,2003 CrystalClear Software, Inc.
* Use, modification and distribution is subject to the
* Boost Software License, Version 1.0. (See accompanying
* file LICENSE_1_0.txt or http://www.lslboost.org/LICENSE_1_0.txt)
* Author: Jeff Garland, Bart... | [
"vinukondanagarjun4@gmail.com"
] | vinukondanagarjun4@gmail.com |
599f75157c869fe3b57f71026b184769113dbb23 | cc21344f152ec8f2f9b27fc666af32d6aefbb24c | /binary-string.cpp | 659168db5018c1ee75548c75f80eee337f333433 | [] | no_license | narwal1996/GeeksforGeeks | 447aa4d8a940fc28002917aac840ee1d0dc9413b | 0226c5ac6ac58d00cf2a56c28e649f73641472d9 | refs/heads/master | 2020-04-12T05:41:00.558652 | 2016-11-15T14:16:13 | 2016-11-15T14:16:13 | 65,081,905 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 341 | cpp | #include<bits/stdc++.h>
using namespace std;
int main() {
int t;
cin >> t;
while(t--) {
int n;
cin >> n;
string s;
cin >> s;
long long int nones = 0;
for(int i=0; i<n; i++) if(s[i]=='1') nones++;
if(n<2 || nones<2) cout << 0 << endl;
else cout << (nones*(nones-1))/2 << e... | [
"noreply@github.com"
] | narwal1996.noreply@github.com |
ff966d913d5427f17ec9fd7e32dd7d537cdf1ff7 | 6e57bdc0a6cd18f9f546559875256c4570256c45 | /external/pdfium/core/fpdfapi/render/cpdf_imagecacheentry.h | 2bede23e628d28b72affbe8c617dbaaf2c083a51 | [
"BSD-3-Clause"
] | permissive | dongdong331/test | 969d6e945f7f21a5819cd1d5f536d12c552e825c | 2ba7bcea4f9d9715cbb1c4e69271f7b185a0786e | refs/heads/master | 2023-03-07T06:56:55.210503 | 2020-12-07T04:15:33 | 2020-12-07T04:15:33 | 134,398,935 | 2 | 1 | null | 2022-11-21T07:53:41 | 2018-05-22T10:26:42 | null | UTF-8 | C++ | false | false | 1,984 | h | // Copyright 2016 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#ifndef CORE_FPDFAPI_RENDER_CPDF_IMAGECACHEENTRY_H_
#define CORE_FPDFAPI_RENDE... | [
"dongdong331@163.com"
] | dongdong331@163.com |
b06e60cd44f26f9a6f7f3f53d7e0ff07cac00255 | 07d308c27b77bf452a3df302b8da3906ec6ef23d | /include/dali/core/mm/pool_resource.h | 276afa5fd3f38e48d07b1abd36ea3bdfc66cc89e | [
"Apache-2.0"
] | permissive | Lovegood-1/DALI | aa678a57030a083308f1d72fe1296a4eb9f5e812 | 0c62fc3b6d56003f326457d5387c803518094a37 | refs/heads/master | 2023-04-03T06:37:09.113994 | 2021-03-30T14:44:24 | 2021-03-30T14:44:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,055 | h | // Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required ... | [
"noreply@github.com"
] | Lovegood-1.noreply@github.com |
3ebeedf97df49842ffcfcfedb7331250015f06c8 | 07a72a30913757756484c60402007ad39154b2f4 | /Spider/Worker.cpp | 8d00a3dde2098813a7445d44b10b6d05d789e695 | [] | no_license | SammyEnigma/ImageSpider | d767275feea58f5d0a8b40f7cbb49ec70d02f341 | 6bf4e9d8085ec080d9f9bc06fb083a23153bb827 | refs/heads/master | 2021-07-20T03:26:27.602635 | 2016-02-20T03:43:56 | 2016-02-20T03:43:56 | 223,331,944 | 0 | 0 | null | 2020-08-01T12:57:47 | 2019-11-22T05:43:19 | null | UTF-8 | C++ | false | false | 1,681 | cpp | #include "Worker.h"
Worker::Worker(QObject *parent) : QObject(parent)
{
//http://sexy.faceks.com/
//http://www.2xiezhen.com/meinvxiezhen/
startUrl = QUrl("http://sexy.faceks.com/");
// startUrl = QUrl("http://www.2xiezhen.com/meinvxiezhen/");
QString referer = "http://" + startUrl.host();
DataQu... | [
"yuri.young@newdebug.com"
] | yuri.young@newdebug.com |
ec27883f3a712e4cc23567b6e8b2d992fd684b8f | becc5bffc7a29491a09780c57e89f5ab8d688299 | /Code/src/simcube/simcube_projection-galactic/fits_simimg.cpp | b7e4539fc627ed9602457940fff8480abc09e5dc | [
"Apache-2.0"
] | permissive | VisIVOLab/ViaLacteaVisualAnalytics | 6186d282f553e63984bac9f6086ca326d3ac8503 | fbd5da6dc28c1f32632a7622193c03a98263903b | refs/heads/master | 2023-08-21T19:46:05.667116 | 2023-06-01T14:30:43 | 2023-06-01T14:30:43 | 269,041,293 | 1 | 0 | Apache-2.0 | 2023-09-11T08:39:46 | 2020-06-03T09:09:00 | C++ | UTF-8 | C++ | false | false | 3,503 | cpp | #include "fits_simimg.hpp"
#include <fitsio.h>
#include <cassert>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <string>
using namespace std;
string get_errstatus(int status)
{
char err_text[32]; // CFITSIO doc: max 30 char error text
fits_get_errstatus(status, err_text);
... | [
"giuseppe.tudisco@inaf.it"
] | giuseppe.tudisco@inaf.it |
e6038e7dcca49ac7daaa4389f6ba0be8e791b711 | f7ff42ef0bb9b9b1223bd7851e31070044a977b2 | /temp/find_address.cpp | 426f38b9902ce64ff7cfcbee084a9ece6a40c1c0 | [] | no_license | yvesmartindestaillades/RRL_pouch_motors_control | 42250c9672c6cf0a678e2535897f58b453a9fa95 | 42b32829e8dc36356c31acb6a1a79056a3cf7bba | refs/heads/master | 2023-04-02T17:31:28.724360 | 2021-04-17T18:09:58 | 2021-04-17T18:09:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,254 | cpp | /**************************************************************************/
/*!
@file read_simple_angle.ino
@author SOSAndroid (E. Ha.)
@license BSD (see license.txt)
read a simple angle from AS5048B over I2C bus
@section HISTORY
v1.0 - First release
*/
/********************************... | [
"yves.mrtn98@gmail.com"
] | yves.mrtn98@gmail.com |
f7a68585d3ca11e6ff92fe2ea4c38c8c7e0e395d | 02099155d15b3d65330abc7276b13c8deff68e94 | /B/B. Petya and Countryside/main.cpp | e2e84479e9c7db2144ca35e695e0c611be158735 | [] | no_license | xUser5000/competitive-programming | d7c760fa6db58956e472dd80e24def0358bbb5a8 | 90337c982dd3663a69f2d19021e692f1edb1b3a5 | refs/heads/master | 2023-06-26T21:56:02.452867 | 2021-07-23T22:39:49 | 2021-07-23T22:39:49 | 288,557,139 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 522 | cpp | #include <iostream>
using namespace std;
int main()
{
int n; cin >> n;
int arr[n];
for (int i = 0; i < n; i++) cin >> arr[i];
int ans = 1;
for (int i = 0; i < n; i++) {
int d = 1;
for (int j = i + 1; j < n; j++) {
if (arr[j] <= arr[j - 1]) d++;
else break... | [
"abdallahar1974@gmail.com"
] | abdallahar1974@gmail.com |
37d9f26142043f7e9671c4145c998b08f8aac179 | 8687a237b885bb7a116410491e48c35d444745b5 | /c++/primer_plus_s_pratt/ch_12/pe_2/include/string2.h | befd489d13e2ea2f9251f323c4a68d73227cb3c6 | [
"MIT"
] | permissive | dinimar/Projects | 150b3d95247c738ca9a5ce6b2ec1ed9cee30b415 | 7606c23c4e55d6f0c03692b4a1d2bb5b42f10992 | refs/heads/master | 2021-06-11T20:34:29.081266 | 2021-05-15T19:22:36 | 2021-05-15T19:22:36 | 183,491,754 | 0 | 0 | MIT | 2019-04-25T18:47:39 | 2019-04-25T18:47:39 | null | UTF-8 | C++ | false | false | 1,404 | h | //
// Created by Dinir Imameev on 11/21/19.
// Github: @dinimar
//
#ifndef STRING2_H_
#define STRING2_H_
#include <iostream>
using std::ostream;
using std::istream;
class String
{
private:
char * str;
// pointer to string
int len;
// length of string
static int num_strings; // number of objects
stat... | [
"dinir.imameev@gmail.com"
] | dinir.imameev@gmail.com |
4026209bb982fc198cd3f1eda31ea3f3fb757153 | 5ae308aaa7bb2e60b1ddff28fcaf39567da1b6ae | /LCP/lcp_074_search_a_2D_matrix.cpp | 7c4af2d1f617bfa0f15ed800596c4be892f02961 | [] | no_license | jiahonglin/LCP | 55cde187f98b8a013544f95aea6087df92516fc3 | 1805972511193dd91103ced834bdd35302481e98 | refs/heads/master | 2023-08-17T06:59:00.287333 | 2023-08-16T15:34:14 | 2023-08-16T15:34:14 | 189,690,649 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,468 | cpp | class Solution {
public:
bool searchMatrix(vector<vector<int>>& matrix, int target) {
int m = matrix.size();
int n = matrix[0].size();
bool bFind = false;
if(m == 1){
for(int j=0;j<n;j++){
if(matrix[0][j] == target){
bFind=true;
... | [
"jiahonglin17@gmail.com"
] | jiahonglin17@gmail.com |
9f86d9166140fef0455357fd0d9e6b87fa56e3fa | 6c57b1f26dabd8bb24a41471ced5e0d1ac30735b | /BB/include/BB/Serial/SerialMessage.h | 3bcaedf8cff29c8c0a4520c42fcbfebaaeaa4140 | [] | no_license | hadzim/bb | 555bb50465fbd604c56c755cdee2cce796118322 | a6f43a9780753242e5e9f2af804c5233af4a920e | refs/heads/master | 2021-01-21T04:54:53.835407 | 2016-06-06T06:31:55 | 2016-06-06T06:31:55 | 17,916,029 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,219 | h | /*
* SerialMessage.h
*
* Created on: 18.5.2014
* Author: JV
*/
#ifndef SERIALMESSAGE_H_
#define SERIALMESSAGE_H_
#include <vector>
#include <string>
#include "BB/Sensor/SensorData.h"
namespace BB {
/*
* byte sequence
* 0 - start byte
* 1 - NodeID
* 2 - NodeStatus
* 3 - NodeType
* 4 - Message... | [
"jan.vana@tbs-biometrics.com"
] | jan.vana@tbs-biometrics.com |
d16d901662b1158fd7289b98503415a1efa58400 | 59819ec8eb426ec0cdf4d187c41961b9a35cfe09 | /questions_on_functions/dec_to_binary.cpp | 6c2c866ef10d08dee7ffd66701d848eba5913f1a | [] | no_license | deep1358/CPP-Programs | 46d0a84e2d1790983641303921fec82733cffbd5 | f5eb80f0fca195ef40300ea5c13adb896d6ee978 | refs/heads/master | 2023-08-18T11:08:17.678754 | 2021-08-26T12:26:26 | 2021-08-26T12:26:26 | 373,787,578 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 279 | cpp | #include <bits/stdc++.h>
using namespace std;
void dec_to_bin(int n)
{
int ans = 0;
int c = 0;
while (n > 0)
{
int temp = n % 2;
ans += pow(10, c) * temp;
c++;
n /= 2;
}
cout << ans;
}
int main()
{
int n;
cin >> n;
dec_to_bin(n);
return 0;
} | [
"deepshah1358@gmail.com"
] | deepshah1358@gmail.com |
f8c0f50ebc607cae607e6f1a3040fd48d3d59752 | 374444870cff54414655655ebfb994717e2907b2 | /SemGapI/Week5/1SumOfDigits.cpp | fd030c1a51f3a0582bce931a14092395d7a69fad | [
"BSD-3-Clause"
] | permissive | AnkitApurv/MCA | 7d7d35a0c45bfa1337de4f3e55f5bf810fb62c06 | e6240fc326a282369e0ca173da28944cf516fbbe | refs/heads/master | 2023-03-22T05:56:09.187082 | 2020-03-23T18:35:32 | 2020-03-23T18:35:32 | 166,032,236 | 1 | 0 | BSD-3-Clause | 2021-03-20T03:19:42 | 2019-01-16T11:54:18 | ASP | UTF-8 | C++ | false | false | 807 | cpp | /* @name 1SumOfDigits.cpp
@desc to find the sum of the digits of a number using recursion.
@author Ankit Apurv 180970042
@date 04/01/2019
*/
#include <iostream>
using namespace std;
/* @desc computes sum of digits recursively
@args
num : integer, number whose digits are to be added
sum : integer, variable ... | [
"k.ankit.capricon@gmail.com"
] | k.ankit.capricon@gmail.com |
6f024c9ba4a90cc8ccdbaa344501abb857db7eeb | 5626349a40a2a0a73cee8d88264ad791fc25791a | /src/aft/aftma/aftma_blockallocator.h | fcbca3b00c68a51f56cce34f7fde6314ca7075ce | [] | no_license | lyell/aegis | ae8600c2b334ad1db3c4005a74a43b4099966701 | 61952676c1d6eb0823e5ff8a7097cc29bb6308f7 | refs/heads/master | 2020-12-24T08:55:11.755560 | 2018-01-06T13:09:01 | 2018-01-06T13:09:01 | 26,701,231 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 650 | h | #ifndef INCLUDED_AEGIS_AFTMA_BLOCKALLOCATOR_H
#define INCLUDED_AEGIS_AFTMA_BLOCKALLOCATOR_H
#include <aftma_allocator.h>
#include <map>
namespace aftma {
class BlockAllocator
: public aftma::Allocator
{
public:
BlockAllocator();
virtual ~BlockAllocator();
virtual void* allocate(size_t size)... | [
"lyell@sophicstudios.com"
] | lyell@sophicstudios.com |
16fd3dca7b1347f279d052bbd52cc9c5165c1c83 | 3a25498190f3d30b67220df5ae52988802d70070 | /engine/core/RMObject.hpp | 14c4982c006fdf840817253967534025d0b0cb2a | [
"MIT"
] | permissive | vitali-kurlovich/RMPropeller | c80108ddeab9e8df74da87a33fbafc65490b266c | 6b914957000dc5bd35319828b7e2608ceb2c92ca | refs/heads/master | 2020-04-03T22:43:01.203168 | 2017-03-13T22:20:52 | 2017-03-13T22:20:52 | 56,176,234 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,188 | hpp | //
// Created by Vitali Kurlovich on 8/24/16.
//
#ifndef RMPROPELLER_RMOBJECT_HPP
#define RMPROPELLER_RMOBJECT_HPP
#include "../common/RMType.hpp"
namespace rmengine {
class RMObject {
private:
int32 _refCount{1};
//uint32 _uid{0};
public:
inline
friend void rmRetain(RMO... | [
"vitalikurlovich@gmail.com"
] | vitalikurlovich@gmail.com |
2f9185fb2113e3cb2cc1f8807c3431ba78cdc16b | 79c9ab2cf119c106c3c42353e766750bbcf497fa | /hdu/4734.cpp | 8730185795f41d64d3c5922d5607ea371078d687 | [] | no_license | cen5bin/Algorithm-Problem | 12e17dd300f69fd8121ea3f5be2f1d1a61cb3485 | 00099428c1b4199f3a6dc286c43e91acf94c58b0 | refs/heads/master | 2021-01-17T13:35:00.819979 | 2016-11-30T03:05:49 | 2016-11-30T03:05:49 | 22,202,801 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,063 | cpp | #include <cstdio>
#include <cstring>
int dp[12][5000];
int digit[12];
int A, B;
void init()
{
memset(dp, -1, sizeof(dp));
}
int dfs(int pos, int pre, bool limit)
{
if (pos == -1) return pre >= 0 ? 1 : 0;
if (pre < 0) return 0;
if (!limit && dp[pos][pre] != -1) return dp[pos][pre];
int end = limit ?... | [
"cen5bin@163.com"
] | cen5bin@163.com |
6e2e761ddfaa55fc2965adae2eed28dc41d70279 | 900e651d100f8130d93cf7378feba2df3447f8b9 | /C++Version/Dog.h | a60a563a7f2b49d7ec37da701c889297313d3d98 | [] | no_license | xy008areshsu/Design-Pattern-Project | 85d1abba1994f1cbe5e82358bb071129dabb2dac | 63f24fd38268190fcb8abd2300db4f89aa2b6efa | refs/heads/master | 2020-04-14T22:27:14.217343 | 2015-04-05T04:21:45 | 2015-04-05T04:21:45 | 29,419,467 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 647 | h | #ifndef DOG_H
#define DOG_H
#include "Animal.h"
#include <string>
#include <iostream>
class Dog : public Animal {
public:
Dog(const std::string name, double height, int weight, const std::string& dog_stuff):
Animal{name, height, weight}, _dog_stuff {dog_stuff}
{}
// Dog(const Dog& rhs):
// Animal {rhs.get_nam... | [
"xy008areshsu@gmail"
] | xy008areshsu@gmail |
90e1470327c9dc3ac6a9c63201c27dec02315802 | c62e654417f64705fc54aca4759b54c73ac756f1 | /sources/codeforces/practice/579/A.cpp | f8e19f08aee3b51e3eef87ad1fecdd9d23eebeb7 | [] | no_license | miguelmartin75/cp-problems | 9c56b14e61808650c5ad103ec1024223cfbfc26b | fbafdf7c4e70c18f003e54d4f657980e6e2948e3 | refs/heads/master | 2021-08-17T21:46:31.237678 | 2021-04-03T17:59:08 | 2021-04-03T17:59:08 | 80,083,158 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 238 | cpp | #include <iostream>
using namespace std;
int main()
{
int x;
cin >> x;
int result = 0;
while(x > 0)
{
if(x & 1)
{
++result;
}
x >>= 1;
}
cout << result << endl;
}
| [
"miguel@miguel-martin.com"
] | miguel@miguel-martin.com |
d630af31d6c2b8819e010eb4bb880813c3be631e | 33f0b5041dd2dd40200d03ecbca65131a13cf15b | /mnum_bissection/mnum_bissection/mnum_bissection.cpp | 904067feb4feaba5cf57598582b0d16020b032de | [] | no_license | ricardoleitee/MNUM | a51a34edf2ef88e7b13b626801917b4e03f22fe7 | f55da6abfa53ab424f2ae5322fca886076ee3051 | refs/heads/master | 2021-01-23T07:20:34.020532 | 2014-11-16T19:57:38 | 2014-11-16T19:57:38 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,937 | cpp | #include <iostream>
#include <iomanip>
#include <time.h>
#include <cmath>
using namespace std;
//Problema da pag. 128, falling parachutist problem
//Resolvido via método da bissecção
float fx(float x){
//return 667.38/x * (1-exp(-0.146843*x))-40;
return x*x*x*x + 2*x*x*x - x - 1;
}
float xu(float xl){
do {
floa... | [
"ricardo.leitee12@gmail.com"
] | ricardo.leitee12@gmail.com |
2aa695d0d8af69e8c7c2d4affa8b6e4d756c7cac | 7cd1e7ea85736a930416909e6b9e82a7d5f3c346 | /New Project-20161129/Newfile.cpp | 0f7ad56d9861b11099a859de20e0395bf20689a3 | [] | no_license | vkharlamov/codingground | 6be34cf70633381880f4469d34743022e9babd9f | 3bf0fc2f536e63d4af64818a3d9a9d1e053c8bab | refs/heads/master | 2020-06-16T16:14:46.922486 | 2016-11-29T13:41:37 | 2016-11-29T13:41:37 | 75,085,082 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,507 | cpp | /* 24.12.2008 last modification: 26.06.2013
Copyright (c) 2008-2013 by Siegfried Koepf
This file is distributed under the terms of the GNU General Public License
version 3 as published by the Free Software Foundation.
For information on usage and redistribution and for a disclaimer of all
warranties, see the fil... | [
"vladimir.sevastopol@gmail.com"
] | vladimir.sevastopol@gmail.com |
5610347a6ee2c70fe86c230d65cb8408f66d69eb | fea08e89058a927d341447a28bf716ef05db4038 | /libraries/FastShiftOut/FastShiftOut.h | 5fbc70e5f9250fc00678bd093a6a9ff3e9e7da55 | [
"MIT"
] | permissive | hendog993/Arduino | 774e48deab0fb3e417613a2d3b9953043c68a8e3 | 0ebb451644154fbe63b42c32f933a9ba2a476283 | refs/heads/master | 2022-11-11T02:49:39.998758 | 2022-11-07T14:28:23 | 2022-11-07T14:28:23 | 169,162,653 | 0 | 0 | MIT | 2019-02-04T22:54:56 | 2019-02-04T22:54:56 | null | UTF-8 | C++ | false | false | 1,062 | h | #pragma once
//
// FILE: FastShiftOut.h
// AUTHOR: Rob Tillaart
// VERSION: 0.3.0
// PURPOSE: shiftOut class that implements the Print interface
// DATE: 2013-08-22
// URL: https://github.com/RobTillaart/FastShiftOut
#include "Arduino.h"
#include "Print.h"
#define FASTSHIFTOUT_LIB_VERSION (F("0.3.0... | [
"rob.tillaart@gmail.com"
] | rob.tillaart@gmail.com |
50dc01c100021b654cf3506164a280f801190fbe | 641fa8341d8c436ad24945bcbf8e7d7d1dd7dbb2 | /third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.cpp | a3cc1da8182c721b93b902f67c7778c802ccabcd | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | massnetwork/mass-browser | 7de0dfc541cbac00ffa7308541394bac1e945b76 | 67526da9358734698c067b7775be491423884339 | refs/heads/master | 2022-12-07T09:01:31.027715 | 2017-01-19T14:29:18 | 2017-01-19T14:29:18 | 73,799,690 | 4 | 4 | BSD-3-Clause | 2022-11-26T11:53:23 | 2016-11-15T09:49:29 | null | UTF-8 | C++ | false | false | 11,607 | cpp | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "core/dom/DOMMatrixReadOnly.h"
#include "bindings/core/v8/V8ObjectBuilder.h"
#include "core/dom/DOMMatrix.h"
#include "core/dom/DOMMatrixInit.h"... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
22931e0fc056883f0c7038dff3b528ed09f27abf | de6a5f131933fd8bcc49d02f351ddc0ffcf2c279 | /StealthGameTest/Source/FPSGame/Public/FPSAIGuard.h | d215153d29fb6634ffa941427a9dfd0659aeadce | [] | no_license | GabrieleAncona/StealthGameTest | 79402784e419957b7aa68e696656378453df621e | 0b2bd1ddb4e82eb7b6d6f75f333455b518919b49 | refs/heads/master | 2023-08-28T06:21:02.990406 | 2021-10-21T01:05:02 | 2021-10-21T01:05:02 | 408,923,939 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,837 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Character.h"
#include "FPSAIGuard.generated.h"
class UPawnSensingComponent;
UENUM(BlueprintType)
enum class EAIState : uint8
{
Idle,
Suspicious,
Alerted
};
UCLASS()
cl... | [
"gabry.ancona@gmail.com"
] | gabry.ancona@gmail.com |
34c5cf2f39e610a6e1b4253910b816df0ff3609d | b970b54403e209e4bff058430c9ee9e8f5c0d8ba | /src/test/sighash_tests.cpp | 48ed97368997b71d3c1ca69330d4743c7d161bbb | [
"MIT"
] | permissive | onexnet/onexcore | 4f6324bb8e2e7422a3128282deba1a8bb02e1db8 | 86fbcd6d0e24832b175c7bba3134896843cd8d49 | refs/heads/master | 2021-09-05T01:55:13.385261 | 2018-01-23T16:11:35 | 2018-01-23T16:11:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,353 | cpp | // Copyright (c) 2013-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "consensus/validation.h"
#include "data/sighash.json.h"
#include "hash.h"
#include "main.h" // For CheckTrans... | [
"reactnet@gmail.com"
] | reactnet@gmail.com |
043331e5f5764b54fdd6f194cfab2e7687922686 | 21d6b37c5c55b5f8f712b8455224854bdeafd3b2 | /twib/ResultError.hpp | 9c767a59474d8c8d2c409822549601bdaa94f5af | [] | no_license | npdmfixup/twili | 95418f93c49286750760ab7eccb00cba762eafde | 8a3694116e269422e2534fd9683be7cb4bca155f | refs/heads/master | 2020-03-30T05:20:43.886771 | 2018-09-24T01:05:21 | 2018-09-24T01:05:21 | 150,793,531 | 0 | 0 | null | 2018-09-28T20:54:02 | 2018-09-28T20:54:01 | null | UTF-8 | C++ | false | false | 335 | hpp | #pragma once
#include<stdexcept>
#include<string>
namespace twili {
namespace twib {
class ResultError : public std::runtime_error {
public:
ResultError(uint32_t result);
virtual const char *what() const noexcept override;
const uint32_t code;
private:
std::string description;
};
} // namespace twib
} // n... | [
"xenotoad@xenotoad.net"
] | xenotoad@xenotoad.net |
276d4cd38bcf9be231037cfdacf49b7e620eb531 | e7a3f7458a31f28c578207fafd5f26b014809458 | /src/detail/camera/gstcameraimpl.cpp | 26f73bba9be1366d6159fc7309ff623b378d086b | [
"Apache-2.0"
] | permissive | joshua-henderson/egt | 50ca128625935b3c99be5d32c6d0a32f9f1f60ac | 1b7fbdc4f440fd31ea31c5e65ead7ab66f54a40d | refs/heads/master | 2020-08-27T14:24:17.237133 | 2020-05-27T01:13:10 | 2020-05-27T01:13:37 | 217,404,295 | 0 | 0 | Apache-2.0 | 2019-10-24T22:13:47 | 2019-10-24T22:13:46 | null | UTF-8 | C++ | false | false | 17,873 | cpp | /*
* Copyright (C) 2018 Microchip Technology Inc. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "detail/camera/gstcameraimpl.h"
#include "detail/video/gstmeta.h"
#include "egt/app.h"
#ifdef HAVE_LIBPLANES
#include "egt/detail/screen/kmsove... | [
"joshua.henderson@microchip.com"
] | joshua.henderson@microchip.com |
e00f401b29f6ff458390090a86d9b53f192c9088 | 3762e1e9dcc74653eefc35010768a32fd2ab00d5 | /execs/partition_pointcloud_levels/src/process/export_data.h | 7347a642de08f69a9f9985ab5b92ebd3aed1cb96 | [] | no_license | HollisJoe/geometry-1 | 6d5d8ba69b006b2d0bb5b9128b94fdcbd4af3b82 | 1e1f3c3b0aec35e80313d9d1124a77f1e439f53e | refs/heads/master | 2021-06-14T16:38:37.744499 | 2017-02-02T14:20:26 | 2017-02-02T14:20:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,749 | h | #ifndef EXPORT_DATA_H
#define EXPORT_DATA_H
/* export_data.h:
*
* This file contains functions
* used to export the level partitioning
* data, including partitioning the point
* cloud and exporting the level values
*/
#include <vector>
#include "../io/config.h"
#include "../structs/point.h"
#include "../structs... | [
"elturner@eecs.berkeley.edu"
] | elturner@eecs.berkeley.edu |
6d029f53d82e2a52ace2d7572d636300e13cd885 | 641fa8341d8c436ad24945bcbf8e7d7d1dd7dbb2 | /chrome/browser/chromeos/customization/customization_wallpaper_downloader_browsertest.cc | 63becc1c65a0737c6394bf5fddea20790d12db9c | [
"BSD-3-Clause"
] | permissive | massnetwork/mass-browser | 7de0dfc541cbac00ffa7308541394bac1e945b76 | 67526da9358734698c067b7775be491423884339 | refs/heads/master | 2022-12-07T09:01:31.027715 | 2017-01-19T14:29:18 | 2017-01-19T14:29:18 | 73,799,690 | 4 | 4 | BSD-3-Clause | 2022-11-26T11:53:23 | 2016-11-15T09:49:29 | null | UTF-8 | C++ | false | false | 11,596 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <stddef.h>
#include <vector>
#include "ash/common/wallpaper/wallpaper_controller.h"
#include "ash/common/wm_shell.h"
#include "base/command_lin... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
f43c14f22fe2e1c8ddb79aeedc375204914c5ada | c489a7536d9ab501a817173731ce3c23ec055274 | /28-Lec21/EditDistance.cpp | 6fffc0913a9c6ad65ec076abef30677add66552a | [] | no_license | netbits/MIT-6.006-Introduction-to-Algorithms | ac5e721dec31b67b709a370b5adc4515de160647 | d24026c426d2c5cbb00103ad1139ec65ee136134 | refs/heads/main | 2023-07-13T13:55:34.071992 | 2021-08-14T14:09:05 | 2021-08-14T14:09:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,207 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <list>
#include <algorithm>
using namespace std;
// using recursion
class Solution_Recursion {
public:
int minDistance(string word1, string word2) {
return minDistance(word1,word2,0,0);
}
int minDistance(string word1, string word2,int... | [
"valentinmu@outlook.com"
] | valentinmu@outlook.com |
c3c8ccf28d77065447e2d3587095ebeaec8e7032 | 94db0bd95a58fabfd47517ed7d7d819a542693cd | /client/ClientRes/IOSAPI/Classes/Native/mscorlib_System_Collections_Generic_Dictionary_2_T1638887798.h | 7babf58bdbc0ef9de48a0b885c44c0d203fbefe7 | [] | no_license | Avatarchik/card | 9fc6efa058085bd25f2b8831267816aa12b24350 | d18dbc9c7da5cf32c963458ac13731ecfbf252fa | refs/heads/master | 2020-06-07T07:01:00.444233 | 2017-12-11T10:52:17 | 2017-12-11T10:52:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,019 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// Spine.BoundingBoxAttachment
struct BoundingBoxAttachment_t1898929740;
// UnityEngine.PolygonCollider2D
struct PolygonCollider2D_t3220183178;
// System.IAsyncResult
struct IAsyncRes... | [
"1"
] | 1 |
97f75e5fad3eaeed8a7d2c32466a09eddaf625e1 | 3059e62977233086c566b668cd9821986eb44dad | /3dmath/math3d.cpp | 96ef8b09d8c2a3ebd13a6efaa33d33af606a44e4 | [] | no_license | xandrock/xandrock-common-library | f3c015d181d210617ebfca0175cf417bc9f4bec2 | 192e5e2e13a903748fa6ac699a588751efaff5e3 | refs/heads/master | 2021-01-01T16:12:32.175249 | 2015-01-21T03:33:38 | 2015-01-21T03:33:38 | 32,298,042 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 36,966 | cpp | // Math3d.c
// Implementation of non-inlined functions in the Math3D Library
// Richard S. Wright Jr.
// These are pretty portable
#include <math.h>
#include "math3d.h"
float ReciprocalSqrt( float x )
{
long i;
float y, r;
y = x * 0.5f;
i = *(long *)( &x );
i = 0x5f3759df - ( i >> 1 );
r = *(floa... | [
"drindking@gmail.com@0f1f08ab-4ab0-9d7d-a974-823501e1538f"
] | drindking@gmail.com@0f1f08ab-4ab0-9d7d-a974-823501e1538f |
2f7e24c165d1e8a72feaefcd23ae68fb88189787 | 389f92dc3a47bed51466cb1106b8e12852b9f79c | / isoftstone/src/hmi/edcc/resource.h | c0bb3aae284258e90c1931f04a518933af4c2b9d | [] | no_license | radtek/isoftstone | 4dc99ea83c26c802e1eded1ce23aa7ebdce29a86 | e1abede2913885a6374dfe9d1ab54aa85ed8e61f | refs/heads/master | 2021-01-06T20:46:17.654521 | 2013-08-24T01:49:57 | 2013-08-24T01:49:57 | 41,403,225 | 3 | 4 | null | null | null | null | GB18030 | C++ | false | false | 1,555 | h |
#ifndef RESOURCE_H
#define RESOURCE_H
#include <string>
#include <vector>
#include <map>
#include <QVector>
#include <QVariant>
#include <QMutex>
#include <QMutexLocker>
/* 用于保存内存数据
对于界面数据的显示,有两种策略:
其一:接收线程根据规约处理完报文数据后直接Post给主界面,这样可以节省内存操作,但是此操作不易保存历史数据。
其二:接收线程根据规约处理完报文数据后放到内存保存,由主界面定时器主动去获... | [
"liuruigong@gmail.com"
] | liuruigong@gmail.com |
361f1c9dab7700fdc399a4846a72f80fdc9a1f3b | 988f74fd1f5e04811c19137a239e9c2fecdae6be | /segmentation/GridMap.h | 93a32afee56ece50d68ae485dffb2718d4c8d1b8 | [] | no_license | aemarkov/lidar-road-segmentation | fadf9d1c915341bf3ddad07dc1a7593582dd818e | 6643ebe7eb0cd54d84d00c4c8515b561ae031583 | refs/heads/master | 2023-09-01T07:09:58.583045 | 2020-08-03T08:55:43 | 2020-08-03T08:55:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,805 | h | //
// Created by garrus on 13.12.18.
//
#ifndef ROAD_SEGMENTATION_GRIDMAP_H
#define ROAD_SEGMENTATION_GRIDMAP_H
#include <vector>
#include <pcl/common/common_headers.h>
#include <GridCoord.h>
#include <Grid.h>
enum Obstacle
{
UNKNOW = 0,
FREE,
OBSTACLE
};
/**
* \brief 2D Occupancy Grid with some addit... | [
"markovalex95@gmail.com"
] | markovalex95@gmail.com |
0f7800e97a9c6320a7ca1146acb63132880a4650 | b90e5696800d2b8a944cdf9f61fac0bda0019aca | /src/devices/atmega32/aspects/debug.cpp | 3c72c1c72a7cac7ade4936b8d29642501c08eb3b | [] | no_license | goc9000/megas2 | 7031024fc8c190c09f787f3e1679b80025f59453 | 2cdc4ed193732322f1d79aa7c742c07a7e3057c5 | refs/heads/master | 2021-12-25T13:55:34.947943 | 2013-05-21T00:11:15 | 2013-05-21T00:11:15 | 4,712,374 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,792 | cpp | #include <inttypes.h>
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <ctype.h>
#include <algorithm>
#include <fcntl.h>
#include <unistd.h>
#include "utils/bit_macros.h"
#include "utils/fail.h"
#include "devices/atmega32/atmega32.h"
#include "devices/atmega32/defs.h"
using namespace std;
void Atmega... | [
"goc9000@gmail.com"
] | goc9000@gmail.com |
70011f1ff16ef3aca267296a94a6d92ff5c1cc63 | 9ba354f2dfb6755864560e258d1a6e9970641b0c | /TCore/dllmain.cpp | 0d81e05b5d05895ebe6fee5da03d9540ef39f02c | [
"MIT"
] | permissive | thirty30/Muffin | b808d75b1b5bb78dc463c64ab159d889cc873e79 | 06db87761be740408457728a40d95cdc8ec05108 | refs/heads/master | 2020-08-04T02:02:34.009543 | 2020-04-14T19:56:58 | 2020-04-14T19:56:58 | 211,962,180 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 269 | cpp | #include "stdafx.h"
BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
| [
"402050805@qq.com"
] | 402050805@qq.com |
d441aaf2267674dffec805960f9c1098e60cccbf | 79619f59853e6b5ccebf1e79784bb8c19bb964e5 | /C++/neststructure.cpp | 814427cf7760426595c1b113778be47a3949ed7f | [] | no_license | Muzummil/Software-Development-Work | a738efcbede29d0edca0fcf63eabc70ce7151a32 | d11f2b4eeb1bc5121ca9db1628c0bd805ef609ac | refs/heads/master | 2020-12-14T11:54:49.508737 | 2020-01-23T20:08:52 | 2020-01-23T20:08:52 | 234,732,158 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 614 | cpp | #include <iostream>
#include <conio.h>
#include <string.h>
using namespace std;
struct time{
short second,minut;
string h;
};
struct date{
int day;
int month,year;
time x;
};
int main()
{
date d1;
d1.x.h=="muzummil";
cout<<"name 1 is"<<d1.x.h;
cout<<"enter your name";cin>>d1.x.h;
cout<<"n... | [
"noreply@github.com"
] | Muzummil.noreply@github.com |
1659c0fadf15126da87ada072e243a2b77292272 | 15c3c9dfcb69a534c5c392c2983b0158aa809dd7 | /InputManager.cpp | db864be61311d3e4f06973f6fc7e56b43af98cf3 | [] | no_license | adrianhartanto0/AE2CPP | 5389b257514515de74ab430b0025beb329b0c2bc | e45398bffff287a8d334bb6fd79124093ffef548 | refs/heads/master | 2021-01-10T14:52:23.603115 | 2016-05-09T06:16:21 | 2016-05-09T06:16:21 | 54,475,510 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 832 | cpp | //
// InputManager.cpp
// Space
//
// Created by Ericko Hartanto on 4/29/16.
// Copyright © 2016 adrian. All rights reserved.
//
#include "InputManager.h"
InputManager::InputManager(){
this->mouseX = 0;
this->mouseY = 0;
this->key = nullptr;
}
void InputManager::setMouseX(int val){
this->mouseX =... | [
"erickohartanto@Erickos-MacBook-Pro.local"
] | erickohartanto@Erickos-MacBook-Pro.local |
fe047f98933efe6113ed62a8707a2c5303ddbb00 | 535e44e24d60879d5d654aada6d48f1d932a1e9f | /desiredimpl/01-basic-scenario/timer_proxy.cpp | 24a8016cb2ef5e162b8bb7ef75ef025c6dc2bd6c | [] | no_license | glucktv/dboost | 6ff4c93d3e509c52b0a4eb44319f2f0b3ddae6c4 | d1a0eb1b4ec1c2af2ad2b29ffa23157f845b39ab | refs/heads/master | 2016-09-06T11:15:00.377118 | 2015-03-27T05:07:29 | 2015-03-27T05:07:29 | 17,452,491 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,081 | cpp | #include <timer_proxy.h>
#include <dbus/dbus.h>
#include <exception.h>
#include <iostream>
#include <serializer.h>
namespace dboost_test
{
const char* timer_proxy::s_ifc_name = "org.dboost.timer";
const int TIMEOUT_MS = 5000;
timer_proxy::timer_proxy(dboost::dbus_ptr<DBusConnection> conn,
... | [
"yu_stas@hotbox.ru"
] | yu_stas@hotbox.ru |
9f0f0ffbb5f2fe641876d5c5bc9c7d3cc579a0b4 | cccd77053ce93010420e72a9cb98bbcde3441c76 | /level1/p08_hanoi/hanoi.cpp | 6ede4ad6341c2b921ff86a3bf73f1ef44d2ceee7 | [
"MIT"
] | permissive | liaohui-2002/c2020 | e02d8e8fc6534ec6217c26465d70413de5e600a5 | be2d1437260c0c9f096d9580afd72452087b1f2a | refs/heads/master | 2022-04-09T21:23:25.988797 | 2020-03-24T14:24:11 | 2020-03-24T14:24:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 454 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#define For(x,a,b) for(x=a;x<=b;x++)
int i,i1,i2;
void hanoi(int n,char a,char b,char c);
int main(void)
{
int n;
printf("Please input the number of the disk:\n");
scanf("%d",&n);
hanoi(n,'a','b','c');
return 0;
}
void hanoi(int n,char a,... | [
"15091591733@126.com"
] | 15091591733@126.com |
8c39665e4e03fa38f1c72c4d27e5785937deda25 | ac75560a56c0698ff098251f8d4bc5bf2a0dc3db | /examples/FlashErase/FlashErase.ino | 16af96fa62f5790da6b83d37865d79e04dc31ee7 | [
"MIT"
] | permissive | Hansen0314/Seeed_Arduino_SFUD | e0fdc58f356dfea9a4a0b7c5b0a39ca439b12d4a | d2a3a1776b3f54a71452051daa7ff97d811dc4bd | refs/heads/master | 2022-07-17T13:33:27.460560 | 2020-05-13T08:14:41 | 2020-05-13T08:14:41 | 259,585,337 | 1 | 0 | MIT | 2020-04-28T09:03:35 | 2020-04-28T09:03:34 | null | UTF-8 | C++ | false | false | 896 | ino | #include <sfud.h>
#define SFUD_DEMO_TEST_BUFFER_SIZE 1024
static uint8_t sfud_demo_test_buf[SFUD_DEMO_TEST_BUFFER_SIZE];
static void sfud_demo(uint32_t addr, size_t size, uint8_t *data);
#define SERIAL Serial
#ifdef ARDUINO_ARCH_SAMD
#undef SERIAL Serial
#define SERIAL SerialUSB
#endif
voi... | [
"595355940@qq.com"
] | 595355940@qq.com |
8511193ee147fa83e17a9c52dfb659a87628737f | 9aee810d0d9d72d3dca7920447872216a3af49fe | /AtCoder/ABC/100-199/ABC141/abc141_e.cpp | d73963e78363014bf6c03049ad80c8c4b69ffbca | [] | no_license | pulcherriman/Programming_Contest | 37d014a414d473607a11c2edcb25764040edd686 | 715308628fc19843b8231526ad95dbe0064597a8 | refs/heads/master | 2023-08-04T00:36:36.540090 | 2023-07-30T18:31:32 | 2023-07-30T18:31:32 | 163,375,122 | 3 | 0 | null | 2023-01-24T11:02:11 | 2018-12-28T06:33:16 | C++ | UTF-8 | C++ | false | false | 4,531 | cpp | #include <bits/stdc++.h>
#if defined(ONLINE_JUDGE) || defined(_DEBUG)
#include <atcoder/all>
using namespace atcoder;
#endif
using namespace std;
using ll=long long;
using ull=unsigned long long;
using vb=vector<bool>;
using vvb=vector<vb>;
using vd=vector<double>;
using vvd=vector<vd>;
using vi=vector<int>;
using vvi... | [
"tsukasawa_agu@yahoo.co.jp"
] | tsukasawa_agu@yahoo.co.jp |
27940e4b21f3ca69109feb6deab118700e13be7f | c3f781286ebf1832ee4809678c1eda1f4755442a | /HashTable.h | ff86645c5c13575177a06e6a1a486060ab08bb99 | [] | no_license | shunjizhan/Social-Network | faffe94cbcbf9c1c654dde6d34e17167a7e56c6e | 725c95bf653aa8b6247d3d29a68e8212fd010bfc | refs/heads/master | 2021-06-15T17:45:33.569851 | 2017-03-29T01:44:56 | 2017-03-29T01:44:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 493 | h | #include <vector>
#include "Node.h"
using namespace std;
class HashTable {
public:
const static int TABLE_SIZE = 211;
HashTable();
void insert(string name, int index, vector<string> friends);
int search(string name); // find index in the hash table
int hash(string name);
void addFriend(string friend1,... | [
"shunjizhan@umail.ucsb.edu"
] | shunjizhan@umail.ucsb.edu |
601f6e2cc0c87784ac59e95234b74e0fc76ea5db | 6097e7cd1cd311ef13bd166d6323bbb749385291 | /CCI/cci/cci/URLify.cpp | 11f1f8243ba212248f3c9d7e20f07abf3c7b7836 | [] | no_license | ysripath/CPP | a9a33f6d89c759b68def91df084915cf78f525fd | 009bb94561b267c87b5ab5b38fbddcd1670a42a5 | refs/heads/master | 2020-03-26T09:57:47.602806 | 2019-04-07T01:33:01 | 2019-04-07T01:33:01 | 144,774,285 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 599 | cpp | #include <bits/stdc++.h>
using namespace std;
void util(string& str)
{
int l = str.length();
l--;
int i = l;
while (i >= 0)
{
if (str[i] == ' ')
i--;
else
break;
}
while (i >= 0)
{
if (str[i] != ' ')
{
str[l--] = str[i--];
continue;
}
else
{
str[l--] = '0';
str[l--] = '2';
... | [
"yuvarajsripathi91@gmail.com"
] | yuvarajsripathi91@gmail.com |
4598f3ac3e28b6a6c9258d192f14ce928b2e5695 | 83bab97601870553188e19700027457c8b0aaa34 | /include/myslam/camera.h | 7bbb23df5a0ca27fad1e0600c568efb8a992fcd3 | [] | no_license | yxtwl94/Slam_demo | d31149df72a2db95c79dd7146e368e98e220226e | 10b39352c8237b4d91d63c36b0a45af904b22822 | refs/heads/master | 2020-05-27T00:36:10.989504 | 2019-05-24T13:32:58 | 2019-05-24T13:32:58 | 183,479,015 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 918 | h | #ifndef CAMERA_H
#define CAMERA_H
#include "myslam/common_include.h"
namespace myslam{
using namespace std;
class Camera{
public:
typedef shared_ptr<Camera> Ptr;
float fx_, fy_, cx_, cy_,depth_scale_;
Camera();
Camera( float fx ,float fy,float cx... | [
"yxtwl95@hotmail.com"
] | yxtwl95@hotmail.com |
6f2e51dc609330ecf74fae09a979054e42312be4 | 232fa6f856936c984e218371d53a0c5f63ac8ddc | /rbf/rbfm.h | 18e9a17d152390559c6f00be33d726e2ce3746d8 | [] | no_license | xianpeim/CompSci222-database-implementation | 6528ae408459c1c754d7ed7e6bc982b8b783004a | c983264a607081213c167b981c32e054c8f8eb9d | refs/heads/master | 2020-11-28T16:13:18.964400 | 2019-12-24T08:56:18 | 2019-12-24T08:56:18 | 229,864,628 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,134 | h | #ifndef _rbfm_h_
#define _rbfm_h_
#include <string.h>
#include <vector>
#include <cmath>
#include "pfm.h"
#define epsilon 0.00005 // for float comparison
#define DEBUG 0 // 1 show all debug msg. 0 dont show.
#define DEBUGUNIT 0 // 1 show all unit debug msg. 0 dont show.
#define DEBUGFREE 0 // 1 show all... | [
"noreply@github.com"
] | xianpeim.noreply@github.com |
151f7625adf5a148b23df572275d53dee59f434e | 6e09bfc1f306d1ea8aff2464ab001d45dd4a996b | /ElectionCopy2/DistrictResult.cpp | fe824a867c50511796c340a4d006f9de695b2219 | [] | no_license | avivmor2103/ElectionSystemProject | ac95815e406af45a04c65a6d02ac2e9588b544de | 7dd8b25a6f4869dcfe73ac4dae297a6fb424b102 | refs/heads/master | 2023-04-04T21:02:15.438448 | 2021-04-20T17:54:40 | 2021-04-20T17:54:40 | 356,373,503 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,606 | cpp | #include "DistrictResult.h"
DistrictResult::DistrictResult()
{
this->lSize = 0;
this->phSize = 1;
try
{
result = new DistrictVotes[phSize];
}
catch (std::bad_alloc& ex)
{
cout << ex.what() << endl;
exit(1);
}
}
DistrictResult::~DistrictResult() {
delete[] re... | [
"avivmore88@gmail.com"
] | avivmore88@gmail.com |
4d8de2ce86702aab7ff29e81ad448c332b3ef220 | 1942a0d16bd48962e72aa21fad8d034fa9521a6c | /aws-cpp-sdk-ec2/source/model/DescribeReservedInstancesRequest.cpp | 11ce500c9ddbdff07c4535f8d551756c09402b70 | [
"Apache-2.0",
"JSON",
"MIT"
] | permissive | yecol/aws-sdk-cpp | 1aff09a21cfe618e272c2c06d358cfa0fb07cecf | 0b1ea31e593d23b5db49ee39d0a11e5b98ab991e | refs/heads/master | 2021-01-20T02:53:53.557861 | 2018-02-11T11:14:58 | 2018-02-11T11:14:58 | 83,822,910 | 0 | 1 | null | 2017-03-03T17:17:00 | 2017-03-03T17:17:00 | null | UTF-8 | C++ | false | false | 2,259 | cpp | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.