blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
75c45594d1a1ebf67f729654c568dac35d2e9a7a | eee8b1d86075d2223c7c3fca3698f55fac811463 | /contracts/addressbook/addressbook.cpp | a36c542cbd65303a51216bfbb7f36ad61f4a0a9e | [] | no_license | alerdenisov/eos-press | 72f5cac04f5a3e6663cbed287bae156a99f98140 | 9b6a51ea1eeab46f1b4467c47e28859504fe3b22 | refs/heads/master | 2020-03-19T15:48:18.084240 | 2018-06-10T04:33:25 | 2018-06-10T04:33:25 | 136,686,627 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,494 | cpp | /**
* @file
* @copyright defined in eos/LICENSE.txt
*/
#include <eosiolib/eosio.hpp>
#include <eosiolib/action.hpp>
#include <eosiolib/contract.hpp>
#include <eosiolib/print.hpp>
#include <string>
using eosio::indexed_by;
using eosio::const_mem_fun;
using std::string;
struct hi {
account_name account;
};
cl... | [
"aler.zampillo@gmail.com"
] | aler.zampillo@gmail.com |
2af198c9095bd385d11b6df45c24c38a03b8535c | 10eba1ee9ab33c28afe566cb1e81ee7bd2083cde | /NewSonicThing/src/entities/MetalHarbor/MH_Missle.cpp | 884a1faf2b05a1372d73e82b8b886aeefe77d0ef | [] | no_license | TurtleMan64/SAB2 | 972ef731c8ca26d2befa2d701c4628ac8274e53f | 487a0f2126aeb67e48181517e8f3c778d0cd0c36 | refs/heads/master | 2023-04-22T08:03:51.851246 | 2023-04-20T05:51:15 | 2023-04-20T05:51:15 | 164,409,226 | 6 | 1 | null | 2021-12-26T23:45:21 | 2019-01-07T09:31:20 | C | UTF-8 | C++ | false | false | 3,341 | cpp | #include "mhmissle.hpp"
#include "../entity.hpp"
#include "../camera.hpp"
#include "../../engineTester/main.hpp"
#include "../../models/models.hpp"
#include "../../loading/modelloader.hpp"
#include "../../toolbox/maths.hpp"
#include "../controllableplayer.hpp"
extern float dt;
std::vector<TexturedModel*> MH_Missle::m... | [
"turtleboy1026@aol.com"
] | turtleboy1026@aol.com |
a3e6466c5cff428a6fcd84974e3665410dc1b113 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/xgboost/xgboost-old-new/xgboost-old-new-joern/dmlc_xgboost_old_new_old_function_157.cpp | b2ce7d3a05e1699418fe23a3cda09f71109437a3 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 60 | cpp | e<typename T>
inline T LogGamma(T v) {
return lgamma(v);
} | [
"993273596@qq.com"
] | 993273596@qq.com |
cc54b66253fe3025bce5207cfb5a82fff6ca8558 | 39a734a4bd8e27aa11e59dfcd12fefdc14e447e0 | /RiskManagementTcp.h | 257937c3ad814866656555595677786d8b34af35 | [] | no_license | paulwuzhenjun/StrategyWithCTP_shipan | 2b8c39d5ce67d1f878c032a136965dcc09fecd0c | 781b03616d6fc3eb3839b8a13ca16dc1e62a26f2 | refs/heads/master | 2023-04-23T02:26:32.710374 | 2021-04-21T04:08:10 | 2021-04-21T04:08:10 | 360,021,782 | 3 | 0 | null | null | null | null | GB18030 | C++ | false | false | 859 | h | #pragma once
#include <vector>
#include <winsock2.h>
#include "RSMsgList.h"
using namespace std;
#define TCP_CONNNECTED 1
#define TCP_CONNNECTING 2
#define TCP_DISCONNNECTED 3
class RiskManagementTcp
{
#pragma pack(push,1)
struct send_info
{
char info_from[20]; //发送者ID
char info_to[20]; //接收者ID
int info_type... | [
"1072830517@qq.com"
] | 1072830517@qq.com |
d287549006ba947e0f62ae4cee829921fe143eae | 0ff8fd2163db8cc35a573ccbffb4519ed25ec5ba | /source/dyn.h | 999fad72731927ae7909fc0fce392e30ceb9d4db | [] | no_license | quantumfarm/ABPs_MPI | 01bc8b97752ed00eb22b437334e570024ccaddb2 | 1a0d1557a1067ea3759a260997da982c3646a0f8 | refs/heads/master | 2020-04-10T23:08:56.062168 | 2018-12-11T13:30:06 | 2018-12-11T13:30:06 | 161,105,889 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 363 | h | #ifndef __DYN_H_INCLUDED__
#define __DYN_H_INCLUDED__
#include <iostream>
#include <string>
#include <stdlib.h>
#include <cmath>
#include "myclass.h"
#include "interaction.h"
#include<random>
#include "gaussian.h"
#include "box.h"
using namespace std;
void get_Inter_force_B(Particle GP[]);
void Dyn(Particle G... | [
"wangtingbest@gmail.com"
] | wangtingbest@gmail.com |
3a6aeef3178abe777ceaa107b453f30e4005e1f2 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_repos_basic_block_block_16249.cpp | 0aaefd01e2adeac8a718965ea8189a251e6d3680 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15 | cpp | isoent->dir = 1 | [
"993273596@qq.com"
] | 993273596@qq.com |
60525643fc9e98023067ce2ffbbfe0b583edd394 | 0841c948188711d194835bb19cf0b4dae04a5695 | /p2pserver_v2/ifox_track/sources/thelib/include/p2p/p2pmacversion.h | 2c4f669c34a22e43c639923ec6da0d9fd06decb8 | [] | no_license | gjhbus/sh_project | 0cfd311b7c0e167e098bc4ec010822f1af2d0289 | 1d4d7df4e92cff93aba9d28226d3dbce71639ed6 | refs/heads/master | 2020-06-15T16:11:33.335499 | 2016-06-15T03:41:22 | 2016-06-15T03:41:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,512 | h | #ifndef _P2PMACVERSION_H
#define _P2PMACVERSION_H
typedef struct MacVersionInfo_{
std::string str_version;
uint32_t ui_version;
uint32_t ui_update_args;
uint32_t ui_percent;
}MacVersionInfo;
typedef struct MacChannelInfo_{
uint32_t ui_channel;
bool b_update_by_channel;
}MacC... | [
"greatmiffa@gmail.com"
] | greatmiffa@gmail.com |
da89ab96219de671bcd865bd8d3f9834186bd8e0 | a3d0fc86e659b82a714956a988c490f98dfe384e | /Utils.h | ae661d122e06cd476658ebd55e14479c390c7571 | [] | no_license | nilBora/matrix_module_time | b56fe9bb89ac00889d47b662cade89308e600e73 | 07f0bdaaa01c49ed74ffc337efc9644006596aba | refs/heads/master | 2020-04-15T13:43:31.994806 | 2019-01-10T10:33:16 | 2019-01-10T10:33:16 | 164,726,952 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 250 | h | #ifndef UTILS_H
#define UTILS_H
#if ARDUINO >= 100
#include <Arduino.h>
#include <string.h>
#else
#include <WProgram.h>
#endif
class Utils {
public:
Utils();
~Utils();
String utf8rus(String source);
};
#endif | [
"nil.borodulya@juds.com.ua"
] | nil.borodulya@juds.com.ua |
9ca34438b2f6c432e748fdea11bb68c7705846d3 | 2219ee920416729952f0652df92f6eb3197f6209 | /VisualInventory/source4.cpp | 3e8fda3845453c643e40d82344127bcf6069ee7a | [] | no_license | Tetragramm/VisualInventory | 4665dd1446a7b8c59c70386a8152231a449b8f29 | de829d907d7df0ed0244d49e9d41f2f6d47dc4bc | refs/heads/master | 2020-05-22T01:32:49.625814 | 2016-10-12T01:05:28 | 2016-10-12T01:05:28 | 59,943,306 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,502 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <fstream>
#include <windows.h>
#include "opencv2\calib3d.hpp"
#include "opencv2\core.hpp"
#include "opencv2\features2d.hpp"
#include "opencv2\flann.hpp"
#include "opencv2\highgui.hpp"
#include "opencv2\imgcodecs.hpp"
#include "opencv2\imgproc.hpp"
#include "o... | [
"william.a.macke@gmail.com"
] | william.a.macke@gmail.com |
b75c75a67200a8e0ebfb79d61433998261aa2ed8 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /extensions/renderer/api_definitions_natives.cc | 1db01d0470fcec8d55b6f444fa8a9aa73e9fe1fb | [
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 1,443 | 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 "extensions/renderer/api_definitions_natives.h"
#include "extensions/common/features/feature.h"
#include "extensions/common/features/feature_pro... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
9f1593a548101e65c2083b3d374e32cb40c45251 | f05a10a94b849b82e1d1c7d8a088fcb6945c8286 | /TestProject/Src/Core/AVIPlayer/AndroidVideoPlayer.cpp | 7e50e9ffaa13c640303c905a8a0b7fa99608bf16 | [] | no_license | fatmingwang/TestProject | 162be59b7bb96db1fb3b77c1a2cf823b43b3d7f5 | 338aa402492f523e1d54883070195867333e6e42 | refs/heads/master | 2020-06-03T16:53:29.432685 | 2019-06-16T16:55:10 | 2019-06-16T16:55:10 | 191,656,664 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,389 | cpp | //#ifdef USE_OPEN_CV
#ifdef WIN32
char*g_strCommonVideoFS = " \
uniform sampler2D texSample; \
varying vec2 PSTexcoord; \
varying vec4 PSColor; \
\
void main() \
{ \
vec4 l_vColor = texture2D(texSample,... | [
"osimejp@yahoo.co.jp"
] | osimejp@yahoo.co.jp |
252cb31f4b89a50d9e5d7a2ce1f64e40b076b44b | a5df30d99324bb932b9d44e062de0617fb36e3a8 | /development/stormlib/src/SBaseCommon.cpp | 13f2de9a92abcbf5098e3c0bb055e58b72ba6418 | [] | no_license | hazzik/stormlibsharp | bf32d0de2fe51a67e62127642cad785de8dee4d1 | 2bcbf87f85b0bdb27fa5858226dea50e8f4157ca | refs/heads/master | 2016-09-06T12:36:05.116828 | 2011-11-18T07:17:44 | 2011-11-18T07:17:44 | 32,115,932 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 54,800 | cpp | /*****************************************************************************/
/* SBaseCommon.cpp Copyright (c) Ladislav Zezula 2003 */
/*---------------------------------------------------------------------------*/
/* Common functions for StormLib, used by all SFile*** modules ... | [
"myndfyre@valhallalegends.com@2e2a640b-d849-2e5f-4e35-bf1d7d408c87"
] | myndfyre@valhallalegends.com@2e2a640b-d849-2e5f-4e35-bf1d7d408c87 |
d84729e466984e83bdf91fb07c27687229e0d8a2 | 7f389855fd6dbd6a7a07533f8875aa79def25088 | /ARK2D/src/ARK2D/vendor/libJSON/JSON_Strings.h | 200a38e26d12a6c06fa2a90d4bda3868cbfdefb7 | [
"MIT"
] | permissive | galexcode/ark2d | 86db3354b5342adafba05e619b1aadec428e0138 | 1bb550b3f2d4dd21681d14402470f1e8aba9d20b | refs/heads/master | 2020-05-20T23:09:13.156142 | 2013-05-06T22:36:14 | 2013-05-06T22:36:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 537 | h | #ifndef LIBJSON_STRINGS_H
#define LIBJSON_STRINGS_H
#ifdef JSON_UNICODE
#define json_char wchar_t
#define json_string std::wstring
#define json_stringstream std::wstringstream
#define json_strlen wcslen
#define json_strcmp wcscmp
#ifndef TEXT
#define TEXT(s) L ## s
#endif
#else
#define j... | [
"info@ashleygwinnell.co.uk"
] | info@ashleygwinnell.co.uk |
19ac9db2ff3b834f1a36f0ca1c963fc884e920c5 | fb52fa984ab0fb2fcfb260a05185e4c00526562a | /ngin/scene/texture.hpp | 7ba3f5d472cac6d7787304c2a293cc1042eeb922 | [
"MIT"
] | permissive | mateuszstompor/ngin | 0294641d10c4ab6f14a284b7c2376b96c16f3ddd | 2a1f864e2aaf1b3eee134f1d7cf126436d05145f | refs/heads/master | 2021-01-25T12:37:12.776712 | 2018-06-30T23:52:41 | 2018-06-30T23:52:41 | 123,487,333 | 8 | 1 | MIT | 2018-06-14T08:19:20 | 2018-03-01T20:14:49 | C++ | UTF-8 | C++ | false | false | 5,004 | hpp | //
// texture.hpp
// ngin
//
// Created by Mateusz Stompór on 10/03/2018.
// Copyright © 2018 Mateusz Stompór. All rights reserved.
//
#pragma once
#include <memory>
#include <vector>
#include <cstdint>
#include <cassert>
#include <string>
#include <iostream>
#include <cstdint>
#include "textureUtilities.hpp"
#i... | [
"mateusz.stompor@gmail.com"
] | mateusz.stompor@gmail.com |
81b17557101975647a2d2a25aa1010f7f3b99576 | 77f75da935611cbcaeceb38f3068fdcfc1e182f3 | /Stack/leetcode20.cpp | df6d3783557cc35a138b428ca653d2e25cf872fe | [] | no_license | yiluqingtai/leetcode | c9b1472cf668e4f073de3c0f2a3b74b8b715c48f | 8a075e461d59f63553dd4d991699840f346b18a3 | refs/heads/master | 2023-06-06T06:18:05.934947 | 2021-06-28T12:35:53 | 2021-06-28T12:35:53 | 358,627,612 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 667 | cpp | /**
*
* File: leetcode20.cpp
* 有效的括号
*
* Author: yiluqingtai(1572236483@qq.com)
* Created on 21/4/20
*
**/
class Solution {
public:
bool isValid(string s) {
stack<char> stk;
unordered_map<char, char> dict = {{')', '('}, {']', '['}, {'}', '{'}};
for... | [
"1572236483@qq.com"
] | 1572236483@qq.com |
9135a4425d99e1a8b4fa30ba0cb2c23cc715e764 | afcfca6f07ca5450330a8f64433d3334276cf350 | /src/main.cpp | dbc09451b277b220bffc4452a059fc01a8a6edeb | [] | no_license | guilhembn/hateb_monitor | 7e8d364951c63cd58e19e75e91ef2a6c2de6045d | 4c9c47c40d90ec96c66a15517d32d97f8a01dc6f | refs/heads/master | 2021-08-22T23:15:32.813954 | 2017-12-01T16:04:00 | 2017-12-01T16:04:00 | 112,759,016 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 606 | cpp | //
// Created by gbuisan on 11/17/17.
//
#include <csignal>
#include <cstdlib>
#include "../include/HATEBMonitor.h"
HATEBMonitor* hatebMonitor;
void sigintHandler(int sig){
ROS_DEBUG_STREAM_NAMED(NODE_NAME, "node will now shutdown");
// the default sigint handler, it calls shutdown() on node
delete hate... | [
"buisanguilhem@gmail.com"
] | buisanguilhem@gmail.com |
86bc974f5cf289f3cd59cbcf256addbce6c9219d | 89910b79d82917e3126ca505eb6225ea7a4e5d6f | /COJ/COJ/3695 - PowerDiv.cpp | 6bff2d0c415e8d453e0ad0312987bb8f9ee91f51 | [] | no_license | Huvok/CompetitiveProgramming | 020b643f3a4477e2167d704ad956a9bc5bc59795 | d9c3fa62c22a005b5195ca5288e1b375b6d419fc | refs/heads/master | 2021-07-12T23:13:40.794560 | 2020-05-26T20:14:25 | 2020-05-26T20:14:25 | 131,732,032 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,840 | cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
#include <string>
#include <stack>
#include <queue>
#include <map>
#include <functional>
#include <queue>
#include <bitset>
#include <sstream>
#include <set>
#include <iomanip>
#include <string.h>
#include <un... | [
"h.garciaperez58@gmail.com"
] | h.garciaperez58@gmail.com |
e013c09a6d4970ab9b5a26143e58c014465af9c0 | 22836d406ffef84d50d175edb50af6536679fe35 | /SurfaceReconstruction/player/player.cpp | 9adc688249253aa57760665d29fba9d4dc8460ff | [] | no_license | adrienhc/SurfaceReconstruction | 9183f1c87d7e184ae948bb7b449753f08dfcc00b | b9be4536c16cbac73e13d0bde1fa0d851e9c7d61 | refs/heads/master | 2023-02-10T08:31:47.136113 | 2020-12-27T07:38:52 | 2020-12-27T07:38:52 | 314,761,021 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,291 | cpp | #include "player.h"
Player::Player(Camera* camera, Weapon* weapon)
{
this->camera = camera;
this->weapon = weapon;
if(weapon)
this->weapon->GetModel()->cullingOFF();
}
void Player::Update(float deltaTime)
{
if (!weapon)
return;
weapon->Update(deltaTime);
glm::vec4 weapon_offsets = weapon->GetADSOffset();... | [
"adriennice06@yahoo.fr"
] | adriennice06@yahoo.fr |
95d3cf96c9667bc093c9b1298e5af2af3c70cb89 | bd9010ea25f1e0eb5e7b707698966ab06cbd4995 | /object_relationship/change_access_level.cc | 9c570828b050ffc7e9d66b919b654c90c767452b | [
"MIT"
] | permissive | SamLorenzoSanc/IB-class-code-examples | 12730eef5b7fe1bf9ef4e622b77132c800fea8c7 | 20306515d77a790b824ec333ed6d7c2d06abb9fd | refs/heads/master | 2023-08-20T08:55:46.567156 | 2021-10-27T17:16:12 | 2021-10-27T17:16:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,879 | cc | /**
* Universidad de La Laguna
* Escuela Superior de Ingeniería y Tecnología
* Grado en Ingeniería Informática
* Informática Básica
*
* @author F.de Sande
* @date 05 Jan 2021
* @brief Illustrates Changing an inherited member’s access level
* C++ gives us the ability to change an inherited member’s
* ... | [
"fsande@ull.es"
] | fsande@ull.es |
abe66b8a337b87bfc0d263d0c6b67a4aa158fcc1 | 9f67cc48302de8431b632f1e06a909f95b302921 | /Lab2/CCloneCTable.cpp | eadacd452bc33cd1ea2dc87c2fd2120bf10420c9 | [] | no_license | Chrumcio/ZMPO | cf7a678e4cb268563a19cb9f2b1a1059e230b94d | 9100a10dade02c6b34306fd9b3a396d185ff87e7 | refs/heads/master | 2020-05-02T09:37:35.938754 | 2019-03-26T22:20:17 | 2019-03-26T22:20:17 | 177,876,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 843 | cpp | #include "Utilities.h"
#include "CCloneCTable.h"
#include <iostream>
#include <stdlib.h>
#include "CVariables.h"
using namespace std;
const string S_CHOOSE_ELEMENT="Wybierz element";
CCloneCTable::CCloneCTable(vector<CTable*>* pvObjects)
{
this->pv_objects = pvObjects;
}// CCloneCTable::CCloneCTable(vector<CTable*>... | [
"32997806+Chrumcio@users.noreply.github.com"
] | 32997806+Chrumcio@users.noreply.github.com |
8506d4b89726d5b61a632b2145c6dfc69fe5532c | 8a3950ee4338787c22534affdddeaa8ca5a2ba76 | /ArxRle/Test/ArxRleUiDlgTestCurves.cpp | 1cf568233626fa93857418740df1f2ae7f88bdd4 | [] | no_license | ezhangle/AutoDesk-ArxRle | 67f3eae2a3c2d129c11f68e30fce045370fcc69b | d47c32a3c9834e747d00157d2e1a2e8aa562f50d | refs/heads/master | 2020-08-29T20:06:57.399365 | 2019-06-25T09:09:30 | 2019-06-25T09:09:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,889 | cpp | //
//////////////////////////////////////////////////////////////////////////////
//
// Copyright 2015 Autodesk, Inc. All rights reserved.
//
// Use of this software is subject to the terms of the Autodesk license
// agreement provided at the time of installation or download, or which
// otherwise accompanies th... | [
"fb19801101@126.com"
] | fb19801101@126.com |
53f0888d283d6fa281665048103f0a8cf21d335b | f0dd36879d329887e56bc626e8808c65dd2714e7 | /data-provider.h | 2540c1589909d452ec370dac5d90974baa89f320 | [
"MIT"
] | permissive | tpetazzoni/qt-sensor-demo | 1dcd9bf125ef81e817f04eede1a51332a557508c | 36d9b540f160e8763c324ec2276fd8aeeede7381 | refs/heads/master | 2020-05-24T01:49:33.138864 | 2019-09-12T12:17:49 | 2019-09-12T12:17:49 | 187,041,791 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 364 | h | // SPDX-License-Identifier: MIT
#ifndef DATA_PROVIDER_H
#define DATA_PROVIDER_H
#include <QtCore/QTimer>
class DataProvider: public QObject
{
Q_OBJECT
public:
DataProvider();
private slots:
void handleTimer();
signals:
void valueChanged(float temp, float pressure, float humidity);
private:
QTi... | [
"thomas.petazzoni@bootlin.com"
] | thomas.petazzoni@bootlin.com |
596f594700e8080c6a0002e5a64a2def3a03968c | 1eb1981b55bc930e8095b18e72b973c1c3d51dd6 | /al4gcn.hpp | 4c26ee1c38b38356cb5dccf8af7bbf37564d82e5 | [
"BSD-3-Clause"
] | permissive | tobing65/alguichan | 220a9c29bf7a7b184ad9e80dc63b08ce541994cc | ffb8eea4d4c8b154d1747dc53a89999e4d5d6d4f | refs/heads/master | 2021-07-11T21:03:22.028765 | 2020-01-30T17:50:18 | 2020-01-30T17:50:18 | 100,096,556 | 1 | 0 | null | null | null | null | ISO-8859-2 | C++ | false | false | 2,623 | hpp | /* _______ __ __ __ ______ __ __ _______ __ __
* / _____/\ / /\ / /\ / /\ / ____/\ / /\ / /\ / ___ /\ / |\/ /\
* / /\____\// / // / // / // /\___\// /_// / // /\_/ / // , |/ / /
* / / /__ / / // / // / // / / / ___ / // ___ / // /| ' / /
* / /_// /\ / /_// / // / // /_/_ ... | [
"tobias.scheuer@sap.com"
] | tobias.scheuer@sap.com |
5b45ce7931bb07c2b99cb5798f0cf5fa7f4920a3 | 1ee9d8ed0e4eac00549992b25ee6494048997caa | /swordOffer/29.cpp | d85851ae2a815dbec469d8a377c7c5e1e3951d40 | [] | no_license | zhayujie/OJ | 2dc8aa8a88e2d771c1a15771809bfb09255f0064 | 7159a7509ede921b9819bb298d43afec71537b22 | refs/heads/master | 2021-08-26T08:56:55.416436 | 2021-08-20T02:34:57 | 2021-08-20T02:34:57 | 128,359,866 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,963 | cpp | #include <iostream>
using namespace std;
#include <vector>
class Solution {
public:
int curRow;
int curCol;
int count;
vector<int> res;
vector<int> printMatrix(vector<vector<int> > matrix) {
curRow = 0;
curCol = 0;
count = 0;
int rows = matrix.size();
int cols = matrix... | [
"yjzha1996@163.com"
] | yjzha1996@163.com |
99e4f7a0c38af2053d9fc4330fe5529fa99d634e | 6ffdd49a471061882340cbfbc445c6df0fa8b09b | /color/color.h | 2fff32d02ae2a265316ad5498a9f5ca9f858e05d | [] | no_license | VictorCosta101/dca1202 | b54e90a7ff15cae4a30a823768eac17b5def4043 | 596e9925ca3f8b978b211040f84c6cd48e2cc57c | refs/heads/master | 2020-07-26T22:26:37.056349 | 2019-09-11T11:26:17 | 2019-09-11T11:26:17 | 208,783,352 | 0 | 0 | null | 2019-09-16T11:30:39 | 2019-09-16T11:30:38 | null | UTF-8 | C++ | false | false | 217 | h | #ifndef COLOR_H
#define COLOR_H
class Color{
private:
float r, g, b;
public:
Color(float mr=0, float mg=0, float mb=0);
Color combina(Color c1);
bool compara(Color c1);
void print();
};
#endif // COLOR_H
| [
"agostinhobritojr@gmail.com"
] | agostinhobritojr@gmail.com |
94f3482adda8bc67c40d58213cf0cbd63ea53a17 | 5d1971bf4acad7d394dee7ecf8379002dda726f2 | /server/reader.cpp | 68b53bda498a1422bb480835a1d205445ee846be | [] | no_license | okimin/operatingsystemclass | f070eabfeb01f4f8ddea197a344fcf5317e4c0d6 | 14954fe2c113fe927098d5eedca96162d1c48f21 | refs/heads/master | 2020-05-31T18:42:42.957332 | 2019-06-05T17:38:36 | 2019-06-05T17:38:36 | 190,441,137 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 569 | cpp | #include <iostream>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <stdio.h>
using namespace std;
int main()
{
// ftok to generate unique key
key_t key = ftok("/process.txt", 65);
// shmget returns an identifier in shmid
int shmid = shmget(key, 1024, 0666 | IPC_CREAT);
// shmat to attach to ... | [
"danielgaston6@gmail.com"
] | danielgaston6@gmail.com |
3971add4a81de551a72e8498cdb36abf6278fd26 | b5f1d74edee3a8df9cd41bc7556f9601411637c9 | /Глава 5/6-3.cpp | 4a9db480ed339f506c766ab673e840d96cf966e5 | [] | no_license | nobossage/learn_cpp | 1f8d62f53615170540fcbfc092a6fa7c8ad8dbe1 | 426af74cdb647a4353336623aebc806cda3761f5 | refs/heads/main | 2023-02-26T18:03:20.045048 | 2021-02-03T19:29:22 | 2021-02-03T19:29:22 | 335,150,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,038 | cpp | /*
* 75-2.cpp
*
* Copyright 2021 noble <noble@terra>
*
* 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.
*
* ... | [
"noble@Terra.sol"
] | noble@Terra.sol |
e5fe09795bdb7c8113cd84a2330dd7973649e883 | 9170b19e3e34d5e9166d4dd0573b11a296cd0e43 | /apps/myApps/example-fluid/src/main.cpp | 851aa245886f7af8e4f9acac55988550c33b9243 | [] | no_license | Mystfit/FluidMotion | 5d644ee30e834c6a6f5f48f99cf9be87100507e9 | 2e555e80aff59c881ef0fde802c36c1fe4ff1107 | refs/heads/master | 2021-01-01T19:55:02.012209 | 2012-10-28T08:19:32 | 2012-10-28T08:19:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 426 | cpp | #include "ofMain.h"
#include "FluidMotionApp.h"
#include "ofAppGlutWindow.h"
//========================================================================
int main( ){
ofAppGlutWindow window;
ofSetupOpenGL(&window, 512,512, OF_WINDOW); // <-------- setup the GL context
// this kicks off the running of my app
/... | [
"byronated@gmail.com"
] | byronated@gmail.com |
75c4356d91787c9d0e8ff50c9b6a0d1fb5555a15 | d773369493f9d0a59fcbcfdf9e31fabb70008cd9 | /operation.h | 288b483455b1cc1b77b0e9b3e9d73167720bdb8c | [] | no_license | jaworski-pawel/personalBudget | bf6da491b89d77b7cd5bb25fa503b6094794308a | 601b6621947b32f8bbb81460f7b2133956290915 | refs/heads/master | 2021-09-06T11:15:48.663027 | 2018-02-05T23:10:40 | 2018-02-05T23:10:40 | 118,109,852 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 571 | h | #ifndef OPERATION_H
#define OPERATION_H
#include <iostream>
using namespace std;
class Operation
{
int operationId;
int userId;
int date;
string item;
double amount;
public:
Operation(int operationId, int userId, int date, string item, double amount);
int getOperationId();
void setOp... | [
"pawel.jaworski@live.com"
] | pawel.jaworski@live.com |
345b2c3bc9d89144042cd3063c40929c2fcdb5dd | fc0ef1a6216f4fc9a34649a305b98b53b181cbe5 | /src/Nodes/PointNode.cpp | 4ce561961c1394cfc0cab9166f96af46d187dd85 | [] | no_license | BlenderDude/SimpleGraphics | e217f1c86a8dba2bb81466dda630bc54224ae54c | fabb9f800d3a109913662e8c347ac0bc3d047b11 | refs/heads/master | 2020-03-29T20:53:47.502171 | 2018-09-27T01:55:30 | 2018-09-27T01:55:30 | 150,337,430 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 198 | cpp | //
// Created by Daniel Abdelsamed on 9/25/18.
//
#include "PointNode.h"
PointNode::PointNode() : Node(1, 1) {
// Set the only pixel to be the unicode box
this->setPixel(0, 0, "\u25A0");
} | [
"daniel@abdelsamed.com"
] | daniel@abdelsamed.com |
59ed0c7afb981912fcf330d47f6af27cc6e63484 | 2013ee8ddd764e15ad8e2b1b72c226dc352526aa | /CPPWebFramework/cwf/filter.h | defbb6aa3e453abf12a773126d026f65c29ccdd5 | [
"MIT"
] | permissive | angeluslove/CPPWebFramework | aef693896b053100824bfe8792225679bdb52be2 | 5785c4eb62a4b335078f00b2c6879c3da49996bc | refs/heads/master | 2020-04-07T11:50:15.990231 | 2018-11-14T02:42:32 | 2018-11-14T02:42:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,093 | h | /*
Copyright 2017 Herik Lima de Castro and Marcelo Medeiros Eler
Distributed under MIT license, or public domain if desired and
recognized in your jurisdiction.
See file LICENSE for detail.
*/
#ifndef FILTER_H
#define FILTER_H
#include "request.h"
#include "response.h"
#include "filterchain.h"
#inclu... | [
"heriklyma@hotmail.com"
] | heriklyma@hotmail.com |
28f48204e5dbbc912bd22fff83b49906238526ec | 3d21f8c03bd0e0740fab2819085fbb5a585e7c19 | /server_code/socket_server.cpp | 1adb0c265c7eb4c07ee24198ef4345ec1c50dd97 | [] | no_license | ITACHIhe/high-concurrency_chatroom | d70f715c3b65b1a24b655544dd1bc0ab5f92e17e | a0e6fc344eed9bf839ec9fdb92df212a1edddca2 | refs/heads/master | 2020-07-16T18:54:51.073235 | 2020-05-24T03:58:01 | 2020-05-24T03:58:01 | 205,847,456 | 15 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 10,478 | cpp | #include "socket_server.h"
#include<QDebug>
#include<QFile>
#include<QTextStream>
#include<set>
#include<QDateTime>
socket_server *socket_server::server=NULL;//单例模式的写法
socket_server::socket_server()
{
m_worker_connections=1024;//初始化epoll连接的最大项数
sockfd=0;//初始化socket套接字的句柄
memset(&servaddr,0,sizeof(servaddr))... | [
"919371374@qq.com"
] | 919371374@qq.com |
1db4a045d660d2ab9f2b57d93445ee98c41bbe66 | ec193f6445c94cbdcc2d8eab1c37d7ab2f0bbe11 | /src/TimeSpan.cpp | 7c28c867bd36d0a182552faf96efce73bfee77a7 | [
"MIT"
] | permissive | artsman/Omnisical | eb07a2f35936352d5e161eb36335b7a88e9fd67e | f9d6fd806ab12667b21ce8a95d990699d9333bcf | refs/heads/master | 2016-09-06T11:51:46.072788 | 2014-05-14T18:43:40 | 2014-05-14T18:43:40 | 19,790,544 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,123 | cpp | // The MIT License (MIT)
// Copyright (c) 2014 Arts Management Systems Ltd.
// 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
/... | [
"david@artsman.com"
] | david@artsman.com |
9bee32e242fe0d178d6a80216d3a4dfb3402b15f | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /net/quic/core/quic_server_session_base.h | 2fbe9762e0278a4da2e24c3b40661ee83ae3dec5 | [
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 4,922 | 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.
//
// A server specific QuicSession subclass.
#ifndef NET_QUIC_CORE_QUIC_SERVER_SESSION_BASE_H_
#define NET_QUIC_CORE_QUIC_SERVER_SESSION_BASE_H_
#in... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
dbeea042d1dd089741966137fbdfc430887e544b | bf4f32f9b61bb9ffc2cacf8b4a8439c64db7b492 | /src/UnaryExpression.h | 121ccef760a30e3c87b7119e1b700df9fb7da45d | [] | no_license | michaelrk02/xcalc | d3ae42794ba6156c1285e8cd5f21cce8dc46c8e6 | fddc1795a3bb46fe9591eb6b0ef795e8711dba38 | refs/heads/master | 2022-11-27T20:03:45.390912 | 2020-08-06T10:15:18 | 2020-08-06T10:15:18 | 282,477,063 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 491 | h | #pragma once
#include "Expression.h"
#include <cstddef>
class UnaryExpression :
public IExpression {
public:
UnaryExpression(bool negation = false, IExpression *child = NULL);
~UnaryExpression(void);
expr_t getType(void);
double evaluate(void);
void destroy(void);
bool isNegation(void)... | [
"michaelkrisnadhi@gmail.com"
] | michaelkrisnadhi@gmail.com |
f5c7fc32d93cf0dcc1347b069df8290eaab3b76c | 47e91e6c129780cd7c798fa0d3dfba2a0843026f | /709.转换成小写字母.cpp | 1d5fd0f88b28b46dc8bf4280abfe4a1036f55f69 | [] | no_license | booksort960/leetcode | 9858d879f891887b6d026f51cd09fcb48bd37e39 | 425a80ac78dde03c58a240d3b34fd31a5c01d448 | refs/heads/master | 2023-07-16T14:39:14.735804 | 2021-08-20T15:15:14 | 2021-08-20T15:15:14 | 346,415,017 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 198 | cpp | #include <iostream>
#include <string>
int main(void)
{
int i = 0;
std::string s = "Hello";
while (s[i])
{
if (s[i] >= 'A' && s[i] <= 'Z')
s[i] += 32;
i++;
}
std::cout << s;
return 0;
} | [
"2141166187@qq.com"
] | 2141166187@qq.com |
906d05ebc0e1ff433e5e1ac581dfe4b103c308cc | c8d7a0c0970582d179babaadc514ab27f226db04 | /src/KeyFrameDatabase.cc | 45bbee156446d74b4a070b654cdbbcf8f386d767 | [] | no_license | wf-hahaha/orbslam_hfnet-SuperGlue | 47e199fd9ef4bedf7f9f3adb2ce63e7494dca4d9 | 9d415289705fdacb7dd57da4c9a135b390d10617 | refs/heads/master | 2022-11-24T04:35:55.636617 | 2020-07-27T10:54:17 | 2020-07-27T10:54:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,095 | cc | /**
* This file is part of ORB-SLAM2.
*
* Copyright (C) 2014-2016 Raúl Mur-Artal <raulmur at unizar dot es> (University of Zaragoza)
* For more information see <https://github.com/raulmur/ORB_SLAM2>
*
* ORB-SLAM2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public Lice... | [
"yinjiahao505@163.com"
] | yinjiahao505@163.com |
4d7a2ec027459e07b0d8893b7f3d7599b3d0149f | 4352b5c9e6719d762e6a80e7a7799630d819bca3 | /tutorials/oldd/Basic-Dynamic-Mesh-Tutorial-OpenFoam/TUT16/2.32/epsilon | 187032926a9bf0dc549f12ffa4eab122e5d70130 | [] | 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 | 44,540 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"thomasdigiusto@me.com"
] | thomasdigiusto@me.com | |
a43be50d15a5a093bbdc5aeba47320769c6a038d | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /ash/system/accessibility/accessibility_feature_pod_controller_unittest.cc | 6471f32663a508f47d4b3c40ee52f4b2e31e95d8 | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 2,184 | cc | // Copyright 2018 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 "ash/system/accessibility/accessibility_feature_pod_controller.h"
#include "ash/system/unified/feature_pod_button.h"
#include "ash/system/unifie... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
a52aab286958879690b1da6bbd163c829b914478 | c3f32df33fb37f6daceaad2c2cffe717e39bb4e1 | /Facebook/FacebookHC/HackerCup2015/QR/c.cpp | 753038791f35838259e19cc1d4d7a3ad917e5dcf | [] | no_license | diego-gabriel/CompetitiveProgramming | 92ab79e1acd39b17455a86f36489448085df5a46 | c119997fbe8d1786e0269fe784bc963a17e21564 | refs/heads/master | 2021-01-17T11:55:17.840903 | 2015-06-23T19:44:35 | 2015-06-23T19:44:35 | 37,434,165 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,224 | cpp | #include <iostream>
#include <cstring>
#include <queue>
using namespace std;
char tab[4][104][104];
int dis[4][104][104];
struct Pos
{
int x, y;
Pos(){};
Pos(int a, int b){
x = a;
y = b;
}
};
struct Info
{
Pos pos;
int t;
Info(){};
Info(Pos a, int b){
pos = a;
t = b;
}
};
char rotate(char k){
if ... | [
"diego.gabriel.nd@gmail.com"
] | diego.gabriel.nd@gmail.com |
4bb50aee2ee5678d4d2951fb719e4c60d6814907 | aec97bc620c052583b34ed8225907a1a6dba2244 | /hdr/field.h | 9e2208f10b0b7d570d8201b65f005e2a8ead75da | [] | no_license | Br0ce/ma_tricks | 3021322486a487fe5763685c73db8e09db2bfc12 | 64b84272e930532f9bc22233ecf8e688d5a06661 | refs/heads/master | 2021-01-09T20:53:58.593625 | 2017-01-29T15:27:53 | 2017-01-29T15:27:53 | 59,414,869 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,230 | h | /** @file field.h
*
* @brief QLineEdit to be the field in a matrix
*
* Copyright (C) 2016 @author Niklas Beck, beck@informatik.uni-bonn.de
*
* 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 Foundati... | [
"beck@informatik.uni-bonn.de"
] | beck@informatik.uni-bonn.de |
39f268006e1404d98f8d4141320b928fe9376dba | a186c6e7d85d6c06913338b2dfaccd06ab7cfc4b | /numeric_genome.h | d60d445b51398da9ebb2c22d9b3fedf8948f3c83 | [] | no_license | abernatskiy/blondelForEVS | 57538ea4995836c45fc5ba63670c1c6f1293926e | 3e99cd172d0d950b8ccf353726a9b6bd26737972 | refs/heads/master | 2021-03-27T16:14:43.066815 | 2018-02-15T02:57:17 | 2018-02-15T02:57:17 | 51,287,016 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 674 | h | #ifndef NUMERIC_GENOME_H
#define NUMERIC_GENOME_H
#include <array>
#include <string>
#include <cmath> // for fabs(), replace with misc.h for iabs()
#define GENOME_SIZE 16
#define GENOME_SIZE_WITH_ID 17 // ==GENOME_SIZE+1, used in class definition
#define GENE_TYPE double
#define GENE_FROM_STR(X) std::stod(X)
#define ... | [
"abernats@uvm.edu"
] | abernats@uvm.edu |
3942e9fefc1b35c4d09bef9e3dcbbcee9c29c378 | b7019c3b8e12e3be53eda91cec40c233dd38b53c | /lte/gateway/c/session_manager/SessionState.h | ebfc38d3b3db7a84a3efe8886f149c29016bb597 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | wahello/magma-go | 0471acf4b72316a6dc8bff33bfba08d81b282e82 | 269b43ff2f241662c2290d798cd0a8dd1a923a98 | refs/heads/master | 2023-03-28T08:32:55.217141 | 2020-08-19T15:08:36 | 2020-08-19T15:08:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,848 | h | /**
* Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#pragma onc... | [
"gridgentoo@gmail.com"
] | gridgentoo@gmail.com |
d44bf439cdd9db99d44d0a8398686189ee293011 | fbc7e0c7223127a961a16d85a3e705d149f1e025 | /ipopt_test/AcroDyn.cxx | 69b67e05ba2feb3e1e81ae75887a9c0950bb83ea | [] | no_license | nfbraun/xrp | f406d4c71436e27ff660cca2dc23bc649cc7d3c3 | 3b344ad4f69aaa0350c4708e001b43e66228a7a6 | refs/heads/master | 2016-09-10T06:50:54.646498 | 2014-07-29T18:37:19 | 2014-07-29T18:43:06 | 6,868,442 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,615 | cxx | #include "AcroDyn.h"
namespace SystemConst {
const double G = 9.81;
const double M1 = .5;
const double M2 = .2;
const double LC = .3;
const double L1 = .5;
const double L2 = .6;
const double I1 = 0.;
const double I2 = 0.;
// const double GAMMA = 0.;
}
AcroDyn::DResult AcroDyn::qddo... | [
"n.braun@ikp.uni-koeln.de"
] | n.braun@ikp.uni-koeln.de |
1e91f13345df34fab449f8c078340feb1067ea23 | b5f10a35f7908f9ea8045239dfa6249a5afe0ee7 | /define.cpp | b6a550ebfe80c9856ff4fc30f7ffcbabd5078d54 | [] | no_license | buctcs/ogre_app | 6a716dff1de87f9e0c623c8d5b92bb83a47c87f3 | d6696963feb5494cbe70ef2bfb77fc2af6fc6cb9 | refs/heads/master | 2021-01-19T21:28:00.612953 | 2014-08-26T08:59:38 | 2014-08-26T08:59:38 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 945 | cpp | #include "defines.h"
SoundSystem mySoundSys; // 声音系统
GuiSystem* myGuiSys = GuiSystem::getSingletonPtr(); // 界面系统
float gTimeFactor = 1; // 系统时间与真实时间速度比例
Final3DParams gF3DParams; // // 传递参数结构
TimeDef gTimeDef = {0, 0, 0, 0, 0}; // 时间定义
PhaseMark gPhaseMark = HealthyGaming; // 游戏进行到各阶段的标志
// 一些物理学常量
long double g... | [
"1654263223@qq.com"
] | 1654263223@qq.com |
62af1486ef3aad029d29184c2b31003767e51ba5 | e4ea62457477872cf7d6901ec276b9793e944d18 | /src/gtk/menu.cpp | 7ab046000ae15277488e29f96cb7832011aef26e | [] | no_license | isabella232/wx | 9afe7720a349741fe10284cf06449fbab3927c5a | 8ef3ca2eff1acc6de1c40d1ccc2112c1f5cddf95 | refs/heads/master | 2022-02-16T00:22:15.926603 | 2008-11-20T19:16:07 | 2008-11-20T19:16:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 55,558 | cpp | /////////////////////////////////////////////////////////////////////////////
// Name: src/gtk/menu.cpp
// Purpose:
// Author: Robert Roebling
// Id: $Id$
// Copyright: (c) 1998 Robert Roebling
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////... | [
"KO@c3d73ce0-8a6f-49c7-b76d-6d57e0e08775"
] | KO@c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 |
926d0baa318b5761caaed7ca6d9c48c6a81ff449 | 6bd9ae59ecd9065e74ff26130134b00a43495349 | /小明摘苹果.cpp | 1f6357f54bb15b9071876290dd45c2a45f0b53a5 | [] | no_license | dragonir/Sicily | 3b9b3d584537cb5d28d5d362aa4b27b2b10e7bc3 | 1ed0d298445f7a2196bdc3a90aff87c53857739e | refs/heads/master | 2021-09-02T01:14:09.146553 | 2017-12-29T15:26:30 | 2017-12-29T15:26:30 | 114,475,540 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 324 | cpp | #include<iostream>
#include<cmath>
#include<iomanip>
#include<string>
#include<cstdio>
using namespace std;
int main(){
int n, height, sum[10], flag=0;
cin>>n;
while(n--){
for(int i=0;i<10;i++)cin>>sum[i];
cin>>height;
for(int i=0;i<10;i++)
if((height+30)>=sum[i])flag++;
cout<<flag<<endl;flag=0;
} ... | [
"dragonir@sina.cn"
] | dragonir@sina.cn |
570be16c118c84cf8657d4dd8dfa1448fd5b0063 | 1c1ba482d6084100b9df3a62455966ed8baf1d34 | /src/EnemyB.cpp | 5e52ba2c6aaa62f31b7260c27daaa282cac2994c | [] | no_license | kolobott/TowerDefense | da147b3d52b4bdda4027351ddd6b51bbf5ac0e60 | 29558e8a68ef550cc1b558c7aa088700b47c28c0 | refs/heads/master | 2021-05-15T00:29:14.126250 | 2017-09-11T14:00:09 | 2017-09-11T14:00:09 | 103,141,565 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 640 | cpp | #include <string>
#include "EnemyB.h"
EnemyB::EnemyB(int health, int power) : Enemy('@'), health(health), power(power), alive(true), color("Green") {}
void EnemyB::Move(int x, int y)
{
this->x = x;
this->y = y;
}
bool EnemyB::isAlive() const
{
return this->alive;
}
void EnemyB::Dead()
{
... | [
"molokdmy@fit.cvut.cz"
] | molokdmy@fit.cvut.cz |
3ef256e67016060f504921be5ff9f11feaa189bd | 1c8c77847e999dd05f0dc5e6dfa39ca2d5a73cb6 | /Plugins/Funapi/Source/Funapi/Private/google/protobuf/stubs/common.cc | 903ac2ce05b9fd6e5a9e3df1f1b111bd32747838 | [] | no_license | houguohua/engine-plugin-ue4 | 9de1adfffa95f1c0955d301b21f61b7c0fd5cafc | bbe3c9fcc010387c30be338e1dd2c920f965b486 | refs/heads/master | 2021-06-29T01:27:20.391835 | 2017-08-10T04:52:51 | 2017-08-10T05:48:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,191 | cc | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | [
"junhyunpark@ifunfactory.com"
] | junhyunpark@ifunfactory.com |
8124c0a8b6628ca2f550f3c7ad3a6bd183badb42 | 19ab40452cff93a9e5720a46d85bac7ccba11788 | /CareerCup/amazon/twoWordsDistance.cpp | b0e6566efe236691195ff8aebf90339b98e92c46 | [] | no_license | kyduke/Coding | 8728e19d40872d82da20f813e12ec5fea7cd6742 | 4f6ae9aa144dfe3171a00a572980d2b5cc3a81a9 | refs/heads/master | 2022-03-05T16:16:06.608380 | 2022-02-18T01:38:31 | 2022-02-18T01:38:31 | 25,638,209 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,410 | cpp | // http://careercup.com/question?id=6273553081040896
#include <iostream>
#include <vector>
#include <string>
using namespace std;
int distanceTwoWordsInString(string str, string wordA, string wordB) {
vector<int> positionA;
vector<int> positionB;
string sub;
int i, start, wordIndex, indexA, indexB, distance;
i... | [
"kyduke@gmail.com"
] | kyduke@gmail.com |
34a7f1321dcd6cec134e491b3d28d2d6ca4fc884 | 1f63dde39fcc5f8be29f2acb947c41f1b6f1683e | /Boss2D/addon/webrtc-jumpingyang001_for_boss/pc/sessiondescription.h | af0e126ae93181c24c921e214d4057b791fbf003 | [
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-google-patent-license-webm",
"LicenseRef-scancode-google-patent-license-webrtc",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | koobonil/Boss2D | 09ca948823e0df5a5a53b64a10033c4f3665483a | e5eb355b57228a701495f2660f137bd05628c202 | refs/heads/master | 2022-10-20T09:02:51.341143 | 2019-07-18T02:13:44 | 2019-07-18T02:13:44 | 105,999,368 | 7 | 2 | MIT | 2022-10-04T23:31:12 | 2017-10-06T11:57:07 | C++ | UTF-8 | C++ | false | false | 18,001 | h | /*
* Copyright 2004 The WebRTC 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 in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing ... | [
"slacealic@nate.com"
] | slacealic@nate.com |
db07e9c84638f33c2d331f903e41a35839875b22 | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir7941/dir7942/dir8062/dir8063/dir12766/dir12767/dir13029/dir15097/dir15260/dir15321/dir15524/dir16916/file16969.cpp | 43b01e4cdbc4a561eb33b5209faf6fb46af661c9 | [] | no_license | tgeng/HugeProject | 829c3bdfb7cbaf57727c41263212d4a67e3eb93d | 4488d3b765e8827636ce5e878baacdf388710ef2 | refs/heads/master | 2022-08-21T16:58:54.161627 | 2020-05-28T01:54:03 | 2020-05-28T01:54:03 | 267,468,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | cpp | #ifndef file16969
#error "macro file16969 must be defined"
#endif
static const char* file16969String = "file16969"; | [
"tgeng@google.com"
] | tgeng@google.com |
9e540b1177c798de0aad6cc1947004c254ff9c92 | 155660eac96f58636c07ddf74e76ad9310759cbb | /fraig/src/cir/cirMgr.cpp | 337318da7a4ce8d7884b518b7f079b45d2bd3681 | [] | no_license | chien-ying/DSnP-FRAIG | 2f03351105474de331c4299facef007d4c9d5109 | 4651a49280f141271f5e60517fd894c4bbb3c1ea | refs/heads/master | 2023-08-21T23:54:43.413768 | 2021-10-15T18:23:23 | 2021-10-15T18:23:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,128 | cpp | /****************************************************************************
FileName [ cirMgr.cpp ]
PackageName [ cir ]
Synopsis [ Define cir manager functions ]
Author [ Chung-Yang (Ric) Huang ]
Copyright [ Copyleft(c) 2008-present LaDs(III), GIEE, NTU, Taiwan ]
**************************... | [
"b06505032@ntu.edu.tw"
] | b06505032@ntu.edu.tw |
fa0c1a821bac9ede915a87ea8e6112b7a20f59ba | 91827e46ac3f3ebe143ed9e89fc8759085302d19 | /brown_belt/week_6/transport_c/main.cpp | a3c95a67128d216bcba55465a0c5468595ca3ba6 | [] | no_license | ViktorRoy94/yandex_belts | d04f48ff0bf54bfc50479beed380cb86588d21dd | 4e7db1b62f25cb6dca90a0db23245ef4f997cf8e | refs/heads/master | 2021-06-30T15:59:55.222453 | 2021-06-17T13:43:05 | 2021-06-17T13:43:05 | 241,591,820 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,894 | cpp | #include "request.h"
#include "test_runner.h"
using namespace std;
void TestAddBusRequestParseFrom() {
{
AddBusRequest request;
request.ParseFrom("Bus 256: Biryulyovo Zapadnoye > Biryusinka > Universam > Biryulyovo Zapadnoye\n");
ASSERT_EQUAL(request.bus_name, "256");
ASSERT_EQUAL(... | [
"viktor.roy@nortekcontrol.com"
] | viktor.roy@nortekcontrol.com |
bc331a4b654c51f31142d98c5900f2854f8629df | c31ee8136a57a96649196081e1cfde0676c2a481 | /larcv/app/arxiv/arxiv/LArOpenCVHandle/VertexInROI.cxx | 2d61c6da58bf493155891d241995e71b28f79d46 | [
"MIT"
] | permissive | DeepLearnPhysics/larcv2 | b12b46168e5c6795c70461c9495e29b427cd88b5 | 31863c9b094a09db2a0286cfbb63ccd2f161e14d | refs/heads/develop | 2023-06-11T03:15:51.679864 | 2023-05-30T17:51:19 | 2023-05-30T17:51:19 | 107,551,725 | 16 | 19 | MIT | 2023-04-10T10:15:13 | 2017-10-19T13:42:39 | C++ | UTF-8 | C++ | false | false | 4,205 | cxx | #ifndef __VERTEXINROI_CXX__
#define __VERTEXINROI_CXX__
#include "VertexInROI.h"
#include "DataFormat/EventROI.h"
#include "LArUtil/Geometry.h"
#include "LArUtil/LArProperties.h"
namespace larcv {
static VertexInROIProcessFactory __global_VertexInROIProcessFactory__;
VertexInROI::VertexInROI(const std::string n... | [
"kazuhiro@nevis.columbia.edu"
] | kazuhiro@nevis.columbia.edu |
a3c8fbcd0cdc2d72ce80cf6d8ee1aba1447bdb81 | 20a415214f5b0c8fa9ce728f96da188a0b91b86f | /src/qt/splitthresholdfield.cpp | 85ca79f51fc0003ec7a779d41c197f70d3c9cc18 | [] | no_license | tedchain/tedcoin-energy-efficient | 7f4e7e8391cf53c18faa0fb7f468cf98f04fc054 | 7d15205cee34902b7537e6456b42d11627328998 | refs/heads/master | 2020-03-18T03:20:22.584352 | 2018-07-15T13:42:33 | 2018-07-15T13:42:33 | 134,235,653 | 6 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 172 | cpp | #include "splitthresholdfield.h"
#include "main.h"
SplitThresholdField::SplitThresholdField(QWidget* parent) : QSpinBox(parent){
setMaximum(MAX_SPLIT_AMOUNT/1000000);
}
| [
"development@daybreak.coffee"
] | development@daybreak.coffee |
34c35cfcc2713ea4243c97de65cd31a5315a038f | 9935f547bc68e0b3a60813cbcdf26fbdd5811f3c | /HexIII_Adaptive/Control.cpp | 13285fb74dd17a7b58ab2eac8685d1468d45470e | [] | no_license | trigrass2/robot-2 | 1dffb33e872587e044cae28dada4f6ead40c6630 | b2faee9135d2a80740f88c7d6639e621720aa9b6 | refs/heads/master | 2020-06-07T14:13:55.968541 | 2015-07-02T06:48:01 | 2015-07-02T06:48:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,726 | cpp | #include "Control.h"
void* Thread1(void *)
{
cout<<"Running MsgLoop"<<endl;
Aris::Core::RunMsgLoop();
return NULL;
}
int initFun(CSysInitParameters& param)
{
gait.InitGait(param);
return 0;
}
int tg(CMachineData& machineData,RT_MSG& msg)
{
const int MapAbsToPhy[18]=
{
10, 11, 9,
... | [
"chaixun@sjtu.edu.cn"
] | chaixun@sjtu.edu.cn |
47f012c4169e774f4c2547d7bb9aba2ff0f007ba | 9a44bb26f1346490deab34648e084db6e8549e13 | /CSL/src/wmark/parser_actions/program_action.h | c01c3f18e148831bdd763a770cc0cfa112b59422 | [
"BSD-2-Clause"
] | permissive | meilj/CppTS | 1fd457b6dad56f23d18e8a042fce06f4f20609ff | 00b077c264a7c32fcbd416f73c4bdc2e0027afd8 | refs/heads/master | 2020-05-15T21:21:11.903232 | 2019-09-12T14:51:01 | 2019-09-12T14:51:01 | 182,496,511 | 0 | 0 | BSD-2-Clause | 2019-09-01T13:22:57 | 2019-04-21T06:06:11 | C | UTF-8 | C++ | false | false | 1,111 | h | /*
** Xin YUAN, 2019, BSD (2)
*/
////////////////////////////////////////////////////////////////////////////////
#ifndef __PROGRAM_ACTION_H__
#define __PROGRAM_ACTION_H__
////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////... | [
"yxxinyuan@zju.edu.cn"
] | yxxinyuan@zju.edu.cn |
e956a08514fcc5a367ff660cd951b53ced9ef176 | c4fc2cedddc7c319c0a312703bd754cf16e5a61a | /Hmwk/Assignment_2/Gaddis_8thEd_Chap3_Prob22_AngleCalculator/Gaddis_8thEd_Chap3_Prob22_AngleCalculator.cpp | a4d55226fd4a1f959357922215c7f1a1df1960fb | [] | no_license | AttilaKunRCC/KunAttila_CIS5_40479 | c9c55c4abbccb4b1a5e7a3f4c9776ab3f5d46b16 | ea1d25ae5438bd22efb5bfd2a532800e0bcbe678 | refs/heads/master | 2021-05-02T00:48:41.865961 | 2017-02-10T08:09:22 | 2017-02-10T08:09:22 | 78,304,369 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,037 | cpp | /*
File: Gaddis_8thEd_Chap3_Prob22_AngleCalculator.cpp
Author: Attila Kun
Created on January 10, 2017, 8:41 PM
Purpose:
* - write a program that asks the user for an angle, entered in radians
* - the program should display the sine, cosine and tangent of the tangle
* - the out should be displayed in fi... | [
"akun@student.rcc.edu"
] | akun@student.rcc.edu |
931c068d2731ca23e1e7db30a01f35cd2f55c10d | 27c872d5c3532d972b4e3eb20e70e82ccda660fc | /chrome/browser/media/router/discovery/dial/dial_app_discovery_service.cc | 4e054688ca7a9ea3a30a9b2b42f709ffc124c555 | [
"BSD-3-Clause"
] | permissive | adityavs/chromium-1 | 1b084f8ba68803bc6ae88ea7bebec3d2e6cbe210 | 27ae617ee377e19cc5a48c9e80a1863ea03043e3 | refs/heads/master | 2023-03-05T22:13:58.379272 | 2018-07-28T22:10:46 | 2018-07-28T22:10:46 | 139,341,362 | 1 | 0 | null | 2018-07-28T22:10:47 | 2018-07-01T15:42:25 | null | UTF-8 | C++ | false | false | 5,207 | cc | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/media/router/discovery/dial/dial_app_discovery_service.h"
#include "base/stl_util.h"
#include "base/strings/string_util.h"
#incl... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
4b5f9516331ecdb8461d7fdb05d33b59f0c95bcd | 6e65f6a37598f4e2e19e160abb33ce36e05fe062 | /example/less-than-1k/ctor/const/YCgCo_lavender.cpp | d74f32cfe0565acdec69c335ff6f325323c77e5d | [
"Apache-2.0"
] | permissive | duyouhua/color | dc3ab8be49454cabe79660645eae1f286e843dff | f460087aaa85d18ca11dee91fe122cfa25ae3ad1 | refs/heads/master | 2020-03-17T23:05:47.252302 | 2018-05-17T19:43:01 | 2018-05-17T19:43:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 999 | cpp | #include <iostream>
#include <iomanip>
#include "color/color.hpp"
using namespace std;
using namespace color;
int main( int argc, char *argv[] )
{
YCgCo<uint8_t> c1( constant::lavender_type{} );
YCgCo<uint16_t> c2( constant::lavender_type{} );
YCgCo<uint32_t> c3( constant::lavender_type{} );
... | [
"dmilos@gmail.com"
] | dmilos@gmail.com |
9c491160be9125fc83e7c552161b41d603b35bad | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/git/hunk_2123.cpp | 6972a76cbb86f34a9c0c8ff469f51f1dcd724bc0 | [] | 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 | 433 | cpp | name = mkpathdup(fmt, bname.buf);
if (kinds == FILTER_REFS_BRANCHES) {
- char *worktree = find_shared_symref("HEAD", name);
- if (worktree) {
+ const struct worktree *wt =
+ find_shared_symref("HEAD", name);
+ if (wt) {
error(_("Cannot delete branch '%s' "
"checked out at '%s'"),
- ... | [
"993273596@qq.com"
] | 993273596@qq.com |
8f8f32123c51a1c67cd9d75f656f896929ff12fc | feff7acb239ae449c861cb75b892755e7935ebcd | /JagunKet/.svn/text-base/jagunkettimer.h.svn-base | d8b8ce75721a13f24c351a7876d7edfec0c02fdb | [] | no_license | adysonmaia/jagunmsn | f9dd4bee4be60c9d1271153c81071d50f7c42712 | 43b1b8db6271a18e2dda9c07534a6e8d9c9dd5da | refs/heads/main | 2023-03-29T20:33:37.197608 | 2021-04-06T10:10:03 | 2021-04-06T10:10:03 | 355,139,934 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,337 | #ifndef JAGUNKETTIMER_H
#define JAGUNKETTIMER_H
#include <QTimer>
class JagunKETTimer : public QObject
{
Q_OBJECT
public:
/**
* Construtor
*/
JagunKETTimer(QObject *parent = 0, uint maxCount = 0);
/**
* Inicia o timer
*/
void startCounting();
/**
* In... | [
"adyson.maia@gmail.com"
] | adyson.maia@gmail.com | |
55f690e374f0d019ca61f46f2bb6d370df37a483 | da3215baf37d257d5814f165e98b4b19dee9cb05 | /SDK/FN_MissionGen_T2_R1_RtD_classes.hpp | aa84b710bff529e451f17118f6821af41d954743 | [] | no_license | Griizz/Fortnite-Hack | d37a6eea3502bf1b7c78be26a2206c8bc70f6fa5 | 5b80d585065372a4fb57839b8022dc522fe4110b | refs/heads/Griizz_Version | 2022-04-01T22:10:36.081573 | 2019-05-21T19:28:30 | 2019-05-21T19:28:30 | 106,034,464 | 115 | 85 | null | 2020-02-06T04:00:07 | 2017-10-06T17:55:47 | C++ | UTF-8 | C++ | false | false | 645 | hpp | #pragma once
// Fortnite SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass MissionGen_T2_R1_RtD.MissionGe... | [
"sinbadhacks@gmail.com"
] | sinbadhacks@gmail.com |
28b982d63ac0dd8c2624cdb3120810c86d2ab595 | 3308dce07b6e551708fc6c3e7fd3a043f14717d3 | /libraries/chain/include/graphene/chain/block_summary_object.hpp | 6a58431627a9e453a2e3c6570db5c67620e45249 | [
"MIT"
] | permissive | EDCBlockchain/blockchain | e7067c0a5a4e7cb3c149862bbed80b1d9ad4bae9 | e22bf21a1aae92b5d9da93fa716deec893258e57 | refs/heads/master | 2022-02-04T09:40:13.944559 | 2022-01-26T15:39:43 | 2022-01-26T15:39:43 | 175,849,006 | 15 | 11 | null | null | null | null | UTF-8 | C++ | false | false | 1,048 | hpp | // see LICENSE.txt
#pragma once
#include <graphene/chain/types.hpp>
#include <graphene/db/object.hpp>
namespace graphene { namespace chain {
using namespace graphene::db;
/**
* @brief tracks minimal information about past blocks to implement TaPOS
* @ingroup object
*
* When attempting to cal... | [
"info@blockchain.mn"
] | info@blockchain.mn |
51c4da67c49f710707934911f23ed54771baceca | dd6ffac87c25069939dddccd0e5d0d41c23f832f | /Project1/Source/Physics/CollisionManager.h | dd13a9897557b3046bc4aa16e319e47273b2c531 | [] | no_license | vidhisoni/3D-Game-Project | 901e8fb3ecbeeffe0188b72f865e38ad55f8c6fe | f53c8c9eb95662455a4e1ce9105d2393664af1a6 | refs/heads/master | 2022-10-26T06:16:51.875969 | 2020-06-16T04:39:53 | 2020-06-16T04:39:53 | 272,602,412 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,498 | h | #pragma once
#include "Components/Collider.h"
#include "Managers/ComponentManager.h" //to traverse on ComponentMap
#include "Components/Body.h"
#include "Component.h"
#include "Shape.h"
enum ContactType
{
OnCollisionEnter = 0,
OnCollisionStay,
OnCollisionExit,
OnTriggerEnter,
OnTriggerStay,
OnTriggerExit,
NonCol... | [
"vidhi.soni@digipen.edu"
] | vidhi.soni@digipen.edu |
e4bc9b65399ad3691ef93b869de5318458818f91 | 88ae8695987ada722184307301e221e1ba3cc2fa | /gpu/command_buffer/service/shared_image/gl_texture_image_backing_factory_unittest.cc | a013f4008235096219c925164dabf4f098e67ebc | [
"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 | 26,490 | cc | // Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "gpu/command_buffer/service/shared_image/gl_texture_image_backing_factory.h"
#include <thread>
#include "base/command_line.h"
#include "build/build_config.h"
#includ... | [
"jengelh@inai.de"
] | jengelh@inai.de |
2e106972e2454d3f1f3e4e6c5e4e5ab8860a14da | 16f39589f0c40792258127a11629fa73b04eca68 | /src/ManipulatorPlugin/MprControllerItemBase.cpp | a89f48acdbb8a5a70ce8508b760fd87c54e52ea9 | [
"MIT",
"Zlib"
] | permissive | AlgoryxJosef/choreonoid | 248954726bf54b33abd94f152b0012a1a5489d14 | 3ed66a75b6c507d64516c766df0c69d073b88145 | refs/heads/master | 2021-02-10T01:34:02.599607 | 2020-03-02T10:29:01 | 2020-03-02T10:29:01 | 244,342,481 | 0 | 0 | NOASSERTION | 2020-03-02T10:26:52 | 2020-03-02T10:26:51 | null | UTF-8 | C++ | false | false | 33,232 | cpp | #include "MprControllerItemBase.h"
#include "MprProgramItemBase.h"
#include "BasicMprStatements.h"
#include "MprVariableList.h"
#include "MprVariableListItemBase.h"
#include "MprVariableSetGroup.h"
#include <cnoid/ItemManager>
#include <cnoid/LinkKinematicsKit>
#include <cnoid/LinkCoordinateFrameSet>
#include <cnoid/Di... | [
"s.nakaoka@gmail.com"
] | s.nakaoka@gmail.com |
fff5d4167c688e3a24d167e9519d9f77be4e6574 | b3387d1d11fafdf9a48867d45e33319169d868bd | /ControlHP/ControlHP.ino | d4e6c64a6f9dfd7b549cd6ab056e7eec06caa8a1 | [] | no_license | pav2000/ControlHP | cb1736b5a1133808cf17c5251bb0906aa9cdbacb | 8b248c13616bc68b674d9aa63f7076aa6f5188ca | refs/heads/master | 2020-04-19T17:59:38.581129 | 2019-01-30T13:50:44 | 2019-01-30T13:50:44 | 168,350,454 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 46,001 | ino | #if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
//#define DEMO // Признак демонстрации
#define RADIO // Признак использования радио модуля
#define VERSION "Ver. leOS2 1.46 020615" // Текущая верстия
// Конф... | [
"firstlast2007@gmail.com"
] | firstlast2007@gmail.com |
76e7dfbf3da11a67ff43676efa8fe51d2904ad6b | 6f33efc26582df59502af082f84bb154a2478695 | /Classes/Layers/BackgroundLayer.cpp | a8a712e4d208a89586001cb7e688c8c27977b152 | [] | no_license | dongfanggugu/BugsKiller | 486e0a0bdf09e524273a6b806ce5c50e416d14b9 | f4f70259d9eda6c9a93ea483c1575ae3de798d6a | refs/heads/master | 2020-03-15T15:59:18.156730 | 2018-10-19T10:19:00 | 2018-10-19T10:19:00 | 132,225,672 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,696 | cpp | #include "BackgroundLayer.h"
#include "cocos-ext.h"
USING_NS_CC;
USING_NS_CC_EXT;
using namespace std;
#define DEF_ROLL_SPEED 8
int BackgroundLayer::rollTime = DEF_ROLL_SPEED;
BackgroundLayer* BackgroundLayer::create(const string &filename, float width, float height)
{
BackgroundLayer *background = new Backgrou... | [
"changhao.zhang@ushow.media"
] | changhao.zhang@ushow.media |
104033b8721058c3d6381bb63c1caa6810ec344f | 64fab7a7d7dbe95757b79b8dc1b910e95fa01abe | /CanadianExperience/ActorFactory.h | cb745b3f000e85b4e892d9f633dc27a0e533a2c0 | [] | no_license | haaseben/Sparty-and-Harold | eff93283cafafb5682d1f8b91656ea36183b4e3a | cfeb9c6f574e1714a379945a548ec2ec509cd2d2 | refs/heads/master | 2021-08-07T18:25:11.759620 | 2017-11-08T18:15:44 | 2017-11-08T18:15:44 | 110,015,252 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 229 | h | /**
* \File ActorFactory.h
*
* Class for abstract factories
*
* \author Ben Haase
*/
#pragma once
/**
* Abstract base class for actor factories.
*/
class CActorFactory
{
public:
CActorFactory();
virtual ~CActorFactory();
};
| [
"haaseben@msu.edu"
] | haaseben@msu.edu |
457b7d226ba5027511433cb4e64e2996e2fed14d | d4b17a1dde0309ea8a1b2f6d6ae640e44a811052 | /examples/cpp/source/k_nearest_neighbors/kdtree_knn_dense_batch.cpp | 313740b6de370b50d9324b8f6edfc98ba887973d | [
"Apache-2.0",
"Intel"
] | permissive | h2oai/daal | c50f2b14dc4a9ffc0b7f7bcb40b599cadac6d333 | d49815df3040f3872a1fdb9dc99ee86148e4494e | refs/heads/daal_2018_beta_update1 | 2023-05-25T17:48:44.312245 | 2017-09-29T13:30:10 | 2017-09-29T13:30:10 | 96,125,165 | 2 | 3 | null | 2017-09-29T13:30:11 | 2017-07-03T15:26:26 | C++ | UTF-8 | C++ | false | false | 4,887 | cpp | /* file: kdtree_knn_dense_batch.cpp */
/*******************************************************************************
* Copyright 2014-2017 Intel Corporation
*
* 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 o... | [
"vasily.rubtsov@intel.com"
] | vasily.rubtsov@intel.com |
6722e5f7d407909379fd608dee0cdb6483d1fbe9 | 8d3e97d9488ed2e42b9dd8b520fbbe36e9490e7a | /TestOpenGL/include/core/Utils.h | 776a7cc6fe95801d66af6e5204ed4118683002c4 | [] | no_license | lsyu/OpenGLTest | 6c99685040b686f689b22fbe491f315a0285a686 | 032d39dd54e2b213a93dd52e273875b338a06c1a | refs/heads/master | 2021-01-01T18:17:25.645225 | 2015-05-11T09:12:51 | 2015-05-11T09:12:51 | 35,413,334 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 936 | h | #ifndef UTILS_H
#define UTILS_H
#include <vector>
#include <algorithm>
struct CVector2
{
float x;
float y;
};
struct CSize
{
float width;
float height;
};
struct CBoundingBox
{
CVector2 minimum;
CVector2 maximum;
float getWidth() const { return maximum.x - minimum.x; }
float getHeight() const { return maxi... | [
"powt81lsyu@gmail.com"
] | powt81lsyu@gmail.com |
843a915e7b2392909229323549fd4f76e7fefccb | fc359d513f40dc497442d7b54ec54ac54f7c4b41 | /src/Slider.cpp | dc4e7ee35c9fa42d2ce6ed4b2c5b47b4ad7fe76d | [
"Zlib"
] | permissive | truongascii/Wendy | 68722ba43272907f3f62004a0df40c8eca5293cd | 2ac9b6aaff607672058bd3914c612aaaf2d1ef8d | refs/heads/master | 2021-01-17T06:01:50.599040 | 2014-05-28T11:02:32 | 2014-05-28T11:02:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,335 | cpp | //////////////////////////////////////////////////////////////////////
// Wendy - a simple game engine
// Copyright (c) 2006 Camilla Berglund <elmindreda@elmindreda.org>
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any
// damages ar... | [
"elmindreda@elmindreda.org"
] | elmindreda@elmindreda.org |
ae87a251d721c48bb18450ace70056c86f17dc4d | 011de145c3da8984933ea353ddf379b2b74b0256 | /src/ntp.cpp | 1fd277a511bcc470a27e0962e1064fb1978358af | [
"MIT"
] | permissive | creath/asw | 1ad442697f53beec0370aa1bf34df851b2ad48e5 | 648f8f5e718425405f72ea6bf8564c74f1edc67f | refs/heads/master | 2021-01-11T07:13:54.429505 | 2016-10-04T00:50:40 | 2016-10-04T00:50:40 | 69,923,038 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,638 | cpp | #ifdef WIN32
#include <winsock2.h>
#else
#include <sys/socket.h>
#include <sys/time.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#endif
#ifndef WIN32
#include <unistd.h>
#endif
#include "netbase.h"
#include "net.h"
//#include "util.h"
#include "ui_interface.h"
extern int GetRandInt(int nMax);
... | [
"nevertry@famnote.com"
] | nevertry@famnote.com |
8cbaa3dd8caea8662abe7ba9a9a49426d359f0af | 14ba5f4ea909cbee9c7a9ca73dc217f91e81f357 | /Source/Weather/ActrPickupable.h | 98760f5b4d0d39ce40597819f1c7b779438e937d | [] | no_license | SaeedPrince/Weather | d0a57cbcf2890059eb429ec13a67e56375486b7f | 3ac4bfcfebfcf2fb1da8843e7100a827c82602c6 | refs/heads/main | 2023-08-16T22:39:31.680519 | 2021-09-18T05:42:15 | 2021-09-18T05:42:15 | 405,227,867 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 967 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
// Engine minimal requirement
#include "CoreMinimal.h"
// Base class
#include "Engine/StaticMeshActor.h"
// Internal Libraries
#include "Enums.h"
// Interfaces
#include "InterfacePickup.h"
// Generated
#include "ActrPickup... | [
"ssshoar@gmail.com"
] | ssshoar@gmail.com |
39edd3c67eeae5a05da6f1c30a60dd07e0e49da3 | cb416417e7dfba5456c8011029e615887f84aac0 | /findent/src/myparser.cpp | 7234fae121f74549648cbd91fd6433d67602cdd2 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | wvermin/findent | 03e5b5e07ae028066bc40acff22c42df35593db3 | 85c8225be6f526a47bc9ed6794a36ba7b522b90c | refs/heads/master | 2022-10-24T20:31:36.572250 | 2022-10-20T08:09:47 | 2022-10-20T08:09:47 | 32,862,152 | 39 | 7 | null | 2022-08-29T12:10:21 | 2015-03-25T12:09:10 | C++ | UTF-8 | C++ | false | false | 1,822 | cpp | /* -copyright-
#-# Copyright: 2015,2016,2017,2018,2019,2020,2021,2022 Willem Vermin wvermin@gmail.com
#-#
#-# License: BSD-3-Clause
#-# Redistribution and use in source and binary forms, with or without
#-# modification, are permitted provided that the following conditions
#-# are met:
#-# 1. Redistributions of so... | [
"wvermin@gmail.com"
] | wvermin@gmail.com |
e376d111d82d2d7763f73755b536cc1045d10b56 | 02ce34f6064d63266069a0d9f4e16b4086285a17 | /src/ui/Windows/OptionsBackup.h | c7775a9405c23647e3fdc0810160ac0d362427ff | [
"Artistic-2.0",
"MIT"
] | permissive | cantbewong/passwordsafe | f2567cfbebcfd11fdee6a46259d09a009e7e7e44 | 6645ffe5a9d4c28f33f73dc4af3425b32fc1d729 | refs/heads/master | 2021-01-19T07:01:41.195324 | 2016-07-27T16:23:38 | 2016-07-27T16:23:38 | 64,323,774 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,148 | h | /*
* Copyright (c) 2003-2016 Rony Shapiro <ronys@pwsafe.org>.
* All rights reserved. Use of the code is allowed under the
* Artistic License 2.0 terms, as specified in the LICENSE file
* distributed with this code, or available from
* http://www.opensource.org/licenses/artistic-license-2.0.php
*/
#pragma once
// Optio... | [
"steven.wong@emc.com"
] | steven.wong@emc.com |
ff94af31625cd80d5b1275acec06d317c2d94848 | 78e4efc63a3754c48d8a0698c54cba5c19ce5047 | /104371501_Assign7.cpp | df9d8610852f85ceced15c94b4475504ceccc8fa | [] | no_license | grejj/Digital-Computer-Architecture-Assignments | 569038d4cdef964b5f01fdb766e9ec25c0c11e1c | ca7eef0426369054ba96a4f0eecbd5e7b6afdcd0 | refs/heads/master | 2023-01-05T16:50:34.225259 | 2020-11-07T08:28:57 | 2020-11-07T08:28:57 | 284,611,247 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,134 | cpp | /* Digital Computer Architecture - ELEC4480 */
/* One-Level Cache */
/* CACHE
parameters:
1) tagbits (derived by subtracting first 3 parameters by 32)
2) rowbits (total bits used in address decoder of SRAM - 2^rowbits total rows, allowable values 1-12)
3) blockbits (number of words per tag i... | [
"grebej@uwindsor.ca"
] | grebej@uwindsor.ca |
550d1785d5be3ebc91ddc44870360664afffe7ce | 6b660cb96baa003de9e18e332b048c0f1fa67ab9 | /External/SDK/Title_HauntedShores_BanisherOfTheSpectralFlame_functions.cpp | cd4c81809244655a73fb9ae8c3c52dfac38b4eb7 | [] | no_license | zanzo420/zSoT-SDK | 1edbff62b3e12695ecf3969537a6d2631a0ff36f | 5e581eb0400061f6e5f93b3affd95001f62d4f7c | refs/heads/main | 2022-07-30T03:35:51.225374 | 2021-07-07T01:07:20 | 2021-07-07T01:07:20 | 383,634,601 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 598 | cpp | // Name: SoT, Version: 2.2.0.2
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//----------------------------------------------------... | [
"Massimo.linker@gmail.com"
] | Massimo.linker@gmail.com |
877a7591890f2433d1070a3414f4aac8364cf126 | 3bc1a2ee228b666c2dc03128dd199305d9dfe12f | /WeakLearners/HaarMultiStumpLearner.h | f146fc24e13861eb463026cda2663754f90f87af | [] | no_license | ShenWei/src | 024760655471b735684ae330cf3c72bd01b51bb8 | 4b9c678ab462104e34f9654cc9eb5296816d89f7 | refs/heads/master | 2020-05-20T00:35:32.533899 | 2011-04-04T14:34:06 | 2011-04-04T14:34:06 | 1,567,240 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,536 | h | /*
*
* MultiBoost - Multi-purpose boosting package
*
* Copyright (C) 2010 AppStat group
* Laboratoire de l'Accelerateur Lineaire
* Universite Paris-Sud, 11, CNRS
*
* This file is part of the MultiBoost library
*
* This library is free software; you can redis... | [
"jxshenwei1989@gmail.com"
] | jxshenwei1989@gmail.com |
0fce1f7e716682527d7e9836e81ca58b6d267ebe | 802513265c185e7e3383a490f0abd747b9d9ba04 | /SimpliciTI-IAR-1.2.0-Prometeo/Components/bsp/ecpp/xmemory | 3204d52c5b1f2577358c1ce5ba7a7816e70ea7b3 | [] | no_license | jvelascore/ppppgggggnnnnn | ab6e266c995374672bc70cb5bdcc00fa56c8864f | dc07d4ebbb2dfe252e36ce8cd5aa28bbefe8b6f7 | refs/heads/master | 2021-01-12T08:43:33.057473 | 2016-12-16T18:07:22 | 2016-12-16T18:07:22 | 76,677,037 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,393 | // xmemory internal header (from <memory>) -*-c++-*-
// Copyright 2003-2010 IAR Systems AB.
#ifndef _XMEMORY_
#define _XMEMORY_
#ifndef _SYSTEM_BUILD
#pragma system_include
#endif
#include <cstdlib>
#include <new>
#include <xutility>
#include <iutility>
#define _CPOINTER_X(T, A) \
typename A::... | [
"cbjjuanve@gmail.com"
] | cbjjuanve@gmail.com | |
ff6da92fa9923a9476631cb37279619f4ac023c3 | 16a9d39bac3f28266e410fed488e4998af8c7dc3 | /src/gallium/drivers/d3d12/d3d12_resource_state.cpp | 45a01a717f5a42a719bdbcf6be7eadbff8ff5e66 | [] | no_license | maurossi/mesa | d5b310d1f43071028c9d09a02bfeb57504a5b281 | b10df64ea1ff051768f367e321b4a3368de89397 | refs/heads/23.1.0_branch | 2023-08-09T07:08:26.937295 | 2023-01-13T20:04:10 | 2023-04-15T15:49:03 | 24,792,766 | 20 | 21 | null | 2023-04-15T18:44:41 | 2014-10-04T15:09:04 | C | UTF-8 | C++ | false | false | 23,864 | cpp | /*
* Copyright © Microsoft Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publ... | [
"emma+marge@anholt.net"
] | emma+marge@anholt.net |
4334514c55fba858f31e16d7c59129860c581aa6 | 204c5937cdea475f5c3dafde6d770a74ae9b8919 | /ACM contest/2013regional/Nanjing/A.cpp | 9650d5960f7a8b1ce9c555370cbc8ceb1e8d19ac | [] | no_license | mlz000/Algorithms | ad2c35e4441bcbdad61203489888b83627024b7e | 495eb701d4ec6b317816786ad5b38681fbea1001 | refs/heads/master | 2023-01-04T03:50:02.673937 | 2023-01-02T22:46:20 | 2023-01-02T22:46:20 | 101,135,823 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 783 | cpp | #include<cstdio>
#include<iostream>
#include<algorithm>
#include<cstring>
using namespace std;
int main(){
int n;
while(scanf("%d",&n)!=EOF){
double ans=0.0;
int tot=0;
while(n--){
int x;
char s[5];
memset(s,0,sizeof(s));
scanf("%d %s",&x,s);
if(s[0]=='P' || s[0]=='N') continue;
else if(s[0]==... | [
"njumlz@gmail.com"
] | njumlz@gmail.com |
8274f710c13f6f29c7cbdb6592a41de89c092976 | 0345f0058ba2294fa29a886194df79d4f0c9c894 | /p5/my_promise.h | 3f07e6008d83aa1e536c89c10ff0b617bf67321d | [] | no_license | atomek88/cpp-metaprogramming | 0d90e28a4590c6ff0bc7b150d2296db36df832a8 | 8bd149ad0fd12510bfd9b0a234a963b24072c464 | refs/heads/master | 2020-04-14T14:14:32.346915 | 2019-01-09T18:06:29 | 2019-01-09T18:06:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,181 | h | #ifndef MY_PROMISE_H
# define MY_PROMISE_H
#include<memory>
#include<thread>
#include<mutex>
#include<condition_variable>
#include<exception>
#include<stdexcept>
using std::shared_ptr;
using std::unique_ptr;
using std::make_shared;
using std::make_unique;
using std::move;
using std::mutex;
using std::con... | [
"michalik@cs.uchicago.edu"
] | michalik@cs.uchicago.edu |
f684778d11f3eb91669830c106d983a634635296 | d301049a0398ee2ff71a85d5e0ff3ef51afcd26f | /src/decompiler/SDA/Optimizaton/SdaGraphFinalOptimization.h | 376d0d1f030ba875b236bb499131e13f37e977ba | [
"Apache-2.0"
] | permissive | Fleynaro/SDA | 08a53ae434e31d46e97fab5de4f4a3325cdc80bb | d4b977e9522f09da38847a8e95b7f471e3a30f14 | refs/heads/master | 2023-08-30T14:34:38.655997 | 2022-10-06T16:22:58 | 2022-10-06T16:22:58 | 233,063,028 | 114 | 11 | null | null | null | null | UTF-8 | C++ | false | false | 155 | h | #pragma once
#include "../SdaCodeGraph.h"
namespace CE::Decompiler::Optimization
{
extern void MakeFinalGraphOptimization(SdaCodeGraph* sdaCodeGraph);
}; | [
"dariusjohnson555@gmail.com"
] | dariusjohnson555@gmail.com |
131a416ec173463a49bdedd0bc31842240886d58 | 51835b8233eccfb53cffe96c071fc6fcf3d84f9b | /lib/consolestreambuf.h | c07c8554ae4c273f8e49a87eb8ad34f78794039b | [
"MIT"
] | permissive | GoldbergData/newWorldSimulation | eda3dc31df52c15ff19c3cb78a0001f1ac0bd6c3 | 9534592ac2c9f5909bd0aba126fa678a40cf0408 | refs/heads/main | 2023-05-15T02:14:00.805514 | 2021-06-18T02:46:05 | 2021-06-18T02:46:05 | 373,677,715 | 0 | 0 | MIT | 2021-06-09T03:14:35 | 2021-06-04T00:32:16 | C++ | UTF-8 | C++ | false | false | 3,732 | h | /*
* File: consolestreambuf.h
* ------------------------
* This file defines the <code>ConsoleStreambuf</code> class, which
* represents a stream buffer that reads/writes to the graphical console
* using a process pipe to a Java back-end process.
*
* @version 2021/04/03
* - removed dependency on error function
... | [
"jvn1567@gmail.com"
] | jvn1567@gmail.com |
6c50b3719fe799898c63ab2e682c6bd122822119 | d72b8ae3864eabc8b55843a5bc9cdbbb0940d1f0 | /C++/Assignment3/MyTemplates.h | 2d31b5f1e696e3aca269b193380bde75bb35d647 | [] | no_license | shafrosl/School-Work | 3ead0183a3b875ae246b9f747f8e9560e64dd9d5 | 28323be86b82234e334b0ecf7dc695ab1254f87a | refs/heads/master | 2022-12-17T17:09:45.178570 | 2020-09-15T09:22:02 | 2020-09-15T09:22:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 452 | h | #ifndef MYTEMPLATES_H
#define MYTEMPLATES_H
#include <cmath>
#include <math.h>
#include "MyTemplates.h"
#include "Point2D.h"
#include "Point3D.h"
#include "Line2D.h"
#include "Line3D.h"
template <class T>
double scalar_difference(T i, T j) {
double diff = i.getScalarValue() - j.getScalarValue();
return std::abs... | [
"58117391+xshafqx@users.noreply.github.com"
] | 58117391+xshafqx@users.noreply.github.com |
21be9da2c513e60278e3ab3e0249939aaad4d291 | 07fdd20c3a29ff8d3c9655d4d6f3bcfe313e7e67 | /C++ (Project 4)/PaintingApplication.cpp | 99527a5cc38531af0e6593e95903cd474eb6466e | [] | no_license | ashwath26/OOLE | 319c2047a2a55721701d7bbc3aae16937fae4623 | a154ba01b09345ad37ad0fe407dbed10d0e3cf17 | refs/heads/master | 2021-01-19T15:01:10.898879 | 2013-06-06T02:54:26 | 2013-06-06T02:54:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,092 | cpp | #include<iostream>
#include<string.h>
#include<cstdlib>
#include<stdio.h>
#include<string.h>
#include<typeinfo>
#include<vector>
using namespace std;
/****************************************************************
Class Name: String.h
Project Name: Painting Manager
Developer: Ashwath Narayanan
Function: Class head... | [
"ashwath26@yahoo.com"
] | ashwath26@yahoo.com |
bec746e0f986510b35f9bf341bc380160ee81db3 | 12840d008d17df59a37997691774fa87e5f227be | /zhongzihao-personal/codeforces/504/C.cpp | 721b6eb72751020b2b2333482f71940b9f441253 | [] | no_license | clatisus/ACM-ICPC-Team-Archive | 4b6c3d2dfb300f928f4f201ae156bde5f871a734 | 7410ddfa81de8750668d8ac2c334987b5af7e613 | refs/heads/master | 2022-07-21T13:03:22.768792 | 2020-01-04T11:30:43 | 2020-01-04T11:30:43 | 136,951,655 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 619 | cpp | #include<bits/stdc++.h>
const int N = 200010;
char s[N];
char ans[N];
int main(){
int n, k;
scanf("%d%d%s", &n, &k, s);
std::stack <int> stack;
for (int i = 0; i < n; ++ i){
if (s[i] == '('){
stack.push(i);
}
else{
if (k == n){
ans[stack... | [
"642524394@qq.com"
] | 642524394@qq.com |
09ee8e5a73f8359892a348d5223e6663992f1cdf | a1a45db9ed134556967518758f4a4e5e197e8e88 | /src/segment_display.cpp | 8df18c083af509c82dcd2bd3ed2a85bd40e859ac | [] | no_license | saraansh1999/flight_sim_opengl | 611a5684ac78b86bf51938045608afa335616664 | 00c903a3ff0a52693ed51686b6e206c75d1d96c1 | refs/heads/master | 2021-07-08T11:00:12.781411 | 2020-08-03T19:21:01 | 2020-08-03T19:21:01 | 168,755,118 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,610 | cpp | #include "segment_display.h"
#include "main.h"
int numbers[][7] = {
1, 1, 1, 1, 1, 1, 0,
0, 1, 1, 0, 0, 0, 0,
1, 1, 0, 1, 1, 0, 1,
1, 1, 1, 1, 0, 0, 1,
0, 1, 1, 0, 0, 1, 1,
1, 0, 1, 1, 0, 1, 1,
0, 0, 1, 1, 1, 1, 1,
1, 1, 1, 0, 0, 0, 0,
1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 0, 0, 1, 1,... | [
"saraanshtandon1999@gmail.com"
] | saraanshtandon1999@gmail.com |
226673bf05d7a1ce559e9e93dde4e4ccebe859ca | bb7d8e8164562405ef1c6cebbbe30cfa8861deca | /src/rpcmining.cpp | 7fdec1d4051af8e5d20761d4a8ccbd8990393a74 | [
"MIT"
] | permissive | creath/bac | c1e9c2dba125d14bc726f86f9e12d5fe232cc25a | 10a2b51a17630f1355d98bc202c71e088365da1f | refs/heads/master | 2021-01-01T05:11:02.327485 | 2016-05-01T09:06:36 | 2016-05-01T09:06:36 | 57,591,854 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 21,164 | cpp | // Copyright (c) 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 "main.h"
#include "db.h"
#include "init.h"
#include "bitcoinrpc.h"
using name... | [
"root@pool.appaas.com"
] | root@pool.appaas.com |
dce0db190365b014fd96f5235518499fc7530296 | 204fe2db1ac489d8a9ecbfc9d34548234bc57c37 | /Roguelike/Roguelike/TileSet.h | 30d768a0d8517de9c622649b755e74e8e5fd6d99 | [] | no_license | aemooooon/Roguelike-in-C-plus-plus--CLI | 49fb0e2acb38e08e8b74215baf2384fb383d5c35 | 09fb0d2a6c54a541b0ebfe25066c6cf789783b4f | refs/heads/master | 2022-02-20T02:27:24.205375 | 2019-10-17T07:28:34 | 2019-10-17T07:28:34 | 215,728,884 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 320 | h | #pragma once
#include "Tile.h"
// holds a collection fo tiles to 2 D array
ref class TileSet
{
private:
array<Tile^>^ tileArray;
int nTiles;
public:
TileSet(int startNTiles);
Bitmap^ GetTileBitmap(int tileIndex);
void SetTileArrayEntry(int tileIndex, Tile^ tileToEnter);
bool IsTileWalkable(int tileIndex);
};
| [
"wangh21@student.op.ac.nz"
] | wangh21@student.op.ac.nz |
eaef47c4a3fef305a708108cd40ffc648ce3f58d | 2b339f8173cbf4d2899065fec4100936c09ac39c | /AulaTSP/tspinstance.h | dae3a1ad5e0d35ed1495be99302ab8b03a4ee691 | [] | no_license | matheusota/TSPExample | d81450a78d4cebd21a08aa3f2124b18ba36b9100 | e011ca8d22c5d57713deddad4077f631eb2f3ae4 | refs/heads/master | 2022-03-01T05:07:59.192165 | 2019-10-16T00:13:37 | 2019-10-16T00:13:37 | 215,413,641 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 350 | h | #ifndef TSPINSTANCE_H
#define TSPINSTANCE_H
#include "mygraphlib.h"
class TSPInstance
{
public:
TSPInstance(Graph &g, NodePosMap &posx, NodePosMap &posy, EdgeValueMap &weight, int n, int m);
int n, m;
Graph &g;
NodePosMap &posx;
NodePosMap &posy;
EdgeValueMap &weight... | [
"matheusota@gmail.com"
] | matheusota@gmail.com |
88efebc5c2d3ba20f402999e0bfb684e41dda3d5 | 8eb43fe64862a56ce740d4d50d30f57bd9c1d650 | /RoadLine.h | 519f9333bed073b392dd07e0c46fab0c66805077 | [
"MIT"
] | permissive | Teeuwis10/SIMULATION | 769d1bfea0bacaf9831d7554bd37166060816280 | 59e99e4cbf9da8db7e24189519237262c9bb032d | refs/heads/master | 2020-03-26T03:43:39.939001 | 2018-10-14T18:29:27 | 2018-10-14T18:29:27 | 144,465,981 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 351 | h | #pragma once
#include "RoadEvent.h"
#include <vector>
#include <iostream>
#include "ConsolColor.h"
class RoadLine
{
public:
std::vector<RoadEvent> Event;
std::string roadName;
std::string lineName;
RoadLine(std::string roadName,std::string roadline, std::vector<RoadEvent>& Event);
void RoadLinePrint(ConsolColor... | [
"raven084@gmail.com"
] | raven084@gmail.com |
162d9e6a610cdfd26ce9fce7f85e8bb716b81e4e | 63520de5535e30483e8c88b8f8f81605de8c903b | /include/bit/core/utilities/detail/compiler_traits/platform/win32.hpp | 3c8875ddf52c51e9b999c6f5f0a8bb1fa0cffaa8 | [
"LicenseRef-scancode-free-unknown",
"MIT"
] | permissive | cppbits/Core | 84274aebdde46ae887bf44514ad0b7a593f3a8d8 | dd4cf4b723835802762b3915cb86c1401481148c | refs/heads/develop | 2020-03-27T11:18:33.316804 | 2018-11-22T23:22:14 | 2018-11-22T23:22:14 | 146,478,161 | 5 | 1 | MIT | 2018-10-20T04:58:15 | 2018-08-28T16:48:31 | C++ | UTF-8 | C++ | false | false | 3,482 | hpp | /*****************************************************************************
* \file
* \brief This header detects features for Windows platforms
*
* \note This is an internal header file, included by other library headers.
* Do not attempt to use it directly.
**********************************************... | [
"42778669+cppbits@users.noreply.github.com"
] | 42778669+cppbits@users.noreply.github.com |
895bad6605378487b321d415b7aa7c50e9a64011 | d5e34915a9336e6cfbb430f43d17cd879476a44c | /opengl/master_template.cpp | 0b414bbabb519a7e6ca3212c9f408d6635ae4188 | [] | no_license | AntonHub00/GraphingClass | 00eec7ca01aa7f3d35e2291c6b2851b1c8468f9a | 007d93772b8ac8ff667f08fbef461f7b3d75a886 | refs/heads/master | 2023-05-08T13:55:31.011569 | 2018-12-14T21:08:07 | 2018-12-14T21:08:07 | 372,347,352 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,376 | cpp | #include <GL/glut.h>
#include <iostream>
#include <math.h>
double angle = 0.0;
double pos_x = 0.0, pos_y = 0.0;
double distance = 0.0;
void init()
{
//The line below defines the "background" color
glClearColor(1, 1, 1, 1);
glPointSize(10);
glLineWidth(1);
glColor3f(1.0, 0,0);
glOrtho(700, 0, 7... | [
"antonhub00@gmail.com"
] | antonhub00@gmail.com |
476529cf5bf83a724bd31c3fbc7127109014d26e | ff9319791953ca22d3df9c96f3e4deb4f7ab3f89 | /pd/simplebutton.h | f64e5a95e2bc54575afa5a5f03e31a40940e890b | [] | no_license | zhuzhonghua/sdl_gameclient | 54a656a8bbba9aff7c95d1a998e29abc7abb61d0 | 61add2ff4150e38dca6dab40f13c2430bc1b5a2f | refs/heads/master | 2021-01-15T15:50:26.552040 | 2019-11-19T08:50:48 | 2019-11-19T08:50:48 | 53,302,090 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 564 | h | #pragma once
#include "component.h"
#include "toucharea.h"
class Image;
class SimpleButton :public Component{
private:
class TouchAreaNew :public TouchArea{
public:
SimpleButton* sb;
TouchAreaNew(SimpleButton* sbp, Image* img);
protected:
virtual void onTouchDown(TouchScreen::Touch* touch);
virtual void o... | [
"zhu.zhonghua@yahoo.com"
] | zhu.zhonghua@yahoo.com |
d0b6da61615620ebd3e095eeec85ed83b40b387f | a13ee6041bbd64493901664a5a835ad8ca00e278 | /Difficulty/Easy/26-RemoveDuplicatesFromSortedArray.cc | baf06ce452b5c5ff237a273c5616e52928b9a92c | [] | no_license | sundongxu/LeetCode | a191f428a18af6ecbecc970577f093b97b5d9df5 | 40108e0576f2c1d38f3720decb6474a3fa7d3799 | refs/heads/master | 2021-04-15T14:43:52.594130 | 2019-04-18T09:19:30 | 2019-04-18T09:19:30 | 126,458,103 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,347 | cc | // 涨知识的sync_with_stdio! 提升效率惊人!
static int x = []() {
// toggle off cout & cin, instead, use printf & scanf
std::ios::sync_with_stdio(false); // 禁用cin和cout的缓冲机制
// untie cin & cout
cin.tie(NULL); // 解除cin与cout的绑定
return 0;
}();
class Solution
{
public:
int removeDuplicates(vector<int> &nums)
... | [
"371211947@qq.com"
] | 371211947@qq.com |
5dd470f971a04c172f5ebdd0cde3b24ef7ea06b1 | 62b4cb192f41733b1bfef960441490c849d837d3 | /week_10/09_more_on_cpp_files/09_more_on_cpp_files/virtual_functions/virtual_3/Project1/BaseClass.cpp | 2cfdda338624d895afe1d6ebb9ea2380155629a7 | [] | no_license | tngo0508/Cplusplus2 | 414999ce01713a421f9606c39ee82c71d61449a3 | f9af90a14e1521c25a76729194b55adbbfca2c0b | refs/heads/master | 2021-09-20T17:06:00.527422 | 2018-08-12T22:01:42 | 2018-08-12T22:01:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 274 | cpp | #include "BaseClass.h"
BaseClass::BaseClass()
{
baseVar = "baseVar N/A";
}
BaseClass::BaseClass(const string& newBaseVar)
{
baseVar = newBaseVar;
}
void BaseClass::print() const
{
cout << " " << baseVar << endl;
}
BaseClass::~BaseClass()
{
}
| [
"tngo0508@gmail.com"
] | tngo0508@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.