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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0747ba462e4df4374889a7d871d4ec5ebd680bd4 | 13bed30fd2f729cbcafc319c62ab6b0a65ab8863 | /georgelok-cs207-sbalanovichs-georgelok-cs207/mesh_mass_spring.cpp | 933363a10980f0000ec851a3010d97973defd99d | [] | no_license | jonahkall/JBParallel | eac0cd9c96d3a1de0378e1ca6bcf60c6ba7e007f | 256492adac0320be836916e2cd38887f13048e25 | refs/heads/master | 2016-09-05T18:18:40.119827 | 2014-12-16T03:44:24 | 2014-12-16T03:44:24 | 27,520,312 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,608 | cpp | /**
* @file mesh_mass_spring.cpp
* Implementation of mass-spring system using Mesh
*
* @brief Reads in two files specified on the command line.
* First file: 3D Points (one per line) defined by three doubles
* Second file: Tetrahedra (one per line) defined by 4 indices into the point
* list
*/
#include <fstrea... | [
"kallenbach@college.harvard.edu"
] | kallenbach@college.harvard.edu |
027e77dc08a5900136aae507901186a762678c6d | 5c34abe10630b23da8ba7d1cbce38bda53a4b6fa | /RootAnalysis/src/LeaningTower/Residual.h | 71ce6bbd478b017c865d09df2534b5f52ddf97a6 | [] | no_license | fermi-lat/GlastRelease-scons-old | cde76202f706b1c8edbf47b52ff46fe6204ee608 | 95f1daa22299272314025a350f0c6ef66eceda08 | refs/heads/master | 2021-07-23T02:41:48.198247 | 2017-05-09T17:27:58 | 2017-05-09T17:27:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,026 | h | #include "TCut.h"
#include "TF1.h"
#include "TFile.h"
#include "TGraph.h"
#include "TLine.h"
#include "TList.h"
#include "TPaveStats.h"
#include "TString.h"
#include "TStyle.h"
#include "TSystem.h"
#include "TTree.h"
#include "Tracker.h"
#include "Layer.h"
#include "Event.h"
#include "Recon.h"
#include "Progress.h"
c... | [
""
] | |
13651d243149db666cff59d6813e20218d5428af | 7fca22474c2741cf7e3fb31c8b8b89799068cdea | /examples/sample.cpp | d3b7184917b38bf95b71002bb8685d5bc27cdd74 | [
"BSD-2-Clause"
] | permissive | rbock/sqlpp-concepts-experiments | fc0783d5ecc2dc852edd6950e60102888617f110 | 6ff7a93ba5bfa27e2aaa29d6860a6cbd3b806ad4 | refs/heads/master | 2020-05-07T15:10:38.256652 | 2015-03-31T07:58:06 | 2015-03-31T07:58:06 | 32,673,691 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,141 | cpp | /*
* Copyright (c) 2014-2015 Roland Bock
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of... | [
"rbock@eudoxos.de"
] | rbock@eudoxos.de |
c991b139f24c51d4376a9b3c8716a98af550c5a4 | a0dce37339bf2e60d7ddff5b1b9346e364a04bc8 | /comdiv.cpp | 2ba71102f1f7b4efb7e10dd5759219247482b9d7 | [] | no_license | archiver/spoj | c0dfdc2bfea0c4d811ee0b95dce83c720bea3eae | ac78437594b4ff062db886d03db2a7192478b603 | refs/heads/master | 2020-05-18T00:58:53.697941 | 2013-01-18T22:00:38 | 2013-01-18T22:00:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,394 | cpp | #include <stdio.h>
#define T 1000002
#define P 168
int divisors[T];
int primes[] = {2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,31... | [
"pavan@pavan.(none)"
] | pavan@pavan.(none) |
eb6d5ae824aa2a73bbe6d3351012da3fdc358cb4 | c00a2490947ad10582b5d675f070ccb62b70901d | /chromium/media/renderers/default_renderer_factory.h | 63828af52e0f6f149855a71af234f712957dd18b | [
"BSD-3-Clause"
] | permissive | teotikalki/vivaldi-source | 543d0ab336fb5784eaae1904457598f95f426186 | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | refs/heads/master | 2021-01-23T01:17:34.305328 | 2016-04-29T20:28:18 | 2016-04-29T20:28:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,663 | h | // 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.
#ifndef MEDIA_RENDERERS_DEFAULT_RENDERER_FACTORY_H_
#define MEDIA_RENDERERS_DEFAULT_RENDERER_FACTORY_H_
#include "base/callback.h"
#include "base/macros.... | [
"jason@theograys.com"
] | jason@theograys.com |
c818b103e2bd1f584873a454d31aeff6d22ea29e | 21d7c1def6efcaf9ba5b74f521f75d2aaeae8192 | /scorched3d/scorched3d.ver01/scorched-dep-win32/include/wx/wx/msw/dirdlg.h | 6eacd391ba4694cf10b62ee4b1221eac3e9e31fc | [] | no_license | QuangNhat/GitHub | 99f3714fc38f3cf007ccc947b1647f41fe8aa29b | bc9a35c5bfe53a648b717c46b6bf5ddbca9b2ea3 | refs/heads/master | 2021-01-10T16:06:11.305568 | 2015-12-17T16:45:59 | 2015-12-17T16:45:59 | 48,186,201 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,472 | h | /////////////////////////////////////////////////////////////////////////////
// Name: wx/msw/dirdlg.h
// Purpose: wxDirDialog class
// Author: Julian Smart
// Modified by:
// Created: 01/02/97
// RCS-ID: $Id: dirdlg.h,v 1.1 2006/12/02 15:58:30 scara Exp $
// Copyright: (c) Julian Smart
// Li... | [
"doquangnhat1@gmail.com"
] | doquangnhat1@gmail.com |
724a8e8ae27052cb05a718fbc8cf8285808ba4cd | 7843de0205e0276b6c7e552f8ef4c63ee9cbe28d | /Program1_BenDiegel_Less3.cpp | f6f588ffdaa6ba2680aa2450ee107d78ae222acc | [] | no_license | DiegelB/CPPHW | 721615b23655a1c3558ee58e898b9a51ae107061 | ec2416ce2f01335e79b39a19bd0746b81dc740f2 | refs/heads/master | 2021-01-20T10:04:30.963230 | 2017-10-30T02:47:23 | 2017-10-30T02:47:23 | 101,620,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,093 | cpp | /*
Program: Points calculator
Programmer: Ben Diegel
Date: 9/2/17
*/
#include <iostream>
using namespace std;
int main() {
int numberOfBooks, earnedPoints;
cout << "Please enter the amount of books you've read this month. Please enter a\n"
<< "negative value to exit the program\n>>";
cin >> numb... | [
"b.diegelg@gmail.com"
] | b.diegelg@gmail.com |
11d9b20d9d50292749ac4697b42ce887bedf30d9 | 2f814827ffab9d8d9cc23cb4c3622feb45fa5770 | /PWGGA/GammaConv/AliAnalysisTaskElectronStudies.cxx | 4cd2ba5d738b167d721896605d7bdad0d9121ec4 | [] | permissive | urasantonio/AliPhysics | dd3a851f84674846e45f4b1fdea65700dee80223 | 8ca4a9abc72a6b94e75048d08748a1debf41873e | refs/heads/master | 2022-12-17T21:54:22.246566 | 2020-09-11T14:04:20 | 2020-09-11T14:04:20 | 268,796,481 | 1 | 0 | BSD-3-Clause | 2020-09-11T13:50:03 | 2020-06-02T12:35:23 | C++ | UTF-8 | C++ | false | false | 40,561 | cxx | /**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Authors: Florian Jonas *
* Version 1.0 ... | [
"florian.jonas@cern.ch"
] | florian.jonas@cern.ch |
cff7d23724fc1a46fdc807ed9decb0a2302df391 | 7d6c1d7e135cdb5e42f0762907cdd1927abf435b | /on_line_planning/pt_paper/src/lm_plan_recognition.cxx | 093dc81e5eb6c1ef4aa3863145c6a4829cf78ef7 | [
"MIT"
] | permissive | miquelramirez/aamas18-planning-for-transparency | 058285ca12c0f270efd213b36225f5fc8d530c7a | dff3e635102bf351906807c5181113fbf4b67083 | refs/heads/master | 2020-07-01T10:32:01.898653 | 2019-08-18T22:04:48 | 2019-08-18T22:04:48 | 201,146,315 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,061 | cxx |
/* Purpose: POM17 plan recognizer */
#include <map>
#include <set>
#include <limits>
#include <algorithm>
#include <strips_prob.hxx>
#include <fluent.hxx>
#include <action.hxx>
#include <cond_eff.hxx>
#include <fwd_search_prob.hxx>
#include <landmark_graph.hxx>
#include <landmark_graph_manager.hxx>
#include <landmar... | [
"miquel.ramirez@gmail.com"
] | miquel.ramirez@gmail.com |
bf604670f217b0c17d93eb4a31c78cacf026c289 | 4ef69f0044f45be4fbce54f7b7c0319e4c5ec53d | /include/cv/core/cmd/out/dhseqr.inl | 916e4f4aba4fc9b5981781279e494c69b73adb94 | [] | no_license | 15831944/cstd | c6c3996103953ceda7c06625ee1045127bf79ee8 | 53b7e5ba73cbdc9b5bbc61094a09bf3d5957f373 | refs/heads/master | 2021-09-15T13:44:37.937208 | 2018-06-02T10:14:16 | 2018-06-02T10:14:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 276 | inl | #ifndef __dhseqr__
#define __dhseqr__
#define c_b11 c_b11_dhseqr
#define c_b12 c_b12_dhseqr
#define c__12 c__12_dhseqr
#define c__2 c__2_dhseqr
#define c__49 c__49_dhseqr
#include "dhseqr.c"
#undef c_b11
#undef c_b12
#undef c__12
#undef c__2
#undef c__49
#endif // __dhseqr__
| [
"31720406@qq.com"
] | 31720406@qq.com |
515d0a35f121c01fd16cbef73c087905ea33076f | 1d9df1156e49f768ed2633641075f4c307d24ad2 | /tizen_src/chromium_impl/content/browser/compositor/evasgl_context_provider.cc | 699dd42323d0cdd32a999319b0cb2f3592a8c699 | [
"BSD-3-Clause",
"LGPL-2.1-or-later",
"BSD-2-Clause"
] | permissive | GSIL-Monitor/platform.framework.web.chromium-efl | 8056d94301c67a8524f6106482087fd683c889ce | e156100b0c5cfc84c19de612dbdb0987cddf8867 | refs/heads/master | 2022-10-26T00:23:44.061873 | 2018-10-30T03:41:51 | 2018-10-30T03:41:51 | 161,171,104 | 0 | 1 | BSD-3-Clause | 2022-10-20T23:50:20 | 2018-12-10T12:24:06 | C++ | UTF-8 | C++ | false | false | 2,193 | cc | // Copyright 2015 Samsung Electronics. 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/browser/compositor/evasgl_context_provider.h"
#include "gpu/skia_bindings/grcontext_for_gles2_interface.h"
#include "third_party/skia/in... | [
"RetZero@desktop"
] | RetZero@desktop |
ce769fce217719f3eb3148a416826ce2dd472e3e | 62ca57c22b47d1ce2be9cef57df13aaee2544eb3 | /MyGrid/Content/GridRenderer.h | 84c44f82e43700d35b8163e94f36fe9f6dfb7ec4 | [] | no_license | marcisolti/MyGrid | feffc68bef377c7e920877a68981f44646b377c2 | 06a093796fda44f3d618d0223d6135ee98fab21a | refs/heads/master | 2023-06-25T06:37:23.573819 | 2021-07-30T09:08:38 | 2021-07-30T09:08:38 | 390,695,926 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,540 | h | #pragma once
#include "..\Common\DeviceResources.h"
#include "..\Common\StepTimer.h"
// You can find the docs at %(SolutionDir)..\docs\index.html
namespace MyGrid
{
struct alignas(16) ConstantBufferData
{
DirectX::XMFLOAT4X4 model;
DirectX::XMFLOAT4X4 view;
DirectX::XMFLOAT4X4 projection;
DirectX::XMFLOAT... | [
"marci.solti.hu@gmail.com"
] | marci.solti.hu@gmail.com |
66648d243f3d684b29abe7cb60c4e78240995665 | d41f4166f65f7b6ca163d9d5e9ef1889edcd2654 | /Simplifier/Geometry.cpp | 47c94fd16a9458df584d6bac71fb0a64a78a7383 | [] | no_license | AlexandrShcherbakov/Demo3 | ad073a0712de7275899505f3256017b2c357d8dd | 0c387fdf9cea8cff8eab8b17bc1b2251aa3b04d7 | refs/heads/master | 2021-01-21T21:43:13.658982 | 2016-03-22T11:31:36 | 2016-03-22T11:31:36 | 51,869,564 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,086 | cpp | #include "Geometry.h"
///Small changes
void Geometry::mergeTwoPoints(uint p1, uint p2) {
mergeTwoPoints(p1, p2, (points[p1] + points[p2]) / 2.0f);
}
void Geometry::mergeTwoPoints(uint p1, uint p2, vec4 newP) {
///Update points
/*points[p1] = newP;
indices[p2] = p1;*/
uint tmp = std::min(p1, p2);
p2 ... | [
"alex.shcherbakov.as@gmail.com"
] | alex.shcherbakov.as@gmail.com |
a96af18ac17f1733c882c18738739fd5fe0fab0a | 28a43c8d0403d661f85a986e25e14adb29c50106 | /arduino_code/arduino_code.ino | e2a042a7ae00abe054b818735fefa21e2240b7fd | [
"MIT"
] | permissive | darmbrus/plant-watering-tracker | 53ed53c1e8d6a81c4449c1ded3cd4dbbb01b56e1 | cb4f797104c2c4b2ea889d3725157861fcc19399 | refs/heads/master | 2021-01-11T00:39:19.172170 | 2016-10-19T04:18:12 | 2016-10-19T04:18:12 | 70,503,048 | 0 | 2 | null | 2016-10-19T04:18:13 | 2016-10-10T15:44:30 | Ruby | UTF-8 | C++ | false | false | 357 | ino | const int buttonPin = 2;
int buttonState = 0;
void setup() {
Serial.begin(9600);
pinMode(buttonPin, INPUT);
}
void loop() {
int randNum = random(300);
buttonState = digitalRead(buttonPin);
if (buttonState == HIGH) {
Serial.println(randNum);
while(buttonState) {
buttonState = digitalRead(bu... | [
"david.armbrust@gmail.com"
] | david.armbrust@gmail.com |
d8a48d1da26efb82b52230f1b657d28e28255eb8 | bd6b62b691f2e5fef2d0ad053616de20efbe1fd8 | /cpp_c/gcc/lang_spec/inherit/override-by-non-vertual.cpp | b96f7ed08032c2e1bc1f7635d0866d421eee15fd | [] | no_license | kurokawh/test | ed273acb0f559ec17bbc529745e8cf6fb3130e95 | 172ba3cb4ed89ce5f6d4dfc2dbeccaf0d285bcc8 | refs/heads/master | 2023-01-25T02:59:49.617869 | 2023-01-19T05:40:08 | 2023-01-19T05:40:08 | 42,255,830 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,152 | cpp | #include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
// check if vertual func can be overrided by non-vertual func.
// => non virtuan func can be called.
class A {
int a;
public:
virtual void test(A& arg) {
printf("A::test(): %d\n", arg.a);
}
void publicFuncA() {
printf("A::pulicFuncA(): \n");
}
void ... | [
"kurokawa@rd.scei.sony.co.jp"
] | kurokawa@rd.scei.sony.co.jp |
a7bcdc72e709f1eccbdd82ae91bed9a5f93fc4fd | af0ecafb5428bd556d49575da2a72f6f80d3d14b | /CodeJamCrawler/dataset/14_23342_6.cpp | 1c3fcb70c1814aa6784be1ce3fcca0152aed4d0f | [] | no_license | gbrlas/AVSP | 0a2a08be5661c1b4a2238e875b6cdc88b4ee0997 | e259090bf282694676b2568023745f9ffb6d73fd | refs/heads/master | 2021-06-16T22:25:41.585830 | 2017-06-09T06:32:01 | 2017-06-09T06:32:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 939 | cpp | #include <iostream>
#include <set>
#include <vector>
using namespace std;
int main()
{
int t,T;
cin >> T;
int board[4][4];
set<int> s;
int i,j;
for( t = 0; t < T; t++)
{
int row;
cin >> row;
for( i = 0; i < 4; i++ )
{
for( j = 0; j < 4; j++ )
{
cin >> board[i][j];
}... | [
"nikola.mrzljak@fer.hr"
] | nikola.mrzljak@fer.hr |
d051ee2439151facf88044e833fb25a88c843d07 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14276/function14276_schedule_0/function14276_schedule_0.cpp | 19bad50d62f4787e41fdccac84fa4c51b34a18b6 | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,698 | cpp | #include <tiramisu/tiramisu.h>
using namespace tiramisu;
int main(int argc, char **argv){
tiramisu::init("function14276_schedule_0");
constant c0("c0", 65536), c1("c1", 1024);
var i0("i0", 0, c0), i1("i1", 0, c1), i01("i01"), i02("i02"), i03("i03"), i04("i04");
input input00("input00", {i0}, p_int3... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
20f44ac01e4a639ff2659dc043b3a70d96f28af0 | 349fe789ab1e4e46aae6812cf60ada9423c0b632 | /Forms/HOT_SprObject/UHOT_FormaElementaSprObjectImpl.cpp | 0e2ad0b3252b5615a355cadf7ac5960cd1c7019c | [] | no_license | presscad/ERP | a6acdaeb97b3a53f776677c3a585ca860d4de980 | 18ecc6c8664ed7fc3f01397d587cce91fc3ac78b | refs/heads/master | 2020-08-22T05:24:15.449666 | 2019-07-12T12:59:13 | 2019-07-12T12:59:13 | 216,326,440 | 1 | 0 | null | 2019-10-20T07:52:26 | 2019-10-20T07:52:26 | null | WINDOWS-1251 | C++ | false | false | 8,775 | cpp | #include "vcl.h"
#pragma hdrstop
#include "UHOT_FormaElementaSprObjectImpl.h"
#pragma package(smart_init)
extern int NumObject;
//---------------------------------------------------------------
THOT_FormaElementaSprObjectImpl::THOT_FormaElementaSprObjectImpl()
{
... | [
"sasha@kaserv.ru"
] | sasha@kaserv.ru |
119943f722c510b727fb0c7fc6d8bcb6db01b047 | bd1e457d3bc7aba76c1200d15416fa5c1bf847de | /DSA/LAB/Lab 6/Task2.cpp | d57dd5a64bf34c562ff7e33039d90897ee3207c0 | [] | no_license | Mu-Ahmad/OOP-CMP-244-241 | 6da4f2fee88c207a688b8c70a8dd3ad8655921c3 | 3dd826fff83c9a539f89fc2483ac80c032b269dc | refs/heads/main | 2023-06-06T16:30:06.089789 | 2021-06-18T15:33:35 | 2021-06-18T15:33:35 | 303,761,272 | 17 | 6 | null | 2020-10-26T11:14:37 | 2020-10-13T16:19:04 | C++ | UTF-8 | C++ | false | false | 4,647 | cpp | /*
Name: Muhammad Ahmad
Roll: BCSF19M509
*/
#include <iostream>
using namespace std;
#define DUMMY 0
class DNode {
public:
DNode *prev, *next;
int data;
DNode (int d, DNode *p = NULL , DNode *n = NULL ) {
data = d;
prev = p;
next = n;
}
};
class DHCLList {
public:
DNode *head;
DHCLList() { head = new D... | [
"ahmadsaifofficial@gmail.com"
] | ahmadsaifofficial@gmail.com |
8596d0c908734000468bf1781892c9fbc28d0e06 | 5852e3aab5677d380c22b2de9508ab043ea28657 | /Console Test Chess/FieldG2.cpp | 8ed116c7f0c837b1b6f13e665eb8affbdd5bab2a | [] | no_license | ongornbk/Chessy | b1307df6f8bdc95780094d1aa8be709e30f64754 | efa0b2cdf0e6d60084b51e409414207f6a01a637 | refs/heads/master | 2023-04-16T09:54:36.266850 | 2021-05-01T18:47:40 | 2021-05-01T18:47:40 | 363,280,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 711 | cpp | #include "FieldG2.h"
const __int64 _stdcall FieldG2::GetIndex() const noexcept
{
return FIELD_G2;
}
modern_array<IField*>& FieldG2::GetWhitePawnMoves()
{
modern_array<IField*>* fields = new modern_array<IField*>(2);
if (m_board->GetFieldByIndex(FIELD_F3)->HasBlackPiece())
fields->push_back(m_board->GetFieldByInd... | [
"MSI@DESKTOP-RIEGR2K"
] | MSI@DESKTOP-RIEGR2K |
d93b7a1c7fd1e77c85d5c9a69ce93b1f4e2a367a | 4002bc4433e1493cea98d1a54a3247c7a14cd39d | /ejemplo 3.cpp | fa6f660fe7a64edc9bc106910aeb374269db4a48 | [] | no_license | rafaelapure82/C-Parte-3 | 481e8cea7afdf6df105e15d5c0096d16766374a1 | ec33f0afc12c68dcab50541abc0e6a77de610f58 | refs/heads/master | 2021-09-04T12:38:40.801038 | 2018-01-18T18:53:53 | 2018-01-18T18:53:53 | 118,021,386 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 336 | cpp | #include <iostream> // ejemplo 3 #include <string>
using namespace std;
int main()
{
string s1 = "Hola ", s3="maria";
string s2="maria";
s2 = "carlos"; //Cambio del valor de la variable
string s = s1 + s2;
cout << s1 << s2 << '\n'; //Primer mensaje
cout << s << '\n'; //Segundo Mensaje
s += '\n';
cout << s;//Ter... | [
"ing.rafaelmontenegro"
] | ing.rafaelmontenegro |
230f1b9c314506328dab84d3f41c115654df9ff7 | 7c6d70f9fb2bc1aae675e6359f8bcc3026aef7f7 | /engine/sdk/inc/RenderTextParam.h | 8e53a0b6ff138fd834ad87dfc38ed1b38b6f3fa1 | [] | no_license | lxq2537664558/RushGame | 1143d05fbf5cba43ff81d350caca5134a9f7dfdd | 361ecd2d44c80194460770d3c81355191b5f79eb | refs/heads/master | 2020-05-16T23:51:15.655169 | 2014-04-25T03:43:35 | 2014-04-25T03:43:35 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 8,046 | h | #pragma once
#include "CColor.h"
#include "CVector3.h"
#include "CRectangle.h"
#include "CGraphicMallocObject.h"
namespace sqr
{
/// 字体绘制效果.表情是一种特殊的字体
struct FontEffect
{
enum
{
Italic = 1<<0, ///< 斜体
Outline = 1<<1, ///< 描边
Shadow = 1<<2, ///< 阴影
Gradual = 1<<3, ///< 渐变色
Vertical = 1<<29,... | [
"zhong264love@gmail.com"
] | zhong264love@gmail.com |
a8ed1387e8a143a87b47156cae493118a10e00da | c0e0138bff95c2eac038349772e36754887a10ae | /mdk_release_18.08.10_general_purpose/mdk/common/components/imageWarpDyn/compShvDynApps/imageWarpDynlib/Entry.cpp | 07c26e08a49b370ed278dbfb6038da9bef214b80 | [] | no_license | elfmedy/vvdn_tofa | f24d2e1adc617db5f2b1aef85f478998aa1840c9 | ce514e0506738a50c0e3f098d8363f206503a311 | refs/heads/master | 2020-04-13T17:52:19.490921 | 2018-09-25T12:01:21 | 2018-09-25T12:01:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,912 | cpp | ///
/// @file
/// @copyright All code copyright Movidius Ltd 2012, all rights reserved.
/// For License Warranty see: common/license.txt
///
/// @brief Image warp component
///
// 1: Includes
// ----------------------------------------------------------------------------
#include <math.h>
#... | [
"palani.andavan@vvdntech.com"
] | palani.andavan@vvdntech.com |
8e865311140b493eab6287c49553ba57a4195c95 | 54fae68239e935143f77e3bca9513cb0a0263476 | /Chapter20/exercises/20.09/ex_2009.cpp | 4f8d747c089b0280a1ffda39468279fb6245835c | [] | no_license | CHENGCHANGHU/Cpp-How-To-Program-9E | 9e3406c0079960b366f6c636ab56caed807e3ac7 | e9a37f2717e17dd5b37f80e27ab52b7f664853be | refs/heads/master | 2021-04-03T05:38:48.952450 | 2018-02-20T23:10:50 | 2018-02-20T23:10:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,209 | cpp | /*
* =====================================================================================
*
* Filename: ex_2009.cpp
*
* Description: Exercise 20.09 - Copying a List in Reverse Order
*
* Version: 1.0
* Created: 13/06/17 12:12:56
* Revision: none
* Compiler: g++
*
* ... | [
"siidney.watson.work@gmail.com"
] | siidney.watson.work@gmail.com |
c22c1fe3a1a2b3916f0fb5e6a9cd679f2353c418 | 8ab64d4f95421180c7238a707a59753eb7102428 | /chrome/browser/chromeos/policy/remote_commands/device_command_start_crd_session_job.h | 76c4b2daeb37787393d28d8e7f7f6eddda3f2aec | [
"BSD-3-Clause"
] | permissive | cyCao350/chromium | 3400144ab22bde9ca179547602857cc3306de857 | 90ed3e55ebf1db93db956c753f48d692e8f46c8b | refs/heads/master | 2023-01-09T13:09:00.816731 | 2018-08-02T06:33:19 | 2018-08-02T06:33:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,078 | h | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_CHROMEOS_POLICY_REMOTE_COMMANDS_DEVICE_COMMAND_START_CRD_SESSION_JOB_H_
#define CHROME_BROWSER_CHROMEOS_POLICY_REMOTE_COMMANDS_DEVI... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
07bb1f6083086356842b64afc58add57c8ddadc6 | c2f436afd2fbce2d20caf001b5ff93519b5e7ee8 | /flashlight/autograd/Functions.cpp | 1dcb2e083e767eb7601d0815db6df5c0d10783fd | [
"MIT"
] | permissive | pzelasko/flashlight | 395fd62348f477f4ecad8cc76bf0508b057a05ca | ea702c05403600d1339d0744a456f68694553187 | refs/heads/master | 2020-04-13T03:20:09.335863 | 2018-12-23T01:15:23 | 2018-12-23T01:17:19 | 162,928,354 | 0 | 1 | MIT | 2018-12-23T22:31:24 | 2018-12-23T22:31:24 | null | UTF-8 | C++ | false | false | 33,216 | cpp | /**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/*******************************************************
* Copyright (c) 2017, ArrayFire
* All rights reserved.
*
* This file i... | [
"vineelkpratap@fb.com"
] | vineelkpratap@fb.com |
366187213f3110a6521e6bea5c0bae6ba4e7ffc1 | 019d64d5fb05b266dc6e4f281403ae9ba1b9a0be | /src/lib/sparse_matrix/msr_matrix.h | fde6f89897f3f191f56bcf08ef6d0a7151f19e28 | [] | no_license | mrFlatiron/3d_interpol | 590f8a57b625b79fb59ec3d556bdbd87210bfc83 | 5780b28ad07af32fbc0c77227abac6cf2f096d29 | refs/heads/master | 2021-01-20T13:44:17.368731 | 2017-05-30T23:21:04 | 2017-05-30T23:21:04 | 90,523,814 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,069 | h | #ifndef MSR_MATRIX_H
#define MSR_MATRIX_H
#include "containers/simple_vector.h"
#include <cstdio>
#include <vector>
class msr_thread_dqgmres_solver;
class msr_matrix
{
private:
int m_n;
int m_arr_size;
simple_vector m_aa;
std::vector<int> m_ja;
public:
friend class msr_thread_dqgmres_solver;
msr_matrix (... | [
"mr.flatiron@mail.ru"
] | mr.flatiron@mail.ru |
89112359f67cf7c373905735e2fc41664359413b | d8010b0cfced1c941e632ed4cc927d20d7b7bf95 | /devel/include/inspire_hand/set_gesture_noRequest.h | 2d4d0366095439eb5125a2c9c97464d14a20d022 | [] | no_license | ZJU-Robotics-Lab/motion-retargeting-rl | b143b7695d8813edc12def6e218975ad8a499329 | 073a511edfad5b758537d4564a05fea43c229004 | refs/heads/master | 2022-11-29T13:57:33.736198 | 2020-07-28T08:04:20 | 2020-07-28T08:04:20 | 283,143,525 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,208 | h | // Generated by gencpp from file inspire_hand/set_gesture_noRequest.msg
// DO NOT EDIT!
#ifndef INSPIRE_HAND_MESSAGE_SET_GESTURE_NOREQUEST_H
#define INSPIRE_HAND_MESSAGE_SET_GESTURE_NOREQUEST_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/bu... | [
"lwj19970331@gmail.com"
] | lwj19970331@gmail.com |
370a78de4bafa6fc8d647a8a287479af88ab7965 | 3912e69afbe91860a09bab2d8fa3d31263055766 | /test_3_4_2_1.cpp | 0dccd9b00179aea10e0ac7bf193106d0c5d2f263 | [] | no_license | MagicSen/C_Plus_Plus_Primer | db4faa61d94aabc6c2ca6d66f9c93882ee7b573a | 31d5ef74ebe143228ce71579ebd32eb5f1850896 | refs/heads/master | 2016-09-05T15:54:24.761932 | 2014-10-18T07:43:57 | 2014-10-18T07:43:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 581 | cpp | #include <iostream>
#include <vector>
#include <string>
using std::cout;
using std::cin;
using std::endl;
using std::vector;
using std::string;
int main()
{
// vector<int> tm(10,42);
// vector<int> tm{42 ... 42};
// vector<int> tm = {42 ... 42};
vector<int> sm;
int temp=0;
while(cin >> temp){
sm.push_back(temp); ... | [
"magicys520@gmail.com"
] | magicys520@gmail.com |
41ef37b9e95f4397ac1ca73b715b01c0a004a04e | 10464800f55b04f9f821d9b6a12b58f4185bc7df | /RapidXML/zip.cpp | 7a1583ce1d007d9fb55c2fbfb68c442bc9740a69 | [
"MIT",
"BSL-1.0"
] | permissive | TheGnewGuy/ODSUtilities | 6c2b6681b4bd02714dbbf5c0963739e9431d1e92 | b477e4af8b19cdf316e0e966690ea6cffa329257 | refs/heads/master | 2021-01-25T03:20:14.310574 | 2015-01-26T03:24:31 | 2015-01-26T03:24:31 | 28,576,223 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 113,153 | cpp | #include "stdafx.h"
#include <windows.h>
#include <stdio.h>
#include <tchar.h>
#include "zip.h"
// On MSVC, disable "conditional expression is constant" warning (level 4).
// This warning is almost impossible to avoid with certain types of templated code
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable:4... | [
"john.gnew@verizon.net"
] | john.gnew@verizon.net |
1f319770ce89cd6e26c16890f54679399916ff81 | 515289d2bf3171001efa6d9676207c2dbf7edd3f | /Game/Stage8.cpp | 45f2b5e16d9e9ef564d34af5f9b5b579cc4380ac | [
"MIT"
] | permissive | Gutt4N/Synchro | a3231a9c9e46023231b3c283cdb0e6d5fe59473e | e4c882078d361dc656139c926a96d7806fbd4b74 | refs/heads/master | 2021-01-13T01:07:42.478114 | 2017-02-09T04:34:34 | 2017-02-09T04:34:34 | 81,408,289 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,666 | cpp | //__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/
//! @file Stage8.cpp
//!
//! @brief Map関連のソースファイル
//!
//! @date 日付
//!
//! @author GF3_01_安藤 祥大
//__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/
// ヘッダファイルの読み込み ========================================... | [
"guttan.syo@gmail.com"
] | guttan.syo@gmail.com |
8d372dcf75a92c930d581fc96e6cfc70265a206b | 97398fef26adee8f02d173d1355abed2f8ff5ffa | /ue.spat/externals/ue.binaural.decoder~.mxo/ue.binaural.decoder.cpp | 2c04161cca7b8958e3173cecfbfe20eda182c3dc | [] | no_license | etiennedemoulin/spat4unreal | ccb2feb8f7f7accb7c89cc8e59af4e4541db15b0 | 5a40feca322884eb52d9d51c7a25216f73ef7a9c | refs/heads/master | 2022-12-09T15:39:02.380492 | 2020-08-29T23:23:16 | 2020-08-29T23:23:16 | 290,445,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 598,428 | cpp | /* ------------------------------------------------------------
author: "Pierre Lecomte"
copyright: "(c) Pierre Lecomte 2015"
license: "GPL)"
name: "Binaural decoder"
version: "1.0"
Code generated with Faust 2.26.2 (https://faust.grame.fr)
Compilation options: -lang cpp -double -ftz 0
----------------------------------... | [
"etioud@gmail.com"
] | etioud@gmail.com |
aa5ec7f975cd1cd5c5bf2cbc627d2989d7a33d36 | a51f2693e411771dc089fe2fffe5656c92166f6b | /gui/actions/kalenderviewcontroler.h | ee5a3a7289634e47153c7674bff65ff37a0ded3e | [] | no_license | mdirks/stundenplaner | d4921b70772aee85f0ce84e9b8cbf1ca2f8620f1 | ef8bd04d15941672669ee9732817e2cbe0d112f9 | refs/heads/master | 2021-09-11T14:36:57.387004 | 2021-09-05T12:49:56 | 2021-09-05T12:49:56 | 82,451,937 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,954 | h | /***************************************************************************
* Copyright (C) 2008 by Marcus Dirks *
* m-dirks@web.de *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the ter... | [
"mopp@linux-5x4w.localdomain"
] | mopp@linux-5x4w.localdomain |
961224f0fca0d8138cf22a6201953efa9d9c333f | 64d40840ef8f99455534f501b00cc13943ec6787 | /testcheck.cc | c008a3adcb461db8b3b9b4782658eea0f1f9304c | [] | no_license | jb548319/CS2401_Project_1 | 34f4383ea614e96a4a3fe21764375bbf8547f228 | ccde86a944d691f7bf93a86dcfb3fc0bf5882e00 | refs/heads/main | 2023-07-31T04:49:17.930098 | 2021-09-14T22:54:23 | 2021-09-14T22:54:23 | 402,238,887 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,213 | cc | /*************************************************************************
The purpose of this little program is allow you to test the input
and output functions and operators that you have written for the
Check class. You should write these BEFORE you start developing the
Checkbook class, and you shoul... | [
"jb548319@Ohio.edu"
] | jb548319@Ohio.edu |
63552cb703f5ac6fa59d03f7a704abe26259e9ef | 2a0799c18d6e31398c6e0a3aaf614b33762b81b5 | /Wheels.cpp | 493d98d4bc2048086319ba6a037a513a7b887fa1 | [] | no_license | dntAtMe/embedded-2018-2019 | eb1d1e41a3a330c7a17c8a1daf41f03413b5e979 | e74f6b03da5e50fc4cddfbcb7430f29f6bf4c48f | refs/heads/master | 2020-05-30T18:06:50.643721 | 2019-06-02T20:12:34 | 2019-06-02T20:12:34 | 189,890,394 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,216 | cpp | #include <Arduino.h>
#include "Wheels.h"
#define SET_MOVEMENT(side,f,b) digitalWrite( side[0], f);\
digitalWrite( side[1], b)
#define INTINPUT0 A0
#define INTINPUT1 A1
#define BEEPING_PIN 13
volatile int cnt0, cnt1;
long int beepingFreq = 250000;
void doBeep()
{
digitalWrite(BEE... | [
"dntatm3@gmail.com"
] | dntatm3@gmail.com |
cd89826a08896a4e070e25e6ca747031fc0984c2 | 818df5a6b667055f9c472e72ee0fc823f86de819 | /628.cpp | fd3f0f9aca8f3f5448e2d232baa6e559ecbedf3f | [] | no_license | kalex1994/UVA | 0a495e971fdcf92a785421a5c741bda915c21fca | cf45c6174cd299df14e8b52637c29ea7c3ec0f20 | refs/heads/master | 2021-01-01T19:47:13.630295 | 2016-10-15T19:14:46 | 2016-10-15T19:14:46 | 12,342,624 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 874 | cpp | #include <iostream>
#include <cstdio>
#include <string>
#include <vector>
#include <cstring>
#include <algorithm>
#include <sstream>
#include <cmath>
#include <map>
#include <set>
using namespace std;
int n, m;
string words[100];
string rule;
void make_passwords(string password, size_t index)
{
if (index >= rule.len... | [
"kiralaleks@gmail.com"
] | kiralaleks@gmail.com |
bf740e82c4741a12601505416dc7413a2a228665 | 1a218c67ad04f99e52c37425fdb933b053af6244 | /Ch09/exercise9.49.cpp | 5cb899cb17a689aeb2b3a014a43cdfdb11e04bb1 | [] | no_license | xiaonengmiao/Cpp_Primer | 5a91cd223c9b0870f4ab9a45c6f679333a98fa20 | be20a29b49be19f6959b7873077ea698da940bf6 | refs/heads/master | 2020-12-25T14:23:58.976008 | 2020-06-18T07:54:43 | 2020-06-18T07:54:43 | 66,343,361 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 523 | cpp | #include<iostream>
#include<string>
#include<fstream>
using namespace std;
int main()
{
string ascdes{"tdhfklbqypgj"};
ifstream ifs("../data/letter.txt");
if (!ifs) return -1;
string word;
string longword;
unsigned len = 0;
while (ifs >> word)
{
if (word.find_first_of(ascdes) == string::npos && ... | [
"hlibb@connect.ust.hk"
] | hlibb@connect.ust.hk |
cb8530ce9488d87560491483ce3e980948394be2 | c22c9454f6e31d94c24f8ee914a4985dd2836a05 | /Vuforia HoloLens Sample (1)/test1/Il2CppOutputProject/Source/il2cppOutput/Bulk_UnityEngine.UnityWebRequestModule_0.cpp | b340d6f48793d55194540981b4e6b3df68592677 | [] | no_license | carlosfelipetorres/GuitarAR | e3f4ae2b557700cb1e673fe694305d275c1ff027 | e284d22a1e129ee4595e42359a7da513942ee1a6 | refs/heads/master | 2020-03-20T02:56:08.339018 | 2018-06-12T21:33:48 | 2018-06-12T21:34:13 | 137,125,726 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 57,106 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "object-in... | [
"carlosfelipetorres75@gmail.com"
] | carlosfelipetorres75@gmail.com |
c317898e7bde47d63eb3e2b8eed6c459abfb2608 | 4b19135464a032c1d5271cd1ae58afb21df38584 | /Samples/C++/DirectShow/Filters/DSNetwork/Receiver/mspool.h | 2022e5302f29bb5c4da419bc1cb0ed77c4a79ae7 | [] | no_license | sjk7/DX90SDK | f47cebbba53133923880004bc6e3a33cff1fe895 | dd155425badb2cd3993c27f869efc007764e599b | refs/heads/master | 2021-08-26T07:47:03.826451 | 2021-08-12T05:03:03 | 2021-08-12T05:03:03 | 253,911,891 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,735 | h |
/*++
Copyright (c) Microsoft Corporation. All Rights Reserved.
Module Name:
mspool.h
Abstract:
Notes:
--*/
#ifndef __mspool_h
#define __mspool_h
class CTSMediaSamplePool ;
class CTSMediaSample ;
class CNetworkReceiverFilter ;
// media sample flags
#define SA... | [
"radiowebmasters@gmail.com"
] | radiowebmasters@gmail.com |
ad2ae659704b93ab8f922e750cbcb20314bbfc32 | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/printscan/faxsrv/src/com/whistler/faxarchiveinner.h | 6eb6ac7d7ae679af79b5f936bcca59e5a49c4d5a | [] | 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 | 25,673 | h | /*++
Copyright (c) 2000 Microsoft Corporation
Module Name:
faxarchiveinner.h
Abstract:
Declaration and Implementation of Fax Archive Inner Template Class.
Author:
Iv Garber (IvG) May, 2000
Revision History:
--*/
#ifndef __FAXARCHIVEINNER_H_
#define __FAXARCHIVEINNER_H_
#include "resource.h" // main... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
5f6a7547818f9630d254dd4e5e1a57d6a7e963ab | 367fba5df552aef1ee9aa6add6bb512b781bc6d4 | /plugins/jsAPI/nodeJsExtension/wrappers/ApeIndexedLineSetGeometryJsBind.h | 1e9b9c71a432a5da2fee8f2437daa8d41eac1e8a | [
"LicenseRef-scancode-free-unknown",
"MIT"
] | permissive | hamoriakos/ApertusVR | 2d3e5736b26404198b222d24388bb3c1c162ee69 | 14303ab54963e52409ed376cdafae5c43004074b | refs/heads/master | 2021-09-16T00:13:48.980732 | 2017-06-28T18:23:14 | 2017-06-28T18:23:14 | 105,749,913 | 0 | 1 | MIT | 2018-06-13T13:54:38 | 2017-10-04T09:11:13 | C++ | UTF-8 | C++ | false | false | 4,023 | h | /*MIT License
Copyright (c) 2016 MTA SZTAKI
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 rights
to use, copy, modify, merge, publish, dist... | [
"peter.kovacs@sztaki.mta.hu"
] | peter.kovacs@sztaki.mta.hu |
4bd2d3863e213b995ce4c797f69651b760fb6ceb | be0db8bf2276da4b71a67723bbe8fb75e689bacb | /Src/App/init.cpp | d888c01b5df8390fb58162ef1efbd36db997300d | [] | no_license | jy02140486/cellwarfare | 21a8eb793b94b8472905d793f4b806041baf57bb | 85f026efd03f12dd828817159b9821eff4e4aff0 | refs/heads/master | 2020-12-24T15:22:58.595707 | 2011-07-24T12:36:45 | 2011-07-24T12:36:45 | 32,970,508 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,030 | cpp | #include "app.h"
#include "event.h"
#include <time.h>
bool T_App::init()
{
try
{
//initail window description
mWinDesc.set_title("CellWarfare");
mWinDesc.set_allow_resize(true);
mWinDesc.set_size(CL_Size (800, 600), false);
CL_String resource("../Res/GUITheme/resources.xml");
CL_String the... | [
"jy02140486@gmail.com@7e182df5-b8f1-272d-db4e-b61a9d634eb1"
] | jy02140486@gmail.com@7e182df5-b8f1-272d-db4e-b61a9d634eb1 |
7353c3ed56ed21b0b9df018981759d6e716ec9b1 | e9ba75ae30fd8af7cb00dc330bae6e5ea9f04043 | /src/physicsentity.h | 41c416e3bfb5fe60f9d30fce48b35607573d0d47 | [
"MIT",
"BSD-3-Clause"
] | permissive | adderly/Bacon2D | a4fad8084c75e3dc62e627c382aee969c97ba354 | 4875cddc1301cae0212ee4e32192bb17821b36f2 | refs/heads/master | 2021-01-24T23:11:43.345455 | 2016-10-29T23:06:19 | 2016-10-29T23:06:19 | 49,147,938 | 0 | 1 | null | 2016-01-06T16:44:24 | 2016-01-06T16:44:24 | null | UTF-8 | C++ | false | false | 1,193 | h | #ifndef PHYSICSENTITY_H
#define PHYSICSENTITY_H
#include <QObject>
#include <entity.h>
class QPointF;
class Box2DBody;
typedef Box2DBody Body;
/**
* @brief
*/
class PhysicsEntity : public Entity
{
Q_OBJECT
Q_PROPERTY(Body* body READ body WRITE setBody NOTIFY bodyChanged)
public:
PhysicsEntity(QQuickItem*... | [
"adderlygonzalez@gmail.com"
] | adderlygonzalez@gmail.com |
853274b10388c9a87dae29e7c593aad1b110beb8 | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE36_Absolute_Path_Traversal/s04/testcases.h | 2053b3349e375c5c71ecdc93ffbe03e9d64f9086 | [] | 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 | 108,786 | h | // NOTE - eventually this file will be automatically updated using a Perl script that understand
// the naming of test case files, functions, and namespaces.
#ifndef _TESTCASES_H
#define _TESTCASES_H
#ifdef __cplusplus
extern "C" {
#endif
// declare C good and bad functions
#ifndef OMITGOOD
/* BEGIN-AUT... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
e8bd887270f09fd87c7f50e74d880fa70a6f1c04 | ab6937915ca4a3a8b95d3021177a752c54157d21 | /C/LatihanBahasaC.cpp | f23c0a39c8628d9156c973c9ce96d6839cee6efe | [] | no_license | fitrailyasa/Latihan-Coding | b953ecb8c6f7624d260576c18d8813b9291963f2 | f3a211585f8635c2c68b21c41701ee07f5e55d74 | refs/heads/main | 2023-06-17T01:00:35.471920 | 2021-07-13T21:47:48 | 2021-07-13T21:47:48 | 385,743,161 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 241 | cpp | #include <stdio.h> //manggil library (Perpustakaan bahasa C)
int main(){ // Pintu masuk program
int a; // tipe data int = integer (bilangan bulat), float = bilangan pecahan
printf("Halo, Dunia"); //output = Halo, Dunia
scanf("%d", a);
}
| [
"nde.joker12@gmail.com"
] | nde.joker12@gmail.com |
025ef13ba6732d96f2c7663e14cf94f9be060684 | 04c66673a7f8ebdca37e1a28bfdfa9af56716ddc | /02_auto/main.cpp | fd8a935abb472b0f85b2aa94a41b34487084cf94 | [] | no_license | mkargi/modern_effective_cpp | 14b2e5daaf3811ec657a47ee62f56d45746d90b8 | 003a586c0c326020ca12eae1d07937eda7142924 | refs/heads/master | 2023-01-23T04:11:42.522368 | 2020-12-02T16:38:27 | 2020-12-02T16:38:27 | 315,421,352 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 249 | cpp | #include <iostream>
int main()
{
auto x = 27; // int
const auto cx = x; // const int
const auto& rx = x; // const int&
auto&& uref1 = x; // int&
auto&& uref2 = cx; // const int&
auto&& uref3 = 27; // int&&
return 0;
}
| [
"matthias.karg88@googlemail.com"
] | matthias.karg88@googlemail.com |
21e557b437cb374995727fd2939cf2330f321082 | 72d44d01083aeb66606cecd9d84dbb0eb17b0acb | /leetcode/leetcode173/leetcode173/main.cpp | 481a449b8e4c57cca58be4c5dc3365ebe5602e19 | [] | no_license | danache/coding | e3d704b6302acb913d3f58ea1dfe9e126d1b0f39 | ef798534e8412eb81f31318244305e1a6110ea72 | refs/heads/master | 2020-04-19T15:12:56.562307 | 2018-06-03T06:24:37 | 2018-06-03T06:24:37 | 66,996,085 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,217 | cpp | //
// main.cpp
// leetcode173
//
// Created by 萧天牧 on 17/4/23.
// Copyright © 2017年 萧天牧. All rights reserved.
//
#include <iostream>
#include <stack>
#include <vector>
using namespace std;
/**
* Definition for binary tree
*/ struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
Tree... | [
"danache@126.com"
] | danache@126.com |
053b8cc331fbaeaeb235e57d0d6a4c7f9797d3f3 | a37c5c59364f16db8475db8a3bf237abcb12702f | /Part3/Chap07/07.QuadTree+FixCrack/Dib.cpp | 9f6c76a68c872ce88357d58ef19013228d7f565b | [] | no_license | blastingzone/ComputerGraphicsAdvenced | 915d3cab0375b4beb6cfad347fb5746f848eb77c | 95c4b33c316a60e58754dfb4e873f49397aadbd1 | refs/heads/master | 2021-01-18T16:13:07.001810 | 2014-06-22T17:13:39 | 2014-06-22T17:13:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,426 | cpp | // DIB module
#include <windows.h>
#include <stdio.h>
#include <math.h>
#include "dib.h"
#define DEFAULT_XPIXELSPERMETER 3000
#define DEFAULT_YPIXELSPERMETER 3000
////////////////////////////////////////////////////////////////////////////////
// file io
LPBYTE DibLoadHandle( LPSTR lpFileName )
{
FILE *fp;
... | [
"bulbitain@nhnnext.org"
] | bulbitain@nhnnext.org |
8df1f80cbf39d16c93339251558049793177ad65 | 733da9a1460ea0fbddcfb2723ef5737ed5157796 | /01/test1.cpp | 7aff96da34f0aa4f0f7fce95a98dd707ccc569ee | [] | no_license | RuslanNarziev/msu_cpp_spring_2020 | 6d6d71e57b8e27a365f02e52071290f853e1abea | 848d742d536e41a9b1280ebc0931a6e7bfbd5d86 | refs/heads/master | 2022-10-23T20:00:39.960559 | 2020-06-11T16:48:00 | 2020-06-11T16:48:00 | 246,590,206 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 232 | cpp | #include "task1.h"
int main() {
Allocator al;
al.MakeAllocator(1000);
if(al.Get_startptr() != NULL)
std::cout << "Memory has allocated";
else
std::cout << "Memory has not allocated";
return 0;
} | [
"ruslokoboy@mail.ru"
] | ruslokoboy@mail.ru |
7c27560a0c49fa5c6b919193f4ded9873816fd49 | 3a17418505f5c68564100f03caa789db2e214477 | /testCases/Cavity/Hanhoun/non-ideality-comparison/cavity_stoich_MAPST_Gamma/435860/NH4 | 9b3012f38ec8ca2b420df5925a97c6d00771b868 | [] | no_license | BJankauskas/mapFoam | 2554798c7a4435c90e3f269e84c1c6e6109bb1e7 | 06200cf3a51da3e9a8d284d9df18f8634964dc1a | refs/heads/master | 2020-05-24T16:31:26.833077 | 2019-05-21T18:40:15 | 2019-05-21T18:40:15 | 187,356,603 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,139 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.x |
... | [
"bernardas.jankauskas@gmail.com"
] | bernardas.jankauskas@gmail.com | |
04ed465116ac0efb1d47a98946432b12767dc9b7 | d62df1592c497496d776c09b7394bc1a430d8f29 | /src/client/TcpUser.cpp | af0ece6e23fa117697306f60809f69f9168fe9be | [
"MIT"
] | permissive | silent1603/boost-asio-udp-holepunching | 0c9d23adf292fac9a4abc2151efbcdb37fd2dced | 10acfa70ee23c0b9468ced7ceed935edf7c51aaf | refs/heads/main | 2023-03-18T11:11:10.705038 | 2021-01-30T13:38:50 | 2021-01-30T13:38:50 | null | 0 | 0 | null | null | null | null | ISO-8859-7 | C++ | false | false | 2,023 | cpp | /*****************************************************************//**
* \file TcpUser.cpp
* \brief
*
* \author wjden
* \date January 2021
*********************************************************************/
#include "TcpUser.h"
#include "network/UdpSocket.h"
#include "server/SignalServerProtocol.h"
... | [
"wjdenwls123@gmail.com"
] | wjdenwls123@gmail.com |
321c839042a0dd04e458296cbfd67dae77592e5f | 81522472404dea65d77488778fa7e89990bf3453 | /moveit_control/src/arm_moveit.cpp | b5bf9ba635d2c24f82da692ed033d643aac6d0dc | [
"MIT"
] | permissive | I-Quotient-Robotics/iqr_dual_jaco | b8a27a72943b4a3b179f2e90d2b30ecc70f4f90f | 60e9d2de9eeb2f87b73c0eb6169b521b8d5bfc82 | refs/heads/main | 2023-08-22T23:58:29.452996 | 2021-03-24T06:14:04 | 2021-03-24T06:14:04 | 319,181,820 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,052 | cpp | #include <ros/ros.h>
#include <string>
#include <thread>
#include <geometry_msgs/PoseStamped.h>
#include <kinova_msgs/ArmPoseAction.h>
#include <actionlib/client/simple_action_client.h>
#include <std_msgs/Float64.h>
#include <sensor_msgs/JointState.h>
#include <geometry_msgs/Pose.h>
#include <geometry_msgs/Twist.h>
#... | [
"prog_liu_study@163.com"
] | prog_liu_study@163.com |
b2aa285f9351f27e8cee2375644727e7394f201e | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Plugins/Experimental/AlembicImporter/Source/ThirdParty/Alembic/openexr/OpenEXR/IlmImfTest/testNativeFormat.h | 19c9ba673b5774baf1afb9c33174e9b323b70ed3 | [
"BSD-3-Clause",
"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 | 1,874 | h | ///////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2003-2012, Industrial Light & Magic, a division of Lucas
// Digital Ltd. LLC
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that ... | [
"tungnt.rec@gmail.com"
] | tungnt.rec@gmail.com |
2d851542da8912c2371ab40a785173ed3b026ac8 | 6831e4284e70cd4c05c6fb5c7c6ff64352a4b674 | /kopt/swap/SimpleSegment.h | 85f3fa5f176f63b3629dac49ac703155aff7142d | [] | no_license | wangshgeo/2opt | 7b0e8b8d4ed95123b637ad2cc0573d3200cb6150 | bb9199f669a0ed427c23d83d9935c0715ef9bd24 | refs/heads/master | 2020-12-27T23:49:29.703294 | 2020-02-04T19:57:46 | 2020-02-04T19:57:46 | 238,109,691 | 0 | 0 | null | 2020-02-04T02:52:32 | 2020-02-04T02:52:31 | null | UTF-8 | C++ | false | false | 187 | h | #pragma once
// The two ints represent city IDs that make up a segment.
// The IDs are in no particular order.
#include <array>
using SimpleSegment = std::array<std::size_t, 2>;
| [
"rlee32@gatech.edu"
] | rlee32@gatech.edu |
c3d3b121b6bf6728a4e2a66a38b6931eb7ba741e | afa181dce5c4f77a4f7bbc2740fc5063a018f694 | /main.cpp | 81e31978b7bf261a51fd73a18b95448d3abcf082 | [] | no_license | romkas/UniRank | e9058d1a9ae60226a4bb032664ff5be6f1c81eea | 4243bdf6317633904d618bf581a07a621df0502e | refs/heads/master | 2021-01-10T04:22:58.599093 | 2018-02-04T12:51:37 | 2018-02-04T12:51:37 | 46,122,121 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 2,617 | cpp | #include "Interface.h"
#define DEBUG 0
using namespace std;
int main()
{
setlocale(LC_ALL, "Russian");
list<VUZ> vList;
const char* source = "C:\\Users\\ROM\\Desktop\\practise-2\\Source list.txt",
* res = "C:\\Users\\ROM\\Desktop\\practise-2\\07-07-unite\\results_07-07-unite.txt",
* res_baas = "C:\\... | [
"romekulum2308@gmail.com"
] | romekulum2308@gmail.com |
fac73cb7690518efa4dd0364f40d6fe5daa3fb19 | 667786dd8dacdf6828ff329419f377f9a2112c0b | /Problems/HackerRank/Algorithms/Implementation/Kangaroo.cpp | c7d2d203ddd445ca8b9ae3ccf8f44fec2001d201 | [] | no_license | BedirT/Algorithms_and_DS | 50de96c8e707422f51510eda0e155880d76eed0e | 083a6325b8be70108832eda1bf43eb9f3b9eb011 | refs/heads/master | 2022-09-09T22:29:55.090031 | 2022-09-06T22:04:06 | 2022-09-06T22:04:06 | 51,181,386 | 45 | 27 | null | 2020-03-06T10:36:26 | 2016-02-05T23:46:56 | C++ | UTF-8 | C++ | false | false | 556 | cpp | //https://www.hackerrank.com/challenges/kangaroo
#include <iostream>
using namespace std;
int main(){
int x1;
int v1;
int x2;
int v2;
cin >> x1 >> v1 >> x2 >> v2;
set<int> st;
int count = 0;
bool did = false;
if((v1 >= v2 && x1 > x2) || (v1 <= v2 && x1 < x2));
else{
for(i... | [
"bedir.tapkan.53@gmail.com"
] | bedir.tapkan.53@gmail.com |
4e1d0c0f373ee0028f2f7971539ab7acdf83d84c | 077700c6755d112f7d22559eaec319ec049bb8ba | /Practise/Basic C++/Ch 6/Overloaded Constructures.cpp | 93b1099e3dc1863e1d5c57febaebe924877fce2c | [] | no_license | vaibhavdangayachvd/CPP-Programming | ce106daec0380c64edc101dc5c21b31ea708e75f | 1882814699c62f89ceee2826d15fa51a8410db6c | refs/heads/master | 2020-04-07T16:25:54.854692 | 2019-05-28T00:06:18 | 2019-05-28T00:06:18 | 158,522,795 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 624 | cpp | #include<iostream>
using namespace std;
class complex_
{
float x,y;
public:
complex_(){}
complex_(float a){x=y=a;}
complex_(float rear,float imag){x=rear,y=imag;}
friend complex_ sum(complex_,complex_);
friend void show(complex_);
};
complex_ sum(complex_ c1,complex_ c2)
{
complex_ c3;
c... | [
"vaibhavdangayachvd@gmail.com"
] | vaibhavdangayachvd@gmail.com |
3ac1a8c5d1c21ca940a0c014311ea5ce09865c82 | 1af49694004c6fbc31deada5618dae37255ce978 | /chrome/browser/signin/e2e_tests/test_accounts_util.cc | c533ea0fb3cebc945a426009d85557f095096d58 | [
"BSD-3-Clause"
] | permissive | sadrulhc/chromium | 59682b173a00269ed036eee5ebfa317ba3a770cc | a4b950c23db47a0fdd63549cccf9ac8acd8e2c41 | refs/heads/master | 2023-02-02T07:59:20.295144 | 2020-12-01T21:32:32 | 2020-12-01T21:32:32 | 317,678,056 | 3 | 0 | BSD-3-Clause | 2020-12-01T21:56:26 | 2020-12-01T21:56:25 | null | UTF-8 | C++ | false | false | 2,396 | 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 "chrome/browser/signin/e2e_tests/test_accounts_util.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/json/j... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
68464369f577cad7d0a68a563fd62aa5c208355b | 8a75a84761d998fccb34f2d3b182c221ba01dbd5 | /Other leetCode codes/4Sum/main.cpp | 35b659d35cdeaa5ae2626f8c91bb76b7082e209f | [] | no_license | danqiuBear/Cplusplus-Demo | 18eeda35585f4f6216605699043460f11ad941a6 | 37ffebbfbb231aca56753bbf78a9ecad506c63a2 | refs/heads/master | 2020-06-13T19:45:26.454893 | 2019-08-23T08:59:29 | 2019-08-23T08:59:29 | 194,769,443 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 4,210 | cpp | #include"iostream"
#include"vector"
#include"algorithm"
#include"unordered_map"
using namespace std;
class Solution{
public:
vector<vector<int>> fourSum(vector<int> &nums, int target){
vector < vector<int>> result;
if (nums.size() < 4) return result;
sort(nums.begin(), nums.end());
unordered_map<int, vector<... | [
"DanqiuBear@gmail.com"
] | DanqiuBear@gmail.com |
e9787321b56bcf364d58477b4f13ba8a4ac71ac0 | 6e3e4f6b43d308ca742d40acfec84e9985e75355 | /动规/拆分问题/343_Integer Break.cpp | 5016b1ce79410ea7680a5bcefad6439c3a8b135b | [] | no_license | HannahTin/Leetcode | a4a32700125333a10209f4401eec38d372aff1d4 | 6febfc026bf9b584e7b482b435dac7689fa2aa33 | refs/heads/master | 2022-05-28T16:04:51.393960 | 2022-03-20T08:22:57 | 2022-03-20T08:22:57 | 205,310,250 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,338 | cpp | /*
343. 整数拆分
给定一个正整数 n ,将其拆分为 k 个 正整数 的和( k >= 2 ),并使这些整数的乘积最大化。
返回 你可以获得的最大乘积 。
示例 1:
输入: n = 2
输出: 1
解释: 2 = 1 + 1, 1 × 1 = 1。
示例 2:
输入: n = 10
输出: 36
解释: 10 = 3 + 3 + 4, 3 × 3 × 4 = 36。
*/
using namespace std;
#include <vector>
class Solution {
public:
// 其实可以从1遍历j,然后有两种渠道得到dp[i].
// 一个是j * (i - j) 直接相乘。
//... | [
"menghantin@gmail.com"
] | menghantin@gmail.com |
4430eaf28a36cd2a2d4428597d0db2484ca95e01 | cb6b7e15efd75a696f5144701e584f734ff1b713 | /chapter 1/1.8.3 买房子.cpp | c2b3eb4e1d7473e138cd14730f0ea27831433e19 | [] | no_license | Zhulinjiuying/C-Plus-homework | 7d9d523eb282c996b7a176f0c8ca7d44997114d2 | 74aaef369e280c028f7bdc86528c6eb30e23c9e3 | refs/heads/master | 2021-08-07T05:02:48.054957 | 2017-11-07T15:58:07 | 2017-11-07T15:58:07 | 109,857,223 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 778 | cpp | #include <iostream>
using namespace std;
int main() {
int m, flag, a[100], b[100];
int i = 0;
double sum = 200.0;
flag = 0;
m = 1;
while (cin >> a[i] >> b[i]) i++;
for (int j = 0; j < i; j++) {
if (a[j] < 10 || a[j] > 50 || b[j] < 1 || b[j] > 20) {
return -1;
}
... | [
"554851075@qq.com"
] | 554851075@qq.com |
c29d28ea6df51822aba67f69dd0959d578eeee7f | bb3d0592b9cdc7821b37ff3db2db764e8d15f83a | /Src/VkWrapper/Fence.cpp | f75a6626444f358e63150bf4c2f2d4f184a7bea9 | [] | no_license | Vismar/Conure2D | 7a464a24407d301f76fcd7ddfc1f7de8c30e4b54 | e7f4a311a1096a10d465755b176ffc336c4d9f15 | refs/heads/master | 2022-05-01T22:42:32.973420 | 2021-02-27T20:17:13 | 2021-02-27T20:17:13 | 114,643,545 | 4 | 0 | null | 2019-03-12T12:20:29 | 2017-12-18T13:20:04 | C++ | UTF-8 | C++ | false | false | 1,092 | cpp | #include "Fence.hpp"
#include <Utility/Assert.hpp>
#include <Tracer/TraceScopeTimer.hpp>
using namespace VkWrapper;
// ---------------------------------------------------------------------------------------------------------------------
Fence::Fence(VkDevice lDevice)
: _lDevice(lDevice)
, _fence(nullptr)
{
Trace... | [
"exanimoteam@gmail.com"
] | exanimoteam@gmail.com |
38eab113c40502febb90a0b732cd993ab9ac75cf | 640e4a63662602237df205f403f469819b960b3e | /ykt/src/upayposvr/ecardmain.pc | 2fe2529d1f7805397009bf6950111f21d9de6da0 | [] | no_license | paipeng/bank_interface | 9663972170ca3340326e7a65bf8f2406532515b2 | 060faf778bbb084a5aa921b2b1d9d165968f1703 | refs/heads/master | 2023-03-20T10:36:46.112213 | 2014-04-14T10:03:59 | 2014-04-14T10:03:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,410 | pc | #include <stdio.h>
#include <iostream>
#include <fstream>
#include "logger_imp.h"
#include "config_imp.h"
#include "unitfunc.h"
#include "unitprocess.h"
#include<iostream>
#include<string>
#include<sstream>
#include "ks_8583_reader.h"
using namespace std;
int main(int argc, char* argv[])
{
char szVersion[64];
sprin... | [
"peng.wang@supwisdom.com"
] | peng.wang@supwisdom.com |
488ceaa61531dd92df1624e573d3e2a6bf248e97 | 98f10c77b9932915eb9f37d9cf79a83094342444 | /URI/2018.cpp | b4171ffab5649ef7291300def7340fa6a5611583 | [] | no_license | lucianovr/competitive-programming | b5ba55a5055e486862c0c8b62e61c86e41b8f2b8 | bd95492bb8a14563603a5a2d74e3c1676a4a61e6 | refs/heads/master | 2022-09-10T04:54:07.417831 | 2020-05-28T00:33:36 | 2020-05-28T00:33:36 | 267,455,557 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,081 | cpp | #include <bits/stdc++.h>
using namespace std;
#define rep(i, a, b) for (int i(a); i < (b); i++)
#define all(c) c.begin(), c.end()
#define UNIQUE(c) \
{ sort(ALL(c); (c).resize( unique(ALL(c))-c.begin() ); ... | [
"lucianovale@inatel.br"
] | lucianovale@inatel.br |
7a39a64cfa11459597063a213dfe00b18e43e368 | cdab2ef737a481a92fee3e08bbdb7227adbb4259 | /typecd/udev_monitor.h | d1fed9c3a1672dbfdea9c20fe92d36f64934efe8 | [
"BSD-3-Clause"
] | permissive | manduSry/platform2 | a2c1c829e45356b920e6c7ba546324e6d6decfdf | 58ede23d2f4cd5651b7afaae5c78893cc836f01d | refs/heads/main | 2023-04-06T19:06:50.384147 | 2020-12-30T04:41:55 | 2021-01-20T04:53:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,366 | h | // Copyright 2020 The Chromium OS 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 TYPECD_UDEV_MONITOR_H_
#define TYPECD_UDEV_MONITOR_H_
#include <libudev.h>
#include <map>
#include <memory>
#include <string>
#include <utili... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
1be66b82af907107c2e41e4c6fa213ec8220eeaa | f0cd5d5b2e4eeedb40003aeab11bd96ed6230c3d | /GeometricFormGL/triangle.cpp | 6b164486f857ce8e40cdd2ef2134034fde2c7fff | [] | no_license | ELezov/OpenGL-glut | 3e322b0dac4e26a78dcd9e492abbe5662e1aec4d | 1095a4499f5f3b171caca800c7db23e7569b87d0 | refs/heads/master | 2020-04-06T04:05:02.624739 | 2016-06-15T23:59:18 | 2016-06-15T23:59:18 | 58,453,787 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 621 | cpp | #include "triangle.h"
Triangle::Triangle(QGLWidget *parent) :
x0(-200.0f),
y0(0.0f),
t(10.1f)
{
}
void Triangle::setX0()
{
if(x0>201)
{
t=-t;
}
if(x0<-201)
{
t=-t;
}
x0=x0+t+100;
// qDebug() << x0 ;
a++;
}
void Triangle::setY0()
{
y0=cos(x0/5)*5;
}... | [
"ELezov@stud.kantiana.ru"
] | ELezov@stud.kantiana.ru |
957ab7501e88b40aec241ffa33b02c33875aa3e0 | 293902682d7ee13be81ada6c28ef6b840983ac33 | /Tests/Integration_ConnectionService_ConnectionPool/src/main.cpp | 836c84dfe574722e1164e418681f45eb61ffddb9 | [] | no_license | cms-externals/coral | d17cba45fff7f34d7a1ba13ab3bb371e0696c1af | a879b41c994fa956ff0ae78e3410bb409582ad20 | refs/heads/cms/CORAL_2_3_21py3 | 2022-02-26T18:51:25.258362 | 2022-02-23T13:19:11 | 2022-02-23T13:19:11 | 91,173,895 | 0 | 4 | null | 2022-02-14T13:20:11 | 2017-05-13T12:47:54 | C++ | UTF-8 | C++ | false | false | 389 | cpp | #include "TestApp.h"
#include "CoralBase/Exception.h"
#include <iostream>
#include <exception>
#include <cstdlib>
int main(int argc, char *argv[])
{
TestApp app("CS_CPOOL");
if(app.check(argc, argv))
{
app.addServiceName(TEST_CORE_SCHEME_ADMIN);
app.addServiceName(TEST_CORE_SERVICE_2);
try
{
... | [
"cmsbuild@cern.ch"
] | cmsbuild@cern.ch |
35d5e9313b6bad6f757846d58b00f4db7d3b06d2 | d66dcbaa2d13697d67f750fd28b48a020ea66cc8 | /sql_functions.cpp | 92df7b9346d53974cb8058e99f06fb4b1b2955c3 | [] | no_license | huhongbo/ospfscan | f61726bd34914ec2f6294b61adbda85484991160 | 10ca7c28033a40796f43dfdb7eac219da47db93f | refs/heads/master | 2020-07-10T06:34:13.025195 | 2012-10-11T00:02:21 | 2012-10-11T00:02:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,908 | cpp | #include "591.h"
int insert_router(sqlite3 *db, ospf_t *ospf, ospf_lsa_t *lsa)
{
char sql[1024];
snprintf(sql, sizeof(sql), "INSERT OR REPLACE INTO routers (router_id, area) VALUES ('%s',%i)", inet_ntoa(lsa->ospf_lsa_adv_router),ospf->ospf_area.s_addr);
char *error;
int res = sqlite3_exec(db, sql, NULL... | [
"SenorNaddy@Proton.9delta.simonwadsworth.geek.nz"
] | SenorNaddy@Proton.9delta.simonwadsworth.geek.nz |
8d9276b8322f20927a57d9a6545c83b05e40f2ac | 2a89e46324a6e0dfa5cad89801379d593a12a4c1 | /lua/models/onnx/lua_onnx_runtime_builder_factory.cc | d4654f6c7649227204da2a0a874c5cce0a337726 | [
"Apache-2.0"
] | permissive | fzhsbc/ppl.nn | 16ca2a4991316cfee2eb40a48a3003caf5dfac70 | 370a3ff5296b3c2d8768bb2f5220eaa5e65a94a7 | refs/heads/master | 2023-09-03T18:40:29.524548 | 2021-11-09T07:59:04 | 2021-11-09T08:45:10 | 426,165,992 | 0 | 0 | Apache-2.0 | 2021-11-09T09:26:13 | 2021-11-09T09:26:13 | null | UTF-8 | C++ | false | false | 2,262 | 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... | [
"ouguoyu@sensetime.com"
] | ouguoyu@sensetime.com |
407e620acc78923922702020f0c47acb9b165fc4 | 6d03fbf380c7c501e448cd3df7747b311f599c26 | /Lab04/Timer.h | cac9d0225a4e76dd7ba95a09e456945bb0235322 | [] | no_license | ashlimosiman/EECS_560 | cb3e2ac4acead16e304896fb29c2cce02c7b0302 | 00f292096785495e21907a8279e25c067f36b59a | refs/heads/master | 2021-01-11T16:10:20.560114 | 2017-04-19T04:16:42 | 2017-04-19T04:16:42 | 80,026,482 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 560 | h | #include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
using namespace std;
class Timer {
private:
timeval startTime;
timeval endTime;
public:
void start(){
gettimeofday(&startTime, NULL);
}
double stop(){
long seconds, nseconds;
double duration;
gettimeofday(&endTime, NULL);
seco... | [
"amosiman93@gmail.com"
] | amosiman93@gmail.com |
572281e44ec6cf8712204058a049758592c9c54f | d1f5cbc5b9a9c9d9aa8a9d8e34c6c4857f893d9e | /src/libtid/sdl_tid_client.h | 7d68f723eb0ca9828f6a947309f02501d4ccdd43 | [] | no_license | tools4BCI/core | fcdc3abd57c49281247c5801a7c092fdda3d4447 | 2aee8c29334e6e00a375b86235bf27cbbc284dc5 | refs/heads/master | 2020-09-26T07:59:55.079724 | 2017-04-24T17:18:18 | 2017-04-24T17:18:18 | 66,266,070 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,760 | h | /*
This file is part of TOBI Interface D (TiD).
TOBI Interface D (TiD) is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any lat... | [
"c.breitwieser@tugraz.at"
] | c.breitwieser@tugraz.at |
64a0862b5a50f5574ecd519f2a445e884f3aa0ba | fe39e4d1bca62d7bff7b6713b8b596d88f8aa354 | /src/plugins/3rdparty/LLVM/include/llvm/Intrinsics.h | 3f56bbdae24c5c632f92e975464bbb4b308d100a | [] | no_license | panpanSun/opencor | a29a806475f43adb0f64047631d4dc044f05e030 | 71449e1ecaa988ea8b6cfea7875d9f3593a8dc26 | refs/heads/master | 2020-12-24T11:53:33.902565 | 2013-04-20T18:59:29 | 2013-04-20T18:59:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,094 | h | //===-- llvm/Instrinsics.h - LLVM Intrinsic Function Handling ---*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"agarny@hellix.com"
] | agarny@hellix.com |
53f7fb763db9343529a6fe628fedc13011357353 | e6063f71497be719a76f0ae9f1f7dbcfda1988c6 | /tree/173_BST_iterator/work.cc | 72b33d1ebac40f7adae1fea49feb95be7abe252f | [] | no_license | uangyy/leetcode | f308672a662fa1e881230b31b7674160d45c2494 | 912b683db040a9efbe5b58c329e2978097207ab0 | refs/heads/master | 2021-01-09T21:57:21.758043 | 2017-08-04T08:21:09 | 2017-08-04T08:21:09 | 36,731,293 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,319 | cc | #include <iostream>
#include <vector>
using namespace std;
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
class BSTIterator {
public:
vector<TreeNode *> stack;
TreeNode *current;
BSTIterator(TreeNode *root) {
curr... | [
"uangyy@gmail.com"
] | uangyy@gmail.com |
cd4fd92f7bf50f60a6009a036cd4dca724277b73 | 1851d92ec009599f979ff68440cea9a220d263d4 | /src/qt/bitcoingui.h | 0fe986d7b388f058d012efab18fd74f298ebbb1a | [
"MIT"
] | permissive | stintcoin/StintCoin | f7e8d3411f2de38bda93f1bbfdb551616fb3ca78 | 75b9fc740ed1929bde1f142502f9adbbb630d812 | refs/heads/master | 2020-04-09T01:21:18.148125 | 2018-12-13T22:08:30 | 2018-12-13T22:08:30 | 159,900,937 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,987 | h | // Copyright (c) 2011-2014 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_BITCOINGUI_H
#define BITCOIN_QT_BITCOINGUI_H
#if defined(HAVE_CONFIG_H)
#include "config/stintcoin-config.... | [
"codalata@gmail.com"
] | codalata@gmail.com |
1d4219028925a2f80c41055005c6ffcdb6762f48 | 147d96bfb1b03af681db9ae1dd44d495e57b5b45 | /samples/strsvsample08/strsvsample08.cpp | 747377eb687c0ed5ba9022eda9e0f7962753ef2b | [
"Apache-2.0"
] | permissive | tlk00/BitMagic | fe40d4344895303767aa3a1f3b260b0eaff0e6d4 | fa1afb29fefa6a886980b90f72af71f530d5cb5d | refs/heads/master | 2023-07-22T04:06:38.272848 | 2023-07-08T01:13:21 | 2023-07-08T01:13:21 | 101,114,435 | 389 | 49 | NOASSERTION | 2023-02-10T19:14:47 | 2017-08-22T22:54:04 | C++ | UTF-8 | C++ | false | false | 6,094 | cpp | /*
Copyright(c) 2002-2022 Anatoliy Kuznetsov(anatoliy_kuznetsov at yahoo.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by appl... | [
"anatoliy.kuznetsov@gmail.com"
] | anatoliy.kuznetsov@gmail.com |
31118192114c0b455970a9a836d6bc77ff6b3cb3 | b126a8248240fd71653159beeccc732ca49f49c2 | /OpenCascade/BRepPrimAPI_MakeOneAxis.hxx | fdb2829030d532c08ce3299c9399884c9c10e270 | [] | no_license | jicc/3rdpartyincludes | 90fd194a37082027482043c56e66cfdafa386d2b | f790f816dc2c4ef5868189b87cb6edb65a755538 | refs/heads/master | 2021-01-14T13:39:24.774980 | 2013-07-26T08:15:01 | 2013-07-26T08:15:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,075 | hxx | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _BRepPrimAPI_MakeOneAxis_HeaderFile
#define... | [
"taylorrj@ornl.gov"
] | taylorrj@ornl.gov |
2053f82eae2982ae0df5fc7e240259c0a24f7576 | 9168a725fa2682e533d4d5aa66453b4322926c32 | /src/includes/Head.h | a37759cb43b5682ddecb065f68ca0afb51e6443c | [] | no_license | Technohacker/lpmln | 01a8999dd4c2073cea56141f9d00d44a041046d2 | 0008244e23d49860d09f2e3077cbbb3b6e85b39b | refs/heads/master | 2023-08-23T16:35:50.494206 | 2017-01-18T23:27:33 | 2017-01-18T23:27:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,993 | h | #pragma once
#include "Predicate.h"
class Head
{
public:
Head(Predicate _p){
predList.push_back(_p);
}
~Head();
Head(std::vector<Predicate> _predList):predList(_predList){}
inline Predicate getPredicate() {
return predList.at(0);
}
inline std::vector<Predicate> getPredicateList() {
return predList;
... | [
"samidhtalsania@gmail.com"
] | samidhtalsania@gmail.com |
842d4df2c4e0d18721f5aae7b135fa3f1d3afe1d | fae551eb54ab3a907ba13cf38aba1db288708d92 | /android_webview/browser/page_load_metrics/aw_page_load_metrics_memory_tracker_factory.cc | f6fa46af4978e76325c494c6b713bceee6af1973 | [
"BSD-3-Clause"
] | permissive | xtblock/chromium | d4506722fc6e4c9bc04b54921a4382165d875f9a | 5fe0705b86e692c65684cdb067d9b452cc5f063f | refs/heads/main | 2023-04-26T18:34:42.207215 | 2021-05-27T04:45:24 | 2021-05-27T04:45:24 | 371,258,442 | 2 | 1 | BSD-3-Clause | 2021-05-27T05:36:28 | 2021-05-27T05:36:28 | null | UTF-8 | C++ | false | false | 1,815 | cc | // Copyright 2021 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 "android_webview/browser/page_load_metrics/aw_page_load_metrics_memory_tracker_factory.h"
#include "base/memory/singleton.h"
#include "component... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
6ee5ffab95f62ad749fc33d154e757c38f35be6d | dc38c8a3b0e9b13afb83fbe78269638c60bd32cd | /91. Decode Ways/main.cpp | 0bdeb3b2070f7851522f168ecc93d3ef9b85a4cb | [] | no_license | TG-yang/LeetCode | 603da8e8121ad2ed7d05bac0d4ee6d61378eeff3 | 1749b35170636830b3f91777ac57d049278b2b2e | refs/heads/master | 2020-04-09T09:20:13.129761 | 2019-08-16T17:10:42 | 2019-08-16T17:10:42 | 160,229,673 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 718 | cpp | #include <iostream>
#include <string>
#include <vector>
using namespace std;
class Solution {
public:
int numDecodings(string s) {
if(s.size() == 0 || s[0] == '0')
return 0;
vector<int>dp(s.size() + 1, 0);
dp[0] = 1;
dp[1] = 1;
for(int i = 1; i < s.size(); ++i... | [
"zwenyang@outlook.com"
] | zwenyang@outlook.com |
a661ea609463490b04edd08dddcfb5af33834a8d | 5a2349399fa9d57c6e8cc6e0f7226d683391a362 | /src/qt/qtbase/src/plugins/platforms/android/qandroidplatformmenu.cpp | 1ecabb25e2c0f41e14c3f1587793a4d5744e9fec | [
"LGPL-2.1-only",
"GPL-3.0-only",
"LicenseRef-scancode-digia-qt-commercial",
"Qt-LGPL-exception-1.1",
"LicenseRef-scancode-digia-qt-preview",
"LGPL-2.0-or-later",
"GFDL-1.3-only",
"BSD-3-Clause"
] | permissive | aharthcock/phantomjs | e70f3c379dcada720ec8abde3f7c09a24808154c | 7d7f2c862347fbc7215c849e790290b2e07bab7c | refs/heads/master | 2023-03-18T04:58:32.428562 | 2023-03-14T05:52:52 | 2023-03-14T05:52:52 | 24,828,890 | 0 | 0 | BSD-3-Clause | 2023-03-14T05:52:53 | 2014-10-05T23:38:56 | C++ | UTF-8 | C++ | false | false | 5,172 | cpp | /****************************************************************************
**
** Copyright (C) 2012 BogDan Vatra <bogdan@kde.org>
** Contact: http://www.qt-project.org/legal
**
** This file is part of the plugins of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid ... | [
"ariya.hidayat@gmail.com"
] | ariya.hidayat@gmail.com |
7b49be857fc0a0d279f1daa26b81aec28da0ce35 | b6a885754d36f6d7507433536090d54ee9890e52 | /ch13/No.4/No.4/main.cpp | 481308358cedf0e606e345e62fc20ce824149760 | [] | no_license | szw-20731/CPrimerPlus | 841bdfa5d04080e8ffdba1db6baac07a13456725 | 9cb038164feda21389501329652028b17caae63b | refs/heads/master | 2022-12-09T18:27:21.683546 | 2020-09-07T02:08:28 | 2020-09-07T02:08:28 | 286,395,009 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 303 | cpp | #include "port.h"
int main()
{
port *list[2];
list[0] = new port("Brand", "ruby", 10);
list[1] = new vintageport("VBrand", 10, "szw", 2020);
list[0]->show();
cout << *list[0] << endl;
list[1]->show();
cout << *list[1] << endl;
list[0] = list[1];
list[0]->show();
system("pause");
return 0;
} | [
"sunzuwen444@163.com"
] | sunzuwen444@163.com |
b64e6c627c1549955cf70a36441289321168540a | bc407d25aa3da4babdb9762f53a201a7ea84b976 | /ArquitecturaDeComputadoras/7segments/sys/module.h | e5f750f7d665130624d7a499f5e6227b1ca7fe46 | [] | no_license | YurleySolimer/ULA | e91344815d32175a13b7cd7ee153f16a1b237580 | 57c2caa895e0635f215d9f98e9fad05227bf5f90 | refs/heads/master | 2020-04-14T19:30:26.932376 | 2019-01-04T05:07:30 | 2019-01-04T05:07:30 | 164,060,266 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,798 | h | # ifndef MODULE_H_
# define MODULE_H_
# include<systemc.h>
# include<string>
class SevenSegments:public sc_module{
public:
sc_in<sc_uint<4> > x_in;
sc_out<bool > z_out[7];
SC_CTOR(SevenSegments){
SC_METHOD(operation);
sensitive<<x_in;
}
~SevenSegments(){}
private:
void operation(){
if(x_... | [
"yurley.solimer@gmail.com"
] | yurley.solimer@gmail.com |
4fc3a19787a2d9eaaaab824a82e7d3902df045be | 69ed1447b867b11b3ff841aeb10550fe138a2246 | /SDK/Headers/CppDynamic/libamcf_dynamic - Copy.hpp | ff5328d7ff63bf5b5a68da62fa8e615058e13059 | [
"BSD-3-Clause"
] | permissive | jakeread/AutodeskMachineControlFramework | 926d492390773b57b64aee910412ee29db13a055 | 288b07db3df7b72b67f98040ccf6da9889123469 | refs/heads/master | 2023-08-23T03:07:07.311759 | 2021-08-06T17:35:16 | 2021-08-06T17:35:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 58,900 | hpp | /*++
Copyright (C) 2021 Autodesk Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the ... | [
"alexanderoster@users.noreply.github.com"
] | alexanderoster@users.noreply.github.com |
ff8ea931404a23537871eee18d88d7c6b8afe0de | 0c7e20a002108d636517b2f0cde6de9019fdf8c4 | /Sources/Elastos/External/conscrypt/src/org/conscrypt/COpenSSLServerSocketFactoryImpl.cpp | 82c1ce7df4bc5066f977763f52c104c8bfa7f239 | [
"Apache-2.0"
] | permissive | kernal88/Elastos5 | 022774d8c42aea597e6f8ee14e80e8e31758f950 | 871044110de52fcccfbd6fd0d9c24feefeb6dea0 | refs/heads/master | 2021-01-12T15:23:52.242654 | 2016-10-24T08:20:15 | 2016-10-24T08:20:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 194 | cpp |
#include "org/conscrypt/COpenSSLServerSocketFactoryImpl.h"
namespace Org {
namespace Conscrypt {
CAR_OBJECT_IMPL(COpenSSLServerSocketFactoryImpl)
} // namespace Conscrypt
} // namespace Org
| [
"zhang.yu@kortide.com"
] | zhang.yu@kortide.com |
80b2e30aca84e8387c6fe493989e0629d9681e18 | 7fcef731b4054ca365062b19f90840c69ed35071 | /mainwindow.cpp | 8b2adf9ac753dac3e325e8100cb2e973e9f74b82 | [] | no_license | kacpwoja/EGUI_Calendar_Qt | b40f49de5b44d4b4ef9f6f37ba951dbcfb4347af | 45d4942c0c9a3232cfe192de0c86cd093f3137ff | refs/heads/master | 2022-04-11T00:20:20.457625 | 2020-04-09T18:06:32 | 2020-04-09T18:06:32 | 249,783,068 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,279 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QCalendarWidget>
#include <QTextCharFormat>
#include <QVector>
#include <QFile>
#include <QJsonDocument>
#include "daywindow.h"
#include "eventwindow.h"
#include "eventbase.h"
#define FILENAME "events.json"
MainWindow::MainWindow(QWidget *parent)
: QMa... | [
"kacp.woja@gmail.com"
] | kacp.woja@gmail.com |
bc11c519dbd8362cbcd4ada4658dc411d186c86d | ef9c90197796606ee5d3d800d9823f2b332070a6 | /hw04/src/mygl.cpp | 49c4d8755316f7e412c3807e8df8a5e5a1e4d315 | [] | no_license | hehehaha12139/CIS-460-560 | d5af73f7091389040e3e0c962af55052a026679c | b76be1eb5c5f7085e6669059399520576a69e07b | refs/heads/master | 2020-09-06T08:58:13.030233 | 2017-02-21T17:40:48 | 2017-02-21T17:40:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,952 | cpp | #include "mygl.h"
#include <la.h>
#include <iostream>
#include <QApplication>
#include <QKeyEvent>
MyGL::MyGL(QWidget *parent)
: GLWidget277(parent),
geom_cylinder(this), geom_sphere(this), geom_cube(this), geom_cone(this), geom_pipe(this),
//TODO: When you make your Cube instance, add it to this ini... | [
"groverchen1994@gmail.com"
] | groverchen1994@gmail.com |
d09ae779e09674942523ba814ed0a332983437ca | 16288c0fb3a712150c715ddd0c9843e75f69034b | /cpp01/ex06/main.cpp | b049b16b7a1e231cc0b15c7d1914d65ab59c2b08 | [] | no_license | brian-xu-vlt/42_CPP_PISCINE | 3c6cb8ce224e53335b3e53cd24c97dc867c2d9f0 | bda1f5834649e50012d0153c3cdd28769280fc9d | refs/heads/main | 2023-02-25T23:17:43.176521 | 2021-02-03T07:12:22 | 2021-02-03T07:12:22 | 323,266,501 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 419 | cpp | #include "Weapon.hpp"
#include "HumanA.hpp"
#include "HumanB.hpp"
int main( void ) {
{
Weapon club = Weapon("crude spiked club");
HumanA bob("Bob", club);
bob.attack();
club.setType("some other type of club");
bob.attack();
}
{
Weapon club = Weapon("crude spiked club");
HumanB jim("Jim");
jim... | [
"bvalette@student.42.fr"
] | bvalette@student.42.fr |
1eff4e3abd4126b813d4243ed6f25383478e094a | a369b0b66c01c9db9768bf94c685a70f14256761 | /examples/B_charsets/B_charsets.ino | b09064021d513aa60b60008eab8dfa078d64fad8 | [
"MIT"
] | permissive | gdsports/USBPrinter_uhls | 7ff7156bb3dae68d80b57f5344b171394238454e | 5ca7cb94486dc9eff85d1dd19442145a0b3f7e86 | refs/heads/master | 2020-06-12T22:49:15.681202 | 2019-07-11T08:09:45 | 2019-07-11T08:09:45 | 194,451,706 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,342 | ino | /*------------------------------------------------------------------------
Demoonstrate different character sets on ESC POS printers connecting to
SAMD USB host port
Based on Adafruit Thermal printer library.
------------------------------------------------------------------------*/
#include "ESC_POS_Printer.h... | [
"gdsports625@gmail.com"
] | gdsports625@gmail.com |
6faf68ca1aeedfe57ef226b324b6ba48fc0c21fb | 14d143bdce06a43565034aa6e6cf072ee6648f31 | /include/orwell/proxy/SimpleTeam.hpp | e77c91d4c421778817a610ddc5ecbf48e53c6fde | [
"BSD-3-Clause"
] | permissive | orwell-int/server-game | 599a5c86330947ba830efe33bec5489f81b28c25 | d3c410ff734a6f32de0303b25d816ae392df8a18 | refs/heads/master | 2021-01-18T22:44:47.807869 | 2020-11-16T13:00:31 | 2020-11-16T13:00:31 | 9,554,529 | 0 | 2 | BSD-3-Clause | 2020-11-16T13:00:32 | 2013-04-19T21:01:01 | C++ | UTF-8 | C++ | false | false | 444 | hpp | #pragma once
#include <memory>
#include <string>
#include <vector>
#include <nlohmann/json_fwd.hpp>
namespace orwell
{
namespace game
{
class Team;
}
namespace proxy
{
struct SimpleTeam
{
SimpleTeam(game::Team const & iTeam);
SimpleTeam(SimpleTeam const & iOther);
std::string const m_name;
uint32_t const m_... | [
"dchilot@hotmail.com"
] | dchilot@hotmail.com |
e41ab484fe8f8aa1953fd6c598bff43dcd510596 | 70441dcb7a8917a5574dd74c5afdeeaed3672a7a | /AtCoder Beginner Contest 161/D - Lunlun Number/main.cpp | 54aa3c04c2882a7ee90d0491604ca2470406434d | [] | no_license | tmyksj/atcoder | f12ecf6255b668792d83621369194195f06c10f6 | 419165e85d8a9a0614e5544232da371d8a2f2f85 | refs/heads/master | 2023-03-05T12:14:14.945257 | 2023-02-26T10:10:20 | 2023-02-26T10:10:20 | 195,034,198 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 834 | cpp | #include <algorithm>
#include <iostream>
#include <set>
using namespace std;
int main() {
int k;
cin >> k;
set<long long> cur;
for (int i = 1; i <= 9; i++) {
cur.insert(i);
}
set<long long> s;
while (static_cast<int>(s.size()) < k) {
for (set<long long>::iterator j = cur.... | [
"33417830+tmyksj@users.noreply.github.com"
] | 33417830+tmyksj@users.noreply.github.com |
ee000adcae59a066742ef168b15e402d1a0254f8 | ee7c00a7a90e89e2984a6c922a8704390e680c06 | /cs103_hws/PA/PA5/network1_redo/user.cpp | 3cd3779f3b5c7a8772481114b49c83e4674144a2 | [] | no_license | summerys/cs103 | 8630506e77f8b878f57b5c9bfdd0e4c2d0551d9e | 2b16fe82c5cb0140f2db675fb63a67b91c6693d5 | refs/heads/master | 2021-01-12T08:46:01.770785 | 2016-12-21T03:28:06 | 2016-12-21T03:28:06 | 76,682,366 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 869 | cpp |
#include "user.h"
#include <string>
using namespace std;
User::User(string name_full, int id_num, int year_born, int zipcode){
name = name_full;
id = id_num;
year = year_born;
zip = zipcode;
}
User::~User(){};
void User::add_friend(int other_user){
for (int i = 0; i < friends.size(); ++i){
if (fr... | [
"summerys@usc.edu"
] | summerys@usc.edu |
50b596d4d47010c4c5b5d1ee29e273ac47faf9b3 | ed1624411040501c67c2f6c5c626348d9806d968 | /Ocean/network/server.h | f364b76665ff1e021a7ca2b5a544c010a8671d5e | [] | no_license | bogdyname/Ocean | a1e7364d2142dfac8907aac9319a6133305ad279 | ca8cba4c1472ca46945a9dda4550f39065551b3e | refs/heads/master | 2023-02-06T13:45:13.806885 | 2020-10-25T18:14:57 | 2020-10-25T18:14:57 | 174,801,662 | 0 | 0 | null | 2020-12-14T19:25:17 | 2019-03-10T09:18:34 | C++ | UTF-8 | C++ | false | false | 677 | h | /*
***Copyleft (C) 2020 Softwater, Inc
***Contact: bogdyname@gmail.com
***Contact: donvalentiy@yandex.ru
***Created by bogdyname
*/
#ifndef SERVER_H
#define SERVER_H
#include <QTcpServer>
#include <QTcpSocket>
#include <QByteArray>
#include <QDataStream>
class Server : public QTcpServer
{
Q_OBJECT
Q_CLASSINF... | [
"bogdyname@gmail.com"
] | bogdyname@gmail.com |
a1a9d822c2575811f5e9e25eb492c9194cb1a987 | a4ebc4a5f5d25480b875bba7e288bda9686ee0e3 | /WorldMT/main.cpp | fb23afe815d6791fd0fa5fd501d3b03164d0def9 | [] | no_license | shikazu/AthenaMT | e82f6860b8e002e581a4fe46f1b412e366a6e867 | b04c97afe2267c27e99fe2f2ffc284f81773ad61 | refs/heads/master | 2021-01-10T04:18:35.534972 | 2015-10-28T11:03:11 | 2015-10-28T11:03:11 | 44,395,864 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 223 | cpp | #include <iostream>
#include <thread>
#include "World\WorldMain.h"
int main(int argc, char **argv)
{
World::WorldMain world_main;
while (true)
{
std::this_thread::sleep_for(std::chrono::seconds(1));
}
return 0;
} | [
"steven.schwarz90@yahoo.de"
] | steven.schwarz90@yahoo.de |
4c2fcdeb53c97a09f5d903151180a82fd9592574 | 95e7e2c5fab1fb70729f98ecc3def2134c2d3e38 | /src/interpreter/visitor/expr/BooleanExprVisitor.cpp | 97a6407d56fa19c2a580436d12f24989025a96be | [
"MIT"
] | permissive | CrackerCat/kaprino | f9f697c7cfda148b2f840a311fab3b5f3529aea9 | 06dcf193a6d3b496708775b763b8684612851556 | refs/heads/master | 2022-09-27T11:53:56.788665 | 2020-06-08T00:59:29 | 2020-06-08T00:59:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 865 | cpp | #include <stdlib.h>
#include "../../../parser/KaprinoParserBaseVisitor.h"
#include "../../abstructs/ExprObject.h"
#include "../../KaprinoAccelerator.h"
#include "../../StatementVisitor.h"
class BooleanExprObject : ExprObject {
public:
bool value;
virtual llvm::Value* codegen(llvm::IRBuilder<>* builder, ll... | [
"capra314cabra@gmail.com"
] | capra314cabra@gmail.com |
14b37f3398520580ea80bf0fb8ee0e3d84b39168 | 63a22dd17235ee7a5289665cf3678c5f53492f68 | /ServerCore/ServerLibrary/Net/Packet/PacketFactory.h | ac04ca8ae9176f4e2602599eaf0c64252a59ff3e | [] | no_license | githubzon/RoseServer | 00df2d0f3a5d1c332b5e957d51ce0afd9ea3bfe7 | 6c0d2d54de7607d8cc822cac5e0e4d0009170a9a | refs/heads/master | 2021-01-16T23:21:49.677968 | 2017-06-17T11:26:44 | 2017-06-17T11:26:44 | 95,739,207 | 1 | 0 | null | 2017-06-29T04:41:32 | 2017-06-29T04:41:32 | null | UTF-8 | C++ | false | false | 1,467 | h | #pragma once
#include "stdafx.h"
#include "packetHeader.h"
#include "packetClass.h"
class PacketFactory : public Singleton<PacketFactory>
{
public:
Packet* getPacket(Int64 packetType)
{
switch (packetType) {
case E_C_REQ_EXIT: return new PK_C_REQ_EXIT();
case E_S_ANS_EXIT: ... | [
"darkwitch0_0@hanmail.net"
] | darkwitch0_0@hanmail.net |
36bf98ae9b02ba605dc64c6e4f89d4686a39185e | c7d2b58db791dc900250a613b1d93dd84c9cd87b | /PopcornTorrent/Source/torrent/crc32c.cpp | 9c558b0fb996dfabe37d08fc57ac89e49a6d9f77 | [
"MIT"
] | permissive | tommy071/PopcornTorrent | 3f0e4232a9b28cfc39b790129467f6b7b5c2feea | 88a1a4371d58e9d81839754d2eae079197dee5c5 | refs/heads/master | 2020-07-30T03:36:05.567943 | 2020-02-07T09:30:55 | 2020-02-07T09:30:55 | 238,165,009 | 0 | 0 | MIT | 2020-02-04T09:10:23 | 2020-02-04T09:10:22 | null | UTF-8 | C++ | false | false | 4,479 | cpp | /*
Copyright (c) 2014-2018, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | [
"aggelos@Aggelos-Macbook-Pro.local"
] | aggelos@Aggelos-Macbook-Pro.local |
f7e67f2e788acef2f14a20c8c500f978583069ae | af8ed09e1e0186a09c0328b8cb2b1f0a04d488d5 | /wav_recorder.h | 24b7cab2f614a50e1022280877c2aaecb3a1d143 | [] | no_license | FeZar97/DK | b5c5b325881f13c3ad55f6a709fdd54b88413d9b | 52708c6fb80a8b4dd61f4002611c133c137e0dcf | refs/heads/master | 2020-04-01T18:18:35.750852 | 2019-07-28T23:11:40 | 2019-07-28T23:11:40 | 153,484,100 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,331 | h | /*
This file is part of DigitalKalmar(Кальмар-SDR)
DigitalKalmar is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Di... | [
"bhd2010@yandex.ru"
] | bhd2010@yandex.ru |
d76eef8a29762e993b9c7c3146e4424e74d5473e | a33aac97878b2cb15677be26e308cbc46e2862d2 | /program_data/PKU_raw/84/1170.c | 1d0ecc79aaf109cb5c875fb1d566dbf8bb8d61dc | [] | no_license | GabeOchieng/ggnn.tensorflow | f5d7d0bca52258336fc12c9de6ae38223f28f786 | 7c62c0e8427bea6c8bec2cebf157b6f1ea70a213 | refs/heads/master | 2022-05-30T11:17:42.278048 | 2020-05-02T11:33:31 | 2020-05-02T11:33:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 276 | c | int main()
{
int n,i,a,max=0,max2=0;
scanf("%d",&n);
scanf("%d",&a);
max=a,max2=a;
for(i=2;i<=n;i++)
{
scanf("%d",&a);
if(a>max)
{
max=a;
}
else
{
if(a>max2)
{
max2=a;
}
}
}
printf("%d\n%d",max,max2);
return 0;
}
| [
"bdqnghi@gmail.com"
] | bdqnghi@gmail.com |
03f86b0c1bd02799b8f29207e99bd3cd8ddf3d99 | 85b690ce5b5952b6d886946e0bae43b975004a11 | /Application/Input/openfoam-org/processor1/0.75/k | 832730ed5b0151cd14532c068fbcf97a582bdc1b | [] | no_license | pace-gt/PACE-ProvBench | c89820cf160c0577e05447d553a70b0e90d54d45 | 4c55dda0e9edb4a381712a50656855732af3e51a | refs/heads/master | 2023-03-12T06:56:30.228126 | 2021-02-25T22:49:07 | 2021-02-25T22:49:07 | 257,307,245 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,014 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5.0 |
... | [
"fang.liu@oit.gatech.edu"
] | fang.liu@oit.gatech.edu | |
0002e2b03df56b4e01b4444b08719633c0bbbcca | 92533544158e118276103d99be5ec1388d12737e | /app/src/main/cpp/context/RenderContext.h | f3b39ef98e96760f89aa1448bc7bdebbc33da645 | [
"Apache-2.0"
] | permissive | githubhaohao/OpenGLCamera2 | 49efaf2dd09853000c11ad2eb20d6a17bf333721 | 82bea3e6fbce76f597d75a66456bbbda8d1a7191 | refs/heads/master | 2022-08-03T18:13:39.884775 | 2022-06-29T10:18:29 | 2022-06-29T10:18:29 | 216,771,928 | 884 | 195 | null | 2022-01-24T02:31:50 | 2019-10-22T09:15:28 | C++ | UTF-8 | C++ | false | false | 1,990 | h | /**
*
* Created by 公众号:字节流动 on 2021/3/16.
* https://github.com/githubhaohao/OpenGLCamera2
* 最新文章首发于公众号:字节流动,有疑问或者技术交流可以添加微信 Byte-Flow ,领取视频教程, 拉你进技术交流群
*
* */
#ifndef OPENGLCAMERA2_BYTEFLOWRENDERCONTEXT_H
#define OPENGLCAMERA2_BYTEFLOWRENDERCONTEXT_H
#include <cstdint>
#include <jni.h>
#include <ByteFlowRender... | [
"haohaochang86@gmail.com"
] | haohaochang86@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.