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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4e043c6b075c30326c2690d4f1ed093726be2858 | b2d8024a55fe4d0e8f4f1a213065098e586ab260 | /Test/LeafErrorBTNode.cpp | 54fb5994b484a7f9a946acd305e4044ac5d08d51 | [] | no_license | Zhrack/BehaviorTreeTest | 58815ef11d38c07be25b6cce91d3c6e679ea6ed4 | b41b9026bfa33736bac942b82f5d5d7abd50e19c | refs/heads/master | 2020-07-09T19:47:31.385959 | 2019-08-24T19:27:49 | 2019-08-24T19:27:49 | 204,067,467 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 297 | cpp | #include "LeafErrorBTNode.h"
#include <iostream>
LeafErrorBTNode::LeafErrorBTNode()
{
}
LeafErrorBTNode::~LeafErrorBTNode()
{
}
void LeafErrorBTNode::addNode(BaseBTNode* newNode)
{
newNode;
std::cout << "ERROR::LeafErrorBTNode: A node is being added to a leaf node!" << std::endl;
}
| [
"zanarchan@gmail.com"
] | zanarchan@gmail.com |
ca895d2130c0830ac76aa9ec98bb67f498ecc3a1 | 04040f294a3df9b11d769f51b77d388c3f2047cb | /Engine/src/independent/rendering/geometry/vertexBuffer.cpp | beeedbf007bec57a71805cc6d79572011727b5cd | [] | no_license | DanBullin/LoneWilderness | 1b6c50e05f547bdb94b9a67aaf73cfda7abc0a59 | f5474cbc4ec5d73fa9b641eed47548c9c6422789 | refs/heads/master | 2023-04-10T10:52:10.322151 | 2021-05-07T06:55:09 | 2021-05-07T06:55:09 | 325,267,055 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,766 | cpp | /*! \file vertexBuffer.cpp
*
* \brief An API agnostic Vertex buffer
*
* \author DMU Course material
*
*/
#include "independent/rendering/renderAPI.h"
#include "independent/systems/systems/log.h"
#include "independent/rendering/geometry/vertexBuffer.h"
#include "platform/OpenGL/geometry/openGLVertexBuffer.h"
namespace ... | [
"danbullin@gmail.com"
] | danbullin@gmail.com |
f7cbec523ac1daa528c30b507a1c27d19f7ae454 | 71e5b5cd3b6834fa1f342b991dffb7212816274b | /project/project.ino | d85d108fa3804d1c86ed9167a15710fde536a40f | [
"Apache-2.0"
] | permissive | trcclub/Basic-Arduino-Projects | b222296509cb5830c6ab91468696d99f0b8fe35d | 230cbad2fd8008f529ee5b983c66c3e8fb264e41 | refs/heads/master | 2022-06-01T02:00:38.371728 | 2020-04-22T17:39:43 | 2020-04-22T17:39:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,385 | ino | #include<SoftwareSerial.h>
SoftwareSerial myserial(2,3); //RX & TX
int sensorPin=A0;//select the inputpin for LDR
int sensorValue=0;
#define C1A 13
#define C1B 11
#define C2A 8
#define C2B 7
String voice;
const int trigPIN=10;
const int echoPIN=5;
long duration;
int distance;
int IN1=6;
int IN2=4;
char data=0;
void se... | [
"thameemk612@gmail.com"
] | thameemk612@gmail.com |
40e85ec89986915816b1a2a73e74a011fb64a7e9 | b5b7ae57b91d08d0cd918c8f455f43a88769a6a2 | /include/LogCabin/Debug.h | de1d0909692550e9a608d409f71666b4302c3c16 | [
"ISC"
] | permissive | JateNensvold/logcabin | f0bc7ff4d5b46406d1181a793dbf8b97067a64e4 | 6966ab07e8780de4ee2c706df4c2530922f7d265 | refs/heads/master | 2023-04-08T14:11:23.568033 | 2021-05-03T02:43:55 | 2021-05-03T02:43:55 | 333,275,819 | 0 | 0 | NOASSERTION | 2021-05-03T02:40:55 | 2021-01-27T02:11:06 | C++ | UTF-8 | C++ | false | false | 7,848 | h | /* Copyright (c) 2010-2012 Stanford University
* Copyright (c) 2014-2015 Diego Ongaro
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFT... | [
"dongaro@scalecomputing.com"
] | dongaro@scalecomputing.com |
4b87e33e026434cedab1df74265dbd5ac532c7f4 | f3a52a8832519729d65c5c3c436db2000217703c | /Source/FSD/Public/FSDDebrisSettings.h | 78206be292ab133754a2894f4c1d260cc14363ba | [] | no_license | NicolasAubinet/virtual-rock-galactic | 50be56c6548cfd44b3187cb41e4e03847b2093e7 | e82ce900f1f88c7db0abdb1d69c2de31650ca628 | refs/heads/main | 2023-07-22T08:04:59.552029 | 2023-07-15T08:16:22 | 2023-07-15T08:16:22 | 425,605,229 | 22 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 621 | h | #pragma once
#include "CoreMinimal.h"
#include "UObject/NoExportTypes.h"
#include "Engine/DeveloperSettings.h"
#include "FSDDebrisSettings.generated.h"
UCLASS(Blueprintable, DefaultConfig, Config=Game)
class UFSDDebrisSettings : public UDeveloperSettings {
GENERATED_BODY()
public:
protected:
UPROPERTY(Blueprin... | [
"n.aubinet@gmail.com"
] | n.aubinet@gmail.com |
9d3e8252436d25e44ab234a6ded43970792b40fc | 04998fdc26c6b2ebabb5c0f1330a1095a5507a4f | /Algorithms and problems/DP/zero-one-knapsack-and-variations/zeroOneKnapsack.cpp | a270867509b25ca21686f1438f9c8f9239487d9c | [] | no_license | ashirbad29/ds-algo-Implementations-and-problems | 7a782dd7888122ed907a985c437fe3706fff3656 | 24427eda3d78ab3c69549562fabe072815bc0d34 | refs/heads/master | 2023-01-16T06:27:23.356625 | 2020-11-24T11:39:36 | 2020-11-24T11:39:36 | 289,301,147 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,107 | cpp | #include <iostream>
#include <vector>
using namespace std;
// Naive Recursive approach
int recursiveKnapsack(vector<int> weight, vector<int> value, int w, int n){
if(n == 0 || w == 0) return 0; // base case
// check if we can include or not
if(weight[n-1] <= w){ // we can include or exclude based on the max profi... | [
"ashirbadbehera29@gmail.com"
] | ashirbadbehera29@gmail.com |
797b4d2d8f31e11239e655379b9a2d66d009a605 | d664fad6f07dbf700e674a0da82c464e67d0438d | /Service/Pool.cpp | 98ce9a4948e75b8e2509e64b4f36cb97d5b625f9 | [
"MIT"
] | permissive | helldenn/blog-subscription-service | 2baa89fe09fce7b01b0900a6852126ab38907bf6 | a11300d5116f591f43db80eb968c8e188821d497 | refs/heads/master | 2020-03-27T18:51:39.769050 | 2018-03-07T20:40:27 | 2018-03-07T20:40:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,995 | cpp | /**
* @file
* @author Mohammad S. Babaei <info@babaei.net>
* @version 0.1.0
*
* @section LICENSE
*
* (The MIT License)
*
* Copyright (c) 2016 Mohammad S. Babaei
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softw... | [
"info@babaei.net"
] | info@babaei.net |
5406fcb6127465746993b65a70b5c96dc94cd983 | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE23_Relative_Path_Traversal/s01/CWE23_Relative_Path_Traversal__char_environment_fopen_61a.cpp | 057ef3850bc59b1f9b2ef67d3e98a791abbea1b7 | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 2,887 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE23_Relative_Path_Traversal__char_environment_fopen_61a.cpp
Label Definition File: CWE23_Relative_Path_Traversal.label.xml
Template File: sources-sink-61a.tmpl.cpp
*/
/*
* @description
* CWE: 23 Relative Path Traversal
* BadSource: environment Read input from a... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
62ab81da907ee6f66389c8fb640c1c10a63b00bb | 10ffc88adb8757b70e555e5091563714a28cb464 | /sugawara/dia_particle.cpp | 07a172141e2186ceedc55c509983379899310b21 | [] | no_license | TaichiNikaido/3DTeamGame | 2647e77393baf0e591d12365850c405caddfa80c | e7ef052834ee2961a882cb18164203789b40f4d4 | refs/heads/master | 2023-03-19T12:50:32.420818 | 2021-03-18T18:36:57 | 2021-03-18T18:36:57 | 344,369,196 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 4,466 | cpp | //******************************************************************************
// ダイヤのパーティクル [dia_particle.cpp]
// Author : 管原 司
//******************************************************************************
//******************************************************************************
// インクルードファイル
//***********... | [
"stjbi99956@gmail.com"
] | stjbi99956@gmail.com |
fc24df3ab315d7a562a7be3c6fd898966d9145f9 | f16af0daae3d88df06fe45b57d762fe0ed0da6d6 | /INLib/inc/BCLib/utility/io/binFile.h | 4a69d0f0157c88eae4852081f2ac0cd4b8bdc49f | [] | no_license | lop-dev/lop-lib | 1f15d48beca11dd7e4842b96780adecab186bea5 | ae22a29c82e31cbca53155fb0a1155569dfe2681 | refs/heads/master | 2023-06-23T09:45:43.317656 | 2021-07-25T02:11:19 | 2021-07-25T02:11:19 | 131,691,063 | 16 | 13 | null | null | null | null | GB18030 | C++ | false | false | 3,068 | h | //////////////////////////////////////////////////////////////////////
// created: 2011/11/01
// filename: BCLib/utility/io/binFile.h
// author: League of Perfect
/// @brief
///
//////////////////////////////////////////////////////////////////////
#ifndef __BCLIB_UTILITY_IO_BINFILE_H__
#define __BC... | [
"38876514+lop-dev@users.noreply.github.com"
] | 38876514+lop-dev@users.noreply.github.com |
5a5c5c48e2cb3727f729f66d8dce85bd8710f8ef | e99c20155e9b08c7e7598a3f85ccaedbd127f632 | / sjtu-project-pipe/thirdparties/VTK.Net/src/Common/vtkPythonUtil.cxx | de294af51b7779051d1ffb56384e32dbd9a8138e | [
"BSD-3-Clause"
] | permissive | unidevop/sjtu-project-pipe | 38f00462d501d9b1134ce736bdfbfe4f9d075e4a | 5a09f098db834d5276a2921d861ef549961decbe | refs/heads/master | 2020-05-16T21:32:47.772410 | 2012-03-19T01:24:14 | 2012-03-19T01:24:14 | 38,281,086 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 57,836 | cxx | /*=========================================================================
Program: Visualization Toolkit
Module: $RCSfile: vtkPythonUtil.cxx,v $
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
... | [
"useminmin@gmail.com"
] | useminmin@gmail.com |
83346ed2d9cef6e53d900bc062d3781671dc74b5 | bc65659b4e8101a5092809e5ec1077c7166071e7 | /llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.h | 30735050ac881e01180bc227152c5e6e431c623b | [
"NCSA"
] | permissive | uasys/openmp-split | c241b074ea315be2c20f09f6fe62bfad62963f02 | 712dc67791c8bb9c7c42e36389f06740d081ec6f | refs/heads/master | 2020-03-17T11:06:12.662441 | 2018-08-31T22:51:59 | 2018-08-31T22:51:59 | 133,538,307 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,402 | h | //===-- NVPTXISelDAGToDAG.h - A dag to dag inst selector for NVPTX --------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"artem@ualberta.ca"
] | artem@ualberta.ca |
3313ad2322fb93af4eca4ab82d92d75ad17b443f | dc24e0e1bbfbfde70b106e9d0e5899eac2a0e61c | /qt_vid.cpp | 4dc756b47ea65d03fa830af48805fe9402576543 | [] | no_license | PavelGavlik/Digger | 18e106e45137a112b6d9449ded79a9b3455ea9f4 | 49c539358f2973c2cd59fecdef6f98ca59c0f8b8 | refs/heads/master | 2021-01-20T06:59:45.933920 | 2012-12-12T18:38:54 | 2012-12-12T18:38:54 | 2,842,641 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,251 | cpp |
#include "def.h"
#include <QGraphicsItem>
#include <QKeyEvent>
#include "drawing.h"
#include "qt_vid.h"
void PressKey(int16_t key);
void ReleaseKey(int16_t key);
int16_t levplan(void);
GraphicsScene *myScene;
GraphicsView *myView;
void graphicsoff(void)
{
}
void vgainit(void)
{
}
void vgaclear(void)
{
myScene... | [
"gav.pavel@gmail.com"
] | gav.pavel@gmail.com |
0492617b4fdddc26a940efd0ea90eaabe17a7755 | b639b4f7e21410f268400b45a9e48a0a584db9c9 | /src/scalar.hpp | dfee61810b99c25d731b1ae717e5b09385ec2099 | [
"MIT"
] | permissive | faisal-w/pytubes | 653a55e23bff74c62dee1ebeeee42ab6a59e7083 | 66cdecc865ca84359effb9913859179c85f0ee3e | refs/heads/master | 2020-03-07T14:31:01.518797 | 2018-03-29T19:13:27 | 2018-03-29T19:13:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,480 | hpp | #pragma once
#include "util/slice.hpp"
#include "util/pyobj.hpp"
#include "util/json/json.hpp"
#include "util/tsv.hpp"
namespace ss{
template<class X, typename... Ts> struct make_ignore { typedef X type;};
template<class X, typename... Ts> using ignore_t = typename make_ignore<X, Ts...>::type;
template<typename... T... | [
"stestagg@gmail.com"
] | stestagg@gmail.com |
b36608f43c1e30c087876dad78b65bf2e318b0c8 | 04bc38ab97bda7730c8047907756dfd0d59283cc | /src/GUIText.cpp | cc359c5b4d4ee816febeb9f09d0007e8005412f6 | [] | no_license | Senryoku/BasicGUI | b687622eaf99077066ffbffb25b7a45c4bd6a97d | 62614a02c3f3a7d7f72a58f94a1301b1a4483bb1 | refs/heads/master | 2021-01-20T20:15:50.080833 | 2016-08-01T17:02:33 | 2016-08-01T17:02:33 | 63,697,616 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,226 | cpp | #include <GUIText.hpp>
#include <fstream>
#include <sstream>
std::unique_ptr<Font> GUIText::s_defaultFont = nullptr;
Font::Font(const std::string& path)
{
load(path);
}
void Font::load(const std::string& path)
{
// Load the distance filed texture
Tex = &Resources::getTexture<Texture2D>(Name);
if(!(*Tex))
Tex... | [
"maretverdant@gmail.com"
] | maretverdant@gmail.com |
d512aae3414e6c50f67bd213aa69c957c2b734e2 | 03136edc42725997484bb62dc66317565b63fe07 | /pattern/q11.cpp | 560c65d72aff2898f2c6d1d79082f3901243bc8c | [] | no_license | NitinShaily/CEC-Practice_problems | 1a0092bdd0417b16f5ae564cbf7b93d7a67be59b | bbb860cc883f4e87ad9d910de3f45eff49b2f593 | refs/heads/main | 2023-09-01T22:14:41.793218 | 2021-10-07T15:16:59 | 2021-10-07T15:16:59 | 341,974,670 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 431 | cpp | #include<iostream>
using namespace std;
int main(){
int i,j,n;
cin>>n;
for(i=0; i<n; i++){
for(int k=0; k<n-i-1; k++)
cout<<" ";
for(j=1; j<=i*2 + 1; j++)
cout<<"*";
cout<<"\n";
}
return 0;
}
/*
PS C:\Users\acer\CEC-Practice_problems\pattern> g++... | [
"nitinshaily0@gmail.com"
] | nitinshaily0@gmail.com |
e7d5d3f2498d398e7f470cf081adeb6abb3a51e9 | 2f85ea1b415b0a5b14c3f67a43bc7c8266c2d1b3 | /LangTools/lovecharacter.cpp | 0d0a0d7324edd81c8c4a7f3c2f94d2169b025731 | [] | no_license | ratankumar19/Competitive-Programming | 960c565fcbf91c282bcfb0d8141ed85335985310 | d19f1678f4695b8057d619651a8c05310f212c5c | refs/heads/master | 2022-11-13T22:06:59.396406 | 2020-07-11T13:16:08 | 2020-07-11T13:16:08 | 278,863,021 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 363 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin>>n;
string str;
cin>>str;
int a=0;
int s=0;
int p=0;
for(int i=0;i<n;i++){
if(str[i]=='a')
a=a+1;
else if(str[i]=='s')
s=s+1;
else if(str[i]=='p')
p=p+1;
}... | [
"ratankumar086@gmail.com"
] | ratankumar086@gmail.com |
f5f39cf6774454db1203cd47d608a8895859b560 | d3518523b3af196c283e4579587cef4c156c027d | /day01/ex07/main.cpp | f359b42705a29f1b134cbc46cfd0f27c1008ccca | [] | no_license | ahryhory/Piscine_CPP | c5311995a68c1847be3117128632acc554388168 | 356fd86dfe1ccf98084e0e4e09d6930a22fabb76 | refs/heads/master | 2020-03-22T04:00:49.158797 | 2018-07-02T16:38:48 | 2018-07-02T16:38:48 | 139,467,019 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,816 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.cpp :+: :+: :+: ... | [
"ahryhory@e3r2p5.unit.ua"
] | ahryhory@e3r2p5.unit.ua |
4e01959bab80b175bd3760cc1c63235abc7900fc | 7e57a7543703638b5adde6d0e73b4eff285922ac | /PacMan/Object.cpp | 701e8a48ba68f68f2d86e9c25ab73df8af738043 | [] | no_license | gabsnow/Pacman-cpp | dd3c6c20b962f216bcddc219c03a96f20ff19726 | fc4f774f432953e2737877e990a3c691f7b5c28a | refs/heads/master | 2022-12-19T11:59:38.915338 | 2020-09-27T18:58:09 | 2020-09-27T18:58:09 | 298,684,916 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 660 | cpp | // Objet.cpp
// Fait par Gabriel Bourgeois le 28 Novembre 2017
// Implémentation de la classe CObjet
#include "Object.h"
#include "Pacman.h"
CObject::CObject(int PosX, int PosY) : X_(PosX * PixelsPerBox), Y_(PosY * PixelsPerBox)
{
}
void CObject::SetX(int X)
{
if (X <= Width * PixelsPerBox && X >= 0)
X_ = X;
}
vo... | [
"45138983+gabsnow@users.noreply.github.com"
] | 45138983+gabsnow@users.noreply.github.com |
4ace7c30f7ef7183228469230b4cd5bc8e061889 | 5c9d1cb78aa85756e5508f4e4cc02847697904d6 | /Source/ExampleShooter/Gun.cpp | 93db3b63371576d2dcc03d8f8176fae24d156d2f | [] | no_license | ebender17/ExampleShooter | 73588df9f2381c0434b851ff130216344a8cd511 | 00fc8029ec99575178584bd5c1ef06449ce33afa | refs/heads/main | 2023-02-23T13:17:46.788171 | 2021-01-31T21:08:07 | 2021-01-31T21:08:07 | 327,127,328 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,421 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Gun.h"
#include "Components/SkeletalMeshComponent.h"
#include "Kismet/GameplayStatics.h"
#include "Engine/Public/DrawDebugHelpers.h"
// Sets default values
AGun::AGun()
{
// Set this actor to call Tick() every frame. You can t... | [
"bender.emily1@gmail.com"
] | bender.emily1@gmail.com |
9494ec11eb323deeb086a8fd32b7468d545f89ad | e4ec5b6cf3cfe2568ef0b5654c019e398b4ecc67 | /aws-sdk-cpp/1.2.10/include/aws/ecs/model/Cluster.h | fb6d169129d5b88e2b0f7e08b1b21c5813551115 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | EnjoyLifeFund/macHighSierra-cellars | 59051e496ed0e68d14e0d5d91367a2c92c95e1fb | 49a477d42f081e52f4c5bdd39535156a2df52d09 | refs/heads/master | 2022-12-25T19:28:29.992466 | 2017-10-10T13:00:08 | 2017-10-10T13:00:08 | 96,081,471 | 3 | 1 | null | 2022-12-17T02:26:21 | 2017-07-03T07:17:34 | null | UTF-8 | C++ | false | false | 12,639 | h | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"Raliclo@gmail.com"
] | Raliclo@gmail.com |
3cdb72851ff503222172437252ca3fe5a88f1787 | 552266d42422727ba61e79e7190432acce12ec6f | /Source/RPG/TestCustomData.h | 3ee61c5b6a336698b493866f0217d675c75e8ba3 | [
"MIT"
] | permissive | oxmoss/TutoRPGUE | 3fbb8c7be0da31597965fda49283a1432ab85317 | f19a279bc11052de85d388ebe53656ecd43a5027 | refs/heads/master | 2021-09-04T18:07:01.131326 | 2018-01-20T23:59:20 | 2018-01-20T23:59:20 | 118,125,404 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 486 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "Engine/DataTable.h"
#include "TestCustomData.generated.h"
USTRUCT(BlueprintType)
struct FTestCustomData : public FTableRowBase
{
GENERATED_USTRUCT_BODY()
public:
//FTestCustomData() :SomeNumber(0), SomeString("")... | [
"hassan.bellounis@gmail.com"
] | hassan.bellounis@gmail.com |
2791b6dce55855bfe63ec26ed7d3c79ef2595963 | 0d1645e912fc1477eef73245a75af85635a31bd8 | /sdk/js/include/nsIHttpChannelInternal.h | 880493c43e088f6bc5ec7363742e10e11877256c | [
"MIT"
] | permissive | qianxj/XExplorer | a2115106560f771bc3edc084b7e986332d0e41f4 | 00e326da03ffcaa21115a2345275452607c6bab5 | refs/heads/master | 2021-09-03T13:37:39.395524 | 2018-01-09T12:06:29 | 2018-01-09T12:06:29 | 114,638,878 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,562 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM d:/firefox-5.0.1/mozilla-release/netwerk/protocol/http/nsIHttpChannelInternal.idl
*/
#ifndef __gen_nsIHttpChannelInternal_h__
#define __gen_nsIHttpChannelInternal_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* For IDL files that don't want to in... | [
"qianxj15@sina.com"
] | qianxj15@sina.com |
037d12cfbb94106d2a789a1dabb710dcf4c9c9b6 | a5b114d8a2b3f2d5df766726da53951a310a30a4 | /Engine/Source/GameBase/src/HumanView.cpp | 12740264134124e3b12501aab6174f4cf1d75dd6 | [
"CC-BY-4.0"
] | permissive | AnkurSheel/RoutePlanner | 0275710e58651c201813fef69875f2fb4eb703b6 | a50b6ccb735db42ff4e5b2f4c87e710819c4564b | refs/heads/master | 2016-09-01T11:57:33.638061 | 2016-01-22T01:22:44 | 2016-01-22T01:22:44 | 49,979,565 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,975 | cpp | #include "stdafx.h"
#include "HumanView.h"
#include "GraphicsClass.hxx"
#include "BaseApp.hxx"
#include "BaseControl.hxx"
#include "MainWindow.hxx"
#include "Camera.hxx"
#include "ParamLoaders.hxx"
#include "Audio.hxx"
#include "SoundProcess.hxx"
#include "GameOptions.h"
#include "GameDirectories.h"
#include "ProcessMa... | [
"ankur.sheel@gmail.com"
] | ankur.sheel@gmail.com |
f5ea5f6b74753d20622e35197e047718b492a147 | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/xnnpack/src/test/multiply2.cc | 6f9cbe73eee458fd5f2c6fe0ceca775d229dfb5f | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 18,471 | cc | // Copyright 2022 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <algorithm>
#include <array>
#include <cstddef>
#include <cstdint>
#include <memory>
#include <vector>
#include <xnnpack.h>
#include <xnnpack/nod... | [
"jengelh@inai.de"
] | jengelh@inai.de |
9a24fd32ad42814707210ba66ea5281b049a0641 | a3fdc844b434e2f7546156d705aa9dd07dc14a41 | /C++ How to program/chapter 7/7.33(Maze_Traversal)/7.33(Maze_Traversal)/main.cpp | 8daf0a33e203a12925f203cc00b303ce41459f88 | [] | no_license | isabuhi/CPlusPlusForProgrammers | b04a6355758331c133fcd269de52849b9374f2fe | 6e3ccb0d41d620bef900d0396e09e60ffdee9781 | refs/heads/main | 2023-07-13T05:46:11.269210 | 2021-08-16T12:02:57 | 2021-08-16T12:02:57 | 363,443,627 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,459 | cpp | //
// main.cpp
// 7.33(Maze_Traversal)
//
// Created by Sabuhi Ibrahimov on 03.05.21.
//
#include <iostream>
#include <array>
#include <random>
#include <ctime>
using namespace std;
const size_t SIZE = 12;
bool mazeTraverse(array <array < char, SIZE>, SIZE> maze, int y, int x){
maze[y][x] = 'X';
f... | [
"60845648+isabuhi@users.noreply.github.com"
] | 60845648+isabuhi@users.noreply.github.com |
2f552ef845db797b2ef5597e627e94f1bbfac32d | d7ba25c15b630b44f2904638681fd750d6006533 | /caffe2/contrib/fbcollective/vendor/fbcollective/transport/tcp/address.cc | 3bb7999cd3ee5c4e1468f31c24e6fae823084815 | [
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | Mathpix/caffe2 | 6764bf51fdc1cfae37224329f50ff8aa6c3b246f | 6687f8447545250cdeb63a4a9baaa6e25c32ad0d | refs/heads/master | 2020-05-25T01:18:43.687134 | 2017-03-14T00:25:40 | 2017-03-14T00:31:43 | 84,896,813 | 1 | 0 | null | 2017-03-14T02:34:03 | 2017-03-14T02:34:03 | null | UTF-8 | C++ | false | false | 1,881 | cc | #include "fbcollective/transport/tcp/address.h"
#include <arpa/inet.h>
#include <string.h>
#include "fbcollective/common/logging.h"
namespace fbcollective {
namespace transport {
namespace tcp {
Address::Address(const struct sockaddr_storage& ss) {
ss_ = ss;
}
Address::Address(const struct sockaddr* addr, size_t... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
5052093777b15e9a49b8c561fc7a740888130a20 | ecd688f3d95e48ec541840dc16e5d93b5d6c86eb | /stim.cpp | 9e1241f58d07171bf0693715368b06716d830602 | [] | no_license | John790118/carbon_john | e8ddbda9e03655cb9e51509bac797535aaceec47 | a319b1de691031e0551d3cfcab547e5cf2651ef3 | refs/heads/main | 2023-08-25T16:34:29.654174 | 2021-10-25T03:18:58 | 2021-10-25T03:18:58 | 418,308,923 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,913 | cpp |
#include <stdlib.h>
#include <time.h>
#include "stim.h"
#include "comm_def.h"
void port_fifo::pkt_in(const s_pkt_desc& data_pkt)
{
regs[pntr++] = data_pkt;
empty = false;
if (pntr == FLOW_RULE_TAB_SIZE)
full = true;
}
s_pkt_desc port_fifo::pkt_out()
{
s_pkt_desc temp;
temp = regs[0... | [
"goodcross@outlook.com"
] | goodcross@outlook.com |
28d471b6f81e8c635f40558c12d83c9e56400a3a | b5bc4a02a7985f80b3e6582caceba3da7bdff39a | /Detectie/ACPI/ImageViewer.cpp | 2a90f1f4d7cb2e9c234feea744de7f16d8598f6f | [] | no_license | maximclaudiu/Proiect_PI | 46314145c857873595453ba77fdda43b4051ddaf | fdc4332f31162c41f9ce1f8c424df5b312caebae | refs/heads/main | 2023-02-16T18:04:32.595045 | 2021-01-15T10:50:53 | 2021-01-15T10:50:53 | 308,378,616 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,651 | cpp | #include "ImageViewer.h"
#include <QApplication>
#include <QHBoxLayout>
#include "ImageGridCell.h"
#include <QPainter>
ImageViewer::ImageViewer(QWidget *parent)
: AbstractViewer(parent),
tx(0), ty(0),
imx(0), imy(0), imW(0), imH(0),
scrollBarThickness(4),
enableScrollBars(false)
{
}
void ImageViewer::setImage(QI... | [
"60611723+maximclaudiu@users.noreply.github.com"
] | 60611723+maximclaudiu@users.noreply.github.com |
6b142cfa05a2663be3635e94230207de74e5709b | c09d3bd1d0b391ea6122174a42fde62ffe71db03 | /host/mutated/client/memcache.hh | 3ba17545edcd0336b44c6901fe2d8c7867a75f3a | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | yuju-huang/OmniVisor | d9ecc43053a05047e3c1a82b7cf5782b9f61d67d | 0bed720cf34e65e355930775f543414ef302de9e | refs/heads/master | 2022-11-18T07:59:38.564159 | 2020-07-21T19:16:20 | 2020-07-21T19:16:20 | 262,161,076 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,635 | hh | #ifndef MUTATED_MEMCACHE_HH
#define MUTATED_MEMCACHE_HH
/**
* memcache.hh - representation of the memcache binary protocol.
*/
#include <cstdint>
#include <iostream>
#include <string>
#include "endian.hh"
// Memcache type of packet.
enum class MemcType : uint8_t {
Request = 0x80,
Response = 0x81,
};
// M... | [
"yjhuang@cs.cornell.edu"
] | yjhuang@cs.cornell.edu |
32b6992b15ebfa834e8a4715d85bde1ee62f18b6 | 11dcefc3768cc67f6563f7e0e4713bae740cad63 | /soohchoi/week4/bj09012.cpp | 8ceb89c53fd3cc70c88db529ae1bd9ee51121dbf | [] | no_license | 42somoim/42somoim1 | dac54edee33aadf1a17f60768446e5faf07ed952 | 039e00085290d048a7345bcec7db797e4c7330d2 | refs/heads/master | 2023-05-06T13:07:01.242428 | 2021-05-28T12:07:45 | 2021-05-28T12:07:45 | 280,406,020 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 657 | cpp | #include <iostream>
#include <vector>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int T;
string str;
vector <string> v;
int count;
cin >> T;
for (int i = 0; i < T; i++)
{
cin >> str;
v.push_back(str);
}
for (int i = 0; i < T; i++)
... | [
"soohyun@DESKTOP-4CCVSSD.localdomain"
] | soohyun@DESKTOP-4CCVSSD.localdomain |
b118d1159b3a77e034050ce39b7015f0b0293d85 | 9d33c0dea161a74204bc11b13dbc8928c24cdbd0 | /B2CServiceEx/B2CServiceEx.cpp | 76d8d1a5a95fa84d2e789c960edca97505775e37 | [] | no_license | leoleegz/Examples | 09d857009b50313352816af6775fe685ba75c5d7 | ff17ac667b7e36b8cc292ff4bf12a07e55ab1fb3 | refs/heads/master | 2020-06-05T00:49:04.873717 | 2014-08-28T09:34:13 | 2014-08-28T09:34:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,146 | cpp | /////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2005 <company name>
//
// Module Name:
// B2CServiceEx.cpp
//
// Abstract:
// Implementation of the CB2CServiceApp class and DLL initialization
// routines.
//
// Author:
// <name> (<e-mail name>) Mmmm DD, 2005
//
// R... | [
"pihyli@gmail.com"
] | pihyli@gmail.com |
1a694c7deee84fd7124972d650c05e4d065057b9 | 7f4136afb76717cb2987900fab978102df958ec8 | /Checkers/Checkers/main.cpp | 305f3876f4b8987246982ac68db4887b700c8f4d | [] | no_license | TenorioDan/sdl_opengl | 30b91e5a52565569400d5bc9024226b8b0664fa7 | 384b866905838454b0185f01bb60ff9afece0607 | refs/heads/master | 2021-06-19T08:36:50.600408 | 2017-07-08T07:15:34 | 2017-07-08T07:15:34 | 84,905,260 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 564 | cpp | #include "Texture.h"
#include "Game.h"
int main(int argc, char* args[])
{
Game game;
// Start up SDL and create window
if (!game.init())
{
printf("Failed to initialize!\n");
}
else
{
//Load media
if (!game.loadMedia())
{
printf("Failed to load media!\n");
}
else
{
//Main loop flag
bool qu... | [
"tnr.daniel@gmail.com"
] | tnr.daniel@gmail.com |
7d2fbb274cba66e42e17802a0c3d5a2c7ede601e | fb7a5c68bb6338f97bb2bdbd82a1e34a38f1033f | /5/4/main.cpp | ba4e8f317f6899bf257fa359d08959e4e353f520 | [] | no_license | Vliseev/made_algo2 | 8cf9c6bf9903c22e4a2b9d218f2b11beb70be810 | 2f26bc46e5ddc492b098aafb44bde64617f55de2 | refs/heads/master | 2022-11-17T04:18:27.776549 | 2020-06-24T13:40:57 | 2020-06-25T14:16:05 | 245,667,479 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,839 | cpp | #include <cmath>
#include <iostream>
#include <sstream>
#include <vector>
#define DEBUG 0
#define RELEASE 1
#define MODE RELEASE
#if MODE == DEBUG
template <typename T>
struct Matrix {
Matrix() = default;
Matrix(size_t n, size_t m, T val)
: n(n), m(m), m_data(n, std::vector<T>(m, val)) {}
T& oper... | [
"Vliseev.92@mail.ru"
] | Vliseev.92@mail.ru |
3239f28f866365955bdbe899db9aa28b3aad4fd8 | 88afceb4913d37d9ad3d7919288bf030f18e9b79 | /OldProject/MindRead2019/MindRead2019.cpp | 9682950585fc24801735a294bdab385082ad2708 | [] | no_license | XichL/ReadMind_2019 | c1d1debf1f07a9fc88696cdf682cd65a8a62d6da | f42aae01efffefd570a3619846bd2eb92f5cb0d9 | refs/heads/master | 2020-09-13T02:07:57.808804 | 2020-02-07T12:30:28 | 2020-02-07T12:30:28 | 222,628,325 | 0 | 0 | null | 2020-02-04T11:43:42 | 2019-11-19T06:49:52 | C++ | BIG5 | C++ | false | false | 10,149 | cpp | #pragma once
#include "stdafx.h"
#include "MindRead2019.h"
using namespace MindRead_FunctionSet;
using namespace MindRead2019Test;
using namespace System;
[STAThreadAttribute]
int main(array<System::String ^> ^args)
{
//System::Configuration::ConfigurationManager::AppSettings["app"];
//Windows::Forms::Application:... | [
"may319620@gmail.com"
] | may319620@gmail.com |
78984bbf4f5faede91cc35fe3897a72c7f65701b | 0bcf6cf143f30781288d67d23ef3fa5efdf10b94 | /cs16/lab04/utilityTest.cpp | e34f5e08c84e56f4710adf55d98f21ae00b50e1a | [] | no_license | Gopu2001/ucsb_ccs_labs | e787f2f2a330a512563cd9d1f03b09693c045278 | c02ae4c698bd8e9e1662c8ad09c3ce4a504180d5 | refs/heads/master | 2023-01-29T18:43:20.583703 | 2020-12-14T21:40:22 | 2020-12-14T21:40:22 | 301,958,082 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,666 | cpp | #include "utility.h"
#include "tddFuncs.h"
int main() {
/*
assertEquals(true,isEven(2),"isEven(2)");
assertEquals(false,isEven(3),"isEven(3)");
assertEquals(true,isEven(4),"isEven(4)");
assertEquals(false,isEven(55),"isEven(55)");
assertEquals(false,isEven(-55),"isEven(-55)");
assertEquals(true... | [
"41317321+Gopu2001@users.noreply.github.com"
] | 41317321+Gopu2001@users.noreply.github.com |
f16dabbc8015672736c1981bdb56017b1308103e | a97b9ad50e283b4e930ab59547806eb303b52c6f | /class/4nov_plate_kwSST/65/nut | edd341b9b0b2acfb390c4965036a9c0808cc4c0c | [] | no_license | harrisbk/OpenFOAM_run | fdcd4f81bd3205764988ea95c25fd2a5c130841b | 9591c98336561bcfb3b7259617b5363aacf48067 | refs/heads/master | 2016-09-05T08:45:27.965608 | 2015-11-16T19:08:34 | 2015-11-16T19:08:34 | 42,883,543 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 114,198 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
... | [
"brennankharris@gmail.com"
] | brennankharris@gmail.com | |
d2d4e5fb457e7a0e1d6b8a868fbf6567848acc74 | 053c59bffec873e49cc100574a6cfb1a796ee100 | /concurrent/main.cpp | 99af40d81d93ea5aff7a8669e9f4f40dce3a4f80 | [
"Zlib"
] | permissive | mickelfeng/qt-threads | 603467e08d6a4baa0e9388db6b6828f12f1f16b7 | 8f9ce5b34276a9b522118d87ca7f2a1d380f22cc | refs/heads/master | 2020-12-11T08:01:33.981841 | 2012-08-03T17:12:39 | 2012-08-03T17:12:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 369 | cpp | #include <stdexcept>
#include <iostream>
#include "Application.h"
int main(int argc, char** argv)
{
try
{
Application app(argc, argv);
return app.exec();
}
catch (std::exception& e)
{
std::cerr << "Exception: " << e.what() << std::endl;
}
catch (...)
{
std::cerr << "Encountered unrecogn... | [
"joshua.downer@gmail.com"
] | joshua.downer@gmail.com |
f93086da676b2ca35921fed67102d68db3d7b2a7 | cb0182498b467dafd20f4fc294210ea3c083e3cb | /Earlybird/Classes/WelcomeLayer.h | 8bab5d9a4bbed40825f8557450d3cbddb852b63e | [
"MIT"
] | permissive | quickghijack/EarlyBird | 1c4f67701111b86894a269cb141a2dfb517e8822 | 2e9779ccde0296b0ac1c06c94a1fa190864e51bb | refs/heads/master | 2021-01-21T13:29:34.099468 | 2016-05-01T14:36:04 | 2016-05-01T14:36:04 | 55,908,614 | 0 | 0 | null | 2016-04-14T10:54:05 | 2016-04-10T16:01:28 | C++ | UTF-8 | C++ | false | false | 679 | h | //
// WelcomeLayer.hpp
// Earlybird
//
// Created by zhe on 16/4/14.
//
//
#pragma once
#ifndef WelcomeLayer_hpp
#define WelcomeLayer_hpp
#include "cocos2d.h"
#include "AtlasLoader.h"
#include "GameScene.h"
#include "time.h"
#include "SimpleAudioEngine.h"
#include "BirdSprite.h"
using namespace CocosDenshion;
usin... | [
"xiecong@xiecongdeMacBook-Pro.local"
] | xiecong@xiecongdeMacBook-Pro.local |
7404ad0d3ef914bf156b7bfd85850ae7972c86a1 | f1ee65fbe1ffc43c2aac45e41515f1987eb534a4 | /src/base/android/build_info_stub.cc | 9854f43e2816f66045eff7c1f2dc13bd7b8fe886 | [
"BSD-3-Clause"
] | permissive | klzgrad/naiveproxy | 6e0d206b6f065b9311d1e12b363109f2d35cc058 | 8ef1cecadfd4e2b5d57e7ea2fa42d05717e51c2e | refs/heads/master | 2023-08-20T22:42:12.511091 | 2023-06-04T03:54:34 | 2023-08-16T23:30:19 | 119,178,893 | 5,710 | 976 | BSD-3-Clause | 2023-08-05T10:59:59 | 2018-01-27T16:02:33 | C++ | UTF-8 | C++ | false | false | 1,904 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <cstdlib>
#include "base/android/build_info.h"
#include "base/notreached.h"
int __system_property_get(const char* name, char* value);
name... | [
"kizdiv@gmail.com"
] | kizdiv@gmail.com |
039afac28c5a5c44c03172b95aed3522dd124a05 | bf6a285395b58ffcfbb8f00bd4c341cf53e1634c | /CS135/Week_8/Clean_DA_files/shapes_3_DA_s5.cpp | 0de11548fb4ff1fb4b1d73acb3d47fa53bf24099 | [
"MIT"
] | permissive | T-R0D/Past-Courses | 650f5592d95afc06bf51b5cb79503a95f813c409 | 0edc83a7bf09515f0d01d23a26df2ff90c0f458a | refs/heads/master | 2021-01-10T15:05:22.976197 | 2016-07-17T02:05:42 | 2016-07-17T02:23:03 | 63,510,841 | 7 | 27 | null | null | null | null | UTF-8 | C++ | false | false | 21,279 | cpp | // Header Files/////////////////////////////////////////////////////////////////
#include "formatted_cmdline_io_v08.h"
#include <cmath>
using namespace std ;
// Global Constant Definitions//////////////////////////////////////////////////
// character constants
const char PIPE = '|' ;
cons... | [
"thenriod@gmail.com"
] | thenriod@gmail.com |
a4bde9fa671e925a796844c2ca10ed1cfc04e196 | e3015fc336c145c6bff59656af5c67901b14f273 | /rectangle.h | 79525663ff1eae2495cd58e373639e43dfa2c50d | [] | no_license | musahibrahimali/nhana | 8cbb878f09d905312557f6fb297fb56335c4bbc3 | 770bc2e86ae1171ac91e697bc34282aa0cbdc7d6 | refs/heads/master | 2023-08-06T06:44:42.021802 | 2021-09-30T06:23:07 | 2021-09-30T06:23:07 | 411,943,217 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,020 | h | #pragma once
//
// Created by Nhana on 9/28/2021.
// for the dynamic nature i suggest using pointer for the variables
// using generic data types may take away the ability to asign data dynamically
//
#include <iostream>
#ifndef COMPLETE_PLUS_RECTANGLE_H
#define COMPLETE_PLUS_RECTANGLE_H
class Rectangle {
/*
... | [
"musahibrahimali@gmail.com"
] | musahibrahimali@gmail.com |
d2b3f3b8b4844130920df3bec5f8c3c118683bc8 | c062fdf0d261b2a1ed56c0e3dbe356a70ce106f6 | /Prj_Android/app/src/main/jni/shared/draw/bezier/adjust/AdjustablePoint.hpp | 200fc8f248b23e86aa4d12f86ac9bb9c7cdd78d6 | [] | no_license | hakumai-iida/BezierSample | 8d8c6fd9c99559cbef0bf3460568aad71b0be7aa | 84784f8c2118442b93dbd4d384e3f5b50efc9970 | refs/heads/master | 2023-01-09T20:17:49.495715 | 2020-11-15T08:00:53 | 2020-11-15T08:00:53 | 282,562,230 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,342 | hpp | /*+----------------------------------------------------------------+
| Title: AdjustablePoint.hpp [共通環境]
| Comment: 調整可能ポイント(※外部指定のデータにより調整可能な座標)
| Author: K.Takayanagi
+----------------------------------------------------------------+*/
/*+----------------------------------------------------------------+
|... | [
"hakumai.iida@gmail.com"
] | hakumai.iida@gmail.com |
5c7d0cda2a14a95723dba038301060a3927057b7 | 19d71dcbb85aff2f5de031f65fd0dd412d5fe06e | /include/AST/general/program.h | 10354b2144a20345fcf3b5e91378376f5c75430b | [
"MIT"
] | permissive | przestaw/vecc_SimpleLanguage | 1daefb546199615e8e521fdc8ab5613be9d209fc | a48bb8c0e53cc5f256c926cdb28cf39b107d66ee | refs/heads/master | 2022-10-04T02:21:53.870701 | 2020-06-04T09:28:52 | 2020-06-04T09:28:52 | 246,838,921 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,173 | h | //
// Created by przemek on 19.03.2020.
//
#ifndef VECC_LANG_PROGRAM_H
#define VECC_LANG_PROGRAM_H
#include <AST/general/function.h>
#include <error/exeception.h>
#include <memory>
#include <string>
#include <unordered_map>
namespace vecc::ast {
/**
* Class describing Program in form of AST
*/
class Progra... | [
"przemek.stawczyk@gmail.com"
] | przemek.stawczyk@gmail.com |
f0716d1dc733381a02808e83128af3f692b6357e | 9b4e0a5a649d2482a5e266d9fc2ef01f17bda671 | /src/Eigen.d/Dsolvers.h | 166e524543de74edbe2f9b69718d215510ed8e79 | [
"MIT"
] | permissive | naruto2/CodeFEM | 7209d241c150003e3369fa47e09b05937b6bc2a5 | eb689aa7573d4ac9fc83d057f99c79a5d8f3bd90 | refs/heads/master | 2020-12-12T03:17:42.445395 | 2018-06-20T16:31:42 | 2018-06-20T16:31:42 | 48,607,270 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,632 | h | //*****************************************************************
// Iterative template routine -- BiCG
//
// BiCG solves the unsymmetric linear system Ax = b
// using the Preconditioned BiConjugate Gradient method
//
// BiCG follows the algorithm described on p. 22 of the
// SIAM Templates book.
//
// The return v... | [
"tsukuda.yoshio@gmail.com"
] | tsukuda.yoshio@gmail.com |
3b766f7deb97e4d5ba33c632c03ac3dd77449da2 | e64093f71620b094a70c6638a8af2ca0125cda16 | /CS-302/Homework 6/RedBlackBasic.h | b92e82b5085f51d332c29e925b00f8b0717ced83 | [] | no_license | curtischung/UNR-CS | af11529c55a6ff7a252318c630cdfc07622ac101 | acbfd823b2ee21d3e7c9e76ce55474e149be6209 | refs/heads/master | 2021-01-03T18:03:39.597064 | 2020-09-28T19:08:02 | 2020-09-28T19:08:02 | 204,561,183 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,214 | h | /////////////////////////////////////////////////////////////////////////////
//
// File: RedBlackBasic.h
//
// $Header: $
//
//
// This implementation is based on Julienne Walker's version of red-black
// trees:
//
// http://www.eternallyconfuzzled.com/tuts/datastructures/jsw_tut_rbtree.aspx
//
// A red-black tree con... | [
"AgentTripleCCC@Gmail.com"
] | AgentTripleCCC@Gmail.com |
8ac8509e75410d205409f43725053da78fe744bf | 31ac07ecd9225639bee0d08d00f037bd511e9552 | /externals/OCCTLib/inc/Extrema_GenLocateExtCS.hxx | 1861aa6e4f452c370b24a276b53a558c01915569 | [] | no_license | litao1009/SimpleRoom | 4520e0034e4f90b81b922657b27f201842e68e8e | 287de738c10b86ff8f61b15e3b8afdfedbcb2211 | refs/heads/master | 2021-01-20T19:56:39.507899 | 2016-07-29T08:01:57 | 2016-07-29T08:01:57 | 64,462,604 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,778 | hxx | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _Extrema_GenLocateExtCS_HeaderFile
#define ... | [
"litao1009@gmail.com"
] | litao1009@gmail.com |
581f93e62d5be2d239b2905671b889f584164602 | 66cf9467f51942f98e140ff1e0ab551dfceb7864 | /Network/Packets/Server/Map/S_at.h | 7b6dea695a85848ead6c4753901a1c450b9963c9 | [] | no_license | Ayugra/Ayugra-Game-Server | f8d6fc7e1c8575b5ba9c05509f67889ab4823bca | 4f7add5bb5838453e8b169d22d52b31c5c1ed53f | refs/heads/master | 2022-12-26T17:39:47.682974 | 2020-10-12T09:30:31 | 2020-10-12T09:30:31 | 299,335,305 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 632 | h | #pragma once
#include "Network/Packets/BaseServerPacket.h"
class S_at : public BaseServerPacket
{
public:
S_at(int characterId, int mapId, int posX, int posY, int direction, int unk1, int musicId, int unk2, int unk3)
: BaseServerPacket("at")
{
packet += " " + std::to_string(characterId);
packet += " " + std::... | [
"apourtartt@gmail.com"
] | apourtartt@gmail.com |
889e393ad9d05b1897314e8f08f74a295d4e84b8 | af72c230553b154394c739c1acc0253349b253f9 | /CPP_CW/src/Player.h | 0e330eaedc0633ca1fc7d643d833baf37467c1e4 | [] | no_license | AndrewZV/CPP-WorkExamples | 75015a9932f7b0ecab701a299f10aee2476b828f | e584d339d64b924b345b069157a5c0ac44f133fd | refs/heads/master | 2020-06-22T23:06:33.997459 | 2019-07-23T13:33:05 | 2019-07-23T13:33:05 | 198,425,361 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 246 | h | #pragma once
#include "CollidableObject.h"
class Player :
public CollidableObject
{
public:
Player(BaseEngine* pEngine);
~Player();
void Draw();
void DoUpdate(int iCurrentTime);
void MouseDown(int iButton, int iX, int iY);
};
| [
"andrew@andrewzv.com"
] | andrew@andrewzv.com |
55971648afde7d902aa57bfd3bb63416f21ed080 | 37be618d32f07d837000478fad6275d21c988f5c | /Include/ArggLib/ArggLib_Unit_Tests.hh | 61e193cca88964682257d30b61373849344cae69 | [] | no_license | arggscomputerecke/ArggLib | ce0adcfc036c0212ead9c51defc63abaf8f188c2 | a1a1fb6ceec9028a81b9c3a7887f985e800d22a2 | refs/heads/master | 2021-04-29T15:11:32.490462 | 2019-02-20T03:10:10 | 2019-02-20T03:10:10 | 121,791,230 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,047 | hh | #ifndef ArggLib_Unit_Tests_h__
#define ArggLib_Unit_Tests_h__
#include <functional>
#include <vector>
#include "ArggLib/PRECOMPILER_HELPER.hh"
#include "ArggLib/reverse.hh"
#include <iostream>
#include <sstream>
#include <chrono>
#define ARGGLIB__DEFINE_TEST(x) void x(); ArggLib::__add_to_tests<> __MAKE_UNIQUE_... | [
"arggscomputerecke@gmail.com"
] | arggscomputerecke@gmail.com |
94120c527f3d0a51132807d085f0756d5a43b59e | 497c5bc5df53028a9cbb38522350aac3b581f8c3 | /message/generation/swift-mt-generation/repository/SR2018/parsers/SwiftMtParser_MT942Listener.cpp | 8e8d20332e7cbd0a076424c6d1e15ab1860cc883 | [
"MIT"
] | permissive | Yanick-Salzmann/message-converter-c | 188f6474160badecfd245a4fefa20a7c8ad9ca0c | 6dfdf56e12f19e0f0b63ee0354fda16968f36415 | refs/heads/master | 2020-06-25T11:54:12.874635 | 2019-08-19T19:32:41 | 2019-08-19T19:32:41 | 199,298,618 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 446 | cpp |
#include "repository/ISwiftMtParser.h"
#include "SwiftMtMessage.pb.h"
#include <vector>
#include <string>
#include "BaseErrorListener.h"
#include "SwiftMtParser_MT942Lexer.h"
// Generated from C:/programming/message-converter-c/message/generation/swift-mt-generation/repository/SR2018/grammars/SwiftMtParser_MT942.g4 ... | [
"yanick.salzmann@gmail.com"
] | yanick.salzmann@gmail.com |
a6322d3431a1b21edd2fd69d0b968c25ec893c1f | 8c82f303ec7f26ff886ac26fc173750cfaf6074d | /core3d/CShaderManager.h | 54e4770b5a06f1c2a6e79a949f772adbc699898d | [] | no_license | ruoxianSun/nestpp | c21a2ddee25ed60de6b3df2b671692bf949f91a3 | 5de0d1ff9e1df76e97c2db4a8370dfaf9c47f0e0 | refs/heads/master | 2022-11-27T11:47:01.822275 | 2020-07-22T02:55:49 | 2020-07-22T02:55:49 | 268,223,684 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 700 | h | #ifndef CSHADERMANAGER_H
#define CSHADERMANAGER_H
#include <QObject>
#include <QString>
#include <QMap>
#include "Shader.h"
class CShaderManager : public QObject
{
Q_OBJECT
public:
static CShaderManager* Instance();
~CShaderManager();
Shader::Ptr getShader(const QString&name);
static ... | [
"pengfei.sun@3d-x.com"
] | pengfei.sun@3d-x.com |
7346d3148bf000ef66ed5cd75f6607a52811a374 | b2285b3d500c47993434d11adfcc8354142b2566 | /persistentStorage.cpp | 20a0d36b8e7917e7e48b838bed7e0e608f32eab8 | [] | no_license | stars-night-tai/sc.sk.github.Project | b51fb098aa1ef6e33a2b90d7f9c306def854e5a4 | 5209c37909f2f0e8fd65ca47bd1f11f71b8cb3b2 | refs/heads/master | 2023-05-10T08:23:19.887753 | 2021-06-18T08:46:51 | 2021-06-18T08:46:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 47,164 | cpp | #include <stdint.h>
#include "utils.h"
#include "SPIFBlockDevice.h"
#include "SpiFlash25.h"
#define SIZE_DEVICEID 32
#define SIZE_HOTPRICE 4
#define SIZE_COLDPRICE 4
#define SIZE_ICEPRICE 4
#define SIZE_FILTERWATERMAX 4
#define SIZE_FILTERWATERCUR 4
#define SIZE_FILTERPRODDATE 12
#define SIZE_FILTERBACKRIN... | [
"litai199661@163.com"
] | litai199661@163.com |
f59e2a505734fba0dab471ca0cdce1f578ad158d | 032be8dab1f1e59d80877259a0f676f7395a39a3 | /Week3/3Sum-Closet/chenxian.cpp | 25efee7f556be58dbc07b7a2e510f429d09aa82d | [] | no_license | highya/ztb-leetcode | d8630fedf5ef008586ba45020e6194c88d3b87d3 | 55774f4f5289250aab3203049ed88d849236a8b5 | refs/heads/master | 2020-04-23T13:53:31.784799 | 2015-05-20T13:26:57 | 2015-05-20T13:26:57 | 28,797,152 | 6 | 4 | null | 2015-04-09T08:25:29 | 2015-01-05T04:19:30 | C++ | UTF-8 | C++ | false | false | 887 | cpp | class Solution {
public:
int threeSumClosest(vector<int> &num, int target) {
//先排序
sort(num.begin(),num.end());
int n=num.size();
int dis=10000;
int res=0;
int j,k;
//遍历最小的那个数,另两个XXX
for(int i=0;i<n-2;i++){
j=i+1;
k=n-1... | [
"178676873@qq.com"
] | 178676873@qq.com |
17c92419d8dc4f7253db83fe7cb39d71fe22c43c | 2613b589d9fca6af07bd3d2675a906f052627fa0 | /BufferParser/ARGB1555BufParser.cpp | 4c4933b18b5e66d4477ccdb83634d01bcc528cdc | [] | no_license | yin8086/GameImageConverter | 8e6edb3f7aa21ac10be644ce7f9eeb5ed5d10688 | 7d98ac6a9a7b9a3b9ced12796b257bfab07088fd | refs/heads/master | 2021-01-23T13:18:39.413498 | 2014-05-28T03:35:12 | 2014-05-28T03:35:12 | 10,581,284 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,119 | cpp | #include <QtCore>
#include <QString>
#include "BaseDef.h"
#include "ARGB1555BufParser.h"
QString ARGB1555BufParser::parse(const uint8_t *pSrc, uint8_t *pDst, int width, int height) {
for(int i = 0, j = 0; i < (width * height) << 1; i += 2, j += 4) {
uint16_t tmpData=*(uint16_t *)(pSrc + i);
pDst[j... | [
"yin8086@gmail.com"
] | yin8086@gmail.com |
39c063f137da044c7ebb0fb6d6a1b6f6ed1f6ffa | 7ab3757bde602ebe0b2f9e49d7e1d5f672ee150a | /easyeditor/source/edit/op/ZoomViewOP.cpp | 48b28291b32229d659aa0bd5b97460e6015f9eaf | [
"MIT"
] | permissive | brucelevis/easyeditor | 310dc05084b06de48067acd7ef5d6882fd5b7bba | d0bb660a491c7d990b0dae5b6fa4188d793444d9 | refs/heads/master | 2021-01-16T18:36:37.012604 | 2016-08-11T11:25:20 | 2016-08-11T11:25:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,490 | cpp | #include "ZoomViewOP.h"
#include "ZoomViewState.h"
#include "PanViewState.h"
#include "Camera.h"
#include "CameraMgr.h"
#include "EditPanelImpl.h"
#include "SettingData.h"
#include "Config.h"
#include "panel_msg.h"
namespace ee
{
ZoomViewOP::ZoomViewOP(wxWindow* wnd, EditPanelImpl* stage,
bool mouse_move_foc... | [
"zhuguang@ejoy.com"
] | zhuguang@ejoy.com |
729a3b1de21d33dff31248014a002662cd4e273b | 5456502f97627278cbd6e16d002d50f1de3da7bb | /chromecast/public/video_plane.h | 811d06bcc04486c0ba8eb25b19196a019a8552ff | [
"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 | 1,072 | h | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROMECAST_PUBLIC_VIDEO_PLANE_H_
#define CHROMECAST_PUBLIC_VIDEO_PLANE_H_
namespace chromecast {
struct RectF;
struct Size;
namespace... | [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
9f3e87f13e2d8f9f080187bf23c907448daf5c62 | 3c976110948109eb67463bee4481bde810625002 | /samples/first/first.cpp | 0f23f298ee2d13d71fe70cd53993b1292ff282cd | [] | no_license | lanphon/quickthread | 2fecfa7fdefb5ab9a1eb3e5c83564befe4a431d5 | 6398054b638bfdf75cefff47fe8ce3172f6044d6 | refs/heads/master | 2023-07-05T08:01:17.621455 | 2021-08-21T13:19:26 | 2021-08-21T13:19:26 | 398,563,020 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,586 | cpp | #include "qt.h"
#include <cstdint>
#include <iostream>
#include<cassert>
#include <cstring>
inline
void*
/**
* @brief round up the stack size to satisfy the alignment requirement
*
* @param sp teh original stack pointer
* @param alignment the alignment requirement, must be power of 2
* @param stack_size the stack... | [
"xinzhao@X220.Manjaro"
] | xinzhao@X220.Manjaro |
eb2a1b4dad47e43f2a1ffdf64d82cceb0c646ba3 | 89dedd7f3c7acc81d12e2bcb2e716f9af9e5fa04 | /chrome/utility/media_galleries/picasa_album_table_reader_unittest.cc | 5941a2bdc211cd446c06a0183062b2bb9e618f99 | [
"BSD-3-Clause"
] | permissive | bino7/chromium | 8d26f84a1b6e38a73d1b97fea6057c634eff68cb | 4666a6bb6fdcb1114afecf77bdaa239d9787b752 | refs/heads/master | 2022-12-22T14:31:53.913081 | 2016-09-06T10:05:11 | 2016-09-06T10:05:11 | 67,410,510 | 1 | 3 | BSD-3-Clause | 2022-12-17T03:08:52 | 2016-09-05T10:11:59 | null | UTF-8 | C++ | false | false | 2,652 | cc | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/utility/media_galleries/picasa_album_table_reader.h"
#include <stdint.h>
#include <utility>
#include "base/files/scoped_temp_dir.h"
#i... | [
"bino.zh@gmail.com"
] | bino.zh@gmail.com |
fa268108bda1274d0e9ce4bc39897c6de63ce7b4 | 9a66d8339de7cf8debcd79b2d6bc4b669245087e | /黄子兰/第一次作业/2-27.cpp | d0c476c392c5e1b9024a1ae18862558629d2e796 | [] | no_license | jinrongsyb17/homework-space | 391183e268f1a09e586a18e4cbe2735b59173074 | f0c8fe0c17c6fb08c55d967899d9b26a1782b0e3 | refs/heads/master | 2020-03-28T14:40:12.876141 | 2019-01-02T04:57:27 | 2019-01-02T04:57:27 | 148,510,153 | 9 | 18 | null | 2018-09-18T11:05:38 | 2018-09-12T16:33:38 | C++ | UTF-8 | C++ | false | false | 397 | cpp | #include<iostream>
using namespace std;
int main(){
int n;
cout<<"How many scores did you get in the exam?(0~100): ";
cin>>n;
cout<<"Your level is : ";
if(n>=90&n<=100)
cout<<"Excellent"<<endl;
else if(n>=80&n<90)
cout<<"Great"<<endl;
else if(n>=60&n<80)
cout<<"Good"<<endl;
else if(n>=0&n<60)
cout<<"Bad"<<e... | [
"35986375+FrancisLau098@users.noreply.github.com"
] | 35986375+FrancisLau098@users.noreply.github.com |
488c0c28661902969cd3f5e9261a857cd93b079a | 1b89b3d9d49fa64ecf98424d76194460563beda4 | /Software/Data Structure/Craftsman Information Processing/ConsoleApplication5/ConsoleApplication5/problem7.cpp | f394471596c2d2fb2ed0212e9b44ce2d047e19db | [
"MIT"
] | permissive | ntcho/Sunrin2018 | fec6ad7b3646037dae495525a36e34f61da1fdcc | 12cea55bbfec10896e390ba5af3f0ec8b2fdf1ed | refs/heads/master | 2021-09-22T00:59:23.759000 | 2018-09-04T06:13:47 | 2018-09-04T06:13:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 360 | cpp | #include<stdio.h>
void main() {
int TN = 0;
for (int N = 4; N <= 500; N++) {
int SUM = 0;
int K = (int)(N / 2);
for (int J = 1; J <= K; J++) {
int R = N % J;
if (R == 0) {
SUM = SUM + J;
}
else {
continue;
}
}
if (N == SUM) {
printf("%d\n", N);
TN = TN + 1;
}
else {
... | [
"dev.bedrock@gmail.com"
] | dev.bedrock@gmail.com |
a7736ed111fdb11f45d044db151b1ac5f9ea21fd | 5f975169aeb67c7cd0a08683e6b9eee253f84183 | /algorithms/hard/0065. Valid Number.h | c02ee41993138d6bb9362b9f8cebcb8ed6d640de | [
"MIT"
] | permissive | MultivacX/leetcode2020 | 6b743ffb0d731eea436d203ccb221be14f2346d3 | 83bfd675052de169ae9612d88378a704c80a50f1 | refs/heads/master | 2023-03-17T23:19:45.996836 | 2023-03-16T07:54:45 | 2023-03-16T07:54:45 | 231,091,990 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,140 | h | // 65. Valid Number
// Runtime: 0 ms, faster than 100.00% of C++ online submissions for Valid Number.
// Memory Usage: 6.1 MB, less than 100.00% of C++ online submissions for Valid Number.
// Time Complexity: O(N).
// Space Complexity: O(1).
class Solution {
public:
bool isNumber(string s) {
const int N ... | [
"MultivacX@2020.china"
] | MultivacX@2020.china |
99fe5ca3a3b385cec2a35e2544db8991df66ac14 | 3ee16384af1af94600d2930be40b37e4bad51789 | /pixgen/LArG4/PhysicsList.cxx | 1faa8b981d2f0b0bd7f743d67b405ae4c1309245 | [] | no_license | hcsullivan12/pixgen | 91fae1ec24fe826e86c34120b8fa6871ca434417 | 0143a4a61d6c4ece5b521b28d2ff1fb2125a952a | refs/heads/master | 2020-06-27T09:45:50.440715 | 2019-11-25T17:32:40 | 2019-11-25T17:32:40 | 199,916,528 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,850 | cxx | ////////////////////////////////////////////////////////////////////////
/// \file PhysicsList.h
/// \brief Create the physics lists to be used by Geant4.
///
/// \author seligman@nevis.columbia.edu
////////////////////////////////////////////////////////////////////////
//
// Don't be too confused by the names. Phy... | [
"hunter.sullivan@mavs.uta.edu"
] | hunter.sullivan@mavs.uta.edu |
d97b2e225b5d8e90a35b78973bccc4fe3eed6b67 | ffb6f053e7a2bfb70eff34690eb9117b9b8c8d56 | /examples/brender/brender.cpp | 2fcb605ae316c2c0259dfab7fb65040f5f495648 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | mariomgck/programacion-c | 1f242d52a9015b262757a5b12be1f8719e0f1608 | 0c26b3b516953fe4459bdd5c946617cf9e07ba0c | refs/heads/master | 2020-12-31T05:09:39.740575 | 2016-04-11T22:19:58 | 2016-04-11T22:19:58 | 56,011,645 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,146 | cpp | /*
*Copyright 2002
*Center for Biological and Computational Learning at MIT and MIT
*All rights reserved.
*Permission to copy this software, and its documentation only for internal
*research use in your organization is hereby granted, provided that this
*notice is retained thereon and on all copies. A patent prot... | [
"mariomgck@gmail.com"
] | mariomgck@gmail.com |
a523de3564bb42392aafea5084ad0820d4f5af5f | 8ec5482489a05f29172dae9b95b70b03d386af03 | /sources/3rd party/nvtt/nvmath/TriBox.cpp | 818ad881210a4af78039682a829527f8b7ccdfe0 | [] | no_license | abramcumner/xray_re-tools | ed4d364a3d3aeda31cfebeb5df03a3d724f1f531 | 2222ad023c0656cbbdbe7e93d59f7bed29387e5d | refs/heads/master | 2023-05-27T01:30:07.434712 | 2023-05-20T11:56:05 | 2023-05-20T11:57:23 | 65,939,733 | 31 | 17 | null | 2023-05-21T13:07:14 | 2016-08-17T20:30:04 | C++ | ISO-8859-1 | C++ | false | false | 7,451 | cpp | /********************************************************/
/* AABB-triangle overlap test code */
/* by Tomas Akenine-Möller */
/* Function: int triBoxOverlap(float boxcenter[3], */
/* float boxhalfsize[3],float triverts[3][3]); */
/* History: ... | [
"abramcumner@yandex.ru"
] | abramcumner@yandex.ru |
4b5648df7ddbfef36ed276672fce639826688836 | 6b40e9cba1dd06cd31a289adff90e9ea622387ac | /Develop/Server/GameServer/main/GTestSystem.cpp | f4fed995c2bef664d055adde2204e734a1a41ab9 | [] | no_license | AmesianX/SHZPublicDev | c70a84f9170438256bc9b2a4d397d22c9c0e1fb9 | 0f53e3b94a34cef1bc32a06c80730b0d8afaef7d | refs/heads/master | 2022-02-09T07:34:44.339038 | 2014-06-09T09:20:04 | 2014-06-09T09:20:04 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 27,886 | cpp | #include "stdafx.h"
#include "GTestSystem.h"
#include "GFieldInfo.h"
#include "GScriptManager.h"
#include "GGlobal.h"
#include "GFieldMgr.h"
#include "GConst.h"
#include "GEntityPlayer.h"
#include "GEntityNPC.h"
#include "GModuleAI.h"
#include "GPlayerObjectManager.h"
#include "GJobRunner.h"
#include "GBird... | [
"shzdev@8fd9ef21-cdc5-48af-8625-ea2f38c673c4"
] | shzdev@8fd9ef21-cdc5-48af-8625-ea2f38c673c4 |
289882cdbc019b30359cac6ee8e144fa16770860 | 361b64070ce04e1a548cb67a223f18b5d9c5fd9c | /src/main.cpp | 02ea553010451101e6cf67b1fd9d092ee78c0967 | [
"MIT"
] | permissive | VB6Hobbyst7/CAE | f689ad36e1567a9cd865443b6dbb3efa914c4159 | e50ff34a38a77b7a806981a51b1aaf1781cc7914 | refs/heads/master | 2022-08-01T11:17:38.599892 | 2020-05-15T17:25:28 | 2020-05-15T17:25:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,535 | cpp |
#include <modules/mesh_converter/MeshConverter.h>
#include <SimulationControl.h>
#include "main_window.h"
#include <QApplication>
#include <GL/glut.h>
#include <glwidget.h>
#include <iostream>
#include <fstream>
//#include <fmi/FmiImporter.h>
#include <atomic>
#include <thread>
#include <chrono>
#include <QDebug>... | [
"daniel.roth@mailbase.info"
] | daniel.roth@mailbase.info |
b7f4845b00d29c5cb251ecf007fca08ba8f57345 | 2a15722def201974110452467b4f093679ed8f34 | /kingdomOfMonkeys.cpp | 5e782d0a1ed6e68d3db7829e2d0e5b0630c6880b | [] | no_license | psdhanesh7/Competitive-Coding | 46eb525dc566e64e00b8daf20310f8625710bc68 | 26267ac0fc91decca3c2d6e9b8b0998f4970c5f4 | refs/heads/master | 2020-12-19T01:38:31.185834 | 2020-05-19T07:37:24 | 2020-05-19T07:37:24 | 235,579,890 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,823 | cpp | // Kingdom Of Monkeys
// This is the story in Zimbo, the kingdom officially made for monkeys. Our Code Monk visited Zimbo and declared open a challenge in the kingdom, thus spoke to all the monkeys :
// You all have to make teams and go on a hunt for Bananas. The team that returns with the highest number of Bananas w... | [
"psdhanesh2000@gmail.com"
] | psdhanesh2000@gmail.com |
055c2e913683403683d7deb3825efb6c21001f6a | 9063052d8e2c294efa3b501d42aef2ac59d84fa0 | /jiju_algo_practice/8/3.cpp | 17e7df76c862e84f3c739916ab884eacfda49e44 | [] | no_license | yes99/practice2020 | ffe5502d23038eabea834ebc2b18ff724f849c4a | 100ac281f4fe6d0f991213802fbd8524451f1ac2 | refs/heads/master | 2021-07-08T00:54:19.728874 | 2021-06-13T05:52:07 | 2021-06-13T05:52:07 | 245,789,109 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 464 | cpp | #include <iostream>
#include <fstream>
#include <string>
using namespace std;
//ii >>
//oo <<
int main()
{
int flee, day;
ifstream ii("input.txt");
//ifstream ii("D:\\input.txt");
ofstream oo("output.txt");
//ofstream oo("D:\\output.txt");
ii >> flee >> day;
int i;
int answer = 0;
f... | [
"yes950324@naver.com"
] | yes950324@naver.com |
8352d5598937ec1f3be83080e1b020da822b60db | 12d637401ccfd0241a574a2caaca14cc06943c68 | /ariaman.h | 47ea4e340b5a043ead569c7c7fb9d620575498ec | [] | no_license | stlcours/karia2 | 8eb42950814aa3ace28221b71e3ded951012d2dd | 0dcbda4c79cdb9203e95879bf78919b494e0f06c | refs/heads/master | 2021-05-27T03:16:02.888881 | 2014-03-08T23:27:16 | 2014-03-08T23:27:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,124 | h | // ariaman.h ---
//
// Author: liuguangzhao
// Copyright (C) 2007-2013 liuguangzhao@users.sf.net
// URL:
// Created: 2010-04-02 21:16:57 +0800
// Version: $Id: ariaman.h 198 2013-02-16 03:59:01Z drswinghead $
//
#ifndef _ARIAMAN_H_
#define _ARIAMAN_H_
#include <QtCore>
class MaiaXmlRpcClient;
class AriaMan : pu... | [
"liuguangzhao@users.sf.net"
] | liuguangzhao@users.sf.net |
2227e576c021d143dad7cc47fe44be33244c46ea | 85acbaa3ec0420f8456e9781eeb647f09ff5cd78 | /include/GameManager.h | 05adf7827efba6eda78aa678d9f92d7f07b49f66 | [] | no_license | Breikdans/Xman | 76bafe96773dd2f3a22d7eb41180640d4a1b76e9 | 8095db65bf27cef26cf685e2eec7cacbcb27bbb3 | refs/heads/alberto | 2016-09-01T05:01:13.914288 | 2016-02-18T20:41:52 | 2016-02-18T20:41:52 | 48,590,666 | 0 | 0 | null | 2015-12-25T21:20:40 | 2015-12-25T20:29:39 | C++ | UTF-8 | C++ | false | false | 1,685 | h | #ifndef GAMEMANAGER_H
#define GAMEMANAGER_H
#include <stack>
#include <Ogre.h>
#include <OgreOverlaySystem.h>
#include <OgreOverlayElement.h>
#include <OgreOverlayManager.h>
#include <OgreSingleton.h>
#include <OIS/OIS.h>
#include "InputManager.h"
class GameState;
class GameManager : public Ogre::FrameListener, pub... | [
"los.chichos.maiden@gmail.com"
] | los.chichos.maiden@gmail.com |
e1eb0e2ec47f59a7cefe5cf0969278f52b68ca47 | c2c9a5aa64e956a9ffe1ded6cf15d7661a2b3d83 | /Source/Battery/BatteryCharacter.h | 9300e14abe38614d0026bcc6224983b86f21a6d9 | [] | no_license | Lucas-Mondini/Battery | 66024e64bcfb2f1011d89a4745ff897a3275717a | 3c854df41c075eab27d1c9abf47ed5806c6c8423 | refs/heads/main | 2023-02-18T23:08:40.670378 | 2021-01-08T01:44:45 | 2021-01-08T01:44:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,537 | h | // Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Character.h"
#include "BatteryCharacter.generated.h"
UCLASS(config=Game)
class ABatteryCharacter : public ACharacter
{
GENERATED_BODY()
/** Camera boom positioning the camera behind the ch... | [
"lucasfepereira1@gmail.com"
] | lucasfepereira1@gmail.com |
5c9f1690c5faa347a914da53bf3f8fdd9982b382 | 4d0300263d28fb461f285cc2c3dfd7c51621cb4d | /platform/windows/Corona.Native.Library.Win32/Interop/MDeviceSimulatorServices.h | cc1e3a293e9a567e4b88bdd4fc760c7128904dba | [
"MIT",
"LicenseRef-scancode-generic-cla",
"LicenseRef-scancode-free-unknown"
] | permissive | coronalabs/corona | 6a108e8bfc8026e8c85e6768cdd8590b5a83bdc2 | 5e853b590f6857f43f4d1eb98ee2b842f67eef0d | refs/heads/master | 2023-08-30T14:29:19.542726 | 2023-08-22T15:18:29 | 2023-08-22T15:18:29 | 163,527,358 | 2,487 | 326 | MIT | 2023-09-02T16:46:40 | 2018-12-29T17:05:15 | C++ | UTF-8 | C++ | false | false | 2,692 | h | //////////////////////////////////////////////////////////////////////////////
//
// This file is part of the Corona game engine.
// For overview and more information on licensing please refer to README.md
// Home page: https://github.com/coronalabs/corona
// Contact: support@coronalabs.com
//
////////////////////////... | [
"vlad@coronalabs.com"
] | vlad@coronalabs.com |
3c4480efa8159cd20d38cf32698f748a3279b6de | 123b659c47a02294d06d0e44bb978d3ae6fc10ad | /PassengerFlow5/src/test/main.cpp | ef19d048264be80d4df3ca5ca335080513ef4bcd | [] | no_license | sinoagg/PassengerFlow | 936ceb9226137d44c69c76f26722ff3d842468bf | f9edfaae9efca4a3911dbeb46fbce9bd60a20b25 | refs/heads/master | 2020-03-17T13:42:33.601056 | 2018-06-04T11:39:38 | 2018-06-04T11:39:38 | 133,641,749 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,235 | cpp |
#include "BGDifference.h"
int main( int argc, char** argv )
{
//raw image
Mat pFrame;
// output image
Mat pFroundImg;
// backgroud image
Mat pBackgroundImg;
// advanced output image
Mat pFroundImg_c;
Mat pBackgroundImg_c;
//left right image
// Mat src1,src2,gray,disp8;
... | [
"Zhangxl@sinoagg.com"
] | Zhangxl@sinoagg.com |
408c481ad3670d0be6c50a687d922c4fb9423cba | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /third_party/blink/renderer/modules/webgl/webgl_color_buffer_float.cc | 32c682af3aa94a64dc772c082441b15eba384acc | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 2,249 | cc | /*
* Copyright (C) 2017 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:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condit... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
b53c0a0aeb1a7da4ef63b75e4bf5ad932ca02416 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /ui/display/manager/chromeos/query_content_protection_task_unittest.cc | bff2cb8373e77f92eee1c5efc8f6dba92a6ac1f1 | [
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 7,385 | 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 "ui/display/manager/chromeos/query_content_protection_task.h"
#include <stdint.h>
#include <memory>
#include <utility>
#include <vector>
#inclu... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
80c6cc248401b7ec8d56a60ea5eef11da1ccf268 | 9fad4848e43f4487730185e4f50e05a044f865ab | /src/components/copresence/handlers/audio/tick_clock_ref_counted.cc | 402fa8879314f0e4f4a1ec040e01f83960943c75 | [
"BSD-3-Clause"
] | permissive | dummas2008/chromium | d1b30da64f0630823cb97f58ec82825998dbb93e | 82d2e84ce3ed8a00dc26c948219192c3229dfdaa | refs/heads/master | 2020-12-31T07:18:45.026190 | 2016-04-14T03:17:45 | 2016-04-14T03:17:45 | 56,194,439 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 699 | cc | // 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.
#include "components/copresence/handlers/audio/tick_clock_ref_counted.h"
#include <utility>
#include "base/time/tick_clock.h"
namespace copresence {
T... | [
"dummas@163.com"
] | dummas@163.com |
1c6a8c5603a7ce273b73917808c49d484a513406 | 96c604bd68ca59b171b853e72b6e6d74fd9f7e17 | /MRTK_V2/DisassemblyInstructions/Il2CppOutputProject/Source/il2cppOutput/GenericMethods5.cpp | 3ab5f8ed7ce36a2abac4a0bed30ccf264401b11d | [] | no_license | ruchirnaphade/AR-Industry-Applications | 24566da6eb4fe8efe098974ac48ff7c8787fe1df | c54d715b6d970abc3b06055d911619a57597ac8f | refs/heads/master | 2022-07-23T19:27:39.636188 | 2020-05-13T15:10:40 | 2020-05-13T15:10:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,669,633 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "codegen/il2cpp-codegen.h"
#include "il2cpp-object-internals.h"
template ... | [
"35610867+joaoadpereira@users.noreply.github.com"
] | 35610867+joaoadpereira@users.noreply.github.com |
ac9674afaef4e923687e52c30d995d7cf8873419 | 90e60480fe09384a68f01959aee858cf981d1477 | /main.cpp | e9ead7224ea0d94ef5315d17649b01cee5088a3d | [] | no_license | fruitsamples/DefaultOutputUnit | d3a3d72ec3abbf4e359ce77e49e43109a673fcde | ed85d956cdbf562b89d72b98b76c864e69f05ffc | refs/heads/master | 2021-01-10T11:07:19.926949 | 2015-11-25T20:31:05 | 2015-11-25T20:31:05 | 46,884,878 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 10,071 | cpp | /* Copyright © 2007 Apple Inc. All Rights Reserved.
Disclaimer: IMPORTANT: This Apple software is supplied to you by
Apple Inc. ("Apple") in consideration of your agreement to the
following terms, and your use, installation, modification or
redistribution of this Apple software constitutes acceptance of t... | [
"contact@stevemoser.org"
] | contact@stevemoser.org |
6ce5fe426ef382c629da82ba8a9495a8331f9364 | 5c85473cd4bf71c1beddf322cca222b371847547 | /main/eye_cameras.cpp | b7c70082ab6b38c9f97803d62b1785bbf09e6534 | [
"MIT"
] | permissive | noelprince/3D-Eye-Tracker | 3226f49df903998373a914fd83794bfe1ba1a024 | 07c22d1e566bfc0ed1ddba888423b73b3605e8b3 | refs/heads/master | 2020-09-16T13:38:10.447298 | 2019-11-27T04:53:13 | 2019-11-27T04:53:13 | 223,786,169 | 1 | 1 | null | 2019-11-24T17:53:43 | 2019-11-24T17:53:43 | null | UTF-8 | C++ | false | false | 11,815 | cpp | #include <iostream>
#include "eye_cameras.h"
#include "timer.h"
#include <boost/filesystem.hpp>
//#include <spdlog/spdlog.h>
//#include <plog/Log.h> // Step1: include the header.
namespace eye_tracker
{
namespace fs = boost::filesystem;
void record_eyecams_mono_interactive(){
const size_t kCcameraNums = 1;
//... | [
"yuta.itoh@in.tum.de"
] | yuta.itoh@in.tum.de |
4ffd5f0cd3327de708486c7d3389211ada0b7c8f | f0f20e5f8ec5d94cce6bb1f8520d63b7a770b0d5 | /arduino-ide/lifebase_meter/_water.ino | e0c678384b30f23699f063c3089026c9a3e597bb | [
"MIT"
] | permissive | inofix/lifebase-meter | c48e19db2d9978ee811021f051bfb0772fc66196 | 4afae122d5e38565aa88e113b5689be20beb1e2d | refs/heads/master | 2022-09-12T13:30:05.765075 | 2022-08-04T14:29:17 | 2022-08-04T14:29:17 | 222,317,572 | 1 | 1 | MIT | 2022-08-04T14:29:18 | 2019-11-17T21:55:47 | C++ | UTF-8 | C++ | false | false | 12,847 | ino | /*
Life Base's Setup Meter
This is a generic stack of lifebase related standard interactions with
the environment of subjects of interest.
This work was inspired by examples from the arduino-ide and esp-idf, resp.
arduino-esp:
- https://github.com/espressif/arduino-esp32/blob/master/libraries... | [
"mic@inofix.ch"
] | mic@inofix.ch |
94957fbaf5db1dee1518938f203bdc9fbc70238e | 4c2ab16671ed9041d709264f7c2af700fa299d84 | /day4_algoproblem/max_arg.cpp | f1207ce938ac99a9b83a456e9fe99f8d2d0a520e | [] | no_license | shubharthaksangharsha/institutional_training | 0317e07149b33170443d52779fcdc4ddee5da40d | b71b70092fb1d68a116121fe722db4818a9084de | refs/heads/main | 2023-06-10T11:44:55.224364 | 2021-07-03T02:13:40 | 2021-07-03T02:13:40 | 377,275,989 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 340 | cpp | #include<iostream>
#include<vector>
using std::cout;
using std::vector;
int argmax(vector<int> vec){
int arg_max=0;
for(int i = 0; i < vec.size(); i++){
if(vec[i] > vec[arg_max]){
cout<<"hi";
arg_max= i;
}
}
return arg_max;
}
int main(){
vector<int> vec={2,32,9,5};
cout<< argmax(vec);... | [
"shubharthaksangharsha@gmai.com"
] | shubharthaksangharsha@gmai.com |
530013359544f1aed063c819f948db98f3428ffe | 66fe78fcd3e98e379b8d703751d85c5ecc4d5d5d | /src/detector/commutativity/CommutativityChecker.h | c67fa278aedec52dc7aa5b1baf0d1e245bbe3181 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | fossabot/TaskSanitizer | 5922ab69f2e9cd1bfcf1d3dd5e3c6af6e8eb8bb5 | 90a9d1098cb2cd62f5157737dd63c863241ba191 | refs/heads/master | 2023-06-01T06:05:40.262671 | 2021-06-12T21:30:38 | 2021-06-12T21:30:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,000 | h | /////////////////////////////////////////////////////////////////
// TaskSanitizer: a lightweight determinacy race checking
// tool for OpenMP task applications
//
// Copyright (c) 2015 - 2018 Hassan Salehe Matar
// Copying or using this code by any means whatsoever
// without consent of the owne... | [
"hassansalehe@gmail.com"
] | hassansalehe@gmail.com |
f6ca0642ff4c20069d1fc173c4b6c35e46e29f01 | 99027c627e0b48c3ef3a37fb1d1030aef3275ffb | /seira3/submarine/submarine.cpp | fb5a88079f40c4c570a3eca6dfb9c1d210f0bee2 | [] | no_license | dkatsiros/algorithms-ntua18 | c751d38c385515314d6cc1caaedca98bac229840 | 437bb95b7db82d1896ac33a8358be2a994e3c930 | refs/heads/master | 2022-06-21T15:12:28.321695 | 2019-03-21T17:10:47 | 2019-03-21T17:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,851 | cpp | #include <iostream>
#include <set>
using namespace std;
// Class for coordinates
class Coordinates
{
public:
int x, y;
Coordinates(int a, int b)
{
x = a;
y = b;
}
};
// Class for each PilotCrossing, saving start and end point: (sx,sy) --> (ex,ey)
class PilotCrossing
{
public:
... | [
"dkatsiros@gmail.com"
] | dkatsiros@gmail.com |
0f6efc49223f4126306e435919796126263598bd | c28b5362cb1280bc3b0033b13a1477a1cd640a74 | /03-第3课 - 进化后的 const 分析/3-2.cpp | 0008813e9d405d7b88d30330a3c933040be859db | [] | no_license | GGzhu/Cpp | af4f657e30b3aed3d1794c3b60795d37279259be | 6e731f6f8b70333bc248ea090b8f672ea361437f | refs/heads/master | 2022-11-15T18:25:57.507207 | 2020-07-09T12:50:16 | 2020-07-09T12:50:16 | 266,296,569 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 379 | cpp | #include <stdio.h>
void f()
{
#define a 3
const int b = 4;
}
void g()
{
printf("a = %d\n", a);
//printf("b = %d\n", b);
}
int main()
{
const int A = 1;
const int B = 2;
int array[A + B] = {0};
int i = 0;
for(i=0; i<(A + B); i++)
{
printf("array[%d] = %d\n", i, arr... | [
"1096346018@qq.com"
] | 1096346018@qq.com |
88da62144ef23b4fb3e2b2e7f14941d663feb57a | deed2955b918d31ca0cc4b094ac7ae68d5a77de6 | /meeting 9-17-18/common_ancestor/common_ancestor.cpp | b766e225ca812a185ece32ad558291c24e22a81c | [] | no_license | BinghamtonACM/acmfall2018meetings | b1ef05c032e0f3210a2fb3ae70497c174b3f8536 | ffc340132f32fd00194879b7a1a3d3e451f9fdb2 | refs/heads/master | 2020-03-28T21:29:45.474024 | 2018-11-12T23:03:26 | 2018-11-12T23:03:26 | 149,160,530 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 511 | cpp | /*
* tree_node in merge_trees_test:
*
* struct tree_node {
* int value;
* tree_node* left_node;
* tree_node* right_node;
* };
*/
/*
* implement: common_ancestor(tree_node* head, tree_node* node_a, tree_node* node_b);
* which takes the heads of two balenced trees, and returns the hea... | [
"jvanatt3@binghamton.edu"
] | jvanatt3@binghamton.edu |
17a63aac027bab578009dfdcb2569d25f08064a2 | 525b12ce1c7cfd6b8e9c2c6e6f52e71a48a21462 | /simple_calculator.cpp | d13c14ffb507d6eef8ac05cf1f7cd80d42aca771 | [] | no_license | RitabanMukherjee/cpp_ros | 19c067e53a7533b516a25aa07a88aa810870b83c | ff59cdc337c20e3c189d5881407e44c895233db3 | refs/heads/master | 2022-12-05T11:20:45.288544 | 2020-08-01T05:38:53 | 2020-08-01T05:38:53 | 284,149,437 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 297 | cpp | #include<iostream>
#include<cmath>
using namespace std;
int main(){
double num1, num2;
cout<<"Enter first number: ";
cin >> num1;
cout<<endl;
cout<<"Enter second number: ";
cin >> num2;
cout<<endl;
cout << "The sum is: " << num1 + num2 << endl;
return 0;
} | [
"ritaban.mukherjee1996@gmail.com"
] | ritaban.mukherjee1996@gmail.com |
05c3768159135c966a13dd8b25f1a877507a2307 | f8c69330231784fa08cf70b04a9c6e9211813582 | /ProblemSolving/easy/AlternatingCharacters/alternatingCharacters.cpp | b43e96de8b8ed9e2b57a60e62cbdcbd1f50d003c | [] | no_license | paul-nema/hackerrank | 71c1f2b5340741dab354b830c57e3cd1db38bc39 | 3660fce336277034dc94d27feed72bbf412276b5 | refs/heads/master | 2020-03-30T05:49:50.467010 | 2019-03-02T13:09:16 | 2019-03-02T13:09:16 | 150,822,037 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 650 | cpp | // https://www.hackerrank.com/challenges/alternating-characters/
#include <bits/stdc++.h>
using namespace std;
// Complete the alternatingCharacters function below.
int alternatingCharacters( const std::string &s ) {
auto cnt{ 0 };
for( unsigned long x{ 1 }; x < s.size(); ++x ) {
if( s[ x - 1 ] == ... | [
"paul.nema@gmail.com"
] | paul.nema@gmail.com |
ac6efbf3aebeaf99c0757c29e4d680404fcfbbcf | 4bd4609fe5e592a57a730a3fe9e0f7de6ce7526b | /tcp_server.h | 553c312778320e9713a0c8f42b0c94ae4f464d4e | [] | no_license | HuangGlory/ftrcartctl_u200 | 38d7f81c5285ff559bf7f7518d87896089b00ad2 | 2feda0c37844d8bbec212900c2125eae5f9119e3 | refs/heads/master | 2023-07-07T20:25:27.495393 | 2021-06-17T06:18:50 | 2021-06-17T06:18:50 | 394,573,712 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,792 | h | #ifndef TCP_SERVER_H
#define TCP_SERVER_H
#include <QTcpServer>
namespace tcp_server_private {
class TcpServerPrivate;
}
class QTcpSocket;
/**
* @brief Tcp多客户端服务器
*/
class TcpServer : public QTcpServer {
Q_OBJECT
public:
/**
* @brief 构造函数
* @param parent 父QObject
*/
explicit TcpServer(... | [
"h_yinwei@foxmail.com"
] | h_yinwei@foxmail.com |
f6b16e5ff182902dd3184d6873966f668b41726d | 48b3977a8f895e2cf5ae39ff7438116b7481900c | /task104.cpp | 40c8d280fc8a1767e90eaaf0a2b1cc45a1bafda7 | [] | no_license | Alisher0911/practice | d0454e1e8d00879208130cd8dcddb0aa15be0940 | cb46da90d5025466c18468de7ad9c334abb51d77 | refs/heads/master | 2020-09-12T10:37:00.660129 | 2019-11-22T15:32:45 | 2019-11-22T15:32:45 | 222,396,069 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 345 | cpp | #include <iostream>
using namespace std;
int main () {
int a,b,c,d;
int sum = 0, k = 0;
for(int i = 1000; i <= 9999; i++) {
a = i / 1000;
b = (i % 1000) / 100;
c = (i % 100) / 10;
d = i % 10;
sum = a + b + c + d;
if(i == 600 * sum)
k++;
}
c... | [
"alisher.pvl67@gmail.com"
] | alisher.pvl67@gmail.com |
391f7b6400ddb64f4758d496f7da117df87374b5 | 1cb008c91294086de8c2f4cd72e15a26270b89a9 | /09/9.4/MDISample/MainFrm.h | c9efb239716ccab0cc5457c933f4c7733e4369ae | [] | no_license | pengge/C_program | 95a5d5ec3e690e508e91353d58aedeb1100e96cd | 06697bf515404981cb68878215f3bb853666d4b8 | refs/heads/master | 2020-05-18T18:30:01.934429 | 2018-12-05T04:14:49 | 2018-12-05T04:14:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,485 | h | // MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAINFRM_H__5595B55C_181E_46A3_B310_2863704359C5__INCLUDED_)
#define AFX_MAINFRM_H__5595B55C_181E_46A3_B310_2863704359C5__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif ... | [
"alihuhu1998@163.com"
] | alihuhu1998@163.com |
31f9bb6fe93a0f83657d0e8b18c0cafb25440bbe | 7c1fc753489b9b7ace87f15c98dc68fec50ccd19 | /AdHoc/A. Beautiful Matrix/main.cpp | 11089aa50107369db03079e0ba252c9e9ea60188 | [] | no_license | Sigm0oid/Algorithms-DataStructures | 9c1d116e32299013d8b31fccd6299612522f6f70 | 75783c805b3407baba7d320b8ce6b3eec2c3cba5 | refs/heads/master | 2022-04-08T16:13:52.714924 | 2020-03-24T09:05:00 | 2020-03-24T09:05:00 | 74,182,545 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 296 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int posx,posy;
for(int i=0;i<5;i++){
for(int j=0;j<5;j++){
int a;
scanf("%d",&a);
if(a==1)
{posx=i+1;
posy=j+1;}
}
}
printf("%d \n",abs(3-posx)+abs(3-posy));
return 0;
}
| [
"hamza@Hamza"
] | hamza@Hamza |
7b9d04abd179de885fc3edafe158a3a5dbcb20ca | aa251a5571bd4ecdefb05ee59f1710d0affa0d97 | /uva/uva10382_wateringgrass.cpp | 3ff996cc84af2d8d2c9f711d710e4793bf1e0dbc | [] | no_license | moonstruckmoth/cp | 0048eac18797a342deb6e82226ae254eb6cd5b7d | 83ab4693ca6a0dd2b26548a2f77dfc238a422d3f | refs/heads/master | 2021-01-10T18:42:08.827150 | 2013-07-10T12:57:45 | 2013-07-10T12:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,439 | cpp | #include <iostream>
#include <vector>
#include <cmath>
#include <algorithm>
using namespace std;
bool cmp(const pair<double, double>& lhs, const pair<double, double>& rhs) {
return lhs.first < rhs.first;
}
int main(int argc, char const *argv[])
{
int n;
int l;
int w;
while (cin >> n >> l >> ... | [
"moonstruckmoth@gmail.com"
] | moonstruckmoth@gmail.com |
a8075e8d0190660cbda55e47d50aab70471e29be | 57713b9b5226fc69eea314dee30097cca2ea3e6f | /Data-Structures/Sorted-List/linked/ItemType.h | 09c8fda54b52265355ab2c7654f30547c8a920a0 | [] | no_license | Just-Sieb/School | ef7b52a408538882ccf11eeacf4707af40f1e293 | 50d989e941df3bde8ccbf02c2a39a08327105bda | refs/heads/master | 2021-01-09T20:14:42.736506 | 2016-07-15T05:35:02 | 2016-07-15T05:35:02 | 62,327,818 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 302 | h | #pragma once
#include <fstream>
#include <iostream>
enum RelationType {LESS, GREATER, EQUAL};
class ItemType
{
public:
ItemType();
RelationType ComparedTo(ItemType) const;
void Print() const;
void Initialize(int number);
private:
int value;
};
| [
"just.sieb@gmail.com"
] | just.sieb@gmail.com |
814748d90ab01e09b628bf4600b178bedbce4d68 | 4f88c0f77880064c69be3ca9ceaf29a424c5b10f | /code/Resources.h | c015b32a2d650f1082bf21e341b9d78e3a21621e | [] | no_license | antoinech13/rteChallenge | 0cb99342adf1681f72a517e89d5d26a70f44b2a9 | 14418a9446c7799e4a524f7cbbbc34181dc84cc3 | refs/heads/main | 2023-02-15T02:28:57.252801 | 2021-01-05T21:50:19 | 2021-01-05T21:50:19 | 317,693,445 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 418 | h | #pragma once
#include <vector>
#include <map>
#include <utility>
#include <string>
using namespace std;
class Resources
{
public:
Resources(string vFile);
vector<pair<int, map<string, vector<double>>>> getData();
private:
vector<pair<int, map<string, vector<double>>>> data;
vector<pair<int, map<string, vector... | [
"antoine-spartan@hotmail.fr"
] | antoine-spartan@hotmail.fr |
3b55d4a255818428ec0587814395580c713277b8 | 6da2baa5dcd27c9f5f3c69c1ee0ba30eda0ed4ba | /RND_CPP/WindowsRunTime/main_4.cpp | 5b83791148ee3383f93e748e29e6ba94f47bd5b6 | [] | no_license | SwarajKetan/RND_CPP | 2d0f29ce000ac37e018cb684445d426b6f7a8dd5 | 45eb7cd29f05ed462824792e5bc5f929a1f7ee12 | refs/heads/master | 2022-12-24T01:40:58.331671 | 2020-09-30T17:43:37 | 2020-09-30T17:43:37 | 255,109,864 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,341 | cpp | #include <Windows.h>
#include <wrl.h>
#include <type_traits>
#define Trace(x) __noop
using Microsoft::WRL::ComPtr;
//__declspce(novtable) not working hav to see
template<typename ... Interfaces>
class Implements : public Interfaces...{
volatile long m_reference = 1;
template<int = 0>
void* QueryInterface(const ... | [
"swarajksantra@gmail.com"
] | swarajksantra@gmail.com |
7d4ea80a9de9e5d232de0f733e2d6ac338747710 | 7106d7b7bc3b4ceb19dd01d445c7a6a69bbb1880 | /ExtendedEngine/ExtendedEngine/CSoundManager.h | 719b1164ab9cb899e08b07e81400a77b7f8f67ab | [] | no_license | BlazingDarkness/TL-Extension | dcdb971aa3879aba5064eaab7c4db345a23bcf09 | 31c6ffdb1201f39a39342362f92158383f0aef05 | refs/heads/master | 2021-05-02T12:38:15.493499 | 2018-11-21T17:45:11 | 2018-11-21T17:45:11 | 52,618,911 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,159 | h | #pragma once
#include <SFML\Audio.hpp>
#include <unordered_map>
#include <memory>
#include "CSound.h"
#include "CMusic.h"
namespace tle
{
//Manages sounds and provides volume controls
class CSoundManager
{
private:
using CSound_ptr = std::unique_ptr<CSound>;
using CMusic_ptr = std::unique_ptr<CMusic>;
using ... | [
"blazingdarkness47@gmail.com"
] | blazingdarkness47@gmail.com |
97747d0803e1ae017a371fba277b975c1ffc460e | 43a2fbc77f5cea2487c05c7679a30e15db9a3a50 | /Cpp/External (Offsets Only)/SDK/BP_EmoteCategory_functions.cpp | a371c720fc1c32737802ecc2064e441aeed26b9b | [] | 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 | 559 | cpp | // Name: SoT-Insider, Version: 1.102.2382.0
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//---------------------------------------... | [
"Massimo.linker@gmail.com"
] | Massimo.linker@gmail.com |
2e850c88f456eaa014a4b62c149808ba67d9e30c | b4fa054985b45001dd6226cca2108ac4ca1ad8d2 | /str2.cpp | c994cbe16e6ad2fcd0081e52871d7fcd8cc2523e | [] | no_license | zxpgo/C-Plus-Plus | a2d62cfe0438bdb1205955a7d7fe04a538c0f2bd | 733e200a049f986c5900fc02f0e9125400418adb | refs/heads/master | 2020-04-27T11:24:47.732042 | 2019-03-23T14:29:39 | 2019-03-23T14:29:39 | 174,291,095 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 630 | cpp | #include <iostream>
#include <string>
int main()
{
using namespace std;
string empty;
string small = "bit";
string larger = "Elephants are a girl's best friend";
cout << "Size:\n";
cout << "\tempty: " << empty.size() << endl;
cout << "\tsmall: " << small.size() << endl;
cout << "\tlarger: " << larger.size() <<... | [
"1165772354@qq.com"
] | 1165772354@qq.com |
988f85618d356a49d0ab852449ca62c8c7befaae | 85e7114ea63a080c1b9b0579e66c7a2d126cffec | /SDK/SoT_BP_Tattoo_15_Desc_classes.hpp | 4401cd626dd70440bae2d603b694d5d8534aea24 | [] | no_license | EO-Zanzo/SeaOfThieves-Hack | 97094307d943c2b8e2af071ba777a000cf1369c2 | d8e2a77b1553154e1d911a3e0c4e68ff1c02ee51 | refs/heads/master | 2020-04-02T14:18:24.844616 | 2018-10-24T15:02:43 | 2018-10-24T15:02:43 | 154,519,316 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 692 | hpp | #pragma once
// Sea of Thieves (1.2.6) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_BP_tattoo_15_Desc_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//--------------------------------------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.