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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
97fc51e9407bfb562359245bb2c5806a2646bce9 | 258b8cd33ce666d1a2a16114af1996a5f36113a4 | /src/Wordlist.hpp | 9f3469c59dc1a0f005ea8f237b97fe56311853c4 | [] | no_license | Emma-Rabbit/hangman | 1099a010985f3e77bcd31933bbfcf0c85a14ed3b | 87bb7c4c4e5bfc01f5f3e2a2288cc9cdb3b3ac09 | refs/heads/main | 2023-05-05T03:11:06.772490 | 2021-05-15T11:11:41 | 2021-05-15T11:11:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 339 | hpp | #include "FileManager.hpp"
#include <vector>
#include <string>
class Wordlist{
FileManager *fm;
std::vector<std::string> wordlist;
public:
int addWord(std::string word);
int deleteWord(std::string word);
void listWords();
std::vector<std::string> getWordVector();
std::string pickWord();
Wordlist(std::s... | [
"tiranmelia@gmail.com"
] | tiranmelia@gmail.com |
dcaaddfb8548c2b48ebeca6b0691f519b8d46cf6 | fc61880f0895ef0e41c6e0225534c5683313247a | /modules/sort/test/merge_sort_test_suite.cpp | 29b006f064254e6d52dc45ab3a0f5364075fd3d5 | [] | no_license | nkornelsen/computer-vision-bootcamp | ba3cb556deae23c2bc58d6f289b8d70beea6fc49 | e0c00985a9526aa6c196df79e3d66839b47f13fc | refs/heads/master | 2022-11-23T06:04:45.547940 | 2020-08-01T19:45:03 | 2020-08-01T19:45:03 | 284,184,831 | 0 | 0 | null | 2020-08-01T04:19:48 | 2020-08-01T04:19:47 | null | UTF-8 | C++ | false | false | 1,293 | cpp | /**
* @file merge_sort_test_suite.h
* @author Nolan Kornelsen
*
* @section LICENSE
*
* Copyright (c) 2015, Waterloo Aerial Robotics Group (WARG)
* All rights reserved.
*
* This software is licensed under a modified version of the BSD 3 clause license
* that should have been included with this software in ... | [
"perpetualcolor@gmail.com"
] | perpetualcolor@gmail.com |
869c819af31f714c119d9009d6ff415d7809a159 | 5456502f97627278cbd6e16d002d50f1de3da7bb | /ui/views/widget/native_widget_private.h | 740880cf19a2e49c0e208c18ba80161620648397 | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/Chromium_7C66 | 72d108a413909eb3bd36c73a6c2f98de1573b6e5 | c8649ab2a0f5a747369ed50351209a42f59672ee | refs/heads/master | 2023-03-16T12:51:40.231959 | 2017-12-20T10:38:26 | 2017-12-20T10:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,285 | 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 UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_
#define UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_
#include <memory>
#include <string>
#inc... | [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
b566a8ff631c0f09aeddaa188626d1957b732a59 | ea401c3e792a50364fe11f7cea0f35f99e8f4bde | /hackathon/wpkenan/resample_swc/resampling.h | 4709d789b7025d003f5eb45c652f5f312604793f | [
"MIT"
] | permissive | Vaa3D/vaa3d_tools | edb696aa3b9b59acaf83d6d27c6ae0a14bf75fe9 | e6974d5223ae70474efaa85e1253f5df1814fae8 | refs/heads/master | 2023-08-03T06:12:01.013752 | 2023-08-02T07:26:01 | 2023-08-02T07:26:01 | 50,527,925 | 107 | 86 | MIT | 2023-05-22T23:43:48 | 2016-01-27T18:19:17 | C++ | UTF-8 | C++ | false | false | 4,256 | h | //resample neuronTree subject to a step length
//2012-02-29 by Yinan Wan
//2012-03-05 Yinan Wan: interpolate radius
#ifndef __RESAMPLING_H__
#define __RESAMPLING_H__
#include "basic_surf_objs.h"
#include <vector>
using namespace std;
#define DISTP(a,b) sqrt(((a)->x-(b)->x)*((a)->x-(b)->x)+((a)->y-(b)->y)*((a)->y-(b)->... | [
"llfwyyx@163.com"
] | llfwyyx@163.com |
463d92779ffeb4b0e2728648abe24ac847f0d47f | 3799ce480dee23accbe16c0bf22ebfd4dd084c9d | /UVa/UVaSolutions/11152 Colourful Flowers/11152 Colourful Flowers.cpp | 794821a2bf82ed9d3fa6843b75221d7fe6ad629e | [] | no_license | belal-bh/Analytical_Programming | e8847f1cfe207b7810e6bce599a4b4d11a264834 | 4443097b9f849ad66d9a8be387b79f7d384d5152 | refs/heads/master | 2021-09-12T23:04:08.252839 | 2018-04-22T07:17:14 | 2018-04-22T07:17:14 | 115,419,505 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 521 | cpp | #include<iostream>
#include<stdio.h>
#include<math.h>
#define pi acos(-1.0)
using namespace std;
int main(){
double a,b,c,s;
double Mar,Bar,Tar,R;
while(scanf("%lf %lf %lf",&a,&b,&c)!=EOF){
//while(cin>>a>>b>>c){
s=(a+b+c)/2;
Tar=sqrt((s*(s-a)*(s-b)*(s-c)));
Mar=pi*pow((Ta... | [
"noreply@github.com"
] | belal-bh.noreply@github.com |
d1adcdfac87ee4323213d26d35da44c81b9a6ab1 | 1464919791f6d1932f18f0a2c4a471d4ffcab740 | /DirectionalLight/main.cpp | ea485ece25e51c5aa503447602b841c27ec971a7 | [] | no_license | firearasi/mylearnopengl | bb5f464ba333b075f1d5ab4293c25264c6f15372 | a274b3ec15d5f54ae1bc72cde1aa01739fb756cd | refs/heads/master | 2020-03-22T23:22:20.360790 | 2018-07-13T06:23:17 | 2018-07-13T06:23:17 | 140,806,068 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,439 | cpp | #include <glad/glad.h>
#include <GLFW/glfw3.h>
#define STB_IMAGE_IMPLEMENTATION
#include <stb/stb_image.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <shader/shader.h>
#include <utils/camera.h>
#include <iostream>
void framebuffer_size_callback(GLFWwindo... | [
"firearasi@qq.com"
] | firearasi@qq.com |
aac525f7c030ef2b5c5fa778e7f6df37c7f9c39d | 108c2b4b662962786d1f727831251790d8d38162 | /src/somadicom/Dicom/Bruker/BrukerEnhancedMRReader.cc | 64a1e5b5313ab7dd2b4a99a188fd5e2c1e391cd9 | [
"LicenseRef-scancode-cecill-b-en"
] | permissive | brainvisa/soma-io | 105adbaccc5f06d6773ee894f30baec35c48a403 | d22e9d27f6e0696e234a6e33f7fbd9fa4620adc1 | refs/heads/master | 2023-08-04T18:46:57.728163 | 2023-07-28T16:53:08 | 2023-07-28T16:53:08 | 155,413,952 | 3 | 4 | NOASSERTION | 2023-07-28T16:53:09 | 2018-10-30T15:55:17 | C++ | UTF-8 | C++ | false | false | 1,500 | cc | #ifdef SOMA_IO_DICOM
#include <soma-io/Dicom/Bruker/BrukerEnhancedMRReader.h>
#include <soma-io/Dicom/Bruker/BrukerEnhancedIndexModule.h>
#include <soma-io/Dicom/DicomDatasetHeader.h>
#include <soma-io/Dicom/DicomIO.h>
#include <soma-io/Object/HeaderProxy.h>
#include <soma-io/Utils/StdInt.h>
#else
#include <Dicom/Bruke... | [
"FPoupon@users.noreply.github.com"
] | FPoupon@users.noreply.github.com |
1ee76481047b86c14d9dd8a1fd18b22a5379a96c | c897e90a03799e50250a8304a4f8f74c63fa2b92 | /include/Color.h | e7c4a8062c8f351065c32fd5c507b1ae9463e1fe | [] | no_license | GHF/trayrace | 5e6d7e188ea95c8f41bf5808a9e4f6a70c0ff352 | d6cf02aef3c511c8b9816b5edc84ba803638f811 | refs/heads/master | 2016-09-10T10:09:31.562165 | 2012-12-14T16:35:43 | 2012-12-14T16:35:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,815 | h | /*
* Copyright (C) 2012 Xo Wang
*
* 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... | [
"xo@geekshavefeelings.com"
] | xo@geekshavefeelings.com |
b134c2e4af39cab20b002db5b202d2ea917a46c4 | 22aee427f75c8411a6910567f0421f722619db27 | /Math/source/Math/cdm_radian.cpp | 70ed7dd63c8e8f3a53cdf482a6122f3e0b0d748f | [] | no_license | XxGTSCxX/Chilldew | 7ffc747d50ecfa1b5f3171e9b582de91c12c4c0d | 3de3ba2f75170729242b8d62c4e47b94ad98870f | refs/heads/master | 2023-01-07T02:29:24.162286 | 2020-10-23T14:58:20 | 2020-10-23T14:58:20 | 254,054,388 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,296 | cpp | /******************************************************************************/
/*!
\project Chilldew-Math
\file cdm_radian.cpp
\author Gabrielle Tan Suan Choo
\brief
Angles in radians.
all content (C) 2020 DigiPen (SINGAPORE) Corporation, all rights reserved.
Reproduction or disclosure of thi... | [
"g.tan@digipen.edu"
] | g.tan@digipen.edu |
7c9df481e3819d0a127828b2b1b3612d77aa2202 | 082389d29e73a19668cf5c829e0059309203e320 | /Before November 2016/August/sep2.cpp | a55105a0714eb6c2b8fc63847404a4f894ad2409 | [] | no_license | aman955/Competitive-Coding | 41674cd625e2d941332d77ed0832fbc09ecf898e | 3feab59f254654a72ea6d0fba74c3f21eb710242 | refs/heads/master | 2021-05-10T20:25:22.604740 | 2018-02-15T15:24:58 | 2018-02-15T15:24:58 | 118,187,667 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 327 | cpp | #include<iostream>
#include<algorithm>
#include<cmath>
#include<vector>
using namespace std;
int main()
{
long n,k,c,i;
cin>>n;
vector<long long int> a(n);
for(int i=0;i<n;i++)
cin>>a[i];
sort(a.begin(),a.end());
for(i=0;i<n-1;i++)
{
if(a[i]!=a[i+1])
c++;
}
k=pow(2,n-c-1);
cout<<... | [
"noreply@github.com"
] | aman955.noreply@github.com |
8a8d09b3796b317b81039c7d94e60db0d4bb6f24 | 87960daf16cca9bc7f46fe26571333b619f2bafc | /test/cpp/jit/test_misc.h | 36c22dcb5934d537c8d090165b0bad64a45273cd | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | Roulbac/pytorch | d754e7d464a62c25f6c6b9c3bba77eb76363efec | 6c52a5f60321bb9fbd6cec31cbfb79811f3201ea | refs/heads/master | 2020-04-26T06:55:18.194409 | 2019-03-02T18:20:27 | 2019-03-02T18:20:27 | 173,379,856 | 0 | 0 | NOASSERTION | 2019-03-01T23:10:05 | 2019-03-01T23:10:05 | null | UTF-8 | C++ | false | false | 60,238 | h | #pragma once
#include "test/cpp/jit/test_base.h"
#include "ATen/core/interned_strings.h"
#include "torch/csrc/autograd/generated/variable_factories.h"
#include "torch/csrc/autograd/variable.h"
#include "torch/csrc/jit/argument_spec.h"
#include "torch/csrc/jit/attributes.h"
#include "torch/csrc/jit/autodiff.h"
#includ... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
d35be8cadc965b5dd3e550c15310a164fce46ac3 | 1a48014b25e15eaa24fedf61277a6acd7ece49b5 | /3明明的随机数.cpp | 29f1a11f340a83364ec2c52fcdcd82783282e9cc | [] | no_license | JasonDong1310/Huawei-oj | 88b3e6608776f0241abe0f3d8117309492062d37 | e7ee66db68dbb12c955298651d86e996fe158f1b | refs/heads/master | 2022-11-23T15:46:43.655839 | 2020-07-26T08:20:20 | 2020-07-26T08:20:20 | 282,606,469 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 281 | cpp | #include<iostream>
#include<algorithm>
using namespace std;
int a[1005];
int main()
{
int n;
while(cin>>n)
{
for(int i = 1; i<=n; i++) cin>>a[i];
sort(a+1,a+1+n);
int l = unique(a+1,a+1+n) - a;
for(int i = 1; i<l; i++) cout<<a[i]<<endl;
}
return 0;
}
| [
"noreply@github.com"
] | JasonDong1310.noreply@github.com |
783d53a1eecd42da6b844c22b876f2250aadc3ec | 4368f3b127b9330885c7a1789446c8af56189cdb | /Qt/QtCore/qlocale_blackberry.h | c80b6c1c3631b56e9fdf79c83227d6a8465929e0 | [
"MIT"
] | permissive | Yangff/mvuccu | 4cb57a8fb855a60c44e40f30b9c23bc66e175781 | d0dc7c84fdeea4ee3b70ba758942a3499bd7a53a | refs/heads/master | 2021-01-17T06:52:24.207080 | 2017-11-24T17:08:24 | 2017-11-24T17:08:24 | 52,864,715 | 5 | 5 | null | 2017-11-24T17:08:24 | 2016-03-01T09:30:02 | C++ | UTF-8 | C++ | false | false | 2,994 | h | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
*... | [
"yangff1@gmail.com"
] | yangff1@gmail.com |
aa048bc158652efd02027505144a2ad168e0be05 | 9853d6bd0920bdb895a3e795f6e06079823ef4c6 | /AladinGame/Aladin/Viewport.cpp | e1f1a7a9213c062c3cfeeb75041fa9fd97d38210 | [] | no_license | vantranguit920/Aladin | db921c8549349a927642172c1f598c96dffc6dfe | fc4e822f0b0e733b2a2daf1e4b8e12cd7734cbf2 | refs/heads/master | 2022-02-28T06:35:37.950865 | 2019-11-12T17:20:13 | 2019-11-12T17:20:13 | 217,807,415 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,976 | cpp | #include "Viewport.h"
#include "Object.h"
Viewport::Viewport()
{
}
Viewport::Viewport(float x, float y)
{
this->positionWorld.x = x;
this->positionWorld.y = y;
//Mặc định là kích thước game
this->width = 500.0f;
this->height = 500.0f;
}
Viewport::Viewport(float x, float y, float width, float height)
{
t... | [
"="
] | = |
55991a794666dae6b4966fe2a8e7f7bda0446cec | 2c93c789e2c7d4ad9e5104b98b0fb80ad69a2307 | /tools/Revitalize/seance/test/imports/funcs/sub_45F510.cpp | 56b5ea843548de73c272fd4e09c823c6b538db19 | [] | no_license | jkoppel/project-ironfist | 4faeaf8616084abe76696f4085776f26ff6ce212 | 0f8651d4305a4f982af8e43269dd6a8d7f86464d | refs/heads/master | 2023-05-26T09:14:29.594446 | 2023-05-11T07:11:28 | 2023-05-11T07:11:28 | 24,222,392 | 35 | 19 | null | 2023-05-11T04:52:17 | 2014-09-19T08:34:00 | Assembly | UTF-8 | C++ | false | false | 484 | cpp | {
if ( connectionSocket != -1 )
closesocket(connectionSocket);
if ( dword_4ED2E8 )
KBFree(dword_4ED2E8, (int)"F:\\h2xsrc\\Source\\Wsnetwin.cpp", word_511BEC + 7);
dword_4ED2E8 = 0;
if ( dword_4ED2EC )
KBFree(dword_4ED2EC, (int)"F:\\h2xsrc\\Source\\Wsnetwin.cpp", word_511BEC + 11);
dword_4ED2EC = 0... | [
"kertwaii@gmail.com"
] | kertwaii@gmail.com |
e299a14e2ea320ff49641b683239934d23303490 | ac1c9fbc1f1019efb19d0a8f3a088e8889f1e83c | /out/release/gen/services/audio/public/mojom/system_info.mojom-shared.h | 8f70decb2b2a452d0394c046ddcee7c3f4a1064b | [
"BSD-3-Clause"
] | permissive | xueqiya/chromium_src | 5d20b4d3a2a0251c063a7fb9952195cda6d29e34 | d4aa7a8f0e07cfaa448fcad8c12b29242a615103 | refs/heads/main | 2022-07-30T03:15:14.818330 | 2021-01-16T16:47:22 | 2021-01-16T16:47:22 | 330,115,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,258 | h | // services/audio/public/mojom/system_info.mojom-shared.h is auto generated by mojom_bindings_generator.py, do not edit
// Copyright 2016 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 SERVICES_AUDIO_PUBLIC_MOJ... | [
"xueqi@zjmedia.net"
] | xueqi@zjmedia.net |
6cbbeffbb498cb7ffd5a6b85a227e317959fc99b | 965b150758d50addcff149bfae7f37db48d62453 | /src/net/socket.cpp | a8c6415e5a91fa16d72d0926c3aac24e907e72ea | [] | no_license | C3-502/luna | 4711f4cda11a112b66fac5dcf414055731d87288 | 5d13683f038b1061054393a6e2289cee2963cb4e | refs/heads/master | 2020-12-30T18:03:13.365240 | 2017-06-10T19:55:39 | 2017-06-10T19:55:39 | 90,948,593 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,113 | cpp | #include "socket.h"
#include "../util/common_inc.h"
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/socket.h>
namespace luna {
namespace socket {
int tcp_socket()
{
return socket(AF_INET, SOCK_STREAM, 0);
}
int bind(int fd, const IPv4Addr &addr)
{
struct socka... | [
"895605504@qq.com"
] | 895605504@qq.com |
354160b2291c0a49ff87a323022a9e5bf01bdb73 | fac52aacf1a7145d46f420bb2991528676e3be3f | /SDK/AnimBP_Hunter_86_classes.h | a75ac65b3d76e82fdf9b4be2b36736df3a54f1be | [] | no_license | zH4x-SDK/zSCUM-SDK | 2342afd6ee54f4f0b14b0a0e9e3920d75bdb4fed | 711376eb272b220521fec36d84ca78fc11d4802a | refs/heads/main | 2023-07-15T16:02:22.649492 | 2021-08-27T13:44:21 | 2021-08-27T13:44:21 | 400,522,163 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,738 | h | #pragma once
// Name: SCUM, Version: 4.20.3
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// AnimBlueprintGeneratedClass AnimBP_Hun... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
a5f63f9af817eb7db25947d23a0b9257bc3f1ae1 | 5380c586f6129eebdc2c23c47377e1637a18ac7f | /velox/type/tests/FilterBuilder.h | f07c6e6ffa64cb3ea4179249b95b2881b6752c77 | [
"Apache-2.0"
] | permissive | amaliujia/velox | 1bd9ecd83d1c42935ed463dd6de9c8fc0b0d6357 | 648f88dae970858c870acbbb68dbc4c35207042d | refs/heads/main | 2023-08-11T02:40:28.410788 | 2021-10-01T18:16:15 | 2021-10-01T18:16:15 | 409,347,480 | 0 | 0 | Apache-2.0 | 2021-09-22T20:31:04 | 2021-09-22T20:31:04 | null | UTF-8 | C++ | false | false | 7,705 | h | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
7a12e755db6bd08e0ed5ff5eabc528c84540c4e4 | ad244dfe15d721c1b5f5fd6ff5d49a6affdbaa51 | /Source/TimeSink/TrackableGameplayAbility.h | 9b140acf71070a5aff11a7e6a0b36b26d1ec23fc | [] | no_license | Zazow/TimSink | e72af484534ebd028257c124293d3a7183f348b4 | 394a6afa9c3a2e677fc5f3ec61cbd4c0a4d643ed | refs/heads/master | 2022-10-04T03:21:08.192534 | 2020-06-04T02:36:22 | 2020-06-04T02:36:22 | 267,163,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,001 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Abilities/GameplayAbility.h"
#include "TrackableGameplayAbility.generated.h"
// custom delegate that gets called when this ability ended execution
DECLARE_DYNAMIC_MULTICAST_SPARSE_DELEGATE_O... | [
"ZiyadKAG@gmail.com"
] | ZiyadKAG@gmail.com |
4b0a0373e7f2712c511f869a260768d4de5c667c | 6d2b6527f0ee6c5c9560897a44276a43b98662ed | /src/resources/Image.cpp | 9aac2f16ce9fc4386f61883d719a5168d5c1d7cb | [] | no_license | Murloc992/TheEngine | f668f68d2321c0c1976c2c859d032a764ee44282 | d70d25c59138fbb85c74ea2f4aba9ab725956d90 | refs/heads/master | 2023-03-16T08:23:49.976323 | 2023-03-14T11:45:29 | 2023-03-14T12:07:53 | 218,316,094 | 0 | 0 | null | 2019-11-01T16:41:39 | 2019-10-29T15:10:19 | C | UTF-8 | C++ | false | false | 41 | cpp | //#include "Precomp.h"
#include "Image.h" | [
"murloc992@gmail.com"
] | murloc992@gmail.com |
e86875f7a17ac1f1255aa0dfdb35d57adfa620cc | 1f63dde39fcc5f8be29f2acb947c41f1b6f1683e | /Boss2D/addon/webrtc-jumpingyang001_for_boss/modules/rtp_rtcp/source/rtcp_packet/app_unittest.cc | 5121bcf1b7d661cd999b0a5315da1d00b7ab7f5a | [
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-google-patent-license-webm",
"LicenseRef-scancode-google-patent-license-webrtc",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | koobonil/Boss2D | 09ca948823e0df5a5a53b64a10033c4f3665483a | e5eb355b57228a701495f2660f137bd05628c202 | refs/heads/master | 2022-10-20T09:02:51.341143 | 2019-07-18T02:13:44 | 2019-07-18T02:13:44 | 105,999,368 | 7 | 2 | MIT | 2022-10-04T23:31:12 | 2017-10-06T11:57:07 | C++ | UTF-8 | C++ | false | false | 3,454 | cc | /*
* Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | [
"slacealic@nate.com"
] | slacealic@nate.com |
bc1937cef1478cbbcfa9d07b2211cd080b577f62 | 93193479a43168c832c152c5972ba475b73d90a7 | /abstractpath.h | 299ba0eec7fdfff40eb86e17619531e2cab796d8 | [] | no_license | CJRMoore/CS246A5 | 301b30b5f8be2f6ffa10509f2b60f01d302aeaa7 | 34e757dc125fe544898fd976b35846e04138a7c5 | refs/heads/master | 2021-01-11T13:49:38.910688 | 2017-04-04T02:04:46 | 2017-04-04T02:04:46 | 86,628,707 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,008 | h | #ifndef ABSTRACTPATH_H
#define ABSTRACTPATH_H
#include "subject.h"
#include "observer.h"
#include "subscriptions.h"
#include "buildertype.h"
#include "resources.h"
class Builder;
class AbstractPath: public Subject, public Observer {
protected:
const int index;
BuilderType owner;
bool validPlacement;
... | [
"colin.moore@rogers.com"
] | colin.moore@rogers.com |
62186e275eeeb19a623e7c4b07c026e5f048634f | da11e788e890a449ce799bea3a98b7b450df7f55 | /src/mbgl/style/layers/background_layer_impl.cpp | 4a8fe39c9a186fa19075285d3c277faad48df9b4 | [
"LicenseRef-scancode-warranty-disclaimer",
"IJG",
"Zlib",
"NCSA",
"LicenseRef-scancode-unknown-license-reference",
"blessing",
"BSD-3-Clause",
"ISC",
"Libpng",
"BSL-1.0",
"Apache-2.0",
"BSD-2-Clause",
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-ssleay-windows",
"JSON",
"curl",
... | permissive | TanJay/mapbox-gl-native | b9125cc5931a4950dfc54434119e948abe5ba709 | 6348fe9f4acccce65d1396aa9eab79e6c44bcfc2 | refs/heads/master | 2021-01-19T20:17:30.045126 | 2017-01-31T10:24:52 | 2017-01-31T10:24:52 | 80,513,442 | 0 | 0 | NOASSERTION | 2020-05-26T19:49:27 | 2017-01-31T11:10:41 | C++ | UTF-8 | C++ | false | false | 676 | cpp | #include <mbgl/style/layers/background_layer_impl.hpp>
#include <mbgl/renderer/bucket.hpp>
namespace mbgl {
namespace style {
void BackgroundLayer::Impl::cascade(const CascadeParameters& parameters) {
paint.cascade(parameters);
}
bool BackgroundLayer::Impl::evaluate(const PropertyEvaluationParameters& parameters... | [
"john.firebaugh@gmail.com"
] | john.firebaugh@gmail.com |
60a4503d18bf3550f72b7e75824edefb31096120 | eaf8a89b468cdc2544d5642eaaf8e1198dab60f3 | /competition.cpp | a0f68308be68684c9f4bbc74ea661bd9e54317b4 | [] | no_license | JsimonH/CPP | 09be558f6c30c0d240a78ee69197f2d22b17c0cf | a42be6e2a2be6f845b998b29cf2fa95f2987257c | refs/heads/master | 2023-01-24T14:56:40.375319 | 2020-12-05T15:49:04 | 2020-12-05T15:49:04 | 257,272,879 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,600 | cpp | /* 组队竞赛
牛牛举办了一次编程比赛,参加比赛的有3*n个选手,每个选手都有一个水平值a_i.现在要将这些选手进行组队,一共组成n个队伍,即每个队伍3人.
牛牛发现队伍的水平值等于该队伍队员中第二高水平值。
例如:
一个队伍三个队员的水平值分别是3,3,3.那么队伍的水平值是3
一个队伍三个队员的水平值分别是3,2,3.那么队伍的水平值是3
一个队伍三个队员的水平值分别是1,5,2.那么队伍的水平值是2
为了让比赛更有看点,牛牛想安排队伍使所有队伍的水平值总和最大。
如样例所示:
如果牛牛把6个队员划分到两个队伍
如果方案为:
team1:{1,2,5}, team2:{5,5,8}, 这时候水平值总和为7.
而如果方案为:
te... | [
"noreply@github.com"
] | JsimonH.noreply@github.com |
af62e5e7f073b69f3a3928344514fc834eefbc8a | ba4db75b9d1f08c6334bf7b621783759cd3209c7 | /src_main/common/xsi/5.1/xsi_port.h | ac90cf88e28d514c7fb70b4145851ba82a12f5ec | [] | no_license | equalent/source-2007 | a27326c6eb1e63899e3b77da57f23b79637060c0 | d07be8d02519ff5c902e1eb6430e028e1b302c8b | refs/heads/master | 2020-03-28T22:46:44.606988 | 2017-03-27T18:05:57 | 2017-03-27T18:05:57 | 149,257,460 | 2 | 0 | null | 2018-09-18T08:52:10 | 2018-09-18T08:52:09 | null | WINDOWS-1252 | C++ | false | false | 5,240 | h | //*****************************************************************************
/*!
\file xsi_port.h
\brief Port class declaration.
© Copyright 1998-2002 Avid Technology, Inc. and its licensors. All rights
reserved. This file contains confidential and proprietary information of
Avid Technology, I... | [
"sean@csnxs.uk"
] | sean@csnxs.uk |
e148fc1457e182fe9eb8fbde8845c861772cf48f | 8e638b89dd3e7ed7f2709d72d76074acd20a5742 | /sketch_nov10a/sketch_nov10a.ino | 2e33a10d7aa90005cd2be27f6db279dfb775ecf0 | [] | no_license | indigoshakti47/Arduino | 57a0700166918c2a2c6b64a7b74664519895f47e | 0b3c88446da013b2799a2a20d5f08afcaa27fa9c | refs/heads/main | 2023-06-22T09:31:09.225854 | 2021-07-18T19:02:01 | 2021-07-18T19:02:01 | 387,249,316 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 169 | ino | void setup() {
// put your setup code here, to run once:
pinMode(2,INPUT);
Serial.begin(9600);
}
void loop() {
Serial.println(digitalRead(2));
}
| [
"indigoshakti47@unseen.is"
] | indigoshakti47@unseen.is |
c6006012ba831a0f9b32f308c83ee065a00345b0 | 3333db1df422b9751cdc540c357c31ab33e2063b | /Source/Editor.h | de7c78600639f0a9de707d009cf551fda7cd7238 | [] | no_license | haskellstudio/juceStudy | 4f14d1d3edfe4075b88bd9b38c0fc8bc13804006 | b0910693ea98f8b263798571cf4497aab74819b8 | refs/heads/master | 2021-01-21T20:52:57.634628 | 2018-01-30T09:13:42 | 2018-01-30T09:13:42 | 92,286,741 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,196 | h | /*
==============================================================================
This is an automatically generated GUI class created by the Projucer!
Be careful when adding custom code to these files, as only the code within
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
an... | [
"haskellstudio@gmail.com"
] | haskellstudio@gmail.com |
fe4b5faccf96eaeaa260f69e9af34efdfe513fbe | fbce0adf0f5de7c29ada18456bf50245f980c97f | /Heap/Heap/heap_hzh.h | 5017b80dd1d5ac32b58de55942cb7690ee9c262b | [] | no_license | gaoyuanhezhihao/Some_Data_Structure | 15d4c691db68025cd0a3d86e1352a8fac1328b2b | bae01e016fa871b144dec76b9da06e3ef080c92d | refs/heads/master | 2021-01-10T11:12:09.692705 | 2018-04-22T07:05:42 | 2018-04-22T07:05:42 | 54,189,306 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,954 | h | template <typename Comparable>
class BinaryHeap
{
public:
explicit BinaryHeap(int capacity = 100);
explicit BinaryHeap(const vector<Comparable> & items);
bool isEmpty() const;
const Comparable & findMin() const;
void insert( const Comparable & x);
void insert( Comparable && x);
void deleteMin();
void delet... | [
"gaoyuanhezhihao@139.com"
] | gaoyuanhezhihao@139.com |
74340f50dba126821c5a8a4e943da9ef7eea8a27 | 8042a4eb785265fb9124b35a6ddeead5e5b19dc4 | /greddy.cpp | e856ef6f6c7884dc33426bd91429226be0a66877 | [] | no_license | Solano96/HackerRank | 5a6cea7cccad79ce7b39820dbbd4244ce40cb3df | 456606f9f50b1bd83f1be3c7c1ebe60981a62d9f | refs/heads/master | 2020-04-22T17:20:30.734780 | 2020-02-09T23:41:59 | 2020-02-09T23:41:59 | 170,538,019 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 736 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
long long int marcsCakewalk(vector <int> calorie) {
// Complete this function
sort(calorie.begin(), calorie.end());
long long int n = 0;
for(int i = calorie.size()-1; i >= 0; i--){
long long ... | [
"fransol0728@gmail.com"
] | fransol0728@gmail.com |
8b99f045590f4117ca2f92c90eaa8b3e65deaed4 | 01f1284f60393605255c5664456682d638f5035d | /081.cpp | 9a948a707228b0362512a9fd25cb4d1318402026 | [] | no_license | XKatherine/LeetCode | a174a33bc2b4b69feddcab2952a4e28f61a0d32c | fa91372ef8c6a0d66b2cf17db14a55a07bd5a8e7 | refs/heads/master | 2020-04-14T08:22:52.438849 | 2019-02-26T08:50:52 | 2019-02-26T08:50:52 | 163,734,213 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,476 | cpp | #include<iostream>
#include<sstream>
#include<vector>
#include<string>
using namespace std;
class Solution {
public:
bool search(vector<int>& nums, int target) {
int size = nums.size();
if(size == 0) return false;
if(size == 1) return nums[0] == target;
int point = -1;
... | [
"katherainxie@gmail.com"
] | katherainxie@gmail.com |
971fffd1770ebc60c1c08d2a7e6c305619116201 | 90047daeb462598a924d76ddf4288e832e86417c | /third_party/WebKit/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp | f091e55af28a0e466ff1df04eaeed8bdc0d5fa5b | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0"
] | permissive | massbrowser/android | 99b8c21fa4552a13c06bbedd0f9c88dd4a4ad080 | a9c4371682c9443d6e1d66005d4db61a24a9617c | refs/heads/master | 2022-11-04T21:15:50.656802 | 2017-06-08T12:31:39 | 2017-06-08T12:31:39 | 93,747,579 | 2 | 2 | BSD-3-Clause | 2022-10-31T10:34:25 | 2017-06-08T12:36:07 | null | UTF-8 | C++ | false | false | 8,627 | cpp | /*
* Copyright (C) 2007-2011 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of con... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
749b85cb162ee0c27f572a70c9d5641cb219804d | a4870cf80e48ced67e63aead9c5ca904ce86a43e | /HDU/2579/2579.cpp | 91849be414f426b9a875b3caccf889afd07b4c29 | [] | no_license | axyst/competitive-programming | 2d2072a906b0ef4bbf1cab4523293412db002b25 | f3c05ebc9b09cba0af30b977222ae2b246ecc041 | refs/heads/master | 2023-07-24T12:45:15.977496 | 2021-08-20T02:27:46 | 2021-08-20T02:27:46 | 123,937,122 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,494 | cpp | #include<stdio.h>
#include<stdlib.h>
#include<math.h>
#include<string.h>
#include<algorithm>
#include<queue>
#define X next.x
#define Y next.y
#define T next.time
using namespace std;
int t,r,c,k;
int vis[125][125][125];
char maze[125][125];
struct node
{
int x,y,time;
};
int dir[4][2]={{1,0},{0,1},{-1,0},{0,-1}};
... | [
"axysta@gmail.com"
] | axysta@gmail.com |
db38a2663011df311a1d7ec436e8fd5c652c3ae9 | 549270020f6c8724e2ef1b12e38d11b025579f8d | /recipes/rttr/all/test_package/test_package.cpp | 99d52f686af40e2d4244e85cc1e2d13791f7c086 | [
"MIT"
] | permissive | conan-io/conan-center-index | 1bcec065ccd65aa38b1fed93fbd94d9d5fe6bc43 | 3b17e69bb4e5601a850b6e006e44775e690bac33 | refs/heads/master | 2023-08-31T11:34:45.403978 | 2023-08-31T11:13:23 | 2023-08-31T11:13:23 | 204,671,232 | 844 | 1,820 | MIT | 2023-09-14T21:22:42 | 2019-08-27T09:43:58 | Python | UTF-8 | C++ | false | false | 265 | cpp | #include <cstdlib>
#include <iostream>
#include <vector>
#include <rttr/type>
using dblvec = std::vector<double>;
int main()
{
auto type = rttr::type::get<dblvec>();
std::cout << "type name: " << type.get_name() << std::endl;;
return EXIT_SUCCESS;
}
| [
"intelligide@hotmail.fr"
] | intelligide@hotmail.fr |
424b16f5e349565b0de3e3b602515d98ccb4a2ca | 3e2b11465d2773a89a1181f8ecd27c0a913c2ee4 | /Contest/HSV Day 2/source/xsssg666(龙实初一谢斯烁)/database.cpp | 34134662279508c7ab0358e83017fd14772940be | [
"MIT"
] | permissive | WAduck/cutekibry-s-documents | c46f42e74c58fc9178b7dbac374bde9391a29f48 | 1ab949495746d29f88daca42268fc5f5b448cefb | refs/heads/master | 2020-04-04T19:29:15.724639 | 2018-11-03T14:29:06 | 2018-11-03T14:29:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,219 | cpp | #include<iostream>
#include<cstdio>
#include<cstring>
using namespace std;
struct xss
{
char name[10];
char dq[10];
int age;
char xx[10];
}a[50000];
int main()
{
int n;
int q,w,e,r,t;
scanf("%d",&n);
q=n;
w=n;
e=n;
r=n;
t=n;
for(int i=1;i<=n;i++)
{
scanf("... | [
"cutekibry@yahoo.com"
] | cutekibry@yahoo.com |
b13553aa327ae01e7748c949490813071108ed59 | 4b0c57dddf8bd98c021e0967b5d94563d15372e1 | /MatrixElement/interface/ttEventProb3Jet.hh | 21cd1ef48cdd52c32ac737f752126a805155758e | [] | no_license | aperloff/TAMUWW | fea6ed0066f3f2cef4d44c525ee843c6234460ba | c18e4b7822076bf74ee919509a6bd1f3cf780e11 | refs/heads/master | 2021-01-21T14:12:34.813887 | 2018-07-23T04:59:40 | 2018-07-23T04:59:40 | 10,922,954 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 867 | hh | #ifndef TTEVENTPROB3JET_HH
#define TTEVENTPROB3JET_HH
#include "EventProb3jet.hh"
#include "topEventProb.hh"
class ttEventProb3Jet : public EventProb3Jet, public topEventProb
{
public:
ttEventProb3Jet(Integrator& integrator, const TransferFunction& bTF,
const TransferFunction& lightTF);... | [
""
] | |
a1cf14aafe7be33237f11e51ee35684f44eb779a | 0b0d4fb48fcc60d574e9b0ab599f0826a6cee25e | /src/main.cpp | f99a39900bea508a7252a976294c5a7c9afa1068 | [] | no_license | StormPhoenix/kaguya | fa8337cf5648a211a867d22aaad0d8385bed0386 | bab3d634a24527524c87722e2e41885c52d091d4 | refs/heads/master | 2023-05-03T07:10:29.852816 | 2021-05-19T07:04:23 | 2021-05-19T07:04:23 | 302,261,135 | 11 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,689 | cpp | #include <kaguya/Config.h>
#include <kaguya/tracer/TracerFactory.h>
#include <iostream>
#include <ext/clipp.h>
using namespace kaguya;
using namespace kaguya::tracer;
using namespace clipp;
using namespace std;
int main(int argc, char *argv[]) {
std::string sceneDir = "";
auto cli = (
value("out... | [
"stormphoenix.hzau@hotmail.com"
] | stormphoenix.hzau@hotmail.com |
8328c89caf1eb43f823a4196a1edcfaf114260f8 | 4111b4943472b96bf4aaa04c5d61f35ec0b9011b | /test/int/sorted.cpp | e4e36e834027941f6605fe5fd1b3ca154918d615 | [
"MIT"
] | permissive | jahewson/gecode | 3862ed7ac48124bbb5d16ddd39aa2803aacaf145 | 91f3bbeafe96ec7172aeb5417f624109143415bb | refs/heads/master | 2020-05-17T01:51:26.270717 | 2013-02-11T19:40:23 | 2013-02-11T19:40:23 | 6,619,246 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,927 | cpp | /* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
* Main authors:
* Patrick Pekczynski <pekczynski@ps.uni-sb.de>
*
* Contributing authors:
* Christian Schulte <schulte@gecode.org>
*
* Copyright:
* Patrick Pekczynski, 2005
* Christian Schulte, 2007
*
* Last modified:
* ... | [
"john@jahewson.com"
] | john@jahewson.com |
e432722c1e375f9d48b0a677f5febdf09ca30f3c | d50d23d7bf4de63d11ffd97bcdb0a98b8ad2e974 | /Precision/H/Precision_InterBase_Functions.inl | 0b65bcfdff8a3029cd9f1901e7b3a8173ae12bcc | [] | no_license | Daleth7/Big-Precision_Int | f0d1a62b97debfb668bf94e4fc4c4dd2e51b6616 | 6ec9a39c13a6e03618f6dcc29f4881da58574020 | refs/heads/master | 2020-05-29T13:27:18.988589 | 2014-02-16T00:37:35 | 2014-02-16T00:37:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,114 | inl | #include "General_Base/Precision_Math_Shared_Functions.h"
#include <type_traits>
namespace Precision{
namespace Helpers{
template <typename Base_Return>
Base_Return convert(const Base_Return& orig, std::true_type)
{return orig;}
template <typename Base_Return, typename Base_Para... | [
"i.publish.docs@gmail.com"
] | i.publish.docs@gmail.com |
d1b4863b40915d7b65087035bc861ff997fc611c | b3f58deae474db9035cd340b4e66b3e6bdafdeca | /cc/playback/display_list_raster_source.h | cf87f186996fd12eba01361f935cea184af1dcdd | [
"BSD-3-Clause"
] | permissive | quanxinglong/chromium | 0c45f232254c056e27f35e00da8472ff3ac49fd9 | 16dda055c8799052d45a593059b614ea682d4f6c | refs/heads/master | 2021-01-24T17:58:29.213579 | 2015-08-10T19:39:07 | 2015-08-10T19:39:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,189 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CC_PLAYBACK_DISPLAY_LIST_RASTER_SOURCE_H_
#define CC_PLAYBACK_DISPLAY_LIST_RASTER_SOURCE_H_
#include <vector>
#include "base/memory/scoped_ptr.h... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
707dadf3ee0d26dd086fddba38efcdf7d0230773 | fb263c50fa378656e2caafd59fe8bce931e5adb5 | /ray.cpp | 339271dc2fa277d846f72b54ca3ac397e53d0810 | [] | no_license | saqibdhuka/RayTracer | 9b39c5627f5a6838bcf19e0ed4e9eb6655fbd444 | 151f93c18ebae8bae7f2b54bf276d69c65ebd962 | refs/heads/master | 2020-09-12T21:37:15.093227 | 2019-12-05T03:28:44 | 2019-12-05T03:28:44 | 222,564,843 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 684 | cpp | #include "ray.h"
#include <GL/gl.h>
#include <GL/freeglut.h>
#include <GL/glut.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <time.h>
#include "Angel.h"
Ray :: Ray(){
origin.x = 0.0;
origin.y = 0.0;
origin.z = 0.0;
direction.x = 0.0;
direction.y = 0.0;
direction.z = -1.0;
}
Ray :: Ray(vec... | [
"saqibdhuka@gmail.com"
] | saqibdhuka@gmail.com |
14d1f62483be5fdc08a5c718ec0e347f5585b3ff | eccfa1a8adc5595694db782c324de16ef388a867 | /robot_pkg/include/TakePhotoMode.h | 4551c25a995ec4ab81b0e1f64bb5e5103f63b755 | [] | no_license | pjueon/bitproject | 609b4de649be345376e28cbff58a4751473e45cd | 8b261e4811e1d601c745395b424b418f58ac55d7 | refs/heads/master | 2021-06-22T04:32:54.056484 | 2021-04-18T13:25:21 | 2021-04-18T13:25:21 | 211,821,190 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 958 | h | #pragma once
#ifndef TAKE_PHOTOMODE_H
#define TAKE_PHOTOMODE_H
#include "Mode.h"
#include <vector>
#include <array>
#include <utility>
#include <memory>
#include <opencv2/opencv.hpp>
#include <ros/ros.h>
class CoordinateConverter;
class TakePhotoMode : public OperatingMode {
public:
explicit TakePhotoMode(Ma... | [
"bluegbgb@gmail.com"
] | bluegbgb@gmail.com |
2cffcbbc4afccb4ab9077cc24de2dcf58f73f5d8 | bf8184816a1e726bf1c878a188f9d187e308df26 | /src/heapmemory_unique_legacy.cpp | feeeec637291bf094ba01191540c0539cfcad4ac | [] | no_license | PeterSommerlad/CPPCourseAdvanced | 7801b5bd4a44f9f55a7ab2f90fdbb0974f1180d9 | 7472a62894a6e01be2521bb639f729dd5675bfb0 | refs/heads/main | 2023-06-09T19:53:33.346844 | 2023-05-26T15:50:19 | 2023-05-26T15:50:19 | 470,980,344 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,398 | cpp | #include "cute.h"
#include "ide_listener.h"
#include "xml_listener.h"
#include "cute_runner.h"
#include <string>
#include <cstdlib>
#include <memory>
#include <cxxabi.h> // __cxa_demangle
std::string demangle(std::string name){
if (name.size() > 0 ){
constexpr auto freemem{ [](char *toBeFreed){
std::free(to... | [
"peter.cpp@sommerlad.ch"
] | peter.cpp@sommerlad.ch |
bf2e3950629cc56c11318b41810dea1e0e4797b4 | ceec3f1ea495e9673b8ef3198657c485f927380f | /cocaIrrlicht/vendor/irrlicht/source/Irrlicht/COpenGLTexture.h | 135209c2da7e81018e547822a5c0e0a343dd745c | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0",
"Zlib",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive"
] | permissive | harmboschloo/CocaProject | 251b138fb2e29d9d7a2f0e07fb24e85299ccb7e4 | 530476db6db41158beab47810e56c9d1820640e4 | refs/heads/master | 2020-04-05T22:51:53.812675 | 2014-07-03T09:15:53 | 2014-07-03T09:15:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,863 | h | // Copyright (C) 2002-2009 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __C_OPEN_GL_TEXTURE_H_INCLUDED__
#define __C_OPEN_GL_TEXTURE_H_INCLUDED__
#include "ITexture.h"
#include "IImage.h"
#include "IrrCompileCon... | [
"harm@boschloo.net"
] | harm@boschloo.net |
4b7a1f62966281a17b83a7846dbf16c81817990f | bc45afc5c36d1131f19367653e85c55d9221318c | /src/utility/Mouse.hpp | 5f2713ee552d5105debfa126dcd80d57fb03be31 | [] | no_license | jshuam/opengl_game_project | 83b235851e02a4db3930ab52f2ad81234c622c10 | 7e47da8d5dc395280465818afed5f83165d91430 | refs/heads/master | 2020-05-07T16:06:35.967819 | 2019-06-26T21:38:45 | 2019-06-26T21:38:45 | 180,667,214 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 449 | hpp | #pragma once
#include <GLFW/glfw3.h>
#include <glm/vec2.hpp>
#include <glm/vec4.hpp>
#include "Display.hpp"
class Mouse
{
public:
Mouse(const Display& display);
static bool cursorWithin(glm::vec4 bounds);
private:
static void cursorPositionCallback(GLFWwindow* window, double xPos, double yPos);
stat... | [
"jshuam0@gmail.com"
] | jshuam0@gmail.com |
a9d204b3ef2fe70aa079169c9f3bd2f29c9da720 | bbb792688508d65204f0a48e2826752f9047216d | /src/user.cpp | 637c261d0d70e7865217914e048cb1b0e3aaf60e | [] | no_license | s-stasi/SfmlAPI | 08e2204c598b2ec10c30db7a9a9204766f5b591b | c0f0b5515b91877179df8d76084bae0b5369ca54 | refs/heads/master | 2023-01-21T12:58:05.349477 | 2020-12-01T08:38:57 | 2020-12-01T08:38:57 | 288,275,871 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 887 | cpp | #include "../include/user.hpp"
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__)
#include <windows.h>
#include <Lmcons.h>
namespace SfmlAPI {
std::string getSystemUser()
{
TCHAR name[UNLEN];
DWORD size = UNLEN + 1;
GetUserName((TCHAR*)name, &size);
std::string uname = name;
f... | [
"samuele.stasi2002@gmail.com"
] | samuele.stasi2002@gmail.com |
22dad9002d73e6a2b01f448a69cbb9ed519c9871 | 0d71a534258dced16ba43be39a8ce5f0b2c69552 | /ofPolylineStudy/src/ofApp.h | 3a56aa5a78531920cb6cbbc2d3bf7a0ba12a6ffe | [] | no_license | kotaonaga/ofStudy | 99dbef9d0b86479193d4b0939eba23e07f6e68bb | da89b6fded8c4d95130d5b5d93ad26e0f6521003 | refs/heads/master | 2022-11-06T04:23:30.746545 | 2020-06-23T15:46:49 | 2020-06-23T15:46:49 | 265,125,995 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 831 | h | #pragma once
#include "ofMain.h"
class ofApp : public ofBaseApp{
public:
void setup();
void update();
void draw();
void keyPressed(int key);
void keyReleased(int key);
void mouseMoved(int x, int y );
void mouseDragged(int x, int y, int button);
void mousePressed(int x, int y, int button);
void mo... | [
"kohtaonaga@gmail.com"
] | kohtaonaga@gmail.com |
1dfd2248adb321c934bfe6de7ff79e1772952354 | 90f0920619a9b59d2fca8c8dfca1bf2c43d151fb | /future.hpp | e7fee95ab3b3a482e4e11eefc739ce60d9eb94b1 | [] | no_license | delgor/Core | 04ba8f1b439d13f789171d1c32e98ea5e594ab5e | b78ee3bc9cdb45a0cf5914daf44c701c3ac9bb1a | refs/heads/master | 2021-01-21T15:43:07.089745 | 2014-05-25T13:55:03 | 2014-05-25T14:19:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,071 | hpp | /* Copyright (c) 2014, The Nuria Project
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this software for any purpose,
* including commercia... | [
"stefan.merettig@nuriaproject.org"
] | stefan.merettig@nuriaproject.org |
dcc9a10cd9c9dd3fc86726416bafc40141f3b8d0 | 7df3082cf65e016c7fbeafe5aaaac9a3e5e78413 | /Software-design-and-development/HW3_Cyclic decimal_92_95/HW3.cpp | 35c1276fbfa426fd175f91db5166b872839ba3ff | [] | no_license | ppguo/Software-design-and-development | 194ba0fa6d2f25fe4e9cc3e82b771740560f4b46 | c5b55c7b5b97a78062448e8800b5b6cb6c75deda | refs/heads/main | 2023-04-01T00:14:50.426654 | 2021-04-08T13:08:39 | 2021-04-08T13:08:39 | 344,127,090 | 3 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,296 | cpp | #include <iostream>
#include <vector>
using namespace std;
void calculate_and_print_Decimal(int n, int d) {
vector<int> r;/*记录余数*/
vector<int> decimal_part;/*记录小数部分*/
int k = -1;/*k用于指示相同的余数第一次出现的坐标*/
//一直循环,直到余数为0,或出现重复的余数
while (n && k<0) {
r.push_back(n);
decimal_part.push_back(n * 10 / d);
n... | [
"noreply@github.com"
] | ppguo.noreply@github.com |
eb822a73dba9ef70e9420083969cdb2b2a8c08de | b2ff198ae01c51bbcb081be2176b99a060ef383f | /algorithm/convert-bst-to-greater-tree.cpp | 8e30c69cf7aec18f27e675429417b67eaa3ba038 | [] | no_license | ericwannn/leetcode-solutions | 40ddd52d90b11eb35a068c2c4d18eb8509dd9415 | 7200fc8e510b28f091cdd971f90d0f59ccfc1605 | refs/heads/master | 2021-08-15T20:39:45.610496 | 2018-09-18T06:11:57 | 2018-09-18T06:11:57 | 131,783,018 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 792 | cpp | /*https://leetcode.com/problems/convert-bst-to-greater-tree/description/
* Given a Binary Search Tree (BST), convert it to a Greater Tree such that every key of the original BST is changed to the original key plus sum of all keys greater than the original key in BST.
*
*
* Definition for a binary tree node.
* stru... | [
"ericwannn@foxmail.com"
] | ericwannn@foxmail.com |
5dbef3c7a577d73f352ddfc7d3ee0d6dde03acbd | bd5177319836c8d56fef474f35d915ecbaf1eadd | /QT_interface/mainwindow.cpp | 9f0d872d24c6e3da84c81f6b35612e54aebf8869 | [] | no_license | onorinbejasus/Combustion_Code | 5564cfd931a41e86529f3e139ba5894b61864016 | 7d95af4d30f4ccaf56723e91ae0fed0490aba32c | refs/heads/master | 2021-01-13T02:24:27.538872 | 2013-09-03T16:12:23 | 2013-09-03T16:12:23 | 9,334,182 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,911 | cpp | #include "mainwindow.hh"
#include "ui_mainwindow.h"
#include "FatalError.hh"
#include "Streamline.hh"
#include "AllocArray.hh"
#include "VectorFieldRenderer.hh"
#include "Parameters.hh"
#include "VolumeRenderer.hh"
#include "VolumeRenderer.hh"
#include "Parameters.hh"
#include "Vector.hh"
#include "point.hh"
#includ... | [
"tbl8@pitt.edu"
] | tbl8@pitt.edu |
e9962bb5461fac3d84675ea85df9771a697e9ae1 | f2cfa4ea8d0ec66eb722fba47b13181ac003f228 | /GameServer/Npc.cpp | 2f82f3ae9ea412908b50fa8ab3cda7a03a8e31f7 | [] | no_license | Mortgy/KODevelopers-1534 | a2b0cbfbd706245b8f486568d9f2ff65385c05a2 | cd3c07dd310baee59702c78ca165c177464ec161 | refs/heads/master | 2021-05-22T18:30:24.818341 | 2017-12-09T05:58:19 | 2017-12-09T05:58:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,905 | cpp | #include "stdafx.h"
#include "Map.h"
#include "MagicInstance.h"
#include "../shared/DateTime.h"
using namespace std;
CNpc::CNpc() : Unit(UnitNPC)
{
Initialize();
}
CNpc::~CNpc()
{
}
/**
* @brief Initializes this object.
*/
void CNpc::Initialize()
{
Unit::Initialize();
m_sSid = 0;
m_sPid = 0; // MONSTER(NPC... | [
"staticforcepowerdev@gmail.com"
] | staticforcepowerdev@gmail.com |
c3d8baae55541bbfba8ddc3a87a723b2b484c683 | 91a640a9acd31bdcc6e6d4e3da9c018ddfe7e48d | /WhiteBoxTesting/UnitTest2/UnitTest2/Method.h | 90f23ff69433a4172ebc5622c8efc9005c5444a8 | [] | no_license | b-mc-c/Threading-projects | f3ab5f6b5b96494be6cb82f845b393828381b56b | c6517fe71bb04b4c3aa341ade161b83e8df714f6 | refs/heads/master | 2021-01-10T13:21:43.929559 | 2016-04-26T09:17:11 | 2016-04-26T09:17:11 | 50,577,342 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,301 | h | #pragma warning( disable : 4959 )
#include <math.h>
#define pi 3.14159265358979323846
#define earthRadiusKm 6371.0
class Calculator
{
public:
Calculator(){}
double static deg2rad(double deg) {
return (deg * pi / 180);
}
//// This function converts radians to decimal degrees
double static rad2deg(double rad) ... | [
"breen.mac.cana@gmail.com"
] | breen.mac.cana@gmail.com |
e97cdc08d86ff38bfab6f6fcd53741117ff600da | b857ba4267d8bafda5312272f050e966e4e32a25 | /Source/Cross/Common/MoCommon/TLinkOutput.cpp | a8e0fb3f725ec724740537ffbee3337cf10be52f | [] | no_license | favedit/MoCross3d | 8ce6fc7f92e4716dde95b19020347b24f7c2e469 | b5b87bef0baa744625b348d7519509ba6f4e6f1e | refs/heads/master | 2021-01-10T12:12:19.301253 | 2016-04-04T15:06:03 | 2016-04-04T15:06:03 | 54,264,397 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 10,661 | cpp | #include "MoCmStream.h"
MO_NAMESPACE_BEGIN
//============================================================
// <T>构造字节数据流。</T>
//============================================================
TLinkOutput::TLinkOutput(TAny* pOutputData, TInt outputCapacity){
_pMemory = (TByte*)pOutputData;
_capacity = outputCapacity... | [
"favedit@hotmail.com"
] | favedit@hotmail.com |
150a554c3118b2f8a71c8183fe8ff98e6ca6e878 | e1ed9b621f4932fa2bc566bc6ddb5611b7531395 | /src/alpha/mesdialog/mesdialog/mesdialog.cpp | 3a0eed7e1d6fe8dd0dbccd99157bd0d06cc6e0ae | [] | no_license | Midiman/ikemen | e4ff289afe00dd6b7ec58b3449251ae0d37113cd | b3d0281376ddbb3c56204a6f598ccb22d0e0d081 | refs/heads/master | 2020-06-09T01:29:28.897165 | 2013-01-31T05:37:18 | 2013-01-31T05:37:18 | 33,284,549 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,427 | cpp |
#pragma comment(lib,"winmm.lib")
#pragma comment(lib,"zlib1.lib")
#include <windows.h>
#include <process.h>
#include <stdint.h>
#include <comdef.h>
#include <zlib.h>
static const unsigned char ASCII_FLAG = 0x01; /* bit 0 set: file probably ascii text */
static const unsigned char HEAD_CRC = 0x02; /* bi... | [
"SUEHIRO1000@gmail.com@34fca844-09ac-11df-9859-c12d74d802c5"
] | SUEHIRO1000@gmail.com@34fca844-09ac-11df-9859-c12d74d802c5 |
dc8c895324bbc9b5a8cc0f79cb41e2e201ffc9b1 | 5495e5e423dbfadb8a23eb2621b79e71970e84c1 | /soundclass.cpp | c2f7efdad94c53b08fb1d538a0ad96d1b80a8a72 | [] | no_license | ChardAllen/GameTake2 | 0ea9555ecb8ac3e64c63a7befe605109544124b0 | 1cb4eefd23f4b7550f1b9bf48aa75a6a63a833f7 | refs/heads/master | 2021-01-10T19:58:36.211644 | 2015-04-16T00:20:54 | 2015-04-16T00:20:54 | 34,256,284 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,040 | cpp | ///////////////////////////////////////////////////////////////////////////////
// Filename: soundclass.cpp
///////////////////////////////////////////////////////////////////////////////
#include "soundclass.h"
SoundClass::SoundClass()
{
m_DirectSound = 0;
m_primaryBuffer = 0;
m_secondaryBuffer1 = 0;
}
SoundCla... | [
"allenrichi@hotmail.co.uk"
] | allenrichi@hotmail.co.uk |
2a17501b7c8a74414b73c57510a9e7cfb6a2d257 | 533ec5afedd8ad4d9d2d4e37deb94ed636c5798d | /Bai_Thuc_Hanh/Bai_so_5/4.cpp | b68c2872afed555218b9feddd8e28e4ccfb31b12 | [] | no_license | viettrungIT3/OOP_cpp | 8b93b230830d6f9782f164ab5f60521d0d0a1c2c | 58d4277da79e5ae19d4e9c6b609f449b67ee4120 | refs/heads/master | 2023-06-25T10:00:23.190528 | 2021-07-26T15:43:52 | 2021-07-26T15:43:52 | 294,263,665 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,326 | cpp | #include <bits/stdc++.h>
using namespace std;
class ELECTRONIC
{
protected:
int congSuat;
int dienAp;
public:
ELECTRONIC( int congSuat, int dienAp) {
this.congSuat = congSuat;
this.dienAp = dienAp;
}
};
class MAYGIAT : public ELECTRONIC
{
private:
int dungTich;
string loa... | [
"65119701+viettrungIT3@users.noreply.github.com"
] | 65119701+viettrungIT3@users.noreply.github.com |
512a594e430cf33f75e091d1a1a3a64e31584edf | e0c3b35ecbd6fb4c3395f9bacf08d68e5104ada5 | /lib/Display/display.cpp | 43a3d774270f59541d7797d79136e27cb172cdf5 | [] | no_license | Manninee/Esp32-Tank-Controller | 15e648c9574ae01778fc7abade8df97d9b015ef1 | 46348030241b2d5bc7f15c282c6afad7635a1ad3 | refs/heads/master | 2020-04-21T09:15:35.344991 | 2019-02-06T17:22:46 | 2019-02-06T17:22:46 | 169,442,894 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,503 | cpp | #include "display.hh"
Display::Display(uint8_t sda, uint8_t scl):
display_(new SSD1306Wire(0x3c, sda, scl))
{}
void Display::init()
{
display_->init();
display_->setContrast(255);
display_->setFont(ArialMT_Plain_16);
//display_->setFont(ArialMT_Plain_10);
display_->clear();
displa... | [
"eetu.manninen@tuni.fi"
] | eetu.manninen@tuni.fi |
e230d6b41ac4dbefba6dd18d746a86b96e53c230 | 3ee3d4a1319933c57a220c28b3be008273442a39 | /untitled/mainwindow.h | 4865baa5512edc2245914c31559a497f25ade153 | [] | no_license | PeterZhouSZ/Sketchware | 525240af0dbcb6e417aff03afb668f26d2d3ed8d | 5f5ff28f3bc615bc38985acfc42116e3daecd550 | refs/heads/master | 2020-04-24T09:55:57.615710 | 2017-06-06T05:20:06 | 2017-06-06T05:20:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 362 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
static MainWindow & getInstance();
private:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
Ui::MainWindow *ui;
static MainWindow ... | [
"guaiguaip@gmail.com"
] | guaiguaip@gmail.com |
664816bf24e9a342b9b0f396b5ff448fdebf2370 | b3c7c840fa2a70577ea874d4565eb4a9118ca3a0 | /all/native/geometry/VectorTileFeatureCollection.cpp | 9cc2ac18d83f73b8c1e983bb8ed6eba0987d8f97 | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | CartoDB/mobile-sdk | dc016fb7a24826276e2c3908002cc65c08c39a07 | 7fabb2b40a1cd1d32328dbcb1c17cd96e5ea076a | refs/heads/master | 2023-03-09T22:07:20.650899 | 2023-02-17T09:49:31 | 2023-02-17T09:49:31 | 60,150,702 | 190 | 73 | BSD-3-Clause | 2022-11-08T10:56:23 | 2016-06-01T06:20:09 | C | UTF-8 | C++ | false | false | 541 | cpp | #include "VectorTileFeatureCollection.h"
namespace carto {
VectorTileFeatureCollection::VectorTileFeatureCollection(const std::vector<std::shared_ptr<VectorTileFeature> >& features) :
FeatureCollection(features.begin(), features.end())
{
}
VectorTileFeatureCollection::~VectorTileFeatureCollec... | [
"mark.tehver@gmail.com"
] | mark.tehver@gmail.com |
3c916c67a9833341973837a6d3e4777688b25b41 | ce348db4e164bab99136df8809f375e5ea61f715 | /pyada/test/unittest/test_Forest.cpp | caf6090407e8925b3693048b8e355fd22d062684 | [
"MIT"
] | permissive | tadeze/pyad | ecc883727d055fcc3d9a23ff2f3011ee97704cdb | ef3b4312989597d8d4a01194c0a03e2beca5bfb5 | refs/heads/master | 2022-03-30T18:28:26.014797 | 2020-01-23T20:27:33 | 2020-01-23T20:27:33 | 58,245,056 | 0 | 0 | null | 2019-10-25T21:42:42 | 2016-05-07T02:16:44 | C++ | UTF-8 | C++ | false | false | 2,065 | cpp | /*
* test_Forest.cpp
*
* Created on: May 4, 2016
* Author: tadeze
*/
#include "forest.hpp"
#include "gtest/gtest.h"
#include "isolation_forest.hpp"
#include "common_util.hpp"
class ForestTest : public ::testing::Test {
protected:
std::shared_ptr<Forest> ff;
std::vector<std::vector<double> > data ;
std:... | [
"tadesse.habte@gmail.com"
] | tadesse.habte@gmail.com |
32d227f22f7c4c4f1353a9d3fb421045a78fd8a6 | f6690aaeba28ba2a6efb711fd59498e3c07085eb | /Game/Game/ColorConst.h | 943c99abd281be227438aba43605ee5a0ed48d72 | [] | no_license | marina10miyauchi/MusicGame | 22aa2935f280a16483dc8cbc138a90e3056711ef | fee3a89ea024c13f4a6cdc886fba0d94bb8ea693 | refs/heads/master | 2022-12-13T21:33:32.857311 | 2020-09-15T00:53:18 | 2020-09-15T00:53:18 | 277,695,343 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 318 | h | #pragma once
#include<DxLib.h>
//初期設定定番カラー
//複雑なカラーは除く
class ColorConst {
public:
static unsigned int White;
static unsigned int Black;
static unsigned int Red;
static unsigned int Blue;
static unsigned int Green;
static unsigned int Yellow;
static unsigned int Purple;
}; | [
"mari01miya@gmail.com"
] | mari01miya@gmail.com |
e024bd3553465694f314f13739f06f6500e2e728 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/1c/8729f0f38b20c0/main.cpp | ece04e55f9c7e06158bed4a27d96bd4fc73643c5 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,751 | cpp | #include <iostream>
#include <memory>
#include <string>
#include <vector>
// Packet
// - shared storage
// - ~Packet: checks unique -> move to pool
// Storage:
// Pool:
// - be careful for lifetime!
// -
#define TRACE std::cout << __FILE__ << ":" << __LINE__ << ":0: trace: " << __PRETTY_FUNCTION__ << std::end... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
d3c76a757041c5991c7c57dd9747ddb9c3d06937 | 727c574f0b5d84ae485b852ccf318063cc51772e | /ZOJ/ACM answer/ZJU Online Judge/Before2004.4.1/ZJU_1654.CPP | 5b0da4ed62ba994b2998ae6d6172884009fa7a34 | [] | no_license | cowtony/ACM | 36cf2202e3878a3dac1f15265ba8f902f9f67ac8 | 307707b2b2a37c58bc2632ef872dfccdee3264ce | refs/heads/master | 2023-09-01T01:21:28.777542 | 2023-08-04T03:10:23 | 2023-08-04T03:10:23 | 245,681,952 | 7 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,504 | cpp | #include <iostream.h>
#include <stdio.h>
int n , m;
char G[51][51];
int test(int x0 , int y0){
int x , y;
int ret = -3;
x = x0 , y = y0;
while(x < n && G[x][y] != '#'){
if(G[x][y] =='o') ret++;
x++;
}
x = x0 , y = y0;
while(x >= 0 && G[x][y] != '#'){
if(G[x][y] =='o') ret++;
x--;
}
x = x0 , y = y0... | [
"cowtony@163.com"
] | cowtony@163.com |
b249df7ec12ab9f565e1d65c501381cf7c318123 | f348d772e01974cff1c1796246fa0f275c32f538 | /QuadTree/openGL/Line Loop.cpp | 773203c923a96d00d045949c2527223bbf6a60fb | [] | no_license | DannyJamieson/AI-PortFolio | f2479983345ebe0516cdec2ce35ff02af030f275 | 4e387aba6ead9c65bd18207e371d50ef19822334 | refs/heads/master | 2021-01-02T09:11:59.635840 | 2017-08-02T21:27:14 | 2017-08-02T21:27:14 | 99,161,914 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,825 | cpp | /*/ include the GLUT header file so we can access all the GLUT calls
#include <glut.h>
// Create a method to hold all our drawing calls
// This function must be declared before the MAIN call so that MAIN knows it exists
// NOTE: read the contents of MAIN first, before reading the DISPLAY method. It will make more sense... | [
"danj1066@hotmail.co.uk"
] | danj1066@hotmail.co.uk |
e1bdd5213d9eb75a624296f1c388d57fcf0ec76a | 43a2fbc77f5cea2487c05c7679a30e15db9a3a50 | /Cpp/External/SDK/BP_Wheel_classes.h | 456d22ffe4420f692ed77d996adbebaca03f6031 | [] | no_license | zH4x/SoT-Insider-SDK | 57e2e05ede34ca1fd90fc5904cf7a79f0259085c | 6bff738a1b701c34656546e333b7e59c98c63ad7 | refs/heads/main | 2023-06-09T23:10:32.929216 | 2021-07-07T01:34:27 | 2021-07-07T01:34:27 | 383,638,719 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,886 | h | #pragma once
// Name: SoT-Insider, Version: 1.102.2382.0
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//-----------------------------------------------... | [
"Massimo.linker@gmail.com"
] | Massimo.linker@gmail.com |
617b446c7da159e626f49bd3135b18fbae9a4f09 | 1633bbc1123b468cc63c998abdc40c0be3bd4c4a | /codeforces/problem_set/868B.cpp | 8f5d1d7b7e58b024e0902ae138b51fc6c1c7deb7 | [] | no_license | devang191/algorithms_competitions | 936258469655ffa8ae17f2451d7c300e4e18e693 | 3b47e87570b6a43bd22790566ff6bc9a3351e4a9 | refs/heads/master | 2020-03-27T20:20:05.548560 | 2017-10-24T04:18:27 | 2017-10-24T04:18:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,032 | cpp | #include <bitset>
#include <vector>
#include <list>
#include <map>
#include <set>
#include <deque>
#include <queue>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cm... | [
"maxnelso@gmail.com"
] | maxnelso@gmail.com |
f7885d5f960b56d3e1ee11615abf8c4f9143affe | e9357e6a6f8d239abca7a3bee19cdf85a5591dae | /クォンタムアクセラレータ/クォタムアクセラレータ/ES Game Library/MyClass/ObstacleP/ObstacleP.cpp | bf26bf503fdad78a15e3749dd3c8d2d449bacc18 | [] | no_license | nakajima21/-break_accelerator | ca86df7fd0f272171e0d1bf97b855bafe54ccc11 | b122d2c1591387a35feb95e9798ba20f074e761e | refs/heads/master | 2023-04-03T17:47:32.921890 | 2021-01-19T05:10:26 | 2021-01-19T05:10:26 | 301,629,201 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,022 | cpp | #include "ObstacleP.h"
void ObstacleP::Init()
{
model = GraphicsDevice.CreateModelFromFile(_T("model3D//‰ü’ù”Å_//hako_P.X"));
model->SetMaterial(this->SetMaterial());
position = CsvPoitionDataBase.GetCsvPosition('P');
p_hitbox = new HitBox();
p_hitbox->Settags("ObstacleP");
this->ChildObj_AddList((ChildObj... | [
"sou38608@gmail.com"
] | sou38608@gmail.com |
7df6928f33ce8db630ba04319722417241a03d7f | 5012f1a7f9d746c117f04ff56f7ebe6d5fc9128f | /1.Server/2.Midware/KFPlugin/KFFtp/dllmain.cpp | 48c76338e25c14d957f672b5988e3470ac056b34 | [
"Apache-2.0"
] | permissive | hw233/KFrame | c9badd576ab7c75f4e5aea2cfb3b20f6f102177f | a7e300c301225d0ba3241abcf81e871d8932f326 | refs/heads/master | 2023-05-11T07:50:30.349114 | 2019-01-25T08:20:11 | 2019-01-25T08:20:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 365 | cpp | #include "KFFtpPlugin.h"
#include "KFLibrary.h"
__KF_EXPORT__ __KF_PLUGIN_ENRTY__( KFrame::KFFtpPlugin );
__KF_EXPORT__ __KF_PLUGIN_LEAVE__( KFrame::KFFtpPlugin );
//////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////... | [
"lori227@qq.com"
] | lori227@qq.com |
5545f4020010ab771e03fb3be0ed74b13b492333 | 627e8ff9a43076931c5bfbde739191d3b6915e68 | /visitpy/visitpy/PyExportDBAttributes.h | e252519b8ba74c3627f79a3a02d9b6579bdefe99 | [] | no_license | visit-vis/VisIt29RC_Trunk | 3db3aed5aefe26b8ce11cbf9050d410626bb6e17 | 13d7d392b8a2d47e925b472d2582e51393e6b0ea | refs/heads/master | 2021-01-10T19:48:28.778844 | 2015-07-01T05:44:04 | 2015-07-01T05:44:04 | 33,211,571 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,566 | h | /*****************************************************************************
*
* Copyright (c) 2000 - 2015, Lawrence Livermore National Security, LLC
* Produced at the Lawrence Livermore National Laboratory
* LLNL-CODE-442911
* All rights reserved.
*
* This file is part of VisIt. For details, see https://visit.llnl... | [
"brugger@18c085ea-50e0-402c-830e-de6fd14e8384"
] | brugger@18c085ea-50e0-402c-830e-de6fd14e8384 |
116061d641f0cb4a4d28a8104dfbc9505707a6f5 | de56c5ccceed47a808a8c20e5ac1ccaf972f4c48 | /biblio/edit.cpp | 6444ce7f37154bdba8f823df028f87147db83551 | [] | no_license | BobbyDarkbean/SpecialistQt5ExerciseBiblio | d6a42f594fe44c8bddb39844a8605881a37fb027 | 63b25686da045a009feeab7501f1fd02da40d06a | refs/heads/master | 2016-09-06T06:07:21.317678 | 2015-03-18T23:21:37 | 2015-03-18T23:21:37 | 31,556,472 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 296 | cpp | #include "edit.h"
namespace Biblio {
Edit::Edit(QWidget *parent) :
QTextEdit(parent)
{
setProperty("modeName", "Edit");
}
Edit::~Edit() { }
void Edit::onCancelMode(bool *ok)
{
QString s = toPlainText();
if (ok)
*ok = s.simplified().isEmpty();
}
} // namespace Biblio
| [
"monsieurbobah@yandex.ru"
] | monsieurbobah@yandex.ru |
cd79bbd4038b977b05313048c8c66c241cc68d3e | 71501709864eff17c873abbb97ffabbeba4cb5e3 | /llvm13.0.0/mlir/lib/Conversion/SPIRVToLLVM/ConvertLaunchFuncToLLVMCalls.cpp | 354a0a62934b3eccb436e20cb190bd65fb5d56fd | [
"LLVM-exception",
"Apache-2.0"
] | permissive | LEA0317/LLVM-VideoCore4 | d08ba6e6f26f7893709d3285bdbd67442b3e1651 | 7ae2304339760685e8b5556aacc7e9eee91de05c | refs/heads/master | 2022-06-22T15:15:52.112867 | 2022-06-09T08:45:24 | 2022-06-09T08:45:24 | 189,765,789 | 1 | 0 | NOASSERTION | 2019-06-01T18:31:29 | 2019-06-01T18:31:29 | null | UTF-8 | C++ | false | false | 13,225 | cpp | //===- ConvertLaunchFuncToLLVMCalls.cpp - MLIR GPU launch to LLVM pass ----===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"kontoshi0317@gmail.com"
] | kontoshi0317@gmail.com |
71e597292d624f0c320b443bb17a5b6f806bda1f | f61bd4560fa248cdd081a0e4c932f0de5f5d59c4 | /src/MusicBox.hpp | b50c139383510f3b2dcae7771a7631886dea585d | [] | no_license | igagis/soberi3 | 79d6e7d652a517a700242390471d5843e1e9ef8c | d5f24921a999053e7c52960ea400eb40dde370ac | refs/heads/master | 2021-01-10T10:19:00.953350 | 2016-03-31T10:06:10 | 2016-03-31T10:06:10 | 55,140,096 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 792 | hpp | /*
* File: MusicBox.hpp
* Author: ivan
*
* Created on September 13, 2010, 2:26 PM
*/
#pragma once
#include <gst/gst.h>
#include <ting/Singleton.hpp>
#include <ting/Thread.hpp>
class MusicBox : public ting::Singleton<MusicBox>{
ting::Mutex mutex;
GstElement* pipeline;
std::string fileName;
ting::Ini... | [
"igagis@gmail.com"
] | igagis@gmail.com |
9709317beacb3e205cf0dc12fc6a78c2e578fb14 | a8be0fffac66e1dd9a29f816825a262e049d6c10 | /C++/237. Delete Node in a Linked List.h | 1c22b8864b4badc5cf46eb834e525d2d38bdcef6 | [] | no_license | swave2015/swave-LeetCode | b740bd1b2902c9e132500599f6275bd7d449fa85 | 7e81608bdb708347fa44dd1bb34a1cda32cc67bc | refs/heads/master | 2021-01-09T10:01:26.885095 | 2020-04-04T23:14:13 | 2020-04-04T23:14:13 | 242,259,259 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 562 | h | #include <iostream>
using namespace std;
struct ListNode {
int val;
ListNode *next;
ListNode(int x) : val(x), next(NULL) {}
};
class Solution {
public:
void deleteNode(ListNode* node) {
if(node == NULL) {
return;
} else if (node->next == NULL) {
... | [
"caoxiaohang@yeah.net"
] | caoxiaohang@yeah.net |
69ad4bf253d5f138de512ca7f5f21e29791efc9c | 3aabc2a6de308456967161419fc4e2d3c612bace | /tests/fiber/test_packaged_task_post.cpp | 99f42a34e81dae1c0e87683d484eab905388d979 | [
"Apache-2.0",
"BSL-1.0"
] | permissive | victor-smirnov/dumbo | 4f7322f04777198442ff09ecc927bdf02fc7eaf6 | 57fe7f765c69490a9bda6619bcab8fcca0e1d2d9 | refs/heads/master | 2021-01-11T01:09:10.322459 | 2017-04-02T15:40:12 | 2017-04-02T15:40:12 | 71,056,780 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,046 | cpp | // (C) Copyright 2008-10 Anthony Williams
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <utility>
#include <memory>
#include <stdexcept>
#include <string>
#include <boost/test/unit_test.hpp>
... | [
"aist11@gmail.com"
] | aist11@gmail.com |
16fb55e3ce9d8a0812e9d62e647fdc392cf4122f | 76b7e459b143c8481b044c60a68c768a0848b8f6 | /IME++/2019/Homeworks/H0/CF1102C.cpp | d7258704aaf221859e97a70913bfeede490fdcff | [] | no_license | hsnavarro/imepp | f3b195e5ed4e453eac9b73d5a77b39f44917435f | eb90580caea91b48e7d541db92531ba3fd2b82c1 | refs/heads/master | 2021-11-28T07:25:05.778476 | 2021-09-10T02:20:32 | 2021-09-10T02:20:32 | 145,646,296 | 0 | 1 | null | 2021-09-10T02:20:33 | 2018-08-22T02:40:54 | C++ | UTF-8 | C++ | false | false | 259 | cpp | #include <bits/stdc++.h>
using namespace std;
int n, d, r, cnt, a, aux;
int main(){
ios_base::sync_with_stdio(0), cin.tie(0);
cin >> n >> d >> r;
aux = n;
while(aux--) cin >> a, cnt += (a <= d);
cout << (d > r ? n : (cnt+1)/2) << endl;
} | [
"ricksnavarro@gmail.com"
] | ricksnavarro@gmail.com |
e2f57fd15c4fcd4261e7ff022b1cb08f391b7c0d | 1ae555d3088dc123836060371fc520bf0ff13e52 | /codeforces/Edu83/c3.cpp | 19c42ee34bcc4b122abd7a8c9a831a6ef54b59ef | [] | no_license | knagakura/procon | a87b9a1717674aeb5ee3da0301d465e95c758fde | c6ac49dbaaa908ff13cb0d9af439efe5439ec691 | refs/heads/master | 2022-01-31T19:46:33.535685 | 2022-01-23T11:59:02 | 2022-01-23T11:59:02 | 161,764,993 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,476 | cpp | #include <bits/stdc++.h>
using namespace std;
#define rep(i,N) for(int i=0;i<int(N);++i)
#define rep1(i,N) for(int i=1;i<int(N);++i)
#define all(a) (a).begin(),(a).end()
#define print(v) { cerr<<#v<<": [ "; for(auto _ : v) cerr<<_<<", "; cerr<<"]"<<endl; }
#define printpair(v) { cerr<<#v<<": [ "; for(auto _ : v) cerr<<... | [
"knagakura@bs.s.u-tokyo.ac.jp"
] | knagakura@bs.s.u-tokyo.ac.jp |
2bd58c4e4b08288e84b7bf97da43af87c437df96 | 19e17f70820e38aab23005a0a9eb253c0d76883a | /Tek2/CPP_Pool/Day08/ex02/Droid.hpp | 27a39be8527ba6b0753bb47bd97465e03fadd84d | [] | no_license | Emile442/Epitech | b50e16175229cfef56a9e554294c26eb0ab1383b | 6a12c0ca515252408173cec6fc2acc673909645b | refs/heads/master | 2023-01-03T11:29:51.542089 | 2020-10-31T19:41:02 | 2020-10-31T19:41:02 | 308,955,803 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,338 | hpp | /*
** EPITECH PROJECT, 2020
** cpp_d08_2019
** File description:
** Droid
*/
#ifndef DROID_HPP_
#define DROID_HPP_
#include <string>
#include <iostream>
#include "DroidMemory.hpp"
class Droid {
public:
Droid(std::string serial, size_t energy = 50, const size_t attack = 25, const size_t toughness = 15, std::strin... | [
"emile.lepetit@gmail.com"
] | emile.lepetit@gmail.com |
a220266c34b7fcac5dd91ed6f6c414eb32a3c550 | b01ae19d6bce9229b83d0165601719ae53ae2ed0 | /ios/versioned-react-native/ABI46_0_0/ReactNative/ReactCommon/react/bridging/tests/ABI46_0_0BridgingTest.h | 46d95d8f38086550834b17b9fd604143e88dff8c | [
"MIT",
"BSD-3-Clause",
"Apache-2.0"
] | permissive | Abhishek12345679/expo | 1655f4f71afbee0e8ef4680e43586168f75e1914 | 8257de135f6d333860a73676509332c9cde04ba5 | refs/heads/main | 2023-02-20T19:46:17.694860 | 2022-11-21T15:48:20 | 2022-11-21T15:48:20 | 568,898,209 | 1 | 0 | MIT | 2022-11-21T16:39:42 | 2022-11-21T16:39:41 | null | UTF-8 | C++ | false | false | 2,095 | h | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <gtest/gtest.h>
#include <hermes/hermes.h>
#include <ABI46_0_0React/bridging/ABI46_0_0Bridging.h>
#define... | [
"noreply@github.com"
] | Abhishek12345679.noreply@github.com |
e17b9e63aacdbe84af4c034e4d408784764facc3 | aae0a5370a64339f2caa8db5e53982fdd6e6f49d | /Holodryha_Andrii_OOP2/OOP_Lab2.cpp | 917b19ff2499fd70b53cfbca4d6040458b2dab66 | [] | no_license | AndriiSokil/OPP_Lab2 | 63b7a9c9990e4e00fb4fa7b37d3d0de85721c469 | e074eb17586b64b81397b2e68fc949ba34bea4be | refs/heads/main | 2023-03-21T22:58:34.072558 | 2021-03-14T18:41:28 | 2021-03-14T18:41:28 | 347,720,237 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 3,515 | cpp | #include <iostream>
using namespace std;
class Data {
private:
int* day;
int* month;
int* year;
public:
//Конструктор
Data() {
day = new int;
month = new int;
year = new int;
*day = *month = *year = 0;
}
Data(int userday, int usermonth, ... | [
"noreply@github.com"
] | AndriiSokil.noreply@github.com |
2492a410c2a8d7480803bd89756707946650b0fd | 66ad77f8981fc13e5687190db2c50d68e408fba5 | /course_quizes/src/ukf.cpp | 29fc36621a66c2f36d0251f4c1a8de5caa95a62b | [] | no_license | emoyers/SFND_Unscented_Kalman_Filter | 5a344c6e2375c5eae36dc5bf7accf673deae1b17 | 2aa62c80ca39ee8ec834969fff19d52e45134e42 | refs/heads/master | 2023-07-07T09:01:05.845204 | 2023-06-27T06:07:36 | 2023-06-27T06:07:36 | 257,939,931 | 0 | 0 | null | 2020-04-22T15:20:26 | 2020-04-22T15:20:25 | null | UTF-8 | C++ | false | false | 19,812 | cpp | #include "ukf.h"
#include <iostream>
using Eigen::MatrixXd;
using Eigen::VectorXd;
UKF::UKF() {
Init();
}
UKF::~UKF() {
}
void UKF::Init() {
}
/**
* Programming assignment functions:
*/
void UKF::GenerateSigmaPoints(MatrixXd* Xsig_out) {
// set state dimension
int n_x = 5;
// define spreading parame... | [
"emoyersb@gmail.com"
] | emoyersb@gmail.com |
737c7567fdb923ee18ce4df5a65c2543fea1b420 | 4510da837f58a607262b9a776a16a11282fea9c8 | /labs/lab7/People/People/IWorker.h | a556b1a19e341579c6aa98f3fc226baaa457e905 | [] | no_license | AnyaGl/oop | 14605f8cd86eaa3a89c9b7bf07b01c934561ee56 | 33879160095cd87334917802b46ca18c41a19c1d | refs/heads/master | 2021-01-04T08:11:58.314839 | 2020-07-09T07:39:07 | 2020-07-09T07:39:07 | 240,459,917 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 209 | h | #pragma once
#include "IPerson.h"
#include <string>
class IWorker : public IPerson
{
public:
virtual std::string GetSpeciality() const = 0;
virtual void SetSpeciality(const std::string& speciality) = 0;
};
| [
"gladysheva_2000@inbox.ru"
] | gladysheva_2000@inbox.ru |
131f7d2de5197ddaa9e90f97b65b207db31ffddb | fb7817c071c37fed603e1b46df1327175ee031b1 | /App/Lib/Bal/Include/math/balMathCommonVector_inl.h | 0ab551a6197640db6e0bc75ccdf98549e1ee5275 | [
"MIT"
] | permissive | belmayze/bal | af22ecf42ae1491843c4e84f74af75be92b64ed3 | 710a96d011855fdab4e4b6962a2ba5b6b6b35aae | refs/heads/master | 2021-08-18T04:04:42.151990 | 2021-07-03T22:29:42 | 2021-07-03T22:29:42 | 240,271,882 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,264 | h | /*!
* @file balMathCommonVector_inl.h
* @brief
* @author belmayze
*
* Copyright (c) 2020 belmayze. All rights reserved.
*/
#pragma once
// bal
#include <math/balMathCommonVector.h>
// ----------------------------------------------------------------------------
namespace bal {
// ---------------------------... | [
"belmayze@users.noreply.github.com"
] | belmayze@users.noreply.github.com |
c0579b3303f0c6f48223c2c96053c9ed399d75e1 | 1e8d2568eb80e0149cdb9ba998e93bfd10032095 | /TP/lab04/lista/lista_encadeada.cpp | 774972c1a08377ce5130630d295d852a6e6cb7cd | [] | no_license | Robertorosmaninho/PDS2 | 3356bbafdd33f11031645ae02c1121789b88301d | 9195c83b52bd4c6b1e2b1c80e33c82d79cd1b86c | refs/heads/master | 2020-04-07T21:35:53.629585 | 2019-02-02T22:37:37 | 2019-02-02T22:37:37 | 158,733,346 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,030 | cpp | #include <iostream>
#include "lista_encadeada.h"
#include "node.h"
ListaEncadeada::ListaEncadeada(){
}
ListaEncadeada::~ListaEncadeada(){
Node *aux,*aux_prox;
if(_inicio!=nullptr){
aux=_inicio;
aux_prox=aux->get_prox();
while(aux_prox!=nullptr){
delete aux;
aux=... | [
"robertogrosmaninho@outlook.com"
] | robertogrosmaninho@outlook.com |
760e8023a784daa6837f698639858f1e3e09cb77 | dcf535c491af36d04f8d6869e6f50ed19c17a650 | /src/util/Logging.cpp | 561e77686e9fe8cc76c52af765a21afa29e341c4 | [
"Apache-2.0",
"MIT",
"BSD-3-Clause",
"BSL-1.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | jiaoxie83847573p/epcblock | c786cc1568e8a45034fd676187e492fe621f1d09 | 12a2430b4a7ec554aa810127475fe32a711603a2 | refs/heads/master | 2020-03-21T15:23:05.633174 | 2018-06-26T09:58:18 | 2018-06-26T09:58:18 | 138,709,198 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,836 | cpp | // Copyright 2014 epc Development Foundation and contributors. Licensed
// under the Apache License, Version 2.0. See the COPYING file at the root
// of this distribution or at http://www.apache.org/licenses/LICENSE-2.0
#include "util/Logging.h"
#include "main/Application.h"
#include "util/types.h"
/*
Levels:
TRA... | [
"40593460+jiaoxie83847573p@users.noreply.github.com"
] | 40593460+jiaoxie83847573p@users.noreply.github.com |
13e6d2cce446a6447c65fd036b5e4bd573c3f4bd | d2c0ebb859fae2cd66fa73c14bd56eca58c7b41b | /hookflash-libs/boost/boost/libs/units/test/test_output.cpp | 442735a683809321b2bfc6e5e45381186449277f | [
"BSL-1.0",
"BSD-2-Clause-Views"
] | permissive | ilin-in/OP | 4ad6ab6c1f018cb0b90db4e34651aa3328df191d | bf3e87d90008e2a4106ee70360fbe15b0d694e77 | refs/heads/master | 2020-04-08T11:29:44.234718 | 2012-12-29T00:50:35 | 2012-12-29T00:50:35 | 7,470,505 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,858 | cpp | // Boost.Units - A C++ library for zero-overhead dimensional analysis and
// unit/quantity manipulation and conversion
//
// Copyright (C) 2009 Steven Watanabe
// Copyright Paul A. Bristow 2010
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http... | [
"robin@hookflash.com"
] | robin@hookflash.com |
a6fc485a4fcd01afb897cb79c04fd7a16cbc2cf5 | f4fc41dec97dc89afbb9f787369c1f78afa63e11 | /cpp01/ex06/Weapon.hpp | c85e5cae69428c1c0b8c758c387d0ea517248309 | [] | no_license | Likilee/cpp_module | c6347509c78df8ae286b3146b8e3732f546eb120 | af0ae4714a3c92e0f900acfabc9b23b2160b3331 | refs/heads/master | 2023-04-25T17:56:58.921336 | 2021-05-06T07:16:43 | 2021-05-06T07:16:43 | 358,129,773 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 246 | hpp | #ifndef WEAPON_HPP
# define WEAPON_HPP
# include <string>
class Weapon
{
private:
std::string _type;
public:
Weapon();
Weapon(std::string type);
~Weapon();
const std::string &getType() const;
void setType(std::string type);
};
#endif
| [
"gnsdlrl@daum.net"
] | gnsdlrl@daum.net |
7a7365d1958d2bfe6c3c7362054e709d33748a70 | 9b615dd4021ffe5960137b8a393afa246b121e36 | /StrangeTales/Objeto.cpp | be3674e7baba73b5b218cb5561844f616f430ea9 | [] | no_license | ReeVicente/StrangerTales | 38798ffb689c1b36672a3365b27453093b66260e | 8c510873d34def1f4d6bf9b2e867e5e4aea2ac85 | refs/heads/master | 2020-03-22T16:12:42.611793 | 2018-07-12T02:12:47 | 2018-07-12T02:12:47 | 140,311,023 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 325 | cpp | #include "stdafx.h"
#include <string>
#include <iostream>
#include "Objeto.h"
Objeto::Objeto(std::string nome, std::string mensagem) {
this->nome = nome;
this->mensagem = mensagem;
}
bool Objeto::Interagir() {
std::cout << this->mensagem << std::endl;
return temItem;
}
std::string Objeto::getNome() {
return nom... | [
"renanvicentecosta@gmail.com"
] | renanvicentecosta@gmail.com |
5f4410f4742c08a15cfab92f43c0afb46da83abe | e45aa8d976841d3dda6d146810ed84c32f46f279 | /2018/25/constellations.cpp | 3a1e30f1ae33746394ee108d4951385308dbbda6 | [] | no_license | drbitboy/AdventOCode | 9b9ef968d569ae676d612b070ba010a73f2a9719 | 8c42bdd31d6f3ba00ba5fd44a4dcf5b16a1629a7 | refs/heads/master | 2020-09-02T13:05:12.292311 | 2019-12-25T05:37:32 | 2019-12-25T05:37:32 | 219,228,179 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,870 | cpp | ////////////////////////////////////////////////////////////////////////
// Formation of constellations using four-dimensional manhattan distance
////////////////////////////////////////////////////////////////////////
#include <bits/stdc++.h>
using namespace std;
#define nl '\n'
////////////////////////////////////... | [
"BrianTCarcich@gmail.com"
] | BrianTCarcich@gmail.com |
ed87ec72cc4da5eeaea568830799a999c0e6e1f0 | 4780d63d0fa0585d4ea3e06de06852560558b85e | /Classes/FightScene/DlgMenu/FightPauseMenu.h | badfa27db538a28682eefb543cc3a20738ce6532 | [] | no_license | haoliumilan/AgainstSango | 22b0a7307e9206c4339e932ab458dafc0718294a | fc76863fce0b147bd9b58bf8be054a97609bd566 | refs/heads/master | 2021-01-09T20:45:17.689034 | 2016-07-05T07:36:55 | 2016-07-05T07:36:55 | 62,615,642 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,056 | h | //
// FightPauseMenu.h
// AgainstWar
//
// Created by 海桅 王 on 12-6-12.
// Copyright (c) 2012年 OneClick Co.,Ltd. All rights reserved.
//
#ifndef AgainstWar_FightPauseMenu_h
#define AgainstWar_FightPauseMenu_h
#include "cocos2d.h"
#include "SettingLayer.h"
using namespace cocos2d;
class Dialog2;
class TextNode;
... | [
"haoliumilan@sina.com"
] | haoliumilan@sina.com |
da6dab1cc8a5eb8343760323e6b1ef89c95190c3 | 64920237a769821bb39a0cfcca87ab9cc9766d1f | /AC_Phase_Control-4/AC_Phase_Control-4.ino | 0089c1f95af53de7210605ab0595922bf9083a93 | [] | no_license | Reverse-Lab/Arduino-Test | 6c196544d59ac0ec287de1bf3703a24576220c0c | 6ead9b5308dd6da9dabfbc22a0264506058326fd | refs/heads/master | 2023-03-20T19:03:32.576103 | 2021-03-17T13:31:53 | 2021-03-17T13:31:53 | 278,634,095 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,017 | ino | /*
AC Voltage dimmer with Zero cross detection
Author: Charith Fernanado Adapted by DIY_bloke
License: Creative Commons Attribution Share-Alike 3.0 License.
Attach the Zero cross pin of the module to Arduino External Interrupt pin
Select the correct Interrupt # from the below table
(the Pin numbers are digital pins, ... | [
"65438732+Reverse-Lab@users.noreply.github.com"
] | 65438732+Reverse-Lab@users.noreply.github.com |
b65a3609a3b15a86669b7f2373830fc39f334dff | 8143fa90a6f60933b24ec33d849fa813c5e74cb4 | /spatial-database/Models/RegionFactory.cpp | bcb69ae93a1c89dcf9cf10e6f265f98cc17f4d74 | [] | no_license | JeremyLWright/sandbox | 0497ae89c5cb1d3d6420f3ac3ef582c11e2eaaac | d241ba91350da255e1e3024bf83b0f95d33ffa2d | refs/heads/master | 2016-09-11T02:54:39.591611 | 2014-05-02T00:48:26 | 2014-05-02T00:48:26 | 35,886,304 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 384 | cpp | #include "RegionFactory.h"
using namespace SpatialDB;
RegionFactory::RegionFactory()
{
simulated_id = 0;
this->_spatial_instance = SpatialModel::get_instance();
}
const Region& RegionFactory::get_region(Point A, Point B, Point C, Point D)
{
//Create a region in the Spatial model, and return the created Re... | [
"jeremy@codestrokes.com"
] | jeremy@codestrokes.com |
c88e297b18eb418b650c141610b7511846d7de65 | 8945e68f51134d91549ec620f5c9fc0c37903e08 | /arduino/Library/BLE/utility/error_handling.cpp | 146443e1c86e43567257ce5ccd052f677df37972 | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | alicialink/ble-ios | 2ee04fa6a9440d68187f808cf1f81e1cb6b2d4cc | 8c745f7b419a5c22ff3029fbc093d86058b27652 | refs/heads/master | 2021-01-16T23:22:59.641624 | 2016-08-16T18:09:07 | 2016-08-16T18:09:07 | 65,841,584 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,650 | cpp | /* Copyright (c) 2012 Nordic Semiconductor. All Rights Reserved.
*
* The information contained herein is property of Nordic Semiconductor ASA.
* Terms and conditions of usage are described in detail in NORDIC
* SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
*
* Licensees are granted free, non-transferable use... | [
"amfkey@gmail.com"
] | amfkey@gmail.com |
d3e4cfc9f21efd21f721b07abd4077c506c66a78 | ca04a2ea63e047d29c3c55e3086a9a67dadfbff3 | /Source/servers/Shared/Utility/LogManager.cpp | 5cd01023ea803a9e719a6bb9714185af87ccd256 | [] | no_license | brucelevis/HMX-Server | 0eebb7d248c578d6c930c15670927acaf4f13c3d | 7b9e21c0771ee42db2842bb17d85d219c8e668d7 | refs/heads/master | 2020-08-03T17:37:44.209223 | 2016-06-13T08:49:39 | 2016-06-13T08:49:39 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,579 | cpp | //
// logManager.cpp
// test
//
// Created by fox on 13-1-9.
//
//
#include "LogManager.h"
#include "Utility.h"
LogManagerMgr::LogManagerMgr()
{
m_pLogServer = NULL;
}
LogManagerMgr::~LogManagerMgr()
{
}
void LogManagerMgr::Init(ServerSession* pServerSession,int32 nServerType,int32 nStartTimes)
{
ASSERT(pServ... | [
"huangzuduan@qq.com"
] | huangzuduan@qq.com |
76371dac56c2eee4d17457148f9c19d2468873d9 | 24498f05a7f1573b1a668683cf54a4861b96978d | /D/g_buffer.h | 294224f974e7e8433c57f20cb2312d8d55e752ac | [] | no_license | dimroman/D | 83f9cf1f30766ca857c1c1625a7d5eec98d5ea41 | 7f4b64d08413c3bcebdda69ceb791ed2d1999b7b | refs/heads/master | 2021-01-12T05:19:18.639227 | 2017-01-10T15:11:26 | 2017-01-10T15:11:26 | 77,908,637 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,422 | h | #ifndef RENDER_TARGET_H_INCLUDED
#define RENDER_TARGET_H_INCLUDED
#include "texture2d.h"
#include "d3dx12.h"
#include "vertex_buffer.h"
#include "sampler.h"
#include "defines.h"
enum { render_targets_count = 4, };
class graphics;
class g_buffer
{
public:
void initialize(ID3D12Device* const device, ID3D12GraphicsCo... | [
"dim.roman@gmail.com"
] | dim.roman@gmail.com |
62fd03ce545a8f9093c42c696a1af342bac8168e | 3f72913d81eb53a34d865d58ff4fc2022832e56d | /src/Scene_CharSelect.cpp | a510510413569f3d650d09848cef1b29fb19bb9f | [] | no_license | anastasiucristian/gamesproject | ca120df01594a6a8807ff87a5fd8878163b036ca | bb4e533accd820c7cc4a8758bd239333a81498ad | refs/heads/master | 2020-04-21T12:33:27.061770 | 2019-04-26T11:51:34 | 2019-04-26T11:51:34 | 169,566,268 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 639 | cpp | #include "Scene.h"
Scene_CharacterSelect::Scene_CharacterSelect() : Scene()
{
}
Scene_CharacterSelect::~Scene_CharacterSelect()
{
}
void Scene_CharacterSelect::Render(sf::RenderWindow &window)
{
//Render the background from the Base Scene class
Scene::Render(window);
}
//Setup the Menu here:
void Scene_Character... | [
"markpereira2208@gmail.com"
] | markpereira2208@gmail.com |
8129f7b9c7f91dd5bc699fdfe3f9241d533f6928 | ec3a754ac21137a04250ef7dc9e5152e94fb7bd3 | /damBreakFine/0.65/phiAlpha | 971fd33d7b723a74fea315172789fc4f4d7cc3fa | [] | no_license | johnathoncobabe/425 | 2336a62cd0f575b777cd549a886a15b5799b6c72 | e1ee61fb87a1078683d71a1d15131713c435cfae | refs/heads/master | 2021-01-10T10:00:11.128510 | 2015-10-02T17:54:40 | 2015-10-02T17:54:40 | 43,466,206 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,435 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
... | [
"johnathoncobabe@gmail.com"
] | johnathoncobabe@gmail.com | |
eda2acf8d03c23ad016f361550365c1349d08831 | 84c0f3189fa4dfcf1f0490576abfe5c52759fc4e | /Elya_Karapetyan/Homeworks/C++/20_27.04/HashMap/hashMap.hpp | a3fb88076df33c55c6cc2c8916e0fe9c67df1ebf | [] | no_license | Araksya-Hambaryan/ITC-9 | bfb2741c52f5de208d3637e33ed3bb547dd0971a | c44b4603a9ddd4395bac86808b3c42217ea60879 | refs/heads/master | 2023-02-11T16:11:30.324645 | 2021-05-16T18:45:13 | 2021-05-16T18:45:13 | 127,136,193 | 1 | 7 | null | 2023-01-26T03:22:51 | 2018-03-28T12:22:48 | Java | UTF-8 | C++ | false | false | 547 | hpp | #ifndef HASH_MAP_HPP
#define HASH_MAP_HPP
#include "vector.hpp"
class HashMap {
public:
HashMap();
//Hashmap(const HashMap& object);
~HashMap();
int getSize() const;
bool isEmpty() const;
bool add(const std::string key, const int value);
bool remove(const std::string key, int& value);
... | [
"elya@Elya"
] | elya@Elya |
f382f3799cf307f7f8a72e759e4f2a1ccf0cde40 | 902aab58f902a488a4f0f0e8e0d6b0bab8334240 | /InProgress/te_gurney/case/0.07/phi | 74ca710ccbe525cdaeda68a43e006ef9a764f69b | [] | no_license | Foadsf/OpenFOAM_Tutorials_ | d32d5ef6583f276018f2314a78fe66c730c47109 | 4b914e5112863f2660e15b899dfddfc0ec04f90c | refs/heads/master | 2021-09-12T08:19:21.666536 | 2018-01-24T17:31:13 | 2018-01-24T17:31:13 | 118,747,914 | 1 | 0 | null | 2018-01-24T10:10:08 | 2018-01-24T10:10:08 | null | UTF-8 | C++ | false | false | 280,738 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.1 |
... | [
"rlee32@gatech.edu"
] | rlee32@gatech.edu | |
1f0329a8bf6502fe2a65c626bbc89ff3e1e0d011 | 970932a81d2271abe494c51d66153010c54e2032 | /src/xrGame/map_manager.cpp | 3f0a9d635abae7cfdc364d6a06f99e9180f8f884 | [] | no_license | Alexandr682/xray-omp | 975c8564a6e7a418c74a5d59768c93750350256b | e8e26a116bab30d28f3a77cda77b203cdb51c589 | refs/heads/master | 2023-04-01T18:33:13.185945 | 2020-09-28T18:59:29 | 2020-09-28T18:59:29 | 267,366,318 | 13 | 15 | null | 2020-05-28T20:47:26 | 2020-05-27T16:08:17 | C++ | UTF-8 | C++ | false | false | 7,208 | cpp | #include "pch_script.h"
#include "map_manager.h"
#include "alife_registry_wrappers.h"
#include "inventoryowner.h"
#include "level.h"
#include "actor.h"
#include "relation_registry.h"
#include "GameObject.h"
#include "map_location.h"
#include "GameTaskManager.h"
#include "xrServer.h"
#include "game_object_space.h"
#incl... | [
"botkiller4@yandex.ru"
] | botkiller4@yandex.ru |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.