blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
275686c56eeb595ed0e06cc419d710c98682a900 | 4f4b4ce5f33d0d83887aacf987fe5a294ab74a0a | /lost/Image.h | 5a08a2aa1006a71522adaf0a8892e8b28233a408 | [] | no_license | lobotony/le2 | 6d41338ca4be43544fbad67774565602c307f40b | 80900a29d2ea51ba1956d852d052d3a5e6ea5335 | refs/heads/master | 2021-01-20T19:49:06.248498 | 2014-01-28T21:31:20 | 2014-01-28T21:31:20 | 5,843,750 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,114 | h | #ifndef LOST_IMAGE_H
#define LOST_IMAGE_H
namespace lost
{
/** Describes a piece of a bitmap that can be used for drawing.
*/
enum ImageResizeMode
{
ImageResizeModeStretch = 0,
ImageResizeModeTile = 1,
ImageResizeModeNinePatch = 2
};
enum ImageOrientation
{
ImageOrientationUp = 0,
ImageOrientationDown,... | [
"lobotony666@yahoo.de"
] | lobotony666@yahoo.de |
a46f1e317aacf7f407fcb5caf8e0547e5b788980 | 0a5645154953b0a09d3f78753a1711aaa76928ff | /common/c/nbgm/nbre/include/private/nbrecollisionpolygon2d.h | 1174ae2e0858d6cf56638e7a4c8ade947fd27d35 | [] | no_license | GENIVI/navigation-next | 3a6f26063350ac8862b4d0e2e9d3522f6f249328 | cb8f7ec5ec4c78ef57aa573315b75960b2a5dd36 | refs/heads/master | 2023-08-04T17:44:45.239062 | 2023-07-25T19:22:19 | 2023-07-25T19:22:19 | 116,230,587 | 17 | 11 | null | 2018-05-18T20:00:38 | 2018-01-04T07:43:22 | C++ | UTF-8 | C++ | false | false | 3,238 | h | /*
Copyright (c) 2018, TeleCommunication Systems, 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 condi... | [
"caavula@telecomsys.com"
] | caavula@telecomsys.com |
859495ea3e788bca35259b11fa92a0da03469f05 | bdb4bc97959b64a65f439110213d280034e4d091 | /src/headers/material.h | f06a7489427d418bb3c52f294b6578a919e7972c | [] | no_license | ACBob/Platforrmer | d6b19e266e9c14b470603f6fc4ccd24a58bcce34 | c4ed1f7870af865ba17e1f8a562108ff6fbbd8ed | refs/heads/master | 2023-04-23T14:16:06.038100 | 2021-04-30T11:20:47 | 2021-04-30T11:20:47 | 358,927,990 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 785 | h | // texture loading system
// Texture name to use when you want to decide to use the default texture
#define DECIDE_TEXTURE_NAME "DEFAULT"
// TODO: Generate missing texture from code
// OR compile it into the program
#define MISSING_TEXTURE_NAME "missing.png"
#include "raylib.h"
#include <vector>
#include "incl... | [
"acbobcat@protonmail.com"
] | acbobcat@protonmail.com |
1bcc9957de3f25142bd97b4002ac4230b1f2bfa0 | dc8502d1cd7be9c58d04620bbbbc32014cf10f15 | /trabalho1/geradorNumeros.cpp | 91e74e926c610200760982b0be65beaddef1b96f | [
"Apache-2.0"
] | permissive | renanbaqui/cg | a835212d8285b16ef6ee41eac8ccdf441917f652 | 7af8a5cd697dbb025cff3efe583abf88286d4965 | refs/heads/main | 2023-06-15T22:07:00.558198 | 2021-07-18T05:28:08 | 2021-07-18T05:28:08 | 351,885,026 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 756 | cpp | #include <iostream>
#include <random>
using namespace std;
float p1, p2, p3;
std::random_device rd; // obtain a random number from hardware
std::mt19937 gen(rd()); // seed the generator
std::uniform_real_distribution<> distr(0, 3); // define the range
std::uniform_real_distribution<> distr2(-5, -2); // define the ran... | [
"noreply@github.com"
] | renanbaqui.noreply@github.com |
c22ec7c2cf0180a9e2e05acd74156741f782a535 | 0abb6aef68b81b6d616658e408ee2979a6104798 | /10952.cpp | b79174df26639a145db166b1c7a2bf0f996a7eb7 | [] | no_license | seongwpa/PS | c44b44691a4038dc326a9198d373629f86bf6dc6 | 3f77020becf5eb989cc146b63d550b461af02dbd | refs/heads/master | 2022-10-08T20:39:09.352637 | 2020-06-08T08:21:15 | 2020-06-08T08:21:15 | 270,530,344 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 176 | cpp | #include<stdio.h>
int main() {
int a, b;
while (1) {
scanf_s("%d %d", &a, &b);
if (a == 0 && b == 0)
break;
else
printf("%d\n", a + b);
}
return 0;
} | [
"seongwpa@student.42seoul.kr"
] | seongwpa@student.42seoul.kr |
64ce43881f91b1ae2d59530ef191ae4313d6140b | 368c6b8074e5408cacb31d2f4a24563f7be9312f | /main.h | d926f2379cf062eab8e75cdec2cf6443171c176f | [] | no_license | eugeniaguerrero/EnigmaCpp | 0dc1f4ffbbc37884eca5e729cd144851da57e3f1 | ba687d6767a8945745ed44cc701579a2cc6b52c0 | refs/heads/master | 2021-05-06T18:00:48.828398 | 2017-11-20T23:27:22 | 2017-11-20T23:27:22 | 111,935,246 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 549 | h | #ifndef MAIN_H
#define MAIN_H
#include <iostream>
#include <string>
#include <fstream>
#include <vector>
#include <algorithm>
#include "errors.h"
#include "utils.h"
#include "plugboard.h"
#include "rotor.h"
#include "reflector.h"
#include "enigmaMachine.h"
using namespace std;
string get_extension(string token);
voi... | [
"angeleuge95@gmail.com"
] | angeleuge95@gmail.com |
a8dbd4d2bc180c912beba68eccd741d10293ec32 | 17c26eaaca8bfaed710694305683a86cbdc8217d | /IOTgarden.ino | 2c1cfef73e082317b715f230c7d51cf3ca9d3d34 | [] | no_license | ahakille/IOTgarden | 36a83e1edf94c54a755c583b09a5f20c2e514b7e | 200a69e4a37a40942fdd77cdb1bc6c0128ede3ec | refs/heads/master | 2021-09-15T14:17:15.608942 | 2017-11-26T06:12:18 | 2017-11-26T06:12:18 | 111,963,125 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,105 | ino | #include <DallasTemperature.h>
#include <OneWire.h>
#include <SoftwareSerial.h>
#define ONE_WIRE_BUS 10
#define SSID "NETGEAR74" // "SSID-WiFiname"
#define PASS "XX" // "password"
#define IP "api.thingspeak.com" // thingspeak.com ip
String msg = "GET /update?key=XX"; //Your ThingSpeak API key
/... | [
"gorlingy@hotmail.com"
] | gorlingy@hotmail.com |
fc1c1c48bce9cfed08d4e31a371758d96cafb9d6 | 61d4893e27e074e57dee89e869ab09348017bc0e | /Release/moc_trackview.cpp | b1eddd73dc1848f20c43fdd43ead30d652022032 | [] | no_license | AlexBychek/Qt-AudioPlayer-BassLib | 378502fe90eac14e59f93e6bc967773df2462c44 | 9afdf21123395212f3c8da9d8ad3a602b2ca0eaf | refs/heads/main | 2023-01-06T16:27:09.019014 | 2020-10-16T06:49:17 | 2020-10-16T06:49:17 | 304,445,597 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,683 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'trackview.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.14.1)
**
** WARNING! All changes made in this file will be lost!
**********************************************************... | [
"alexbichek@gmail.com"
] | alexbichek@gmail.com |
af4d1b8b9187f951fc6543bc45cc69d3d04d97e8 | 2a8a290eb1d0703a7c7b21429b07870c5ffa868e | /Include/egf/FlatModelManager.h | c996d38cecfc6afa9fd65a1d6b1d8ce81a3c540d | [] | no_license | sigmaco/gamebryo-v32 | b935d737b773497bf9e663887e326db4eca81885 | 0709c2570e21f6bb06a9382f9e1aa524070f3751 | refs/heads/master | 2023-03-31T13:56:37.844472 | 2021-04-17T02:30:46 | 2021-04-17T02:30:46 | 198,067,949 | 4 | 4 | null | 2021-04-17T02:30:47 | 2019-07-21T14:39:54 | C++ | UTF-8 | C++ | false | false | 29,446 | h | // EMERGENT GAME TECHNOLOGIES PROPRIETARY INFORMATION
//
// This software is supplied under the terms of a license agreement or
// nondisclosure agreement with Emergent Game Technologies and may not
// be copied or disclosed except in accordance with the terms of that
// agreement.
//
// Copyright (c) 1996-... | [
"veryzon@outlook.com.br"
] | veryzon@outlook.com.br |
64128b92c7789f0716f603f25b13e999c5bfb93d | e84f8e94ddf0d001af216a2cf0e2c7fd871e22bb | /GamePlay/HelpForm.cpp | cfa64dce2a894b00f3e62e6b8a7d046be202423d | [] | no_license | KerkezPavle/OSI2018-Grupa-2 | ed62e61bacf70173402cd514eea7606698334451 | 5c9ed8a23a18686b1daad3a436e41e1e1f6a6c11 | refs/heads/master | 2020-04-10T02:06:39.813274 | 2019-01-10T22:28:24 | 2019-01-10T22:28:24 | 160,735,304 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 23 | cpp | #include "HelpForm.h"
| [
"stefanovic.ognjen98@gmail.com"
] | stefanovic.ognjen98@gmail.com |
11df59674e9f7deffb908797ea3753d003eff497 | 979e828794bdee3d3e341d3ef07db16b755b628d | /esp_AT_CMD_ntp/esp_AT_CMD_ntp.ino | 6c5c13deb58de936e8f7f17445047be427f2f899 | [] | no_license | SGBotic/Arduino-ESP_AT_CMD_Code | 457cd3a274565a7b6ca2e984d84cff68f9a39fa8 | cea7f2a771c59a30c8004a24cebae4cbb8c96e7a | refs/heads/master | 2021-03-14T04:55:59.210140 | 2020-03-12T03:49:00 | 2020-03-12T03:49:00 | 246,736,892 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,493 | ino | /*
* This sketch is to request and receive time from a NTP (network time protocol) server
*
* **** replace SSID and password in line 29 ******
*/
#include <SoftwareSerial.h>
#define TIMEOUT 5000 // mS
// Last Packet Send Time (MilliSecond)
unsigned long lastSendPacketTime = 0;
SoftwareSerial mySerial(7, 6... | [
"developer@sgbotic.com"
] | developer@sgbotic.com |
6d9e7aa3db295b822d45dadc455ddb7efe8047c0 | ec0cab6a3b13213bc37c95c59c1955bba99abc39 | /Damenproblem/precomp.h | 83a02e4425efb2ecc3abe5f8f4f145a0409b0452 | [] | no_license | Ziagl/FHTechnikumWien | 53fc61b734215e53f31a6ada0b609da5f0162d7b | 249851c048243dc1211fbc12737c348ae101ddba | refs/heads/master | 2020-03-27T20:47:21.395827 | 2020-03-01T06:20:14 | 2020-03-01T06:20:14 | 147,093,341 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 204 | h | #pragma once
#include <ClanLib/core.h>
#include <ClanLib/application.h>
#include <ClanLib/display.h>
#ifdef WIN32
#include <ClanLib/d3d.h>
#endif
#include <ClanLib/gl.h>
#include <list>
#include <ctime>
| [
"office@ziegelwanger-edv.at"
] | office@ziegelwanger-edv.at |
93f14cfba24885aa763c0aa9a49d5341395d1f02 | ac5d655b0b85f50f635a65ad93134edc79ba8e18 | /source/de/hackcraft/world/sub/weapon/rWeaponSparkgun.cpp | 81be901ada5d94e1e87ee2b3aa001c3f0f771972 | [
"CC-BY-4.0",
"Apache-2.0"
] | permissive | hackcraft-de/linwarrior | be436df26b4629e6a7324bb327f3e5b9d41be8bd | ddea6874cf3337ee3543bc2dc1a3f0ad3d9eaaef | refs/heads/master | 2023-08-31T21:39:19.503605 | 2023-05-27T06:11:33 | 2023-05-27T06:11:33 | 4,425,061 | 25 | 5 | Apache-2.0 | 2023-08-23T10:45:20 | 2012-05-23T20:37:27 | C++ | UTF-8 | C++ | false | false | 5,022 | cpp | #include "rWeaponSparkgun.h"
#include "de/hackcraft/openal/AL.h"
#include "de/hackcraft/psi3d/GLS.h"
#include "de/hackcraft/psi3d/Primitive.h"
#include <cassert>
std::string rWeaponSparkgun::cname = "SPARKGUN";
unsigned int rWeaponSparkgun::cid = 5712;
rWeaponSparkgun::rWeaponSparkgun(Entity* obj) {
obj... | [
"benjamin.pickhardt@udo.edu"
] | benjamin.pickhardt@udo.edu |
a475106038dca78e712618e19847828b9f4e3bde | 2af2472422ff9356ceb46e0c96040c042800c31c | /point.hpp | 2f4f5e0070b6ccecfc5485c04a221de5d5bc8be8 | [] | no_license | kelvin-williams/MaximumCoverage | 7f4da81520f8abab1a40b0863035fb9e2d9a50b6 | 564b086573c1985b8a4e10a499b3546e1e9a489d | refs/heads/master | 2021-08-22T15:06:23.700981 | 2017-11-30T13:48:27 | 2017-11-30T13:48:27 | 111,605,603 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 195 | hpp | #ifndef POINT_HPP
#define POINT_HPP
#include <vector>
#include <iostream>
#include <limits.h>
struct point{
int x;
int y;
bool visited;
bool facility;
};
#endif /* POINT_HPP */ | [
"kelvin-williams@hotmail.com"
] | kelvin-williams@hotmail.com |
f67c46b2e7d2741df73ca620fe4ea5dd301c6a24 | 252aa9e2e357f7628c907fe0949aaa5022e8b1e3 | /old/programs/cpp/triples.cpp | e09852a98baa20f4bdb9ef3f8f1242949485ddf6 | [] | no_license | andruwne/andruwne.github.io | 4465c3ea6963fc054d20f3b15e13935d65dd5fb6 | bbae45eb135ee25dd8d64c12ab9af69306388994 | refs/heads/master | 2022-03-10T17:48:49.832302 | 2019-11-10T02:56:13 | 2019-11-10T02:56:13 | 118,092,837 | 0 | 0 | null | 2019-09-06T18:08:16 | 2018-01-19T07:32:59 | HTML | UTF-8 | C++ | false | false | 463 | cpp | #include "math"
#include "string"
using namespace std;
char* main (int argc, char* argv[]) {
char[] in = new char[3];
char[] out = new char[3];
in[0] = argv[1]; // a0
in[1] = argv[2]; // b0
in[2] = argv[3]; // c0
cout << in[0] << ", " << in[1] << ", " << in[2] << endl;
out[0] = in[0] + 1; // a1 = a0 + 1
o... | [
"andruw@debian.web.debian.net"
] | andruw@debian.web.debian.net |
5921e7bdb3aa7256e3ab9ee5bfcc2fb91a1fa8fb | 67ed96b8b4762c78c8f96d16bae2076e30dc184d | /CMSSW_5_3_20/src/flowAnalysis/LYZfirst/src/LYZfirst.cc | 13e2218e5db78b237dd5e6c3342bca98d1c2b18c | [] | no_license | XuQiao/HI | 4dae1dcf600d0ea64ea26403197135790ba3c4a2 | e963cd9a5a393480e83e697b37327f4f7c4de8d4 | refs/heads/master | 2020-12-25T16:53:40.474495 | 2017-02-16T06:00:17 | 2017-02-16T06:00:17 | 64,085,142 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,976 | cc | // -*- C++ -*-
//
// Package: LYZfirst
// Class: LYZfirst
//
/**\class LYZfirst LYZfirst.cc Analysis/LYZfirst/src/LYZfirst.cc
Description: [one line class summary]
Implementation:
[Notes on implementation]
*/
//
// Original Author: Qiao Xu
// Created: Tue Aug 5 15:08:18 CDT 2014
// $Id$
//
... | [
"qixu@cern.ch"
] | qixu@cern.ch |
4cf4146872cc5f7c69753a52b44b9371c5c31aaf | df0eeaeaaf23046f1fed368c0c040256693c3676 | /Helpers/Helpers.Shared/libhelpers/Thread/LockStack/ILockLS.h | 49fa5983e74195f1c490f0bab1f977a47e769f24 | [] | no_license | sssr33/SimplePlayer | 5d19e2344377a36aa9392945d9bbd83e3d1e1687 | fd11d9d5d9f99f523d18068506883d2dffd83709 | refs/heads/master | 2020-05-20T06:48:00.541689 | 2017-03-31T20:50:32 | 2017-03-31T20:50:32 | 69,065,043 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 145 | h | #pragma once
#include "ILockListItemLS.h"
namespace thread {
class ILock : public ILockListItem {
public:
ILock();
virtual ~ILock();
};
} | [
"sskr33@gmail.com"
] | sskr33@gmail.com |
4c773442215151272e64a5d60b8fbab09e10a24c | 24e05b40a9da29a09737dc346272c30881e757db | /screensaver.cpp | 9beb8cccd1a2d0c107c3dd9f28de0bbb81f774f2 | [] | no_license | mrLi-w/zhuosheng | 0c32ff6899c1eff69de53eb8f76f38e1d26e27a0 | 920b2f2f60d8346ff8f421a6c5ad811d39d84243 | refs/heads/master | 2023-02-19T04:59:27.757621 | 2021-01-21T05:56:21 | 2021-01-21T05:56:21 | 331,489,640 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,019 | cpp | #include "screensaver.h"
#include "ui_screensaver.h"
#if defined (Q_WS_QWS)
#include <QWSServer>
#endif
#define M_SPEED 200 //unit:ms
#define M_UP (-3)
#define M_DOWN 3
#define M_LEFT (-3)
#define M_RIGHT 3
ScreenSaver::ScreenSaver(QWidget *parent) :
QDialog(parent , Qt::WindowS... | [
"285140402@qq.com"
] | 285140402@qq.com |
7458a66c27a1aa912b2c96e1de3fd2e526d18159 | 7095e573cc3083a618cb53d228ff15030f40a288 | /src/MultiInstance/DirectxHelper.cpp | ec8326ba1de2087f27c9ceafc5f463a487a02932 | [] | no_license | GetoXs/3DMultiAnimationInstance | 8bb0ed69c46c85e9f44f116a6bbe7ed62a937d5e | 12dedbc237bb3094a1e9199c7e36d5241aa056d5 | refs/heads/master | 2020-07-14T14:23:08.209075 | 2019-08-30T08:01:48 | 2019-08-30T08:01:48 | 205,333,932 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 518 | cpp | #include "DirectxHelper.h"
DWORD DirectxHelper::GetAnimationIndex(char sString[], LPD3DXANIMATIONCONTROLLER pAC)
{
HRESULT hr;
LPD3DXANIMATIONSET pAS;
DWORD dwRet = 0;
for( DWORD i = 0; i < pAC->GetNumAnimationSets(); ++ i )
{
hr = pAC->GetAnimationSet( i, &pAS );
if( FAILED( hr ) )
continue;
if( pAS-... | [
"getoxs@gmail.com"
] | getoxs@gmail.com |
ea6921fafc3cfe9912b6b77d7ba800835dbe0583 | ed5926ae512e238af0f14655a3187d7e7fbf7ef7 | /chromium2/components/printing/renderer/print_render_frame_helper.cc | df4cbd7896b917b86f4c0f85bdbb0c09340bb3c5 | [
"BSD-3-Clause"
] | permissive | slimsag/mega | 82595cd443d466f39836e24e28fc86d3f2f1aefd | 37ef02d1818ae263956b7c8bc702b85cdbc83d20 | refs/heads/master | 2023-08-16T22:36:25.860917 | 2023-08-15T23:40:31 | 2023-08-15T23:40:31 | 41,717,977 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 120,771 | cc | // Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/printing/renderer/print_render_frame_helper.h"
#include <stddef.h>
#include <stdint.h>
#include <algorithm>
#include <cmath>
#include <memory>
#include <... | [
"stephen@sourcegraph.com"
] | stephen@sourcegraph.com |
a23df230677a3252b0e4d355bda67e160bf11cd0 | 0494a4e07c95ea85c0ab9e4c7d84fdf6a486890f | /lib/Analysis/Clang/ControlFlowTraits.cpp | 0adedb1e829015a7c9ada34eacbaf09d42d5a58f | [
"Apache-2.0",
"NCSA"
] | permissive | lineCode/tsar | 35206350916cd16b07175ee11b76519b0ada6fca | 35a4a8023d81ca49f3b99eb4e6a9564520b45693 | refs/heads/master | 2022-09-28T15:43:06.534330 | 2020-05-17T09:14:56 | 2020-05-17T09:14:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,289 | cpp | //===- ControlFlowTraits.cpp - Traits of Control Flow in Region -*- C++ -*-===//
//
// Traits Static Analyzer (SAPFOR)
//
// Copyright 2018 DVM System Group
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// ... | [
"kaniandr@gmail.com"
] | kaniandr@gmail.com |
ef957efb04f8967e76b6e614d4cc80b8ffb9d05b | 449fbe74bc1a7469d40fbae63c57ded762577da8 | /Camera.cpp | 8e5181fd8b6169260b621cdbffd26f6271377dc1 | [] | no_license | RodrigoPerezMonteiro/Space-Invaders-3D | 8505867783b207c4ec2e9a45d051348b9cfe030f | 644408771f6f3e6c4a1727e311a975c418a586a7 | refs/heads/master | 2021-01-20T22:26:12.013555 | 2015-06-01T14:12:57 | 2015-06-01T14:12:57 | 25,692,895 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,180 | cpp | #include <iostream>
#include <stdlib.h>
#include <GL/glut.h>
#include "ALL.h"
#include <string>
Camera::Camera(){}
Camera::Camera(std::string nome, float SpaceShipX, float size, float racio){
_nome = nome;
_SpaceShipX = SpaceShipX;
_size = size;
_racio = racio;
}
void Camera::changePos(float SpaceShipX){
_Spac... | [
"rodrigo.ant.monteiro@gmail.com"
] | rodrigo.ant.monteiro@gmail.com |
ac53f0fa6729c457ca73c9705dca29e034eb4962 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function13965/function13965_schedule_9/function13965_schedule_9_wrapper.cpp | 9e2e892c689946f72ceb06076c4633847a4a4d16 | [] | 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 | 857 | cpp | #include "Halide.h"
#include "function13965_schedule_9_wrapper.h"
#include "tiramisu/utils.h"
#include <cstdlib>
#include <iostream>
#include <time.h>
#include <fstream>
#include <chrono>
#define MAX_RAND 200
int main(int, char **){Halide::Buffer<int32_t> buf0(64, 128, 64, 128);
init_buffer(buf0, (int32_t)0);
... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
383a4816174e9da39a84705329cadca6d3e4620f | 2fa2c18db2ddcac833dc56e5be08897e5c6b91ed | /revez/main.cpp | 2d7bd7cca4caf051ebd9401fbeec125adb65ed2b | [] | no_license | DanielJAB/Programacion-de-Sistemas-Parcial1- | e3f5a79dff45e9393f54c6f4cb9611f00ca66c33 | 429a94ccba13bd31f74420dddf96b2e068b7a3d8 | refs/heads/master | 2021-01-01T03:40:19.121905 | 2016-05-18T01:12:57 | 2016-05-18T01:12:57 | 59,064,692 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 277 | cpp | #include <iostream>
using namespace std;
int numero=345;
int n;
int main()
{
n = numero % 10;
cout<<n;
numero = numero / 10;
n = numero %10;
cout<<n;
numero = numero /10;
n = numero %10;
cout<<n;
numero = numero /10;
}
| [
"danieljab28@gmail.com"
] | danieljab28@gmail.com |
a10b26af470a2e2b13aa8f294311d10c3bb44ffb | 63337c456e56f58dd053a7a1147b6ca73a4ecd72 | /SWEA/수영장(강사님).cpp | bc7e274f86554f9e05be331471bf48fa0b43b624 | [] | no_license | Cat613/AlgoProblem | d8eefa0c7de52a5b54aca74a31e9ed3ad065b842 | 8fd20a867bbaf1d6caa4b6dd9b0db2f00047cc3d | refs/heads/master | 2022-04-27T00:39:10.831944 | 2020-04-15T04:57:46 | 2020-04-15T04:57:46 | 255,790,723 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 659 | cpp | //#include <iostream>
//using namespace std;
//
//int TC;
//int D_f, M_f, M3_f, Y_f;
//int arr[12];
//int ans;
//
//void solve(int c, int s)
//{
// if (c >= 12)
// ans = s;
// else
// {
// if (s + D_f * arr[c] < ans)
// solve(c + 1, s + D_f * arr[c]);
//
// if (s + M_f < ans)
// solve(c + 1, s ... | [
"noreply@github.com"
] | Cat613.noreply@github.com |
8d8a13267e052c0c15fe7938d9fd568e6a334d29 | 287230b6695941701830dd513273d516c7235ba9 | /prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/6.3.1/ext/pb_ds/detail/cc_hash_table_map_/iterators_fn_imps.hpp | 5d9cbd9b8db64b6f3cf028408423b611e28f2097 | [] | no_license | haohlliang/rv1126 | 8279c08ada9e29d8973c4c5532ca4515bd021454 | d8455921b05c19b47a2d7c8b682cd03e61789ee9 | refs/heads/master | 2023-08-10T05:56:01.779701 | 2021-06-27T14:30:42 | 2021-06-27T14:30:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | hpp | version https://git-lfs.github.com/spec/v1
oid sha256:98a0a2b833e3220596e1e7310bc708db8566cc6a1478ce7b6fe047ba29ffddeb
size 2664
| [
"geierconstantinabc@gmail.com"
] | geierconstantinabc@gmail.com |
b5a312d18e09082d666f056847134035f4ad8960 | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/Event/EventCommonTPCnv/EventCommonTPCnv/INav4MomLinkContainerCnv_p1.h | 9c81c4f61775dc0d45c4c10154a2b5078c95f683 | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,447 | h | ///////////////////////// -*- C++ -*- /////////////////////////////
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
/** INav4MomLinkContainerCnv_p1.h
* @author: Karsten Koeneke (DESY)
* @date July 2009
* @brief this defines the t/p conversion of a vector
* of ElementLink... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
c3e16a348ec6018694a62417b23cee3685982377 | d3b12fd7a51fbbeaf56d6ba21c3080c3c98fcc42 | /AIEAIDemonstration/source/BehaviourSelector.h | 3904cca57ace2d02af68631829e3015d836bae01 | [] | no_license | b2developer/AIEAIDemonstration | 8b2ce87c415bfc91939aaa338b4f8a396cf3151f | 8bce10fe4fd8dffaaee6945aeeb199e2fbb16218 | refs/heads/master | 2021-06-22T19:03:10.849956 | 2017-08-12T14:42:27 | 2017-08-12T14:42:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,371 | h | #pragma once
#include "BehaviourTree.h"
#include <vector>
/*
* class BehaviourSelector
* child class of Behaviour
*
* a branch node of a behaviour tree that resembles an OR gate
*
* author: Bradley Booth, Academy of Interactive Entertainment, 2017
*/
class BehaviourSelector : public Behaviour
{
pub... | [
"nutty.yotuber@gmail.com"
] | nutty.yotuber@gmail.com |
c3e79967fdc59c78c3e6c210340aa8a74745619a | 62fe3a0c8977cbda51f28b7db189ce704975a4ad | /other/2018wannaflywinter/day3_D.cpp | eedde4aa17bbad218eb6727a88a848ab8f2dbd4f | [] | no_license | ycdzj/OJSolutions | 5d98132ca0f2f55c85a4b17811d61b67a6147ce6 | a1f05db11245ca5af86c34b42ebfe3fc79b57666 | refs/heads/master | 2023-09-01T11:58:46.208478 | 2023-08-23T08:29:40 | 2023-08-23T08:29:40 | 158,642,055 | 0 | 0 | null | 2021-03-19T15:45:33 | 2018-11-22T04:24:08 | C++ | UTF-8 | C++ | false | false | 1,557 | cpp | #include <cstdio>
#include <vector>
#include <algorithm>
using namespace std;
const int MAXN = 14;
typedef long long ll;
const ll INF = 1e18;
int n, m;
vector<pair<int, int>> adj[MAXN];
ll f[MAXN][1 << MAXN];
int cnt[1 << MAXN];
inline int lowbit(int x) { return x & (-x); }
int main() {
scanf("%d%d", &n, &m);
... | [
"yczhao0123@gmail.com"
] | yczhao0123@gmail.com |
ca704ee845b77dd00594356e89eca1c53b7fa974 | bb3bf2227c719523f48e0cfd02ec00bfbd7ab0f6 | /POJ/1068/main.cpp | cfad408ea03d8deb2d5967a0f33226b0e43311e8 | [] | no_license | bg2dcx/small-projects | 1adc738be8d063dd5a5bcae80108a59c4c8cac5f | 2e611d9cc661394dd19b99a99160e532cf6ed77d | refs/heads/master | 2021-01-10T19:14:39.952948 | 2014-04-19T15:50:54 | 2014-04-19T15:50:54 | 17,953,534 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 704 | cpp | #include <iostream>
using namespace std;
int inc[22];
int pnumber[22];
int caseNumber, parenNumber;
int main()
{
cin>>caseNumber;
for (int cases=0;cases<caseNumber;cases++)
{
cin>>parenNumber;
pnumber[0]=0;
for (int i=1;i<=parenNumber;i++)
{
cin>>pnumber[i];
... | [
"diaochunxiao@gmail.com"
] | diaochunxiao@gmail.com |
3086c0d8412fb318c9dfea7c8d15f6bf068593b9 | 230b7714d61bbbc9a75dd9adc487706dffbf301e | /remoting/base/grpc_support/grpc_async_server_streaming_request.h | e2ca25c3fb9cf32ee1e6dc7a55e387dae1dc65eb | [
"BSD-3-Clause"
] | permissive | byte4byte/cloudretro | efe4f8275f267e553ba82068c91ed801d02637a7 | 4d6e047d4726c1d3d1d119dfb55c8b0f29f6b39a | refs/heads/master | 2023-02-22T02:59:29.357795 | 2021-01-25T02:32:24 | 2021-01-25T02:32:24 | 197,294,750 | 1 | 2 | BSD-3-Clause | 2019-09-11T19:35:45 | 2019-07-17T01:48:48 | null | UTF-8 | C++ | false | false | 7,993 | h | // 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.
#ifndef REMOTING_BASE_GRPC_SUPPORT_GRPC_ASYNC_SERVER_STREAMING_REQUEST_H_
#define REMOTING_BASE_GRPC_SUPPORT_GRPC_ASYNC_SERVER_STREAMING_REQUEST_H_
#incl... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
2735ae9b1ca6f50f48984634fc2dd0752210f6cd | 7cec000e30f6043bc0fe500221abcd0d05c46ac3 | /learn1.cpp | b07d434292d3abaafae80c9beabcce8c69701398 | [] | no_license | LionKingSmasher/Learn_CPP | cedd9424938f1d508672a25d7fe86200a231de2e | 81ca022b0fc40fedaeef67b95246bd387587dce1 | refs/heads/master | 2023-02-02T11:12:38.388638 | 2020-12-20T13:09:17 | 2020-12-20T13:09:17 | 292,813,071 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 409 | cpp | #include <iostream>
#include <vector>
template<typename T> //템플릿 설정
T sum(T a, T b){
return a+b;
}
int main(){
std::cout << "Test" << std::endl;
std::cout << "템플릿 함수 int형: " << sum<int>(1, 2) << std::endl;
std::cout << "템플릿 함수 float형: " << sum<float>(1.21, 2.88) << std::endl;
std::cout << "템플릿 함수 string형: " << s... | [
"38488586+LionKingSmasher@users.noreply.github.com"
] | 38488586+LionKingSmasher@users.noreply.github.com |
0a9059df92382e1694c432ec6222afc56a8dd5a1 | 1d841d285753cab56af99e29b6e2fb82f0a6a180 | /GyverFilters/GyverFilters.cpp | 5ac84422ee2de1aba36b7d337a58e4f61f72eb67 | [] | no_license | MrAmazoni/GyverLibs | c953820246b05e3a7a0dbf06eef2d359ca14f02a | d9b9c56057f0c18437f845c46ccf4ef813e119ef | refs/heads/master | 2020-03-28T14:19:53.342072 | 2018-09-12T06:31:45 | 2018-09-12T06:31:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,441 | cpp | #include "GyverFilters.h"
#include <Arduino.h>
#define STOPPER 0
// ***************************** GFilterRA *****************************
GFilterRA::GFilterRA() {}
GFilterRA::GFilterRA(float coef, uint16_t interval) {
_coef = coef;
_filterInterval = interval;
}
void GFilterRA::setCoef(float coef) {
_coef = coef;... | [
"beragumbo@ya.ru"
] | beragumbo@ya.ru |
735c14993e83f363a5a0e17cd5b7566279b9d9e4 | 82cacbda190a2b263cf22a39e3a37754c180a422 | /HIFIWORKER.h | ff137d0f2b1607f2515b38f8d84042dce0b1b950 | [] | no_license | koreait24/HIFISOL | 574435061ef95beb8709d73b05281c29a89b2402 | 67867294c762a137fbd54165fc56c0f7092e2b49 | refs/heads/master | 2023-02-24T14:57:03.817001 | 2021-01-15T11:02:51 | 2021-01-15T11:02:51 | 244,283,555 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,456 | h | #pragma once
#include <odbcinst.h>
#include <sqlext.h>
#define MAX_SID 20
#define MAX_SIG 253
#define MAX_TOPJOB 6
#define MAX_BOTJOB 33
#define MAX_WTYPE 13
#define MAX_WORKER 300
// HIFIWORKER 대화 상자
class HIFIWORKER : public CDialog
{
DECLARE_DYNAMIC(HIFIWORKER)
public:
HIFIWORKER(CWnd* pPa... | [
"noreply@github.com"
] | koreait24.noreply@github.com |
3fa7635110332acae7d90f9db1bddd9525c8675d | 19102d6dc6846eee45170b242ae8ea8e31e02511 | /src/renderer/renderer.h | 182c908f3216f125c401bea713152a35c75180c8 | [] | no_license | kbaedal/vzray | a20c1d00defae15564e3d6f2a3f9e21676738e8e | 5e4199775d3ffcf31b444a991a42df9f4df8454f | refs/heads/master | 2021-06-07T14:32:38.952459 | 2017-11-28T18:04:03 | 2017-11-28T18:04:03 | 15,285,176 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 563 | h | #ifndef __RENDERER_H__
#define __RENDERER_H__ 1
#include <vector>
#include <string>
#include "ray.h"
#include "vec3.h"
#include "rgb.h"
#include "shapes/shape.h"
#include "scene/scene.h"
using namespace std;
class Renderer
{
public:
virtual ~Renderer() {};
virtual RGB get_color(Ray r, Scene... | [
"kbaedal@gmail.com"
] | kbaedal@gmail.com |
2cf2ac0aaa189918b2f969d323c481c64cfc57e7 | 43623ccfa35cf2ba5ae25614d19014efd063ce26 | /DataBase.h | 8f3a0f13456665bf519b0578c2c652c278f5b44b | [] | no_license | MonikaTargosz/Communication_with_MySQL_database | 19b745ee1a933f28e32db84188da0c4872aba74b | 2c41187ef31e4948957697fd00a460aaccda5954 | refs/heads/main | 2023-07-23T12:00:52.328984 | 2021-09-09T14:21:21 | 2021-09-09T14:21:21 | 404,750,333 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 475 | h | #pragma once
#include <my_global.h>
#include <mysql.h>
#include <iostream>
using namespace std;
class DataBase
{
protected:
MYSQL *con;
void finish_with_error(MYSQL *con);
MYSQL_RES *exec(char * q);
public:
DataBase(char * host, char * usr, char * pwd, char * db);
~DataBase();
void print_query(char * q); /... | [
"noreply@github.com"
] | MonikaTargosz.noreply@github.com |
009501e315792d4b938120912a46bb8d5e73cc2b | 70e29793d2c7cc4353b0f1c086ec6391829b3d16 | /PodKatch/mainwindow.cpp | cf24003d448b77f6761e7e948da2564d0502a3e4 | [
"MIT"
] | permissive | StaticallyTypedRice/QPodKatch | db11c7d31fab0b3e03c1c75be70ef766d7d0c232 | c88bb1193ff7be8c547634a14df69c7cb0998a67 | refs/heads/master | 2020-07-20T16:43:46.678561 | 2019-09-07T04:41:07 | 2019-09-07T04:41:07 | 206,679,791 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 572 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include "addpodcastdialog.h"
#include "ui_addpodcastdialog.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
}
MainWindow::~MainWindow()
{
delete ui;
}
void MainWindow::on_actionExit_trigge... | [
"richiezhang256@gmail.com"
] | richiezhang256@gmail.com |
7db1908aadf849a34ec22bd4f2302d12faec5a61 | 2c26415cdae5dfc39fbfe31c1ea026710941193c | /PEWorkspace/Code/PrimeEngine/APIAbstraction/GPUBuffers/BufferInfo.cpp | fd33e7037feead81c78d16d6cff0bd10e6512f1d | [] | no_license | Jcat21/PrimeEngine | 31982cc0cd5dc119158156d3c6342706ca5f2b66 | f85da4c31e546c499f066cd9069851254516bcf0 | refs/heads/master | 2020-04-21T10:56:13.938601 | 2019-02-07T01:43:35 | 2019-02-07T01:43:35 | 169,503,385 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,796 | cpp |
// API Abstraction
#include "PrimeEngine/APIAbstraction/APIAbstractionDefines.h"
// Outer-Engine includes
// Inter-Engine includes
#include "BufferInfo.h"
#include "PrimeEngine/Render/D3D9Renderer.h"
#include "PrimeEngine/Utils/ErrorHandling.h"
const char *toString(EPEVertexFormat f)
{
switch(f)
{
case PEVertex... | [
"durhamca@usc.edu"
] | durhamca@usc.edu |
51b04bc35e27d90718d9a9ac36155a018e52d39b | 95613a70265e6871c25a4be18075c180427d0980 | /src/txdb.cpp | fb856aaef6dd763031f1b576ef0dd4242c2d5647 | [
"MIT"
] | permissive | CryptoLover705/NocNoc | 394b7426a25a0b048fb5e2ae6c02b5f75099189e | fafa860f29c63d7357721a231fef7ad314355263 | refs/heads/master | 2023-02-11T04:11:49.555586 | 2021-01-01T00:21:57 | 2021-01-01T00:21:57 | 318,871,415 | 1 | 0 | MIT | 2020-12-05T19:25:13 | 2020-12-05T19:25:12 | null | UTF-8 | C++ | false | false | 12,392 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2016-2017 The PIVX developers
// Copyright (c) 2016-2019 The NocNoc developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit... | [
"edward.thomas3@yahoo.com"
] | edward.thomas3@yahoo.com |
65839bb1922a3956ba3798b25fb47cca84885425 | fbc6dc0fce8f31175f7c7882f93a00203c354cbb | /9/9.41.cpp | 492f59112d9770765fb5f9ec99f5eb4ec7847af9 | [] | no_license | BruceMJ128/MJ_Program_Cpp_Primer | 30b75a3c240725542aba33c60c8730d44f097746 | 3d634aa87fb22bb88e24fd3350d573155d0fa032 | refs/heads/master | 2021-01-19T04:43:38.149765 | 2017-04-06T05:37:54 | 2017-04-06T05:37:54 | 87,389,641 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 305 | cpp | #include <vector>
#include <string>
#include <iostream>
using namespace std;
int main()
{
vector<char> vec{'H','E'};
for(auto x: vec)
{
cout<<x<<" ";
}
cout<<endl;
string s1;
for(auto iter=vec.begin();iter!=vec.end();++iter)
{
s1.push_back(*iter);
}
cout<<s1<<endl;
return 0;
}
| [
"bruce.mj128@hotmail.com"
] | bruce.mj128@hotmail.com |
c6b41a2910e7aeb0e56c8a0ca4b22fe1096a12f5 | 2a95329d64cf96293561917ca3509299672257ec | /src/Private/Resources/SoundBufferGroupResource.h | 664378089e871d3b32568043d7671050dc78212d | [
"MIT"
] | permissive | heltena/KYEngine | 1c58499720e044be701a609cc3ca4c5baa1550b7 | 4ccb89d0b20683feb245ffe85dd34b6ffdc42c8e | refs/heads/master | 2021-01-01T08:06:26.163234 | 2020-02-08T18:55:12 | 2020-02-08T19:16:45 | 239,187,135 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,064 | h | #pragma once
#include <tinyxml.h>
#include <KYEngine/Private/Resources/SoundBufferGroupInfo.h>
#include <KYEngine/Private/Resources/SoundBufferResource.h>
#include <vector>
#include <string>
class SoundBufferGroupResource
: public SoundBufferResource
{
public:
static const std::string XML_NODE;
static SoundBuffer... | [
"heltena@gmail.com"
] | heltena@gmail.com |
d3836edff8eb112950006094902e7b88b0d84ec8 | 3e5ae9b260b16fcc86bb0669c1bd4e56912b5433 | /VCB600ENU1/MSDN_VCB/SAMPLES/VC98/MFC/ADVANCED/CUBE/MAINFRM.CPP | cc5f5dd9eba0906e1906bbe495f8dceaaebed638 | [] | no_license | briancpark/deitel-cpp | e8612c7011c9d9d748290419ae2708d2f3f11543 | 90cdae5661718e65ab945bcf45fe6adff30c1e10 | refs/heads/main | 2023-06-14T14:07:05.497253 | 2021-07-05T01:46:04 | 2021-07-05T01:46:04 | 382,984,213 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,413 | cpp | // mainfrm.cpp : implementation of the CMainFrame class
//
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) 1992-1998 Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and relat... | [
"briancpark@berkeley.edu"
] | briancpark@berkeley.edu |
cbfe65bdc6d89620177892f79ee5ed7fcde1c320 | 15f5ccf9856324ae9976fa90b892bef10dad8659 | /MiniOneEngine/CClass.cpp | 9ecdbe8ba6197a93b335021490df613dbc74effb | [] | no_license | xyt1212xf/MiniOne | 78a474568036d63a51a333a8cc88b8ffd0fd5c95 | e71606f89266fc5a1c22d765502633dd6b98b7fc | refs/heads/master | 2020-07-15T20:50:59.784922 | 2019-09-01T11:10:52 | 2019-09-01T11:10:52 | 205,646,102 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,500 | cpp | #include "pch.h"
#include "CClass.h"
namespace mini
{
void updata(lua_State* L, UINT32 offset, ETypeEnum Type)
{
switch (Type)
{
case eTypeBool:
{
bool value = bool(1 == lua_toboolean(L, -3));
memcpy((void*)offset, &value, sizeof(bool));
break;
}
case eTypeChar:
{
INT8 value = (INT8)lua_tonu... | [
"2449437913@qq.com"
] | 2449437913@qq.com |
cace297d06b7938a285768d9e971490afcf2e6fc | 4f1f1c8b906bebe10810525e58f9c1688eebc63b | /CSAcademy/round-54/fill-the-glasses.cpp | 735946c9a4aa62ccadec965886f84529246e7235 | [] | no_license | stone725/CompetitiveProgramming | 40ef3c6c9f9c8952366b1449805d21dc0c44d6dd | d6558c718e1dce384ca5accaf7253412849d590f | refs/heads/master | 2023-01-07T11:11:19.128446 | 2023-01-01T01:39:39 | 2023-01-01T01:39:39 | 194,200,546 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 335 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <numeric>
using namespace std;
int main()
{
int n, k;
cin >> n >> k;
vector<int> a(n);
for (auto &&i : a)
{
cin >> i;
}
sort(begin(a), end(a));
cout << accumulate(begin(a), begin(a) + k, 99) / ... | [
"inf33554432@gmail.com"
] | inf33554432@gmail.com |
20546001d3098aa667d05166c72aaf2e3d24a190 | dda797791b003ac1ae8d3c85235f56cd7ba105f9 | /source/blackwins.cpp | 640a33f5c57522092a66943bf7e527e706921d7c | [] | no_license | er4nGH/Chess | 75fdaf6a615b58fce76de7dcea2531545ad498eb | 548931807d83777fad1f539dd2952c9a7d7202fd | refs/heads/master | 2023-07-08T00:13:13.007383 | 2021-08-14T09:14:30 | 2021-08-14T09:14:30 | 390,016,685 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 352 | cpp | #include "blackwins.h"
#include "ui_blackwins.h"
blackwins::blackwins(QWidget *parent) :
QWidget(parent),
ui(new Ui::blackwins)
{
ui->setupUi(this);
QPixmap pix(":/new/prefix1/Assets/Black wins.jpg");
ui->label->setPixmap(pix);
ui->label->setScaledContents(true);
}
blackwins::~bla... | [
"erfan.dweb@gmail.com"
] | erfan.dweb@gmail.com |
9312984f0e0e27c4801f5679b8cf1a5ea60d90d6 | cc28ab643c8f93407fccc2f4069529f170749cc7 | /StdAfx.cpp | bfef2a27d5abee52f7249c5eefa52c6d04f91205 | [] | no_license | dmmartind/Visual-IP-Config | 9afce52d698e6a59bf239e074c4cc33b6e945fec | dfc16ddbb15b73cb81a9d173e6a44e2bc69b61de | refs/heads/master | 2021-01-01T19:44:16.390961 | 2017-07-28T14:32:11 | 2017-07-28T14:32:11 | 98,664,047 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 583 | cpp | ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//Copyright 2007 David Martin. All Rights Reserved.
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// stdafx.cpp : source file... | [
"opticcore@gmail.com"
] | opticcore@gmail.com |
9f6f0789377b08bcd3f40c9a15975af58119e0b4 | 94a78cedf3d9fadf3c15385406ff43848e96e72d | /src/net.cpp | 78b4668292d09ff25f634e592e22ea8309ae7bef | [
"MIT"
] | permissive | BitCoinONE1/BTCONE-Blockchain | 02bfbfb4f096232299e01f85d5f6e28111805791 | bccc7e28878b2572f8cafa6c0e4e896745b33a27 | refs/heads/master | 2020-04-13T23:57:55.114465 | 2019-01-16T19:26:32 | 2019-01-16T19:26:32 | 163,520,721 | 4 | 4 | MIT | 2019-01-16T13:06:36 | 2018-12-29T15:20:56 | C++ | UTF-8 | C++ | false | false | 74,433 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2018 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-li... | [
"contact@bitcoinone.io"
] | contact@bitcoinone.io |
3c4a6743da00e2d867ad506df74af8f71270843a | de8988e8197934d9dcb4f08809cdd6fe7f50f2c4 | /PP03.GameClass/Game.h | f5c901be5cd8d2f005b03cce378a5a722d20b6ee | [] | no_license | HyeongwonLee/GameFrameWork1 | 6166874e3fa5d4bdb8f15694971070d7ea75ef86 | 2ac15b68d8d96d1df6c7c38f6982e3ab14e43e38 | refs/heads/master | 2020-03-28T09:34:45.309057 | 2018-12-06T05:24:10 | 2018-12-06T05:24:10 | 148,044,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 399 | h | #pragma once
#include "SDL.h"
#include <iostream>
#include <stdio.h>
class Game
{
private:
SDL_Window * m_pWindow;
SDL_Renderer* m_pRenderer;
bool m_bRunning;
public:
Game() {}
~Game() {}
bool init(const char* title, int xpos, int ypos, int width, int height, bool fullscreen);
void render();
void update() {}... | [
"hoseogame@hoseogame.onmicrosoft.com"
] | hoseogame@hoseogame.onmicrosoft.com |
61eadbb99c7092ef68bb3da43f232c7002c6cd31 | ad822f849322c5dcad78d609f28259031a96c98e | /SDK/Research_T2Static_Shooterv2_02_classes.h | 84de7cc819bafcf1eb050ab8663e863338e65a75 | [] | no_license | zH4x-SDK/zAstroneer-SDK | 1cdc9c51b60be619202c0258a0dd66bf96898ac4 | 35047f506eaef251a161792fcd2ddd24fe446050 | refs/heads/main | 2023-07-24T08:20:55.346698 | 2021-08-27T13:33:33 | 2021-08-27T13:33:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 732 | h | #pragma once
// Name: Astroneer-SDK, Version: 1.0.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass Resear... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
86e6580ebb57f4d1902cf249a8c31c18f1d5d076 | 1cd5b57ca3fb64c363f2cf45b2f2d011abda0056 | /Task 1/TSP_BruteForce.cpp | 52dd79654efb7ea0c32e98ab6416e2994d35455c | [] | no_license | anasrasyid/ComputingSGBasic | f663add1e77c35711d25fe845fa1f612aa799c17 | 8b9ee85063d624a32ba237b3806a3f33d34e79de | refs/heads/master | 2020-05-03T02:53:54.936963 | 2019-03-29T10:19:49 | 2019-03-29T10:19:49 | 178,383,131 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,580 | cpp | #include <bits/stdc++.h>
using namespace std;
#define V 26
int graph[V][V];
bool dot[V];
void setGraph(int x){
for(int i = 0;i <V;i++)
for(int j=0;j <V;j++)
graph[i][j] = x;
}
int travllingSalesmanProblem(int graph[][V], int s) {
vector<int> vertex;
for(int i = 0;i < V;i++)... | [
"noreply@github.com"
] | anasrasyid.noreply@github.com |
0b69d5779ffcab8a8a8c9e0184116ae30665dab8 | 39440fdd720088526b0fce5610f4f2c430eb08c4 | /wxWidget_codegen/output/not_declared/wxRichTextBulletsPage.cpp | 2b71fe9792ad3bfdf87fab9b712a76725f193e05 | [] | no_license | greshem/develop_wxwidgets | ab79d732efd18200e0593a0c2b02ebf9eb7ee648 | f78a283959cc04d2893e96aa95bb79f4011e0f85 | refs/heads/master | 2021-01-10T10:56:39.516822 | 2015-10-28T00:08:10 | 2015-10-28T00:08:10 | 45,077,895 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,187 | cpp | #include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <iostream>
#include <string>
#include <dirent.h>
#include <fstream>
#include <iterator>
#include <vector>
#include <algorithm>
#include <iostream>
#include <map>
#include <wx/wx.h>
#include <wx/thread.h>
#include <wx/confbase.h>
#include <wx/encc... | [
"qianzhongjie@qq.com"
] | qianzhongjie@qq.com |
cb3ca3da6e311731e7517e82757ea2b7bee64a45 | 02392a6875c559bdc3b1effe81420c00574652ee | /Document Scanner documentation/AutomaticPerspectiveCorrector/AutomaticPerspectiveCorrector.h | 6153f5191a5e5f120553a5ed579f80179098933d | [] | no_license | webstorage119/Document-Scanner-2 | b3a9e7f98deefb562746da4f9cd06d9742a9a209 | 7833a83928a38e7307d5da3bdc217698bf3e12a7 | refs/heads/master | 2023-04-30T07:27:23.171062 | 2018-09-20T14:55:42 | 2018-09-20T14:55:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,013 | h | #pragma once
#include <opencv2/core.hpp>
#include <opencv2/opencv.hpp>
#include <opencv2/highgui.hpp>
#include <opencv2/imgproc.hpp>
#include <string.h>
class AutomaticPerspectiveCorrector
{
public:
AutomaticPerspectiveCorrector(cv::Mat sourceImage);
cv::Mat GetCorrectedImage();
private:
cv::Mat NormalizeImageSiz... | [
"filip.konopacki96@gmail.com"
] | filip.konopacki96@gmail.com |
4cc5ea4fe703418a3cb3f18caabd8c39584c3846 | e6e69e8d6794f409398af2cefed7092fed4691ca | /计算机与软件学院/面向对象程序设计(荣誉)/大作业1/素材1/2018192044_1120_4.cpp | a6314e7ac3e2e41e3c7c71d3eab271a30ab3a97c | [] | no_license | LKHUUU/SZU_Learning_Resource | 1faca5fcaf0431adb64da031dde4fe47abcdc6ba | 88f121f275a57fc48f395bb73377e6f6e22d7529 | refs/heads/main | 2023-08-30T06:31:24.414351 | 2021-10-22T13:53:40 | 2021-10-22T13:53:40 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,584 | cpp | 2018192044:Problem1120:ÕýÈ·
#include <iostream>
using namespace std;
class Animal
{
protected:
string name;
int age;
public:
Animal(){}
Animal(string n,int a):name(n),age(a){}
virtual void Speak()=0;
~Animal(){}
};
class Tiger:public Animal
{
public:
Tiger(string n,int a):Animal(n,a){}
v... | [
"939826879@qq.com"
] | 939826879@qq.com |
e93a956ca5afe3c5b520de5cd436e1926254cf88 | e4a6db61e4906024e97b4ea8d2c14a7ae409ee56 | /client/camera.h | a532f08911485f2efa262c8ce581394c88d641d9 | [] | no_license | ryder1986/pedestrian-v4 | 8ad8de666b7ef53444a2d68ac70497045416da2b | e3719adc466a2047f4ad0fc18df8006686021384 | refs/heads/master | 2021-06-30T10:19:17.612532 | 2017-09-19T05:41:49 | 2017-09-19T05:41:49 | 103,360,911 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,656 | h | #ifndef CAMERA_H
#define CAMERA_H
/*
well,there are two policies,one is emit buffer when VideoSrc avilable, one is timer emit fetching from VideoSrc per xx msecond.
*/
#include <QTimer>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2... | [
"you@example.com"
] | you@example.com |
596c5ebe1eb7e6a7bcd0c3d8adbb4ea8932691c3 | 499a4f2c530023a39ed7a0d2d6077d570c37e651 | /SDK/RoCo_Wingman_StrikeoutSpawnSelectorComponent_classes.hpp | 0cc2116af39c6b0649227aeb4edd61693549dc66 | [] | no_license | zH4x/RoCo-SDK | e552653bb513b579ab0b1ea62343365db476f998 | 6019053276aecca48b75edd58171876570fc6342 | refs/heads/master | 2023-05-06T20:57:27.585479 | 2021-05-23T06:44:59 | 2021-05-23T06:44:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 851 | hpp | #pragma once
// Rogue Company (0.59) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "RoCo_Wingman_StrikeoutSpawnSelectorComponent_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//-----------------------------------------------------... | [
"30532128+pubgsdk@users.noreply.github.com"
] | 30532128+pubgsdk@users.noreply.github.com |
18d31a06f163ce1c124f874ef6b55ccc52d1d09a | efc9f7ce45fd208d6ed43c41ea9a6ed8b4664feb | /src/libs/dxf/lib/entities/Dxf_rtext_entity.cpp | fefa1351409a4ea358354961725a2b78e64bd191 | [] | no_license | efifogel/sgal | 312d604e879240baae60e82faa87acc637a38542 | bb3ebcb1c06aff311f3ea095f50e02cc6bd2983e | refs/heads/master | 2020-03-27T22:15:31.407935 | 2018-09-03T13:38:10 | 2018-09-03T13:38:10 | 147,217,311 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,234 | cpp | // Copyright (c) 2018 Israel.
// All rights reserved.
//
// This file is part of SGAL; 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; version 2.1 of the
// License. See the file LICENSE.LGPL distributed with SGAL.
//
... | [
"efifogel@gmail.com"
] | efifogel@gmail.com |
96763b6f4d29a9608b25a20c7a58e6a8e3455b19 | 81dfc4ca6fad595719db75d55fa272ab7119132e | /main.cpp | 8596e4cc1d2127f526f0927e48ee4b111051ebf8 | [] | no_license | danditk/Quiz | ea18b9b822143b243b4af0f145ef4e64c20364f2 | 518e21197cdcfa8e674b8aefbed8a868aca4a13d | refs/heads/master | 2020-04-24T16:05:46.203754 | 2019-02-22T16:01:55 | 2019-02-22T16:01:55 | 172,094,429 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 154 | cpp | #include <iostream>
#include <fstream>
#include <cstdlib>
using namespace std;
string
int main()
{
cout << "Hello world!" << endl;
return 0;
}
| [
"danditkaczuk@gmail.com"
] | danditkaczuk@gmail.com |
5e6e65f6d7ee3e1769f81cbf3a35b427e2c6a190 | dd84fd5faba7931ab3bc9235790476f5d71f155a | /src/test-apps/TestWdmOneWayCommand.h | 3fd04e3ed594f6fa4e4fa5800e51b58194e4f489 | [
"Apache-2.0",
"LicenseRef-scancode-proprietary-license"
] | permissive | SiliconLabs/openweave-core | a244588451d72b2d1c12ddfec4c45075faeb173a | 5c52bb5b4fe7f3a53e17952af0be4dfe62bf21bb | refs/heads/master | 2020-09-06T17:39:51.437583 | 2019-11-16T00:49:34 | 2019-11-16T00:49:34 | 220,497,451 | 2 | 1 | Apache-2.0 | 2019-11-08T15:42:11 | 2019-11-08T15:42:10 | null | UTF-8 | C++ | false | false | 3,116 | h | /*
*
* Copyright (c) 2017-2018 Nest Labs, Inc.
* 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... | [
"rszewczyk@nestlabs.com"
] | rszewczyk@nestlabs.com |
0dae9210b360f5234271ee2faaed019f9225c92a | b4f1ca5c26a215f88a7a8df94a42d58392442b57 | /ccf-1/4.4-3.cpp | f176a9b0cce5be48629466d8adccdb95863bf3a4 | [] | no_license | jaywangpku/Algorithm | 04d4cfdc0de4b90d3a0c71edad6465fcd4fc2579 | 0ee6387cff22b6e02a8bfe21b2cf0e116d301f69 | refs/heads/master | 2022-02-22T07:52:34.877199 | 2019-09-16T13:55:39 | 2019-09-16T13:55:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 533 | cpp | #include <iostream>
using namespace std;
int main()
{
int n;
cin >> n;
for(int i = 1; i <= n; i++)
{
for(int j = 1; j <= n-i; j++)
{
cout << " ";
}
for(int j = 1; j <= 2*i-1; j++)
{
cout << j;
}
for(int j = 1; j <= n-i; j++)
{
cout << " ";
}
cout << endl;
}
for(int i = n-1; i >= 1 ... | [
"944187787@qq.com"
] | 944187787@qq.com |
a0669a04b3b8ec165dd7504597f8e54d12864230 | ed6abb1f314a4ba8bae84fd4512992823adbcd0d | /Remove-Duplicates-from-Sorted-Array.cc | 22ad4ebd420383c145c80e1427257b4ee9627fc8 | [] | no_license | melon-li/leetcode | 193bd5f554199f7dabcc905aff7780970c829a9a | 3847363551585c2dc2ef314028b5adb3ecea9856 | refs/heads/master | 2021-01-20T14:09:37.088640 | 2017-04-27T14:57:44 | 2017-04-27T14:57:44 | 82,744,671 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 853 | cc | //Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.
//Do not allocate extra space for another array, you must do this in place with constant memory.
//For example,
//Given input array nums = [1,1,2],
//Your function should return length = ... | [
"lookat119@163.com"
] | lookat119@163.com |
05726aba2b77a802b890e4ce3e662ffb32ae6aeb | 34e5aae76845d079ffa679d1851af2afe7624ea4 | /nn/runtime/test/generated/tests/strided_slice_quant8_7.mod.py.cpp | 549e303c6566b3c3aca40f0a18cb0aabc4285dab | [
"Apache-2.0"
] | permissive | LjBLincoln/platform_framework_ml | 7d16baa798607a32fbe9e02a3f466e5f42b3ea86 | eeb80e6ec0e0d58ea3d1482fe4b8aba620439b01 | refs/heads/master | 2020-03-21T22:18:03.062178 | 2018-06-29T09:03:36 | 2018-06-29T09:03:36 | 139,117,421 | 1 | 0 | null | 2018-06-29T08:58:42 | 2018-06-29T07:39:13 | C++ | UTF-8 | C++ | false | false | 621 | cpp | // DO NOT EDIT;
// Generated by ml/nn/runtime/test/specs/generate_test.sh
#include "../../TestGenerated.h"
namespace strided_slice_quant8_7 {
std::vector<MixedTypedExample> examples = {
// Generated strided_slice_quant8_7 test
#include "generated/examples/strided_slice_quant8_7.example.cpp"
};
// Generated model const... | [
"miaowang@google.com"
] | miaowang@google.com |
6680b64db6ae3c248962ab4cb9b472f39d0738d6 | 7ee15bdb3bdc6dd3bc192315bfa0bfebcf6ffb2d | /clicommand.h | d6df6400697e4c5aeddf4e31c4974713b5a45052 | [
"Apache-2.0"
] | permissive | pouladzade/KomoG | 7d7accdb09419572d5bf6beb30a991394622896a | 41a1002f49e2e78352ada69f8c0911e5c5afc692 | refs/heads/master | 2021-04-15T03:50:03.597086 | 2018-09-19T19:38:20 | 2018-09-19T19:38:20 | 126,813,461 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 460 | h | #ifndef CLICOMMAND_H
#define CLICOMMAND_H
#include <QObject>
#include<vector>
using namespace std;
class CliCommand
{
public:
CliCommand();
~CliCommand();
QString getCommand() const;
void setCommand(const QString &value);
auto getInputs() const -> const std::vector<QString>&;
void setInput(c... | [
"pouladzade@gmail.com"
] | pouladzade@gmail.com |
abaf0c88590b7b8ceb01a33c4d246b3406f91383 | b0623cb718d6e5b8c20afdbaaf0a85d0b62633dc | /A_Hexadecimal_s_theorem.cpp | 9585cf53ce0f3c2c377a63ef1f3d9ebb508bcbea | [] | no_license | prajjwal-24/A2OJLadders | 957d666ab0addac9737ded80562bc40d27634ee8 | c4f51dafccd4c962e3f88d4e3889116b82407035 | refs/heads/master | 2023-05-08T05:03:57.148987 | 2021-05-31T06:44:46 | 2021-05-31T06:44:46 | 372,409,243 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 933 | cpp | #include <bits/stdc++.h>
#define int long long int
using namespace std;
////// beware of succh problems !!!!
// bewakoof banaya bada maja aaya
int32_t main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int n;
cin>>n;
if(n==2){
cout<<"0 1 1";
}
else if(n==3){
cout<<"1 1 1"... | [
"prajjwalsharma.bpl@gmail.com"
] | prajjwalsharma.bpl@gmail.com |
48abede6737c40fbd929712b0da6f4416467d21e | 91754c1f03a4ad48f0a9b9bd8fc8588bf1933369 | /model/full-capability-information.cc | aa1ac780e3478978b383e6b90b16d20f94d7194e | [] | no_license | rohit1347/full | 9365c0bd6216a83b821dfab25ca122106f81930b | c78acea0a9c229513dc6a6e34127a43049749f63 | refs/heads/master | 2020-04-14T23:15:59.043174 | 2019-06-06T21:16:22 | 2019-06-06T21:16:22 | 164,196,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,975 | cc | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2006 INRIA
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* This program is distributed... | [
"rokumar@ucsd.edu"
] | rokumar@ucsd.edu |
db1538672ef95fa367056ac96842e455be0f00f7 | 8b967b7a24b6388490b288d9b4508632f8a7a192 | /Test12 03/Test12 03.cpp | de7d089b350ef0c6270f4cabf00a2038600b88a0 | [] | no_license | YxinS/Test | 3324dd3bfd7717c071d24a9f299e6b977997eba4 | 6877851550464b47e0b65445cd0004ac8af907c7 | refs/heads/master | 2023-02-03T00:12:12.673985 | 2020-12-21T12:36:49 | 2020-12-21T12:36:49 | 312,969,885 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,005 | cpp | #include<iostream>
using namespace std;
class Solution {
public:
bool isPrime(int num){
for(int i = 2; i*i <= num;++i){
if(num%i == 0){
return false;
}
}
return true;
}
int countPrimes(int n) {
int ret = 0;
for(i... | [
"1298518999@qq.com"
] | 1298518999@qq.com |
d72e3c879469a6023cc4c9b4b15211c008515614 | 76e49a7bed55e4fdd31d753cce7f79a29881c0e8 | /src/scene/SceneCollection.h | ab191d27f5eec337ab3ae72b3daca9d02b8372cc | [] | no_license | defcanuck/cse_public | ff66f4544e89b9b78baca9948ce469824fcc80df | 23f4d3376f131ddd1765ad1da8fc59a32ad29366 | refs/heads/main | 2023-05-11T10:15:33.317658 | 2021-06-02T22:40:00 | 2021-06-02T22:40:00 | 373,317,769 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,912 | h | #pragma once
#include "ClassDef.h"
namespace cs
{
template <typename key, class value>
class SceneCollection
{
public:
SceneCollection() { }
template <class C>
bool add(std::shared_ptr<C> new_element, key index)
{
auto it = this->value_map.find(index);
if (it != this->value_map.end())
{
lo... | [
"cwschmelzle@gmail.com"
] | cwschmelzle@gmail.com |
3c3b0c93970cdce1b871be04bf1fc3195f038e70 | 87ab5a31d7c4e70a822b25c93063cd5bd22c3bcb | /FaceRecognition/informations.h | 6ab819ba145eb87cf5b0e3631533d7d76dfb2dbc | [] | no_license | idriss92/FaceRecognition | 8571d4ab0311dcd389fee8104bc44b1cdc580b8a | cb05e68b598ce7c738d7562386e8a361f3ba9961 | refs/heads/master | 2021-01-10T19:19:13.863497 | 2014-07-16T11:14:21 | 2014-07-16T11:14:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | h | #ifndef INFORMATIONS_H
#define INFORMATIONS_H
#include <QMainWindow>
namespace Ui {
class Informations;
}
class Informations : public QMainWindow
{
Q_OBJECT
public:
explicit Informations(QWidget *parent = 0);
~Informations();
private slots:
void on_pushButton_clicked();
private:
Ui::Informatio... | [
"joannysimpore@gmail.com"
] | joannysimpore@gmail.com |
1379446492e728d2b9230a4ba4c99aa12e0ebd38 | 4cdbe0dc2ce72878d06a3ea9cda8edf2498defab | /src/RaZ/Render/Cubemap.cpp | b97fe81c1f22837e4bd2d97d84d49d04929d7512 | [
"MIT"
] | permissive | ixlm/RaZ | a8d0ac4a3275870159c396c22990f18fd2d755dc | 5136de8d13486bc5d8a753807e2362d82edc6f02 | refs/heads/master | 2020-11-30T14:17:23.086875 | 2020-01-07T08:09:19 | 2020-01-07T08:09:19 | 230,414,656 | 0 | 0 | MIT | 2019-12-27T09:32:54 | 2019-12-27T09:32:53 | null | UTF-8 | C++ | false | false | 5,506 | cpp | #include "RaZ/Render/Cubemap.hpp"
#include "RaZ/Render/Mesh.hpp"
#include "RaZ/Render/Renderer.hpp"
#include "RaZ/Render/Texture.hpp"
namespace Raz {
Cubemap::Cubemap() {
Renderer::generateTexture(m_index);
const std::string vertSource = R"(
#version 330 core
layout (location = 0) in vec3 vertPosition;
... | [
"romain.milbert@gmail.com"
] | romain.milbert@gmail.com |
0fae1866a3097bf9432132230c4cd1e29692a639 | a62342d6359a88b0aee911e549a4973fa38de9ea | /0.6.0.3/External/SDK/BP_BuildModule_Tavern_Wattle_Wall_A_Window_A_Ending_B_functions.cpp | 3157082b85e3d62e292d4759bb91aa416eb87e04 | [] | no_license | zanzo420/Medieval-Dynasty-SDK | d020ad634328ee8ee612ba4bd7e36b36dab740ce | d720e49ae1505e087790b2743506921afb28fc18 | refs/heads/main | 2023-06-20T03:00:17.986041 | 2021-07-15T04:51:34 | 2021-07-15T04:51:34 | 386,165,085 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 651 | cpp | // Name: Medieval Dynasty, Version: 0.6.0.3
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//---------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
f2c58b0ce29a6ead14cb367e309f921fc95bee4a | db35017be7f785dbbc9eb6de11a95ffc939efb1c | /itp1/itp1_3_a.cpp | 4bb8fa79984384d53cddd2de0eb0ddf45a09d869 | [] | no_license | High-Hill/cpp_study | 6e42a1eee416a1f1409835aba56dfeac6bd1adde | c95dc4dce90fd3a260a452646e3704b6578d716d | refs/heads/master | 2020-03-07T18:16:50.209801 | 2018-06-29T12:22:13 | 2018-06-29T12:22:13 | 127,633,023 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 128 | cpp | #include<iostream>
using namespace std;
int main(){
for(int i=0;i<1000;i++) cout << "Hello World" << endl;
return 0;
}
| [
"k196336@kansai-u.ac.jp"
] | k196336@kansai-u.ac.jp |
9551132bcd19974a2b4c011d6c91e94092763ec9 | 882ec897f80e414f37a8471e673d509f67bd12c2 | /firmware/MSR1-R3/GPSCollar/GPSCollar.ino | abec319bbc89680eeeebab5478bfc28138257e70 | [] | no_license | jkarl/COTS_GPS_Collars | 804fa387cfad90602e966fb7092f322282f236eb | 0a903e5c733938340a783ea2570a97358c3d2157 | refs/heads/master | 2021-01-25T14:04:09.985099 | 2019-05-10T22:01:56 | 2019-05-10T22:01:56 | 123,646,488 | 0 | 1 | null | 2019-08-13T03:21:06 | 2018-03-03T00:53:56 | HTML | UTF-8 | C++ | false | false | 13,712 | ino | /*
GPS collar
When the program begins it should check and SD card for settings.
It takes those settings, saves them, and then initializes the pins that are
the same on every board.
It then enters an endless loop where it checks the GPS values, eventually
saves them to the SD card, and then decides how long it shoul... | [
"43352820+shry9735@users.noreply.github.com"
] | 43352820+shry9735@users.noreply.github.com |
7c901774bf76e6bc37a048662e867a0de7328b6e | 4bc71c372535554f9a9c9b612796213770204a0a | /Embarcadero/Rio/CPP/ThingPoint ThingConnect IoT Demo/Client/EndpointResultFrameU.cpp | a63c5a706ecb2cd31a30d2c07a6c33776816617c | [] | no_license | jimmyat2023/Firemonkey | e843cea2a4475138ec281ae712455d9240a062c4 | fe8a78893c6df92fe6a6aa472d8698d3fe1f52e0 | refs/heads/master | 2023-03-22T10:44:55.203200 | 2020-02-19T14:09:36 | 2020-02-19T14:09:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,757 | cpp | //---------------------------------------------------------------------------
// Copyright (c) 2016 Embarcadero Technologies, Inc. All rights reserved.
//
// This software is the copyrighted property of Embarcadero Technologies, Inc.
// ("Embarcadero") and its licensors. You may only use this software if you
// are... | [
"eli@peacekeeper.com"
] | eli@peacekeeper.com |
22fdbac8b93a6470fa08e2f6ace9fa10c71fb8a3 | 6c5fb5b74be518a5103b812f3b648c4eab8f99d5 | /competitive_programming/chapter2_stl_algorithm/uva00146.cpp | 9b569bedee72671d71ecece0905fe20ffc104aea | [] | no_license | thyagostall/competitive | 1bfc44232773693edbfb59526650f47622d69791 | db5ed16ae0ef745fc407f6baabb0df2e505eb85e | refs/heads/master | 2021-01-22T06:44:35.390582 | 2018-10-03T03:56:14 | 2018-10-03T03:56:14 | 81,784,040 | 0 | 0 | null | 2017-06-17T17:11:15 | 2017-02-13T04:14:27 | C++ | UTF-8 | C++ | false | false | 306 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
int main()
{
string code;
while (cin >> code && code != "#") {
if (next_permutation(code.begin(), code.end())) {
cout << code << endl;
} else {
cout << "No Successor" << endl;
}
}
}
| [
"thstall@gmail.com"
] | thstall@gmail.com |
d0da4b36b98ef9af0b48e618fa271b69ce118047 | 88095a3b4de9f3155f04e10e1f9a85fe8bf80627 | /cses/String/LongestPalindrome.cpp | 30b5c14dbac1d996b6a10f675e8e27da2f19d749 | [] | no_license | tracyliu1220/code | 12e7e1eefb27864608b013cf865541a5b123f1f4 | e01df32c288cf30b409fd9a367916691eaa443ee | refs/heads/master | 2023-04-16T19:16:04.240798 | 2021-04-23T13:54:52 | 2021-04-23T13:55:18 | 360,900,899 | 0 | 0 | null | 2021-04-23T13:55:19 | 2021-04-23T13:53:54 | null | UTF-8 | C++ | false | false | 435 | cpp | // Copyright 2021, Tsung-Ta Wu, All rights reserved.
#include <bits/stdc++.h>
using namespace std;
void Manacher(int n, char s[], int r[]) {
fill(r, r + n, 0);
for (int i = 0; i < n; i++) {
while (0<= i-r[i] && i+r[i]<n && s[i-r[i]] == s[i+r[i]]){
r[i]++;
r[i+r[i]] = max(r[i+r[i... | [
"edison1998402@gmail.com"
] | edison1998402@gmail.com |
8306fde7a2e1856df02c5f382206ccba067854af | 245ab85fba3dc5e7da581efbb00e29cc22d049fc | /task_scheduler.cpp | cc58bc656acabcf4120d1d918e71f13f0b43bd9e | [] | no_license | Aaditya-Singh/Competitive-Coding | 987de0175d691d2a97357631dbbf9a7330565ff7 | 69a1ee3bd63b7732eaf6ad693de694b8e30ba1dc | refs/heads/master | 2020-12-18T13:48:34.220911 | 2020-01-21T17:59:08 | 2020-01-21T17:59:08 | 235,406,391 | 0 | 1 | null | 2020-10-03T05:53:35 | 2020-01-21T17:56:02 | C++ | UTF-8 | C++ | false | false | 708 | cpp | #include <iostream>
#include <bits/stdc++.h>
using namespace std;
void print(vector<int>&A){
for(int i=0; i<A.size(); i++) cout << A[i] << " ";
cout << endl;
}
int main(){
int n, i=0, j=0, profit=0, max_profit=0;
cin >> n;
vector<int>profits(n, 0), deadlines(n, 0);
vector<pair<int, int>>V;
... | [
"noreply@github.com"
] | Aaditya-Singh.noreply@github.com |
58943a64712122e736f09deb70655452ea896d68 | 11bada2052321f04ed1554a8dee49b5f5e5ef658 | /benchmark/Alloc_Dealloc_Time.cpp | 157bfcec4c6ca1fac8c532272d5cbd8af3b7b5cb | [
"MIT"
] | permissive | terraindata/frc | 265becedbdb8c8a8d506afab2c3f4f2cf6d01ca3 | 0ccb9194b758f20f218caf464b7d9bd68d28c3fb | refs/heads/master | 2021-04-25T04:34:47.059706 | 2020-08-16T09:32:26 | 2020-08-16T09:32:26 | 114,819,495 | 19 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,027 | cpp | /*
* File: Alloc_Dealloc_Time.cpp
* Copyright 2017 Terrain Data, Inc.
*
* This file is part of FRC, a fast reference counting library for C++
* (see <https://github.com/terraindata/frc>).
*
* FRC is distributed under the MIT License, which is found in
* COPYING.md in the repository.
*
* You should have receiv... | [
"DABH@users.noreply.github.com"
] | DABH@users.noreply.github.com |
576e47a6da1b498cc99ee9950f317f2bc30b2ebf | 78a3cc861b46d0385c7efc54ceda9d62818e12a2 | /include/skland/gui/gl-window.hpp | 91829ca1f54c32760e1af2d035a33fa853dcc813 | [
"Apache-2.0"
] | permissive | zhanggyb/skland | 90f618ae713996b115170860092703bb2099f348 | 055d91a6830b95d248d407c37a8a2fa20b148efd | refs/heads/master | 2020-06-15T17:17:37.258046 | 2017-11-12T15:04:19 | 2017-11-12T15:04:19 | 75,276,770 | 20 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,913 | hpp | /*
* Copyright 2016 Freeman Zhang <zhanggyb@gmail.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 applic... | [
"zhanggyb@gmail.com"
] | zhanggyb@gmail.com |
aa9d37254add40493f0d1d67bce64af41fa792bf | c2a3b842f6e7f83a3c0a71431d338b470a65ca2e | /NONAME01.bak | 724885a2a011489cfcfb23679e0e4e571841e239 | [] | no_license | get51017802/Prak2 | af7d547a2f224fcd66aeebd0869fe0960c773c27 | a9df3929ccc48e5198eb2ba0a4e2ef36314be745 | refs/heads/master | 2020-05-02T02:46:48.689119 | 2019-03-26T03:58:20 | 2019-03-26T03:58:20 | 177,711,742 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 467 | bak | #include <iostream.h>
#include <conio.h>
float z = 9.0; // Global variabel
int i = 10;
void tampilkan_lagi(void);
main()
{
float p = 2.0; //Lokal terhadap main()
cout << i << " " << p << " " << z << "\n";
tampilkan_lagi();
//return 0;
getch();
}
void tampilkan_lagi(void)
{
int j = 5.0; // Lokal... | [
"noreply@github.com"
] | get51017802.noreply@github.com |
f196dc16f1ae6bbb6dabc59f0c4b7e3363a0a1f3 | ceddfe459780acadfd5844e8b40289b79bfc0e5b | /EmpBinaryTree.cpp | cfc0197468108a57ca58a944e8939866b32e586e | [] | no_license | bayareaIA03/Employee-Data-Base-from-Binary-Tree | a637a36f45fb2f605d5d63e8641d961007d41c92 | dcd5095c530097b9c9cfe92a5c6ccddff5043f11 | refs/heads/main | 2023-04-06T08:59:37.366188 | 2021-04-21T05:14:59 | 2021-04-21T05:14:59 | 360,032,657 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,759 | cpp | #include <iostream>
#include <string>
#include "EmpBinaryTree.h"
#include "Employee.h"
using namespace std;
void EmpBinaryTree::insert(TreeNode *&parent, TreeNode *&newnode){
if(parent == NULL){//there is no first node
parent = newnode;
//cout<<"my dog"<<endl;
}
else if(parent->e.getName() < newnod... | [
"noreply@github.com"
] | bayareaIA03.noreply@github.com |
fb128a776846f2297d2770e0a83c5b991cebe8b6 | eb03618bc63848069a7d2c2a7c27ace2ff8e4d2a | /Commands/Demo Commands/Demo 5/Helper Threads/LoadDemoThread2.cpp | 427631b81f9630b92db1ee6fb0f73ad56ce18dc4 | [] | no_license | santoshp1995/Game-Audio-Engine | 54024b8257501d2c4218e7b4de7015a6f2164b43 | f9b5ce786195e92c8144517be9bc63c7541b1cba | refs/heads/master | 2022-11-11T11:39:43.087135 | 2020-06-20T08:30:27 | 2020-06-20T08:30:27 | 273,665,978 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 323 | cpp | #include "LoadDemoThread2.h"
#include "ThreadHelper.h"
#include "FileMan.h"
void LoadDemoThread2_Main()
{
ThreadHelper::DebugBegin(2);
while (FileMan::GetStatus(WaveDataID::BEETHOVEN) != WaveData::Status::READY)
{
// spin
}
// Fall through... then end thread
ThreadHelper::DebugEnd(2);
... | [
"noreply@github.com"
] | santoshp1995.noreply@github.com |
2b7af8c951ac5b86f117c0d33ab18728f7264720 | 556b91784e1726e0907faa62dd1ec3159c66b571 | /Language Tools/Voters List.cpp | a38964bdc0f86a584ecac223a8321ebeaf3dd0ed | [] | no_license | yakshitbindal/Competitive-Programming | 20cd318b39706b594c8877ceab461959f40f95bc | 5d4571dc482bebb4c20d476a5486b096c67a69c7 | refs/heads/main | 2023-01-16T06:02:10.020386 | 2020-11-28T16:26:54 | 2020-11-28T16:26:54 | 303,168,992 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,183 | cpp | // #codechef problem
// https://www.codechef.com/problems/VOTERS
/*
As you might remember, the collector of Siruseri had ordered a complete revision of the Voters List. He knew that constructing the list of voters is a difficult task, prone to errors. Some voters may have been away on vacation, others may have moved du... | [
"yakshitbinda@gmail.com"
] | yakshitbinda@gmail.com |
5cf98e5107dad9788ac1bf0628efab22fbc38eae | 58c05a406bae245031d82d67283a8403f5ed1ce4 | /Easy/342_Power_Of_Four.cpp | 5d88a756ac7834b9737f2e02880b1558f4c8ee9f | [] | no_license | zhanyli46/Leetcode | 5d9b2daacb52f07fd0a4f1795b43f11f1e4b523b | 329451cce6a4bed776684bac641f2ef63ad37d5e | refs/heads/master | 2020-03-20T12:34:38.238379 | 2018-08-29T04:21:21 | 2018-08-29T04:21:21 | 137,434,681 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 658 | cpp | class Solution {
public:
/* Iterative */
bool isPowerOfFour(int num) {
/* Time: O(log_4(n)), space: O(1) */
/* Runtime: 6ms */
if (num < 0) return false;
while (num != 1) {
if (num == 0 || ((num & 0x3) != 0)) return false;
num >>= 2;
}
retu... | [
"zhanyli46@gmail.com"
] | zhanyli46@gmail.com |
3acab1d604072651036c0a54305e581d3d55a6e1 | 92f6b2ce43ea4e7632e18b3811966b41e4980eb3 | /14.template_function.cpp | 3e5db9166a1f731e789b5e1fa033ad3dab6aa2a7 | [] | no_license | G-Sudarshan/cpp-programs | a8c4bd96927ff8d00e7b50c1786b3c8dd7e003c6 | 77caa1bafcd73fdbce0de3c83a98ba84a824b8d7 | refs/heads/master | 2020-06-26T00:06:12.541226 | 2019-07-29T13:59:22 | 2019-07-29T13:59:22 | 199,462,867 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 655 | cpp | #include<iostream>
using namespace std;
template <class T>
void swapval(T &a ,T &b)
{
T temp;
temp=a;
a=b;
b=temp;
}
int main()
{
int a=5,b=7;
float x=34.3 ,y=234.3;
char p='A' , q='B';
cout<< " Before swapping : "<<endl;
cout<<" a : "<<a<< " b : "<<b<<endl;... | [
"noreply@github.com"
] | G-Sudarshan.noreply@github.com |
3b57bcf18b8e332509f9e8a52cb6b0d8b4695aae | 86cd86d498aa7f1cd3a89bb241b57ad46c5f1930 | /fc++/FC++-clients.1.4/callback2.cc | 589af5004434bee3fb06880f8767bfe1a862f61f | [] | no_license | yanniss/yanniss.github.io | 22c00744a6217ec6e7fe970394e55e080d073f65 | 8015abb8e99bfa5152025b286bd8da9457aad21e | refs/heads/master | 2023-08-30T02:11:23.512152 | 2023-08-26T18:17:51 | 2023-08-26T18:17:51 | 27,713,887 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,634 | cc | // This example demonstrates using FC++ to facilitate callbacks.
#include <iostream>
#include <vector>
#include "prelude.h"
using namespace fcpp;
using namespace std;
using namespace fcpp;
void f(int x) { cout << "f(" << x << ")" << endl; }
struct Foo {
int id;
void f(int x) { cout << "Foo(" << id << ")::f("... | [
"smaragd@di.uoa.gr"
] | smaragd@di.uoa.gr |
7b89e889cda2faaa40abaca37c2ca551eb743ead | 4fbf2a9e22ef16f0953c8eb3b2c706d564abaeb9 | /src/barycentricData.hpp | 77e16d8fee40c98b878fbb8802b73da98541b9b8 | [] | no_license | 1165048017/wrapDeformer | 4b1547405df8127646106b392365fe214eb5cccb | 17e8d634d5efe08ed27fac3819ea2dea9cc7789e | refs/heads/master | 2022-04-05T10:19:10.800910 | 2020-02-20T21:30:49 | 2020-02-20T21:30:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,383 | hpp | #ifndef WRAPDEFORMER_BARYCENTRICDATA_HPP
#define WRAPDEFORMER_BARYCENTRICDATA_HPP
#include <vector>
#include "types.hpp"
class BarycentricData
{
public:
BarycentricData();
BarycentricData(int polygonIndex, int triangleIndex, IntVector& vertexIndexList, f32 u, f32 v, f32 w);
~BarycentricData();
/*... | [
"carlosmonteagudoma@gmail.com"
] | carlosmonteagudoma@gmail.com |
1d5fbc4b03a2b79c91d99a3d19c708ab3b58b2a4 | b729444e89bb7f04f5ab24dedf6c989590785219 | /C++/k-nucleotide/knucleotide.gpp-3.c++ | f47e05e633afec1dc1cd517dab1ea7445788a090 | [
"MIT"
] | permissive | greensoftwarelab/Energy-Languages | 4fa16587cd32caa82f064583618610bcd072cc04 | 1356528173d6bb07fb2512037c0ed8e2279ce440 | refs/heads/master | 2023-08-02T16:44:52.745599 | 2022-02-27T21:04:35 | 2022-02-27T21:04:35 | 101,664,867 | 663 | 105 | MIT | 2022-04-20T16:21:04 | 2017-08-28T16:41:20 | C | UTF-8 | C++ | false | false | 3,757 | /* The Computer Language Benchmarks Game
http://benchmarksgame.alioth.debian.org/
Contributed by Branimir Maksimovic
*/
// g++ 4.8.x bug, compile with: -Wl,--no-as-needed option
#include <iostream>
#include <iomanip>
#include <cstdint>
#include <cstdio>
#include <string>
#include <cstring>
#include <algorithm... | [
"marcocouto90@gmail.com"
] | marcocouto90@gmail.com | |
45cf721e87be9659a17fb4257989dc8a97c0c8b3 | c1695beaab57b51ca62557f8a42f509e3c6c79c9 | /eje3.cpp | a02a61e0f53897f7b05446803541911748732eaf | [] | no_license | Rodrigo1619/corto-3-de-programacion | ede7696bc77eb57d76f830d30413a7bf22330c4f | 0b097bca6b0f4252f3a49865dbad8913251b6fe6 | refs/heads/master | 2022-10-15T08:16:28.210897 | 2020-06-13T23:55:31 | 2020-06-13T23:55:31 | 272,103,782 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 577 | cpp | //se saben que los años bisiestos son los que son divisibles entre 400
//por ejemplo 2000 si es bisiesto pero 1800 no lo es
#include "iostream"
#include "cstdlib"
#include "stdio.h"
using namespace std;
char total(int fecha)
{
if (fecha%4 !=0 || (fecha % 100 == 0 && fecha % 400 != 0))
{
cout<<"El anh... | [
"00067920@uca.edu.sv"
] | 00067920@uca.edu.sv |
7c57c7c03e47ba80cac099eacf54b0f50174f29f | d696223e33a04fa9a3f0aded54d0cd612f32601f | /src/platform_lin.cpp | 550e08063617987070d87f3277c8f80b067f74aa | [] | no_license | gokhanettin/PardusImageWriter | d896e3ee406b5cc755b697b31869ae6b5fa494b2 | 3e3057be8ea4f8a98aff1a21a83067bdf81c8efd | refs/heads/master | 2021-09-18T13:17:40.252226 | 2018-07-14T23:47:56 | 2018-07-14T23:53:04 | 115,549,308 | 0 | 0 | null | 2017-12-27T18:59:08 | 2017-12-27T18:59:08 | null | UTF-8 | C++ | false | false | 8,209 | cpp | ////////////////////////////////////////////////////////////////////////////////
// This file contains Linux implementation of platform-dependent functions
#include <QDir>
#include <QRegularExpression>
#include <QDebug>
#include "src/platform_lin_suprogram.h"
#include "src/usbdevice.h"
QList<UsbDevice> pla... | [
"yunusemre.senturk@pardus.org.tr"
] | yunusemre.senturk@pardus.org.tr |
f18ad37c594b3abefc2e8ddb2bb80e502a7656fe | 1f43d1bb29341c669b0e369c34745a34d5950fc5 | /stl/stl_deque.h | 7aca3e05f25b6c07a94bad393bad9befa57d9216 | [] | no_license | narutolai/leetcode | 7f15879c53872d7ae7779fdeaa9311de057b7db3 | 7312fa3e91f4d591e2c2cd401deb1208475ea2c2 | refs/heads/master | 2022-10-29T01:30:32.209024 | 2022-10-23T03:49:57 | 2022-10-23T03:49:57 | 253,961,624 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,742 | h | #ifndef __STL_DEQUE_H
#define __STL_DEQUE_H
#include "stl_alloc.h"
#include "stl_construct.h"
//一个全局函数
inline size_t __deque_buf_size(size_t n, size_t sz)
{
return n != 0 ? n : (sz < 512 ? size_t(512 / sz) : size_t(1));
}
/*
deque的迭代器
*/
template <class T, class Ref, class Ptr, size_t BufSiz>
struct ... | [
"noreply@github.com"
] | narutolai.noreply@github.com |
529d80d5b47692834e4db8d0b668554837ff5a26 | a15e75bd10b701bed405037dea33970a47b2b34a | /Project Code Framework/Components/switch_key.h | 555d835562a0c97400f5e19fbe7b358faab4d167 | [] | no_license | Ahmed-H300/Logic-simulator | 6d7e27b135990cbd4b72ba47684d5b97973dadc9 | 17ce5bd752fde35300b5e95c9d79b32848dab757 | refs/heads/main | 2023-06-12T23:50:39.639290 | 2021-07-04T18:54:20 | 2021-07-04T18:54:20 | 382,920,595 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 656 | h | #pragma once
#include "Component.h"
#include "OutputPin.h"
class switch_key :public Component
{
private:
bool closed;
protected:
OutputPin m_OutputPin;
public:
switch_key(const GraphicsInfo& r_GfxInfo, int r_FanOut,int id);
virtual void Operate(); //Calculates the output of the AND gate
virtual void Draw(Output* p... | [
"76230133+Ahmed-Hany-F@users.noreply.github.com"
] | 76230133+Ahmed-Hany-F@users.noreply.github.com |
909638feee17f29ae564df92d375bc29fc5d6501 | a6ebc64b39faf3855986e64705fea9b9e24f54fc | /util/thread_local.h | 516a885d5997ade75fcce6cbe049fe79b1e64c43 | [] | no_license | prishitakadam/Modified-Shared-Memory-Index | 942e6173ec6b81a1a9b5c6609e149f2a4e10ec2e | da280aef2e875d92934edca6694fb30ce58c5c80 | refs/heads/main | 2023-06-19T21:35:30.603183 | 2021-07-20T10:35:40 | 2021-07-20T10:35:40 | 377,445,476 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,816 | h | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
//
// Copyright (c) 2011 The LevelDB Authors. All rig... | [
"noreply@github.com"
] | prishitakadam.noreply@github.com |
d06c38adfe45aeff9d770567179178e8f55de7bd | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /tdmq/src/v20200217/model/CreateRocketMQNamespaceRequest.cpp | cee927f491fd73ea0ff28e60d105efe2fdbedf7d | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 4,504 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
8c11739d6a4719a74db74e892ec98d1383fbede0 | 52ca17dca8c628bbabb0f04504332c8fdac8e7ea | /boost/numeric/ublas/io.hpp | 08770fc1bf669951107735990a742c2fcd088340 | [] | no_license | qinzuoyan/thirdparty | f610d43fe57133c832579e65ca46e71f1454f5c4 | bba9e68347ad0dbffb6fa350948672babc0fcb50 | refs/heads/master | 2021-01-16T17:47:57.121882 | 2015-04-21T06:59:19 | 2015-04-21T06:59:19 | 33,612,579 | 0 | 0 | null | 2015-04-08T14:39:51 | 2015-04-08T14:39:51 | null | UTF-8 | C++ | false | false | 62 | hpp | #include "thirdparty/boost_1_58_0/boost/numeric/ublas/io.hpp"
| [
"qinzuoyan@xiaomi.com"
] | qinzuoyan@xiaomi.com |
ae0ef5ab61e8802343daaa4432aef18a6970ddc1 | f0df022c4ea84e9edb194b2c7188a42f85cdedae | /GeneratedFiles/Release/moc_LogicController.cpp | abd93ac07c6094281dfa6892dd0cb28d447d13f6 | [] | no_license | Leroy888/String-chuzhLeye | 399a639e5588137d9e78048e0c622d5b1e84d17b | c1c585515283f5c24216ff67574d8969505cb648 | refs/heads/master | 2020-07-03T23:27:11.797006 | 2019-08-15T14:40:12 | 2019-08-15T14:40:12 | 202,084,857 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,318 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'LogicController.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.8.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************... | [
"leroy8li@163.com"
] | leroy8li@163.com |
d312bdf8223b10ee8bf4bf1aa4c4a93f35b27a35 | fac52aacf1a7145d46f420bb2991528676e3be3f | /SDK/SCUMkin_Spice_Latte_classes.h | 496a760714a39b579fc1ae3e13f86a7a44f09a5e | [] | no_license | zH4x-SDK/zSCUM-SDK | 2342afd6ee54f4f0b14b0a0e9e3920d75bdb4fed | 711376eb272b220521fec36d84ca78fc11d4802a | refs/heads/main | 2023-07-15T16:02:22.649492 | 2021-08-27T13:44:21 | 2021-08-27T13:44:21 | 400,522,163 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 646 | h | #pragma once
// Name: SCUM, Version: 4.20.3
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass SCUMkin_Spice_... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
79984a1ae089c62120c7f2b18270b926cc894679 | 007d63d4cb49676fd678840a3e1244ad63bdb121 | /released_plugins_more/visiocyte_plugins/rescale_and_convert/rescale_and_convert.cpp | 25261a00563adc5becaae263a8ffca727e0bffb5 | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | satya-arjunan/visiocyte | 1a09cc886b92ca10c80b21d43220b33c6009e079 | 891404d83d844ae94ee8f1cea1bb14deba588c4f | refs/heads/master | 2020-04-23T02:07:33.357029 | 2019-04-08T06:40:03 | 2019-04-08T06:40:03 | 170,835,824 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,462 | cpp | /* rescale_and_convert.cpp
* 2012-04-11 Hanchuan Peng
*/
#include <QtGui>
#include <math.h>
#include <stdlib.h>
#include <iostream>
#include "visiocyte_message.h"
//#include "stackutil.h"
#include "rescale_and_convert.h"
using namespace std;
//Q_EXPORT_PLUGIN2 ( PluginName, ClassName )
//The value of PluginNam... | [
"satya.arjunan@gmail.com"
] | satya.arjunan@gmail.com |
e16ae17fb9d44f3103dd47f5142fda36aec00b15 | 2d932a7156fb02290bc98cb2cc3df857c5dbd0a6 | /Section16/VirtualDestructor/VirtualDestructor/main.cpp | 476b8294330395a0f065c9f69233e0a36215be38 | [] | no_license | djedjethai/learn-c- | 495a87bbf25d2e28f4280b8701d64d7976f47695 | a3b1df1afb97bd597d76d5f150bce8996139dc7d | refs/heads/master | 2022-12-24T07:22:07.442168 | 2020-09-19T12:54:23 | 2020-09-19T12:54:23 | 296,869,222 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,551 | cpp | #include <iostream>
#include <vector>
using std::cin;
using std::cout;
using std::endl;
class Account {
public:
virtual void withdraw() {
cout << "Account withdraw" << endl;
};
virtual ~Account() {};
};
class SavingAccount: public Account {
public:
virtual void withdraw() override{
co... | [
"djedje.thai.ok@gmail.com"
] | djedje.thai.ok@gmail.com |
56ca55191d083d2cf92368aeb80a5b48743e87b7 | c6719f7b9df40adf70f42e6e703b60898bfa77db | /June 2020 Long Challenge/Chef and String.cpp | f3c1c7b5e6152c297de64428a7d5c0353724c31b | [] | no_license | hinddeep/codechef | 68c7d9c8b8a9281cf2b4d8e8482a39f22209a38e | 04e80ea0dcc6f7992bafeada9316302402bf6073 | refs/heads/master | 2022-10-21T08:16:36.121853 | 2020-06-17T07:22:22 | 2020-06-17T07:22:22 | 263,022,974 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 860 | cpp | /* ***************************************
* AUTHOR: HINDDEEP SHAILESH PUROHIT *
* ****************************************
*/
// https://www.codechef.com/viewsolution/34066871
// https://www.codechef.com/JUNE20B/problems/XYSTR
#pragma GCC optimize("Ofast")
#pragma GCC target("avx,avx2,fma")
typedef long lo... | [
"noreply@github.com"
] | hinddeep.noreply@github.com |
1cd9fb73c825a84947e46651d907f97a30b777d4 | 9280a7d2da52444e9c5f950ee2445eab0544b7f7 | /full_coverage_path_planner-master/src/full_coverage_path_planner.cpp | 78ec46921fc7b4914f5c8201151b98e1e55cc631 | [
"Apache-2.0"
] | permissive | Forrest-Z/service_MK-2 | 728370303385a6124d6a019791b954ff967fd10d | e11713066691ed0fac237163d69f51bc752ed89b | refs/heads/master | 2023-07-20T03:43:29.569055 | 2021-09-06T04:13:31 | 2021-09-06T04:13:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,772 | cpp | //
// Copyright [2020] Nobleo Technology" [legal/copyright]
//
#include <list>
#include <vector>
#include "full_coverage_path_planner/full_coverage_path_planner.h"
/* *** Note the coordinate system ***
* grid[][] is a 2D-vector:
* where ix is column-index and x-coordinate in map,
* iy is row-index and y-coord... | [
"guan5308@gmail.com"
] | guan5308@gmail.com |
148c879d844288a59571947c252b1a861817e166 | c98493174e9cb2d99bd46baabbdfe03c5e2d7f2e | /path_finder/src/parabola.h | fdd78c90678bc4f024234b0a6735a8c60d6e8d6c | [] | no_license | Anirudh1313/Design-adaptive-path-for-self-driving-car | 5c5fd25dd4ca4f763c12e0337a1a8f87f79ec997 | 0e3466552b052903060ccc72d8e3ba4d4745b66e | refs/heads/master | 2021-09-06T11:58:58.740173 | 2018-02-06T09:14:50 | 2018-02-06T09:14:50 | 110,505,058 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 382 | h | /*
* parabola.h
*
* Created on: Nov 1, 2017
* Author: krishnasaianirudhkatamreddy
*/
#ifndef PARABOLA_H_
#define PARABOLA_H_
#include "point.h"
class Parabola
{
public:
Parabola() : p(0), centre(0,0), ref(0,0) {}
Parabola(double _p, Point _centre, Point _ref) : p(_p), centre(_centre), ref(_ref) {}
doub... | [
"anirudh.ani.ani@gmail.com"
] | anirudh.ani.ani@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.