blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bf1ca1661af0b86125de93decc39984daad45019 | c008f88941235837dbf809d39113911b54934fbe | /sample/android/sample/haxe/bin/src/haxe/FastList.cpp | fdc13af6b253e8de03c5c7ea4c7c123fabb19012 | [
"MIT"
] | permissive | proletariatgames/nmexpro | fb90b6c6465c57f5e8b0987deafdd2effc3dd8ce | 1f322c4e126543b30db20fc90d99202b1cac5c94 | refs/heads/master | 2022-05-04T02:05:12.648496 | 2022-03-24T17:31:09 | 2022-03-24T17:31:09 | 8,226,048 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 6,022 | cpp | #include <hxcpp.h>
#ifndef INCLUDED_haxe_FastCell
#include <haxe/FastCell.h>
#endif
#ifndef INCLUDED_haxe_FastList
#include <haxe/FastList.h>
#endif
#ifndef INCLUDED_haxe_FastListIterator
#include <haxe/FastListIterator.h>
#endif
namespace haxe{
Void FastList_obj::__construct()
{
{
}
;
return null();
}
FastList_obj... | [
"danogles@gmail.com"
] | danogles@gmail.com |
17d880ddecf1a3c20db6fc46faf2c7f27295daf7 | 6a0618397e6c2b246f6488c6b7f623f59073eeac | /2018/cpp/common/Vec3.h | a9b426e3b35c2b84ba849e61be64913fa1a6f057 | [] | no_license | RobJenks/advent-of-code | 439be5857f389915337dc2c8a41f51bfdca08ccb | f2e6f1a6bd5a1865b633f7bd80e24bd47413838b | refs/heads/master | 2022-11-03T23:33:25.809251 | 2022-10-17T22:55:38 | 2022-10-17T22:55:38 | 161,391,858 | 0 | 0 | null | 2022-10-17T22:55:39 | 2018-12-11T20:48:02 | C++ | UTF-8 | C++ | false | false | 2,598 | h | #pragma once
#include <string>
#include <sstream>
#include <algorithm>
template <typename T>
class Vec3
{
public:
T x, y, z;
inline Vec3() : x(static_cast<T>(0)), y(static_cast<T>(0)), z(static_cast<T>(0)) { }
inline Vec3(T _xyz) : x(_xyz), y(_xyz), z(_xyz) { }
inline Vec3(T _x, T _y,... | [
"robjenks@gmail.com"
] | robjenks@gmail.com |
8a044991ad860743434e966470d88694fe6b82e4 | c5fb6d1f24bd75f5e35d267739ea8f7cdcd4e26c | /linked_list/detect_cycle_in_list.cpp | 9237e7d31ba8b9e7940ba0105c9c1610fe354429 | [] | no_license | ankishb/Algorithm-DS-Problems | 48c48be61d0c96365b7bbc97ec6f4f2de998eb2b | 76487e72b86d0038cc996e2ac416cc0673d1f6d6 | refs/heads/master | 2020-06-30T08:19:29.129966 | 2020-01-12T17:12:49 | 2020-01-12T17:12:49 | 200,775,653 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,304 | cpp |
// new try
ListNode* Solution::detectCycle(ListNode* head) {
if(head == NULL || head->next == NULL) return NULL;
ListNode* slow = head;
bool loop = false;
ListNode* fast = head;
while(slow != NULL && fast != NULL && fast->next != NULL){
slow = slow->next;
fast = fast->next-... | [
"bansal.ankish1@gmail.com"
] | bansal.ankish1@gmail.com |
fde764b07d82dae09df6cad59ee4840581289bf3 | beac17670a7f2f7fd310b684ceed26c472d25d24 | /Modele/etat.cpp | 2ab6e77229ddda1d660a7c9d0a00982b9e81c22d | [] | no_license | pierreLmty/rummikub | 8fe9ba99381a295c1ea612a75dbb3f7ed552e5b4 | bf8dd2817a0910a0a2a14a49939929e8bb854478 | refs/heads/master | 2021-01-10T06:17:57.681651 | 2016-01-07T11:39:58 | 2016-01-07T11:39:58 | 43,297,314 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 989 | cpp | /**
* \file etat.cpp
* \author Lemétayer Pierre - Maël Quémard
* \version 1.0
* \date 16 Novembre 2015
* \brief Classe abstraite qui définit les différents états du plateau
*/
#include "Modele/etat.h"
using namespace std;
etat::etat(){}
/**
* \fn void enAttente()
* \brief Le plateau attend que le joueur entre une s... | [
"mael.quemard@hotmail.fr"
] | mael.quemard@hotmail.fr |
8a1dde5cf6de280873cfdca4fcbb187120467837 | 77bb043f240830cc187bd6c50c76b9f8518cccac | /CTest11-1MFC数据库/CTest11-1MFC数据库/CTest11-1MFC数据库View.h | 6e85352ce2f00d7d611a1748f4811feac4137495 | [] | no_license | zhanghuanjian/VCTest | 11c7dee6772d8e51cb55596f92d30198529f086e | 0257884950bb9fe4e64c7ec8a35a511477b2cb0d | refs/heads/master | 2022-10-15T23:26:27.080896 | 2020-06-15T09:54:23 | 2020-06-15T09:54:23 | 269,604,649 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,322 | h |
// CTest11-1MFC数据库View.h : CCTest111MFC数据库View 类的接口
//
#pragma once
class CCTest111MFC数据库Set;
class CCTest111MFC数据库View : public CRecordView
{
protected: // 仅从序列化创建
CCTest111MFC数据库View();
DECLARE_DYNCREATE(CCTest111MFC数据库View)
public:
#ifdef AFX_DESIGN_TIME
enum{ IDD = IDD_CTEST111MFC_FORM };
#endif
CCTest111M... | [
"2027663096@qq.com"
] | 2027663096@qq.com |
d2b24ef245250ed712ec4a67a0bc0ff759646c20 | f5a762ed3e634c0f1035d19ffac0e917c370d88f | /CppPrimerPlus/Chapter9/sales.hpp | 32ff995772707d06bed946d574af9dcb4ea0efa4 | [] | no_license | Froler27/cpp | 99a2b3894d6d86dbae01cc83168b549301b81341 | 1222515d3f68db828bf27d4c8cb4605b66a959e7 | refs/heads/master | 2020-12-04T00:27:57.259277 | 2020-02-20T09:53:15 | 2020-02-20T09:53:15 | 231,537,959 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 346 | hpp | #ifndef SALES_HPP_
#define SALES_HPP_
namespace SALES
{
const int QUARTERS = 4;
struct Sales
{
double sales[QUARTERS];
double average;
double max;
double min;
};
void setSales(Sales & a, const double ar[], int n);
void setSales(Sales & s);
void showSales(c... | [
"wqpyihu@163.com"
] | wqpyihu@163.com |
1066766244a7aa6536f21965ef5f4b52076b327b | 69e2e5fb5220d3311b9d1e4c2bb2f6c1722a156a | /altona_wz4/wz4/wz4frlib/wz4_cubemap.hpp | d4bbb274d890c7d70c0060d28d6eab00125db64d | [
"BSD-3-Clause",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | kebby/fr_public | c2acb4787472c5e039805a084894a7858dd6d19a | 2bb82d30bf9d10cf2a94b445710942ac9f065391 | refs/heads/master | 2021-01-16T00:36:57.267206 | 2012-08-16T03:36:05 | 2012-08-16T03:36:05 | 4,026,092 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,028 | hpp | /*+**************************************************************************/
/*** ***/
/*** Copyright (C) by Dierk Ohlerich ***/
/*** all rights reserverd ***/
/***... | [
"kb@kebby.org"
] | kb@kebby.org |
7f05d26f0e51fd56eaddcf603e1b299705a1ec62 | 7061b3bb814d730aa3aeb2d4c234cd790833c967 | /src/Scene.cpp | 1c7deb9eaa32add53d81df51be80ad3782d003bb | [] | no_license | BenjaminMacalister/OpenGlProject | 418529d9145c6ce5bf8e29bcbc9daefa6e7e02d3 | 5756c63b75f5de158b1e47b1e90d223abfb58ed6 | refs/heads/master | 2020-05-29T21:30:01.275637 | 2015-04-16T02:04:22 | 2015-04-16T02:04:22 | 30,327,177 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,398 | cpp | #include "Scene.h"
#include "gl_core_4_4.h"
#include "GLFW/glfw3.h"
#include "Gizmos.h"
AABB::AABB()
{
reset();
}
AABB::~AABB()
{
}
void AABB::reset()
{
min.x = min.y = min.z = 1e37f;
max.x = max.y = max.z = -1e37f;
}
void AABB::fit(const std::vector<vec3>& points)
{
for (auto& p : points)
{
if (p.x < min.y)... | [
"benjaminmacalister@gmail.com"
] | benjaminmacalister@gmail.com |
3c52c4e3c2dabbb4c6363cb6f5703186ccce72b9 | 850d7e0f41dfcd54f1ee92c846cec591f95b1379 | /src/HelperFunctions.h | d3ef633e9dd8764f10eb099fabc173bd24bef3f5 | [
"BSD-3-Clause"
] | permissive | t-b/ZeroMQ-XOP | 8b5ec6a94a5b0d9f413c7e91b993cd54771fe8bd | f852a96d529da2fe61a0ec88c1e64429a15aca88 | refs/heads/master | 2021-07-14T05:44:58.536178 | 2017-07-05T18:59:32 | 2017-07-05T19:11:53 | 99,871,081 | 1 | 0 | null | 2017-08-10T02:13:57 | 2017-08-10T02:13:56 | null | UTF-8 | C++ | false | false | 3,563 | h | #pragma once
#include <sstream>
#include <iomanip>
// This file is part of the `ZeroMQ-XOP` project and licensed under BSD-3-Clause.
/// @brief Converts a double value to a specified integer type.
///
/// Returns an error if:
/// - The value is NaN of +/- inf
/// - The value lies outside the range of the integer rep... | [
"thomas.braun@byte-physics.de"
] | thomas.braun@byte-physics.de |
1921e4c0eb73a3c2b3658534b6d0f38210e16dc3 | 1e53e199cf45fd9daa92fbf23099f875b75dce0e | /Source/LightPainter/Stroke.h | e70b610a54bce77b4ec047a5208e467bdb6bf773 | [] | no_license | Dylankliment/VRPainterThing | 188aa76a7f9b5893e9147edcc54f6963e1a5ef51 | 19f6972f30a8e6e9ae9ead249ff4f90d10377c27 | refs/heads/master | 2020-03-25T18:48:11.239890 | 2018-08-19T02:36:38 | 2018-08-19T02:36:38 | 144,049,119 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,241 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "Components/InstancedStaticMeshComponent.h"
#include "Saving/PainterSaveGame.h"
#include "Stroke.generated.h"
UCLASS()
class LIGHTPAINTER_API AStroke : publ... | [
"dylankliment@gmail.com"
] | dylankliment@gmail.com |
5336589e1b11059c3e778bd1b89bc420f0af1968 | bd4191fc8a278f4290bc84facf8e9d9b73c51601 | /stl/ofstream.cc | c4e69855c9faa4b6341bd17fe1852c5c27b3d9ed | [] | no_license | mstupakov/cxx_sandbox | a95fe8a32358cbffb0bd3965c9b8b9a4112264b0 | abfaf764d5ca8e83e0e05bd3eac11898e0824aed | refs/heads/master | 2020-05-19T14:02:56.120303 | 2017-12-05T16:44:08 | 2017-12-05T16:44:08 | 67,273,682 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,473 | cc | // This file is part of the uSTL library, an STL implementation.
//
// Copyright (c) 2005 by Mike Sharov <msharov@users.sourceforge.net>
// This file is free software, distributed under the MIT License.
#include "ofstream.h"
#include "ustring.h"
#include "uexception.h"
#include <unistd.h>
#include <errno.h>
#include <... | [
"maksym.stupakov@gmail.com"
] | maksym.stupakov@gmail.com |
05701089c24b623d63d6fa2bd9717f2967c93775 | a75d0418b2143d6f59635a8833bff49bc903df5e | /DofusTypes/GameFightFighterNamedInformations.cpp | 6b23144c3554e6621fabd996d61057f10813eeb8 | [] | no_license | Arkwell9112/dofus_bot | 30b80850ba41b6a2b562705ec8aa1a6c87cfb8f8 | fc1b805b70c0ed43cbc585322806ece89d057585 | refs/heads/master | 2023-01-16T01:08:06.710649 | 2020-11-23T20:53:00 | 2020-11-23T20:53:00 | 314,084,045 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 954 | cpp | #include "GameFightFighterNamedInformations.h"
#include "GameFightFighterInformations.h"
#include "../BotCoreAPI/BotCoreAPI.h"
void GameFightFighterNamedInformations::deserialize(CustomDataInput *input) {
GameFightFighterInformations::deserialize(input);
this->_nameFunc(input);
this->status.deserialize(inp... | [
"arkwell9112@github.com"
] | arkwell9112@github.com |
9c44bde25016da125bf51d9295b98d3eaa7b47db | f3077f11c0f79a543f9ea5d03b1186ed4860348b | /main.cpp | d2a608c9e8c4f5a19ccd9e2d3eb49d94a118eae6 | [] | no_license | qnope/Little-Preprocessor-Library | 6b5ebb7f79047d56f12ff1ab0d68ca34f009f9b8 | 7324ec09be96eab862fff403070295ab7333763b | refs/heads/master | 2020-04-10T13:36:21.235204 | 2019-07-06T13:37:53 | 2019-07-06T13:37:53 | 161,055,338 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,901 | cpp | #include "lpl/lpl.h"
#include <cassert>
#include <iostream>
#include <string_view>
#define WRITE(id) id LPL_DEFER(WRITE_I)()(id)
#define WRITE_I() WRITE
#define A() 125
int main() {
static_assert(LPL_DEC(8) == 7);
static_assert(LPL_INC(5) == 6);
static_assert(LPL_CHECK(LPL_PROBE) == 1);
static_assert(LPL_CH... | [
"antoine.morrier@gmail.com"
] | antoine.morrier@gmail.com |
c99b12497b1561378bb8314dc4d98a6880644a17 | e8de3e02928fcdbb1af0ef597fa559a031c5d561 | /MatrixGame/0HighScore.ino | 3c93b4f2e775da3541bc071e82f1957a7c4feebf | [] | no_license | Treefold/FMI-Robotics | 90e654caafb1e8e37ebc07f18adfad8e6ef3ccf9 | 897eea8deb09d8d038e3fdaa9ed1f79afeb448a1 | refs/heads/master | 2020-08-27T12:23:22.931822 | 2020-02-25T23:40:42 | 2020-02-25T23:40:42 | 217,366,624 | 0 | 0 | null | 2020-02-21T20:34:40 | 2019-10-24T18:25:41 | C++ | UTF-8 | C++ | false | false | 2,182 | ino | // Highscore HS *DO NOT RENAME FILE*
#include <EEPROM.h>
#define NAME_LEN (uint8_t) 8 // (bytes)
#define HS_TYPE uint16_t
#define HS_LEN (uint8_t) 2 // (bytes)
#define HS_NO (uint8_t) 3 // number of saved highscores
const uint8_t hs_resetPin = 3;
HS_TYPE HS_Read (uint8_t no) {
HS_TYPE score ... | [
"noreply@github.com"
] | noreply@github.com |
fd2a35d950b3d4d2b852531bf7efb61bd50429d9 | d46dcb0f493db5dbc677038d364b980ed1c4dfd2 | /BeginningAlgorithmContests/bookscodes/ch5/5-1-4.cpp | 7d9a29263d0348b5afa27e5435c354ef3b155459 | [] | no_license | timtingwei/aoapc-book | 51c1fd6a41fafa3ffaf193e8e393d16a412051e1 | c5387b4796e88492e5e5f619f3becf4ce72c7cd0 | refs/heads/master | 2020-03-22T00:46:34.165160 | 2018-09-15T15:49:16 | 2018-09-15T15:49:16 | 139,264,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 799 | cpp | // copyright [2018] <mituh>
// 5-1-4 结构体struct
// 添加成员函数, 构造函数, 重载运算符
#include <cstdio>
#include <iostream>
using namespace std;
// C实现一个Point结构体
struct Point_c {
int x, y;
};
// C++实现Point结构体, 使其可以相加, io输出
struct Point {
int x, y;
// Point(int a, int b) : x(a), y(b) {}
Point(int a, int b) {this->x = a; this-... | [
"timtingwei@hotmail.com"
] | timtingwei@hotmail.com |
75ace759347e0067c090f16b843919df02c089d8 | 029466376e0dd82186c3e4683341d910a0dca556 | /Shaders/Background.cpp | a4f174e5d28bc64d4954ff7f7433246d38d5b254 | [] | no_license | shtuk41/DefectsViewer | 9f0c5b3184d422bd7c8d32ddabd54df2d966de27 | dd6dfb7b12231fae0df34d436cac4fc1968d1fbf | refs/heads/master | 2020-06-28T23:10:22.550251 | 2019-08-03T11:11:23 | 2019-08-03T11:11:23 | 200,366,272 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,496 | cpp | #include "GraphObjects.h"
#include "shaders.h"
#include "TextureOpenIL.h"
#include "optionsreader.h"
Background::Background()
{
shVertex.LoadShader("shader.vert", GL_VERTEX_SHADER);
shFragment.LoadShader("shader.frag", GL_FRAGMENT_SHADER);
spMain.CreateProgram();
spMain.AddShaderToProgram(&shVertex);
spMain.AddS... | [
"shtuk41@hotmail.com"
] | shtuk41@hotmail.com |
7e4b5c60d7b66c88e193eb8c506cf89e934084e5 | fd5ff60a60d5d019d9569bdc52ca275def01635b | /chromeos/dbus/system_proxy/fake_system_proxy_client.h | 10a6952a51d676458daefa50d715f65fde1bcb9e | [
"BSD-3-Clause"
] | permissive | Kirial/chromium | c6a482ff0f6f2f31a8493bc65510e6ccb4fbf99a | ff819726042b497da82ff5c07f2b1a0e555092ea | refs/heads/master | 2022-11-23T16:45:38.141223 | 2020-08-06T08:19:15 | 2020-08-06T08:19:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,556 | h | // Copyright 2020 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 CHROMEOS_DBUS_SYSTEM_PROXY_FAKE_SYSTEM_PROXY_CLIENT_H_
#define CHROMEOS_DBUS_SYSTEM_PROXY_FAKE_SYSTEM_PROXY_CLIENT_H_
#include "chromeos/dbus/sys... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
0bc937514d99e8e6e4cb9ae41e30edeb3ace6065 | 14248aaedfa5f77c7fc5dd8c3741604fb987de5c | /luogu/P3214.cpp | 95b8a1b9b4983f06906593b5565f5bd06ba89a32 | [] | no_license | atubo/online-judge | fc51012465a1bd07561b921f5c7d064e336a4cd2 | 8774f6c608bb209a1ebbb721d6bbfdb5c1d1ce9b | refs/heads/master | 2021-11-22T19:48:14.279016 | 2021-08-29T23:16:16 | 2021-08-29T23:16:16 | 13,290,232 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,535 | cpp | // https://www.luogu.org/problemnew/show/P3214
// [HNOI2011]卡农
#include <bits/stdc++.h>
using namespace std;
const int MOD = 100000007;
int64_t qpow(int64_t a, int64_t b) {
int64_t res = 1;
while (b) {
if (b & 1) res = (res * a) % MOD;
a = (a * a) % MOD;
b >>= 1;
}
return res;... | [
"err722@yahoo.com"
] | err722@yahoo.com |
d5f4377121862860ec857164bdb014903973a2aa | 2f78e134c5b55c816fa8ee939f54bde4918696a5 | /code/3rdparty/hk410/include/physics/hkutilities/collide/filter/pairwise/hkPairwiseCollisionFilterClass.cpp | cb725221e855d2dd31749853c8e796bb4713b82a | [] | no_license | narayanr7/HeavenlySword | b53afa6a7a6c344e9a139279fbbd74bfbe70350c | a255b26020933e2336f024558fefcdddb48038b2 | refs/heads/master | 2022-08-23T01:32:46.029376 | 2020-05-26T04:45:56 | 2020-05-26T04:45:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,321 | cpp | /*
*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent.This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Level 2 and Level 3 source code contains trade secrets of ... | [
"hopefullyidontgetbanned735@gmail.com"
] | hopefullyidontgetbanned735@gmail.com |
99ce8c93887a74fc2f446be43959522367c67e02 | 912ea053264b84ae668f7bafd05198a920d1f039 | /Final/Car.h | 7a5c3bd41512c7c3343760a11623b50d325a83db | [] | no_license | bsu2018gr09/ZboichikKP | b8d3e61c6519f6cf1d2dd9ff76330a3eee50fff0 | 9403e4030dc033e332a7a1e57ecf0314334b68ce | refs/heads/master | 2020-04-24T08:15:36.850936 | 2019-06-13T16:16:36 | 2019-06-13T16:16:36 | 171,825,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,098 | h | //
// Created by Konstantin Zboichik on 2019-06-06.
//
#ifndef FINAL7_1_CAR_H
#define FINAL7_1_CAR_H
#define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <string>
#include <cstring>
#include <ctime>
#include <fstream>
#include <cstring>
#include <iomanip>
#include <cstdlib>
#include <stdlib.h>
using namespace... | [
"noreply@github.com"
] | noreply@github.com |
a8eb7cac6ff8696f74dc079e172192e8f73d42ca | b3e7d3bfc4aa7aa263d0f275ed78c2d857f9cbb9 | /.svn/pristine/a8/a8eb7cac6ff8696f74dc079e172192e8f73d42ca.svn-base | 5023983aee4f7560efcbfa34b49b43de9d54121e | [] | no_license | reTrem/Tesseract-Old | 4f63aa1bc97ac7e769a88a19e55e330dad71494b | 5548405062e85656eabddeb5fd898003d8d5c7ec | refs/heads/master | 2022-11-06T06:34:33.407532 | 2020-06-26T19:19:17 | 2020-06-26T19:19:17 | 275,224,784 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,095 | #ifndef __GAME_H__
#define __GAME_H__
#include "cube.h"
// animations
enum
{
ANIM_DEAD = ANIM_GAMESPECIFIC, ANIM_DYING,
ANIM_IDLE, ANIM_RUN_N, ANIM_RUN_NE, ANIM_RUN_E, ANIM_RUN_SE, ANIM_RUN_S, ANIM_RUN_SW, ANIM_RUN_W, ANIM_RUN_NW,
ANIM_JUMP, ANIM_JUMP_N, ANIM_JUMP_NE, ANIM_JUMP_E, ANIM_JUMP_SE, ANIM_JUMP... | [
"hckme4@protonmail.com"
] | hckme4@protonmail.com | |
baf2f42cc6c0d28388a1d285ed461515c4781551 | be6e5e911973d930d8e8f1bf2b0497dccadc0b15 | /c/Array_copy_10vs10/Array_copy_10vs10.cpp | 4ca577900376b4a3ba03701ee10efa9af060accb | [] | no_license | rik2home/doc | e89c373d208289dd76ff0963e835a122ad5e91e5 | 88e6657638b90d1138add703408b51089b70bc14 | refs/heads/master | 2023-03-07T22:37:43.167774 | 2023-02-18T15:22:35 | 2023-02-18T15:22:35 | 94,766,268 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 296 | cpp |
#include <iostream>
using namespace std;
void main()
{
const int size = 10;
int a[size] = { 1,3,5,7,9,1,1,1,1,1 };
int b[size] = { 2,4,6,2,2,2,2,2,2,2 };
int temp_a = 0, temp_b = 0;
for (int i = 0; i < size; i++)
{
a[i] = a[i] + b[i];
b[i] = a[i] - b[i];
a[i] = a[i] - b[i];
}
}
| [
"rik2home@gmail.com"
] | rik2home@gmail.com |
daf21f6b0add105f176de0b6b9311d90de48c742 | 45fc902810ce11ab9e2fd56b21033de1af86dd72 | /overlays/Nuti.framework/Versions/A/Headers/nmlpackage/BaseTypes.h | 6622de21c9eeb45b7e46d927d3100676d3c85cbd | [
"BSD-2-Clause"
] | permissive | oooits72/hellomap3d-ios | 0cbfb1f672002462dd4e4acf36721fe4b9c4471e | 8441f7aa142761fbe9139bce8a00982c782f52c6 | refs/heads/master | 2020-03-30T15:36:28.879330 | 2014-10-10T08:04:27 | 2014-10-10T08:04:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 780 | h | #ifndef BASETYPES_H_
#define BASETYPES_H_
#include "utils/GLES2.h"
#include <memory>
#include <cglib/bbox.h>
#include <cglib/frustum3.h>
#include <cglib/mat.h>
#include <cglib/vec.h>
namespace NMLPackage {
struct RayIntersection {
unsigned int vertexId;
cglib::vec3<double> pos;
cglib::vec3<double> normal;
Ra... | [
"jaak@nutiteq.com"
] | jaak@nutiteq.com |
5e967003a9942bbd3d33972c390b516397faf7d3 | cefd6c17774b5c94240d57adccef57d9bba4a2e9 | /Foundation/include/Poco/DigestEngine.h | 0b74007856dda67de5097dadfd9463d3463e89e2 | [
"BSL-1.0"
] | permissive | adzhou/oragle | 9c054c25b24ff0a65cb9639bafd02aac2bcdce8b | 5442d418b87d0da161429ffa5cb83777e9b38e4d | refs/heads/master | 2022-11-01T05:04:59.368831 | 2014-03-12T15:50:08 | 2014-03-12T15:50:08 | 17,238,063 | 0 | 1 | BSL-1.0 | 2022-10-18T04:23:53 | 2014-02-27T05:39:44 | C++ | UTF-8 | C++ | false | false | 3,785 | h | //
// DigestEngine.h
//
// $Id: //poco/1.4/Foundation/include/Poco/DigestEngine.h#1 $
//
// Library: Foundation
// Package: Crypt
// Module: DigestEngine
//
// Definition of class DigestEngine.
//
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// Permission is hereby... | [
"adzhou@hp.com"
] | adzhou@hp.com |
c1f2da8c1c213305342aed1cbe560ea4f17b0c8d | 9a4c97aa0cb3b7bedc22abf25a85c13a59552a6c | /Engine/CherrySoda/Components/Graphics/Image.h | 1f0f00593b0a462c8c1fa2c24056cc8f86829bd8 | [
"MIT"
] | permissive | fountainment/cherrysoda-engine | 46d10efa9907b3eb046cc52a87f6184f4656a47b | b5ff3701790016babcc167b9e9f09acea90651d9 | refs/heads/master | 2023-06-23T17:37:20.082904 | 2023-06-16T20:19:25 | 2023-06-16T20:19:25 | 211,327,644 | 44 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 2,303 | h | #ifndef _CHERRYSODA_COMPONENTS_GRAPHICS_IMAGE_H_
#define _CHERRYSODA_COMPONENTS_GRAPHICS_IMAGE_H_
#include <CherrySoda/Components/Graphics/GraphicsComponent.h>
#include <CherrySoda/Graphics/MTexture.h>
#include <CherrySoda/Graphics/SpriteBatch.h>
namespace cherrysoda {
class Image : public GraphicsComponent
{
public... | [
"c.even@live.cn"
] | c.even@live.cn |
85fd3e0c79c121f7930824f48194b6a1bc6dc724 | 99b70325ec43b4f07cbd7fd63ff71da265504487 | /Restore IP Addresses.cpp | aec50f08879f6b1f2496148e4b9460e241ba35a8 | [] | no_license | charleyzhuyi/leetcode | b788cc9d688e552712bc4c625c30116f60a1a09d | b597d82dee97bb32c00100a884e111d7316c54a6 | refs/heads/master | 2021-01-04T22:33:52.898996 | 2013-02-06T09:51:17 | 2013-02-06T09:51:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,027 | cpp | class Solution {
public:
vector<string> result;
vector<string> restoreIpAddresses(string s) {
// Start typing your C/C++ solution below
// DO NOT write int main() function
result.clear();
restoreIP(s,"",1);
return result;
}
void restoreIP(string s,string t,int ste... | [
"charleyzhuyi@hotmail.com"
] | charleyzhuyi@hotmail.com |
3bd005ef7f2d52c4cfca21bbe75c38b64be658df | cf56e34cc5986e5160b16dd82c596ac94a489768 | /2352.cpp | ee1eac3217ad8ab5a083cadde1cea34cec6c8c95 | [] | no_license | KTH-INHA-16/KIMTAEHUN | 00f0f481336062fe90578103603fbc19f1d80fb8 | 67bc3e1db9b8246ad515e6b29df656f623ed6f44 | refs/heads/master | 2020-08-13T18:12:10.819195 | 2020-07-21T03:35:50 | 2020-07-21T03:35:50 | 215,013,801 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 566 | cpp | #include<iostream>
using namespace std;
#include<algorithm>
//LIS 알고리즘 사용
//시간 복잡도 O(nlogn)
int arr[40001];
int LIS[40001];
int n, ans = 0, Size = 1;
int main()
{
cin.tie(0);
ios::sync_with_stdio(false);
cin >> n;
for (int i = 1; i <= n; i++)
{
cin >> arr[i];
}
LIS[1] = arr[1];
int tmp;
for (int i = 2; i <=... | [
"kim112318@naver.com"
] | kim112318@naver.com |
144606f810fc906d0e4532ede21dcacce716f4f6 | 356a3ced7502c34b510bcd786f565bdf2a4c9492 | /ACM-ICPC/最大流 zoj 3294.cpp | 83a061bda409e54e474a8937b6b6a7e00898aadb | [] | no_license | philokey/Algorithm-Problems | bb1872b50a0d9ef4bc27fd40e5775ffb872eb858 | 774d515661647748372a1a1b6850063e04d37c03 | refs/heads/master | 2020-12-24T14:09:50.828232 | 2015-06-30T13:29:54 | 2015-06-30T13:29:54 | 38,310,200 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,173 | cpp | #include <cstdio>
#include <cstring>
#include <algorithm>
#include <cmath>
#include <iostream>
#include <queue>
#define FI first
#define SE second
using namespace std;
const double EPS = 1e-8;
const int MAXN = 30005;
const int MAXM = 100000;
const int INF = 1111111111;
struct Edge{
int v,next,w;
}edge[100005*8];
int h... | [
"philokeys@gmail.com"
] | philokeys@gmail.com |
bfc5a7346a6cf0c0ce3686b06868adf7938fbd65 | 0c3d4e19dd244d372cd4aba6c8d445e7bda262ee | /OpenGLES.h | 133619a1ecced6f2d2ee2456611b6ac8175ef2d8 | [] | no_license | isabella232/HLServo | 58f9c2f3d00cc59c9e7e3908fc57b80882f948ba | 518182daafb3259f8cd06fa4506d4cd866ed4027 | refs/heads/master | 2022-01-05T11:09:01.739105 | 2019-06-21T21:43:22 | 2019-06-21T21:43:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 563 | h | #pragma once
class OpenGLES {
public:
OpenGLES();
~OpenGLES();
EGLSurface CreateSurface(Windows::UI::Xaml::Controls::SwapChainPanel ^ panel);
void GetSurfaceDimensions(const EGLSurface surface, EGLint* width, EGLint* height);
void DestroySurface(const EGLSurface surface);
void MakeCurrent(cons... | [
"me@paulrouget.com"
] | me@paulrouget.com |
62f175e787102037f25972b70324291f05f14d9a | 368edcad23f5a828eb93ecc94daf427e793a5e0a | /src/Camera/Renderable/WTcParticleSettings.h | 9d9aa148c429340308243e3fd1ca6e27405366fd | [] | no_license | Thormidable/Bamboo | 428d88d00590667898c0647acf2ac175f6943c8e | 0a5f5e2b715508d21967db5b7ece002129b62d31 | refs/heads/master | 2021-01-10T15:13:09.764755 | 2015-12-17T00:26:59 | 2015-12-17T00:26:59 | 47,978,788 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,696 | h | #ifndef __WTCPARTICLESETTINGS_H__
#define __WTCPARTICLESETTINGS_H__
#if WT_FULL_VERSION_BAMBOO
/**
* \brief This class stores settings values for cParticle, cParticleGroup and cParticleSource Objects.
* Stores settings for constructing Particles of various types. Created, empty, each setting field must be filled.
... | [
"will@Thormidable.(none)"
] | will@Thormidable.(none) |
1bf2c3c4cd3f7088252f829d707424a03ec3419f | f9fcb960c2c76f10ec54c85eeab89d3d50003dd7 | /OCLConnector/OCLConnector_data.cpp | f0c11dadb402e233bdc8d05227e9ebe70331c47c | [] | no_license | Clinik/CLim | e641275f520926986c789619650a60d0ef124ad1 | c88f7aa2d2bedbd42bb2f25aa4cf4f5551db079e | refs/heads/master | 2021-05-16T01:47:45.119061 | 2015-03-01T18:17:20 | 2015-03-01T18:17:20 | 24,410,629 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 868 | cpp | #include <stdio.h>
#include <iostream>
#include "GL/glew.h"
#include "CLConnector.h"
#include "CLSequence.h"
#include "CLGraph.h"
#include <thread>
#include <vector>
#include <iosfwd>
void CLConnector::addSequence(CLSequence &sequence) {
sequence.connector = this;
sequences.push_back(&sequence);
}
void CLConnecto... | [
"za1an@hotmail.com"
] | za1an@hotmail.com |
e91f6536905e494bfbfb8c3235b83fe6b4669c43 | c050f83a191642300c197e6c494b73b157eeded1 | /leetcode/11_container_with_most_water.cpp | bfb37af81909d51c806ac092c77297fecbe12b9a | [] | no_license | houray/interview_codes | a9d48de0af28fe95ed7102b664f243f576868abe | 431d3dd259ee6e4c3c92fbbfde40b37e2d5d39ff | refs/heads/master | 2021-01-18T04:48:44.302959 | 2016-06-01T20:31:56 | 2016-06-01T20:31:56 | 53,886,846 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 529 | cpp | // O(n) time solution.
class Solution {
public:
int maxArea(vector<int>& height) {
int left = 0;
int right = height.size() - 1;
int maxArea = 0;
while (left < right) {
int currArea = (right - left) * (height[left] < height[right] ? height[left] : height[right]);
... | [
"houray@hotmail.com"
] | houray@hotmail.com |
c7c7f3e6702df67340e306ff25197b7b698aa761 | c37c450c8f83d311ade0641a94910f6f09e6cded | /ch_7_intro_classes_object/16_patient_fees/PatientAccount.cpp | c9d2d569c4cd61c56a28a2015b1306140f4f9c87 | [] | no_license | JackCode/Early_Objects_Practice | 60d62843cff5c56fc809d540f6ba2e4a079224f9 | 617bf59663329cc6aaca039dace66ca561bb7013 | refs/heads/master | 2022-11-22T17:55:52.528440 | 2022-11-18T02:20:12 | 2022-11-18T02:20:12 | 255,453,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 798 | cpp | #include "PatientAccount.h"
PatientAccount::PatientAccount(const double & dailyRate)
{
this->dailyRate = dailyRate;
this->daysInHospital = 1;
this->totalCharges = 0;
}
PatientAccount::PatientAccount(const double& dailyRate, const double& appendectomyPrice, const double& cataractPrice,
const d... | [
"epicrijks@gmail.com"
] | epicrijks@gmail.com |
6fb99a54de51d4fd9648933c4de8e484cd3e95e5 | f4e17640afef6d1b4d4a85f583a90e37f705dbd5 | /B2G/gecko/content/svg/content/src/DOMSVGAnimatedTransformList.h | 215b611c160ebcd93450fe6ea30d53e73ee64f05 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | wilebeast/FireFox-OS | d370362916f0c5a5408fa08285dbf4779f8b5eb3 | 43067f28711d78c429a1d6d58c77130f6899135f | refs/heads/master | 2016-09-05T22:06:54.838558 | 2013-09-03T13:49:21 | 2013-09-03T13:49:21 | 12,572,236 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 4,677 | h | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
* vim: sw=2 ts=2 et lcs=trail\:.,tab\:>~ :
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0... | [
"info@hadrons.me"
] | info@hadrons.me |
8ad172e43c3f5dc31104155532e5cab2b8fdc2ed | 076f3b5758e70481b31ad17b6b07509a6287d277 | /DNA_Strand.cpp | 6176cb41533971c706e367aceee22ce31fa65928 | [] | no_license | DerekGloudemans/DNA-strand | 5a5fbcf8bd7e906a9e80915b99988205aeaaeaa6 | d48950eba06ede7e1264e648c26d921f855561de | refs/heads/master | 2020-08-06T08:49:35.413716 | 2020-01-16T17:37:06 | 2020-01-16T17:37:06 | 212,913,095 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,495 | cpp | // File name: DNA_Strand.h
// Author: Derek Gloudemans
// VUnetid: glouded
// Email: derek.gloudemans@vanderbilt.edu
// Class: CS201
// Date: 2/14/2015
// Honor statement: I have neither given nor recieved unauthorized help on this assignment.
// Assignment Number: 3
// Description: This will be an DNA_Strand ... | [
"noreply@github.com"
] | noreply@github.com |
d331d71345cc97e53e6cbb6b0c1e980ce1d6b466 | fa50ab598350886d1dc3190a0f4861f637668b95 | /source/tnn/network/openvino/custom_layer/custom_reshape.h | 890f8a84e77fab3bce052633c05da5bb51cf3311 | [
"BSD-3-Clause"
] | permissive | shaundai-tencent/TNN | d3cfe79da2cb5b70cbcf6fa9a00467da529485e4 | 6913aecb193c584e3fe4fcb32508d417744827c4 | refs/heads/master | 2023-07-17T14:57:52.586520 | 2021-08-17T06:04:19 | 2021-08-17T06:04:19 | 397,153,709 | 1 | 0 | NOASSERTION | 2021-08-17T07:32:31 | 2021-08-17T07:32:30 | null | UTF-8 | C++ | false | false | 1,019 | h | // Tencent is pleased to support the open source community by making TNN available.
//
// Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the BSD 3-Clause License (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy o... | [
"seanxcwang@tencent.com"
] | seanxcwang@tencent.com |
6b7faf25e3817ff639d214223dde297cf3b0755e | c9074e6b340014d961ac30c17d363d5d3318f329 | /game.hpp | c07d4ae343c939e5c815dc3eeccd11b41f71fc4a | [] | no_license | xaniadakis/Role-Playing-Game | 91e21ee2373925f72d2373520df38e0917a16ad5 | 051df391cd3ef6e0a6b78a8237cf80754ee03850 | refs/heads/main | 2023-04-29T20:16:57.180717 | 2021-05-20T15:08:15 | 2021-05-20T15:08:15 | 369,240,463 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,001 | hpp | #include <iostream>
using namespace std;
#include <stdio.h> /* printf, scanf, puts, NULL */
#include <stdlib.h> /* srand, rand */
#include <time.h> /* time */
#define TOPLVL 10
class names{
private:
string namesarray[200];
string potionsarray[200];
string weaponsarray[200];
string armor... | [
"noreply@github.com"
] | noreply@github.com |
398b2312aa331756eef45f5fc99403b21694642f | 1d648473ed374a1047e6986f4c7f8ee3f108b66b | /be/src/exec/cardinality-check-node.h | d44efd19fac7d7c4c29b727514f0c33a0944e0ad | [
"bzip2-1.0.6",
"BSD-3-Clause",
"OpenSSL",
"LicenseRef-scancode-google-patent-license-webrtc",
"LicenseRef-scancode-openssl",
"dtoa",
"LicenseRef-scancode-unknown-license-reference",
"PSF-2.0",
"MIT",
"Minpack",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"LicenseRef-scanc... | permissive | amansinha100/impala | 3422d0cdee83a47a5d0d774278229823b5d32a67 | e05a5323785ecb09e45bdb5dfc96533e68256175 | refs/heads/master | 2020-08-26T22:17:54.958615 | 2019-10-08T20:22:57 | 2019-10-22T04:31:20 | 217,164,646 | 0 | 0 | Apache-2.0 | 2019-10-23T22:28:28 | 2019-10-23T22:28:28 | null | UTF-8 | C++ | false | false | 2,385 | h | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | [
"impala-public-jenkins@cloudera.com"
] | impala-public-jenkins@cloudera.com |
1122b70797a2ccb6e010f85dca2a62e17eaad276 | a4a7fe2b6bebc044843d0c6f60cddb0d0894abb8 | /Chap2/Exam 5/Exam 5/Exam 5.cpp | c60900b32a37fcda55ece5607620a6938fea441b | [] | no_license | KU-t/Prac-Socket_Programming | 2daedb7d4e001bd0cb459dcde3792fba89d0fea4 | 9b9f5beef12dffe87724f9af38e23c6813b2bcaf | refs/heads/master | 2022-02-17T00:01:54.194735 | 2019-09-05T16:48:20 | 2019-09-05T16:48:20 | 201,425,228 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,188 | cpp | #pragma comment(lib, "ws2_32")
#include <WinSock2.h>
void err_quit(const char* msg) {
LPVOID lpMsgBuf;
FormatMessage(
FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM,
NULL, WSAGetLastError(),
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
(LPTSTR)&lpMsgBuf, 0, NULL);
MessageBox(NULL, (LPCTSTR)lpMs... | [
"jhltk2426@naver.com"
] | jhltk2426@naver.com |
41a370e8db1e302fd616f09520945486819c71be | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5765824346324992_0/C++/mazy/R1AB.cpp | 14f0c5c24587fd5b3dd3a12862cb8518cad6982a | [] | 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 | 4,614 | cpp | #include <fstream>
#include <vector>
#include <list>
#include <map>
#include <set>
#include <deque>
#include <queue>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cst... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
eac0e65e6ac3b0c0db54000465280eba2fc2dc15 | 0d58a0f04ed08de35d846b4973a4dc58ba5ccf00 | /cocos2dx/projects/chess/Classes/PositionStruct.cpp | 48c13f8eaaa8ad15187ec99d07d6cf2dc40a4600 | [] | no_license | Crasader/codes | ea504e4f94688f502bea483cd5f333566499a957 | 51d26b42dd984cd2b00c8d2dbda6d76206a4b93b | refs/heads/master | 2020-11-28T14:47:42.505941 | 2016-11-01T15:19:28 | 2016-11-01T15:19:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,527 | cpp | /**
* XiangQi Wizard Light - A Very Simple Chinese Chess Program
* Designed by Morning Yellow, Version: 0.2, Last Modified: Mar. 2008
* Copyright (C) 2004-2008 www.xqbase.com
*
* 象棋小巫师 0.2 的目标:
* 一、实现中国象棋规则。
*/
#include "PositionStruct.h"
#include "cocos2d.h"
USING_NS_CC;
namespace SimplePosition {
// Zobrist... | [
"liangxiaoju@gmail.com"
] | liangxiaoju@gmail.com |
71be8f1448e6395b86aa45025fb0a1b16ab7507d | 1faeb4b158635b5652b74e410f8403cfc20814a2 | /tests/matrix_utils.cpp | 7803e8d2463cb70a28a964aa01bfe35167936997 | [] | no_license | Sandy4321/gblas | c4f0a8eb7a8243270654d82c5d5a74dafe987cbc | 77f5eecb568675f3ec05fcf833d20d7220ba03c5 | refs/heads/master | 2020-03-16T16:50:52.901245 | 2012-07-02T22:16:57 | 2012-07-02T22:16:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,001 | cpp | /*
* matrix_utils.cpp
* gblas
*
* Created by Davide Anastasia on 30/06/2010.
* <danastas@ee.ucl.ac.uk>
* Copyright 2010 University College London. All rights reserved.
*
*/
#include "matrix_utils.h"
//#include "sse_utils.h"
using namespace std;
bool compare_matrixes_and_reset(double* mat_computed, doubl... | [
"davideanastasia@users.sourceforge.net"
] | davideanastasia@users.sourceforge.net |
1de0d993b3cfe11da5501b4a1e9aa0c598e10580 | a2305ca83c34dfe311f0160a8558d704dfee6cd4 | /MyExe/install/bin/main.cc | ed9348284c7571363cb9a4f9d1b854bdd3129a56 | [] | no_license | machar94/cmake-import-export | 4bcc61bb962bca32a90ebdffaa96c59bdab424fc | 9e51384b6b707ef7901f43733ab3e11a611dd2f9 | refs/heads/main | 2023-06-23T16:56:42.113826 | 2021-07-22T19:10:21 | 2021-07-22T19:10:21 | 388,254,094 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 114 | cc | #include <iostream>
int main(int argc, char* argv[])
{
std::cout << "Hello World" << std::endl;
return 0;
}
| [
"machar@quantumsignalai.com"
] | machar@quantumsignalai.com |
c9f6ff4cfd362bb086927ee9a09bea96e73fbabf | e67e08afcc072261bde2d919e1f8eb854281f35e | /gdal/ogr/ogrsf_frmts/htf/ogr_htf.h | 7d033e7d5a6b6642fb32b0e39de918cdef2d148b | [
"MIT",
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-info-zip-2005-02",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"SunPro"
] | permissive | ShinNoNoir/gdal-1.11.5-vs2015 | 3b6e1eb2fa8a5163880e3c523dc547b2867274df | 5d544e176a4c11f9bcd12a0fe66f97fd157824e6 | refs/heads/master | 2021-08-28T15:51:25.491557 | 2021-08-13T12:57:57 | 2021-08-13T12:57:57 | 78,644,486 | 3 | 0 | null | 2017-01-12T09:39:54 | 2017-01-11T14:02:24 | C++ | UTF-8 | C++ | false | false | 6,623 | h | /******************************************************************************
* $Id$
*
* Project: HTF Translator
* Purpose: Definition of classes for OGR .htf driver.
* Author: Even Rouault, even dot rouault at mines dash paris dot org
*
*********************************************************************... | [
"even.rouault@mines-paris.org"
] | even.rouault@mines-paris.org |
c28d3d3eb7a12ebba06bed47af6f06fcbb03942a | 097c5f211b6a6f5bcb8ecaca3af50f4e4e9101aa | /pqueue.h | 0e9f0dae641c3fec9e2b86ea019d68c6d2c78612 | [] | no_license | dcauz/opus | 1223ee5773ab15dac2bd284df68bf0b18c600e16 | 4a943b0502920b122f104ad85a333750139da7f3 | refs/heads/master | 2021-01-20T20:05:30.966841 | 2018-12-24T12:18:56 | 2018-12-24T12:18:56 | 63,983,448 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 359 | h | #pragma once
#include "collection.h"
class PQueueType: public CollectionType
{
public:
PQueueType( Type * ele, const char * fname ):CollectionType(ele),
compFunc_(fname) {}
bool eqCompareTo( Type * ) const override;
bool compareTo( Type * ) const override;
bool assignableTo( Type * ) const override... | [
"cauz.david@gmail.com"
] | cauz.david@gmail.com |
e11451ff79c0324bd6975dd4dd5e189e2078af4f | 97fd729276014f4e0e62b94957ba5fa8ed05de7f | /wordPrint/CSmartTagActions.h | caaf7c5be8ea22ac7b0c58d2d9f05ac8759052b0 | [] | no_license | DLive/wordPrint | dcc193db0b17c3f042dd0a648f6c2b72789f61ac | a12fd6599359d1c608b3e2850049e1ac9332742d | refs/heads/master | 2021-01-20T11:31:39.081557 | 2012-10-30T15:49:17 | 2012-10-30T15:49:17 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,622 | h | // 从类型库向导中用“添加类”创建的计算机生成的 IDispatch 包装类
#import "C:\\Program Files\\Microsoft Office\\OFFICE11\\MSWORD.OLB" no_namespace
// CSmartTagActions 包装类
class CSmartTagActions : public COleDispatchDriver
{
public:
CSmartTagActions(){} // 调用 COleDispatchDriver 默认构造函数
CSmartTagActions(LPDISPATCH pDispatch) : COleDispatchDriv... | [
"xsxgmail@163.com"
] | xsxgmail@163.com |
b2ed202693bfed59513fd9023efdfa67024edc5a | 4e2e0abc7ee3dae6945bf8be20ed826650d91ce4 | /cpp-master/Matterbot/Matterbot/Matterbot.cpp | 6876295bdb2af5de02527db3f42fb29fc5c30fd0 | [
"MIT"
] | permissive | lafleur82/GitHub | 7f49c04d834e1ccbadd65e4c17549b0d3529402c | 9b1bc7fa98e40ab234e5b7f4767518ac1621b9a8 | refs/heads/master | 2021-01-18T13:16:36.371755 | 2017-08-15T12:01:52 | 2017-08-15T12:01:52 | 100,373,189 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,792 | cpp | #include "Matterbot.h"
#include "MattermostWebhooks.h"
#include "StdLogger.h"
#include "Message.h"
#include <atomic>
#include <map>
#include <sstream>
#include <functional>
using namespace lospi;
using namespace std;
class lospi::MatterbotImpl {
public:
wstring serve_command_from_message(const Message& message);
... | [
"joel.n.lafleur@gmail.com"
] | joel.n.lafleur@gmail.com |
0e0edec6803bacd78d9a968c96b70bbf89070570 | d8dde07d7c9cf75f7f18a91ab1dd74a4a261a9e7 | /contest/ural/1844.cc | 3683e6e79530016c97cb52abfca9e76adc21b26f | [] | no_license | tiankonguse/ACM | 349109d3804e5b1a1de109ec48a2cb3b0dceaafc | ef70b8794c560cb87a6ba8f267e0cc5e9d06c31b | refs/heads/master | 2022-10-09T19:58:38.805515 | 2022-09-30T06:59:53 | 2022-09-30T06:59:53 | 8,998,504 | 82 | 51 | null | 2020-11-09T05:17:09 | 2013-03-25T04:04:26 | C++ | UTF-8 | C++ | false | false | 1,649 | cc | #include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <cmath>
#include <string>
#include <sstream>
#include <vector>
#include <queue>
#include <set>
#include <map>
#include <ctime>
#define inf 0x3f3f3f3f
#define Inf 0x3FFFFFFFFFFFFFFFLL
using namespace std;
typedef l... | [
"i@tiankonguse.com"
] | i@tiankonguse.com |
423546eff81ea9f016af02c0f15fbe799f23bf0f | 782e8b221d2d106a15a17e60e8620c7fed278429 | /cachelib/datatype/MapView-inl.h | 92e27aae1bb7934fddbcb3ca310b76a8e2b4caa3 | [
"Apache-2.0"
] | permissive | ilkerhalil/CacheLib | d02985bba68af40c036fc12411efe317487c50de | d131b686ac135ea873dc4bb62e9133858eaad238 | refs/heads/main | 2023-08-18T07:39:27.272731 | 2021-09-11T02:49:48 | 2021-09-11T02:50:55 | 405,455,233 | 1 | 0 | Apache-2.0 | 2021-09-11T18:33:55 | 2021-09-11T18:33:54 | null | UTF-8 | C++ | false | false | 2,274 | h | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
6938043ff3460cbbc2e839a9887363ecc51d41df | b9a077398540310472c8367b11857b5a0cc79478 | /vtk63release/include/vtk-6.3/vtkFixedWidthTextReader.h | fde5b5d744147f5c8d22b6e09311a164ea7dee0f | [] | no_license | vamshimuga/Vessel-Segmentation | b000bae98c0a3fefc6efdb5e34ab1ee50d7e3569 | bb5436732a16cd5c212e5140c32166101ed89913 | refs/heads/master | 2016-09-12T23:58:22.052366 | 2016-04-16T10:41:28 | 2016-04-16T10:41:28 | 56,378,445 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,194 | h | /*=========================================================================
Program: Visualization Toolkit
Module: vtkFixedWidthTextReader.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
... | [
"vamshikrishnamuga@n158-p84.kthopen.kth.se"
] | vamshikrishnamuga@n158-p84.kthopen.kth.se |
f69f58f3c7a6415b8022449fe6690470cf074762 | d8501c5c1c0b1faddbdbaa08fa8da86d6a379fa6 | /tags/lldebug_0_2_0/extralib/boost_asio_0_3_9/boost/asio/detail/wrapped_handler.hpp | 99271b4f61c2b2c9ddad041ff059e19c4bff187a | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | oceancx/lldebug | ffd255854f30f99253ae9ae8e50cbb0500628054 | 62998fefaaad02f436181cf150ca1b104ab8db7c | refs/heads/master | 2021-05-13T12:32:46.828258 | 2009-04-16T13:31:07 | 2009-04-16T13:31:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,228 | hpp | //
// wrapped_handler.hpp
// ~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2007 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// 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)
//
#ifndef BOOST_ASIO_DETAIL_WRA... | [
"cielacanth@luaforge.net"
] | cielacanth@luaforge.net |
97d42e23c5623297f620e72c8d1b9d7583d93e36 | 37c36f75827455f52dfc0ec509ad82eeff1fe923 | /Find10inArray.cpp | 53145b9dea56cb873ff4699e4b4a772568c44aed | [] | no_license | pcaly626/algorithms | a874ad9e2c6e0fb6e0bf682e3c181774d5482c0b | a806ec4f5923da046bffb2cd050c3a14f96ef6e9 | refs/heads/master | 2021-03-24T12:46:25.840410 | 2017-08-24T23:25:22 | 2017-08-24T23:25:22 | 101,336,454 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 484 | cpp | /*
Find pairs in an integer array whose sum is equal to 10
*/
#include<iostream>
using namespace std;
int main(){
const int SIZE = 10;
int array[SIZE] = {1,2,3,7,3,1,5,5,0,10};
int num1, num2;
for(int i = 0; i < SIZE; i++){
for(int j = 1; j < SIZE - 1; j++){
num1 = array[i... | [
"noreply@github.com"
] | noreply@github.com |
c3e8df1fb2df822d25b5e05a642008f106b3587f | 6ab2617fccd096d6f37060b1fe02d79d695edbae | /sMuduoServer/TimerManager.h | a661afe6b7db295050607afc789b0430fdc16869 | [] | no_license | hongdejian/SMuduoSever | 04d7da54048397578b6e48c2b4a682390fdb490b | dd819446c822c1583d34f28fe49c9a01efcaca22 | refs/heads/master | 2020-07-25T22:29:32.040361 | 2019-09-20T02:18:29 | 2019-09-20T02:18:29 | 208,442,327 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,763 | h | //TimerManager类,定时器管理,基于时间轮实现,增加删除O(1),执行可能复杂度高些,slot多的话可以降低链表长度
#ifndef _TIMER_MANAGER_H_
#define _TIMER_MANAGER_H_
#include <functional>
#include <mutex>
#include <condition_variable>
#include <vector>
#include <thread>
#include "Timer.h"
class TimerManager{
public:
typedef std::function<void()> Callback;
... | [
"hdj1995@mail.ustc.edu.cn"
] | hdj1995@mail.ustc.edu.cn |
c2f12b48ba3fb67277cb88d9c48e4eeb82a42a90 | e695d0ddeffa22aed711e72aacdbd88a950a5abb | /cf/10.26 r443 div2/test.cpp | ab786d337832b8a6f6d71d9bdf51c80f4f7b4217 | [] | no_license | nNbSzxx/ACM | febe12eae960950bb4f03d0e14e72d54e66b4eee | e3994e292f2848b3fbe190b6273fdc30d69e887b | refs/heads/master | 2020-03-23T22:08:11.582054 | 2019-02-07T12:45:27 | 2019-02-07T12:45:27 | 142,155,512 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 95 | cpp | #include<iostream>
using namespace std;
int main()
{
printf("Hello World\n");
return 0;
}
| [
"hpzhuxiaoxie@163.com"
] | hpzhuxiaoxie@163.com |
57a2264e3db0641ef9c42e7b29e7273a8ea979e8 | 1f77f63fc4bcf538fc892f6a5ba54058367ed0e5 | /src/csaltTester/src/TestOptCtrl/src/drivers/ObstacleAvoidanceDriver.cpp | d580e781e918ef780e84a1f72cb8a2342b8af32c | [
"Apache-2.0"
] | permissive | ChristopherRabotin/GMAT | 5f8211051b620562947443796fa85c80aed5a7cf | 829b7c2c3c7ea73d759c338e7051f92f4f2f6f43 | refs/heads/GMAT-2020a | 2022-05-21T07:01:48.435641 | 2022-05-09T17:28:07 | 2022-05-09T17:28:07 | 84,392,259 | 24 | 10 | Apache-2.0 | 2022-05-11T03:48:44 | 2017-03-09T03:09:20 | C++ | UTF-8 | C++ | false | false | 3,638 | cpp | //------------------------------------------------------------------------------
// ObstacleAvoidanceDriver
//------------------------------------------------------------------------------
// GMAT: General Mission Analysis Tool
//
// Copyright (c) 2002 - 2020 United States Government as repres... | [
"christopher.rabotin@gmail.com"
] | christopher.rabotin@gmail.com |
bd636cf1f6931ae8a1a6d506ef81a72d17e637cb | 40581dc32368d9903a3d24585de28282f90c48ea | /A1 Algoritimos Exercicios/exercicios 01 03/exe2.cpp | 3db728a3efe18a8b9a18616fb22f521b6d535d08 | [] | no_license | lucasmansur/Algoritimos-de-Programa-o-I-Uva-Centro- | 88e3296d5f175eb102efd135bacd50f5ab3f59ef | 3845bb226ee6d724a780293595e8b5b355415540 | refs/heads/master | 2021-09-16T12:41:52.602600 | 2018-06-20T21:28:22 | 2018-06-20T21:28:22 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,067 | cpp | /*----------- 02) Fazer um programa para que o usuário informe uma temperatura em graus Celsius e
transforme em graus Fahrenheit. Exibir o resultado da conversão.
Formula: F = (9*C+160)/5 -------------*/
#include <stdio.h>
... | [
"noreply@github.com"
] | noreply@github.com |
e15868be6fff8da6f6a5a121ca2d4fabfb912e0b | c6c56f2de5575ea5bd6bc0085ec238faae557564 | /fluid_demo/main.cpp | 8c0f6b2cef194f3e21b1e9fceaf5e9aa9b840c1f | [] | no_license | tohyongcheng/fluid_demo | 163bef3ad5e3774ada63b996299abc06190896e3 | 2f77bb2cca15e6d5f06f2292cee40fe8e2d0cc65 | refs/heads/master | 2021-01-10T19:56:29.474100 | 2015-04-15T01:56:55 | 2015-04-15T01:56:55 | 33,531,765 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,870 | cpp | #include <stdlib.h>
#include <stdio.h>
#include <GLUT/glut.h>
#include "solver.c"
/* macros */
#define IX(i,j,k) ((i)+(N+2)*(j) + (N+2)*(N+2) *(k))
/* external definitions (from solver.c) */
extern void dens_step ( int N, float * x, float * x0, float * u, float * v, float * w, float diff, float dt );
extern void tem... | [
"tohyongcheng@gmail.com"
] | tohyongcheng@gmail.com |
4e8b7fe8c2b21e271a85abaa92619f8f66d3dfc0 | 8165a4555fdeb389040e8e61a9ff6a41efb3af8a | /src/oscMessages.cpp | 22fed6c1cc9a4df58c71a5390b273608d08c635d | [
"MIT"
] | permissive | nanu-c/remoteX-1 | 61002a83cca015b919de95fea7156078e41cc6a0 | 49e8cf3f4025425edcf6e4e4e8f7505b83570652 | refs/heads/master | 2021-01-15T17:01:44.561109 | 2015-11-18T12:00:49 | 2015-11-18T12:00:49 | 41,830,067 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,110 | cpp | #include "oscMessages.h"
void oscMessages::setActiveQuad(ofxOscMessage &m,int quad){
m.setAddress("/active/set");
m.addFloatArg(quad);
}
void oscMessages::setOscMessageInputs(ofAbstractParameter &e,ofxOscMessage &m, int quad){
string adress="/surface/"+to_string(quad);
string name=e.getName();
cout << "go... | [
"user@example.com"
] | user@example.com |
4c95fea5b2d8a23248a2c5b3e22418066cd2ead6 | a4b8956833470f2edb6dd6e285951fae53025de8 | /build3/porousMetal/porousMetal/FileStream.cpp | c5bf6d37f144f2ee79526672860c05bff3901c4f | [] | no_license | newuniverse/Triangulation_2 | 2a5d4c1e86baf7a0c847e95a44b917a4f169047c | 86af0d101330b69d0e1ef7aabbb46183009171da | refs/heads/master | 2016-09-05T18:27:36.988683 | 2013-01-29T02:14:38 | 2013-01-29T02:14:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,278 | cpp | //
// FileStreamClass.cpp
// porousMetal
//
// Created by 臻禹 鈕 on 12/09/12.
// Copyright 2012年 東京大学. All rights reserved.
//
#include <fstream>
#include <iostream>
#include <string.h>
#include "porousMetalAPI.h"
using namespace std;
Pixel::Pixel()
{
ConstValueManager cvm;
pxl = new int*[cvm.x];
for... | [
"newuniverse007@gmail.com"
] | newuniverse007@gmail.com |
9b54ee28489f1ce03c6001de55414b87e2348e1d | c776476e9d06b3779d744641e758ac3a2c15cddc | /examples/litmus/c/run-scripts/tmp_5/3.LB+ctrlisb+ctrlisb+po.c.cbmc.cpp | 1338d0ba5b564d2695ada15c8cdc567c5fd2e2e2 | [] | no_license | ashutosh0gupta/llvm_bmc | aaac7961c723ba6f7ffd77a39559e0e52432eade | 0287c4fb180244e6b3c599a9902507f05c8a7234 | refs/heads/master | 2023-08-02T17:14:06.178723 | 2023-07-31T10:46:53 | 2023-07-31T10:46:53 | 143,100,825 | 3 | 4 | null | 2023-05-25T05:50:55 | 2018-08-01T03:47:00 | C++ | UTF-8 | C++ | false | false | 43,535 | cpp | // Global variabls:
// 0:vars:3
// 3:atom_0_X0_1:1
// 4:atom_1_X0_1:1
// 5:atom_2_X0_1:1
// Local global variabls:
// 0:thr0:1
// 1:thr1:1
// 2:thr2:1
#define ADDRSIZE 6
#define LOCALADDRSIZE 3
#define NTHREAD 4
#define NCONTEXT 5
#define ASSUME(stmt) __CPROVER_assume(stmt)
#define ASSERT(stmt) __CPROVER_assert(stmt, ... | [
"tuan-phong.ngo@it.uu.se"
] | tuan-phong.ngo@it.uu.se |
686f15164ef3b5a1bcc884ac2a340c797e63a040 | 8afaf183aacac4606ac7801d1f832b311d85be4a | /practice/geeks-for-geeks/equilibriumPoint.cpp | 2d96edcb2d5f8110cf8998184a5b611a9e797035 | [
"MIT"
] | permissive | cwboden/.dotfiles | 83c90205222153b362e727cfab26f90cfbf43a93 | dcef7335d0a72960cf9c9418355f7e5fd1d8883f | refs/heads/main | 2023-08-31T21:48:11.628248 | 2023-08-28T04:36:36 | 2023-08-28T04:36:36 | 132,951,644 | 1 | 1 | MIT | 2023-09-06T08:53:47 | 2018-05-10T20:35:25 | Rust | UTF-8 | C++ | false | false | 1,073 | cpp | #include <stdio.h>
#include <iostream>
#include <vector>
using namespace std;
void equilibriumPoint(vector<int> nums)
{
if (nums.size() == 1)
{
cout << 1 << endl;
return;
}
if (nums.size() == 2)
{
cout << -1 << endl;
return;
}
bool foundPoint = false;
v... | [
"noreply@github.com"
] | noreply@github.com |
851579f5f32419baeb560061cc1dc4a670024868 | 8c0865237161d42bd1d6c3668da6f4cfa644048f | /MultiSourceBFS.cpp | b108d719c31152d81e72ef7de790984092b969db | [] | no_license | sjmodi1997/codes | e8ab28b529d19dbb5ada070eb3ba67d31b16f4d4 | 528eec76a7c64bd5fdf6f68f063886260a3a44fd | refs/heads/master | 2021-05-18T20:00:18.654352 | 2020-06-23T17:05:19 | 2020-06-23T17:05:19 | 251,392,434 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,722 | cpp | #define F first
#define S second
#define pb push_back
class Solution {
public:
vector<vector<int>> updateMatrix(vector<vector<int>>& matrix) {
vector<vector<int>> ans(matrix.size(), vector<int>(matrix.back().size()));
int n = matrix.size();
if(n==0)
{
return ans;
... | [
"noreply@github.com"
] | noreply@github.com |
2b24dfaf3ba601c661dd64b62e163f25c42eaf19 | 87f7bcbca0ee9cfabb6192054e51eb895a5b4a0a | /PBOXUI/display.h | d6e05b8f6ea6e82eff30f0538b0d94a53b0aeaf4 | [] | no_license | zhengbenchang/Baolong | 54fefaff2d40f4af345288daf33c8e5c9023c837 | aea6267d67ca21a1a6a1da3888408308b7ca6c6b | refs/heads/master | 2022-01-05T23:27:17.159649 | 2018-09-25T00:49:27 | 2018-09-25T00:49:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,567 | h | #ifndef DISPLAY_H
#define DISPLAY_H
#include <QWidget>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QLabel>
#include <QLineEdit>
#include <QGroupBox>
#include <QPixmap>
#include <QDesktopWidget>
#include <QApplication>
#include <QTimer>
#include <QPushButton>
#include <QPainter>
#include <QT... | [
"zazeje@163.com"
] | zazeje@163.com |
d4a0e868e54326fa319dab5930f544b18088e14a | 3f0c86f07332e47f7f10663f2638e75069a80d69 | /examples/SimpleThreadController/SimpleThreadController.ino | 949290b3140dac97be985399422ffb29e8b96e57 | [
"MIT"
] | permissive | ivanseidel/ArduinoThread | cc15d0ccc7c4ce1c8d349705649314f253eec8ef | 1a4e504c5f9c7e17efa7b453603341ffbbfb1385 | refs/heads/master | 2022-07-16T02:41:44.110309 | 2018-10-05T20:13:34 | 2018-10-05T20:13:34 | 9,994,728 | 949 | 237 | MIT | 2022-03-09T21:57:10 | 2013-05-11T03:57:57 | C++ | UTF-8 | C++ | false | false | 1,005 | ino | #include <Thread.h>
#include <ThreadController.h>
// ThreadController that will controll all threads
ThreadController controll = ThreadController();
//My Thread (as a pointer)
Thread* myThread = new Thread();
//His Thread (not pointer)
Thread hisThread = Thread();
// callback for myThread
void niceCallback(){
Seria... | [
"ivanseidel@gmail.com"
] | ivanseidel@gmail.com |
5502cfff775dc79a39600a36c58fba44bd688cd5 | 43ee3cc213125c09205195a30fce171ff9ed44c4 | /test/tests/libcxx/map/map.cons/move.pass.cpp | 1aa5c7d9792404413c6fefdf4ee8b495d0e68fd2 | [
"MIT",
"NCSA"
] | permissive | asidorov95/momo | 820356ae130fc97d60e26e50fc380a9826e1c89d | ebede4ba210ac1fa614bb2571a526e7591a92b56 | refs/heads/master | 2020-10-01T18:26:23.841911 | 2019-12-12T12:04:05 | 2019-12-12T12:04:05 | 155,053,265 | 0 | 0 | null | 2018-10-28T09:14:16 | 2018-10-28T09:14:16 | null | UTF-8 | C++ | false | false | 3,856 | 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.
//
//===---------------------------------... | [
"morzhovets@gmail.com"
] | morzhovets@gmail.com |
371953336eac92546334e34d3a4f7cab40c58db1 | 786e39df00e252ab241bd024862a43a3ad4968ac | /SPOJ/AGGRCOW.cpp | de69d6091ddb580a014f8d00ce7208ad07893322 | [] | no_license | mishka1980/competitive-programming | 51e9366c012eaa25cb48c588fdbcd089e6e5f1e0 | c13b805a7dd9ab1228a91a3d088331ce3f0f99bf | refs/heads/master | 2020-03-21T02:05:16.260788 | 2015-01-13T17:21:21 | 2015-01-13T17:21:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 270 | cpp | #include <cstdio>
#include <vector>
#include <algorithm>
using namespace std;
#define REP(i, n) for(int i = 0; i < (n); i++)
int main(){
int t;
scanf("%d", &t);
while(t--){
int N, C;
scanf("%d %d", &N, &C);
vector<int>
REP(i, N){
scanf("%d", &);
}
}
} | [
"shah.anish07@gmail.com"
] | shah.anish07@gmail.com |
65743351ef7b7ac63c9ca6e97b17f99b107ab1f5 | 52e74e23fbb2b2f383dd2ce28c1c39786064247e | /Proland_dev/include/ork/render/TextureCube.h | e8d54b8c18df34ba139bff255b7fa24358dca329 | [] | no_license | MORTAL2000/proland-windows | 2430ef59a953c370a2cf9ef71cc918012f05d89d | 94597eef1ed2e863324a354bee9d7401c374da83 | refs/heads/master | 2022-01-13T00:58:15.581643 | 2019-05-13T10:07:19 | 2019-05-13T10:07:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,920 | h | /*
* Ork: a small object-oriented OpenGL Rendering Kernel.
* Website : http://ork.gforge.inria.fr/
* Copyright (c) 2008-2015 INRIA - LJK (CNRS - Grenoble University)
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the followi... | [
"weiou063374@163.com"
] | weiou063374@163.com |
e729c3c3b2d711b7309b1314d4e2da0a98ce69fe | 6436d1e6c23f9f43a8025889dc4414a3ad66acf2 | /CvGameCoreDLL/Boost-1.32.0/include/boost/regex/v4/regbase.hpp | 02f83916930b934674c942bbcd8ecaf5a79d026f | [
"MIT"
] | permissive | dguenms/Dawn-of-Civilization | b710195c4f46fe11d9229182c3b1e07b77f42637 | a305e7846d085d6edf1e9c472e8dfceee1c07dd4 | refs/heads/develop | 2023-09-04T04:57:00.086384 | 2023-09-01T15:24:28 | 2023-09-01T15:24:28 | 45,362,597 | 116 | 121 | MIT | 2023-02-08T00:18:53 | 2015-11-01T23:52:28 | C++ | UTF-8 | C++ | false | false | 4,856 | hpp | /*
*
* Copyright (c) 1998-2002
* Dr John Maddock
*
* 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)
*
*/
/*
* LOCATION: see http://www.boost.org for mos... | [
"Leoreth@94cdc8ef-5f1a-49b8-8b82-819f55b6d80d"
] | Leoreth@94cdc8ef-5f1a-49b8-8b82-819f55b6d80d |
ca88cfacc8bc81c76a36e27e106b445253d41b02 | ac62c3107b48aab1267c1e0e75653e9f3ded6e49 | /_Qt/2.lineEdit/build-lineEdit-Desktop_Qt_5_2_1_MinGW_32bit-Debug/debug/moc_meuwidget.cpp | f591d69681cd1c6b4f35508284844de5baebd635 | [] | no_license | lariskelmer/programacao-avancada | e61bfd62902efea407f3c44f315ef1da306e2857 | 15c5129d998ff949c3ea0926ee2f5de3fa15c752 | refs/heads/master | 2020-08-30T12:26:37.924282 | 2019-10-30T19:18:44 | 2019-10-30T19:18:44 | 218,379,914 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,643 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'meuwidget.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.2.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************... | [
"amc.marcelino.cordeiro@gmail.com"
] | amc.marcelino.cordeiro@gmail.com |
06ec186d05fd732a1e9adf7ba76106476ae363e3 | 70441dcb7a8917a5574dd74c5afdeeaed3672a7a | /AtCoder Regular Contest 106/B - Values/main.cpp | 66dd780830b6a3b650184971f74c2209ce59f234 | [] | no_license | tmyksj/atcoder | f12ecf6255b668792d83621369194195f06c10f6 | 419165e85d8a9a0614e5544232da371d8a2f2f85 | refs/heads/master | 2023-03-05T12:14:14.945257 | 2023-02-26T10:10:20 | 2023-02-26T10:10:20 | 195,034,198 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,472 | cpp | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
class union_find {
vector<int> p;
vector<int> r;
public:
union_find(int n) {
p = vector<int>(n);
r = vector<int>(n);
for (int i = 0; i < n; i++) {
p[i] = i;
r[i] = 0;
}... | [
"33417830+tmyksj@users.noreply.github.com"
] | 33417830+tmyksj@users.noreply.github.com |
ebe2abf57f6389a7a93a5ce92b4cddb9335f096c | 711e5c8b643dd2a93fbcbada982d7ad489fb0169 | /XPSP1/NT/admin/wmi/wbem/sdk/activex/other/wiztest/wiztestctl.h | 74dabccad2221c3a61e81a421edd79b64da56eec | [] | no_license | aurantst/windows-XP-SP1 | 629a7763c082fd04d3b881e0d32a1cfbd523b5ce | d521b6360fcff4294ae6c5651c539f1b9a6cbb49 | refs/heads/master | 2023-03-21T01:08:39.870106 | 2020-09-28T08:10:11 | 2020-09-28T08:10:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,466 | h | // Copyright (c) 1997-2001 Microsoft Corporation, All Rights Reserved
#if !defined(AFX_WIZTESTCTL_H__47E795F7_7350_11D2_96CC_00C04FD9B15B__INCLUDED_)
#define AFX_WIZTESTCTL_H__47E795F7_7350_11D2_96CC_00C04FD9B15B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// WizTestCtl.h : Declarati... | [
"112426112@qq.com"
] | 112426112@qq.com |
20c7814bb3142c969ed4129623c1830d2ed04fb7 | 3c188593997cc06eab489328d81a661de16eb9fe | /src/httpserver.cpp | 9281bdc7d13f3948e43f543170fcd5740857237e | [
"MIT"
] | permissive | yangchigi/BitHao-Source | 304fc1ec94e985090ccced61a008defd61a523dc | 76f330020a917d6680d3d15867773afc6887d541 | refs/heads/master | 2020-05-05T12:49:45.934520 | 2019-02-28T05:32:44 | 2019-02-28T05:32:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,411 | cpp | // Copyright (c) 2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "httpserver.h"
#include "chainparamsbase.h"
#include "compat.h"
#include "util.h"
#include "netbase.h"
#include "rpc/pro... | [
"48000899+cqcrypto@users.noreply.github.com"
] | 48000899+cqcrypto@users.noreply.github.com |
9a15fd2422894f913b2ebc7c0c60c45ec72f0134 | a18e25a1a51afd0039b13a09751653681bd233f1 | /Driver.cpp | c004ff12461cfa4e501f6abf992b7ee3429882e3 | [] | no_license | ppalla0325/convolution-matrix | c67aff669db535aa9302abb28a182db29718bc65 | 9126ab98390f7ac10661b42123915bafd1898ec8 | refs/heads/master | 2020-06-23T07:22:28.640373 | 2019-07-25T07:06:37 | 2019-07-25T07:06:37 | 198,554,885 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,673 | cpp | #include "Matrix.cpp"
#include <string>
#include <map>
#include <chrono>
using namespace std::chrono;
/*
* Given Instructions
*/
// 1. Read rows and columns (cols) as integer arguments from the command line.
// 2. Create an unsigned char matrix M of size [rows x cols] (if your language of choice does not support th... | [
"praneeth.palla@outlook.com"
] | praneeth.palla@outlook.com |
20b3805de3192b0853bb8f7aabee34ef2e733c70 | 9f9dce45e477007505617aa428945e35e8db4e6e | /modules/task_4/sidorova_a_dijkstra/main.cpp | a6a1ff38284d9dc660a774193b769e7f88051c53 | [
"BSD-3-Clause"
] | permissive | Sergey01923/pp_2021_spring_informatics | bbce7351e391463868e8cb5bc848d6d2d46fbd47 | 1499ac172be6b57ba9fde633873360b51a54644f | refs/heads/master | 2023-05-11T10:02:26.907924 | 2021-06-04T10:54:25 | 2021-06-04T10:54:25 | 352,624,861 | 0 | 0 | BSD-3-Clause | 2021-04-18T19:17:46 | 2021-03-29T11:51:20 | null | UTF-8 | C++ | false | false | 5,234 | cpp | // Copyright 2021 Sidorova Alexandra
#include <gtest/gtest.h>
#include <vector>
#include <ostream>
#include <climits>
#include "./dijkstra.h"
#include "../../../3rdparty/unapproved/unapproved.h"
TEST(STD_Dijkstra, DISABLED_Test_Time) {
const size_t root = 0;
const size_t vertexCount = 10000;
const size_t ... | [
"alexa.sanechka@ya.ru"
] | alexa.sanechka@ya.ru |
70fbaa74e0644363505d8405ec857e37ba47c628 | cbca9e5f8b6d5541c3b39e7b54a612863d471c37 | /Downloads/lidar2/lidar/lidar.cpp | 82f7d8c76368bfd38ffcdaf39646692e61f32a82 | [] | no_license | 23watejona/LidarX4FRC | 9398963648090dadf06d8b804c339851fa462839 | 6d993658e7b48baabb433df69c11e694b6b1769c | refs/heads/master | 2021-01-06T00:07:59.250263 | 2020-02-18T14:43:01 | 2020-02-18T14:43:01 | 241,173,953 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,898 | cpp |
#include "serial.h"
#include "ntpublish.h"
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <asm-generic/termbits.h>
#include <sys/ioctl.h>
#define _USE_MATH_DEFINES
#include <math.h>
#include <unistd.h>
#include <string.h>
#include <poll.h>
#include <time.h>
#include <iostream>
... | [
"jonathan@waters.to"
] | jonathan@waters.to |
8c248e534eeb0344b3071f3c818fe18c43ac1556 | a1e6188dc1ec016558d3f4ab759289c1fa1a0d35 | /Matrix multiplication in memory hierarchies/task2.cpp | 10ab52aef66b539ac7275f507242b4c2b9c0e463 | [] | no_license | Dan-Jia/Computational_Science | 173810454d8fba5f39c464a3ecf6289687343e6e | 9acf6dbf9a9b53b286a71db63cddec0f5552a437 | refs/heads/master | 2022-12-05T07:13:26.164834 | 2020-08-23T11:32:20 | 2020-08-23T11:32:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,513 | cpp | // g++ task2.cpp
//./a.out 16 2 usw.
// ist b)ziemlich schneller als a), c)schneller als b)
#include <math.h>
#include <chrono>
#include <iostream>
#include <vector>
// ===================================
// Boost-Bibliothek für Alignment
#include <boost/align/aligned_allocator.hpp>
#include <boost/numeric/ublas/matri... | [
"shells2016@163.com"
] | shells2016@163.com |
e7a02672c95b147537174b5fcd2f7da44b2e4628 | 21a880dcdf84fd0c812f8506763a689fde297ba7 | /test/core/market/mock_marketi.h | e428018403a429bdaf34a7f7aaa9b5f326cab64f | [] | no_license | chenlucan/fix_handler | 91df9037eeb675b0c7ea6f22d541da74b220092f | 765462ff1a85567f43f63e04c29dbc9546a6c2e1 | refs/heads/master | 2021-03-22T02:07:39.016551 | 2017-08-01T02:02:20 | 2017-08-01T02:02:20 | 84,138,943 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 778 | h | #ifndef CORE_MARKET_MOCK_MARKETI_H_
#define CORE_MARKET_MOCK_MARKETI_H_
#include "gmock/gmock.h"
#include <string>
#include <vector>
#include "core/market/marketi.h"
#include "mock_fwd.h"
namespace fh {
namespace core {
namespace market {
typedef std::vector<std::string> InstrumentVec;
class MockMarketI:public Mar... | [
"461010295@qq.com"
] | 461010295@qq.com |
5efd55db59a08e5574c78288d7639b8f1bf0fbf2 | d3c89bcd932301832f714aca9abf1cc4bd5d27cf | /hr/ipk/sorting/bubble/main.cpp | 6fac724509615ed6b3ad819a9046cb17dc788a03 | [] | no_license | novikov-ilia-softdev/algorithms_datastructures | 030f85b198e17938777ab504717c4ae2730e003e | 66bb300ac49b6f9eedb36c864a7282dd44ab31f4 | refs/heads/master | 2021-07-11T21:15:11.384465 | 2020-07-31T10:57:55 | 2020-07-31T10:57:55 | 135,757,807 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,788 | cpp | #include <bits/stdc++.h>
using namespace std;
vector<string> split_string(string);
// Complete the countSwaps function below.
void countSwaps(vector<int> a) {
int res = 0;
for( int i = 0; i < a.size() - 1; i++){
for( int j = i; j < a.size(); j++){
if( a[ i] > a[ j]){
int t... | [
"smartnlg.ilia.novikov@gmail.com"
] | smartnlg.ilia.novikov@gmail.com |
d1f88b8ccbca67382eef14784609ba36fd4e835c | 440f814f122cfec91152f7889f1f72e2865686ce | /src/game_server/server/extension/attr/actor_compare_event_handler.h | 3bf678649d3f1808db49d0fd95374422a03c9e30 | [] | no_license | hackerlank/buzz-server | af329efc839634d19686be2fbeb700b6562493b9 | f76de1d9718b31c95c0627fd728aba89c641eb1c | refs/heads/master | 2020-06-12T11:56:06.469620 | 2015-12-05T08:03:25 | 2015-12-05T08:03:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,445 | h | //
// Summary: buzz source code.
//
// Author: Tony.
// Email: tonyjobmails@gmail.com.
// Last modify: 2013-12-24 16:36:43.
// File name: actor_compare_event_handler.h
//
// Description:
// Define class ActorCompareEventHandler.
//
#ifndef __GAME__SERVER__ATTR__ACTOR__COMPARE__EVENT__HANDLER__H
#define __GAME__SERVER_... | [
"251729465@qq.com"
] | 251729465@qq.com |
a81e5407533a3c9fee00d4206d2b4cb05ad294cf | bed60a1137c8d3fc2f9590c3077fc540e62a5add | /Medium/Longest_String_Chain.cpp | ee9539c20f7ab4bd8aba00b18223e1d3fca76077 | [] | no_license | JackLorentz/LeetCode | 021464ac7d61dfd85a6194dc2fb2f260da42989f | 49fab042ce264cac0ef27ecfe6bae46f8162d611 | refs/heads/main | 2021-06-24T11:19:25.635152 | 2020-12-23T09:04:01 | 2020-12-23T09:04:01 | 147,987,886 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,120 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <map>
using namespace std;
class Solution {
public:
int longestStrChain(vector<string>& words) {
/**
* 思路: 利用刪字元的方式看有哪字串屬於該字串的predecessor
* max_str_len: 所有字串的最長長度
* max_chain_len: word chain的最長長度
... | [
"noreply@github.com"
] | noreply@github.com |
2e5ef9a1648a04e68dc2f5da74d76eb397faf858 | 6ed5ffddef4fc4033742b88e3ebf14e8660cf4c1 | /GameStates/Racing/DefaultBindings.cpp | a59f11654aa37e24fea701fb7abd976a14b14075 | [] | no_license | erenik/SpaceRace | 5e4b169b7aefa264305b33f5f52c9883f63cd787 | d9f441ab3a7f80f394be1e9f90f0fe379fcf0040 | refs/heads/master | 2021-01-17T16:45:05.592070 | 2016-06-20T22:49:30 | 2016-06-20T22:49:30 | 57,668,489 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,254 | cpp | // Emil Hedemalm
// 2013-06-28
/*
#include "RacingState.h"
#include "Actions.h"
// Don't include all managers. Ever.
/// Creates bindings that are used for debugging purposes only
void Racing::CreateDefaultBindings(){
std::cout<<"\nRacing::CreateDefaultBindings() called";
inputMapping.CreateBinding("SetCameraDefa... | [
"emil_hedemalm@hotmail.com"
] | emil_hedemalm@hotmail.com |
c9a28764eff7dbf7816b3610f9074f4191fdc1f6 | fd1ee081c83fa4cf1137fab5305f1c355e381ea9 | /bci2000/src/contrib/Application/SlowWaveApp/Presentation/Views/PresView.h | bedbde2589e4686551b5f89394ac132106cfb923 | [] | no_license | sonyyassine/weka-bci2000 | b7d049679ba03fb94148ff19ec83894714dc09b3 | 9f93d7f079e172167bd56a08c834c51bb6e54731 | refs/heads/master | 2021-01-20T10:06:40.915143 | 2012-02-06T01:03:57 | 2012-02-06T01:03:57 | 35,837,059 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 925 | h | /////////////////////////////////////////////////////////////////////////////
//
// File: PresView.h
//
// Date: Oct 15, 2001
//
// Author: Juergen Mellinger
//
// Description:
//
// Changes:
//
// (C) 2000-2008, BCI2000 Project
// http://www.bci2000.org
///////////////////////////////////////////////////... | [
"oalzoubi.ee.usyd.edu.au@gmail.com@26c23476-e983-41d3-02b6-a1522953b182"
] | oalzoubi.ee.usyd.edu.au@gmail.com@26c23476-e983-41d3-02b6-a1522953b182 |
c7c6b16b668f88c19fb2460b535292ea949bea21 | c2d270aff0a4d939f43b6359ac2c564b2565be76 | /src/components/ntp_snippets/category_rankers/click_based_category_ranker_unittest.cc | 44ca2ebc266dc991a63b17a6625242670425e578 | [
"BSD-3-Clause"
] | permissive | bopopescu/QuicDep | dfa5c2b6aa29eb6f52b12486ff7f3757c808808d | bc86b705a6cf02d2eade4f3ea8cf5fe73ef52aa0 | refs/heads/master | 2022-04-26T04:36:55.675836 | 2020-04-29T21:29:26 | 2020-04-29T21:29:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 36,907 | cc | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/ntp_snippets/category_rankers/click_based_category_ranker.h"
#include <utility>
#include "base/memory/ptr_util.h"
#include "base/st... | [
"rdeshm0@aptvm070-6.apt.emulab.net"
] | rdeshm0@aptvm070-6.apt.emulab.net |
f362df12e8de27b8c85dd80726e326b62cf31383 | 27f1207bd55b95f51f13793d7911bf32c45fec8d | /BFS DFS Graph/DFS for a Graph.cpp | 1540a36b163083efcd9149947bc546282116958a | [] | no_license | SimplyDifficult/Leetcode-Problems | b3c4056e1cff02c38de9f6a1704512337b06d08d | 1fc017d22fc50be4de3f241fc0d5568ec3baeb1b | refs/heads/master | 2022-12-21T19:57:42.288950 | 2020-09-05T04:30:55 | 2020-09-05T04:30:55 | 278,274,820 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 898 | cpp | void Graph::DFSUtil(int v, bool visited[])
{
// Mark the current node as visited and
// print it
visited[v] = true;
cout << v << " ";
// Recur for all the vertices adjacent
// to this vertex
list<int>::iterator i;
for (i = adj[v].begin(); i != adj[v].end(); ++i)
if (... | [
"noreply@github.com"
] | noreply@github.com |
74de9791011154064187c3a4c1236a3e6532869f | 407c1c7d5b6b18b6c2f8bc50487531cda8fb4ce8 | /test/test_utils.cpp | 372c40e84f97f7eb0e6fd19e1440e4a53ce4a771 | [] | no_license | JINGHU-UT/MPM | 5ba6893cd943b3cadbca6ba1c78c617b66ab9f2c | c9f804dcd4ecd06fc411ede559c90e02e01da603 | refs/heads/master | 2020-05-21T12:59:27.868642 | 2018-03-10T06:42:30 | 2018-03-10T06:42:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,924 | cpp |
#include "utils/alg.h"
#include "utils/string.hh"
#include "utils/file.h"
#include "utils/config.h"
#include <gtest/gtest.h>
using namespace mpm ;
TEST( utils, alg )
{
constexpr ID D = 6 ;
const ID m = 5 ;
DynVec s(m) ;
for( int i = 0 ; i < m ; ++i ) s[i] = i+1 ;
DynVec t ;
set_compwise<D>( t, s ) ;
for(... | [
"appoliverapp@gmail.com"
] | appoliverapp@gmail.com |
e23f91b3630aa0beb99770b9de5b322f3b8b3d51 | 5fc0ddbdac0f9e702b19718d136ecbde75cb04a8 | /PPMMF/RegArchLib/Sources/cAbstResiduals.cpp | 681fa2b05607da75777fb0550dae5324a36c3d9f | [] | no_license | leviale/TP-PPMMF | 798659f7683e4c12aa5614721858d0f80d5ff0b3 | a24b4ef294eebfad3e081128dd816c0fdddada9a | refs/heads/master | 2021-08-24T02:38:31.332969 | 2017-12-07T17:52:05 | 2017-12-07T17:52:05 | 113,466,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 497 | cpp | /*
* File: cAbstResiduals.cpp
* Author: levia
*
* Created on December 5, 2017, 9:57 AM
*/
#include "cAbstResiduals.h"
namespace RegArchLib {
cAbstResiduals::cAbstResiduals(uint theNParams) {
mNbParam = theNParams;
mParams.ReAlloc(theNParams);
MESS_CREAT("cAbstResiduals")
}
... | [
"alexandre.levi@grenoble-inp.org"
] | alexandre.levi@grenoble-inp.org |
e89ee1f6c9e285f62fc98bc4fcbab762465eb829 | 3da52a12f80fc6d4a58ba5578a6bfa7794930a15 | /source/Library/RGBSettings/SettingsProvider.cpp | ecfd1814745d8b9def69c1a126f0ad65cf3aa779 | [] | no_license | Epiphane/NCW | db11a5130bc0f07458905e898b26d957dd4ce4f5 | 531a88e03e42450152d91f82925a420ef0b9ee2c | refs/heads/master | 2021-06-06T21:05:28.739882 | 2021-06-05T06:14:22 | 2021-06-05T06:14:22 | 136,872,412 | 2 | 0 | null | 2020-02-02T05:03:13 | 2018-06-11T03:57:13 | C++ | UTF-8 | C++ | false | false | 3,874 | cpp | // By Thomas Steinke
#if CUBEWORLD_PLATFORM_WINDOWS
#include <initguid.h>
#include <Knownfolders.h>
#include <Shlobj.h>
#endif
#include <RGBFileSystem/Paths.h>
#include <RGBLogger/Logger.h>
#include <RGBNetworking/YAMLSerializer.h>
#include <RGBText/Encoding.h>
#include <RGBText/StringHelper.h>
#include "SettingsPro... | [
"exyphnos@gmail.com"
] | exyphnos@gmail.com |
1d0dbcade765d22adcd90c40930990bfc7e95fe3 | 9ec8586080d2210fa116c3e7f7d53cb1cd4d24b1 | /28. Implement strStr().cpp | 48256be9f2b87dada6c6f762c60e135dbf75cb7c | [] | no_license | tarunmovva/leetcode-cpp-practices | 4fcef1a6e481c0f38b5a70297d55c0579eb3d08e | 318ddb6209e2ac9e3d82c6de024f3991da5ecf6c | refs/heads/master | 2022-04-25T15:43:50.182379 | 2020-05-07T12:19:28 | 2020-05-07T12:19:28 | 262,066,752 | 1 | 0 | null | 2020-05-07T14:03:26 | 2020-05-07T14:03:25 | null | UTF-8 | C++ | false | false | 6,993 | cpp | //KMP
//https://gist.github.com/hsinewu/44a1ce38a1baf47893922e3f54807713
//Runtime: 12 ms, faster than 25.32% of C++ online submissions for Implement strStr().
//Memory Usage: 7 MB, less than 100.00% of C++ online submissions for Implement strStr().
class Solution {
public:
vector<int> getTable(string& pattern){
... | [
"noreply@github.com"
] | noreply@github.com |
8ca19ef43a104d5475fb481780423b4541ec8e3c | 4284e57274db810337396b66fa59aa9aac1395cb | /source/Deferred/dbuffer.h | 433059f6718ed0452f26e37ed8ec0318587a064a | [] | no_license | kle622/Hear-No-Evil-See-No-Evil | 2d2cb3f0c26a84e80034ecb3c26b1dbfbf035a3b | 1692df8b998e1eba3e5de6ff5d8b4f90b6937634 | refs/heads/master | 2020-05-05T10:49:17.030482 | 2015-06-11T19:43:16 | 2015-06-11T19:43:16 | 34,016,218 | 0 | 1 | null | 2015-05-28T08:09:23 | 2015-04-15T20:13:58 | C++ | UTF-8 | C++ | false | false | 414 | h | #ifndef __DBUFFER_H__
#define __DBUFFER_H__
#include "../Library/GLSL.h"
#include "../glm/glm.hpp"
#include <iostream>
class DBuffer {
public:
DBuffer();
~DBuffer();
bool init(unsigned int w_width, unsigned int w_height);
void start();
void stop();
GLuint getDepthTex();
private:
GLuint m_fb;
GLuin... | [
"lana@enoteway.com"
] | lana@enoteway.com |
bf783bd1d0d27d8873d97420b0107d79adf1afd2 | efc56284fae23df1a4b2125ae3323a734660b9cc | /TrafficLight_fw/Radio/radio_lvl1.h | a03481b81662f30e4264934f8e4d05c6182aa044 | [] | no_license | Kreyl/TrafficLight | ad09a3d7541cdb403aedb2d8967c11b439ced462 | 9b783d18c46018ae772c97293fbb867a8c30be95 | refs/heads/master | 2021-01-17T06:07:55.049104 | 2019-02-01T22:05:30 | 2019-02-01T22:05:30 | 52,684,918 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,874 | h | /*
* radio_lvl1.h
*
* Created on: Nov 17, 2013
* Author: kreyl
*/
#pragma once
#include "kl_lib.h"
#include "ch.h"
#include "cc1101.h"
#include "kl_buf.h"
#include "shell.h"
#include "MsgQ.h"
#include "color.h"
#if 0 // ========================= Signal levels ===============================
// Python tran... | [
"laystoll@yandex.ru"
] | laystoll@yandex.ru |
488be487c7a48542bbd0ffa945ee82c486bb3774 | 0d4d8ac05b1ed706d8dbadfddff018668f2278d7 | /lego_technic_system/core/Component.h | 78c09615e303f04787a7148e523931f98e38560e | [] | no_license | JackZhouSz/ComputeTechnic | f8613891868ba8e6c6cb8f097b1d15d2ca2de126 | f383cb5f136031752c15ac6795ca53598102a868 | refs/heads/main | 2023-06-19T05:23:54.526256 | 2021-07-20T14:06:48 | 2021-07-20T14:06:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,366 | h | //
// Created by 徐豪 on 2018/5/19.
//
#ifndef LEGOGENERATION_MAIN_LAYERNODE_H
#define LEGOGENERATION_MAIN_LAYERNODE_H
#include "LayerGraph.h"
#include "BeamLayout.h"
#include "objectives/Grader.h"
#include "objectives/GradeRecorder.h"
#include "UnitEdgeGroup.h"
//保存有当前component的所有信息
class Component {
public:
/... | [
"6176846xh6419158"
] | 6176846xh6419158 |
545be8dfe4518a4f2f845742fffa037ce3bd7145 | 98ba6556add199db66014b7eed845513303ca5cb | /Basic C++ Programs/PosititveINteger/main.cpp | d74b6e39b7488bf201ab5920ca170656c8a0b790 | [] | no_license | Dsolnik/Learning-Languages | f1c57f4b6e6cbb6a5a09887f6beddc755dc4d1fc | 400ca284df16b349cfd3ba0a552d0be3bbc003e1 | refs/heads/master | 2021-01-15T13:07:32.458425 | 2016-06-04T19:30:59 | 2016-06-04T19:30:59 | 49,395,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 228 | cpp | #include <iostream>
using namespace std;
int main()
{
int age;
cout << "enter a positive integer" << endl;
cin >> age;
if(age%2==1)
{
cout << "It's odd" << endl;
}else{
cout << "It's even" << endl;
}
system("PAUSE");
} | [
"dansolnik@gmail.com"
] | dansolnik@gmail.com |
bd163aa72d2d5845deabb42a0a2919e5f13abe2b | 083272c183e4a8dbd5ca199baf23b6b2633cf0e2 | /interfaceUsuario/navegar.h | 74af5f22f73ae6ad21630a1b0e1ee67856e6f789 | [] | no_license | LuisFSegalla/Robot-Navigation | a0c7eec949a6acb5b4a50311a97dc0365f47934e | 6b8fcf726f6fb0b4d44e765f8b5751e3cef69738 | refs/heads/main | 2023-05-01T02:41:53.457374 | 2020-11-23T22:32:28 | 2020-11-23T22:32:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 872 | h | //
// Created by thais on 17/10/2020.
//
#ifndef NAVEGACAO_NAVEGAR_H
#define NAVEGACAO_NAVEGAR_H
#include <fstream>
#include <iostream>
#include <string>
#include "minhaMatriz.h"
#include <stdio.h>
class Navegar{
private:
minhaMatriz<char> *sala;
std::string arq_sala;
int pos_inicial_x;
... | [
"noreply@github.com"
] | noreply@github.com |
6df0a0c1e7200e15cbaa1ce8cabbcf3c0bb847d2 | d160bb839227b14bb25e6b1b70c8dffb8d270274 | /MCMS/Main/Processes/ConfParty/ConfPartyLib/PCMHardwareInterface.cpp | 5c51ebbb5629e8c985ff64463420ad835b7c64ac | [] | no_license | somesh-ballia/mcms | 62a58baffee123a2af427b21fa7979beb1e39dd3 | 41aaa87d5f3b38bc186749861140fef464ddadd4 | refs/heads/master | 2020-12-02T22:04:46.442309 | 2017-07-03T06:02:21 | 2017-07-03T06:02:21 | 96,075,113 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,283 | cpp |
#include "PCMHardwareInterface.h"
#include "OpcodesMcmsCardMngrTB.h"
#include "TBStructs.h"
//==============================================================================================================//
// CPCMHardwareInterface implementation
//=====================================================================... | [
"somesh.ballia@gmail.com"
] | somesh.ballia@gmail.com |
cf7185491944838b70547a3c93e566afe9d4058c | e8d7e921e4e39fc50802c6cd84b0801b202b4921 | /Source/ROSIntegration/Public/sensor_msgs/RegionOfInterest.h | 1afe7e722b678698e28291a309c5e4c8323f9491 | [
"MIT"
] | permissive | CentroEPiaggio/ROSIntegration | 8a9bbfc65d81d5741e7b032d780cfe5297bed907 | 8725869e0c22c8b28137baa3f437570619178050 | refs/heads/master | 2020-04-02T10:27:58.085876 | 2018-10-23T23:56:19 | 2018-10-23T23:56:19 | 154,340,953 | 0 | 0 | MIT | 2018-10-23T14:18:25 | 2018-10-23T14:18:24 | null | UTF-8 | C++ | false | false | 331 | h | #pragma once
#include "ROSBaseMsg.h"
namespace ROSMessages{
namespace sensor_msgs {
class RegionOfInterest: public FROSBaseMsg {
public:
RegionOfInterest() {
_MessageType = "sensor_msgs/RegionOfInterest";
}
uint32 x_offset;
uint32 y_offset;
uint32 height;
uint32 width;
bool do_rectify;... | [
"user@localhost"
] | user@localhost |
686e056de39027e4a2cd7803718684f7d8ef9ede | 4cd0b9ce7c2e2a57623cc71b936c6dcda79bdd5c | /xfa/fxfa/parser/cxfa_traverse.cpp | 59f0415f1b93eca345e5c43d2c115a5900133b2d | [
"BSD-3-Clause"
] | permissive | prepare/pdfium | 32b8f9cecc2dd98cd578d2b4e8d882e5c4f0e1ed | 92770e8072cd3a38597966116045147c78b5a359 | refs/heads/master | 2021-01-21T04:43:53.541194 | 2018-12-23T06:55:27 | 2018-12-23T06:55:27 | 27,119,109 | 7 | 3 | null | 2015-08-11T13:40:07 | 2014-11-25T09:47:59 | C++ | UTF-8 | C++ | false | false | 1,453 | cpp | // Copyright 2017 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "xfa/fxfa/parser/cxfa_traverse.h"
#include "fxjs/xfa/cjx_traverse.h"... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
21046b5f4756ebfbe66e1bf452ff1a9202419c1f | 135898575f417ec328da9a9c0956c85af80a0a47 | /c03.cpp | 071fc839b4c4e4f532d6b03bfb36e9b76b3a77e1 | [] | no_license | kajstof/CppBasics | 459bb359ccbbc5f0709f12872d6ce2c89382dbdc | ebd01b6ef8b4e2586cab82c930c5354db53ab19e | refs/heads/master | 2021-03-24T09:37:06.081769 | 2017-07-27T19:39:03 | 2017-07-27T19:39:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 946 | cpp | #include <iostream>
#include <vector>
#include <string>
#include <fstream>
using namespace std;
int main() {
string yourName;
cout << "What is your name: ";
getline(cin, yourName);
string dogString = "dog";
string catString = "cat";
cout << dogString.compare(catString) << endl;
cout << d... | [
"krysiak86@gmail.com"
] | krysiak86@gmail.com |
2fef9fc166ccd3d591d3d95a1befec23d2f3aeae | d46ce49a2939005a1335650df0ca853af15d5ba8 | /sample/sample.cpp | a24801bd9df34a77fc742a9413c08eeebe89c7ac | [] | no_license | kamihihra/Qt | e5946a6e4a6dddf3abb81927a888a9a9991e6f78 | 9f1aaa62cf2f8d0edf428df1f2009b66a1d48933 | refs/heads/master | 2021-01-10T09:32:45.873942 | 2015-11-12T09:44:54 | 2015-11-12T09:44:54 | 46,003,866 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,143 | cpp | #include "sample.h"
#include "ui_sample.h"
#include <QtSerialPort/QSerialPort>
#include <QPushButton>
#include <QFile>
#include <QTextStream>
#include <QtCore>
#include <QDebug>
#include <QTextBrowser>
#include <QThread>
QSerialPort *serial;
Sample::Sample(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::Sam... | [
"kamihira.r@gmail.com"
] | kamihira.r@gmail.com |
e6b20c23a1391b8a0419cc7be8e757841fb65428 | e94882b991117fb321dd298935f8dc6b18017989 | /Frame/SDK/Base/AFIData.h | 2b82cee7f7a33ba994c5aa8f1f5829ce3fce648c | [
"Apache-2.0"
] | permissive | atpccb/ARK | 5667257918106c3dee1aa1e2e344416a6139913f | cf91b838ff8c0db16d7387675ee75bedc8f1ed69 | refs/heads/master | 2021-04-27T00:19:39.479718 | 2018-02-28T09:45:49 | 2018-02-28T09:45:49 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 3,322 | h | /*
* This source file is part of ArkGameFrame
* For the latest info, see https://github.com/ArkGame
*
* Copyright (c) 2013-2017 ArkGame authors.
*
* 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 a... | [
"362148418@qq.com"
] | 362148418@qq.com |
1778ff2a9d737194d1dd412a651836e0c1729f08 | 5f7b1d735e69515662035aaaab65c564d5dea46d | /CC3K/chamber.cc | 18dedac2562fdfaa3ae9a4938b5c32afd1b39f99 | [] | no_license | r2999xu/CC3K | a736845d4d4b3430ad85d62ff5bc555af0dc97fa | 15fdf567b86627cf83f5898d8a5be144942b9559 | refs/heads/master | 2022-12-26T03:10:52.677040 | 2020-09-27T09:02:33 | 2020-09-27T09:02:33 | 298,985,785 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,737 | cc | #include "chamber.h"
#include "posn.h"
#include <iostream>
const std::vector<Posn> BOUNDARY_0 = {{2, 2}, {2, 3}, {2, 4}, {2, 5}, {2, 6}, {2, 7}, {2, 8}, {2, 9}, {2, 10}, {2, 11}, {2, 12}, {2, 13}, {2, 14}, {2, 15}, {2, 16}, {2, 17}, {2, 18}, {2, 19}, {2, 20}, {2, 21}, {2, 22}, {2, 23}, {2, 24}, {2, 25}, {2, 26}, {2, 2... | [
"noreply@github.com"
] | noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.