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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
db0057aafb46c39cd89978981ca13bfca9922d94 | e8e3a38a1f6b30a8a76e01c1b68aaf8edddd273f | /cpu.cpp | dc6d149ed4f43561a95a371b895b872c66e5f15d | [] | no_license | TylerBrock/chip8 | f6505a13df996efc16c790fe30184382e9838135 | c3fa3c104db1034323cb34931f847dab17a89837 | refs/heads/master | 2022-05-06T04:11:02.478356 | 2022-03-14T14:12:31 | 2022-03-14T14:12:31 | 21,928,163 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,303 | cpp | #include <iostream>
#include <iomanip>
#include <cstdlib>
#include <ctime>
#include "cpu.h"
#include "graphics.h"
#include "memory.h"
namespace Chip8 {
const uint16_t kOpCodeMask = 0xF000;
const uint16_t kAddressMask = 0x0FFF;
const uint16_t kRegisterXMask = 0x0F00;
const uint16_t kRegisterYMask... | [
"tyler.brock@gmail.com"
] | tyler.brock@gmail.com |
7058467e208569e7333fd774a01efdda433865c7 | 1453cd02157d7e34b5e806a9486791a18c2df5c9 | /app/pb/ProtoRotaryTable.pb.h | 4859b51e3362a946f26d4eca777892b8a8aad996 | [] | no_license | colinblack/game-srv-muduo | 6da0c485b36d766d9cc9b3bd8ef4b6f83fab27f8 | 9fd5c98ba70d51e3fbfd0af0878b92019f242bec | refs/heads/main | 2023-05-15T06:18:45.431480 | 2021-06-07T07:44:48 | 2021-06-07T07:44:48 | 373,710,270 | 1 | 1 | null | 2021-06-04T06:11:54 | 2021-06-04T03:34:48 | null | UTF-8 | C++ | false | true | 41,945 | h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ProtoRotaryTable.proto
#ifndef PROTOBUF_ProtoRotaryTable_2eproto__INCLUDED
#define PROTOBUF_ProtoRotaryTable_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 2006000
#error This file was... | [
"chengpeng424@163.com"
] | chengpeng424@163.com |
b58c3f58f8c5b98d71a2511f30641219e91cc804 | 5902fa0857cd4f722a9663bbd61aa0895b9f8dea | /BMIG-5101-SequencesAsBioInformation/Blast/ncbi-blast-2.10.0+-src/c++/src/algo/blast/format/blast_async_format.cpp | 3fdedd3a2c2d399d9e99e438e3575974df4c3be6 | [] | no_license | thegrapesofwrath/spring-2020 | 1b38d45fa44fcdc78dcecfb3b221107b97ceff9c | f90fcde64d83c04e55f9b421d20f274427cbe1c8 | refs/heads/main | 2023-01-23T13:35:05.394076 | 2020-12-08T21:40:42 | 2020-12-08T21:40:42 | 319,763,280 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | cpp | version https://git-lfs.github.com/spec/v1
oid sha256:31baa59803d2dbd30b779d6a7840d1fbfc532f195cc3bf6203930a07594daabf
size 3806
| [
"shawn-hartley@sbcglobal.net"
] | shawn-hartley@sbcglobal.net |
83a846a790b0ca335eb5f9b3f7d82f01033ecdd2 | dfe7fd8d1b85c15aaa8cdba5486b16b54f4235b2 | /chapter11/drill/Test_output9.cpp | c7e7329bb6356c78d8b3b5ae0a0ccffa7fd1b50b | [] | no_license | bubbleinwater/cpp-ppp | 99ba305719fb6a6f2f3a938f0bece67f4c5b418d | e2dd225069303a34d7e8da0569e740b6ba9c0e60 | refs/heads/master | 2021-06-02T13:16:42.011663 | 2021-01-04T08:01:49 | 2021-01-04T08:01:49 | 85,021,070 | 1 | 0 | null | 2020-02-12T13:34:24 | 2017-03-15T02:45:04 | C++ | UTF-8 | C++ | false | false | 930 | cpp | /*
Q.--
Write some code to print the number 1234567.89 three times,
first using defaultfloat,next fixed,then scientific forms.
Which output form presents the user with the most accurate representation?
Explain why.
----
My answer
first defaultfloat one is going to be printed using only six digits and
the second fixed ... | [
"hiero.tone.88@gmail.com"
] | hiero.tone.88@gmail.com |
e5cc9182d102da901cdd3699041ce1fe3fab3ed6 | df7726c0bcd527868db9856b3a01c82bc658c131 | /SudaGureum/DB.cpp | 04d0b883fe161dea5a1abaf8ef7c6f54ed18efd1 | [] | no_license | nitric1/SudaGureum | 461ae3d4a1625be1d27a897d449ef57c85cac655 | 941bee8afb82daf8e485cda7fd64aef8d5f41377 | refs/heads/master | 2021-01-24T20:14:40.044899 | 2020-08-24T13:35:13 | 2020-08-24T13:36:17 | 14,141,263 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,299 | cpp | #include "Common.h"
#include "DB.h"
#include "Configure.h"
#include "Log.h"
namespace SQLite // SQLiteCpp custom function implementation
{
void assertion_failed(const char *file, long line, const char *func, const char *expr, const char *message)
{
#ifdef _DEBUG
auto &log = SudaGureum::Log::instance(... | [
"mail@nitric.me"
] | mail@nitric.me |
9d9b84b49cf61e2c5782f6a88286877f67f7a17b | 78054846318f3b4b962550816fa83daa05b7dcc8 | /first/main.cpp | 6ff4c729a16b0b0000d8137d9f28d7a5f5a4b880 | [] | no_license | anmolduainter/cLionProjects | 2ee6563900ed294254d7014df6698149aa2ed332 | 8186f13b6a79de23b97e8f03bbf043c4b8222208 | refs/heads/master | 2021-05-16T00:37:01.518370 | 2017-10-21T06:40:58 | 2017-10-21T06:40:58 | 106,949,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 91 | cpp | #include <iostream>
#include "bst.h"
using namespace std;
int main() {
Node a=Node();
} | [
"anmolduainter@gmail.com"
] | anmolduainter@gmail.com |
665bf05cfc2a55f7a6d728b7a0dda2570ad0341c | 711893e1624934c92488d8a95384713720620914 | /Software/agv/transport agent/trasportlayer/motor.h | 1b23a267ee94eef1b83ab3d56d012633fdf577f9 | [] | no_license | cepdnaclk/e16-3yp-smart-pharmaceutical-warehousing | ff563658bb12ac8a91c139836803ab6281c6828b | ea54414ce23ab3cab8b5eb77edb6cfbacd81d758 | refs/heads/main | 2023-05-27T16:31:21.822223 | 2023-05-23T12:18:38 | 2023-05-23T12:18:38 | 305,020,331 | 16 | 7 | null | 2023-05-19T12:33:19 | 2020-10-18T04:16:45 | JavaScript | UTF-8 | C++ | false | false | 2,701 | h | #include <TaskScheduler.h>
#include <PID_v1.h>
static char L_encoder = 0 ;
static char R_encoder = 0 ;
static char encoder = 0 ;
static double CL_vel = 0 ;
static double CR_vel = 0 ;
static char C_velc = 0 ;
double Setpoint, LOutput , ROutput ;
int i = 0 ;
PID motorL(&CL_vel, &LOutput, &Setpoint,2,0.5,1, DIRECT)... | [
"praveenbhananjaya@gmail.com"
] | praveenbhananjaya@gmail.com |
a90d0abd071fc24b14b450076c38f2fc1d7be809 | b5dc4329c72146a6900089e45f91a6842cf83166 | /Operation.hpp | 994afb1c2c912047f367a8ce47043c49735a383a | [] | no_license | lukasz-kukulka/Intouch_Games_Limited | 9f950c455b7933ae7c519be44053ddf356cbbcbe | a5dbf9a187c2bf36acac2b92c2589d973ddcaf79 | refs/heads/master | 2023-08-02T07:58:51.152450 | 2021-09-17T11:57:26 | 2021-09-17T11:57:26 | 407,424,388 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 145 | hpp | #pragma once
#include <string>
class Operation {
public:
virtual ~Operation() = default;
virtual int getResult() const = 0;
private:
}; | [
"qqla83@gmail.com"
] | qqla83@gmail.com |
0386d6eb69b3b09a65901a9c7b7b98f241dfd18b | ebe5357d2777d29950779ac8b8bb0b5e22405619 | /workarea/Analysis/FSFilter/FSFilter-00-00-00/src/FSFilter.cxx | 8c6f90dcbe819b399b25192f4b0d1414f7265729 | [] | no_license | redeboer/BOSS_IniSelect_ORIGINAL | 9ba45c5a20f2a5c8e4f6e1c23ce1fca289efce28 | b48291704f1b1df6a9953fd50689b9039f064815 | refs/heads/master | 2022-01-18T18:15:16.251103 | 2019-06-14T01:12:50 | 2019-06-14T01:12:50 | 179,392,775 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 75,987 | cxx |
#include <iostream>
#include <sstream>
#include "GaudiKernel/AlgFactory.h"
#include "GaudiKernel/Algorithm.h"
#include "GaudiKernel/Bootstrap.h"
#include "GaudiKernel/IDataProviderSvc.h"
#include "GaudiKernel/ISvcLocator.h"
#include "GaudiKernel/MsgStream.h"
#include "GaudiKernel/Property.h"
#include "EventModel/Eve... | [
"r.e.deboer@students.uu.nl"
] | r.e.deboer@students.uu.nl |
8d80c402a707064ae365d2e7aaa4e20fe1d9d579 | cd96666e1b57299f8544afaa294b7143ef25ad60 | /Source.cpp | b2585fafcd6bd834a4928e0b616808c598494bd4 | [] | no_license | KolololoPL/Arkanoid | d30ae82c3f9a3634f7453130f70077b3df7f1df6 | 421230e7620006e2bc6bdca2fa1c3d592e0d4719 | refs/heads/master | 2021-01-22T14:39:07.791470 | 2015-09-11T06:21:10 | 2015-09-11T06:21:10 | 42,291,392 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 728 | cpp | #include "MySDL.h"
#include "Arkanoid.h"
#include "EventHandler.h"
#include "CollisionHandler.h"
#include "BonusHandler.h"
#include "Config.h"
using namespace std;
int main(int argc, char *argv[]) {
MySDL* mySDL = new MySDL(WINDOW_WIDTH, WINDOW_HEIGHT, "Piotr Januszewski (Nr albumu 155079)");
EventHandler* event... | [
"piter.januszewski@wp.pl"
] | piter.januszewski@wp.pl |
7b6ee79fafb3b9f5a50887ca4cce964b0ec5899b | 991f950cc9096522cc8d1442e7689edca6288179 | /Luogu/P5000~P5999/P5205 【模板】多项式开根/1.cpp | 9588e7917732aaeaa4ba656017db2fd73572aae8 | [
"MIT"
] | permissive | tiger0132/code-backup | 1a767e8debeddc8054caa018f648c5e74ff9d6e4 | 9cb4ee5e99bf3c274e34f1e59d398ab52e51ecf7 | refs/heads/master | 2021-06-18T04:58:31.395212 | 2021-04-25T15:23:16 | 2021-04-25T15:23:16 | 160,021,239 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,785 | cpp | #include <algorithm>
#include <complex>
#include <cstdio>
#include <cstring>
#define invp(x) p((x), P - 2)
const int N = 3e6 + 63, P = 998244353, G = 3, GInv = 332748118, div2 = 499122177;
int p(int x, int y) {
int ret = 1;
for (; y; y >>= 1, x = 1ll * x * x % P)
if (y & 1) ret = 1ll * ret * x % P;
return ret;
}... | [
"4c5948@gmail.com"
] | 4c5948@gmail.com |
6c2533f459eb58d3e42cc89c2e3968aba4d1b586 | a81c07a5663d967c432a61d0b4a09de5187be87b | /android_webview/browser/gfx/task_queue_web_view.cc | a9e8994b9f3800a66f26501312fd23dc40aee87d | [
"BSD-3-Clause"
] | permissive | junxuezheng/chromium | c401dec07f19878501801c9e9205a703e8643031 | 381ce9d478b684e0df5d149f59350e3bc634dad3 | refs/heads/master | 2023-02-28T17:07:31.342118 | 2019-09-03T01:42:42 | 2019-09-03T01:42:42 | 205,967,014 | 2 | 0 | BSD-3-Clause | 2019-09-03T01:48:23 | 2019-09-03T01:48:23 | null | UTF-8 | C++ | false | false | 10,995 | 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 "android_webview/browser/gfx/task_queue_web_view.h"
#include <memory>
#include <utility>
#include "android_webview/browser/aw_feature_list.h"
#... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
57de8fe834d03a7dd2e25705fad450c8204f943e | 7dbf7e78281c6ef4f337ef3c4a8ad36bf3fb1fad | /C++ Libraries/HydroCAN/examples/get_can_readings/get_can_readings.ino | 433e47a5a47e0746ea0ea0d37c8d8b4e2087ea08 | [] | no_license | hydrometra/hydrocontest2018 | e711e95825130c40cf73d31b709c848a5778db2c | 614e7994d0f3e9adb79c70ff545a78f5abace0e9 | refs/heads/master | 2020-03-28T07:51:23.077900 | 2018-09-08T11:41:18 | 2018-09-08T11:41:18 | 147,927,719 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 861 | ino | #include <HydroCAN.h>
HydroCAN can;
void setup() {
Serial.begin(9600);
can.initialize();
}
void loop() {
can.update();
print_each(200);
}
void print_each(int ms) {
static unsigned long last_ms = 0;
if (millis() - last_ms >= ms) {
last_ms = millis();
Serial.print(can.getVoltage()); Serial.print('... | [
"nicolas.villegas@solenium.co"
] | nicolas.villegas@solenium.co |
98e48917315648abc18245a48883abd2b53a9228 | 4484e7be3db82c28588bd6e28c071f6f05dcab93 | /TebPlanner/TebPlanner/FootPrint.h | 28f34b2fb52ff3f18aa80e93bdcbe0bd91caee69 | [] | no_license | yinflight/LocalPlannerPaper | 714588ddb436624e8db586648b7eee2feed7c5a7 | ff531f9441ae308554f6c79c043a725bc99b882b | refs/heads/master | 2023-01-13T06:53:40.920098 | 2020-11-07T09:10:41 | 2020-11-07T09:10:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,181 | h | #include "type.h"
namespace TebPlanner
{
/**
* @brief The FootPrint class:This class defines the shape and size of robot
*/
class FootPrint
{
public:
/**
* @brief FootPrint:the default constructor
*/
FootPrint(){is_init_ = false;}
/**
* @brief FootPrint:another constructor to initialize th... | [
"3070823110@163.com"
] | 3070823110@163.com |
22de1917c14341d00c6e51d808c36fdff88b6832 | 4b047d1a02c9ac617d9a3514b179a5c4c33c1668 | /reg-lib/_reg_mutualinformation.cpp | 4043308d145fec164e2cbcb921a6dbbf5157c830 | [] | no_license | spedemon/niftyrec | 61b3239c834202bd665e885b742acc668caf62d3 | 3b3cf974bd25d1ae5c6ed493dcb2053a6df37aae | refs/heads/master | 2020-04-05T17:11:22.867350 | 2015-11-20T17:27:44 | 2015-11-20T17:27:44 | 157,048,470 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 31,598 | cpp | /*
* _reg_mutualinformation.cpp
*
*
* Created by Marc Modat on 25/03/2009.
* Copyright (c) 2009, University College London. All rights reserved.
* Centre for Medical Image Computing (CMIC)
* See the LICENSE.txt file in the nifty_reg root folder
*
*/
#ifndef _REG_MUTUALINFORMATION_CPP
#define _REG_MUTUA... | [
"stefano.pedemonte@gmail.com"
] | stefano.pedemonte@gmail.com |
e90f7cee0c1b01fa57e89f4b612cfe0f21dcd904 | a06a9ae73af6690fabb1f7ec99298018dd549bb7 | /GameServer/MonsterSetBase.h | 0ec9a1138375dd8cb0409592e13fd40c45bfd1ff | [] | no_license | longstl/mus12 | f76de65cca55e675392eac162dcc961531980f9f | 9e1be111f505ac23695f7675fb9cefbd6fa876e9 | refs/heads/master | 2021-05-18T08:20:40.821655 | 2020-03-29T17:38:13 | 2020-03-29T17:38:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,110 | h | #ifndef MONSTERSETBASE_H
#define MONSTERSETBASE_H
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "user.h"
enum eArrangeType
{
Arrange_NpcSpawn = 0,
Arrange_MultiMonsterSpawn = 1,
Arrange_SingleMonsterSpawn = 2,
Arrange_ElementalMonsterMultiSpawn = 3
};
typedef struct MONSTER_POSITION
{
BY... | [
"adm.fael.hs@gmail.com"
] | adm.fael.hs@gmail.com |
8b7ca0486c0c682befee424dea48b907ca344692 | cc1701cadaa3b0e138e30740f98d48264e2010bd | /chrome/browser/installable/installed_webapp_bridge.h | 79f7d64b69fff2879c43cc67ec47d4093349d637 | [
"BSD-3-Clause"
] | permissive | dbuskariol-org/chromium | 35d3d7a441009c6f8961227f1f7f7d4823a4207e | e91a999f13a0bda0aff594961762668196c4d22a | refs/heads/master | 2023-05-03T10:50:11.717004 | 2020-06-26T03:33:12 | 2020-06-26T03:33:12 | 275,070,037 | 1 | 3 | BSD-3-Clause | 2020-06-26T04:04:30 | 2020-06-26T04:04:29 | null | UTF-8 | C++ | false | false | 1,268 | 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 CHROME_BROWSER_INSTALLABLE_INSTALLED_WEBAPP_BRIDGE_H_
#define CHROME_BROWSER_INSTALLABLE_INSTALLED_WEBAPP_BRIDGE_H_
#include "base/callback.h"
#i... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
5563e3f8c05648271bd937aee6e9610d0d23fb90 | 0f2aafd92b12bd632cd94883e13af9aa6109b9c1 | /tools/riak_fastproto/riak.pb.h | bcd15c69afb1e95f021504e158201683ea1472fc | [
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause"
] | permissive | wmoss/diesel | dc4e702c5a05ac9ac7e305acc4915811e55764e5 | 1ef6fe582e25a6c8422e2bf142bf15976b026adc | refs/heads/master | 2021-01-21T00:38:56.114381 | 2012-01-26T19:49:35 | 2012-01-26T19:49:35 | 1,480,217 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 138,099 | h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: riak.proto
#ifndef PROTOBUF_riak_2eproto__INCLUDED
#define PROTOBUF_riak_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 2003000
#error This file was generated by a newer version of pro... | [
"jamie@bu.mp"
] | jamie@bu.mp |
44fead8fdcad27b80b95a6ab027741d065f5b240 | 96d2adca82149fea0d6f2c08139683630b8c6116 | /Client2D/Include/HK/UIHP.h | 9f93843983300e1c05abbc2d7a700845f474d9d3 | [] | no_license | kentsang45/Hollow2D | 847c39b7881644f88b3d56e128e872192f0753cc | 18c63318741ae8e3f31a528ac0235ceb1faa0e10 | refs/heads/master | 2022-06-12T16:14:32.862531 | 2020-05-04T16:38:19 | 2020-05-04T16:38:19 | 257,964,090 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 495 | h | #include "Object/GameObject.h"
enum HP_STATE
{
HP_NORMAL,
HP_BREAKING,
HP_EMPTY,
HP_END
};
class UIHP : public CGameObject
{
GAMEOBJECT_DEFAULT();
public:
UIHP();
~UIHP();
private:
class CUIAnimation* m_pUI;
bool m_bOn;
public:
virtual bool Init();
virtual void Begin();
virtual void Update(float fTime... | [
"crobbitlucy@gmail.com"
] | crobbitlucy@gmail.com |
df7e6a72d0b891b8d39ad148682c0c3172236f0f | d456b7d02dd6508356f703a290a265f1dbb67337 | /Task08/spaceship.h | 277a103ff5e5c503764b1b447ddaf9409fa5f3bf | [] | no_license | TheFlow0360/Grundlagen_Cpp | 5188bb2fee876493212d2aca2b899143461ea79c | 080ce5be9c00970303bea98340c2162e65bfe77e | refs/heads/master | 2020-05-20T04:10:38.898254 | 2016-01-24T12:37:45 | 2016-01-24T12:37:45 | 33,592,871 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 987 | h | #ifndef SPACESHIP_H
#define SPACESHIP_H
#include "target.h"
#define DEFAULT_HITPOINTS 25
#define DEFAULT_LASER_COUNT 2
#define DEFAULT_LAUNCHER_COUNT 0
class Spaceship : public Target
{
public:
Spaceship(std::string name, Position pos) : Target( name, pos, DEFAULT_HITPOINTS ), m_lasers(DEFAULT_LASER_COUNT), m_la... | [
"floriankochde@arcor.de"
] | floriankochde@arcor.de |
ef79a15048a8f1b6141e9a2bdd6ce7012ebf7b50 | 1f0656fd38f91dc1f39392705c1abc632441a58a | /hdl_grabber.cpp | 1afd1b5874f82f047e58f939bd422eb5ace5a35b | [] | no_license | wei-tian/pcap_to_pcd | e2c09b4b9346f675a9194e5119b3f46fb1f0c739 | 30efc94c39041ff7855a9aacd77349ff75d2fedc | refs/heads/master | 2022-02-22T10:53:04.223595 | 2019-10-07T04:53:57 | 2019-10-07T04:53:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,275 | cpp | /*
* Software License Agreement (BSD License)
*
* Point Cloud Library (PCL) - www.pointclouds.org
* Copyright (c) 2012-, Open Perception, Inc.
* Copyright (c) 2012,2015 The MITRE Corporation
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, a... | [
"dbworth@gmail.com"
] | dbworth@gmail.com |
d0b6698be69e61cda300c90a30a25cfa513667c7 | f78280b9a29b183134497aefe7001131501d4fae | /include/vm/FilePool.h | 4901b3079bcf6044b965904d007f7391e7cab53d | [
"MIT"
] | permissive | HugoGGuerrier/CPP_WOL | c073fdcf219ba391d1916846fdf9e7148195ef53 | 7eceb21c7e62f82ba98a0cae2782cfe546108114 | refs/heads/master | 2021-07-26T11:53:41.821695 | 2021-01-09T13:37:44 | 2021-01-09T13:37:44 | 268,039,332 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 367 | h | #ifndef CPP_WOL_FILEPOOL_H
#define CPP_WOL_FILEPOOL_H
#include <unordered_map>
#include <string>
#include "ast/Program.h"
/**
* This class contains all imported files and their AST to avoid importing multiple imports
*/
class FilePool {
private:
/**
* The map that associate files with their programs
... | [
"hugogguerrier@gmail.com"
] | hugogguerrier@gmail.com |
8b5fdb08f6710bcfe72cf00d9344ee86b2a5359e | ae7d565cfd616b94407f080241ddb2d3c5c55199 | /Queue/Dequeue/Dequeue.cpp | 7cef9ec64c35a713e7df322de91b1b476c92c39a | [] | no_license | nikshinde1996/Algorithms_DataStructure | 23bfd5a1d84cefd5af80949734e75d3392b39e64 | 3d5495333d5d5012eabc0f03ba26a3dce72eb43f | refs/heads/master | 2020-04-15T14:03:56.331079 | 2017-12-31T05:01:13 | 2017-12-31T05:01:13 | 57,287,508 | 7 | 5 | null | 2017-12-31T05:01:14 | 2016-04-28T09:17:02 | C++ | UTF-8 | C++ | false | false | 2,463 | cpp | /*
* Dequeue : Doubly ended queue.
*/
#include <iostream>
#include <iomanip>
#include <cstdlib>
#include <algorithm>
using namespace std;
template <class T> class Dequeue{
public:
struct node{
T data;
node *next;
}*head,*tail,*temp,*q,*t;
Dequeue();
~Dequeue();
node* newN... | [
"creativenikhil20@gmail.com"
] | creativenikhil20@gmail.com |
06bdf40fb07f02a5c1c8cb14bf39ec6aaad5ef4f | 6ec9136692ca432eb3c02255974c56f7c17bcfca | /Final Practical/Final Practical/AppClass.cpp | 8e6cf1e5b4771de54bc6f853fe52491f153e0219 | [] | no_license | MGMolnar/IGME309-2198 | 89dbeb3a96f98c5a18a9c624b8ee763fa5faa1bd | a32effa43af0ed675194c62e87683684a59eb5d9 | refs/heads/master | 2022-11-28T18:49:53.332808 | 2020-08-09T20:58:10 | 2020-08-09T20:58:10 | 272,563,626 | 0 | 0 | null | 2020-06-15T23:20:07 | 2020-06-15T23:20:06 | null | UTF-8 | C++ | false | false | 4,050 | cpp | #include "AppClass.h"
using namespace Simplex;
void Application::InitVariables(void)
{
//Set the position and target of the camera
m_pCameraMngr->SetPositionTargetAndUpward(
vector3(0.0f, 10.0f, 18.0f), //Position
vector3(25.0f, -10.0f, 0.0f), //Target
AXIS_Y); //Up
aStar = new AStar();
for (int i = 0;... | [
"Marc@MARC-PC"
] | Marc@MARC-PC |
8abdb28e2bbdd62aae069d11f6a17bc009ec5755 | 67ddedc825a4852349bb3e54f7d31cdeb34c64aa | /src/test/key_tests.cpp | 0a7b8087d4c81f65cb84ed5465c9a2e677fc6a88 | [
"MIT"
] | permissive | geranium-coin/geranium | 3500632ed8e666d30d1b28494b1b7b5003c18ecc | 93c08aa10ea151f4efd8337c1d5599ee7e8d58ea | refs/heads/master | 2022-07-28T21:28:55.717800 | 2022-01-10T17:30:13 | 2022-01-10T17:30:13 | 440,774,432 | 2 | 0 | MIT | 2022-01-04T08:33:10 | 2021-12-22T07:39:53 | C++ | UTF-8 | C++ | false | false | 9,227 | cpp | // Copyright (c) 2012-2019 The Geranium Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <key.h>
#include <key_io.h>
#include <uint256.h>
#include <util/system.h>
#include <util/strencodings.h>
#include ... | [
"manomay.jyotish.vadhuvar@gmail.com"
] | manomay.jyotish.vadhuvar@gmail.com |
6fb7d0c923bca5648833eadfc0f2974714ed7717 | 502003b246a62bab44ba954eb5792b5c2e75f911 | /Components/StoneTile.cpp | f3d86cd09566aec5d0ebca74b63f59e31ffa2a79 | [] | no_license | TrentSterling/Azurite | 82985e98120d1d017d60bd9cb49452b4bf4947f8 | 1f4216df0845ff780a5bd38094c1854d73f5d124 | refs/heads/master | 2021-01-20T23:03:54.942407 | 2012-08-27T02:14:10 | 2012-08-27T02:14:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 104 | cpp | #include "StoneTile.h"
using namespace Component;
StoneTile::StoneTile()
{
hasCustomized = false;
}
| [
"luke.metz@students.olin.edu"
] | luke.metz@students.olin.edu |
6a22d511495d27b5bf197eced0f3ed381322ea72 | cb0a6dcafd0a57a3f190e1a26c377d64f24659a9 | /cs_4/main.cpp | cc3b8906101802f9f5773a4ff2d407938ecf3b00 | [] | no_license | Frostman/yrin-practice | 833ecd2714aacafd8c1c4dc1e2aee19ee7b843a9 | ca23ace4803a98c4ca95157772000f7d38283042 | refs/heads/master | 2016-09-11T02:11:47.004399 | 2011-09-09T13:32:35 | 2011-09-09T13:32:35 | 1,520,903 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,174 | cpp | #include <stdlib.h>
#include <stdio.h>
#include <iostream>
#include <string>
#include <windows.h>
#include <conio.h>
using namespace std;
int main(int argc, char * argv[]) {
if(argc != 2) {
printf("Please specify path to .exe file\n");
_getch();
return 1;
}
std::string path = argv[1];
HANDLE hRead = Cre... | [
"me@frostman.ru"
] | me@frostman.ru |
bf446870049f0e82447dd2babe609cb19eb28526 | 944b7bedafaebd2a8c1295589b64992e99ee070f | /src/asyncrpcoperation.cpp | 683b9c718f0d80f927c622376f1d17c9ce9d2185 | [
"MIT"
] | permissive | litecoinz-core/litecoinz | 3edcf739496968e7af0eccf9497aebf7a563e858 | 73867bf443a309fad2a81491758527a80eb75c8c | refs/heads/master | 2022-03-02T04:37:58.582171 | 2022-02-06T16:26:13 | 2022-02-06T16:26:13 | 222,146,131 | 10 | 0 | MIT | 2022-02-06T16:26:14 | 2019-11-16T19:02:46 | C++ | UTF-8 | C++ | false | false | 5,217 | cpp | // Copyright (c) 2016 The Zcash developers
// Copyright (c) 2017-2020 The LitecoinZ Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or https://www.opensource.org/licenses/mit-license.php .
#include <asyncrpcoperation.h>
#include <boost/uuid/uuid.hpp>
#include <boost... | [
"team@litecoinz.info"
] | team@litecoinz.info |
418707f90370f5d8fbe5c61a384cc222a8b67497 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /third_party/webrtc_overrides/rtc_base/diagnostic_logging.h | 0838024a5137bee194449aa006c0262de8db6a58 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 5,129 | h | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_WEBRTC_OVERRIDES_WEBRTC_RTC_BASE_DIAGNOSTIC_LOGGING_H_
#define THIRD_PARTY_WEBRTC_OVERRIDES_WEBRTC_RTC_BASE_DIAGNOSTIC_LOGGING_H_
#in... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
50320295789d2503b54698313340be038c359b8b | 391701edc8b284c300fce8658e75e4e0b4d0c832 | /UVA11053_bad.cpp | 66566524697784edb597fad45b7da5d7c579b1cf | [] | no_license | TissueRoll/UVA-solutions | 746c10f1d13228e8354b53ef94069d5ad9e65465 | 71b05c5a9800ad981aead3b85dd2955729c24667 | refs/heads/master | 2023-03-21T16:16:09.272996 | 2020-08-26T03:24:41 | 2020-08-26T03:24:41 | 178,392,515 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 963 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int N = 500001;
const ll MOD = 2000000011;
bitset<N> is;
int pr[N], primes = 0;
void sieve() {
is[2] = true;
for (int i = 3; i < N; i += 2)
is[i] = 1;
for (int i = 3; i*i < N; i += 2)
if (is[i])
for (int j = i*i; j < N; j += i)
... | [
"christopher.dizon@protonmail.com"
] | christopher.dizon@protonmail.com |
d9995ca314a01e38fae05a738d09b794752d6a79 | 5838cf8f133a62df151ed12a5f928a43c11772ed | /NT/com/netfx/src/clr/fusion/utils/serialst.cpp | 58d62a394a8d402044bc25ac3a30c186fdd9ed9b | [] | no_license | proaholic/Win2K3 | e5e17b2262f8a2e9590d3fd7a201da19771eb132 | 572f0250d5825e7b80920b6610c22c5b9baaa3aa | refs/heads/master | 2023-07-09T06:15:54.474432 | 2021-08-11T09:09:14 | 2021-08-11T09:09:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,605 | cpp | // ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*++
Module Name:
serialst.cxx
Abstract:
Functions to deal with a serialized list. These are replaced by macros in
the retail version
Contents:
[InitializeSerializedList]
[TerminateSerialized... | [
"blindtiger@foxmail.com"
] | blindtiger@foxmail.com |
9ccb6a94442c9f5a2802eb3d2be1200718ca891d | 7af5bc48748d6076d67dd8d1f5ace51de2c26b23 | /src/qt/qtipcserver.cpp | 602e8d9cbd09df9a06fa1df37e5906fa3195196b | [
"MIT"
] | permissive | dazzlecoin/dazzle-master | 81010d6b3172f3e2c1138a199a11bbbca821a88b | b208b773458f4a1d04ef57b617a3835ed8ee714d | refs/heads/master | 2021-07-09T13:11:31.205838 | 2017-10-09T06:20:55 | 2017-10-09T06:20:55 | 106,244,005 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,923 | cpp | // Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <boost/version.hpp>
#if defined(WIN32) && BOOST_VERSION == 104900
#define BOOST_INTERPROCESS_HAS_WINDOWS_KERNEL_BOOTT... | [
"admin@coin.com"
] | admin@coin.com |
8b0674092b7f1051ee63d568f99eb98df51cf967 | 506200c1d3687da3593c5a7ca94ddd37d6359adf | /code/Q8_02_Robot_in_a_Grid.cpp | 70b3539c20ae6c43bb7b3075b6d9f6dc81d1399c | [] | no_license | macwoj/CtCI-6th-Edition-cpp | 2c30c82705f2abeb1e3e8ee4fa025f7c655055e2 | 05da732b646ab31b6689bc5e2c568e6c3e7ead95 | refs/heads/main | 2022-05-20T14:29:43.667746 | 2022-05-11T03:13:33 | 2022-05-11T03:13:33 | 441,525,257 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,004 | cpp | #include <vector>
#include <list>
#include <unordered_map>
#include <tuple>
#include <iostream>
using namespace std;
using pT = tuple<int,int>;
using gridT = vector<vector<bool>>;
using pathT = list<pT>;
struct hasher {
size_t operator()(const pT& p) const {
auto [a,b] = p;
return hash<int>()(a) ^ h... | [
"mwojton@bloomberg.net"
] | mwojton@bloomberg.net |
4daf0e1d3b2f0eecdbc7d3dd68a153337799b16e | 6ba264760680fdda43e5468802a49d03bd75691b | /Magic Passwords/trunk/magic1.h | e5478503303d1b33ede356aa1f47d1d833d461f5 | [] | no_license | Moneetor/bcf | 8bb3fc0a48130ea37968960f537b487d4f74759b | 586634954c66f72e2c5bee2e1f1e007f34a5db59 | refs/heads/main | 2023-08-28T11:31:14.186654 | 2021-11-12T15:43:10 | 2021-11-12T15:43:10 | 420,071,023 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,877 | h | //---------------------------------------------------------------------------
#ifndef magic1H
#define magic1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ComCtrls.hpp>
#include <Butto... | [
"moneetor@mon.net.pl"
] | moneetor@mon.net.pl |
3bde7361e63b8c966be72c1aec5d3a302e00cbdd | 05780fe9a74b116832611a35fce38fa24b4d4ffc | /madgraph/madgraph_binaries/Template/NLO/MCatNLO/include/LHEF.h | 3dfbd4aec5b8d83f290427ffebccf764ef6c2905 | [] | no_license | cesarotti/Dark-Photons | d810658190297528470abe757c4a678075ef48f6 | c6dce1df70c660555bf039a78765e4efbffb4877 | refs/heads/master | 2021-01-22T19:26:13.892225 | 2015-01-28T05:43:20 | 2015-01-28T05:49:54 | 20,692,647 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 61,763 | h | // -*- C++ -*-
#ifndef THEPEG_LHEF_H
#define THEPEG_LHEF_H
//
// This is the declaration of the Les Houches Event File classes.
//
#include <iostream>
#include <iomanip>
#include <sstream>
#include <fstream>
#include <string>
#include <vector>
#include <map>
#include <set>
#include <utility>
#include <stdexcept>
#inc... | [
"eyvind.niklasson@gmail.com"
] | eyvind.niklasson@gmail.com |
9b05178fee035f0e81aa01e830737dec5821dc99 | ce9eebc8ee834010dd6860f225b911cb4e586a51 | /httpdate.h | a29d17c87ed38b4dbed7b18dd29478f744a6508a | [] | no_license | lazerhawk/cloud-clock | 3ce4225ecae230e51a42514e1e94f9dc00bc9cc5 | a86e741609394544914b58b8506f8a5dc4fcf31b | refs/heads/master | 2020-07-25T07:04:51.193299 | 2018-07-12T09:33:51 | 2018-07-12T09:33:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,404 | h | /*
* Copyright (C) 2011 Sebastian Krahmer.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of c... | [
"sebastian.krahmer@gmail.com"
] | sebastian.krahmer@gmail.com |
8024da57e2120054ebf50780886524e86bb46474 | fb8b507984a7b61999a49175b9c82d79ab4d517a | /src/collision/sdf.cpp | b792d3fd0570b4bbb407c42297bc02e66ce6cb8f | [] | no_license | henrypc6/clothSim | 1e110508c39a27d84d216bfb97357a33f1db1499 | 7d2c4f7d5b8ef15f42c088db9da284c78e65f23a | refs/heads/master | 2020-03-16T03:10:02.615744 | 2018-05-09T04:14:06 | 2018-05-09T04:14:06 | 132,481,841 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 167 | cpp | #include "sdf.hpp"
double PlaneSDF::signedDistance(Eigen::Vector3d x) {
return (x - x0).dot(n);
}
Eigen::Vector3d PlaneSDF::normal(Eigen::Vector3d x) {
return n;
} | [
"peng0175@umn.edu"
] | peng0175@umn.edu |
5a81cb568320c8f316bccee28b15bae3b8175787 | 21cab7d193e6d74be36afc052906217443651fac | /Codeforces/A_448.cpp | 48a8070872b2db78c4ef2c254d17a73283de9be7 | [
"MIT"
] | permissive | ahakouz17/Competitive-Programming-Practice | 2d3e7887129298b850e5bfd7341b6cd103eb5766 | 5f4daaf491ab03bb86387e491ecc5634b7f99433 | refs/heads/master | 2020-09-28T02:59:36.450414 | 2020-01-01T11:33:07 | 2020-01-01T11:33:07 | 226,672,685 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 514 | cpp | #include <stdio.h>
int main()
{
int n, sum = 0, temp, shelves = 0;
for (int i = 0; i < 3; i++)
{
scanf("%d", &temp);
sum += temp;
}
shelves += sum / 5;
if (sum % 5 != 0)
shelves++;
sum = 0;
for (int i = 0; i < 3; i++)
{
scanf("%d", &temp);
sum... | [
"asma_hakouz@hotmail.com"
] | asma_hakouz@hotmail.com |
c0ce843f3e17fb754cb623c758473067c45fba40 | 39269519ef879716bbd9fef7b44e93b2432b82b6 | /src/qt/sendcoinsentry.cpp | cd16218b15a52a79d945c4a49e6d3e8cb4daba58 | [
"MIT"
] | permissive | SaltineChips/BNICoin | f5463fb75912ad3b8d9ba11a0b7f8d314b551e56 | ca5a0f216fa6c9b6f9f26d319b1eed9533391811 | refs/heads/master | 2020-06-04T18:16:19.054328 | 2018-05-26T20:25:40 | 2018-05-26T20:25:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,292 | cpp | #include "sendcoinsentry.h"
#include "ui_sendcoinsentry.h"
#include "guiutil.h"
#include "bitcoinunits.h"
#include "addressbookpage.h"
#include "walletmodel.h"
#include "optionsmodel.h"
#include "addresstablemodel.h"
#include <QApplication>
#include <QClipboard>
SendCoinsEntry::SendCoinsEntry(QWidget *parent) :
... | [
"bnicoin@mail.com"
] | bnicoin@mail.com |
2bdeedc2326e828a267528f35bb6aeeca679ec56 | bc84c328d1cc2a318160d42ed1faa1961bdf1e87 | /Tools/MultiThreading/code2/经典线程同步问题_Event.cpp | 7a02d8f6cb3afc3d5b6b1640e521f41daf0a45fa | [
"MIT"
] | permissive | liangjisheng/C-Cpp | 25d07580b5dd1ff364087c3cf8e13cebdc9280a5 | 8b33ba1f43580a7bdded8bb4ce3d92983ccedb81 | refs/heads/master | 2021-07-10T14:40:20.006051 | 2019-01-26T09:24:04 | 2019-01-26T09:24:04 | 136,299,205 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,706 | cpp |
// 用事件Event来尝试解决这个线程同步问题
// HANDLE CreateEvent(
// LPSECURITY_ATTRIBUTES lpEventAttributes,
// BOOL bManualReset,
// BOOL bInitialState,
// LPCTSTR lpName);
// 第一个参数一般传NULL
// 第二个参数确定事件是手动置位还是自动置位,TRUE表示手动置位,FALSE表示自动置位
// 如果为自动置位,对该事件调用WaitForSingleObject()后会自动调用ResetEvent()使事件
// 变为未触发状态
// 第三个参数表示事件的初始化状态,TRUE表示已触发... | [
"1294851990@qq.com"
] | 1294851990@qq.com |
179df3e92054e7a2cb81057d763102093047f6bd | b7fe6cba0b2a3cec0f1a0d030fced6b3ece93cc7 | /src/custom_modules/vasculature.cpp | fc2b2fe89e36d9e54ae6d1b04b29a796365ff24a | [] | no_license | furkankurtoglu/hypoxia19 | 00152c832f41aeebb5a6184bf96b9d759b890fbb | 50378a7caeda821201041be50e65d2ccdebbb615 | refs/heads/master | 2020-05-17T02:00:47.222870 | 2019-04-25T17:43:08 | 2019-04-25T17:43:08 | 183,442,888 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,248 | cpp | //
// vascularization.cpp
//
//
// Created by John Metzcar on 4/10/18.
//
#include "./vasculature.h"
#include "../core/PhysiCell.h"
#include "../modules/PhysiCell_standard_modules.h"
using namespace BioFVM;
using namespace PhysiCell;
#ifndef __vasculature_h__
#define __vasculature_h__
namespace PhysiCell{
... | [
"fkurtog@iu.edu"
] | fkurtog@iu.edu |
7d9829fdf23d1b1833706be3d53916465b5b996c | 187ce9d4df99208c3db0e44f3db6a3df4ce34717 | /C++/231.power-of-two.cpp | e634c9b1569a39a1f8b9c38b30fbb1f48192b31b | [] | no_license | zhoujf620/LeetCode-Practice | 5098359fbebe07ffa0d13fe40236cecf80c12507 | 8babc83cefc6722b9845f61ef5d15edc99648cb6 | refs/heads/master | 2022-09-26T21:49:59.248276 | 2022-09-21T14:33:03 | 2022-09-21T14:33:03 | 222,195,315 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 726 | cpp | /*
* @lc app=leetcode id=231 lang=cpp
*
* [231] Power of Two
*
* https://leetcode.com/problems/power-of-two/description/
*
* algorithms
* Easy (42.76%)
* Likes: 602
* Dislikes: 156
* Total Accepted: 270.3K
* Total Submissions: 631.9K
* Testcase Example: '1'
*
* Given an integer, write a function t... | [
"zhoujf620@zju.edu.cn"
] | zhoujf620@zju.edu.cn |
a7b394b9ae4ee147994589a4723be51c71dfee78 | 182d53d35ac39c3e971e1415f401d5c5fd5a8b4d | /source/linux/prime.hxx | ac672ec58c80518dceaa33f37dd55c98d0cd259b | [] | no_license | el-oscuro/psde | 6b901c0dec74a5ffd8df76b5a1ab5ba448cd7fd8 | 00e3b569682f86d3bb6a19ebf2b98839011d056f | refs/heads/master | 2022-12-01T06:15:38.010013 | 2022-11-30T01:08:47 | 2022-11-30T01:08:47 | 158,996,541 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,536 | hxx | //***************************************************************************** //13-06-15|0x001b
//***************************************************************************** //13-06-15|0x001b
// //13-06-15|0x0... | [
"mjwadams@gmail.com"
] | mjwadams@gmail.com |
1907672d424a68e2d55f3e6a721c37107962ad13 | 42528682bf4727cb4e7380cfad40b0fe09033220 | /system/dev/usb/usb-peripheral/usb-peripheral.h | fca5e5043ee2883a54c3722111cdc3bfa08cbb2a | [
"BSD-3-Clause",
"MIT"
] | permissive | vsrinivas/zircon | ab791322f7139fd7a2b0e89352f39b39ad97e49c | f7ea3ac681cf719bd79dfd8344a33e1128a11f5b | refs/heads/master | 2023-08-16T21:22:51.103045 | 2023-08-09T01:23:39 | 2023-08-09T01:23:39 | 167,029,710 | 3 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 9,778 | h | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#pragma once
#include <ddktl/device.h>
#include <ddktl/protocol/empty-protocol.h>
#include <ddktl/protocol/usb/dci.h>
#include <ddktl/protocol/usb/functio... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
304db0d325c5ac3bb04bb8c3bec95bfa347ac1b6 | 9cae31dc717c6067ae3bb5b9dec410e0dcf6fb4d | /winrt/lib/effects/generated/ShadowEffect.cpp | d47f16b37398e4f198ebae592b05f1873125054b | [
"Apache-2.0"
] | permissive | jakislin/Win2D | fc15770f00a0ff4a76531e119258649182c6b7ca | bb219cda968a878f468db499942e1f3e5d5c1622 | refs/heads/master | 2021-01-18T11:07:42.143293 | 2015-03-16T14:43:43 | 2015-03-16T19:11:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,819 | cpp | // Copyright (c) Microsoft Corporation. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may
// not use these files 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 applicab... | [
"shawnhar@microsoft.com"
] | shawnhar@microsoft.com |
07578f3a7fcfb1792ba8855076a5a3d2c07941e5 | 71e54596ab7082778da7223b5af4f52ff8a6e064 | /GameLib/Fleet.h | 1f9ccce8a3aaf2397cd249c7e9ad96538fb61870 | [] | no_license | efarriol/Practica-03 | a8434b432bebb805a16e3ac4e7efa8dfb4e3bb44 | 6d32d37b449c816b8bd467adf7d8371c35424867 | refs/heads/master | 2021-01-22T04:22:49.087721 | 2017-05-28T19:50:03 | 2017-05-28T19:50:03 | 92,455,028 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 726 | h | #pragma once
#include <Windows.h>
#include <SFML\Graphics.hpp>
#include <SFML\Network.hpp>
#include "Ship.h"
#include "Grid.h"
#include <iostream>
#define MAX_SHIPS 5
class Fleet
{
private:
Grid &grid;
std::vector<Ship> ships;
int shipCount = 0;
int shipType = 2; //shipType = 2 represents the big boat (ShipType e... | [
"eloi.farcris@gmail.com"
] | eloi.farcris@gmail.com |
e3e81087626b97bf7e47dbd761ba9d7f3460c856 | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/LArCalorimeter/LArG4/LArG4H8SD/src/H8CalibrationDefaultCalculator.cc | 7662c8a25d4007c52287bc4a93a3d1e98ec76a2e | [] | 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 | 10,316 | cc | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
// H8CalibrationDefaultCalculator
// prepared 22 s ep 2004 by G.Unal
// The calibration studies rely on every volume in the simulation
// being made into a sensitive detector. There is a practical
// problem: What if we're still in the ... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
3e23e8311aa207aeca32d9263613d558f8028ab3 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/inetsrv/iis/svcs/wp/sync/mdsync.hxx | 37d25bb3650c62f357478f7e3e778c060e8eca7e | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 18,486 | hxx | // MdSync.hxx: Definition of the MdSync class
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_MDSYNC_H__C97912DF_997E_11D0_A5F6_00A0C922E752__INCLUDED_)
#define AFX_MDSYNC_H__C97912DF_997E_11D0_A5F6_00A0C922E752__INCLUDED_
#if _MSC_VER >= 1001
#pragma once
#endif //... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
50697e6a1e27f83e72e8327debaf4f30f049f0b7 | c04c8ff0cf9943396545230395734ffb51381316 | /include/audio_codec.h | 00af4f64a5d22506b5f711670f130ab5c4f309d9 | [] | no_license | RTAndroid/android_device_hardkernel_odroidxu3 | f978e6d65eff8066114c358aa0457d87a8b3363f | 9dbfd3d46c0ddafec38e74759d6b2ac5f9fff8e6 | refs/heads/cm-12.1_5422 | 2021-01-09T07:10:59.864018 | 2015-07-06T21:06:30 | 2015-07-06T21:06:30 | 47,759,100 | 2 | 1 | null | 2015-12-10T12:02:25 | 2015-12-10T12:02:25 | null | UTF-8 | C++ | false | false | 2,391 | h | /*
** Copyright 2008, The Android Open-Source Project
**
** 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 applica... | [
"voodik.am@gmail.com"
] | voodik.am@gmail.com |
4fda9d7bce7a52a79e9b10632bc16f7e0132c82f | 4eddea9fee782e0d5ae1f9ca43326fd5de9cb053 | /Charts/WidgetCharts/modeldata/charttablewidget.cpp | 17f003ae68a7f05acf75969ff56ce722dfa026c8 | [] | no_license | joesGit15/Qt | b4bc1d6ad89958ad740dd0e6fcb85d6ad67b0f41 | 373679af75e3d2fc38512ed0c34dd6f6c5b947d7 | refs/heads/master | 2022-01-25T17:24:33.763192 | 2022-01-06T15:01:23 | 2022-01-06T15:01:23 | 100,150,203 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,408 | cpp | #include "charttablewidget.h"
#include "charttablemodel.h"
#include <QtWidgets/qtableview.h>
#include <QtWidgets/qgridlayout.h>
#include <QtWidgets/qheaderview.h>
#include <QtCharts/qchart.h>
#include <QtCharts/qchartview.h>
#include <QtCharts/qlineseries.h>
#include <QtCharts/qvxymodelmapper.h>
using namespace QtC... | [
"little_star13@163.com"
] | little_star13@163.com |
d33e1d87df5f928485d843e89977a0e1506c2bc5 | 929f5243e45e76bed48ab9e86b768261286d0458 | /src/qt/splashscreen.cpp | ee158f572b44f9191405ff578a2e45d1982ee986 | [
"MIT"
] | permissive | quishtv/QUISH | 19ac12bb52edbc8f8db1783c61fd439d43f2465a | 4a48136592a97e726234eda2ff2a48746c12d6eb | refs/heads/master | 2022-05-07T02:36:24.577218 | 2020-02-19T11:22:54 | 2020-02-19T11:22:54 | 241,603,363 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,691 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2019 The PIVX developers
// Copyright (c) 2020 The QUISH developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-lic... | [
"61221141+quishtv@users.noreply.github.com"
] | 61221141+quishtv@users.noreply.github.com |
0e60996bba27bedc8a0bd84daa1e56cf94713855 | afd1cdcd7c91247f4b7202ffab15e2ba513f95df | /EFI/CLOVER/kexts/Other/Lilu.kext/Contents/Resources/Headers/kern_api.hpp | 5aaa97625a5e3f32cebbfc88b28477477bb9b57b | [] | no_license | yunWJR/Hackintosh-deskmini-efi | 3665c7eedd4831bcaea0b62018c02a88eb386e5a | 1e15c73bc04fc1e0a74114a09a7257e4a86466e4 | refs/heads/master | 2021-06-20T21:49:17.884963 | 2018-11-05T01:59:44 | 2018-11-05T01:59:44 | 95,655,696 | 31 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 7,563 | hpp | //
// kern_api.hpp
// Lilu
//
// Copyright © 2016-2017 vit9696. All rights reserved.
//
#ifndef kern_api_h
#define kern_api_h
#include <Headers/kern_config.hpp>
#include <Headers/kern_patcher.hpp>
#include <Headers/kern_user.hpp>
#include <Headers/kern_util.hpp>
#include <stdint.h>
#include <sys/types.h>
#include... | [
"yun@yundeiMac.local"
] | yun@yundeiMac.local |
ce053f8200f6a549602040905b7f78cedcec3465 | 07b3bfd5fccf5eed4e24c73d134d67b9986c8a45 | /aooni/Classes/Native/Bulk_mscorlib_6.cpp | aea679477f6b70353a488c48803a6c2ff5b2e780 | [] | no_license | koromochu9999/AooniVR | 4fb3cde8da799a723a4b43c645b7332ed91763e3 | 363f79bd6bd35fe3a44d275de363df61d295b52c | refs/heads/master | 2023-02-20T08:51:46.695028 | 2018-06-13T07:10:29 | 2018-06-13T07:10:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,005,622 | 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>
// System.Security.Cryptography.KeyedHashAlgorithm
struct KeyedHashAlgorithm_t3076212156;
// System.Byte... | [
"yuuyuu1492daze@gmail.com"
] | yuuyuu1492daze@gmail.com |
e6312df70b48916a88dfd70429e8231b8450ed17 | b3c8d304006d6227d406aff4ce9b57a2a21c4eac | /DakaX_Arduino/DakaX/serialComLib.cpp | ad91a90aab696e321003f6c24337d51879b2c963 | [] | no_license | sndae/dakax | 6db28f33fa2816b1ac0db9d809d1115ba5a539b4 | 354ead0c28caca9a12fc8eb3cb7bf78e2f768286 | refs/heads/master | 2016-09-10T21:12:38.586475 | 2011-12-09T16:07:17 | 2011-12-09T16:07:17 | 38,289,928 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,521 | cpp | /* ----------------------------------------------------------------------------
* Serial Communication Lib
* ----------------------------------------------------------------------------
* serialComLib.cpp
* ----------------------------------------------------------------------------
* prog: max.rheiner@... | [
"mrn@paus.ch"
] | mrn@paus.ch |
e619ff72ab142dad19bfc9a734932447c560b060 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /chrome/browser/ui/views/bookmarks/bookmark_bar_view_test_helper.h | d349c5ff7b9849ef6463632f278439fa00a78f53 | [
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 1,130 | 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 CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_TEST_HELPER_H_
#define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_TEST_HELPER_H_
#in... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
b322b92b7506f5c2bc327d33a500afbd32ec548e | b95e1521f96f2a5ef032ee592974e4b2c39af582 | /5_lesson5/Lecture/5-2.cpp | c9d737c6fc9941c447172521d56cba9eedf4206a | [] | no_license | ck1001099-Teaching/cpp_course_2021summer | 8068618322ef19c1b3ec879673c94edd187c72b9 | 187f19f997461fea8cb4086fc81b2da9595a25dd | refs/heads/master | 2023-07-13T01:27:39.248373 | 2021-08-21T02:26:11 | 2021-08-21T02:26:11 | 392,313,556 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 376 | cpp | #include <iostream>
using namespace std;
int main(){
//num, ptr將一直存在直到該函數結束。
int num = 100;
int *ptr = #
//ptr2, ptr3 所指向的int位址是動態配置記憶體得到的
//可透過delete釋放記憶體
int *ptr2, *ptr3;
ptr2 = new int;
*ptr2 = 200;
ptr3 = new int(300);
//釋放記憶體
delete ptr2;
delete ptr3;
return 0;
} | [
"ck1001099@gmail.com"
] | ck1001099@gmail.com |
d69e6151b38a365e3adedd55ecf373911924de37 | 2b70160a64c9c6c4a7bdcc1e10eaf44412eef446 | /ZoloEngine/ZoloEngine/ResourceManager.h | 6579f6f300a0f06e4407f64342383dfe26838639 | [] | no_license | AZielinsky95/HanZoloEngine | 1bf3fda7e09bcb55e82bf7c4dc55c4610a1b7fa1 | 4396e4df8c4220af272bf3d8f86fc579e0336a0b | refs/heads/master | 2021-05-04T03:19:22.810455 | 2016-09-28T02:17:00 | 2016-09-28T02:17:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 348 | h | #pragma once
#include <string>
#include <vector>
template <class T>
class ResourceManager
{
public:
ResourceManager();
~ResourceManager();
void store(std::string &name, T& resource);
T get(std::string &name) const;
void remove(std::string &name);
typename std::vector<T>::iterator begin();
typename std::vec... | [
"azielinsky95@gmail.com"
] | azielinsky95@gmail.com |
96cbb302304519f4c902cb13f2c086c536cc8f86 | 0ee50dfbd3d610e576421ac8562bf62997fd2058 | /src/GTG_AO_switch_sim.cpp | 7dd9dce64a26d6912f3ddab72742aac068fc5a66 | [] | no_license | Zhanghq8/Turtlebot_PID_Controller | ce053b64bb766241738bb3bcd5a40f4516d15223 | db2b76c15b2970bebaaf0cd1ff64f4f95660c3fc | refs/heads/master | 2020-05-19T04:25:47.276957 | 2019-07-01T19:15:46 | 2019-07-01T19:15:46 | 184,825,716 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,806 | cpp | #include "turtlebot_pid/GTG_AO_sim.h"
GTG_AO_Sim::GTG_AO_Sim(ros::NodeHandle* nodehandle):nh_(*nodehandle)
{
// constructor
ROS_INFO("In class constructor of GTG_AO_Sim");
initSub(); // package up the messy work of creating subscribers; do this overhead in constructor
initPub();
setgoalpos();
... | [
"hzhang8@wpi.edu"
] | hzhang8@wpi.edu |
59eefcaea940841e8d88d08cc065e3bda64d6ded | 0262a846cbf861fca619d4f33bde7cead539eb68 | /src/demos/bspline_demo.h | 03ec4eb598a1ece89f1d2b6201a352551a395bdf | [] | no_license | sachavincent/B-Splines | 987c065562db9256d0f8d0fb3d932fdee3ce9e6c | c3415630be019ddf4a405ea28e9251aedde34164 | refs/heads/main | 2023-08-18T20:57:34.473612 | 2021-10-15T17:29:55 | 2021-10-15T17:29:55 | 417,583,017 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,086 | h | #ifndef BSPLINEDEMO_H
#define BSPLINEDEMO_H
#include <vector>
#include "demo.h"
#include "../camera.h"
#include "../bsplines/bspline.h"
#include "../bsplines/surface.h"
#include "../utils.h"
class BSplineDemo : public Demo {
public:
explicit BSplineDemo(int width, int height);
~BSplineDemo() override;
... | [
"sacha.vincent@univ-tlse3.fr"
] | sacha.vincent@univ-tlse3.fr |
cb7e428acc7e1fb03f7a58ccd3826b0ac3e465ec | c6881dbb2cb0aea8ac39c809aa5d339c9e15ac09 | /Blockchain-Test/pow_tests.cpp | 34bad4d5801b90d20c74e00acc92e5413edd06fe | [] | no_license | HungMingWu/blockchain-demo | d62afbe6caf41f07b7896f312fd9a2a7e27280c7 | ebe6e079606fe2fe7bf03783d66300df7a94d5be | refs/heads/master | 2020-03-21T22:33:38.664567 | 2018-10-01T10:12:40 | 2018-10-01T10:12:40 | 139,134,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,401 | cpp | // Copyright (c) 2015 The Bitcoin Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <catch2/catch.hpp>
#include "chain.h"
#include "chainparams.h"
#include "pow.h"
#include "random.h"
#include "util.h... | [
"u9089000@gmail.com"
] | u9089000@gmail.com |
0dd632dc00f92e3a31b63672f21fe29b5d638954 | 3c6ec86e5f4364327cbd89428d3ef69a7a007b21 | /LAVB1/Q2.cpp | 604fe9b961a44fa3e02f923d55f00e3ee24e59ef | [] | no_license | BatyrbekovKk/LAVB1-tech- | 61a0f73409c877dfcd202a0d58c4b8074f3fdfc1 | 97e138ba1828bbd8374f946432180401ffe89f38 | refs/heads/master | 2022-08-30T13:55:28.127140 | 2020-05-25T20:19:31 | 2020-05-25T20:19:31 | 266,872,563 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 767 | cpp | #include "Q2.h"
int Q2::fun()
{
int size = GetSize();
int* arr = new int[size];
int i = 0;
for (i = 0; i < size; i++) {
int save = pop();
arr[i] = save;
this->push(save);
}
int max = arr[0], min = arr[0], result;
for (i = 0; i < size; i++) {
if (max < arr[i]) {
max = arr[i];
}
}
for (i = 0; i < si... | [
"Kolya.batyr@outlook.com"
] | Kolya.batyr@outlook.com |
dc3760d4ebc5402c6d6e25d6e15b1c952c27b150 | 772d932a0e5f6849227a38cf4b154fdc21741c6b | /CPP_Joc_Windows_Android/SH_Client_Win_Cpp_Cmake/App/src/base/object/IWrappedValue.h | 4a9d783582b98a78936fcaac283269c0c84ee475 | [] | no_license | AdrianNostromo/CodeSamples | 1a7b30fb6874f2059b7d03951dfe529f2464a3c0 | a0307a4b896ba722dd520f49d74c0f08c0e0042c | refs/heads/main | 2023-02-16T04:18:32.176006 | 2021-01-11T17:47:45 | 2021-01-11T17:47:45 | 328,739,437 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,075 | h | #pragma once
#include <base/gh.h>
#include <base/exceptions/LogicException.h>
#include <memory>
#include <string>
#include <sstream>
class Color;
class Bounds2D;
class Vector3;
class Vector3Int;
class VisualValueConfig;
class MenuVisualAnimationProperty;
namespace base {
template <typename T>
class WrappedValue;
}... | [
"adriannostromo@gmail.com"
] | adriannostromo@gmail.com |
2c91008a798f8619a60f656d52717930ac13fbda | 155c4955c117f0a37bb9481cd1456b392d0e9a77 | /MMgc/AllocationMacros.h | d7222ca75e9fefb7663899cd10da9a47046b8e49 | [] | no_license | zwetan/tessa | 605720899aa2eb4207632700abe7e2ca157d19e6 | 940404b580054c47f3ced7cf8995794901cf0aaa | refs/heads/master | 2021-01-19T19:54:00.236268 | 2011-08-31T00:18:24 | 2011-08-31T00:18:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,282 | h | /* -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4 -*- */
/* vi: set ts=4 sw=4 expandtab: (add to ~/.vimrc: set modeline modelines=5) */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 ... | [
"mason@masonchang.com"
] | mason@masonchang.com |
8f58e03b74552f7b10b102e51909a50eee5c236e | d5ed8054e51064609d7419f2a5c353aae9c05a3d | /notebook/code/anglecmp_test/do_test.cpp | 281fa83045740b3b6c4d7c038ffb19e3f80281da | [] | no_license | sytranvn/contest_library | fb78656275e8796c6cabda0e59bdc383ca2d7922 | 8366247f7061d3b960a8dff030a69ed066efd734 | refs/heads/master | 2021-12-13T19:08:19.878001 | 2017-01-23T13:16:34 | 2017-01-23T13:16:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,161 | cpp | ostream& operator<<(ostream& out, const xy& a) {
out << "[" << a.x << "," << a.y << "] ";
return out;
}
template<typename T>
void assertSorted(const T& cmp, xy* begin, xy* end) {
for (xy* i = begin; i != end; i++) for (xy* j = begin; j != end; j++) {
if(cmp(*i, *j) != (i < j)) {
cout <... | [
"michal.glapa@gmail.com"
] | michal.glapa@gmail.com |
598d3e0ef4820cd566ca7e1b6dc5ea16280bbb7f | 7e07278c9bd41154c52b0521d33180b3bca8f7a4 | /ep-engine/src/dcp-response.cc | cab3ad738f28354551cb2697c268761ba74c5736 | [
"Apache-2.0"
] | permissive | DavidAlphaFox/couchbase | 690d3726873cc722045249c7368b3f8e8f0fac3d | 5767e4279efa683ae9dd9d6bc34343b2669934d8 | refs/heads/master | 2022-11-01T10:54:36.321777 | 2017-03-06T05:34:33 | 2017-03-06T05:34:33 | 47,865,016 | 1 | 1 | null | 2022-10-06T07:01:35 | 2015-12-12T05:02:27 | Erlang | UTF-8 | C++ | false | false | 1,478 | cc | /* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2014 Couchbase, Inc
*
* 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
*
* h... | [
"david.alpha.fox@gmail.com"
] | david.alpha.fox@gmail.com |
97090d16d8018e75462946df7957b4c8be7e8536 | 89ae4604ee19a051f135ddec312b823d57d46412 | /allegro-5.0/demos/a5teroids/src/.svn/text-base/BitmapResource.cpp.svn-base | 76bcbd6d2cefbc1414eb1c70063bd9ec1d1014cf | [
"BSD-3-Clause",
"Zlib",
"MIT"
] | permissive | fsande/PFC-2012-2013-EMIR-PedroHernandez | d51dee9c28bcf406e55462e1b229616e683a9419 | 2387a8e97ee399ae453f3f9e43e2dd1cb4c0cd4c | refs/heads/master | 2020-12-10T10:37:41.759951 | 2020-01-13T10:25:46 | 2020-01-13T10:25:46 | 233,567,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 637 | #include "a5teroids.hpp"
void BitmapResource::destroy(void)
{
if (!bitmap)
return;
al_destroy_bitmap(bitmap);
bitmap = 0;
}
bool BitmapResource::load(void)
{
al_set_new_bitmap_format(ALLEGRO_PIXEL_FORMAT_ANY_WITH_ALPHA);
al_set_new_bitmap_flags(ALLEGRO_MIN_LINEAR | ALLEGRO_MAG_LINEAR);
bitmap ... | [
"fsande@ull.es"
] | fsande@ull.es | |
6e9217d16e893395b46ea2d8ac9092297a3d7faa | 5c8a0d7752e7c37e207f28a7e03d96a5011f8d68 | /MapTweet/iOS/Classes/Native/System_Core_System_Func_5_gen2678275640.h | 0e9cd5532a74be31a767404e208099b61c112a65 | [] | no_license | anothercookiecrumbles/ar_storytelling | 8119ed664c707790b58fbb0dcf75ccd8cf9a831b | 002f9b8d36a6f6918f2d2c27c46b893591997c39 | refs/heads/master | 2021-01-18T20:00:46.547573 | 2017-03-10T05:39:49 | 2017-03-10T05:39:49 | 84,522,882 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 945 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// OnlineMapsMarker
struct OnlineMapsMarker_t3492166682;
// UnityEngine.Texture2D
struct Texture2D_t3542995729;
// System.String
struct String_t;
// System.IAsyncResult
struct IAsyncR... | [
"priyanjana@mac.com"
] | priyanjana@mac.com |
784d0c79479fffe71b1eca4e9f8477b387adc70a | 1c0e3803c88c7a1de0354d131552a0fbd50dbf72 | /src/froebelGui/froebelListBox.h | e83ac64bb0f83bd54b96f1a5227b03727140fd6f | [] | no_license | patriciogonzalezvivo/OFPlay | f9428c3fe34c9038e986ea2780e7bce969946a07 | 6a7a384e475f84aeea69f88ee8fc875a0f17b7dd | refs/heads/master | 2020-05-29T09:05:43.908779 | 2014-08-24T13:09:59 | 2014-08-24T13:09:59 | 6,993,256 | 12 | 0 | null | 2012-12-10T22:14:38 | 2012-12-04T02:40:52 | C++ | UTF-8 | C++ | false | false | 763 | h | //
// froebelListBox.h
// OFPlay
//
// Created by Patricio Gonzalez Vivo on 12/2/12.
// http://www.patriciogonzalezvivo.com
//
#ifndef FROEBELLISTBOX
#define FROEBELLISTBOX
#include "ofMain.h"
#include "froebelTextBox.h"
#include "froebelContainer.h"
#include "froebelFolderElement.h"
class froebelListBox : publi... | [
"patriciogonzalezvivo@gmail.com"
] | patriciogonzalezvivo@gmail.com |
0dcc7a82852f7b013f4db0d1922664a8e51ef72c | ba9322f7db02d797f6984298d892f74768193dcf | /cms/src/model/DescribeEventRuleRequest.cc | bec1314c7ec8b2ddc95968acfaac68c97990e2e6 | [
"Apache-2.0"
] | permissive | sdk-team/aliyun-openapi-cpp-sdk | e27f91996b3bad9226c86f74475b5a1a91806861 | a27fc0000a2b061cd10df09cbe4fff9db4a7c707 | refs/heads/master | 2022-08-21T18:25:53.080066 | 2022-07-25T10:01:05 | 2022-07-25T10:01:05 | 183,356,893 | 3 | 0 | null | 2019-04-25T04:34:29 | 2019-04-25T04:34:28 | null | UTF-8 | C++ | false | false | 1,156 | cc | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | [
"haowei.yao@alibaba-inc.com"
] | haowei.yao@alibaba-inc.com |
a4bdc32e0d9add02ee3929536282f04b1b3c9593 | 0a0ca545967a0e2db0419aa35eb63d40ae486011 | /src/Model/Clusterer.cpp | ab298ee124b096f3402799a4c7a4cd63dc246984 | [] | no_license | ukropj/VisualContent | 697f5328b177240a5b8a250ab4cf6f826b6c738a | 117668dbee5ad3aae3c106da3825d03fad74a518 | refs/heads/master | 2021-01-16T17:38:53.216238 | 2011-06-15T17:29:08 | 2011-06-15T17:29:08 | 974,190 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,292 | cpp | /*
* Clusterer.cpp
*
* Created on: 5.4.2011
* Author: jakub
*/
#include "Model/Clusterer.h"
#include "Model/Graph.h"
#include "Model/Node.h"
#include "Model/Edge.h"
#include "Model/Type.h"
#include "Model/Cluster.h"
#include <math.h>
#include <QProgressDialog>
using namespace Model;
Clusterer::Clusterer()... | [
"jukrop@gmail.com"
] | jukrop@gmail.com |
6b1b6de1940c5e4bb727d38c1ce63a3b995ddf62 | 2ba94892764a44d9c07f0f549f79f9f9dc272151 | /Engine/Source/Runtime/Slate/Public/Framework/Styling/EditableTextBoxWidgetStyle.h | e554eca7c33e1afddfa567546214da2ca5f4c4d7 | [
"BSD-2-Clause",
"LicenseRef-scancode-proprietary-license"
] | permissive | PopCap/GameIdea | 934769eeb91f9637f5bf205d88b13ff1fc9ae8fd | 201e1df50b2bc99afc079ce326aa0a44b178a391 | refs/heads/master | 2021-01-25T00:11:38.709772 | 2018-09-11T03:38:56 | 2018-09-11T03:38:56 | 37,818,708 | 0 | 0 | BSD-2-Clause | 2018-09-11T03:39:05 | 2015-06-21T17:36:44 | null | UTF-8 | C++ | false | false | 671 | h | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "SlateWidgetStyleContainerBase.h"
#include "EditableTextBoxWidgetStyle.generated.h"
/**
*/
UCLASS(hidecategories=Object, MinimalAPI)
class UEditableTextBoxWidgetStyle : public USlateWidgetStyleContainerBase
{
GENERATED_BODY()
publi... | [
"dkroell@acm.org"
] | dkroell@acm.org |
825fad9d760cd0080addeed04f94bdc927994f40 | c72fefb1d8dae03fdbc6138b67013e66cf6bb790 | /Квадратное уравнение.cpp | 7b0ed37fdd2c893b82fa2aa81f96cbf8e9dc9e7d | [] | no_license | Begasova/Begasova | 814ad80de40b7063a74394c63428d268a76b455d | d18d8cc5d3ad6992e48dd50a7483d1cbd99c6c6b | refs/heads/master | 2021-01-11T00:05:42.894185 | 2017-05-28T16:18:17 | 2017-05-28T16:18:17 | 69,178,540 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,141 | cpp | #include <iostream>
using namespace std;
int main()
{
double a, b, c;
cout << "Enter coeff." << endl;
cout << "a: ";
cin >> a;
if (a == 0)
{
cout << "Input error!" << endl;
system("pause");
return 0;
}
cout << "b: ";
cin >> b;
cout << "c: ";
cin >> c;
system("cls");
if (a>1)
{
cout << a << "*x ^... | [
"irinaevsei.ie@gmail.com"
] | irinaevsei.ie@gmail.com |
896ec8586f578eed9db63a551b8e8e75ea21ee00 | 4f3531026c2cc3d15e15f28388fa4d8c2320a9b3 | /C++ progrsmming/Chapter_05_Sorting/Quick.cpp | 298a53dc715605863ea0c7808984aa82994e6219 | [] | no_license | hmahmudul852/Programming | 29914e93b7c1c31c2270042e8c55009a32df4704 | 96f7457221b471539237d66f0cc1e335d793672f | refs/heads/master | 2021-01-11T15:45:22.029400 | 2019-08-11T03:30:25 | 2019-08-11T03:30:25 | 79,919,469 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 579 | cpp | #include<bits/stdc++.h>
using namespace std;
void Quick(int *ar,int l,int r)
{
int i=l,j=r;
int p=ar[(l+r)/2];
while(j>=i)
{
while(ar[i]<p)i++;
while(ar[j]>p)j--;
if(j>=i)
{
swap(ar[i],ar[j]);
i++;
j--;
}
}
if(l<j)
... | [
"hmahmudul852@gmail.com"
] | hmahmudul852@gmail.com |
896539b012e5d78d0d78f697721a3c9658698687 | 469e10e3bbc758c00e68e647ecc4c604622b8785 | /Method/Method/Compared_walktrap.cpp | efd8332ceb201a6df3478664c5b647e2cb1f3527 | [] | no_license | qqwqqk/AlgorithmCPI | a37127f8dcf4af7ab601e1e3cf8abd76d80b9d9e | 90d39dc62735252ae8b959e3a73fdfd107752303 | refs/heads/master | 2020-07-01T11:07:42.153443 | 2019-08-08T01:59:16 | 2019-08-08T01:59:16 | 201,156,961 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,683 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <igraph.h>
#include <string.h>
#define WALKTRAP_STEPS 0x4
int main(void)
{
//边存放的文件,空格分隔
FILE *edgeListFile, *ResultFile;
fopen_s(&edgeListFile,"Part_SR_AC_SingleGraphs.txt", "r");
fopen_s(&ResultFile, "Compared_AC_Walktrap.txt", "w");
igraph_t wbNetwork;
igraph... | [
"qqwqqk@shu.edu.cn"
] | qqwqqk@shu.edu.cn |
74e66b1540562fa34a14deb03a26b51e9ea2b178 | fef045bc10a8e029e83f954cc8dac2387f2084a5 | /3rdparty/7zpp/src/InStreamWrapper.cpp | b6bc5d0869c26ae13fdc58a748a0b62378cb44c5 | [] | no_license | wyrover/dll-wrapper-examples | db2d24ec7c0f2e696d6f4c6ad4fa168f517c0721 | 4b173821f804cf70868652600323df96848da8a5 | refs/heads/master | 2020-03-31T22:33:44.604675 | 2017-03-02T09:48:25 | 2017-03-02T09:48:25 | 83,626,854 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,138 | cpp | #include "stdafx.h"
#include "InStreamWrapper.h"
namespace SevenZip
{
namespace intl
{
InStreamWrapper::InStreamWrapper(const CComPtr< IStream >& baseStream)
: m_refCount(0)
, m_baseStream(baseStream)
{
}
InStreamWrapper::~InStreamWrapper()
{
}
HRESULT STDMETHODCALLTYPE InStreamWrapper::QueryInterface(REFI... | [
"wyrover@gmail.com"
] | wyrover@gmail.com |
53af483b95ab31416ebc8f610aa103b712e8f0e1 | 2858bca77f7dc4dc1c3174ea2fcd90e59b949a5a | /UVa 11152 - Colourful Flowers/sol.cpp | e605c2bed4396654bcc6fbbd519972b640a85501 | [] | no_license | smhemel/UVA-Online-Judge | 5d00068841dac66a34707ba5afb064a1ff2e40c5 | 7fd725fbda8dc042236f1f5e88e56d13cd85b90b | refs/heads/master | 2021-04-09T15:25:36.804703 | 2019-06-29T16:57:26 | 2019-06-29T16:57:26 | 125,705,211 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 684 | cpp | #include <stdio.h>
#include <math.h>
#define pi acos(-1)
int main()
{
double a, b, c, i, j;
double s, r_out, r_inside, area_triangle, area_circle_circum, area_inscribed;
while(scanf("%lf %lf %lf", &a, &b, &c)==3)
{
s = (a+b+c)/2;
area_triangle=sqrt(s*(s-a)*(s-b)*(s-c));
... | [
"sm_hemel@yahoo.com"
] | sm_hemel@yahoo.com |
4e116816a9542a49ac518e5a624fce99b7df8983 | 6a85ac6fffe6eeb63821c90c3f0085e1892ca56b | /octoberBlock/Plugins/Wwise/Intermediate/Build/Win64/UE4/Inc/AkAudio/AkAudioSession.generated.h | 2d2a1ee0620d9dadd0c6fb5e85388b602821d539 | [] | no_license | punk-off/snowShip | 0386f9f0d362d3b229be9a6a4933e76081b5cde2 | 2bb3add70a7bab65371e5201a2552565bbae80b6 | refs/heads/master | 2022-10-05T07:08:43.085261 | 2020-06-10T00:09:43 | 2020-06-10T00:09:43 | 269,730,954 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,226 | h | // Copyright Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
========================================================================... | [
"Cthulchu@yandex.ru"
] | Cthulchu@yandex.ru |
084b8a71d52e0dcdae3b7487f2a4f863b06bf4c5 | c983a7d121aab6765033b92a05b902f6dc210c5b | /src/utils/estimatedruntimejobqueue.h | ffb3545a2a703bc694cb15b65158278b0b1af47f | [] | no_license | AlvioSim/kentosim | d77ba87a1f6d3effe8790a30124ca8e0471f9955 | faf73a743438052d5d429af30119b8a4f8d5f66f | refs/heads/master | 2016-09-02T04:09:23.509625 | 2015-01-08T13:55:26 | 2015-01-08T13:55:26 | 28,967,899 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,792 | h | #ifndef UTILSESTIMATEDRUNTIMEJOBQUEUE_H
#define UTILSESTIMATEDRUNTIMEJOBQUEUE_H
#include <scheduling/job.h>
#include <utils/jobqueue.h>
#include <assert.h>
#include <set>
#define ESTIMATED_RT_JOB_Qt 1
using namespace std;
using std::set;
using namespace Simulator;
namespace Utils {
/**< Comparation operation of ... | [
"francesc.guim@gmail.com"
] | francesc.guim@gmail.com |
b56e077363c59626f769e60a5dbbcd793a75f4f1 | a1cfb326bbc57c11c0b3d196e8d9f00aaa3c1c81 | /Hackerrank/applesAndOranges.cpp | cd56f779bc3a8314ec26844c0afb65e048eb8700 | [] | no_license | MAlfanR/Competitive-Programming | 905bbef29524cfcb7b17fa8f66b964f597bc88d5 | ac9ef1ea8856d5c43d4630ef71b6641ccf42cc73 | refs/heads/master | 2021-07-03T04:28:51.782324 | 2020-09-22T05:24:41 | 2020-09-22T05:24:41 | 169,433,521 | 0 | 0 | null | 2019-11-21T06:30:55 | 2019-02-06T16:04:29 | null | UTF-8 | C++ | false | false | 2,395 | cpp | #include <bits/stdc++.h>
using namespace std;
vector<string> split_string(string);
// Complete the countApplesAndOranges function below.
void countApplesAndOranges(int s, int t, int a, int b, vector<int> apples, vector<int> oranges) {
int sum=0;
int sum1=0;
int x;
for(int i=0; i<apples.size(); i++){
x= a + appl... | [
"alfanriyadi25@gmail.com"
] | alfanriyadi25@gmail.com |
ca9d109e6a66ebe5c5d05465f1d082be20dbf8e3 | fdf6b5417ca8701824dd7562853e419633738391 | /ABC/ABC096/B.cpp | 6f597d5b08d65ad4fff09219ff99deb4c825c1fc | [] | no_license | canon4444/AtCoder | b2cdb61217c2cf9ba8c66cf703f8a6ad57e97a0e | 17c43cc10e25d2c7465b55e5cf7cf469bac7fd2b | refs/heads/master | 2021-05-22T08:54:40.428286 | 2020-11-08T17:39:11 | 2020-11-08T17:39:11 | 27,902,393 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 365 | cpp | #include <iostream>
#include <cmath>
using namespace std;
int main()
{
int A, B, C, K;
cin >> A >> B >> C >> K;
int ans = max(A, B);
ans = max(ans, C);
if( ans == A ) ans = A*pow(2, K) + B + C;
else if( ans == B ) ans = A + B*pow(2, K) + C;
else if( ans == C ) ans = A + B + C*pow(2, K);
... | [
"haruharu724@hotmail.com"
] | haruharu724@hotmail.com |
d23bb106058318b669665e01a8b7099bdb114b8a | cd396e0cf8ca525394702994bec7c66bcbad3c91 | /ChaptertA12_5(동적바인딩과 정적바인딩)/ChaptertA12_5.cpp | 6b4d44009d11c8de4f84a856293dbb7605597534 | [] | no_license | BlockJJam/MyCppStudy | c46794402be1186b60264724989c9a11b73ad1aa | 4d42683da7b2596df2a697283c1c1cd3141e71c6 | refs/heads/master | 2020-09-05T22:39:57.974222 | 2019-11-22T06:19:06 | 2019-11-22T06:19:06 | 220,233,812 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 787 | cpp | /*
동적바인딩과 정적바인딩
*/
#include <iostream>
using namespace std;
int add(int x, int y)
{
return x + y;
}
int sub(int x, int y)
{
return x - y;
}
int mul(int x, int y)
{
return x * y;
}
int main()
{
int op;
cin >> op;
int x = 2, y = 3;
int result;
// 정적바인딩 -> 성능 우수
switch (op)
{
case 0:
result = add(x, ... | [
"blockjjam99@gmail.com"
] | blockjjam99@gmail.com |
0dab91e12d94587f7837bb3452fa81e5c24b18aa | 2627c670695fc7e7ba129ae03da3f63f43a62a60 | /RoomBreak/Fmod.h | 77bb92365928aadae8a6f02b338e9cb99f041fa1 | [] | no_license | clamli/RoomBreak | aef4bc4f5736e32227242e423ec5ea27034c826b | 5723415d86a42c2c803edc869fc0d657efa2dce0 | refs/heads/master | 2020-03-27T22:57:59.905151 | 2019-05-17T20:26:03 | 2019-05-17T20:26:03 | 147,276,701 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 42,023 | h | /* ========================================================================================== */
/* FMOD Main header file. Copyright (c), FireLight Multimedia 1999-2001.
/*此部分代码参考网上!!!这部分代码主要不是自己实现的!!!!!!*/
/* ========================================================================================== */
#ifndef _FMOD_... | [
"boyizjuer2017@gmail.com"
] | boyizjuer2017@gmail.com |
e649c26952cbf019d5d174929eb1c3f79ed4ae15 | 14cb167d800ff88304338d995a664f7ec87e8c9f | /src/nbla/function/convolution.cpp | 8e0af4a438cbb6e6e2f8b9875818e0b05888a3ef | [
"Apache-2.0"
] | permissive | enomotom/nnabla | 4618ee7b5484d87a2cf2a526e0e5b27b75091835 | 1947fe16a0a41d19d76cd916f151aa1991ea1b44 | refs/heads/master | 2021-07-12T01:10:06.030174 | 2017-10-13T01:09:40 | 2017-10-13T01:09:40 | 107,018,396 | 1 | 0 | null | 2017-10-15T14:15:18 | 2017-10-15T14:15:18 | null | UTF-8 | C++ | false | false | 10,815 | cpp | // Copyright (c) 2017 Sony Corporation. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ... | [
"Takuya.Narihira@sony.com"
] | Takuya.Narihira@sony.com |
9ee5b8227591688e785089143b5816cc85f4e01a | 7415c2613352167cc02bdab2cf4bd3dc7bd45671 | /lum_p2.cpp | 35d5366fbdc1bfbc2d7ec65532e1fae6b27ecaf1 | [] | no_license | lilharry/cs373-proj2 | 48e11a1d16d0923bced129be76a65fdd60fb62f1 | c201dcf3d1434070a934eb41d34ddc53cb69f0b8 | refs/heads/main | 2022-12-25T22:46:40.596938 | 2020-10-03T02:22:01 | 2020-10-03T02:22:01 | 300,774,626 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,662 | cpp | #include <iostream>
#include <string>
using namespace std;
int main(int argc, char * argv[]){
if (argc != 3){
cout << "args should be gatedirections and input string" << endl;
exit(1);
}
string gates = argv[1];
string input = argv[2];
cout << gates;
for (long unsigned int i = 0; i < inp... | [
"lilharry221@gmail.com"
] | lilharry221@gmail.com |
2f3966846a29b285a15fa1361b34d5dd72c9c0bb | b0eecb618ae76484b3368cef8b28ca7ab3c4e556 | /chrome/browser/ui/webui/settings/md_settings_ui.cc | c72fa7f17982cb5d8ed5e36e0f1e35a9bb299059 | [
"BSD-3-Clause"
] | permissive | Chikdolman/Castanets | 733e6959ae28b81a8d5a77f869dd62957c1b1c2b | 620e7d42205619ee061dff77d0001c7e6a4d1a8d | refs/heads/castanets_63 | 2021-06-28T04:35:42.424423 | 2019-06-04T06:56:51 | 2019-06-04T06:56:51 | 183,328,181 | 0 | 1 | BSD-3-Clause | 2019-07-02T10:59:54 | 2019-04-25T00:51:09 | null | UTF-8 | C++ | false | false | 16,049 | cc | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/webui/settings/md_settings_ui.h"
#include <stddef.h>
#include <memory>
#include <string>
#include <utility>
#include "base/... | [
"suyambu.rm@samsung.com"
] | suyambu.rm@samsung.com |
cf63cb197dcf457c089350bf89081140e353786a | e82b166c7ad87494f9235c425d47e4b07f9dd50a | /torch/csrc/autograd/record_function.cpp | 624d4f2d08cacd424da0a2b919abed1881b87666 | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | lkskstlr/pytorch | ecb73f27f1f35963d5e8d7d693bdc6a8ca955bc1 | ca6441a397471f3278b7f50683c2cd5d53cd6dff | refs/heads/master | 2022-05-23T06:37:20.321028 | 2020-04-25T10:33:11 | 2020-04-25T10:33:11 | 258,746,769 | 1 | 0 | NOASSERTION | 2020-04-25T10:21:01 | 2020-04-25T10:21:00 | null | UTF-8 | C++ | false | false | 8,324 | cpp | #include <torch/csrc/autograd/record_function.h>
#include <torch/csrc/autograd/function.h>
#include <torch/csrc/autograd/profiler.h>
#include <torch/csrc/utils/memory.h>
#include <cstdlib>
#include <random>
namespace torch {
namespace autograd {
namespace profiler {
namespace {
float sample_zero_one() {
static thr... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
13a08e977506a36865bbf083f98d8a1f9dc44c16 | 0a1f8957a798006deaa53d10d09f733fab1e6b05 | /src/CyPhyToolbox/FormulaTraverse.cpp | 4b598cb5c3a8531adc6a9f65e8b071d9c7152747 | [
"LicenseRef-scancode-other-permissive"
] | permissive | metamorph-inc/meta-core | a89504ccb1ed2f97cc6e792ba52e3a6df349efef | bc7a05e04c7901f477fe553c59e478a837116d92 | refs/heads/master | 2023-03-07T02:52:57.262506 | 2023-03-01T18:49:49 | 2023-03-01T18:49:49 | 40,361,476 | 25 | 15 | NOASSERTION | 2023-01-13T16:54:30 | 2015-08-07T13:21:24 | Python | UTF-8 | C++ | false | false | 71,751 | cpp | #include "FormulaTraverse.h"
#include "EvaluateFormula.h"
//#include "CyPhyElaborate.h"
#include "UdmConsole.h"
#include "UdmApp.h"
#include "UdmUtil.h"
#include "UdmConfig.h"
#include "UdmFormatter.h"
#include "UdmGmeUtil.h"
#include <stdio.h>
#include <direct.h>
#include <string.h>
#include <algorit... | [
"kevin.m.smyth@gmail.com"
] | kevin.m.smyth@gmail.com |
50c9ba11af7e1f4f4f01043d35ac5bb8a46afddf | daabfcfe237456b3eefb044f1a9cc7806c8a9c6e | /AllegroAnimationSample/sprite_sheet.cpp | b6210c6851d9ca098a036f63620e6f47b643dd75 | [
"Apache-2.0"
] | permissive | ProFL/AllegroSampleAnimation | 6b2429a03822290eba7542b378af2bc4d1c5e8e7 | 8e81946a57052f6e03f3655fd6ccf71dff9a7cde | refs/heads/master | 2020-03-25T22:26:10.864422 | 2018-08-10T01:55:44 | 2018-08-10T01:55:44 | 144,223,056 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,046 | cpp | #include <allegro5/allegro.h>
#include <string>
#include "sprite_sheet.hpp"
using std::string;
sprite_sheet::sprite_sheet(const char* _sprite_path, const int _starting_x, const int _starting_y,
const int _sprite_width, const int _sprite_height, const uint16_t _spr_count)
: draw_flags(0), spr_count(_spr_count)
{
c... | [
"pedroflinhares@edu.unifor.br"
] | pedroflinhares@edu.unifor.br |
a5539f3b8d67b055bd55eab7fdb6f95a82ece357 | 6a67224e043dca98e2db03c0c8278a66de001704 | /pocl/include/clang/AST/DeclBase.h | da8b25b497b07585db9600a3e344efa96c411bb5 | [
"MIT"
] | permissive | yehudahs/OpenCL-Getting-Started | 10ca8bcb34702e59e0c80d1eb9da2f2703a182f0 | 9358e86da9fb4787d837594bc4322ab8c5a9a98d | refs/heads/master | 2022-11-30T23:18:33.234924 | 2020-08-06T11:42:02 | 2020-08-06T11:42:02 | 283,149,087 | 0 | 0 | NOASSERTION | 2020-07-28T08:25:21 | 2020-07-28T08:25:20 | null | UTF-8 | C++ | false | false | 94,506 | h | //===- DeclBase.h - Base Classes for representing declarations --*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"yehuda.s@nueroblade.ai"
] | yehuda.s@nueroblade.ai |
c3f3afa5002f24954f439c3389dc9bee2623dd21 | 75f1889405c0cd4c9d8756b0b4e3740c46e1ee52 | /11747.cpp | 7d58c169bbbc68d9bb1a8e6a0674e136a1452742 | [
"MIT"
] | permissive | abraxaslee/ACM-ICPC | 4156093d60eb0ac1dcddb660a75c814cc0e739b9 | d8db31a4a2a36258bfba42a806b02bbf3eceaf2b | refs/heads/master | 2021-09-09T10:32:36.828303 | 2018-03-15T07:48:04 | 2018-03-15T07:48:04 | 125,329,676 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,515 | cpp | //2012/02/12
//11747.cpp
//Run time: 0.008
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
struct EDGES{ int u, v, w; } es[25005], *a, *b;
int rank[1005], par[1005];
int V, E, said;
int cmp(const void *i, const void *j){
a = (EDGES *)i, b = (EDGES *) j;
return a->w - b->w;
}
int find_uni... | [
"leeyuhinleo@gmail.com"
] | leeyuhinleo@gmail.com |
6521f6c1e2799b5a4176adbe34412dfcdddc1bfe | ceea10d637d9fb08dc35dfa52702d952326a5a22 | /Src/UPOEngine/Core/UBound.h | 1313217e74bc741cded8c4e4daf1fd11c4e63cf6 | [] | no_license | UPO33/UPOEngine | d2c8594474ad60f80e15da46e791360aad652817 | e720755d93b86b0dd5ef6a8d879284042c7aba0d | refs/heads/master | 2020-09-27T01:21:30.674251 | 2017-03-03T07:48:43 | 2017-03-03T07:48:43 | 67,622,746 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,085 | h | #pragma once
#include "UPlane.h"
#include "UMatrix.h"
namespace UPO
{
struct UAPI alignas(16) AABB
{
Vec3 mMin, mMax;
AABB(){}
AABB(InitZero) { mMin = mMax = Vec3(0); }
AABB(const Vec3& min, const Vec3& max) : mMin(min), mMax(max) {}
static AABB MakeFromPoints(const void* points, unsigned numPoints, uns... | [
"abc0d3r@gmail.com"
] | abc0d3r@gmail.com |
bb4ec7c910c70387cbcbe0dd030f9e73158ebc05 | 1fea001ec1d935c30cd5927629cdcb51a7331f6c | /client-pc/source/AnimateButton.h | c5ce60207c089b9c1c4c3179610646dd88add3ef | [] | no_license | black0592/BlueClick | 5d884114b71f93de642df04ae4686a6bd5a1b1b0 | 5295f23b99ebe5f0aac793cf6e24274313fb1e9c | refs/heads/master | 2021-05-29T11:50:06.671785 | 2015-04-19T12:24:16 | 2015-04-19T12:24:16 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 6,619 | h | /***************************************************************************/
/* 类名:CAnimateButton */
/* (C)CopyRight www.cguage.com */
/***************************************************************************/
/////////////////////////////... | [
"zhangyongjun369@gmail.com"
] | zhangyongjun369@gmail.com |
347d14d75e172dfd3339ef3afb051218de5d173c | fa86389c80009665eb135fc1857c8c83bf442bbb | /CPP04/ex01/WrongAnimal.cpp | 491886bacbc242b46ada10d50841d23962cfbefb | [] | no_license | Gtaverne/41-CPP | 04a26a3281b311f28bb2fd55fdb3d134aa1ab070 | 4c7976fe8aa47e07c979430003677a032b8b71bb | refs/heads/master | 2023-08-30T03:34:33.566542 | 2021-10-16T19:53:21 | 2021-10-16T19:53:21 | 384,514,595 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 801 | cpp | #include "WrongAnimal.hpp"
//Canon
WrongAnimal::WrongAnimal(void) {
std::cout << "A new WrongAnimal has been created" << std::endl;
_type = "None";
}
WrongAnimal::WrongAnimal(WrongAnimal const &input) {
std::cout << "You copied a WrongAnimal" << std::endl;
*this = input;
}
WrongAnimal::~WrongAnimal(void) {
std:... | [
"gtaverne@e1r10p22.42.fr"
] | gtaverne@e1r10p22.42.fr |
b4008dce26eda64154fc7355e5a882bbe5cd09e9 | 5014f6ec4be806cfadc6a7eea9ba742d0494cc71 | /Semester2/Graph theory/Algorithms/Prufer/Prufer/main.cpp | bc773cb08ea59cfca0b85d39ceaeb560c87a631c | [] | no_license | bogdansimion31/University | 7900d34b1c8575fa5192f87d94d49982ba1432c4 | 47d71b894d6fb81907256bb0f439f048e65a089a | refs/heads/master | 2023-08-23T09:33:58.116224 | 2021-04-13T21:32:02 | 2021-04-13T21:32:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,997 | cpp | /*
* Supr* Prufer encoding and deconding algorithm
*/
#include <fstream>
#include <vector>
#include<algorithm>
#define pb push_back
#define NMAX 1000
using namespace std;
/* FILE DECLARATION */
/* ---------------- */
ifstream f("input.txt");
ofstream g("output.txt");
/* ---------------- */
/* DATA DECLARATION */... | [
"geo.badita@gmail.com"
] | geo.badita@gmail.com |
e4ef41c9b5cd4c0f3fc66578c0d68a1c52351dde | b5648642fd2e05589cab760a909ce1dc38556d5d | /touchGFX/TGFX-Framework-include/touchgfx/mixins/PreRenderable.hpp | 7b7abb8d36bafa6b5cf73d0f835cb41fd6c13293 | [] | no_license | sunklCoin/MCU | 862c8f8ee48872b3fc703d54c2d76bbb74cca1a4 | 9cc7a45fae3b18821c722f78d901034086ccc98c | refs/heads/master | 2021-07-14T00:58:51.259827 | 2017-10-16T14:12:55 | 2017-10-16T14:12:55 | 105,020,651 | 0 | 0 | null | 2017-10-16T14:12:56 | 2017-09-27T13:19:03 | C++ | UTF-8 | C++ | false | false | 5,894 | hpp | /******************************************************************************
*
* @brief This file is part of the TouchGFX 4.8.0 evaluation distribution.
*
* @author Draupner Graphics A/S <http://www.touchgfx.com>
*
******************************************************************************
*
* @sec... | [
"sunkl.coin@gmail.com"
] | sunkl.coin@gmail.com |
55542490292565775d9eb546efe622b97192aa46 | 7435c4218f847c1145f2d8e60468fcb8abca1979 | /Matiti/src/RigidBodyDynamics.cc | 0cb46d80278094b66d49369d507290efa435c5b6 | [] | no_license | markguozhiming/ParSim | bb0d7162803279e499daf58dc8404440b50de38d | 6afe2608edd85ed25eafff6085adad553e9739bc | refs/heads/master | 2020-05-16T19:04:09.700317 | 2019-02-12T02:30:45 | 2019-02-12T02:30:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,173 | cc | /*
* The MIT License
*
* Copyright (c) 2013-2014 Callaghan Innovation, New Zealand
* Copyright (c) 2015 Parresia Research Limited, New Zealand
*
* 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... | [
"b.banerjee.nz@gmail.com"
] | b.banerjee.nz@gmail.com |
57269a4bcb926cad51416d67b878712fc3e5bc49 | 4b4ad0481e9671e68c0f68c1824017def72f8bf3 | /AR-Application-Scherf_neu/Builds/Il2CppOutputProject/Source/il2cppOutput/Il2CppComCallableWrappers6.cpp | 38953fb6d8b4da336ddd78eed1e79b09b7e7215f | [] | no_license | Orkanelf/MRRemoteGuiding | 8ce2643faaa4940ae4c470993787d3835f605d8b | fdb2d48b9e14e25505a00fa3dfa611be36f4bae5 | refs/heads/master | 2023-07-31T15:39:41.015587 | 2021-09-18T16:27:37 | 2021-09-18T16:27:37 | 407,905,882 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,573,309 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "codegen/il2cpp-codegen.h"
#include "vm/CachedCCWBase.h"
#include "os/Unity/UnityPlatformConfigure.h"
#include "il2cpp-object-internals.h"
template <typename R>
struct VirtFuncInvoker0
{... | [
"50009504+Orkanelf@users.noreply.github.com"
] | 50009504+Orkanelf@users.noreply.github.com |
8a2b1fc8c111bba5898f786bb87f1a85afb9477d | 82fb691ff5d7314bf20b9fc10a395d699dbca9cb | /tests/quickiosunittests/tst_quickiosunittests.cpp | 9e3b1f401dc400ebe3b06a7dd3a068d620e4bca1 | [
"Apache-2.0"
] | permissive | toby20130333/quickios | 0cd2034efba0dbe7bddf0771f957c2b3ef6cf2ce | b0078e785cfa66a13daac1a1ff824a34aa637061 | refs/heads/master | 2020-12-25T01:51:38.037688 | 2015-09-05T10:28:51 | 2015-09-05T10:28:51 | 42,095,370 | 1 | 0 | null | 2015-09-08T06:55:52 | 2015-09-08T06:55:51 | null | UTF-8 | C++ | false | false | 2,184 | cpp | #include <QString>
#include <QtTest>
#include <QCoreApplication>
#include <QQmlEngine>
#include <QQmlComponent>
#include "quickios.h"
class QuickIOSUnitTests : public QObject
{
Q_OBJECT
public:
QuickIOSUnitTests();
private Q_SLOTS:
void initTestCase();
void cleanupTestCase();
void resourceLoading... | [
"xbenlau@gmail.com"
] | xbenlau@gmail.com |
9ca99fee155c20d4c2a8e15ebb2dab8500e5f30b | 75e49b7e53cf60c99b7ab338127028a457e2721b | /sources/plug_wx/src/luna/bind_wxTopLevelWindow.cpp | 35e082d9d720a1bc4af946d104a4b1f2e59cb156 | [] | no_license | roche-emmanuel/singularity | 32f47813c90b9cd5655f3bead9997215cbf02d6a | e9165d68fc09d2767e8acb1e9e0493a014b87399 | refs/heads/master | 2021-01-12T01:21:39.961949 | 2012-10-05T10:48:21 | 2012-10-05T10:48:21 | 78,375,325 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 46,498 | cpp | #include <plug_common.h>
class luna_wrapper_wxTopLevelWindow {
public:
typedef Luna< wxTopLevelWindow > luna_t;
// Derived class converters:
static int _cast_from_wxObject(lua_State *L) {
// all checked are already performed before reaching this point.
wxTopLevelWindow* ptr= dynamic_cast< wxTopLevelWi... | [
"roche.emmanuel@gmail.com"
] | roche.emmanuel@gmail.com |
52e5cde410fd39b79e6817fce2173cb5ebb6b2d0 | c17b8eb06fb137def535de02c2cd88ea04f2dadf | /dev/src/util/status.cc | a3efa57f242449485c3b32a6d696108cecb1d8a7 | [] | no_license | DotStarMoney/TLG | 8acfc447b149b7ca880e131e6b911d0ea2da54df | 6fcbf9351a17d8939ccb1cdd45741718c4044067 | refs/heads/master | 2021-05-08T00:57:13.371980 | 2018-12-04T05:57:01 | 2018-12-04T05:57:01 | 107,836,860 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,332 | cc | #include "util/status.h"
#include "absl/strings/str_cat.h"
namespace util {
Status::~Status() { MaybeDereference(handle_); }
Status::Status() : handle_(nullptr) {}
Status::Status(const Status& status) : handle_(status.handle_) {
MaybeReference(handle_);
}
Status& Status::operator=(const Status& status) {
if (... | [
"Batterybat@gmail.com"
] | Batterybat@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.