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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4929c4477d9b3a1bcd654dead7f10eba8801328f | 253be818ab061b4a00d06d2e7046b787d167308d | /src/ripple/nodestore/impl/DatabaseNodeImp.h | 4e62f9ace43866c82030119619da0a4051533a02 | [
"MIT-Wu",
"MIT",
"ISC",
"BSL-1.0"
] | permissive | zhaowen28/xag-core | 357c12bddbe6f8311d1a46858f0ed7e0e604a063 | 1ec19ad71dcb4f31c394915d7ad99155e53653d3 | refs/heads/master | 2021-05-26T15:50:41.692232 | 2019-11-15T03:52:11 | 2019-11-15T03:52:11 | 254,128,733 | 3 | 0 | NOASSERTION | 2020-04-08T15:35:27 | 2020-04-08T15:35:26 | null | UTF-8 | C++ | false | false | 4,135 | h | //------------------------------------------------------------------------------
/*
This file is part of rippled: https://github.com/ripple/rippled
Copyright (c) 2012, 2013 Ripple Labs Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby ... | [
"xrpgeek2019@gmail.com"
] | xrpgeek2019@gmail.com |
98284cf276e8e0c0caa95f4b7bc5f99059e32f1a | 036ab5f1101a8fd2647a5c702ad0f85a57bd2eec | /buscasOrdenacoes.cpp | fea50077ac082245aa275bfeef4c1e25115a7816 | [] | no_license | arielgoes/routing | 5bdfd48e95e493dd7c96838678f9af3ea923ae0b | de0fadff8b8200e9637f73c1b90509a654a1826a | refs/heads/master | 2021-09-17T19:42:22.107349 | 2018-07-04T17:28:58 | 2018-07-04T17:28:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,554 | cpp | //PRIMEIRA PARTE DO CÓDIGO DA AULA DO DIA 22/01/2018 - BFS(BUSCA EM LARGURA)
int bsf(Grafo *g, int s, int t){ //ONDE S EH O NO INICIAL
deque<Node*> fila;
Node *aux;
int i;
for(i=0; i < g->vertices.size(); i++){
g->vertices.at(i)->visited = 0;
}
aux = buscaNode(g, s);
if(aux == NULL) return -1;
fila.push_b... | [
"arielgoescastro@live.com"
] | arielgoescastro@live.com |
59dafaa0099cf891a0f4d7a8dd4b8771b41730f5 | afc64dc90ce7b29a6e3a5300782e51dc7f8da495 | /oscpu_chisel/chisel-template/difftest/src/test/csrc/common/sdcard.cpp | 8ed74c771af98b1e086683acf6269073ec04dbcd | [
"MulanPSL-2.0",
"LicenseRef-scancode-mulanpsl-2.0-en",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | liuhangr/riscv1 | c28f083b506b921f200b5bc5fb727d0c43ba070b | 67606dfaf09949169d06143f62379f6dd8aa7ccf | refs/heads/main | 2023-07-10T13:40:08.159020 | 2021-08-10T09:59:44 | 2021-08-10T09:59:44 | 394,829,676 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,237 | cpp | /***************************************************************************************
* Copyright (c) 2020-2021 Institute of Computing Technology, Chinese Academy of Sciences
*
* XiangShan is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may... | [
"735474903@qq.com"
] | 735474903@qq.com |
714961d18a7b8a181f51cc94543c780b70d519cd | 5838cf8f133a62df151ed12a5f928a43c11772ed | /NT/enduser/netmeeting/av/h323/capsctl.cpp | 94ed936c308b8328cb28f5e02b0982ed9b93757b | [] | no_license | proaholic/Win2K3 | e5e17b2262f8a2e9590d3fd7a201da19771eb132 | 572f0250d5825e7b80920b6610c22c5b9baaa3aa | refs/heads/master | 2023-07-09T06:15:54.474432 | 2021-08-11T09:09:14 | 2021-08-11T09:09:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 52,063 | cpp | /*
* File: capsctl.cpp
*
* capability control object implementations
*
*
* Revision History:
*
* 10/10/96 mikeg created
* 06/24/97 mikev - Added T.120 capability to serialized caps and simcaps (interim hack until a
* T120 resolver is implemented)
* - Retired ResolveEncodeFormat(Aud... | [
"blindtiger@foxmail.com"
] | blindtiger@foxmail.com |
f6708023de603f80181183658e7df601332881a0 | cd655a4cacbde3e99e09279c25e36a253edb6609 | /Game/Motor2D/j1Player.cpp | 11e0bfdaf2ba8233db3f51cfc013999a309bf23a | [] | no_license | Pletenica/Between-Worlds | a11bcbbf15a8b967e21e13281b4464be7a1c9b57 | be98f3fd74e6b87c56b84e9f8c65c88478362624 | refs/heads/master | 2022-03-26T11:20:20.857814 | 2019-12-29T22:42:23 | 2019-12-29T22:42:23 | 209,526,894 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,741 | cpp | #include "j1App.h"
#include "j1Textures.h"
#include "j1Input.h"
#include "j1Render.h"
#include "j1Audio.h"
#include "j1Collision.h"
#include "j1Player.h"
#include "j1Scene.h"
#include "j1Map.h"
#include "SDL/include/SDL_timer.h"
#include "../Game/Brofiler/Brofiler.h"
j1Player::j1Player()
{
/////IDLE ANIMATION//////
... | [
"47741862+daskza19@users.noreply.github.com"
] | 47741862+daskza19@users.noreply.github.com |
60ec04aedc054c9cafdc61b7de52032a11342e6b | 59122303ed8071afcb5e4ea02b6ad636c75c3905 | /qtaskbarcontrol_p.cpp | 663269d45626961f74d114e6470bdf5a02c43950 | [
"BSD-3-Clause"
] | permissive | scaramancha/QTaskbarControl | 765541c3a04de4200354ba46ecb38819a90045fb | ef9d627cada83532d11a80ff6d71d27fb96d077a | refs/heads/master | 2023-03-17T17:27:32.326823 | 2020-12-26T09:37:11 | 2020-12-26T09:37:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 705 | cpp | #include "qtaskbarcontrol_p.h"
#include <QIcon>
void QTaskbarControlPrivate::setWindow(QWindow *window)
{
Q_UNUSED(window)
}
void QTaskbarControlPrivate::setWindowsProgressState(QTaskbarControl::WinProgressState state)
{
Q_UNUSED(state)
}
QTaskbarControl::WinProgressState QTaskbarControlPrivate::windowsProgressSta... | [
"Skycoder42@users.noreply.github.com"
] | Skycoder42@users.noreply.github.com |
c5ff269f38e6cc490dbc3d796a8c1250f91867d1 | 624e2ee2fc011c095508c6b10f55e79b880b0685 | /opt/ros/kinetic/include/mavros_msgs/HilSensor.h | 8c019afa90e566eb3459b8ce07945d5288e89acb | [] | no_license | sergioma295/Drone_Ros | ca9bc1d856fab69d0f9e122d0e7d6ce6c0a3e366 | 349cce9ab745116e4e7825e79de4127536609210 | refs/heads/master | 2020-06-01T08:32:43.708171 | 2019-06-07T19:12:47 | 2019-06-07T19:12:47 | 190,713,510 | 1 | 0 | null | 2019-06-07T19:39:31 | 2019-06-07T08:45:19 | C++ | UTF-8 | C++ | false | false | 9,121 | h | // Generated by gencpp from file mavros_msgs/HilSensor.msg
// DO NOT EDIT!
#ifndef MAVROS_MSGS_MESSAGE_HILSENSOR_H
#define MAVROS_MSGS_MESSAGE_HILSENSOR_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/m... | [
"sergioma295@gmail.com"
] | sergioma295@gmail.com |
54e985f6b9d8b64f7eb05308ab70f682a20e2ba3 | d4e96aa48ddff651558a3fe2212ebb3a3afe5ac3 | /Modules/Registration/Common/include/itkMeanSquaresPointSetToImageMetric.h | 65335353c95d8b1d3f61089c876de9bc4f9f3567 | [
"SMLNJ",
"BSD-3-Clause",
"LicenseRef-scancode-free-unknown",
"LicenseRef-scancode-mit-old-style",
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-warranty-disclaimer",
"NTP",
"IJG",
"GPL-1.0-or-later",
"libtiff",
"BSD-4.3TAHOE",
"... | permissive | nalinimsingh/ITK_4D | 18e8929672df64df58a6446f047e6ec04d3c2616 | 95a2eacaeaffe572889832ef0894239f89e3f303 | refs/heads/master | 2020-03-17T18:58:50.953317 | 2018-10-01T20:46:43 | 2018-10-01T21:21:01 | 133,841,430 | 0 | 0 | Apache-2.0 | 2018-05-17T16:34:54 | 2018-05-17T16:34:53 | null | UTF-8 | C++ | false | false | 4,332 | h | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* ... | [
"ruizhi@csail.mit.edu"
] | ruizhi@csail.mit.edu |
708f76d6c574868dd8e11f1ec1213ba17be9a875 | 4b08f6ab3a328a33302d82177823596b20a48a5e | /tests/triangle_tests.cpp | 8fd66ed883e8a8eb30870083b40689735beb7ff3 | [
"MIT"
] | permissive | gitbetter/Lightspace | dd741bdee24bed6e32787fcb6d240b1dc4b111cb | b00a29e2aac64cfac87ca30d2d053559d84289df | refs/heads/master | 2022-03-28T10:58:22.585848 | 2020-01-12T00:17:31 | 2020-01-12T23:10:42 | 213,056,631 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,562 | cpp | #include "catch.hpp"
#include "shapes.hpp"
using namespace ls;
TEST_CASE( "Triangle processing", "[triangles]" )
{
SECTION( "Constructing a triangle" )
{
auto p1 = f_point( 0, 1, 0 );
auto p2 = f_point( -1, 0, 0 );
auto p3 = f_point( 1, 0, 0 );
auto t = triangle::create( p1, p2... | [
"skatehumor@yahoo.com"
] | skatehumor@yahoo.com |
0008d3a3207301cb7a98e181099d0f31a496a52c | d54259e11b684c4124723376c1485b99e387a5e0 | /oprator_loading/IncrementDecrementOverloading.cpp | e24953fac0020e5be1191cc93d746970a3e93f60 | [] | no_license | Saurabh-12/learn_cpp | 754e5f1efdfe021beaf7425f9b1592cae58fd19e | 805c0b2131481ac14bd1510868a638040ae1e605 | refs/heads/master | 2022-03-06T12:39:44.456471 | 2022-02-28T17:16:58 | 2022-02-28T17:16:58 | 116,156,269 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,961 | cpp | #include <iostream>
class Digit
{
private:
int m_digit;
public:
Digit(int digit = 0) : m_digit(digit)
{
}
Digit &operator++(); // prefix
Digit &operator--(); // prefix
Digit operator++(int); // postfix
Digit operator--(int); // postfix
friend std::ostream &operator<<(std::os... | [
"saurabh.sharma569@gmail.com"
] | saurabh.sharma569@gmail.com |
712d796a63923b63b999ac2f1f521d3abcfe1355 | 8e8dba16703c723dbc4b387b7ba51c472a0b53c9 | /100SameTree.cpp | f3ecb10b73195c96f301fd3f2b49ca5d24f0e4c5 | [] | no_license | Carl-LQ/leetcodeprac | 18cfed3825a1c7add650540eed771022a95da0d8 | 758d414f0d3ddf440d1207dd4cb78e1038b88eab | refs/heads/master | 2020-06-01T17:27:41.167241 | 2019-10-14T01:23:47 | 2019-10-14T01:23:47 | 190,865,363 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,088 | 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:
bool isSameTree(TreeNode* p, TreeNode* q) {
string st1 = serializedTreeByPreOrder(p);
... | [
"jingchen82-c@my.cityu.edu.hk"
] | jingchen82-c@my.cityu.edu.hk |
9fff88cb8bccce52657e11ba804eaf16f4f93e50 | ae55b48aebec623cf6f6cb47ab4c39b153d7b4d1 | /Ugine/src/isometricsprite.cpp | 8d4dcc24fda8a713a9018303adb3be8a6d633eeb | [] | no_license | AlvaroAbad/Star-Control | fed2d7c935debac4b83cfb7083be948d9e4fb2bf | a693aa4603d0eff65ec56d81eb774ad8e7fd7b21 | refs/heads/master | 2021-01-12T06:05:07.870793 | 2016-12-24T18:34:00 | 2016-12-24T18:34:00 | 77,295,571 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 934 | cpp | #include "..\include\isometricsprite.h"
#include "../include/math.h"
#include "../include/image.h"
#include <math.h>
void IsometricSprite::SetPosition(double x, double y, double z)
{
Sprite::SetPosition(x, y, z);
}
void IsometricSprite::SetCollision(CollisionMode mode)
{
(mode != CollisionMode::COLLISION_PIXEL ? Spri... | [
"alvaro.abadm@gmail.com"
] | alvaro.abadm@gmail.com |
d2a57a93db69723e72a5a55369705a9f6e76e624 | f1d9f7801723699226aa421901c87b667ef1cbcb | /src/inet/routing/bgpv4/BgpConfigReader.h | 057362d853d976d0973d33b17e437d9981f909b7 | [] | no_license | screw/inet | 0466bb6ba8f4503c63f4b8d46185536c2d5124e3 | bfb2657cdbc7e776ed891dbc52dd9b1f411bf23e | refs/heads/master | 2021-06-03T05:27:20.514930 | 2019-01-11T18:27:28 | 2019-01-11T18:27:28 | 137,349,174 | 0 | 0 | null | 2018-06-14T11:27:54 | 2018-06-14T11:27:53 | null | UTF-8 | C++ | false | false | 2,507 | h | //
// Copyright (C) 2010 Helene Lageber
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program... | [
"levy@omnetpp.org"
] | levy@omnetpp.org |
bf7c31b98eb7040d86105ffea01aaf88b4caa900 | 929bb2cbaad96935f1e7bb34c86aa2a254cc6cdc | /src/manifold/models/iris/iris_srcs/topology/mesh.h | da1cd9998842cd444390af5f966f007bd558a1bb | [] | no_license | gthparch/macsim | 744e137e40ff2ab3ee9eecd459dae80c39674555 | 96a7da4dd98401b2468e3cf1ff783fc5f56fbad0 | refs/heads/master | 2023-09-01T04:32:11.652522 | 2023-03-27T18:31:16 | 2023-03-27T18:31:16 | 44,985,778 | 97 | 46 | null | 2023-04-21T18:56:26 | 2015-10-26T17:35:08 | C++ | UTF-8 | C++ | false | false | 3,337 | h | /*
* =====================================================================================
*
*! \brief Filename: Mesh.h
*
* Description: The class defines functions for a generic k-ary 2D Mesh
* with the network being a direct network of size n=k^2.
*
* In order to understand connections the port assi... | [
"tri@gatech.edu"
] | tri@gatech.edu |
64934f8e4fc7fd913ab5a7cb4704168cd408fe63 | b1fba1dc4fc20524d1175674d0fa82fed4d521e2 | /Source/1512682/Item.cpp | aff99f0cea35f318ae4171260e96801b3962588c | [] | no_license | elhoangvu/ExpenditureManagement-Win32 | c44db390b9fbf938240ace529179de22ccb03d5e | 70f4268b5937564db5c5747bfcc421f851faaf75 | refs/heads/master | 2020-04-10T09:09:03.037035 | 2019-01-26T01:54:24 | 2019-01-26T01:54:24 | 160,928,059 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,301 | cpp | #include "stdafx.h"
#include "Item.h"
WCHAR* ItemName[] = { L"Ăn uống", L"Di chuyển", L"Nhà cửa", L"Xe cộ", L"Nhu yếu phẩm",L"Dịch vụ" };
Item * Item::create(ItemType itemType, WCHAR * description, WCHAR* date, unsigned __int64 cost)
{
Item* item = new (std::nothrow) Item;
item->_itemType = itemType;
int len = wc... | [
"elhoangvu@gmail.com"
] | elhoangvu@gmail.com |
eebbb62c7a754ae466f56ecb63a443fe775609a1 | 3189793506a679d8c9f077359eb5dd010de92a22 | /DueTimerLite.h | b3542c9139314f3f745d0cf8442bcda9aa30e8a4 | [
"Apache-2.0"
] | permissive | petmo338/ignitioncontrol | 8d645b4128c7f2397f98926a84341b82c967ffdf | 7b8a83c9f30aa5a69e04f23cb190a61d3002656b | refs/heads/master | 2021-01-17T15:35:24.258518 | 2016-03-31T19:07:26 | 2016-03-31T19:07:26 | 39,463,351 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,941 | h | /*
DueTimerLite.h - DueTimerLite header file, definition of methods and attributes...
For instructions, go to https://github.com/ivanseidel/DueTimer
Created by Ivan Seidel Gomes, March, 2013.
Modified by Philipp Klaus, June 2013.
Released into the public domain.
*/
#ifdef __SAM3X8E__
#ifndef DueTimerLite_h... | [
"petmo338@gmail.com"
] | petmo338@gmail.com |
daf18eebd7341e23e2b6fba01d950ecfc86eed9b | c1f84922db5bb83580294dc0f62e5649294c62c3 | /private-gravity/ext_lib/CoinIpopt/build/Ipopt/tutorial/CodingExercise/Cpp/1-skeleton/TutorialCpp_nlp.cpp | 25c2fd37bbfa5ca1479f071da938a90198f26e71 | [
"BSD-3-Clause",
"BSD-3-Clause-Clear"
] | permissive | arunveeramany/GridOpt | 9c13428134de0e0d4cecc9b9b367997e5a3b3b7d | 79e6762cec29b807a5424b39be30daba97d65bc1 | refs/heads/master | 2020-03-17T22:00:22.848308 | 2018-05-18T00:58:10 | 2018-05-18T00:58:10 | 133,976,617 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 108 | cpp | /home/hlh/private-gravity/ext_lib/CoinIpopt/Ipopt/tutorial/CodingExercise/Cpp/1-skeleton/TutorialCpp_nlp.cpp | [
"hlh@lanl.gov"
] | hlh@lanl.gov |
998589b2a86c22259fbb82950d89a2a641289510 | 15b9ddab4b911f0f1fbf5483dc31a89eb4f58e79 | /codeforces/117/A.cpp | 7e272baa88c9b020304aaaee4f82a23af24d1945 | [] | no_license | draftcode/programming_contest | 7de837696f88e32fe118d1c87a56d3ed6e7a7c4f | 5bbd0214405e2187f6c1707c4b9981f0982b7e0e | refs/heads/master | 2016-09-06T00:50:37.500448 | 2012-07-10T09:32:00 | 2012-10-27T10:09:43 | 1,948,203 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,111 | cpp | #include <algorithm>
#include <functional>
#include <iostream>
#include <limits>
#include <numeric>
#include <queue>
#include <vector>
#include <cstring>
#include <cstdio>
#include <cmath>
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
#define rep(i,n) for(int i = 0; i < n; i++)
#define each(it,... | [
"draftcode@gmail.com"
] | draftcode@gmail.com |
bfbcd0a10fcb51e863dedbf6110f67c268c7b84b | 5f231ebdb98e6c83e2e3586eec2820b36bd4dec8 | /graphics/niwa/graphics/Image.cpp | fe3b63364d6446232f994642af898e0df68ba83f | [] | no_license | uttumuttu/niwa | 926583b4cc9b420b827d3cb991227f2b34486778 | 9e4fc79c469cf7db8b081e489df6e7d04140f336 | refs/heads/master | 2016-09-03T06:22:19.772697 | 2015-09-02T15:26:15 | 2015-09-02T15:26:15 | 40,969,355 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,974 | cpp | /**
* @file
* @author Mikko Kauppila
*
* Copyright (C) Mikko Kauppila 2009.
*/
#include "Image.h"
#include "jpeglib.h"
#include "jerror.h"
#include <setjmp.h>
#include "niwa/logging/Logger.h"
namespace {
static niwa::logging::Logger Log(typeid(niwa::graphics::Image));
}
namespace {
st... | [
"mikko.kauppila@oulu.fi"
] | mikko.kauppila@oulu.fi |
f5f187297a1c1c95ff60bf5d588a5c2bbb592569 | e7a7aa4baebc29d9bc797abc32e3ea7ab5484f93 | /src/main.cpp | d0264da9cf2e1c903d3bb358ebf04a6656a7b41c | [] | no_license | widon1104/Calculator | 97c21f9518a765a2927075007eea1473c7f4d89b | 5535563104b98f250d164ad954cd62aa21ca78e8 | refs/heads/master | 2021-01-10T02:19:39.757975 | 2015-05-28T13:26:02 | 2015-05-28T13:26:02 | 36,435,687 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,685 | cpp | #include <iostream>
#include <string>
#include "scanner.h"
#include "parser.h"
#include "calc.h"
#include "exception.h"
#include "commandparser.h"
int main()
{
STATUS status = STATUS_OK;
Calc calc;
do {
std::cout <<"> ";
Scanner scanner(std::cin);
if (!scanner.IsEmpty()) {
... | [
"widon1104@qq.com"
] | widon1104@qq.com |
a0f4c859cafda248acd1bfdfa52fdab3ee55f74c | c7850d478e1a62fc8b016225d7a748cf1b0cb81f | /tp1/notebooks/traductor/stock_to_capacity/src/AuxeffectofRatioofStocktoCapacityonGrowthCoefficient.h | d6e2fe9d8699a0257030fb85c9d243ce4b150c17 | [] | no_license | dioh/sed_2017_tps | 8bac2bd824335581a33ad9b010747ea4af273130 | c17d1d2d4b1d80bafe33053f7f2b58661b9bcc65 | refs/heads/master | 2021-09-14T07:35:57.009752 | 2018-05-09T19:16:33 | 2018-05-09T19:16:33 | 103,854,748 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,113 | h | #ifndef _AuxeffectofRatioofStocktoCapacityonGrowthCoefficient_H_
#define _AuxeffectofRatioofStocktoCapacityonGrowthCoefficient_H_
#include <random>
#include "atomic.h"
#include "VTime.h"
#define AUXEFFECTOFRATIOOFSTOCKTOCAPACITYONGROWTHCOEFFICIENT "AuxeffectofRatioofStocktoCapacityonGrowthCoefficient"
class Auxef... | [
"pedro3110.jim@gmail.com"
] | pedro3110.jim@gmail.com |
43d8c2379eacf74d161a27e1a3dd68cc365872cf | 9e4eb8483ba93ffc5dacf866780602f744e9e09b | /F/src/renderable.hxx | 88735b143c191976d386a88e61b3cbdd4633a324 | [
"Apache-2.0"
] | permissive | xiovlad/Ctrl-Alt-Test | 929df689cf8fbb95e9f22575dc6ed6d2c69cbe84 | bb40ab654f0088c367370a913e43fcdb39b19a3e | refs/heads/master | 2023-03-26T05:12:55.094084 | 2019-05-12T21:50:35 | 2019-05-12T21:50:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,805 | hxx | //
// Renderable thing
//
#ifndef RENDERABLE_HXX
# define RENDERABLE_HXX
#include "sys/msys.h"
#define INLINE_ACCESSOR(t, x) inline t Renderable::x() const {return _##x;}
inline
int Renderable::sortHint() const
{
// On prend ce bloc de 32 bits et on le considére comme un int
// On est sur du little endian, don... | [
"laurentlb@gmail.com"
] | laurentlb@gmail.com |
b3f4ec3a666801566af6cfc184e95534d8c67ad1 | ab1c643f224197ca8c44ebd562953f0984df321e | /pchealth/client/datacoll/wmiprovn/pch_drive.h | 0de80ad1a8cf5193727cd94c1d16aeda188a2e92 | [] | no_license | KernelPanic-OpenSource/Win2K3_NT_admin | e162e0452fb2067f0675745f2273d5c569798709 | d36e522f16bd866384bec440517f954a1a5c4a4d | refs/heads/master | 2023-04-12T13:25:45.807158 | 2021-04-13T16:33:59 | 2021-04-13T16:33:59 | 357,613,696 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,070 | h | /********************************************************************
Copyright (c) 1999 Microsoft Corporation
Module Name:
PCH_Drive.H
Abstract:
WBEM provider class definition for PCH_Drive class
Revision History:
Ghim-Sim Chua (gschua) 04/27/99
- Created
********************************************... | [
"polarisdp@gmail.com"
] | polarisdp@gmail.com |
8121aab6421482cae2e5891c2ee8762e05303626 | b44e1008ccbd87f50df13e92cb40513372e10d73 | /Source/Usul/MPL/StaticAssert.h | 433f283598f08412ec8da6dfa5c0b2f6defbca1f | [] | no_license | perryiv/haf | d76bc205604b14c407a9883a44b7e2ea89e1cf2d | 12e1df5fc67fcad3462f335072e025ef866f7c86 | refs/heads/master | 2020-04-06T07:44:05.044643 | 2018-12-04T20:06:02 | 2018-12-04T20:06:02 | 157,283,369 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,288 | h |
///////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2009, Perry L Miller IV
// All rights reserved.
// BSD License: http://www.opensource.org/licenses/bsd-license.html
//
///////////////////////////////////////////////////////////////////////////////
////////////////... | [
"miller@ciespace.com"
] | miller@ciespace.com |
1219640d0c3d2fd8d3b06635cd233cffc705a2c4 | da2d1435dc13318743ec02fbb6c486db6fa3fa04 | /c++/3/stack.cc | 02e3ff2ea1ec4876e0235e7f0eb54f0535ce499f | [] | no_license | lileismall/project | 0ffe0d87db5dec6f52a0f40094ab2d54d3063888 | 8f026bcdbe320667c98fb0e38a55250ca7591235 | refs/heads/master | 2020-06-23T05:53:52.242300 | 2019-08-08T07:26:18 | 2019-08-08T07:26:18 | 198,536,395 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 218 | cc | #include "stack.h"
//using namespace std;
int main()
{
Stack s;
s.setSize(5); //默认是10
s.push(10);
s.push(12);
s.push(14);
s.printTop();
s.pop();
s.printTop();
return 0;
}
| [
"17638233305@163.com"
] | 17638233305@163.com |
ec65fb0cd3a8a535e80aa3b47ad01fd64cafcdde | 28c000caf6617ba2074e0f2a8fc936ccb8c01fb3 | /poj/3072/6026969_WA.cc | 2c55a27dae6a67a56232076158a65b90d7f324bd | [] | no_license | ATM006/acm_problem_code | f597fa31033fd663b14d74ad94cae3f7c1629b99 | ac40d230cd450bcce60df801eb3b8ce9409dfaac | refs/heads/master | 2020-08-31T21:34:00.707529 | 2014-01-23T05:30:42 | 2014-01-23T05:30:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,263 | cc | #include <cmath>
#include <queue>
#include <cstdio>
#include <cstring>
using namespace std;
int n,R,xx[25],yy[25],mark[25];
double map[25][25],dis[25],pi;
struct QN{
int u;
double d,deg;//d表示距离,deg表示当前角度
bool operator<(const QN a)const
{
return a.d<d;
}
};
const double inf = ... | [
"wangjunyong@doodlemobile.com"
] | wangjunyong@doodlemobile.com |
c8b6c09737f61ee233f67124ec1cf76de9113cce | 64e4fabf9b43b6b02b14b9df7e1751732b30ad38 | /src/chromium/gen/gen_combined/services/service_manager/public/mojom/service_manager.mojom.h | f21cf64d61144733998e6dcdfe9a826c2256b618 | [
"BSD-3-Clause"
] | permissive | ivan-kits/skia-opengl-emscripten | 8a5ee0eab0214c84df3cd7eef37c8ba54acb045e | 79573e1ee794061bdcfd88cacdb75243eff5f6f0 | refs/heads/master | 2023-02-03T16:39:20.556706 | 2020-12-25T14:00:49 | 2020-12-25T14:00:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,405 | h | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SERVICES_SERVICE_MANAGER_PUBLIC_MOJOM_SERVICE_MANAGER_MOJOM_H_
#define SERVICES_SERVICE_MANAGER_PUBLIC_MOJOM_SERVICE_MANAGER_MOJOM_H_
#include <s... | [
"trofimov_d_a@magnit.ru"
] | trofimov_d_a@magnit.ru |
ac972cbd7e2a488e1348cddbbd803b28b228f084 | 6419389be9c1110c77830a76d8f4fdb355f5dfe7 | /include/SimpleGeometrySvc.hh | 40a25c75c81ff43641fa4227b3f31b95b45bcfc1 | [] | no_license | yfujii/g4sim | 8bdb3f87a9c748da8fed9816284e8d7d5240ede7 | b6d47d677d8c61c4b5e76a6f2c696fb3a863404a | refs/heads/master | 2021-01-21T16:54:38.792077 | 2014-04-11T05:57:41 | 2014-04-11T05:57:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,572 | hh | //---------------------------------------------------------------------------//
//Description: 1. Setup SimpleGeometry geometry and manage associated sensitive detectors
// 2. Communicate with associated sensitive detectors
//Author: Wu Chen(wuchen@mail.ihep.ac.cn)
//Created: 17 Oct, 2012
//Modified: 11, Ja... | [
"wuchen1106@gmail.com"
] | wuchen1106@gmail.com |
7487a7b50469df36a9627638d94a37aa1b1b6ad8 | 0103ce0fa860abd9f76cfda4979d304d450aba25 | /Source/bmalloc/bmalloc/Heap.cpp | 4aceb26fb937c104b45286b537a9b295e0d90f60 | [] | no_license | 1C-Company-third-party/webkit | 2dedcae3b5424dd5de1fee6151cd33b35d08567f | f7eec5c68105bea4d4a1dca91734170bdfd537b6 | refs/heads/master | 2022-11-08T12:23:55.380720 | 2019-04-18T12:13:32 | 2019-04-18T12:13:32 | 182,072,953 | 5 | 2 | null | 2022-10-18T10:56:03 | 2019-04-18T11:10:56 | C++ | UTF-8 | C++ | false | false | 17,110 | cpp | /*
* Copyright (C) 2014-2017 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 conditi... | [
"ruka@1c.ru"
] | ruka@1c.ru |
1ed23b9e1fc2be46023d01121bee7951898cc960 | be59c390795966476e777e8b75e27b5999640ee0 | /contrib/epee/include/storages/parserse_base_utils.h | 02afb72a833c82bf5222d67a18ff5891151034e1 | [
"BSD-3-Clause",
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | BRTChain/BRT-Chain | cdefbb1ab54c186b1f66e01c4bc5cf97b830f45a | e4bfc027bc82eb79940331f9d334ab31708d4202 | refs/heads/master | 2022-12-21T15:57:45.359810 | 2020-09-26T08:02:12 | 2020-09-26T08:02:12 | 298,766,400 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,802 | h | // Copyright (c) 2006-2013, Andrey N. Sabelnikov, www.sabelnikov.net
// 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
// not... | [
"blockchainServ01@gmail.com"
] | blockchainServ01@gmail.com |
7907db3d1baadd40057cbd8b40374e22142c854c | f8aa6e689d132d660e71335552b37cc1a5cb0786 | /HaveDone/POJ/2406暴力求子串.cpp | 6b700a70ea9cbe13a59e1be6ed949f1a6f932918 | [] | no_license | VarickQ/ACM | 91171f381fa57b6644f10b1a4a5a9aeaeeff12b2 | 5d4f2c14272b28c7ff2cb7ebcd4e91400345a096 | refs/heads/master | 2021-01-10T14:34:07.812097 | 2017-05-14T09:58:54 | 2017-05-14T09:58:54 | 8,500,751 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 449 | cpp | #include <iostream>
#include <string>
using namespace std;
char str[1000001];
int main()
{
while(gets(str))
{
string s;
s = str;
if(s == ".")break;
string c="";
for(int i=0 ; i < s.length() ; i++ )
{
c += s[i];
if(s.length()%c.length() != 0)
continue;
int numS = s.length()/c.length();
stri... | [
"varick.q.cj@gmail.com"
] | varick.q.cj@gmail.com |
e44b1e5fa27d21c02a1ca8433aa8ea499ea8d627 | 4d0a3d58bd66e588a50b834a8b8a65a5dac81170 | /Exam/Piscine_cpp/d02/ex01/Fixed.hpp | 9731be21387e2aa5a69e1caa3797c1da94280b6e | [] | no_license | fredatgithub/42 | 0384b35529a42cf09bbe6dc9362b6ad5c5b3e044 | 7c1352ab9c8dda4a381ce5a11cd3bbbfad078841 | refs/heads/master | 2023-03-17T09:47:48.850239 | 2019-12-15T18:13:13 | 2019-12-15T18:13:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 564 | hpp | #ifndef FIXED_HPP
# define FIXED_HPP
#include <iostream>
class Fixed
{
private:
int m_nFixedPointValue;
int const m_nFractionalBit;
public:
Fixed(void);
Fixed(int const p_nValue);
Fixed(float const p_fValue);
Fixed(Fixed const & p_Fixed);
~Fixed(void);
Fixed & operator=(Fixed const & p_Fixed);
int getRaw... | [
"julien.balestrieri@gmail.com"
] | julien.balestrieri@gmail.com |
36175b7d2e5e5dbc6c650d7f6ae0a077e2adbe6f | 4244b9a13ba618f8c47a7b39ffad43fb9498d8c8 | /LeetCode/compare-version-numbers.cpp | 5b1d4faea8cc9ee24423755311c819cdc1c43e63 | [] | no_license | bluesilence/cpp | 6cfa96ece419d55e0f422632bb25f480b7c3c75c | ebad4c42d56e05a41ba65800e9ffde3e5752946d | refs/heads/master | 2016-09-05T13:21:24.081849 | 2015-08-03T13:17:31 | 2015-08-03T13:17:31 | 19,880,989 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,016 | cpp | class Solution {
public:
int compareVersion(string version1, string version2) {
const int LEN1 = version1.size();
const int LEN2 = version2.size();
int index1 = 0;
int index2 = 0;
int num1 = 0;
int num2 = 0;
do {
num1 = g... | [
"bluesilencemail@126.com"
] | bluesilencemail@126.com |
0baf270fe0b780fad3403d43100975d3625e567d | 414d720944511da242938e4f3ba0f61db41bd9ef | /point_cloud/package/transform/src/point_to_base_link.cpp | b183067a341ff42e59335b201258f2af3707ed96 | [] | no_license | yangdaiyu123/localization | 1e4c493dde244f366b64cb3ef708d6a4cd45c549 | eea5d5f68145576bea86649bcd56ec55dc5ab9ce | refs/heads/master | 2020-05-02T18:09:20.428017 | 2017-03-25T02:08:34 | 2017-03-25T02:08:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,001 | cpp | #include "ros/ros.h"
#include "std_msgs/String.h"
#include "std_msgs/Float64.h"
#include "std_msgs/Int8.h"
#include "std_msgs/Int32.h"
#include "std_msgs/Int8MultiArray.h"
#include "std_msgs/Int32MultiArray.h"
#include "std_msgs/Float64MultiArray.h"
#include <pcl/common/common_headers.h>
#include <pcl/point_types.h>
#... | [
"wengge987@163.com"
] | wengge987@163.com |
b7595e14ad01110feaf02d8ff74d397512b4624b | 2edea43bfa775d9ab2343afc9731a720268a3f65 | /reflectance-field_individual-project-in-progress/load-directions-and-intensities.cpp | 4401780792d4eaaca0b82df14529144c969dab13 | [] | no_license | terezadrskova/projects | 866e56ef6fe7ddd23c25bf257132fb23f971a422 | b9f2ad29cf6e03ce250b23ad286db968b62b7b36 | refs/heads/master | 2021-01-19T22:33:08.181483 | 2014-08-06T17:24:22 | 2014-08-06T17:24:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,141 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include "loadPPM.h"
#include <QFileDialog>
#include <QMessageBox>
#include <QStringList>
#include <QDebug>
#include <iostream>
#include <QPixmap>
#include <QString>
#include <QtCore/qmath.h>
#include <iostream>
#include <cmath>
#include <cv.h>
#include <highgui.h>
... | [
"tereza.drskova13@imperial.ac.uk"
] | tereza.drskova13@imperial.ac.uk |
b9be8c287a54e772130a0f25deac546ff04dd5df | 726df6fc883aa216b81f8e0682ec427febdbf89d | /ICMUIInterface/settings.h | 3d4148a44b1ec5755620135a6f12c69de355a4c5 | [] | no_license | Qmax/QUTE | 48ac34384885558ea4f6310f122b2e4f6450853d | 09d65671d4280d6cd9b9f97243846708d7968cff | refs/heads/master | 2021-01-01T05:33:53.379760 | 2014-12-04T11:38:05 | 2014-12-04T11:38:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,582 | h | /*
* Author: Ravivarman.R,Qmax
*/
#ifndef SETTINGS_H
#define SETTINGS_H
#include <QWidget>
#include <qlineedit.h>
#include <qdebug.h>
#include <qpluginloader.h>
#include <QFile>
#include <QXmlStreamReader>
#include <QXmlStreamAttributes>
#include <QString>
#include "InterfacePTLibrary.h"
#include "ApplicationCa... | [
"root@ravivarman.(none)"
] | root@ravivarman.(none) |
373a2a25a247a82bed895506461e1d627af967cc | d1c34d724e105086fa7dcae8c8dfe641d6ca480b | /Source/Scripting/SBansheeEngine/Generated/BsScriptTAnimationCurve.generated.cpp | 436e05fcb9fcbee03d4d670114e6ef37a47cffab | [] | no_license | ninpl/BansheeEngine | 2172d753a09bcf7a2ca5262fbfa7e66be0924370 | be1e9d157741e268dabf4161867abef37e4c226e | refs/heads/master | 2022-09-30T22:13:44.309994 | 2018-08-25T11:29:37 | 2018-08-25T11:29:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,475 | cpp | #include "BsScriptTAnimationCurve.generated.h"
#include "BsMonoMethod.h"
#include "BsMonoClass.h"
#include "BsMonoUtil.h"
#include "BsScriptTKeyframe.generated.h"
#include "BsScriptTKeyframe.generated.h"
#include "BsScriptTKeyframe.generated.h"
#include "Wrappers/BsScriptVector.h"
#include "Wrappers/BsScriptQuaternion.... | [
"bearishsun@gmail.com"
] | bearishsun@gmail.com |
8f0cb81ba7135106dd7897c0a3f4a62797103db8 | e763b855be527d69fb2e824dfb693d09e59cdacb | /aws-cpp-sdk-pinpoint/source/model/GetImportJobResult.cpp | fb49d74335068a5ef105c5ebb4aff6dfb0b61fda | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | 34234344543255455465/aws-sdk-cpp | 47de2d7bde504273a43c99188b544e497f743850 | 1d04ff6389a0ca24361523c58671ad0b2cde56f5 | refs/heads/master | 2023-06-10T16:15:54.618966 | 2018-05-07T23:32:08 | 2018-05-07T23:32:08 | 132,632,360 | 1 | 0 | Apache-2.0 | 2023-06-01T23:20:47 | 2018-05-08T15:56:35 | C++ | UTF-8 | C++ | false | false | 1,325 | cpp | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
9c7a54c0e8956eaf87a058c9c75bf9d790648f78 | a3effde3c27c072090f0021bdae3306961eb2d92 | /Codeforces/1113/B.cpp | 046311900f2e2da1f6733a505a3676fb7ce90636 | [] | no_license | anmolgup/Competitive-programming-code | f4837522bf648c90847d971481f830a47722da29 | 329101c4e45be68192715c9a0718f148e541b58b | refs/heads/master | 2022-12-03T19:00:40.261727 | 2020-08-08T09:21:58 | 2020-08-08T09:21:58 | 286,011,774 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,874 | cpp | #include<bits/stdc++.h>
using namespace std;
//Optimisations
#pragma GCC target ("avx2")
#pragma GCC optimization ("unroll-loops")
#pragma GCC optimize("O2")
//shortcuts for functions
#define pb push_back
#define mp make_pair
#define ff first
#define ss second
#define endl "\n"
#define all(v) v.begin(),v.end()
#define ... | [
"anmolgupta9557@gmail.com"
] | anmolgupta9557@gmail.com |
4c28cf394878c6e3c3d7c349bcf4a6a3ef7e58b7 | b62b1897dac1a52f5aff86108c4e4451b3d608c7 | /src/transmitter_test/transmitter_test.ino | 72a906c8e9d9f58606d854bb7ec75f7a2c964565 | [] | no_license | jmanuel1/epics-dendrometer | 4ad4f6ab9da079144dc89ca9b56c5addddbbcfe5 | 4e82226a58c999e3d90f25738285016a2c8d94ff | refs/heads/master | 2020-09-11T20:13:30.291800 | 2020-03-20T06:57:10 | 2020-03-20T06:57:10 | 222,178,604 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 409 | ino | #include <VirtualWire.h>
void setup() {
// default transmit pin is 12
vw_set_tx_pin(12);
vw_set_ptt_inverted(true);
vw_setup(2000);
pinMode(LED_BUILTIN, OUTPUT);
}
void loop() {
const char *message = "hello there!"; // 12 chars
// light up
digitalWrite(LED_BUILTIN, HIGH);
vw_send((uint8_t *) messa... | [
"jama.indo@hotmail.com"
] | jama.indo@hotmail.com |
a2e358188fb9a43694870c6354c3a26bca8c80d4 | 444f9026826d938fc7c23af55d2a3320424213a3 | /CombineTools/src/CombineHarvester.cc | 082570834c1d5466223fc4f5356d61c0aac96d14 | [] | no_license | rcl11/CombineHarvester | 833c2f9f870f2318b5e2f7c1d674dc3f332d79d0 | b2693dc8d11743c071d169786415cbf0841b87c7 | refs/heads/master | 2021-01-21T07:39:09.411730 | 2015-10-04T10:45:37 | 2015-10-04T10:45:37 | 46,294,595 | 0 | 0 | null | 2015-11-16T18:43:50 | 2015-11-16T18:43:49 | null | UTF-8 | C++ | false | false | 26,421 | cc | #include "CombineHarvester/CombineTools/interface/CombineHarvester.h"
#include <iostream>
#include <map>
#include <string>
#include <vector>
#include <list>
#include "CombineHarvester/CombineTools/interface/Observation.h"
#include "CombineHarvester/CombineTools/interface/Process.h"
#include "CombineHarvester/CombineToo... | [
"andrew.gilbert@cern.ch"
] | andrew.gilbert@cern.ch |
48e1c61e01912cabc5b3fb980dd81f10a4e1c0f7 | 181319c35d03cf612364be7b9f14defa01de2a09 | /src/erase-remove-idiom.cpp | dffe5ef5e7834fc64b0438eec4db78d77c88f712 | [] | no_license | sid842/cpp-stl | 3039c7358d12c7c7c133779570ac4e5986aaa6b3 | 66bb8a84c563f6df18e68d5d04d7d71154fe8383 | refs/heads/master | 2021-09-03T14:28:07.982434 | 2021-08-12T19:05:37 | 2021-08-12T19:05:37 | 212,173,949 | 0 | 1 | null | 2021-05-31T12:42:02 | 2019-10-01T18:47:27 | C++ | UTF-8 | C++ | false | false | 853 | cpp | #include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int main() {
vector<int> v = {11, 22, 33, 44, 55};
//removing elements from vector
//bad strategy - loop over elements and remove those which satisfy the condition
//this is bad because it is O(n^2)
//good strategy - use std::rem... | [
"sidbhasin82@gmail.com"
] | sidbhasin82@gmail.com |
f924685de3f404e6646b913196459f963a1640ed | cec481abc64972eec4750259dea52ac53f613dc1 | /Functions/Problems/Problem2.cpp | fc4aa33dd6c43fdb3933de293a94889e32b19bfa | [] | no_license | sejalrastogi/GFG_CPlusPlus | 653a2722dc880d28cef69c9e4140960dbe8e3892 | f657980d7802106c337a4526568c3cccde89bfa8 | refs/heads/master | 2023-03-13T00:22:22.375943 | 2020-10-17T15:14:43 | 2020-10-17T15:14:43 | 301,520,077 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 428 | cpp | #include <iostream>
using namespace std;
void fun()
{
static int x = 1; //Static variable stays there even if the function call is over. Here, x=1 value is used only when it is called the first time i.e., it only initializes the value once. Another time, it will use the previous value and will update the previous v... | [
"sejalrastogi111@gmail.com"
] | sejalrastogi111@gmail.com |
d05ba8a06000e53042a10b4c691778c0d54f29af | ae84db67e168d4b133efc4472359818edfd3a51f | /linkedLists/LinkedList/LinkedListExercises.h | 24d6a17924db37b11fa82cdca8f75c7f6c432e52 | [] | no_license | singhdipesh14/OOPCPP | b26cc62049b65b4f805d5a304ececd31941be410 | b0d6565fc2d99e603eb091402a98d9ff6683ca5b | refs/heads/master | 2022-12-02T23:51:53.912264 | 2020-08-20T15:53:45 | 2020-08-20T15:53:45 | 289,047,046 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,454 | h |
/**
* @file LinkedListExercises.h
* University of Illinois CS 400, MOOC 2, Week 1: Linked List
* Spring 2019
* STUDENT STARTER FILE
*
* @author Eric Huber - University of Illinois staff
*
**/
/********************************************************************
Week 1: Linked List and ... | [
"58405253+singhdipesh14@users.noreply.github.com"
] | 58405253+singhdipesh14@users.noreply.github.com |
0d4ac713f1d6c162ce5d4bfc1f49af85bb85eb84 | 35630b68e10b93e388d882c921e64a5e821150d8 | /lexer/tokens/comma.cpp | 197fdf554f3ccaa1368c635692cdbb0b7f1c841c | [] | no_license | Alexander1000/postgresman | 049456558e91e970ebb76b9b6a92ed312c127208 | 17945fff143006d20b3aeb2bce025b7a9dc5bf3f | refs/heads/master | 2021-08-23T01:54:12.500578 | 2017-12-02T09:29:30 | 2017-12-02T09:29:30 | 110,338,460 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 106 | cpp | class Comma : public Token
{
public:
Comma(int line, int column) : Token(line, column)
{
}
};
| [
"adankovtsev@avito.ru"
] | adankovtsev@avito.ru |
7e80cff4a95a7738df9f975e3541fe6bdf779851 | ecdc3b6130c00146a28b74939b8fe43cff3023f3 | /C++_button_ISR_LED.X/my_button_handler.h | b72668518db7d6353380414ad7caa5195023e39a | [] | no_license | PICdew/MPLAB_X_experiments | a1734beeddce612eafa5d820fdd94854f36a0485 | a99f28f3347015f7b907122aca66ab7702b8fec2 | refs/heads/master | 2020-04-19T13:53:28.317981 | 2014-05-16T20:58:50 | 2014-05-16T20:58:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 407 | h | /*
* File: my_button_handler.h
* Author: John
*
* Created on April 21, 2014, 8:53 AM
*/
#ifndef MY_BUTTON_HANDLER_H
#define MY_BUTTON_HANDLER_H
class my_button_handler
{
public:
static my_button_handler& get_instance(void);
void do_the_button_thing(void);
private:
my_button_handler();
void handle... | [
"amdreallyfast@hotmail.com"
] | amdreallyfast@hotmail.com |
812578af19aa5a40994c70c459184bca4569911c | e9490290a3eb2bbb783308f079c5aa31fcaa6f7d | /1 OpenMP/Week 3/3.1_ordered/3.1_ordered/main.cpp | 75d7e022774eef813d5b84f27cff9fa4ea620793 | [
"MIT"
] | permissive | WazaWaza2020/Parallel-computing-Coursera | 70514e9bc2fcd7857a2a5996e839aedb0d5dbcf4 | 46e0b646713ccae9101b873e428c767e0bde2e85 | refs/heads/master | 2021-09-13T05:01:26.387374 | 2018-04-25T07:11:22 | 2018-04-25T07:11:22 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 332 | cpp | #include <stdio.h>
#include <omp.h>
#include <locale>
int main()
{
setlocale(LC_ALL, "Russian");
int i, n;
#pragma omp parallel private (i, n)
{
n = omp_get_thread_num();
#pragma omp for ordered
for (i = 0; i<5; i++)
{
#pragma omp ordered
{
printf("ordered: Поток %d, итерация %d\n", n, i);
}
}
}
}
| [
"uvarov.max@gmail.com"
] | uvarov.max@gmail.com |
4b0a6252fb4cb7751d45c506b7d1f7f114e93b93 | 131f3d14e44ec07e1ab0093f953f51f8096ec617 | /rpc/src/stub_client.cc | dbb1e8469a472b85d5f1e38eecf9d7ceda2db53e | [
"BSD-2-Clause"
] | permissive | tibkiss/codesloop | 42e19541f875834fa771bc630444f7adc1d32ad9 | 3f5c2ccbefb611c47ea9cbc5a5e4b8e9a39d2d0f | refs/heads/master | 2020-04-08T12:12:42.453779 | 2009-08-03T19:04:16 | 2009-08-03T19:04:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,827 | cc | /*
Copyright (c) 2008,2009, David Beck, Tamas Foldi
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | [
"tfoldi@xsi.hu"
] | tfoldi@xsi.hu |
e765b64c20599f170f46ed1b2ebd2e57529d48cf | 2ecf23a22ede90d51895eb0154e1f88faa4ae2df | /src/CPlusPlusTemplates/Chapter.16/Details/TestCounter.cpp | 2a767ad4134e41b02ea3323f955e2bbc675101de | [] | no_license | zhangrongzhao/CPlusPlusTemplates | d7b53a8e1e9f4bd5b5191c26da7f135e28cba54f | 5b4132d10c9eeab112f174397de2bfca26d5714e | refs/heads/master | 2020-06-11T01:56:39.320247 | 2016-12-07T09:14:03 | 2016-12-07T09:14:03 | 75,818,671 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 395 | cpp | #include "stdafx.h"
#include <iostream>
#include "objectCounter.h"
template<typename charT>
class MyString :public ObjectCounter<MyString<charT>>{
};
void test_counter(){
MyString<char> s1, s2;
MyString<wchar_t> ws;
std::cout << "number of MyString<char>: " << MyString<char>::live() << std::endl;
std::cout << ... | [
"rongzhao.zhang@pearson.com"
] | rongzhao.zhang@pearson.com |
33c8e8f02c042e7e4f7f235ef4ae6bf80139c37a | 6e022ee369ffc2d6c34ebcc3072fa22f71b19062 | /Maxwell-Equation-Solver/Interface.cpp | 795122ff8586c7b9788d8eef243eb63712e2e697 | [
"MIT"
] | permissive | 08jne01/Maxwell-Equation-Solver | 5100679c302825a96ef7b17e8eb465d486a0032f | 1e573d9c471b813448b50ed17414c4f5e978922c | refs/heads/master | 2021-07-16T04:07:23.264709 | 2021-07-08T17:07:07 | 2021-07-08T17:07:07 | 152,332,781 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 81 | cpp | #include "Interface.h"
//Interface class definitions
Interface::Interface()
{
} | [
"joshnel123@gmail.com"
] | joshnel123@gmail.com |
a82418bc93ed7d9d7e494495c7eb6044a7cdcfbe | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function13731/function13731_no_schedule/function13731_no_schedule.cpp | 61760197a2f043e7a7ea429cfa5b8a2aa0ec3c5a | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,831 | cpp | #include <tiramisu/tiramisu.h>
using namespace tiramisu;
int main(int argc, char **argv){
tiramisu::init("function13731_no_schedule");
constant c0("c0", 512), c1("c1", 1024), c2("c2", 128);
var i0("i0", 0, c0), i1("i1", 0, c1), i2("i2", 0, c2);
input input00("input00", {i1}, p_int32);
input in... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
fe6adf664d6d6fbfe05f5187f9b99a16f6fce550 | 629d859edf65182cf430cc4a6e4b40e628b26cf9 | /算法题/08最小路径和.cpp | 15343863d2df8c543d061be7784efb1fdc8bc1fd | [] | no_license | ADreamyj/cpp | 8f0a0622afc4bb7c764083634a7951818ceedfa3 | c4672b3f8b3aa51a75741f030597cb17574b3a1c | refs/heads/master | 2020-04-03T15:25:20.448530 | 2019-10-06T12:32:20 | 2019-10-06T12:32:20 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,471 | cpp | #define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
#include<vector>
#include<algorithm>
//题目:给定一个m*n的网格,网格用非负数填充,找到一条从左上角到右下角
//的最短路径,每次只能向上或者是向下运动
//方法:动态规划
//状态:
// 子状态:从(0,0)到达(1,0),(1,1)....(m - 1,n - 1)的最短路径
// F(i,j):从(0,0)到达F(i,j)的最短路径
//状态递归:
// F(i,j) = min{F(i - 1 , j) , F(i,j - 1)} + (i,j);
//初始化:
//... | [
"861396671@qq.com"
] | 861396671@qq.com |
a8847ed5529f7e2c1f5fb23fcc3548674d287259 | 59138b1b34e2a9356ad7154a9705007349209e9a | /platform/JS/V8/v8/test/cctest/test-debug.cc | 8c3818e8e9ec358b0ca929189139d2f49bae4ceb | [
"BSD-3-Clause",
"bzip2-1.0.6",
"SunPro",
"Apache-2.0"
] | permissive | gboyraz/macchina.io | 6b879fca2329e7060122adfc691b4870d4dc06ac | de79c4d2eace01e24d685ac7f7c2e8aadf6b2668 | refs/heads/master | 2020-06-29T13:18:05.975243 | 2019-08-04T22:43:08 | 2019-08-04T22:43:08 | 200,547,738 | 2 | 0 | Apache-2.0 | 2019-08-04T22:29:19 | 2019-08-04T22:29:19 | null | UTF-8 | C++ | false | false | 238,207 | cc | // Copyright 2012 the V8 project authors. 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 ... | [
"guenter.obiltschnig@appinf.com"
] | guenter.obiltschnig@appinf.com |
13af84ad2b9c1d2d6767ee61437651e808614564 | 7da54b0879af988c5c18f5bb1f6dd76d711bf93d | /GalaxyWar/c/GW_Tir_W.cpp | 607b3cf41148b7f9e7a0e9d06d55720e308c6023 | [] | no_license | Spirou003/Old_Galaxywar | e8bc92e6e98db56c28962e4cac3ae162316dac86 | d01d0d63f15a4a0517ef942b9a09e8f2cc14b7ac | refs/heads/master | 2021-01-18T21:39:18.900712 | 2016-10-01T15:53:23 | 2016-10-01T15:53:23 | 69,746,816 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,827 | cpp | #ifndef GW_TIR_W_C
#define GW_TIR_W_C
#include "../h/GW_Tir_W.hpp"
#include "../h/GW_GraphicsIncluser.hpp"
#define GW_NAMECLASS GW_Tir_W
bool GW_NAMECLASS::exists = false;
Sprite GW_Tir_W::SPRITIR[2];
bool GW_NAMECLASS::IsDead(void) const
{
return stop;
}
bool GW_Tir_W::Init(cbool previnit)
{
if (exists ||... | [
"poulain-julien@hotmail.com"
] | poulain-julien@hotmail.com |
0421f25f03e097dc45a45b452ae43f0295d09b89 | 1e8014bb81256091c4b33533e3d298c5354e98b5 | /src/OpenGLViewer.cpp | 2f75a7eb9d23e5ac7d8f4ebf5073e4ed4777d9f4 | [] | no_license | cheneeheng/KINECT | 3689e0459ffb6f903f5d483eaf0cf4a16061ac81 | b6c4308668e72aabc3fd00542db24ea267ca8454 | refs/heads/master | 2021-01-19T10:25:34.064421 | 2017-07-19T13:11:09 | 2017-07-19T13:11:09 | 82,189,375 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,961 | cpp | /*
* DataFilter.cpp
*
* Created on: Apr 19, 2017
* Author: chen
*/
#include "OpenGLViewer.h"
OpenGLViewer::OpenGLViewer() { }
OpenGLViewer::~OpenGLViewer() { }
void OpenGLViewer::Initialize(
GLuint &VertexArrayID,
GLuint &vertexbuffer,
GLuint &colorbuffer,
GLuint &vertexbufferAxes,
GLuint &col... | [
"eeheng.chen@gmail.com"
] | eeheng.chen@gmail.com |
9cb6b4f99c90f15f2ec7a6fd84d20774329c83cf | 68e0ac801e67b9d4fe9b034044869a5d72cd4be6 | /shared/src/util/include/temp_file.hpp | bf0f36c88ed5ac4d1dcca26d0a360faebcc9505a | [
"Apache-2.0"
] | permissive | TGAC/grassroots-api | 3336e1c129769abcba9812cf6244b024d2d31caf | 9692dcb428fc7a2a93b22a8510abff05deda1234 | refs/heads/master | 2021-01-17T14:26:02.561826 | 2018-02-19T19:55:07 | 2018-02-19T19:55:07 | 43,677,565 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,556 | hpp | /*
** Copyright 2014-2016 The Earlham 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/licenses/LICENSE-2.0
**
** Unless required by applicable... | [
"simon.tyrrell@earlham.ac.uk"
] | simon.tyrrell@earlham.ac.uk |
4a15f5a86c84f10e5f0392e344bbe775483ead08 | 7b2069055c33e59a40da9f9ac4138599f412209c | /Lab3/Lab3/MyForm.cpp | 69300cd7f5df449e1389a1d57d60b888d1e24623 | [] | no_license | Divine5Beauty/Lab.Rab.Three | b90d88b395a1f7992bce70a33271768dba688d26 | 1c32d4b582eb139cfbbad34e9741ca572ee0b0fd | refs/heads/main | 2023-05-03T18:01:26.658201 | 2021-05-21T18:58:44 | 2021-05-21T18:58:44 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 632 | cpp | #include "pch.h"
using namespace System;
#include "MyForm.h"
using namespace Windows::Forms;
[STAThread]
int main()
{
Application::EnableVisualStyles(); // включает визуальные стили
Application::SetCompatibleTextRenderingDefault(false); // настройка совместимого отображения текста по умолчанию
Application::Run(... | [
"andreygamer01@bk.ru"
] | andreygamer01@bk.ru |
8dff8e930b1d400474f869467b7016c5d6ddeefd | 7d7301514d34006d19b2775ae4f967a299299ed6 | /c++primer/Second_1.18_notes/12/12.1.1.shared_ptr.cpp | 2186ce4636b27f5dbe07d269289e79572e30b360 | [] | no_license | xmlb88/algorithm | ae83ff0e478ea01f37bc686de14f7d009d45731b | cf02d9099569e2638e60029b89fd7b384f3c1a68 | refs/heads/master | 2023-06-16T00:21:27.922428 | 2021-07-17T03:46:50 | 2021-07-17T03:46:50 | 293,984,271 | 1 | 0 | null | 2020-12-02T09:08:28 | 2020-09-09T02:44:20 | C++ | GB18030 | C++ | false | false | 1,086 | cpp | #include <iostream>
#include <memory>
#include <vector>
#include <string>
using namespace std;
void t_shared_ptr() {
shared_ptr<string> p1;
shared_ptr<list<int>> p2;
// 如果p1不为空,检查它是否指向一个空string
if (p1 && p1 -> empty())
*p1 = "hi"; // 如果p1指向一个空string,解引用p1,将一个新值赋予string
/*
shared_ptr<... | [
"xmlb@gmail.com"
] | xmlb@gmail.com |
db133ba74c1685ce2159b311f1226670877dd036 | f8050958bf3b16d353d0de81709077833d57183b | /s32v234_sdk/libs/apex/llrt/inc/common.hpp | bcd222a7f8d256279fb5162e08cf0907d2b784eb | [
"WTFPL"
] | permissive | zhuhaijun753/Panorama4AIWAYS | 9bf0482afc1e69fbf1dabf02b7df4f978efecb49 | 46e1988e54a5155be3b3b47c486b3f722be00b5c | refs/heads/master | 2022-03-31T11:06:24.278727 | 2020-01-30T03:42:34 | 2020-01-30T03:42:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,309 | hpp | /*****************************************************************************
*
* NXP Confidential Proprietary
*
* Copyright (c) 2018 NXP Semiconductor;
* All Rights Reserved
*
*****************************************************************************
*
* THIS SOFTWARE IS PROVIDED BY NXP "AS IS" AND ANY EXPRESSED O... | [
"panyuhua@intesight.com"
] | panyuhua@intesight.com |
813bfca85af48ce141896352f3acfa56e41746f4 | a05464ab568c7319ae3b81cb496bce9bd9960e1e | /server/src/Server.h | 270405fce850901fb489d4ce456c846d3d6f8507 | [] | no_license | nathanguigui/CPP_rtype_2019 | 832d4d1649cce3519deacdd0efeb9f7bcfc49f6c | 38c2633a5930a48c95c41f31618118d72a8461b8 | refs/heads/master | 2020-12-09T09:12:55.246256 | 2019-12-04T09:16:02 | 2019-12-04T09:16:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 328 | h | //
// Created by Lucas on 11/13/2019.
//
#ifndef CPP_RTYPE_2019_SERVER_H
#define CPP_RTYPE_2019_SERVER_H
#include <iostream>
using namespace std;
class Server {
public:
Server(string IP_Server);
~Server();
void Create_Session(string PartyKey);
private:
};
#endif //CPP_RTYPE_2019_S... | [
"lucas.comte@epitech.eu"
] | lucas.comte@epitech.eu |
0cfbc1df13a4ef746b8f1117abfc8846d2e989bf | dc802fc27398276106626e12ab1e5ae957bde460 | /modules/sabi_core/excludeFromBuild/ActiveLoader.h | 9a8e847a6e1b077783ba6ec5430b5d5f14c27f57 | [
"Unlicense"
] | permissive | simoncblyth/Optix7Sandbox | 495e58e017cb94c28a506ce8f9e948526b1eba4d | 06c703ea9bd00d65a32ea3dcd26d9fc208655543 | refs/heads/master | 2020-09-11T13:01:49.553607 | 2019-10-20T09:18:34 | 2019-10-20T09:18:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,072 | h | // This header file was auto-generated by ClassMate++
// Created: 2 Sep 2019 5:16:51 am
// Copyright (c) 2019, HurleyWorks
#pragma once
using sabi::Surface;
using sabi::MeshBuffers;
using sabi::MeshBuffersHandle;
using juce::File;
using igl::read_triangle_mesh;
using igl::per_vertex_normals;
class ActiveLoader
{... | [
"microsoft@hurleyworks.com"
] | microsoft@hurleyworks.com |
ac7c2a8d8f607e370c3d9dcce100255eb114b275 | 58a0ba5ee99ec7a0bba36748ba96a557eb798023 | /CodeForces/Complete/1100-1199/1108A-TwoDistinctPoints.cpp | 7ebcb51c1741c9fe49e31f09e01c20bdd7263c2e | [
"MIT"
] | permissive | adityanjr/code-DS-ALGO | 5bdd503fb5f70d459c8e9b8e58690f9da159dd53 | 1c104c33d2f56fe671d586b702528a559925f875 | refs/heads/master | 2022-10-22T21:22:09.640237 | 2022-10-18T15:38:46 | 2022-10-18T15:38:46 | 217,567,198 | 40 | 54 | MIT | 2022-10-18T15:38:47 | 2019-10-25T15:50:28 | C++ | UTF-8 | C++ | false | false | 228 | cpp | #include <cstdio>
int main(){
long n; scanf("%ld", &n);
while(n--){
long ls, rs, lt, rt; scanf("%ld %ld %ld %ld\n", &ls, &rs, <, &rt);
printf("%ld %ld\n", ls, lt + (ls == lt));
}
return 0;
}
| [
"samant04aditya@gmail.com"
] | samant04aditya@gmail.com |
63c947d8c92974760d91fd8218d141ec4ea7a807 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /datalake/include/alibabacloud/datalake/model/DeletePartitionColumnStatisticsRequest.h | 676144b055ebdd24a37400002a4f1e0557634276 | [
"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 | 1,738 | h | /*
* 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 by... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
00af3488a91437983d75a2b0c070f5dc65525d96 | e745a83f2da94da5d8a0ec765a6da588572b1b0b | /ebox_stm32f103RCT6_VS/ebox_stm32f103RCT6_VS/example/mpu9250/mpu9250_test.cpp | 6ddd1f8805f5e40a9d59647489166ad38c5150a7 | [] | no_license | shicaiwei123/Control-switch | 6f0735bc143a18cf790b05ecf95c60a77c3220c3 | 29e7ff124158503fd2237b6569c4b846b7fe135c | refs/heads/master | 2021-01-01T06:06:33.828876 | 2017-07-19T13:20:42 | 2017-07-19T13:20:42 | 97,356,917 | 1 | 2 | null | null | null | null | GB18030 | C++ | false | false | 1,895 | cpp | #include "ebox.h"
#include "mpu9250.h"
#include "my_math.h"
#include "uart_vcan.h"
FpsCounter fps;
MPU9250AHRS mpu(&i2c1,MPU6500_Model_6555);
UartVscan vscan(&uart1);
#define SEND_ANGLE
//#define SEND_RAW
void setup()
{
ebox_init();
uart1.begin(115200);
mpu.setGyroBias(-0.0151124271, -0.00376615906, 0.012465362... | [
"shicaiwei365@163.com"
] | shicaiwei365@163.com |
52df8528777f5aedd40989b563f7285f9b86463c | b4e50bd35fa8bd07824edf17d5f91147f506c9a8 | /EX12ListaN3.cpp | 55a7fecec5bfdbd50ef83f7075b443aac8d9cf0d | [] | no_license | teago83/ExerciciosAntigosCPP | 3065e26bb0299bd8418f4cff718d072ee6873cb1 | 4d7130f9e1044748ad18021cb168c9f83c73c8e8 | refs/heads/master | 2020-07-18T01:58:46.412881 | 2019-09-03T18:47:12 | 2019-09-03T18:47:12 | 206,149,230 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 541 | cpp | //12. Escreva um algoritmo que leia um vetor inteiro de 30 posições e crie um segundo vetor, substituindo os valores nulos por 1. Mostre os 2 vetores.
#include<iostream>
#include<conio.h>
#include<stdio.h>
using namespace std;
int v[30],vn;
int main(){
cout<<"Digite os valores bem doidos pow:"<<endl;
for(int i=... | [
"supremeleaderpastel@gmail.com"
] | supremeleaderpastel@gmail.com |
c5e09990764199eeaf595257c5b18c9128fbe4d4 | 7bb98be114a835c04cb6c8454ecee85b15897b05 | /src/fileview.cpp | 4ab3ca37e5232bfa09a72691471038ccec281ddd | [
"BSD-3-Clause"
] | permissive | renzibei/Filesys | f3e09beb4d2e99488997123a38a3b0e0db708aa6 | 7919654f71d3254c52f9a46321bc450f4a9c1b93 | refs/heads/master | 2021-05-01T03:10:06.780778 | 2020-06-15T16:48:31 | 2020-06-15T16:48:31 | 121,186,883 | 1 | 0 | null | 2018-02-12T01:41:50 | 2018-02-12T01:41:50 | null | UTF-8 | C++ | false | false | 9,423 | cpp | #include "fileview.h"
#include <iostream>
FileView::FileView(QWidget *parent)
: QDialog(parent)
{
this->setWindowIcon(QIcon(":/new/icon/vfs_icon.svg"));
InitDisk();
setWindowTitle( tr( "Virtual File System" ) );
WorkPathEdit = new QLineEdit(this);
WorkPathEdit->setText( tr( "/" ) );
GoToBtn... | [
"fan_qu@icloud.com"
] | fan_qu@icloud.com |
97799264b5e07a8a7651b9638c78d0f0d97e358c | d49b8536d996a81fd2a356f2ccd850abd4447217 | /VirusPack/LiquidBot_FixEd_By_Pr1muZ_anD_Ic3/source/httpd.cpp | 9417f47d88af289650d4a4291ca4b709f08cd6eb | [] | no_license | JonnyBanana/botnets | 28a90ab80f973478d54579f3d3eadc5feb33ff77 | 995b9c20aca5de0ae585ae17780a31e8bdfd9844 | refs/heads/master | 2021-07-01T01:51:01.211451 | 2020-10-22T23:14:57 | 2020-10-22T23:14:57 | 148,392,362 | 9 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 13,675 | cpp | #include "../header/includes.h"
#include "../header/functions.h"
#include "../header/externs.h"
#ifndef NO_HTTPD
DWORD WINAPI HTTP_Server_Thread(LPVOID param)
{
HTTPD httpd = *((HTTPD *)param);
HTTPD *httpds = (HTTPD *)param;
httpds->info = TRUE;
char sendbuf[IRCLINE], buffer[4096], rBuffer[4096], ... | [
"mstr.be832920@gmail.com"
] | mstr.be832920@gmail.com |
25a60e1dc316095d9d0379f2a57e5c3a56a62030 | 6559c9c66342c546f41ced1548d239fbfea0d7c9 | /Ramjet_Core/App/Application.h | b8ae9c7d75577ac479547995d7b8abdf1da7411c | [] | no_license | Fox3medium/RamjetEngine | e8f3cdbd74dc3e846974ebd3f6fb6c12415d0808 | 1b6c83f51821d94a8b35720bc09d6a4d28741fa9 | refs/heads/master | 2022-01-28T13:54:55.575843 | 2019-07-17T21:45:24 | 2019-07-17T21:45:24 | 194,148,095 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,517 | h | #pragma once
#include <CoreBasicInclude.h>
#include <Core/Common.h>
#include <Utils/types.h>
#include <Init/Window.h>
#include <Managers/Control_Manager.h>
#include <Rendering/Renderer/Layers/Layer.h>
#include <Utils/Timer.h>
namespace Core
{
namespace Debug
{
class DebugLayer;
}
}
namespace App {
using... | [
"rmdirsudosu@gmail.com"
] | rmdirsudosu@gmail.com |
fa3d25e4f997eefd1c00e24fd73cac4d07047da2 | 8264dae28229bc6b8d09c72f34c0bd2a27a71019 | /src/layout.h | 579d827c1d1f88775463e355236fecf90e1a49a0 | [] | no_license | Bayonetta5/hge-gui | a502d9c725ea3460aa5d3b4820f2bcb68b22eb37 | 7859b47c6c204534276533f05b987111fadbb451 | refs/heads/master | 2023-03-19T13:28:19.128148 | 2013-10-16T18:39:32 | 2013-10-16T18:39:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 550 | h | #ifndef LAYOUT_H
#define LAYOUT_H
#include <vector>
namespace Gui
{
class Widget;
class Layout
{
public:
Layout();
virtual ~Layout();
virtual void Update(float x, float y, float width, float height) = 0;
void AddWidget(Widget* value);
void Rem... | [
"nickolaib2004@gmail.com"
] | nickolaib2004@gmail.com |
670bba6acb9d62982507961e9b22af8d50af8c4e | fa44309e624fc5d7692306c9d071f5062894d100 | /EcdMirror/StringUtil.h | 5e4fc2c4e90223c3b2f3ed531d6fe45044a46b51 | [] | no_license | QLLLll/Objectarx12_14 | 8be47480e19a24c9b28ef93b8ecb8a4fcdc03adb | 41a2ce478e0fcfa69a90bc8df69dd599e499bc1c | refs/heads/master | 2022-06-18T05:57:28.594922 | 2020-05-15T06:57:20 | 2020-05-15T06:57:20 | 257,164,398 | 0 | 3 | null | null | null | null | GB18030 | C++ | false | false | 453 | h | #pragma once
#include <vector>
class CStringUtil
{
public:
CStringUtil();
~CStringUtil();
// 以一个字符串为分隔符对字符串进行分割
// bAddEmptyItem: 是否添加空字符串元素
static void Split(const CString &text, const TCHAR* separator, std::vector<CString> &result, bool bAddEmptyItem = true);
// 通过分隔符合并字符串集合
static CString Join(const std::v... | [
"GGBman@hotmail.com"
] | GGBman@hotmail.com |
2d1b9d7b936f81a35bb6d17174d0701cd8806cb0 | 4e8cd45798d12f970d0cb829dbd38459520e4a6a | /src/mbgl/annotation/annotation_source.hpp | db9221788f70fe761da9cf476cbb078323e3bd7c | [
"BSD-3-Clause",
"IJG",
"LicenseRef-scancode-warranty-disclaimer",
"Zlib",
"curl",
"NCSA",
"LicenseRef-scancode-openssl",
"OpenSSL",
"LicenseRef-scancode-ssleay-windows",
"JSON",
"ISC",
"MIT",
"BSL-1.0",
"Apache-2.0",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference",
"b... | permissive | spurdow/mapbox-gl-native | 1276027299de93b241ed4a0461748e7fa9395cc3 | 2e746058f75e5ed4afc3a7540a82c50479529af4 | refs/heads/master | 2021-01-21T16:44:28.147359 | 2016-07-19T14:02:11 | 2016-07-19T14:02:11 | 63,533,799 | 2 | 0 | null | 2016-07-17T13:41:21 | 2016-07-17T13:41:21 | null | UTF-8 | C++ | false | false | 570 | hpp | #pragma once
#include <mbgl/style/source.hpp>
#include <mbgl/style/source_impl.hpp>
namespace mbgl {
class AnnotationSource : public style::Source {
public:
AnnotationSource();
class Impl;
};
class AnnotationSource::Impl : public style::Source::Impl {
public:
Impl(Source&);
void load(FileSource&) ... | [
"john.firebaugh@gmail.com"
] | john.firebaugh@gmail.com |
aa39aa03f09100f27919f56c6efd5cbf8f3a1ccb | b8ea2981a2bceb011d958ad8a6c126d8b2bd1dbb | /src/Generator.cpp | f6a238f8102bb520214466bc068f081b93fae0f4 | [
"MIT"
] | permissive | wandns/doxyrest | c1176ed2db403ee2969215e3acf37c7c9c07e504 | f52d62d7dbc872be7b678cc3bf1554ad7c940e56 | refs/heads/master | 2020-04-27T02:38:58.668256 | 2019-03-29T07:36:08 | 2019-03-29T07:36:08 | 174,001,414 | 0 | 0 | MIT | 2019-06-13T02:52:51 | 2019-03-05T18:42:48 | C++ | UTF-8 | C++ | false | false | 5,535 | cpp | //..............................................................................
//
// This file is part of the Doxyrest toolkit.
//
// Doxyrest is distributed under the MIT license.
// For details see accompanying license.txt file,
// the public copy of which is also available at:
// http://tibbo.com/downloads/ar... | [
"vovkos@gmail.com"
] | vovkos@gmail.com |
99e6e341ca7829023aeba76920751997c79fbd61 | ba9322f7db02d797f6984298d892f74768193dcf | /imm/include/alibabacloud/imm/model/UpdateSetRequest.h | 822e804d75558923a17f3ebaddee6ab0013cdcdf | [
"Apache-2.0"
] | permissive | sdk-team/aliyun-openapi-cpp-sdk | e27f91996b3bad9226c86f74475b5a1a91806861 | a27fc0000a2b061cd10df09cbe4fff9db4a7c707 | refs/heads/master | 2022-08-21T18:25:53.080066 | 2022-07-25T10:01:05 | 2022-07-25T10:01:05 | 183,356,893 | 3 | 0 | null | 2019-04-25T04:34:29 | 2019-04-25T04:34:28 | null | UTF-8 | C++ | false | false | 1,734 | h | /*
* 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... | [
"haowei.yao@alibaba-inc.com"
] | haowei.yao@alibaba-inc.com |
b8c7657b99c70613e87cb5534e6b59a0224cad9e | 799516a742541b63a43db4f94a89e1e50bc629b0 | /oj.ahstu.cc/1009.cpp | b87815a19ef06569d06e3d31d1943a88a2097a7e | [] | no_license | webturing/ACM | 2e940a72d90c0f3f45d1758d8d46c765ac47f689 | aab803107af653e18ea4f049ac642fefa420acc7 | refs/heads/master | 2021-01-23T04:19:09.859541 | 2017-06-12T14:27:13 | 2017-06-12T14:27:13 | 92,923,789 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 214 | cpp | #include <iostream>
using namespace std;
int main(int argc, char const *argv[]) {
for (unsigned n, s; cin >> n;) {
for (s = 0; n; n /= 10) s += n % 10;
cout << s << endl;
}
return 0;
} | [
"zj@ahstu.cc"
] | zj@ahstu.cc |
47cc13755ac512f72d5451a4d5f2ff67b23551f7 | 09a320e960b0af9210a659b9cce9f155d3ab99b9 | /ch9/p21.cpp | adbd476a572e7b52b6360cee19e41dace5396512 | [] | no_license | hiteshkansal/Karumanchi | 7f53d3289a4af3aba5ca9712cce1336f4e126752 | 84802ac10888bc8316658663e7f2491998b4bf22 | refs/heads/master | 2021-01-21T20:38:48.941685 | 2017-05-24T07:55:39 | 2017-05-24T07:55:39 | 92,263,712 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 875 | cpp | #include<iostream>
#include<set>
using namespace std;
typedef struct edge
{
int s;
int d;
}edge;
/*
6 7
0 1
0 2
1 3
2 1
3 5
0 4
4 5
*/
int main()
{
int e,v;
cin>>v>>e;
edge ed[e];
for(int i=0;i<e;i++)
cin>>ed[i].s>>ed[i].d;
int mark[v];
for(int j=0;j<v;j++)
mark[j]=0;
... | [
"hiteshkansal@outlook.com"
] | hiteshkansal@outlook.com |
1077a2489f425a51afddf4bd1fdc8a4f93dc9fc2 | cbc7461ab8b9bf0c63ee2acd4bc3a3c5be094ad4 | /example2/version.cpp | fe2af5372f45e50b590b079733e1a0fc8b655344 | [] | no_license | ALTracer/cmake-examples-cpp-otus | 8cd063f996e4f97b152d7dab2480504ad4516f04 | 43a14176f88f245d5bac02894e59db95a6426211 | refs/heads/master | 2020-06-04T16:19:13.595471 | 2019-06-15T21:38:14 | 2019-06-15T21:38:14 | 192,099,957 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 82 | cpp | #include "version.h"
namespace examples {
int getVersion() {
return 0;
}
}
| [
"tolstov_den@mail.ru"
] | tolstov_den@mail.ru |
69440f7482e6588f91a5f30775234ba899e74b0a | df6c3d7d95507bf452ce8eda24e779a82049fcad | /final-project/simulationNonInertial/5/phi | 950a4b7db440624e942648426a8a29404aa6e726 | [] | no_license | aeronau/CFD-course | 5c555e7869f0170f90e9d3532b06f7e78683b770 | e891eb94950cfa0992d6ff003dbe45315af377c5 | refs/heads/master | 2021-09-01T04:18:32.111694 | 2017-12-24T18:18:44 | 2017-12-24T18:18:44 | 104,058,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 146,090 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.1 |
... | [
"[arnau.prat.gasull@estudiant.upc.edu]"
] | [arnau.prat.gasull@estudiant.upc.edu] | |
d76e54c4d6d1737af2e16412e9e4adf4c59a2916 | a9d0dcb8b0164a42828c71ff55b396fec555320a | /projekt_gra/opengl/glm/glm/core/type_mat2x4.inl | 9da29a7f2699dab2e466277ba3751e5394d262ed | [
"MIT"
] | permissive | pwltomaszek/projekt_gra | 5215c3c3de4347b9f01a3473fe46831c6b738257 | 887e367ac6bbd30102de6b58a62d937c55961f93 | refs/heads/master | 2020-04-09T15:34:08.241279 | 2011-01-23T22:45:54 | 2011-01-23T22:45:54 | 1,031,551 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,031 | inl | ///////////////////////////////////////////////////////////////////////////////////////////////////
// OpenGL Mathematics Copyright (c) 2005 - 2010 G-Truc Creation (www.g-truc.net)
///////////////////////////////////////////////////////////////////////////////////////////////////
// Created : 2006-08-05
// Updated : 20... | [
"pwl.tomaszek@gmail.com"
] | pwl.tomaszek@gmail.com |
674ee3e90bb9f3a5be0215af14e056921cdb107b | bd8ea61964838d300e50dacd84a7acd23761a1bf | /src/server/game/Entities/Unit/Unit.h | 24b247e167dacaf67a6b507654c4c4806be26ba0 | [] | no_license | AtVirus/Tenerby | 95241aadd5604d49639c80b340bfd182aa290ba9 | 7f9b77f57d23aa05bb40fbde34384fb072fdd68b | refs/heads/master | 2020-12-30T18:15:46.086139 | 2013-06-07T05:14:35 | 2013-06-07T05:14:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115,018 | h | /*
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either ver... | [
"borisovski88@gmail.com"
] | borisovski88@gmail.com |
6cb86d493da3c083dd1d3f2738f1c72255609c21 | f92d576a21fb41ca65b50874f24d5dfff4ec5528 | /src/io/ArgParser.cpp | a365f2d3e2c348609866fd605506c23b1cf5d58f | [
"MIT"
] | permissive | WenYuZhi/GPH | 293f2e788cffe300f701059c48d9e31bf346b3ee | c3ded30f5cd780a86e8c92d9db6ea89764fcc499 | refs/heads/master | 2023-06-19T20:34:46.366597 | 2020-04-18T18:53:32 | 2020-04-18T18:53:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,571 | cpp | #include "ArgParser.h"
#include "Message.h"
#include "clipp/clipp.h"
#include <iostream>
#include <limits>
std::optional<ArgInfo>
parseArgs(int argc, char** argv)
{
using namespace clipp;
ArgInfo arginfo;
arginfo.timelimit = std::numeric_limits<int>::max();
arginfo.nthreads = -1;
arginfo.probFile = ... | [
"anass.meskini94@gmail.com"
] | anass.meskini94@gmail.com |
c61742f4b0a48f5307a3e1daad5fc949c2233e07 | b73eec3a26bdcffb6a19dec6b8b048079befe04c | /3rdparty/meshlab-master/src/meshlabplugins/edit_align/align/OccupancyGrid.h | 83894498296ffd6d1967550b844f8da953aa9096 | [
"GPL-1.0-or-later",
"GPL-3.0-only",
"MIT"
] | permissive | HoEmpire/slambook2 | c876494174e7f636bdf5b5743fab7d9918c52898 | 96d360f32aa5d8b5c5dcbbf9ee7ba865e84409f4 | refs/heads/master | 2020-07-24T02:35:39.488466 | 2019-11-25T03:08:17 | 2019-11-25T03:08:17 | 207,775,582 | 0 | 0 | MIT | 2019-09-11T09:35:56 | 2019-09-11T09:35:56 | null | UTF-8 | C++ | false | false | 6,101 | h | /****************************************************************************
* VCGLib o o *
* Visual and Computer Graphics Library o o *
* _ O _ *
* Copyri... | [
"541218251@qq.com"
] | 541218251@qq.com |
a53b0a4cf1170cb16520715fd884aa7e9fbd056e | bb998a6e9fcd5615c707b627a351bca1733090d4 | /src/include/mcmcutil.hpp | 0c8a9e8cf35452ed2377561addf4616c6f29c3bf | [] | no_license | heavenmarshal/lasvdinv | 231cc25cbd633beeb5c8605928ff38c8e65e5766 | 442b7c9a4a6c4a05369c33cea0d3256d47c603ba | refs/heads/master | 2021-04-03T05:58:33.300063 | 2018-07-29T15:37:22 | 2018-07-29T15:37:22 | 124,973,752 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,804 | hpp | #ifndef __MCMCUTIL_HPP__
#define __MCMCUTIL_HPP__
#include<cmath>
#include<cstdlib>
#include<ctime>
#include<random>
extern "C"{
#include "matrix.h"
}
#define LOG2PI 1.83787706641
#define SQ(x) ((x)*(x))
class priorBase{
public:
priorBase(int nparam_):nparam(nparam_){};
virtual ~priorBase(){};
... | [
"heavenmarshal@gmail.com"
] | heavenmarshal@gmail.com |
d565d42c4c7dd4498bce9fa00fd927e70094e3af | 5d1524ba83dc2a13ce87c07f70dd7f2911cf64c9 | /pcp.cpp | a76ec28f916cae2242e4e04f47a1346af64d5aa1 | [] | no_license | Horolsky/pcp | 9c257973f49d5c8404216d99bbc62e691fb177de | 9e0cb130f71f97c886e9ee71533803ecff9035fe | refs/heads/master | 2023-08-03T16:33:48.087810 | 2021-09-04T13:52:11 | 2021-09-04T13:52:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,583 | cpp | /**
* Producer-Consumer Problem sandbox
* semaphores solution
*/
#include <atomic>
#include <chrono>
#include <iostream>
#include <string>
#include <thread>
#include <condition_variable>
#include "deque.hpp"
std::mutex buffer_mutex;
std::mutex factory_mutex;
std::atomic<int> fillCount;
std::atomic<int> emptyCount;... | [
"horolsky89@outlook.com"
] | horolsky89@outlook.com |
884205de1179a49df21d8669682e90ea2398e698 | ad0d8d56ee5e843018d47e5d402dc2a743afd9e4 | /src/EngineImpl.hpp | 6b380c394dda419ca8c5eced9aa2e54ac457d186 | [] | no_license | tsup/tsyn | 9d1f8d3b6e8fb4ee68d634a6a45db92adace93fd | e2d5eefc533a6d9a37f6051630a71e7a6f5ab881 | refs/heads/master | 2020-12-24T13:21:10.428975 | 2013-05-01T13:02:51 | 2013-05-01T13:04:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 959 | hpp | #pragma once
#include "Types.hpp"
#include "RingBuffer.hpp"
namespace tsyn
{
class Clock;
class EngineImpl
{
public:
EngineImpl() = delete;
EngineImpl( const EngineImpl& ) = delete;
EngineImpl& operator=( const EngineImpl& ) = delete;
EngineImpl( const Clock& clk )
: m_send... | [
"peter.ferenc.hajdu@gmail.com"
] | peter.ferenc.hajdu@gmail.com |
8479e72a26353935b88643c5478d5a0ba6093655 | 6df12ed6d237c8bb015be3a5362eb626ea4ecf8b | /Program6_Marcus_Garity_/Source.cpp | 52bbef5a6b8ca2806b5765d3f3dfb387c3f051f1 | [] | no_license | MichaelEssmyer/201R-Spring-2020 | 1aeaa66042609ba85107ba903913e6f9d0b33f84 | aca9be0c76b1b6c5faee5fe927ade8f081d4e73a | refs/heads/master | 2020-12-18T15:41:45.129492 | 2020-05-05T07:11:58 | 2020-05-05T07:11:58 | 235,436,706 | 0 | 16 | null | 2020-02-04T05:56:09 | 2020-01-21T20:37:19 | null | UTF-8 | C++ | false | false | 2,284 | cpp |
// Name: Marcus Garity
// Email: mkgdg4@mail.umkc.edu
// Program: 6
// Created Date: 4/12/2020
// Due Date: 4/16/2020
#include <iostream>
#include <string>
#include <vector>
#include <cctype>
// is a recursive function that takes in token, token goals, turns, and augmentations
std::string FindPath(int, int... | [
"mkgdg4@mail.umkc.edu"
] | mkgdg4@mail.umkc.edu |
b9783a65fe58fab1d5f2623e2013e2f93f766da0 | f26310396bec198fad8ed0d1c7c10228ac57efd6 | /Info702/TP1/tp2-PIZZO-MARIE/MedianFilter.cpp | 2ba6f1624df429f54ce35c7666352e64cc70f271 | [] | no_license | KerTakanov/TPS_Master | ecbe07fbe792ef1ae9b57700f7a81a9e8b79660c | 90df5247f2985951145bd4d8ac808c96717d9cef | refs/heads/master | 2021-09-14T12:31:33.314800 | 2018-05-13T23:27:10 | 2018-05-13T23:27:10 | 106,376,810 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,173 | cpp | //
// Created by Meimei on 23/10/2017.
//
#include "MedianFilter.h"
#include <algorithm>
MedianFilter::MedianFilter() {
}
MedianFilter::MedianFilter(Image2D<unsigned char> img, int mask_size) :
m_img(img),
m_mask_size(mask_size)
{
}
void MedianFilter::build_mask(int x, int y) {
m_mask = std::vector<un... | [
"saphyr73@hotmail.fr"
] | saphyr73@hotmail.fr |
6cb97308d6d22a263a3ba959a8abfa5d57991921 | b30e76c6d3e17aa313b21563b6ecffb093fff974 | /src/channel.h | 942ab8f7b5260a7f4cd3cb118a319767b698db67 | [] | no_license | gitobhub/netlib | 7b594377fbdfd9ad0e40706f8b11a9c328fe4510 | 1f38930b348f053c00a35ff553836183490c0001 | refs/heads/master | 2020-03-07T17:11:30.849951 | 2018-06-11T06:13:57 | 2018-06-11T06:13:57 | 127,604,726 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,314 | h | #ifndef CHANNEL_H
#define CHANNEL_H
#include <functional>
#include <base.h>
#include <poll.h>
class Channel : noncopyable
{
public:
typedef std::function<void(void)> ReadCallback;
typedef std::function<void(void)> WriteCallback;
typedef std::function<void(void)> ErrorCallback;
Channel(int fd);
~Channel();
i... | [
"lgob_123@163.com"
] | lgob_123@163.com |
3a47fa4c5b68055afe654e5f49f64d0d1fd07f58 | 2624472904fbb26024b050c460d363ed4e6e646f | /arduino/_legacy/SceneManager_Development/SceneManagerInterrupt/Sensor.h | 92ee3cfb8e76eebb9a40fe9bb562e7e1f8442cd3 | [] | no_license | m9dfukc/The-Space-Beyond-Me | 9a8296e8b78cf28671f541f5b273fe976d1c2e44 | 32fbb1563c32ccb11d233e53e7d1dce097a866bd | refs/heads/master | 2020-12-24T13:35:44.824015 | 2011-10-16T09:23:12 | 2011-10-16T09:23:12 | 2,570,902 | 11 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 624 | h | #ifndef SENSOR_H
#define SENSOR_H
namespace sbm {
class Sensor {
public:
void setup(void (*_nextFrame)(), void (*_nextScene)(), void (*_endFilm)(), void (*_startFilm)());
void update();
private:
char input;
bool forward;
long framePos;
long frameLastSceneTrigger;
unsigned int nextSceneThreshold;
... | [
"andreas@invertednothing.com"
] | andreas@invertednothing.com |
5b42fc48f9ab1c965b5c182ef361b0d43b254b62 | 06406559616dd6e8509dd45ee5de8b1957520b56 | /fflib/include/epoll_i.h | 46bdfe9d1462619797467536a8007b1c0ea429a6 | [] | no_license | bestboyxie/ffown | 57b93a2b5a295c0d7eab46aee1b3981f8e7f97c9 | 0ba33a0bc741c79fb4d01d4138c568a06c37246b | refs/heads/master | 2016-08-11T21:19:17.709065 | 2015-11-16T13:23:09 | 2015-11-16T13:23:09 | 46,275,501 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 142 | h | #ifndef _EPOLL_I_
#define _EPOLL_I_
#include "netbase.h"
namespace ff {
class epoll_i: public io_demultiplexer_i
{
};
}
#endif
| [
"zxfown@gmail.com"
] | zxfown@gmail.com |
eb8ba5d2f297e1aef494aa10ea7025314cc355f6 | 165e538caf7ef2b0916f1ccbac28d9496a1399c2 | /include/term_utility.h | 0ac26cad61fb15cd2f06c536216a0ee798822a60 | [] | no_license | johnmave126/comp2012h-register | a08b04edf50dcc4a5402d74db3d804bfb4681698 | 41216a4fd5f50bfad7a72f1203f3ef517d28bc01 | refs/heads/master | 2016-09-11T06:34:53.028517 | 2013-05-16T18:36:13 | 2013-05-16T18:36:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 927 | h | /*
* Register for COMP2012H
* Author: TAN, Shuhao
* Stu ID: 20090398
* 2013 Spring
*
* term_utility.h
*
* header file for some terminal utilities
*/
#ifndef _TERM_UTILITY_H
#define _TERM_UTILITY_H
#include "register_common.h"
#ifdef WIN_TERM
#include <windows.h>
#endif
class Term {
public:
/* de... | [
"johnmave126@gmail.com"
] | johnmave126@gmail.com |
e9ab66f52e6f8374f4e9ae4b47627a0929cb02d9 | 5eeeb8f15def20a9c5bb9bf99b9621eb54e5975d | /paramwindow.h | b1f493244e7b5c366200fdd0c3c0dbceb17259aa | [] | no_license | KabaevRoman/KursOOP | fad42f600716a32571582538e007ac41943bd55f | 2e2ff6b45f883cee13b860645e8614c0c4254275 | refs/heads/main | 2023-04-11T10:16:23.889099 | 2021-04-08T17:15:42 | 2021-04-08T17:15:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 780 | h | #ifndef PARAMWINDOW_H
#define PARAMWINDOW_H
#include <QWidget>
#include <QCloseEvent>
#include <QLabel>
#include <QSpinBox>
#include <QPushButton>
#include "paramdata.h"
class TParamWindow : public QWidget
{
Q_OBJECT
QLabel *l1;
QLabel *l2;
QLabel *l3;
QSpinBox *NumOfWorkers;
QDoubleSpinBox *pro... | [
"romakabaev2222@gmail.com"
] | romakabaev2222@gmail.com |
a26adb266fd4fbe13b7bc4ecd702ba2b3542124d | 0f65a0338eef71865123abab8d17d0d415979707 | /learngl_3_3_shaderClass/main.cpp | 1bea8f707cea2ff82590de816a736f326f282ef6 | [] | no_license | PumpkinJimmy/CG_ws | 07e6b63c337fd2ab2c440c384b05844d4f497381 | 33785bbeefde6363290775323243df34860b3ac0 | refs/heads/master | 2023-07-29T00:35:16.249161 | 2021-09-05T02:25:33 | 2021-09-05T02:25:33 | 402,431,315 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 973 | cpp | #include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <iostream>
int main()
{
glfwInit();
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 4);
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 0);
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
GLFWwindow* window = glfwCreateWindow(800, 600, "Learn OpenGL", ... | [
"996344439@qq.com"
] | 996344439@qq.com |
2b1b386ce659d3dcbd225549f6af75a4b5a2a2dc | 82883bc52dbe5ff96db70bcdca8c39a539dc4ed0 | /books.cpp | 53e31ff0fd5ca936546b6d7574e95d7026311e90 | [] | no_license | TerryCM/competitive | 3f40f02396050bb69f94e6eae2709f6419b961d6 | 9246a3257be5744d29fa6649fa7ce579d0376a1b | refs/heads/main | 2023-03-12T20:40:07.630159 | 2021-03-02T17:31:42 | 2021-03-02T17:31:42 | 343,856,424 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 604 | cpp | #include <iostream>
#include <vector>
using namespace std;
#define nax 100005
int main(){
int b;
int m;
vector<int> v;
scanf("%i %i",&b,&m);
for(int i=0;i<b;i++){
int a;
scanf("%i",&a);
v.push_back(a);
}
int best= 0;
int value = 0;
int counter = 0;
for(int i=0;i<b;i++){
// for(int j=i;j<b;j++){
// ... | [
"terry@Terrys-MacBook-Pro.local"
] | terry@Terrys-MacBook-Pro.local |
dc199e62951669cda49c45f67a0a03ed58223b82 | b4c656d1fe6e11343791f390afaf69c5ccec21b4 | /botan/botan_all.cpp | bb8a22ccd0a3f84e488dd9d02d62d4aba715e780 | [] | no_license | miurahr/Nixnote2 | 71b368106e990ebec2ae38ff8d096a5dfde87046 | 4fbe2041bf01cfb11ea14d16b0e2739f2fb47c5e | refs/heads/master | 2023-06-08T18:55:23.547373 | 2013-08-28T13:13:39 | 2013-08-28T13:13:39 | 15,855,959 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,573,512 | cpp | /*
* Botan 1.10.4 Amalgamation
* (C) 1999-2011 Jack Lloyd and others
*
* Distributed under the terms of the Botan license
*/
#include "botan_all.h"
#include <map>
#include <vector>
#include <string>
#include <deque>
#include <utility>
namespace Botan {
/**
* Represents a DLL or shared object
*/
class Dynamically_Lo... | [
"randy@fbn.cx"
] | randy@fbn.cx |
d4ba34f353d1cc1f4ea0711c4dfe707ba0c9457f | aa238e9d4f0b7ff0e86469b88bd877fde3f2c37f | /be/src/olap/column_file/segment_writer.cpp | 8b7bd30c73ce349fb0bff0e1a1ae69f1acedffff | [
"Apache-2.0",
"BSD-3-Clause",
"dtoa",
"bzip2-1.0.6",
"BSL-1.0",
"PSF-2.0"
] | permissive | tengxunshigou/palo | 42474a5bcb3933443830c0ea6a1c56dd8f608c45 | fb64a1a8e8ed612cd95d1ea0c67bf70804a1d2da | refs/heads/master | 2021-01-16T21:13:50.190451 | 2017-08-11T14:09:07 | 2017-08-11T14:09:07 | 100,223,889 | 1 | 0 | null | 2017-08-14T03:18:55 | 2017-08-14T03:18:55 | null | UTF-8 | C++ | false | false | 10,588 | cpp | // Copyright (c) 2017, Baidu.com, Inc. All Rights Reserved
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under... | [
"lichaoyong121@qq.com"
] | lichaoyong121@qq.com |
570ebf347ed4dafa12c08596017f2f8b432a6a06 | b710d1abde3befe7a663f5bdd9345d81420d2161 | /source/HunterMage/Source/DlgExample/DlgExampleCharacter.cpp | 137fb9e802ff64881468ad68511c3c4de7555a7c | [] | no_license | Qualm/Hunter-Mage | d92b69dd44383aaf419f4a91d7b0c949cdb4f344 | fc5a799b326e438fbd0ec77376b9a9fb1bb219ae | refs/heads/master | 2021-10-27T04:42:42.708168 | 2019-04-15T22:45:13 | 2019-04-15T22:45:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,498 | cpp | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "DlgExampleCharacter.h"
#include "UObject/ConstructorHelpers.h"
#include "Camera/CameraComponent.h"
#include "Components/DecalComponent.h"
#include "Components/CapsuleComponent.h"
#include "GameFramework/CharacterMovementComponent.h"
#include "GameF... | [
"crayonsandcomputers@gmail.com"
] | crayonsandcomputers@gmail.com |
aff59d48e853178622271d79ca86fa53b11d9911 | 87c2049cc153d5aaa0215f740072553f7476a22c | /geometry/Arc.cpp | 5c3ecb7ab450dd034fda6299ba9653e95c4417e5 | [] | no_license | Freel-Freel/qt_client | 792af03327a949473e7820e5ac08e019490212da | 27b7dbf1922bd30d59e3d2e356ac7244143c74aa | refs/heads/master | 2020-03-27T03:26:56.694036 | 2018-08-24T09:26:27 | 2018-08-24T09:26:27 | 145,863,202 | 0 | 0 | null | 2018-08-23T14:13:41 | 2018-08-23T14:13:40 | null | UTF-8 | C++ | false | false | 5,350 | cpp | /*
* Arc.cpp
*
* Created on: 28.06.2018
* Author: walery
*/
#include "Arc.h"
#include <QtGlobal>
#include <QDebug>
#include "mLine.h"
#include <cmath>
#include "myglobal.h"
Arc::Arc() {
// TODO Auto-generated constructor stub
this->radious = qQNaN();
this->precicion = qQNaN();
this->points_number = NU... | [
"walery@cuby.net"
] | walery@cuby.net |
70cf3d356338ee2c5c572a36bbb2b393520eb6ae | b24f54b0ae44cb2221b17f489441649e4b775811 | /PSME/application/src/rest/endpoints/system/system_reset.cpp | 2fbc9114c97a7fbd50c604375fc1047d6d3146cc | [] | no_license | gaberger/intelRSD | 7e42ee0f077328d4499390f9ad83b5017db99b66 | 8d28936751f46a5396487ba52e699912bf633bdf | refs/heads/master | 2021-05-06T06:39:49.763448 | 2017-12-05T10:46:06 | 2017-12-05T10:46:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,356 | cpp | /*!
* @copyright
* Copyright (c) 2015-2017 Intel Corporation
*
* @copyright
* 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
*
* @copyright
* http://www.apache.org/licenses/LICENSE-... | [
"tomasz.bykowski@intel.com"
] | tomasz.bykowski@intel.com |
cafae6294d51336c41dea48279eb670dc000f066 | 3f75df57ae155e3eaada2885b12b78a63bbc43a1 | /source/Geometry/Tesla/include/BeamCal01.hh | 2881172d75ebaf525d6baef38211d1c9c4035298 | [] | no_license | nkxuyin/mokka-cepc | 52bb13455b6fc5961de678ad7cb695f754e49a47 | 61ce9f792a4cb8883f0d1cd1391884444b372dc0 | refs/heads/master | 2021-01-20T10:42:00.982704 | 2015-02-11T12:59:43 | 2015-02-11T12:59:43 | 24,243,983 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,336 | hh | #ifndef BeamCal01_hh
#define BeamCal01_hh 1
/*
* Second implementation of BeamCal detector based on the First implementation
* A.Sailer
* Apr. 2010 */
class G4LogicalVolume;
class Database;
#include "VSubDetectorDriver.hh"
#include "G4Material.hh"
#include <map>
class BeamCal01 : public VSubDetectorDriver
{
publ... | [
"xuyin@nankai.edu.cn"
] | xuyin@nankai.edu.cn |
cce7efc1d2216c209717c97cfbf12bf2c70e0a0c | f54042e6c7c1b1fcb841f1d69aa8a363013855cc | /299 - Train Swaping.cpp | b8402117dd470e40cd9944eaf1ef7c8ea987ab26 | [] | no_license | Shadikul-Islam/UVA | 33959e9f9246f2161a493ba09615c8d4f1543d5c | fb2a6681978dd3faca9930c812e368b20c7ffc22 | refs/heads/master | 2021-09-24T12:02:53.548952 | 2018-10-09T17:27:49 | 2018-10-09T17:27:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 535 | cpp | #include<bits/stdc++.h>
using namespace std;
int main ()
{
int arr[1001],i,j,temp,k,n,m,x,l;
cin>>n;
for(x=1;x<=n;x++)
{
cin>>l;
for(m=0; m<l; m++)
{
cin>>arr[m];
}
k=0;
for(i=0; i<l; i++)
{
for(j=i; j<l-1; j++)
... | [
"netshuvo@gmail.com"
] | netshuvo@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.