blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 26 | license_type stringclasses 2
values | repo_name stringlengths 7 95 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 57
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 197k 639M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 11
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 34
values | src_encoding stringclasses 18
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 11 9.86M | extension stringclasses 27
values | content stringlengths 11 9.86M | authors listlengths 1 1 | author stringlengths 0 70 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
20a3dc30ae47cf34591d28fff378c9c04779e9b2 | 0b0c045b7ba139bc19e22c07efb08b9072c8eb71 | /Xor Queries.cpp | b6efdde1fcd70add3902c684aa80555dc5a4b128 | [] | no_license | chetanpant11/InterviewBit-Solution | 1cb1ecc91499eff497849e120aeca12e268675a7 | b6e2b96f60255e1d8ff1c7c7927de3d6b3cf634e | refs/heads/master | 2022-11-07T07:03:27.346753 | 2020-06-15T16:32:56 | 2020-06-15T16:32:56 | 258,663,726 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,571 | cpp | #include <bits/stdc++.h>
using namespace std;
vector<vector<int>>ans(3, vector<int>(2));
void solve(vector<int>&v, vector<vector<int>>&v1)
{
vector<pair<int, int>>p(v.size());
if(v[0]==1)
{
p[0].first=0;
p[0].second=1;
}
if(v[0]==0)
{
p[0].first=1;
p[0].second=0;... | [
"43753655+chetanpant11@users.noreply.github.com"
] | 43753655+chetanpant11@users.noreply.github.com |
3643ab2fd23e19a52527e144dfa0a7b6a619e690 | 594975831ea01c49bc9a3253ca1ccbac9f4f5eea | /app/include/DataStructCom/SeekerTrackingTargetInfo.h | 3c26e035017535dececa6a477d2a826013c723fe | [] | no_license | WarfareCode/linux | 0344589884de3d345b50fa8ba9cad29e94feb9c6 | a0ef3d4da620f3eeb1cf54fa2a86e14c9b96c65a | refs/heads/master | 2021-10-09T18:32:47.071838 | 2018-12-25T08:14:56 | 2018-12-25T08:14:56 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,586 | h | //SeekerTrackingTargetInfo.h: interface for the CSeekerTrackingTargetInfo module.
//!!HDOSE_CLASS(CSeekerTrackingTargetInfo,CEvt)
//////////////////////////////////////////////////////////////////////
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#if !defined(AFX_SeekerTrackingTargetInfo_H)
#define AFX_S... | [
"chen_lihong@126.com"
] | chen_lihong@126.com |
4c98cf51446d0950e9964ead313bffa3e4a64371 | 496a2baaec5ffc40a819b8aec5caa45f28ccf48f | /codejam21/moonsAndUmbrellas.cpp | a03762bfb425a73b9191883cf7e859e286512f0a | [] | no_license | vishnubhagwan/Programs | 2c08a8d39ce8d2ec06ee738ad1205f4d8c6d56c8 | 4d5865153d6c5ab4784695d042a5564aee2f608c | refs/heads/master | 2023-07-31T06:34:55.729591 | 2021-10-05T02:48:03 | 2021-10-05T02:48:03 | 56,873,763 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,919 | cpp | #include <iostream>
#include <iomanip>
#include <queue>
#include <vector>
#include <algorithm>
#include <map>
#include <stack>
#include <set>
#include <assert.h>
#define pii pair<int, int>
#define fi first
#define se second
#define vipii vector<int, pair<int, int> >
#define ipii pair<int, pair<int, int> >
using names... | [
"govind@Govinds-MacBook-Pro.local"
] | govind@Govinds-MacBook-Pro.local |
5bc6193e8dea89b07ea3c293d641f2323dc90ebd | 7a7c5f13593e5ce2bed19e14097373a91e5b525b | /BOJ/BOJ_2290.cpp | 023c8590ab33d942fb9c0d92aa7d14cb41da5f6f | [] | no_license | SJ0000/PS | 21c3be71112fe473bfd1e164c131446f03fdf055 | 911d948d0f11a02a61acb53bb122bd335b71476c | refs/heads/master | 2023-01-12T02:49:55.217982 | 2023-01-03T02:39:57 | 2023-01-03T02:39:57 | 141,817,864 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 2,275 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <string>
using namespace std;
int n;
string s;
string ans[30];
/* pos
-- 1
l l 2 3
l l
-- 4
l l 5 6
l l
-- 7
*/
void printLine(char ch, int pos) {
string block, space;
for (int i = 0; i < n; i++) {
block += ch;
sp... | [
"skrek269@naver.com"
] | skrek269@naver.com |
760f1bd18868bcd8033ca281ee3b81baf78cee2f | 6c21e958bc79c22aaeef6ada093872add6b7167a | /src/core/timer/jobs/autoattack.cpp | ebc1a1db59cf668b6e4f3d16f69570f015849771 | [] | no_license | Ockin/trogdor-pp | 609acc27478947241f79963400c267f5a6499413 | d8899d64542ed42597511de4e5b0e51a44737e96 | refs/heads/master | 2020-12-11T07:59:34.459591 | 2015-04-02T17:51:59 | 2015-04-02T17:51:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 560 | cpp | #include "../../include/timer/jobs/autoattack.h"
using namespace std;
namespace core {
void AutoAttackTimerJob::execute(TimerJob &job) {
if (!aggressor->isAlive() || !defender->isAlive()) {
job.setExecutions(0);
return;
}
else if (!defender->isAttackable()) {
job.s... | [
"crankycyclops@gmail.com"
] | crankycyclops@gmail.com |
7e473da12206f46a0c85a4c1065f7bf92f681448 | 3ac997391aa9b625dd41a50fdf33efca4fbdfe74 | /src/lib/dll/lib_win/bins/obj_fast_joint_vs_bin.cpp | b356c244771dca01fbb48f9f95ef3a858ef07d30 | [] | no_license | kuina/Kuin | 1f61556a680d28843457392226bf41152d8fb8c5 | b63a042e88a279f356ac85455113a957b6c98fe6 | refs/heads/develop | 2023-07-19T06:52:50.689013 | 2022-01-01T07:27:39 | 2022-01-01T07:27:39 | 76,501,549 | 310 | 36 | null | 2023-01-28T15:32:54 | 2016-12-14T22:16:02 | C++ | UTF-8 | C++ | false | false | 22,281 | cpp | #include "../../common.h"
const U8* GetObjFastJointVsBin(size_t* size)
{
static const U8 obj_fast_joint_vs_bin[0x00000E3C] =
{
0x44, 0x58, 0x42, 0x43, 0xCF, 0xF6, 0x44, 0x8A, 0x24, 0x1D, 0x8F, 0x8C, 0x27, 0x2B, 0x9E, 0xF0, 0xC4, 0x73, 0x99, 0xDD, 0x01, 0x00, 0x00, 0x00, 0x3C, 0x0E, 0x00, 0x00, 0x05, 0x00, 0x00, 0x... | [
"kuinatesso@gmail.com"
] | kuinatesso@gmail.com |
f3e478682bc02a0781cac163847035b220eafdeb | b4e9ff1b80ff022aaacdf2f863bc3a668898ce7f | /lime/Bsvgpath/Export/macos/obj/src/lime/utils/AssetCache.cpp | 5ee115a29ebdf4e1ffdfcef12510ba1ba74bfe79 | [
"MIT"
] | permissive | TrilateralX/TrilateralSamples | c1aa206495cf6e1f4f249c87e49fa46d62544c24 | 9c9168c5c2fabed9222b47e738c67ec724b52aa6 | refs/heads/master | 2023-04-02T05:10:13.579952 | 2021-04-01T17:41:23 | 2021-04-01T17:41:23 | 272,706,707 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 12,161 | cpp | // Generated by Haxe 4.2.0-rc.1+7dc565e63
#include <hxcpp.h>
#ifndef INCLUDED_Std
#include <Std.h>
#endif
#ifndef INCLUDED_StringTools
#include <StringTools.h>
#endif
#ifndef INCLUDED_haxe_Exception
#include <haxe/Exception.h>
#endif
#ifndef INCLUDED_haxe_IMap
#include <haxe/IMap.h>
#endif
#ifndef INCLUDED_haxe_ds_Str... | [
"none"
] | none |
49ba8e7b111207748c3092ea4d1cce6ae3144d5c | c67cbd22f9bc3c465fd763fdf87172f2c8ec77d4 | /Desktop/Please Work/build/Android/Preview/app/src/main/include/Fuse.Text.ShapedRun.P-e637870f.h | 9d3bb6b718f927a1c09cf8ff8f291350d7666c4d | [] | no_license | AzazelMoreno/Soteria-project | 7c58896d6bf5a9ad919bde6ddc2a30f4a07fa0d4 | 04fdb71065941176867fb9007ecf38bbf851ad47 | refs/heads/master | 2020-03-11T16:33:22.153713 | 2018-04-19T19:47:55 | 2018-04-19T19:47:55 | 130,120,337 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,854 | h | // This file was generated based on C:/Users/rudy0/AppData/Local/Fusetools/Packages/Fuse.Text/1.8.1/ShapedRun.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Text.PositionedGlyph.h>
#include <Uno.Collections.IEnumerator.h>
#include <Uno.Collections.IEnumerator1-1.h>
#... | [
"rudy0604594@gmail.com"
] | rudy0604594@gmail.com |
b69bd75ffa43e19c3c661d85bef65e55e66ea848 | 9ae445462609dc53af297e98c428e5f297cb53c3 | /PZ1/Model2/Пчела.cpp | 8f74aa9c1651b01be949223797e799f737d8cf92 | [] | no_license | bairdob/MaximovArchitectureIS | b147e500a380b5c3110770e3f057c8ac1d1888c3 | c17e79460a697e0a5e36dc6ed67613217f8a3e0c | refs/heads/main | 2023-04-17T08:48:20.546524 | 2021-05-05T19:00:21 | 2021-05-05T19:00:21 | 339,832,774 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 92 | cpp | /**
* Project Untitled
*/
#include "Пчела.h"
/**
* Пчела implementation
*/
| [
"krumane@mail.ru"
] | krumane@mail.ru |
717d9f847912a5fb2bb67a7d21453e078db9e1d9 | 7d047ddfa804526639a7000f6bec6472ac308605 | /Combination Sum II.cpp | 50a98cd8849432f4ae606bdd1329a5b5a96391e7 | [] | no_license | YuxuanHe/Leetcode | 7e7c5d6c76aa6caa5c17c49de1dfd2e106039385 | c4799aade380a20f46f2737bc2d3e19c954e2bbd | refs/heads/master | 2021-01-10T14:42:58.447611 | 2015-11-21T23:30:46 | 2015-11-21T23:30:46 | 44,711,436 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 857 | cpp | class Solution {
public:
void helper(vector<vector<int>> &res, vector<int> &sol, int index, vector<int> candidates, int target) {
if(target == 0) {
res.push_back(sol);
return;
}
for(int i = index; i < candidates.size(); i++) {
if(target <= 0 || (i != index... | [
"yuxuanhe2016@u.northwestern.edu"
] | yuxuanhe2016@u.northwestern.edu |
8ac67c2479f1435a8d449f33fe6be875a0ef2f70 | dfb5f30c657cdb6cff905b7473fe4c162cf94cca | /Components/NOT.cpp | ada4dd01014aff66aeae2aa3ffc2a2b4fce54021 | [] | no_license | KarimAshraf1995/CMPN103_ProjectS2016 | 08c7f005eb4dc5473aaa6f51219ac66aaa477876 | 694acbba812f690bf0cf486c5e234a6bbe117d13 | refs/heads/master | 2021-01-25T00:38:32.081877 | 2017-06-18T12:39:04 | 2017-06-18T12:39:04 | 94,685,044 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,832 | cpp | #include "NOT.h"
#include "../Utility/PrecisionChecker.h"
#include <fstream>
using std::ifstream;
using std::ofstream;
NOT::NOT( int r_FanOut):Gate(1,r_FanOut)
{
}
NOT::NOT(const GraphicsInfo &r_GfxInfo, int r_FanOut):Gate(1, r_FanOut)
{
m_GfxInfo.x1 = r_GfxInfo.x1;
m_GfxInfo.y1 = r_GfxInfo.y1;
m_G... | [
"noreply@github.com"
] | noreply@github.com |
d5340bd591b85676689e3791d24fc0184d19d169 | d2a3870cca3eaef6fc5c998fb2d724c9416cb0cd | /src/utility/w5500.cpp | 133ed0b64219dc1995bb941ab09a8d2624eeec94 | [] | no_license | d-a-v/W5500lwIP | 17897bc2c9e822931213b041c1bfc7d36349e9b0 | 6e69025eb85511c1386af3ff625b218659820e1c | refs/heads/master | 2021-06-24T17:26:43.616849 | 2020-12-22T21:56:09 | 2020-12-22T21:56:09 | 132,465,686 | 42 | 12 | null | 2019-06-20T09:27:55 | 2018-05-07T13:37:36 | C++ | UTF-8 | C++ | false | false | 9,306 | cpp | /*
* Copyright (c) 2013, WIZnet Co., Ltd.
* Copyright (c) 2016, Nicholas Humfrey
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above... | [
"gauchard@laas.fr"
] | gauchard@laas.fr |
185dbd6507675635b3fb8882fc1fecea129bbfd6 | 1f9de3f854708161db9dd15f4c8cfbc7e40fd562 | /Source/Aria/AriaCharacter.h | 731d9fd00dccf065a5ebfea24fdfe1f0081f4251 | [] | no_license | chris-hamer/Aria | 2a1c6e058c98d6397a0865caaf852f655353eb7b | e1f3e580dcd1f4bfce8afc99eb4244f28c237281 | refs/heads/master | 2021-04-26T23:29:14.540909 | 2018-07-04T04:22:13 | 2018-07-04T04:22:13 | 124,003,476 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,415 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Pawn.h"
#include "AriaMovementComponent.h"
#include "AriaCharacter.generated.h"
UCLASS()
class ARIA_API AAriaCharacter : public APawn
{
GENERATED_BODY()
public:
// Sets defa... | [
"chamer1@umbc.edu"
] | chamer1@umbc.edu |
41181d34a4401bddd9e9d4abcb61e2daaabc95b2 | 0a81c689071d0c2100f52091c223b4c0258cdae5 | /extensions/CocoGUILIB/System/UIInputManager.h | 17e963bab0245cda367613e005e9f64ad8f8bfb6 | [
"MIT"
] | permissive | chelin192837/Cocos2d-x-For-CocoStudio | 67ba3dfbf20f7dfc41e2782b32b65d5c07b9eb51 | 8c1c38e44103ef27f357b846a9123957a30bab42 | refs/heads/master | 2021-01-22T14:11:45.369082 | 2013-06-24T07:44:58 | 2013-06-24T07:44:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,662 | h | /****************************************************************************
Copyright (c) 2013 cocos2d-x.org
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"), to deal
in the Software with... | [
"magic_new_world@163.com"
] | magic_new_world@163.com |
5a513ee229c405dea2704c2a323ed32c5995022d | 2f00b1f9c227cb30c8658585940d572be524998c | /src/src/lib/geneial/utility/mixins/Buildable.h | 094e2bec7c2f900c4845ce87888beae678c3416b | [
"MIT"
] | permissive | whentze/geneial | b6a92967a68551463368120b7107b1a07193ba5c | 1c03e802f0ec3eb34de134f3eb3fbe5ab62fcfe7 | refs/heads/master | 2020-05-26T01:42:57.455742 | 2019-05-22T15:26:08 | 2019-05-22T15:26:08 | 188,064,093 | 0 | 0 | null | 2019-05-22T15:17:38 | 2019-05-22T15:17:37 | null | UTF-8 | C++ | false | false | 547 | h | #pragma once
#include <memory>
#include <geneial/namespaces.h>
geneial_private_namespace(geneial)
{
geneial_private_namespace(utility)
{
geneial_export_namespace
{
template<typename C>
class Buildable
{
public:
using ptr = std::shared_ptr<C>;
using const_ptr = std::shared_ptr<const C>;
class Builder
... | [
"benedikt.wolters@rwth-aachen.de"
] | benedikt.wolters@rwth-aachen.de |
2d53832116e6770f45e7111c8b67e46384d9d6df | 50fade5bebf7ed89d151fcdce6dd82ac6c11ff3a | /Overdrive/video/window.h | a1f63230d674d74c8a1132f498cc68493f20416b | [
"MIT"
] | permissive | truongascii/Overdrive | bfd754357a46ac0cb753646f9f38f3d2581d84ce | 5dba4e3d29076e68a9036f6b5175fc78a65b0210 | refs/heads/master | 2020-12-30T22:45:28.683533 | 2014-11-09T19:44:58 | 2014-11-09T19:44:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,534 | h | #ifndef OVERDRIVE_VIDEO_WINDOW_H
#define OVERDRIVE_VIDEO_WINDOW_H
#include <string>
#include <vector>
#include <utility>
#include <memory>
#include "opengl.h"
#include "video/monitor.h"
#include "input/keyboard.h"
#include "input/mouse.h"
namespace overdrive {
namespace video {
class Window {
public:
enum c... | [
"mail@grandmaster.nu"
] | mail@grandmaster.nu |
fa2944791d077b4fe285aaadaf5e679a09169c21 | 210b894bafc50e46b04b13d1aab2fe8efee18805 | /Nouse5/StateCalibration.cpp | be673fab5670fd788d7a3cbf43cb01f7b551067f | [
"BSD-3-Clause"
] | permissive | gorodnichy/IVI-Nouse | b2c40a6fddf2a89e87551fe94ea74321c6e82cef | 347d40d7d7bb2baed65415441b7967d5f1e1c144 | refs/heads/master | 2021-07-08T07:29:11.148579 | 2017-10-04T01:46:30 | 2017-10-04T01:46:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,804 | cpp | #include "StdAfx.h"
#include "StateCalibration.h"
CStateCalibration::CStateCalibration(void) :
m_nCountConfirm(3),
m_bQuickCalibrate(false),
m_nClickBoxSize(1),
m_nCountCalibrateSelect(5)
{
m_eWhoAmI = STATE_CALIBRATION;
}
CStateCalibration::~CStateCalibration(void)
{
}
void CStateCalibration::onEntrance(CPVS* pP... | [
"dmitry@gorodnichy.ca"
] | dmitry@gorodnichy.ca |
fd48062b7f64ed45b145aa67e6f02c5d5f34479f | 3cb01b55220a367f1a941599f34ad3c413ddd734 | /Project 1/Debug/DirectXTK/Inc/Audio.h | 4a02af43577b968bd09f5748d5d935b4bf587e42 | [
"MIT"
] | permissive | FreeButter/Team-Project-GP | 81d222136490b0f9c9ce76b0d2b6f5fae462d1ac | 86a603fdf936f7e7a95e26286fe321e27931fc6d | refs/heads/master | 2020-04-10T21:03:02.391126 | 2016-10-24T11:32:58 | 2016-10-24T11:32:58 | 68,062,626 | 0 | 0 | null | 2016-10-08T09:01:40 | 2016-09-13T01:30:03 | C++ | UTF-8 | C++ | false | false | 22,252 | h | //--------------------------------------------------------------------------------------
// File: Audio.h
//
// DirectXTK for Audio header
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTA... | [
"vampirebane@gmail.com"
] | vampirebane@gmail.com |
3726eb42650e38170eff63bb5fb12d384ea939a0 | 509957599ce4078400623651e623c7e44a493aa9 | /Operator_Overloading/Overloading_IO_Output/main.cpp | be48017ce52ad50863ec4c4be6fd7c0f1a57cd84 | [] | no_license | ganeshredcobra/CPP | b9ae075360c17d9c9ff35f185956371a15fb6cde | 3811b5e027d14c33c241fed2559ea68abb8c9c68 | refs/heads/master | 2020-04-03T20:12:03.330434 | 2016-12-16T18:26:17 | 2016-12-16T18:26:17 | 43,020,400 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 702 | cpp | #include <iostream>
class Point
{
private:
double m_x, m_y, m_z;
public:
Point(double x=0.0, double y=0.0, double z=0.0): m_x(x), m_y(y), m_z(z)
{
}
friend std::ostream& operator<< (std::ostream &out, const Point &point);
};
std::ostream& operator<< (std::ostream &out, const P... | [
"noreply@github.com"
] | noreply@github.com |
ef06d6d0effb581c180689639271adb9fdf8b7fa | 6bb86693b655f77784ceec252b08cb98ab7832d0 | /spoj/basic/test.cpp | 48a03c606af5b3c0809da400fc52f35af343563b | [] | no_license | rahulroshan96/placement | 52d80fc800608068303096a2f5bee7c7d8a5251c | 8d63f9e68cd510972300bab54e1e2a84d818a2df | refs/heads/master | 2020-04-12T09:37:26.388815 | 2018-11-24T07:10:02 | 2018-11-24T07:10:02 | 43,913,700 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 100 | cpp | #include <iosteam>
#include <vector>
using namespace std;
int main()
{
cout<<"Hello";
return 0;
}
| [
"rahulroshan96@gmail.com"
] | rahulroshan96@gmail.com |
de99a2f19d03de46c98a45e52272f2cb0ccdd716 | 6eccfc50c73272c9515b91c641d0e3b3b9e7ba3c | /libraries/client/include/ohl/client/api_logger.hpp | 9e81b3775d75b802810a3810ff3943e9c8dbb856 | [] | no_license | CplSafe/CPLWallet | 5d3c380f039464124c58f3802141f15f172413b1 | 02ffa6deb8c3cdfd57a0e22ca19b12b9f348c00e | refs/heads/master | 2021-08-30T07:29:51.192084 | 2017-12-16T18:36:47 | 2017-12-16T18:36:47 | 114,468,764 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 861 | hpp |
#pragma once
#include <ohl/api/global_api_logger.hpp>
#if OHL_GLOBAL_API_LOG
#include <fc/io/iostream.hpp>
#include <fc/thread/mutex.hpp>
#include <fc/variant.hpp>
namespace ohl { namespace client {
class stream_api_logger : public ohl::api::api_logger
{
public:
stream_api_logger(fc::ostream_ptr output);
... | [
"1441333484@qq.com"
] | 1441333484@qq.com |
dfdcad3d2d4d6589a0151090af78fd27f7b7067f | a9d43905377e59faa570df7adc7368d34696a361 | /v1/binary_tree/print_vertical_order.cpp | d19c4cf24ea4b488892d44451e3650e4a75ed157 | [] | no_license | sukantomondal/cplusplus | 4026ca2cb6553e0da3ac7789d2f87dc698d4dac7 | a67972317e9babdd66ba67eda13656be2a229d62 | refs/heads/master | 2021-06-20T07:05:25.607113 | 2021-01-05T03:00:24 | 2021-01-05T03:00:24 | 160,621,518 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,120 | cpp | /*Print a Binary Tree in Vertical Order | Set 2 (Map based Method)
Given a binary tree, print it vertically. The following example illustrates vertical order traversal.
1
/ \
2 3
/ \ / \
4 5 6 7
/ \
8 9
... | [
"mondalda@gmail.com"
] | mondalda@gmail.com |
e17e252e6b6d5ffe6125d3de14cfc1f2c07299bd | c00df896d0e5bde8f72e07b2d31fce10011dc709 | /EmonTx01.ino | 86c25a06ece74637b2fdf53aebcaed9432c1fefc | [] | no_license | jatg81/EmonTx01 | 9734f5186afd78be0bcf850794aebe904e22a06c | 3340693da6d35f97d300ae57969fc5990901e84d | refs/heads/master | 2020-04-08T23:35:02.054772 | 2018-12-20T20:41:06 | 2018-12-20T20:41:06 | 159,831,157 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,149 | ino | /********************************************************************************************************************************************************************************************/
/* Sketch para el Emontx01 ... | [
"noreply@github.com"
] | noreply@github.com |
d573f9ca2827e9e3d3abe585aa93ca19cd171b90 | 79508a8913c1bc66c2dd00266dc9d1c2cfbdd2fa | /App/Il2CppOutputProject/Source/il2cppOutput/Il2CppCompilerCalculateTypeValues_53Table.cpp | 951e8280f7c2be075ae774c6b61023b66298c919 | [] | no_license | aqua109/IterationOneTest | 184dee658cc4906236065f84478e212212e18945 | a0ea1f7c073858e6c329fb68b0939e5114ce6d9f | refs/heads/master | 2020-07-26T14:38:22.500500 | 2019-09-21T04:31:05 | 2019-09-21T04:31:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 821,499 | 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... | [
"aqua109@aucklanduni.ac.nz"
] | aqua109@aucklanduni.ac.nz |
540999c4eb9cf8ce07573070ed689809663d2f70 | d998bb0bd1182e504df724549eaf6f08aa7247fb | /Labs12/g/main.cpp | 98ed9412c4a685771e0d7fc5a0d15c1699f74c5d | [] | no_license | y0f0/ITMO-algorithms-and-data-structure | e410c17bddf6f1605800f10a4bbbee15d1511fba | 8d377c9255cb2236e0ad9cc985529fcc4612890a | refs/heads/master | 2023-06-21T07:52:45.200771 | 2021-07-27T07:52:52 | 2021-07-27T07:52:52 | 294,503,891 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 716 | cpp | #include <vector>
#include <iostream>
#include <algorithm>
#include <fstream>
using namespace std;
int main() {
ifstream in("knapsack.in");
ofstream out("knapsack.out");
int s, n, x;
vector<int> w;
in >> s >> n;
for (int i = 0; i < n; i++) {
in >> x;
w.push_back(x);
}
vector<vector<int>> ans... | [
"nik.pologov@gmail.com"
] | nik.pologov@gmail.com |
333a10a96287986499fe9e47f7b5113083936650 | 9a646821b5a9cda524de716caf4225a733527876 | /Artem/Task 2 Matrix/Task 2 Matrix/TestMatrix.cpp | 5b7ca55317a3be765a16dc6350a10e714a9fea15 | [] | no_license | SemyonBevzuk/Programming_practice_381908-1-2 | 5cc584508de1ef2871cffad20b293d33b7a41609 | d09de61f3ea11cbc792ba117e0e3ca0171e32310 | refs/heads/master | 2021-01-01T14:47:13.137338 | 2020-06-02T12:36:11 | 2020-06-02T12:36:11 | 239,323,892 | 0 | 19 | null | 2020-06-02T12:36:12 | 2020-02-09T15:08:11 | C++ | UTF-8 | C++ | false | false | 959 | cpp | #include"Matrix.h"
using namespace std;
int main()
{
Matrix matr1, matr2(2, 1), matr3(matr2), matr4(3), matr5(3, 1), matr6(3, 3);
ifstream fin;
ofstream fout;
fin.open("MatrIn.txt");
fout.open("MatrixResult.txt");
matr3 = matr1 + matr2;
fout << "The result of adding two matrixes together:" << endl;
fout << ma... | [
"artem_trukhanov@mail.ru"
] | artem_trukhanov@mail.ru |
a8acd0d65148615b90770f452ce93003793dce69 | d0c7ec22315c9366af69f6ef77d9adf47f16b7f0 | /DeductionServer/DeductionServer/Net/GamePhaseUpdate.h | cdf82d26b415e3436c560cdf849fd0e405ab6b20 | [] | no_license | Muguai/Deduction | 1079f88fe149d38c8922719d649ffe2148a39341 | 8b19f79a9a2963294f92a242efa5bce4e19e1a60 | refs/heads/main | 2023-03-16T19:46:32.554912 | 2021-01-17T23:28:14 | 2021-01-17T23:28:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 324 | h | #pragma once
// WARNING : Auto-generated file, changes made will disappear when re-generated.
#include <iostream>
#pragma pack(push, 1)
class GamePhaseUpdate
{
public:
uint64_t phase;
int64_t timer;
uint64_t previous;
void serialize(std::ostream& os) const;
void deserialize(std::istream& is);
};
#pragma pack(p... | [
"raysloks@gmail.com"
] | raysloks@gmail.com |
71192ddda8f9ba99c4e07f240be03523f1f4bb05 | d98259a6476a52d365a2bab6c7175a00eaeac0f6 | /CreditHelper/lab08/Percent.h | f2bee8cbed5128d0ef451ecc49dd7c8f8d92f0be | [] | no_license | NazarMartyniuk/My_CPP_projects | 0463aeef3372c46e98a8fe4439db618fe64784e9 | 6b1c582702f547438f9a2ea50fad3c58a089fc6b | refs/heads/master | 2023-07-08T04:21:07.711200 | 2021-08-13T11:41:31 | 2021-08-13T11:41:31 | 344,292,209 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 14,403 | h | #include "Credit.h"
namespace lab08 {
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
/// <summary>
/// Сводка для Percent
/// </summary>
... | [
"noreply@github.com"
] | noreply@github.com |
ee2abeb4a9a45dc88b4e76656ed0945806f328a1 | 16048cba139bfca6f594c728380e4e41394558fc | /test/lib/googletest/src/gtest-printers.cc | 0ba79ca3af461adf24a8194bb65506ce1b4166fe | [
"BSD-3-Clause"
] | permissive | niccoloZanieriUnifi/template_images | bb63d93d904b91098ee79432d467c14af4b1671f | 52df42a30416ac73d177050a4a90ec4c9fd9ba71 | refs/heads/master | 2022-12-12T04:52:39.071683 | 2020-08-09T15:34:21 | 2020-08-09T15:34:21 | 284,725,092 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,736 | cc | // Copyright 2007, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions ... | [
"niccolo.zanieri.13@gmail.com"
] | niccolo.zanieri.13@gmail.com |
77d83dd7e681e34449845f4f98cffc244eb94d49 | 7f6d2df4f97ee88d8614881b5fa0e30d51617e61 | /孙宝泉/第5次作业/student.h | 68fec5b82002a501491ad17086f7eebabde7a8ec | [] | no_license | tsingke/Homework_Turing | 79d36b18692ec48b1b65cfb83fc21abf87fd53b0 | aa077a2ca830cdf14f4a0fd55e61822a4f99f01d | refs/heads/master | 2021-10-10T02:03:53.951212 | 2019-01-06T07:44:20 | 2019-01-06T07:44:20 | 148,451,853 | 15 | 25 | null | 2018-10-17T15:20:24 | 2018-09-12T09:01:50 | C++ | UTF-8 | C++ | false | false | 505 | h | #define _CRT_SECURE_NO_WARNINGS
#ifndef _STUDENT
#define _STUDENT
#include<iostream>
#include<string>
using namespace std;
#define SIZE 80
class Student
{
public:
Student();
Student(char* na, char* id, char* num, char* spec, int ag);
Student(const Student &per);
~Student();
char* getName();
char* getID();
... | [
"596599237@qq.com"
] | 596599237@qq.com |
8f8bf4cb6bbf28b42ec85e5afb907aa8bd39fe39 | 0006f89c8d952bcf14a6150e9c26c94e47fab040 | /src/trace/DXInterceptor/dxplugin/DXIntPluginLoaded.h | 2c0d973f1f4e710267b726ce5f2a1785d9abfd12 | [
"BSD-3-Clause"
] | permissive | cooperyuan/attila | eceb5d34b8c64c53ffcc52cd96b684d4f88b706f | 29a0ceab793b566c09cf81af26263e4855842c7a | refs/heads/master | 2016-09-05T18:55:56.472248 | 2013-06-29T14:42:02 | 2013-06-29T14:42:02 | 10,222,034 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,446 | h | ////////////////////////////////////////////////////////////////////////////////
#pragma once
////////////////////////////////////////////////////////////////////////////////
#include "DXIntPlugin.h"
////////////////////////////////////////////////////////////////////////////////
namespace dxplugin
{
class DXInt... | [
"cooperyuan@gmail.com"
] | cooperyuan@gmail.com |
3ea540614f2675ffcf7d6303d661964189b4eca4 | 7391feeb5b8e31f982422bdd74517e954d8c955e | /Net/testsuite/src/HTTPCookieTest.h | adc07e6b2cb6ae07c55502a33bc605c937c941eb | [
"BSL-1.0"
] | permissive | AppAnywhere/agent-sdk | 62d762d0424fc2e8d4a98b79fb150e635adedd4d | c5495c4a1d892f2d3bca5b82a7436db7d8adff71 | refs/heads/master | 2021-01-11T15:22:01.406793 | 2016-09-01T16:36:20 | 2016-09-01T16:36:20 | 80,341,203 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 823 | h | //
// HTTPCookieTest.h
//
// $Id: //poco/1.7/Net/testsuite/src/HTTPCookieTest.h#1 $
//
// Definition of the HTTPCookieTest class.
//
// Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#ifndef HTTPCookieTest_INCLUDED
#define HTTPCoo... | [
"guenter.obiltschnig@appinf.com"
] | guenter.obiltschnig@appinf.com |
637cc97ffda8f36fe61557e900998035690055a6 | 3fa05bd3be30fe7d8b7b7df08e49bbb87403c30b | /apps/tests/testbed/testbed.cpp | 44562686c41b1e068a10be8ec504a6bccfbabfa8 | [] | no_license | joebradly/kMC | e50aaa3a4183e88c1600c59b9780040c6bd077c5 | 3e7b138fc07bb36c6242cde1059bb1fa6f96743c | refs/heads/master | 2020-12-26T18:47:19.358359 | 2014-03-24T19:12:55 | 2014-03-24T19:12:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 44,471 | cpp | #include "testbed.h"
#include "../snapshot/snapshot.h"
#include <unittest++/UnitTest++.h>
#include <iostream>
void testBed::makeSolver()
{
solver = new KMCSolver();
solver->setRNGSeed();
DiffusionReaction::setPotentialParameters(1.0, 0.5, false);
Site::setInitialBoundaries(Boundary::Periodic);
... | [
"jorgen_da_mad@hotmail.com"
] | jorgen_da_mad@hotmail.com |
0cf1381e35fb9080c3e6ed1ab8a3c21c2f60d59d | fbc8bbdf2fcafbbcf06ea87aac99aad103dfc773 | /VTK/Rendering/OpenGL2/vtkDepthPeelingPass.h | ad4d3aad03bd9cb0e3577daebc80b278b0aed67f | [
"BSD-3-Clause"
] | permissive | vildenst/In_Silico_Heart_Models | a6d3449479f2ae1226796ca8ae9c8315966c231e | dab84821e678f98cdd702620a3f0952699eace7c | refs/heads/master | 2020-12-02T20:50:19.721226 | 2017-07-24T17:27:45 | 2017-07-24T17:27:45 | 96,219,496 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,639 | h | /*=========================================================================
Program: Visualization Toolkit
Module: vtkDepthPeelingPass.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This softwar... | [
"vilde@Vildes-MBP"
] | vilde@Vildes-MBP |
64d78dc57eccd0aec4b67c4ba3f124a9981b91c7 | 898aba0ba23c7bfb1af1c0857ad56c814a6d32ba | /CppExamples/Pointers/PointersAndArrays/main.cpp | bab9b340c612d1b0fa011b663ab2ca6f87d95b0a | [] | no_license | andrewbolster/cppqubmarch2013 | 735d4bdefc4e2413969a5bb7a3480969549281fe | cb033fc22f5262daba9f542062d2d0ac40b38f4a | refs/heads/master | 2016-09-05T19:03:32.343921 | 2013-03-22T13:41:27 | 2013-03-22T13:41:27 | 8,875,864 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 832 | cpp |
#include<iostream>
using namespace std;
void printArrayUsingPointerArithmetic(int *);
void printArrayUsingBrackets(int *);
int main() {
int iarray[] = {101,202,303,404,505};
cout << "--- EX 1 ---" << endl;
printArrayUsingPointerArithmetic(iarray);
cout << "--- EX 2 ---" << endl;
printArrayUsingBra... | [
"bolster@localhost.(none)"
] | bolster@localhost.(none) |
0a0895069d417c7f1a859b092d862f32d62bd5a0 | f048ac073eb2bef649a7eddfc69412a3b34e82ca | /Array/arrayRotations/cyclicRotate.cpp | 9866913f7d1bcb7c9277f5afba3288c967da7ad1 | [] | no_license | tiwason/practice | 85189ce6ab2b6d2a233a54a66d8bc89211c9dde4 | e312cc39024a3d87fc2c8982aa83a2e0b38d9d21 | refs/heads/master | 2023-04-26T23:16:25.065399 | 2021-05-23T08:36:06 | 2021-05-23T08:36:06 | 315,837,804 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 785 | cpp | #include <iostream>
using namespace std;
int gcd(int a, int b)
{
if (b == 0)
return a;
else
return gcd(b, a % b);
}
void printArray(int arr[], int n)
{
int i;
for(i=0;i<n;i++)
cout << arr[i] << " ";
cout <<endl;
}
void reverse(int arr[], int start, int end)
{
w... | [
"sonam5488@gmail.com"
] | sonam5488@gmail.com |
7f6e4a29172230ede89278a95593d99f41cd4f1d | 52ce3c5df1ea64d88f7919116a0a50ef43d5483f | /Qualification/reversort-engineering.cpp | 33a0ec44540b386ba034227eb35c71cdd7059aec | [] | no_license | jnobre/Google-Code-Jam-2021 | 0197e5fbeb485022f8f6400e765d213ac8cdaa7a | d0f5e861c1e7518a6eeec7deeb59b97430a95db3 | refs/heads/main | 2023-07-04T01:44:05.799249 | 2021-08-21T15:03:28 | 2021-08-21T15:03:28 | 394,055,818 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 703 | cpp | #include <algorithm>
#include <cstdio>
#include <numeric>
#define MAXN 100
using namespace std;
int l[MAXN], pcost[MAXN];
int main() {
int t;
scanf("%d\n", &t);
for(int tc = 1; tc <= t; tc++) {
int n, c;
scanf("%d %d\n", &n, &c);
if(c < n - 1 || c > (n - 1) * (n + 2) / 2) {
printf("Case #... | [
"joaoanobre@gmail.com"
] | joaoanobre@gmail.com |
3148d9ed4e0b589de89a72eff05055b44939c5c7 | 2cb7ef795d2a12cabc9c97d47bc8b868ee844b88 | /includes/mach-o_reloc.hpp | f7536a2dcaea8f68a35cced51d85b23c8909767a | [
"MIT"
] | permissive | paulhuggett/machowriter | b0a9f207761add304dfc8b544af7f99163add2d2 | 0a2cf64c55984687faa6009ad785a14a562198e5 | refs/heads/master | 2021-07-15T17:02:34.695855 | 2021-06-19T08:45:07 | 2021-06-19T08:45:07 | 187,329,540 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,310 | hpp | #ifndef MACH_O_RELOC_HPP
#define MACH_O_RELOC_HPP
#include <cstdint>
#ifdef __APPLE__
# include <mach-o/reloc.h>
# define CHECK 1
#endif
namespace mach_o {
// Format of a relocation entry of a Mach-O file. Modified from the 4.3BSD format. The
// modifications from the original format were changing t... | [
"paulhuggett@mac.com"
] | paulhuggett@mac.com |
5c852cecab856003d2527175d842d1b8ea862605 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_2749486_0/C++/tough/b.cpp | 85106a314630d2e3c0ae25f6d9d23a9c0a660cdf | [] | 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 | 405 | cpp | #include <cmath>
#include <string>
#include <iostream>
using namespace std;
int main(){
int t;
cin >> t;
int x,y;
int ca= 0;
char ew,sn;
while(t--){
string s;
ca ++ ;
cin >> x >> y;
for(int i = 0 ;i < abs(x) ;i++){
if(x>0)
s+="WE";
else
s+="EW";
}
for(int i = 0 ;i < abs(y);i++){
if(y>... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
0954a957f916ab64a28632559f3096170b157a6e | 8bc6efba41eb3562b52a6998ade337f18b538826 | /classes/Cat.h | 55c2642c371846f7f8a965b9003fb7d63fd0b66b | [] | no_license | KaterynaDudko/cpp_course | a49ae7616d528c00d390b9b4b8b2ae8635690109 | d797a1bff3e31eb2e6e42e01a50afe2728540326 | refs/heads/master | 2022-04-15T15:02:49.777979 | 2020-03-31T13:23:30 | 2020-03-31T13:23:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | h | #ifndef CAT_H_
#define CAT_H_
class Cat {
private:
bool happy;
public:
void speak();
Cat();
~Cat();
};
#endif
| [
"katrinmclawren@gmail.com"
] | katrinmclawren@gmail.com |
94623f262d4a25fe050b06dda20515972e23294b | 59a4648976391959a2a88e43d58828920f3bfb8c | /VarioSW_as/VarioSW/src/lib/CircleFit/data.cpp | 23e4a24730457c7f9d229e3b0fe162079c504ba3 | [] | no_license | Jenatko/VariYO | 871dbcc0eda744daab0bcc484250e5c2ab2d9258 | e68f7e871c2ddfe5746fa28013cbc0fd370e1569 | refs/heads/master | 2022-09-16T14:29:45.241730 | 2022-09-03T22:28:50 | 2022-09-03T22:28:50 | 191,448,893 | 3 | 3 | null | 2021-03-17T22:39:24 | 2019-06-11T21:03:24 | C | UTF-8 | C++ | false | false | 1,952 | cpp | #include "data.h"
//
/************************************************************************
BODY OF THE MEMBER ROUTINES
************************************************************************/
// Default constructor
Data::Data()
{
write_index = 0;
n=0;
X = new reals[n];
Y = new reals[n];
for (int i=0; i<... | [
"z.aba@centrum.cz"
] | z.aba@centrum.cz |
f252f11841a00ae095dc045495ebd97ec749c61c | fe3f31bf0cc79347d0ba6a657302684abc37a420 | /LP1_LAB2/questão3/src/Funcionario.cpp | 550471a309cd7856a724c34bc22af2a2e67db8c5 | [] | no_license | rvfarias/LP1_LAB2 | 18ba8ece10b2e476c0d8ed4873d791097c60f368 | 97b30632f307b32cc17dd1682fc76a67ec66b0ec | refs/heads/master | 2020-06-28T17:59:24.171472 | 2019-08-12T23:15:05 | 2019-08-12T23:15:05 | 200,302,373 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 498 | cpp | #include "Funcionario.hpp"
Funcionario::Funcionario(){
//default
}
void Funcionario::setNome(string nome){
this->nome = nome;
}
void Funcionario::setMatricula(int matricula){
this->matricula = matricula;
}
void Funcionario::setSalario(double salario){
this->salario = salario;
}
strin... | [
"noreply@github.com"
] | noreply@github.com |
7e421111ed49e1701eae70c446dfb6ec5b5dca44 | 610d84e48a664566c0df42dffd518e1c062828b6 | /codebase/CVX_NEW/cvx_clustering.cpp | be072cd06aaa299b194d3e048ba1dadba4d1c68f | [
"BSD-3-Clause"
] | permissive | xinlin192/ConvexLatentVariable | 2605c0bb56fd4cae0ee6c4d98626097db38489ce | d81d2c465796ada22b370e76eaf22065c5823633 | refs/heads/master | 2021-08-27T15:24:00.323233 | 2015-02-06T19:33:19 | 2015-02-06T19:33:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,590 | cpp | #include "cvx_clustering.h"
ofstream ss_out ("../obj_vs_time_dp/iris/CVX-DP-MEDOID");
/* algorithmic options */
#define EXACT_LINE_SEARCH // comment this to use inexact search
/* dumping options */
// #define EXACT_LINE_SEARCH_DUMP
//#define LAMBDA_K_PLOT
const double NOISE_EPS = 0.0;
const double FRANK_WOLFE_TOL ... | [
"linxin@gmail.com"
] | linxin@gmail.com |
beae20661601c010791818772d41198b85b4df66 | 9bf8a225016e45d6ffaf76a626577c1ae60f303c | /apps/common/ospray_testing/builders/Interpolation.cpp | ba5997998b279740007564833dbb47da1362351b | [
"Apache-2.0"
] | permissive | CIBC-Internal/ospray | cccd1c7f85462486b947efa26d79c1de19022b04 | 08111292f4671ed8822e7e0374080d75c15538a2 | refs/heads/master | 2023-07-05T23:21:58.895336 | 2023-06-17T15:16:25 | 2023-06-17T15:16:25 | 130,269,553 | 0 | 1 | Apache-2.0 | 2023-06-23T23:38:17 | 2018-04-19T20:33:05 | C++ | UTF-8 | C++ | false | false | 5,343 | cpp | // Copyright 2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
#include "Builder.h"
#include "ospray_testing.h"
// stl
#include <random>
using namespace rkcommon::math;
namespace ospray {
namespace testing {
struct Interpolation : public detail::Builder
{
Interpolation(
bool subd = false, unsign... | [
"johannes.guenther@intel.com"
] | johannes.guenther@intel.com |
6c4c8e9860a6ce47a36f9c00a102f52dc03ef02a | a08e2804372e63e9070f0d8beab52733aec2b364 | /pat/1136.cpp | a9972813e8a9731111e93e9f3e7d4ad058e10a96 | [] | no_license | luer9/C | a27393addbb65944491497d5bdad7f6883605b86 | e6f1aa1cdbc6aca3132455a389cb8f0b5fe0faf1 | refs/heads/master | 2022-12-01T13:07:58.743140 | 2020-08-26T10:04:32 | 2020-08-26T10:04:32 | 290,456,724 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,691 | cpp | #include <bits/stdc++.h>
using namespace std;
int isPal(string num) {
int len = num.length();
for(int i = 0; i < len; i ++) {
if(num[i] != num[len - i - 1]) {
return 0;//不是回文
}
}
return 1;//是回文
}
string s;
int num1[1102]= {0},num2[1102]= {0},num[1102]= {0};
int main() {
#ifdef ONLINE_JUDGE
#el... | [
"36788920+luer9@users.noreply.github.com"
] | 36788920+luer9@users.noreply.github.com |
4cfba9c9e6910e9c87b196be1a19c2fc11690163 | 80f4842c6df51199c8ae676578a9e7fd2dc6ed12 | /CONTAIN/PainWall.h | 5ee5e6321be7a340e5adc221091f909a89454643 | [] | no_license | john6/CONTAIN | 79e3677841740b386f5bfb847d790456b4be68b1 | dc90e7073f44df14e6e053ff1ca67d4f682f4b94 | refs/heads/master | 2021-05-19T00:24:34.450893 | 2021-01-04T21:21:49 | 2021-01-04T21:21:49 | 251,491,588 | 1 | 2 | null | 2020-11-03T04:19:04 | 2020-03-31T03:31:34 | C++ | UTF-8 | C++ | false | false | 314 | h | #pragma once
#include "Entity.h"
class PainWall :
public Entity
{
private:
bool colorState;
sf::Color colorA;
sf::Color colorB;
hiRes_time_point lastColorSwitch;
float colorSwitchRate;
public:
void Update(float i_stepSize) override;
PainWall(Vector2f i_startPosition, RigidBody i_rb);
~PainWall();
};
| [
"johnnyrussell6@gmail.com"
] | johnnyrussell6@gmail.com |
0fc22b70c5402b1aac2fd67193aa728250bde538 | c69118b46cdc2b7b6560debbeb8f8a67a9693ce9 | /Onyx/src/buffers/VBO.hpp | 5c77b78759c90ce7d03f70d5631a1bee8d9357c5 | [] | no_license | MrShedman/Onyx | 50c9f6fb2cd71ed97ba57e50307d6449483a6ca9 | 7cdab90ecf52eca7d7a528bc5b8e0b9af29825c1 | refs/heads/master | 2021-04-26T23:38:33.653141 | 2018-03-04T21:14:33 | 2018-03-04T21:14:33 | 123,829,588 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 471 | hpp | #pragma once
#include "GL\glew.h"
//#include "ErrorCheck.hpp"
#define check_gl_error
class VBO
{
public:
VBO(GLenum target, GLenum usage);
~VBO();
VBO(const VBO& other) = delete;
VBO operator = (const VBO&) = delete;
VBO(VBO&& other);
VBO& operator=(VBO&& other);
GLuint name() const;
void bind() con... | [
"roscoacer@googlemail.com"
] | roscoacer@googlemail.com |
22b711d3d3043b63c97e7ab7a7e34dd2a9d9c1dd | 1923a18e2b45c3d7011ea4172975cef806e571ce | /framework/sdk/vec3.hpp | c584fde298772606bb7af92aa48d64babf61dafa | [] | no_license | sestain/hawk_sdk | 9a06f286cd59812a8973ed770198cd1d32e19ce3 | f24cd0bd1ebd7a225b849476b9f51fda8f642cae | refs/heads/main | 2023-02-26T00:06:21.037287 | 2021-01-28T09:24:12 | 2021-01-28T09:24:12 | 316,706,269 | 0 | 0 | null | 2020-11-28T10:14:56 | 2020-11-28T10:14:55 | null | UTF-8 | C++ | false | false | 6,794 | hpp | #pragma once
#include <cmath>
#include <algorithm>
#include "angles.hpp"
#define CHECK_VALID( _v ) 0
class vec2_t {
public:
vec2_t() = default;
vec2_t(float x, float y) {
this->x = x;
this->y = y;
}
float x, y;
};
class vec3_t {
public:
float x, y, z;
vec3_t() {
init();
}
vec3_t(float x, float y, fl... | [
"49698228+Pleberie@users.noreply.github.com"
] | 49698228+Pleberie@users.noreply.github.com |
060cdfc2dd8c58b392b4b097417ccd945dc0ee3a | 74fc7c5d39baa6c30aa929e629ff60bf40500c61 | /test/unit-tests/mbr/mbr_util_mock.h | 1aa861ae66c4fc7cba6a099ae8c649726df493f9 | [
"BSD-3-Clause"
] | permissive | jhyunleehi/poseidonos | e472be680d0e85dc62f0e2c0d7356dbee74a3bd6 | 1d90e4320855d61742ff37af8c0148da579d95d4 | refs/heads/develop | 2023-07-13T03:37:29.754509 | 2021-08-23T15:26:08 | 2021-08-23T15:26:08 | 393,203,347 | 0 | 0 | BSD-3-Clause | 2021-08-20T00:04:14 | 2021-08-06T00:30:35 | C | UTF-8 | C++ | false | false | 109 | h | #include <gmock/gmock.h>
#include <list>
#include <string>
#include <vector>
#include "src/mbr/mbr_util.h"
| [
"kyuho.son@samsung.com"
] | kyuho.son@samsung.com |
683ce4db96fb32ecd2df9755970ae7603110de7a | 2d6fe63c5688f0555f7f51d866e0c00e3771fb0f | /C/switch_blinking_led/switch_blinking_led.ino | 3cabde74471f010cc39ac2ff60af03d1e672a7b7 | [] | no_license | supa96/C-ProjectX | 800e4d105a463e667f47100c5e9f0246843f1199 | c601a0880767bb137449056ee09436379a410ecd | refs/heads/master | 2021-01-19T09:31:50.959304 | 2017-02-16T01:04:28 | 2017-02-16T01:04:28 | 82,122,947 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 487 | ino | const int buttonPin = 2;
const int ledPinR = 13;
const int ledPinG = 12;
int buttonState;
void setup() {
pinMode(ledPinR, OUTPUT);
pinMode(ledPinG, OUTPUT);
pinMode(buttonPin, INPUT);
}
void loop() {
buttonState = digitalRead(buttonPin);
if (buttonState == HIGH... | [
"Supachai"
] | Supachai |
7c23227d2594413f58b2b3a3b8b66deb52bf0500 | 44a35c2b86a42b2b593089fd334f8e8f20b14a81 | /Phonebook/PersonsView.cpp | 0f1391f424432e7fa0f94d5e200c10e8e0f8a007 | [] | no_license | mironikolov/Phonebook | ea15d0f97af5cb2a370f89573b1f4a61f201e2a6 | d71c8f0a542a7cff831999dffe30c1abd7c373a7 | refs/heads/master | 2020-08-13T00:35:54.804724 | 2020-02-13T14:04:23 | 2020-02-13T14:04:23 | 214,875,301 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,194 | cpp | // PersonsView.cpp : implementation of the CPersonsView class
//
#include "stdafx.h"
// SHARED_HANDLERS can be defined in an ATL project implementing preview, thumbnail
// and search filter handlers and allows sharing of document code with that project.
#ifndef SHARED_HANDLERS
#include "Phonebook.h"
#endif
#include ... | [
"miro_02@mail.bg"
] | miro_02@mail.bg |
93fd91bbc920951b77829b6317caa0cdf850cfcf | ef7bf2b4dc47e0f2d91d5c9cd8ba2587e9ec1908 | /client.h | 71ffcddc785a4be74e42cca35b61a18c070d51c7 | [] | no_license | malloc47/term-do | 802960e9f3e2cbb1a370f108d2fcc99f2e23d2b4 | abc03c9e35a34e94e1433d54775dab04674eaf1b | refs/heads/master | 2022-05-11T20:53:01.525472 | 2022-04-26T16:52:28 | 2022-04-26T16:55:02 | 3,126,323 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 852 | h | #include "config.h"
#ifdef DAEMON
#ifndef CLIENT_H_
#define CLIENT_H_
#include <boost/interprocess/ipc/message_queue.hpp>
#include "common.h"
#include "vt100.h"
#include "query.h"
#include "plugins.h"
#include "view.h"
#include "term-do.h"
#include "frontend.h"
#include <stdio.h>
#include <stdlib.h>
#include <getopt.h... | [
"malloc47@gmail.com"
] | malloc47@gmail.com |
4df4b72b14509c6b9839bf1988682230ba66523d | 927b1ceac19262d5dfb71fdfe03dc2eb0471126a | /src/qt/signverifymessagedialog.cpp | 2ee132f776e9e952b65ae5ab7efc758fa10c187b | [
"MIT"
] | permissive | cryptovein/ZedCoin | 7f3c16a4d640eeb5f1767e1fdef0e49b4dda889b | b9a72b685e0b3be069b8e477fae9aec8ab619da8 | refs/heads/master | 2020-04-04T02:01:57.575672 | 2014-03-07T02:17:09 | 2014-03-07T02:17:09 | 17,498,769 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,694 | cpp | #include "signverifymessagedialog.h"
#include "ui_signverifymessagedialog.h"
#include "addressbookpage.h"
#include "base58.h"
#include "guiutil.h"
#include "init.h"
#include "main.h"
#include "optionsmodel.h"
#include "walletmodel.h"
#include "wallet.h"
#include <string>
#include <vector>
#include <QClipboard>
Sign... | [
"dev@zedcoins.com"
] | dev@zedcoins.com |
418e11ba82035866b37d1a213346cd5030b25855 | 5885fd1418db54cc4b699c809cd44e625f7e23fc | /kattis/printingcosts.cpp | b7dedb7230f4ead83a9d3565a55c2e834d79f39a | [] | no_license | ehnryx/acm | c5f294a2e287a6d7003c61ee134696b2a11e9f3b | c706120236a3e55ba2aea10fb5c3daa5c1055118 | refs/heads/master | 2023-08-31T13:19:49.707328 | 2023-08-29T01:49:32 | 2023-08-29T01:49:32 | 131,941,068 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,855 | cpp | #include <bits/stdc++.h>
using namespace std;
//%:include "utility/fast_input.h"
//%:include "utility/output.h"
using ll = long long;
using ld = long double;
using pt = complex<ld>;
constexpr char nl = '\n';
constexpr int MOD = 998244353;
constexpr ld EPS = 1e-9L;
random_device _rd; mt19937 rng(_rd());
int main() ... | [
"henryxia9999@gmail.com"
] | henryxia9999@gmail.com |
45ce884f9ee229350a5c4529111fb74ec19ccbdb | 51a2d2dfbeef5db71abb77f3fc23e2f86c422f6f | /src/core/indicator/DoubleMatrixLightIndicator.h | 5b045e3b4a9485a2ea2d95018663123a3a08a8df | [] | no_license | bidule21/arduino-etarget | a20e8b6ef2fbaa36c39e50b4ed7ea131609b3faf | 92cb507cb68921a7d28566a8635e60dcc20f01ed | refs/heads/master | 2020-04-28T19:26:34.813396 | 2017-08-13T18:44:52 | 2017-08-13T18:44:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 442 | h | #include <LedControlMS.h>
#include "LightIndicatorInterface.h"
#ifndef DoubleMatrixLightIndicator_h
#define DoubleMatrixLightIndicator_h
class DoubleMatrixLightIndicator: public LightIndicatorInterface {
public:
DoubleMatrixLightIndicator(bool doInit = false);
void init();
void green();
void red(... | [
"ifedorenko@gmail.com"
] | ifedorenko@gmail.com |
acd4f7ea406fd9279c5c4ed3b92547e02b3391f8 | bd8da89a17e0056bed98aefcec38dac80fd8dd5d | /sqldata/sqldb.cpp | cd9d50acde5157cb49c9ff152eb163a614d9c718 | [
"Apache-2.0"
] | permissive | ChrisYuan/sqlines | cf89b9d171288d608d3c6ea5ad733034eb1e3505 | f82176f154a158105f655d71fb7934dd0ee1c82f | refs/heads/master | 2022-01-22T04:04:01.198352 | 2021-12-19T09:06:37 | 2021-12-19T09:06:37 | 211,207,186 | 1 | 0 | Apache-2.0 | 2019-09-27T00:56:29 | 2019-09-27T00:56:29 | null | UTF-8 | C++ | false | false | 104,260 | cpp | /**
* Copyright (c) 2016 SQLines
*
* 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 ... | [
"dmtolpeko@gmail.com"
] | dmtolpeko@gmail.com |
7e362eca6b1e6c250161dfc69f242b09d0707580 | 3aa9a68026ab10ced85dec559b6b4dfcb74ae251 | /love babbar series/Strings/balanced paranthesis.cpp | 3fe754cb39abd13bcbfea05dfc0cbe5a693312b7 | [] | no_license | kushuu/competitive_programming_all | 10eee29c3ca0656a2ffa37b142df680c3a022f1b | 5edaec66d2179a012832698035bdfb0957dbd806 | refs/heads/master | 2023-08-17T15:09:48.492816 | 2021-10-04T20:09:37 | 2021-10-04T20:09:37 | 334,891,360 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,430 | cpp | /****************************************************************
Author: kushuu File: balanced paranthesis.cpp Date: Sun Nov 08 2020
****************************************************************/
#include <bits/stdc++.h>
//shorts
#define ll long long int
#define sll stack<long long int>
#define vll vector<lon... | [
"sonikushu007@gmail.com"
] | sonikushu007@gmail.com |
79840dbe12e3cec88f1926363ec1a501483be685 | ce1a9d0c1e776c3af0781c3cff8ec6d6d5899364 | /qwgraphicsview.cpp | 6041e7a83602a002b7e9dce987bf963642f17232 | [] | no_license | adstellaria/Snake | 24a9a8e1620475866e6a593b155966c5fbc61672 | af36b7c6d27fe5e4ff783f7a434ab28949e9d939 | refs/heads/main | 2022-12-29T19:40:42.451554 | 2020-10-16T11:55:35 | 2020-10-16T11:55:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 341 | cpp | #include "qwgraphicsview.h"
QWGraphicsView::QWGraphicsView(QWidget *parent):QGraphicsView(parent)
{
}
void QWGraphicsView::mousePressEvent(QMouseEvent *event)
{
if(event->button()==Qt::LeftButton){
QPoint point=event->pos();
emit mouseClicked(point);
}
QGraphicsView::mousePr... | [
"noreply@github.com"
] | noreply@github.com |
84868f7b84102b3efe341df82cb378e3cdcd4f11 | 7c0aceac410a978a31a572d8416ea08ba50bde71 | /Shooting01/Shooting/Score.cpp | 87b8aae84c85cc3bc3af4e71b5c06d9fe19a5824 | [] | no_license | ha-k-pg-okada/SubmissionAssignments | 238dd76cc288692db6372bb2441062bc19f9b478 | 085f9ad8977dabb685060208df04671c8d0a24e4 | refs/heads/master | 2022-12-19T19:23:10.703562 | 2020-10-01T07:44:27 | 2020-10-01T07:44:27 | 293,471,279 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,003 | cpp | #include "Score.h"
#include "Src/Engine/Engine.h"
void Score::Update()
{
}
void Score::Iintialize(Vec2 init_pos)
{
//メンバ変数初期化
Position = Vec2(0.0f, 0.0f);
Scale = Vec2(1.0f, 1.0f);
Angle = 0.0f;
Alpha = 255;
//unsigned char Alpha;
}
void Release()
{
}
void Score::Draw()
{
int g_Score = 354;
const cha... | [
"mioneko115@gmail.com"
] | mioneko115@gmail.com |
c9ee5721678cbb3c999c1d078b4088b27949fd37 | 25b8499e6395bddc3103ec7fcc652a10e781b74e | /test/testTrie2.cpp | 65763afed6542c961bf29f0eee6b072c902a1260 | [] | no_license | Kakarotto9/CxxSearch | 8b1e5c600fe1943a010383a66584acfa93b21bb6 | d50ff5c970972ad68873751f19523a6437d2eabe | refs/heads/master | 2020-05-07T19:27:57.398485 | 2019-04-16T04:36:05 | 2019-04-16T04:36:05 | 180,814,425 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 717 | cpp |
#include<iostream>
#include"Trie2.h"
using namespace std;
int main(){
Trie t;
t.addWord("weixin",1);
t.addWord("weixi",2);
t.addWord("weixn",3);
t.addWord("wexin",4);
t.addWord("weixi",8);
cout<<"getFreq="<<t.getFreq("weixn")<<endl;
t.addWord("ascw",2);
t.addWord("asce",3);
t.addWord("ahce",9);
vector<str... | [
"18554239115@163.com"
] | 18554239115@163.com |
7779c62c16ec35c3ad0009d888be6bdfc37c8ff2 | bd3054e3359fdeb6415ed15d76b4b98c037e2484 | /DelFEM/DelFEM_VCStaticLibrary/src/ls/preconditioner.cpp | 773ec65e3480e4bb7dbff6e3ed36bd365688db05 | [] | no_license | ryujimiya/delfem4net | 0af1619e375161b8f2a4c1c59c53f953e4d875b0 | 43ca8198ea9589d8d4b6141be16196b864c2393e | refs/heads/master | 2020-05-16T06:35:13.394134 | 2018-04-30T01:50:16 | 2018-04-30T01:50:16 | 42,876,545 | 0 | 1 | null | null | null | null | SHIFT_JIS | C++ | false | false | 13,201 | cpp | /*
Copyright (C) 2009 Nobuyuki Umetani n.umetani@gmail.com
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 the License, or (at your option) any later version.
... | [
"ryujimiya236@gmail.com"
] | ryujimiya236@gmail.com |
49d46421d3b8ae483ec17386b7349257759ba559 | 6ced41da926682548df646099662e79d7a6022c5 | /aws-cpp-sdk-appflow/include/aws/appflow/model/ConnectorMetadata.h | d89f93ee7d20feb8dc3f1efff9151eed69332870 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | irods/aws-sdk-cpp | 139104843de529f615defa4f6b8e20bc95a6be05 | 2c7fb1a048c96713a28b730e1f48096bd231e932 | refs/heads/main | 2023-07-25T12:12:04.363757 | 2022-08-26T15:33:31 | 2022-08-26T15:33:31 | 141,315,346 | 0 | 1 | Apache-2.0 | 2022-08-26T17:45:09 | 2018-07-17T16:24:06 | C++ | UTF-8 | C++ | false | false | 26,390 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/appflow/Appflow_EXPORTS.h>
#include <aws/appflow/model/AmplitudeMetadata.h>
#include <aws/appflow/model/DatadogMetadata.h>
#include <aws/appflow/model/DynatraceMetadata.h>
#... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
3293ebcc9798437f1a0af19667f165c2e709238e | 17021f288a57ec5af71ac038b3de9de45f10f353 | /BitManipulation/LC751IPToCIDR.cpp | cf1a0c6478715592f1051d5b4368d19eab615804 | [] | no_license | CSStudySession/AlgoInCpp | 17895441df545cf6a177e84f85a1c4bcf13ea88e | 44dcea21406a37d6ed015850d12542184f7b52d9 | refs/heads/master | 2022-09-30T15:58:47.283730 | 2022-08-27T09:08:30 | 2022-08-27T09:08:30 | 223,360,180 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,886 | cpp | //
// Created by Aaron Liu on 9/12/20.
//
#include <vector>
#include <string>
#include <cmath>
#include <iostream>
using namespace std;
class LC751 {
public:
vector<string> ipToCIDR(string ip, int n) {
vector<string> ret;
long ipNum = 0;
string buffer;
// convert ip from string to... | [
"aaron.liu@bytedance.com"
] | aaron.liu@bytedance.com |
2eacf10341d5bd10baf6117a634c81e0ffee7ad0 | 36631dcd4211c9896f978b042b50ae06e7428902 | /project/functions/addCredit/addCredit.h | 9ac052b4fd08d85f9614ca4465d55eb79264726b | [] | no_license | JosephRob/csci3060u-project | 16fb5bcf3eceb4f22e8c34ca88f93cafcef5907d | 831efcd36d35b4561b026f179149fc8e507523ac | refs/heads/master | 2021-03-19T10:54:13.384545 | 2018-03-08T20:49:07 | 2018-03-08T20:49:07 | 117,279,085 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 486 | h | #ifndef __ADDCREDIT_H_INCLUDED__
#define __ADDCREDIT_H_INCLUDED__
#include <string>
using namespace std;
/*
This is the class for add credit function.
In this function, there are 2 functions, the constructor
and the addCredit function itself
*/
class addCreditClass{
public:
double credit;
string targetUserName;
a... | [
"clyve.widjaya@uoit.net"
] | clyve.widjaya@uoit.net |
5a8f3467de34e86805a49959e6c63124d3a990b2 | 90f9ab77e2c2c1e63d0e1cb79c1a6b5c287d794e | /Recursion/Permutation3.cpp | 123ada7eca3215470f33e247401b86c2aa21a237 | [] | no_license | mukeshkumar7470/Practice-Cpp | caa8de851dbf907a53d8bad128dba6357819b48a | fa72f7468902c64a995e2e2ac36091f52285008c | refs/heads/master | 2023-03-20T19:15:06.687538 | 2021-03-25T07:24:26 | 2021-03-25T07:24:26 | 339,183,104 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 879 | cpp | #include <iostream>
#include <climits>
#include "bits/stdc++.h"
using namespace std;
/* Permutations using STL */
/* Next_permutation(start,end):
If the function can determine the next higher permutation, it rearranges the
elements as such and returns true. If that was not possible (because it is already
at the large... | [
"kumarmukeshpatel57@gmail.com"
] | kumarmukeshpatel57@gmail.com |
0733a48cd65be28dd995c9f106b0fd97955bb541 | 8295a6c1cb2a09055fc628b8cbc8f7a8cb1d3723 | /cpp/ex1/src/bench_dijkstra.cpp | 787ef84f63da602a6816b013b7e994a20647b294 | [] | no_license | leochatain/inf5016 | e430c541d1e8b47e1969abf09482587db55a44d9 | 5baed0901821d2181511c3e45741717c2c7cf9c0 | refs/heads/master | 2021-01-20T10:46:56.568704 | 2012-12-29T05:55:52 | 2012-12-29T05:55:52 | 5,690,233 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,248 | cpp | #include <cstdio>
#include <cstring>
#include <iostream>
#include <fstream>
#include <vector>
#include <ctime>
#include "binary_heap.h"
#include "dijkstra.h"
#include "graph.h"
using namespace std;
using namespace inf5016;
const int ERROR = -1;
const int HELP = 0;
const int PROGRAM = 1;
bool comp(const Edge a, cons... | [
"leochatain@gmail.com"
] | leochatain@gmail.com |
4950cddf5d261c95d4dad47f3c11b365ec291db2 | e592a5d2b07bf548d8229c38f8f95f4e174b1346 | /longest_palindrome_substring.cpp | 3f186a3770613004cef3352d4b56c013e77889bc | [] | no_license | Abhi-1725/DSA-cpp | 74d2169010c1d5604db47592b4e01a397f8b6250 | ec546743d7ef193472dde1dc5068334f452c5e4b | refs/heads/master | 2022-12-07T21:41:35.669581 | 2020-09-02T14:35:31 | 2020-09-02T14:35:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 977 | cpp | /* WAF that, given a string, returns its longest palindromic substring
A palindromic is defined as a string that's written the same forward
and backward. Note that single-character strings are palindromes.
You can assume that there will only be one longest palindromic substring.
*/
#include<iostream>
#includ... | [
"noreply@github.com"
] | noreply@github.com |
de2cee8ee5603730f6d0f19e6c44a21b5f1e50dd | 9ca0783e78c37c41221d255601bab73ec958b0b9 | /src/util/gl/Buffer.hpp | 159c3f6a1e574ae12ec673e5f3cf7907f6c87670 | [] | no_license | nagalun/worldofpixels-client | c67006bf982cd79fa47d1d173381c39a703bc9c2 | d224a215fa6f33727e6315745b65def7fc4dda97 | refs/heads/master | 2023-07-07T11:11:50.010894 | 2023-06-28T09:02:17 | 2023-06-28T09:02:17 | 210,177,431 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 490 | hpp | #pragma once
#include <cstdint>
#include <cstddef>
namespace gl {
class Buffer {
std::uint32_t id;
public:
Buffer();
~Buffer();
Buffer(Buffer &&other);
Buffer& operator=(Buffer &&other);
Buffer(const Buffer &other) = delete;
Buffer& operator=(const Buffer &other) = delete;
void use(std::uint32_t type) con... | [
"nagalun@users.noreply.github.com"
] | nagalun@users.noreply.github.com |
4bbb24821de1836b59303b8e32234c74e3afa442 | 399705334f88e0b88adb86163c988d9e1c24314a | /Practise/Hackerrank/Equal.cpp | ee84f7bbcf17134e25d6e89d20dc571111afd6a1 | [] | no_license | shivangstreak/comp | d4d27b6726291d29d9216b632127399f4c7cf18b | 0ba7f89d6cd6f548449fdbbbff19c2fec42579c6 | refs/heads/master | 2023-08-13T02:53:07.867755 | 2023-08-07T08:01:52 | 2023-08-07T08:01:52 | 380,742,432 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 539 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ll long long
const int N=10005;
int arr[N];
ll ops(ll x){
return x/5+(x%5)/2+((x%5)%2);
}
int main(){
int n,t;scanf("%d",&t);
while(t--){
scanf("%d",&n);
for(int i=0;i<n;i++){
scanf("%d",&arr[i]);
}
int mn=*min_element(arr,arr+n);
ll m... | [
"shivang.badola@nutanix.com"
] | shivang.badola@nutanix.com |
028a33deea5487aa2d739cfa93321d3d22f9d1ed | 882209d255fe562b73528cc900fb7310646526a1 | /osc_sender/ip/posix/UdpSocket.cpp | 7a6e8d47c18b04d41391bb8d4f4c397719cdeb2d | [
"MIT"
] | permissive | SirDifferential/utilities | d1bec03108ccfea7aeed19f9821495119357ce6e | 39580f37c4248e0d4f1833f72818f2efb06e4a69 | refs/heads/master | 2021-01-02T23:12:46.586082 | 2018-05-04T10:37:19 | 2018-05-04T10:37:19 | 5,548,686 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,770 | cpp | /*
oscpack -- Open Sound Control (OSC) packet manipulation library
http://www.rossbencina.com/code/oscpack
Copyright (c) 2004-2013 Ross Bencina <rossb@audiomulch.com>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files
(the "So... | [
"jesse.kaukonen@gmail.com"
] | jesse.kaukonen@gmail.com |
b20e86a527421b6a13980907e78092e671073155 | dc7ba2a2eb5f6eb721074e25dbf16b5e15a3b298 | /src/realta/inc/MRealTimeAnalyzer.h | ee4df15ad09356f70ae7d089e19ad6f75dd199e6 | [] | no_license | markbandstra/megalib | 094fc75debe3cff24a79ba8c3485180c92d70858 | 078f4d23813d8185a75414e1cdb2099d73f17a65 | refs/heads/master | 2021-01-17T08:34:07.177308 | 2013-11-15T22:17:10 | 2013-11-15T22:17:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,264 | h | /*
* MRealTimeAnalyzer.h
*
* Copyright (C) by Andreas Zoglauer.
* All rights reserved.
*
* Please see the source-file for the copyright-notice.
*
*/
#ifndef __MRealTimeAnalyzer__
#define __MRealTimeAnalyzer__
////////////////////////////////////////////////////////////////////////////////
// Standard libs... | [
"andreas@megalibtoolkit.com"
] | andreas@megalibtoolkit.com |
42a1f28c68cf3d4f8460835b19d904feedeb9606 | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /CodesNew/3876.cpp | 5d8d199136db873e3ce23a43f172739d6ff23f7f | [] | no_license | thegamer1907/Code_Analysis | 0a2bb97a9fb5faf01d983c223d9715eb419b7519 | 48079e399321b585efc8a2c6a84c25e2e7a22a61 | refs/heads/master | 2020-05-27T01:20:55.921937 | 2019-11-20T11:15:11 | 2019-11-20T11:15:11 | 188,403,594 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 884 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long l;
typedef long long ll;
typedef unsigned long long ull;
#define sc(a) scanf("%d",&a)
const int MAX = 1e5+5;
const ll inf = 2*1e9+77;
const int MOD = 1e8+7;
int a[MAX];
int n;
bool check(ll d)
{
ll hold = d;
for(int i = ... | [
"harshitagar1907@gmail.com"
] | harshitagar1907@gmail.com |
98a0abd656cb94ddef2dc9444cffd420338cfb4b | a278262a622032cfa6fa8c3c62ed5eb63866310b | /include/MetaInfo.h | 346837801d1c94a460bd09b850c6e0c2b6ad8d41 | [] | no_license | WindLeafSing/lrc_system | 38c8de0262c30ffa08a999c4aff7717800bdf3b4 | 82f88ad8a57efec8f54593bf4132f723bcf0919c | refs/heads/master | 2023-04-08T04:10:52.244527 | 2021-04-19T08:42:54 | 2021-04-19T08:42:54 | 358,582,183 | 0 | 0 | null | 2021-04-19T08:42:55 | 2021-04-16T11:50:17 | null | UTF-8 | C++ | false | false | 3,174 | h | //
// Created by 杜清鹏 on 2021/3/29.
//
#ifndef LRC_METAINFO_H
#define LRC_METAINFO_H
#include "devcommon.h"
namespace lrc{
/*
* this file provides general filesystem meta infomation such as StripeInfo , ClusterInfo etc.
*/
struct ECSchema{
ECSchema() =default;
ECSchem... | [
"1361229831@qq.com"
] | 1361229831@qq.com |
742c2c624c60b403dbee7243cb6ce0ee5135442e | d2fb019e63eb66f9ddcbdf39d07f7670f8cf79de | /groups/bsl/bslscm/bslscm_versiontag.t.cpp | fcdc88f471b98cb4463c449665ccff9ae75739eb | [
"MIT"
] | permissive | gosuwachu/bsl | 4fa8163a7e4b39e4253ad285b97f8a4d58020494 | 88cc2b2c480bcfca19e0f72753b4ec0359aba718 | refs/heads/master | 2021-01-17T05:36:55.605787 | 2013-01-15T19:48:00 | 2013-01-15T19:48:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,181 | cpp | // bslscm_versiontag.t.cpp -*-C++-*-
#include <bslscm_versiontag.h>
#include <cstdlib> // atoi()
#include <cstring>
#include <cstdio>
using namespace BloombergLP;
//==========================================================================
// STANDARD ... | [
"abeels@bloomberg.net"
] | abeels@bloomberg.net |
3afbcbb1adeb65777029595de165c7532e7d13a6 | e018d8a71360d3a05cba3742b0f21ada405de898 | /Client/Packet/Types/PlayerTypes.h | e480c272e99296df1dc71bf7c7bd807f4cc9fa8a | [] | no_license | opendarkeden/client | 33f2c7e74628a793087a08307e50161ade6f4a51 | 321b680fad81d52baf65ea7eb3beeb91176c15f4 | refs/heads/master | 2022-11-28T08:41:15.782324 | 2022-11-26T13:21:22 | 2022-11-26T13:21:22 | 42,562,963 | 24 | 18 | null | 2022-11-26T13:21:23 | 2015-09-16T03:43:01 | C++ | UHC | C++ | false | false | 4,429 | h | //////////////////////////////////////////////////////////////////////////////
// Filename : PlayerTypes.h
// Written By : Reiot
// Description :
//////////////////////////////////////////////////////////////////////////////
#ifndef __PLAYER_TYPES_H__
#define __PLAYER_TYPES_H__
#include "SystemTypes.h"
... | [
"tiancaiamao@gmail.com"
] | tiancaiamao@gmail.com |
2f12208ccd9757727299b0a266fce138668b5bb6 | 0c7f6eb2da04fc478cf417b6f6ff7d7ddb3d53be | /src/checkpoints.cpp | cc83d3d2776703ef0a6d2f4b5a326db998556a8e | [
"MIT"
] | permissive | etcdev/EntropyCoins | 425571efe9215eec223df0347e8f9a141fbdda30 | f2d86507ddca3082559531fe4c427b75937569e0 | refs/heads/master | 2016-08-04T18:41:08.491191 | 2014-06-11T01:47:15 | 2014-06-11T01:47:15 | 17,300,445 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,922 | cpp | // Copyright (c) 2009-2012 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 <boost/assign/list_of.hpp> // for 'map_list_of()'
#include <boost/foreach.hpp>
#include "checkpoints.h"
#include "m... | [
"entropycoin@gmail.com"
] | entropycoin@gmail.com |
3cc986c6835fe2625a6262194248264175c04cea | 691abe5f62df930ae7420d00f48e5b2f7f57faed | /atcoder.jp/abc035/abc035_b/Main.cpp | 81914f83a052e87b5c80dcf03d98fb211644c252 | [] | no_license | Volverman/procon-archive | 2fa9d10d0a655590f2c6342c5e494deff5718c73 | 834adc4a70a275eb28cea6d724ee5cc5d926ffe7 | refs/heads/master | 2022-12-18T23:40:48.494023 | 2020-09-12T07:48:48 | 2020-09-12T07:48:48 | 294,258,109 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,072 | cpp | #include <bits/stdc++.h>
#define REP(i, n) for(int i = 0; i < n; i++)
#define REPR(i, n) for(int i = n; i >= 0; i--)
#define FOR(i, m, n) for(int i = m; i < n; i++)
#define INF 2e9
#define MOD 1000000007
#define ALL(v) v.begin(), v.end()
using namespace std;
typedef long long ll;
using P = pair<int,int>;
int dx[4]={-1... | [
"volverman1017@gmail.com"
] | volverman1017@gmail.com |
1320fda8ea20ab8b3f37b1891fe3511a2d0aa956 | 977d375905ced27aab3f40d152d78a2506501571 | /Source/GameDevWeekendDemo/Private/DemoGameInstance.cpp | 0b8e42a4be51a50b00e2d9fb937f16dcc39556ac | [] | no_license | Samukus/GameDevWeekendDemo | 49cb14cad5643ae20694b05e7649856a92d84d19 | 6146cc5369baf584f8a77bafd7c698196fc166b9 | refs/heads/master | 2023-07-11T00:32:24.094282 | 2021-08-12T14:27:28 | 2021-08-12T14:27:28 | 395,038,629 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,759 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "DemoGameInstance.h"
#include "UObject/Class.h"
#include "Interfaces/OnlineIdentityInterface.h"
#include "ConfigDemonstration.h"
void UDemoGameInstance::Init() {
Super::Init();
OSS_Native = IOnlineSubsystem::GetByPlatform();... | [
"skrobotov.alexey@gmail.com"
] | skrobotov.alexey@gmail.com |
206de379eb1b9d0a9e3fd9a01a004c66c50b3be0 | 4da19b7f48cb480788bd77e067560789d6d22158 | /Pikachu/Classes/CommonFunctions.h | 56daa9693a8aa7189f3502b71cf6cfc8dd9c0dc1 | [] | no_license | caothetoan/iOS-Pikachu | 898d53e8e0c55875be959b7916c25c146e43fcfb | 1fdbcae81dc92c7461909572dd04cb83455b10d7 | refs/heads/master | 2021-01-01T05:57:23.258013 | 2017-07-15T13:34:51 | 2017-07-15T13:34:51 | 97,317,916 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 298 | h | //
// CommonFunctions.h
// Pikachu
//
// Created by tinvukhac on 8/25/13.
//
//
#ifndef __Pikachu__CommonFunctions__
#define __Pikachu__CommonFunctions__
#include "cocos2d.h"
using namespace cocos2d;
CCString* getPngPath(const char* path);
#endif /* defined(__Pikachu__CommonFunctions__) */
| [
"caothetoan@gmail.com"
] | caothetoan@gmail.com |
ea195fbb6965c4acb465531d05d86753419ddeed | 0e29cf5595eb18f0480d46a2b2dbe8bf8be70b7b | /DowhileNo3.cpp | 47776f5fb6f392c1193fd407d966c560ab2b976f | [] | no_license | miftahulhasna146/TugasElearningDoWhile | e3de7661bdcfc5dea93d11b17fad3aaaa30781f7 | 303eeaf09d25377565ab20099d03f3fdcd0362ff | refs/heads/master | 2020-04-05T17:49:11.211921 | 2018-11-11T13:01:41 | 2018-11-11T13:01:41 | 157,077,057 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 322 | cpp | #include <stdio.h>
#include <conio.h>
#include <iostream>
using namespace std;
int main (){
int a, n;
float nilai, rata;
cout<<"Masukkan bilangan = "; cin>>n;
do
{
nilai=nilai+a;
a++;
}
while (a<=n);
cout<<"Nilai Total ="<<nilai<<endl;
rata=nilai/n;
cout<<"Rata-rata = "<<rata<<endl;
}... | [
"noreply@github.com"
] | noreply@github.com |
f69039f513ef26156f52104bff97d4d7c8309d4f | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /third_party/blink/public/platform/interface_registry.h | 73c378e9f6e8f2c3eba7304551392816cc4dabd0 | [
"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",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 3,602 | h | // Copyright 2016 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 THIRD_PARTY_BLINK_PUBLIC_PLATFORM_INTERFACE_REGISTRY_H_
#define THIRD_PARTY_BLINK_PUBLIC_PLATFORM_INTERFACE_REGISTRY_H_
#include <utility>
#incl... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
c2cbd8d2f10b5028feba084c4af42817318dc43a | 7419c3edc2d0f8ecc82be918f1321d985b781a39 | /sources/scene.cpp | 60a2546d0f0e3f09871c6e13e3281ac8bfc432ee | [] | no_license | Nojan/particle | 07b1685f127610b35d222aa305a9114577e6a855 | d3e700a114479c69dfcced52f828c1b253d4fde7 | refs/heads/master | 2021-07-30T00:03:37.947192 | 2018-09-16T15:27:45 | 2018-09-16T15:33:35 | 21,325,548 | 1 | 1 | null | 2021-07-28T09:49:41 | 2014-06-29T15:03:19 | C++ | UTF-8 | C++ | false | false | 1,267 | cpp | #include "scene.hpp"
#include "imgui/imgui_header.hpp"
namespace Constant {
IMGUI_CONST float Direction[] = { 0.f, 0.1f, -0.5f };
IMGUI_CONST float DiffuseColor[] = { 1.f, 1.f, 1.f };
IMGUI_CONST float SpecularColor[] = { 1.f, 1.f, 1.f };
}
#ifdef IMGUI_ENABLE
void Scene::debug_GUI()
{
ImGui::SliderF... | [
"mathias.labeyrie@gmail.com"
] | mathias.labeyrie@gmail.com |
2bfacd0fe97599a9ff580eefedadec0ebd27ac5c | 97fde28997b618180cfa5dd979b142fd54dd2105 | /core/dep/acelite/ace/Dynamic.inl | 54052b8e52bef58be89157ce2cf806f2f0124cee | [] | no_license | Refuge89/sunwell-2 | 5897f4e78c693e791e368761904e79d2b7af20da | f01a89300394065f33eaec799c8779c2cac5c320 | refs/heads/master | 2020-12-31T05:55:43.496145 | 2016-02-16T20:46:50 | 2016-02-16T20:46:50 | 80,622,543 | 1 | 0 | null | 2017-02-01T13:30:06 | 2017-02-01T13:30:06 | null | UTF-8 | C++ | false | false | 559 | inl | // -*- C++ -*-
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_INLINE
ACE_Dynamic::~ACE_Dynamic (void)
{
// ACE_TRACE ("ACE_Dynamic::~ACE_Dynamic");
}
ACE_INLINE void
ACE_Dynamic::set (void)
{
// ACE_TRACE ("ACE_Dynamic::set");
this->is_dynamic_ = true;
}
ACE_INLINE bool
ACE_Dynamic::is_dynamic (void)
... | [
"root@wow.playstar.se"
] | root@wow.playstar.se |
782f48276aa5459e2750350e3837d5a971b9d74a | 1d928c3f90d4a0a9a3919a804597aa0a4aab19a3 | /c++/TileDB/2018/8/writer.h | a9d2f95fac5fedc5d27cc033258e893b11df0707 | [] | no_license | rosoareslv/SED99 | d8b2ff5811e7f0ffc59be066a5a0349a92cbb845 | a062c118f12b93172e31e8ca115ce3f871b64461 | refs/heads/main | 2023-02-22T21:59:02.703005 | 2021-01-28T19:40:51 | 2021-01-28T19:40:51 | 306,497,459 | 1 | 1 | null | 2020-11-24T20:56:18 | 2020-10-23T01:18:07 | null | UTF-8 | C++ | false | false | 24,585 | h | /**
* @file writer.h
*
* @section LICENSE
*
* The MIT License
*
* @copyright Copyright (c) 2017-2018 TileDB, Inc.
*
* 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 restri... | [
"rodrigosoaresilva@gmail.com"
] | rodrigosoaresilva@gmail.com |
a4e9cd31d5ac0ef0eb191b05bf0a2369aa6d2c7b | 35500e33d552292dcf2982ac89bb4d3c2ebff952 | /codels/MonteCarloPrintFunctions.cc | a2ba2789da0417acafbb1a4b336b1741f28cd705 | [] | no_license | newbdez33/rfidPositioner | dae07db02b68ff4ed024fc05b3620649abc3fd81 | 7c14ee151b711ceed3f2636217f0e3b2dcd51208 | refs/heads/master | 2021-01-18T05:18:12.054527 | 2010-02-02T19:40:09 | 2010-02-02T19:40:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,639 | cc | /*
* MonteCarloPrintFunctions.cc
*
* Created on: Nov 23, 2009
* Author: acodas
*/
#include "MonteCarloPrintFunctions.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
//@tested
//prints a mc_Point
void mc_printPoint(const mc_Point p) {
printf("{x=%g, y=%g, theta=%g}", p.x, p.y, p.theta);
}
... | [
"codas@laas.fr"
] | codas@laas.fr |
e1afa30e7e19cb1b289e8e0431740e6152961b37 | dc442d8cd539a7db76d47007e20dfe7d2126ed53 | /stack using array.cpp | 198a0ad6939d62cd7389d8ad9ac59c485ccb3771 | [] | no_license | barsha87/snippets | e7177af081123852bff584b414013cb363824407 | fdf0ef70ca335cef127835297a21194e9d7bbc97 | refs/heads/master | 2022-01-09T00:14:33.520985 | 2019-04-30T10:54:49 | 2019-04-30T10:54:49 | 181,631,572 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,633 | cpp | #include <iostream>
using namespace std;
class stack
{
int a[50],n,res;
public:
int top;
void pop();
void push();
void disp();
};
void stack::push()
{
cout<<"\nEnter element: ";
cin>>n;
if(top==49)
res=-1;
else
... | [
"barsha.8790@gmail.com"
] | barsha.8790@gmail.com |
0adcab4e274f1941b92df03e282b9e57e3de2efc | 04f52c481c7d6eb1b4156b296fe5d81ddccfb161 | /lib/opencv/OpenCVSocketUtils.cpp | 17d11d4308a8c53471370fde9b652b1b2e89011e | [] | no_license | starand/cpp_fw | 39c9d78439602b43498310e86f8bf704b4feceb2 | 5d2ebfe7dc3aef61558ed9f6f49293746499492c | refs/heads/master | 2021-01-11T23:59:05.013523 | 2017-02-20T09:36:05 | 2017-02-20T09:36:05 | 78,653,984 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,148 | cpp | #include "StdAfx.h"
#include "OpenCVSocketUtils.h"
#include "socket.h"
#include <opencv\cv.h>
#define BLOCK_HEIGHT 8
#define BLOCK_WIDTH 8
#define BLOCK_STRIDE 24
#define IMAGE_HEIGHT(pipImage) pipImage->height
#define IMAGE_WIDTH(pipImage) pipImage->width
#define IMAGE_DATA(pipImage) pipImage->imageData
static ... | [
"starand@ukr.net"
] | starand@ukr.net |
9dceb7b5ab98a39ed44318ad1a8489ac3d595a88 | 079fc299d6a1622832f738bac1f28167df6b0b9c | /cpp_module05/ex02/main.cpp | 36aed6f73e1e0188ce12a0fc390a0946ebb73e73 | [] | no_license | xogml123/cpp | 294fa038e078a18cf3e24fdd7eea32692b634b25 | 4e2a24e169ad2e31cb8d9d6ba3afa2f8de21d9f3 | refs/heads/master | 2023-08-14T01:40:37.260112 | 2021-10-06T14:59:55 | 2021-10-06T14:59:55 | 374,075,489 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 627 | cpp | #include "Bureaucrat.hpp"
#include "Form.hpp"
#include "ShrubberyCreationForm.hpp"
#include "RobotomyRequestForm.hpp"
#include "PresidentialPardonForm.hpp"
int main()
{
Bureaucrat* b1 = NULL;
Form* f1 = NULL;
Form* f2 = NULL;
Form* f3 = NULL;
try
{
b1 = new Bureaucrat("tom",44);
f1 = new ShrubberyCreationForm... | [
"xogml951@gmail.com"
] | xogml951@gmail.com |
344192cf2d35fe4a5b47e9c8c5d6cd4c80354b78 | 4bb83687710716d91b5da55054c04f430474ee52 | /src/engine/shared/library/sharedGame/src/shared/objectTemplate/SharedGroupObjectTemplate.h | 972985665fa4c671a7a6ba0afc2993f54ce439f1 | [] | no_license | geralex/SWG-NGE | 0846566a44f4460c32d38078e0a1eb115a9b08b0 | fa8ae0017f996e400fccc5ba3763e5bb1c8cdd1c | refs/heads/master | 2020-04-06T11:18:36.110302 | 2018-03-19T15:42:32 | 2018-03-19T15:42:32 | 157,411,938 | 1 | 0 | null | 2018-11-13T16:35:01 | 2018-11-13T16:35:01 | null | UTF-8 | C++ | false | false | 2,103 | h | //========================================================================
//
// SharedGroupObjectTemplate.h
//
//IMPORTANT: Any code between //@BEGIN TFD... and //@END TFD... will be
//overwritten the next time the template definition is compiled. Do not
//make changes to code inside these blocks.
//
// copyright 2001... | [
"tmoflash@gmail.com"
] | tmoflash@gmail.com |
2f531fbf4dc48556a0451dce7130c6d4316af534 | 15bd66a84176e002f7bfe113ec073b5f41d6cd03 | /MPI_LargeFile_Partitioner.cpp | 57dab1c5c21b597f8ad85ffd7e84150e0d722a12 | [] | no_license | satishphd/MPI-FilePartitioning | 688a0b08e23d7b33469a5e699c1da51622503a7d | b5eeb0db0f43f78b6fe019911179a07620e822cb | refs/heads/master | 2020-09-29T05:23:45.947598 | 2019-12-11T19:20:23 | 2019-12-11T19:20:23 | 226,963,306 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,332 | cpp | #include "filePartition/MPI_LargeFile_Partitioner.h"
class FileSplits;
void MPI_LargeFile_Partitioner :: finalize()
{
MPI_File_close(&mpi_layer1);
MPI_File_close(&mpi_layer2);
}
int MPI_LargeFile_Partitioner :: initialize(Config &args)
{
rank = args.rank;
MPI_Processes = args.numProc... | [
"noreply@github.com"
] | noreply@github.com |
4ded28aff8b76776996cf682c8701d1f2cb2fbfc | 908a6574871ece7d736724f8a0e07cd7e0147493 | /Stochastic/UCP-Stochastique/src/eoUCPMutation5.h~ | cd0a2ec73249e0150359314df0728246b689e4a2 | [] | no_license | sophiejacquin/UCP | fef5894a5b1a5fbb4faa0344ad332bd4f3c3871f | 9e770e1beb69c953efbae423cf553d1f6f702ad2 | refs/heads/master | 2021-01-17T20:50:48.278512 | 2016-07-27T15:11:42 | 2016-07-27T15:11:42 | 64,318,354 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,451 | /** -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
The above line is useful in Emacs-like editors
*/
/*
Template for simple mutation operators
======================================
*/
#ifndef eoUCPMutation5_H
#define eoUCPMutation5_H
#include <eoOp.h>
#include <iostream>
usi... | [
"toe.jacquin@gmail.com"
] | toe.jacquin@gmail.com | |
4477bf46d153e01601fd53929cf5e5839ce9830e | f5cf5bd1f9eb40e468dd3fb580f55944ec1ff31c | /src/ActiveDataAPI/ActAPI_IParameter.cpp | 4d5a097171a1337ac81eb109dc7ab3b4deabf8c4 | [] | no_license | CadQuery/active-data | 3977b4fe693e15e791ba919df2f91b08c71de8f5 | df3f043d7d8a050a0695c04851462ff10e1a6730 | refs/heads/master | 2022-12-11T16:22:13.373786 | 2020-07-21T12:53:53 | 2020-07-21T12:53:53 | 291,694,156 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,995 | cpp | //-----------------------------------------------------------------------------
// Created on: March 2012
//-----------------------------------------------------------------------------
// Copyright (c) 2017, OPEN CASCADE SAS
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or witho... | [
"sergey.slyadnev@gmail.com"
] | sergey.slyadnev@gmail.com |
7d289c99f191ea82c24dc5ae299c24ed35941a35 | a702fd5e803eca1fc66a4bb435ed68837db4a47b | /core/modules/replica/WorkerProcessorThread.h | 2508f51216d8ca5039859c7a70cb85829edf949d | [] | no_license | fjammes/qserv | f65c5775ca7f5a286b0bef2fd215a71ca47bc249 | 00595c8e6a3ec538c191976045c3c06fc0a15626 | refs/heads/master | 2020-04-27T18:02:32.130713 | 2019-03-18T08:42:36 | 2019-03-18T08:42:36 | 25,034,564 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,066 | h | // -*- LSST-C++ -*-
/*
* LSST Data Management System
* Copyright 2017 LSST Corporation.
*
* This product includes software developed by the
* LSST Project (http://www.lsst.org/).
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as pu... | [
"gapon@slac.stanford.edu"
] | gapon@slac.stanford.edu |
2371b0d0c33d76cc6c2989eab05c6982d5c36064 | 0322b03bea0c57f7c7866037f41ee3e5b792826a | /source/serializer/decoder/decoder.cpp | c1715e581a983e390067f1f43d0876efe4cd4a7d | [] | no_license | tiberiu/super-duper-octo-robot | 0be0c48dc838502d66081df29a106cf137dc50a7 | 0778ef0e54c51b20b506bdfb7b305c3c84c0a716 | refs/heads/master | 2021-01-01T03:58:00.773780 | 2016-05-21T08:56:50 | 2016-05-21T08:56:50 | 56,438,609 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 350 | cpp | #include "serializer/decoder/decoder.h"
#include "serializer/decoder/textdecoder.h"
Decoder* Decoder::GetDecoder(std::string dataFormat) {
return new TextDecoder();
}
Decoder::Node::Node() {
this->isList = false;
this->isObj = false;
this->isValue = false;
this->data = NULL;
}
Decoder::Node::~Nod... | [
"tiberiu.savin@gmail.com"
] | tiberiu.savin@gmail.com |
620aee5d02c9c243ef3a39ed96ff79d657ddda08 | 508fff84ee929a68daac4ff900d36912f0d6b6ed | /WSEExternal/include/Common/GeometryUtilities/Mesh/Utils/IndexSet/hkIndexSet.h | 32337cce9fc583f33ac7b5100c28cf36e8a1d649 | [
"WTFPL"
] | permissive | blockspacer/wse | f2e05755ba1263c645d0b021548a73e5a5a33ba6 | 3ad901f1a463139b320c30ea08bdc343358ea6b6 | refs/heads/master | 2023-03-16T13:15:04.153026 | 2014-02-13T08:10:03 | 2014-02-13T08:10:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,731 | h | /*
*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Level 2 and Level 3 source code contains trade secrets... | [
"690187+Swyter@users.noreply.github.com"
] | 690187+Swyter@users.noreply.github.com |
4029ad1e24bf1564010fbc4030363ee10e2a2c3b | 30b2a6f387e889ef7bc323921a1a6c521fbc47d1 | /MetropolHotel/LogPassword.cpp | ade6162d169aae343ab00134c5d8e2b5ef477a5d | [] | no_license | aKovalchuk1999/HotelService | 1228745756f6db27f8141dbbf9cbfcfd99f7e87e | a44301a84dd2107ad305bd7885e3b150f43ad002 | refs/heads/master | 2020-03-26T08:07:30.505596 | 2018-08-14T07:51:35 | 2018-08-14T07:51:35 | 144,686,763 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 46 | cpp | #include "StdAfx.h"
#include "LogPassword.h"
| [
"a.kovalchuk1999@gmail.com"
] | a.kovalchuk1999@gmail.com |
9fa337c89f6762362f18c5adc3a434ebf68a35ea | d2190cbb5ea5463410eb84ec8b4c6a660e4b3d0e | /old_hydra/hydra/branches/v3_04stable/shower/hshowergeanthit.cc | cda112ac640b4de9a2fc0a83e6fbcebc3cddd17a | [] | no_license | wesmail/hydra | 6c681572ff6db2c60c9e36ec864a3c0e83e6aa6a | ab934d4c7eff335cc2d25f212034121f050aadf1 | refs/heads/master | 2021-07-05T17:04:53.402387 | 2020-08-12T08:54:11 | 2020-08-12T08:54:11 | 149,625,232 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,892 | cc | #include "TObject.h"
#include "hshowergeanthit.h"
#include <iostream.h>
//////////////////////////////////////////////////////
// HShowerGeantHit
//
// This class contains one hit in one cell of the rich.
//
//////////////////////////////////////////////////////
ClassImp(HShowerGeantHit)
HShowerGeantHit::HShowerGe... | [
"waleed.physics@gmail.com"
] | waleed.physics@gmail.com |
ffcdbdbc7c115249766f75265b4f2c4f18e8be31 | 03c6d91afa813b32aa0c0f5710c8ccc68e5d7c05 | /codeforces 981 A. Antipalindrome.cpp | 936dc12a4c519aff6727e7641d490da35511ae09 | [] | no_license | DorianBajorek/Codeforces-solutions | 96fe6c54b55681fe030f3e9015367d2176d10daf | d8e936de286342fef7230da2afbc50dd13164c93 | refs/heads/master | 2023-05-29T00:52:16.680588 | 2020-10-05T16:33:52 | 2020-10-05T16:33:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,982 | cpp | #include<bits/stdc++.h>
#define endl '\n'
#define time clock_t tStart = clock();
#define show printf("Time taken: %.6fs\n", (double)(clock() - tStart)/CLOCKS_PER_SEC);
#define ll long long int
#define loop(a,b) for(int i=a;i<=b;++i)
#define count_1(n) __builtin_popcountll... | [
"noreply@github.com"
] | noreply@github.com |
b2c81f40c7b698f7e9626b27e70a4fdb87ed994a | a202b62726204f62141ea0de4cdd29edf94281da | /demo/ios/Pods/hippy/ios/sdk/layout/MTTLayoutCache.h | 68402f67395bcc1c16c246d921e7925148adde08 | [
"MIT",
"Apache-2.0"
] | permissive | hippy-contrib/hippy-react-ui | 8145dd7d5fbdc9352e479f3ea1efbcc48cc90415 | e3446b75a098b6f200a2c56f32078ab3b83e0e28 | refs/heads/master | 2023-03-23T20:16:41.113313 | 2020-04-23T13:59:05 | 2020-04-23T13:59:05 | 258,219,692 | 8 | 0 | MIT | 2021-03-12T12:31:10 | 2020-04-23T13:46:26 | JavaScript | UTF-8 | C++ | false | false | 1,307 | h | /**
* Copyright (c) 2017-present, Tencent, Inc.
* All rights reserved.
* Author: ianwang <ianwang@tencent.com>
* Created on: 2018-01-08
*/
#ifndef MTTLAYOUTCACHE_H_
#define MTTLAYOUTCACHE_H_
#include "MTTFlex.h"
#include <stdint.h>
typedef struct {
MTTSize availableSize;
MTTSize resultSize;
MeasureMode wid... | [
"kiddxu@tencent.com"
] | kiddxu@tencent.com |
5f7b00dbedb6a79658a15699b2948338b5ddb0a1 | 6ca2f2333123ed9dd96001b38c23833214bb066f | /sketch_sep06c/sketch_sep06c.ino | 711f93f5d3ead8d155425ca7efd65e2df430673d | [
"MIT"
] | permissive | nityanandaz/BotController | a29ef0e2e657c653316acc9e0ebf77cb41c1f78e | 034e00135d42c640666f70cbfe5b0b2726a6d89c | refs/heads/master | 2020-07-21T18:53:22.454451 | 2020-07-10T18:27:17 | 2020-07-10T18:27:17 | 206,948,909 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,205 | ino | #include <Adafruit_NeoPixel.h>
#include <EasyNeoPixels.h>
#include <Servo.h>
#include <IFX9201_XMC1300_StepperMotor.h>
/*
Alpha Wheel
*/
#define DIR_PIN 4 // Pin 9 is standard DIR Pin
#define STP_PIN 3 // Pin 10 is standard STP Pin
#define DIS_PIN 2 // Pin 11 is standard DIS Pin
const int StepsPerRevolution... | [
"nityananda.zbil@icloud.com"
] | nityananda.zbil@icloud.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.