blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4f529a25f689f4dafe316e0c00216de720a8d953 | 5b16f06e90d64f008692ff76181adfdd29d507ea | /op3_head_control_module/include/op3_head_control_module/head_control_module.h | c457abb3b48ac6002b327325c2687976a6162cf5 | [
"Apache-2.0"
] | permissive | wolflike/ROBOTIS-OP3 | 09fdfa462b3e47629d7a8c05200b0c72b86df274 | 33d5165b15323b83edd5e2c8d8b2e97639524dd1 | refs/heads/master | 2021-08-28T23:18:18.102843 | 2017-12-13T08:11:41 | 2017-12-13T08:11:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,466 | h | /*******************************************************************************
* Copyright 2017 ROBOTIS CO., LTD.
*
* 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.o... | [
"kmjung@robotis.com"
] | kmjung@robotis.com |
a036e7fe8132d2d73482e3f59d0ef6ea4eb51eac | 05e174b620ce79659591ce14a82148c5dd58e64e | /LeetCode/Tree/99_恢复二叉搜索树.cpp | d33b53a6eb08eb583eec08c9ec620568d02e7963 | [] | no_license | geekbutton/OJ | df3056f5b4a63ccf6af23e0face5625be5b812a8 | e4e3789bbe0568f90a9ecb26db9eab1b6af6048c | refs/heads/master | 2020-03-07T09:30:20.128712 | 2018-09-04T14:36:43 | 2018-09-04T14:36:43 | 127,408,552 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,237 | cpp | // Data_structures.cpp : 定义控制台应用程序的入口点。
//
/*
99. 恢复二叉搜索树
https://leetcode-cn.com/problems/recover-binary-search-tree/description/
二叉搜索树中的两个节点被错误地交换。
请在不改变其结构的情况下,恢复这棵树。
进阶:
使用 O(n) 空间复杂度的解法很容易实现。
你能想出一个只使用常数空间的解决方案吗?
*/
/*整体思路是 : 使用O(n)复杂度的方法很容易,使用二叉遍历的方式将结果存入数组,找出不是递增
序的元素进行交换。若要使用常数空间其实还是使用中序遍历的性质,只是每次只保存前一元素... | [
"panpeike1234@163.com"
] | panpeike1234@163.com |
6f7588c719368fbac8bf4befd22f310d8db4a679 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function13782/function13782_schedule_28/function13782_schedule_28_wrapper.cpp | 258d2bfac4b74c684bf22a5e2bf10df78b611913 | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 924 | cpp | #include "Halide.h"
#include "function13782_schedule_28_wrapper.h"
#include "tiramisu/utils.h"
#include <cstdlib>
#include <iostream>
#include <time.h>
#include <fstream>
#include <chrono>
#define MAX_RAND 200
int main(int, char **){
Halide::Buffer<int32_t> buf00(512);
Halide::Buffer<int32_t> buf0(1024, 512,... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
6c88cb810de1a041088a15019314ce44f706278a | 50b5ae08d0dda9b72b79fa908723ef6fd5bc5778 | /srcs/LibrarySdl.cpp | 0a898fd4430ea8f0385f6a0e2d6028a955325668 | [] | no_license | fufeck/nibbler | ae8c0bdfb25499bc077bf044e6ec8dc0e41943de | 887b3febe8024e5066f3941e06c6c900a00dea90 | refs/heads/master | 2021-03-12T23:54:52.498378 | 2015-03-24T20:40:29 | 2015-03-24T20:40:29 | 32,823,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,375 | cpp | // ************************************************************************** //
// //
// ::: :::::::: //
// LibrarySdl.cpp :+: :+: :+: ... | [
"ftaffore@e1r2p6.42.fr"
] | ftaffore@e1r2p6.42.fr |
058742a0361016e78bf08fde9e91064713bc2834 | 5e7cda49248e2edfef85ca55a2b2b822aec3e52a | /leetcode389/Find the Difference.cpp | 2f0c30d0634c573cc920e6e9b29a50967dd39779 | [] | no_license | pi-nyan/leetcode_pai | ab10627114f6c427df04de59c9bb854d808d9a79 | 7091f9357f6ccd5d208d7ec27c13296f422df178 | refs/heads/master | 2020-12-25T14:58:40.361431 | 2017-01-07T06:44:23 | 2017-01-07T06:44:23 | 66,606,382 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 360 | cpp | /*
389Find the Difference
*/
class Solution
{
public:
char findTheDifference(string s, string t)
{
if (s.size() == 0)
return t.front();
for (auto iters = s.begin()+1; iters != s.end(); iters++)
{
s.front() ^= (*iters);
}
for (auto itert = t.begin(); itert != t.end(); itert++)
{
s.front() ^= ... | [
"airiness@qq.com"
] | airiness@qq.com |
f5a89fffc65ab40f5322fe03eeff57bd9f5d178a | a1ed2899df8a268daaaefc582df0d0b0722700a7 | /LinkQueue.h | f60ceebb2f8251c37bfd507af2729ce6ca4862ff | [] | no_license | hszzz/Data-Structures-Library | 07fa2f241f7aeb509ec745f1d922437b2a4845f9 | b2d867177f21ab7307bdae12a305accd406663b7 | refs/heads/master | 2021-05-10T12:06:08.075157 | 2020-09-14T10:50:46 | 2020-09-14T10:50:46 | 118,431,239 | 4 | 2 | null | 2019-06-11T01:51:07 | 2018-01-22T08:54:46 | C++ | UTF-8 | C++ | false | false | 1,747 | h | #ifndef LINKQUEUE_H
#define LINKQUEUE_H
#include "Queue.h"
#include "LinuxList.h"
#include "Exception.h"
/**********************************
* 用LinuxList实现队列,效率高
* 18-2-3 23:30
***********************************/
namespace HsTL
{
template <class T>
class LinkQueue : public Queue<T>
{
public:
LinkQueue()
{
... | [
"976878433@qq.com"
] | 976878433@qq.com |
fe833912809cd92c13c4d35f36670822c0e98d80 | 771a5f9d99fdd2431b8883cee39cf82d5e2c9b59 | /SDK/BP_fod_WildSplash_05_MuddyRaw_00_a_ItemDesc_classes.h | 0b56a7e2781af105bdf111e36d9339a3bf7c46e3 | [
"MIT"
] | permissive | zanzo420/Sea-Of-Thieves-SDK | 6305accd032cc95478ede67d28981e041c154dce | f56a0340eb33726c98fc53eb0678fa2d59aa8294 | refs/heads/master | 2023-03-25T22:25:21.800004 | 2021-03-20T00:51:04 | 2021-03-20T00:51:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 902 | h | #pragma once
// Name: SeaOfThieves, Version: 2.0.23
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//----------------------------------------------------... | [
"40242723+alxalx14@users.noreply.github.com"
] | 40242723+alxalx14@users.noreply.github.com |
58d452bf2f40f34e404060af30fc14021adfb591 | 093de3584b832b93db5890fbf07a05953fea2cee | /Engine/Engine/Systems/Resources/Shaders/ShaderPreProcessor.h | 578bbb0de81988e59ee3d5f6b5036e55bb85327d | [] | no_license | dragon1672/C-Game-Engine | 3fee0a5e224a13636fd55d46466c0b190381f607 | 65acfe142ac5f7d4dcb7d179b26bd203a9a0930c | refs/heads/master | 2016-09-10T08:58:34.632749 | 2015-01-25T19:39:36 | 2015-01-25T19:39:36 | 25,022,979 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 331 | h | #pragma once
#include <string>
#include <ExportHeader.h>
#include <Engine/Systems/Resources/Shaders/ShaderObject.h>
namespace ShaderPreProcessor {
ENGINE_SHARED std::string processGLSL(std::string src);
ENGINE_SHARED void registerShaderObject(ShaderObject * obj);
ENGINE_SHARED void registerShaderObject(ShaderObjec... | [
"dragon1672@gmail.com"
] | dragon1672@gmail.com |
21e6b2e4aa93966298f4697e97db44d371ee9d89 | 5ec06dab1409d790496ce082dacb321392b32fe9 | /clients/cpp-tizen/generated/src/ComDayCqDamCoreImplServletCreateAssetServletInfo.h | 21ef925ddc82249e6b43f3ecd3df2c33d9be192c | [
"Apache-2.0"
] | permissive | shinesolutions/swagger-aem-osgi | e9d2385f44bee70e5bbdc0d577e99a9f2525266f | c2f6e076971d2592c1cbd3f70695c679e807396b | refs/heads/master | 2022-10-29T13:07:40.422092 | 2021-04-09T07:46:03 | 2021-04-09T07:46:03 | 190,217,155 | 3 | 3 | Apache-2.0 | 2022-10-05T03:26:20 | 2019-06-04T14:23:28 | null | UTF-8 | C++ | false | false | 1,841 | h | /*
* ComDayCqDamCoreImplServletCreateAssetServletInfo.h
*
*
*/
#ifndef _ComDayCqDamCoreImplServletCreateAssetServletInfo_H_
#define _ComDayCqDamCoreImplServletCreateAssetServletInfo_H_
#include <string>
#include "ComDayCqDamCoreImplServletCreateAssetServletProperties.h"
#include "Object.h"
/** \defgroup Models... | [
"cliffano@gmail.com"
] | cliffano@gmail.com |
bd61a3d74a6587df0508e841dcfa9f0f2badbf65 | cc153bdc1238b6888d309939fc683e6d1589df80 | /qcril-hal/include/interfaces/common.h | 21fa6eee9d1ae79e01ba2f87beef786382f7f498 | [
"Apache-2.0"
] | permissive | ml-think-tanks/msm8996-vendor | bb9aa72dabe59a9bd9158cd7a6e350a287fa6a35 | b506122cefbe34508214e0bc6a57941a1bfbbe97 | refs/heads/master | 2022-10-21T17:39:51.458074 | 2020-06-18T08:35:56 | 2020-06-18T08:35:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,598 | h | /******************************************************************************
# Copyright (c) 2018 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#******************************************************************************/
#pragma once
#include... | [
"deepakjeganathan@gmail.com"
] | deepakjeganathan@gmail.com |
479619e4a0ce947b2431523c3bfc123e369d447b | 06bed8ad5fd60e5bba6297e9870a264bfa91a71d | /JavaQt/propertychangeevent.h | 9e729ba4addb13411d366ac8d8a0831ad7dc7fae | [] | no_license | allenck/DecoderPro_app | 43aeb9561fe3fe9753684f7d6d76146097d78e88 | 226c7f245aeb6951528d970f773776d50ae2c1dc | refs/heads/master | 2023-05-12T07:36:18.153909 | 2023-05-10T21:17:40 | 2023-05-10T21:17:40 | 61,044,197 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,246 | h | #ifndef PROPERTYCHANGEEVENT_H
#define PROPERTYCHANGEEVENT_H
#include <QEvent>
#include <QVariant>
#include "eventobject.h"
#include "javaqt_global.h"
class JAVAQTSHARED_EXPORT PropertyChangeEvent : public EventObject
{
Q_OBJECT
public:
/**
* Constructs a new <code>PropertyChangeEvent</code>.
*
... | [
"allenck@windstream.net"
] | allenck@windstream.net |
97989c2b04a503f5c5ba9be1977d5ff803fd0ca1 | 36c3f1ae4a3be5dcc77914865f5b42832fb8aaaa | /main.cpp | de1bd8aa3a643ce83b1ea93d163501c5d9b5b6c1 | [] | no_license | gggxbbb/Fibonacci_Large | ac9b8023ff14cf1e2def89be2ee918cfa7cf898d | 507ebd931711c9ba7d73785a402f828447f6e48d | refs/heads/master | 2023-08-14T23:57:31.640879 | 2021-09-21T07:00:52 | 2021-09-21T07:00:52 | 397,578,305 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 886 | cpp | #include <iostream>
using namespace std;
int a[10000] = {0};
int b[10000] = {0};
int t[10000] = {0};
int main() {
int times;
cout << "Which: ";
cin >> times;
if (times == 1 or times == 2) {
cout << 1 << endl;
return 0;
}
a[0] = 1;
b[0] = 1;
for (int time = 3; time <= t... | [
"2331490629@qq.com"
] | 2331490629@qq.com |
d287f2007ad6fc5aab4bba626946f66c83194ff0 | bc5b52449c2c8aece39ce256f2ba369eddbdbe2b | /pLan.TC/Test/test.cpp | 12b82de10a361ac0f3700279a3b06c0a4d28f672 | [] | no_license | greevex/plangc | 1a21abb41f24ef86297381666f29cbcb7908e21d | 2ec4be966f7558214eea6f0fe876331df6b46761 | refs/heads/master | 2016-09-14T11:16:59.244378 | 2014-01-11T18:54:44 | 2014-01-11T18:54:44 | 56,220,393 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 510 | cpp | #include <Windows.h>
#include <stdio.h>
char * test = "Just a mega test";
void main()
{
HMODULE hMod = LoadLibrary("../DLL/debug/pLan.dll");
printf("%s\n", test);
WSAData wsaData = {0};
WSAStartup(0x101, &wsaData);
char buf[512];
gethostname(buf, 512);
hostent * hent = gethostbyname(buf);
... | [
"zerogle@cd544525-5d1f-db06-7540-c939cc3a3700"
] | zerogle@cd544525-5d1f-db06-7540-c939cc3a3700 |
d68750a32444d2e6bcbf6a8fa83157d71b643bcb | 0a663a4d46d9da669e160b5c90b993386a09d83c | /src/core/conditions.h | ff37eb33648e9c0ae885b04ff6e6f5adcd38eeb4 | [] | no_license | CarterTsai/clasp | 9eb138f50bce035d29aa42fd42e5c3fd1ad40d48 | 22d3a4f0fe5eb0fc4651a364bec38e9e9ced51b4 | refs/heads/main | 2021-01-21T09:14:37.844200 | 2014-07-17T02:29:10 | 2014-07-17T02:29:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,608 | h |
#ifndef Conditions_H //[
#define Conditions_H
#include <stdio.h>
#include <string>
#include <vector>
#include <set>
#include "foundation.h"
#include "lispStream.fwd.h"
#include "conditions.fwd.h"
#include "object.h"
namespace core
{
class CandoException_O : public T_O
{
LISP_BASE1(T_O);
LISP_CLASS(co... | [
"chris.schaf@verizon.net"
] | chris.schaf@verizon.net |
3d18245bd48e54aee3ab27de6b42371d7c679003 | ccac8bf0c462ed112726ac4e11578a4a2ed83228 | /compiler/code/IR/IRInstr/CmpMnemonics/IRInstrCmp_lt.h | fe96f5f93db8feac731614d2c751f989c6c36ac7 | [
"MIT"
] | permissive | kenza-bouzid/PLD-COMP-H4242 | 16821ca45dcfe97e05dd2a83ead58379e7844060 | a72dcf4bd6dab6e5d2b825aa58c5e3560917490e | refs/heads/master | 2022-05-10T09:37:07.259924 | 2020-04-10T11:18:31 | 2020-04-10T11:18:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 289 | h | #pragma once
#include "../IRInstr.h"
class IRInstrCmp_lt : public IRInstr
{
private:
/* data */
string dest;
string op1;
string op2;
public:
IRInstrCmp_lt(BasicBlock *bb_, string dest, string op1, string op2);
void gen_asm(ostream &o);
~IRInstrCmp_lt();
};
| [
"bouzidkenza1@gmail.com"
] | bouzidkenza1@gmail.com |
9b1be4254505f102493d39059afd60a2c3ef97f4 | 1d928c3f90d4a0a9a3919a804597aa0a4aab19a3 | /c++/xbmc/2015/12/GUIDialogAddonInfo.cpp | bfa799cc63e80fd1c04ae7472ffc62c9cfef45c5 | [] | no_license | rosoareslv/SED99 | d8b2ff5811e7f0ffc59be066a5a0349a92cbb845 | a062c118f12b93172e31e8ca115ce3f871b64461 | refs/heads/main | 2023-02-22T21:59:02.703005 | 2021-01-28T19:40:51 | 2021-01-28T19:40:51 | 306,497,459 | 1 | 1 | null | 2020-11-24T20:56:18 | 2020-10-23T01:18:07 | null | UTF-8 | C++ | false | false | 16,039 | cpp | /*
* Copyright (C) 2005-2013 Team XBMC
* http://xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* ... | [
"rodrigosoaresilva@gmail.com"
] | rodrigosoaresilva@gmail.com |
29a573c3477ac25918aadf3a089d4e26d0aba387 | b71b8bd385c207dffda39d96c7bee5f2ccce946c | /testcases/CWE122_Heap_Based_Buffer_Overflow/s04/CWE122_Heap_Based_Buffer_Overflow__cpp_CWE805_wchar_t_snprintf_07.cpp | 4cad45c0ac3ed29b1ed4df959e71806fd0a78275 | [] | no_license | Sporknugget/Juliet_prep | e9bda84a30bdc7938bafe338b4ab2e361449eda5 | 97d8922244d3d79b62496ede4636199837e8b971 | refs/heads/master | 2023-05-05T14:41:30.243718 | 2021-05-25T16:18:13 | 2021-05-25T16:18:13 | 369,334,230 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,027 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE805_wchar_t_snprintf_07.cpp
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE805.string.label.xml
Template File: sources-sink-07.tmpl.cpp
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Al... | [
"jaredzap@rams.colostate.edu"
] | jaredzap@rams.colostate.edu |
d4900dd6a974f771ee940c734486c0fdbce0245c | 7217c749b8a319a14386b1a0914a45befc9ee47e | /SDLMenu2-master/main.cpp | b65c930db65676eba1e936f80db9738365511c0d | [] | no_license | AndresRubi/TAR6_LAB | 780563551978fab3bef9cd93733ad81b0145db5a | d38d8d04639c2a54f7bb6dbe7ce48d3ea781a37c | refs/heads/master | 2021-01-01T18:49:32.014314 | 2015-03-27T17:32:48 | 2015-03-27T17:32:48 | 32,974,116 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,980 | cpp |
#include<SDL2/SDL.h>
#include<SDL2/SDL_image.h>
#include<iostream>
#include<vector>
#include<list>
#include "Sho.h"
#include "EnemigoAzul.h"
#include "EnemigoVerde.h"
#include "EnemigoRojo.h"
using namespace std;
SDL_Window* window;
SDL_Renderer* renderer;
SDL_Event Event;
SDL_Texture *background;
SDL_Rect rect_back... | [
"andresrues@hotmail.com"
] | andresrues@hotmail.com |
a1f59c708428390028d5dda257202d2604cf968d | 3282ccae547452b96c4409e6b5a447f34b8fdf64 | /SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimArbitraryProfileDef.cxx | b1c0eb1c6825ff5551b293fa139ffc3853c0e6c0 | [
"MIT"
] | permissive | EnEff-BIM/EnEffBIM-Framework | c8bde8178bb9ed7d5e3e5cdf6d469a009bcb52de | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | refs/heads/master | 2021-01-18T00:16:06.546875 | 2017-04-18T08:03:40 | 2017-04-18T08:03:40 | 28,960,534 | 3 | 0 | null | 2017-04-18T08:03:40 | 2015-01-08T10:19:18 | C++ | UTF-8 | C++ | false | false | 3,698 | cxx | // 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... | [
"cao@e3d.rwth-aachen.de"
] | cao@e3d.rwth-aachen.de |
3027e136183c85cc28307b0d39bd197ccb58ac81 | e641bd95bff4a447e25235c265a58df8e7e57c84 | /base/task/sequence_manager/thread_controller_impl.cc | 78e42ec6023ac73f60c8e042d061a34d1f826c77 | [
"BSD-3-Clause"
] | permissive | zaourzag/chromium | e50cb6553b4f30e42f452e666885d511f53604da | 2370de33e232b282bd45faa084e5a8660cb396ed | refs/heads/master | 2023-01-02T08:48:14.707555 | 2020-11-13T13:47:30 | 2020-11-13T13:47:30 | 312,600,463 | 0 | 0 | BSD-3-Clause | 2022-12-23T17:01:30 | 2020-11-13T14:39:10 | null | UTF-8 | C++ | false | false | 12,403 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/task/sequence_manager/thread_controller_impl.h"
#include <algorithm>
#include "base/bind.h"
#include "base/memory/ptr_util.h"
#include "b... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
0d043d73e03f1c72c880e90782ee7d1e43c198a0 | 27c917a12edbfd2dba4f6ce3b09aa2e3664d3bb1 | /LeetCode/30DaysCodingChallenge/7.cpp | 6ec7771c846e624ced69341d8d3e9d2a8f3e9f08 | [] | no_license | Spetsnaz-Dev/CPP | 681ba9be0968400e00b5b2cb9b52713f947c66f8 | 88991e3b7164dd943c4c92784d6d98a3c9689653 | refs/heads/master | 2023-06-24T05:32:30.087866 | 2021-07-15T19:33:02 | 2021-07-15T19:33:02 | 193,662,717 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 690 | cpp | #include<iostream>
#include<vector>
#include<algorithm>
#include<unordered_map>
using namespace std;
int countElements(vector<int> arr, int n)
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int n = arr.size();
if(n == 0 or n==1)
return 0;
unordered_map<int, int> mp;
for(int ... | [
"ravindrafk@gmail.com"
] | ravindrafk@gmail.com |
b69f3ae1f5d5f760ac740b534889d0c4c84e5c55 | 1ed76c4ba0b121baa6c60d0195ff106b5177760f | /ESP32 features/esp32-uuid_v5/esp32-uuid_v5.ino | 822ce98a47d8883d507e0a861b47e8f142a1be0a | [] | no_license | VehicleMind/vm-proof-of-concept | 3cd080eab80e33a159b528dad6e19fa84c01f897 | d82ac048b58848ff6d13426a67daa4c5a40740ae | refs/heads/master | 2021-10-24T23:33:14.515159 | 2018-05-21T23:54:01 | 2018-05-21T23:54:01 | 106,217,675 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,043 | ino | #include "mbedtls/sha1.h"
void printHex(byte number) {
int topDigit = number >> 4;
int bottomDigit = number & 0x0f;
// Print high hex digit
Serial.print( "0123456789ABCDEF"[topDigit] );
// Low hex digit
Serial.print( "0123456789ABCDEF"[bottomDigit] );
}
void printUuid(byte* uuidNumber) {
int i;
for (i... | [
"alonestrider@hotmail.com"
] | alonestrider@hotmail.com |
f4a2868ed696243cc1c20c5a7175c36743e1cc0e | cb9535a1dfea27158430d25aab71f4b903968386 | /code/demo_chaos/ship_game/ship_game.cpp | 5d1eed52155a005bf258e877f7a7ec72b202d16a | [] | no_license | uhacz/bitbox | 0d87a54faa4bf175a2fdb591c4ea5f71935c67fb | 63b4038a1b8cf05968c55ad11b25344fff44aba5 | refs/heads/master | 2021-01-23T09:40:25.289880 | 2017-09-09T18:15:06 | 2017-09-09T18:15:06 | 32,782,269 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,599 | cpp | #include "ship_game.h"
#include "..\game_gui.h"
#include "..\game_util.h"
#include <util\memory.h>
#include <util\string_util.h>
#include <system\window.h>
#include <resource_manager\resource_manager.h>
#include <rdi\rdi_debug_draw.h>
#include "ship_level.h"
#include "..\imgui\imgui.h"
#include "..\imgui\imgui_impl_d... | [
"uhacz33@gmail.com"
] | uhacz33@gmail.com |
460a7a97f2b49a618504910352cc58c9f0f26fca | a05aa50af722b6851e4544ad8d821f3ae97be04d | /ConversationFeatures.h | 5f6e1efd3c53e8f976f57a9e2118f5a65314b9c8 | [] | no_license | Lasitha-Jayawardana/Feature-Extractor | 97a4df2a5cfe7d7726166d7d1947675068815a16 | ae5fbcdd3134f45770a49336bc17d798f1187722 | refs/heads/master | 2023-06-19T18:48:10.065576 | 2021-07-22T14:03:19 | 2021-07-22T14:03:19 | 388,476,815 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,394 | h | #pragma once
#include "types.h"
#include "Conversation.h"
namespace FeatureExtractor {
/**
* Set of features with link to conversation
*/
class ConversationFeatures
{
// Link to conversation
Conversation *conv;
/**
* Derived features for 2s time window
*/
uint32_t count;
uint32_t srv_count;
... | [
"lsjayawardana95@gmail.com"
] | lsjayawardana95@gmail.com |
c22272c45ee69cfaa001626714681484ad27785f | d89feb055d9a3c067d0dd76ccb6c039d67abfe7e | /base/values_unittest.cc | fe1d84dd69a4c8d13ef05b8379a1d8ffc091c19a | [] | no_license | zifengshang/chrome_base | 8a83f3c5d2784c0eb7caa26716393c6d4f00aeb2 | 3881f078819a916db5f7bbdc27ae2af3cf67a77c | refs/heads/master | 2020-04-09T16:35:43.111887 | 2018-12-05T06:43:30 | 2018-12-05T06:43:30 | 160,457,173 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 55,920 | 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 "base/values.h"
#include <stddef.h>
#include <limits>
#include <memory>
#include <string>
#include <type_traits>
#include <utility>
#includ... | [
"zifengshang@tencent.com"
] | zifengshang@tencent.com |
6ada68eb04d84e94658b88938da2a4e810e1207e | ca0025fb2c34de5e0e926bc005c41eb2b5535e7c | /RazerChromaSampleApplication/CooldownTimerDlg.h | 770ddbaa9140b110de05923bcfd753a1f1b0cefd | [] | no_license | lazovskyda/ChromaKa30 | 078d6b2444fcf4f705519931555eb3df5bf3cee7 | 3650898e4972a855e754e33b770ebde2ab9f392f | refs/heads/master | 2020-06-26T12:17:03.027278 | 2019-07-30T10:22:52 | 2019-07-30T10:22:52 | 199,628,213 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 696 | h | #pragma once
#include "ChromaSDKImpl.h"
#include "afxcmn.h"
// CCooldownTimerDlg dialog
class CCooldownTimerDlg : public CDialogEx
{
DECLARE_DYNAMIC(CCooldownTimerDlg)
public:
CCooldownTimerDlg(CWnd* pParent = NULL); // standard constructor
virtual ~CCooldownTimerDlg();
// Dialog Data
enum { IDD ... | [
"LazovskyDA@qulix.com"
] | LazovskyDA@qulix.com |
a21e42a742fe57cbd97ae06c195dba67aa324daa | e4c432f43fb1711d7307a25d5bc07f64e26ae9de | /nel/ByteBuf.h | 04f29e179a7bc0f58814958044c4a7df382fd8b6 | [] | no_license | longshadian/zylib | c456dc75470f9c6512a7d63b1182cb9eebcca999 | 9fde01c76a1c644d5daa46a645c8e1300e72c5bf | refs/heads/master | 2021-01-22T23:49:11.912633 | 2020-06-16T09:13:50 | 2020-06-16T09:13:50 | 85,669,581 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,265 | h | #pragma once
#include <exception>
#include <list>
#include <map>
#include <string>
#include <vector>
#include <cstring>
#include <cstdint>
#include <time.h>
#include <cmath>
#include <type_traits>
#include <cassert>
#include <iostream>
namespace nlnet {
class ByteBufException : public std::runtime_error
{
public:
... | [
"guangyuanchen001@163.com"
] | guangyuanchen001@163.com |
1887a8850c4d0405bd413f1c67434305a47c6828 | e8ce6d40f69b614e7420c64edce4ef0cce79893d | /1585.cpp | dd628d6c15dd8025fed9f0884010572fd5f330fb | [] | no_license | Eberty/CodigosURI | 1a23af25454bc059f9cfabce1678c7d2b053aec9 | 65a43c59a8594940312cc4526fe63536b2ca31f2 | refs/heads/master | 2020-05-14T02:04:55.348762 | 2019-08-05T03:00:45 | 2019-08-05T03:00:45 | 181,687,981 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 186 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, x, y;
cin >> n;
for (int i=0; i<n; i++){
cin >> x >> y;
cout << (x*y)/2 << " cm2" << endl;
}
return 0;
}
| [
"eberty.silva@hotmail.com"
] | eberty.silva@hotmail.com |
2a2f1fdbdefa264952dc2a32deff23a3bfe28871 | 6e1ed0613277802de7aa6ceb33e24280fe512c68 | /Minos/init/02_get_rat_raids.cc | 197ee2d5ff22db6f7b982f5788de7e6d045e8389 | [] | no_license | minos2git/minos_click | 2b539c0dcd79817a88466db7ca2df3122c35908c | e4ac4b8453562ce41c9e936740672f4f355b6942 | refs/heads/master | 2021-01-10T06:38:58.797042 | 2016-01-26T13:13:51 | 2016-01-26T13:13:51 | 50,419,758 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,900 | cc | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <iostream>
#include <string>
#include <map>
#include <algorithm>
#include <vector>
using namespace std;
#define HashTable std::map
class Router {
public:
static map<int, int>init_repeat_map(); //<cid, repeat times>
};
#include "init_repeat.h"
... | [
"xl@xl308.(none)"
] | xl@xl308.(none) |
c2c5e1d5ccd1176d4ab69fc340675f12f67039af | 2958954120991063ae6d2de924217db2d5d50ff4 | /sample/v3.0/XMSApi_Test/BoardSetMainClockDlg.cpp | ca0a69acfcce5bafbb1cfaca36ff03c8609eb0b3 | [] | no_license | suyu0925/cti | 08901a71ca30e0a30d73e30b9f1a8a428968947b | 90ff35a6bf101f7419f4f06e600db66e44329c4d | refs/heads/master | 2021-01-23T13:37:34.742521 | 2015-11-09T03:11:39 | 2015-11-09T03:11:39 | 27,820,779 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,541 | cpp | // BoardSetMainClockDlg.cpp : implementation file
//
#include "stdafx.h"
#include "XMSApi_Test.h"
#include "BoardSetMainClockDlg.h"
#include "DJAcsDataDef.h"
#include "DJAcsAPIDef.h"
#include "XMSApi_Test_Sub.h"
#include "XMSApi_Test_Event.h"
#include "XMSApi_Test_String.h"
#include "XMSApi_Test_Func.h"
#ifdef _DEB... | [
"suyu0925@gmail.com"
] | suyu0925@gmail.com |
7e67d057b2d3636fd0227b3ea00bb6c6a3847072 | c776476e9d06b3779d744641e758ac3a2c15cddc | /examples/litmus/c/run-scripts/tmp_1/MP+dmb.sy+addr-rfi-[fr-rf]-addr.c.cbmc.cpp | fc2727ca1b1ccf2766de60412905aa36b25233c1 | [] | 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 | 56,191 | cpp | // 0:vars:3
// 6:atom_1_X8_0:1
// 3:atom_1_X0_1:1
// 4:atom_1_X5_1:1
// 5:atom_1_X6_2:1
// 7:thr0:1
// 8:thr1:1
// 9:thr2:1
#define ADDRSIZE 10
#define NPROC 4
#define NCONTEXT 1
#define ASSUME(stmt) __CPROVER_assume(stmt)
#define ASSERT(stmt) __CPROVER_assert(stmt, "error")
#define max(a,b) (a>b?a:b)
char __get_rng... | [
"tuan-phong.ngo@it.uu.se"
] | tuan-phong.ngo@it.uu.se |
c3c1d16a1dfe7cc1c3c436203ec7107bb42b4b89 | 798b409c2262078dfe770960586160fc47434fae | /sandbox/sb_font.cpp | 652b053423b4d40ad294c728f5199de719e84f89 | [] | no_license | andryblack/sandbox | b53fe7b148901442d24d2bcfc411ddce531b7664 | 6fcffae0e00ecf31052c98d2437dbed242509438 | refs/heads/master | 2021-01-25T15:52:16.330633 | 2019-08-26T09:24:00 | 2019-08-26T09:24:00 | 2,220,342 | 5 | 8 | null | 2018-06-18T15:41:44 | 2011-08-17T07:10:54 | C++ | UTF-8 | C++ | false | false | 7,268 | cpp | /*
* sb_font.cpp
* SR
*
* Created by Андрей Куницын on 12.02.11.
* Copyright 2011 andryblack. All rights reserved.
*
*/
#include "sb_font.h"
#include "sb_graphics.h"
#include "sb_text_data.h"
SB_META_DECLARE_OBJECT(Sandbox::Font,Sandbox::meta::object)
SB_META_DECLARE_OBJECT(Sandbox::FontPass,Sandbox::meta:... | [
"blackicebox@gmail.com"
] | blackicebox@gmail.com |
4449fd771143aba674862ef2940865c25fdce7c6 | d88810476d3ee4d828e68e05d67b5f2e297f799c | /components/pango_video/include/pangolin/video/drivers/shift.h | 36f9acaa38464a652d8271b96a63f0453e874493 | [
"MIT"
] | permissive | stevenlovegrove/Pangolin | b84830b8a0d065ff5e76cbc4b8b229d639ab11c8 | d484494645cb7361374ac0ef6b27e9ee6feffbd7 | refs/heads/master | 2023-09-03T03:29:38.010162 | 2023-05-30T17:30:27 | 2023-06-06T20:11:04 | 1,096,480 | 2,151 | 960 | MIT | 2023-06-28T21:39:24 | 2010-11-20T01:50:32 | C++ | UTF-8 | C++ | false | false | 2,611 | h | /* This file is part of the Pangolin Project.
* http://github.com/stevenlovegrove/Pangolin
*
* Copyright (c) 2014 Steven Lovegrove
*
* 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 wit... | [
"stevenlovegrove@gmail.com"
] | stevenlovegrove@gmail.com |
0340863fa1647629631f1b8186591cfbb94c7b5a | dcd772f567ef8a8a1173a9f437cd68f211fb9362 | /crow/contrib/include/boost/fusion/container/vector/detail/preprocessed/as_vector10.hpp | 312a42a1ff1c64fb3d9a28d4d35c9dbc18824208 | [
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | idaholab/raven | 39cdce98ad916c638399232cdc01a9be00e200a2 | 2b16e7aa3325fe84cab2477947a951414c635381 | refs/heads/devel | 2023-08-31T08:40:16.653099 | 2023-08-29T16:21:51 | 2023-08-29T16:21:51 | 85,989,537 | 201 | 126 | Apache-2.0 | 2023-09-13T21:55:43 | 2017-03-23T19:29:27 | C++ | UTF-8 | C++ | false | false | 13,599 | hpp | /*=============================================================================
Copyright (c) 2001-2011 Joel de Guzman
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)
This is an auto-generated file. Do n... | [
"codypermann@gmail.com"
] | codypermann@gmail.com |
9f26e6ca8334224e57feafcd439c9dd6297f3505 | 4774777e962143aa2b5840adcc6d05ec108b9c0a | /src/ui/fserverdebugwidget.cpp | e288e6b4210e381e94719c0913d75f96420972a7 | [] | no_license | FuSoftware/F-List-Desktop | 85d84c357115119736bcc5fec97662bc4f70a1d9 | 048d2b6f78e7fc7c7242c77e14a357f85c0b94c6 | refs/heads/master | 2021-01-22T18:08:04.970495 | 2017-08-21T22:39:24 | 2017-08-21T22:39:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,263 | cpp | #include "fserverdebugwidget.h"
FServerDebugWidget::FServerDebugWidget(QWidget *parent) : QWidget(parent)
{
QVBoxLayout *layout = new QVBoxLayout;
QHBoxLayout *layoutButtons = new QHBoxLayout;
browser = new QTextBrowser(this);
lineEdit = new QLineEdit(this);
QPushButton *pbSend = new QPushButton(... | [
"florent.uguet@gmail.com"
] | florent.uguet@gmail.com |
c07c4e3d73fa4e231bd60c2291150389e7f7ed1b | 6efd9e70920a8c061f53c5cd0adcc215011accbc | /batch2/gt.cpp | ab871a11155538d07ec3e5fe54b94ca455b6d531 | [] | no_license | Bhaavya18/Code | 1ad8f0a559bffc7104c4a2f2e1e31008a7693d42 | 4ec25ce6aa9f3f6934d796125a4e8cbe949ed8d2 | refs/heads/master | 2022-12-31T16:35:45.932494 | 2020-10-24T06:38:10 | 2020-10-24T06:38:10 | 255,047,538 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,666 | cpp | #include<iostream>
#include<vector>
#include<stack>
using namespace std;
class Node{
public:
int data=0;
vector<Node*>childs;
Node()
{
}
Node(int data)
{
this->data=data;
}
};
Node* createtree(vector<int>&arr)
{
stack<Node*>st;
for(int i=0;i<arr.size()-1;i++)
{
if(arr[i]!=-1)
{
... | [
"invinciblebhaavya@gmail.com"
] | invinciblebhaavya@gmail.com |
e44c4f7e847c72f4d17d77b960f75a9dfae451a3 | eb9de48d99732deac0b31a5b2c38853366216316 | /c++/RandomPickIndex/main.cpp | d6cb2ce1a77f7365cf7baab0e28bca70660e6d3c | [] | no_license | allenwhc/Leetcode | 0a46da2301f426cbb713817e955ecd7ec79670e1 | e9b27b7dd69df1a2e53992badc400e29fb475e54 | refs/heads/master | 2020-04-05T14:36:04.575863 | 2017-04-19T09:28:01 | 2017-04-19T09:28:01 | 41,320,519 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 523 | cpp | #include <iostream>
#include <vector>
#include <time.h>
using namespace std;
class Solution{
vector<int> n;
public:
Solution(vector<int>& nums){
n = nums;
}
int pick(int target){
int sz = 0, idx = -1;
for(int i=0; i<n.size(); i++){
if(target == n[i] && rand()%(++sz) == 0) idx = i;
}
return idx;
}
};... | [
"hcallen.wang@gmail.com"
] | hcallen.wang@gmail.com |
0ab4806f1e4b998f58ea860eb26c0e4f126e7446 | b80528b6039f21239c5076f27ed76d23e3767441 | /8_1_nth_Fibonacci.cpp | 03f136ac065ee35dd4c1d50ae84b87b821116450 | [] | no_license | njkaiser/CTCI | 79286445f127a9fc0946929e91d02832e4d724d5 | b20af3bff8d08ba92f8815491eef29fa6a13bafb | refs/heads/master | 2021-07-05T09:02:13.553129 | 2017-09-20T02:34:30 | 2017-09-20T02:34:30 | 103,301,005 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 453 | cpp | // Cracking the Coding Interview, Problem 8.1
//
// Write a method to generate the nth Fibonacci number.
#include <iostream>
#include <assert.h>
using namespace std;
int fib(int n) {
assert(n >= 0);
if(n == 0) { return 1; }
if(n == 1) { return 1; }
return (fib(n-1) + fib(n-2));
}
int main(int argc, char**... | [
"natejkaiser@gmail.com"
] | natejkaiser@gmail.com |
fb3e053162920b071c84446c7398a87c8a206aea | c7ad1dd84604e275ebfc5a7e354b23ceb598fca5 | /include/algo/link_reduce/link_reduce.hpp | e83e176a0d9d5afe214817a5c9c0aa89038ee39c | [] | no_license | svn2github/ncbi_tk | fc8cfcb75dfd79840e420162a8ae867826a3d922 | c9580988f9e5f7c770316163adbec8b7a40f89ca | refs/heads/master | 2023-09-03T12:30:52.531638 | 2017-05-15T14:17:27 | 2017-05-15T14:17:27 | 60,197,012 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,693 | hpp | #ifndef ALGO___LINK_REDUCE_HPP__
#define ALGO___LINK_REDUCE_HPP__
/* $Id$
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Information
*
* This software/database is a "United State... | [
"kuznets@112efe8e-fc92-43c6-89b6-d25c299ce97b"
] | kuznets@112efe8e-fc92-43c6-89b6-d25c299ce97b |
e4912b3b71f6ab5d6569abff2c43420bd9710afe | 609c6f4ad06e1f5c14ad4cbd8ae49a28c7a87356 | /Implementation&Simulation/boj1978.cpp | 8bf5298d662e0365a216ee326833bf6805968b6c | [] | no_license | hajeongyeon/Algorithm | f8f44e33a7cd029bfc1bad51735e917a0950d1e2 | 58ebe74b36971037cca253af01257c472c18d37b | refs/heads/master | 2022-10-05T06:19:26.699813 | 2022-09-11T12:55:51 | 2022-09-11T12:55:51 | 200,454,035 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 349 | cpp | #include <iostream>
using namespace std;
int main(void)
{
int n; // ¼ö °³¼ö
cin >> n;
int answer = 0; // ´ä
for (int i = 0; i < n; ++i)
{
int x;
cin >> x;
bool isPrime = false;
for (int j = 2; j < x; ++j)
{
if (x % j == 0)
{
isPrime = true;
}
}
if (!isPrime && x != 1) answer++;
... | [
"hjy---@hanmail.net"
] | hjy---@hanmail.net |
f8303abc54f9be9f1f41b7892c5a2e84ec4ae974 | cdd8e7143747a6a57e82110c21c46cf88c04a19e | /SEUtility.h | 18357bfd17afd7867c86cce23388c0a46ee4cee3 | [] | no_license | KoumaTeacup/Sin-Engine | 2bfd2c60085665aba52386420235ab8c3d4a2f25 | a4bf4e38feb15ebf6a01e5418935c723e4b7c5ef | refs/heads/master | 2021-01-10T16:51:47.644697 | 2016-01-16T23:37:03 | 2016-01-16T23:37:03 | 44,918,275 | 1 | 0 | null | 2015-10-27T07:28:51 | 2015-10-25T16:25:41 | C | UTF-8 | C++ | false | false | 788 | h | #ifndef SEUTILITY_H
#define SEUTILITY_H
#include "sfml\System\Clock.hpp"
#include "sfml\System\Time.hpp"
#include "SESystem.h"
enum componentType;
class SEComponent;
#define SE_Utility se_system::SEUtility::getObj()
#define SE_Utility_Release se_system::SEUtility::release()
namespace se_system{
class SEUtility... | [
"shingleex@gmail.com"
] | shingleex@gmail.com |
39aae5c9ee38b7c6f2670f1a2ea00daf8d811716 | d20790dd54a77affcd1002a795875d281a617999 | /7Linux042901.cpp | 61eb142143aab6458abb06c50da0a74e9c7b7d9c | [] | no_license | Luckily777/C- | c2665941019c0c66ccb57091ff3ab9745c4a42f8 | 4422abbb8f308af944b36e4b45ec52178b839dd7 | refs/heads/master | 2021-05-17T21:10:32.319556 | 2020-09-21T12:11:18 | 2020-09-21T12:11:18 | 250,953,705 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 993 | cpp | 第七节课的项目代码
1. 输出printf
int main(void) {
int num;
do {
printf("请输入:");
if (scanf("%d", &num) != 1) {
printf("输入非法\n");
scanf("%d[^\n]%*c");
continue;
}
break;
} while (1);
printf("你充值%d\n", num);
}
2. 输入Scanf
int main() {
int num;
do {
printf("请输入:");
if (scanf("%d", &num) != 1) {
printf(... | [
"253974227@qq.com"
] | 253974227@qq.com |
95d0169257091c294adc7c68d5ea0bbe70ad6a80 | 9c738e9fa5005d8c4edb28788775c70a0d107a6e | /taichi/kernel.h | 3050f33e1a15da473720697f172829f4bc056da5 | [
"MIT"
] | permissive | amix2115/taichi | 9364fd68d2198736d37e8cad7c8242676fa383e6 | 55eb9affe84b711c0344c0365456d6f99b9316c0 | refs/heads/master | 2020-12-05T09:39:26.780088 | 2020-01-06T09:56:34 | 2020-01-06T09:56:34 | 232,071,378 | 0 | 0 | MIT | 2020-01-06T09:53:35 | 2020-01-06T09:53:34 | null | UTF-8 | C++ | false | false | 1,377 | h | #pragma once
#include "tlang_util.h"
#include "snode.h"
#include "ir.h"
TLANG_NAMESPACE_BEGIN
class Program;
class Kernel {
public:
std::unique_ptr<IRNode> ir_holder;
IRNode *ir;
Program &program;
FunctionType compiled;
std::string name;
Arch arch;
struct Arg {
DataType dt;
bool is_nparray;
... | [
"yuanmhu@gmail.com"
] | yuanmhu@gmail.com |
eebd6195238b5fa0fc0295723bcb3000f3e7410f | 7c67438cbd114fb130f01b907c7d574c7524b346 | /c클래스구조의이해와설계/cpp_ex/person.cpp | 200d471134b41eae48415c2eb46dad6f5ca2cbde | [] | no_license | bartkim0426/readings | 058179aece80cb2c46bb62cf97ab41e915fddfc1 | 6bff0b792f9b25f7483f0a5d5d4e6f344642a2eb | refs/heads/master | 2020-04-10T05:19:09.235701 | 2019-02-22T07:22:36 | 2019-02-22T07:22:36 | 160,823,579 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 552 | cpp | /* 유도속성을 사용하지 않고 나이를 구하는 class */
# include <iostream>
class Person {
private:
char* name;
char* address;
int yearOfBirth;
public:
void setYearOfBirth(int year) {
yearOfBirth = year;
}
int getAge() {
int currentYear = 2018;
re... | [
"bartkim0426@gmail.com"
] | bartkim0426@gmail.com |
bf116458869e26b2d066c15f9fe6945355e44544 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/collectd/gumtree/collectd_repos_function_1041_collectd-5.0.5.cpp | e983c72cd085a05b309814b6481da9d508c5f606 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 569 | cpp | static int plugin_shutdown (void) /* {{{ */
{
if (collector_thread_running)
{
int status;
DEBUG ("pinba plugin: Shutting down collector thread.");
collector_thread_do_shutdown = 1;
status = pthread_join (collector_thread_id, /* retval = */ NULL);
if (status != 0)
{
char errbuf[1024];... | [
"993273596@qq.com"
] | 993273596@qq.com |
2e33db1965dda0bc5e7bd8a6bce1b73a9205c746 | 5c34abe10630b23da8ba7d1cbce38bda53a4b6fa | /TkrUtil/TkrUtil/ITkrToTSvc.h | 4c3812a023258742dcdeefd6434eaeca011564f7 | [] | no_license | fermi-lat/GlastRelease-scons-old | cde76202f706b1c8edbf47b52ff46fe6204ee608 | 95f1daa22299272314025a350f0c6ef66eceda08 | refs/heads/master | 2021-07-23T02:41:48.198247 | 2017-05-09T17:27:58 | 2017-05-09T17:27:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,973 | h | /** @file ITkrToTSvc.h
@brief Abstract interface to TkrSplitsSvc (q.v.)
@author Leon Rochester
$Header$
*/
#ifndef ITkrToTSvc_H
#define ITkrToTSvc_H 1
// Include files
#include "GaudiKernel/IInterface.h"
#include "idents/VolumeIdentifier.h"
#include "idents/TkrId.h"
#include "CalibData/Tkr/TkrTot.h"
#include "Calib... | [
""
] | |
97feb1d515283eacc73639631efc441913cedebd | 36183993b144b873d4d53e7b0f0dfebedcb77730 | /GameDevelopment/Game Programming Gems 2/SourceCode/01 General Programming/10 Dalton/Demo/Checkers.cpp | 560e80b0fbecb9f24f8e467d6309ec3f13b6adff | [] | no_license | alecnunn/bookresources | b95bf62dda3eb9b0ba0fb4e56025c5c7b6d605c0 | 4562f6430af5afffde790c42d0f3a33176d8003b | refs/heads/master | 2020-04-12T22:28:54.275703 | 2018-12-22T09:00:31 | 2018-12-22T09:00:31 | 162,790,540 | 20 | 14 | null | null | null | null | UTF-8 | C++ | false | false | 9,924 | cpp | /* Copyright (C) Peter Dalton, 2001.
* All rights reserved worldwide.
*
* This software is provided "as is" without express or implied
* warranties. You may freely copy and compile this source into
* applications you distribute provided that the copyright text
* below is included in the resulting source code, fo... | [
"alec.nunn@gmail.com"
] | alec.nunn@gmail.com |
1f10809cb8593f098d0da3e612974adff0598ac5 | 1b5b581792ec0e9a043da97f389ff509df2099bb | /SK-Lib-cmath-lgamma-Bagian3__CPP/Source.cpp | c2776141868bfb67c0eead229e4dcf72ce7f217a | [] | no_license | RizkyKhapidsyah/SK-Lib-cmath-lgamma-Bagian3__CPP | 1dc2f0cb92a83494fc4fc6bb27b301cc74c18bf9 | 7bc337771baafd7775aac5dffa291f400146284f | refs/heads/master | 2023-06-15T18:14:15.501165 | 2021-07-15T02:19:41 | 2021-07-15T02:19:41 | 386,135,126 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,047 | cpp | #pragma warning(disable:4996)
#pragma fenv_access(on)
#include <iostream>
#include <cmath>
#include <cerrno>
#include <cstring>
#include <cfenv>
#include <conio.h>
/* Source by CPPReference
Modified For Learn by Rizky Khapidsyah
I.D.E : VS2019 */
const double pi = std::acos(-1);
int main() {
std::cout ... | [
"rizkykhapidsyah@gmail.com"
] | rizkykhapidsyah@gmail.com |
36d7fb458e0e6cf192bd4506840f6231de006d30 | 243c8410315f1a2117f483c1964bb35e90d2c544 | /wxFaceClient/TaskSender.h | 9c2c00c861f96fab35a7a522c67b213e440bfc26 | [] | no_license | bestdpf/xface-error | a78c2f5be8997c1057c7f878242767dd6ad21adc | 0872f41e75ba5c2f888deed3bdabadc632453a28 | refs/heads/master | 2021-01-18T14:40:57.728951 | 2014-05-25T07:00:38 | 2014-05-25T07:00:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 389 | h | #pragma once
#ifndef TASK_SENDER_THREAD_H_
#define TASK_SENDER_THREAD_H_
#include <wx/socket.h>
#include <wx/thread.h>
#include <string>
class TaskSender : public wxThread
{
wxSocketBase* m_pSocket;
std::string m_task;
public:
TaskSender(wxSocketBase* sock, const std::string& task) : m_pSocket(sock), ... | [
"duan@gst169076.ip.sz.tsinghua.edu.cn"
] | duan@gst169076.ip.sz.tsinghua.edu.cn |
c3ef038f50c55f847a2e2337192be893193cc0ff | 90ec258b43de50d86040be54f8da9f2c447bc330 | /parallel/supermain.cpp | 67ed77acde4d23476e0a19c288a9d1a96122e93c | [
"MIT"
] | permissive | Jofemago/K-MEANS | 51355159876736929e6fa41b018aed200441d374 | 6c7cd18aab06bad4a1512a8605a1cf9edf344338 | refs/heads/master | 2020-06-15T11:06:43.697397 | 2019-07-19T00:39:10 | 2019-07-19T00:39:10 | 195,281,570 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,191 | cpp | //#include "Kmeans.cpp"
#include "SKmeans.cpp"
#include <vector>
#include <iostream>
#include <fstream>
#include <string>
#include <random>
#include <chrono>
using namespace std;
SKmeans KMEANS(vector<double> points, int dimension, int k = 4, double epsilon = 0.00001, int it = 10000 ){
int i = 0;
SKmeans a = S... | [
"jofemago@utp.edu.co"
] | jofemago@utp.edu.co |
b4533a6f4099e62d1747fd60c3ec0d54d5236046 | 77cf860172de4e72afd39799c45ad82d7652b23d | /Chapter 16/16.28.h | 9525d94a9f45deb81cc73fb62d62e2d7cd24286e | [] | no_license | roycefanproxy/CPP_Primer_5th | ed8c515ff27ed304c71668899a7f3fea65a302e8 | 449191713d449eb24be394103b73e2b417d52973 | refs/heads/master | 2021-05-31T08:26:41.242545 | 2016-01-24T16:33:22 | 2016-01-24T16:33:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,998 | h | #ifndef _16_28_H_
#define _16_28_H_
// generic default deleter
template <typename T>
class __DefaultDeleter
{
public:
void operator()(T* p) { delete p; }
};
// self implementation of std::shared_ptr
template <typename T>
class S_ptr
{
// private classes definition
private:
class Aux
{
template<typename> friend ... | [
"fchunhuei@gmail.com"
] | fchunhuei@gmail.com |
b74861b35579707592d177d613d7b11536e7e3e3 | 60a15a584b00895e47628c5a485bd1f14cfeebbe | /comps/misc/input/Scionfg/PreviewDialog.cpp | 9a432ef39dc1ba622bacb84ec7ee76a21ff7d419 | [] | no_license | fcccode/vt5 | ce4c1d8fe819715f2580586c8113cfedf2ab44ac | c88049949ebb999304f0fc7648f3d03f6501c65b | refs/heads/master | 2020-09-27T22:56:55.348501 | 2019-06-17T20:39:46 | 2019-06-17T20:39:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,256 | cpp | // PreviewDialog.cpp : implementation file
//
#include "stdafx.h"
#include "resource.h"
#include "PreviewDialog.h"
//#include "Settings.h"
#include "StdProfile.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
//////////////////////////////////////////////////////////... | [
"videotestc@gmail.com"
] | videotestc@gmail.com |
4a64004f3bd5010bf8142662d67bf7d6e6fb9ed0 | e20b0cb6fc031724dc364f1f6348bf18b91e208b | /Semaphore.cpp | eb05958fb72591948bdc65cbfd2f5a13de8147a1 | [] | no_license | Gouet/plazza | 768c46721df0aafca3d942d6ce50789aea374744 | 85775f66a99365568945c1896180d3f5bd74e9f6 | refs/heads/master | 2021-01-16T21:18:19.287979 | 2016-09-19T14:57:04 | 2016-09-19T14:57:04 | 68,616,269 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,761 | cpp | //
// Created by gaspar_q on 4/19/16.
//
#include <sys/ipc.h>
#include <sys/sem.h>
#include <sys/shm.h>
#include <system_error>
#include <iostream>
#include "Semaphore.hpp"
Semaphore::Semaphore(std::string const &path) :
isCreator(false),
semid(-1),
key(-1)
{
setPath(path);
acquireSemaphora();
}
... | [
"Victor@MacBook-Pro-de-Victor-2.local"
] | Victor@MacBook-Pro-de-Victor-2.local |
8fe5d3424d003b727283aa1dc879c15bdbf548ab | 93bff02a464c4ca5095d65fad991d5f46728b30e | /hintswindow.h | 6566e14ecbe484b07a1ea74a4d5eef2027ef505a | [] | no_license | Robbinb1993/uDebugTool | eab04d9c5733eb6171be890cb809ba6f5b1979ba | 621c1cbe21ab1cd690373e899960737d9bc4af72 | refs/heads/master | 2020-04-23T16:11:38.311084 | 2019-05-25T12:15:42 | 2019-05-25T12:15:42 | 171,289,880 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 454 | h | #ifndef HINTSWINDOW_H
#define HINTSWINDOW_H
#include <QDialog>
namespace Ui {
class HintsWindow;
}
class HintsWindow : public QDialog
{
Q_OBJECT
public:
explicit HintsWindow(QWidget *parent = 0);
void clear();
~HintsWindow();
private:
Ui::HintsWindow *ui;
private slots:
void hintsReceived(... | [
"robbin-b@live.nl"
] | robbin-b@live.nl |
d0ad5726b1bccbf60fe49e50deb45f15affe177f | 895e1f0af56518c7956594f7c650211d9fc2467a | /labs/game_engine/dev/src/GameEditor/PathManager.cpp | 70fe478c8a81affa10a2d8cb5658cca6a9feb8c8 | [] | no_license | lythm/orb3d | b6061ebf839381a35aaeab8baf08a38fcfe03a71 | 2defcbf86ef7dd2a27fe7bdc89bf709ed8bf2a79 | refs/heads/master | 2016-09-15T15:55:19.069094 | 2013-07-12T17:09:29 | 2013-07-12T17:09:55 | 4,442,482 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 120 | cpp | #include "StdAfx.h"
#include "PathManager.h"
PathManager::PathManager(void)
{
}
PathManager::~PathManager(void)
{
}
| [
"lythm780522@gmail.com"
] | lythm780522@gmail.com |
de68a7c27fff00bbeb35790d7e0b3e522d9f7e40 | 48b35b67fbbe3a3aef152bcf27efeae36e8a9260 | /Tarea4/code/include/AnpiConfig.hpp | a0d85ce44efeb9247b9859da313f00b9553ac774 | [] | no_license | juanp1995/ANPI_II2018 | 1a08d108700de6eb64aa1190d8f896ed0b2952e0 | f8bcdb821f10a528fa0d624e61ea0875bc7be6bd | refs/heads/master | 2020-03-26T10:23:29.981561 | 2018-11-22T22:18:34 | 2018-11-22T22:18:34 | 144,794,575 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 310 | hpp | /*
* Copyright (C) 2018
* Área Académica de Ingeniería en Computadoras, ITCR, Costa Rica
*
* This file is part of the numerical analysis lecture CE3102 at TEC
*
* Automatically generated by CMake using the template cmake/AnpiConfig.hpp.in
*/
#define ANPI_ENABLE_SIMD
/* #undef ANPI_ENABLE_OpenMP */
| [
"juanp1995@gmail.com"
] | juanp1995@gmail.com |
2dbf1248980794b664301ed8ffdd993740b49954 | 7d64c2e4b22386bcc998814ab7c9fbe7ade73932 | /C++/Lab 2.3.2/src/Lab 2.3.2.cpp | 1542ba7affc81ff8a1d6ea3813c1d01702a9e20c | [] | no_license | evan0894/Labs | f632e42e1fb5b142cb07190709068480f46c9bd6 | bb40adfa017f165e191d7794cfb58fcddbb94139 | refs/heads/master | 2020-04-28T11:57:11.364346 | 2019-03-12T16:56:08 | 2019-03-12T16:56:08 | 175,260,246 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 311 | cpp | #include <iostream>
using namespace std;
int main(void)
{
double pi4 = 0., y , z;
long n,x;
cout << "Number of iterations? ";
cin >> n;
for ( x = 0, y = 1, z = 1; x != n; x++){
pi4 = pi4 + (z / y);
z = z * -1;
y = y + 2;
}
cout.precision(20);
cout << "Pi = " << (pi4 * 4.) << endl;
return 0;
}
| [
"evan0894@vbtc.net"
] | evan0894@vbtc.net |
0792d23be28366b56aa662ea6790b539952e1ba5 | c06a3fb05d9f27ec37eff46d7b104c758449b202 | /practice-曾经的练习程序/book/002《程序员面试笔试宝典》里面的例程/1/13.3-字符串/13.3.6.cpp | c530c5192827164c78bd254479d574982dfa6c20 | [] | no_license | xumenger/xumenger.github.shit | ceabdf1da3ad19c9e1583d36d40f2729562d8af6 | dfb691bcbb10695368522324d6429b7f69f11333 | refs/heads/master | 2020-12-26T00:26:34.034917 | 2016-07-27T15:21:53 | 2016-07-27T15:21:53 | 35,945,793 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 294 | cpp | /*
* 如何查找字符串中每个字符出现的个数
*/
#include<stdio.h>
int main(){
char *str="AbcABca";
int count[256]={0};
for(char *p=str; *p; p++)
count[*p]++;
int i=0;
for(i=0; i<256; i++){
if(count[i]>0)
printf("The count of %c is %d\n",i,count[i]);
}
return 0;
}
| [
"xumenger@126.com"
] | xumenger@126.com |
6fd86933ed1ade4a9b309ee20d456082635926d0 | c70921252fd35e280c761927891543ab474e4a1d | /src/ch11/algo11-3.CPP | 79fc71c9907180eff714d0b9e58726ad37541d85 | [] | no_license | cjpthree/datastructure_vs | c6088ac4d3e5fab5ea2f9067eaa46a2a855a2609 | 9fc8b3dde4ecf62b2df17535454fba2ef9a244f3 | refs/heads/master | 2021-01-01T18:48:10.322979 | 2017-04-12T02:37:18 | 2017-04-12T02:37:18 | 20,332,973 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,759 | cpp | // algo11-3.cpp 将algo11-2.cpp产生的有序子文件f0,f1,f2归并成1个有序的大文件out
#include"c1.h"
typedef int InfoType; // 定义其它数据项的类型
#include"c10-1.h" // 定义KeyType、RedType及SqList
#define k 3 // k路归并
#define M 10 // 设输出M个数据换行
#include"bo11-1.cpp"
static void print(RedType t)
{
printf("(%d,%d)",t.key,t.otherinfo);
}
void Algo1... | [
"cjpthree@126.com"
] | cjpthree@126.com |
7b38ca80fe0202ed32080653063dec291aef057b | b162de01d1ca9a8a2a720e877961a3c85c9a1c1c | /301.remove-invalid-parentheses.cpp | a988808206a5a7e4a074021c84453a097c436f77 | [] | no_license | richnakasato/lc | 91d5ff40a1a3970856c76c1a53d7b21d88a3429c | f55a2decefcf075914ead4d9649d514209d17a34 | refs/heads/master | 2023-01-19T09:55:08.040324 | 2020-11-19T03:13:51 | 2020-11-19T03:13:51 | 114,937,686 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 789 | cpp | /*
* [301] Remove Invalid Parentheses
*
* https://leetcode.com/problems/remove-invalid-parentheses/description/
*
* algorithms
* Hard (37.22%)
* Total Accepted: 95.1K
* Total Submissions: 255.6K
* Testcase Example: '"()())()"'
*
* Remove the minimum number of invalid parentheses in order to make the inpu... | [
"richnakasato@hotmail.com"
] | richnakasato@hotmail.com |
f6ca1f22fe1f51c9caad7e8fa6daead6feb2b543 | c6b34754b9006f7437bdc84c13538289825016da | /ch9/Dorefa-Net/conv_dorefa_net.cpp | 150a28ded32b0c9e492ac548cc15e6bd1e9ef4af | [] | no_license | dreamkongfu/book-mobile-ml | a5b9c5aab9dc79d62a5f5465791435c61d2bab56 | 8c1d5f33fb13ccee8c28f0c7706857d4aab40f62 | refs/heads/master | 2023-03-22T10:07:37.398169 | 2020-03-16T15:30:29 | 2020-03-16T15:30:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,297 | cpp | template <typename Dtype>
void ConvDorefaLayer<Dtype>::LayerSetUp(const vector<Blob<Dtype>*>& bottom,
const vector<Blob<Dtype>*>& top) {
const ConvDorefaParameter convDorefa_param = this->layer_param_.convolution_dorefa_param();
const ConvolutionParameter conv_param = this->layer_param_.convolution_param(... | [
"samblg@me.com"
] | samblg@me.com |
e26c8002621902ef503cf04d5078083c3696f122 | c776476e9d06b3779d744641e758ac3a2c15cddc | /examples/litmus/c/run-scripts/tmp_5/MP+dmb.sy+ctrl-[fr-rf]-addr-ctrlisb.c.cbmc_out.cpp | 9f02bffe75b2f8f2cd60466aa07a4f8f8f05b669 | [] | 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 | 63,117 | cpp | // Global variabls:
// 0:vars:4
// 4:atom_1_X0_1:1
// 5:atom_1_X2_0:1
// 6:atom_1_X4_1:1
// 7:atom_1_X8_0:1
// Local global variabls:
// 0:thr0:1
// 1:thr1:1
// 2:thr2:1
#define ADDRSIZE 8
#define LOCALADDRSIZE 3
#define NTHREAD 4
#define NCONTEXT 5
#define ASSUME(stmt) __CPROVER_assume(stmt)
#define ASSERT(stmt) __CP... | [
"tuan-phong.ngo@it.uu.se"
] | tuan-phong.ngo@it.uu.se |
525faa43a899ddaf6d09000a2dce28db511e51c6 | 0c1783c89ae9b678d2a60709b79f674ca6c55460 | /QImageCVMat.hpp | 6bd73d2efbf7f9137a33b63ce28d0f5ed5e489fe | [] | no_license | jzdzhcsqhy/CommonFiles | 7d3fa5db949d89bd983a21485a618b1238a83893 | 5c2df2da9104fbb0311906ce994340f3564894f6 | refs/heads/master | 2022-07-20T07:25:02.687497 | 2022-07-14T02:30:03 | 2022-07-14T02:30:03 | 176,206,415 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,758 | hpp | #ifndef QIMAGECVMAT_HPP
#define QIMAGECVMAT_HPP
#include <QImage>
#include <fstream>
#include <opencv2/opencv.hpp>
#include <QFile>
namespace CVHelper {
template< typename T>
static bool matToCsv( cv::Mat& d, std::string strPath )
{
if( d.empty() )
{
return false;
}
std::ofstream fout;
fou... | [
"466921396@163.com"
] | 466921396@163.com |
931016ebb3cb8f773744fbd43f5c68d4123f6d2e | dc7e90b29457940205a6126b79a5214ade6e3e3b | /src/cupoch/camera/pinhole_camera_parameters.cpp | 4e8fff0dc1d9d7298d22852453517dec943f92ac | [
"MIT"
] | permissive | simeseg/cupoch | d90c0374c7c3762d0c829ca37a5c628049482fbc | f6c91f429eaa965f7c2b7ee7d400d6086aeee015 | refs/heads/master | 2023-07-02T22:25:04.918590 | 2021-08-01T10:10:46 | 2021-08-01T10:10:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,700 | cpp | /**
* Copyright (c) 2020 Neka-Nat
* 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, publish, dis... | [
"nekanat.stock@gmail.com"
] | nekanat.stock@gmail.com |
7a040d8186312b7a1a5b99b908c83908f441d775 | 4eb60d1a19e3d1a01593794e10b384098ab66d97 | /include/gbAudio/Source.hpp | 5aa62b65f5651794cf0daf41ca9491d1ec765bc7 | [
"MIT"
] | permissive | ComicSansMS/GhulbusAudio | 0fc48ff2e28f9aa20d44572823d44e28ae855535 | 895ed529d98f10cdbd68dcbcc5a5de655bb099d1 | refs/heads/master | 2021-08-18T18:11:37.692042 | 2020-12-27T14:40:25 | 2020-12-27T14:40:25 | 58,185,397 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,065 | hpp | #ifndef GHULBUS_LIBRARY_INCLUDE_GUARD_AUDIO_SOURCE_HPP
#define GHULBUS_LIBRARY_INCLUDE_GUARD_AUDIO_SOURCE_HPP
/** @file
*
* @brief Audio Source.
* @author Andreas Weis (der_ghulbus@ghulbus-inc.de)
*/
#include <gbAudio/config.hpp>
#include <gbAudio/AudioFwd.hpp>
#include <gbAudio/Playable.hpp>
#include <functional>
... | [
"der_ghulbus@ghulbus-inc.de"
] | der_ghulbus@ghulbus-inc.de |
eb801d07161bad8bf6712f220a57ed6b73c6238f | e6a686582a20f3b927dd9965d93acac83eec9ad1 | /src/main.cpp | b7e0a6506246ece22ac563071c63ee3b3fbb87b6 | [] | no_license | benjamin-harvey/FullStackMessagingApp | 58caa961ea7e63daffd0821721f8d6f6102f614b | a5ed6c69013f90c1a48191952b3b30e131b82896 | refs/heads/main | 2023-03-22T02:45:23.307369 | 2021-03-11T13:52:56 | 2021-03-11T13:52:56 | 346,712,474 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 226 | cpp | #include "login.h"
#include "signup.h"
#include <QApplication>
#include <QDesktopWidget>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
Login loginPage;
loginPage.show();
return a.exec();
}
| [
"N0851099@my.ntu.ac.uk"
] | N0851099@my.ntu.ac.uk |
bf76879fc784b0cd7d7dfb1d92277a418e1ebecf | 7e5d636509d42d0939ab6401fd2b8c6eda39d841 | /temperature.cpp | 4d822caaee79643bda9c6568a392f9f06824dd03 | [] | no_license | dngocvu/Latte-Machine | d8b4b83169d1f8d60d547a589f791215d08bf865 | 59466b89650e82fe04569a0611d3acd689d3d658 | refs/heads/main | 2023-01-20T22:50:00.295090 | 2020-11-30T12:35:44 | 2020-11-30T12:35:44 | 317,215,698 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 45,494 | cpp | /*
temperature.c - temperature control
Part of Marlin
Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License... | [
"dngocvu680@gmail.com"
] | dngocvu680@gmail.com |
acab65f93a6e4e0ad1688d0dc3e0ff1a3cf6b9db | 33321b4733be80d98dda7b3c3618c2692dea59bb | /AfxHookGoldSrc/camimport.h | 9b50504d983488a218278b6bfb2d63cc0f502a3b | [] | no_license | netglowlovesyou/advancedfx | 6202862ddcf36c2858fc84295c26a973741bf7be | cb4a5cb30d3c265a26ec31f572900db4511ae05c | refs/heads/master | 2021-01-15T14:36:46.074153 | 2015-12-10T05:29:57 | 2015-12-10T05:29:57 | 47,743,872 | 1 | 0 | null | 2015-12-10T06:57:44 | 2015-12-10T06:57:43 | null | UTF-8 | C++ | false | false | 512 | h | #pragma once
#include <shared/bvhimport.h>
class CCamImport
{
public:
CCamImport();
~CCamImport();
bool IsActive();
bool LoadMotionFile(wchar_t const * fileName);
void CloseMotionFile();
// outformat: see BvhImport::BvhChannel_t
// return: truew if successful
bool GetCamPositon(double fTim... | [
"dominik@matrixstorm.com"
] | dominik@matrixstorm.com |
f40455947c83afeaf764762f440e7fa43f322d73 | ce3bd66c0d64ccbafabe26c15120a5c7e358dfb9 | /03_CodeSnippets/05_Standard_Template_Library/02_Strings/05_Truncating_Strings.cpp | 4ccd1bd642f684050c85dc9e572f65d1dc0791ca | [] | no_license | katipogluMustafa/CppLangTraining | e7222014f5849f197ebc3b3a1bca1e45f6f5e21f | bd12643e8cbcd79a6056362cbbe5eb0070843004 | refs/heads/master | 2021-07-12T18:41:28.770062 | 2020-09-23T10:45:09 | 2020-09-23T10:45:09 | 204,374,627 | 0 | 1 | null | 2020-09-23T10:49:21 | 2019-08-26T01:46:24 | C++ | UTF-8 | C++ | false | false | 1,024 | cpp | #include<iostream>
#include<algorithm>
#include<string>
void print(std::string str) {
std::cout << str << '\n';
}
int main() {
std::string str("This is a loong string that contains lots of characters which is totally waste of bytes.P");
print(str);
// Delete characters given position and count
str.erase(3,57); ... | [
"mustafakatipoglu98@hotmail.com"
] | mustafakatipoglu98@hotmail.com |
b488f898031b121fbe3f2baa928dd4995a19a803 | 10a7da01d378e129d0a607742fc5f2fd240da52c | /Graph/CycleDetection/Undirected_Cycle_Check_DFS.cpp | da90a588b27fb25a4211caa26ca5673c9280aeb7 | [] | no_license | bhagat-hrishi/Ds-Algo | 432a99ccffe89f1d0de8df68f32fc3a5f9750846 | bee868fe9ba92fba3b13134b0ae2a869d975b605 | refs/heads/main | 2023-06-14T06:11:54.254568 | 2021-07-06T06:08:48 | 2021-07-06T06:08:48 | 262,500,830 | 0 | 5 | null | 2020-10-22T12:34:29 | 2020-05-09T06:01:22 | C++ | UTF-8 | C++ | false | false | 1,272 | cpp | #include <bits/stdc++.h>
using namespace std;
bool checkForCycle(int source, int parent, vector<int> &vis, vector<int> adj[])
{
// make node visited
vis[source] = 1;
for (auto child : adj[source])//traverse adjecent nodes
{
if (vis[child] == 0)//if not visited
{
if (checkF... | [
"hrishibhagat8642@gmail.com"
] | hrishibhagat8642@gmail.com |
2d0ceec929b4b79441661b4e6be429cb4650d3e8 | 85b690ce5b5952b6d886946e0bae43b975004a11 | /Application/Input/openfoam-org/processor0/0.9/p_rgh | b3152c89ff6cea8adc0b5b13a6038e457482eaaf | [] | no_license | pace-gt/PACE-ProvBench | c89820cf160c0577e05447d553a70b0e90d54d45 | 4c55dda0e9edb4a381712a50656855732af3e51a | refs/heads/master | 2023-03-12T06:56:30.228126 | 2021-02-25T22:49:07 | 2021-02-25T22:49:07 | 257,307,245 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,077 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5.0 |
... | [
"fang.liu@oit.gatech.edu"
] | fang.liu@oit.gatech.edu | |
201096f11221d1250c34fc0d3f4061c21fc599f0 | bd755c98543160ab6bbd932c8f3b4a56356a9609 | /src/R/rDotNet/src/msgs/data/CLRFloat64.hpp | 09d515a3a34613889759b0382fc9015d39f1f26e | [
"Apache-2.0"
] | permissive | jar1karp/.Net-Bridge | aa89fdd90149c36410d163ff93b7f5aec6d0ab9b | dabbd95ab564e2546fbd87732dcf72ea2418f84c | refs/heads/master | 2021-01-21T09:14:40.074332 | 2017-08-30T19:59:53 | 2017-08-30T19:59:53 | 101,968,004 | 0 | 0 | null | 2017-08-31T06:37:05 | 2017-08-31T06:37:05 | null | UTF-8 | C++ | false | false | 1,475 | hpp | //
// General:
// This file is pary of .NET Bridge
//
// Copyright:
// 2010 Jonathan Shore
// 2017 Jonathan Shore and Contributors
//
// License:
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obt... | [
"jonathan.shore@gmail.com"
] | jonathan.shore@gmail.com |
1171e81dc5df3ec071cae50d2f2b509ad0445d71 | c1ff870879152fba2b54eddfb7591ec322eb3061 | /plugins/render/ogreRender/3rdParty/ogre/RenderSystems/GL3Plus/src/OgreGL3PlusTextureBuffer.cpp | 956fc488ee3150dc57396301ea8d6be283bb8841 | [
"MIT",
"LicenseRef-scancode-free-unknown"
] | permissive | MTASZTAKI/ApertusVR | 1a9809fb7af81c3cd7fb732ed481ebe4ce66fefa | 424ec5515ae08780542f33cc4841a8f9a96337b3 | refs/heads/0.9 | 2022-12-11T20:03:42.926813 | 2019-10-11T09:29:45 | 2019-10-11T09:29:45 | 73,708,854 | 188 | 55 | MIT | 2022-12-11T08:53:21 | 2016-11-14T13:48:00 | C++ | UTF-8 | C++ | false | false | 31,852 | cpp | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2014 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any... | [
"peter.kovacs@sztaki.mta.hu"
] | peter.kovacs@sztaki.mta.hu |
71d22c8f907437345eca5c060e7f6e7c6827c058 | 7e5a86fd3be55118037e1e8f84ead7d8c1d82da0 | /剑指offer33_数组中重复出现的数字/test.cpp | 8196eb4f5070a64cf5eaa35a09c2aa2c6e25eccd | [] | no_license | WYQ3333/jianzhioffer33_array_appear_double | 10bc989ed9b05602b16d8b46fcc00e6f81563bd6 | b4e9b8d4a436cb181b051c212f79e7fe0f73c8f4 | refs/heads/master | 2020-04-23T07:08:52.344789 | 2019-02-16T11:40:50 | 2019-02-16T11:40:50 | 170,997,349 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,754 | cpp | #include<iostream>
using namespace std;
//在一个长度为n的数组里的所有数字都在0到n - 1的范围内。
//数组中某些数字是重复的,但不知道有几个数字是重复的。也不知道每个数字重复几次。
//请找出数组中任意一个重复的数字。 例如,如果输入长度为7的数组{ 2, 3, 1, 0, 2, 5, 3 },
//那么对应的输出是第一个重复的数字2。
class Solution1 {
public:
// Parameters:
// numbers: an array of integers
// length: the length ... | [
"3538922590@qq.com"
] | 3538922590@qq.com |
37a4e6d8536dce461c62837d80db9c6628f7d0f6 | 901571e54db419ccd0aa4d7a3dbfcd8dd5b37207 | /BOJ/3000/3460.cpp | 192a245b9837e73b3ddcede108c7e9df5d11cce4 | [] | no_license | fbdp1202/AlgorithmParty | 3b7ae486b4a27f49d2d40efd48ed9a45a98c77e8 | 9fe654aa49392cb261e1b53c995dbb33216c6a20 | refs/heads/master | 2021-08-03T22:52:30.182103 | 2021-07-22T06:15:45 | 2021-07-22T06:15:45 | 156,948,821 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 289 | cpp | // baekjoon 3460 yechan
#include <cstdio>
#include <algorithm>
using namespace std;
int T, N;
int main()
{
scanf("%d", &T);
while (T--)
{
scanf("%d", &N);
int pos = 0;
while (N) {
if (N & 1) {
printf("%d ", pos);
}
N >>= 1;
pos++;
}
puts("");
}
return 0;
} | [
"rbynddd@naver.com"
] | rbynddd@naver.com |
a84164cc2730dfb3e87c47389d6051a8b8ded26b | 122fb48c08c98ce3aa1c8ab9ff45220b67e44271 | /Plugins/ExtendedStandardLibrary-13384136a243/Source/LowEntryExtendedStandardLibrary/Public/Classes/LowEntryHashingHashcashLibrary.h | b1c3d425565741ca756d30f249d65360f01a41eb | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | piandpower/the-peacenet | e55b956bad97b93ca73a92a98d1044597f174124 | a2a1f1eba50e7b7f856464e320c543ccfc08573d | refs/heads/master | 2020-04-27T19:51:19.014446 | 2019-03-02T00:36:44 | 2019-03-02T00:36:44 | 174,636,547 | 1 | 1 | NOASSERTION | 2019-03-09T02:01:02 | 2019-03-09T02:01:01 | null | UTF-8 | C++ | false | false | 1,336 | h | // Copyright Low Entry. Apache License, Version 2.0.
#pragma once
#include "CoreMinimal.h"
#include "LowEntryParsedHashcash.h"
class ULowEntryHashingHashcashLibrary
{
private:
const static int32 VERSION = 1;
const static int32 MAX_COUNTER = 1048576;
const static FString DATE_FORMAT_STRING;
... | [
"theplexgate@gmail.com"
] | theplexgate@gmail.com |
59b9cb16e1d09fb2ba1ce7108da41fdbdfc96e06 | 5da3d5f4600af8145e4ff2ca0291b991c42d0a6c | /app12.cpp | 268755d3a30c49010e099c9c737a64e37f4075f4 | [] | no_license | berkaybayram/cs409-2018-19-spring | 72888072fadcaf424275baffbfc00d20542307d4 | 42c7833f270c4db10368645c2ff14220080aa1c3 | refs/heads/master | 2022-02-25T15:19:49.066607 | 2019-05-22T11:02:32 | 2019-05-22T11:02:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,773 | cpp | // Friend functions
// ADL: Argument dependent lookup
// Always prefer non-member (free) non-friend functions first
// Copy-swap Idiom:
// - Any class that manages a resource (a wrapper, like a smart pointer)
// needs to implement The Big Three. (And The Big Four after C++11: move semantics)
// Conceptually, it wor... | [
"fkirac@gmail.com"
] | fkirac@gmail.com |
a89091d557ef93646099ddc20b7ddf4562371875 | 1ddc482e71e183b97307ac16758c284721455bd4 | /dwarfcode/order.cpp | 9104f8a5af8ee6aca44cb629e5c7a9a159a02818 | [] | no_license | asds25810/LCSR | 6414a180620220f378d44ff438a632857b4bbbdd | d0e800b368f5a74c13d8c6c487a69f7c10ed3023 | refs/heads/master | 2023-08-20T10:18:55.544049 | 2021-10-14T07:15:45 | 2021-10-14T07:15:45 | 322,009,166 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,123 | cpp | #include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
ifstream fin;
ofstream fout;
typedef vector <string> VS;
VS line, oline;
VS saveS, saveR, saveW, saveTime;
string my_itos(int i)
{
string r;
char c[128];
sprintf(c, "%d\0", i... | [
"1552952513@qq.com"
] | 1552952513@qq.com |
b2f4acde837b7e7213a35fe5e8c8ddaca03a3909 | 83277c07fd14427925491ed863cb426707ccd78a | /Graph Data Structure & Algorithms/Level Order.cpp | 2176416dfd672f914b91a103fc7593d58d65818b | [] | no_license | sonali9696/InterviewBit | 78edbd2d2dddf02bcd77ca2f74e3d367c84fa128 | 40fb6fb8cbdf3e9f3b6d643b94caed1fd3e53b51 | refs/heads/master | 2020-06-08T22:10:16.969319 | 2020-05-24T13:59:15 | 2020-05-24T13:59:15 | 193,315,514 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,390 | cpp | /**
* Definition for binary tree
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
vector<vector<int> > Solution::levelOrder(TreeNode* A) {
vector<vector<int> > ans;
if(A == NULL) return ans;
q... | [
"soagraw@microsoft.com"
] | soagraw@microsoft.com |
d2465b7cf8042935152454dc7d0aa525f8beb8c3 | 8f85a61c717c65d89c798d385667b09ba255a3f3 | /trunk/src/app/srs_app_ingest.cpp | d33bb3359394541387b3ffe02ea74a1da3e47dbe | [
"MIT"
] | permissive | not-today/simple-rtmp-server | 8a0f621564285292181f3f29bcce49a2f51542eb | 14f0a2e046ea13da598d16e1972741a5cca36c49 | refs/heads/master | 2021-01-18T19:48:38.780892 | 2014-05-26T10:21:35 | 2014-05-26T10:21:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,179 | cpp | /*
The MIT License (MIT)
Copyright (c) 2013-2014 winlin
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, p... | [
"winlin@vip.126.com"
] | winlin@vip.126.com |
895769d4e55dc82dcdb5eeb11681b7feffc412ed | 1071d3a250dc274fe3ff4096980c365aa248782c | /Physics/Wheel.cpp | a85568800e28cfd3e4a61a1a5f4263d6358305e1 | [] | no_license | crazyanimals/unlimited_racer | d3c93810dc12d8c348a37da256fb32276eb506e9 | 5db48ac818661e3320be1d007dd1752867082a3c | refs/heads/master | 2020-03-06T15:22:03.270044 | 2018-03-27T08:56:24 | 2018-03-27T08:56:24 | 126,954,584 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,345 | cpp |
#include "Resources.h" // for resources structures
#include "Wheel.h"
#include "Car.h"
using namespace physics;
//////////////////////////////////////////////////////////////////////////////////////////////
//
//
//
///////////////////////////////////////////////////////////////////////////////////... | [
"vencax@centrum.cz"
] | vencax@centrum.cz |
40e720af53b26cf55e5ec23ba13f3f05fc84a367 | 214968eb63b5697be496029d314653826d5d0fb5 | /Hw 2/main.cpp | 030e0a8af55e71bb55cd970d959e4588933b4b96 | [] | no_license | gulmezbe/Algorithm-Analysis-2-Homeworks | 670d13a6bc645cb594a5cee96b60f02678508870 | e9212b0ae5b461c8ca71d9f65e93d1cfdb1c9875 | refs/heads/master | 2021-01-09T15:59:17.836049 | 2020-02-22T15:32:13 | 2020-02-22T15:32:13 | 242,365,134 | 0 | 0 | null | null | null | null | ISO-8859-3 | C++ | false | false | 5,664 | cpp | /*
* Student name: Behlül Gülmez
* Student ID : 150140113
* Date: 20/04/2018
*/
#include <ctime>
#include <iostream>
#include <string>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <vector>
#include <stack>
#include <queue>
#include <fstream>
#include <sstream>
#include <limits>
#include <math.h>... | [
"behlul_gulmez@hotmail.com"
] | behlul_gulmez@hotmail.com |
6606d6cc4aa6eb4c21a1813a570fa8a49274be61 | 1629cc890920e23ee972076fb216def94475be26 | /src/hls/exact_dot_product/base/.autopilot/db/complete_register.pp.0.cpp.ap-cdt.cpp | 30bbcf2bcf90d7424be022a377b5982d4f6cb24a | [] | no_license | simonace/deep-learning-fpga | f454464a2355e8a607b7455303056842abc2992a | cd76fc439cf937b526b4d516196917a8026aeed2 | refs/heads/master | 2020-04-12T13:15:02.552150 | 2018-05-06T09:00:46 | 2018-05-06T09:00:46 | 162,517,368 | 6 | 2 | null | 2018-12-20T02:45:00 | 2018-12-20T02:44:59 | null | UTF-8 | C++ | false | false | 1,911,479 | cpp | #pragma line 1 "exact_dot_product/complete_register.cpp"
#pragma line 1 "exact_dot_product/complete_register.cpp" 1
#pragma line 1 "<built-in>" 1
#pragma line 1 "<built-in>" 3
#pragma line 155 "<built-in>" 3
#pragma line 1 "<command line>" 1
#pragma empty_line
#pragma empty_line
#pragma empty_line
#pragma empty_line
#p... | [
"xubili93@gmail.com"
] | xubili93@gmail.com |
eb37813fb703a497c3eb584085dbd04bf8b015d1 | aa650dcd632a4e50c83af9564ea973549f592017 | /src/leveldb/db/version_set.cc | a93c7d4df2dd30a9cb5c80bc6f23c0a1d3af128c | [
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla"
] | permissive | Buenoscoin/Buenoscoin | 16815c26cfc630ab85a25fdb5b41b7e66b376802 | 8dae1d242a99fab55802d8958a831d83db6ac008 | refs/heads/master | 2020-03-17T10:11:42.422660 | 2018-09-26T02:03:53 | 2018-09-26T02:03:53 | 133,503,459 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 48,591 | cc | // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#include "db/version_set.h"
#include <algorithm>
#include <stdio.h>
#include "db/filename.h"
#include ... | [
"barneychambers@hotmail.com"
] | barneychambers@hotmail.com |
62bd69caf9c5dbbf034da90d44564fd6ab19b8ee | 599908a2466ef05aaa247d616b8c5a7c6a3ddbf4 | /Src/User/UART.cpp | b8a472545dca449bf9cb8f0f67d12a20effa9aca | [] | no_license | wongyunkei/KeiLib | d65cae1136015b25e98586342c99f5dbbc1016c5 | fff7e13b7f57c03d53b442b656eb68c7195df10c | refs/heads/master | 2021-01-19T10:15:28.137603 | 2017-02-19T08:29:13 | 2017-02-19T08:29:13 | 82,168,386 | 0 | 1 | null | 2020-03-08T01:17:13 | 2017-02-16T10:23:08 | C | WINDOWS-1252 | C++ | false | false | 18,924 | cpp | /*
* UART.cpp
*
* Created on: 2014¦~8¤ë4¤é
* Author: YunKei
*/
#include <UART.h>
using namespace Communication;
extern UART_HandleTypeDef* STDOUT_USART;
extern UART_HandleTypeDef* STDERR_USART;
extern UART_HandleTypeDef* STDIN_USART;
UART_HandleTypeDef UART1Handler;
UART_HandleTypeDef UAR... | [
"wongy@DESKTOP-TMGI6Q9"
] | wongy@DESKTOP-TMGI6Q9 |
246937644840bf5706da4995975cef66e99eb998 | 98f217e4b47b71d0b24145340bf865fba2dd2cb4 | /Level_6/Assignments_Visrrut/DD_projects_4.2b.5/DD_projects_4.2b.5/NumericArray.cpp | 8cd96e4e60bf8ff00c833de6331353f79b67360d | [] | no_license | VictorTo100/BaruchCplusplus | 21c15549c089b3351fb454db6e907f6ab6c4d369 | 17a00873d79afd843e6d9d70a7e7b791de2a5dc1 | refs/heads/master | 2023-04-11T03:10:32.233937 | 2021-04-24T14:09:57 | 2021-04-24T14:09:57 | 361,177,309 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,120 | cpp | /*Author: Vishrut Talekar; Nov 2020
*/
/*The purpose of this file is implement the template class NumericArray defined in header file NumericArray
*/
#ifndef NumericArray_CPP
#define NumericArray_CPP
#include "Array.h"
#include "NumericArray.h"
#include "OutOfBoundsException.h"
#include "MatchingSizeException.h"
#i... | [
"vishrut.talekar@baruchmail.cuny.edu"
] | vishrut.talekar@baruchmail.cuny.edu |
fc47ed5306db6f46204b9294f6d0dd9cb4dda397 | 009ab8d0c1ace43cd7b7c0783aabe43a384d8fbf | /Application/include/ui/element/VSlider.hpp | 173a8453a45cbe3254782a2c607404d7b60d75c6 | [
"MIT"
] | permissive | RoutineFree/TriPlayer | 89abc4044ece99876fbc4dd03e2df4128b61e3b2 | 4e5ee19c992eba033b57444b7f4b312acf339163 | refs/heads/master | 2023-01-28T09:20:23.500344 | 2020-11-27T02:45:23 | 2020-11-27T02:45:23 | 316,519,579 | 0 | 0 | MIT | 2020-11-27T14:13:13 | 2020-11-27T14:13:13 | null | UTF-8 | C++ | false | false | 1,335 | hpp | #ifndef ELEMENT_VSLIDER_HPP
#define ELEMENT_VSLIDER_HPP
#include "Aether/Aether.hpp"
namespace CustomElm {
class VSlider : public Aether::Element {
private:
Aether::Rectangle * barBg; // Background bar
Aether::Rectangle * barFg; // Forground bar
Aether::Ellips... | [
"40382856+tallbl0nde@users.noreply.github.com"
] | 40382856+tallbl0nde@users.noreply.github.com |
cf39c845e27329c61f5a4a04440c469adebb891d | fc051025d6eadd958e3fb1a9f718a3f8305faf5b | /DTTREK/DTMainHeaderEdit.h | 6cb7463ee02a40ae35da63fd58c3b40eab5d63af | [] | no_license | sauliusg/d-star-trek | 219d57a4da48dc63593f48ac14bda690ba513b5e | 1211ffb4618b1a666ac2e42e9e9abe50d1572316 | refs/heads/master | 2021-06-22T17:54:52.079095 | 2017-08-17T16:05:32 | 2017-08-17T16:05:32 | 100,615,969 | 0 | 0 | null | 2017-08-17T15:03:59 | 2017-08-17T15:03:59 | null | UTF-8 | C++ | false | false | 2,482 | h | //
// Copyright (c) 2005 Rigaku/MSC, Inc.
//
// RESTRICTED RIGHTS NOTICE SHORT FORM (JUNE 1987)
//
// Use, reproduction, or disclosure is subject to restrictions set
// forth in Contract No. W-31-109-ENG-38 and Contract No.
// 943072401 with the University of Chicago, Operator of
// Argonne National Laboratory.... | [
"thom.hendrixson@gmail.com"
] | thom.hendrixson@gmail.com |
7ee6268dd093b59fa7be1b76079cf4b1497731e5 | bf03079cf39e9de6644ca1f993d2390d78e11b42 | /Machine.cpp | 6a9b9061af62fae71183620ab56fa56f52dddfd2 | [] | no_license | AlSerMur/Machine | 2a7a50b9aaade1b74049689ecf890ce39cce5adc | a7ec39d5364f82426e153c11dbe71cca29392efb | refs/heads/master | 2020-05-29T19:48:04.738590 | 2019-05-30T03:38:48 | 2019-05-30T03:38:48 | 189,340,131 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,173 | cpp | #include<iostream>
#include<vector>
#include<cmath>
#include<fstream>
using namespace std;
class Matrix {
int row, col;
vector <vector <double> > data;
public:
Matrix (int row = 1, int col = 1): row(row), col(col),
data(vector <vector <double > > (row, vector<double> (col, 0.5))) {}
int getR... | [
"doctor.alimgaziev@gmail.com"
] | doctor.alimgaziev@gmail.com |
109b6351bbf384c32e1f87ddf724d159481a2cbd | 739acaec401a87d2f134a2e64328c8b8210ce637 | /libs/commonLibs/cmnWinUtils.h | 3c16f8f59f3a3622f86bdafc1de3230dcbf5509e | [] | no_license | jgh0721/iMonPlatform | 38ae717bfc9f4b825523847cc4e161803a143041 | 42ccc2cf232fcf85a1daa1b92d74cfd27edf3d8b | refs/heads/master | 2016-09-06T13:08:44.263641 | 2013-06-28T09:54:36 | 2013-06-28T09:54:36 | 10,777,847 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,949 | h | #ifndef CMNWINUTILS_H
#define CMNWINUTILS_H
#include <string>
#include <queue>
#include <list>
#include <vector>
#include <unordered_map>
#include <boost/thread.hpp>
#include <boost/thread/mutex.hpp>
#include <Windows.h>
#include <WinSock2.h>
#include <UrlMon.h>
#pragma comment(lib, "urlmon" )
#if... | [
"jgh0721@gmail.com"
] | jgh0721@gmail.com |
8ff9ecac1306b37d64558e14297c50f95f4ce811 | 9923a00a9afcd97c2fb02f6ed615adea3fc3fe1d | /Branch/Deprecated/SickLDMRS/datatypes/Msg.cpp | f09db0d62de3600939d6ffec499fa9aba3bb86f6 | [
"MIT"
] | permissive | Tsinghua-OpenICV/OpenICV | 93df0e3dda406a5b8958f50ee763756a45182bf3 | 3bdb2ba744fabe934b31e36ba9c1e6ced2d5e6fc | refs/heads/master | 2022-03-02T03:09:02.236509 | 2021-12-26T08:09:42 | 2021-12-26T08:09:42 | 225,785,128 | 13 | 9 | null | 2020-08-06T02:42:03 | 2019-12-04T05:17:57 | C++ | UTF-8 | C++ | false | false | 816 | cpp | //
//
// Msg.cpp
//
#include "Msg.hpp"
#include <sstream>
// ////////////////////////////////////////////////////////////
namespace datatypes
{
Msg::Msg(const UINT16 sourceId)
{
m_sourceId = sourceId;
m_datatype = Datatype_Msg;
}
Msg::Msg(const UINT16 sourceId, const std::string message)
{
... | [
"synsin0@outlook.com"
] | synsin0@outlook.com |
1696d81157d626758f05feb1f3cb5496d95202a2 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/git/old_hunk_7402.cpp | 4ca0eee9ac40c5e5b00ffc7c9ee6cb64a47b7c02 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 301 | cpp | return -1;
}
static struct path_list mailmap = {NULL, 0, 0, 0};
static void insert_one_record(struct path_list *list,
const char *author,
const char *oneline)
{
const char *dot3 = common_repo_prefix;
char *buffer, *p;
struct path_list_item *item;
struct path_list *onelines;
| [
"993273596@qq.com"
] | 993273596@qq.com |
9b497ef92cdfd7b6f2b2b77264df50ec98652ab0 | 1092b026b49d492bed5765ade169caf643c26d9d | /src/ompl/geometric/planners/stride/src/STRIDE.cpp | cd6f9903878c2f68b27b40867544715c86e68cf0 | [
"BSD-3-Clause"
] | permissive | robotfan4/ompl | 4b26197fa0534d09ff2010b3112a6ebe5f93cb46 | d1ac6221fd6883134ff0f17b3fb4e22d3ac768c3 | refs/heads/master | 2021-01-11T20:15:17.400628 | 2017-01-16T03:13:53 | 2017-01-16T03:13:53 | 79,075,020 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,261 | cpp | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2008, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following... | [
"robot.fan4@gmail.com"
] | robot.fan4@gmail.com |
6050fdedea3077adafbbd839daff9828154c54df | 97e0a4bba7bea5689a20d019f5523d5407bc606a | /CompCoding/pemutation.cpp | 73347a48e1c4077800896cebc91713d881c88de5 | [] | no_license | rathore-rahul/Coding-Practice | a5fef06edaf500f337073b930b973c03ca5b5228 | 168320bb089304fb377e94053214b1aeaa80cef9 | refs/heads/master | 2020-11-24T19:00:40.241253 | 2019-12-16T04:20:09 | 2019-12-16T04:20:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 367 | cpp | #include <iostream>
using namespace std;
void permute(int arr[],int pos,int n){
if(pos == n){
for(int i =0; i < n ;i++){
cout<<arr[i]<<" ";
}
cout<<endl;
return;
}
for(int i = pos ; i <n ; i++){
swap(arr[i],arr[pos]);
permute(arr,pos+1,n);
swap(arr[i],arr[pos]);
}
}
int main(){
... | [
"mt6130610@iitd.ac.in"
] | mt6130610@iitd.ac.in |
e4ad8f5f15ba48874be52913211db8974199a36e | 427277e5296cf72d249a05be5ed588b90b630b8d | /src/cmoon/benchmarking/noop_benchmark.ixx | f3565b4e5e31e2ff525ec811e189204613fcb7b8 | [] | no_license | mooncollin/C_plus_plus-Helpful-Libraries | 6629e48e249dc40518814922112bc1e9a4384313 | 3db66e325a9c2b1d40edb7434a130bcd88be5d5a | refs/heads/master | 2022-06-22T03:59:12.096601 | 2022-06-08T03:29:13 | 2022-06-08T03:29:13 | 216,155,873 | 14 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 448 | ixx | export module cmoon.benchmarking.noop_benchmark;
import <cstddef>;
import cmoon.benchmarking.benchmark;
import cmoon.benchmarking.do_not_optimize;
namespace cmoon::benchmarking
{
export
class noop_benchmark : public benchmark
{
public:
noop_benchmark(std::size_t runs = 10, std::size_t iterations = 100)
:... | [
"mooncollin@gmail.com"
] | mooncollin@gmail.com |
90e829d6c1210314dd88ae7ca1217286440be247 | da7d5ee2e6a0c511435b307c07146ad2722c856f | /LunaEngine/Lighting/cLightManager.cpp | 6d175db6727b66e2fad1786f0e86de2ef296163a | [] | no_license | HamzaMiann/Luna-Game-Engine | abcbf9b3d7f571c009c6a8c77d2e3c52c392b28b | 404aabaed4ba6fc3afa7d9710102551cf752eb2f | refs/heads/master | 2022-04-24T20:16:30.394111 | 2020-04-24T02:37:42 | 2020-04-24T02:37:42 | 210,462,104 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,448 | cpp |
#include "cLightManager.h"
#include "sLight.h"
#include <_GL/GLCommon.h>
#include <string>
#include <sstream>
//void cLightManager::Set_Light_Data(int shader_id)
//{
// GLint num_loc = glGetUniformLocation(shader_id, "NUMBEROFLIGHTS");
// glUniform1i(num_loc, (int)Lights.size());
//
// for (unsigned int i = 0; i < th... | [
"hamza.mian@hotmail.com"
] | hamza.mian@hotmail.com |
82835a6d0783f81976792c4b245ff87b97788b9a | 3c6ed046eda83e35ab754883a59dcb7099233b39 | /chrome/browser/extensions/api/tabs/tabs_util_chromeos.cc | de1ed09479be4203a200ab92e5661f7ecf6dc265 | [
"BSD-3-Clause"
] | permissive | ssln2014/chromium | 66c5021c8893313dee78b963082cbdf948bd2d6a | 4bad77148cc4a36373e40cf985444bc649c0eeff | refs/heads/master | 2023-03-06T03:21:39.801883 | 2019-06-08T16:11:10 | 2019-06-08T16:11:10 | 190,914,348 | 1 | 0 | BSD-3-Clause | 2019-06-08T17:08:38 | 2019-06-08T17:08:38 | null | UTF-8 | C++ | false | false | 3,434 | cc | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/extensions/api/tabs/tabs_util.h"
#include "ash/public/cpp/window_pin_type.h"
#include "ash/public/cpp/window_properties.h"
#incl... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
b21b19614eaeb2e776f942d6a8bb916f6aefaaf9 | 07b8e2b217cf07b4cf0fe4bdf2521228fcea6a6d | /Project1Solution/TokenStream.h | 46a964b0f68bd07aa127b2e908ed0ebf7d1fd315 | [] | no_license | HMedeirosDosReis/CSC35500-Fall2020 | 6705d7002fdca8df5618fd746463e69a8dc9c729 | f3462eb42c77537db8d7de671909198b59db4b71 | refs/heads/main | 2023-01-22T19:07:28.906706 | 2020-11-18T22:41:46 | 2020-11-18T22:41:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 227 | h | #ifndef _TOKEN_STREAM_H_
#define _TOKEN_STREAM_H_
#include "Token.h"
class TokenStream
{
private:
int **_dfa;
public:
TokenStream();
TokenStream(const TokenStream &ts) {_dfa=ts._dfa;}
Token nextToken();
};
#endif
| [
"sblythe@lindenwood.edu"
] | sblythe@lindenwood.edu |
a7b38d2ae6ae24af1a320797c4a2e925b5360c4f | 854f3f6ae97c85ca054c3e1c801ff1ef8badcdf2 | /src/glmnetpp/include/glmnetpp_bits/elnet_point/binomial_multi_class_group.hpp | 7515db9ee3ecb3ecd94344aa4baeca162ca196da | [] | no_license | cran/glmnet | 5d24e2d1ec9e4ca4ae17aeb28781cbe163c3523c | 625f6ca6e3132ce730563ce34233c37f347754c8 | refs/heads/master | 2023-09-01T20:24:37.049612 | 2023-08-22T03:10:09 | 2023-08-22T05:30:40 | 17,696,436 | 64 | 99 | null | 2017-11-09T01:18:04 | 2014-03-13T04:53:09 | Fortran | UTF-8 | C++ | false | false | 1,156 | hpp | #pragma once
#include <glmnetpp_bits/elnet_point/decl.hpp>
#include <glmnetpp_bits/elnet_point/binomial_base.hpp>
namespace glmnetpp {
template <class ElnetPointInternalPolicy>
struct ElnetPoint<
util::glm_type::binomial,
util::mode_type<util::glm_type::binomial>::multi_class_group,
ElnetPointInternalPol... | [
"csardi.gabor+cran@gmail.com"
] | csardi.gabor+cran@gmail.com |
e8631a02db97933cc7293678863e82a406672549 | 8b55368ae3ae82e52c69a7e59491518bd6564223 | /macros.h | 8c48eb3adb421ee76ef9cf4a52dbf76a831af433 | [] | no_license | YuuichiHosomi/nyaos1000 | 0156511a8fbef4b0206c1deceafa9ad6a60e8583 | 9b422b244b3325cb7cfdd72710a5daf27d19254f | refs/heads/master | 2021-06-21T20:15:33.579820 | 2017-08-05T14:49:14 | 2017-08-05T14:49:14 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,009 | h | /* -*- c++ -*- */
#ifndef MACROS_H
#define MACROS_H
/* dbcs.c */
extern char dbcs_table[128+256];
int dbcs_table_init();
extern char toupper_table[128+256];
extern char tolower_table[128+256];
#define is_kanji(x) (dbcs_table+128)[x]
#define to_upper(x) (toupper_table+128)[x]
#define to_lower(x) (tolower... | [
"iyahaya@nifty.com"
] | iyahaya@nifty.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.