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 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
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 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f9c06ff05f318e36a6607f91895e15cb71f92562 | a1a8b69b2a24fd86e4d260c8c5d4a039b7c06286 | /build/iOS/Preview/include/Uno.Time.DeviceTimeZone.h | b5446e1cc969a33f5772e97b09e8245e94ef73c3 | [] | no_license | epireve/hikr-tute | df0af11d1cfbdf6e874372b019d30ab0541c09b7 | 545501fba7044b4cc927baea2edec0674769e22c | refs/heads/master | 2021-09-02T13:54:05.359975 | 2018-01-03T01:21:31 | 2018-01-03T01:21:31 | 115,536,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,462 | h | // This file was generated based on /usr/local/share/uno/Packages/UnoCore/1.4.3/Source/Uno/Time/Timezones/DeviceTimeZone.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Time.DateTimeZone.h>
namespace g{namespace Uno{namespace Time{struct DeviceTimeZone;}}}
namespace g{... | [
"i@firdaus.my"
] | i@firdaus.my |
e157e610553414c3b6f3556d420d8ad680fcc4df | 95c7d2fc604d1b9b5860c7bfa5f4b02d3d60dcb2 | /Dissertation/SignificantHeight_AppCode.cpp | ce575ab9ce140df6276d47d93c0b5e1c55d807e3 | [] | no_license | Mikhail42/disser_work | f6bb5ade85ca55fe4be656e105c69a220e12d750 | d481afebfd86ccf748b5aef5f2ae58b84ab98ced | refs/heads/master | 2020-05-30T12:18:39.728247 | 2013-08-20T20:21:39 | 2013-08-20T20:21:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,773 | cpp | //============================================================================
// Name : SignificantHeight.cpp
// Author : Konstantin Kuznetsov
// Version :
// Copyright :
// Description : Anomalous waves, Ansi-style
//============================================================================
#inc... | [
"kost.kuznetsov@gmail.com"
] | kost.kuznetsov@gmail.com |
42dd9d127d70c942c5b0bcb1a7694b29b13147e0 | 6aeccfb60568a360d2d143e0271f0def40747d73 | /sandbox/la/libs/la/test/swizzle4_fail4.cpp | d0a974f1f379db33485ea939cc7818d533ead425 | [] | no_license | ttyang/sandbox | 1066b324a13813cb1113beca75cdaf518e952276 | e1d6fde18ced644bb63e231829b2fe0664e51fac | refs/heads/trunk | 2021-01-19T17:17:47.452557 | 2013-06-07T14:19:55 | 2013-06-07T14:19:55 | 13,488,698 | 1 | 3 | null | 2023-03-20T11:52:19 | 2013-10-11T03:08:51 | C++ | UTF-8 | C++ | false | false | 662 | cpp | //Copyright (c) 2008-2009 Emil Dotchevski and Reverge Studios, Inc.
//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)
#include <boost/la/sw.hpp>
#include <boost/la/custom/swizzle_4.hpp>
template <int D> struct vec { ... | [
"emil@revergestudios.com"
] | emil@revergestudios.com |
0db6e97cc9341c975fd73fc028b332bd63221bf4 | 7a2d06a51583b6766c79e0048bacb549891a4afd | /prova/prova.cpp | 7cc11df5b4520cc7fdb0a1256ef8139bbd2bf846 | [] | no_license | evancason/Prova-1 | a2c3cbf77e5d2cbd0b6bf750d47cd18d6c1f20ee | 83ffe920bfb22060fc7de02fe25124412547ec53 | refs/heads/master | 2023-01-12T18:40:52.901113 | 2020-11-12T13:19:00 | 2020-11-12T13:19:00 | 304,327,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 74 | cpp | #include<iostream>
using namespace std;
int main(){
cout<< "prova";
} | [
"evan.cason@studenti.unitn.it"
] | evan.cason@studenti.unitn.it |
3e5bae94db45e29289716c04de8628c9bfe8c48b | dd6fee79066e2dfa74371bd82c87a563dc0c47fd | /OJ/CDOJ/D - Jumping Hero.cpp | c5b5e2036491c1f1a7e5385a56359016395f0be1 | [] | no_license | mzry1992/workspace | 404c31df66a3b15a60dc0f07fff397bf50bcc1dc | 9a181419f0d7224e37baa729feaf3bb656544420 | refs/heads/master | 2021-01-19T12:39:17.854501 | 2012-12-24T11:13:22 | 2012-12-24T11:13:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,003 | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <deque>
using namespace std;
const int step[4][2] = {{-1,0},{1,0},{0,-1},{0,1}};
int n,m;
int map[500][500];
int sx,sy,tx,ty;
struct bfsnode
{
int x,y;
int step;
int m,n;
int jx,jy;
}now,updata;
deque<bfsnode> Q;
bool v... | [
"muziriyun@gmail.com"
] | muziriyun@gmail.com |
fa9dd8660713280d612cf42cd7191e37d7b891c7 | b2d9ae1a439a43bb53b06b798618a3cebd371c83 | /original/RPG volumes/RPG vol. 5/rpg.cpp | 0c7eeb067e6c88ebba0b75be64eafdc416834dbd | [] | no_license | kingnobody8/fs.thelastunicorn | 60484f3d74130b70986bd96d4941076def6289f8 | 9959d3a037397f84478e0b273594332e35ee803e | refs/heads/master | 2021-01-20T20:52:40.318756 | 2018-11-24T19:05:14 | 2018-11-24T19:05:14 | 60,742,515 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 198,615 | cpp | //The headers
#include "SDL/SDL.h"
#include "SDL/SDL_image.h"
#include "SDL/SDL_ttf.h"
#include "SDL/SDL_mixer.h"
#include <string>
#include <sstream>
//Screen attributes
const int SCREEN_WIDTH = 640;
const int SCREEN_HEIGHT = 480;
const int SCREEN_BPP = 32;
//the frame rate
int FRAMES_PER_SECOND = 30;
//what is th... | [
"danielth101@gmail.com"
] | danielth101@gmail.com |
f6e25cdf751b96397fc6321a203655031a90a397 | 33dd9dff76072ea1b4014c618c8ad365ac477e07 | /五子棋/Wu.h | a1f7aa26a9285790c9751975aeadf3fc76ab6b72 | [] | no_license | gaoshaozhen/workspace | 8d04d690568ffbe01f6d3025c0deebf41d2a6991 | 313a84d78ee25a517c9e2fa8b0285b5a4a99709e | refs/heads/master | 2020-07-14T01:22:26.326546 | 2017-05-20T11:49:43 | 2017-05-20T11:49:43 | 66,636,679 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,205 | h | #include<iostream>
using namespace std;
class A
{
public:
void fun();
void Ren();
void jushi();
void computer(int a[15][15]);
int panduan(int x,int y,int sum);
private:
int c,d;
int luozi[15][15],com[15][15];
const char outstr[11][4]={"©°","©Ð","©´","©À","©à","©È","©¸","©Ø","©¼","¡ð","¡ñ"};
int a[1... | [
"2456071896@qq.com"
] | 2456071896@qq.com |
0390c516a45bfe69bca073b8682cbcf16e17b22c | 0af0afeec875bc69cd9113080c15402fa4f29812 | /Arduino/Libraries/ros_lib/marti_nav_msgs/TeleopState.h | 7633e18fa2be593cda6a73bff0516dfd73883e76 | [] | no_license | TerradynamicsLab/terrain_treadmill | b44a62a5bf4f87744d97cc4c3b1254f87aa925e8 | 71e23bb274cc429f1a46cb2bd267d4082a51a5d0 | refs/heads/master | 2023-04-09T19:24:04.484695 | 2021-12-17T18:02:44 | 2021-12-17T18:02:44 | 398,670,744 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,746 | h | #ifndef _ROS_marti_nav_msgs_TeleopState_h
#define _ROS_marti_nav_msgs_TeleopState_h
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "ros/msg.h"
#include "std_msgs/Header.h"
namespace marti_nav_msgs
{
class TeleopState : public ros::Msg
{
public:
std_msgs::Header header;
uint8... | [
"ratan.othayoth@gmail.com"
] | ratan.othayoth@gmail.com |
6c2d84c43d89f5cbb3a3a3418a60301c2290290c | 3cf9e141cc8fee9d490224741297d3eca3f5feff | /C++ Benchmark Programs/Benchmark Files 1/classtester/autogen-sources/source-16194.cpp | c13c0245e7fc7f5d80764cfc3ec09f3685647e24 | [] | no_license | TeamVault/tauCFI | e0ac60b8106fc1bb9874adc515fc01672b775123 | e677d8cc7acd0b1dd0ac0212ff8362fcd4178c10 | refs/heads/master | 2023-05-30T20:57:13.450360 | 2021-06-14T09:10:24 | 2021-06-14T09:10:24 | 154,563,655 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,080 | cpp | struct c0;
void __attribute__ ((noinline)) tester0(c0* p);
struct c0
{
bool active0;
c0() : active0(true) {}
virtual ~c0()
{
tester0(this);
active0 = false;
}
virtual void f0(){}
};
void __attribute__ ((noinline)) tester0(c0* p)
{
p->f0();
}
struct c1;
void __attribute__ ((noinline)) tester1(c1* p);
struct c1 : virtual... | [
"ga72foq@mytum.de"
] | ga72foq@mytum.de |
39de637f5ec07880e55bd9341055544f742d2374 | 5555bc68f5b54d9cb9a9ab0558b0b1e80fb5421a | /src/miner/simpleminer_protocol_defs.h | 77a2980f5cc5e98681735d1575f05cbb4054f799 | [
"MIT"
] | permissive | monero-classic-project/monero-classic | f039006b8e79299417e25d04fddcd24d366c67dc | a88ce4e38055aa43749f1f2ab066a8ce99c75534 | refs/heads/master | 2021-05-01T12:05:35.046668 | 2018-02-10T22:12:51 | 2018-02-10T22:12:51 | 121,058,016 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 3,518 | h | // Copyright (c) 2018, The Monero Classic Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are
// permitted provided that the following conditions are met:
//
// 1. Redistribution... | [
"xmrc-dev@protonmail.com"
] | xmrc-dev@protonmail.com |
8941dd4bc5c44ecea99d09758ac4f1ab23a291c6 | b5ca0a2ce47fdb4306bbdffcb995eb7e6eac1b23 | /30DaysofCode/Day 5 Loops/CPP/Day5.cpp | 095d065564d94c5dc2f3446e507f0b9e8c9be04b | [] | no_license | rsoemardja/HackerRank | ac257a66c3649534197b223b8ab55011d84fb9e1 | 97d28d648a85a16fbe6a5d6ae72ff6503a063ffc | refs/heads/master | 2022-04-14T22:46:03.412359 | 2020-04-03T07:44:04 | 2020-04-03T07:44:04 | 217,687,370 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 577 | cpp | #include <map>
#include <set>
#include <list>
#include <cmath>
#include <ctime>
#include <deque>
#include <queue>
#include <stack>
#include <string>
#include <bitset>
#include <cstdio>
#include <limits>
#include <vector>
#include <climits>
#include <cstring>
#include <cstdlib>
#include <fstream>
#include <numeric>
#inc... | [
"rsoemardja@gmail.com"
] | rsoemardja@gmail.com |
339a69a11c75ee48df5c8def6e615c9e46ae3e00 | 7bc7bb2d06c77eb10669310775e30b64e15ba9a6 | /Common/Math/algebraic_geometry.h | a8f28416ccee633259a93097e273d9dbb0142a5d | [] | no_license | WYAN86/APA_QT_Assistant | b0686f33e22621e389f1c6deb7bfebff5c6b86a1 | 84b35221816722a3680786fa2965f94c1e72ff12 | refs/heads/master | 2023-01-15T23:20:23.416763 | 2020-11-24T06:27:16 | 2020-11-24T06:27:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,078 | h | /*****************************************************************************/
/* FILE NAME: algebraic_geometry.h COPYRIGHT (c) Motovis 2019 */
/* All Rights Reserved */
/* DESCRIPTION: the algebraic geometry aclculate method */
/*******... | [
"zgh_email@163.com"
] | zgh_email@163.com |
e6e93c21e7f51ff1138e70e35ab9a254be2870f6 | 803c6439a86c56dc1cd1d219974bd2bef4b02d0a | /08SignedDivMul/Main.cpp | d9951c439b18c6edb7087f08eba65533eec17f77 | [] | no_license | BennyFranco/assemblycourse | fc715b05efd3e4470c3d02b975e5dff397659236 | 69c17b8e4ef1431122d752222dcc9155777ca26b | refs/heads/master | 2020-04-24T06:17:02.825418 | 2019-08-06T00:57:24 | 2019-08-06T00:57:24 | 171,759,868 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 283 | cpp | #include <iostream>
extern "C" int IntegerMulDiv(int a, int b, int* prod, int* quo, int* rem);
int main()
{
int a = 21, b = 9;
int prod = 0, quo = 0, rem = 0;
int rv = IntegerMulDiv(a, b, &prod, &quo, &rem);
std::cout << "rv: " << rv << std::endl;
return 0;
} | [
"bennyfranco@icloud.com"
] | bennyfranco@icloud.com |
64ba039cebf82a27ff86b24f232c1d7c4d5e943d | 51635684d03e47ebad12b8872ff469b83f36aa52 | /external/gcc-12.1.0/libstdc++-v3/testsuite/22_locale/time_get/get_date/wchar_t/26701.cc | 562be765236ae1a9226606e69ebfeef6e1780a5e | [
"LGPL-2.1-only",
"GPL-3.0-only",
"GCC-exception-3.1",
"GPL-2.0-only",
"LGPL-3.0-only",
"LGPL-2.0-or-later",
"Zlib",
"LicenseRef-scancode-public-domain"
] | permissive | zhmu/ananas | 8fb48ddfe3582f85ff39184fc7a3c58725fe731a | 30850c1639f03bccbfb2f2b03361792cc8fae52e | refs/heads/master | 2022-06-25T10:44:46.256604 | 2022-06-12T17:04:40 | 2022-06-12T17:04:40 | 30,108,381 | 59 | 8 | Zlib | 2021-09-26T17:30:30 | 2015-01-31T09:44:33 | C | UTF-8 | C++ | false | false | 1,747 | cc | // { dg-require-namedlocale "en_GB.ISO8859-1" }
// 2010-01-06 Paolo Carlini <paolo.carlini@oracle.com>
// Copyright (C) 2010-2022 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the G... | [
"rink@rink.nu"
] | rink@rink.nu |
f668d3cdab38272bc03924a7eed0e753490728d2 | 71b7c008356b48483bdd5536f29be5c258143123 | /src/ten.cpp | 5e9ae8ec2b5ca19ec39ac8caaec51a539e40493b | [
"MIT"
] | permissive | mirkomorati/hello_ROS | ecbe933f61196330da88ba63d2509cc9cbe2c1d4 | 1d5f00d5ffc5a5e229229e579e6fb7c22d355dd5 | refs/heads/master | 2020-03-09T20:40:57.826023 | 2018-04-10T21:29:44 | 2018-04-10T21:29:44 | 128,991,035 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,066 | cpp | /*
* Copyright (C) 2008, Morgan Quigley and Willow Garage, Inc.
*
* 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 condi... | [
"mirkomorati@gmail.com"
] | mirkomorati@gmail.com |
54db88024ac503ab113a767f14cccab94635af71 | 7dcbe5e26c611d3587d6b15dffa65cbe18fc513a | /main/include/eudaq/EventSynchronisationBase.hh | f4df4ebe91e60955114bf6a840408dd578b903eb | [] | no_license | RPeschke/eudaq | 383e8de0406be9e54421b94a4456324687cfd11e | d16c707a5dc9b6fc8f8206173384a1bcc3f83b42 | refs/heads/master | 2021-01-16T23:22:20.658501 | 2014-03-17T17:02:19 | 2014-03-17T17:02:19 | 14,400,924 | 0 | 0 | null | 2017-02-15T11:19:10 | 2013-11-14T16:42:09 | C++ | UTF-8 | C++ | false | false | 3,025 | hh | #ifndef EventSynchronisationBase_h__
#define EventSynchronisationBase_h__
#include "eudaq/DetectorEvent.hh"
#include "eudaq/FileSerializer.hh"
#include <memory>
#include <queue>
// base class for all Synchronization Plugins
// it is desired to be as modular es possible with this approach.
// first step is to separate... | [
"Richard.Peschke@desy.de"
] | Richard.Peschke@desy.de |
02c90c66a3aa95bdaf701043068c35e02b9c40de | d2d6aae454fd2042c39127e65fce4362aba67d97 | /build/Android/Release/EventApp/app/src/main/include/_root.EventApp_FuseElementsElement_Alignment_Property.h | 61cffe5eb56417ad196c656d2c9552f194f942f7 | [] | no_license | Medbeji/Eventy | de88386ff9826b411b243d7719b22ff5493f18f5 | 521261bca5b00ba879e14a2992e6980b225c50d4 | refs/heads/master | 2021-01-23T00:34:16.273411 | 2017-09-24T21:16:34 | 2017-09-24T21:16:34 | 92,812,809 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,001 | h | // This file was generated based on '.uno/ux11/EventApp.unoproj.g.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Elements.Alignment.h>
#include <Uno.UX.Property-1.h>
namespace g{namespace Fuse{namespace Elements{struct Element;}}}
namespace g{namespace Uno{namespace... | [
"medbeji@MacBook-Pro-de-MedBeji.local"
] | medbeji@MacBook-Pro-de-MedBeji.local |
3bb0068d911ac0e8a8d98128252f3a51e14bfb9e | 1aa9e37e693d797bd72d29e29863fdc4c6667d01 | /src/content/shell/test_runner/test_plugin.cc | 905a92c91c1c1e242c70f9b3a50de66a551a41c9 | [
"Apache-2.0"
] | permissive | jgj212/osv-free | d22a6b27c7bee399873d8d53db711a5ab0d831a5 | b81fee48bc8898fdc641a2e3c227957ed7e6445e | refs/heads/master | 2020-03-25T08:43:08.483119 | 2018-02-28T14:19:13 | 2018-02-28T14:19:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,413 | cc | // Copyright 2013 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 "content/shell/test_runner/test_plugin.h"
#include <stddef.h>
#include <stdint.h>
#include <utility>
#include "base/bind.h"
#include "base/log... | [
"ygl@tamu.edu"
] | ygl@tamu.edu |
bdb0de35f924789ced10ef8a3f497ae726ce5d49 | 487fd495fec491acb04453255c870808d037f889 | /src/blob_uint256.h | ea39f721452d196be20b2299726dd0a47efcf509 | [
"MIT"
] | permissive | TechDude2u/GSAcoin | 58b94eba767f6e17c8a88bcf0ee3b4cea719657a | c0a64da39501a52f25e709368a869d743f77221d | refs/heads/main | 2023-08-08T04:03:42.198250 | 2021-09-21T16:27:42 | 2021-09-21T16:27:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,109 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2018 The PIVX developers
// Copyright (c) 2021 The GLOBALSMARTASSET Core Developers
// Distributed under the MIT software license, see the accompanying
// fi... | [
"gsasset24@gmail.com"
] | gsasset24@gmail.com |
37efe374fe7ea5e2b0ba6b0a2ff0c6f55a31dba5 | ac7c2e64fa66ec7aecc9cf810cb2bf013fd412c0 | /Baruch_C++/Level_5/Section_3_5/Ex_3_5_3/Shape.hpp | 0cc41c14f69c0a04887578ea4befbc81ca698d14 | [] | no_license | mistletoe999/cpp-samples | e7219fcf7dbfe5ddc81cb527f08cd9d55149774a | 7b5cb634c70d3de476c0d43e15f7a045458dc925 | refs/heads/master | 2020-12-25T15:40:30.402680 | 2015-06-23T04:32:50 | 2015-06-23T04:32:50 | 40,014,976 | 0 | 1 | null | 2015-07-31T16:43:13 | 2015-07-31T16:43:10 | C++ | UTF-8 | C++ | false | false | 923 | hpp | // Shape.hpp: Contains the definition for Shape class
// Shape class is the Base class for Point, Line and Circle classes
// EDIT: Destructor changed to virtual function
#ifndef SHAPE_HPP_
#define SHAPE_HPP_
#include <iostream>
#include <string>
#include <sstream>
#include <stdlib.h>
using namespace std;
... | [
"kapil12@outlook.com"
] | kapil12@outlook.com |
f19be2c8a5f0fd076d477e90babf5db3f80e12e8 | 2f659427568d868d4325ee4204f6cabaac3cf8be | /PVSupport/Sources/PVSupport/Audio/CARingBuffer/CARingBuffer.cpp | 8758cabeb91d77b7dcc7f16bc71e5de3a6d99ae5 | [
"BSD-2-Clause"
] | permissive | thalter/Provenance | 5e45d0c73fd9a7c2f506372b4d7686b0fe212493 | edee9ab6167c292ea1aa305364e4d67605fa3593 | refs/heads/develop | 2022-11-06T23:20:38.478801 | 2022-11-05T14:11:04 | 2022-11-05T14:11:04 | 230,656,209 | 0 | 0 | NOASSERTION | 2019-12-29T17:54:04 | 2019-12-28T19:34:27 | null | UTF-8 | C++ | false | false | 11,129 | cpp | /*
File: CARingBuffer.cpp
Abstract: CARingBuffer.h
Version: 1.1
Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
Inc. ("Apple") in consideration of your agreement to the following
terms, and your use, installation, modification or redistribution of
this Apple software constitutes ac... | [
"mail@joemattiello.com"
] | mail@joemattiello.com |
30386e160dce930ffc88e5d2effa92aae0d4d1ab | c16ef13fdf3764ffa6f90f97e6301c5a1ed3659a | /src/compiler/lib/YaskKernel.cpp | 52d1ca2a549bc202fc514d5645b1c364035f5592 | [
"MIT"
] | permissive | zohourih/yask | 1bbc3328bdf4b619f0abd9d0d6554f1ddfcf5b2a | a06a7afde47fc86450c126f2d74d06a1a9d625da | refs/heads/master | 2021-05-09T18:01:32.542462 | 2018-01-30T13:43:50 | 2018-01-30T13:43:50 | 119,152,561 | 0 | 0 | null | 2018-01-27T09:58:17 | 2018-01-27T09:58:17 | null | UTF-8 | C++ | false | false | 29,989 | cpp | /*****************************************************************************
YASK: Yet Another Stencil Kernel
Copyright (c) 2014-2018, Intel Corporation
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the S... | [
"chuck.yount@intel.com"
] | chuck.yount@intel.com |
3ae2c4bdd0d24571ff92a230f64aeffae033a6ea | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /chrome/browser/ash/printing/usb_printer_util_unittest.cc | 3095e9bb003023629f30a20a19a7f503e406d300 | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 2,317 | cc | // Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ash/printing/usb_printer_util.h"
#include "services/device/public/mojom/usb_device.mojom.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "t... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
ae80a134b3b7001db7672f38da76bbb293cd5c27 | baf801be3841c8ee9e8f2af0845ac214fbdc3104 | /228-summaryRanges.cpp | 8e8bfcf00794fa6844abcc92f60a8304ef35f681 | [] | no_license | lizuoyue/LeetCode | c81cfb5e1890bca1e82c26bfd1c43f0b7674380f | 2dcaba5b0718508f18c6aa260498cbfe18d17467 | refs/heads/master | 2021-01-22T22:35:15.663141 | 2018-11-06T15:13:41 | 2018-11-06T15:13:41 | 85,556,902 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 632 | cpp | class Solution {
public:
vector<string> summaryRanges(vector<int> &num) {
string s;
vector<string> result;
int l = 0, r = 0;
for (int i = 0; i < num.size(); ++i) {
if ((r + 1) < num.size()) {
if ((num[r + 1] - num[r]) == 1) {
++r;
} else {
if (l == r) {
s = to_string(num[l]);
} ... | [
"li.zuoyue@foxmail.com"
] | li.zuoyue@foxmail.com |
379baefd9fe04779aa7b9f0f512b6bc591119a59 | 0757a28db8864314bf597aa13ff6af548ac310a5 | /lmyunit/compile_bench/MFinanceNumBaseData_char____de_MFinanceNumBaseData_3/test.cpp | 0c9ec37946f6136923cc03516f209fbc618ce1f9 | [] | no_license | greshem/lmyunit | 25a3f6fc7b7d04d8b3e5bdab5406003d68fd4ca6 | a5036c67b36e4e58472bd91fbfdd7d1c29018687 | refs/heads/master | 2021-07-11T01:01:45.599991 | 2017-10-08T12:36:30 | 2017-10-08T12:36:30 | 106,174,697 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 426 | cpp | #include <lmyunit/unitlib.h>
class MFinanceNumBaseData_char__SubClass: public MFinanceNumBaseData<char>
{
public:
MFinanceNumBaseData_char__SubClass():MFinanceNumBaseData<char>(){}
};//MFinanceNumBaseData_char__SubClass
int main(int argc, char *argv[])
{
MFinanceNumBaseData_char__SubClass *financenumbasedata ... | [
"qianzhongjie@gmail.com"
] | qianzhongjie@gmail.com |
7dc9782f0ee8720fc897f2ad2410f2f621420e17 | 8977511cbdf127e3773db9ce7e91ee6b29fd052e | /src/sst/core/paramsInfo.h | 359aedc2fc8e1d4fcaa9042b4a3b6b8b262afd31 | [
"BSD-3-Clause"
] | permissive | AlecGrover/sst-core | 823cdfe0433de79ec7c99e72e9141983699b90b3 | 3d5607f75f8912107246af8c38bc70c85e67915e | refs/heads/master | 2020-04-30T06:15:02.252739 | 2019-03-09T14:48:10 | 2019-03-09T14:48:10 | 176,646,664 | 0 | 0 | NOASSERTION | 2019-03-20T03:36:13 | 2019-03-20T03:36:12 | null | UTF-8 | C++ | false | false | 2,263 | h | #ifndef SST_CORE_PARAMS_INFO_H
#define SST_CORE_PARAMS_INFO_H
#include <vector>
#include <string>
#include <sst/core/params.h>
#include <sst/core/elibase.h>
#include <sst/core/oldELI.h>
namespace SST {
namespace ELI {
template <class T, class Enable=void>
struct GetParams {
static const std::vector<SST::ElementInf... | [
"jjwilke@sandia.gov"
] | jjwilke@sandia.gov |
5cbfc9aa50d8bcb4fd4a233ee7c16620212e6206 | 7d493004e366ffb85cb10d80c317761f759f7cd2 | /DM2231_Base_Framework/App/Source/Scene3D/AmmoPickup.cpp | 399e5343d98b18c74361aa9618fda227339fbb5a | [] | no_license | Strigon009/SP3 | 6ad0205df86bb88f457c5e47a6a435211c9ba0d2 | 2dbae6d52bdf9d4f3dcf8f171d917dbfea108a97 | refs/heads/master | 2022-12-04T06:06:46.189635 | 2020-08-26T09:03:29 | 2020-08-26T09:03:29 | 287,884,271 | 0 | 1 | null | 2020-08-19T02:54:52 | 2020-08-16T06:03:37 | C++ | UTF-8 | C++ | false | false | 6,576 | cpp | /**
CAmmoPickup
By: Toh Da Jun
Date: Apr 2020
*/
#include "AmmoPickup.h"
#include "System/LoadOBJ.h"
#include <iostream>
using namespace std;
/**
@brief Default Constructor
*/
CAmmoPickup::CAmmoPickup(void)
: cGroundMap(NULL)
, cPlayer3D(NULL)
, iAddAmmo(30)
{
// Set the default position to the origin
vec3P... | [
"42129076+Strigon009@users.noreply.github.com"
] | 42129076+Strigon009@users.noreply.github.com |
dd91772e559bbe16d51bb0c3949e753e1c4acd46 | dba6bd79d088be92e21795d7fc97f9da01c2cc6c | /io.cpp | 935d09461db846992c7aee917045d7b0e0220567 | [
"MIT"
] | permissive | MahirSez/CSE-Fest-AI-Contest-2019 | 4c4ccc63eed5144a609030a0f471d6d2fa2feb52 | 439de04f0015934b1537b856b3a167bb06e8c871 | refs/heads/master | 2020-04-19T22:11:12.589555 | 2019-01-31T05:57:56 | 2019-01-31T05:57:56 | 168,462,477 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 834 | cpp | #include<bits/stdc++.h>
using namespace std;
const int DIM = 8;
string s[DIM][DIM];
char me;
bool readFile()
{
ifstream in;
in.open("shared_file.txt");
char now;
in >> now;
if (now!=me) return false;
for (int i = 0; i < DIM; i++) {
for (int j = 0; j < DIM; j++) {... | [
"mahirsezan@hmail.com"
] | mahirsezan@hmail.com |
3d93a091acefb2c5a01aa7237d4928190c3b1cd4 | 9efc64802f275b85372b4c9db2c9569a1978808b | /PT07Z.cpp | 483bf0123f581d1e8b20233a0c5a954810e26039 | [] | no_license | trailblazerakash/SPOJ | 58e56f2ceb631897f056fd7e3484684bd5600507 | 9a8d463c9e4e89a04454abf34ff7338221aea210 | refs/heads/master | 2020-12-26T04:05:04.058746 | 2015-10-22T11:59:04 | 2015-10-22T11:59:04 | 44,742,234 | 0 | 0 | null | 2015-10-22T11:56:17 | 2015-10-22T11:56:15 | C++ | UTF-8 | C++ | false | false | 2,262 | cpp | // AC , ALGO : Graph Theory : BFS on an unweighted, undirected tree.
/* Idea :
1. Run a bfs from root S ( assumed node 1 ) to find the farthest node u. Now new S = u.
2. Again run a bfs from the farthest node u and find a new farthest node v.
3. The path from the node u and v is the longest path in this tree.
*/... | [
"osinha6792@gmail.com"
] | osinha6792@gmail.com |
fac616f5aa63814b25452c179185ff0a87c9568c | f7890dc82e706d3a122c7224a0adab15682eb0c5 | /src/devices/rtc/ds3231.h | c1cc15c31b9480650ee5aa506477c613347dced8 | [] | no_license | Elemeants/MonitoringStations | 0f6a6116d71d05523cc635b5575066f5eb664e61 | 4c55e8fc58140e4d2c5bbb2ccc020e5e89b378ee | refs/heads/master | 2023-02-19T21:04:32.805482 | 2021-01-13T17:12:30 | 2021-01-13T17:12:30 | 316,584,090 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,698 | h | /*
DS3231.h - Header file for the DS3231 Real-Time Clock
Version: 1.0.1
(c) 2014 Korneliusz Jarzebski
www.jarzebski.pl
This program is free software: you can redistribute it and/or modify
it under the terms of the version 3 GNU General Public License as
published by the Free Software Foundation.
This program is distrib... | [
"jpolanco@getinsoft.com"
] | jpolanco@getinsoft.com |
08dbf8ad2ee610d5f87706aa0ab813164ef87768 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_repos_function_2631_httpd-2.2.6.cpp | 98f49c8578b3eb27126d3f7ca1383ed9e1bc5940 | [] | 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 | 611 | cpp | static int dbd_sqlite_query(apr_dbd_t * sql, int *nrows, const char *query)
{
char **result;
int ret;
int tuples = 0;
int fields = 0;
if (sql->trans && sql->trans->errnum) {
return sql->trans->errnum;
}
FREE_ERROR_MSG(sql);
ret =
sqlite_get_table(sql->conn, query, &res... | [
"993273596@qq.com"
] | 993273596@qq.com |
a711f217f3694e8b8e4078f020fbd86714791cf6 | 41cf1be8e489ca8648244712356073bc588057de | /src/Engine/input/KeyBoard.h | cd26c987401f00aca242b24c57b16565def9fef4 | [
"BSD-3-Clause"
] | permissive | madlas/tprPix | f73cafb0758459644517ca575aed4abf6bdd07db | f8aea6f7d63dae77b8d83ba771701e3561278dc4 | refs/heads/master | 2021-06-03T00:38:49.712177 | 2020-04-07T05:54:16 | 2020-04-07T05:54:16 | 254,328,505 | 3 | 0 | BSD-3-Clause | 2020-04-09T09:32:00 | 2020-04-09T09:32:00 | null | UTF-8 | C++ | false | false | 12,421 | h | /*
* ========================= KeyBoard.h ==========================
* -- tpr --
* CREATE -- 2019.02.13
* MODIFY --
* ----------------------------------------------------------
*/
#ifndef TPR_KEYBOARD_H
#define... | [
"turesnake@163.com"
] | turesnake@163.com |
34b5f1975207e3714b279204f7d669308b586a09 | f49ed7d7f69af6c85fb9839b701b082593549807 | /src/engine/DrawBase.cxx | 697eeb779a99a65b7eacb4f61464f6a36ae069f4 | [
"BSD-3-Clause"
] | permissive | rita0222/FK | 8b5f560e2c1c6eae41ce02074b4ef33570304bcd | bc5786a5da0dd732e2f411c1a953b331323ee432 | refs/heads/master | 2022-08-01T05:56:20.779450 | 2020-05-20T09:13:27 | 2020-05-20T09:13:27 | 264,065,279 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,793 | cxx | #define FK_DEF_SIZETYPE
#include <FK/DrawBase.H>
#include <FK/Matrix.h>
#include <FK/Model.h>
#include <FK/Light.h>
#include <FK/ShaderBinder.h>
using namespace std;
using namespace FK;
const string fk_DrawBase::projectionMatrixName = "fk_ProjectionMatrix";
const string fk_DrawBase::viewMatrixName = "fk_ViewMatrix";... | [
"earth@gamescience.jp"
] | earth@gamescience.jp |
21c4e844c5a776f2ce655c8ac62a245997020936 | 92ada3eabb986350da3f4919a1d75c71a170854d | /autoupdate/common/3rd/boost/mpl/aux_/na.hpp | 63c77b94d4861675342c8be46303d884ccebf86b | [] | no_license | jjzhang166/autoupdate | 126e52be7d610fe121b615c0998af69dcbe70104 | 7a54996619f03b0febd762c007d5de0c85045a31 | refs/heads/master | 2021-05-05T20:09:44.330623 | 2015-08-27T08:57:52 | 2015-08-27T08:57:52 | 103,895,533 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,717 | hpp |
#ifndef BOOST_MPL_AUX_NA_HPP_INCLUDED
#define BOOST_MPL_AUX_NA_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2001-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 f... | [
"269221745@qq.com"
] | 269221745@qq.com |
916007e8955233c0e8cef4eb3c1c38afce51f9d0 | 5e8d200078e64b97e3bbd1e61f83cb5bae99ab6e | /main/source/src/core/pack/task/operation/ReplicateTask.fwd.hh | 50a80ec2c81baf9c85d9798f07854396900e923d | [] | no_license | MedicaicloudLink/Rosetta | 3ee2d79d48b31bd8ca898036ad32fe910c9a7a28 | 01affdf77abb773ed375b83cdbbf58439edd8719 | refs/heads/master | 2020-12-07T17:52:01.350906 | 2020-01-10T08:24:09 | 2020-01-10T08:24:09 | 232,757,729 | 2 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 1,692 | hh | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"36790013+MedicaicloudLink@users.noreply.github.com"
] | 36790013+MedicaicloudLink@users.noreply.github.com |
5bebf0e615fcf465228aaed2606e66921d4a214c | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5738606668808192_0/C++/vovanhuy22000/C.cpp | 9e2f2401827aa410f6b55ee4051bdff1773b3abc | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,200 | cpp | #include <iostream>
#include <set>
#include <time.h>
#include <stdio.h>
#include <fstream>
using namespace std;
void factor(int a[], int base, int num, int n){
for(int i = n - 1; i >= 0; i--){
a[i] = num % base;
num = num/base;
}
}
template<typename T>
void display(T a[], int n){
for(int ... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
9218a02378fff481dbd83ab92bc013e58e42adc0 | 68c93600af0c0a01ea9ad96078bad8091182a831 | /inc/scanner.h | 72f142844afde197cae402f11dd747c3e198ea4b | [] | no_license | XenosXavier/EzProlog | 01ced076f71f723740e05743b036fb062324b878 | a01bab464bbbdca205202854b006536bbfeb0bb8 | refs/heads/master | 2021-05-11T00:49:17.248835 | 2018-02-28T13:11:08 | 2018-02-28T13:11:08 | 118,312,397 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,509 | h | #ifndef SCANNER_H
#define SCANNER_H
#include "prologUtils.h"
#include <string>
#include <utility>
#include <gtest/gtest_prod.h>
using std::pair;
using std::string;
/**
* The ez-prolog scanner.
* Extract a simple object token each time
* in nextToken. Provide client to peek the
* current, next characte... | [
"Xenos@WD1TGWin10.localdomain"
] | Xenos@WD1TGWin10.localdomain |
e36494edd0c58fff9c0b8275a8c56ecb3cb5c4ac | 57555961cfce23a79c24607abb43d78f5fae295d | /tests/use_after_realloc.cpp | 0536f6e9848c47bb16992f899e37b979f89026e0 | [
"MIT"
] | permissive | mstniy/safepm | ead568cb478cda3c4a95f779680398a84c1e5ab2 | 7d2bdea8a7572ba56cbea3068b2f8f828fd05cd2 | refs/heads/master | 2023-04-11T06:23:55.184652 | 2022-02-09T22:28:34 | 2022-02-09T22:28:34 | 359,398,472 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,191 | cpp | #include <libpmemobj.h>
#include <iostream>
#include <assert.h>
#include <unistd.h>
#include "common.h"
POBJ_LAYOUT_BEGIN(spmo_test);
POBJ_LAYOUT_TOID(spmo_test, struct dummy);
POBJ_LAYOUT_END(spmo_test);
struct dummy {
uint64_t x[2];
};
int main()
{
unlink("spmo_test.pool");
PMEMobjpool* pool = pmemobj_create("s... | [
"kartalkaanbozdogan@gmail.com"
] | kartalkaanbozdogan@gmail.com |
2e33a091ddd92b49f6dccb0ab1878dcd5e10caa1 | 19722c52c50fea2a09527df4eb0a535681dd3c52 | /common.cpp | 64d3165fd0c33ffdd66ae305dcdc22b8a3ed29d5 | [] | no_license | junbujianwpl/LeetcodePro | 70d3b5229ee3bb1a0104e0c85083140e2e27b065 | 2f105d1513a03ca7e54030173f01ae893ae587c4 | refs/heads/master | 2021-01-21T03:21:04.031509 | 2019-03-03T15:04:30 | 2019-03-03T15:04:30 | 101,892,369 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 406 | cpp | #include "common.h"
int print_list_node(ListNode *head)
{
int ret=0;
while(head){
++ret;
cout<<head->val<<" ";
head=head->next;
}
cout<<endl;
return ret;
}
ListNode *make_list(vector<int> v)
{
ListNode dummy(-1),*cur=&dummy;
for(auto i:v){
ListNode* p=new Li... | [
"476461917@qq.com"
] | 476461917@qq.com |
df1c237442a1327142827dadde8dd55df290182f | e8abe87ff059e6f03cf38e734a79ce141735e35f | /leetcode/871. Minimum Number of Refueling Stops/MNoRS.cpp | ddc3a378edc226b87312c466d86044ba0bbd030d | [] | no_license | iuyoy/basicCSKnowledge | 6ae2536586ecef874db493f39e0135465dab77bc | 4ca2cf5db21e5749ea4a35a428b450cf1dfe9f00 | refs/heads/master | 2021-07-06T15:23:19.014892 | 2020-07-11T13:16:09 | 2020-07-11T13:16:09 | 129,311,451 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,077 | cpp | /*
A car travels from a starting position to a destination which is target miles
east of the starting position.
Along the way, there are gas stations. Each station[i] represents a gas station
that is station[i][0] miles east of the starting position, and has station[i][1]
liters of gas.
The car starts with an infini... | [
"iuyyoy@gmail.com"
] | iuyyoy@gmail.com |
c8902110a420c77e10f46c77247edad197a5b3f3 | 27b78a089fa389244eefcdd08d8d7e273a3bb3e8 | /bial/cpplex/inc/divisionbyzeroexception.hpp | fe337224d79327387ea55e6eac407c668e8bb851 | [] | no_license | GIBIS-UNIFESP/BIAL | 651f3a7f44238df977be245b07a1391d2518f974 | eddd3d756b744b5caf8429acec7abe208b3a3bd1 | refs/heads/master | 2021-01-12T13:32:10.299904 | 2018-02-09T11:55:34 | 2018-02-09T11:55:34 | 69,836,560 | 11 | 6 | null | 2017-12-01T16:01:12 | 2016-10-03T02:55:05 | C++ | UTF-8 | C++ | false | false | 1,358 | hpp | /*
Copyright (c) 2010-2013 Tommaso Urli
Tommaso Urli tommaso.urli@uniud.it University of Udine
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitati... | [
"lucaslellis777@gmail.com"
] | lucaslellis777@gmail.com |
3c3e1bca32488b275cf035ce559db396daf8c9df | 44353328cd40698d76aeeea93b32a5f6b16bc768 | /Arduino_Projeler/5.Mesafe_Sensoru/Mesafe_Olcer/Mesafe_Olcer.ino | 06d225edd0f40a8c036532746fd5c80d49cc1434 | [] | no_license | kivancozgur/MSKU_2.SINIF_2.DONEM_EXAMPLE | a702ad055d3e914f11ecb0898a519380a7176a28 | db40a0c9dd7dc0baa3d31034bce1b036aee7086b | refs/heads/master | 2020-06-23T22:44:39.813848 | 2019-07-25T07:09:27 | 2019-07-25T07:09:27 | 198,774,634 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 900 | ino | int ledPin=3;
int trig=4;
int echo=5;
double sure;
double toplamYol;
double aradakiMesafe;
void setup() {
pinMode(ledPin, OUTPUT);
pinMode(trig, OUTPUT);
pinMode(echo, INPUT);
Serial.begin(9600);
}
void loop() {
digitalWrite(trig, HIGH);
digitalWrite(trig, LOW);
sure = pulseIn(echo, HIGH);
toplamYo... | [
"34067601+kivancozgur@users.noreply.github.com"
] | 34067601+kivancozgur@users.noreply.github.com |
c4ccbb96041183629fb41aea1e4afc4b2e309834 | 5ec06dab1409d790496ce082dacb321392b32fe9 | /clients/cpp-qt5/generated/client/OAIOrgApacheJackrabbitOakSecurityAuthenticationTokenTokenConfiguraInfo.cpp | 32126ffaa2beb52ffb31d2be771c002207176ad1 | [
"Apache-2.0"
] | permissive | shinesolutions/swagger-aem-osgi | e9d2385f44bee70e5bbdc0d577e99a9f2525266f | c2f6e076971d2592c1cbd3f70695c679e807396b | refs/heads/master | 2022-10-29T13:07:40.422092 | 2021-04-09T07:46:03 | 2021-04-09T07:46:03 | 190,217,155 | 3 | 3 | Apache-2.0 | 2022-10-05T03:26:20 | 2019-06-04T14:23:28 | null | UTF-8 | C++ | false | false | 7,446 | cpp | /**
* Adobe Experience Manager OSGI config (AEM) API
* Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API
*
* OpenAPI spec version: 1.0.0-pre.0
* Contact: opensource@shinesolutions.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openap... | [
"cliffano@gmail.com"
] | cliffano@gmail.com |
625e33aba879ddf876efdb74d74f4cd20f704806 | 52c8e3517f95efdea238aa0078bea711d828e8d1 | /tf_utils.cpp | 832cce95d8a88ebf5e84050ff8a886e46d959aac | [
"MIT"
] | permissive | changGitHubJ/mnist_keras-inference_in_windows | 55b6aa539caec4d15709246c92137fba6a55a1bc | d0301b6f8fa7c96ceaa7a650258e6e0934f6d9ac | refs/heads/master | 2023-01-24T08:38:20.711951 | 2020-12-02T07:59:15 | 2020-12-02T07:59:15 | 256,703,195 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,703 | cpp | // Licensed under the MIT License <http://opensource.org/licenses/MIT>.
// Copyright (c) 2018 Daniil Goncharov <neargye@gmail.com>.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Softwa... | [
"atsugi_development@tbts.co.jp"
] | atsugi_development@tbts.co.jp |
772a2882f7f520c22c87d3482760b9d031ae6b2f | 76859f325589b72fbb1c4bf8678505cf64a62334 | /src/lib/web_render/web_page.cpp | 76ca34b2f15dd9d79217a0013a4fd423fa0db247 | [] | no_license | yf885188/BigWorld-Engine-1.9.1 | 267d3d24c29e414308143d3b2440cd4255ec4557 | e9d5a56739eb20c0c6973653a1342000e9f699be | refs/heads/master | 2023-08-29T17:12:16.985405 | 2021-11-18T06:41:31 | 2021-11-18T06:41:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,970 | cpp | /******************************************************************************
BigWorld Technology
Copyright BigWorld Pty, Ltd.
All Rights Reserved. Commercial in confidence.
WARNING: This computer program is protected by copyright law and international
treaties. Unauthorized use, reproduction or distribution of this... | [
"terran.erre@mail.ru"
] | terran.erre@mail.ru |
a6580409d4e5bcb03c6a9790f32048bcdd28df37 | 2c1b1d120c4a9d3467c566df50bb83d89c52455e | /GameEntity-AntiLSP/CollisionManager.h | 24a4ae3fa622d2586b471b27d3c1c8c37050c062 | [] | no_license | kenpower/SolidPrinciples | 1d9aaf95b5bf598372eebcb1a4ad0842ea990b15 | 40c81e9a06a859ea8366549a818acd77b2d20f77 | refs/heads/master | 2020-09-06T12:44:59.036398 | 2019-11-28T10:51:29 | 2019-11-28T10:51:29 | 220,427,647 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 235 | h | #pragma once
#include <memory>
#include "Player.h"
#include "Entity.h"
class CollisionManager
{
public:
bool collides(Player& player, std::unique_ptr<AbstractEntity>& entity) {
//... collision detection stuff
return true;
}
};
| [
"github@kenpower.com"
] | github@kenpower.com |
03b62c9960e4d57a6fdcd7039dc836070b4c6eaf | 010279e2ba272d09e9d2c4e903722e5faba2cf7a | /contrib/libs/zeromq/sources/src/msg.hpp | 9a8baca09d673a7096aa4faf1e25569f0b677ad2 | [
"Apache-2.0",
"GPL-3.0-only",
"LGPL-3.0-only",
"LicenseRef-scancode-zeromq-exception-lgpl-3.0"
] | permissive | catboost/catboost | 854c1a1f439a96f1ae6b48e16644be20aa04dba2 | f5042e35b945aded77b23470ead62d7eacefde92 | refs/heads/master | 2023-09-01T12:14:14.174108 | 2023-09-01T10:01:01 | 2023-09-01T10:22:12 | 97,556,265 | 8,012 | 1,425 | Apache-2.0 | 2023-09-11T03:32:32 | 2017-07-18T05:29:04 | Python | UTF-8 | C++ | false | false | 6,675 | hpp | /*
Copyright (c) 2007-2015 Contributors as noted in the AUTHORS file
This file is part of libzmq, the ZeroMQ core engine in C++.
libzmq is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License (LGPL) as published
by the Free Software Found... | [
"akhropov@yandex-team.com"
] | akhropov@yandex-team.com |
1949f0af5795519e6fb24d0e82036b3f4729ad42 | d9ad1b126b3aae7cc902e619fd035e70aafae309 | /src/Core/Engine/GamePad.h | 045f72b9b8e3c47260aa45400c11e9b2a15d30bf | [] | no_license | Canadadry/TileGameV2 | 646139b6e394c713dfe90c783930b42c2be7ef77 | e28fb4873f9c3e98b34df128d3c4c81453da649b | refs/heads/master | 2021-01-16T19:35:19.416734 | 2014-02-22T13:21:30 | 2014-02-22T13:21:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 296 | h | #ifndef GAMEPAD_H_
#define GAMEPAD_H_
#include <Engine/Component.h>
class Entity;
namespace sf{ class Event; };
class GamePad : public Component
{
public:
explicit GamePad(Entity& entity);
virtual ~GamePad();
virtual void handleEvent(const sf::Event& Event);
};
#endif /* GAMEPAD_H_ */
| [
"moureyjerome-spam@yahoo.fr"
] | moureyjerome-spam@yahoo.fr |
bd23a767137aa155977aa2c3251e4e9a3e1e1fe1 | 4d71dfbb73cfcfc4e03410504e6c93768c0bda09 | /TestGlfw/PerformanceTimer.h | f9db2b7eb635592d9909126d5e7beeecc168a0cb | [] | no_license | PlumpMath/TestGlfw | 81ead2a9c2f8f9213257f1bdc5a1aeb73ae2d7e9 | 93fd15b456e133468ef99dc48d66f5207c249225 | refs/heads/master | 2021-01-25T07:01:36.326778 | 2017-01-24T03:23:13 | 2017-01-24T03:23:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 290 | h | #pragma once
#include <chrono>
#include <string>
class PerformanceTimer
{
public:
PerformanceTimer(const std::string& message);
~PerformanceTimer();
void Expire();
private :
const std::string _message;
std::chrono::time_point<std::chrono::system_clock> _start;
bool _didExpire;
};
| [
"rjcurtis22@gmail.com"
] | rjcurtis22@gmail.com |
4fde447ee0e82cfa3bfa738d989328b42611753a | 150ed4923984fdffcee7538c179a1fd32efa43c0 | /pr/pr/ObjEnemy.h | 045cb835f28c3f6a87a1d29617dad27319d03405 | [] | no_license | kishitake114/Game | 089881dd535ab5192fb4de2813b6863d8de196d3 | 97fac6e26a61827340906486178c40d5989c97f1 | refs/heads/master | 2023-03-02T06:31:49.913168 | 2021-02-11T05:21:29 | 2021-02-11T05:21:29 | 301,625,774 | 1 | 1 | null | null | null | null | SHIFT_JIS | C++ | false | false | 484 | h | #pragma once
//使用するヘッダー
#include "GameL/SceneObjManager.h"
//使用するネームスペース
using namespace GameL;
//オブジェク:プレイヤー
class CObjEnemy :public CObj
{
public:
CObjEnemy() {};
~CObjEnemy() {};
void Init();
void Action();
void Draw();
int HP;
bool atk;
private:
float p_x;
float p_y;
float atr_x;
float atr_y;
float... | [
"h1202019006@hiratagakuen.onmicrosoft.com"
] | h1202019006@hiratagakuen.onmicrosoft.com |
825bbe5df47ef67d1a356581b2b950c3ffd76318 | ea9fdab491ca277959f7dc59004d1a30c4ee6be4 | /cufflinks/patches/patch-src_bundles.cpp | d216a571600887a572b8e03bbe055d5411fc9c5c | [] | no_license | NetBSD/pkgsrc-wip | 99f40fb6f56e2a5a11840a810e9cf8b6097e7f21 | c94e923855e9515400435b2437a1659fdb26d2fb | refs/heads/master | 2023-08-30T14:27:26.946664 | 2023-08-30T12:09:15 | 2023-08-30T12:09:15 | 42,824,785 | 81 | 59 | null | 2021-01-28T20:10:38 | 2015-09-20T18:44:07 | Makefile | UTF-8 | C++ | false | false | 575 | cpp | $NetBSD$
# Constant too big for int on some systems
--- src/bundles.cpp.orig 2013-04-04 14:41:19.000000000 +0000
+++ src/bundles.cpp
@@ -677,7 +677,7 @@ double BundleFactory::next_valid_alignme
if (!_hit_fac->get_hit_from_buf(hit_buf, tmp, false))
continue;
- if (tmp.ref_id() == 126381... | [
"rillig@NetBSD.org"
] | rillig@NetBSD.org |
a0ffaff96c3406a0a4541db4c61c8e5eae183aae | 1577e1cf4e89584a125cffb855ca50a9654c6d55 | /WebKit/Source/ThirdParty/ANGLE/src/tests/gl_tests/FragDepthTest.cpp | 0a6d6933381cd276eb956559c453ada5e03f184a | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | apple-open-source/macos | a4188b5c2ef113d90281d03cd1b14e5ee52ebffb | 2d2b15f13487673de33297e49f00ef94af743a9a | refs/heads/master | 2023-08-01T11:03:26.870408 | 2023-03-27T00:00:00 | 2023-03-27T00:00:00 | 180,595,052 | 124 | 24 | null | 2022-12-27T14:54:09 | 2019-04-10T14:06:23 | null | UTF-8 | C++ | false | false | 5,854 | cpp | //
// Copyright 2022 The ANGLE 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.
//
// FragDepthTest:
// Tests the correctness of gl_FragDepth usage.
//
#include "test_utils/ANGLETest.h"
#include "test_utils/gl_raii.h"
using... | [
"opensource@apple.com"
] | opensource@apple.com |
0222b5336e4dae34709829fb0bfa8a0a285ab70f | 41a76318e5b9eef2c69bbf922724f8b191d7d124 | /kokkos-kernels/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_cmplx_dbl__LayoutRight_Cuda_CudaS.cpp | e32f1677aafbed90ce273f390fc71d46b839ac1f | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | zishengye/compadre | d0ff10deca224284e7e153371a738e053e66012a | 75b738a6a613c89e3c3232cbf7b2589a6b28d0a3 | refs/heads/master | 2021-06-25T06:16:38.327543 | 2021-04-02T02:08:48 | 2021-04-02T02:08:48 | 223,650,267 | 0 | 0 | NOASSERTION | 2019-11-23T20:41:03 | 2019-11-23T20:41:02 | null | UTF-8 | C++ | false | false | 2,508 | cpp | /*
//@HEADER
// ************************************************************************
//
// KokkosKernels 0.9: Linear Algebra and Graph Kernels
// Copyright 2017 Sandia Corporation
//
// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
// the U.S. Government retain... | [
"pkuberry@gmail.com"
] | pkuberry@gmail.com |
1a7c3e887057cd0f3784a53a22661e690c26ca88 | bd4f2a36ef9f0d864cf747f75c6c36e50f91a67f | /Chapter_05_String/sourcecode/例4-3 文本编辑.cpp | acdd9c44c7651b15b5867de9f1c2425d6ce398e2 | [] | no_license | BoyuGuan/DATASTRUCTURE | 6df74fc0a98162f6939a40429753c97175a51eea | 0d0dced35514efda2a8b6c52f63fe699907e6db6 | refs/heads/master | 2021-04-19T23:35:24.741156 | 2020-04-20T02:37:18 | 2020-04-20T02:37:18 | 249,641,323 | 0 | 1 | null | 2020-03-24T07:32:19 | 2020-03-24T07:32:19 | null | GB18030 | C++ | false | false | 3,734 | cpp | # define MAX_LINE 1000 // 允许的最大行数
# define Number 80 // 可由用户定义的块大小
# include "stdlib.h" // 该文件包含malloc()、realloc()和free()等函数
# include "iomanip.h" // 该文件包含标准输入输出流cout和cin及控制符setw()
typedef struct Chunk {
char str[Number]; // 一个结点存放80个字符
struct Chunk *next;
}... | [
"32472889@qq.com"
] | 32472889@qq.com |
febf8bf48006f5c0544ab816f877283c327228ed | 9557e87a1a5ba6caaa89d7dfece1c3d7f5d60440 | /main.cpp | afac46c73651cc84e830439e064b80d1dcaaf1db | [] | no_license | 259657/Projekt3koncowy | c2dd268d029a8b9d5431b656a7e59b6852134f8d | 5e3a9b77967d7ffeb657cce05738f47676b872e7 | refs/heads/master | 2023-06-02T08:18:15.089252 | 2021-06-22T17:47:46 | 2021-06-22T17:47:46 | 379,355,114 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 230 | cpp | #include "SFML/Graphics.hpp"
#include "SFML/Window.hpp"
#include "Engine.h"
#include "Player.h"
#include "Background.h"
#include <cstdlib>
int main()
{
srand(time(NULL));
Engine game;
game.run();
return 0;
}
| [
"259657@student.pwr.edu.pl"
] | 259657@student.pwr.edu.pl |
4efa874a34ac30355dc7b449e42e22227603b7a1 | 0ea2d27b46e9b0f06d1d48f6a5fb4737f966860c | /Xenios-Source/src/governance-classes.cpp | 15ee75d6a5dd781cab17f6446daefd00ce390b98 | [
"MIT"
] | permissive | xeniosproject/xenioscoin | ec73c60a37f0d2abc01fc8d7e42c2b84f5e5dadf | 48927805c482c90ca98627b42a0ec5c7d6686497 | refs/heads/master | 2022-02-15T03:30:10.811866 | 2022-01-26T21:56:59 | 2022-01-26T21:56:59 | 283,697,168 | 3 | 7 | MIT | 2021-03-07T07:23:29 | 2020-07-30T07:13:06 | C++ | UTF-8 | C++ | false | false | 25,450 | cpp | // Copyright (c) 2014-2018 The Dash Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "governance-classes.h"
#include "core_io.h"
#include "init.h"
#include "utilstrencodings.h"
#include "validation.h"... | [
"56384051+xeniosproject@users.noreply.github.com"
] | 56384051+xeniosproject@users.noreply.github.com |
9c8c8529e633449e11ff93be70aee37c3cb3f7f2 | ae219d28725c9dd58c200ae76ba3bf3f2a90d557 | /EclipseStudio/Sources/GameCode/UserSettings.cpp | 79a7f9e75ccd23c6b723f0de37ddfb463181306a | [] | no_license | pepekinha/src | de1f0c64cf1238e019f4daf7f87d95849304d88e | 5223858f05f6791f1dec30df1dbb91ae3e4f5952 | refs/heads/master | 2021-01-22T01:05:54.659896 | 2014-04-06T01:43:37 | 2014-04-06T01:43:37 | 27,421,524 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 7,246 | cpp | #include "r3dPCH.h"
#include "r3d.h"
#include "UserSettings.h"
UserSettings gUserSettings;
#define USERSETTINGS_FILE "userSettings.xml"
UserSettings::UserSettings()
{
}
UserSettings::~UserSettings()
{
}
bool UserSettings::createFullPath( char* dest, bool old )
{
bool res = old ? CreateWorkPath(dest) : CreateCo... | [
"highnetlan@gmail.com"
] | highnetlan@gmail.com |
62566b7b7b79ac9efb28adc53d21edb831dd3c3e | 38b9daafe39f937b39eefc30501939fd47f7e668 | /tutorials/2WayCouplingOceanWave3D/basicTutorialwtProbesResultsWtPhiCoupled_180625/23.8/alphaPhi | 775f7184308ec2b580240ee3ef5daba9bb24f3cc | [] | no_license | rubynuaa/2-way-coupling | 3a292840d9f56255f38c5e31c6b30fcb52d9e1cf | a820b57dd2cac1170b937f8411bc861392d8fbaa | refs/heads/master | 2020-04-08T18:49:53.047796 | 2018-08-29T14:22:18 | 2018-08-29T14:22:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 529,022 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.1 |
... | [
"abenaz15@etudiant.mines-nantes.fr"
] | abenaz15@etudiant.mines-nantes.fr | |
d60eaff2e35d2a63904e75837d13abebc7851a55 | 80de8bf945978a53f64c88760124b193ca181e46 | /poj/DP/1018/p1018.correction.cpp | 90c3e91fbf31d33a41bc5a9560c823622098db78 | [] | no_license | mtawaken/gits | 83496069c1eeebb0083e3330b6bf0a1bd8016b95 | 1084f0b3b0942a8a9ee045d5727f51d116169ff5 | refs/heads/master | 2020-05-20T14:01:40.066173 | 2014-05-19T07:05:11 | 2014-05-19T07:05:11 | 7,186,841 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,830 | cpp | /*
* =====================================================================================
*
* Filename: p1018.correction.cpp
*
* Description: forcely search,for every available brandwidth,there's a lowest sum price which make RATE maxium,compare theses RATEs to find maxium RATE to be the result.
*
* ... | [
"mtawaken@gmail.com"
] | mtawaken@gmail.com |
1930a613fd8a43a30bf9e5171eba586ce846ecfc | 23c524e47a96829d3b8e0aa6792fd40a20f3dd41 | /.history/ft_queue_test_20210607134020.cpp | e14d47c04cbc7498fd5bb321b255c984af037263 | [] | no_license | nqqw/ft_containers | 4c16d32fb209aea2ce39e7ec25d7f6648aed92e8 | f043cf52059c7accd0cef7bffcaef0f6cb2c126b | refs/heads/master | 2023-06-25T16:08:19.762870 | 2021-07-23T17:28:09 | 2021-07-23T17:28:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,346 | cpp | #include "Queue.hpp"
#include "Vector.hpp"
#include "List.hpp"
#include <deque>
#include <list>
#include <vector>
#include <iostream>
#include <iterator>
#include <stack>
#include <unistd.h>
#include <queue>
#define red "\x1b[31m"
#define green "\x1b[32m"
#define yellow "\x1b[33m"
#define blue "\x1b[34m"
#define cend ... | [
"asleonova.1@gmail.com"
] | asleonova.1@gmail.com |
0452b045c59ac62fd1c929dcbc8f8095ae67a17c | cbdeac43c8c14a7d197ca60fb7ca3c3f153c47b1 | /loader/other_stuff.cpp | 63e860cffa3eb7091d13022b33b15f8b2898c35f | [] | no_license | Psionix/nwnhook | 117a82633948ff2fc540676af6a7584ac2810b94 | ba6486acdd3b941cbfac4708d3c702ee1e93d866 | refs/heads/master | 2022-03-27T13:21:56.699917 | 2019-12-26T12:42:55 | 2019-12-26T12:42:55 | 229,575,228 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,307 | cpp | #include "other_stuff.h"
HANDLE GetProcessByFilename(LPCSTR lpFilename, LPCSTR dllname)
{
DWORD dwProcIds[1024], pRetn;
TCHAR exeName[255];
HANDLE hProcess;
EnumProcesses(dwProcIds,sizeof(dwProcIds), &pRetn);
DWORD cProcesses = pRetn/sizeof(DWORD);
for(unsigned int i = 0; i < cProcesses; i++)
{
hProcess = ... | [
"code.watt@gmail.com"
] | code.watt@gmail.com |
ea3cf5dfe0de52d6ecd38458762242c578623585 | d54932d12aac8c3ae0ebbe8fe8bdee8a0e721f0f | /algorithm/12/depth_first_search.cpp | 24c48f171e08ce335bad9991587f5fa351307752 | [] | no_license | takakuwa-s/algorithm-c- | 93ad3fe9f4602a497864c8403974352148ac964c | c86d59c7d3d6a25e151cf3953e661777e1a7bafe | refs/heads/master | 2022-03-27T16:51:39.530914 | 2020-01-08T23:56:43 | 2020-01-08T23:56:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,690 | cpp | #include <stdio.h>
#include <stack>
using namespace std;
#define N 100
struct Node {
int u, k, v[N];
};
// 再起
void dfs(int output[][2], const Node node[], const int u);
// スタック
void dfs2(int output[][2], const Node node[]);
int main() {
int n;
scanf("%d", &n);
Node node[n];
for (int i=0; i<n; i+... | [
"you@example.com"
] | you@example.com |
d43bf31b675b3540542a9ac653c44de2d75a6848 | 6323171f8df6ee89756bd30f4e45ae4666e5b28a | /79.cpp | 5082537a8c0e692f8ebf44d6faaa8f7257c91858 | [] | no_license | shenganzhang/LeetCode | 6220bceb91aa3842ce44b84308e8aa21e5281530 | c49877187af99d0aa4cfd8334723eb02a943d90a | refs/heads/master | 2023-07-13T15:18:31.261236 | 2021-08-22T22:49:27 | 2021-08-22T22:49:27 | 366,672,862 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,326 | cpp | #include <iostream>
#include <utility>
#include <vector>
#include <unordered_map>
#include <map>
#include <cmath>
#include <algorithm>
#include <stack>
#include <utility>
#include <set>
#include <limits>
using namespace std;
void backtrack(vector<int> &pos, int index, vector<vector<char>>& board, vector<vector<bool>>... | [
"zshengan@umich.edu"
] | zshengan@umich.edu |
40d79f65de75975a24c98c82c0d58d9c0e7d2a2c | f6ab96101246c8764dc16073cbea72a188a0dc1a | /OnlineJudge/ZEROJUDGE/a761. 罐頭的記憶體[v2].cpp | 4da671d829068f5858c1ca7f5a749e7e78344fbe | [] | no_license | nealwu/UVa | c87ddc8a0bf07a9bd9cadbf88b7389790bc321cb | 10ddd83a00271b0c9c259506aa17d03075850f60 | refs/heads/master | 2020-09-07T18:52:19.352699 | 2019-05-01T09:41:55 | 2019-05-01T09:41:55 | 220,883,015 | 3 | 2 | null | 2019-11-11T02:14:54 | 2019-11-11T02:14:54 | null | UTF-8 | C++ | false | false | 2,417 | cpp | #include <bits/stdc++.h>
using namespace std;
const int INF = 0x3f3f3f3f, MAXQ = 524288;
class Unrolled {
public:
int PILE, mask, shift;
vector< vector<int> > nodes;
vector<int> dirty;
void alloc(int size) {
nodes.clear(), dirty.clear();
for (PILE = 1, shift = 0; PILE * PILE < size; PILE <<= 1, shift++);
mask... | [
"morris821028@gmail.com"
] | morris821028@gmail.com |
a5edfedb249445fa6b5ef05d4463cf567d724025 | 790c74e6fb10857cd396e07f1eb39c4733596e91 | /test/boost_test/oglplus/enums/framebuffer_target.cpp | 37c51da436c2a23828fcf937bec1972b136e05c2 | [
"BSL-1.0"
] | permissive | Blinky0815/oglplu2 | 838a4d9484359b8c381ab49827caad4bef7e0a39 | 8cc3f1d3305179e4ade8b3973f4862df7543ad2a | refs/heads/master | 2020-03-22T21:59:10.271736 | 2017-11-17T14:01:25 | 2017-11-17T14:01:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,994 | cpp | // File test/boost_test/oglplus/enums/framebuffer_target.cpp
//
// Automatically generated file, DO NOT modify manually.
// Edit the enumeration source files in 'source/enums/oglplus'
// or the 'source/enums/make_enum.py' script instead.
//
// Copyright Matus Chochlik.
// Distributed under the Boost Software Lice... | [
"chochlik@gmail.com"
] | chochlik@gmail.com |
99eddaf9066e943b333b383492e4fe7c2027ec7c | f8c114ba8f694b38dd783cde102095c8cce53eba | /AAHvoidance/AAHvoidance/Classes/GameObject.h | a89be6a459093232176d62218a42f04f02610c9e | [] | no_license | Johnnym65/Age-Of-Germs | fe71af8b98ec516d6b5c0c7177930b0822f51cf7 | 13a412515b9510af5a2ae42e412dab83df1dbcf1 | refs/heads/master | 2016-09-05T21:30:33.058531 | 2014-11-25T23:19:18 | 2014-11-25T23:19:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,386 | h | //
// GameObject.h
// MakeALevel
//
// Created by darren mckeever on 11/10/2012.
//
//
#ifndef __MakeALevel__GameObject__
#define __MakeALevel__GameObject__
#include <iostream>
#include "cocos2d.h"
//#include "../Utilities/ImageScaler/ImageScaler.h"
using namespace cocos2d;
//USING_NS_CC;
typedef enum tagSta... | [
"jonny_murphy65@hotmail.com"
] | jonny_murphy65@hotmail.com |
d6ca4860ddfffe30f815f51a148d4e1dac5dde71 | fe3cc6465e2ed72565c03f7952b337e6b5875425 | /OpenFOAM_Examples/Quasi_DNS_Dowtherm_Mixed_Conv/Stable_RANSCase1/processor1/97.6/phi | b7afdfbe0f848a056526ac7e4a6df2a54ca8c619 | [] | no_license | EXthan/turbulenceModelling | 185772aac79c2a3e6b3620b5b5e285304c1b2de0 | fdb66b497c15db1a570edb05a0cd83ed93df68c8 | refs/heads/master | 2022-12-04T20:47:50.965306 | 2020-08-24T02:34:23 | 2020-08-24T02:34:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,582 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1906 |
... | [
"tong011@e.ntu.edu.sg"
] | tong011@e.ntu.edu.sg | |
e394910a081b51d5bad8a1469f47d63388088051 | cbfec160038561ce42a072cdef6c804bbeeca5d6 | /hash.cpp | b6e51a517b8c0713b347d883bb316895702a190e | [] | no_license | KristinaKulabuhova/IronStack | b95dd8f6221c33f044d2c8f35ecbcc5c9d488172 | a107d86e947b79a3dcb85db3e551b95872d6c5e3 | refs/heads/master | 2023-02-23T15:47:28.204609 | 2021-01-27T13:30:53 | 2021-01-27T13:30:53 | 332,055,366 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,213 | cpp | #include <stdio.h>
#include "hash.h"
int64_t array_hashing(const StackElement* array, int64_t size) {
int64_t hash = 0;
for (int64_t i = 0; i < size; ++i) {
hash += i * array[i] + 7;
}
return hash % 103;
}
StackElement* fill_array(StackElement* array, int64_t size) {
for (int64_t i = 0; i... | [
"60937316+KristinaKulabuhova@users.noreply.github.com"
] | 60937316+KristinaKulabuhova@users.noreply.github.com |
4aadad1819f9f12f25fcdf7ca1f37a36557f2e27 | 9d2ba5922492803a1de445bd76a209b68af2b7cc | /fba-miyoo-playable/src/burn/misc/post90s/d_wwfwfest.cpp | 3a23c57c14548805b6be4812ad4bd33f57c2d915 | [] | no_license | fzg780/miyoo-emu | bb95378fa8c6186f00c3269163d80401a79bf4ef | ca01f6ac47e047bc85343d89657c20d580722d4b | refs/heads/master | 2023-03-21T08:47:35.224289 | 2021-03-06T14:07:07 | 2021-03-06T14:07:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 38,358 | cpp | #include "tiles_generic.h"
#include "burn_ym2151.h"
#include "msm6295.h"
static unsigned char DrvInputPort0[8] = {0, 0, 0, 0, 0, 0, 0, 0};
static unsigned char DrvInputPort1[8] = {0, 0, 0, 0, 0, 0, 0, 0};
static unsigned char DrvInputPort2[8] = {0, 0, 0, 0, 0, 0, 0, 0};
static unsigned char DrvInputPort3[8] = {0, 0, 0... | [
"812699887@qq.com"
] | 812699887@qq.com |
2affe6a86cc4d54f7b4d4f8f8044778bdfc7d8f6 | 4ce5293947f136a0ded521c6d2794038b31ae793 | /src/ofxTLIGlitch.h | 400fdc967049dfb8b5ba34827e8695fde608a6cf | [
"MIT"
] | permissive | after12am/ofxTLGlitch | 127b1c3af9fdfc646b851d28602f8af05e1c6c07 | b32b12ff8ddf42ae1bbfbbaa0b2b97ba88bad509 | refs/heads/master | 2020-04-06T22:26:36.045103 | 2018-12-01T18:58:47 | 2018-12-01T18:58:47 | 4,062,205 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 574 | h | //
// ofxTLIGlitch.h
//
// Created by Okami Satoshi on 12/05/05.
// Copyright (c) 2012 Okami Satoshi. All rights reserved.
//
#ifndef _ofxTLIGlitch_h
#define _ofxTLIGlitch_h
#include "ofMain.h"
class ofxTLIGlitch {
public:
virtual void load(string name) = 0;
virtual void update() = 0;
virtual void draw(fl... | [
"me.after.12am@gmail.com"
] | me.after.12am@gmail.com |
6f177867a95020a916657a4f2670141a948a89b8 | 4537e56a2249748338f629d8fc5ab0ea7f09e43c | /Classes/GameAboutScene.cpp | e5897b7d5c283224e4030ba9c1381bb936f9cb24 | [] | no_license | xuzekun/MeowStarBattle | 394dcafd89b00629485ae8334f1ca2e38bbc11a0 | 87f40c8a753c2627716df565e45721814379c1d8 | refs/heads/master | 2016-09-02T05:30:27.584746 | 2014-04-24T07:33:23 | 2014-04-24T07:33:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,530 | cpp | #include "GameAboutScene.h"
CCScene* GameAbout::scene()
{
CCScene* scene = CCScene::create();
GameAbout* layer = GameAbout::create();
scene->addChild(layer);
return scene;
}
bool GameAbout::init()
{
if (!CCLayer::init())
{
return false;
}
CCSize size = CCDirector::sharedDirector()->getWinSize();
CCSprite... | [
"cs.xuzekun@gmail.com"
] | cs.xuzekun@gmail.com |
29e39e724700eb17191fe2a921e78855a25dd0c2 | 49b55d810e91dcee83a9938f53f750fc51404dc5 | /Source/Projects/BrickBreaker/Levels/Level1.cpp | 70de82fcf4c7156ee44ddd3438ccae5f292f86a1 | [] | no_license | VladCatalin19/ComputerGraphics-BrickBreaker | e5dc44b9d7fa6f22c7df895e09b2aa94386207c9 | ae5ba2ad63c242fcaed25f087ad68cb4010575c2 | refs/heads/master | 2021-07-06T13:02:50.223167 | 2020-08-27T13:36:22 | 2020-08-27T13:36:22 | 171,114,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,439 | cpp | #include "Level1.h"
Level1::Level1() : Level() {
}
Level1::Level1(glm::ivec2 resolution) : Level(resolution) {
}
Level1::~Level1() {
}
void Level1::InitLevelDependentConstants() {
// Ball
ballSpeed = 300.0f;
// Bricks
brickWidth = 50.0f;
brickHeight = 25.5f;
widthBet... | [
"vcatalin97@gmail.com"
] | vcatalin97@gmail.com |
5a4c2a187c42c09ef90c2b4a77a6dede9f84cf5a | aa8d29e7284a40d82f12f0301e6be103ede8dc47 | /UVa/10591.cpp | db3a298d616dc8b4ae9fb6f01f62860601a15620 | [
"MIT"
] | permissive | JobayerAhmmed/ProblemSolving | 1b31b7e38c40937ed3f244c5e0f5fba86288d238 | 38c7b4fb8ec08303c8f83ddb604a820b9b3d4256 | refs/heads/master | 2021-05-16T08:17:46.786969 | 2020-11-25T16:12:50 | 2020-11-25T16:12:50 | 104,047,546 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 880 | cpp | #include<iostream>
using namespace std;
int main(void)
{
int testCase;
int number;
int n;
int newNumber;
int flag;
int remainder;
cin >> testCase;
for(int i = 1; i<= testCase; i++) {
cin >> number;
n = number;
while(1) {
newNumber = 0;
... | [
"jobayer.ahmmed@gmail.com"
] | jobayer.ahmmed@gmail.com |
7fd2779c6d882247e904118f61b334f8c19de69a | 0a70273f914845a1f57b962b37d5886fc9d4dd65 | /solutions/122.best-time-to-buy-and-sell-stock-ii/best-time-to-buy-and-sell-stock-ii.cpp | 435ebed5086b556b04b5f7ffe0d9c23af3af72ee | [] | no_license | DjangoWu/LeetCode | 1c09a61571019b9ffa3ed30079bc75bbf74c6046 | dfe5ec833e5f1a2b78087b8fa6e96f344709c606 | refs/heads/master | 2020-03-11T09:48:44.512617 | 2018-04-17T15:15:25 | 2018-04-17T15:15:25 | 124,164,725 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 334 | cpp | class Solution {
public:
int maxProfit(vector<int> &prices) {
int len = (int)prices.size();
if(len <= 1)
return 0;
int sum = 0;
for(int i = 1; i < len; i++)
if(prices[i] - prices[i - 1] > 0)
sum += prices[i] - prices[i - 1];
return... | [
"843584324@qq.com"
] | 843584324@qq.com |
c5e6f54957e2821d8ffc042c10e4f8c126aef89c | a4209877d69936e8b42fa0ca059b44a6492be1bf | /src/TUM/tumformat2PointCloud.cpp | 7724882d6615990403ea6ec3c072448cf8707b3a | [] | no_license | yft1996/toolForDataset | a8fb62daca22d878f16e9228309d3e17b981d58d | 51fb5f19aefbe389fa20d8a82131391f12bd8eb9 | refs/heads/master | 2020-12-03T14:10:40.221711 | 2020-01-17T08:08:30 | 2020-01-17T08:08:30 | 231,349,091 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,431 | cpp | #include <iostream>
#include <fstream>
using namespace std;
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <Eigen/Geometry>
#include <boost/format.hpp> // for formating strings
#include <pcl/point_types.h>
#include <pcl/io/pcd_io.h>
#include <pcl/visualization/pcl_visualizer.h>
int m... | [
"yangfengtuo@163.com"
] | yangfengtuo@163.com |
db3d963ff5ea5c23e5699e9191df824a32954c7d | 7ec327e08a35fa7ba13e64db417475eed8b258fb | /controllers/ros_custom/include/webots_ros/field_get_vec2fResponse.h | 1adf495839db68da9ec7d71896f0aa4ec525524c | [] | no_license | Federico-Ciuffardi/webots_benchmark | accb69213098b534011c6ddfcd466a8ca1d466b5 | 0c2c2e464cfdc1b0a021e79b7f338884f68903b6 | refs/heads/master | 2023-04-20T01:30:39.314603 | 2021-05-13T19:25:21 | 2021-05-13T19:25:21 | 360,763,711 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,944 | h | /*
* Copyright 1996-2020 Cyberbotics Ltd.
*
* 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 ... | [
"federico.ciuffardi@outlook.com"
] | federico.ciuffardi@outlook.com |
b0fb7c7a174db33a3de19ea59b74a2f167c435ee | 9d2238e5b8fe5d610b8699b1d44118806056b2df | /src/rpc/mining.cpp | 189c19e278b6b724f4d77801585dcfbf30f31bd0 | [
"MIT"
] | permissive | umarucoin/umrcoin | 0d47c8f5797f33d1ad97dde24b319345d9965f03 | fcd581ab4efd3a64c9c49e13cc581398b7d4856a | refs/heads/master | 2021-01-20T01:27:33.437342 | 2017-09-23T12:03:12 | 2017-09-23T12:03:12 | 101,288,554 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42,977 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "base58.h"
#include "amount.h"
#include "chain.h"
#include "chainparams.h"
#i... | [
"macks77@hotmail.com"
] | macks77@hotmail.com |
895a5a8df203972bf33e7a026437ff99e2ed182b | d5f6e9cdaac81f4898ae4b71cd21f1915e9f5a71 | /swapDoubleArray.cpp | a1b285ae6df5584f6726b1c2a4817fa0f1a867be | [] | no_license | anhtranminh110699/Hoc_Cplusplus_nguyenvanhieu | 812e78356bdbc89a7e17f6c9ac6d5c785b8e8b9c | 33e6281e6e97bbe25bc205233553eae4ed29ef87 | refs/heads/main | 2023-08-22T14:44:58.258423 | 2021-10-17T03:06:21 | 2021-10-17T03:06:21 | 413,483,529 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,303 | cpp | //Bai toan hoan vi 2 hang cua ma tran
#include <iostream>
using namespace std;
#define MAX_ROW 100
#define MAX_COL 100
void input(int[][MAX_COL],int,int);
void output(int[][MAX_COL],int,int);
void swap(int[][MAX_COL],int,int,int);
int main()
{
int a[MAX_ROW][MAX_COL];
int n, m;
int x, y;
do
{
... | [
"anhtranminh110699@gmail.com"
] | anhtranminh110699@gmail.com |
8c7348d963fa4a954f970bff3e40859ed0d30679 | 4afc9826c4f153d465405410851a67ba20c41bc7 | /History Parser/HistoryParser_DLL/PSParadiseGetSmallBlind.h | e33ccf93a8a7c95f5ca9044c9f0a1625f27410d9 | [] | no_license | aliakbarRashidi/2003RTOnlinePokerStats | 3755656b73b830ed8f7d3fb36a28fd2764f1c7a4 | 1132eff688ae4b00269583b6efa84272dbe3d8b4 | refs/heads/master | 2020-05-09T21:08:42.386148 | 2016-09-29T11:49:49 | 2016-09-29T11:49:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 726 | h | // PSParadiseGetSmallBlind.h: interface for the CPSParadiseGetSmallBlind class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PSParadiseGETSMALLBLIND_H__F274370C_84C4_4B2C_89BF_E473A9514558__INCLUDED_)
#define AFX_PSParadiseGETSMALLBLIND_H__F274370C_84C4_4B2C_89BF_E473A9514... | [
"piers.shepperson@btinternet.com"
] | piers.shepperson@btinternet.com |
6f435f70be26b7b9f38e987e792855ae05fbce2d | 1190e772186dbdc16efd19f5f6e129486b046622 | /src/ratel.h | 9d281737b42a149abb30f9234ada1d9b333d4c9c | [] | no_license | pablomvb/rateljs | ae58023bc3c40f48a1fd6e00c500ec040ee7c1c4 | 0fd8f482b1f18c6833b75a38549b6dc746a4c969 | refs/heads/master | 2021-03-11T01:31:24.286389 | 2020-05-12T12:07:03 | 2020-05-12T12:07:03 | 246,482,478 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,408 | h | #ifndef JSBROWSER_H
#define JSBROWSER_H
#include <QObject>
#include <QMap>
#include <QJSValue>
class QWidget;
class QJSEngine;
class RatelOptions;
class Ratel : public QObject
{
Q_OBJECT
// Crazy and strange analogy
// Ratel -> Tejon de la miel
// Agresivo, igual que chrome con la memoria
// QWe... | [
"pablomvb@lenovo"
] | pablomvb@lenovo |
bc4bd3f000ca6154b991d05856b68596b08f8e10 | 4f0fc889b8f53a446d13bfc291858d3b882ffb66 | /libraries/chain/protocol/vote.cpp | c449b472359e173df2061dee07ab58d59e0e5ddc | [
"MIT"
] | permissive | hwlsniper/enudex-core | 8492c90a895c3c4459fac2e465e230efe2d306b9 | 6a01603557e1ab83446a492b4eec4cc3c446f1e0 | refs/heads/master | 2021-04-05T23:54:58.221979 | 2018-03-11T02:07:57 | 2018-03-11T02:07:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,751 | cpp | /*
* Copyright (c) 2015 Cryptonomex, Inc., and contributors.
*
* The MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the... | [
"admin@enumivo.org"
] | admin@enumivo.org |
de7ff5c1f6e9fc4342bfafc7e2bf02ecd46fdd63 | 305652c7bbdda46a7f4767a06c7e3573d8ab4b84 | /codeforces/131/C.cpp | 5323c902058378f3d0050616b3b640e417bdc935 | [] | no_license | ImperishableMe/codeforces-submissions | cde2ac379aa0580937d935f1ece7d3681e45471a | 9cd18f567c477f7392f2994c22168b4c6801d02c | refs/heads/master | 2023-06-15T03:46:05.243797 | 2021-06-18T13:34:00 | 2021-07-11T07:20:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,872 | cpp | //HK HK HK HK HK 108 times
#include <bits/stdc++.h>
#define PII pair < int , int >
#define PI 2.0*acos(0.0)
#define ll long long int
#define DEBUG(x) cout << '>' << #x << ':' << x << endl;
#define all(x) x.begin(),x.end()
#define sz(x) ((int)x.size())
#define FOR(i, a, n) for(int i = int (a); i < int (n); i... | [
"bishwajit0020@gmail.com"
] | bishwajit0020@gmail.com |
deae7234743251e43187c458d73e36e70de4a0dc | 916966b5df0dfde4a95895e584b79ef11b77db05 | /lib/MPU6050/ESP32_MPU6050.cpp | 14d71c627bab76d70c1dcb554b1c2acfddbbba81 | [] | no_license | Lucho-LJA/OMNI_ROB_ESP32 | e64f8797719d9795193902592b8436995db5561a | 0031dc18762e7572514da29a4f038c9792accafd | refs/heads/master | 2023-05-26T12:34:53.771325 | 2021-06-16T16:53:08 | 2021-06-16T16:53:08 | 296,983,257 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 136,290 | cpp | // I2Cdev library collection - MPU6050 I2C device class
// Based on InvenSense MPU-6050 register map document rev. 2.0, 5/19/2011 (RM-MPU-6000A-00)
// 8/24/2011 by Jeff Rowberg <jeff@rowberg.net>
// Updates should (hopefully) always be available at https://github.com/jrowberg/i2cdevlib
//
// Changelog:
// 2019-07-08 -... | [
"OmniRob V1.2 En Funcionamiento"
] | OmniRob V1.2 En Funcionamiento |
c4f2d331a6012ba97df72cc043d7655c31c06d88 | 981424b086d8a00fc84ce5a579a48763ef1b988f | /src/core/bspline_multi.cpp | 172a777996c7c40d52db006d6c2be133d1cae6f8 | [
"BSD-2-Clause"
] | permissive | ShiveshM/photospline | 49bd61a158dabed8bd9149ba81f59871453c206f | 78fb44bc447d30979534684358cb9256152e8c5b | refs/heads/master | 2021-01-25T13:46:48.166526 | 2018-03-01T23:29:42 | 2018-03-01T23:29:42 | 123,608,431 | 0 | 0 | BSD-2-Clause | 2018-03-02T17:19:02 | 2018-03-02T17:19:00 | null | UTF-8 | C++ | false | false | 2,564 | cpp | /*
* bspline_multi.c: Provides efficient routines using vector intrinsics to
* simultaneously compute the value and gradient of an N-dimensional
* B-spline surface.
*/
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <cassert>
#include "photospline/bspline.h"
#include "photospline/detail/simd... | [
"cnweaver@gmail.com"
] | cnweaver@gmail.com |
94716185b59f3a4585a6d14f4b076425e7d46c8e | 13500b849db6d62ac7ee94e32ddd76681af79d6b | /1066/ccf1066.cpp | c6531b92fdac3ca58ac233a1283d267005a47217 | [] | no_license | syjsu/noip-with-vue.js | 055a90d13dedd2c00b2d449a39fa4f3128270480 | 6076cd41b5343dd3ff18b4c4afec207021f8c78b | refs/heads/master | 2020-03-17T20:15:42.362689 | 2018-05-24T05:10:27 | 2018-05-24T05:10:27 | 133,900,801 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 388 | cpp | #include <cstdio>
#include <cmath>
#include <cstring>
int main()
{
int n, i, j;
int flag[10000+5];
memset(flag, 1, sizeof(flag));
scanf("%d", &n);
for (i=2; i<sqrt(n); i++)
for (j=2; i*j<=n; j++)
flag[i*j] = 0;
if (n>=5)
{
for (i=2; i<=n-2; i++)
if (flag[i] && flag[i+2]) printf... | [
"syjsu@qq.com"
] | syjsu@qq.com |
54544bf2815097ea14b621167c8a2051d1ae69c3 | 212f9b0fb5ba4090265e1c2b7399249b2e0e5bb2 | /scoperesolution/main.cpp | b9a28174178843358314ef42bc52ea591a401d27 | [] | no_license | Gya7329/c-plus-complete-program | 81175ca8002fa4a4f06c4dc6e83525c6757f6490 | aafa4f572f92ce005d95d0b3cc74dde5ace57e88 | refs/heads/master | 2023-02-16T18:37:01.900932 | 2021-01-16T14:32:27 | 2021-01-16T14:32:27 | 330,181,066 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,042 | cpp | /* Class Rectangle
Write all functions for rectangle
class Rectangle */
#include<iostream>
using namespace std;
class Rectangle
{
private:
int length;
int breadth;
public:
Rectangle();
Rectangle(int l,int b);
Rectangle(Rectangle &r);
int getLength(){return length;}
int getBreadth(){return breadth;}
void setLen... | [
"hasmuddin@knockri.com"
] | hasmuddin@knockri.com |
04363c4c6c67f04a759fb11f03dd0712ef0d8c4a | 5bc47dcf9ab0843b9d06bc25012bcb2f78874216 | /1166B.cpp | 4fe71bdfa0193d501e5d2aa3b0b852a19f5e53bd | [] | no_license | MijaTola/Codeforce | 428f466248a4e9d42ac457aa971f681320dc5018 | 9e85803464ed192c6c643bd0f920f345503ac967 | refs/heads/master | 2021-01-10T16:27:12.479907 | 2020-10-14T15:00:14 | 2020-10-14T15:00:14 | 45,284,776 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 644 | cpp | #include <bits/stdc++.h>
using namespace std;
char v[] = {'a', 'e', 'i', 'o', 'u'};
int main() {
int k;
cin >> k;
int a = -1, b = -1;
for (int i = 5; i <= k; ++i)
for (int j = 5; j <= k; ++j)
if(i * j == k) {
a = i;
b = j;
break;... | [
"mija.tola.ap@gmail.com"
] | mija.tola.ap@gmail.com |
9ff2ce4ea0ff6ce80fa832a03eef36f8465c9e3d | 6f4e08f26d41e017db969ea2bc067d3d055f751f | /ReHitman/Glacier/include/Glacier/ZCollisionWintel.h | 6c4bcf2c5e14ea81b3de0d7591ec44a6f82721f4 | [] | no_license | ipoopedmypantsuups/ReHitman | ef1c550a70d0a1d098e2a8c1cfd8cfb6b51a4ece | b4dfd36270a17eef510a88de90d65915b4fc5042 | refs/heads/main | 2023-08-07T16:01:45.509287 | 2021-09-12T09:01:39 | 2021-09-12T09:01:39 | 357,532,073 | 0 | 0 | null | 2021-04-13T11:43:48 | 2021-04-13T11:43:48 | null | UTF-8 | C++ | false | false | 49,242 | h | #pragma once
namespace Glacier
{
class ZCollisionWintel
{
public:
// vftable
// data
int field_4;
int field_8;
int field_c;
int field_10;
int field_14;
int field_18;
int field_1c;
int field_20;
int field_24;
in... | [
"alexandrleutin@gmail.com"
] | alexandrleutin@gmail.com |
08ca706e73a5279451c3d6a3439f282b4154c4bf | 24f26275ffcd9324998d7570ea9fda82578eeb9e | /services/preferences/pref_store_manager_impl.h | b5ced9565d3c758318d7dcb61f5d356d4e174449 | [
"BSD-3-Clause"
] | permissive | Vizionnation/chromenohistory | 70a51193c8538d7b995000a1b2a654e70603040f | 146feeb85985a6835f4b8826ad67be9195455402 | refs/heads/master | 2022-12-15T07:02:54.461083 | 2019-10-25T15:07:06 | 2019-10-25T15:07:06 | 217,557,501 | 2 | 1 | BSD-3-Clause | 2022-11-19T06:53:07 | 2019-10-25T14:58:54 | null | UTF-8 | C++ | false | false | 3,901 | h | // 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.
#ifndef SERVICES_PREFERENCES_PREF_STORE_MANAGER_IMPL_H_
#define SERVICES_PREFERENCES_PREF_STORE_MANAGER_IMPL_H_
#include <memory>
#include <set>
#include... | [
"rjkroege@chromium.org"
] | rjkroege@chromium.org |
f8503ba019b24480b6663c27a36602b918b9b51e | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE762_Mismatched_Memory_Management_Routines/s04/CWE762_Mismatched_Memory_Management_Routines__delete_struct_calloc_74a.cpp | 3cf8bb74edb74fb3e0a290d73c9780f0608f0293 | [] | 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 | 3,276 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__delete_struct_calloc_74a.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete.label.xml
Template File: sources-sinks-74a.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Management R... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
3ee2b8719b7757140cee0264c33a4301af4f2a91 | 44d9c01b9e6cbcc8f65c349c59b079f142bb9358 | /CoDVinNs2/aodv.h | c22a7a198a87fa50fcec7b3b8747f565524c87ba | [] | no_license | janequeen/CODV | a05fc66bce917a292cb911e1470d10277627bbd1 | 3f976fc1741f0b76113983080dbed04a6fa88845 | refs/heads/master | 2020-05-16T22:53:36.426655 | 2014-08-05T11:40:06 | 2014-08-05T11:40:06 | 22,104,097 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,708 | h | /*
Copyright (c) 1997, 1998 Carnegie Mellon University. All Rights
Reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of condition... | [
"qiwn@dsp.ac.cn"
] | qiwn@dsp.ac.cn |
65847ca1248677d1b8da818e7d71696413b42ed7 | bde622bd6c8d50528930fc62deeb397575e7c0eb | /SDL/Experiments/03/main.cpp | 731e6b82e1d25296c327639099bfc4dd4e477fe3 | [] | no_license | dnivanthaka/demo-programs | 6b6700b262bd0509aa319e4a79848b73587be9da | b763c71023cc7553344043851921879c79480b84 | refs/heads/master | 2021-01-10T13:00:58.191468 | 2016-03-20T07:56:57 | 2016-03-20T07:56:57 | 54,304,721 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,320 | cpp | /*
* =====================================================================================
*
* Filename: main.cpp
*
* Description: Main launcher
*
* Version: 1.0
* Created: 09/16/2014 10:08:46 PM
* Revision: none
* Compiler: gcc
*
* Author: D.N. Amerasinghe ... | [
"dinusha@DinushaPC.Home"
] | dinusha@DinushaPC.Home |
65b5bd03b2f88d5cde9c58c16f17ccd3932609fa | 2c4649c50e914b3fcad25c57480781e24115a1da | /ImageSamplers/itkImageGridSampler.h | 3351a0eeb373a2e4e8a11b1487392a23df503b31 | [] | no_license | midas-journal/midas-journal-743 | a9763a9df1d47343afacf7da995ade91171ceb4d | 283d76b3f887d5711bca81911b22a69a268857e5 | refs/heads/master | 2020-03-26T18:40:35.851601 | 2011-08-22T13:47:27 | 2011-08-22T13:47:27 | 2,248,736 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,739 | h | /*======================================================================
This file is part of the elastix software.
Copyright (c) University Medical Center Utrecht. All rights reserved.
See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for
details.
This software is distributed W... | [
"root@insight-journal.org"
] | root@insight-journal.org |
4e0fc9a03c1bdcb10f4f213b3892daa92f641e97 | 03f037d0f6371856ede958f0c9d02771d5402baf | /graphics/VTK-7.0.0/Rendering/Core/vtkPropPicker.h | c5012dea6b4eaae0d8750bf92c53fdf174551de5 | [
"BSD-3-Clause"
] | permissive | hlzz/dotfiles | b22dc2dc5a9086353ed6dfeee884f7f0a9ddb1eb | 0591f71230c919c827ba569099eb3b75897e163e | refs/heads/master | 2021-01-10T10:06:31.018179 | 2016-09-27T08:13:18 | 2016-09-27T08:13:18 | 55,040,954 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,927 | h | /*=========================================================================
Program: Visualization Toolkit
Module: vtkPropPicker.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This soft... | [
"shentianweipku@gmail.com"
] | shentianweipku@gmail.com |
41e5ef3965ad7b865f4ff4866f395a4e810827e1 | e03114b76a969635bf5a389b93516cbead6e310f | /include/aarect.h | 428b4524c35b3432c9804345a03d14338dbe27c4 | [] | no_license | zhiyang-jzy/learnrtx | 60179d9e4c0a8cf86295272a8173e028a7eac4b9 | d8315f8cbac05a57568b82d31bee14bf81296d60 | refs/heads/master | 2023-03-09T17:07:24.326631 | 2020-11-12T03:12:12 | 2020-11-12T03:12:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 527 | h | //
// Created by Yang on 2020/11/12.
//
#ifndef RAYTRACE_AARECT_H
#define RAYTRACE_AARECT_H
#include "rtweekend.h"
#include "hittable.h"
class xy_rect : public hittable {
public:
shared_ptr<material> mp;
double x0, x1, y0, y1, k;
public:
xy_rect() {}
xy_rect(double _x0, double _x1, double _y0, doub... | [
"jzy991126@outlook.com"
] | jzy991126@outlook.com |
39ad7773cf298fffc508330f888c7faea7c61520 | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Source/ThirdParty/llvm/3.6.2/include/clang/AST/RecordLayout.h | 7b7799884a3dc66c5b10fac8df28bac687f1f93b | [
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | windystrife/UnrealEngine_NVIDIAGameWorks | c3c7863083653caf1bc67d3ef104fb4b9f302e2a | b50e6338a7c5b26374d66306ebc7807541ff815e | refs/heads/4.18-GameWorks | 2023-03-11T02:50:08.471040 | 2022-01-13T20:50:29 | 2022-01-13T20:50:29 | 124,100,479 | 262 | 179 | MIT | 2022-12-16T05:36:38 | 2018-03-06T15:44:09 | C++ | UTF-8 | C++ | false | false | 11,332 | h | //===--- RecordLayout.h - Layout information for a struct/union -*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"tungnt.rec@gmail.com"
] | tungnt.rec@gmail.com |
d7c3c1f1669da59bb4ac8d832b9e5cf386aed4cf | fb98ea3594e14a74431d551106822193f2afe15d | /gonghitter.ino | b6752865722d69dc150f78261ecedcb990fa4445 | [] | no_license | vikram7/GongHitter | c51ed4987125fd7705e253f20f237c28ca5c6ff4 | 61a915727efaccb043a1b2ed51f677a72456f7bd | refs/heads/master | 2021-01-17T05:24:34.181385 | 2014-09-27T21:21:30 | 2014-09-27T21:21:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 594 | ino | // GongHitter
// by Vikram and Richard
#include <Servo.h>
int STEP = 5;
int DELAY = 500;
unsigned long TIME_BETWEEN_HITS = 3600000; // one hour
//1000 * 60 * 60 * 24;
Servo myservo; // create servo object to control a servo
// a maximum of eight servo objects can be created
void moveMallet() {
// move home
m... | [
"lord.ezar@gmail.com"
] | lord.ezar@gmail.com |
442ef675ac859f27200f7d9bc551cef5ba0a81ac | 002f5ac6121681829bfc623307c77f56171b9504 | /state.h | 08cd8025010bb27e34706c2f30fa3cfaadf430eb | [] | no_license | zavalroman/osubaka | df85716733fa8aa624139a915dfc7b4f5f0f3002 | 8100ef03200aeb51c924e131c7226589f6ac7ca9 | refs/heads/master | 2020-06-17T13:13:05.664715 | 2017-01-03T17:05:05 | 2017-01-03T17:05:05 | 75,001,453 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,305 | h | /*
* state.h
*
*/
#ifndef STATE_H
#define STATE_H
#include "beatmap.h"
class State : public Beatmap {
public:
State() : Beatmap() {
firstRenderObj = 0;
lastRenderObj = 0;
//postLastObj = 0;
bufFirst = -1;
bufLast = 0;
tpStep = 0;
}
~State() {
}
void setTime( lon... | [
"zavalroman@gmail.com"
] | zavalroman@gmail.com |
66585d73c1e417fbf507fe33581f8f6ebf68b1ce | edb14253ca39b3f9441de6a80777af1696b48dec | /kickstart/2020/E/C/brute_force.cc | df9cbf4b53b830d09a29661441e13d2e41e84923 | [] | no_license | curow/Problem-Solving | 32a31043f8a880aa022c4c6d1d2a89381f1f6554 | d9e1a6b38e42600977bfff26541f008ced526897 | refs/heads/master | 2021-05-22T23:43:29.231916 | 2021-03-06T07:16:47 | 2021-03-06T07:16:47 | 253,142,808 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,029 | cc | #include <bits/stdc++.h>
#define int __int64_t
using namespace std;
const int N = 1e5 + 10, INF = 1e18;
vector<int> e(N), r(N), v(N);
vector<int> subset;
vector<pair<int, int>> solution;
int n;
void search(int k) {
if (k == n) {
if (subset.empty()) return;
int m = subset.size();
for (int i ... | [
"TiwazBiu@gmail.com"
] | TiwazBiu@gmail.com |
1da0e80a7de8b085c17a88ee2b3f673b6d63560e | 98d58d4327b6b5737754f14f2b28327e068325c1 | /pair.h | ed56054e1630c1ab0d0bc3992cf11497f04b5742 | [] | no_license | GeorgeLS/os_dproj_2 | 0071bf9715d92039c12cf0ce4b8cb7abcb04eb18 | 523a3b10e62e90ea7e0bc9fa61e6123cad885663 | refs/heads/master | 2020-09-21T08:43:06.030454 | 2019-11-28T23:41:44 | 2019-11-28T23:41:44 | 224,744,934 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,333 | h | #ifndef EXERCISE_II__PAIR_H_
#define EXERCISE_II__PAIR_H_
#include <utility>
#include <bits/unique_ptr.h>
#include "metaprogramming.h"
template<typename T, typename U>
struct Pair {
T first;
U second;
inline bool operator==(Pair<T, U> &rhs) {
return first == rhs.first && second == rhs.second;
}
inline ... | [
"sdi1600094@di.uoa.gr"
] | sdi1600094@di.uoa.gr |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.