blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2d259b707c4613a47cc9f22c40525edfb9135768 | c1865f58b1cf34f55c1cc47b217c44d4aca3e707 | /4_5.cpp | 1f7a7dc384b205bb5cee09575cf72452c7341a70 | [] | no_license | chris3will/BIGINT | 4cff078b16e875fd638b8892b7c8879802b0e430 | 19519108872a66593a88a22199caa9d95ec028fd | refs/heads/master | 2020-03-22T14:18:12.031534 | 2018-07-08T13:08:42 | 2018-07-08T13:08:42 | 140,168,220 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 408 | cpp | #include "BigInt.h"
#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
BigInt x,y;
cout<<"持续输入两个整数X,Y中间用空格隔开,输出结果如下"<<endl;
while(cin>>x>>y)
{ cout<<"一下判断结果为1是真,为0是假!"<<endl;
cout<<"X>y? "<<setw(6)<<(x>y)<<endl;
cout<<"x<y? "<<setw(6)<<(x<y)<<endl;
cout<<"x==y? "<<setw(5)<<(x==y)<<endl... | [
"37741175+chris3will@users.noreply.github.com"
] | 37741175+chris3will@users.noreply.github.com |
efcb993c7d57d2f156d579ae70fd66ece53eefb3 | 9f5646571e6d7d52a4c6ef0b6f021f4801727288 | /acoustic_iso_lib/python/python_float/pyAcoustic_iso_float_wemva.cpp | d1707803b560b9b93594aa2fb97023d4c313842c | [] | no_license | kristiantorres/acoustic_isotropic_operators | 79a765b86b627afc1a2068226837e25eb62da33b | a1aa5c595c7829a2405d54ffb4a3190d5e75f8fc | refs/heads/master | 2023-06-12T15:27:38.619733 | 2021-07-07T22:26:18 | 2021-07-07T22:26:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,795 | cpp | #include <pybind11/chrono.h>
#include <pybind11/complex.h>
#include <pybind11/functional.h>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <pybind11/iostream.h>
#include "wemvaExtShotsGpu.h"
namespace py = pybind11;
using namespace SEP;
//Definition of Born operator
PYBIND11_MODULE(pyAcoustic_iso_... | [
"barnier@gmail.com"
] | barnier@gmail.com |
29ae8852f7aa3941510aaaac352f4f2b079fae1a | beae7fbd023804e56edf7c97be994b89c9aaaa10 | /Cursor.cpp | ea2e280e0d51596c8a8de9172e9478b0f88b01fe | [] | no_license | haz93/OFEM | dc433704309c489676952313b3d4b0b48129337f | 79b997a3b2e7ef7c3e0d03e1e5c884a95bd243d0 | refs/heads/master | 2023-01-07T09:00:40.370369 | 2020-11-08T19:33:21 | 2020-11-08T19:33:21 | 267,773,281 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,107 | cpp | #include "StandardCursor.hpp"
#ifdef SFML_SYSTEM_WINDOWS
sf::StandardCursor::StandardCursor(const sf::StandardCursor::TYPE t)
{
switch (t)
{
case sf::StandardCursor::WAIT:
Cursor = LoadCursor(NULL, IDC_WAIT);
break;
case sf::StandardCursor::HAND:
Cursor = LoadCursor... | [
"noreply@github.com"
] | noreply@github.com |
2a9a0daa5f6645183e7085c95d2aeec7aaf31519 | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/ds/security/services/scerpc/client/infwrite.cpp | f293bba18726bfc7d2cc3261c54dc0be9df98e8f | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 148,756 | cpp | /*++
Copyright (c) 1996 Microsoft Corporation
Module Name:
infwrite.c
Abstract:
Routines to set information into security profiles (INF layout).
Author:
Jin Huang (jinhuang) 07-Dec-1996
Revision History:
--*/
#include "headers.h"
#include "scedllrc.h"
#include "infp.h"
#include "sceutil.h"
#includ... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
d9254cc90578dbfdd8c7240fad4f0c475637ef66 | b62e7086980cb97554b01dbfad64a040f9f80165 | /NtupleMacros/SSDilep/CORE/selections.h | 8ab05f22caf328958c54b1bc98567baadc112c43 | [] | no_license | tastest/CMS2 | f819962e172c712abd82a8b213c4cb2286bcdcfe | e31e02d6037fbef206e216413b4def558ccefb39 | refs/heads/master | 2021-01-10T20:22:52.181267 | 2013-07-12T15:16:31 | 2013-07-12T15:16:31 | 10,772,930 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,406 | h | #ifndef SELECTION_H
#define SELECTION_H
#include "TLorentzVector.h"
#include "Math/LorentzVector.h"
#include <vector>
#include <iostream>
#include <utility>
typedef ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D<float> > LorentzVector;
enum TrackAlgorithm { undefAlgorithm=0, ctf=1, rs=2, cosmics=3, iter0=4,
... | [
"spadhi"
] | spadhi |
8e34c263d76bf125bd65d97cde8cabf590b76008 | d46ead741eedc19a080fbfd3e03af5436abfa1c8 | /mownit2/Lab2/Zad1/IInterpolation.h | 25c13aadeae9c360a9e075b9b75d204e62231c5b | [] | permissive | YuseqYaseq/University-Projects | 70acc28586a2adc07c6d075ec4330f80d2062b32 | a12e06d378e6e3cec2363c0f52a28f64900f7429 | refs/heads/master | 2021-09-09T13:08:01.890487 | 2019-12-28T14:49:11 | 2019-12-28T14:49:11 | 142,026,301 | 0 | 2 | MIT | 2021-09-01T18:39:26 | 2018-07-23T14:32:38 | Java | UTF-8 | C++ | false | false | 521 | h | //
// Created by joseph on 17.10.18.
//
#ifndef LAB2_IINTERPOLATION_H
#define LAB2_IINTERPOLATION_H
/// <summary>
/// Defines structure for interpolation classes
/// </summary>
class IInterpolation
{
// public construction and destruction methods
public:
virtual ~IInterpolation() = default;
// public int... | [
"jozefjasek@gmail.com"
] | jozefjasek@gmail.com |
2b71ad3c52661e82197efafd689f8bffa8a29b65 | bdb86d72be26f0d2d4d72d692f0875887fd11402 | /BCC102/include/windows/sdk/msxml.h | 4c5668b423bd9e2aedf66f8a094d16be5a7d1497 | [] | no_license | KaarthicPulogarajah/Battleship | 28168359e4209a36b12e855668105ab31f7121f3 | a216169e28c7b54c730df23d61ab07d25d487c05 | refs/heads/master | 2021-01-12T04:23:33.630829 | 2019-08-21T01:37:39 | 2019-08-21T01:37:39 | 77,579,201 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 386,425 | h | #pragma option push -b -a8 -pc -A- -w-pun /*P_O_Push*/
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 8.00.0611 */
/* @@MIDL_FILE_HEADING( ) */
/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_R... | [
"kaarthicp@hotmail.com"
] | kaarthicp@hotmail.com |
b0902fe63be6998660ea4d804788d2c182745313 | 55e9ce5e1910f3ef48bba3ebdebe4e3a143ca9d3 | /server/world/proc_logic2world_robot.cpp | 7edf3c8dfd480c2399d0e4003549b7d844d103f2 | [] | no_license | commshare/2017_uLua_server | b7422802fb76c85f755326d207bdb30595947c18 | a85a1af2165e96787bce23fbf8a569f1ec0ac28a | refs/heads/master | 2020-04-10T03:03:57.797396 | 2017-05-28T11:55:34 | 2017-05-28T11:55:34 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 871 | cpp | #include "stdafx.h"
#include "proc_logic2world_robot.h"
#include "game_player_mgr.h"
#include "game_player.h"
#include "global_sys_mgr.h"
#include "robots_sys.h"
using namespace boost;
void initLogic2WorldRobot()
{
packetl2w_request_robot_factory::regedit_factory();
}
// 请求机器人
bool packetl2w_request_robot_factory::... | [
"825126369@qq.com"
] | 825126369@qq.com |
fb82e943e7cffd2a064c08122aebba8c62fb1fb8 | c9cf0586ace11aa32fa67606d237a130a06364ee | /circular-cylinder-2-40/19.65/p | 12e483c0d7a67a9aaac5f43434033f58cf058953 | [] | no_license | jezvonek/CFD-Final-Project | c74cfa21f22545c27d97d85cf30eb6dc8c824dc1 | 7c9a7fb032d74f20888effa0a0b75b212bf899f4 | refs/heads/master | 2022-07-05T14:43:52.967657 | 2020-05-14T03:40:56 | 2020-05-14T03:40:56 | 262,370,756 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 89,813 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6.0
\\/ M anipulation |
\*-----... | [
"danieler@login3.stampede2.tacc.utexas.edu"
] | danieler@login3.stampede2.tacc.utexas.edu | |
949f18424c1eb9e3d9605f9964d57b7d340eb226 | 38c10c01007624cd2056884f25e0d6ab85442194 | /ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11_unittest.cc | 61dd76d758015528871ec121f98881b3c090ba55 | [
"BSD-3-Clause"
] | permissive | zenoalbisser/chromium | 6ecf37b6c030c84f1b26282bc4ef95769c62a9b2 | e71f21b9b4b9b839f5093301974a45545dad2691 | refs/heads/master | 2022-12-25T14:23:18.568575 | 2016-07-14T21:49:52 | 2016-07-23T08:02:51 | 63,980,627 | 0 | 2 | BSD-3-Clause | 2022-12-12T12:43:41 | 2016-07-22T20:14:04 | null | UTF-8 | C++ | false | false | 31,138 | 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.
#include <map>
#include <vector>
// Include views_test_base.h first because the definition of None in X.h
// conflicts with the definition of None in gte... | [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
d5bf730999e347a405c111005c4cba1e24a47cfc | e4d4c543dd46a1fabdf44480953f8cd2194d0fc9 | /UVA/UVA 11827 - Maximum GCD.cpp | 582573da2c2cf9384044fb4008102a3db34be9d8 | [] | no_license | jose-joaquim/Competitive-Programming | a764a177c73f15fb50b37d061ec0c0ef0d77269b | f4ebee0b927a50b927f3b4b2ea13fe0f8d132b69 | refs/heads/master | 2023-04-03T19:40:36.269056 | 2018-06-28T21:27:29 | 2018-06-28T21:27:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,061 | cpp | //Author/Autor: José Joaquim de Andrade Neto
//Link da questão: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2927
#include <iostream>
#include <cstdio>
#include <cmath>
#include <vector>
#include <sstream>
#include <string.h>
#include <stdlib.h>
#include <string>
usin... | [
"José Joaquim"
] | José Joaquim |
3888b937fb9782ef6919d65083717114e948b48f | 1bf8b46afad5402fe6fa74293b464e1ca5ee5fd7 | /Demo/Shenmue3SDK/SDK/BTT_PlayerFollow_MoveToSpline_functions.cpp | 6c3dd0f5750153210902271cb722298e396a2089 | [] | no_license | LemonHaze420/ShenmueIIISDK | a4857eebefc7e66dba9f667efa43301c5efcdb62 | 47a433b5e94f171bbf5256e3ff4471dcec2c7d7e | refs/heads/master | 2021-06-30T17:33:06.034662 | 2021-01-19T20:33:33 | 2021-01-19T20:33:33 | 214,824,713 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,552 | cpp |
#include "../SDK.h"
// Name: S3Demo, Version: 0.90.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Functions
//---------------------------------------------------------------------------
// Function BTT_PlayerFollow_... | [
"35783139+LemonHaze420@users.noreply.github.com"
] | 35783139+LemonHaze420@users.noreply.github.com |
3c552c8e518a4edaad8a1380c8bf03bf66de6535 | efc4772a909c360a5c82a80d5bda0971415a0361 | /third_party/openh264/src/test/encoder/EncUT_Sample.cpp | 1dd94310a1c2256658a3308f29bee67755774344 | [
"BSD-2-Clause",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jasonblog/RTMPLive | 7ce6c9f950450eedff21ebae7505a62c9cb9f403 | 92a018f50f7df19c255b106dc7f584b90f1fe116 | refs/heads/master | 2020-04-22T01:31:04.504948 | 2019-02-13T05:30:19 | 2019-02-13T05:30:19 | 170,016,488 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 29,365 | cpp | #include <gtest/gtest.h>
#include <math.h>
#include "cpu_core.h"
#include "cpu.h"
#include "sample.h"
#include "sad_common.h"
#include "get_intra_predictor.h"
using namespace WelsEnc;
#define GENERATE_Intra16x16_UT(func, ref, ASM, CPUFLAGS) \
TEST (IntraSadSatdFuncTest, func) { \
const int32_t iLineSizeD... | [
"jason_yao"
] | jason_yao |
c36724a6a765e93f920615f30082e48384ffe26f | 2a5b3f4acc7f22ef232da6aee2f5b617d0b11762 | /lab30/lab30.cpp | 2e0dcb0d7d9d1b2d7dafc3dc0f7e14c470e555d4 | [] | no_license | AlekzandrZablockis/alekzandrzablockis-CSCI20-Fall2017 | c380f3d5a3c492b0fb357f7c677299b4099a0209 | dd387873aa5fd05f401736f429406297c19f209b | refs/heads/master | 2021-01-19T16:02:14.084762 | 2017-12-10T06:49:43 | 2017-12-10T06:49:43 | 100,983,333 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,558 | cpp | // Alekzandr Zablockis
// 10/31/17
// This program is the childrens game Hi Ho! Cherry- O
#include <iostream>
#include <ctime> // For srand(time()) function to create truly randomly generated numbers
using namespace std;
/*
The purpose of this class is to have the functions and variables that will all be used by the... | [
"azablockis001@student.butte.edu"
] | azablockis001@student.butte.edu |
be34e4754f5dacbc41d4957569a876ad1f9a7925 | 21c9a61c287a8a63525ec473d56d43d30cce872e | /Core/src/Game.cpp | 5524dec6536972f60285f4d7ceac27942cb08204 | [] | no_license | lazarev-pv/robot-game | 444242166766bc4753e170177522f6286ae46df5 | f4f22f2f2f7da51c07eb3b148d844fbd187fe867 | refs/heads/master | 2021-01-10T09:17:15.792534 | 2015-10-01T16:57:54 | 2015-10-01T16:57:54 | 43,508,571 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,388 | cpp | #include <ChibiEngine/Game.h>
#include <ChibiEngine/Render/Particles/ParticleSystem.h>
#include <ChibiEngine/Render/Particles/EffectTempl.h>
#include <ChibiEngine/Resource/FileSystem.h>
#include <ChibiEngine/Render/ScreenSystem.h>
#include <ChibiEngine/Render/Shaders.h>
#include <ChibiEngine/Physics/Physics.h>
#include... | [
"lazarev.p.v@gmail.com"
] | lazarev.p.v@gmail.com |
73563ddf8dee7d9b6e67ccfe0173086c8f00d506 | baf32fa1a4d3ac49b59c35f0a9226ff2a786fbc6 | /FenwikTree OR BIT/BinaryIndexTree.cpp | f004f4789ddaab0caf10493c71354755c035c7ce | [] | no_license | rajnishgeek/DSandAlgorithmPracticeSolution | 1ef24f140a2a5d9d435b7fa36edf77074473f7b6 | 2cdd988c286f61552bd92ae995415e613d8af2fa | refs/heads/master | 2023-07-14T21:15:24.016176 | 2021-09-01T18:00:04 | 2021-09-01T18:00:04 | 271,195,284 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 932 | cpp | #include <iostream>
#include <bits/stdc++.h>
using namespace std;
//for upadation of BIT
void updateBIT(int *bit, int index, int value)
{
while (index < bit.size())
{
bit[index] += value;
index += index & -index;
}
}
//function for constructing binary index tree or fenwick tree
int *constru... | [
"rajneeshsharma540@gmail.com"
] | rajneeshsharma540@gmail.com |
ea9b36536d62565452ac96f02ce17058256235e8 | 7df531accf2de5622b944320861366a288accec6 | /dmoj/ccc/ccc07s4 - Waterpark.cpp | 4b3b788f5b10960b2f474f54dc64e0e2e66c7a7a | [] | no_license | chen-jy/competitive-programming | 12b345bd1122e4d55ee02eb44bd0a06d52e4e851 | 50403d591738d2159d9409443aa8af61ab31677a | refs/heads/master | 2020-05-01T12:44:55.736472 | 2019-03-25T01:28:28 | 2019-03-25T01:28:28 | 101,439,562 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 671 | cpp | #include <iostream>
#include <vector>
#include <cstring>
using namespace std;
vector<vector<int>> graph(10000);
int memo[10000], n;
int DFS(int x)
{
if (x == n)
return 1;
int t = 0;
for (int i = 0; i < graph[x].size(); i++)
{
if (memo[graph[x][i]] != -1)
t += memo[graph[x][i]];
else
... | [
"jyc.chen@mail.utoronto.ca"
] | jyc.chen@mail.utoronto.ca |
b5b76dafdf5cfeb9b21729d830aea5f97b7cc7ca | ac5145eb52e42d5fbb123f111dab6339e96286a7 | /v14he8k6/cpp/cnstrctr/cnstrct3.cpp | e53be1f6aaa68c50f0580bcb9d3378d66f4ae0a7 | [] | no_license | ramakrishnakondapalli/My-Programs | fa854a13965371769c1eef99e1398aa9bfe5f311 | 9c17a489a65268e53be7f561206cbac14fb0e3c8 | refs/heads/master | 2020-06-20T19:42:01.031265 | 2016-11-25T07:54:30 | 2016-11-25T07:54:30 | 74,745,173 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 739 | cpp | #include<iostream>
#include<cstring>
using namespace std;
class student
{
int roll_no;
char *name;
float marks;
public: student()
{
/* cout<<"Enter roll no"<<endl;
cin>>roll;
cout<<"Enter name"<<endl;
cin>>name;
cout<<"Enter marks"<<endl;
... | [
"ramakrishna@gamil.com"
] | ramakrishna@gamil.com |
4f2dcb4e45596629f42a92b574509528aa7b12e3 | d5b797908c2fdf299f76d980c9d3e6a64d8e910f | /src/CAVLite/CACF.cpp | f9d2829450578d5a4e0f979bbaa2e6c476f5f8d0 | [] | no_license | jiawlu/CAMLite | ee121cb87dcb76f40d9f0e1d4a3f705253504b1b | d19a508733b3eff73438d48f0a93541cf123f229 | refs/heads/master | 2023-07-07T01:43:40.214037 | 2023-06-22T14:35:52 | 2023-06-22T14:35:52 | 294,835,135 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 12,693 | cpp | #include "CACF.h"
#include "stdafx.h"
#include "CSVParser.h"
#include "config.h"
#include <iostream>
float VehControllerCA::default_time_headway;
int VehControllerCA::default_safe_headway_in_simu_interval;
std::map<int, float> VehControllerCA::time_headway_dict;
std::map<int, int> VehControllerCA::safe_headway_in_sim... | [
"lujiaweiseu@163.com"
] | lujiaweiseu@163.com |
4af9e9e6e3ef59042086f571e16b4c627be5cc6d | 8ac12207906fd0ee9e99071e56bd089915747593 | /components/rollkit/include/rollkit/accessory.hpp | d8de3c570dfeadfbbd3af7887f6138d5e2ba8a1c | [
"MIT"
] | permissive | NeilBetham/rollkit | 2465e60a40e66da2b5ba6841342408dc8dd8f2a2 | e82026397c892b5f0d3b53891d5efa51d941fd9d | refs/heads/master | 2021-06-14T12:06:56.211319 | 2021-02-25T05:40:19 | 2021-02-25T05:40:19 | 134,494,094 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 659 | hpp | #ifndef ACCESSORY_HPP
#define ACCESSORY_HPP
#include <cstdint>
#include <list>
#include "json.hpp"
#include "rollkit/instance_id_manager.hpp"
#include "rollkit/service.hpp"
namespace rollkit {
class Accessory {
public:
Accessory() : _instance_id(get_id_manager().get_acc_id()) {}
uint64_t get_id() const { ret... | [
"nbetham@me.com"
] | nbetham@me.com |
41364ec3f73881e5e7634746906d514d5530bf04 | c260cc49e94210f1895d2ad19206c163c7c0f7ca | /src/xml/tinystr.cpp | 607a692b20609352e1f2b4a15b84faaedd7bc3bb | [] | no_license | GuillaumeSeg/IMAineCraft | 3074aa8f4da068bcfbba6e1bd825c9173eb3c8fa | f8d2d207e123170db758cecee19902a107ac027d | refs/heads/master | 2021-01-10T19:12:40.957657 | 2013-01-11T14:36:06 | 2013-01-11T14:36:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,525 | cpp | /*
www.sourceforge.net/projects/tinyxml
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any
damages arising from the use of this software.
Permission is granted to anyone to use this software for any
purpose, including commercial applications... | [
"guillaume.segado@gmail.com"
] | guillaume.segado@gmail.com |
715f077d1d847c782b6023565ef92abf98f4ce8f | 9df24e9110f06ea1004588c87a908c68497b22c0 | /2016/lugo/P1144.cpp | 5ec6f832b679758a29047853ef7339f9adf271ff | [] | no_license | zhangz5434/code | b98f9df50f9ec687342737a4a2eaa9ef5bbf5579 | def5fdcdc19c01f34ab08c5f27fe9d1b7253ba4f | refs/heads/master | 2020-07-02T17:24:14.355545 | 2019-03-13T12:39:45 | 2019-03-13T12:39:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,257 | cpp | #include <iostream>
#include <cstdio>
#include <algorithm>
#include <cstring>
using namespace std;
const int MAXN=100005;
const int MAXM=200005;
const int INF=0x7fffff;
const int MOD=100003;
struct Edge
{
int to,next;
Edge()
{
to=next=-1;
}
}e[MAXM<<1];
int first[MAXN];
int q[MAXN];
int d[MAX... | [
"728031989@qq.com"
] | 728031989@qq.com |
2718810b36ca862706b80c2f26da588eb85fe129 | 980ad4d2992e81a0f9a8c8a24399b2e8c038bc16 | /src/checkpoints.cpp | eb5d2f71fddaf3510d15d93997f0318c2bcb904c | [
"MIT"
] | permissive | mjk22/neodash-testing | 8ad7879908c5123d809bd5583afdcae6da2572d8 | 1fc9a8164cc3d5365637a849a416d288b103ca7e | refs/heads/master | 2021-05-05T13:32:25.758541 | 2018-01-21T16:30:01 | 2018-01-21T16:30:01 | 118,398,563 | 0 | 0 | null | 2018-01-22T02:57:39 | 2018-01-22T02:57:39 | null | UTF-8 | C++ | false | false | 3,334 | cpp | // Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2017 The Dash Core developers
// Copyright (c) 2017-2018 The Neodash Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "checkpoints.h... | [
"31070418+CryptoMonzt0r@users.noreply.github.com"
] | 31070418+CryptoMonzt0r@users.noreply.github.com |
cd1073168be8414a755953a27193312c4b7752ad | db5bba94cf3eae6f1a16b1e780aa36f4b8c3c2da | /yundun-ds/src/model/CreateDataLimitRequest.cc | 6ac7f803c05fed41c98969e193e82472d812372c | [
"Apache-2.0"
] | permissive | chaomengnan/aliyun-openapi-cpp-sdk | 42eb87a6119c25fd2d2d070a757b614a5526357e | bb7d12ae9db27f2d1b3ba7736549924ec8d9ef85 | refs/heads/master | 2020-07-25T00:15:29.526225 | 2019-09-12T15:34:29 | 2019-09-12T15:34:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,089 | 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 |
05dba636bbf9622d80bd11c7288e8551ea60c1a9 | 3ad968797a01a4e4b9a87e2200eeb3fb47bf269a | /TurboDLL_src/TurboDemo/TurboDemo.h | 72960f8d45277a20e06044bc13d0c67a6ff06960 | [] | no_license | LittleDrogon/MFC-Examples | 403641a1ae9b90e67fe242da3af6d9285698f10b | 1d8b5d19033409cd89da3aba3ec1695802c89a7a | refs/heads/main | 2023-03-20T22:53:02.590825 | 2020-12-31T09:56:37 | 2020-12-31T09:56:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,308 | h | // TurboDemo.h : main header file for the TURBODEMO application
//
#if !defined(AFX_TURBODEMO_H__8825189A_02DF_4D98_A1A0_924167BA32CE__INCLUDED_)
#define AFX_TURBODEMO_H__8825189A_02DF_4D98_A1A0_924167BA32CE__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 's... | [
"pkedpekr@gmail.com"
] | pkedpekr@gmail.com |
68cc62189aa6994e0406410c46b3b103da40f16e | 39f91dc49461df23550f292ee76249b26bcbcad4 | /devel/.private/darknet_ros_msgs/include/darknet_ros_msgs/BoundingBoxes.h | 9d1ebf93d35d6e186c02f3214db0881e4f53f4da | [] | no_license | dkrystall/robosub_detection | efb997d5c87338c02bcb6dd59790d5a2717c8ca8 | c1b70ab3017d2c367e8f458a5ee5870e815cc4e1 | refs/heads/master | 2022-12-01T23:40:59.044889 | 2021-01-21T19:50:20 | 2021-01-21T19:50:20 | 178,419,681 | 0 | 0 | null | 2022-11-22T05:46:45 | 2019-03-29T14:23:12 | Makefile | UTF-8 | C++ | false | false | 7,636 | h | // Generated by gencpp from file darknet_ros_msgs/BoundingBoxes.msg
// DO NOT EDIT!
#ifndef DARKNET_ROS_MSGS_MESSAGE_BOUNDINGBOXES_H
#define DARKNET_ROS_MSGS_MESSAGE_BOUNDINGBOXES_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_messag... | [
"dkrystall@gmail.com"
] | dkrystall@gmail.com |
24d3d69f6d3687dd549b7d5a5d0c4d0c982d5759 | d64150646f11e6d153be161c8653fc852e7eb05d | /存储类、链接和内存管理/掷骰子/掷骰子/manydice.cpp | 18ec649772f558478d71d56d3c212ef4170d1f05 | [] | no_license | Hackergeek/C | 019e99da67624ee798954be57c4723ded7f1129b | cc73cc391e749825ef0235f019260b57ee8be3a0 | refs/heads/master | 2021-01-09T20:29:40.042076 | 2018-09-30T04:00:04 | 2018-09-30T04:00:04 | 61,952,229 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 600 | cpp | #include "diceroll.h"
#include<stdio.h>
#include<time.h>
#include<stdlib.h>
int main(void)
{
int dice,roll;
int sides;
srand((unsigned int) time(0));
printf("Enter the number of sides per die, 0 to stop.\n");
while (scanf_s("%d", &sides) == 1 && sides > 0)
{
printf("How many dice?\n");
scanf_s("%d", &dice);
... | [
"1224085894@qq.com"
] | 1224085894@qq.com |
85e5b230260918997d3979b6ab1acb912b9eb638 | e54e314a50b4b8fd7f6589492ce23436958ec091 | /Operator overloading/Relational operator overloading/smaller bw two number.cpp | 665b93d741ba0b0bc684a8a698505e2a76000ecd | [] | no_license | gauravsingh9891/C-Programming- | edaa7e15449010eeb6c5c2ef152e1112f193a0b9 | 57e48f9ac4916eff7bc0457fb3ccafe4f53b46c0 | refs/heads/master | 2020-08-03T09:51:48.189252 | 2020-01-24T20:04:50 | 2020-01-24T20:04:50 | 211,708,764 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 578 | cpp | #include<iostream>
#include<conio.h>
using namespace std;
class Smaller
{
private:
int x;
public:
Smaller()
{
x=0;
}
void get()
{
cout<<"Enter the value of x =";
cin>>x;
}
void show()
{
cout<<"Value of x ="<<x<<endl;
}
int operator <(Smaller s)
{
if(x<s.x)
{... | [
"gauravhacker8800@gmail.com"
] | gauravhacker8800@gmail.com |
2c4ac4aa8a68e44cb21676e2693707271040aa53 | 9185e2aefea655690f26571848cccd12a4145d2a | /BAT-0.9.3/benchmarks/test/BCIntegrate_TEST.cxx | 5418809c7484d812dada115ba5dcfccc0ae624ed | [
"DOC"
] | permissive | yannmu/Gator_2020 | f7460509f8df984bf3b895f0adc1e1964b16351f | 8042371ec8d8ca63fe6b0fa75cf1ad6a90572ac4 | refs/heads/master | 2023-04-19T02:13:53.520283 | 2021-05-04T14:53:35 | 2021-05-04T14:53:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,516 | cxx | /*
* Copyright (C) 2013, Daniel Greenwald and Frederik Beaujean
* All rights reserved.
*
* For the licensing terms see doc/COPYING.
*/
#include <config.h>
#include "IntegrationModel.h"
#include "GaussModel.h"
#include "test.h"
#include <BAT/BCMath.h>
#include <BAT/BCParameter.h>
using namespace test;
class BCI... | [
"grodriguesaraujo@protonmail.com"
] | grodriguesaraujo@protonmail.com |
f8e1e308c8ca82a58e445c3e01bdd382b3fa02f4 | 838dc822982d934996ed3c8c7980c5b6b305206b | /src/clientversion.cpp | 1a11b8823f02eeccf6c904274b746d2fb047eb4f | [
"MIT"
] | permissive | gncoincc/gncoin | 9eb6034bb4e83172bb009a3551feb0c42d6779e5 | e65a7481c7465f67f5ef9fef9e6e0a8d0b508e91 | refs/heads/master | 2020-06-17T17:53:38.545030 | 2019-07-09T11:54:40 | 2019-07-09T11:54:40 | 195,998,106 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,961 | cpp | // Copyright (c) 2012-2014 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "clientversion.h"
#include "tinyformat.h"
#include <string>
/**
* Name of client reported in the 'version' message. R... | [
"admin@gncoin.cc"
] | admin@gncoin.cc |
182145a8b112220fff03b06ffee7374f5ce60da8 | 4a3e68203e0a9ae20bebb6c30ed2e2095a86810d | /SAT_AppStorage/SAT_AppStorage.cpp | 5e66a2295075081afca647bdf4922baa9e5a0472 | [] | no_license | Unaim6/ArduSatSDK | 2310c2735dcae236bf9ae3b6c99cf025c7576687 | f69a22ec42f8adfc8ba0f44c3312ac2d3133aa2b | refs/heads/master | 2021-01-16T20:21:31.269876 | 2013-05-14T23:41:48 | 2013-05-14T23:41:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,942 | cpp | /*
SAT_AppStorage.cpp - Library to write arduino application data from arduino->supervisor.
Copyright (C) 2013 Jorge Ortiz for NanoSatisfi
Copyright 2013 NanoSatisfi, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.... | [
"nick.allain@gmail.com"
] | nick.allain@gmail.com |
ccef1eb18a64a9fc3ae918c3a88dd9afcb3fede9 | a5a99f646e371b45974a6fb6ccc06b0a674818f2 | /CondFormats/AlignmentRecord/src/ESAlignmentErrorExtendedRcd.cc | d697303b96ddffb8bb49c3849add1e5e67906e18 | [
"Apache-2.0"
] | permissive | cms-sw/cmssw | 4ecd2c1105d59c66d385551230542c6615b9ab58 | 19c178740257eb48367778593da55dcad08b7a4f | refs/heads/master | 2023-08-23T21:57:42.491143 | 2023-08-22T20:22:40 | 2023-08-22T20:22:40 | 10,969,551 | 1,006 | 3,696 | Apache-2.0 | 2023-09-14T19:14:28 | 2013-06-26T14:09:07 | C++ | UTF-8 | C++ | false | false | 207 | cc | #include "CondFormats/AlignmentRecord/interface/ESAlignmentErrorExtendedRcd.h"
#include "FWCore/Framework/interface/eventsetuprecord_registration_macro.h"
EVENTSETUP_RECORD_REG(ESAlignmentErrorExtendedRcd);
| [
"asvyatkovskiy@gmail.com"
] | asvyatkovskiy@gmail.com |
e1a40a60d0d45a07783cb435b9cb726e7b2a05e8 | 0ce926697d8284a137eb6ccf999b45106e6c10e8 | /Plonk/AnimatedSprite.h | 6dcdb07fa9f0a4c9ff73f28b6c2e9795638706c2 | [] | no_license | HexyWitch/sfml-plonk | b57a0d1334c0d808ad14fdfff3adafe2b5a5a866 | ab184d9769c377d6fa5e70eed7213a9351e33bec | refs/heads/master | 2023-01-29T09:18:38.425904 | 2013-08-02T12:16:08 | 2013-08-02T12:16:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 470 | h | #pragma once
#include "SpriteSheet.h"
#include "Animation.h"
#include <string>
#include <map>
class AnimatedSprite : public SpriteSheet
{
public:
AnimatedSprite(sf::Vector2i tileSize, sf::Vector2i sheetSize);
void AddAnimation(std::string name, std::vector<int> frames, float frameRate, bool loopAnimation);
void St... | [
"bananavice@gmail.com"
] | bananavice@gmail.com |
48af257895ea9509f0d8fd226901166151f92203 | a1f009fbc7700cd17fffcd97518bda1593064e33 | /source_code/C/multithread/sum_thread.cpp | ab5879901b11f950bcef1a00ae45c6525ed36b7b | [] | no_license | Alrin12/ComputerScienceSchool | 2db06f9d198f67ad587535b3cab0dabd8a4b8e5c | 7543ae686394fc573f80bf680ae4371a2871dede | refs/heads/master | 2021-01-23T15:04:22.672139 | 2017-07-17T15:32:31 | 2017-07-17T15:32:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,320 | cpp | #include <stdio.h>
#include <Windows.h>
#include <process.h>
#define ARR_SIZE 100
#define THREAD_NUM 4
long long gSum = 0;
int cnt = 0;
HANDLE hMutex;
unsigned WINAPI SumArr(void *);
int main(int argc, char ** argv)
{
unsigned int threadIDArr[THREAD_NUM];
//threadArray
HANDLE threadArray[THREAD_NUM];
hMute... | [
"ythwork83@gmail.com"
] | ythwork83@gmail.com |
9d1b5484645c7b6d3b1ec23d4341f95c9718d2ae | 2c5c6aa01ae2d09c4c73911a6ed20dac8637ae3e | /Gzdoom/src/g_shared/a_weaponpiece.cpp | fe36951112191b06adad23e8fec8597611934bbe | [] | no_license | Xeomuz/Doom-Port-Source-Code | ae095d4540b65eec209f3c2f9ac8586a2b90f859 | 6fe301ea5916de0bd8f06bdcd4bfe926a995dc6b | refs/heads/master | 2020-12-24T08:49:39.084300 | 2016-09-05T05:50:54 | 2016-09-05T05:50:54 | 5,394,666 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,676 | cpp | #include "a_pickups.h"
#include "a_weaponpiece.h"
#include "doomstat.h"
#include "farchive.h"
IMPLEMENT_CLASS (AWeaponHolder)
void AWeaponHolder::Serialize (FArchive &arc)
{
Super::Serialize(arc);
arc << PieceMask << PieceWeapon;
}
IMPLEMENT_POINTY_CLASS (AWeaponPiece)
DECLARE_POINTER (FullWeapon)
END_POINTERS
... | [
"atma_chaos50@yahoo.com"
] | atma_chaos50@yahoo.com |
751b8ca5f229f9eac6f15ef33a8e4558cc2e899e | a3077f14d1657e39d70e3b13c69064cd170b22ce | /aufgabe5/tlibrary.h | 47b4cd1fea73ce63b63907e4a80a9cb88ee4fc77 | [] | no_license | theevanich/CppKempfer | ceb9dd0726beaab2ac4205c8f76f3793e65c8a46 | 408baad33b3f4fcee4e3d91b040359b18f613e92 | refs/heads/master | 2021-01-19T16:10:34.971030 | 2017-07-23T12:00:08 | 2017-07-23T12:00:08 | 88,253,635 | 1 | 2 | null | 2017-07-23T12:00:09 | 2017-04-14T09:23:20 | C++ | UTF-8 | C++ | false | false | 1,160 | h | #ifndef TLIBRARY_H
#define TLIBRARY_H
#include <fstream>
#include <iostream>
#include <string>
#include <vector>
#include "tdate.h"
#include "tlocation.h"
#include "taddress.h"
#include "tperson.h"
#include "tmedium.h"
#include "temployee.h"
#include "tcustomer.h"
#include "tprintedmedium.h"
#include ... | [
"issac.zyborg@gmail.com"
] | issac.zyborg@gmail.com |
6b413cdeeda32be877eaf2e564d0e20058e74ede | c5457e86f179fdf0382da6f8085e156946a97d96 | /Tetris visual/Main.cpp | e09cf88924ea3f4ca8842a908b1cb8ff518585f5 | [] | no_license | DianaCardoso/Tetris | 353743526241d519470d9378986cbcb0cd7a0353 | 39a66fefa9f438bab94d0cdee628569c03652449 | refs/heads/master | 2021-08-26T05:02:22.359824 | 2017-11-21T17:21:18 | 2017-11-21T17:21:18 | 111,579,312 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 462 | cpp | #include "Tetris.h"
#include <conio.h>
#include <stdio.h>
#include <stdlib.h>
#include <Windows.h>
//kbhit();
//Sleep(milis);
int main() {
srand(time(NULL));
inicializa(20,20); //inicializa o jogo, informando as dimensões da tela
telainicial();
while (!quit()) {
executajogo(); //função que executa o jo... | [
"dianamcds@gmail.com"
] | dianamcds@gmail.com |
7bccbc6edb15600f38473fc682948e378e444c75 | b4cb38c956f17f8383a602f79734aec91b9a7904 | /source/FAST/Examples/Interoperability/qtInteroperability.cpp | eadf6f43a4aaa9de78c7c8bfb8341d1e545ddd5a | [
"Apache-2.0",
"BSD-2-Clause",
"LGPL-2.0-or-later",
"MIT"
] | permissive | smistad/FAST | db47ca4378c77548600cbf0c404792d4330e6b22 | 73209765d7fedc1df7e3fd3cd5b7e8540eb0d74d | refs/heads/master | 2023-08-16T01:39:23.106440 | 2023-08-15T11:21:47 | 2023-08-15T11:26:52 | 17,882,588 | 375 | 95 | BSD-2-Clause | 2023-03-08T12:34:38 | 2014-03-18T21:26:28 | C++ | UTF-8 | C++ | false | false | 573 | cpp | /**
* Examples/Interoperability/qtInteroperability.cpp
*
* If you edit this example, please also update the wiki and source code file in the repository.
*/
#include "qtInteroperability.hpp"
int main(int argc, char** argv) {
// Create Qt Application
QScopedPointer<QApplication> app(new QApplication(argc, a... | [
"smistad@idi.ntnu.no"
] | smistad@idi.ntnu.no |
19fb7cec30171329c63381bea532b6c0ad31d9c8 | ff2ecf52daba1c0f29ad1f5e6d1b3f146e561230 | /Chodnik.cpp | 4e114557622eb05b630152eca42e85e3da60c63e | [] | no_license | asikson/Algorithms | 2792581f6694af2b6b91feddb07ee9ec9d062719 | b7ded9da1de80d7cafc70d28bc5e7f20afe41450 | refs/heads/master | 2022-11-25T09:31:17.744661 | 2020-07-30T21:13:15 | 2020-07-30T21:13:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,233 | cpp | // Joanna Mielniczuk
#include <bits/stdc++.h>
using namespace std;
int n;
int cycleCTRL;
struct plate
{
int l;
int m;
int r;
};
bool Visited[10001]; // visited vertices
vector<plate> Path; // used plates
vector<plate> Edges[10001]; // list of edges
void DFS(int vertice)
{
Visited[vertice] = true;
... | [
"Asikson"
] | Asikson |
679e06be16fca044d9140cecc081b56b96d1a811 | 619023beac5024be874417cbbb4c878519b78777 | /iolib/He/he.threads.h | b9e4a89857a9e61dd3075fe523016537aab066a3 | [
"Apache-2.0",
"MIT",
"MS-PL",
"Libpng",
"Zlib",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | SerVB/pph-native | 73feea2036d7d5597b651f1c004bc4a811212bf4 | 22a6ff265158c57413c4e74443b6c2fd1538ff29 | refs/heads/master | 2023-08-29T15:26:11.981956 | 2021-11-04T15:14:04 | 2021-11-04T15:14:04 | 420,064,860 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,818 | h | /*
* This file is a part of Pocket Heroes Game project
* http://www.pocketheroes.net
* https://code.google.com/p/pocketheroes/
*
* Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in comp... | [
"sigman@ioupg.com"
] | sigman@ioupg.com |
63f1a6502ed3d6ee3b0dacfe2f94d763748a845a | f7eb5e14c2e15e446009e813b274261d72a0f529 | /platforms/android/aace/src/main/cpp/include/aace/phonecontrol/PhoneCallControllerBinder.h | c9dd74551ac717e1e01a71ead4c36043e29df3f6 | [
"GPL-2.0-only",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | syl22-00/aac-sdk | e3630bbfc52c755aefead2dc9f5bfa35953ad547 | 79696da55b0bca09a4c68f361ef1f47efb8f717e | refs/heads/1.0 | 2020-03-26T22:10:47.610192 | 2018-08-20T15:47:50 | 2018-08-20T15:47:50 | 145,437,671 | 0 | 0 | Apache-2.0 | 2018-08-20T15:42:44 | 2018-08-20T15:42:44 | null | UTF-8 | C++ | false | false | 1,688 | h | /*
* Copyright 2017-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "... | [
"mark@jynx.com"
] | mark@jynx.com |
10f5c4696e9a5380ed730501954f1e338d5aee7b | 9aabc1932a8fed3843aa914cacf88a2f33641a33 | /Speck/SpeckEngine/MaterialShaderStructure.h | d6c9b01aa840c3ec11afe9efecb054ade1aeca8d | [
"MIT"
] | permissive | Bojanovski/Speck | 1df8d9ab7eaa68ffd5178eaa8a3712149656c09c | 41d64de63c54424e06b66f653e854cab8a1cc6f8 | refs/heads/master | 2021-01-23T02:15:17.090086 | 2020-01-12T01:24:47 | 2020-01-12T01:24:47 | 85,975,191 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,273 | h |
#ifndef MATERIAL_SHADER_STRUCTURES_H
#define MATERIAL_SHADER_STRUCTURES_H
#include "SpeckEngineDefinitions.h"
#include "MathHelper.h"
namespace Speck
{
struct Material
{
Material() = default;
virtual ~Material() = default;
// Basic constants
DirectX::XMFLOAT4 DiffuseAlbedo = { 1.0f, 1.0f, 1.0f, 1.0f };
... | [
"Bojan"
] | Bojan |
ecbcf5fdbbebbbb72f835bb8e5741781d2f14571 | 054c59cd22145c7eea26429c39795c31843eb8c2 | /comments.cpp | 837f682aba4db99575832acb8f667d9f4f8f34d5 | [
"MIT"
] | permissive | u1tbmo/cpp-basics | ef532295bf53744d06db478423036f6a9115fe89 | d2d0d3f2c4c7de128f4359ad936a58ceb15fc5d7 | refs/heads/main | 2023-06-10T16:50:27.507560 | 2021-06-28T16:51:14 | 2021-06-28T16:51:14 | 380,520,644 | 0 | 0 | MIT | 2021-06-28T16:54:07 | 2021-06-26T14:24:02 | C++ | UTF-8 | C++ | false | false | 484 | cpp | //Comments by u1tbmo
#include <iostream>
using namespace std;
int main(){
//This is a single line comment.
cout << "This is obviously not a comment." << endl;
cout << "This is also obviously not a comment." << endl; // This is also a single line comment.
/*
All lines between // with asterisks... | [
"tabamoeuan@gmail.com"
] | tabamoeuan@gmail.com |
fe3b089cec8f69c57a590c39420afc4a4fc36f9e | ff5c60b14b382dd50e75816b0def2c3a1d979c3e | /Gems/DragonCrashGameManager/Code/Source/DragonCrashGameManagerSystemComponent.cpp | d3c5b7e421098765acdf8aef848099a70efbc907 | [] | no_license | Dragoncrash/DragonCrash-Core-Release | 4c54ace2516cbeb2308079565241b32e6d2ddeb6 | eba70386adec12a51d8acf1a3a58a251c64b3c11 | refs/heads/master | 2021-06-12T02:12:37.181224 | 2017-02-10T05:42:24 | 2017-02-10T05:42:24 | 77,488,266 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,294 | cpp |
#include "StdAfx.h"
#include <AzCore/Serialization/SerializeContext.h>
#include <AzCore/Serialization/EditContext.h>
#include "DragonCrashGameManagerSystemComponent.h"
namespace DragonCrashGameManager
{
void DragonCrashGameManagerSystemComponent::Reflect(AZ::ReflectContext* context)
{
if (AZ::Serial... | [
"lily_33dan@live.com"
] | lily_33dan@live.com |
da3f9ce1236d21ac21f6741b2623ce03c081dd8b | 3bff7d994799234468e163ecfe6fd4ecd9176061 | /networking_dwnld_file/src/RawHeaderView.hpp | 3d60d8d07649637488159548ca3aae42f315720f | [
"Apache-2.0"
] | permissive | iasoule/Cascades-Samples | fd3efb99a3a94e88a3bca55534ab260067f1b3d2 | 7db43398b8af96238dabf7e254dc7c53ed226b25 | refs/heads/master | 2020-12-25T23:20:00.213170 | 2014-03-21T18:27:37 | 2014-03-21T18:27:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,209 | hpp | /*
* Copyright (c) 2011-2014 BlackBerry Limited.
*
* 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 applic... | [
"ggrosso@blackberry.com"
] | ggrosso@blackberry.com |
0e988fb39410ca2d2132f0a99018d9928c110e83 | e615b29d95e8b2e61d40daed9579b1319662ab03 | /examples/hello/hello_world_lib_bench.cpp | 963e8008fe4aef266680451fd6cf2864eed81c46 | [
"Unlicense"
] | permissive | juugcatm/bazel_environment | e532fd5d90b1398dde868a71dc122f4acf6e40a4 | 248cfb923ea83a270082883079af617e507cc760 | refs/heads/master | 2020-06-04T04:27:07.044993 | 2019-10-09T20:56:16 | 2019-10-09T20:56:16 | 191,872,689 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 537 | cpp | #include "benchmark/benchmark.h"
#include "examples/hello/hello_world.pb.h"
#include "examples/hello/hello_world_lib.h"
static void BM_HelloPrint (benchmark::State& s_) {
hello::proto::Hello bench_options;
for (auto _ : s_) {
hello::print(bench_options);
}
}
BENCHMARK(BM_HelloPrint);
static void BM_HelloP... | [
"derek@zoox.com"
] | derek@zoox.com |
9f267d58fb86259a9d90e653aea51e7fc31936de | f0bd42c8ae869dee511f6d41b1bc255cb32887d5 | /Codeforces/_Gym/2016-2017 CT S03E04/E. The Bavarian Beer Party.cpp | d6990098638e37abda8de1ba512be0017317f039 | [] | no_license | osamahatem/CompetitiveProgramming | 3c68218a181d4637c09f31a7097c62f20977ffcd | a5b54ae8cab47b2720a64c68832a9c07668c5ffb | refs/heads/master | 2021-06-10T10:21:13.879053 | 2020-07-07T14:59:44 | 2020-07-07T14:59:44 | 113,673,720 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 754 | cpp | /*
* E. The Bavarian Beer Party.cpp
*
* Created on: Oct 11, 2016
* Author: Osama Hatem
*/
#include <bits/stdtr1c++.h>
#include <ext/numeric>
using namespace std;
int arr[1000], dp[1005][1005];
int solve(int s, int e) {
if (s >= e)
return 0;
int& ret = dp[s][e];
if (~ret)
return ret;
for (int i = ... | [
"osama@elysian.team"
] | osama@elysian.team |
4b59af0cd59ceac330c96a5eec929f1f0552eeb9 | 977873dc4cffcf38940d639a4f69a76cf69d3150 | /practise/202105/20210507.cpp | 8cbbc586822268543e4d350fa2d9724f6b7e988b | [] | no_license | truly-ic/bofan | dfe1e297bfd31033dbf8d5bb7a96cbc937248fd9 | fcbc1ed4b6ff191063cbbde5ec8e3cd08da14c87 | refs/heads/master | 2023-08-26T16:25:27.655802 | 2021-11-01T13:34:51 | 2021-11-01T13:34:51 | 423,458,091 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,968 | cpp | #include<iostream>
using namespace std;
void bigger();
void getMod();
void countNum();
void n2Times();
void bigCommonDivisor();
void getTop2of4();
void printTrigleStars();
void printRectangle();
void printBlankTrigle();
void gcd2();
int gcdR(int a, int b);
int c;
int main()
{
//call the bigger function
//bigger();
... | [
"liu.yong@msn.com"
] | liu.yong@msn.com |
476b5d8fd061ce2e052a88a96189bab35bd3ad67 | 7997399e66ef439742e0c84e78fed527a944ecae | /include/brushmenuwidget.h | 458d3cde4e43fe8fd05a2a7fbad1e53552f2a181 | [] | no_license | dprandle/bbtoolkit | 2ced1d529a1e13df5da85164cc5a435919a291bf | 3c6ef72a5a4183b2ea82b48ea172e2fc1ae7fa91 | refs/heads/master | 2021-05-16T04:22:38.636799 | 2017-10-14T16:52:57 | 2017-10-14T16:52:57 | 39,462,243 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 726 | h | #ifndef BRUSHMENUWIDGET_H
#define BRUSHMENUWIDGET_H
// Inlcudes
#include <ui_brushmenuwidget.h>
#include <qwidget.h>
class nsengine;
class Toolkit;
class QToolBar;
class nsentity;
class BrushMenuWidget : public QWidget
{
Q_OBJECT
public:
BrushMenuWidget(QWidget * parent = NULL);
~BrushMenuWi... | [
"dprandle@alaska.edu"
] | dprandle@alaska.edu |
1ea582d1ea2890b53fa5e9b17a21b4a3bb1d4d94 | 7ad3607feeff61b51fb8a3c101691e1e99671138 | /Breadth First Search/Big P and Party.cpp | 890285f5a18d4583e96d259182a6a8adf19f14ed | [] | no_license | Md-Johaer-Plabon/Hackerearth-Solution | 15c0662ef860798b5ce06272d07edc843c3cf75a | 36743c23cea0b67ccf541dce276132453c9f0d9b | refs/heads/main | 2023-02-21T10:22:59.722264 | 2021-01-18T08:10:51 | 2021-01-18T08:10:51 | 329,932,989 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 479 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int n,m,x,y;
cin>>n>>m;
vector<int>v[n+5];
while(m--)cin>>x>>y,
v[x].push_back(y),
v[y].push_back(x);
int dis[2005]={0},vis[2005]={0};
vis[0]=1;
queue<int>q;
q.push(0);
while(!q.empty()){
int temp=q.front();
q.pop();
for(int i=0;i<v[temp]... | [
"noreply@github.com"
] | noreply@github.com |
7fa4f4d7a697b89360ed5344702d81e9a2a798ce | 6dd87ed823edbef45a3f040e4ae2f1395c221f1d | /common/macro_define.hpp | 439f7124cf1eabeda81f32cde0cdf4a54619d3f1 | [
"MIT"
] | permissive | xiao00kang/moon | 972656b4d8d965aa0285e75ee3784bf7e25e6cbc | f82898d531b7372b9a6ddf111dc8a181935fecdc | refs/heads/master | 2021-04-04T07:10:14.009859 | 2020-03-14T06:02:38 | 2020-03-14T06:02:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,653 | hpp | #pragma once
#include "platform_define.hpp"
#include <cinttypes>
#include <string_view>
#include <algorithm>
#include <cstdint>
#include <cassert>
#include <string>
#include <cstdarg>
#include <iomanip>
#include <fstream>
#include <thread>
#include <mutex>
#include <shared_mutex>
#include <atomic>
#include <condition_... | [
"hanyongtao@live.com"
] | hanyongtao@live.com |
5f53abb8255d6e96c87078e30482800b30a97ad6 | cc7d44e82053bedf3e73c15d31c789894f836aa4 | /基数排序.cpp | a58afa0d06a86beaabcb351b9422ddacaa063729 | [] | no_license | Simanzeng/Sort | 311c90781e3c06f60cee76bbe76f4fb9157b07ea | ac5fd2ae27afeb7c32723c9a1bb54fd97909d76e | refs/heads/master | 2021-01-10T15:42:16.485753 | 2016-03-13T07:25:21 | 2016-03-13T07:25:21 | 53,772,133 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,810 | cpp | ///基数排序
#include <iostream>
#include<vector>
using namespace std;
int maxbit(vector<int> &vec) //辅助函数,求数据的最大位数
{
int n=vec.size();
int d = 1; //保存最大的位数
int p =10;
for(int i = 0;i < n; ++i)
{
while(vec[i]>= p)
{
p *= 10;
++d;
}
... | [
"2698032144@qq.com"
] | 2698032144@qq.com |
5158d22b9ffbc56902110b0419b1883ef3ff5e03 | 7c24e0c9c781a39c4abb3da1ec8026474d5adcc0 | /DrawHere/Source/DrawHere/PaintingGameMode_2.cpp | 9857812c7f322060f7424c244587408afdc5ad07 | [] | no_license | hyunjaesung/drawhere-unreal4.21 | addef1b862a2f86965f5db6ebc28791e093c44cf | d514e6c79dc00b4c817ab95447644eb0bc05ad77 | refs/heads/master | 2021-09-26T20:27:00.905487 | 2018-11-02T06:18:15 | 2018-11-02T06:18:15 | 154,311,249 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,366 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "PaintingGameMode_2.h"
#include "Saving/PainterSaveGame.h"
#include "Engine/World.h"
#include "Kismet/StereoLayerFunctionLibrary.h"
#include "Kismet/GameplayStatics.h"
void APaintingGameMode_2::InitGame(const FString & MapName, c... | [
"steveyysung@gmail.com"
] | steveyysung@gmail.com |
e83a70757c6f450b157056496e845ba0dc2d1b7d | ceed8ee18ab314b40b3e5b170dceb9adedc39b1e | /android/external/pdfium/xfa/src/fxfa/src/app/xfa_ffimage.h | 98bc63e667091e3552e6f5552cebcb348f0ecfc2 | [
"BSD-3-Clause"
] | permissive | BPI-SINOVOIP/BPI-H3-New-Android7 | c9906db06010ed6b86df53afb6e25f506ad3917c | 111cb59a0770d080de7b30eb8b6398a545497080 | refs/heads/master | 2023-02-28T20:15:21.191551 | 2018-10-08T06:51:44 | 2018-10-08T06:51:44 | 132,708,249 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 778 | h | // Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#ifndef _XFA_DRAW_IMAGE_IMP_H
#define _XFA_DRAW_IMAGE_IMP_H
class CXFA... | [
"Justin"
] | Justin |
7e515783dc0be9dabca4e17423de7ad3c3b68dfa | 53f3f38eac3ed44f23f8f58d34aa8bd89555eaef | /src/msvc/include/AutoGemmKernelSources/cgemm_Col_CC_B1_ML032_NL032_KX01_src.cpp | 38d15d512c63bb45204ff53e9149eae4587e51fb | [
"Apache-2.0"
] | permissive | gajgeospatial/clBLAS-1.10 | 16039ddfad67b6c26a00767f33911e7c6fe374dc | 2f5f1347e814e23b93262cd6fa92ec1d228963ac | refs/heads/master | 2022-06-27T09:08:34.399452 | 2020-05-12T16:50:46 | 2020-05-12T16:50:46 | 263,172,549 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,552 | cpp | /*******************************************************************************
* This file was auto-generated using the AutoGemm.py python script.
* DO NOT modify this file! Instead, make changes to scripts in
* clBLAS/src/library/blas/AutoGemm/ then re-generate files
* (otherwise local changes will be lost a... | [
"glen.johnson@gaj-geospatial.com"
] | glen.johnson@gaj-geospatial.com |
3c31c385523d77ca9ba2341daffad589d75ec41d | e20087104206b48e86cdf135145cd8d2f3c665e3 | /gv_framework/world/gv_2d_helper.hpp | b72b9a40619248c2bc060dc3d01697ccf60b0e7d | [
"MIT"
] | permissive | dragonsn/gv_game_engine | 5929ecdadf0403ac68b74130ecf9f72b62ddd624 | 92595a63148d15a989859c93223a55168a1861b5 | refs/heads/master | 2022-11-19T01:48:46.783547 | 2022-11-08T10:24:45 | 2022-11-08T10:24:45 | 159,043,827 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,466 | hpp |
namespace gv
{
void gv_2d_helper::to_2d(const gv_vector3& v, gv_vector2i& v_2d,
gv_int& height)
{
v_2d.set(gv_math_fixed::to_fixed(v.x), gv_math_fixed::to_fixed(v.z));
height = gv_math_fixed::to_fixed(v.y);
};
void gv_2d_helper::to_2d(const gv_vector3& v, gv_vector2i& v_2d)
{
v_2d.set(gv_math_fixed::to_fixe... | [
"shennan.dragon@gmail.com"
] | shennan.dragon@gmail.com |
9e70e440d93e49a024371b6d3e25832f2a34b65e | 7b51037085fd60e6b8af86f4e39b85ed91ce4ab8 | /0304/boj_2217.cpp | 742eb83d27415c10852b40887b8c2a8111557a58 | [] | no_license | algorithm2020/Algorithm_PJH | 5db895de757a6cf9658700c29c6d69433b3de9e6 | 28c4ba546ac03f8055fd61d3da2e9518642dfa66 | refs/heads/master | 2020-12-28T06:34:17.464063 | 2020-04-06T13:14:56 | 2020-04-06T13:14:56 | 238,212,481 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 526 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
int n;
std::vector<int> rope;
std::vector<int> result;
bool comp(int a, int b) {
if (a > b) return true;
else return false;
}
int main() {
std::cin >> n;
for (int i = 0; i < n; i++) {
int temp;
std::cin >> temp;
rope.push_back(temp);
}
std::... | [
"wlgns3737@gmail.com"
] | wlgns3737@gmail.com |
3b7c273adba220679883ddd80465d89134618140 | c5c222595d74a843afd273be2e3ffd93c093ada9 | /107AEA002_HW3/107AEA002_HW3/main.cpp | af6d94bfc61c3810cbf8664724f4ee2d719a8439 | [] | no_license | SanoTaco/CPP_homework | 6b03c52dd7d1dfb740d7c99627c1d400ea1aaf18 | 1fb6914f7d51aba33ed034f0f1a82e41a48b2dfa | refs/heads/master | 2021-01-25T23:15:37.455967 | 2020-03-02T09:07:39 | 2020-03-02T09:07:39 | 243,222,684 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 821 | cpp | /*
107AEA002_HW3 107AEA002 Zhang Yulu ¶þ¼¼ê‘Éú
Define a class for a type called Circle. An object of type Circle is used to display
the area, diameter, and circumference of a circle based on the radius of that object.
Include a mutator function that sets the radius to a value given as an argument.
Include mem... | [
"noreply@github.com"
] | noreply@github.com |
c28d95c13f2c3ae95e71f3a4cd941de48dc316d9 | ef3f4f3bfde1605cec20ca9639cf7018bca19e0c | /Win32_process_KodisoftTask/event_logg.h | 5f27e606f3fac657b9d27cf4efdd5c72f28ac2b4 | [] | no_license | zhsfei/Process-monitor | 57a2ecf973670dd58a7f3860a635ae6df5822503 | 1efe1964b7fa6e32d9b7bb619c80bb05b5bf58a4 | refs/heads/master | 2021-05-29T15:44:46.683036 | 2015-07-12T22:27:58 | 2015-07-12T22:27:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 816 | h | /***********************************************************************
"event_logg.h" contains class that log all events to files. First file
to write call/exit functions , second - to write events.
Copyright (c) Tribel Artem.
*************************************************************************/
#pragma once
... | [
"tribela2@gmail.com"
] | tribela2@gmail.com |
b9f71c5df4b63526b108ed024e4ef113a18731d7 | be0282afa8dd436619c71d6118c9db455eaf1a29 | /Intermediate/Build/Win64/Design3D/Inc/Engine/VirtualTextureSpace.generated.h | 416d5ba893d4b88221a04a9f770733d9d82db70b | [] | no_license | Quant2017/Design3D | 0f915580b222af40ab911021cceef5c26375d7f9 | 94a22386be4aa37aa0f546354cc62958820a4bf6 | refs/heads/master | 2022-04-23T10:44:12.398772 | 2020-04-22T01:02:39 | 2020-04-22T01:02:39 | 262,966,755 | 1 | 0 | null | 2020-05-11T07:12:37 | 2020-05-11T07:12:36 | null | UTF-8 | C++ | false | false | 9,466 | h | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
==============================================================... | [
"Snake_Jenny@126.com"
] | Snake_Jenny@126.com |
88c5521b66818bfd57be4b381f632169bff8135d | 7ed7aa5e28bd3cdea44e809bbaf8a527a61259fb | /UVa/11635(1) - Hotel booking.cpp | 01212eb67a42c1c427097b0df778449305aec926 | [] | no_license | NaiveRed/Problem-solving | bdbf3d355ee0cb2390cc560d8d35f5e86fc2f2c3 | acb47328736a845a60f0f1babcb42f9b78dfdd10 | refs/heads/master | 2022-06-16T03:50:18.823384 | 2022-06-12T10:02:23 | 2022-06-12T10:02:23 | 38,728,377 | 4 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 3,115 | cpp | #include <cstdio>
#include <cstring>
#include <vector>
#include <queue>
#include <algorithm>
#define N 10001
#define E 600
using namespace std;
struct node
{
int v, w;
node(int a, int b) : v(a), w(b) {}
};
vector<node> adj_list[N]; //[i]: i -> v, time: w
int n; //number of cities
int n_to_h... | [
"jason841201@gmail.com"
] | jason841201@gmail.com |
b029822cffbca305b10ea79f7a51ead25b8fcae6 | c70d2f720e1e7645ad27898a8c4f633f04038ce8 | /imager/pylon/private/DeviceSpecificInstantCamera.h | 2324bd0cf465c17fb9eae48a82a05ebd8a4043d3 | [] | no_license | BMIunic/Sensorimotor_BMI | 874400bb18310adcb9ddd9cc13fb4c034639c189 | 4bb9b0e5fbeeca6cd59c0ec38a37bdea12a565d3 | refs/heads/master | 2021-04-30T02:07:20.062826 | 2018-03-09T08:54:38 | 2018-03-09T08:54:38 | 121,494,796 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,727 | h | //-----------------------------------------------------------------------------
// Basler pylon SDK
// Copyright (c) 2010-2015 Basler AG
// http://www.baslerweb.com
// Author: Andreas Gau
//-----------------------------------------------------------------------------
/*!
\file
\brief Template for device specific i... | [
"aamirabbasi89@gmail.com"
] | aamirabbasi89@gmail.com |
bda80feeb8e066824e0408af5741f33a86bef760 | c5784387ccf8154a3526c7499d98cb5e3e30b079 | /code/themes/sorting_and_searching/search/ternary_search/ternary_search.cpp | c71f4e071160a37f48820bb3bca11fce899f505a | [] | no_license | ArtDu/Algorithms | a858f915338da7c3bb1ef707e39622fe73426b04 | 18a39e323d483d9cd1322b4b7465212c01fda43a | refs/heads/master | 2023-03-04T14:25:42.214472 | 2022-04-14T18:28:15 | 2022-04-14T18:28:15 | 197,545,456 | 3 | 3 | null | 2023-02-27T10:52:36 | 2019-07-18T08:27:49 | C++ | UTF-8 | C++ | false | false | 2,264 | cpp | // x.pdf -- problem 10
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
const ll MAXX = 1e15;
const ll MOD = 1e9 + 7;
const ld L = -1e8 - 5;
const ld R = 1e8 + 5;
const ld EPS = 1e-12;
#define P pair
#define F first
#define S second
#define vec vector
#define pb push_back
... | [
"rusartdub@gmail.com"
] | rusartdub@gmail.com |
5c73a9c52aedb004b9282b01aeab85a789881578 | 2e1737bea645aacb1efa835ea8d682392a2711e4 | /iOSSocketClient/boost/date_time/gregorian/greg_day_of_year.hpp | 561a2c3177e6de6c0be58e2c7a218977ce3f5bf8 | [] | no_license | w747351274/ChatServer | 3acf579bbebf6471327d599bf263afe2b5cd678c | b7dec568c9dfc60b5bb1446efbc3ded6ad2f1ba6 | refs/heads/master | 2020-03-31T17:50:57.408048 | 2019-10-25T01:09:17 | 2019-10-25T01:09:17 | 152,436,301 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,189 | hpp | #ifndef GREG_DAY_OF_YEAR_HPP___
#define GREG_DAY_OF_YEAR_HPP___
/* Copyright (c) 2002,2003 CrystalClear Software, Inc.
* Use, modification and distribution is subject to the
* Boost Software License, Version 1.0. (See accompanying
* file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
* Author: Je... | [
"747351274@qq.com"
] | 747351274@qq.com |
1b0b8efea2f412d5358f142c4d85eb36c39deff7 | e30d8e1c98a40273392efbe9a9eee6daf02df107 | /码库/CF436E Cardboard Box.cpp | c39b853f4e299681c768c805280849444aa0a606 | [] | no_license | zzctommy/public-source-code | c11099de0e1bac21a9db26ab6d83d8e15ffdf460 | bf2cf1ea607f097952ccd059fb8fbbcce7b08466 | refs/heads/master | 2023-03-21T06:24:19.206752 | 2021-03-05T01:18:35 | 2021-03-05T01:18:35 | 277,446,660 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,328 | cpp | #include <bits/stdc++.h>
using namespace std;
inline int read() {
int x = 0, f = 1; char c = getchar();
while (!isdigit(c)) { if (c == '-') f = 0; c = getchar();}
while (isdigit(c)) x = x * 10 + c - '0', c = getchar();
return f ? x : -x;
}
#define fi first
#define se second
#define N 600005
#define inf 2000000009
i... | [
"67889443+zzctommy@users.noreply.github.com"
] | 67889443+zzctommy@users.noreply.github.com |
b3e814eb4d30d98d5f6dc133849b6b17f8ca0a57 | d2249116413e870d8bf6cd133ae135bc52021208 | /MFC CodeGuru/misc/DlgScrSaver/drawwnd.cpp | 16ef5313edf9b85cf8a98b0202fb24a8aeff0615 | [] | no_license | Unknow-man/mfc-4 | ecbdd79cc1836767ab4b4ca72734bc4fe9f5a0b5 | b58abf9eb4c6d90ef01b9f1203b174471293dfba | refs/heads/master | 2023-02-17T18:22:09.276673 | 2021-01-20T07:46:14 | 2021-01-20T07:46:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,227 | cpp | // drawwnd.cpp : implementation file
//
#include "stdafx.h"
//#include <fstream.h>
#include <io.h>
#include <time.h>
#include "collect.h"
#include "DlgScrSaver.h"
#include "drawwnd.h"
#include "CImage.h"
#include "Meta.h"
#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#e... | [
"chenchao0632@163.com"
] | chenchao0632@163.com |
6bb843f764a65b6330b69f2a93995195e3b1e385 | ec6e9f56df0e783e79a776f41bd9192ebbf6dfcf | /src/plugins/notifications/notificationaction.h | bf4388d952fc8dbd87bf77aac06e8434f2df134e | [] | no_license | SfietKonstantin/phonebot | e0a327afdb0778a4346267224a56c9752da5ef89 | a0216a33cb675f3b5386ad52998917a61835edbb | refs/heads/master | 2016-09-05T19:10:10.908389 | 2015-05-30T17:27:47 | 2015-05-30T17:27:47 | 21,517,632 | 2 | 0 | null | 2015-01-20T21:42:09 | 2014-07-05T10:17:10 | C++ | UTF-8 | C++ | false | false | 2,806 | h | /*
* Copyright (C) 2014 Lucien XU <sfietkonstantin@free.fr>
*
* You may use this file under the terms of the BSD license as follows:
*
* "Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of so... | [
"sfietkonstantin@free.fr"
] | sfietkonstantin@free.fr |
c5e680efe1c3cb61b30f90318cafece0cd8a2a73 | 072ef561d7936807d9b96c842c22a5538ea31374 | /Editor/Include/Common/fileio.h | 22b0666cc1e7e5a56d50ec3924b1953d375d0dfc | [] | no_license | uchuugaka/BarrysEmacs | ef75940585f66192604e638122604cfd65e94004 | c66d4d3aa3291a8e83cf7d10ea0df7c179940720 | refs/heads/master | 2021-04-09T15:22:43.223036 | 2018-03-15T19:27:10 | 2018-03-15T19:27:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,428 | h | // Copyright (c) 1982, 1983, 1984, 1985
// Barry A. Scott and Nick Emery
//
// Structures used by fileio.c
//
class FileAutoMode : public EmacsObject
{ // information for automatic mode recognition
public:
EMACS_OBJECT_FUNCTIONS( FileAutoMode )
EmacsString a_pattern; //... | [
"barry@barrys-emacs.org"
] | barry@barrys-emacs.org |
af1bff0ad31ee0fc41e2397d4c4acbd571a050ad | 0f34040f583f91668e182143c695d7b9b4830f36 | /HW03/composedshape.h | fb510b327fa599e3e17813da0b72576ebd4d0b2f | [] | no_license | cihancanayyildiz/CSE241 | cf0956963a12223d543cacb6cc1f71dad48eef87 | 43f173a6698e7475624ca97c980689f21730cdfb | refs/heads/master | 2020-04-30T00:39:51.003328 | 2019-06-18T07:41:56 | 2019-06-18T07:41:56 | 176,507,944 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,087 | h | #ifndef COMPOSEDSHAPE_H
#define COMPOSEDSHAPE_H
#include <iostream>
#include <fstream>
#include <cstdlib>
#include <cmath>
#include <vector>
#include "rectangle.h"
#include "triangle.h"
#include "circle.h"
using namespace std;
class ShapeElem;
//Defining composed shape class
class ComposedShape{
public:
class Shape... | [
"noreply@github.com"
] | noreply@github.com |
971643c42d6fd21faf9dcce298f9c69ab7a8b3b2 | 1899c0c556253d05213057b0e11fa5e81891437c | /PF_Test/pf_core/pf_core.cpp | 5444ee1863cc57991243805119a1d2419a601044 | [] | no_license | leonsev/PF_Test | 68bfd6c8d4b4546a5f56cbba3f79cf128c9498d7 | beea5d508a1b9624a6bb37f5f62322d80c98dcd2 | refs/heads/master | 2021-01-10T08:36:55.155432 | 2015-11-14T14:35:17 | 2015-11-14T14:35:17 | 46,143,382 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 52 | cpp | #include "pf_core.h"
Pf_core::Pf_core()
{
}
| [
"goncharleonid@gmail.com"
] | goncharleonid@gmail.com |
020ecfa8d385eefafb24733de1c461f0feda9b17 | 957bc69ac4ac7295d919f2b85d1289a4132ec58c | /cpp/src/arrow/compute/exec/aggregate.cc | 5e99bbba92b2cf9c219092abe8fa7310d85fa08e | [
"Apache-2.0",
"CC0-1.0",
"OpenSSL",
"BSD-3-Clause",
"MIT",
"NTP",
"LLVM-exception",
"JSON",
"Zlib",
"CC-BY-4.0",
"ZPL-2.1",
"BSL-1.0",
"Python-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"LicenseRef-scancode-protobuf",
"CC-BY-3.0",
"LicenseRef-scancode-unknown-licens... | permissive | Fokko/arrow | 4da70c1668576dbe3b906274980b61897589c1d3 | 662e5a4d6366673c334fc81448c7e4224552f7fc | refs/heads/master | 2023-08-03T16:31:02.620302 | 2023-02-14T22:57:51 | 2023-02-14T22:57:51 | 148,289,452 | 0 | 0 | Apache-2.0 | 2023-02-14T22:58:25 | 2018-09-11T09:00:19 | C++ | UTF-8 | C++ | false | false | 11,380 | cc | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | [
"noreply@github.com"
] | noreply@github.com |
22777c1ae9785068e1a20dab9e8775580f955c52 | 273cb1849d46c8c74ea9bd28cdd82c8bacac8059 | /node deletions/best.cpp | 275303748448bb02512525362533c429139046bd | [] | no_license | ShahjalalShohag/Undergrad-Thesis | 2e2d2c6ad6ea8283074600014586873da0f51827 | ff260a867e441a9603a670ed3b1cad3545f01679 | refs/heads/main | 2023-07-30T08:29:41.296928 | 2021-09-25T08:01:18 | 2021-09-25T08:01:18 | 377,290,883 | 9 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,930 | cpp | #include<bits/stdc++.h>
using namespace std;
#include "basics.h"
const int N = 3509;
bool f[N][N];
int w[N], mx[N], r[N];
int32_t main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
// freopen("input002.txt", "r", stdin);
int n, m; cin >> n >> m;
graph g(n);
for (int i = 0; i < m; i++) {
i... | [
"noreply@github.com"
] | noreply@github.com |
2de2e44d4bd7c5b2dcc27021824ba7c8b4ab50a6 | cb9bc4fb2180e26b6b7f5744cec8886596987ae6 | /candy.cpp | 0c798610bc76b7ab1d77d82125c1012b2824dd31 | [] | no_license | smartse0k/CandyCrushStar | 36baef41df4a80502c1a0bd5e5db0cb3d622e7a9 | d378fad58af98edf50a4d8c6d8ef50dfa4382300 | refs/heads/master | 2020-06-05T06:33:06.246456 | 2019-06-18T14:31:33 | 2019-06-18T14:31:33 | 192,346,216 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 2,156 | cpp | #include <iostream>
#include "candy.h"
using namespace std;
Candy::Candy() {
setType(rand() % CANDY_NUM);
setSelect(NOT_SELECTED);
pop = 0;
}
Candy::Candy(int type) {
setType(type);
setSelect(NOT_SELECTED);
pop = 0;
}
void Candy::drawCandy(bool selected) {
if(pop == 1) {
cout << "£ª";
return;
}
switch... | [
"smartse0k@naver.com"
] | smartse0k@naver.com |
8921cfb119784f827eb21aa8d84e341439ff1ed8 | 74e5cc5746f5da2494ce90c317c4f2bc876549b2 | /Classes/ProjectileLayer.h | 92f792f14b63551683ee047c61e0b51dba184bee | [] | no_license | RezaShafie/MsTinyBazooka | 27d473bdd08723ec48402a2600c36cde227a4ac6 | 114a1582712c6483664d2869ff9d2f2604d04bba | refs/heads/master | 2022-11-10T07:04:38.638109 | 2020-06-22T15:47:28 | 2020-06-22T15:47:28 | 274,172,016 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 715 | h | #ifndef __wp8Game__ProjectileLayer__
#define __wp8Game__ProjectileLayer__
#include "cocos2d.h"
using namespace cocos2d;
#include "Projectile.h"
class ProjectileLayer: public CCLayer
{
public:
ProjectileLayer(CCSprite* _hero);
~ProjectileLayer();
CCSprite* hero;
int score;
bool gameOve... | [
"noreply@github.com"
] | noreply@github.com |
4a9555ad12fb28814a65b4672e9aaee0085d31af | 9dab836feab74b135be8208e3e727c6435dd5bec | /gmsv_extra/Garry's Mod/GLUA/IScriptedEntity.h | b1d1e86db8b6a674d3fd1c9987e4a3aedde1f0a2 | [
"Apache-2.0"
] | permissive | 11Lee1/gmsv_extra | 56fe3db4e11f648ef640343470d0f631c90168c7 | 294dbc1e31eca6f086605767e0495cf64348bd85 | refs/heads/master | 2020-04-29T20:19:26.189875 | 2019-05-08T01:20:18 | 2019-05-08T01:20:18 | 176,380,702 | 11 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 205 | h | #ifndef ISCRIPTEDENTITY_H
#define ISCRIPTEDENTITY_H
class IScriptedEntity
{
public: // fill out vmt later.
virtual void NetworkStateChanged() = 0;
virtual void NetworkStateChanged(void*) = 0;
};
#endif | [
"charles1337@outlook.com"
] | charles1337@outlook.com |
831e0f490a54f46a7f08f6f2a0ac6842ff91ab8f | ce7ec438fa29a76098db5ab3b0ba92c95789b109 | /random_testing/quad_error_generator/error_3_generator.cpp | 44a94b2521bb79b9c844fcb7ea9d22b88d6230e2 | [] | no_license | morrinic/cs6015assn4 | 6f0eacfe16f095145263ce8296defdec2696ad80 | d73bffb44ea8a7172a5d716909af2439af746187 | refs/heads/master | 2020-04-18T08:50:03.166021 | 2019-02-08T13:05:34 | 2019-02-08T13:05:34 | 167,410,195 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 240 | cpp | //
// error_3_generator.cpp
// quad_error_generator
//
// Created by Nicole Morris on 2/6/19.
// Copyright © 2019 Nicole Morris. All rights reserved.
//
#include "error_3_generator.hpp"
#include "general_error.hpp"
#include <fstream>
| [
"nicole.morris@utah.edu"
] | nicole.morris@utah.edu |
5b1672486d38012cd6151eef886e3da3b43e538e | 6cc7f0d586acf0455e5d97680f98066b5fdb27e2 | /CodeForces/854C.cpp | b5c270764f728d94ccdc817b0eaae99b1a76c8ad | [] | no_license | Aj163/Competitive-Programming | aac1ef482d48e82b55d6e88e9f6ee6176627c729 | 9082c1e9eb0deba328c9a96ae335efe197bc8589 | refs/heads/master | 2021-06-14T11:26:40.353495 | 2019-10-27T12:05:14 | 2019-10-27T12:05:14 | 103,935,810 | 3 | 3 | null | 2019-10-27T12:05:15 | 2017-09-18T12:25:12 | C++ | UTF-8 | C++ | false | false | 1,055 | cpp | #include <bits/stdc++.h>
#define f(i, num) for(int i=0; i<num; i++)
#define F(i, lower, upper, step) for(int i=lower; i<upper; i+=step)
#define F_(i, upper, lower, step) for(int i=upper; i>lower; i-=step)
#define read(num) scanf("%d", &num);
#define read2(num1, num2) scanf("%d%d", &num1, &num2);
#define read3(num1, n... | [
"a3sajs@gmail.com"
] | a3sajs@gmail.com |
66ea7b244e6a0d4c323496a1aa6891dea9a8db93 | c635c38b64ce41b1f41c3bd2f4af3410637d7d83 | /OOPL/assgn5.cpp | 212b31b9e8c6737b7168bcc01ff1e5acb3ceed7d | [] | no_license | Abhishek2081/SE | de601594a633a1b7a9970360a8a1fac971673546 | 4e153de5e49cc475ebf0648faecb5c2f5974e405 | refs/heads/master | 2023-05-27T07:48:06.016899 | 2021-06-16T16:11:33 | 2021-06-16T16:11:33 | 377,515,925 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,962 | cpp | #include<iostream>
using namespace std;
class Personal_Rec
{
protected :
char name[20];
int day,month,year;
char bloodgrp[4];
public :
void input1();
};
void Personal_Rec::input1()
{
cout<<"\nEnter name :"<<endl;
cin.ignore();
cin.getline(name,19);
cout<<"Enter date of ... | [
"noreply@github.com"
] | noreply@github.com |
7b98f1e8ed33cb928032f2aff4b57a584fd02cfa | 0b8a622104c90981164faea33e35a7404b4b0811 | /src/time_estimate.h | 8af3722a6b021d7a6c912bfdb831ae57556c1db5 | [] | no_license | simba2icac/roadnetworkkit | 4ae238c4ed97456a87386cbc0597cb66ac86dc92 | 86cc5e9d185b0c2439c0ba1d0ec57f7290dfac0f | refs/heads/master | 2021-01-19T22:26:42.894701 | 2016-07-16T05:39:09 | 2016-07-16T05:39:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,101 | h | #ifndef TIME_ESTIMATE_H
#define TIME_ESTIMATE_H
//auto-include {{{
#include <vector>
#include <utility>
#include <string>
#include <mysql++.h>
#include "gps.h"
#include "roadmap.h"
//}}}
/// TimedCrossIndex
typedef std::pair<int, boost::posix_time::ptime> TimedCrossIndex;
///\brief 估计时间
///\param log
///\param path... | [
"syhkiller@163.com"
] | syhkiller@163.com |
c576b30f66eb0ffb6d6f5c9869163f20ac59a8d5 | 12c82ceba45d5508cff2e4f152563435873f2b8b | /arrangeCoins.cpp | e974132e4e86a71c687598078f718516e027bc77 | [] | no_license | Web-Dev-Collaborative/leetcode-solutions | 45d50ff92f4c96cf59d5407a8a2bed7405383430 | b46d09c665d4a89322a32916ebc76c15565616bf | refs/heads/master | 2023-04-03T17:22:53.180100 | 2021-03-29T21:15:55 | 2021-03-29T21:15:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 375 | cpp | class Solution {
public:
int arrangeCoins(int n) {
long start = 0, end = n;
long k, curr;
while(start <= end) {
k = start + (end - start) / 2;
curr = k * (k + 1) / 2;
if(curr == n) return (int) k;
if(n < curr) end = k - 1;
else star... | [
"noreply@github.com"
] | noreply@github.com |
1bd2e6800acf52e58b84f494549ccf12e26f73ac | eaefdd36edd00eac984efcf032151c4bb5c43bf9 | /A.cpp | 12ee3361cb9458d3a20f4e80e1f897e639d175f5 | [] | no_license | yiiju/lab1 | 829d71d5350b6f9e3b1afb06c2914afe0550decf | a966edffc5f666224d2347e76dcde59e0c029c5b | refs/heads/master | 2021-01-18T13:58:42.213017 | 2017-03-09T13:31:50 | 2017-03-09T13:31:50 | 84,337,989 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 174 | cpp | #include<iostream>
using namespace std;
int main()
{
int n;
cin>>n;
cout<<n;
while(n!=1){
if(n%2==1) n=3*n+1;
else n/=2;
cout<<" "<<n;
}
cout<<endl;
return 0;
}
| [
"yijuhung0129@gmail.com"
] | yijuhung0129@gmail.com |
db3255582af3119e5e1b4fd31c4892803e7cdb07 | 7b4ce7c1411fb2a3b0ab088d89bf93ed97b1905d | /src/tools/DiffTool.h | 502cb292b7cdfa009b1f0dcea86d26e3e1ac4ac8 | [
"MIT"
] | permissive | gitahead/gitahead | 9fb86aee4df2e60fb1ff5bec615e3f6876b70049 | 81df5b468fc3ebd148320d894e561fb097324b88 | refs/heads/master | 2023-08-15T01:20:34.055687 | 2022-05-24T21:03:38 | 2022-05-24T21:03:38 | 159,882,575 | 1,894 | 318 | MIT | 2022-04-06T18:37:07 | 2018-11-30T21:52:34 | C++ | UTF-8 | C++ | false | false | 719 | h | //
// Copyright (c) 2017, Scientific Toolworks, Inc.
//
// This software is licensed under the MIT License. The LICENSE.md file
// describes the conditions under which this software may be distributed.
//
// Author: Jason Haslam
//
#ifndef DIFFTOOL_H
#define DIFFTOOL_H
#include "ExternalTool.h"
#include "git... | [
"jason@scitools.com"
] | jason@scitools.com |
15db89a47714b8496b8ec6e5e9a3a8c3eedd13d2 | 03e45b2e50449ad128c0779e3cc7e7b5d40fd16f | /hal-project/platform/olimex-stm32f103-stk/isrs.cpp | b1862630a999ef0a08ea61acf4823b68ad72fa22 | [] | no_license | FabioBaldo17/Desem | dadf72f839520e1560a1f8727d291a193a95b979 | d6d57442aac02c58ad99ee113b77539808a8f68b | refs/heads/main | 2023-02-14T03:57:36.936103 | 2021-01-10T00:45:47 | 2021-01-10T00:45:47 | 303,329,139 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,444 | cpp | #include "platform-config.h"
#include "misc.h"
/**
* - Used to detect joystick 'center button' connected to
* the PC5 GPIO.
* - Used for the Transceiver (nRF24L01). Called when
* Transceiver has to notify something to the MCU (GPIO RC9)
*/
extern "C" void EXTI9_5_IRQHandler()
{
// Joystick 'center button' IRQ
i... | [
"fabio.baldo251@studenti.polito.it"
] | fabio.baldo251@studenti.polito.it |
a912430cfddf5e561f40619af80318ee9e4e6295 | 791eedd78b9fe753f998020efb9ff9d0270cd8d3 | /CPP/LESSONSandHOMEWORKS/Lessons_and_homeworks_17/Lesson17MY_PAINT/Lesson17MY_PAINT/Shape.h | 586093228009d2f4bed014a0a8e5276ea150b594 | [] | no_license | pavel-prykhodko96/source | 6214c212356ffa420bbc489adce104268f5efa12 | 77219b672bb14df93abd7b8203f486d0620533d8 | refs/heads/master | 2023-03-07T21:43:17.422232 | 2023-02-23T12:06:52 | 2023-02-23T12:06:52 | 248,736,899 | 0 | 0 | null | 2023-02-23T12:06:54 | 2020-03-20T11:16:45 | C | UTF-8 | C++ | false | false | 412 | h | #pragma once
#include <Windows.h>
#include <iostream>
using namespace std;
namespace shp
{
struct Point //initialize by {7,8} - OK m_x = 7, m_y = 8;
//for classes' private members it doesn't work
{
int m_x;
int m_y;
};
class Shape
{
public:
Shape(const std::string & name);
~Shape();
virtual void ... | [
"47929311+pavel-prykhodko96@users.noreply.github.com"
] | 47929311+pavel-prykhodko96@users.noreply.github.com |
f2223258866e3042feed6ec3816e4c970b804655 | 8dd4f2b537a995c3a257abb9cf7e1e5876ddb424 | /lumpedcpp/Lump_libil2cpp_vm.cpp | 47a64f9b8c350eb4122b8a108590f2b15d6e0cc4 | [] | no_license | David-EJ-C/CA1RatCatcher | 19ca5cbbc385af4ae6053afbbc2d7819fc961abe | 22a20c7254257e37c9b8352e90e4ac338b1a117c | refs/heads/main | 2023-05-05T04:53:24.810756 | 2021-05-29T14:39:19 | 2021-05-29T14:39:19 | 363,642,716 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,394 | cpp | #include "il2cpp-config.h"
#include "C:\Program Files\Unity\Hub\Editor\2020.1.0f1\Editor\Data\il2cpp\libil2cpp\vm\Array.cpp"
#include "C:\Program Files\Unity\Hub\Editor\2020.1.0f1\Editor\Data\il2cpp\libil2cpp\vm\Assembly.cpp"
#include "C:\Program Files\Unity\Hub\Editor\2020.1.0f1\Editor\Data\il2cpp\libil2cpp\vm\Asse... | [
"noreply@github.com"
] | noreply@github.com |
3b8e2b9f4be50eaac68713a9031211cd724b63dc | 1bbd62ab1b7345ea29f8937a2cb4d4fb17cc5c3c | /GeneticAlgorithm.cpp | 8a08d60cdee6644868246ce2415b8409add51be0 | [] | no_license | pinanzo/genetic-algorithm-n-queen | 6f5f18f7e6d71d47b66620b69fc0eceae87d0433 | a769fadddd91713856ab0a38e7abe43fe6174376 | refs/heads/master | 2020-07-07T18:44:28.123279 | 2019-08-20T19:59:18 | 2019-08-20T19:59:18 | 203,442,633 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,897 | cpp | // Group 1
// Section: A2
// Md. Samiul Alam (14.02.04.033)
#include <bits/stdc++.h>
using namespace std;
#define read() freopen("input.txt","r",stdin)
#define INF ((1<<29)-1)
#define EPS (1e-9)
#define PI (2*acos(0.0))
#define ll long long
#define ull unsigned ll
#define SIZE ((ll)1e6)+10
#define testcase ll T;cin>>... | [
"samiulalam555@gmail.com"
] | samiulalam555@gmail.com |
50291b90fc110f83198e7b8ed0ce34f5951fa560 | ec95321874d6cee2b119372301af5b99c659b847 | /src/yeti.cc | bef0854664093dd83b2bfb3b16b8becfedcd46c4 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | AndreAKM/yeti | e89dea5e6772bacb75a318f1737b8048ceb358a1 | 2342e8b4bf416ad8d1fd34511bca82a747f3abcd | refs/heads/master | 2021-01-18T10:21:14.194139 | 2015-02-18T06:32:55 | 2015-02-18T06:32:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,733 | cc | // Copyright (c) 2014, Dmitry Senin (seninds@gmail.com)
// 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,
// ... | [
"seninds@gmail.com"
] | seninds@gmail.com |
df06f3d1d7d27ea718e0a835b9162883e20d1578 | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /content/browser/accessibility/ax_platform_node_win_browsertest.cc | c83b531e58493e6cf1bdff853a17ce30d90d224d | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 23,197 | cc | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/accessibility/platform/ax_platform_node_win.h"
#include "base/win/scoped_variant.h"
#include "content/browser/accessibility/accessibility_co... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
89c196ea0b3c3fd35facf26eff79072dc8e41506 | 8e6c51220bc7253408d67e79a741dc8df99239d3 | /TestFile.cpp | 129f764a86f8a1ff7ba6cca600f460b3a80bf0a7 | [] | no_license | StoicaAndreea/ParkingLot | 5e8cc0387191482d4a29cc54029c4d1f5af1330c | 97836877dcf42f6777d184dc536fee34cc18b713 | refs/heads/main | 2023-03-25T17:35:55.573199 | 2021-03-23T12:40:05 | 2021-03-23T12:40:05 | 346,748,477 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,856 | cpp | #include "TestFile.h"
#include <assert.h>
#include <iostream>
TestRepositoryFile::TestRepositoryFile()
{
assert(repo.getSize() == 0);
}
void TestRepositoryFile::testLoadFromFile()
{
repo.loadFromFile("TestProj.txt");
assert(repo.getSize() == 4);
}
void TestRepositoryFile::testAddElem()
{
re... | [
"noreply@github.com"
] | noreply@github.com |
dae527f16984e516305152b4d59c292a3e7d3bd8 | 4bcae7ca3aed842d647d9112547522cffa805d51 | /0130.被围绕的区域.cpp | f54c50870561c3e0547cecda9bb3aafcdc6456b2 | [] | no_license | SLKyrim/vscode-leetcode | fd5a163f801661db0dfae1d4fdfa07b79fdb82b6 | 65a271c05258f447d3e56755726f02179780eb8a | refs/heads/master | 2021-07-03T03:15:28.883786 | 2021-02-23T06:19:18 | 2021-02-23T06:19:18 | 226,062,540 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,473 | cpp | /*
* @lc app=leetcode.cn id=130 lang=cpp
*
* [130] 被围绕的区域
*
* https://leetcode-cn.com/problems/surrounded-regions/description/
*
* algorithms
* Medium (38.21%)
* Likes: 129
* Dislikes: 0
* Total Accepted: 17.4K
* Total Submissions: 45.1K
* Testcase Example: '[["X","X","X","X"],["X","O","O","X"],["X"... | [
"623962644@qq.com"
] | 623962644@qq.com |
c4bf87c256630c867a0df3553f213aebb112c206 | 87d8af054e17e0c346b6f59636402883fbf0158d | /Cpp/SDK/Title_SD_MasterOfArms_classes.h | 664ce5e0861a35ea9bb3c9ca9495626e4b825da9 | [] | no_license | AthenaVision/SoT-SDK-2 | 53676d349bca171b5e48dc812fd7bb97b9a4f1d8 | 4a803206d707a081b86c89a4b866a1761119613d | refs/heads/main | 2023-03-20T10:48:21.491008 | 2021-03-10T21:55:10 | 2021-03-10T21:55:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 739 | h | #pragma once
// Name: sot, Version: 4.2
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//----------------------------------------------------------------... | [
"59620169+NtLoadDriverEx@users.noreply.github.com"
] | 59620169+NtLoadDriverEx@users.noreply.github.com |
96e591f498b9f6c732452dfb4fe00414eca4bd8b | 6426ae91efed816ec782a4a109bd4f7e4daffc5a | /Library/LegacyResources/Headers/RadarPlot.h | fdb02977412112695df98e3046862302a2f8dd6c | [] | no_license | rfim/Microstrategy | 04756e390d3f17572cafe18f7f6be8b36a024190 | 9ab9d1d3b4321e2b17626d97074d694f1196c41f | refs/heads/master | 2021-04-09T15:09:43.191220 | 2018-03-21T07:38:13 | 2018-03-21T07:38:13 | 125,734,634 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,500 | h | //==============================================================================================
// FILENAME : RadarPlot.h
// AUTHOR : Liang Liu
// CREATION : 2009-04-07
// Copyright (C) MicroStrategy Incorporated 2009
// All Rights Reserved
//=====================================================================... | [
"firman.insan.m@gmail.com"
] | firman.insan.m@gmail.com |
78dd1388c5a58d97e1a8a2cd66010430fa539cba | 0660666bfa3b4ff4bcf78970ce47c8a482eb0399 | /Pies.h | c66891c0f9bfd8e13b942b86dac446abae6efa5d | [] | no_license | heymarc3lina/Tamagochiv2 | 13c3b7030a66ca883fd6b46e3cd171081797f884 | 9fe134dcc5ea634d8c528de09fe0f75e1375d387 | refs/heads/master | 2021-01-05T18:32:05.567549 | 2020-02-17T12:38:23 | 2020-02-17T12:38:23 | 241,103,795 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 385 | h | #ifndef PIES_H_
#define PIES_H_
#include "Zwierzatko.h"
class Pies : public virtual Zwierzatko
{
public:
const string rodzajZwierzatka = "Pies";
Pies(string nazwa);
string getRodzajZwierzatka();
void specjalnaUmiejetnosc();
void dajGlos();
void rysujZwierzatko();
void pobawSieObrazek();
void dajJesc();
Pie... | [
"vggg"
] | vggg |
73a6eb90136e28956c9fbdf479335c18c52a1a4d | 2a64c259fdde52c1405a9c867260df995a54c931 | /hackerearth/jan21easy/b.cpp | 5497bf42ae8cb776026ab7591336b3d5efc68791 | [] | no_license | arjitkansal/CP-contests | dab952af7624552e101701764cac8a29a5504435 | 05573e6a7096505029ef1ae06fc0e6f430f50848 | refs/heads/master | 2023-06-21T17:38:22.368174 | 2021-08-08T17:40:42 | 2021-08-08T17:40:42 | 310,842,153 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,096 | cpp | #include<bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
#define mod ((int)1e9+7)
#define lim 1000000000000000007
#define lim1 18446744073709551615 //Unsigned
#define sq(a) ((a)*(a))
#define all(v) v.begin(),v.end()
#define rall(v) v.rbegin(),v.rend()
#define mms(v,i) memset(v,i,siz... | [
"kansal.arjit@gmail.com"
] | kansal.arjit@gmail.com |
97d27fb84de2f40118ebd1329f84f46f6f3986d8 | a46e3ab5260c819e2b1a20343205b248a76314f3 | /constr_test2.cpp | 7754a0997b05ca639e2ba3ca9ecff3a363681bc5 | [] | no_license | albertz/playground | 97ea882eb077e341c69f9e593918d38f89f8bc64 | f30c6330d855056f1756eeb558aa51fe72040c4e | refs/heads/master | 2023-08-16T16:33:01.780047 | 2023-07-31T11:46:58 | 2023-07-31T11:46:58 | 3,687,829 | 10 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 387 | cpp | // demonstrating non-determinism of constructor execution order
// http://stackoverflow.com/questions/8433484/c-static-initialization-vs-attribute-constructor/8433525#8433525
// http://llvm.org/bugs/show_bug.cgi?id=11521
#include <stdio.h>
struct Foo { Foo() { printf("foo\n"); } };
static Foo foo;
__attribute__((co... | [
"albert.zeyer@rwth-aachen.de"
] | albert.zeyer@rwth-aachen.de |
d4307ac96d7ef91d3c095678f7a025b92dc5bae8 | 529a4f10d008553636fb36a087684297cebee88e | /algorithm/cgal/ComputeImplicitVolume.h | 01ac5584e8fafabde02aedef49e95683e7f952c8 | [
"MIT"
] | permissive | jsxcad/JSxCAD | fba3f55a5b442d078814fc727f01c5b18e03545e | 962689c323d29b4ef97ec9fcc95218e6ec011a51 | refs/heads/master | 2023-08-09T17:58:35.062711 | 2023-08-03T14:41:52 | 2023-08-03T14:41:52 | 173,755,199 | 36 | 13 | MIT | 2023-09-11T15:07:13 | 2019-03-04T13:59:33 | JavaScript | UTF-8 | C++ | false | false | 1,693 | h | int ComputeImplicitVolume(Geometry* geometry, emscripten::val op, double radius,
double angular_bound, double radius_bound,
double distance_bound, double error_bound) {
typedef CGAL::Surface_mesh_default_triangulation_3 Tr;
// c2t3
typedef CGAL::Complex_2_in_tri... | [
"brian.spilsbury@gmail.com"
] | brian.spilsbury@gmail.com |
5b675c6bea4eeb3ce55e6f2dc1fe11ff41db734e | 6c1d1b8949136a5f7499390110dcafd202b8ccaf | /spoj BLINNET.cpp | f0c255b402208557601b2cf9aa1be433a636271f | [] | no_license | tanvir14012/Sphere-Online-Judge-My_Solutions | 34c0a7b7dd487316eee0f53a8a9a880ba2632d32 | fba6efd834cc01a6fca78a5f91011c1435d01fcf | refs/heads/master | 2020-06-14T01:23:46.840037 | 2019-07-02T09:14:21 | 2019-07-02T09:14:21 | 194,849,573 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,575 | cpp | #include<bits/stdc++.h>
using namespace std;
class DisjointSet
{
int nodes,*parent,*ranks;
public:
DisjointSet(int n)
{
nodes = n;
parent = new int[n+1];
ranks = new int[n+1];
for(int i = 0; i<=n; i++)
{
parent[i] = i;
ranks[i] = 0;
}
... | [
"44893629+tanvir14012@users.noreply.github.com"
] | 44893629+tanvir14012@users.noreply.github.com |
a10057d937b42fff4ad41b49dcbd6e9cbf1cdc5b | c8e80e5d4fb5e7a8bf72b03b33b7e0a76bfc7ef1 | /Movement.cpp | 965e963411aab05fc894bb2a607b83ca93fe1229 | [] | no_license | GuardianOfGalaxy/Battleship | 5fea09d0d10f5d7d26008af32553af0de3ea0de7 | 35cc0fd2881a8f9968208035ae26e5a7904fd2d7 | refs/heads/master | 2020-12-11T01:56:35.144926 | 2016-05-08T16:39:57 | 2016-05-08T16:39:57 | 58,276,769 | 0 | 0 | null | 2016-05-07T18:12:57 | 2016-05-07T17:24:31 | C++ | UTF-8 | C++ | false | false | 652 | cpp | #include "Movement.h"
Movement::Movement(int x, int y, Direction directX, Direction directY): move(x,y), directionX(directX), directionY(directY), increment(1)
{
}
Movement::Movement(Move obj, Direction directX, Direction directY) : move(obj), directionX(directX), directionY(directY), increment(1)
{
}
int Movement::g... | [
"s.artuhov@gmail.com"
] | s.artuhov@gmail.com |
071867278c9ee1d13f96311ab48fc303a9fa866d | be3e69e14e3f9296d0668e0508a1f8127369854a | /src/PrimaryGeneratorAction.cc | 24c4ddddec9ddb13d47962e4d4a855868a982015 | [] | no_license | Almanzam/ge-detector2 | e1569f0bb395220254c0dceebefb8a941737bf56 | 7e50bb179f08491b96123c8d0ee276d461e5fa28 | refs/heads/master | 2021-05-11T15:06:20.584979 | 2019-05-22T18:20:06 | 2019-05-22T18:20:06 | 117,717,106 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,498 | cc | #include "PrimaryGeneratorAction.hh"
// GEANT4 //
#include "globals.hh"
#include "G4Event.hh"
#include "G4ParticleTable.hh"
#include "G4ParticleDefinition.hh"
#include "G4LogicalVolumeStore.hh"
#include "G4LogicalVolume.hh"
#include "G4Box.hh"
#include "G4RunManager.hh"
#include "G4ParticleGun.hh"
#include "G4General... | [
"almanzam@vt.edu"
] | almanzam@vt.edu |
eaea72c30f21469e2977ba2af3a6ab806c21cbce | e267e5b2ca55b05ebc36918ecf0e4d23bf163c7c | /leetcode/020-Valid-Parenthese/jonas.cpp | 48fde695cd59342790009222e049584a61a11a41 | [] | no_license | praesepe/study | b5a47b465bdf5603d6f810a74815c33fe051c1b7 | 9b8cc59d2d49be07ff0a39dfbeb2f348db4973f4 | refs/heads/master | 2021-01-22T21:21:53.050156 | 2017-11-05T09:51:56 | 2017-11-05T09:51:56 | 85,413,438 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 617 | cpp | class Solution {
protected:
stack<char> sta;
const char pop() {
if (this->sta.empty()) {
return ' ';
}
char c = sta.top();
sta.pop();
return c;
}
public:
bool isValid(string s) {
for(char& c: s) {
switch(c) {
case '{':
case '[':
case '(':
this->sta.push(c);
break;
... | [
"pingchehsiao@gmail.com"
] | pingchehsiao@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.