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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bc13ef362b24c1ae6d954a72f8fb308a549027d1 | cc3ef570cda890b73d3b01860ae18239d7d42c92 | /src/HiCComputers.cpp | e35226b8ea6da11d342f5da47760e987084d570e | [] | no_license | msauria/misha-package | 3e9d53af95b0fb5bb9831b90794f0f3a031ad3c2 | 005713b08df0edf09c96a24f117a6afed7dc07be | refs/heads/master | 2021-07-21T04:29:48.609435 | 2017-10-30T17:33:08 | 2017-10-30T17:33:08 | 108,885,504 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,472 | cpp | #include "TGLException.h"
#include "GenomeTrack2D.h"
#include "HiCComputers.h"
#include <fstream>
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Utility structure and functions
/////////////////////////////////////////////////... | [
"mike.sauria@gmail.com"
] | mike.sauria@gmail.com |
b6b20352191fa255becc222daccb8fc0c5d584df | 4f8ce2728a11b86e57e3feda41bdcd38128645b4 | /acumple/main.cpp | dec6fbbdfcee93c89b67e01d9fc8a792910f225e | [] | no_license | AnthonyVildoso/Ultimos-trabajos | 71d9566cf70033f7072f59f41cb511f646241096 | c684f74b2f9f63f3d2d530e60edeb6a1852c91d4 | refs/heads/master | 2021-01-25T09:09:40.238347 | 2017-06-08T20:58:11 | 2017-06-08T20:58:11 | 93,790,187 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 772 | cpp | #include <iostream>
using namespace std;
class Birthday{
public:
int dia,mes,anio;
};
class persona{
private:
string nombre;
Birthday micumple;
public:
persona(string name,int d,int m,int a){
nombre=name;
micumple.dia=d;
micumple.mes=m;
micumple.anio=a;... | [
"noreply@github.com"
] | noreply@github.com |
b35b89cb822ce743c8c23912adb908264588558a | 29330d1158f2f9cd5ae2e1292b23b65982b6d097 | /DataStructures/Stack.cpp | d54e5368c2be819c2533316c3ee023d13c74413f | [] | no_license | KhaledMoataz/Castle-Enemies | e5905912c30f1d068d49fe5695aac2af8c8a842c | 989950c88916a022d6f632850299d18b24bb8518 | refs/heads/master | 2020-04-08T03:02:54.984376 | 2018-11-24T17:50:12 | 2018-11-24T17:50:12 | 158,959,660 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,451 | cpp | #include "Stack.h"
template<typename T>
Stack<T>::Stack()
{
Top=NULL;
Size=0;
}
template<typename T>
Stack<T>::Stack(const T& Data)
{
Node<T>* NodeToAdd=new Node<T>;
if(!NodeToAdd) // memory is full
{
Top=NULL;
return;
}
NodeToAdd->SetData(Data);
Top=NodeToAdd;
}
template<typename T>
Stack<T>... | [
"khaledmoataz1999@yahoo.com"
] | khaledmoataz1999@yahoo.com |
4347fbe1ef0cffea95a63c8e875768798248bbe2 | ee42a351044b02bd0136b1eb0bf13822f48175ce | /RiemannSolver.cpp | 41cd1a8acd9a7a7ecd3aa5ffe3b6d459f67a1e50 | [] | no_license | dongbing/1dcompressible | 9e63cc3be580208a0d2220ef84a6716a23ac9062 | dad95cd971458cda76f778cb87099d960a5dab6d | refs/heads/master | 2020-06-18T18:15:30.147507 | 2012-11-05T16:57:47 | 2012-11-05T16:57:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 33,327 | cpp | /*
* Solver.cpp
*
* Created on: Apr 17, 2012
* Author: shubham
*/
#include "RiemannSolver.h"
namespace CSE {
//Constructor
RiemannSolver::RiemannSolver(const Cell& leftCell, const Cell& rightCell,
const unsigned phase, bool detached) {
// Phase 0 is s and phase 1 is g.
detached_ = detached;
if ... | [
"shubham@shubham.(none)"
] | shubham@shubham.(none) |
4d99581e57cac37ac28132aa185bfa20325b3ea1 | e3580c4b7c678032697dcb2fa716b12cc55f6236 | /src/kernel.cpp | ed2f81f7b8d145f9c58ec51d629b8b7896a84bb8 | [
"MIT"
] | permissive | djg3412/gamecoin | eaa44c7405bce2f55dea4cb483dd476037445192 | d80b0fbda17fd3863ae978981571a1428dc51c59 | refs/heads/master | 2020-12-02T21:11:09.540009 | 2016-06-06T02:38:03 | 2016-06-06T02:38:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,998 | cpp | // Copyright (c) 2012-2013 The PPCoin 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>
#include "kernel.h"
#include "db.h"
using namespace std;
extern int nStakeMaxAge;
extern... | [
"haisee@126.com"
] | haisee@126.com |
8dcb429880ab3238c987defcb5d370c19a551e29 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /sql/test/sql_test_base.cc | 3eabb564cba596d79f1cea29c521994edfccbd97 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 1,567 | cc | // Copyright 2015 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 "sql/test/sql_test_base.h"
#include "base/files/file_util.h"
#include "sql/test/test_helpers.h"
namespace sql {
SQLTestBase::SQLTestBase() = d... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
5f68ff738a2a919d645c3f7aff3655f812149b2d | 30ac4368b5d9762b30f823a7f2c161045882e1e1 | /Mob_Damage_System/engine.cpp | 16dfcea7ab4d5ee8caec822b1cf1772bf62411a9 | [] | no_license | raikerO2/MobDamage | be48f889bca9d462b16a1824f761b7d99a7e0cf9 | 26d77b3099a3e8a75bfc77518e8d486d5f892e1b | refs/heads/master | 2020-05-18T00:00:20.282116 | 2019-04-29T11:02:51 | 2019-04-29T11:02:51 | 184,049,550 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 169 | cpp | #include "engine.h"
#include <Windows.h>
void Engine::Update()
{
while (true)
{
Sleep(1000);
}
}
void Engine::Initialize()
{
}
void Engine::Close()
{
exit(0);
} | [
"raresmihaiiaut@gmail.com"
] | raresmihaiiaut@gmail.com |
fbc487a649d8e5f568080c58f3e7db4e85bd28b1 | d956e1eac80a0b739e650eac4eaded3d06027b26 | /YYLuanLink.h | 34c205e0347a971e7d548631dc732ebfb7bcdd01 | [] | no_license | Justliangzhu/gitskills | b42457126a945986bad62b84bc9cb21382efb10d | 957e796bcf5cffa1c6171a1acb1393d38930711f | refs/heads/master | 2023-05-30T22:57:30.523134 | 2021-06-22T02:12:50 | 2021-06-22T02:12:50 | 377,092,494 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,852 | h | // YYLuanLink.h: interface for the YYLuanLink class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_YYLUANLINK_H__5A1A3EAB_5C22_4650_82BA_6A320BC645E0__INCLUDED_)
#define AFX_YYLUANLINK_H__5A1A3EAB_5C22_4650_82BA_6A320BC645E0__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#end... | [
"liangzhu_st@csu.edu.cn"
] | liangzhu_st@csu.edu.cn |
eee807181b8124b6e2670c2e5e397e1da79fbd71 | c3e37c35272a37d3063e95e1643d1b705ddc98bb | /deneme.ino | 0f1c4d1c6a3a78376ca95b04c30d054cede059b8 | [] | no_license | Nabat15/arduino-en-az-para-ustu-verme-projesi | faa9d89c78f0a2fc3ab0cb47f3153a638b570d20 | 56f052edff66d65446e6816742a4605de88bb56a | refs/heads/main | 2023-05-11T18:03:59.228298 | 2021-05-29T22:22:24 | 2021-05-29T22:22:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,953 | ino | #include <Wire.h>
#include <LiquidCrystal_SR.h>
#include <SPI.h>
#include <SD.h>
File myFile;
LiquidCrystal_SR lcd(6,7,5);
int clockPin1=9; // ardunionun 9 pinine baglanır
int latctPin1=3; // ardunionun 3 pinine baglanır
int dataPin1= 2; // ardunionun 2 pinine baglanır
int kasa[5]; // 5,10,20,50,100 tl adet sayı... | [
"34472042+Nabat15@users.noreply.github.com"
] | 34472042+Nabat15@users.noreply.github.com |
16c59949b182f329c3c17f4cf40beb6a3cd0af7f | 4a004ce8f4dabd5590d69f71a9cce4ad5239ed33 | /sensor_plugins/sensor_ros_plugins/src/IMUROSPlugin.cc | 258d5dd49be1d68112340ab0b3df5177c5865e0a | [] | no_license | nwpuhe/Simulator_Underwater | 17e2ce7e13f937e0d2d547506ff5f13d5887cd7c | 54bc7275ce10cc3f32251ccd694f36f163fbcf2b | refs/heads/master | 2023-08-19T00:51:41.526281 | 2019-10-29T13:26:50 | 2019-10-29T13:26:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,193 | cc | /***************************************************
* Title: UUV Simulator
* Author: The UUV Simulator Authors
* Date: 2016
* Availability: https://uuvsimulator.github.io/
***************************************************/
#include <sensor_ros_plugins/IMUROSPlugin.hh>
namespace gazebo
{
///////////////////////... | [
"alamcastillo@outlook.com"
] | alamcastillo@outlook.com |
1ffb5d55ad89cd7cf97059e3244ed9c0b23ad8ef | d7fe418470bd39ea3fe456ae21d5f7066efea1bf | /shared/ZipLib/utils/time_utils.h | f8b0e6b3cca54e25413acdfdeb004b63e9194014 | [
"CC0-1.0"
] | permissive | Zax37/WapMap | 3ba11f947382bc64e43e2a1e080cf65bb232e2d2 | 3fc9d5d56d8c1e9675c1deb37d592bef07fe98d7 | refs/heads/master | 2023-06-07T13:51:34.898793 | 2023-06-02T19:05:10 | 2023-06-02T19:05:10 | 234,772,319 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,374 | h | #pragma once
#include <cstdint>
#include <ctime>
#if defined(_MSC_VER)
# define _utils_stream_localtime(dt, ts) do { localtime_s((ts), (dt)); } while (0)
#elif defined(__GNUC__) || defined(__GNUG__)
# define _utils_stream_localtime(dt, ts) do { localtime_r((dt), (ts)); } while (0)
#else
# define _utils_stream_local... | [
"c37zax@gmail.com"
] | c37zax@gmail.com |
eab1453a67d667315a50f39493cdbfb2c13b9c56 | 02f51676a33b32a75934a5f294235e3703632b10 | /Objecttracking/ObjectTracking/Highlevel.cpp | 46a7cc6a287a6960a1b173ad92329733096bfda9 | [] | no_license | hammashamzah/tugasakhir | a86698b09ea8d6182919cd86d0ed2f9d3c82a7c7 | 12da2ee15a2625e6adce0868ec75a8bbe286795e | refs/heads/master | 2021-05-01T19:36:27.428813 | 2016-04-10T22:43:58 | 2016-04-13T08:56:35 | 41,496,299 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,332 | cpp | #include "Highlevel.h"
LinkedList hlevel;
HighLevel::HighLevel(bool process_on,double xdl,double xdr,double xul,double xur,double ydl,double ydr,double yul,double yur,double hung_th,double fr){
start = process_on;
preproc1 = new Preprocess(process_on,1);
preproc2 = new Preprocess(process_on,2);
pr... | [
"bimasahbani.11ipa1@gmail.com"
] | bimasahbani.11ipa1@gmail.com |
3bd919cddddecb9760998c4e7edd35e298335d09 | c9c3a6236793ec914bf35b6fb50161d96e88aca4 | /JC_3DEngine/Math/Src/SimpleMath.cpp | ee4a2e4492ed2e5a5a6ffaaf5eb36bb5c7977762 | [] | no_license | Saltylanguage/MyEngineRepo | 0dd4cffc8ee187e5097d7e49f8dc32e9e236537e | c68f53944f113decd5ec5565d89467584184a12b | refs/heads/master | 2020-03-23T22:55:05.576549 | 2019-06-20T03:08:01 | 2019-06-20T03:08:01 | 142,206,252 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 140 | cpp | #include "Precompiled.h"
#include "Math\Inc\SimpleMath.h"
float Math::General::Abs(float value)
{
return value < 0 ? value * -1 : value;
} | [
"joshcampbell1986@gmail.com"
] | joshcampbell1986@gmail.com |
ecb66d3bfc91672a96bd895c318569554d74ebb2 | 69c51aba736c184c161a04a45a9fad17c430170f | /ProyectoSemaforo vdb/ProyectoSemaforo/Hardware.h | a70f7a5777d260f3e3592d5d79e5e0d0e8759fcb | [] | no_license | STEVEN98S/PROYECTOS- | 62949a9c28ed5caa4f28264bd1135afa5be357ac | 93018c2f44c25176ec3eca6fd07925245bfe4936 | refs/heads/master | 2022-11-29T17:05:36.187974 | 2020-08-04T00:08:05 | 2020-08-04T00:08:05 | 284,826,128 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 224 | h | #pragma once
namespace ProyectoSemaforoModel
{
using namespace System;
[Serializable]
public ref class Hardware
{
public:
int codigo;
String^ tipo;
public:
Hardware(int codigo, String^ tipo);
};
} | [
"noreply@github.com"
] | noreply@github.com |
049e2dd694c3f800f558f2b50a65c47cbaf1eaf6 | db3bd85657702e4d48565877389b57497a48e5e0 | /ceaser_cipher/ceaser_cipher.cpp | 799f681a1c2a969c6534b677cc2569277e0779ec | [] | no_license | sivaraam/cpp | ba8cf6ed94872efbce7acf33c12c0094a74a5f36 | a79042e766dcb68b1a304afc6aea52b502519c88 | refs/heads/master | 2021-01-01T06:14:53.840686 | 2018-01-17T14:14:19 | 2018-01-17T14:14:19 | 97,391,609 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,442 | cpp | #include "ceaser_cipher.h"
namespace ceaser_cipher {
static bool is_valid(char ch) {
if(isalpha(ch))
return true;
return false;
}
//---------------- BEGIN : 'wrapping_alphabet' ------------------
wrapping_alphabet::wrapping_alphabet() : ch('A') { }
wrapping_alphabet::wrapping_alphabet(char ch) {
// Al... | [
"kaarticsivaraam91196@gmail.com"
] | kaarticsivaraam91196@gmail.com |
db85c7f77f83154e6d39133f4ccda6052773512a | f559f0c2fb2f0569de74cb9b3059039b6d2f8849 | /src/Misc/User.cpp | 403a1c7735a0fabdd3fb106af39712d466995734 | [
"MIT"
] | permissive | BigETI/WhackAStoodentServer | 575e2adb31875879ab665b73339e758c1315e8e1 | 05c670a9b745262ae926aebcb1fce0f1ecc5f4d2 | refs/heads/main | 2023-07-20T17:59:47.910556 | 2021-09-01T23:17:11 | 2021-09-01T23:17:11 | 362,589,019 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,257 | cpp | #include <stdexcept>
#include <Misc/User.hpp>
#include <Static/SessionCodes.hpp>
/// <summary>
/// Constructs a user
/// </summary>
/// <param name="peer">Peer</param>
/// <param name="userID">User ID</param>
/// <param name="username">Username</param>
/// <param name="sessionCode">Session code</param>
/// <param nam... | [
"bigeti.ethem@gmail.com"
] | bigeti.ethem@gmail.com |
1ff92e3b7c4d31c427eb901b6ce712138ef0331f | 891ece50c506ac4e1d3565e2dcdb94212313d2d4 | /drivers/jscalers/jscalersApp/src/jscalers.h | 4ad16ce498df30936adfe1a0891b97ea51980fd3 | [] | no_license | JeffersonLab/hps-epics | 3c1906bb64c350bdffdde57e93485e58b8f23c20 | 0d0bd6e13c53b1eb8d34d8bfc1024f639ee68d5a | refs/heads/master | 2023-02-08T07:41:08.376728 | 2021-08-21T18:00:15 | 2021-08-21T18:00:15 | 21,169,348 | 2 | 1 | null | 2021-08-21T18:00:16 | 2014-06-24T15:10:36 | C | UTF-8 | C++ | false | false | 6,822 | h | /**
V.Sytnik 07/2014
*/
#ifndef JSCALERS_DOT_H
#define JSCALERS_DOT_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <pthread.h>
#include <unistd.h>
#include <vector>
#include <iostream>
#include <string>
#include <map>
#include <pthread.h>
#include "common.h"
#ifndef SIMULATION
#include "cr... | [
"wmoore@jlab.org"
] | wmoore@jlab.org |
c3e789270908074af5a5cb65d442ca4b447552da | 50c6883a383d5fe9348fd14e4af61d345d14bf73 | /arduino_zumo.ino | 09b7e0989056f4cc605847040f3b4834b2c7605f | [] | no_license | muberraylmz/bby261-arduino | 4521ddabad78cb8caf632483a9de1562ae6ae4f0 | d54925f0f1ee9a9426d06b6b7b1b2a1386c848b0 | refs/heads/master | 2020-09-05T18:59:00.345800 | 2019-12-19T07:24:51 | 2019-12-19T07:24:51 | 220,186,676 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,264 | ino | #include <Wire.h>
#include <ZumoShield.h>
#define LED_PIN 12
ZumoMotors motors;
Pushbutton button(ZUMO_BUTTON);
void setup(){
pinMode(LED_PIN, OUTPUT);
}
void loop(){
if (button.getSingleDebouncedRelease()){ //https://github.com/pololu/pushbutton-arduino
digitalWrite(LED_PIN, HIGH);
for (int speed = ... | [
"noreply@github.com"
] | noreply@github.com |
ca049db89e3c0aba66de44f4b7d96e039b52b5d5 | 8ffdbd30c6da1a8aee6f5c1084b7674d73d858b9 | /learning_image_transport/src/my_publisher (copy).cpp | 9bd98d5442082da005d98fa9937cf3f72440a992 | [] | no_license | likun1993630/ros_test_pack | 9ded0fb646432c6d4a92b1016ed966a30f90e40c | 2d87caf9d67083279ba1f6d0899071b692b44166 | refs/heads/master | 2020-12-12T16:16:08.512586 | 2020-02-25T09:18:55 | 2020-02-25T09:18:55 | 234,163,798 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,623 | cpp | #include <ros/ros.h>
#include <image_transport/image_transport.h>
#include <camera_info_manager/camera_info_manager.h>
#include <opencv2/highgui/highgui.hpp>
#include <cv_bridge/cv_bridge.h>
#include <sstream> // for converting the command line parameter to integer
#include <sensor_msgs/image_encodings.h>
#include <se... | [
"sdlclk93@gmail.com"
] | sdlclk93@gmail.com |
8869c6643317750a6a402c1d1654904f092b057e | bca8cb330f029b88bec8c7689377866842ee3457 | /server-xmtur/PartySystem.h | 7477bf72d1929d1912b586f617306a45ef03dd78 | [] | no_license | sonnickoo/server-xmtur | 583df82ccee2b75dc2b1c93e72d3d5bb29ca9e1e | 2b9fad102d5b06913ee99f3d2955d22d1f28f158 | refs/heads/master | 2021-01-10T03:35:50.896641 | 2013-03-30T00:49:06 | 2013-03-30T00:49:06 | 45,017,040 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 499 | h | struct MAPS_INFO{
int Map;
int RequiredZen;
int LevelMax;
int ResetMax;
};
class CPartySystem {
public:
void WarpToParty(int aIndex, int PartyNumber);
BOOL CheckLevelResetsDif(int aIndex, int LeaderIndex);
void StartProcess();
void LoadConfig();
MAPS_INFO Maps[64];
int Enabled;
int Trace... | [
"007jodex@gmail.com"
] | 007jodex@gmail.com |
c6c3d752635f394eb10cfc7fab679747b7da3b17 | b7f1b4df5d350e0edf55521172091c81f02f639e | /components/signin/core/browser/child_account_info_fetcher_android.cc | 95af5d6522a016ee0aec83066ab45ca8245d378a | [
"BSD-3-Clause"
] | permissive | blusno1/chromium-1 | f13b84547474da4d2702341228167328d8cd3083 | 9dd22fe142b48f14765a36f69344ed4dbc289eb3 | refs/heads/master | 2023-05-17T23:50:16.605396 | 2018-01-12T19:39:49 | 2018-01-12T19:39:49 | 117,339,342 | 4 | 2 | NOASSERTION | 2020-07-17T07:35:37 | 2018-01-13T11:48:57 | null | UTF-8 | C++ | false | false | 2,596 | cc | // Copyright 2015 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 "components/signin/core/browser/child_account_info_fetcher_android.h"
#include "base/android/jni_android.h"
#include "base/android/jni_string.h"... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
2e661c3fd55a479f1c88c1cb1c59b1351dd0d628 | eab8377af0c2a51a4bb7b50def0bf4265c7ab551 | /src/builtins/builtins-function.cc | 1f58c987ca946d217d5e75f77a8b8633f753c32c | [
"BSD-3-Clause",
"bzip2-1.0.6",
"SunPro"
] | permissive | sarehuna/v8 | 7c7bc02bd0ddff419a2d494144ef198d9aaabcd9 | 3ef16185e43e54507e385a91a6e53a71becc9a98 | refs/heads/master | 2021-04-27T11:58:47.337118 | 2018-02-23T00:18:45 | 2018-02-23T00:57:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,890 | cc | // Copyright 2016 the V8 project 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 "src/builtins/builtins-utils.h"
#include "src/builtins/builtins.h"
#include "src/code-factory.h"
#include "src/compiler.h"
#include "src/conver... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
67a746a6b8093c078cd9874424ee5d6c2bd4524e | 64e4fabf9b43b6b02b14b9df7e1751732b30ad38 | /src/chromium/gen/gen_combined/third_party/blink/renderer/bindings/core/v8/v8_dom_token_list.cc | 3c4a60f922c318f4a2d83ce5993b07ded2c827f0 | [
"BSD-3-Clause"
] | permissive | ivan-kits/skia-opengl-emscripten | 8a5ee0eab0214c84df3cd7eef37c8ba54acb045e | 79573e1ee794061bdcfd88cacdb75243eff5f6f0 | refs/heads/master | 2023-02-03T16:39:20.556706 | 2020-12-25T14:00:49 | 2020-12-25T14:00:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,788 | cc | // Copyright 2014 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.
// This file has been auto-generated from the Jinja2 template
// third_party/blink/renderer/bindings/templates/interface.cc.tmpl
// by the script code_gen... | [
"trofimov_d_a@magnit.ru"
] | trofimov_d_a@magnit.ru |
3058728c9799df0ef8ccff37b44ea56414d21d56 | c392b75cb96bdc5fb7a4825bd5e568bd9007bc4e | /test/src/detail/is_node.hpp | 4e27d188c2a02843ff6c6625c74a0a0d7c039d6e | [
"MIT"
] | permissive | donovan680/pipes-1 | 833fed3ef73caa2b08e69a02804b7f06815f6aa6 | 0acd98e8801058e6530725e1fdb6b8b81d645d8c | refs/heads/master | 2020-08-28T16:58:31.143983 | 2019-09-11T11:51:13 | 2019-09-11T11:51:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 352 | hpp | #pragma once
template<class T>
struct is_node : std::false_type {};
template<class Op, class Connections>
struct is_node<tillh::pipes::Node<Op, Connections>> : std::true_type {};
template<class T>
constexpr auto is_node_v = is_node<T>::value;
template<class Op, class Outputs>
struct is_node<tillh::pipes::Output<Op,... | [
"tillheinzel@hotmail.com"
] | tillheinzel@hotmail.com |
b8e4720534447b2088149973296a673011d7b691 | 6d7f2381b8f1c5c0e0d96156ae36cac12be3017b | /yukicoder/1987/main.cpp | 386e2d15cd74e7d2681ee9611b2f94534bb53bbd | [
"Unlicense"
] | permissive | Johniel/contests | 708ccf944d6aeb0ef0404eec47e8ff7819ea00f0 | 15d465b08cac56e394509bcf8f24764e3dc6ca7d | refs/heads/master | 2023-09-04T07:32:49.822786 | 2023-09-02T13:44:28 | 2023-09-02T13:44:50 | 48,701,889 | 0 | 0 | null | 2019-10-25T09:21:20 | 2015-12-28T16:38:38 | C++ | UTF-8 | C++ | false | false | 2,100 | cpp | // yukicoder/1987/main.cpp
// author: @___Johniel
// github: https://github.com/johniel/
#include <bits/stdc++.h>
#define each(i, c) for (auto& i : c)
#define unless(cond) if (!(cond))
// #define endl "\n"
using namespace std;
template<typename P, typename Q> ostream& operator << (ostream& os, pair<P, Q> p) { os <<... | [
"johniel.s.m@gmail.com"
] | johniel.s.m@gmail.com |
59a4a6aae9b12b3de0495d5faf517ccc22dd4c38 | 663f36cfff3bfaf9ad64bba430e648b0dadc0f99 | /dependencies/libRocket/Source/Core/DecoratorTiledVerticalInstancer.h | 4b1498bf31876bf901f6f896cc98ffa204812f1e | [
"Apache-2.0"
] | permissive | LiberatorUSA/GUCEF | b579a530ac40478e8d92d8c1688dce71634ec004 | 2f24399949bc2b2eb20b3f445100dd3e141fe6d5 | refs/heads/master | 2023-09-03T18:05:25.190918 | 2023-09-02T17:23:59 | 2023-09-02T17:23:59 | 24,012,676 | 9 | 15 | Apache-2.0 | 2021-07-04T04:53:42 | 2014-09-14T03:30:46 | C++ | UTF-8 | C++ | false | false | 2,017 | h | /*
* This source file is part of libRocket, the HTML/CSS Interface Middleware
*
* For the latest information, see http://www.librocket.com
*
* Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software a... | [
"liberatorusa@9712d391-321d-0410-84f4-d6a0ebf28296"
] | liberatorusa@9712d391-321d-0410-84f4-d6a0ebf28296 |
2ef377274c9a393d9fead7d24dac2dd3175b0fe0 | 6249781a489aff04c0cf5e5a392f84a434070e33 | /Source/SUQSTest/Private/TestQuestDependencies.cpp | 45effd07eec26e312b73ea80c4ce8bdec9d87ab3 | [
"MIT"
] | permissive | colorstheforce/SUQS | 197f7736e7085ffbd2b5da970c232a5d4fd91bbd | f5689122716cba6d93651c22b28ac8da0ec22d86 | refs/heads/master | 2023-06-17T16:07:23.881081 | 2021-07-19T11:03:18 | 2021-07-19T11:03:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,663 | cpp | #include "Misc/AutomationTest.h"
#include "Engine.h"
#include "SuqsProgression.h"
const FString TriggerQuestsJson = R"RAWJSON([
{
"Identifier": "Q_TriggerQuest1",
"Title": "NSLOCTEXT(\"TestQuests\", \"TriggerQuestTitle\", \"Quest which triggers others\")",
"Objectives": [
{
"Identifier": "O1",
"Task... | [
"steve@stevestreeting.com"
] | steve@stevestreeting.com |
3bdc251e709405945059ce0a33b09c587c2538c2 | 4d2ba9354d5865ec7199b50a7c33753daa3a7d95 | /ogn/src/Shared/modules/libmysql/src/DBAngent.h | ff579d8a26db74b36537bd460986725cd77af8ad | [] | no_license | Power-cn/ogn | 68a03e937fb2a558fa7d96495c9c0fe12d08e8f7 | 5e1f37e38d8259345a9c6260fdcf3388456a6ee5 | refs/heads/master | 2020-04-07T07:21:12.630385 | 2018-11-19T07:38:54 | 2018-11-19T07:38:54 | 158,173,419 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 698 | h | #pragma once
typedef std::queue<DBRequest*> QueueRequest;
class DBAngent : public Object
{
public:
DBAngent();
~DBAngent();
bool Connect(cstring& host, cstring& user, cstring& password, cstring& name, int16 port, uint32 count);
DBRequest* DispatchRequest(DBRequest* request);
void Update();
protected:... | [
"254127675@qq.com"
] | 254127675@qq.com |
fe7e441e59418cec709ecee3bfd740c106627255 | ccc0956056543120a4317097ddeca717b7ec3153 | /src/core/storage/MemoryPairDB.cpp | 57fc65ab0dcd89f0aee987c555a882463eec6eeb | [] | no_license | LarryHsiao/Leto | fa1012ceaf11fe5533db49e9da74a7b2d3f018b9 | d4e05c1a25d259c028164f4755e3c4ff104d1225 | refs/heads/master | 2020-03-08T19:46:10.003379 | 2018-04-25T10:02:32 | 2018-04-25T10:02:32 | 128,363,183 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 280 | cpp | //
// Created by Larry Hsiao on 4/25/2018.
//
#include "MemoryPairDB.h"
void MemoryPairDB::store(string key, string value) {
keyValue[key] = value;
}
string MemoryPairDB::value(string key) {
return keyValue[key];
}
void MemoryPairDB::clear() {
keyValue.clear();
}
| [
"larryhsiao@silverhetch.com"
] | larryhsiao@silverhetch.com |
09f7d86968b6a1a6917e96574f3f1143d7b1e8d4 | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/AtCoder/arc060/C/911695.cpp | 2b9f4794f73ca74484473e40c666b30c9e786ed4 | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 1,191 | cpp | #include <algorithm>
#include <cstdio>
#include <vector>
int main() {
int n, l, q, a, b, left, right;
int x[100000];
std::vector<int> next[30];
std::scanf("%d", &n);
for (int ni = 0; ni < n; ++ni) {
std::scanf("%d", &x[ni]);
}
std::scanf("%d%d", &l, &q);
next[0].resize(n);
for (int ... | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
e158dc292706608db070e99bcea8a9c89aefa09f | 62836532e3170e0f9d6be67ea546e8b462ebf80e | /Ambos-Pi/src/Order.hpp | bffc2cd4c36b5cc190742be239cfa229903a1194 | [] | no_license | AMBOS-3D/Ambos-3D-Repo | 38fb308fd2deb896eaaf454af4cec91be2c65902 | 3ce09fd457f01775e1ebbc10be02e60dc36fb624 | refs/heads/master | 2022-03-13T11:40:13.466321 | 2022-03-02T09:04:28 | 2022-03-02T09:04:28 | 129,708,095 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,252 | hpp | #pragma once
#include <string>
#include "Component.hpp"
#include "Workplace.hpp"
#include "Settings.hpp"
#include "HandDetector.hpp"
/**
* @class Order
* @brief Zentrales Objekt für V1. Main-loop wird in processOrder gestartet. Für die Verarbeitung wird ein FrameHandler Objekt verwendet
*/
class Order
{
// Funkt... | [
"christian.jauch@ipa.fraunhofer.de"
] | christian.jauch@ipa.fraunhofer.de |
94ef55167e500305b711d270b32a67754b170844 | 45472ac0c43ebce4e1f85dd8aff69fb99a8c1307 | /CG_Fase4/generator/figures.cpp | 021bb34a6296c72af6481cd8c1e54ef5620bb7ad | [] | no_license | AdrianaMeireles80/CG | f1b1bd87087ad15cf76398caba9acc735aa0f801 | d7322acd9724872e13572a776d1923eb114cfff6 | refs/heads/master | 2021-03-13T21:05:27.545327 | 2020-03-28T21:09:33 | 2020-03-28T21:09:33 | 246,712,430 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,849 | cpp | #define _USE_MATH_DEFINES
#include "headers/figures.h"
#include <math.h>
using namespace std;
float quadrants[8][3] = {
{ 1, 1, 1},
{ 1, 1, -1},
{-1, 1, -1},
{-1, 1, 1},
{ 1, -1, 1},
{ 1, -1, -1},
{-1, -1, -1},
{-1, -1, 1},
};
float normals[6][3] = {
{0,1,0},
{0,-1,0},
{0,0,1},
{0,0,... | [
"adriana_1998@live.com.pt"
] | adriana_1998@live.com.pt |
0b6f8129516c827b54dc2fc3df941f12dd3fce8d | fb6138944091ef46603cb697e97e1f9a066546d9 | /ch6/ch6_1.cpp | 18fbe98201a992041b8a93d9d52a5b9ea3b7aa6d | [
"MIT"
] | permissive | ghub/c.open.gl | ed05d57817c215103c300fd95770ab598edf3c5e | 8a592b9e30a929029affb7abdc95330357bddea7 | refs/heads/master | 2021-01-10T11:23:22.342176 | 2016-02-25T13:28:49 | 2016-02-25T13:28:49 | 51,387,496 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,124 | cpp | #include <chrono>
#include <cmath>
#include <fstream>
#include <iostream>
#include <sstream>
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <SOIL/SOIL.h>
const std::string BASE("ch6/ch6_1.");
std::string readShader... | [
"code.gewang@gmail.com"
] | code.gewang@gmail.com |
cec6264cba0eb7352754fe333d2fac697dd1178b | 4775955cc99e1cc089423b1efe1998298bf6ac49 | /include/defines.hpp | 0e20e29f3f5cc0d25131a20e771e18a1a1eaeb04 | [] | no_license | daveod06/Son_Tay_Prison_Raid.Tanoa | 67dd1173fb551181c7b05d612f3e2406207ca5ea | 76e1e48bf2572ce85517c86856d543630bf70eec | refs/heads/master | 2022-12-02T00:05:37.784416 | 2020-08-10T21:58:39 | 2020-08-10T21:58:39 | 104,308,244 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 209 | hpp | #define VERSION "1.0"
#define MISSIONNAME "Son Tay Raid" // FIXME
#define MISSIONNAMEFULL "Son Tay Raid co30" // FIXME
#define MOD "RHS, ETC" // FIXME
#define ISLAND "Tanoa" // FIXME
#define RELEASE "Mission"
| [
"davidodonnell88@gmail.com"
] | davidodonnell88@gmail.com |
753a0662da36d5f07cb79487d636c424b2ec18a1 | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /cme/include/tencentcloud/cme/v20191029/model/VodPullInputPlayInfo.h | 6cb635ec1d83456f66815767e79a4f10496f21b1 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 3,842 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
7b3671f61c9abb315210c48a2ab105df05c80554 | c2004c9fc40caab79c90db642c76468bd3f0582a | /sEMG_acquisition/sEMG_acquisition.ino | 6423de0431e7c7dd713c42bdded5b1cadcbacaa6 | [
"MIT"
] | permissive | gitUmaru/prosthetic_limb | 00d486f7b95a5e675489ac1f9efc2ede5f7b5355 | c3955d66213092b66c446a2ffd53ef153da3e544 | refs/heads/master | 2020-05-02T04:23:03.658947 | 2020-01-23T19:53:36 | 2020-01-23T19:53:36 | 177,748,119 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 599 | ino | const int analogInPin = A0;
const int analogOutPin = 9;
unsigned long time;
int sensorValue = 0;
int outputValue = 0;
void setup() {
Serial.begin(9600);
}
void loop() {
sensorValue = analogRead(analogInPin);
// map it to digital:
outputValue = map(sensorValue, 0, 1023, 0, 255);
// change the analog out... | [
"umaru.alia@gmail.com"
] | umaru.alia@gmail.com |
371695e48663f1ca9e5b67dee34e0bd768560f49 | 5bce87c99f3c62c9caafdc253ed1e26ee3887c68 | /src/board.cc | 5ac57101f62113d9ff25ce0fa113aa800d3b545e | [
"MIT"
] | permissive | CS126SP20/tetris-lucianatl | aff834d19067dc22c142cb96671dba3b9cde31b1 | d55bbf32c05f793ff0dbbc0c9a8dc7e78a27fd9f | refs/heads/master | 2022-06-08T00:27:32.688450 | 2020-05-07T02:25:15 | 2020-05-07T02:25:15 | 257,122,922 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,670 | cc | //
// Created by Luciana Toledo-Lopez on 4/22/20.
//
#include "mylibrary/board.h"
namespace tetris {
Board::Board() {}
Board::Board(int screen_height) {
kScreenHeight = screen_height;
FillBoard();
}
int Board::GetScreenHeight() const {
return kScreenHeight;
}
void ... | [
"Csc3maat"
] | Csc3maat |
88536e22f8deffd6ffe4ae2a8d047546e649b1e7 | bb1f45841647f27f6f59b2b1bad6468578e4d156 | /HAPI_Start/Game.cpp | 387e436d77ed188abf5cb8aca5c592a767203994 | [] | no_license | tieran02/HAPI_Engine | f8c6cc3e73317725b140e5ab9f0f84fc1fdcf431 | e4055a30a21d59918af3b4b700614e476042213a | refs/heads/master | 2020-03-31T00:02:25.367109 | 2019-01-10T06:26:10 | 2019-01-10T06:26:10 | 151,722,979 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 627 | cpp | #include "Game.hpp"
#include <HAPI_lib.h>
#include "Input.hpp"
#include "Time.hpp"
using namespace HAPISPACE;
Game::~Game()
{
}
void Game::Initialise(const Vector2i& screenSize)
{
m_renderer.Intialise(screenSize,m_name);
HAPI.SetShowFPS(true);
}
void Game::Start()
{
while(HAPI.Update())
{
Time::Instance().st... | [
"tieran.wightman@gmail.com"
] | tieran.wightman@gmail.com |
041cabbb504e6d94466479716b30f572273995e6 | ca2330b78030dc376d491f3f2e71a658e98f841c | /evaluate-reverse-polish-notation.cpp | 38c534174335793cce989e6ea3c64d7b06789677 | [] | no_license | xuqiang/leetcode | 0ab3c0c5794d3e3b524cc38d065707b42158cfb6 | 6617e7b18371be71afa14e2a1bf5126adc9d005d | refs/heads/master | 2020-05-30T06:37:18.306567 | 2016-08-26T16:57:43 | 2016-08-26T16:57:43 | 40,883,461 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,252 | cpp | /*
Evaluate Reverse Polish Notation
Evaluate the value of an arithmetic expression in Reverse Polish Notation.
Valid operators are +, -, *, /. Each operand may be an integer or another expression.
Some examples:
["2", "1", "+", "3", "*"] -> ((2 + 1) * 3) -> 9
["4", "13", "5", "/", "+"] -> (4 + (13 / 5)) -> 6
... | [
"xq.1990.weihai@gmail.com"
] | xq.1990.weihai@gmail.com |
13766d19608810a468dc2dad8b755d008039aef5 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/independence/src/RcppExports.cpp | 66977b3f215802bbeefb1bf1b5b44b6bee3e56fa | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,254 | cpp | // Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#include "../inst/include/independence.h"
#include <Rcpp.h>
#include <string>
#include <set>
using namespace Rcpp;
// max_taustar
double max_taustar();
static SEXP _independence_max_taustar... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
2a8fa97a4e76de2f425a166ee9590feb102a3ed9 | 21a73acc341f1a360b2eaefc22126b83b1314f85 | /BattleTank/Source/BattleTank/Public/TankTrack.h | ed3d0a4a2024f9bc56d0bb7d7f9859828ba7ef13 | [] | no_license | SergeiSverlov/S04_BattleTank | 393bc4d90c2d067e4d73dbae8c975c9a3dd0a382 | 7799624e8ffa2a03ebce178d5c58ea4c09a9c2f6 | refs/heads/master | 2022-12-06T20:57:23.906851 | 2020-08-30T10:46:02 | 2020-08-30T10:46:02 | 285,923,700 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 639 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Components/StaticMeshComponent.h"
#include "TankTrack.generated.h"
/**
*
*/
UCLASS(ClassGroup = (Custom), meta = (BlueprintSpawnableComponent))
class BATTLETANK_API UTankTrack : public US... | [
"sergei360@mail.ru"
] | sergei360@mail.ru |
7edd28d0b1c75bcdea8a4587028eaad9cfde468b | 607c0886ca3e52e99313053e7be77bee60cb41ac | /infantry/rune/tiny_dnn/core/kernels/global_avepool_grad_op.h | dc5b6eed42aed586cae84196e0776f6913f173f7 | [] | no_license | bobbyshashin/RoboMasters | 9620e27c6967a3da35fb7df5f4b853dfde343890 | 589c879ab276d05ddf283adfe5292629fb6dc408 | refs/heads/master | 2021-03-24T09:10:27.787322 | 2017-07-21T18:59:27 | 2017-07-21T18:59:27 | 63,122,244 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,091 | h | /*
Copyright (c) 2017, Taiga Nomi
All rights reserved.
Use of this source code is governed by a BSD-style license that can be found
in the LICENSE file.
*/
#pragma once
#include "tiny_dnn/core/framework/op_kernel.h"
#include "tiny_dnn/core/kernels/global_avepool_op_internal.h"
namespace tiny_dnn {
c... | [
"xvjiarui0826@gmail.com"
] | xvjiarui0826@gmail.com |
11ee7c334c99893c878810b89233213d22b4e224 | f03cc0f5dd196b1abe9464bf602b7859865df53c | /字符串循环移位包含.cpp | 74d094477b6dffb885f946ba29512bbfb634b92e | [] | no_license | faradayin/jz | 556881452557566b77f16cb4c2bd3b9670f64088 | dce5ec8cd339169ad764867e0bdd2bcc34e0bb2c | refs/heads/master | 2020-08-01T14:21:35.156140 | 2019-09-26T07:02:04 | 2019-09-26T07:02:04 | 211,013,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,390 | cpp | /*
给定两个字符串s1,s2,要求判定s2是否能够被s1做循环移位得到的字符串包含。
*/
//C代码
#include <stdio.h>
#include <string.h>
int main()
{
char s1[] = "AABCDEF";
char s2[] = "CDEFA";
int len = strlen(s1);
int i, j;
char temp;
for (i = 0; i < len; i++)
{
temp = s1[0];
for (j = 0; j < len - 1; j++)
{
... | [
"yinfeng.v@gmail.com"
] | yinfeng.v@gmail.com |
e962101fe0664e0c0052f9400372b607f2f35bcf | a710cc04218b4dacae914ec49e65af0d06f633d9 | /supplementary_src_code/lang/structbind1.hpp | 3baefd318a8960d2894d23c1d21783b348e56010 | [] | no_license | extinguish/Cpp17CompleteGuide | 67350df2d7118c586a86cee6d850059e591f51e7 | 3ad1a809232b5172b76dc87ebcf48b87dcf07a96 | refs/heads/main | 2023-07-13T07:48:41.908133 | 2021-08-28T09:24:33 | 2021-08-28T09:24:33 | 282,399,534 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 795 | hpp |
#include "customer1.hpp"
#include <utility> // for tuple-like API
// provide a tuple-like API for class Customer for structured bindings:
template<>
struct std::tuple_size<Customer> {
static constexpr int value = 3; // we have 3 attributes
};
template<>
struct std::tuple_element<2, Customer> {
using type = lo... | [
"shichao.guo@gmail.com"
] | shichao.guo@gmail.com |
09446eb6f017a3054418ead27d0c27f47fc848d2 | 11348e739dee821e4bdd6ec0e4c6c041a01b0b59 | /kk/916.股神九.cpp | 80a1dfbe83415ced29265dbc0223485c4bc9e360 | [] | no_license | Spartan859/Noip_Code | 580b1f022ca4b8bf3e77ff8d57d230340715a98d | 8efe9e7cc6f29cd864b9570944932f50115c3089 | refs/heads/master | 2022-11-18T15:09:19.500944 | 2020-07-11T13:36:21 | 2020-07-11T13:36:21 | 163,517,575 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 592 | cpp | #include<bits/stdc++.h>
#define N 10005
#define ll long long
using namespace std;
ll f[N][2],n,k,x[N],tmp=0,bf,cnt=1,ans,cntz=0,sumz=0;
const ll zr=0;
int main(){
//freopen("god9.in","r",stdin);
//freopen("god9.out","w",stdout);
scanf("%lld %lld",&n,&k);
for(ll i=1;i<=n;i++){
scanf("%lld",&x[i]);
}
for(ll i=1;i... | [
"36628376+Spartan859@users.noreply.github.com"
] | 36628376+Spartan859@users.noreply.github.com |
2d8bfd8a8daaefea3d758ce0434d5d2151e8ffb1 | 26ab01c731a26b2a1748acf148d2f3f6937b6df4 | /t.cpp | e503e07ff6ce29412579faf0e3e674d96c5fc715 | [] | no_license | prakhs123/standalone-programs | 881ae3e800b8dccc7921121fa7e264cbe71e590e | 1088196779dc4747069aec9bbfa2ee5f35cf0204 | refs/heads/master | 2020-11-27T16:46:22.055231 | 2019-12-22T08:04:55 | 2019-12-22T08:04:55 | 229,533,661 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 189 | cpp | #include <iostream>
#include <vector>
using namespace std;
int main() {
double fact = 1.0;
for (int i = 100; i >= 1; i--)
fact = fact*(double)i;
printf("%.0f\n", fact);
return 0;
} | [
"prakhs123@gmail.com"
] | prakhs123@gmail.com |
f70325c8c27a3ab4904618f14d74e0039b81b3a3 | c45ceca82b776246233e532f2135a610fbe2dbbc | /libnet/Poller.cpp | 9f25a4ce3cf6a530abb0ab3e8c22414ed09d760a | [] | no_license | huangjingpei/MCUProxy | 3a9e68699ba059872b1fffc05de1ebb54d9253a1 | 01470dfbe5c97dea773948550c73ea5bc67f9d76 | refs/heads/master | 2016-09-13T04:33:45.033889 | 2016-05-11T14:19:04 | 2016-05-11T14:19:04 | 58,551,068 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,015 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <syslog.h>
#include <errno.h>
#include <assert.h>
#include <fcntl.h>
#include <sys/epoll.h>
#include "Poller.h"
#include "sh_print.h"
#include "ioStream.h"
#define LOG_TAG "Poller"
#include "utility.h"
#define CONTAINER_LIMIT ... | [
"huangjingpei@gmail.com"
] | huangjingpei@gmail.com |
faed9c002399c6cc96115cfd7e1ea973ec470562 | 814fda3bc42d0b324b33c2cbb57cb4a327f71e96 | /test/2019/Day05PuzzleTests.cpp | 10a27b55f0c5fee7a7dac2d331673cfea2533fe7 | [
"MIT"
] | permissive | MarkRDavison/AdventOfCode | 377591ce341e37ef2bffa563ccd596fdacc83b60 | a415f3311ad29a5ed2703113769b04b9614e7d57 | refs/heads/main | 2022-12-21T10:04:37.032919 | 2022-12-18T05:55:29 | 2022-12-18T05:55:29 | 162,899,531 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 588 | cpp | #include <catch/catch.hpp>
#include <2019/Day05Puzzle.hpp>
namespace TwentyNineteen {
TEST_CASE("2019 Day 5 Part 1 Example work", "[2019][Day05]") {
const std::vector<std::string> input = {};
Day05Puzzle puzzle{};
puzzle.setVerbose(true);
puzzle.setInputLines(input);
auto answers = puzzle.... | [
"markdavison0+github@gmail.com"
] | markdavison0+github@gmail.com |
a2c90fad66c21a242e2a61555896527e11841b67 | 5aa27e95265015a51bf97d7436011d9f50c2704f | /stl/os/file.hpp | ae5df529a64aeae3017bfac8b0ff1001495aceac | [] | no_license | RyanLiuF/Public | 6cc9a1c18459a2b1186c1a69435189ff160fe4c1 | c9313535188f16d94d8ac36c4dce10d1f08eb356 | refs/heads/master | 2020-04-28T19:55:36.547609 | 2019-07-02T06:29:57 | 2019-07-02T06:29:57 | 175,526,917 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 368 | hpp | #ifndef __STL_OS_FILE_HPP__
#define __STL_OS_FILE_HPP__
/** @defgroup ofiles stl/os/file
* @brief Implement of file operation.
*
**/
#include <stl/os/file/access.hpp>
#include <stl/os/file/query.hpp>
#include <stl/os/file/name.hpp>
#include <stl/os/file/basename.hpp>
#include <stl/os/file/extension.hpp>
#include <st... | [
"RyanLiuF@126.com"
] | RyanLiuF@126.com |
ed03d2aa673e8592147f3e1f2c91699f019c98fa | 3c0ddf4722dec4ab07c571705f46c98942c55efe | /cpp/chap02/02_01.cpp | 5adbd500415ad9809be7a4de47504144b73d2c87 | [] | no_license | bennyang/Hello-World | 5430385c479fd3e887a5248fbe8abb6669b0322c | 880a4cb7d1fe1e6cb8e94229416b9e822fe70d48 | refs/heads/master | 2021-01-19T18:17:04.157075 | 2017-08-20T09:35:34 | 2017-08-20T09:35:34 | 88,352,231 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 339 | cpp | #include <iostream>
int main()
{
bool b = 42;
std::cout << b << std::endl;
int i = b;
std::cout << i << std::endl;
i = 3.14;
std::cout << i << std::endl;
double pi = i;
std::cout << pi << std::endl;
unsigned char c = -i;
std::cout << c << std::endl;
signed char c2 =256;
std::cout << c2 << std::e... | [
"benn2015@163.com"
] | benn2015@163.com |
794aa0fa05b99cda6f0a8059287a20c63d437682 | 18117273466d58d3300c1b740b4af464c3adb75c | /src/njadapter/njadapter/njadapter.cpp | 4c2fa5555e0f900afa9239f090af2bda13299003 | [] | no_license | warrior6/socketpro | 0a10d8d567250116890ad917af0b7f437cd566e9 | 1d2098faf606a1e75856437c90ef111fc5f86405 | refs/heads/master | 2020-07-27T02:34:02.346746 | 2019-09-10T13:25:42 | 2019-09-10T13:25:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,168 | cpp |
#include "stdafx.h"
#include "njobjects.h"
#include "njclientqueue.h"
#include "njpush.h"
#include "njcert.h"
#include "njcache.h"
#include "njtable.h"
namespace NJA {
void GetVersion(const FunctionCallbackInfo<Value>& args) {
auto isolate = args.GetIsolate();
auto v = ToStr(isolate, ClientCoreLo... | [
"support@udaparts.com"
] | support@udaparts.com |
745323ca11d0f20fc3dfc19a6d873e96f19e3325 | 70b106ea0a9286533fdb6e3ff7157ca82b836d8f | /code/ListBoxHandler.h | 62950dc5f4817cac775d74797b5c9c39039f5d9d | [
"MIT"
] | permissive | Mankua/texlay | c03458ee1577da6f9093acfae132534203528c85 | 8e67db732b525ac2abf6622c926c7b347fc211ec | refs/heads/master | 2021-01-23T19:46:10.384985 | 2014-06-12T13:36:38 | 2014-06-12T13:36:38 | 20,766,708 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 790 | h | #pragma once
// custom drag&drop notification message
// dragged item as WPARAM
// dropped position as LPARAM
#define USER_LB_DRAGDROP WM_USER+1
#define USER_LB_SETSEL WM_USER+2
#define USER_LB_ACTIVATE WM_USER+3
class CListBoxHandler
{
public:
CListBoxHandler();
virtual ~CListBoxHandler();
public:
BOOL SetTar... | [
"diego@mankua.com"
] | diego@mankua.com |
46ce0c48d65031c91304ce527f71ed5fd9b3a405 | b146c1380315515ad4c388231325294c5902c70f | /binary.h | edb89132c60955e54cf1da35aa767699e5e895e3 | [] | no_license | edgarshmavonyan/mergeable_heaps | 4eda51f0c8dc30943fee1bd0ce648eff2486eabf | 3422a9ca000fec4437d32f1657bb01e3b85b3f3f | refs/heads/master | 2021-08-30T10:58:03.762295 | 2017-12-17T15:44:42 | 2017-12-17T15:44:42 | 113,308,343 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,497 | h | #include <iostream>
#include "IHeap.h"
#pragma once
template<typename NodeType>
class CBinaryHeap: public IHeap {
NodeType* root_;
explicit CBinaryHeap(NodeType* root) : root_(root) {}
static NodeType* Meld(NodeType* first, NodeType* second) {
if (!first)
return second;
if (... | [
"shmavonyan.eha@phystech.edu"
] | shmavonyan.eha@phystech.edu |
ba2834de328dcd959f57f411007dc3905d4762a4 | 8ae9bdbb56622e7eb2fe7cf700b8fe4b7bd6e7ae | /llvm-3.8.0-r267675/lib/CodeGen/Passes.cpp | 94b42089060c1b8aa5fdbaf9fc8439c9531e9af9 | [
"NCSA"
] | permissive | mapu/toolchains | f61aa8b64d1dce5e618f0ff919d91dd5b664e901 | 3a6fea03c6a7738091e980b9cdee0447eb08bb1d | refs/heads/master | 2021-09-16T00:07:16.731713 | 2017-12-29T04:09:01 | 2017-12-29T04:09:01 | 104,563,481 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,781 | cpp | //===-- Passes.cpp - Target independent code generation passes ------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"wangl@cb94f8c2-beb9-42d2-aaaf-6dc30ea5c36a"
] | wangl@cb94f8c2-beb9-42d2-aaaf-6dc30ea5c36a |
2a465783748c7c72a8877a8e5b5f4666644d2b23 | 6ef6213d2fa39d1d0ab7e2373d882b9d263e8c6d | /vision_sdk/apps/tools/vision_sdk_usecase_gen/vsdk-ctx.h | 73879caf09fc890b2d528bace629a62530deba94 | [] | no_license | Zhangh2018/PROCESSOR_SDK_VISION_03_06_00_00 | 9c380d3167b156a11a8f21814e94ac5550cddc87 | 05c72de5d031006c7565d4234abd53670a926acd | refs/heads/master | 2021-10-16T13:43:05.313842 | 2019-02-11T09:10:44 | 2019-02-11T09:10:44 | null | 0 | 0 | null | null | null | null | MacCentralEurope | C++ | false | false | 3,144 | h | /******************************************************************************
Copyright (c) [2012 - 2017] Texas Instruments Incorporated
All rights reserved not granted herein.
Limited License.
Texas Instruments Incorporated grants a world-wide, royalty-free, non-exclusive
license under copyrights and patents it... | [
"yukichen@otobrite.com"
] | yukichen@otobrite.com |
bed571627051ba2cfc64e7eee467dc9cec1757c0 | 8bd1bc402ed240b8adcda8fd15b5695985121125 | /OF/P26/src/testApp.cpp | 4b85f9dfc63773219fb39d38e5bf8bfdf3eb8642 | [
"MIT"
] | permissive | meganeHunter/myApps | 431417b3a096d41e5b333d70e93a259be08bc855 | e6298e30fb0e0b0092bfe5afa3c1ad8565d2e860 | refs/heads/master | 2016-09-06T05:30:33.220828 | 2014-07-02T15:15:40 | 2014-07-02T15:15:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,576 | cpp | #include "testApp.h"
//--------------------------------------------------------------
void testApp::setup()
{
ofBackground(0,0,0);
fx = ofGetWidth();
fy = ofGetHeight();
pos = ofPoint(fx/2,fy/2);
speed = ofPoint(0.0,0.0);
sMax = ofPoint(12.0,12.0);
dim = 0.1;
cion = false;
gui.addSlider("Dim",dim,0.0,24.0);
... | [
"meganeHunter"
] | meganeHunter |
9fcc575565ce5d97315a7585bcde73dd71ee0ab5 | ed2f0eb893c6234e2c6fd5c5cd72875cca476284 | /GlpkDoubleDiagnosis/LRFGenerateCellsForMutants.cpp | 65fbb647217fc13697f3260f73bb9849d6afac68 | [] | no_license | baozizhenmeixian/DoubleFaultDiagnosis | b14994e9463ed980eeecd12569598d95ba82a2ae | 25cd6e0c973cc4d38b0d185024dcfc7e6e69e4b0 | refs/heads/master | 2021-01-25T14:11:38.222502 | 2018-04-03T16:56:32 | 2018-04-03T16:56:32 | 123,668,376 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 12,624 | cpp | #pragma once
#include "StdAfx.h"
#include "LIFGenerateCellsForMutants.h"
//运行LRF算法 param为1,只返回validShrink部分 param为2,只返回expand部分 其他值两个都返回
string runWithParameter(
CCommonFuncs commonFuncs,
int param,
vector<int>&literalNum,
string dimensionValuesStr,
bool vOdd,
vector<vector<CCell*>>& matrixCells,
vector<vector... | [
"laitao@pku.edu.cn"
] | laitao@pku.edu.cn |
affb2a4f447d0a26acc0d3a2d36be9f62cb71e6f | 83270d75b1c4fad1c00c53ad5b32a6300d45d59c | /apri-sensor-combi-1/ApriSensorAskReceiver/ApriSensorAskReceiver.ino | d359fb5f2600d7dc17c86d03efb945aecb59cbaf | [] | no_license | openiod/apri-sensor | 29fc03de3ad07516eb32e9d226f317583d568f93 | 8052aa346fc66d41bb669dac9771b533d797b0c3 | refs/heads/master | 2023-07-23T00:42:34.220398 | 2023-07-09T11:15:33 | 2023-07-09T11:15:33 | 79,636,257 | 6 | 1 | null | 2022-11-12T12:11:05 | 2017-01-21T09:27:14 | JavaScript | UTF-8 | C++ | false | false | 1,433 | ino |
/*------------------------------------------------------------------------------
Application for receiving sensor data from one or more sensor units
RF433 ASK receiver RadioHead, Implements a simplex (one-way) receiver with an Rx-B1 module
*/
/*
Copyright 2017 Scapeler
Licensed under the Apache License, V... | [
"awiel@scapeler.com"
] | awiel@scapeler.com |
ac2d14f40c5f82b0b2217996a8c3be2f4eecdcee | 419fd17954a388878e8cf5ab66275821eae249ed | /include/visualizer/video_player.h | 252da8bdeda2896320ff5f7ab87065d70dbc13fa | [] | no_license | atharvanaik10/fcax | e579e0970cf9ddcaaad507902d7b77076149c93f | 053a000592467ea667c92ab8057c279cef7c7585 | refs/heads/main | 2023-04-23T16:56:00.191973 | 2021-05-16T17:13:29 | 2021-05-16T17:13:29 | 308,537,606 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,591 | h | //
// Created by Atharva Naik on 15/11/20.
//
#pragma once
#include <iostream>
#include <fstream>
#include <vector>
#include <filesystem>
#include "../core/engine.h"
#include "cinder/app/App.h"
#include "cinder/app/AppBase.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/gl.h"
#include "../other/CinderOpenCV.... | [
"atharvanaik10@gmail.com"
] | atharvanaik10@gmail.com |
7c548b77d8d97b24df58a05a88a7daa010da4cd6 | 1990b25fee681bb022861bfd09ee718645338492 | /AFS1200/QMain/curve/PaxHeader/qcustomplot.cpp | 5fe1d77a66cda91186abc612d2da0baacc742620 | [] | no_license | waaaly/try-loveGit | e2db35db4b98df350480b87dd60589dff28cc771 | d2e89fe695a2301237e0a32353d9acbd14b94fa3 | refs/heads/master | 2020-04-23T01:33:06.948645 | 2019-04-17T15:05:13 | 2019-04-17T15:05:13 | 170,816,307 | 9 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 75 | cpp | 48 path=新UI软件/QMain/curve/qcustomplot.cpp
27 atime=1471514820.023259
| [
"825887013@qq.com"
] | 825887013@qq.com |
2a5fcfbb4a4fde05393f7886768d498102c749d3 | 97478e6083db1b7ec79680cfcfd78ed6f5895c7d | /base/message_loop/message_loop_io_posix_unittest.cc | f98d4668d3a6299e16047c250e3098bdb830a337 | [
"BSD-3-Clause"
] | permissive | zeph1912/milkomeda_chromium | 94e81510e1490d504b631a29af2f1fef76110733 | 7b29a87147c40376bcdd1742f687534bcd0e4c78 | refs/heads/master | 2023-03-15T11:05:27.924423 | 2018-12-19T07:58:08 | 2018-12-19T07:58:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,458 | cc | // Copyright 2017 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 "base/message_loop/message_loop.h"
#include "base/bind.h"
#include "base/compiler_specific.h"
#include "base/files/file_util.h"
#include "base/f... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
ccbc12475789a1e02796527619191c2f135fb92a | cd16ff222a92afec319a9e5cdf4bd7dc9efe9ae5 | /main.cpp | 9044658530c4ef21c57a9aa4defe5b333f59b828 | [] | no_license | marcocanzoniere/Progetto_Algortmi | 0aefa0039f79cf0a73b0343ad62e7d8b7c13ac3b | 0b0539d7433eacd56daf60209a6ff0ef2b9883fb | refs/heads/master | 2022-11-06T12:52:43.068924 | 2020-06-13T06:39:29 | 2020-06-13T06:39:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,810 | cpp | #include <iostream>
using namespace std;
#include <vector>
#include <string>
#include <sstream>
#include <algorithm>
#include "tabella.h"
#include "commands.h"
int main() {
vector<string> stringa_comandi, elem_stringa;
vector<tabella> table(1);
string comando,comando1;
int i = 0,k=0;
vector<strings... | [
"noreply@github.com"
] | noreply@github.com |
f2d4248cfec4132eafb14863dc0c3f334d9cdd21 | cf2d0d0a648e912abb4b9b600ea0f287c2e4cac2 | /DMD/DMD.cpp | 2d9d5a3effd5f9f0a7d8366de02945e2b24f70d2 | [] | no_license | tqkhcmut/DMD_APP | a8f031487f8ac466f3898566b77493a327363692 | b2906d8917643d1e302491c6037aa75dfc438bdf | refs/heads/master | 2020-06-01T04:29:41.820318 | 2014-04-08T10:06:05 | 2014-04-08T10:06:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,858 | cpp | /*--------------------------------------------------------------------------------------
DMD.cpp - Function and support library for the Freetronics DMD, a 512 LED matrix display
panel arranged in a 32 x 16 layout.
Copyright (C) 2011 Marc Alexander (info <at> freetronics <dot> com)
Note that the DMD lib... | [
"kieutq@hotmail.com"
] | kieutq@hotmail.com |
d0879019378c1879ee807f523a2f9a06935626e3 | 4d6aba3a0de0cd804305360649d9571a55b1c26c | /src/merkleblock.cpp | fddf7dbda695bbdae4a6d13589a57414738c4cb8 | [
"MIT"
] | permissive | PPeshev/MOK | cddf68771b73b573d377e13ce2297ee3b46a0c4c | eae922e60159aa4db696ea64ca69198669ed56d1 | refs/heads/master | 2020-03-25T12:00:27.334757 | 2018-09-24T14:52:19 | 2018-09-24T14:52:19 | 133,274,119 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,838 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2016-2018 The PIVX developers
// Copyright (c) 2018 The MOKEN developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.ph... | [
"lordpgp@gmail.com"
] | lordpgp@gmail.com |
077e108ff2502363cd26c6bb66914be2a8c4b812 | ddf1edc6d185169aabfbbf4465d24421e568868a | /Activity2/main.cpp | 8db639bdf4ef510027aa63a95e0ce810ae9ff721 | [] | no_license | Jatapiaro/Activity | b7ab22f0bc7abb780b9bccd69615ef371b830636 | 8cbcb3f16147c8a28897ca14d63adf98e3c6d0e4 | refs/heads/master | 2020-05-26T14:41:58.479224 | 2017-03-15T00:55:29 | 2017-03-15T00:55:29 | 85,006,901 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,815 | cpp | /*
TC3022. Computer Graphics
Sergio Ruiz
External geometry loader activity.
*/
#ifdef __APPLE__
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#include <GLUT/glut.h>
#else
#include "freeglut.h"
#endif
#include <stdio.h>
#include <math.h>
// NATE ROBINS' OBJ MODEL LOADER (http://devernay.free.fr/hacks/glm/)
#inclu... | [
"jacob.et.cetera@gmail.com"
] | jacob.et.cetera@gmail.com |
5a60a9c962fd632fdf4b28e3f94911de641c36f4 | 9031c25072a81afd99a3ae51974093ef9da0c5e4 | /Prog-Repartie-M4102C/prog-repartie-M4102-master/tp06/client/EnvoiReception.hpp | 928cfd716f1c923ea570c35477c3e222de3f40ca | [] | no_license | Lleiro/TPs | e58ce8cddba25d0a38add4e8c698364f253f4fd9 | 654274f47241090f94ab1f0f459a11de3dd18ed5 | refs/heads/master | 2020-04-08T16:40:58.041000 | 2019-04-15T09:29:23 | 2019-04-15T09:29:23 | 159,529,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 36 | hpp | ../../tp05/client/EnvoiReception.hpp | [
"monteile@hostname.iut2.upmf-grenoble.fr"
] | monteile@hostname.iut2.upmf-grenoble.fr |
836eb26637f9d8a9fe2ea0bb1277a24c901dc174 | ed033bdd4ded921dc94cc78110507e1e9e8c257c | /GL_Game_Colors/GL_Game_Colors/Painter.cpp | 8ed8e7849b2adb86a13590ff34d035442710c64c | [] | no_license | coint-my/store | cda8f37db9859a02141e1f59aee9c56d79fdc145 | 395d717c8f3053ab3db3084f4261b0344cbbc4ba | refs/heads/master | 2023-04-14T22:52:36.659403 | 2023-04-05T13:48:17 | 2023-04-05T13:48:17 | 245,461,456 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 823 | cpp | #include "Painter.h"
Painter::Painter(void)
{
}
Painter::~Painter(void)
{
}
void Painter::DrawTile(const int _rad, const int _seg, const float _x, const float _y, const Color &_col)
{
glColor3f(_col.r, _col.g, _col.b);
glBegin(GL_POLYGON);
for(int i = 0; i < _seg; i++)
{
float angle = M_PI / _seg;
float p... | [
"vovabelyaev1984@gmail.com"
] | vovabelyaev1984@gmail.com |
da6e2356d32819241b2f922b46da256fdd28dba1 | d1827a314078bd6ea73bbe47e892853b2c578c9e | /src/qt/signverifymessagedialog.cpp | d4c3b1756dfdfa593aaba044de017bd79efd0ba7 | [
"MIT"
] | permissive | 404c/404 | 814fa768e518e72da629b21a32e13276a6808e26 | 2c9beab63f7fc6ba2faeff00faa9a6d38f82b728 | refs/heads/master | 2021-01-20T20:32:44.637573 | 2016-06-07T11:00:47 | 2016-06-07T11:00:47 | 60,607,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,779 | 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... | [
"404coin@scryptmail.com"
] | 404coin@scryptmail.com |
d29b2df26638bb029a429e97d5041f2357e0b087 | e929869ccbcd6142760b7b4acbb52d2d60beb2af | /lib/PID/PID.h | 95e1a28bfbe7e02bdc2cf239b160abee5cc3b056 | [] | no_license | rudra-potlapally/Epsilon-6-2022 | 6481974f406a76bb98f80d0fa1db3f1ea8dd5538 | ce2c152a4d82d4d307c7522f179945734efd0775 | refs/heads/main | 2023-08-17T19:25:33.670674 | 2021-10-11T04:33:16 | 2021-10-11T04:33:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 366 | h | #ifndef PID_H
#define PID_H
#include <Arduino.h>
class PID {
public:
double kp;
double ki;
double kd;
PID(double p, double i, double d, double absoluteMax = 0.0);
double update(double input, double setpoint, double modulus = 0.0);
private:
unsigned long lastTime;
double absMax;
doub... | [
"27093@bbc.qld.edu.au"
] | 27093@bbc.qld.edu.au |
d0a2f8dc6db2356c0b467dd57657aee35f51e601 | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE789_Uncontrolled_Mem_Alloc/s01/CWE789_Uncontrolled_Mem_Alloc__malloc_char_rand_84_goodG2B.cpp | 01ff71d446cc7b8e5da5605854525df9b9a3b7f0 | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 2,130 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE789_Uncontrolled_Mem_Alloc__malloc_char_rand_84_goodG2B.cpp
Label Definition File: CWE789_Uncontrolled_Mem_Alloc__malloc.label.xml
Template File: sources-sinks-84_goodG2B.tmpl.cpp
*/
/*
* @description
* CWE: 789 Uncontrolled Memory Allocation
* BadSource: rand... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
fb7d2c7d4f5d3d497657946419ef7c2447aaae46 | 76dd8343cb5d04fec631c1711a5642e6f83d8ae2 | /oneflow/api/python/framework/parallel_conf_util.cpp | 71de20a7936096f0f4fcac309618a5903c25d5b3 | [
"Apache-2.0"
] | permissive | weinapianyun/oneflow | 56c580ca2d6019f7d3e184a476ee9cb0699eea3e | 748501a5383f50bf9f3a5d3b3da81d4f31b425de | refs/heads/master | 2023-09-03T05:40:03.313826 | 2021-11-22T08:44:34 | 2021-11-22T08:44:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,637 | cpp | /*
Copyright 2020 The OneFlow Authors. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | [
"noreply@github.com"
] | noreply@github.com |
0a46294170763fae0c3b81ba37df43f5a6e51163 | 5950c4973a1862d2b67e072deeea8f4188d23d97 | /Export/macos/obj/include/lime/media/openal/AL.h | 0325dba409155693cd2408a403b1727c6d78bfe5 | [
"MIT"
] | permissive | TrilateralX/TrilateralLimeTriangle | b3cc0283cd3745b57ccc9131fcc9b81427414718 | 219d8e54fc3861dc1ffeb3da25da6eda349847c1 | refs/heads/master | 2022-10-26T11:51:28.578254 | 2020-06-16T12:32:35 | 2020-06-16T12:32:35 | 272,572,760 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 17,649 | h | // Generated by Haxe 4.2.0-rc.1+cb30bd580
#ifndef INCLUDED_lime_media_openal_AL
#define INCLUDED_lime_media_openal_AL
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS3(lime,media,openal,AL)
HX_DECLARE_CLASS2(lime,utils,ArrayBufferView)
namespace lime{
namespace media{
namespace openal{
class HXCPP_CLASS_... | [
"none"
] | none |
ab8c0be700def324a697ed3b24d5c516530c34ff | 91561183d0b64eab7de0e10daa328d39ebb229d4 | /src/include/catalog/type_handle.h | 4a2296b02f769c10ab23a7525489e11552df4434 | [
"MIT"
] | permissive | jrolli/terrier | a2ae102e0290fc644d864545cc18d7efe483df69 | 77750bb3f54d9ec22908c1986e5412441c65ef11 | refs/heads/schema_change | 2021-10-26T21:59:25.631175 | 2019-05-17T13:36:48 | 2019-05-17T13:36:48 | 168,453,725 | 0 | 1 | MIT | 2019-07-09T15:33:36 | 2019-01-31T03:05:19 | C++ | UTF-8 | C++ | false | false | 2,566 | h | #pragma once
#include <type/transient_value.h>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "catalog/catalog_defs.h"
#include "catalog/catalog_entry.h"
#include "catalog/catalog_sql_table.h"
namespace terrier::catalog {
class Catalog;
/**
* An TypeEntry is a row in pg_class cat... | [
"34660288+pervazea@users.noreply.github.com"
] | 34660288+pervazea@users.noreply.github.com |
eee4b64fb7ca114cd146df7e0e05464bc59bdec1 | 039a30b5db53c7f828ea87b9f305f51be4d7e6cc | /模板/数据结构/主席树-静态第k大.cpp | e44d60df0f1e93b349ad11a6bb5d7a69dd813af6 | [] | no_license | 1092772959/My-ACM-code | cd5af7cebc04c3252ed880686759257237b63b34 | 87109a0a98e6ea49f8726927cc4357a9155ba3f2 | refs/heads/master | 2021-07-03T01:31:39.173353 | 2020-08-25T13:48:49 | 2020-08-25T13:48:49 | 151,587,646 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,999 | cpp | #include<cstdio>
#include<cstring>
#include<algorithm>
#include<cmath>
using namespace std;
typedef long long LL;
const int N = 200005;
const int INF = 0x3f3f3f3f;
int n,q,tot;
struct lp{
int l,r,sum;
lp(){l=r=sum=0;}
}cw[N*20];
int ar[N],br[N],now[N];
int root[N];
void update(int l,int r,int last,int &cur,int ... | [
"32030091+1092772959@users.noreply.github.com"
] | 32030091+1092772959@users.noreply.github.com |
cc82e7648d031ee6f0aad43e0df6b4b17cfdffe1 | dd9ce0e1ebbb2dd0e2110eae8246346b5e4e6bb3 | /diamnet-core/src/ledger/LedgerTxnHeader.h | 712cfd5514d86d6781f09a07d670c6237d241b5d | [
"MIT",
"BSD-3-Clause",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | shanhashcah/diamnet-core15 | f9a4d2b9dd93ac504782df85225e4f924ac8bdc2 | de15c6b197f8c21f269c0b99d90c6b243d1addb0 | refs/heads/master | 2023-08-25T01:45:11.747763 | 2021-10-20T16:09:35 | 2021-10-20T16:09:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,321 | h | #pragma once
// Copyright 2018 Diamnet Development Foundation and contributors. Licensed
// under the Apache License, Version 2.0. See the COPYING file at the root
// of this distribution or at http://www.apache.org/licenses/LICENSE-2.0
#include <memory>
namespace diamnet
{
class AbstractLedgerTxn;
struct LedgerHea... | [
"ubuntu@ip-172-31-22-243.us-west-1.compute.internal"
] | ubuntu@ip-172-31-22-243.us-west-1.compute.internal |
21d3c5dac9a8fccb1a8f4de7e81df4674e4e79a0 | 80788be5905eee6c573fb310602dfe54143d0fba | /Source/DemoDisc1/EndGame/EndGameUI.h | bb6c83b3782e9d63ba0d87c55470bdb448cacf3e | [] | no_license | bgonz12/DemoDisc1 | 72e49c8601d17b4a019a3546f181825db84a27c1 | 6963d516e7e290330fe9a5aed32849e9dc9aec27 | refs/heads/master | 2021-04-19T03:30:07.701981 | 2020-05-27T18:11:39 | 2020-05-27T18:11:39 | 249,575,454 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 547 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Blueprint/UserWidget.h"
#include "EndGameUI.generated.h"
/**
*
*/
UCLASS()
class DEMODISC1_API UEndGameUI : public UUserWidget
{
GENERATED_BODY()
public:
virtual bool Initialize() over... | [
"bgonz12@hotmail.com"
] | bgonz12@hotmail.com |
ea9d35310cc09482f6ea743a01fa9532975d7496 | 47ebf27cd965269321b5d07beea10aec6da494d9 | /Analysis/ReprocessingTools/ExtractKretchmann/OscillotonPotential.hpp | 0454ef4a6ac48357a24d04885a05a42768293cc5 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | JamieBamber/GRChombo | 9220fa67eeaa97eee17bc3c0a8ad17bfd3d02d0e | 4399e51f71618754282049d6f2946b69ad2c12ee | refs/heads/master | 2022-03-21T18:49:41.668222 | 2020-11-24T23:21:14 | 2020-11-24T23:21:14 | 201,951,780 | 0 | 0 | BSD-3-Clause | 2020-03-11T10:19:26 | 2019-08-12T14:55:47 | C++ | UTF-8 | C++ | false | false | 1,268 | hpp | /* GRChombo
* Copyright 2012 The GRChombo collaboration.
* Please refer to LICENSE in GRChombo's root directory.
*/
#ifndef OSCILLOTONPOTENTIAL_HPP_
#define OSCILLOTONPOTENTIAL_HPP_
#include "simd.hpp"
class OscillotonPotential
{
public:
struct params_t
{
double scalar_mass;
double f_axi... | [
"dc-bamb1@login-e-14.data.cluster"
] | dc-bamb1@login-e-14.data.cluster |
f0a505a4b5337baa695646180bde0534801ba0e3 | 879681c994f1ca9c8d2c905a4e5064997ad25a27 | /root-2.3.0/run/tutorials/multiphase/twoPhaseEulerFoam/RAS/fluidisedBed/0.9/p | 2d4df613a55cb025445f2012d3f2adec1dbf4ac7 | [] | no_license | MizuhaWatanabe/OpenFOAM-2.3.0-with-Ubuntu | 3828272d989d45fb020e83f8426b849e75560c62 | daeb870be81275e8a81f5cbac4ca1906a9bc69c0 | refs/heads/master | 2020-05-17T16:36:41.848261 | 2015-04-18T09:29:48 | 2015-04-18T09:29:48 | 34,159,882 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 46,716 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
... | [
"mizuha.watanabe@gmail.com"
] | mizuha.watanabe@gmail.com | |
7ff27ea3854395b31f70ec3fafe8e1abd707312e | b58ed4aec5031dbd83b254da9e1c5d7b0ed76b49 | /src/Checksummer.cpp | bd956f895483f16afb0b72922e7cb9cec13fff18 | [
"BSD-2-Clause"
] | permissive | 285424336/Middleware | ab961c94c7721950e9bf66660db7367f5363516d | 6438bdef16671482ecc1330679fa56439f916c61 | refs/heads/master | 2021-05-30T12:07:01.298691 | 2016-02-25T12:01:19 | 2016-02-25T12:01:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 186 | cpp |
#include <r2p/Checksummer.hpp>
namespace r2p {
void Checksummer::add(const uint8_t *chunkp, size_t length) {
while (length-- > 0) {
add(*chunkp++);
}
}
} // namespace r2p
| [
"martino.migliavacca@gmail.com"
] | martino.migliavacca@gmail.com |
582b0c950c3e9ee0932c8ac16951bf7a6a5c94c3 | bd6726e677dd8ef16856747ce4f7450e5cc9b00b | /src/FelZenSegment/imconv.cpp | b5f38eacc6dc8e6565b4c213eb8515e9b2aa3bc0 | [] | no_license | i-genius/image-segment | 63c05b9227c4dbd9d6dc9527d7d99dfd45086fd2 | 653840e53ef2b31ec2cf09a747628af56efd6b29 | refs/heads/master | 2021-05-02T06:49:26.746806 | 2018-02-09T07:08:04 | 2018-02-09T07:08:04 | 120,864,802 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,863 | cpp | /*
Copyright (C) 2006 Pedro Felzenszwalb
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the ho... | [
"Tx_huntaway1023@163.com"
] | Tx_huntaway1023@163.com |
971fb08f46047b2ee4eb51eac6d9446b95bc76b6 | 0f95206110e0e462cada759b2eb0529dd7e14333 | /test/test_backtest_bootstrap_snp.cpp | 001ffdc8e0640dcb63cf7a72b6f1c88a4fe94979 | [
"MIT"
] | permissive | calvin456/VaR | 80a9547b248b67cbafa70fa2303451b1d30f14a7 | ef70faf930b0dcae1725bca6cc9f205c3099324d | refs/heads/master | 2021-01-13T04:19:34.823672 | 2016-12-27T08:08:50 | 2016-12-27T08:08:50 | 77,436,965 | 6 | 5 | MIT | 2019-11-21T04:09:48 | 2016-12-27T07:56:21 | HTML | UTF-8 | C++ | false | false | 4,811 | cpp | //test_backtest_bootstrap_snp.cpp
// Test computation of VaR using different methods
#include <iostream>
#include <string>
#include <fstream>
#include <sstream>
#include <vector>
#include<algorithm>
#include<memory>
#include "compute_returns_eigen.h"
#include "compute_var.h"
using namespace std;
void readCSV(std:... | [
"aljagg@bluewin.ch"
] | aljagg@bluewin.ch |
194d79f708e434b7352f8a3a921a73db559bcba2 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/rsync/gumtree/rsync_old_log_204.cpp | cff69d808b5ca5ecd592f11d4cd3295c6c8e6728 | [] | 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 | 56 | cpp | fprintf(stderr,"fstat %s : %s\n",fname,strerror(errno)); | [
"993273596@qq.com"
] | 993273596@qq.com |
0fd69a9dcfead279458bb054b40fcb440c90eda0 | 0dca3325c194509a48d0c4056909175d6c29f7bc | /outboundbot/src/model/GetAfterAnswerDelayPlaybackRequest.cc | ed610557a4d3a05edd6b979d3d0c794e0f3731c7 | [
"Apache-2.0"
] | permissive | dingshiyu/aliyun-openapi-cpp-sdk | 3eebd9149c2e6a2b835aba9d746ef9e6bef9ad62 | 4edd799a79f9b94330d5705bb0789105b6d0bb44 | refs/heads/master | 2023-07-31T10:11:20.446221 | 2021-09-26T10:08:42 | 2021-09-26T10:08:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,586 | cc | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
6e31e936886220631a55db35e0c613f2e62ffe61 | fc515a72800f3fc7b3de998cb944eab91e0baf7b | /52-2loopText 回文字符串——递归编程练习/main.cpp | caf8ef2017069b43976c04aad4fb523b63450ac1 | [] | no_license | jbji/2019-Programming-Basics-C- | 4211e0c25dd1fc88de71716ad6a37d41cd7b8b04 | 014d3d8a5f1d6a95c132699e98ef4bfb25ef845f | refs/heads/master | 2022-12-30T08:12:09.214502 | 2020-10-13T14:17:57 | 2020-10-13T14:17:57 | 303,658,050 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 926 | cpp | #include<iostream>
#include<cmath>
using namespace std;
int main()
{
int n; //数组长度
cin>>n;
int in[n];
//临时变量
int tmpDigit[10];//拆解用临时存储
int isLoop;
int i=0;
int j=0;
int k=0;
for(i=0;i<=n-1;i++){
cin >> in[i];
}
for(i=0;i<=n-1;i++){
//数字拆解
int tmp... | [
"jbji@foxmail.com"
] | jbji@foxmail.com |
3fd298f92410e488e2bc52f253306f73c0c68239 | a7bedf7925ce55e12337d3c6827c1e456c8d4d89 | /BinaryTreePreorderTraversal.cpp | 5cf970ca5581ac5831bfac4a2e6e158f54b18d86 | [] | no_license | denisewu/LeetCode | f9d1e90d8d6e205727426a330d7d32021e8c3445 | cea84d40a79106803f5d0ffdcdd548a96d0e86eb | refs/heads/master | 2021-01-01T15:25:17.356794 | 2015-03-16T14:08:30 | 2015-03-16T14:08:30 | 10,868,083 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 787 | cpp | /*
Given a binary tree, return the preorder traversal of its nodes' values.
*/
/**
* Definition for binary tree
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
vector<int> preorderTra... | [
"denisewu.ict@gmail.com"
] | denisewu.ict@gmail.com |
aa5f341b655fd86ea3cde9f959b5505226d93115 | 10fdc68abb2110732bc3928a577aa404153c824b | /third_party/skcms/skcms.cc | b746879d60c25f42310ee54fb6c502b43cbb6cda | [
"BSD-3-Clause"
] | permissive | EdSchouten/skia | 6f60471eebe2faf398b7915d1d6f057fe761afc5 | a583a06f831e9e03c303920b9d34f085508135c1 | refs/heads/master | 2020-04-01T14:02:12.877873 | 2018-10-16T07:19:03 | 2018-10-16T07:45:33 | 153,277,813 | 0 | 0 | NOASSERTION | 2018-10-16T11:57:33 | 2018-10-16T11:57:33 | null | UTF-8 | C++ | false | false | 83,896 | cc | /*
* Copyright 2018 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "skcms.h"
#include "skcms_internal.h"
#include <assert.h>
#include <float.h>
#include <limits.h>
#include <stdlib.h>
#include <string.h>
#if defined(__ARM_NEON)
... | [
"skia-commit-bot@chromium.org"
] | skia-commit-bot@chromium.org |
45eab849863b84c00391771870e158f61ff9126c | 4dac0def1c47893f230fe6656f441baaf92c7d1a | /Lesson-9/USACOProblem.cpp | 92f3cc5d520d5c5bde2c6ebf0a82ad5feb26b6a4 | [] | no_license | Liu-Zhi-Yu/Introduction-to-C- | 5c11e5be47b711eed2655806c9c20810da659d9e | 33d0c9f94f11c517ee4e8782cc8532f4e014b292 | refs/heads/master | 2022-12-04T06:38:58.795768 | 2020-08-26T15:07:03 | 2020-08-26T15:07:03 | 266,927,892 | 0 | 1 | null | 2020-08-26T15:03:20 | 2020-05-26T02:40:36 | C++ | UTF-8 | C++ | false | false | 673 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
int main() {
int cows, length;
cin >> cows >> length;
int cow[cows];
for (int i = 0; i < cows; i++) {
cin >> cow[i];
}
sort(cow, cow+cows);
int count = 0;
for (int i = 0; i < cows; i++) {
if ((cow[i]+cow[... | [
"noreply@github.com"
] | noreply@github.com |
290b089dd70b3c0fc2e743259cd7803036505ead | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/varband/src/varbandcpp.cpp | b8402af8ad2c5029e5779eeafc4d68419691fab8 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 15,070 | cpp | #include <cmath>
// we only include RcppArmadillo.h which pulls Rcpp.h in for us
#include "RcppArmadillo.h"
// via the depends attribute we tell Rcpp to create hooks for
// RcppArmadillo so that the build process will know what to do
//
// [[Rcpp::depends(RcppArmadillo)]]
#define TOL 1.0e-6
#define SMALL 1.0e-15
#defi... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
51a2461f17b290f487b04b45e40f5b9195ec388c | 5f04291a134213aee5703edf1ce2caa2664a1e4f | /chefgr.cpp | 65497ee0b59ff7603bf22a035777bef125ea54f6 | [] | no_license | prateek1802/Codechef | 5a9797bf0283f91e713ff63b39e1d244ea9ce9cd | a27e0feef561b3e9e02ec49e2a4c91d2a06a3a28 | refs/heads/master | 2020-03-19T04:13:29.264583 | 2018-07-21T06:17:44 | 2018-07-21T06:17:44 | 135,807,410 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 623 | cpp | #include<bits/stdc++.h>
#include<algorithm>
#define M_PI
using namespace std;
int main()
{
int t;
scanf("%d",&t);
while(t--)
{
int n,m;
scanf("%d%d",&n,&m);
int a[n],maxx=-1;
for(int i=0;i<n;i++)
{
scanf("%d",&a[i]);
if(a[i]>maxx)
... | [
"sharma.prateek182@gmail.com"
] | sharma.prateek182@gmail.com |
49086e999d5a1f7835b1864c9f36eb5bff759a65 | 83279b3c5e3337a56ba31f9a84bb5e4c746a786e | /Postfix.h | 387f5bebd35629a6d72211bcb3adff895d5779ba | [
"MIT"
] | permissive | Zonr0/geneticPractice | 0ea5d15ac855a9841912f05585f58278efd8ac10 | 02e26dc60765e36db2c12653068d56e0b023dfcc | refs/heads/master | 2021-05-04T19:37:25.099386 | 2017-11-17T23:01:52 | 2017-11-17T23:01:52 | 106,791,660 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,257 | h | #ifndef POSTFIX_H
#define POSTFIX_H
#define NULL 0
#ifdef DEBUG
#include <iostream>
#endif
namespace PostfixNodes {
struct node {
int value;
struct node * pNext;
node();
void deleteAll();
};
//TODO: Write comment explaining this
const int SUBTRACTION = -1;
const int ADDITION = -2;
const int MULTIPLICATIO... | [
"awaugh@pdx.edu"
] | awaugh@pdx.edu |
d486524e59b8c215c577382db3b2c273023b2145 | 2cf838b54b556987cfc49f42935f8aa7563ea1f4 | /aws-cpp-sdk-rds/include/aws/rds/model/CreateCustomAvailabilityZoneResult.h | 744a9690e8ab992c50ff5ef93b7293a990f208b1 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | QPC-database/aws-sdk-cpp | d11e9f0ff6958c64e793c87a49f1e034813dac32 | 9f83105f7e07fe04380232981ab073c247d6fc85 | refs/heads/main | 2023-06-14T17:41:04.817304 | 2021-07-09T20:28:20 | 2021-07-09T20:28:20 | 384,714,703 | 1 | 0 | Apache-2.0 | 2021-07-10T14:16:41 | 2021-07-10T14:16:41 | null | UTF-8 | C++ | false | false | 2,344 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/rds/RDS_EXPORTS.h>
#include <aws/rds/model/CustomAvailabilityZone.h>
#include <aws/rds/model/ResponseMetadata.h>
#include <utility>
namespace Aws
{
template<typename RESULT... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
adcd9768d53513c3ec88e6254542a5b73c772a72 | 863de8a7226bad3433e64ad212cb5abd90794254 | /src/eve/server/Connection.hpp | 698849174a4d2cfa0b60131eb658e64ab6f1627e | [] | no_license | Sol1du2/Eve | 9b4ed93282593d8f8228bfa7564dfcb8d9ff9687 | 440a4d1ef418b7d7b04b5f5a72db86f439e181e3 | refs/heads/master | 2023-01-05T17:41:31.443438 | 2020-10-30T18:36:23 | 2020-10-30T18:36:23 | 308,386,238 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,698 | hpp | #ifndef EVE_SERVER_CONNECTION_HPP
#define EVE_SERVER_CONNECTION_HPP
#include <boost/asio.hpp>
#include <boost/signals2.hpp>
#include "../msg/Http_parser.hpp"
#include "../msg/Reply.hpp"
#include "../msg/Request.hpp"
namespace eve
{
namespace server
{
/// This class holds a connection to the server.
/// When the comm... | [
"jtrgouveia@gmail.com"
] | jtrgouveia@gmail.com |
5f3635f49d3531378096911d66128e86598ae259 | e25e02848b4e9374a2d55b95d4773709b94f52f2 | /omp_tests/atomic/sound/target_parallel.cpp | f3f3b6ab511f7b9641d2157533d0c50dce1a6f79 | [] | no_license | josemonsalve2/OmpVal | 06950f596048df525178929dabc6482044319862 | fcf0f70896b0548df33d8715968bfacba31c95ff | refs/heads/master | 2020-09-24T09:24:03.585369 | 2019-12-04T00:30:01 | 2019-12-04T00:30:01 | 225,727,692 | 0 | 0 | null | 2019-12-03T22:14:08 | 2019-12-03T22:14:08 | null | UTF-8 | C++ | false | false | 642 | cpp | #include <stdlib.h>
#include <numeric>
#include <math.h>
#include <cassert>
#include <iostream>
#include <cmath>
void test_target_parallel(){
// Declare Size of Loop
// Initialize array
int A = 0;
// Computation
#pragma omp target parallel map(tofrom: A)
... | [
"t.applencourt@anl.gov"
] | t.applencourt@anl.gov |
ba8911472f475cc4574cc369ac9e4003d2bcf855 | a15950e54e6775e6f7f7004bb90a5585405eade7 | /ui/accessibility/ax_enum_util.cc | 8c80b463557d35833ed170aeadeac86ca4f9fdb6 | [
"BSD-3-Clause"
] | permissive | whycoding126/chromium | 19f6b44d0ec3e4f1b5ef61cc083cae587de3df73 | 9191e417b00328d59a7060fa6bbef061a3fe4ce4 | refs/heads/master | 2023-02-26T22:57:28.582142 | 2018-04-09T11:12:57 | 2018-04-09T11:12:57 | 128,760,157 | 1 | 0 | null | 2018-04-09T11:17:03 | 2018-04-09T11:17:03 | null | UTF-8 | C++ | false | false | 85,873 | cc | // Copyright 2018 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 "ui/accessibility/ax_enum_util.h"
namespace ui {
const char* ToString(ax::mojom::Event event) {
switch (event) {
case ax::mojom::Event::k... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
0df98c79e3dad9ca28b0985d7d34eb6e10440a97 | 32d554b66d3da0dc0df09739422236523b0dde2e | /src/ShapeTanimoto.H | 8979b35a80fc8c9c9cc8faa75be980278a38ffa7 | [
"BSD-3-Clause"
] | permissive | OpenEye-Contrib/Triphic | b916643e784edb966c122cc384d4695722b09cb6 | 7db4bbe3ebff27e222a3f3aacbf625f2f137ec20 | refs/heads/master | 2021-01-22T11:41:55.855524 | 2016-02-22T16:36:19 | 2016-02-22T16:36:19 | 35,508,854 | 11 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,353 | h | //
// file ShapeTanimoto.H
// David Cosgrove
// AstraZeneca
// 15th September 2009
//
// Computes the approximate shape tanimoto coefficient for the 2 OEMolBases
// passed in. Uses 1st order intersections only, so not a reliable way
// of calculating volumes, but good enough for the tanimoto according to
// JAG. It's ... | [
"haigh@eyesopen.com"
] | haigh@eyesopen.com |
a8c51f2dfb549953b1c6d8204e6d2433375e775b | f679998d61e7f03c25e5cee32b14e4a3ee847510 | /commonhelper.h | 4a86f18ac6df1d777f311beec91468405c010b96 | [] | no_license | xian0gang/xiaodan | 4fe822577fe5bf4e076d0ad39bc52dd25ddf1f30 | 9cf177685a2fc19c96a9cd8436473db34419811b | refs/heads/master | 2020-04-17T07:30:36.904560 | 2020-01-02T10:57:56 | 2020-01-02T10:57:56 | 166,372,883 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 369 | h | #ifndef COMMONHELPER_H
#define COMMONHELPER_H
#include <QFile>
#include <QApplication>
class CommonHelper
{
public:
CommonHelper();
static void setStyle(const QString &style)
{
QFile qss(style);
qss.open(QFile::ReadOnly);
qApp->setStyleSheet(qss.readAll());
q... | [
"xian0gang@163.com"
] | xian0gang@163.com |
9b622f383e2b65dc005286e0afbc0fce92f8c58d | 473b54b77a402c261ee44fe3ea1878ea66d4a34a | /src/CSix.cpp | 68e00703603dbffde52a9531cccf171f1cc6ee76 | [] | no_license | baoleibai/CppExecises | 7c62a350f674f16e4059bfa2a55a7c3946f68ec6 | 4bfa7baf902106e9bdccd763c1a2a9a4d7bf0d52 | refs/heads/master | 2021-01-15T14:29:14.770754 | 2014-03-10T09:59:15 | 2014-03-10T09:59:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,077 | cpp | /*
* CSix.cpp
*
* Created on: Dec 25, 2013
* Author: b576
*/
#include "include/CSix.h"
CSix::CSix() {
}
CSix::~CSix() {
}
void CSix::show() {
program9();
program8();
program6();
program5();
program4();
program3();
program2();
program1();
exes();
readFromFileIO();
writeToFileIO();
practise();... | [
"b576@borqs.com"
] | b576@borqs.com |
2b42ec3d0e2ab4c45eaefab9aa84dbe56900dff2 | 1aef58c912885e0abbabe359f6d887ca4812e55c | /MovieClustering/DataInitialize.cpp | 3522da872aa8b8190e50aabaec3e1f3f2489fa14 | [] | no_license | Apoorvalakshmi/MovieClustering | cfe72ebc6f9c05d5b9502276d73b38a9d4e98643 | acf1a5a5548755e3d78beb4468e1dbf83596e847 | refs/heads/master | 2022-01-17T02:12:19.323920 | 2019-01-06T15:02:42 | 2019-01-06T15:02:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,134 | cpp | #include "DataInitialize.h"
#include <fstream>
#include <ctime>
#include "stdlib.h"
#include <iostream>
using namespace std;
Data::Data()
{
for (int i = 0; i < K; i++)
{
for (int j = 0; j < MOVIE_NUMBER;j++)
{
KCenters[i][j] = 0;
}
}
}
void Data::initKCenters()
{
ofstream ofile("Kcenter1.dat");
srand((in... | [
"narcissuscyn@gmail.com"
] | narcissuscyn@gmail.com |
ad237d495fe51ef4237bbb611fd6400be14beaf8 | b44e1008ccbd87f50df13e92cb40513372e10d73 | /Source/Database/PostgreSQL/Lock.cpp | 55fa7ea16eeceb24689aed8039d409c68d02d12f | [] | no_license | perryiv/haf | d76bc205604b14c407a9883a44b7e2ea89e1cf2d | 12e1df5fc67fcad3462f335072e025ef866f7c86 | refs/heads/master | 2020-04-06T07:44:05.044643 | 2018-12-04T20:06:02 | 2018-12-04T20:06:02 | 157,283,369 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,720 | cpp |
///////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2009, Perry L Miller IV
// All rights reserved.
// BSD License: http://www.opensource.org/licenses/bsd-license.html
//
///////////////////////////////////////////////////////////////////////////////
////////////////... | [
"miller@ciespace.com"
] | miller@ciespace.com |
8e5a4ed7c32325965aa6585f4ec6b3e3c84dc05a | e549363a6c9c445ddb8b13b8ee283d343a4d9e94 | /pruebaSFML/src/game/setup/screens.h | 70b71191162b380d3d493274204fe83010b57543 | [] | no_license | frankvega2010/SFML-Template | 4e1bd6283a611bdfc2a496960519a503601927d3 | db1da550c10292b2887083cc4fe56a6543e64d10 | refs/heads/master | 2020-04-06T09:52:20.088069 | 2018-11-16T15:53:47 | 2018-11-16T15:53:47 | 157,360,062 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 450 | h | #ifndef SCREENS_H
#define SCREENS_H
namespace Juego
{
class Screens
{
private:
bool _hasScreenFinished;
public:
Screens();
~Screens();
bool getHasScreenFinished();
void setHasScreenFinished(bool hasScreenFinished);
virtual void init() = 0;
virtual void input() = 0;
virtual void upda... | [
"franco_vega@msn.com"
] | franco_vega@msn.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.