blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 247 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2
values | repo_name stringlengths 4 111 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 58 | visit_date timestamp[ns]date 2015-07-25 18:16:41 2023-09-06 10:45:08 | revision_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | committer_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | github_id int64 3.89k 689M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 25
values | gha_event_created_at timestamp[ns]date 2012-06-07 00:51:45 2023-09-14 21:58:52 ⌀ | gha_created_at timestamp[ns]date 2008-03-27 23:40:48 2023-08-24 19:49:39 ⌀ | gha_language stringclasses 159
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 7 10.5M | extension stringclasses 111
values | filename stringlengths 1 195 | text stringlengths 7 10.5M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
76981e637f6976ee80601348bfb45110fc442203 | cd3138b3a6cd90fef96c018eec907cee89c2acdb | /src/pattern/mixture/Component.h | 8c098e012ca1c2a8dec0eb489c96292e62dfc067 | [] | no_license | naxo100/PExKa | 56fdc8e0852e9d4a9a0bf5788c921d26da2607dc | 96605468f02e0b97baad50b7bc3310f23f56b1ca | refs/heads/master | 2021-07-21T05:45:57.229379 | 2020-04-29T12:58:25 | 2020-04-29T12:58:25 | 48,058,530 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,960 | h | Component.h | /*
* Component.h
*
* Created on: Jan 21, 2019
* Author: naxo100
*/
#ifndef SRC_PATTERN_MIXTURE_COMPONENT_H_
#define SRC_PATTERN_MIXTURE_COMPONENT_H_
#include "Mixture.h"
namespace pattern {
/** \brief Defines a set of agents that are explicitly connected by sites.
* Class Mixture is initialized empty an... |
811944739ad5210bef19ae078520d83f7558d53a | 1cfd20fa175e1751d1441f32f990ece5423c484a | /algorithms/0023_MergekSortedLists/0023_MergekSortedLists.cpp | ff7fab8867d4fdb28956e725b51f8d34b4a7677e | [
"MIT"
] | permissive | 243468234/leetcode-question | 9cdfc0db329d8b7b380674b1ebad8e05d624c6b8 | 35aad4065401018414de63d1a983ceacb51732a6 | refs/heads/master | 2022-11-25T13:30:42.650593 | 2020-08-02T07:43:48 | 2020-08-02T07:43:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 882 | cpp | 0023_MergekSortedLists.cpp | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
ListNode* merge(vector <ListNode*> &lists, int l, int r) {
if (l == r) return lists[l];
if (l > r) return nullptr;
... |
8b107716a96284c7f8f20b06fb455d815695a864 | 25d30e51b9dca92df293a54414bd3832d6c11409 | /map.cpp | d92abd6d23739551d9e3270276c6b330900bd720 | [] | no_license | ColinBin/minimal_SRPG | 2f93916c2612e67aef4ce6ec2f772bc461563959 | 75ebd3a9482932315d17b11cbe0fbf983d2124a9 | refs/heads/master | 2020-04-06T07:56:10.354259 | 2016-09-10T12:55:14 | 2016-09-10T12:55:14 | 65,596,556 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,567 | cpp | map.cpp | #include <iostream>
#include <iomanip>
#include <cmath>
#include "map.h"
using namespace std;
Map::Map(int length,int width){
this->length=length;
this->width=width;
SetMap(this->length,this->width);
}
Map::Map(){
length=20;
width=20;
SetMap(length,width);
}
Map::~Map(){
// free Position arrays first
for(int i=... |
03a3311675e50e8b49f8ad8c16e9660a061122f6 | 59638c368c9020f03e32efbfbd4ec2d122ce71df | /src/helper/AKROSD.cc | 0315503981ae67a9d7ce26f6081fe1c5104e9c29 | [] | no_license | cheidegg/dileptons | 845b504616dc74ed50124a64b2ff9b2365e2a8ab | da9f2a62a0e0d4e3ee3a94a3115f85c8264f5242 | refs/heads/master | 2020-05-18T22:24:22.003438 | 2014-10-06T13:59:36 | 2014-10-06T13:59:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,558 | cc | AKROSD.cc | /*****************************************************************************
******************************************************************************
******************************************************************************
** **
... |
5f7f57840a0446f1c84898bd361e721f67b6fc5c | 3030937abd11eff11b6fd84dc7108f229c459069 | /test3d/Window.h | aa7ad08f3e45d3a520e8e98200cecb6eac82bfc7 | [] | no_license | j4ra/test3d | 09376275a354f90e979df719d4d244c12a3003a2 | 82ae4b31d5cfbfb1a12dae8c7af47077a9c1ac86 | refs/heads/master | 2021-06-25T06:52:33.150761 | 2021-03-23T12:39:45 | 2021-03-23T12:39:45 | 213,878,460 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,512 | h | Window.h | #pragma once
#include "MiniWindows.h"
#include "BaseException.h"
#include "Keyboard.h"
#include "Mouse.h"
#include "Graphics.h"
#include <string>
#include <memory>
#include <optional>
#define WND_CLASS_NAME "test3d_window"
namespace Application {
class Window
{
public:
class Exception : public Ba... |
26b81348208b74783297d81b0af019d17cb06b08 | 032f89675fb2d4a4ce68127e6d500477b6515afa | /C/quick sort.cpp | 533008f1632203dff1f3d1cf627b890d08e8960c | [] | no_license | silent1993/c-language | 996af660056d054acc10439116f02a89489aa83f | 0a93cece80b8046362b6e01fdd696e1b5d1e8f6b | refs/heads/master | 2016-09-08T02:33:17.653778 | 2015-07-29T14:22:39 | 2015-07-29T14:22:39 | 39,870,234 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,058 | cpp | quick sort.cpp | int FindPivot(int i,int j)
{
int firstkey;
int k;
firstkey=A[i];
for(k=i+1;k<=j;k++)
{
if(A[k]>firstkey)
return k;
else if(A[k]<firstkey)
return i;
}
return 0;
}
int Partition(int i,int j,int pivot)
{
int l,r;
l=i;
r=j;
do{
... |
a7e1269b467f4950a1dbe4e2c7d820edbdf5da19 | 6f2866cfa3620d9fe27590df94287301eeb141ed | /FractalV2/fct/unittest/Pixel_UnitTest.h | d25adfeee51a1dc76be91c83837824f2965d6443 | [] | no_license | highoffscience/Birthday_Program_Fractal | cf8ec869b191af5ea2cb5dc8090123387517c8ae | 92fb07595511f42e307ee737542b80517be67212 | refs/heads/master | 2020-03-23T02:36:57.915718 | 2018-07-14T22:49:03 | 2018-07-14T22:49:03 | 140,982,696 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,507 | h | Pixel_UnitTest.h | /**
* @author Forrest Jablonski
*/
#ifndef _FCT_UNITTEST_PIXELUNITTEST_H_
#define _FCT_UNITTEST_PIXELUNITTEST_H_
// class under test
// ----------------------
#include "Pixel.h" // -
using namespace fct; // -
// ----------------------
// place all #includes after CUT so we don't
// pollute the header file
#incl... |
b8eb2988110e59f15d0c8e0529b1b7ebeccc6ff6 | 620dbd095008650a6e534e34906923f8b04c5d47 | /cpp/rte/mo_optical_props.h | a91c0cf6df88a844ed60ff7c418dd173bc9e0e80 | [
"BSD-3-Clause"
] | permissive | E3SM-Project/rte-rrtmgp | 8bd993a4c7acbcb5df8722306e7f3223986e4cac | ddf82a25a3a59a8f0fe904b69181cb7bd99881fb | refs/heads/master | 2023-02-05T08:21:23.973022 | 2023-01-31T19:44:18 | 2023-01-31T19:44:18 | 221,975,040 | 2 | 1 | BSD-3-Clause | 2023-01-31T19:44:20 | 2019-11-15T17:46:51 | Fortran | UTF-8 | C++ | false | false | 19,435 | h | mo_optical_props.h |
#pragma once
#include "rrtmgp_const.h"
#include "mo_optical_props_kernels.h"
// Base class for optical properties
// Describes the spectral discretization including the wavenumber limits
// of each band (spectral region) and the mapping between g-points and bands
class OpticalProps {
public:
int2d band2gpt; ... |
94b21cd6efe39fc2f2201cac3421746d82826c2c | 90c3f3bc5d0dea8de15e9d07aa55f010f1cd773d | /minimum-window-substring/main_optimize.cpp | a5b9f3f1ac0be11b8e3eb227c4e5d3cb330f9bdc | [] | no_license | kmiku7/leetcode | d3ad4251b199f672e8f7d3377ed2db075f7ca216 | 3e56d2be80be01ff64d0ff2bb2efdd87c3dcefb1 | refs/heads/master | 2021-01-18T15:06:11.706879 | 2015-10-04T15:48:57 | 2015-10-04T15:48:57 | 26,670,616 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,973 | cpp | main_optimize.cpp | #include <iostream>
#include <string>
#include <unordered_map>
#include <climits>
using namespace std;
class Solution {
public:
string minWindow(string S, string T) {
int unique_count = 0;
int unique_expect = 0;
int alpha_count[256] = {0};
int alpha_expect[256] = {0};
for(a... |
fe57b09eb0ebb6073f2a68a82bbbae8d94fcb26d | 259bd4b12bef8f6c3e5150195efbd9533c7d67a5 | /3684.cpp | 6a7630ce569c62c310350e105f7b36b89f2ed5cc | [] | no_license | hank08tw/poj | daf7e579a81ba62bbfc76308f244dc7b6c86135d | 4959b782e32ee22981b8cdaed4fefefe382ea60c | refs/heads/master | 2020-03-07T18:53:55.538374 | 2018-09-22T01:20:48 | 2018-09-22T01:20:48 | 127,655,791 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 549 | cpp | 3684.cpp | #include <iostream>
#include <algorithm>
#include <stdio.h>
#include <math.h>
//r>0時不會 WA
using namespace std;
double y[105];
int N,H,R,T;
const double g=10.0;
double calc(int TT){
double t=sqrt(2*H/g);
int k=(int)(TT/t);
if(k%2==0){
double d=TT-k*t;
return H-g*d*d/2;
}else{
double d=k*k+t-TT;
return H-g*d*... |
486a41637bb3f651e748d666d4029928704775f0 | e2e11d342899f7f2627337c55a1c7ed78694e31e | /TrabalhoPratico_14840/texture.cpp | 2fbb33d45a7f9f27fd8cd02f34d1c06c0e82b85c | [] | no_license | jfaps09/P3D_TP_2019 | f5221e39d91dd70eed9a862a7950fe7a54a7547b | 3aaf000cf21d8cfc0582689804fc6d858809e791 | refs/heads/master | 2020-05-23T05:05:26.192990 | 2019-06-05T19:46:56 | 2019-06-05T19:46:56 | 186,645,597 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,081 | cpp | texture.cpp | #include <GL/glew.h>
#include <GLFW/glfw3.h>
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
GLuint loadFileTGA(const char * imagepath) {
GLuint texture;
glGenTextures(1, &texture);
//Bind the newly created texture
glBindTexture(GL_TEXTURE_2D, texture);
//Flip texture image on load, since texture coord... |
d668d44036dc90c6b8d6f8c66bf3350b10cc4a22 | be396f735b69793dd155ccab4aacedba1b11a8cd | /jagjeets/ps4/ps4_2/main.cpp | 4bc8376d20b24df273c544c25f47893e9a0c33e7 | [] | no_license | jagjeet-singh/Advanced-Engineering-Computation | 3d9267dde53a6e90516078e206709fc9f10ac789 | 0cfe6554274a45c48b16999c546b385e73b9a2d4 | refs/heads/master | 2020-03-23T17:35:39.210809 | 2018-07-22T14:19:34 | 2018-07-22T14:19:34 | 141,866,504 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,994 | cpp | main.cpp | /* ////////////////////////////////////////////////////////////
File Name: main.cpp
Copyright (c) 2017 Soji Yamakawa. All rights reserved.
http://www.ysflight.com
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redist... |
80ef6ece1863dc625e4dd94262ac666888102fd6 | f1a2325795dcd90f940e45a3535ac3a0cb765616 | /development/TelecomServices/EPM/src/PM_RulesRmonCounter.cpp | f18e6357ba19317fc62579eb14c833a54ba5d490 | [] | no_license | MoonStart/Frame | 45c15d1e6febd7eb390b74b891bc5c40646db5de | e3a3574e5c243d9282778382509858514585ae03 | refs/heads/master | 2021-01-01T19:09:58.670794 | 2015-12-02T07:52:55 | 2015-12-02T07:52:55 | 31,520,344 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,275 | cpp | PM_RulesRmonCounter.cpp | /*--------------------------------------------------------------------------
Copyright(c) Tellabs Transport Group. All rights reserved
SUBSYSTEM: Performance Monitoring.
TARGET : TRN.
AUTHOR : December 21, 2005 Larry Wolfrum.
DESCRIPTION: The class to update RMON layer counter parameters.
----... |
c8a9694d30bbc873d49c235efd7ac768b3bff2c0 | 0d82d405f5dffc68d30ddb0d42830740cb5df069 | /src/apps/sent2vec/sent2vec.cpp | 294903302c6696f73e65480cea52288c65b4b71a | [
"Apache-2.0"
] | permissive | nathinal/SwiftMPI | 7fe6780561a3272d61fc6aa0e574f7f54811e7f8 | 1792e85ab674b6e0d2bd46223f1f1b6631c50e80 | refs/heads/master | 2020-05-30T20:35:17.191675 | 2016-04-25T09:56:56 | 2016-04-25T09:56:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,154 | cpp | sent2vec.cpp | #include <functional>
#include "../../swiftmpi.h"
#include "../word2vec/word2vec.h"
using namespace swift_snails;
class WordMiniBatch : public MiniBatch {
public:
WordMiniBatch() {}
void push() = delete;
// size_t gather_keys (FILE* file, int &line_id, int minibatch, int
// nthreads=0) = delete;
};
class Sent... |
75d016dd917bb3c45908c4676e6a2687837229fa | 4bce8f0ee794ce069855465a39223da2f677ddbe | /training/lab_4/Ford.h | 5a5e3705063caea9402b950574432c7d9e6e2fe4 | [] | no_license | MichalLeszczynski-WFiIS/WFiIS_PO_2019 | eb8d29e105e33b16c9f4e3355d6ce27b2ecf6e38 | 3a81dec25c214143c727fee53ef5ebccbd686703 | refs/heads/master | 2022-01-10T20:00:10.853485 | 2019-05-30T08:00:02 | 2019-05-30T08:00:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 530 | h | Ford.h | #pragma once
#include <iostream>
#include "Car.h"
class Ford : public Car {
public:
Ford() {}
virtual std::string TypeInfo() const override{return "Ford Fiesta";}
virtual std::string ColorInfo() const override{return "Red";}
virtual std::string EngineFuelInfo() const override{return "Pb98";}
virtual std::string Eng... |
d34ee29dabd299265025639caa4a6cc6ccca10d2 | 99ba97988fc131ff33547d53b1a97f541b5ed8ba | /WallChess.cpp | e6f37550f202ec6dac3bd40354c44597af19e550 | [] | no_license | codewasp942/WallChess | dd229480d162b4b339e117eef82fa6e30d6313eb | 87287023ac876410d74318d5fad450a6100d97bf | refs/heads/master | 2023-02-24T14:17:35.087172 | 2021-01-30T10:23:52 | 2021-01-30T10:23:52 | 334,317,160 | 1 | 1 | null | null | null | null | GB18030 | C++ | false | false | 5,642 | cpp | WallChess.cpp | /*
https://github.com/codewasp942/WallChess
Visual Studio 2019 on windows
*/
#include <iostream>
#include <windows.h>
#include <cstdio>
#include <cmath>
#include <conio.h>
#include "position.h"
#include "ioex.h"
#include "dfs.h"
#include "qipan.h"
#define elif(tiaojian) else if(tiaojian)
using namespace std;
bool m... |
104cf86933100e309d32587ec036a69b51944cdd | e8ac5270951b8eafd947e869c2b6b901c9a7b754 | /log_server.cpp | d77e84535959a4bcfea26162b761020440eac1e9 | [] | no_license | Sweetkubuni/UDP_Server | b60c9d17778657e82470bb97ed254764584d7c14 | c415e946d18fa075e02b856f8799a29e5a2d033e | refs/heads/master | 2020-06-19T00:27:58.784741 | 2016-11-28T05:56:30 | 2016-11-28T05:56:30 | 74,931,452 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,377 | cpp | log_server.cpp | #include <iostream>
#include <fstream>
#include <cstring>
#include <ctime>
#include <cstdlib>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <string>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/stat.h>
using namespace std;
#define PORT 8767
#define BUFSIZE 512
#define FORE... |
2e2372ecfc70ccea958350ab2a545ae1ea93218b | e3873080bbdc845c047869bc394914e55957b090 | /main.cpp | b6dfdf6449fdecf18180e3172ff5c529a2bec14d | [] | no_license | aashreya/JSONDB-Lite | 2d4d2cd7a0c5639ce66974780e2e09fafc00b2bb | 6d248af91706775c79360ff5e8b6b77894ce7b56 | refs/heads/master | 2021-09-09T23:08:22.661675 | 2018-03-20T06:14:55 | 2018-03-20T06:14:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,800 | cpp | main.cpp |
#include <map>
#include <set>
#include <list>
#include <cmath>
#include <ctime>
#include <deque>
#include <queue>
#include <stack>
#include <string>
#include <bitset>
#include <cstdio>
#include <limits>
#include <vector>
#include <climits>
#include <cstring>
#include <cstdlib>
#include <fstream>
#include <numeric>
#i... |
aca2f42a48cab40121e7d17b256f6272290f5cd6 | 27c1cd4c44a67cbb1e94b408d3603fe5fce5b042 | /src/example/CustomFilm.cpp | 0257271ae5093eed6ec057ac7a1a151c1a0b7bc6 | [
"BSD-2-Clause"
] | permissive | LeksiDor/LFRayTracerPBRT | 09711ea93c89be264b51499ab71703ab1f4d4b23 | bccb488fda7c3666845409db1575b91c39040f8d | refs/heads/master | 2022-11-15T15:41:26.957285 | 2020-07-07T14:19:07 | 2020-07-07T14:19:07 | 264,190,056 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,489 | cpp | CustomFilm.cpp | #include "CustomFilm.h"
using namespace lfrt;
CustomFilm::CustomFilm( const Int width, const Int height )
{
SetSize( width, height );
}
bool CustomFilm::SetSize(const Int& width, const Int& height)
{
if ( width <= 0 || height <= 0 )
return false;
weighted.Resize( width, height );
weights.... |
ac7e70937b2cae45cedfc9f89d83bf7d50272faf | 2f68c2a4a28d2d92edeb6e619e32420716e1ce39 | /sum_arr.cpp | ad87b08b96c53af768b3bb09880d6994ffdbfc50 | [] | no_license | Ashish0o7/cpp-codes2 | 77c94245bc7ae228a5aed5d7b8461139a6e8638b | 30fcc56938d1a22ce0c55e1952cd7fdc776b498f | refs/heads/main | 2023-04-22T00:25:25.210915 | 2021-05-09T10:58:14 | 2021-05-09T10:58:14 | 347,954,566 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 421 | cpp | sum_arr.cpp | #include <iostream>
using namespace std;
int main()
{
int arr[5];
int sum = 0 , prd = 1;
cout<<"Enter elements for array : "<<endl;
for(int i = 0 ; i <= 4 ; i++)
{
cin>>arr[i];
}
for(int i = 0 ; i <= 4 ; i++)
{
sum = sum + arr[i];
}
for(int i = 0 ; i <= 4 ; i++)
{
prd = prd * arr[i];
}
... |
ebff4e05afb559e3622e012ec43b8a1b6013c110 | 69dd81f7fd0097e4448f13aeb271405b7f53d298 | /src/renderer/VertexArray.cpp | b3173bae7f969c1d2138521285d1612a4bc521dc | [
"MIT"
] | permissive | wdaughtridge/GraviT | a42dc62973f5134ba642109415c4c1b47d424498 | 110abb61a99c7844ee3477b72d72e97d12d1ccb0 | refs/heads/master | 2023-06-22T14:54:14.378024 | 2020-06-21T05:47:52 | 2020-06-21T05:47:52 | 269,491,553 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 336 | cpp | VertexArray.cpp | //
// VertexArray.cpp
// GraviT
//
// Created by William Daughtridge on 6/13/20.
// Copyright © 2020 William Daughtridge. All rights reserved.
//
#include "VertexArray.h"
void GraviT::VertexArray::Bind() const {
glBindVertexArray(m_arrayID);
}
void GraviT::VertexArray::Delete() {
glDeleteVertexArrays(1, ... |
849f1008836e01a352ba7ab1179f3b5ace58bb11 | 11d335b447ea5389f93165dd21e7514737259ced | /transport/Includes/CAtomTable.h | 09332bb41336602eed2cd80e0530febc9c04e395 | [] | no_license | bennbollay/Transport | bcac9dbd1449561f2a7126b354efc29ba3857d20 | 5585baa68fc1f56310bcd79a09bbfdccfaa61ed7 | refs/heads/master | 2021-05-27T03:30:57.746841 | 2012-04-12T04:31:22 | 2012-04-12T04:31:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 498 | h | CAtomTable.h | #ifndef INCL_CATOMTABLE
#define INCL_CATOMTABLE
#include "CSymbolTable.h"
// CAtomTable. Implementation of a string hash table
class CAtomTable : public CObject
{
public:
CAtomTable (void);
CAtomTable (int iHashSize);
virtual ~CAtomTable (void);
ALERROR AppendAtom (const CString &sString, int *retiAtom);
... |
041324597bd9749145f0dc2e56687f0a02dbee5c | 7894893e65ed143bbc6216ba2d9cee167bb53941 | /Tree/pathSumII/pathSumII.cpp | c0b17146bb602c0e44f6040b6c3f4f8acf6c71c1 | [] | no_license | kevinrwx/LeetCode | 681f4c2388eff6d3466d1091577585fa4926db73 | 7073b60d2c3ddc1e0f66be21f01f6a4277b85992 | refs/heads/master | 2016-12-13T02:48:22.383331 | 2016-04-05T12:23:32 | 2016-04-05T12:23:32 | 27,356,935 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,063 | cpp | pathSumII.cpp |
//Path Sum II
#include <iostream>
#include <vector>
#include <stack>
#include <algorithm>
using namespace std;
struct TreeNode {
int val;
TreeNode* left;
TreeNode* right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
vector<int> nodeToval(stack<TreeNode*> st)
{
vector<int> results;
stack<TreeNode*>... |
6100cc347e7a087a5ede6f7a841bf934495f0c0e | 96d79d09797cab9e93681d1c0d92f5127488d792 | /src/civilized/buildings/Residential.cpp | 48f263ed227f8886a0253a7ebb0f1aa6aed4fd8c | [] | no_license | Truttle1/BlockstersGame | 5bd4af166ea5abc540c4de7cf64eb95ca078d4c8 | 2f9918e1f646909c285497a8dff0d2de085a385f | refs/heads/master | 2020-04-20T23:56:53.097683 | 2019-08-11T04:29:02 | 2019-08-11T04:29:02 | 169,181,826 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,882 | cpp | Residential.cpp | /*
* Residential.cpp
*
* Created on: Jun 27, 2019
* Author: truttle1
*/
#include "Residential.h"
Texture2D Residential::house;
Texture2D Residential::teepee;
bool Residential::loadedImages = false;
Residential::Residential(int ix, int iy) : Building(ix,iy)
{
landValue = 1;
population = 0;
buildingType ... |
8031b01374a55bf77bc69c8ead4dd827314d356f | ffb5d0ead0ba1beee4e7413d1b76f8971330be97 | /UVa_vertex.cpp | 5f8f64100851bc6e4c711b5b58c0aa0ac8a443da | [] | no_license | tajul-saajan/Uva-Solved | 6267479d944980053a30fc45d01891be7063c3f1 | ae0f7c3857ae95658f53f7afedd32369cded765a | refs/heads/master | 2021-07-11T03:12:05.250232 | 2020-12-26T07:30:19 | 2020-12-26T07:30:19 | 220,164,497 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,865 | cpp | UVa_vertex.cpp | #include<bits/stdc++.h>
using namespace std;
#define SET(a) memset(a,-1,sizeof(a))
#define ALL(a) a.begin(),a.end()
#define CLR(a) memset(a,0,sizeof(a))
#define PB push_back
#define PIE acos(-1.0)
#define max3(a,b,c) max(a,max(b,c))
#define min3(a,b,c) min(a,min(b,c))
#define READ freopen("input.txt", "r... |
151312fd0dfd47dbdd2b39eb0342fdfe0831d701 | 954d216e92924a84fbd64452680bc58517ae53e8 | /source/apps/demos/nckDemo_Metaballs.h | b4fc7fbb722466463bb090ec18b06f5e6666c984 | [
"MIT"
] | permissive | nczeroshift/nctoolkit | e18948691844a8657f8937d2d490eba1b522d548 | c9f0be533843d52036ec45200512ac54c1faeb11 | refs/heads/master | 2021-01-17T07:25:02.626447 | 2020-06-10T14:07:03 | 2020-06-10T14:07:03 | 47,587,062 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 875 | h | nckDemo_Metaballs.h |
/**
* NCtoolKit © 2007-2017 Luís F.Loureiro, under zlib software license.
* https://github.com/nczeroshift/nctoolkit
*/
#ifndef _NCK_DEMO_METABALLS_H_
#define _NCK_DEMO_METABALLS_H_
#include "../nckDemo.h"
class Demo_Metaballs : public Demo{
public:
Demo_Metaballs(Core::Window * wnd, Graph::Device * dev);
~Dem... |
78a697159d5047b5cb4e5501ed7d73c2f49fb1f4 | 7892ed4b9aa38d34f0d84d9c3aa9419e30d894e0 | /elunebot.bootstrap/nativehost.h | 2d5ac2e872a36b27dd6324c939f18dcfb6825bf1 | [] | no_license | Gofrettin/EluneBot | 90ba1138a6aee0dd61dc2caa7fc55345ee2cd299 | 31627838ebb2736214789c3e1aca6ac5fe9a2f3e | refs/heads/master | 2022-08-31T08:26:41.513524 | 2022-04-25T15:15:41 | 2022-04-25T15:15:41 | 417,240,848 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 102 | h | nativehost.h | #pragma once
class nativehost
{
public:
int main(LPCWSTR dir);
typedef void entrypoint();
};
|
96676561caec68a9d33ec3d0a5ebfb3af19d99d9 | 772d932a0e5f6849227a38cf4b154fdc21741c6b | /CPP_Joc_Windows_Android/SH_Client_Win_Cpp_Cmake/App/src/rpg3D/gw/view/mainui/MIGUIVAT_Base.cpp | 8b5ed842153eccb12c3f302e65ba270fcaf787b5 | [] | no_license | AdrianNostromo/CodeSamples | 1a7b30fb6874f2059b7d03951dfe529f2464a3c0 | a0307a4b896ba722dd520f49d74c0f08c0e0042c | refs/heads/main | 2023-02-16T04:18:32.176006 | 2021-01-11T17:47:45 | 2021-01-11T17:47:45 | 328,739,437 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,323 | cpp | MIGUIVAT_Base.cpp | #include "MIGUIVAT_Base.h"
#include <rpg3D/gw/entity/template/ToolsHandlerTemplate.h>
#include <rpg3D/gw/entity/module/toolsHandler/IToolsHandlerModule.h>
#include <worldGame3D/gw/entity/IWorldEntity.h>
using namespace rpg3D;
MIGUIVAT_Base::MIGUIVAT_Base(IApp* app, ArrayList<MenuItemConfig*>* viewItemConfigs, ArrayLi... |
d00139f1362bb7f8cfbf1c7503e3255bbd9bfcda | df7366b9d1e195458e2df676543248e7dddcbdb4 | /uva 10004 bicoloring.cpp | c7d88ff2d5cfa5adc24ab8813b06d49cbde594e5 | [] | no_license | FahimSifnatul/problem_solving_with_FahimSifnatul_cpp_version | b30e76a19b3ec95e298fe1ed60533e51344d090b | 639071ed1b00be6ab1a648fc995c7a5044f58c2a | refs/heads/master | 2022-07-14T05:09:32.098498 | 2020-05-20T09:42:30 | 2020-05-20T09:42:30 | 265,513,170 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,506 | cpp | uva 10004 bicoloring.cpp | #include<bits/stdc++.h>
using namespace std;
vector<int>node[200];
deque<int>q;
int level[200];
/*int bfs(int n)
{
int u,v,flg=0;
memset(level,-1,sizeof level);
q.push_back(0);
level[0]=0;
while(!q.empty())
{
u=q.front();
q.pop_front();
v=node[u].size()... |
b635300fc6c71e47c05d3d051380f1d5871e759d | 97bb7da626def8ad206be815c64348778f550d38 | /1306.jump-game-iii/JumpGame3.cpp | e7ca948ccf66f82a32a0fc6194e14051331b761a | [] | no_license | songkey7/leetcode | c242daafe33cc6035461fc2f3e751489d8b2551e | 2f72c821bd0551313813c9b745ddf5207e1cb71c | refs/heads/master | 2021-05-14T09:50:35.570822 | 2020-04-10T01:20:11 | 2020-04-10T01:20:11 | 116,336,985 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 584 | cpp | JumpGame3.cpp | //
// Created by songkey on 2020/2/28.
//
#include "JumpGame3.h"
bool JumpGame3::canReach(vector<int> &arr, int start) {
if(start < 0 || start >= arr.size() || arr[start] < 0) return false;
if(arr[start] == 0) return true;
int t = arr[start];
arr[start] = -1;
return canReach(arr, start + t) || can... |
2f0bf5f68fc6059705b2c536dfdcbb8a0227e4a1 | 1118fa1d6b40d1cd33476e896a423a7e4c9e8880 | /XeytanCuteServer/services/ClientContext.h | 28bf945f5d929e456f5e43d473513c4ac5a31417 | [] | no_license | melardev/XeytanQpp-RAT | 464995e6afc771bb7920d6a751f80392c84cd69e | 09097826b1bf9cfb45fad7552ea8c2738fdd93b7 | refs/heads/master | 2020-07-24T11:04:00.171848 | 2019-09-11T20:37:11 | 2019-09-11T20:37:11 | 207,902,443 | 8 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 692 | h | ClientContext.h | #pragma once
#include "NetClientService.h"
class NetServerService;
class ClientContext
{
public:
ClientContext();
ClientContext(const QSharedPointer<NetServerService>& net_server_service,
const QSharedPointer<NetClientService>& client);
~ClientContext();
QSharedPointer<NetClientService> getNetCli... |
5ffc54f5f9e297b76f2d3ad4f9b49214438f8306 | 54a91ac41ef6fd5a80df98c8f4c87080a593c9c7 | /Non-Photorealistic Rendering/Element3D.cpp | ab8ec564abc228ba1ffb8fd3d23762b03301aaa2 | [] | no_license | sergiocalahorro/Non-Photorealistic-Rendering | c9fcb2d885b14692504f14a6d3ef7b65ad5839e2 | d8f43d4d0b574b14ec270e20a658642732c3589c | refs/heads/master | 2021-03-01T21:29:56.287931 | 2021-02-25T11:34:08 | 2021-02-25T11:34:08 | 245,814,986 | 4 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 4,066 | cpp | Element3D.cpp | #include "Element3D.h"
// - Constructor por defecto
Element3D::Element3D()
{
modelMatrix = glm::mat4(1.0f);
}
// - Destructor
Element3D::~Element3D()
{
}
// - Obtener matriz de modelado del elemento 3D
glm::mat4 Element3D::getModelMatrix()
{
return modelMatrix;
}
// - Asignar matriz de modelado del elemento 3D
v... |
0bb3a83454103d350db8a8558c2103d3627f2520 | fa7f442ef185c00b55d3edeeac83b96be7c7acb3 | /Papilio_DUO_Verification/src/Papilio_DUO_Test_Plan_Stimulus_Board/Papilio_DUO_Test_Plan_Stimulus_Board.ino | 1084347f230bcd3d7e7248f9e2fe356afae0859a | [] | no_license | Mafei/Test-Plans | 0cad3155c9be1c0329991c3d40a4c0f7c12e8258 | 0e894e689915a9140b6e6163dc198e4509047fec | refs/heads/master | 2021-01-16T22:39:37.935171 | 2014-12-18T00:26:10 | 2014-12-18T00:26:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 958 | ino | Papilio_DUO_Test_Plan_Stimulus_Board.ino | /*
Gadget Factory
Papilio One Stimulus Sketch for Verification
Used to test the I/O of new Papilio One boards. This is the sketch that runs on the board built into the Pogo Pin tester.
created 2010
by Jack Gassett from existing Arduino code snippets
http://www.gadgetfactory.net
This example code is in th... |
0f75d42ccea112d3f8a00f99391d5e767a2d2462 | e7e497b20442a4220296dea1550091a457df5a38 | /main_project/talkn/function/TalkFunIM/src/FunIMOther.cpp | 026fcee4a4ab871e07a081e813d4b7168b71d2aa | [] | no_license | gunner14/old_rr_code | cf17a2dedf8dfcdcf441d49139adaadc770c0eea | bb047dc88fa7243ded61d840af0f8bad22d68dee | refs/heads/master | 2021-01-17T18:23:28.154228 | 2013-12-02T23:45:33 | 2013-12-02T23:45:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,090 | cpp | FunIMOther.cpp | #include "FunIMOther.h"
#include "TalkProxyAdapter.h"
#include "TalkCommon.h"
#include "XmppTools.h"
using namespace com::xiaonei::talk::function::im::other;
using namespace com::xiaonei::talk;
using namespace com::xiaonei::talk::util;
using namespace com::xiaonei::talk::adapter;
using namespace com::xiaonei::talk::co... |
2088d950fff4443b5776f467f755fc7e71581db2 | 2155b0d6ed0b40ff491b9a5669d77e932d039013 | /deffem_postprocessor/src/Color.cpp | d0b1983eb008e62de42087c57e2cd4bd6378821f | [
"Apache-2.0"
] | permissive | mmaikel/DEFFEM_Postprocessor | 7bf2b076cdd87975e4e3bac919fcac21cdcf8fc1 | c4412a93a873e480f8a44196b54038cec1e6172b | refs/heads/master | 2021-07-14T03:22:57.386591 | 2020-06-02T14:16:22 | 2020-06-02T14:16:22 | 156,970,671 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,537 | cpp | Color.cpp | #include "../headers/Color.h"
using namespace deffem;
Color::Color()
{
this->red = 0.0;
this->green = 0.0;
this->blue = 0.0;
this->alpha = 1.0;
}
Color::Color(GLfloat red, GLfloat green, GLfloat blue)
{
this->red = red;
this->green = green;
this->blue = blue;
this->alpha = 1.0;
}
Co... |
ac61555ce61c870f0eae132463f78bdd71f78240 | 7a67db68dbaa9d696b4af914c14b949c14da51d8 | /70_recursion_iteration.cpp | 837a818d1747b86eefde6c3dfba85590c0506c36 | [] | no_license | igoingdown/leetcode | 9b556ed6fe5107f6fb9aab639efaad49bebf57b9 | 875d522c0c10cd3bb872fa118ff229e7a659f791 | refs/heads/main | 2021-12-03T17:19:16.348784 | 2021-11-18T10:38:25 | 2021-11-18T10:38:27 | 69,318,899 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 312 | cpp | 70_recursion_iteration.cpp | class Solution {
public:
int climbStairs(int n) {
if (n == 0) return 0;
if (n == 1) return 1;
int pre1 = 1, pre2 = 2, cur = 2;
for (int i = 3; i <= n; i++) {
cur = pre1 + pre2;
pre1 = pre2;
pre2 = cur;
}
return cur;
}
}; |
ac94ac7a98e0724a829930a017c6400e26debf8a | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/ScheduledActionType.h | ceae79222d9e7be3acabb9bf868eec758718f028 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | aws/aws-sdk-cpp | aff116ddf9ca2b41e45c47dba1c2b7754935c585 | 9a7606a6c98e13c759032c2e920c7c64a6a35264 | refs/heads/main | 2023-08-25T11:16:55.982089 | 2023-08-24T18:14:53 | 2023-08-24T18:14:53 | 35,440,404 | 1,681 | 1,133 | Apache-2.0 | 2023-09-12T15:59:33 | 2015-05-11T17:57:32 | null | UTF-8 | C++ | false | false | 5,503 | h | ScheduledActionType.h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/redshift/Redshift_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
#include <aws/redshift/model/ResizeClusterMessage.h>
#include <aws/redshift/model/PauseClust... |
212066b53de3d5cb7594f0bb1597440424201330 | e83e76c6b232075e0f71f78b42d0cd98aff6d541 | /Week1 Pointer2 q2.cpp | e4a184f52b1543419bd16d2baf68ea11dc0cbd15 | [] | no_license | TheCYBORGIANpulkit/CS142-Week-1 | 4991b2c9d3f9d5f5ad5b41753ad4467ca940f709 | 4c14e6a16c114596d4041959c96780649d9dba60 | refs/heads/master | 2020-04-14T22:58:08.953796 | 2019-01-10T14:09:08 | 2019-01-10T14:09:08 | 164,185,189 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 575 | cpp | Week1 Pointer2 q2.cpp | #include<iostream>
using namespace std;
/*
Find out (add code to print out) the address of the variable x in foo1, and the
variable y in foo2. What do you notice? Can you explain this?
*/
void foo1(int xval)
{
int x;
x = xval;
/* print the address and value of x here */
int *p = &x;
cout<< *p<<en... |
5a18539f17f56ceeeea4730c6c53976150ce6bef | 8c5f16b6e5616f7e823a502d7235d1e7bd1c8825 | /homework/9-5.cpp | 4a578dad4acc3fa847006fc5a5d754e9ca5ff2de | [] | no_license | TouwaErioH/VHDL-files | 4c437bb7a060fb16f2dda38c7abfcd36b1d5af15 | 09032ac75250b279937299779a521e087d5c7cb0 | refs/heads/master | 2020-03-14T16:44:36.604261 | 2019-06-26T08:15:31 | 2019-06-26T08:15:31 | 131,704,035 | 1 | 2 | null | null | null | null | GB18030 | C++ | false | false | 1,139 | cpp | 9-5.cpp | #include <stdio.h>
#include <stdlib.h>
struct Date{
int year;
int month;
int date;
};
int main()
{
int years,days;
int month=1;
int n=0;
struct Date thedate;
int normal[12]={31,28,31,30,31,30,31,31,30,31,30,31};
int abnormal[12]={31,29,31,30,31,30,31,31,30,31,30,31};
printf("按顺序先后输入年份和第几天:\... |
166889e9c833556ee724911c196d296e40d9320f | 62d991fdb7b796012ae19bb9deb4847b42d884df | /tensorflow/lite/micro/kernels/arc_mli/mli_interface.h | b4087f3b87ba465a48a2d7e2bc53ca9491835ec4 | [
"Apache-2.0"
] | permissive | xmos/tflite-micro | 27483372b233a53c4884c55e654fc44d19433bd6 | 0b02e2e8e9da516afeebafb6e936d5311b33111e | refs/heads/main | 2023-08-18T21:08:10.649833 | 2021-09-23T14:50:47 | 2021-09-23T14:50:47 | 386,217,339 | 1 | 1 | Apache-2.0 | 2021-09-23T14:50:48 | 2021-07-15T08:22:41 | C++ | UTF-8 | C++ | false | false | 2,460 | h | mli_interface.h | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable ... |
228978dcd96398f0528798b9547ac4d7a7194b31 | 487c4ec822da71b9b393d8089caa477b8d4f69f7 | /3Daxis.cpp | c61bbbef3401fc37dc963ded26ebb0eac0eae916 | [] | no_license | nm666code/3Daxis | dc46c485afff383ab12bf968bf673ef223727c75 | 2c77ebe9c2d383d4b9629a550e18fe7055b5d882 | refs/heads/main | 2023-08-28T17:10:02.250876 | 2021-11-01T14:42:26 | 2021-11-01T14:42:26 | 423,500,873 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,392 | cpp | 3Daxis.cpp | #include <GL/glut.h>
#include<iostream>
using namespace std;
void myinit(void)
{
glutInitDisplayMode(GLUT_RGBA | GLUT_DOUBLE | GLUT_DEPTH);
}
void display()
{
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glClearColor(0.2, 0.2, 0.2, 1.0);
glMatrixMode(GL_MODELVIEW);
glColor3f... |
fb9069c3ba8186342fcb81dbcf4b5dd947f0bec5 | 9f81d77e028503dcbb6d7d4c0c302391b8fdd50c | /generator/internal/metadata_decorator_generator.cc | 1ad34ca8c5faa05acc6050f43ef2b64d44e129f8 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | googleapis/google-cloud-cpp | b96a6ee50c972371daa8b8067ddd803de95f54ba | 178d6581b499242c52f9150817d91e6c95b773a5 | refs/heads/main | 2023-08-31T09:30:11.624568 | 2023-08-31T03:29:11 | 2023-08-31T03:29:11 | 111,860,063 | 450 | 351 | Apache-2.0 | 2023-09-14T21:52:02 | 2017-11-24T00:19:31 | C++ | UTF-8 | C++ | false | false | 14,168 | cc | metadata_decorator_generator.cc | // Copyright 2020 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... |
79b84cb47604302d969fd77d5ac74857180b47a4 | 8198656013927dcf07c081b4ecd2a06873b86ac5 | /frameworks/C++/cutelyst/src/databaseupdatestest.h | 3ddd556e832a5b0fe7504838d4c26eb490437f32 | [
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | oci-pronghorn/FrameworkBenchmarks | a4dd888c7f0740f635acd1e3f0b40094dae9ecc5 | f9cad2bce5e4ef6d9a42585e3bf23476b6d95c68 | refs/heads/master | 2020-04-02T01:42:54.539998 | 2019-05-06T03:16:24 | 2019-05-06T03:16:24 | 153,871,128 | 4 | 0 | BSD-3-Clause | 2019-05-06T02:25:33 | 2018-10-20T04:57:24 | Java | UTF-8 | C++ | false | false | 579 | h | databaseupdatestest.h | #ifndef DATABASEUPDATESTEST_H
#define DATABASEUPDATESTEST_H
#include <Cutelyst/Controller>
using namespace Cutelyst;
class QSqlQuery;
class DatabaseUpdatesTest : public Controller
{
Q_OBJECT
C_NAMESPACE("")
public:
explicit DatabaseUpdatesTest(QObject *parent = 0);
C_ATTR(updates_postgres, :Local :A... |
4e013cad337a3fff69683322899241eb159f7a93 | 0f6df4510ccacdc39491154ecac6e7a316f03229 | /Conditionals and loops/lec3_2.cpp | 659e537955afe3d21e1baea1570298f2df3fddcd | [] | no_license | cyril1999/codenin | 4c30b15f0502ef7238f7230ed5ab50e0955e0584 | 29979db2aec034efea4d54330cdb9a44de1291b8 | refs/heads/master | 2022-06-21T06:49:18.252383 | 2020-05-14T08:52:56 | 2020-05-14T08:52:56 | 261,735,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 716 | cpp | lec3_2.cpp | #include <iostream>
using namespace std;
int main()
{
/* This piece of code is pretty important as it covers the concept
of '!'
here, b=20
inside the 'if' parentheses, would've been considered as true if not
for the '!'sign which flips any non-zero value to zero thus not allowing
the control to enter into the if state... |
0e3ae5ea75344f8a6791774b7faa7a0e0723dd54 | c973979d4270168dbdd9de408bbc288413d2bd1e | /include/file_wrappers.hpp | 408689ff9d654e7b49be1e5371d16ef31d6864ea | [] | no_license | alshai/pfbwt-f | e86adb62d9df238a78a436cc3a4e6a87ff8eb69e | 663eebf1848f86e1dd09f03b4e72d1a53c093d9e | refs/heads/master | 2022-02-07T08:29:50.840442 | 2022-01-18T15:23:55 | 2022-01-18T15:23:55 | 234,143,279 | 4 | 2 | null | 2022-01-27T19:04:43 | 2020-01-15T18:14:56 | C++ | UTF-8 | C++ | false | false | 6,566 | hpp | file_wrappers.hpp | #ifndef FILEW_HPP
#define FILEW_HPP
#include <vector>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <string>
#include "mio.hpp"
void die_(const char* string) {
fprintf(stderr, "%s\n", string);
exit(1);
}
size_t get_file_size_(const char* path) {
if (!strcmp(path, "-")) {
die_("... |
067c16187fe7c8aa6627833577a27f222fe3e7f1 | 375d8de06b741495f4504ec3d7f52e59e93ad387 | /PacMan/include/Application.h | 191466b72ced2c459b200334257861734f3bd2ce | [] | no_license | Victor01Avalos/Graficacion-6o-trimestre- | 88ca5c39c1f02f7dbef915dba015b8ca78e92db7 | c76096c6de26038b9d6856025d802ed7f1e031c5 | refs/heads/master | 2021-01-21T22:01:41.454231 | 2017-06-22T23:08:16 | 2017-06-22T23:08:16 | 95,148,580 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,128 | h | Application.h | #pragma once
#include <iostream>
#include "Object3D.h"
#include "glm/mat4x4.hpp"
#include "glm/gtc/matrix_transform.hpp"
#include "glm/gtc/type_ptr.hpp"
#include "glm/vec4.hpp"
#include "glm/vec3.hpp"
#include "GLFW\glfw3.h"
#define MapaX 20
#define MapaY 15
class Application {
public:
Application();
~Application()... |
298b0e8f4a15401967640b1007d5c6937d664d87 | 95e1371c84994d12c5c82a2741ee30d707f39573 | /tutor/HtmlPageWidget.cpp | d3e7b7268cc935fc030f8f1309b8b4826bc95505 | [] | no_license | dkuzminov/flashback_fork | 790774a95b24926094926630d1f9fd57b19e0dc7 | 64b01858a668cde7c97ae63a6942d939bb3883cd | refs/heads/master | 2021-01-18T03:10:10.037515 | 2017-07-31T06:27:12 | 2017-07-31T06:27:12 | 84,269,588 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 432 | cpp | HtmlPageWidget.cpp | #include <QtWebKit>
#include <QtWebKitWidgets>
#include <QtWidgets>
#include "HtmlPageWidget.h"
HtmlPageWidget::HtmlPageWidget(guimodel::IStep &step, QWidget *parent)
: QWidget(parent),
m_step(step)
{
setupUi(this);
step.GetPageController().MasterWebControl(*webView);
buttonsGroupWidget->setVisi... |
950377853371924202c2b4f5ad93a823b47de3f7 | 4d14eacf69f9f43b106ac6acc4968cf86c1447ed | /C++ Ess/Chapter 1/Lab 1.3/lab 1.3.1.cpp | 85bfb7c7646dc43371fc50758c1d295e4eb46f7e | [] | no_license | lizakrishen/Practice-2017-2018 | 9baf77ffee4dd3b6880fdb41ce3c21cfe1d4087c | 4e25ea817f800f4c72f867e35398e7326676b549 | refs/heads/master | 2021-08-31T00:22:03.162679 | 2017-12-20T00:17:33 | 2017-12-20T00:17:33 | 111,195,992 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 313 | cpp | lab 1.3.1.cpp | #include <iostream>//we included iostream
#include <iomanip>//we included iomanip
#include <string>//we included string
int main()
{
int v=10800; // 3*60*60
int zzz=3*60;// This is a variable to hold the value of 3 minutes in seconds
int zz=5*60;
float siii=3.141526; //This is the value of pi
return 0;
}
|
8fa7e1ce1eb607e002b59127d6b463dd6a90e26b | 7e95dc3b89a87931cd762973b25b352d42cdcf27 | /1.ino | 57c0fb539571c694caef48b74a5dfea63a336ed2 | [] | no_license | farahnabilatt3b/ModemRF | fcdfb4ad7db1a9f2d554e0a8ee466c127ef4f841 | ece1c84afb39d9e562ceb93b94c9c9bfccdd66a8 | refs/heads/main | 2023-01-30T02:09:07.927672 | 2020-12-13T15:31:54 | 2020-12-13T15:31:54 | 321,096,842 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 604 | ino | 1.ino | #include <LiquidCrystal.h>
LiquidCrystal lcd(13, 12, 11, 10, 9,8);
int TEMP_SENSOR=A0;
void setup ()
{
lcd.begin (20,4);
Serial.begin(9600);
lcd.setCursor(0,0);
lcd.print("wireless Serial");
lcd.setCursor(0,1);
lcd.print("Comunnication via 2.4 GHz");
lcd.setCursor(0,2);
lcd.print("modem at P... |
2cbdc26bcf097179aa9a4290788dd76d4af1854a | 819f46d38d0d68381c6ec051aea430be9c65e0f7 | /mainwindow.cpp | cc818a1e7dabb4aeda53cc4fccab4e9b6f0ec047 | [] | no_license | evovch/LMD_processor | f2a745df49c12bd967c7b32377f0c6968038c403 | 72941ee96412c87dc856b4cf5759b849b1d1d8ec | refs/heads/master | 2021-01-10T23:33:36.199981 | 2018-04-06T11:12:08 | 2018-04-06T11:12:08 | 70,593,528 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,961 | cpp | mainwindow.cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QString>
#include <QFileDialog>
#include "cls_LmdFile.h"
#include <fstream>
#include <iostream>
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
std::string readString;
std::i... |
63e399544048027cb127927df1dc6e2b6d7d5c84 | e4acfc74af19f692dd3e12220e6fab951a199b64 | /components/uxvcos_interface/src/EthernetSensor.h | 6ea83a9b1696c518f3097973940fc0118ee03fd5 | [] | no_license | tu-darmstadt-ros-pkg/uxvcos | 222b1d4c84966a04cb9862e7055a612f151c6109 | ac57278f57dc8060950b86a1ab188ff35acdb3cd | refs/heads/master | 2021-01-23T08:39:30.890385 | 2013-08-01T17:37:37 | 2013-08-01T17:37:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,819 | h | EthernetSensor.h | //=================================================================================================
// Copyright (c) 2013, Johannes Meyer and contributors, Technische Universitat Darmstadt
// All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provi... |
a1ee450eeb6966a68c6dd8aea81ddbb3efeba1e1 | 381f12ea221339d585476b9fbadeae9a93a65981 | /Game/GameChange.h | 981d91312637fbd070b471e0e4ac51c6a7f7e720 | [] | no_license | yandongdabin/PlaneGame | 7fc6ae517c507530c68b0e11cdbaee20c969c9a2 | b58894afa86b5c722eadbb444287583cd6fe61ca | refs/heads/master | 2020-12-24T09:52:55.027783 | 2016-11-09T08:35:23 | 2016-11-09T08:35:23 | 73,264,543 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 527 | h | GameChange.h | #pragma once
#include "gameobject.h"
#include "Resource.h"
class CGameChange :
public CGameObject
{
public:
CGameChange(void);
~CGameChange(void);
BOOL Draw(CDC* pDC,BOOL bPause);
static BOOL LoadImage();
CRect GetRect()
{
return CRect(m_ptPos,CPoint(m_ptPos.x+CHANGE_WIDTH,m_ptPos.y+CHANGE_HEIGHT));
}
voi... |
6db3453231e8ccb181eaf10ba6a3c1d65473213b | 10ce753566eb0d524153cb7a596c96e03284d426 | /Manager/UserManager.h | 7b5b54edc61fa6f3e6ffac84f208a45055145ad8 | [] | no_license | JLUCProject2020/cproject2020-group-7 | 3b715659115b960358b3ab6b16d2fc551ce1faf8 | b6fb4844c6ca86ed34d5e25eb6f1f8076e49789b | refs/heads/master | 2022-12-14T20:31:10.252132 | 2020-09-09T15:02:08 | 2020-09-09T15:05:17 | 293,831,315 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,032 | h | UserManager.h | #pragma once
#include "UserAdd.h"
#include "UserEdit.h"
#include "UserDel.h"
#include "UserStatusAdd.h"
#include "UserStatusEdit.h"
#include "UserStatusDel.h"
#include "afxcmn.h"
// CUserManager 对话框
class CUserManager : public CDialogEx
{
DECLARE_DYNAMIC(CUserManager)
public:
CUserManager(CWnd* pParent = NULL); ... |
e78882e3ab67d8f89f46df2ad124173b57cdc0d9 | 4d839f73c42ac060733c7ef44c7e6951ef8a14bf | /Source/Main/ImageConversion.cpp | d293e23d7ed379e639b1b53ccd1eb50d95ff856c | [] | no_license | ZacWalk/ImageWalker | 8252aa6d39bde8d04bb00560082f296619168e98 | 5b7a61a4961054c4a61f9e04e10dc18161b608f4 | refs/heads/master | 2021-01-21T21:42:37.209350 | 2018-06-05T15:59:24 | 2018-06-05T15:59:24 | 3,126,103 | 4 | 1 | null | null | null | null | MacCentralEurope | C++ | false | false | 19,810 | cpp | ImageConversion.cpp | ///////////////////////////////////////////////////////////////////////
//
// This file is part of the ImageWalker code base.
// For more information on ImageWalker see www.ImageWalker.com
//
// Copyright (C) 1998-2001 Zac Walker. All rights reserved.
//
/////////////////////////////////////////////////////////... |
448cda3e6474bc2e195a16d6238c0ea43e10b118 | 3188d2b4e8e9869c80819e8a3d99ebace8adfd06 | /(July)30_Days_Challenge/BestTimetoBuyandSellStockwithCooldown.cpp | 1afd1ed997c618ab77582e1ac2abb4eeae91326f | [] | no_license | Divyalok123/LeetCode_Practice | 78ce9ba0deb8719b71111e17ae65422d76d2a306 | 2ac1dd229e7154e5ddddb0c72b9bfbb9c897d825 | refs/heads/master | 2023-06-30T08:55:33.369349 | 2021-08-01T06:17:06 | 2021-08-01T06:17:06 | 256,864,709 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,028 | cpp | BestTimetoBuyandSellStockwithCooldown.cpp | /*
Say you have an array for which the ith element is the price of a given stock on day i.
Design an algorithm to find the maximum profit. You may complete as many transactions as you like (ie, buy one and sell one share of the stock multiple times) with the following restrictions:
You may not engage in multiple tran... |
35aacc2010e2f7ebf606d634ea22a6dae74744b5 | e542522d4bcddbe88a66879a7183a73c1bbdbb17 | /Others/Google_competition/Codejam/2021/Round/2/C/solve.cpp | d70964ee1c9cc39a566c9860313078dc869f10c4 | [] | no_license | ishank-katiyar/Competitive-programming | 1103792f0196284cf24ef3f24bd243d18536f2f6 | 5240227828d5e94e2587d5d2fd69fa242d9d44ef | refs/heads/master | 2023-06-21T17:30:48.855410 | 2021-08-13T14:51:53 | 2021-08-13T14:51:53 | 367,391,580 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,240 | cpp | solve.cpp | #include <bits/stdc++.h>
using namespace std;
template <typename T>
T inverse(T a, T m) {
T u = 0, v = 1;
while (a != 0) {
T t = m / a;
m -= t * a; swap(a, m);
u -= t * v; swap(u, v);
}
assert(m == 1);
return u;
}
template <typename T>
class Modular {
public:
using Type = typename decay<de... |
b0d61eb02224829ff756f5f437726b38ee293c9a | ad85d7f9f6e203ab12da9a64b34cb4f19187a202 | /trash_codes/Cpp/static/main.cpp | 8c457c0794abf0a1828b60d42dbf8794efe95197 | [] | no_license | dheeraj-2000/dsalgo | daeb1219c1f902d9a28f0993b191527d7a257c93 | 2b71317fb372ceefdaaa4310217872abc48c5007 | refs/heads/master | 2022-11-08T09:42:24.106938 | 2022-10-31T14:23:03 | 2022-10-31T14:23:03 | 212,872,334 | 94 | 435 | null | 2022-12-03T11:18:05 | 2019-10-04T17:49:40 | C++ | UTF-8 | C++ | false | false | 176 | cpp | main.cpp | #include<iostream>
using namespace std;
// extern int s_variable;
static int s;
void dunct(){
}
int main(){
// cout<<s_variable<<endl;
cin>>s;
cout<<s;
}
|
c97ec2a15b6ae96b27c7397ae73507bde3f64afd | 3b95023ca6a40060f5ab5520e569c0708a51e409 | /list.cpp | 529e944d1001ea11eb2376c1c78657cfa1810cd6 | [] | no_license | kkubkko/paralelko2 | 4c19157d3f8e6b170292777b3321946ac1a64941 | 97fd448f8314960435c90312b42efd6e2a61cc79 | refs/heads/master | 2021-03-12T22:08:29.471109 | 2015-06-16T21:52:29 | 2015-06-16T21:52:29 | 35,576,542 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,967 | cpp | list.cpp | /*
* File: list.cpp
* Author: Lukáš Junek
*
* Created on 8. březen 2014, 22:11
*/
#include "list.h"
/*
* Dokument obsahuje triviální funkce pro obsluhu seznamu vláken,
* které nejsou potřeba zvášť komentovat.
*/
List::List() {
m_poc_polozkek = 0;
m_first = 0;
m_last = 0;
... |
eb8223503064e344ef6ecb0de7a4d7419e3ebd46 | cb7d0de772b4cb805707823d42cecff3d9d2fe2b | /student.h | cbc131b306519636b54c40beae9f1ccd1bf1683e | [] | no_license | sam-mcanelly/homecoming_timer | 4ca05b454b1a91e84acbe7be0d35065b69a73ac6 | bd6abf17aceffed0d25059a52f03f27cc6738b20 | refs/heads/master | 2021-05-29T18:09:23.123015 | 2015-09-21T22:41:55 | 2015-09-21T22:41:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,108 | h | student.h | #ifndef STUDENT_H
#define STUDENT_H
/* importing QString for use with name and card number */
#include <QString>
#include <QTime>
#include <sstream>
/*----------------------------------------------
*
* ===========student.h==========
*
*
* Student class definition with member variables
* and funct... |
0d42bc0c23608d1b385131f4c00b05a7c9bff15b | 9b3affbcebf4c3f481f4b01d9737ee67dc7d54b0 | /Plot/Source/PlotEditor/Private/Hierarchy/SPlotHierarchyView.h | 27972f5bb931138b39bd8b885275a99508c293fe | [] | no_license | 977908569/Plot | d9e7e6118b32735a7637f71df89b8c9cfe33ddbf | 940b5d19246c1f8346a86584214d57f5f1b68e81 | refs/heads/main | 2023-02-08T16:24:52.844132 | 2020-12-31T06:20:20 | 2020-12-31T06:20:20 | 325,729,532 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,280 | h | SPlotHierarchyView.h |
#pragma once
#include "Input/Reply.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "Widgets/SCompoundWidget.h"
#include "Misc/TextFilter.h"
#include "Framework/Views/TreeFilterHandler.h"
#include "PlotEditor.h"
#include "Components/Widget.h"
#include "SPlotHierarchyViewItem.h"
class SPlotHierarchyView : pub... |
892fc70d306a4fd13e3cd47d41488c269eb6eb5b | 4406a56319b2e63302977ca92ef0ad2fb115eab7 | /LeetCode_Monthly_Challenge/April/C++/Week_2/Partition List.cpp | 1da2883796b91d562a7a7af6eda55cf9e31251bf | [] | no_license | rohan-khurana/Algorithms | 1796fdbad987e1c8ac9ff4a15f146eba1aadf750 | aed6b572aba88672912b6932da85b192dfb84732 | refs/heads/master | 2023-05-13T02:45:14.338722 | 2021-06-08T17:25:46 | 2021-06-08T17:25:46 | 262,344,996 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,342 | cpp | Partition List.cpp | /*Given the head of a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x.
You should preserve the original relative order of the nodes in each of the two partitions.
Example 1:
Input: head = [1,4,3,2,5,2], x = 3
Output: [1,2,2,4,3,5]
Example 2:
Input: he... |
063fd80dae5563d947b01ade99687bf72bca7969 | 4cb86b79b4631cf84a44ede6f11d514776d10db1 | /3rdparty/grapevine-foundation/include/Grapevine/Material/CubemapResource.hpp | f9f8b02b12caf50e6359e97471bde79dd44ffa52 | [] | no_license | vladimir-stepanov/facemask | efb37aad4601f2de9a1ddb53b47b8c1ce0faddc1 | 92bdf29410f9136b0a66a328aceafa1f0cd9fbf5 | refs/heads/master | 2020-06-27T06:23:30.825477 | 2017-07-18T08:39:53 | 2017-07-18T08:39:53 | 94,244,670 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,028 | hpp | CubemapResource.hpp | /**
* Copyright (C) 2013-2014 Huawei Technologies Finland Oy.
*
* This is unpublished work. See README file for more information.
*/
#ifndef GRAPEVINE_MATERIAL_CUBEMAPRESOURCE
#define GRAPEVINE_MATERIAL_CUBEMAPRESOURCE
#include <string>
#include <vector>
#include "Grapevine/Resource/Resource.hpp"
#include <Grapev... |
a5ac1f3a44cd7a74115b4e02e39af988a7ce034f | eec122d20ba720420c648de7fe068954b7e9db85 | /cprogram/reversestring.cpp | db31a494ccce9e53c22d68fe529052aa21eb8cf3 | [] | no_license | lydiawilson25/JProject | 6a5276716e4883a0af7b4bbe3e5e9190b2cecea8 | 4a0177df8125f1794b3e2aabbf41548a2ad4887d | refs/heads/master | 2021-01-10T18:31:59.065354 | 2015-08-29T01:44:47 | 2015-08-29T01:44:47 | 41,561,897 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 238 | cpp | reversestring.cpp | #include<iostream>
int main() {
char *str="lydia";
//char *rev = reverse(str);
}
char reverse(char *str){
char *end =str;
char tmp;
if(str){
while(*end){
++end;
print("value of end %c" end);
}
--end;
}
return end;
}
|
7ca586ee2a4a30e0def1f81413fc95cad6a37b49 | 5505658019e2057d56bc754410b3ad6cd69df391 | /source/tsflie.cpp | bd2fd910082d040cf4bc4267f2d5b17fb09bcc5c | [] | no_license | liuchuxiong/TsAnalysor | 7401bba2fa33e6912d4ca6d6b78894db9e2da08b | 439527d5762e72f7099ed3fa68c611a06952bdc0 | refs/heads/master | 2023-08-16T22:59:30.758152 | 2016-07-04T06:47:10 | 2016-07-04T06:47:10 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,084 | cpp | tsflie.cpp | //作者 蔡砚刚 20160622 xiaoc@pku.edu.cn
#include <stdlib.h>
#include "tsfile.h"
#pragma warning(disable: 4996) // POSIX setmode and fileno deprecated
FILE *g_ts_file = NULL; //ts 原始文件
FILE *g_ts_ts = NULL; //打印每个ts的详细信息
FILE *g_ts_video = NULL; //输出视频流信息
FILE *g_ts_audio = NULL; //输出音频流信息
FILE *g_ts_out... |
97068640ff858b926c8c17f66f9cf025dc7c95be | 1985d0b696cd7e6a3c66f0c7fcb8522e732eee12 | /appseed/audio_alsa/audio_alsa_wave_in.h | e8cd60ba37ded70fef9be951908a6647c9491f39 | [] | no_license | ca2/nodeapp-linux | effe36935623cd820647c7738b66d0bfc026d0b2 | 9fb4c8093afa846ea526aa06354f05c5b34949c7 | refs/heads/main | 2022-12-21T10:05:47.101457 | 2018-11-10T22:11:47 | 2018-11-10T22:11:47 | 98,114,367 | 14 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,458 | h | audio_alsa_wave_in.h | #pragma once
namespace multimedia
{
namespace audio_alsa
{
class CLASS_DECL_AUDIO_MMSYSTEM wave_in :
virtual public snd_pcm,
virtual public ::multimedia::audio::wave_in
{
public:
wave_in(::aura::application * papp);
virtual ~wave_in();
vi... |
277bc153d1712d4c3b717212c44bcf76a1686f29 | 23f75340ae3b4f03ad3dba55e7a722dc0ef68ccf | /49-Camera/wwEmailWithAttachment.hpp | 372da2a1932c4540edd2c367eb6139f5baf98eb3 | [] | no_license | FMXExpress/CPP-Cross-Platform-Samples | 5f0283a5c73f621e32e6bf3f641c9c2dfd85024b | bb9a9807a3baf663c91bd8ff1b95cd4188bbc8ad | refs/heads/master | 2022-10-05T20:35:39.004542 | 2022-09-22T00:10:55 | 2022-09-22T00:10:55 | 219,104,851 | 8 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 2,494 | hpp | wwEmailWithAttachment.hpp | // CodeGear C++Builder
// Copyright (c) 1995, 2018 by Embarcadero Technologies, Inc.
// All rights reserved
// (DO NOT EDIT: machine generated header) 'wwEmailWithAttachment.pas' rev: 33.00 (Windows)
#ifndef WwemailwithattachmentHPP
#define WwemailwithattachmentHPP
#pragma delphiheader begin
#pragma option push
#pr... |
9bc6a81b4cde8b778c3e23731d853e209e307186 | 534ed34a71d11e6eb6c91857ce3ab331ebfa6373 | /Qbert/RedBall.cpp | 68af60b169358c7f648ff93fac6e70f97779400a | [] | no_license | JaakkoKaikkonen/Qbert | f9b3d39f2e1a5b16b105c43fa45bfc0719e8c342 | a938d81e83308b1faace7a6ca76bc26a55227051 | refs/heads/master | 2020-04-15T14:24:55.925088 | 2019-07-26T02:51:41 | 2019-07-26T02:51:41 | 164,754,788 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,171 | cpp | RedBall.cpp | #include "RedBall.hpp"
namespace Game {
RedBall::RedBall(gameDataRef data, int spawnDelay)
: Enemy(data, spawnDelay)
{
enemy.setTexture(this->data->assets.getTexture("Enemy"));
enemy.setTextureRect(RED_BALL_JUMP);
enemy.setOrigin(enemy.getGlobalBounds().width / 2, enemy.getGlobalBounds().height / 2);
e... |
ab24f550d289d594e723de7b869f85f9c1b485fe | acc532b234aef1b473ea9dcb62d1416cfb939e58 | /Calculator/C++ Files/Integer.cpp | 73c95a6183362c502e33accc3b261c062b2a9b86 | [] | no_license | BanerjeeVikrant/CalculatorV2 | 7ceaea7b880020e19e6a76ac4af63ba8eb879a2a | b4fc1642de11f8b87782114b8b1cca00d136229b | refs/heads/master | 2022-11-13T21:16:46.239581 | 2020-07-08T09:13:04 | 2020-07-08T09:13:04 | 278,043,615 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,835 | cpp | Integer.cpp | //
// Integer.cpp
// Calculator
//
// Created by Vikrant Banerjee on 2/1/20.
// Copyright © 2020 Vikrant Banerjee. All rights reserved.
//
#include "Integer.hpp"
#include "Fraction.hpp"
Value* Integer::add(const Value* other){
const Integer *intOther = dynamic_cast<const Integer*>(other);
if (intOther) {
... |
10a756fb2f30cc11f57b98c3f3bbaf4d74b84eb4 | ea89955e343ced5e705b4a338039e658a4ba67cb | /Source/Behavior/Behavior.h | 64daf40edab6f7f840b103d05aef5bfa8c9dfa70 | [] | no_license | kennethdmiller3/videoventure | 775ce24ee4aebe3dfc65876a3fc9abb93f29b51d | 7182b78fde61421c48abc679ef6f2992e740d678 | refs/heads/master | 2021-06-03T19:26:26.704306 | 2020-07-25T05:37:02 | 2020-07-25T05:37:02 | 32,195,803 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,550 | h | Behavior.h | #pragma once
#include "Task.h"
// forward declaration
class Controller;
class Brain;
class Behavior : public Task
{
protected:
unsigned int mId;
Controller *mController;
public:
Behavior(unsigned int aId, Controller *aController)
: mId(aId)
, mController(aController)
{
}
virtual ~Beh... |
a91beede95579a5cb0e16f4395bf7ec30f1e4c4b | e84d0dcbd2e5b73f300c9a570843c01b3a26173f | /SLY MOTOR/ModulePlayer.cpp | 0ba927d0708f1556fee3686342e393d9591465f7 | [] | no_license | MoyaSly/SLY-MOTOR | c5206fe5a1f84239d22640d392c5e6b168f61ef0 | 337a136e4f5cc64e7db8b65cb3f8aded6531176c | refs/heads/master | 2020-04-11T03:01:25.730121 | 2016-10-14T16:25:47 | 2016-10-14T16:25:47 | 68,018,387 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,288 | cpp | ModulePlayer.cpp | #include "Globals.h"
#include "Application.h"
#include "ModulePlayer.h"
#include "Primitive.h"
#include "PhysVehicle3D.h"
#include "PhysBody3D.h"
ModulePlayer::ModulePlayer(Application* app, bool start_enabled) : Module(app, start_enabled), vehicle(NULL)
{
turn = acceleration = brake = 0.0f;
}
ModulePlayer::~ModuleP... |
92ffd4abc2a064974f5109af89ffa1b46aa23480 | 08e2d7d0b3ffc78d3fee8633f02583b94e756262 | /include/DataStructure/HeaderInfo.hpp | 8f2c28ea1dae239d9c0b9fa95eb5d7993afd634f | [] | no_license | Alexej/Cpp2020 | 582b4909d36ad04b5a01353a1af8cafad2037012 | facd9b3fed0ec3a29276fb8bd18b2d9fe4561cce | refs/heads/master | 2022-11-21T09:38:05.388007 | 2020-07-18T18:03:22 | 2020-07-18T18:03:22 | 279,686,054 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 336 | hpp | HeaderInfo.hpp | #ifndef H_HEADERINFO
#define H_HEADERINFO
#include <stdint.h>
namespace Cpp2020::DataStructure
{
class HeaderInfo
{
public:
HeaderInfo() = default;
HeaderInfo(int32_t gho, int32_t cdlib);
int32_t globalHeaderOffset_;
int32_t compressedDataLengthInBits_;
... |
c59028e61ba0ce2514fb7735107edac291d8a882 | 191460258090bcabe392785948025887696ccd1b | /src/xenia/kernel/fs/stfs.h | 505d7dfd691475089213d2dfa4ada30d1f70ac04 | [] | no_license | DrChat/xenia | 1b81ab13298229cb568c1385774f47792a802767 | 0dc06a7e6fedaa4dd7bbe4e3c34bc288a58f6c49 | refs/heads/master | 2020-04-05T18:29:57.710202 | 2015-05-20T05:31:37 | 2015-05-20T05:31:37 | 34,922,300 | 5 | 5 | null | 2015-05-01T20:21:14 | 2015-05-01T20:21:14 | null | UTF-8 | C++ | false | false | 5,341 | h | stfs.h | /**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2014 Ben Vanik. All rights reserved. ... |
06429636f41565bad1b9e04f55c0e9557d77d99d | cef24f812db46468c1468b2f14bcd171ff3338eb | /Main.cpp | 118050added9e4982e6b1321c60c80b8a5b8a6fe | [] | no_license | henriquedavid/project_search | b47551e09fcb231757e049c695d1e6acf276db02 | a5ff35e1bfc431e29fe6988f07f6c07b2c569706 | refs/heads/master | 2021-04-06T09:40:30.221315 | 2018-03-20T21:15:58 | 2018-03-20T21:15:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,165 | cpp | Main.cpp | /*
* Programa que possibilita testar 7 algoritmos
* de busca (linear, binaria interativa
* e recursiva, ternária interativa e
* recursiva, jump search e fibonacci search).
*
*/
#include <iostream> // std::cout, std::endl, std::cerr, std::cin
#include <chrono> // std::chrono, std::chrono::system_clock, std::chr... |
c0175c2727010d83a634a2123fbe7c086854c7c3 | b5a59d30d57ae5530c16c3d09e1141e1a72e6f82 | /ir_tst/ir_tst.ino | b50dd3fb036507fbbea785919b66fb45ecc872d2 | [] | no_license | ammanvedi/Autonomous-Bot | eb3dda1af724aaaa2e4f396eea63dcd7a4f64697 | 1ce2867e6eb71f4e725882bc054f0e045114b7ca | refs/heads/master | 2016-09-06T12:49:30.904355 | 2014-02-13T16:04:29 | 2014-02-13T16:04:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,577 | ino | ir_tst.ino | #include <DistanceGP2Y0A21YK.h>
DistanceGP2Y0A21YK Dist;
int distance;
int led1 = A0;
int led2 = A3;
int led3 = A5;
void setup()
{
Serial.begin(9600);
Dist.begin(A4);
pinMode(led1, OUTPUT);
pinMode(led2, OUTPUT);
pinMode(led3, OUTPUT);
//Setup Channel A
pinMode(12, OUTPUT); //Initiates Motor Channe... |
e2dd1dcbf32357b89c95561736f74b7310073107 | d28d31a687f653bf033892e8c84b55d61882741a | /workshops/valdiviezod/unit1/WS01ProgramingFundamentals/ProgrammingFundamentals.cpp | 83fd9f47750f69d3444970e216536529df070d43 | [] | no_license | elascano/ESPE202105-OOP-SW-3682 | 02debcbd73540438ac39e04eb5ed2c4c99c72eb0 | 6198fb3b90faeee6ea502f3eb80532a67cf5739f | refs/heads/main | 2023-08-29T12:30:09.487090 | 2021-09-20T14:40:03 | 2021-09-20T14:40:03 | 369,223,490 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,333 | cpp | ProgrammingFundamentals.cpp | #include<iostream>
#include<conio.h>
using namespace std;
void data();
int sum(int h[5],int);
int h[5],len;
int average(int h[5],int);
int sear();
int main(){
system ("color F0");
cout<<"-----Welcome to my program-----"<<endl<<endl;
data();
cout<<"The sum of the numbers is: "<<sum(h,len)<<endl<<endl;... |
2dc08c4ce0f168004d8cc2cd0f7a7e9ffef72bfc | be2a632b4c514318742ec6a2cbb40bbfa0a98aa6 | /questao1-teobaldo-master/include/roupa.h | fb8d4046b5da45fbcafa99c5567a6fc89487082b | [] | no_license | joicyoliv/LP-Laboratorio3 | cc45183f4df6ff807658ed4a1396ef4b40f649c2 | 19c13b46bd0fc6bcb32c00f0cf5ca71009881461 | refs/heads/master | 2020-03-17T10:40:21.265742 | 2018-05-15T16:33:05 | 2018-05-15T16:33:05 | 133,514,926 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,736 | h | roupa.h | /**
* @file roupa.h
* @brief Arquivo cabecalho com as definições dos métodos da classe roupa derivada da classe produto
*
* @author Joicy Oliveira
* @since 11/05/2018
* @date 13/05/2018
*/
#ifndef ROUPA_H
#define ROUPA_H
#include "produto.h"
/**
* @class Roupa derivada de Produto
*/
class R... |
16cc803d8ac00175f95b0c6f821b9629290d5455 | 964c99be141f47493862ee9a3b2ea63da7e138a0 | /third-party/loki-lib/loki/Allocator.h | 02ece5ea63ae3e2247fc1172a2eb73c3c76f6b74 | [
"BSL-1.0"
] | permissive | rpavlik/util-headers | a9b66f8114849a07dce6bf168d781f07ef86020b | 1a8444782d15cb9458052e3d8251c4f5b8e808d5 | refs/heads/main | 2022-03-13T07:13:49.607510 | 2022-03-11T18:11:32 | 2022-03-11T18:11:32 | 26,022,592 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,104 | h | Allocator.h | ////////////////////////////////////////////////////////////////////////////////
// The Loki Library
// Copyright (c) 2008 by Rich Sposato
//
// Permission to use, copy, modify, distribute and sell this software for any
// purpose is hereby granted without fee, provided that the above copyright
// notice appe... |
7ef2c380adba81d141665e6fa070d76440c8f28e | ea8cccb7e8b88d4050db16463c971c8df0380a3e | /Color.cpp | 5d87aa11b6b9e4352d765ce4bf96eace7c3ed7fc | [
"MIT"
] | permissive | FourChar/Ando | 9bcbe9dbf99fc6dbb1b1d0ed233859b7112a3640 | e391f547bd0d0d0dc71f5fccb6ed7287bfc6d92e | refs/heads/master | 2021-01-17T12:56:01.199566 | 2017-06-30T06:05:30 | 2017-06-30T06:05:30 | 84,074,930 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,221 | cpp | Color.cpp | #include "Color.hpp"
namespace ando {
Color::Color() {
this->uColor[0] = this->uColor[1] = this->uColor[2] = this->uColor[3] = 0;
}
Color::Color(const Color &col) {
for (int i = 0; i < 4; i++)
this->uColor[i] = col.uColor[i];
}
Color::Color(uint8_t uColor[4]) {
for(int i = 0; i < 4; i++)
t... |
17f3cc8fe3dcd88161115f843c4bea1abab3d0b0 | 4eafb81121efac1ee76d03e01d19bf0b6ad0378f | /ooSockets/src/OProperties.hpp | 190b34414183e0774c5c88c79dd75efb6763b815 | [
"MIT"
] | permissive | yuckify/uav_vision | c14c760a9e2681aeffe7afee9fa31041e506b1f0 | dce7f096b82c5295aa97c911238501f184c4940e | refs/heads/master | 2020-05-18T15:40:07.141407 | 2011-06-07T19:26:54 | 2011-06-07T19:26:54 | 1,391,221 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,599 | hpp | OProperties.hpp | /* Copyright (c) 2010 Michael F. Varga
* Email: michael@engineerutopia.com
* Website: engineerutopia.com
*
* 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, includi... |
5db08111d2b0aba662fb5a4f1206ab0a75bebd45 | d04a93f31f9567b21872df686349ace0beb8c871 | /rpuk-master/RPUK.Altis/config_files/CfgAtms.hpp | 20eea8b83006bc85d26b16b327569cb9b1cc52d2 | [] | no_license | SYNCO-ArmA3/rpuk-master | 3e1bbcec27c910d10bf5374fe0635e718b542fe9 | e2c47374cb4d68d074a4d1892dba2a2daf39e538 | refs/heads/master | 2021-06-10T20:22:56.515205 | 2016-12-31T01:13:11 | 2016-12-31T01:13:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,382 | hpp | CfgAtms.hpp | /*
* @File: CfgAtms.hpp
* @Author: Ciaran "Ciaran" Langton <email@ciaranlangton.com>
*
* Copyright (C) Ciaran Langton 2016 - All Rights Reserved - https://www.roleplay.co.uk
* Unauthorized copying of this file, via any medium is strictly prohibited
* without the express permission of Ciaran "Ciaran" Langton <email@ci... |
6b2f8412987286bc0b8ce329f011056c677c861a | 47267247675fb109e262a8497ad8cdb880628eb3 | /leetcode/alibaba.cpp | f9416fdaf09d3f54a274ceb7a1ce66555d8e6e16 | [] | no_license | bkyileo/algorithm-practice | 2aa461f6142fe92b2619f31643ee470f901e320a | 616e4db3f4f0004288441805572c186ef64541d8 | refs/heads/master | 2021-01-21T21:00:44.011317 | 2017-11-02T02:20:12 | 2017-11-02T02:20:12 | 92,297,914 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 563 | cpp | alibaba.cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
return 0;
}
vector<int> target;
bool dfs(BinTree* root,int i)
{
if(!root)return false;
if(i==target.size()&&!root->l&&!root->r)return true;
if(root->v==target[i])
{
if(dfs(root->l,i+1))return true;
if(dfs(root->r,i+1))return true;... |
892980741aa9f14dc286b5ba2560d2261bd8aa86 | 2cae54fe441ad0e84b8df6917153bbe3c81ae986 | /4thought/4thought.cpp | 92eb615fc460fa6cb9569e328605aef14b77bdce | [
"MIT"
] | permissive | omarchehab98/open.kattis.com-problems | 3cb08a475ca4fb156462904a221362b98c2813c9 | 0523e2e641151dad719ef05cc9811a8ef5c6a278 | refs/heads/master | 2020-03-31T04:23:06.415280 | 2019-10-29T00:50:08 | 2019-10-29T00:50:08 | 151,903,075 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,405 | cpp | 4thought.cpp | #include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
int eval(int o, int a, int b) {
switch (o) {
case 0:
return a * b;
case 1:
return a / b;
case 2:
return a + b;
case 3:
return a - b;
}
return 0;
}
void solve(int n) {
vector<char> operators... |
212911779210ca7a7addb5be98316fcb13fda45d | c7c73566784a7896100e993606e1bd8fdd0ea94e | /pandatool/src/lwo/iffInputFile.cxx | f00dbf546935e30cac5cdd4179f29db1f3dacbdd | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | panda3d/panda3d | c3f94df2206ff7cfe4a3b370777a56fb11a07926 | 160ba090a5e80068f61f34fc3d6f49dbb6ad52c5 | refs/heads/master | 2023-08-21T13:23:16.904756 | 2021-04-11T22:55:33 | 2023-08-06T06:09:32 | 13,212,165 | 4,417 | 1,072 | NOASSERTION | 2023-09-09T19:26:14 | 2013-09-30T10:20:25 | C++ | UTF-8 | C++ | false | false | 7,789 | cxx | iffInputFile.cxx | /**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file iffInputFile.cxx
* @au... |
ce12d7a076583eb4b8cfbc823e8ec4260963c28a | 182cd131f236d25fcc3fad4bbd95464e33c8b270 | /primo.cc | 7018a11a32e2b70634adb37d59cbf0cf61fd0d9d | [] | no_license | FisicaComputacionalI/20171024-clase-fegala | e648c48813b2df34b8662536d9da28b8826b8a6a | 4db2a119582785b0d36b8e29cfec74ac44fab75f | refs/heads/master | 2021-07-17T16:05:47.502000 | 2017-10-24T19:02:00 | 2017-10-24T19:02:00 | 108,166,935 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 448 | cc | primo.cc | //Programa para comprobar si un nùmero es primo
#include <iostream>
using namespace std;
int main()
{
long N=12;
long Flag=0;
long divisor=0;
cout<<"Inserte un nùmero "<<endl; cin>>N;
for(long i=2; i<=N/2; i++)
{
if (N%i==0){
Flag=1; divisor=i; break;}
}
if(Flag==1){
cout<<"Tu nùmero no es prim... |
80208c9a62b5e5046bfddd8918a303b853acef59 | 8239562e9d1620ae942db148f7a5775874fa1b55 | /1953.cpp | c5568a2ac827d18cf39eece0e3c7e6fb3c2b8e09 | [] | no_license | Higumabear/POJ | 1510d3dde88c3595d869cbd88fb12e138411c0c2 | e5d0823f00e5e1a0cc16b8652abb37ea823cb23a | refs/heads/master | 2020-04-01T19:25:04.098270 | 2017-11-22T02:18:56 | 2017-11-22T02:18:56 | 16,761,319 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 965 | cpp | 1953.cpp | /*
* 1953.cpp
*
* Last update: <05/16/2013 23:36:00>
*/
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <climits>
#include <cfloat>
#include <map>
#include <utility>
#include <set>
#include <iostream>
#include <memory>
#include <string>
#include <vector>
#include <algorithm>
#include <functional>
#i... |
f93b2db2f6d4b90998af5d25a7f89ccf8292afb5 | acc3f19bd25c01b1e8c861ed6f0af09d1861caa6 | /dialogs/FindDlg.h | a8bb0a4a18149ea22e73f5d1709df1fc80cb4d08 | [] | no_license | nickgammon/mushclient | 7da44c02f2ebaedd38273e0c1f67a8a155a1f137 | 5f1ca253cf6f44b65caeafd9f2ad7a4b87817c8e | refs/heads/master | 2022-11-11T14:57:20.924735 | 2022-10-30T00:32:03 | 2022-10-30T00:32:03 | 481,654 | 152 | 94 | null | 2023-09-06T03:35:59 | 2010-01-21T03:28:51 | C | UTF-8 | C++ | false | false | 1,346 | h | FindDlg.h | #if !defined(AFX_FINDDLG_H__84E45A73_B390_11D0_8EBA_00A0247B3BFD__INCLUDED_)
#define AFX_FINDDLG_H__84E45A73_B390_11D0_8EBA_00A0247B3BFD__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// FindDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
/... |
89687f0803387a98aebdd96b3ce5b3bd248a5844 | 71a86fcbfe4e10f7fcf7cd4537d5fd45b39a2146 | /Solovev_Platonic_Solids/Solovev_Platonic_Solids/MatrixMethods.cpp | 91026805b5c87253c282a973fa7a4617b2540556 | [] | no_license | fr0ga/Platonic_solids | 5e99893dc763cf3c86cc7fe66682116fc8419dbc | 08ae85419701dc6983e82a02f0c8c67fc14cc035 | refs/heads/master | 2021-01-11T16:58:36.402153 | 2017-01-22T10:26:17 | 2017-01-22T10:26:17 | 79,710,492 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 3,586 | cpp | MatrixMethods.cpp | using namespace System::Drawing;
#include "math.h" // cos, sin
// Студент: Соловьев Андрей
// Группа: БПИ122(2)
// Семинар 5: 3D моделирование тел вращения и платоновых тел
// Дата: 23.10.2015
// Среда разработки: Visual Studio 2013
// Реализованы алгоритмы вращения, сдвига, масштабирования
// и проецирования тел вращ... |
a40bfeb63c169b0391ab19fb06a43a9a13bfe550 | 32f2e4051d32c2217f805036ab3ef7ac7cbe4625 | /OpenGL/Helper.cpp | 8f307e53a1e1d5761c16483ddc2b9b69b86bfe1b | [] | no_license | Haoasakura/PGTR_OpenGl_Bullet | f84879921681a544986f7cf4743f75c3e3f32d1c | a7a39f6ab70263f298a8718f71747c100d16d903 | refs/heads/master | 2020-03-23T07:16:56.473444 | 2018-07-17T09:23:36 | 2018-07-17T09:23:36 | 141,260,762 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 984 | cpp | Helper.cpp | #include "Helper.h"
glm::mat4 getSphereModelMatrix(btRigidBody* sphere)
{
float r = ((btSphereShape*)sphere->getCollisionShape())->getRadius();
btTransform t;
sphere->getMotionState()->getWorldTransform(t);
float mat[16];
glm::mat4 ret(1.0);
t.getOpenGLMatrix(mat);
ret = glm::scale(ret, glm::vec3(r, r, r))... |
2cd4b1783b9e8ba733f067d8790bc3329f0d3ad9 | eea72893d7360d41901705ee4237d7d2af33c492 | /src/geoutil/g3read/testG3CallFile.cc | e824c3d02e4261c5d1c92e8fa7b8c982dfa52b8d | [] | no_license | lsilvamiguel/Coral.Efficiencies.r14327 | 5488fca306a55a7688d11b1979be528ac39fc433 | 37be8cc4e3e5869680af35b45f3d9a749f01e50a | refs/heads/master | 2021-01-19T07:22:59.525828 | 2017-04-07T11:56:42 | 2017-04-07T11:56:42 | 87,541,002 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 629 | cc | testG3CallFile.cc | #if __GNUG__ >= 2
# pragma implementation
#endif
#include "CsInit.h"
#include "CsG3CallFile.h"
int main(int argc, char *argv[]){
CsInit* init = CsInit::Instance(argc, argv);
CsRegistrySing *reg_ = CsRegistrySing::Instance();
std::cout << "Test program for G3call List file reader." << std::endl;
CsG3CallFile*... |
5d71a5841b4f4e41078c41939c5433cc3cc6c720 | 52f1bf1b1abf672227d71d6b96f24f3d66085259 | /chapter06/is_palindrome_test.cc | cc95624cb280cf5b0106b7a94f8f9cd1b08a148f | [] | no_license | loganstone/accelerated-cpp | e7e4bf7830c3212af0ff6c4ee28f86a3568d6919 | 65d98fe909aceefce72e8c047d37a52b2125893b | refs/heads/master | 2020-04-08T14:40:44.403175 | 2019-01-14T09:13:51 | 2019-01-14T09:13:51 | 159,447,169 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 461 | cc | is_palindrome_test.cc | // Copyright 2018, loganstone
#include <iostream>
#include <string>
#include <vector>
#include "is_palindrome.h"
int main() {
std::vector<std::string> v;
v.push_back("civic");
v.push_back("eye");
v.push_back("level");
v.push_back("madam");
v.push_back("rotor");
v.push_back("loganstone"); // false
f... |
5ebf7bd03809b3ef333e2a75897f02a1cb08f0e1 | 2609137765a5fb9a7646361e47d1c5f68440faa3 | /src/CTA.convert_hessio_to_VDST.cpp | c50873e451fb1013e1ce4db52cc3863b970159a0 | [
"BSD-3-Clause"
] | permissive | Eventdisplay/Eventdisplay | 6133a1fcac44efb37baf25f6d91d337c1965fcd2 | 50e297561ddac0ca2db39e0391a672f2f275994b | refs/heads/main | 2023-06-24T03:58:48.287734 | 2023-06-14T06:29:25 | 2023-06-14T06:29:25 | 221,222,023 | 15 | 3 | BSD-3-Clause | 2023-08-23T15:17:56 | 2019-11-12T13:17:01 | C++ | UTF-8 | C++ | false | false | 107,687 | cpp | CTA.convert_hessio_to_VDST.cpp | /** CTA.convert_hessio_to_VDST
* short a program to convert sim_telarray files (hessio) to EVNDISP DST format
*
*
* Author of skeleton (as part of the hessio distribution): Konrad Bernloehr
*
* Author of modifications for eventdisplay: Gernot Maier (DESY)
*/
#include "initial.h"
#include "io_basic.h"
#incl... |
b5c042e607a3ac1c6bbe148ebdd50d683167c7f9 | d90cc5b23233e1a6f48bc2de2d8831370d953a9f | /HACKEDGame/Source/HACKED/InGame/AI/SR_LS/SecurityRobot_LS.cpp | 74e719e8f2756785c2a826de0f15d23b011c69aa | [] | no_license | LJH960101/JHNet_HACKED | d1389fd9303932eda57b9742d75fc82a5543035a | 13962fc4dc16ad4d852c09bec7a85be6a8b0f9a0 | refs/heads/main | 2023-06-15T00:43:43.398914 | 2021-07-04T08:22:38 | 2021-07-04T08:22:38 | 326,329,710 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,149 | cpp | SecurityRobot_LS.cpp | // Fill out your copyright notice in the Description page of Project Settings.
// Classfication : SecurityRobot using (Laser Sword)
// Weapon : Laser Sword
// Range : Short
#include "SecurityRobot_LS.h"
#include "InGame/AI/HACKED_AI.h"
#include "SR_LS_AnimInstance.h"
#include "../SMR_AIController.h"
#include "InGame... |
4226813a22bcd4c1a192ae32067bda219a4e87b7 | 3a5f43ec453e0fa2873ef82b5ab2e52aa6aaf869 | /Project 5 - Inheritance/Bear.h | 59cc024ec5da6539c72bb379166bee037a4b094b | [] | no_license | ke-d/Cplusplus-Projects | 8091f95ba2dd2e65254a54c96198ba544d5eb16c | dc6fc9bc5813a7f628da11cbd38c1c808afdd131 | refs/heads/master | 2021-03-24T13:53:05.033616 | 2016-11-14T20:45:38 | 2016-11-14T20:45:38 | 66,525,086 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 405 | h | Bear.h | /*
* Bear.h
*
* Created on: Oct 31, 2016
* Author: Kenny Do
*/
#ifndef BEAR_H_
#define BEAR_H_
#include "Mammal.h"
class Bear : public Mammal {
public:
/**
* Precondition:
* None
* Postcondition:
* Constructor for Bear
*/
Bear();
/**
* Precondition:
* None
* Postcondition:
* Re... |
f3f32994bc82904a7bd47be47205d5d1cca3a275 | aa2201be6fb519b6b617ac0c7cc4a84c8154d571 | /src/Grafics/ImageToGrafics.h | bc61671595ea667f6cabe34af5c20dc60f84b106 | [] | no_license | jonasfehr/Laser_tools_V2 | a4dd901b599c05e8fe8ca9a8957a72d1697c7c33 | 4539ab10b443b48b5d17487224af3ae701c7d1d4 | refs/heads/master | 2020-03-28T12:33:27.104103 | 2018-09-11T12:00:55 | 2018-09-11T12:00:55 | 148,310,304 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,149 | h | ImageToGrafics.h | //
// TextToGrafics.h
// Laser_tools_V2
//
// Created by Jonas Fehr on 19/06/2017.
//
//
#ifndef TextToGrafics_h
#define TextToGrafics_h
#include "ofxIldaFrame.h"
#include "ofxIldaRenderTarget.h"
class TextInput{
public:
vector<ofxIlda::Poly> polys;
ofFloatColor color;
ofxIlda::RenderTarget ... |
f2c90b326f3399f4c575d9d45ca09e3e7c74c520 | 7156b6909eed95b408f399fc2ee3522d8f1be33d | /StarCraft/Stage.cpp | 383123de9fd4c6010089cf3d83a14bdff61f1c00 | [] | no_license | beckchul/DirectX9_2D_StarCraft | 9cfda97a05dfb5e8619edf59b01773ed71b0238e | 9bb3c21749efa8c1ac3d9d96509b5074a5eee416 | refs/heads/master | 2022-11-15T08:24:33.742964 | 2020-07-13T14:10:59 | 2020-07-13T14:10:59 | 279,316,274 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,793 | cpp | Stage.cpp | #include "stdafx.h"
#include "Stage.h"
#include "TextureMgr.h"
#include "ObjMgr.h"
#include "Factory.h"
#include "BackGround.h"
#include "Mouse.h"
#include "Interpace.h"
#include "Probe.h"
#include "MapResource.h"
#include "Nexus.h"
#include "AStar.h"
#include "CollisionMgr.h"
#include "Zealot.h"
#include "Dragoon.h"
#... |
9ee39b57a9cc4e6f115f4af7af1d4b480c48341b | c55228590659819de99e2d06f89fe2cb31f90dcb | /problemsolutions.hpp | c048aa3a308bc7fc7193ad740d82e83d83ddeaa3 | [
"Apache-2.0"
] | permissive | raoasifraza11/Practice-OnArray-DS | d440ad9904dae0f46bd5309e1c8a2a23e9f4723f | 882e31cccd6b943181dd8e82c0cd31baf160688b | refs/heads/master | 2020-09-15T19:47:04.655435 | 2016-09-04T10:14:43 | 2016-09-04T10:14:43 | 67,281,996 | 0 | 1 | null | 2016-09-04T10:14:44 | 2016-09-03T09:24:21 | C++ | UTF-8 | C++ | false | false | 462 | hpp | problemsolutions.hpp | //
// problem_solution_1.hpp
// AssignmentNo1
//
// ******** problemsolutions.hpp **********
//
//
// Created by Asif Raza on 03/09/2016.
// Copyright © 2016 Asif Raza. All rights reserved.
//
#ifndef problemsolutions_hpp
#define problemsolutions_hpp
#include <stdio.h>
#include <iostream> // <<, >>, cout, ci... |
6f2a20c7a7ef0b06a2895de18d77b2a7321cf2f8 | 4f457fd302f960d7db7228b78910c1bde98460ea | /Codechef/TALAZY.cpp | 5dde27b385a6e36efef62d6a2f726a9875285287 | [] | no_license | pechavarriaa/CP | 36fc174b6c379541d20ecc01cb254c13a917984a | bf65e80f36309aa8b936d805ba97cb048edf049b | refs/heads/master | 2020-06-10T04:18:47.910135 | 2019-10-24T20:55:13 | 2019-10-24T20:55:13 | 76,089,688 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 567 | cpp | TALAZY.cpp | #include <cstdio>
#include <cmath>
#include <cstring>
#include <algorithm>
using namespace std;
int i, j,t,arr[1200];
long long res,m,n,ni,b,fg;
int main() {
scanf("%d",&t);
while(t--)
{
scanf("%lld%lld%lld",&n,&b,&m);
res=0;fg=1;
ni=n;
while(fg && n>0)... |
9de15dece22cf13a5191c663b1b2ab97b07563c7 | 1042718b2da9c125e21542987d451376566fab02 | /b1lib/src/win32/dlfcn.cc | ddadceb3c45af29dd862500b43ff66c236a663f4 | [] | no_license | pingworld/base | be251fca879f3a52bcefb5d0a7606a3d738b2fc1 | aa626c0b8f36ab4dbcb267ecbca1208b8e6cc48d | refs/heads/master | 2021-01-19T01:02:40.820859 | 2016-07-30T07:00:18 | 2016-07-30T07:00:18 | 64,270,360 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,612 | cc | dlfcn.cc | /* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
#include <stdio.h>
#include <windows.h>
#include <stdbool.h>
#include "dlfcn.h"
/*
* Keep track if the user tried to call dlopen(NULL, xx) to be able to give a sane
* error message
*/
static bool self = false;
void* dlopen(const char* p... |
7a9f4dc23f5ac3044bbb8cb9835bb3f38cc6cb83 | 24dbf1229661f54dba50712b9b65443d2fe43dbd | /Leetcode/July LeetCoding Challenge/Day 2 Binary Tree Level Order Traversal II.cpp | df31ce12d8da0072fed5e07fa337377c74131b25 | [] | no_license | royantar0311/Problem-Solving | f55a072ba01f67a7ed136786bce5caceb2d03035 | f1338be55eae2cc4888e31d5155f65c6ceffdf2e | refs/heads/master | 2020-12-21T20:23:43.832945 | 2020-07-02T14:38:33 | 2020-07-02T14:38:33 | 236,548,109 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 910 | cpp | Day 2 Binary Tree Level Order Traversal II.cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode() : val(0), left(nullptr), right(nullptr) {}
* TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
* TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l... |
63a2df5eb96a162dd2a9fd7cc3275e062dd23243 | d71dd68917da0d3dce22a71dd81cace3052c11c7 | /Source/CLI/CLI_Main.cpp | 11c88a25fe9717bb81653aff6f187f248c653126 | [
"BSD-3-Clause"
] | permissive | mipops/dvrescue | 9b17508218904ffafb9a50c48db4bd047d41dfb2 | 5dbc67e460af4d9c794b21dc5da45145923ffde7 | refs/heads/main | 2023-08-21T14:52:57.242835 | 2023-08-14T13:35:11 | 2023-08-14T13:35:11 | 185,495,687 | 70 | 14 | BSD-3-Clause | 2023-08-14T13:35:13 | 2019-05-08T00:06:10 | C++ | UTF-8 | C++ | false | false | 1,075 | cpp | CLI_Main.cpp | /* Copyright (c) MIPoPS. All Rights Reserved.
*
* Use of this source code is governed by a BSD-3-Clause license that can
* be found in the LICENSE.txt file in the root of the source tree.
*/
//---------------------------------------------------------------------------
#include "CLI/CommandLine_Parser.h"
#includ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.