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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a9051f4b904cfd79f42868f92c804039679c4f23 | 299648a8c633728662d0b7651cd98afdc28db902 | /src/thirdparty/cefbinary_72/libcef_dll/cpptoc/v8interceptor_cpptoc.h | 57b1f027689b8829ea2d8310acb144de3fd148b5 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown"
] | permissive | aardvarkxr/aardvark | 2978277b34c2c3894d6aafc4c590f3bda50f4d43 | 300d0d5e9b872ed839fae932c56eff566967d24b | refs/heads/master | 2023-01-12T18:42:10.705028 | 2021-08-18T04:09:02 | 2021-08-18T04:09:02 | 182,431,653 | 183 | 25 | BSD-3-Clause | 2023-01-07T12:42:14 | 2019-04-20T16:55:30 | TypeScript | UTF-8 | C++ | false | false | 1,306 | h | // Copyright (c) 2019 The Chromium Embedded Framework Authors. All rights
// reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file.
//
// ---------------------------------------------------------------------------
//
// This file was generated by the CEF translato... | [
"joe@valvesoftware.com"
] | joe@valvesoftware.com |
40b748e0e18e6638f91e14e49e42f2ba9087de4f | ae00f29b79b8ac012a76c03b40b6f1c3b4d398bf | /src/lib/builders/java.hpp | f18f2b80f3058370d424567aad7d5c217f65af7b | [
"Apache-2.0"
] | permissive | bacsorg/system | 3f5860870d8375538c8c9e05510a3f0338a50a06 | 22149ecfaac913b820dbda52933bf8ea9fecd723 | refs/heads/master | 2021-01-09T06:58:52.004573 | 2018-03-06T18:20:06 | 2018-03-06T18:20:06 | 17,411,767 | 0 | 1 | null | 2017-09-27T10:45:19 | 2014-03-04T18:11:35 | C++ | UTF-8 | C++ | false | false | 1,404 | hpp | #pragma once
#include "interpretable.hpp"
#include <memory>
namespace bacs {
namespace system {
namespace builders {
class java : public interpretable {
public:
explicit java(const std::vector<std::string> &arguments,
bool parse_name = true);
executable_ptr build(const ContainerPointer &contai... | [
"sarum9in@gmail.com"
] | sarum9in@gmail.com |
3620d847ed0f850f9426e36e5cabf5755a5e7ff9 | 86bb1666e703b6be9896166d1b192a20f4a1009c | /source/game/Viewport.h | d677bed13bdf433b8fdc51578f169582a2cbfb64 | [] | no_license | aggronerd/Mystery-Game | 39f366e9b78b7558f5f9b462a45f499060c87d7f | dfd8220e03d552dc4e0b0f969e8be03cf67ba048 | refs/heads/master | 2021-01-10T21:15:15.318110 | 2010-08-22T09:16:08 | 2010-08-22T09:16:08 | 2,344,888 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,270 | h | /**
* @file Viewport.h
*
* Created on: 31 Mar 2010
*
* @author Gregory Doran <www.gregorydoran.co.uk>
*/
#ifndef VIEWPORT_H_
#define VIEWPORT_H_
#include <ClanLib/core.h>
#define VIEWPOINT_Y_SCALE 0.5
#define VIEWPOINT_ZOOM 45.254834 // 64 pixel width of tile. sqrt((64*64)/2)
#define VIEWPOINT_SCROLL_DISTANC... | [
"greg.doran@gmail.com"
] | greg.doran@gmail.com |
bcd96c3e2ec75b67ca8d1cb84483c3ea4dc0af30 | dea7c6fe0eb9d4561db6a3927c1f7d4bd7f46357 | /c5/5章2题/522/522.cpp | 6ced2cd0c33138a2d0747bdc35241346e1b58ad0 | [] | no_license | 20191844319/G41 | 716d9b0ab826b5d7aeca44d99a6c2efb77958f3f | 76dddf15bc2f89c1392fcdaaab984112cdabf007 | refs/heads/master | 2020-08-22T17:33:19.837080 | 2019-12-21T09:08:26 | 2019-12-21T09:08:26 | 216,448,661 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 369 | cpp | // 522.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include<math.h>
int main(int argc, char* argv[])
{
int sign=1,count=0;
double pi=0.0,n=1.0,term=1.0;
while(fabs(term)>=1e-8)
{
pi=pi+term;
n=n+2;
sign=-sign;
term=sign/n;
count++;
}
pi=pi*4;
printf("pi=%10.8f\n"... | [
"2590537051@qq.com"
] | 2590537051@qq.com |
fc318a2e679fba1b7db35dfa8dd200b9c8410eaf | 08d24b3c61c7ae29c7e876897428c1f131530272 | /c/sv_graph/sv_graph_component.cpp | dc3230c8a8e6bae8fe90eead09d85d08d34fe589 | [] | no_license | ryanlayer/sv_graph | d1aff70133f6ec6f7c0f80fdaebde1b1abe1f714 | f542796d1381c9af697aa0a58efdc09f4df50c18 | refs/heads/master | 2020-06-08T01:03:43.640579 | 2011-02-08T19:51:18 | 2011-02-08T19:51:18 | 1,343,342 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,733 | cpp | #include <vector>
using namespace std;
#include "sv_graph_component.h"
#include "sv_graph_node.h"
sv_graph_component::
sv_graph_component()
{
nodes = new vector<sv_graph_node*>();
min_node = NULL;
max_node = NULL;
}
/*
* This is the NM node in the pair, to get the offset you must get the pair of
* the node
... | [
"ryan.layer@gmail.com"
] | ryan.layer@gmail.com |
ecccbcf43fe5c946d7af93256a04190ed7d8a83f | 6bad8eef09c877c3b2527ea97ace51b002042cca | /lib/opt.cpp | b7a60e5388870e5b110a00c6b6d55d2d3c323da0 | [] | no_license | hotelsolution/hm | b2398f6c079dd3de2b2d16623cb22546bbc578bc | ba6bf7d45d7258d12a7813f6a3a2afc55b99aee6 | refs/heads/master | 2021-01-16T00:04:05.184133 | 2012-11-03T03:14:45 | 2012-11-03T03:14:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 508 | cpp | #include "opt.hpp"
int opt_check_for(const std::string opt,int argc , const char * argv[])
{
for(int i =0;i < argc ; i++){
if(opt == argv[i])
{
return i;
}
}
return -1;
}
void opt_remove(int &argc,const char * argv[], int index)
{
for(int i = index ; i < (argc-1) ; i++)
argv[i] = argv[i+1];
argv[argc... | [
"microcai@fedoraproject.org"
] | microcai@fedoraproject.org |
c1da105f63a0d6f436b4a0dadc98a7c03a2e3012 | 9b5e5c6f1f35352b17624de9cca17ca368a1649d | /src/BftProtocolState.cpp | f083017201f98e09579085223cae5a2959814c52 | [] | no_license | etremel/pddm | 40aaeec0bb744de2e107f1d5e18790414ae0f5cc | 98c3e326bdbcb4630dbf20a84484ea08adb42400 | refs/heads/master | 2021-05-01T07:57:58.268926 | 2017-11-07T23:17:15 | 2017-11-07T23:17:15 | 59,692,040 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 8,029 | cpp | /*
* BftProtocolState.cpp
*
* Created on: May 24, 2016
* Author: edward
*/
#include <memory>
#include <vector>
#include <cstring>
#include <algorithm>
#include <spdlog/spdlog.h>
#include "BftProtocolState.h"
#include "MeterClient.h"
#include "FixedPoint_t.h"
#include "CrusaderAgreementState.h"
#include "me... | [
"edward@cs.cornell.edu"
] | edward@cs.cornell.edu |
001e6ef5fdfd18da91249a6484feca080f8ac167 | aa71205fd8b1ca031fc9d56e58a16bf9dcdbd1d0 | /src/component/GUIComponent.h | 92673b6330eee5d059461f86570352c2950f1d0c | [
"LicenseRef-scancode-public-domain",
"Unlicense"
] | permissive | xiangwencheng1994/L | df461b015758aee7bf18ddf1ac5834f72efabccb | dbdaf3dbd2a257c87ebdda529ab9e741d3cca9c7 | refs/heads/master | 2020-08-02T12:12:45.912896 | 2019-09-01T14:49:07 | 2019-09-24T20:29:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,015 | h | #pragma once
#include "Component.h"
#include "../rendering/Material.h"
#include "../engine/Resource.h"
namespace L {
class GUIComponent : public Component {
L_COMPONENT(GUIComponent)
L_COMPONENT_HAS_GUI(GUIComponent)
protected:
Camera* _camera;
Material _material;
Vector2i _offset = 0;
V... | [
"lutopia@hotmail.fr"
] | lutopia@hotmail.fr |
1136b6186b3a5223de28e3501a099d7a2f1fb474 | 585a67412139ab94d1258624da34dfd0b896086e | /chapter03/ModernCPPTest/ModernCPPTest/main.cpp | 19c4b7f8a5ffaa425f2a557d0ba7511d28d5cfe5 | [] | no_license | kyoungchinseo/oFGuideBook | 1c402d3ca3be02bc1cef51e2fd9aecba487b1243 | 6ec1084c8ab11f87980c61e2c58a8703911d59b2 | refs/heads/master | 2020-03-28T17:42:01.407611 | 2018-09-27T14:29:19 | 2018-09-27T14:29:19 | 148,426,089 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,486 | cpp | #include <iostream>
#include <vector>
#include <map>
#include <string>
using namespace std;
int main(int argc, const char * argv[]) {
// vector<int> vec;
//
// vec.assign(5, 10);
// for(int i=0;i<5;i++) {
// vec.push_back(50);
// }
//
// for(int i=0;i<vec.size();i++) {
// cout << vec... | [
"kcseo.acm@gmail.com"
] | kcseo.acm@gmail.com |
0f4c1cd93a3477a9bedccc085fb7a3ae88a4a8c3 | 7c1a3e08fe53e662bdab1699df289b0d0538b491 | /training/deplibuv.hpp | 3a4f8c748e6832b003e94218c49507621c2bfb0b | [
"ISC"
] | permissive | Globik/kore-mediasoup | 1cc54c5320550b2f38828b426b3e6f69776d9451 | 343186112316c9f201cd97181cc807881db3bd86 | refs/heads/master | 2021-04-12T09:40:21.239635 | 2019-06-10T17:53:45 | 2019-06-10T17:53:45 | 126,602,145 | 13 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 939 | hpp | #ifndef LIBUV_HPP
#define LIBUV_HPP
#include <uv.h>
#include "uv_callback.h"
#include <iostream>
#include <functional>
#include <string>
//void*pt2obj;
void * on_sum2(uv_callback_t *callback,void*data);
extern uv_callback_t cb_sum2;
class deplibuv
{
public:
static void classinit();
static void classdestroy();
static... | [
"gru5@yandex.ru"
] | gru5@yandex.ru |
f75cd0c4e89c68c30a66601f4d09250f51bb7a77 | 178bc3daf9f3644ffa5fdd9275863a6b8ef4511f | /Code/Common/common/AppBase.cpp | 9bbbdc643b6f5b37ba824347099c26e848cda253 | [] | no_license | wanliyun/Aurora | 746cac407208074f4bf82cac0a9646a24130d6b2 | 3c9c46b836e97f9a0f9d1b5d4304cbaa60587441 | refs/heads/master | 2021-01-20T16:24:25.575827 | 2017-02-22T10:22:00 | 2017-02-22T10:22:00 | 82,776,032 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,299 | cpp |
#include "pch.h"
#include "AppBase.h"
#include "Debug.h"
#include "Utils.h"
#include "NetworkConn.h"
#include <FileSystem.h>
#include "AppConfigBase.h"
#include <ctime>
#ifdef WIN32
#include "shlwapi.h"
#pragma comment(lib, "shlwapi.lib")
#endif
namespace Aurora
{
AppBase::AppBase( AppConfigBase & ... | [
"lwkienun@126.com"
] | lwkienun@126.com |
920f004ebad35ff84dd61ff0df3ddaf91fc76f67 | 01a877ae8af020fc480501808600fe8f737acae6 | /Image Segmentation using Euler Graphs/eulerwalk.cpp | 08dc77cd758399bc9df99965aca282c0738dd0ea | [] | no_license | SnehaDL/Sneha-Projects | 8abdddedd8181b8156b32509c6bffee675c680b5 | 2642bff5657332c9c0a5f9422385494f8ee9e6f1 | refs/heads/master | 2016-09-12T19:59:29.698985 | 2016-04-21T16:37:48 | 2016-04-21T16:37:48 | 56,786,295 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 686 | cpp | #include <iostream>
#include <list>
using namespace std;
int graph[100][100];
int n, x, y, steps;
list<int> path;
void walk(int pos){
for(int i = 0; i < n; i++){
if(graph[pos][i] > 0){
graph[pos][i] --;
graph[i][pos] --;
walk(i);
... | [
"sneha.dabbadi@gmail.com"
] | sneha.dabbadi@gmail.com |
946701ab84fe3ad960a0f37be2fe1f81f5ec0d0d | 8b22cfbd4b2528b053d2db343a2ae184a0b5cdca | /Classes_con_Bug/EnemyPatrolState.h | d7283f21aa432cbf5ec02cadf9f9edb033a5eb1c | [] | no_license | darioslave1/Cyber_Hackman | b6bdbf1b9b78c76f478843afe79a5369771b9cb6 | 5a4d60c5ed91221d2e0b72974ffb7c91912a55a2 | refs/heads/master | 2020-05-18T11:35:05.908278 | 2013-10-12T15:49:17 | 2013-10-12T15:49:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 729 | h | #include "State.h"
class Enemy;
//------------------------------------------------------------------------
//
// Name: EnemyPatrolState.h
//
// Desc: Singleton Class to PatrolState
//
// Author: Dario Schiavone
//
// The enemy follow a random path
//-------------------------------------------------------------... | [
"darioslave1@gmail.com"
] | darioslave1@gmail.com |
87c1ab1a784c5e4598d1b04a13911115f18889df | efdfe2b2477167766321e1e2152b23e31f4650c4 | /contest795/B.cpp | 4cb467ef4408266ac2623ff1ed7cd429682a1e64 | [] | no_license | chongin12/Problem_Solving | 612c7783156db89e9248720bc870f58556f01d01 | c23b25778e32ed4ab21d23b3a4439eefcae486b4 | refs/heads/master | 2023-09-02T20:55:08.413597 | 2023-09-01T05:15:30 | 2023-09-01T05:15:30 | 182,390,474 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,135 | cpp | #include <bits/stdc++.h>
using namespace std;
using ll=long long int;
const ll MOD=1000000007;
int N, Q;
ll arr[1001];
vector<int> G[1001];
vector<ll> res;
int Visit[1001];
void init(){
res.clear();
for(int i=0; i<1001; ++i){
Visit[i]=0;
}
}
void f(){
ll t=arr[res[0]];
for(int i=1; i<res.siz... | [
"chongin12@naver.com"
] | chongin12@naver.com |
ceec151e1d064b6efdcfbe1b37aa3b5e06c8a88f | 3d3be59222796e8bbedc160c1f1595b245bde002 | /OpenGl6/OpenGL/OpenGL/dirLight.h | 373cd952dac0d5c32b6fa0ca136d0321058c8b17 | [
"MIT"
] | permissive | coconutjim/hseb4-compgraph | 77fc8a04345f32e840f5bd19bebdeef7cd0f20c0 | 2d4d883873b3589d7dceeef3597eda185c368ef2 | refs/heads/master | 2022-07-22T03:29:37.325022 | 2022-07-14T19:34:28 | 2022-07-14T19:34:28 | 234,436,864 | 1 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,112 | h | /*
Осипов Лев Игоревич
Проект 17. OpenGL6
Visual Studio 2013
20.03.2016
Сделано:
1) добавлены 4 Дедпула (и реализованы тени к ним)
2) добавлена возможность включения/отключения направленного источника света (клавиша Е)
3) добавлены 3 новых точечных источника света
4) реалзиовано включение/выключение точечных источников... | [
"osipov.enterprise@gmail.com"
] | osipov.enterprise@gmail.com |
906f9a2d703654910a34aceb70db2bf5e92f0f81 | d99aaae99f6bb8792b02412e264de5b9ca14a7f4 | /example_ex4/prob4-2/main.cpp | c2d21f9fce5dad68d72da4002266db35efdb24aa | [] | no_license | pk-Musan/HelloCpp | 0d85dd585d116aadb62153649c1e87daa767e84b | c5715bb563ab3bc373181e8c637cc1f8185911bb | refs/heads/master | 2020-09-07T20:38:38.564055 | 2019-12-05T08:51:44 | 2019-12-05T08:51:44 | 220,906,763 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 569 | cpp | #include <iostream>
#include <vector>
int main() {
std::vector<int> numbers;
int n;
while(true) {
std::cout << "正の整数を入力:";
std::cin >> n;
if (n == -1 && !numbers.empty()) break;
if (n > 0) numbers.push_back(n);
}
std::cout << std::endl;
int max = numbers[0], m... | [
"mu.1ok.san@gmail.com"
] | mu.1ok.san@gmail.com |
2c85a68030b279c3ba1f6dd9bd00caff31af6b45 | f2a425b791d601289862304c50d6173890c2505a | /WheelSpinner/Classes/Wheel_Spinner.cpp | 103fa11b23ff3536fce51dc0c8395df1ea5fb95f | [] | no_license | MichaelZheng45/WheelSpinner | 6bb28bb032bb24ba925696e7f01b1f67276c0027 | 7677862855914339fc0cd22150f3c33dc6c72813 | refs/heads/master | 2023-01-18T20:14:24.352372 | 2020-11-27T01:09:04 | 2020-11-27T01:09:04 | 315,133,660 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,806 | cpp | #include "Wheel_Spinner.h"
Wheel_Spinner::Wheel_Spinner()
{
}
void Wheel_Spinner::Init(Wheel_Slot sectors[], unsigned int slotCount, cocos2d::Sprite* wheelSprite, cocos2d::Sprite* wheelSpriteBorder, float spriteOffset, cocos2d::Vec2 labelOffset)
{
for (int i = 0; i < slotCount; i++)
{
mSectors.push_back(sectors[... | [
"michalezheng45@gmail.com"
] | michalezheng45@gmail.com |
53caf9e58e7a228e53c37546e5f0d600cc1e88a4 | 485173b607c4a38f735c7d51fc4ac57a5f2204e2 | /two-sum-ii-input-array-is-sorted.cpp | 76c59d8ce357b514fedbf9e3e976eb5cfbd6ef97 | [] | no_license | hey-vincent/leetcode | 222be2a0ced8babb05ac5d88746989e85e8ffb0e | a43477b2c560cac7bea4f811caaeeb9fbb03f388 | refs/heads/master | 2021-08-18T10:00:44.826245 | 2020-05-06T07:49:15 | 2020-05-06T07:49:15 | 178,378,568 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 755 | cpp |
#include <iostream>
#include <vector>
using namespace std;
//https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/submissions/
// 给定升序数组numbers 和 一个数target
// 求哪两个数的和是target
// Input: numbers = [2,7,11,15], target = 9
// Output: [1,2]
// Explanation: The sum of 2 and 7 is 9. Therefore index1 = 1, index2 = ... | [
"liu.wensheng@immomo.com"
] | liu.wensheng@immomo.com |
d89207a398c71e0bb2d3fb0fe16907e7c978aaa5 | 2ba48648eefadee113a7c2f5d608cab5209c3a8b | /code/Configurator/CContourMarks.h | 7a75d7387a2604a9e260b58547c2f21664c852eb | [] | no_license | wangdong412/Consen-SIS | 879762175575d0a62f26ec1effeb46c3fd62e3e8 | bca3fac35c961c3558a3438bca55e6d20825da3a | refs/heads/master | 2020-07-11T05:17:18.814104 | 2019-08-27T09:41:41 | 2019-08-27T09:41:41 | 204,450,874 | 1 | 5 | null | null | null | null | GB18030 | C++ | false | false | 2,288 | h | // 从类型库向导中用“添加类”创建的计算机生成的 IDispatch 包装类
#import "C:\Windows\\System32\\TeeChart8.ocx" no_namespace
// CContourMarks 包装类
class CContourMarks : public COleDispatchDriver
{
public:
CContourMarks(){} // 调用 COleDispatchDriver 默认构造函数
CContourMarks(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
CContourMarks(co... | [
"wangdong412@163.com"
] | wangdong412@163.com |
00faf0eff0880142f2359330c3d397fe0f935eed | 86e3367acf81c30825670ad6b16056056e60cf48 | /ls/Player/Equip/Overdrive.h | 019ef9e71958f472363312822e5ec96019fc19ec | [
"BSD-3-Clause"
] | permissive | sorcery-p5/Asteraiser | 0bb3e4a2e620f68764ee4e346e99440d1e7818b8 | f27da9e3e262772686245f7e83b800e41c909f0f | refs/heads/master | 2020-03-19T06:25:38.820721 | 2020-02-12T14:15:05 | 2020-02-12T14:15:05 | 136,018,491 | 6 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,620 | h | #pragma once
#include "../PlayerTypes.h"
class Effect;
class SpriteFrame;
class Player;
class OverdriveEnergy;
class Spear;
class Ruler;
////////////////////////////////////////////////////////////////////////////////
//
// オーヴァドライヴ
//
////////////////////////////////////////////////////////////////////////////////... | [
"sorcery_port5@hotmail.com"
] | sorcery_port5@hotmail.com |
a63304604489c5cbd724ecbf41c1dbaa0e93e8a1 | 08c37c6a806e355e542df9433bac3406dcdbf2f8 | /Pods/Headers/glm/gtx/color_space_YCoCg.inl | 06d35f1575bcef737f49da68485a06c46f438b4b | [] | no_license | Mark117/MScProject | c93312f499b1cb5e561fd93d4ee100f492cc6890 | 0fb2fb91cb0e00de6245591b389948493ba7e20d | refs/heads/master | 2021-03-12T23:34:00.841927 | 2014-08-27T20:06:32 | 2014-08-27T20:06:32 | 22,956,895 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42 | inl | ../../../glm/glm/gtx/color_space_YCoCg.inl | [
"mhorgan@logitech.com"
] | mhorgan@logitech.com |
aca19e0694707c85759bc85dbcda690d13ae6ab7 | a2111a80faf35749d74a533e123d9da9da108214 | /raw/workshop11/seqan-trunk/core/tests/refinement/test_graph_impl_align.h | ae424d26a7f73eb36753940ee6778bf23d5dae82 | [
"MIT",
"BSD-3-Clause"
] | 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 | 20,071 | h | // ==========================================================================
// SeqAn - The Library for Sequence Analysis
// ==========================================================================
// Copyright (c) 2006-2010, Knut Reinert, FU Berlin
// All rights reserved.
//
// Redistribution and us... | [
"mail@bkahlert.com"
] | mail@bkahlert.com |
4e4b6cc9f8efb3ac1a71ad2bc6106ce7ed4f6f50 | ab72eed10fbc3613a13bc3f3f04cf72a91d9c6d2 | /core/src/Foundation/Containers/Set.hpp | 7f810f147bee22b22966668a13cce0a82d4fffc5 | [
"BSD-3-Clause"
] | permissive | sugatmankar/crimild | 94c8007f28bd16d2321aef7b254e2207e36f3d89 | e3efee09489939338df55e8af9a1f9ddc01301f7 | refs/heads/master | 2020-05-07T11:10:42.061705 | 2018-12-12T12:45:04 | 2018-12-12T12:45:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,417 | hpp | /*
* Copyright (c) 2013-2018, Hernan Saez
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of... | [
"hhsaez@gmail.com"
] | hhsaez@gmail.com |
782d26cc3e3e5724a2457fb216c0f8b23ba90bc3 | dec7eace447c54a592b31902d215a1a7d7bdb3a5 | /Tree/102. Binary Tree Level Order Traversal.cpp | 2a7c15cc47cca3d562f79188c1b994a628b10c46 | [] | no_license | robini/LeetCode | e0d09a6e363a5fce344a4b4135d7d52a4e40ed2e | e19205ae2f1f383d87b20a1131808da2a2cb8d11 | refs/heads/master | 2021-01-24T10:49:33.615221 | 2018-05-14T15:46:16 | 2018-05-14T15:46:16 | 123,066,603 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 790 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
vector<vector<int>> levelOrder(TreeNode* root) {
vector<vector<int>> res;
if (!root)
return res;
... | [
"chchg726@163.com"
] | chchg726@163.com |
b754c0a4ce5b288778d608abcd4d1fbd213edd6e | 667441fdca2e9accd1b59eccdb06be592db695ee | /tools/backend_c/backend_c.cpp | 99a6b93d056473d3c3396e4e302f392894268b1e | [
"MIT"
] | permissive | arlosi/mrustc | 6b398cbc551b5c5b3eb21561cfb813b4f4c96b1c | b151c9aaafcf476b85af7d96b50e3e2ac0df646e | refs/heads/master | 2022-10-04T12:20:27.431675 | 2021-06-26T06:50:55 | 2021-06-26T06:50:55 | 222,812,916 | 0 | 0 | MIT | 2019-11-19T23:57:13 | 2019-11-19T23:57:12 | null | UTF-8 | C++ | false | false | 8,766 | cpp | /*
* mrustc - Standalone C backend
*/
#include <string>
#include <iostream>
#include <module_tree.hpp>
#include "codegen.hpp"
#include <algorithm>
struct Opts
{
::std::string infile;
::std::string outfile;
int parse(int argc, const char* argv[]);
void show_help(const char* prog) const;
};
int m... | [
"tpg@mutabah.net"
] | tpg@mutabah.net |
b791fb74b24f4b218c1f2678bc86f1e711f20c6e | c9c0f7b8f2c3a34a57b3fc81fb99829a532e7541 | /sum_of_medians.cpp | 327d8f60e3d8f3cf5b9c54c38124f9bf0fcbddeb | [
"MIT"
] | permissive | De-Fau-Lt/Solutions | 54d3da28ebc8c13048634b504f72d27961ba119d | 2539f815ab5c77769b3e3cc00fe0e7a7ec940ad5 | refs/heads/main | 2023-02-16T15:55:55.929750 | 2021-01-18T13:23:25 | 2021-01-18T13:23:25 | 305,923,415 | 0 | 0 | MIT | 2020-10-21T06:44:52 | 2020-10-21T06:00:31 | C++ | UTF-8 | C++ | false | false | 415 | cpp | #include <bits/stdc++.h>
#define ll long long
using namespace std;
int main()
{
int t;
cin >> t;
while(t--)
{
int n,k;
cin >> n >> k;
int arr[n*k];
for(auto &x:arr)
cin >> x;
int m=n/2;
int i=0;
int j=n*k-1;
int c=0;
int c2=k;
ll sum=0;
while(c2!=0)
{
if(c==m)
{
sum+=ar... | [
"prayagrai.93@gmail.com"
] | prayagrai.93@gmail.com |
00c24e009b8fb24f4fc60e0d67e444b252eaedce | 7e02b6f30de86953e38509a06205d83fdb6550e8 | /CppCommandBasedForReal/src/main/include/Constants.hpp | 3ebfd309b08d851839df83add62896c13f0f773f | [] | no_license | pak-plau/CppNewbieBot | f9d28119c99efdee25cd87e7226da338472abab0 | 4d083cdf14c263a128735800ba3133b11a735fcd | refs/heads/master | 2022-12-18T20:05:48.491834 | 2020-09-10T22:37:29 | 2020-09-10T22:37:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,324 | hpp | /*----------------------------------------------------------------------------*/
/* Copyright (c) 2019 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | [
"plau10@stuy.edu"
] | plau10@stuy.edu |
56a1eb7d8d2168842da7cdcddf6a035284fde267 | 3e5aac2f8338e65c51ea312c1190fe674ce8f9f7 | /Engine/Source/Runtime/Core/Public/Misc/EngineVersion.h | 60e422b2eff2caa73bbf8d3376c2d68a57b95e05 | [] | no_license | blueness9527/SolidAngle | b48fa9562776f24fc9f165b53048ff6982d9570b | c1c329cd8f0dcd97387ea962f4f00c0b67ccffdf | refs/heads/master | 2021-04-09T13:22:03.333409 | 2017-07-25T02:34:39 | 2017-07-25T02:34:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,621 | h | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreTypes.h"
#include "Misc/EngineVersionBase.h"
#include "Containers/SolidAngleString.h"
/** Utility functions. */
class CORE_API FEngineVersion : public FEngineVersionBase
{
public:
/** Empty constructor. Initializes the version ... | [
"yearlingWES@gmail.com"
] | yearlingWES@gmail.com |
ef303a957a0ee67ec7e15c4dabf6270ae7f394ef | 8eb23131229632fcf450310b0f79b2f6aed5c428 | /include/storage_types.hpp | cf2a7b1c846c769bc5abf674a631440d5f2bae87 | [] | no_license | wojciechzyla/production_line_simulation | 02500aa0b99fc92a32e9be75bff6bf6e651d1697 | b25b87facae7ae501feeeb572d85830415b278e0 | refs/heads/main | 2023-03-18T17:35:13.813241 | 2021-03-07T15:27:51 | 2021-03-07T15:27:51 | 344,579,865 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,653 | hpp | //
// Created by Wojciech Żyła on 20/12/2020.
//
#ifndef NET_SIMULATION_STORAGE_TYPES_HPP
#define NET_SIMULATION_STORAGE_TYPES_HPP
#include <list>
#include "types.hpp"
#include "package.hpp"
#include <iostream>
enum class PackageQueueType {
LIFO, FIFO
};
class IPackageStockpile{
public:
using const_iterato... | [
"62514065+wojciechzyla@users.noreply.github.com"
] | 62514065+wojciechzyla@users.noreply.github.com |
8c21504ea03c7f327945de96cb74e9348b6a9d28 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /buildtools/third_party/libc++/trunk/test/std/experimental/utilities/tuple/tuple.apply/constexpr_types.pass.cpp | 2d700486f26bdf612b5a676b00919c857d4f20d3 | [
"MIT",
"NCSA",
"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 | 2,715 | cpp | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
3e763e90b145ba0e7fa225d817ff057737d18e69 | bd2b65083fe739b272f6a773dbae8f467ce0b121 | /leecode/56MergeIntervals.cpp | 6549ff22b6490d2489c74a4e6dc288b3b898c8be | [] | no_license | Edward-surpass/brushCode | b80a00230d1f882336c8454bd4d4695c048c8f38 | bcd394d39387f918b201d2207162449e4153079a | refs/heads/master | 2016-09-14T13:51:02.901187 | 2016-05-07T09:56:12 | 2016-05-07T09:56:12 | 58,260,107 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,290 | cpp | /*********************************************************************************
* File Name : 56MergeIntervals.cpp
* Created By : edward
* Creation Date : [2015-07-28 20:38]
* Last Modified : [2015-07-28 21:09]
* Description : Given a col... | [
"edward_surpass@foxmail.com"
] | edward_surpass@foxmail.com |
bffcf3847e636e33e6accaad4236bdbf197bc6d7 | e6ebd85661454fa9b1ab0fc93a54956a7510e08a | /Server2.cpp | 1512463407a8f8946cfb889a58c18e0591dc0ebd | [] | no_license | rrsegnini/Progra-DOS-Datos | a9ce1131d5fb6262decb157524fcf99e66aad825 | 5a4d5a4ef912c1115685ff575f0441fcb569e88c | refs/heads/master | 2021-01-20T09:06:43.201290 | 2017-05-18T11:26:15 | 2017-05-18T11:26:15 | 90,220,533 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,823 | cpp | #include <iostream>
#include <winsock2.h>
#pragma comment(lib,"ws2_32.lib")
#include <iostream>
#include <winsock2.h>
using namespace std;
int main()
{
WSADATA WSAData;
SOCKET server, client;
SOCKET Socket=socket(AF_INET,SOCK_STREAM,IPPROTO_TCP);
SOCKADDR_IN serverAddr, clientAddr;
WSASta... | [
"roberto.t.x@hotmail.com"
] | roberto.t.x@hotmail.com |
718a9877ab18e5981ce140db8fb32b82981d33bf | 22feaa7671e53e875b1ab72c6763c2660516ab1d | /SourceCodes/Ecs/Components/component_define.h | 2ce0f605438d8c36e314a1e92529e0429364a2cc | [] | no_license | KodFreedom/KeepFortissimo | cadbfa258cb5dd58a038fb4dd81046087b3f6e54 | e108c805c098d322c946b02b91743b4a9967b825 | refs/heads/master | 2021-06-04T05:04:08.314906 | 2020-04-10T10:33:58 | 2020-04-10T10:33:58 | 140,445,976 | 0 | 0 | null | 2020-04-09T01:53:00 | 2018-07-10T14:39:14 | C | UTF-8 | C++ | false | false | 1,469 | h | //--------------------------------------------------------------------------------
// define of component
// コンポーネントの定義
// 组件的定义
//
// Autor : 徐 文杰(Wenjie Xu)
// Github : kodfreedom
// Email : kodfreedom@gmail.com
//--------------------------------------------------------------------------------
#pragma once
#... | [
"kodfreedom@gmail.com"
] | kodfreedom@gmail.com |
3a1cd2dd626443f0f0a08ebca47939d14bb5f0ef | c6ecad18dd41ea69c22baf78dfeb95cf9ba547d0 | /src/boost_1_42_0/libs/thread/example/xtime.cpp | 3fc75a4a283ff1c5bee16a930544fbe41a8ee55a | [
"BSL-1.0"
] | permissive | neuschaefer/qnap-gpl | b1418d504ebe17d7a31a504d315edac309430fcf | 7bb76f6cfe7abef08777451a75924f667cca335b | refs/heads/master | 2022-08-16T17:47:37.015870 | 2020-05-24T18:56:05 | 2020-05-24T18:56:05 | 266,605,194 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 449 | cpp | // Copyright (C) 2001-2003
// William E. Kempf
//
// 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)
#include <boost/thread/thread.hpp>
#include <boost/thread/xtime.hpp>
int main(int argc, char* argv[])
{
boos... | [
"j.neuschaefer@gmx.net"
] | j.neuschaefer@gmx.net |
e90ec0a98b0421b9c187e3c21368c2a13e533e07 | a4e146a6982a856e26282453bc5688c6ac2c9ac8 | /ComplexEigenvalue/Source.cpp | 8c500ce62e69de575587a9756932ee774aa95449 | [] | no_license | RyotaMajima/ComplexEigenvalue | 5cbcd7686eedd0bb25547d5c424c9c00939e1270 | 457d8a34f83882a9e02ddd32ad0db5035e494a78 | refs/heads/master | 2021-01-10T16:15:51.439186 | 2015-12-09T07:49:48 | 2015-12-09T07:49:48 | 47,173,219 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 10,541 | cpp | /*
複素エネルギー固有値の探索
-> 実部と虚部をパラメータにして3次元プロット
*/
#define _USE_MATH_DEFINES
#define _CRT_SECURE_NO_WARNINGS
#pragma comment(lib, "libfftw3-3.lib")
#include<iostream>
#include<iomanip>
#include<fstream>
#include<cstdio>
#include<cmath>
#include<vector>
#include<utility>
#include<string>
#include<algorithm>
#include<functio... | [
"ryota.0571@gmail.com"
] | ryota.0571@gmail.com |
847ac3670ebc3cc1fd5268f97e536eb40700e13c | 7ed1319b4e9b3fbdb0941b544cf97a9ba4982add | /UnitTesting/AssistTesting.h | 3e88bf2be7c06a96d6e70cd348fb94a9bc5840cc | [] | no_license | princeyuan/CTT | dda2a533db9140be91eaae2276a794d4e3ca21bb | 2590e01a2ca2e8bade0bcb7a7f3bbdee25d0e5c3 | refs/heads/master | 2016-09-05T22:11:51.229711 | 2014-04-08T06:00:22 | 2014-04-08T06:00:22 | 18,434,139 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 514 | h | #ifndef ASSIST_METHOD_TEST_H
#define ASSIST_METHOD_TEST_H
#include <iostream>
#include "AssistMethod.h"
#include "ReadInputFile.h"
#include "CreatePartialCombSet.h"
void AssistMethodTest();
void getOneNumFromLine_Test();
void getAllNumFromLine_Test();
void next_combination_1_Test();
void next_combinatio... | [
"wangziyuan.cn@gmail.com"
] | wangziyuan.cn@gmail.com |
76bfffc7317ebabbd365bf90df7117da187f3a75 | 1459e0cca33ec629d871b5890314ff1d0aa56570 | /algoritmusok_1/cpp/nsort/BRBack.h | 2893b2e6dadaa3017bb3c699a12d1fbdb8c13bce | [] | no_license | zlaval/ELTE_Prog | bac4a82ae4d322e443b82585618323142dbf35c6 | 7d3684e8e6f0fa1e086c44296e253e10cf9829c0 | refs/heads/master | 2023-03-25T11:44:35.782454 | 2022-12-19T19:39:49 | 2022-12-19T19:39:49 | 224,856,198 | 5 | 3 | null | 2023-03-13T21:49:23 | 2019-11-29T13:07:25 | C++ | UTF-8 | C++ | false | false | 2,777 | h |
#ifndef ALG1CPP_BRBACK_H
#define ALG1CPP_BRBACK_H
#include <string>
#include <iostream>
class BRBack {
std::string *a;
std::string *b;
int m;
int numLength;
public:
BRBack(std::string *a, int m, int numLength) {
this->a = a;
this->b = new std::string[m];
this->m = m;
... | [
"toth.zalan@telekom.hu"
] | toth.zalan@telekom.hu |
0bf0fa9c955a652186a62597197bab3963c2319e | 8028c82c0efa30fe68568c872e0c58171a141463 | /cpp/poco/Foundation/testsuite/src/PathTest.h | 6e0c9ebb6d51be9afc2239881ead566c798f4faa | [
"BSL-1.0"
] | permissive | vanzare/MberLinuxSDK | 51a429604b6325c9733cb06e238a7ee22c92901a | 2c50c7a47da07391127016de8e35dd16e5864aef | refs/heads/master | 2021-01-23T11:50:13.529123 | 2014-07-10T02:11:18 | 2014-07-10T02:11:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,635 | h | //
// PathTest.h
//
// $Id: //poco/1.4/Foundation/testsuite/src/PathTest.h#2 $
//
// Definition of the PathTest class.
//
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// Permission is hereby granted, free of charge, to any person or organization
// obtain... | [
"jsgher@gmail.com"
] | jsgher@gmail.com |
d70b24e4f1ba3609ce5a37fcdc75f98c3999c43a | a27e939e7d5db9f4bc6ca9afdc1c2b9f8a3e5c2e | /infra/acceptor.cpp | 5184a5fe3e64f786261ad0d554774bc184bfe022 | [] | no_license | ecilaz/ecila | 116004a5541913d06e86f4c3c38b66a6ffd58115 | 230e1efcec476c9b09e78094fcea1f50b23b4f12 | refs/heads/master | 2021-01-10T20:26:17.114891 | 2019-11-24T02:22:01 | 2019-11-24T02:22:01 | 223,353,075 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,814 | cpp | #include "acceptor.h"
#include "iniloader.h"
#include "demultiplexer.h"
#include "syncacceptor.h"
#include "asyncacceptor.h"
#include "syncsessionpool.h"
#include "asyncsessionpool.h"
#include "asyncresultpool.h"
#include "ipackethandler.h"
US_ECILA
Acceptor::Acceptor()
{
acceptor_ = 0;
pkt_handler_ = 0;
}... | [
"jsji79@gmail.com"
] | jsji79@gmail.com |
04d22d9c4fabb26e0fe28694dd7422bca9068972 | eba5ec4ee324edfa5a0f377c6f948cffb9dee1d8 | /net/socket/client_socket_pool_manager.cc | 07072dbd0b8113ebf142bcafc0a04aa5f7d25a29 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause-Views"
] | permissive | bopopescu/Monarch | 2c1e636da3995d1f20df48561db97fd0d8f9317b | 4f8ee8e6dda3669f734866e4999db173c5ec5aef | refs/heads/master | 2021-06-16T11:42:58.246734 | 2017-03-25T04:02:04 | 2017-03-25T04:02:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,817 | 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 "net/socket/client_socket_pool_manager.h"
#include <string>
#include "base/basictypes.h"
#include "base/logging.h"
#include "base/strings/s... | [
"danrwhitcomb@gmail.com"
] | danrwhitcomb@gmail.com |
de454d887e579a4967713c66343a130e6ce31ec9 | 2b1a8caa5f6aa4b9b52a1d9e0c2906b260cc7beb | /MfcClock/MfcClockView.cpp | 56026ff64298e7d4c791a60c03b3bad8a730f1fc | [
"MIT"
] | permissive | Tocchann/MfcOnWpf | 7ce66c75c1405f1136acbe131d7f773b4acac37b | 8e2f63e05d826f74b29f0c1d79eb8e368b71f787 | refs/heads/master | 2020-04-11T11:14:29.508438 | 2019-01-17T09:08:00 | 2019-01-17T09:08:00 | 161,742,312 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,438 | cpp |
// MfcClockView.cpp : CMfcClockView クラスの実装
//
#include "stdafx.h"
// SHARED_HANDLERS は、プレビュー、縮小版、および検索フィルター ハンドラーを実装している ATL プロジェクトで定義でき、
// そのプロジェクトとのドキュメント コードの共有を可能にします。
#ifndef SHARED_HANDLERS
#include "MfcClock.h"
#endif
#include "MfcClockDoc.h"
#include "MfcClockView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#e... | [
"tosiyuki@hh.iij4u.or.jp"
] | tosiyuki@hh.iij4u.or.jp |
046fa09f66d05c995eed73337bd0004631dfffe6 | fb7bcba5725b90c50049f5c81f1b8568b187ce88 | /opencv-markerless-AR-master/src/ObjRecog/imageDB.cpp | 78501631c52a20995068a66f8176497e6bffef78 | [
"MIT"
] | permissive | stanchiang/constellation | 3f826ecf73f545270c9a6114d9aa404cfc21ecc7 | c99fdf78cd7589ccd2372d67de5d33839cef1fb1 | refs/heads/master | 2021-05-03T10:50:04.145921 | 2016-09-08T21:58:39 | 2016-09-08T21:58:39 | 65,751,116 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 18,831 | cpp | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | [
"stanchiang23@gmail.com"
] | stanchiang23@gmail.com |
e0786a70b8e01e0a81b65daa93ac902d2d8d6f48 | 9924cc35038c3743faff030cc284ca4f4f6c684e | /012sllSort.cpp | 736c832d63e014b282baf10fc83fb0f7a48af960 | [] | no_license | sabhitha/MissionRnD-C-LinkedLists-Worksheet | 73073a2fb81e3d5c228a82068d1abdaa41a659f3 | 603aa893e8e248aa4d4abccf29cb4d24d0b9959f | refs/heads/master | 2021-01-10T03:57:07.028348 | 2015-12-08T06:52:46 | 2015-12-08T06:52:46 | 46,938,948 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 933 | cpp | /*
OVERVIEW: Given a single linked list of 0s 1s and 2s ,Sort the SLL such that zeroes
will be followed by ones and then twos.
INPUTS: SLL head pointer
OUTPUT: Sorted SLL ,Head should Finally point to an sll of sorted 0,1,2
ERROR CASES:
NOTES: Only 0,1,2, will be in sll nodes
*/
#include <stdio.h>
#include <m... | [
"sabhitha.v@gmail.com"
] | sabhitha.v@gmail.com |
31fa5eee7292872ee6a942fa41f0d5b2c3b7d1ca | 2eb57e97e63b5e30c61bf1df67dc457784ab4b9e | /src/rpcserver.cpp | 904d0eac822e2cafe3681d66720c93d3a3190b0b | [
"MIT"
] | permissive | alp-project/AlphaCoin | 6a2574790be812c2c45bd2e914746533c2137954 | e56a5dbd32ec29340c8462ac3fc6cf3f13930b4c | refs/heads/master | 2021-09-15T23:16:37.351874 | 2018-02-02T02:21:00 | 2018-02-02T02:21:00 | 119,905,330 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 40,798 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017 The AlphaCoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or htt... | [
"alphacoindev@gmail.com"
] | alphacoindev@gmail.com |
03fe5e69e82bc39e4ce5405aea427cb0551e2a55 | fc38a55144a0ad33bd94301e2d06abd65bd2da3c | /thirdparty/cgal/CGAL-4.13/include/CGAL/Nef_S2/SM_visualizor.h | 51ee7fe9917a6c6482595bbb3da535023b595310 | [
"LGPL-2.0-or-later",
"LGPL-3.0-or-later",
"GPL-1.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-commercial-license",
"MIT",
"LicenseRef-scancode-free-unknown",
"LGPL-3.0-only",
"GPL-3.0-only",
"LGPL-2.1-or-later",
"LicenseRef-scancode-proprietary-license",
"Licens... | permissive | bobpepin/dust3d | 20fc2fa4380865bc6376724f0843100accd4b08d | 6dcc6b1675cb49ef3fac4a58845f9c9025aa4c9f | refs/heads/master | 2022-11-30T06:00:10.020207 | 2020-08-09T09:54:29 | 2020-08-09T09:54:29 | 286,051,200 | 0 | 0 | MIT | 2020-08-08T13:45:15 | 2020-08-08T13:45:14 | null | UTF-8 | C++ | false | false | 7,293 | h | // Copyright (c) 1997-2002 Max-Planck-Institute Saarbruecken (Germany).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org).
// 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 Licen... | [
"huxingyi@msn.com"
] | huxingyi@msn.com |
d4b9f0914e57a9b349b2595741c60e118f51acbb | acf7796906e59d64f285a88574406e1b9d4cd453 | /218-B/218-B-51210406.cpp | 8eb571afe77c9f6dcf4af931654f3f2769886f74 | [] | no_license | samnoon1971/Codeforces | 13fd99aa13a1d57792c7a0b9042c9f1fc3a14deb | a31444c717944d2c81f75af7a3e6650fb41ccf1d | refs/heads/main | 2023-03-07T18:46:31.705957 | 2021-02-18T19:52:34 | 2021-02-18T19:52:34 | 340,160,077 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 623 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int n, m;
cin >> n >> m;
priority_queue <int> a, b;
for(int i=0; i<m; i++)
{
int x;
cin >> x;
a.push(x);
b.push(-x);
}
int x=0, y=0, sumx=0, sumy=0;
while(x<n)
{
... | [
"samnoonabrar@gmail.com"
] | samnoonabrar@gmail.com |
0c78c95f0bed4d0bb044d685c6266a1a33a6b350 | a92b18defb50c5d1118a11bc364f17b148312028 | /src/prod/ktl/src/tools/tests/khttp/KHttpTestCases.cpp | 64d5dde8e10a60f8f456a4bf04aacdf93dd76f53 | [
"MIT"
] | permissive | KDSBest/service-fabric | 34694e150fde662286e25f048fb763c97606382e | fe61c45b15a30fb089ad891c68c893b3a976e404 | refs/heads/master | 2023-01-28T23:19:25.040275 | 2020-11-30T11:11:58 | 2020-11-30T11:11:58 | 301,365,601 | 1 | 0 | MIT | 2020-11-30T11:11:59 | 2020-10-05T10:05:53 | null | UTF-8 | C++ | false | false | 723 | cpp | /*++
Copyright (c) Microsoft Corporation
Module Name:
KHttpTestCases.cpp
Abstract:
This file contains the test case table.
To add a new unit test case:
1. Declare your test case routine in KHttpTests.h.
2. Add an entry to the gs_KuTestCases table in KHttpTestCases.cpp.
3. Implement you... | [
"31968192+bpm-ms@users.noreply.github.com"
] | 31968192+bpm-ms@users.noreply.github.com |
efdab5129ee88cc0163bb394f122f26e71411cb5 | 6b76db12b8d45fdded76d07aacaa6c00656bb251 | /Dependencies/HIRO/include/COGS/Octree.h | 2f06b7adbbe546ba2e74d2b6c57265d7c5dabe25 | [] | no_license | xpetrov/DP | ab0158c063c65d6cc912aaa35d3f78b86e282476 | 7147a9b745629bdec77b9dd989be759f5c413372 | refs/heads/master | 2022-12-16T08:31:25.046980 | 2020-09-10T19:51:22 | 2020-09-10T19:51:22 | 294,459,415 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,747 | h | /*
Copyright (C) Skeletex Research, s.r.o. - All Rights Reserved
Unauthorized copying of this file, via any medium is strictly prohibited
Proprietary and confidential
*/
#pragma once
#include <COGS/PointCloud.h>
namespace cogs
{
//! Used internally to store the nodes of the octree.
struct OctreeNo... | [
"petrov@DESKTOP-PJBGRQO.localdomain"
] | petrov@DESKTOP-PJBGRQO.localdomain |
5183254b04c344e17825c4cff9e89197107b2688 | e104892af303d85c5e661d099b500dc1e35b882d | /Sample12_14/app/src/main/cpp/bndev/FlatData.h | cdf8d96c61a74b5c79e91139fe1415f2f69394cb | [
"Unlicense"
] | permissive | siwangqishiq/Vulkan_Develpment_Samples | 624900dabaca75c9ad21ef5a1ee5af6709dcc9a8 | 409c973e0b37086c854cde07b1e620c3d8d9f15d | refs/heads/master | 2023-08-16T04:13:54.777841 | 2021-10-14T06:53:11 | 2021-10-14T06:53:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 230 | h | #ifndef SAMPLE11_6_FLATDATA_H
#define SAMPLE11_6_FLATDATA_H
class FlatData {
public:
static float* vdata;
static int dataByteCount;
static int vCount;
static void genVertexData();
};
#endif //SAMPLE11_6_FLATDATA_H
| [
"709165253@qq.com"
] | 709165253@qq.com |
81f0cf1a0dbfc2e339a0add8802098775143cc65 | b60001258ce2caf01eb3d783a4ce4997fe4cc89b | /FSMProject/Troll.cpp | f84221f8ac3f390e4478a4860aee627dbcc390bf | [] | no_license | tsxy2007/FSMProject | 2e4afb473a9aac93c8ec9c10b94c1d4e2f883199 | 34dd199c9116bfcfb523ed99c7dd6762c8a0e517 | refs/heads/master | 2020-06-26T00:10:29.844884 | 2017-12-04T02:42:56 | 2017-12-04T02:42:56 | 96,997,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,407 | cpp | //
// Troll.cpp
// FSMProject
//
// Created by fengkai on 2017/7/6.
// Copyright © 2017年 fengkai. All rights reserved.
//
#include "PCH.h"
Troll::Troll(int id):BaseGameEntity(id),power(100)
{
m_pStateMachine = new StateMachine<Troll>(this);
m_pStateMachine->SetCurrentState(State_RunAway::instance());
... | [
"z.tk@163.com"
] | z.tk@163.com |
9083e6b7f9c40abfaec7c9f41e4c3f40e98deb21 | f23d1bf6d80fc85e60dede29a5e00b50e51b27db | /examples/Advanced/Display/JpegDraw/JpegDraw.ino | 200e66a6f2cf3698521b2b04e67dfc762237bb4a | [
"MIT"
] | permissive | rdfwxff3/M5Stack | 108f650ea0c382ef8e7970e02b3547bd12ae7acb | 5b51f9549181ed3241c9abd90eaae7d6e868e99a | refs/heads/master | 2021-07-12T11:24:21.385597 | 2017-10-16T09:00:22 | 2017-10-16T09:00:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 179 | ino | #include <M5Stack.h>
void setup(void) {
M5.begin();
//Draw the jpeg file form TF card
M5.Lcd.setBrightness(200);
M5.Lcd.drawJpgFile(SD, "/p2.jpg");
}
void loop() {
}
| [
"270995079@qq.com"
] | 270995079@qq.com |
49360a1aa3ab6e6d4187e097b85683c3f1154691 | 8f62f3e4e57ea9700f1113533c8ed87e867d9d9e | /src/color.hpp | 1c2e922c683766e2cba2a550de1df09d554730c0 | [
"Apache-2.0"
] | permissive | sweetkristas/hexes | 9f247d86cdd232d1be77a0dc0d70e6726ff7ceef | 0e290b5cadbe2944e9144268f863c225abb0920a | refs/heads/master | 2021-01-01T05:40:30.137193 | 2014-08-19T20:14:16 | 2014-08-19T20:14:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,830 | hpp | #pragma once
#include "graphics.hpp"
namespace graphics
{
class color
{
public:
color(int r, int g, int b, int a = 255)
{
c_.rgba[0] = truncate_to_char(r);
c_.rgba[1] = truncate_to_char(g);
c_.rgba[2] = truncate_to_char(b);
c_.rgba[3] = truncate_to_char(a);
set_float_values();
}
explicit col... | [
"sweet.kristas@gmail.com"
] | sweet.kristas@gmail.com |
4011346663d7176c7b5d276b025bec23105403ba | b33a9177edaaf6bf185ef20bf87d36eada719d4f | /qtbase/src/corelib/json/qjsonvalue.h | a8b5d2796d70ee572d3dacf643a750fd3b5acd46 | [
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-commercial-license",
"LGPL-2.0-or-later",
"LGPL-2.1-only",
"GFDL-1.3-only",
"LicenseRef-scancode-qt-commercial-1.1",
"LGPL-3.0-only",
"LicenseRef-scancode-qt-company-exception-lgpl-2.1",
... | permissive | wgnet/wds_qt | ab8c093b8c6eead9adf4057d843e00f04915d987 | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | refs/heads/master | 2021-04-02T11:07:10.181067 | 2020-06-02T10:29:03 | 2020-06-02T10:34:19 | 248,267,925 | 1 | 0 | Apache-2.0 | 2020-04-30T12:16:53 | 2020-03-18T15:20:38 | null | UTF-8 | C++ | false | false | 7,357 | h | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid commer... | [
"p_pavlov@wargaming.net"
] | p_pavlov@wargaming.net |
1faa3042bcf61772a1cc32209d5e2a4085b9fff9 | ac2c7ce45a28c8ceb10d543944db90f6025e8a58 | /src/debug_gui/types/updgroup.cpp | 3708402b9de0d440408d1a4f8cda84941671c157 | [
"MIT",
"BSD-3-Clause",
"Zlib",
"BSL-1.0"
] | permissive | degarashi/revenant | a5997ccc9090690abd03a19e749606c9cdf935d4 | 9e671320a5c8790f6bdd1b14934f81c37819f7b3 | refs/heads/master | 2021-01-11T00:15:06.876412 | 2019-09-08T13:00:26 | 2019-09-08T13:00:26 | 70,564,404 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,666 | cpp | #include "../../object/updgroup.hpp"
#include "../state_storage.hpp"
#include "../column.hpp"
#include "../id.hpp"
#include "../print.hpp"
#include "../popup.hpp"
#include "../textfilter.hpp"
#include "../sstream.hpp"
#include "../resource_window.hpp"
#include "../tree.hpp"
#include <iomanip>
namespace rev {
bool Upd... | [
"slice013@gmail.com"
] | slice013@gmail.com |
8a6d8362f7295a551b369deb8c1d8ba24f32cd2b | 2c58d713fef80b2daf0beedd0503a9c45aafc48a | /subject.cc | ed8c12cf10f32b1748a0bebcc0dfa9daa8536e04 | [] | no_license | nirujans/StraightsCPlusPlus | fa017a26d626bd3c82e5c9e8d2ebae81dd6d3119 | 63a2305942b222bc2af0550fd52ddbe7d24368df | refs/heads/master | 2022-11-13T22:04:34.533431 | 2020-07-12T05:02:51 | 2020-07-12T05:02:51 | 278,988,719 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,736 | cc | /*
* MVC example of GTKmm program
*
* Subject class. Abstract class for Observer Pattern
*
*
* Created by Jo Atlee on 06/07/09.
* Copyright 2009 UW. All rights reserved.
*
*/
#include <set>
#include "subject.h"
#include "observer.h"
using namespace std;
//subject and observer relationship
void Subject::s... | [
"nsuresh@wealthsimple.com"
] | nsuresh@wealthsimple.com |
a7478b1cb43e621544690306f043aeee6270f4f2 | f75c62b9227f8459e2807fde3279b2a5e56e6e64 | /CHr41/cpm210/4.5/omega | 0c11c8b4304baad45d7073d6d0dc3bd1a812162b | [] | no_license | kohoman/mstAdvComp.sp21 | a718a930d693030e0abf05f451cdee50a6fca5f0 | 30307c3ff3c3e1e2c1dabf611e550f2c426d5d8d | refs/heads/main | 2023-04-22T08:27:11.181441 | 2021-05-03T19:57:22 | 2021-05-03T19:57:22 | 338,087,447 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,765 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5.0 |
... | [
"khoman@mst.edu"
] | khoman@mst.edu | |
ff8b297778adcd1e1b2c4a94b2ba0c208fdb7b72 | 66880b4c06bf662d058b1184642e9f052779ea9e | /art/runtime/arch_backup/x86_64/fault_handler_x86_64.cc | 233d3c7d1ad4613b7a787e76f68d75ca5dde00c2 | [] | no_license | ParkHanbum/dex2ir | afa195163a048efa01c1cbd44c90ffd84565d053 | a4cc0fe939146ca258c50a6b52b8fa09313f5eb4 | refs/heads/master | 2022-07-02T20:28:19.323269 | 2022-05-30T09:22:33 | 2022-05-30T09:22:33 | 247,693,944 | 51 | 16 | null | null | null | null | UTF-8 | C++ | false | false | 1,338 | cc | /*
* Copyright (C) 2008 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | [
"kese111@gmail.com"
] | kese111@gmail.com |
7492d403129e0331f4bb9eed2decbc3cb7f48564 | fa0c642ba67143982d3381f66c029690b6d2bd17 | /Source/Engine/Encryption/DESDecryptor.h | 67ee4e84dcc93a4dc6e62709f569217f4cdfd1ca | [
"MIT"
] | permissive | blockspacer/EasyGameEngine | 3f605fb2d5747ab250ef8929b0b60e5a41cf6966 | da0b0667138573948cbd2e90e56ece5c42cb0392 | refs/heads/master | 2023-05-05T20:01:31.532452 | 2021-06-01T13:35:54 | 2021-06-01T13:35:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 691 | h | //! @file DESDecryptor.h
//! @author LiCode
//! @version 1.1.0.689
//! @date 2011/02/13
//! Copyright ...
#pragma once
namespace EGE
{
//----------------------------------------------------------------------------
// DESDecryptor
//--------------------------------------------------------------------------... | [
"zopenge@126.com"
] | zopenge@126.com |
2bc86306766a07c344ad52482889ae93dfa6366e | 62d48af115ea9d14bc5a7dd85212e616a48dcac6 | /src/optimizerBenchmark/headers/ScanMovieStarSet.h | 711ec6bfd708f0b37f006de8d855ca0766edfd97 | [
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-3-Clause"
] | permissive | asu-cactus/lachesis | ab1ab1704e4f0f2d6aef1a2bff2dc99ea8f09337 | 92efa7b124a23894485a900bb394670487051948 | refs/heads/master | 2023-03-05T11:41:35.016673 | 2021-02-14T21:50:32 | 2021-02-14T21:50:32 | 151,744,205 | 2 | 0 | Apache-2.0 | 2021-02-14T16:37:54 | 2018-10-05T15:49:15 | C++ | UTF-8 | C++ | false | false | 386 | h | #ifndef SCAN_MOVIESTAR_SET_H
#define SCAN_MOVIESTAR_SET_H
#include "ScanUserSet.h"
#include "MovieStar.h"
using namespace pdb;
class ScanMovieStarSet : public ScanUserSet<MovieStar> {
public:
ENABLE_DEEP_COPY
ScanMovieStarSet() {}
ScanMovieStarSet(std::string dbName, std::string setName) {
setD... | [
"jacquelinezou@gmail.com"
] | jacquelinezou@gmail.com |
e4a24b45848578d32e04889da26165d04ca902d2 | 00413d600530396733988bbc9ecd48b6a67fd359 | /enigma/include/enigma/utils.h | f19029706f6b9843437d281ec4fc877a3a6bc1ab | [] | no_license | carzil/enigma | 520a44a69985390704188658e9c882e048caf69f | 0156a89a66adc62c6afea4d03fa1fd4224ab4162 | refs/heads/master | 2020-12-24T19:28:19.305487 | 2016-06-04T23:49:39 | 2016-06-04T23:49:39 | 58,167,126 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,262 | h | #pragma once
#include <experimental/string_view>
using std::experimental::string_view;
namespace Enigma {
void print_char_bits(char c);
class DataInput {
public:
DataInput(const std::string& s) : raw(s), pos(0) {}
uint8_t ReadChar() {
uint8_t r = raw[pos];
pos++;
... | [
"carzil@yandex.ru"
] | carzil@yandex.ru |
ce620474339fad0666dc6eb6f8804dac38e1cd93 | 55821b09861478c6db214d808f12f493f54ff82a | /trunk/webcgi/oraclesmsdll/oraclesmsdll.cpp | 23a1d629307a7d301f1fa71505be311dca9d2485 | [] | no_license | SiteView/ECC8.13 | ede526a869cf0cb076cd9695dbc16075a1cf9716 | bced98372138b09140dc108b33bb63f33ef769fe | refs/heads/master | 2016-09-05T13:57:21.282048 | 2012-06-12T08:54:40 | 2012-06-12T08:54:40 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,397 | cpp | // oraclesmsdll.cpp : 定义 DLL 的初始化例程。
//
#include "stdafx.h"
#include "oraclesmsdll.h"
#include "Ado.h"
#include "AdoRecordSet.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
//
// 注意!
//
// 如果此 DLL 动态链接到 MFC
// DLL,从此 DLL 导出并
// 调入 MFC 的任何函数在函数的最前面
// 都必须添加 AFX_MANAGE_STATE 宏。
//
// 例如:
//
// ... | [
"136122085@163.com"
] | 136122085@163.com |
04bb09dd8e2858a7f199dfee8e0abd09a7a6ff2b | ca7697e9035231a9cf27daaa957ac8465af60ff1 | /custom_op/tanh/tanh.cc | bdca633235cb8fba68c362ccee181778729f29bc | [] | no_license | chenwhql/PaddleScripts | 4d10b9e9ebc18ab823fb058eb2fc5ec00826e9ee | d4e08cd83c9cdf8678739d20db5a0fb180915756 | refs/heads/master | 2022-11-11T10:11:32.302287 | 2022-11-04T06:11:08 | 2022-11-04T06:11:08 | 225,184,564 | 0 | 2 | null | 2021-03-07T22:23:14 | 2019-12-01T15:34:51 | Python | UTF-8 | C++ | false | false | 2,778 | cc | #include <paddle/extension.h>
#include <vector>
#define PADDLE_WITH_CUDA
#define CHECK_INPUT(x) PD_CHECK(x.place() == paddle::PlaceType::kGPU, #x " must be a GPU Tensor.")
// cuda实现声明
std::vector<paddle::Tensor> tanh_cuda_forward(const paddle::Tensor& x);
std::vector<paddle::Tensor> tanh_cuda_backward(const paddle::T... | [
"chenweihang@baidu.com"
] | chenweihang@baidu.com |
624fc8b9d90556dd512b9357fa661f1229fed993 | e7f4f02765a1bbfb8d01e922e03bd4954657e8cc | /src/top/msg_conversion.cc | 233d2e9059937df9ff3b09e4d4882ef02dbfa492 | [] | no_license | Forrest-Z/cartoSLAM | 536a5aef1b7db58f78c174c1afd0c64e631ef5e7 | eee6c67998c516412f33f7bd8a6709063b9d23e7 | refs/heads/master | 2020-03-21T04:30:38.530573 | 2017-11-10T10:08:53 | 2017-11-10T10:08:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,923 | cc | /*
* Copyright 2016 The Cartographer Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | [
"scomup@gmail.com"
] | scomup@gmail.com |
96bae72b6fd30f74810619ca4cfc9d393ad18172 | 60cb1638f0c44b850d197b48e9ebe57ac14feb7a | /C++语言实现算法设计与分析/ch5/knap2.cpp | f482f724ba59ddf7ebf675d758bad3950c7f2d2e | [] | no_license | losangler/C_project | 44e0cf5426df1b83c3c69ad00a5038d8a595bf84 | ef36e9e2dbc606c7eb28afcd3691613c306be15f | refs/heads/master | 2022-05-10T01:21:45.101742 | 2020-04-28T10:09:30 | 2020-04-28T10:09:30 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,420 | cpp | //采用进一步剪枝求解0/1背包问题的算法
#include <stdio.h>
#include <string.h>
#define MAXN 20 //最多物品数
//问题表示
int n=4; //4种物品
int W=6; //限制重量为6
int w[]={0,5,3,2,1}; //存放4个物品重量,不用下标0元素
int v[]={0,4,4,3,1}; //存放4个物品价值,不用下标0元素
//求解结果表示
int x[MAXN]; //存放最终解
int maxv; //存放最优解的总价值
void dfs(int i,int tw,int tv,int r... | [
"172837855@qq.com"
] | 172837855@qq.com |
d1d9bfd344ffa7ddeed686d53e07302698fd58df | 08c59366b00b1c68ec07d2358e0bbf93be1dba47 | /include/Engine/Event/KeyEvent.h | 0108aad64a3728b12636fa1c2ae743a001ee0316 | [] | no_license | minad/isometric | 835c9ba5bbedaa029706a86d7f806813075590c8 | 382d9c30c6714b3fc65e7e3eca936892997c94fa | refs/heads/master | 2023-08-22T17:50:43.961618 | 2017-03-07T00:32:34 | 2017-03-07T00:32:34 | 84,135,423 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 536 | h | #ifndef _Engine_Event_KeyEvent_h
#define _Engine_Event_KeyEvent_h
#include "Engine/Event/Event.h"
#include "SDLWrapper.h"
namespace Engine {
namespace Event {
struct KeyEvent : public Event
{
SDL::Key key;
SDL::Mod mod;
Uint16 unicode;
bool pressed;
KeyEvent(EventSource* source, SDL::Key k... | [
"mail@daniel-mendler.de"
] | mail@daniel-mendler.de |
5e8f10aec7ec1acb7ca496d8847d530496467129 | 2bee1a708a18fa3681bcbf4fe59d99b3365c2b22 | /Displays/Classes/common.hpp | ea8e447ec4cb101d2375294c838d0bca7672c1c0 | [] | no_license | JohnDeved/BountyHunters-Client | 4312a61d51517936ccd8471f1a6adf9485719e1e | 50d593d7fa9410675a0b4fd5b111d1c8b352a7ac | refs/heads/master | 2021-07-24T23:22:58.782594 | 2017-11-05T16:19:50 | 2017-11-05T16:19:50 | 109,595,187 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 100,635 | hpp | // Generated by: "call BIS_fnc_exportGUIBaseClasses" call BIS_fnc_exportGUIBaseClasses;
// Control types
#define CT_STATIC 0
#define CT_BUTTON 1
#define CT_EDIT 2
#define CT_SLIDER 3
#define CT_COMBO 4
#define CT_LISTBOX 5
#define CT_TOOLBOX 6
#def... | [
"arma.devsec@gmail.com"
] | arma.devsec@gmail.com |
797fb357043740b447c7607b9a3f0f514864f529 | 5b13ae06f550d0d33674b3223d7b014100748729 | /statement.h | d38346619a30bdc570468454b6583f721f41db69 | [] | no_license | ElliotJiang426/Mini-BASIC | 1957e4a5c3e5e568c1d76658b6c63f2104d6b697 | b7b56af97bc56a1d74ae12dc60d8629636d2c6dc | refs/heads/master | 2023-01-19T19:07:45.464462 | 2020-11-26T06:45:26 | 2020-11-26T06:45:26 | 316,144,967 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,454 | h | #ifndef STATEMENT_H
#define STATEMENT_H
#include <QString>
#include <QMap>
#include "expression.h"
class statement
{
public:
statement(const QString &s, QMap<QString, int> &VarList);
virtual ~statement();
virtual void run();
void checkVariable(QString var);
protected:
QString *stmt;
QMap<QStri... | [
"974712969@qq.com"
] | 974712969@qq.com |
dd43f1fe0646f8f899d2f51ecc6ddc1e744c52eb | ba4196ce39324607ce523be70a173e8ba5c70d87 | /Database2/main.cpp | be91c2b8f0da5f6c4587e5a1b92357c03eb9a8e3 | [] | no_license | ConnerTenn/Interconnect | c8b9c046e19fd404e94d7b0d9d9cfefae41840bb | 92b2e1523e082ef08902144f9feb5647e31b097b | refs/heads/master | 2020-03-14T19:22:46.396117 | 2019-03-22T16:39:46 | 2019-03-22T16:39:46 | 131,759,953 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 912 | cpp |
#include "Interconnect.h"
#include "Database.h"
#include <sstream>
#include <algorithm>
#include <iterator>
std::vector<std::string> Delimit(std::string text)
{
std::istringstream iss(text);
/*std::vector<std::string> tokens;
std::copy(std::istream_iterator<std::string>(iss),
std::istream_iterator<std::string>(... | [
"connertenn@gmail.com"
] | connertenn@gmail.com |
4696c2c2ea6dbc97481a54252c43c791617bd96e | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/hunk_7448.cpp | afddbd00a554d4b834524fb764f2be08ae0da027 | [] | 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 | 337 | cpp | /* log convert handler */
/* call for each line in file, use fileWalk routine */
static int
-logReadHandler(int fd_unused, char *buf, int size_unused, log_read_data_t * data)
+logReadHandler(int fd_unused, const char *buf, int size_unused, log_read_data_t *data)
{
storeAppendPrintf(data->sentry, "{%s}\n", buf)... | [
"993273596@qq.com"
] | 993273596@qq.com |
ed26b0d50d4473ecd4eec4620e1fc6147691e056 | ddd72895f76e1f469ffc90318ffb937694a64551 | /Source/WebKit2/UIProcess/WebMediaPlaybackTargetPickerProxy.cpp | 6adfde6536c9b70dac6cc6a41475b1d86de0f3d6 | [] | no_license | SamuelHuang0212/webkit | b6753d7f19a5aedffb17c1d2d8bf2d8862e28685 | 5d1a7f978db62c7a58f6b485fb38a079dba52ad2 | refs/heads/master | 2023-02-28T02:55:25.791774 | 2015-03-19T08:27:27 | 2015-03-19T08:27:27 | 32,516,994 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,138 | cpp | /*
* Copyright (C) 2015 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... | [
"eric.carlson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc"
] | eric.carlson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc |
9714afffb5218085a66cd631adeb24e7b37328bb | cc1d60d7a55dce35e02f0f901c1fb0f0c8ecba87 | /src/bluelime.cpp | ad5e3680f7b610912bb12accb6e65950aab6e624 | [] | no_license | WSID/BlueLime | b147a7809824bd292017fd2d7d37102549742943 | 010d9bd0f331ee1dfcdca96138c1500e4fff11cc | refs/heads/master | 2020-12-30T07:21:50.152318 | 2020-07-27T13:30:01 | 2020-07-27T13:30:01 | 238,907,014 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,956 | cpp |
#include <cstdint>
#include <utility>
#include "app_auth.hpp"
#include "bluelime.hpp"
// ChatListPage -> ChatPage -> StickerPage
// ^- AuthPage
template <typename T, void (T::*function)(Evas_Object*)>
class mf_2_cb {
public:
static void callback (void *data, Evas_Object *obj, void *einfo) {
T* sel... | [
"jongsome@gmail.com"
] | jongsome@gmail.com |
3a21be11bea0ce82196be3b73ed0621156894156 | 69344229656b6a6e5b28e090ae760530f48ff7d9 | /modules/pvDatabase/src/pvAccess/monitorFactory.cpp | 62b411c1c6240d3f0fd2c111f1757bb6634bf2d7 | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | tnakaicode/EpicsInstall | dafd27ac92f916ff2b70da5bfda2c1070e680b14 | 98cc9fbdd888debff7fe980fa288186a0e9099ed | refs/heads/master | 2020-04-11T16:10:52.784405 | 2018-12-15T09:52:06 | 2018-12-15T09:52:06 | 161,915,330 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,615 | cpp | /* monitorFactory.cpp */
/**
* Copyright - See the COPYRIGHT that is included with this distribution.
* EPICS pvData is distributed subject to a Software License Agreement found
* in file LICENSE that is included with this distribution.
*/
/**
* @author Marty Kraimer
* @date 2013.04
*/
#include <sstream>
#incl... | [
"t.nakai.office@gmail.com"
] | t.nakai.office@gmail.com |
b3def9818688197b9a6832bd0625f1da02c348e2 | 096e862f59cf0d2acf0ce05578f913a148cc653d | /code/apps/Messaging/jni/GifTranscoder.cpp | 0e8398243b66592ba74ed0e975f8076748ba0317 | [] | no_license | Phenix-Collection/Android-6.0-packages | e2ba7f7950c5df258c86032f8fbdff42d2dfc26a | ac1a67c36f90013ac1de82309f84bd215d5fdca9 | refs/heads/master | 2021-10-10T20:52:24.087442 | 2017-05-27T05:52:42 | 2017-05-27T05:52:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,883 | cpp | /*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | [
"wangjicong6403660@126.com"
] | wangjicong6403660@126.com |
122b56f41c17b448f513acc20c92d9a9b64120a5 | 2e1ebd29553dfadb053190ff750713022f9d7444 | /src/parkingslot.h | 15858a1ddbb68e86232ddb41380dcf8508b2f47c | [
"MIT"
] | permissive | FanapSoft/FANAP-IoT-ExampleProject1 | 0e59b1e0086ab47ab9f9acd7d0360284351b90ca | 2ae86048de929fc6b04260ed3115f272a192d27c | refs/heads/master | 2020-04-25T02:23:44.715525 | 2019-05-04T13:29:43 | 2019-05-04T13:29:43 | 172,437,628 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,352 | h | #ifndef _PARKING_SLOT_H_
#define _PARKING_SLOT_H_
#include "ledblinker.h"
#include "sensorcontroller.h"
#include "periodicjob.h"
#include <ArduinoJson.h>
#include "fanaccess.h"
typedef bool (*mqtt_client_pub_t)(const char *, const char *);
class ParkingSlot
{
public:
enum LedState
{
ON,
OFF,... | [
"a.manian@fanap.ir"
] | a.manian@fanap.ir |
03d23ffe7dc8509a88fa0d512cf96659d82d8f26 | 4f90a6392ac8f531a7961bfa6b64e70d0e9ee75e | /src/02_flow/star_printer.ex.cpp | 007c614dfea88dc199c151000dc7706413e75201 | [] | no_license | lostsquirrel/cpp_learning | 0c012ae7056704f251e78d73128300a392e9b013 | 75f0871966f93a9d54943530d536bb62bebbbef4 | refs/heads/master | 2021-01-10T07:35:06.761097 | 2019-01-29T13:49:12 | 2019-01-29T13:49:12 | 49,369,022 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,464 | cpp | #include <iostream>
using namespace std;
/*
2.1 使用循环结构打印下述图形,打印行数n由用户输入。图中每行事实上包括两部分,中间间隔空格字符数m也由用户输入。
* *********
*** *******
***** *****
******* ***
********* *
解题思路:
输入为行数, 需要计算
1. 每行开始的空格数 (行数 - 行号)
2. 每行第一组 * 数 (行号 * 2 - 1), 和第二组*数 (行数 - (行号 - 1)) * 2 - 1
因为有明确边界,递增 使用for... | [
"songli1988@gmail.com"
] | songli1988@gmail.com |
42a925e0bc32c17e7435b2f8856206b84e4b3f87 | 8a3fce9fb893696b8e408703b62fa452feec65c5 | /业余时间学习笔记/MemPool/MemPool/MemFactory.h | a47423136e5fee2e24c1b42d84ff6fc916d44f51 | [] | no_license | win18216001/tpgame | bb4e8b1a2f19b92ecce14a7477ce30a470faecda | d877dd51a924f1d628959c5ab638c34a671b39b2 | refs/heads/master | 2021-04-12T04:51:47.882699 | 2011-03-08T10:04:55 | 2011-03-08T10:04:55 | 42,728,291 | 0 | 2 | null | null | null | null | GB18030 | C++ | false | false | 1,582 | h |
#pragma once
#include "Pool\BlockPool.h"
#include "Pool\HeapPool.h"
#include "Pool\SamllObjAllocator.h"
#include "Pool\DynamicPool.h"
#include "Factory.h"
#include <set>
#include <map>
using namespace std;
class CMemFactory
{
typedef void* (SmallObjAllocator::*AllocMem)();
typedef bool (SmallOb... | [
"tangpeng918@126.com"
] | tangpeng918@126.com |
e10fae006943fe9e6c8afbc76d5311327663717b | e413e4020617f2645f7f3ed89ec698183c17e919 | /fregl/maciej_seg/fnsl3d_filter.cxx | b9992898433e217dc8afbb8245755ae6ea5e3464 | [] | no_license | YanXuHappygela/Farsight-latest | 5c349421b75262f89352cc05093c04d3d6dfb9b0 | 021b1766dc69138dcd64a5f834fdb558bc558a27 | refs/heads/master | 2020-04-24T13:28:25.601628 | 2014-09-30T18:51:29 | 2014-09-30T18:51:29 | 24,650,739 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,725 | cxx | /*=========================================================================
Copyright 2009 Rensselaer Polytechnic Institute
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/lice... | [
"xy198908@gmail.com"
] | xy198908@gmail.com |
5edccd12ca0d3f55ab9955dd3d031d73bebf1518 | 76fab692584ca8fbe0a2b4cb25fa186412844ef1 | /src/caffe/util/util_img.cpp | a3e71353ad748a81c5d783206e3652daa5338940 | [
"BSD-2-Clause"
] | permissive | xiaolonw/caffe-3dnormal_joint_past | 2191df64c9090ea9e466755b0a74620505b88748 | 4af389ec527fff308750408ee67bd70a36bad206 | refs/heads/master | 2020-05-15T03:56:06.291278 | 2015-08-31T23:29:57 | 2015-08-31T23:29:57 | 34,825,297 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 7,749 | cpp |
/**
* developed by zhujin
*/
#include <google/protobuf/text_format.h>
#include <google/protobuf/io/zero_copy_stream_impl.h>
#include <google/protobuf/io/coded_stream.h>
#include <cmath>
#include "caffe/common.hpp"
#include "caffe/util/util_img.hpp"
#include "caffe/proto/caffe.pb.h"
#include "caffe/util/im2col.hpp... | [
"dragon123@dragon123-M51AC.(none)"
] | dragon123@dragon123-M51AC.(none) |
551353c05eb07149c15746658dbed0b5a7bc90ff | 172ad4de767ceeba7fbebddedc5fc9b4fa3a27a5 | /SDLGame/SDLGame/Vector2D.h | e39018ad4d2f0d3ff196aa9940d5cc207a31c142 | [] | no_license | hyeyoon156/Git2 | e2ef56799d36c025d952d9a5a53fc48a61d2e346 | bd487273b5898bff3afe7722951386303dee2a6d | refs/heads/master | 2020-04-05T06:50:08.797434 | 2018-12-16T14:58:01 | 2018-12-16T14:58:01 | 156,653,157 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,353 | h | #pragma once
#include<math.h>
//#include "SDLGameObject.h" << 얘때문에 교수님이 해결못한거 나온거임
class Vector2D
{
public:
Vector2D(float x, float y) : m_x(x), m_y(y) {}
float getX() { return m_x; }
float getY() { return m_y; }
void setX(float x) { m_x = x; }
void setY(float y) { m_y = y; }
Vector2D operator+(const Vector2D... | [
"hyeyoon156@gmail.com"
] | hyeyoon156@gmail.com |
bbe0a63131cd1f6025bc444ce78a66687f3b99aa | b75f0c6e8e2c4caf895eb094eb48ae6913c3d2a1 | /feature_extractor/llvm/lib/ir_pass/BuiltinFeature.h | 0ebdf18b5e73d35c618f54b2216c8d3be925dfbf | [
"Unlicense"
] | permissive | ssrg-vt/aira | 0a76f84588b3dcf512256a79c60e2cecae51afa4 | 96a830480d1ed8317e0175a10d950d7991fb2bb7 | refs/heads/master | 2021-05-12T17:15:34.098162 | 2018-01-11T02:51:11 | 2018-01-11T02:51:11 | 117,041,015 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 876 | h | /*****************************************************************************/
/* BuiltinFeature class */
/* */
/* This class counts the number of instrinsic function calls in the function.*/
... | [
"rlyerly@vt.edu"
] | rlyerly@vt.edu |
1b5e6689f091727d061441003522bb52fed1dbea | e1e2512c2b76f26221ff0768bb54dc9e55f3b056 | /differential_privacy/base/logging.cc | fbf8cebcab0070740ee0b7cf95d3ec629cf9d12a | [
"Apache-2.0"
] | permissive | chinmayshah99/differential-privacy | e0874aecc36d0f64ada0d8882496c25c9370b930 | 98231e038b554ad1c8736c2f0dd6342642f5eb10 | refs/heads/master | 2021-06-23T22:28:41.703965 | 2019-11-29T13:46:03 | 2019-11-29T13:46:03 | 224,471,875 | 1 | 0 | Apache-2.0 | 2019-11-27T16:24:42 | 2019-11-27T16:24:41 | null | UTF-8 | C++ | false | false | 7,361 | cc | //
// Copyright 2019 Google LLC
// Copyright 2018 ZetaSQL Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requir... | [
"dasm@google.com"
] | dasm@google.com |
8716ee20b8f1162f5f3ebfab1fc50c0f443fb6f7 | 924de80dab7907fdb03ab1cafeea6e399d9759c6 | /PROJECTS/GAMES/RUN3D/CODE/GAMEPLAY/PLAYER/MODIFIER/R3D_PLAYER_MODIFIER.h | b3389ebcdaf861d9c1b9f24f53fa0cf62cc1f1e8 | [] | no_license | x-tox-man/xengine | 866fd44d79207c71c6ad2709a66496d392ec0f6d | 81b9445795422969848acfffde59136e1eb66fbe | refs/heads/master | 2021-04-29T10:39:43.257184 | 2020-10-25T10:48:54 | 2020-10-25T10:48:54 | 77,837,329 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 999 | h | //
// R3D_PLAYER_MODIFIER.hpp
// Run3d
//
// Created by Christophe Bernard on 7/01/18.
// Copyright © 2018 IGZ. All rights reserved.
//
#ifndef R3D_PLAYER_MODIFIER_hpp
#define R3D_PLAYER_MODIFIER_hpp
#include "CORE_HELPERS_CLASS.h"
#include "CORE_HELPERS_IDENTIFIER.h"
class R3D_PLAYER;
XS_CLASS_BEGIN( R3D_PLAYE... | [
"c.bernard@afelio.be"
] | c.bernard@afelio.be |
794457477acef6622f4e970986d73ed4174bb56a | 48f96d940dcd0c507d5ce121a74653bc053cd2e1 | /include/colby/image_factory.hpp | 67a0ea05596fb6f0065078149d935a5eeb955733 | [] | no_license | jordan-heemskerk/colby | f19e7397f33d30ecc53e16bc101440fb52de0e11 | a5fd2cb82c1ea2d104217fad68fc809f1b5783d0 | refs/heads/master | 2021-01-17T17:46:12.640585 | 2017-03-03T04:19:30 | 2017-03-03T04:19:30 | 83,109,117 | 1 | 0 | null | 2017-03-03T04:19:31 | 2017-02-25T05:35:02 | C++ | UTF-8 | C++ | false | false | 687 | hpp | /**
* \file
*/
#pragma once
#include <opencv2/core/mat.hpp>
namespace colby {
/**
* Allows a cv::Mat to be produced lazily.
*/
class image_factory {
public:
image_factory () = default;
image_factory (const image_factory &) = delete;
image_factory (image_factory &&) = delete;
image_factory & operator = (cons... | [
"rleahy@rleahy.ca"
] | rleahy@rleahy.ca |
98b418b6d52d6836189fb729f37ee0aaece18c5a | e4712a49882e0bfb1161cd13d92c3838f0fb728e | /xla/service/cpu/elemental_ir_emitter.h | 8d2efb0fce4a54a3bf59cae43a685ad3b0352553 | [
"Apache-2.0"
] | permissive | openxla/xla | 3605841f552913cc7f690d80b0d32dd2fb2a0aae | c4a1e32cb7389075628da38e209e61ad9218ebd4 | refs/heads/main | 2023-08-31T01:43:32.128042 | 2023-08-30T23:14:14 | 2023-08-30T23:16:33 | 523,007,292 | 1,496 | 173 | Apache-2.0 | 2023-09-14T21:42:02 | 2022-08-09T15:30:01 | C++ | UTF-8 | C++ | false | false | 2,315 | h | /* Copyright 2017 The TensorFlow Authors. 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 a... | [
"google-ml-automation@google.com"
] | google-ml-automation@google.com |
301f84d6766e738bc3430711c73313bf3044cd5d | 6ca72a0692000a45b65c936dcc004a23060a8555 | /ArmorRepair.cpp | b48974c5636f54800bf937c2fb08c2132358d79a | [] | no_license | chefinDan/modoc_warrior_rpg | f956c984352b27d8a08081300fa683008de4db31 | be552e247b60a137ed90a42cb4b80cc47be1b33a | refs/heads/master | 2020-09-30T06:56:51.571980 | 2019-12-10T23:18:20 | 2019-12-10T23:18:20 | 227,233,632 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 307 | cpp | #include "Item.hpp"
ArmorRepair::ArmorRepair(std::string name, std::string description, int numOfUses, int levelReq)
{
this->name = name;
this->description = description;
this->numOfUses = numOfUses;
this->levelReq = levelReq;
}
ArmorRepair::~ArmorRepair()
{
}
void ArmorRepair::useItem()
{
}
| [
"greendan@oregonstate.edu"
] | greendan@oregonstate.edu |
8be47ba35df8937b623b3a3fc32e2600e4983c14 | 2d361696ad060b82065ee116685aa4bb93d0b701 | /include/objmgr/impl/tse_info_object.hpp | 168f08008fc9c70fb8cb238c0c78348ff12d1785 | [
"LicenseRef-scancode-public-domain"
] | permissive | AaronNGray/GenomeWorkbench | 5151714257ce73bdfb57aec47ea3c02f941602e0 | 7156b83ec589e0de8f7b0a85699d2a657f3e1c47 | refs/heads/master | 2022-11-16T12:45:40.377330 | 2020-07-10T00:54:19 | 2020-07-10T00:54:19 | 278,501,064 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,940 | hpp | #ifndef OBJECTS_OBJMGR_IMPL___TSE_INFO_OBJECT__HPP
#define OBJECTS_OBJMGR_IMPL___TSE_INFO_OBJECT__HPP
/* $Id: tse_info_object.hpp 516051 2016-10-07 15:16:44Z vasilche $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* ... | [
"aaronngray@gmail.com"
] | aaronngray@gmail.com |
92d58b75df73cbcbcd36f6881899e392cd54a453 | 0de3e2babaeee4f19ff1691852c923549e19b611 | /C Files/C_PROGS/STR_AX.CPP | 415ef33515cd3add3e247ccf6ef7de857bec938f | [] | no_license | SepehrSalim/MS-Multiprocessor-DB | 76f3d7cd895aa4513eaa5371b7970e0614f90aac | 2d7abab832d796a4041c5604ee55890cd96b5674 | refs/heads/master | 2020-04-19T23:30:12.360895 | 2019-01-31T10:24:14 | 2019-01-31T10:24:14 | 168,497,700 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 349 | cpp | #include <stdio.h>
#include <string.h>
void inv (char * s)
{
int i, j, max;
char temp;
max = strlen (s);
j = max - 1;
for (i = 0; i < max / 2; i ++, j --) {
temp = s [i];
s [i] = s [j];
s [j] = temp;
}
}
void main (void)
{
char str [80];
puts ("Enter a String ::: ");
gets (str);
inv (str);
puts ("I... | [
"sepehr.salim@gmail.com"
] | sepehr.salim@gmail.com |
e19fcabf753c7c933d204d03003f8980d9893b0f | 052a6f91f17570566312880b85b9e18a57edde63 | /include/AD/hash/chash2.h | dc87ba4dbc61db95b1e11923d0ad07b54cf01fcd | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | zjhmale/prop | 749b606675e37e4e47aba8ebe2111faf4c418d34 | a24efadede84821353cb7de6626a0bd437800125 | refs/heads/master | 2020-09-08T15:04:34.737510 | 2009-01-01T20:35:59 | 2009-01-01T20:35:59 | 221,167,123 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,731 | h | //////////////////////////////////////////////////////////////////////////////
// NOTICE:
//
// ADLib, Prop and their related set of tools and documentation are in the
// public domain. The author(s) of this software reserve no copyrights on
// the source code and any code generated using the tools. You are encour... | [
"ygrek@autistici.org"
] | ygrek@autistici.org |
ea34408fca355d584cbeca0adc5556af29ee6b83 | a54641e3dfb7ed714eedd911759adcb508bf6d92 | /Source/UEShooter/BTTask_FindWaypoint.h | 6db573eb0a74aaedb60dcf206ac0342a834925b0 | [] | no_license | vermisean/UEShooter | 6a19518af380e9c97b8595b33cdafbb559e2b99a | 619b7bc7c5119d593524714b3dc469d107f51314 | refs/heads/master | 2020-03-19T03:43:58.856689 | 2018-06-22T21:55:34 | 2018-06-22T21:55:34 | 135,756,418 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 451 | h | // Copyright Sean Duffy 2018
//
#pragma once
#include "CoreMinimal.h"
#include "BehaviorTree/Tasks/BTTask_BlackboardBase.h"
#include "BTTask_FindWaypoint.generated.h"
/**
* Blackboard Task - Find next waypoint
*/
UCLASS()
class UESHOOTER_API UBTTask_FindWaypoint : public UBTTask_BlackboardBase
{
GENE... | [
"sean.the.duffy@gmail.com"
] | sean.the.duffy@gmail.com |
022c6cfe4a718c4fc1c601d3427ebd016cb773b5 | 650a6d889f09665b34151f7056a5258e760cfceb | /src/initialisation.h | 9886d7c307472d695c74e315a6ee1e61046eb79d | [] | no_license | MathieuDenglos/metro-network-database | 473f819164e04dc5717c4b436e0165f612b1d889 | 749fcf0b659ea65a05a94ccb67e1db763ac72c0e | refs/heads/master | 2023-03-07T19:06:07.505245 | 2021-02-15T21:43:28 | 2021-02-15T21:43:28 | 326,741,607 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 894 | h | #ifndef INITIALISATION_H
#define INITIALISATION_H
#include "constants_includes.h"
namespace INI
{
/**
* @brief connect to the database using the informations entered in constants_includes.h
*
* @param driver Driver necessary to connect
* @param con Used to execute the prepared statements
... | [
"matdenglos@gmail.com"
] | matdenglos@gmail.com |
71a20cb996b6a7e43faa48ac7410642566687009 | 560007417f0f94a02d5a0eb07accfe0e60dc97dd | /project/iteration1/src/obstacle.h | e5f84a2226086b7fab0d0a183adb868f3767c9d0 | [] | no_license | goelx029/Robot-Game-Simulator | e93e92810234ef6cc8cdc09ae123c0d270af555e | e127c530fbecd78164528ce52b71432d78f62c13 | refs/heads/master | 2021-05-05T06:26:36.696137 | 2018-01-24T18:00:02 | 2018-01-24T18:00:02 | 118,800,427 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,210 | h | /**
* @file obstacle.h
*
* @copyright 2017 3081 Staff, All rights reserved.
*/
#ifndef SRC_OBSTACLE_H_
#define SRC_OBSTACLE_H_
/*******************************************************************************
* Includes
******************************************************************************/
#... | [
"goelx029@umn.edu"
] | goelx029@umn.edu |
75295cea87175d9d95f06db11363d46d32b09df4 | 7e0ec0e32282307dd5bf051602cc6c2ea268452c | /src/rads/maps/ricker_cpp.h | 827b5b98ebcf71bc64d3c22740d53d8810105fe8 | [] | no_license | caosuomo/rads | 03a31936715da2a9131a73ae80304680c5c3db7e | 71cab0d6f0711cfab67e8277e1e025b0fc2d8346 | refs/heads/master | 2021-01-20T10:18:58.222894 | 2018-05-24T02:18:58 | 2018-05-24T02:18:58 | 1,039,029 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 209 | h | #include "mapper.h"
class RickerMapper : public Mapper
{
// fitness ('r') and dispersal ('d')
enum param { r=0, d=1 };
public:
RickerMapper();
IPoint map_point( const IPoint &v ) const;
};
| [
"jberwald@gmail.com"
] | jberwald@gmail.com |
07a8679c9e1441d40e885e21bdd5dadd61237b6d | 2531d95303fc98010fe1841783a5810bdfb42faf | /pugl/pugl_cairo.hpp | f31201e44d5da3afa885fa91c5927c3c732854e4 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-mit-taylor-variant"
] | permissive | coltox/pugl | 4808061b4641b950c9338949dc7fbb086100cfd3 | 5695cb527b16ac622789e6f77b45f7fd52332829 | refs/heads/master | 2021-06-13T23:23:30.962620 | 2020-04-08T15:22:32 | 2020-04-08T15:22:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,258 | hpp | /*
Copyright 2012-2020 David Robillard <http://drobilla.net>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THIS SOFTWARE IS PROVIDED "AS IS" AND... | [
"d@drobilla.net"
] | d@drobilla.net |
cce1a9f9b7f6f262251888302cf0fe99ecbe25af | 588142a878994e36c7f91070c86e8e41e8a29824 | /interface/uaplotter1.h | 5a045693c5b3dbc2def1bc9133370c57fd02cf22 | [] | no_license | dsosnov/uaplotter1 | 189a4f4505b9d51053454d21c3072d9e856d80ba | e86651ea30f2aafab317e4e7124dda81ad8ad528 | refs/heads/master | 2021-01-23T12:25:19.866524 | 2018-08-04T11:32:19 | 2018-08-04T22:31:23 | 93,156,295 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,447 | h | #ifndef UAPLOTTER1_H
#define UAPLOTTER1_H
#include "uabase.h"
#include "uamc.h"
#include "uacmsevtinfo.h"
#include "uatracking.h"
#include "uapf.h"
#include "uacalo.h"
#include "uacastor.h"
#include "uaforward.h"
#include "uat2.h"
#include "uarp.h"
#include "TChain.h"
#include "TFile.h"
#include "TString.h"
class ua... | [
"dmitry.sosnov@cern.ch"
] | dmitry.sosnov@cern.ch |
6b0314a292e3481997f7a124baea1cb70efa8683 | e5a37a543ca382ed3eaab28c37d267b04ad667c0 | /probrems/AOJ0112.cpp | db0831e6a1ad05ad502b1f51f387540e1514ff65 | [] | no_license | akawashiro/competitiveProgramming | 6dfbe626c2e2433d5e702e9431ee9de2c41337ed | ee8a582c80dbd5716ae900a02e8ea67ff8daae4b | refs/heads/master | 2018-09-02T19:49:22.460865 | 2018-06-30T05:45:51 | 2018-06-30T05:45:51 | 71,694,415 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 393 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
typedef long long LL;
using namespace std;
void solve(int n)
{
LL r=0;
vector<LL> v(n);
for(int i=0;i<n;i++)
cin >> v[i];
sort(v.begin(),v.end());
for(int i=1;i<n;i++)
{
r+=v[i-1];
v[i]+=v[i-1];
}
cout << r << endl;
}
int main()
{
int n;
w... | [
"akira@akiraMacBookPro.local"
] | akira@akiraMacBookPro.local |
0c11d8b2af32bc0df58959ca8ec679964b11d948 | f6803203be52d4b4e64545e5edef6ca2f6be8309 | /微机原理/新建文件夹/微机实验汇总2011.12.30/2011.12.12实验8251.8255/SAMPLE/实验15_可编程并行接口8255方式1/可编程并行接口(8255方式一实验2)C/可编程并行接口(8255方式一实验2)C.cpp | 75d45812150faa0d14d2a091fb605a996ca85edd | [] | no_license | Tropicana33/Microcomputer-Principle | 9281887d1b7e715ce4adf1c67c76d6a32207aa0e | a6f1e49aff9ce18e8755d63988d47adead794ca6 | refs/heads/master | 2021-01-13T03:09:50.423359 | 2017-01-06T06:55:37 | 2017-01-06T06:55:37 | 77,432,872 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,210 | cpp | /*******************************/
/* 可编程并行接口(二) */
/* 8255方式1输入实验 (A口) */
/*******************************/
#include <stdio.h>
#include <conio.h>
#include "ApiEx.h"
#pragma comment(lib,"ApiEx.lib")
int Count=8; /*响应中断次数为8*/
void IntS();
void main()
{
printf("--------------------EXP21_10_8255-1_2----------... | [
"919273396@qq.com"
] | 919273396@qq.com |
54a1f1e472f8d5d6dd4e2a63fec08f3480598ab3 | d3954d4770f72f6d8b1704b0c508903d6f74f0f5 | /css/property/linear_gradient.h++ | cb2b33ca6df481ade942534415d739f5f239bc6e | [
"MIT"
] | permissive | skui-org/skui | 83b0779c63c9332e86f4e9e2f1f02ceb7aba501f | f04d74d1938f053dc876e85ae469a711ed2edbc5 | refs/heads/master | 2022-01-31T08:21:45.375334 | 2022-01-21T15:24:51 | 2022-01-21T15:24:51 | 85,348,438 | 382 | 57 | MIT | 2022-01-01T01:29:57 | 2017-03-17T19:37:28 | C++ | UTF-8 | C++ | false | false | 1,833 | /**
* The MIT License (MIT)
*
* Copyright © 2019-2020 Ruben Van Boxem
*
* 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
* ... | [
"vanboxem.ruben@gmail.com"
] | vanboxem.ruben@gmail.com | |
e63ee953cd28bd715f5d94f45bb7ab28d17b5778 | f4064dbc68decb87973e0b05992d39268b0c4a1a | /AtCoder/ABC012/C.cpp | 1005051053bfde576a4c6efa5e178954777b9c4a | [] | no_license | odanado/Procon | d7c75387b15e3dc860b6a813eb43b1fa1ab8ffd3 | 6f30fb4819f577df9db54ccc74765eb0ddf2119c | refs/heads/master | 2020-04-12T01:43:42.196994 | 2017-08-06T14:58:02 | 2017-08-06T14:58:02 | 48,416,463 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 798 | cpp | #include <algorithm>
#include <functional>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <string>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <vector>
#include <list>
#include <stack>
#include <queue>
#include <map>
#include <set>
#include <bitset>
#include <cl... | [
"odan3240@gmail.com"
] | odan3240@gmail.com |
036feaa9e4078398921bebbde4b7aaca989f5d11 | a51a50cac4ff551c79bf6adc2053380fadb6fc79 | /src/Data.h | dd1d0183c3e396f7844111000368e43162dbbbaa | [] | no_license | andreb86/fuzzy_c_means | e18b9c37db772950313cccf2529bbe1834aa0c77 | 55fc356eb8501340e9e86ba6a2517cb35071629e | refs/heads/master | 2020-04-16T00:23:58.423254 | 2019-02-10T21:05:58 | 2019-02-10T21:05:58 | 165,136,046 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,644 | h | //
// Created by andrea on 31/12/18.
//
#ifndef DATA
#define DATA
#include <iostream>
#include <fstream>
#include <vector>
#include <random>
#include <sstream>
class Data {
protected:
// input data coords
std::vector<double> x;
// centroids coordinates
std::vector<double> y;
// size of the prob... | [
"andrea.basso.cpp@gmail.com"
] | andrea.basso.cpp@gmail.com |
596c485d2d0f386aa2e2642a2ec3f3598a5aee5d | dd8849cba469e624c4152dbf85a735acabdf3fd3 | /test/normalize_to_nfkc_000.cpp | 357eab613c4c095b3186b944a17da4bacc7ad0e0 | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | skyformat99/text | e237dce1cced4b8b92a1d80d4b25c99edb5772d6 | f9e5979710c9a391e81f3f432ea6fd04e97d5490 | refs/heads/master | 2020-03-22T04:35:53.875892 | 2018-07-01T13:21:27 | 2018-07-01T13:21:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 563,025 | cpp | // Warning! This file is autogenerated.
#include <boost/text/normalize_string.hpp>
#include <boost/text/utility.hpp>
#include <gtest/gtest.h>
#include <algorithm>
TEST(normalization, nfkc_000_000)
{
// 1E0A;1E0A;0044 0307;1E0A;0044 0307;
// (Ḋ; Ḋ; D◌̇; Ḋ; D◌̇; ) LATIN CAPITAL LETTER D WITH DOT ABOVE
{... | [
"whatwasthataddress@gmail.com"
] | whatwasthataddress@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.