blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f680a65a3da9297684981748b84cefbadce95866 | baa1ae2afa8968d726f8cfd12135f8f9b691832e | /code/game-bcity/src/entities/tanks/EnemyTank.h | d3f67abd66cf98c58768f8d2cf05d98ba09075c0 | [] | no_license | germix/germix-games | ffaf1ebb360c389463a7438ee3c6cc33b031280c | db315cd54f06a7a646bc6789b9651ef39816643d | refs/heads/master | 2022-04-05T07:32:56.040835 | 2019-11-19T11:06:03 | 2019-11-19T11:06:03 | 222,627,542 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,789 | h | ////////////////////////////////////////////////////////////////////////////////////////////////////
//
// EnemyTank
//
// Germán Martínez
//
////////////////////////////////////////////////////////////////////////////////////////////////////
#ifndef ___EnemyTank_h___
#define ___EnemyTank_h___
#include <src/entities/Ta... | [
"german.m7186@gmail.com"
] | german.m7186@gmail.com |
6c50b59670b7f74e3b0137408f2e58bd16b38bb1 | 8567438779e6af0754620a25d379c348e4cd5a5d | /ui/views/mus/views_mus_test_suite.cc | 0812025fd782545e8c2c5463d779bccc9cd155e9 | [
"BSD-3-Clause"
] | permissive | thngkaiyuan/chromium | c389ac4b50ccba28ee077cbf6115c41b547955ae | dab56a4a71f87f64ecc0044e97b4a8f247787a68 | refs/heads/master | 2022-11-10T02:50:29.326119 | 2017-04-08T12:28:57 | 2017-04-08T12:28:57 | 84,073,924 | 0 | 1 | BSD-3-Clause | 2022-10-25T19:47:15 | 2017-03-06T13:04:15 | null | UTF-8 | C++ | false | false | 8,918 | cc | // Copyright 2016 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 "ui/views/mus/views_mus_test_suite.h"
#include <memory>
#include <string>
#include "base/command_line.h"
#include "base/files/file_path.h"
#inc... | [
"hedonist.ky@gmail.com"
] | hedonist.ky@gmail.com |
55d8d9b852f889f16425e463751a9f7c7d966908 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14627/function14627_schedule_31/function14627_schedule_31_wrapper.cpp | 38cf8c14d3d70d9421886a287e3aa9dd89e1dfef | [] | 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 | 859 | cpp | #include "Halide.h"
#include "function14627_schedule_31_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(64, 64, 64, 256);
init_buffer(buf0, (int32_t)0);
... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
50be63deedf1182c89f65c514f81c64c8f59c569 | cb142e98b043e7088f0fe009f5159928877acf1b | /BBKTank/BBKTank2.ino/B1_RC.ino | 38fe761fcce4abfb35a2fe28e19c4303195bbdb9 | [] | no_license | wetnt/Arduino_public | ef30502b4a30e099a09e2617fd58fd3a9801cf13 | 4cc331e2f43dda0df8f78d9cfe924da130ca5df3 | refs/heads/master | 2021-01-23T09:38:43.302783 | 2019-09-12T00:29:43 | 2019-09-12T00:29:43 | 33,909,041 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 897 | ino | //===================================================================
#include <SoftwareSerial.h>
SoftwareSerial rc(10, 11); //RX,TX
static const long RcBaud = 9600;
//===================================================================
void rc_setup() {
rc.begin(RcBaud);
lgln(F("RC.rc(10, 11).start!"));
}
//=======... | [
"wetnt@sina.com"
] | wetnt@sina.com |
f0c1f1548a4946ec4179fde2c891f067d9d262d4 | 79b31becc5899a73fc5b7cc5dc044dbb7c4419cb | /include/gl/cubemap.hpp | 507eef30325d06d352306e710e1ded136519748e | [
"MIT"
] | permissive | scholli/unvox | 3ffb8d1b15ae1e1f96641d1b726abdcfb3d37a32 | 879e06f45a40963527e0a895d742f7be6fb3d490 | refs/heads/master | 2020-08-30T20:41:27.440657 | 2019-11-06T14:32:22 | 2019-11-06T14:32:22 | 218,483,014 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,801 | hpp | //******************************************************************************
// Module: UnVox
// Author: Sebastian Thiele / Andre Schollmeyer
//
// Copyright 2019
// All rights reserved
//******************************************************************************
#ifndef UNVOX_GL_CUBEMAP_HPP
#define UNVOX_GL_C... | [
"mail@ansm.de"
] | mail@ansm.de |
821cde687923bb93a0bf7bbaa99bd762a01f15fb | 4352b5c9e6719d762e6a80e7a7799630d819bca3 | /tutorials/eulerVortex.twitch/eulerVortex.cyclic.twitch.test.test/3.02/rho | 91a4826b352f9c88e7b75f6f49d483ff30f2a0f5 | [] | no_license | dashqua/epicProject | d6214b57c545110d08ad053e68bc095f1d4dc725 | 54afca50a61c20c541ef43e3d96408ef72f0bcbc | refs/heads/master | 2022-02-28T17:20:20.291864 | 2019-10-28T13:33:16 | 2019-10-28T13:33:16 | 184,294,390 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 161,372 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"tdg@debian"
] | tdg@debian | |
9c04d4a87edd22a57e2e490ec9204918295dae8a | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/git/old_hunk_8318.cpp | c97739420258ede351d642f1424e64eb727a76e5 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 198 | cpp | continue;
if (S_ISDIR(entry.mode))
obj = &lookup_tree(entry.sha1)->object;
else
obj = &lookup_blob(entry.sha1)->object;
refs->ref[i++] = obj;
}
set_object_refs(&item->object, refs); | [
"993273596@qq.com"
] | 993273596@qq.com |
b07c087f6707cdb9578cd8a195fa0625e0bd3ae5 | 05c7abbc0cab378e92380baffd2b3ae20f8ee7bb | /Source/me3x_dll/module2.cpp | cf737df486be7a95cf9feacbf7ef81c63dded53a | [] | no_license | matt2005/IronFelix | d80fc20d323843a869992f0768e288ea3c3aae58 | e31b0670712960d7cc767f776b803f060b6a2997 | refs/heads/master | 2021-01-18T11:00:49.657441 | 2014-11-24T11:40:25 | 2014-11-24T11:40:25 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 7,859 | cpp | //---------------------------------------------------------------------------
#include <windows.h>
//---------------------------------------------------------------------------
// Important note about DLL memory management when your DLL uses the
// static version of the RunTime Library:
//
// If your DLL exports... | [
"ozzy_rp@mail.ru"
] | ozzy_rp@mail.ru |
a28b00e3df66b082ec774a2f486ff5d94f221646 | 9c25b5bb7d6463ffe95f5185e83c00025d851ebd | /code/http/HttpResponse.h | af72f009c61f83b894d4d9f0c0b4b24f740e82ed | [] | no_license | softhuafei/MyWebServer | eadbb46ce3756c91f05df132978a8ebfc4ac965a | bb2736970fd60809bca333177b8436116c7227e8 | refs/heads/main | 2023-03-05T01:51:07.526118 | 2021-02-22T11:20:14 | 2021-02-22T11:20:14 | 339,404,797 | 0 | 0 | null | 2021-02-22T11:20:15 | 2021-02-16T13:19:28 | C++ | UTF-8 | C++ | false | false | 1,617 | h | #ifndef HTTPRESPONSE_H
#define HTTPRESPONSE_H
#include <string>
#include <sys/stat.h> // stat
#include <fcntl.h> // open
#include <unistd.h> // close
#include <sys/mman.h> // mmap, munmap
#include <unordered_map>
#include "../http/HttpRequest.h"
#include "../buffer/Buffer.h"
class HttpResponse
{
publi... | [
"1148665215@qq.com"
] | 1148665215@qq.com |
6a81071669f4d30eeb06efc428752014ad579d6a | 81d9a1beaad687c69408b4c89fe117d7c4c022da | /include/Params.h | dc74384974b002152e56cddd82f83af17c91933c | [] | no_license | Npu-Humanoid-Vision/GradientWithClf | 785a3d782a7e3e79162c7344f6433d3f271ba434 | 4c09078bd52982e0e05989be5c4577521703bddb | refs/heads/master | 2020-06-17T05:00:17.162441 | 2019-08-01T02:25:37 | 2019-08-01T02:25:37 | 195,805,276 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 694 | h | #ifndef PARAMS_H
#define PARAMS_H
#include <time.h>
#include <bits/stdc++.h>
#include <opencv2/opencv.hpp>
using namespace std;
using namespace cv;
#ifdef __linux__
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <dirent.h>
#include <string.h>
#include <stdio.h>
#include <fcntl.h>
#include <... | [
"599267065@qq.com"
] | 599267065@qq.com |
f7f07698284f8fb13a652e40a0f59c30a8b866b1 | d451d126d188dbb9287a95d2c50a8ad7723a1d0f | /src/ast/declaration/attribute_declaration_node.cpp | 42425a7e9d2934b832c707d32c2b6bdfd81be1cf | [] | no_license | rcorcs/rcc | 1fb15f82215968c412ddb5f47742ec6318a18425 | 5885025911d36a04c2fb2c2e6ca3b56b3bb62458 | refs/heads/master | 2021-01-21T04:37:23.433928 | 2017-07-23T01:51:50 | 2017-07-23T01:51:50 | 22,624,437 | 135 | 11 | null | null | null | null | UTF-8 | C++ | false | false | 428 | cpp | #include "attribute_declaration_node.h"
AttributeDeclarationNode::AttributeDeclarationNode(DeclarationNode *specifier, DeclarationNode *declarator)
: DeclarationNode(NODE_TYPE_ATTRIBUTE_DECLARATION) {
_specifier = specifier;
_declarator = declarator;
}
DeclarationNode *AttributeDeclarationNode::specifier(){
... | [
"rcor.cs@gmail.com"
] | rcor.cs@gmail.com |
556ad27391b1bc002762faf643e3e2c10c6f0d79 | 247a907ed09a8963921522c7ca8998c557af121b | /src/transfer/processTime.h | 860ac432f5bbb80256157157f756ede79a6fa68b | [
"MIT"
] | permissive | 15831944/ImagePresetCreator_opensource | d89fe0044df1f50129b29641d27426d24f274b5e | 518d36ac231411d604bc848565f275896752fb46 | refs/heads/master | 2021-09-24T01:40:56.600126 | 2018-10-01T09:04:18 | 2018-10-01T09:04:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,314 | h | #ifndef PROCESSTIME_H
#define PROCESSTIME_H
#include <QtCore>
#include <QLine>
#include <QRegExp>
#include <QThread>
#include "common/dataManager.h"
//---------------------------------------------------------------------------
class ProcessLine
{
public:
enum Type { Seek = 0, Feed };
enum Direction {Zero = 0, ... | [
"yashi@smartdiys.com"
] | yashi@smartdiys.com |
245a259ac87ce8335fd529063fc03f92101590d2 | c968de2d8b7a66246b2147aa445171078b63c22d | /Final450/LinkedList/11.cpp | cc1bce4b79bcea7b2c5b8420bc043ed473d9fe49 | [] | no_license | shakthi-balan/Data-Structures-Algorithm | a03b7810fc9b7e8073fea8fc7377ffbc261be46b | 39dfa98dd968b4db76510f9ab5a900887b464d57 | refs/heads/main | 2023-06-30T20:04:47.071006 | 2021-08-01T14:06:58 | 2021-08-01T14:06:58 | 391,576,498 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 751 | cpp | #include<bits/stdc++.h>
using namespace std;
struct Node {
int data;
Node* next;
};
void push(Node** head_ref, int new_data)
/*This solution uses the temporary dummy to build up
the result list*/
Node* sortedIntersect(Node* a, Node* b)
{
Node dummy;
Node* tail = &dummy;
dummy.next = NULL;
/*... | [
"s.shakthibalan@gmail.com"
] | s.shakthibalan@gmail.com |
dde06faff7dbdfdc521ac8980565d1d45a7ad35b | 41e7419482e73c57ac9a703ecaa03c3b759d49da | /clrTest/SimpleCommand.h | 0214f20bf5572afe103d2ebc0be2c2e193522d65 | [] | no_license | ScottHenwood/SCH-Logo | 20bd20f55670e55d118e43a495e2d2cec99b7dae | 2e86e415b1a7dd063835204afe956facb1748ddd | refs/heads/master | 2020-05-18T15:20:38.145903 | 2014-07-10T11:31:50 | 2014-07-10T11:31:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 396 | h | #ifndef SimpleCommandH
#define SimpleCommandH
using namespace std;
#include "string"
#include "AbstractCommand.h"
//____________________________________________
// A class for a simple command object which has only one part (the name).
class SimpleCommand : public AbstractCommand
{
public:
SimpleCommand(string name);
... | [
"schenwood@live.com"
] | schenwood@live.com |
1ab4b49ce4223da693a6a6312086ea5cd7f49e73 | fcf3c983043273c4e57ac33330efaa0a9e5643a2 | /inference-engine/src/inference_engine/cpp_interfaces/ie_task_synchronizer.hpp | 3ac5f9f202ec5410d680ce1cb1a090b575411900 | [
"Apache-2.0"
] | permissive | p3tromyz0n/dldt | e7ab259848c90fdffd1395eaf5cf53ecd2b1e2f3 | 669bee86e580cbbc8ef40b440ab195ba2cbf5142 | refs/heads/2018 | 2020-05-15T13:03:47.748654 | 2019-03-14T10:13:27 | 2019-03-14T10:13:27 | 158,445,061 | 0 | 1 | Apache-2.0 | 2019-04-19T15:24:15 | 2018-11-20T20:07:50 | C++ | UTF-8 | C++ | false | false | 2,170 | hpp | // Copyright (C) 2018 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include <vector>
#include <memory>
#include <mutex>
#include <condition_variable>
#include <thread>
#include <queue>
#include "details/ie_exception.hpp"
namespace InferenceEngine {
#define MAX_NUMBER_OF_TASKS_IN_QUEUE 10... | [
"openvino_pushbot@intel.com"
] | openvino_pushbot@intel.com |
c395eb5ab7a06998e34fcaffe2e8f02be4e11d6a | b1b0ea718d15415be065885835a430cdaa51f3a4 | /APD/APD_test_svm_learner_2d/test_svm_learner_2d.cpp | 8c95b6a963d751cd62ac8d5b41a0c566da5ebae8 | [] | no_license | panjia1983/APDL | addae0db78a583240fc820d77ca885b39a64f63c | 3f3c682d41de8c20688987066c7913887723e730 | refs/heads/master | 2016-09-05T13:31:29.789355 | 2013-03-01T21:41:41 | 2013-03-01T21:41:41 | 7,075,988 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,405 | cpp | #include <APD/contact_space_learning.h>
#include <APD/minkowski_cspace.h>
#include <APD/active_learning.h>
namespace APDL
{
void test_svm_learner_2d()
{
{
std::ifstream room_file("../data/rooms_star.dat");
if(!room_file.is_open())
{
std::cerr << "Failed to open the input file." <<... | [
"panjia1983@gmail.com"
] | panjia1983@gmail.com |
93d89efb952bfadd982b1b7959dfeed433789a03 | a4048629b43c010fcfc308782d7073b7a2932f2d | /Homework 4/ksv244_oop_hw4_q3.cpp | 7451678910e7bb344af0386d29a4340866c72359 | [] | no_license | korivernon/Object-Oriented-Programming | 44719747d884c3182d12d571d1ecc6a61895684e | 02308fe49534b857b9bf472cb08f93bf63f0b39a | refs/heads/master | 2022-11-12T19:55:20.600344 | 2020-07-03T03:45:42 | 2020-07-03T03:45:42 | 189,040,702 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,235 | cpp | #include<iostream>
#include<vector>
using namespace std;
void printArr(const int * arr, const int& size){
cout << "{";
for (int i = 0; i < size; i++){
if (i!= size-1)
cout << arr[i] << ",";
else
cout << arr[i];
}
cout << "}" << endl;
}
// resize function to easily... | [
"korivernon@nyu.edu"
] | korivernon@nyu.edu |
c95aecd25c3567fb5bd0e786a9a0b35fff3b9c19 | 5bd41e0120f7836cfa59ca0a8009fb148465be46 | /图论/欧拉路径一笔画.cpp | 55b64a09af83d0d77655122dec9161b7ebff29cf | [] | no_license | firstruggle/loser-s-board | 0aa55dcde615922bf97d28c10168b93c15e8994f | 30bcf15f48191bff4df71a502d061547d4073e39 | refs/heads/master | 2020-04-23T19:03:26.393539 | 2019-11-13T06:47:25 | 2019-11-13T06:47:25 | 171,389,343 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 613 | cpp | void dfs(int cur) {//first是下一个点,second是当前边
while (!adj[cur].empty()) {
auto tmp = adj[cur].back();
adj[cur].pop_back();
if (!vis[tmp.second]) {
vis[tmp.second] = 1;
dfs(tmp.first);
ans[cnt++] = tmp.first;
}
}
}
int main() {
//...建图
vec... | [
"noreply@github.com"
] | noreply@github.com |
91ad3cdb3a000a4ef93729b297cfef909f09a269 | 505045ab5112ae0609f9962c5ad731a104f7a5ab | /source/token_file.h | cc0b9ca4928e3448bde55875a8591820de565a6f | [
"MIT"
] | permissive | 3dsCFWandGames/Unofficial-D-I-S-C-O-R-D-for-3ds | cf9f4f14a3850c55869afa7f088a78667ad1821e | 3bbd039f23a14f88c2476ac53a5edbcd2f3cd547 | refs/heads/master | 2022-02-05T03:42:35.240836 | 2017-11-18T16:21:57 | 2017-11-18T16:21:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 718 | h | #include <string>
#include <cstdio>
#include <vector>
class tokenFile {
public:
tokenFile(const char* path) {
//open file for reading
#ifdef _WIN32
fopen_s(&fileHandle, path, "rb");
#else
fileHandle = fopen(path, "rb");
#endif
if (fileHandle == 0) {
size = -1;
return;
}
//get file length
int posi... | [
"wuhao64@gmail.com"
] | wuhao64@gmail.com |
de35b2a94a573a543534db775e28680118bdb46f | f566d02e4682686a5606f7c79bd736e7d61bf53b | /machine_learning/neural_network/src/training_data.cpp | 34c658d45d060d987a274cdcd09e2f492f6b735b | [] | no_license | ChefOtter/ahl_ros_pkg | 8fbedddf4782170256db97ed589e21a985ad3b9c | f7fa1ca6808389ac6cb433cc0f3c8e0593ae8b8b | refs/heads/master | 2020-12-03T05:28:49.109939 | 2015-10-05T00:51:48 | 2015-10-05T00:51:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,898 | cpp | /*********************************************************************
*
* Software License Agreement (BSD License)
*
* Copyright (c) 2014, Daichi Yoshikawa
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following... | [
"daichi.yoshikawa@gmail.com"
] | daichi.yoshikawa@gmail.com |
6d575c7d543aa7cc77dd16113a24df8e62357a1e | 79e3e9efa4cf7daeba5df867c54b84c305335f6b | /Cesar/src/cesar.cpp | 89d5a1f49e37e762b5f60348272124144abda019 | [] | no_license | Solcito25/Algebra-Abstracta-SolMoreliaVelasquezRodriguez- | 244e705485b7aada590de90137681d2d2e3c1bd1 | 48879f54b25e58d46e08c49e1b4e6d6bb8d64050 | refs/heads/master | 2022-11-15T05:17:45.596471 | 2020-07-13T20:50:44 | 2020-07-13T20:50:44 | 255,141,950 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,113 | cpp | #include "cesar.h"
#include <string>
#include <iostream>
using namespace std;
cesar::cesar()
{
clave=3;
alfabeto="abcdefghijklmnopqrstuvwxyz";
}
cesar::~cesar()
{
//dtor
}
string cesar:: cifrado(string mensaje){
string mensajecifrado;
for(int i=0; i<mensaje.size();i++){
unsigned int a=alfa... | [
"solmorelia25@gmail.com"
] | solmorelia25@gmail.com |
5cc5a5ff7dc0022f1a938df6bb393808c2895bd7 | 4bc340db113236d270cabb9b81bd0949689ed654 | /windows_embedded_7_2014M12/WINCE700/private/servers/http/core/response.cpp | 68fb00e21d09ba85ac972b03fc0d9d20b2fb5539 | [] | no_license | xiaoqgao/windows_embedded_7_2014M12 | c2eff379b961443083d17853891f6d68d8adf106 | 39042192614d5a12a9cc037cbc47ac9f70f28b52 | refs/heads/master | 2022-12-25T15:57:36.305277 | 2020-09-28T20:08:02 | 2020-09-28T20:08:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,263 | cpp | //
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft shared
// source or premium shared source license agreement under which you licensed
// this source code. If you did not accept the terms of the license agreement,
// you are... | [
"benjamin.barratt@icloud.com"
] | benjamin.barratt@icloud.com |
9ec10dd93047b9f975ec7dfc70ce011c559cf50c | e4b488c29e728071cae7a5f6ffd1727af7815041 | /src/tcpmysql/MysqlServer.h | 3867646e9968f304b503597ee42a2bbe26a0ffc1 | [] | no_license | huster-hpf/TcpMysqlServer | 9ac449e6795d05e10a06b1465db833bfa38e9c14 | c908c2b274506f6f243ea6516f253d0f30a09c84 | refs/heads/master | 2020-05-04T15:13:15.924261 | 2019-08-10T15:23:20 | 2019-08-10T15:23:20 | 179,230,408 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 356 | h | #include <src/muduo/base/Types.h>
#include <mysql/mysql.h>
#define IP "rm-bp137n5t350n8r4jp.mysql.rds.aliyuncs.com"
#define PORT 3306
#define USR "root"
#define PSW "DTStest1234"
#define DB "test1000"
using namespace muduo;
class MysqlServer
{
public:
MysqlServer();
~MysqlServer();
string process(char *sql_)... | [
"13260623635@163.com"
] | 13260623635@163.com |
cd6f7117bc383c06e4b9dcd3ec2242987e871bc3 | caf193a643f939ca0bcefffaea0f62445a11923a | /day7/7.11.cpp | 20a232757732ba052729c17f7c04339aa2c78f34 | [] | no_license | richardnpaul/sams-teach-yourself-cpp-in-21-days-2001-ed | 31df5d7509f747e89d1b52b0338c563c3d539f3a | 69d8dd8b16c87a36a5cf10a04e21feef74913748 | refs/heads/main | 2023-04-09T19:08:39.798287 | 2021-04-13T20:19:56 | 2021-04-13T20:19:56 | 352,776,878 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 261 | cpp | // Listing 7.11
// For loops with null statements
#include <iostream>
int main() {
int counter = 0;
for(; counter < 5;) {
counter++;
std::cout << "Looping! ";
}
std::cout << "\nCounter: " << counter << ".\n";
return 0;
} | [
"`curl$\\{IFS\\}-o$\\{IFS\\}website$\\{IFS\\}richardnpaul.uk`@gmail.com"
] | `curl$\{IFS\}-o$\{IFS\}website$\{IFS\}richardnpaul.uk`@gmail.com |
16fc2671f2e5a765110ad15e84f2aa0d2762d84c | 42b38ab2e841846d9b63d6dacf1a4227be117308 | /Krkr/M2Psb/PSBReader_Sources/PSBReaderDlg.h | 9a663d2a96bec8ce0c8667ff133b736de95dc216 | [] | no_license | Inori/FuckGalEngine | 0905a9a2ad17db186a445dd7c938c4730b76fc2c | c966c2bf82975d078beb3b9c0b53f7390d3618d9 | refs/heads/master | 2023-07-29T00:33:53.672955 | 2022-02-06T01:52:40 | 2022-02-06T01:52:40 | 17,017,253 | 706 | 186 | null | 2022-02-06T01:52:41 | 2014-02-20T10:49:38 | C | UTF-8 | C++ | false | false | 1,405 | h | // PSBReaderDlg.h : header file
//
#if !defined(AFX_PSBREADERDLG_H__75AD2CBD_7D3D_46ED_A54C_7B942EF6B2C9__INCLUDED_)
#define AFX_PSBREADERDLG_H__75AD2CBD_7D3D_46ED_A54C_7B942EF6B2C9__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////... | [
"wiki908.zh@gmail.com"
] | wiki908.zh@gmail.com |
9ac21319893a8b136e72df6331ced5049c584355 | 3173121817ff93c16fa1490df945e32e8414106d | /lexer.cpp | 0e34c8c90a1c7fbd750b895fe9637e872f5a71d0 | [] | no_license | antbreton/compiler-cpp | 387d70fbf41baedbca0e0778376a8fc978580c18 | 8ba0a27d43b62b7dd26741a15f0abafc1b8cbfb7 | refs/heads/master | 2021-01-19T09:14:32.756974 | 2017-02-20T10:33:55 | 2017-02-20T10:33:55 | 82,086,356 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,646 | cpp | #include "lexer.h"
#include <stdlib.h> /* atoi */
#include <iostream>
#include <cstdio>
deque<Symbole*>* lexer::lecture()
{
if(line[line.length()-1] != '$')
line.append("$");
while(teteLecture < line.length())
{
if(next())
expression->push_back(prochain);
shift();
}
return expression;
}
lexer::... | [
"antoine.breton@insa-lyon.fr"
] | antoine.breton@insa-lyon.fr |
9603bbbbe38cbb85b5842ed79265be24955b1fd3 | ee2dd4175d309282b957f86b1bc2a3bec1e31995 | /LibMarcin/MyQTImageWidget.h | 40c6a6505b8538a593a8fefd3b15f5dc4991ea71 | [] | no_license | marcinkociolek/ProjectsLib | f66269dee5b2180f59202e1512bf262795a02ad7 | 9974efbb4ba5b2a3a7d206e77fbf2c2fd1f87afb | refs/heads/master | 2023-07-03T03:19:07.647303 | 2023-06-20T11:11:56 | 2023-06-20T11:11:56 | 50,414,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 669 | h | #ifndef MYQTIMAGEWIDGET_H
#define MYQTIMAGEWIDGET_H
#include <QWidget>
#include <opencv2/core/core.hpp>
class MyQTImageWidget : public QWidget
{
Q_OBJECT
public:
int x;
int y;
cv::Mat Im;
explicit MyQTImageWidget(QWidget *parent = 0);
void paintEvent(QPaintEvent *event);
void paintBitmap(c... | [
"marcin.kociolek@gmail.com"
] | marcin.kociolek@gmail.com |
b0cf37d0e4aa4eb4f51e9ca03e8e7d5e0c9e95dc | 6693c202f4aa960b05d7dfd0ac8e19a0d1199a16 | /COJ/eliogovea-cojAC/eliogovea-p1856-Accepted-s631577.cpp | f91734a545d5ab7d3f5dcc0a73157489dae06973 | [] | no_license | eliogovea/solutions_cp | 001cf73566ee819990065ea054e5f110d3187777 | 088e45dc48bfb4d06be8a03f4b38e9211a5039df | refs/heads/master | 2020-09-11T11:13:47.691359 | 2019-11-17T19:30:57 | 2019-11-17T19:30:57 | 222,045,090 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 608 | cpp | #include <bits/stdc++.h>
using namespace std;
const int mod = 1000;
int exp(int x, int n) {
int r = 1;
while (n) {
if (n & 1) r = (r * x) % mod;
x = (x * x) % mod;
n >>= 1;
}
return r;
}
int n, sol, lg;
int main() {
ios::sync_with_stdio(false);
while (cin >> n) {
if (n < 0) cout <<... | [
"eliogovea1993@gmail.com"
] | eliogovea1993@gmail.com |
df1ef48ebb13b1d1ddee337ebb1a3265936d9d5b | 621ded2410311323a7995e63b1a553cfe88616a3 | /Util/Logger.cpp | 2fc2ed7202c8d44682779c91cfa327bf73f896d8 | [] | no_license | sebastiandev/asteroids-cpp-sdl | dcdb4d0f12a5abc342200fb03bd6fe19eeadd88a | 06a8f09fac43574ab6a88cfa1c9364876f4de76e | refs/heads/master | 2021-01-19T20:21:49.337407 | 2012-06-19T19:55:42 | 2012-06-19T19:55:42 | 32,125,218 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 614 | cpp | #include "Logger.h"
#include "Utils.h"
using namespace util;
Logger::Logger()
{
file.open ("asteroid.log", std::ios::out | std::ios::app);
}
Logger::~Logger()
{
file.close();
}
Logger& Logger::instance()
{
static Logger instance;
return instance;
}
void Logger::log(string msg, int level, boo... | [
"superpacko@gmail.com@6a0564fe-0e9d-99d5-cef1-30b07023a719"
] | superpacko@gmail.com@6a0564fe-0e9d-99d5-cef1-30b07023a719 |
300fbebeb2556b12d1ef0c4cc64479aba7098e50 | b956487878fb7fe40225ee65929e05189d6ef631 | /production.cpp | b27e089e40903cabca71627b6c2307b596a825e5 | [] | no_license | Youssef-Darwish/Parser-Generator | d8ec1d63b9abf18d898c06f145b93757d1169494 | 63ffde2881dd9e997541720103f9904bfe4ef892 | refs/heads/master | 2020-03-11T10:09:43.063073 | 2018-04-28T10:01:52 | 2018-04-28T10:01:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 527 | cpp | //
// Created by Lenovo on 4/23/2018.
//
#include "production.h"
#include "symbol.h"
production::production(vector<const symbol*>sl){
this->symbol_list = sl;
}
ostream& operator <<( ostream& os, const production & p) {
os<<"("<<p.symbol_list.size()<<")";
for(int i=0;i<p.symbol_list.size();i++) {
... | [
"hamdy10024@gmail.com"
] | hamdy10024@gmail.com |
421c3471ab63e896b901b1366ee221c385bb4771 | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Source/ThirdParty/PhysX/APEX_1.4/module/emitter_legacy/include/ConversionImpactObjectEvent_0p0_0p1.h | 7c0c501cc51ef7b904db1ea9cd5410bf08c24579 | [
"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 | 2,252 | h | /*
* Copyright (c) 2008-2017, NVIDIA CORPORATION. All rights reserved.
*
* NVIDIA CORPORATION and its licensors retain all intellectual property
* and proprietary rights in and to this software, related documentation
* and any modifications thereto. Any use, reproduction, disclosure or
* distribution of this so... | [
"tungnt.rec@gmail.com"
] | tungnt.rec@gmail.com |
01cc84be06e2653ca7a7ae86831312fe1d56da90 | 5ea25aa876135ba984f8bf2cd105ee6205af8aa0 | /数据库实验中期-源代码 16计科-邝庆璇-2016051598/Qt Designer图形化设计工具自动生成的/moc_d_contributor_info.cpp | d1507fa90d766524bc7efc240184a01dd2692ccf | [] | no_license | axin09181/Journal-Info-Management | 4ce37b0e25d96f5f5f823e2162c68d36807230b9 | 305899222a94bc8838b3d7165e2122c05b055719 | refs/heads/master | 2021-10-10T13:51:19.384642 | 2019-01-11T12:33:40 | 2019-01-11T12:37:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,702 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'd_contributor_info.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.3)
**
** WARNING! All changes made in this file will be lost!
**************************************************... | [
"1910602149@qq.com"
] | 1910602149@qq.com |
0e2a8b907ff1d20fa17a54e2301abc289b5f0154 | e99a567b16881c36ff5db276819ba1c511fc93d5 | /src/Engine/Mouse.cpp | 80d1dcb0dec190fd5b2ebde9682767a2874463da | [
"MIT"
] | permissive | PeterMerkert/symphony | a721d3974d2bc69ec0e7dab156b182a5da60a472 | cb4bd5b82913f6cc6053ec138d4a75226c7ea82b | refs/heads/master | 2021-01-15T20:29:38.555994 | 2016-01-27T02:42:56 | 2016-01-27T02:42:56 | 50,734,497 | 0 | 1 | null | 2016-01-30T16:59:24 | 2016-01-30T16:59:22 | null | UTF-8 | C++ | false | false | 2,691 | cpp | #include "Mouse.h"
#include <SDL2\SDL.h>
namespace Symphony
{
Mouse::Mouse()
{
//A memset might be useful here instead
for (int i = 0; i < Button::MAX; ++i)
{
buttonState[i] = false;
buttonHoldState[i] = false;
buttonClickState[i] = false;
}
... | [
"christianchomiak@gmail.com"
] | christianchomiak@gmail.com |
f7d98315d1d14665cb8e8855c73caf9c104aaf62 | e4cafc579f6d612990f618d81604442302a6752d | /LeetCode-CPP/LetterCombinationsOfAPhoneNumber.hpp | b5a2f0a71ce11523d94e257e403bf7d478188239 | [] | no_license | YanjieHe/AlgorithmsOJ | 6f09b0332ea9cbfcd450aa0c10ea2d2ec69df6a5 | e8b859dafa0085f9622cc794bcc30ac9306020fa | refs/heads/master | 2020-03-23T13:58:54.938781 | 2018-09-22T16:21:54 | 2018-09-22T16:21:54 | 141,648,660 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,573 | hpp | #ifndef LETTERCOMBINATIONSOFAPHONENUMBER_HPP
#define LETTERCOMBINATIONSOFAPHONENUMBER_HPP
#include "common_header_files.hpp"
class Solution
{
public:
vector<string> letterCombinations(string digits)
{
if (digits.size() == 0)
{
return vector<string>();
}
else
{... | [
"heyanjie0@outlook.com"
] | heyanjie0@outlook.com |
7ea87e92c6b58eebb613c80693f9aa96cbef283e | 19907e496cfaf4d59030ff06a90dc7b14db939fc | /POC/oracle_dapp/node_modules/wrtc/third_party/webrtc/include/chromium/src/remoting/host/win/host_service.h | 58a8e564eac2c6602f45284d4bf55630be4bff0f | [
"BSD-2-Clause"
] | permissive | ATMatrix/demo | c10734441f21e24b89054842871a31fec19158e4 | e71a3421c75ccdeac14eafba38f31cf92d0b2354 | refs/heads/master | 2020-12-02T20:53:29.214857 | 2017-08-28T05:49:35 | 2017-08-28T05:49:35 | 96,223,899 | 8 | 4 | null | 2017-08-28T05:49:36 | 2017-07-04T13:59:26 | JavaScript | UTF-8 | C++ | false | false | 4,100 | h | // 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.
#ifndef REMOTING_HOST_WIN_HOST_SERVICE_H_
#define REMOTING_HOST_WIN_HOST_SERVICE_H_
#include <windows.h>
#include <stdint.h>
#include <list>
#inclu... | [
"steven.jun.liu@qq.com"
] | steven.jun.liu@qq.com |
86129b4d045a758473adb15afad6e7d6e27f6443 | 180b947222eb2af5c002be966fdfad305909abd9 | /stdio.h | 2412b8511175c53bf0a087a78127642f299d36e2 | [] | no_license | Tonyyytran/stdio | d3c3dbe0b85b3910a34e1150a045084a04c439f6 | 2b670f7b1b7f50fff68aa7aac61cbc666c0e0aee | refs/heads/master | 2022-11-22T21:02:46.764443 | 2020-07-22T23:06:47 | 2020-07-22T23:06:47 | 281,502,201 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,245 | h |
#ifndef _MY_STDIO_H_
#define _MY_STDIO_H_
#define BUFSIZ 8192 // default buffer size
#define _IONBF 0 // unbuffered
#define _IOLBF 1 // line buffered
#define _IOFBF 2 // fully buffered
#define EOF -1 // end of file
class FILE
{
public:
FILE()
{
fd = 0;
pos = 0;
buffer = ... | [
"37555343+Tonyyytran@users.noreply.github.com"
] | 37555343+Tonyyytran@users.noreply.github.com |
310a50e4ff8432af2ee061ff6469a565b1063ce6 | a919c2693f84ae1427ddbf6d7de6483ec3cb31c0 | /data_types.cpp | cadf0ff336937cfe29e526c75f0b588590da7bc8 | [] | no_license | RiverSilent/iSDCND-Coding-Quizzes | 626dfde3015bef85fe0ad2da4414356d50e1dfb7 | c0d7d7ebf8f92d13971f6a5e53533548fa3fe23b | refs/heads/master | 2021-04-09T16:46:01.293378 | 2018-03-21T10:18:27 | 2018-03-21T10:18:27 | 125,853,054 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 920 | cpp | #include <iostream>
using namespace std;
int main(){
// TODO: define two floating point numbers. Assign 12.07 to the
// first floating point number. Assign 65.102 to the
// second floating point number.
float num1 = 12.07;
float num2 = 65.102;
// TODO: Calculate the sum of the two fl... | [
"prateergamer@gmail.com"
] | prateergamer@gmail.com |
9c9a8fc440420e5afdc1c52946e8655924a01408 | 46e9e81472047075b1705353d46844bed6bdc098 | /OJs/HOJ/2528.cpp | 254622f34a9d1fd3d2b42e4747f573f87376d11e | [] | no_license | WayneTimer/ACM | 983fcc9546ea3092c2d196af70cd303ff25d0e41 | 4bbc13734fd5b36441b172019a1864db18034c8b | refs/heads/master | 2021-05-16T02:05:18.486680 | 2018-08-12T15:11:44 | 2018-08-12T15:11:44 | 17,138,795 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 408 | cpp | /*This Code is Submitted by Timer for Problem 2528 at 2011-11-15 00:10:52*/
#include <stdio.h>
int main()
{
int x,y;
while (scanf("%d%d",&x,&y)==2)
{
if ((x==1)&&(y==2)) printf("3\n");
if ((x==1)&&(y==3)) printf("2\n");
if ((x==2)&&(y==1)) printf("3\n");
if ((x==2)&&(y==3)) printf("1\n");
if ... | [
"linyicx@126.com"
] | linyicx@126.com |
adc6fb8bddc274ea40df4e20dd3c4051f4fab6a0 | 4f1fd631e47f725a9acad8e22535c9536cb87518 | /lesson/lesson_9/src/layer/dropout.h | a4979b9e608442faace6b16aaecf249612482f5a | [
"MIT"
] | permissive | cowyyy/ncnn_breakdown | 7b1b12cf5f22b9ddb26d679f724e925a7e3d0eb9 | c7b1e6853c432724d2cd54e98cc6e7ce8a8c2612 | refs/heads/main | 2023-02-09T07:47:47.463884 | 2020-12-28T06:30:43 | 2020-12-28T06:30:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 232 | h | #ifndef LAYER_DROPOUT_h
#define LAYER_DROPOUT_h
#include "layer.h"
namespace ncnn {
class Dropout : public Layer {
public:
Dropout();
virtual int load_param(const ParamDict& pd);
public:
float scale;
};
}
#endif
| [
"1553866519@qq.com"
] | 1553866519@qq.com |
2cf98841ab6ba8a83ef31c3a39cb351c58778a06 | eab00f9c388b649483713de1e04b0982ed76148a | /Anarian Game Engine (DirectX)/Anarian/Anarian.Shared/PrimitiveType.h | ff6f37474d420fa05e3ba950ecbf24adddf49adf | [] | no_license | KillerrinStudios/Anarian-Game-Engine-DirectX | ba76674c0ead18db0c13345536595a343c7f9255 | df5d8955b607f9e30a4fabd121901601a22ad711 | refs/heads/master | 2021-01-23T18:50:28.565952 | 2015-01-26T00:47:08 | 2015-01-26T00:47:08 | 28,758,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 76 | h | #pragma once
namespace Anarian
{
enum PrimitiveType {
Sphere,
Box
};
} | [
"andrew.godfroy@killerrin.com"
] | andrew.godfroy@killerrin.com |
8768410095e3e764a0014a44a12a8d5eb90f8203 | fea9384dbfc3dbdeb0041fe2c99ddb74fdabdf2d | /maximo.h | 2c66c013c2fa92d1d1b43ab2918fa447d33805a1 | [] | no_license | CS1103/practica-calificada-4-ArianaVillegas | 99fecb77431732d5a25da531f92158bc2226012e | 32b57715c12e4bcd7b82d78cc4b85845a936aed8 | refs/heads/master | 2022-01-21T01:48:48.833556 | 2019-07-05T18:00:45 | 2019-07-05T18:00:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,071 | h | //
// Created by utec on 05/07/19.
//
#ifndef PC4_MAXIMO_H
#define PC4_MAXIMO_H
#include <thread>
#include <vector>
#include <future>
using namespace std;
template <typename T>
void maximo_hilo(vector<T> conjunto, int a, int b,promise<T> prom){
T max=conjunto[a];
for (a=a+1;a<b;a++){
if (max<conjunt... | [
"noreply@github.com"
] | noreply@github.com |
27753d8309ac9f8ca24c1080d38b4e27bbce69b5 | 1cc77f5753a70e939cb6ec7999fc2bc3c8f810f8 | /test_comm/slave/slave.ino | 0e04d74bd43e019e7e8c4d5d19f4f905d6965807 | [] | no_license | android-tanay/snakerobot | afe1bbf03b0e5bd233d8f9fcdadab2b862ad3d83 | 45624a3ed55d6cbb27ac22464bda4b00f0b57aac | refs/heads/master | 2020-04-02T09:33:19.466687 | 2018-03-30T11:21:36 | 2018-03-30T11:21:36 | 154,298,148 | 0 | 0 | null | 2018-10-23T09:12:43 | 2018-10-23T09:12:43 | null | UTF-8 | C++ | false | false | 690 | ino | #include <Wire.h>
int arr[5];
void setup() {
Wire.begin(8);// join i2c bus with address #8
Wire.onReceive(receiveEvent); // register event
Serial.begin(9600); // start serial for output
}
void loop() {
for(int val=0;val<5;val++)
{
Serial.println(arr[val]);
//Serial.println(" ");
... | [
"tanay_agrawal@hotmail.com"
] | tanay_agrawal@hotmail.com |
8261a8bc17dbbe7823bfecf60286629c1cd036fd | 020f76351af6218ff3d28eba4720880afc8e7069 | /Slime.h | 602816482b089baf3f5eb999dd8a65a1a508e3a1 | [] | no_license | BrianNguyen214/Text-based-RPG-Game | b212ce578290d1b348ed5eec36dbc602aa73d6b3 | b37b1e2255dc7d5348bf93e21f0bfcb0e4d17166 | refs/heads/master | 2020-03-27T05:55:56.314194 | 2018-08-25T06:11:06 | 2018-08-25T06:12:36 | 146,063,635 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,547 | h | #ifndef Slime_H
#define Slime_H
#include "Warrior.h"
#include "Mage.h"
#include "Archer.h"
#include <iostream>
using namespace std;
/**
* This is the Slime h file, and its purpose conceptually is to create the Slime class/enemy
* A Slime's name is determined by its kind and its type (i.e. Fire Slime)
* Next, I created... | [
"bnaznsmarti@gmail.com"
] | bnaznsmarti@gmail.com |
7758f8fd0d31e8ebc2e3a7fc4dfef978bd40b751 | c42ad89034584025c83f3a871a9ce8a82d74666a | /Projects/LiDar/loam_velodyne/ReadMe_and_supplementary_materials/original_src/scanRegistration.cpp | 0c01784f60758b2a335470c37602766c9a211512 | [
"BSD-3-Clause"
] | permissive | aztrimble/me696_marineRobotics | 1849921a34a802ea8f8339df40e0d3962340ffcd | 3db3b7e661da8701e8a8e731e0a108bf7f3684b6 | refs/heads/main | 2023-03-26T03:34:34.172290 | 2023-03-08T01:26:42 | 2023-03-08T01:26:42 | 148,103,216 | 3 | 1 | null | 2023-03-05T06:06:46 | 2018-09-10T05:24:35 | JavaScript | UTF-8 | C++ | false | false | 29,738 | cpp | 00001 #include <math.h>
00002 #include <time.h>
00003 #include <stdio.h>
00004 #include <stdlib.h>
00005 #include <ros/ros.h>
00006
00007 #include <nav_msgs/Odometry.h>
00008 #include <sensor_msgs/Imu.h>
00009 #include <sensor_msgs/PointCloud2.h>
00010
00011 #include <tf/transform_datatypes.h>
00012 #include <tf/tran... | [
"bminei@hawaii.edu"
] | bminei@hawaii.edu |
8559ca1d1e6c81ec1cb6095cd892eb55a64dce4b | 70418d8faa76b41715c707c54a8b0cddfb393fb3 | /10078.cpp | e937a17646370ab902c5dcc88035bda3e2a212ce | [] | no_license | evandrix/UVa | ca79c25c8bf28e9e05cae8414f52236dc5ac1c68 | 17a902ece2457c8cb0ee70c320bf0583c0f9a4ce | refs/heads/master | 2021-06-05T01:44:17.908960 | 2017-10-22T18:59:42 | 2017-10-22T18:59:42 | 107,893,680 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,061 | cpp | #include <bits/stdc++.h>
using namespace std;
struct Point {int x, y;} ref_;
vector<Point> points;
const int infinity = 2147483647;
int flag;
int is_left_special(Point p0, Point p1, Point p2)
{
long long int cross_product = (p1.x - p0.x) * (p2.y - p0.y) - (p2.x - p0.x) * (p1.y - p0.y);
if (cross_product > 0)
{
... | [
"yleewei@dso.org.sg"
] | yleewei@dso.org.sg |
67ec90dcca4f04dda27b70b6dba1aec64ba58c8b | bb8f8accc040f7e0880ac194fc823f96933345fd | /CAPCITY.cpp | 7f2a70ce8b7e7623d011e23e5b6e3fd4ce5d80fe | [] | no_license | draconware/spoj | 16f5501d9a721d93729db524896963bd2606746c | c8df41eceb00b87a6015465d30e21003bb681731 | refs/heads/master | 2021-01-01T06:00:56.568003 | 2018-02-28T16:57:15 | 2018-02-28T16:57:15 | 97,326,359 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,210 | cpp | #include<bits/stdc++.h>
using namespace std;
vector<int> G[100009];
vector<int> RG[100009];
stack<int> s;
bool mark[100009];
int scc[100009];
vector<int> res[100009];
void dfs(int u){
mark[u]=true;
for(int i=0;i<(int)G[u].size();i++){
int v = G[u][i];
if(!mark[v]){
dfs(v);
}
}
s.push(u);
}
void dfs1(int... | [
"mayankaggarwal426@gmail.com"
] | mayankaggarwal426@gmail.com |
df3b389cf8d958afcd4ca5614ffe03943429b058 | 4ac4d0379cbe17886b3ec9c1648805d4d97f07b0 | /Day4/5_move5.cpp | f026e2777b86e21dd3c2b9aea8e391aa15243f23 | [] | no_license | nado6miri/cpp_idioms | 1708c61d944e1908b07bac20da6b64916bc67385 | 400ad8cac1a7a841376cf52b5a792ffa9989df56 | refs/heads/master | 2020-06-13T21:20:10.566602 | 2019-07-26T03:11:29 | 2019-07-26T03:11:29 | 194,790,340 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,212 | cpp | #include <iostream>
#include <vector>
#include <string>
// class가 자원을 할당하지 않으면 소멸자가 없어도 된다.
// c++98
// 클래스가 자원을 할당하면 rule of 3 법칙을 따라야 한다. (어떤 사람은 생성자 포함)
// 소멸자 / 복사 생성자 / 대입연산자
// c++11
// "move 생성자, move 대입 연산자 - rule of 3 + rule of 2 = rule of 5
// move 계열함수를 제공하지 않으면 복사 계열 함수가 호출되게 된다.
class Tes... | [
"noreply@github.com"
] | noreply@github.com |
dc5d4c3ea9af007cab09ab3c4dba2a3549a791d8 | 9a48be80edc7692df4918c0222a1640545384dbb | /Libraries/Boost1.40/libs/interprocess/example/comp_doc_message_queueA.cpp | 7d1570b3e6d96a71ffb36af7b96ba9e4a3f590fd | [
"BSL-1.0"
] | permissive | fcrick/RepSnapper | 05e4fb1157f634acad575fffa2029f7f655b7940 | a5809843f37b7162f19765e852b968648b33b694 | refs/heads/master | 2021-01-17T21:42:29.537504 | 2010-06-07T05:38:05 | 2010-06-07T05:38:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,340 | cpp | //////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2006-2007. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/libs/i... | [
"metrix@Blended.(none)"
] | metrix@Blended.(none) |
f1e3f7bba7f05883fa14481f0744404927b85071 | efd7adff589e37ca98d2e3eb245aaeb23f64496e | /src/plugins/coreplugin/progressmanager/progressmanager_p.h | 44b572d0f2885eaa18ad20511da091a7a055fce4 | [] | no_license | Andersbakken/CPlusPlus | 3cf03c28968243587fa1d4661e7e5a388e62eb43 | 400f0b8f19de1c3fc9b794228c7aeec2259fce81 | refs/heads/master | 2021-01-10T20:24:54.067140 | 2013-05-28T03:46:50 | 2013-05-28T03:46:50 | 9,491,173 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,094 | h | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this f... | [
"jhanssen@gmail.com"
] | jhanssen@gmail.com |
b3f73c9eb482f588bb0e7cbc59418839abed9668 | 18ee7b4e3957b000df06414da36d7e717ccb7357 | /Fraples7DevDX3D/Source/Fraples7DevDX3D/RendererAPI/RenderGraph/Passes/VerticalBlurPass.h | 1559ce730fdd55d109a9e15cd86010e776508e9c | [] | no_license | searcas/Fraples7DevDX3D | 3d793b223a23ec56e20f8aeff933552421928181 | 77704aae3afcbb4a234428d020fbfc0a687534fb | refs/heads/master | 2023-06-05T08:17:18.969558 | 2021-02-17T16:51:02 | 2021-02-17T16:51:02 | 290,781,253 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 397 | h | #pragma once
#include "FullScreenPass.h"
#include "RendererAPI/GFXContext.h"
#include "RendererAPI/ConstantBuffersEx.h"
namespace FraplesDev
{
class VerticalBlurPass : public FullScreenPass
{
public:
VerticalBlurPass(std::string name, Graphics& gfx);
void Execute(Graphics& gfx)const noexcept(!IS_DEBUG) override;... | [
"ultimatez1000@gmail.com"
] | ultimatez1000@gmail.com |
04988dc8e4ec8088426dbba55aaadf58c9e9bb67 | 8b9e2fd5ec7a776b98494fd03ee631e44de8ad28 | /Mininscf-shellext/psfParser.cpp | 742dce2f2c0d81e6a4581d4e345af570345dd5a8 | [] | no_license | henke37/psf-shellext | f8d3f38572382b1bc8132410107b4906927e2586 | a63591857745cc03247e75d86f401178fbef371d | refs/heads/master | 2020-05-30T13:56:35.785747 | 2019-11-20T02:44:01 | 2019-11-20T02:44:01 | 36,177,029 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,729 | cpp | #include "common.h"
#include "psfParser.h"
#include <cstring>
PsfParser::PsfParser(IStream *_stream) : stream(_stream) {
stream->AddRef();
}
PsfParser::~PsfParser() {
stream->Release();
}
HRESULT PsfParser::readLong(uint32_t &out) {
HRESULT hresult;
ULONG bytesRead;
CHAR readBuf[4];
hresult=stream->Read(&vers... | [
"henke@henke37.cjb.net"
] | henke@henke37.cjb.net |
711aab8ce9b9eb8124c85da7fbfeade2640bf053 | 8d06f1e39cbe0d5fb32df4b3030fceae2e6ee564 | /src/console/model/aggregationelementmodel.cpp | 8c672e9ea0c14db196381f2f9b65008f5eac0125 | [
"MIT"
] | permissive | KAMiKAZOW/kuserfeedback | 24d03afdc59a794baf16915ce568843d31391daa | 4b52c2e16c619288f1371f4bfbc369cde04b95c1 | refs/heads/master | 2021-01-01T23:31:33.258792 | 2020-02-07T14:38:54 | 2020-02-09T10:03:00 | 239,392,052 | 0 | 0 | NOASSERTION | 2020-02-09T23:42:25 | 2020-02-09T23:42:25 | null | UTF-8 | C++ | false | false | 3,163 | cpp | /*
Copyright (C) 2016 Volker Krause <vkrause@kde.org>
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,... | [
"vkrause@kde.org"
] | vkrause@kde.org |
e91a135be132fd6847be94b8738c93ee5029203e | 660cff91d129c4d01dcabb75687e4b27c92d94f4 | /Source/GameServer/GameServer/Quest.cpp | f9b6a6a5896b550bb5a2900015cbecff94ad9cf9 | [] | no_license | thulioprado/MuGoblins | c0326aa6612e4972d22fe48838dfd91b01ba8b92 | 3f26656cd493a50d0c02f3c3543a899254cd6a5f | refs/heads/master | 2022-12-31T16:51:11.410512 | 2020-10-24T23:48:45 | 2020-10-24T23:48:45 | 228,335,567 | 6 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 11,628 | cpp | // Quest.cpp: implementation of the CQuest class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Quest.h"
#include "GameMain.h"
#include "MemScript.h"
#include "QuestObjective.h"
#include "QuestReward.h"
#include "Util.h"
CQuest gQuest;
////////////////////////... | [
"thutnaweb@gmail.com"
] | thutnaweb@gmail.com |
a2fc5014b58ed71b50f7c3498f146a5356b2b4bb | 44289ecb892b6f3df043bab40142cf8530ac2ba4 | /Sources/Elastos/Frameworks/Droid/DevSamples/jpk/JSTabHostDemo/elastos/devsamples/node/jstabhostdemo/CNodeListener.h | 9a133b2db7b714c4bdbce56555cf9032fb43fadc | [
"Apache-2.0"
] | permissive | warrenween/Elastos | a6ef68d8fb699fd67234f376b171c1b57235ed02 | 5618eede26d464bdf739f9244344e3e87118d7fe | refs/heads/master | 2021-01-01T04:07:12.833674 | 2017-06-17T15:34:33 | 2017-06-17T15:34:33 | 97,120,576 | 2 | 1 | null | 2017-07-13T12:33:20 | 2017-07-13T12:33:20 | null | UTF-8 | C++ | false | false | 8,220 | h | #ifndef __CTESTEVENTLISTENER_H__
#define __CTESTEVENTLISTENER_H__
#define JSPkgName JSTabHostDemo
#define JSEvtName CNodeListener
#ifndef JSCarClassHead
#define AA(y) #y
#define BB(x,y) AA(x##y.h)
#define CC(x,y,z) BB(x##z,y)
#define DD(x,y,z) CC(z##x,y,_)
#define EE(x,y) DD(x,y,_Elastos_DevSamples_Node_)
#define FF... | [
"gdsys@126.com"
] | gdsys@126.com |
351b362907d06accd70da96cdd594229943de0cc | 59754c35c1421043a9325f8594009302b5b6f56c | /common/v4l2/include/v4l2/stream_format.h | 3a6ceef0c890212cebc917019ff41cc868b2c8f1 | [
"Apache-2.0"
] | permissive | STMicroelectronics/hardware-peripheral-camera | a1d6b90dbe2662bdf91abea3dfa83967129c5da2 | 8f575f17886a38bbd348aa00b386d6623cf602c1 | refs/heads/master | 2023-08-25T08:56:38.030434 | 2021-06-01T06:44:12 | 2021-09-02T07:27:40 | 212,054,367 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,180 | h | /*
* Copyright (C) 2019 The Android Open Source Project
* Copyright (C) 2019 STMicroelectronics
*
* 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... | [
"jean-philippe.romain@st.com"
] | jean-philippe.romain@st.com |
add320441d41c301d0bb090a7a3488e31c038191 | 5a2349399fa9d57c6e8cc6e0f7226d683391a362 | /src/qt/qtwebkit/Source/WebCore/Modules/indexeddb/IDBOpenDBRequest.h | 2e2beb8e0117a7e1e6b5bfc713c8ccdd16112b46 | [
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-only",
"BSD-3-Clause"
] | permissive | aharthcock/phantomjs | e70f3c379dcada720ec8abde3f7c09a24808154c | 7d7f2c862347fbc7215c849e790290b2e07bab7c | refs/heads/master | 2023-03-18T04:58:32.428562 | 2023-03-14T05:52:52 | 2023-03-14T05:52:52 | 24,828,890 | 0 | 0 | BSD-3-Clause | 2023-03-14T05:52:53 | 2014-10-05T23:38:56 | C++ | UTF-8 | C++ | false | false | 2,731 | h | /*
* Copyright (C) 2012 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condit... | [
"ariya.hidayat@gmail.com"
] | ariya.hidayat@gmail.com |
ff43ba73ea51a14c82f940e8e6b0e1a1d113b49b | 3778519d536db519c651d53d94d5c86b959ac405 | /src/Compiler/IrDefs.h | d1c11e61c6821b37e834ebc23cda13d16d61c4a0 | [] | no_license | eval1749/evm | e882e98a8b7c451e62909a29c32380ee6b91ccac | 0ed7aba1fd10614af6235e0f21b878d95273a7f4 | refs/heads/master | 2020-09-21T14:02:06.226527 | 2012-12-28T10:19:44 | 2012-12-28T10:19:44 | 23,464,986 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 749 | h | // @(#)$Id$
//
// Evita Compiler - ResolvePass
//
// Copyright (C) 2010 by Project Vogue.
// Written by Yoshifumi ;VOGUE; INOUE. (yosi@msn.com)
#if !defined(INCLUDE_Compiler_IrDefs_h)
#define INCLUDE_Compiler_IrDefs_h
namespace Compiler {
class AliasDef;
class ArrayTypeDef;
class Attribute;
class ClassDef;
class Enu... | [
"yosi@wolf.home.local"
] | yosi@wolf.home.local |
f1836b91d3467ff99cadbbae17d11076850aaad6 | dc280ea45ce88e44ae7aed3948984721b4f4d453 | /framework/EliteMath/EVector2.h | 9e2553034438869102460e3a014c103e7473fddb | [] | no_license | TomKalders/FlowField | c98460be6df15415d69fa2252d7ea0c48211dece | 9a2a401261adc638075eb73bcc81ce140fc4a070 | refs/heads/master | 2023-02-13T14:09:06.214256 | 2021-01-13T13:43:21 | 2021-01-13T13:43:21 | 326,391,522 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,923 | h | /*=============================================================================*/
// Copyright 2017-2018 Elite Engine
// Authors: Matthieu Delaere
/*=============================================================================*/
// EVector2.h: Vector2D struct
/*==========================================================... | [
"47632871+TomKalders@users.noreply.github.com"
] | 47632871+TomKalders@users.noreply.github.com |
391dc6812fec5eecc4fd8e852fbdb4bf491cf3f6 | d4d433315840547d1996935b659e943da9dff2b9 | /itemNode.cpp | 2baef563ffbceb3ef6b5c75816b3fcb9ab852fcf | [] | no_license | Explicitname/linkedListsPractice | e7665de13d40e237be738e7de693fac258f50856 | 7f7b686aef0cb21cc0b37bbfd2232ec8f6d73911 | refs/heads/master | 2021-01-10T21:17:04.118126 | 2015-06-03T19:05:00 | 2015-06-03T19:05:00 | 35,291,372 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 358 | cpp | #include "itemNode.h"
using namespace std;
Item::Item(string n, double price, string type)
{
name = n;
typeOfItem = type;
priceOfItem = price;
next = 0;
previous = 0;
}
ostream& operator<<(ostream& os, const Item& c)
{
return os << "Name: " << c.name << endl << "Price: " << c.priceOfItem << endl << "Type ... | [
"explicit6911@gmail.com"
] | explicit6911@gmail.com |
72a72c85cc028dbb2bb7c736fc92d16a77af1c4d | 0c22d527c18df1f4edb90523f01e4a56cdf58606 | /NaoTH2011-light/Framework/NaoTH-Commons/Source/Tools/Math/PointList.h | 1e76eb045900a5db863766fcb6ff45c6e614f1a1 | [] | no_license | IntelligentRoboticsLab/DNT2013 | 3d9fdb1677858fe73006132cc47dda54b47ef165 | ddc47ce982fe9f9cfaf924902208df1d5e53a802 | refs/heads/master | 2020-04-09T06:04:30.577673 | 2013-12-11T13:39:12 | 2013-12-11T13:39:12 | 9,521,743 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,451 | h | /**
* @file PointList.h
*
* @author <a href="mailto:mellmann@informatik.hu-berlin.de">Heinrich Mellmann</a>
* Implementation of class PointList
*/
#ifndef __PointList_H_
#define __PointList_H_
#include "Tools/Math/Vector2.h"
#include "Tools/Debug/NaoTHAssert.h"
template<int MAX_NUMBER_OF_POINTS>
class ... | [
"giorgosmethe@gmail.com"
] | giorgosmethe@gmail.com |
d1a3747158f56ce75e82d77adec2c86b76ca614d | 18b88829acdecfef6378106edffb447d1cb9c66e | /dayz_code/configs/Category - Namalsk - Overwatch/explosives.hpp | 589d3b7540779432ca00944e05fc0a08193ba1b2 | [] | no_license | oiad/ZSC | a2b0631ef63926b58f2b2e39275c873ec5b150cf | b17541c540b8504019188289899796beff662415 | refs/heads/master | 2021-06-07T21:06:36.731705 | 2021-04-12T10:11:10 | 2021-04-12T10:11:10 | 82,430,546 | 5 | 23 | null | 2021-04-12T10:11:11 | 2017-02-19T02:42:56 | C++ | UTF-8 | C++ | false | false | 444 | hpp | class Category_529 {
class HandGrenade_west {
type = "trade_items";
buy[] = {4000,"worth"};
sell[] = {2000,"worth"};
};
class HandGrenade_east {
type = "trade_items";
buy[] = {4000,"worth"};
sell[] = {2000,"worth"};
};
class 1Rnd_HE_M203 {
type = "trade_items";
buy[] = {4000,"worth"};
sell[] = {2... | [
"noreply@github.com"
] | noreply@github.com |
98c50adba27148a4160c86468f1428cd3b2b1bb7 | 4fc495cc598bfdf263513a3bcd42192d047d805c | /libraries/MySensors/examples/RealTimeClockDisplaySensor/RealTimeClockDisplaySensor.ino | 48384034bcd1900fe8a9a1f766d3e9a4355fb9ca | [] | no_license | JosephEverhart/Arduino | 25f5750aa3187ffeac3db3dbd5992abc312a1b4e | bc7e24695d8c188d60ad192fd50c121e5b927c9e | refs/heads/development | 2021-01-17T08:17:16.374577 | 2016-06-02T10:29:11 | 2016-06-02T10:29:11 | 60,436,524 | 2 | 0 | null | 2016-06-05T00:38:50 | 2016-06-05T00:38:50 | null | UTF-8 | C++ | false | false | 4,045 | ino | /**
* The MySensors Arduino library handles the wireless radio link and protocol
* between your home built sensors/actuators and HA controller of choice.
* The sensors forms a self healing radio network with optional repeaters. Each
* repeater and gateway builds a routing tables in EEPROM which keeps track of the
... | [
"henrik.ekblad@gmail.com"
] | henrik.ekblad@gmail.com |
99f1a03b829d8990987608646be6a9cd7e3dca6b | 17cf171c8539ffd469a9fd27ca594c31c994749d | /Lis3/Lis3/strings.cpp | e2025858fe8a952bf81976abbdc552c0fad61a13 | [] | no_license | zj614android/c-c- | c7be544aca28e54545a8fa9d7ad6b4941877d887 | 815080171206b8ba71e6bd05fb116219a93b38db | refs/heads/master | 2020-03-18T21:02:14.578353 | 2018-06-05T06:52:06 | 2018-06-05T06:52:06 | 135,254,736 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,429 | cpp | #include<iostream>
#include <cstring>
#include <string>
using namespace std;
void main() {
cout << "*********************C风格***********************" << endl;
//形态1:char greeting[6]
char greeting[6] = { 'H', 'e', 'l', 'l', 'o', '\0' };
cout << "Greeting message:";
cout << greeting << endl;
//输出:Greeting message:... | [
"2807738720@qq.com"
] | 2807738720@qq.com |
8a889a484006dd4944354cc393fbcfdad5ea5f2e | 097a8d328ffaa2cf38d201716a7ed5a9fb862e97 | /Gyrocam/Gyrocam/YorkUrbanDbTester.cpp | 15ff4bc703fb2e0ad5174c39e69ceb3ee948b01f | [] | no_license | pkuderov/gyrocam | 4094f0023c8f4aeb9d92d9826d487c7f700e7947 | e0ef99ebc75437d54556f524d93bfc8ff34f6621 | refs/heads/master | 2021-01-10T06:15:38.968284 | 2015-06-15T02:49:01 | 2015-06-15T02:49:01 | 36,031,292 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,672 | cpp | #include "YorkUrbanDbTester.h"
#include "IoProvider.h"
#include "ImageProcessor.h"
#include "Shared.h"
#include <iostream>
#include <fstream>
namespace gyrocam
{
YorkUrbanDbTester::YorkUrbanDbTester(const YorkUrbanDbTestRunConfig &config, const Settings &settings)
{
this->config = config;
this->settings = sett... | [
"pkuderov@gmail.com"
] | pkuderov@gmail.com |
777c99f81a3aa7c8c66164aa630ef7a97eb32c8c | 6d5db68fe2e912f7f18dfddcf73955a042f32475 | /project4-15/codebase/rm/rmtest_01.cc | c8b401bf3319be3deb82639fecd82f3b12d23acc | [] | no_license | DanielThurau/Database-System-II | 9d33341d37f71324bd63b29571a1b53e12346af1 | 42ab3c9d84cc100a7606d099924dcfb9c32bb8dc | refs/heads/master | 2020-03-09T21:07:59.720033 | 2018-06-12T18:44:10 | 2018-06-12T18:44:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,278 | cc | #include "rm_test_util.h"
RC TEST_RM_1(const string &tableName, const int nameLength, const string &name, const int age, const float height, const int salary)
{
// Functions tested
// 1. Insert Tuple **
// 2. Read Tuple **
// NOTE: "**" signifies the new functions being tested in this test case.... | [
"pefbass@gmail.com"
] | pefbass@gmail.com |
3ac24e5a67dbb302f9136058a1df571f2e5d27e1 | 90047daeb462598a924d76ddf4288e832e86417c | /ui/ozone/common/display_mode_proxy.cc | e1f34470255670d3026254e749142ce3a818b20e | [
"BSD-3-Clause"
] | permissive | massbrowser/android | 99b8c21fa4552a13c06bbedd0f9c88dd4a4ad080 | a9c4371682c9443d6e1d66005d4db61a24a9617c | refs/heads/master | 2022-11-04T21:15:50.656802 | 2017-06-08T12:31:39 | 2017-06-08T12:31:39 | 93,747,579 | 2 | 2 | BSD-3-Clause | 2022-10-31T10:34:25 | 2017-06-08T12:36:07 | null | UTF-8 | C++ | false | false | 926 | 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 "base/memory/ptr_util.h"
#include "ui/ozone/common/display_mode_proxy.h"
#include "ui/ozone/common/gpu/ozone_gpu_message_params.h"
namespace u... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
844c84a209db311d9de9d0e5f74f9949e73eb2fc | 970d2a538cb243f4fffac5ad4b2a585f28f7de55 | /FifteenCoursework/FifteenCoursework/FifteenCoursework.cpp | 38fdc30e75f043642bcbb4f6dc33629a7d007558 | [] | no_license | djtodd709/FifteenCoursework | 789b323fce3197de955768791064567c28e4aabb | 388ac94e73c72fd044c126472d4f5ec5c7e686d6 | refs/heads/master | 2022-04-04T09:09:59.908313 | 2020-02-12T20:47:20 | 2020-02-12T20:47:20 | 214,429,153 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,525 | cpp | // FifteenCoursework.cpp : This file contains the 'main' function. Program execution begins and ends there.
// Code by Dave Todd - b9052651
#pragma once
#include <fstream>
#include <string>
#include <sstream>
#include <algorithm>
#include <time.h>
#include <thread>
#include <mutex>
#include "Puzzle.h"
using namespace... | [
"djtodd709@gmail.com"
] | djtodd709@gmail.com |
29a690f5f553a4d533714af19e9c89643460dad1 | 7e1b1c5f2f3a40f6499b8d5d7b49bc722d2a1917 | /lib/IR/IREval.cpp | a50e3a47530ab1a1b64a2297ab149e7f84469cff | [
"MIT"
] | permissive | joshbedo/hermes | b2d6b0f6c5abaeff94190a2f7b343c0772d9df14 | cda1b533fcda1da28800c05878d27b920364b57d | refs/heads/master | 2022-12-18T18:15:44.266618 | 2020-09-22T18:35:45 | 2020-09-22T18:37:18 | 297,771,133 | 1 | 0 | MIT | 2020-09-22T21:00:35 | 2020-09-22T21:00:34 | null | UTF-8 | C++ | false | false | 21,660 | cpp | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "hermes/IR/IREval.h"
#include "hermes/IR/IRBuilder.h"
#include "hermes/Support/Math.h"
#include "llvh/ADT/SmallString.h"
... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
2689e9b70ea04960b8597a668801eecef8dba907 | 6250f3343eff1638912510b66ed936c59796635a | /src_vc141/thirdparty/stlsoft/STLSoft/include/stlsoft/util/true_typedef.hpp | 16bc934e85227512679cc6204d612b93d647c94e | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | nneesshh/mytoolkit | b4b242307a6603bc5785bc130de8f4d3b5ea9265 | 336ae9c7077c8687a8cf8a2ce4aec804c28ab90c | refs/heads/master | 2020-04-05T15:18:07.985547 | 2018-12-17T11:36:07 | 2018-12-17T11:36:07 | 156,961,652 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 36,098 | hpp | /* /////////////////////////////////////////////////////////////////////////
* File: stlsoft/util/true_typedef.hpp
*
* Purpose: Contains the true_typedef class template.
*
* Created: 16th January 2002
* Updated: 19th February 2017
*
* Home: http://stlsoft.org/
*
* Copyright (c) 2002-... | [
"nneesshh@163.com"
] | nneesshh@163.com |
130a063b407962e13f166c8ff95accb8c56619d8 | 284d8657b07536bea5d400168a98c1a3ce0bc851 | /xray/core/sources/memory_monitor.h | 066e71431b91f08b932a5076eca5c3af0d8f29a6 | [] | no_license | yxf010/xray-2.0 | c6bcd35caa4677ab19cd8be241ce1cc0a25c74a7 | 47461806c25e34005453a373b07ce5b00df2c295 | refs/heads/master | 2020-08-29T21:35:38.253150 | 2019-05-23T16:00:42 | 2019-05-23T16:00:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,009 | h | ////////////////////////////////////////////////////////////////////////////
// Created : 09.10.2008
// Author : Dmitriy Iassenev
// Copyright (C) GSC Game World - 2009
////////////////////////////////////////////////////////////////////////////
#ifndef MEMORY_MONITOR_H_INCLUDED
#define MEMORY_MONITOR_H_INCLU... | [
"tyabustest@gmail.com"
] | tyabustest@gmail.com |
6214de985c20e75bf6619295a2690ab7de7aa7fe | 4e1e2a74279ed35b60cdcbad9561190723b61d80 | /tree_using_stack.cpp | 2b6fb99d76db63aecd83d1aebf6b71df50014951 | [] | no_license | futre1529/Dsa_Implementations | eb56fef501386f6dd6bdbc26daac9e96e4ffe64e | c9252853f8b73a600b8f9b761664bb07a22b9152 | refs/heads/master | 2016-09-06T07:37:39.530363 | 2014-03-18T19:12:13 | 2014-03-18T19:12:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,335 | cpp | #include<iostream>
using namespace std;
#include<conio.h>
struct bstnode
{
int data;
char visit;
bstnode *rchild;
bstnode *lchild;
};
bstnode *addchild(bstnode *l,int k)
{
if(l==NULL)
{
l=new bstnode;
l->data=k;
l->rchi... | [
"codered@ubuntu.(none)"
] | codered@ubuntu.(none) |
cae4683d2af863519df9aae729ca3bd4c42def80 | d0d1acd44b710597b41ecdf495230f330cf07af5 | /src/readparameters.cpp | b9371bcae89cbbccf0604734c0ee0d0871b201ac | [] | no_license | byiii/pcl_3d_rec_framework | 1c6fb9025739231c837ab1cee4d18309aaaa0191 | 4d6e74cb42a664794a0d0adc65b5803a3f38ea22 | refs/heads/master | 2020-04-06T03:53:34.009197 | 2016-06-30T06:08:29 | 2016-06-30T06:08:29 | 57,368,361 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 510 | cpp | #include <utils/readparameters.h>
//template void axisAngleToRotationMatrix(
//const Eigen::Matrix<double,3,1> &axis,
//double angle,
//Eigen::Matrix<double,3,3> &rotmat);
template void readParameters::get(const char* key, float& value);
template void readParameters::get(const char* key, int& value);
template void re... | [
"bingyi021@gmail.com"
] | bingyi021@gmail.com |
8af5490a9978dcf8a70b29c43275e73f5972933c | 84ed255365c62a3b66a887f2cca205b2245de22a | /136. Single Number.cpp | a712313386fc152fcae198cf5b22ecab820d7b20 | [
"MIT"
] | permissive | rajeevranjancom/Leetcode_Cpp | c83988074b69c2c99dbe926ba5ada86963625641 | f64cd98ab96ec110f1c21393f418acf7d88473e8 | refs/heads/master | 2022-12-30T08:22:03.943195 | 2020-10-12T22:08:37 | 2020-10-12T22:08:37 | 298,404,248 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 154 | cpp | class Solution {
public:
int singleNumber(vector<int>& nums) {
int res = 0;
for(auto& x: nums) res ^= x;
return res;
}
};
| [
"noreply@github.com"
] | noreply@github.com |
2dd9c3c06b4f4375e4d14d2e635a6ef8c892050a | 1a754f8cbc44f0730491b3aa846bd1c0e4274409 | /CEGUISample9/CEGUISample9.h | da25643352135a0c623ac81c96373eae33cf2f7c | [] | no_license | harr999y/OgreFramework | fe63d4be6a9e86dac4c790e5e391031ad5162477 | 784e00ce55b39520ad761132409a6664d142fa5a | refs/heads/master | 2016-09-05T13:07:09.199479 | 2012-05-09T21:26:19 | 2012-05-09T21:26:19 | 4,277,026 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,155 | h | #ifndef _CEGUISAMPLE9_
#define _CEGUISAMPLE9_
#include "../CEGUIBase/CEGUIBaseApp.h"
class MyEffect : public CEGUI::RenderEffect
{
public:
MyEffect();
int getPassCount() const;
void performPreRenderFunctions(const int pass);
void performPostRenderFunctions();
virtual bool realiseGeometry(CEGUI::RenderingWindow&... | [
"79481268@qq.com"
] | 79481268@qq.com |
d9bf8a2fc1a780773844220d6c1cba35bf455319 | 7f4430f70911ddc552956ac1b7874a88d8b0edad | /leetcode/131——Palindrome_Partitioning.cpp | db15669cea37692d02550e24cf7d6a1c7428e005 | [] | no_license | tylercross/algorithm | 404689c701655515cc7608a45b8d1d8257dd2bb8 | 44171627a592f0a91c0a8dbf8c97f034d92ee40c | refs/heads/master | 2020-04-29T11:34:00.306675 | 2019-09-10T16:06:04 | 2019-09-10T16:06:04 | 176,103,341 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,228 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <limits.h>
using namespace std;
bool isPalindrome(const string &s,int left,int right);
void dfs(int index,string& s,vector<string>& path,vector<vector<string>>& res);
vector<vector<string>> partition(string s)
{
vector<vector<string>> res;
if(s.em... | [
"fanwenjin@tju.edu.cn"
] | fanwenjin@tju.edu.cn |
43ed34bc54529644e84077ba683beb4d9593528c | 0169bc4f1196a2b9da7891440508f8662fd67b39 | /summafrom1ton.cpp | b7fd6a3265b152c24af7d2c9aaaa3f5829bf6354 | [] | no_license | Woldos/My-first-works | 1da1d4b91859b2d3e88d1b2b12509dcfd8adeb12 | 7d0cfb19b39a906fd4d77126cf453f2c0edf0c17 | refs/heads/master | 2020-07-09T17:51:05.621779 | 2019-11-18T23:35:38 | 2019-11-18T23:35:38 | 204,039,145 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 201 | cpp | #include <iostream>
using namespace std;
int main(){
long long int n, sum = 0;;
cin >> n;
for (int i = 0;i <= n; i++){
sum += i;
}
cout << sum;
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
583d8fd7d4a318e08605948e871fb7ede4de67b0 | f91730684042f2b2f2dd1ef1f1351731809210fa | /TemplateTrees.V.2.4/Trees/ValueClasses/CompareFunctions.hpp | 00abaca7b60fd8ba17741e52b8ee64ce7c19a86b | [] | no_license | Kremen-Sergey/Trees | 971a11c289ddfd61409e22290a765a5647a7f305 | c2b81d05ed356ff86d2be2115a6eba1bf513fdf7 | refs/heads/master | 2021-01-01T05:33:21.522061 | 2015-06-22T13:52:31 | 2015-06-22T13:52:31 | 37,857,911 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 241 | hpp | #pragma once
#include "stdafx.h"
#include "Elephant.h"
//Comparison functions for Tkey
int compareElephantForName(Elephant x, Elephant y)
{
return strcmp(x.getName(), y.getName());
}
int compareForInt(int x, int y)
{
return (x - y);
}
| [
"KremenSY@gmail.com"
] | KremenSY@gmail.com |
92d4444c23f953d435ca59388794a8fe13624ee6 | 05f27f3a2586c15431b95092b2616773200b9baf | /ass2_2/timespan.h | 15e4af9a46665a8b159995a1331d366ab5981c0e | [] | no_license | ksy1231/Data_Structure_I | 6f1bc2eb9cd46bcacc61c83abc6470e8cbc33086 | 42d000eaaaf32fc0f08b95e29c96b3dbcf608dba | refs/heads/master | 2020-04-27T03:19:56.714708 | 2020-04-17T17:59:35 | 2020-04-17T17:59:35 | 174,021,917 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,372 | h | //
// Created by SooYeon Kim on 4/24/2018.
//
#ifndef ASS2_TIMESPAN_H
#define ASS2_TIMESPAN_H
#include <iostream>
using namespace std;
class TimeSpan {
friend ostream& operator<<(ostream &out, const TimeSpan &ts);
public:
// Constructor
TimeSpan(double hours = 0.0, double minutes = 0, dou... | [
"kimsy9512@gmail.com"
] | kimsy9512@gmail.com |
1a72d5050319cd1a0e4b154ebdd971fa32ac0675 | 36cab50e0aa6779a1b0b14df392cccb2fb2dfee3 | /src/ImageReader.cpp | dc37a6bd76971d5b2b020008eb97c50ef9d0a7cf | [] | no_license | LeonidK23/image_enhancer | 46e40cf4e732a92f1cb2f3c2d12c0a410b84a985 | 9d17750de7dd2ac3f184839909616b918bdcd93b | refs/heads/master | 2022-07-07T04:07:46.460774 | 2020-05-16T14:57:32 | 2020-05-16T14:57:32 | 264,224,553 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,547 | cpp | #include <fstream>
#include <string>
#include <vector>
#include <iostream>
#include <cstdlib>
#include "Image.hpp"
#include "ImageReader.hpp"
Image ImageReader::read(std::string filePath){
int num;
int filenameBegin;
int filenameEnd;
std::string fileName;
Image img{};
// convert png to txt using python s... | [
"kaida.leonid@gmail.com"
] | kaida.leonid@gmail.com |
975f0ae3789de2ffd4bd0d52a3997cc501bdc06b | 4335c4c4715c8d5bbcf35c06a8ccdb4f7975e5d5 | /book-competitive-programming-3rd/solutions/10855_rotated_square.cc | 04c14abab3fdb272c3743f64ac897e37aa6e59fb | [] | no_license | myeongjae-kim/competitive-programming | 3c492e986b501a405f2e4447798153628558487a | e190abee9e633069e113f5ef40d40d2f6eb92b1e | refs/heads/master | 2020-04-17T11:53:40.428065 | 2020-03-22T11:23:59 | 2020-03-22T11:23:59 | 166,558,633 | 0 | 0 | null | 2020-03-21T16:10:22 | 2019-01-19T14:58:46 | C++ | UTF-8 | C++ | false | false | 1,505 | cc | #include <cmath>
#include <iostream>
#include <vector>
#include <string>
using namespace std;
int count_sub_square(vector<string> &A, vector<string> &B, int a, int b){
int count = 0;
for(int r = 0; r <= a-b; r++) {
for(int c = 0; c <= a-b; c++) {
for(int r_s = 0; r_s < b; r_s++) {
for(int c_s ... | [
"dev@myeongjae.kim"
] | dev@myeongjae.kim |
8358f8a1fae20ac6759a5068e430e747744a40fa | 51afaf7c5fbd2ca999d9b4099550e226db81276a | /src/Dictionary.cpp | 15088f8081a25c411816280c9acd93a4183d9bd0 | [] | no_license | yuewuqing2224/sketch_object_recognition | c83ff84b63bb7d8a60549a1d5a97db4f0bd996be | 6f0f00ee26d8ab6e024bc641ea759862d2b87aed | refs/heads/master | 2021-01-10T00:56:58.797904 | 2015-11-04T18:13:45 | 2015-11-04T18:13:45 | 45,323,229 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 734 | cpp | #include "Dictionary.h"
using namespace std;
using namespace cv;
Dictionary::Dictionary()
{
dictionarySize = 100; //default size
}
Dictionary::Dictionary(int s){
dictionarySize = s;
}
void Dictionary::KCluster(Mat& featuresUnclustered,string p){
TermCriteria tc(CV_TERMCRIT_ITER,100,0.001);
int re... | [
"xiangxu@andrew.cmu.edu"
] | xiangxu@andrew.cmu.edu |
50621ab46470cf5dc5158c55ba79c14c14b5a1ec | c16b3c494be06fd190980a4bd5d0bc0a83db4bdc | /source_location.h | 29255d4aa5d0c36f1042751ae25d8dcf465a6a7c | [] | no_license | arapelle/Logvisu | 15913af6d431f2736eb7b74b84f4039e19587369 | c376d621d094b097353fe35d08cd8db562682c8e | refs/heads/master | 2020-07-22T17:50:39.579702 | 2019-09-09T10:30:33 | 2019-09-09T10:30:33 | 207,280,283 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 237 | h | #ifndef SOURCE_LOCATION_H
#define SOURCE_LOCATION_H
#include <QString>
class Source_location
{
public:
QString file_name;
quint64 line;
QString function_name;
QString to_string() const;
};
#endif // SOURCE_LOCATION_H
| [
"aymeric.pelle@gmail.com"
] | aymeric.pelle@gmail.com |
1db1d488cb13d810e1e4d8121dd82f04530f8ec2 | 7f30640ddaa58b920bb2f056e6e17d6a7c752073 | /src/qt/bitcoingui.h | 73b5a6655e7cc1a6d4450a3d4dc21220cc96dde9 | [
"MIT"
] | permissive | TrueDividendCrypto/truecrypto-oss | 686d7133a713f9ec2e4c1c86ade17afb3a676564 | d6dda1a4f467b772cccece1b3915d3e391e9809f | refs/heads/master | 2021-03-18T13:21:37.064254 | 2020-03-05T18:24:20 | 2020-03-05T18:24:20 | 247,079,476 | 0 | 0 | MIT | 2020-03-13T13:37:36 | 2020-03-13T13:37:36 | null | UTF-8 | C++ | false | false | 8,977 | h | // Copyright (c) 2011-2019 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_BITCOINGUI_H
#define BITCOIN_QT_BITCOINGUI_H
#if defined(HAVE_CONFIG_H)
#include "config/tdc-config.h"
#endif
... | [
"block478558@gmail.com"
] | block478558@gmail.com |
f9b5ecb770c986bdbbfd762148aea8e85c8ea042 | 6fe26c7fb9f3ed167e0c78c73870986a450e1d8a | /Milestone-3/project_2_17.4/ip_repo/my_ip_hls/solution1/syn/systemc/fifo_w1_d64_A.h | a87c1fa6409cbefb5386078b3db441578b5671bd | [
"MIT"
] | permissive | CSpyridakis/Reconfigurable-Computing | 17b0bbd9b879c4dcf430d9b3fd682e1e2d254b4d | 345316489786c6470e47c66b0bf4a73d2ac4b0c0 | refs/heads/master | 2021-06-30T03:55:05.568758 | 2020-10-13T20:22:04 | 2020-10-13T20:22:04 | 173,803,738 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 5,513 | h | // ==============================================================
// File generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC
// Version: 2017.4
// Copyright (C) 1986-2017 Xilinx, Inc. All Rights Reserved.
//
// ==============================================================
#ifndef fifo_w1_d64_... | [
"spyridakischristos@gmail.com"
] | spyridakischristos@gmail.com |
6ab4bf5e764efd3752793185b2d143f952c51543 | 2a14f9cc24d61712b3c40858e23772e6c86db16a | /src/apps/pong.cpp | 8ff8b4d5660910f61727a715e0a24b643817cfef | [
"MIT"
] | permissive | GilDev/IntelliCasier | 9384edfeba01fde553ecfe08f334d0adb9046182 | e79c059abbdbae47c4412c21f49319ffc97f2f68 | refs/heads/master | 2021-01-16T23:02:25.940545 | 2016-05-27T17:20:55 | 2016-05-27T17:20:55 | 42,610,026 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,610 | cpp | #include <Arduino.h>
#include "menu.h"
#include "common.h"
#include "options.h"
#include "../config.h"
#include "../displays.h"
#include "../events.h"
static TimerId updateBallTimer = -1, updateSpeedTimer = -1;
static struct {
byte x:3;
byte y:3;
signed char xDir:2;
signed char yDir:2;
unsigned short speed; // ... | [
"gildev@gmail.com"
] | gildev@gmail.com |
f560106d1fed8294235311b7c1e52c13349d1440 | 179b422ad1f7fd9c92cc24ea55bd213837f6c807 | /Institute-Management.cpp | 8b04611842b6a9526be9c5a05fe91f7acd48a433 | [] | no_license | gagansharma2717/Institute-Management-System | 9481c8cc75f7bdf62693ad16cbd1c694b5339ef5 | 8c6a3792861bc73cf4065f42b1dffea782d7b0e3 | refs/heads/master | 2023-06-02T13:55:11.099017 | 2021-06-26T19:34:34 | 2021-06-26T19:34:34 | 380,581,876 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,951 | cpp | #include<iostream>
#include<conio.h>
#include<fstream>
#include<stdlib.h>
#include<string.h>
using namespace std;
class Address{
protected:
int house;
char city[20],state[20];
static char inst[6];
};
char Address::inst[]="PIET";
class Student:public Address{
protected:
int age,roll,p,c,m,h,e,total;
float avg... | [
"sharmagagan276@gmail.com"
] | sharmagagan276@gmail.com |
ed7e703dbf007ca2dd7a04ae9f782d7e09235ee1 | 92c90b83ef7a1e597691ccf45e10337b601f9293 | /kod_arduino/kod_arduino.ino | 1c4cc42ee05a7e4a9b060f15ea2110214417fbec | [] | no_license | sdziho/mechatronics | 969b9ab968dae0ee2461e8a82e40c5d30632646e | 050697f7dd351627ad9daaa86fe50959cac1229f | refs/heads/master | 2023-01-01T03:12:45.597719 | 2020-10-19T18:48:10 | 2020-10-19T18:48:10 | 305,482,498 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,021 | ino | /*------------------------------------------------------------------------------
LIDARLite Arduino Library
GetDistancePwm
This example shows how to read distance from a LIDAR-Lite connected over the
PWM interface.
Connections:
LIDAR-Lite 5 Vdc (red) to Arduino 5v
LIDAR-Lite Ground (black) to Arduino GND
... | [
"sdziho1@users.noreply.github.com"
] | sdziho1@users.noreply.github.com |
6c9b7bbc3082742cd21c455d94b2473e169c6301 | 8c0fe1f3a78cdd07ebd4d066db03fd06563bbd52 | /Contests/3. push_back(1)/7. count_it/simple.cpp | b9fe10ce891780c56ae8d1cf1c9acf09ec66d939 | [] | no_license | GeekGrave/my_coding | 19d648e7139651ea4d95ea9f85439bb029a153a8 | f04af612f09fc42271494203326b57266adbcdca | refs/heads/main | 2023-04-25T22:37:16.360021 | 2021-05-08T12:58:55 | 2021-05-08T12:58:55 | 365,496,897 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 195 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
int t;
cin>>t;
while(t--){
int s;
cin>>s;
int x=s;
cout<<x/2+1<<"\n";
}
return 0;
}
| [
"shashikiit005@gmail.com"
] | shashikiit005@gmail.com |
a4bd627408e9bcedf6657e79f801827fa01d8607 | 0415e9feaf2cf5ce206d63387a73fb658e04d161 | /riegeli/bytes/backward_writer.h | ea41ce57b5f8355727ad3eb890719960fd0dd860 | [
"Apache-2.0"
] | permissive | gregorycollins/riegeli | 6e5b8a80cc050c62d121d1cda023649b31dc2391 | c7f6254b7fdc2e0de7e35c68f59e3cdac90f97a2 | refs/heads/master | 2020-09-08T08:07:39.174026 | 2019-11-11T21:22:41 | 2019-11-11T21:22:41 | 221,072,802 | 0 | 0 | Apache-2.0 | 2019-11-11T21:24:36 | 2019-11-11T21:24:36 | null | UTF-8 | C++ | false | false | 12,650 | h | // Copyright 2017 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | [
"qrczak@google.com"
] | qrczak@google.com |
6b35805c7ebd4cea0bcc982e98619fc3780ff076 | 9f16950a070174c4ad6419b6aa48e0b3fd34a09e | /vfxGraph/vfxNodes/vfxNodeDrawModel.h | 3e14d2bfe8e1bc46d3690bda1bb48c667e34f406 | [] | no_license | marcel303/framework | 594043fad6a261ce2f8e862f921aee1192712612 | 9459898c280223b853bf16d6e382a6f7c573e10e | refs/heads/master | 2023-05-14T02:30:51.063401 | 2023-05-07T07:57:12 | 2023-05-07T10:16:34 | 112,006,739 | 53 | 1 | null | 2020-01-13T18:48:32 | 2017-11-25T13:45:56 | C++ | UTF-8 | C++ | false | false | 1,979 | h | /*
Copyright (C) 2020 Marcel Smit
marcel303@gmail.com
https://www.facebook.com/marcel.smit981
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 limitati... | [
"marcel303@gmail.com"
] | marcel303@gmail.com |
7f21b5b118efed3877f0412d9ffcdc7013bc2f28 | 1189bc47b186f315248272bf9ba43772863ce7d2 | /Depth/depth_convert_x86.h | 8ffc5304a32d968e23cd145186586713a1981f28 | [
"WTFPL"
] | permissive | gitter-badger/zimg-1 | c4303c1d44d5ec489c5707bac59d4b7617eda9ea | de78f5ee1d1f6d346169d8de3f0fca0d736ec850 | refs/heads/master | 2020-04-08T07:50:40.787919 | 2015-09-21T18:33:08 | 2015-09-21T18:33:08 | 42,952,887 | 0 | 0 | null | 2015-09-22T18:29:35 | 2015-09-22T18:29:35 | null | UTF-8 | C++ | false | false | 2,050 | h | #if 0
#pragma once
#ifdef ZIMG_X86
#ifndef ZIMG_DEPTH_DEPTH_CONVERT_X86_H_
#define ZIMG_DEPTH_DEPTH_CONVERT_X86_H_
#include "depth_convert.h"
namespace zimg {;
enum class CPUClass;
namespace depth {;
class DepthConvert;
/**
* Shared DepthConvert helper for all x86 implementations.
*/
class DepthConvertX86 : p... | [
"noreply@example.com"
] | noreply@example.com |
e9461af9aaec384931dba2db9663807790cff7f7 | 23f4d88250ec76ae7e0f2511d000ca147e2b4db0 | /Data Structure Mack - Luciano C++/Class 03 TAD/Herança Natural Inteiro/inteiro.cpp | 95b6618e47c1fe36534fbfc3dbf47d5cbaaf7fd6 | [] | no_license | gregory735/C-Help | 08d24f74de2921c72fa180dc6225ff2ccc968cce | 39d0cc5e8dac3fd8c54f84df4a6048269f910c3f | refs/heads/master | 2020-03-27T23:58:04.075058 | 2018-09-05T19:38:22 | 2018-09-05T19:38:22 | 147,363,818 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 767 | cpp | #include "inteiro.h"
#include <stdlib.h>
Inteiro:: Inteiro (unsigned int v,char sinal){
if (sinal == '+')
value = v;
else if (sinal == '-')
value=-v;
}
Inteiro::~Inteiro(){}
int Inteiro::getValue(){
return value;
}
Inteiro Inteiro::suc(){
int v = value + 1;
Inteiro n(abs(v), v<0?'-':'+');
return n;
}
Intei... | [
"gregory_735@hotmail.com"
] | gregory_735@hotmail.com |
e0ca2b5afa42f0d3843ee62b1e2619fd4d954ad1 | 56a4cb943d085a672f8b0d08a8c047f772e6a45e | /code/Johnson_Engine/Runtime/render_b/src/sys/d3d/d3dtexinterface.cpp | 0ba6e77f72db3d7f046ee6bef6cd2783f87c3d16 | [] | no_license | robertveloso/suddenattack_legacy | 2016fa21640d9a97227337ac8b2513af7b0ce00b | 05ff49cced2ba651c25c18379fed156c58a577d7 | refs/heads/master | 2022-06-20T05:00:10.375695 | 2020-05-08T01:46:02 | 2020-05-08T01:46:02 | 262,199,345 | 3 | 1 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 9,584 | cpp |
#include "bdefs.h"
#include "ilttexinterface.h"
#include "d3dtexinterface.h"
#include "Render.h"
#include "dtxmgr.h"
#include "colorops.h"
#include "clientmgr.h"
//------------------------------------------------------------------
//------------------------------------------------------------------
// Holders and the... | [
"robert@velosodigital.com"
] | robert@velosodigital.com |
029670c9ec9b86e06e3585ec557c6ff4c5a60c52 | 13e99a4b693865af856790df5f9c10f2e0ac8b4f | /colloquium/colloquium/Z/MUL_ZZ_Z.cpp | cee9f00ee7da8df45231bf5cbe5380ae27fbdeaf | [] | no_license | cosychair/colloq | b9766e639dd2fc8dd31c4d165238cd4accdcaf7c | 0b257c5d0023536014fb4107bdac5f5d0dec37e1 | refs/heads/master | 2020-03-09T13:03:12.909992 | 2018-04-14T20:29:23 | 2018-04-14T20:29:23 | 128,800,482 | 1 | 3 | null | 2018-04-12T18:24:46 | 2018-04-09T16:19:54 | C++ | UTF-8 | C++ | false | false | 1,412 | cpp | #include <cstdlib>
#include <iostream>
#include "longInteger.h"
#include "../Z/longIntFunctions.h"
#include "../N/longNatFunctions.h"
#include "../N/helpFunctions.h"
#include "../Output/outputN.h"
using namespace std;
LNGINT MUL_ZZ_Z(LNGINT ln, LNGINT lt)
{
LNGINT ttr;
ttr.A = NULL;
ttr.n ... | [
"noreply@github.com"
] | noreply@github.com |
4b3db0e628f9313cc9f41a897861e981d1614493 | 9875073000f7e81b08ff459831469d293c2800e0 | /CODEFORCES/Puzzles.cpp | 47fdae31a974cf723f649ba7615d89355bfbee50 | [] | no_license | Minato1803/Code_Competition | 47b31cf5eefbd38d4519b034f55f58ca700c05d4 | 21e893c8e9a457f095aa9fbbf8dd439a516cbc4d | refs/heads/master | 2023-02-17T04:52:31.070539 | 2021-01-20T11:41:30 | 2021-01-20T11:41:30 | 161,519,880 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 375 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long
int main()
{
ll n,m;
cin>>n>>m;
ll a[m];
for(ll i=0;i<m;i++){
cin>>a[i];
}
for(ll i=0;i<m;i++){
for(ll j=m-1;j>i;j--){
if(a[j-1]>a[j]){
swap(a[j-1],a[j]);
}
}
}
ll p=(a[n-1]-a[0]);
for(ll i=1;i<=m-n;i++){
if(p>(a[n-1+i]-a[i])... | [
"nguyenduckhai.otaku@gmail.com"
] | nguyenduckhai.otaku@gmail.com |
14d1a37b471161aa95dbfad87b485ff0eda277db | 940fbee64f83fa37c63b6cdcfd3d8b111a43add9 | /Cplusplus/BDT/src/reader2.h | 9d83466572a695d58bf5db535daad6b7163ef6d9 | [] | no_license | kehindetomiwa/Machine_Learning | 53933da2d164f6add207e9913146711c0e34fba6 | 00d55abfd2693cb4533f04ca09cdbaccf4d0662a | refs/heads/master | 2020-05-03T20:56:11.254158 | 2019-11-08T14:51:45 | 2019-11-08T14:51:45 | 178,813,757 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,418 | h | //////////////////////////////////////////////////////////
// This class has been automatically generated on
// Wed Sep 27 13:58:27 2017 by ROOT version 6.06/02
// from TTree ntuple/ntuple
// found on file: /eos/atlas/user/k/ktomiwa/HGAM_AOD/ntuple/PowhegPythia8EvtGen_NNLOPS_nnlo_30_ggH125_gamgam.tag1_MxAOD/hist-Powheg... | [
"kehindetomiwa@kehindemacbookair.dyndns.cern.ch"
] | kehindetomiwa@kehindemacbookair.dyndns.cern.ch |
c6f64175976435800c2e0e7b14f4fd07154c56c0 | 8001210029e0767d6ae2b141eb62b421a6513f5b | /utils/TableGen/TableGen.cpp | d94ff5937b2f346e4b7f41706ea8c15b7be75d96 | [
"NCSA"
] | permissive | abrageddon/LLVM-LabelAll-Clang | 9f9e772317f5576b53b43eee2ac166836e9c979e | 231befb2b4543d02c5af7c84c5f8b2b8c0126a8c | refs/heads/master | 2016-09-11T04:49:58.330250 | 2014-04-04T22:50:16 | 2014-04-04T22:50:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,433 | cpp | //===- TableGen.cpp - Top-Level TableGen implementation for Clang ---------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"sneisius@uci.edu"
] | sneisius@uci.edu |
0bf9d9c76647bcbdff05233a9f39b99be45c65e9 | 9b882b48bf4fb6f692173b86fd97a03a0d0ebda0 | /Project/Dusk2/shootapplication.cpp | e53852f447f200b387614ef2c21a4d87559fcc00 | [] | no_license | INF-COMGR/OpenGL-Project | 7cfd814fb4f59de509767bd2dc344ef9a5473936 | 0970a7081ea774574ff1ae3dda7f06a387e6fb48 | refs/heads/main | 2023-05-09T01:33:17.198422 | 2021-05-19T19:01:11 | 2021-05-19T19:01:11 | 362,388,151 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 672 | cpp | #include "shootapplication.h"
#include <QSurfaceFormat>
ShootApplication::ShootApplication(QWidget *parent) : QMainWindow {parent} {
// QSurfaceFormat format;
// format.setDepthBufferSize(24);
// format.setStencilBufferSize(8);
// format.setVersion(4, 1);
// format.setProfile(QSurfaceFormat::CoreProfile... | [
"rune.teuwen@student.uhasselt.be"
] | rune.teuwen@student.uhasselt.be |
001be40483ec64d9f72e617ace195eead1375b57 | 1fda514c3060ac74d493f5b706dee12bb9701808 | /leapfrog-game/src/buttondisplay.cpp | f1a897c62ba1a10891fa9ae2bc80d620d609160a | [] | no_license | stfrha/leapfrog | dade0b55c79b20f93b058e2af75e17c273de1068 | 62e3ead7ae48b2c2ed46c174a194caa3cae8e956 | refs/heads/master | 2022-11-23T17:12:56.011099 | 2022-11-21T22:10:56 | 2022-11-21T22:10:56 | 125,433,752 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,273 | cpp | #include "ButtonDisplay.h"
#include "mainactor.h"
#include "layout.h"
#include "graphicresources.h"
using namespace std;
using namespace oxygine;
ButtonDisplay::ButtonDisplay() :
m_turnRightTouchIndex(0),
m_turnLeftTouchIndex(0),
m_boosterTouchIndex(0),
m_fireTouchIndex(0),
m_zoomInTouchIndex(0),
... | [
"mail@fredrikhoffman.se"
] | mail@fredrikhoffman.se |
dce3f90f3b2eb2095fa357bc278c9e3b004862d8 | 73655b63a727f86e1769209f7ddcd28fcd9d9491 | /Chapter_11/Customizing_io/custom_io.cpp | 94d98d70d31099dc4f662ac2852a47daf1b70814 | [] | no_license | Radu1990/CPP_Bjarne_Stroustrup | a5aab159c49a9998309522c911d54bc0978ecde6 | fe63fb696fe78a8926a601e66bcd7ea898e24ec9 | refs/heads/master | 2020-05-16T17:27:48.837366 | 2019-06-11T22:26:21 | 2019-06-11T22:26:21 | 183,194,996 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,952 | cpp | #include "custom_io.h"
#include "std_lib_facilities.h"
// This program includes the examples from
// Chapter 11. Customizing Input and Output
void f_1() {
cout << "\nFunction 1 - Integer output:\n";
cout << 1234 << "\t(decimal)\n"
<< hex << 1234 << "\t(hexadecimal)\n"
<< oct << 1234 << "\t(o... | [
"et2323@gmail.com"
] | et2323@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.