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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0005ccc198b7bc0908027fb27d0013c7905a9f9f | bffa05009ee1947d85a7f6c452dc54e8bf265682 | /BEEngine/include/BEResourceManager.h | 8df009ad87d2a9f759ced21f5e7ae46e7abc52a4 | [] | no_license | lalortiz95/BlackEngine | 4fd2aab91ac1359eb32f654f8734dacbb3908c84 | a038fd13d8d57589f4ee9ac6504a86f5c34b89dc | refs/heads/master | 2020-12-30T15:54:37.609757 | 2017-09-28T03:12:51 | 2017-09-28T03:12:51 | 91,183,217 | 0 | 0 | null | null | null | null | IBM852 | C++ | false | false | 728 | h | #pragma once
#include "BEResource.h"
#include <BEModule.h>
namespace BlackEngine
{
class BEGraphicsAPI;
class BE_ENGINE_EXPORT BEResourceManager : public Module<BEResourceManager>
{
public:
///Default constructor and destructor.
BEResourceManager();
~BEResourceManager();
void Initialize();
void Destr... | [
"idv14c.cortiz@uartesdigitales.edu.mx"
] | idv14c.cortiz@uartesdigitales.edu.mx |
51c12b67d38c2e8cc4b22743eee53c8a94fa776e | c50794376cf2b7fe96a853091af95976b9880cf3 | /kendryte-freertos-demo-master/shared/tensorflow/lite/tools/make/downloads/absl/absl/hash/internal/hash.h | 466299ed48fa98d11c0ebeb8564388c5a49c7a25 | [] | no_license | liren197968/GameConsole | 475ba1582c03dd86790f05be9ff326c5ad0f5699 | 05321c7bdd43b87d3b1fb6174201e9a014c7782c | refs/heads/main | 2023-03-10T08:29:26.317042 | 2021-02-18T15:33:50 | 2021-02-18T15:33:50 | 340,085,445 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,765 | h | // Copyright 2018 The Abseil 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.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law... | [
"1979379768@qq.com"
] | 1979379768@qq.com |
56d4440295c17c92ca2c93168eb3712cdc00009b | 66dfa5fd4b45da193737b689ba5560d5708f049d | /source/LibFgBase/src/FgMain.cpp | 21a2002bde392535a13263e13562bb79985d6057 | [
"MIT"
] | permissive | lonelyWaiting/FaceGenBaseLibrary | 4a59d2a84d3416ac4253c912e09b76891f9d8aeb | b3594184e66f30cb7377ede4039b6a7085b8c9de | refs/heads/master | 2020-12-25T22:07:21.105068 | 2016-05-17T18:25:42 | 2016-05-17T18:25:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,015 | cpp | //
// Copyright (c) 2015 Singular Inversions Inc. (facegen.com)
// Use, modification and distribution is subject to the MIT License,
// see accompanying file LICENSE.txt or facegen.com/base_library_license.txt
//
// Authors: Andrew Beatty
//
#include "stdafx.h"
#include "FgMain.hpp"
#include "FgDiagnostics.hpp"
#inclu... | [
"abeatty@facegen.com"
] | abeatty@facegen.com |
f80534ba7e8b321384b64aa7dde22e247721bec7 | a49413c32519c269b6e4c6d6abe4611f7ef88990 | /cpp/ItemController.h | ff6c372b5d7c65ace01a69d93b7fb8e954fdae87 | [
"MIT"
] | permissive | 0ndorio/kata_gilded_rose | 92cf85b2157a2c6b777f1658cb108568df29eaaa | 968716207192c37fd9601c7707e4d5119d62cb36 | refs/heads/master | 2021-01-13T01:04:29.482120 | 2016-04-27T22:00:51 | 2016-04-27T22:06:43 | 55,439,966 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 611 | h | #ifndef ITEM_CONTROLLER_H
#define ITEM_CONTROLLER_H
#include <map>
#include <string>
#include <vector>
#include "Item.h"
class ItemController
{
public:
enum class SpecialItem {
NONE, AGED_BRIE, BACKSTAGE_PASS, SULFURAS
};
static const std::map<const SpecialItem, const std::string> names... | [
"bruno.kirschner@online.de"
] | bruno.kirschner@online.de |
8430d667557bca9ecf90ab09651f765d271d418c | c776476e9d06b3779d744641e758ac3a2c15cddc | /examples/litmus/c/run-scripts/tmp_1/ISA2+dmb.st+dmb.sy+po.c.cbmc.cpp | 39c918682f3ee5764d59400da292febb1f58001a | [] | no_license | ashutosh0gupta/llvm_bmc | aaac7961c723ba6f7ffd77a39559e0e52432eade | 0287c4fb180244e6b3c599a9902507f05c8a7234 | refs/heads/master | 2023-08-02T17:14:06.178723 | 2023-07-31T10:46:53 | 2023-07-31T10:46:53 | 143,100,825 | 3 | 4 | null | 2023-05-25T05:50:55 | 2018-08-01T03:47:00 | C++ | UTF-8 | C++ | false | false | 43,109 | cpp | // 0:vars:3
// 3:atom_1_X0_1:1
// 4:atom_2_X0_1:1
// 5:atom_2_X2_0:1
// 6:thr0:1
// 7:thr1:1
// 8:thr2:1
#define ADDRSIZE 9
#define NPROC 4
#define NCONTEXT 1
#define ASSUME(stmt) __CPROVER_assume(stmt)
#define ASSERT(stmt) __CPROVER_assert(stmt, "error")
#define max(a,b) (a>b?a:b)
char __get_rng();
char get_rng( ch... | [
"tuan-phong.ngo@it.uu.se"
] | tuan-phong.ngo@it.uu.se |
6568ce76f98645abb0d2167e9fd7b803fe94e1b1 | 3beea0b47160b4ea44fba0db7730abc1196a5b25 | /examples/example/example.ino | f46f1afab271af89142a232b6a08bedfd50d1135 | [] | no_license | huangshaun/ESP8266_ILI9341_QRCODE | 79b9cbc01ce018f4ac39ab15e63295b44bb3e406 | d9cce588f3844eb378ef7b7216d24d19d084478e | refs/heads/master | 2021-01-18T07:24:50.135499 | 2017-03-16T02:09:25 | 2017-03-16T02:09:25 | 84,288,514 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 825 | ino | /* *********************************************************************************
* ESP8266 QRcode
* dependency library :
* ESP8266 TFT Driver for ili9341 SPI display
*
* LCD_SCK --> D5
* LCD_CS --> D2
* LCD_SDI --> D7
* LCD_SDO --> D6
* LCD_DC --> D1
* LCD_RST --> RST
**********************************... | [
"ayabreay2@hotmail.com"
] | ayabreay2@hotmail.com |
73aa598320f9a738ab7b2f9c4628a6f8b2c64cfd | 830f2fb3a85ef09eabdaff75180bc0ae12fca050 | /vEngine/vPass.h | fc60dec7ac89f706f7cab662837bc0951efa4f1e | [] | no_license | WeyrSDev/vEngine-b | abe8d34cbb75e9f50fa5d678e95e44dcc5bbd88c | f41ca718fbed00f5c143a7b2158f821274b2c020 | refs/heads/master | 2021-05-14T12:24:10.422201 | 2018-02-03T23:34:00 | 2018-02-03T23:34:00 | 116,407,958 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 726 | h | #pragma once
#include "vInclude.h"
namespace vEngine {
class Engine;
class Technique;
class Pass {
public:
Pass(Engine& game, Technique& technique, ID3DX11EffectPass* pass);
private:
Pass(const Pass& rhs);
Pass& operator=(const Pass& rhs);
public:
Technique& GetTechnique();
ID3DX11EffectPass* GetPass()... | [
"damian_yarker@hotmail.com"
] | damian_yarker@hotmail.com |
a80129686288d3387ae4b8b83dbaeba4519b9395 | ebe37c98061f115d5c3307af3731360da537c8b2 | /Practice/36/C++/36/main.cpp | 88fbeb378e2b3f2132467e7c87f35a502542dcec | [] | no_license | FaeLeFly/Programming | 1d3cec1e2e29f0fa448b40c7a8f9c3be6f29b88e | b5ef566948428dfcf333f93e483620490fa352d0 | refs/heads/master | 2023-04-29T07:45:50.242403 | 2021-05-17T12:45:40 | 2021-05-17T12:45:40 | 296,833,804 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,637 | cpp | #include <iostream>
#include <string>
#include <fstream>
#include <vector>
#include <algorithm>
#include <cmath>
const auto PI = 3.141592653589793;
class Point{
enum system_coord{Cartesian, Polar};
double a1, a2;
system_coord coord_system;
std::string thing;
public:
Point(double a1 = 0, double a2... | [
"contriigor@gmail.com"
] | contriigor@gmail.com |
eaa4d82a92e96c86730fce6e715cd2fb02aed441 | 084454708583f973177dd8afc3ed1a3d87f42470 | /2021 Rocky Mountain Regional Programming Contest/I.cpp | d9cce420e7630e08c2966e6c29bb2c4eba5b1e4d | [] | no_license | truongcongthanh2000/TrainACM-ICPC-OLP | 53b0ac9de5c7f7794969bbf4f0849549357990cb | 6f5ebc7ef65ca26a332c1f69e25989f2cbe379f4 | refs/heads/master | 2022-12-12T05:53:40.785634 | 2022-12-10T09:28:09 | 2022-12-10T09:28:09 | 233,577,493 | 62 | 26 | null | null | null | null | UTF-8 | C++ | false | false | 2,428 | cpp | #define _USE_MATH_DEFINES
#include <bits/stdc++.h>
using namespace std;
#define INP "input"
#define OUT "output"
/* some template */
template<typename T>
std::ostream& operator<<(std::ostream& out, const std::vector<T>& a) {
out << (int)a.size() << '\n';
for (const auto& v : a) out << v << ' ';
out << en... | [
"truongcongthanh2000@gmail.com"
] | truongcongthanh2000@gmail.com |
08c7e533a999f7c15be3c807eea0133ec35e0aff | f57b7f5491e444ceafdfc95e9cc15e396066024a | /TP1/TP1/Club.h | f1d0ddf9e3d0ad4d31cd7db8409a491b94cd9564 | [] | no_license | BeatBender/H17_POO_MiniProjet | 6283a72e0023c7ace038c3aa3b12cbbd86a48dbc | 1603406c21cd194de065dcdbb0052a4d653a4208 | refs/heads/master | 2021-01-18T03:23:33.992651 | 2017-04-19T14:38:21 | 2017-04-19T14:38:21 | 85,825,078 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,159 | h | #include <string>
#include <vector>
#ifndef CLUB_H_
#define CLUB_H_
#include "Date.h"
#include "Joueur.h"
#include "Palmares.h"
#include "Stade.h"
#include "Personne.h"
#include "Entraineur.h"
#include "Contrat.h"
using namespace std;
class Joueur;
class Personne;
class Entraineur;
class Contrat;
class Club
{
publ... | [
"levesque_patrick_2@hotmail.com"
] | levesque_patrick_2@hotmail.com |
1ad85c66622ddb45183f5637c609d37a0d98d9f8 | ce52632a58d2d67e55dbb21d17ceca43d0036fa0 | /include/ray/physics_capsule_component.h | 7a65278bdbe0d8dd8bfa74858666314098931817 | [
"BSD-3-Clause"
] | permissive | netdebug/ray | b17257fa53afc789802ed1cec28413b82c27ebad | 906d3991ddd232a7f78f0e51f29aeead008a139a | refs/heads/master | 2020-03-31T12:46:15.214089 | 2018-06-06T11:06:48 | 2018-06-06T11:07:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,951 | h | // +----------------------------------------------------------------------
// | Project : ray.
// | All rights reserved.
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2017.
// +----------------------------------------------------------------------
// | * Redistributi... | [
"2221870259@qq.com"
] | 2221870259@qq.com |
a1312ae7934820fbb9a76044c7dfb53fbf46c413 | ea47f676b998cc00da94ad59782f37dddec52995 | /hack/microwave.cpp | e90e02a588deb04213ecb75e75652e3227a00555 | [] | no_license | ChoZenTime/moneysense | 6765576be41765a8ac40b88b972753e67cd181ee | 94bde9661fd5202c378ab69af41edaa2b46ddfcb | refs/heads/master | 2020-06-06T03:14:28.747695 | 2019-04-17T09:08:43 | 2019-04-17T09:08:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,819 | cpp | #include "microwave.h"
HANDLE _out = NULL, _old_out = NULL;
HANDLE _err = NULL, _old_err = NULL;
HANDLE _in = NULL, _old_in = NULL;
namespace fridge
{
/*
* @brief Create console
*
* Create and attach a console window to the current process
*/
void AttachConsole()
{
_old_out = GetStdHandle(STD_OUTPUT_HANDLE);
... | [
"deikun.andre@yandex.ru"
] | deikun.andre@yandex.ru |
d5ecd1e2dd6a8dc6ec9c431544990277751eade2 | 2ea6c3b799bd32caa178f7e461e4cd399235f2f9 | /Source/TestingGrounds/TP_ThirdPerson/AI/Tasks/BTTask_SelectWaypoint.cpp | 2f9900f6286e96a3881bec54d8103b13fab92ab2 | [] | no_license | Szyszkojad666/TestingGrounds | cf06eb634b7ee90480c6d5fd6d11e3ab1e173b4e | 01be1ee6d03d1a50c572d9271c32464cbeaf27dd | refs/heads/master | 2020-04-19T19:58:14.504311 | 2019-03-06T20:33:33 | 2019-03-06T20:33:33 | 168,402,311 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,235 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "BTTask_SelectWaypoint.h"
#include "Components/PatrolComponent.h"
#include "Runtime/AIModule/Classes/BehaviorTree/BlackboardComponent.h"
#include "Runtime/AIModule/Classes/AIController.h"
EBTNodeResult::Type UBTTask_SelectWaypoint... | [
"rozmarynowski.r@gmail.com"
] | rozmarynowski.r@gmail.com |
5eae3d7fb6e4fb500ed43a1d9188d12d8c3bd764 | 57fa84e55f5944a435ec2510bfc9a64532ab9d92 | /src/qt/deftchainunits.h | 7cdea4ee46db1bfbb580b73e4971acb9ff771c3e | [
"MIT"
] | permissive | barrystyle/deftchain-0.17 | 133d3bffec152738166a01bd14d6d2a26962432a | d93b9307d8919117b10129a2828cb98833a1c9a1 | refs/heads/master | 2020-04-17T01:26:28.232962 | 2018-09-30T12:18:20 | 2018-09-30T12:20:27 | 166,091,970 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,128 | h | // Copyright (c) 2011-2018 The Bitcoin Core developers
// Copyright (c) 2018 The Deftchain developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef DEFTCHAIN_QT_DEFTCHAINUNITS_H
#define DEFTCHAIN_QT_DEFTCHAINUNITS_H
#... | [
"barrystyle@westnet.com.au"
] | barrystyle@westnet.com.au |
dce4bad804509b1cc2e73568e0a67b0bf2fe54ce | 08f116e96ce5648e5ee94f6456384ef9a2fb198a | /src/map.cpp | 86b3035f3f0af87b6b38d20c8479d2926cafda71 | [] | no_license | IoMargaris/CppND-Capstone-PacMan | 36e96897a3a24e5088c1f05cb0ca80e653ebacff | 46c23640276b82f3febb9d002d333a908427b69a | refs/heads/master | 2022-12-16T06:14:36.627664 | 2020-09-06T14:38:54 | 2020-09-06T14:38:54 | 292,488,408 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,977 | cpp | #include <iostream>
#include <sstream>
#include "map.h"
Map::Map(size_t grid_width, size_t grid_height, std::string filename)
: grid_width(grid_width), grid_height(grid_height)
{
map.resize(grid_width, std::vector<Status>(grid_height));
file.open(filename);
}
Map::~Map()
{
file.close();
}
void Map::I... | [
"johnmargaris90@gmail.com"
] | johnmargaris90@gmail.com |
de7028e7480326cfc9db3a0fe333109c617bbd45 | 96bd3291bc2eafbe87ab8d943fd608da08b8991d | /DBProject/DB_test/DB_test/DBProviderFactory.cpp | a8984d1a7ed8f5f8767b457c7a93fa708029446c | [] | no_license | azhdan/DB | 1faecab190a70e1f1359101e3c0da934f58f1d08 | 968f701697a5950df97c95a5aeca8470275fc885 | refs/heads/master | 2021-01-10T13:21:52.021586 | 2016-03-04T11:33:20 | 2016-03-04T11:33:20 | 51,001,604 | 0 | 0 | null | 2016-03-04T11:43:04 | 2016-02-03T13:32:10 | C | UTF-8 | C++ | false | false | 150 | cpp | #include "StdAfx.h"
#include "DBProviderFactory.h"
DBProviderFactory::DBProviderFactory(void)
{
}
DBProviderFactory::~DBProviderFactory(void)
{
}
| [
"azhdan23@gmail.com"
] | azhdan23@gmail.com |
fef692aee41d641d6c9e6511acc59fbc6ecbd89f | 2759e0481ec8a3ebcad8251e20c235d1e71f3590 | /native/lib/ProductMatrix.cc | 373409c53aed5719e2920fcce1ee2450349c7f07 | [] | no_license | rhli/Degraded-First-Scheduler | 167031b6af31901ea2108bb643465eccd9222b42 | aac85775c6d5236fb64dff1855f39fa81dd6479a | refs/heads/master | 2021-01-10T22:09:59.327000 | 2014-04-22T02:48:59 | 2014-04-22T02:48:59 | 40,526,434 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 53,247 | cc | /* VERSION 0.1
* Now this is a systematical version
* hopefully, it will be a XORized version after several days...(Apr 17th, 2012)
* Implemented by LI Runhui from CUHK
* I just implement the most simple one of the Product Matrix paper.
* Just the MSR point, because we are more interested in the MSR side.
* d=2... | [
"lrhdiy@gmail.com"
] | lrhdiy@gmail.com |
cee77d4e5cefc2420eeea3cb9798058714aaae9e | 93c74b2633e48a150bed9683bd8f2ae45c36e3cd | /nau/src/nau/math/spherical.cpp | 25d2ae3e39b2b398646939a7f3be2b3edf6db400 | [
"MIT"
] | permissive | dwlcj/nau | 24bef27516cc73c8691a52b45e589920144ae127 | a2871647bcca1dc2bf94dba7f9b94029572ab7fd | refs/heads/master | 2020-04-09T21:12:03.041212 | 2018-11-20T00:18:46 | 2018-11-20T00:18:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,580 | cpp | #include "nau/math/spherical.h"
#include "nau/math/utils.h"
using namespace nau::math;
// Tolerance factor to prevent division by 0
static const double tol = FLT_EPSILON;
vec2
Spherical::toSpherical(float x, float y ,float z)
{
vec2 result;
vec3 aux(x,y,z);
aux.normalize();
result.y = asin(aux.y);
if... | [
"arf@di.uminho.pt"
] | arf@di.uminho.pt |
963f779432ef921311a2afcee3b8e3337937ac5c | 2423df5f5e7994f84ce01a5902b3ada507b5083c | /main.cpp | cbffcdd373eecfaec594736d96dc6920fc04e88b | [] | no_license | ExXidad/Bifurkations | 4acde3d1d7b38dab3586d38dc97c9e497290f6c9 | 98473b17ad8ff5bf0f0f8a8b3a6559475ea7adb0 | refs/heads/master | 2023-03-04T10:11:11.212913 | 2021-02-13T06:19:50 | 2021-02-13T06:19:50 | 338,511,447 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 794 | cpp | #include <iostream>
#include <fstream>
#include <iomanip>
#include <string>
#include <cmath>
double xNextF(const double &x, const double &r)
{
return 4 * r * x * (1 - x);
}
int main()
{
double x0Step = 0.1;
for (int x0n = 1; x0n <= 4; ++x0n)
{
std::fstream file;
file.open("../results/" + std::to_string(x0n), ... | [
"kolesnikov.iv@gmail.com"
] | kolesnikov.iv@gmail.com |
7b2ffab1ccf22a75735be7b177cdf7bb4a56e7d3 | 57753b5f8282f7efcdf04e5ad24d84390d7e44b6 | /PlasmaSimulation/Simulation.cpp | 1522027fc319291d1f9d7440b710cd7b68f4f26b | [] | no_license | ghessova/PlasmaSimulation | 75ee23438d326186bbf2f890b238a72f47302b5b | 671d1cdefd524a5495aa30c6f12e6c4f41f5c5ae | refs/heads/master | 2020-03-24T21:06:57.970865 | 2018-09-17T22:18:25 | 2018-09-17T22:18:25 | 143,014,144 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,968 | cpp | #include <iostream>
#include <fstream>
#include "Simulation.h"
#include <random>
#include <time.h>
#include <math.h>
#include <stdlib.h>
#include <map>
// simulation parameters and constants
const int grid = 100;
const long int macroPartsCount = 1e5; // number of macro particles
const int steps = 100; // number... | [
"g.hessova@seznam.cz"
] | g.hessova@seznam.cz |
214251c46920b5f5fd524d328b2fea08ec709373 | a1fbf16243026331187b6df903ed4f69e5e8c110 | /cs/engine/xrGame/ui/UILine.cpp | 196ab1c3429dbf626fa8ada334aa9ca7ea8694a1 | [
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause"
] | permissive | OpenXRay/xray-15 | ca0031cf1893616e0c9795c670d5d9f57ca9beff | 1390dfb08ed20997d7e8c95147ea8e8cb71f5e86 | refs/heads/xd_dev | 2023-07-17T23:42:14.693841 | 2021-09-01T23:25:34 | 2021-09-01T23:25:34 | 23,224,089 | 64 | 23 | NOASSERTION | 2019-04-03T17:50:18 | 2014-08-22T12:09:41 | C++ | UTF-8 | C++ | false | false | 6,766 | cpp | // File: UILine.cpp
// Description: Single text line
// Created: 05.04.2005
// Author: Serge Vynnycheko
// Mail: narrator@gsc-game.kiev.ua
//
// Copyright 2005 GSC Game World
#include "stdafx.h"
#include "UILine.h"
#include "uilinestd.h"
#include "UIColorAnimatorWrapper.h"
CUIColorAnimatorWrapper CUILine::m_anim... | [
"paul-kv@yandex.ru"
] | paul-kv@yandex.ru |
7889d8c9ce9eeed86a3314f045c08cff842a1d92 | 8edabc1463dd0d7ff66478f3daabc39fd1ec4d2b | /tools/pvxvct.cpp | e72f179c99f4694caf66b44f7efe1b8d8810009e | [
"BSD-3-Clause"
] | permissive | jeonghanlee/pvxs | b295fef2d9cbdf9d6a58715e6fc27d157a9ba601 | 6bb0a364bed580064148031cd76051e74f1b385a | refs/heads/master | 2022-04-17T15:22:16.999991 | 2020-04-13T19:07:38 | 2020-04-14T04:39:22 | 255,680,588 | 0 | 0 | BSD-3-Clause | 2020-04-14T17:39:57 | 2020-04-14T17:39:56 | null | UTF-8 | C++ | false | false | 9,191 | cpp | /**
* Copyright - See the COPYRIGHT that is included with this distribution.
* pvxs is distributed subject to a Software License Agreement found
* in file LICENSE that is included with this distribution.
*/
#include <event2/event.h>
#include <cstring>
#include <stdexcept>
#include <iostream>
#include <sstream>
#i... | [
"mdavidsaver@gmail.com"
] | mdavidsaver@gmail.com |
4015a249dde47942e2e65ee65615c7d4fed302fa | 519351b04bd4f29794851511c8857cc6a3a93d3f | /include/equiv_mutation_class_loader.h | 0e78721fd10db404a4be63576428d58b00391025 | [
"Apache-2.0"
] | permissive | jwlawson/qv | 803ce081b8a24e428d17c003e8c28c844d0b6f2b | 25f1aa8d47f9d657ff074359c057f8c16e5f728c | refs/heads/master | 2021-06-22T22:48:56.830435 | 2017-05-17T13:14:48 | 2017-05-17T13:14:48 | 18,249,762 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,570 | h | /*
* equiv_mutation_class_loader.h
* Copyright 2014-2015 John Lawson
*
* 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 re... | [
"john@jwlawson.co.uk"
] | john@jwlawson.co.uk |
d0744e014384e09568db6aecc2ae74086dcdcf94 | 66850287022cb5be903052d74bb5c9b1f48581ca | /src/offsets.h | e0c9784286116d4faa7f16574ad19f5a80584b3c | [
"MIT"
] | permissive | heinermann/teippi | 1088586081bd77b34bed077a73954d16f39aaba8 | dbcdf65313df1fc1fda8ba1f1d8cf2b9b360db44 | refs/heads/master | 2020-12-25T10:24:44.380784 | 2015-09-02T16:03:41 | 2015-09-02T16:03:41 | 41,609,412 | 0 | 0 | null | 2015-08-29T22:35:28 | 2015-08-29T22:35:28 | null | UTF-8 | C++ | false | false | 25,647 | h | #ifndef OFFSETS_HOO
#define OFFSETS_HOO
#include "types.h"
#include <type_traits>
template <typename type>
class offset
{
public:
inline offset() : val(0) {}
inline constexpr offset(uintptr_t val_) : val(val_) {}
inline offset(void *val_) : val((uintptr_t)val_) {}
//inline operato... | [
"ittevien@gmail.com"
] | ittevien@gmail.com |
4f21db8549d6369b35275e8de6072e3bd1324d38 | c99beb1d087c79e2810dfc672dcc6ed4de729dfd | /01coding/1785_binary_search_heap_construction.cpp | 24302fd9e7add739575892d9b8a037294b8d4604 | [] | no_license | ddbzdnql/CS97 | 9e863f43fed8e7fe0747b22ca534cfdb0dccd2b0 | d9cc9ebe9f9a4888c9822fe3c45d15173d5c555b | refs/heads/master | 2020-04-12T10:28:05.593296 | 2019-02-13T06:29:44 | 2019-02-13T06:29:44 | 162,430,538 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,058 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <algorithm>
using namespace std;
class node{
public:
int priority;
char * label;
int left;
int right;
} * arr[50001];
void print_tree(node ** needle, int max_p, int size){
node * temp = needle[max_p];
needle[m... | [
"gdbzdnql@gmail.com"
] | gdbzdnql@gmail.com |
65e294bea986845307b0796e1bc2225bf18604d0 | 477c8309420eb102b8073ce067d8df0afc5a79b1 | /Utilities/VisItBridge/databases/Velodyne/avtVelodyneFileFormat.h | ebccc39cec3cf984a1b33127eb54ffff24899dc3 | [
"LicenseRef-scancode-paraview-1.2"
] | permissive | aashish24/paraview-climate-3.11.1 | e0058124e9492b7adfcb70fa2a8c96419297fbe6 | c8ea429f56c10059dfa4450238b8f5bac3208d3a | refs/heads/uvcdat-master | 2021-07-03T11:16:20.129505 | 2013-05-10T13:14:30 | 2013-05-10T13:14:30 | 4,238,077 | 1 | 0 | NOASSERTION | 2020-10-12T21:28:23 | 2012-05-06T02:32:44 | C++ | UTF-8 | C++ | false | false | 6,018 | h | /*****************************************************************************
*
* Copyright (c) 2000 - 2010, Lawrence Livermore National Security, LLC
* Produced at the Lawrence Livermore National Laboratory
* LLNL-CODE-400142
* All rights reserved.
*
* This file is part of VisIt. For details, see https://visit.llnl... | [
"aashish.chaudhary@kitware.com"
] | aashish.chaudhary@kitware.com |
7aaebcd79712ec9d05ce4334a7ccbc872d7bda18 | 51635684d03e47ebad12b8872ff469b83f36aa52 | /external/gcc-12.1.0/libstdc++-v3/testsuite/ext/random/logistic_distribution/operators/serialize.cc | a359c85c3e5bc467ec345c53d61054f82d344900 | [
"LGPL-2.1-only",
"GPL-3.0-only",
"GCC-exception-3.1",
"GPL-2.0-only",
"LGPL-3.0-only",
"LGPL-2.0-or-later",
"Zlib",
"LicenseRef-scancode-public-domain"
] | permissive | zhmu/ananas | 8fb48ddfe3582f85ff39184fc7a3c58725fe731a | 30850c1639f03bccbfb2f2b03361792cc8fae52e | refs/heads/master | 2022-06-25T10:44:46.256604 | 2022-06-12T17:04:40 | 2022-06-12T17:04:40 | 30,108,381 | 59 | 8 | Zlib | 2021-09-26T17:30:30 | 2015-01-31T09:44:33 | C | UTF-8 | C++ | false | false | 1,312 | cc | // { dg-do run { target c++11 } }
// { dg-require-cstdint "" }
//
// 2014-07-11 Edward M. Smith-Rowland <3dw4rd@verizon.net>
//
// Copyright (C) 2014-2022 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it unde... | [
"rink@rink.nu"
] | rink@rink.nu |
78104518288a193df7734da84db643a434cb13a8 | a9ddea89efd4ab2de44056bf7fc836919f62fb17 | /DX_3D_STUDY/cASELoader.h | 5092c89136cad491de5fda4bb1561caf392986a6 | [] | no_license | hyunsang-shim/study | 63a0fb5da1616afad5f19f32ea8a2186b39e5545 | 8aa2d000647e305e9fafc0b0040f96d9f8827c4d | refs/heads/master | 2021-07-08T03:02:43.127318 | 2019-02-15T03:48:25 | 2019-02-15T03:48:25 | 136,994,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 145 | h | #pragma once
class cASELoader
{
public:
cASELoader();
~cASELoader();
static vector<ASE_Obj> ParseASE(string FileName);
};
| [
"shimhyunsang.dev@gmail.com"
] | shimhyunsang.dev@gmail.com |
6ff4317f8e60409952af2a33272a2ae66b95224a | e2b81b17e8694bcccb574f0eb0e5dada7f82f205 | /BattleTanks/Source/BattleTanks/Public/TankBarrel.h | dd94501faf5b0439e94132035cf4a906c334ef5d | [
"MIT"
] | permissive | StanimirMitev/04_BattleTank | 8a5adc9bc55a59bcbd16d9c1f61cd27bb2113f67 | a041a29c374567f38bbafb3bbf93ed6aba9f7c7d | refs/heads/master | 2020-03-18T16:40:51.752815 | 2019-10-02T13:46:35 | 2019-10-02T13:46:35 | 134,980,019 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 812 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Components/StaticMeshComponent.h"
#include "Runtime/Core/Public/Math/UnrealMathUtility.h"
#include "Runtime/Engine/Classes/Engine/World.h"
#include "TankBarrel.generated.h"
/**
*
*/
UCLAS... | [
"hunterinthestorm@gmail.com"
] | hunterinthestorm@gmail.com |
68db06c1bc5a57ca4aa7e3c27556c0108d4fc112 | 6839815d8871e878057ff8aa761923b84172f0ec | /modules/algorithms/include/pga.h | 0dceddaf107387dbc6d1a96ce7d97af5a223618e | [
"BSD-3-Clause"
] | permissive | graphprocessing/graph_coarsening | 7e2d96b9fae5628ecf93a58c4dadaef237b7135f | c570c7c301be5fe8d521c418402f20c76b147433 | refs/heads/master | 2021-07-13T12:11:12.183890 | 2020-06-24T01:00:24 | 2020-06-24T01:00:24 | 164,952,532 | 3 | 7 | BSD-3-Clause | 2020-06-24T01:00:26 | 2019-01-09T23:09:28 | C++ | UTF-8 | C++ | false | false | 3,073 | h | // Copyright [year] <Copyright Owner>
#ifndef MODULES_ALGORITHMS_INCLUDE_PGA_H_
#define MODULES_ALGORITHMS_INCLUDE_PGA_H_
#include "../../pch/include/precomp.h"
template <typename WeightType, typename MatchingFunction>
Matching PGA(const CSR<WeightType> &graph, MatchingFunction match) {
Matching result;
int si... | [
"nesoldr@gmail.com"
] | nesoldr@gmail.com |
b036ab927faa1db9ff042d80fc6b1e62ecc0f5a5 | 1d928c3f90d4a0a9a3919a804597aa0a4aab19a3 | /c++/ClickHouse/2017/12/DDLWorker.cpp | 0a57611854a302e9399196e1b6a292edbd46f35e | [
"BSL-1.0"
] | permissive | rosoareslv/SED99 | d8b2ff5811e7f0ffc59be066a5a0349a92cbb845 | a062c118f12b93172e31e8ca115ce3f871b64461 | refs/heads/main | 2023-02-22T21:59:02.703005 | 2021-01-28T19:40:51 | 2021-01-28T19:40:51 | 306,497,459 | 1 | 1 | null | 2020-11-24T20:56:18 | 2020-10-23T01:18:07 | null | UTF-8 | C++ | false | false | 39,030 | cpp | #include <Interpreters/DDLWorker.h>
#include <Parsers/ASTAlterQuery.h>
#include <Parsers/ASTQueryWithOnCluster.h>
#include <Parsers/ParserQuery.h>
#include <Parsers/parseQuery.h>
#include <Parsers/queryToString.h>
#include <IO/WriteHelpers.h>
#include <IO/ReadHelpers.h>
#include <IO/Operators.h>
#include <IO/ReadBuff... | [
"rodrigosoaresilva@gmail.com"
] | rodrigosoaresilva@gmail.com |
9d1cc2f3049040d065f4319292a17cc6f9d8f057 | 3f1208ae609aaf24a36a0ad99899d90a7a0c9f82 | /components/offline_pages/core/prefetch/prefetch_prefs.cc | 88524f31e35d7fff993ab9345595d2a8057c6a6e | [
"BSD-3-Clause"
] | permissive | macyeez/chromium | 26a093f4bece22107dca95edab3eae5dd641656a | deeaed07d437b8025aa4d4c273a3af4ba6278765 | refs/heads/master | 2023-03-17T13:03:47.487068 | 2019-02-26T14:32:07 | 2019-02-26T14:32:07 | 172,726,283 | 1 | 0 | NOASSERTION | 2019-02-26T14:32:08 | 2019-02-26T14:22:31 | null | UTF-8 | C++ | false | false | 2,562 | cc | // 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.
#include "components/offline_pages/core/prefetch/prefetch_prefs.h"
#include "components/offline_pages/core/offline_clock.h"
#include "components/offline_p... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
826529771320e4199194c639b2783d664b0d9961 | b65ca23fb5a76dcf7f6b4651ce821d8352912d0c | /social/src/socialnetworkinterface.cpp | 585633157613cc8576f093a3bd9adcf7c66de1c8 | [] | no_license | pgerdt/nemo-qml-plugins | 527f27a229dc9bf909b2943315c48d45c1988a00 | c00cc336a8abd3dbe666d5c5c6ff3290d848d0d0 | refs/heads/master | 2021-01-17T14:12:31.366074 | 2013-02-27T07:29:39 | 2013-02-27T07:29:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 47,147 | cpp | /*
* Copyright (C) 2013 Jolla Ltd. <chris.adams@jollamobile.com>
*
* You may use this file under the terms of the BSD license as follows:
*
* "Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions ... | [
"chris.adams@jollamobile.com"
] | chris.adams@jollamobile.com |
6b1835e777573b361423f507d7424a45122df483 | c597f966e0a637592ac929efecb46488387692e1 | /Header.h | 11025032244eec61f934beb94d096cc8c4df13af | [] | no_license | madelynpetty/interpreter | 28348bf3b58e3daa2d256c95fc2e7872e5f3f8e7 | 555d360f3667dd18c4df216cefbfb4b26a60644a | refs/heads/master | 2023-02-20T14:33:40.111549 | 2021-01-18T23:53:57 | 2021-01-18T23:53:57 | 296,182,937 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 463 | h | //
// Header.h
// lab1
//
// Created by Maddie Johnson on 10/22/20.
// Copyright © 2020 Maddie Johnson. All rights reserved.
//
#ifndef Header_h
#define Header_h
#include <stdio.h>
#include <iostream>
#include <vector>
#include <string>
#include "Parameter.h"
using namespace std;
class Header {
public:
// Hea... | [
"madelyn.johnson@gmail.com"
] | madelyn.johnson@gmail.com |
f08df780e8775e669122cee401ace4f1f5e29e0e | 660c77655f29bccd919e141126dd5af31e3f7caf | /01. 语言特性/04.STL/vector01.cpp | 8256b0a53381b5d1760db888de4358666cfe0523 | [] | no_license | caobinxin/c- | b4b7aaac7903759947044a672b217e0163349d43 | 7a4b8b3a5b164bb2d34b101a89e36d9553f3cd25 | refs/heads/master | 2021-09-02T04:24:34.040450 | 2019-06-30T09:47:11 | 2019-06-30T09:47:11 | 187,663,096 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,917 | cpp | // C++ STL 之 vector 的 capacity 和 size 属性区别
// size 是当前 vector 容器真实占用的大小,也就是容器当前拥有多少个容器。
// capacity 是指在发生 realloc 前能允许的最大元素数,即预分配的内存空间。
// 当然,这两个属性分别对应两个方法:resize() 和 reserve()。
// 使用 resize() 容器内的对象内存空间是真正存在的。
// 使用 reserve() 仅仅只是修改了 capacity 的值,容器内的对象并没有真实的内存空间(空间是"野"的)。
// 此时切记使用 [] 操作符访问容器内的对象,很可能出现数组越界的问题。
... | [
"caobinxin@phoenixos.com"
] | caobinxin@phoenixos.com |
d382f15c3034057a17e8e0ff76d94cad2e7d3f2a | c10b10836b13174327995ee674fba0601ca26852 | /ut/stream/stream_tests.h | f474a9fceb68cc16ef9a854b83e04d97c327b9ec | [] | no_license | Enelar/AX | c7b0431b5cf2fec52519df7df0373257ec214628 | 94475b69572a4220509123b31470dbccb7024ed0 | refs/heads/unstable | 2020-04-05T00:16:48.410690 | 2014-03-17T08:09:29 | 2014-03-17T08:09:29 | 14,269,600 | 1 | 0 | null | 2013-12-13T07:14:38 | 2013-11-10T02:50:45 | C++ | UTF-8 | C++ | false | false | 138 | h | #include "../head.h"
namespace ut
{
void make_stream_tests();
DECLARE_TEST(duct_compiling);
//DECLARE_TEST(fast_memory_copying);
}; | [
"enelar@develop-project.ru"
] | enelar@develop-project.ru |
fc8f25fb01fd4b8800761450322085098a49bafe | 2dbfb3c6b1c8718019ea9fe62c0f1c38398b0fd2 | /Apps/Client/Source/HotlineAdmInSpector.cpp | 01b0f6ee075dae9ab0ba2b8688c1f85f8de1296a | [] | no_license | NebuHiiEjamu/GLoarbLine | f11a76f61448b63e6fd5bf91296514171fbdf921 | 2592629bda74d700fd7cf480f1a5fc1cc67d8d58 | refs/heads/master | 2020-12-01T17:23:11.158214 | 2020-01-07T06:37:53 | 2020-01-07T06:37:53 | 230,709,766 | 0 | 0 | null | 2019-12-29T06:00:07 | 2019-12-29T06:00:06 | null | ISO-8859-7 | C++ | false | false | 53,498 | cpp | /* (c)2007 GLoarbLine Inc. Licensed under GPL - see LICENSE in HotlineSources diresctory */
#include "Hotline.h"
#if WIN32
void _SetWinIcon(TWindow inRef, Int16 inID);
#endif
/* ΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡ */
CMyAdmITreeView::CMyServerTreeView(CViewHandler *inHandler, ... | [
"cmmeurin@gmail.com"
] | cmmeurin@gmail.com |
06ee8775cbb60cde162b9e8a8cbd524d24c74daa | 4cb66c880838633331e305fb88dd77561e53afd8 | /B_WeirdSort.cpp | 42f8f1195d7faf2b020a86f901df17365fdc9013 | [] | no_license | manav2727/CPP | b04fad680a0061ac81f212427e35a24f4ace006d | 60483ec298a83efb0fdf983e68d5ac72b839379e | refs/heads/master | 2023-09-03T03:05:27.548348 | 2021-11-15T02:41:53 | 2021-11-15T02:41:53 | 407,020,735 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,574 | cpp | #include<bits/stdc++.h>
using namespace std;
//DATATYPES AND DATASTRUCTURES DECLARATION
typedef long long ll;
typedef long double ld;
typedef pair<ll,ll> pll;
typedef std::vector<ll> vll;
typedef std::vector<int> vii;
typedef std::vector<pll> vpll;
typedef std::vector<vll> vvll;
typedef map<ll,ll>mll;
typedef map<char... | [
"manavmajithia6@gmail.com"
] | manavmajithia6@gmail.com |
81cf388b7cf72d6de02be263efde217eeb340702 | 77591845b0be887b662ab4153a99ec0c1f162374 | /UVA/673 - Parentheses Balance.cpp | cdc75f8ac655fd87e116a66bc5e002c511248989 | [] | no_license | alexsotocx/competitive-programming | bce7d47cd088114fde86173e03624ee03a6eeccb | daa6056ef036744b5ab5933962a6ebbfc27ebf5d | refs/heads/master | 2020-05-16T21:41:51.261266 | 2015-01-29T02:46:08 | 2015-01-29T02:46:08 | 25,898,051 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 909 | cpp | #include<iostream>
#include<cstdio>
#include<vector>
#include<stack>
using namespace std;
int main()
{
int n;
cin>>n;
getchar();
while(n--)
{
stack<char>b;
string s;
getline(cin,s);
int i;
bool xd = false, ok = true;
for(i=0; i<s.len... | [
"asoto@innventto.com"
] | asoto@innventto.com |
9b0369764dbd0ca8e809311b48977e2be6affaa9 | edaa018b9a74c843b082f5cddafb0ec3740170a1 | /Codeforces30DayTraining/StonesOnTheTable__266A.cpp | 2e06eca80d4610b0182d94b5be21de2169b33f4d | [] | no_license | m0saan/CP | e4eb6b363f68e82d59463281abdf5878188b324d | 88663bf32920403ae1ce4ba4529a8650ac42459a | refs/heads/master | 2023-06-07T13:19:42.217299 | 2021-07-04T19:16:57 | 2021-07-04T19:16:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 261 | cpp | #include <iostream>
#include <string>
using namespace std;
int main() {
int n, ans{};
string S;
cin >> n >> S;
for (int i = 0; i < S.size(); ++i)
if (i + 1 < S.size() && S[i] == S[i + 1]) ans++;
cout << ans << endl;
return 0;
} | [
"moboustta6@gmail.com"
] | moboustta6@gmail.com |
9ebf80332590d851108de32ffea7a3c1d3dde933 | 4b6c931c05a3ac3426b35bcc8c94c6ac32c59bcf | /Dragon/src/protos/caffemodel.pb.cc | c77a916eda87a93dae9cb6e3839c4290ee7b1c3f | [
"BSD-2-Clause"
] | permissive | Junotja/Dragon | 9036f5acdaf24360d8d043f980dd20ce9a826e01 | 6eeac5fec58ed3d0d79f0b4003471e4a641c72f4 | refs/heads/master | 2021-06-22T08:42:46.629020 | 2017-08-26T15:23:14 | 2017-08-26T15:23:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 45,812 | cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: caffemodel.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "caffemodel.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/once.h>
#include <google/protobuf/io/coded_stream.h>
#... | [
"ting.pan@seetatech.com"
] | ting.pan@seetatech.com |
985697e3728dcddfcf3ab2b946b90a28dfc4d015 | 001bd2245fa3f2adc414f68b8b26b07ce6f36625 | /source/WorldServer/Trade.cpp | 754968645826fb18fc15636a29d9fe0eee3fe544 | [] | no_license | lxq2537664558/world | 65e6d61ff0ba6e60b2c30db9fd41339c36b46909 | 576b7017e549caafdbeb5a1eb2a773d5d0c4f5f1 | refs/heads/master | 2020-03-31T08:06:33.642713 | 2018-10-08T06:43:10 | 2018-10-08T06:43:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,280 | cpp | #include "Trade.h"
#include "Items/Items.h"
#include "Entity.h"
#include "Bots/Bot.h"
#include "../common/Log.h"
#include "zoneserver.h"
extern ConfigReader configReader;
extern MasterItemList master_item_list;
Trade::Trade(Entity* trader1, Entity* trader2) {
this->trader1 = trader1;
this->trader2 = tra... | [
"jon@tyrbo.net"
] | jon@tyrbo.net |
d4d398d9a81c1cfbbbf5b78db4f3a85d784c1c30 | ad572d5ce0be185edc0e4066f55eac78c8970d2c | /src/client/widgets/DialogManager.hpp | aba8976fec270a65af8c026610345504bc744b28 | [
"MIT"
] | permissive | AzariasB/MultiPlayerPong | 086f4b1292d482b851c31457a42ff189c1af9326 | 4b9af38198945b31b05ca83acadccef333e32284 | refs/heads/master | 2021-06-23T13:41:55.204845 | 2019-05-09T04:35:55 | 2019-05-09T04:35:55 | 108,720,391 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,746 | hpp | /*
* The MIT License
*
* Copyright 2017-2019 azarias.
*
* 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, mo... | [
"azarias.boutin@gmail.com"
] | azarias.boutin@gmail.com |
68efe663df056ad0d6a80eed816d8aac0da95437 | 0a87e899e2bd2cd9e8a348c01ba4a8f7b52d3bb3 | /catkin_test/catkin_test1/src/android_app/src/navigation_goalshi.cpp | 8362c71e1b27228f9f3978a2e5d447a46202b4c5 | [] | no_license | boogege/ROS_xiongmao | 28b68d145cba3e87b8f4c256311434778eaf37e4 | 41b9a957243a882b853f8cd8ce38253d3bdca82c | refs/heads/master | 2020-08-19T12:02:49.080683 | 2019-10-18T04:34:44 | 2019-10-18T04:34:44 | 215,803,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,587 | cpp | #include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <stdlib.h>
#include <math.h>
#include <iostream>
#include <stdio.h>
#include <pthread.h>
#include <string.h>
#include <fstream>
#include <sys/stat.h> /**/
#include <fcntl.h> /*文件控制定义*/
#incl... | [
"534214146@qq.com"
] | 534214146@qq.com |
dda8c9644171f4bf625cc048dce1d69180c8f20d | d0288f0bbb0c484966bf5b971d954ef3dd104f53 | /Others/datamaker.cpp | 203e73143c0c82e7cf2abb45e092edb4d35ea53b | [] | no_license | zjwzcn07/ACMLibrary | 6b4066118be93fea494650897f0cd4c655305964 | ff8ae387a534db9b37514cae451fd6aa9c6a36ce | refs/heads/master | 2021-01-23T21:43:35.388729 | 2016-09-24T13:49:12 | 2016-09-24T13:49:12 | 47,023,621 | 1 | 0 | null | 2016-09-24T12:51:19 | 2015-11-28T13:00:06 | C++ | UTF-8 | C++ | false | false | 949 | cpp | #include <cstdio>
#include <iostream>
#include <cstdlib>
#include <algorithm>
#include <ctime>
using namespace std;
const int N = 100001;
int seed,mult = 131,modnum,n;
typedef struct node{
int val,id;
}node;
bool cmp(node x,node y){
return x.val < y.val;
}
node a[N];
int getrand(int modnum){
seed = (... | [
"williamchenwl880@gmail.com"
] | williamchenwl880@gmail.com |
0aa0e0793a1bcc0352965bda988c63d18b159c18 | 9daae0cf50859611aa23098071f8e75b9a8c3342 | /phylgen.cpp | 3c2b1a6e7304d762616abcecce76bdc71c1554e8 | [
"MIT"
] | permissive | Laakeri/phylogeny-aaai | d05226e80c322a7a7e67ae61316e1e8107b9731b | 4b97a6da97fc2be0e466c2197fbd4b51c036cb5f | refs/heads/master | 2021-08-20T06:33:07.007737 | 2020-07-21T10:46:28 | 2020-07-21T10:46:28 | 206,542,564 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,974 | cpp | #include <bits/stdc++.h>
#define F first
#define S second
using namespace std;
int main(int argc, char** argv){
if (argc != 6) {
cout<<"args: n, m, k, r, miss"<<endl;
return 0;
}
int n = stoi(argv[1]);
int m = stoi(argv[2]);
int k = stoi(argv[3]);
double r = stod(argv[4]);
double miss = stod(argv... | [
"tukotu@dx5-cs-02.pc.helsinki.fi"
] | tukotu@dx5-cs-02.pc.helsinki.fi |
4c1896bfde7f9ca4a7e4114004015b62cd92a7dc | 52d6a6e647020301e0f210a56b3c0e8e16455f42 | /codigo/Grafo.h | cca421c5f6a9ff78b6b8b0c8f2a5e7b9dd0ce060 | [
"Apache-2.0"
] | permissive | renanNun/Teoria-dos-Grafos-2019.3 | 98fa3a4da96f7bcbab0dbc85afbe8a3219032cdc | 51f1ae84ae0d93f85082be68460a58ed8069359d | refs/heads/master | 2022-01-23T09:53:15.885719 | 2019-08-30T19:21:15 | 2019-08-30T19:21:15 | 197,796,361 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 211 | h | #ifndef GRAFO_H_INCLUDED
#define GRAFO_H_INCLUDED
#include <iostream>
#include "ListaNos.h"
#include "ListaArestas.h"
class Grafo{
private:
public:
Grafo();
~Grafo();
};
#endif // GRAFO_H_INCLUDED
| [
"renannunes400@gmail.com"
] | renannunes400@gmail.com |
9849216141ab4edf7cfb67436df47994a567f700 | 55a2119d2a4abaebded1b7c55a2bd811488286e0 | /BasicTokenizer.h | dcc97c10e90a9848636c5ce1cc19f70df525f28c | [] | no_license | samuel-olivier/Animation | 859735113542483581a543536baf7d70e92b21fc | 1ef20b1466b44a3a39300e10bb74612a0de7ee67 | refs/heads/master | 2021-05-27T06:09:03.605027 | 2014-05-13T07:55:17 | 2014-05-13T07:55:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 386 | h | #ifndef BASICTOKENIZER_H
#define BASICTOKENIZER_H
#include <QVector3D>
class QIODevice;
class BasicTokenizer
{
public:
BasicTokenizer(QIODevice* device);
QString nextToken();
QVector3D nextVector();
float nextFloat();
int nextInt();
private:
bool _isWhiteSpace(char c)... | [
"skanight@hotmail.fr"
] | skanight@hotmail.fr |
758cf19c888837dbd1f6e23f2c3fb3e06c91ca48 | bc8ed17f37af50bd390bc1a1630159ecca574594 | /src/test/budget_tests.cpp | 081e5ed2c4efaa1121cab30b23bf58cb9828198e | [
"MIT"
] | permissive | proteanx/BITCORN | aaadef311428d1f07ed584983f037a64ff5a387e | 47dee72f81f89fb4b4d0c91227e9e6c768b81213 | refs/heads/master | 2020-09-07T15:26:33.140311 | 2019-11-16T18:28:08 | 2019-11-16T18:28:08 | 220,827,206 | 0 | 0 | MIT | 2019-11-10T17:49:46 | 2019-11-10T17:49:46 | null | UTF-8 | C++ | false | false | 1,173 | cpp | // Copyright (c) 2018 The BITCORN developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "masternode-budget.h"
#include "tinyformat.h"
#include "utilmoneystr.h"
#include "test_bitcorn.h"
#include <boost/test/un... | [
"42760724+bitcornfarmer@users.noreply.github.com"
] | 42760724+bitcornfarmer@users.noreply.github.com |
24302eda05fa5f3007a842e3f77e9667297e1b34 | 9a3b9d80afd88e1fa9a24303877d6e130ce22702 | /src/Providers/UNIXProviders/HostedShare/UNIX_HostedShare_SOLARIS.hxx | aa4838bc5d99d2ff8e5cfe3b8ba14dfabe7f109e | [
"MIT"
] | permissive | brunolauze/openpegasus-providers | 3244b76d075bc66a77e4ed135893437a66dd769f | f24c56acab2c4c210a8d165bb499cd1b3a12f222 | refs/heads/master | 2020-04-17T04:27:14.970917 | 2015-01-04T22:08:09 | 2015-01-04T22:08:09 | 19,707,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,809 | hxx | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | [
"brunolauze@msn.com"
] | brunolauze@msn.com |
f56ced4747218539451120d242009d3a5cad4aed | df565fff307a2a703d9a865aeb008b4d8908ca65 | /SectionHandout9/SectionHandout9/main.cpp | 7c6479430e62efbdbfb3e5936634561f9d37df88 | [] | no_license | ssLightStalker/ProgrammingAbstractionsSolutions | 07da9f5768c38b1e97a3e8ed61aa3ef80df22373 | 9f7c18a18ad51aed9d8e3679e5d9186c542012d8 | refs/heads/master | 2020-05-23T12:30:22.978948 | 2017-09-05T11:34:02 | 2017-09-05T11:34:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 204 | cpp | #include "genlib.h"
#include "Problem_3_FindCycles.h"
#include "Problem_4_WordLadderGraph.h"
int main()
{
// Problem_3_FindCycles_main();
Problem_4_WordLadderGraph_main();
return 0;
}
| [
"antonc27@mail.ru"
] | antonc27@mail.ru |
34058fb0367cb654d66a8e1ba0fa5257a6b8e1f0 | 6418e50ac2c0a60eab137d574692038ee4022d4d | /src/macro/macro_unused.hpp | 394c0b02f83eb2179603be02e4c81942d3bcfe32 | [
"MIT"
] | permissive | yubing84/capo | 3980e39feca960116ce0e023f99a7b753f303425 | f48099f6e4cd5c184400e3ff775fb808b8da297e | refs/heads/master | 2021-01-15T23:53:34.287499 | 2014-06-08T07:59:15 | 2014-06-08T07:59:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 602 | hpp | /*
The Capo Library
Code covered by the MIT License
Author: mutouyun (http://darkc.at)
*/
#ifndef CAPO_MACRO_UNUSED_HPP___
#define CAPO_MACRO_UNUSED_HPP___
////////////////////////////////////////////////////////////////
#ifdef CAPO_UNUSED_
# error "CAPO_UNUSED_ has been defined."
#endif
#if defined(... | [
"mark.lonr@tom.com"
] | mark.lonr@tom.com |
389768d43d9cc1d6755a211efbd90fec82027545 | 4e22d261d7dcf5fe2731d77ba3cfb47c5568977c | /Source/Engine/TempestEngine/Nodes/Behaviors/Repeater.cpp | b39790ff1b76354362302df0679bfaf3f4aa793d | [] | no_license | SeraphinaMJ/Reformed | 2d7424d6d38d1cfaf8d385fade474a27c02103a5 | 8563d35ab2b80ca403b3b57ad80db1173504cf55 | refs/heads/master | 2023-04-06T00:40:34.223840 | 2021-05-06T11:25:51 | 2021-05-06T11:25:51 | 364,884,928 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 831 | cpp | /*!***************************************************************************************
\file Repeater.cpp
\author Charles Boudousquie
\date 9/20/2019
\copyright All content © 2018-2019 DigiPen (USA) Corporation, all rights reserved.
\par
\brief This node restarts and processes its child node e... | [
"minjiserak@gmail.com"
] | minjiserak@gmail.com |
0bb47d915cdf5eeae8bc3828ecfc3491519afebe | 288e945732ace900035694661b076ecc1d5d29e8 | /xauconchungdainhatcuabaxau.cpp | ea7a91b1f354747e47092f89d819b6115cc66bc0 | [] | no_license | AtomicOrbital/CppSource | bf440704386cbd200f90b333a7c3c63dfee45abf | 29e312fb1f9b3f1be1c4aee86db8c1942b17bcbd | refs/heads/main | 2023-06-20T00:42:21.656879 | 2021-07-16T08:27:35 | 2021-07-16T08:27:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 838 | cpp | #include<bits/stdc++.h>
#define FORT(i,a,b) for(int i=a;i<b;i++)
#define FORD(i,a,b) for(int i=a-1;i>=b;i--)
#define mp make_pair
#define F first
#define S second
using namespace std;
void solve()
{
string s1,s2,s3;
int a,b,c;
cin>>a>>b>>c;
cin>>s1>>s2>>s3;
s1='.'+s1;
s2=','+s2;
... | [
"phuonghoand2001@gmail.com"
] | phuonghoand2001@gmail.com |
dce2d8320a071ad34d1d456337394a7fb265fedd | 7c4492a3d1856503024ca658f79b74a110400f42 | /blogs/cpp/initchararray.cpp | 6bd09fa2b8be7caad9dee1fad989d3139385ab4a | [] | no_license | labinxu/blogs | 01b51046283075413f9deaecb86baec84fe572ba | 1316c6ad12df5e76097e2a19234840edf28697f3 | refs/heads/master | 2021-06-30T00:16:26.540477 | 2020-10-23T18:05:29 | 2020-10-23T18:05:29 | 180,364,897 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 275 | cpp | #include <iostream>
using namespace std;
void dosomething(){
char dochars[10]="111111111";
cout<<dochars<<endl;
}
void init(){
char carray1[10]="";
cout<<carray1<<endl;
char *p = &carray1[2];
cout<<p<<endl;
}
int main(){
dosomething();
init();
return 0;
}
| [
"flowinair@gmail.com"
] | flowinair@gmail.com |
c5d4c9eda2481c55ab23f7dc122cb0e8d0cdda65 | bfa9289d287fc447105248cd6a78100062b69a14 | /src/math/Constants.h | 0435d2d70abea0f230d5de5a280f4f557eb2b72c | [] | no_license | etherealvisage/thor | c7b68b3f884ea337599202f7ee9882a56ce0ee4f | ffc04d220f74df2a50d209f336a3b3a17558e728 | refs/heads/master | 2021-01-17T15:36:58.549760 | 2016-09-30T23:16:56 | 2016-09-30T23:16:56 | 69,652,949 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 321 | h | #ifndef THOR_MATH__CONSTANTS_H
#define THOR_MATH__CONSTANTS_H
#include <cmath>
namespace Thor {
namespace Math {
namespace Constants {
/* Used to represent numerical imprecision in floating-point results. */
const double Epsilon = 1e-7;
const double Pi = M_PI;
};
} // namespace Math
} // namespace Thor
#endif... | [
"ethereal@ethv.net"
] | ethereal@ethv.net |
d2eecfca7cd7e7c49078650676411eb91f1cf6a4 | 01d767e6e0c237a2688aed222153ab80d2640b79 | /1312-minimum-insertion-steps-to-make-a-string-palindrome/1312-minimum-insertion-steps-to-make-a-string-palindrome.cpp | abd08de2c8f388af36e6a15345bef1aefe7cd258 | [] | no_license | Samiatrix/Leetcode-Problems | 75669ec7a11ccfaa61737c84acc7d704c6cd5767 | 529704d47206ccc574af7fa79df85edafcd768db | refs/heads/master | 2022-06-29T05:34:08.326534 | 2022-06-24T10:58:00 | 2022-06-24T10:58:00 | 239,309,504 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 507 | cpp | class Solution {
public:
int minInsertions(string s) {
string t = s;
reverse(t.begin(), t.end());
int n = s.size();
vector<vector<int>> dp(n+1, vector<int>(n+1, 0));
vector<int> prev(n+1, 0), curr(n+1, 0);
for(int i=1;i<=n;i++){
for(int j... | [
"37403386+Samiatrix@users.noreply.github.com"
] | 37403386+Samiatrix@users.noreply.github.com |
50ece2e679f2cc29b854525f04d73a7e843e157f | 9c9b8cbef8640f8caed0cc6938957da7d9d8523f | /oglEngine/src/main.cpp | addc4dbdd7bf22ee0e66464d9d05308b1e5cd7f0 | [] | no_license | LaXiS96/oglEngine | 5be161d1d425ac078e9006cf833b0fa68bd08b4c | f4ed054884c75117b8b427618645bc98aa8b22d8 | refs/heads/master | 2021-05-20T11:44:47.653015 | 2021-04-20T18:07:27 | 2021-04-20T18:07:27 | 252,281,662 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,835 | cpp | #include <glad/glad.h>
#include <SDL2/SDL.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <assimp/version.h>
#include <iostream>
#include <iomanip>
#include "Shader.h"
#include "Model.h"
#include "Engine.h"
#define WINDOW_WIDTH 1920
#define WINDOW_HEIGHT 108... | [
"antonio.ceccato@hotmail.it"
] | antonio.ceccato@hotmail.it |
8e416bfb52209c3c0a73f8153539dacc20185016 | 8a540a8e8690dfea402954160cd2379fe3607892 | /Math/MontgomeryModular.h | 45d3c60f397c71c2e1be0a42fb6a250f685e4f02 | [
"WTFPL"
] | permissive | jakobkogler/Algorithm-DataStructures | 597bf55394c77ba1fdbf918871aa9142776e32b9 | f8086642b40cc15f20fbb08fba5ded567773e116 | refs/heads/master | 2023-01-23T03:01:24.578698 | 2023-01-15T11:08:38 | 2023-01-15T11:08:50 | 63,162,129 | 321 | 95 | WTFPL | 2022-08-23T06:35:39 | 2016-07-12T13:54:06 | C++ | UTF-8 | C++ | false | false | 4,172 | h | #pragma once
#include <cstdint>
#include <utility>
#include <ostream>
template <int MOD>
class MontgomeryModular {
public:
using u64 = uint64_t;
using u32 = uint32_t;
using i32 = int32_t;
using MM = MontgomeryModular<MOD>;
MontgomeryModular(u32 value=0) : value(mult(value, r2)) {}
MM& operato... | [
"jakob.kogler@gmail.com"
] | jakob.kogler@gmail.com |
cfbd7433e6799d333add14ebfc013576d064b7bb | 29e8daa1dadf6999a0c71f55965650689ee874af | /examples/identify/identify.ino | e2f1570c2be7c2d1a71a205a8359f370a144de73 | [] | no_license | HydroSense/SDI12 | 2f5d0b5fffc26cb5906e4773c06b388f72562870 | 73789e78baef8228528a98e199a092f809b9c070 | refs/heads/master | 2021-01-12T20:59:33.676582 | 2017-10-19T01:15:05 | 2017-10-19T01:15:05 | 47,078,357 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,681 | ino | /*
Example sketch for testing the identify function.
Colby Rome 4-11-16
*/
#include "SDI.h"
#include <Wire.h>
#define SERIAL_OUTPUT_PIN 1
#define FLOW_CONTROL_PIN A3
SDIBusController *SDIBus;
char addr;
void powerSDIMiddlePort(){
// Powers the middle port on the Hydrosense Datalogger 2.1.2
pinMode(5, ... | [
"cdr013@bucknell.edu"
] | cdr013@bucknell.edu |
4b786aadbb5ae068c1e9b30a2c13714cf6aa9038 | ebd491e78dd125b9bc2986fbc34109dc75632514 | /Bomberman-GL/Bomberman-GL/stdafx.cpp | bbc0d011007c7d024dc2fc0f12595ee88eeb0014 | [] | no_license | JerisBren/Bomberman-GL | 6cc9b61c348e795ed9b3a53a5d30f3fc3d06306b | cf4da83b5c88352420fd9aed61e08f4df6e87b82 | refs/heads/master | 2020-05-06T20:20:00.749899 | 2014-12-03T15:40:52 | 2014-12-03T15:40:52 | 27,490,733 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 291 | cpp | // stdafx.cpp : source file that includes just the standard includes
// Bomberman-GL.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"ThiagoAngst@hotmail.com"
] | ThiagoAngst@hotmail.com |
47f09140bac075c30bb4ff69e65c51fcdb6dab97 | e9e8064dd3848b85b65e871877c55f025628fb49 | /code/MapEngine/MapBase/新建文件夹/MapBase.cpp | e6e8beec5cb8a4b00f420518ae53391b91ac0646 | [] | no_license | xxh0078/gmapx | eb5ae8eefc2308b8ca3a07f575ee3a27b3e90d95 | e265ad90b302db7da05345e2467ec2587e501e90 | refs/heads/master | 2021-06-02T14:42:30.372998 | 2019-08-29T02:45:10 | 2019-08-29T02:45:10 | 12,397,909 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,423 | cpp | #include "StdAfx.h"
#include "MapBase.h"
#include <stdio.h>
#include "../VOSBase/VOSBase.h"
fun_msg g_fun_msg;
//en_MapType g_enMapType;
string g_strRootPath;
string g_strMapURL = _T("http://mt1.google.cn/vt/lyrs=m@124&hl=zh-CN&gl=cn&x=%d&y=%d&z=%d&s=G");
int g_iMapURLParmType = 123; //1表示x,2表示y,3表示z
//经纬度转墨卡... | [
"you@example.com"
] | you@example.com |
4fb3d74ab34794522e00295049f8ff1d6f3337d8 | 363504471a26645c13bda4d17daf1534c8041a23 | /Anarchy-Client/src/Entities/ClientEntityCollection.h | 26916cbce6b8f246c70f1809ca96a7ebab2c8cb2 | [] | no_license | Totomosic/Anarchy | 5eeca4d46f3a93b69098d32f0cb51a64d0386821 | fff1c2a4bb6e6db23b9c09060c07a42882550d3e | refs/heads/master | 2020-12-02T18:44:46.687802 | 2020-03-29T00:39:47 | 2020-03-29T00:39:47 | 231,084,123 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 796 | h | #pragma once
#include "Lib/Entities/EntityCollection.h"
namespace Anarchy
{
class ClientEntityCollection : public EntityCollection
{
public:
inline static Vector2i InvalidTile = { -1, -1 };
private:
entityid_t m_ControlledEntity;
EntityHandle m_Camera;
EntityHandle m_TileIndicator;
public:
ClientEnti... | [
"jordan.thomas.morrison@gmail.com"
] | jordan.thomas.morrison@gmail.com |
6f9e25a7be62bd4d6c94cdb3f755f9aeecf75aa3 | 378a2892eeb5c70ec687e914dc506b80d2470b8e | /DefaultSDL/Player.h | 3de61f1656177aa76e92777020bca99538e1e419 | [] | no_license | NickyAl/Nickys_Simple_2D_Game_Engine | 5cbce331a4fb2bd982120822b60e4867273f2168 | d789f6b1abfd14f47cc10ce6913b0a0747e88f2d | refs/heads/master | 2023-07-22T07:45:51.779720 | 2021-09-03T12:39:45 | 2021-09-03T12:39:45 | 339,091,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,849 | h | #pragma once
#include "Object.h"
#include <SDL_image.h>
#include <iostream>
#include <string>
#include "Window.h"
#include "Animation.h"
class Player
{
private:
Object collisionBox;
Object sprite;
float RS; //resolution setting
//movement5
bool hasJumped;
bool lookingRight;
struct Acceleration
{
float left... | [
"nikitotp@gmail.com"
] | nikitotp@gmail.com |
98ed710177385529cc8cd3e6df082c367655648d | 771a5f9d99fdd2431b8883cee39cf82d5e2c9b59 | /SDK/BP_GH_Rank12_RankDesc_functions.cpp | c22dfa658b3546dc1d1948e5410aa3aee8a3b860 | [
"MIT"
] | permissive | zanzo420/Sea-Of-Thieves-SDK | 6305accd032cc95478ede67d28981e041c154dce | f56a0340eb33726c98fc53eb0678fa2d59aa8294 | refs/heads/master | 2023-03-25T22:25:21.800004 | 2021-03-20T00:51:04 | 2021-03-20T00:51:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 554 | cpp | // Name: SeaOfThieves, Version: 2.0.23
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//--------------------------------------------... | [
"40242723+alxalx14@users.noreply.github.com"
] | 40242723+alxalx14@users.noreply.github.com |
89b6b6f64c97abc62f72b57a49c845c7edc8f2b3 | 4ccc93c43061a18de9064569020eb50509e75541 | /components/omnibox/shortcuts_database.h | c942dde8c9e18b0bc41c3f98c9d292a1a218cb9b | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | SaschaMester/delicium | f2bdab35d51434ac6626db6d0e60ee01911797d7 | b7bc83c3b107b30453998daadaeee618e417db5a | refs/heads/master | 2021-01-13T02:06:38.740273 | 2015-07-06T00:22:53 | 2015-07-06T00:22:53 | 38,457,128 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,936 | h | // 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.
#ifndef COMPONENTS_OMNIBOX_SHORTCUTS_DATABASE_H_
#define COMPONENTS_OMNIBOX_SHORTCUTS_DATABASE_H_
#include <map>
#include <string>
#include <vector>
... | [
"g4jc@github.com"
] | g4jc@github.com |
02752b591b6d97162772f815d6d959d48628b237 | 905b6a6aa9a9dce552541e98db753f71409f5c35 | /DigitalImagesProcessing/lab12.cpp | 87542ba53f0dcd9a75dfab5262d01958206ac054 | [] | no_license | sebastianpiascik/DigitalImagesProcessing | 8f61001a333780bb103a89054ba4a89d9d237162 | fa1369ea50152677cddad4cf01feafb6594922b7 | refs/heads/master | 2020-05-14T19:06:32.735956 | 2019-06-23T16:58:54 | 2019-06-23T16:58:54 | 181,922,746 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,305 | cpp | #include "opencv2/objdetect/objdetect.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include <chrono>
#include <ctime>
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <windows.h>
#include <wchar.h>
using namespace std;
using... | [
"sebastian.piascik97@gmail.com"
] | sebastian.piascik97@gmail.com |
1dfcb570838bd6c7ebcf6086778d1447a514178c | 1b859dc1462c325d5d2acdce863d0f71c7983d3b | /lab31/lab31.cpp | e34065f237dcebcc7c65bdd90e0a46525dbccd61 | [] | no_license | Crispin20/LeslieCrispin-CSCI20-Spr2017 | 96e6579d97c5da0f6265bd6be26d362365e511db | e9a7aa00baacac82281048bda58321886fbd086b | refs/heads/master | 2021-01-11T15:56:47.438789 | 2017-05-24T00:00:17 | 2017-05-24T00:00:17 | 79,965,158 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,924 | cpp | #include <iostream>
using namespace std;
int main(){
char deviceChoice;
cout << "What kind of device do you want? A) DumbPhone, B) Smart Phone, C) Tablet D) More than one kind" << endl;
cin >> deviceChoice;
if (deviceChoice == 'A'){
int dumbPhone = 0; //price
int deviceAmount = ... | [
"lcrispin001@student.butte.edu"
] | lcrispin001@student.butte.edu |
1547789a2b1a3aba28b8bbd47b7b3b96265bcf5b | 6f874ccb136d411c8ec7f4faf806a108ffc76837 | /code/VCSamples/VC2008Samples/Language/General/TilePuzzle/TileDriver/Board.cpp | ac8bed5c1d4724269d944cb3213471ee137909a0 | [
"MIT"
] | permissive | JetAr/ZDoc | c0f97a8ad8fd1f6a40e687b886f6c25bb89b6435 | e81a3adc354ec33345e9a3303f381dcb1b02c19d | refs/heads/master | 2022-07-26T23:06:12.021611 | 2021-07-11T13:45:57 | 2021-07-11T13:45:57 | 33,112,803 | 8 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 6,145 | cpp | //Copyright (c) Microsoft Corporation. All rights reserved.
//This source code is intended only as a supplement to Microsoft
//Development Tools and/or on-line documentation. See these other
//materials for detailed information regarding Microsoft code samples.
//THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITH... | [
"126.org@gmail.com"
] | 126.org@gmail.com |
81e564a37932c6de137398f4c33fb245b28186dc | 04bc05d1140cfcdb2c42c371c61e3f70ec524d77 | /c++/C++编程实例100篇/实例24/INCLASS.CPP | c9276bd82065c7658d1883ee7eb2a50958113f2f | [] | no_license | lcong/vsSource | 52ad6fdffd5a0ad841215c0bd5ee6db1ea2d59ef | 7ec52c5cd63215e7dbd1c89a3421309aa695bc5b | refs/heads/master | 2021-06-23T05:12:17.588868 | 2017-08-11T05:57:40 | 2017-08-11T05:57:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 958 | cpp | //THE PROGRAM IS TO INSERT ONE CLASS INTO ANOTHER
//FILE INCLASS.CPP
#define CONST1 78
#define CONST2 12
#define CONST3 23
#include <stdio.h>
#include <conio.h>
class INCLASS_1
{
private :
int DATA;
public :
INCLASS_1(int NUM)
{
DATA=NUM;
};
void OUTPUT()
{
printf("\n %d",DATA);
}
}... | [
"rockcong@gmail.com"
] | rockcong@gmail.com |
b43c1fef781ad53021dc969f6e0186acdf073571 | 983f60b258028ccacd9d0637d430f6e39ca19f44 | /src/sfizz/effects/gen/disto_stage.hxx | ee112e87e62d066a08d32e6a52d5cabcbc5ea4f3 | [
"LGPL-2.0-or-later",
"BSD-3-Clause",
"MIT-0",
"BSL-1.0",
"Apache-2.0",
"BSD-2-Clause",
"LGPL-2.1-only",
"WTFPL",
"MIT"
] | permissive | sfztools/sfizz | 98a1136ffa0fea547aa3560c31309b0be42e2b10 | c2783f1853067af933cdc8cc6e523d12a296b59d | refs/heads/develop | 2023-08-28T14:13:44.790032 | 2023-08-26T13:29:49 | 2023-08-26T13:29:49 | 199,350,095 | 362 | 72 | BSD-2-Clause | 2023-08-30T02:33:41 | 2019-07-29T00:12:15 | C++ | UTF-8 | C++ | false | false | 5,220 | hxx | #if defined(__GNUC__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#endif
/* ------------------------------------------------------------
name: "disto_stage"
Code generated with Faust 2.30.5 (https://faust.grame.fr)
Compilation options: -lang cpp -inpl -es 1 -scal -ftz 0
-------------... | [
"jp-dev@inbox.ru"
] | jp-dev@inbox.ru |
affafbaf0db3d300ea7e39bdde637da494682c96 | 83964e7fb41ee62e3084eef5d3deef07eecdd93e | /llvm/unittests/ADT/HashingTest.cpp | b148f144513c2d967338146b11ed9018fec9be59 | [
"BSD-2-Clause",
"NCSA"
] | permissive | pbb59/ScaffCC | e0bee9e5b16a6f145224ad6b0b6eb32adb026f95 | 7d28d310063d147930ec4705aa5ebdf94ea8e924 | refs/heads/master | 2020-09-23T04:43:54.059923 | 2019-12-19T03:59:22 | 2019-12-19T03:59:22 | 225,405,289 | 0 | 1 | BSD-2-Clause | 2019-12-02T15:17:37 | 2019-12-02T15:17:36 | null | UTF-8 | C++ | false | false | 19,329 | cpp | //===- llvm/unittest/ADT/HashingTest.cpp ----------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"ajavadia@princeton.edu"
] | ajavadia@princeton.edu |
bc2bd4f385b439d469858fe6536b6da1ccf352f7 | 6226d6aed3629aa4069c46971ffe764bb6c743f6 | /ThirdParty/SpeedTree/Common Source/Transform.cpp | 0b2ba1e7eb170b4442edcd9f9eaa415aa8a89bfd | [] | no_license | Myway3D/Myway3D | 83c30258f1e3eae90e619269406acd0ddeac7887 | 39cf569993f62fc648cbba49ebf74b3f8a64e46a | refs/heads/master | 2020-04-22T20:24:15.817427 | 2014-03-09T14:25:23 | 2014-03-09T14:25:23 | 170,640,096 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,224 | cpp | // Name: Transform.cpp
//
// *** INTERACTIVE DATA VISUALIZATION (IDV) PROPRIETARY INFORMATION ***
//
// Copyright (c) 2001-2002 IDV, Inc.
// All Rights Reserved.
//
// IDV, Inc.
// 1233 Washington St. Suite 610
// Columbia, SC 29201
// Voice: (803) 799-1699
// Fax:... | [
"Myway3D@Gmail.com@ff49bfeb-f889-bd78-9ae6-4dc862721fa0"
] | Myway3D@Gmail.com@ff49bfeb-f889-bd78-9ae6-4dc862721fa0 |
8b9558325c9b370af03d3d841c73e537856255c3 | bd0f9f9e7d0256dcad2b618c4443f62b5484bf73 | /src/Google/OAuth2.cpp | 9434fe44446d5f010bb1fb9a19ac5f1c5a17e78f | [] | no_license | ufft47/QingfengCalendar | 694a1be2a4b049dd02b7538dcf6a047e5a68657a | f0f485b23ced31acbbed1108d764dab234e7ac0a | refs/heads/master | 2021-05-31T08:57:37.283136 | 2015-10-14T14:46:30 | 2015-10-14T14:46:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,695 | cpp | #include "OAuth2.h"
#include <QApplication>
#include <QSettings>
#include <QMessageBox>
#include <QDebug>
#include "LoginDialog.h"
OAuth2::OAuth2(QWidget *parent)
{
m_end_point = "https://accounts.google.com/o/oauth2/auth";
m_scope = "https://www.googleapis.com/auth/calendar";
m_client_id = "135859676517-padra6s... | [
"qidaizhe11@gmail.com"
] | qidaizhe11@gmail.com |
42913771a15b814a5b10c1c92eb99e1d2668c677 | 00d092106cf24e95fdccd349d433170a21073eeb | /Region.cpp | 057e1e2aece229726c06cabf1f02659689b9ce8f | [] | no_license | 7Nate9/CS1440-HW5 | f9535a91d3160572b443e27eb6fc1f614e210005 | 5c21d83ed9093fbf2954c7a4579065652fbf54c9 | refs/heads/master | 2021-01-23T04:29:45.816084 | 2017-03-26T03:58:17 | 2017-03-26T03:58:17 | 86,205,148 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,841 | cpp | //
// Created by Stephen Clyde on 3/4/17.
//
#include "Region.h"
#include "Utils.h"
#include "World.h"
#include "Nation.h"
#include "State.h"
#include "County.h"
#include "City.h"
#include <iomanip>
const std::string regionDelimiter = "^^^";
const int TAB_SIZE = 4;
unsigned int Region::m_nextId = 0;
Region* Region:... | [
"Nate Lovell"
] | Nate Lovell |
5da705ad0c20ecb76ea3d81056d5ddef681a6fe1 | 63b82a1d4e645f5a1c2363f18e37a7d03be8cd4b | /Intermedios/Secuencia 2/Prueba.cpp | 771ceb5983bf69fa97ebef1b4e31f95481013aff | [] | no_license | Codedemons/Programing-C | bb4bae0fc6a756be5797a7b74ee360eab1108e0a | 3d2ec0ce4ff6b6c20199d3fc6a7dfcb32ec1ff55 | refs/heads/master | 2023-06-23T02:54:23.034555 | 2023-06-13T06:22:43 | 2023-06-13T06:22:43 | 290,343,123 | 1 | 0 | null | 2023-06-13T06:22:44 | 2020-08-25T23:09:07 | C | UTF-8 | C++ | false | false | 450 | cpp | #include<stdio.h>
#include<conio.h>
const int max = 1000;
int i,j,aux,cn,n[max];
int main()
{
printf("Dimension del Vector: ");
scanf("%d",&cn);
for(i=0;i<cn;i++)
{
printf("Ingrese el elemento %i: ",i+1);
scanf("%d",&n[i]);
}
for(i=1; i<cn; i++)
{
for(j=0; j<cn-i; j++)
{
if(n[j]>n[j+1])
{
... | [
"58617892+Codedemons@users.noreply.github.com"
] | 58617892+Codedemons@users.noreply.github.com |
8d19fbb277624d6b2a82e539c47b5b53533657fe | f298165c28590e5fa8643241424f385c38940d2e | /SDK/PUBG_ItemToolTipWidgetv3_parameters.hpp | 0cc95c70f4a3fdbddef47239aaccb35d3c5aaf73 | [] | no_license | ZoondEngine/Core | 2d35cc0121c7eb37b3744609e69f02a07fa36ac1 | 03cce9e7939c9654dc4da16e753eb62cbd9b1450 | refs/heads/master | 2020-03-14T01:16:16.972475 | 2018-04-28T04:49:50 | 2018-04-28T04:49:50 | 131,373,903 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,323 | hpp | #pragma once
// PLAYERUNKNOWN'S BATTLEGROUNDS (3.7.27.27) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace Classes
{
//---------------------------------------------------------------------------
//Parameters
//-----------------------------------------------------------------------... | [
"mango.kamchatka.1997@gmail.com"
] | mango.kamchatka.1997@gmail.com |
4e9c9eb3f2cc8b4359e7a59b89c29478ccecb772 | 65a948570b3ef32d7b031fd5f2dd0944fe933336 | /test/test_first.cpp | b128664be3dabb7c9281ac789e2af6bc49216423 | [] | no_license | ner0-m/cxx-template | 0561cfc17889e3da82e82d7c84ec73bea3934b51 | 8ae70a71b6d930b1c9340fdad9ee500e0846c870 | refs/heads/master | 2021-05-19T07:21:18.480052 | 2021-04-04T10:39:18 | 2021-04-04T10:39:18 | 251,583,359 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 293 | cpp | #include "doctest.h"
int factorial(int number)
{
return number <= 1 ? number : factorial(number - 1) * number;
}
TEST_CASE("testing the factorial function")
{
CHECK(factorial(1) == 1);
CHECK(factorial(2) == 2);
CHECK(factorial(3) == 6);
CHECK(factorial(10) == 3628800);
} | [
"frankd@in.tum.de"
] | frankd@in.tum.de |
0b66f0b7736618b698e16cbc51ca0ddbf1580753 | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /Codes/AC/2297.cpp | afea3eb49eb1139630569a853028f1bca3dee7e8 | [] | no_license | thegamer1907/Code_Analysis | 0a2bb97a9fb5faf01d983c223d9715eb419b7519 | 48079e399321b585efc8a2c6a84c25e2e7a22a61 | refs/heads/master | 2020-05-27T01:20:55.921937 | 2019-11-20T11:15:11 | 2019-11-20T11:15:11 | 188,403,594 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,082 | cpp | #include<bits/stdc++.h>
#define ff first
#define ss second
#define pb push_back
#define mp make_pair
#define ll long long
#define ld long double
#define all(a) a.begin(),a.end()
#define endl '\n'
#define int long long
using namespace std;
const int N=1e7+1;
const int M=1e7+15;
int used[M... | [
"harshitagar1907@gmail.com"
] | harshitagar1907@gmail.com |
aa41f670dc8fdd4f7b97e5dc4637b4903a8ed5ea | 4d8ecf28131be87ed76f5269a1462fa691af2b1b | /Bitmap.cpp | e39f26a399198e2a96f38f8fd8bc9a85eaee9d9b | [] | no_license | 0201jin/BedLam | 4e7cbae7f7714d88672c0c917cb8c5d1b0f0487e | 15c97bd43faedc07c7e30fc581f11998a173a6f7 | refs/heads/master | 2022-12-17T17:10:18.786339 | 2020-09-16T23:30:49 | 2020-09-16T23:30:49 | 296,167,948 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 520 | cpp | #include "Bitmap.h"
#include "Define.h"
Bitmap::Bitmap(void)
{
}
Bitmap::~Bitmap(void)
{
}
Bitmap* Bitmap::LoadBmp(PTCHAR pFileName)
{
m_hdc = GetDC(g_hWnd);
m_MemDC = CreateCompatibleDC(m_hdc);
m_bitmap = (HBITMAP)LoadImage(NULL,pFileName, IMAGE_BITMAP
,0,0,LR_LOADFROMFILE | LR_CREATEDIBSECTION);
m_oldbitm... | [
"53131813+0201jin@users.noreply.github.com"
] | 53131813+0201jin@users.noreply.github.com |
3a75b67498063a27c43f92f168629f7147bdc545 | 8a70d60c9d279cc5895e63b638873ffff385c553 | /Unalyze/backup/analyze_20110405-0031.cxx | b92418f5e3b4740174b90500cf8534e1b26d38eb | [] | no_license | belmonrj/Run8dAu | 46394dfe84695bc489036ef2bc985105926099b9 | 60c0ed10841169db1c2a734a0dae9a15a1f93363 | refs/heads/master | 2021-01-19T15:11:59.517645 | 2017-02-16T21:31:16 | 2017-02-16T21:31:16 | 88,204,098 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 148,001 | cxx | // Author: Ron Belmont
// Date: 2010-05-17
#include <iostream>
#include <fstream>
#include <sstream>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <map>
#include <sys/time.h>
#include "hadrontree.h"
#include "TROOT.h"
#include "TFile.h"
#include "TTree.h"
#include "TH1.h"
#include "TH2.h"
#in... | [
"belmonrj@gmail.com"
] | belmonrj@gmail.com |
295544e68144392083b7baabc34d3aa01c2f0a4c | fe4cc9cda77fe27fd8fa7d11fe57a42f01362ef0 | /CodeChef/GOODPROB.cpp | fc831da1787d892c90e9e8dfe6a80d570692a094 | [] | no_license | mysterious-29/cp | 3c3c05ab4d0be985c13bf61dfc8d1f20282e8b5a | f9a5689a142122cc97d56007be3499a3a597c104 | refs/heads/master | 2021-04-26T23:41:43.277538 | 2018-10-01T19:44:05 | 2018-10-01T19:44:05 | 72,021,257 | 0 | 3 | null | 2016-10-28T06:29:23 | 2016-10-26T16:14:14 | C++ | UTF-8 | C++ | false | false | 611 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef pair<int, int> pii;
int main(){
int n, i, j, x;
scanf("%d", &n);
int arr[n], temp1, temp2, temp3;
long long int ans;
vector<int> maxs[n];
ans = 0;
for(i = 0; i < n; i++){
scanf("%d", &x);
arr[i] = x;
for(j = 0; j < i; j++){
if(maxs[j][i - j - 1]... | [
"saurabh.k0402@gmail.com"
] | saurabh.k0402@gmail.com |
5eba1d91f14d9102de803bb9ece6091680a0fb07 | dd30cfdbae5e919d94a3b2c0a2172043971fe2bb | /C++/Strategy/DuckSimulator/client/Duck.cpp | 85e726da5ab9d8c4e95e789a53d12bfe001702c1 | [] | no_license | mustafaelghrib/DesignPatterns | fb19a03b2a537098220f9b95eb2d427a074b9bf5 | b24f081df3e4dca0c56fce4dbc1322d9ceae6298 | refs/heads/main | 2023-07-09T01:06:30.994918 | 2020-12-15T12:57:56 | 2020-12-15T12:57:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 630 | cpp | #include "../behavior/FlyBehavior.cpp"
#include "../behavior/QuackBehavior.cpp"
#include "iostream"
#include <string>
#include <utility>
using namespace std;
class FlyBehavior;
class QuackBehavior;
class Duck {
public:
explicit Duck(string duckName) : duckName(move(duckName)) {}
void display() { cout << "... | [
"mustafaabdo468@gmail.com"
] | mustafaabdo468@gmail.com |
49a70a9669d8db4e111a167b48cc727e5c195e4f | d2788ebe40c2a265bdb3bb02bc4c5bb7a0da9c3d | /libraries/chain/include/VACio/chain/contract_table_objects.hpp | 22c25f48e2f3fc3de79e338c45d4954497665e13 | [
"BSD-3-Clause",
"MIT",
"Apache-2.0"
] | permissive | vaccoin/vac | b68df3dac0841990ee7b8947584253974c0b926c | 146ba68ab94e249416e644d3df39715b948c948c | refs/heads/master | 2020-03-23T21:34:29.456786 | 2018-07-24T05:05:40 | 2018-07-24T06:38:31 | 142,096,720 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,460 | hpp | /**
* @file
* @copyright defined in VAC/LICENSE.txt
*/
#pragma once
#include <VACio/chain/contract_types.hpp>
#include <VACio/chain/multi_index_includes.hpp>
#include <softfloat.hpp>
#include <chainbase/chainbase.hpp>
#include <array>
#include <type_traits>
namespace VACio { namespace chain {
/**
* @br... | [
"vaccoin@mail.com"
] | vaccoin@mail.com |
77be593356607ccdf2343b5b2930ebe405bf00e1 | 9dc6cb93169af80ffc1e055eaea2a7cbd2b139ec | /o2engine_render_debug/src/util/image/image.cpp | e311634ec379c5ffedd7e5af3edb4e8ec632b2c0 | [] | no_license | zenkovich/anphys-engine-svn | 2b745f8341f1cebde1863404e8cc55a0eaeb4c91 | 4fac80c014a0e0c39e1f0d821be1a062c626499c | refs/heads/master | 2020-06-09T16:58:33.065922 | 2015-01-15T17:37:05 | 2015-01-15T17:37:05 | 53,565,477 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,853 | cpp | #include "image.h"
#include "png_image_format.h"
#include "util\log.h"
OPEN_O2_NAMESPACE
cImage::cImage():
mFormat(FMT_NONE), mData(NULL)
{
}
cImage::cImage( Format format, const vec2i& size ):
mFormat(format), mSize(size)
{
create(format, size);
}
cImage::~cImage()
{
safe_release_arr(mData... | [
"zenkovichan@gmail.com"
] | zenkovichan@gmail.com |
9fbb68262a02e51929b23b0815e408b8fe24947d | 8153de6526a9ac2880f200ebe4ccab2a2aee5b89 | /VoxelEngine/Classes/ScaleTo.cpp | 4d13a818fc8aea9d857abd67fa5dfa350272254b | [] | no_license | bsy6766/VoxelEngine | b0ca9d849f935d2688dda461b24bfd1e2404ce88 | d822d8bcc3bf5609bdce2fdc2ef5154994bc23f1 | refs/heads/master | 2023-02-20T01:10:44.053563 | 2021-01-21T08:36:56 | 2021-01-21T08:36:56 | 215,790,330 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 987 | cpp | #include "ScaleTo.h"
// voxel
#include "TransformNode.h"
Voxel::UI::ScaleTo::ScaleTo()
: Action()
, scale(0.0f)
, target(nullptr)
{}
bool Voxel::UI::ScaleTo::init(const float duration, const glm::vec2 & scale)
{
if (duration < 0.0f)
{
return false;
}
this->duration = duration;
this->scale = scale;
retu... | [
"bsy6766@gmail.com"
] | bsy6766@gmail.com |
44a89aa719809c55592cd1673dd608459c13a1f5 | 56a4cb943d085a672f8b0d08a8c047f772e6a45e | /code/Johnson_Engine/Runtime/server/src/s_client.cpp | d35cc3b305545ff109b285d525d93839b098ec19 | [] | no_license | robertveloso/suddenattack_legacy | 2016fa21640d9a97227337ac8b2513af7b0ce00b | 05ff49cced2ba651c25c18379fed156c58a577d7 | refs/heads/master | 2022-06-20T05:00:10.375695 | 2020-05-08T01:46:02 | 2020-05-08T01:46:02 | 262,199,345 | 3 | 1 | null | null | null | null | UHC | C++ | false | false | 49,668 | cpp | #include "bdefs.h"
#include "s_client.h"
#include "ftserv.h"
#include "servermgr.h"
#include "s_net.h"
#include "dhashtable.h"
#include "sounddata.h"
#include "impl_common.h"
#include "s_object.h"
#include "soundtrack.h"
#include "serverevent.h"
#include "sysstreamsim.h"
#include "iltphysics.h"
#include "Limits.h"
#in... | [
"robert@velosodigital.com"
] | robert@velosodigital.com |
fbd505969c4ad2581aec7a6a21f6f714d5e57af7 | 1a902df42c2c22c6e66152044e2c75f5549aa399 | /210925 Kakao 2.cpp | c32260823a1ee756420d63160e982e2bf335f680 | [] | no_license | Garrrruii/CodingTests | 8e32ca294c86fd745ca5191cdc91a0330e569ed5 | 6984c4791637e5621600d201a5598545e5e1aea5 | refs/heads/master | 2023-08-13T13:20:23.316669 | 2021-10-17T07:35:12 | 2021-10-17T07:35:12 | 417,817,523 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,753 | cpp | #include <cmath>
#include <vector>
#include <iostream>
using namespace std;
//3^13>1000000 => r(10^13) => 3333333
bool notp[3333334];
vector<long long> prime;
int solution(int n, int k) {
int answer = 0;
long long MAX = 3333333;
notp[0] = notp[1] = true;
for (long long i = 2; i < MAX; ++i) {
if... | [
"hishally012@gmail.com"
] | hishally012@gmail.com |
10db409bf306c6e56ce220c10863d185747a3182 | d61d05748a59a1a73bbf3c39dd2c1a52d649d6e3 | /chromium/remoting/host/policy_watcher_unittest.cc | e4a9d30c634ecd20a59b5f518337af7f1d7558fb | [
"BSD-3-Clause"
] | permissive | Csineneo/Vivaldi | 4eaad20fc0ff306ca60b400cd5fad930a9082087 | d92465f71fb8e4345e27bd889532339204b26f1e | refs/heads/master | 2022-11-23T17:11:50.714160 | 2019-05-25T11:45:11 | 2019-05-25T11:45:11 | 144,489,531 | 5 | 4 | BSD-3-Clause | 2022-11-04T05:55:33 | 2018-08-12T18:04:37 | null | UTF-8 | C++ | false | false | 31,331 | 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 "remoting/host/policy_watcher.h"
#include "base/bind.h"
#include "base/json/json_writer.h"
#include "base/macros.h"
#include "base/memory/ptr_ut... | [
"csineneo@gmail.com"
] | csineneo@gmail.com |
bd797e7e438c351160f1689f1f58a7548fcfea3b | 1d159b3f3f2706afd98a72682e67135f3fd5f04c | /Proj/com.cpp | 4dfb72d50b9947f8d9db812a10384070f0a51f59 | [] | no_license | RabbitChenc/reju_qss | f5d73e6e5f455995234e60fa225c69eb48084011 | ba7c473a7f92a1265166d282fd5a9ab573982d6f | refs/heads/master | 2022-08-30T01:58:14.298158 | 2020-05-22T09:35:54 | 2020-05-22T09:35:54 | 266,072,759 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 912 | cpp | #include "com.h"
#include <QFile>
#include <QApplication>
com::com()
{
}
void com::setStyle(const QString &style)
{
QFile qss(style);
qss.open(QFile::ReadOnly);
qApp->setStyleSheet(qss.readAll());
qss.close();
}
void com::whiteStyle(void)
{
qApp->setStyleSheet("QWidget#MainWindow {"
... | [
"357778342@qq.com"
] | 357778342@qq.com |
97a7248e341caf9ddb5faf7c51930e8822f17199 | 8dc8a23d229897851523d397127cfdb788b60e40 | /serialcomm/fotokite_serialcom/src/CameraControl.h | 5dbc06261a27a793fed0765f7d8a3c268c6cf2a8 | [] | no_license | pranavvaidik/CSCE-635-USV-Track-Behavior | 7e8434f637f4ee95dbcf88c6d536b11b32606ece | 7615e1e1de8863f97b5d287b5ab83d2e6a9be35f | refs/heads/master | 2021-01-23T00:33:55.802201 | 2017-04-27T18:24:35 | 2017-04-27T18:24:35 | 85,738,040 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,310 | h | /*
Code to control the camera gimbal pitch and fotokite yaw motion.
It takes in 4 inputs. x,y coordinate position of EMILY and rx,ry major and minor axes lengths of the ellipse
The ellipse is assumed to have an origin at the centre (l/2,w/2);
The control used is a simple proportional controller.
*/
#include "seri... | [
"haresh.miriyala@gmail.com"
] | haresh.miriyala@gmail.com |
7248dc1c60d4e6d3267838f1661251b3a2f4bdb6 | eb996a41bb5dc55e782a3996f50238e4ed7c6ef6 | /sessie_4/main.cpp | 3e6cae2d89fc5f97300506bd92c11643453eb0e4 | [] | no_license | WoutVerschaeren/2018_beeldinterpretatie_Verschaeren_Wout | c1c4034f02d25872291e2c70eefbaf72c717702e | c87f6831fab532c06d478e3138544592e9c7acea | refs/heads/master | 2020-04-02T06:53:40.837256 | 2019-03-31T22:42:14 | 2019-03-31T22:42:14 | 154,173,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,893 | cpp | #include <iostream>
#include <opencv2/opencv.hpp>
using namespace std;
using namespace cv;
///Detect keypoints in the image
/*
img: the image in which keypoints need to be detected
keypointType: keypoint type: ORB (1), BRISK (2), or AKAZE (3)
*/
vector<KeyPoint> KeyPointDetection(Mat img, int keypointType)
{
... | [
"woutverschaeren@telenet.be"
] | woutverschaeren@telenet.be |
67ba8245ba10b9547b094fb4fc37e26d62787364 | b3710dfdd0eeb3e28d3a4c666af5df6558a03553 | /cgodeps/godot_engine/core/math/geometry_3d.cpp | 2c19fe20858fa050d73ae4775b8b5a27888e6eb9 | [
"MIT",
"LicenseRef-scancode-free-unknown",
"CC-BY-3.0",
"OFL-1.1",
"BSD-3-Clause",
"Bitstream-Vera",
"FTL",
"MPL-2.0",
"Zlib",
"LicenseRef-scancode-nvidia-2002",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"CC-BY-4.0"
] | permissive | gabstv/godot-go | 5befd7539ef35a9e459046644dd4b246a0db1ad9 | e0e7f07e1e44716e18330f063c9b3fd3c2468d31 | refs/heads/master | 2021-05-21T23:48:25.434825 | 2020-08-27T16:52:18 | 2020-08-27T16:52:18 | 252,864,512 | 10 | 3 | MIT | 2020-08-27T16:52:20 | 2020-04-03T23:26:52 | C++ | UTF-8 | C++ | false | false | 25,172 | cpp | /*************************************************************************/
/* geometry_3d.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | [
"gabs@gabs.tv"
] | gabs@gabs.tv |
bcf61a914a57a68c289f7059ff601e89dd571d3f | a9ab72c3dd7fdfe8b6e0b1b5e296bf4c39b9989d | /round3/leetcode289.cpp | c52cffd83dc3b0dc939c8087ced4216c6c0bc5f6 | [] | no_license | keqhe/leetcode | cd82fc3d98b7fc71a9a08c5e438aa1f82737d76f | 86b2a453255c909f94f9ea3be7f2a97a6680a854 | refs/heads/master | 2020-12-24T06:38:15.444432 | 2016-12-07T19:15:02 | 2016-12-07T19:15:02 | 48,405,123 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,893 | cpp |
class Solution {
public:
//encoding
//0 dead
//1 live
//00->dead to dead
//01->dead to live
//10->live to dead
//11->live to live
//above encoding is not correct, think why?
//[2nd bit, 1st bit] = [next state, current state]
//[1 0] <----- [live, dead]
//[1 1] <------[l... | [
"keqhe@cs.wisc.edu"
] | keqhe@cs.wisc.edu |
3504fd8bfe7885283044b4d110804d4c5defc8b5 | 56e806230c41e382372709aa080db7582fdd5686 | /Workspace_Zihan_Zhang_Photon_Amazon/DriverProject1/src/MacBookItem.cpp | 5a354eb25efffd58f7d7d7f0ee8d68667dddd9ca | [] | no_license | ZihanZhang/CSYE6205-Concepts-of-Object-Oriented-Design-with-C-plus-plus--Assignments | c6c67cec9d42b5b675b9690abdc7d9a0e14d8141 | 118921915acf176317443c0a8fd5eb987023ca81 | refs/heads/master | 2020-04-12T16:50:10.800131 | 2018-12-20T23:16:02 | 2018-12-20T23:16:02 | 162,625,515 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 506 | cpp | /*
* MacBookItem.cpp
*
* Created on: 2018年11月6日
* Author: zihan
*/
#include "MacBookItem.h"
namespace edu {
namespace neu {
namespace csye6205 {
MacBookItem::MacBookItem() {
// TODO Auto-generated constructor stub
}
MacBookItem::MacBookItem(int id, string name, double price) {
this->id = id;
this->na... | [
"zhang.ziha@husky.neu.edu"
] | zhang.ziha@husky.neu.edu |
f87dd401f12fbc4a62a67915e4fbcee82e9b85e7 | 21a199ffdcb328f42bb3871030bd10c1e2990c12 | /dailymission/1회차/1004/1007_8.27_안영선.cpp | 8056b27d0f235a00d6922937f047d4909c1b1892 | [] | no_license | AYoungSn/Algorithm | 3431f63ce5ad7e71339eb669961da396b8fca26c | 45bcb071f9a40cf868e61d58df0c70a41de10cd1 | refs/heads/master | 2020-12-07T11:50:44.737192 | 2020-11-20T07:24:06 | 2020-11-20T07:24:06 | 232,715,255 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,152 | cpp | #include <iostream>
using namespace std;
const int SIZE = 3;
void sortRows(const double m[][SIZE], double result[][SIZE])
{
for (int i = 0; i < SIZE; i++)
for (int j = 0; j < SIZE; j++)
result[i][j] = m[i][j];
for (int i = 0; i < SIZE; i++) {
for (int j = 0; j < SIZE - 1; j++) {
double currentMin = result... | [
"dudtjs0920@naver.com"
] | dudtjs0920@naver.com |
f3fccab46903d0372ea70d066ce5c48100879407 | 43490b42ce26995b925ebdcd752e0b6aadfd09c9 | /skia/include/gpu/GrSurface.h | eaba06f5fc68d6d8938fd6421c617f1db215520e | [] | no_license | lineCode/render_skia2 | 010eb67788573307cee4d805cee9121b9fdaab8c | 6ffb52a596a6a1e7f0920ddde570015ffebce5ab | refs/heads/master | 2020-08-01T13:36:46.880346 | 2019-09-25T14:44:51 | 2019-09-25T15:22:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,161 | h | /*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GrSurface_DEFINED
#define GrSurface_DEFINED
#include "include/core/SkImageInfo.h"
#include "include/core/SkRect.h"
#include "include/gpu/GrBackendSurface.h"
#include... | [
"setoutsoft@qq.com"
] | setoutsoft@qq.com |
18339b3fefa74f6c129a30f2b8d277736d4b0274 | 639437a1b2dbb1431940154e10e3f2043f2ea053 | /restaurant.cpp | dc8ab87bb20c5b8a9d532b532f56b6341683b5f0 | [] | no_license | EthanBayer/CashRegister | 7435afe795238e1004df9e0600fc6b4fc29eafc8 | ce061c074c4c1dd37f17c7dca6d49cc18c031a62 | refs/heads/main | 2023-01-28T08:08:23.521083 | 2020-12-11T00:00:48 | 2020-12-11T00:00:48 | 320,419,504 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 160 | cpp | #include "include/drivers/headers/Application.hpp"
int main(){
Application app("../files/users.txt", "../files/items.txt");
app.run();
return 0;
} | [
"bayeres1871@gmail.com"
] | bayeres1871@gmail.com |
75e197f58636bfdf54bb84cbda3d87b59619ced4 | 1a543e7112e6a3b49098c2c8f8b1a7f1973a77fe | /Books/C++프로그래밍/Chapter 01/08_NameAlias.cpp | 886e99c0977940322836e99b16b8e060f63f3a48 | [] | no_license | booknu/PS_Relative | d0bc27cbc695511610b83a6f541410f4c13fafd8 | 944964bfed4ae04f38c20b1dfddea1c63f236f82 | refs/heads/master | 2022-06-09T02:22:12.306623 | 2020-05-05T08:35:20 | 2020-05-05T08:35:20 | 198,022,480 | 1 | 1 | null | null | null | null | UHC | C++ | false | false | 850 | cpp | ///************
//<주소> : p48
//**********
//<해결방안> :
//
//namespace가 과도하게 중첩 되었을 때, 그것을 또 하나의 namespace로 통일하여 부를 수 있다.
//
//A::B::C::D::func(10) 을 부르는 대신,
//namespace ABCD = A::B::C::D;
//ABCD::func(10) 을 사용 가능
//
//**********
//<오답노트> :
//
//*/
//
//#include <iostream>
//
//using namespace std; // 이렇게 통째로 namespace를 ... | [
"limsydev@gmail.com"
] | limsydev@gmail.com |
42b1786b101a58dd44a225d61711c68797a9d969 | 634b56ebe32a73a4bfaf74e7f454b9718abdfd25 | /include/topic_tools/DemuxDeleteRequest.h | 7fd73afa2e417bf26c954335b0f599cc0c8ee702 | [] | no_license | uas-at-ucla-dependencies/ros_bazel | dbc9fd422fac1f0aa319eafa4cbb1ebab7a0a0e2 | 9435753c27f9f3c5fa5790e5fa3da382259fda2f | refs/heads/master | 2020-07-09T17:44:31.517810 | 2019-05-29T22:32:34 | 2019-05-29T22:32:34 | 204,037,240 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,270 | h | // Generated by gencpp from file topic_tools/DemuxDeleteRequest.msg
// DO NOT EDIT!
#ifndef TOPIC_TOOLS_MESSAGE_DEMUXDELETEREQUEST_H
#define TOPIC_TOOLS_MESSAGE_DEMUXDELETEREQUEST_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_messag... | [
"comranmorsh@gmail.com"
] | comranmorsh@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.