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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
935226070d6845d3f5b1c537da8726d4a7876d5b | 1665df3a60ef9b5fe150aa52a96301be7b3b7d32 | /thrift_c++/libsvm_online/src/ml_libs/libsvm/eval.cpp | 45f3bfff656dbe0a4293b4e3614a93573baf556d | [] | no_license | hemaoliang/MLmodel_online_project | d7904484c43024b85b8128d7916f958bd5f9ee46 | 18bd2da2b1d787dfee6e083a06d12c88fb894e9c | refs/heads/master | 2020-05-21T04:37:30.193738 | 2017-04-25T12:15:33 | 2017-04-25T12:15:33 | 54,866,696 | 2 | 0 | null | 2016-03-28T05:16:35 | 2016-03-28T05:02:36 | null | UTF-8 | C++ | false | false | 9,267 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <errno.h>
#include <cstring>
#include "svm.h"
#include "eval.h"
namespace libsvm {
using namespace libsvm;
#define Malloc(type,n) (type *)malloc((n)*sizeof(type))
typedef std::vector<double> dvec_t;
typedef std::vector<int> ivec_t;
// prototype... | [
"hemaoliang@163.com"
] | hemaoliang@163.com |
3aee057ef70eb755586c7aab754f75c5733aca9d | 6c6ec1e561cb94b1d34813255c2a0f479f575a64 | /RobotArm_Hardware/ROBOT-MANIPULATORS(HardwareInterfaces)/JOINT6/Main/CentralSystem.ino | 4770371ed640bb6a38be443d135122c80b422356 | [] | no_license | SPECTRE-president/RobotArm | cabbcd1bd96d1de9e047c72eb986efb2a9a70357 | bc12b3fcaca7377fdde6bd75f51ef9c0ab1d5228 | refs/heads/master | 2021-01-10T15:29:23.153044 | 2016-03-04T19:28:07 | 2016-03-04T19:28:07 | 53,160,330 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,408 | ino | void setup()
{
Wire.begin(5); // join i2c bus with address
Wire.onReceive(receiveEvent); // register event
Wire.onRequest(requestEvent); // register event
pinMode(13,OUTPUT); // LED TEST
Serial.begin(9600); // start serial for output
JointSetup(); // In... | [
"JPH.SPECTRE@GMAIL.COM"
] | JPH.SPECTRE@GMAIL.COM |
1e710813b69d2460cf26d9acd0693e06305a4eb7 | b33921433df41d5e5a92367413d178aee6fcc627 | /CPP_CodeSignal/evenDigitsOnly.cpp | 36a05f252cdae01630c07f7cc581bb5e4eb06e25 | [] | no_license | chanduk5/CPP_Edabit | 93e3604b42e35b0f7d0c55503f9e369b35c9f6a0 | 01460a944a95114f73ff547082fb856ad2f4446b | refs/heads/master | 2020-12-22T22:17:23.934974 | 2020-02-26T09:12:56 | 2020-02-26T09:12:56 | 236,943,450 | 1 | 0 | null | 2020-02-26T09:12:57 | 2020-01-29T09:15:57 | C++ | UTF-8 | C++ | false | false | 382 | cpp | #include<iostream>
using namespace std;
bool evenDigitsOnly(int n) {
while (n != 0)
{
if (((n % 10) % 2) != 0)
{
return false;
}
n = n / 10;
}
return true;
}
void evenDigitsOnly(void)
{
int n;
cout << "Enter the number: ";
cin >> n;
cout ... | [
"kurapatichandu535@gmail.com"
] | kurapatichandu535@gmail.com |
5ab5af4de84aaa1c7ba2515f6a7fcc1fbf455948 | b3239097cad0e28dfce355fa1e6f5a6fd12c10f4 | /939B.cpp | d57c2505cab5a98f777a7eed42605b6c93fa5ad1 | [] | no_license | trinhtanphat/Codeforces | da52d4efae03fa8f20564a3062cf7fde8ff3224d | c52cd4749f1c1dd38a0f0140250e6d8e96181037 | refs/heads/master | 2023-04-12T11:34:04.121808 | 2018-11-10T19:36:01 | 2018-11-10T19:36:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 404 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int MAX_N = 1e5+7;
const ll oo = 1e18;
ll n, a[MAX_N], res;
int k;
int main() {
freopen("input.txt","r",stdin);
cin>>n>>k;
for (int i=0; i<k; i++) {
cin>>a[i];
}
res = oo;
int v = -1;
for (int i=0; i<k; i++) {
ll m = n%a[i];
if ... | [
"dphi999@gmail.com"
] | dphi999@gmail.com |
f05d8393d92915e6fb56e1f1219d82102be8bc15 | 2b9bd728c02f9f711cf6bf1836402814ae459558 | /Term5/mpi/m_quit.cpp | c5b888b74f5463446c196aa4a286525d6ac5bdf4 | [] | no_license | DeSerg/mipt-solutions | 20f5dcb3a441e8d9363dcfd11cf9dbf05848a5ab | 6851d572affde1540d1a16983cb5a77cf9b7ca74 | refs/heads/master | 2021-01-17T02:29:11.406570 | 2019-12-08T16:29:53 | 2019-12-08T16:29:53 | 25,125,104 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 827 | cpp | #include "support.h"
extern int K, N, M;
extern Status status;
extern int world_rank, world_size;
extern int work_rank, work_size;
extern MPI_Comm intercomm;
void quitMethod() {
//Завершение программы с корректной приостановкой потоков
cerr << "master: on quit..." << endl;
vector<MPI_Req... | [
"sergpopov95@gmail.com"
] | sergpopov95@gmail.com |
8806f7d234a55e3426ef0c27b9178e52fa873fd0 | 2962f164cecb440ecd905ab9f3cc569c03a01ad5 | /RtspPlayer/assemblies/sunell/include/AlarmLogQueryParam.h | d9a4e9718c881b085660d0a04f8440aa04b53788 | [] | no_license | paxan222/hello-world | 5ef9bd04a5c4337c1403a04973e2c0c11665bb26 | c55c60e0f72a04e1e2560dc19c2a6bbd7e8b430f | refs/heads/master | 2020-12-11T21:09:30.200433 | 2017-05-04T08:39:53 | 2017-05-04T08:39:53 | 55,044,669 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 7,936 | h | #ifndef _ALARMLOGQUERYPARAM_H_
#define _ALARMLOGQUERYPARAM_H_
#include "DomainConst.h"
#include "const.h"
#include "SNPlatOS.h"
/**********************************************************************/
//此处用于控制文件编译字节对齐,拷贝时两行注释间内容需一起拷贝,
//结束处的“#ifdef PRAGMA_PACK”部分也要一起拷贝,否则pragma pack入栈出栈不匹配
#if(PRAGMA_PACK_DEFINE != 1... | [
"paxan222@yandex.ru"
] | paxan222@yandex.ru |
b0d2fb49bd805b6bd4864c925cf46cd5914ad0f9 | fa3050f5e5ee850ba39ccb602804c001d9b4dede | /chromeos/components/eche_app_ui/eche_app_manager.cc | 84acce45c7f7558cf2498bbe42c19b92b96dfad9 | [
"BSD-3-Clause"
] | permissive | wayou/chromium | a64c9df7d9c6190f8f9f730e7f68a998ffcabfc9 | f5f51fc460df28cef915df71b4161aaa6b668004 | refs/heads/main | 2023-06-27T18:09:41.425496 | 2021-09-08T23:02:28 | 2021-09-08T23:02:28 | 404,525,907 | 1 | 0 | BSD-3-Clause | 2021-09-08T23:38:08 | 2021-09-08T23:38:08 | null | UTF-8 | C++ | false | false | 4,391 | cc | // Copyright 2021 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 "chromeos/components/eche_app_ui/eche_app_manager.h"
#include "base/system/sys_info.h"
#include "chromeos/components/eche_app_ui/eche_signaler.h... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
f7c72ebe1f033b968c4a891c1a72c2a7987cb386 | 67fc9e51437e351579fe9d2d349040c25936472a | /wrappers/7.0.0/vtkExtractSelectedGraphWrap.cc | f7a20507262ccbc2a2776d382004723bd7475eb0 | [] | permissive | axkibe/node-vtk | 51b3207c7a7d3b59a4dd46a51e754984c3302dec | 900ad7b5500f672519da5aa24c99aa5a96466ef3 | refs/heads/master | 2023-03-05T07:45:45.577220 | 2020-03-30T09:31:07 | 2020-03-30T09:31:07 | 48,490,707 | 6 | 0 | BSD-3-Clause | 2022-12-07T20:41:45 | 2015-12-23T12:58:43 | C++ | UTF-8 | C++ | false | false | 11,463 | cc | /* this file has been autogenerated by vtkNodeJsWrap */
/* editing this might proof futile */
#define VTK_WRAPPING_CXX
#define VTK_STREAMS_FWD_ONLY
#include <nan.h>
#include "vtkGraphAlgorithmWrap.h"
#include "vtkExtractSelectedGraphWrap.h"
#include "vtkObjectWrap.h"
#include "vtkAlgorithmOutputWrap.h"
#include "vtkI... | [
"axkibe@gmail.com"
] | axkibe@gmail.com |
cebc719ade9bed12a22a2ad820dad3821d7d1fb0 | 696aa5c9fd54318b552933a917183f7f0647d193 | /lib/ros_lib/champ_msgs/Contacts.h | 800a16e8b43f47d3f7f231cd5de68296c37ddb8a | [] | no_license | mattwilliamson/champ-firmware | 1d38d5f2e9d1b8fb3e0b817bddabde926f2b3fe6 | 7cde708fc0a1509ed878df20e79caa0695963aa2 | refs/heads/master | 2023-04-07T06:46:34.192489 | 2020-09-12T15:01:41 | 2020-09-12T15:01:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,402 | h | #ifndef _ROS_champ_msgs_Contacts_h
#define _ROS_champ_msgs_Contacts_h
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "ros/msg.h"
namespace champ_msgs
{
class Contacts : public ros::Msg
{
public:
uint32_t contacts_length;
typedef bool _contacts_type;
_contacts_type st_c... | [
"jimenojmm@gmail.com"
] | jimenojmm@gmail.com |
6b8298bc2535b5eebaff1ff37fd507e781bfc8c9 | 7d228f077214f798c1fa6ee2a486a25c01d72cce | /xic/src/edit/edit.cc | 6352f41338765b230703af1a727533d9d6dc229d | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Plourde-Research-Lab/xictools | 1f3de596f5de4d9c9c5fab2a021e530f1f258ce9 | 070b9089607f9a99aabe8d11849b0e4d1fe4fcb8 | refs/heads/master | 2021-07-08T13:21:29.734753 | 2017-10-04T16:08:10 | 2017-10-04T16:08:10 | 106,029,821 | 0 | 1 | null | 2017-10-06T17:04:21 | 2017-10-06T17:04:21 | null | UTF-8 | C++ | false | false | 17,006 | cc |
/*========================================================================*
* *
* Distributed by Whiteley Research Inc., Sunnyvale, California, USA *
* http://wrcad.com *
* Copyright (... | [
"stevew@wrcad.com"
] | stevew@wrcad.com |
761d7c03a58bfd459c0693ad6ba039675bcdd59a | 07b1bf70d0742700b436e80d3e45f640c011c79a | /BigNum.h | cc74900c38f1705494c0a99852bb5f48c2ccde72 | [] | no_license | wuyinglong123/main | 37b4d5ee98155e7685a74dc078b0ce6e188af75f | b60bb0f136d93a5fbbbbb05886eeb5d0061003fa | refs/heads/master | 2020-05-01T10:02:19.869401 | 2019-03-24T16:42:19 | 2019-03-24T16:42:19 | 177,412,931 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 257 | h | #ifndef BIGNUM_H
#define BIGNUM_H
#include<string>
#include<iostream>
using namespace std;
class BigNum{
private:
string a;
string b;
public:
void pluss(string a,string b);
void subc(string a,string b);
void multi(string a,string b);
};
#endif
| [
"2200198424@qq.com"
] | 2200198424@qq.com |
1e8457faba613c264faea65cd8bcdf85c0a38aa3 | 760f5e75f7055e8958cfd6925fe882e1ce992728 | /elog_serialize.hpp | f7f3bd99c7a66a44f5ae4b76dc2c8e79159f6ab6 | [
"Apache-2.0"
] | permissive | jianbaishi/phosphor-logging | 6159c435ee445540a4f3779857eeac0127675b70 | 80aa4762f78f1044d15c918d72316aa388ba0a02 | refs/heads/master | 2020-03-25T01:22:02.190672 | 2018-07-19T02:29:56 | 2018-07-20T09:02:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 997 | hpp | #pragma once
#include <string>
#include <vector>
#include <experimental/filesystem>
#include "elog_entry.hpp"
#include "config.h"
namespace phosphor
{
namespace logging
{
namespace fs = std::experimental::filesystem;
/** @brief Serialize and persist error d-bus object
* @param[in] a - const reference to error ent... | [
"patrick@stwcx.xyz"
] | patrick@stwcx.xyz |
d03231c66d957eb65d2464e211b3641ede95fe2e | e0cb5434cf572cde89797f658ec289024a82ebee | /app_modules/99_template/src/template_settings.hpp | e143821c1dca4feaa588d7180e4c2eff4d7fc9c2 | [
"Apache-2.0"
] | permissive | LucaRitz/learn_with_tello | d236defb03ccd03b0d5b91cf80e3d76f78be6026 | f7fc45e7a9e9a2903638ec8367c9b355a4f1afc9 | refs/heads/master | 2022-12-27T01:03:25.304434 | 2020-10-07T13:38:13 | 2020-10-07T13:38:13 | 288,721,035 | 0 | 0 | Apache-2.0 | 2020-10-02T13:54:06 | 2020-08-19T12:05:44 | C | UTF-8 | C++ | false | false | 199 | hpp | #pragma once
#include <common/settings.hpp>
class TemplateSettings : public ISettings {
public:
TemplateSettings();
void aValue(int aValue);
int aValue();
private:
int _aValue;
}; | [
"ritz.luca@gmail.com"
] | ritz.luca@gmail.com |
aeec727fc2e442bcbe055af58b7f15a9b9ed96f5 | 9e92d93a73ac02d2f2c066d5880ff3df44cb7181 | /sort.hpp | 09515ccffc551c5e0ef1133fc78ed55a20b13654 | [] | no_license | mlcollard/sortTDDDemo020 | e7fa7741a8aab4865de4c12a6bd53ab81596cbdd | 128715dfcdf33cb22247ef860fe59409b8108f1d | refs/heads/main | 2023-08-20T12:12:21.724218 | 2021-10-20T20:23:40 | 2021-10-20T20:23:40 | 419,076,023 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 200 | hpp | /*
sort.hpp
Sorting functions
*/
#ifndef INCLUDED_SORT_HPP
#define INCLUDED_SORT_HPP
#include <vector>
// sort the entire vector in ascending order
void sort(std::vector<int>& v);
#endif
| [
"collard@uakron.edu"
] | collard@uakron.edu |
57810483ef82b80c70746432f68909f967ee1f34 | fc6d01c0a4ff1dd611a97b4a1999ba3e0ec051b5 | /Palindrome Partitioning.cpp | 936979d6cf4f031a8973b9836014aaa1ba138222 | [
"MIT"
] | permissive | fz1989/LeetCode | 9e32ffbf13073b89a4d2b3b19a5a3cada5c09cc4 | 6d9c3ddf3e2048c7be456902841d7e5fc80cd741 | refs/heads/master | 2020-06-04T01:13:25.302987 | 2014-03-04T13:41:23 | 2014-03-04T13:41:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,454 | cpp | class Solution {
private:
bool isPalindrome[500][500];
int N;
vector<vector<string> > ret;
string S;
public:
vector<vector<string> > partition(string s) {
S = s;
N = s.size();
string buf[N];
for (int i = 0; i < N; i++) {
for (int j = 0; j < N; j++) {
isPal... | [
"fz1989fz@gmail.com"
] | fz1989fz@gmail.com |
fe582dab18789da101c8bcf903dca7355ad26330 | 109c01948f93608676acace87ad3d5ab3c981632 | /BattleTank/Source/BattleTank/Private/TankAIController.cpp | 5397680e9e85adf97423ca85764ef9a3d94d19e7 | [] | no_license | DiegoWRost-Udemy-UnrealCourse/04_BattleTank | 75bad60de4844d898eebd02436efb9a0e2dda820 | c5c7d5eaf21029d98aae363797a711bf391b0040 | refs/heads/master | 2021-07-04T23:43:05.806477 | 2018-11-15T19:11:19 | 2018-11-15T19:11:19 | 109,422,337 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 745 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "TankAIController.h"
#include "Tank.h"
// Depends on movement component via pathfinding system
void ATankAIController::BeginPlay()
{
Super::BeginPlay();
}
// Called every frame
void ATankAIController::Tick(float DeltaTime)
{
Su... | [
"diego.wr@gmail.com"
] | diego.wr@gmail.com |
1cb3d9e82685cd25f81bb007b35af9deaa6f85c3 | aa061248d4584e062226426686aafa36c1cc0ccc | /tem/SymbolTable.h | ab83f9adb60d6148d4855ee6cbd967410670def6 | [] | no_license | shamiul94/Compiler-Project | bff20a7c252f3361d696116869c2a8ce1c8b5bf9 | 5c1f3fc5596ea6f4ba2042b72b15299cef513bc6 | refs/heads/master | 2020-03-11T16:00:08.795026 | 2019-01-29T11:04:46 | 2019-01-29T11:04:46 | 130,102,605 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,866 | h |
#include <bits/stdc++.h>
#define ll long long
using namespace std;
class symbolInfo
{
string symbolName, symbolType;
public:
ll i, j, tableId;
symbolInfo *next;
symbolInfo();
symbolInfo(string name, string type);
void setSymbolName(string name);
void setSymbolType(string type);
v... | [
"1505038.sh@ugrad.cse.buet.ac.bd"
] | 1505038.sh@ugrad.cse.buet.ac.bd |
00a1ba077981c0f527d232f77a7f1649883c2063 | a16dadb0b36f9da69f208573b08b21ceb1dec7e1 | /TriggerDecision/app/RunSmartTriggerLatency.cxx | 3fe3dfc50a4b63095ccbff65f87cd2af7b03a4a1 | [] | no_license | plasorak/Clustering | 36edbb79b25eb3e767412bfc293be17009b01ca0 | a753bf9bceadd004ad5a59e5d73e3d2fff1aa5b6 | refs/heads/master | 2023-04-27T10:51:38.766429 | 2023-02-08T15:44:38 | 2023-02-08T15:44:38 | 142,597,488 | 0 | 7 | null | 2023-02-08T15:44:40 | 2018-07-27T15:59:30 | C++ | UTF-8 | C++ | false | false | 1,866 | cxx | //____________________________________________________________________
//
// $Id$
// Author: Pierre Lasorak <plasorak@Pierres-MacBook-Pro.local>
// Update: 2019-02-14 15:38:26+0000
// Copyright: 2019 (C) Pierre Lasorak
//
//
#include "TriggerDecision/StatisticalTest.hh"
#include "TriggerDecision/TriggerLatencyCalc... | [
"plasorak@fnal.com"
] | plasorak@fnal.com |
e1f9e7afb217ce67d866e1b85329c38fed4ae7bd | e5de536559fc4cee91dc41854222f752ed53d187 | /testconst/main.cpp | 14d5b129a0eca6fcc209884518f5ca90c2945a97 | [] | no_license | sw1024/testcpp | d2e6c09df7a77bc06b8583542574042412a64c09 | ecee919827baf8602b34e74277e4cf99ef055ee3 | refs/heads/master | 2022-11-21T01:21:21.283392 | 2020-07-18T09:27:13 | 2020-07-18T09:27:13 | 280,622,780 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 116 | cpp | #include "a.h"
#include <iostream>
void printA();
int main()
{
std::cout<<a<<std::endl;
printA();
return 0;
}
| [
"1106012118@qq.com"
] | 1106012118@qq.com |
bffea7e51b089a14bd7ee60582109f68088fff04 | df9ee1964d28cb4bdcceb66f11d25d1bd3f58e29 | /juego.h | 5de98ad9202cc492d02a95ecf10f9630ef1841a7 | [] | no_license | sammygm6/ProyectoFinalProgra3 | 1fa811f2fa19675238b58518a5be5117dbe5cdb4 | 34d571dbe49eb232f907e9094e818391627e28de | refs/heads/master | 2021-01-22T13:38:17.813019 | 2015-03-26T05:30:23 | 2015-03-26T05:30:23 | 32,647,114 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 541 | h | #ifndef JUEGO_H
#define JUEGO_H
#include <string>
using std::string;
class juego
{
string nombre;
double precio;
string clasificacion;
string tipo;
public:
juego(string,double,string,string);
juego(const juego&);
~juego();
string toString()const;
string getNombre()const;
double... | [
"sammygm6@gmail.com"
] | sammygm6@gmail.com |
8a635a49225c4cee4308bdfeb44b4faa40767667 | 12ca06d0473657dfc85bb836fcacb74efc6e0b75 | /Rotator.cpp | 3f00f7ebf3d7292bfb8200431cfb57ceed27e4d2 | [] | no_license | suiqingsheng/adaptive-thresholder | 7fc1f4c5e3fb1416f47f97166eed2b822bb2e280 | bb5ab9e70559d2c87128cbd53d1418715b0dd4be | refs/heads/master | 2020-05-19T17:15:12.922982 | 2017-05-30T14:26:12 | 2017-05-30T14:26:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,298 | cpp | #include <Magick++.h>
#include <iostream>
#include <string>
#include <stdint.h>
#include <cassert>
#include <cstring>
#include <vector>
#include <cmath>
using namespace std;
using namespace Magick;
int usage(string argv0) {
cerr << "USAGE: " << argv0 << " <input_image> <output_image> [maxangle] [intervals]" << endl;... | [
"tsybulinhome@gmail.com"
] | tsybulinhome@gmail.com |
4fe40ac8ef7076f1a40cf09ad0a21cf74e6ace4e | 54f4746cf9004954696028ad3781baf10b3dc676 | /OOP345SBB/WS09/SecureData.h | 0e671867c94b64b47c6c5dbbe7519a981f2f09e7 | [] | no_license | chiro-pepe02/OOP345 | 3c18354951092c776de6b22b321df5ae7080d4a7 | f70df6704f5183e91045cceaa16362e3540ccc0e | refs/heads/master | 2020-09-15T15:42:10.628426 | 2019-04-17T19:47:03 | 2019-04-17T19:47:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 982 | h | // Name: Lean Junio
// Seneca Student ID: 019-109-123
// Seneca email: ljjunio@myseneca.ca
// Date of completion: 11/21/2018
//
// I confirm that the content of this file is created by me,
// with the exception of the parts provided to me by my professor.
// Workshop 9 - Multi-Threading
// SecureData.h
#ifndef W9_SECU... | [
"leanjunio@live.com"
] | leanjunio@live.com |
6b21b933ede56709912de990d003a2e1f48c882e | e299ad494a144cc6cfebcd45b10ddcc8efab54a9 | /llvm/lib/Target/R600/AMDGPUISelLowering.h | a3554a51c37c53494c4eb6e4cfda93944240f035 | [
"NCSA"
] | permissive | apple-oss-distributions/lldb | 3dbd2fea5ce826b2bebec2fe88fadbca771efbdf | 10de1840defe0dff10b42b9c56971dbc17c1f18c | refs/heads/main | 2023-08-02T21:31:38.525968 | 2014-04-11T21:20:22 | 2021-10-06T05:26:12 | 413,590,587 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,872 | h | //===-- AMDGPUISelLowering.h - AMDGPU Lowering Interface --------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"91980991+AppleOSSDistributions@users.noreply.github.com"
] | 91980991+AppleOSSDistributions@users.noreply.github.com |
f4bc26b16f356109a87bef61cfdc4f6e3e53e37d | 0149a18329517d09305285f16ab41a251835269f | /Problem Set Volumes/Volume 12 (1200-1299)/UVa_1239_Greatest_K-Palindrome_Substring.cpp | 1e4f4d73866ee0dcf9ff1d60cc221b539c4ebe97 | [] | no_license | keisuke-kanao/my-UVa-solutions | 138d4bf70323a50defb3a659f11992490f280887 | f5d31d4760406378fdd206dcafd0f984f4f80889 | refs/heads/master | 2021-05-14T13:35:56.317618 | 2019-04-16T10:13:45 | 2019-04-16T10:13:45 | 116,445,001 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,113 | cpp |
/*
UVa 1239 - Greatest K-Palindrome Substring
To build using Visual Studio 2012:
cl -EHsc -O2 UVa_1239_Greatest_K-Palindrome_Substring.cpp
This is an accepted solution.
*/
#include <cstdio>
#include <cstring>
const int nr_chars_max = 1000;
int K;
char S[nr_chars_max + 1];
int nr_changed_char... | [
"keisuke.kanao.154@gmail.com"
] | keisuke.kanao.154@gmail.com |
9787d2b84966e9cc256d3d7890257da076106cfd | 9b1a0e9ac2c5ffc35f368ca5108cd8953eb2716d | /2/03 Artificial Intelligence/03 Carter/ai_behaviour_wander.cpp | ace620f4ec966d6de657e8ffd31227615186068d | [] | no_license | TomasRejhons/gpg-source-backup | c6993579e96bf5a6d8cba85212f94ec20134df11 | bbc8266c6cd7df8a7e2f5ad638cdcd7f6298052e | refs/heads/main | 2023-06-05T05:14:00.374344 | 2021-06-16T15:08:41 | 2021-06-16T15:08:41 | 377,536,509 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 242 | cpp | #include "standard_headers.hpp"
#include "ai_behaviour_wander.hpp"
#include "entities.hpp"
#include "ai_brain.hpp"
void CAIBehaviourWander::Update(void)
{
C2DCoordF pos = PEntity->FindWanderPos();
Action_MoveToPos(pos);
}
| [
"t.rejhons@gmail.com"
] | t.rejhons@gmail.com |
f108ba498d13af1b5a99179dec4b04f8569b8b8b | c26e0e749d9c394303d3a5ec0f8805ba797ed6f2 | /src/PointsTo/AlgoAndersen.h | 7be8b0090dbfbb91d0c2bb7c7906621de09a9a74 | [] | no_license | ddropik/LLVMSlicer | 68246b7a4e1d8813450deb46f5143e85587ea3cb | b464219a3aacd0e3ba678cdf5336b9d99451927e | refs/heads/master | 2021-01-17T13:35:35.510815 | 2012-08-09T19:27:44 | 2012-08-09T19:29:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,179 | h | // This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
#ifndef POINTSTO_ALGOANDERSEN_H
#define POINTSTO_ALGOANDERSEN_H
#include "PredefContainers.h"
#include "PointsTo.h"
namespace llvm { namespace ptr {
struct ANDERSEN {};
}}
namespace llvm { namespace... | [
"jirislaby@gmail.com"
] | jirislaby@gmail.com |
8e116236b7d995097abbac6f8a5c0f36af54700d | 4bd300d451a4dc2f1df37243fcd3047b5564a914 | /07 指针/03 空指针和野指针.cpp | 1508daf505f7ecda4024c47bb146beba5cd00cf2 | [
"MIT"
] | permissive | AlicePolk/cpp- | 24c865ca70a11a931c42192db4ebdb4924cf72e8 | 5bc3b1ea7fde780d0c45632fad083d583d65fb66 | refs/heads/master | 2022-12-14T16:39:02.316754 | 2020-09-12T01:46:51 | 2020-09-12T01:46:51 | 224,430,332 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 559 | cpp | //#include<iostream>
//using namespace std;
//
////空指针
//void test01() {
//
// //指针变量p指向内存地址编号为0的空间
// int * p = NULL;
//
// //访问空指针报错
// //内存编号0 ~255为系统占用内存,不允许用户访问
// cout << *p << endl;
//
//}
//
////野指针
//void test02() {
//
// //指针变量p指向内存地址编号为0x1100的空间
// int * p = (int *)0x1100;
//
// //访问野指针报错
// cout << *p << ... | [
"474788892@qq.com"
] | 474788892@qq.com |
0f0ec58ea891b2b3901642b751ad2b03043684bd | 1eea18984245d5d44e423f228874bf84e9f39b45 | /tests/transports/splice/test_splice_rules.cpp | 4f76cef563a3ce2fff21f3eed8ffdd56842b7083 | [] | no_license | amrahimi/madara | ef4f8237f8c691d0f91a4c22b76497c3a841d4a7 | 669a624d4558452dd24321f976f995d6dd0df7a1 | refs/heads/master | 2020-03-27T11:53:23.922645 | 2018-08-28T21:18:39 | 2018-08-28T21:18:39 | 146,512,277 | 0 | 0 | null | 2018-08-28T22:10:03 | 2018-08-28T22:10:03 | null | UTF-8 | C++ | false | false | 3,564 | cpp |
#include <string>
#include <vector>
#include <iostream>
#include <sstream>
#include <assert.h>
#include "madara/knowledge/KnowledgeBase.h"
#include "madara/logger/GlobalLogger.h"
namespace knowledge = madara::knowledge;
namespace transport = madara::transport;
namespace logger = madara::logger;
typedef knowledge::K... | [
"jedmondson@gmail.com"
] | jedmondson@gmail.com |
2a0fabdb06b5ec2d1020c22646ff1503b0c3e376 | 59c47e1f8b2738fc2b824462e31c1c713b0bdcd7 | /006-All_Test_Demo/000-vital/000-sodimas_notice/000-code/SOD_DISPLAY-old/BST_IDE/ui/graphics/graphicsbutton.cpp | c96e1372ca97a6a9a8114b26984e4f42db1fc0a7 | [] | no_license | casterbn/Qt_project | 8efcc46e75e2bbe03dc4aeaafeb9e175fb7b04ab | 03115674eb3612e9dc65d4fd7bcbca9ba27f691c | refs/heads/master | 2021-10-19T07:27:24.550519 | 2019-02-19T05:26:22 | 2019-02-19T05:26:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,488 | cpp | #include "graphicsbutton.h"
GraphicsButton::GraphicsButton(QGraphicsItem *parent) :
GraphicsOperate(parent)
{
}
bool GraphicsButton::Start()
{
if(GraphicsOperate::Start() == false)
return false;
m_ButtonState = PIC_DARK;
emit sUpdateCom(0);
return true;
}
bool GraphicsButt... | [
"1343726739@qq.com"
] | 1343726739@qq.com |
62db2ee1ced0edd53a2ad2fccd6936d517353ad2 | 20b2af5e275469261d95d4441303d567b5c03bba | /src/motion/Walking/StateHandling/WalkManState.hpp | 1bea18ffce0077c7b9b9fc88efd3f0cb0fb16a15 | [
"BSD-2-Clause"
] | permissive | humanoid-robotics-htl-leonding/robo-ducks-core | efd513dedf58377dadc6a3094dd5c01f13c32eb1 | 1644b8180214b95ad9ce8fa97318a51748b5fe3f | refs/heads/master | 2022-04-26T17:19:00.073468 | 2020-04-23T07:05:25 | 2020-04-23T07:05:25 | 181,146,731 | 7 | 0 | NOASSERTION | 2022-04-08T13:25:14 | 2019-04-13T09:07:29 | C++ | UTF-8 | C++ | false | false | 4,936 | hpp | #pragma once
#include "Data/BodyPose.hpp"
#include "Data/CycleInfo.hpp"
#include "Data/KickConfigurationData.hpp"
#include "Data/MotionActivation.hpp"
#include "Data/MotionPlannerOutput.hpp"
#include "Data/MotionRequest.hpp"
#include "Data/WalkGenerator.hpp"
/**
* @brief WalkManState a wrapper to hold the shared st... | [
"rene.kost.951@gmail.com"
] | rene.kost.951@gmail.com |
c6884d5ee588d1070b63153cc4aa84899503b844 | 7fb5cbbf3544e6f3449deb6cf4286a57ec392394 | /cpplang/ex/9.6.1.cc | 6f7eda074fa4fb98eb501a8cafcbb9168d645d89 | [] | no_license | Airead/excise | 94201e3b718fec23549a1402d9f0b2f480f78e0c | ba46918a37aca4e01fce3d806cfa2da325c19257 | refs/heads/master | 2021-05-16T02:12:47.133734 | 2019-10-16T02:44:12 | 2019-10-16T02:44:12 | 2,176,767 | 3 | 1 | null | 2019-10-16T02:44:13 | 2011-08-09T00:43:17 | JavaScript | UTF-8 | C++ | false | false | 2,681 | cc | /**
* @file 9.6.1.cc
* @brief
* @author Airead Fan <fgh1987168@gmail.com>
* @date 2013/04/21 21:50:20
*/
/*
1. Here is a header file:
Note that setgolf() is overloaded. Using the first version of setgolf() would look like
this:
golf ann;
setgolf(ann, “Ann Birdfree”, 24);
The function call provides... | [
"fgh1987168@gmail.com"
] | fgh1987168@gmail.com |
f94b538f29ae2b323267f2db84ef0c4f9c45c7cd | 8b0fde12efef911788682d88e92e2e5f05348951 | /hw4/assign62/assign62.cpp | 8a107abb2f9dfe48237a74b84bc160d5e22fb9b4 | [] | no_license | rollerseth/CPlusPlus-Programs-1 | 12a4f7b221e2ff61e0e98f79182757ae8eca821b | c7d848524b5b5ba9bafa9fe531a3867bb74f4a66 | refs/heads/master | 2022-03-18T11:53:48.421389 | 2019-10-31T23:02:55 | 2019-10-31T23:02:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,594 | cpp | /*
#Filename: assign62.cpp
#Author: Seth Roller
#Date: 3/19/19
#Program Name: assign62.cpp
#Assignment Number: 62
#Problem: Will create a abstract data type(ADT)
queue through an dynamically allocated array
#Flow: The main file will have the layout for the menu
decision process. This utilizes a while true
loop un... | [
"noreply@github.com"
] | rollerseth.noreply@github.com |
faec913994caa05ca0df67ab4491aa3225e8c462 | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /components/exo/wayland/zcr_ui_controls.h | 7967a7c4ed9b6d40e31c8cfbcfcc87a7718bef8a | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 799 | h | // Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_EXO_WAYLAND_ZCR_UI_CONTROLS_H_
#define COMPONENTS_EXO_WAYLAND_ZCR_UI_CONTROLS_H_
#include <memory>
#include "base/component_export.h"
namespace exo::wayla... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
69003c4d6ba95a78266f2aa71abd3732e820a817 | 32a97a55c0d38573310043e420c685f6943c798b | /code/app/src/scenario_benchmark.cpp | 379d30ecdd7a58109d864faa98c55b0ff9756900 | [] | no_license | allscale/allscale_amdados | 9af76a5fbd0ab4cc21b8c5bf0f1de6a9a6d94f7f | a080b6afc95d6f15f67a318854417fc45f187054 | refs/heads/master | 2020-03-30T01:52:23.638476 | 2018-10-09T12:51:40 | 2018-10-09T12:51:40 | 150,599,514 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,481 | cpp | //-----------------------------------------------------------------------------
// Author : Albert Akhriev, albert_akhriev@ie.ibm.com
// Copyright : IBM Research Ireland, 2017-2018
//-----------------------------------------------------------------------------
#include <cmath>
#include <iostream>
#include <iomanip>... | [
"albert_akhriev@ie.ibm.com"
] | albert_akhriev@ie.ibm.com |
f06f13b9f880968a8fecfbd7f4c54c3b13fa5748 | b5fddca944db7f6871b4f42e44908084aba1acb5 | /libretro-extract/LibretroDLL.cpp | 741628daabb0769d52e9fa7996f952207c463c7a | [] | no_license | pixl-project/repository.libretro | 303c1719fe9520fcd21c915fb2640ab5eaaff34f | 55645867ef3115787397e38727657541d1438a7b | refs/heads/master | 2021-01-15T08:40:49.388307 | 2014-05-31T07:13:53 | 2014-06-02T02:11:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,000 | cpp | /*
* Copyright (C) 2014 Team XBMC
* http://xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This ... | [
"garbearucla@gmail.com"
] | garbearucla@gmail.com |
2da56faa0adb547ec4f523fe5b4cf6e0b9353bc6 | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Source/Runtime/SlateCore/Public/Rendering/SlateRenderer.h | e369cb5a8f169227cb0787d9b5faf47ad91c3007 | [
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | windystrife/UnrealEngine_NVIDIAGameWorks | c3c7863083653caf1bc67d3ef104fb4b9f302e2a | b50e6338a7c5b26374d66306ebc7807541ff815e | refs/heads/4.18-GameWorks | 2023-03-11T02:50:08.471040 | 2022-01-13T20:50:29 | 2022-01-13T20:50:29 | 124,100,479 | 262 | 179 | MIT | 2022-12-16T05:36:38 | 2018-03-06T15:44:09 | C++ | UTF-8 | C++ | false | false | 15,384 | h | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Textures/SlateShaderResource.h"
#include "Brushes/SlateDynamicImageBrush.h"
#include "Rendering/DrawElements.h"
class FRHITexture2D;
class FSlateDrawBuffer;
class FSlateUpdatableTexture;
class ILayoutCache;
c... | [
"tungnt.rec@gmail.com"
] | tungnt.rec@gmail.com |
c490ca0938631cc0a743e593fdb0b014fb19f99f | 39e4886abb46b738986fe047ebdb7141094688de | /cpp/oj/146_lru_cache/main.cc | 36c1007b92bc32c51ef36c341fbb05d87ba6fbf1 | [] | no_license | yuzhuo/playground | 2a1c8c6b3a8ec74ea031027bf2cee30ec8a88b4a | ffc74753f209c8788ab72b51d0efdf11c5212329 | refs/heads/master | 2021-01-01T06:52:15.058083 | 2020-04-16T14:21:20 | 2020-04-16T14:21:20 | 97,536,132 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,241 | cc |
#include <list>
#include <unordered_map>
using namespace std;
class LRUCache {
struct _Item {
_Item(int v, list<int>::iterator it) {
val = v;
it_list = it;
}
int val;
list<int>::iterator it_list;
};
public:
LRUCache(int capacity) {
capacity_... | [
"goodcomrade@hotmail.com"
] | goodcomrade@hotmail.com |
7f1e37dbf6018eef045fc115a5e571d5a28486b8 | bb2b5b7dc50329453f73f387ae8c9497ae886398 | /src/Skybox.cpp | fe6ac7912c6c97bd4ec98e3e4cb0631baf5fb4c9 | [] | no_license | graypilgrim/transporter | a1e5f263b2e1f27b1259998508bdd7f76d30c9b1 | 865668b8a1927ff83a40cddec6ecced192889f79 | refs/heads/master | 2021-04-30T23:01:10.988193 | 2017-01-21T21:01:17 | 2017-01-21T21:01:17 | 76,290,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,165 | cpp | #include "../headers/Skybox.hpp"
Skybox::Skybox()
:Object(36, 3)
{
GLfloat skyboxVertices[] = {
-1.0f, 1.0f, -1.0f,
-1.0f, -1.0f, -1.0f,
1.0f, -1.0f, -1.0f,
1.0f, -1.0f, -1.0f,
1.0f, 1.0f, -1.0f,
-1.0f, 1.0f, -1.0f,
-1.0f, -1.0f, 1.0f,
-1.0f, -1.0f, -1.0f,
-1.0f, 1.0f, -1.0f,
-1.0f, 1.0f, -1.0f,
... | [
"lukwlazly@gmail.com"
] | lukwlazly@gmail.com |
1999a505d496aaf5e13e11c4afab5fce0b85ea34 | 745d39cad6b9e11506d424f008370b5dcb454c45 | /BOJ/15000/15655.cpp | 015ed3ab28ffdfd871d75c75668f2c2aba307d19 | [] | no_license | nsj6646/PS | 0191a36afa0c04451d704d8120dc25f336988a17 | d53c111a053b159a0fb584ff5aafc18556c54a1c | refs/heads/master | 2020-04-28T09:18:43.333045 | 2019-06-19T07:19:03 | 2019-06-19T07:19:03 | 175,162,727 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 590 | cpp | #include <cstdio>
#include <vector>
#include <algorithm>
using namespace std;
vector<int> ans;
int a[10001];
int visited[10001];
int n, m;
void solve(int l) {
if (l == m) {
for (int x : ans) {
printf("%d ", x);
}
printf("\n");
return;
}
for (int i = 0; i < n; i++) {
int &x = a[i];
if (visited[x] == 0&... | [
"nsj6646@gmail.com"
] | nsj6646@gmail.com |
b85523cef086104c92e3a29b4c891059487b3a4e | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14041/function14041_schedule_8/function14041_schedule_8_wrapper.cpp | 60886e0b4c28ea4d889622b620f3758ae4bd5331 | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 854 | cpp | #include "Halide.h"
#include "function14041_schedule_8_wrapper.h"
#include "tiramisu/utils.h"
#include <cstdlib>
#include <iostream>
#include <time.h>
#include <fstream>
#include <chrono>
#define MAX_RAND 200
int main(int, char **){Halide::Buffer<int32_t> buf0(256, 512, 512);
init_buffer(buf0, (int32_t)0);
... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
f6ceed85db93c7a28958b8f839e1a41da3ccbac1 | ce73c8dbc12dc519e81ba456025ab58a4ee2d3d4 | /src/qt/optionsmodel.h | 44b19c92261cda3a3102a7f9e5dbff74d97e0697 | [
"MIT"
] | permissive | mrfultons/tittiecoin-2-0 | f2b0f3aebbf0a28abc5840480367c346e9eb7689 | 657e02eead2510f3f98ae40b03a4cbe5ac5e2710 | refs/heads/master | 2020-05-09T13:41:13.330619 | 2019-04-13T11:52:44 | 2019-04-13T11:52:44 | 181,163,599 | 0 | 0 | MIT | 2019-04-13T11:52:51 | 2019-04-13T11:52:51 | null | UTF-8 | C++ | false | false | 3,249 | h | // Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_OPTIONSMODEL_H
#define BITCOIN_QT_OPTIONSMODEL_H
#include "amount.h"
#include <QAbstractListModel>
QT_BE... | [
"info@tittiecoin.com"
] | info@tittiecoin.com |
9855ed900210dd99511922a22b0c99cbb44579dd | 29bda8822baf9a96d22415ff2f125d429badfbbe | /Arduino/UberdustSensors/MemorySensor.h | cfaf7a52960e614d4bdc4a3459abdf845b9106b2 | [] | no_license | yandevelop19/sensorApps | d2b1e1599f62213db49a8a97be03823b3cd2eb2e | f6210ff591835e28e7deed7f2042389d18e4a71e | refs/heads/master | 2021-01-22T14:03:18.259585 | 2014-03-30T08:20:21 | 2014-03-30T08:20:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 482 | h | #include <CoapSensor.h>
class memorySensor :
public CoapSensor
{
public:
memorySensor(char * name):
CoapSensor(name)
{
this->set_notify_time(300);
}
void get_value( uint8_t* output_data, size_t* output_data_len)
{
*output_data_len = sprintf( (char*)output_data, "%d", this->freeRam());
}... | [
"amaxilat@cti.gr"
] | amaxilat@cti.gr |
158b51b7b7d6b1788e0cdddabb7870d16c0882dd | a5bf5d40e71b7899e8745242762d2ac953835576 | /Generate_Parentheses.cc | 4a7681182fdf78c2a38934907bb204bc32c82b05 | [] | no_license | yefengdanqing/my_leetcode_algorithm | 51ffd76bd14e288e8f1a19c6e0e040fc7dec0b49 | d3bb9bdc9cf6c5ab755d534d02e01242e3187297 | refs/heads/master | 2021-09-12T11:09:04.826231 | 2018-04-16T10:00:16 | 2018-04-16T10:00:16 | 83,684,913 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 907 | cc | class Solution {
public:
void helper(vector<string>& result,int left,int right,string s)
{
if(left>right)
//思考这个条件的限制于整个
return;
if(left==0&&right==0)
{
result.push_back(s);
return;
}
if(left>0)
helper(re... | [
"noreply@github.com"
] | yefengdanqing.noreply@github.com |
35d3bba9707de86f3b389aa3fc2c67ccfa80f0df | 60e6109421502f144477d83e57071af8a5477153 | /src/xtopcom/xpbase/src/redis_client.cc | 4631134b506e0aec33f3bf1ef1a90915bad14a1d | [
"MIT"
] | permissive | helenhuang-eng/TOP-chain | 3159ea477b431051c308b89bbf6d3c4f6d7599bf | 6741db2b4cd02a59db9f750791f9de191a644208 | refs/heads/dev/fast_sync_develop | 2023-05-09T20:23:44.138959 | 2021-04-29T06:24:32 | 2021-04-29T06:24:32 | 359,667,673 | 0 | 0 | null | 2021-04-26T03:27:10 | 2021-04-20T03:07:18 | C++ | UTF-8 | C++ | false | false | 1,258 | cc | #include "xpbase/base/redis_client.h"
#include <cassert>
namespace top {
namespace base {
RedisClient* RedisClient::Instance() {
static RedisClient ins;
return &ins;
}
bool RedisClient::Start(const std::string& ip, uint16_t port) {
std::unique_lock<std::mutex> lock(start_mutex_);
assert(!redis_cli_... | [
"zql0114@gmail.com"
] | zql0114@gmail.com |
24f4ffbb7cdd67f166c8c9d580ad27c2b10ffd66 | a6ec81a2855387fdfbbeb29ecd58f0710ef69205 | /src/Miner/Miner.h | 0f111c3603501bc983da7ad6ef3589750e59cb72 | [] | no_license | LithiumBit/LithiumBitWallet | d7d665c0258a73d6ae5c8229019448bf9202b0a0 | 4be7dd1911e52b4be101c325bf5e308b4a89410a | refs/heads/master | 2020-03-14T03:56:27.185127 | 2019-06-05T23:28:00 | 2019-06-05T23:28:00 | 131,430,563 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,154 | h | // Copyright (c) 2015-2017, The Bytecoin developers
//
// This file is part of Bytecoin.
//
// LithiumBit is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at you... | [
"hansolo@puroinstinto.net"
] | hansolo@puroinstinto.net |
1d14f59f10604ca7f3809f52c6ab1d089563d892 | f2ab63860218ca7927b6ee3a8d3bcb97099072d1 | /query_funcs.cpp | bbdc76f75846db3cfe5bb7a825a891e737392733 | [] | no_license | YuanyuanBlue/Database-Programming-Project | ef7646487746ba297d2b253016a809711eb1511b | eb90a51c70fb0e7be76675c5b632da957028cfc6 | refs/heads/master | 2020-04-17T05:14:53.224279 | 2019-01-17T17:51:31 | 2019-01-17T17:51:31 | 166,270,326 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,933 | cpp | #include "query_funcs.h"
void add_player(connection *C, int team_id, int jersey_num, string first_name, string last_name,
int mpg, int ppg, int rpg, int apg, double spg, double bpg)
{
string seq;
seq = "SELECT setval('player_player_id_seq', max(PLAYER_ID)) FROM PLAYER;";
stringstream nteam_id;
... | [
"yy194@duke.edu"
] | yy194@duke.edu |
21f895711bccc29156ded761299e3ba087403cb9 | 140163a8e8998382c1b8097187abf6111cecb02d | /T94.cpp | 414c064fa8aaa476c65b6f255da1ddf9171c0fdc | [] | no_license | yebanxinghui/leetcode | 2112510d2bc794b8334ed3c94c8b52c56d4d4cca | e75433a521d798fd8bddd91d43ace94ced274686 | refs/heads/master | 2022-09-08T03:14:40.564157 | 2020-05-26T13:05:17 | 2020-05-26T13:05:17 | 267,042,189 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 960 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
vector<int> inorderTraversal(TreeNode* root) {
stack<TreeNode*> S;
vector<int> ... | [
"1225841522@qq.com"
] | 1225841522@qq.com |
dffbd6a8ce3788e65bb299d090c99d29b3e89560 | 3670f46666214ef5e1ce6765e47b24758f3614a9 | /oneflow/user/kernels/slice_util.h | 030365493ff5d62950cda373b520ea7c7b16f83d | [
"Apache-2.0"
] | permissive | ashing-zhang/oneflow | 0b8bb478ccd6cabea2dca0864defddab231919bf | 70db228a4d361c916f8f8d85e908795b479e5d20 | refs/heads/master | 2022-12-14T21:13:46.752535 | 2020-09-07T03:08:52 | 2020-09-07T03:08:52 | 293,535,931 | 1 | 0 | Apache-2.0 | 2020-09-07T13:28:25 | 2020-09-07T13:28:24 | null | UTF-8 | C++ | false | false | 3,654 | h | /*
Copyright 2020 The OneFlow Authors. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | [
"noreply@github.com"
] | ashing-zhang.noreply@github.com |
9ad54a497163c828d1696517be2bcfd07a0103ae | 05ee5944509635baaac0326965304cd3011c5a4b | /CS106B/Chapter03 (Strings) Book Exercises/16. Obenglobish/Obenglobish.cpp | c93a9021259d55db4caf5309cd1f3fdc95809ce3 | [] | no_license | oliverpecha/Stanford-SEE | f170889ad02f6e9c9caeb19ccbfceda5cd64d6ad | 562605a8e0e72fb84bc7c899346d5c2282e6f31c | refs/heads/master | 2023-07-09T02:33:34.291651 | 2023-07-04T15:22:14 | 2023-07-04T15:22:14 | 229,628,585 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,717 | cpp | /*
* File: Obenglobish.cpp
* --------------
* Most people—at least those in English-speaking countries—have played the Pig Latin game
* at some point in their lives. There are, however, other invented “languages” in which words
* are created using some simple transformation of English. One such language is called ... | [
"oliverpecha@gmail.com"
] | oliverpecha@gmail.com |
78fb5ccfee1b3226faa0e5637ffd8b6af984377b | 74c9596045b75fc13d1944e4edd0505a120055be | /Chapter2/2.1.cpp | 16b57fdfa6f8b50b0872520935f5aa4dc74f6dc7 | [] | no_license | licesma/CCI | 67691921fcd487593b58b3916cd635cbf00a8a27 | c28312b5fedbfbde174188314237c5b34848cd9a | refs/heads/master | 2020-06-22T02:44:54.574853 | 2019-09-10T01:24:25 | 2019-09-10T01:24:25 | 197,613,996 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 471 | cpp |
#include <iostream>
#include "LinkedList.h"
using namespace std;
template <class T>
void deleteReps(ListNode* ln) {
ListNode* ptr; ptr = ln; ListNode* del;
while (ptr != nullptr) {
del = ptr->next;
if (del != nullptr) {
while (del->next != nullptr) {
if (del->next->val == ptr->val) del->next = del->next->... | [
"36255528+licesma@users.noreply.github.com"
] | 36255528+licesma@users.noreply.github.com |
b55fbbb4d4afa47f25576a2f391b22d54e949885 | 3ca6a6b52b525571da622100a57c8020cbdc185e | /examples/gaussianfilter/xf_gaussian_filter_tb.cpp | e394174f4197536e25a50552536c93c6ae276b61 | [
"BSD-3-Clause"
] | permissive | sudohello/xfopencv | 7dffe6d736ac24522fc5e128c2d89e366ba088a3 | e1d5e0015ea1980901703e989bf201962c8f3a4d | refs/heads/master | 2021-07-12T21:58:38.830318 | 2017-10-17T09:08:36 | 2017-10-17T09:08:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,983 | cpp | /***************************************************************************
Copyright (c) 2016, Xilinx, 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 ... | [
"gouthamb@xilinx.com"
] | gouthamb@xilinx.com |
06b7f3459418cc74d6cda2f20682ef13056eda65 | 85893cb85812e4c0d4003f9f9652b057bab295c4 | /src/gdimgui.h | 55b9a89c4887645d26cdfa737c029a57eac12525 | [
"MIT"
] | permissive | chaosddp/imgui-gdscript | d01c66814e171b7fe61acdd3e02844dcd928b766 | 9c2094bd8cb91842adbb0f024f4330daf9192fae | refs/heads/master | 2023-02-06T11:43:18.688694 | 2020-12-27T07:25:37 | 2020-12-27T07:25:37 | 324,135,677 | 0 | 0 | null | 2020-12-25T13:08:50 | 2020-12-24T11:01:43 | C++ | UTF-8 | C++ | false | false | 11,644 | h | #ifndef GDIMGUI_H
#define GDIMGUI_H
#include <Godot.hpp>
#include <CanvasItem.hpp>
#include <Image.hpp>
#include <ImageTexture.hpp>
#include <ArrayMesh.hpp>
#include <MeshInstance2D.hpp>
#include <VisualServer.hpp>
#include <Resource.hpp>
#include <Node2D.hpp>
#include <Input.hpp>
#include <InputEvent.hpp>
#include ... | [
"chaos.you@gmail.com"
] | chaos.you@gmail.com |
36ae491694a38f7c4e44a7c5fd023b2bcb417cea | a7ab64ae89d14ca8a64e8f52235188a2613f7ea0 | /PC/SDK/Entity/LocalPlayer/local_player.cpp | 46c2eec3b65101329fa2f91559351cf7229a20da | [
"BSD-3-Clause"
] | permissive | khizzioui97/SQ-Project-CSGO-Arduino | 556509746768291d99d17d6f51f75db6801aea48 | 50515e44b55d9e867c8eb60fa79e4737244b3990 | refs/heads/master | 2023-06-28T10:22:16.913785 | 2021-08-01T22:41:42 | 2021-08-01T22:41:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,255 | cpp | #include "local_player.h"
LocalPlayer::LocalPlayer(const Module& client, const DWORD client_state)
: AbstractLocalPlayer(
Memory::Read<DWORD>(client.base + Signatures::dwLocalPlayer)),
client_address_(client.base),
client_state_(client_state) {}
int LocalPlayer::GetCrosshairId() const {
return Memor... | [
"noreply@github.com"
] | khizzioui97.noreply@github.com |
6f870585cfcb8aa34f6ba883c4187efd7bb23f42 | b416199ce8e69cebd7645b7e69dd3ad1521f86ae | /zajecia5/zad2.cpp | 39f5a724d8a670fb144939a3b847727b0dddccff | [] | no_license | pstorozenko/YP2018L-cpp | a8645bc17a4e73101d01cb2697b819913553f360 | abadc203571825df969ecb5d7e6aa781c78c67e5 | refs/heads/master | 2021-04-03T06:05:34.042545 | 2018-04-24T08:32:22 | 2018-04-24T08:32:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 140 | cpp | #include <iostream>
using namespace std;
int main()
{
for (int i = 0; i < 10; i++) {
cout << "Piotr" << endl;
}
return 0;
}
| [
"pitrosk@gmail.com"
] | pitrosk@gmail.com |
619f7dfdad40ca21806cf2fcb6fbd593171e3daa | 29a7e4f39530427c7a8c50239c3980249f72eabd | /No.1-2/EmptyProject/DieEffect.h | eeb48b6eddc7838022256f3235e17c5c720be9a3 | [] | no_license | sojunyoup/No.1-2 | 6cae00cca567391d574ddd8b41c1a9b01847f497 | 4052580eee6e358231f2f428b2193a6f02366f60 | refs/heads/master | 2023-04-09T01:18:21.646509 | 2021-04-14T13:21:19 | 2021-04-14T13:21:19 | 357,912,478 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 345 | h | #pragma once
#include "Object.h"
class DieEffect : public Object
{
private:
int num;
float size = 1;
Vector2 Dir;
Timer* asd;
public:
DieEffect(Vector2 dir,int number);
// Object을(를) 통해 상속됨
virtual void Init() override;
virtual void Update() override;
virtual void Render() override;
virtual void Release() ove... | [
"thwnsuq46@naver.com"
] | thwnsuq46@naver.com |
a08056f14afbfc6829f2cebd74123f1abe8d5aa1 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_6404600001200128_0/C++/LilacLu/a.cpp | 8e580561fc172dc0807edf74a5ccaf66947f5949 | [] | 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 | 884 | cpp | #include <cstdio>
#define small
int T, n, x[1005];
int eatOne() {
int ret = 0;
for (int i = 1; i < n; ++i)
if (x[i] < x[i - 1])
ret += x[i - 1] - x[i];
return ret;
}
int eatTwo() {
int ret = 0, eatPerTenSec = 0;
for (int i = 1; i < n; ++i)
if (x[i - 1] - x[i] > eatPerTenSec)
eatPer... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
77288941ec92a5f99d28a1176c8ee0a853893f48 | b77349e25b6154dae08820d92ac01601d4e761ee | /List/rebuild_clist/FileInfoList.cpp | d1ae3563241b6ffa052c6679fd8991d84e7f058b | [] | no_license | ShiverZm/MFC | e084c3460fe78f820ff1fec46fe1fc575c3e3538 | 3d05380d2e02b67269d2f0eb136a3ac3de0dbbab | refs/heads/master | 2023-02-21T08:57:39.316634 | 2021-01-26T10:18:38 | 2021-01-26T10:18:38 | 332,725,087 | 0 | 0 | null | 2021-01-25T11:35:20 | 2021-01-25T11:29:59 | null | GB18030 | C++ | false | false | 21,485 | cpp | #include "StdAfx.h"
#include "FileInfoList.h"
#include "PublicFunc.h"
#include "ImgBaseFunc.h"
FileInfoList::FileInfoList(void)
{
m_filUpItem=NULL; //链表中上一项的值
m_filNextItem=NULL; //链表中下一项的值
m_imgSmallPhotoImage=NULL; //存放缩略图文件
}
FileInfoList::~FileInfoList(void)
{
//if(m_imgSmallPhotoImage!=NUL... | [
"w.z.y2006@163.com"
] | w.z.y2006@163.com |
966d1200b5cb66a31dc7249132882ad8bb9f7351 | e488b0a72378f25c7c5a1520220ee00aac588c67 | /7/7.2-protos.cpp | fe9e2f18582d4dca6df9bc1d7a10036c2d76f065 | [] | no_license | freedomhust/C-plus-plus-learning | cb7d464030edefb97fa4ab4054716b89936233f5 | 4bca0c6a31fa09a61b48f6d7153da6cce9ee22a5 | refs/heads/master | 2020-03-25T06:06:27.964129 | 2018-08-11T14:12:20 | 2018-08-11T14:12:20 | 143,483,348 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 505 | cpp | #include<iostream>
void cheers(int);
double cube(double x);
int main(void){
using namespace std;
cheers(5);
cout << "Give me a number.\n";
double side;
cin >> side;
double volume = cube(side);
cout << "A " << side << "-foot cube has a volume of ";
cout << volume << " cubic feet.\n";
cheers(cub... | [
"u201614891@hust.edu.cn"
] | u201614891@hust.edu.cn |
d3b769a379929844a1a9822faaab030aa927329d | 6b9aa0d16db111b8c8022bfa60a61d46f87eb559 | /python/payloads/DmaBackdoorHv/backdoor_client/driver_loader_sk/runtime/runtime.cpp | 7fac850855c5be7b060619243c0fecc244d6352e | [] | no_license | EgeBalci/s6_pcie_microblaze | a927f311b422f8052390cb17488018dd0b86cb8a | e05e197623422fe56426a46b4f1727891cf234a1 | refs/heads/master | 2023-04-22T13:54:44.635441 | 2021-05-03T02:07:42 | 2021-05-03T02:07:42 | 364,640,681 | 1 | 0 | null | 2021-05-05T16:30:35 | 2021-05-05T16:30:35 | null | UTF-8 | C++ | false | false | 7,449 | cpp | #include "stdafx.h"
// make crt functions inline
#pragma intrinsic(memcpy, strcpy, strcmp)
#define RtDbgMsg
//--------------------------------------------------------------------------------------
PVOID RuntimeGetModuleBase(char *ModuleName)
{
if (!std_strcmp(ModuleName, "securekernel.exe"))
{
... | [
"cr4sh0@gmail.com"
] | cr4sh0@gmail.com |
9848def83d055502091e8bace5ce35f459577719 | 5fb9b06a4bf002fc851502717a020362b7d9d042 | /developertools/GumpEditor/entity/GumpPicturePropertyPage.cpp | 742dbd5e665b71b33a20eadbe2c4ac2c1de5ca7d | [] | no_license | bravesoftdz/iris-svn | 8f30b28773cf55ecf8951b982370854536d78870 | c03438fcf59d9c788f6cb66b6cb9cf7235fbcbd4 | refs/heads/master | 2021-12-05T18:32:54.525624 | 2006-08-21T13:10:54 | 2006-08-21T13:10:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,623 | cpp | #include "stdafx.h"
#include "GumpEditor.h"
#include "GumpPicturePropertyPage.h"
#include "GumpPicture.h"
#include "GumpEditorDoc.h"
IMPLEMENT_DYNAMIC(CGumpPicturePropertyPage, CDiagramPropertyPage)
CGumpPicturePropertyPage::CGumpPicturePropertyPage()
: CDiagramPropertyPage(CGumpPicturePropertyPage::IDD)
... | [
"sience@a725d9c3-d2eb-0310-b856-fa980ef11a19"
] | sience@a725d9c3-d2eb-0310-b856-fa980ef11a19 |
14a7e5dad9f7f25d3fa9633f5de0345da27674da | 8f92eb73fc84d1477e00fe9c7fb811410c77ddc3 | /Code/WriteBack.cpp | 7a59072a1d8f8df705f40786e9892760d931c6f6 | [] | no_license | MerinS/PipelinedMIPS | b8f6a4cb62d7883830da10ac4aed49af96d07d7c | 89f6d1103ed1fcdda008914d0900f5b663eaeea0 | refs/heads/master | 2021-08-15T01:35:17.114275 | 2017-11-17T04:37:39 | 2017-11-17T04:37:39 | 111,055,861 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 920 | cpp | /*
* WriteBack.cpp
*
* Created on: Nov 14, 2017
* Author: merinsan
*/
#include "WriteBack.h"
void WriteBack::eval(IssueUnit::Operation_details var){
if( var.type == 12){
this -> setRegistersBack(var);
}
else{
RegisterController::R[var.rdes].value = var.val;
this -> setRegistersBack(var);
}
retur... | [
"merinsan@Merins-MacBook-Pro.local"
] | merinsan@Merins-MacBook-Pro.local |
4ce290b1073ba7e4b96900239e552b6623d7f01d | 091ca8b505b277c9cb3cc228eb25836438b6b4bf | /aesxx/include/aesxx/aes.hpp | efac790aa01638b645e39fff309038ec81d66d51 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | egor-tensin/aes-tools | cc8dc6e0a0ab879c319c55d8413b4fddf2d90325 | 4bcbf7dbadb234657c6853c26e113184c74eb0a2 | refs/heads/master | 2023-07-07T18:25:29.395994 | 2023-07-04T07:00:37 | 2023-07-04T07:00:37 | 36,039,229 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,532 | hpp | // Copyright (c) 2015 Egor Tensin <Egor.Tensin@gmail.com>
// This file is part of the "AES tools" project.
// For details, see https://github.com/egor-tensin/aes-tools.
// Distributed under the MIT License.
#pragma once
#include "algorithm.hpp"
#include "api.hpp"
#include "error.hpp"
#include "mode.hpp"
#include <ae... | [
"Egor.Tensin@gmail.com"
] | Egor.Tensin@gmail.com |
75f95519c75e4b95f30b30dfe1349f213ec5f17b | d3c00fc00ed3d4311ee4bb8714acddd14675ad6c | /LoginDlg.h | 8462b2d6626bcd87306c86d3c611476d49a2c4e0 | [] | no_license | lijinfeng0713/chart | defcbc6141bf25fa938b73be557c887b0754811a | 81df7b7aca492f014b2da6ff5730c42d612dc4f1 | refs/heads/master | 2021-05-30T01:42:31.223163 | 2015-11-23T05:17:32 | 2015-11-23T05:17:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,343 | h | #if !defined(AFX_LOGINDLG_H__3A314ED2_A09D_413A_B695_35D12C498C96__INCLUDED_)
#define AFX_LOGINDLG_H__3A314ED2_A09D_413A_B695_35D12C498C96__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// LoginDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
... | [
"1063810293@qq.com"
] | 1063810293@qq.com |
e3eeef2d785cada70ce0ee8edf1518623506f91c | 65be1edccb24fb3fdd5fae8856ed71b4051ed51c | /Sorting Algorithms/!DS Lab - Sorting Techniques.cpp | 45a9101ac4c42351d379ddcde5cec5347079e2b9 | [] | no_license | Akash-Macha/C-Programs | 1b0b4106b60c1ecc1f48691be57cbd4911ec1e92 | 73105d9f05f4bd7b5eeb1dc160934e1fa920b8ef | refs/heads/master | 2020-03-18T21:39:50.096442 | 2018-08-07T16:41:10 | 2018-08-07T16:41:10 | 135,293,528 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,045 | cpp | /*
Linear Search Using function template
Binary Search
Insertion Sort in ascending
Selection Sort template in decending
Quick Sort template in ascending
Merge Sort ascending
*/
#include<iostream>
#include<algorithm>
using namespace std;
template<class t>
void print(t *A,int n)
{
cout << "... | [
"noreply@github.com"
] | Akash-Macha.noreply@github.com |
c28241954888036407cb356acaed5282437acb89 | 61d346406ff1f1cbf60e67f9d868dabdf901e574 | /Code/BehaviorBase.cpp | 3c24e7f06873a0140d7e4d4ecef607224190116e | [] | no_license | kentones/KtLibWin32 | 46ced841e32b03e972ea8e7d37b5e23adc4a0174 | 8247dc4d0f89fb88f155f3f365f7d9cfaae19ed5 | refs/heads/master | 2021-08-22T19:47:37.182532 | 2017-12-01T04:07:42 | 2017-12-01T04:07:42 | 109,515,006 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 58 | cpp | #include "pch.h"
namespace KtLib
{
} //namespace KtLib | [
"kentones@fastmail.com"
] | kentones@fastmail.com |
32da3a2c4f931611e4cc5bdb620883c874abcb30 | b3c4c6b496721fe0cd674f3b01b4dbc8c27ab9b6 | /video3/App/Il2CppOutputProject/Source/il2cppOutput/Il2CppCompilerCalculateTypeValues_7Table.cpp | d8ade1eb8ca08c6288b34b7d53ffc2399eefdc01 | [] | no_license | Anhtuan1/stream_hololens | 399080a7a3d6fa8e34f2809eb0087a703d3a547a | 240622602aa423d4cdd0e8bac6f6b2f2d260ac3c | refs/heads/master | 2020-03-10T04:53:17.871539 | 2018-04-12T06:56:04 | 2018-04-12T06:56:04 | 129,203,825 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 235,434 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "il... | [
"tuannapci@gmail.com"
] | tuannapci@gmail.com |
de3321a73c22f47f061891bc83f6a3bd64645815 | c0e0138bff95c2eac038349772e36754887a10ae | /mdk_release_18.08.10_general_purpose/mdk/common/components/kernelLib/MvCV/kernels/gaussVx2_fp16/unittest/dummy/shave/init.cpp | 241327709ed20f2dc4fc7e0aca6fbf230b623703 | [] | no_license | elfmedy/vvdn_tofa | f24d2e1adc617db5f2b1aef85f478998aa1840c9 | ce514e0506738a50c0e3f098d8363f206503a311 | refs/heads/master | 2020-04-13T17:52:19.490921 | 2018-09-25T12:01:21 | 2018-09-25T12:01:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,336 | cpp | ///
/// @file
/// @copyright All code copyright Movidius Ltd 2013, all rights reserved.
/// For License Warranty see: common/license.txt
///
/// @brief kernel function call for unitary test
///
#include <gaussVx2_fp16.h>
#include <stdio.h>
#include <mv_types.h>
#include <moviVectorTypes.h>
#include <sv... | [
"palani.andavan@vvdntech.com"
] | palani.andavan@vvdntech.com |
1a2c35fbeb2f642ab9484019ce0ed118eaac19c1 | afe991161d81ea71dec338ecb5cd287243cbbcdb | /FundOfComp/Lab6-2/kilomile.cpp | d7799571db26e3574b7c72afb5f78d91a6149f45 | [] | no_license | ryanlockman333/UCDenver_School_Projects | 909bfe4ba4952f702026a0cdc796fa59a295a68b | ea69b8ffb8056aef6ecc017db86191a4edfcddd0 | refs/heads/master | 2022-01-17T12:54:05.796899 | 2022-01-12T20:09:31 | 2022-01-12T20:09:31 | 153,162,614 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,626 | cpp | /*
This program will calculate miles into kilometres or kilometres into miles
depending on the user's choice.
Ryan Lockman: 101430670
*/
// Headers
#include <iostream>
// Global Constants
const float KTOM = .621, MTOK = 1.61;
// Function Prototypes
float kiloToMile(float kiloIn);
float mileToKilo(floa... | [
"noreply@github.com"
] | ryanlockman333.noreply@github.com |
bc1d662657797561f5b3dd91017de765393c19ad | 07b79ec27132b2632fc0273efad4647f56b70068 | /cpptest1.cpp | 5b8f26adac5624ba2899695012a1dee09682b804 | [] | no_license | oliverhust/cpp_lianxi | 549797eefb4742c87dc10155cedd31b4c6081518 | 6a162068a374af0ded7237af7eb9d4dc11112034 | refs/heads/master | 2020-07-22T22:41:58.162958 | 2016-12-09T01:15:23 | 2016-12-09T01:15:23 | 67,104,685 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 207 | cpp | #include <iostream>
#include <string>
using namespace std;
int main()
{
char str[100];
memcpy(str, "abc", 4);
printf("%s\n", str);
cout << "abcdeg1" << endl;
cout << "abcdeg2" << endl;
return 0;
} | [
"liangjinchao@d3p.com"
] | liangjinchao@d3p.com |
b6fc6baec63d92eb27cbcbdce3307a90e848c9fa | 7ffc27ff353e974f6257e7ada0cd494439e2be4f | /11/1172.cpp | 4c35231ee232514633c004ba8f9c2390e83e4744 | [] | no_license | ryogo108/AOJ | 95811475b9f4fbbe18bbf52dd4bb849a4f5395a5 | b91ad129cf63413f819963d74e10639b50caa778 | refs/heads/master | 2018-12-28T08:59:18.429325 | 2015-08-12T06:11:44 | 2015-08-12T06:11:44 | 28,731,035 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | cpp | #include<iostream>
#include<set>
using namespace std;
set<int>prime;
int main(){
prime.insert(2);
for(int i=3;i<500000;i++){
for(int j=2;j*j<=i;j++){
if(i%j==0)goto fail;
}
prime.insert(i);
fail:;
}
int n;
while(cin>>n && n){
int ans=0;
for(set<int>::iterator itr=prime.upper_bound(n);*itr<=n*2;it... | [
"ryogo.1008@gmail.com"
] | ryogo.1008@gmail.com |
41cf27fb7171adb5d4a9dd5b64ba5cbea9a54f65 | ff21dffd374ea4dc40977a0388671d515c22ca01 | /include/script.h | 52640f4e38552816cc1c7814abc5a64d83aa76c8 | [] | no_license | fangcun010/UnLike3D | c701d06ed94854f55868bad9569aaafa67b5f295 | ad53751674479f4b25ac2a88b4b43ed9bb84d5dc | refs/heads/master | 2020-05-01T08:25:39.050517 | 2019-07-05T09:50:22 | 2019-07-05T09:50:22 | 177,378,619 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,444 | h | /*
MIT License
Copyright(c) 2019 fangcun
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, publish, distribu... | [
"fangcun010@gmail.com"
] | fangcun010@gmail.com |
baf3732f627f1308da647185f710f42e30475631 | 3802934b14ec8bbc0e62cd37f25fcc337d37d426 | /Online Judge/Number Theory/Unisequence.cpp | 427b7faebaee417e3e864f91414e86085716c66a | [] | no_license | Mdananda/Competitive-Programming | b8f21c177bc71d55e086689f3782be2bb4caae2d | a59f605f2d2bc7f693001831c1aeb1182581e3da | refs/heads/master | 2023-04-27T14:14:48.799117 | 2021-05-02T15:26:56 | 2021-05-02T15:26:56 | 363,454,275 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 645 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define sc scanf
#define pf printf
#define pb push_back
int main()
{
ll i, j, n, cnt = 0, ans = 0;
sc("%lld", &n);
vector<int> vec;
map <ll, ll> mp;
for(int i = 1; i <= n; ++i)
{
ll x;
sc("%lld", &x);
... | [
"ananda_0121@yahoo.com"
] | ananda_0121@yahoo.com |
e3617eb8a7cc027de63ba6ec508af85cbca8ff55 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_6404600001200128_0/C++/stzgd/A.cpp | 9d0daa375abe2148945baa7f72365c658c2cc313 | [] | 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 | 777 | cpp | #include <cstdio>
#include <cassert>
const int MAXN = 1111;
int n;
int m[MAXN];
void Init() {
assert(scanf("%d", &n) == 1);
for (int i = 0; i < n; ++i) {
assert(scanf("%d", m + i) == 1);
}
}
void Work() {
int ans1 = 0;
for (int i = 1; i < n; ++i) {
if (m[i] < m[i - 1]) {
ans1 += m[i - 1] - m... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
4b94c9262be038db7ca7f7e321c2ce57f6a3be15 | 0af0e7e9d42da580595ff421efe0b06acf38f0c3 | /include/ReadWrite.h | 76cade4a2a1611dc697231625645eac5d7a6ffb8 | [] | no_license | StevenLarge/DiscreteControl_BaseCode | 1425212bb5cd94a449dfd5aa658320e96a359f0a | 0ece5dc2a7366aa850f9cea64b926188a2db2a73 | refs/heads/master | 2020-03-16T20:00:25.031041 | 2018-05-10T18:55:22 | 2018-05-10T18:55:22 | 132,942,308 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 751 | h | /* This is a header file for the Discrete Control Nonequilbrium simulations pertaining to protocol read-in */
#include <string>
void ImportProtocol(double * CPVals, double * LagTimes, int NumCPVals, int TotalTime, int FLAG=0);
void ImportProtocol_String(double * CPVals, double * LagTimes, int NumCPVals, std::string F... | [
"stevelarge7@gmail.com"
] | stevelarge7@gmail.com |
60234d1788cdaa87cad6e357fb198d7e69a938e2 | be1c5a30a6afbb1c7b076eb648651297259a1ed5 | /ObjLoader.hpp | 1405df9b9150ff8af59aaac8e47b1cd1d69417b7 | [] | no_license | slinh/art-toolkit-magic-weapon | 01fdbf3bb1be701ce64269bb942aa17da889cca5 | b6a68f35f74049b6d9ab100ecce694d47ddc3826 | refs/heads/master | 2020-08-06T15:29:12.957187 | 2011-03-16T11:32:43 | 2011-03-16T11:32:43 | 32,493,654 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,261 | hpp | #ifndef __OBJ_LOADER_HPP__
#define __OBJ_LOADER_HPP__
#ifdef __APPLE__
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif
#include <iostream>
#include <string>
#include <vector>
class Bbox;
/* vector */
typedef float vec3_t[3];
typedef float vec4_t[4];
/* vertex */
typedef struct
{
vec4_t xyzw;
} obj_v... | [
"sophie.linh@86055e40-30d1-0f7e-394c-3b6f406c40ea"
] | sophie.linh@86055e40-30d1-0f7e-394c-3b6f406c40ea |
3f37e023fa025fc054869136719126d8f00b08a5 | 7b2c18f8e8db5e3cfe71e8a791d2cc6e180e208c | /assignments/week1/day5/Dewan_Sunnah_LC_1190.cpp | 4b2704c0bd12139fcb44fb145f60953625547139 | [] | no_license | Dew613/TechnicalInterviewPrep2020 | 909ca0d9311c60e268624ff265670cbcd9a986a9 | be307bd14d8560979cf42fb5f685274003e44f86 | refs/heads/master | 2022-10-16T21:25:39.432613 | 2020-06-15T15:24:34 | 2020-06-15T15:24:34 | 268,604,148 | 0 | 0 | null | 2020-06-01T18:43:40 | 2020-06-01T18:43:40 | null | UTF-8 | C++ | false | false | 1,684 | cpp | /*
Name: Dewan Sunnah
Date: 6/5/20
Problem: https://leetcode.com/problems/reverse-substrings-between-each-pair-of-parentheses/
*/
#include <stack>
#include <iostream>
using namespace std;
string reverse_string(string s){
string ans = "";
for (int i = s.length()-1; i >= 0; i--)
ans+= s[i];
... | [
"dewansunnah@Dewans-MBP.fios-router.home"
] | dewansunnah@Dewans-MBP.fios-router.home |
31df750eb1d6c5a00772a3611ddb8ae039c93e94 | f48b6190bd8ff46a8b2c4feeffeef221fd4a8f2b | /invert/src/ofApp.h | e136880e2bbcddbd3a30cf388467e7eece0c907f | [] | no_license | minhajfalaki/cv_basic_cpp | 059d3aa021f01cd2a9f929fa821484575ab1e978 | 08e1cfbb9a41b3d8013213ec67ca76a7d9b7b155 | refs/heads/master | 2020-04-11T11:12:39.178151 | 2018-12-14T06:37:01 | 2018-12-14T06:37:01 | 161,741,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 227 | h |
# pragma once
# include "ofMain.h"
class ofApp : public ofBaseApp
{
public:
void setup();
void update();
void draw();
int w,h;
unsigned char * output1;
ofTexture videoTexture01;
ofVideoGrabber videoFeed;
}; | [
"minhajfalaki@github.com"
] | minhajfalaki@github.com |
4918de0e0eebae0313c5eb40434cc941d91d903b | 5678e5fce02d70efd418bb8594966d8b1acadf9d | /app/src/CQRotatedText.cpp | a45955b4ea00829baaa8ae045008f7717db17cfe | [
"MIT"
] | permissive | colinw7/CTk | 2a4f408c4482c9fa4d498ad6fb92d8f81470d5e9 | a68c5d5aafcd6dbe0b01c9cb4d384be5cbad092b | refs/heads/master | 2023-08-17T06:33:22.845710 | 2023-08-15T14:00:19 | 2023-08-15T14:00:19 | 67,455,686 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,312 | cpp | #include <CQRotatedText.h>
#include <QPainter>
#include <cmath>
namespace CQRotatedText {
void
drawRotatedText(QPainter *painter, double x, double y, const QString &text,
double angle, Qt::Alignment align, bool alignBBox)
{
painter->save();
QFontMetrics fm(painter->font());
int th = fm.height... | [
"colinw7@gmail.com"
] | colinw7@gmail.com |
fde286e26b446a9ec7cdc49d3b9020d79039398e | cad04bb71f3afd50c4df3b2f321cd378d3ad8cb9 | /OJ practices/PTA习题:数据结构与算法题目集/7-38 寻找大富翁.cpp | 03b8ed959edc9ec47e12adc3694f82b11ff85fb8 | [] | no_license | SourDumplings/CodeSolutions | 9033de38005b1d90488e64ccbb99f91c7e7b71ec | 5f9eca3fe5701a8fca234343fde31cfcba94cf27 | refs/heads/master | 2023-08-16T17:23:34.977471 | 2023-08-07T13:14:47 | 2023-08-07T13:14:47 | 110,331,879 | 10 | 8 | null | 2023-06-14T22:25:16 | 2017-11-11T08:59:11 | C | UTF-8 | C++ | false | false | 721 | cpp | /*
@Date : 2018-03-15 13:17:04
@Author : 酸饺子 (changzheng300@foxmail.com)
@Link : https://github.com/SourDumplings
@Version : $Id$
*/
/*
https://pintia.cn/problem-sets/15/problems/865
*/
#include <iostream>
#include <cstdio>
#include <queue>
using namespace std;
int main(int argc, char const *argv[])
{
... | [
"changzheng300@foxmail.com"
] | changzheng300@foxmail.com |
74ce6499cb401dee8ce258c64138a0f8b764cafb | 19668b1c9f0e6669ba1d59a8158b495792f8687d | /Bolt-Core/src/Graphics/Assets/Meshes/Materials/MaterialGraph/Nodes/MasterNodes/LitMasterNodes.h | f086b9381f8cbc16d2f28fe477e58825eababde3 | [] | no_license | Totomosic/Bolt | a80f50ce2da4cc7dabe92023df9448eb7b57f026 | 3ca257f9f33ef0d04b213365ef42d9a4925b29ef | refs/heads/master | 2021-06-28T19:06:30.656098 | 2020-09-09T13:26:23 | 2020-09-09T13:26:23 | 144,455,421 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 434 | h | #pragma once
#include "../MasterNode.h"
namespace Bolt
{
class BLT_API ShininessNode : public MasterNode
{
public:
ShininessNode();
virtual void ConnectDefaults(MaterialGraph& graph, const MaterialGraphContext& context) override;
};
class BLT_API ShineDamperNode : public MasterNode
{
public:
ShineDamper... | [
"jordan.thomas.morrison@gmail.com"
] | jordan.thomas.morrison@gmail.com |
6a1b004da1790c64c1e6a71ac7235cb2c6b298c1 | 3a535e6506cff3aa42c993e2ef6cb81bd3169a96 | /src/ofApp.cpp | c543d45c640ef6418aef80ce2ad9729077203175 | [] | no_license | davidruvalcabagonzalez/cs134Project | 47f932e62450342feebdf47954917974007d8a74 | afc7e0b7ee1ce6e4b8936d89d336010ea1b48cfe | refs/heads/master | 2020-03-13T17:51:07.809609 | 2018-05-11T03:56:08 | 2018-05-11T03:56:08 | 131,225,130 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 22,782 | cpp |
//--------------------------------------------------------------
//
// Kevin M. Smith
//
// Mars HiRise Project - startup scene
//
// This is an openFrameworks 3D scene that includes an EasyCam
// and example 3D geometry which I have reconstructed from Mars
// HiRis photographs taken the Mars Reconnaisa... | [
"yukaiyang@sjsu.edu"
] | yukaiyang@sjsu.edu |
684c94307e01a5c4f05fbe227b7f1ad6268e8501 | f840958d7a835cfabdeb5f14500b5aab753a0c1c | /src/audio/buffer/SampleBuffer.hpp | 075589ab713b49502c3a8564a1a655c2ec37a3eb | [] | no_license | Bluemi/audio_analyser | f4134d905919701e2a9134c7d92a3b356a6e70ae | f2613a784af0ea55d78d3e1c9901add7e156ae9a | refs/heads/master | 2021-09-11T19:55:42.253298 | 2018-04-11T19:42:03 | 2018-04-11T19:42:03 | 103,429,513 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,041 | hpp | #ifndef __SAMPLE_BUFFER_CLASS__
#define __SAMPLE_BUFFER_CLASS__
#include <sndfile.h>
#include <vector>
#include <buffer/Buffer.hpp>
#include <audio/channel/ChannelIterator.hpp>
namespace analyser {
class Time;
class PartialTime;
class Sample;
class Channel;
class ChannelBlock;
class SampleBufferIterator;
cla... | [
"bruno.schilling@protonmail.ch"
] | bruno.schilling@protonmail.ch |
88bce21d6fb4c5e5f758f6391669a1d8a58a2580 | c3063f0b1d20e49a6796ae2f25d2a7327600804c | /SessionLoggerService.h | 78973409c7b7d7d5f769cc52b2a88aedfdff0abb | [
"MIT"
] | permissive | UiPathJapan/SessionLogger | 557a979d936e7ee7a3241bcab12a786aeeba41f1 | 460f2248b06a06c471283960de6b2b985ed06413 | refs/heads/master | 2020-04-22T04:32:33.441727 | 2019-02-11T12:48:06 | 2019-02-11T12:48:06 | 170,126,466 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,743 | h | /*
Copyright (C) 2018-2019 UiPath, All rights reserved.
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, p... | [
"hideaki.narita@uipath.com"
] | hideaki.narita@uipath.com |
41603a6ae516a71dd6860b8204f90568876b6560 | 4a51efb5137a2e7015d8e38bbb147aacf119b200 | /include/Pico80/api/IPicoSettings.h | 5339114476ffce420effb74d78a0de32ac8e5c29 | [] | no_license | Snektron/Pico80 | 20104d4b3455f3ff4918cf0941c47501924fdd67 | 3b3c49c4bcbbf9da502ab878d1168cd73e3aaa7e | refs/heads/master | 2021-01-24T10:06:54.147277 | 2017-02-01T22:41:25 | 2017-02-01T22:41:25 | 69,671,957 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 302 | h | #ifndef IPICOSETTINGS_H
#define IPICOSETTINGS_H
#include <QVariant>
class IPicoSettings
{
public:
virtual QVariant value(QString key, QVariant defaultValue = QVariant()) = 0;
virtual void setValue(QString key, QVariant value) = 0;
virtual ~IPicoSettings() = default;
};
#endif // IPICOSETTINGS_H
| [
"voetterrb1a@gmail.com"
] | voetterrb1a@gmail.com |
f2912824a58f144b99e9b22e64110e3edee3ac83 | 880d41f5d95b0df36bd61ec3e5a02f0461396dac | /Server/IOCP공부/오버랩_다른플레이어/GameServer_Chess.cpp | e82de5e8a325081b2e2a68862340e9837f97918b | [] | no_license | kbs5435586/Graduation | 75eebc35896df6433de8a7cf0e3b99054fc3cc94 | 9b024f5a14a408a81a54ac8c84081bb6ab3f7886 | refs/heads/master | 2023-07-31T16:10:16.773038 | 2021-09-24T21:52:22 | 2021-09-24T21:52:22 | 298,283,260 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,091 | cpp | #include "stdafx.h"
#include "GameServer_Chess.h"
#include "protocol.h"
using namespace std;
#define WM_SOCKET (WM_USER+1)
#define MAX_LOADSTRING 100
// 전역 변수:
HINSTANCE hInst; // 현재 인스턴스입니다.
WCHAR szTitle[MAX_LOADSTRING]; // 제목 표시줄 텍스트입니다.
WCHAR szWindowClass[MAX_LOA... | [
"jumpok821@gmail.com"
] | jumpok821@gmail.com |
750cf8d76a301cf396fe39ac58fbc19b482961fc | c3203a11c0ab4f9e3a853fcd658166990cf8487b | /URI/Level1/1117/ideone_kBCByk.cpp | a6d84fef7d9174f3618717eadb2b3a7cb5c6f0c7 | [] | no_license | betogaona7/CompetitiveProgramming | 3d37688f028593a2314c676f3e01cc0e5b6d1d8e | 5ac5b7bf13941cc56f28e595eeb33acfa98650b3 | refs/heads/master | 2021-01-12T06:09:24.069374 | 2020-04-23T15:02:16 | 2020-04-23T15:02:16 | 77,318,404 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 284 | cpp | #include <stdio.h>
int main() {
float average = 0, score;
int val = 0;
while(val < 2){
scanf("%f", &score);
if(score >= 0 && score <= 10){
average += score;
val += 1;
}else{
printf("nota invalida\n");
}
}
printf("media = %.2f\n", average/2);
return 0;
} | [
"albertoo_3c@hotmail.com"
] | albertoo_3c@hotmail.com |
7062f11ff99f5fb730ccd987d41d9cca2d9a50b3 | 6ceea1c3bb286144bc0a1b319ee84c7d83dbe930 | /lab52/MyClass.cpp | 67e7566e3da0d10aabb85e9ec898a2a6bad15049 | [] | no_license | cclavin/calebclavin-CSCI20-Fall2017 | 37fbaf439f853ce6cd59ea4c1a6f9b065fe93d74 | 08f26c05e320427ad0f7d526b64118fb29644370 | refs/heads/master | 2021-01-19T18:22:21.969953 | 2017-12-13T01:27:15 | 2017-12-13T01:27:15 | 101,127,926 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 244 | cpp | #include <iostream>
#include "MyClass.h"
MyClass::MyClass() : num_(0) {}
void MyClass::Output() {
cout << "My number is: " << num_ << endl;
}
void MyClass::SetNumber(int num){
num_ = num;
}
int MyClass::GetNumber(){
return num_;
} | [
"cclavin001@student.butte.edu"
] | cclavin001@student.butte.edu |
be4338f5216320aaf9938333a895dab3c4f5234c | 367a266c280e43cb99acdf77f5b3ef3adf61a22c | /Arduino/digital_hourglass/digital_hourglass.ino | c0788df799cc97dcdedd18fc428c34a0a789138d | [] | no_license | Idifixsmurfen/Arduino | b82496f18ebb523be3b182cb12e4ef206d4f4282 | ace8b1421bb16c9ba8b129c7ae3ecb90f53ca892 | refs/heads/master | 2022-10-01T12:54:36.440638 | 2020-06-08T17:25:52 | 2020-06-08T17:25:52 | 270,760,311 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 309 | ino |
digitalWrite(led, HIGH);
led++;
if(led == 7){
}
}
switchState = digitalRead(switchPin);
if(switchState != prevSwitchState){
for(int x = 2;x<8++){
digitalWrite(x, LOW);
}
led = 2;
previousTime = currentTime
}
prevSwitchState = switchState
| [
"noreply@github.com"
] | Idifixsmurfen.noreply@github.com |
c52c82692938e854694f539aa8f9e6aac072e91d | f0473ea5206868bd510f6b7008c788ec50c3feef | /812.cpp | e015a716eb677544baf3a8a629ed16a14ccc8e34 | [] | no_license | gary1346aa/Leetcode-Algo-Training | aff8f1281870e74bb04af25b2c047681c5735a5b | 0d379472326307d959b8bc51e42eee69f3e957e4 | refs/heads/master | 2020-03-10T12:19:15.862443 | 2018-04-13T16:16:06 | 2018-04-13T16:16:06 | 129,375,083 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,044 | cpp | #include <cmath>
class Solution {
public:
double largestTriangleArea(vector<vector<int>>& points) {
double a = 0;
for(int i = 0; i < points.size() - 2; i++){
for (int j = i+1; j < points.size() - 1; j++){
for( int k = j + 1; k < points.size() ; k++){
d... | [
"gary1346aa@gmail.com"
] | gary1346aa@gmail.com |
1dde03ccacb4f3d920fadb32d367732a214f59e5 | 2d42a50f7f3b4a864ee19a42ea88a79be4320069 | /source/game/data_domain/humans/femaleclass.h | 8281019351a544cd1538dc1370e61ad3eef80e24 | [] | no_license | Mikalai/punk_project_a | 8a4f55e49e2ad478fdeefa68293012af4b64f5d4 | 8829eb077f84d4fd7b476fd951c93377a3073e48 | refs/heads/master | 2016-09-06T05:58:53.039941 | 2015-01-24T11:56:49 | 2015-01-24T11:56:49 | 14,536,431 | 1 | 0 | null | 2014-06-26T06:40:50 | 2013-11-19T20:03:46 | C | UTF-8 | C++ | false | false | 653 | h | #ifdef USE_HUMANS
#ifndef FEMALECLASS_H
#define FEMALECLASS_H
#include "humanclass.h"
namespace Humans
{
class Female;
class FemaleClass final : public HumanClass
{
public:
FemaleClass(const std::string& name = "FemaleClass") : HumanClass(name) {}
Female* Create(const std::string name, int age);
virtu... | [
"nickolaib2004@gmail.com"
] | nickolaib2004@gmail.com |
8052b378f9d189bca9891148c460d0e8de6d60ff | 43e96cdc66331aa9e760e641cba2c35b2337e19c | /codechef/COOK73/madhat.cpp | 889f6d03ac6ba109edcbaeb2dbe106edbe89ff32 | [] | no_license | abhishek1995/coding | 017c84c507971fcd8e1867294cf6c4c09e444dda | 226bf12cbeae112a407b1db3e9a10d8bdf70add0 | refs/heads/master | 2020-07-05T10:12:24.585562 | 2016-08-25T16:03:39 | 2016-08-25T16:03:39 | 66,573,227 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,495 | cpp | #include <iostream>
#include<stdio.h>
#include<vector>
#include<algorithm>
#include<stack>
#include<assert.h>
#include<utility>
using namespace std;
#define mod 1000000007
#define test int t;scanf("%d", &t);while(t--)
#define pb push_back
#define all(x) x.begin(),x.end()
#define mpr make_pair
#define ll long long int ... | [
"abhishek19955192@yahoo.com"
] | abhishek19955192@yahoo.com |
903af069c462f974a9fb05b74c0672bea15aa7fd | 182adfdfa907d3efc0395e293dcdbc46898d88eb | /Temp/il2cppOutput/il2cppOutput/AssemblyU2DCSharpU2Dfirstpass_GP_RTM_RoomStatus2051988161.h | e94a44b7708903d65bf4878ea11bafaaa469afe9 | [] | no_license | Launchable/1.1.3New | d1962418cd7fa184300c62ebfd377630a39bd785 | 625374fae90e8339cec0007d4d7202328bfa03d9 | refs/heads/master | 2021-01-19T07:40:29.930695 | 2017-09-15T17:20:45 | 2017-09-15T17:20:45 | 100,642,705 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 966 | 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 "AssemblyU2DCSharpU2Dfirstpass_GP_RTM_RoomStatus2051988161.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang di... | [
"zk.launchable@gmail.com"
] | zk.launchable@gmail.com |
d6a78820d6eb99b155ccfcec05dcdd3c910b56c2 | 7d10e0770abff10bc48de16d743338cb0c6244a9 | /include/hurricane/base/ByteArray.tcc | a4385c1db3c6db9bf54dabb0d0743e70bac579a6 | [
"Apache-2.0"
] | permissive | JianboTang/hurricane | 6b00adbdd11760d01ba69a5f6777d5c1829424de | 65c62829669efcdd17b4675a15f97ffce0d321a6 | refs/heads/master | 2022-11-12T06:08:27.744478 | 2020-06-21T05:50:15 | 2020-06-21T05:50:15 | 270,178,744 | 0 | 0 | NOASSERTION | 2020-06-07T03:22:52 | 2020-06-07T03:22:51 | null | UTF-8 | C++ | false | false | 1,989 | tcc | /**
* licensed to the apache software foundation (asf) under one
* or more contributor license agreements. see the notice file
* distributed with this work for additional information
* regarding copyright ownership. the asf licenses this file
* to you under the apache license, version 2.0 (the
* "license"); you... | [
"kinuxroot@163.com"
] | kinuxroot@163.com |
bb5d1c1bd6c20acf5778a7a098eddad0a7f66c92 | 9c16d6b984c9a22c219bd2a20a02db21a51ba8d7 | /ios/chrome/browser/web_resource/ios_web_resource_service.h | fda5ec968f4a1bc6ab1a734ab4cf17672a675169 | [
"BSD-3-Clause"
] | permissive | nv-chromium/chromium-crosswalk | fc6cc201cb1d6a23d5f52ffd3a553c39acd59fa7 | b21ec2ffe3a13b6a8283a002079ee63b60e1dbc5 | refs/heads/nv-crosswalk-17 | 2022-08-25T01:23:53.343546 | 2019-01-16T21:35:23 | 2019-01-16T21:35:23 | 63,197,891 | 0 | 0 | NOASSERTION | 2019-01-16T21:38:06 | 2016-07-12T22:58:43 | null | UTF-8 | C++ | false | false | 1,591 | h | // Copyright 2015 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.
#ifndef IOS_CHROME_BROWSER_WEB_RESOURCE_IOS_WEB_RESOURCE_SERVICE_H_
#define IOS_CHROME_BROWSER_WEB_RESOURCE_IOS_WEB_RESOURCE_SERVICE_H_
#include <string>... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
c9a5068270ef6c494ba96d9e22947574c22a7ef8 | 52ada127e8ac22173754b1d22db1b805091e7118 | /test/config.t.cpp | 1863c88df408997822b67475bdc699f0abf1627c | [
"MIT"
] | permissive | dgengtek/taskd | a60ed234fff5068df796b4a6fcbe219325007996 | 2f40c1babd7cc8ffdf483da87fd703045d402e87 | refs/heads/master | 2020-03-28T22:03:59.297548 | 2014-01-16T00:23:15 | 2014-01-16T00:23:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,336 | cpp | ////////////////////////////////////////////////////////////////////////////////
// taskd - Taskserver
//
// Copyright 2010 - 2014, Göteborg Bit Factory.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
//... | [
"paul@beckingham.net"
] | paul@beckingham.net |
b77df1416dfb1b980b7a0e57ff8b9d96e2166b09 | 93c961a07769e026f0875428c2232af5cdad5f4b | /stl_src_analysis_06/y_set_algo.h | 29102a6ac0701a727ac33e2ebb2c86bbd8c623a7 | [] | no_license | Yyyyshen/stl_notes | 4a14cb9dac3da1c0584bc59a6169df11d9ef6105 | 0e47735874b62e223ca7dc8602292b8605acfc56 | refs/heads/master | 2023-04-14T06:08:10.237418 | 2021-04-08T08:56:28 | 2021-04-08T08:56:28 | 348,639,203 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,168 | h | #pragma once
/**
* set相关算法
*/
template<class InputIterator1, class InputIterator2, class OutputIterator>
OutputIterator y_set_union(InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, InputIterator2 last2, OutputIterator result) {
//并集
while (first1 != last1 && first2 != last2) {
if (*first1 < *... | [
"Yyyyshen@gmail.com"
] | Yyyyshen@gmail.com |
463174a265617ce059e4d5e95ad74f57be5a68c1 | f1bd6da6bfc2cb5172cae3057758afd69ed27453 | /ID Mgmt/mgmt_id.cpp | c600fd9ab0fb46a733c07ae796fedaa69307fed6 | [] | no_license | kdas6141/CPP | a4ca0e201bab9ba31d8d107b50259677cf151280 | df961ba3ae7f04b555ab9e2e61623f92880cfb1c | refs/heads/master | 2022-11-18T05:05:06.774118 | 2020-07-26T17:28:44 | 2020-07-26T17:28:44 | 268,903,613 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,088 | cpp | /**
* This file will contain the class implemenation to get and
* return an unique id
*/
#include "mgmt_id.hpp"
#include <iostream>
using namespace std;
/**
* Constructor will intilaze id to 1
*/
mgmt_id::mgmt_id () {
id = 1;
}
/**
* Destructor place holder
*/
mgmt_id::~mgmt_id () {
}
/**
* return the id af... | [
"noreply@github.com"
] | kdas6141.noreply@github.com |
f6f0a8865db4eac928be02bdcaa4f44709aa812d | 5b87d8332ef549cbba444ad96f72c58e4a621778 | /src/graphics.cpp | f7c71d13f120a48e1a4ef473787d33f525109696 | [] | no_license | staruwos/Rojo | 5291187e7559ff9093fdd7fc57688e140bc4f313 | fdb613f289e7186320ad989809fb417e1ce900f6 | refs/heads/master | 2020-04-18T04:26:52.501116 | 2016-09-01T12:55:17 | 2016-09-01T12:55:17 | 67,131,035 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 801 | cpp | #include "graphics.h"
SDL_Texture* loadTexture( SDL_Renderer* Renderer, std::string path )
{
//The final texture
SDL_Texture* newTexture = NULL;
//Load image at specified path
SDL_Surface* loadedSurface = IMG_Load( path.c_str() );
if( loadedSurface == NULL )
{
printf( "Unable to load i... | [
"noreply@github.com"
] | staruwos.noreply@github.com |
931d219785a92a078b3616cf625f958646532579 | 5b12760333f6ce9f2c818c9406a788bbdde83cb3 | /dbvisit/Datahelp.cpp | ce31019bb2e0f26e52f2ac3f400306a2eb122d24 | [] | no_license | JoyZou/gameframe | a9476948b86b34d4bb5e8eae47552023c07d7566 | a5db12da016b65033cc088ba3c2a464936b2b942 | refs/heads/master | 2023-08-28T22:18:56.117350 | 2021-11-10T09:04:30 | 2021-11-10T09:04:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,226 | cpp | #include "dbvisit/datahelp.h"
#include "dbvisit/datatimer.h"
#include "dbvisit/datatimermgr.h"
#include "shynet/net/timerreactormgr.h"
#include "shynet/pool/mysqlpool.h"
#include "shynet/utils/stringop.h"
#include <sw/redis++/redis++.h>
namespace redis = sw::redis;
#include <rapidjson/document.h>
#include <rapidjson/st... | [
"54823051@qq.com"
] | 54823051@qq.com |
cb31d49a3ff3f45fa08b7c2a96728fa4d8bd7761 | b319a671ff5804b5f3f61b427bb5c0ce3063e9f3 | /build/modules/features2d/sift.simd_declarations.hpp | 2cf212efc5ab52d4c36384925c5e3ea32230d343 | [
"MIT"
] | permissive | kanishksh4rma/Self-Driving-Car | 3daafbb2484ddfe8430b76d55cc9d4ab986fd82c | 919c88171716a9faf9fd7214b2afc3308ca6a489 | refs/heads/main | 2023-02-17T07:24:50.124403 | 2021-01-15T20:58:17 | 2021-01-15T20:58:17 | 330,017,258 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 525 | hpp | #define CV_CPU_SIMD_FILENAME "/home/kanishk/Desktop/Autopilot/opencv/modules/features2d/src/sift.simd.hpp"
#define CV_CPU_DISPATCH_MODE SSE4_1
#include "opencv2/core/private/cv_cpu_include_simd_declarations.hpp"
#define CV_CPU_DISPATCH_MODE AVX2
#include "opencv2/core/private/cv_cpu_include_simd_declarations.hpp"
#de... | [
"ancientvedicverse@gmail.com"
] | ancientvedicverse@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.