blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1fa97bd7b2be67211ebd44b8248466cbfd68ad3a | 0dd9cf13c4a9e5f28ae5f36e512e86de335c26b4 | /LeetCode/leetcode_average-of-levels-in-binary-tree.cpp | 513974081d028ad57dc4dac3a87ceb0f2c21def9 | [] | no_license | yular/CC--InterviewProblem | 908dfd6d538ccd405863c27c65c78379e91b9fd3 | c271ea63eda29575a7ed4a0bce3c0ed6f2af1410 | refs/heads/master | 2021-07-18T11:03:07.525048 | 2021-07-05T16:17:43 | 2021-07-05T16:17:43 | 17,499,294 | 37 | 13 | null | null | null | null | UTF-8 | C++ | false | false | 1,173 | cpp | /*
*
* Tag: BFS
* Time: O(n)
* Space: O(n)
*/
/**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
vector<double> averageOfLevels(TreeNode* root) {
... | [
"noreply@github.com"
] | noreply@github.com |
ee043fabb9199c2341fbbf8ee3eedf3cb9e20ccf | 99466d9132f7cf3ee53f54f1c3fe5a2848f1942e | /820.cpp | c799f9fa21387dd285c1be03db1a9218f2a0897b | [] | no_license | Hyukli/leetcode | e71604126712ad801dd27c387099999085f055d3 | 3444f0a92ee4edc7607ee8afab760c756a89df7f | refs/heads/master | 2021-06-05T14:14:58.792020 | 2020-03-31T13:40:58 | 2020-03-31T13:40:58 | 93,115,710 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 886 | cpp | #include<iostream>
#include<map>
#include<vector>
#include<algorithm>
using namespace std;
bool cmp(const string &a,const string &b)
{
return a.size()>b.size();
}
class Solution {
public:
int minimumLengthEncoding(vector<string>& words) {
int ans=0;
map<string,int> m;
sort(words.begin(... | [
"1280096748@qq.com"
] | 1280096748@qq.com |
05841173ff5ad0bf3f2f45b75c5522ce50754124 | a1880801a200c1ad1e664a4de538c64432de312b | /string library/string library/my_strings(Main).cpp | 50c001bcb1e90d35b19d6caa8537a5a469e14623 | [] | no_license | AzamAzam/onlineProgramPracticeProblemSolving | b6ce17e78027ad95e5cd81c81f2380ff15e87d52 | 3b101b04220b0e0b0b23dca36628dc66db2b689a | refs/heads/master | 2020-03-23T17:59:43.378777 | 2019-04-06T17:42:19 | 2019-04-06T17:42:19 | 141,884,567 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,693 | cpp | #include"my_strings.h"
#include<iostream>
using namespace std;
void main()
{
int size,left,right,start,end,value,length,count[40],k;
char ch;
//char str[1000],sub_str[100];
cout << "Enter size of Array : ";
cin >> size;
my_strings string(size);
cout << "Enter a string : ";
string.input(); ... | [
"hafizmuhamadazam@gmail.com"
] | hafizmuhamadazam@gmail.com |
f05ca176c34ece84cf271038ceba83b80d9c5018 | 7b4a0a266f8488f2b2596d95e6f5c985c8f232b9 | /18/09.18/28.09.18/518D.cpp | 55b4fbce7bdddf92d8bfdf26a70e4dd96aa055e3 | [] | no_license | shishirkumar1996/cp | 811d8607d5f460fcec445db9af4853c550aee685 | e89cb840e5b3fd91be4b9402a6fdcb20bb3466c6 | refs/heads/master | 2020-03-10T11:06:17.696405 | 2019-01-04T07:12:45 | 2019-01-04T07:12:45 | 129,348,767 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 623 | cpp | #include<bits/stdc++.h>
#define lld long long int
#define faster ios_base::sync_with_stdio(false);cin.tie(0);
using namespace std;
int main(){
int n,t;
double p;
cin>>n>>p>>t;
double ans[t+1][n+1];
for(int i=0;i<=t;i++)for(int j=0;j<=n;j++) ans[i][j] = 0;
ans[0][0] = 1;
for(int i=1;i<=t;i++)
f... | [
"shishirsharad@yahoo.com"
] | shishirsharad@yahoo.com |
bc82c8ac110fb634ce50e34a7b6ec7aa59e2e1c2 | b18adf09556fa66a9db188684c69ea48849bb01b | /Elsov/SkyFrame/HardwareTest/MiscsdmsStartupConfig.h | d6767c946442c75293901285e839a5d03f70f22d | [] | no_license | zzfd97/projects | d78e3fa6418db1a5a2580edcaef1f2e197d5bf8c | f8e7ceae143317d9e8461f3de8cfccdd7627c3ee | refs/heads/master | 2022-01-12T19:56:48.014510 | 2019-04-05T05:30:31 | 2019-04-05T05:30:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 293 | h | // forward declarations
class CSdmsAPI;
CString Misc_GetSdmsStartupConfig(CSdmsAPI *pSdms);
void Misc_LoadStartupConfigFromFile(CString &StartupConfig);
void Misc_SaveStartupConfigToFile(CString &StartupConfig);
void Misc_SetStartupConfig(CEdit &StartupConfigCtrl, CSdmsAPI *pSDMS);
| [
"hp@kozhevnikov.org"
] | hp@kozhevnikov.org |
d283e990af35d19719f59cce3175a465bda2e2fa | daf29b91a795bf111f4466cb80a27d0fc52618a0 | /Map.cpp | f5417fbee665974a06094e185d0bef7a02880539 | [] | no_license | Blazzes/Game | 7ed98c1e7880acadecf5bd8110be7d4c24876d8b | faa2348ff70a450a8bbcb80d20d9a77f18d91dd6 | refs/heads/master | 2023-02-03T23:52:44.489299 | 2020-12-15T16:39:31 | 2020-12-15T16:39:31 | 318,561,788 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,872 | cpp | #include "Map.h"
Map::Map(int x, int y): map_w(x), map_h(y)
{
for (int y_ = 0; y_ < y; ++y_)
{
std::vector<Base_Element*> row;
for (int x_ = 0; x_ < x; ++x_)
{
row.push_back(new Base_Element(x_, y_));
}
Element.push_back(row);
}
}
void Map::Update_El_Map(Base_Element* el)
{
Base_Element* tmp = Element... | [
"mayer_gena@mail.ru"
] | mayer_gena@mail.ru |
715b2c6c513ec865f57aa8e955c68cca505a5f5e | c88ee41adfded7e2bd7fe3490d33719e6c735dc3 | /generationpoint.cpp | eec334f8c5d7a622fbed62f6ec37d1e57829c479 | [] | no_license | bytilda/Practice2019 | 6545a3ccf016f79953cf8a61ac1b7b8f5bf061da | f20f227df96e1cb18269d01e5102b4d0f18580bc | refs/heads/master | 2020-06-15T17:28:05.131136 | 2019-07-05T06:40:35 | 2019-07-05T06:40:35 | 195,352,887 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,272 | cpp | #include "generationpoint.h"
//class Map;
generationPoint::generationPoint()
{
}
generationPoint::generationPoint(double x, double y, Map* m):Object(x,y,m){
//if(map->unmovableObjects[y][x+1] == roadr) way = roadr;
//else if()
type = 77;
}
void generationPoint::nextStep(double dt){
... | [
"noreply@github.com"
] | noreply@github.com |
bc10645b1f4bb40627cc553959c4d16cde3c23cb | bf4f4a1db72eff264b227aecfdf3760d0894079f | /src/Handle/Parameters/colorselection.h | 53ed1d07ac5e298a9bc3e9d00ef3cc970a8e8b79 | [] | no_license | majacquet3/ProjetSI2 | 7f8dfad47403964399154f86e97a21cbf06f1598 | a44925d039a91c2f6a40c9251e6128ceed909d0e | refs/heads/master | 2021-01-18T08:21:06.418346 | 2013-03-01T20:16:45 | 2013-03-01T20:16:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 568 | h | #ifndef COLORSELECTION_H
#define COLORSELECTION_H
#include <QPushButton>
#include <QPalette>
#include "sourceparameters.h"
class ColorSelection : public QObject, public SourceParameters
{
Q_OBJECT;
public:
ColorSelection(const QString & label, const QColor& = QColor(255,0,0));
virtual void showParameters... | [
"mathieu@mathieu-EasyNote-LJ65.(none)"
] | mathieu@mathieu-EasyNote-LJ65.(none) |
39e783a7e0ab32f1953f3d7519efbe91a4f2721f | cfe55183a56dc8f1485f49457b8e8fde776a985c | /MiNode.h | 8548a1f3d38c975ef7f520d82f9f6833824d6895 | [
"MIT"
] | permissive | jerryxiajie/pxt-minode | efdc143f35d9afa7fc9b5a49318b6df0e0aa6045 | 565fa2a17ab9d6159e47675f64175d74d7cd6133 | refs/heads/master | 2020-07-29T11:29:27.193425 | 2016-11-11T06:55:40 | 2016-11-11T06:55:40 | 73,670,609 | 0 | 0 | null | 2016-11-14T05:40:51 | 2016-11-14T05:40:51 | null | UTF-8 | C++ | false | false | 988 | h | #ifndef _MINODE_H
#define _MINODE_H
#include "mbed.h"
#include "MicroBitConfig.h"
#include "MicroBitComponent.h"
#include "MicroBitEvent.h"
#include "MiNodeConn.h"
#include "MiNodeComponent.h"
#include "MiNodeIO.h"
#include "MiNodeModulePool.h"
#include "MiNodeSwitch.h"
#include "MiNodeFan.h"
#include "MiNodeDHT11.... | [
"jerry.xia@embest-tech.com"
] | jerry.xia@embest-tech.com |
8faf8438a41f470bf2976dd56edae0000fecb961 | 497c5bc5df53028a9cbb38522350aac3b581f8c3 | /message/generation/swift-mt-generation/repository/SR2018/parsers/SwiftMtParser_MT595BaseListener.cpp | abd5ecc427cb702f79612a03ba5e77085e596cf4 | [
"MIT"
] | permissive | Yanick-Salzmann/message-converter-c | 188f6474160badecfd245a4fefa20a7c8ad9ca0c | 6dfdf56e12f19e0f0b63ee0354fda16968f36415 | refs/heads/master | 2020-06-25T11:54:12.874635 | 2019-08-19T19:32:41 | 2019-08-19T19:32:41 | 199,298,618 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 450 | cpp |
#include "repository/ISwiftMtParser.h"
#include "SwiftMtMessage.pb.h"
#include <vector>
#include <string>
#include "BaseErrorListener.h"
#include "SwiftMtParser_MT595Lexer.h"
// Generated from C:/programming/message-converter-c/message/generation/swift-mt-generation/repository/SR2018/grammars/SwiftMtParser_MT595.g4 ... | [
"yanick.salzmann@gmail.com"
] | yanick.salzmann@gmail.com |
db746f3af912409b1ddc48c1b6e4bb0c5ce68dae | 63c71060f36866bca4ac27304cef6d5755fdc35c | /src/GICs/GicRss.cpp | adfa6dc7ea9824a3e0cd4aadb0b38694834d5700 | [] | no_license | 15831944/barry_dev | bc8441cbfbd4b62fbb42bee3dcb79ff7f5fcaf8a | d4a83421458aa28ca293caa7a5567433e9358596 | refs/heads/master | 2022-03-24T07:00:26.810732 | 2015-12-22T07:19:58 | 2015-12-22T07:19:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,184 | cpp | ////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2005
// Packet Engineering, Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification is not permitted unless authorized in writing by a duly
// appointed officer of ... | [
"barryniu@jimodb.com"
] | barryniu@jimodb.com |
98e22dbefbff523c241d92501395d716cf7d4e2b | 46d2754aa1e776af9d738d302d56fc7024bfe88a | /base/VulkanSwapChain.hpp | 7f0a58ab2efd965abad90d023cd1b70632bbf525 | [
"MIT"
] | permissive | a-day-old-bagel/Vulkan-glTF-PBR | fd5a4a9845d198e43096ba0a2ff3c557ef79ea13 | fa89ff0a8fa214711f76daf6b8e5eb409c240528 | refs/heads/master | 2020-05-30T00:44:34.573208 | 2019-05-30T18:57:28 | 2019-05-30T18:57:28 | 189,465,266 | 0 | 0 | MIT | 2019-05-30T18:44:42 | 2019-05-30T18:44:42 | null | UTF-8 | C++ | false | false | 23,016 | hpp | /*
* Class wrapping access to the swap chain
*
* A swap chain is a collection of framebuffers used for rendering and presentation to the windowing system
*
* Copyright (C) 2016-2017 by Sascha Willems - www.saschawillems.de
*
* This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
*/
#... | [
"webmaster@saschawillems.de"
] | webmaster@saschawillems.de |
fe19803ef40fd0004de131e6ac238877d9fa1b8d | 9ac0e840cb187312bdbc781fb41397c282e1ae32 | /ComponentFramework/MirrorObj.cpp | 3235d2b9ac5bb60fdc8de988063984b21e5ace4f | [] | no_license | ThinGinger/OpenGL-GameEngine | d26de8714a110733ef07196123da2be57652b746 | e60749a60879e6ecdb10990f0cdb34b1f9c51c46 | refs/heads/master | 2020-04-21T15:00:33.905413 | 2019-02-07T22:35:42 | 2019-02-07T22:35:42 | 169,653,989 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,214 | cpp | #include "MirrorObj.h"
namespace GAME {
MirrorObj::MirrorObj()
{
}
MirrorObj::MirrorObj(const Vec3 pos_, const Vec3 orientation_)
{
pos = pos_;
orientation = orientation_;
shader = nullptr;
}
MirrorObj::~MirrorObj()
{
OnDestroy();
}
void MirrorObj::setPos(const Vec3 & pos_)
{
Model::setPos... | [
"jasonaccardo@gmail.com"
] | jasonaccardo@gmail.com |
a385224b7a9871ded8393f76b5c48d624a0559d2 | 16fa69847d402f129218bb1f62acc0553df51005 | /OGL_Light/Camera.h | e631aadd4347b3fb88f34fc4c8cab4908e908539 | [] | no_license | flylong0204/OpenGLDemo | 44d68b9f79a8a995161363dd4fdd4b32c5461641 | 5fbddc496dead2c2cfde80aebcc767e01d968f29 | refs/heads/master | 2021-06-14T22:37:14.820109 | 2017-03-15T14:32:11 | 2017-03-15T14:32:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 549 | h | #pragma once
#include<GLM/glm.hpp>
#include<GLM/gtc/matrix_transform.hpp>
enum class CamAction {
FORWARD,
BACK,
LEFT,
RIGHT
};
class Camera
{
public:
Camera();
Camera(const glm::vec3 &camPos);
void ProcessKeyBoard(CamAction action,float deltaTime);
void ProcessMouseMovement(double xoffset,double yoffset);... | [
"蒋斯"
] | 蒋斯 |
c8da99beaf3a63089cca0f33b7f1c7ca442c523f | 8554fbbb1c710b68277d40ca21397ff0c1e98391 | /UVa Solutions/10878.cpp | fd46acce9fe6c5d444ce55a29a5d504352734d89 | [] | no_license | Nasif-Imtiaj/Judge-Solutions | 753be5ddb39249c433f7590354bd343329ee16df | cb5f56babfd3bf9286281b5503de8501d21907fe | refs/heads/master | 2020-12-02T17:38:41.380575 | 2020-04-05T16:29:51 | 2020-04-05T16:29:51 | 231,076,432 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,870 | cpp |
// C++ program to find minimum number of swaps
// required to sort an array
#include<bits/stdc++.h>
using namespace std;
// Function returns the minimum number of swaps
// required to sort the array
int minSwaps(int arr[], int n)
{
// Create an array of pairs where first
// element is array element and seco... | [
"nasifimtiaj.16@gmail.com"
] | nasifimtiaj.16@gmail.com |
5f31e7ab637e1d4b0f17e13a0b1fe5de6e9fe6c5 | 6dac4f9154e4af5b2521f57523b47d7cc2d349e6 | /moc_aplicacion.cpp | cf8aaaa0af59a103e2c1ee401db10f58e837f9e2 | [] | no_license | ferVargasB/pruebaArduinoConQt | 016666dc9f7a963e1762ecc55aadb14b716f8cd8 | e65134538c2c8f595464582f9c2840c169d99448 | refs/heads/master | 2021-01-18T23:28:25.043533 | 2016-11-03T02:34:05 | 2016-11-03T02:34:05 | 72,701,499 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,611 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'aplicacion.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.0)
**
** WARNING! All changes made in this file will be lost!
**********************************************************... | [
"fernandovargas@MacBook-Pro-de-Fernando.local"
] | fernandovargas@MacBook-Pro-de-Fernando.local |
cfd68ff3641cb93dfa00ceda8923b6aef1161abf | 5432d284ecfb593aee7751ab1e48f6034cd9da25 | /src/explode/unlzexe.hh | 040de702c547f73557823dd251176c8f223eb42c | [] | no_license | devbrain/mz-explode | 563bb4040ae88b93ab3ef6cac14ea3b83e940ae7 | adea2b8dac74c5107f84e47cd0870acd92fb3b89 | refs/heads/master | 2021-01-25T07:08:18.300715 | 2014-10-21T14:30:27 | 2014-10-21T14:30:27 | 32,741,421 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 950 | hh | #ifndef __EXPLODE_UNLZEXE_HH__
#define __EXPLODE_UNLZEXE_HH__
#include <stdint.h>
#include <stddef.h>
#include "explode/proper_export.hh"
namespace explode
{
class input_exe_file;
class output_exe_file;
class input;
class EXPLODE_API unlzexe
{
public:
explicit unlzexe (input_exe_file& inp);
vo... | [
"igor.gutnik@gmail.com@45e577e9-b647-14d1-e141-875cfe7dd6db"
] | igor.gutnik@gmail.com@45e577e9-b647-14d1-e141-875cfe7dd6db |
a2d95fde3e4d7f858aae145085fe93b8826f44cf | 32c0ee83d0e2458b0d5009b4abe07c063ef367b9 | /compV/w2/hello.cpp | 7d50832563f601ecfe449fda42e75d087964ea3c | [] | no_license | ThariduJayaratne/Computer-Vision | 4ec002c5c6a7beffd37917c70c1f9a475ccd733f | b03d8a8fb7aede3015b5ffdb85f02525a742cff2 | refs/heads/master | 2022-03-26T12:28:30.104576 | 2019-12-02T14:07:18 | 2019-12-02T14:07:18 | 218,273,978 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,156 | cpp | /////////////////////////////////////////////////////////////////////////////
//
// COMS30121 - hello.cpp
// TOPIC: create, save and display an image
//
// Getting-Started-File for OpenCV
// University of Bristol
//
/////////////////////////////////////////////////////////////////////////////
#include <stdio.h>
#inclu... | [
"tj17908@it075650.wks.bris.ac.uk"
] | tj17908@it075650.wks.bris.ac.uk |
5adb499863ca7750a28195de690770a5f799c51d | 814fdb720579168aa46ab2aff98c84844c7d1cb5 | /Tetris/src/Digital.cpp | 9c5fce68ea8e8f644a737700d660550c8139db75 | [] | no_license | TheVirtualFox/TetrisSFML | 29418a35aaa775058965f504f97b331b06be2be1 | bec8807fc5dbba344eff9d0890712defed24dccc | refs/heads/master | 2022-12-06T13:55:19.375574 | 2020-09-01T07:03:55 | 2020-09-01T07:03:55 | 291,019,561 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 886 | cpp | #include "Digital.h"
namespace Tetris {
Digital::Digital(int v, int x, int y)
{
using namespace sf;
texture.loadFromFile("..\\Tetris\\assets\\digits.png");
Sprite sprite(texture);
this->sprite = sprite;
sprite.setTextureRect(IntRect(0, 0, 13, 20));
value = v;
this->x = x;
this->y = y;
}
Digital::... | [
"verchenkoyevgeniy@gmail.com"
] | verchenkoyevgeniy@gmail.com |
320b60dfd0f61115d3db5d1a5dc6802eedf686fb | 5d11e6fe3d4216a3fca055762dda560068d1b13e | /CV_201211265/CV_201211265Doc.cpp | 9fed7cdb5cbea4941dba656e602d784344591829 | [] | no_license | idjoopal/OtsuErosionDilation | 11408c9d0f23e287631d48422e700ae386e7318b | be024b19252913f20d0903d3b9e8a61f168423ce | refs/heads/master | 2020-04-05T13:22:09.603882 | 2018-11-09T17:58:42 | 2018-11-09T17:58:42 | 156,899,195 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 2,931 | cpp |
// CV_201211265Doc.cpp : CCV_201211265Doc 클래스의 구현
//
#include "stdafx.h"
// SHARED_HANDLERS는 미리 보기, 축소판 그림 및 검색 필터 처리기를 구현하는 ATL 프로젝트에서 정의할 수 있으며
// 해당 프로젝트와 문서 코드를 공유하도록 해 줍니다.
#ifndef SHARED_HANDLERS
#include "CV_201211265.h"
#endif
#include "CV_201211265Doc.h"
#include <propkey.h>
#ifdef _DEBUG
#define new DEBU... | [
"idjoopal@naver.com"
] | idjoopal@naver.com |
d4616217fdf4548e71cc90967a7a96e4f459c653 | d624428a859029dce15a705ec6d58b021f550459 | /MQProxy/HLRagent/mysqldbdll/proj/vc/dbtest/dbtest.cpp | d008be087a2f9310f8ff35a5a644a16b572b4284 | [] | no_license | ALiBaBa-Jimmy/MQProxy | 2337ad8c93c57243216c3c681cc399b6588dfe3c | 051b579ef5cb0b08bbf47616e2284581ce623e6e | refs/heads/master | 2021-08-30T20:30:27.707060 | 2017-12-19T09:10:28 | 2017-12-19T09:10:28 | 114,743,130 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,820 | cpp | #pragma once
#include "mysql.h"
#include <iostream>
#include <vector>
#include "DbFactoryMysql.h"
using namespace std;
typedef struct
{
XS8 caller_number[21];
XS8 called_number[21];
XS8 msg_content_len;
XS8 msg_content[141];
int msg_ref;
int msg_id;
int msg_validity;
XS8 msg_priority;
XS8 msg_origin;
int ms... | [
"wangdf14@lenovo.com"
] | wangdf14@lenovo.com |
f7be0b773c94551fdb17c6f55bf411034718a857 | fb721637db8143b38d33c9b08237398706b068a8 | /src/addons.h | 92bd8168b28505f40553ebb97e76c31d4ab6870b | [
"MIT"
] | permissive | RohanChacko/Jet-Fighter-3D | 5338c790cd4b3a701ff947729c28162e5c9054b3 | 3ad72ad71315f9e1f4e301d3e98385822de7c6e5 | refs/heads/master | 2020-05-26T15:53:39.929054 | 2019-05-24T19:19:07 | 2019-05-24T19:19:07 | 188,294,425 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 469 | h | #include "main.h"
#ifndef ADDONS_H
#define ADDONS_H
class Addon {
public:
Addon() {}
Addon(float x, float y, float z, int type);
glm::vec3 position_fuel;
float rotation;
float rotation_fuel;
color_t color_fuel;
int val_fuel;
int picked;
struct bounding_box_t box;
void draw(gl... | [
"rohanchacko007@gitlab.com"
] | rohanchacko007@gitlab.com |
542393b16957389640a0155c09383f4c6b2420b9 | b6c9b98994c4be53ddecde11f0de764e6da513fa | /main.cpp | 6ab059b2d35359d90ddb2f1a4a9402ffb7beaa5b | [] | no_license | PidZero/weatherstation | 8265d819d7861171ebfe6d647d008c0d6a9f09c9 | 99362bb8adffc7661d91aa3e3c1db94d97e6f91a | refs/heads/master | 2022-12-11T09:43:20.966637 | 2020-09-13T20:19:45 | 2020-09-13T20:19:45 | 295,209,100 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 835 | cpp | // (cc) Johannes Neidhart, 2020
// compile with
// g++ main.cpp -lcurl -std=c++11
#include <stdio.h>
#include "weatherStation.h"
int main() {
weatherstation ws("<your place>", "<your ID>");
ws.pull_time();
ws.pull_forecastdata();
ws.pull_weatherdata();
std::cout<<ws.day<<"."<<ws.month<<"."<<ws.y... | [
"git@jsneidhart.de"
] | git@jsneidhart.de |
254d6c9f66a18f0cdd6adcc6bd273df7d06ab14c | e73b8305d13c0fc59e89548d354da45f7ad0b7aa | /A_Raising Bacteria.cpp | 3c772f3031beb17a409a6f27b0125c876c8b36e5 | [] | no_license | Aquatoriya/codeforses | e40aad1dca2971e7ce9299bc9300dea9ac65aecd | 81fab84f3587d46da2029cbfd4dfec20859e22e5 | refs/heads/master | 2020-04-11T19:09:38.336348 | 2018-12-23T10:20:10 | 2018-12-23T10:20:10 | 162,024,940 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 358 | cpp | #include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
int main() {
int x;
cin >> x;
vector <int> a;
int i = 1;
while (i<=x) {
a.push_back(i);
i*=2;
}
int cnt = 0;
reverse (a.begin(), a.end());
for (int n = 0; n < a.size(); n++) {
if (x >= a[n]) {
x -= a[n];... | [
"noreply@github.com"
] | noreply@github.com |
ec0e338bef68285a5cfb13958b596e48c79fb102 | f2474a6274485aff57cb91ef20959c2d73bea976 | /depends/patches/zeromq/src/condition_variable.hpp | d8c8095339a15e1a051ea820072ab0748db1144b | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"LGPL-3.0-only",
"LicenseRef-scancode-zeromq-exception-lgpl-3.0",
"GPL-3.0-only"
] | permissive | adeptio-project/adeptio | f913db433fc1733029ccea3690fcbc3e386b9c3c | 771d2917474d2a549390019a707992fd9d8cc8c5 | refs/heads/master | 2021-07-19T04:11:26.367838 | 2020-04-21T09:54:34 | 2020-04-21T09:54:34 | 131,441,303 | 18 | 13 | MIT | 2019-07-13T21:20:04 | 2018-04-28T20:17:49 | C++ | UTF-8 | C++ | false | false | 6,528 | hpp | /*
Copyright (c) 2007-2016 Contributors as noted in the AUTHORS file
This file is part of libzmq, the ZeroMQ core engine in C++.
libzmq is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License (LGPL) as published
by the Free Software Found... | [
"38818888+adeptio-project@users.noreply.github.com"
] | 38818888+adeptio-project@users.noreply.github.com |
47f40c0fa53bb2808ee6a8536c20a7f0500de979 | fffbaadc80c3cab15ec119e041f562de3f38f631 | /GLEngine/Keyboard.hpp | 5bf13ed9b860c9837f2ca02a2ca47e5ecd371232 | [] | no_license | JackEdwards/Pazuzu | 522fff4f047164d6684ab22784c8ed722763c864 | 4e6d590c091bacc701202a8ff8aa5d95f4c4a122 | refs/heads/master | 2020-04-19T11:51:45.461816 | 2015-10-24T21:31:06 | 2015-10-24T21:31:06 | 38,982,784 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 228 | hpp | #ifndef KEYBOARD_HPP
#define KEYBOARD_HPP
#include <GL/glew.h>
#include <GLFW/glfw3.h>
class Keyboard
{
public:
static GLboolean m_keys[1024];
public:
static GLboolean IsKeyPressed(int key);
private:
Keyboard();
};
#endif | [
"jackedwards@outlook.com"
] | jackedwards@outlook.com |
731f4f014b9e58494499db26d9db8bacb8a91677 | b57c8306fb7c098515424ce0e5354e65b3d9e3fa | /projectEuler/problem49.cpp | 02f8e08dbf2d3a9a994038974aeb9019581dba29 | [] | no_license | NicoMoser/EarlyDays | bec5684b44d6f8313a3747aae41cef15206d10af | a06b8b23358ee0f5a63da00b29c83c9699f67d1c | refs/heads/master | 2021-01-10T15:51:33.098122 | 2020-08-17T00:40:41 | 2020-08-17T00:40:41 | 45,657,855 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,965 | cpp | /*
The arithmetic sequence, 1487, 4817, 8147, in which each of the terms
increases by 3330, is unusual in two ways: (i) each of the three terms
are prime, and, (ii) each of the 4-digit numbers are permutations of
one another.
There are no arithmetic sequences made up of three 1-, 2-, or 3-digit
primes, exhibiting this... | [
"lmoser@eloptoof.net"
] | lmoser@eloptoof.net |
8f51d2fefd3b1218b2f03413da4f868810f6e71d | efff94c6616d40f25901b9eca599397079dd72d2 | /Game.cpp | 5e3d049c7616ca2ab5b14b20c0ad0bae5f506b80 | [] | no_license | arpandeep-singh/Memory-Card-Game | 65678cd44a0d9bf9bf5887efc82238d89a72deeb | 177dfc0b9949e5703f50c3bc9cf888c52f1f0ee6 | refs/heads/master | 2022-12-22T16:02:52.345629 | 2020-09-30T05:44:14 | 2020-09-30T05:44:14 | 299,820,058 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,305 | cpp | #include "Game.h"
#include <string>
using namespace FinalProject;
#define ROWS 4
#define COLUMNS 5
/********************************************************************
Function name: initializeVariables
Purpose: initializes all the variables
In parameters: none
Out parameters: none
Version: 1.0
Author: Arpandeep S... | [
"arpandeep@gmail.com"
] | arpandeep@gmail.com |
3558ce238f1f42361ad57a6749613ed967b62bd2 | ae7ba9c83692cfcb39e95483d84610715930fe9e | /baidu/Paddle/paddle/gserver/layers/AddtoLayer.cpp | 083b1957f3a724370f1de0824a6ac79d74224a03 | [
"Apache-2.0"
] | permissive | xenron/sandbox-github-clone | 364721769ea0784fb82827b07196eaa32190126b | 5eccdd8631f8bad78eb88bb89144972dbabc109c | refs/heads/master | 2022-05-01T21:18:43.101664 | 2016-09-12T12:38:32 | 2016-09-12T12:38:32 | 65,951,766 | 5 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 2,217 | cpp | /* Copyright (c) 2016 Baidu, Inc. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to ... | [
"xenron@outlook.com"
] | xenron@outlook.com |
eb3bb1ba0e2214beabaacc04b1f3069281efcb18 | 6b39242e9ebc1e62b8f6ae6fe5def95bd1a59b4f | /Leetcode/C++/436. Find Right Interval.cpp | f5ea5335fda8ce77013d753c8c7ff376e77dc0c9 | [] | no_license | vachelch/Online-Judge | 128d32e86aee04dbb4077f23b7c01379fe6d0aba | 8a5cfc47cf3c5a2830b33a334a6acbc3f30ea0e1 | refs/heads/master | 2020-05-05T02:24:13.863187 | 2019-04-05T07:27:33 | 2019-04-05T07:27:33 | 179,636,392 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,161 | cpp | /**
* Definition for an interval.
* struct Interval {
* int start;
* int end;
* Interval() : start(0), end(0) {}
* Interval(int s, int e) : start(s), end(e) {}
* };
*/
#include <iostream>
#include <vector>
using namespace std;
class Interval{
public:
int start;
int end;
Interval(int s, int ... | [
"r06944043@ntu.edu.tw"
] | r06944043@ntu.edu.tw |
f59174657b41d7e6f63e99a18e8e39a64208b7b8 | 7cd28779baf1f8b0daae829fab68f89bdf3d9720 | /1967/main.cpp | 4781055d6b405ea616daebef222de2e144da260e | [] | no_license | Outerskyb/baekjoon | 8c95bfc7e186f73a3a2366466bbe80589ba26d96 | e5e55082cb8ec420a976806d6d140a8f555a820c | refs/heads/master | 2021-12-09T03:25:55.667043 | 2021-12-02T17:28:30 | 2021-12-02T17:28:30 | 94,516,385 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,071 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#define max(a,b) (((a)>(b))?(a):(b))
using namespace std;
vector<vector<pair<int, int>>> vec;
int ans = 0;
int get(int node) {
vector<int> results;
for (auto& el : vec[node]) {
results.push_back(get(el.first) + el.second);
}
if... | [
"outerskyb@gmail.com"
] | outerskyb@gmail.com |
94cf34e62db0a9ed2836053df99d9f42a72a8666 | 3e2952b7deaabb1d2d3085e694df6d3b128aaf90 | /train/transport_1/0/Cx | 375cacb8c7c4653063940af02896168d132e0724 | [
"Apache-2.0"
] | permissive | xiaoh/vector-cloud-closure-model | f8816f65b071f76dc54087a3b62169f2de279025 | 412ad204309557752102d39e956ab0757a2635b2 | refs/heads/main | 2023-03-30T13:04:49.900144 | 2021-03-25T19:48:11 | 2021-03-25T19:48:11 | 347,748,876 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 325,096 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2006 |
... | [
"noreply@github.com"
] | noreply@github.com | |
27b582dd6f048594aa52326f3d5cedf64f4668ee | 60dfbd664c31df4b9448283a4782db95e1d404c9 | /Chapter1_Basics/src/WriteCoordinatesToFile.cpp | b65925460e85c042be410e238ecd4b8914f77784 | [] | no_license | davidlni/OccTutorial | b060c999c1050e594eff7ef01b40a79ea31549a1 | 13f5a12969fb7da4a229ec9c6ef13dcedba70776 | refs/heads/master | 2020-06-20T17:51:38.242590 | 2016-08-12T09:25:14 | 2016-08-12T09:25:14 | 74,852,227 | 1 | 0 | null | 2016-11-26T21:45:03 | 2016-11-26T21:45:02 | null | UTF-8 | C++ | false | false | 448 | cpp | #include "Chapter1_Basics/inc/WriteCoordinatesToFile.hpp"
#include <fstream>
#include <string>
namespace WriteCoordinatesToFile
{
void writeCoordinatesToFile(std::string fileName,const TColgp_Array1OfPnt& points)
{
std::ofstream file;
file.open(fileName.c_str());
for(Standard_Integer i = points.Lower();i <= points... | [
"laszlokudela@gmail.com"
] | laszlokudela@gmail.com |
6a638a1bf606c737881222882fe7c7d96cfa0ed5 | fb90ac4aa97a0b52c87eef87bb5f562ee36d0d11 | /Rastertek - Copy/Rastertek/TextureClass.cpp | ce863aefe74d4bcb43e2cf7b8b9b72b9c5366368 | [] | no_license | ChrisHammie/ATBlock3 | 9a1b82bbd5c1125fcc30991d1b91fdeb78d689d4 | f24d29252ac8c29b0f49019a3e06787166ef6b2f | refs/heads/master | 2021-05-08T11:05:43.527256 | 2018-02-01T19:02:00 | 2018-02-01T19:02:00 | 119,878,817 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,696 | cpp |
#include "TextureClass.h"
TextureClass::TextureClass()
{
m_targaData = 0;
m_texture = 0;
m_textureView = 0;
}
TextureClass::TextureClass(const TextureClass& other)
{
}
TextureClass::~TextureClass()
{
}
bool TextureClass::Initalize(ID3D11Device* device, ID3D11DeviceContext* deviceContext, char* filename)
{
b... | [
"christopher2.hamilton@live.uwe.ac.uk"
] | christopher2.hamilton@live.uwe.ac.uk |
38a6ac9929c378c35a54ef978a0c31fb3d958895 | 1bd3eacd90931f84aba71281bb1008fdd894b4f0 | /exp1/exp1_1.cpp | 9dff3e757d3cae82c9ba46af4f260679c34187a4 | [] | no_license | robostar-ye/data_structure | e70f1366a08c7effd799bfc93a6b965435b3a780 | 3c9c8c57e6dc35b3442f86709c66aa53098cba53 | refs/heads/master | 2023-02-02T10:30:01.240062 | 2020-12-21T08:36:45 | 2020-12-21T08:36:45 | 308,913,293 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 154 | cpp | //
// Created by robos on 2020/10/17.
//
#include "../include/lists.hpp"
int main(){
SeqList l = SeqList(12);
l.show();
l.delRepeat();
l.show();
} | [
"robostar.ye@gmail.com"
] | robostar.ye@gmail.com |
24a15ca2288aa1dbd9d5dd04ab149b8c788881b6 | c64ad37b028858335fc9083d55b0823ac8edc1e6 | /alpha10/Bsector_OpenCV.cpp | bb4bf9078f105dca0a61a2fd2c1d6bdab508d443 | [] | no_license | genpii/alpha10 | 41a33b4995bb5d0114bfc124627540a710ba30b5 | 59c57d4f736ac47b512b3567f9d4da218d1f2b7f | refs/heads/master | 2021-01-17T14:44:46.266123 | 2016-06-15T15:20:40 | 2016-06-15T15:20:40 | 43,666,714 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,715 | cpp | // Bsector.cpp
#include "stdafx.h"
#include <opencv2/opencv.hpp>
#include <opencv2/opencv_lib.hpp>
using namespace std;
using namespace cv;
//const vector<vector<float>>& env, float dangle
void Bsector(const vector<vector<float>>& env, float dangle)
{
////Mat src2 = Mat::zeros(320, 320, CV_16SC3);
//Mat src2 = imr... | [
"genpiichaan@gmail.com"
] | genpiichaan@gmail.com |
e1657aafbcd5fecaafc8ab35803ba386c2cc837c | 8a1302c7f69db619ec871375635dc264fd3e3dbb | /src/server/mcas/src/ado_manager.h | cb03a7dc8959a6febf4cd18ffadba1f894940a1a | [
"Apache-2.0"
] | permissive | Bhaskers-Blu-Org1/mcas | 5a1f65178d2e71f8dd90a388ac7fc7f95f6cd0fe | 5abab4d9682f099e55e352ec3e0b78577ee5087f | refs/heads/master | 2022-04-15T21:03:44.594501 | 2020-04-03T22:26:43 | 2020-04-03T22:26:43 | 275,845,938 | 0 | 1 | NOASSERTION | 2020-06-29T14:53:57 | 2020-06-29T14:53:56 | null | UTF-8 | C++ | false | false | 2,078 | h |
#ifndef __ADO_MANAGER_H__
#define __ADO_MANAGER_H__
#include <common/types.h>
#include <threadipc/queue.h>
#include <set>
#include <thread>
#include <utility>
#include <vector>
#include "config_file.h"
#include "program_options.h"
class SLA;
struct ado {
unsigned int shard_id;
std::string cpus;
// can be c... | [
"daniel.waddington@acm.org"
] | daniel.waddington@acm.org |
273f1619b9488f650b0bcf8a1657e7b5c11950be | 31475b58b676a174d89b3130f869656366dc3078 | /fm_physics_bullet/bullet/bullet_collision/collision_dispatch/bt_compound_compound_collision_algorithm.h | 0f3becaa997235691456ff7e2d28b88cd1d976ea | [] | no_license | cooper-zhzhang/engine | ed694d15b5d065d990828e43e499de9fa141fc47 | b19b45316220fae2a1d00052297957268c415045 | refs/heads/master | 2021-06-21T07:09:37.355174 | 2017-07-18T14:51:45 | 2017-07-18T14:51:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,157 | h | /*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2013 Erwin Coumans http://bulletphysics.org
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permission is grant... | [
"1542971595@qq.com"
] | 1542971595@qq.com |
43c066d344ac09be1c43ffde13d11f122833e459 | db65340fcdb1606e9cdc85ad163e7350c67dcf5d | /03_Object_Oriented_Programming/03_Advanced_OOP/19_Exercise_Comparison_Operators/main.cpp | aa53095a5f1a4e19e6a50c9cfd3f954372e9a43c | [] | no_license | Gyanesh-Mahto/CPP_Udacity | da997a1d765e9300183cae21d9834f82e368ad93 | c44db5d8681c29d90f570aea9e26cead6f7763f1 | refs/heads/master | 2021-03-13T04:41:45.314889 | 2020-08-13T10:21:54 | 2020-08-13T10:21:54 | 246,639,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,285 | cpp | /*
Exercise: Comparison Operator
This lab demonstrates how a simple comparison between two variables of unknown type can work using templates. In this case, by defining a template that
performs a comparison using the > operator, you can compare two variables of any type (both variables must be of the same type, tho... | [
"noreply@github.com"
] | noreply@github.com |
15776195a8649bab920c2414dd90b609732e5868 | 1b1e6862f08c1d0d6353d024534d2466bc03b733 | /testsl.cpp | d507c526589786a25eb7456cb2db20bfb4699fc8 | [] | no_license | alan-zambrano/Superlong | 612776f3eb985508d6f7d977111a062d21ee2787 | c2dfbeb7ca4b1e60dabb6642b07ceccaf3456e16 | refs/heads/master | 2020-04-07T01:50:35.106938 | 2018-11-18T05:14:04 | 2018-11-18T05:14:04 | 157,954,322 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 200 | cpp | #include <iostream>
#include "superlong.h"
int main(){
Superlong a("251235489720");
Superlong b("5264");
Superlong c;
c = a*b;
std::cout << c << std::endl;
++c;
std::cout << c << std::endl;
}
| [
"alan.zambranocs@gmail.com"
] | alan.zambranocs@gmail.com |
70e04d2c168254dd76290a0b2ec0a6e9df5ef390 | 8734d01e8d468bd6543fec812b58e171fd65deab | /heekscad/interface/PropertyVertex.cpp | 80947147925dda7b985eb66b1a40adf8936f796a | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | JohnyEngine/CNC | 97d8fa9bb2d4e3b76a577cfd35d0c1dbbd46214c | e4c77250ab2b749d3014022cbb5eb9924e939993 | refs/heads/master | 2020-12-25T16:49:01.672871 | 2016-11-10T19:33:19 | 2016-11-10T19:33:19 | 32,200,805 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,334 | cpp | // PropertyVertex.cpp
// Copyright (c) 2009, Dan Heeks
// This program is released under the BSD license. See the file COPYING for details.
#include "stdafx.h"
#include "PropertyVertex.h"
PropertyVertex::PropertyVertex(const wxChar *t, const double *initial_vt, HeeksObj* object, void(*callbackfunc)(const double* vt, ... | [
"johny.engine@gmail.com"
] | johny.engine@gmail.com |
7f41feedc2303fb1ae93b9ea913e6085381e6aa5 | 6abd724e304426b326b28fa3edadf26b85712b52 | /Cube/Cube.cpp | 4d3ab5a64bd658f5cdb3cbb066a2c63f2587e454 | [] | no_license | krzyyyy/Cube | bfd14ca13fc829b98a6271eb2d7d60e39cb5a12a | 52cfc900b31bd30cebb382c2527eb277652f1e67 | refs/heads/master | 2020-04-13T23:17:46.595418 | 2019-02-07T10:49:34 | 2019-02-07T10:49:34 | 163,502,755 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 3,593 | cpp | // Cube.cpp : Defines the entry point for the console application.
#include "stdafx.h"
#include "Model.h"
#include "Reader.h"
#include "Exceptions.h"
#include "TraceLogger.h"
#include "Catch\Catch.h"
#include "Server.h"
#include "SensorStream.h"
#include <memory>
#include <mutex>
//using namespace std;
//using n... | [
"krzyyyy@gmail.com"
] | krzyyyy@gmail.com |
8535042d17cdcbe45a454a2e5e468c27c91cd953 | ce8a81549c6ceab87323d3a50451b408fa694955 | /mediaplayer/flora/include/flora-cli.h | 47082e8cd497202f4100c17a713d197bff48db72 | [] | no_license | mosiping/SDK-EVS-Linux | 7cdc867881c725c61e82d4a2ff5781543b508fd7 | 232b61510bfef3658987f8b311cd099c4a6d8198 | refs/heads/master | 2020-09-02T21:12:59.580227 | 2019-10-18T06:28:00 | 2019-10-18T06:28:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,708 | h | #pragma once
#include "caps.h"
#define FLORA_CLI_SUCCESS 0
// 认证过程失败(版本号不支持)
#define FLORA_CLI_EAUTH -1
// 参数不合法
#define FLORA_CLI_EINVAL -2
// 连接错误
#define FLORA_CLI_ECONN -3
// 'get'请求超时
#define FLORA_CLI_ETIMEOUT -4
// 'get'请求目标不存在
#define FLORA_CLI_ENEXISTS -5
// 客户端id已被占用
// uri '#' 字符后面的字符串是客户端id
#define FLORA_... | [
"jiangxu@iflytek.com"
] | jiangxu@iflytek.com |
d215a9111be3132fbdd80f3d264a1c70c8f60085 | 6ee519ac3c31d45e511d7bca8f656b74f070b3ad | /src/walletdb.cpp | acebf6a3fcc5a0621a9b6bebbcc1934836510761 | [
"MIT"
] | permissive | Jeymadcat/AxoCore | 7496235a088971969028e6719601c0276389166a | 2dbc648e7226621dfe7e3715ae03f50030dfae50 | refs/heads/master | 2022-05-07T00:08:17.331563 | 2019-11-27T11:53:12 | 2019-11-27T11:53:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,327 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2018 The Axo developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or ... | [
"root@DESKTOP-IBUE37Q.localdomain"
] | root@DESKTOP-IBUE37Q.localdomain |
560b67edc00db7d108dd75e44f5b54b948b695f6 | ed9efcff8b5b8e885109209e6db86a0f99c552c6 | /modifsite.h | 50a1c501daeead5dc63f5f70e0523a64596354c0 | [] | no_license | sylv34/gpbs | a396a7c446440f49e7ecda3b597bb5df96fe1387 | 4dfc31fb218ce2f50459f2daa227f3843f373ca8 | refs/heads/master | 2018-09-03T14:06:54.229338 | 2018-06-09T17:51:12 | 2018-06-09T17:51:12 | 116,678,396 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 508 | h | #ifndef MODIFSITE_H
#define MODIFSITE_H
#include <QDialog>
#include "sitemanager.h"
namespace Ui {
class ModifSite;
}
class ModifSite : public QDialog
{
Q_OBJECT
public:
explicit ModifSite(QWidget *parent = 0);
explicit ModifSite(int id,QString nom,QString siren, QString nic, QString adresse, QString vi... | [
"sylvain.dienst@gmail.com"
] | sylvain.dienst@gmail.com |
224a0d96161ffe84798821d7bcc7b9b3036d0160 | 2ba94892764a44d9c07f0f549f79f9f9dc272151 | /Engine/Source/Runtime/Engine/Classes/Sound/SoundNodeDistanceCrossFade.h | f7e8932cb03cd3b9625ee039e174bfbeff9c1749 | [
"BSD-2-Clause",
"LicenseRef-scancode-proprietary-license"
] | permissive | PopCap/GameIdea | 934769eeb91f9637f5bf205d88b13ff1fc9ae8fd | 201e1df50b2bc99afc079ce326aa0a44b178a391 | refs/heads/master | 2021-01-25T00:11:38.709772 | 2018-09-11T03:38:56 | 2018-09-11T03:38:56 | 37,818,708 | 0 | 0 | BSD-2-Clause | 2018-09-11T03:39:05 | 2015-06-21T17:36:44 | null | UTF-8 | C++ | false | false | 4,185 | h | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Sound/SoundNode.h"
#include "SoundNodeDistanceCrossFade.generated.h"
USTRUCT()
struct FDistanceDatum
{
GENERATED_USTRUCT_BODY()
/* The FadeInDistance at which to start hearing this sound.
* If you want to hear the sound up close... | [
"dkroell@acm.org"
] | dkroell@acm.org |
b656784da50c1f025fc046d8a52d4857ef3688b9 | e1f359d5093bee4289fbf6b20fbc10a67744c353 | /kinect_sim/src/scene.cpp | e2c80b1f4c929ddc42ab9a7dfa07d2054a9c1ec5 | [
"BSD-3-Clause"
] | permissive | SBPL-Cruz/perception | 77a9ec3bf6b57b48af1be3021b496b1aa6f61e5b | 4c97c2ef9f6fe24172cd459b5c0d6e01faad483d | refs/heads/master | 2021-07-06T13:02:04.482677 | 2020-08-22T17:21:36 | 2020-08-22T17:21:36 | 164,526,900 | 18 | 4 | BSD-3-Clause | 2020-06-27T17:42:46 | 2019-01-08T01:20:20 | C++ | UTF-8 | C++ | false | false | 568 | cpp | /*
* scene.cpp
*
* Created on: Aug 16, 2011
* Author: Hordur Johannsson
*/
#include <kinect_sim/scene.h>
namespace pcl
{
namespace simulation
{
void
Scene::add (Model::Ptr model)
{
models_.push_back(model);
}
void
Scene::addCompleteModel (std::vector<Model::Ptr> model)
{
models_.push_back (model[0])... | [
"venkatrn@andrew.cmu.edu"
] | venkatrn@andrew.cmu.edu |
9e291b882a269ab8a23350239346276a4f784507 | c279a2fcb56de70f5cac2c8e890f155e177e676e | /Source/BladeBase/header/memory/TempAllocator.h | bd1459802d61faf070cef0f55ddb1b5cc99f99da | [
"MIT"
] | permissive | crazii/blade | b4abacdf36677e41382e95f0eec27d3d3baa20b5 | 7670a6bdf48b91c5e2dd2acd09fb644587407f03 | refs/heads/master | 2021-06-06T08:41:55.603532 | 2021-05-20T11:50:11 | 2021-05-20T11:50:11 | 160,147,322 | 161 | 34 | NOASSERTION | 2019-01-18T03:36:11 | 2018-12-03T07:07:28 | C++ | UTF-8 | C++ | false | false | 2,413 | h | /********************************************************************
created: 2009/02/13
filename: TempAllocator.h
author: Crazii
for containers whose elements frequently change
purpose: this allocator allocates memory for temporary objects
*********************************************************************/... | [
"xiaofeng.he@mihoyo.com"
] | xiaofeng.he@mihoyo.com |
7263146a4e9bdc9a0b01eaf7ec406fbbb4168a18 | c9a4babe1702ee40111af6c004551c1c874bd445 | /include/hdrnet/GridNet.h | 4dcc3d927240d02b299a8391ea404ba8f70801b6 | [] | no_license | peppaseven/hdrnet-mobile | 2c1fcef9652e48e4ebee14ed712a206a8a5e7deb | b99374fc7019b6edcccdadca15fe699e5642d664 | refs/heads/master | 2020-04-07T17:03:57.399435 | 2018-11-19T14:32:06 | 2018-11-19T14:32:06 | 158,555,157 | 2 | 0 | null | 2018-11-21T13:50:50 | 2018-11-21T13:50:49 | null | UTF-8 | C++ | false | false | 494 | h |
#ifndef __GRID_NET_H
#define __GRID_NET_H
#include "cnn/ILayer.h"
#include <vector>
class GridNet final
{
public:
GridNet();
~GridNet() = default;
int build_network();
int run_network(float * input, float * output);
int clean_network();
private:
std::vector<ILayer *> _layers;
... | [
"itchencheng@gmail.com"
] | itchencheng@gmail.com |
6426ab2cb70d149b52549fd171b61751fd88ec80 | ac8b4b876b0ee54b17170988b36b518738d33bd5 | /NMath/Include/nmath/graph/decl.hpp | d74c1bd543ac4a034a382fb3bdfa1270b43626bb | [] | no_license | chuck1/VS-4Dvis-1 | c3b1eecf0cd8589b8aeeaaebe876d998aecf7c19 | a6ae333a575dace2bdbbc8bf2d1b6d5f29969e1a | refs/heads/master | 2021-01-12T11:56:08.776364 | 2017-01-07T00:20:54 | 2017-01-07T00:20:54 | 68,843,055 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,243 | hpp | #ifndef NMATH_GRAPH_DECL
#define NMATH_GRAPH_DECL
#include <set>
#include <vector>
#include <memory>
#include <functional>
#define NMATH_DEBUG_LEVEL (0)
#define NMATH_DEBUG(a) if(a <= NMATH_DEBUG_LEVEL)
namespace nmath{
namespace graph{
template<typename V>
class Vert;
template<typename V>
class Edge;
... | [
"charles.rymal@nortek.com"
] | charles.rymal@nortek.com |
b174e0fd4ca6bac7524511f2315dea9e3c6a003e | edacdd9e5b9012ce4ca240dd504b12646286e1bd | /main.cpp | 413cd6e4c85e092f44f821cec370fed01d259f67 | [] | no_license | mmachnicki/db-cloud-connector | 61f1790ce1e9059851ac14862a84475e24dfc25f | ea0b957686dcc06eb680f5b327ebed024c15aed1 | refs/heads/master | 2021-01-22T03:50:24.017358 | 2015-09-20T10:28:10 | 2015-09-20T10:28:10 | 42,808,826 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 313 | cpp | /*
* File: main.cpp
* Author: mike
*
* Created on 30 September 2014, 11:33
*/
#include <cstdlib>
#include "ProxySocket.h"
/*
*
*/
int main(int argc, char** argv) {
ProxySocket *proxySocket = new ProxySocket();
if(proxySocket->initialise(8080)) proxySocket->run();
return 0;
}
| [
"m.machnicki@email.com"
] | m.machnicki@email.com |
92b89abd721972ec37d138b3bae7283433339b52 | 604835ee6216507bdebfdc6e13bf068f6710ff3e | /IOSTEST/Classes/Native/AssemblyU2DCSharpU2Dfirstpass_Valve_VR_IVRRenderMo4149685257.h | 0f861a85e539c0d49d8f87fd6d29f838d7a0a325 | [
"MIT"
] | permissive | pickettd/OpenBrushVR | d174c86a2364c2cd5b79e927c2f2686825211531 | 7f3aa4bc1f12bd5b4f6d5f7cc15a1a6af5d48dbe | refs/heads/master | 2020-03-30T02:55:09.435323 | 2019-01-30T22:48:39 | 2019-01-30T22:48:39 | 150,658,280 | 2 | 0 | null | 2018-09-27T23:14:34 | 2018-09-27T23:14:34 | null | UTF-8 | C++ | false | false | 827 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_MulticastDelegate3201952435.h"
#include "mscorlib_System_UInt322149682021.h"
// System.Text.StringBuilder
struct StringBuilder_t1221177846;
// System.IAsync... | [
"andrew.nakas@gmail.com"
] | andrew.nakas@gmail.com |
80c8f464f8a948adafb244921fe51f71d33afff8 | 8efa664046ddc0279c0e54da38d02fd80fb15594 | /soj/栈的压入压出.cpp | bdc767c1cb9ae2761514db1c686365610d9250fd | [] | no_license | yzf/algorithm | 1c3c6ad3b80576925ebd23357c49463112f4770b | d4feb930b99d282d4913236679c60c797df8af8f | refs/heads/master | 2020-04-15T11:35:28.229162 | 2015-02-15T03:39:30 | 2015-02-15T03:39:30 | 26,008,399 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,056 | cpp | #include <iostream>
#include <cstdio>
#include <cstdlib>
#include <stack>
using namespace std;
const int Max = 100000;
int n;
int pushOrder[Max];
int popOrder[Max];
int main() {
//freopen("input", "r", stdin);
while (scanf("%d", &n) != EOF) {
for (int i = 0; i < n; ++ i) {
scanf("%d", &p... | [
"375007501@qq.com"
] | 375007501@qq.com |
5b54092819eb98ec8214592d05095a43e5f12b1b | 142983463f9b638a119b6657e9c8df60ecbef170 | /ACM/sjtu/s1046.cpp | 139ed2070265cf50ce2c678a5dd3f493b37982b9 | [] | no_license | djsona12/ProgramsInUndergrad | 300264e0701dbc8a53bb97a0892284f57477402c | bbf1ee563660f55ca4bdbf4b7ab85604ab96149e | refs/heads/master | 2021-06-28T15:34:31.030557 | 2017-08-28T04:48:27 | 2017-08-28T04:48:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,225 | cpp | //
// main.cpp
// s1046
//
// Created by were on 2014/04/14.
// Copyright (c) 2014年 were. All rights reserved.
//
#include <cstdio>
#include <cstdlib>
const int MaxN = 100010;
int N, P, Q, l[MaxN], r[MaxN], sz[MaxN], dfn[MaxN], root, tot;
int rnk[MaxN], sum[MaxN], curRnk, pos[MaxN];
bool hsh[MaxN];
void dfs(int... | [
"“wereFluke@gmail.com”"
] | “wereFluke@gmail.com” |
829a93ce56bd9c183017033c6f8b71eba572fa66 | 255142309333a0f98d6bf886972b6a4bbd180c07 | /reader/RC522.cpp | fd6966de9862ac5332955e3e545816a0444a9358 | [
"MIT"
] | permissive | iiisue/Arduino-uno-NFC | 6f5f1fa4937104612720d1622ab482fd10dc5ea5 | 23813a6f4c884df5dd9cef9e4e4a2deb1c6b3600 | refs/heads/main | 2023-07-26T11:57:43.256496 | 2021-09-02T18:00:29 | 2021-09-02T18:00:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,146 | cpp | //Arduino uno RC522 (������ѹ3.3V)
//D9 <-------------> RST (����Ų���ò��Ҳ����)
//D10 <-------------> SDA (��RC522�м�ΪCS)
//D11 <-------------> MOSI
//D12 <-------------> ... | [
"yym68686@outlook.com"
] | yym68686@outlook.com |
1fb43e3812915b40f71e8be3f76b09aea4383838 | d2de04d67eb9523d7e8412239371bae27b57a546 | /build/Android/Debug/app/src/main/include/Uno.String.h | 75d100dee9edbae8859b6d4e6ac779b039c7a609 | [] | no_license | alloywheels/exploring | e103d6d4924dae117f019558018c1e48cd643e01 | 75d49914df0563d1956f998199724bc4e9c71a87 | refs/heads/master | 2021-09-01T21:12:12.052577 | 2017-12-28T16:10:20 | 2017-12-28T16:10:20 | 115,637,649 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,027 | h | // This file was generated based on '../../../AppData/Local/Fusetools/Packages/UnoCore/1.4.3/Source/Uno/String.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Object.h>
namespace g{
namespace Uno{
// public intrinsic sealed class String :13
// {
uType* String_typeof... | [
"turrifftyresandalloys@gmail.com"
] | turrifftyresandalloys@gmail.com |
186d0a515fbdbc31a41731ed0572ab69b2e6583b | 6eacd319c941791908c6c1821146dd2847ad7900 | /DiChuyenVeGocToaDo.cpp | 6939d3f09056b0b3600810e4049f28c5406ece02 | [] | no_license | m10barcp1/Algorithsm-DS | 8c00e5a664472696d46406438c794c8ecb3a386b | 1c764d39b1c9215f87d2a1f6dc326f6cb7e7978a | refs/heads/main | 2023-06-28T00:32:24.454538 | 2021-07-26T05:44:01 | 2021-07-26T05:44:01 | 373,788,604 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 395 | cpp | #include<bits/stdc++.h>
using namespace std;
void solve(){
int n,m;
cin >> n >> m;
long long a[105][105];
for ( int i = 0; i<=n; i++){
for ( int j = 0; j<=m; j++){
a[i][j] = 1;
}
}
for ( int i = 1; i<=n; i++){
for ( int j = 1; j<=m; j++){
a[i][j] = a[i-1][j]+ a[i][j-1];
}
}
cout << a[n][m] << end... | [
"m10barcp1@gmail.com"
] | m10barcp1@gmail.com |
bdf49afadb2e366c0a3937443b31539e33da7df4 | c935299ed6ef9c6636e8a8cf7aa8400d030259f8 | /testComp.cpp | c0a33877ad39dfefbd26cc8b1e6670690feb1517 | [] | no_license | Deeplearning67/TheArtOfCompression | 98bfb8b4fae0ea015dfbcbcc9e821e3a31382111 | 8e9017c80dfb9936c5553c1d334c57b56560b362 | refs/heads/master | 2020-05-14T16:53:11.357174 | 2019-04-01T04:21:16 | 2019-04-01T04:21:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,413 | cpp | #define CATCH_CONFIG_MAIN
#include "cs221util/catch.hpp"
#include <vector>
#include <sys/stat.h>
#include <iostream>
#include "cs221util/PNG.h"
#include "cs221util/HSLAPixel.h"
#include "stats.h"
#include "toqutree.h"
using namespace std;
using namespace cs221util;
TEST_CASE("stats::basic rectArea","[weight=1][part=... | [
"noreply@github.com"
] | noreply@github.com |
744ca98aafe583ed8e61cbf9811498939210224d | 78ae56172f51e9d9297c4236c1f80f7f9e07a74b | /Tutorials/GPU/CNS/Source/CNS_K.H | ed8b20edc6ef89d9df8d0f2fa9357adcf45773d9 | [
"BSD-2-Clause"
] | permissive | EloiseJYangOld/amrex | 8bd54af02db5cf370cc38d8c1c56577de9c19b8f | 2e66e12f94e2e9b0bcf09c3a423f47110004a892 | refs/heads/master | 2023-03-02T09:54:21.573088 | 2020-05-01T15:21:04 | 2020-05-01T15:21:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,216 | h | #ifndef CNS_K_H_
#define CNS_K_H_
#include "CNS_index_macros.H"
#include <AMReX_FArrayBox.H>
#include <limits>
#include <cmath>
#include "cns_prob.H"
#include "CNS_parm.H"
AMREX_GPU_HOST_DEVICE
inline
amrex::Real
cns_estdt (amrex::Box const& bx, amrex::Array4<Real const> const& state,
amrex::GpuArray<amre... | [
"weiqunzhang@lbl.gov"
] | weiqunzhang@lbl.gov |
09f91cbd938b4f8347679cdf3832359e155ff573 | bdeec5f4ac7b113fefafe32954b3f883fa7b2c6c | /mainapp/Classes/Games/NumberTrace/Models/NumberTraceProblem.h | 045f4062347789d15c1fd78c389cfb28e67230a8 | [
"Apache-2.0",
"CC-BY-3.0",
"CC-BY-4.0",
"MIT"
] | permissive | XPRIZE/GLEXP-Team-KitkitSchool | c6cadc3b3828934b1da51c61466f516a2f51b67a | 6ed6b76d17fd7560abc35dcdf7cf4a44ce70745e | refs/heads/newmaster | 2022-03-14T16:34:52.414327 | 2019-11-29T12:52:03 | 2019-11-29T12:52:03 | 79,299,159 | 50 | 31 | Apache-2.0 | 2019-11-29T12:52:04 | 2017-01-18T03:24:30 | C++ | UTF-8 | C++ | false | false | 825 | h | //
// Problem.h -- A problem for NumberTrace
// TodoSchool on Oct 15, 2016
//
// Copyright (c) 2016 Enuma, Inc. All rights reserved.
// See LICENSE.md for more details.
//
#pragma once
#include "../Utils/NumberTraceNS.h"
BEGIN_NS_NUMBERTRACE
class Problem {
public:
enum class AssetType {
Ant,
... | [
"gunho.locomotive@gmail.com"
] | gunho.locomotive@gmail.com |
5be88341fa353a85b098bd2ee3a9eea9cfdc93e8 | dbd1b63f25c61400c0ea7698cd2e48d408137279 | /source/boost/di/concepts/configurable.hpp | 81d105741738e74b29ddadac557a126d4c5765be | [
"MIT"
] | permissive | harrypatel04/low_latency_demo | 11416ce8dab647e8cc4c99403192b2165c80bd80 | de0d0d3dcebff23ba77c06c6c368b9d1c3d2c648 | refs/heads/master | 2020-05-07T20:40:12.838114 | 2017-11-16T18:16:44 | 2017-11-16T18:16:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,085 | hpp | //
// Copyright (c) 2012-2016 Krzysztof Jusiak (krzysztof at jusiak dot net)
//
// 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)
//
#ifndef BOOST_DI_CONCEPTS_CONFIGURABLE_HPP
#define BOOST_DI_CONCEPTS_CONFIGURABLE_HP... | [
"david.wolf@zuehlke.com"
] | david.wolf@zuehlke.com |
082f81f56f6404798bc15a823c7d688821fabbc6 | cabc01b409c6451df044f9a1879971be87c09df6 | /src/qt/transactionrecord.cpp | 8ecfd7a2cc1bfe3c3a584343b09ab0a8e8305226 | [
"MIT"
] | permissive | ArenaCoinDev/Ar3na | 48acb461328332b27c44323b9fcfe081f70dc920 | c5060136ebf114a3403b57ee81e1c42afd611612 | refs/heads/master | 2020-04-04T21:48:25.514708 | 2018-12-09T00:22:22 | 2018-12-09T00:22:22 | 156,299,058 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,131 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "transactionrecord.h"
... | [
"mmoaeria@gmail.com"
] | mmoaeria@gmail.com |
55203c9a8b9cd123aa5bbe59ac746b0c1842f053 | 5bee01b7d406f88debe005b458d8389535d0f52a | /BreakOut/GameEngine/Shader.hpp | 53011ad2acae31e6656756f50f869f327c5d5e4f | [] | no_license | fortracy/Breakout | 604551d5f510bda4a07950dc81c38888683def0e | a92e31926f1db2277de038fb6003aca4e8d36eca | refs/heads/master | 2021-01-23T05:24:06.505474 | 2017-04-19T09:39:20 | 2017-04-19T09:39:20 | 86,300,796 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,635 | hpp | //
// Shader.hpp
// BreakOut
//
// Created by newworld on 2017/3/23.
// Copyright © 2017年 siyuxing. All rights reserved.
//
#ifndef Shader_hpp
#define Shader_hpp
#include <stdio.h>
#include <OpenGLES/gltypes.h>
#include <OpenGLES/ES2/gl.h>
#include <GLKit/GLKit.h>
#include <iostream>
class Shader
{
public:
G... | [
"fortracy_1212@126.com"
] | fortracy_1212@126.com |
11cfeb90839f8f40835bf80e1d26eda9d69a4e1e | 67fe924307360cd48c248f68e8ff0f7c67524e57 | /August2020LeetCodingChallenge/Week 1: July 1st - July 7th/DesignHashSet.cpp | 8e8e220653bc10481c90b96bd1875923dba286ae | [] | no_license | jainayu/Leet-Code | 656719fdcb2e15d5dca793d5bb6a3923d4ee905d | 9ea600693ee1485573f5bf4f9ba889d971c07c0f | refs/heads/master | 2023-01-24T11:10:21.367441 | 2020-11-10T14:49:19 | 2020-11-10T14:49:19 | 268,481,052 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,379 | cpp | class MyHashSet {
vector<list<int> *> myHashSet;
const int size = 1000;
public:
/** Initialize your data structure here. */
MyHashSet() {
myHashSet = vector<list<int> *>(size, nullptr);
}
void add(int key) {
if(contains(key))
return;
int hashVal... | [
"500060884@stu.upes.ac.in"
] | 500060884@stu.upes.ac.in |
406ce3278fbd1a794718c01c09f10098466c7abe | a60e900ea0dfe92da6ea51125f2a924adaddb9e3 | /CEQU.cpp | 39ee2806fa4b9d5dfeff2b84bf0500a338a8e7ef | [] | no_license | ptitm4n/SPOJ | 59e6b3635e1f70d01911d9d5b5594d45b8bf9a5c | aa69e3433d35115bed50c91f3e4a260a483c2539 | refs/heads/master | 2022-09-24T17:27:57.758135 | 2020-06-04T12:27:20 | 2020-06-04T12:27:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 317 | cpp | #include <bits/stdc++.h>
using namespace std;
#define lld long long
int main()
{
ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
int test;
cin>>test;
lld a,b,c;
for (int kase=1; kase<=test; kase++)
{
cin>>a>>b>>c;
cout<<"Case "<<kase<<": ";
if(c%__gcd(a,b)) cout<<"No\n";
else cout<<"Yes\n";
}
} | [
"only2prakash@gmail.com"
] | only2prakash@gmail.com |
2674245c934cca50186646a6f497c86d1ca3773f | a398c5d782f7dc59d7fc43a67bfefdd1872f13c6 | /ScriptExtender/Lua/Shared/LuaMethodHelpers.h | 06705ab5d3d2d18725d896fc42414892d79bb491 | [
"MIT"
] | permissive | Norbyte/ositools | b11f82221000f0a8be6dc85bfe6c40645746524e | e2d351a5503f8660c5c40fc4a68570373befc7d9 | refs/heads/master | 2023-08-14T16:31:00.481306 | 2023-07-28T16:11:30 | 2023-07-28T16:11:30 | 120,127,571 | 351 | 41 | MIT | 2023-08-30T10:32:44 | 2018-02-03T20:37:56 | C++ | UTF-8 | C++ | false | false | 15,647 | h | #pragma once
#include <Lua/Shared/LuaHelpers.h>
#include <Lua/Shared/Proxies/LuaObjectProxy.h>
#include <Lua/Shared/Proxies/LuaArrayProxy.h>
#include <Lua/Shared/Proxies/LuaMapProxy.h>
#include <Lua/Shared/Proxies/LuaCppObjectProxy.h>
BEGIN_NS(lua)
template <class T>
inline void MakeObjectRef(lua_State* L, LifetimeH... | [
"infernorb@gmail.com"
] | infernorb@gmail.com |
5931f6265d491d975a9b5ac53a199d2361f2b7fe | 737435992077480ce3575a17d38bbad23122ed5d | /hippo/util/PropReader.h | ba4fb64abcd867015c9f1f4dd3b12f284723f5e3 | [] | no_license | gogdizzy/libhippo | 3030730901d8a3c647058a7d9f8d18d26bab7a4a | 4893dc4aeaf5eb987444ba4d0a6ec3932443cc18 | refs/heads/master | 2020-04-15T18:53:08.600200 | 2017-04-07T11:00:14 | 2017-04-07T11:00:14 | 6,671,716 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 340 | h |
#pragma once
#include <string>
#include <map>
namespace hippo {
class PropReader {
public:
PropReader();
PropReader( const std::string& filepath );
bool readFile( const std::string& filepath );
std::string getProp( const std::string& key );
private:
typedef std::map< std::string, std::string > table_t;
ta... | [
"gogdizzy@gmail.com"
] | gogdizzy@gmail.com |
e40422da1eab12064c5259296096d6abb0393ae5 | e78f9cb2433587c73e4d5105618f2dff1775e9d8 | /2d_transformation/main.cpp | de5cd6dd5018df5868fd55100594cf0b2cba802a | [] | no_license | Akib116/Computer_Graphics | 0403ff42f656035f3ef13b3b617fa920572dc9d1 | 44b26546137086314fa02faa2f1bc9419a32b894 | refs/heads/main | 2023-05-01T01:17:20.686795 | 2021-05-09T07:40:19 | 2021-05-09T07:40:19 | 345,144,577 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,014 | cpp | #include <windows.h>
#include <stdio.h>
#include <math.h>
#include <iostream>
#include <vector>
#include <GL/glut.h>
using namespace std;
/*-----------------------Translation-------------------------*/
int pntX1, pntY1,edges,x,y;
vector<int> pntX;
vector<int> pntY;
void drawPolygon()
{
glBegin(GL_POLY... | [
"noreply@github.com"
] | noreply@github.com |
a5e73dec5ece79205b428438b028597a421950ed | add16900a969741c9e7570d3b7b47b76e22ccd04 | /aten/src/ATen/native/cpu/RangeFactoriesKernel.cpp | ae83cf20ff2c7a436a6a7ad9f59acea89f8190a3 | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"BSL-1.0",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | talemache/pytorch | 55143c60b927a73f6392f7dde1f4fc8ef7ee76e6 | a4da326621418dcccba50d2e827e6644e7f03ed1 | refs/heads/master | 2023-05-09T06:02:30.990411 | 2021-05-30T04:37:41 | 2021-05-30T04:37:41 | 318,314,852 | 2 | 0 | NOASSERTION | 2021-05-30T04:37:41 | 2020-12-03T20:43:29 | null | UTF-8 | C++ | false | false | 3,251 | cpp | #include <cmath>
#include <ATen/Config.h>
#include <ATen/Dispatch.h>
#include <ATen/native/DispatchStub.h>
#include <ATen/AccumulateType.h>
#include <ATen/cpu/vec/vec.h>
#include <ATen/native/TensorIterator.h>
#include <ATen/Parallel.h>
#include <ATen/native/cpu/Loops.h>
namespace at { namespace native {
namespace {... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
b26776e69a7fde8269a9e679d26172d5cba3b54c | 08262c9bd3dbd2150a85e810fa77f502ab743cbf | /08/Strategy.cpp | d7665bcdb68d8fde53cb4949b5ab8702849e0d4f | [] | no_license | starkshaw/CppStudy | d5bd4109d99b6505d53767903856ee2c947857c3 | e0a22238b4c143e594d374756cfe7ebee869534c | refs/heads/master | 2021-01-24T06:14:13.988478 | 2015-12-21T19:14:29 | 2015-12-21T19:14:29 | 42,931,145 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,832 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
///////////////// Sorters
/** abstract base class for classes that implement sorting algorithms **/
class Sorter {
public:
/** defines a pure virtual interface for algorithms that sort a vector of strings **/
virtual vector<string> s... | [
"xiaozhenbang@gmail.com"
] | xiaozhenbang@gmail.com |
277aca070777b6a93f64d090a6d3eb4e34579007 | 9d49110b6b1d24f4ec31dc02c0bebdbd3ecda0cd | /read_write.hpp | b4de7a9b23393afff02b16365f971151f98e62cc | [] | no_license | MarcJus/open_read | 3f3d959c21d7ebced8c762041bb044854f6881fe | ee6c285ddd63998dfb034382adacb24ba453cd49 | refs/heads/master | 2023-09-05T00:57:28.260553 | 2021-11-06T13:18:30 | 2021-11-06T13:18:30 | 401,085,922 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,145 | hpp | #ifndef READ_WRITE_H
#define READ_WRITE_H
#include <iostream>
#include <vector>
/**
* Informations sur la manette
*/
struct Gamepad{
/**
* Chemin de la manette
*/
std::string path;
/**
* Nom de la manette
*/
std::string name;
};
struct Test{
int nombre;
unsigned char character;
};
/**
* Vecteur ... | [
"jusseaumemarc@gmail.com"
] | jusseaumemarc@gmail.com |
9d4d55862e89d2d1bc8e68b45633b6d7c58131e8 | 5c32172051a2131f8d0ec5da44049e721c8c9862 | /Resources/cocos/2d/CCNotificationCenter.cpp | 8b109daaccdcaeec97dc944afc5b1240f723fbdd | [] | no_license | anan4094/coclua | eb28dd979dee6370048392e117b90dd723c3712f | f4c5a7746046b7cea6544e6b8469361ec49ab19a | refs/heads/master | 2021-01-25T07:39:45.446602 | 2014-02-11T01:06:24 | 2014-02-11T01:06:24 | 15,887,673 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 7,935 | cpp | /****************************************************************************
Copyright (c) 2010-2012 cocos2d-x.org
Copyright (c) 2011 Erawppa
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),... | [
"409438071@qq.com"
] | 409438071@qq.com |
20bf2b14cfc6c1482825878565dd704e5b243b21 | c3283332ea47f8d61b5e09ba0b31eda2bf3c3f5b | /T05/T5_Q1.cpp | cd9ac3f54df6bd5f4e37010ab6bac614820db099 | [] | no_license | wrigglingears/cs1020e_2016-2017_s2 | 258cf7886842b13c236e20551a1ee4cbc4ff57f9 | d3a5a62d9a09417509306a6329c62ef189fbdbda | refs/heads/master | 2021-01-11T20:27:59.724168 | 2017-03-10T07:53:03 | 2017-03-10T07:53:03 | 79,122,059 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,622 | cpp | #include <iostream>
#include <initializer_list>
#include <string>
#include <sstream>
using namespace std;
class LinkedList {
private:
struct Node {
int number;
Node* next;
};
Node* _head;
void swap(Node* first, Node* second) {
int temp = first->number;
... | [
"mattheus.lee@gmail.com"
] | mattheus.lee@gmail.com |
c542854d2b9f91176cf96634e8c3f2035384af0e | 153430aefa9a56618a23499e9c2422c1d590956e | /Box2D/Common/OpenCL/b2CLNarrowPhase.h | 85caa3f187b45754907e69b169b0f004e5fd1b8f | [
"Zlib"
] | permissive | deidaraho/webcl-box2d | 03520e259057fe733e37b2a50438afb5026053ec | a4a7954f279f5d9dda18c042e60cf228b252d266 | refs/heads/master | 2020-07-08T13:07:39.105606 | 2016-04-30T03:57:40 | 2016-04-30T03:57:40 | 203,682,693 | 1 | 0 | null | 2019-08-22T00:10:50 | 2019-08-22T00:10:50 | null | UTF-8 | C++ | false | false | 3,004 | h | /*
*
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 disclaimer.
2. Redistributions in binary form must rep... | [
"t.brutch@samsung.com"
] | t.brutch@samsung.com |
36217fa15f65d459a067b71a32acc85ebe3f17fb | f697de099a8deca165769a88b0afdeb0e4b8b18c | /TwinPrimeNumber.cpp | 95051b3001c2cbad5a41b1e803ab19287af75950 | [] | no_license | iprincekumark/Cpp-Codes | ebf81bdc0c826a187e3bfd0ac8b52229365f67e4 | 913d26bcf727cee91cea197fe1d4b12fa49edf0a | refs/heads/main | 2023-01-30T11:31:28.205682 | 2020-12-13T00:03:08 | 2020-12-13T00:03:08 | 320,949,769 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 734 | cpp | #include <iostream>
#include <cmath>
using namespace std;
bool isPrime(int n)
{
if (n <= 1)
return false;
if (n <= 3)
return true;
if (n % 2 == 0 || n % 3 == 0)
return false;
for (int i = 5; i * i <= n; i = i + 6)
if (n % i == 0 || n % (i + 2) == 0)
return f... | [
"iprincekumark@gmail.com"
] | iprincekumark@gmail.com |
f9f92d3bc25b570f5f5d5b71f69cd5a936c23cb2 | d93159d0784fc489a5066d3ee592e6c9563b228b | /CalibCalorimetry/CaloMiscalibTools/interface/CaloMiscalibToolsMC.h | c469b8fd9d3e38cab5aca55b0a1235d4ac17862f | [] | permissive | simonecid/cmssw | 86396e31d41a003a179690f8c322e82e250e33b2 | 2559fdc9545b2c7e337f5113b231025106dd22ab | refs/heads/CAallInOne_81X | 2021-08-15T23:25:02.901905 | 2016-09-13T08:10:20 | 2016-09-13T08:53:42 | 176,462,898 | 0 | 1 | Apache-2.0 | 2019-03-19T08:30:28 | 2019-03-19T08:30:24 | null | UTF-8 | C++ | false | false | 2,106 | h | #ifndef _CALOMISCALIBTOOLSMC_H
#define _CALOMISCALIBTOOLSMC_H
// -*- C++ -*-
//
// Package: CaloMiscalibToolsMC
// Class: CaloMiscalibToolsMC
//
/**\class CaloMiscalibToolsMC CaloMiscalibToolsMC.cc CalibCalorimetry/CaloMiscalibToolsMC/src/CaloMiscalibToolsMC.cc
Description: Definition of CaloMiscalibToolsMC... | [
"sha1-cf24814f6426e55741f66a9979d2192918cf784d@cern.ch"
] | sha1-cf24814f6426e55741f66a9979d2192918cf784d@cern.ch |
801ea0f98ef6d39359395ac04633d718a4785baa | ee093bd6974a0aa3b095c895c416df7c08a0aa62 | /Android/APIExample/agora-simple-filter/src/main/cpp/plugin_source_code/EGLCore.h | 3e3d17fb89343136c6e259204a10650b2893d62e | [
"MIT"
] | permissive | AgoraIO/API-Examples | 00324da313c87e9f34dfedbc268911e7b5cb76eb | c0caa78e327f740e6165924945f2b81f65754520 | refs/heads/main | 2023-08-30T13:19:53.088546 | 2023-08-12T00:06:41 | 2023-08-12T00:06:41 | 257,518,877 | 265 | 243 | null | 2023-09-14T10:48:54 | 2020-04-21T07:46:07 | C++ | UTF-8 | C++ | false | false | 2,135 | h | //
// Created by 张涛 on 2020/4/27.
//
#ifndef AGORAWITHBYTEDANCE_EGLCORE_H
#define AGORAWITHBYTEDANCE_EGLCORE_H
#if defined(__ANDROID__) || defined(TARGET_OS_ANDROID)
#include <android/native_window.h>
#include <EGL/egl.h>
#include <EGL/eglext.h>
#include <EGL/eglplatform.h>
#include "../logutils.h"
/**
* Constructo... | [
"xianing@agora.io"
] | xianing@agora.io |
bc66b56c0b038c4b3069412149228c99e5efe35e | 2e3f1ae5c1ddb1991496168bde4b1551dcb5dbec | /cclang/binary_result.h | 561563d5116068d93312f8c99f92369a34e7b301 | [] | no_license | vmaksimo/opencl-clang | f823031b9c046e389d24e22baa2f6159902e8cb8 | 82481202297e69f619766df57ac3cce70a35d82f | refs/heads/master | 2020-03-28T03:27:28.882534 | 2018-06-19T13:33:46 | 2018-06-25T08:48:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,218 | h | /*****************************************************************************\
Copyright (c) Intel Corporation (2009-2017).
INTEL MAKES NO WARRANTY OF ANY KIND REGARDING THE CODE. THIS CODE IS
LICENSED ON AN "AS IS" BASIS AND INTEL WILL NOT PROVIDE ANY SUPPORT,
ASSISTANCE, INSTALLATION, TRAINING OR OTHE... | [
"lukasz.filipkowski@intel.com"
] | lukasz.filipkowski@intel.com |
b1343cb08b30cc17cb53a3a4a0d06f05cde2334c | 9e37ec1a99b8e2734e0769e62f7be5006cff9ba2 | /src/point_cloud_publishing_sonar.cpp | bc6ca543b06d940e647a03d03da152d75624021b | [
"Apache-2.0"
] | permissive | Zarbokk/simulation_bluerov | d71f247fc7ae01418b5d9e4507ff0fc094b09fd4 | 578af3feaf2d7d875d1fe297ecf6f8f61d112d9c | refs/heads/main | 2023-05-30T17:04:32.335918 | 2021-06-07T14:54:12 | 2021-06-07T14:54:12 | 329,369,509 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,836 | cpp | #include <stdio.h>
#include <ros/ros.h>
#include <pcl_ros/point_cloud.h>
#include "sensor_msgs/LaserScan.h"
#include <vector>
class LaserScan2PCL
{
public:
LaserScan2PCL(const std::string& publishName, const std::string& subscribeName)
{
//Topic you want to publish "cloud_topic";
demoPublisher... | [
"timhansen93@googlemail.com"
] | timhansen93@googlemail.com |
bff0311b91a3df7f983628a13dcb7e05a31b8d6b | 28eba25978105f61310d8a24145c44b1fadb3b08 | /softboundcets-3.5.0-master/softboundcets-llvm-3.5.0/lib/Target/Mips/Release+Asserts/MipsGenDisassemblerTables.inc.tmp | a56a7645e54b0fb1b4acbc8a602cfcdd3864524d | [
"NCSA"
] | permissive | sxl463/pdg-based-separation | 622367357ff6711e739a1e1b40f11c379b9cfab4 | 7b6e950e8f3d0c60d4a5b5fb4ae39382c0716eaf | refs/heads/master | 2021-01-10T03:14:11.716584 | 2016-11-30T21:42:38 | 2016-11-30T21:42:38 | 53,570,801 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 424,269 | tmp | /*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
|* *|
|* * Mips Disassembler *|
|* ... | [
"sxl463@gmail.com"
] | sxl463@gmail.com |
31734d3fac1180670c04ee17973abf01896ea95a | 5db0a97a2419a5d5e77ed2aa9c940f41e95f71de | /epu09/B1.cpp | 2e16975c7989c171b1c267cfcbfed81ec44b0b47 | [] | no_license | dieuninh1997/spoj-2017 | 6599d839074389b07242c2884a51a123bdde45af | fba7af738f3050feb731acd96ffd5f5e5795ccdf | refs/heads/master | 2021-05-12T11:58:07.199952 | 2018-01-14T05:05:52 | 2018-01-14T05:05:52 | 117,400,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,198 | cpp | #include<bits/stdc++.h>
using namespace std;
#define FOR(i,a,b) for(int i=(a),_b_=(b); i<_b_;i++)
#define REF(i,a,b) for(int i=(a),_b_=(b); i>_b_;i--)
#define IT(i,v) for(typeof((v).begin()) i=(v).begin(); i!=(v).end();++i)
#define ALL(v) v.begin(), v.end()
#define MS(v) memset(v,0,sizeof(v))
typedef long long LL;
type... | [
"ttdn1997@gmail.com"
] | ttdn1997@gmail.com |
6ff3859bb8b240a9e88c22a3fef6a28e3ad53838 | 55db0e99e6a54618dee469d1907b3f781b741ba1 | /header/types/feature.h | 8da4989795e76ac9abe9e52980ed33bde809d4af | [] | no_license | hubin858130/dog-face-recognition | 2ca46f525337e4258293a68d089e21862cc36c23 | 06999265abdbcb519d99e6660d54bc86dd23b079 | refs/heads/master | 2023-08-15T21:20:39.991166 | 2021-10-06T04:44:40 | 2021-10-06T04:44:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 892 | h | // Copyright 2021 The DaisyKit Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... | [
"haok61bkhn@gmail.com"
] | haok61bkhn@gmail.com |
91f7b23d2fad7678417d89739265042ca75d6cce | 6697cd726d4cd3744ae52a7d5618f4ad107befba | /CP/1500/make_good.cpp | baacf3cd99e93b4343cf3d27b86e697205bd5ed9 | [] | no_license | Saifu0/Competitive-Programming | 4385777115d5d83ba5140324c309db1e6c16f4af | ecc1c05f1a85636c57f7f6609dd6a002f220c0b0 | refs/heads/master | 2022-12-15T09:11:53.907652 | 2020-09-08T08:20:44 | 2020-09-08T08:20:44 | 293,743,953 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 756 | cpp | #include<bits/stdc++.h>
using namespace std;
#define NINJA ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0)
#define fo(i,n) for(int i=0;i<n;i++)
#define Fo(i,k,n) for(int i=k;i<n;i++)
#define iii tuple<int,int,int>
#define vi vector<int>
#define ii pair<int,int>
#define vii vector<ii>
#define int long long
#defin... | [
"43892879+Saifu0@users.noreply.github.com"
] | 43892879+Saifu0@users.noreply.github.com |
87406dd0dcf85d5a7e4ecb623852b51d58c29eb5 | b3ed2dd1682d39cb4004460e818b78e326414865 | /GP/Cerberus/CubeMapMaterial.cpp | 8f53caa669d8b768f2cacb66b2bba73798e6068e | [] | no_license | Baranzo94/Port-GP | b47b14cc67f2e1aaa7fb6ea889c01f1a08ed296c | 3f62cf8a5116ec3c58ae0108ccdccc2b721b6e34 | refs/heads/master | 2021-01-10T23:14:07.756628 | 2016-10-11T15:29:41 | 2016-10-11T15:29:41 | 70,605,657 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,121 | cpp | #include "CubeMapMaterial.h"
#include "Texture.h"
#include "Vertex.h"
CubeMapMaterial::CubeMapMaterial()
{
m_CubeTexture = 0;
}
CubeMapMaterial::~CubeMapMaterial()
{
}
void CubeMapMaterial::destory()
{
if (m_CubeTexture)
{
glDeleteTextures(1, &m_CubeTexture);
}
}
void CubeMapMaterial::bind()
{
glDepthMask(GL... | [
"liam.baranzo@gmail.com"
] | liam.baranzo@gmail.com |
1f5ea636d5b1b29160db08c9e53f4e15c2c46eee | 12128d814eb4aa8b981b0164f243f1ab64e46422 | /Chapter 06/6.47.cpp | 9d0042a1317262fa8c6a25d7ba66601f864a9813 | [] | no_license | leizhichengg/CppPrimer | 8037abc1b8a4aaddc54406a902f6fb18703e4903 | ed6d0403312de109ecbd2be8b885e58a7c636e87 | refs/heads/master | 2023-06-01T08:05:11.319347 | 2016-10-22T08:38:34 | 2016-10-22T08:38:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 408 | cpp | #include<iostream>
#include<vector>
using namespace std;
typedef vector<int>::iterator iter;
int print(iter b, iter e)
{
#ifndef NDEBUG
cout << e - b << " ";
#endif // !NDEBUG
if (b != e)
{
cout << *b << endl;
print(++b, e);
}
return 0;
}
int main()
{
vector<int> v;
for (int i = 0; i !=... | [
"withlzc@gmail.com"
] | withlzc@gmail.com |
65cc8cf61dc9658b7edc5f0fea0077f9112ca7d2 | 6f0f959900df9dc2b79cffff0a2c85afa0b17393 | /examples/Qt/ISFEditor/ISFEditor_app/OutputWindow.h | ffd1359709cb2230bd513e0f2adb4efa0b348c1d | [
"BSD-3-Clause"
] | permissive | mrRay/VVISF-GL | 12d7fd41d35158ba6ff5a0149da11305b334db7c | 96b00da11e4497da304041ea2a5ffc6e3a8c9454 | refs/heads/master | 2022-09-19T01:09:39.493569 | 2021-05-07T22:47:19 | 2021-05-07T22:47:19 | 80,032,079 | 36 | 4 | BSD-3-Clause | 2022-08-23T08:49:06 | 2017-01-25T16:20:12 | C++ | UTF-8 | C++ | false | false | 1,223 | h | #ifndef OUTPUTWINDOW_H
#define OUTPUTWINDOW_H
#include <QWidget>
#include "ISFGLBufferQWidget.h"
#include <VVGL.hpp>
#include <VVISF.hpp>
#include "InterAppOutput.h"
namespace Ui {
class OutputWindow;
}
class OutputWindow : public QWidget
{
Q_OBJECT
public:
explicit OutputWindow(QWidget *parent = nullptr... | [
"ray@vidvox.net"
] | ray@vidvox.net |
d440dd869030c7afbdb87b4882a3e9c40ea89313 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_1480487_0/C++/Landertxu/A.cpp | 8ac52cd98df4a91a827542a5f8fcc08b8e0d4b13 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,378 | cpp | #include <iostream>
#include <vector>
#include <string>
#include <cmath>
#include <queue>
#define fii(x,y) for(int i=x;i<y;i++)
#define fjj(x,y) for(int j=x;j<y;j++)
#define fkk(x,y) for(int k=x;k<y;k++)
#define fi(x) fii(0,x)
#define fj(x) fjj(0,x)
#define fk(x) fkk(0,x)
#define eps 0.0000000001
#define inf 1<<28
us... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
c52a08319ad6fd18d3dfbef247301bf32bc00e54 | 2a90f7207398f916dd3e0f09db701c45aab2b865 | /foundation/structure/thread_safe_queue.h | 734cb6c2a54adbe3a0fb06545002b5c7f00a28cb | [
"BSD-3-Clause"
] | permissive | killerdevildog11/foundation | 52b6542c082b6674d65e7f6450d89e5e9db7fde6 | 191421480224b3fe9bd7d7701f7013860a908971 | refs/heads/master | 2023-07-01T04:28:55.420665 | 2021-08-06T05:44:15 | 2021-08-06T05:44:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,226 | h | // Use of this source code is governed by a BSD 3-Clause License
// that can be found in the LICENSE file.
// Author: caozhiyi (caozhiyi5@gmail.com)
// Copyright <caozhiyi5@gmail.com>
#ifndef FOUNDATION_STRUCTURE_THREAD_SAFE_QUEUE_H_
#define FOUNDATION_STRUCTURE_THREAD_SAFE_QUEUE_H_
#include <mutex>
#include <queue>... | [
"272653256@qq.com"
] | 272653256@qq.com |
9ea1718c1ffae3115b0f522fe122ab6b0ee2f9b3 | dffebedc1e3fcc6fab7217d5e4fe52edeac7316d | /tree/segment_tree/segment_tree_test.cc | 751d6742a7939a4e961c0cf5d54bafca55b7861a | [] | no_license | inthra-onsap/algorithms-archive | 48be17edec14738621a9328416c007b824842558 | 0dbde55f2a852dfc5d670f90485a9710a73a9629 | refs/heads/master | 2021-01-20T04:37:40.982236 | 2018-08-19T16:16:46 | 2018-08-19T16:16:46 | 89,710,518 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,025 | cc | #include "segment_tree.h"
#include <gtest/gtest.h>
namespace algorithms_archive {
namespace tree {
class SegmentTreeTest : public testing::Test {
public:
virtual void SetUp() {}
virtual void TearDown() {}
};
/** RangeQuery Tests **/
TEST_F(SegmentTreeTest, ExpectSegmentTreeReturnMinElementByRangeQuerySuccess) ... | [
"inthra.onsap@gmail.com"
] | inthra.onsap@gmail.com |
3900274a281545f2b121da8fca6201d7a94dcf96 | 447512af14382095e78c66a919cebbc5007fc0aa | /Practice/13/C++/ConsoleApplication1/ConsoleApplication1.cpp | a127a4c0442337f299d2760e92cb0f8d13626f02 | [] | no_license | PapiziVelichaishiy/Programming | 58932f6da50bd4c2a2364fc67bc57b409f0bbc8f | 4c32120be8f3153724432f9ed4f6eea5f0fff67c | refs/heads/main | 2023-02-19T14:46:38.495734 | 2021-01-20T19:25:12 | 2021-01-20T19:25:12 | 308,061,315 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 421 | cpp | #include <iostream>
using namespace std;
int main()
{
setlocale(LC_ALL, "Russian");
int a, i;
cin >> a;
i = 2;
if ((a < 2) || (a > pow(10, 9))) {
return(0);
}
while (i != a) {
if (a % i != 0) {
i = i + 1;
}
else {
i = 1;
break;
}
}
if ((i == 1) || (a == 2)) {
cout << "Составное" <... | [
"vn-vnukov@inbox.ru"
] | vn-vnukov@inbox.ru |
7caac1e206b9a0ec70e3c1c847590245ddff185f | 8199728ed6b05f5800387a2c9c52adbffc7a1859 | /tensorflow/lite/schema/schema_generated.h | 2e0e81238edfbab4f7242f735dee655af4602495 | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | Manas1820/tensorflow | 7d2c578edb06992173d0f646258113ae21dd3d89 | c6dcf8e91a46d60b898dacd2f8e94b6e46a706a4 | refs/heads/master | 2023-09-01T11:50:58.798938 | 2023-07-13T23:45:54 | 2023-07-13T23:50:20 | 233,268,851 | 2 | 0 | Apache-2.0 | 2022-09-08T12:56:41 | 2020-01-11T17:21:09 | C++ | UTF-8 | C++ | false | false | 885,560 | h | /* Copyright 2023 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
460090e62a371e768c705008873770e3a77fdc73 | c32d1e39f04493a704dfd8b58eade22601773b65 | /graph/relay/backend/vm/compiler.h | a8e0b994c6851d89ed86d546d8507aeb0e3b1c76 | [] | no_license | chisuhua/graph | 873e29f509f5cf8daa380c359b106c7cd225f5f7 | bf82af49979297a1722832dc1468f4e7374862b8 | refs/heads/master | 2020-12-18T18:14:50.581839 | 2020-01-22T03:08:22 | 2020-01-22T03:08:22 | 235,480,439 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,411 | h | /*
* 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 the Apache License, Version 2.0 (the
* "License"); you ... | [
"chisuhua@gmail.com"
] | chisuhua@gmail.com |
c05daa45af758a825eec8c296df91074bb1309c6 | c25754529ef5d5d2b2aa5d4bba97f5ef6a163551 | /lab3/xvec.h | f7da70fd53ed8884cef234f3cead8d9c73507d05 | [] | no_license | wangxf123456/UM_F15_EECS487_courseWork | 6fd46d0ed1faa7dc0afbba5b9d2a1500d5f01bc3 | eac00a564b0a0b554f064b5deeabd7d2cc541f7b | refs/heads/master | 2021-07-12T02:29:10.401565 | 2017-10-06T22:22:41 | 2017-10-06T22:22:41 | 106,053,833 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,977 | h | /*
* Copyright (c) 2007, 2011 University of Michigan, Ann Arbor.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that the above copyright notice and this paragraph are
* duplicated in all such forms and that any documentation,
* advertising materials, and oth... | [
"wangxf@umich.edu"
] | wangxf@umich.edu |
d27a8e3b4b3a04360491bbb815bdad04a469f154 | 57b5f9d0b28a2a98884a21658c0df30a421dab51 | /kkaczor/lab7/ex7main.cpp | 1ce064d61354ce2ed779b77cb45b3955d34bd215 | [] | no_license | draz123/studies.c-plus | b775d10ea910d6de91f4d6a2af8b7ddad648ea43 | 54a86d77e55a5924ec676400a29870e6a3a12ec9 | refs/heads/master | 2021-05-27T21:55:28.820119 | 2013-07-05T13:54:46 | 2013-07-05T13:54:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,505 | cpp | #include "aghInclude.h"
// ---------------------------------------------------------
void showTestResult(int, bool);
// ---------------------------------------------------------
int main(void) {
cout << "main by kk. Last updated 15.04.2013\n";
aghVector<int> a, b;
aghContainer<int>* cptr = &a;
aghIterato... | [
"wojciechksprk@gmail.com"
] | wojciechksprk@gmail.com |
39e376a2a7041d4dea38fe6e4d442d9c3959fdc1 | 4dfcdc37b791cf9447993a2751ac89b34d8ccebf | /project/vr_sli_dx/demo/util/util-matrix.h | 47d02d11bfb1f126c1f55f8f04ac10dde32556d1 | [] | no_license | TachibanaKoki/ImagereLab-tachibana-Prog | 6fb1eb50d0afe0b97b4f2d53ed19da4018976497 | 8cd7a975c2e7a3d510451bb5c9c0e3e8955722f7 | refs/heads/master | 2020-12-31T00:01:34.226018 | 2017-04-06T16:05:24 | 2017-04-06T16:05:24 | 86,583,494 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,963 | h | #pragma once
#include <cmath>
namespace util
{
// Generic matrix struct, providing (row-major) storage,
// conversion and subscript operators
template <typename T, int rows, int cols>
struct matrix
{
cassert(rows > 1);
cassert(cols > 1);
T m_data[rows*cols];
// Conversions to C arrays of fixed size
t... | [
"standchat0820@gmail.com"
] | standchat0820@gmail.com |
6b56973b3a0956919ea8e68a4dc193ff6f29d1bc | 39460b2295c13a414287184c6c1f78cc33d6dd44 | /GAM200_Engine/Engine/Engine.hpp | b9f6c2dfac3cfb45625ec659b7c6b884c3b8000b | [] | no_license | IDokan/hello-world | a51504e91400245468b205b20d490305b26f4a59 | 6713ec3d739f7257e78000dc9659925ac262c3d4 | refs/heads/master | 2020-06-14T02:03:34.637164 | 2019-08-08T09:28:36 | 2019-08-08T09:28:36 | 194,860,880 | 0 | 0 | null | 2019-07-03T08:24:28 | 2019-07-02T12:41:36 | null | UTF-8 | C++ | false | false | 299 | hpp | #pragma once
#include "Timer.hpp"
class Application;
class Engine
{
public:
Engine() = default;
void Init();
void Update();
void Clear();
bool IsRunning() noexcept
{
return isRunnig;
}
private:
bool isRunnig = false;
float m_dt;
Timer gameTimer;
}; | [
"wjm9932@naver.com"
] | wjm9932@naver.com |
ed7b65d1317c7cd108ad4b0a83155493ae092c6b | 2cb37a3f31ccebf37b173071278312e19799ad6d | /avec encodeur rotatif 3eme version/porte_poulailler_automatique_rotatif/Bouton.cpp | df0255b7efb8e221773938259460c052b2b9bf30 | [] | no_license | zephyr5028/Porte-poulailler-automatique-autonome | 6796c3889b34d9a75a02d96b361c52e73230254d | 397ae02a115d643cd65bbd670da4f66dde1a8289 | refs/heads/master | 2023-09-04T00:29:25.956240 | 2021-10-18T07:40:56 | 2021-10-18T07:40:56 | 75,304,981 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,289 | cpp | /** Bouton.cpp
définitions de la classe Bouton
*/
#include "Bouton.h"
Bouton::Bouton() : m_pinBp(9), m_pinBoitier(6), m_debounce(350), m_relacheBp(true), m_tempoDebounce(0), m_debouncePret(false)
{
}
/* sucharge du constructeur avec le nombre de lignes du menu */
Bouton::Bouton( const byte pinBp, const byte pinBo... | [
"marguerie.jl@wanadoo.fr"
] | marguerie.jl@wanadoo.fr |
5d9757e0285bcf0fb5f5e592acee7d43601b48b9 | cec628def1aad94ccbefa814d2a0dbd51588e9bd | /cnd.makeproject/samples_src/freeway/police.cc | dc581da890a86d88527cc7af314d96dd171e1634 | [
"BSD-3-Clause"
] | permissive | emilianbold/netbeans-releases | ad6e6e52a896212cb628d4522a4f8ae685d84d90 | 2fd6dc84c187e3c79a959b3ddb4da1a9703659c7 | refs/heads/master | 2021-01-12T04:58:24.877580 | 2017-10-17T14:38:27 | 2017-10-17T14:38:27 | 78,269,363 | 30 | 15 | null | 2020-10-13T08:36:08 | 2017-01-07T09:07:28 | null | UTF-8 | C++ | false | false | 3,825 | cc | /*
* Copyright (c) 2009-2010, Oracle and/or its affiliates. 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,
* th... | [
"thp@netbeans.org"
] | thp@netbeans.org |
d2423900cfbf8ddca570acc4fbc559d1d667c62e | 502c517d06669d2591184ba3bc4ce327092469a5 | /hdl_graph_slam-master/apps/scan_matching_odometry_nodelet.cpp | c835e5411b6150e265a98c4c470ca8b1d0afd19e | [] | no_license | lliuguangwei/lidarPose_handEye | 9667059b6f8656dc8d3886292fd344a4e55b7997 | cfdf00f77738b5c44e264b0bac443f70e4f9ce6a | refs/heads/master | 2020-03-28T10:25:34.758850 | 2018-09-10T06:25:40 | 2018-09-10T06:25:40 | 148,107,594 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,288 | cpp | #include <memory>
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <ros/ros.h>
#include <ros/time.h>
#include <ros/duration.h>
#include <pcl_ros/point_cloud.h>
#include <tf_conversions/tf_eigen.h>
#include <tf/transform_broadcaster.h>
#include <std_msgs/Time.h>
#include <nav_msgs/O... | [
"noreply@github.com"
] | noreply@github.com |
dac613efb3a2eed1fe784c4a8ec32f9938440844 | e0fb1fdf1a349089b14e8aef0dcc346a7358620a | /Src/WWhizInterface/WorkspaceInfo.cpp | 19dc7b08b33da78775025c02bf4bb0e2ace42b0c | [] | no_license | sgraham/workspacewhiz | 64b97f07648e03ee8fd3ef6d36be6a7d863d110f | 8e30b06100f80543aa6253121f17c50ef2c97579 | refs/heads/master | 2020-12-25T09:00:14.704390 | 2010-09-07T06:30:37 | 2010-09-07T06:30:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,254 | cpp | ///////////////////////////////////////////////////////////////////////////////
// $Workfile: WorkspaceInfo.cpp $
// $Archive: /WorkspaceWhiz/Src/WWhizInterface/WorkspaceInfo.cpp $
// $Date: 2003/01/07 $ $Revision: #11 $ $Author: Joshua $
///////////////////////////////////////////////////////////////////////////////
/... | [
"jjensen@workspacewhiz.com"
] | jjensen@workspacewhiz.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.