blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9b2750000a19a73ae47179d420b6761636a14990 | c38cc7081c006cd7a74b390817bc5350d5cbca87 | /C++/1425/main.cpp | 7b7fbac35187789bbca7de248abef2882d44f309 | [] | no_license | marcelopint/URI | ae244ee82c2bd0e6c065175ecb6da9a363240915 | 915b2cd64c21ffbd9a9f9d373f5f444deeb02f53 | refs/heads/master | 2021-01-22T06:06:17.178069 | 2018-07-08T20:09:28 | 2018-07-08T20:09:28 | 92,523,248 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 680 | cpp | #include <stdio.h>
#include <string.h>
#define maxL (1000000>>5)+1
#define GET(x) (mark[x>>5]>>(x&31)&1)
#define SET(x) (mark[x>>5] |= 1<<(x&31))
int mark[maxL];
int n, m;
void jump(int i, int idx) {
if(idx < 1 || idx > n || GET(m))
return;
SET(idx);
jump(i+1, idx+2*i+1);
jump(i+1, idx-2*i-1);
}... | [
"marcelopinto@hotmail.com"
] | marcelopinto@hotmail.com |
7ae4213cb8eff1a5a5a91cf8b2ac7c945b2d656a | 0d81ec8bc6420d0c049ec8485047f7857d69a27f | /src/common/kbps.hpp | 10a4a19f02c495024a22068adb12060f1a2397ba | [] | no_license | lam2003/rtmp-server | 3304ca95f59b4c10dd597fcb0ecbddbaa3fd8fab | 86a8fed6c79492333eefb9e34f73e15b8372def7 | refs/heads/master | 2020-09-23T02:39:43.274392 | 2020-04-18T03:19:53 | 2020-04-18T03:19:53 | 225,381,327 | 8 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 1,617 | hpp | #ifndef RS_KBPS_H
#define RS_KBPS_H
#include <common/core.hpp>
#include <common/io.hpp>
class IKbpsDelta
{
public:
IKbpsDelta();
virtual ~IKbpsDelta();
public:
virtual void Resample() = 0;
virtual int64_t GetSendBytesDelta() = 0;
virtual int64_t GetRecvBytesDelta() = 0;
virtua... | [
"linmin3@yy.com"
] | linmin3@yy.com |
df90a2d6bd412f2194c1007642a5afb716c0e6d3 | 642c41d3d64a5cd01c48b85f8ce9cd3fd541a6d5 | /icpc_7274.cpp | f629d8cc242d644cb27e95873726d71eda56df06 | [] | no_license | YuvalFreund/CompetionalPrograming | abf1a78dfeb6f0d5ca381bc03b47b897ef193f73 | aacc2095816b5df316dc0d4c6e4c4fe74e9e58d7 | refs/heads/master | 2020-07-01T06:54:30.446637 | 2019-08-07T17:34:49 | 2019-08-07T17:34:49 | 201,081,579 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,274 | cpp | #include <iostream>
#include <vector>
#include <set>
#include <string>
#include <algorithm>
#include <math.h>
#include <stdio.h>
#include <map>
#include <queue>
using namespace std;
typedef long long ll;
int main() {
int T;
while(cin >> T) {
for (int t = 0; t < T; t++) {
... | [
"noreply@github.com"
] | YuvalFreund.noreply@github.com |
8683d397d1a12d350204effab64f9ec9a4067379 | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Source/Runtime/UMG/Public/Components/WidgetInteractionComponent.h | e88a24c9f09491435900bd0309fe9ca031cadcf3 | [
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | windystrife/UnrealEngine_NVIDIAGameWorks | c3c7863083653caf1bc67d3ef104fb4b9f302e2a | b50e6338a7c5b26374d66306ebc7807541ff815e | refs/heads/4.18-GameWorks | 2023-03-11T02:50:08.471040 | 2022-01-13T20:50:29 | 2022-01-13T20:50:29 | 124,100,479 | 262 | 179 | MIT | 2022-12-16T05:36:38 | 2018-03-06T15:44:09 | C++ | UTF-8 | C++ | false | false | 12,762 | h | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "UObject/UObjectGlobals.h"
#include "InputCoreTypes.h"
#include "Engine/EngineTypes.h"
#include "Components/SceneComponent.h"
#include "GenericPlatform/GenericApplication.h"
#i... | [
"tungnt.rec@gmail.com"
] | tungnt.rec@gmail.com |
146c3fbbd6e0ebee38811c4656aa9930e9f0be6e | 68e68f57aa0f206735cbe63d5c6ddd2bedf3a5c3 | /PokemanSafari_M3/Character.cpp | 97abf5311e339e27c1d6791b4e9fd256e8943be4 | [
"MIT"
] | permissive | ilanisakov/RailShooter | 0162bd9aed5e210b47f481c64479aaeb6046f020 | 612945b96b37989927b99f50ffa96e2fe7e22e21 | refs/heads/master | 2021-01-21T06:11:16.710417 | 2015-12-12T00:16:56 | 2015-12-12T00:16:56 | 44,401,076 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,727 | cpp | /////////////////////////////////////////////////////////////////////
// File: Character.cpp
// DSA2 PokemanSafari_M1
// Authors:
// Ilan Isakov
// Marty Kurtz
// Mary Spencer
//
// Description:
//
/////////////////////////////////////////////////////////////////////
#include "Character.h"
////////////////////... | [
"mjk4925@rit.edu"
] | mjk4925@rit.edu |
87d6de0f400774f98d95637129bad9ea715f37fb | 6d36922b575c1bbf69033b5ae6ce4c9edf07a529 | /homework/BinaryRelation/Source.cpp | e04ca889839d0c22c1d9ad436adb46169c85ed6b | [] | no_license | kalloyan9/OOP | 4c15711da847eff615d409a3f1693a5e2479ec64 | 7644e489dfd516de7a55c16847d54218bee26b20 | refs/heads/master | 2023-02-01T21:15:54.388755 | 2020-12-13T16:47:38 | 2020-12-13T16:47:38 | 308,402,621 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,164 | cpp | #include <iostream>
using std::cin;
using std::cout;
using std::endl;
#include <string>
using std::string;
#include "BinaryRelation.hpp"
using STRING = string;
using N = int;
#include "KnowledgeBase.hpp"
int main()
{
//test constructors
BinaryRelation<N, N> test, test3;
BinaryRelation<STRING, N> test2;
test.addRel... | [
"kalloyan9@gmail.com"
] | kalloyan9@gmail.com |
6d317aa7a476d99a7743e21803a4371442a78758 | 2b090d51eb8b0603a02a82f03c7f8bd1a3b90893 | /DMOPC/dmopc14c2p2.cpp | b7d407c24ce04ecf3f13f7c87bc7c8be233d637e | [] | no_license | AnishMahto/Competitive-Programming-Code-and-Solutions | eecffc3a2c72cf557c48a25fa133a3a2b645cd69 | 20a7bed2cdda0efdb48b915fc4a68d6edc446f69 | refs/heads/master | 2020-04-28T14:13:25.614349 | 2019-03-13T03:07:50 | 2019-03-13T03:07:50 | 175,331,066 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,023 | cpp | #include <iostream>
#include <vector>
using namespace std;
int main() {
// your code goes here
bool prevWasX = false;
int n;
cin >> n;
int numberOfX = 0;
vector < vector <char> > logs;
vector <char> temp;
char current;
for (int x = 0; x < n; x++) {
cin >> current;
if (current == 'X') {
... | [
"anish.mahto99@gmail.com"
] | anish.mahto99@gmail.com |
524bc02cddee663814b51810b5f3898c621a5894 | 424bfa9f6420b46d855fb62d0aeaacb2c3d2c974 | /exploits/windows/remote/25385.cpp | 97be90e3d11d80cf0e73e47a7796882c91b3ed7f | [] | no_license | orf53975/metasploit-modules | 0873736106e4cb5e8f9e91e1c5caee72fb9ca59d | d2f3b89cce06b24cfa810c8fb44f7cf2b6ba1391 | refs/heads/master | 2021-08-23T23:44:22.017942 | 2017-12-07T03:27:10 | 2017-12-07T03:27:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,450 | cpp | source: http://www.securityfocus.com/bid/13117/info
Microsoft Internet Explorer is prone to a remote buffer overflow vulnerability when handling malformed Content Advisor files. An attacker can exploit this issue by crafting a Content Advisor file with excessive data and arbitrary machine code to be processed by the b... | [
"smartech56@gmail.com"
] | smartech56@gmail.com |
06ef175300aa490df7c4f394dcdbd553703b5ae1 | 7555d5da9586a353c6e8a9c09a3f63c165b4bad2 | /src/Player.cpp | 3f9583b7f2361a14e5b853b3aac4ed91a09567dc | [] | no_license | mishvets/Chess | d713af1ba65003d358d6dea72b3d63a3a4a4b596 | f90eb4ae86efaee644623df7132d21fa1a5be3fd | refs/heads/master | 2021-06-12T17:05:04.459703 | 2020-04-13T14:40:51 | 2020-04-13T14:40:51 | 254,367,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,014 | cpp | #include "../inc/Player.hpp"
Player::Player(const std::string &side) : _side(side), _check(false)
{
}
Player::~Player()
{
for (auto fig : _figVct)
delete fig;
}
AFigure *Player::addNewFig(const std::string &label, int posX, int posY)
{
AFigure *fig;
switch (label[1])
{
case 'P':
fig = new Pawn(label, pos... | [
"19mch97@gmail.com"
] | 19mch97@gmail.com |
eac783e74955b181545a66074dcb3339ac7cf05d | 307d3837d31f9e3728af2b62ca51ebf63fe6ec6b | /hall_of_fame/wi-seong-cheol/BOJ/0x12 Math/2312.cpp | 778aa8a4836cf9cc1e0f6fb9e497abecf50f9f58 | [] | no_license | ellynhan/challenge100-codingtest-study | 905043497d154b8a7333ca536e536d013f6e7454 | bcdc6d04f13b12ba80b42e066f9d244d7c2cc698 | refs/heads/master | 2023-09-01T14:10:13.481013 | 2023-08-27T14:38:52 | 2023-08-27T14:38:52 | 401,561,230 | 162 | 176 | null | 2023-09-09T14:56:25 | 2021-08-31T03:30:36 | C++ | UTF-8 | C++ | false | false | 1,155 | cpp | //
// 2312.cpp
// wi-seong-cheol
//
// Created by wi_seong on 2022/12/28.
//
/*
[Input]
2
6
24
[Output]
2 1
3 1
2 3
3 1
*/
// 시간복잡도: O(nloglogn)
// 최악시간: 100,000
// 난이도: Silver 3
// Timer: 10m
// Url: https://www.acmicpc.net/problem/2312
#include <iostream>
#include <vector>
using namespace std;
const i... | [
"wown252@naver.com"
] | wown252@naver.com |
9f4f0ef15dc6bba58e83cb6f87658fd71fe91011 | f8517de40106c2fc190f0a8c46128e8b67f7c169 | /AllJoyn/Samples/MyLivingRoom/Models/com.microsoft.OICBridge.oic.r.openlevel/openlevelServiceEventArgs.h | 48e2cea7dc3def9ebeb23f2ac30c844ccf4841fb | [
"MIT"
] | permissive | ferreiramarcelo/samples | eb77df10fe39567b7ebf72b75dc8800e2470108a | 4691f529dae5c440a5df71deda40c57976ee4928 | refs/heads/develop | 2023-06-21T00:31:52.939554 | 2021-01-23T16:26:59 | 2021-01-23T16:26:59 | 66,746,116 | 0 | 0 | MIT | 2023-06-19T20:52:43 | 2016-08-28T02:48:20 | C | UTF-8 | C++ | false | false | 3,968 | h | //-----------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
// Tool: AllJoynCodeGenerator.exe
//
// This tool is located... | [
"artemz@microsoft.com"
] | artemz@microsoft.com |
af239b20981a55f967202622a61d61fe759f9736 | c584f47ea1b082cafab8fb189d97f2ce5c256db8 | /lineage/instances/item.h | 1a3395d3e6ec35afee1ef5351728464ff3294232 | [] | no_license | antonshtunder/l2botdll | df3ed40c6100902181d65041b04ed21adf10158c | c592267d7ce3c783d95e8af3690136d8318ac63c | refs/heads/master | 2020-07-22T10:01:31.340314 | 2019-09-08T19:08:16 | 2019-09-08T19:08:16 | 207,159,722 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 433 | h | #ifndef ITEM_H
#define ITEM_H
#include "lineage/instance.h"
#include "utils.h"
#include "lineagerepresentation.h"
class Item : public Instance
{
public:
Item(DWORD address);
DWORD getID();
DWORD getTypeID();
DWORD getAmount();
void makeRepresentation(ItemRepresentation &mobRep);
static std... | [
"antonshtunder96@gmail.com"
] | antonshtunder96@gmail.com |
c52656be7dc5ed244ee0377293bbc32421d8c78c | 3f605502b74593bbebbd4abd9694dc100bb8da9a | /Optimization/MyForm.cpp | 8f481f69918dd071661a98152d9a18ef39c17a33 | [] | no_license | ywchiang0819121/EM-HW2 | e2bbd67947c58e76d061eff7b496984c3ca183f4 | 3ae71448750a718752413b1a4e054d05df220306 | refs/heads/master | 2020-03-18T23:40:29.535437 | 2018-05-31T08:46:05 | 2018-05-31T08:46:05 | 135,418,322 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 292 | cpp | #include "MyForm.h"
using namespace System;
using namespace System::Windows::Forms;
[STAThread]
int main(array<String^>^ argv)
{
Application::EnableVisualStyles();
Application::SetCompatibleTextRenderingDefault(false);
Optimization::MyForm windowsForm;
Application::Run(%windowsForm);
}
| [
"ywchiang0819121@github.com"
] | ywchiang0819121@github.com |
e6728bddf67e41d5c25e958da01198051d7d9136 | 7347cb60d9a8b66abee11ef2f5271e14c45cfd6d | /src/gamestates.cpp | 3db995a4f323dd83ca82bc947640b7df91b959f0 | [
"BSD-3-Clause"
] | permissive | kxion/biribiribeat | 69ce5d53acc8b0ee2eb37e9fdd789c473f5d2f5a | b52d2380bdf38205008f1c579a6ecce7a3754017 | refs/heads/master | 2023-03-27T20:21:56.347743 | 2020-02-09T03:02:17 | 2020-02-09T03:02:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,153 | cpp | /**
* \file
* \author shiyouganai
* \copyright 2019-2020 shiyouganai
*
* \brief File defining classes for game states.
*/
#include "Arduboy2.h"
#include "Squawk.h"
#include "squawk_defines.h"
#include "gamestates.h"
#include "rhythm_manager.h"
#include "navi.h"
#include "bitmaps/sprites_main.h"
#include "audio/s... | [
"44214460+shiyouganai@users.noreply.github.com"
] | 44214460+shiyouganai@users.noreply.github.com |
664d02bc0908c3ba1ac06c766bd33de77d9bcd22 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /media/base/audio_converter_unittest.cc | b25bb6500b1deca516395e154e4daff53c15ad48 | [
"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 | 10,018 | cc | // 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.
#include "media/base/audio_converter.h"
#include <stddef.h>
#include <memory>
#include "base/macros.h"
#include "base/memory/ptr_util.h"
#include "... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
150b9da739d022f73820dcb90f5e3ed6392d2c02 | 8ed8027c1bf5483c189b27b485127b72cfd0f722 | /glowdeck/Pixels_SPIhw.h | 0760ab0fab301dd790e57ae438255038bb632b50 | [
"Apache-2.0"
] | permissive | PLSCO/Glowdeck_Xcode | 30d6f691dc6c449d09288f88b3dd123a25443e8d | ef287b17fb634df6714d7a7e9ca5f9fd629d1f34 | refs/heads/master | 2021-05-05T19:01:12.913769 | 2017-09-16T23:10:43 | 2017-09-16T23:10:43 | 103,789,503 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,265 | h | /*
* Pixels. Graphics library for TFT displays.
*
* Copyright (C) 2012-2013 Igor Repinetski
*
* The code is written in C/C++ for Arduino and can be easily ported to any microcontroller by rewritting the low level pin access functions.
*
* Text output methods of the library rely on Pixelmeister's font data forma... | [
"jmkauf@gmail.com"
] | jmkauf@gmail.com |
7a5084d90258d0474012cc5bc60c82e38b773df4 | 78702d0311366c552eba2f7cf7c4a2d3c84c96f4 | /1.3/barn1/barn1.cpp | ff303392369c53a0eccb6c9dd3892acb30878034 | [] | no_license | stella-gao/USACO-1 | ac8ef23eff0513e561896f3e17c20b0dba6b13fe | 100255d700686ebe55ace61e4f9cc18901eccee6 | refs/heads/master | 2021-01-22T16:44:34.379025 | 2015-06-11T22:52:17 | 2015-06-11T22:52:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,602 | cpp | /*
ID: vedaad71 ... | [
"vedaad799@gmail.com"
] | vedaad799@gmail.com |
0109a6270b62234704a641eabfbc9d724f5ad08e | b269392cc4727b226e15b3f08e9efb41a7f4b048 | /HDU/HDU 1878.cpp | 4d78dace2309104a0b11894d3f435ecf07e06ab4 | [] | no_license | ThoseBygones/ACM_Code | edbc31b95077e75d3b17277d843cc24b6223cc0c | 2e8afd599b8065ae52b925653f6ea79c51a1818f | refs/heads/master | 2022-11-12T08:23:55.232349 | 2022-10-30T14:17:23 | 2022-10-30T14:17:23 | 91,112,483 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,208 | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
using namespace std;
#define MAXN 1005
int edge[MAXN][MAXN]; //邻接矩阵
int indegree[MAXN]; //每个点的入度
int outdegree[MAXN]; //每个点的出度
int vis[MAXN];
int n,m;
void dfs(int x)
{
vis[x]=1;
for(int i=1; i<=n; i++)
{
if(edge[x][i] && !vis[i])
... | [
"1273789365@qq.com"
] | 1273789365@qq.com |
6cdc0cdb55eb77d098124d92fe91254d2f0dce0a | e26c93d21da4608eb4e4014a60ccba3c79f95c43 | /core/spislaveadapter.hpp | e80315d435c290b2decf11d6b10cc5aadf42ac36 | [
"MIT"
] | permissive | suikan4github/murasaki | ac125a928dcebb07e627f6a59594b9e12813e860 | bfa0dcb3d1df4d9a66c658f2fbdc3995c61a064c | refs/heads/master | 2023-08-14T18:59:20.626438 | 2023-07-09T12:28:50 | 2023-07-09T12:28:50 | 169,833,441 | 15 | 3 | MIT | 2023-07-09T12:28:51 | 2019-02-09T04:58:56 | C++ | UTF-8 | C++ | false | false | 2,264 | hpp | /**
* @file spislaveadapter.hpp
*
* @date 2018/02/17
* @author Seiichi "Suikan" Horie
* @brief STM32 SPI slave speifire
*/
#ifndef SPISLAVEADAPTER_HPP_
#define SPISLAVEADAPTER_HPP_
#include <spislaveadapterstrategy.hpp>
// Check if CubeMx geenrates the SPI modeule
#ifdef HAL_SPI_MODULE_ENABLED
namespace muras... | [
"26223147+suikan4github@users.noreply.github.com"
] | 26223147+suikan4github@users.noreply.github.com |
f0e8b67f0b93e6e6dd1ce22f1b265ae054582241 | de35a8b5d5e1a8c00a0b50a6c639cc44c0a30be4 | /Code/Game/Sandbox.hpp | ff2dfb37e84dfaea436dd717cada4aa6581f33ff | [] | no_license | vingenuity/ClothPhysics | a6c6aa42c7b50367aa7882c222b6313928206086 | a4c4c22003ce1adacd93899b2fb5a2858bda584b | refs/heads/master | 2021-01-22T03:29:43.447602 | 2014-03-31T23:24:21 | 2014-03-31T23:24:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,030 | hpp | #ifndef INCLUDED_SANDBOX_HPP
#define INCLUDED_SANDBOX_HPP
#pragma once
//-----------------------------------------------------------------------------------------------
#include "../Engine/Input/Keyboard.hpp"
#include "../Engine/Input/Mouse.hpp"
#include "../Engine/Input/Xbox.hpp"
#include "../Engine/Camera.hpp"
#incl... | [
"howlingblue@gmail.com"
] | howlingblue@gmail.com |
bcadf9b73074e3fecddfadd88466a5cd0d599bd2 | af11f45f57f71e649832fb386259696254efaad6 | /MiniProj/MapEditorMain.h | 5bdaa2fe52d19698ae35993044007e8d561fecb3 | [] | no_license | charvakcpatel007/Bomberman | 75a10478c418000e6350d1b1e0bd57473fc943a8 | 2a7fd41085ad06cb7e7f9871d839ee5bff01e552 | refs/heads/master | 2021-01-10T13:36:00.356162 | 2016-05-07T04:21:36 | 2016-05-07T04:21:36 | 55,512,685 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 409 | h | #pragma once
#include "BasicGame.h"
#include "TextSprite.h"
#include "ClickableMap.h"
class MapEditorMain :
public BasicGame
{
public:
MapEditorMain();
virtual ~MapEditorMain();
void render() override;
void update() override;
void updateOffset();
void processInput() override;
ClickableMap curMap;
int margin;
... | [
"charvakcpatel007@gmail.com"
] | charvakcpatel007@gmail.com |
5427ce4e26b16ecdec051ce7b5c05fb28f242d4d | 08818395e3edefb9837397c74fa53c8f487a28e1 | /AmeisenNavmeshGen/block.h | 44074da95dcb575276598f7e6d75e402ec07b2d9 | [] | no_license | Chaos192/AmeisenNavmeshGen | d67062fe42346d60015abdcf94bcd6c6cb2a4f59 | b2f5cb5d039eadbe621e248bfcfb609fb5941e56 | refs/heads/master | 2022-03-28T05:13:30.865565 | 2018-12-08T10:59:51 | 2018-12-08T10:59:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 161 | h | #pragma once
#ifndef _H_BLOCK
#define _H_BLOCK
#include "chunk.h"
constexpr float BLOCK_SIZE = 533.33333F;
struct Block
{
Chunk chunks[16 * 16];
};
#endif
| [
"jannis@jnns.de"
] | jannis@jnns.de |
3d84130f908a3a98bd8fc0835f7540659c47a64b | 5c0cde9516179e199beda1104a329b252c7684b7 | /Graphics/Middleware/QT/include/QtXmlPatterns/5.0.2/QtXmlPatterns/private/qgmonthday_p.h | 43874420d7b8917794d2022b201de1abdde7a35b | [] | no_license | herocrx/OpenGLMatrices | 3f8ff924e7160e76464d9480af7cf5652954622b | ca532ebba199945813a563fe2fbadc2f408e9f4b | refs/heads/master | 2021-05-07T08:28:21.614604 | 2017-12-17T19:45:40 | 2017-12-17T19:45:40 | 109,338,861 | 0 | 0 | null | 2017-12-17T19:45:41 | 2017-11-03T01:47:27 | HTML | UTF-8 | C++ | false | false | 3,139 | h | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtXmlPatterns module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Li... | [
"hubertkuc13@gmail.com"
] | hubertkuc13@gmail.com |
8842406340035d7606cfb44a2f6ac7818735f572 | 77f7b9c32665fe795c8d6c77412dce8c8013a3c1 | /BaseCommon/ServerBase/Base/BaseServer.cpp | 727d9730df044f18c557e2a4cf33dd6ca6b29169 | [] | no_license | wenge8126/MemoryDB | 7d9fb7e8aaf2393941f90089f80cf6bd6a9b1419 | b5e133a23db94039990270a198f29bb4b0275cdc | refs/heads/master | 2021-09-10T16:21:00.935843 | 2018-03-29T05:47:45 | 2018-03-29T05:47:45 | 113,527,948 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 4,506 | cpp |
#include "BaseServer.h"
#include "ShareMemAO.h"
//-------------------------------------------------------------------------
#include "TableManager.h"
//#include "EventCenterManager.h"
#include "BaseThread.h"
#ifdef __WINDOWS__
#include <Windows.h>
#endif
//#include "UDPEasyNet.h"
tBaseServer::tBaseServer()
: mBa... | [
"34360740+wenge8126@users.noreply.github.com"
] | 34360740+wenge8126@users.noreply.github.com |
0b56c8580ac33d6f0fc00fff0ee5485067faf33f | cd7d56b7181e5babca367beec021ad92e10555aa | /src/overload/liboverload.cc | 1fe96dc28735121d9ea87d0cae5d786bfd023c83 | [] | no_license | Exifers/Libtree | 00b733603ed9b229e4a343c3d7a4b960a45f0b6e | 01141ddd7d2b6896970180099433144b145f036a | refs/heads/master | 2021-09-10T11:12:22.107131 | 2018-03-25T09:24:49 | 2018-03-25T09:24:49 | 125,089,703 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 653 | cc | /**
** \file overload/liboverload.cc
** \brief Define exported type functions.
*/
#include <overload/binder.hh>
#include <overload/liboverload.hh>
#include <overload/type-checker.hh>
namespace overload
{
std::pair<overfun_bindings_type, misc::error>
bind(ast::Ast& tree)
{
Binder bind;
bind(tree);
... | [
"renault@lrde.epita.fr"
] | renault@lrde.epita.fr |
68da943de65a0703d194a4966601730dc33108e2 | 01325a946f48339cbff180d4e15cbf8596846681 | /src/test_program.hpp | 0129261a7ead88ba4a23ffb909c1712b8485e5aa | [
"MIT"
] | permissive | setyolegowo/ITB-IF5111-2019 | 8f47f3f79b6768d656dff440c4c9dcb3ad8da747 | 4b53c9a69e49bb801fa65b633689670bf2edf4ff | refs/heads/master | 2020-04-23T07:51:05.663527 | 2019-03-01T02:13:55 | 2019-03-01T02:13:55 | 171,018,519 | 0 | 0 | MIT | 2019-02-26T00:29:40 | 2019-02-16T15:27:30 | C++ | UTF-8 | C++ | false | false | 1,021 | hpp | /**
* node_structre.hpp file.
*
* @author Setyo Legowo <gw.tio145@gmail.com>
* @since 2019.02.18
*/
#ifndef ANALGO_TEST_PROGRAM_H_
#define ANALGO_TEST_PROGRAM_H_
#include <string>
#include <stdint.h>
#include <iostream>
#include <fstream>
#include <sys/time.h>
#include "algo/base_algo.hpp"
#include "algo/index_... | [
"hanifanmohamad@gmail.com"
] | hanifanmohamad@gmail.com |
02a5e3fd75ba379ea7cf2ef92be26c20876d5b22 | 654c2151e8e76478282a7221c9972fd4a8bae632 | /include/gideon/cs/datatable/template/region_coordinates.hxx | a2e2232b45601bc751dedf5449d0a77626eddcd8 | [] | no_license | mark-online/cs | 485e06f1d3ad3a85837ed76ae259a3b89e37d40f | d1ff39f56f85117deca0ec3e626a9ad9429fbd49 | refs/heads/master | 2020-11-24T10:53:25.846048 | 2019-12-15T02:32:15 | 2019-12-15T02:32:15 | 228,116,343 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,524 | hxx | // Copyright (c) 2005-2014 Code Synthesis Tools CC
//
// This program was generated by CodeSynthesis XSD, an XML Schema to
// C++ data binding compiler.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Fre... | [
"kcando@gmail.com"
] | kcando@gmail.com |
bae2e3073deec2392d116f21805ae08eb67d3db1 | 1ea9776dba66ef83e73ef3b3b9a16af6b83ee973 | /gerstner_wave/src/gerstnerWaveCmd.h | a5967b6db1a48880ef2976c8458cc064360c3e6f | [] | no_license | nyers33/maya_scripts_plugins | ad14ccbb6f50de47232442abfecb2677f8c42f88 | e1f8a85de1b19b8701a7aae6c4ee2b85566f669e | refs/heads/master | 2021-12-24T18:18:57.330091 | 2021-12-16T09:32:20 | 2021-12-16T09:32:20 | 216,003,949 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 457 | h | #ifndef GERSTNERWAVECMD_H
#define GERSTNERWAVECMD_H
#include <maya/MPxCommand.h>
#include <maya/MSyntax.h>
#include <maya/MArgList.h>
#include <maya/MDGModifier.h>
class gerstnerWaveCmd : public MPxCommand
{
public:
virtual MStatus doIt(const MArgList&);
virtual MStatus undoIt();
virtual MStatus redoIt();
virtual... | [
"tibornyers@gmail.com"
] | tibornyers@gmail.com |
c37ce1e0a0701642cd271651b345aefa8b36c8b3 | c0e0138bff95c2eac038349772e36754887a10ae | /mdk_release_18.08.10_general_purpose/mdk/common/components/Eigen/EigenTests/tests/Eigen_sizeof/shave/sizeof_test.cpp | 7a2962a45f40f89f7e2009aa6b02f0e9e858d35e | [] | no_license | elfmedy/vvdn_tofa | f24d2e1adc617db5f2b1aef85f478998aa1840c9 | ce514e0506738a50c0e3f098d8363f206503a311 | refs/heads/master | 2020-04-13T17:52:19.490921 | 2018-09-25T12:01:21 | 2018-09-25T12:01:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 704 | cpp | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2015 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// 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 ob... | [
"palani.andavan@vvdntech.com"
] | palani.andavan@vvdntech.com |
edfcacc803f30cc341203f2eaee802f1f763c9f0 | 0dd9cf13c4a9e5f28ae5f36e512e86de335c26b4 | /LeetCode/leetcode_profitable-schemes.cpp | a0512a53dc54a6869bd892cc845c388dc8ebb882 | [] | no_license | yular/CC--InterviewProblem | 908dfd6d538ccd405863c27c65c78379e91b9fd3 | c271ea63eda29575a7ed4a0bce3c0ed6f2af1410 | refs/heads/master | 2021-07-18T11:03:07.525048 | 2021-07-05T16:17:43 | 2021-07-05T16:17:43 | 17,499,294 | 37 | 13 | null | null | null | null | UTF-8 | C++ | false | false | 874 | cpp | /*
*
* Tag: DP
* Time: O(npg)
* Space: O(pg)
*/
class Solution {
private:
const int MOD = 1000000007;
public:
int profitableSchemes(int G, int P, vector<int>& group, vector<int>& profit) {
if(G == 0 || group.size() == 0 || profit.size() == 0){
return 0;
}
vector<vect... | [
"noreply@github.com"
] | yular.noreply@github.com |
5fe9187d5fb012c2c15a94fd43f16a05a69ed280 | dcf149e4e695e74165b40df30c6d327fe3f2fa3e | /libcurv/tail_array.h | 4f18f4397d7bc0e1f087520bdc3594e94761d619 | [
"Apache-2.0"
] | permissive | zeeyang/curv | d3fc87de0d270e19ec9f106c311a7db489b0c874 | 8fc802195bcf6fd52e4f8fadfb543d167615ea0e | refs/heads/master | 2023-04-17T19:02:57.255183 | 2021-05-05T01:02:59 | 2021-05-05T01:02:59 | 355,307,309 | 0 | 0 | Apache-2.0 | 2021-05-05T18:28:06 | 2021-04-06T19:29:43 | C++ | UTF-8 | C++ | false | false | 11,136 | h | // Copyright 2016-2020 Doug Moen
// Licensed under the Apache License, version 2.0
// See accompanying file LICENSE or https://www.apache.org/licenses/LICENSE-2.0
#ifndef LIBCURV_TAIL_ARRAY_H
#define LIBCURV_TAIL_ARRAY_H
#include <type_traits>
#include <cstdlib>
#include <cstring>
#include <new>
#include <utility>
#i... | [
"doug@moens.org"
] | doug@moens.org |
29162172e68708cd4720c9d707925151395fb0cc | 603e4bcfb9caab371e97caa049102110856474d1 | /Linked List/find_a_node_in_LL.cpp | 0035bb06610b7091f51da07d11a0675caae0b199 | [] | no_license | sahilmehra98/Data-Structures | cc1f8a1173f306582f2a9098527c953732a333f8 | 106684017f17f7575cdc76a10753868506d2d507 | refs/heads/master | 2023-03-10T21:39:06.196324 | 2020-06-07T18:07:14 | 2020-06-07T18:07:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,577 | cpp | /*
Find a node in LL
Given a linked list and an integer n you need to find and return index where n is present in the LL. Do this iteratively.
Return -1 if n is not present in the LL.
Indexing of nodes starts from 0.
Input format :
Line 1 : Linked list elements (separated by space and terminated by -1)
Line 2 : Integ... | [
"saahilmehra1998@gmail.com"
] | saahilmehra1998@gmail.com |
be5fe104ab0a22e6bda018b72b586783bcadbd24 | a9f28860e243219187ea42db2e1a830cad275b7d | /Classes/Button.h | 8e1f7a948b5da0c7b2e6165d6222630541d8450f | [] | no_license | zeroAA/GetFish | f6f0af7afab1a349ff304aacf1d3ce45930b0a3c | 24560d59d1441de5eeebfc338637ed1174851b1c | refs/heads/master | 2016-09-15T19:51:17.050602 | 2015-09-08T10:06:58 | 2015-09-08T10:06:58 | 29,575,600 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,012 | h | //
// Button.h
// Zengine
//
// Created by zs on 14-6-13.
//
//
#ifndef __Zengine__Button__
#define __Zengine__Button__
#include "cocos2d.h"
#include "Actor.h"
USING_NS_CC;
class Button : public Actor
{
public:
Button();
static Button* create(int id, const char* name);
virtual bool init... | [
"zero-87@163.com"
] | zero-87@163.com |
90ad9c731be26e0c39555cb35397a57e97f943b3 | efd15f42f6470a8fe73188456cfbe44143f426c9 | /fsm.hpp | 39bdd3e1896ddc9781196d8b53a2230b818590c4 | [] | no_license | pehlivanian/Order_FSM | 01e739b6435e38f3279ea68a6421701833955ef7 | 75da7695ff5543054e317473b3f7bbb4f32203f6 | refs/heads/master | 2021-01-23T20:12:05.378358 | 2016-09-12T14:53:45 | 2016-09-12T14:53:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,557 | hpp | #ifndef __FSM_H__
#define __FSM_H__
#include <assert.h>
#include "debug.h"
template< class Outer, typename STATES, typename EVENTS >
class FSM {
public:
typedef void (Outer::*ActionFn)();
FSM(ActionFn a[STATES::NSTATES][EVENTS::NEVENTS]);
void* fsm_args;
void state_transition(STATES new_stat... | [
"pehlivaniancharles@gmail.com"
] | pehlivaniancharles@gmail.com |
49011bb855d7013bf110e840ecb11ed1a70a37d9 | 65c350aecdd2923e4e5a6f5f6b9b3f998fd5083f | /mylist.cpp | c142d5ad784fd630040624a37ecc6193e4828a59 | [] | no_license | io-eft/di-operating-systems-first-project | d4ce0492340749cd48b79f61c57425b3fefc4328 | 759e4f38a52a8b3de308ee89c6571467f10f4c04 | refs/heads/master | 2020-12-24T19:36:55.346319 | 2016-05-20T20:22:36 | 2016-05-20T20:22:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,609 | cpp | #include "mylist.hpp"
MyList::Node::Node():content(NULL), next(NULL) {}
MyList::Node::Node(TaxPayer* tax):content(tax), next(NULL) {}
MyList::MyList():head(NULL), nodes(0), totaldebt(0) {}
MyList::~MyList()
{
Node* temp;
while(head != NULL)
{
temp = head;
head = head->next;... | [
"johnnyeft@gmail.com"
] | johnnyeft@gmail.com |
12d3ecfb2af61df56390a4c9e1aaf95893b2dff6 | ecadb984b00652c9a746852a023e59d397299b34 | /unit_test/next_permutation_test.cpp | 96ea2f2151cabca51318c72499bf0f81210c40f8 | [] | no_license | sylcrq/leetcode | 12dfa56451cfeac7e34020f505f1c7e1efcaec25 | 315bb79471a91e74a43262ce5762eb2a40986a10 | refs/heads/master | 2021-01-20T02:46:45.683702 | 2015-07-13T06:31:42 | 2015-07-13T06:31:42 | 23,686,865 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 713 | cpp | #include "gtest/gtest.h"
#include <iostream>
#include <vector>
using namespace std;
void nextPermutation(vector<int> &num);
void print_vector(vector<int>& num)
{
for(vector<int>::iterator it=num.begin(); it != num.end(); it++)
{
std::cout << *it << "-";
}
std::cout << std::endl;
}
TEST(Next... | [
"syl272365943@126.com"
] | syl272365943@126.com |
8bda1df66f0a3ee9e96040d07662a98556b83ba4 | d659fd2ed49d75a346bd02e45fa6c1f30085a609 | /tracikpy/src/trac_ik.cpp | 699db3745605c1e31cecff3247bde412e5bb4b9d | [
"MIT"
] | permissive | mjd3/tracikpy | 770428466121c2604891586c4af7633d58d1174a | 58f5a7f46ba14dd6f8a6780e32be5f365cec809e | refs/heads/main | 2023-07-11T19:07:13.714158 | 2021-08-18T00:05:29 | 2021-08-18T00:05:29 | 366,231,476 | 23 | 3 | MIT | 2021-08-11T02:25:31 | 2021-05-11T02:22:08 | C++ | UTF-8 | C++ | false | false | 11,802 | cpp | /********************************************************************************
Copyright (c) 2015, TRACLabs, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source cod... | [
"michael.danielczuk@gmail.com"
] | michael.danielczuk@gmail.com |
bd14ac94d7a1f069c508fb5479fcf0d43d5cf667 | f83a6c5560d8971b675fe52954cfb58bc1785403 | /Flame Simulation/Shader.h | 3f604739473d331716f23f06fb0c8124d1f132cc | [] | no_license | mistajuliax/Flame-Sim-OpenGL | 46b782813aced3b57cb44eee880ca792fcc99bcf | 95114f72663a3e1bb7ee87e869a75806f33036ac | refs/heads/master | 2020-03-25T05:02:10.052649 | 2018-05-23T22:22:14 | 2018-05-23T22:22:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 894 | h | #ifndef _SHADER_H_
#define _SHADER_H_
#include "glew.h"
#include <glm.hpp>
#include <string>
//shader class containing indexes of uniform locations and the shader program itself
//also contains functions for loading shaders from file and setting uniforms before drawing
//materials have a pointer to a shader
class Shad... | [
"fairsy2104@gmail.com"
] | fairsy2104@gmail.com |
963334aca70870550d61995c5bd9d7092255a10f | a13e7993275058dceae188f2101ad0750501b704 | /2021/1475. Final Prices With a Special Discount in a Shop.cpp | 01dc56b7878cffaa85a2566e04e3de3188ff29d7 | [] | no_license | yangjufo/LeetCode | f8cf8d76e5f1e78cbc053707af8bf4df7a5d1940 | 15a4ab7ce0b92b0a774ddae0841a57974450eb79 | refs/heads/master | 2023-09-01T01:52:49.036101 | 2023-08-31T00:23:19 | 2023-08-31T00:23:19 | 126,698,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 852 | cpp | class Solution {
public:
vector<int> finalPrices(vector<int>& prices) {
vector<bool> done(prices.size(), false);
for (int i = 0; i < prices.size(); i++) {
for (int j = 0; j < i; j++) {
if (done[j] || prices[i] > prices[j]) continue;
prices[... | [
"yangjufo@gmail.com"
] | yangjufo@gmail.com |
b4df0eedd8832af8599d3a480595be322ab0a09a | e04f82d5b50f396ae1351d40f5e44d0df096c0b2 | /2.Advanced_Class/코드(Code)/CPP/실습관리프로그램/실습관리프로그램/member.cpp | 6a2d34dd1df2856879d7bd772931387aee79a206 | [] | no_license | SIRAbae/-BIT-Class-Sangbae-Growth-Diary | de1013e5b5187d32dfeb370a03ed6db49031739f | 50e5315ccc5af70a420aeb90c65cf12029b034eb | refs/heads/master | 2022-04-08T18:44:34.606970 | 2020-03-19T11:49:44 | 2020-03-19T11:49:44 | 246,871,821 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30 | cpp | //member.cpp
#include "std.h"
| [
"56426302+SIRAbae@users.noreply.github.com"
] | 56426302+SIRAbae@users.noreply.github.com |
aed0754b3fa02afe315a6ddbeeb79e355e12c28e | 75170796d8bdb28af03535327c6b2e3a9db5aff7 | /old/betacopter/old/betacopter34rc5-v21r/libraries/APM_Control/AP_PitchController.h | 7cdac2d63f6eb8b332fe46537bd32110ace3e93d | [] | no_license | olliw42/storm32bgc | 3428f2c4ea4de2709fd7070f5f02a480ecd0c343 | 1bc59f3f62aedb958c01c4ae1583a59d60ab9ecf | refs/heads/master | 2023-04-29T10:18:41.201912 | 2023-04-16T12:32:24 | 2023-04-16T12:32:24 | 14,874,975 | 509 | 284 | null | null | null | null | UTF-8 | C++ | false | false | 1,597 | h | // -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#pragma once
#include <AP_AHRS/AP_AHRS.h>
#include <AP_Common/AP_Common.h>
#include <AP_Vehicle/AP_Vehicle.h>
#include "AP_AutoTune.h"
#include <DataFlash/DataFlash.h>
#include <AP_Math/AP_Math.h>
class AP_PitchController {
public:
AP_Pitch... | [
"waldmanns@gmx.de"
] | waldmanns@gmx.de |
2248126bd6dc083e841a62dd082be0bcc5782b05 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /components/google/core/browser/google_url_tracker_unittest.cc | eed326c70f8d0b60de7f95f36fb15729473e720a | [
"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 | 11,513 | cc | // Copyright 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.
#include "components/google/core/browser/google_url_tracker.h"
#include <memory>
#include <string>
#include <utility>
#include "base/macros.h"
#include ... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
ee1a3eac723293416fad54db2c3afff88e99c646 | 1c80ec775e3c23183a0234a8ba8969407ce8ff0d | /components/MPR121/examples/mpr121test.cpp | dd7ac781f92e1499b63021461bd349b167643925 | [
"BSD-3-Clause"
] | permissive | DigKleppe/dmmGui | 7aaaceddfbaab4251ee79deccc9b8cd4dfc88446 | 0f3d93b778680e50e031a014848b57ef7f98242e | refs/heads/main | 2023-03-26T03:33:41.548747 | 2021-03-21T08:24:15 | 2021-03-21T08:24:15 | 344,567,636 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 561 | cpp | #include "../../MPR121/src/mpr121.h"
#include <Streaming.h>
#include <Wire.h>
#include "../../../../arduinoLib/arduinoCores/Arduino.h"
TwoWire wire(1);
MPR121 mpr121(&wire);
uint16_t baselines[12];
uint16_t values[12];
extern "C" void app_main() {
uint16_t touchbits;
Serial.begin(115200);
Serial << "mpr121 test\... | [
"D.Kleppe@kpnmail.nl"
] | D.Kleppe@kpnmail.nl |
edfb6a9571550be74eed96665afbd001346d82d3 | 04142fdda9b3fb29fb7456d5bc3e504985f24cbe | /mmcv/ops/csrc/parrots/points_in_polygons_parrots.cpp | d52018e6451f52d0c10648cea2ee036b3214376d | [
"Apache-2.0"
] | permissive | open-mmlab/mmcv | 419e301bbc1d7d45331d67eccfd673f290a796d5 | 6e9ee26718b22961d5c34caca4108413b1b7b3af | refs/heads/main | 2023-08-31T07:08:27.223321 | 2023-08-28T09:02:10 | 2023-08-28T09:02:10 | 145,670,155 | 5,319 | 1,900 | Apache-2.0 | 2023-09-14T02:37:16 | 2018-08-22T07:05:26 | Python | UTF-8 | C++ | false | false | 813 | cpp | // Copyright (c) OpenMMLab. All rights reserved
#include <parrots/compute/aten.hpp>
#include <parrots/extension.hpp>
#include <parrots/foundation/ssattrs.hpp>
#include "points_in_polygons_pytorch.h"
using namespace parrots;
#ifdef MMCV_WITH_CUDA
void points_in_polygons_cuda_parrots(CudaContext& ctx, const SSElement&... | [
"noreply@github.com"
] | open-mmlab.noreply@github.com |
f56e5a559ad155d0648c306a650f6cd012039e5b | b657271dbd5b74fc0b0c1135a8a81dea12ff264f | /ch6/morphology/morph_simple_demo.cpp | df03bf8b2cdeeef822f657578fbcf31330f3ae3d | [
"MIT"
] | permissive | icyplayer/OpenCV3Learning | 2ca00d7f8fb576bc05d9cf65d8b89269e1a91d36 | c2d107b6b8895086f499c6be16c2e15521d36799 | refs/heads/master | 2021-01-17T09:57:23.774990 | 2017-03-22T14:32:36 | 2017-03-22T14:32:36 | 83,996,539 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 890 | cpp | /*
* morph_simple_demo.cpp
*
* Created on: 2017年3月13日
* Author: icyplayer
*/
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <iostream>
using namespace cv;
using namespace std;
int main_morph()
{
Mat image = imread("5.jpg");
namedWi... | [
"icyplayer@163.com"
] | icyplayer@163.com |
687d78f8997f9c5909b5a14293b882694d559018 | 2487e1caaadb4c5e10d5907372881ab3e8b3a42d | /include/det.h | 33392d3acf807ae0f3bdbc29548d100daa83477d | [] | no_license | ChronoBro/unpackerProtoNeutronDet | 44207e9728b5d1afa6c52f26a5f3b9f69b98824a | 0ccda84bc8fbfcb3d5c022457c687aecdf7a1fa2 | refs/heads/master | 2021-01-01T20:47:00.215404 | 2017-09-07T05:27:33 | 2017-09-07T05:27:33 | 98,932,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 856 | h | #ifndef det_
#define det_
#include <iostream>
#include <vector>
#include <cmath>
#include "TRandom.h"
#include "detector.h"
#include "histo.h"
#include "correl.h"
#include "doppler.h"
using namespace std;
/**
*!\brief detector readout
*
* responsible for unpacking the data stream for physics events
*/
class det... | [
"dannyc32000@yahoo.com"
] | dannyc32000@yahoo.com |
393d1ceafa3cfb09dff946ae841d1cb83f68f642 | de142c6a3fc7d02b1f0f575ec7c4f958cc1e7999 | /Plugins/PortalGate/Source/PortalGate/Public/PortalTree.h | 8f60b115c313dbd43c59cb7170d610b764bbd10a | [] | no_license | WeaponSoon/PortalUE | 575c160c199fcf26f0fb645bdbeadafafb511526 | defedfbb419ba6345d8c4b990c4e7b00e8a71dd6 | refs/heads/master | 2020-05-04T17:40:22.747130 | 2019-04-03T17:18:32 | 2019-04-03T17:18:32 | 179,321,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 657 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "UObject/GCObject.h"
/**
*
*/
class PORTALGATE_API PortalTree : FGCObject
{
public:
PortalTree();
~PortalTree();
private:
class PortalNode* root;
void BuildPortalTreeInternal(PortalNod... | [
"sdswp@126.com"
] | sdswp@126.com |
99c748a9db74a50cb47c55914c75baebcf5393df | cd1e4eababa89659b79fe70e964b9f311b877e13 | /inc/common/Any.h | 4188ed24c6b37935b6f5a361570512e2ff3424fc | [] | no_license | luada/GameEngine | 725f72fb8573384b3c0128f283ffcc7e251265d6 | b8cfb28e593e80642df94e46ac51554bc4e86d1f | refs/heads/master | 2020-04-08T20:02:53.102842 | 2018-11-29T14:56:03 | 2018-11-29T14:56:03 | 159,682,074 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,623 | h | #pragma once
#include <algorithm>
#include <typeinfo>
#include <string>
/** Variant type that can hold CAny other type.
*/
class CAny
{
public:
CAny() : m_content(0) {}
template<typename ValueType>
explicit CAny(const ValueType & value)
: m_content(new CHolder<ValueType>(value)) {}
CA... | [
"451215953@qq.com"
] | 451215953@qq.com |
de6fcce8ff0d5186597400e616316cc86cdb6bd3 | f1fe89d5668cd00a4690099d0b2bf1cd2cb38fc2 | /C++设计模式/设计模式day2 单例模式/设计模式day2 单例模式/main.cpp | 495483a68a1589b2f0e2e665c5891c2149e1cf73 | [] | no_license | ayili123/C- | 20c6b0354b659db13b09f7ce78e181b5ae78d26f | f1d05de8249f050b94d7fd500544feea5b3b31dc | refs/heads/master | 2021-02-18T06:25:45.860980 | 2020-03-18T05:03:22 | 2020-03-18T05:03:22 | 245,170,152 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,921 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <string>
using namespace std;
/*
单例:只能创建一个这样的类有----懒汉式(先判断在创建)---饿汉式(先于main函数创建)
遇到多线程时用饿汉式,懒汉式不安全,懒汉式就不是真的单例了
步骤:
1.将构造函数私有化
2.增加静态私有的当前类的指针变量
3.增加静态对外接口,可以让用户获得单例对象 static 可以这样::
*/
class A {
private:
A() {
pA = new A;
}
public://返回单例
static A* ... | [
"1253387326@qq.com"
] | 1253387326@qq.com |
342a01f92098224c19535644e8c9c55f2ddb4f2f | 31c5a33c9406619bb92046c79b75afd8bc29ee03 | /C++.vs/backtrack/code.c++ | a220a0848149ee003926f0d9c7e5e9a5d23cdcb7 | [] | no_license | ishu2004/C-files | 5061829536ba63fb819cc4a02372cb2d25e27156 | e66396457efc061a61387e6d61d4019ddf4ec221 | refs/heads/master | 2023-08-12T14:22:07.450851 | 2021-10-05T20:17:58 | 2021-10-05T20:17:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 272 | #include<iostream>
using namespace std;
bool issafe(int** arr,int x,int y,int n){
if(x<n && y<<n && arr[x][y]==1){
return true;
}
return false;
}
bool ratinMaze(int** arr, int x,int y,int n, int** solArr){
if()
}
int main() {
return 0;
}
| [
"ayushayush.sadwal@gmail.com"
] | ayushayush.sadwal@gmail.com | |
f4a38e567a3c8ba60da9495fe06a98ceb0511148 | 9119ed5676db3846bba26f7e6ab52b937a913919 | /CodeChef/Codingo/DIFFPENS.cpp | e8d0977e9c17956f732c2f3f08e9f6204c2f9f99 | [] | no_license | RaghavKaushal03/Competitive-Coding | 310de2f0fe1599f7bf030cb3748543e7c672aa16 | 20dc6fa6c06840fd124de7f6267d1691b142ddcc | refs/heads/master | 2023-02-24T20:13:08.222589 | 2021-01-30T22:18:07 | 2021-01-30T22:18:07 | 324,419,865 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 306 | cpp | #include <iostream>
using namespace std;
int main() {
int t;
cin>>t;
while(t--){
int n;
cin>>n;
int h=0;
char arr[n+1];
for(int i=0;i<n;i++)
cin>>arr[i];
for(int i=0;i<n;i++){
if(arr[i]==arr[i+1])
h++;
}
cout<<h<<endl;
}
return 0;
}
| [
"kaushal.raghav13@gmail.com"
] | kaushal.raghav13@gmail.com |
947ec8ef99765dd3801e31c767059c8ee969ef02 | 7d047ddfa804526639a7000f6bec6472ac308605 | /Count and Say.cpp | 118a51bcbbb9339da3b0c893ccb39886c80532da | [] | no_license | YuxuanHe/Leetcode | 7e7c5d6c76aa6caa5c17c49de1dfd2e106039385 | c4799aade380a20f46f2737bc2d3e19c954e2bbd | refs/heads/master | 2021-01-10T14:42:58.447611 | 2015-11-21T23:30:46 | 2015-11-21T23:30:46 | 44,711,436 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 683 | cpp | class Solution {
public:
string countAndSay(int n) {
string str = "1";
for(int i = 1; i<n; i++) {
string temp = "";
char pre = str[0];
int count = 1;
for(int j = 1; j < str.size(); j++) {
if(pre == str[j]) {
count++;... | [
"yuxuanhe2016@u.northwestern.edu"
] | yuxuanhe2016@u.northwestern.edu |
c22841570efa9608d3bc7987510d095d74d6df6b | 863e47a9ba2d3c1086e8ecb99dbb6f8ee7f1fbb3 | /AdditionLib/LRProcessRunData.h | 007fdcac170e01e9d0f4f2c2edb8b50060515a62 | [] | no_license | angpysha/RunAsPlus | 1735faadba79be65751068b62ebdcc4ed3dbf060 | 83c65b0057a531d5d500d93af2c3b152c1fc412f | refs/heads/master | 2020-12-03T03:52:03.484972 | 2017-07-09T15:47:56 | 2017-07-09T15:47:56 | 95,783,670 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,004 | h | #pragma once
#include "ICLRProcessRunData.h"
#include <memory>
#include <Windows.h>
#include <ProcessRunData.h>
#pragma managed
namespace AdditionLib
{
public ref class CLRProcessRunData :
public ICLRProcessRunData<System::String^>
{
public:
CLRProcessRunData();
std::shared_ptr<Logon::ProcessRunData> toUnmanag... | [
"angpysha@outlook.com"
] | angpysha@outlook.com |
a8f0ab2d4bc4fee0a7ec9c80be2bfc7900944841 | 542c861b857e42d8c550d99f584e207bdc51a139 | /groups/bsl/bslstl/bslstl_unorderedset.h | 686dfa484575c1ad8bbc6c3aae4fb37d36a4e8cc | [
"MIT"
] | permissive | zhanzju/bsl | 3d803ca7a95e13b6b711b1f3fffea0581d3e710a | 1bb79982cff9bbaa3fb6d038604f04283ba76f07 | refs/heads/master | 2020-04-07T18:07:33.905605 | 2013-05-31T19:08:23 | 2013-05-31T19:08:23 | 10,591,841 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 70,841 | h | // bslstl_unorderedset.h -*-C++-*-
#ifndef INCLUDED_BSLSTL_UNORDEREDSET
#define INCLUDED_BSLSTL_UNORDEREDSET
#ifndef INCLUDED_BSLS_IDENT
#include <bsls_ident.h>
#endif
BSLS_IDENT("$Id: $")
//@PURPOSE: Provide an STL-compliant 'unordered_set' container.
//
//@CLASSES:
// ... | [
"abeels@bloomberg.net"
] | abeels@bloomberg.net |
275023fda28a8e23682d415b82788ee340cbd8ed | e4516bc1ef2407c524af95f5b6754b3a3c37b3cc | /answers/Google code jam/Round 1B 2012 Problem A. Safety in Numbers.cpp | fa39899ed4b498169273d40125ca2928b49c3f4e | [
"MIT"
] | permissive | FeiZhan/Algo-Collection | 7102732d61f324ffe5509ee48c5015b2a96cd58d | 9ecfe00151aa18e24846e318c8ed7bea9af48a57 | refs/heads/master | 2023-06-10T17:36:53.473372 | 2023-06-02T01:33:59 | 2023-06-02T01:33:59 | 3,762,869 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,701 | cpp | //Problem A. Safety in Numbers
//#define _FILE_DEBUG_
//#define _C_LAN_
//#define _DEBUG_OUTPUT_
#ifdef _FILE_DEBUG_
#include <fstream>
#endif
#include <iostream>
#include <stdio.h>
using namespace std;
#include <iomanip>
int main(int argc, char *argv[])
{
#ifdef _FILE_DEBUG_
ifstream fin;
fin.open("... | [
"zf@zf-LifeBook-S7111.(none)"
] | zf@zf-LifeBook-S7111.(none) |
c34103ecafe57933bccd57d5bb011daf7a6d833f | 5efdfc1572d0938b494209d4c7a286712ce57bc7 | /src/graphics.hpp | 1895ecb4b980eb889da77fea63d455a7b5cc1ab4 | [] | no_license | owenstranathan/waves | 18a2826ada911edf8c8f5f634016f4593b324b54 | d71e200c2118d5c269b3b39d1e9975bbf0faa3dd | refs/heads/master | 2020-05-18T00:22:06.993750 | 2019-06-28T20:00:49 | 2019-06-28T20:00:49 | 184,059,799 | 0 | 0 | null | 2019-06-26T20:25:22 | 2019-04-29T11:38:53 | C++ | UTF-8 | C++ | false | false | 2,317 | hpp | #pragma once
#include "utils.hpp"
#include "prelude.hpp"
#define SEA_COLOR sf::Color::Cyan
class Graphics {
public:
Graphics(Game *, sf::RenderTarget*, sf::VideoMode&);
~Graphics();
void draw() const;
void draw(const CollisionSystem&) const;
void draw(const Sea&) const;
void draw(const Rock&)... | [
"owenstranathan@gmail.com"
] | owenstranathan@gmail.com |
3a5dff5b46984ecc542bf787d1593124cb87d407 | ad355be99f82cf837639183e31c91d581a8f000f | /stack.cpp | 2c078c6d570350ee3f3087518b38928d3115fbec | [
"MIT"
] | permissive | yanlinlin82/eval-exp | 95b32e2d2218343a4cb19322f7dfa33db8257127 | 3230d8b9153a7a859b3f2c3e0720056e2f54330a | refs/heads/master | 2020-12-21T14:53:34.747743 | 2020-01-27T10:24:44 | 2020-01-27T10:24:44 | 236,465,453 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,852 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <cassert>
using namespace std;
class evaluator
{
private:
string infix_;
string postfix_;
public:
void init(string infix) { infix_ = infix; convert(); }
const string& postfix() const { return postfix_; }
int evaluate() const // from postfix
{
... | [
"yanlinlin82@gmail.com"
] | yanlinlin82@gmail.com |
6b5b4b6ff16b9b4c424a0c662a32243143f22fc1 | 55bfe899250607e99aa6ed20c5d688200ce4225f | /spot_real/Control/Teensy/SpotMiniMini/lib/ros_lib/actionlib/TestRequestResult.h | b2814ec2a38410a1d3818a5b127874320f289e22 | [
"MIT"
] | permissive | OpenQuadruped/spot_mini_mini | 96aef59505721779aa543aab347384d7768a1f3e | c7e4905be176c63fa0e68a09c177b937e916fa60 | refs/heads/spot | 2022-10-21T04:14:29.882620 | 2022-10-05T21:33:53 | 2022-10-05T21:33:53 | 251,706,548 | 435 | 125 | MIT | 2022-09-02T07:06:56 | 2020-03-31T19:13:59 | C++ | UTF-8 | C++ | false | false | 2,426 | h | #ifndef _ROS_actionlib_TestRequestResult_h
#define _ROS_actionlib_TestRequestResult_h
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "ros/msg.h"
namespace actionlib
{
class TestRequestResult : public ros::Msg
{
public:
typedef int32_t _the_result_type;
_the_result_type the_r... | [
"mrahme97@gmail.com"
] | mrahme97@gmail.com |
6bc144c400ddf7591bfe4cc7ba1472fe868fdf92 | c9b9d9e93505e1e42adb61597c885b58c153894f | /source/compression/brmd5.h | 8f1e34d8db0743bbdd4d267395e5be614bd5ae0f | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-warranty-disclaimer",
"Zlib"
] | permissive | Olde-Skuul/burgerlib | a3b860bf00bdbc699086a32a1d4756848866d3dc | 4d9dfa0cd5586d23688978e7ec0fd5881bf75912 | refs/heads/master | 2023-08-30T17:13:52.487215 | 2023-08-18T21:56:27 | 2023-08-18T21:56:27 | 18,419,163 | 163 | 11 | null | null | null | null | UTF-8 | C++ | false | false | 1,329 | h | /***************************************
MD5 hash manager
Implemented following the documentation found in
http://en.wikipedia.org/wiki/MD5
and http://tools.ietf.org/html/rfc1321
Copyright (c) 1995-2023 by Rebecca Ann Heineman <becky@burgerbecky.com>
It is released under an MIT Open Source license. Please see... | [
"becky@burgerbecky.com"
] | becky@burgerbecky.com |
6a13cefa51dcabeaa2ab6cdc4904eeed063301c9 | 383e2f4cfcca36c17d9e87a03e1422ccb2303bcb | /leetcode/solutions/344.reverse-string/reverse-string.cpp | 6810138cf859eaf94f2e1267d2cbb2763f380f8e | [] | no_license | lawinse/AlgorithmExercises | 28b1893ab2d5d300785edaf8bda7adb203a5e70c | 3cbdd9ce4a4dfff0e1890819a2418a96346dae9a | refs/heads/master | 2021-01-01T19:53:38.115873 | 2017-08-10T15:05:27 | 2017-08-10T15:05:27 | 98,711,898 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 156 | cpp | class Solution {
public:
string reverseString(string s) {
for(int i=0; i<s.size()/2; ++i) swap(s[i],s[s.size()-1-i]);
return s;
}
}; | [
"fjfzbwj@163.com"
] | fjfzbwj@163.com |
907e6a1a4e17f9d81792aebfb54f7a6cd9d4a6b3 | 6f953f023812ab8cb96a3712fac311f47434a1a5 | /main.cpp | 8bb4e33d37d18cde5b854d85e0a2a3e422ebdca2 | [] | no_license | Marcel-os/PAMSI-Projekt-1 | aea07848d59193df0e902e6aca6d3a90d647484b | 27b91704bb7c3a358cbfacd498c6bd7a280e3b3b | refs/heads/master | 2021-10-24T18:56:34.386012 | 2019-03-27T22:09:58 | 2019-03-27T22:09:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,524 | cpp | /*
* main.cpp
*
* Created on: Mar 20, 2019
* Author: marceldomagala
*/
#define ILTABLIC 100
#include <iostream>
#include "badania.h"
#include "komunikaty.h"
int main()
{
Komunikat_powitalny();
//badania dla 100 tablic 10 000 elem.:
Komunikat_ile_elementow(10000);
Komunikat_sortowanie_losowe();
Bad... | [
"marceldomagala@MacBook-Air-Marcel.local"
] | marceldomagala@MacBook-Air-Marcel.local |
439a0712cf2f851e3c3d5fc394ae97b6f0e1f2ae | 807b251c1e074290d17586d16eda8746e8c6b0dc | /libs/gui/SurfaceComposerClient.cpp | e7b5a83d0b1c1206db8246b6ec26ede414d896d5 | [
"LicenseRef-scancode-unicode",
"Apache-2.0"
] | permissive | TeamSourcery/frameworks_native | 8e2ae4314ab392cf17db60fea205180ea7bb57f4 | b29cfc5caac7d400c879892c842ff8013c5fa34d | refs/heads/master | 2020-04-27T22:57:33.753172 | 2013-01-17T00:02:49 | 2013-01-17T00:02:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,478 | cpp | /*
* Copyright (C) 2007 The Android Open Source Project
*
* 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 app... | [
"jboyer0000@gmail.com"
] | jboyer0000@gmail.com |
cfd6ab7dab1a4396983a1207751164c085d32802 | 5947598dcb06996d45201eec59e1afa152433e0e | /Differential.cpp | 913b6c257550676d5fd4419d4e0857e6cb6b2b75 | [] | no_license | Wbeaching/Improved_Attacks_GIFT64-SAT-GIFT64 | 0d1cc931a276dff0ed0dc75d234e38682d945a93 | 0dff1caf65675de6ab0aa7edf0f51883a576eacc | refs/heads/main | 2023-08-04T20:20:34.995890 | 2021-10-04T12:58:39 | 2021-10-04T12:58:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,847 | cpp | #include <cryptominisat5/cryptominisat.h>
#include <assert.h>
#include <vector>
#include <time.h>
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <fstream>
#include <math.h>
using std::vector;
using namespace CMSat;
using namespace std;
int BestWeightInteger = 11;
int BestWeightDecimal = 1;
int C... | [
"noreply@github.com"
] | Wbeaching.noreply@github.com |
b13d6bb6f40a363e869e2c0c3e8f1bd96ea4903f | 75c0a6e20d86811151a9ac855ce780576e541ec1 | /Beginning_Algorithm_Contests/Volume 3. Brute Force/Rujia Liu's Problems for Beginners/Uvaoj 10274 Fans and Gems/Uvaoj 10274 Fans and Gems.cpp | 95820e797a36ca5524ecca0946891a7debb1653c | [] | no_license | liketheflower/icpc-Rujia-Liu | 71e8c74125a8613b20f322710302cc5c5287d032 | bc2eb6e1f7421614a320f6534bd8800337f63931 | refs/heads/master | 2020-09-08T05:23:11.414741 | 2017-01-23T22:39:03 | 2017-01-23T22:39:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,387 | cpp | #include <cstdio>
#include <vector>
#include <string>
#include <iostream>
#include <algorithm>
#include <cstring>
#include <queue>
using namespace std;
const int maxn = 15;
const int maxm = 25;
const int mod = 100001;
struct point{
int x, y;
point(int x, int y):x(x),y(y){}
point(){}
friend bool operator < (const ... | [
"fywfanyewen@163.com"
] | fywfanyewen@163.com |
b25bba1cd26e2caf1e13b45f68928b1f84e704c2 | c36202d98bda72ac9bb5490cf226dd8af5001c5b | /LeetCode897_Increasing_Order_Search_Tree.cpp | 981aadd9867e7751b5bfd0811b390ff6abc11676 | [] | no_license | TairanHu/LeetCode | 273d811b8cff1a2ca40e7dd81ef9bc9f1db2ada1 | 28878ac3b65d845ed515f1b67d1e1c97104b262e | refs/heads/master | 2021-01-11T08:32:35.187286 | 2019-04-14T14:06:30 | 2019-04-14T14:06:30 | 72,227,616 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 715 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
TreeNode* increasingBST(TreeNode* root) {
TreeNode* res = node;
... | [
"wit_hutairan@163.com"
] | wit_hutairan@163.com |
da34eaf6535f600df62ee7ffc986cfeea6754380 | 501e325a9d662f62db98b149697481707de1a04c | /Ntree.h | 11f0c56bef52ec2d67d25f743f47187d74798d8e | [] | no_license | cisc3130/3-tree-fayrouz-mikhael | 516494e754b1c908f29954e0668ca167bf6255a6 | 522ff63c43f230f6083efd790dfc427a4a90368b | refs/heads/master | 2021-08-20T02:57:59.220511 | 2017-11-03T03:18:43 | 2017-11-03T03:18:43 | 109,455,407 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,946 | h | // author: levitan
#ifndef NTREE_H
#define NTREE_H
#include <assert.h>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <string>
#include <vector>
namespace std {
std::string to_string(const std::string& str) { return str; }
}
template <class T>
class NTree {
struct tnode {
T data;
... | [
"proflevitan@gmail.com"
] | proflevitan@gmail.com |
ab0b59876b69596d68c4c6f5aa11578c9cf6b500 | 65b094a7dc9d931c08cf2a5e5950dfc6cc2a1af9 | /lda/include/fisherfaces.hpp | 95801d9eca8ef95d716e4f37e992c464d6c1010a | [
"BSD-3-Clause"
] | permissive | stephenbalaban/opencv | e71cdcc0aeb76a0b3c56f5b480a786ca19291dca | a7350e79411c2b993e334233abfc5fcd653463c2 | refs/heads/master | 2021-01-15T19:18:36.979636 | 2012-04-14T09:49:57 | 2012-04-14T09:49:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,790 | hpp | /*
* Copyright (c) 2011. Philipp Wagner <bytefish[at]gmx[dot]de>.
* Released to public domain under terms of the BSD Simplified license.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of sou... | [
"bytefish@gmx.de"
] | bytefish@gmx.de |
f3836eb06fbd9ed1a3fff64caead7d778d0cad89 | 614284717489bddd6891a78bcb3a876e1bbf7073 | /ngraph/src/ngraph/op/reduce_prod.hpp | 7839efb2e60199be9e97cda87d8548a5d26876d2 | [
"Apache-2.0"
] | permissive | bartholmberg/openvino | 01e113438971dc7bdf4e1fe3d0563b823f0ecefd | bd42f09e98e0c155a1b9e75c21d0f51b34708bc9 | refs/heads/master | 2023-02-04T07:17:34.782966 | 2020-07-27T16:47:37 | 2020-07-27T16:47:37 | 261,867,844 | 1 | 0 | Apache-2.0 | 2020-05-06T20:11:00 | 2020-05-06T20:11:00 | null | UTF-8 | C++ | false | false | 2,476 | hpp | //*****************************************************************************
// Copyright 2017-2020 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 of the License at
//
// http://w... | [
"alexey.suhov@intel.com"
] | alexey.suhov@intel.com |
a0c4f2f5963d8cce881ac30e6b8520a34bd49e8a | 7ed28dffc9e1287cf504fdef5967a85fe9f564e7 | /AtCoder/ABC143/d.cpp | 7169243b6fc4c33d287ebd6ed322e3c09ca3c42f | [
"MIT"
] | permissive | Takumi1122/data-structure-algorithm | 0d9cbb921315c94d559710181cdf8e3a1b8e62e5 | 6b9f26e4dbba981f034518a972ecfc698b86d837 | refs/heads/master | 2021-06-29T20:30:37.464338 | 2021-04-17T02:01:44 | 2021-04-17T02:01:44 | 227,387,243 | 0 | 0 | null | 2020-02-23T12:27:52 | 2019-12-11T14:37:49 | C++ | UTF-8 | C++ | false | false | 687 | cpp | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
int n;
cin >> n;
vector<int> l(n);
rep(i, n) cin >> l[i];
sort(l.begin(), l.end());
int ans = 0;
for (int i = 0; i < n; i++) {
for (int j = i + 1... | [
"takumi221b4869@gmail.com"
] | takumi221b4869@gmail.com |
a449c14558b8774ccbc02faedd5cfc58b1dae282 | 98ff03829920b2b619920aa28631b61bb51977c4 | /main.cpp | d772d62fce5ca3bc31e97d8c84b770021547310e | [] | no_license | yedunli/OpenGLTest | e7e2a08955acd575c0f19acb8ac293aca93a178f | bcd1b728ad12cf0a615db3ee74e6a63519430f3a | refs/heads/master | 2020-05-30T14:44:22.129840 | 2019-06-25T16:33:26 | 2019-06-25T16:33:26 | 189,798,589 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 268 | cpp | #include "mywidget.h"
#include "subwidget.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MyWidget w;
w.show();
SubWidget w2;
w2.show();
w.setSubWidget(&w2);
return a.exec();
}
| [
"noreply@github.com"
] | yedunli.noreply@github.com |
d0d7859ad9b12112a4ee075e748549f98dbf8c64 | 33551c791dcf51edf67ee7fca1b64805559440df | /libhoomd/utils/Variant.h | c471cce03ec169b7839c37824e9fe523c9c769b9 | [] | no_license | qshao/hoomd-blue | f5562ba4303ec2579512fe55986125c053df1680 | b17f91bfc7806279750d6460df30d7115e4f563c | refs/heads/master | 2021-01-12T19:18:17.778057 | 2016-03-10T23:45:38 | 2016-03-10T23:45:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,279 | h | /*
Highly Optimized Object-oriented Many-particle Dynamics -- Blue Edition
(HOOMD-blue) Open Source Software License Copyright 2009-2016 The Regents of
the University of Michigan All rights reserved.
HOOMD-blue may contain modifications ("Contributions") provided, and to which
copyright is held, by various Contributor... | [
"joaander@umich.edu"
] | joaander@umich.edu |
faf097eb813d83053030b91818776591fa7e7215 | ceb18dbff900d48d7df6b744d1cd167c7c9eb5c5 | /mine/cplusplusCS/2014/BMDemo/BM/CtmNew.cpp | 404228a79794f51de967c221c176a0a058a99907 | [] | no_license | 15831944/sourcecode | 6bb5f74aac5cf1f496eced1b31a0fd4cf3271740 | 412f0ba73dd7fb179a92d2d0635ddbf025bfe6d4 | refs/heads/master | 2021-12-27T20:07:32.598613 | 2018-01-15T14:38:35 | 2018-01-15T14:38:35 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 9,336 | cpp | // CtmNew.cpp : 实现文件
//
#include "stdafx.h"
#include "BM.h"
#include "CtmNew.h"
#include "afxdialogex.h"
// CCtmNew 对话框
IMPLEMENT_DYNAMIC(CCtmNew, CDialogEx)
CCtmNew::CCtmNew(CWnd* pParent /*=NULL*/)
: CDialogEx(CCtmNew::IDD, pParent)
, m_ctmcall(_T(""))
, m_ctmNM(_T(""))
, m_ps(_T(""))
, m... | [
"mushilanxin@163.com"
] | mushilanxin@163.com |
4bf3dee9a987ae72a8511bb8747ca89df795e033 | 9d76a4ca316e6b993ccfd16cb883515bc74f7ed5 | /Project/Sepiatoon2/Game/UIManager/UIManager.h | 78e5c4347b7bf7ebd3f144e62cd5930c8cc85d22 | [] | no_license | Taka0158/Sepia-2 | f78b7458bc2dc832c14ff2f732550c393e8eff0c | 89ab536583ab1d164d12570c3a20c68015b76277 | refs/heads/master | 2020-03-10T11:48:23.559035 | 2018-04-27T18:08:31 | 2018-04-27T18:08:31 | 129,363,839 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 912 | h | #pragma once
//管理するUI子クラスが増えればObjectManagerのような振る舞いに変更すべき
class UIManager :public Entity, public Singleton<UIManager>
{
friend class Singleton<UIManager>;
public:
UIManager();
~UIManager();
void update();
void draw();
void debug_update();
void debug_draw();
void initialize();
void finalize();
bool handle... | [
"jackson0158@yahoo.co.jp"
] | jackson0158@yahoo.co.jp |
8dbe0703505fe1957550d2a7541777c81129ccd3 | 08bdd164c174d24e69be25bf952322b84573f216 | /opencores/client/foundation classes/j2sdk-1_4_2-src-scsl/hotspot/src/cpu/i486/vm/frame_i486.cpp | f14e20d6544a628716d5770ea161f84757125187 | [] | no_license | hagyhang/myforthprocessor | 1861dcabcf2aeccf0ab49791f510863d97d89a77 | 210083fe71c39fa5d92f1f1acb62392a7f77aa9e | refs/heads/master | 2021-05-28T01:42:50.538428 | 2014-07-17T14:14:33 | 2014-07-17T14:14:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,407 | cpp | #ifdef USE_PRAGMA_IDENT_SRC
#pragma ident "@(#)frame_i486.cpp 1.175 03/01/27 08:25:29 JVM"
#endif
/*
* Copyright 2003 Sun Microsystems, Inc. All rights reserved.
* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
# include "incls/_precompiled.incl"
# include "incls/_frame_i486.cpp.incl"
// Prof... | [
"blue@cmd.nu"
] | blue@cmd.nu |
e30a1188f5114a7ca6f9ed4374ad56c4e50cc8d2 | 699dca2ea66337c05a6d728204694759f67b8a29 | /DynamicProgramming/knansack/knapsackmemoitazion.cpp | aa5e1e55c152ec65b0e5f8e352197ebc68d947af | [] | no_license | mayank-bhardwa/CodingLibrary | a554735085bcc1563eac8497aede196fc700d38b | 24b964ea4511840032d5048efde44185bf438fe7 | refs/heads/master | 2023-05-14T05:29:20.341563 | 2021-06-08T04:55:40 | 2021-06-08T04:55:40 | 290,493,086 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,512 | cpp | /*
Below is a cpp program to find max profit that could be made
if we have given weights of items and their corresponding
values we have to choose weights such that sum of values
is maximum and total weight is less than or equal to capacity
of knapsack (w)
*/
//this is dynamic solution using memoization
//in this w... | [
"mayank85277@gmail.com"
] | mayank85277@gmail.com |
672440cea9a2791b0a04a166da1a492e95fbaa0b | 5553753cbc96821e4fbb71ea0fdd049884531595 | /Siv3D/src/Siv3D/Graphics/D3D11/RasterizerState/D3D11RasterizerState.cpp | 25f19cc961673bf611fa44dec8d55496d8aa4d17 | [
"MIT"
] | permissive | hota1024/OpenSiv3D | 713fb649022e1ac436a3fde32cbaab5f7fc0b605 | b91f0cf9f8902ddd3bc26cbc7fb957d638e25cc4 | refs/heads/master | 2020-03-12T05:13:27.346136 | 2018-04-21T09:36:02 | 2018-04-21T09:36:02 | 130,459,394 | 0 | 0 | MIT | 2018-04-21T09:31:37 | 2018-04-21T09:31:36 | null | UTF-8 | C++ | false | false | 2,095 | cpp | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2018 Ryo Suzuki
// Copyright (c) 2016-2018 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# include <Siv3D/Platform.hpp>
# if defined(SI... | [
"Reputeless@users.noreply.github.com"
] | Reputeless@users.noreply.github.com |
5c6071c67e885721ab11949ef2377e6e2bc548e7 | 35e28d7705773eed54345af4440700522c9d1863 | /deps/libgeos/geos/src/algorithm/InteriorPointLine.cpp | e42b2ab884fabc9d6fc233936871ac414e72cb89 | [
"Apache-2.0",
"LGPL-2.1-only"
] | permissive | naturalatlas/node-gdal | 0ee3447861bf2d1abc48d4fbdbcf15aba5473a27 | c83e7858a9ec566cc91d65db74fd07b99789c0f0 | refs/heads/master | 2023-09-03T00:11:41.576937 | 2022-03-12T20:41:59 | 2022-03-12T20:41:59 | 19,504,824 | 522 | 122 | Apache-2.0 | 2022-06-04T20:03:43 | 2014-05-06T18:02:34 | C++ | UTF-8 | C++ | false | false | 3,573 | cpp | /**********************************************************************
*
* GEOS - Geometry Engine Open Source
* http://geos.osgeo.org
*
* Copyright (C) 2005-2006 Refractions Research Inc.
* Copyright (C) 2001-2002 Vivid Solutions Inc.
*
* This is free software; you can redistribute and/or modify it under
* th... | [
"brian@thirdroute.com"
] | brian@thirdroute.com |
8e802c1e5f50a9d2c1c318c18ff4d6f211aa51fb | ed5669151a0ebe6bcc8c4b08fc6cde6481803d15 | /magma-1.5.0/magmablas/ssymm_mgpu_spec.cpp | 4ebda1e9f28c36e8f53d7f136886223f6eaa64f7 | [] | no_license | JieyangChen7/DVFS-MAGMA | 1c36344bff29eeb0ce32736cadc921ff030225d4 | e7b83fe3a51ddf2cad0bed1d88a63f683b006f54 | refs/heads/master | 2021-09-26T09:11:28.772048 | 2018-05-27T01:45:43 | 2018-05-27T01:45:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,369 | cpp | /*
-- MAGMA (version 1.5.0) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date September 2014
@generated from zhemm_mgpu_spec.cpp normal z -> s, Wed Sep 17 15:08:23 2014
@author Azzam Haidar
*/
#include "common_magma.h"
#include ... | [
"cjy7117@gmail.com"
] | cjy7117@gmail.com |
14f86c5511eccc9b431d86cf581f41e5d567f0c9 | fcf892a3a3249656527302cdbd29162006ab3ac5 | /Message.cc | 6762d125b6e6f1c653d0a2288b51e2d1899ed399 | [] | no_license | alexgunkel/experimental_logger | b56a5d31b1c483e75aa84d7ed89f825cc70c1a17 | 896c49cd39a593f9f9b55ff50eaa9832962e8601 | refs/heads/master | 2021-01-20T05:52:42.369534 | 2017-05-01T20:01:35 | 2017-05-01T20:01:35 | 89,816,350 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 453 | cc | #include "Message.h"
using std::chrono::system_clock;
Message::Message()
{
this->creationTime = new LoggerTime;
}
Message::Message( std::string message )
{
this->content = message;
size = message.size();
this->creationTime = new LoggerTime;
}
std::string Message::getContent()
{
return this->content;
}
c... | [
"alexandergunkel@gmail.com"
] | alexandergunkel@gmail.com |
34a92afb5dbed065b2f813706668218906e4998f | d3a8df3a02361e5da4c59671f6fb2b1394a0fe6c | /TinyXML2.cpp | 5e2421c502dcd7848d5442ef29cb99172612a27f | [] | no_license | zytdevelop/TinyXMLer | 51508e898460f49321e6ab2eae671211e4a9c3b0 | eeff9d57e4ef30bb7a1f84e9f377d36222043b77 | refs/heads/master | 2021-08-08T15:54:59.651969 | 2021-01-07T06:34:14 | 2021-01-07T06:34:14 | 237,728,799 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 81,853 | cpp | #include "TinyXML2.h"
#include <new> //管理动态存储
#include <cstddef> //隐式表达类型
#include <cstdarg> //变量参数处理
//处理字符串,用于存储到缓存区,TIXML_SNPRINTF拥有snprintf功能
#define TIXML_SNPRINTF snprintf
//处理字符串,用于存储到缓存区,TIXML_VSNPRINTF拥有vsnprintf功能
#define TIXML_VSNPRINTF vsnprintf
//字符数量
static inline int TIXML_VSCP... | [
"522396766@qq.com"
] | 522396766@qq.com |
c755adce9645a2f64b5be7997046a4955c8d06a1 | d89416321d948eef709cd348db982fcdd1627fd0 | /src/util/hdf.h | 113446ac121f41be480f4ab0f82afda065d73c25 | [
"PHP-3.01",
"Zend-2.0"
] | permissive | huichen/hiphop-php | 0d0cce0feefdd4f7fe62a02aa80081e3b076cb2e | dff69a5f46dec5e51de301c726e383a171b2cda9 | refs/heads/master | 2021-01-20T23:40:41.807364 | 2010-07-22T00:29:37 | 2010-07-28T06:36:19 | 696,720 | 9 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 14,747 | h | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010 Facebook, Inc. (http://www.facebook.com) |
+---------... | [
"myang@2248de34-8caa-4a3c-bc55-5e52d9d7b73a"
] | myang@2248de34-8caa-4a3c-bc55-5e52d9d7b73a |
0f4f8f396eec4ecd849a891d034d71f5aa2324da | 91719805a27882be3acd432904dcb4ba8c4d971f | /src/items/ImageContent.cpp | 3e9767a69fc74e18ecbf4f64c0198068a32d0fc2 | [] | no_license | svn2github/divz | 1af8366135434ea82f4c1a0aa9ca5d6f7e75c11a | 3c937a3dbccee49ee5cba9aae22f8f9a5e4356da | refs/heads/master | 2020-05-29T12:51:48.333902 | 2013-04-21T23:00:02 | 2013-04-21T23:00:02 | 25,669,105 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,227 | cpp |
#ifndef UINT64_C
#define INT64_C(c) (c ## LL)
#define UINT64_C(c) (c ## ULL)
#endif
#include "ImageContent.h"
#include "model/ImageItem.h"
#include "AppSettings.h"
#include <QDebug>
#include <QFileInfo>
#include <QGraphicsScene>
#include <QMimeData>
#include <QPainter>
#include <QDebug>
#include <QPixmapCache>
#incl... | [
"josiahbryan@5ee4d49e-9b41-11de-8595-bbd473b9459f"
] | josiahbryan@5ee4d49e-9b41-11de-8595-bbd473b9459f |
04d72003c07093bb724b5481f9eee91a29d15b96 | dc3a5575a8165c8908b032e4d25302b7f1b7e29a | /Codeforces/1217A.cpp | fce17a87e23860b1204e26621ab906f551d23749 | [] | no_license | algzjh/CompetitiveProgramming | 026d8b0e953a3845473ee747be832d81a81c7a74 | 8c62c54df3c2feb34cf8a2f467b21550d6822751 | refs/heads/master | 2023-07-07T16:03:17.905033 | 2023-07-01T02:54:09 | 2023-07-01T02:54:09 | 120,862,027 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 717 | cpp | #include <bits/stdc++.h>
#define mk make_pair
#define fi first
#define se second
using namespace std;
typedef long long LL;
typedef pair<int, int> PII;
const int MAXN = 1e5 + 5;
const int MAXM = 1e4 + 5;
const int MOD = 998244353;
const int INF = 0x3f3f3f3f;
int main(){
int _;
scanf("%d", &_);
while(_--){
... | [
"noreply@github.com"
] | algzjh.noreply@github.com |
1e831a2f1d99f64530650df573c0ea8c29cc90c7 | d9c3f2889b08ac304dd882f5296882c57d648d8a | /树状数组/Tree_Array.cpp | 9039e64642e65e7e7c6a6c755f1b9f4c4b94becc | [] | no_license | 100101010/algorithms | c8cc78f787377a624b093fcc2f4e6a702db4f7d9 | d674e159b788c812bdcce263240336f6ab389e36 | refs/heads/master | 2020-04-17T13:29:44.327227 | 2019-05-16T13:01:32 | 2019-05-16T13:01:32 | 166,618,225 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 592 | cpp | #include <iostream>
#include <algorithm>
#include <string>
#include <vector>
#include <iomanip>
#include <set>
#include <map>
#include <cstring>
#include <numeric>
#include <cmath>
using namespace std;
int tree[10000];
int NUM = 10000;
void update(int index, int n)
{
for(int i = index;i<NUM;i += (i&-i))
tr... | [
"36503136+100101010@users.noreply.github.com"
] | 36503136+100101010@users.noreply.github.com |
8a4dea178a5143139b86bb43e0d3a0569a48d59d | e1c18c487996cd23141e1f1120149ff1d4252434 | /renderdoc/driver/d3d12/d3d12_debug.cpp | 6ea890e70f60e9483814f70610136dc6d2e6bc07 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | alexv1n/renderdoc | 402c5fae8c2771ad2dd3b48bbde24eb9d5a47469 | 3b497241b004bc2f9a8eaf74813db57f5ee5f956 | refs/heads/v1.x | 2021-06-24T22:53:46.121062 | 2020-12-15T22:18:11 | 2020-12-15T22:18:11 | 185,238,345 | 0 | 0 | MIT | 2020-12-15T22:07:56 | 2019-05-06T17:04:46 | C++ | UTF-8 | C++ | false | false | 82,403 | cpp | /******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2019-2020 Baldur Karlsson
*
* 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... | [
"baldurk@baldurk.org"
] | baldurk@baldurk.org |
e8c36c5722d55f2e9bf30de78180d646ed0e3fe1 | dc29fc2a9a48ac9e90bdc2405c33c83318a0722a | /map_UndergroundSystem.cpp | 9c9c9f5c06b29421971ee1f5cf0344ba8a5e85a8 | [] | no_license | jennyc2004/leetcode | 8a1b065159399e2199453bdde42ad9a6528c70d5 | f188d4e85eec6be1068c0aef763b16a12316de0e | refs/heads/main | 2023-06-05T14:35:33.323544 | 2021-06-24T02:56:56 | 2021-06-24T02:56:56 | 359,001,553 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,984 | cpp | //============================================================================
// Name : map_UndergroundSystem.cpp
// Author : Jenny Cheng
// Copyright : Your copyright notice
//============================================================================
using namespace std;
#include <iostream>
#include <... | [
"jennyc2004@gmail.com"
] | jennyc2004@gmail.com |
bcc548b85839a855840c13c161548db26121a536 | 67a46851a67f0a93d7312c5a9a89c942e37b73eb | /algorithm/HDU-ACM/ambition0109/25445.cpp | e54ca5a8a5a217df0b1bd370b07e5cdd5a9d3bca | [] | no_license | zhangwj0101/codestudy | e8c0a0c55b0ee556c217dc58273711a18e4194c9 | 06ce3bb9f9d9f977e0e4dc7687c561ab74f1980b | refs/heads/master | 2021-01-15T09:28:32.054331 | 2016-09-17T11:11:06 | 2016-09-17T11:11:06 | 44,471,951 | 0 | 0 | null | null | null | null | ISO-8859-7 | C++ | false | false | 1,917 | cpp | ////////////////////System Comment////////////////////
////Welcome to Hangzhou Dianzi University Online Judge
////http://acm.hdu.edu.cn
//////////////////////////////////////////////////////
////Username: ambition0109
////Nickname: Ambition
////Run ID:
////Submit time: 2010-08-06 15:34:08
////Compiler: Visual ... | [
"zhangwj@zhangwj-MacBook-Pro.local"
] | zhangwj@zhangwj-MacBook-Pro.local |
762065ebbacb25cbe055fdfccfaebfeba42fb91c | 1c884356855de0ba26aae60b39ae1229afa2660f | /terrain/variable_lod/voxel_lod_terrain_update_data.h | 77e4b0a823d82e991e88d5efe4eacc86961b7388 | [
"MIT"
] | permissive | track3rsp/godot_voxel | 53ed50028d3b9789d52bd922fc356f7337938b7b | c10c273fe5d4722edc15d6dd29242f3bf707680b | refs/heads/master | 2022-07-27T12:02:21.279381 | 2022-06-29T00:30:14 | 2022-06-29T00:30:14 | 131,823,328 | 0 | 0 | null | 2018-05-02T08:45:50 | 2018-05-02T08:45:49 | null | UTF-8 | C++ | false | false | 6,496 | h | #ifndef VOXEL_LOD_TERRAIN_UPDATE_DATA_H
#define VOXEL_LOD_TERRAIN_UPDATE_DATA_H
#include "../../constants/voxel_constants.h"
#include "../../generators/voxel_generator.h"
#include "../../storage/voxel_data_map.h"
#include "../../streams/voxel_stream.h"
#include "../../util/fixed_array.h"
#include "../voxel_mesh_map.h"... | [
"marc.gilleron@gmail.com"
] | marc.gilleron@gmail.com |
8fa5568f5e1ec86b13a0db1a8c193500eccfacdd | 4207d276f0edafed1197d919beeaf36a5bf0cb98 | /Source/Physics/JointDef.cpp | 0287e27abbaaadafc0953cc6e8acf33f48fd970b | [
"MIT"
] | permissive | zyz120/Dorothy-SSR | b742083d92b1971110f30991dfdd230933f89b39 | d5c417ba27d676fc6bcb475ee44c30e4aa8d856c | refs/heads/master | 2021-01-19T14:43:03.421461 | 2017-04-13T08:26:12 | 2017-04-13T08:26:12 | 86,802,145 | 1 | 0 | null | 2017-03-31T09:27:03 | 2017-03-31T09:27:03 | null | UTF-8 | C++ | false | false | 9,194 | cpp | /* Copyright (c) 2017 Jin Li, http://www.luvfight.me
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, publi... | [
"dragon-fly@qq.com"
] | dragon-fly@qq.com |
e0d11cefd42ed83a25a92c67fb612d1fddd97e4d | d6c0360526df8cc1760ca9465a3bb8a7ef26b445 | /common/src/wait.cpp | 89e2089323b7bee816e928a26823b2395848794e | [] | no_license | alekseibutiaev/experience | 44eda6a54e24abeca16291d6885970c88d34f7c2 | 354dc415d937996842a37cd8f215b60a8ae8115e | refs/heads/master | 2023-08-17T15:09:18.318428 | 2023-08-12T17:53:40 | 2023-08-12T17:53:40 | 109,396,253 | 2 | 0 | null | 2022-05-20T20:48:40 | 2017-11-03T13:03:20 | C | UTF-8 | C++ | false | false | 424 | cpp | #include "logger.hpp"
#include "wait.h"
namespace tools {
void wait_t::wait(const std::string& msg) {
_info(msg, endline);
std::unique_lock<std::mutex> _(m_mtx);
m_stop = false;
while(!m_stop)
m_cv.wait(_);
}
void wait_t::notify(const std::string& msg) {
std::unique_lock<std::mutex> _... | [
"a.butyaev@tradernet.com"
] | a.butyaev@tradernet.com |
0f6f040db32901409d2dcdbdf85856e27476ab86 | 5041bdc8ce649616b6dcf32aeade9ae27075ae2b | /chrome/browser/ui/views/location_bar/location_bar_view.h | d045e53e64fff072f5686c2191fd47dc2a414918 | [
"BSD-3-Clause"
] | permissive | aSeijiNagai/Readium-Chromium | a15a1ea421c797fab6e0876785f9ce4afb784e60 | 404328b0541dd3da835b288785aed080f73d85dd | refs/heads/master | 2021-01-16T22:00:32.748245 | 2012-09-24T07:57:13 | 2012-09-24T07:57:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,337 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_
#define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_
#include <string>... | [
"kerz@chromium.org@4ff67af0-8c30-449e-8e8b-ad334ec8d88c"
] | kerz@chromium.org@4ff67af0-8c30-449e-8e8b-ad334ec8d88c |
8d2ae8c20c802c30fd77b362894fb0de9dcb0be0 | b1fed0cf607483a8c51df377d6278d186be95007 | /tags/2.1.0/isapi_shib/isapi_shib.cpp | 38ea0c2d15e9436779899bb10fba7ab446c33702 | [] | no_license | svn2github/cpp-sp | eab0e52ce521ae696ba02d815d7da02481c4e24d | 9c0bfdae80f3c60860b36f15698f241f1e3d933f | refs/heads/master | 2020-06-06T03:24:19.620256 | 2015-01-20T00:27:14 | 2015-01-20T00:27:14 | 19,316,247 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,996 | cpp | /*
* Copyright 2001-2007 Internet2
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | [
"cantor@cb58f699-b61c-0410-a6fe-9272a202ed29"
] | cantor@cb58f699-b61c-0410-a6fe-9272a202ed29 |
6ccd80012edf8e4ad7e2ae3eac16f6e28b28f043 | cc166c7b791646d0219b570d900432badfdea202 | /RakAuth/CheckNicknameHandler.h | 377ce86a194ffacb32b0a4c1d51002f1856da051 | [] | no_license | MediaGroop/Server | ad7743b8f588dee76f4edc78e156481f3195c877 | 3d1184c519cb1e07710078507edab89af2ed5e6a | refs/heads/master | 2016-08-05T04:31:17.488934 | 2016-01-04T11:24:00 | 2016-01-04T11:24:00 | 39,456,225 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,683 | h | #pragma once
#include "ServVars.h"
#include "ServersTracker.h"
#include "AuthClient.h"
#include "ClientsTracker.h"
#include "CheckNickPacket.h"
void handleNickCheck(RakNet::Packet* p)
{
ConnectedClient* cl = authServer->getClient(p->guid);
if (cl != nullptr){
AuthClient* ac = getAuthClient(cl);
if (ac != nullpt... | [
"i_man90@mail.ru"
] | i_man90@mail.ru |
0627fef3ae75ebcaf21e2e30c2d5763e4c524842 | 65f9576021285bc1f9e52cc21e2d49547ba77376 | /LINUX/android/vendor/qcom/proprietary/chi-cdk/test/hal3-test/QCameraHAL3MainTestContext.h | 77616efccf68d912d5d66185c1bf9031b4c5b876 | [] | no_license | AVCHD/qcs605_root_qcom | 183d7a16e2f9fddc9df94df9532cbce661fbf6eb | 44af08aa9a60c6ca724c8d7abf04af54d4136ccb | refs/heads/main | 2023-03-18T21:54:11.234776 | 2021-02-26T11:03:59 | 2021-02-26T11:03:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,604 | h | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2018 Qualcomm Technologies, Inc.
// All Rights Reserved.
// Confidential and Proprietary - Qualcomm Technologies, Inc.
///////////////////////////////////////////////////////... | [
"jagadeshkumar.s@pathpartnertech.com"
] | jagadeshkumar.s@pathpartnertech.com |
dc1cc983214b558db2285ee96091fce2280d9acb | f80dbb448777f4a10318e93d395d0ee777fdcd6a | /calit2/FuturePatient/MicrobeScatterGraphObject.h | 321f91188af79eecd8c6f42d170fa538423c0409 | [] | no_license | ngsmith/calvr_plugins | 2a0bf47d0446b143ed80b71e94a046bb177fce0e | 339a4697c4d8a11776d4818330b951ee6c34caf4 | refs/heads/master | 2021-01-17T22:46:07.143138 | 2013-12-10T06:27:39 | 2013-12-10T06:27:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,455 | h | #ifndef MICROBE_SCATTER_GRAPH_OBJECT_H
#define MICROBE_SCATTER_GRAPH_OBJECT_H
#include <string>
#include <osg/Geode>
#include <osg/Geometry>
#include <mysql++/mysql++.h>
#include "LayoutInterfaces.h"
#include "GroupedScatterPlot.h"
#include "GraphKeyObject.h"
class MicrobeScatterGraphObject : public LayoutTypeObje... | [
"aprudhom@lava.ucsd.edu"
] | aprudhom@lava.ucsd.edu |
d34865d05c470fa84f180d900cfa974c1a99ce6c | 55952a6e80b56d56ebbf2f1d098111adf9e48c67 | /concu-chat/include/common/ipc/resource_collector.h | 4cd4ff97c40e21754efb9bff307b2bd92df4dbc2 | [] | no_license | epidemian/concu-2010 | f22e3d0d5a93ab034459c252fd2cdd2f109e7034 | cb12e8c07e536b895e30ca0358666f3cd2775373 | refs/heads/master | 2016-08-11T07:44:57.585645 | 2010-09-29T11:58:22 | 2010-09-29T11:58:22 | 54,079,117 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 732 | h | /*
* resource_collector.h
*
* Created on: Apr 23, 2010
* Author: demian
*/
#ifndef IPC_RESOURCE_COLLECTOR_H_
#define IPC_RESOURCE_COLLECTOR_H_
#include "utils.h"
#include <list>
using std::list;
class Resource;
class ResourceCollector
{
public:
/** Singleton instance. */
static ResourceCollector& inst... | [
"epidemian@gmail.com"
] | epidemian@gmail.com |
a5151b80610943a38020dfd8cecf82c89e88ac18 | 45874c847c5a2fc4e89e05a7fc8ad9b63d8c4860 | /sycl/test-e2e/USM/usm_pooling.cpp | 5341cf2f35e2e57fc9815ee95cdcac89ccfbf5d9 | [
"LicenseRef-scancode-unknown-license-reference",
"NCSA",
"LLVM-exception",
"Apache-2.0"
] | permissive | intel/llvm | 2f023cefec793a248d8a237267410f5e288116c5 | a3d10cf63ddbdcc23712c45afd1b6b0a2ff5b190 | refs/heads/sycl | 2023-08-24T18:53:49.800759 | 2023-08-24T17:38:35 | 2023-08-24T17:38:35 | 166,008,577 | 1,050 | 735 | NOASSERTION | 2023-09-14T20:35:07 | 2019-01-16T09:05:33 | null | UTF-8 | C++ | false | false | 6,357 | cpp | // REQUIRES: level_zero
// RUN: %{build} -o %t.out
// Allocate 2 items of 2MB. Free 2. Allocate 3 more of 2MB.
// With no pooling: 1,2,3,4,5 allocs lead to ZE call.
// RUN: env ZE_DEBUG=1 SYCL_PI_LEVEL_ZERO_USM_RESIDENT=0 SYCL_PI_LEVEL_ZERO_DISABLE_USM_ALLOCATOR=1 %{run} %t.out h 2>&1 | FileCheck %s --check-prefix CH... | [
"noreply@github.com"
] | intel.noreply@github.com |
406b7fddb49e8e2aed653ccb007252caa5fe47fe | b56bac95f5af902a8fdcb6e612ee2f43f895ae3a | /Wireless OverSim-INETMANET/inetmanet-2.0/src/wpan/phyLayer/ieee802154/Ieee802154RadioModel.h | 4c30bea0fe0aeb6a37efb3f5ef377ae78d8becd3 | [] | no_license | shabirali-mnnit/WirelessOversim-INETMANET | 380ea45fecaf56906ce2226b7638e97d6d1f00b0 | 1c6522495caa26d705bfe810f495c07f8b581a85 | refs/heads/master | 2021-07-30T10:55:25.490486 | 2021-07-20T08:14:35 | 2021-07-20T08:14:35 | 74,204,332 | 2 | 0 | null | 2016-11-22T05:47:22 | 2016-11-19T11:27:26 | C++ | UTF-8 | C++ | false | false | 925 | h | #ifndef IEEE_802154_RADIOMODEL_H
#define IEEE_802154_RADIOMODEL_H
#include "IRadioModel.h"
class INET_API Ieee802154RadioModel : public IRadioModel
{
protected:
double snirThreshold;
cModule *ownerRadioModule;
public:
virtual void initializeFrom(cModule *radioModule);
virtual double calculateDur... | [
"rcs1501@mnnit.ac.in"
] | rcs1501@mnnit.ac.in |
4959ef0c9bf86c31d3a3c07f8a48d891eda22399 | 6c77ee9b330a6cca366421e8e190c0f97a043e2f | /input_output/baekjoon_2438.cpp | 4384283c3e6af852d3bd4fc9900eebf197e86371 | [] | no_license | NamNamju/Algorithm | cb635111765f7b4b194f4dbf1785aeb4181ab1f9 | 5448cc8324ec73a74d08f2abf521de7b7734991a | refs/heads/master | 2023-03-13T03:57:58.950043 | 2021-02-26T13:36:42 | 2021-02-26T13:36:42 | 229,538,783 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 436 | cpp | #include <iostream>
using namespace std;
// 첫째 줄에는 별 1개, 둘째 줄에는 별 2개, N번째 줄에는 별 N개를 찍는 문제
int main() {
int num;
cin >> num; // N개
for (int i = 0; i < num; i++) { // 0번째 줄부터 (num - 1)번째 줄 까지
for (int j = 0; j <= i; j++) { // 0번째 줄은 1개, 1번째 줄은 2개 ... (num - 1)번째 줄은 num개
cout << "*";
}
cout << endl;
}
... | [
"namuju_hi@naver.com"
] | namuju_hi@naver.com |
8c85bfb868da8c704818ec604fc6b28ee69da8b7 | ca22cdb9af911b3269767f8ba48b61aa4835f93e | /MemoryManager/Base Files From Instructor/BestFit.h | 0f648c73766495fe3a29040b56428f0e3b8bfc31 | [] | no_license | CSUMBmWall/SchoolProjects | c155b4a14d707d167636ab216c59044b3f4d6bf2 | d8eeace45f3aec117d9c91c8aa29085610556049 | refs/heads/master | 2021-01-13T01:02:54.112831 | 2016-03-18T15:37:14 | 2016-03-18T15:37:14 | 53,026,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 766 | h | /*
*
* File Name: BestFit.h
* Name:
* Course: CST 238
* Term: Fall 2014
* Assignment: Project 2
* Abstract: BestFit Base Class
*
*/
#ifndef BEST_FIT_H
#define BEST_FIT_H
#include "MemoryManager.h"
class BestFit : public MemoryManager {
public:
// Constructor
BestFit(size_... | [
"mwall@csumb.edu"
] | mwall@csumb.edu |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.