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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d679c47d99158c8135a39e052451b79ca30f2df6 | fb0877ea902ad5b8f4367c06c29c41aa4a244bdf | /C++/C++/Locks/main.cpp | b44e2012b79b5a58016b05a7ccd8d52e00418812 | [] | no_license | tmantock/C-Programming | 84749f4fde916f66710ea28cfce069e707d70e0a | 0b45868815411c52ef5fb34d34f75072f5ec1538 | refs/heads/master | 2020-06-13T20:15:10.495470 | 2018-01-01T16:42:11 | 2018-01-01T16:42:11 | 75,557,994 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 494 | cpp | //
// main.cpp
// C++
//
// Created by Tevin Mantock on 1/1/18.
// Copyright © 2018 Tevin Mantock. All rights reserved.
//
#include <thread>
#include "Stack.hpp"
using std::thread;
void worker_thread(Stack*);
int main() {
Stack* stack = new Stack();
thread worker(worker_thread, stack);
cout << "In ... | [
"tmantock@gmail.com"
] | tmantock@gmail.com |
0ed91875a7a71628106d014bbc2fb1ad9c8d2692 | 0ce3e61991a8ed344c7ce68d2e8d65803cb53930 | /include/spaic/detail/Message.hpp | cf523bd570c27700c0e37165622a4672700fe0bb | [
"MIT"
] | permissive | devroom-org/spaic | 0f7a03b629ddc128db8479104853630a6b4a8dad | f206105ea1abf0560808073d41f4477876f30923 | refs/heads/master | 2021-01-07T06:25:30.076692 | 2020-03-17T13:46:14 | 2020-03-17T13:46:14 | 241,606,051 | 3 | 1 | MIT | 2020-03-17T13:46:15 | 2020-02-19T11:34:44 | C++ | UTF-8 | C++ | false | false | 379 | hpp | #pragma once
#include <tuple>
#include <spaic/Message.hpp>
namespace spaic::msg
{
template <typename... T>
Message<T...>::operator bool()
{
throw "TODO: Message::operator bool()";
}
template <typename... T>
template <size_t I>
typename std::tuple_element<I, std::tuple<T...>>::type Message<T...>::get()
{
thr... | [
"public.ranolp@gmail.com"
] | public.ranolp@gmail.com |
0ba2a321445ed9b3f249f0d64e84b6c5bb099bc5 | b7903075d5a2906d922d9a2abc73c41477a708df | /C++ Overview/static.cpp | 1d95018fa62919c0a5060db531beea9721a723ab | [] | no_license | zhanglizeyi/LeetsP | 43f3796f71a2cb08931fa470dd40b9685a89cc49 | 3d7911fb5f4e93b6934c9416f2b15cec5c44b73e | refs/heads/master | 2021-01-10T01:44:56.471489 | 2019-02-19T02:47:32 | 2019-02-19T02:47:32 | 46,373,097 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 120 | cpp | #include <iostream>
extern int count;
void write_extern(void) {
std::cout << "Count is " << count << std::endl;
}
| [
"zhanglizeyi@gmail.com"
] | zhanglizeyi@gmail.com |
2279afd22ca9c53258ed764cccea0c30d50dc1db | 6baeabbc7383a69e25bcc0f869783d0708d75497 | /source/Windows/DxGraphicsWin.cpp | 675a242428de0c0312e30840ba34ba2a75017cef | [] | no_license | Itsuki-Mekaru/DxLib | 56e8c81da2840417c918acf9aa0c6d51dfe66236 | c70a253bb05380e62ddd851d09a5657dfcec228e | refs/heads/master | 2021-12-11T22:42:06.232245 | 2016-11-27T16:56:06 | 2016-11-27T16:56:06 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 138,469 | cpp | //-----------------------------------------------------------------------------
//
// DXライブラリ WindowsOS用描画処理プログラム
//
// Ver 3.16d
//
//-----------------------------------------------------------------------------
// DXライブラリ作成時用定義
#define __DX_MAKE
#include "DxGraphicsWin.h"
#ifndef DX_NON_GRAPHICS
// インクルード... | [
"yume-wikijp@live.jp"
] | yume-wikijp@live.jp |
c185227a31b69af66330565faa30a78744ae18d7 | c79ac2abb6b3720b4ef71a93e570cde91ef1a152 | /test/unit/test_system.cc | 6a41e69f75e0efb9fb4522ec3b44b5d3c886a41a | [] | no_license | harperic/hoomd-blue | 810590b817875ef6787b87c5d1896a7bc1fb0d29 | bb901438c1249aa2de1e32a293818efeb23e8c86 | refs/heads/master | 2020-04-14T19:46:53.787982 | 2013-08-26T19:34:47 | 2013-08-26T19:34:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,490 | cc | /*
Highly Optimized Object-oriented Many-particle Dynamics -- Blue Edition
(HOOMD-blue) Open Source Software License Copyright 2008-2011 Ames Laboratory
Iowa State University and The Regents of the University of Michigan All rights
reserved.
HOOMD-blue may contain modifications ("Contributions") provided, and to which... | [
"joaander@umich.edu"
] | joaander@umich.edu |
fc7fab444e1e32ec180f44b9be11840af95cf4c4 | 5d193c2a6645e1d6bc0fb92d9b6282563a982084 | /Chapter2/Excercises/2_1_4.cpp | 96f79450a83a4c7d3e66f24c043935070d07c12e | [] | no_license | Itachi1999/CLRS_Codes | c38b30dc7351f230bdf5c0381b89752474cbc6b3 | 4f56e393a8d0051d461eece43e2ef671f98f2a67 | refs/heads/master | 2022-12-30T02:12:40.717843 | 2020-10-17T18:25:58 | 2020-10-17T18:25:58 | 299,703,957 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,002 | cpp | //Taking n = 5 to save time, you can take any number
#include<iostream>
void add(int *A, int *B, int *C, int n)
{
int temp = 0, carry = 0;
for (int i = n - 1; i >= 0; i--)
{
temp = A[i] + B[i] + carry;
if(temp < 2)
{
C[i + 1] = temp;
carry = 0;
}
... | [
"nasipurisoumya@gmail.com"
] | nasipurisoumya@gmail.com |
69f2745845f0ff6f76d4aa14e6ad1a053c52c958 | 8924b4c034446c05c5d27c45c5af65064b99ff2c | /revolve_old/cpp/revolve/gazebo/sensors/VirtualSensor.cpp | 209816bf90a7e7582024b8af3021b83d6cb52043 | [
"Apache-2.0"
] | permissive | stefelmanns/EC_track_B | ca69fbc1f139e4a5aa1322c405605aef4095a770 | 751301d92486015b0fe27a9854ff8f5c10d5148a | refs/heads/master | 2022-01-07T18:00:27.384479 | 2018-11-27T13:46:05 | 2018-11-27T13:46:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,470 | cpp | /*
* Copyright (C) 2017 Vrije Universiteit Amsterdam
*
* Licensed under the Apache License, Version 2.0 (the "License");
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is... | [
"lukaskiss222@gmail.com"
] | lukaskiss222@gmail.com |
6e6c81bf2b43d3e34761098948aa4564f1ea49f7 | 3bd7a9b663b83b9c1e7f7a3190b17089492b64b1 | /Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/CardinalMenu/Inc/AdvancedSteamSessions/SteamRequestGroupOfficersCallbackProxy.generated.h | cb811b7b1ace24acd12889b1372300507380fb73 | [
"MIT",
"CC-BY-4.0",
"Apache-2.0"
] | permissive | piandpower/CardinalMenu422_STEM | 9500b208c3060d6657073393bc209696f69719dd | f07c179a5929461b6aefc7ffd9e4f2a9f696ed5e | refs/heads/master | 2020-05-30T10:05:10.545960 | 2019-05-31T22:02:28 | 2019-05-31T22:02:28 | 189,663,078 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,453 | h | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
==============================================================... | [
"i.synapse@gmail.com"
] | i.synapse@gmail.com |
c00fca5b1cd74dfc4fd8ae593472913266bf00e2 | 14e27ce565b76e6211698580cff5a14a56a19b6a | /base_local_planner_test/src/simple_scored_sampling_planner.cpp | 8bd215d8bfc68552b2ee222c92a4776e71817499 | [] | no_license | Forrest-Z/navigation_no_ros | 85fb692a42e7e3a2f6b4a6e1ad9efbbe23792012 | bec879b8eb2e8980e174f1df0f488a8181294171 | refs/heads/master | 2020-03-21T05:19:28.500593 | 2017-09-03T16:45:21 | 2017-09-03T16:45:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,587 | cpp | /*********************************************************************
*
* Software License Agreement (BSD License)
*
* Copyright (c) 2008, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the follow... | [
"ching-heng.wang@alibaba-inc.com"
] | ching-heng.wang@alibaba-inc.com |
b32712f667e116a96ff14e7f1b411a66abebd243 | a7c3e448b01067d08c73ad2a25ac0e61f4b41ff3 | /path-tracer/hittable.h | 7bb1d96de10c1dd08c0e223fe1c80b666ac52764 | [] | no_license | floak/render | df7f9f32e89ba9af00a8fde7c863fa502e388e34 | 8fa84d0b766e00c25a5f0f5972774540745e7442 | refs/heads/main | 2023-05-31T00:14:16.803296 | 2021-05-31T08:47:01 | 2021-05-31T08:47:01 | 372,431,997 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,088 | h | #ifndef __HITTABLE_H__
#define __HITTABLE_H__
#include "ray.h"
#include "aabb.h"
class material;
struct hit_record {
vec3 p;
vec3 normal;
material* mat_ptr;
double t;
double u;
double v;
int uu;
int vv;
bool front_face;
void set_face_normal(const ray& r, const vec3& outward_norma... | [
"noreply@github.com"
] | floak.noreply@github.com |
18fe84d6ec5be533347c84c89bb429b82a164fb8 | 562e7b3677f12fdf03bd4e7d7e6f5abb5d9f1cfa | /Chapter_8/exe_6.cpp | 54b1d4385deddf13fc34f52de908079509a62282 | [] | no_license | iLoveTangY/CppPrimerAnswers | e238a86bb1cd2035a584e3ca233614e41ac170a0 | 55f75f694806aec7468d9317ae71307e2a18b5c1 | refs/heads/master | 2021-01-20T00:45:23.960193 | 2017-07-29T03:23:23 | 2017-07-29T03:23:23 | 89,180,755 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 777 | cpp | #include "../Chapter_7/exe_26.h"
#include <iostream>
#include <fstream>
using namespace std;
int main(int argc, char **argv)
{
if(argc != 2)
{
cerr << "Plz give a file name." << endl;
return -1;
}
ifstream in(argv[1]);
if(!in)
{
cerr << "Can't open file." << endl;
... | [
"ytang007@163.com"
] | ytang007@163.com |
81c636d0a6c62c9b324d5f0dbafabc6e14bd3a0c | 4ade8af85dd1bae6c4f1e7b605c3f23ab556f2a6 | /attackTrial/guest.cpp | 1f30f3cf71791c3f51d53d7ab01cb103251a2d5a | [] | no_license | aman0456/Architecture-Project | 3d7207de90e986db0086398a25adde3519c23804 | 947a6fa362108391f099cd527a6b3a71dfd967f0 | refs/heads/master | 2020-04-21T06:54:32.410642 | 2019-08-07T14:05:08 | 2019-08-07T14:05:08 | 169,378,393 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,112 | cpp | #include <bitset>
#include <iostream>
#include <stdio.h>
#include <assert.h>
#include <fcntl.h>
#include <linux/kernel-page-flags.h>
#include <stdint.h>
#include <sys/sysinfo.h>
#include <sys/mman.h>
#include <unistd.h>
#include <string.h>
#include <time.h>
#include <stdlib.h>
#include <map>
#include <string>
#include ... | [
"amanb@sl2-5.cse.iitb.ac.in"
] | amanb@sl2-5.cse.iitb.ac.in |
6cd4786cb0f7729ad83ca4cde296377ee386017e | 4e3c4f30415062da425ad3058a0c1fed167e961e | /interview/08.11.cpp | 45e0f10353b4b3ba0f7d86c8cca3f8308177c217 | [] | no_license | jing-ge/Jing-leetcode | 7f423d94d3983076630f33e7205c0ef6d54c20d8 | ae428bd3da52bb5658f3a25fbbd395b24552a735 | refs/heads/main | 2023-08-22T12:19:12.861091 | 2021-09-29T03:15:24 | 2021-09-29T03:15:24 | 321,316,029 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,058 | cpp | // 面试题 08.11. Coin LCCIGiven an infinite number of quarters (25 cents), dimes (10 cents), nickels (5 cents), and pennies (1 cent), write code to calculate the number of ways of representing n cents. (The result may be large, so you should return it modulo 1000000007)
// Example1:
// Input: n = 5
// Output: 2
// Ex... | [
"675324370@qq.com"
] | 675324370@qq.com |
b75ac58294a97b1919bfb21d9367dd2a4a0398ee | d066c77e614e6ef05b44eee0120e84588f8b9741 | /RLogin/AutoRenDlg.cpp | 02f9c96d6a1618e0fa0d81504bb16a341bba43be | [
"MIT"
] | permissive | kmiya-culti/RLogin | 7b01f2591fefbf22430ac9b0cca7b2093b463259 | c4f120ad617857a27f96aedd210e1e8b680024ec | refs/heads/master | 2023-08-25T20:03:45.341336 | 2023-08-03T22:10:00 | 2023-08-03T22:10:00 | 98,845,585 | 436 | 28 | MIT | 2021-03-23T14:55:33 | 2017-07-31T03:44:42 | C++ | SHIFT_JIS | C++ | false | false | 1,526 | cpp | // AutoRenDlg.cpp : 実装ファイル
//
#include "stdafx.h"
#include "RLogin.h"
#include "RLoginDoc.h"
#include "RLoginView.h"
#include "Ssh.h"
#include "SFtp.h"
#include "AutoRenDlg.h"
// CAutoRenDlg ダイアログ
IMPLEMENT_DYNAMIC(CAutoRenDlg, CDialogExt)
CAutoRenDlg::CAutoRenDlg(CWnd* pParent /*=NULL*/)
: CDialog... | [
"kmiya@gem.or.jp"
] | kmiya@gem.or.jp |
bbec945369e63bb6776aff4e89e1e25d04ebf646 | 76f42efcfa2628c4277a3ff49637c1eb8432801c | /LETscore_source/src/MyRunAction.cc | 0ca60a21fbc2ad6f8bfad68cef08ecc9929af5c8 | [] | no_license | bwhite-1/LETscore_public | 6f8fe245373e332c4c84fa6e4de569f060d7b0d5 | fd042b6c8e7d26201450a645efb18bca78b8878f | refs/heads/main | 2023-06-23T22:54:36.876013 | 2021-07-29T12:22:32 | 2021-07-29T12:22:32 | 390,705,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,201 | cc | //
// MyRunAction.cc
//
//
// Created by everyday on 13/10/2020.
//
#include "MyRunAction.hh"
#include "MyAnalysis.hh"
#include "MyMatrix.hh"
#include "MyStruct.hh"
#include "G4Run.hh"
#include "G4RunManager.hh"
#include "G4UnitsTable.hh"
#include "G4SystemOfUnits.hh"
#include <string>
/*
RunAction defines how... | [
"noreply@github.com"
] | bwhite-1.noreply@github.com |
6ac59fd1b608972d5c78ed4cc69f9d7d309486da | c631a931bdf317c5af9e8a53033cf0fa9a9a8899 | /12_Unity_Ads/Unity_Ads/Classes/Native/Mono.Security.cpp | ab84329550c665f3e95d16de470f224ff6b0a9a7 | [] | no_license | HyuneonY/Unity_Project-1 | b4799b583cb8e5688e8112779327f289c3a57545 | 717ad5a62a1fc91866ff94ed1fb2c1b9af2f6553 | refs/heads/master | 2022-09-04T02:35:29.400436 | 2020-05-23T08:53:13 | 2020-05-23T08:53:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,565,261 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "codegen/il2cpp-codegen.h"
#include "il2cpp-object-internals.h"
template ... | [
"kacias@daum.net"
] | kacias@daum.net |
b2bdae08b9d0cba516c2967cf40bf3312c6ddbce | ac66357e3e3bbf15637668b6b420da321411aca4 | /history.h | 94dba9de5990ff417d74ad65e00e369483a4db4d | [] | no_license | svaroslav/gameportal-api-client | 9a6b7c68f41f5ec08cc98be1e5ba0c2f469ef28b | 10b834dd62da47e82ad94471be1d9c6e0e4e258b | refs/heads/master | 2020-03-18T10:16:31.658132 | 2018-05-23T17:31:51 | 2018-05-23T17:31:51 | 134,604,643 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 472 | h | #ifndef HISTORY_H
#define HISTORY_H
#include <QDialog>
#include <QObject>
namespace Ui {
class History;
}
class History : public QDialog
{
Q_OBJECT
signals:
void historyClicked();
public:
explicit History(QWidget *parent = 0);
~History();
void set(QStringList list);
QString getSelection() co... | [
"svarovsky.jan7@gmail.com"
] | svarovsky.jan7@gmail.com |
1dfed45f8882b9e49db9e94d393bc95ba179eab5 | 1d415fdfabd9db522a4c3bca4ba66877ec5b8ef4 | /gui/ttcurrentframe.h | bd80bca6adbea4ff0db3ca1783a5c19920c32949 | [] | no_license | panjinan333/ttcut | 61b160c0c38c2ea6c8785ba258c2fa4b6d18ae1a | fc13ec3289ae4dbce6a888d83c25fbc9c3d21c1a | refs/heads/master | 2022-03-23T21:55:36.535233 | 2010-12-23T20:58:13 | 2010-12-23T20:58:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,333 | h | /*----------------------------------------------------------------------------*/
/* COPYRIGHT: TriTime (c) 2003/2008 / www.tritime.org */
/*----------------------------------------------------------------------------*/
/* PROJEKT : TTCUT 2006 ... | [
"b.altendorf@tritime.de"
] | b.altendorf@tritime.de |
2c5aee9c5cca5f6ca40c379c2d5b9aeebd80e058 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /third_party/WebKit/Source/core/page/SpatialNavigation.cpp | 5a41a5c66b6e95c404bc604dff779fdc3e285447 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-only",
"BSD-3-Clause",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft"
] | 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 | 24,810 | cpp | /*
* Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies)
* Copyright (C) 2009 Antonio Gomes <tonikitoo@webkit.org>
*
* 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. Re... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
07705c779840a341b51030d6e0e9a129988afb60 | fc38a55144a0ad33bd94301e2d06abd65bd2da3c | /thirdparty/cgal/CGAL-4.13/include/CGAL/Nef_3/Halfedge.h | c972929d25fa0a29d42be778895e9142be0c4e56 | [
"LGPL-3.0-only",
"GPL-3.0-only",
"GPL-1.0-or-later",
"LGPL-2.1-or-later",
"LicenseRef-scancode-free-unknown",
"LGPL-2.0-or-later",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-unknown-license-reference",
"MIT-0",
"MIT",
"LGPL-3.0-or-later",
"LicenseRef-scancode-warranty-disc... | permissive | bobpepin/dust3d | 20fc2fa4380865bc6376724f0843100accd4b08d | 6dcc6b1675cb49ef3fac4a58845f9c9025aa4c9f | refs/heads/master | 2022-11-30T06:00:10.020207 | 2020-08-09T09:54:29 | 2020-08-09T09:54:29 | 286,051,200 | 0 | 0 | MIT | 2020-08-08T13:45:15 | 2020-08-08T13:45:14 | null | UTF-8 | C++ | false | false | 5,973 | h | // Copyright (c) 1997-2002 Max-Planck-Institute Saarbruecken (Germany).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org).
// You can redistribute it and/or modify it under the terms of the GNU
// General Public License as published by the Free Software Foundation,
// either version 3 of the Licen... | [
"huxingyi@msn.com"
] | huxingyi@msn.com |
64042f1443da3fa9d5ef5eb92bb68f38ec0b19b8 | a1dce8306153cc1bedf55e03e41a894328201c81 | /src/SDK/RH_PlayerPawn_classes.hpp | 14524bc10652face80a3f934c9067cdd099cca6d | [] | no_license | zanzo420/SDK-RadicalHeights | 97848bebd47baaa799e6a82546727fb9f829d7f1 | 0eeacd1418b2ee45c1522babed684baf4daf79a9 | refs/heads/master | 2020-03-29T22:22:00.257774 | 2018-04-20T14:11:36 | 2018-04-20T14:11:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 68,604 | hpp | #pragma once
// Radical Heights (ALPHA-1-201356) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "RH_PlayerPawn_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//------------------------------------------------------------------------... | [
"aeonlucid@outlook.com"
] | aeonlucid@outlook.com |
8c454914cafa437dfbb74df19e8b1dc89bfe2f2f | 777a75e6ed0934c193aece9de4421f8d8db01aac | /src/Providers/UNIXProviders/FibrePortOnFCAdapter/UNIX_FibrePortOnFCAdapter_LINUX.hxx | 9302ac24cd3059b901bdd370296dc72bfd499a77 | [
"MIT"
] | permissive | brunolauze/openpegasus-providers-old | 20fc13958016e35dc4d87f93d1999db0eae9010a | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | refs/heads/master | 2021-01-01T20:05:44.559362 | 2014-04-30T17:50:06 | 2014-04-30T17:50:06 | 19,132,738 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 136 | hxx | #ifdef PEGASUS_OS_LINUX
#ifndef __UNIX_FIBREPORTONFCADAPTER_PRIVATE_H
#define __UNIX_FIBREPORTONFCADAPTER_PRIVATE_H
#endif
#endif
| [
"brunolauze@msn.com"
] | brunolauze@msn.com |
778980f7b0a8110e813bbd4d882b6122b89eacdc | 17633d1f00948a49ebf058df74863a4992ead4f5 | /94/P94/P94/main.cpp | 228f7a19c982c64d3841777332e6a6c59dec0d7a | [
"MIT"
] | permissive | swy20190/Leetcode-Cracker | 965ae2ce9c548dc39cbe3a082258c2373301248c | 3b80eacfa63983d5fcc50442f0813296d5c1af94 | refs/heads/main | 2023-07-01T15:06:57.827192 | 2021-08-12T07:30:23 | 2021-08-12T07:30:23 | 311,195,588 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 658 | cpp | #include <vector>
#include <iostream>
using namespace std;
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode() : val(0), left(nullptr), right(nullptr) {}
TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
TreeNode(int x, TreeNode *left, TreeNode *right) : val... | [
"midnightsun114514@gmail.com"
] | midnightsun114514@gmail.com |
e11e31abdc21ec8b67875a2d07fc67a409fe573d | 512990fffa0455b835e371b8e63b64559b477708 | /src/rpc/configget.hpp | f0eff7b0456eb5c6345a7ab2f55336f9b9deec3b | [] | no_license | ronioncloud/server-2 | 8977f1ba49a2eb4b77f6e670b51d94afdb6af22b | 3d32152f592e8a01576db81c4d41dc3c77a43a1b | refs/heads/main | 2023-06-11T09:59:24.771688 | 2021-06-25T18:53:13 | 2021-06-25T18:53:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 293 | hpp | #pragma once
#include "command.hpp"
#include <sqlite3.h>
namespace pt::Server::RPC
{
class ConfigGetCommand : public Command
{
public:
ConfigGetCommand(sqlite3* db);
nlohmann::json Execute(nlohmann::json&) override;
private:
sqlite3* m_db;
};
}
| [
"viktor@viktorelofsson.se"
] | viktor@viktorelofsson.se |
b7c790d223e8bd488f8f8d7abcf3b8443026d6fe | 8cafa8e61792ca7571811f62a39a185baaf48fe1 | /tp1_GustavoMaia_LucasRenan/assembler/Swombat.h | 64f0110df024ecf9205a0ae7811c125b3db9e6c3 | [] | no_license | vmgustavo/assemblerSwombat | 79b3e047bd31ab662790b1c1b9ec6d63ac4df098 | e2015ef63d7043499792378b8af57344dd438735 | refs/heads/master | 2021-01-20T08:54:47.448846 | 2017-05-16T03:19:10 | 2017-05-16T03:19:10 | 90,202,421 | 0 | 1 | null | 2017-05-09T01:16:19 | 2017-05-03T23:38:13 | HTML | UTF-8 | C++ | false | false | 1,529 | h | #ifndef swombat_h
#define swombat_h
#include<iostream>
#include<stdlib.h>
#include<vector>
#include<bitset>
#include<map>
#include"tools.h"
using namespace std;
class Swombat{
private:
map<string,int> index_of_registers;//cada registrador tem um indice correspondente (uso geral de 0 a 7)
vector<int> memory;... | [
"lucas.renan.vieira@gmail.com"
] | lucas.renan.vieira@gmail.com |
7eec0ffd0bf30901fe2f510685075ecdfa4b31dd | dcc48d9d2c336b52a575aca3e6b289c8301de321 | /input.cpp | 3ceb2716ac6683767c75a32b166beb9596c217dd | [] | no_license | kamei-itsuki/Shooting_Game | 3a9f9ddec87b9adc0b4d2f69f37a5436bd041eed | b9b3d2a2e5ba2874184931c6303ab635e1191fa5 | refs/heads/master | 2020-09-04T20:54:15.982006 | 2019-11-12T08:54:10 | 2019-11-12T08:54:10 | 219,429,338 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 930 | cpp | #include "main.h"
#include "input.h"
BYTE CInput::m_OldKeyState[256];
BYTE CInput::m_KeyState[256];
POINT CInput::m_MousePt;
void CInput::Init()
{
memset( m_OldKeyState, 0, 256 );
memset( m_KeyState, 0, 256 );
}
void CInput::Uninit()
{
}
void CInput::Update()
{
GetCursorPos(&m_MousePt);
memcpy( m_OldKeySt... | [
"48118057+kamesan420@users.noreply.github.com"
] | 48118057+kamesan420@users.noreply.github.com |
2088518c3f8405e2b1ee298b4f48e68f0d49e0c0 | 5499e8b91353ef910d2514c8a57a80565ba6f05b | /src/connectivity/wlan/lib/mlme/cpp/include/wlan/mlme/mesh/write_mp_action.h | 969ea96991093b7a592134e59b2f7ab82f31ad5b | [
"BSD-3-Clause"
] | permissive | winksaville/fuchsia | 410f451b8dfc671f6372cb3de6ff0165a2ef30ec | a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f | refs/heads/master | 2022-11-01T11:57:38.343655 | 2019-11-01T17:06:19 | 2019-11-01T17:06:19 | 223,695,500 | 3 | 2 | BSD-3-Clause | 2022-10-13T13:47:02 | 2019-11-24T05:08:59 | C++ | UTF-8 | C++ | false | false | 981 | h | // Copyright 2018 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.
#ifndef SRC_CONNECTIVITY_WLAN_LIB_MLME_CPP_INCLUDE_WLAN_MLME_MESH_WRITE_MP_ACTION_H_
#define SRC_CONNECTIVITY_WLAN_LIB_MLME_CPP_INCLUDE_WLAN_MLME_MESH_WRIT... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
b77fba5fb17e7e14e2f48105d799699ff2e6d3ef | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_BoneModifiersContainer_ChibiMammoth_classes.hpp | 3d6017af4fb14a56dff7bdb307e009d0880216f6 | [
"MIT"
] | permissive | git-Charlie/ARK-SDK | 75337684b11e7b9f668da1f15e8054052a3b600f | c38ca9925309516b2093ad8c3a70ed9489e1d573 | refs/heads/master | 2023-06-20T06:30:33.550123 | 2021-07-11T13:41:45 | 2021-07-11T13:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 899 | hpp | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_BoneModifiersContainer_ChibiMammoth_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//-------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
bbc590f909615e62cde7043b7eed2910a919d52f | c6e9e30cb39698c346eb24b3eeef7e3a5c570032 | /gnuradio/build_gdb/gr-trellis/lib/viterbi_b_impl.h | 350745375500c68821c8126a0fa3e193493cbe2f | [] | no_license | Darren2340/local_gnuradio | 283ae020e21a64607fd0721f0c54217dccb5655d | db05a74ab64a5dfae6bca70dfcf57019153c64b5 | refs/heads/master | 2021-01-20T11:25:54.372134 | 2014-07-14T23:42:55 | 2014-07-14T23:42:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,904 | h | /* -*- c++ -*- */
/*
* Copyright 2004,2012 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* GNU Radio is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your o... | [
"rjmccabe@rockwellcollins.com"
] | rjmccabe@rockwellcollins.com |
fddf67ae97179a408f822b5e0bba0145b71e48a8 | a38672c055cadeb5668e9d2f84de343f3b74b497 | /UVa/109-1/12190/12190電費尬電.cpp | 662fcb3754f55e483d3c9c7f1ab0ada1a1d42c36 | [] | no_license | NickyHaHa/ProgramBox | fba751be8e0431538e27bba7ced3e00796535363 | 8370895419458c0b890fc0992adf566c506a8b7e | refs/heads/master | 2022-03-04T05:20:35.329417 | 2022-02-10T08:22:40 | 2022-02-10T08:22:40 | 249,462,445 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,916 | cpp | #include<bits/stdc++.h>
using namespace std;
//Interval of electricty
//cwh = 2*100, 3*9900, 5*990000
int cwh[ 3 ] = {200, 29700, 4950000};
int range[ 3 ] = {100, 9900, 990000};
int price[ 4 ] = {2, 3, 5, 7};
long long int consume(int x);
int main(){
//A = me and neighbor total bill
//B = neighbor bill - my ... | [
"nicky17345@gmail.com"
] | nicky17345@gmail.com |
eeae62daba3d79d94ac48ef85a96de3efc93d9db | 23e393f8c385a4e0f8f3d4b9e2d80f98657f4e1f | /孙鑫C++教程(全20讲)PPT讲义/lesson 8/Lesson8Code/Prop/Prop1.h | 9d4c83efa939428eb9cdaf4d92b26ae6d41876ad | [] | no_license | IgorYunusov/Mega-collection-cpp-1 | c7c09e3c76395bcbf95a304db6462a315db921ba | 42d07f16a379a8093b6ddc15675bf777eb10d480 | refs/heads/master | 2020-03-24T10:20:15.783034 | 2018-06-12T13:19:05 | 2018-06-12T13:19:05 | 142,653,486 | 3 | 1 | null | 2018-07-28T06:36:35 | 2018-07-28T06:36:35 | null | UTF-8 | C++ | false | false | 1,190 | h | #if !defined(AFX_PROP1_H__4DFD3DB8_24AD_471F_BAA7_7D0CC7151F6F__INCLUDED_)
#define AFX_PROP1_H__4DFD3DB8_24AD_471F_BAA7_7D0CC7151F6F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Prop1.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CProp1... | [
"wyrover@gmail.com"
] | wyrover@gmail.com |
2f2f989d4d10ca425da77b6a8c6a935113b504df | b03fa03adafccd5e0ba0d2b6770f4d7264c13f03 | /tests/test_utils.cpp | cbb5471245cbb9a1d6991a59d3f0c7dd1f282837 | [] | no_license | bigdot123456/Ledger | b98962835b86c7c7795401b55ab462941efef621 | c8f4ccad3626411bcbde26d728b0bec280e712e7 | refs/heads/master | 2020-07-24T19:29:56.465394 | 2019-09-17T02:03:53 | 2019-09-17T02:03:53 | 208,024,362 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,653 | cpp | /*******************************************************************************
* (c) 2018 ZondaX GmbH
*
* 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/lic... | [
"billli@matrix.space"
] | billli@matrix.space |
f91826f026cb34de6a5587d02325fb88691d2a71 | 3b1c7561c8d3b9452fc0cdefe299b208e0db1853 | /src/core/SkAnnotationKeys.h | 6144bc46cd6369514ea9d805a5b3350e5ee91128 | [
"BSD-3-Clause"
] | permissive | NearTox/Skia | dee04fc980bd40c1861c424b5643e7873f656b01 | 4d0cd2b6deca44eb2255651c4f04396963688761 | refs/heads/master | 2022-12-24T02:01:41.138176 | 2022-08-27T14:32:37 | 2022-08-27T14:32:37 | 153,816,056 | 0 | 0 | BSD-3-Clause | 2022-12-13T23:42:44 | 2018-10-19T17:05:47 | C++ | UTF-8 | C++ | false | false | 701 | h | /*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkAnnotationKeys_DEFINED
#define SkAnnotationKeys_DEFINED
#include "include/core/SkTypes.h"
class SkAnnotationKeys {
public:
/**
* Returns the canonical key w... | [
"NearTox@outlook.com"
] | NearTox@outlook.com |
169b28963ce9ce29fe2eb9fbef9d52812080a60a | a15950e54e6775e6f7f7004bb90a5585405eade7 | /device/fido/make_credential_request_handler.h | 71f361d4d6a01bd0eca2142e4c7515d8241b9c60 | [
"BSD-3-Clause"
] | permissive | whycoding126/chromium | 19f6b44d0ec3e4f1b5ef61cc083cae587de3df73 | 9191e417b00328d59a7060fa6bbef061a3fe4ce4 | refs/heads/master | 2023-02-26T22:57:28.582142 | 2018-04-09T11:12:57 | 2018-04-09T11:12:57 | 128,760,157 | 1 | 0 | null | 2018-04-09T11:17:03 | 2018-04-09T11:17:03 | null | UTF-8 | C++ | false | false | 1,924 | h | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef DEVICE_FIDO_MAKE_CREDENTIAL_REQUEST_HANDLER_H_
#define DEVICE_FIDO_MAKE_CREDENTIAL_REQUEST_HANDLER_H_
#include <memory>
#include "base/callback.... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
f6974a75699e857fc41ba662a69e5ab2d7c2f598 | ca57210b9f533482b60fdf5bd0f0e981cd7e5de2 | /p33_2.cpp | 56f6c0dfad3850ed42302079a9165835d59939d3 | [] | no_license | finem50/lab03 | 2b1bdb6807cef74c1f41cc0dd91daa41708dabc9 | 33696d3b1a40e35ed08e47237c1df182edd98353 | refs/heads/master | 2020-03-27T19:53:54.709161 | 2018-09-03T01:53:07 | 2018-09-03T01:53:07 | 147,019,618 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,442 | cpp | //This program illustrates the local and global variables and call-by-value
//This program computes the side area and the cross section area of a cylinder
#include <iostream>
#include <cmath>
using namespace std;
double PI = 3.14159; //This variable is defined globally, known to all functions in this program as PI
do... | [
"Finem50@live.com"
] | Finem50@live.com |
b3ff0178213b5f1c42b92d6edc69f170bc45c98c | f5ecd45ff4c65f4805a580cfe9f58426bc610511 | /tests/CoreTests/Upgrade.cpp | 0e6bbda6e6bec1acff643d032b7debf9e0714362 | [
"MIT"
] | permissive | JacopoDT/numerare-core | 3d0f115f4f557439ce821842abb32e5a22fd99af | a98b32150a9b2e6ea7535d12b7e8e1aac0589e2f | refs/heads/master | 2021-06-28T08:32:45.221794 | 2020-08-30T23:50:22 | 2020-08-30T23:50:22 | 131,741,111 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,080 | cpp | /***
MIT License
Copyright (c) 2018 NUMERARE
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publis... | [
"38866023+numerare@users.noreply.github.com"
] | 38866023+numerare@users.noreply.github.com |
9cde8113e275f47ff8464004129d11cae196135c | 7a6c99e37463e9eca0aaf57391e8ec2912060d34 | /t1/ethernet.cpp | 7d6e0b305f0046b1e2d24e1d930096a9047a8725 | [
"MIT"
] | permissive | taschetto/networksLab | 25e58ba8e0640f16fb78aa9f8c1e0edf83d005f6 | 4dcdb35e5a97a1605a631fabcc879f17b418f346 | refs/heads/master | 2021-01-23T00:10:00.453371 | 2014-11-28T20:08:06 | 2014-11-28T20:08:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,041 | cpp | #include <cstring>
#include <iomanip>
#include <sstream>
#include <string>
#include "colors.h"
#include "ethernet.h"
#include "helpers.h"
using namespace Colors;
Ethernet::Ethernet(BYTE* by)
{
MakeMAC(&by[0], &destination[0]);
MakeMAC(&by[6], &source[0]);
etherType = MakeWord(&by[12]);
}
Ethernet::~Ethernet()... | [
"gtaschetto@gmail.com"
] | gtaschetto@gmail.com |
9643c1d28af59fd52e230c10d2a6e2273f2d7f0b | 5053265dcc44ae065da1472cd9a7603dd319b1af | /code_snips/code/tag_of_tuple.cpp | b48c198dac3499bf7cb3fa695890d10976724c6e | [] | no_license | ricejasonf/cppnow17_nbdl | a2c04c1585f57c3d989226756f92599d9128dfb7 | 2c0a648d4914e4753185783b441aabf569b74e0a | refs/heads/master | 2021-01-19T23:00:10.788446 | 2018-04-25T00:15:53 | 2018-04-26T04:52:36 | 88,905,034 | 4 | 1 | null | 2018-04-26T04:52:38 | 2017-04-20T19:53:47 | JavaScript | UTF-8 | C++ | false | false | 110 | cpp | static_assert(std::is_same<
hana::tag_of_t<hana::tuple<int, char, double>>,
hana::tuple_tag
>::value);
| [
"ricejasonf@gmail.com"
] | ricejasonf@gmail.com |
df7f98ff4d9a93801b5a9efbb92baa0c946ad963 | 93a9e7ab724bcf20071079d0c994f892ff0b6cff | /Lib/OakModel/NodeQuerySiblings.h | 036e2c9c7b69847900af6b89e0d10ae16bc5a829 | [
"MIT"
] | permissive | MNL82/oakmodelview | d28737efb64365ab833253171e4bf4f053368180 | 916f271dbca26f774828ad0fc512d260f14bfb04 | refs/heads/master | 2021-01-04T02:32:38.981381 | 2019-05-15T09:50:41 | 2019-05-15T09:50:41 | 100,886,958 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,217 | h | /**
* oakmodelview - version 0.1.0
* --------------------------------------------------------
* Copyright (C) 2017, by Mikkel Nøhr Løvgreen (mikkel@oakmodelview.com)
* Report bugs and download new versions at http://oakmodelview.com/
*
* This library is distributed under the MIT License.
* See accompanying file ... | [
"m_loevgreen@hotmail.com"
] | m_loevgreen@hotmail.com |
93305441ebaeb99fb0dd4beef0eef997ac75b128 | 75da0db5bfde99720ddb22692594241308be967e | /DuiLib/Control/UIActiveX.cpp | fcf09531882f0d19b47d5d3cbbcc2b5aced5b1a6 | [] | no_license | 021xcy/BrowserDll | f6bd549e26828f5950b769e4232511e101696263 | a071a3c364d18b704ccaec5b74467237cd157900 | refs/heads/master | 2023-06-25T18:51:02.224423 | 2017-03-20T03:06:15 | 2017-03-20T03:06:15 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 43,472 | cpp | #include "StdAfx.h"
#include <vector>
#include <comutil.h>
namespace DuiLib {
/////////////////////////////////////////////////////////////////////////////////////
//
//
class CActiveXCtrl;
/////////////////////////////////////////////////////////////////////////////////////
//
//
class CActiveXWnd : public CWindo... | [
"x583194811l@gmail.com"
] | x583194811l@gmail.com |
a280d3758867049e7692c395d20f9e50c36206c4 | 0abef26a612ddfad627000e3280f310a978e8d04 | /ARPhysics-master/Engine/GravityToPointForceGenerator.h | cd473f209d415109c4a2b810a54dde56fc2f7c69 | [
"MIT"
] | permissive | AugustRush/2017demo | 98fef3954c325029e65ac48fd29f778869a62af6 | 79070ea13fd9813fb0904511ef89c8f01ff86ef6 | refs/heads/master | 2021-01-20T12:51:52.335872 | 2017-09-21T06:59:58 | 2017-09-21T06:59:58 | 101,727,546 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 700 | h | //
// GravityToPointForceGenerator.h
//
// Created by Adrian Russell on 02/04/2014.
// Copyright (c) 2014 Adrian Russell. All rights reserved.
//
#ifndef __ARPhysics__GravityToPointForceGenerator_H_
#define __ARPhysics__GravityToPointForceGenerator_H_
#include "GroupForceGenerator.h"
class GravityToPointForceGene... | [
"liupingwei30@gmail.com"
] | liupingwei30@gmail.com |
ea66634dc66295a13f6e62721f48a1f8ee2080f5 | f3d4af6083ab0983993f575e503d356930fe88c0 | /src/ml/learning_rate.cpp | 719524405f2ef5951a3c0948933973e8143b9be3 | [
"Apache-2.0"
] | permissive | hanling14/graphchi-ltr | a4c1637943ce14d4d8320bda9d4504bc76a562ba | fb05675fb256ebd14797f778c56607bc4bcbd51e | refs/heads/master | 2020-12-31T01:02:42.930041 | 2013-11-04T16:07:18 | 2013-11-04T16:07:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,884 | cpp | #include "ml/learning_rate.h"
#include <cstdio> // sscanf
#include <algorithm> // copy_if, for_each
#include <iterator> // back_inserter
#include <sstream> // istringstream
#include <iostream>
LearningRate::LearningRate(double learning_rate_)
: learning_rate(learning_rate_) {}
ConstantLearningRate::Cons... | [
"nemeskey.david@sztaki.mta.hu"
] | nemeskey.david@sztaki.mta.hu |
d751bfbd3c2c5ff00da9fd8d8b3401f3ee70806b | 927442d1aadd124d1ec5b5a56b3c442ba2735841 | /08_cocos2d-x/day08/Demo1/BombHero/BombHero/Classes/SelectLevelButton.h | e23cc943dd993b8fc8fa44d07ff42b7151639ae0 | [] | no_license | yitian630/Tarena | 2dc2fd276e1404330222d28fb10ddd0116eca74b | 49b587ab58cb5e173d6dcd2701ea6db3b35cdf0b | refs/heads/master | 2021-01-22T02:49:19.160833 | 2015-03-12T06:58:26 | 2015-03-12T06:58:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 932 | h | //
// SelectLevelButton.h
// BombHero
//
// Created by tarena on 14-6-12.
//
//
#ifndef __BombHero__SelectLevelButton__
#define __BombHero__SelectLevelButton__
#include <iostream>
#include "cocos2d.h"
#include "GameScene.h"
USING_NS_CC;
class SelectLevelButton : public CCNode , public CCTargetedTouchDelegate{
pub... | [
"yitian630@163.com"
] | yitian630@163.com |
6206674fdfe150866f4864555240e1249d78a30b | f35bf9ff7405c179289f049fad4396198b4a0ef8 | /JAN2019_LONG/Distinct_Pairs.cpp | cbe74034a66a8ede45332d0035bbc4c50fe2121b | [] | no_license | proRamLOGO/Competitive_Programming | d19fc542e9f10faba9a23f4ef3335f367ccc125a | 06e59ba95c3804cae10120ac7eda6482c3d72088 | refs/heads/master | 2023-01-03T07:27:25.960619 | 2020-10-29T19:15:53 | 2020-10-29T19:15:53 | 151,049,005 | 0 | 7 | null | 2020-10-29T19:15:54 | 2018-10-01T07:05:55 | C++ | UTF-8 | C++ | false | false | 441 | cpp | #include <iostream>
#include <vector>
using namespace std ;
int main() {
int n, m ;
cin >> n >> m ;
vector< int > a(n), b(m) ;
for ( auto i = 0 ; i < n ; ++i )
cin >> a[i] ;
for ( auto i = 0 ; i < m ; ++i )
cin >> b[i] ;
for ( auto i = 1 ; i < m ; ++i ) {
cout <... | [
"kapilgupta547@outlook.com"
] | kapilgupta547@outlook.com |
85a9c92ed6e369dcc477151b2f4456734498eec0 | 9240ceb15f7b5abb1e4e4644f59d209b83d70066 | /sp/src/game/server/ai_squad.cpp | 1733729bfaed4741411d4deb5a017d9e1d2af895 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Margen67/blamod | 13e5cd9f7f94d1612eb3f44a2803bf2f02a3dcbe | d59b5f968264121d013a81ae1ba1f51432030170 | refs/heads/master | 2023-04-16T12:05:12.130933 | 2019-02-20T10:23:04 | 2019-02-20T10:23:04 | 264,556,156 | 2 | 0 | NOASSERTION | 2020-05-17T00:47:56 | 2020-05-17T00:47:55 | null | UTF-8 | C++ | false | false | 19,954 | cpp | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Squad classes
//
//=============================================================================//
#include "cbase.h"
#include "ai_squad.h"
#include "ai_squadslot.h"
#include "ai_basenpc.h"
#include "saverestore_bitst... | [
"joe@valvesoftware.com"
] | joe@valvesoftware.com |
c4c4aa249f765219b7aca96a75c4a70bf02699ee | a33aac97878b2cb15677be26e308cbc46e2862d2 | /program_data/PKU_raw/91/132.c | 45c1bb69ad94aed508027cfb8689459eddacd7a4 | [] | no_license | GabeOchieng/ggnn.tensorflow | f5d7d0bca52258336fc12c9de6ae38223f28f786 | 7c62c0e8427bea6c8bec2cebf157b6f1ea70a213 | refs/heads/master | 2022-05-30T11:17:42.278048 | 2020-05-02T11:33:31 | 2020-05-02T11:33:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 167 | c | void main()
{
int n,i;
char a[300],b;
gets(a);
n=strlen(a);
b=a[0];
for(i=0;i<n-1;i++)
*(a+i)=*(a+i)+*(a+i+1);
*(a+n-1)=*(a+n-1)+b;
puts(a);
}
| [
"bdqnghi@gmail.com"
] | bdqnghi@gmail.com |
7ff974f6b8335d4d432918daa16ceb7093db0916 | fb2228001ecc5994a47367255824f5ace3c3e4f8 | /source/CGLMesh.cpp | d1650bbf0170a5abf3977897f9cca945ce1e11e6 | [] | no_license | wtrsltnk/Sunset3d | 4b9ba20b3a57b82d49959508daadf6a936930e10 | bbd8588ba5bb6ede74c65136da88755c95ee27bc | refs/heads/master | 2021-01-21T14:16:57.919641 | 2017-06-25T22:01:36 | 2017-06-25T22:01:36 | 95,262,420 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,072 | cpp | #include "CGLMesh.h"
#include <fstream>
CGLMesh::CGLMesh()
{
cClassType = "mesh";
Mesh.nNumVertices = 3;
Mesh.pVertices = new msVertex[3];
Mesh.pVertices[0].Vertex[0] = -1.0f;
Mesh.pVertices[0].Vertex[1] = -1.0f;
Mesh.pVertices[0].Vertex[2] = 0.0f;
Mesh.pVertices[1].Vertex[0] = 1.0f;
Mesh.pVertices[1].Ver... | [
"wouter.saaltink@gmail.com"
] | wouter.saaltink@gmail.com |
829b1a3b239c4a2c114b60e496b640258c3e90ba | 329bcf648013e2d2e67d4bcd2b872e69107238bb | /src/HC_SR04_Ultrasonic.cpp | 7a86a3f791339dc8a5761d5af678a811d637799c | [] | no_license | somaveszelovszki/micro-utils | 2cf1157a95ee420a572e5537d90c80c10f506883 | 7c491ac6be89eb04f6d295ce05816bb1c8dda787 | refs/heads/master | 2023-08-31T01:50:29.854830 | 2023-08-29T18:54:14 | 2023-08-29T18:54:14 | 196,206,661 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,512 | cpp | #include <micro/hw/HC_SR04_Ultrasonic.hpp>
#include <micro/math/unit_utils.hpp>
#include <micro/port/timer.hpp>
namespace micro {
namespace hw {
HC_SR04_Ultrasonic::HC_SR04_Ultrasonic(const gpio_t& gpio_trigger, const gpio_t& gpio_echo)
: gpio_trigger_(gpio_trigger)
, gpio_echo_(gpio_echo) {}
void HC_SR04_Ul... | [
"soma.veszelovszki@gmail.com"
] | soma.veszelovszki@gmail.com |
a70f63510d60b160c7fe5eba3970d047c9c4ace2 | 99a8670571aa65255df2028a0df136facbd8a255 | /c++/08_Conti.cpp | 8f1fb5a553417107872277a87002f95006cc4a45 | [] | no_license | Omkarkale0002/Developer | d2d148fd7b5ff5e48f06128e38b5e357a4e039a8 | 53c74122386ff0a5f07b45311da714d25c0b74ea | refs/heads/main | 2023-07-08T22:26:20.416715 | 2021-08-10T04:50:13 | 2021-08-10T04:50:13 | 391,560,515 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 332 | cpp | /*Performing Continue and Break statement program*/
#include<iostream>
using namespace std;
int main()
{
int a=10;
do
{
if(a==15) //a = 15 condition
{
a=a+1; //incr a
//break; //use ofbreak
continue; //use of continue
}
cout<<"The value of a is"<<a<<endl;
a++;
}while(a<20); //while condit... | [
"noreply@github.com"
] | Omkarkale0002.noreply@github.com |
dc57fca94b93620c43694cb6110f271e8205c75d | 569d64661f9e6557022cc45428b89eefad9a6984 | /code/gameholder/vip_gift_config.h | 7d55371284081067d2e5769d4a96f3bfd4326eda | [] | no_license | dgkang/ROG | a2a3c8233c903fa416df81a8261aab2d8d9ac449 | 115d8d952a32cca7fb7ff01b63939769b7bfb984 | refs/heads/master | 2020-05-25T02:44:44.555599 | 2019-05-20T08:33:51 | 2019-05-20T08:33:51 | 187,584,950 | 0 | 1 | null | 2019-05-20T06:59:06 | 2019-05-20T06:59:05 | null | WINDOWS-1252 | C++ | false | false | 544 | h | #ifndef vip_gift_config_h
#define vip_gift_config_h
class Player;
class VipGiftConfig
{
public:
VipGiftConfig(void);
~VipGiftConfig(void);
DECLARE_SINGLETON(VipGiftConfig)
void Clear(); ///< Çå¿Õ
bool LoadConfig(const char* path); ///< ¼ÓÔØÅäÖÃÎļþ
int3... | [
"judge23253@sina.com"
] | judge23253@sina.com |
dedcade0ed6069c41d3d3dee8f05cd6e9a71be53 | c239d63ebac20f08205fd18a5e93a3b11da10f03 | /Algorithm/CPP/add_two_numbers.cpp | e79105472ce6b9defe4828dfca02019c4b89df1b | [] | no_license | chaojunhou/LeetCode | ff0f8b9a548e49518ed5f11a65f1e2fadd519852 | 86c6c091f7fd4b361f873967e25e4afa20a21e99 | refs/heads/master | 2016-08-05T14:25:14.024655 | 2015-09-08T02:27:37 | 2015-09-08T02:27:37 | 34,740,131 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,515 | cpp | # include <stdio.h>
# include <iostream>
# include <vector>
using namespace std;
struct ListNode {
int val;
ListNode *next;
ListNode(int x) : val(x), next(NULL) {}
};
class solution {
public:
ListNode *addTwoNumbers(ListNode* l1, ListNode * l2)
{
auto dummy = new ListNode(-1);
auto q = dummy;
auto carry = ... | [
"cjhou1984@gmail.com"
] | cjhou1984@gmail.com |
f7d0939a1dd013f435708fb8847ab54e73b39a7e | 7093b336114451a4da7d285f75b29563f1a2b16e | /Includes/Art/Response.h | ba015100660265469fc5f8153767f7a9a8dd75c3 | [
"MIT"
] | permissive | ArselonHub/ArtCore-stm32f4 | bca3990870070d5b2d4a5879c4059952f0e61f19 | 78954fd823d477674d47ce30ab6df63ea47538f7 | refs/heads/master | 2021-09-06T14:41:32.710992 | 2018-02-07T16:46:44 | 2018-02-07T16:46:44 | 113,226,086 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 633 | h | /*
* Response.h
*
* Created on: Dec 6, 2016
* Author: denizcan
*/
#ifndef ART_RESPONSE_H_
#define ART_RESPONSE_H_
#include <Art/Types.h>
namespace Art
{
class Response
{
public:
void clear();
Word value();
Bool isPending();
void setValue(Word value);
void setValueSvc(Word value);
private:
... | [
"denizcan@arselon.com"
] | denizcan@arselon.com |
d4bbeaf97ff4c39335b8c703b2ebc1045ab5629c | c5d3827ba948811a56caf311b9c3b10680647e26 | /Chapter08/Abbrevia/source/hpp/iOSDevice32/Debug/AbZipKit.hpp | 8880462c157a84006d4f271aca1f8cca9f2396db | [
"MIT"
] | permissive | anomous/Mastering-Delphi-Programming-A-Complete-Reference-Guide | f9d8d9721608988b80916aa5de2a9b0edbdf104f | 886f8488f3c193e9f59106be35eea74a7add3ac2 | refs/heads/master | 2020-12-22T06:22:20.364175 | 2019-11-22T07:56:01 | 2019-11-22T07:56:01 | 236,694,923 | 1 | 0 | MIT | 2020-01-28T09:02:29 | 2020-01-28T09:02:29 | null | UTF-8 | C++ | false | false | 4,927 | hpp | // CodeGear C++Builder
// Copyright (c) 1995, 2016 by Embarcadero Technologies, Inc.
// All rights reserved
// (DO NOT EDIT: machine generated header) 'AbZipKit.pas' rev: 31.00 (iOS)
#ifndef AbzipkitHPP
#define AbzipkitHPP
#pragma delphiheader begin
#pragma option push
#pragma option -w- // All warnings off
#p... | [
"adityaks95@gmail.com"
] | adityaks95@gmail.com |
d1bbfbed6d0ede99a6e0091959dd41082f3e9a1a | da86d9f9cf875db42fd912e3366cfe9e0aa392c6 | /2017/solutions/A/IDA-Pleven/number.cpp | 395f60d13de6e75d17d52c0680bff694cbc04706 | [] | no_license | Alaxe/noi2-ranking | 0c98ea9af9fc3bd22798cab523f38fd75ed97634 | bb671bacd369b0924a1bfa313acb259f97947d05 | refs/heads/master | 2021-01-22T23:33:43.481107 | 2020-02-15T17:33:25 | 2020-02-15T17:33:25 | 85,631,202 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 725 | cpp | #include<iostream>
#include<cstdio>
#include<algorithm>
#include<cmath>
using namespace std;
long long A,B;
long long calculate1(long long x){
double y1=(-1+sqrt(1+4*x))/2;
long long y=y1;
if(y*(y+1)<x)y++;
if(y*(y+1)>=A && y*(y+1)<=B){
return y;
}
return 0;
}
... | [
"aleks.tcr@gmail.com"
] | aleks.tcr@gmail.com |
5453569353d55118a7a1dddde738a8fe42161b49 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5731331665297408_1/C++/Azras/C.cpp | d0a48acd126b343b4ccb87699de3390dc7afdbe7 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 3,824 | cpp | #include <iostream>
#include <algorithm>
#include <map>
#define F first
#define S second
using namespace std;
int n, m;
pair<string, int> ids[50];
bool graph[50][50];
int whoNum[51];
map<string, int> tNum;
map<int, string> tNumRev;
bool visited[50];
bool active[50];
bool wasThere[50];
//bool debug;
void DFScore(int v) ... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
43f116031cf89cb9d6bbf444cdf7eb0b0a07d007 | 8d23a0360b9ca5ea949d77ce0fbc21dabafc100b | /src/tools.cpp | af407f665285065d620ce491dea0133366be8e4b | [
"MIT"
] | permissive | sundarseswaran/unscented-kalman-filter | b96cf03994386fa8caf2542699f97c3c9572616f | f58c8ec9385fe434f826597b6df6360688f829ba | refs/heads/master | 2020-03-15T20:20:32.456901 | 2018-05-06T11:37:14 | 2018-05-06T11:37:14 | 132,330,446 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 756 | cpp | #include <iostream>
#include "tools.h"
using Eigen::VectorXd;
using Eigen::MatrixXd;
using std::vector;
Tools::Tools() {}
Tools::~Tools() {}
VectorXd Tools::CalculateRMSE(const vector<VectorXd> &estimations,
const vector<VectorXd> &ground_truth) {
VectorXd rmse(4);
rmse << 0,0,0,0;... | [
"sundar@SundarearansMBP.attlocal.net"
] | sundar@SundarearansMBP.attlocal.net |
1ea00bcc15fade83df064a469c2a5c0dd87a9cec | 3ffdab04e0f74dd1ac9a51032d8a9a67277dad60 | /src/Logger.hpp | 20ac00d8ef0aa97b6fdae958cf6182eed96346f6 | [] | no_license | TheZorg/Zorgster | 23529498666cc64b60f8bfcedb9a416261759103 | 09a3271d00c786f051e41d70b08eed79df2e9fbc | refs/heads/master | 2020-04-05T23:41:39.166316 | 2011-12-30T06:16:52 | 2011-12-30T06:16:52 | 3,002,970 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 354 | hpp | #ifndef ZORGSTER_LOGGER_HPP
#define ZORGSTER_LOGGER_HPP
#include <iostream>
#include <fstream>
#include <Singleton.hpp>
const int LOG_APP = 1;
class Logger : public Singleton<Logger> {
public:
Logger();
virtual ~Logger();
bool Init();
void Write(int target, const char* msg, ...);
protected:
st... | [
"reumontf@gmail.com"
] | reumontf@gmail.com |
e24f7d50a129e05f63d95eefc3210057ccca1552 | 9468bd4617cc806ee1c372a204cbed0da4495322 | /src/init.cpp | d2b53e381294768a816d97caf8a91a380024e17e | [
"MIT"
] | permissive | ProPoint/RickCoin | 195e01d6f3a89a3cf987a48583c6d104b69997a7 | 5bf0bb949ee9cf1756ae174c5e8ce683b0bcdd90 | refs/heads/master | 2021-01-13T02:30:31.731385 | 2014-01-04T18:06:53 | 2014-01-04T18:06:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,170 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2012 Litecoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "db.h"
#include "walletdb.h... | [
"root@raspberrypi.(none)"
] | root@raspberrypi.(none) |
60db6f85dbc608aa06d774b03bcadf660e067025 | f0359060bc80eb07ea5383ab2ffd47f2cfb17f99 | /SequenciableIPRepository/HSVColorClusterEstimation.h | 31a260f83d1c903968ebdbe72acd191ba517a086 | [] | no_license | nagyistoce/sequenciable | f78c858f263d51203c970ee2fd1e3eb554aa2c28 | c03fdc2725dc9cb266f0778818e3261f0c95525d | refs/heads/master | 2021-01-19T13:33:30.599079 | 2012-12-28T21:33:46 | 2012-12-28T21:33:46 | 32,746,675 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,068 | h | /*
* HSVColorClusterEstimation.h
*
* Created on: Jul 7, 2011
* Author: claudio
*/
#ifndef HSVCOLORCLUSTERESTIMATION_H_
#define HSVCOLORCLUSTERESTIMATION_H_
#include <HSVVecListener.h>
#include <HSVVecEvent.h>
#include <Sequenciable.h>
#include <ShortCircuitException.h>
#include <IplEvent.h>
#include <HSVLi... | [
"csvcc@copin.ufcg.edu.br@f2eb23fe-ef7d-4792-4157-f68be8e4a5ee"
] | csvcc@copin.ufcg.edu.br@f2eb23fe-ef7d-4792-4157-f68be8e4a5ee |
36acf223d0506013a0d61b0741bc74070c47f8c2 | 0b07611f6d5cb10de6791a6c452a4ad4e88eb605 | /LinearSearch.CPP | 89a93cfdbbacacf7aafed8a4fad0607f0b6b0563 | [] | no_license | Monu-Ruhela/DAA-Program | e0e9b0511038c03c7420b5dbd98acda815b140cb | ffebdfba40813433966d23a2889ff0f5eeeb150a | refs/heads/master | 2023-07-23T17:27:13.988792 | 2021-09-06T11:43:19 | 2021-09-06T11:43:19 | 299,561,816 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 641 | cpp | #include<stdio.h>
#include<conio.h>
void main()
{
int count=0,i,n,search,a[100],found=0;
clrscr();
printf("Enter the size of array=");
scanf("%d",&n);
printf("enter the values in list=\n");
count++;
for(i=0;i<n;i++)
{
scanf("%d",&a[i]);
}
printf("Enter the search element=");
scan... | [
"noreply@github.com"
] | Monu-Ruhela.noreply@github.com |
1887ca33678d8004c8aa4db28c17fd1b8e5a4916 | 15e5840cf17575416614ee4a4af00b4c93a3c246 | /3rd-party/stab/VideoStabilization/VideoStabilization/GUI/CameraDialog.cpp | e806bde61ffa16f7b23d0e251366c8bdf47dcb37 | [] | no_license | projedi/stabilization | 6babca368dca7d23a06698678c13b2054e274eb2 | 66c07d2bab1b0337ae552e028b08195e247121cf | refs/heads/master | 2021-01-01T18:06:53.020954 | 2012-09-10T08:45:25 | 2012-09-10T08:45:25 | 4,792,360 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 668 | cpp | #include "stdafx.h"
#include "resource.h"
#include "CameraDialog.h"
IMPLEMENT_DYNAMIC(CCameraDlg, CDialog)
CCameraDlg::CCameraDlg(CWnd* pParent /*=NULL*/)
: CDialog(CCameraDlg::IDD, pParent)
{
}
void CCameraDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
int panasonicInt... | [
"shabalyn.a@gmail.com"
] | shabalyn.a@gmail.com |
3487c38eddd96c32f4ed4e5464b97e46131386b6 | b9e249ddd765a9e67dd16b71c6039f1f71d66fb4 | /Game/headers/Game.h | e4e23756740efe29e41ef6b8c388b9a0e5c55e87 | [] | no_license | ZdrzalikPrzemyslaw/Tetris_CPP | 02d4a53081993c76fb360e8706d90c6ad231aa42 | 081add458ea759a876ecce50ac3836b4be38f0cb | refs/heads/master | 2022-12-21T23:30:21.314189 | 2020-09-16T19:50:05 | 2020-09-16T19:50:05 | 294,108,524 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 880 | h | //
// Created by Przemek on 09.09.2020.
//
#ifndef TETRIS_GAME_H
#define TETRIS_GAME_H
#include <Board.h>
#include "SDL2/SDL.h"
#include "TetrisDisplay.h"
#undef main
// todo : https://www.youtube.com/playlist?list=PLhfAbcv9cehhkG7ZQK0nfIGJC_C-wSLrx - tutoriale
class Game {
public:
Game();
~Game();
voi... | [
"57731778+zdrzalik-przemek@users.noreply.github.com"
] | 57731778+zdrzalik-przemek@users.noreply.github.com |
89e51595f469596ac5f55acdc9f40e94b5102cf1 | 2dad85cbc253010d650e205ebdcf413c3c9d7494 | /program to find subarray with given sum(nonneagtive numbers)/main.cpp | 13b5925d7d9321da802a7b8f14796266fda72213 | [] | no_license | ashutosh0305/Geeks-for-Geeks-Must-do-coding-Questions-Bootcamp | e70bac635bd19123f32ca8c679e6a0e03c385b83 | a83aaa624c0ba5bd287319b89182522b3e9390a4 | refs/heads/master | 2023-02-12T02:43:56.911014 | 2021-01-13T15:45:41 | 2021-01-13T15:45:41 | 328,281,009 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 769 | cpp | #include <iostream>
using namespace std;
void subarrays(int arr[],int n,int sum)
{
for(int i=0;i<n;i++)
{
int currentsum=arr[i];
for(int j=i+1;j<=n;j++)
{
if(sum==currentsum)
{
cout<<"sum found between the indexes"<<i<<"and"<<j-1;
... | [
"ashutoshbisht0305@gmail.com"
] | ashutoshbisht0305@gmail.com |
a3cbe345cf23094dfaf5ac4c6e0dbb87a9d3492e | 637180a02f20aaea1396f5942cbdc60fa0225970 | /Checkers/TestCheckerBoard.h | afd1fee5b341f557731449cb734f182eda26aae4 | [] | no_license | kevinchahine/Checkers | 5c5c94d19119b82a7dd924cf0ce956bc72f68638 | d31dcfc40d04ada27d1e5cb7d413d05181075fa6 | refs/heads/master | 2020-05-18T05:05:12.700357 | 2019-05-20T03:17:24 | 2019-05-20T03:17:24 | 184,193,960 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 158 | h | #pragma once
#include "CheckerBoard.h"
class TestCheckerBoard :
public CheckerBoard
{
public:
TestCheckerBoard();
~TestCheckerBoard();
void print();
};
| [
"kchahine17@gmail.com"
] | kchahine17@gmail.com |
0048e22aecec37d2178d0c9750224dadcdcc5b1a | 38c10c01007624cd2056884f25e0d6ab85442194 | /base/memory/weak_ptr_unittest.cc | 20e5c7b05c2d533b75eabc191054ad85669c2003 | [
"BSD-3-Clause"
] | permissive | zenoalbisser/chromium | 6ecf37b6c030c84f1b26282bc4ef95769c62a9b2 | e71f21b9b4b9b839f5093301974a45545dad2691 | refs/heads/master | 2022-12-25T14:23:18.568575 | 2016-07-14T21:49:52 | 2016-07-23T08:02:51 | 63,980,627 | 0 | 2 | BSD-3-Clause | 2022-12-12T12:43:41 | 2016-07-22T20:14:04 | null | UTF-8 | C++ | false | false | 18,117 | cc | // Copyright (c) 2012 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 "base/memory/weak_ptr.h"
#include <string>
#include "base/bind.h"
#include "base/debug/leak_annotations.h"
#include "base/location.h"
#incl... | [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
864d6df6f215523fe3af538d6f3a3ab19a557e8c | b122f870e0c78f2fddc2a6f10419955e4ad8f0ea | /baek_2629.cpp | 25eaaed1b4adfc278c85bbad1b5a878475668837 | [] | no_license | eastclo/boj | 2b3c68aa47f823129b42e5e792f8c9bc7b771cbb | 9735f10cdcfa2615d14722d448b5f91fac9adfba | refs/heads/master | 2021-07-09T01:47:54.604804 | 2021-04-23T00:12:25 | 2021-04-23T00:12:25 | 243,021,865 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 494 | cpp | #include <bits/stdc++.h>
using namespace std;
const int MN = 31;
const int MW = 40101;
int dp[MN][MW];
int arr[MN], N;
void dfs(int i, int x) {
if(i > N) return;
if(dp[i][x]) return;
dp[i][x] = 1;
dfs(i+1, x + arr[i]);
dfs(i+1, x);
dfs(i+1, abs(x-arr[i]));
}
int main(void)
{
ios::sync_with_stdio(false); cin... | [
"goldeastcloud@gmail.com"
] | goldeastcloud@gmail.com |
dfbfd189991dc68cb38efdfbd3c3728d4c6ce013 | 41808f71f0a7823529b2d764fb0d8d750939db65 | /src/qt/addressbookpage.cpp | d0f67f6bc9cc35083a9632540861cb22e46bbc07 | [
"MIT"
] | permissive | octacoin-project/beta | 2e3c0b945e67655cb4b552119c82c400818687b3 | df2f1e5aab25c992a7dd2d6ce7c5c75d83f4cbcd | refs/heads/master | 2016-08-07T07:01:01.578572 | 2015-08-24T07:13:59 | 2015-08-24T07:13:59 | 41,288,029 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 9,692 | cpp | // Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include "config/bitcoin-config.h"
#endif
#include "addressbookpage.h"
#include "ui_addressbookpag... | [
"kevin@crypto888.club"
] | kevin@crypto888.club |
c2ac2f6d5c76411682e7662ea3c52a49fe252886 | 67a33c0af5da6cf28707e40b2802790944b24f71 | /GameSDLDemo/GameSDLDemo/Common_Function.cpp | 98e7c5bcd3e51e4dcef21dbd6d45a7f7534b2e15 | [] | no_license | kiyuu10/Game | f642effe9ae7f3029ed72e96578f98ae60b8f1ef | 1ebcfffac4f2dbc5a85bbd30fc280de493a9a8f9 | refs/heads/master | 2020-08-05T22:16:04.170789 | 2019-10-05T11:34:26 | 2019-10-05T11:34:26 | 212,730,398 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 750 | cpp | #include "Common_Function.h"
SDL_Surface* SDLCommonFunc::LoadImage(std::string file_path)
{
SDL_Surface* load_image = NULL;
SDL_Surface* optimize_image = NULL;
load_image = IMG_Load(file_path.c_str());
if (load_image != NULL)
{
optimize_image = SDL_DisplayFormat(load_image);
SDL_FreeSurface(load_image);
UINT... | [
"htl.ice14@gmail.com"
] | htl.ice14@gmail.com |
87519d4aa763aabdaa960edd25ec73479e741bd1 | ea0e89c6079c49c0287f0f13cd6669510fb6c59a | /temperature.cpp | e3598b6e10202958666670dcb093acda92171f62 | [] | no_license | franco-m9/Temperature | 3a63d32be316a772b43e12fa5f1c5bb0e484ebd4 | 24f2f9dd4374c61aa1e58f68063cf07aaa8fc1c5 | refs/heads/master | 2021-10-22T01:48:53.324302 | 2018-09-09T19:42:23 | 2018-09-09T19:42:23 | 148,059,608 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,646 | cpp | #include <iostream>
#include <iomanip>
#include <string>
#include "temperature.h"
using namespace std;
Temperature::Temperature()
{
degree=0; // sets to default format,scale, and degree
formsoftemp='C';
format='D';
}
Temperature::Temperature(double degr, char temptype)
{
if(temptype!='F'&&temptype!='f'&... | [
"noreply@github.com"
] | franco-m9.noreply@github.com |
a2b7ee9497b0dab09157872a6b925f93d4309ec5 | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /Opt5PL/inst/testfiles/dd11/dd11_DeepState_TestHarness.cpp | b58118954da4d2d3720425f0add5f81e359b7b72 | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,421 | cpp | // AUTOMATICALLY GENERATED BY RCPPDEEPSTATE PLEASE DO NOT EDIT BY HAND, INSTEAD EDIT
// dd11_DeepState_TestHarness_generation.cpp and dd11_DeepState_TestHarness_checks.cpp
#include <fstream>
#include <RInside.h>
#include <iostream>
#include <RcppDeepState.h>
#include <qs.h>
#include <DeepState.hpp>
double dd11(Numeri... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
b615cc6439b1953084feaa59a53eab59fdef9e2e | 9e3c37a965ce8657bbdc9cd1ab2aaa61a1d7373c | /chap-26/tcp_server.cpp | 7d780a50af3a6df5a085fc5e5c7d612f8e44f4e6 | [] | no_license | zzjianhui/network_programming | ec150a773f7ec90a8b82c03a03a0085c4e44f714 | 6d3f527dd2b6f1aa57263231b3fd2655a26b041b | refs/heads/master | 2020-08-08T09:35:15.361735 | 2019-10-14T00:24:25 | 2019-10-14T00:24:25 | 213,805,875 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,172 | cpp | //多线程+阻塞I/o
#include<stdio.h>
#include<sys/socket.h>
#include<netinet/in.h>
#include<string.h>
#include<error.h>
#include<errno.h>
#include<stdlib.h>
#include<unistd.h>
#include<thread>
#define SERV_PORT 43211
#define LISTENQ 1024
#define MAX_LINE 1024
int tcp_server_listen(int port){
int listen_fd;
listen_fd... | [
"zhoujianhui@shu.edu.cn"
] | zhoujianhui@shu.edu.cn |
aa3116e72bf37b99217a784bf4703ec93c3e8b68 | c157ae97762cdef9805d7fdbb6be36f998ed02ba | /src/recipe_storage.cpp | dd180f91dbd0473ef67b2dfa4f5bf1cafb427ac4 | [] | no_license | Chirurgus/cookbox_server_cpp | 50a9868a38888c7c50681043172c562770d31053 | b45414ed22854e371c437b7dc58249e0dd8c4fad | refs/heads/master | 2021-04-12T09:03:18.876128 | 2018-06-07T19:06:52 | 2018-06-07T19:06:52 | 126,232,210 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,052 | cpp | /*
* Created by Alexander Sorochynskyi
* on 6/04/18
*
*/
#include <recipe_storage.h>
namespace storage {
const RecipeDatabaseHelper::string_type RecipeDatabaseHelper::recipe_tbl {"recipe"};
const RecipeDatabaseHelper::string_type RecipeDatabaseHelper::id_col {"id"};
const RecipeDatabaseHelper::string_type Recipe... | [
"sasha.sashaxl@gmail.com"
] | sasha.sashaxl@gmail.com |
bfd54f610d50ffa4c8b892117ec90aed9144e58d | f5b936c57a82a479983a2adc71c2abe7d6b3ec9b | /URI/iso.cpp | 8433c3e0819b5f59b96a836442f43903813404bc | [] | no_license | FranciscoThiesen/OldProblems | 002e2099fcb7f0c874f3d8927a60d1644521bbdf | 809747fceb5a75127aae832697d6f91b63d234f5 | refs/heads/master | 2021-08-31T16:20:28.969377 | 2017-12-22T02:07:05 | 2017-12-22T02:07:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,612 | cpp | #include <cmath>
#include <climits>
#include <queue>
#include <vector>
#include <map>
#include <cstdlib>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream> // istringstream buffer(myString);
#include <stack>
#include <algorithm>
#include <cstring>
#include <cassert>
using namespace std;
... | [
"franciscogthiesen@gmail.com"
] | franciscogthiesen@gmail.com |
a97b43a8c5535d897c3eb782d6107a70eb96f4a1 | 0463665bc035967e3d2319d9e5cc80f65c9ac625 | /opensc.cpp | b2f6c05cc3d7e10fbea8bf3b1441d5e9006a0313 | [] | no_license | sshen3/opensc | 6dbb3ed586bf4db72a3b88bf731fa01ccaf2d987 | cf6f39201f6eba530eb4d5a72b5994ce7baf6fc5 | refs/heads/master | 2021-01-10T03:43:51.930996 | 2015-12-09T02:37:58 | 2015-12-09T02:37:58 | 47,663,375 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,340 | cpp | #include "opensc.h"
#include <string.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <netdb.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
vector < string > cutToken(string input, string ss){
vector < string > token;
int len =... | [
"sunhsung@yahoo.com.tw"
] | sunhsung@yahoo.com.tw |
7037adde812ee5ed1fc972c1f91fd3a7019a89d0 | dc23eb8e14659ab8bb62001a3b3323cb50c2a8ef | /system/tools/aidl/aidl_language.cpp | 547816aedf2ca89e478beb4157917990bdcb293f | [
"Apache-2.0"
] | permissive | wudeven/cells-android10 | e49c0c830da7041313289349e160385df5d12ef8 | d18dfa3ab597a37b8b71a14f094ba5b8afc75a93 | refs/heads/master | 2023-08-16T06:47:55.804251 | 2021-10-16T05:41:01 | 2021-10-16T05:41:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,716 | cpp | #include "aidl_language.h"
#include "aidl_typenames.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <algorithm>
#include <cassert>
#include <iostream>
#include <set>
#include <sstream>
#include <string>
#include <utility>
#include <android-base/parsedouble.h>
#include <android-base/parseint.h>
... | [
"jianglin@xdja.com"
] | jianglin@xdja.com |
f35dbbc44f6c737ead813572f017bf60848c5d69 | e4433aae783f1d842d061a3d2d48566bf76e70aa | /src/asmjit/src/asmjit/x86/x86regalloc.cpp | e548757d7e6c5d5cb87da0b99163d2315f4cfe66 | [
"Zlib",
"LicenseRef-scancode-proprietary-license",
"MIT"
] | permissive | cedar-lang/cedar | bd33d33706ed19861b9760ad88333679a7afd738 | 04b13546d8520dcd7a01983a4a88408348a245f8 | refs/heads/master | 2020-04-10T21:11:23.053728 | 2019-04-20T01:16:20 | 2019-04-20T01:16:20 | 161,290,172 | 3 | 0 | MIT | 2019-03-17T19:58:34 | 2018-12-11T06:51:32 | C++ | UTF-8 | C++ | false | false | 135,085 | cpp | // [AsmJit]
// Complete x86/x64 JIT and Remote Assembler for C++.
//
// [License]
// Zlib - See LICENSE.md file in the package.
// [Export]
#define ASMJIT_EXPORTS
// [Guard]
#include "../asmjit_build.h"
#if defined(ASMJIT_BUILD_X86) && !defined(ASMJIT_DISABLE_COMPILER)
// [Dependencies]
#include "../base/cpuinfo.h"
... | [
"nickwanninger@gmail.com"
] | nickwanninger@gmail.com |
750fa5950ebcbb7c494ec3906416b0b1e336252b | 3624e9f0a026b57ebdafa4e842b93f56e5a8504d | /SPOJ/Random/NUMTSN/brute.cc | 631f55e16662052ac1397f583774918ea7931884 | [
"MIT"
] | permissive | ailyanlu1/Competitive-Programming-2 | 54109c8644d3ac02715dc4570916b212412c25c0 | 6c990656178fb0cd33354cbe5508164207012f24 | refs/heads/master | 2020-03-23T07:48:20.560283 | 2018-02-15T06:49:49 | 2018-02-15T06:49:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,685 | cc |
#include <bits/stdc++.h>
#define sd(x) scanf("%d",&x)
#define sd2(x,y) scanf("%d%d",&x,&y)
#define sd3(x,y,z) scanf("%d%d%d",&x,&y,&z)
#define fi first
#define se second
#define pb push_back
#define mp make_pair
#define foreach(it, v) for(auto it=(v).begin(); it != (v).end(); ++it)
#define _ ios_base::sync_with_std... | [
"adityapaliwal95@gmail.com"
] | adityapaliwal95@gmail.com |
c409c1e35e04cbb67adea281bdf5f897ec279a3d | 836b7863ef6cd5e181cbd3a2b7fbcd15c8236ced | /cyclops/Skybox.h | a746f239133c14951d6706c4de6d82c859f32d25 | [] | no_license | omega-hub/cyclops | 54773e4e8bd772f45c4458ec9a0356b2664b385a | 2ad0c7546756a9f52a12cd16c4b8b40522b78d94 | refs/heads/master | 2021-01-18T22:41:32.044056 | 2016-05-20T22:51:49 | 2016-05-20T22:51:49 | 13,288,353 | 2 | 2 | null | 2014-07-13T01:22:04 | 2013-10-03T02:10:26 | C++ | UTF-8 | C++ | false | false | 3,185 | h | /**************************************************************************************************
* THE OMEGA LIB PROJECT
*-------------------------------------------------------------------------------------------------
* Copyright 2010-2015 Electronic Visualization Laboratory, University of Illinois at Chicago
... | [
"febret@gmail.com"
] | febret@gmail.com |
f5fdcec401468ca182e5a9a847267d98d42523c3 | a53f8d2859477f837c81f943c81ceed56cf37238 | /IDTF/Common/ModelNode.h | 188ac9d5d1b240bbb6ca74b63de24e983c05fa1c | [
"Apache-2.0"
] | permissive | ClinicalGraphics/u3d | ffd062630cde8c27a0792370c158966d51182d4d | a2dc4bf9ead5400939f698d5834b7c5d43dbf42a | refs/heads/master | 2023-04-13T17:25:55.126360 | 2023-03-30T07:34:12 | 2023-03-31T18:20:43 | 61,121,064 | 11 | 5 | Apache-2.0 | 2023-09-01T04:23:31 | 2016-06-14T12:29:13 | C++ | UTF-8 | C++ | false | false | 3,057 | h | //***************************************************************************
//
// Copyright (c) 1999 - 2006 Intel Corporation
//
// 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
//
// ... | [
"ningfei.li@gmail.com"
] | ningfei.li@gmail.com |
b4d99e1903ded8fe6a371c2fa292c5980931ffa1 | 51662fcd667b3661e12a4f785bfd9c5880d23f54 | /exemplos/8_Apontadores/valores.cpp | b04c9b359c4a5d6e682c9c79187c4ecf68a292ea | [
"CC0-1.0"
] | permissive | danielgs83/cpe-unb | eb26390c6c5a5c11a47c3afe86329320abc6bcb7 | f958d2a4899a8d4d5c1465637d1d1b10610661e4 | refs/heads/main | 2023-06-23T09:16:23.113919 | 2021-07-14T22:36:51 | 2021-07-14T22:36:51 | 386,026,268 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 254 | cpp | #include <iostream>
using namespace std;
int main() {
int x;
int *ap_x = &x;
x = 100;
cout << "Valor de x = " << *ap_x << endl;
*ap_x = 200;
cout << "Valor de x = " << *ap_x << endl;
cout << "Valor de x = " << x << endl;
return 0;
}
| [
"danielgs@MacBook-Pro-de-Daniel.local"
] | danielgs@MacBook-Pro-de-Daniel.local |
86d145580eb028d9ce2d48114800fe7ca99ad06d | ba2e95dc3bfc554df4d27fa6aa95e96b08a24f04 | /common.h | 466f838a0ba3c190e768027210fe3ca4aa6d1ada | [] | no_license | JIHYEPA/LINBO | 4c913f0fee1b56ddac786c9a838a933b11bc3126 | 6c929315fd9c79d0e6273d625139bf855bb8fbb5 | refs/heads/master | 2021-05-19T23:42:01.178991 | 2020-04-01T06:26:15 | 2020-04-01T06:26:15 | 252,088,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,777 | h | #pragma once
#include <string>
enum ECheckPoint
{
eCheckPoint1,
eCheckPoint2,
eCheckPoint3,
eCheckPoint4,
eCheckPoint5
};
enum ETag
{
eTag_Player,
eTag_Grass, //id = 1
eTag_Collider, //id = 2
eTag_Trap, //id =3
eTag_AutoMovement, // id = 4
eTag_Niddle,
eTag_Spider,
eTag_Rock,
eTag_Corpse,
eTag_SquareR... | [
"50563805+JIHYEPA@users.noreply.github.com"
] | 50563805+JIHYEPA@users.noreply.github.com |
1101dc67afa157c1e6f852c5d430339f6e61d9f9 | 98d28b3a48b6e5e21c92b37031dd864fe3adec25 | /src/tools/instrumenter/scorep_instrumenter_cuda.hpp | 8f61f01195d2f5430ce2a46690d78cd2ea9457d8 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jplehr/score-p-v6 | 3301b6cbb4deabffafe424ea32c288cd82879ce4 | cc6028b152086f4ffce0bef4ab2547966bfa7955 | refs/heads/main | 2022-11-28T05:17:22.290022 | 2022-02-22T16:24:29 | 2022-02-22T16:24:29 | 229,740,305 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,386 | hpp | /*
* This file is part of the Score-P software (http://www.score-p.org)
*
* Copyright (c) 2013,
* Forschungszentrum Juelich GmbH, Germany
*
* This software may be modified and distributed under the terms of
* a BSD-style license. See the COPYING file in the package base
* directory for details.
*
*/
#ifndef... | [
"jp.lehr@gmail.com"
] | jp.lehr@gmail.com |
630cac37066ae0e879a151a208bbc0b457b30b65 | b5ad428abd2dd1f541a2d442e2246e98653ecfd4 | /third_party/mlir/lib/TableGen/Constraint.cpp | 96f49bf12cae9b348d1315a1cff02393e33dfdae | [
"Apache-2.0"
] | permissive | Yasserrahim/tensorflow | 3e6ff4e59b4312c6fbb14d39f887a828dd3be0a0 | 6f2672744a91d78a5a4a289b65805ffd0c14ffe8 | refs/heads/master | 2020-06-27T19:52:53.555660 | 2019-08-01T09:58:01 | 2019-08-01T10:04:13 | 200,027,678 | 1 | 0 | Apache-2.0 | 2019-08-01T10:12:46 | 2019-08-01T10:12:45 | null | UTF-8 | C++ | false | false | 2,235 | cpp | //===- Constraint.cpp - Constraint class ----------------------------------===//
//
// Copyright 2019 The MLIR Authors.
//
// 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.... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
20c01936389e20b770b50a1e7a173ceed1f6aba9 | 4de50e7c9d2f23ab0a377e1448023324cacb20af | /trunk/Shared/src/multview.cpp | a9f30f2c5e3bc75ab93a2c558830afc2ec9d427e | [
"BSD-3-Clause"
] | permissive | letoh/microwindows | 45d7287a8916a80963471c424d3ce6fa47e894ad | ffff257aeca33bc13ffebcba25e04e9c5d70dcff | refs/heads/master | 2021-06-21T13:08:20.490367 | 2017-07-21T13:33:02 | 2017-07-21T13:33:02 | 97,950,459 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,124 | cpp | //
// Micro Windows Implementation
// multview.cpp
//
// $Revision: 1.4 $
// $Source: P:/MWINDOWS/LIB/rcs/multview.cpp $
// $Date: 1993/11/27 09:53:32 $
//
#include "multview.h"
#include "viewlist.h"
#include "message.h"
#include "model.h"
#include "global.h"
#include "shape.h"
MultiView::MultiView (R... | [
"letoh.tw@gmail.com"
] | letoh.tw@gmail.com |
6ea6e558e07f739e9c0e56b0740b569bba9d28c6 | af0ecafb5428bd556d49575da2a72f6f80d3d14b | /CodeJamCrawler/dataset/14_7515_25.cpp | 1b82470595b2a011670b9441b17592b3f8a1bde6 | [] | no_license | gbrlas/AVSP | 0a2a08be5661c1b4a2238e875b6cdc88b4ee0997 | e259090bf282694676b2568023745f9ffb6d73fd | refs/heads/master | 2021-06-16T22:25:41.585830 | 2017-06-09T06:32:01 | 2017-06-09T06:32:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,100 | cpp | #include<iostream>
#include<vector>
using namespace std;
int main()
{
int T;
int N = 4;
cin >> T;
for (int tCase = 1; tCase <= T; tCase++)
{
int row1;
cin >> row1;
vector<int> values = vector<int>(N);
for (int i = 0; i < N; ++i)
{
for (int j = 0; j < N; ++j)
{
... | [
"nikola.mrzljak@fer.hr"
] | nikola.mrzljak@fer.hr |
54351b08c79b90b9133fa5ed3f04b0fbf40e1cfd | 939e2bf9da21ef16f60d418b21ef91601ae03cff | /src/Api/AckToDevicePacket.h | 43690f2e933ad4e883d5b42b3e9bdab1d9b2b105 | [] | no_license | ThingifyIOT/ThingifyEsp | 3820418a3c4adfc610f75135fc84b7efcad97a64 | 1844dd196b4e02266be0a888b46ecab2e2440829 | refs/heads/master | 2023-08-07T04:30:43.798009 | 2023-07-30T14:55:30 | 2023-07-30T14:55:30 | 203,222,935 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 261 | h | #ifndef _ACK_TO_DEVICE_PACKET_H
#define _ACK_TO_DEVICE_PACKET_H
#include "PacketBase.h"
class AckToDevicePacket : public PacketBase
{
public:
ThingifyPacketType PacketType() override
{
return ThingifyPacketType::AckToDevice;
}
int PacketId;
};
#endif
| [
"toomasz@gmail.com"
] | toomasz@gmail.com |
6f0aa36f80eec5dc973a6a3ee6f3be06ee9282e3 | 914bd16dc57beb03fcd8ca0ebc88e713df673c3f | /squiggleHairSkel/src/hair.hpp | a83aea819cf85a583ff754608b6ea7ee88c7d6e0 | [] | no_license | mattvisco/squiggle | f80f4835a73f9e37cce51578a8d8d791fc8ad8fc | 1b57d42f6e854848c3fd6b3ffe4581fb02c10902 | refs/heads/master | 2020-04-06T06:53:40.084131 | 2016-09-14T16:03:30 | 2016-09-14T16:03:30 | 65,639,310 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 601 | hpp | //
// hair.hpp
// squiggleHairSkel
//
// Created by Matthew Visco on 9/7/16.
//
//
#ifndef hair_hpp
#define hair_hpp
#include "ofMain.h"
#include "particle.h"
struct CircleObj {
ofPoint origin;
int radius;
};
class hair{
public:
hair();
void setup(int num, float d, ofPoint pos);
... | [
"mattvisco@mac.com"
] | mattvisco@mac.com |
52b9f46436c1485770f87aedf274ba0165572e88 | 7f72126a279fd065403081a768d4fe55b1c834c8 | /examples/kortex_api/include/common/KDetailedException.h | 37326be42b25877f01d2994678a644e2efa05295 | [
"BSD-3-Clause"
] | permissive | xiaoyaozi2005/api_cpp | 29aa12245f0a36d997a206419aeebefaa16481bd | 8ea2b5657f3560ae8f34f226c112e1e31faa3aa2 | refs/heads/master | 2022-12-23T21:44:33.799870 | 2020-09-20T09:58:46 | 2020-09-20T09:58:46 | 297,042,240 | 1 | 0 | null | 2020-09-20T09:58:48 | 2020-09-20T09:26:31 | C++ | UTF-8 | C++ | false | false | 788 | h | #ifndef KINOVASERVEREXCEPTION_H
#define KINOVASERVEREXCEPTION_H
#include <string>
#include <sstream>
#include "KBasicException.h"
#include <Frame.pb.h>
#include "KError.h"
#include "HeaderInfo.h"
namespace Kinova
{
namespace Api
{
class KDetailedException : public KBasicException
{
public:
KDet... | [
"zdbdtc8888@gmail.com"
] | zdbdtc8888@gmail.com |
99a89334346df4d17ad502b67adc95dc8e247ad4 | ec68c973b7cd3821dd70ed6787497a0f808e18e1 | /Cpp/SDK/ArmorSkill_TriggerOnHit_classes.h | ac9d519ce84e110bfb63fa7f8f59f43a1d09757e | [] | no_license | Hengle/zRemnant-SDK | 05be5801567a8cf67e8b03c50010f590d4e2599d | be2d99fb54f44a09ca52abc5f898e665964a24cb | refs/heads/main | 2023-07-16T04:44:43.113226 | 2021-08-27T14:26:40 | 2021-08-27T14:26:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 807 | h | #pragma once
// Name: Remnant, Version: 1.0
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//------------------------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
3c55cde8874ea5db4f8d55e13df41686c1e58735 | 62469c88a05841625d06cb251b20038bec8f9c7d | /Lab1/countOnes.cpp | 9792d48eeea3877abc495355e96e062fe57d58ae | [] | no_license | Roxanne1225/Verilog-C | 5b066f21e9dfd10666c76e8f39a3557c6cfe26f3 | d16e87e38974349d5f26ea612373ab9fdb767d25 | refs/heads/master | 2020-07-26T12:44:44.437866 | 2019-09-15T19:49:11 | 2019-09-15T19:49:11 | 208,648,340 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,206 | cpp | /**
* @file
* Contains an implementation of the countOnes function.
*/
unsigned countOnes(unsigned input) {
// TODO: write your code here
unsigned right1 = 0x55555555;
unsigned left1 = 0xAAAAAAAA;
unsigned right2 = 0x33333333;
unsigned left2 = 0xCCCCCCCC;
unsigned right3 = 0x0F0F0F0F;
unsigned left3 = 0xF0F... | [
"noreply@github.com"
] | Roxanne1225.noreply@github.com |
01eb7c8c8781f5c8abf8113c1266f32004aee88e | 1c5007b5a36445c63176f2c23964afd4cb82880c | /SDL_Tmplt/SDL_Tmplt/main.cpp | 10f81780b05a48c53deeae366d6a80183ba1a403 | [] | no_license | lbandy/runeGame | 2d9a9616bec40685f567c300924a354bd9144298 | bad2f019ac8532bae00194a2ee6af62d41dbaf5b | refs/heads/master | 2021-01-06T20:36:52.572122 | 2012-12-23T22:13:50 | 2012-12-23T22:13:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 182 | cpp | // SDL_Tmplt.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
int _tmain(int argc, _TCHAR* argv[])
{
Core theApp;
return theApp.OnExecute();
}
| [
"lbandy3@gmail.com"
] | lbandy3@gmail.com |
dea67a765a102b5638c57ab8b2db36cf709444a4 | 9ec67e83200f643f9f55ed90e0b2cae4581ebcb6 | /TestLib/Words.h | 825f37b096cb0550797655dca7826d3542cfdd6c | [] | no_license | andrewpaterson/Codaphela.Library | 465770eaf2839589fc305660725abb38033f8aa2 | 2a4722ba0a4b98a304a297a9d74c9b6811fa4ac5 | refs/heads/master | 2023-05-25T13:01:45.587888 | 2023-05-14T11:46:36 | 2023-05-14T11:46:36 | 3,248,841 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 527 | h | #ifndef __WORDS_H__
#define __WORDS_H__
#include "BaseLib/ArrayChars.h"
extern CArrayChars gaszArchaicWords;
extern CArrayChars gaszArchaicDefinitions;
extern CArrayChars gaszCommonWords;
class CRandom;
void GetArchaicDefinitions(CArrayChars* pasz);
void GetArchaicWords(CArrayChars* pasz);
void Get... | [
"andrew.ian.paterson@gmail.com"
] | andrew.ian.paterson@gmail.com |
e516090016b5191cb50f89a750af4fd04f8b692c | 4c7490613294bd5dd3e7b0ab87781a8d234e948d | /source/Events/MouseClickEvent.cpp | 79c84be5107c2da5112e61ffea45700e66da7ae8 | [] | no_license | atwamahmoud/tears_engine | 55fc481dfbd7f133820dd5a8e9b09a0471015b23 | b1407db961377ace2d69b50deef67e509d0209d1 | refs/heads/master | 2023-02-01T23:34:58.133003 | 2020-12-07T09:00:27 | 2020-12-07T09:00:27 | 309,471,756 | 0 | 0 | null | 2020-12-07T09:00:28 | 2020-11-02T19:18:37 | Makefile | UTF-8 | C++ | false | false | 539 | cpp | //
// Created by atwa on 11/7/20.
//
#include "MouseClickEvent.h"
MouseClickEvent::MouseClickEvent() = default;
int MouseClickEvent::addCallback(std::function<void(EntityManager &, int)> func) {
this->callbacks[count] = func;
return this->count++;
}
void MouseClickEvent::trigger(int key, EntityManager &manager)... | [
"m.atwa@hotmail.com"
] | m.atwa@hotmail.com |
07e4c165f091f2806c7f6b8d9bcc26c4242ba381 | 59f22160c25102edbae50773c5df601a98a74a04 | /GFG-GeeksForGeeks/Nuts and Bolts Problem.cpp | 9aaa6c92fe505eda87cb4b6117aa25a29dde5978 | [] | no_license | Brehm1983/Coding-Tree | 1826f5701548223683735566122c7aa192f2eefa | c3a5c6ec98e9f06786fdc440563b333d662d2e94 | refs/heads/master | 2023-07-06T14:37:42.174220 | 2020-10-22T17:12:37 | 2020-10-22T17:12:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 515 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin>>t;
while(t--){
int n;
cin>>n;
char nut[10];
char bolt[10];
for(int i=0;i<n;i++){
cin >> nut[i];
}
for(int i=0;i<n;i++){
cin >> bolt[i];
}
sort(nut,nut+n);
sort(bolt,bolt+n);... | [
"noreply@github.com"
] | Brehm1983.noreply@github.com |
89139363684e915b94406ea663abce28d5041196 | b4d8f2fa73b124c32193bf7cdb2b8aeff7699bc5 | /src/main.cpp | 95fcd68f1087e84acd3094d4836bf57c6eaa5d52 | [] | no_license | AntonNM/RedBird | 4e2e6dad4cc423127f5e7505e4685b188e257ea5 | 3943177326dc51b1778bdb3f65fd238b71928689 | refs/heads/master | 2022-03-21T00:01:15.647818 | 2022-02-19T23:10:13 | 2022-02-19T23:10:13 | 233,654,456 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,735 | cpp | /*
* main.cpp
*
* Created on: March 4, 2021
* Author: Anton Mladenov
*/
#include <iostream>
#include <stdio.h>
#include <vector>
#include "board.h"
#include "Piece.h"
#include "PositionVector.h"
#include "pathVector.h"
#include "node.h"
#include <time.h>
using namespace std;
class engine {
node ... | [
"anton.mladenov@gmail.com"
] | anton.mladenov@gmail.com |
dc87cd38b5501d544bf03c828dc37db0b9adf6ed | 860ccb2a02d6269b1de1bec6e289f65c03c9d55a | /projects/caesar/aead/shell/shellaes128v1d8n80/shellaes128v1d8n80_shellaes.cpp | ab875c1c76a3dd7d3e930ad873dbea769f20511b | [] | no_license | Vieteg/EACirc | bf536a80a09cb3b9d8202bf2948f3f65aa105226 | b69f5f970f0d8ec26668262519306fc2837758f4 | refs/heads/master | 2020-12-27T12:02:43.760581 | 2015-09-18T17:19:05 | 2015-09-18T17:19:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 33,046 | cpp | namespace Shellaes128v1d8n80_raw {
int numRounds = -1;
/*
* SHELL-AES Reference C Implementation
*
* Copyright 2014:
* Lei Wang <wang.lei@ntu.edu.sg>
* <shellaemode@gmail.com>
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public L... | [
"mukrop@mail.muni.cz"
] | mukrop@mail.muni.cz |
233adcf00704d12da29d6958d25d889b6d061d6e | 5107e9eccb45fcce5def7c4ecbec3281226242db | /compres.cpp | 287f5b0c34328d5cfdf31fddf54dd5f8e5b56f8a | [] | no_license | qbolec/c | 1b2b0276497f60f5b117c1393d828b8c4dc16dc2 | 52a6144c68def40748f37e8862edde16d23a4e1d | refs/heads/master | 2020-06-08T23:07:37.339071 | 2009-09-30T07:29:00 | 2009-09-30T07:29:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,932 | cpp | #include <iostream.h>
#include <fstream.h>
ifstream qin;
ofstream qout;
struct treenode
{
treenode * child[2];
unsigned long stats;
unsigned char character;
};
struct dictform
{
unsigned char fullbyte[32];
unsigned char fbc;
unsigned char bits[8];
unsigned char bc;
};
unsigned char stackbits[256];... | [
"qbolec@gmail.com"
] | qbolec@gmail.com |
61720405cf177cab52a93db74c7b10f308a21845 | 8931697264e278b16fb4dea9e533a02bb16733ae | /UI-Library/ringsdk/include/ringlist.h | af1b9fecdf18b424ba0ae160ca7ba62b82592bc0 | [] | no_license | yyq453/UI-Library | 434870a721b7c733c62185b5a7c51447caff504b | b1ffafdb00f8386c3fe0c4e63cb0c065c49cffd7 | refs/heads/master | 2020-05-26T21:55:25.442599 | 2015-12-02T05:24:04 | 2015-12-02T05:24:04 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,554 | h | /**********************************************************************
//
//
// ########## ###### ######### # ###### #
// ############# ########### ######### ######### ###
// ######## # ### ## ############# ## ## ##### # ####
// ... | [
"tianjigezhuhn@aliyun.com"
] | tianjigezhuhn@aliyun.com |
66857b750b3a35e9b02795d2e649d1be043a20c7 | 7e48d392300fbc123396c6a517dfe8ed1ea7179f | /RodentVR/Intermediate/Build/Win64/RodentVR/Inc/Engine/CameraModifier_CameraShake.generated.h | 82e937758f2f148b159dcd0acdca9169e059b973 | [] | no_license | WestRyanK/Rodent-VR | f4920071b716df6a006b15c132bc72d3b0cba002 | 2033946f197a07b8c851b9a5075f0cb276033af6 | refs/heads/master | 2021-06-14T18:33:22.141793 | 2020-10-27T03:25:33 | 2020-10-27T03:25:33 | 154,956,842 | 1 | 1 | null | 2018-11-29T09:56:21 | 2018-10-27T11:23:11 | C++ | UTF-8 | C++ | false | false | 6,185 | h | // Copyright Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
========================================================================... | [
"west.ryan.k@gmail.com"
] | west.ryan.k@gmail.com |
2b5a1dff129a7f375dbb25b5fad43802dbd36e93 | 84ef3bfcad59d8483cc67ad7d8f5bf5c2d3359a5 | /C++/GameStudy/MetalMax/mimo_game_state_machine.h | ab7b6fb2633044d163f6df37d0beb8fdb6b2645b | [] | no_license | OkabeRintarou/syl | 5a1d1d82e27862ceb6228e3d1b1c6dc758e4716d | 29ba8dc6f8cc15e0d152afa2ad9f73ac03273e02 | refs/heads/master | 2022-11-12T16:02:08.642890 | 2022-09-17T14:56:42 | 2022-09-17T14:56:42 | 19,501,094 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 502 | h | #ifndef _MIMO_GAME_STATE_MACHINE_
#define _MIMO_GAME_STATE_MACHINE_
#include "mimo_include.h"
#include "mimo_game_state.h"
namespace mimo{
class game_state_machine
{
public:
void push_state(game_state * state);
void change_state(game_state * state);
void pop_state(void);
void update(void);
void render(v... | [
"2496773493@qq.com"
] | 2496773493@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.