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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4108b2689924ccb09dbb44659a02d3f8b1b33e09 | 5f397f597905c7253cc46a4692f42b270b9834ba | /c++Primer/c++Primer/c++Primer/7.41 委托构造函数.cpp | 0eeeaa3d9f2bf78c49063739a4e2007c8cfc872f | [] | no_license | erfenjiao/test01 | f644469da6fe74a09a27fb33565ad928dd7e7cdc | 1ca58d676c31b49e365c271c9eb0fbc8b8d5e9e7 | refs/heads/master | 2023-08-27T14:00:05.711253 | 2021-11-07T07:15:32 | 2021-11-07T07:15:32 | 413,440,960 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 332 | cpp | #include<iostream>
using namespace std;
class Sales_data
{
public:
Sales_data(string s , unsigned cnt , double price):
bookNo(s) , units_sold(cnt) , revenue(cnt * price){ }
Sales_data() : Sales_data("" , 0 , 0){ }
Sales_data(string s) :Sales_data(s, 0, 0){ }
Sales_data(istream &is) : Sales_data()
{
read(is, *... | [
"630166475@qq.com"
] | 630166475@qq.com |
17912aab984de1d06d0c71a6721f53eeb60cb027 | 2f8c80728d5ab5b490a16e3cc2e8d2e6f285ecfd | /02_Observer/WeatherStation/include/DisplayElement.h | 34ac007c82ff9c1f7054275d8f9fb9fb80040e88 | [] | no_license | marcjswanson-books/HeadFirst_DesignPatterns | 9da4e77c6ccb6e5d1289848a28e438220f627a1d | 121c2e2672643fa261bf4f40d5eb4f26ff864ec7 | refs/heads/master | 2023-01-16T05:54:08.753029 | 2020-11-28T00:29:02 | 2020-11-28T00:29:02 | 309,140,779 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 678 | h | #ifndef HEADFIRST_DESIGNPATTERNS_02_OBSERVER_DISPLAYELEMENT_H_
#define HEADFIRST_DESIGNPATTERNS_02_OBSERVER_DISPLAYELEMENT_H_
namespace Observer {
namespace WeatherStation {
/**
* @brief Interface Class for DisplayElement functionality.
*/
class DisplayElement {
public:
/**
* @brief Construct a new DisplayEle... | [
"marcjswanson@hotmail.com"
] | marcjswanson@hotmail.com |
3515ca910bb7abfd320e4de29da143645a62e069 | e4d8f3aa0ba5829671c4b67ce9f888688cd281d7 | /Nodes/test_list.cpp | 9f70aea3c25474bca4ace26b401a70a58564be5c | [] | no_license | JoanAndoni/Cplusplus | 3c677350f0da2a655f56edbe98bb5988a716b2ce | d8ddb99a1412fd270f3b96cfbf67f761913682eb | refs/heads/master | 2020-03-28T02:13:18.264493 | 2018-09-05T17:34:57 | 2018-09-05T17:34:57 | 147,555,755 | 0 | 0 | null | null | null | null | ISO-8859-2 | C++ | false | false | 1,862 | cpp | /*
Name: Joan Andoni González Rioz
ID: A00569929
Simple program to test the functionality of our linked list
Gilberto Echeverria
gilecheverria@yahoo.com
*/
#include <iostream>
#include "LinkedList.h"
int main()
{
LinkedList numbers;
Node * item = nullptr;
item = new Node(13);
numbers.insertH... | [
"mcr_joan@hotmail.com"
] | mcr_joan@hotmail.com |
3c094484d7410dfc04195f056937259010b60e2e | b4baeb88ca4b531aacb496008993388546b912cd | /ConsoleApplication1/ConsoleApplication3/ConsoleApplication3.cpp | 5780cd207a2d155860f9eacc14411c9fcab96958 | [] | no_license | GrushkaS/CPlusTestLabs | bb27ca1593006f2a4dbe33c28c1af329204c0d73 | 2be9e41f58313ce908805481e76ee093bd2001d4 | refs/heads/main | 2023-05-08T01:35:35.307346 | 2021-06-01T13:50:56 | 2021-06-01T13:50:56 | 372,846,409 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 5,041 | cpp | #include <iostream>
#include <Windows.h>
using namespace std;
//------------------Заполнение массива рандомными значениями------------------
void FillArrayRandom(int a, int* array) {
srand((unsigned)time(NULL));
for (int i = 0; i < a; i++) {
array[i] = rand() % 100;
}
}
//------------------Вывод ... | [
"vadimdrach600@gmail.com"
] | vadimdrach600@gmail.com |
c0f3561123805614e9cbf2dcc535c42b40c68cd6 | 3a7a62d1ecf5eabbbf1c9cde0435b4283a26b926 | /include/Cuenta_Ahorros.h | 60fc3146c1c2d19b17f209d704119fbcd50c9b56 | [] | no_license | Lex417/ProyectoPrograII | aa6ea00d78216db697b6fae1697746dfed933266 | 8319d1437efa7997a7865678283dde85cb303c61 | refs/heads/master | 2021-01-22T08:19:42.021668 | 2017-05-27T20:31:29 | 2017-05-27T20:31:29 | 92,613,695 | 0 | 0 | null | 2017-05-27T20:31:30 | 2017-05-27T17:28:17 | C++ | ISO-8859-1 | C++ | false | false | 612 | h | //
// Created by Enzo Darío Quesada y Leonardo Hidalgo, 2/4/17 , all rights reserved.
//
#ifndef CUENTA_AHORROS_H
#define CUENTA_AHORROS_H
#include "Cuenta.h"
/* El programa cumple con el principio de Abierto-Cerrado, ya que el módulo o clase llamado "Persona" posee sus componentes privados, está abierto para su
au... | [
"leo.hidalgo95@gmail.com"
] | leo.hidalgo95@gmail.com |
2fc73c2b6e50ff7198b524b7ad0a1c6bac9a61ae | 67e5d8bdbbeb0d093f21d48f0e6b724339594a8e | /resip/stack/ExistsOrDataParameter.cxx | b8c1b0794b38f19708cff043c0d67d8f3f9b0e86 | [
"BSD-3-Clause",
"VSL-1.0",
"BSD-2-Clause"
] | permissive | heibao111728/resiprocate-1.8.14 | 7e5e46a04bfef72e95852a598774cb8d5aa0d699 | f8ddf70a6b7620fb535baec04901a4912172d4ed | refs/heads/master | 2020-04-16T01:48:14.942715 | 2019-11-09T14:29:12 | 2019-11-09T14:29:12 | 145,299,918 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,722 | cxx | #if defined(HAVE_CONFIG_H)
#include "config.h"
#endif
#include <cassert>
#include "rutil/ParseException.hxx"
#include "resip/stack/ExistsOrDataParameter.hxx"
#include "resip/stack/Symbols.hxx"
#include "rutil/Logger.hxx"
#include "rutil/ParseBuffer.hxx"
//#include "rutil/WinLeakCheck.hxx" // not compatible with place... | [
"heibao111728@126.com"
] | heibao111728@126.com |
80d3179d550e93ac6e6df9ab6755116d6680839f | 64c511bb0c1a61134966ff03a46d2f2802cda379 | /striver/cses_graph/ShortestRoutes.cpp | de5ae9c0cf829cea85ca0dc413fa296aac25cfa9 | [] | no_license | ria28/Data-Structures-And-Algorithms | 96f2278e35c4a1bb346d81fbea0e9da0f57c90c0 | 3225ba1b3dec9c2f77d6b2c9cc5cb9933cbb306d | refs/heads/master | 2023-06-08T07:50:57.422775 | 2021-07-03T11:43:10 | 2021-07-03T11:43:10 | 278,084,625 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,915 | cpp | #include <bits/stdc++.h>
#include <queue>
using namespace std;
class Edge
{
public:
long long v, wt;
Edge(long long v, long long wt)
{
this->v = v;
this->wt = wt;
}
};
class pair_
{
public:
long long v;
long long wt;
// string asf;
pair_(long long v, long long wt)
{
... | [
"riajaiswal28@gmail.com"
] | riajaiswal28@gmail.com |
d35e8c6513a3954f2fd7cc213cd68084d588310f | be5ca13f5d582e172883b01ef4b89f2527fcec1f | /02_arc/039b.cpp | 2c201692cf0b2a5b22ae91180d5936d3909b04ff | [] | no_license | sinhrks/CompetitiveProgramming | 8569bb001411b58b50aa1f5e2f187c17fe5fb2f1 | 7e310bd0e8b64a888289eebe8b37ed0554cced6f | refs/heads/master | 2021-09-01T09:35:50.406900 | 2017-12-26T08:13:34 | 2017-12-26T08:13:34 | 103,657,034 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,708 | cpp | #include <assert.h>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <climits>
#include <algorithm>
#include <numeric>
#include <functional>
#include <iostream>
#include <string>
#include <array>
#include <vector>
#include <stack>
#include <queue>
#include <set>
#include <map>
#include ... | [
"sinhrks@gmail.com"
] | sinhrks@gmail.com |
d12f0271a61d05327a9ad237c8ff5ce9760d3a58 | 22be33cd6a936d34aceb3a08160e7941c0abc925 | /运算符重载-加号运算符重载/main.cpp | 47cbefec0917b05f89d9b11ba451158d64f9612b | [] | no_license | song2942/stydent | 3094e79d09be37a9eb66578bd5c19cd94acaf968 | 1ec2b35efc6e072705444378cb2a5a2bbbae43f4 | refs/heads/master | 2023-04-28T01:11:25.524377 | 2021-05-12T06:57:46 | 2021-05-12T06:57:46 | 363,300,874 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,374 | cpp | #include <iostream>
#include <string>
using namespace std;
//运算符重载-加号运算符重载
//成员函数重载加号
//全局函数重载加号
//注意事项
//1.内置的数据类型表达式的运算符是不能改变的
//2.不能滥用运算符重载,例如重载加号运算符,但重载的方法中却进行了相减的操作
class Person {
public :
////成员函数重载加号运算符
//Person operator+(Person &p) {
// Person tmp;
// tmp.m_A = this->m_A + p.m_A;
// tmp.m_B = this->m... | [
"2942444657@qq.com"
] | 2942444657@qq.com |
5ebf461a33fd42c0e85cac0c24ecbb88f8294784 | 5ae554f410c478d510e49de1fd63f0f414d06219 | /Win/Win32/include/log/pointer.h | b4f5b0b1719bb0979d0ea187532fee606e6baaad | [
"MIT"
] | permissive | Bing4Autodesk/CEF3 | 3c00060b0b870f1634e87bf549fb6946a45c203c | 5dbe1658b34e95e6fbdc13ef1c508cca4cead3e5 | refs/heads/master | 2021-03-12T19:43:07.082402 | 2015-06-07T08:23:38 | 2015-06-07T08:23:38 | 37,009,363 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,513 | h | // -*- C++ -*-
// Module: Log4CPLUS
// File: pointer.h
//
// Note: Some of this code uses ideas from "More Effective C++" by Scott
// Myers, Addison Wesley Longmain, Inc.,(c) 1996, Chapter 29, pp. 183-213
//
/** @file */
#ifndef LOG4CPLUS_HELPERS_POINTERS_HEADER_
#define LOG4CPLUS_HELPERS_POINTERS_HEADER_
#inc... | [
"bing.cheng@autodesk.com"
] | bing.cheng@autodesk.com |
2516662a01ef2eb31bd0821178b857bc2d6ab1fe | d9c1c4ae9e03d9e2782d8a898e518a3b8bf6ff58 | /VideoMonitorSystem/上海10号线弓网监测-项目/上海10号线弓网监测/Source/GeoMonitor/BsDllCamPicture.cpp | 96e5489ef526df720d25051c44b087ab6ab2ac12 | [] | no_license | zhaohongqiang/Codes | 753166b168a081d679e474ad0b0062d463a06096 | f28c860a65afc81ba19d1f49e1edbda719f44f03 | refs/heads/master | 2021-03-04T16:11:47.299084 | 2019-11-02T06:12:39 | 2019-11-02T06:12:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 972 | cpp | #include "StdAfx.h"
#include "BsDllCamPicture.h"
#include "CamPicture/CameraObject.h"
#include "GeoMonitor.h"
CCamPictureDll* g_pCCamPictureDll;
CCamPictureDll::CCamPictureDll(void)
{
m_pCCamObjectService = NULL;
}
CCamPictureDll::~CCamPictureDll(void)
{
m_pCCamObjectService->releaseService();
}
int CCamPictureDl... | [
"jc1402080216@163.com"
] | jc1402080216@163.com |
c0a3fc85f8a56e0f4dc65918673cc95bb3c89ac2 | 6a10496f1fa932b38a847ed1c5f473b6a964125d | /vulkan/samples/vulkan01/app/src/main/cpp/native-lib.cpp | a9aecce83c7db5aa3d6733ffba050eb55ae530cd | [] | no_license | alloysystem/GraphicsAwesom | bd6aa1e7a2cd305b5e1e796bf8147e1a8e585dda | c3c0261877e4d7af5024cf5d5159f89f04bc425f | refs/heads/master | 2023-04-12T22:45:29.540919 | 2023-04-02T08:09:14 | 2023-04-02T08:09:14 | 159,029,454 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,451 | cpp | #include <jni.h>
#include <string>
#include <android_native_app_glue.h>
#include "vulkan-app-base.h"
extern "C" JNIEXPORT jstring
JNICALL
Java_com_example_andy_vulkan01_AlloySystemVulkanActivity_stringFromJNI(
JNIEnv *env,
jobject /* this */) {
std::string hello = "Hello Alloysystem Vulkan";
r... | [
"andy.yx.deng@gmail.com"
] | andy.yx.deng@gmail.com |
da8e4ee8de80f9f92fbf7e7b3e0f7358bcab2f28 | 3cf9e141cc8fee9d490224741297d3eca3f5feff | /C++ Benchmark Programs/Benchmark Files 1/classtester/autogen-sources/source-15277.cpp | 31eb31f43cc342c37d023062bd148c57fdceb937 | [] | no_license | TeamVault/tauCFI | e0ac60b8106fc1bb9874adc515fc01672b775123 | e677d8cc7acd0b1dd0ac0212ff8362fcd4178c10 | refs/heads/master | 2023-05-30T20:57:13.450360 | 2021-06-14T09:10:24 | 2021-06-14T09:10:24 | 154,563,655 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,807 | cpp | struct c0;
void __attribute__ ((noinline)) tester0(c0* p);
struct c0
{
bool active0;
c0() : active0(true) {}
virtual ~c0()
{
tester0(this);
active0 = false;
}
virtual void f0(){}
};
void __attribute__ ((noinline)) tester0(c0* p)
{
p->f0();
}
struct c1;
void __attribute__ ((noinline)) tester1(c1* p);
struct c1 : virtual... | [
"ga72foq@mytum.de"
] | ga72foq@mytum.de |
3e7739078827513d30335bceae811108ca6c4b66 | ef8e80d9ef926559533568e9b49eb9a9cdc37fe2 | /Engine/Input.cpp | 964a18128814a27a78c98c8578d3f9388824e86a | [] | no_license | w-endo/MyGameEngine | 90c374ea1e983f3598923b0486c05bacf0e8796e | c03d6668f8f3a6edc50af5a00eeaf3618ed9ed1e | refs/heads/master | 2023-06-22T15:56:54.594329 | 2021-07-21T05:42:02 | 2021-07-21T05:42:02 | 360,006,357 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,221 | cpp | #include "Input.h"
namespace Input
{
LPDIRECTINPUT8 pDInput = nullptr;
LPDIRECTINPUTDEVICE8 pKeyDevice = nullptr;
BYTE keyState[256] = { 0 };
BYTE prevKeyState[256] = { 0 };; //前フレームでの各キーの状態
void Initialize(HWND hWnd)
{
DirectInput8Create(GetModuleHandle(nullptr), DIRECTINPUT_VERSION, IID_IDirectInput8, ... | [
"w.endo@E0404-50"
] | w.endo@E0404-50 |
41b1d4f089805560240ab79c8d7f59b6de42f82d | cb9fadcb373183cc7294704695997da2c39cbbe3 | /include/index_sequence.hpp | 6fa2fbb732655214ebc31e87f58d1c1b93ec7e5c | [
"MIT"
] | permissive | zandemax/etkf | ca93b90dac108ccd6b00cbe25bb6f859252e2f57 | 1b83e0890a3a1f90d13d8fff5e56293ae566c2e6 | refs/heads/master | 2022-11-15T19:18:00.130754 | 2020-06-16T12:50:43 | 2020-06-16T12:50:43 | 267,611,865 | 0 | 0 | MIT | 2020-05-28T14:27:49 | 2020-05-28T14:27:49 | null | UTF-8 | C++ | false | false | 1,260 | hpp | // This file contains an implementation of std::index_sequence and std::make_index_sequence from C++14
// http://stackoverflow.com/questions/17424477/implementation-c14-make-integer-sequence
#ifndef etkf_index_sequence_hpp
#define etkf_index_sequence_hpp
namespace etkf {
template <size_t... Ints>
struct inde... | [
"tartanllama@gmail.com"
] | tartanllama@gmail.com |
31b8ddbc071130b3d2eb62b1e6ee6ac4a4b8bb84 | 6a69d57c782e0b1b993e876ad4ca2927a5f2e863 | /vendor/samsung/common/packages/apps/SBrowser/src/ash/wm/system_modal_container_layout_manager_unittest.cc | e66678a583085be11ec15ae64c591906195f59bc | [
"BSD-3-Clause"
] | permissive | duki994/G900H-Platform-XXU1BOA7 | c8411ef51f5f01defa96b3381f15ea741aa5bce2 | 4f9307e6ef21893c9a791c96a500dfad36e3b202 | refs/heads/master | 2020-05-16T20:57:07.585212 | 2015-05-11T11:03:16 | 2015-05-11T11:03:16 | 35,418,464 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 18,113 | 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 "ash/wm/system_modal_container_layout_manager.h"
#include "ash/root_window_controller.h"
#include "ash/session_state_delegate.h"
#include "a... | [
"duki994@gmail.com"
] | duki994@gmail.com |
b55c72bb338ce3ab5c8c05b8587e4c5b0f2177bf | 976355b5bfc2d1fd01e04aeb132571abdd9117fb | /gyroCalibWindow/gyroCalib.cpp | 0aef5bb01259004a8700903a1557b88e23c4ec97 | [] | no_license | fransiska/guide2 | 830f62e1ed425330d79b42d4af17e80c9be861f8 | 952b47d7fd97ed030191f65d465f7f5d8f93ff29 | refs/heads/master | 2021-01-23T10:06:42.108766 | 2017-06-01T09:06:15 | 2017-06-01T09:14:10 | 93,038,202 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,240 | cpp | /*!
* \brief guide
* \author Fransiska Basoeki
* \date 2015.05.22
* \version 0.1
* Release_flags g
*/
#include "gyroCalib.h"
//#include <math/random.h>
//#include <math/getGyroCalibration.h>
#include <fstream>
#include <helium/util/ioUtil.h>
#include <helium/math/lapackUtil.h> //leastsquares
#include <heli... | [
"fransiska.basoeki@gmail.com"
] | fransiska.basoeki@gmail.com |
5c3d13a3f6714f49d1ecc0abe0816982c4472669 | 492f488a83d9c55bef4d0f278d5268251df4f20e | /cpp/sqrt.cpp | cb5962b4032dab8c02a4a4b7d882f8d6563e8896 | [] | no_license | greatyoulv/program | 6ddeb0672a651a869b04f50a6184908ac7913e70 | fee20a015776cee623037e041e5b0608671efe94 | refs/heads/main | 2023-07-17T02:52:33.171214 | 2021-07-25T15:11:12 | 2021-07-25T15:11:12 | 389,373,865 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 322 | cpp | #include <iostream>
#include <cmath>
int main()
{
using namespace std;
double area;
cout << "Enter the floor area, in square feet, of your home: ";
cin >> area;
double side;
side = sqrt(area);
cout << "That's the equivalent of a square " << side << endl;
cout << "How fascinatinf!" << endl;
return 0;
... | [
"youlv@foxmail.com"
] | youlv@foxmail.com |
3b67f04d351c4ef4746aff74ee0be5db16800fa8 | f8b1dfccaef5a8f75567b527fc7c2f0a34e3877b | /codeforce/c701/pb.cpp | 50b61939014f8f2b198c7be06d89b3b43613de15 | [] | no_license | bamboohiko/problemSolve | e7e2a2c6e46a4d10ccfa54cffff3c9895b3ddb1b | cd3e9e5986325f5def4efe01975a950f6eaa6015 | refs/heads/master | 2021-01-17T06:39:42.502176 | 2017-09-13T14:30:08 | 2017-09-13T14:30:08 | 47,928,189 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 814 | cpp | #include<iostream>
#include<cstdio>
#include<map>
#include<set>
#include<vector>
#include<stack>
#include<queue>
#include<string>
#include<cstring>
#include<sstream>
#include<algorithm>
#include<cmath>
#define INF 0x3f3f3f3f
#define eps 1e-8
#define pi acos(-1.0)
using namespace std;
typedef long long L... | [
"bamboohiko@163.com"
] | bamboohiko@163.com |
3a945bf1e055102fa0724c73c38c410f52407fff | dd1a7283b06eb1320d6431b179afdd939a6a3b78 | /Assignment 2/Node.h | 5f18771440eca933ed69ad8207d3ce6ae83e011f | [] | no_license | davidpwnz/CIS-17C | 5f3170024b69f4eb7decef7aee38c152d1782e20 | 346984421310c41ab0eba6e1f56ea958debc4d05 | refs/heads/master | 2021-01-21T10:42:33.330585 | 2017-04-15T18:44:53 | 2017-04-15T18:44:53 | 83,476,370 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 121 | h | #ifndef NODE_H
#define NODE_H
template <class T>
struct Node{
T data;
Node *next;
};
#endif /* NODE_H */ | [
"noreply@github.com"
] | davidpwnz.noreply@github.com |
18102e0f27fd8312862514a8ccebe809272b5212 | 9a11013ed9e676565811437d57154aaaec445ad8 | /ioInject/rw.cpp | 0cdd064ed00d5148e04be70b0fbbbd65a5ad7a35 | [] | no_license | okandok/IoInject | 0ad13652b0d1c955385a2d6adb84adaa084a9a5d | 8b6a2dd0ea4d810d50b1eb570cf455c7259ad638 | refs/heads/main | 2023-05-04T14:07:30.852491 | 2021-06-01T03:44:18 | 2021-06-01T03:44:18 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,903 | cpp | #include "rw.h"
extern "C"
{
_Use_decl_annotations_
NTSTATUS Rw::NormalRead(HANDLE pid, ULONG64 address, void* read_buffer, ULONG read_size)
{
if (!address || !MmIsAddressValid(read_buffer) || !read_size)
{
// 参数不对
return STATUS_INVALID_PARAMETER;
}
if (address >= MmUserProbeAddress && (address + ... | [
"qq1045551070@aliyun.com"
] | qq1045551070@aliyun.com |
dcd6661364379bf691213e8d8eb886ab3bbbf530 | 38ea2af248bfed115d5d1f725cab72a59fe8645b | /arduino/2022Lehrlinge/BlinkFranzSebastian/Blink2/LightChain/LightChain.ino | c8de68982aef57a088f97613cf27e04fb784fe0c | [] | no_license | mike1402b/raspi | f2554076d0e0386af0b8237dfec8bfcbae15a589 | 9be5fdb794c1f5e723a79286443837895deeebfa | refs/heads/master | 2023-08-23T23:33:47.514942 | 2023-08-04T15:43:17 | 2023-08-04T15:43:17 | 89,347,020 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 185 | ino | int lightChain = 10;
void setup() {
pinMode(lightChain, OUTPUT);
}
void loop() {
digitalWrite(lightChain, HIGH);
delay(2000);
digitalWrite(lightChain, LOW);
delay(2000);
}
| [
"mike1402@gmx.at"
] | mike1402@gmx.at |
f670f930e0837f798b0cc20e2566f3814b331be4 | 5a921e30f03c0636a4f128ec4e2ede8735bbd3f6 | /Assignment_03_prob/Assignment_03_prob/Marble.cpp | 99025b8823c85155250b3e506266a568dd027c03 | [] | no_license | MarkMckessock/CPP-Projects | 73a4ac1d2d8d70fed2e2a914c1e41d44a4f9d088 | 20b10a1de7514e111dab792d655aadd8014b7bf0 | refs/heads/master | 2021-04-03T09:29:45.835631 | 2018-06-14T16:44:18 | 2018-06-14T16:44:18 | 124,466,243 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 89 | cpp | #include "Marble.h"
Marble::Marble(){}
Marble::Marble(Color _color) :color(_color) {};
| [
"mark.mckessock@gmail.com"
] | mark.mckessock@gmail.com |
8b1be4f0b1f84e046c82119028809a49dca2ff38 | c85cdb516edc5589ce2a62d707d05779b3287424 | /Leetcode/156.binaryTreeUpsideDown/156.cpp | 39100155ff58cc3485450968904d3a634a6afc1d | [] | no_license | Veterun/Interview-1 | 68c4700161952a714a0b7ebdaf3f3795e3766daf | 29026056bb035a6c453e3de6b233474bc9f77c7a | refs/heads/master | 2020-04-07T11:44:29.122035 | 2016-06-27T22:38:45 | 2016-06-27T22:38:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,188 | cpp | Given a binary tree where all the right nodes are either leaf nodes with a sibling
(a left node that shares the same parent node) or empty,
flip it upside down and turn it into a tree
where the original right nodes turned into left leaf nodes. Return the new root.
For example:
Given a binary tree {1,2,3,4,5},
1... | [
"863177146@qq.com"
] | 863177146@qq.com |
d47afbba747b4dc61dad28c1129fdb1b2df3b035 | 142427f275f87b15782139f9d247a526a14b8afb | /cpp1/cpp1.cpp | 0b30d908b33771629c96a144b263318328e8c82d | [] | no_license | prabhjots665/cpp1 | 987e9a07cc650d4f9f13d85073d778ed21480b65 | 9f6f02df21f6e05392ff2347a9df6619aebea017 | refs/heads/master | 2020-08-07T00:36:20.028035 | 2019-10-10T21:08:36 | 2019-10-10T21:08:36 | 213,221,691 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,320 | cpp | // cpp1.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
// C
#ifndef _GLIBCXX_NO_ASSERT
#include <cassert>
#endif
#include <cctype>
#include <cerrno>
#include <cfloat>
#include <ciso646>
#include <climits>
#include <clocale>
#include <cmath>
#include <csetjmp>
#include <csignal>
#incl... | [
"psingh@itron.com"
] | psingh@itron.com |
cdb4bd413180071fa625c9681649b59c9bb4d6d4 | 619bddb7345a5155e08e89833548f5d3e8bbe498 | /3BIT/ISA/Parameters.cpp | 06e58cbcbd07266774a0e0dec5104dc0d2b27b95 | [] | no_license | huhuhugo1/VUT-FIT | 8808194d9fbedb1a8c834d67fcb6776802a530ff | 7a4b90073910953ac23402e2292d51d700f6a585 | refs/heads/master | 2020-04-12T11:40:25.725214 | 2018-08-18T14:59:07 | 2018-08-18T14:59:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,178 | cpp | /**
* ISA project
* Name: Klient SIP
* Author: Lukas Pelanek, xpelan03@stud.fit.vutbr.cz, 2015
**/
#include "Parameters.h"
#include "Message.h"
/**
* Get parameters
* @return struct tParams filled with data
*/
Errors getParams(tProfile *profile, vector<Message*> *messages, int argc, char **argv) {
if (argc == 2) {... | [
"pelanek.lukas@seznam.cz"
] | pelanek.lukas@seznam.cz |
ba2967eb35025b3a4c435c2b9f8fc94c095d1466 | 85bcac5d7883f439fd040b10b8d3ce258dd7ade4 | /Mikudayo/OutlinePass.cpp | 2f39ed156790746820afb28d9136149e51e1237f | [
"MIT"
] | permissive | newpolaris/Mikudayo | f9effd73467065f98c20efce398ed0782901bb7f | f989697848bee0f2a45636758050620b2421e77a | refs/heads/master | 2023-02-03T10:59:39.513123 | 2020-12-23T08:36:04 | 2020-12-23T08:36:04 | 104,229,577 | 18 | 1 | MIT | 2019-02-18T16:20:26 | 2017-09-20T14:55:50 | C | UTF-8 | C++ | false | false | 221 | cpp | #include "stdafx.h"
#include "OutlinePass.h"
#include "Material.h"
OutlinePass::OutlinePass() : RenderPass( kRenderQueueOutline )
{
}
bool OutlinePass::Enable( IMaterial& material )
{
return material.IsOutline();
}
| [
"newpolaris@gmail.com"
] | newpolaris@gmail.com |
f3880defe8d928a8664aa204b04fa4769dddbd6f | 9ff69f2638fe679b9fbb3ac682d356b59c50b068 | /code archive/GJ/a044.cpp | 6d249bf9204d47b8498145aff881bda3b6e24c61 | [
"MIT"
] | permissive | brianbbsu/program | 7f7c3d4aacea32ada7f74cf5caffa9931be280c4 | c4505f2b8c0b91010e157db914a63c49638516bc | refs/heads/master | 2021-05-23T04:53:49.618057 | 2020-04-18T15:21:10 | 2020-04-18T15:21:10 | 81,056,684 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 863 | cpp | /**********************************************************************************/
/* Problem: a044 "盈數、虧數和完全數" from 迴圈應用 */
/* Language: C++ */
/* Result: AC (104ms, 176KB) on ZeroJudge ... | [
"brianbb.su@gmail.com"
] | brianbb.su@gmail.com |
edb30ee4c66ceefaebb66bcb0cda806a0a9e3001 | 66fc3162064c75023a8408dd4a6be1128394a15b | /Looter.cpp | da55c0da53b035a7ec7dfa89a34d3e02938e6fb1 | [] | no_license | Consistory/ErectusExperimental | 3c628b99ed4ba36a2a5f51c02f440c0d4dfada99 | acdd66ffd86f5a2a72e853d8bf741f579948f4c3 | refs/heads/master | 2022-11-17T18:00:30.158904 | 2020-07-19T00:19:40 | 2020-07-19T00:19:40 | 277,139,692 | 0 | 0 | null | 2020-07-04T15:47:59 | 2020-07-04T15:47:58 | null | UTF-8 | C++ | false | false | 14,548 | cpp | #include "Looter.h"
#include <memory>
#include "common.h"
#include "ErectusProcess.h"
#include "MsgSender.h"
#include "settings.h"
#include "utils.h"
bool Looter::ShouldLootJunk(const ItemInfo& item)
{
if (!item.base.componentArraySize || item.base.componentArraySize > 0x7FFF)
return false;
if (!Utils::Valid(i... | [
"3531716+mscv@users.noreply.github.com"
] | 3531716+mscv@users.noreply.github.com |
1d0b34c7d8e8df07ef253d333083501b4b1929d9 | cfc9398eda6083a47027cb3fc60b13eb24c8cd71 | /src/mash/CommandList.cpp | 2fc779108cfa85d54142d9151b7b78fbcdc05241 | [] | no_license | boydgreenfield/Mash | 863274c41b69f107f1d6a3e3486dc1909283f68a | 080e41728882e0fab728f2d9a99429de211fe7a2 | refs/heads/master | 2021-01-20T16:00:24.399536 | 2015-10-05T23:49:26 | 2015-10-05T23:49:26 | 43,719,527 | 0 | 0 | null | 2015-10-05T23:23:52 | 2015-10-05T23:23:51 | C++ | UTF-8 | C++ | false | false | 1,405 | cpp | #include <iostream>
#include "CommandList.h"
using namespace::std;
CommandList::CommandList(string nameNew)
{
name = nameNew;
}
CommandList::~CommandList()
{
for ( map<string, Command *>::iterator i = commands.begin(); i != commands.end(); i++ )
{
delete i->second;
}
}
void CommandList::add... | [
"ondovb@nbacc.net"
] | ondovb@nbacc.net |
b0e26c7987b8addb8e5f729b53a1b9ec770e2fcd | b197dab7a30ac97a8eb7bad2342168acb7406c9f | /ConsoleIO.h | dbd9eaa97199441d532c6911bf261fbb2850d902 | [] | no_license | Firelonze/CPPQuiz | cd58c095a777e46fcae69fe8caefaf7920bdec77 | eaa7df7873baae8eebdcde8bfc0d336bc85f23c5 | refs/heads/master | 2020-09-03T02:51:07.457778 | 2019-11-03T21:23:19 | 2019-11-03T21:23:19 | 219,367,156 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 221 | h | #pragma once
class ConsoleIO
{
public:
ConsoleIO();
~ConsoleIO();
void setFinalScore(int score) {
endResult += score;
}
int getFinalScore() {
return (endResult);
}
private:
int endResult;
};
| [
"noreply@github.com"
] | Firelonze.noreply@github.com |
c25bcc56f3dfc38f0abca3221c6c7af0581a9395 | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_PrimalItemConsumable_Egg_Ankylo_Fertilized_AB_parameters.hpp | c2a04ca699580d9dfc354a8c653ba6c8ef751c91 | [
"MIT"
] | permissive | git-Charlie/ARK-SDK | 75337684b11e7b9f668da1f15e8054052a3b600f | c38ca9925309516b2093ad8c3a70ed9489e1d573 | refs/heads/master | 2023-06-20T06:30:33.550123 | 2021-07-11T13:41:45 | 2021-07-11T13:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 872 | hpp | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_PrimalItemConsumable_Egg_Ankylo_Fertilized_AB_classes.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Parameters
//------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
477caeb3bcf2ef5c28a5b9f309aefd097aad5b02 | 3296cab14de3ba88ba01637c634f213f2345da55 | /HSDF/ExternalLibs/GeoTools/Mathematics/SymmetricEigensolver2x2.h | 0639f2dfcc7890bbb3fdb2295d4c79b5ff5913f2 | [] | no_license | teshaTe/HybridFrep | 63b2fe47a6ce49927309743e1f708658c2f2f18d | ded2bbb917bd1f8bc22e28b35bdf86cf6b0340a7 | refs/heads/master | 2023-03-04T01:35:36.054376 | 2021-02-18T21:36:13 | 2021-02-18T21:36:13 | 158,251,562 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,828 | h | // David Eberly, Geometric Tools, Redmond WA 98052
// Copyright (c) 1998-2020
// Distributed under the Boost Software License, Version 1.0.
// https://www.boost.org/LICENSE_1_0.txt
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
// Version: 4.0.2019.08.13
#pragma once
#include <Mathematics/Ma... | [
"tereshin.tesha@gmail.com"
] | tereshin.tesha@gmail.com |
a51908a27d854222aa3c68b75e5da180be592817 | 9ac21814f155794cb5a82d4d93bdef7d67a5158e | /StudyData/백준/25315(N수매화검법).cpp | 1544974c9f69ebbbe877ceb6f2f6645bc5eba49d | [] | no_license | MarbinSpectrum/Algorithm- | d71c69bbcc0b8c7573c75d25c3e0b31b6540309a | 5a06eadeaa771cbe70328b9f6d83e61bb4975053 | refs/heads/master | 2023-07-06T19:29:02.890491 | 2023-07-03T00:53:51 | 2023-07-03T00:53:51 | 188,868,476 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,744 | cpp | #include <bits/stdc++.h>
#pragma warning(disable:4996)
using namespace std;
#define endl "\n"
#define int long long
#define float long double
const int INF = 999999999999999;
const int Dic[4][2] = { {0,1},{0,-1},{1,0},{-1,0} };
////////////////////////////////////////////////////////////////////////
const int MAX... | [
"9507ym@naver.com"
] | 9507ym@naver.com |
0f1714d427a36766929d94c2193261a5ddd4c953 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_repos_basic_block_block_5073.cpp | 40936defb168aa62165aae1fecd6ad4e2895028d | [] | 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 | 149 | cpp | {
failf(data, "LDAP local: search ldap_parse_result %s",
ldap_err2string(rc));
*err = CURLE_LDAP_SEARCH_FAILED;
} | [
"993273596@qq.com"
] | 993273596@qq.com |
9ddb0fa4da65f30615a494c28a27668ff702730c | d2249116413e870d8bf6cd133ae135bc52021208 | /DISSECT code/COMTEST.16/MainFrm.cpp | 28825a220918bfeb6ef0cd34d6fcb6fd9dffc9a8 | [] | no_license | Unknow-man/mfc-4 | ecbdd79cc1836767ab4b4ca72734bc4fe9f5a0b5 | b58abf9eb4c6d90ef01b9f1203b174471293dfba | refs/heads/master | 2023-02-17T18:22:09.276673 | 2021-01-20T07:46:14 | 2021-01-20T07:46:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,563 | cpp | // MainFrm.cpp : implementation of the CMainFrame class
//
#include "stdafx.h"
#include "ComTest.h"
#include "MainFrm.h"
#include "Splash.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
////////////////////////////////////////////////////////////////... | [
"chenchao0632@163.com"
] | chenchao0632@163.com |
fafbb614c5fe7c6d806b7f0d1ea75d11f1491ea3 | 967482ce7998d8814a13d8509db947b0df31f8e0 | /src/srv/wax/shl/Predwax.cpp | f0d408ab7efb855b985de7a0f4cb71e8f86b38a9 | [] | no_license | loongarch64/afnix | 38dc9c9808f18ff5517f7c43f641057a9583aeda | 88cc629cc09086cda707e5ad6d8a1bd412491bbe | refs/heads/main | 2023-05-31T17:16:56.743466 | 2021-06-22T05:18:32 | 2021-06-22T05:18:32 | 379,150,535 | 0 | 0 | null | 2021-06-25T03:05:27 | 2021-06-22T05:20:29 | C++ | UTF-8 | C++ | false | false | 17,150 | cpp | // ---------------------------------------------------------------------------
// - Predwax.cpp -
// - afnix:wax service - predicates implementation -
// ---------------------------------------------------------------------------
// -... | [
"wuxiaotian@loongson.cn"
] | wuxiaotian@loongson.cn |
7ad32f0d67331d8485cf28cbea1e6dd1e202ad2b | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/git/hunk_7589.cpp | cfb7c914d10561a0a7c4b59f9d996ac034a57e03 | [] | 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 | 209 | cpp | }
fclose(config_file);
unlock_and_out:
- if (close(out_fd) || commit_lock_file(lock) < 0)
+ if (commit_lock_file(lock) < 0)
ret = error("Cannot commit config file!");
out:
free(config_filename);
| [
"993273596@qq.com"
] | 993273596@qq.com |
eb316a71594cc6a41a4f56300d632f08bc90c049 | 404f65698c14e6b5eeebacd29ad6fc070bd351e6 | /SSNumberMyLogic2/Country.hpp | 262d4093f46059fe35e22416be9b8fd79b5e6c60 | [] | no_license | Anokhi1994/Cpp-Challenges | 824e2de95eca261f2f28d0bc9a4e1997e1f979ca | 90f6f813e8f2b6a392d9ba1a39eb3f462d840936 | refs/heads/master | 2020-12-01T13:50:23.230718 | 2020-05-05T07:54:24 | 2020-05-05T07:54:24 | 230,648,658 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 437 | hpp | #ifndef COUNTRY_H
#define COUNTRY_H
#include <string>
#include "MyException.hpp"
class Country{
public:
Country() = default;
virtual std::stringstream& generate_number(std::string sex_type,
int DD, int MM, int YYYY) const = 0;
virtual ~Country() = default;
virtual std::ostream& format(std::ostream&... | [
"anokhias@gmail.com"
] | anokhias@gmail.com |
19cbc3abbef352bcac2b7d53ac0cdd1d0c85b6b6 | 305b85f43837dacac6d600c48e358e2f937fd707 | /emd_flow/emd_flow_network.h | b275b4e5288736549ef78c2fda70b113d2f7ecf0 | [] | no_license | chinmayhegde/emdflow-fault | 55e60d2ba77d5132cfdb5af759d254e5e8afef73 | 1dc70374c600d81c56c6d48a9b70234a3ba68671 | refs/heads/master | 2021-01-19T10:31:19.741335 | 2014-10-16T21:34:26 | 2014-10-16T21:34:26 | 8,033,054 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 654 | h | #ifndef __EMD_FLOW_NETWORK_H__
#define __EMD_FLOW_NETWORK_H__
#include <vector>
#include <string>
class EMDFlowNetwork {
public:
EMDFlowNetwork() { }
virtual void set_sparsity(int k) = 0;
virtual void run_flow(double lambda) = 0;
virtual int get_EMD_used() = 0;
virtual double get_supported_amplitude_sum() ... | [
"ludwigschmidt2@gmail.com"
] | ludwigschmidt2@gmail.com |
6331f20058eb10ed607e52d3528d903e18eff808 | d68205677c40c2310ea85767c8cc8ae8c3c7b841 | /test/unit_test/program_test.cpp | b7da17c0a90e32e974c297360e302b7baac5eaa2 | [
"MIT"
] | permissive | jjsisjjz/kpkg | eb351e0adc60fb322c6a96ad563c24b010fd0d4c | 4c80668a89fbeae21e6ab363c2c4acaf406e1c69 | refs/heads/main | 2023-08-02T06:53:21.706057 | 2021-10-03T05:16:16 | 2021-10-03T05:16:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 803 | cpp | #include <cstdint>
#include <catch2/catch.hpp>
#include "program.h"
TEST_CASE("program", "[program]") {
const char* argv[] = {"kpkg", "install", "spdlog", "curl", "-p"};
std::int32_t argc = std::size(argv);
kpkg::Program program(argc, argv);
REQUIRE(program.proxy() == "socks5://127.0.0.1:1080");
auto de... | [
"1244713586@qq.com"
] | 1244713586@qq.com |
3e5f8d619ef0243737c327937e7ad87d90e2ab75 | e80d3eb5930b51ab154ccb921f24b0dd0186bf5f | /Source/UnitSelection/UnitSelectionHUD.cpp | 7c27b4dd5775920998bdb5008e1de4a7686d108c | [] | no_license | Daiern/UnitSelection | b781c6cfb2f49fbe7556b7698a15b41c7959ff5f | 3221a277484f00954d8a9380cad0e7cb7dc9ac1a | refs/heads/master | 2021-01-21T14:44:53.377632 | 2016-06-16T05:46:33 | 2016-06-16T05:46:33 | 56,666,057 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 409 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "UnitSelection.h"
#include "UnitSelectionCharacter.h"
#include "UnitSelectionPlayerController.h"
#include "UnitSelectionHUD.h"
AUnitSelectionHUD::AUnitSelectionHUD() {
bIsSelecting = false;
vMouseStartPos = FVector2D(0.f, 0.f);... | [
"mathew.conyers@gmail.com"
] | mathew.conyers@gmail.com |
5948e1d76527bc27218178529eef0f5da8713773 | 7b2456c98c94ff1c9a0334b24797a85ecc5cff21 | /codeforces/271A - Beautiful Year.cpp | b293ea81fefa0a0548363e744f8c1d42da1f2a5c | [] | no_license | bkorecic/competitive-programming-solutions | fe694b485f10d5b90903552efd3e740e90891c94 | f7edecc7bfb318992ea4e49cae11942e1e1e6879 | refs/heads/master | 2021-12-15T04:43:23.722769 | 2021-12-12T05:59:50 | 2021-12-12T05:59:50 | 211,429,503 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 512 | cpp | #include <bits/stdc++.h>
#define pb push_back
using namespace std;
typedef long long ll;
bool all_distinct(int y){
string s = to_string(y);
int n = s.size();
vector <bool> f(10, false);
for(int i=0; i<n; i++){
if(f[s[i]-'0'] == true){
return false;
}
f[s[i]-'0'] = t... | [
"blaz.korecic@ug.uchile.cl"
] | blaz.korecic@ug.uchile.cl |
2e7349269bf18b758bc644b34fcb808a2bebe3e0 | 0e50b99f81332789e304690094a0a903692c9cbb | /easyrpc/base/ScopeGuard.hpp | b325a3bd5dfff9211fa9b3c3b663d394a03274b0 | [
"MIT"
] | permissive | sev7ncm/easyrpc | 0f93447a9294fc63597b6568dd3708554b07ea4c | cdb11698393a6ffd852091929cba2c862b7d84f3 | refs/heads/master | 2020-12-30T19:23:39.732425 | 2016-09-14T14:30:02 | 2016-09-14T14:30:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 882 | hpp | #ifndef _SCOPEGUARD_H
#define _SCOPEGUARD_H
#include <iostream>
namespace easyrpc
{
template<typename T>
class ScopeGuard
{
public:
ScopeGuard() = default;
ScopeGuard(const ScopeGuard&) = delete;
ScopeGuard& operator=(const ScopeGuard&) = delete;
explicit ScopeGuard(T&& func) : m_func(std::move(func... | [
"787280310@qq.com"
] | 787280310@qq.com |
c28a2d04ab78cdc814f7cd5b477c48c404068b84 | 157fd7fe5e541c8ef7559b212078eb7a6dbf51c6 | /TRiAS/TRiAS V2.07/TRiAS03/SelObjPropDlg.h | b394315229abc843ddc988d8f8dd4186e47484ad | [] | no_license | 15831944/TRiAS | d2bab6fd129a86fc2f06f2103d8bcd08237c49af | 840946b85dcefb34efc219446240e21f51d2c60d | refs/heads/master | 2020-09-05T05:56:39.624150 | 2012-11-11T02:24:49 | 2012-11-11T02:24:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 860 | h | // Select ObjectProperties from PopUpTree
// File: SelObjPropDlg.h
#if !defined(_SELOBJPROPDLG_H)
#define _SELOBJPROPDLG_H
#include "SelObjProp.h"
class CSelObjPropsDlg
: public DialogWindow
{
private:
CSelObjPropTree m_ObjProps;
string m_strSelected;
string m_strSelectedFull;
bool m_fInitializ... | [
"Windows Live ID\\hkaiser@cct.lsu.edu"
] | Windows Live ID\hkaiser@cct.lsu.edu |
e8af6d76895da62259af1969e5abed0013433134 | a4f6fea57e02723631ef3d007a328a7ca2909a72 | /3rdSemester/LaboratoryWork1/data/Int.h | ee3a5301407416709496665e6722dc74c15ce31b | [] | no_license | IhorTarkhan/Homework | f548e1b588fa0b014455eb5c02c5d653b2ef814a | f283177a34021dabcee2a535598f523ec6e50789 | refs/heads/master | 2020-12-18T21:05:34.190167 | 2020-09-16T08:22:45 | 2020-09-16T08:22:45 | 235,520,713 | 1 | 1 | null | 2021-03-13T19:05:50 | 2020-01-22T07:25:41 | C++ | UTF-8 | C++ | false | false | 612 | h | #ifndef HOMEWORK_INT_H
#define HOMEWORK_INT_H
#include <iostream>
/**
* <h1>Use int in nex format</h1>
*/
int number = 1;
/**
* Function to check int condition, using as element comparator
* {@code isCondition()}
* @param element is int which checked
* @return bool if int corresponds to the value
*/
bool isCo... | [
"igor.tark@gmail.com"
] | igor.tark@gmail.com |
4195a95da7a12715af21a250c06b7b895f97333a | d627a04349f03fa3c48956dc1e927aa056fc674b | /SDK/removed_content/DDNS/tools/bind-9.8.1-P1/unit/atf-src/test-programs/cpp_helpers.cpp | 075ed96064aaf84129a6d22939af683338e1b89d | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause",
"LicenseRef-scancode-mit-taylor-variant",
"HPND",
"LicenseRef-scancode-bsd-x11",
"BSD-3-Clause",
"LicenseRef-scancode-openssl",
"JPNIC",
"OpenSSL",
"ISC",
"BSD-4-Clause-UC",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | devicenull/supermicro_ipmi_firmware | 68be097cef9a3b8ec9ec58c323778f6fa123ac79 | 942d7ed17d177d5324bd6ccdd080b92fc7433517 | refs/heads/master | 2020-06-07T23:31:12.831652 | 2014-06-22T23:56:17 | 2014-06-22T23:56:17 | 20,347,147 | 57 | 22 | null | null | null | null | UTF-8 | C++ | false | false | 10,804 | cpp | //
// Automated Testing Framework (atf)
//
// Copyright (c) 2007, 2008, 2009, 2010 The NetBSD Foundation, 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 sourc... | [
"dn@devicenull.org"
] | dn@devicenull.org |
931bae4d6d45b1b34edd31f9003f38368cc8b0e3 | 47d6cdb9b21e2d729f23dca519ad07ff71df3066 | /third/boost/boost/mpl/arithmetic.hpp | cccb4b435cb07c15b76336184cd5f3d335a14707 | [
"BSL-1.0"
] | permissive | fiskercui/testcommon | f71ca147a7a5e4fa3cefe46efd65e2d835721c7b | 9e4f61950816202cf5c6d4d00dd521dfcdd08c8a | refs/heads/master | 2021-01-13T02:10:36.072343 | 2013-08-10T14:36:18 | 2013-08-10T14:36:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 774 | hpp |
#ifndef BOOST_MPL_ARITHMETIC_HPP_INCLUDED
#define BOOST_MPL_ARITHMETIC_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2000-2004
//
// 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)
//
// See http://www.boost.org/li... | [
"fisker@ubuntu.(none)"
] | fisker@ubuntu.(none) |
054420a493fb89e0398ab742f01a9bc677c65d58 | 51849f2e99c8b617a7ee1267d46babd28025a2b7 | /tools/clang/lib/Basic/Targets/Z80old.cpp | 82ba4b28c85ac1e4566be9df4a67682b51375c61 | [
"NCSA"
] | permissive | gt-retro-computing/llvm-z80-backend | a1ab7496da4e5431696dbde12186ca0bf2c640ac | e4bd87d447c36e371613b0da42131d309e4ea25f | refs/heads/master | 2020-05-14T22:28:25.830850 | 2019-04-22T08:09:47 | 2019-04-22T08:09:47 | 181,979,235 | 0 | 0 | null | 2019-04-17T22:48:08 | 2019-04-17T22:48:08 | null | UTF-8 | C++ | false | false | 1,812 | cpp | //===--- Z80old.cpp - Implement Z80old target feature support -------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------... | [
"makefilm@gmx.net"
] | makefilm@gmx.net |
c4836284e5d748e3d014cc5de173db0c3c9d00e3 | b137f5bb9d3b77266f46073bc2da72bf445854d6 | /o58_apr30_citrus.cpp | 35191914dad2b0e5d045fcaed0cad543eef63b9c | [] | no_license | killzdesu/cpp-archive | 307fa05be71618f2a64b3c852078eef88696da86 | 70f62a7bbc2f3398ac28818849841f18b1145f91 | refs/heads/master | 2023-04-08T20:16:57.460572 | 2021-04-20T06:23:31 | 2021-04-20T06:23:31 | 359,705,314 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,232 | cpp | #define fi first
#define se second
#define REP(_x, _y) for(_x=0;_x<_y;_x++)
#define REPI(_x, _y) for(_x=1;_x<=_y;_x++)
#define ALL(x) (x).begin(),(x).end()
#define compress(x) {sort(ALL(x));(x).resize(distance((x).begin(), unique(ALL(x))));}
#define pb push_back
#define mp make_pair
#define EL printf("\n");
#include<bi... | [
"killzdesu@gmail.com"
] | killzdesu@gmail.com |
b8c64857fdf43f0dd99057038f142923402b9e2d | 41194968e73ba2874847828bc7f31a41259e29b5 | /xulrunner-sdk-26/xulrunner-sdk/include/nsIDOMHTMLObjectElement.h | 864b9380f9996fbdf6c32be6b78a113d0b965b0c | [] | no_license | snowmantw/gaia-essential | 81d544d579ff4c502a75480f1fcf3a19a6e783b7 | 2751716dc87dea320c9c9fd2a3f82deed337ad70 | refs/heads/master | 2020-04-05T17:03:12.939201 | 2013-12-08T10:55:46 | 2013-12-08T10:55:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,328 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-cen-osx64-xr-ntly-0000000000/build/dom/interfaces/html/nsIDOMHTMLObjectElement.idl
*/
#ifndef __gen_nsIDOMHTMLObjectElement_h__
#define __gen_nsIDOMHTMLObjectElement_h__
#ifndef __gen_nsIDOMHTMLElement_h__
#include "nsIDOMHTMLElement.h"
#endif
/* For ... | [
"snowmantw@gmail.com"
] | snowmantw@gmail.com |
a099346257cf537373c01cd12d2a8a4704cf4dc7 | fc987ace8516d4d5dfcb5444ed7cb905008c6147 | /chrome/browser/ui/webui/theme_gallery/theme_gallery_ui.h | f8d8222e53ed2f0436b8c91f06f20abcb1b3b3c5 | [
"BSD-3-Clause"
] | permissive | nfschina/nfs-browser | 3c366cedbdbe995739717d9f61e451bcf7b565ce | b6670ba13beb8ab57003f3ba2c755dc368de3967 | refs/heads/master | 2022-10-28T01:18:08.229807 | 2020-09-07T11:45:28 | 2020-09-07T11:45:28 | 145,939,440 | 2 | 4 | BSD-3-Clause | 2022-10-13T14:59:54 | 2018-08-24T03:47:46 | null | UTF-8 | C++ | false | false | 947 | h | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_WEBUI_THEME_GALLERY_UI_H_
#define CHROME_BROWSER_UI_WEBUI_THEME_GALLERY_UI_H_
#include "content/public/browser/web_ui_controlle... | [
"hukun@nfschina.com"
] | hukun@nfschina.com |
35f66a060770e0f14c6b10a435aaf0d928ade40d | 6fdea988477fabee51a2402a808d553013854853 | /include/SANeedlemanWunsch.h | 98c2d997e55146230a0a98600479e26f97cde2f0 | [
"Apache-2.0"
] | permissive | rcorcs/SeqALib | 759b4db6cc22aceba67e2bb95f0bb35508a8efb3 | 4ec6f5da6dc8ec11b21483dfbee45b4fb1a22167 | refs/heads/master | 2020-08-05T07:19:36.148364 | 2020-05-24T10:19:45 | 2020-05-24T10:19:45 | 212,444,604 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 7,737 | h | template<typename ContainerType, typename Ty=typename ContainerType::value_type, Ty Blank=Ty(0), typename MatchFnTy=std::function<bool(Ty,Ty)>>
class NeedlemanWunschSA : public SequenceAligner<ContainerType,Ty,Blank,MatchFnTy> {
private:
ScoreSystemType *Matrix;
size_t MatrixRows;
size_t MatrixCols;
bool *Match... | [
"rcor.cs@gmail.com"
] | rcor.cs@gmail.com |
9c53f7fffb70f32d2fc2f15950bb5dc3c3a9215f | f2260ce9c279d1bbb4e97aabe399fe55db68bf74 | /BOJ/10000~14999/10000/10826.cpp | 8afde3a1d485b2f7bfbfa388140753fbd2475db5 | [] | no_license | BaeJi77/algorithm | d7eee26aa04b9550bcd63af22265da5cfc0093f4 | 5694313dbb2f83b3a09715788ff6cefc0a0866c7 | refs/heads/master | 2022-08-22T21:37:31.992065 | 2022-08-10T13:38:10 | 2022-08-10T13:38:15 | 121,232,746 | 1 | 0 | null | 2019-03-07T02:19:41 | 2018-02-12T10:29:15 | C++ | UTF-8 | C++ | false | false | 1,412 | cpp | #include <cstdio>
#include <algorithm>
#include <cmath>
#include <cstring>
#include <queue>
#include <iostream>
#include <vector>
#include <string>
using namespace std;
int N;
string dp[10010];
string add(string a, string b) {
string result = "";
// 뒤에서부터 값을 더함
// 10이 넘으면 다음 값에 +1 해서 넘겨줌
// 마지막에 값이 넘... | [
"hahawjstk@gmail.com"
] | hahawjstk@gmail.com |
5207d36c85a47d4fd894ff91b1f2d93622cdc1fb | 5ac19d80b92609cd3506220675ec45088d92441e | /practices/amosii/Complete_control_solution.h | 42b94afafbd81697ab299a9a8669460876e6abe1 | [] | no_license | pmanoonpong/gorobots_edu | 3d5dc739a3058819fa6e5976c9041b07c944a616 | ee904c0e6c0773490c2d51229a15d00652a2472e | refs/heads/master | 2023-05-25T13:30:37.175280 | 2023-05-19T15:49:37 | 2023-05-19T15:49:37 | 42,652,094 | 3 | 8 | null | 2015-10-02T08:33:08 | 2015-09-17T11:21:12 | null | UTF-8 | C++ | false | false | 27,129 | h | #ifndef __EMPTYCONTROLLER_H
#define __EMPTYCONTROLLER_H
#include <selforg/abstractcontroller.h>
#include <selforg/controller_misc.h>
#include <selforg/configurable.h>
#include <assert.h>
#include <cmath>
#include <stdlib.h>
#include <stdio.h>
///////// Save text////////////////////////
#include <iostream>
#include <... | [
"poma@mmmi.sdu.dk"
] | poma@mmmi.sdu.dk |
cbc737e10c33be30f88fb4e53d92b320ceaf1a48 | 188fb8ded33ad7a2f52f69975006bb38917437ef | /Fluid/processor0/0.18/polyMesh/points | 273530aefa6b458c87e925bb5b4580dca753015e | [] | no_license | abarcaortega/Tuto_2 | 34a4721f14725c20471ff2dc8d22b52638b8a2b3 | 4a84c22efbb9cd2eaeda92883343b6910e0941e2 | refs/heads/master | 2020-08-05T16:11:57.674940 | 2019-10-04T09:56:09 | 2019-10-04T09:56:09 | 212,573,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,892 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
... | [
"aldo.abarca.ortega@gmail.com"
] | aldo.abarca.ortega@gmail.com | |
af8529c218d90de69e61d46191c487a7ce6a9eee | 8f0a5e853d5d9c1c6fcb6dd908039655cd33733b | /Assignment3/include/Containable.h | 607358daa14848665f1b9549274386e4d21ad538 | [] | no_license | Dpatronas/cse111 | 8f76f65d50841131df3b5074ef59a41fea77aecb | bd53f2da0cca7f3823805845b81c7285ef712b05 | refs/heads/main | 2023-06-20T20:58:04.917648 | 2021-07-20T07:26:31 | 2021-07-20T07:26:31 | 383,901,817 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,086 | h | /*
* Copyright (C) 2018-2021 David C. Harrison. All right reserved.
*
* You may not use, distribute, publish, or modify this code without
* the express written permission of the copyright holder.
*/
/****************** DO NOT MODIFY THIS FILE ****************************
*
* It is not included in the subissio... | [
"dpatrona@ucsc.edu"
] | dpatrona@ucsc.edu |
274a658c885f26aaad27e3f990baca425d399e29 | 4a294ae9ab5c62798b74d1a2ccc75624665296b3 | /cpp/Debug/Generated Files/winrt/Windows.UI.ViewManagement.h | 94ff650914607d813cdf895816810049cfb937d8 | [] | no_license | dtakeda/w32-winrt-test | d204a8fb28d1a4ceadf8ab8448b6cae2350a1579 | e70bf485ddc44d9389ed025a80fe65b4ec736bb6 | refs/heads/main | 2023-01-02T15:18:33.151156 | 2020-10-20T01:58:51 | 2020-10-20T01:58:51 | 305,547,430 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 175,259 | h | // WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.201008.2
#ifndef WINRT_Windows_UI_ViewManagement_H
#define WINRT_Windows_UI_ViewManagement_H
#include "winrt/base.h"
static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.201008.2"), "Mismatched C++/WinRT headers.");
#define CPPWINRT_VERSI... | [
"dtakeda@yamaha.com"
] | dtakeda@yamaha.com |
daf751175607da88ebcff0913aab32d343ef6197 | d2c0ebb859fae2cd66fa73c14bd56eca58c7b41b | /hookflash-core/core/hookflash/services/cpp/services_Helper.cpp | a3a34802b359a199bb1404fafd59f94eb10b0f5c | [
"BSD-2-Clause-Views"
] | permissive | ilin-in/OP | 4ad6ab6c1f018cb0b90db4e34651aa3328df191d | bf3e87d90008e2a4106ee70360fbe15b0d694e77 | refs/heads/master | 2020-04-08T11:29:44.234718 | 2012-12-29T00:50:35 | 2012-12-29T00:50:35 | 7,470,505 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 53,511 | cpp | /*
Copyright (c) 2012, SMB Phone 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 code must retain the above copyright notice, this
list of conditions and the ... | [
"robin@hookflash.com"
] | robin@hookflash.com |
33de36b8459506bc9844b7e7141df4883cde4e47 | bc7122a322d08afb779f9e526b87fc1c8d5acad0 | /C++ Practice/basic_data_types.cpp | 7bfafe1a796172fa166d21977b79ded460054c9f | [] | no_license | tlennen/hackerrank-practice | 402771ec3e348a1d964049a8710f29793b88dc0d | 78b20f558a57aa43c6c67f3ae2a46e0e3b63d57c | refs/heads/master | 2020-05-18T11:05:12.224053 | 2019-05-30T21:32:25 | 2019-05-30T21:32:25 | 184,368,942 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 358 | cpp | #include <iostream>
#include <cstdio>
using namespace std;
//https://www.hackerrank.com/challenges/c-tutorial-basic-data-types/problem?h_r=next-challenge&h_v=zen
int main() {
int i = 0;
long l = 0;
char a = 's';
float f = 0;
double d = 0;
cin >> i >> l >> a >> f >> d;
printf("%d\n%ld\n%c\n... | [
"tlennen1997@gmail.com"
] | tlennen1997@gmail.com |
9bd1e0a3779f95f36ce5b1c45cd219bcf7f5427a | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5695413893988352_1/C++/mark03/B.cpp | 35ef86c054e6a90b7192b1231d9bbf5a34c65005 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,806 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef pair<string, string> pss;
typedef long long ll;
ll tonum(string a)
{
ll ris=0;
for(int i=0;i<a.size();++i)
{
ris*=10;
ris += a[i] - '0';
}
return ris;
}
pss best(pss a, pss b)
{
pss sol;
string A[2] = {a.first, a.second}, B[2] = {b.first, b.second};
if... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
ac308c767f250aecef1b2ca141bafaa60fe0e096 | 67f988dedfd8ae049d982d1a8213bb83233d90de | /external/chromium/net/spdy/spdy_test_util_spdy3.h | 5103c89883698b66c3a66eb02a070550d4804fd2 | [
"BSD-3-Clause"
] | permissive | opensourceyouthprogramming/h5vcc | 94a668a9384cc3096a365396b5e4d1d3e02aacc4 | d55d074539ba4555e69e9b9a41e5deb9b9d26c5b | refs/heads/master | 2020-04-20T04:57:47.419922 | 2019-02-12T00:56:14 | 2019-02-12T00:56:14 | 168,643,719 | 1 | 1 | null | 2019-02-12T00:49:49 | 2019-02-01T04:47:32 | C++ | UTF-8 | C++ | false | false | 18,552 | 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 NET_SPDY_SPDY_TEST_UTIL_H_
#define NET_SPDY_SPDY_TEST_UTIL_H_
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
#include "cryp... | [
"rjogrady@google.com"
] | rjogrady@google.com |
8bcb36224c221aa00e53c819541f25dd251b41cc | 12c080b81ca5a7aaf87d4199e58dfe08b9670b7f | /46-Permutations.cpp | 59d6001ad5a000bf672b6975147b66b492ff23fa | [] | no_license | PhoenixDD/LeetCode | 23970d3d5485f0c67ecc46afbf07c296a14f7a4d | 04d78870f56dc7c5057a8b22e5c3ed87ae04a8bf | refs/heads/master | 2021-01-01T19:21:32.795867 | 2020-11-26T05:12:48 | 2020-11-26T05:12:48 | 98,563,765 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 554 | cpp | class Solution {
public:
vector<vector<int>> result;
void perm(int start,vector<int> &nums)
{
if(start==nums.size())
{
result.push_back(nums);
return;
}
for(int i=start;i<nums.size();i++)
{
swap(nums[start],nums[i]);
per... | [
"ddhondiyal@gmail.com"
] | ddhondiyal@gmail.com |
5b47f62e8d467901aab840b9a52d5cd3ccec1830 | 1577e1cf4e89584a125cffb855ca50a9654c6d55 | /WebKit/Source/WebKit/Shared/Notifications/NotificationManagerMessageHandler.h | 5f4339911dddab45ad8617ed3b3b931387772eb5 | [] | no_license | apple-open-source/macos | a4188b5c2ef113d90281d03cd1b14e5ee52ebffb | 2d2b15f13487673de33297e49f00ef94af743a9a | refs/heads/master | 2023-08-01T11:03:26.870408 | 2023-03-27T00:00:00 | 2023-03-27T00:00:00 | 180,595,052 | 124 | 24 | null | 2022-12-27T14:54:09 | 2019-04-10T14:06:23 | null | UTF-8 | C++ | false | false | 2,367 | h | /*
* Copyright (C) 2021 Apple 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 code must retain the above copyright
* notice, this list of conditions a... | [
"opensource@apple.com"
] | opensource@apple.com |
5c5afce69afa96672d9879bb032d20fdc79d62db | c356ad9aa464a851427a4f5eaceb0e0bde4ab351 | /Algorithms/Syntactic Analysis/Automaton/GV.h | 13554e844f2244d6c8bc6d873391f7f1997021af | [] | no_license | jorge-luis-ibanez-canales-2019630541/Compiladores2021B | 69582379f32defae8b4c7729a9ddea2c0205725a | d195ec8fc74129c8f4f9932cd1dd4deff54af108 | refs/heads/main | 2023-06-09T01:20:12.619880 | 2021-06-23T22:01:44 | 2021-06-23T22:01:44 | 375,504,845 | 0 | 1 | null | 2021-06-23T08:27:53 | 2021-06-09T22:31:06 | C | UTF-8 | C++ | false | false | 479 | h | #ifndef _GV_
#define _GV_
#include <string>
#include <sstream>
#include "NFA.h"
//#include "../RE_to_DFA_Syntax_Tree/SyntaxTree.h"
using std::stringstream;
using std::string;
class SyntaxTree;
class Node;
class NFA;
class GV{
private:
void dfs_gv(Node* curr, stringstream &tree_gv, int &id_node); //Auxi... | [
"jorgecompiladores@gmail.com"
] | jorgecompiladores@gmail.com |
fbc6bfb014bc23ccaa6fe028f1861a018a527796 | 6280d52ececb26fcbfdcfe906a6d02324363225e | /Marlin-bugfix-2.0.x/Marlin-bugfix-2.0.x/Marlin/src/gcode/config/M305.cpp | b6975409864cdf391a269984c262c5b563e29035 | [
"GPL-3.0-only",
"GPL-1.0-or-later",
"MIT"
] | permissive | SOliasS/Ender5plusSKRv1.3 | aaf4b8b225b40335b9185e1ee19f50eabf76b658 | a80ec20e0088fe615fc1f3c465469b43a63e6f73 | refs/heads/master | 2022-11-27T12:00:57.819603 | 2019-12-08T14:50:41 | 2019-12-08T14:50:41 | 224,746,129 | 0 | 0 | MIT | 2022-11-10T01:03:46 | 2019-11-28T23:54:42 | C++ | UTF-8 | C++ | false | false | 2,999 | cpp | /**
* Marlin 3D Printer Firmware
* Copyright (c) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* 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... | [
"s.schlund@iwos.io"
] | s.schlund@iwos.io |
5c6339e17f2eee7f1da8a9394c505008f299b2f3 | a064c963261ce1e0343b453f19e67b57bc54cbdc | /Hew_Alpha/Hew_Alpha/Network/Network.h | 1dd568ff4ceb6036a89ba5e2e549c2ac6eabdcb3 | [] | no_license | markedhork/Hew | aed7f360e74610b31154e6491d0ab61fc43e7da1 | a5261d17030ef5999c6e0dc50cb93ac0fd6087bb | refs/heads/master | 2022-03-15T09:04:08.272054 | 2019-11-19T06:46:07 | 2019-11-19T06:46:07 | 221,608,897 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 231 | h | #pragma once
#include <WinSock2.h>
class Network
{
public:
Network();
~Network();
virtual bool Set() = 0;
virtual int Connection() = 0;
protected :
bool Initialize();
bool Uninitialize();
WSADATA wsaData;
SOCKET sock;
};
| [
"markedhork@gmail.com"
] | markedhork@gmail.com |
73f644e222e3713b3a575645a2cf149cf0511405 | e1a123477c31c2261709b19ef1ea860ca9f5078b | /Temporal/Temporal/ActionControllerDragStand.cpp | 76604872c35ca149fe70eb2a1445ac29be6d691b | [] | no_license | shlomiatia/Temporal | 468381d979cd98275dfda937ea89e3d772b53fa1 | 8c16b3d5c3ac71a5723ddc48bcc441f784e52376 | refs/heads/master | 2022-11-15T21:36:56.537204 | 2020-07-15T20:45:02 | 2020-07-15T20:45:02 | 238,402,218 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,096 | cpp | #include "ActionControllerDragStand.h"
#include "ActionController.h"
#include "MessageUtils.h"
#include "Ids.h"
namespace Temporal
{
namespace ActionControllerStates
{
void DragStand::enter(void* param)
{
if (param)
{
ActionController::getActionController(_stateMachine).getDragMessagesHand... | [
"shlomiatia@3a4dcf1f-5df4-4445-a543-cd44aa9e3a8f"
] | shlomiatia@3a4dcf1f-5df4-4445-a543-cd44aa9e3a8f |
1ddfced4aabe253e2bd0a3958e3f50b277605b73 | 877a0e4dbe7a93befdfa6cccc1323971ee228cb6 | /Unidade2/Atividade4/10/Cliente.cpp | c14440c48978e7152796344417d960d4823ca2b5 | [] | no_license | jorgevvs/POO | fb910a6d8fff4d30680802a7661d7b7a443b174b | 02aca84d38379a024dc1142f11e31a38d413cacd | refs/heads/main | 2023-08-17T01:59:22.406980 | 2021-10-11T15:47:58 | 2021-10-11T15:47:58 | 391,706,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,036 | cpp | #include "Cliente.h"
#include <string>
using std::string;
#include <iostream>
using std::cout;
using std::endl;
ostream& operator<<(ostream& out, Cliente x){
cout << "===========================================\n";
cout << "Cliente: " << x.getNome() << " \nCPF: " << x.getCPF() << " \nTelefone: " << x.getTele... | [
"jorgevinicius9@gmail.com"
] | jorgevinicius9@gmail.com |
776c16e50590f5922bd2aad80952bdf16a7b91ca | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /chrome/common/extensions/permissions/permission_set_unittest.cc | 578b62401fdd548cb98ff6edc0b075b4de5fdf11 | [
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 71,866 | 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 <stddef.h>
#include <memory>
#include <utility>
#include "base/command_line.h"
#include "base/json/json_file_value_serializer.h"
#include "... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
9dc924e9ff586fac31a8dd681d0b837e35249384 | 5b98bc85850a70345c0de4245301dfe487e53ac3 | /src/bitUpdaters/button/ButtonLongPress.cpp | 7efb9465bd14e66734a4fcdee81544bc63cf82c3 | [
"MIT"
] | permissive | el-fuego/Arduino-modbus-controller | b8ee09643b14741c42072d1b6e98987d64742d10 | d94ca7c0cab92912d3604825231dc3797503573f | refs/heads/master | 2023-05-12T00:06:03.018244 | 2021-06-03T10:30:52 | 2021-06-03T10:31:28 | 260,986,098 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 544 | cpp | #include <Arduino.h>
#include "./ButtonLongPress.h"
// pin -> register
void ButtonLongPress::update(uint16_t* registerData, char bitIndex) {
bool isPressed = digitalRead(pinData->pin);
if (
!pinData->isEventCatched &&
isPressed &&
pinData->pressStartTimeMs != 0 &&
pinData->pressEndTimeMs == 0 &&
... | [
"elfuegoyp@gmail.com"
] | elfuegoyp@gmail.com |
ed69bf829c4f5f4fb7d3f7e353b58eb016f01fdc | 62165f26e5e81b058c32b482eaf85bd8247ee26d | /동적계획법1/2156포도주시식_02.cpp | 3c2f13e5ce30eb1ccf3c9203454b0b0b39e92ce3 | [] | no_license | ssjf409/PS | 006a09f6c8fc65f448065d47ed01e53de8a68769 | 6445d4c270704019662a7d2ae7fc0cd349e5e0b6 | refs/heads/master | 2023-01-13T15:25:02.259918 | 2020-11-24T14:55:14 | 2020-11-24T14:55:14 | 211,149,332 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 567 | cpp | #include <iostream>
#include <vector>
using namespace std;
int main() {
int n;
cin >> n;
int dp[n] = {0,};
int wine[n] = {0,};
for(int i = 0; i < n; i++) {
cin >> wine[i];
}
dp[0] = wine[0];
dp[1] = wine[0] + wine[1];
dp[2] = max(max(dp[0] + wine[2], wine[1] + wine[2]), ... | [
"ssjf409@naver.com"
] | ssjf409@naver.com |
3d6a06684356155030f6eb6253d13bc4ca1eee45 | f89d64a056532ac2e9d075dd6c6d6ef5864b2c89 | /live555/win7-x86/include/liveMedia/OutputFile.hh | 2dc6c545685277e435735b4c2a6556e8b77a3a35 | [] | no_license | beeminchu/videoplayerlib | 972f343e81d4da1723d4ba2a2e11cb5f5657a73a | fffb6d609a30cad7f698fd158297727d2fddf470 | refs/heads/master | 2020-03-11T09:26:11.836070 | 2018-04-18T14:14:42 | 2018-04-18T14:15:26 | 129,910,826 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,168 | hh | /**********
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation; either version 3 of the License, or (at your
option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.)
This librar... | [
"2481268091@qq.com"
] | 2481268091@qq.com |
536d313b5ab0fdfd931c34c080511dcde30fbb32 | f1fb2d200242dbf3c3842e212a8aa3f9b674f045 | /Source/Server Side/GameServer/Skill.cpp | ebc161853770cb6d7bbbaea42c2c20416e764ec4 | [] | no_license | ptr0x-real/xMuPP | 28909cda09b3c7d336a9e4c6e7125be3a0d76fb2 | 0f563add302530c8497ef70139129d7f5f5fd987 | refs/heads/master | 2023-01-11T15:21:29.680314 | 2023-01-08T10:52:58 | 2023-01-08T10:52:58 | 294,630,244 | 3 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 1,303 | cpp | // Skill.cpp: implementation of the CSkill class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Skill.h"
#include "SkillManager.h"
#include "MasterSkillTree.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
/... | [
"ptr0x@live.com"
] | ptr0x@live.com |
85b671525d79cd674b8233de44da3698fd5bf4f1 | a2111a80faf35749d74a533e123d9da9da108214 | /raw/workshop11/workshop2011-data-20110925/sources/u35c5glxw45elmls/61/sandbox/my_sandbox/apps/ministellar/ministellar.cpp | 692801ae1f1f98f88a4d54d2cc7f2eaf1f6055e2 | [
"MIT"
] | permissive | bkahlert/seqan-research | f2c550d539f511825842a60f6b994c1f0a3934c2 | 21945be863855077eec7cbdb51c3450afcf560a3 | refs/heads/master | 2022-12-24T13:05:48.828734 | 2015-07-01T01:56:22 | 2015-07-01T01:56:22 | 21,610,669 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,402 | cpp | #include <seqan/stream.h>
#include <seqan/index.h>
#include <seqan/align.h>
#include <seqan/seeds2.h>
using namespace seqan;
// set parameters
unsigned const minimalLength = 12;
float const errorRate = 0.05;
//unsigned const qGramLength = 8;
CharString const filename = "ministellar.out";
typedef int TScoreValue;
TS... | [
"mail@bkahlert.com"
] | mail@bkahlert.com |
3507447b46d66b742656760cffe065737e87daed | d5ce8cddb5d54d9c2b90f8d52ec3fd3499a51334 | /ELCore/KeyDoesNotExist.hpp | 37a873f2b06e7c5405ae8d66bd4bc23967833846 | [] | no_license | Elaviers/ELLib | 7a9adb92da1d96df9cc28f935be62e48bb98fb5b | 3c5d36d2d19438d32e9cf44fe5efeacb46aca51c | refs/heads/master | 2023-05-30T21:50:28.327148 | 2021-07-05T16:42:39 | 2021-07-05T16:42:39 | 286,592,944 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 175 | hpp | #pragma once
#include <exception>
class KeyDoesNotExist : public std::exception
{
public:
virtual char const* what() const override
{
return "Key does not exist";
}
};
| [
"elaviers@gmail.com"
] | elaviers@gmail.com |
dc6a521fb425ff271ac29b97dd0cb6481bc7b605 | 53be1154143a42e396ae35c86073fb92dd8646d2 | /src/main.cpp | 8e11fdb203dccd3a269e9dbc2cdb49cdf3db2342 | [
"MIT"
] | permissive | 5t4rk/Test-Coin | 80a8f6c8f66642a6e8a37388957465682cacedbe | ec544b12b378eea035d2cf076dd0995cf06a8022 | refs/heads/master | 2016-09-06T00:13:41.741545 | 2014-09-20T03:25:32 | 2014-09-20T03:25:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 128,558 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2012 Litecoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "checkpoints.h"
#include "... | [
"root@debian.debian.com"
] | root@debian.debian.com |
aacd29dab6a66ff2789e024aa5e607ff52f969d6 | 083100943aa21e05d2eb0ad745349331dd35239a | /aws-cpp-sdk-transfer/include/aws/transfer/UploadFileRequest.h | 97b6277d0a440ba5c64eaf80d85c1df2dd7360ce | [
"JSON",
"MIT",
"Apache-2.0"
] | permissive | bmildner/aws-sdk-cpp | d853faf39ab001b2878de57aa7ba132579d1dcd2 | 983be395fdff4ec944b3bcfcd6ead6b4510b2991 | refs/heads/master | 2021-01-15T16:52:31.496867 | 2015-09-10T06:57:18 | 2015-09-10T06:57:18 | 41,954,994 | 1 | 0 | null | 2015-09-05T08:57:22 | 2015-09-05T08:57:22 | null | UTF-8 | C++ | false | false | 9,748 | h |
/*
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in... | [
"henso@amazon.com"
] | henso@amazon.com |
1c6ca316cecd23ccd029dd48538ec5c1faf64b23 | 1442380600ae7ca032cbc03a33e9c031a1dd0c83 | /Programs/LED/src/main.cpp | d88a6a34f402fc39859e46ecc2338de535325acf | [] | no_license | ErHarjeev/Teensy | d2b74db3ef31163fb1f68d3d0f599ea22aca0705 | d647b691204bcf2d80cd3d984df112e3b27fd273 | refs/heads/master | 2022-11-11T16:54:12.772182 | 2020-07-03T10:45:45 | 2020-07-03T10:45:45 | 259,169,911 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,412 | cpp | #include<Arduino.h>
/*
Blink
Turns on an LED on for one second, then off for one second, repeatedly.
This example code is in the public domain.
*/
// Pin 13 has an LED connected on most Arduino boards.
// Pin 11 has the LED on Teensy 2.0
// Pin 6 has the LED on Teensy++ 2.0
// Pin 13 has the LED on Teensy 3.0... | [
"er.harjeev@gmail.com"
] | er.harjeev@gmail.com |
23a6626aade755145c4e0dd35fa7fae02845666f | a3c26b04e091a2a76db31a716c6abcc5108bb9ea | /digitlst.cpp | 9bfacaf42e22dd9edf238eac8aedcb311d5394a7 | [
"MIT"
] | permissive | wilwatikta/docker-meta | 098154a964d6fe827ba0998efeb327465bfa8634 | 27fead8fe91ee1beb77e2851a87e65b822c1b469 | refs/heads/master | 2020-03-22T13:23:01.617438 | 2018-07-08T09:48:17 | 2018-07-08T09:48:17 | 140,103,912 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 33,283 | cpp | // Copyright (C) 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
**********************************************************************
* Copyright (C) 1997-2015, International Business Machines
* Corporation and others. All Rights Reserved.
***********... | [
"gamerhacking@gmail.com"
] | gamerhacking@gmail.com |
eb8bb63e13da05e21f2edd52b9c2647e090a0383 | e02a75042ee1f0da2d32996b7cd7269a80c8502e | /AtCoder/abc052/a.cpp | c39b1a91fc02e7d19cee4dcffc0c3fc6bb609aff | [] | no_license | KL-Lru/Competitive-Programming | 35131245d630e7b8728e2707066dc871e6363230 | d9395043ea439c68bcbdd1ed52fe080444dcc140 | refs/heads/master | 2021-06-18T03:17:16.583231 | 2021-04-05T14:09:00 | 2021-04-05T14:09:00 | 193,652,887 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 610 | cpp | #include<bits/stdc++.h>
using namespace std;
#define md 1000000007
#define ll long long
int main(){
int n;
int dd[1001]={};
int div = 2;
ll ans = 1;
cin>>n;
for(int i=2;i<=n;i++){
dd[i] = i;
}
for(int i=2;i<=1000;i++){
if(dd[i] == 0) break;
if(dd[i] != 1){
int cnt = 1;
... | [
"kilattoeruru@outlook.jp"
] | kilattoeruru@outlook.jp |
93d952e3c49a6b26a23aae7c90355d0fe5be3a50 | 0851cf9dee9699a3296276705b45993e55c51592 | /lib/gwp_asan/tests/mutex_test.cpp | 5bc53b902185fa7823c2d617d61262e66d1e8db3 | [
"NCSA",
"MIT",
"LLVM-exception",
"Apache-2.0"
] | permissive | apple/swift-compiler-rt | 5e67c4ad59784faaa7a34b7e4824b8779e55ca48 | f074ee37e8be92799cbc32bf7a8e12a3d1d4719f | refs/heads/stable | 2023-03-16T10:46:27.831959 | 2019-10-25T22:47:20 | 2019-10-25T22:47:20 | 50,524,437 | 122 | 76 | Apache-2.0 | 2019-10-25T22:47:21 | 2016-01-27T17:23:47 | C | UTF-8 | C++ | false | false | 2,295 | cpp | //===-- mutex_test.cpp ------------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"mitchphillips@outlook.com"
] | mitchphillips@outlook.com |
81514dff9240e43831717dda38fa2467c6f39328 | 027658679792d47956ccd3c0fd867bb392c18970 | /jni/mp4v2/track_param.h | 9e69585dd158ec672f299c478cc6e23828a0f653 | [] | no_license | atgsdjb/SeraphimRecoder | e07343181219064cddf936b2c8622b92192477d9 | 57828c45f0f46b7d8632fc5258d1dc23f1cd3aa1 | refs/heads/master | 2021-06-07T22:49:06.239334 | 2018-05-22T03:21:34 | 2018-05-22T03:21:34 | 10,263,473 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,230 | h | namespace Seraphim{
class QTrackParam{
public:
int type;
int timeScale;
int bitRate;
int sampleRate;
int duration;
int renderingOffset;
bool usedSoft;
QTrackParam(int _type,int _timeScale,int _bitRate,int _sampleRate,int _duration, int _renderingOffset,bool _usedSoft)
:type(_type),timeScale(_timeScale),bitRate... | [
"td.seraphim@gmail.com"
] | td.seraphim@gmail.com |
f902cc4eb9878afeeea9ce989ddd983b55de751e | 9dab9d0af61cce4f8611aa3b0d27c4d360989ae5 | /Ivan Andri Wahyudi/math3B.cpp | 8e954a829f9fd2e1ef1a422612ec0174a250db1f | [] | no_license | IvanAndriWahyudi/S2-Pemrograman2 | 9fd32c97e9f333af38303dfb6abd971a758733bf | d0e14a72cb9f87371789211c197a4f8e34cccdaa | refs/heads/master | 2023-08-29T17:42:57.881448 | 2021-10-24T03:39:29 | 2021-10-24T03:39:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 309 | cpp | #include <iostream>
#include <cmath>
using namespace std;
int main(){
float nilai;
cout << "Masukan Nilai = ";
cin >> nilai;
cout << "Pembulatan Nilai " << nilai << " ke Atas = " << ceil (nilai) << endl;
cout << "Pembulatan Nilai " << nilai << " ke Bawah = " << floor(nilai) << endl;
return 0;
}
| [
"ivanandri.w04@gmail.com"
] | ivanandri.w04@gmail.com |
9156e0e090bf5d5d2dcf960c57902401beb9a92a | ef25d3382fa85106130e8ba6fca0f0f1e54acd80 | /src/NetMsgPhysx.cpp | 2d22c2649d4edf529f97fcb44628db1e3be60e99 | [] | no_license | ohio-university-cs4900-spring-2019-2020/module-6-fonts-Jacob-Butch | 7756003968aa09e461d4c46a06b5d8f99d120eb1 | 28a0033fc27c0230487a0f204ef03f48b5745879 | refs/heads/master | 2021-02-11T12:31:57.458457 | 2020-03-02T23:33:45 | 2020-03-02T23:33:45 | 244,491,678 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,130 | cpp | <<<<<<< HEAD
#include "NetMsgPhysx.h"
#include <iostream>
#include <sstream>
#include <string>
#include "GLViewModule.h"
#include "WOPhysx.h"
#include "WorldContainer.h"
#ifdef AFTR_CONFIG_USE_BOOST
using namespace Aftr;
NetMsgMacroDefinition(NetMsgPhysx);
bool NetMsgPhysx::toStream(NetMessengerStreamBuffer& os) c... | [
"jb242416@ohio.edu"
] | jb242416@ohio.edu |
7c745537693b6dbe08a92e52ee3e18791dfcdffb | 73dfe957af2b34fa65ea9fa56207a15038b764a1 | /project8_PID_control/src/main.cpp | ad54ba461a36fabd81b8979f03055408a7c0f608 | [
"MIT"
] | permissive | jiehou/udacity_sdc | 63eeefde3586d0cd61578bbc966672f976fab074 | f98db06a433ed9899a3431ac7a3a814da88fc620 | refs/heads/master | 2020-04-26T14:48:51.967710 | 2019-03-08T10:08:16 | 2019-03-08T10:08:16 | 173,627,451 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,805 | cpp | #include <math.h>
#include <uWS/uWS.h>
#include <iostream>
#include <string>
#include "json.hpp"
#include "PID.h"
#include "utils.h"
// for convenience
using nlohmann::json;
using std::string;
using std::cout;
using std::endl;
// For converting back and forth between radians and degrees.
constexpr double pi() { retur... | [
"jie.hou85@gmail.com"
] | jie.hou85@gmail.com |
7e1c700fd5754b13cf05f85c1bf7c3806c7d10d2 | e6d6756ca36ab881cce01f80a93b542a1d1a6b1a | /d_tcpclient.hpp | 9f208d600a934cef1198a55135ef68953623c262 | [] | no_license | ud1/ud1_viewer | dccfacfb27e53bcb103dec48b0ae23f28064df41 | 0d75e280097521789868a0401f7710fa2b287e7d | refs/heads/master | 2021-06-22T12:19:37.290134 | 2021-01-10T15:51:09 | 2021-01-10T15:51:09 | 161,390,884 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 717 | hpp | #ifndef UD1_VIEWER_TCPCLIENT_HPP
#define UD1_VIEWER_TCPCLIENT_HPP
#include "d_format.hpp"
#include <thread>
#include <boost/asio.hpp>
#include "d_blockingqueue.hpp"
struct TcpClient {
BlockingQueue<Obj> inMsgs;
std::thread readTcpThread;
boost::asio::io_service io_service;
boost::asio::ip::tcp::socke... | [
"ud1@mail.ru"
] | ud1@mail.ru |
20d7b34196a077eb34bde3648855120c94c9be1b | 28de6977173011c2ac9072fdf909683d48f53cda | /FSM/FSM/FSM/BaseGameEntity.h | d9a81fb8a557e51d533206001d2029ae1d246876 | [] | no_license | Shiheuan/GameAI2019 | d39ad429f4908e7de2070036c34d240c96b2dc33 | 3d96f9d41079034eabbfe53fd876ca35494eb7d7 | refs/heads/master | 2020-06-06T20:42:17.156879 | 2019-06-21T09:44:21 | 2019-06-21T09:44:21 | 192,848,114 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 371 | h | #pragma once
#include "Telegram.h"
class BaseGameEntity
{
private:
int m_ID;
// Should be static
static int m_iNextValidID;
//int m_iNextValidID;
void SetID(int val);
public:
BaseGameEntity(int id)
{
SetID(id);
}
virtual ~BaseGameEntity(){}
virtual void Update() = 0;
virtual bool HandleMessage(const Tele... | [
"shiheuan@gmail.com"
] | shiheuan@gmail.com |
f0a03de77acfe40f5804dad6b55da4705213c76f | edc16119ec31564a33d03f03573df9b75a575987 | /include/Exceptions/DeadEntityException.hpp | 9cad2de3e8ce6635eb03984c6958a8f7eb9942b8 | [] | no_license | tcantenot/ECS | 7f6e9f994c3787d2bfd8c164bdcafd7bae3a930e | 34c835bdfba3eca35023110d7779abd3d65807a4 | refs/heads/master | 2021-01-19T18:55:43.205469 | 2014-01-03T01:14:17 | 2014-01-03T01:14:17 | 15,597,637 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 508 | hpp | #ifndef HYBRID_ECS_DEAD_ENTITY_EXCEPTION_HPP
#define HYBRID_ECS_DEAD_ENTITY_EXCEPTION_HPP
#include <exception>
#include <Core/Entity.hpp>
namespace Hybrid
{
namespace ECS
{
class DeadEntityException : public std::exception
{
public:
DeadEntityException(Entity const... | [
"thierry.cantenot@insa-lyon.fr"
] | thierry.cantenot@insa-lyon.fr |
6532e9d0ca8208e41a438e4828995499705c9a5d | b3046dbf9ac76440bd4b1d5c52cdb994a6aa04bc | /include/avk/query_pool.hpp | 2d4b24a3cc3e46731296af39cc332a53cc6c0a4a | [
"MIT"
] | permissive | JolifantoBambla/Auto-Vk | e801f504f4e27a5d5e1cbfdd348fdaeb3cf6ed9a | 66fa679275ef310149533bdec2dd2d40c43f4fd9 | refs/heads/master | 2022-12-13T19:47:07.675620 | 2020-09-10T14:44:46 | 2020-09-10T14:44:46 | 292,853,070 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,292 | hpp | #pragma once
#include <avk/avk.hpp>
namespace avk
{
class query_t;
/** Represents a Vulkan query pool
*/
class query_pool_t
{
friend class root;
public:
query_pool_t() = default;
query_pool_t(const query_pool_t&) = delete;
query_pool_t(query_pool_t&&) noexcept = default;
query_pool... | [
"johannes.unterguggenberger@gmail.com"
] | johannes.unterguggenberger@gmail.com |
65362b555b8cbdb883d33dee368e89e5b15093b3 | e94443c0391764c260e55fd5b420edb9f8fcbf38 | /src/plugins/monocle/plugins/seen/seen.cpp | d3444aa4dc8ddc92bf57bb58313a8f97169ae6fc | [
"BSL-1.0"
] | permissive | DJm00n/leechcraft | e799ae5db1eb053fa0604af02b23bcfbd5fc1208 | 24a81673e27d2d1af9e9792d5dbdc91829e25bdb | refs/heads/master | 2021-01-18T11:15:20.670623 | 2014-12-22T01:50:50 | 2014-12-22T01:50:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,891 | cpp | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organiz... | [
"0xd34df00d@gmail.com"
] | 0xd34df00d@gmail.com |
7feef31e55613136f14f44a9b04f0f72f8e7c071 | d4e187daf004bacfc6f9c637c704f7faa27af647 | /src/features/orb_tracker.cpp | b4b48123c6790185616a7f11b40fb8a77c1105be | [] | no_license | nipster94/orb-feature-tracker | 7ad5ea647f638e3d0e6d5830352f6c8991315409 | a9a9da794c11fbc79ba23f481b07e161fbec446e | refs/heads/master | 2023-05-29T11:50:42.267410 | 2021-06-17T14:24:01 | 2021-06-17T14:24:01 | 377,857,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,831 | cpp | #include "orb_tracker.h"
orb_tracker::orb_tracker(){
std::cout << "init class orb tracking" << '\n';
height_ = 50;
width_ = 50;
alpha_ = 10;
init_ = true;
std::cout << "no error" << '\n';
}
void orb_tracker::track_features(cv::Mat current_, cv::Mat prev_,
cv::P... | [
"nipgam@student.chalmers.se"
] | nipgam@student.chalmers.se |
602c952369e64e3704f0429dece58a9dc374a1c6 | 93f1fd9c7386a1f6251b7dbda8732fa30e41d25b | /source/FAST/Examples/Kinect/KinectTracking.cpp | 579ab2fc394afd8bb579c5373843ec6b53e03c29 | [
"BSD-2-Clause"
] | permissive | hoangt/FAST | d685990a527350a9a299f68d4a929eb401bce159 | e0478e438edfa4ab854c6eee2e83fbf138db11e8 | refs/heads/master | 2020-03-23T00:52:03.660016 | 2018-05-30T12:41:45 | 2018-05-30T12:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,337 | cpp | #include <FAST/Streamers/KinectStreamer.hpp>
#include "KinectTracking.hpp"
#include "FAST/Data/Image.hpp"
#include "FAST/Data/Mesh.hpp"
#include "FAST/Algorithms/IterativeClosestPoint/IterativeClosestPoint.hpp"
#include <FAST/Exporters/VTKMeshFileExporter.hpp>
#include <QDir>
namespace fast {
KinectTracking::KinectTr... | [
"ersmistad@gmail.com"
] | ersmistad@gmail.com |
e53d3c3be0114f868a284b42a6efa99e77a4de74 | 0006f89c8d952bcf14a6150e9c26c94e47fab040 | /src/trace/DXInterceptor/dxloader/DXLoaderDllOptionsDlg.h | 92e81e92d96b98a8a617979fbcbc460e310465a8 | [
"BSD-3-Clause"
] | permissive | cooperyuan/attila | eceb5d34b8c64c53ffcc52cd96b684d4f88b706f | 29a0ceab793b566c09cf81af26263e4855842c7a | refs/heads/master | 2016-09-05T18:55:56.472248 | 2013-06-29T14:42:02 | 2013-06-29T14:42:02 | 10,222,034 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,521 | h | ////////////////////////////////////////////////////////////////////////////////
#pragma once
////////////////////////////////////////////////////////////////////////////////
#include "ColourPickerXP.h"
#include "TreeListCtrlHeaders.h"
#include "DXIntPluginManager.h"
////////////////////////////////////////////////... | [
"cooperyuan@gmail.com"
] | cooperyuan@gmail.com |
3e8716a465553e9d6329852ccf8f2793ba294239 | 95bbfb9b31c51e0d7fb1f59b7121c98e87c840e1 | /Lab4_Stack/StackLinked/stacklnk.h | 53f3cf4f59a1385c059266986803a6f6dc7201c8 | [] | no_license | ParkEunBit/Data-Structure | 065f9c2ea9ea2656fd27ab73f23b7b751f9d56b6 | b774cd5656ebec4a073d554810752adf3f6c4d79 | refs/heads/master | 2021-09-02T08:43:54.216054 | 2018-01-01T04:25:38 | 2018-01-01T04:25:38 | 115,897,921 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,510 | h | //--------------------------------------------------------------------
//
// Laboratory 5 stacklnk.h
//
// Class declarations for the linked list implementation of the
// Stack ADT
//
//--------------------------------------------------------------------
const int d... | [
"noreply@github.com"
] | ParkEunBit.noreply@github.com |
bc7a8262dac18bfab486fc471301da3f3c167cf1 | 48c8a0c59ca908f2a297f7e1d8cd86cea0a4e0f0 | /Atividade 3/onb.h | efc71eaf26ed0a104c7b39d14a4c6b7325d8a73f | [
"MIT"
] | permissive | nycholassousa/RenderingBaseadoEmFisica | a6491ef84ba43abec60b25fd7ee0d336db6162fa | cc086b3e2ab31abfc55bd35c898c5799eb953b2a | refs/heads/master | 2021-01-25T12:42:11.652221 | 2018-06-15T11:35:59 | 2018-06-15T11:35:59 | 123,492,257 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,238 | h | #ifndef ONB_H_
#define ONB_H_
#include <glm/glm.hpp>
class ONB
{
public:
// The default constructor creates a "standard" ONB.
ONB(void);
// Set up an ONB from an normalized input vector 'v' that will be assumed to be aligned to
// the 'v' (up) vector of the ONB to be created.
void setFromV(cons... | [
"nycholas@live.com"
] | nycholas@live.com |
18cbc776d51f932f76b18b56c0e4f86ce5833e91 | 127c62decbb1ab33f16a785ad9403e37b87056d0 | /folly/ssl/OpenSSLCertUtils.cpp | b1bdf180e737e8dbdfa5e4f1d0566d38e905aafa | [
"Apache-2.0"
] | permissive | diorahman/folly | d2e091ec6e711e89a271f92a8986b8de1886b7e4 | 55b25ffb4a79f111e195c51fd489ba43b7e808a0 | refs/heads/master | 2020-12-30T13:38:23.421807 | 2017-05-13T18:01:56 | 2017-05-13T18:19:12 | 91,229,674 | 1 | 0 | null | 2017-05-14T08:21:41 | 2017-05-14T08:21:41 | null | UTF-8 | C++ | false | false | 4,823 | cpp | /*
* Copyright 2017-present Facebook, Inc.
*
* 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 a... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
e986ba847fa6267a962cdd00b10838d063812830 | 79bd30f36ef6efd673aae2306abcb4b929c665a8 | /snippets/markdown/tiny_image/tiny_templates/TMUploader/TM_Uploader/ImageProvider.cpp | aa9c608f693b6f386b1d719b0cbbee540d84390d | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla"
] | permissive | googlecreativelab/teachablemachine-community | 5b4998e91a915e33933bc61825561075e22d5d5e | d95cfd8040d0813f41319761cdd657e49ee00c26 | refs/heads/master | 2023-09-04T03:58:05.914316 | 2023-02-06T14:10:58 | 2023-02-06T14:10:58 | 192,393,914 | 1,338 | 627 | Apache-2.0 | 2023-07-01T19:43:27 | 2019-06-17T17:55:48 | TypeScript | UTF-8 | C++ | false | false | 5,620 | cpp | /* Copyright 2021 Google LLC All Rights Reserved.
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... | [
"gbose@google.com"
] | gbose@google.com |
53ba868f98f90059688cc1fee215c46538c917a0 | 5f21f553666ec9b6916e3b68b2b123b4db374393 | /pitzDaily_Reynolds_stress_R_manual/1300/uniform/cumulativeContErr | 6046ddd395d14e842cb008203bbac30e29f7e5c3 | [] | no_license | giacomodelbianco/software | 9a4f732635adc5ca954eb1dbc3327e7e61a549c3 | ca2f61c9833650b3d165260b3a445b4a6e29c409 | refs/heads/master | 2022-11-15T22:45:43.272727 | 2020-07-08T19:59:52 | 2020-07-08T19:59:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 953 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1906 |
... | [
"ziolai@Domenicos-MacBook-Pro.local"
] | ziolai@Domenicos-MacBook-Pro.local | |
88917054a51cd7b4f306dc249714506aad346511 | e4d781ed68af63a8cffb657428494e93d41c5ca5 | /Uri_1066.cpp | 3ac3053d2581e2b560270bf2292c9c6876d47146 | [] | no_license | viniciushfr/Uri | ac3d7fe92f75f2f17174650951550a1f272a9d22 | 9e28ccc7f87d1204e61df4841d1f42b6785cffae | refs/heads/master | 2021-01-18T18:37:03.232736 | 2017-03-31T22:55:47 | 2017-03-31T22:55:47 | 86,864,870 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 434 | cpp | #include <iostream>
using namespace std;
int main(){
int v;
int par=0,impar =0,pos =0,neg = 0;
for(int i=0;i<5;i++){
cin>>v;
if(v%2 == 0)par++;
else impar++;
if(v>0)pos++;
if(v<0) neg++;
}
cout<<par<<" valor(es) par(es)"<<endl;
cout<<impar<<" valor(es) i... | [
"noreply@github.com"
] | viniciushfr.noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.