blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3e0c4a2c0bd0683d223af4b801e1da1550775d63 | b3bfd6f3975d55828f6af3d708623fc1a7bed221 | /cppsrc/wibtw.hpp | 002d0badc617e824931758c824d87acd377a8657 | [] | no_license | alanrogers/hka | 8d196c4a74de5c36ad0fc7a0f654e7aa09e40b1a | aad5f6d7c6b9ee561baf479e0f1a275e3da7af30 | refs/heads/master | 2020-09-16T03:20:43.640769 | 2019-11-23T18:29:17 | 2019-11-23T18:29:17 | 223,634,992 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,409 | hpp | /**
@file wibtw.hpp
@brief Header for class WiBtw, which measures the differences within
and between populations on a tree.
@internal
Copyright (C) 2003 Alan R. Rogers
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
... | [
"rogers@anthro.utah.edu"
] | rogers@anthro.utah.edu |
7e587c233a5032f2ecb1bc737b9630ef0001745c | 6067a2d7107150f77783952e35a17346a29cdd17 | /lib/SystemService/LogMgr.h | 20d0b82421f2b48b676d23c4f3e0a68f405836e7 | [] | no_license | SulfredLee/PcapReplay | 3d45ef8d3102077b01f5278bfcc491ec35ab72c7 | c0cf49441860cfcb9c22ef79b9dd87f4bb0c9b4f | refs/heads/master | 2021-01-01T16:58:32.332063 | 2018-04-28T14:02:19 | 2018-04-28T14:02:19 | 97,965,988 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,297 | h | /*
Copyright (c) 2011 Christoph Stoepel
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dis... | [
"sflee1112@gmail.com"
] | sflee1112@gmail.com |
d497cc44ec00b8a62e6d0697d6b9f2afda1aa898 | 5f16c6abad0485bc36e436e0005f5935ddbc844d | /chrome/browser/ui/views/profiles/profile_menu_view_base.h | 674221cf2827bc04f6722e122c1e5ba90b4ee260 | [
"BSD-3-Clause"
] | permissive | michaelzenz/chromium | 836d6cb61863b8cd1089fb18554472d860eb7a86 | c5297dd9104c6861bec97c26b656c6117be47ebf | refs/heads/master | 2023-03-06T17:05:10.258088 | 2019-10-14T03:00:05 | 2019-10-14T03:00:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,736 | h | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_MENU_VIEW_BASE_H_
#define CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_MENU_VIEW_BASE_H_
#include <stddef.h>... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
f12d4eb98c4d8e5480a07277159b0d11ae140bfe | 9989ec29859d067f0ec4c7b82e6255e227bd4b54 | /atcoder.jp/abc_114/abc114_d.cpp | 9aef7ff4f01432a0d23dbdd01effc2167056460e | [] | no_license | hikko624/prog_contest | 8fa8b0e36e4272b6ad56d6506577c13f9a11c9de | 34350e2d298deb52c99680d72345ca44ab6f8849 | refs/heads/master | 2022-09-10T20:43:28.046873 | 2022-08-26T13:59:29 | 2022-08-26T13:59:29 | 217,740,540 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11 | cpp | // abc114_d | [
"hikko624@gmail.com"
] | hikko624@gmail.com |
c389915c3cec89b3c6c1f9017e45f8d30146a837 | afed66413b03ae5b75b9e2c083166c93a1eca104 | /src/EnemySpawner.h | 045bab8b7ad649ff894de237886cb29e99b3a307 | [] | no_license | richgieg/CppND-Capstone-Project | d4d14936b124f50c077f678af91d2de06008ca64 | 7300cab67a65d92d80e3ddfbb40b97ce0b3504b1 | refs/heads/master | 2023-08-29T19:37:39.996176 | 2021-10-31T19:57:26 | 2021-10-31T19:57:26 | 423,069,617 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 380 | h | // EnemySpawner
//
// Responsible for spawning the game's enemies.
//
#ifndef _ENEMY_SPAWNER
#define _ENEMY_SPAWNER
#include "EntityPool.h"
#include "Enemy.h"
class EnemySpawner {
public:
EnemySpawner(EntityPool<Enemy> *enemies);
void update(float deltaSeconds);
private:
EntityPool<Enemy> *enemies;
f... | [
"richgieg@users.noreply.github.com"
] | richgieg@users.noreply.github.com |
e134b39a08e6e5192151be7b719fbba6d9b98449 | af886cff5033e866c2208f2d179b88ff74d33794 | /PCSamples/IntroGraphics/SimpleBezierPC/pch.h | 8ddce2b312ce53d17b659e672b318b117e13709f | [] | permissive | tunip3/Xbox-ATG-Samples | c1d1d6c0b9f93c453733a1dada074b357bd6577a | 27e30925a46ae5777703361409b8395fed0394d3 | refs/heads/master | 2020-04-14T08:37:00.614182 | 2018-12-14T02:38:01 | 2018-12-14T02:38:01 | 163,739,353 | 3 | 0 | MIT | 2019-01-01T13:38:37 | 2019-01-01T13:38:37 | null | UTF-8 | C++ | false | false | 1,885 | h | //--------------------------------------------------------------------------------------
// pch.h
//
// Header for standard system include files.
//
// Advanced Technology Group (ATG)
// Copyright (C) Microsoft Corporation. All rights reserved.
//-------------------------------------------------------------------------... | [
"chuckw@windows.microsoft.com"
] | chuckw@windows.microsoft.com |
91ebe9324deec3057ee14835130c6fdf09eec8ba | ca367493ee864e64534177358abd44b00be90611 | /洛谷/2330 [SCOI2005]繁忙的都市.cpp | 7986f8ffe219b5d7fe822e8b14a270692d810626 | [] | no_license | memset0/OI-Code-Old | 806a8bd6241ab62933f4767740d1c9d777730243 | 51a968f727ac76053f6ce1dcc34b21feb877db11 | refs/heads/master | 2020-03-22T17:17:45.591644 | 2018-07-17T07:20:21 | 2018-07-17T07:20:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 651 | cpp | #include <bits/stdc++.h>
using namespace std;
const int maxn = 310, maxm = 50010;
struct Edge {
int x, y, val;
} a[maxm];
int n, m, ans, f[maxn];
bool cmp(Edge x, Edge y) {
return x.val < y.val;
}
int find(int &x) {
if (f[x] == x) return x;
else return f[x] = find(f[x]);
}
int main() {
ios::sync_with_stdio(0);
ci... | [
"memset0@outlook.com"
] | memset0@outlook.com |
c535a9702dfa10a50ef12231fa25f856debbb63d | 437738fe07fdf871dbf640fb3b27df7c17ca8ce2 | /Irvine/ch13/Encode_Inline/Encode.cpp | 02f60894298dac101d474c26a20bfaf4806af993 | [] | no_license | jameswilson281/CIS---11-Assembly-Programming | d553f93f19ec9e92285d4c7157a85201e1fe131c | 82e70b4033621daea62ab1a926198bc0e08a70c6 | refs/heads/master | 2018-09-02T12:57:58.555480 | 2018-06-04T03:22:00 | 2018-06-04T03:22:00 | 118,192,987 | 16 | 10 | null | null | null | null | UTF-8 | C++ | false | false | 980 | cpp | // ENCODE.CPP - Copy and encrypt a file.
// Updated 6/28/05
#include <iostream>
#include <fstream>
#include "translat.h"
using namespace std;
void main( int argcount, char * args[] )
{
// Read input and output files from the command line.
if( argcount < 3 ) {
cout << "Usage: encode infile outfile" << endl;
... | [
"jamestwilson@live.com"
] | jamestwilson@live.com |
2e5661df1f18c5af7c3d0d5bba703799edb8b6f7 | 9546b2c00eaefbe9eb57f4f14711214b2009dc3b | /ChronoEngineWrapper/ChronoEngineWrapper/LinkLock.h | 5cda7225a34422a0f2122557244bd67d10d6ee78 | [] | no_license | globus000/cew | 671096366385805a8f4dbe2d2f8c185edb4163cb | 13d2a3c007239c8caccab2c5198ef5e8147369e1 | refs/heads/master | 2016-09-05T09:18:55.011986 | 2015-04-26T16:45:00 | 2015-04-26T16:45:00 | 34,566,328 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 270 | h |
#pragma once
#include "stdafx.h"
#include "LinkMasked.h"
namespace cew
{
public ref class LinkLock : public LinkMasked
{
public:
LinkLock();
LinkLock(chrono::ChLinkLock* ptr);
LinkLock(const chrono::ChSharedPtr<chrono::ChLinkLock>& ptr);
~LinkLock();
};
} | [
"zr_contact@mail.ru"
] | zr_contact@mail.ru |
9db4fdb2132748121468c26306151022a0fadae9 | 7a31ec782c3d4db96e39a5d5df6bc407003d67e6 | /canvas.h | 5151cda9f99a787c16ab456349ca8eb6a5308025 | [] | no_license | StudyBucket/cppong | a4f21563e190ca705945e301449a4f1ad4d0de99 | e844cfb57781fb4bc5d4176be231eb3a14435a84 | refs/heads/master | 2021-01-01T18:15:37.626551 | 2017-09-17T20:05:48 | 2017-09-17T20:05:48 | 98,290,398 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 729 | h | #ifndef CANVAS_H
#define CANVAS_H
using namespace std;
#include <QWidget>
#include <QtGui>
#include <vector>
#include <chrono>
#include <thread>
#include "globals.h"
#include "collider.h"
class Canvas : public QWidget {
public:
//INSTANCES
Canvas(QWidget *parent = 0);
~Canvas();
... | [
"juliankamphausen@icloud.com"
] | juliankamphausen@icloud.com |
531fcebcafa3b8a5d57c13deb4305cee81fc3f92 | da9c4798a6e30152382eb1ba876718b51b9bd4f2 | /nowcoder/newcoder-4045/newcoder-4045.cpp | 917f40ebd48577f93b87de86f3dc31490081bd5f | [] | no_license | zivyou/labofziv | cb2b51f48b3315a8f408eafa940fdc04e1797bfa | e0319d6bc1bbb417f49275bdd07c28019e4b4089 | refs/heads/master | 2023-08-17T03:10:05.615780 | 2023-08-07T06:42:05 | 2023-08-07T06:42:05 | 6,417,825 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,916 | cpp | //https://www.nowcoder.com/pat/6/problem/4045
#include <iostream>
#include <string.h>
using namespace std;
void swap(char *a, char *b){
char t = *a;
*a = *b;
*b = t;
}
void max_sort(char *max){
int i = 0, j=0;
for (i=0; i<4; i++)
for (j=0; j<4-i-1; j++)
if (max[j] < max[j+1])
swap(&max[j], &max[j+1]);
... | [
"yzq529@qq.com"
] | yzq529@qq.com |
e68e7503f82f6e4edbec64a6bb6a12478c5578c8 | 5a956653560705a5d56b801e2a9f56bd6d3a742a | /playersettings.cpp | afa591f40c6ef8db4d5deb3807d05368405d6c56 | [] | no_license | AJlekceu/Parchis | d60e0b1faa797fc65645fa50d79ef51da100cce3 | 8ad3758fec0efcfd140478532f9806e256bd5ac8 | refs/heads/main | 2023-06-21T15:38:54.768789 | 2021-07-27T10:17:15 | 2021-07-27T10:17:15 | 326,989,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,522 | cpp | #include "playersettings.h"
#include <algorithm>
namespace parchis
{
int PlayerSettings::nextPlayerPlaying(int player) const
{
if(playersPlayingSet().empty())
return -1;
auto iter = playersPlayingSet().upper_bound(player);
return iter == playersPlayingSet().cend() ? *playersPlayin... | [
"noreply@github.com"
] | AJlekceu.noreply@github.com |
cd7810a19b3bc774d392fef4ba09c56747adde47 | 1fab37e3fbbaeb1a4fe2d4f388d71a0c03b2b9f0 | /FineNativeSDK/EngineDemo/unity3d/Build/Unity.ios/Classes/Native/GenericMethods1.cpp | 44cf46c8fde8bcd1c884e8b833aaf67b9c82fdf1 | [
"MIT"
] | permissive | Cylee1989/FineSDK | 8ad7907021c65f95ac4fe305daacad34a3f071e9 | 3e011aaf02c11b989f6566bfd27217c23d91701e | refs/heads/master | 2020-05-07T22:47:14.945633 | 2020-04-19T11:29:31 | 2020-04-19T11:29:31 | 180,956,864 | 10 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 913,235 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "i... | [
"lichenyangsdk@babeltime.com"
] | lichenyangsdk@babeltime.com |
8691c9b5d043d024bf94ce2f000e93f9a230ccd2 | fc214bfc7caf6050eec8ec5201e7f7eb568e3a17 | /Windows/Qt/Qt5.12-msvc2019_static_64/5.12/msvc2019_static_64/include/QtWebSockets/5.12.12/QtWebSockets/private/qwebsocket_p.h | fc041ea0622f7614f89b329e8e3ac7da427b0ef3 | [] | no_license | MediaArea/MediaArea-Utils-Binaries | 44402a1dacb43e19ef6857da46a48289b106137d | 5cde31480dba6092e195dfae96478c261018bf32 | refs/heads/master | 2023-09-01T04:54:34.216269 | 2023-04-11T08:44:15 | 2023-04-11T08:44:15 | 57,366,211 | 4 | 1 | null | 2023-04-11T08:44:16 | 2016-04-29T07:51:36 | C++ | UTF-8 | C++ | false | false | 9,097 | h | /****************************************************************************
**
** Copyright (C) 2016 Kurt Pattyn <pattyn.kurt@gmail.com>.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtWebSockets module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
**... | [
"gervais.maxime@gmail.com"
] | gervais.maxime@gmail.com |
b9a1c576a26e043037acf5cf15db477799803d8f | 2fd8585f9aeed1f868a5ed76db55df7a3519999b | /大学平均分计算/Debug/大学平均分计算.cpp | 58b43298317cb0ae7be993d386db647c3d10eace | [] | no_license | LearnerForever666/first_C_language | dfcf4e7972d12f2529ef8d40433e25e8f2628735 | 653663a4071b60dad1782c42442f81f25c691e6f | refs/heads/main | 2023-05-31T20:11:07.936834 | 2021-07-15T14:44:52 | 2021-07-15T14:44:52 | 385,847,558 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,214 | cpp | #include<stdio.h>
int main()
{
int i,j=0,s;//s用于接收课程数量
char ah[35][50];
float ch[2][35],ave,smpt,sum;//ave为折合平均分,smpt为学分总和,sum为学科学分折合总分
printf("欢迎使用本工具\n");
j=0,i=0;
while(j==0)
{
printf("请输入科目名称:>");
scanf("%s",&ah[i][0]);
i++;
printf("是否结束录入?1-是,0-否 :>");
scanf("%d",&j);
};
s=i;
j=0,i... | [
"noreply@github.com"
] | LearnerForever666.noreply@github.com |
ad0de2265d53d3ed3a641ed300a013b1b9066183 | c7be19b54dea27822b4c61315e8fd4ac4619ccd5 | /src/app/Settings.cpp | 2691152d163aa7f0e9ae8277736f9d4eed4d0edc | [
"MIT"
] | permissive | nununo/ofHyphaeApp | 5e638fab2a29504784fc164ab239e9f2bf4c5420 | 5b566ffc6e46c51f5349dcc3970c020527ecb5d3 | refs/heads/master | 2023-01-13T16:01:31.353516 | 2023-01-01T19:04:13 | 2023-01-01T19:04:13 | 164,502,159 | 5 | 0 | null | 2023-01-01T19:04:14 | 2019-01-07T21:51:20 | C++ | UTF-8 | C++ | false | false | 3,840 | cpp | //
// Settings.cpp
// hyphaeApp
//
// Created by Nuno on 27/01/2019.
//
#include "Settings.h"
Settings::Settings(const string& xmlFile) {
ofxXmlSettings s;
s.loadFile(xmlFile);
canvas.framerate = s.getValue("rhizopus:canvas:framerate", 1); // 120
canvas.osdColor = getColor(s, "rhizopus:canvas:osdColor"... | [
"user@nunogodinho.com"
] | user@nunogodinho.com |
8783586b84643fe34de44450a31553f6efbaf495 | c3900738a437ac1690115a648c069964a09eb6e9 | /src/FileLock.cpp | 271703ff7c2252a958e50b243046023a59aef543 | [] | no_license | happanuki/cppgenerics | 4625844df10fa2e4345981b464da2dc845c92f77 | 117817388cda3d8f8a4b2120e45f75b9001fdc41 | refs/heads/master | 2021-01-13T12:56:17.847396 | 2017-07-01T16:44:44 | 2017-07-01T16:44:44 | 78,777,101 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 610 | cpp | #include "cppgenerics/FileLock.h"
#include "cppgenerics/Exception.h"
#include "cppgenerics/Logger.h"
namespace System {
FileLock::FileLock(int fd):
m_fd(fd)
{
}
FileLock::~FileLock()
{
if (m_locker) {
ERRSTDOUTT("FileLock destructor unlock() ");
unlock();
}
}
void FileLock::lock() throw (std::exception&)
{... | [
"morgradash@gmail.com"
] | morgradash@gmail.com |
9572974df98622fb84ec3f2a01d06392919fc841 | 2d70f9afffbc339edbdf3d99ffbe312365eb30ca | /tp2/src/commonLock.cpp | 4e69b6ce9c4f4898216dfbbba5c7496053946bb9 | [] | no_license | tomasmussi/taller1 | 4e893846681577a8356604685db85021351adad6 | c85ec3a050c88b8f57a5ee3fa547c0161c574ae4 | refs/heads/master | 2016-08-09T01:49:34.780376 | 2016-02-25T23:47:36 | 2016-02-25T23:47:36 | 52,111,152 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 142 | cpp | #include "commonLock.h"
Lock::Lock(Mutex *mutex) {
this->mutex = mutex;
this->mutex->lock();
}
Lock::~Lock() {
this->mutex->unlock();
}
| [
"tomasmussi@gmail.com"
] | tomasmussi@gmail.com |
c60f138c8111b197b35c7a55b1ec5093355b6480 | b9432d03b21d6e72e34d4697b58c240210d2d4a0 | /service_apis/youtube/google/youtube_api/subscription_list_response.h | 7317f31bc3f5e02aca1a944d5d4919938641ddc6 | [
"Apache-2.0"
] | permissive | harshapat/google-api-cpp-client | f5edbf7674459c30e894430cda199d4a3b9788fb | 7fb12b4bbb9db27fffede054149cf77c8e1c307f | refs/heads/master | 2021-01-19T13:19:36.475387 | 2017-02-18T12:25:02 | 2017-02-18T12:25:02 | 82,384,775 | 0 | 0 | null | 2017-02-18T12:21:54 | 2017-02-18T12:21:54 | null | UTF-8 | C++ | false | false | 10,675 | h | // Copyright 2010 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy of
// the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writ... | [
"aiuto@google.com"
] | aiuto@google.com |
64dfc5329a086f0abe00526082b2225e71acf16a | 685775a2e0a20e1a27a2db9443780ccb7a1bb943 | /subscribe/receive.ino | edc390326feaea03f27ce94cc4a22efe89435008 | [] | no_license | hcde440/a4-ambient-display-LuffyWesley | 5c822b19ca3729947a72c0756f772d0cb6b5158a | 3c119a4d682c69f37b338999408ef92deb886575 | refs/heads/master | 2020-05-17T03:31:06.434979 | 2019-05-09T07:25:51 | 2019-05-09T07:25:51 | 183,482,656 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,873 | ino | // The code receives data from mqtt. If motion is detected between 9:30 pm and 8:30 pm (essentially around the time I am in my room),
// the buzzer will play buzz. If motion is detected outside those hrs, the buzzer will not buzz but instead send data to io.adafruit as a
// changable light or iftt as an email (this p... | [
"chegeamunga@hotmail.co.uk"
] | chegeamunga@hotmail.co.uk |
a685a1a573ffb2439dbe405dcf2f7291032fff8d | 4e3a8f151aef6214bb30dcdc3e6745cd96d8916f | /mergesort.cpp | 440bbe5e3a7610564f67e8e37fa9c842bc9ac067 | [] | no_license | cloped/codigofile | 00d3ba7e9fc0972f2d4bb4e81d7efb591376f770 | de0373a0805da4d7e3b397e88e0258acc2fb8617 | refs/heads/master | 2021-01-11T19:30:19.039830 | 2017-01-21T16:45:02 | 2017-01-21T16:45:02 | 79,381,920 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,486 | cpp | #include <iostream>
#include <cstdlib>
using namespace std;
void mergeNome(int vetor[], int comeco, int fim) {
int i, j, k, metadeTamanho;
int *vetorTemp;
if(comeco == fim) return;
// ordenacao recursiva das duas metades
metadeTamanho = (comeco + fim ) / 2;
mergeNome(vetor, comeco, metadeTam... | [
"educarvalholopes98@gmail.com"
] | educarvalholopes98@gmail.com |
d2fd9f5c02e4048a71d87f4e587f618994cb2716 | 37b25be981fb4c484466b612ff745967ea6eba43 | /refactor/signal_fd.cpp | 6989d3fec10c9483b38a87596277a3ac538972e2 | [] | no_license | vlakam/ProxyServer | 481af547c570ad9cf2bbcc8e732c3f475def13e0 | 6eb33bc7ab688228ba2dccaf7e373caf24e96fc5 | refs/heads/master | 2021-05-30T20:08:56.216624 | 2016-01-30T13:45:11 | 2016-01-30T13:45:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,794 | cpp | //
// Created by kamenev on 08.01.16.
//
#include <sys/epoll.h>
#include <unistd.h>
#include "signal_fd.h"
#include "debug.h"
#include "posix_sockets.h"
handle signal_fd::createfd(std::vector<signal> &vector)
{
int sfd;
sigset_t mask;
sigemptyset(&mask);
for (auto i:vector) {
if (sigaddset(&mas... | [
"mazahakaforever@ya.ru"
] | mazahakaforever@ya.ru |
0dab3d2b4da068158d7ae6c447c2171a35e950c9 | 1636a391ebca8d40b229f38d2dea8d15875ed311 | /12b.cpp | 2abda571a2e9887028196545fe66e5c482840865 | [] | no_license | 25pratiksha/Algo_Lab | cbec6f3b3fef5e3795133d7959fd51236e18b053 | 559b1414706d3fc6dfd0a1492fc0c367f3baf012 | refs/heads/master | 2021-01-19T03:59:00.631673 | 2017-02-15T14:20:02 | 2017-02-15T14:20:02 | 65,293,752 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,125 | cpp | #include<bits/stdc++.h>
using namespace std;
long long gcd(long long a, long long b)
{
if (b == 0)
return a;
return gcd(b, a%b);
}
long long polygonArea(long long X[], long long Y[], long long n)
{
// Initialze area
long long area = 0;
// Calculate value of shoelace form... | [
"25pratiksha@gmail.com"
] | 25pratiksha@gmail.com |
eea18966067efd830adcf7ae61f021c396832c97 | c9889def8ff68247138baf9f4a9aca9faf70d409 | /libs/core/refcount.h | 7428d3c06e2dc80b35fccddebde5916fd30fca07 | [
"BSL-1.0"
] | permissive | gknowles/dimapp | 285cad1f3d2d2d203d93071fe3139997afd6156e | 917265b3e196e976131bff4bebd8cfdccfc820c7 | refs/heads/master | 2023-05-25T14:52:13.714445 | 2023-05-19T23:09:34 | 2023-05-19T23:09:34 | 57,270,750 | 2 | 1 | null | 2017-10-20T22:33:24 | 2016-04-28T04:24:25 | C++ | UTF-8 | C++ | false | false | 3,626 | h | // Copyright Glen Knowles 2018 - 2019.
// Distributed under the Boost Software License, Version 1.0.
//
// refcount.h - dim core
#pragma once
#include "cppconf/cppconf.h"
namespace Dim {
/****************************************************************************
*
* IRefCount
*
***/
class IRefCount {
public:
... | [
"gknowles@ieee.org"
] | gknowles@ieee.org |
a9424a860787254fcb1d8c26d6cc6e88da63fc38 | 23ac9facec8a0b73fa3f90a71dcacf9f1ec3ab81 | /bitmap.cpp | 9486450888286d327c1bfeb468425e1447dd4c38 | [
"MIT"
] | permissive | baguette/Asteroids | 686befb4709caa75fe726c3bc8aeadb7d8176dcb | e15daac32dc5ea747e2c9d25546183885122236c | refs/heads/master | 2020-06-03T21:00:17.961767 | 2011-03-25T03:26:25 | 2011-03-25T03:26:25 | 1,524,111 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,593 | cpp | #include <stdio.h>
#include <stdlib.h>
#include "common.h"
#include "bitmap.hpp"
/* BMPs store pixel data as BGRA, but OpenGL 1.1 only supports RGBA,
* so this function will read the color components in reverse order.
*/
static int read_rgba(GLubyte *buffer, FILE *fp)
{
int i, r = 0;
for (i = 0; i < 4; i++)
r +... | [
"cmburget@ncsu.edu"
] | cmburget@ncsu.edu |
8eed2089e85c853fdf3ed821e5bc23ce38517c53 | a852f0f75f3f00cf094f506699abab1388789ecc | /src/Logic/Collider.hpp | d38f3499b60f9a23b8d5adbf70d6422563d4ac3f | [
"MIT"
] | permissive | NoakPalander/Veri | 773b34f9629a793665e6461b57057a968b7cef79 | e740664829f71732379157b1baae03c3a4b5e91b | refs/heads/master | 2023-03-27T12:29:36.020252 | 2021-03-30T00:16:15 | 2021-03-30T00:16:15 | 267,696,088 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 522 | hpp | #pragma once
#include <SFML/Graphics.hpp>
namespace Veri {
class Collider {
public:
Collider(sf::RectangleShape& body);
~Collider() = default;
void Move(float dx, float dy);
bool CheckCollision(Collider other, sf::Vector2f& direction, float push);
inline sf::V... | [
"5867650-0xVali@users.noreply.gitlab.com"
] | 5867650-0xVali@users.noreply.gitlab.com |
b71bed865d01afc18b3edae1f90b4945ac6f8ffa | 16cfea4843dd7b203704677f6f20ecc1b1abe366 | /pds/rectangle/rectangle.cpp | c366c9e61ea5ab21e270db653a609958b5cf9e8c | [] | no_license | flavluc/cpp_codes | 10a56fb41f626cd703f13d957ab0f3be4aca995d | e0a8f6fb1b9e6b7696f32a9772d929535c49c2cf | refs/heads/master | 2022-01-14T00:27:00.087453 | 2019-05-03T07:15:40 | 2019-05-03T07:15:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 989 | cpp | #include "rectangle.h"
Rectangle::Rectangle(){
_height = 1;
_width = 1;
calc();
}
Rectangle::Rectangle(float height, float width){
if(width <= 0 || width >= 20 || height <= 0 || height >= 20)
throw invalid_argument("The width and height must be between 0.0 and 20.0");
_height = height;
_width = width... | [
"flaviolc18@gmail.com"
] | flaviolc18@gmail.com |
6fab18dedaac2a92f33375ecbb282ad0f1e081bf | 907f33a9223356c626f851da91e6b873e88bd7f8 | /369. Plus One Linked List.cpp | 4662bbf1ecc614e5cd12958032dc0396d5f15c8a | [] | no_license | wei-han/LeetCode | fb371722886b248f96fb42941f8f731f7b6e1175 | 39c3433061dc49a52fce7ca189dbf214e96f3a75 | refs/heads/master | 2023-08-30T10:03:52.313495 | 2023-08-30T00:42:38 | 2023-08-30T00:42:38 | 91,193,931 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 671 | cpp | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
ListNode* plusOne(ListNode* head) {
ListNode* first = new ListNode(0);
first->next = head;
ListNode *i = fir... | [
"noreply@github.com"
] | wei-han.noreply@github.com |
16eb0506a1b78f66f96046061dc6017c1f8ba852 | 1bb31075aaac7acbf0675a2a695094314157df07 | /Engine/SailBoat.cpp | c3c966754009183b63dca51f852a481e2f530c3a | [] | no_license | Mirabass/SailBoat | fb09df5bb7fd937eee3c974b2ae5aab8da065f82 | a15bdf469c0fe293bfb27dd8d8edfcb21342f2c8 | refs/heads/master | 2021-11-24T20:14:34.259728 | 2021-10-22T07:53:48 | 2021-10-22T07:53:48 | 133,552,085 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,652 | cpp | #include "SailBoat.h"
#define _USE_MATH_DEFINES
#include <math.h>
SailBoat::SailBoat(const Vec2 & pos, const Vec2& velocity, const float& startingMainSailAngle)
:
hull(Vec2(float(playerBoatLocationX), float(playerBoatLocationY)), 0.0f),
rudder(0.0f),
position(pos),
sails(-startingMainSailAngle),
boatVelocityToW... | [
"miravaculka@gmail.com"
] | miravaculka@gmail.com |
b8b09a841abec32e76ce01424801b8f2f0e81b2e | 11d5aceb7ac0db461d32a07e22909f674eeeec59 | /game/script/polizclean.h | bce378385136529662b64c55edab3e5062b0e658 | [] | no_license | apathism/cmc-projects | d75711897aecf241d535f7b0331363bcbc97e519 | 9603884113b696b80a5c58221ad8d7b93552dd88 | refs/heads/master | 2020-04-15T13:26:45.178404 | 2018-09-05T11:59:40 | 2018-09-05T11:59:40 | 164,716,907 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 356 | h | #ifndef __SCRIPT_POLIZCLEAN
#define __SCRIPT_POLIZCLEAN
#include "polizitem.h"
namespace script
{
class PolizClean: public PolizItem
{
PolizClean(const PolizClean&);
public:
PolizClean();
Cloneable* Clone() const;
int Evaluate(
asl::Array<asl::String>&,
asl::PointerArray&, int
) const;
asl::Str... | [
"apathism@apathism.net"
] | apathism@apathism.net |
0a6484022aae23029fab6be64cf4d4443dd37594 | e7be2ee48f952308f5672240c2c833d718d9d431 | /Juliet_Test_Suite_v1.3_for_C_Cpp/C/testcases/CWE789_Uncontrolled_Mem_Alloc/s02/CWE789_Uncontrolled_Mem_Alloc__new_wchar_t_fgets_62b.cpp | cc0e6f104d3b496c0bcd493e274cd1b51094078f | [] | no_license | buihuynhduc/tooltest | 5146c44cd1b7bc36b3b2912232ff8a881269f998 | b3bb7a6436b3ab7170078860d6bcb7d386762b5e | refs/heads/master | 2020-08-27T20:46:53.725182 | 2019-10-25T05:42:36 | 2019-10-25T05:42:36 | 217,485,049 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,102 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE789_Uncontrolled_Mem_Alloc__new_wchar_t_fgets_62b.cpp
Label Definition File: CWE789_Uncontrolled_Mem_Alloc__new.label.xml
Template File: sources-sinks-62b.tmpl.cpp
*/
/*
* @description
* CWE: 789 Uncontrolled Memory Allocation
* BadSource: fgets Read data from the con... | [
"43197106+buihuynhduc@users.noreply.github.com"
] | 43197106+buihuynhduc@users.noreply.github.com |
2a23a866515f96bce0673884f9ed149460d6b51a | 2944aef96e40141036c8374fad45f20aaa341a0c | /costomer.hpp | 46a16e0471b79b88155eba49d3053b8039f4d135 | [] | no_license | sajjadrezaiy/newproject1 | b189241959fb0fa02bc2789d3cf79d4a28504f9d | cb84fea740e1ccdcb4b87c5bbc19c701494289d2 | refs/heads/master | 2020-04-09T17:20:47.118796 | 2018-12-05T10:19:57 | 2018-12-05T10:19:57 | 160,478,203 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 762 | hpp | #include <iostream>
using namespace std;
class customer
{
int arrtime,servtime;
int number;
char type; //man or woman
public:
customer(){ //constructor
arrtime=0;
servtime=0;
number=0;
type='m';
}
//******************************************************
void settime(int x)
{
arrt... | [
"sajjadrezai5@gmail.com"
] | sajjadrezai5@gmail.com |
e3f6fd9795747785a3cf73eec15a0b1c56c794b0 | f9107d564685bce224fdf15a1ff01bbcdca5834e | /Task1/Summator/tests/SummatorTest/SummatorTest.h | 66cb4d6d29ebe51244b31729c5579ee58d4ab288 | [] | no_license | Malik1998/Mipt-Term5-ParallelComputing | 349525e65917728ffb8f9eb9ef11ae59a7ebf0af | 7628eba3a180f2f6ee344158be15a35ffd25fa6f | refs/heads/master | 2020-04-08T11:09:24.574352 | 2018-12-09T18:26:51 | 2018-12-09T18:26:51 | 159,295,193 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 452 | h | //
// Created by user on 08.09.18.
//
#ifndef PROCESSOR_PROCESSORTEST_H
#define PROCESSOR_PROCESSORTEST_H
#include <gtest/gtest.h>
class SummatorTest : public ::testing::Test {
public:
SummatorTest() { /* init protected members here */ };
~SummatorTest() { /* free protected members here */ };
void SetUp()... | [
"gazizullin.malik2010@yandex.ru"
] | gazizullin.malik2010@yandex.ru |
454da83ca97538fdde0b54956d6f222ae097e491 | 5f345f3063e1099a982671db5e214a464eaf5fd8 | /Engine/src/Fjord/ECS/Systems/GameSystem.h | d65378cb874975848a2b492c17aa89d1c122eac1 | [
"Apache-2.0"
] | permissive | BarbedCrow/Fjord | 94909a24454135dc152ff919389219c0fcaeaa1b | fdcbf3a44ee3dc2e2f2ff65169f219b214e6674e | refs/heads/main | 2023-07-06T19:45:06.968417 | 2021-08-16T18:22:00 | 2021-08-16T18:22:00 | 389,767,696 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 494 | h | #pragma once
#include <entt/entt.hpp>
#include "Fjord/ECS/Scene.h"
namespace Fjord
{
class GameSystem
{
public:
GameSystem(Ref<Scene>& scene, bool isActive = true) : m_Scene(scene), m_Active(isActive) {}
virtual ~GameSystem() {}
virtual void Activate() { m_Active = true; }
virtual void Deactivate() { m_A... | [
"barbedcrow@gmail.com"
] | barbedcrow@gmail.com |
957333bb0974f1b9028f1b0635fd36e406d06eee | e64657da6aa61403ed2e363fd192c19412cf3ef2 | /jihyun/Intermediate_Algo_1:3/531_BF/16197_BFS.cpp | 96a543234a896894cc4df3b09e1e0f2177e464c3 | [] | no_license | chaeeon-lim/ProgrammingLearners | 09015dff6ab35b8e12efd1fe31e4aa34b992aae7 | 465cf5c436bc0ccdb7d570a58163584976342b4d | refs/heads/master | 2022-11-06T16:06:04.332715 | 2020-06-30T08:48:09 | 2020-06-30T08:48:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,325 | cpp |
#include<iostream>
#include<vector>
#include<queue>
#include<cstring>
using namespace std;
typedef struct _ball{
int bx1, by1, bx2, by2;
_ball(int _x1, int _y1, int _x2, int _y2) : bx1(_x1), by1(_y1), bx2(_x2), by2(_y2) {}
}ball;
int n, m;
char board[20][20];
int dx[] = {0,0,-1,1};
int dy[] = {-1,1,0,0};
in... | [
"21500376@handong.edu"
] | 21500376@handong.edu |
2240fe98c20a235a31b7c8c248dbe1763ed66575 | 3cf292ac3865abab2421a8c6076b6df11fd46ee5 | /Queue.h | 02f82caf5e8ce3294851267f4721dd6aa61aab29 | [] | no_license | erxiu/MiniStl | 3f87069aff682c7362386db3308574ba54dcb8f9 | 897319a12e2a884eb192c947a4e20afdfaab59c1 | refs/heads/master | 2022-01-13T06:50:16.779190 | 2019-06-20T05:10:31 | 2019-06-20T05:10:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,281 | h | #ifndef __MINISTL_QUEUE_H
#define __MINISTL_QUEUE_H
#include"Deque.h"
#include"Utility.h"
namespace MiniStl
{
template<class T, class Container = deque<T>>
class queue
{
public:
typedef Container container_type;
typedef typename container_type::value_type value_type;
... | [
"dalibaxiaoliba19@gmail.com"
] | dalibaxiaoliba19@gmail.com |
42f4fdcfed36a6a31ba97afdd91dbc336b266987 | 14999861023015579b9cd1d08b5692f8425bdcf1 | /miwu/Classes/ApiParser.cpp | 23fae0f017dadbfa650d746f613ca42c20e66183 | [] | no_license | jishankai/miwu | 5e9b554f825703414f518c34bf4fc97755830165 | 15ed8f165a5687ca4ace9ffe446c112915119f78 | refs/heads/master | 2021-06-08T13:23:41.748527 | 2014-03-14T10:14:05 | 2014-03-14T10:14:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 573 | cpp | //
// ApiParser.cpp
// miwu
//
// Created by Ji Shankai on 13-10-20.
//
//
#include "ApiParser.h"
USING_NS_CC;
USING_NS_CC_EXT;
void ApiParser::requestApi(const char* url)
{
cocos2d::extension::CCHttpRequest* request = new cocos2d::extension::CCHttpRequest();
request->setUrl(url);
request->setRequestT... | [
"jishankai@gmail.com"
] | jishankai@gmail.com |
5dd8e07c8bb8e1e85fcc83f7e4e113a515de3a63 | f39d917be5456c580fb4cbfcdaca95ffacf1f0cf | /src/kudu/tools/tool_main.cc | 82c9e0c87607219fb6ab1b6f5bc64d1ba47ac14c | [
"Apache-2.0",
"BSD-3-Clause",
"dtoa",
"MIT",
"BSL-1.0",
"LicenseRef-scancode-public-domain"
] | permissive | jinossy/kudu | 545af47887894933ec60a1902b6527764661a76c | 98fe55f5c492fbf1a77021d160336e4d8164795f | refs/heads/master | 2021-01-12T19:59:02.635781 | 2016-07-28T05:15:06 | 2016-08-16T01:33:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,838 | cc | // 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 may... | [
"adar@cloudera.com"
] | adar@cloudera.com |
26f83ba889ea3d785494a9bfa47c7cc371566dc5 | d062239e577cc93d0d7e7bdef5ea4f745ccf9000 | /ShiftingCircle/src/ParticleController.cpp | 88e92448cd892721523be80aef60e227f0470744 | [] | no_license | williamchyr/CinderExamples | 5b252fd566f5e6ade7dcdf6e77937a7152252a64 | 3f94caaf3ed38677f19d25394a3878cc3ff0dc36 | refs/heads/master | 2020-04-09T12:45:52.385266 | 2012-01-26T21:12:08 | 2012-01-26T21:12:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,160 | cpp | #include "cinder/app/AppBasic.h"
#include "cinder/Rand.h"
#include "cinder/Vector.h"
#include "ParticleController.h"
#include <vector>
using namespace ci;
using std::list;
using std::vector;
ParticleController::ParticleController()
{
angle = 25;
}
void ParticleController::init() {
dead = false;
}
void... | [
"wcchyr@gmail.com"
] | wcchyr@gmail.com |
f60f922efd1fea4d51e54d316ef380cbed2f768c | 50217ceede2d6a0c10ed5e3a45854cd69f4ae05f | /dsa/XVDPU-TRD/vck190_platform/overlays/Vitis_Libraries/vision/L1/examples/otsuthreshold/xf_otsuthreshold_tb.cpp | 47f63436cd33376522a0584f2d0072923c7f6c2b | [
"LicenseRef-scancode-free-unknown",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"BSD-3-Clause"
] | permissive | poldni/Vitis-AI | ddf79938629d4a8c20e1e4997f6445ec42ec7fed | 981f85e04d9b4b8fc2f97e92c0cf28206fde0716 | refs/heads/master | 2022-05-18T06:39:13.094061 | 2022-03-28T19:39:26 | 2022-03-28T19:39:26 | 455,650,766 | 0 | 0 | Apache-2.0 | 2022-02-04T18:14:19 | 2022-02-04T18:14:18 | null | UTF-8 | C++ | false | false | 3,226 | cpp | /*
* Copyright 2019 Xilinx, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | [
"do-not-reply@gitenterprise.xilinx.com"
] | do-not-reply@gitenterprise.xilinx.com |
7777b8ca2c6fae58cbcdce0169275c39fcfe452b | 2905e6745a67004580aa70a3fa246aa47c0eee97 | /netsim/src/ssfnet/os/emu/tap_device.h | 0a34110e9fc4e9bb20ab9b4c458de2cb68822904 | [] | no_license | summonersRift/primogeni | 32cbf949f62e6442d0748258dfdff2dd63199a3b | 763cf746dcd7c9c4d3d20d328899cb96efe6da69 | refs/heads/master | 2020-12-25T00:08:58.727433 | 2015-01-30T18:13:36 | 2015-01-30T18:13:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,208 | h | /**
* \file tap_device.h
* \brief XXX
* \author Nathanael Van Vorst
*
* Copyright (c) 2011 Florida International University.
*
* Permission is hereby granted, free of charge, to any individual or
* institution obtaining a copy of this software and associated
* documentation files (the "software"), to use, cop... | [
"obaida007@gmail.com"
] | obaida007@gmail.com |
dd859c9480913a3ede21bc98dbdc102ad64c7ae2 | 176474ddb79b251e51aa005f7a30b68526ce7808 | /3.Coding-Sites-Practise/CodeForces/contest/pairsoftoys/code.cpp | 445f5d1f0db8962326ba57ff53034236e365cc90 | [] | no_license | ashish1500616/Programming | 0f0b3c40be819ad71b77064ef4e2e31765588c53 | bdfe9cdf3aeee2875ff78231b04296dc5ba97383 | refs/heads/master | 2021-03-16T05:17:50.302515 | 2020-03-10T05:51:44 | 2020-03-10T05:51:44 | 121,101,900 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,287 | cpp | #include <bits/stdc++.h>
using namespace std;
#define inf 1e9
#define mod 1000000007
typedef long long ll;
typedef long double ld;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef vector<ll> vl;
typedef vector<bool> vb;
typedef vector<float> vf;
typedef vector<ld> vd;
typedef pair<int, int> pii;
typedef pair<l... | [
"ashish1500616@gmail.com"
] | ashish1500616@gmail.com |
775028a2d9c9e4f83e41b0a277a8c6c2677b1c7e | 3af68b32aaa9b7522a1718b0fc50ef0cf4a704a9 | /cpp/E/E/E/C/B/AEEECB.h | 4274f5da5c497b078b4415f6215c8eab6293184c | [] | no_license | devsisters/2021-NDC-ICECREAM | 7cd09fa2794cbab1ab4702362a37f6ab62638d9b | ac6548f443a75b86d9e9151ff9c1b17c792b2afd | refs/heads/master | 2023-03-19T06:29:03.216461 | 2021-03-10T02:53:14 | 2021-03-10T02:53:14 | 341,872,233 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 67 | h | #ifndef AEEECB_H
namespace AEEECB {
std::string run();
}
#endif | [
"nakhyun@devsisters.com"
] | nakhyun@devsisters.com |
61ca437ec204c664e8ec7426c9c3788d8ba51e0f | 76af8b47173dd11fd696ddbacf1caca9f556f440 | /maxheapsort-NON RECURSIVE.cpp | 524441800a272516e255dc8a6c27f5cccbbc77a1 | [] | no_license | thestarkraj/daa | 2aa0d51cd4fd71a1d224023caaf24b163bb50b85 | 66a39fe386f95082b771ddb6c216b1082cefc15b | refs/heads/master | 2020-03-27T20:55:05.563436 | 2018-09-02T16:29:47 | 2018-09-02T16:29:47 | 147,102,313 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 949 | cpp | #include<stdio.h>
void swap(int ar[],int value1,int value2)
{
int temp=ar[value1];
ar[value1]=ar[value2];
ar[value2]=temp;
}
void maxheapify(int ar[],int index,int n)
{
int highindex=index;
if((2*index<=n)&&ar[2*index]>ar[highindex])
highindex=2*index;
if((2*index+1<=n)&&ar[2*index+1]>ar[highindex])
highind... | [
"nitishraj.swordmaster@gmail.com"
] | nitishraj.swordmaster@gmail.com |
1a9552ee8ab906f91eae2ae51b6f8023150e5ea4 | ea4e3ac0966fe7b69f42eaa5a32980caa2248957 | /download/unzip/IOHIDFamily/IOHIDFamily-421.18.3/IOHIDFamily/AppleEmbeddedHIDEventService.cpp | a17f39920040f66858b370d1c1f6cab31c734cba | [] | no_license | hyl946/opensource_apple | 36b49deda8b2f241437ed45113d624ad45aa6d5f | e0f41fa0d9d535d57bfe56a264b4b27b8f93d86a | refs/heads/master | 2023-02-26T16:27:25.343636 | 2020-03-29T08:50:45 | 2020-03-29T08:50:45 | 249,169,732 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,917 | cpp | /*
*
* @APPLE_LICENSE_HEADER_START@
*
* Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file... | [
"hyl946@163.com"
] | hyl946@163.com |
8020c774384279f02d01678460591f4596471959 | 0dca3325c194509a48d0c4056909175d6c29f7bc | /vod/include/alibabacloud/vod/model/GetAICaptionExtractionJobsResult.h | 157b93979cd7468b1ed02aabf95afb04654f3e8c | [
"Apache-2.0"
] | permissive | dingshiyu/aliyun-openapi-cpp-sdk | 3eebd9149c2e6a2b835aba9d746ef9e6bef9ad62 | 4edd799a79f9b94330d5705bb0789105b6d0bb44 | refs/heads/master | 2023-07-31T10:11:20.446221 | 2021-09-26T10:08:42 | 2021-09-26T10:08:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,841 | 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... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
13f25d2541f7fce06b88b719fe35e95cc5fdda59 | 195ba99302638420dd7f15d9ef344768dbfb84ed | /HTMLRepository.cpp | d5a5d61d79363a25b23c313f08392a99ee5f9026 | [] | no_license | gabiborlea/Plant-Clusters-Management | 98303b35e04bc2bf63bb14211504166b0b0f92fe | a6b33a40b09d56b8605de63defe788af6f43e9b0 | refs/heads/master | 2023-01-22T22:08:08.647063 | 2020-11-20T16:13:26 | 2020-11-20T16:13:26 | 314,604,994 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,075 | cpp | #include "HTMLRepository.h"
#include <algorithm>
std::stringstream HTMLRepository::read_file()
{
std::stringstream file_content;
this->file_in.open(this->file_name, std::ofstream::app);
file_content << file_in.rdbuf();
file_in.close();
if (file_content.str().size() == 0)
this->write_file(file_content);
html_t... | [
"gabi.borlea.1@gmail.com"
] | gabi.borlea.1@gmail.com |
a800449cb03a39b9b58435c91df247343a7c63a7 | 14aa8ec24a7d499b60fdff03bb6b44a0ef3ee494 | /imgedit/histogramprocessor.cpp | ea39b5f5f380b837603ffd7c38e77d3922c495b3 | [] | no_license | romovpa/machgraphics | 7751019afdd2cada8e1133006d851559acd3fb06 | da4b71f398c5832b440a7e4f5a481b9d928e853b | refs/heads/master | 2016-08-03T23:52:11.566290 | 2011-11-19T15:19:52 | 2011-11-19T15:19:52 | 2,410,103 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,563 | cpp | #include "histogramprocessor.h"
#include <QtGui>
HistogramProcessor::HistogramProcessor(const QImage &image, QRect rect, QObject *parent) :
ImageProcessor(image, rect, parent)
{
}
void HistogramProcessor::setType(HistogramTransform type)
{
this->type = type;
}
void HistogramProcessor::process()
{
switch (type) {... | [
"romovpa@gmail.com"
] | romovpa@gmail.com |
1cbac8e7c8fe5470f1cc71b7a428986fc665299b | c3fb18f3174cf923974dc953bd5b523b473454fb | /runs/VPIC_Test_Decks/lpi/v_02/lpi_np_0000256.template.cxx | f3cc815d464012b2dcbf2c1e8543938e79197afd | [] | no_license | dnystrom1/vpic_project | 1f8d529af1c0066b8f18e72b4bad3414bdac39ed | be59b2665538147149d4e26f2277eb977c6c7340 | refs/heads/master | 2021-07-01T13:46:43.513059 | 2020-09-22T15:10:50 | 2020-09-22T15:10:50 | 93,093,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 38,303 | cxx | //============================================================================//
//
// LPI 3D deck - Linearly polarized (in y) plane wave incident from left
// boundary
//
// Adapted from Albright's Lightning 3D LPI deck.
// B. Albright, X-1-PTA; 28 Jan. 2007
// Lin Yin, X-1-PTA, 23 Feb 2009, for Cerrillo... | [
"wdn@lanl.gov"
] | wdn@lanl.gov |
44a8d79b06b6310806c9f798767236320c6c3d74 | cb4dbd8c556242994a63105beebfeae6a6f05e20 | /include/imgproc/xf_remap.hpp | 720d3c1350757c0cff71dfba7142635e16598e18 | [] | no_license | ros-acceleration-ultra96v2/vitis_common | 8b07aac2cb4c64a8d389ede7dd8d22233f26009d | 8805009b8b096e2252e3ea7aa23adb5082160622 | refs/heads/master | 2023-08-10T01:56:21.673998 | 2021-09-14T08:23:47 | 2021-09-14T08:23:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,384 | hpp | /*
* Copyright 2019 Xilinx, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | [
"v.mayoralv@gmail.com"
] | v.mayoralv@gmail.com |
88a3af827625db72aae0c247793604239b537eb9 | 7140235192ddb4b5a4cefba04750ce8851b72fae | /missile.h | b006f228c43b8e72ec267c7a7f14d12832ce30dc | [
"MIT"
] | permissive | borislav-draganov/Asteroids | 14a212884617d887c52f8efc7820a0df08cd0967 | a9ae79d42369b9c441a8461980df107cc8f2f89c | refs/heads/master | 2020-05-17T01:26:11.847825 | 2014-11-26T15:48:07 | 2014-11-26T15:48:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,982 | h | #ifndef MISSILE_H
#define MISSILE_H
#include <QGraphicsScene>
#include <QGraphicsItem>
#include <QSoundEffect>
#include <QPainter>
#include <QStyleOption>
#include <QDebug>
#include <math.h>
class Missile : public QObject, public QGraphicsItem
{
Q_OBJECT
public:
Missile(bool shipMissile, QObject *parent = 0)... | [
"bobodraganov@gmail.com"
] | bobodraganov@gmail.com |
bcbf859891e05b1b5eb2b5255d037234c6352dc7 | 44c5f3b76988f37394d0c96b624ea286b33b3f20 | /project3-akeminamba/Strategies.hpp | 88c9e0fe8faa81d2c392f72ea17cce80b3024525 | [] | no_license | akeminamba/AutomaticPayment | f26b34612e8f9647291ff11496bd0d5d28b8b81f | 08147e94d9faf35838a307ea717a460a53cb0b01 | refs/heads/main | 2023-02-21T09:08:53.837404 | 2021-01-21T08:23:44 | 2021-01-21T08:23:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,598 | hpp | #pragma once
#include <deque>
#include <iostream>
#include <queue>
#include <stack>
#include <string>
#include <cmath>
#include <fstream>
#include <sstream>
#include "Bank.hpp"
#include "Bill.hpp"
template< class Strategy>
struct Strategy_t {
Bank myChecking_;
Strategy allBills_;
double a... | [
"noreply@github.com"
] | akeminamba.noreply@github.com |
599baf5722ba6572293e1f6dd88b136789dd94a4 | c1e85066b18f7b43be048cef876ee19559a75909 | /set.cpp | 84aaa1c375e3148a643b98bb603013541c39883a | [] | no_license | lwg2018/STL_Examples | 4e8348a4d751b6e4acd98eb0224f0e4fbb993084 | 143303882818850f670052289fb48b641f3d5cee | refs/heads/master | 2020-03-29T06:06:45.979263 | 2018-09-20T13:01:55 | 2018-09-20T13:01:55 | 149,609,975 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,189 | cpp | #include <iostream>
#include <string>
#include <set>
using namespace std;
int main(){
set<int> test;
test.insert(5);
test.insert(7);
test.insert(10);
test.insert(2);
test.insert(3);
set<int>::iterator it;
for(it=test.begin();it!=test.end();it++){
printf("%d ",*it);
}
printf("\n%d ",test.size());
// ... | [
"cloudlwg@gmail.com"
] | cloudlwg@gmail.com |
8f1d4e7090ecef947bbae2bf46c8360588c14dab | af4dc9ed3b25178664d9cb97b9b41039d4ee4e35 | /RSCH_ClothSym/branches/Intel/third_party/NuttapongSymC/WildMagic4/LibFoundation/Surfaces/Wm4Surface.cpp | 0150bc9cd354c171009633a974deb2de6a302bdf | [] | no_license | njoubert/UndergraduateProjects | 19dc0ba98a130e040d2594374a935954258f83ea | 7e6db9c4318a042c59c363cd4a331bbfcb908988 | refs/heads/master | 2021-01-10T06:25:49.985493 | 2015-12-31T22:57:17 | 2015-12-31T22:57:17 | 48,846,399 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,406 | cpp | // Wild Magic Source Code
// David Eberly
// http://www.geometrictools.com
// Copyright (c) 1998-2007
//
// This library is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation; either version 2.1 of th... | [
"sburke@997b1fe7-5dcb-cc6a-e049-b7da040a1fbe"
] | sburke@997b1fe7-5dcb-cc6a-e049-b7da040a1fbe |
c6e7042e51c8aa79e92cb06a8d402e1b7eb36de3 | 6b2acad97d2461a1e9260cb370f12e670473e415 | /tool/Arduino/Arduino Pro Micro/07_timerOneLibrary/07_timerOneLibrary.ino | 75baecf5c45e27670750d26b1f82f80c163cd325 | [] | no_license | Liemani/_deprecated_portfolio | 342c0d4e51176168cdbc80bf15478f125b15b120 | a0f91b76c7cc0072230d167d64b87da57246c135 | refs/heads/main | 2023-02-24T10:27:42.218565 | 2021-01-28T12:04:24 | 2021-01-28T12:04:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 689 | ino | #include <TimerOne.h>
const int MOTOR_FL = 6;
const int MOTOR_FR = 10;
const int MOTOR_BL = 5;
const int MOTOR_BR = 9;
const int MOTOR_ARRAY[4] = {MOTOR_FL, MOTOR_FR, MOTOR_BL, MOTOR_BR};
const int melody[] = {262, 294, 330, 349, 392, 440, 494, 523};
void setup() {
Timer1.initialize();
Timer1.setPeriod(100... | [
"parkjh2768@naver.com"
] | parkjh2768@naver.com |
349453b750f4463b653486dc73e48292ca41395a | 57381789cc6e5b05d038f68b83ab85bb7ce3bb81 | /functions/sectors/cfgFunctions.hpp | cfa5e34a2664f3777cf0643ea7b02fb0f131679d | [] | no_license | gruppe-adler/TvT_HoldTheLine.Tembelan | eb52c47e9d1e8c0a74d7b093aa3a6dcee431e3e4 | 95ddccc9bc8b7936761be2e93952bc570cd8e597 | refs/heads/master | 2020-05-17T10:39:03.555877 | 2019-09-02T17:10:45 | 2019-09-02T17:10:45 | 183,663,325 | 2 | 0 | null | 2019-08-31T16:06:02 | 2019-04-26T16:43:22 | SQF | UTF-8 | C++ | false | false | 399 | hpp | class grad_sectors {
class sectors {
class blockSector {};
class createMarker {};
class createSector {};
class createTasks {};
class evaluateSector {};
class initTrigger {};
class notifyTakingControl {};
class startPFH {};
class taskSetDescript... | [
"just_jus@hotmail.de"
] | just_jus@hotmail.de |
674ee2301c548cd9bf2d446368086a5d81f6a534 | ada82378f2942b0c826178ac5384d5e9f1a054e8 | /src/Bitslicer.cpp | 1a9ee54adb740b54008ad5f95dfb205ed03111da | [] | no_license | jonasstein/mdat | 16f112a44543d2e489fc4cebe56106f272ead178 | 47b748096dcf82ef62f3e37ca72cc0f30e9db7b9 | refs/heads/master | 2022-06-02T17:32:22.164698 | 2022-05-19T07:41:11 | 2022-05-19T07:41:11 | 187,505,136 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,088 | cpp | #include "Bitslicer.h"
#include <cmath>
#include <cstdint> // int8_t
namespace bitslicer {
uint16_t byteswap(uint16_t word) {
return (((word & 0xff) << 8) | ((word & 0xff00) >> 8));
}
uint64_t byteswap64(uint64_t value) {
uint64_t partA = value & 0xffff000000000000;
uint64_t partB = value & 0x0000ffff000... | [
"news@jonasstein.de"
] | news@jonasstein.de |
c29530c79042864da6082e9bb17f13e90901329b | 7f11ab58a6773a26d132569818a4a2766a7324e7 | /hello.cpp | e38a8177e02c908d0b6a567b277b96c13f282218 | [] | no_license | chickenday/MyFirstProject | 75fbbb53fb13bd33c8546fc7e40717c871f926f5 | 98fff77d266b9a67d1c04ac450a1dd2ddb4afce3 | refs/heads/master | 2023-07-18T19:17:38.139860 | 2021-09-06T09:03:21 | 2021-09-06T09:03:21 | 403,537,683 | 0 | 0 | null | 2021-09-06T08:37:27 | 2021-09-06T08:07:40 | C++ | UTF-8 | C++ | false | false | 80 | cpp | #include<iostream>
using namespace std;
int main(){
cout<<"hello world!"
} | [
"996209061@qq.com"
] | 996209061@qq.com |
c8787d7f79937e391f3f24caaff69126b77313fb | 1a03efb7a8b03c4014b1dd4e5154dd26fc7586a1 | /builtins/printworkingdirectory.h | e720260dce0d9457cd7b2d8ed02dd53d02ea0b11 | [] | no_license | eugene195/DASH | 4aa71a693bfa7c2e2c4d0040258c3ea2c8966794 | 0b8f745df040d3591c495834ec9dc71a042a1151 | refs/heads/master | 2020-07-07T23:51:10.259853 | 2016-08-28T19:20:39 | 2016-08-28T19:20:39 | 66,610,981 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 251 | h | #ifndef PRINTWORKINGDIRECTORY_H
#define PRINTWORKINGDIRECTORY_H
#include "abstractbuiltin.h"
class PrintWorkingDirectory : public AbstractBuiltin
{
public:
void execute(const vector<string> &options) const;
};
#endif // PRINTWORKINGDIRECTORY_H
| [
"eugene.07@list.ru"
] | eugene.07@list.ru |
259a6c95c7a893568eeaf005e96588cefe0b980c | 24bc4990e9d0bef6a42a6f86dc783785b10dbd42 | /third_party/blink/common/interest_group/auction_config_mojom_traits.cc | 9d598b715adeee709910c38a62ef4692c33d0042 | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"Apache-2.0",
"MIT",
"BSD-3-Clause"
] | permissive | nwjs/chromium.src | 7736ce86a9a0b810449a3b80a4af15de9ef9115d | 454f26d09b2f6204c096b47f778705eab1e3ba46 | refs/heads/nw75 | 2023-08-31T08:01:39.796085 | 2023-04-19T17:25:53 | 2023-04-19T17:25:53 | 50,512,158 | 161 | 201 | BSD-3-Clause | 2023-05-08T03:19:09 | 2016-01-27T14:17:03 | null | UTF-8 | C++ | false | false | 8,227 | cc | // Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/public/common/interest_group/auction_config_mojom_traits.h"
#include <string>
#include "base/containers/flat_map.h"
#include "base/strings/escape.... | [
"roger@nwjs.io"
] | roger@nwjs.io |
16872dc99b51dfbde108e05e5900c999b1cf1d0a | 91c7245a5401ceb999241fcd935d659a847e3d6e | /Source/CardSet.h | c45b0bd2a3c00881c5d0bbcdb155ae7774058fe1 | [] | no_license | LinuxKid21/Kingdomino-ai | 0094df41bb2adc169219b89e3e5790b15ee67de8 | 1a09207d567f672de720a0badda372f98b9fe884 | refs/heads/main | 2023-03-10T05:09:15.112356 | 2021-02-23T04:17:46 | 2021-02-23T04:17:46 | 341,425,808 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 263 | h | #pragma once
#include "Card.h"
#include <vector>
class CardSet : public std::vector<Card>
{
public:
CardSet(bool random = true);
CardSet removeTopFour();
static constexpr int MAX_CARDS = 48;
private:
CardSet(iterator start, iterator end);
};
| [
"linuxkid21@gmail.com"
] | linuxkid21@gmail.com |
16b8b78cad1f97df25bf1bd292f190c9fef04215 | 5838cf8f133a62df151ed12a5f928a43c11772ed | /NT/inetsrv/iis/setup/osrc/mdacl.cpp | 86fdfc0331d5324c0fadf47bb06137e1665581a5 | [] | 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 | 35,573 | cpp | #include "stdafx.h"
#include <ole2.h>
#include <aclapi.h>
#include "iadmw.h"
#include "iiscnfg.h"
#include "log.h"
#include "mdkey.h"
#include "dcomperm.h"
#include "other.h"
#include "mdacl.h"
#include <sddl.h> // ConvertSidToStringSid
extern int g_GlobalDebugCrypto;
#ifndef _CHICAGO_
BOOL CleanAdminACL(SECUR... | [
"blindtiger@foxmail.com"
] | blindtiger@foxmail.com |
e668e3928595fadcc307b4e4321179994c7b0bda | 7ad38afd4267250467243afe96b34ca3dfcc7265 | /srcs/algorithm/heuristics/ManhattanDistance.hpp | d1de82507e8c98e2c564e6525a61597956aa0942 | [
"MIT"
] | permissive | Globidev/N-Puzzle | eeed008960d2940e1f7414f034dbcda1473b3af8 | 2b6e23d509a40d1089b5212e04fb86e237519228 | refs/heads/master | 2021-01-15T09:03:05.302559 | 2018-07-24T18:40:40 | 2018-07-24T18:40:40 | 34,265,004 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,074 | hpp | #pragma once
#include "puzzle/Puzzle.hpp"
namespace algorithm {
namespace heuristics {
template <uint size>
struct ManhattanDistance {
ManhattanDistance(const puzzle::Puzzle<size> & goal) {
for (uint i = 0; i < size * size; ++i)
indexes[goal.grid[... | [
"guillaume.depardon@student.42.fr"
] | guillaume.depardon@student.42.fr |
90d9249846d6a9ee76ee1c23ad23d52cd3793393 | a87c88cf26e7cab3ad484f48eb353b9ab23938c7 | /Parser.cpp | 026e825666af08aa04daa480c186ea8c4e24b7ff | [] | no_license | harvardinformatics/spaln-boundary-scorer | 95ecd9a3dae4c5403aae002ee92368fc4ab91f38 | b48977154a75a8559ff0398b8858dc2a51768632 | refs/heads/master | 2023-03-10T18:42:31.689427 | 2021-02-23T01:44:16 | 2021-02-23T01:44:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,845 | cpp | #include "Parser.h"
#include <string>
#include <fstream>
#include <iostream>
using namespace std;
Parser::Parser() {
windowLength = 10;
scoreMatrix = NULL;
processReverse = false;
}
int Parser::parse(string outputFile) {
// Restart output file
ofstream ofs(outputFile.c_str());
ofs.close();
... | [
"bruna.tomas@gmail.com"
] | bruna.tomas@gmail.com |
f2543b307b8a7bc65068021588c75992b6889144 | ece911ab5fe553c818efaa85a767876f6ad4e211 | /inc/hgl/graph/VKPrimitive.h | 21b1f2e2e8562d577c8c3183fe2191fb7af27d8e | [
"MIT"
] | permissive | hyzboy/ULRE | 0b8fccfefb90ff8f362d9719aebad2160c0c12a6 | 51deea7c29ac6263111cf22073fcbb3a105d1827 | refs/heads/master | 2023-08-08T01:19:54.906869 | 2023-05-18T06:05:03 | 2023-05-18T06:05:03 | 157,586,917 | 21 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 2,323 | h | #ifndef HGL_GRAPH_VULKAN_PRIMITIVE_INCLUDE
#define HGL_GRAPH_VULKAN_PRIMITIVE_INCLUDE
#include<hgl/graph/VKIndexBuffer.h>
#include<hgl/type/Map.h>
#include<hgl/type/String.h>
#include<hgl/math/Math.h>
#include<hgl/graph/AABB.h>
VK_NAMESPACE_BEGIN
/**
* 单一图元数据
*/
class Primitive
{
struct VBOData
{
VB... | [
"hyzboy@outlook.com"
] | hyzboy@outlook.com |
c5e0a3e665039adfe6e411145fa45719cba63682 | f890418376a8aa142cad598fc3add9d53a5f1343 | /rosabridge_arduino/sketchbook/Odom.ino | ccb6852d6bc03f7a081898bd1bc1c7459d88f871 | [
"BSD-3-Clause"
] | permissive | ecostech/rosabridge | 90372201a971c0007b3b9a4c71ce61770faf78b8 | a52d375412ab8e758b2556af1c4b620a44b37ce8 | refs/heads/master | 2021-05-14T12:52:28.501085 | 2021-04-07T17:13:00 | 2021-04-07T17:13:00 | 116,420,431 | 7 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 7,500 | ino |
// Define following to enable debug output
//#define _ODOM_DEBUG
// Define following to use abbreviated data types
#define _ODOM_PROXY
#ifdef _ODOM_PROXY
// Define following to enable service for returning covariance
//#define _ODOM_COVAR_SERVER
#endif
#include <tf/tf.h>
#include <geometry_msgs/Quaternion.h>
#ifdef... | [
"chad@broadmind.com"
] | chad@broadmind.com |
f098a0e3fb87bebeba5c54d8d0696a452e23d415 | d1aa9ceb70f8fc19f2a33b55bbfebba33898eeb6 | /examples/frcserver/timed.cpp | e4d6da61ef4ab45a6d031ab6c8bee0d912607635 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
] | permissive | NorthernForce/ssobjects | ce26fb334733f2705c057f040ded5f18354bea9f | d479c243b662901506776563285f4d0ed70b56b9 | refs/heads/master | 2021-01-15T19:59:16.000321 | 2013-03-12T23:23:34 | 2013-03-12T23:23:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,147 | cpp | #include "timed.h"
Timed::Timed(unsigned long delayms)
: m_timer(0),
m_delay(delayms),
m_active(true),
m_stopwatch()
{
m_stopwatch.start();
m_timer = m_stopwatch.milliseconds();
}
void Timed::setDelay(unsigned long delayms)
{
unsigned long now = m_stopwatch.milliseconds();
m_delay = dela... | [
"patterson7019@gmail.com"
] | patterson7019@gmail.com |
3b58385903897f1b95fb08b5f2c569738f4a9cc9 | e24d64cfa72bca0909eba170978e5d76fdcbdc47 | /PhotonTiming/PhotonAreaDistributions_3.cpp | 8aac520abe3c346ecc4935427ecf6755d4a336fe | [] | no_license | bglenardo/WaveformSimulation | 2512e9856e77568ccdc03deac8638bcc911a4cec | cab2eb3c1a39c8d8a6cedd934e7f021c41e88613 | refs/heads/master | 2021-01-11T05:54:03.507144 | 2017-06-05T18:39:21 | 2017-06-05T18:39:21 | 69,810,099 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,503 | cpp | ///////////////////////////////////////////////////////////////////////////////////////
//
// PhotonAreaDistributions.cpp
//
// 2015-07-14 - Initial submission. (Rose)
//
// 2015-07-31 - Added "delete" commands for the TF1's that we're creating, so they
// don't hang around in memory. (Brian L.)
//... | [
"bglenardo@gmail.com"
] | bglenardo@gmail.com |
c743ea835f72d019e9b12b66d223b63d70af4f70 | 268108c8d18f0087551af09b78211584efb9ae17 | /open-MPI codes/Poisson_GaussSeidel.cpp | 99ddb4511921f4156e88b424f1a860d8f1aa452f | [] | no_license | rudranshj/Parallel-Computing | 3988758b56a62ba9604d1db3fcd0f902a2248ab3 | 9ba2f7c70e63546a5c53bfadd924a63c7a1d9bd0 | refs/heads/main | 2023-05-11T01:36:47.911051 | 2021-06-04T17:56:25 | 2021-06-04T17:56:25 | 362,931,083 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,068 | cpp | // Gauss-Seidel : Red-Black coloring approach
// Author: Rudransh Jaiswal
#include <iostream>
#include <mpi.h>
#include <math.h>
using namespace std;
double fq(double x, double y){
return 2*(2 - x*x - y*y);
}
double phi_calc(double x, double y){
return (pow(x,2)-1)*(pow(y,2)-1);
}
int main(int argc, char** argv){
... | [
"noreply@github.com"
] | rudranshj.noreply@github.com |
c9d35f422d65657856c27ce2cfa0c29ad68755bc | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_1483488_0/C++/brucetong/gcj2012qrc.cpp | ceb35dcdd9e2a51e4ca9799c8c0fa9d3030226cb | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,200 | cpp | //Problem: GCJ 2012 Qualification Round C
//Name: Recycled Numbers
//Author: Bruce K. B. Tong
#include <iostream>
#include <algorithm>
using namespace std;
#define SMALL
//#define LARGE
#define MAX 2000000
int rotation[MAX+1];
int multipier[7+1] = {0, 1, 10, 100, 1000, 10000, 100000, 1000000};
int digi... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
35800ee3f42b7e75818376dcf4fb0f50eece245a | b1bf17201149ba0a8b865e425fef5e3369b04260 | /llvm/lib/DebugInfo/PDB/PDBSymbolFuncDebugEnd.cpp | 589738dd8746fdcf794ca1c40387aede279f06cb | [
"NCSA"
] | permissive | cya410/llvm | 788288b9989de58e1b7a05c5ab9490099c7c3920 | a6a751eb63eaea13a427ea33365dade739842453 | refs/heads/master | 2016-09-06T12:38:02.151281 | 2015-03-16T16:09:18 | 2015-03-16T16:09:18 | 30,787,046 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 777 | cpp | //===- PDBSymbolFuncDebugEnd.cpp - ------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"yanchao2012@gmail.com"
] | yanchao2012@gmail.com |
0d43d3872c11a3913824e7753738f2b7174ebe91 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /third_party/pdfium/core/fpdfapi/cmaps/fpdf_cmaps.cpp | ca01d431f4da862a1d329398359b1faa231604a2 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 4,662 | cpp | // Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "core/fpdfapi/cmaps/cmap_int.h"
#include "core/fpdfapi/cpdf_modulemg... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
66fc599448862a81d9a50cbcf8ec774880ae4057 | 48b193a73ef5678fa7457285fe5e74494af79b9f | /hsed/hsed/token.h | 034097e986cc60540ed22c52ca80695628d86ed5 | [
"MIT"
] | permissive | dolphilia/machsp | d61da8c9c7131cf11a19efaf337227d0e6dc6711 | 843d5f5b2915c119090c10b73ab6dd4591984f31 | refs/heads/master | 2023-08-08T11:55:25.013212 | 2023-07-20T04:00:37 | 2023-07-20T04:00:37 | 144,228,252 | 13 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,168 | h |
//
// token.cpp structures
//
#ifndef __token_h
#define __token_h
#include <vector>
#include <string>
#include <map>
#include <memory>
// token type
#define TK_NONE 0
#define TK_OBJ 1
#define TK_STRING 2
#define TK_DNUM 3
#define TK_NUM 4
#define TK_CODE 6
#define TK_LABEL 7
#define TK_VOID 0x1000
#define TK_SEPARAT... | [
"dolphilia@outlook.com"
] | dolphilia@outlook.com |
ddda9814301f5489161916f4e53788bd423cb8c8 | 53d292996dda97005d2b592a04aa96ee4d49c0f9 | /bundles/async_remote_services/admin/src/admin.cc | 7dbc6d99bed24da70db4409fa3f0c6ad4807670e | [
"Zlib",
"Apache-2.0",
"BSD-3-Clause",
"MIT"
] | permissive | jimsdog/celix | 3ad30d1e91aeee72529566a5c020035603420b90 | 0ba362c40dc40b1d224696d846ec05a9b2ffd303 | refs/heads/master | 2023-04-06T03:34:36.288909 | 2021-04-09T11:35:10 | 2021-04-09T11:35:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,858 | cc | /*
* 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 ... | [
"noreply@github.com"
] | jimsdog.noreply@github.com |
08ae6330a51db28b1f46ae208723fa7b39d526d3 | 8403738e873da6add2b5d32beb8105fe8d2e66cb | /C++ Primer_5/10/ioit.cpp | 03cb394805c7952ac900df32e0bc59c7b9842124 | [] | no_license | autyinjing/Cpp-learning | 415a9e9130c1d864b28b749e8a27935936a08234 | fea63fed9c124c6a4218c61ce455554a8d6f29e4 | refs/heads/master | 2021-01-19T01:52:59.513207 | 2017-04-21T10:18:22 | 2017-04-21T10:18:22 | 38,310,895 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 874 | cpp | // =====================================================================================
//
// Filename: ioit.cpp
//
// Description:
//
// Version: 1.0
// Created: 2014年10月08日 11时37分42秒
// Revision: none
// Compiler: g++
//
// Author: aut (yinjing), linuxeryinjing@gmai... | [
"autyinjing@126.com"
] | autyinjing@126.com |
3ee67129a863cf37909279259093ab08ebe9726f | 0a663a4d46d9da669e160b5c90b993386a09d83c | /src/core/metaobject.h | 75b89d875cade8fb1aa0d06953fdf4265df95b7f | [] | no_license | CarterTsai/clasp | 9eb138f50bce035d29aa42fd42e5c3fd1ad40d48 | 22d3a4f0fe5eb0fc4651a364bec38e9e9ced51b4 | refs/heads/main | 2021-01-21T09:14:37.844200 | 2014-07-17T02:29:10 | 2014-07-17T02:29:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 651 | h | #ifndef core_Metaobject_H //[
#define core_Metaobject_H
#include <stdio.h>
#include <string>
#include <vector>
#include <set>
#include "foundation.h"
#include "object.h"
//#include "model.h"
#include "executables.fwd.h"
#include "lisp.h"
#include "standardObject.h"
#include "environment.h"
namespace core {
// Set... | [
"chris.schaf@verizon.net"
] | chris.schaf@verizon.net |
d8a4b6304117084167cbc4457fb2f8e381720409 | 7f137a08ba4c6e39f39b68b01b381433a47bfa65 | /Corelan/3. SEH Based Exploits/SEH.cpp | 208c84dc4a386041939fd85b93ddf5b93141d23b | [] | no_license | attackgithub/ExploitDevSnippets | 3ab7edb2d5fdd3a54a7eff723d7494fb07d40e3c | 9c60e804245cf36ceae9f5c167cab4935093b5d7 | refs/heads/master | 2020-09-01T10:00:53.462451 | 2017-06-03T06:43:43 | 2017-06-03T06:43:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 358 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<string.h>
#include<Windows.h>
int ExceptionHandler(void);
int main(int argc, char *argv[]) {
char temp[512];
printf("Application launched");
__try {
strcpy(temp, argv[1]);
}
__except (ExceptionHandler()) {
}
return 0;
}
int ExceptionHandler(void... | [
"abatchy@abatchy.com"
] | abatchy@abatchy.com |
6d1e07c54a33182749b0595ca4faa81ae691e3b1 | 2f2ece30e6314a830a6f4583a3f3ed59fa8354ff | /sim/cgi/sim_OTW.cpp | 44e6f98a56bfa4e86d474ffabc9471e6b6f2e3f6 | [
"MIT"
] | permissive | radarEnforced/fsg | fdffc5cbaba96557cf04667a31d4bcad04f8cc2b | 7825785bbf46a367b3daf1beb32b727c58e85e46 | refs/heads/master | 2020-09-22T07:06:04.372723 | 2019-11-30T06:31:30 | 2019-11-30T06:31:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,610 | cpp | /****************************************************************************//*
* Copyright (C) 2019 Marek M. Cel
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, ... | [
"46421808+marek-cel@users.noreply.github.com"
] | 46421808+marek-cel@users.noreply.github.com |
9c79b6f26daf50b3e592ee9b844f61d126150394 | bda27fde8479e678cceb950664c80482b8e12720 | /cpp05/ex02/ShrubberycreationForm.cpp | 530d9aaeef96b83fe303900d0146191a6e631815 | [] | no_license | kozarezov/CPP_modules | 270146fa2c942091ac7a1028246c404ce66e3c6e | d68d6571ae2c9e217253d837835b368910003f07 | refs/heads/main | 2023-02-22T05:46:07.220222 | 2021-01-26T07:39:52 | 2021-01-26T07:39:52 | 332,990,810 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,111 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ShrubberycreationForm.cpp :+: :+: :+: ... | [
"ceccentr@pr-p1.kzn.21-school.ru"
] | ceccentr@pr-p1.kzn.21-school.ru |
9786af6b54abba4927daa85b7d32bba7c0239b6e | a6963baf9ac8653e291f656508b7498cae29adc6 | /lab13.2/False.h | ebc218295380bea9c9759bd8c833f454aa965f88 | [] | no_license | Feynom/lab13.2 | 0be8fe1c859baf39df5a2a28c6be709285574f2d | 63bb6826e426adea9272768f4be30f53ac75e4ea | refs/heads/main | 2023-02-06T00:36:32.830268 | 2020-12-26T10:17:14 | 2020-12-26T10:17:14 | 324,442,277 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 51 | h | #pragma once
namespace nsFalse
{
void False();
}
| [
"chreptak12@gmail.com"
] | chreptak12@gmail.com |
857e684dbc5999a80b83e7d71610bf85e2346733 | 3b9b4049a8e7d38b49e07bb752780b2f1d792851 | /src/sync/engine/syncer_util.h | f915ba7653a1c029a92b9ba59bb409427405812a | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | webosce/chromium53 | f8e745e91363586aee9620c609aacf15b3261540 | 9171447efcf0bb393d41d1dc877c7c13c46d8e38 | refs/heads/webosce | 2020-03-26T23:08:14.416858 | 2018-08-23T08:35:17 | 2018-09-20T14:25:18 | 145,513,343 | 0 | 2 | Apache-2.0 | 2019-08-21T22:44:55 | 2018-08-21T05:52:31 | null | UTF-8 | C++ | false | false | 4,337 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// Utility functions manipulating syncable::Entries, intended for use by the
// syncer.
#ifndef SYNC_ENGINE_SYNCER_UTIL_H_
#define SYNC_ENGINE_SYNC... | [
"changhyeok.bae@lge.com"
] | changhyeok.bae@lge.com |
55958ebb389bf3ac75d2735c381be242a323ab9b | 4eb4242f67eb54c601885461bac58b648d91d561 | /third_part/indri5.6/ExtentRestrictionModelAnnotatorCopier.hpp | ffe7e39b2fb2562a8765ae1d833021b9ab3e639c | [] | no_license | biebipan/coding | 630c873ecedc43a9a8698c0f51e26efb536dabd1 | 7709df7e979f2deb5401d835d0e3b119a7cd88d8 | refs/heads/master | 2022-01-06T18:52:00.969411 | 2018-07-18T04:30:02 | 2018-07-18T04:30:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,966 | hpp | /*==========================================================================
* Copyright (c) 2004 University of Massachusetts. All Rights Reserved.
*
* Use of the Lemur Toolkit for Language Modeling and Information Retrieval
* is subject to the terms of the software license set forth in the LICENSE
* file include... | [
"guoliqiang2006@126.com"
] | guoliqiang2006@126.com |
11d998f032fdc02a6775424bce4d993eefd27d7f | 53a82f3f1af0d44d3886cea7925966617cd8db5c | /UVA/437/10894967_AC_0ms_0kB.cpp | 1e3f5ce66ea8d49d906463746366de62c998ae74 | [] | no_license | kmtusher97/Solved-Problems | d24968a0b0fcb01ac3f13b4fb25ab6445c95d07b | 6882df43d0bbb62169e8216665ea9cfb0d875ba7 | refs/heads/master | 2020-04-09T11:34:40.283984 | 2018-12-04T07:53:37 | 2018-12-04T07:53:37 | 160,312,784 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,477 | cpp | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define pbk pop_back
#define mk_pr make_pair
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<int, pii> piii;
typedef vector<int> vi;
typedef vector<pii> vii;
typedef vector<string> vss;
typedef queue<int> qi;
const int MX = 1123456;
in... | [
"kmtusher97@gmail.com"
] | kmtusher97@gmail.com |
a3341d1da939b8131904c81712b6c4a571f0cfc9 | 4706b7a3c532daa215d6389634966ac58826d7b8 | /Library's/V1/entity_classes.hpp | 41175cbea6d24a73c28ee797a9439f3aaf0a08cf | [] | no_license | Jipolie01/Project_Laser_Turtle | a24753437bf0c5f18f6b96a8dd4fa64133bcf869 | 008bac99fb01d3184216a560b2986ac86e112b7a | refs/heads/master | 2020-09-22T08:27:11.439996 | 2016-11-11T11:29:05 | 2016-11-11T11:29:05 | 67,600,867 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,267 | hpp | #include "hwlib.hpp"
#ifndef ENTITY_CLASSES_HPP
#define ENTITY_CLASSES_HPP
class my_player_information {
private:
char16_t compiled_bits;
public:
my_player_information():
compiled_bits(0)
{}
char16_t get_compiled_bits(){
return compiled_bits;
}
void set_compiled_bits(... | [
"klimtim@hotmail.com"
] | klimtim@hotmail.com |
1e8633df4eb07b88c82d373538813fdf4d209053 | 9f9d75e94c603d47adc87889a00d1e2b611cd8ea | /STLandDIYProject/STLMap.cpp | 4415ee33842a66c84ce309f4d0dc2542dd47de40 | [] | no_license | anguspoole/CustomContainers | 9f1a8f1b5d85276f8a42ea06ac39271e4b01a872 | b7b872ea8551d5f5a992f45ecd95cdc63725e149 | refs/heads/master | 2020-05-24T03:56:09.662028 | 2019-06-02T00:59:34 | 2019-06-02T00:59:34 | 187,082,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,380 | cpp | //The implementation for the STL Map
#include "STLMap.h"
#include <fstream>
#include <iostream>
#include <time.h> /* clock_t, clock, CLOCKS_PER_SEC */
#include <math.h> /* sqrt */
#include <algorithm>
#include <Windows.h>
#include <Psapi.h>
//clock_t perfClock;
std::map<int, sPerson> people;
std::map<int,... | [
"anguspoole@gmail.com"
] | anguspoole@gmail.com |
52199f662b8dc34e39a141f39b9b3ae4e4c67a94 | 0b2eb0455c00efaba3501af887a94c20de5ebdcd | /WS05/at-home/Fraction.cpp | bc129bfe048e861656aa82d851d22589142a1a14 | [] | no_license | C067/OOP244_WS5 | 3655778fb796f319132d8bef3b749c1864adabab | 54a6a42192ce5398aa104a92ed2d0897b88c2802 | refs/heads/master | 2020-03-28T16:40:15.860430 | 2018-09-14T01:34:51 | 2018-09-14T01:34:51 | 148,717,459 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,514 | cpp | //Name: Callum Dodge
//Date: June 14, 2016
//Workshop: Workshop 5 - In Lab
//Section: D
// TODO: insert header files
#include "Fraction.h"
// TODO: continue the namespace
#include <iostream>
using namespace std;
namespace sict {
// TODO: implement the default constructor
Fraction::Fraction() {
numerator = 0;
d... | [
"noreply@github.com"
] | C067.noreply@github.com |
8ce6631be7e90b87942a5906b54be50ad315440c | 5dee8c109874a8664659fbeb240125a1cee8180d | /Map/Map.h | 93c65108a485eb7006f9a1a91d19f0814e519336 | [] | no_license | DionysusBenstein/DynamicDataStructures | 2572582eef20efac0ff6e6167ffb8f28ff68b996 | c4b2bea645cee965b80f19e3c1bbc8afe7b00646 | refs/heads/master | 2020-03-19T10:03:25.386834 | 2019-01-02T11:50:19 | 2019-01-02T11:50:19 | 136,339,733 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,171 | h | /*******************************************************************/
/* Original File Name: Map.h */
/* Date: 21-09-2018 */
/* Developer: Dionysus Benstein */
/* Copyright © 2018 Dionysus Benst... | [
"gromovdenis962@gmail.com"
] | gromovdenis962@gmail.com |
33924e796c659d4a8fd88b2b58c4cd1432742e80 | 7a871ee16468dee7878ea590ae0aecb919d8c211 | /turtlebot_controller/src/pose.cpp | 2a28eaf9ccf705483d9c6187a8eb7b2d2027bacf | [] | no_license | marcore94/robotics | 653a8e108f203895a557954e298c2fd32c140495 | e766c4a8700a75afb849b2bb9b9b4c8a999df9b4 | refs/heads/master | 2021-01-19T21:51:05.943223 | 2017-07-26T12:48:28 | 2017-07-26T12:48:28 | 88,715,287 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,828 | cpp | #include "ros/ros.h"
#include "geometry_msgs/PoseStamped.h"
#include "nav_msgs/Odometry.h"
#include "tf/transform_datatypes.h"
#define NAME_OF_THIS_NODE "pose"
class ROSnode
{
private:
ros::NodeHandle Handle;
double x, y, yaw, roll, pitch, t;
ros::Publisher posePub;
ros::Subscriber odomSub;
void odomCallback(c... | [
"marco94.re@gmail.com"
] | marco94.re@gmail.com |
4973ce4879e135d2c6de9d7d025e120bc4cd893f | 1e3c7d0ac489131f73ce199f0037d3c56a9cb024 | /src/practice/02_lighting/02_basic_lighting.cpp | ea6c088016c102c4791a77393b50e9ea22a99b09 | [] | no_license | 2Dou/LearnOpenGL | 20f0f2322c4feb5d12928a9206d55ca11a680600 | 9f33991e52cd716baedc949b85506fc843e1531e | refs/heads/master | 2020-05-02T01:58:26.185964 | 2019-05-07T01:38:12 | 2019-05-10T06:49:09 | 177,694,206 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,222 | cpp | // Created by SelFree on 2019/3/4.
// Copyright © 2019年 SelFree. All rights reserved.
#include <glad/glad.h>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include "src/util/util.h"
#include "src/common/camera.h"
#include "src/practice/02_lighting/02_basic_lighting.h"
namespace lighting {
B... | [
"h3rvgo@gmail.com"
] | h3rvgo@gmail.com |
30372a86a3639045a3921ecf17d9543892393d3e | 15d77b58703cc54f6a07f523e8936cbeb152c30e | /src/qt/splashscreen.cpp | 3c239a0b174c6cf28096798546aca2adaebbe7be | [
"MIT"
] | permissive | michilumin/mooncoincore-wallet | 36e107ca9f3d28fa285bb0763207f9272cbdadfe | aae3f69d2892e3c9f183bd79691442fa062a6fda | refs/heads/master | 2021-03-31T01:03:23.952144 | 2018-03-14T09:35:06 | 2018-03-14T09:35:06 | 125,113,129 | 8 | 0 | MIT | 2018-07-18T05:17:07 | 2018-03-13T20:52:04 | C++ | UTF-8 | C++ | false | false | 3,377 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "splashscreen.h"
#include "clientversion.h"
#include "init.h"
#include "networkstyle.h"
#include "ui_interface.h"
#i... | [
"bkrith@hotmail.com"
] | bkrith@hotmail.com |
a47189e23b40f4fda7cd521e048b7517b416b2c8 | d914401dc06e540515ad586a58e67a2eb800c16c | /huiZhongLesson/lesson30-2/lesson30-2/源.cpp | e47218d262743e4e4cd4d9c95a97ac9ce9067273 | [] | no_license | CatherineIsNotHere/MyStudyProject | ba00072c6fdebfd716890aa46e32b89fa5fd8ce8 | a41c5d644ea8fc111aa5843e6c1e588ce3a96a64 | refs/heads/master | 2020-03-07T02:44:04.957533 | 2018-08-23T03:51:23 | 2018-08-23T03:51:23 | 127,215,801 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 417 | cpp | #include <stdio.h>
class CMyClass{
public:
virtual void fun(){}
void fun(int){}
};
class ClassA{
public:
virtual void fun(){
printf("ClassA");
}
void fun2(int a){
printf("ClassA fun2");
}
};
class ClassB:public ClassA
{
public:
void fun(){//override
printf("ClassB");
}
void fun2(){//overwrite
printf... | [
"37690797+CatherineIsNotHere@users.noreply.github.com"
] | 37690797+CatherineIsNotHere@users.noreply.github.com |
a056de01bb87d9e5b9924f59e58d4492ea6c7cc6 | 6e27d609be1f367dffe5fcdfdb579eddddfd5bc2 | /chapter03/06. NumbersInOrder.cpp | 4bc53fe45e486db792004352ba029d4037029a6a | [] | no_license | seanmoreton/ppp_cpp_stroustrup | f2b674eba52ba8e02865d670b2dd3eb9c0fee761 | e04c271bc53ef044c3e8d9d36ed8046bdbab784e | refs/heads/master | 2021-01-21T13:21:19.188920 | 2016-04-22T19:41:57 | 2016-04-22T19:41:57 | 55,440,119 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 929 | cpp | #include <iostream>
#include <string>
using namespace std;
int main()
{
int val1 = 0;
int val2 = 0;
int val3 = 0;
cout << "Enter three integers seperated by a space:\n";
cin >> val1 >> val2 >> val3;
cout << "Values inputted: " << val1 << ", " << val2 << ", " << val3 << endl;
int smallest;
int middle;
int ... | [
"seanmoreton@hotmail.co.uk"
] | seanmoreton@hotmail.co.uk |
2884378ca620614cfc99da37836190eafa85a935 | bea2bee0bda9196803b953e51ca27289713506db | /include/Graph.h | 3f7adc7af6e04222f9677f44ca8590fb85520634 | [] | no_license | hthuynh2/Sava | a93094256146c8c3402d02412d9fd2e367014189 | a333bba8fae6708f59d8dee88f6f2199744f1c74 | refs/heads/master | 2021-03-22T03:26:45.439603 | 2017-12-03T19:09:13 | 2017-12-03T19:09:13 | 111,761,582 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 67,026 | h | #ifndef Graph_h
#define Graph_h
#include "Vertex.h"
#include "UDP.h"
#include "operations.h"
#include "master_scheduler.h"
#define OUTPUT_FILE_NAME "graph_output"
template <typename VertexType, typename MessageValue>
class Graph: public Graph_Base{
public:
Graph(){};
Graph(bool is_weighted_, bool is_directed... | [
"hthieu96@gmail.com"
] | hthieu96@gmail.com |
42fb5cb269cc220cda3a391512518d0dabcf8b8e | 15df5a5837fcd8b4dc90d28a470ecbedf104f915 | /Codeforces/Almost Arithmetical Progression.cpp | 47466fd335d070749839de3f90f1351281e87b19 | [] | no_license | karim19mohamed/Competitive-Programming-Trainning | 888e05551dfd5285811143936360e9d3aee039ad | 27372dd610b57803a79115c4166675fbf1b1c5c2 | refs/heads/master | 2022-05-08T05:33:49.243995 | 2022-04-27T06:25:14 | 2022-04-27T06:25:14 | 244,510,424 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 963 | cpp | #include <iostream>
#include <stdio.h>
#include <cmath>
using namespace std;
int n;
long long arr[4009],di[1000009],ans,a,c,d;
int b;
int main()
{
scanf("%d",&n);
for (int i=0;i<n;i++){
scanf("%lld",&arr[i]);
if (i>0){
if (b==0 && arr[i-1]<=arr[i]){
a=arr[i-1];
... | [
"noreply@github.com"
] | karim19mohamed.noreply@github.com |
6b7151ce894bc9205dcacb00e6f616fcbd144c87 | 9f3ebb254a9f630add64997a64ddfe0f68f26769 | /color-mixing2/color-mixing2.ino | b66b8b643478510172c6efdb62ae716025599ac6 | [] | no_license | vjuranek/arduino-playground | a42f483b8a288b1b69cfc06c5614aaf5847b32c5 | d4867d08f218d6876b35e484185255ca8a9117cf | refs/heads/master | 2021-05-01T07:51:41.246935 | 2020-03-03T21:51:24 | 2020-03-03T21:51:24 | 121,166,548 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 936 | ino | const int redIn = 2;
const int blueIn = 3;
const int greenIn = 4;
const int redPin = 9;
const int bluePin = 10;
const int greenPin = 11;
int pressedRed = 0;
int pressedBlue = 0;
int pressedGreen = 0;
void setup() {
Serial.begin(9600);
pinMode(redIn, INPUT);
pinMode(blueIn, INPUT);
pinMode(greenIn, INPUT);
... | [
"vojtech.juranek@gmail.com"
] | vojtech.juranek@gmail.com |
98c6d4b30ba768d42217d8e6e54c90d2b0df9e3d | f50073efa52f136df19f4fdc58a33633da847c08 | /Ams_Win_New/FRM_FIND_DB_POS.cpp | 9ce0abbaae27fbe9abff5655c9ebf6581930017b | [] | no_license | pavelaltman/ams_src | 3d927a589c0fe216989b794b488ed0edac74d65d | 46b400ca1f70975c520d4ff3c852e6ab3b7d8235 | refs/heads/master | 2020-06-01T05:41:03.427063 | 2015-04-25T13:11:21 | 2015-04-25T13:11:21 | 34,567,690 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 19,253 | cpp | //---------------------------------------------------------------------------
#include "AMS_HDR.H"
#pragma hdrstop
#include "FRM_FIND_DB_POS.h"
#include "DAT_MOD.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma link "Oracle"
#pragma link "AmsInput"
#... | [
"altmanpavel@gmail.com"
] | altmanpavel@gmail.com |
d78f8b650f6560609528aa68b5f7c4bce8b4cd8b | 41b4adb10cc86338d85db6636900168f55e7ff18 | /aws-cpp-sdk-kms/include/aws/kms/KMSClient.h | c22bd1ca89903290bfb47c3c5f723c83b8e57217 | [
"JSON",
"MIT",
"Apache-2.0"
] | permissive | totalkyos/AWS | 1c9ac30206ef6cf8ca38d2c3d1496fa9c15e5e80 | 7cb444814e938f3df59530ea4ebe8e19b9418793 | refs/heads/master | 2021-01-20T20:42:09.978428 | 2016-07-16T00:03:49 | 2016-07-16T00:03:49 | 63,465,708 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 90,536 | h | /*
* Copyright 2010-2016 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" file... | [
"henso@amazon.com"
] | henso@amazon.com |
4d298337c913b5c3f91f97d0ad840cfd2cdfbf1c | 19d31d9b1ab095a1120058407ed0edaa12f2db38 | /June_30/hw_task_02_1/Array-hw_2_1.cpp | be00452d937e185d6c3d75ffb7e6b0e70b954374 | [] | no_license | dbagnyuk/cpp-cource-1 | 501f3e555dc786c97128f61fc12b953086b53baf | 4a374841dc8743a2f5401cef188258bfcd7c8ecd | refs/heads/master | 2020-03-06T22:42:37.172909 | 2018-04-16T08:36:53 | 2018-04-16T08:36:53 | 127,110,671 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,532 | cpp | // create Array with 20 random numbers.fill it by the rand() % 21.
// output numbers and count of it.
#include "stdafx.h"
#include <iostream>
#include <stdlib.h>
#include <time.h>
#include <iomanip>
using namespace std;
void FillArraybyRandomNumbers(int * InputArray, int Size);
void OutputArray(int * O... | [
"noreply@github.com"
] | dbagnyuk.noreply@github.com |
955595cbebdf679dba49eb061658533848df274d | f3562b1fd70da5883b2d5f851c3303c0e684ba92 | /pep_coding_ip/sun_oct_27/circle_of_strings.cpp | 3ac2c1212a9a339b2cc64ccc8f036c6fbb015b1e | [] | no_license | himanish-star/cp_codes | d12581bbadf6063d085778e8e78686e30c149c91 | 5d13d537ed744ce783cf7f7188b058b7a44631a3 | refs/heads/master | 2021-07-13T04:44:46.872056 | 2020-07-13T11:57:40 | 2020-07-13T11:57:40 | 162,413,025 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,178 | cpp | #include<bits/stdc++.h>
using namespace std;
bool ringForms;
int startLetter;
void dfs(int u,int v,vector<vector<int>> &adj,int n,int depth) {
// printf("edge %c->%c\n",u+'a',v+'a');
adj[u][v]--;
bool newPath=false;
for(int i=0;i<26;i++) {
if(adj[v][i]) {
newPath=true;
... | [
"shmiitian@gmail.com"
] | shmiitian@gmail.com |
d993e0ee5052bc82b1ae1f5cb3edcd156117db80 | 03aebd1ca8d8a6f025405ab57561fc89a9d6de82 | /BadMemories/BadMemories/Chapter1Test.cpp | 231d1b232631a4dbcc76248380cf61b4382af421 | [] | no_license | gttgttgt/metest | ada38f9000f45c8d43a6f35797702f68e4459672 | c3e79e2bb85f4652194127aacb86a42743a1f1db | refs/heads/master | 2020-05-22T21:09:01.496533 | 2019-07-18T12:33:05 | 2019-07-18T12:33:05 | 186,521,903 | 0 | 1 | null | 2019-06-23T13:29:35 | 2019-05-14T01:30:37 | C++ | SHIFT_JIS | C++ | false | false | 2,396 | cpp | #include "pch.h"
#include "StringEditCStyle.h"
/// Chapter1-1
/// 文字列、HelloWorld!をHelloJapan?に変換する。
/// 本テストをパスするコードを実装する。
/// 変換処理はHelloWorldToHelloJapan()に実装すること。
/// HelloWorldToHelloJapanのI/F(引数・戻り)は適宜変更してよい。
/// 下記テストコードの指定範囲は適宜変更すること。
/// Inputの文字列がHelloWorld!であることは前提としてよい。
/// Cの範囲で実装すること。C標準ライブラリ・Win32APIは使... | [
"48040999+gttgttgt@users.noreply.github.com"
] | 48040999+gttgttgt@users.noreply.github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.