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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c67c96f7cfe931a604320a484d84d374eead5b3d | aa4899ac6c2b1eb0eb22d15953e18f7d1cdd4ee4 | /code/application/physicsfeature/properties/environmentcollideproperty.h | ce73ba13440c283b7f2d42fa3065e6a85c6ffec0 | [] | no_license | dzw/stellar2008 | bc2647f2a9eea03dea233335af66e9a916d2b1e3 | 5ff28d25b8cafdfccc79fa7e916b5cdc4f36b4ac | refs/heads/master | 2021-01-10T12:26:08.853827 | 2012-01-04T17:15:42 | 2012-01-04T17:15:42 | 36,920,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,578 | h | #ifndef PROPERTIES_ENVIRONMENTCOLLIDEPROPERTY_H
#define PROPERTIES_ENVIRONMENTCOLLIDEPROPERTY_H
//------------------------------------------------------------------------------
/**
This property adds pieces of static collide geometry to the game world.
It is very similar to the class EnvironmentGraphicsPro... | [
"ctuoMail@gmail.com"
] | ctuoMail@gmail.com |
2a8c193e63cdfb41fd92fd1b4452e7eb2e3e7705 | e26e854111c799719ec3b711d4220872946aede4 | /halo.ino | 4ae5f782ded9ccb7b425655188b5405221bfc887 | [] | no_license | ahmaddidiks/sipinter | 348a8d7f119c0459575567cf66f9c0f1e94430a3 | 09e813620c2f3e0b25d2e7bfbce3d13269c78c33 | refs/heads/master | 2021-06-16T00:40:42.720091 | 2021-05-27T07:00:37 | 2021-05-27T07:00:37 | 196,847,004 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,947 | ino | /* Program for power factor correction us ing FIS logic,
* using successive approximation algorithm to switching capacitor,
* using IoT function for monitoring Apparent Power and Power factor
* Sensor used is voltage sensor and current sensor to find RMS voltage and RMS current
*
* this skecth does fuzzy alg... | [
"noreply@github.com"
] | ahmaddidiks.noreply@github.com |
800968f66f3d54a99fe5068bc244ec3c695b10ea | fdde0c634bb6f38bdb0a632a25fd769e2c68c211 | /src/rpc/masternode.cpp | 78db34d8e13275258f172b49ce75845f6a102ac8 | [
"MIT"
] | permissive | BulldogCrew/bulldog | a29bc4edfff4ab4e274a52dc4274395a548a11dc | 833ac01aa7b8a7d12dc410ce6bb21a1ac01b2bb3 | refs/heads/master | 2020-06-24T06:02:15.605980 | 2019-08-14T23:29:54 | 2019-08-14T23:29:54 | 198,871,261 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 38,316 | cpp | // Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2015-2018 The bulldog developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "activemasternode.h"
#include "db.h"
#include "init.h"
#include "ma... | [
"kyzer@traebit.ca"
] | kyzer@traebit.ca |
1067c4921d7eb70a5411d8d8ac05936d3fdd1e2b | ab0ff54f1d4ff92f8702144d481e236898735268 | /Hospital Managment System Project/HMS.h | 94f69d66fe58c1efff32625b6c392c2d6ffa1ebd | [] | no_license | Saharsh979/C-Projects-OOPS | dc3033d92ab22f3669bb3a99985d9d93d8cdeff8 | eef26cf0161e27fe921575358547180284920b24 | refs/heads/main | 2023-06-15T16:55:35.449208 | 2021-07-13T06:05:46 | 2021-07-13T06:05:46 | 385,360,364 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,941 | h | #include <iostream>
#include <conio.h>
#include <fstream>
#include <iomanip>
#include <cstring>
#include <windows.h>
#include <bits/stdc++.h>
void menu();
void pascode();
void cpascode();
using namespace std;
class one
{
public:
virtual void get() = 0;
virtual void show() = 0;
}
class info : public one
{
public... | [
"saharshcr7@gmail.com"
] | saharshcr7@gmail.com |
e0b31c5371e9e8b7c3e235e8bd9039131b2ba5d9 | badbd9e3cec2f82245dd1601d300e8e8ecb11275 | /Sephy_Engine/mapEventObject.h | 1982b77ae590682d30b816fb36f2941b0447cc89 | [] | no_license | tjddbs4060/Sephy | d824393d93c84d632ad5bcf084957e63d749e074 | 1d5cd232b19a50bee3f96254710862467f431c09 | refs/heads/master | 2021-01-23T08:48:55.581043 | 2017-09-06T02:23:42 | 2017-09-06T02:23:42 | 102,549,840 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 4,313 | h | #ifndef _MAPEVENTOBJECT_H
#define _MAPEVENTOBJECT_H
class MapEventObject;
enum class EVENT_OBJECT_TYPE
{
EVENT_OBJECT_NONE,
EVENT_OBJECT_COLLISION_BOX, // 충돌 처리 (박스)
EVENT_OBJECT_COLLISION_CIRCLE, // 충돌 처리 (원)
EVENT_OBJECT_COLLISION_ROTATE_BOX, // 충돌 처리 (회전형 박스)
EVENT_OBJECT_BUILDING_REPAIR, // 수리소 ... | [
"tjddbs4060@naver.com"
] | tjddbs4060@naver.com |
dd39919f679e264d566adb7e9532efb930b2f8c7 | 10a7e481a3118e23174e829a091ca424b56dceb1 | /Socket.h | 5bc29d0deac0df247cfd36ff9695a42252d4977b | [] | no_license | widVE/SkeletalViewer | 8da81e1d68ceea2e1ad00d36f27a0a1e5120d2fb | 408955244dd3f4fe0f3f41bb1c5195addc8430ad | refs/heads/master | 2020-06-28T00:19:00.649455 | 2020-06-20T03:34:27 | 2020-06-20T03:34:27 | 200,090,946 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,454 | h | // When using this class, you *must* link with wsock32.lib
#ifndef __SOCKET_H
#define __SOCKET_H
#define CAVE_SYNC 1
//#include <WS2tcpip.h>
#include <iostream>
#ifdef WIN32
#include <WinSock.h>
#else
#include <sys/socket.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <netdb.h>
#ifndef ... | [
"kalimi@wisc.edu"
] | kalimi@wisc.edu |
9798a361a7592873cb9fef652fb12f821edde05d | bbe9cf6fc7dac71ec4e5a8c5f955173d123e2bdb | /ini2json.cpp | bbd2e6c2ecfa7b825c32ab9907f7676db3129fc0 | [] | no_license | jayands/ini_to_json | 3a2924f4499d1a74c910e3475e982e492e9b83a5 | d0f5c7b532821a4433d0d15214f0fde015a12ca4 | refs/heads/master | 2016-09-06T16:09:31.130340 | 2013-10-20T19:15:39 | 2013-10-20T19:15:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,039 | cpp | // Copyright (c) 2013 Jonathan Sifuentes <jayands@gmail.com>
// 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, ... | [
"jayands2k11@ymail.com"
] | jayands2k11@ymail.com |
f9d8dfa32ba0b517a22a51289b3bf36f4d01644e | 47eacdbf45cc71965705d9432ef4367de6583a71 | /Tellustris/Include/Utility/Expression/ExpressionValue.h | 7c209c3503b6ca48ceb6027347d9001cfa021715 | [] | no_license | larnin/Tellustris | 64287f586c0cde5add3fe37510f9fcd4a95e6ab8 | d1152add86dd02a6fdd46d20154173bfa18caadf | refs/heads/master | 2020-04-15T13:58:57.120397 | 2019-04-06T23:17:21 | 2019-04-06T23:17:21 | 164,739,944 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,000 | h | #pragma once
#include <string>
#include <vector>
#include <memory>
#include <functional>
namespace NExpression
{
template <typename T>
class IValue;
template <typename T>
using ValueRef = std::unique_ptr<IValue<T>>;
template <typename T>
class Expression;
template <typename T>
class IValue
{
public:
IV... | [
"nicolas-donald.laurent@laposte.net"
] | nicolas-donald.laurent@laposte.net |
9a895f363bdee9d54fd79443e83d6a8bdb955e5d | bd9893a2f807b59105a8960544057acffe3c21bc | /al/ALSourceBase.hpp | d7fdc665b04ad94b9b1177017f1e68f0a9769cfd | [
"Apache-2.0"
] | permissive | isoundy000/AudioEngine | ce4f53d7394b9574f89b5bf5b477572ece64fec2 | e3c5f475dae277fc5a9a4583618c973159eb3298 | refs/heads/master | 2021-05-11T22:23:56.920640 | 2018-01-14T15:54:42 | 2018-01-14T15:54:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 842 | hpp | #ifndef ALSOURCEBASE_HPP
#define ALSOURCEBASE_HPP
#include "glm/glm.hpp"
namespace audio
{
namespace al
{
class SourceBase
{
public:
/// Play sound according to sound id.
virtual void play() = 0;
/// Stop sound according to sound id.
virtual void stop() = 0;
/// Pause sound according to sound ... | [
"noreply@github.com"
] | isoundy000.noreply@github.com |
1ac80476eca012adf7f98d9727641ab8a455c122 | 62f5d04cccb72fea61164a4fc8253b71ba5b7bc5 | /SSP/PdSend.cpp | 63333d8e7e06e52a58e2b16891c025590c86e21d | [] | no_license | franeum/pd-ssp | d5f896f1dd96903dd01c93be9861864c55c1fb19 | 749acba0487f5352d8a2594eec09102407dbfb16 | refs/heads/master | 2021-04-06T20:19:55.801488 | 2019-06-03T12:27:38 | 2019-06-03T12:27:38 | 125,442,368 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,212 | cpp | #include "PdSend.h"
PdSend::PdSend()
{
char *addrmsg = "test";
strcpy(_addrmsg, addrmsg);
startbyte = "{";
stopbyte = "}";
prec = 2;
}
PdSend::PdSend(char *addrmsg, int p)
{
strcpy(_addrmsg, addrmsg);
startbyte = "{";
stopbyte = "}";
prec = p;
}
void PdSend::sendmsg(char *ty... | [
"noreply@github.com"
] | franeum.noreply@github.com |
93b957f65941b500b8273a113a972e7fc09b1a56 | 1b8889b21d858bd8611231a6341993d63da06bad | /coloredPencilColorPicker/ColoredPencilColorPickerApp.cpp | af2c229f131c99f2bd94fbabfdd871093776d3ae | [] | no_license | jscipione/colorPickerPanel | e00098b46d6b5147b8d9c67fdb4b77435e3e49d4 | d61db63bdeb2544daaf017902670c89e7be9f8ff | refs/heads/master | 2023-05-12T12:48:22.816372 | 2023-05-08T16:04:28 | 2023-05-08T16:06:14 | 6,847,725 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,711 | cpp | /*
* Copyright 2012-2013 Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* John Scipione, jscipione@gmail.com
*/
#include "ColoredPencilColorPickerApp.h"
#include <new>
#include <LayoutBuilder.h>
#include <Window.h>
#include "../ColorPickerPanel.h"
#include ".... | [
"jscipione@gmail.com"
] | jscipione@gmail.com |
9c2a4a0a0a8164e29b4199c3b33dc616c3fdeb82 | 46bdb10183d6849af916c65b4f13ad4072d5c0c2 | /src/util.cpp | 810890ac603336a864128bfcaabaa1776888bde2 | [
"MIT"
] | permissive | PosCoinDev/PosCoin-master | e3b3ce83fcb54e321de31b116415f692fea37662 | 305d4fba927049b3cbe30b949e7257041cc78c19 | refs/heads/master | 2020-12-25T19:26:12.454859 | 2014-07-10T01:13:36 | 2014-07-10T01:13:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,837 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "util.h"
#include "sync.h"
#include "strlcpy.h"
#include "version.h"
#inc... | [
"PosCoinDev@gmail.com"
] | PosCoinDev@gmail.com |
2184798c5ac6357c31ea33921697d5857bfd4903 | 8d658aa9937f6c99b8b053cfa5fcbfa573298f69 | /Classes/Energy.h | bca2eec927d92739411482e2d43df61a935a179c | [] | no_license | Yarou2018/FlyPlane-2018- | 657220a950974cc24dde995b94c4b83f08624765 | d5ee7ab53e1173f6f32fdd2a185fbcc83dc94738 | refs/heads/master | 2020-03-25T00:02:48.194259 | 2018-08-01T14:17:31 | 2018-08-01T14:17:31 | 143,166,465 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 156 | h | #pragma once
#include"cocos2d.h"
USING_NS_CC;
#include"Constants.h"
class Enemy :public Sprite {
public:
static Enemy* createEnergy();
bool init();
}; | [
"626340280@Qq.com"
] | 626340280@Qq.com |
c47d6bb6bcf49feaa01d9c76be2f89e8b065c7a8 | 192c43d538ab8d47f5998cc93b8d32e50e09421a | /RectangleDriver.cpp | 926a6fa7cd77c2a46b7077bc353b501f844f6279 | [] | no_license | Darnell-Estrada/Intro-to-Computer-Science-III | 53ffc922126d54d29e6aae6ff51bd4dbcae9b1a0 | 0cdb9fed10cecd52758d2dfe556688ccb4080b0b | refs/heads/master | 2020-07-05T00:01:46.820494 | 2019-08-15T02:58:27 | 2019-08-15T02:58:27 | 202,463,319 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,509 | cpp | // DARNELL JAMES V. ESTRADA
// CS 2370 SEC 01
// RectangleDriver.cpp
// This program combines smart pointers with classes.
#include "Rectangle.h"
int main() {
double num = 0.0,
totalArea = 0.0;
Rectangle *bedroom = NULL,
*bathroom = NULL,
*kitchen = NULL;
bedroom = new Rectangle;
bathroom = ne... | [
"noreply@github.com"
] | Darnell-Estrada.noreply@github.com |
fad7253f90a63a7805f1b45dd669ed4a0e3ebb78 | 26a43a03d4ae6fffa8e2b3e2c461231cce63141c | /include/Car.h | 4bc20aa6e2f98f26b89e4d433b6dd314a07752bd | [] | no_license | nbcin/cmake-primer | ed44dad3300af7d4e7ccfebc362baaa6e40b38dd | bae458adee371bd417945cf061b80a9bbe9c0f2b | refs/heads/master | 2021-01-14T11:23:06.085493 | 2011-01-02T05:22:34 | 2011-01-02T05:22:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 209 | h | #include <string>
using namespace std;
class Car
{
public:
Car(string name);
string getName();
int getMiles();
void drive(int miles);
void crash();
private:
string _name;
int _miles;
};
| [
"testforqunfa@gmail.com"
] | testforqunfa@gmail.com |
242d66e922c425a1483c5c5e7523d3735c84cbc5 | 6c7ce8651a08d66f0a3a224f2c6bcfe629065320 | /src/walletdb.cpp | d871def387e877c96e3a75df4a91e415fbc30234 | [
"MIT"
] | permissive | Bigscoin2018/bigscoin | da9d98e8588a1d045bf7beaa2cee4246fef341a9 | ff8422b40dc0914c12e412d7885b12a527d3fe1b | refs/heads/master | 2021-05-12T09:14:36.113562 | 2018-01-13T02:49:59 | 2018-01-13T02:49:59 | 117,307,638 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,828 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "walletdb.h"
#include "wallet.h"
#include <boost/version.hpp>
#include <b... | [
"2018.bigscoin@gmail.com"
] | 2018.bigscoin@gmail.com |
f03ef0b0b02f5556b7731a7b7e86018b0ff14797 | b3fee0f77ab02a5f9bfa1e8ba4d4b4940e3de7c0 | /FTP_Server/stdafx.cpp | 24c580b29f59bb80b5a130d4556c9c79dec83c59 | [] | no_license | v12313/FTP_Server | 8387ec5ac46165898204650c6f62036b8d0b707f | a01df91916cebe8bcc3598723289314c4b7ec01f | refs/heads/master | 2021-04-07T03:19:57.055790 | 2020-03-18T13:09:16 | 2020-03-18T13:09:16 | 248,640,093 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 165 | cpp |
// stdafx.cpp : 只包括标准包含文件的源文件
// FTP_Server.pch 将作为预编译头
// stdafx.obj 将包含预编译类型信息
#include "stdafx.h"
| [
"漫漫变黑@漫漫变黑-PC"
] | 漫漫变黑@漫漫变黑-PC |
a100b8abad04a89bd51b85546797573b75dad170 | 04596a7653e2592bdf5f87eb6aa9fdab9be7ef23 | /muduo-master/muduo/base/BlockingQueue.h | b5394fd5fa83278ff0e9c1f7e9a35c1a3d54dd7b | [
"BSD-3-Clause"
] | permissive | skyingwjs/muduo | 54ba85b1a199240b0ba4206f569c6f9412665a26 | 0839d54af8f1c833cbe43e23b3659d3a01c9d090 | refs/heads/master | 2021-05-10T08:21:34.183015 | 2018-01-25T08:20:23 | 2018-01-25T08:20:23 | 118,876,708 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,688 | h | // Use of this source code is governed by a BSD-style license
// that can be found in the License file.
//
// Author: Shuo Chen (chenshuo at chenshuo dot com)
#ifndef MUDUO_BASE_BLOCKINGQUEUE_H
#define MUDUO_BASE_BLOCKINGQUEUE_H
#include <muduo/base/Condition.h>
#include <muduo/base/Mutex.h>
#include <boost/noncopya... | [
"cy_wangjinshan@163.com"
] | cy_wangjinshan@163.com |
ba483e95ee556db21d1b0b9a4c09b1c06f1496ed | 408577db1d5047f00f35a769e0abe6ab6b37c8d5 | /Step6/ljson.cc | 0ade7a1c5582a1a7602d514d7f3fa5c0b8a54770 | [] | no_license | irvingow/easy_json | 074824b47a15f9b701f8feb6387ae478ccab3b92 | fbe51db36249b7277ed7e41c279a787265248527 | refs/heads/main | 2023-06-28T09:45:22.928735 | 2021-07-09T14:00:15 | 2021-07-09T14:00:15 | 384,167,759 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,244 | cc | //
// Created by 刘文景 on 2021/7/3.
//
#include "ljson.h"
#include <cassert> // assert()
#include <cmath> // HUGE_VAL
#include <algorithm>
#ifndef LJSON_PARSE_STACK_INIT_SIZE
#define LJSON_PARSE_STACK_INIT_SIZE 256
#endif
namespace ljson {
namespace {
bool isdigit(const char& ch) { return ch >= '0' && ch <= '9'; }... | [
"lwj102153@gmail.com"
] | lwj102153@gmail.com |
de187bb442edfe6ea7505b3fbf790ce12e64bcab | 7194e02699613662d1531864a909e1e965fe8e16 | /B1ActionInitialization.cc | 93faded4188c4ee2decd398fdbe6e6de0b107bc2 | [] | no_license | archdo0909/Geant4_T1 | 6493fe73301bc244ff3de25a791a756665df898c | 8ffe6420c17077c99065ef64f5a1ee014acf5721 | refs/heads/master | 2021-01-19T01:06:16.452758 | 2016-08-19T10:33:59 | 2016-08-19T10:33:59 | 61,478,563 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,907 | cc | //
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration... | [
"archdo0909@gmail.com"
] | archdo0909@gmail.com |
fc5dfdac7c836ecce606bd4bc84222b7c16463c5 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5636311922769920_1/C++/yuxuelu9/main.cpp | 6496cb8bba277b19da16f7c41eccfdf1342a030f | [] | 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 | 837 | cpp | #include<fstream>
#include<string.h>
using namespace std;
int main(){
ifstream fin("D-large.in");
ofstream fout("D-large.out");
int t=0;
fin>>t;
bool ans;
int k,c,s;
for(int kk=1;kk<=t;kk++){
fin>>k>>c>>s;
fout<<"Case #"<<kk<<": ";
if(s*c<k){
fout<<"IMPOSSIBLE"<<endl;
}
else{
l... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
b802f8f504132346024cf2fcb1394bfa9a619a67 | a4df592fa2b5e00fd1bde713006ef5add2d0b933 | /LINKEDLIST/POLYNOMIAL.cpp | 4412d5c733913b0be7bb0fee846568844e1c38c0 | [] | no_license | HarshAnand2000/DSA-Basic-Implementations | 765d6ad9705c2e2d365066f0fa09fe9224ed6f7c | 0c5a0c3dc8276f8477c26ae51bd5e022d551b0c6 | refs/heads/master | 2023-06-01T08:40:04.977080 | 2021-06-27T06:25:13 | 2021-06-27T06:25:13 | 380,667,791 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,489 | cpp |
#include<iostream>
#include<math.h>
using namespace std;
struct Node
{
int coeff;
int exp;
int num;
struct Node *next;
}*poly1=NULL,*poly2=NULL;
void create(struct Node *t)
{
struct Node *last;
int num1,num2;
cout<<"enter the number of terms"<<endl;
cin>>t->num;
cout<<"enter each... | [
"anandharsh428@gmail.com"
] | anandharsh428@gmail.com |
2e5dcc9f8af1dea7e709ffa13728f3e234617733 | 8e9f2e717b5c396a8388369b4daaa1d4a4b266f0 | /GHGrafos/utils.h | c37abaa54966868a5d2873eae39523ef8e9ea900 | [] | no_license | guilhermelou/GHGrafos | ee77c40653f59822ffe9a5fb522e5b0091a182d6 | e909246ffaffaa5391df80dfb0777ec0cabcbe49 | refs/heads/master | 2020-06-04T21:31:26.112424 | 2020-05-05T18:06:58 | 2020-05-05T18:06:58 | 24,478,978 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 296 | h | #ifndef UTILS_H
#define UTILS_H
#include <QObject>
#include <ghedge.h>
class Utils : public QObject
{
Q_OBJECT
public:
explicit Utils(QObject *parent = 0);
static QList<GHEdge*> bubbleSort(QList<GHEdge*> edges);
signals:
public slots:
};
#endif // UTILS_H
| [
"g.lourenco.santos@gmail.com"
] | g.lourenco.santos@gmail.com |
c2159e508d0ca3a47b571e0fe51a48a979f5efe2 | 95e296d857f8a515f27138d8825e8295a381c4e7 | /modules/json/PJson.cpp | df926059aebf15827b738c779f84fdd9d44c2a59 | [
"Zlib"
] | permissive | tempbottle/pika | b5178c4e8c7e4575cb4d8f9f68aba1591d4ce4c7 | 58342ab8e8abb9c0d0d6af78579e25fb80a0b294 | refs/heads/master | 2020-12-25T04:10:38.860551 | 2015-01-01T03:28:56 | 2015-01-01T03:28:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,831 | cpp | /*
* PJson.cpp
* See Copyright Notice in Pika.h
*/
#include "PJson.h"
#include "PJsonDecode.h"
#include "PJsonEncode.h"
#if defined(PIKA_WIN)
#include <windows.h>
BOOL APIENTRY DllMain(HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved)
{
switch (ul_reas... | [
"russell.j.kyle@gmail.com"
] | russell.j.kyle@gmail.com |
0166c7762dec754ec0145df54ef6e4775f09633c | facbb8bf2fe00b52418f3eba565e77c09f39fc29 | /src/Camera.cc | 2b75f905bec21c3c936fa8d276ae065cc27dc923 | [] | no_license | JKTao/RayTracing | d541732117b0b622f84ab0dfb9d450838ddaf457 | d033dbc94dbf22c738ab3fac104ec52b8e936453 | refs/heads/master | 2023-05-28T20:45:27.822197 | 2023-05-11T02:24:52 | 2023-05-11T02:58:16 | 242,429,517 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,757 | cc | #include "Camera.hpp"
#include "cmath"
#include <iostream>
#include <cstdlib>
using namespace std;
Camera::Camera(){
}
Camera::Camera(double fov, const Eigen::Vector3d & eye, const Eigen::Vector3d & front, const Eigen::Vector3d & up, int height, int width):fov(fov), eye(eye), front(front.normalized()), up(up.normaliz... | [
"jktao@zju.edu.cn"
] | jktao@zju.edu.cn |
18ae4c17c4bb79c6bfa919211fd2a0b93eb39dc8 | 6ae31879ef835f5d53eca89b24bfa0b602d17211 | /Re2e6/kepsilon/12g/10/nut | a7ba14f13448eea28d46a0e9d41634d46442a58f | [] | no_license | RPerobeli/TurbulenceOpenFoam | 9cedc91032a10a7900b8a6ed8923bfbd0f2a96b8 | de26b1b8964fbb62a87bbd397cd1cf79467f4985 | refs/heads/master | 2023-02-28T06:21:41.409504 | 2021-02-02T12:27:10 | 2021-02-02T12:27:10 | 330,755,455 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,135,993 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 8
\\/ M anipulation |
\*-------... | [
"luis.vidigal@engenharia.ufjf.br"
] | luis.vidigal@engenharia.ufjf.br | |
f229eec8f2fd5a410868f7d1b876e838fce2f06e | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /media/cast/openscreen/rpc_call_message_handler.h | 0e799541b9cce641ad4a73d0e3137a15504a4d0e | [
"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 | 2,895 | h | // Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MEDIA_CAST_OPENSCREEN_RPC_CALL_MESSAGE_HANDLER_H_
#define MEDIA_CAST_OPENSCREEN_RPC_CALL_MESSAGE_HANDLER_H_
#include "base/time/time.h"
#include "media/base/audio_deco... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
d9a6d67cb3f8d3bf88731f47f3211e9951c651ab | cb660d97756576ac663e5ccaaa84de7a29309693 | /Version2/TD1/AIController.h | 521566ce8e6a4be20934d4cd4eb7dbffd021a6bd | [] | no_license | tolfaine/Projet_ASCII | d709f02eda464f83bc9c723a54ab21cd26bd9452 | f4916725d618f3f60df446f2d06144f2c22bf0fa | refs/heads/master | 2021-01-11T07:40:02.436020 | 2016-10-07T14:42:38 | 2016-10-07T14:42:38 | 69,893,514 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 137 | h | #include "Controller.h"
class AIController : public Controller
{
public:
AIController();
~AIController();
virtual void inputs();
};
| [
"martin.penard@gmail.com"
] | martin.penard@gmail.com |
933c5884ada1c57cb47c07865015748e0c18ad3d | 57a61c7ea1cc0a2e7686a07f3430121597043dab | /irrlicht-1.7.3/tools/irrEdit/source/irrlicht/include/CMeshBuffer.h | be52bcb4e03340e5a7f3f9262cd384073ef84ba9 | [
"LicenseRef-scancode-other-permissive",
"Zlib",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | dg8fv2010/WonderLandNet | 8c3b85a5abc813dba6407cdc5b72cfea4a8caaaf | 22f7aeef8c676c56f49c7c6854c0a469c29bdb91 | refs/heads/master | 2021-01-10T12:03:31.853501 | 2015-06-06T12:15:49 | 2015-06-06T12:15:49 | 36,978,516 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,628 | h | // Copyright (C) 2002-2008 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __T_MESH_BUFFER_H_INCLUDED__
#define __T_MESH_BUFFER_H_INCLUDED__
#include "irrArray.h"
#include "IMeshBuffer.h"
namespace irr
{
namespace ... | [
"xuewentao@zheng-exp.lab"
] | xuewentao@zheng-exp.lab |
dd416e8bf94e73c97cb33155d1504311c8689109 | 90c0b63285d56557df1214cfa3f5b54490ed19d9 | /src/Physics/PhysicSystem.hpp | 53a35ac82a072aa71a57391a227816a571d53a7c | [
"MIT"
] | permissive | TheMagnat/Mavoxel | 60db30635c5894141989339e2d60f58d96628f54 | f37da219904531f74574ae82123d300c75d8b286 | refs/heads/master | 2023-08-16T23:48:46.777635 | 2023-08-12T01:41:44 | 2023-08-12T01:41:44 | 212,056,662 | 5 | 0 | null | 2023-08-12T01:41:46 | 2019-10-01T09:21:04 | C++ | UTF-8 | C++ | false | false | 591 | hpp | #pragma once
#include <glm/glm.hpp>
namespace mav {
class PhysicSystem {
public:
PhysicSystem(float gravityStrength);
void applyGravity(glm::vec3& velocity, float mass, float deltaTime) const;
void applyAirFriction(glm::vec3& velocity, float mass, float deltaTime) co... | [
"guillaume.magniadas@gmail.com"
] | guillaume.magniadas@gmail.com |
ed8b261448a60111e836430ad93c5d2d606822ed | fc0bcb49a704b05691250dc0c40248738e627d8c | /RoboSquid/Source/qcustomplot.cpp | ecc1c9aae95cbb212adc164cf38e1389ee17c131 | [] | no_license | Hernanduer/AggiE2015S | 05c0a83b9b3033fda4a7eebc46e26fa8874725b5 | b9f26b464df53247faf9ce905eafa53c5a2c65a8 | refs/heads/master | 2021-01-20T21:49:37.917039 | 2015-03-28T23:08:09 | 2015-03-28T23:08:09 | 29,833,427 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 652,219 | cpp | /***************************************************************************
** **
** QCustomPlot, an easy to use, modern plotting widget for Qt **
** Copyright (C) 2011, 2012, 2013 Emanuel Eichhammer **
** ... | [
"epasonic@gmail.com"
] | epasonic@gmail.com |
9858dd5d1e368fae9a6c15231503eca8b716682d | 3c33b35b2c07270e22f046f09019e0db284cc0db | /network-programming-for-mswin-cdrom/chapter04/NetBIOS/wsnbdef.cpp | c98ce118beb4838ea061c23e2380d3736e222eee | [] | no_license | tpn/misc-projects | a89dc8048ceb6680ba6488a95be1b5b033d374e5 | 2f4d61b36c30c20281322dd6b0b98e724d11404c | refs/heads/master | 2020-04-07T11:27:03.261283 | 2015-07-01T21:59:10 | 2015-07-01T21:59:10 | 28,649,968 | 3 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 5,452 | cpp | // Module Name: wsnbdef.cpp
//
// Description:
// This file contains common definitions and functions used
// by all the NetBIOS Winsock samples.
//
// Compile:
// See wsnbclnt.cpp, wsnbsvr.cpp, and wsnbdgs.cpp for compilation
// instructions.
//
#include <winsock2.h>
#include <wsnetbs.h>
#i... | [
"trent@trent.me"
] | trent@trent.me |
292bda8827edc6622c5176143f6542875a8c3b68 | 1da3f575d8e31e4b6198f173cee53721fbc111a1 | /include/cps/rapidxml/rapidxml_iterators.hpp | b6ad1ef2664546bc4ebef8aaa3c8dcb006eaa879 | [
"MIT"
] | permissive | clusterpoint/cpp-client-api | 4a41f1a1a3508c1a2ca7b1c72dfe1d1d9c735215 | 605825f0d46678c1ebdabb006bc0c138e4b0b7f3 | refs/heads/master | 2021-01-18T23:14:33.136008 | 2017-02-16T12:29:27 | 2017-02-16T12:29:27 | 38,151,345 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,466 | hpp | /** \internal */
#ifndef RAPIDXML_ITERATORS_HPP_INCLUDED
#define RAPIDXML_ITERATORS_HPP_INCLUDED
// Copyright (C) 2006, 2009 Marcin Kalicinski
// Version 1.13
// Revision $DateTime: 2009/05/13 01:46:17 $
//! \file rapidxml_iterators.hpp This file contains rapidxml iterators
#include "rapidxml.hpp"
namespa... | [
"aigars@clusterpoint.com"
] | aigars@clusterpoint.com |
6d5355741af9ac42361038b76eabc440b41fc8cb | 1e5be978c24c359a7c4b858370d183b45e168420 | /Classes/ProgressBar.cpp | 20e37e77bf7d1bdd43db65a756c548d7f055c2ac | [] | no_license | JeremyAzoomee/Azoomee2 | d752ea7512e048d7b22db38be2ec21ab046520e5 | f57292c18de9a9138bd3635893bcd23fc171a21f | refs/heads/master | 2021-05-18T14:51:23.389050 | 2020-03-13T15:59:09 | 2020-03-13T15:59:09 | 251,271,764 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,658 | cpp | //
// ProgressBar.cpp
// Azoomee
//
// Created by Macauley on 16/07/2019.
//
#include "ProgressBar.h"
#include <AzoomeeCommon/UI/LayoutParams.h>
#include <AzoomeeCommon/UI/Style.h>
using namespace cocos2d;
NS_AZOOMEE_BEGIN
bool ProgressBar::init()
{
if(!Super::init())
{
return false;
}
setLayoutType(Type... | [
"mitch@two-tails.com"
] | mitch@two-tails.com |
5b2bd059344d826d9c8ae59fb70a82e6d526f2e0 | 45193c63e2eeff53046acd781dedb10434b8b94d | /example/yaul/tml/times.cpp | d0636d8c8179692cf5a29026d9777ea853904e66 | [
"BSL-1.0"
] | permissive | ptomulik/yaul-tml | b3d39274f9c8b75f9fc2da05404f18f2a80b190b | 2b8bf3f88742996bd8199375678cdebd6e3206d9 | refs/heads/master | 2021-01-22T13:41:47.026647 | 2015-03-16T15:10:10 | 2015-03-16T15:10:10 | 31,795,386 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 768 | cpp | // Copyright (C) 2014, Pawel Tomulik <ptomulik@meil.pw.edu.pl>
//
// 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)
/** // doc: yaul/tml/times.cpp {{{
* \file yaul/tml/times.cpp
* \example yaul/tml/times.cpp
*... | [
"ptomulik@meil.pw.edu.pl"
] | ptomulik@meil.pw.edu.pl |
ff04af840e5d3d9e3ca5f0823d4ec331760d0c61 | 2c97fc62eab1f78c4a5d1a83826a75209ebb6d39 | /绍兴一中集训/7.26/杨培源/laser/laser2.cpp | b38bf75c356515c07ad6c92cf4ded6aa724f9888 | [] | no_license | GaisaiYuno/My-OI-Code-1 | f32932f1004e593ffee0b0e97cffd25d9e2851bf | c57ec4e2aaa1d770ee9490a42710d1cf71a153f2 | refs/heads/master | 2020-12-31T23:13:46.913582 | 2020-02-08T01:09:46 | 2020-02-08T01:09:46 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,844 | cpp | #include<iostream>
#include<cstdio>
#include<cstring>
#include<algorithm>
#define maxn 10
#define maxm 100000
using namespace std;
typedef long long ll;
inline void qread(int &x){
x=0;
int sign=1;
char c=getchar();
while(c<'0'||c>'9'){
if(c=='-') sign=-1;
c=getchar();
}
while(c>='0'&&c<='9'){
x=x*10+c-'0';
... | [
"1980878786@qq.com"
] | 1980878786@qq.com |
d32776e5062bf8b6d7fcf884b9e9b078d238c2c3 | e82891164da47342f3cd832b38e79bbe41720858 | /include/Function.h | 38167b83e49d7db7ddd8a9d102afbde68041e2e6 | [] | no_license | Maxim-Doronin/NeuralNetwork | 800d9c50432b22454ec754296242da73fc99013b | f19aeb833f2d5c5882f9fb64e5441e1ab093e78d | refs/heads/master | 2020-08-01T07:15:16.014929 | 2017-06-11T12:31:39 | 2017-06-11T12:31:39 | 73,583,461 | 0 | 0 | null | 2017-02-20T17:34:59 | 2016-11-12T23:00:54 | C++ | UTF-8 | C++ | false | false | 727 | h | #ifndef _FUNCTION_H_
#define _FUNCTION_H_
#include <cmath>
class Function {
public:
Function() {};
virtual ~Function() {};
virtual double Process(double x) = 0;
virtual double Derivative(double x) = 0;
};
class Linear : public Function {
public:
Linear() {};
virtual ~Linear() {};
virtual double Process(double... | [
"doro156@me.com"
] | doro156@me.com |
711440336cf79f9a4982baa04fcd9428ea110c54 | cfe27800398bc97bd3f9ac72dc06bbb0462eeb5d | /src/include/solusek/MDatabaseHandle.h | c85016ff7cf3609326c5e29a32746fa63a2c7ad2 | [
"Apache-2.0"
] | permissive | aubriaco/solusek | b511011f36cc601d4f109ebbab6dbe69da90d609 | 7c4a87877022e8dc2be59d4be83456e3897e1cc9 | refs/heads/master | 2023-02-09T15:42:28.234316 | 2023-02-01T19:28:28 | 2023-02-01T19:28:28 | 229,855,121 | 0 | 1 | Apache-2.0 | 2021-08-23T20:58:43 | 2019-12-24T02:24:44 | C++ | UTF-8 | C++ | false | false | 654 | h | /*
** Solusek by Alessandro Ubriaco
**
** Copyright (c) 2019 Alessandro Ubriaco
**
*/
#ifndef __M_DATABASE_HANDLE_INCLUDED__
#define __M_DATABASE_HANDLE_INCLUDED__
#include <string>
#include <vector>
namespace solusek
{
class MDatabaseHandle
{
public:
virtual std::string getID() = 0;
virtual void setID(const ... | [
"alessandro.ubriaco@gmail.com"
] | alessandro.ubriaco@gmail.com |
cf8de855f040415a2ada32bdec0d8e3403ef8abb | a8dc575097c5e0e87cfd652ff2fa6bdd66e96b5c | /HOJ/1583/main.cpp | 10e249a944ad0859f71744a6346f6eec98985d6d | [] | no_license | theodore/olympiads | 7066c4eada4b6a8379cb0140e08f727e5f7a19aa | 5b6cdece84527542524b75b4e996ac80b3cdfa55 | refs/heads/master | 2020-06-02T22:17:30.812486 | 2019-06-11T08:24:09 | 2019-06-11T08:24:09 | 191,326,084 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 869 | cpp | #include <cstdio>
#include <cassert>
#ifdef unix
# define lld "%lld"
#else
# define lld "%I64d"
#endif
const int N(4000010);
const long long INF(-1llu>>1);
int a[2], b[2], d[2];
long long l[2][N];
int h[2], t[2];
long long f(long long c, int x)
{
return a[x] * c / d[x] + b[x];
}
int main()
{
int s, n;
scanf("%d%d... | [
"theodoreyou@gmail.com"
] | theodoreyou@gmail.com |
5a84d82ae6b79d78c575f0f4b11b07d762296870 | b85b494c0e8c1776d7b4643553693c1563df4b0b | /Chapter 7/task10.cpp | 5a76f5d0c0301a4bbfee14ccb5b792b49f42aa45 | [] | no_license | lut1y/Stephen_Prata_Ansi_C_plusplus-6thE-Code-Example-and-Answers | c9d1f79b66ac7ed7f48b3ce85de3c7ae9337cb58 | e14dd78639b1016ed8f842e8adaa597347c4446e | refs/heads/master | 2023-07-05T13:08:51.860207 | 2021-08-12T16:02:34 | 2021-08-12T16:02:34 | 393,147,210 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,100 | cpp | #include <iostream>
double calcutate(double, double, double (*pf)(double, double));
double add(double x, double y);
double multiple(double x, double y);
double divide(double x, double y);
int task10() {
double q = calcutate(2.5, 10.4, add);
std::cout << "Add: " << q << std::endl;
q = calcutate(2.5, 10.4, multip... | [
"lut1y@mail.ru"
] | lut1y@mail.ru |
98688ec544a335cc097901f21a844d2dadcb13f2 | 1797d13fdb47f24684e74246119b187b4fdd6a24 | /Agente Viajero - AG/main.cpp | eb6a7b957055dfa59eafcc66f9f28cae75f7505a | [] | no_license | JazmineAlfaro/Inteligencia-Artificial | 4f605e5ab9a54c40afe1c575008e65cad28768b5 | 232cb5014e7b3ab4b4a3ac77718f5547fb388ea3 | refs/heads/master | 2020-05-07T12:23:12.698451 | 2019-06-25T04:14:07 | 2019-06-25T04:14:07 | 180,502,606 | 0 | 0 | null | null | null | null | ISO-8859-10 | C++ | false | false | 11,581 | cpp | #define GLUT_DISABLE_ATEXIT_HACK
#include <windows.h>
#include <utility>
#include <time.h>
#include <iostream>
#include <list>
#include <algorithm>
#include <string.h>
#include <math.h>
#include <vector>
#include<GL/glut.h>
#define KEY_ESC 27
#define KEY_IZQ 97
#define KEY_DER 100
#define KEY_UP 119
#d... | [
"noreply@github.com"
] | JazmineAlfaro.noreply@github.com |
348a3d4c017de9fc2a709d509a82a1d5e19b15bf | 45c84e64a486a3c48bd41a78e28252acbc0cc1b0 | /src/third_party/blink/renderer/core/loader/frame_loader.h | 035c5e7f1f734af32eabe4b46b4c474eafecdba6 | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-only",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft"
] | permissive | stanleywxc/chromium-noupdator | 47f9cccc6256b1e5b0cb22c598b7a86f5453eb42 | 637f32e9bf9079f31430c9aa9c64a75247993a71 | refs/heads/master | 2022-12-03T22:00:20.940455 | 2019-10-04T16:29:31 | 2019-10-04T16:29:31 | 212,851,250 | 1 | 2 | MIT | 2022-11-17T09:51:04 | 2019-10-04T15:49:33 | null | UTF-8 | C++ | false | false | 13,457 | h | /*
* Copyright (C) 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights reserved.
* Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved.
* (http://www.torchmobile.com/)
* Copyright (C) Research In Motion Limited 2009. All rights reserved.
* Copyright (C) 2011 Google Inc. All rights reserved.
*
* Redistr... | [
"stanley@moon.lan"
] | stanley@moon.lan |
c64cb9af15e7f243ad8dc19dcf4218f80d30ce4e | 0076faef6e56da5ee49dd2d0266c40103a5dee6d | /reverse.cpp | 5d6624016c507de9c103410bb6509d26ed4d8388 | [] | no_license | Shady2320/Codeforces | 296dc182e779484eba370aa1de01839f147f11c6 | 34b0ccb5806f820827bc9409877fd5f6d902510e | refs/heads/main | 2023-08-02T04:45:04.002898 | 2021-09-17T08:51:20 | 2021-09-17T08:51:20 | 343,446,226 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 345 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int arr[] = {1,2,3,4,5,6};
int n = sizeof(arr) / sizeof(arr[0]);
int start = 0;
int end = n-1;
int i;
while(start < end)
{
int temp = arr[start];
arr[start] = arr[end];
arr[end] = temp;
start++;
end--;
}
for(i=0;i<n;i++)
{
... | [
"noreply@github.com"
] | Shady2320.noreply@github.com |
407b797782ca1c960c604e9987dcde2d948c21a3 | e76ea38dbe5774fccaf14e1a0090d9275cdaee08 | /src/chrome/browser/policy/configuration_policy_provider_test.h | 8b1cd66f8332e0c8c22f9c2745cbf12c7dbcd72b | [
"BSD-3-Clause"
] | permissive | eurogiciel-oss/Tizen_Crosswalk | efc424807a5434df1d5c9e8ed51364974643707d | a68aed6e29bd157c95564e7af2e3a26191813e51 | refs/heads/master | 2021-01-18T19:19:04.527505 | 2014-02-06T13:43:21 | 2014-02-06T13:43:21 | 16,070,101 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 5,266 | 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 CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_TEST_H_
#define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_TEST_H_
#include <str... | [
"ronan@fridu.net"
] | ronan@fridu.net |
a950c73c3a18d786e395d3e03cf2096921eacabe | 03f037d0f6371856ede958f0c9d02771d5402baf | /graphics/VTK-7.0.0/Filters/General/vtkClipConvexPolyData.cxx | 323689e26673d143e79756e73ff67521ac200c58 | [
"BSD-3-Clause"
] | permissive | hlzz/dotfiles | b22dc2dc5a9086353ed6dfeee884f7f0a9ddb1eb | 0591f71230c919c827ba569099eb3b75897e163e | refs/heads/master | 2021-01-10T10:06:31.018179 | 2016-09-27T08:13:18 | 2016-09-27T08:13:18 | 55,040,954 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,382 | cxx | /*=========================================================================
Program: Visualization Toolkit
Module: vtkClipConvexPolyData.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
... | [
"shentianweipku@gmail.com"
] | shentianweipku@gmail.com |
85172191a25fb3f08a83021ff27642fb35264ca0 | 7aa77fb63702732228a47cc2c98cd0ed3079eb84 | /SPOUTSDK/SpoutGL/SpoutReceiver.h | 38fe97afde07d09c3ac016bac9bbac9c680bc587 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | MGrG1183/Spout2 | 0b9a8445d79ca704465c1fcc7620b8a1edc81c89 | 75104f7e9d0b9ecf70be084d2d296a8adf924bed | refs/heads/master | 2023-07-18T19:56:24.989118 | 2021-09-29T06:22:48 | 2021-09-29T06:22:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,167 | h | /*
SpoutReceiver.h
Copyright (c) 2014-2021, Lynn Jarvis. 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... | [
"spout@zeal.co"
] | spout@zeal.co |
878f4f5c94ff6b2a9636b7d97c04b5416d5503e5 | ec6db7952c1609b4512a95bcd95962212f4054ce | /cpsc1021/Lab10/Person.h | 493decfd5aca100c95663c33ca99e0c2571b6c62 | [] | no_license | TheEnjoyneer/clemsonyear2 | e24696deff2f1b678c3a235fcc7be4d8e13e4781 | 276d21db39e5ca12f2c58c268b7d73a754e5bd11 | refs/heads/master | 2020-06-15T13:36:05.898924 | 2018-11-29T17:21:43 | 2018-11-29T17:21:43 | 94,138,727 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 575 | h | /* Person.h
* Christopher Brant
* cbrant
* Jay Cox
* jay4
* Lab 10
* Lab Section 002
* Lauren Fuller
*/
#ifndef PERSON_H
#define PERSON_H
#include <string>
using namespace std;
class Person
{
private:
string name;
string address;
string city;
string state;
int zip;
public:
Person... | [
"noreply@github.com"
] | TheEnjoyneer.noreply@github.com |
1bfae2a3850ce442a4c1265ddee69ff30d026a6b | 2b08a93dbc0c666426fd7409b32a3fc0fe16ee0b | /SortAll/SortAll/stdafx.cpp | 3cae0606bb2945d3fde517766869bf9fb4b3bb8b | [] | no_license | fjkfjk/Practice_2017 | abe14fd26c8c08abddbdc6f0c578d5bd85b69112 | a809c6d4890b15240632290f55c15cd6d5ab45f7 | refs/heads/master | 2021-01-15T13:11:19.461816 | 2017-03-18T09:41:20 | 2017-03-18T09:41:20 | 78,749,477 | 3 | 0 | null | 2017-01-17T12:36:57 | 2017-01-12T13:44:01 | Shell | GB18030 | C++ | false | false | 258 | cpp | // stdafx.cpp : 只包括标准包含文件的源文件
// SortAll.pch 将作为预编译头
// stdafx.obj 将包含预编译类型信息
#include "stdafx.h"
// TODO: 在 STDAFX.H 中引用任何所需的附加头文件,
//而不是在此文件中引用
| [
"1047149316@qq.com"
] | 1047149316@qq.com |
63f56b75b10718540384f87c9f03559854cdb1ee | 3ad968797a01a4e4b9a87e2200eeb3fb47bf269a | /COM 1 Samples/aptsur/CSTA.h | 7237f45ef848eececfc5adb876f6f5346578303a | [] | no_license | LittleDrogon/MFC-Examples | 403641a1ae9b90e67fe242da3af6d9285698f10b | 1d8b5d19033409cd89da3aba3ec1695802c89a7a | refs/heads/main | 2023-03-20T22:53:02.590825 | 2020-12-31T09:56:37 | 2020-12-31T09:56:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,517 | h | ////////////////////////////////////////////////////////
//
// CSTA.h - Copyright 1997, Don Box
//
// A SingleThreadedApartment that accepts activation
// requests via PostMessage.
//
#ifndef _CSTA_H
#define _CSTA_H
#include <windows.h>
#include <assert.h>
class CSingleThreadedApartment
{
DWORD m... | [
"pkedpekr@gmail.com"
] | pkedpekr@gmail.com |
64ff3dfb65bae06c40786aef285f17a0bbfeb9ab | 87cf60ce18b6b5638a9052bf57a3ae4f4f628a32 | /tmp/fix_lubrication_update_PKN.cpp | 3e34bbd2a9e62f2cd1d751575bb8d76c0b2dfdfa | [] | no_license | Uitsin/USER-HF | 38ff7333e3f306a16306676b3ba2e80a10cc3693 | 974a66cfb56f2a5500840da531c5b65aa39fab41 | refs/heads/master | 2016-08-12T10:40:06.720664 | 2016-03-10T16:17:57 | 2016-03-10T16:17:57 | 53,222,973 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,341 | cpp | /* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... | [
"weijin@dhcp-180-211.ph.utexas.edu"
] | weijin@dhcp-180-211.ph.utexas.edu |
c1004facbdd79b593d465a3a5ed9546531ac528d | 24c3b6ee3e2b06288bed587e34751969b4a73e31 | /AtCoder/Virtual/20200605/E.cpp | 08f21044e9fa74696146bf45deceede0698837eb | [] | no_license | KatsuyaKikuchi/ProgrammingContest | 89afbda50d1cf59fc58d8a9e25e6660334f18a2a | d9254202eec56f96d8c5b508556464a3f87a0a4f | refs/heads/master | 2023-06-05T20:07:36.334182 | 2021-06-13T13:55:06 | 2021-06-13T13:55:06 | 318,641,671 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 930 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef pair<ll, ll> pll;
#define FOR(i, n, m) for(ll (i)=(m);(i)<(n);++(i))
#define REP(i, n) FOR(i,n,0)
#define OF64 std::setprecision(10)
const ll MOD = 1000000007;
const ll INF = (ll) 1e15;
ll N, K;
ll A[200005];
ll F[200005];
bool check(... | [
"k.kikuchi.ah@gmail.com"
] | k.kikuchi.ah@gmail.com |
3bce8cdbcf6878595528d41afa636fb461c7598e | e5c2ccc63424284d9c6b734c6f6756dc14fa76ed | /SoooA/src/ssd/MultiBoxLossLayer.cpp | d91d1ae8c6c17a7d637067f9edf9130d7a4ead6c | [
"Apache-2.0"
] | permissive | XJTUeducation/SoooA | 2bf37b5f75bad133d7704045eeac4e981fbdef32 | ac00d07167f03380477d88c58f0aaaade469c873 | refs/heads/master | 2020-04-09T18:49:01.022527 | 2017-11-30T07:08:22 | 2017-11-30T07:08:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,673 | cpp | /*
* MultiBoxLossLayer.cpp
*
* Created on: Apr 27, 2017
* Author: jkim
*/
#include "MultiBoxLossLayer.h"
#include "ssd_common.h"
#include "SmoothL1LossLayer.h"
#include "SoftmaxWithLossLayer.h"
#include "SysLog.h"
#include "BBoxUtil.h"
#include "MathFunctions.h"
#include "PropMgmt.h"
#include "EnumDef.h"
#i... | [
"jhkim@laonbud.com"
] | jhkim@laonbud.com |
e3a2b2d8e1b3d392dbc760caf7950b8847f159e8 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/hunk_5587.cpp | ec4584213e55780f18ffcfbbb5ab045c871059f9 | [] | 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 | 594 | cpp | if (!basedn || !searchfilter) {
fprintf(stderr, "Usage: squid_ldap_match -f basedn -f filter [options] ldap_server_name\n\n");
fprintf(stderr, "\t-b basedn (REQUIRED)\tbase dn under where to search\n");
- fprintf(stderr, "\t-f filter (REQUIRED)\tsearch filter pattern. %v = user, %a = group\n");
+ fprintf(stder... | [
"993273596@qq.com"
] | 993273596@qq.com |
56024c02776a1e67cda2234bfa1357813fa5cd76 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/d3/3beec2e7efbf8d/main.cpp | 3ea3fedede53bf5bd7f6ac75c748c25f6c042ab9 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 706 | cpp | #include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/phoenix.hpp>
namespace qi = boost::spirit::qi;
namespace ascii = boost::spirit::ascii;
using namespace qi::labels;
using qi::eps;
template <typename Iterator, typename Any>
struct parser : qi::grammar<Iterator, Any(), qi::locals<bool> > {
parse... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
61ef6e59dade59e00caef3a06b7550b63c8f7623 | 51b4213bc648463a7904ee8e020f028bf865853c | /4.20/ExampleProject/Plugins/PlayFab/Source/PlayFab/Classes/PlayFabMatchmakerModels.h | f0f2d04e14a615d9b7c01c36f6ef624992dc5f7d | [
"Apache-2.0"
] | permissive | dorgonman/UnrealMarketplacePlugin | 9fe08b82c47a23516116e4c5b96164046fa6520a | 199cb1e972af6a37af3b382ce4fce3e5a24d2813 | refs/heads/master | 2020-04-07T02:18:42.839763 | 2018-11-14T23:59:38 | 2018-11-14T23:59:38 | 157,971,478 | 0 | 0 | Apache-2.0 | 2018-11-17T09:53:27 | 2018-11-17T09:53:27 | null | UTF-8 | C++ | false | false | 8,290 | h | //////////////////////////////////////////////////////
// Copyright (C) Microsoft. 2018. All rights reserved.
//////////////////////////////////////////////////////
#pragma once
//////////////////////////////////////////////////////////////////////////////////////////////
// Automatically generated model file for th... | [
"jenkins-bot@playfab.com"
] | jenkins-bot@playfab.com |
79c8fc7645033404002b571067b24679967aa723 | 49d4680dafecbb4f903a2b8295dcd22db4939426 | /circulo.cpp | d2744c6bc4e5cd316ac49c3201afbc386d434297 | [] | no_license | AdamoFonteneles/abstrata | 19ce5582e7df577e9927aab03aa5287028b3f2f0 | 99c15afd289cb9a321b89cf0995aab27c6705296 | refs/heads/master | 2020-12-30T11:39:52.515587 | 2017-05-17T05:58:19 | 2017-05-17T05:58:19 | 91,512,877 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 895 | cpp | #include <iostream>
#include "circulo.h"
#include <cmath>
#define PI 3.141592653
using namespace std;
Circulo::Circulo(int x0, int y0, int raio, int tipo){
x=x0;
y=y0;
this->raio=raio;
fillmode=tipo;
}
void Circulo::draw(Screen &t){
if(raio>0){
if(fillmode){
for(int i=0;i<t.g... | [
"adamocuber@gmail.com"
] | adamocuber@gmail.com |
c6f2882358b61b41805adf91bce6722e28239966 | dcce690ca5af181962a47b4409550b61298e9313 | /shaderGen/source/lex/zsl/zslCompoundSection.cpp | 105d4472f2f5a955a12fc1ede1672543e1a9f7f1 | [] | no_license | kmvisscher/shaderGen | be627b6270a7366eb4ad3cd16ef0fae61a1da283 | 00fe7da6dd55de2bfe3fa26f3bd314a353976b92 | refs/heads/master | 2021-01-18T17:09:34.328153 | 2016-01-04T15:44:38 | 2016-01-04T15:44:38 | 48,363,322 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,008 | cpp | #include "common/util.h"
#include "ast/abstractSyntaxHub.h"
#include "ast/abstractSyntaxNode.h"
#include "ast/abstractSyntaxTree.h"
#include "lex/zsl/zslTokenizer.h"
#include "lex/zsl/zslCompoundSection.h"
bool ZslLexer::HandleCompoundSection( ASTDriver *driver, Tokenizer::iterator &it )
{
const Token &token = *... | [
"koen.visscher@hotmail.com"
] | koen.visscher@hotmail.com |
fb7aa6002dc55602dcfe6dd6bb6bdee110174d3f | 6d77e738c66bdf8809e47ad9be85f9c7361a1bd9 | /src/server/scripts/Pandaria/vale_of_eternal_blossoms.cpp | a061f13837a88abecb0fb4eac9327177d95829a3 | [] | no_license | Ramys/Hooaahcore | e768e8b8a2b2c1dba7501495161cf6c0419b9de2 | dad11ee863d34a9f02186936b1dbbca168912ecd | refs/heads/main | 2023-02-27T16:18:27.916812 | 2021-02-07T23:38:52 | 2021-02-07T23:38:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,714 | cpp | /*
* Copyright (C) 2021 Hooaahcore
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* This program is distrib... | [
"43292003+Hooaah@users.noreply.github.com"
] | 43292003+Hooaah@users.noreply.github.com |
870bc1e1edf589a517c3b23d9fcf34f1451100c6 | 7dc7b3fe4b0916434f3bf06857c934ca683c5301 | /src_v1/Data/TodoItem.h | d3ad75c14e420ad30d9b29820487bda9f3825049 | [
"Unlicense"
] | permissive | define-private-public/sqlite_orm_todo_sample | 83c7f82a9580aafab46019057a8b8208b982119c | d42c41c6b641d663724137090569778106d1c5b0 | refs/heads/master | 2023-09-03T12:19:41.298444 | 2021-10-15T01:59:37 | 2021-10-15T02:08:07 | 416,989,245 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 823 | h | #pragma once
#include <string>
namespace Data {
struct TodoItem {
// Enum to mark the status of the item
enum class Status {
NotStarted = 1,
InProgress = 2,
Finished = 3,
};
// Data
int id; ///< Unique identifier for the task
std::string who; ... | [
"def.pri.pub@gmail.com"
] | def.pri.pub@gmail.com |
b6b46c534070cb9a03081555942467e8cba8c17a | 7c5bc01669cec10cf30bd8de314170f2b6039281 | /include/clang/Basic/OpenMPKinds.def | 0d7d952a49d6d0bd0e0cfc4ca9d6b4b7635ada41 | [
"LLVM-exception",
"LicenseRef-scancode-generic-cla",
"NCSA",
"Apache-2.0",
"MIT",
"LicenseRef-scancode-arm-llvm-sga"
] | permissive | crdroidandroid/android_prebuilts_clang_host_linux-x86_clang-6443078 | 9b56cccf9890d4abbdb3767d35d5cc990aff731e | 40fb9b651e8e6a4429e7de7a93467fa27dc9e6b2 | refs/heads/10.0 | 2022-11-13T00:53:40.279312 | 2022-10-29T05:41:43 | 2022-10-29T05:41:43 | 261,242,866 | 5 | 21 | NOASSERTION | 2022-10-29T05:41:44 | 2020-05-04T16:50:21 | C++ | UTF-8 | C++ | false | false | 43,968 | def | //===--- OpenMPKinds.def - OpenMP directives and clauses list ---*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"gwolf2u.website@gmail.com"
] | gwolf2u.website@gmail.com |
f57dd238e483417222ccb6e2926a120d025910cb | bc0f5cc72a8a1ceb3b2aec96d644242cea677859 | /src/qt/optionsdialog.cpp | 5e805fef55eb998eaac41aaa20bdee232c22b587 | [
"MIT"
] | permissive | mexicancoin/MXNCore | 73cc527d6e6f12fad8d26a565c5a9b779cbbf4a8 | bfe0b11963070480cf8b7f1c86d3ce6941731f39 | refs/heads/master | 2021-01-23T16:52:32.383688 | 2017-09-10T17:16:19 | 2017-09-10T17:16:19 | 102,750,360 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 13,391 | cpp | // Copyright (c) 2011-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include "config/mxn-config.h"
#endif
#include "optionsdialog.h"
#include "ui_optionsdialog.h"
#... | [
"root@ciesc.net"
] | root@ciesc.net |
be2bc617059710a2ba0054520d5f5c9721eb2841 | 0cde00266bddbb1abc159b011116c8a137cf21ec | /Dependencies/CppWinRT/winrt/impl/Windows.Media.Capture.1.h | e52d3e7ef8c8ea0dbee387b2b10eac72252fd3cb | [
"Apache-2.0"
] | permissive | npstar/NavioIoT | 83071b4bba8b7f234187566114bf41371a443c43 | 419c8eb40f86c23e5ebe96cf1ad5f5cbc9a0ba4c | refs/heads/master | 2020-04-08T16:21:37.310348 | 2017-10-05T19:35:41 | 2017-10-05T19:35:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,648 | h | // C++/WinRT v1.0.170825.9
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.
#pragma once
#include "winrt/impl/Windows.Foundation.0.h"
#include "winrt/impl/Windows.Foundation.Collections.0.h"
#include "winrt/impl/Windows.Graphics.Imaging.0.h"
#include "winrt/impl/Windows.Media.0.h"
#include "winrt/imp... | [
"tony@tonywall.com"
] | tony@tonywall.com |
f5b552f07300a2abd345dfd69db964fd4bf50ce3 | 2137758886e0f576bc01636d5f60a89118449a83 | /基于多态的职工管理系统/manager.cpp | 39760e1f6acd54a80bc9ac4e18824ce5b437fa94 | [] | no_license | Zhaitizi/Employee-management-system | c405f99225a3158fb4a17fe8c33c201e27d4ba9b | 5ff2b978214844c9699d2cbe599e37babe78ae32 | refs/heads/master | 2023-07-31T04:07:45.686218 | 2021-09-07T08:47:38 | 2021-09-07T08:47:38 | 403,906,434 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 515 | cpp | #include "manager.h"
//经理类
//构造函数
Manager::Manager(int id, string name, int dId) {
this->m_Id = id;
this->m_Name = name;
this->m_DeptId = dId;
}
//显示个人信息
void Manager::showInfo() {
cout << "职工编号:" << this->m_Id
<< "\t职工姓名:" << this->m_Name
<< "\t岗位:" << this->getDeptName()
<< "\t岗位职责:完成老板交给的任务,并下发任务给员工" <<... | [
"Zhaitizi9@DESKTOP-KQ8G0AK"
] | Zhaitizi9@DESKTOP-KQ8G0AK |
5ecbfd24c37c3cace67b7946fd8ca13b5c4135f5 | 5095bbe94f3af8dc3b14a331519cfee887f4c07e | /howwet/Shared/Gobjs/DELAY.CPP | 6c77d74f3c4a3d91824744c667566b372740ee8c | [] | no_license | sativa/apsim_development | efc2b584459b43c89e841abf93830db8d523b07a | a90ffef3b4ed8a7d0cce1c169c65364be6e93797 | refs/heads/master | 2020-12-24T06:53:59.364336 | 2008-09-17T05:31:07 | 2008-09-17T05:31:07 | 64,154,433 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,062 | cpp | #include <consts.h>
#include <gobjs\delay.h>
#include <time.h> // time_t
#include <stdio.h> // NULL
// *******************************************************************
void Delay(int Num_seconds) {
// *******************************************************************
// Short description:
// Dela... | [
"hol353@8bb03f63-af10-0410-889a-a89e84ef1bc8"
] | hol353@8bb03f63-af10-0410-889a-a89e84ef1bc8 |
7df0bd7fbfa772e8e457ed5cf7a0ba3ebecb22c5 | 897868d4960eee6e728597e4ec5576aa03064785 | /libecc/src/c++/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/eval_param.pass.cpp | 092a69778513975e64953aa0cc7d4f93e2ce13e9 | [
"MIT",
"NCSA"
] | permissive | martell/ellcc | ab95d98c6023a23402a474044730db125349c843 | b144e161b5f70da528ae64329f27e4dfab489e5a | refs/heads/master | 2021-04-26T11:49:19.551929 | 2016-10-05T09:21:00 | 2016-10-05T09:21:00 | 70,063,491 | 2 | 1 | NOASSERTION | 2020-03-07T21:58:00 | 2016-10-05T13:32:53 | null | UTF-8 | C++ | false | false | 5,052 | cpp | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | [
"rich@ellcc.org"
] | rich@ellcc.org |
9f93a4b7d09373bd1b4d05830a289efd6524d0dd | f96fc7023b24f6bb0e481c1051d4dfad579534a8 | /xqserial_server/src/DiffDriverController.cpp | 1bc1f93c0f8caf8caf9f1b0fe36e2f1ad1b96973 | [] | no_license | yuduo/xiaoqiang_robot | efe59d12670114819c31789c878a23d04005e433 | 181813e8d4f51881f8ed33b10bf3bcb421903e18 | refs/heads/master | 2022-12-13T18:56:25.850660 | 2020-09-02T14:26:13 | 2020-09-02T14:26:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,197 | cpp | #include "DiffDriverController.h"
#include <time.h>
namespace xqserial_server
{
DiffDriverController::DiffDriverController()
{
max_wheelspeed = 2.0;
cmd_topic = "cmd_vel";
xq_status = new StatusPublisher();
cmd_serial = NULL;
MoveFlag = true;
galileoStatus_.mapStatus = 0;
R_min_ = 0.25;
}
... | [
"zhangzipan@protonmail.com"
] | zhangzipan@protonmail.com |
a71083ebb8465e1771d499fc26162ca762269621 | 6d1cd436e2dda96e4f2a91717ac52eaea279a662 | /google/cloud/storage/tests/slow_reader_chunk_integration_test.cc | 3edc77cc4c20e66b5e76e0d7bfa11b7f6296c91d | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | renovate-bot/google-cloud-cpp | bd019b886fb23a9c5c36ebc6a336402d9e9d4b86 | fe093fc340988fb354f38f91f497c886b9438272 | refs/heads/master | 2023-08-31T20:37:29.348573 | 2021-05-10T18:38:18 | 2021-05-10T18:38:18 | 198,908,134 | 1 | 0 | Apache-2.0 | 2021-04-23T19:52:31 | 2019-07-25T22:19:53 | C++ | UTF-8 | C++ | false | false | 3,981 | cc | // Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in w... | [
"noreply@github.com"
] | renovate-bot.noreply@github.com |
8b2d676840110db93bac84822599ffe9e7f50b57 | 038d83290be1dc94b6b3f6f92e991427d5623b55 | /lab-01/p03a/List.hpp | 6b9a430bbfebdfaea62f89d0e0bd6d1df94be2e4 | [] | no_license | tokbaev-a/auca-alg-2021 | db52e13af98a2abd0e5d43559cdb2191c5d674b7 | e491be3f5f9dad2c7c76e387e1dc6468aac0c293 | refs/heads/main | 2023-08-11T10:23:28.277077 | 2021-05-25T01:07:20 | 2021-05-25T01:07:20 | 328,555,215 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,117 | hpp | #pragma once
#include <cstddef>
#include <string>
#include <sstream>
template <typename T>
class List
{
struct Node
{
Node *mPrev;
Node *mNext;
T mData;
Node(const T &data, Node *prev, Node *next)
: mPrev(prev), mNext(next), mData(data)
{
}
};
... | [
"tokbaev_a@auca.kg"
] | tokbaev_a@auca.kg |
8a2d55c95f9aaa4b57f18853881ae47e5b59444f | a8c6859e8130229a54fe9e8b95f51e3977ef9691 | /C++ Programming/Source Files/RemotelyControlledMouse/RMouse/Main.h | ca212db1c01f89298bbf4eacd2be3d806332c437 | [] | no_license | AnrdyShmrdy/Code-Portfolio | dd4587fab655dc870f12a41a6b23f855a40ee5e0 | 972c3589796ad480281664fa71935d4bbf7c0ed7 | refs/heads/main | 2023-04-01T07:45:58.501733 | 2021-03-29T02:58:52 | 2021-03-29T02:58:52 | 348,739,077 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,226 | h | #pragma once
#define WIN32_LEAN_AND_MEAN
#include <SFML\My additions\sfml.h>
#include <iostream>
#include <SFML\Network.hpp>
#include <string>
#include <thread>
char who;
bool client_connected = false;
bool server_connected = false;
bool quit = false;
int receive1;
int receive2;
bool recieve3;
bool press... | [
"noreply@github.com"
] | AnrdyShmrdy.noreply@github.com |
1d94e2eaa1f3bf2cb7439278477487c1560daa8f | 93b24e6296dade8306b88395648377e1b2a7bc8c | /client/SceneEdit/Xerces/src/xercesc/util/XMLBigDecimal.hpp | 88f3ccddaa7bd4461d5a60ee4f97717877351b4c | [
"Apache-2.0"
] | permissive | dahahua/pap_wclinet | 79c5ac068cd93cbacca5b3d0b92e6c9cba11a893 | d0cde48be4d63df4c4072d4fde2e3ded28c5040f | refs/heads/master | 2022-01-19T21:41:22.000190 | 2013-10-12T04:27:59 | 2013-10-12T04:27:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,390 | hpp | /*
* Copyright 2001-2004 The Apache Software Foundation.
*
* 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 re... | [
"viticm@126.com"
] | viticm@126.com |
75ff1ffb11b01ab288e26a69f255c97818c0b698 | d7b23650903f8fdf68bcea3fdd311424aafc3c35 | /visitCase/jsoncons-0.156.0/include/jsoncons/detail/optional.hpp | 492cd76449d0c07bb3a81ef62362045c3f14eda8 | [
"BSL-1.0",
"MIT"
] | permissive | theladyalisha/visit-case-s1b6 | 2ac37a9de5bcd4687569b5eb70d5f56ca333d3b5 | 85326ff0eb53966140355ae7b6285a1dcbbc18ad | refs/heads/master | 2022-12-17T05:19:11.317728 | 2020-09-17T18:31:59 | 2020-09-17T18:31:59 | 295,729,290 | 0 | 0 | MIT | 2020-09-15T13:00:19 | 2020-09-15T13:00:18 | null | UTF-8 | C++ | false | false | 15,871 | hpp | // Copyright 2019 Daniel Parker
// Distributed under the Boost license, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// See https://github.com/danielaparker/jsoncons for latest version
#ifndef JSONCONS_DETAIL_OPTIONAL_HPP
#define JSONCONS_DETAIL_OPTIONAL_HPP
... | [
"Saloni.Madhan@philips.com"
] | Saloni.Madhan@philips.com |
170d4a96355b42e8d30804f37b161cf2aeaaded0 | e759a87557115c94b525dae8ef95422f89a1c5d1 | /third_party/externals/angle2/src/tests/perf_tests/VulkanPipelineCachePerf.cpp | 0443b20a0db8124e81f0c71a7f1fa365a2dba1e4 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | coffee777/skiall | 9fee47aee6de9530076cba1a9155dba3684a9a7a | 0a9f5483e3ab3fb40cc3c45fbac8fffe5f191f9c | refs/heads/master | 2020-04-03T18:36:52.678534 | 2018-10-13T01:39:06 | 2018-10-13T01:39:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,675 | cpp | //
// Copyright 2018 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// VulkanPipelineCachePerf:
// Performance benchmark for the Vulkan Pipeline cache.
#include "ANGLEPerfTest.h"
#include "libANGLE/renderer/v... | [
"qiuchengw@163.com"
] | qiuchengw@163.com |
e5602290dd2231d502dc53b22f08b8e56092c3aa | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/skia/src/gpu/ganesh/effects/GrShadowGeoProc.cpp | 47df9de563680faf8a7b53ab511121c119cffa06 | [
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later",
"BSD-3-Clause"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 3,625 | cpp | /*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "src/gpu/ganesh/effects/GrShadowGeoProc.h"
#include "include/core/SkSamplingOptions.h"
#include "include/private/base/SkAssert.h"
#include "include/private/gpu/ganes... | [
"jengelh@inai.de"
] | jengelh@inai.de |
e7d32c98b4d7d42421d76cedb89d4bcc216a0de0 | 14f2ccb0cfe4c86635f1d2219cfc7c2cb13bba07 | /CustomFormattingDemo/CustomFormattingDemo/App.xaml.cpp | 76dc4e4078cad9a779877e9f7f41ffd490e3ab76 | [] | no_license | jellyr/DirectEditor | 0764c4edf896a9806afed99009d534591eb2dac3 | 50b06c2988bd28b03ee0c0c6b118d26dc4dc5bc3 | refs/heads/master | 2020-03-18T14:35:26.469002 | 2018-05-28T08:36:45 | 2018-05-28T08:36:45 | 134,855,965 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,996 | cpp | //
// App.xaml.cpp
// Implementation of the App class.
//
#include "pch.h"
#include "DirectXPage.xaml.h"
using namespace CustomFormattingDemo;
using namespace Platform;
using namespace Windows::ApplicationModel;
using namespace Windows::ApplicationModel::Activation;
using namespace Windows::Foundation;
using namesp... | [
"jellyzone@gmail.com"
] | jellyzone@gmail.com |
e23876227515f592bb347ff1cfcbba7025ffe264 | f62f57fbe57db1e813647bf5f070f6d8b8e6998b | /AIS/lab5/lab5/city.cpp | 63187a6c0852d828620a9efa0f24d7f1d773a559 | [] | no_license | CyberMakaron/7-sem | fb457a54525ae3c196095ef37975763c1d20b654 | 87260ff15a834759be8f1b871e286a102f649724 | refs/heads/master | 2023-02-15T08:18:52.264664 | 2021-01-10T09:50:06 | 2021-01-10T09:50:06 | 302,126,041 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 128 | cpp | #include "city.h"
bool operator==(const City& left, const City& right) {
return left.x == right.x and left.y == right.y;
}
| [
"makrusim@yandex.ru"
] | makrusim@yandex.ru |
e797ab2f5f6f64937d032c769213d94fdcddee8e | 1c4da7a0b80000cafadcf1aca1e3729c6312c03d | /equivalence_relation.cpp | cc052cfb2a8f8d84635d2ba943c955357d442cf9 | [] | no_license | friackazoid/cpp_test | 5a2850470c1fd0e0ed1dd12166600090fe664709 | 74d81b6f981b962e287bd26b1f503e2645444bc6 | refs/heads/master | 2023-08-09T01:52:29.895332 | 2023-07-20T11:53:00 | 2023-07-20T11:53:00 | 249,986,963 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,021 | cpp | #include <iostream>
#include <vector>
#include <concepts>
template <typename T, typename U>
bool bar ( T s, U g ) {
return s == g;
}
template<typename F, typename T>
void foo ( F f, T s , T g ) {
std::cout << std::boolalpha << f(s,g) << std::endl;
}
template<typename F, typename T>
requires std::equivalence... | [
"noreply@github.com"
] | friackazoid.noreply@github.com |
27603c744885947c30881f1ade34c36552ebc182 | f391d75f9bf06d1062ea4859dc7d16b07c55df79 | /Samples/NIUserTracker/MocapStream.h | 800ebfbd79c85f4a409b580caf0776bb0e4842a7 | [] | no_license | Jade-Fountain/OpenNI-Kinect-Experiments | 48a0f9837d35ff20ac7d4cf646434b31748eb352 | 9f2bd03490db9d857470607cad1dc19e3f145bab | refs/heads/master | 2021-06-21T18:17:58.295055 | 2015-11-21T04:10:01 | 2015-11-21T04:10:01 | 40,100,779 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,971 | h | /*
author Jake Fountain
This code is part of mocap-kinect experiments*/
#include <armadillo>
#include <chrono>
#include <dirent.h>
#include <map>
#include "arma_xn_tools.h"
#include "utility/math/matrix/Transform3D.h"
#include "utility/math/matrix/Rotation3D.h"
#include "utility/math/geometry/UnitQuaternion.h"
#ifndef... | [
"jake.fountain@uon.edu.au"
] | jake.fountain@uon.edu.au |
da7f94bcf320fa8ff7d6d61095fd95561be5a1d8 | d5d1fb3fdfcf11aca9bafeb4c95a08579f465e21 | /Interview Material/stackArray.cpp | 333c34f7a5d1ce7805ec6730495e59f1b67fd22f | [] | no_license | pawanputtaswamy/HackerRank | b54aa2775658f1be3a483640588aefe4e708a9b6 | ba6768a05340d9168402098a2c5258738269860e | refs/heads/master | 2020-05-30T21:38:31.239040 | 2019-05-05T23:34:56 | 2019-05-05T23:34:56 | 59,545,560 | 0 | 0 | null | 2019-05-05T23:41:47 | 2016-05-24T06:14:04 | Java | UTF-8 | C++ | false | false | 940 | cpp | using namespace std;
#include < iostream>
#include < stdlib.h >
#include < stdio.h >
class IntStack
{
public:
IntStack(int num) { top = 0; maxelem = num; s = new int[maxelem]; }
void push(int t)
{
if (top == maxelem) return;
s[top++] = t;
}
int pop()
{
if (top == 0) return -1;
return s[--top];
}
void... | [
"pawanp32@gmail.com"
] | pawanp32@gmail.com |
26379d3477bd662a0e661afa0f3415935e2e4d2b | c83c053fd9cc1aa3124a00772f49f343ae6941ed | /Proyecto_GestionInmuebles_Archivos.cpp | b226cf9216d3efc14c9af8384083e97b2ec40ed4 | [] | no_license | MaxiEsc/Codigos-C_Plus_Plus | 202f986dbe74726bffa791c798c72be128c758f9 | ba6fe33ce6e17d9aad77a52614dbbe8199d65328 | refs/heads/main | 2023-08-15T00:13:01.816001 | 2021-09-23T04:50:09 | 2021-09-23T04:50:09 | 409,451,348 | 1 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 22,832 | cpp | // GestionInmuebles.cpp : Defines the entry point for the console application.
//
/*Proyecto Final(entregable)
--A--
1. Realizar un sistema de venta de inmuebles en lenguaje C que maneje arreglos de
estructuras.
2. Se manejará una estructura con los datos de los inmuebles, por ejemplo ubicación, metros cuadrado... | [
"noreply@github.com"
] | MaxiEsc.noreply@github.com |
e9722e0154d836d5b90a87d6ea4906f3013ac5e3 | c66c8d83dda3ee21d1f2f79acb7b6892e573b73e | /Program 2/euclid.cpp | 27b7293cff3443c4c9529cd4431220f8e2cd8fb8 | [] | no_license | delizoderek/CSS342 | b550584d9ac6459d1837ffaa4908d1cb0f146a4f | bba3680c89d1ba19ee3292e5e01f934d63745837 | refs/heads/master | 2021-01-25T11:02:18.965399 | 2017-07-23T00:48:50 | 2017-07-23T00:48:50 | 93,903,679 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,289 | cpp | /*
Created by Derek DeLizo 04/19/2017
*/
#include <iostream>
#include <sys/time.h>
using namespace std;
int gettimeofday( struct timeval *tv, struct timezone *tz );
/*
Pre-Condition: a and b are integers
Post Condition: returns the greatest common denominator between a and b
Base Case: when a equals 0... | [
"delizoderek@gmail.com"
] | delizoderek@gmail.com |
5d33945aeed1e615da1e6ee4f385979bf04c9f9e | cd004ef6ad32218c7153bd8c06cc83818975154a | /FDK/QuickFix/FixFields.h | e0e3f63e88f2d01f5bd25fdc2a4a0e06d891dc98 | [
"MIT"
] | permissive | marmysh/FDK | 11b7890c26f7aa024af8ea82fcb7c141326d2e6f | cc6696a8eded9355e4789b0193872332f46cb792 | refs/heads/master | 2020-12-14T18:56:28.229987 | 2016-07-13T13:50:42 | 2016-07-13T13:50:42 | 63,467,798 | 1 | 0 | null | 2016-07-16T05:51:14 | 2016-07-16T05:51:14 | null | UTF-8 | C++ | false | false | 62,060 | h | #ifndef FIX_FIELDS_H
#define FIX_FIELDS_H
#include "Field.h"
#undef Yield
namespace FIX
{
DEFINE_SEQNUM(BeginSeqNo);
DEFINE_STRING(BeginString);
DEFINE_LENGTH(BodyLength);
DEFINE_CHECKSUM(CheckSum);
DEFINE_SEQNUM(EndSeqNo);
DEFINE_SEQNUM(MsgSeqNum);
DEFINE_STRING(MsgType);
DEFINE_SEQNUM(NewSeqNo);
... | [
"chronoxor@gmail.com"
] | chronoxor@gmail.com |
05b2f76ade738a3eea2cdd527a453321c7b1b99f | 879f743444f7887f9df3bd6bd34ceb9f6d131c1b | /code/test/time/exception_select_random.cpp | e7f24ee4e36ccede9dd79b45a77e9e68e1f97f9b | [
"BSD-3-Clause"
] | permissive | HackettJP/Mach7 | 4b17b8fc157d1f1c8c371db5ea2780b5dcc7c84d | 949e0f1fbf5b6c725ad460137c4f08961fc78f52 | refs/heads/master | 2023-08-27T03:39:30.983956 | 2021-10-22T23:24:16 | 2021-10-22T23:24:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,202 | cpp | //
// Mach7: Pattern Matching Library for C++
//
// Copyright 2011-2013, Texas A&M University.
// Copyright 2014 Yuriy Solodkyy.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// ... | [
"yuriy.solodkyy@gmail.com"
] | yuriy.solodkyy@gmail.com |
50eb91c2c8c162b24995125918d23471ca3a1277 | 2cf838b54b556987cfc49f42935f8aa7563ea1f4 | /aws-cpp-sdk-sesv2/source/model/CreateDeliverabilityTestReportResult.cpp | a0a65d6a0727dfc17dcf5a8b0f622a64cba496ec | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | QPC-database/aws-sdk-cpp | d11e9f0ff6958c64e793c87a49f1e034813dac32 | 9f83105f7e07fe04380232981ab073c247d6fc85 | refs/heads/main | 2023-06-14T17:41:04.817304 | 2021-07-09T20:28:20 | 2021-07-09T20:28:20 | 384,714,703 | 1 | 0 | Apache-2.0 | 2021-07-10T14:16:41 | 2021-07-10T14:16:41 | null | UTF-8 | C++ | false | false | 1,409 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/sesv2/model/CreateDeliverabilityTestReportResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
1d40afd09ef95e99c8edfae35891577d03e32b70 | 84e0a9ca08eb21731d6e91e6a866f563b7f9c76c | /src/server/game_world.h | a5c0a33a545e8338754b236f944db08b4f1443d2 | [] | no_license | salvoilmiosi/bomberman | 351529cc8be717313d9eb834c7b2c26bf77be647 | b8d0c06cdc3412488ac5352a4fd4df3412f23184 | refs/heads/master | 2021-01-10T22:38:52.607612 | 2020-08-17T02:39:59 | 2020-08-17T02:39:59 | 69,572,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,247 | h | #ifndef __GAME_WORLD_H__
#define __GAME_WORLD_H__
#include <SDL2/SDL.h>
#include <set>
#include <deque>
#include <memory>
#include <vector>
#include <mutex>
#include "game_map.h"
#include "game_server.h"
enum entity_type {
TYPE_NONE,
TYPE_PLAYER,
TYPE_BOMB,
TYPE_EXPLOSION,
TYPE_BROKEN_WALL,
TYPE_ITEM
};
enum... | [
"salvo.ilmiosi@gmail.com"
] | salvo.ilmiosi@gmail.com |
560d59dce167347dd8270fb2d4499aad618d71b1 | 7fddeda490e54c2d547f3950c17e235a6f5f422a | /source/MNBasicLib.h | 5309fef52d037508257a474ec0abff997aa0e9a3 | [] | no_license | ultrano/mini_engine | eb876c9ce1da053062f75c90070936a7a93192f7 | 1cdb19f27acb304ec5ca24e2af94a2bf65e60068 | refs/heads/master | 2020-04-06T06:51:25.261276 | 2016-08-17T05:49:29 | 2016-08-17T05:49:29 | 31,656,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 100 | h | #ifndef _H_MNBasicLib
#define _H_MNBasicLib
class MNFiber;
void MNBasicLib(MNFiber* fiber);
#endif | [
"storypalse@gmail.com"
] | storypalse@gmail.com |
50ea4b70d7482fa8302e80b3b3c608ea8bfdb3ac | 3e62cb808e49c6736b000698685b959df6ffa876 | /epoll/epoll_server_001.cpp | fb6c266b28a7fcf6b54526be618c83ee43d97534 | [] | no_license | zybeasy/libevent_demo | 5cd5ea3d9ff4ff81baab7a11021cc029aa0e6251 | e2c1ac9114a1d59a248d9dda29d71836b4363d3b | refs/heads/master | 2021-03-02T07:51:36.205572 | 2020-03-08T16:33:19 | 2020-03-08T16:33:19 | 245,849,519 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,283 | cpp | #include <iostream>
#include <ctype.h>
#include <string.h>
#include <unistd.h>
#include <arpa/inet.h>
#include <sys/epoll.h>
using namespace std;
#define SERVER_PORT (7778)
#define EPOLL_MAX_NUM (2048)
#define BUFFER_MAX_LEN (4096)
char buffer[BUFFER_MAX_LEN];
void str_toupper(char *str) {
... | [
"zybeasy@163.com"
] | zybeasy@163.com |
b21abf16261be888e51af87e9447e956a7bfd063 | cc5eaa642b8cdd4e34537e9dc5b0c4e8104cfb1b | /Snake.h | 8785f34399b921d2948370e5814b6157b2485046 | [] | no_license | yardenbs/SNAKE_MATH | 9bc7de2743d33649665976e10ba7153d3b7e7ac1 | 18ca9e6f4cbd838194119281683d14a2cb34d211 | refs/heads/master | 2020-06-19T21:30:16.915683 | 2016-12-07T11:43:06 | 2016-12-07T11:43:06 | 74,832,268 | 0 | 1 | null | 2016-11-27T12:45:02 | 2016-11-26T15:00:25 | null | UTF-8 | C++ | false | false | 812 | h | #ifndef _SNAKE_H_
#define _SNAKE_H_
#include <cstring>
#include "Point.h"
class TheSnakesGame;
class Snake {
int size=3;
vector<Point> body;
int direction = 3; // TODO: use enum!
char arrowKeys[4];
Color color;
TheSnakesGame* theGame;
public:
Snake(int size, const Point& position, Color c, const char* keys, ... | [
"yardenbs2@gmail.com"
] | yardenbs2@gmail.com |
996a960ecf75d457660c91ec4193dda4332375db | 60a4cdb183ec735eaee2c9954c19ea883f3bf630 | /autoMalloc/baseline.cpp | 8b1eb2d08b996eb191b445c8a91f1acb069e7739 | [] | no_license | takhandipu/IntelliMalloc | f8c6a779311f73710fbfa68e4836f04e2735a05f | 78bf10bc809549db41454e58df900acf56ce1fe5 | refs/heads/master | 2020-03-08T16:02:03.467381 | 2018-04-22T02:41:38 | 2018-04-22T02:41:38 | 128,228,419 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,651 | cpp | #include <pthread.h>
#include <stdio.h>
#include "matrix.h"
#ifdef PADDING_DISTANCE
#define DISTANCE PADDING_DISTANCE
#else
#define DISTANCE 1
#endif
float a[SIZE][SIZE], b[SIZE][SIZE];
float c[SIZE][SIZE*DISTANCE];
struct padded
{
int value;
int padding[15];
};
void *run(void *index)
{
int i = *(int *)index;
... | [
"takhandipu@gmail.com"
] | takhandipu@gmail.com |
78a3d5d71f4b23929a1c6efc850667a91d318f40 | 27491db9fca0c70da538d82ac8fa3d41326f64b7 | /camera_calibration.cpp | 4589aa745cc8d4609c7eaa6bd2151ef3d4eacb04 | [] | no_license | lwc3258/calibration | 1a040afb1de25c8ad7a3ed1e63fbba86d4dc622d | a41794eed2420718d580feb8ba308fbb1d274065 | refs/heads/master | 2020-03-24T06:31:23.069581 | 2019-09-10T08:41:53 | 2019-09-10T08:41:53 | 142,531,726 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,802 | cpp | #include <iostream>
#include <sstream>
#include <time.h>
#include <stdio.h>
#include <opencv2/core.hpp>
#include <opencv2/core/utility.hpp>
#include <opencv2/imgproc.hpp>
#include <opencv2/calib3d.hpp>
#include <opencv2/imgcodecs.hpp>
#include <opencv2/videoio.hpp>
#include <opencv2/highgui.hpp>
#ifndef _CRT_SECURE_N... | [
"vito_lee3258@163.com"
] | vito_lee3258@163.com |
eed9a748ea019505c4319dd8f8da338c25953969 | 93db4b48741ff4ab0a3895813a6c7543e01821ea | /DS-Algo/edit_dist.py | a858e78ffcbe800d8e9ebdda37b90ffe5299094f | [] | no_license | shubham14/Coding_Contest_solutions | f884c458d3316bdafc6f1b1a52cf3e962c58bc47 | 1b67497f35b892c25e3d9600214fa37a738ffd40 | refs/heads/master | 2021-06-22T13:34:10.581101 | 2019-10-09T02:56:01 | 2019-10-09T02:56:01 | 131,326,516 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 654 | py | class Solution:
def minDistance(self, word1, word2):
"""
:type word1: str
:type word2: str
:rtype: int
"""
m = len(word1)
n = len(word2)
dp = [[0 for i in range(n+1)] for j in range(m+1)]
for i in range(m+1):
for j in range(n+1):
... | [
"shubham.ddash@gmail.com"
] | shubham.ddash@gmail.com |
42370719c45cb40efb2e4f3a811f932808f09804 | be0282afa8dd436619c71d6118c9db455eaf1a29 | /Intermediate/Build/Win64/Design3D/Inc/Engine/LightmassCharacterIndirectDetailVolume.generated.h | 3c6322a8baf5b030f98154d54ecb1a4f7ab4aac2 | [] | no_license | Quant2017/Design3D | 0f915580b222af40ab911021cceef5c26375d7f9 | 94a22386be4aa37aa0f546354cc62958820a4bf6 | refs/heads/master | 2022-04-23T10:44:12.398772 | 2020-04-22T01:02:39 | 2020-04-22T01:02:39 | 262,966,755 | 1 | 0 | null | 2020-05-11T07:12:37 | 2020-05-11T07:12:36 | null | UTF-8 | C++ | false | false | 5,754 | h | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
==============================================================... | [
"Snake_Jenny@126.com"
] | Snake_Jenny@126.com |
b761b74b6cd9a7e194681d6bf4a166d97e7dd597 | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/libs/math/test/test_igamma_inv.hpp | b3f79d4af3a4755fb45187af932a46954340cb8b | [
"BSL-1.0"
] | permissive | KqSMea8/sstd_library | 9e4e622e1b01bed5de7322c2682539400d13dd58 | 0fcb815f50d538517e70a788914da7fbbe786ce1 | refs/heads/master | 2020-05-03T21:07:01.650034 | 2019-04-01T00:10:47 | 2019-04-01T00:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,540 | hpp | // Copyright John Maddock 2006.
// Copyright Paul A. Bristow 2007, 2009
// Use, modification and distribution are subject to 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)
#include <sstd/boost/math/concepts/real_concept.hpp>
#i... | [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
31d4c999d554cb63c5cdbc0ae06eba4d1ec7b676 | 77b3051b3c5c7499c8fc3c872c82ec5af5e9fd19 | /trunk/src/replaceDialog.h | e9f980dfe7799ee00494ed0479e4194ec3b1a27b | [] | no_license | lutinwood/edi | b0ca9e3f161c95492894c7bb14ecc7821ec80f15 | 9bdca622949ca85f610af88e9b9c3fcf21289dc1 | refs/heads/master | 2016-09-10T10:46:58.835444 | 2014-06-24T14:48:27 | 2014-06-24T14:48:27 | 38,057,205 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 3,397 | h | /***************************************************************************
* Copyright (C) 2007 by Julien COURCELLE, Vilayvanh MANIVONG *
* *
* *
* This program is free so... | [
"thierry.forest@univ-angers.fr"
] | thierry.forest@univ-angers.fr |
9c62d0fbe602b93bdbf5ef4d1059801913b438ed | 776b8a0218d391617c5fe7f268ddd2bfb1e899fd | /C++/fastExpoentiation.cpp | 79454637b01e34cfd5f6fbcdc13dc31c98f2bdca | [] | no_license | vikas-ukani/Hacktoberfest_2021 | 1278f06c6dc2f30b1ecb5bc0085c36974ae1b4b7 | f3678a55adc1e77d9784b919b93072bd5c1fb662 | refs/heads/main | 2023-08-18T10:29:07.187116 | 2021-10-02T18:32:55 | 2021-10-02T18:32:55 | 412,881,303 | 2 | 0 | null | 2021-10-02T18:33:15 | 2021-10-02T18:33:14 | null | UTF-8 | C++ | false | false | 262 | cpp | #include <iostream>
using namespace std;
int main() {
int a,n; cin>>a>>n;
int ans=1;
while(n) {
if(n&1) {
ans=ans*a;
cout<<ans<<endl;
}
n=n>>1;
a=a*a;
}
cout<<ans<<endl;
return 0;
}
| [
"noreply@github.com"
] | vikas-ukani.noreply@github.com |
ccc0199f07953bb5e114cbd1b91b08d24202d06b | 2fe439c2a32bd4b1439a9740c12b926d265f19f9 | /src/thread/EngineThread.cpp | 59428f8fcb7187bdb05c8b1c8a7d16b719b3b3cf | [] | no_license | Masy/cedar | a4891fa88234f0a8f78f68704593b60e94980d97 | 86a627f3600750dd6a48c166f60f85b1a01fe175 | refs/heads/develop | 2022-04-24T09:13:03.436365 | 2020-04-26T22:05:01 | 2020-04-26T22:05:01 | 243,739,510 | 0 | 0 | null | 2020-04-26T22:05:02 | 2020-02-28T10:46:06 | C | UTF-8 | C++ | false | false | 2,185 | cpp | //
// Created by masy on 06.03.20.
//
#include "cedar/EngineThread.hpp"
using namespace cedar;
EngineThread::EngineThread() : Thread("EngineThread", 20, QUEUE_BEFORE_TICK, 256)
{
this->m_camera = nullptr;
this->m_loadedScene = nullptr;
this->m_gameState = CEDAR_STATE_OFF;
}
EngineThread *EngineThread::getInstanc... | [
"dev@masy.pw"
] | dev@masy.pw |
f819f30e452742dce7cfa74760971636f661ade2 | 2c36841c1c3bef06fe4a82bd87cacc64425d08c7 | /Source/ThirdParty/ros2lib/sensor_msgs/include/sensor_msgs/msg/dds_connext/Imu_Support.h | c46ede516cd3f4f9bb695c739fa34e8c6225c940 | [] | no_license | saratrajput/rclUE | 29edba1a9b5b218264880b60844e9da2a1474602 | 4521c29ac66caba6eb5aa91483e75751652f91bf | refs/heads/master | 2023-08-12T07:28:01.881375 | 2021-10-04T22:06:57 | 2021-10-04T22:06:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,965 | h |
/*
WARNING: THIS FILE IS AUTO-GENERATED. DO NOT MODIFY.
This file was generated from Imu_.idl using "rtiddsgen".
The rtiddsgen tool is part of the RTI Connext distribution.
For more information, type 'rtiddsgen -help' at a command shell
or consult the RTI Connext manual.
*/
#ifndef Imu_Support_231392246_h
#define Im... | [
"christian.conti@rapyuta-robotics.com"
] | christian.conti@rapyuta-robotics.com |
308dac3a7f27c430b1cf9844f3a8552094cd3298 | b8553e43adea44a49ed2d28438f9360e91f5e852 | /laboratory 9/code/testproject/tst_sometest.h | 3d35aab5afbcb477143af1d57e59cb45fd7f9d10 | [] | no_license | Vitaliy907/LaborotoryWorks | ecd7deea030bf9fe27f1bc8a144fa832ed67adac | 3c41d3dfad4e9a4e1d454496b65f17ad7f5f09ff | refs/heads/master | 2022-10-29T07:40:27.693010 | 2020-06-19T15:45:30 | 2020-06-19T15:45:30 | 269,961,279 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,403 | h | #ifndef TST_SOMETEST_H
#define TST_SOMETEST_H
#include <gtest/gtest.h>
#include <gmock/gmock.h>
#include "lockcontroller.h"
using namespace testing;
class MockIKeypad : public IKeypad{
public:
MOCK_METHOD(
bool,
isActive,
(),
(override)
);
MOCK_METHOD(
void,
... | [
"vitaliy.borodaev.98@mail.ru"
] | vitaliy.borodaev.98@mail.ru |
9b08a67e45b910356429575cd34bf07abcfcc237 | 4352b5c9e6719d762e6a80e7a7799630d819bca3 | /tutorials/oldd/eulerVortex.twitch/eulerVortex.cyclic.twitch.moving/4.21/rho | f8da962606d2fb673f597a1ca1730d1bbe98c398 | [] | 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 | 76,385 | /*--------------------------------*- 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 | |
eb3dba8c11f3aad7bf4e04e81aefa6151fdc8f9b | 188ef12e4bf07412d7607c0d93c729f0e7ef8998 | /dynamic_programming/longest_common_substring.cpp | 13e0d8d31de5f7914c921871a73dc2f7e44fc115 | [] | no_license | sayakura/AlgoCollection | cd5c5bcb1095630f0048dc84b7b17d1f7a8b9407 | 84e751392eb7050bc74c537803daadbed93d355d | refs/heads/master | 2021-05-17T17:25:06.830456 | 2021-04-03T21:59:29 | 2021-04-03T21:59:29 | 250,894,530 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 731 | cpp | #include <vector>
#include <iostream>
using namespace std;
/*
a b e
c 0 0 0
b 0 0 0
a 1 1 0
b 0 2 0
e 3
*/
int longestCommonSubstring(string a, string b) {
int n = a.size(), m = b.size();
int ret = 0;
vector<vector<int> >dp(n + 1, vector<int>(m + 1, 0));
f... | [
"linra.kura@gmail.com"
] | linra.kura@gmail.com |
422ba10b1fc6c63048a917b8dfab278129428fb1 | 542c1cb38a366b4c8cc5ea4cdda2ea7608331cab | /tests/LabyrinthOfLoreGame/ThingDefinitionFactoryTest.cpp | 61eb587fae17a0db1fad599b00d716df7341e283 | [] | no_license | MarkOates/LabyrinthOfLore | 8deeba407bdad10d075795606982af7cc0f1b3d3 | 6c360b86e6229d4a6fac92425d828d97ac691e3a | refs/heads/master | 2023-04-13T09:49:16.642653 | 2023-04-09T13:29:00 | 2023-04-09T13:29:00 | 228,079,476 | 0 | 0 | null | 2022-09-23T00:58:52 | 2019-12-14T19:45:52 | C++ | UTF-8 | C++ | false | false | 530 | cpp |
#include <gtest/gtest.h>
#include <LabyrinthOfLoreGame/ThingDefinitionFactory.hpp>
TEST(LabyrinthOfLoreGame_ThingDefinitionFactoryTest, can_be_created_without_blowing_up)
{
LabyrinthOfLoreGame::ThingDefinitionFactory thing_definition_factory;
}
TEST(LabyrinthOfLoreGame_ThingDefinitionFactoryTest, run__returns_th... | [
"markoates0@gmail.com"
] | markoates0@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.