blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8678de4d0883e5994158f32bc5b83c1b77ea8637 | 3668dae2b64353f9aca692ba3a36b68827da7013 | /datatype/bigint.cpp | 380ca3988285605ab626ac7f6c53d48e3455b81e | [] | no_license | chenvictor/acm | 4c74f36bfdc33f3dbc51418b9df1affad2ca98ad | 2ad18f0b8298bdf6eeb95e8d5c1a0ea344679f2a | refs/heads/master | 2023-02-06T20:38:48.178306 | 2023-01-26T07:39:10 | 2023-01-26T07:39:10 | 186,549,193 | 2 | 0 | null | 2021-10-30T07:22:11 | 2019-05-14T05:14:26 | C++ | UTF-8 | C++ | false | false | 4,922 | cpp | #include <bits/stdc++.h>
using namespace std;
#define rep(i,s,e) for(int i = s; i < (e); ++i)
using ll = long long; using ld = long double;
using pii = pair<int,int>; using pll = pair<ll, ll>;
using vi = vector<int>; using vl = vector<ll>;
const char nl = '\n';
const ll LINF = 0x3f3f3f3f3f3f3f3fll; const int INF = (int... | [
"chenvictor1999@gmail.com"
] | chenvictor1999@gmail.com |
d954b8748b7a3835a13cfac2e548f06d57b3c014 | ffa71ee1b886bec5fcec299844d80540ec4697eb | /include/Controleur.hpp | c809d7cb095383e3bdfe6f7050ffdba230cfa37f | [] | no_license | E1drad/GenCell | 8f5b3873c07f22646561e4c8381be5d00541b931 | 07f4bd6e1b2588b897c3f5d6c3c3cb659dec6c61 | refs/heads/master | 2020-06-22T03:07:30.658948 | 2016-12-16T08:24:50 | 2016-12-16T08:24:50 | 74,760,569 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 471 | hpp | /**
* @file Controleur.cpp
* @author Montalvo Araya, Charles-Eric Bégaudeau, Marie Delavergne, François Hallereau, Camille Le Luet, Sullivan Pineau, Charlène Servantie, Sébastien Vallée
* @since 2016
* @brief Définition de la classe Controleur
* $Revision$
* $LastChangedDate$
*/
#ifndef CONTROLEUR_HPP_
#defi... | [
"charles.eric.begaudeau@gmail.com"
] | charles.eric.begaudeau@gmail.com |
908ba937371c50da5cefd627bd5dd59200b4ff40 | 85d6729a8dd89c318f76cbce823f728f4bca02bb | /4/3.1.cpp | fd9423a685f954029c5f5fe20d26c2ab9ffe0fcb | [] | no_license | Ar2221224/numerical-computation | b8fe44276b1cd9b1fed3346284787641499de6d5 | 926e15a4428c3d58031d5f2bd8f244ddd797ee4b | refs/heads/main | 2023-01-02T12:09:45.063912 | 2020-10-30T13:58:14 | 2020-10-30T13:58:14 | 308,643,415 | 0 | 0 | null | null | null | null | ISO-8859-7 | C++ | false | false | 408 | cpp | #include<cstdio>
int main()
{
printf("xi f[xi] 1½Χ²ξΙΜ 2½Χ²ξΙΜ\n");
double x0=2.0,x1=2.2,x2=2.3;
double fx0=0.6931,fx1=0.7885,fx2=0.8329;
printf("%lf %lf\n",x0,fx0);
printf("%lf %lf %lf\n",x1,fx1,(fx1-fx0)/(x1-x0));
printf("%lf %lf %lf %lf\n",x2,fx2,(fx2-fx1)... | [
"noreply@github.com"
] | Ar2221224.noreply@github.com |
097b832f66e72d0e101a45fd199465e83fe2f66c | 44ea78720cf1fbbbb57a204d462f08ef8ccb7c42 | /Others/Chokudai-Speed-Run-002/A/main.cpp | d9cad07af15bf1a5278b31754fb7767c8c85451b | [] | no_license | kironbot/AtCoder | 854a85d55e2d3c0c8ef76589ad905af20d9c567d | 4c05bf806413f5c601baa7432b9d85b102ba34b7 | refs/heads/master | 2021-06-29T16:14:47.667960 | 2020-09-27T06:17:02 | 2020-09-27T06:17:02 | 138,470,049 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 512 | cpp | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
const ll MOD = 1e9 + 7;
const ll INF = 1LL << 60;
#define rep(i, a, n) for (ll i = (a); i < (n); i++)
#define debug(x) cerr << #x << ": " << x << endl;
template<typename T1,typename T2> inline void chmin(T1 &a,T2 b){if(a>b) a=b;}
template<typename T1,t... | [
"sgr.araki@gmail.com"
] | sgr.araki@gmail.com |
5d4d48abbf3888e612704f11f956b228d4cbc389 | 2802f4cecce750f09876346512a8b8ca87acd9ec | /code/inc/mathlib/vec4.h | c734c573fecee0eb11d49284f0e5f3c3fd28c387 | [] | no_license | romak/rsengine | e37b3f6d1f99f6f1114d0600bb8f9fd38afe02f3 | ed7df61e619cf9b332c5b324127be92504fc024c | refs/heads/master | 2021-01-25T04:03:10.373908 | 2015-02-11T20:01:00 | 2015-02-11T20:01:00 | 10,316,540 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 2,590 | h | /*
* Copyright (C) 2009-2014 - Roman Kalynchuk
*
* This file is part of rsengine.
*
* REngine is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later ve... | [
"romankalinchuk@gmail.com"
] | romankalinchuk@gmail.com |
930559fe53eb53813a98162351fafffe88f40595 | a33aac97878b2cb15677be26e308cbc46e2862d2 | /program_data/PKU_raw/44/843.c | 7ddb68e313d3c6e957882e259418b2bb0fb090d2 | [] | no_license | GabeOchieng/ggnn.tensorflow | f5d7d0bca52258336fc12c9de6ae38223f28f786 | 7c62c0e8427bea6c8bec2cebf157b6f1ea70a213 | refs/heads/master | 2022-05-30T11:17:42.278048 | 2020-05-02T11:33:31 | 2020-05-02T11:33:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 304 | c | int reverse(int num){
int k=0;
if(num>=0){
while(num>0){
k=k*10+num%10;
num=num/10;
}
k=k+num;
}
else
{
num=0-num;
while(num>0){
k=k*10+num%10;
num=num/10;
}
k=0-k+num;
}
return k;
}
main(){
int i,n;
i=0;
for(i=0;i<6;i++){
scanf("%d",&n);
printf("%d\n",reverse(n));
}
}
| [
"bdqnghi@gmail.com"
] | bdqnghi@gmail.com |
b2ae17e0054a388aaf431cfa75c931108690561a | b89e9833c98e1e03e765d4e9a0a0abca4442ec6e | /lectures/02-05/ex14/Interface.cpp | 35ac8d849d481da1a638daff11c0989b25a86b70 | [] | no_license | Jvlythical/ECS40 | 3abaf9468c4fee913480be80e083a1da05e9fb6b | cf005acfa9c1655b674e3e2d0feb26e7690dfb84 | refs/heads/master | 2021-01-10T18:46:54.458105 | 2015-09-21T06:08:55 | 2015-09-21T06:08:55 | 42,922,847 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 579 | cpp | // Implementation of class Interface--client receives this file only
// as precompiled object code, keeping the implementation hidden.
#include "Interface.h" // Interface class definition
#include "Implementation.h" // Implementation class definition
Interface::Interface(int v) : ptr (new Implementation(v))
... | [
"lvlichael8@gmail.com"
] | lvlichael8@gmail.com |
f849c9e2da760c1e7d61312514cece8cb92d2e49 | e8943c6892b2a1a5626044ac95fe5f1841833160 | /Gomoku/Gomoku2D/src/main.cpp | e529ba42091be09b53fa0cff9ae077c32e35d176 | [] | no_license | Draym/Gomoku | 2cefc5340ac15ed23ab1dfbe17c56eeaeb8237ce | b2480abf41d2ca78ea76f520ba7c1e9f2160bd42 | refs/heads/master | 2021-01-10T17:07:41.962921 | 2016-01-25T16:13:36 | 2016-01-25T16:13:36 | 50,358,156 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 182 | cpp |
#include "Master.h"
int main()
{
Master master;
try
{
master.init();
master.run();
}
catch (Exception e)
{
e.showError();
master.quit();
getchar();
}
return 0;
} | [
"kevin.andres@epitech.eu"
] | kevin.andres@epitech.eu |
8fb47ea3fbc7a8409755425e44e929380717452b | 879fb3581f03b5c17dd90c68b45751712fbcd671 | /lib/wrap_opencv_cpp/cv_object_detect.h | d3374699d9493ac654267b1031aec8229d4a1777 | [] | no_license | ivilab/kjb | 9f970e1ce16188f72f0edb34394e474ca83a9f2b | 238be8bc3c9018d4365741e56310067a52b715f9 | refs/heads/master | 2020-06-14T07:33:17.166805 | 2019-07-30T16:47:29 | 2019-07-30T16:47:29 | 194,946,614 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,262 | h | /* =========================================================================== *
|
| Copyright (c) 1994-2011 by Kobus Barnard (author)
|
| Personal and educational use of this code is granted, provided that this
| header is kept intact, and that the authorship is not misrepresented, that
| its use... | [
"52473452+ivilab-sync@users.noreply.github.com"
] | 52473452+ivilab-sync@users.noreply.github.com |
6e99ce038dc61aebb5b941da7347bc79c63092bb | 63b1306f99b4d3b0f12d7bac3d7be85ffaabdf77 | /Top Down Shooter/NecromancerSprite.h | 0c1cd1d974289c2be7bbc4047cee12ea355da68c | [] | no_license | Niruz/Top-Down-Shooter | 4cc33a18746181e908e6a58a39a7ee42cc57bc0e | 3bbd96223cd3e1c8dd212457755d0e160bf13b51 | refs/heads/master | 2021-10-19T03:57:18.155039 | 2019-02-17T16:59:13 | 2019-02-17T16:59:13 | 127,650,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 248 | h | #pragma once
#include "AnimatedSprite.h"
class NecromancerSprite : public AnimatedSprite
{
public:
NecromancerSprite(const glm::vec4& position, const glm::vec2& size, Texture* texture, Heading heading);
virtual ~NecromancerSprite();
private:
}; | [
"ext.johan.medestrom@tieto.com"
] | ext.johan.medestrom@tieto.com |
2def4c1641420ea5567e19d8d59f4130e1af3508 | 2f6acc2dfac585975d475e4cf84f92ac75f46430 | /UVaoj/10718.cpp | 5011b030adf417769221033ae0a760e593c70373 | [] | no_license | NextApp/ACM | 1925f47c93e03fccce4943ca1e135b05db8b83cb | fb3013ea631d17b49968e6a8ff93566f4578e36b | refs/heads/master | 2021-05-09T02:53:22.190254 | 2018-01-28T03:48:14 | 2018-01-28T03:48:14 | 119,224,427 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,066 | cpp | #include<iostream>
#include<cmath>
#include<cstdio>
#include<cstring>
using namespace std;
int change(char S[],unsigned int m)//十进制转换成二进制
{
int i=0;
while(m/2)
{
S[i++]=m%2+'0';
m/=2;
}
S[i]=m+'0';
S[i+1]='\0';
}
int main()
{
//freopen("1.txt","r",stdin);
unsigned int N,L... | [
"yupeng@tuya.com"
] | yupeng@tuya.com |
c99cf298500940f7f243859457a151f3ca013842 | 85fd25ed72c1b8b447fea0b0588745173c215774 | /Lab06_Sorts/Sorts.hpp | 91b7d64ce37a2b36c2052c2815ea31520a7a703c | [] | no_license | arjangupta/Programming-II-Labs | 20b2d4ae5dab0066a4a19f1ffc2388d54bf52ea4 | af8ac4eed230e4a11cc394df0b4a963efd571995 | refs/heads/master | 2022-11-22T15:50:45.663686 | 2018-02-05T00:40:13 | 2018-02-05T00:40:13 | 96,052,238 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,289 | hpp | /**
* @file : main.cpp
* @author : Arjan Gupta
* @date : 2015.03.25
* Purpose: Template implementation file for Sorts class, Lab06, EECS 268
*/
template <typename T>
void Sorts<T>::bubbleSort(T arr[], int size)
{
while(!isSorted(arr, size))
{
for(int i = 0; i < size - 1; i++)
{
if(arr... | [
"arjangupta95@gmail.com"
] | arjangupta95@gmail.com |
ed94658585ae3c491c219cf4448533018c058e72 | 6cbcb37a01be949343c44568cbb3e75eb3179e4b | /macro.h | 57011c695c1b6b8b838e6bc3962f9d2ec8b2cadb | [
"OpenSSL"
] | permissive | tursilion/FlipTerm | 6ae4180fe2255c324b2d186a798ab763ebbdcb5b | ce1eb9d3690938f83d295a71667a68abe3014bec | refs/heads/main | 2022-05-04T03:53:31.164738 | 2022-04-28T19:10:30 | 2022-04-28T19:10:30 | 194,863,234 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 355 | h | #ifndef MACRO_DEFINED
#define MACRO_DEFINED
#include "selectable.h"
class CMudView;
class CWorld;
class CMacro : public CSelectable
{
public:
CMacro::CMacro();
CMacro::~CMacro();
// functions
CSelectable *CreateCopy();
int OnActivate(CMudView &rView, CWorld &rWorld);
// member variables
CString m_... | [
"darkmane@harmlesslion.com"
] | darkmane@harmlesslion.com |
f851303b178d23194989a21a7ecbce27cf95b65f | 77dca4c14eceee9ef318ca535abed4f9723c0cfe | /branches/ester-merge/util/msg.cpp | 0e605db6d93769490ed4eb9c50d96560fbb0abef | [] | no_license | BackupTheBerlios/lasergame-svn | b952a7311bca123b411c226faa0e3a01c83e1a6a | 2c04c223aceb7c1224fbb63393003a862b91968c | refs/heads/master | 2020-04-24T10:08:58.722933 | 2005-08-01T08:57:57 | 2005-08-01T08:57:57 | 40,748,419 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,863 | cpp | // vim: set fdm=marker:
/**
* @file
* Message sending & receiving infrastracture (implementation)
*
* @author Zbynek Winkler (c) 2004
*
* $Id$
*
* Messages are sent and delivered through subscriptions Subs. Subs are identified
* by a name (const char*) and stored in a std::map. Each item in the map is a... | [
"zwin@72742d07-e5df-0310-90a3-f1be50577a5f"
] | zwin@72742d07-e5df-0310-90a3-f1be50577a5f |
61aab44138c72d3600ca0b822a836a377e2168ce | 970a7f869cc5b60ae12dd007b6d5aec38f1c3749 | /Lab1/Lab1/Lab1/Source1.cpp | 534e34597b00d5e3a81ae594f7d8263012b331ee | [] | no_license | sunnypatel18/ECE-2036-Lab | 364ab04cc8be413ccba037cc3522a3f75ea88e7a | 3aac19b3ca641e5f45c8212e1de1a147c3858b1d | refs/heads/master | 2021-01-10T03:06:06.580164 | 2015-09-25T02:17:15 | 2015-09-25T02:17:15 | 43,103,627 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 96 | cpp |
# include "stdafx.h"
# include <iostream>
int main (){
cout << "Hello World"
;
} | [
"sunnypatel18@gmail.com"
] | sunnypatel18@gmail.com |
2ef53a5d8ccd615eb90609ba000c6d48a8ceec39 | 27abeaaf0713081f64273ef15af901c95a7b7dd4 | /Data Structure/6.6.cpp | cacda2053463ef04e52e3ddadf713a8753c5a42b | [
"MIT"
] | permissive | HsudongDai/CppHomework | 3dc38ec17d1432c73ca7fd81a0c68911d5497e71 | 52543363a009a46d9606eb8dc69b66e9dce9df16 | refs/heads/master | 2020-05-26T11:24:19.719451 | 2019-06-07T04:09:21 | 2019-06-07T04:09:21 | 188,214,942 | 0 | 0 | null | 2019-06-07T04:09:22 | 2019-05-23T10:45:23 | C++ | UTF-8 | C++ | false | false | 642 | cpp | typedef struct{
BiTree t;
int tag;
//tag == 0, lchild is viewed
//tag == 1, rchild is viewed
}stack;
void search(BiTree bt, ElemType x)
{
stack s[50];
top = 0;
while (bt != NULL && bt->data != x){
s[++top].t = bt;
s[top].tag = 0;
bt = bt->lchild;
}
if (bt -> ... | [
"hsudongdai@tju.edu.cn"
] | hsudongdai@tju.edu.cn |
2f792b18def6894c742933b24f8725bb130c0b0f | ab86269834ce47de0d4eb72dda33329ab3372f5b | /Milestone1/Date.hpp | c5598ccf6e696bbd3430d0ff2d8c3023351d1d83 | [] | no_license | rinanh102/Final-Project | 32cbe3ab264bf43e5e3f3138fd32db727a75a5b9 | 4dc43e1388b165add184eede8c2bc63deca67327 | refs/heads/master | 2020-04-28T02:17:05.023828 | 2019-03-10T23:16:25 | 2019-03-10T23:16:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,613 | hpp | //
// Date.hpp
// Milestone1
//
// Created by henry on 08/03/2019.
// Copyright © 2019 HenryNguyen. All rights reserved.
//
#ifndef Date_hpp
#define Date_hpp
#include <iostream>
using namespace std;
namespace ama {
const int min_year = 2019;
const int max_year = 2028;
const int no_error = 0;
const... | [
"nvqdung@gmail.com"
] | nvqdung@gmail.com |
1e40621af56af828d8e65082058705b59189c782 | b3f8493df748951ccde5ba295f76565b0256901c | /oF_Kinect_02-OpenCV/src/ofApp.cpp | 18d989624d8bbb44ca2252e8f8bfe8c934642f74 | [] | no_license | umisyam/oF_Kinect_Dorkshop | 64a2c5709a2ff4bf10d8dd6c0e01cf9e22c7d06a | 416b3fc89269ef385515176c16b3b304922a401a | refs/heads/master | 2016-08-09T00:11:14.931303 | 2015-11-23T02:28:02 | 2015-11-23T02:28:02 | 46,652,150 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,938 | cpp | //
// openFrameworks + Kinect Dorkshop Fall 2015
// Parsons School of Design
// oF_Kinect_02-OpenCV TEMPLATE
//
// Created by Umi Syam on 11/21/15.
//
// Modified from https://github.com/ofTheo/ofxKinect/tree/master/kinectExample , with GUI interaction
//
#include "ofApp.h"
//------------------------------------... | [
"ume@outlook.com"
] | ume@outlook.com |
90efc3ec37a5a72dfc1a316965c5eb7f2ebf40b5 | 68fc8958c11aa26af44255699874a4757d196d8d | /Pathfinding/Pathfinding.ConsoleApplication/AStar.h | 4f8fda419d4b60e4a4a362a01fa645446d436f8a | [] | no_license | dseftu/Pathfinding | 780f3f9f97b186ac1a0b12852fb7e17743bdeb95 | ee737501dfdc70d863883d8bd5d94e0e8b3ab309 | refs/heads/master | 2021-07-14T11:53:34.809025 | 2017-10-13T21:30:07 | 2017-10-13T21:30:07 | 105,054,035 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 192 | h | #pragma once
#include "DijkstrasAlgorithm.h"
namespace Pathfinding
{
class AStar : public DijkstrasAlgorithm
{
public:
AStar();
AStar(HeuristicsType heuristicsType);
private:
};
}
| [
"dseftu@gmail.com"
] | dseftu@gmail.com |
e6784a70c2df875a6b385fdf0a082d78028eb397 | 3de5a8305b7b332cf3c5e281b3890a4799b754db | /src/main.hpp | bbf0077ed0c42688c232ae2401d2fba24975d535 | [] | no_license | Dangornushi/Proc | 86b9928337393f3b67eed43cfc95fb8aff18eb71 | 419d155365931caf66c0d92620e2ab7b98c9c334 | refs/heads/master | 2023-03-28T23:14:16.855701 | 2021-03-27T00:49:10 | 2021-03-27T00:49:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,597 | hpp | /* 2/5~ */
#pragma once
#include <fstream>
#include <array>
#include <iostream>
#include <string>
#include <algorithm>
#include <vector>
#include <map>
#include <regex>
#include <stdio.h>
#include <stdlib.h>
#include <sstream>
#include <utility>
#include <algorithm>
#include <cctype>
//---------------... | [
""
] | |
9d32be2d7d4aa302f9941301897058cf9771aa2d | 0ab5b3e86ea65a9fb216e7178b3f8ae5fe6b3a1c | /mobile/taf/src/node/BatchPatchThread.h | f3afd9fa9f5fb3ef63df102d4e362664df237e3e | [] | no_license | lineCode/mobile-1 | 197675bcde3d8db021c84858e276fc961b960643 | 66971911b57105b8ef5ad126b089b3fd1cc0f9b0 | refs/heads/master | 2020-03-29T11:02:22.037467 | 2017-02-13T09:40:59 | 2017-02-13T09:40:59 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,927 | h | #ifndef __BATCH_PATCH_THREAD_H_
#define __BATCH_PATCH_THREAD_H_
#include "servant/Application.h"
#include "Node.h"
#include "ServerObject.h"
class BatchPatchThread;
class BatchPatch : public taf::TC_ThreadLock
{
public:
/**
* 构造函数
*/
BatchPatch();
/**
* 析构函数
*/
~BatchPatch();
/**... | [
"zys0633@175game.com"
] | zys0633@175game.com |
f47b58b761d258f38b2ad7437ecb4252d49c4c70 | ead0e501b6ff749157b531818085e5421b7385c2 | /01-Problems-On-C/02_Problems On Digit/001_StaticArray_AdditionOfElement/MainFile.cpp | 57031cc116b1990017b5c39735379f5a7d5ad6b4 | [] | no_license | amoljore7/01-Logic-Building-Program-All | 3b3dabb73a4a7f0f6bed0061c7630027cadb6051 | ea0dea28f530ff823fe9cc08ddd9de3093be9d0a | refs/heads/master | 2020-04-16T13:39:27.412216 | 2019-03-05T21:02:46 | 2019-03-05T21:02:46 | 165,636,748 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 443 | cpp | #include<Stdio.h>
int Add(int*,int);
int main(int argc,char* argv[])
{
int iBrr[10]={0};
int i=0;
int iRet=0;
printf("\t\tEnter 10 Element:\n");
for(i=0;i<10;i++)
{
scanf("%d",&iBrr[i]);
}
iRet=Add(iBrr,10);
printf("\t\t Addition is %d \n",iRet);
return 0;
}
int Add(int *iArr,int... | [
"noreply@github.com"
] | amoljore7.noreply@github.com |
bd8beb048d66b1e224c4e6017a8450005497ec3a | 5098a5bab107adb675b394b06093ed6913921ebc | /SDK/ConsoleScreen_SelectCharacterOnly_classes.h | 4e48ed0a2b142818b618707bb87353d19e5aef66 | [] | no_license | tetosama/DRG-SDK | 87af9452fa0d3aed2411a09a108f705ae427ba1e | acb72b0ee2aae332f236f99030d27f4da9113de1 | refs/heads/master | 2022-03-31T00:12:10.582553 | 2020-01-18T21:21:43 | 2020-01-18T21:21:43 | 234,783,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,282 | h | #pragma once
// Name: , Version: 1.0.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// WidgetBlueprintGeneratedClass ConsoleScreen... | [
"39564369+tetosama@users.noreply.github.com"
] | 39564369+tetosama@users.noreply.github.com |
fd829f7c307439f85666bf040da86cc143db62f7 | 8c1a1b1a69abfe35be6dba5cdbebb0f6ccc28fd9 | /config.cpp | ef39d1262037d34c2f953af2ee94b14dd746eea7 | [] | no_license | Extender/DefaultLibrary | 170eb655c45f6bd1a6713189a70622783a0d1c65 | 24e0d11cdc290e4e643911c778b989c4fc105dc0 | refs/heads/master | 2021-01-17T13:42:19.791746 | 2019-03-30T18:30:09 | 2019-03-30T18:30:09 | 42,184,615 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,569 | cpp | #include "config.h"
config_value_t config::nullValue=new config_value_deref_t(0,0,false);
config_pair_t config::makeKeyValuePair(config_key_t key, config_value_t value)
{
return new config_pair_deref_t(key,value);
}
config_pair_t config::makeKeyValuePair(config_key_t key, int32_t value)
{
return n... | [
"noreply@github.com"
] | Extender.noreply@github.com |
fc921d1b934efe60ebd3985253357c262d8d68ab | 8a6003004be8fb6248b72bf1124da5163e676d35 | /ext/couchbase/operations/document_analytics.hxx | 695507b1e45fd8cdd809f6a84359b0c586a83d85 | [
"Apache-2.0"
] | permissive | kolobock/couchbase-ruby-client | 737e05e6228a7ebb7c5d53c53ff30b62573ff929 | dd2d9e7880bb067e35a1c0514bc819ef1a0773b1 | refs/heads/master | 2022-11-20T10:56:23.660888 | 2020-07-17T10:27:09 | 2020-07-17T12:37:14 | 276,329,973 | 0 | 0 | Apache-2.0 | 2020-07-01T09:07:34 | 2020-07-01T09:07:33 | null | UTF-8 | C++ | false | false | 12,027 | hxx | /* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2020 Couchbase, Inc.
*
* 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
*
* ... | [
"sergey.avseyev@gmail.com"
] | sergey.avseyev@gmail.com |
3c9eaa4a469e74eb7889aec9c3033fbfd8a6cc31 | efc3acac48c5a44fe347290c2b72b7fc552c572e | /include/dcps/C++/SACPP/WaitSet.h | e92efa6410f22810c1835c0b0d7ef37d6cca26d4 | [] | no_license | NaiveSolution/PubSub | 3635316fcaadd62b67dbdb8861cc21042e822204 | 1fa6c0a3cd27a0b1a2bbf1b7f878fdd96ef5daf7 | refs/heads/main | 2023-01-23T12:43:00.865389 | 2020-12-03T05:19:00 | 2020-12-03T05:19:00 | 318,079,990 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,559 | h | /*
* Vortex OpenSplice
*
* This software and documentation are Copyright 2006 to ADLINK
* Technology Limited, its affiliated companies and licensors. All rights
* reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except i... | [
"tariq@localhost.localdomain"
] | tariq@localhost.localdomain |
8ceacda3620b207225926e61265e653998e9a77c | b2f35276556f24665629c9a0fb9f6db50f322b75 | /bm/bmsse4.h | 4ffeea402d34be80032310ead3df1698b4c39ca4 | [] | no_license | F10PPY/HighloadCup2018 | f58dd4f26324f63802dc37a05b26e882627a5d02 | 45ad494f1cbc555c1e51c4c3b90d5baaff49bcc9 | refs/heads/main | 2023-02-04T16:22:48.635061 | 2020-12-19T22:15:48 | 2020-12-19T22:15:48 | 322,939,343 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42,919 | h | #ifndef BMSSE4__H__INCLUDED__
#define BMSSE4__H__INCLUDED__
/*
Copyright(c) 2002-2017 Anatoliy Kuznetsov(anatoliy_kuznetsov at yahoo.com)
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
... | [
"noreply@github.com"
] | F10PPY.noreply@github.com |
41ce7289592d5883b3e79d67d0e96de75101bb8f | 4ab0095796dfe59b9ecd923feeac1f061bf1c049 | /ComandoWhile.cpp | 09e056a73b87d9cfc7287918fcb6cf121b42c102 | [] | no_license | rodrigosts/interpretador-cpp | e0c2146a87d9f660d2f3b4adef4914ad148e1356 | 5a4f7454537d83e5711a9a36d3d0d8212c871ea4 | refs/heads/master | 2021-01-10T04:25:21.586897 | 2015-09-28T01:08:05 | 2015-09-28T01:08:05 | 43,186,342 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,643 | cpp | #include "ComandoWhile.h"
#include <iostream>
using namespace std;
ComandoWhile::ComandoWhile(TabelaHash* mem, string valor, string valor2, string op){
this->valor = valor;
this->valor2 = valor2;
this->op = op;
this->mem = mem;
vect = new vector<Comando*>();
}
ComandoWhile::~ComandoWhile(){
if(mem != ... | [
"rodrigostsrodrigues@gmail.com"
] | rodrigostsrodrigues@gmail.com |
a92839f11c92321af5c587748e30dd6de501f735 | aaebbe73cc851ba9ed8a3493abedb739d122533a | /server/godssenki/common/db_def.cpp | 885e371e14f4833fcfff392e0fa64646c057933e | [] | no_license | coeux/lingyu-meisha-jp | 7bc1309bf8304a294f9a42d23b985879a28afbc0 | 11972819254b8567cda33d17ffc40b384019a936 | refs/heads/master | 2021-01-21T13:48:12.593930 | 2017-02-14T06:46:02 | 2017-02-14T06:46:02 | 81,812,311 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 356,314 | cpp | #include "db_def.h"
#include "db_service.h"
int db_ActDailyTask_t::init(sql_result_row_t& row_){
if (row_.empty())
{
return -1;
}
size_t i=0;uid=(int)std::atoi(row_[i++].c_str());
stamp=(int)std::atoi(row_[i++].c_str());
resid=(int)std::atoi(row_[i++].c_str());
step=(int)std::atoi(row_[i++].c_st... | [
"641311015@qq.com"
] | 641311015@qq.com |
2e501673c5a7da66ceaa44941a1b26d983885038 | 6aac4920e1661e31991395661ae31419cf93ca36 | /source/Geometry.cc | 14be6ea10b184ffb43b7ab90cafba3c35e366446 | [] | no_license | casparschloesser/Analysis | 7338b6ddb57e20b2f01815c8343169e1a801eded | 2ba7464b73aee2d44cf16b6f38ebb1500062df8a | refs/heads/master | 2020-03-22T05:10:48.859562 | 2018-07-02T12:50:50 | 2018-07-02T12:50:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,802 | cc | #include <iostream>
#include <fstream>
#include <stdlib.h>
#include <stdio.h>
#include "Geometry.hh"
using namespace std;
/*
int find_lem(double y, double z){
//for the 311 geometry retun the lem nubmer associated to a certain geometry
int lem =-99999;
int lem_in_module = 4; //num of minimal modules of 4 lems
... | [
"andrea.scarpelli@cern.ch"
] | andrea.scarpelli@cern.ch |
020438535d9a800df39efe2c11eb82a904da0354 | 8effd9d1b31dd91c3bf774e9cb74790f380ec58e | /src/test/accounting_tests.cpp | 96f694d235bc11076392422273a48cb218fa2892 | [
"MIT"
] | permissive | WiseCoinDev1/illum-1.-0 | 79168ae1892b3cdab6d36447a8804f5ed138d703 | af43c5b01732d08f73d0bfb9e83e5cb6de47f865 | refs/heads/master | 2020-03-07T15:41:32.703638 | 2018-04-05T04:47:30 | 2018-04-05T04:47:30 | 127,561,858 | 0 | 0 | MIT | 2018-04-01T20:10:34 | 2018-03-31T18:56:35 | C++ | UTF-8 | C++ | false | false | 4,435 | cpp | // Copyright (c) 2012-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "wallet/wallet.h"
#include "wallet/walletdb.h"
#include "test/test_illuminum.h"
#include <stdint.h>
#include <boo... | [
"4minds@gmail.com"
] | 4minds@gmail.com |
2717abe9245abab6dd16cf842e593f1bf4344d88 | d876dd989107ab970f91023a3c8ccc6fb230121d | /google/cloud/storage/tests/object_plenty_clients_simultaneously_integration_test.cc | 260f770b76ef3e2b0a0ba956171a96d372bc70c6 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | corn2/google-cloud-cpp | f8af319c720219919135610336399de6f99c4216 | 054efad30977e2ca90e735f7aceb052a70f17662 | refs/heads/master | 2022-09-13T13:51:19.178844 | 2020-05-27T20:59:37 | 2020-05-27T20:59:37 | 267,444,529 | 3 | 0 | Apache-2.0 | 2020-05-27T23:08:45 | 2020-05-27T23:08:44 | null | UTF-8 | C++ | false | false | 3,642 | 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in w... | [
"noreply@github.com"
] | corn2.noreply@github.com |
41bf695c8cea6b9a6cfa6b40cdb051bfcc1e8144 | 67b76a9037bd89780a1927e4a557f6cbe6db814b | /clientwork/Interp/skinobj.hpp | 7c5847935c2180034f978d61205ff7e0f7d05c57 | [] | no_license | Pink-Dragon-Labs/DnGClientSource | 9b33f15ff5657b94dfd59b98fabe90750594b8e2 | 8f668a617aa973cbb17c65e43fd56e1918a18588 | refs/heads/master | 2021-02-08T19:27:55.825052 | 2020-01-21T23:50:20 | 2020-01-21T23:50:20 | 244,187,849 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,515 | hpp | //
// skinobj
//
// This file contains the CSkinObj class.
//
// author: Stephen Nichols
//
#ifndef _SKINOBJ_HPP_
#define _SKINOBJ_HPP_
#include "stdafx.h"
// declare any external classes
class CSkinBitmap;
class ISkinObjectDisp;
//
// This class encapsulates the ISkinObjectDisp class and provides a more friendly in... | [
"32891881+STRHercules@users.noreply.github.com"
] | 32891881+STRHercules@users.noreply.github.com |
deed5287c1176095d7ce25f57d04b1bd7e93f22a | 7afa2d3d7c818cbbe310895320ae2a8e9eead004 | /Development/Application/Storehouse/Storehouse/boost/include/boost/mpl/aux_/reverse_fold_impl_body.hpp | 20c4ef6f2e0db513b2d629ad83a5b1c370ace734 | [] | no_license | SokolovaCo/Alfa-stock | 71639bce210027e9528ae2d76edf2884b959f431 | 4b3401235de62db8a81b79b65a297f78333c7dc7 | refs/heads/master | 2016-09-05T22:19:49.197238 | 2012-12-21T23:31:41 | 2012-12-21T23:31:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,724 | hpp |
// NO INCLUDE GUARDS, THE HEADER IS INTENDED FOR MULTIPLE INCLUSION!
#if !defined(BOOST_PP_IS_ITERATING)
// Copyright Aleksey Gurtovoy 2000-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See h... | [
"milchakv@rambler.ru"
] | milchakv@rambler.ru |
107bb56bd91800b82bec0367269f3913ed687b4f | 79ed796f90cdf9ae7e662c4613de16f2b7cd8c6d | /PCB.h | d3fe303f8a421296a7a5a8f623267208c1ba40bd | [] | no_license | cbsfa/PCB | e12a0b952c866a651b399aca7058fdc2d772cdda | 591685bf5875aecdb2071eab476a8aef11cc1814 | refs/heads/master | 2023-02-05T06:42:33.270432 | 2020-12-28T12:18:13 | 2020-12-28T12:18:13 | 325,004,488 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,996 | h | #ifndef PCB_PCB_H
#define PCB_PCB_H
#include <string>
#include <utility>
#include <vector>
#include <iomanip>
#include <iostream>
using namespace std;
class PCBNode//进程结点
{
private:
string ID;//进程标识符
string name;//进程名
int enterTime;//进入时间
int startTime;//开始运行时间
int endTime;//结束运行时间
int needTim... | [
"2233025606@qq.com"
] | 2233025606@qq.com |
f5673a2ba98181da7057332c0af572a92a074550 | 0cc88b6f60e52c2cbd70b64923a1d5f4543c076e | /src/AudioFilterBiquad_F32.h | bfac5a1f2d7cd14617eadda589dbe8ac07faec8c | [
"MIT"
] | permissive | OnkartGromt/Tympan_Library | 133d984d871f957b2cc98110c5a70b8aa22ce9c4 | f476a1e3496e8c17c2a1a9c52e555919d7c388e9 | refs/heads/master | 2020-04-22T03:08:32.434811 | 2019-02-11T17:55:07 | 2019-02-11T17:55:07 | 170,075,343 | 0 | 0 | MIT | 2019-02-11T17:55:08 | 2019-02-11T05:52:52 | HTML | UTF-8 | C++ | false | false | 9,747 | h | /*
* AudioFilterBiquad_F32
*
* Created: Chip Audette (OpenAudio) Feb 2017
*
* License: MIT License. Use at your own risk.
*
*/
#ifndef _filter_iir_f32
#define _filter_iir_f32
#include "Arduino.h"
#include "AudioStream_F32.h"
#include "arm_math.h"
// Indicates that the code should just pass through the audi... | [
"chipaudette@yahoo.com"
] | chipaudette@yahoo.com |
f51fc9a5f25c1f89ab15e5a921636bbe1d136061 | 36c364dea77cddeab2386faaf666fa0fa07ce3bf | /src/player.cpp | e7ccb97d6c5f880086e0f23e6ad51d62c4b55500 | [
"Apache-2.0"
] | permissive | budacalorin/FOX | cb3afff0faee5e86cb2a9c0360343bf74e44d278 | db0d705f903ab8631ee819c9869635ff75a661a9 | refs/heads/main | 2023-07-24T15:39:21.980793 | 2021-09-05T10:15:50 | 2021-09-05T10:15:50 | 380,027,464 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,241 | cpp | #include "../include/player.h"
#include "../include/init.h"
#include <SFML/Audio.hpp>
#include <iostream>
void coliziune_verticala(sf::RectangleShape &forma,bloc blocuri[],int numar_blocuri,bloc blocuri_masina[],int numar_blocuri_masina,float &viteza_y);
void coliziune_orizontala(sf::RectangleShape &forma,bloc blocuri[... | [
"H@Minecraft200"
] | H@Minecraft200 |
914dee2f693a94bb2aa1695fe90edfa48c5c9f35 | 6ced41da926682548df646099662e79d7a6022c5 | /aws-cpp-sdk-iotsitewise/include/aws/iotsitewise/model/BatchGetAssetPropertyValueSkippedEntry.h | 77644a54abd3eb6994210b62b7394bce7b84c8ef | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | irods/aws-sdk-cpp | 139104843de529f615defa4f6b8e20bc95a6be05 | 2c7fb1a048c96713a28b730e1f48096bd231e932 | refs/heads/main | 2023-07-25T12:12:04.363757 | 2022-08-26T15:33:31 | 2022-08-26T15:33:31 | 141,315,346 | 0 | 1 | Apache-2.0 | 2022-08-26T17:45:09 | 2018-07-17T16:24:06 | C++ | UTF-8 | C++ | false | false | 6,597 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/iotsitewise/model/BatchEntryCompletionStatus.h>
#include <aws/iotsitewise/m... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
21bd6416f532f9cc9a518e31b291a460f35f4cc3 | b33589f6868f217fea756c88654b6efeda3e3665 | /include/ksl/flow/pd_scene_flow_cuda.h | d46705bc6b4231120cddbcf4660d909e66a4f193 | [
"MIT"
] | permissive | isabella232/3DKSL | f7b7dde17bb7cd5a8cb8b01fc1695e21ab4fb032 | c0dc5038bf965839e7be2c74e5234e2e6d3c8688 | refs/heads/master | 2023-03-28T11:02:04.933717 | 2021-03-25T18:37:30 | 2021-03-25T18:37:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,710 | h | /*****************************************************************************
** Primal-Dual Scene Flow for RGB-D cameras **
** ---------------------------------------- **
** **
** Copyright(c) 2015, Mariano Jaimez Tarifa, University of Malaga **
** Copyright(c) 2015, Mohamed Souiai, ... | [
"u.goncalves-nunes17@imperial.ac.uk"
] | u.goncalves-nunes17@imperial.ac.uk |
c8695f734da43cd484fd5cf9af581376e7548f72 | d26d1123b54fcd99897384545ba5c64fae2e8ce1 | /Abort.cpp | 27f304091221b386f9da3e395368702a80b196a5 | [] | no_license | kpalani5/School-Projects | c802eb7818fc3a1732b850d3c6dfd4d3d80b2044 | faac5570cd50aae402251f059276c39d4280f6c9 | refs/heads/master | 2016-08-10T09:20:06.171772 | 2016-02-28T21:44:33 | 2016-02-28T21:44:33 | 52,733,420 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 174 | cpp | #include <iostream.h>
#include <conio.h>
void main()
{clrscr();
int fatal_error;
fatal_error=1;
if(fatal_error)
cout<<"fatal error,program aborting....";
abort();
}
| [
"Karthik Perumal Palaniappan"
] | Karthik Perumal Palaniappan |
5ac5202fbbf2b245b636d0b898a4f7561b15a9d2 | b79d48f55bf24fdbca755c12c305a6eb4379a414 | /Computational geometry/check whether 2 line segments intersects_easy.cpp | 6d5bf036bb3c42e46b068b6e9382edb491bf75a5 | [] | no_license | omshakti3159/Competitve-Programming | 0b5ad7c7f9a8d57a003c6e4b1ee9df9097fe6ca8 | 77f6e4731eb68f7df4d9ce639f732d69c91c5abf | refs/heads/master | 2022-12-24T20:11:24.027148 | 2020-10-01T02:40:11 | 2020-10-01T02:40:11 | 300,118,530 | 1 | 0 | null | 2020-10-01T02:37:56 | 2020-10-01T02:37:55 | null | UTF-8 | C++ | false | false | 1,945 | cpp | //============================================================================
// Author : Prateek Agarwal
// Institution : NITJ
//============================================================================
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define TEST int t;scan(t);while(t--)
... | [
"prrateekk@hotmail.com"
] | prrateekk@hotmail.com |
4c30590ac202632f69109830ffc8a3021582be8a | a1cfa6a87722010ed7e77e6e9106095e9bf130dd | /Code/Sources/Objects/terrain.cpp | 30c9a96eb1fc1201cd88f5ca4dd3ab54267f6189 | [] | no_license | jeffeverett/opengl-driving-scene | 092e4575391e21e771bd1bfe269da52ddf50e7e0 | 6b908b53d811e188228c5cc136817e82dfd62ef5 | refs/heads/master | 2020-04-08T19:02:20.238906 | 2019-10-27T06:10:14 | 2019-10-27T06:10:14 | 159,636,484 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,723 | cpp | #include "Objects/terrain.hpp"
#include "Components/physicsbody.hpp"
#include "Components/terrainrenderer.hpp"
#include "Utils/meshcreator.hpp"
#include <stb_image.h>
using namespace Objects;
const float SIZE_X = 128.0f;
const float SIZE_Y = 10.0f;
const float SIZE_Z = 128.0f;
namespace Objects
{
std::shared_pt... | [
"everett.jeff.w@gmail.com"
] | everett.jeff.w@gmail.com |
973a6872d54b3a29dd802d9c45494e1f609bab55 | 28470900ae045a017fbecde98cf9736b435022d4 | /practicePracticum2/6Problem.cpp | 3bcc6225eb5d7e367e3f5e0528c4e00a092fbda9 | [] | no_license | cwong907/CSCI1300 | 4c401d34ba5524365f1e05f771e324944a200422 | 91297de56d8d0d7f3806555704c5d8f62cf26ce5 | refs/heads/master | 2022-11-22T00:27:55.769876 | 2020-07-25T21:48:21 | 2020-07-25T21:48:21 | 282,524,065 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 497 | cpp | #include<iostream>
using namespace std;
/*
Write a function, RemoveHashTag, that takes a string as input and removes all the hashtags (#) characters. The function returns a string value without the hashtag characters.
*/
string RemoveHashTag(string input)
{
string result;
for(int i = 0; i < input.length(); i+... | [
"noreply@github.com"
] | cwong907.noreply@github.com |
ce4978b7452486ce9720b92aae643aca727ebd06 | 2515d628b745d577b8be65a240870867a9fa034d | /cpp/main.cpp | f6ed0048274b7d40fbff6a2b8571b8768865ce82 | [] | no_license | yifanclifford/Bayesian-FIS | 7ad8175ce3363ae176594b408d6db925484d57b2 | 2d7f54a63e5ef5af1bcbdb717c31f59d79e63b76 | refs/heads/main | 2023-07-27T22:55:59.483057 | 2021-08-26T06:51:32 | 2021-08-26T06:51:32 | 397,908,725 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 192 | cpp | //
// main.cpp
// cpp
//
// Created by 陈一帆 on 2020/3/18.
// Copyright © 2020 陈一帆. All rights reserved.
//
#include "sample.h"
#include "metric.h"
int main(){
return 0;
}
| [
"yfchen@nudt.edu.cn"
] | yfchen@nudt.edu.cn |
ad504826b8c645f63bcc40a603b2344012934850 | 197381ad9ce2e3b224d9c40882da6e56b301f180 | /CodeForces/CF 490A.cpp | 8292ace81e8057105435bfcc618370aec18ef090 | [] | no_license | dalalsunil1986/OnlineJudge-Solution | c68ec45acf276478d1fa56dc7bede987bdc224a4 | fb2309c9c90b27dab02bec9d87e0de0a3359c128 | refs/heads/master | 2023-07-16T04:20:55.255485 | 2021-08-28T17:58:22 | 2021-08-28T17:58:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 644 | cpp | #include<iostream>
#include<vector>
using namespace std;
int main()
{
int n,one,two,three,m,value;
cin>>n;
vector<int>vone,vtwo,vthree;
one = two = three=0;
for(int i=1; i<=n; i++){
cin>>value;
if(value==1){
one++;
vone.push_back(i);
}
else if(v... | [
"sajeebsrs@gmail.com"
] | sajeebsrs@gmail.com |
1e635017e532fcfa8e481a2dcc7d4766e01a2c5c | e680718836cc68a9845ede290e033d2099629c9f | /xwzgServerSource/MsgServer/MSGSERVER/WORLDKERNEL/NETWORK2/MsgSyndicate.cpp | e652d821359a51b0bef8b832ee726c2c37cf9402 | [] | no_license | liu-jack/sxkmgf | 77ebe2de8113b8bb7d63b87d71d721df0af86da8 | 5aa37b3efe49c3573a9169bcf0888f6ba8517254 | refs/heads/master | 2020-06-28T21:41:05.823423 | 2018-09-28T17:30:26 | 2018-09-28T17:30:26 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,696 | cpp | // MsgBetOutside.cpp: implementation of the CMsgAtk class.
// 仙剑修,2002.1.8
//////////////////////////////////////////////////////////////////////
#include "AllMsg.h"
#include "WorldKernel.h"
#include "../share/define.h"
#include "MsgSyndicate.h"
#include "I_MessagePort.h"
//////////////////////////////////////////////... | [
"43676169+pablones@users.noreply.github.com"
] | 43676169+pablones@users.noreply.github.com |
6dd6bf46d2a07ee1d7fb0c3839fcfb8ea69bc69f | 52104faaa41a2c394a6aa7e8fd98a84f9d3ec8bf | /Game_Consoles_And_Systems/Rasterizer/lab-env-master/projects/exampleCopy/code/MeshResources.cc | fbccb02fe15e9fddfb13ac9111106d2312839db0 | [] | no_license | FannyNilsson/university-projects | 9ae2b7513707b04193572538e62a4acfc1459d9d | a9af5cf4db15281c5e37b8b89f924aa678aa50da | refs/heads/master | 2020-05-03T16:52:42.151566 | 2019-03-31T19:57:02 | 2019-03-31T19:57:02 | 178,733,553 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,611 | cc | #include "config.h"
#include "MeshResources.h"
#include <cstring>
MeshResources::MeshResources()
{
}
MeshResources::~MeshResources()
{
glDeleteBuffers(1, &Vertex_buffer);
glDeleteBuffers(1, &Index_buffer);
}
MeshResources* MeshResources::CreateCube()
{
Vertex buffer[] =
{
Vertex(Vector3D(-0.5f, -0.5f, -0.5f... | [
"fanny.sigrid.nilsson@gmail.com"
] | fanny.sigrid.nilsson@gmail.com |
226b328423223c06eb49d971602e2078aec96274 | edf69d83a45b4fe0e9ab197ed8bbbd714e597968 | /WGLTest/app.cpp | e263f8f97516e0bb3d316d1805ae4c5878beeea5 | [
"MIT"
] | permissive | yorung/WGLGrabber | 00c4a71f63b0ec83b75b3cf01142bd270f8b0a80 | 8887cfc95d2f2040205a084473b96f53f46cf591 | refs/heads/master | 2016-09-05T23:07:07.884930 | 2015-03-28T14:56:08 | 2015-03-28T14:56:08 | 29,426,770 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,223 | cpp | #include "stdafx.h"
App app;
void App::Draw()
{
glClearColor(1, 1, 0, 1);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
waterSurface.Draw();
SwapBuffers(wglGetCurrentDC());
}
void App::Create()
{
glClearColor(0.0f, 0.2f, 0.5f, 1.0f);
glEnable(GL_DEPTH_TEST);
glDepthFunc(GL_LEQUAL);
glDepthMask(GL_TRUE)... | [
"yorung@gmail.com"
] | yorung@gmail.com |
32e89a2bb6ff677503603265096b504ef6b73c7c | 635c344550534c100e0a86ab318905734c95390d | /wpiutil/src/main/native/thirdparty/memory/include/wpi/memory/detail/container_node_sizes.hpp | 37949ca4e12f5524fe07d55dbb933832af49f99f | [
"BSD-3-Clause"
] | permissive | wpilibsuite/allwpilib | 2435cd2f5c16fb5431afe158a5b8fd84da62da24 | 8f3d6a1d4b1713693abc888ded06023cab3cab3a | refs/heads/main | 2023-08-23T21:04:26.896972 | 2023-08-23T17:47:32 | 2023-08-23T17:47:32 | 24,655,143 | 986 | 769 | NOASSERTION | 2023-09-14T03:51:22 | 2014-09-30T20:51:33 | C++ | UTF-8 | C++ | false | false | 415 | hpp | // Copyright (C) 2015-2021 Müller <jonathanmueller.dev@gmail.com>
// This file is subject to the license terms in the LICENSE file
// found in the top-level directory of this distribution.
#ifndef WPI_MEMORY_DETAIL_CONTAINER_NODE_SIZES_HPP_INCLUDED
#define WPI_MEMORY_DETAIL_CONTAINER_NODE_SIZES_HPP_INCLUDED
#include ... | [
"noreply@github.com"
] | wpilibsuite.noreply@github.com |
19e79b972adc2b4b5b6250e31eec2e58eac00f0a | d9f3417f3a0bcb2ed534283d33d7a45780e9b5db | /examples/Cassie/osc/osc_walking_gains.h | 54a6a8fdd9ef73c99e3d1f16cb8398ac48d07d8e | [
"BSD-3-Clause"
] | permissive | Zhenyuan-Fu/dairlib | 9b33064f2bacbd6b55edf1c0e181b5b75009b8b9 | 1fb87cf0f40de3730e3462e0fb38e7a16a61f644 | refs/heads/master | 2023-07-12T19:26:19.775163 | 2021-08-24T17:13:58 | 2021-08-24T17:13:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,941 | h | #include "drake/common/yaml/yaml_read_archive.h"
#include "yaml-cpp/yaml.h"
using Eigen::MatrixXd;
struct OSCWalkingGains {
int rows;
int cols;
double mu;
double w_accel;
double w_soft_constraint;
std::vector<double> CoMW;
std::vector<double> CoMKp;
std::vector<double> CoMKd;
std::vector<double> Pel... | [
"noreply@github.com"
] | Zhenyuan-Fu.noreply@github.com |
39f8c19606f5b3387bdc8d10ec6e549499fa1d38 | 499a4f2c530023a39ed7a0d2d6077d570c37e651 | /SDK/RoCo_GooglePAD_structs.hpp | 125370a533bbac542a5c2800c81f6a05262c851a | [] | no_license | zH4x/RoCo-SDK | e552653bb513b579ab0b1ea62343365db476f998 | 6019053276aecca48b75edd58171876570fc6342 | refs/heads/master | 2023-05-06T20:57:27.585479 | 2021-05-23T06:44:59 | 2021-05-23T06:44:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 251 | hpp | #pragma once
// Rogue Company (0.59) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "RoCo_Basic.hpp"
#include "RoCo_GooglePAD_enums.hpp"
#include "RoCo_Engine_classes.hpp"
namespace SDK
{
}
#ifdef _MSC_VER
#pragma pack(pop)
#endif
| [
"30532128+pubgsdk@users.noreply.github.com"
] | 30532128+pubgsdk@users.noreply.github.com |
8aadb7f29f141a8f7034aa9504d0e4fbc6695658 | 1f75d58f0cab967052dba401d0e23976f6411010 | /add_grade.h | 6d22f99ebc5d2354d13071f759db0efa99da0617 | [
"Apache-2.0"
] | permissive | Axonsystem/OpenPaathshala | 89ce8afeb56012cbffee88ca67b475f64c8e8af1 | d03c116f6bd30717a53deb59f372941d20c1a323 | refs/heads/master | 2021-01-16T18:29:18.249210 | 2014-02-16T12:02:07 | 2014-02-16T12:02:07 | 16,883,345 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 283 | h | #ifndef ADD_GRADE_H
#define ADD_GRADE_H
#include <QWidget>
namespace Ui {
class Add_Grade;
}
class Add_Grade : public QWidget
{
Q_OBJECT
public:
explicit Add_Grade(QWidget *parent = 0);
~Add_Grade();
private:
Ui::Add_Grade *ui;
};
#endif // ADD_GRADE_H
| [
"sailendra@sailendra-Extensa-4630Z.(none)"
] | sailendra@sailendra-Extensa-4630Z.(none) |
584decedfc77464e750dace526eae20936f00ef6 | 7293badd5f820891c5b07fb7712515da392c1b53 | /Geometry/isAsquare.cpp | dc550e26de3fe5e04820ffe0c7dab3a1607abcf5 | [
"MIT"
] | permissive | jack17529/Algorithms-and-Data-Structures | 061127f0c2fa857dfc7a59a6839b52546835f2a8 | 8e095905c9161f271241d82379194b484d566e3c | refs/heads/master | 2020-03-24T23:43:05.034176 | 2018-07-31T09:41:09 | 2018-07-31T09:41:09 | 143,151,271 | 1 | 1 | MIT | 2018-08-01T12:11:15 | 2018-08-01T12:11:15 | null | UTF-8 | C++ | false | false | 1,985 | cpp | #include <bits/stdc++.h>
using namespace std;
#define oo 666666666
pair<int,int> R(pair<int,int>O, pair<int,int>P, int deg)
{
P.first-=O.first;
P.second-=O.second;
//int x = round(P.first*cos(D)-sin(D)*P.second);
//int y = round(P.first*sin(D)+cos(D)*P.second);
while(deg!=0)
{
int x = ... | [
"noreply@github.com"
] | jack17529.noreply@github.com |
ddb5d69626fc000970f22ed06edb19bde4d17225 | 5061c3bae7ef34a0a708f1b4139e7733b7308de6 | /altona_wz4/altona/examples/_dx11/tesselate/main.hpp | 4345cd74ba75ce7ba6663f59cfabc419a159baec | [
"LicenseRef-scancode-public-domain",
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | petterroea/fr_public | c532d234668b8acd75a68e2a5c258c9e0b593630 | 1a13121cf9b215068da375f5e6618755444a94dc | refs/heads/master | 2020-12-25T00:56:13.370462 | 2012-05-02T02:52:22 | 2012-05-02T02:52:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,448 | hpp | /*+**************************************************************************/
/*** ***/
/*** This file is distributed under a BSD license. ***/
/*** See LICENSE.txt for details. ***/
/***... | [
"kb@kebby.org"
] | kb@kebby.org |
04246485bbb6d4c417ac3e4d1d8335e770fd2152 | d0a0170ff260d47a7d251216723a5e8be798544f | /day03/t02/sumOfArguments.h | d1245b5b8d1bd8dcd3445d70d6c83f0b2e3cc721 | [] | no_license | mmasniy/Maraphon-CPP-Ucode | c5d5a86c53f21b268c2b138fe3023e138dfecc4c | 4611c10c342d808c3f48770058f11eced2839068 | refs/heads/master | 2022-12-09T23:49:07.052325 | 2020-08-30T16:24:08 | 2020-08-30T16:24:08 | 288,213,058 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 114 | h | #pragma once
template <class T, class ...Ts>
T sumOfArguments(T t, Ts... args) {
return t + (args + ...);
}
| [
"masnijmaksim@gmail.com"
] | masnijmaksim@gmail.com |
680998ea619932c6c641c5aaecdc3c0fa7d8f894 | 115c5ee776f2bbeea89353d887bd27b02c7dd862 | /Internet AppWare Source Code/AW16_1/MEMIO/COLORPAL.H | 72c2f2b972947ece8ed4507819847ffa9578923a | [] | no_license | benbucksch/AppWare | f9a894140d6bc95d2d27f5ed7d8df51fc57b9709 | 321ced6e94030c25ba36c781dc92ddb7c2508c09 | refs/heads/master | 2020-07-12T23:31:34.160706 | 2014-10-08T17:17:07 | 2014-10-08T17:17:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,493 | h | #if !defined( __COLORPALETTE_H )
#define __COLORPALETTE_H
#include "classdef.h"
#include "memclass.h"
#include "position.h"
#define MAXCOLORS 16
#define SCREENCOLOR -1
#define INVERTEDCOLOR -2
struct COLORINFO
{
short int index;
COLORREF rgb;
};
class COLORPALETTE:public MEMORY{
friend ... | [
"jpbrennecke@gmail.com"
] | jpbrennecke@gmail.com |
c162a3ad63c82bfa5a660ef367b84b17a6388207 | ce38a6c110b59801ec6e3a7f0b390511a3d049cb | /src/Persistence/src/Dao/SQLite/SQLiteFlightDao.cpp | deed2093155df1296d6e124f4cf21839b4d21f86 | [
"MIT"
] | permissive | priestd09/SkyDolly | 15c13e2cc3c1caa9cb64bc9a795fd69c5e2ff6bc | 75caa54fa9fcbaae04b6605c3c1a68e0cb9a0c16 | refs/heads/main | 2023-07-12T09:35:32.402642 | 2021-08-18T08:43:26 | 2021-08-18T09:21:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,917 | cpp | /**
* Sky Dolly - The Black Sheep for your Flight Recordings
*
* Copyright (c) Oliver Knoll
* All rights reserved.
*
* MIT License
*
* 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
* ... | [
"starsky.hutch@gmx.ch"
] | starsky.hutch@gmx.ch |
369b635da4c2cdf62ee90454390e9c64d3d0e7f8 | cc66ef6a3ecb3e7740733c57210a5f133c6ed750 | /35 数组中的逆序对.cpp | 963a95036901ab6304696d8e326204b1429bf7e3 | [] | no_license | Kody851/Get-offer | eaa455902356d6679bba6cfa7e094e4de695f9bc | b2ca2fcc144a2a866b351ad3e989a1b5ecaac1b9 | refs/heads/master | 2021-07-07T03:20:51.464797 | 2020-08-04T16:07:12 | 2020-08-04T16:07:12 | 166,334,318 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,669 | cpp | 知识点:
归并排序:参考 归并排序 - 如果天空不死 - 博客园 https://www.cnblogs.com/skywang12345/p/3602369.html ; 《大话》
class Solution {
public:
void mergeSort(vector<int>&a){
mergeSortUp2Down(a, 0, a.size()-1);
}
void mergeSortUp2Down(vector<int>&a, int start, int end)
{
if(a.empty() || start >= end) return;
int mid = (end + start)/... | [
"noreply@github.com"
] | Kody851.noreply@github.com |
1b737abd40e1f7a5ee508098f4b34ed07250c292 | 0aef26863f142bef75a0e4aaf7da76fc95e3d8ae | /crypto_aead/seakeyakv2/ref/Keccak-f.h | 3a25fca35716a62996007b2067be4c6da2dfc0c7 | [] | no_license | jedisct1/supercop | 94e5afadc56ef650d7029774a6b05cfe2af54738 | 7c27338ee73a2bd642ba3359faaec395914175a2 | refs/heads/master | 2023-08-02T20:12:39.321029 | 2023-05-30T03:03:48 | 2023-05-30T03:03:48 | 179,046,113 | 23 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 28,042 | h | /*
KeccakTools
The Keccak sponge function, designed by Guido Bertoni, Joan Daemen,
Michaël Peeters and Gilles Van Assche. For more information, feedback or
questions, please refer to our website: http://keccak.noekeon.org/
Implementation by the designers,
hereby denoted as "the implementer".
To the extent possible u... | [
"github@pureftpd.org"
] | github@pureftpd.org |
3b0cc386234872b164823036ba2ca8ce575c87cc | 43e6aa33767367098f43e96b12109a4d13ae1820 | /30 Days of Code Challenges/Day 29: Bitwise AND.cpp | 787e3279d29a8d6a95c479755f1c90fa1831b4f1 | [] | no_license | whye/hackerrank | 5522581cf46e651a3eba899b6c157e92e36dd3cb | 42993c397c5b5917017fd94ebbae89231a33358b | refs/heads/master | 2021-01-20T04:50:29.713295 | 2017-05-25T06:44:57 | 2017-05-25T06:44:57 | 89,730,508 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 984 | cpp | //https://www.hackerrank.com/challenges/30-bitwise-and
#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>
#incl... | [
"noreply@github.com"
] | whye.noreply@github.com |
c8533739894e49514e2401ec685ff70a68b95e5f | 9918a5c81dd1d60e3e6431e31b9c1faa0220ed3c | /SDLAPP1/SDLAPP1/Ball.cpp | 1b557b7f3481286bd751ad24fe293468f2316ef4 | [] | no_license | teo0098/Bouncing-the-ball | 0386d1254dd7f27d9b6367e3b51834097333df1b | 5728803b2dfc6405bf04dcd3cbb592508a95bc8a | refs/heads/master | 2020-09-03T02:31:32.116001 | 2020-04-05T11:15:58 | 2020-04-05T11:15:58 | 219,362,458 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,785 | cpp | #include <iostream>
#include "Ball.h"
#include <cmath>
using namespace std;
Ball::Ball() {
this->defaultX = 400;
this->defaultY = 100;
this->width = 20;
this->height = 20;
this->moveX = 4;
this->moveY = 4;
}
void Ball::ballChangeXY(float& dX, float& dY) {
this->defaultX = dX;
this->defaultY ... | [
"noreply@github.com"
] | teo0098.noreply@github.com |
32ce708a57c07f005fd783750d685269fb18ef5e | 0f0dbd04f57e3b7804915fba01e0d5e05d663ce5 | /XYZEngine/src/XYZ/API/OpenGL/OpenGLBuffer.cpp | cc4bfc5cd052e4984bcc4edb11de99043cd5bdec | [
"Apache-2.0"
] | permissive | blizmax/XYZEngine-Public | 1585ccdcc779ca2d2a4084dcf8923df6f11cd919 | b6b72708af69b07ed2c04003a06de8289ccb486b | refs/heads/master | 2023-06-07T07:08:48.280760 | 2021-07-01T20:02:16 | 2021-07-01T20:02:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,586 | cpp | #include "stdafx.h"
#include "OpenGLBuffer.h"
#include <GL/glew.h>
#include "XYZ/Renderer/Renderer.h"
namespace XYZ {
OpenGLVertexBuffer::OpenGLVertexBuffer(void* vertices, uint32_t size, BufferUsage usage)
: m_Size(size), m_Usage(usage)
{
m_LocalData = ByteBuffer::Copy(vertices, size);
Renderer::Submit([=](... | [
"simongido1@gmail.com"
] | simongido1@gmail.com |
e3899e431d33862c0836aad3a303477e1d949b03 | 48dc4953e424f2e422b36965bf80b8c0b6bf74f2 | /mcpp/mcpp3/ex02/main.cpp | 40beed8e683d9855003dad9f92a39d67db1f6171 | [] | no_license | Krcdb/42 | 21b47feee856aa1ffbebef2e6330146624db6532 | 896d5681bfd2f636f84cc3ba9e9d9a89e169d2d4 | refs/heads/master | 2023-05-01T18:50:38.411080 | 2023-03-03T11:35:51 | 2023-03-03T11:35:51 | 125,866,691 | 1 | 0 | null | 2023-04-23T20:01:03 | 2018-03-19T14:02:15 | C | UTF-8 | C++ | false | false | 2,081 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.cpp :+: :+: :+: ... | [
"medo.mrt@gmail.com"
] | medo.mrt@gmail.com |
66482215b82c66904633ae0985257587ecb1067a | 5f5bb4fe58ca6c9758e5ecd4f1acd7f3af7a41a4 | /codeforces/contests/round/617-div3/e2.cpp | 593a19ffe1ca2ec0cdbf1f73c79ba8ff0f27f2fd | [
"MIT"
] | permissive | tysm/cpsols | 61a93de55dbeb2d92d92c80681d6615521d3d0ba | 262212646203e516d1706edf962290de93762611 | refs/heads/master | 2023-03-10T01:04:39.409948 | 2021-02-23T21:49:55 | 2021-02-23T21:49:55 | 202,269,911 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,178 | cpp | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define double long double
using ii = pair<int, int>;
using vi = vector<int>;
using vd = vector<double>;
using vb = vector<bool>;
using vii = vector<ii>;
using vvi = vector<vi>;
using vvd = vector<vd>;
using vvb = vector<vb>;
using vvii = vector<vii>... | [
"ysm.thalles@gmail.com"
] | ysm.thalles@gmail.com |
98220dc8cc367fedf6ee2253400131ee21cd4b86 | ef187d259d33e97c7b9ed07dfbf065cec3e41f59 | /work/atcoder/abc/abc059/B/answers/233616_jonathanirvings.cpp | eada43b8cd73fd41753f52b48851dd2d1d1e57a3 | [] | no_license | kjnh10/pcw | 847f7295ea3174490485ffe14ce4cdea0931c032 | 8f677701bce15517fb9362cc5b596644da62dca8 | refs/heads/master | 2020-03-18T09:54:23.442772 | 2018-07-19T00:26:09 | 2018-07-19T00:26:09 | 134,586,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,791 | cpp | //start of jonathanirvings' template v3.0.3 (BETA)
#include <bits/stdc++.h>
using namespace std;
typedef long long LL;
typedef pair<int,int> pii;
typedef pair<LL,LL> pll;
typedef pair<string,string> pss;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef vector<pii> vii;
typedef vector<LL> vl;
typedef vector<vl>... | [
"kojinho10@gmail.com"
] | kojinho10@gmail.com |
85f2323203e8b2881601af5a16a87db4297341f3 | b75929d6f5964bf5d1cf0ac200042975eaf8d10c | /Self - Study Qt Quick & QML/qml-cpp-integration/ex-slots/ellipseitem.cpp | 2991408fcad8d5199c9b1ab990a022bc69f468e5 | [] | no_license | chaunnt/Qt-Training-Document | c5c367dce3a0cefd3bddea9483064f3b6a890543 | 3a97f08748bdb8f2637db1fd355a85c31fd359e7 | refs/heads/master | 2021-08-03T01:07:07.695018 | 2021-07-28T03:04:24 | 2021-07-28T03:04:25 | 195,323,895 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 903 | cpp | /*************************************************************************
*
* Copyright (c) 2016 Qt Company
* All rights reserved.
*
* See the LICENSE.txt file shipped along with this file for the license.
*
*************************************************************************/
#include <QtGui>
#include "e... | [
"chaupad@gmail.com"
] | chaupad@gmail.com |
21b3085475d2867775947a50742ea366b0b001b2 | 74e5534d8ee8d117cca20a3f02ee5f214ddf9ed9 | /AutoSatTracker-ESP32/Sensor.h | e96b9ee01e724e684f7e654af5e76ca3209d1c27 | [] | no_license | j3ster2019/AutoSatTracker | ef63b4499501164c0e7543de3289ccfaed69b177 | 9279a9cd50c4f7183146004f128ebf47dd38368f | refs/heads/main | 2023-08-18T09:12:28.175183 | 2021-10-06T14:16:31 | 2021-10-06T14:16:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,496 | h | /* this class contains information about the 9 dof spatial sensor
*/
#ifndef _SENSOR_H
#define _SENSOR_H
#include <Wire.h>
#include <WiFiClient.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_BNO055.h>
// In case you have this as a compass
#include <Adafruit_LSM303DLH_Mag.h>
#include "AutoSatTracker-ESP.h"
#inc... | [
"gij@jk.priv.no"
] | gij@jk.priv.no |
65edde4d46577996c107fd3cc63d31bfda3a5ac8 | 500bc830cf0f0bb3a57e27ca747be88b3294cf27 | /exprtk_testgen.cpp | 50cc424a9a8fff3c3a64fdd34b864c08519b9896 | [] | no_license | angelowang/exprtk-extras | 8e4b9c92dec49852089319b728e0e50eecf7ab4d | 771ed3e3a6d358b221a3b8af017e18f7503ce8f1 | refs/heads/master | 2020-03-22T19:52:15.888129 | 2018-04-30T08:39:24 | 2018-04-30T08:39:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,831 | cpp | /*
**************************************************************
* C++ Mathematical Expression Toolkit Library *
* *
* Evaluated Test Expression Generator *
* Author: Arash Partow (1999-2018) ... | [
"partow@gmail.com"
] | partow@gmail.com |
4b49574864da3faafcdac269cd1bf0bcd2ef8e84 | 5848da791c4023f1132f209382647bc9623ef449 | /PcdViewer.h | 75c96dc1f0f12289c734838f6418706e088b3b4c | [] | no_license | jjzhang166/Plot2D3DPair | 899c706f21535a97434973dc31586bb6641fa099 | fbf6e85afcfc694d4617ad1161d063b536de26f7 | refs/heads/master | 2022-05-28T03:41:51.561833 | 2020-04-27T09:42:37 | 2020-04-27T09:42:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 939 | h | #ifndef __PCD_VIEWER__
#define __PCD_VIEWER__
#include <pcl/visualization/pcl_visualizer.h>
#include "typedef.h"
class PcdViewer
{
public:
PcdViewer(const std::vector<Eigen::Vector3i>& color_map);
~PcdViewer();
bool run(const std::string& pcd_file);
void get3DPoints(std::vector<Eigen::Vector3f>& points);
bool... | [
"z.takmin@gmail.com"
] | z.takmin@gmail.com |
3ccbddcc39d8e975e830299777824c9671aec16c | c475e087a0471e1a983e4cb55b50a021f359b42b | /cellular_potts_random.hpp | 330a17848bf223ba3c0732d59ac665e826963fdf | [] | no_license | kmatsu3/Cellular_Potts | a64df38950cc037f34c95151ebc0eb17177888b4 | e7c6ea55c23e090b1859b3f6224267bfae79e551 | refs/heads/master | 2021-06-24T12:29:39.980384 | 2021-01-08T03:32:13 | 2021-01-08T03:32:13 | 194,646,509 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,942 | hpp | #ifndef __CPM_RANDOM__
#define __CPM_RANDOM__
#include <vector>
#include <boost/random.hpp>
#include <cmath>
#include "cellular_potts_definition.hpp"
#include "cellular_potts_io.hpp"
class random_system_seed_class{
/*======================
Members
=======================*/
private: std::vector<unsigned long in... | [
"kmatsu@cp.cmc.osaka-u.ac.jp"
] | kmatsu@cp.cmc.osaka-u.ac.jp |
1c29d87a68ee4c5322a62ceae49a73081d54bfda | 07106eb5cffb3cd4228d5b6d29964b33bdbcde9f | /dinput8/ItemRandomsier.cpp | 08929ad5c4bb923337989378ae451aa8960183e0 | [] | no_license | bobthewalrus/DS3-Item-Randomiser-OS | e926a0b30b932a3497d69cd965088e01eb2e2cf8 | ae4b17e04aa84103aa99ac035ef1e49080441893 | refs/heads/master | 2022-11-13T13:11:42.023984 | 2020-06-08T20:49:24 | 2020-06-08T20:49:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,196 | cpp | #include "Core.h"
extern CCore* Core;
extern CItemRandomiser *ItemRandomiser;
extern SCore* CoreStruct;
DWORD pUniqueItems[25];
DWORD pCappedItems[250];
DWORD pSpecialWeapons[170];
VOID fItemRandomiser(UINT_PTR qWorldChrMan, UINT_PTR pItemBuffer, UINT_PTR pItemData, DWORD64 qReturnAddress) {
if (*(int*)(pItemData) ... | [
"47031392+LukeYui@users.noreply.github.com"
] | 47031392+LukeYui@users.noreply.github.com |
9c390a6d90db38e5a9970f39a3eb4e5c38e659ce | a843a64e421405a3d719abfea6b24fd6c7a8be16 | /quiz/q129.cpp | ec7dbd4b4bbe4fd1cd2393e6150dc15c555a058b | [] | no_license | xs2ranjeet/CPP-Tutorial | 7274025693c75af83a008e89174213194af2b7e5 | aaa1ca7e86c6067b4e95b56d79d2425d02f0485e | refs/heads/master | 2021-01-01T20:32:51.213781 | 2017-12-26T11:09:27 | 2017-12-26T11:09:27 | 98,884,503 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 187 | cpp | #include <iostream>
#include <vector>
using namespace std;
int main(int argc, char const *argv[])
{
std::vector<char> delimiters = {",",";"};
cout<<delimiters[0];
return 0;
} | [
"xs2ranjeet@gmail.com"
] | xs2ranjeet@gmail.com |
8cd83259bc32a9104f8da909391077ae7fd664ad | 0bb5d96d6b9e844b4ce33efdc791ac2800a267a6 | /honest coatch.cpp | 388ab38a7fd8899152d4696582098d1c206ac40d | [] | no_license | labhmanmohan25/Classical-Codes | c701fa9086015aa38b898b05524344e88bd57146 | a127e362f8bec8f4b6635d6882ae4d40f5058492 | refs/heads/master | 2022-11-20T20:25:46.643457 | 2020-07-28T14:34:05 | 2020-07-28T14:34:05 | 283,234,467 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,674 | cpp | #include <bits/stdc++.h>
#include <vector>
#include <string>
#include <stdio.h>
#include <math.h>
#include <cstdlib>
#include <iostream>
#include <cstdlib>
#include <algorithm>
using namespace std;
#define ll long long int
const int INF = 1e9 + 5;
#define pb push_back
#define eb emplace_back
#define vll v... | [
"noreply@github.com"
] | labhmanmohan25.noreply@github.com |
944ff105400d740fe6f8dfa6b1aeb1928094decd | de50faaaffdebc8c6dcb5863996fab4480c1fb17 | /switch.cpp | 20f384f82be1dfb13d376d33f735e9c67e3217b3 | [] | no_license | CeeLamoy/cpp_files | 2afe6fc2f2f809ebd55d42cdcf2e7dbee6df1b77 | b2fe3f2440acd85bb1c4b47006a28c44e30007cc | refs/heads/master | 2020-06-25T12:58:28.775090 | 2019-07-29T08:03:08 | 2019-07-29T08:03:08 | 199,314,336 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 884 | cpp | //This program asks a user for 5 single digit inputs and prints them out in words.
#include <iostream>
using namespace std;
int main()
{
int num, n;
for (int n=0; n<5; n++)
{
cout<<"\nNum: ";
cin>>num;
switch(num)
{
case 0: cout<<"Zero";
... | [
"noreply@github.com"
] | CeeLamoy.noreply@github.com |
0950d262ccf1d21f92f2ef5c2e320b8ebd179787 | af8f0279f0a89b91bbe17fe6f13c4f5c72a45a13 | /UVa/uva514.cpp | ba231e1599e2067b8b29774660a19d634d04e198 | [] | no_license | duguyue100/acm-training | 3669a5e80093c9fa4040dfa9ba433330acf9fe8d | c0911c6a12d578c0da7458a68db586926bc594c0 | refs/heads/master | 2022-09-18T17:40:24.837083 | 2022-08-20T13:20:08 | 2022-08-20T13:20:08 | 11,473,607 | 62 | 43 | null | 2020-09-30T19:28:19 | 2013-07-17T10:41:42 | C++ | UTF-8 | C++ | false | false | 1,596 | cpp | // UVa 514 Rails
#include <iostream>
#include <cstdio>
#include <string>
#include <deque>
#include <set>
#include <cctype>
#include <sstream>
#include <map>
#include <algorithm>
#include <utility>
#include <stack>
#include <tuple>
#include <cmath>
#include <vector>
using namespace std;
int main()
{
// freopen("i... | [
"duguyue100@gmail.com"
] | duguyue100@gmail.com |
3edacb8354c96572e50f2a85f3a15d24850c0cd2 | 4582dcbc56340dcf4e28bcac9f51910e1ecf9932 | /ScreenPlay/src/profilelistmodel.cpp | 2d8b8590e2e8090a85b707207cca3e9a7487aeaf | [] | no_license | hadimousavi79/ScreenPlay | 095a229620e207c32235a7e0d100ae053a0b3e97 | 7410052139472a5ab0b846826b111301604c5454 | refs/heads/master | 2023-05-02T13:40:30.188991 | 2021-05-28T18:10:55 | 2021-05-28T18:10:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,988 | cpp | #include "profilelistmodel.h"
#include <QDirIterator>
#include <QFileInfoList>
#include <QJsonDocument>
#include <QJsonObject>
#include <QPair>
namespace ScreenPlay {
/*!
\class ScreenPlay::ProfileListModel
\inmodule ScreenPlay
\brief Used to save all active wallpapers and widgets position and configurat... | [
"i@kelteseth.net"
] | i@kelteseth.net |
e90217c1fb277d0ea84578d27996f28954f522ca | a3d8bfd2d2fdc53d34004bc62685037b30e9b3bc | /Charles/Classes/Camera.cpp | a845ffe3731c2206cef2c9248b5fa0bb6f8f5067 | [] | no_license | x0x8x/Charles | 7359b5984355c553a3357274c41c9722f0089bd2 | 7acb0ab498d6bf58d65a5a3d58f909feddc1d0a9 | refs/heads/master | 2021-05-27T23:28:42.024180 | 2014-12-14T06:17:09 | 2014-12-14T06:17:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,848 | cpp | //
// Camera.cpp
// Charles
//
// Created by Ben Stolovitz on 1/24/14.
// Copyright (c) 2014 Ben Stolovitz. All rights reserved.
//
#include "Camera.h"
Camera::Camera(Ray3D eye, Vector2D screen, double fov, double pixelsPerMeter)
: eye(eye), screen(screen), fov(fov), pixelsPerMeter(pixelsPerMeter) {
// constr... | [
"ben@stolovitz.com"
] | ben@stolovitz.com |
1508aa3c32adf5066dae8be796fea422a801e84d | dbab429da37a09473b4a7bfc4f3af88a02487cf1 | /Interception/samples/x2y/main.cpp | 6f86fc8dcaac774aa1e65776b464e0bb24c6123f | [
"MIT"
] | permissive | CookieRookies/AHK-Scripts | 94f1bffbf243bfacf2a70bddeee283e9969a3773 | a7939d97fbc9b71663a2c08985e72b2929929fcf | refs/heads/master | 2023-04-24T01:30:57.366863 | 2021-05-22T07:40:34 | 2021-05-22T07:40:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 845 | cpp | #include <interception.h>
#include "utils.h"
enum ScanCode
{
SCANCODE_X = 0x2D,
SCANCODE_Y = 0x15,
SCANCODE_ESC = 0x01
};
int main()
{
InterceptionContext context;
InterceptionDevice device;
InterceptionKeyStroke stroke;
raise_process_priority();
context = interception_cr... | [
"me@anthonyz.ca"
] | me@anthonyz.ca |
28dc91a3e9ee286a88c349a8d85a1a880d2ac22f | 26f9034e57216b3ad4b09ffcd831025fe1d78ea9 | /code/SimpleFactory/Product.cpp | 376a2c8c7aeccb912ca47847172c4c8cf3691a11 | [] | no_license | jasonblog/design_patterns | 217e3f9a987abb6c7ed604d33f50143782f140c3 | 35bf13d6382d6040244c91bf21f70fb0e08344a1 | refs/heads/master | 2020-05-19T03:27:10.446568 | 2015-09-06T04:38:15 | 2015-09-06T04:38:15 | 41,972,269 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 323 | cpp | ///////////////////////////////////////////////////////////
// Product.cpp
// Implementation of the Class Product
// Created on: 01-十月-2014 18:41:34
// Original author: colin
///////////////////////////////////////////////////////////
#include "Product.h"
Product::Product()
{
}
Product::~Product()
{
} | [
"gigigigi"
] | gigigigi |
d843e399a050055a065e470d6a32f8094f56bd45 | a7bbaf1b453ba44a65f3feafb07548db2fcf21cd | /Core/SoarKernel/src/decision_process/decider_settings.cpp | a3d5a403d80346ab51847a75aaba5eb298a2ddad | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | preetiramaraj/Soar | 7c912a0b9b95d626f539b13848eeaa51caa3c82c | 8a85bc531e35ce80a99f7c54d00f1cdf8ac23854 | refs/heads/development | 2020-02-26T15:21:15.284261 | 2017-03-14T21:12:10 | 2017-03-14T21:12:10 | 58,492,569 | 1 | 0 | null | 2016-05-10T20:48:04 | 2016-05-10T20:48:04 | null | UTF-8 | C++ | false | false | 10,113 | cpp | /*
* decider_settings.cpp
*
* Created on: Sep 11, 2016
* Author: mazzin
*/
#include "decider_settings.h"
#include "agent.h"
#include "decider.h"
#include "ebc.h"
#include "output_manager.h"
//#include "sml_Names.h"
//#include "sml_AgentSML.h"
#include "sml_KernelSML.h"
#include "sml_Events.h"
decider_par... | [
"mazina@umich.edu"
] | mazina@umich.edu |
9c856e5c14f0a61462df89e981f7f0dc5d806cd3 | 25f359ea0464b3cb959edb07898710fdc1e6da32 | /sipsorcery-media/SIPSorcery.Media/DtlsManaged.h | 67e10889ae79c02fb4f117333bb437848d558fda | [
"BSD-3-Clause"
] | permissive | sipsorceryc4b/sipsorcery | 248495b8be0b6ad530edc9cb48f4e3e248d73886 | d7d3fc567acd8a9a64d876d70513537d60203bb9 | refs/heads/master | 2021-06-03T23:07:17.537242 | 2020-10-30T15:32:56 | 2020-10-30T15:32:56 | 93,627,508 | 0 | 0 | BSD-3-Clause | 2018-09-06T11:54:54 | 2017-06-07T11:23:43 | C# | UTF-8 | C++ | false | false | 1,179 | h | // https://gist.github.com/roxlu/9835067
#pragma once
#include "srtp.h"
#include "openssl\srtp.h"
#include "openssl\err.h"
namespace SIPSorceryMedia {
typedef struct {
SSL_CTX* ctx; /* main ssl context */
SSL* ssl; ... | [
"aaron@qikid.com"
] | aaron@qikid.com |
f0b368c03d332c4a240afda00e43c0f6c3faf637 | fc89df5d65edcfada41a5bcc3b5c52d7b00d9d13 | /components/spotify/cspot/bell/main/platform/apple/WrappedSemaphore.cpp | 4fc146fff5f4cdac2c6de9689f35f8c9f8387734 | [] | no_license | sle118/squeezelite-esp32 | b83f580b4de4a517be87ca1db8fead2223694068 | 149c9d8142d7a3f8679efc73985609eb6dee73a5 | refs/heads/master-v4.3 | 2023-08-23T05:06:18.461579 | 2023-08-22T23:30:18 | 2023-08-22T23:30:18 | 187,874,998 | 698 | 84 | null | 2023-09-09T22:58:50 | 2019-05-21T16:25:56 | C | UTF-8 | C++ | false | false | 643 | cpp | #include "WrappedSemaphore.h"
using namespace bell;
WrappedSemaphore::WrappedSemaphore(int count) {
semaphoreHandle = dispatch_semaphore_create(0);
}
WrappedSemaphore::~WrappedSemaphore() {
dispatch_release(semaphoreHandle);
}
int WrappedSemaphore::wait() {
return dispatch_semaphore_wait(semaphoreHandle, DIS... | [
"philippe44@users.noreply.github.com"
] | philippe44@users.noreply.github.com |
d7b9fb94744a85ad59ffa8dfb747643cd55166c4 | e014040a3bd59b9178c4f11a42b0abcfc1fc9abb | /Source/PlayerState/PlayerAttack.cpp | 2998d08ddacffacb0945b8af6324862bdddafda1 | [] | no_license | tonnac/D3D11 | c68ee5d92f08da26f960905baee7d5546da59a61 | 4a8275b057444646fe6bffc076400db02f5c1acc | refs/heads/master | 2021-07-18T14:34:22.956587 | 2019-01-22T16:52:15 | 2019-01-22T16:52:15 | 147,910,342 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,117 | cpp | #include "PlayerAttack.h"
//#include "KahoAttack.h"
//#include "mSound.h"
PlayerAttack::PlayerAttack(Player * pPlayer) : PlayerState(pPlayer)
{
m_pCharObj->addState(std::string("Attack1"), this);
m_pEffectObj = new KahoAttack1;
}
bool PlayerAttack::Init()
{
setSprite(L"Kaho", L"Attack1");
m_pSprite->setDivideTime(... | [
"tonnac35@gmail.com"
] | tonnac35@gmail.com |
679b6b256e49e3f02d825049406f3bff7f9baea8 | 2677510320f5d4e111d9262e7c76bd2eec1444e3 | /src/control/sac_script/sac_trainer_script.h | c9b255a9f45d5b307be2833c36f7bf27e4e49c03 | [] | no_license | amiani/spacerl | 1037da385ab7f27aaffbd7df58cbdb01164329e0 | ee11a5e2b2604eb06279e76964e10aad6017ebe6 | refs/heads/master | 2022-06-28T20:39:45.004294 | 2020-05-04T00:13:35 | 2020-05-04T00:13:35 | 249,797,554 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,450 | h | //
// Created by amiani on 4/20/20.
//
#pragma once
#include <src/control/trainer.h>
#include "sacactor.h"
#include "src/control/replay_buffer.h"
#include "src/control/action.h"
using namespace torch;
class SACTrainerScript : public Trainer {
public:
SACTrainerScript(String actorPath, String critic1Path, String ... | [
"amaianijohns@gmail.com"
] | amaianijohns@gmail.com |
afa83c9bd25bc90a7969a0773e64a2f9c43ecb47 | c3c115a3b72acff3b692132b33b79caf40d2cc4a | /NetworkRipplesSend/src/ofApp.cpp | ed63946196234ba79d6f024d18ed31e5edfe6f6c | [] | no_license | kezzardrix/of_seminar_hatiouzi_2014 | 727d50eef2667f5c8bccb45ee08a2c153a1d1fdb | 9465791aa132847e6f1fe7393e9144cc61b75a7f | refs/heads/master | 2021-01-10T18:59:32.247868 | 2014-10-11T04:05:14 | 2014-10-11T04:05:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,169 | cpp | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
sender.setup("127.0.0.1",PORT);
for(int i = 0; i < MAX_RIPPLE; i++){
ripples.push_back(Ripple());
}
counter = 0;
ofSetLineWidth(8);
ofSetCircleResolution(60);
}
void ofApp... | [
"ryokanda62@gmail.com"
] | ryokanda62@gmail.com |
4b589b91d748cd6874fff9f0cb7ed62204fbed88 | cbc43eb39caf1fbe6d9c649f7756cde442354a5a | /sodaq_sniffer_bike/Sodaq_OnOffBee.h | 0ecdba1cc3ce06930a99d8b85d7fd244fc59520a | [
"BSD-3-Clause"
] | permissive | SodaqMoja/Sodaq_Sniffer_Bike | 343adc7b3fb5235ef6e339e3d9cff6decc5015a3 | a8525e88f31c434a6631c67fc093465fe070d659 | refs/heads/master | 2020-04-11T09:45:57.164308 | 2019-05-28T11:16:49 | 2019-05-28T11:16:49 | 161,690,946 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,883 | h | /*
Copyright (c) 2018, SODAQ
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 conditions and the following disclaime... | [
"git@janvanloenen.nl"
] | git@janvanloenen.nl |
a3d05c73c0427b728e9de2164fb436ae7ffd35d0 | 3d8be9a257dde85d3d4f983782132fe5e7302a8c | /ofApp.cpp | 5cf61e68e18366413ffebd198ace54445878da24 | [] | no_license | junkiyoshi/Insta20201122 | a0ea773e158ce2dee028c42f8d23bb28bb859f9d | bf3a8e669efd72ff11446910e5c36ea3431ca752 | refs/heads/main | 2023-01-19T06:05:55.905995 | 2020-11-22T11:38:14 | 2020-11-22T11:38:14 | 315,022,817 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,574 | cpp | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup() {
ofSetFrameRate(60);
ofSetWindowTitle("openframeworks");
ofBackground(239);
ofSetLineWidth(2);
ofEnableDepthTest();
this->frame.setMode(ofPrimitiveMode::OF_PRIMITIVE_LINES);
}
//-----------... | [
"noreply@github.com"
] | junkiyoshi.noreply@github.com |
0d6b1cca6b9595701012ebbc1402930a8f7a4441 | 3d2c929bbd104907a25001270761785a7ecc19e2 | /profil.h | 24ddacc4db0f5887aad26d981b36fd25e96fc5af | [] | no_license | mistrale/hub | 63fee392dd62c33d1aa3e2058484a360a0041d99 | cae53f456dfd013960c2543e14993d7e7b2d3df2 | refs/heads/master | 2016-08-09T18:47:51.257525 | 2016-01-24T20:52:44 | 2016-01-24T20:52:44 | 49,827,227 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 977 | h | #ifndef PROFIL_H
#define PROFIL_H
#include "awidget.h"
#include "requestmanager.h"
#include <QNetworkReply>
namespace Ui {
class Profil;
}
namespace GUI {
class Profil : public AWidget
{
Q_OBJECT
public:
explicit Profil(QWidget *parent = 0);
~Profil();
void init... | [
"dsikorav6@gmail.com"
] | dsikorav6@gmail.com |
a67e1bc6d43c1d261c3a5bb1ad7474a6c1b88c6e | 295caf1deced3832fdde924a951b6c63306154f7 | /main.cpp | 8567c638708af392ac7315dd94774efb07acc938 | [] | no_license | seanjhulse/ESafe | 898f7f9a7ecabdc2a5ea2aaf9a3e3bf3b8c13c67 | 3eff46e7a22af6a6a7720cf7a011f49d09bf7cf9 | refs/heads/master | 2021-01-02T22:35:03.773221 | 2017-08-04T13:58:20 | 2017-08-04T13:58:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 513 | cpp | #include <QLabel>
#include <QApplication>
#include "turtle.h"
int main (int argc, char **argv) {
QApplication app(argc,argv);
Turtle turtle_dude;
QImage *turtle = new QImage(":/Resources/Edu.png");
*turtle = turtle->scaled(200, 200, Qt::KeepAspectRatio);
turtle_dude.setAttribute(Qt::WA_NoSystemBack... | [
"seanjhulse@gmail.com"
] | seanjhulse@gmail.com |
5020c6458b4ff4ac6543ef0472070fa513a35310 | 4f0fb10c47e8b71d674f0d222ffe9227af1b1027 | /Greedy/Fractional Knapsack .cpp | d7ca9a6d1c3cdc2fa9cb45e4ba2eddf78a470386 | [] | no_license | Somrat-Hossen/Algorithm- | 043fee928df79a1628486d07baf3e6d27a72d039 | 40d57423aae3dec282621ac138f1e75f14a5af4c | refs/heads/master | 2021-05-11T14:32:11.330522 | 2020-01-11T17:41:05 | 2020-01-11T17:41:05 | 117,705,085 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 673 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef pair<int,int> pii;
vector<pii>vec;
bool cmp(pii a,pii b)
{
return ((a.second*b.first)>(a.first*b.second));///first=weight,second=price
}
int main()
{
freopen("in.txt","r",stdin);
int i,n,w,res=0,weight,price;
puts("Enter the number a... | [
"noreply@github.com"
] | Somrat-Hossen.noreply@github.com |
d9b32233eabe3f514c852da40b345bb2d5b9de74 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/242/361/CWE762_Mismatched_Memory_Management_Routines__delete_array_wchar_t_realloc_07.cpp | b9aae95d264bb95ddbb05b138d270942df0516fb | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,911 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__delete_array_wchar_t_realloc_07.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete_array.label.xml
Template File: sources-sinks-07.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Managem... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
fd39f48728110138789845903db21784fd7cfbbf | 47fb53066a178fecee386fb8ca0ab942392c34b7 | /src/mgGL/SysZebraGL.h | a7a590f91cfd01d2f702158b923f7635be4d41bd | [] | no_license | zephyrer/mgcl | 9eae7017ca728c6c565a74d16229146fa5e877f3 | c63b24d5c5f0423acffe84bd4a2208ab2629d2f8 | refs/heads/master | 2020-05-20T04:17:24.355869 | 2018-08-18T08:35:42 | 2018-08-18T08:35:42 | 40,066,710 | 1 | 1 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,088 | h | /********************************************************************/
/* Copyright (c) 2011 DG Technologies Inc. and Yuzi Mizuno */
/* All rights reserved. */
/* Granted under the MIT license (see mg/MGCL.h for detail) */
/***********************************... | [
"dev-mgcl@dgtech.co.jp"
] | dev-mgcl@dgtech.co.jp |
7c97485d2b52973bc3248e2bfc29c692c9b02714 | d1db7d3fd6b96f53f2415cc89d0b30309079b23a | /hls_exploration/1DstencilProgram.cpp | 95e3ec0a2156d4ba940f47b43c8d29575c29c7f1 | [] | no_license | sheldonSDU/HLS_Lab | a17704fad55dd97be45d648bf8ca6b8ab9091f09 | 551398e3df418e3344c10d825a8827e1a2fc3d5c | refs/heads/master | 2021-04-12T10:31:53.039190 | 2020-07-29T02:48:22 | 2020-07-29T02:48:22 | 126,292,817 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,260 | cpp | /*
* 参考文档: <hls_tutorial_examples> - 2
*
*/
const int N = 1024 ; // 存储数据遍历空间
const float factor = 0.3333; //
/*鉴于端口访存的需求,需要多个周期才能获取数据*/
void Simple1DStencil(float const *memory_in, float *memory_out){
float left,center,right; // 暂存计算数据
float average; // 暂存计算结果
Loop_1D:
for(int i = 1; i<N-1; ++i)
{
... | [
"sdu_liuke@outlook.com"
] | sdu_liuke@outlook.com |
323083d2230f1b77ba5bb65a63e272d598b6db1b | f173d53b28d14210c0eba6236141d3cdbced9f12 | /ListProgram/stdafx.cpp | 94a685e7b4ae5519566863f984523095f3d7fae4 | [] | no_license | borerere/tec_soul2 | 3ffc27434b114f2b29a6b4865c158a6b20af5aeb | 3053e0bce342180e97d8675d22ff57a358b2b9df | refs/heads/master | 2020-09-28T03:26:33.801614 | 2018-01-23T05:51:27 | 2018-01-23T05:51:27 | 67,411,379 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 378 | cpp | // stdafx.cpp : 標準インクルード ListProgram.pch のみを
// 含むソース ファイルは、プリコンパイル済みヘッダーになります。
// stdafx.obj にはプリコンパイル済み型情報が含まれます。
#include "stdafx.h"
// TODO: このファイルではなく、STDAFX.H で必要な
// 追加ヘッダーを参照してください。
| [
"borerere@gmail.com"
] | borerere@gmail.com |
26c84ded785cf4867e33ff396fbc34d7fad9f291 | 63d0bf421c1f826376a2c0ee20316c311982f1aa | /C++/Linked List/clone_linked_list.cpp | 7479857cf47d047abef53671ae7b3dc60f705ff9 | [] | no_license | jashrathod/Competitive-Coding | b9b73044096c4246c97b8d3702932a7a81d2af8b | ac7cf3c6738c2f0e6bfd8726158c438962bbb2f3 | refs/heads/master | 2022-02-18T21:10:32.942721 | 2019-09-03T07:05:15 | 2019-09-03T07:05:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 605 | cpp | // Clone a linked list
Node *copyList(Node *head)
{
Node *ptr = head;
Node *h = NULL, *p = NULL;
Node *n = new Node(ptr->data);
h = n;
p = n;
ptr = ptr->next;
while(ptr != NULL)
{
Node *n = new Node(ptr->data);
p->next = n;
p = p->next;
ptr = ptr->next;
... | [
"jashrathod0@gmail.com"
] | jashrathod0@gmail.com |
6f896dae67aeb4f9e28938764da61779cab3551e | 33ac633b566c21f00a6073fba2f896020cd7f62c | /OperVector/MyEvent.cpp | 63115a72219ef10439835d051415def8bc33a0df | [] | no_license | orichisonic/GMServer_20091221 | ef4d454d4b78d01b49b8752eed2170c3419af22a | 19847f86a45a2706ddf645a2ca9e98f80affb198 | refs/heads/master | 2020-03-13T04:33:08.253747 | 2018-04-25T07:29:55 | 2018-04-25T07:29:55 | 130,965,261 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 99,635 | cpp | #include "stdafx.h"
#include "MyEvent.h"
CMyEvent::CMyEvent()
{
}
CMyEvent::~CMyEvent()
{
}
//获取TagFormat
CEnumCore::TagFormat CMyEvent::GetTagFormat(char* m_TagFormat)
{
int iTagFormat = atoi(m_TagFormat);//字符串变成int
switch(iTagFormat)
{
case 200:
return CEnumCore::TagFormat::TLV_STRING;
case 4:
return CEnu... | [
"wanglin36@CENTALINE.COM.CN"
] | wanglin36@CENTALINE.COM.CN |
7829702fd77eed50a1e69851c9df7c196adabd1d | 0415e9feaf2cf5ce206d63387a73fb658e04d161 | /riegeli/bytes/chain_writer.cc | b54e10c2b60f02395ea092b161eca04d1294d86d | [
"Apache-2.0"
] | permissive | gregorycollins/riegeli | 6e5b8a80cc050c62d121d1cda023649b31dc2391 | c7f6254b7fdc2e0de7e35c68f59e3cdac90f97a2 | refs/heads/master | 2020-09-08T08:07:39.174026 | 2019-11-11T21:22:41 | 2019-11-11T21:22:41 | 221,072,802 | 0 | 0 | Apache-2.0 | 2019-11-11T21:24:36 | 2019-11-11T21:24:36 | null | UTF-8 | C++ | false | false | 4,386 | cc | // Copyright 2017 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | [
"qrczak@google.com"
] | qrczak@google.com |
86e18d6ccc910dd551514fb432932c937584a60d | 7ebec5b9b10bf56ecf0f219ef7f66d35aec00dd0 | /src/condor_utils/test_sinful.cpp | 39ecd4eb0e383e4610f77b35826fbc6b2e1c3eb3 | [
"DOC",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | zzxuanyuan/htcondor | d93c1e1da72803f8532fb9bc2d74a05f2f85c129 | b6b150095d2984970d9440a26ae714da337a1224 | refs/heads/master | 2020-12-06T19:28:06.262876 | 2018-09-17T14:55:13 | 2018-09-17T14:55:13 | 63,744,497 | 0 | 2 | Apache-2.0 | 2018-11-24T18:10:08 | 2016-07-20T02:44:17 | C++ | UTF-8 | C++ | false | false | 6,812 | cpp | #include "condor_common.h"
#include "condor_sinful.h"
#include <stdio.h>
bool verbose = false;
#define REQUIRE( condition ) \
if(! ( condition )) { \
fprintf( stderr, "Failed requirement '%s' on line %d.\n", #condition, __LINE__ ); \
return 1; \
} else if( verbose ) { \
fprintf( stdout, "Passed requirement '%... | [
"tlmiller@cs.wisc.edu"
] | tlmiller@cs.wisc.edu |
02f75a7dca8f3018721fd3a4e21189f5c41d4e63 | cefd6c17774b5c94240d57adccef57d9bba4a2e9 | /WebKit/Source/WebCore/css/CSSCursorImageValue.cpp | aba6248976ab3a84f062d097c1a42db261f9bc6c | [
"BSL-1.0",
"BSD-2-Clause",
"LGPL-2.0-only",
"LGPL-2.1-only"
] | permissive | adzhou/oragle | 9c054c25b24ff0a65cb9639bafd02aac2bcdce8b | 5442d418b87d0da161429ffa5cb83777e9b38e4d | refs/heads/master | 2022-11-01T05:04:59.368831 | 2014-03-12T15:50:08 | 2014-03-12T15:50:08 | 17,238,063 | 0 | 1 | BSL-1.0 | 2022-10-18T04:23:53 | 2014-02-27T05:39:44 | C++ | UTF-8 | C++ | false | false | 7,183 | cpp | /*
* Copyright (C) 2006 Rob Buis <buis@kde.org>
* (C) 2008 Nikolas Zimmermann <zimmermann@kde.org>
* Copyright (C) 2008 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published ... | [
"adzhou@hp.com"
] | adzhou@hp.com |
2770e296ba897ad2ef06acd18f6402f691286b6f | e114cf6eae3c15cf9933d855b2b45d99443acc38 | /Camera.cpp | 0415e9b50167aabfd09e3f4e540cc9c9570d8245 | [] | no_license | fabriciopirini/PacManCG | 072654df37f866376519b375f6309e562b9d53cf | 03a7875fe8c1bc1878298f42aeb57cc34cad8765 | refs/heads/master | 2020-03-07T22:26:58.091449 | 2018-05-10T21:12:41 | 2018-05-10T21:12:41 | 127,754,179 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,429 | cpp | // Bibliotecas
#include <GL/glut.h>
#include <stdio.h>
#include <math.h>
// Headers
#include "Camera.h"
#include "Mapa.h"
// Construtor
Camera::Camera(float razao) {
float cor[4], dir[4];
// Ativa iluminação com apenas uma fonte de luz
glEnable(GL_LIGHT0);
glEnable(GL_LIGHTING);
// Luz ambiente e difusa ... | [
"fabricio.pirini@gmail.com"
] | fabricio.pirini@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.