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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6dc2919550f8fe6c0b6a1b8f2030f1e086d1a641 | 01ed846bf5367f391711e3799ba58a40d03df67e | /sem2/hw5/2511/A.cpp | 5ab5f4ab433beee90218cd416ffbf2e00f322f63 | [] | no_license | katyamineeva/learning-algoritms | a540ed4c9a5cd8bfc25d07d67c59baf3a0ab4bc2 | 0ea7e3f15cbed710f975bef14d83ed2102b62878 | refs/heads/master | 2021-06-08T05:59:16.023426 | 2016-12-03T14:43:46 | 2016-12-03T14:43:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,487 | cpp | #include <iostream>
#include <fstream>
#include <utility>
#include <vector>
#include <queue>
using std::vector;
using std::cout;
using std::ifstream;
using std::queue;
using std::pair;
const int NOT_INITIALISED = -2;
const int FIRST_COMPONENT_OF_EQUIVALENCE = -1;
void readData(vector<vector<vector... | [
"katya.mineeva96@gmail.com"
] | katya.mineeva96@gmail.com |
01b30535efb556a0f03c914a83d883fe169be41e | 32e15f38217b7bd97af61f359479b6a53a4d17cf | /OGL/source/Objects/Primitives/PyramidObject.hpp | 5b8128ec1ea8015141e9afd8fbba327c93e2e07c | [] | no_license | mkulagowski/AsteroidShooter | 3bcb4fad6bad6a15edc6b6f6317f74593f57e431 | 74d4e0c076f6150ac3346cf7e81ada861a1aeb92 | refs/heads/master | 2016-09-13T02:03:55.001033 | 2016-05-21T22:24:50 | 2016-05-21T22:24:50 | 58,769,573 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 284 | hpp | #pragma once
#include "Object.hpp"
class PyramidObject : public Object
{
public:
PyramidObject(btVector3 halfSize);
PyramidObject(float halfSizeX, float halfSizeY, float halfSizeZ);
~PyramidObject();
private:
btVector3 mHalfSize;
void AddShape() override;
};
| [
"mk.kulagowski@gmail.com"
] | mk.kulagowski@gmail.com |
2fb93e228d08ce08b9727d00e5045419741c3245 | 4308660d4fd08f2b4daadbc906099d6fd4638e27 | /car/beifen/path_planning5.16/src/rrt_node.cpp | b5cfd42a2c1273a650bac2332b29e49906972774 | [] | no_license | zhang-quanzhe/car | 4ea54f60ee56d81400304c5023f1124436130f9c | 00ea7396404f4d1e29fb624e436fd8b41665c9e3 | refs/heads/master | 2023-06-11T04:01:02.436099 | 2021-07-02T10:09:39 | 2021-07-02T10:09:39 | 382,208,050 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,461 | cpp | #include <ros/ros.h>
#include <visualization_msgs/Marker.h>
#include <geometry_msgs/Point.h>
#include <path_planning/rrt.h>
#include <path_planning/obstacles.h>
#include <iostream>
#include <cmath>
#include <math.h>
#include <stdlib.h>
#include <unistd.h>
#include <vector>
#include <time.h>
#define success false
#defi... | [
"ustb_zqz@163.com"
] | ustb_zqz@163.com |
70f24f40cb2da90d502a0cd8227b6b4c4c4827d7 | 36a77db57f0a8cb67ca526fb82db1105da095b32 | /P3Lab7_ClaudioHernandez/ClaseHogwarts.cpp | faef8fb20562cfa4a68a3e079812f8d93fe3bf99 | [] | no_license | Claudio-Hernandez/P3Lab7_ClaudioHernandez | 2acf07b1542e1846044380c7701981d5ca478f96 | 4c56ff7fc63664ef2b5beedfc5fcbfa5661c38a3 | refs/heads/main | 2023-05-10T04:56:00.257514 | 2021-06-05T00:01:46 | 2021-06-05T00:01:46 | 373,925,213 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,513 | cpp | #include "ClaseHogwarts.h"
ClaseHogwarts::ClaseHogwarts(int anio2){
this->anio = anio2;
}
vector<MagoGryffindor*>ClaseHogwarts::getVectorgr(){
return this->magosGryffindor;
}
vector<MagoHufflepuff*>ClaseHogwarts::getVectorhuff(){
return this->magosHuffle;
}
vector<MagoRavenclaw*>ClaseHogwarts::getVectorraven(){
ret... | [
"claudio.ahz123@gmail.com"
] | claudio.ahz123@gmail.com |
794e565ae24334d24e941c37b7f0ed5c591f70c4 | b1d641d47810571860f3207bfd836db7f14c212f | /VulkanEngine/FirstPersonCamera.cpp | c15f31bc74bd5786f01b80a346707a679d8e3b75 | [] | no_license | VilRan/VulkanEngine | 953a245ccc0437a9cbaf918f03ae6523b52e4b16 | 54f3eeb82a80c90fce6da2105fa7a2cc179a1e63 | refs/heads/master | 2021-01-20T00:16:39.061037 | 2017-08-07T16:15:02 | 2017-08-07T16:15:02 | 89,107,126 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,614 | cpp | #include "FirstPersonCamera.h"
#include <glm/gtc/matrix_transform.hpp>
FirstPersonCamera::FirstPersonCamera()
{
Position = glm::vec3(0.0f, 0.0f, 0.0f);
Rotation = glm::quat(glm::vec3(0.0f, 0.0f, 0.0f));
Angles = glm::vec2(0.0f, 0.0f);
}
FirstPersonCamera::~FirstPersonCamera()
{
}
glm::mat4 FirstPersonCamera::Get... | [
"VilleMattiRantala@gmail.com"
] | VilleMattiRantala@gmail.com |
10f825b34a771bf4a0e7497832b9d98375d718f0 | 740ba734bba1e942a1c4ee011d4436055be8db5c | /lua-icxx/LuaStackSizeChecker.h | 0f35482508e082e230960d8ca535357eef27bf5c | [
"BSD-3-Clause"
] | permissive | ice1k/lua-full | f96c3945eb292d7caa2347e6c8cc22900fd69019 | 60764a084e776126fa1b3a1dbf4d0ee5876d17df | refs/heads/master | 2020-03-26T04:21:50.928581 | 2018-08-03T07:18:36 | 2018-08-03T07:18:36 | 144,500,190 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,299 | h | /*
This file is part of the Lua_icxx library.
Copyright 2010 (c) by Oliver Schoenborn.
License terms in LICENSE.txt.
*/
#pragma once
#include <cassert>
#include <lua/lua.hpp>
/** Checker class to verify that stack size unchanged. It tracks the
stack top when constructed, and asserts that it is the same when ... | [
"ice1000kotlin@foxmail.com"
] | ice1000kotlin@foxmail.com |
9642e7aff8cb71c4caca66c6ca9cc8cb0d63c3dc | 2d99181d9516fa710a82730b4c69b5c140920b5d | /AI2/HP Model/hp.cpp | 59a178ff8e2b2316ad54c8a38076593de722d306 | [] | no_license | NelsonGomesNeto/Artificial-Intelligence | 7a78249a96253b4de9f651720718fb4cbd0dae11 | 6d160c40a2e99b360b419e9f45687ccfdce91c9c | refs/heads/master | 2021-05-11T05:54:16.112812 | 2019-04-18T21:46:10 | 2019-04-18T21:46:10 | 117,973,475 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,783 | cpp | // #include <bits/stdc++.h>
#include <vector>
#include <queue>
#include <set>
#include <algorithm>
#include <string.h>
using namespace std;
int hpSize; char hp[(int) 1e6]; double baseEnergy = 0, accumulatedEnergy[1000];
int dx[4] = {0, 1, 0, -1}, dy[4] = {1, 0, -1, 0}, n, m, si, sj;
char dop[4 + 1] = {'v', '>', '^', '... | [
"ngn@ic.ufal.br"
] | ngn@ic.ufal.br |
0c917850a74e24d44ef9debc26b8e886f458949f | c8cc2b12af263730022608bd4e13dbe57423ab08 | /KitStack.h | d58d9b367befb9de2451b2d5e15f3080ba3d3c35 | [] | no_license | Lajjo/ProjectZuma | 6b1a84cbd618c733cbbef88f809597f70fa7a1a6 | 11bb754de1d19ecdc0e4c314ea1fa15ec39a6357 | refs/heads/master | 2021-01-13T01:36:24.959761 | 2013-02-01T16:47:09 | 2013-02-01T16:47:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 281 | h | #pragma once
#include <SFML\Graphics.hpp>
#include "HealthKit.h"
class KitStack{
public:
void addHealthKit(HealthKit*);
void drawStack(sf::RenderWindow &window);
bool checkIfTouchKit(sf::IntRect playerRect);
private:
typedef std::vector<HealthKit*> Stack;
Stack kitStack;
}; | [
"Lajjo1992@gmail.com"
] | Lajjo1992@gmail.com |
a80e64a77727894147621d3067c92802083e5c2a | bff4518b3089c014e9af2e729d98f5521138073b | /Save_patients.cpp | 8c8cf337bd8f368c245c8f5f6d7125804fd82563 | [] | no_license | Aniganesh/100daysofcode | 3d5e2e6c3d8526938620cf9fac700c69175618ec | 2c11d71a5374be0d845b568ef16009bd3f1718da | refs/heads/master | 2021-05-16T22:58:48.915268 | 2020-07-17T18:18:48 | 2020-07-17T18:18:48 | 250,505,128 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 905 | cpp | // https://www.hackerearth.com/practice/algorithms/sorting/bubble-sort/practice-problems/algorithm/save-patients/
// 14-05-2020 Very-easy/easy
#include<bits/stdc++.h>
#define MOD % 1000000007
typedef long long ll;
using namespace std;
int main(){
int numVaccines;
cin >> numVaccines;
int vaccineMidichloria... | [
"aniganesh741@gmail.com"
] | aniganesh741@gmail.com |
5432ca64fd344981de60bd64a72f33701354eae2 | e3063fccaaed7d0e9a763c495e4d787a6dbb9056 | /Samples/Scripts/Layout/samples/sample4/Msvc60/CLIENTDL.H | 79061697d0441a3c1ea03a0f1009c144430c206d | [] | no_license | VB6Hobbyst7/PLayouts | dedce6e1ce2f0884c3cbe4a929c39f93dfd3bdc6 | 012d506f20c97948053411c29bdecc4739f8a510 | refs/heads/master | 2021-09-04T20:00:39.905993 | 2017-12-03T03:07:05 | 2017-12-03T03:07:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,698 | h | //////////////////////////////////////////////////////////////////////////////
//
// CLIENTDLG.H : header file
//
//////////////////////////////////////////////////////////////////////////////
// This is a part of the PADS-PowerPCB OLE Automation server SAMPLE2 sample.
// Copyright (C) 2003 Mentor Graphics Corp.
// All... | [
"matt@aquagps.com"
] | matt@aquagps.com |
9dd18cbc3ebf16c4ff85b1c92f7e87a4420a0e60 | 762d0c7c44687373bf643624c8ac616cb08cd227 | /External Dependencies/FMOD Studio API Windows/api/core/examples/dsp_custom.cpp | ff955009fcc5ab5277c94d170f753a58a701b17a | [
"MIT"
] | permissive | Promethaes/Espresso-Shot-Engine | eba955c95cbbce03cb22051bd055ae89a499d984 | 6dffcbd5e69708af2f8251b701b7052207162e9b | refs/heads/master | 2020-07-17T03:27:23.751072 | 2019-09-10T02:56:06 | 2019-09-10T02:56:06 | 205,931,611 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,836 | cpp | /*==============================================================================
Custom DSP Example
Copyright (c), Firelight Technologies Pty, Ltd 2004-2019.
This example shows how to add a user created DSP callback to process audio
data. The read callback is executed at runtime, and can be added anywhere in
th... | [
"anth19800@hotmail.com"
] | anth19800@hotmail.com |
3ce2c2cf610416782e14de081b1212e27a208392 | 163e4861bc8cabd801c72d3db865b553bf1937a8 | /chapter-02/exercise-07/main.cpp | 91248592e9b2020a58580845be0510021368a0de | [] | no_license | hartbit/accelerated-cpp | 9a98b80d259ec9fb5fc29ccfff7eceb9859c47c5 | e9a2d435783bf5ce527535cb6eeff8e7976ae601 | refs/heads/master | 2020-03-11T14:53:43.972407 | 2018-04-28T20:30:01 | 2018-04-28T20:30:01 | 130,068,410 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 103 | cpp | #include <iostream>
int main() {
for (int i = 10; i >= -5; i--) {
std::cout << i << std::endl;
}
} | [
"david@hartbit.com"
] | david@hartbit.com |
e7fad910446719d32141c366e9e610abe7ab8fc4 | dd928db5d8f137ecb0d17a5bb34410e01a1970fd | /object_analytics_node/include/object_analytics_node/segmenter/algorithm_config.hpp | 8ade475b037d9e3767ba5c77043b0413e0c86de2 | [
"Apache-2.0"
] | permissive | TonyGuo236/ros2_object_analytics | cb9fd31bdc4fd6779fbecd94dc765ccab1e40ba1 | 1f5ea31dee5f7d3ca7839a9172f8b9975204ec75 | refs/heads/master | 2020-03-17T16:38:59.132046 | 2018-05-16T07:25:53 | 2018-05-16T07:39:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,551 | hpp | /*
* Copyright (c) 2018 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | [
"peter.han@intel.com"
] | peter.han@intel.com |
700f51dcd67d6ad2d7cee1b365896b0919a0d545 | 1af5cf87e3e749fdc8ae0589156aa85fb54443b1 | /qt/screenshot/main.cpp | 256c72f0d245d962381bb6576a7d91469d53d0d6 | [] | no_license | tangboshi/julia_c | c3fe5974d12005cc7b74f806dccceacaa27c6ea2 | 0a722b4755e3c518a58b395fd39b1a192ad0884e | refs/heads/master | 2020-12-30T14:00:13.902392 | 2017-06-10T22:03:37 | 2017-06-10T22:03:37 | 91,271,337 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | cpp | #include "window.h"
#include <QApplication>
#include <QStyleFactory>
int main(int argc, char *argv[])
{
QApplication::setDesktopSettingsAware(false);
QApplication a(argc, argv);
window w;
#ifdef __linux__
QStyle* style = QStyleFactory::create("Oxygen");
a.setStyle(style);
#endif
... | [
"info@alexander-pastor.de"
] | info@alexander-pastor.de |
bf37ef7e8e7601c015e7d28efc2968f64aa8ea2f | e21eddf0d9225ddc07c28e72c510d3b243c3b363 | /baekjoon/basic/graph_bfs/1261/1261.cpp | 5fe26831be9b9dc476d700299af35d73f445bd2f | [] | no_license | Kangwoosun/Algorithm | 5913bc51df2e7573d870ec0e4d544091c8ef1e67 | 7cf6ac9d5c933ffa4255c803295852365400f8cc | refs/heads/master | 2023-03-14T00:26:32.352711 | 2021-03-02T07:23:32 | 2021-03-02T07:23:32 | 280,450,631 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,637 | cpp | #include <iostream>
#include <queue>
#include <utility>
#include <climits>
using namespace std;
int visit[101][101];
bool v[101][101];
int N, M;
int mx[] = {0,0,-1,1};
int my[] = {1,-1,0,0};
bool isin(int x, int y){
return (1<=x && x<=N && 1<=y && y<=M ? true : false);
}
int bfs(){
queue<pair<int,int... | [
"kws981924@gmail.com"
] | kws981924@gmail.com |
4fc79168a022d39910cac93eac6493ef2db37859 | ddf03b0ce0bb5f54696aa531f7561a694d2b82df | /rebuild_v0/include/JunDataWriter.hh | ab964ce9ed57c2ff0aacc2eb820a116eedd95143 | [] | no_license | fengjunpku/rebuild_13C | 7f6ff7971ddebd5d3981d17a7c743bf59c25f1b8 | 570c7b85566194adaa1350b94708e9f484865b3a | refs/heads/master | 2021-01-22T21:53:11.637574 | 2017-10-26T08:35:30 | 2017-10-26T08:35:30 | 85,484,718 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 927 | hh | #ifndef JunDataWriter_HH
#define JunDataWriter_HH
#include <iomanip>
#include <vector>
#include "stdio.h"
#include <TROOT.h>
#include <TFile.h>
#include <TTree.h>
#include <TString.h>
#include "reDefine.hh"
#include "JunParticle.hh"
using namespace std;
//instance->openfile->gettree->recorde
class JunDataWriter
{
p... | [
"fengjun2013@pku.edu.cn"
] | fengjun2013@pku.edu.cn |
3f399cf66e47bb803284655f0e50c7150abf75a0 | b7d023db1ceafa805120f529c731d98cc2482719 | /main.cpp | ef7c8c59755e0e996a0f6adf35f41edc4691aeea | [] | no_license | Sudoka/Kingdom | 36a8ec3f91beb021e913ed1013452aa9337d978e | e7e0e3f2532e0fe2500c2642b2c1934a4573013e | refs/heads/master | 2020-04-10T15:00:14.809841 | 2013-06-30T01:44:49 | 2013-07-04T04:01:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,980 | cpp | #include <iostream>
#include "Kingdom.h"
int main()
{
NonDupWarrior ndw;
Warrior* pw;
int choice;
int position;
while(1) {
int archers = 1, knights = 2, spearman = 3;
cout << "\n\n********************************************" << endl;
cout << "\nPlease select your choice of warriors." << endl;
cout << "... | [
"yswarovski@ucsd.edu"
] | yswarovski@ucsd.edu |
5e67d7f850c3472a5748aee8cdf78909f0f3bcaf | 9923e30eb99716bfc179ba2bb789dcddc28f45e6 | /openapi-generator/cpp-restbed-server/model/InlineResponse2008.cpp | 8cd5f396e14e0ccd82ea4f52447be8f167c9569d | [] | no_license | silverspace/samsara-sdks | cefcd61458ed3c3753ac5e6bf767229dd8df9485 | c054b91e488ab4266f3b3874e9b8e1c9e2d4d5fa | refs/heads/master | 2020-04-25T13:16:59.137551 | 2019-03-01T05:49:05 | 2019-03-01T05:49:05 | 172,804,041 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,816 | cpp | /**
* Samsara API
* # Introduction Samsara provides API endpoints for interacting with Samsara Cloud, so that you can build powerful applications and custom solutions with sensor data. Samsara has endpoints available to track and analyze sensors, vehicles, and entire fleets. The Samsara Cloud API is a [RESTful API]... | [
"greg@samsara.com"
] | greg@samsara.com |
1af32172e5822dc615639bc35d81464268c12fda | c451cb186764b7de60eace0d3b34b27bb3404bd6 | /691B.cpp | d4e34047455a756030dcc39e7046802a143b9754 | [] | no_license | Tsugiru/codeforces | 759f9abd46daa748202f720c6e6003654d553c15 | 3cc16d7cb8b0ae7f9da075c54e39640f00bd73e5 | refs/heads/master | 2021-08-16T21:50:31.625336 | 2021-06-27T11:02:02 | 2021-06-27T11:02:02 | 207,086,606 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,595 | cpp | #include <bits/stdc++.h>
#include <ext/pb_ds/tree_policy.hpp>
#include <ext/pb_ds/assoc_container.hpp>
using namespace std;
using namespace __gnu_pbds;
typedef long long ll;
struct int_hash {
static uint64_t splitmix64(uint64_t x) {
x += 0x9e3779b97f4a7c15;
x = (x ^ (x >> 30)) * 0xbf58476d1ce4e5b9... | [
"eliemaamary17@gmail.com"
] | eliemaamary17@gmail.com |
03b78c89a9021e7276155ec37809d5301b89bb47 | 81ca137bb6b204c2aef6d9128dc0bb7a2b4e94b4 | /ivnavigation/src/ivnavigation.cpp | 1685287fcc7d07d922d053172bdd5a13dc2a2b2a | [] | no_license | beamiter/ros_wtf | 29ae642cc86b2388c0d088a51111c313f5114882 | 83f01d40204f2068ea75b10475b142446bda9fa7 | refs/heads/master | 2020-12-01T05:31:23.675761 | 2017-02-08T00:59:53 | 2017-02-08T00:59:53 | 65,908,193 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 271 | cpp | #include "ivnav.h"
#include "ivamcl.h"
#include "ivodom.h"
#include <iostream>
int main (int argc, char **argv)
{
ros::init(argc, argv, "ivnavigation");
ros::NodeHandle nh;
//ivnav ivnav(nh);
//ivamcl ivamcl(nh);
ivodom ivodom(nh);
ros::spin();
return 0;
} | [
"beamiter@163.com"
] | beamiter@163.com |
fa29188e1aac4ceb27e7590794ee666b3572bf61 | 0439e7879c557e51e57e4d0bcc3fdeb5ef428ad4 | /NT-HW-I/183D.cpp | b050c191ead5941afa44b4da6ce4c8da6325e5f5 | [] | no_license | zcwwzdjn/OI | f176a5618c8c5528f1af1dfb082d89c97f5872d8 | 710c65923898d39ebf29b609fdc084cf9ebecb15 | refs/heads/master | 2021-01-10T01:42:32.147017 | 2013-06-04T08:35:26 | 2013-06-04T08:35:26 | 8,447,388 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,176 | cpp | #include <cstdio>
#include <cstdlib>
#include <cstring>
#include <functional>
#include <vector>
#include <algorithm>
using namespace std;
const double kEps = 1E-12;
const int kMaxN = 3000, kMaxM = 300;
int n, m;
double p[kMaxN][kMaxM];
double dp[2][kMaxN + 1];
vector<double> seq;
int main() {
scanf... | [
"zcwwzdjn@hotmail.com"
] | zcwwzdjn@hotmail.com |
734fa3a0bde45feeda9e83ce9b9adb5fc3a736cc | 9c73501c5a8413753ed5776299fe1f62a0a2659e | /fvm/Equation/LinearTransientTerm.cpp | 0e64148dc696d6942670659bf8feb2472212c40e | [
"MIT"
] | permissive | anymodel/DREAM-1 | 5d1ac63ffc48157f110ef672036d801442a2c917 | eba9fabddfa4ef439737807ef30978a52ab55afb | refs/heads/master | 2023-08-23T05:01:13.867792 | 2021-10-28T19:45:33 | 2021-10-28T19:45:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,022 | cpp | /**
* Implementation of an Euler backward transient term multiplied
* by an arbitrary grid-dependent weight function.
* Evaluation of weights must be implemented in derived classes.
*/
#include <iostream>
#include "FVM/config.h"
#include "FVM/Matrix.hpp"
#include "FVM/Equation/LinearTransientTerm.hpp"
#include "... | [
"embreus@chalmers.se"
] | embreus@chalmers.se |
811fb48069e869699a8afd2b2bd87c7db77f27b6 | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/libs/beast/test/beast/zlib.cpp | 8b56a8d176c85f249e41d0320e1a82cd272e1b84 | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | KqSMea8/sstd_library | 9e4e622e1b01bed5de7322c2682539400d13dd58 | 0fcb815f50d538517e70a788914da7fbbe786ce1 | refs/heads/master | 2020-05-03T21:07:01.650034 | 2019-04-01T00:10:47 | 2019-04-01T00:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 385 | cpp | //
// Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Official repository: https://github.com/boostorg/beast
//
// Test that header... | [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
364e7958273d510d69fa6b313b110dfcf528f952 | 91c53b665a8a0d5e0d6fbec989bf84072f910ce2 | /C++ Primer Plus/Chapter 10/stack.h | b94ba1e134db5ad55bfdaf061ba387c4498464a3 | [] | no_license | LONGZR007/StudyC-- | 0dd8fb5aeaa0fe0fda8194c0b8b53bc506fe5d52 | adf22f9d7f2b2465c07e440702284811b0c3955c | refs/heads/master | 2020-07-10T11:19:57.357876 | 2019-09-15T11:45:24 | 2019-09-15T11:45:42 | 204,249,312 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 650 | h | // stack.h -- class definition for the stack ADT
#ifndef STACK_H_
#define STACK_H_
typedef unsigned long Item;
class Stack
{
private:
// enum {MAX = 10}; // constant specific to class
Item *items; // holds stack items
Item MAX;
int top; // index for top stack item
public:
Stack(Item max ... | [
"1558193230@qq.com"
] | 1558193230@qq.com |
0720be5f36568927a0612aa136c84eb9da464ec9 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/068/368/CWE122_Heap_Based_Buffer_Overflow__cpp_CWE805_char_memcpy_54e.cpp | a18893330aface6611cc1392b1f199abe944058e | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,952 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE805_char_memcpy_54e.cpp
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE805.string.label.xml
Template File: sources-sink-54e.tmpl.cpp
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Alloc... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
80b2043306a4d730c4bac4cee9e9b69e25b80dbb | ffe3bdc5d6135ccec77b372c23a9c63252f41c7e | /build/intermediates/jniLibs/armv7/debug/TgNetWrapper.cpp | 11a689e3afaec47dea31fc65b2df8c123f376bc9 | [] | no_license | DevDoubleDream/StoryShop | 12c4ac34c9560c631c17f859bcb43ef4b85ac0a9 | 41c215976e8a8ed819c25b91706b539db3da254b | refs/heads/master | 2021-01-20T12:03:56.202337 | 2017-03-08T01:53:29 | 2017-03-08T01:53:29 | 82,640,995 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,078 | cpp | #include <jni.h>
#include "tgnet/ApiScheme.h"
#include "tgnet/BuffersStorage.h"
#include "tgnet/NativeByteBuffer.h"
#include "tgnet/ConnectionsManager.h"
#include "tgnet/MTProtoScheme.h"
#include "tgnet/FileLoadOperation.h"
JavaVM *java;
jclass jclass_RequestDelegateInternal;
jmethodID jclass_RequestDelegateInternal_r... | [
"dev.doubledream@gmail.com"
] | dev.doubledream@gmail.com |
f2ae17aff389b1656d993b413edbcaba033efdde | 094a7815d2caf5ea8eb9d7c104665bdeee9801b8 | /FunProject/src/Framework/Window.cpp | c64dba1fac8c38a39acce0f08491d199f6843fdd | [] | no_license | Rodanco/FunProject | da36a95ac842899cee8edd275ecc45f6cf2a2412 | 6fc5c5cde29f069e7f94d9096b708fedeeac9813 | refs/heads/master | 2020-04-23T16:49:55.930687 | 2019-03-22T14:05:52 | 2019-03-22T14:05:52 | 171,311,425 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,125 | cpp | #include "Window.h"
#include <string>
#include "SDL/SDL_log.h"
#include "SDL/SDL_timer.h"
#include "Definitions.h"
Window::Window() : Window(1280, 720)
{
}
Window::Window(Uint32 width, Uint32 height) : Window(SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, width, height)
{
}
Window::Window(Uint32 posX, Uint32 posY... | [
"conradofeltrin@gmail.com"
] | conradofeltrin@gmail.com |
95ce47237bd3a1bc5f7e0c45bd1c204eb4130cb5 | b6a39646e8a8b15db4047abaf9dd3fa013aa53f9 | /vs2015/ch17 blending/window2/main.cpp | 850dfcfe7581c6c7cecb99edcfc9854a5f7d4345 | [] | no_license | qxly/LearnOpenGL-qxly | c37393040fbcbb44d3fb272a8d4df28f35a772e4 | b71194648bf5c189d34f209d4712e7a3ede09c73 | refs/heads/master | 2021-01-20T07:29:41.659195 | 2017-05-02T10:04:56 | 2017-05-02T10:04:56 | 90,006,247 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,215 | cpp | #define GLEW_STATIC
// glew
#include "GL/glew.h"
// glfw
#include "GLFW/glfw3.h"
// SOIL
#include "SOIL/SOIL.h"
//GLM
#include "glm/glm.hpp"
#include "glm/gtc/matrix_transform.hpp"
#include "glm/gtc/type_ptr.hpp"
#pragma comment(lib, "OpenGL32.lib")
#pragma comment(lib, "../../../dep/lib_x86/debug_static/glew32sd.lib... | [
"qxly_q@qq.com"
] | qxly_q@qq.com |
63eea75b13ebac36d614cd1370066cfa6c2ccfba | a1ad2a60c5a67dc7f3275e287f0de6c15e452aa6 | /core/menu/menu.cpp | 68a0371afe594028cba76324eaf43c84fd2f0150 | [] | no_license | ChoZenTime/LegitInternalSource | 95cc3277242058c4314ea2a9ea641a9d19dc81d7 | ce2be8d10b4c7c9847313679916bda0acb0fd986 | refs/heads/master | 2022-10-07T00:47:44.642527 | 2020-06-11T13:27:38 | 2020-06-11T13:27:38 | 271,831,208 | 0 | 1 | null | 2020-06-12T15:29:13 | 2020-06-12T15:29:12 | null | UTF-8 | C++ | false | false | 5,350 | cpp | #include "menu.hpp"
//todo auto elements positioning
auto do_frame = [&](std::int32_t x, std::int32_t y, std::int32_t w, std::int32_t h, color bg, color header_text, color header_line, const std::string& name) {
render::draw_filled_rect(x, y, w, h, bg);
render::draw_filled_rect(x, y, w, 30, header_text);
render... | [
"65666375+clem45@users.noreply.github.com"
] | 65666375+clem45@users.noreply.github.com |
ecb9a87a090102cc247fc3260f4a8933b83a7f38 | 4e7ec3b0c599efd987ecaf31de329558b13ca7ee | /src/AlarmWatch.h | 5d0d24f7fa3f7dc702ff9bd7a1dc2375ca46d4b9 | [] | no_license | GitMatti/ArduAlarmWatchSample | 0000b6af7430a8a7f94b4b7dbbcafb7d79c3717e | 8b4024e1b883f45ed6f08c4fbede677233ee3a3e | refs/heads/main | 2023-03-30T04:11:16.261003 | 2021-04-05T17:24:42 | 2021-04-05T17:24:42 | 354,902,229 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 800 | h | #include "WeekTime.h"
#include "AlarmChannel.h"
/// Einfacher Wecker mit bis zu 4 Alarmkanälen
class AlarmWatch
{
private:
const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
LiquidCrystal *lcd;
unsigned long offset;
int channelCount;
AlarmChannel *alarmChannels[4];
public:
/// Erzeugt einen Wecker... | [
"matthias.richter@gradient.de"
] | matthias.richter@gradient.de |
8ed715183d36bfba5fbfb75cc5b2e4ccbe129996 | cb5136307affe2d714877fc02076d1f1802f0a84 | /flame/httpssession.cpp | 1a9b98a6c28ffe2b5750bf1c0c5d72ac81d20cd5 | [
"Apache-2.0"
] | permissive | jwijenbergh/flamethrower | 21f5019e3521c2a79ad2d6cc13c376c00e5d7ec3 | 7be159ff28d8bf0ccc037ae6ef9814d286066b4f | refs/heads/master | 2021-07-18T23:35:54.559316 | 2020-07-16T15:01:33 | 2020-07-16T15:04:57 | 197,210,551 | 0 | 1 | Apache-2.0 | 2019-07-16T14:32:42 | 2019-07-16T14:32:41 | null | UTF-8 | C++ | false | false | 12,659 | cpp | #include <algorithm>
#include <cstring>
#include <iostream>
#include "httpssession.h"
static ssize_t gnutls_pull_trampoline(gnutls_transport_ptr_t h, void *buf, size_t len)
{
auto session = static_cast<HTTPSSession *>(h);
return session->gnutls_pull(buf, len);
}
static ssize_t gnutls_push_trampoline(gnutls_t... | [
"jeroenwijenbergh@protonmail.com"
] | jeroenwijenbergh@protonmail.com |
556ff1d6391b7b6b36239a1a8a0fcadc3ce8477d | c14356d4bd1cb3535545e87beac368d35a2d97ed | /FSM/TypeElem.h | 539e328eaeca9e0b553ca76f9f97a15ec59a80dc | [] | no_license | AllenWang0217/UseDSLToImplementASimpleFSM | 1b1695c8feede83f92dc05d41168955f7fbbe0cf | af660af39e355dded05b792bd3b2c3bd173db1a6 | refs/heads/master | 2021-01-20T14:36:07.870835 | 2017-06-07T15:08:34 | 2017-06-07T16:07:53 | 90,636,378 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 150 | h | #pragma once
template<typename H, typename T>
struct TypeElem
{
using Head = H;
using Tail = T;
};
#define __type_elem(...) TypeElem<__VA_ARGS__> | [
"allen_wang0217@sina.com"
] | allen_wang0217@sina.com |
41cdaddd7e6566214fcd2d59476c040c045f3873 | 0b64e7d44ab3dce171cb3b7cb0063b6b40e34dd1 | /SLinkedList.h | 70a097b131469f744d123ba79a5f00eab528e2e7 | [] | no_license | wahibkamran/Stack-Queue-SinglyLinkedList | 8b691f8c12e89d90ff37530cab99d366f2fed173 | bcc644b6fe1ba3603d5667f32583f1dc808106d2 | refs/heads/master | 2020-04-19T05:03:18.463675 | 2019-01-28T15:29:31 | 2019-01-28T15:29:31 | 167,977,292 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 522 | h | #ifndef SLINKEDLIST_H_INCLUDED
#define SLINKEDLIST_H_INCLUDED
#include <stdio.h>
#include <string>
#include <iostream>
using namespace std;
class SNode
{
private:
SNode* next;
int data;
friend class SLinkedList;
public:
SNode(int val) {data=val;}
};
class SLinkedList
{
... | [
"wahibkamran@nyu.edu"
] | wahibkamran@nyu.edu |
5bed93bee9161e7a1a6dd2eae4dbb7cf7d6c9794 | 219c496b4269879763a9cbb2f67bb07f923c2027 | /imgprocess/shell/ui/hotkeytabledialog.cpp | 5bb94bd2c1dffdaafff9aa825f83ddabd8299af9 | [] | no_license | wuyougongzi/imgProcess | cb670e6738d1c39654aeb5ab47bcfce4c5b88699 | 9a8ac006239c12b1b46578150013191821becef7 | refs/heads/master | 2020-12-29T02:24:59.952265 | 2017-12-02T13:23:22 | 2017-12-02T13:23:22 | 35,098,933 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 766 | cpp | #include "hotkeytabledialog.h"
#include "ui_hotkeytabledialog.h"
#include <Windows.h>
HotKeyTableDialog::HotKeyTableDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::HotKeyTableDialog)
{
ui->setupUi(this);
}
HotKeyTableDialog::~HotKeyTableDialog()
{
delete ui;
}
bool HotKeyTableDialog::winEvent... | [
"1211385701@qq.com"
] | 1211385701@qq.com |
c8b80a3875f6fd6edf4c87fe8fb582cef0de44c0 | 864c2d9c3cf67666ba1ed0d7ad08b316fb10fea6 | /d02/ex01/Fixed.cpp | 2e44e05069292aa489c9f23f097d4aeb22a04f92 | [] | no_license | VolodymyrShkykavyi/cpp_piscine | 14669be4d8c3798f660f91760883e2b70bca6616 | ff0b9397877ba0eb0434380643c23d66d5a87b93 | refs/heads/master | 2020-03-20T23:44:23.999475 | 2018-10-13T12:33:49 | 2018-10-13T12:33:49 | 137,860,605 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,137 | cpp | #include "Fixed.hpp"
Fixed::Fixed()
{
std::cout << "Default constructor called" << std::endl;
this->_value = 0;
}
Fixed::Fixed(Fixed const &number)
{
std::cout << "Copy constructor called" << std::endl;
*this = number;
}
Fixed::Fixed(int const number): _value(number << Fixed::_fract)
{
std::cout << "Int c... | [
"volodymyr.shkykavyi@gmail.com"
] | volodymyr.shkykavyi@gmail.com |
cf013186be8e955c00dedeb24d26ee57c7245341 | 8c45d7267931d8a6869041053e5d232b5c258187 | /Implementação/Companhia.h | d80f5d4e53ab314a46e2f7bcd8eb25cd9d967f09 | [
"MIT"
] | permissive | carlosmccosta/Airport-Management-System | 92566ead23fac020015a393f6e6c55768a690fec | bdeecdec8cc077ce7d8e8fda4298345ba5f0d47f | refs/heads/master | 2021-01-10T13:27:09.187911 | 2015-10-11T16:37:11 | 2015-10-11T16:37:11 | 44,049,529 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 4,968 | h | /**\file Companhia.h
* \brief Classe que contém informação associada a uma Companhia.
*
* PROJECTO: Projecto 2 - Gestão do embarque dos passageiros num aeroporto (check-in/embarque) \n
* FICHEIRO: Companhia.cpp \n
* DESCRIÇÃO: Classe que contém informação associada a uma Companhia Aérea. \n
*
* TURMA / GRUPO: 2M... | [
"carloscosta.cmcc@gmail.com"
] | carloscosta.cmcc@gmail.com |
b725333593842fe0c8910c5881c5d06cc1d5608c | 855a0e6571af91a2f5605dbd0f9d8d64479b2cad | /common/SEServiceHelper.cpp | 9bab511845de4d517fffd1faa8f425a090a93d95 | [
"Apache-2.0"
] | permissive | tizenorg/framework.system.smartcard-service | fa39c03eca390905d84dae7dc1869795380dbcef | 2414320e7b8eb504dda28a8216d34174bcbeefb1 | refs/heads/master | 2016-09-12T12:53:15.142628 | 2012-08-22T12:36:29 | 2012-08-22T12:36:29 | 56,109,259 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,250 | cpp | /*
* Copyright (c) 2012 Samsung Electronics Co., Ltd 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 ... | [
"neueziel.lim"
] | neueziel.lim |
28335a4e717b00f7f120520df43621c608bb1cc7 | 350ae5f1f96a9f281811dc57f4d2436603f489f1 | /Portage.cpp | cb41daf3d1bdf4cf474c5086de0b7451c89db4cb | [] | no_license | cjwijtmans/Qentoo | 36e9ff64fa3ddb8ab26d804ae0a3d1d4e7e18f96 | d340423d32c8c4d1d0eedee43974f65e24fc3f49 | refs/heads/master | 2021-01-10T13:06:52.844760 | 2013-07-18T12:16:22 | 2013-07-18T12:16:22 | 8,506,204 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,031 | cpp | #include "Portage.hpp"
#include <QDebug>
#include <QProcess>
Portage::Portage()
{
PortageParser::Repositories repositories = m_Parser.getRepositories();
for(PortageParser::Repositories::const_iterator iter = repositories.constBegin(); iter != repositories.constEnd(); ++iter)
{
Repository repositor... | [
"cj.wijtmans@gmail.com"
] | cj.wijtmans@gmail.com |
92284fa972d52ea6e3654beb799128a0f1aae29e | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/pdfium/core/fpdfapi/cmaps/CNS1/B5pc-V_0.cpp | b7a17a522cd4aa298c940cf6ec5fa50797970ab9 | [
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later",
"BSD-3-Clause"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 661 | cpp | // Copyright 2014 The PDFium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "core/fpdfapi/cmaps/CNS1/cmaps_cns1.h"
namespace fxcmap {
const uint16_t kB5pc_V_0[12... | [
"jengelh@inai.de"
] | jengelh@inai.de |
d5387ef555a0103d0193fc25b02a330b8473dd8d | 1e7bf8d43d8cb417cd32492a7f32701df896dad9 | /src/Epidemic.cpp | 962716c4c747e7f46b8eea686473c4073947b30a | [] | no_license | sheeco/sim | 7ca6d1284fb8240d78c41e5812a04623509a71fd | 58cd9127d1bedcc7518cb575604babd8986c77ed | refs/heads/master | 2021-01-19T21:58:11.286846 | 2018-06-10T17:34:19 | 2018-06-10T17:34:19 | 45,496,887 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 11,988 | cpp | #include "Epidemic.h"
#include "Global.h"
#include "Configuration.h"
#include "Node.h"
#include "Sink.h"
#include "SMac.h"
#include "HDC.h"
#include "PrintHelper.h"
// //在特定时槽上发送数据
// //注意:必须在调用UpdateNodeStatus之后调用此函数
// static void SendData(int now);
CEpidemic::CEpidemic()
{
}
CEpidemic::~CEpidemic()
{
}
vector<... | [
"sheeco@live.com"
] | sheeco@live.com |
2c63e9dd7f19594cad70ecf8b73e6bad1f1a7bc0 | dcab97ae22c4b935191dabc56024c657ab0a56e9 | /python code/find_face_landmarks-master/sfl_viewer/sfl_viewer_states.cpp | 1de81fb52829acb4599e152b77a9b81dd10c28a9 | [] | no_license | AkashSrivastava/PoseInvariantFaceRecognition | c2654bb006122b779172ad2f980040f443361497 | ad1acb6d08812c14284a50f449d5356eb8a4b126 | refs/heads/master | 2021-05-15T11:20:27.904135 | 2020-04-04T09:33:04 | 2020-04-04T09:33:04 | 108,314,331 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,706 | cpp | #include "sfl_viewer_states.h"
#include "sfl_viewer.h"
#include <iostream>//
// Boost
#include <boost/filesystem.hpp>
// Qt
#include <QTimer>
#include <QMessageBox>
using namespace boost::filesystem;
namespace sfl
{
ViewerSM::ViewerSM(Viewer * _viewer) : viewer(_viewer)
{
}
Inactive::Inactive(my_c... | [
"akashsrivastava436@gmail.com"
] | akashsrivastava436@gmail.com |
147f642790d2324db2a40741c609e8b59b912558 | 7fa4b0bbe1fb3f52027ebcbe82679df39c1a3da9 | /src/wbem/logic/LayoutStep.h | ad5e78b8b7198348d2f081f8e15b921acf132df6 | [
"BSD-3-Clause"
] | permissive | nkothapa/IXPDIMMSW | 1c0f985cbae8709c2a3d8dcbbaed1341ed2be704 | 3fd90f97425b0efe767ae8f4ba2c14df8dca1e47 | refs/heads/master | 2021-01-14T10:52:16.837065 | 2016-05-10T10:46:04 | 2016-05-10T10:46:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,845 | h | /*
* Copyright (c) 2015 2016, Intel Corporation
*
* 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 conditions and the... | [
"nicholas.w.moulin@intel.com"
] | nicholas.w.moulin@intel.com |
d434f3bf3809789c789f8e6a677c63626e567dc3 | 1fd33efcea837bb2ffcd32fcdceee78e246e1414 | /mediatek/platform/mt6572/hardware/camera/core/featureio/pipe/aaa/isp_tuning/paramctrl/paramctrl_lifetime.cpp | b0653e1250cdb8460faf8929cb7acff5f2dc846b | [] | no_license | rock12/android_kernel_xbasic | cda1c5a956cf8afdc6b9440cefd84644e4bfd7b5 | 38d09253ba7ef2e7e4ba2ee7f448a04457159ddb | refs/heads/master | 2021-01-17T08:38:46.441103 | 2016-07-01T19:36:39 | 2016-07-01T19:36:39 | 62,417,176 | 2 | 0 | null | 2016-07-01T20:07:19 | 2016-07-01T20:07:19 | null | UTF-8 | C++ | false | false | 9,953 | cpp | /* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein
* is confidential and proprietary to MediaTek Inc. and/or its licensors.
* Without the prior written permission of MediaTek inc. and/or ... | [
"yugers@gmail.com"
] | yugers@gmail.com |
bbfb497cfbb389d81aa0e818308f641657d4a58d | ba065a9c2f6d4f187c0c6ae772ae171b5edcc3eb | /sketch_apr12a/sketch_apr12a.ino | c921a9217ef334ecdcea3d0f767705b05464c9ab | [] | no_license | hjh010501/dimigo-microprocessing | 8db07154052493b1548ec7c19ab37012bb0add8b | 894102ee6bbebabb32b868e30d0399d7c21481a4 | refs/heads/master | 2020-05-17T05:32:43.988007 | 2019-04-26T01:49:47 | 2019-04-26T01:49:47 | 183,537,146 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,352 | ino | int p = 5;
int sw = 3;
int led1 = 9;
int led2 = 10;
int led3 = 11;
void setup() {
// put your setup code here, to run once:
pinMode(p, OUTPUT);
pinMode(led1, OUTPUT);
pinMode(led2, OUTPUT);
pinMode(led3, OUTPUT);
pinMode(sw, INPUT_PULLUP);
}
void loop() {
// put your main code here, to run repeatedly:
... | [
"hjh010501@naver.com"
] | hjh010501@naver.com |
a1fdf7849e1464c40e6f71a94f51f47517d92bfa | cd527908c157b027e41cb16b17f0426b4367bb2a | /depthview2/src/version.cpp | aaf6d2b3863d1a41fba42dc5608f451547136f05 | [
"MIT"
] | permissive | chipgw/depthview2 | 69f0a6f5d7c019cf35e91833f0cc38133ec25b9b | 444e1af861143447d99d887c8aeb6cf326b0f503 | refs/heads/master | 2020-04-12T08:48:44.060425 | 2019-03-13T17:57:03 | 2019-03-13T18:20:04 | 40,026,162 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 959 | cpp | #include "version.hpp"
namespace version {
const QVersionNumber number = QVersionNumber::fromString(VERSION);
#ifdef NDEBUG
const char* build_type = "Release";
#else
const char* build_type = "Debug";
#endif
#if defined(__clang__)
const char* compiler = "Clang/LLVM";
#elif defined(__ICC) || defined(__INTEL_COMPILER)... | [
"gw.chip.gw@gmail.com"
] | gw.chip.gw@gmail.com |
ab9249e598235b659923252ec5db914b2775c5c2 | 48da3cf76d6932e643824e8538bfad5529cf335a | /branches/20180201/center_server/country/country_common.hpp | 13df46abc044f29619f6c6bea175384d6975a7da | [] | no_license | daxingyou/sg_server | 932c84317210f7096b97f06c837e9e15e73809bd | 2bd0a812f0baeb31dc09192d0e88d47fde916a2b | refs/heads/master | 2021-09-19T16:01:37.630704 | 2018-07-28T09:27:09 | 2018-07-28T09:27:09 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 263 | hpp | #ifndef __CENTER_COUNTRY_COMMON_H__
#define __CENTER_COUNTRY_COMMON_H__
#include <map>
#include "macros.hpp"
#include "common.pb.h"
enum EM_BID_STATE
{
EM_BID_STATE_NONE = 0, // 没开始竞价
EM_BID_STATE_BIDING = 1, // 正在竞价
};
#endif | [
"major@fun2"
] | major@fun2 |
a4ab5a8d0f23cfc344b928c3f7397534e6d7660d | 83bacfbdb7ad17cbc2fc897b3460de1a6726a3b1 | /v8_4_8/src/elements.cc | 7eafe9bfaf4a40b2ae275e3c29f56d85ababf739 | [
"Apache-2.0"
] | permissive | cool2528/miniblink49 | d909e39012f2c5d8ab658dc2a8b314ad0050d8ea | 7f646289d8074f098cf1244adc87b95e34ab87a8 | refs/heads/master | 2020-06-05T03:18:43.211372 | 2019-06-01T08:57:37 | 2019-06-01T08:59:56 | 192,294,645 | 2 | 0 | Apache-2.0 | 2019-06-17T07:16:28 | 2019-06-17T07:16:27 | null | UTF-8 | C++ | false | false | 100,003 | cc | // Copyright 2012 the V8 project 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 "src/elements.h"
#include "src/arguments.h"
#include "src/conversions.h"
#include "src/factory.h"
#include "src/messages.h"
#include "src/obje... | [
"22249030@qq.com"
] | 22249030@qq.com |
7b1656ae65474729beac3df9e1ff1cf19e4d6f7d | aab7eafab5efae62cb06c3a2b6c26fe08eea0137 | /weeeksall/week12oct/doublemisidanalysis/pionpionsample/trynonegpion.cc | 0a9917808c4b783730b1bb43a593f6379e4fad7b | [] | no_license | Sally27/B23MuNu_backup | 397737f58722d40e2a1007649d508834c1acf501 | bad208492559f5820ed8c1899320136406b78037 | refs/heads/master | 2020-04-09T18:12:43.308589 | 2018-12-09T14:16:25 | 2018-12-09T14:16:25 | 160,504,958 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 21,723 | cc | #include<iostream>
#include<algorithm>
#include "TH1F.h"
#include "TH3F.h"
#include "TCanvas.h"
#include "TFile.h"
#include "TTree.h"
#include "TLorentzVector.h"
#include "TVector3.h"
#include "TBranch.h"
#include "TRandom.h"
#include "TBranch.h"
#include "TString.h"
using namespace std;
class DataSample {
public:
... | [
"ss4314@ss4314-laptop.hep.ph.ic.ac.uk"
] | ss4314@ss4314-laptop.hep.ph.ic.ac.uk |
babcbebe04135d534812880f8e2b0db8bbfd19d2 | 8380b5eb12e24692e97480bfa8939a199d067bce | /Carberp Botnet/source - absource/pro/all source/BlackJoeWhiteJoe/include/rdf/nsIRDFInMemoryDataSource.h | 56b187b116d2696c167d0401c28bd3f20056f8e2 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | RamadhanAmizudin/malware | 788ee745b5bb23b980005c2af08f6cb8763981c2 | 62d0035db6bc9aa279b7c60250d439825ae65e41 | refs/heads/master | 2023-02-05T13:37:18.909646 | 2023-01-26T08:43:18 | 2023-01-26T08:43:18 | 53,407,812 | 873 | 291 | null | 2023-01-26T08:43:19 | 2016-03-08T11:44:21 | C++ | UTF-8 | C++ | false | false | 3,039 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM e:/builds/moz2_slave/mozilla-1.9.1-win32-xulrunner/build/rdf/base/idl/nsIRDFInMemoryDataSource.idl
*/
#ifndef __gen_nsIRDFInMemoryDataSource_h__
#define __gen_nsIRDFInMemoryDataSource_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
#ifnd... | [
"fdiskyou@users.noreply.github.com"
] | fdiskyou@users.noreply.github.com |
ffef25e449d6f600551748b4342ae34db88e26ca | 782014bdfa4c2ccc3497bddf1c36a529a131e064 | /Report/17-09-14_SpecBasedTesting/21360040/Practice/StateTransitionTest/testframework/swut/swut_main.cpp | b27fcbb5162124604cfc095d2e8e1668e6fff61c | [] | no_license | kwonyulchoi/yc_2017_swtesting | 0106409b3dbb6f9f0d13bb93d96ab07463304612 | ac589aa4f0d844f7102a95867587916eff55401d | refs/heads/master | 2021-01-21T00:05:41.072312 | 2017-11-09T08:09:40 | 2017-11-09T08:09:40 | 101,859,626 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,434 | cpp | #include <gtest/gtest.h>
#include "libmodule.h"
#include "fsm.h"
#include "fsm_turnsteel.h"
// 스테이트 생성
// 잠김상태 ; state_locked
State state_locked(&on_locked_enter, &on_locked_exit);
// 풀림상태 ; state_unlocked
State state_unlocked(&on_unlocked_enter, &on_unlocked_exit);
class FSMTest : public testing::Test {
prote... | [
"jk620815@gmail.com"
] | jk620815@gmail.com |
cfa0f973a3bb30730569fc7e2accbf4aa5be729e | 2e33d336e376c5013842ab16350a73df3e4da39c | /src/trophic_chains.cpp | 6d97ec958157f5f62f90885981d46db107c928f8 | [] | no_license | dsfernandez/cheddar | d0ceb6229278b50bc03a264e4815d740aba7d12e | f9090d4df4df10fc1a64fc8c995668c432474bf4 | refs/heads/master | 2021-04-15T05:09:32.210059 | 2017-04-21T14:25:39 | 2017-04-21T14:25:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,574 | cpp | // visit unique chains in food webs.
#include <R.h>
#include <vector>
#include <queue>
#include <map>
#include <algorithm>
#include "cheddar_exception.h"
typedef std::vector<int> IntVector;
// Define DEBUG_TC to get lots of debug output
//#define DEBUG_TC
#ifdef DEBUG_TC
#define DEBUG(X) { X; }
#else
#define DEBUG(X)
#... | [
"quicklizard@googlemail.com"
] | quicklizard@googlemail.com |
35a8393e8ece08176e51a5bec1160f8809bc2e81 | 768316ed72470715e641fda62a9166b610b27350 | /03-CodeChef-Medium/349--Coin Partition.cpp | 1ba6e55698d68a32584d956da820ddf6a1f78e46 | [] | no_license | dhnesh12/codechef-solutions | 41113bb5922156888d9e57fdc35df89246e194f7 | 55bc7a69f76306bc0c3694180195c149cf951fb6 | refs/heads/master | 2023-03-31T15:42:04.649785 | 2021-04-06T05:38:38 | 2021-04-06T05:38:38 | 355,063,355 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,053 | cpp | #include <bits/stdc++.h>
using namespace std;
const int md=(int)1e9+123;
inline void add(int &a,int b){
a+=b;
if(a>=md)
a-=md;
}
inline void sub(int &a,int b){
a-=b;
if(a<0)
a+=md;
}
int main(){
ios_base::sync_with_stdio(false);
cin.tie(0);
int tt;cin>>tt;
while(tt--){
int n;cin>>n;
v... | [
"dhneshwod@gmail.com"
] | dhneshwod@gmail.com |
f2ad253479e3c1f7d9ca58acc72cc9eb6005ffb8 | b5975f01e42ba02b676bcdd9cbc5449b5087acaf | /src/load_plugin.cpp | 528901f96ac05c73e680a01327309a7040850d0e | [
"BSL-1.0"
] | permissive | satyaki3794/hpx_scheduler_plugin | 806185a1545313351f43445821a11e6fee0c9c62 | 06e576de2fc0c57937c818214be6635d0f15c34e | refs/heads/master | 2020-04-01T17:47:16.996673 | 2016-06-30T06:23:14 | 2016-06-30T06:23:14 | 60,599,197 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,307 | cpp | // Copyright (c) 2016 Hartmut Kaiser, Satyaki Upadhyay
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// This executable dynamically loads a shared library and asks it to create
// one instance for each of t... | [
"satyaki3794@gmail.com"
] | satyaki3794@gmail.com |
a0f2efb538a1020f744b8925a04cb26b5a0ed919 | 40c0d5aab8e6479193b1892a0d2c0a52c6c073e4 | /LTC6804/LTSketchbook/LTSketchbook/libraries/LT_SMBUS/LT_SMBusARA.h | b62e977cbf7c3145495d54fe08cfb853288f7ed5 | [] | no_license | edewit2/SunstangBPS | 090ccba0ee96d56a3ed74cce8088a4cd081ad2a3 | e03d23110c805801b67535920344bdc4055d5f31 | refs/heads/master | 2021-01-22T19:41:33.914177 | 2017-04-04T02:10:22 | 2017-04-04T02:10:22 | 85,222,657 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,295 | h | /*!
LTC PSM ARA Handling
@verbatim
Representation of a device and its capabilities.
@endverbatim
REVISION HISTORY
$Revision: 3845 $
$Date: 2015-08-24 14:11:21 -0600 (Mon, 24 Aug 2015) $
Copyright (c) 2014, Linear Technology Corp.(LTC)
All rights reserved.
Redistribution and use in source and binary forms, with or... | [
"edewit2@uwo.ca"
] | edewit2@uwo.ca |
6b5d77b23fc7af18cd1e606db77ee88595a05114 | 97ba2181ee73759139b56676d9372946a52715ae | /src/object/C4Object.cpp | 8b7f9bc167a4d6d2b0ab9cdc6bb9533950b5e944 | [
"ISC",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | notprathap/openclonk-5.4.1-src | 18dd847e3432dce72c7c6b2eeb083487139f08c5 | 49f63f9b832cef617ef815552bf37536bc22574b | refs/heads/master | 2020-03-30T10:24:14.015343 | 2014-11-24T12:19:22 | 2014-11-24T12:19:22 | 27,074,589 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 153,092 | cpp | /*
* OpenClonk, http://www.openclonk.org
*
* Copyright (c) 1998-2000, Matthes Bender
* Copyright (c) 2001-2009, RedWolf Design GmbH, http://www.clonk.de/
* Copyright (c) 2009-2013, The OpenClonk Team and contributors
*
* Distributed under the terms of the ISC license; see accompanying file
* "COPYING" for detai... | [
"notprathap@gmail.com"
] | notprathap@gmail.com |
5918c8881f0f7845b6224640bbdeb8668016e6fc | 21838a0e840c641687250decf9726db5e549a1f4 | /DefaultWindows/Client/Effect.cpp | 83767d81d97ea629feb6ab9767c8617535b89ca4 | [] | no_license | isr02220/Tengai08 | ac4bf537058e289291a34cebcb245f9fb24108f7 | 848accff2b7ce756e8532f5c1e497c5635026942 | refs/heads/master | 2022-12-01T14:22:59.537598 | 2020-08-14T05:58:33 | 2020-08-14T05:58:33 | 286,426,911 | 2 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 2,998 | cpp | #include "Effect.h"
#include "Bullet.h"
#include "Particle.h"
#include "Player.h"
#include "Monster.h"
CEffect::CEffect(const FLOAT& _degree, const FLOAT& _speed, const FLOAT& _diffuse, const UINT& _count, const LONG& _size)
: CObj()
, degree(_degree), diffuse(_diffuse), count(_count), size(_size) {
objectType = OB... | [
"isr02220@gmail.com"
] | isr02220@gmail.com |
98efcef3c1e95fc96e4220fb795af0226e9c6f55 | 95b386b63e2f447c9661a74c3f762f29354a31ca | /thesis_examples/chapter3/section3/hpx_queue_template_migrable/myqueue.hpp | 72fea8c5df81e89b7c7e2b48d217aefab21c9ed8 | [] | no_license | tiagofgon/hpx_examples | 37baf0b9e96dcf16a6f30968029cf32c3fd83d13 | 87de76e3ceb7a81def501e42ed2c92b21a35104d | refs/heads/main | 2023-02-22T21:23:36.329548 | 2021-01-28T00:48:03 | 2021-01-28T00:48:03 | 304,325,100 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,848 | hpp |
#include <hpx/hpx.hpp>
#include <queue>
template <typename T>
class MyQueue: public hpx::components::migration_support< hpx::components::component_base<MyQueue<T>> >
{
public:
friend class hpx::serialization::access;
typedef hpx::components::migration_support< hpx::components::component_base<MyQueue<T>> > ... | [
"tiago.fg@outlook.com"
] | tiago.fg@outlook.com |
3d01d45a2e0505497dcaf8d1886154bcb7bcbbc0 | 817dc9bebf0d278fcf474f31a77cb23ada61056c | /QL/CommonClass/ClassDB/DBP_Planning.cpp | 9f9fcb496e7c7dcbe582a04f436d8df6b528e3be | [] | no_license | dudugi/NewForTortoise | 6f7d82cea00b49af3c38f1e332937ce3edf894b4 | 685ba32e8d7ee16c22f115b681a21f3d4e3fddf8 | refs/heads/master | 2022-02-08T11:56:42.102049 | 2022-01-25T07:02:47 | 2022-01-25T07:02:47 | 196,016,007 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 12,001 | cpp | #include "StdAfx.h"
#include "DBP_Planning.h"
IMPLEMENT_SERIAL(CDBP_PlanningData, CDataMid, 1)
IMPLEMENT_SERIAL(CDBP_PlanningList, CDataListMid, 1)
CDBP_PlanningData::CDBP_PlanningData(void)
{
ResetData();
}
CDBP_PlanningData::~CDBP_PlanningData(void)
{
}
void CDBP_PlanningData::ResetData()
{
m_nID ... | [
"du_chen_hi@126.com"
] | du_chen_hi@126.com |
226f925e2792d61788231be2227942ba233b497f | 27b6bd7a4e219df70d47a971230c26acd6b95cd0 | /JJson.h | f944a84f091f1349c0f7d047a31d6b3460f8980d | [] | no_license | lw000/ldb_demo | ad32c201235c8e90d407eee07168bdd9afefbf0f | 69d1a25b393e9b2d796b8d7e932d890c00e4c3c4 | refs/heads/master | 2020-08-22T20:02:58.621814 | 2019-10-22T07:38:42 | 2019-10-22T07:38:42 | 216,469,192 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 84 | h | #pragma once
class JJson
{
public:
JJson();
~JJson();
public:
void Test();
};
| [
"373102227@qq.com"
] | 373102227@qq.com |
4b3a62625f25f969b4cb2a65c1583a1f63d38fbc | dbd7e25b0a117205550245bdc4656c19eded713e | /Project-3/BareMinimum.ino | 242b8af4a99baf761f65329c0cc014b0fa54618a | [] | no_license | jessicanathania/IMK | b011ee28816d3fd440bb60be467fbb898331346b | 56740bab64581c9cb26b8945facb298efc6965ef | refs/heads/master | 2021-01-21T13:57:03.431081 | 2016-05-18T12:40:58 | 2016-05-18T12:40:58 | 52,497,668 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 132 | ino | void setup() {
// Ini dibiarkan kosong saja gan.. hehehehehe
}
void loop() {
// Ini juga dikosongkan saja gan.. hihihihihihi
}
| [
"jessica.nathania1995@gmail.com"
] | jessica.nathania1995@gmail.com |
b2c58386989a8d3c9fcad5a788c57855f924f220 | 89ce80be73507b4680f1f5ab083ccaeb2c5be5c2 | /Floyd-Warshall.cpp | 45d530c1a9c891834adce492d2b525c1aeedfb13 | [] | no_license | angelowen/Algorithm | 9bc803e59854d37cc2b25554f98cd6baa7893e75 | f0bfd2c1a5db10a60a42d317f1787eb55110781d | refs/heads/master | 2020-06-13T03:02:57.357924 | 2019-06-30T12:14:20 | 2019-06-30T12:14:20 | 194,512,023 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,087 | cpp | #include <bits/stdc++.h>
using namespace std;
int w[9][9]; // 一張有權重的圖
int d[9][9]; // 最短路徑長度
int medium[9][9]; // 由i點到j點的路徑,其中繼點為medium[i][j]。
void Floyd_Warshall() {
for (int i = 0; i < 9; i++)
for (int j = 0; j < 9; j++) {
d[i][j] = w[i][j];
medium[i][j] = -1; // 預設為沒有中繼點
}
for... | [
"f12angelo@gmail.com"
] | f12angelo@gmail.com |
ad71736965063a62ced540925cf9dd8bb83ac777 | 4166435508bb5b94885d193f910979536e84af4f | /C++/c++Lab/c++Lab1/Node.h | 3153c394bf23a6bf5226f09ed6c648e76e3b1f78 | [] | no_license | iorilan/Samples | 8c8cb770fdfc2058cb658ac7e5e28f0c1d137528 | 726155b6d934c48506c9b347c1332706e2d3b324 | refs/heads/master | 2021-03-12T19:11:35.345094 | 2018-04-08T09:35:13 | 2018-04-08T09:35:13 | 91,454,657 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,074 | h | #pragma once
////节点类
class Node
{
public:
////methods
Node(void);
Node(int data);
~Node(void);
/////members
Node* next;
int data;
};
////叶子节点类
class TNode
{
public:
////methods
TNode(void);
TNode(int data);
~TNode(void);
/////members
TNode* left;
TNode* right;
int data;
};
////链表类
class MyLinkTable{... | [
"iorilan@hotmail.com"
] | iorilan@hotmail.com |
eb2bae8258ee876beca5c9e070398d425c0a5c8d | 8a089e59fb97a86aae3172d3d1222093e2c7be38 | /Exercise/CA3/deitel_cpp10_sourcecode/deitel_cpp10_sourcecode/ch10/fig10_17_19/HugeInteger.h | d1b5746489f183a5a98e4b34dd4b96393342fcdb | [] | no_license | schemp98/Cpp_Certification_Course | 3e653747d5c92d635b3205e07f59ef21f7f17a3d | 19bbaf460b780eecfcf63a7cc7086e118b3c3bdb | refs/heads/master | 2021-08-08T03:05:01.514460 | 2021-02-17T00:14:49 | 2021-02-17T00:14:49 | 243,670,111 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,929 | h | // Fig. 10.17: Hugeinteger.h
// HugeInteger class definition.
#ifndef HugeInteger_H
#define HugeInteger_H
#include <array>
#include <iostream>
#include <string>
class HugeInteger {
friend std::ostream& operator<<(std::ostream&, const HugeInteger&);
public:
static const int digits{40}; // maximum digits in a Hu... | [
"schemp98@hotmail.com"
] | schemp98@hotmail.com |
cfc80773a90c3b6f74515b3114e58f10f8ec531c | 21a63ea5f349644e7797842b428af4f762032d87 | /Rush00-2/Entity.class.hpp | 8f534541ba0348c6c489d642de4a036dfda78145 | [] | no_license | icareus/pisc-cpp | 1a4a7b2b803fcb5407296a01c30a62de9020a0d4 | 3451b790e3e94b29b917dc3764fe72a162d8e058 | refs/heads/master | 2020-06-02T13:22:14.358844 | 2015-01-14T07:30:57 | 2015-01-14T07:30:57 | 28,852,776 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,669 | hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* gameEntity.class.hpp :+: :+: :+: ... | [
"abarbaro@e2r8p2.42.fr"
] | abarbaro@e2r8p2.42.fr |
d8a9990c68196f1138acf13e9c681b539d2924a3 | 444e376e71b0e60593ee5720e0fcf9617ad5a50c | /C++/自加自减问题.cpp | 799417bbf523030d17234e73f290aa63770f90ac | [
"MIT"
] | permissive | shifushihuaidan/op11 | 740767692dbe890379ce1184f0efda5cf8954243 | b16fd69b5501f914f2312fd4618fd2961cd23135 | refs/heads/master | 2021-01-20T01:03:43.518945 | 2015-08-25T00:53:42 | 2015-08-25T00:53:42 | 41,278,250 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 281 | cpp | #include<iostream>
using namespace std;
int main()
{
float x=1;
float y;
y=(++x)/(++x)/(++x);
cout<<x<<endl;
cout<<y<<endl;
/*int j=5;
int i=j++*((++j+j++)*j--); //j=j+1=6 i=j*((j+j)*j) =432 j=j+1 =7 j=j+1=8 j=j-1=7
cout<<i<<endl;
cout<<j<<endl; */
return 0;
} | [
"1072340870@qq.com"
] | 1072340870@qq.com |
dee9c53efbeacdc4d3d2b5c2e359fc95770eb3a3 | 8992bfd3ae4d5427d5e5ff8343056f5cc8c87d3e | /cpuv2/fpu_4clk/test/src/common.cpp | aa9db449865a27f574255561c13238e177d5577b | [] | no_license | ksk9687/cpuex-cpu | ec28e796d1c7b524b45d581018af839c74a4cf69 | 17a2d408e4663aa71f632bdbd5d646f34a9a5c42 | refs/heads/master | 2021-01-18T13:49:39.038999 | 2012-09-09T18:29:39 | 2012-09-09T18:29:39 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,098 | cpp | #include <cstdio>
#include <cstdlib>
#include <cmath>
#include "common.hpp"
int is_normalized(float f) {
myfloat mf;
mf.f = f;
return 1 <= mf.e && mf.e <= 254;
}
float make_float(uint s, uint e, uint m) {
uint t = (s << 31) | (e << 23) | m;
return *(float*)(void*)&t;
}
float make_rand... | [
"none@none"
] | none@none |
178af19645ba47a47979d9d65eea02457b3c02f1 | ed0603e9cfcd498fad620782dde0aca6200c7477 | /fpp/fppmodels/201208431.1/SDSS_r.cc | 82eec7dcbd333f7f91707d20464dc1d7c75ea71e | [] | no_license | benmontet/k2-characterization | 79f65c54e17024b4d270dd5c9aa03d0a0760c4f6 | 3f78801dfbfe4346ff4c7f5e2939b7d947751053 | refs/heads/master | 2021-01-01T05:30:47.939190 | 2015-06-22T21:01:19 | 2015-06-22T21:01:19 | 31,000,961 | 0 | 0 | null | 2015-03-05T21:00:11 | 2015-02-19T04:17:59 | TeX | UTF-8 | C++ | false | false | 250 | cc | 2.799999999999999822e+00 7.909000000000000696e+00
4.000000000000000000e+00 7.909000000000000696e+00
8.000000000000000000e+00 7.909000000000000696e+00
1.200000000000000000e+01 7.909000000000000696e+00
2.500000000000000000e+01 7.909000000000000696e+00
| [
"tim.morton@gmail.com"
] | tim.morton@gmail.com |
61ea8da7c7af138425a0579a8590bbe35d6d8128 | c0efd4ec01395b6a1404357f0d9a365294206012 | /Libraries/LibBareMetal/IO.h | 860753e155bdadc314beefd4be70ed1deaec781b | [
"BSD-2-Clause"
] | permissive | Mindavi/serenity | b546484539c4b12878cb5ce65c5c409715c5bc74 | e9c65b6566d3cc7fc6f8056cea5619d3ae87b340 | refs/heads/master | 2022-12-12T04:40:13.846020 | 2020-04-13T15:20:47 | 2020-04-13T15:38:27 | 255,405,818 | 0 | 0 | BSD-2-Clause | 2020-04-13T18:07:49 | 2020-04-13T18:07:48 | null | UTF-8 | C++ | false | false | 5,129 | h | /*
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
* 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 noti... | [
"kling@serenityos.org"
] | kling@serenityos.org |
0ae8ddf70eeced7b0d3bc7f0ae06288495df0077 | 082d86eb8a25d12c026162c1a7721ad43b0e7bb7 | /include/D435Camera.h | 96033ac88693fa7afb68044f77970de4ed1f491d | [
"Apache-2.0"
] | permissive | YiChenCityU/OpenARK | 07629008cb7ab4114016d57fc5cbae2ddb836290 | a93754d552abbd956a33b977b40575422f44988c | refs/heads/master | 2020-09-30T09:33:10.378740 | 2019-11-26T05:53:07 | 2019-11-26T05:53:07 | 227,260,741 | 1 | 1 | Apache-2.0 | 2019-12-11T02:40:04 | 2019-12-11T02:40:03 | null | UTF-8 | C++ | false | false | 1,876 | h | #pragma once
// OpenCV Libraries
#include "Version.h"
#include <opencv2/core.hpp>
#include <librealsense2/rs.hpp>
// OpenARK Libraries
#include "CameraSetup.h"
namespace ark {
/**
* Class defining the behavior of a generic Intel RealSense Camera using RSSDK2.
* Example on how to read from sensor and visua... | [
"joemenke@berkeley.edu"
] | joemenke@berkeley.edu |
d94229e72255b96e109bc18c5738a43d48f4d7d0 | 2454b2f778ae2e5116e835c84bf5cfc0d293e62c | /Practica7/15-Texturizado/src/Cylinder.cpp | 0ebc74446666e860319db0dfadacd460cb5fa555 | [] | no_license | jppatricio/Practica6LabCompu | 1e06964d1df52a7ce2117023ac796b9353c0d062 | 611fdb39b7c0dfc59aa1d91f970c12e066e5a54f | refs/heads/master | 2020-04-29T05:15:34.577480 | 2019-03-23T06:46:09 | 2019-03-23T06:46:09 | 175,876,294 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,585 | cpp | #include "Headers/Cylinder.h"
Cylinder::Cylinder(int slices, int stacks, float topRadius, float bottomRadius, float height) {
float stackHeight = height / stacks;
float radiusStep = (topRadius - bottomRadius) / stacks;
int count = 0;
vertexArray.resize((slices + 1) * (stacks + 1) + 2 * (slices + 1) + 2);
index.r... | [
"reymar_44@hotmail.com"
] | reymar_44@hotmail.com |
c90502cb913f697fdca6a727f56cd0ad53c8de57 | 13330a7cfa45c3c3d32d2e116a32d602a519c3ea | /Mario_Last/Level1.h | 3d382d6cb7e6f40609f8767e73507cc1e855b66e | [] | no_license | omargamal253/Super-Mario-bros | 986737d5e4a8eba99212d5d5f430a71ff8926c59 | 796a508b60eb97ef2b64a925b757b589be4283e4 | refs/heads/master | 2023-02-18T18:51:23.534422 | 2021-01-21T03:51:04 | 2021-01-21T03:51:04 | 272,838,956 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,719 | h | #ifndef LEVEL1_H
#define LEVEL1_H
#include <SFML/Graphics.hpp>
#include <iostream>
#include<string>
#include<SFML/Audio.hpp>
#include<SFML/System/Time.hpp>
using namespace std;
class Level1
{
public:
int a = 0;
bool b = 0;
int x = 0, y = 0;
const double gravity = 0.4;
int groundHeight = 500;
float mov... | [
"omargamal253@gmail.com"
] | omargamal253@gmail.com |
d349adfbe2f26a2ef8de35e2c4d286fe0b1de63f | 796301ee9758e21ed85577c375885d5168780fbc | /First_assignment_Arduino/12_ultrasonicDistanceSensor.ino | 02bd26a2f9d6843d250e81e2dbe5f223e74b1b47 | [] | no_license | gitLabor8/NDL-TeamWintendo | ec20c49f14cbc26b509c9a8a3be899df251dafe0 | edc6508aa30e2902749bcbc02887135258a70353 | refs/heads/master | 2018-09-06T13:56:29.969285 | 2018-07-18T09:41:19 | 2018-07-18T09:41:19 | 120,478,702 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 582 | ino | /*
* p12-13
* Ultrasonic sensor
* Create weird bliep-blops
*
*/
#define trigPin A2
#define echoPin A1
void setup() {
Serial.begin(9600);
// Defining names for the pins
pinMode(trigPin, OUTPUT);
pinMode(echoPin, INPUT);
}
void loop() {
// Sending pulse
digitalWrite(trigPin, HIGH);
delayMicrosecond... | [
"frank.gerlings@student.ru.nl"
] | frank.gerlings@student.ru.nl |
faebf50065d85f1fc4e1786579a5071e1844a217 | 1aa36cad409fcc3651a28b14737ab97c2cbfbd81 | /UESTC 2019 SummerTraining/Day09-[nowcoder01]/H/sol.cpp | 0cb503740ca9e85b0e804aa57494c49bd37eee6d | [] | no_license | Pengjq0000000/ICPC | 10f1afc8fbe69c27f6dcb1848e52070ca50e5110 | 035923da45082a3253c80288b37cca9d802bbbc8 | refs/heads/master | 2021-07-20T11:18:10.524316 | 2020-05-06T11:17:07 | 2020-05-06T11:17:07 | 154,973,170 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,093 | cpp | #include<bits/stdc++.h>
#define LL long long
#define MEM(x,y) memset(x,y,sizeof(x))
#define MOD(x) ((x)%mod)
#define mod 1000000007
#define pb push_back
#define STREAM_FAST ios::sync_with_stdio(false)
using namespace std;
const int N_bs = 64;
struct LinearBase
{
LL bs[N_bs + 1];
LL num[N_bs + 1];
int tot = ... | [
"2324532557@qq.com"
] | 2324532557@qq.com |
52006dbf2fdd7697cb1a9c82edbad29545116950 | 005b7707bba78f73ddc1d3ea4d5647c02c66fdb7 | /p209_min_size_subarray_sum/min_size_subarray_sum.cc | c29fe68c09f7110c9452be4583ac4dbd3b061536 | [] | no_license | pkuwangh/leetcode | 3942908bd162b159fcb489420a106b8bbe1559cf | 36e52ef7b8bf61170663937ac723c12cfec90f26 | refs/heads/master | 2020-09-16T15:04:50.167112 | 2019-10-05T16:55:55 | 2019-10-05T16:55:55 | 67,662,672 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,318 | cc | /* Given an array of n positive integers and a positive integer s,
* find the minimal length of a contiguous subarray of which the sum ≥ s.
* If there isn't one, return 0 instead.
* For example, given the array [2,3,1,2,4,3] and s = 7,
* the subarray [4,3] has the minimal length under the problem constraint.
*/
#... | [
"pkuwangh@gmail.com"
] | pkuwangh@gmail.com |
db3289ab0a47b5a8b59736c53303a2fcc19b0744 | 4947a7a26a8c2df5932b3e33385b004474aba80e | /C1.cpp | becf24b3ae0f4c7097b9ccb8bdefc5b4c2793825 | [] | no_license | kuron99/mixingRTTI | 76018462f4716498a998ddf51ec0560d9601303f | 3df2908225a64c566ebad0b5eb1a5dbf4b9e48b5 | refs/heads/master | 2020-03-24T20:10:09.256358 | 2018-07-31T05:18:36 | 2018-07-31T05:18:36 | 142,962,961 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41 | cpp | #include "C1.h"
void C1::anchor() {
}
| [
"kuro009900@gmail.com"
] | kuro009900@gmail.com |
4ea54623d28677a8e0b6afe638f09604d4ff2346 | d18c4464af78f715ffc5d5addb1e005d018ca68d | /LSU oj/字符查找.cpp | 9ecec24f2f656050aff6f545d4ad19f6dcb7132c | [] | no_license | xiaoshidefeng/ACM | 508f71ba7da6e603e8c6fbbccfa9d68d497f15a9 | b646ae0a624fc5db2d7ac46b7baef9a2779fef7b | refs/heads/master | 2021-01-19T22:05:47.518409 | 2018-05-14T14:09:51 | 2018-05-14T14:09:51 | 82,564,505 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 232 | cpp | #include<stdio.h>
#include<string.h>
#include<stdlib.h>
int main()
{
char a[1000];
int len1,i,sum=0;
char c;
gets(a);
len1=strlen(a);
scanf("%c",&c);
for(i=0;i<len1;i++)
{
if(a[i]==c)
sum++;
}
printf("%d\n",sum);
} | [
"1330661071@qq.com"
] | 1330661071@qq.com |
76226b94827c5479f8ad7fdd293ee8125f0925d6 | dceff34eaceed8f7a52ea908958645104167e3e1 | /src/backup-redundant-features/combined-extern/model/HyperParams.h | 6c5a65c1745cea38399988ffcc8d0c85feda3e02 | [] | no_license | zhangmeishan/NNRelationExtraction | a100acc0f6c9d5fd0db7686249b647a21ae908b2 | 8efd8173b2503bc75274b2238b2392476a86a8e9 | refs/heads/master | 2021-01-11T19:48:25.552293 | 2017-07-30T13:23:56 | 2017-07-30T13:23:56 | 79,401,948 | 14 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,767 | h | #ifndef SRC_HyperParams_H_
#define SRC_HyperParams_H_
#include "N3L.h"
#include "Options.h"
#include <unordered_set>
struct HyperParams {
Alphabet ner_labels;
Alphabet rel_labels;
unordered_map<string, unordered_set<int> > rel_dir;
int ner_noprefix_num;
unordered_map<string, int> word_stat;
in... | [
"mason.zms@gmail.com"
] | mason.zms@gmail.com |
8618fdcc80946cc52bdaa3414315c5bf757aa386 | e3c126ea17fee019a067ccaa8df32b7a847b9ee4 | /backend/deployments/deployment_wasm/WasmSyncDeployment.cpp | eca6bf75323b72eb05810358c1735cd1aad5355f | [] | no_license | faunX/ogame-2 | 6ba5550ea6c98467412e8305780546108e75d882 | eb175bd7d16f83e670f5cbc5a9375cd5fcd5b506 | refs/heads/master | 2023-08-21T19:50:45.880660 | 2021-04-06T08:31:19 | 2021-04-06T08:31:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,077 | cpp | #include "RnDTime.hpp"
#include "Logger.hpp"
#include "StorageDbFactory.hpp"
#include <iostream>
#include "Configuration.hpp"
#include "Time.hpp"
#include "JsonSerializer.hpp"
#include "SingleInstance.hpp"
#include <emscripten.h>
#include <emscripten/bind.h>
#include "Logger.hpp"
#include "RndRequest.hpp"
#include "Loa... | [
"ujemnypozyton@gmail.com"
] | ujemnypozyton@gmail.com |
eefd9a9e1e1e51767a230ae0093afcbef7e1a386 | e0ad93c6ccbd1aa645bf42af93e23dc8ed8c9b91 | /mt/evaluation/busy-wait.cc | 7637074f3f622534320f93fe55b12e6562cd1f05 | [] | no_license | minuta/grail | 2ff524f084f6dde49f7ae62a095efd1d9b39dbdc | 9cd2b51dfc8e68791e7e0cceb2c96b243a9d5cc2 | refs/heads/master | 2020-04-24T21:28:37.089044 | 2019-03-28T08:33:46 | 2019-03-28T08:33:46 | 172,279,438 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,434 | cc | #include <stdio.h>
#include <pthread.h>
#include <unistd.h>
#include <stdlib.h>
volatile int i = 0; /* i is global, so it is visible to all functions.
It's also marked volatile, because it
may change in a way which is not predictable by the compiler,
... | [
"gammamustang@gmail.com"
] | gammamustang@gmail.com |
678e63899366e237ed7f8b5001d0412f31fd0f92 | 0fd932b31feb0a66fdafa5315bd0ca15c02206c1 | /mainwindow.h | 9c00ae9af05ec092d60bb3e80dd2b7f558ec09c0 | [] | no_license | Guan912/Qtface | cd24d6c3974b91f8f33a4e68ef9490e832c10426 | ac367d5271a89f03687a5e6aa46a3111457f35ba | refs/heads/master | 2020-03-26T05:12:04.093412 | 2018-08-13T07:26:47 | 2018-08-13T07:26:47 | 144,543,443 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 542 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include "videowidget.h"
#include <QDir>
#include <QFileDialog>
#include <Python.h>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
priva... | [
"guanyan912@163.com"
] | guanyan912@163.com |
ec34658a5f0b0690b815a3af0cbc4cd5c21a3520 | 5eb44c593e1528fe5b99b49033d931685a7034e3 | /Dependencies/Theron/Include/External/boost/atomic/detail/gcc-armv6+.hpp | dcccd8b6cd04b9b127b63ad606bed177c23344f6 | [
"Apache-2.0",
"BSD-3-Clause",
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | zh423328/NFServer | 456135359fdc79ee028fac055a371e497c4e036a | 2b94df566a2552366a81bd4c48d6552306b07fc3 | refs/heads/master | 2021-01-17T17:25:17.105508 | 2016-06-25T06:44:09 | 2016-06-25T06:44:09 | 61,927,159 | 2 | 1 | null | 2016-06-25T06:44:10 | 2016-06-25T04:37:53 | C++ | UTF-8 | C++ | false | false | 6,518 | hpp | #ifndef BOOST_DETAIL_ATOMIC_GCC_ARMV6P_HPP
#define BOOST_DETAIL_ATOMIC_GCC_ARMV6P_HPP
// 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)
//
// Copyright (c) 2009 Helge Bahmann
// Copyright (c) 2009 Phil... | [
"elite_yang@163.com"
] | elite_yang@163.com |
7e7e0e098e7f8b762ae7cc9c0bc61f8e7fff002b | 624cfa42681a7d7369a2a65ac413d41569a25a3b | /Classes/enemy.h | ce408504c610ae00c66a69345884f494e4c54595 | [] | no_license | xinyunyxq/gamefight | bd4d894bb905bcf57d0efffb0d2d0b7d8db2ba33 | 925458cb5f6372f10dc69308ec013478b9883d2d | refs/heads/master | 2021-03-12T23:11:09.106626 | 2014-05-08T07:10:59 | 2014-05-08T07:10:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 732 | h | #ifndef __ENEMY_H
#define __ENEMY_H
#include "cocos2d.h"
#include "cocos-ext.h"
#include "FightSceneGlobal.h"
#include "GameConstants.h"
USING_NS_CC_EXT;
USING_NS_CC;
using namespace ui;
class Enemy
{
CC_SYNTHESIZE(EnemyState,_enemyState,enemyState);
CC_SYNTHESIZE(int,_enemySpeed,enemySpeed);
CC_SYNTHESIZE(bool,_i... | [
"tcsyzxyxq@163.com"
] | tcsyzxyxq@163.com |
de5bd73299f6fd5c7ac0f999cf666e1cd27266a8 | 6ced41da926682548df646099662e79d7a6022c5 | /aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/DeleteStepDetails.h | b7e6999fdb4604846d75a5799dcea9eed7b3561e | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | irods/aws-sdk-cpp | 139104843de529f615defa4f6b8e20bc95a6be05 | 2c7fb1a048c96713a28b730e1f48096bd231e932 | refs/heads/main | 2023-07-25T12:12:04.363757 | 2022-08-26T15:33:31 | 2022-08-26T15:33:31 | 141,315,346 | 0 | 1 | Apache-2.0 | 2022-08-26T17:45:09 | 2018-07-17T16:24:06 | C++ | UTF-8 | C++ | false | false | 8,026 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/awstransfer/Transfer_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
f6da6e7a6bd462a78da532a9370ab5cc053a5cbb | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /gpdb/src/model/DescribeDBClusterPerformanceResult.cc | 7e78488ee591e8f324ed6ed0f8e192dd102bfe35 | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 3,586 | cc | /*
* Copyright 2009-2017 Alibaba Cloud 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... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
bd5491e15747fec04394ed2af8a477ed4293e824 | 84eb2efba353daa648dd1098cc41fcd691c616d2 | /src/sdk/stream/requester/incoming_subscribe_stream.cc | fd4e8d248adbcb558397f5169b55b32c36849096 | [
"Apache-2.0"
] | permissive | iot-dsa-v2/sdk-dslink-cpp | 0b435c25349971c4d43b6b85dfbd4c6f91da37e2 | d7734fba02237bd11bc887058f4d9573aac598d8 | refs/heads/develop | 2020-12-02T06:27:00.008341 | 2018-08-02T17:06:28 | 2018-08-02T17:06:28 | 96,830,480 | 1 | 0 | Apache-2.0 | 2018-08-02T17:06:29 | 2017-07-10T23:36:45 | C++ | UTF-8 | C++ | false | false | 2,093 | cc | #include "dsa_common.h"
#include "incoming_subscribe_stream.h"
#include "core/session.h"
#include "message/request/subscribe_request_message.h"
#include "message/response/subscribe_response_message.h"
#include "module/logger.h"
namespace dsa {
IncomingSubscribeStream::IncomingSubscribeStream(ref_<Session>&& session... | [
"rinick@gmail.com"
] | rinick@gmail.com |
e32f59faa1d755ed5bbb3141db1fa11264cc0a4b | 1ce9a4b44ef07c4849b3a22133aee4e4f119ec1b | /Chap08/8.2.cpp | b2f3857af9b20b954eea51d96a858cc8594be125 | [] | no_license | Suraj-Patro/CLRS-cpp | 01c3b1a05f861041ec6bf7dec4726682b4aea800 | 72e0a1410d3b8d901ce4eadaa6b9fb7313affa67 | refs/heads/master | 2022-12-12T17:47:34.605938 | 2020-09-19T16:21:38 | 2020-09-19T16:26:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 424 | cpp | #include "8.2.h"
#include "../print.h"
using namespace CLRS::CH8;
int main() {
print(string("Chapter 8.2 Counting sort"));
cout << "Initialize an array A as Figure 8.2\n";
vector<int> A = {2, 5, 3, 0, 2, 3, 0, 3};
print(A);
cout << "\nInitialize an empty array B as Figure 8.2\n";
vector<int> B(A.size(),... | [
"walkccray@gmail.com"
] | walkccray@gmail.com |
98540b46ae53fe3b00c3eff63f9233451b8c0702 | fe479340153355e43d3ce3f3c3d058b7764d2a98 | /Projects/Plasma/Geometry/MetaNode.cpp | 2b0e3664d0c63297d846ff042cffe3b0e606e703 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | LudoSapiens/Dev | 8496490eda1c4ca4288a841c8cbabb8449135125 | 8ad0be9088d2001ecb13a86d4e47e6c8c38f0f2d | refs/heads/master | 2016-09-16T11:11:56.224090 | 2013-04-17T01:55:59 | 2013-04-17T01:55:59 | 9,486,806 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,876 | cpp | /*=============================================================================
Copyright (c) 2012, Ludo Sapiens Inc. and contributors.
See accompanying file LICENSE.txt for details.
=============================================================================*/
#include <Plasma/Geometry/MetaNode.h>
#include <Pla... | [
"jocelyn.houle@ludosapiens.com"
] | jocelyn.houle@ludosapiens.com |
48b03f3b632a9c59a8cf5ebb84867289650fefc7 | 5a33aad281c9e3e77a69bfb91e2c9bc6999eee2d | /New folder/GameCastleVania_Tahitu/PorkChop.h | 0f7b37de89e065649898c3dcb6bc6b1d4ac50af1 | [] | no_license | ducptd98/NMGame | e353e157ad7e377e9f8bcad6aa2f3bb75bd49704 | f0f2efd49815a72be618b8b484e6dc190a0b60b5 | refs/heads/master | 2021-09-24T14:14:58.872031 | 2018-10-10T05:53:35 | 2018-10-10T05:53:35 | 152,369,782 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 104 | h | #pragma once
#include "Brick.h"
class PorkChop : public Brick
{
public:
PorkChop();
~PorkChop();
};
| [
"37102603+ducptd98@users.noreply.github.com"
] | 37102603+ducptd98@users.noreply.github.com |
af6bdc0de595dbf8aed99434a7ec68000cc4820d | c6c8d5f008c29a3f96488a7d16fe9eaa9d70116e | /lala.cpp | 922adda26737126208e49f2dede1bce997b6e1fc | [] | no_license | animeshkarmakarAK/Computer-Programming | 6ad559ce93ac235d2e499de687199f07ec825b5f | 1b1fb9b5ded7c77352167572efb9ad0b7854380b | refs/heads/master | 2020-05-16T05:52:15.462026 | 2019-07-05T09:19:13 | 2019-07-05T09:19:13 | 182,828,945 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 118 | cpp | #include<bits/stdc++.h>
using namespace std;
string a;
int main()
{
cin>>a;
int m=a.size();
cout<<m;
}
| [
"animesh.pust@gmail.com"
] | animesh.pust@gmail.com |
69224ca2c84da6d9e418b8e9292197544eb2934b | e541d2bc575eb68818c0b2eeeeeabe0de209574f | /src/YouMeCommon/yuvlib/convert_argb.cc | c7f9d510cb5f6f0bd9d28c5428daae1d097e1db9 | [] | no_license | wangscript007/dev | 0d673981718993df0b971a5cd7a262cc217c6d9d | e47da659aadc220883b5e8067b25dc80108876b9 | refs/heads/master | 2022-08-05T00:53:31.844228 | 2020-05-24T05:20:44 | 2020-05-24T05:20:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 50,203 | cc | /*
* Copyright 2011 The LibYuv Project Authors. All rights reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing p... | [
"shuhuan_bruce@icloud.com"
] | shuhuan_bruce@icloud.com |
ff7a1d3e3a4067f7093e39dc6ec00583734c1f1d | 49be2423ad376a89dfc731bbbbc82c4c46fca368 | /5_graph/KosarajuSCC.cpp | b7af68a259ccdfee83d4b263af2df74c83e841b9 | [] | no_license | wind2412/Data-Structure | 731aca083d9ec22da41d5a3e613fee7a15b4b722 | 233f2e33c158223ee472b4f55999943fb1aae7f9 | refs/heads/master | 2021-01-11T21:23:12.874908 | 2017-09-12T03:48:29 | 2017-09-12T03:48:29 | 78,775,246 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,408 | cpp | #ifndef _KOSARAJU_SCC_H_
#define _KOSARAJU_SCC_H_
#include <iostream>
#include "Graph.hpp"
#include <stack>
#include <vector>
using namespace std;
/**
* Kosaraju强连通分量算法。
* 利用了一个图即使reverse了,和原图还是具有相同的强连通分量的性质!
* 非常通俗易懂。ACM之家blog:http://www.acmerblog.com/strongly-connected-components-6099.html
* 有一个图特别易... | [
"944797358@qq.com"
] | 944797358@qq.com |
cd3db08380a7300da12bdea52f40b8928b4960d6 | 21b5398f8368d38cf1c83e81c2112f18c84f5f07 | /Systems Programming/Assignment 2: Random University (C++)/include/PGstudent.h | 2667f638f40518b2d5cab89486ac2ae6c7a569a7 | [] | no_license | efrathaz/my-academic-projects | 04d54e28777590c0cdd65931f97cd6c7ca23a89a | dbfa0ce67c9ae8da859cbd1c76d115a5855036a1 | refs/heads/master | 2021-01-13T01:30:49.945108 | 2015-03-30T14:26:54 | 2015-03-30T14:26:54 | 23,150,428 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 371 | h | #ifndef PGSTUDENT_H_
#define PGSTUDENT_H_
#include "../include/Student.h"
using namespace std;
class PGstudent : public Student{
public:
PGstudent();
PGstudent(vector<Course*> Failed, int ID, string Image, int Current, int CurrentE, int NumOfElective);
PGstudent(const PGstudent &p);
virtual void study(Course &c);
... | [
"efrat.hazani@gmail.com"
] | efrat.hazani@gmail.com |
cacf15bce31677424ae17bdda201edfe3a44298d | e38f304b299896af8ec057f567027dea7380d286 | /pass4/codes/ReportApStats.cc | 102e2362b6ddb840fb48942d7c0e86ae36df94d0 | [] | no_license | rafopar/BumpHunt_2016 | 90b57e93351e7db391f57a11fcd7b28a05d2e64a | f1e551ddbd4c2f3894c31392c31d943a22ece116 | refs/heads/master | 2021-07-01T15:07:07.216477 | 2020-09-24T16:09:50 | 2020-09-24T16:09:50 | 144,508,102 | 0 | 1 | null | 2020-02-16T01:52:18 | 2018-08-12T23:30:42 | C++ | UTF-8 | C++ | false | false | 613 | cc |
void ReportApStats(){
ofstream out("Ap_Stats.dat");
const int n_masses = 29;
int masses[n_masses] = {30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100, 105, 110, 115, 120, 125, 130, 135, 140, 145, 155, 160, 165, 170, 175};
for( int i = 0; i < n_masses; i++ ){
cout<<masses[i]<<endl;
TF... | [
"rafopar@jlab.org"
] | rafopar@jlab.org |
588d8aecc1b9ae01ac2d28d69d9fd9d85012152c | dd749b50623140a601e270b5953b1399bb86cba1 | /include/Withdrawal.h | bf45fb96fe45b0cc2e3056978aafe610d1484a14 | [] | no_license | aramhamidi/ATM | 552e80ed1280a199d8570269d93266950d48a3af | ee2ab090e7162f036b604982ff557208bc354815 | refs/heads/master | 2020-04-12T07:13:57.305927 | 2018-12-19T00:30:36 | 2018-12-19T00:30:36 | 162,361,229 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,039 | h | /**
* @Author: Aram Hamidi <aramhamidi>
* @Date: 2018-08-21T11:49:06-07:00
* @Email: aram.hamidi@getcruise.com
* @Project: Laser_Driver_A53
* @Filename: Withdrawal.h
* @Last modified by: aramhamidi
* @Last modified time: 2018-08-21T11:49:53-07:00
*/
// Withdrawal.h
// Withdrawal class definition. Represent... | [
"aram.hamidi@getcruise.com"
] | aram.hamidi@getcruise.com |
ba861c0ba60838fbe998ae855220376ee20d659c | 8a2bcab4cfea4773778b71998e58c69a72e2f3bd | /main.cpp | 288eaac3ecbb9df1aee1dd19eb619cca29da6349 | [] | no_license | AginSquash/laba3 | d89f56c2b39aeb632865412f307daf383fa1500d | 679868b5079a29ef8eb8243bcdf86de272abcd8f | refs/heads/master | 2020-07-31T02:12:37.870661 | 2019-09-29T13:37:24 | 2019-09-29T13:37:24 | 210,446,201 | 1 | 0 | null | 2019-09-26T19:42:47 | 2019-09-23T20:27:35 | C++ | UTF-8 | C++ | false | false | 2,615 | cpp | #include <iostream>
#include <fstream>
#include <string>
using namespace std;
bool isAnswered = false;
string *updateArraySize(string* p_array, int *size );
void print(string *word, string *antonym);
int main() {
setlocale(LC_ALL, "rus"); // Строка в память о тех, кто пользуется виндой (F)
std::string line... | [
"agins.main@gmail.com"
] | agins.main@gmail.com |
5c2dd5f1796c63c743156becf1637ea44a36fb38 | b2f81aadd492f0fe0046020561510aa9f093cdfb | /run_scan_cos_PD_F1.cpp | 97a5562ea00b42b40b1349c79906050f8502d880 | [] | no_license | zhchenseven/Computational_Physics_Wave_propagation | 0004f765e65ad7544a99e8234666bc03d421f24b | d92bc281dd4c8d4718441dcc625a8150afec5a87 | refs/heads/master | 2021-08-26T09:12:54.198744 | 2017-11-22T19:46:12 | 2017-11-22T19:46:12 | 107,585,665 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,530 | cpp | # include <iostream>
# include <armadillo>
# include "Data_process.h"
using namespace std;
using namespace arma;
int rscP1(int argv, char ** argc)
//int main(int argv, char ** argc)
{
Data_process Project;
rowvec nu_arr(4);
string q_arr[4] = { "LF","UW1","LW","MD" };
nu_arr << 1 << 0.75 << 0.5 << 0.25 << endr;
... | [
"32938765+zhchenseven@users.noreply.github.com"
] | 32938765+zhchenseven@users.noreply.github.com |
52e469f30c5a7240585f8e69cda783462061221e | 80a96581255056a03f126e19b081276d5a66dd2e | /DlgRectProperties.cpp | f3e4a93ef66c77c53fbc5c2a60dc469e0f8c9f5e | [] | no_license | patchell/FrontCad | 6c1c9e4e7642eafe8a8a556c17e098f32077c548 | b2567d6d0b57b22a29efa64aa42d583cd1a457b8 | refs/heads/master | 2023-07-07T04:24:40.368564 | 2023-06-29T03:42:46 | 2023-06-29T03:42:46 | 75,502,957 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,345 | cpp | // DlgRectProperites.cpp : implementation file
//
#include "pch.h"
// CDlgRectProperties dialog
IMPLEMENT_DYNAMIC(CDlgRectProperties, CDialogEx)
CDlgRectProperties::CDlgRectProperties(CWnd* pParent /*=NULL*/)
: CDialog(IDD_DIALOG_RECTPROPERTIES, pParent)
{
m_pRect = 0;
}
CDlgRectProperties::~CDlgRectProperties(... | [
"patchell@cox.net"
] | patchell@cox.net |
a36db4766bf42a60babef70468be8c5d65142122 | 84b5835643f156c6fc688450a417c74ab2be39d8 | /test/cases/namespace.cch.cc | d2654c7f39e02451fa638b911eb9831036ae438a | [
"MIT"
] | permissive | tjps/cch | c128cf64aab359174b9428b926278578626a4d6c | 1a9cf09fbd02e55704c978baeda846269c5ff7f9 | refs/heads/master | 2021-01-17T10:19:20.703451 | 2020-07-02T18:24:21 | 2020-07-02T18:24:32 | 57,252,789 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 73 | cc | #include "namespace.cch.h"
ns::c::c() {}
ns::c::~c() {}
| [
"tjps636@gmail.com"
] | tjps636@gmail.com |
4aaa43d2af95f884fd0f693c355ef0d3af590ba0 | 60c87069f3f70964f54b8515886f1a3deb1a4429 | /free_gait_core/include/free_gait_core/pose_optimization/PoseOptimizationQP.hpp | bf004244af9ed52c4882bdb8b32d59e96212652f | [] | no_license | HITSZ-LeggedRobotics/quadruped_locomotion | 367ebbb420a8da629e8ce4f49c683e87a33e8621 | 5ec4feb3496348aa8d984c50c1cb9d7f854ac11e | refs/heads/master | 2022-06-14T22:12:38.432967 | 2022-05-18T10:39:05 | 2022-05-18T10:39:05 | 177,237,609 | 6 | 5 | null | 2020-07-17T07:07:33 | 2019-03-23T03:05:33 | C++ | UTF-8 | C++ | false | false | 990 | hpp | /*
* PoseOptimizationQP.hpp
*
* Created on: Jun 10, 2015
* Author: Péter Fankhauser
* Institute: ETH Zurich, Autonomous Systems Lab
*/
#pragma once
#include "free_gait_core/TypeDefs.hpp"
#include "free_gait_core/pose_optimization/PoseOptimizationBase.hpp"
#include <grid_map_core/Polygon.hpp>
#include <... | [
"wshy1995@outlook.com"
] | wshy1995@outlook.com |
92cbd2ea8486111f65592a9b813885b83ec82794 | 0814eaa8e3496606e19d823eed7dfcb337df98d4 | /core/RandomGenerators-DS.h | 2ca92c7ec7afd286a112c4d6d0d175ee7ecfd233 | [] | no_license | davor-/GoSum | be18c0fafdcc350e9493fbbe8a5aadfbf3428ce9 | cbe8296f561aff1e9b92b677957eafb706547f36 | refs/heads/master | 2016-09-06T09:28:22.392095 | 2015-07-21T17:24:29 | 2015-07-21T17:24:29 | 39,459,290 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,155 | h | #ifndef CRANDOMGENERATORS_H
#define CRANDOMGENERATORS_H
#include <Eigen/Dense>
using namespace Eigen;
#if !defined(UINT32_MAX)
#define UINT32_MAX 0xffffffff
#endif
//! \brief
//! Abstract base class for all uniform random number generators (RNG).
class CBaseRNG {
public:
virtual void setSeed(unsigned int s)=0;... | [
"davor.kegalj@gmail.com"
] | davor.kegalj@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.