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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6e748a4bac879b8556c6e0a38c0850fda02b680d | 230883cb8e249a526c94c860f30aed3f023561b5 | /sse_sort.cpp | 13f4da06aa211608fc8d22c225e270d72ebacfe4 | [] | no_license | starkantoden/Hybrid_Sort | 787d3893b6e90209c597c81398073059feb23732 | 29721e695a50212754559876b9a0e1588167e68b | refs/heads/master | 2021-01-01T18:20:07.835468 | 2017-07-30T06:25:09 | 2017-07-30T06:25:09 | 98,308,119 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,396 | cpp | #include "sse_sort.h"
// data length must be 32, this function will produce 8 sorted sequence of
// length 4
void simdOddEvenSort(__m128 *rData)
{ // odd even sort lanes, then transpose them
const int pairSize = rArrayLen >> 1;
__m128 temp[pairSize];
for (int i = 0; i < pairSize; ++i) temp[i] = r... | [
"noreply@github.com"
] | starkantoden.noreply@github.com |
3cb9979bd59cdbd28429ef6d2b72a88a1ede8f04 | a05f3e3bcc9f1161f5890f98eaf1a4a7129846ce | /c++/VirtualClassCreater/ViratualFunctionArgumentName.cpp | 66f3fee181b73ce790ea55289c9aaee10b963fcf | [] | no_license | sosflyyi/laboratory | 17d3d0e13a62674c244a3bcd7bdca8803fe89f32 | 9a3f47c99279e328d2719d21dfd13cd212fab5b6 | refs/heads/master | 2023-04-09T23:20:02.592346 | 2016-05-09T13:27:16 | 2016-05-09T13:27:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 238 | cpp |
#include <iostream>
class Base {
public:
virtual void out(int name) = 0;
};
class Child : public Base {
public:
void out(int ID) {
std::cout << ID << std::endl;
}
};
int main() {
Child child;
child.out(3);
return 0;
}
| [
"joke0201@gmail.com"
] | joke0201@gmail.com |
24bc62f5d4f59c1d86a28d101a88b0bf9ae1fbaa | d4fd235e20b25d7792a154ec6885ff7155085c0f | /full_v4_GP_with_button/full_v4_GP_with_button.ino | 7db648eb9ef7abf8433f2f1d240549be660e7c5c | [] | no_license | RyanJuraidini/FAU-Hackathon-2019 | 44cc5cb0f866eedc3097104b2236fc7bbb2380fe | b23e0460d49a18a3259c0ac87810da423f4f6770 | refs/heads/master | 2020-08-08T10:07:23.990716 | 2019-02-21T13:59:18 | 2019-02-21T13:59:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,367 | ino | /* This code is to read raw distance signal from a ultrasonic sensor and change the
* color or a Neo Pixel RGB accordinly to a pre-defined distance range
*/
//libraries
#include <SPI.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#include <DHT.h>
#include <ArduinoJson.h>
#include <Pub... | [
"vthuhn@gmail.com"
] | vthuhn@gmail.com |
13b8dab42d9a63dbb87a498387aa8ccc58a6222c | b2f3850ec31186f0b342aa8c538e7970635ea53e | /SummerSchool - C++/7_Napis/Napis.cpp | 876a1e1ad6895c4f5016e7b63f97b6ebdf1545ce | [] | no_license | kubaa91pl/MyProjects | 51db5120496bf066a7ff70b2b6d1490efad194db | 9bbfe81ecd9660d1acbf4a7e9a558acf010f97a3 | refs/heads/master | 2021-05-04T11:37:07.792389 | 2016-08-22T10:36:58 | 2016-08-22T10:36:58 | 54,124,118 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,524 | cpp | //
// Created by Admin on 2016-08-03.
//
#include <iostream>
#include "Napis.h"
Napis::Napis(const char *text) {
this->length = this->getTextLength(text);
this-> napis = new char[length];
this-> napis= text;
};
Napis::~Napis(){
delete napis;
};
void Napis::test(){
Napis::test(Napis::getTextLen... | [
"kubanizynski@wp.pl"
] | kubanizynski@wp.pl |
bc939f0290962f6bb10070feaabf52e5da02a548 | 266b899315cfdde3823ba405cedbb8ff553f97af | /src/Model/CtecList.cpp | 8b33c531b7a38e7ffc675217626239df3189c0b2 | [] | no_license | abro5723/NodeProjectC- | 992df24ca670fab2368f53495d9897b8203f1345 | ccb9c4d3c026c0bf703a1ca62b7fa618c69d12fe | refs/heads/master | 2021-04-26T16:43:55.789687 | 2016-03-18T14:38:41 | 2016-03-18T14:38:41 | 50,522,591 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,921 | cpp | /*
* CtecList.cpp
*
* Created on: Feb 22, 2016
* Author: abro5723
*/
#include "CtecList.h"
template <class Type>
CtecList<Type>::CtecList()
{
this -> size = 0;
this->head = nullptr;
this->end = nullptr;
}
template <class Type>
CtecList<Type>::~CtecList()
{
}
template <class Type>
Type CtecList<Typ... | [
"abro5723@gmail.com"
] | abro5723@gmail.com |
8a6408969f555bdc250502cbcb77d9617048b56a | 951e2c14f6af1002a3ed35f8a9f921c23c2bb988 | /src/coord.cpp | 4fc89b25604d5b5c53d5f2792f78f07790a6b41c | [] | no_license | umfranzw/gol-pi | 23f4a66bc95aeeeb0f414d4f3023b0d4b7e62799 | f5ef13e897d511b90ce01258a8ffe369ba396d48 | refs/heads/master | 2022-11-18T02:08:19.676759 | 2020-07-02T17:54:27 | 2020-07-02T17:54:27 | 276,711,762 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 213 | cpp | #include "coord.hpp"
#include "constants.hpp"
Coord::Coord(int x, int y) {
this->x = x;
this->y = y;
}
bool Coord::operator==(const Coord &rhs) const {
return this->x == rhs.x && this->y == rhs.y;
}
| [
"umfranzw@cs.umanitoba.ca"
] | umfranzw@cs.umanitoba.ca |
002a0b4a5cf67ee12edba93e34afdac5583fee01 | 6fa96823c5188a6bf9d156ef5e6871e2393d5950 | /src/runtime/base/taint/taint_observer.h | da16265a5e81c9f1ad3ce2c73201933dded43c5b | [
"Zend-2.0",
"PHP-3.01",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | thaingo/hiphop-php | 97387f875806e658e25205cd5ffb349e125fb14f | 565445134b073530686583bf14e53dbcb80aecdf | refs/heads/master | 2021-01-15T21:19:36.991824 | 2011-03-15T16:26:57 | 2011-03-16T19:00:49 | 1,503,470 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,411 | h | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010 Facebook, Inc. (http://www.facebook.com) |
+---------... | [
"macvicar@facebook.com"
] | macvicar@facebook.com |
e6fc17e0b8c6df2e38fdfa40eff2c778e96f4c33 | 35c04ea32351dc95bc18d46e5c70dda9c1e08668 | /Examples/CodeWarrior/TWR-K60F120M/TWR-K60F120M_FatFS_UFFS/Sources/Kinetis_NFC.h | 1cc82b131014a63c3cd163bb3b399c910c1bb48c | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | ErichStyger/mcuoneclipse | 0f8e7a2056a26ed79d9d4a0afd64777ff0b2b2fe | 04ad311b11860ae5f8285316010961a87fa06d0c | refs/heads/master | 2023-08-28T22:54:08.501719 | 2023-08-25T15:11:44 | 2023-08-25T15:11:44 | 7,446,094 | 620 | 1,191 | NOASSERTION | 2020-10-16T03:13:28 | 2013-01-04T19:38:12 | Batchfile | UTF-8 | C++ | false | false | 4,910 | h | /**
* @file Kinetis_NFC.h
*
* Created on: Mar 6, 2014
* Author: Marc Lindahl
* NAND Flash access routines for Kinetis
* Relies on Init_NFC ProcessorExpert component.
*
* Some code lifted from KINETIS_120MHZ_SC nfc.
*
* Simple driver, does one block/sector at a time, with no overlap.
*
* Doe... | [
"erich.styger@steinerberg.com"
] | erich.styger@steinerberg.com |
acdeff8b8791ec41bb69d87579f4d3bdb729a6c7 | 4e22d261d7dcf5fe2731d77ba3cfb47c5568977c | /Source/Editor/NodeGraph/NodeManager.cpp | b9ee0b855e884a1e10e5550df466eea332885df3 | [] | no_license | SeraphinaMJ/Reformed | 2d7424d6d38d1cfaf8d385fade474a27c02103a5 | 8563d35ab2b80ca403b3b57ad80db1173504cf55 | refs/heads/master | 2023-04-06T00:40:34.223840 | 2021-05-06T11:25:51 | 2021-05-06T11:25:51 | 364,884,928 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 23,037 | cpp | /*!***************************************************************************************
\file NodeManager.cpp
\author Ryan Booth
\date 9/12/2019
\copyright All content © 2018-2019 DigiPen (USA) Corporation, all rights reserved.
\par
\brief
************************************************************... | [
"minjiserak@gmail.com"
] | minjiserak@gmail.com |
ae758790f3d37caa2b35ee583e9e1915b9ec0599 | a1dd3b3da0deb35af6ce415690aad0e3d3088b08 | /Frojengine/CameraControl.cpp | 4f3c82a0926a35ac97d0f78dbfdb0a928e3215f3 | [] | no_license | Frojer/Frojengine | 1afc867a63363413875b25c0950f6bf130fc8e53 | 6be84e9effb23e20b1ad5671133c4421c32eba59 | refs/heads/master | 2021-01-19T22:10:24.369313 | 2018-09-13T12:34:19 | 2018-09-13T12:34:19 | 105,982,062 | 3 | 1 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,954 | cpp | #include "CameraControl.h"
#include "FJMath.h"
void CameraControl::Initialize()
{
}
void CameraControl::Update()
{
CObject* pObj = GetMyObject();
// À̵¿
if (IsKeyDown(VK_UP)) pObj->m_pTransform->SetPositionLocal(pObj->m_pTransform->GetPositionLocal() + (pObj->m_pTransform->GetLookAt() * 10.0f * FJSystemEngine... | [
"choicoco1995@naver.com"
] | choicoco1995@naver.com |
309a8df232425f1645203ce714145d5f47eacdfd | 2e10a55bcc27421c2ce00bac67d62ca3ae7a43be | /gcommon/source/gguivisitor.h | b4df37eaf7973f1d291fa50a7c6cecf38c6ef61b | [
"Unlicense"
] | permissive | DavidCoenFish/ancient-code-0 | 2f72b8e20406b9877daa032f9e9fb8343da62340 | 243fb47b9302a77f9b9392b6e3f90bba2ef3c228 | refs/heads/master | 2020-03-21T10:18:30.613722 | 2018-06-24T01:18:30 | 2018-06-24T01:18:30 | 138,444,313 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,207 | h | //
// GGuiVisitor.h
//
// Created by David Coen on 2011 04 14
// Copyright 2010 Pleasure seeking morons. All rights reserved.
//
#ifndef _GGuiVisitor_h_
#define _GGuiVisitor_h_
#include <boost/noncopyable.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/weak_ptr.hpp>
#include <vector>
#include "GGui.h"
class ... | [
"35204591+DavidCoenFish@users.noreply.github.com"
] | 35204591+DavidCoenFish@users.noreply.github.com |
4431ff5497a19e456f82f403abc1d4734e132e79 | 3670f2ca6f5609e14cce8c31cb1348052d0b6358 | /xacro/ros_comm/rosbag/src/record.cpp | 2632f4890d76cdba2fa9f11579b4c43f4ce07698 | [] | no_license | jincheng-ai/ros-melodic-python3-opencv4 | b0f4d3860ab7ae3d683ade8aa03e74341eff7fcf | 47c74188560c2274b8304647722d0c9763299a4b | refs/heads/main | 2023-05-28T17:37:34.345164 | 2021-06-17T09:59:25 | 2021-06-17T09:59:25 | 377,856,153 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,923 | cpp | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2008, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condit... | [
"shuyuanhao@cetiti.com"
] | shuyuanhao@cetiti.com |
ceb285b6dd49f42f56cec67482045b91aefa9f57 | 8aa5cd4de3323f6f3518834406ed51a27eed2c31 | /src/meta/noise.conv.h | 44cd7413e9bcf9004bdfcbe870403f1ae9157118 | [
"Zlib"
] | permissive | raptoravis/two | c07b0583ee643c2375323a74802850c3449ac610 | 4366fcf8b3072d0233eb8e1e91ac1105194f60f5 | refs/heads/master | 2020-07-24T12:32:48.848094 | 2019-09-12T00:51:43 | 2019-09-12T00:51:43 | 207,928,784 | 0 | 0 | Zlib | 2019-09-12T00:09:58 | 2019-09-12T00:09:58 | null | UTF-8 | C++ | false | false | 1,932 | h | #pragma once
#include <noise/Types.h>
#if !defined TWO_MODULES || defined TWO_TYPE_LIB
#include <refl/Meta.h>
#include <refl/Enum.h>
#include <infra/StringOps.h>
#endif
namespace two
{
export_ template <> inline void to_value(const string& str, two::Noise::NoiseType& val) { val = two::Noise::NoiseType(enu<two::Nois... | [
"hugo.amiard@laposte.net"
] | hugo.amiard@laposte.net |
55a8af6a6096efc976032696bc2b82ad477304e9 | 14ffe62f3b9bdd863de286648f423df9d267e456 | /Algorithms/Optimization/gradient_descent.cpp | 9e0bc16891f66139530baadb706897aafaee90f0 | [] | no_license | kaissie/til | 56ccdb29ee0dbc3f10024046d595ecbacbec9b91 | 6e884e9ea522868af53ccdd3cd4ac2a0eb65ff7e | refs/heads/master | 2020-09-01T06:17:21.255132 | 2020-04-18T14:22:02 | 2020-04-18T14:22:02 | 218,897,687 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 863 | cpp | #include <iostream>
#include <cmath>
#include <random>
long long int getRandom(long long int s, long long int e){
std::random_device seed_gen;
std::mt19937 engine(seed_gen());
std::uniform_int_distribution<> dist(s, e);
return dist(engine);
}
double f(double x, double y) {
return x*x + y*y + x*y - 2*x;
}
d... | [
"57220447+kaissie@users.noreply.github.com"
] | 57220447+kaissie@users.noreply.github.com |
9ca37e7bbcbe5e1ced0312aa394985b947dd94f7 | 6f9a3105e1170c2c70c6c2a14d5d16ec8135ce76 | /frameworks/runtime-src/Classes/reader/animation/Bezier.h | bdce38b3cf5d38320d4e82f810364bb636919b07 | [
"MIT"
] | permissive | Kuovane/cocos2dx-swf | c8b1304d391d1954c76595a48cd2c3ef0af846a9 | 72e4c8ee6bb0f4ab601deba5ab760a2b716f838c | refs/heads/master | 2022-12-16T10:58:01.644871 | 2020-09-08T09:39:52 | 2020-09-08T09:39:52 | 274,286,916 | 0 | 0 | MIT | 2020-06-23T02:11:49 | 2020-06-23T02:11:49 | null | UTF-8 | C++ | false | false | 1,490 | h | /****************************************************************************
Copyright (c) 2017 Chukong Technologies Inc.
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
i... | [
"811408414@qq.com"
] | 811408414@qq.com |
934bce65d4383b969f7fd61672331848390aafc4 | 700f02da203f3a267b6a34095df56cf521981883 | /TaskMgrCore/settinghlp.cpp | dcf0e0ac070ffff80796f9c94aa890d4f4af2a98 | [
"MIT"
] | permissive | fengjixuchui/PCMgr | 04d747e14f869062a19eb3c8c3b958b2746c90b6 | 00a576f33221baec273a9f543c8429daa1fe605f | refs/heads/master | 2021-07-14T22:15:35.272843 | 2021-06-23T08:41:34 | 2021-06-23T08:41:34 | 211,074,547 | 0 | 1 | null | 2021-06-23T08:41:35 | 2019-09-26T11:37:52 | null | UTF-8 | C++ | false | false | 753 | cpp | #include "stdafx.h"
#include "settinghlp.h"
#include "mapphlp.h"
#include "PathHelper.h"
#include "StringHlp.h"
WCHAR iniPath[MAX_PATH];
M_CAPI(LPWSTR) M_CFG_GetCfgFilePath() {
return iniPath;
}
M_CAPI(BOOL) M_CFG_GetConfigBOOL(LPWSTR configkey, LPWSTR configSection, BOOL defaultValue)
{
BOOL rs = defaultValue;
W... | [
"32213395+717021@users.noreply.github.com"
] | 32213395+717021@users.noreply.github.com |
694dcc167dc7c80b47563de5f018cd8279f836ee | 3f07e67d521968f84927cd41418f0ce9bdf9433d | /common/source/IllustratorSDK.cpp | 61e75335de8fb941ca5f56d6a22409055961fe59 | [] | no_license | azer89/IllustratorSimplePlugin | 825b8e53c484e2e9e82d8a1cbb0e64443dac673a | a2a24ac9da6f2c1fd7f84bc7c1e55ab8463386ab | refs/heads/master | 2021-01-10T13:22:01.087479 | 2016-03-26T11:39:28 | 2016-03-26T11:39:28 | 51,016,320 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 731 | cpp | //========================================================================================
//
// $File: //ai/cs6/devtech/sdk/public/samplecode/common/source/IllustratorSDK.cpp $
//
// $Revision: #2 $
//
// Copyright 1987 Adobe Systems Incorporated. All rights reserved.
//
// NOTICE: Adobe permits you to use, m... | [
"radhitya@uwaterloo.ca"
] | radhitya@uwaterloo.ca |
3fe8fe4bf36f9833706afcef2068c1983566979d | 9e6b99c75369e765dd65bab48d0c28101f8faab1 | /0_cpp101/0_basics/7_4_pointer_arr_func.cpp | d4a02fda872e707ff63223b9d5f2845cac3dbd15 | [] | no_license | rsun07/Cpp_learning | dc9315a87682c075982c4a789763e2cb3dc0bbd4 | 4baff171ffccdae1ae073e71bbf9ced6effcfcac | refs/heads/main | 2023-05-14T12:51:33.501795 | 2021-06-11T02:44:07 | 2021-06-11T02:44:07 | 374,813,867 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,593 | cpp | #include<iostream>
using namespace std;
void print(int a, int b) {
cout << "a = " << a << ", b = " << b << endl;
}
void swap(int a, int b) {
int temp = a;
a = b;
b = temp;
}
void swap(int * pa, int * pb) {
int temp = *pa;
*pa = *pb;
*pb = temp;
}
// int* arr is the same as int arr[].
// it's the pointer tha... | [
"rsun2014@gmail.com"
] | rsun2014@gmail.com |
ebfc04657ac42f11030cb53d2a94a382ce7b7818 | f79dec3c4033ca3cbb55d8a51a748cc7b8b6fbab | /mail/thunderbird24/patches/patch-ipc_chromium_src_base_platform__thread__posix.cc | 39e66d26d8f63147ef12b213a9d68383b8e931af | [] | no_license | jsonn/pkgsrc | fb34c4a6a2d350e8e415f3c4955d4989fcd86881 | c1514b5f4a3726d90e30aa16b0c209adbc276d17 | refs/heads/trunk | 2021-01-24T09:10:01.038867 | 2017-07-07T15:49:43 | 2017-07-07T15:49:43 | 2,095,004 | 106 | 47 | null | 2016-09-19T09:26:01 | 2011-07-23T23:49:04 | Makefile | UTF-8 | C++ | false | false | 866 | cc | $NetBSD: patch-ipc_chromium_src_base_platform__thread__posix.cc,v 1.1 2014/07/27 05:36:07 ryoon Exp $
--- mozilla/ipc/chromium/src/base/platform_thread_posix.cc.orig 2013-10-23 22:09:00.000000000 +0000
+++ mozilla/ipc/chromium/src/base/platform_thread_posix.cc
@@ -10,7 +10,9 @@
#if defined(OS_MACOSX)
#include <mach/... | [
"ryoon"
] | ryoon |
df3e34d4da54a067670c29dd0367e974f2669446 | b3a8fae5c8a13f16eb6a21277989822777660168 | /main.cpp | c103f08bb2e1aec5d9e7c05015205a87d421c9f4 | [] | no_license | oleg0x/Trees | 3476af21f1bd5646fb14997fecbecc451a14d797 | 3c26443cb801dc44b35ae8eeda686cfc07815da8 | refs/heads/main | 2023-04-25T14:28:56.356565 | 2021-04-27T14:06:24 | 2021-04-27T14:06:24 | 357,186,921 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 711 | cpp | #include <iostream>
void CtorsTest();
void AssignmentTest();
void PutGetTest();
void InsertEraseTest();
void AtTest();
void OperSquareBracketsTest();
void MinMaxKeyTest();
void FloorCeilingKeyTest();
void SizeTest();
void EraseMinTest();
void EraseTest();
void TraverseTest();
void OperEqualTest();
void RBTPutGetTest(... | [
"noreply@github.com"
] | oleg0x.noreply@github.com |
8e2838fc9ac49399726adc675b77d8c0ebf782bb | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/libs/mpl/preprocessed/vector/vector10.cpp | c84f9bf7c1b787a0034e0b43709de3acd5027451 | [
"BSL-1.0"
] | permissive | KqSMea8/sstd_library | 9e4e622e1b01bed5de7322c2682539400d13dd58 | 0fcb815f50d538517e70a788914da7fbbe786ce1 | refs/heads/master | 2020-05-03T21:07:01.650034 | 2019-04-01T00:10:47 | 2019-04-01T00:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 413 | cpp |
// Copyright Aleksey Gurtovoy 2002-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/libs/mpl for documentation.
// $Id$
// $Date$
// $Revision$
#define BOOST_MPL_PREPROCE... | [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
3871abbbd66bd5c16d0289db5c22ae32e3496a57 | 5d4eef8b29e5c0584fdbe250bcd142f9a2420044 | /spi.cpp | ae89eaae82fb7b24df37b0dcb73063d40242b098 | [] | no_license | PRAJJWAL0606/spiral | a08a31e006c6bf28a5ce8f4c5251313ea1a3a7ae | 871dadcf72fbc61f553cea8a273486ff6445059e | refs/heads/master | 2020-07-25T03:04:51.277584 | 2019-09-12T21:00:24 | 2019-09-12T21:00:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 768 | cpp | #include<iostream>
using namespace std;
void fun()
{
int n;
int m;
cin>>n;
cin>>m;
int b=0;int c=0;
int a[n][m];int j=0;int k=0;int y=m-1;int v=n-1;
for(int i=0;i<n;i++)
{
for(int p=0;p<m;p++)
{
cin>>a[i][p];
}
}
while(k!=(n)/2||j!=(m)/2)
{
while(j<=y)
{
cout<<a[k][j... | [
"noreply@github.com"
] | PRAJJWAL0606.noreply@github.com |
54487e31d03055bf0592a174aff8aa0d25aaa0f2 | 1216def0fa454bac13a2f394da613c89cfa33f94 | /queue/queue_list.cpp | 4d1c3804c9b87abc248a21a7043143fc2d118ba9 | [] | no_license | anishkumark82/interview_prep | 7b688d4e7dd50e6bdb50a30c437b24c9dba8961f | b60b9804620625a84e5cffdfa069aeff291de266 | refs/heads/master | 2020-12-24T11:18:06.144759 | 2018-03-25T03:09:09 | 2018-03-25T03:09:09 | 73,036,871 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,189 | cpp | // Queue implementation using list (not using std::list or std::queue)
// Basic operations
// - push() - O(n)
// - pop() - O(1)
// - isEmpty() - O(1)
#include <iostream>
using namespace std;
template <typename T>
class MyQueue
{
private:
typedef struct _node
{
T data;
struct _node *next;
... | [
"anishkumark@gmail.com"
] | anishkumark@gmail.com |
81d6fa0430e797c234aee8f02f43909bda8f6766 | b79922441be78aa772787c5e2f2fbcc4e27a40fa | /geometry/proximity/test/deformable_contact_internal_test.cc | a8dbbf45fd4c5d5b5cfa9e04a7e7a475ab02e99d | [
"BSD-3-Clause"
] | permissive | hongkai-dai/drake | 7fd528b9da306ac5045d9ac50a468118b043cd84 | 7904810e90b91fdef2bef54d7a5d806940165626 | refs/heads/master | 2023-08-22T15:04:55.066709 | 2023-07-25T04:04:27 | 2023-07-25T04:04:27 | 16,714,749 | 2 | 5 | NOASSERTION | 2023-06-21T18:42:52 | 2014-02-11T00:58:57 | C++ | UTF-8 | C++ | false | false | 15,936 | cc | #include "drake/geometry/proximity/deformable_contact_internal.h"
#include <gtest/gtest.h>
#include "drake/common/find_resource.h"
#include "drake/common/test_utilities/eigen_matrix_compare.h"
#include "drake/common/test_utilities/expect_no_throw.h"
#include "drake/common/test_utilities/expect_throws_message.h"
#incl... | [
"noreply@github.com"
] | hongkai-dai.noreply@github.com |
63e42f49755b2695c1b6e3411cb83fcea49eecba | b89de7e39eb9b2ef094e2578d0d71349bebc1f08 | /old stuff/F_Aviles_Lab9/Node.cpp | f9bb21883e568702a28c796d0299963c7561b8cd | [] | no_license | r556a812/olderKUFiles | 43bc54bbbb749650fdb6c3b08e718ad938b942fe | 25f3224d0b7542eb4a5d33d179290940072a7e92 | refs/heads/master | 2020-03-16T22:52:17.985779 | 2018-05-11T15:49:23 | 2018-05-11T15:49:23 | 133,055,755 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 671 | cpp | /**
* @file : Node.cpp
* @author : Richard Aviles
* @date : 2015.08.26
* Purpose: Creates the Node and its set and get methods.
*/
#include "Node.h"
Node::Node()
{
m_value = 0;
m_left = nullptr;
m_right = nullptr;
rank = 1;
}
void Node::setValue(int value)
{
m_value = value;
}
int Node::getVa... | [
"r556a812@ku.edu"
] | r556a812@ku.edu |
6f3540d77d3f263609999b900fdbb901788ea7a1 | 9f6ac63e81535daeb55611d66560ab2a87fc9d8c | /libs/vislib/graphics/src/FpsCounter.cpp | 0aff2e18150e2902774fa30065ddd3fec03fb60f | [] | no_license | ComputationalRadiationPhysics/rivlib | 68e4de9cc98f62112ec21a05d68c406ef580a32d | 1a838630400892a53ff7eb120aec4282fc9967ac | refs/heads/master | 2021-01-21T05:00:23.480426 | 2016-05-23T07:29:51 | 2016-05-23T07:29:51 | 29,530,946 | 3 | 1 | null | 2016-05-23T07:29:51 | 2015-01-20T13:27:18 | C++ | UTF-8 | C++ | false | false | 5,381 | cpp | /*
* FpsCounter.cpp
*
* Copyright (C) 2006 - 2007 by Universitaet Stuttgart (VIS).
* Alle Rechte vorbehalten.
*/
#include "vislib/FpsCounter.h"
#include <climits>
#include <cfloat>
#include "vislib/assert.h"
#include "vislib/mathfunctions.h"
#include "vislib/memutils.h"
#include "vislib/IllegalParam... | [
"axel.huebl@web.de"
] | axel.huebl@web.de |
37e9d00bbe1a6d46434e9407c204104fd780c44f | a0083508bd1b5fbca2932aba10e4778f1e7b1f5c | /Mesh-Animator/attachment.h | db5060dc8522235eb6ad7186853e39448cec3ef6 | [
"MIT"
] | permissive | adlawren/Computer-Graphics-Exercises | 6bad79f7a81c0b09af4b7529d7c8f51069f06707 | 423630715416105632e624ea78b5a574eb80323e | refs/heads/master | 2021-03-27T15:49:44.017766 | 2017-12-08T06:02:15 | 2017-12-08T18:21:45 | 104,153,904 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,734 | h | // Notice: The majority of this code was written by Dale Schuurmans, and was
// copied and pasted with his permission
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <cfloat>
#include <climits>
#include <cmath>
#include <vector>
#include <Eigen/Dense>
#include <Eigen/Sparse>
#ifnd... | [
"adlawren010@gmail.com"
] | adlawren010@gmail.com |
4c10aa01b92db28e4101a8f21e530c008da2e8f8 | 7e2a6bbaa038429d46631a1b41292bce14dc6d88 | /exnih/LibraryNuclide.cpp | 30459f1f30fb24a1a34a46cee32df43146fc29de | [] | no_license | eNorris/thesis | 6242c531cb3f9f330246458720ecd1a1559aa7e5 | b3b9ed0fcd52e5eb72cf3bbff1342191142bbfae | refs/heads/master | 2021-11-30T15:30:13.185279 | 2017-07-05T01:49:42 | 2017-07-05T01:49:42 | 53,451,637 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,371 | cpp | //#include "Standard/Interface/AbstractStream.h"
//#include "Resource/AmpxLib/ampxlib_config.h"
#include "LibraryNuclide.h"
#include "BondarenkoGlobal.h"
#include "NuclideResonance.h"
#include "AmpxLibrary.h"
#include <string>
#include <QDebug>
#include "AmpxDataHelper.h"
LibraryNuclide::LibraryNuclide() {
initial... | [
"etnc6d@mst.edu"
] | etnc6d@mst.edu |
c7aa03e6bcb7c348e9030cd1855739421ea63ac0 | 256c1e63fbe6454146d6bc9655415d43c52bf13c | /AdvancedLevel/1120FriendNumbers.cpp | 66628142723a173cb3ac0871497b43124d565a89 | [] | no_license | czyxm/PAT | c7d5a752d5fc0856da14b907a3c3b99397dd5dd6 | 0951d9a5c9bd8bd3e102f2f3772fc16e8a2b846c | refs/heads/master | 2021-06-17T19:38:34.202686 | 2021-04-19T12:56:06 | 2021-04-19T12:56:06 | 195,560,279 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 726 | cpp | #include<bits/stdc++.h>
using namespace std;
int id(const string & str)
{
int sum = 0;
for (int i = 0; i < str.size(); i++)
{
sum += str[i] - '0';
}
return sum;
}
int main()
{
int N, M = 0, sum;
bool friendID[37] = {false};
string str;
cin >> N;
for (int i = 0; i < N; i... | [
"cmzyx@zju.edu.cn"
] | cmzyx@zju.edu.cn |
b9ab5a662771667d0863796a3ba069f6571f4bf2 | 67da5d92d6df5761e7d7556813dcdbcb19b9927d | /tables/openbsm/src/openbsmservice.cpp | ad9410080d0a7db258a46ce7c93ac048a792db79 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | hamzashahzad1/try-workflow | 5263918c7b037edcf9117ede7602731a6d2cebb4 | 8172465fffc648e37037fe8e823529f5d43c2011 | refs/heads/master | 2023-06-11T02:04:18.668848 | 2021-07-05T16:14:10 | 2021-07-05T16:14:10 | 382,877,727 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,753 | cpp | #include "openbsmservice.h"
#include "socketeventstableplugin.h"
#include <algorithm>
#include <cassert>
#include <chrono>
#include <thread>
#include <zeek/iopenbsmconsumer.h>
#include <zeek/openbsmservicefactory.h>
namespace zeek {
namespace {
const std::string kServiceName{"openbsm"};
} // namespace
struct Openbs... | [
"noreply@github.com"
] | hamzashahzad1.noreply@github.com |
2287db9bf1fac4b826a19a70fcbd79a87bb535b5 | af6a65756993e5ecb3c2997fccf75e879c1c2fcf | /ChickenGame/ChickenGame/GameOverState.cpp | 5ec3e3dd89e7a1d0b171763d079ca0f2b67c268b | [] | no_license | PaddyReid/Cormac | 6637ce2f2bdc14b9cde3917bc33be3405b2f1c62 | d312f2d771a60c472a94d0a5afb4e2a87fbf39c9 | refs/heads/master | 2021-08-28T09:23:25.905120 | 2017-11-29T12:24:41 | 2017-11-29T12:24:41 | 113,905,790 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,492 | cpp | #include "GameOverState.hpp"
#include "Utility.hpp"
#include "Player.hpp"
#include "ResourceHolder.hpp"
#include <SFML/Graphics/RectangleShape.hpp>
#include <SFML/Graphics/RenderWindow.hpp>
#include <SFML/Graphics/View.hpp>
GameOverState::GameOverState(StateStack& stack, Context context)
: State(stack, context)
, ... | [
"cwhite788@gmail.com"
] | cwhite788@gmail.com |
9897be0a3108476dadb63ea9bda70e639532aa08 | e5dad8e72f6c89011ae030f8076ac25c365f0b5f | /caret_command_operations/CommandSurfaceBorderToMetric.h | b74bbfddddac1c748be24834c612f15fc1775eb3 | [] | no_license | djsperka/caret | f9a99dc5b88c4ab25edf8b1aa557fe51588c2652 | 153f8e334e0cbe37d14f78c52c935c074b796370 | refs/heads/master | 2023-07-15T19:34:16.565767 | 2020-03-07T00:29:29 | 2020-03-07T00:29:29 | 122,994,146 | 0 | 1 | null | 2018-02-26T16:06:03 | 2018-02-26T16:06:03 | null | UTF-8 | C++ | false | false | 1,805 | h |
#ifndef __COMMAND_SURFACE_BORDER_TO_METRIC_H__
#define __COMMAND_SURFACE_BORDER_TO_METRIC_H__
/*LICENSE_START*/
/*
* Copyright 1995-2002 Washington University School of Medicine
*
* http://brainmap.wustl.edu
*
* This file is part of CARET.
*
* CARET is free software; you can redistribute it and/or modify
... | [
"michael.hanke@gmail.com"
] | michael.hanke@gmail.com |
4d032445d45678c4039d21ad87fd717fe9c04eeb | 957ba9d83a8294e3ae225e1bb62e2f32d6c7b49d | /Week6/CMP105App/Gravball.h | 34768e617dd4b352230567eaab4c30f66b9c29e7 | [] | no_license | StuartMorrison/CMP105_W6 | dce351803e702a0f0396ca9c591ebd5ca4840a86 | a6da0f9301bfc244844882b19ddeb993890ab11e | refs/heads/master | 2021-01-07T05:15:20.832815 | 2020-02-20T12:24:37 | 2020-02-20T12:24:37 | 241,589,446 | 0 | 0 | null | 2020-02-19T10:07:54 | 2020-02-19T10:07:53 | null | UTF-8 | C++ | false | false | 374 | h | #pragma once
#include "Framework/GameObject.h"
class Gravball :
public GameObject
{
public:
float scale;
int isJumping;
sf::Vector2f gravity;
sf::Vector2f stepVelocity;
sf::Vector2f jumpVector;
sf::RenderWindow* window;
Gravball();
void handleInput(float dt);
void update(float dt);
void setWindu(sf::Rende... | [
"1900407@uad.ac.uk"
] | 1900407@uad.ac.uk |
85ef1f3b94eb67350a184583c1ae4d3e38a7c4bf | 7010579ef5c8483e98f6344d51d350dabab7c9d4 | /Source/CatchMe/Luautils.h | 19c6525eda9a9b3bf71f653bcf865cb6cd518ff7 | [] | no_license | ik3210/CM | 4b18f5993e101ca850e0643f6ac692073b311775 | 72371cb15dd9fa48f9c47f7e28ef6e3a2588b91c | refs/heads/master | 2021-06-19T18:45:30.272872 | 2017-07-02T14:45:51 | 2017-07-02T14:45:51 | 100,611,197 | 1 | 0 | null | 2017-08-17T14:17:42 | 2017-08-17T14:17:42 | null | UTF-8 | C++ | false | false | 1,490 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "Kismet/BlueprintFunctionLibrary.h"
#include "Luautils.generated.h"
USTRUCT(meta=(Lua=1))
struct FReplifetimeCond {
GENERATED_USTRUCT_BODY()
UPROPERTY()
FString PropertyName;
UPROPERTY()
TEnumAsByte<ELifetimeC... | [
"asqbtcupid@sina.com"
] | asqbtcupid@sina.com |
3e992014f24ea059b9f9be18e90b1a99ac1b85ea | 13dafbe0e33771bd24496637a761c4703fb0beb4 | /Codeforces/ShichikujiAndPowerGrid.cpp | 5a8f432032b7b721699ee2de8e0512443d38ca54 | [] | no_license | Owmicron/CPStuff | 121d498b2418141fa45d27fcbfa0a1fd851a4293 | 436f3234ed2f2930b13169f30428ded5da557b75 | refs/heads/master | 2022-12-30T06:43:18.425735 | 2020-10-20T12:21:59 | 2020-10-20T12:21:59 | 258,448,760 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,837 | cpp | #include<bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#pragma GCC target ("avx2")
#pragma GCC optimization ("O3")
#pragma GCC optimization ("unroll-loops")
#pragma comment(linker, "/stack:200000000")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=na... | [
"owenultima@gmail.com"
] | owenultima@gmail.com |
0eab640b45134006987337db51e33b72b5e044e9 | 1256b4c60f65ecb4a2d047dd46cc159eb39a2033 | /tests/SolARTest_ModuleOpenCV_FeatureMatchingStabilization/main.cpp | 61299e7e404e9470b0a5498eeb584269bfce858b | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | SolarFramework/SolARModuleOpenCV | 886c20c3e7217b8b1c05a7663ae4626e468dd558 | 9684c9ecd9283843d87020f4ac4da675e9406458 | refs/heads/master | 2023-08-10T23:19:29.778146 | 2023-07-20T13:42:58 | 2023-07-20T13:42:58 | 119,406,923 | 5 | 6 | Apache-2.0 | 2023-06-28T13:24:53 | 2018-01-29T16:13:43 | C++ | UTF-8 | C++ | false | false | 4,264 | cpp | /**
* @copyright Copyright (c) 2017 B-com http://www.b-com.com/
*
* 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... | [
"nam-duong.duong@b-com.com"
] | nam-duong.duong@b-com.com |
fbca35e588389aff49856bd02e9a2237e3636127 | bcf138c82fcba9acc7d7ce4d3a92618b06ebe7c7 | /gta5/0xA46B73FAA3460AE1.cpp | 44497da24471eff1a366c71db1397d7d2d54d361 | [] | no_license | DeepWolf413/additional-native-data | aded47e042f0feb30057e753910e0884c44121a0 | e015b2500b52065252ffbe3c53865fe3cdd3e06c | refs/heads/main | 2023-07-10T00:19:54.416083 | 2021-08-12T16:00:12 | 2021-08-12T16:00:12 | 395,340,507 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 852 | cpp | // fm_mission_controller.ysc @ L317516
void func_4366()
{
if (MISC::ARE_STRINGS_EQUAL(sLocal_16440, "MPH_PAC_FIN_MCS1") && MISC::IS_BIT_SET(bLocal_14844, 25))
{
func_4367(0);
}
if (MISC::ARE_STRINGS_EQUAL(sLocal_16440, "MPH_NAR_FIN_EXT"))
{
MISC::WATER_OVERRIDE_SET_STRENGTH(0f);
GRAPHICS::_0x649C9... | [
"jesper15fuji@live.dk"
] | jesper15fuji@live.dk |
7737acbdd6ac773b6041aec2fd9ff6743824558e | 31a5a5577440049a12af6848d17a6038b73d13ae | /Choco/io_tcp_socket.cpp | cf254237e21eac91c01776334c8574775e5649c0 | [] | no_license | jimmy486/Choco | 5d28fbb4fb11834afc4da33c8cca6602d39856fa | 29c1c9a93a065bcd396704a21336eae38439f33b | refs/heads/master | 2021-01-18T16:56:07.254801 | 2014-07-19T16:56:56 | 2014-07-19T16:57:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,513 | cpp | #ifdef DEPRECATED
#include "io_tcp_socket.h"
#include "io_errno.h"
#include "common_errno.h"
#include <WinSock2.h>
#include <Windows.h>
#include <mswsock.h>
using namespace std;
namespace Choco{
namespace IO{
struct TCPSocketData{
SOCKET socket;
SOCKADDR_IN local, remote;
OvData ov;
};
TCPSocket::TCPSo... | [
"pjc0247@naver.com"
] | pjc0247@naver.com |
530315e64f512eaec65c1465a51fc794b07d5daa | c8ef491a438a00fe5c1b6ef2dded0c032074f5a6 | /src/platforms/autosar-swc/mindroid/os/SystemClock.cpp | 6314b02d51ede3edde4d86671c3d0ab20ae8468c | [] | no_license | ogsts/Mindroid.ecpp | 38ab13825f3a1ea2c0ab37673b476e75944cec76 | 45c59d83da043e26ebafdcf48220e9120623a915 | refs/heads/master | 2020-12-25T09:37:34.246509 | 2016-05-04T12:05:24 | 2016-05-04T12:05:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,031 | cpp | /*
* Copyright (C) 2011 Daniel Himmelein
*
* 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 ... | [
"daniel.himmelein@esrlabs.com"
] | daniel.himmelein@esrlabs.com |
070da6cda459accc515fe2b6425018e4d79c2cd8 | 42f1787ee34a6dedb0371e40f308e0d7ef6f91ce | /Projects/Parser/lexer.cc | c728ea87e4178820a14158e33ab52a677a545bf9 | [] | no_license | KaranKumar3/Personal-Repository | 5f50e43bae94c763e561fa1cc22188a363a82b68 | 682382396670833f4f03712efc349f763992b872 | refs/heads/master | 2020-03-22T00:50:30.669304 | 2020-02-17T18:23:22 | 2020-02-17T18:23:22 | 139,268,692 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,366 | cc | /*
* Copyright (C) Rida Bazzi, 2016
*
* Do not share this file with anyone
*/
#include <iostream>
#include <istream>
#include <vector>
#include <string>
#include <cctype>
#include "lexer.h"
#include "inputbuf.h"
using namespace std;
string reserved[] = { "END_OF_FILE",
"PUBLIC", "PRIVATE",
"EQUAL", "COLO... | [
"noreply@github.com"
] | KaranKumar3.noreply@github.com |
8d729fa897618431596abf5883593d6c77bb1bd4 | e10ddca5055e39f77cc3676de2916107cd210980 | /catch2-example.test.cpp | 549f026a70dc3ad8f0fe90bdca13f42198661632 | [
"MIT"
] | permissive | matepek/catch2-with-gmock | 3f2953d5b9d265526166e307b4e8941425085c18 | 93e77c0c5760b42069038a9a896f6892d0eca59b | refs/heads/master | 2021-01-06T16:36:33.128462 | 2020-05-01T04:33:09 | 2020-05-01T04:33:09 | 241,400,388 | 16 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 980 | cpp | // https://github.com/matepek/catch2-with-gmock
// NOTE that next line includes gmock and catch2 headers automatically.
#include "ThirdParty/Catch2TestWithMainAndGMock.hpp"
#include "ThirdParty/MockScopeGuard.hpp"
using namespace std;
///
class Foo {
public:
virtual ~Foo() {}
virtual bool Bar() const = 0;
};
... | [
"mate.pek@gmail.com"
] | mate.pek@gmail.com |
58af571c8982ca6550817df9f6b08cd1b72e1616 | abf24191265fb9e6648cf1de7ed848fbe291da7c | /cugl/lib/2d/actions/CUScaleAction.cpp | f99be05427a8c86f8d8aa61399f32ed5fab45963 | [] | no_license | onewordstudios/sweetspace | 4ecc3fe27fb794fac6e8b2e8402f9b010f5553a4 | 5d071cd68eb925b9ae1b004ce5d6080cc3261d30 | refs/heads/master | 2023-02-04T11:13:34.287462 | 2023-02-03T04:03:24 | 2023-02-03T04:03:24 | 241,430,856 | 9 | 2 | null | 2023-02-03T04:03:26 | 2020-02-18T18:00:44 | C++ | UTF-8 | C++ | false | false | 6,139 | cpp | //
// CUScaleAction.cpp
// Cornell University Game Library (CUGL)
//
// This module provides support for the scaling actions. Scaling can specified
// as either the final magnification or multiplicative factor.
//
// These classes use our standard shared-pointer architecture.
//
// 1. The constructor does not pe... | [
"mt-xing@users.noreply.github.com"
] | mt-xing@users.noreply.github.com |
38df3865fc7c4291b6a69def862a0776251e6a83 | b511bb6461363cf84afa52189603bd9d1a11ad34 | /second year/asdkj.cpp | 56ee60090374844a0b8c936a52f27c1b3b7d3879 | [] | no_license | masumr/problem_solve | ec0059479425e49cc4c76a107556972e1c545e89 | 1ad4ec3e27f28f10662c68bbc268eaad9f5a1a9e | refs/heads/master | 2021-01-16T19:07:01.198885 | 2017-08-12T21:21:59 | 2017-08-12T21:21:59 | 100,135,794 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 831 | cpp | #include<bits/stdc++.h>
using namespace std;
map<char,int>mp;
int main(){
mp['a']=1;mp['e']=1;mp['i']=1;mp['o']=1;mp['u']=1;mp['y']=1;
mp['A']=1;mp['E']=1;mp['I']=1;mp['O']=1;mp['U']=1;mp['Y']=1;
int t;
while(scanf("%d",&t)==1){
while(t--){
string s;
cin>>s;
int f1=0,l1=s.siz... | [
"masumr455@gmial.com"
] | masumr455@gmial.com |
8644218777ec3b933d5ea08593b3cd3592c02055 | d34969a38cd03d2dc5dea78eded9214c52e60379 | /TETRIS/TETRIS/ts_waiting_room.cpp | 0d112ff804b4c7e8d8de1020cc43eb4ac5703159 | [] | no_license | yeongchiccccc/beginner_cpp | db963cf67ce99722599120b241234bf36c716505 | e01f753efa392b8ea20ad3b90d96d44ce7ccadf5 | refs/heads/main | 2023-08-19T10:52:40.064521 | 2020-11-19T08:41:21 | 2020-11-19T08:41:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,573 | cpp | #include "stdafx.h"
BOOL CALLBACK DlgProc_Waiting(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
int iRetval = 0;
LPNMHDR pHdr = NULL;
LPNMLISTVIEW pNlv = NULL;
pHdr = (LPNMHDR)lParam;
pNlv = (LPNMLISTVIEW)lParam;
switch ( uMsg )
{
case WM_INITDIALOG:
{
InitProc_Waiting(hDlg);
... | [
"byeolhakim42@gmail.com"
] | byeolhakim42@gmail.com |
62d15e4edfe35215f3541057b4040510a229c52c | 33303d4a07598139320c796f07c614d5e901e6ef | /cpp/oneapi/dal/algo/svm/detail/infer_ops.hpp | 24a90633ac29b1ea416f8f15916e48310578bc09 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"Intel",
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause",
"MIT",
"Zlib"
] | permissive | bysheva/oneDAL | 7eb33dbb5aa3393c032f4e68cc1cb93fc50c0c3f | 84cb27c9afde49320670006b4ff0791ee90d73d1 | refs/heads/master | 2023-05-05T21:18:45.345237 | 2021-03-01T08:00:08 | 2021-03-01T08:00:08 | 284,727,302 | 0 | 2 | Apache-2.0 | 2021-05-29T00:02:24 | 2020-08-03T14:49:26 | C++ | UTF-8 | C++ | false | false | 3,732 | hpp | /*******************************************************************************
* Copyright 2020-2021 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apa... | [
"noreply@github.com"
] | bysheva.noreply@github.com |
96910a6d12b1f7bbd6e8f893118c187fbe638261 | a725c4f380cc19b46ff97e769cf3cbf44214333b | /cpp-leetcode/leetcode599-minimum-index-sum-of-two-lists_sort.cpp | 8b3f27551c1a4ac76e6f3dc2081907a5f2a8b9d3 | [
"MIT"
] | permissive | llenroc/leetcode-ac | b4e120d42aa138bfaa092a24dc941b03eb0c9279 | fd199fe254898fcb5de7d16a5d39ff78cfcd1026 | refs/heads/master | 2023-08-12T07:58:16.609374 | 2021-10-12T14:03:23 | 2021-10-12T14:03:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,499 | cpp | #include <iostream>
#include <vector>
#include <map>
#include <algorithm>
using namespace std;
class Solution {
public:
vector<string> findRestaurant(vector<string>& list1, vector<string>& list2) {
vector<string> res;
const int len1 = list1.size();
const int len2 = list2.size();
... | [
"1530676929@qq.com"
] | 1530676929@qq.com |
4dc7db8fc4b1229ee98fbcf71aacbff4d4a12f3c | 48b23a49c093e8303b90ed6335e61d64362e40af | /shandalovych-viktoriia/src/shandalovych03/AutoWheelScreen.cpp | 7cf8342fde01ddb1e536fcb405b1508c8437eadb | [
"MIT"
] | permissive | zeienko-vitalii/se-cpp | e5b7d1d8800e2a5c777e76cc9cfd30d898400282 | 54a5dfb2e98af099fbfaef129a7fe03a7b815d6f | refs/heads/master | 2021-08-15T15:22:30.559011 | 2017-11-17T22:37:45 | 2017-11-17T22:37:45 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 544 | cpp | /*
* AutoWheelScreen.cpp
*
* Created on: 8 окт. 2017 г.
* Author: Viktotia
*/
#include "AutoWheelScreen.h"
AutoWheelScreen::AutoWheelScreen() {
// TODO Auto-generated constructor stub
}
AutoWheelScreen::AutoWheelScreen(AutoWheel* autoWheel):Screen(autoWheel) {
}
AutoWheelScreen::~AutoWhe... | [
"31850361+shandalovych-viktoriia@users.noreply.github.com"
] | 31850361+shandalovych-viktoriia@users.noreply.github.com |
6929d8175519a7eacc98f9997f0ebd80e0a152c0 | 7d9ba4c049d472efdab0a84e80872a1390ab895d | /C++/09 Pythagorean Triples.cpp | f7294ed37b9827948c5a572d824e4b8978640ed9 | [] | no_license | spencerng/ProjectEuler | fd33d70f350ca5c548536efe09381d2cf96558c9 | df4d9c9d02297d60e3dff40cf7fffb3593423b4f | refs/heads/master | 2021-01-01T04:28:18.239012 | 2017-07-14T01:41:02 | 2017-07-14T01:41:02 | 97,180,165 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 591 | cpp | #include<iostream>
#include<vector>
#include <string>
#include <cmath>
using namespace std;
//use the idea that Pythagoream Triples can be constructed with any
//m and n, where a = n^2-m^2, b = 2mn, c=n^2+m^2
int main() {
int testCases, num;
cin >> testCases;
for (int i = 0; i<testCases; i++) {
cin >> num;
... | [
"sng1488@gmail.com"
] | sng1488@gmail.com |
76a3ada9866d6da79f446348752ba299a1ecd91c | 03781c98597e3cc175a4c0ae25951167f7c41e6a | /SGU/180.cpp | 7dc720e79378c054feced055301e60cb26ffa565 | [] | no_license | Liuchenlong/acm | e4ea0d59739d05ae808a45c4164decf91f2087ff | d52dc289d836874dd30f4d8a5a2002398a0639e8 | refs/heads/master | 2020-04-03T22:06:28.611879 | 2019-09-28T14:08:27 | 2019-09-28T14:08:27 | 59,131,382 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 869 | cpp | #include<stdio.h>
#include<cmath>
#include<iostream>
#include<string.h>
#include<algorithm>
#include<queue>
#include<set>
#include<vector>
#include<map>
using namespace std;
#define eps 1e-12
const int maxn=70005;
int N;
int a[maxn];
int lowbit(int x)
{
return x&(-x);
}
int add(int x)
{
for(int i=x;i<=N;i+=lowb... | [
"noreply@github.com"
] | Liuchenlong.noreply@github.com |
f19b9b5dad3f80c82ebd4fe4e5dc0ad51430d22e | 5e924ac5f31ce1003e551625178a110d8c013eea | /include/SPTK/filter/line_spectral_pairs_digital_filter.h | 8cc7f84111c714ac6e33d734749838d830311208 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | AudioBucket/SPTK | c1f5d29298d1f7052bd5858f345025ae5395839d | f07cc56722ac82c0f4d7625e655f1ac304dc0d93 | refs/heads/master | 2020-03-28T06:18:57.681257 | 2018-09-03T13:44:28 | 2018-09-03T13:44:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,449 | h | // ----------------------------------------------------------------- //
// The Speech Signal Processing Toolkit (SPTK) //
// developed by SPTK Working Group //
// http://sp-tk.sourceforge.net/ //
// -----------------------------... | [
"takenori.yoshimura24@gmail.com"
] | takenori.yoshimura24@gmail.com |
00c09c578a444c63accab397914856310e449cc1 | 916e7c5c7fc660dfdb58d235051fdfd9d1c53f41 | /GCQL/colorbtn.cpp | 9c2f95ed31f484aec9812e86eb10f7e9e40ef933 | [
"MIT"
] | permissive | palestar/gamecq | 13a98686273aef446f80099a003f156eba351b86 | 1fe2dfa396769bb8bfbe2a47914a41e5e821a26b | refs/heads/develop | 2020-12-24T18:24:05.416537 | 2020-02-08T20:38:01 | 2020-02-08T20:38:01 | 59,443,046 | 10 | 11 | null | 2016-12-12T15:34:27 | 2016-05-23T01:20:10 | C++ | UTF-8 | C++ | false | false | 14,455 | cpp | // ColorBtn.cpp : implementation file
#define MATERIALPORT_DLL
#include "stdafx.h"
#include "ColorBtn.h"
#ifdef _DEBUG
//#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
// The color table, initialized to windows' 20 static colors
//COLORREF RGB( unsigned char r, unsigned char g, un... | [
"rlyle@palestar.com"
] | rlyle@palestar.com |
9dc07790d9096fb4a83c0f4234ac2b2f2f03060d | 11651cbf0eb9ecc4088afa9b2877d2ce16c10289 | /Code/_Utils/BIF/oBIFsQuantization.cpp | 12391f1446167077710d5422e469d219814daf11 | [
"Apache-2.0"
] | permissive | SebastienTs/LOBSTER | 0d32c2d70d1e5561b0a0520a75a10cda9cb1cbab | 3b096cb84a1988d65ccc015d84677d9b8039f2c1 | refs/heads/master | 2020-08-29T16:50:27.291380 | 2020-07-24T16:00:15 | 2020-07-24T16:00:15 | 218,098,866 | 12 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,198 | cpp | #include "mex.h"
#include <math.h>
//nlhs Number of expected mxArrays (Left Hand Side)
//plhs Array of pointers to expected outputs
//nrhs Number of inputs (Right Hand Side)
//prhs Array of pointers to input data. The input data is read-only and should not be altered by your mexFunction .
void mexFunction(int nlhs, mx... | [
"sebastien.tosi@gmail.com"
] | sebastien.tosi@gmail.com |
641b0881b6108974ad3b4ad7fa490d1906afb065 | ccfdc8d0125ed54652289758b68f755230458b95 | /SQLite/CppSQLite3.cpp | 9f78f132c241e2f09ffc3334685379acb0a5895d | [
"MIT"
] | permissive | IgorYunusov/Reclass-2016 | 0197b7f19881ead44be2c9d98adc6efbe176997c | c1fc56ccd66034cd7ef0264c78c1a6ccf3204a39 | refs/heads/master | 2021-01-01T15:43:12.212749 | 2016-10-07T20:19:28 | 2016-10-07T20:19:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,229 | cpp | ////////////////////////////////////////////////////////////////////////////////
// CppSQLite3 - A C++ wrapper around the SQLite3 embedded database library.
//
// Copyright (c) 2004 Rob Groves. All Rights Reserved. rob.groves@btinternet.com
//
// Permission to use, copy, modify, and distribute this software and its
//... | [
"blood_099@hotmail.com"
] | blood_099@hotmail.com |
3d97d2a46bc0632314147d8334e3f53b6d9c4d43 | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/MuonSpectrometer/MuonGeoModel/MuonGeoModel/MYSQL.h | 556c6319369308aef9bac57378fa3a677a8eb29e | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,624 | h | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#ifndef MYSQL_H
#define MYSQL_H
#include <map>
#include <string>
#include "MuonGeoModel/Station.h"
#include "MuonGeoModel/Position.h"
#include "GaudiKernel/MsgStream.h"
#include "AthenaKernel/getMessageSvc.h"
/*
This class holds an st... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
7b944de322e6a10d1e2c942b67ef07e96cab2a7a | d754ba23c8ff391ce9dcefcfae3b90cef16ecde0 | /DMOJ/BackToSchool/bts18p4.cpp | 37c55ab1f394a895d42ca5c9152ff338315f8d2c | [] | no_license | TruVortex/Competitive-Programming | 3edc0838aef41128a27fdc7f47d704adbf2c3f38 | 3812ff630488d7589754ff25a3eefd8898226301 | refs/heads/master | 2023-05-10T01:48:00.996120 | 2021-06-02T03:36:35 | 2021-06-02T03:36:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,116 | cpp | #include <bits/stdc++.h>
using namespace std;
static inline __attribute__((always_inline)) bool valid(long long y)
{
long double val = sqrt(1+4*y);
if (abs((long long)val-val) <= 1e-10)
return ((long long)val)&1;
return false;
}
const int MAXN = 100010;
vector<bool> val(MAXN), vis(MAXN);
vector<... | [
"evanzhang1028@hotmail.com"
] | evanzhang1028@hotmail.com |
d03277921aff95cafc66f8d285e4cedc30cbebf5 | 2b1bff70fcce2359a158c2960994c539e1cc3057 | /include/MenuManager.hpp | 791702e00b9432ef4401697e820045a351c3d2e8 | [] | no_license | VictorLuc4/Boomberman | 39e3d40c63e0b8e219bf7910cee8230df1df0809 | 9f73ebad57f66e4361498118f1f7927fb6f5f986 | refs/heads/master | 2020-04-05T04:07:36.393193 | 2018-11-07T11:53:24 | 2018-11-07T11:53:24 | 156,538,442 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 698 | hpp | /*
** EPITECH PROJECT, 2018
** cpp_indie_studio
** File description:
** MenuManager
*/
#ifndef MENUMANAGER_HPP_
#define MENUMANAGER_HPP_
#include "MenuGui.hpp"
#include "MainMenuGui.hpp"
#include "OptionMenuGui.hpp"
#include "NewGameMenuGui.hpp"
#include "HudGui.hpp"
#include "VictoryGui.hpp"
class MenuManager... | [
"victor.lucas@hetic.net"
] | victor.lucas@hetic.net |
4fa7820741183ee705009da7f985736cbf7fd2a0 | 55d560fe6678a3edc9232ef14de8fafd7b7ece12 | /libs/process/test/vfork.cpp | c0abeff771fc361fe2182a790a435bf706bec37f | [
"BSL-1.0"
] | permissive | stardog-union/boost | ec3abeeef1b45389228df031bf25b470d3d123c5 | caa4a540db892caa92e5346e0094c63dea51cbfb | refs/heads/stardog/develop | 2021-06-25T02:15:10.697006 | 2020-11-17T19:50:35 | 2020-11-17T19:50:35 | 148,681,713 | 0 | 0 | BSL-1.0 | 2020-11-17T19:50:36 | 2018-09-13T18:38:54 | C++ | UTF-8 | C++ | false | false | 1,912 | cpp | // Copyright (c) 2006, 2007 Julio M. Merino Vidal
// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling
// Copyright (c) 2009 Boris Schaeling
// Copyright (c) 2010 Felipe Tanus, Boris Schaeling
// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling
//
// Distributed under the Boost Software License, Version 1.0. (... | [
"james.pack@stardog.com"
] | james.pack@stardog.com |
194f834ca7292a8e2382b8756132574371c4140a | 2bb98b4a6e2a95e5471614b49dc395380e385254 | /arduino_src/backups/cablecontrol.ino | ac8011cebe3b8206c52ab5291944b3ed8256c3f5 | [] | no_license | stashako/minirover_ROS | 4c7d5f8a75f2f71de25b23024549468d8c7442d7 | abe4fcdb69c37aeae3bf846fadb278503906df02 | refs/heads/master | 2020-05-07T19:25:03.515853 | 2019-04-11T15:20:07 | 2019-04-11T15:20:07 | 180,812,581 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,370 | ino | /*
This example code uses bogde's excellent library: https://github.com/bogde/HX711
bogde's library is released under a GNU GENERAL PUBLIC LICENSE
The HX711 does one thing well: read load cells. The breakout board is compatible with any wheat-stone bridge
based load cell which should allow a user to measure ever... | [
"shervintashakori@gmail.com"
] | shervintashakori@gmail.com |
75dd5279b4ff04c60500ed95af2a9dd92278e9d5 | 5d757829d285c9f7c1ba17387ab84f8692adad45 | /Easy Problems/singleNumber.cpp | 7c8662fe072006f31858c763eea1e65ae160d52d | [
"MIT"
] | permissive | yigittin/Leet-Solves | cbc17b8e41f2521dcab385c79e42a290a085cf67 | 8c9a4f911be9f9cbad2948c61de37dfa2e898919 | refs/heads/master | 2023-06-18T07:49:35.139540 | 2021-07-06T13:34:24 | 2021-07-06T13:34:24 | 378,749,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 364 | cpp | class Solution {
public:
int singleNumber(vector<int>& nums) {
int n=nums.size();
sort(nums.begin(),nums.begin()+n);
if(n==1){
return nums[0];
}
for(int i=0;i<n;i=i+2){
if(nums[i]!=nums[i+1]){
return nums[i];
... | [
"noreply@github.com"
] | yigittin.noreply@github.com |
adeeaad82fdc86417e7c60fe3d70e0e77033fd80 | 1e9fbdb90fa4fd3d2c97fc8a45541461ce8ec67f | /src/2016.Hangman/Marych/Hangsman/Source.cpp | 6661435f768f48b5fbf43a1d6081835bc2479ab9 | [] | no_license | vnobis-univ/sonarcube-test | 715168684fdd3547240db032d8ccc4d9680fff6f | f917ef2722144107cb12435021dd02574d149e39 | refs/heads/master | 2020-03-29T11:49:25.879413 | 2018-09-24T12:29:56 | 2018-09-24T12:29:56 | 149,872,507 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 384 | cpp | #include "View.h"
#include <iostream>
#include "Console.h"
#include "BehindStartView.h"
using namespace std;
int main()
{
setConsoleSize(80, 40);
View* view = new BehindStartView();
while (view != NULL)
{
View* newView;
view->draw();
newView = view->handle();
if (view != newView)
... | [
"nobisvitaliy@gmail.com"
] | nobisvitaliy@gmail.com |
a309945e7db9405e89b27d35dea3c93973d4ac93 | a1886f6a52c8a88043b568c6bb8ddb08bb99c6d2 | /wallet/api_cli.cpp | 21666040daad47787cf8948870248b1d44aa0c31 | [
"Apache-2.0"
] | permissive | DUMIE505/defis | 9a03afb16f51452c522d4a5652f6d5ce2e001721 | 2676311bc0c79b556f29e282ac77b7c4bab47bbc | refs/heads/master | 2022-11-21T12:45:20.657681 | 2020-07-30T05:57:52 | 2020-07-30T05:57:52 | 283,681,973 | 1 | 0 | Apache-2.0 | 2020-07-30T05:52:32 | 2020-07-30T05:52:30 | null | UTF-8 | C++ | false | false | 41,093 | cpp | // Copyright 2018 The Beam Team / Copyright 2019 The Grimm Team
//
// 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 b... | [
"zandrewboyle@gmail.com"
] | zandrewboyle@gmail.com |
76898d7a8e60d3a037d48663655b96bd657ee288 | 2fd568388da92949549bc55daf11faf55a5b8bd4 | /PostfixTreeBuilder.cpp | 9c7c91186ec9590b3e5aaf5002ac789ec6eb5d77 | [] | no_license | trujamal/Project6_1 | dddcf9f4cfc200ef3670e8a821202856b7b11b11 | 5f080fc03ee53e309e0250ba8ccc0e36ccab5adf | refs/heads/master | 2020-03-06T21:47:22.974155 | 2018-03-28T05:09:31 | 2018-03-28T05:09:31 | 127,086,590 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,390 | cpp | /**
* @author Jamal Rasool
* @version 1.0
* @date 3/27/18
* @details The driver functions for the logic within the code
*/
#include <cstdlib>
#include <iostream>
#include <sstream>
#include <string>
#include <stack>
#include <exception>
#include "PostfixTreeBuilder.h"
using std::cout;
using std::endl;
/**
* ov... | [
"me@trujamal.com"
] | me@trujamal.com |
7c3a72aeb4166bbb61fe053321daae8c164aef6e | 154dfd2a2130a3a7731a9a9b431e8295fbf82cd2 | /BZOJ/BZOJ3289.cpp | 6e8f83735815b603ba5e97066b6140cffad2b01d | [] | no_license | ltf0501/Competitive-Programming | 1f898318eaecae14b6e040ffc7e36a9497ee288c | 9660b28d979721f2befcb590182975f10c9b6ac8 | refs/heads/master | 2022-11-20T21:08:45.651706 | 2020-07-23T11:55:05 | 2020-07-23T11:55:05 | 245,600,907 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,446 | cpp | #include<bits/stdc++.h>
using namespace std;
#define maxn 50010
#define SZ 225
struct P
{
int l,r,block,id;
bool operator < (const P& b)const
{
if(block!=b.block)return block<b.block;
return r<b.r;
}
}q[maxn];
vector<int> v;
int a[maxn],ans[maxn];
int cur_ans=0,n,m;
int b... | [
"0110420@stu.nknush.kh.edu.tw"
] | 0110420@stu.nknush.kh.edu.tw |
4bfe1a5c9723a3e82c73b655b3a8ade844be1386 | e5ff6ecfad7e9e79498a3654a73048ebd92e1032 | /ClientTCPIP.hpp | 6f1e306132d9f2793638b9eb3cf6380e0cc49fc8 | [] | no_license | Youw/Berkeley_sockets | 25b29c5da0131fd42f681e94afc9ae31e0604d1c | e560d6be6ae34c65a997274da0d2c1a9c3283391 | refs/heads/master | 2016-08-07T19:40:56.517009 | 2014-03-02T04:57:12 | 2014-03-02T04:57:12 | 17,156,688 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,252 | hpp | /**
* Created 25.02.2014 by Ihor Dutchak (Youw)
* simple TCP IPv4 server (listening) socket for windows, linux and OS X
* You need c++11 compiler or greater to use this source
*/
#ifndef CLIENT_TCP_IP_V4_HPP
#define CLIENT_TCP_IP_V4_HPP
#include <Socket/Socket.hpp>
#include <vector>
#include <string>
#include <utili... | [
"ihor.youw@gmail.com"
] | ihor.youw@gmail.com |
f5efba66ec2bc04869b4a26b36597d92d80a36a9 | 66633bc1ad3710654856adbd8f35bc38dc8054a7 | /src/energy/camshift_data.h | a2c9de1f24d6a038a49a05fe2667d0ba7bc1bd7f | [] | no_license | jensengroup/camshift-phaistos | d8d9bd9d000f33ace8203e3109e21f1b6e29089b | 5244b8ac3fae2ab5d1646590bb84fc2925d5ab74 | refs/heads/master | 2016-09-05T16:47:52.226076 | 2013-05-09T09:31:07 | 2013-05-09T09:31:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 64,082 | h | // camshift_data.h -- Parameters for the camshift energy term.
// This is the parameters from the Camshift 1.35 program,
// which differ from the ones in the actual paper.
//
// Copyright (C) 2011 by Anders Steen Christensen, Wouter Boomsma
//
// This file is part of Phaistos
//
// Phaistos is free software: you can r... | [
"andersx@nano.ku.uk"
] | andersx@nano.ku.uk |
6722890b06858a27111dcbfceb13054209c31651 | de1b6f42bc9d7b3546ffc0812f113bbdcdbad606 | /TEALDemo/Centipede_Body.cpp | 04b2bd73e558b38bbcaa20a8c64b019456bc0b4c | [] | no_license | Cschnur/Centipede_1980 | e298d4b549498d39ef77abbb69a7a3afa3332271 | d69a4031a7b6b4f88744c5c46b82b91cdec2d35e | refs/heads/master | 2022-03-20T15:01:33.376364 | 2019-12-09T23:36:24 | 2019-12-09T23:36:24 | 226,973,775 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,629 | cpp | #include "Centipede_Body.h"
#include "Centipede_Head.h"
#include "MushroomManager.h"
#include "MoveState.h"
#include "MoveFSM.h"
#include "MovementCollection.h"
#include "Centipede_Factory.h"
#include "Explosion_Factory.h"
#include "Centipede_Manager.h"
#include "OffsetArray.h"
#include "Color_Manager.h"
Centipede_B... | [
"schnurchrizz@gmail.com"
] | schnurchrizz@gmail.com |
39306f7537017380e4980070b1f8337a56e71ad5 | e5720f95696653b496e5f927eac7492bfb9f132c | /lcof/lcof_028/cpp_028/Solution1.h | bf852d98db860feb7f8c1d58bb19a161cbc90973 | [
"MIT"
] | permissive | ooooo-youwillsee/leetcode | 818cca3dd1fd07caf186ab6d41fb8c44f6cc9bdc | 2cabb7e3e2465e33e4c96f0ad363cf6ce6976288 | refs/heads/master | 2022-05-24T15:37:19.652999 | 2022-05-15T01:25:31 | 2022-05-15T01:25:31 | 218,205,693 | 12 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 491 | h | //
// Created by ooooo on 2020/3/18.
//
#ifndef CPP_028__SOLUTION1_H_
#define CPP_028__SOLUTION1_H_
#include "TreeNode.h"
class Solution {
public:
bool dfs(TreeNode *node1, TreeNode *node2) {
if (!node1 && !node2) return true;
if (!node1 || !node2) return false;
return node1->val == node2->val == dfs(... | [
"297872913@qq.com"
] | 297872913@qq.com |
e1dca7d6419fe532e5ea2a68b8c3f553df60940d | 12594acbade434c379b1d8ef47977bf86999ad21 | /Codigo/inc/App/MPU9250.h | 2fdc7ac5e201866f372673d61b6df3ffb76d2920 | [] | no_license | AlejoLovallo/Gimbal | 8671bd117d3b36fe0f3877b8ea6bb2c589ba8778 | b1a9053b4773d31fe5ef18c93e5500f2c85004b7 | refs/heads/master | 2022-11-19T23:28:22.034662 | 2020-07-20T02:43:24 | 2020-07-20T02:43:24 | 198,079,218 | 0 | 1 | null | 2019-07-21T22:42:19 | 2019-07-21T16:21:53 | null | UTF-8 | C++ | false | false | 11,274 | h | #ifndef MPU9250_H
#define MPU9250_H
#include "all.h"
// See also MPU-9250 Register Map and Descriptions, Revision 4.0, RM-MPU-9250A-00, Rev. 1.4, 9/9/2013 for registers not listed in
// above document; the MPU9250 and MPU9150 are virtually identical but the latter has a different register map
//
//Magnetometer Regi... | [
"lliano@est.frba.utn.edu.ar"
] | lliano@est.frba.utn.edu.ar |
e140ff075846f75c8d140649d16f692268be310c | 73ee941896043f9b3e2ab40028d24ddd202f695f | /external/chromium_org/media/audio/audio_manager_base.h | 8b34d9fcf94bd9e5b8a08b6b853c2b25cee37c10 | [
"BSD-3-Clause"
] | permissive | CyFI-Lab-Public/RetroScope | d441ea28b33aceeb9888c330a54b033cd7d48b05 | 276b5b03d63f49235db74f2c501057abb9e79d89 | refs/heads/master | 2022-04-08T23:11:44.482107 | 2016-09-22T20:15:43 | 2016-09-22T20:15:43 | 58,890,600 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 5,995 | 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.
#ifndef MEDIA_AUDIO_AUDIO_MANAGER_BASE_H_
#define MEDIA_AUDIO_AUDIO_MANAGER_BASE_H_
#include <string>
#include <utility>
#include "base/compiler_spe... | [
"ProjectRetroScope@gmail.com"
] | ProjectRetroScope@gmail.com |
127ee2e48da3fbcbbdf324feaa19be6417b6d2a9 | 5a44ac1d396160dc12dbf33f05847383917d32bd | /Step1/Step1/Animal.h | b6fba7f7b644c2fef136d25f3fe0a28e5dcd6b83 | [] | no_license | lechris1/cse335Steps | ad60597bfc99f63ba409488c7df6b15b6941904f | 2ffda274f66b9cd35083f10ee2f159ac42ee10f2 | refs/heads/master | 2021-01-22T06:45:04.349492 | 2017-09-06T19:40:58 | 2017-09-06T19:40:58 | 102,297,753 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 285 | h | /**
* \file Animal.h
*
* \author Christopher Le
*
* Class that describes an animal.
*/
#pragma once
/**
* Describes a single animal.
*/
class CAnimal
{
public:
CAnimal();
virtual ~CAnimal();
/** Display an animal. */
virtual void DisplayAnimal() {};
virtual int NumEyes();
};
| [
"lechris1@msu.edu"
] | lechris1@msu.edu |
df4bd65b9d12d49b27f6f5de370ca6f4f382df8f | 888afc08ee61d96591fab755158179ae0cb9ea6e | /src/model/stick2d.h | 8aedb987e4718fa3b21570833ee25054ce9230ca | [
"MIT"
] | permissive | JeffGos/hawkings | 4c90ed9ff93f0e7d1b0d97b7f6f0781aa9caa97f | bb2dfb48b53a1b97f1b02fc2dd53fdc88f747bf3 | refs/heads/master | 2020-03-19T10:00:54.618770 | 2018-06-23T22:29:35 | 2018-06-23T22:29:35 | 133,155,122 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 453 | h | #ifndef STICK2D_H
#define STICK2D_H
#include "point2d.h"
using namespace std;
namespace hawkings {
class Stick2D {
public:
Stick2D(Point2D vect1, Point2D vect2, int magnitude);
void setMagnitude(int m);
Point2D getX() { return this->point1; }
Point2D getY() { return this->point2; }
int getMag... | [
"jeff@jaigo.co.uk"
] | jeff@jaigo.co.uk |
56d9b0429a16de8edf76fca07cf784be7552eba2 | 17066d4b72c4b3f87a058b42763ebcd232fbed72 | /src/public/pool/chunk.cpp | 1adc7db45ee84ae0f9d2a0cd869fde6acb161526 | [] | no_license | yulefox/elf_iocp | 4ef34f10e0201358315aad27256e5c2316efc620 | 2d3faf87b7f9eff4ac60a132ddaa7c8f9e4bbd41 | refs/heads/master | 2021-01-02T22:45:32.470948 | 2012-02-17T08:54:53 | 2012-02-17T08:54:53 | 3,404,790 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,309 | cpp | #include "chunk.h"
#include <assert.h>
#include <Winsock2.h>
#include "pool.h"
#define CHUNK_INIT_SIZE 64
struct chunk_t {
size_t count; /* bulb count */
size_t pos_wr; /* pointer to writen position of bulb_wr */
size_t pos_rd; /* pointer to read position of bulb_rd */
struct bulb_t *head; /* pointer ... | [
"yulefox@gmail.com"
] | yulefox@gmail.com |
6432cd6370ad3ea3f76a407b2ae51de0aee75450 | 743fd3facb10be5a847771b032881b6047d6dad4 | /thirdparty/general/GameNetworkingSockets-1.3.0/src/steamnetworkingsockets/clientlib/steamnetworkingsockets_connections.h | 981aa124c9bea8e341c5b05e2ed348faa2d321a1 | [
"BSD-3-Clause"
] | permissive | Xarvie/filesystem | 0c4661399eb4fee459ed9a8763fbc3af0172a8ec | d14586cbabbdedf5f8fcd32f5e66687e4d5e8e3b | refs/heads/master | 2023-06-13T05:52:31.642520 | 2021-07-06T16:14:57 | 2021-07-06T16:14:57 | 378,916,158 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43,700 | h | //====== Copyright Valve Corporation, All rights reserved. ====================
#ifndef STEAMNETWORKINGSOCKETS_CONNECTIONS_H
#define STEAMNETWORKINGSOCKETS_CONNECTIONS_H
#pragma once
#include "../steamnetworkingsockets_internal.h"
#ifndef STEAMNETWORKINGSOCKETS_OPENSOURCE
#include "../steamdatagram_internal.h"
#inclu... | [
"ftp@outlook.com"
] | ftp@outlook.com |
9f44e267309e7be03b52a8e33c45771030aedbd3 | e5e0d729f082999a9bec142611365b00f7bfc684 | /tensorflow/stream_executor/cuda/cuda_runtime_10_0.inc | 9b912330512ba8704d66296732774fa810e7915c | [
"Apache-2.0"
] | permissive | NVIDIA/tensorflow | ed6294098c7354dfc9f09631fc5ae22dbc278138 | 7cbba04a2ee16d21309eefad5be6585183a2d5a9 | refs/heads/r1.15.5+nv23.03 | 2023-08-16T22:25:18.037979 | 2023-08-03T22:09:23 | 2023-08-03T22:09:23 | 263,748,045 | 763 | 117 | Apache-2.0 | 2023-07-03T15:45:19 | 2020-05-13T21:34:32 | C++ | UTF-8 | C++ | false | false | 68,880 | inc | // Auto-generated, do not edit.
extern "C" {
extern __host__ cudaError_t CUDARTAPI cudaDeviceReset(void) {
using FuncPtr = cudaError_t(CUDARTAPI *)();
static auto func_ptr = LoadSymbol<FuncPtr>("cudaDeviceReset");
if (!func_ptr) return GetSymbolNotFoundError();
return func_ptr();
}
extern __host__ __cudart_b... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
544048b7383e4bcb591e51ea4fa889e5c5069dcb | 519ba257f91e55a03e54bbf69021dc18162d6af9 | /include/topo/MapArranger.h | 88f79817d11066365b3d5baaec9995b85b34176e | [] | no_license | wf-hahaha/topology_map | c433b86a91fe8971c4fb8ffaf78581b3f9e61de2 | b90343053285b996ac1c64b58c0f300ce18d760c | refs/heads/master | 2020-08-08T00:29:07.634223 | 2019-06-16T10:45:43 | 2019-06-16T10:45:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,524 | h | //
// Created by stumbo on 18-5-21.
//
#ifndef TOPOLOGY_MAP_MAPARRANGER_H
#define TOPOLOGY_MAP_MAPARRANGER_H
#include "TopoTools.h"
#include "MapCollection.h"
#include "NodeCollection.h"
/**
* @brief The surface class of the Topo map core
* contain a NodeCollection and a MapCollection.
*/
class MapArranger {
publ... | [
"marineworld@foxmail.com"
] | marineworld@foxmail.com |
47fae48be81c3d10684adbb71c3a8bea594df5d9 | a9f939815ee6dab0a892c03af8fbe6ea2b656c3d | /22 Static Cube Mapping/SkyEffect.cpp | bfaf227cd38b5e4858a9bb2ab2469b7937800c1e | [
"MIT"
] | permissive | CZZLEGEND/DirectX11-With-Windows-SDK | bb19fbf6dd350b1bd2a034f0f6329ec02d3495f6 | 8f5cd984d4c29688bd40d76fa897e0a0922a220f | refs/heads/master | 2020-05-15T22:41:45.830084 | 2019-04-18T13:54:04 | 2019-04-18T13:54:04 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,946 | cpp | #include "Effects.h"
#include "d3dUtil.h"
#include "EffectHelper.h" // 必须晚于Effects.h和d3dUtil.h包含
#include "DXTrace.h"
#include "Vertex.h"
using namespace DirectX;
using namespace std::experimental;
//
// SkyEffect::Impl 需要先于SkyEffect的定义
//
class SkyEffect::Impl : public AlignedType<SkyEffect::Impl>
{
public:
//
//... | [
"757919340@qq.com"
] | 757919340@qq.com |
62c4b7f9379fc4fa4e43890921cfd6bb8130fa81 | 3abe45130d4f614f68c6551b59014a20d3470b58 | /src/libzerocoin/CoinSpend.h | 2703c3b6f41b1b781429b6177e732e50f8a051ed | [
"MIT"
] | permissive | dre060/YAADI | faab94150263848ef16fe6a865cff7d2a7893e00 | cdb07c723f559ce883e33d64bce55b6ee5539142 | refs/heads/main | 2023-05-17T15:01:43.672809 | 2021-06-06T04:23:41 | 2021-06-06T04:23:41 | 374,243,648 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,157 | h | /**
* @file CoinSpend.h
*
* @brief CoinSpend class for the Zerocoin library.
*
* @author Ian Miers, Christina Garman and Matthew Green
* @date June 2013
*
* @copyright Copyright 2013 Ian Miers, Christina Garman and Matthew Green
* @license This project is released under the MIT license... | [
"ipedrero84@gmail.com"
] | ipedrero84@gmail.com |
f14688f955dcb8529e8965429a10b9823d528cf2 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_repos_function_3122_git-2.9.5.cpp | 4727ac2ac91cc346037eb90f52a9de25799f8511 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 474 | cpp | static const char *ip2str(int family, struct sockaddr *sin, socklen_t len)
{
#ifdef NO_IPV6
static char ip[INET_ADDRSTRLEN];
#else
static char ip[INET6_ADDRSTRLEN];
#endif
switch (family) {
#ifndef NO_IPV6
case AF_INET6:
inet_ntop(family, &((struct sockaddr_in6*)sin)->sin6_addr, ip, len);
break;
#endif
case A... | [
"993273596@qq.com"
] | 993273596@qq.com |
8f17d4c79bd33f3695c48e9ea3bfacf0dc40ad81 | 4da928f16d1ca218332673dce24f7b9d694d98e2 | /ModelProcessor/ModelProcessor.cpp | 02466016e7b37e45f1479bb1bb8aa74a169894f5 | [] | no_license | haoxiner/PhantomSword | b7c92c86120ad0a149a4c9c53b94645f2a39f01e | f7c34b477f2be7cf1007e00bfd7cad34f7224989 | refs/heads/master | 2021-01-11T01:30:21.919340 | 2016-10-14T04:04:56 | 2016-10-14T04:04:56 | 70,698,536 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,525 | cpp |
#include <glm/gtc/matrix_transform.hpp>
#include <assimp/Importer.hpp>
#include <assimp/scene.h>
#include <assimp/postprocess.h>
#include <fstream>
#include <sstream>
#include <random>
#include <queue>
#include <map>
#include <vector>
#include <iostream>
glm::mat4 world2RootBone;
glm::mat4 rootBone2World;
std::vect... | [
"haoxiner@vip.qq.com"
] | haoxiner@vip.qq.com |
3cc09499962ad2653f9a6883f589568270c3e842 | c51febc209233a9160f41913d895415704d2391f | /library/ATF/CParticle.hpp | c607c0b9f671196f08d6cb93bdd8ee54bbb6e6e3 | [
"MIT"
] | permissive | roussukke/Yorozuya | 81f81e5e759ecae02c793e65d6c3acc504091bc3 | d9a44592b0714da1aebf492b64fdcb3fa072afe5 | refs/heads/master | 2023-07-08T03:23:00.584855 | 2023-06-29T08:20:25 | 2023-06-29T08:20:25 | 463,330,454 | 0 | 0 | MIT | 2022-02-24T23:15:01 | 2022-02-24T23:15:00 | null | UTF-8 | C++ | false | false | 2,669 | hpp | // This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
#include <$3E60C3DACEF2E33FF1D1871D4F2565FA.hpp>
#include <CEntity.hpp>
#include <_PARTICLE_ELEMENT.hpp>
START_ATF_NAMESPACE
struct CParticle
{
char mEn... | [
"b1ll.cipher@yandex.ru"
] | b1ll.cipher@yandex.ru |
01bbcf65cc6e259dbe884d2bc300c578f7da4183 | dbdb7a3e0726bd63dac553128a5ff046f76a7655 | /MFC/include/afxdlgs.inl | 327432fa7a76c350b65bb74497be863011a59bc1 | [] | no_license | 15831944/mfc-1 | f21c1aea2acfa489296ef33541792527c8778697 | 384c5b7199f8b20ef2f4f50c272c603a30426029 | refs/heads/master | 2022-02-21T19:29:35.812302 | 2019-10-18T14:40:11 | 2019-10-18T14:40:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,148 | inl | // This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
// See these sourc... | [
"1491247540@qq.com"
] | 1491247540@qq.com |
6323da1020a7ca9d197772b263ef365db5374c88 | 598275f974f5947c906773c0fd07bff798b09513 | /chap2_1/problem2_1.cpp | a90fd839a5c6db58e3433442be91474ae3b7a20a | [] | no_license | AkkyOrz/opengl_practice | a6c2f2c67b059a784d7f026631fb33aca8f88d6d | 4e410171a83b8ff718ce45cf1f9191c723f4294c | refs/heads/master | 2020-04-04T00:43:31.920225 | 2018-11-28T18:22:18 | 2018-11-28T18:22:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,056 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <GL/glut.h>
#define _USE_MATH_DEFINES
#include <iostream>
#include <cmath>
#define WINDOW_X (500)
#define WINDOW_Y (500)
#define WINDOW_NAME "test1"
void init_GL(int argc, char *argv[]);
void init();
void set_callback_functions();
void glut_display();
void glut_keyboar... | [
"exam@sample.com"
] | exam@sample.com |
40ee8ca3f59fe5d89c3f9e32f0e32766257d8aaa | 4d9cee8c67af579fa10bf132a9e79bcbaf094bee | /jisuanke/焦作网络赛2018 G.Give Candies | 大数.cpp | a112f4892ea0cf91f6b349d673c0d83170dc1356 | [] | no_license | FeiiYin/acm | 3e886bba5aa40471d869c4f3d69e3afcb9fce944 | 29ac440ca6456e134b75c3fae90608676f162680 | refs/heads/master | 2022-11-08T04:11:38.614436 | 2020-06-16T09:12:33 | 2020-06-16T09:12:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,659 | cpp | #include<iostream>
#include<string>
#include<iomanip>
#include<cstring>
#include<algorithm>
using namespace std;
#define MAXN 9999
#define MAXSIZE 10
#define DLEN 4
class BigNum
{
private:
int a[100005]; //可以控制大数的位数
int len; //大数长度
public:
BigNum(){ len = 1;memset(a,0,sizeof(a)); } //构造函数
Bi... | [
"noreply@github.com"
] | FeiiYin.noreply@github.com |
329c24d73b74c4d245d0cebe3faafd4e24528070 | 0749035f5d77a182155efca5aff2f1cfe1da8cc6 | /HACKER/implementation/dyn_programming/fibonacci/point.cpp | 9cf1da6147e3b7d010deaebdbcc3b7406f26e262 | [] | no_license | anandkodnani/C- | a291025604a8d37e50bd3e9bdd99d2a95eedcd79 | 635e517a7ae31d70b531f611867f40fa34a4f575 | refs/heads/master | 2021-01-10T13:48:56.042453 | 2016-01-29T20:11:38 | 2016-01-29T20:11:38 | 50,384,412 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 535 | cpp | #include <iostream>
using namespace std;
class Point {
public:
Point() {
x = 0;
y = 0;
}
Point(int a, int b) {
x = a;
y = b;
}
Point operator++ () {
this->x += 2;
this->y += 2;
return *this;
}
void print() {
cout << x << "\n";
cout << y << "\n";
}
Point(const ... | [
"akodnani@codeaurora.org"
] | akodnani@codeaurora.org |
803181e892b899739cb5585571c378d874a71e7f | 370055a10fe4061c0dfd35869adec252d1465b8d | /src/util/tsv.hpp | 3ba37048755876a9e7dde23be1a8712be9c68b54 | [
"MIT"
] | permissive | ssameerr/pytubes | badeeab7394493e66bf9f2ed01e3094b4acd4a14 | 6b4a839b7503780930b667cf12053089bc66c027 | refs/heads/master | 2022-12-24T05:01:57.195522 | 2018-04-03T11:50:01 | 2018-04-03T11:50:01 | 128,112,099 | 0 | 0 | MIT | 2021-09-06T18:41:35 | 2018-04-04T19:36:47 | C++ | UTF-8 | C++ | false | false | 3,325 | hpp | #pragma once
#include <cstdio>
#include <vector>
#include "error.hpp"
#include "slice.hpp"
#include "array.hpp"
#include "../bytes.hpp"
#include "skiplist.hpp"
namespace ss {
struct TsvHeader;
struct TsvRow;
struct TsvValueIter {
ByteSlice row;
ByteSlice cur;
TsvValueIter(ByteSlice row) : row(row) {
... | [
"stestagg@gmail.com"
] | stestagg@gmail.com |
473fece814385a61af1a4af2080df68dec9b253b | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/make/hunk_429.cpp | 71712558b7e2ca4938ebcdff5e821ab927040082 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 878 | cpp | return 1;
}
- open ("SAVEDOS" . $default_output_stack_level . "out", ">&STDOUT")
- || &error ("ado: $! duping STDOUT\n", 1);
- open ("SAVEDOS" . $default_output_stack_level . "err", ">&STDERR")
- || &error ("ado: $! duping STDERR\n", 1);
+ my $dup = undef;
+ open($dup, '>&', STDOUT) or error... | [
"993273596@qq.com"
] | 993273596@qq.com |
944291ef5a86d52d5046eb8698db75d1e097aa3d | c9abbbfd1ccdbdf75c5b35b28c841b6fc8165ee6 | /AtCoder/Contestant/Exca/test.cpp | 949e40a4ad0507954bf6f59293f98d24341b1a54 | [] | no_license | kanade9/kyopro | 8d9b12a4da2353595836cf68066e2b425379990b | 3b5d998b99603c4473dc22e62252a2dd5ba143c2 | refs/heads/master | 2023-04-20T15:18:37.199790 | 2021-05-19T17:49:16 | 2021-05-19T17:49:16 | 175,988,232 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 177 | cpp | #include <iostream>
using namespace std;
int main(){
int n, sum=0;
cin >> n;
for (int i=0 ; i<n ; i++){
int a;
cin >> a;
sum += a;
}
cout << sum << endl;
return 0;
} | [
"maronkazu94@gmail.com"
] | maronkazu94@gmail.com |
2154786977cf2dbc77c851f6f38ccd65aa2f06f6 | 2cb88f7a2499a718c6cc31bb93a143ba4c1bbc91 | /LinkedList.cpp | efa6c27118e4ec731fdd08b1972400457d13aee1 | [] | no_license | famu/LinkedList_CPP | f4ed2e8bfe171621ef255d09cb0bc87d0ce7e438 | 9426f7ad94b43eb112f6fdaddb51f21a349bd430 | refs/heads/master | 2016-08-04T10:36:25.273971 | 2015-03-23T02:56:30 | 2015-03-23T02:56:30 | 32,705,627 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,610 | cpp | /*
* LinkedList.cpp
*
* Created on: oct 14, 2013
* Author: Faisal
*/
#include <iostream>
using namespace std;
struct Node { int data; Node* next; };
/*To add a node at the end of existing list.*/
void append(struct Node *head, int n) {
Node *newNode = new Node;
newNode->data = n;
newNode->next = NULL;
... | [
"faisal779@gmail.com"
] | faisal779@gmail.com |
b3dca6bf5e2d54295830d166b9d10857466bf5ca | 41eff316a4c252dbb71441477a7354c9b192ba41 | /src/PhysX/physx/source/foundation/include/PsHashInternals.h | 8ff9d67073c2d689afecb773a82e76bc6248d3c9 | [] | no_license | erwincoumans/pybullet_physx | 40615fe8502cf7d7a5e297032fc4af62dbdd0821 | 70f3e11ad7a1e854d4f51992edd1650bbe4ac06a | refs/heads/master | 2021-07-01T08:02:54.367317 | 2020-10-22T21:43:34 | 2020-10-22T21:43:34 | 183,939,616 | 21 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 18,323 | h | //
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in bin... | [
"erwincoumans@google.com"
] | erwincoumans@google.com |
42003c8535fd445dab347d25b7878bff53ae1e58 | 6dae6b4944430a97aeac743723ce98a325648b13 | /chap16/Exer16_48.cpp | 0f964cf8bc5c4a052cdac0e167c8bc58e2533963 | [] | no_license | donjohnnie/CPP_Primer | 139749158d67fa32d0179eef70551cd9ff2107c5 | 97cdd7b222cbbac3a050b66c7f077cb56f9163d9 | refs/heads/master | 2021-01-21T02:55:50.114408 | 2016-07-23T15:19:41 | 2016-07-23T15:19:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 545 | cpp | #include <iostream>
#include <string>
#include "Exer16_48_debug_rep.h"
using std::cout;
using std::endl;
using std::string;
int main()
{
string s("hi");
const string *sp = &s;
char a[] = "How are you?";
char *p = a;
cout << debug_rep(s) << "\n" << endl; // call debug_rep(const string&)
cout << debug_rep(sp) << "... | [
"chihyanghsin@gmail.com"
] | chihyanghsin@gmail.com |
bd3eddc461ecf313c3e198263bb0b59ffbb0c298 | 4c8b65c9372da593b8966578781cffd225e78d23 | /src/targets/gpu/device/asinh.cpp | 0ddb9446f1e61dd0df91a63188fe6d887e0851ca | [
"MIT"
] | permissive | pfultz2/AMDMIGraphX | 1969702ae845cc16c4a64fd82457799885836fcc | 1dd4e4d9d871222eb957cfb1505cc4ddfed89aa9 | refs/heads/develop | 2023-02-05T22:45:50.332911 | 2020-12-19T21:45:52 | 2020-12-19T21:45:52 | 325,127,362 | 0 | 0 | NOASSERTION | 2020-12-28T22:11:43 | 2020-12-28T22:10:32 | null | UTF-8 | C++ | false | false | 477 | cpp | #include <migraphx/gpu/device/asinh.hpp>
#include <migraphx/gpu/device/nary.hpp>
#include <migraphx/gpu/device/types.hpp>
namespace migraphx {
inline namespace MIGRAPHX_INLINE_NS {
namespace gpu {
namespace device {
void asinh(hipStream_t stream, const argument& result, const argument& arg)
{
nary(stream, result,... | [
"noreply@github.com"
] | pfultz2.noreply@github.com |
346a13bc0d77659d5b580c88f4227a114ddfc1d0 | 93f547a11085f5e2fa4f756257c7a1148fd5cbd2 | /Geo4Engine/ExturbatorRequests.cpp | 84ded079563bedbeea5dd742ea57732b3ca7ec55 | [] | no_license | houseofbits/Geo4.2_Exturbator | f61dfb96856c9a60a4fa48fba352ca69ce3c25be | 30da27618b8342f0398895b2a8e9c04ef1037ac0 | refs/heads/master | 2020-04-29T07:13:53.313231 | 2019-05-10T11:54:05 | 2019-05-10T11:54:05 | 175,944,635 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,776 | cpp | #include "Geo4.h"
CLASS_DECLARATION(ExturbatorRequests);
ExturbatorRequests::ExturbatorRequests() : winderState(), statusResponseEXT()
{
}
ExturbatorRequests::~ExturbatorRequests()
{
}
void ExturbatorRequests::Initialise(EventManager*const event_manager, ResourceManager*const resourceManager)
{
Hardware* hw = get... | [
"kpudzens@gmail.com"
] | kpudzens@gmail.com |
efb3c0f594113aa081fdd36e28203b1fc9e86040 | a7091ff071e9ff7e8cf1569d1a45a03bbc0e6e7a | /B_Easter_Eggs.cpp | 10a6c75b18abdc291fca9088849bf979aae89521 | [] | no_license | bhavanisilasagaram/B_CodeForcesSolutions | 753593e28c259e1f082ca6a3010cb0a468a1a6ec | ae34cfd1f25aa395f91a31f831ddcdd386b25b17 | refs/heads/main | 2023-01-24T17:16:27.966974 | 2020-12-04T14:58:14 | 2020-12-04T14:58:14 | 304,842,302 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 498 | cpp | #include <iostream>
#include <bits/stdc++.h>
#define fastio ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
#define ll long long
using namespace std;
int main() {
fastio;
int num;
cin >>num;
string s="VIBGYOR";
string g="GYOR";
if(num<7){
for(int i=0;i<(num%7);i++){
cout<<s[i];... | [
"noreply@github.com"
] | bhavanisilasagaram.noreply@github.com |
f0b541afe4e6fe1c9d55e64d0bddf0dc7e0c19f1 | 33cdd09e352529963fe8b28b04e0d2e33483777b | /trunk/LMPlugin/TKLQuantifier_Recordset.cpp | edde7bd8691a37340f95779ac7ba0e1581215464 | [] | no_license | BackupTheBerlios/reportasistent-svn | 20e386c86b6990abafb679eeb9205f2aef1af1ac | 209650c8cbb0c72a6e8489b0346327374356b57c | refs/heads/master | 2020-06-04T16:28:21.972009 | 2010-05-18T12:06:48 | 2010-05-18T12:06:48 | 40,804,982 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,752 | cpp | // TKLQuantifier_Recordset.cpp : implementation file
//
/*
This file is part of LM Report Asistent.
Authors: Jan Dedek, Jan Kodym, Martin Chrz, Iva Bartunkova
LM Report Asistent is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Fr... | [
"chrzm@fded5620-0c03-0410-a24c-85322fa64ba0"
] | chrzm@fded5620-0c03-0410-a24c-85322fa64ba0 |
34a6d20b028cdeea92527da8e5a3225179fea31b | 101960fc6b1977dc848c5902d12f919dd22ab5c0 | /第18章/TGAFile/Font.h | 0b53e9b5d065fa792656a6f6a3df2fc69fd926d2 | [] | no_license | jackros1022/OpenGL-Classic-Example-Programming | cf3dbdfc024243f4ebd54d49b22ebe92bd7d52e0 | 508e43e3439d4659e7fe451f3c3f2f7b357dcbdd | refs/heads/master | 2020-03-12T08:27:05.197916 | 2018-04-22T02:15:19 | 2018-04-22T02:15:19 | 130,527,811 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 806 | h | //========================================================
/**
* @file Font.h
*
* 项目描述: TGA文件载入
* 文件描述: 字体类
* 适用平台: Windows98/2000/NT/XP
*
* 作者: BrightXu
* 电子邮件: huoxini@hotmail.com
* 创建日期: 2006-09-13
* 修改日期: 2006-12-02
*
*/
//========================================================
#ifndef... | [
"1347755930@qq.com"
] | 1347755930@qq.com |
89b317120a0ae581a3f3ddf67137b8eef967174a | a6d15c19698025ee007ed6b7b258a4de9eca40d2 | /softwarecontest/src/GameHost.h | 78a7622006c328327ae8f21ef29e18daf459a829 | [] | no_license | dougreichard/software-contest-2013 | 109910cf837cc9ee46e1f3d8569b2086df49e62a | ec4c3ebae22f9530da8ebc4de280d8d3fd5da338 | refs/heads/master | 2021-01-13T02:10:37.063244 | 2013-02-28T17:10:37 | 2013-02-28T17:10:37 | 8,271,942 | 0 | 0 | null | 2023-08-29T18:19:55 | 2013-02-18T16:12:57 | C | UTF-8 | C++ | false | false | 335 | h | #pragma once
#include <string>
#include "CastleGameBoard.h"
#include "Card.h"
using namespace std;
class GameClient;
class GameHost{
public:
GameHost(GameClient* host);
virtual ~GameHost();
virtual void Start();
virtual void End();
virtual void Command(string s);
void Broadcast(string s);
private:
GameClie... | [
"doug.reichard+github@gmail.com"
] | doug.reichard+github@gmail.com |
10b3e38af3112fdbff54e3f974d4695f8985edf7 | 8b2f9b6633c64743957c32042c3b2166792711c3 | /source/game/backend/basicClasses/CProjectile.cpp | cca367c58b0904fde8e8d9b3e20345dbd2d34a2e | [] | no_license | DavidAStoll/FighterPilotGameCode | bbb54c85a09d8442f94d681f910bc467139bc9a2 | 9042977373d9e405e38bd3a8f703ab68f53e8f75 | refs/heads/master | 2016-08-13T01:11:24.821458 | 2016-03-16T00:07:26 | 2016-03-16T00:07:26 | 53,984,044 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,072 | cpp | /*
============================================================================
Name : Projectile.cpp
Author : David Stoll
Version : 1.0
Copyright : Your copyright notice
Description : CProjectile implementation
============================================================================
*/
#include "inc... | [
"arendstoll@gmail.com"
] | arendstoll@gmail.com |
a60a893b927d7ce5b5907aa852f404d24f62ac71 | 2ebcdbd956e051ba11547423839e71323abae6e4 | /Marker/App.h | 7104bc5edcaf626c07201045fc29d0ed820737eb | [] | no_license | WangYiTao0/Marker | 271e3ea8dd60cafefeebc4ebfcb9950adcabf0d8 | f90554916f89919788f050aac38f53da0a8a7132 | refs/heads/master | 2020-10-01T08:21:34.941266 | 2019-12-11T11:13:10 | 2019-12-11T11:13:10 | 227,499,018 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 797 | h | #pragma once
#include <Siv3D.hpp> // OpenSiv3D v0.4.2
#include <memory>
#include "Marker.h"
#include "MarkerManager.h"
class App
{
public:
App();
void Update();
void Draw();
private:
void AssetRegiseter();
private:
struct RingEffect : IEffect
{
Vec2 m_pos;
ColorF m_color;
... | [
"as5818956@gmail.com"
] | as5818956@gmail.com |
27bdf115e6e0c850605fde76e2a3cce6e6e726c1 | 263a50fb4ca9be07a5b229ac80047f068721f459 | /ppapi/proxy/ppb_flash_menu_proxy.cc | d2ef2a3d77789d1ea212205609d8c063c1336dc2 | [
"BSD-3-Clause"
] | permissive | talalbutt/clank | 8150b328294d0ac7406fa86e2d7f0b960098dc91 | d060a5fcce180009d2eb9257a809cfcb3515f997 | refs/heads/master | 2021-01-18T01:54:24.585184 | 2012-10-17T15:00:42 | 2012-10-17T15:00:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,257 | cc | // Copyright (c) 2011 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.
#include "ppapi/proxy/ppb_flash_menu_proxy.h"
#include "ppapi/c/pp_errors.h"
#include "ppapi/c/private/ppb_flash_menu.h"
#include "ppapi/proxy/enter_... | [
"plind@mips.com"
] | plind@mips.com |
a5e5fbbf7b0c932a10deae083eaa57fb3e71b9d7 | e30874b3aa20804833dd11788176f839fcd08690 | /java/src/main/native/src/emptyfile.cpp | 67fa3acd73932756556e1c1c7fa19adb8e6d8ab7 | [
"Apache-2.0"
] | permissive | rapidsai/cudf | eaba8948cddde8161c3b02b1b972dab3df8d95b3 | c51633627ee7087542ad4c315c0e139dea58e408 | refs/heads/branch-23.10 | 2023-09-04T07:18:27.194295 | 2023-09-03T06:20:33 | 2023-09-03T06:20:33 | 90,506,918 | 5,386 | 751 | Apache-2.0 | 2023-09-14T00:27:03 | 2017-05-07T03:43:37 | C++ | UTF-8 | C++ | false | false | 632 | cpp | /*
* Copyright (c) 2021, NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | [
"noreply@github.com"
] | rapidsai.noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.