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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2a1076020c235c7ddbf82bd2d33a7b768a3ce698 | 14ccd1eb6898455b579ab0acd48131b50dbc4a2b | /include/helpers/SafeQueue.hpp | cc351d1352d3de1400a4fe2a2cc18ba17ba47d8d | [] | no_license | navispeed/indiestudio | 40a542af254dca06a6cbadb29aaa124a62c56067 | 55e0451334fa5047b671e64cd33cab5a4e1839e0 | refs/heads/master | 2021-01-01T18:44:43.562091 | 2016-06-21T13:20:45 | 2016-06-21T13:20:45 | 98,419,981 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,038 | hpp | //
// SafeQueue.hpp for SafeQueue in /home/trouve_b/Desktop/CPP_project/cpp_plazza/tests_thr_pool
//
// Made by Alexis Trouve
// Login <trouve_b@epitech.net>
//
// Started on Wed Apr 13 12:08:45 2016 Alexis Trouve
// Last update Mon May 2 13:58:46 2016 Alexis Trouve
//
#ifndef SAFEQUEUE_HPP_
# define SAFEQUEUE_H... | [
"alexis.trouve@epitech.eu"
] | alexis.trouve@epitech.eu |
da222dc653a9944755b9e3bc1e3e4ae94670cb2d | 10606791359a12f24f631daf475405c0390f112b | /C++/primer/07/7-3.cpp | 07ef9f4ec86df17cc77b9e9f31eacb7e754b29d0 | [] | no_license | DavidChan0519/exercise | b185be9ebcc932890e699dca6e75390700541eb3 | 39f6d876ad21eaa79e0e5c94d95c613c9eccb65e | refs/heads/master | 2020-03-19T01:11:30.731817 | 2018-05-31T03:52:38 | 2018-05-31T04:15:08 | 135,528,665 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 500 | cpp | #include <iostream>
using namespace std;
struct box
{
char maker[40];
float height;
float width;
float length;
float volume;
};
void show_box(box b)
{
cout<<"maker:"<<b.maker<<"\nHeight:"<<b.height<<"\nwidth:"<<b.width<<"\nlength:"<<b.length<<"\nvolume:"<<b.volume<<endl;
}
void set_box_volume(box ... | [
"wei.cheng@bitmain.com"
] | wei.cheng@bitmain.com |
dec0721abba5c1331954fa0f324e69c0e7e5c17a | 330285bea42e66b1975d62e2f4dd742d4c3ab360 | /franka_interface/include/franka_interface/motion_controller_interface.h | d91ee6fd0654183bcd9992128ee3a9f077eed18a | [
"Apache-2.0"
] | permissive | justagist/franka_ros_interface | 946182e0430d21a9c119470729d7ec5e96caa404 | f1f3649a4b030a9191e0577d980680ec95afa6ab | refs/heads/master | 2021-12-24T22:22:14.599033 | 2021-12-22T13:42:30 | 2021-12-22T13:42:30 | 199,485,892 | 130 | 51 | Apache-2.0 | 2021-05-03T17:11:32 | 2019-07-29T16:07:08 | Python | UTF-8 | C++ | false | false | 4,124 | h | /***************************************************************************
* Adapted from sawyer_simulator package
*
* @package: franka_interface
* @metapackage: franka_ros_interface
* @author: Saif Sidhik <sxs1412@bham.ac.uk>
*
**************************************************************************/
/*********... | [
"saifksidhik@gmail.com"
] | saifksidhik@gmail.com |
a40b98cdfe8aae2b0065cb036e5d5d755423cf7e | 32deed40f82700e2ab824ceea74ffe4ca9468132 | /SpGame/Source/SpGame/SpInputPreprocessor.cpp | 8905def831a852fe9a0276d55430832d0bb653f9 | [] | no_license | renjihe/unreal_demo | 6304017d395bb3edf897163492a81bc6bc9e720d | ae14068f4e821bf4c9c1df1418c9b16e332a43a8 | refs/heads/master | 2020-07-12T04:25:52.659179 | 2019-08-27T15:02:39 | 2019-08-27T15:02:39 | 204,717,545 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,752 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "SpInputPreprocessor.h"
#include "SpGame.h"
#include "GUI/DlgMgr.h"
#include "SprayMgr.h"
#include "Input/Events.h"
#include "Misc/App.h"
#include "InputCoreTypes.h"
#include "Engine/EngineBaseTypes.h"
FSpInputPreprocessor::FSpI... | [
"renjihe@renjihe.com"
] | renjihe@renjihe.com |
75be1d276b2edc9eb79ca9d982eb6723079e810e | 56a4cb943d085a672f8b0d08a8c047f772e6a45e | /code/Johnson_Client/ObjectDLL/ObjectShared/AIRegionMgr.h | 4e0fd4fd0a863337491b83f9a13d53082e046899 | [] | no_license | robertveloso/suddenattack_legacy | 2016fa21640d9a97227337ac8b2513af7b0ce00b | 05ff49cced2ba651c25c18379fed156c58a577d7 | refs/heads/master | 2022-06-20T05:00:10.375695 | 2020-05-08T01:46:02 | 2020-05-08T01:46:02 | 262,199,345 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 702 | h | #ifdef USE_AI
// (c) 1997-2000 Monolith Productions, Inc. All Rights Reserved
#ifndef __AI_REGION_MGR_H__
#define __AI_REGION_MGR_H__
#include "AIRegion.h"
class CAIPath;
// Externs
extern class CAIRegionMgr* g_pAIRegionMgr;
// Classes
class CAIRegionMgr
{
public :
// Ctors/Dtors/etc
CAIRegionMgr();
~C... | [
"robert@velosodigital.com"
] | robert@velosodigital.com |
b74dad2a6be2a848ceda070f9b412972dc8891f9 | 758a4395d0b151ecd870a5e6d7e7ccfbf9a51ecd | /Contest9/Solv/12.cpp | b00084c2424a16758cc81edd508219519dd5b0f8 | [] | no_license | dinhtai1104/ctdl_gt_D18 | 81c2d703e46963e3369dcd1c2ff08ed36d7428ba | 4fd6318ce5b3edaa5cede03a326d58a8acc472a1 | refs/heads/master | 2023-07-08T15:15:29.750818 | 2021-08-15T13:37:44 | 2021-08-15T13:37:44 | 396,356,625 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,660 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
#define all(x) x.begin(),x.end()
void awake() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
}
int n;
vector<int>ke[10005];
vector<string>a;
bool check(string a, string b){
int cnt=0;
for(int i=0;i<a.length();i++){
... | [
"51129122+dinhtai1104@users.noreply.github.com"
] | 51129122+dinhtai1104@users.noreply.github.com |
79796f0aae5d344e4603128437b8ff2e615a9194 | a9c12a1da0794eaf9a1d1f37ab5c404e3b95e4ec | /ordermanager/UserTradeContext.h | 36c2a17660405e4f5b95d109818c377bffd00aea | [] | no_license | shzdtech/FutureXPlatform | 37d395511d603a9e92191f55b8f8a6d60e4095d6 | 734cfc3c3d2026d60361874001fc20f00e8bb038 | refs/heads/master | 2021-03-30T17:49:22.010954 | 2018-06-19T13:21:53 | 2018-06-19T13:21:53 | 56,828,437 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,464 | h | /***********************************************************************
* Module: UserTradeContext..h
* Author: milk
* Modified: 2015年10月28日 11:18:40
* Purpose: Declaration of the class UserOrderContext
***********************************************************************/
#if !defined(__ordermanager_UserTra... | [
"rainmilk@gmail.com"
] | rainmilk@gmail.com |
00da0d6ddbdf26548714514dfc90adf7cda65446 | 8d94edf1fc60a9c9923e8773f03775c294ff186f | /Arduino/object_avoider_with_3sensor/object_avoider_with_3sensor.ino | 15ac9d94efd825b003d231e7ac9efbd84dbe9721 | [] | no_license | deepgupta06/Arduino_Example | ce396681a565094ff4efad95e59606c584d320e4 | e968292cd068208ee36bb56b9077b4fe3d6d9e74 | refs/heads/master | 2022-09-04T17:36:08.212862 | 2020-05-29T23:29:18 | 2020-05-29T23:29:18 | 267,969,545 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,657 | ino | #define trigPin1 8
#define echoPin1 9
#define trigPin2 10
#define echoPin2 11
#define trigPin3 12
#define echoPin3 13
void setup() {
Serial.begin(9600);
pinMode(trigPin1, OUTPUT);
pinMode(echoPin1, INPUT);
pinMode(trigPin2, OUTPUT);
pinMode(echoPin2, INPUT);
pinMode(trigPin3, OUTPUT);
pinMode(echoPin3, INPUT);
pinMode(... | [
"deepgupta0695@gmail.com"
] | deepgupta0695@gmail.com |
2a6ffe89765616d90b396788b90b7b0ad36cfda9 | 2811545e21f7846545483576f65f0a6f30569e51 | /CP (GFG, Leetcode, CodeChef, CSES, etc.)/kthLSB.cpp | 31b47bc6f4714837144b0ab486f7b4034731d3d1 | [] | no_license | harsh-solanki21/SI21-CP-MERN | 5fb480131c534bee874f6c9fe26a1a3c0a5c72ba | d63c10cd55f9519b6a959651d467d6b13d150df1 | refs/heads/master | 2023-06-06T19:07:39.120163 | 2021-07-20T12:43:58 | 2021-07-20T12:43:58 | 373,482,050 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 482 | cpp | #include<bits/stdc++.h>
using namespace std;
bool lsb(int n, int k) {
return (n & (1<<k));
}
int32_t main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
#endif
int n = 21, k = 3;
... | [
"harsh.solanki2105@gmail.com"
] | harsh.solanki2105@gmail.com |
7a378b2988c251878da9af0f0add3de32e88efa0 | 11c3ebc1f229d50ad78214a9566119e73361b2ac | /Tests/Conformance/C25.0.14.CC | 25f06e2ad2b6f91a0f3474edfe8d57d8fadb5c47 | [] | no_license | cbmeeks/ORCA-C | 185e77d38de9c9b8e41b57115bade92cf5ef4d46 | bc5e49739568b1a8091d9742e4b1a65752b0d3b2 | refs/heads/master | 2021-07-06T00:22:28.347364 | 2017-10-02T03:19:30 | 2017-10-02T03:19:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,244 | cc | /* Conformance Test 25.0.14: Verification of code generation for LDY instr */
#define DP 0x02 /* define 1, 2, & 3 byte addresses */
#define ABS 0x800
#include <stdio.h>
main ()
{
int i = 0;
asm
{
brl Test
Code: LDY #0x1234
... | [
"mikew50@aol.com"
] | mikew50@aol.com |
4a8268e5b138824548904bd6eb4031fdd3406243 | de2e8f37f8ec1410bb9ffcf13434fa20c45bcbc2 | /remote_camera_shutter.ino | 919e6fa9dfa6c0fdd42aeb854f0af6923374c900 | [] | no_license | optisimon/remote_camera_shutter | 6022b08713da26dab9d61bef8d51aa671a9772f3 | c7cec705981b0b69aec452aa562c77b5b3006925 | refs/heads/master | 2020-03-08T01:05:12.316014 | 2018-04-02T22:47:29 | 2018-04-02T22:47:29 | 127,821,133 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,855 | ino | /*
* Remote shutter controller - Panasonic DMC-G80, FZ20, and probably others
*
* Emulates a DMW-RS1
*
* WARNING: DO NOT USE ANYTHING IN THIS CODE, OR MAKE ANY ELECTRICAL CONNECTIONS
* TO ANY CAMERA UNLESS YOU KNOW EXACTLY WHAT YOU ARE DOING. EXPECT
* THAT THIS CODE AND RELATED INSTRUCTIONS ARE... | [
"simong@simong.se"
] | simong@simong.se |
9263ee492c184386d4a04a1cd3c30dce4a1933d0 | 9ce87344ebbbfbaaab31684c3de43b685135c177 | /Framework_old/Protocol/PokerAdministrationPacket.cpp | c75588355ba6734b7ccaad82cb9990b2f3716d04 | [] | no_license | zqrtalent/MercuryUI | 1582d0468034d8c0550e3a4e6cf8988f7d0bc44c | 1b6e9659c0b5ffb92eba2a2ba351dc83564f8a4d | refs/heads/master | 2020-05-22T01:43:57.422948 | 2016-11-19T18:46:52 | 2016-11-19T18:46:52 | 65,150,951 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 27,776 | cpp | #include "PokerAdministrationPacket.h"
#include "../PokerServer/Object/PokerHandHistory.h"
//////////////////////////////////////////////////////
//
// class PokerBlockUserPacket
//
/////////////////////////////////////////////////////
PokerBlockUserPacket::PokerBlockUserPacket(){
m_nCode = PacketCodes::_P... | [
"ZqrTalent@zaqros-MacBook-Pro.local"
] | ZqrTalent@zaqros-MacBook-Pro.local |
dfdec1d3f56cabaeab68d028e5f20c31d5d1f9ec | c5e4ebe0c4d945f60c5ee07b8a23ea55c5f2a12d | /src/rasterizers/rasterizers.h | 75414bd8efcca75247e7de0b39d6bba0085615c2 | [
"MIT-Modern-Variant"
] | permissive | carueda/starspan | dd9a717d0c51b8c7465df6edd92a3638c7c013ce | 71ae4d2b1c08b3f9ae41b53cc644cf440b0983a7 | refs/heads/master | 2020-12-24T13:16:52.423351 | 2008-08-19T23:04:22 | 2008-08-19T23:04:22 | 32,194,827 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,789 | h | //
// rasterizers
// Carlos A. Rueda
// $Id$
//
#ifndef rasterizers_h
#define rasterizers_h
/**
* Any object interested in doing some task as pixels are
* found must extend this interface.
*/
class LineRasterizerObserver {
public:
virtual ~LineRasterizerObserver() {}
/**
* Called when a new pixel locatio... | [
"carueda@gmail.com"
] | carueda@gmail.com |
35c674ba5077fa48a1620c82ed1d843d6e62aafa | bce12bcaac6b467a5388f31c3df25d0d47e494ea | /glwidget.h | effae79a54b1415b7a02aeeac88331a0248db1cf | [] | no_license | divya2661/QT-Application-for-face-texture-mapping | 055b6c4fb6d9b77ff5441a63729824d18914acab | 85ed9a822e134c1c7e5da520677d31307e8e529f | refs/heads/master | 2016-09-14T06:21:00.849867 | 2016-06-09T20:43:23 | 2016-06-09T20:43:23 | 56,555,050 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,603 | h | #ifndef GLWIDGET_H
#define GLWIDGET_H
#include <QGLWidget>
#include <QTimer>
#include <string>
extern std::string WrlFileName;
extern QString imagename0;
extern int textureError;
struct Image0 {
int sizeX;
int sizeY;
char *data;
};
class GLWidget : public QGLWidget
{
Q_OBJECT
public:
explicit ... | [
"divn2661@gmail.com"
] | divn2661@gmail.com |
82cc00d1871d6343d609e2ec597dfaea284307ba | c0baccb294a05aee042b71507d938fbc40d40af7 | /5th Sem/ADA/Week5/queen.cpp | 9a4aea3233768eac7836c42c1a1b7a993a818330 | [] | no_license | kusuma-anjali/Labs | 8583b03c2efbd653c9bb2048068d2fa8365de8b9 | 60c17da4d4a2605cca970fb1253d738c78a04e43 | refs/heads/master | 2023-02-04T13:15:00.949444 | 2020-12-22T01:14:42 | 2020-12-22T01:14:42 | 279,072,340 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 893 | cpp | #include<iostream>
#include<stdlib.h>
using namespace std;
int x[10],n,mat[20][20];
bool place(int k,int i)
{
for(int j=0;j<k;j++)
{
if((x[j]==i) || (abs(x[j]-i)==abs(j-k)))
{
return 0;
}
}
return 1;
}
void display(int x[])
{
for(int i=0;i<n;i++)
{
... | [
"noreply@github.com"
] | kusuma-anjali.noreply@github.com |
2e912dc8df63e600d4cca3fce99221855beb27d0 | 453a249c45367fab253f497a4f543622648b037b | /CRFPostagger/crf1d_tag.cpp | 717392ef54529aabae0ba6b1468000b681edc940 | [] | no_license | zuiwufenghua/meishan-code | 8ddc7a07b59f75b39d85e70c91e3778b7dcedf1e | 976c7c600dd1b8237d556058d92ff232692f0522 | refs/heads/master | 2021-01-16T23:48:28.848548 | 2014-11-13T11:10:41 | 2014-11-13T11:10:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,457 | cpp | /*
* CRF1d tagger (implementation of crfsuite_model_t and crfsuite_tagger_t).
*
* Copyright (c) 2007-2010, Naoaki Okazaki
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redis... | [
"mason.zms@gmail.com"
] | mason.zms@gmail.com |
470776d1bb52ecbd7f8024e55e64a25861a2424d | 77c45a7bc6d3aa3b8d700cd845f30af7a3df48ba | /codecheff/november long challenge 2017/inter/main.cpp | 8b50ae04e2f83b68b0ce6146e695d1a83960cf9e | [] | no_license | sudarshan-baliga/competitive-programming | bf9de8bdbe0bc88aba8793511c3d383e9441e53b | 886215940821070f49d8a52df05e03fdefbbca0e | refs/heads/master | 2023-05-28T03:14:18.040459 | 2019-11-13T12:25:23 | 2019-11-13T12:25:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 545 | cpp | #include <bits/stdc++.h>
using namespace std;
bool hassh[100];
int countt = 0;
int main()
{
char str1[100],str2[100];
scanf("%s%s",str1,str2);
for(int i =0;i < strlen(str1);i++)
{
hassh[str1[i]%26] = 1;
}
for(int i = 0; i < strlen(str2);i++)
{
if(hassh[str2[i]%26] == 0... | [
"baliga108@gmail.com"
] | baliga108@gmail.com |
07dccc1743df283c28fb6ae97841f4960e459cc2 | eae8d122032458609be7e57451996accd2c17a5f | /widgets.cpp | 9bcda4717dcb0c5bf67ebba97cb5d87d61f4dcff | [] | no_license | sompa1/Amooba | f18faaf034ad5878d49e0da8a9117963077d8763 | a5dd739c93963d954f9d0696212ffe23e72a0548 | refs/heads/master | 2020-12-30T15:55:21.539156 | 2017-05-14T09:22:15 | 2017-05-14T09:22:15 | 91,190,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 729 | cpp | #include "widgets.hpp"
#include "graphics.hpp"
using namespace genv;
Widget::Widget(int x, int y, int sx, int sy)
{
_x=x;
_y=y;
_size_x = sx;
_size_y=sy;
_focused=false;
enabled=true;
}
bool Widget::is_selected(int mouse_x, int mouse_y) const
{
return mouse_x>_x && mouse_x<... | [
"psomlo97@gmail.com"
] | psomlo97@gmail.com |
43dc5af24bc77f5438765876c5eecd74b4ca99a6 | b4c828482e2cf2fdf5429b4e16f75362f6b21c0f | /operator overloading-fraction/Fraction.cpp | e6e4f20e708e5e3fcae5064d4e1761d827cc665a | [] | no_license | VickieRuan/Intro-to-C-plusplus | c3ef1604a57a3e4fbedeeb763fe61321772631b3 | 5bd588028acafe4a83c1371b6588a2a7ad9493d9 | refs/heads/master | 2020-12-03T00:13:03.345043 | 2017-07-02T04:09:53 | 2017-07-02T04:09:53 | 96,000,817 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,691 | cpp | #include "Fraction.h"
using namespace std;
namespace sict{
Fraction::Fraction(){
denom =-1; // safe empty state
}
Fraction::Fraction(int n, int d) // n: numerator, d: denominator
{
if(n >= 0 && d > 0){
num = n;
denom = d;
reduce();
}
else
denom =-1; // set to safe em... | [
"vickie.ruan@gmail.com"
] | vickie.ruan@gmail.com |
29ca6250af0eecd32d769851bd5ccd1eb68cd6ed | 83faa249f5a50dca75af9f800fd4e2ea107a0185 | /Debugging Exercise/Entity.cpp | 46619af6c3960186ad2ee598a8f34613379321f2 | [] | no_license | LegendaryyDoc/Debugging-Exercise | 9a1f066030dc4c45215d74e2c2c60dc1567fd335 | 05424f7c975291aee9747a0fdf2d1a0af438e6a4 | refs/heads/master | 2020-03-28T15:08:58.546704 | 2018-09-13T22:51:47 | 2018-09-13T22:51:47 | 148,561,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 251 | cpp | #include "Entity.h"
Entity::Entity()
{
}
Entity::~Entity()
{
}
int Entity::attack()
{
return 10;
}
void Entity::takeDamage(int damage)
{
health -= damage;
if (health < 0)
{
health = 0;
}
}
bool Entity::isAlive()
{
return health = 0;
}
| [
"nateknebusch@gmail.com"
] | nateknebusch@gmail.com |
394d92b52953eace67a23912d25bcb41574196ce | ad273708d98b1f73b3855cc4317bca2e56456d15 | /aws-cpp-sdk-frauddetector/source/model/UpdateDetectorVersionStatusRequest.cpp | 0fc34b0e9b79cd7357d21545bb4fab029e9caa3b | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | novaquark/aws-sdk-cpp | b390f2e29f86f629f9efcf41c4990169b91f4f47 | a0969508545bec9ae2864c9e1e2bb9aff109f90c | refs/heads/master | 2022-08-28T18:28:12.742810 | 2020-05-27T15:46:18 | 2020-05-27T15:46:18 | 267,351,721 | 1 | 0 | Apache-2.0 | 2020-05-27T15:08:16 | 2020-05-27T15:08:15 | null | UTF-8 | C++ | false | false | 1,831 | cpp | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
c77da8f40dffcb11fc7b99fcfec0ab69138184c6 | 054dd49bd45f81d4438cc077888a70a7df82cd3d | /Src/Base/Include/VRPG/Base/D3D/Buffer/IndexBuffer.h | 5261d4e1ebad5153892cd10452ebe200afc2e4de | [] | no_license | AirGuanZ/VRPG | b914a55c8a9d8b1e5949bed8f9170fcd0f2c08c7 | 2f4b8b98b9be04a81ddf4cb20e21ef574599dce0 | refs/heads/master | 2020-08-12T05:22:25.280845 | 2020-08-11T14:55:20 | 2020-08-11T14:55:20 | 214,695,592 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,503 | h | #pragma once
#include <VRPG/Base/D3D/ComObjectHolder.h>
#include <VRPG/Base/D3D/D3DCreate.h>
VRPG_BASE_D3D_BEGIN
namespace Impl
{
template<typename Index>
struct IndexToDXGIFormat;
template<>
struct IndexToDXGIFormat<std::uint16_t>
{
static constexpr DXGI_FORMAT value = DXGI_FORMAT_R16... | [
"airguanz@gmail.com"
] | airguanz@gmail.com |
c42cf0824dc138f87d439c7f9476e24f9c489c2b | d4c720f93631097ee048940d669e0859e85eabcf | /chromeos/ash/components/phonehub/icon_decoder_impl.cc | 899ebeb4f83be142793ce7e81ca82fb42bdddd25 | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 3b920d87437d9293f654de1f22d3ea341e7a8b55 | refs/heads/webnn | 2023-03-21T03:20:15.377034 | 2023-01-25T21:19:44 | 2023-01-25T21:19:44 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 3,461 | cc | // Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chromeos/ash/components/phonehub/icon_decoder_impl.h"
#include <functional>
#include <utility>
#include "base/barrier_closure.h"
#include "base/bind.h"
#include "ba... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
eb085851d86b550a34b0e7c04ca96c8f5f2a61c4 | 3a01bc40368b415eac43890febbe9c7777b9e86d | /extern/glm_backup/core/type_mat2x4.inl | 1fe4194d411bda3c192bcaa6d3ef4b9efb8ffd84 | [] | no_license | gbarnes12/skyengine | a45b1094d54eb2259c51be59c50f14567189a3bb | c78861a5d3a1bd50f69321a71f529c217d4b31e9 | refs/heads/master | 2021-01-10T11:15:06.673814 | 2015-11-23T15:10:20 | 2015-11-23T15:10:20 | 46,712,226 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,479 | inl | ///////////////////////////////////////////////////////////////////////////////////
/// OpenGL Mathematics (glm.g-truc.net)
///
/// Copyright (c) 2005 - 2012 G-Truc Creation (www.g-truc.net)
/// Permission is hereby granted, free of charge, to any person obtaining a copy
/// of this software and associated documentatio... | [
"gavin.barnes@fh-duesseldorf.de"
] | gavin.barnes@fh-duesseldorf.de |
db00124f850add6988f129966f04ec9d985854c0 | 0a4f39b31929eeae37734868d9d78f8f5d16c49c | /examples/RunningFaders/RunningFaders.ino | 017e2ef624d16e1d9b15bdfb82d42be34c0483fc | [] | no_license | cedricmoers/Utiledy | 602fcb779cfdfb956d3316dce7c7c7152c35c79b | 83c594db44297be4e83a2f2f6443f3ad720b0f3b | refs/heads/master | 2020-03-16T04:26:27.423202 | 2018-06-03T21:47:36 | 2018-06-03T21:47:36 | 132,511,234 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,990 | ino | /*
Name: RunningFaders.ino
Created: 5/21/2018 12:25:05 PM
Author: Cedric
*/
// the setup function runs once when you press reset or power the board
#include <Fader.h>
// Create the instances of LEDs that will be used.
Fader led1 = Fader("LED1", 5, GAMMACORRECTION_ON, BRIGHTNESS_TYPE_MIN, BRIGHTNESS_TYPE_MAX);
F... | [
"cedric.moers.2@gmail.com"
] | cedric.moers.2@gmail.com |
7c1c824251fbee3b33b7cb1b4c662501c740629b | 926339db75da06300d36b232fa61d3892e153433 | /ab_oil_pressure_test/ab_oil_pressure_test/ab_oil_pressure_test_container.h | 42548949781e4aac3216df9ec3a69669e2597bb6 | [] | no_license | ncahill-wegfliegen/datenzugriff | 83e810d16e6978dc2ba3c407cca879b2f1811d59 | 2c0e3c7e7368812a9944a8e952b67a06f9c52c7b | refs/heads/master | 2020-07-03T14:42:08.423220 | 2019-10-26T16:26:57 | 2019-10-26T16:26:57 | 201,786,467 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 199 | h | #pragma once
#include <list>
namespace nhill
{
namespace datenzugriff
{
class Ab_oil_pressure_test;
namespace ab_oil_pressure_test
{
using Test_container = std::list<Ab_oil_pressure_test>;
}
}
} | [
"NicholasCAHill@hotmail.com"
] | NicholasCAHill@hotmail.com |
b04ff7b18e91f167387aa34369fb4decaf2c6e0d | e104c1bd95a79cc5dd486c35a0205ce4b8ab047e | /curvegen/curvegen.ino | 6a509eddbe25dec5a166d3c3b583468439320f61 | [] | no_license | jvSanches/MyCNCControl | df858398108b46be59d4b7a8eb841eb2674ae6c0 | f389d16ccbfe78fb266223b2b181dd8789a2e024 | refs/heads/master | 2020-12-30T14:00:24.804906 | 2017-06-24T00:47:21 | 2017-06-24T00:47:21 | 91,272,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,752 | ino | #include<math.h>
float x= 0;
float y = 0;
float z = 0;
float stepdist = 0.0009813542;
float pi = 3.141592;
int XIN1 = 2;
int XIN2 = 3;
int XIN3 = 4;
int XIN4 = 5;
int YIN1 = 6;
int YIN2 = 7;
int YIN3 = 8;
int YIN4 = 9;
int ZIN1 = A0;
int ZIN2 = A1;
int ZIN3 = A2;
int ZIN4 = A3;
int SPINDLE_PIN = 11;
int xstep=1;
int ... | [
"syxtroz@gmail.com"
] | syxtroz@gmail.com |
7a4af514b9ec3efbc09fc552a24ff1561f764c7e | 6657186600feaec8228f8f92a9c3dec33d089d2b | /onnxruntime/core/providers/nuphar/common/utils.h | 1b7939b4b058c5f82c8b35e8556be27df4cff21f | [
"MIT"
] | permissive | microsoft/onnxruntime-openenclave | 4da64801290ff0f89497a6cfbfccd79e1584f81b | a6ad144bfbe4d91277c33180e65768e843a9f053 | refs/heads/openenclave-public | 2023-07-06T02:33:46.183271 | 2022-08-17T02:56:57 | 2022-08-17T02:56:57 | 290,272,833 | 34 | 21 | MIT | 2022-12-12T16:28:23 | 2020-08-25T16:58:14 | C++ | UTF-8 | C++ | false | false | 667 | h | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
#include "core/graph/graph.h"
// forward declaration
struct OrtMemoryInfo;
namespace onnxruntime {
namespace nuphar {
bool NodeArgShapeUnknownOnAxis(const NodeArg* def, int64_t axis);
bool HasUnknownShapeOn... | [
"noreply@github.com"
] | microsoft.noreply@github.com |
44e394ef1399a0b1fb12463487179d5ee20c16fc | efa3d708e129ba23f422ee160844e50a01d4b349 | /src/com/tests/SocketCommunicationTest.cpp | bba1ca5838b83484438435a71667d9c556b3b552 | [] | no_license | numsim1415/precice | 4ba9e9dc339bb857e9e39bbaaa707966f46d5e7b | 7bf685adf318a82001a2e2c06337f3a64633d1c1 | refs/heads/master | 2021-01-12T03:57:51.187846 | 2014-10-06T07:10:22 | 2014-10-06T07:10:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,658 | cpp | // Copyright (C) 2011 Technische Universitaet Muenchen
// This file is part of the preCICE project. For conditions of distribution and
// use, please see the license notice at http://www5.in.tum.de/wiki/index.php/PreCICE_License
#ifndef PRECICE_NO_SOCKETS
#include "SocketCommunicationTest.hpp"
#include "com/SocketComm... | [
"gatzhamm@in.tum.de"
] | gatzhamm@in.tum.de |
164516fd8cefa8462343d04027167c1954cee1f7 | 79f901d2493eb31c19afb8facc08a785401907d3 | /rmq_sparse_table.cpp | 85467c05bb7f19060a508b1af48781909501e38d | [
"MIT"
] | permissive | lsinatra/GoogleCodeJam | 04028bcace1030a79e832b7255e716d697a8c052 | c1292f03377880a7a5d6650e6aad98e361d22fce | refs/heads/master | 2023-06-30T10:02:01.528767 | 2021-08-06T13:26:10 | 2021-08-06T13:26:10 | 393,383,555 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 908 | cpp | // video https://youtu.be/0jWeUdxrGm4
// problem https://www.spoj.com/problems/RMQSQ/
#include <bits/stdc++.h>
using namespace std;
const int MAX_N = 100'005;
const int LOG = 17;
int a[MAX_N];
int m[MAX_N][LOG]; // m[i][j] is minimum among a[i..i+2^j-1]
int bin_log[MAX_N];
int query(int L, int R) { // O(1)
int lengt... | [
"Errichto"
] | Errichto |
eb896cfdd39db4a37e725f183824641f38cc01f8 | 42a5fb13f32279ae76afee7f1aae85337f8c4b69 | /Head_First_Chap_7/Head_First_Chap_7/Turkey.cpp | 140f21243eaf9d491e3f7493aba066b60184b3bc | [] | no_license | MakeMeBelieve/HeadFirst_Design_Pattern_CPP_Examples | 085715aafb87cd0f96db5bf09240e46b70031f23 | ec75afcede50632d921472a84b947e97ee1926aa | refs/heads/master | 2021-07-14T11:32:57.208443 | 2017-10-18T22:22:56 | 2017-10-18T22:22:56 | 107,450,125 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 73 | cpp | #include "stdafx.h"
void Turkey::gobble()
{
}
void Turkey::fly()
{
} | [
"aydinmnad@hotmail.com"
] | aydinmnad@hotmail.com |
4a3bcb2cfd7e755518912d2662837b8a2719e50d | 40b254d0bd73e644cf064de178e44291909b7715 | /Lab_1/Source/Lab_1/PizzaHUD.cpp | f3d1de0f9d4bca8991882274ee700272476f7a9f | [
"MIT"
] | permissive | akashin/HSE_AI_Labs | f491601de12640e98715c9914098fa9e379c12f1 | 17082121c0924675d6034941192302c32d43d85f | refs/heads/master | 2020-04-11T19:56:35.409801 | 2017-09-10T17:47:00 | 2017-09-10T17:47:00 | 68,031,215 | 8 | 20 | null | 2017-06-18T21:14:36 | 2016-09-12T17:25:13 | HTML | UTF-8 | C++ | false | false | 1,777 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Lab_1.h"
#include "PizzaHUD.h"
#include "Kismet/GameplayStatics.h"
#include "Lab_1GameMode.h"
#include "Engine/Canvas.h"
#include "Engine/Font.h"
APizzaHUD::APizzaHUD()
{
// Use the RobotoDistanceField font from the engine.
... | [
"kashin.andrej@gmail.com"
] | kashin.andrej@gmail.com |
279e31522b9f48dd46e0444e8fa376e16b14b05a | 80ed2d804f11a90013b95d51f838513f1e42ef1c | /src/GenericIndividualSnpCall.h | 680485a6aecbd6938630fc02a2fc28296d927029 | [] | no_license | ZengFLab/PyroTools | dc80b4cd44b830fd9efe0d16632a8c51650b6e48 | 81ece81d1947100edbecb807755a01a472d348ad | refs/heads/master | 2021-12-05T01:35:57.751050 | 2015-05-26T03:39:35 | 2015-05-26T03:39:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,167 | h | #ifndef GENERICINDIVIDUALSNPCALL_H
#define GENERICINDIVIDUALSNPCALL_H
#include "GenericVariantCall.h"
#include "GenericProbabilisticAlignment.h"
using namespace GenericSequenceTools;
namespace GenericSequenceTools
{
class GenericIndividualSnpCall : public GenericVariantCall
{
public:
GenericIndividualSnp... | [
"zeng.bioinfo@gmail.com"
] | zeng.bioinfo@gmail.com |
d80d4ee7d9dadc7d4311143c4d490a0ab58ae168 | 591d20bd2a1141f7627ceb86b96989a26fa9d666 | /Accelstepper2/Accelstepper2.ino | ff75ce0bc0f3ae799cf3101686623e791c8d8d3c | [] | no_license | Solikamsk/arduino | 2fb532c335946ed4dfe6a35ec0791d99db905035 | 83d040dd004e70c8a6154aa10e564ec43419ade2 | refs/heads/master | 2022-12-30T01:53:02.099133 | 2020-10-21T09:40:36 | 2020-10-21T09:40:36 | 182,537,266 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,434 | ino | #include <AccelStepper.h>
#define pot0 A0
#define pot1 A1
//A+ red; A- green; B+ yellow; B- blue
//AccelStepper stepper; // Defaults to AccelStepper::FULL4WIRE (4 pins) on 2, 3, 4, 5
AccelStepper mystepper(1, 9, 8); //1, step, direction
unsigned long tm = millis();
unsigned long tm_curr;
unsigned long PosZero;
void ... | [
"Solikamsk@yandex.ru"
] | Solikamsk@yandex.ru |
9bd7536aad79404e302b72bf08c41b39fc8da9d5 | a33aac97878b2cb15677be26e308cbc46e2862d2 | /program_data/PKU_raw/83/1564.c | 39cc33991d392db382ed272b3dcfcfc9b0ec3ed6 | [] | 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 | 607 | c | void main()
{
int n,i,f[100],g[100],sum;
float c,b,d,e;
scanf("%d\n",&n);
sum=0;
c=0;
for(i=0;i<=(n-1);i++)
{
scanf("%d",&f[i]);
sum=sum+f[i];
}
for(i=0;i<=(n-1);i++)
{
scanf("%d",&g[i]);
if(g[i]>=90)
b=4.0;
else if(g[i]>=85)
b=3.7;
else if(g[i]>=82)
b=3.3;
els... | [
"bdqnghi@gmail.com"
] | bdqnghi@gmail.com |
d35a17e8b448164d89807abce4ec8d17fc21a200 | 52a240c2c371580fc173e2fbb168a4e278cfd33b | /DfsTree.cpp | c4ac6ceba66121fbf53e5fa55b0c71084b230e9c | [] | no_license | enola3011/CPP-Programs- | 7fd641264f03de2f8399de8ad7e491227fce6ace | 149808b3371fae6efa4ac127df4f309674a87c26 | refs/heads/main | 2023-08-29T15:47:59.569313 | 2021-10-29T16:43:40 | 2021-10-29T16:43:40 | 422,646,345 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 382 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long
vector<ll>adj[100005];
void dfs(ll node,ll par){
for(auto it:adj[node]){
if(it!=par){
dfs(it,node);
}
}
}
int main(){
ll n,m;cin>>n>>m;
for(int i=0;i<n-1;i++){
ll u,v;cin>>u>>v;
adj[u].pus... | [
"noreply@github.com"
] | enola3011.noreply@github.com |
201fdade23de80ff69f1c8b50da70809f6979cdd | f6089f3201c2d051aad4418d22c8857fdb33b651 | /1008. Construct Binary Search Tree from Preorder Traversal.cpp | 6f223b26fdb45ec5cb15db61e86ae1f0e365371b | [] | no_license | RitikJainRJ/Leetcode-Practice | 3c1224bd568e3dfe86aad0ff71dafe1a7cf716bf | 3a6a2a9b7877da1047206776096d3c00cac468e1 | refs/heads/master | 2023-01-01T17:30:28.680131 | 2020-10-17T04:47:33 | 2020-10-17T04:47:33 | 262,249,540 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 606 | cpp | class Solution {
private:
TreeNode* construct(int &ind, vector<int> &preorder, int min, int max){
if(ind >= preorder.size())
return nullptr;
int x = preorder[ind];
if(!(min < x && x < max))
return nullptr;
TreeNode *root = new TreeNode(x);
ind++;
... | [
"ritikjain1002@gmail.com"
] | ritikjain1002@gmail.com |
920279fcd334ee10fd2b8a37fa1a003536d1e410 | e11f8d623540a651877ad8e1479f2375b4045c7c | /ecs/40ecs/6p1/linkedlist.cpp | bbf7d693713c4866bf811ac23265daf55b1a0ffd | [] | no_license | fruitpunch/ecs-work | 45ed143f49a86920ab527c2f4e9a48c3ef6316c5 | 6b938cba9c97d9c241c88cbdd75507b45290cb5e | refs/heads/master | 2016-09-06T06:58:10.384219 | 2012-10-11T01:55:13 | 2012-10-11T01:55:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,603 | cpp | //Hiu Hong Yu && Wen Xi Zhang
#include <iostream>
using namespace std;
//Node constructor
template<typename T>
Node<T> :: Node(T *in, Node *inNode) : data(in), next(inNode)
{
}//end Node()
//Node destructor
template<typename T>
Node<T> :: ~Node()
{
delete data;//delete memory
}//end ~Node
//LinkedList constructor
... | [
"andy@andy-VirtualBox.(none)"
] | andy@andy-VirtualBox.(none) |
78d914c4a537ee6a0cdad6b3b5e756c4bd7be9e1 | 9d0ca5e92c40f4d016846f8d07639425fc88a4ba | /ioi-training-master/Timus/1741 - Communication Fiend .cpp | 6963f21b390fdc567285130d6efa9995103c482e | [] | no_license | prajneya/IOI | 01532de1b92509e62214fd5a8208bc66db82c429 | c509fccd5b9ef2f0748ae834aaee759582481ad8 | refs/heads/master | 2020-06-14T09:42:58.889117 | 2016-12-16T02:42:45 | 2016-12-16T02:42:45 | 75,202,750 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,556 | cpp | /*
Created By: Malvika Joshi
Problem: Communication Fiend
Link: http://acm.timus.ru/problem.aspx?space=1&num=1741
*/
#include <cstdio>
#include <vector>
#include <algorithm>
#define MAXN 10010
#define INF 100000000000LL
using namespace std;
typedef long long lli;
struct pkg{
int end,typ;
lli size;
};
pkg make... | [
"prajneya@gmail.com"
] | prajneya@gmail.com |
9c7fcdd0f520227c4178ca43d96459faf54f4f00 | d41c3395f4ad411453faa50fc6948863c8baba52 | /src/widgets/typing_label.cpp | 16089b0cc273c220da508352ce5d020e0d48b034 | [] | no_license | dranikpg/bsu-game | d0354ddfbf56efda8f69f4a1d7303820aaaae7d5 | 97f3407aa862259a7ed7b253ca933e96742c729a | refs/heads/master | 2023-04-30T15:48:38.853937 | 2021-05-26T07:23:41 | 2021-05-26T07:23:41 | 337,665,397 | 7 | 4 | null | 2021-05-26T07:23:41 | 2021-02-10T08:46:58 | C++ | UTF-8 | C++ | false | false | 1,420 | cpp | #include "typing_label.h"
#include <utility>
namespace ui {
TypingLabel::TypingLabel(Callback callback) : callback_(std::move(callback)) {
timer_ = new QTimer(this);
timer_->setInterval(typing_interval_);
QObject::connect(timer_, &QTimer::timeout, [this](){
if (text().length() < text_.length()) {
cur... | [
"noreply@github.com"
] | dranikpg.noreply@github.com |
f9c382b24a0d3820383871c6b00aa430161d5bfd | 3886f87b667eaa4a5bdfb22cf3f3dcaa28351016 | /TESReloaded/FrameRateManager.cpp | 3550e2819530b8fe3617a241f9face6c3e259895 | [] | no_license | clayne/TES-Reloaded-Source | 431214e6698a72bc2dd3ad79700e795422ea4730 | 45ffc88e0615bd510db3b9969ed2cbf608572c0e | refs/heads/master | 2022-05-13T14:44:54.653622 | 2017-06-24T13:33:49 | 2017-06-24T13:33:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,847 | cpp | #if defined(SKYRIM)
#include "skse\GameReferences.h"
#define posX pos.x
#define posY pos.y
#define posZ pos.z
#endif
FrameRateManager::FrameRateManager() {
_MESSAGE("Starting the framerate manager...");
TheFrameRateManager = this;
FrameCounter = 0;
FrameRate = 0;
LastFrameTime = 0.0f;
ElapsedTime = 0.0f;
Grid... | [
"aletamburini78@gmail.com"
] | aletamburini78@gmail.com |
074a930f38ea5ad8324de3a05ca977a53712edc8 | cd327aee5966e332c384b1a59eeab0e20c45c6bd | /Source/Sks/Src/Accelero/IntelliSS7/common/src/asn-cpp/AsnDescSequence.cpp | ad51832c666bcabbf353a202ac9efe4dc52f808e | [] | no_license | komi-jangra/A_TEST | 4ae3b7c31f0db75e210f0b7e514c14cee5b24443 | 117f4d702d241de6074903be0e5a579f450fff91 | refs/heads/master | 2021-01-22T23:48:28.202567 | 2017-03-21T07:15:15 | 2017-03-21T07:15:15 | 85,664,924 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,048 | cpp | ///////////////////////////////////////////////////////////////////////////////
// //
// Copyright (c) 1999 - 2002 IntelliNet Technologies, Inc. //
// All Rights Reserved. //
... | [
"komal.jangra@imrggn.com"
] | komal.jangra@imrggn.com |
94c74e8dd34c8d87b5ed743b6153e6581857b966 | 91a2e80eb39474f7552baa591a95890ba99fc8d9 | /keyboardhook.cpp | 63cb50007be4bc1caaa4376e9847f52c72a77509 | [] | no_license | DexterVGA/OS_CourseWork | 338db70a85a5f1c9807d8be088d0bce62b29aba0 | 75e878fef08353c37286686f1a23aebb66664c19 | refs/heads/master | 2023-02-02T07:12:43.553410 | 2020-12-17T03:57:51 | 2020-12-17T03:57:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,970 | cpp | #include "keyboardhook.h"
#include "ui_keyboardhook.h"
enum Keys
{
ShiftKey = 16,
Capital = 20,
};
int shift() {
return GetKeyState(VK_LSHIFT) < 0 || GetKeyState(VK_RSHIFT) < 0;
}
int caps() {
return (GetKeyState(VK_CAPITAL) & 1) == 1;
}
QLabel *lb;
KeyboardHook::KeyboardHook(QWidget *parent) :
... | [
"vadiman158@gmail.com"
] | vadiman158@gmail.com |
0c740317891517077652246a65c31b2dc87983a6 | d0bb4508d9a35c81c0ae6e6c974a3de39129986d | /Trabalho_3.h | 68502eaa369483306cd351c7d31b49ef21b7618b | [] | no_license | otaviobertucini/String-Processing | 5d93d7bbab4071ad6ce5926a70d05c4644d41bba | 4a5d89fb2e1b747b414c1008831188877ff9cbf3 | refs/heads/master | 2020-04-08T09:41:22.286544 | 2018-12-05T12:34:44 | 2018-12-05T12:34:44 | 159,235,310 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,114 | h | #ifndef TRABALHO_3_H
#define TRABALHO_3_H
#include <string>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <fstream>
#include <iostream>
#include <vector>
#include <map>
#include <sstream>
#include "Node.h"
using namespace std;
using std::fstream;
using std::ofstream;
using std::ifstream;
using std... | [
"otaviobertucini@gmail.com"
] | otaviobertucini@gmail.com |
32bf4a18f1ad699ebc43d8e78f85f53fb7c69c68 | 4342654aabfa6b8c7e7b4df0fba20e92b84624ab | /src/gpgpu-sim/gpu-sim.cc | eafb909e48b0be08e76228fd589ebba4e66b7cd6 | [
"BSD-3-Clause"
] | permissive | woodun/pure_gpusim | 10528fe486fcea482d8bf9481b365d9e6961bda9 | 238d8bcc0992fa9cfb08464b17e6e5a38ba9132d | refs/heads/master | 2021-01-01T05:18:47.963642 | 2016-05-20T03:09:16 | 2016-05-20T03:09:16 | 59,260,200 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 60,700 | cc | // Copyright (c) 2009-2011, Tor M. Aamodt, Wilson W.L. Fung, George L. Yuan,
// Ali Bakhoda, Andrew Turner, Ivan Sham
// The University of British Columbia
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditio... | [
"hwang07@email.wm.edu"
] | hwang07@email.wm.edu |
f9bbb88e6629fec29b4c1a1586e840c69bc0dcdf | b0075e2d7115361860b48c11005d59bdabea8a10 | /hmailserver/source/Server/COM/InterfaceDomains.h | 002faa25aa10ba927b706bc605bed45aa707bda1 | [] | no_license | hmailserver/hmailserver | 73f7d61912db856c3f610e3b829fd7a5135b6bc6 | 12ff3d6ab48b9c6181433f1c0b01ba8c8941abd4 | refs/heads/master | 2023-08-06T11:03:44.558427 | 2023-07-27T13:10:52 | 2023-07-27T13:10:52 | 18,572,902 | 822 | 332 | null | 2023-07-24T14:29:28 | 2014-04-08T19:57:15 | C++ | UTF-8 | C++ | false | false | 1,913 | h | // Copyright (c) 2010 Martin Knafve / hMailServer.com.
// http://www.hmailserver.com
#pragma once
#include "../hMailServer/resource.h" // main symbols
#include "../hMailServer/hMailServer.h"
namespace HM
{
class Domains;
}
class ATL_NO_VTABLE InterfaceDomains :
public ISupportErrorInfo,
public CComO... | [
"knafve@gmail.com"
] | knafve@gmail.com |
7c30cb5d437d21a0fe885671cdafe20f469b5d86 | 5adc907e036c64ece1b97b0544eecb76fadc80bb | /Source/SlAiCourse/Public/Player/SlAiPlayerAnim.h | 2ace872f428b2e1a632f0b17a1edbda37ab265a7 | [] | no_license | RiverABCD/SlAiCourse | fe0a66c152e6b89486b5cae9b4c442efccd88b32 | 3bb19f70a2513dadd807f9d3c7bcd506fb054fa0 | refs/heads/master | 2023-07-24T15:46:41.452119 | 2019-11-04T03:11:23 | 2019-11-04T03:11:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,771 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Animation/AnimInstance.h"
#include "SlAiPlayerCharacter.h"
#include "Animation/AnimMontage.h"
#include "SlAiTypes.h"
#include "SlAiPlayerAnim.generated.h"
class UAnimMontage;
... | [
"ljiuang@gmail.com"
] | ljiuang@gmail.com |
10c9bbe926c2589677d0242da3763666e70758c7 | d5bdde54ab93426555d5610de1c5296782bc81e5 | /problem1/main.cpp | 66b898328235e9d1735bcc7f08b3fce2b11eeb12 | [] | no_license | Samar-G/DiskSchedueler | 0362aaee9f487458a5b8702083ed6f0795454d4c | 1e0e26d0f4699ee8866755f062c4e1870f51a9ea | refs/heads/main | 2023-07-06T00:48:34.559116 | 2021-08-02T01:36:17 | 2021-08-02T01:36:17 | 391,784,442 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,035 | cpp | #include <iostream>
#include <bits/stdc++.h>
using namespace std;
int OptiSeekTime(int nT,int tracks[], int intitial){
int FCFS=0,STL=0, LTS=0; //firstComeFirstServe, SmallestToBigger, BiggestToSmallest
int inorder[nT];
for(int i=0;i<nT;i++){
inorder[i]=tracks[i];
}
for(int i... | [
"noreply@github.com"
] | Samar-G.noreply@github.com |
02433f9e61e2a03a420b9e44dd591b5906051329 | a7f9831f56d57dfb4e16ffb9061c4d5beb4818f4 | /travelling_salesman_problem.cpp | 41f7deccdf93368fd872fb95eab5a5663a7a1a88 | [] | no_license | rishabh-jain14/Data-Structures-and-Algorithms | 2a441ee6865092131fc15304fb1ae97461942fdd | 214363de8dbf2fdfe6d14cdd65de1756332c6ede | refs/heads/master | 2023-04-22T06:55:24.993568 | 2021-05-12T19:30:28 | 2021-05-12T19:30:28 | 268,126,531 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 762 | cpp | #include<bits/stdc++.h>
using namespace std;
int travelling_salesman(int distance[4][4], int start, int size)
{
int cost=0;
int visited[4]={0, 0, 0, 0};
int count=0;
int i=start;
while(count<size)
{
visited[i]=1;
int min=INFINITY;
int pos=-1;
for(int j=0; j<size; j++)
{
if(count == size-1)
{
min = distanc... | [
"noreply@github.com"
] | rishabh-jain14.noreply@github.com |
3301ebabe0a7b85327b9c0def039744712e8b127 | 73ea839815810db6710889ecaf76c2ee0c591999 | /Game/BattleLogic/TW_EffectData.h | 4dffe29fd060f7debf6169765151e155dfa71d72 | [
"Apache-2.0"
] | permissive | TaoReiches/Tao | 40f0a7cc349cdb7800f2967a253f4a585ec7fb20 | bf54cdf5284d3a6fd7b2e8aec0bc26fa96442a01 | refs/heads/master | 2023-02-18T09:27:06.047300 | 2021-01-17T18:39:43 | 2021-01-17T18:39:43 | 299,950,460 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,431 | h | #pragma once
/**********************************************
* Author: Tao Wang Copyright reserved
* Contact: tao.reiches@gmail.com
**********************************************/
#include "TW_EffectDefine.h"
class BeEffectData
{
public:
BeEffectData(void)
{
iProperty = 0;
iOwnerID = 0;
iPlayer = 0;
uiRem... | [
"tao.wang@realworld-one.com"
] | tao.wang@realworld-one.com |
3ece66e6093229ec99ba807c67259da8ba1d4605 | 29f617d1f166c3ef2574fd198b5b67a739bd8f95 | /Phoenix3D/PX2Foundation/Graphics/PX2InterpCurveShakeCtrl.hpp | ce3463fdd73bf0f0246c46fbf06d49c650014a39 | [] | no_license | whztt07/Phoenix3D_2.5 | d5c30cb09c9f380c43738e3bfeb7c4246ff09104 | 50983c67b48fd124f9b96abbde276b5038ed2c7b | refs/heads/master | 2021-01-17T22:04:57.448282 | 2015-11-29T15:42:56 | 2015-11-29T15:42:56 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,359 | hpp | // PX2InterpCurveShakeCtrl.hpp
#ifndef PX2INTERPCURVESHAKECTRL_HPP
#define PX2INTERPCURVESHAKECTRL_HPP
#include "PX2Controller.hpp"
#include "PX2InterpCurveFloatController.hpp"
namespace PX2
{
// 一个简单的震动控件,绑定时记录控制体方位,接触绑定时还原控制体方位
// 通常控制曲线的第一个和最后一个点的大小都为0
class PX2_FOUNDATION_ITEM InterpCurveShakeController : pu... | [
"realmany@163.com"
] | realmany@163.com |
2a3ec10ac0d7734f0ae35ac3acb7c096d43e79df | 9b8591c5f2a54cc74c73a30472f97909e35f2ecf | /source/QtWidgets/QInputDialogSlots.h | 776aceedad61ab1e9401890dab3de4d6257cbde5 | [
"MIT"
] | permissive | tnsr1/Qt5xHb | d3a9396a6ad5047010acd5d8459688e6e07e49c2 | 04b6bd5d8fb08903621003fa5e9b61b831c36fb3 | refs/heads/master | 2021-05-17T11:15:52.567808 | 2020-03-26T06:52:17 | 2020-03-26T06:52:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 993 | h | /*
Qt5xHb - Bindings libraries for Harbour/xHarbour and Qt Framework 5
Copyright (C) 2020 Marcos Antonio Gambeta <marcosgambeta AT outlook DOT com>
*/
/*
DO NOT EDIT THIS FILE - the content was created using a source code generator
*/
#ifndef QINPUTDIALOGSLOTS_H
#define QINPUTDIALOGSLOTS_H
#i... | [
"5998677+marcosgambeta@users.noreply.github.com"
] | 5998677+marcosgambeta@users.noreply.github.com |
b849b3c974a3079a7a8d39c72f01fe3f97f829ba | edf85ec3c273e7ce0ed4790e5725a55393a2c488 | /extlibs/include/Jopnal/Physics/Shape/SphereShape.hpp | f059ac92857ec2caab2eb12c73f8bade450399d9 | [
"Zlib"
] | permissive | Jopnal/Jopmodel | fb9cb83dad5c4432d5ffaefc8ac45c97ce37ee97 | cfd50b9fd24eaf63497bf5bed883f0b831d9ad65 | refs/heads/master | 2021-01-17T06:33:40.982800 | 2016-08-09T08:12:28 | 2016-08-09T08:12:28 | 61,036,364 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,627 | hpp | // Jopnal Engine C++ Library
// Copyright (c) 2016 Team Jopnal
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
//
// Permission is granted to anyone to use this software for any pur... | [
"eetu.asikainen@hotmail.com"
] | eetu.asikainen@hotmail.com |
933520c599307429016c150df7f74e846fcecfc4 | c87095bd13b9080224324b3a6dd4fd538912d97e | /C++/ASCII RPG Part4/Main.cpp | 1d641f5ab9ab0534655b796600673715ef02ad0a | [
"MIT"
] | permissive | Agrelimos/tutorials | 6a0a8ef6652a44bd5a35b59bf192326c831367ff | 7d2953b8fbb5c56a921a17e7e3cac3d1f4fbb41b | refs/heads/master | 2020-04-01T05:26:56.560609 | 2018-10-13T18:45:56 | 2018-10-13T18:45:56 | 152,903,588 | 0 | 0 | MIT | 2018-10-13T18:44:42 | 2018-10-13T18:44:42 | null | WINDOWS-1252 | C++ | false | false | 14,322 | cpp | //***********************************************************************//
// //
// - "Talk to me like I'm a 3 year old!" Programming Lessons - //
// //
// $Author: Ben Humphrey DigiBen@gametutorials.com //
// ... | [
"staff@gametutorials.com"
] | staff@gametutorials.com |
aae2fad3ddf2d64363cd4cea578afc18cef6dba5 | 19470ae10e37b60418cf2414bc53ec6606c609ba | /MoreOOP/Handle.cpp | c689f50aba83a244ddbce34de359aa322e7c6b9a | [] | no_license | ethanlikescpp/MoreOOP | 204cf388166bcfa1bea9792fda365c22212e5686 | fb3f11fb924cbf16be6c08d597b156028fa4dd09 | refs/heads/master | 2020-12-30T12:35:20.980395 | 2017-05-19T06:11:41 | 2017-05-19T06:11:41 | 91,392,926 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 240 | cpp | #include "stdafx.h"
#include "Handle.h"
using namespace std;
Handle::Handle() {
body = new Body;
}
Handle::~Handle() {
delete body;
}
void Handle::someOps() {
body->somenum = 42;
}
int Handle::DisplayNum() {
return body->somenum;
} | [
"ethanlikespi@gmail.com"
] | ethanlikespi@gmail.com |
35d31e5b789b32a6b20969ed2a35649f7540418b | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/9f/8100ce77e42a38/main.cpp | 82e739c8b85cf7f4af7fc6855ee2c43a9d5fb4bc | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,220 | cpp | digraph output {
n0 [ shape=box, label="A9\n"];
n1 [ shape=ellipse, label="- [0.48%,19.42%]"];
n2 [ shape=box, label="A15\n"];
n3 [ shape=box, label="A11\n"];
n4 [ shape=box, label="A4\n"];
n5 [ shape=ellipse, label="+ [0%,0%]"];
n6 [ shape=box, label="A7\n"];
... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
fa2d9f62830c17cf102b54a37677f7aa4ea4e916 | 5a1ed33d51f30b66d39c645202bb2f430bf0d4f2 | /STL/intro/stl.cc | a359639750d12423d1d2754259a0ae7b280b7c8a | [] | no_license | Dollfi/TDDD38 | 6aa7bd0b6f0486464663c33d89ca973cb5a4c164 | 158c47041d355a278d86216d8bbf2a02f77254b3 | refs/heads/master | 2020-03-28T14:30:16.894755 | 2018-05-08T15:35:32 | 2018-05-08T15:35:32 | 148,493,272 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 522 | cc | #include <vector>
#include <algorithm>
#include <iostream>
#include <numeric>
using namespace std;
int sum(vector<int> const & vals)
{
int result {};
for ( int i: vals )
{
result += i;
}
return result;
}
vector<int> to_ints(vector<string> const & v)
{
vector<int> result;
for ( st... | [
"eric.elfving@liu.se"
] | eric.elfving@liu.se |
b147cc4b517e9e32a26dea26849376463b0ff61d | 4de7e44c90718f95c2e3bfb7c6e5438bc609faf2 | /12IntegertoRoman/12IntegertoRoman.cpp | bd69fd832e13c44e12fb928bb6140feb980add0b | [] | no_license | whutweihuan/leetcode | ce7cbd437ae2be842a55b6268ac985ccfbd030f6 | ff4b20837ecd988660762730f3b6210ed32605a6 | refs/heads/master | 2020-04-07T01:44:32.988500 | 2019-07-02T03:26:30 | 2019-07-02T03:26:30 | 157,950,448 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,747 | cpp | /***********************************************
#
# Author: weihuan -whutweihuan@163.com
# Create: 2018-11-27
# Last Modified: 2018-11-27
# Link: https://leetcode.com/problems/integer-to-roman/
# title: 12 Integer to Roman
# Description: ---
# Roman numerals are represented by se... | [
"l"
] | l |
decf04f9d2219e4ca327a66623c459df1cc0bf64 | 0d6c9c1d3fd3a5dd1598becf6628967dd18e1600 | /distancematrix.h | 5f8f8c1b3bc506f8e292f91d3f1f8af32b629947 | [] | no_license | thamian/dynamic-tsp | d3f498bc4fe6806ded4e0dce7a9a372e48bf208a | 44d5f38c0897e527908afa711c0c31f22f22eced | refs/heads/master | 2020-03-12T18:11:15.216780 | 2018-04-23T20:46:07 | 2018-04-23T20:46:07 | 130,754,640 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 457 | h | #ifndef SQUAREMATRIX_H
#define SQUAREMATRIX_H
#include <iostream>
#include "console.h"
#include "file.h"
class DistanceMatrix {
int size;
int** matrix;
void create();
void initialize(File& file);
public:
DistanceMatrix(int size, int** matrix);
DistanceMatrix(File& file);
~D... | [
"damian.korzekwa@gmail.com"
] | damian.korzekwa@gmail.com |
f26e1d09e23387c30404e47ed3963a97288fea18 | c98ef318de4bce9a706b1094731f81a5f19138a9 | /tools/EventClients/Clients/AppleRemote/AppleRemote.cpp | 7b75b04d5ed629ab9a807f6779eead4382b61bb5 | [] | no_license | DakaiTV/DakaiBoxee | 6ee34d655b23cef975f85a8104f46830bf20ab0e | 9f3f6eeb3f898903672de47b1586b152c5076fdf | refs/heads/master | 2021-01-17T22:17:55.141347 | 2013-09-04T14:46:34 | 2013-09-04T14:46:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,567 | cpp | /*
* AppleRemote.cpp
* AppleRemote
*
*
*/
#include <stdio.h>
#include <getopt.h>
#include <unistd.h>
#include <stdlib.h>
#include <ctype.h>
#include <sys/errno.h>
#include <sysexits.h>
#include <mach/mach.h>
#include <mach/mach_error.h>
#include <mach-o/dyld.h>
#include <assert.h>
#include <errno.h>
#include <s... | [
"arcko@qq.com"
] | arcko@qq.com |
bcf227df45fc97e720d320867a1aef2926b28cc2 | ccfba7b5abd321a64f6b0ac55e7fce3b02d19b16 | /src/CLR/CorLib/corlib_native_System_Runtime_CompilerServices_RuntimeHelpers.cpp | 11a3476c3ddd7169c9f4127a2c0318ce5c7de0ab | [
"Apache-2.0"
] | permissive | Sirokujira/nf-interpreter | 119269ad037d0b8810978e0a54fe9c22597022fb | 35269b2c37a2cd03ae83689e87bd61e16611d99e | refs/heads/master | 2021-06-04T04:10:04.779655 | 2017-10-16T13:36:11 | 2017-10-16T13:36:11 | 97,889,385 | 0 | 0 | null | 2017-07-21T00:30:36 | 2017-07-21T00:30:36 | null | UTF-8 | C++ | false | false | 6,341 | cpp | //
// Copyright (c) 2017 The nanoFramework project contributors
// Portions Copyright (c) Microsoft Corporation. All rights reserved.
// See LICENSE file in the project root for full license information.
//
#include "CorLib.h"
HRESULT Library_corlib_native_System_Runtime_CompilerServices_RuntimeHelpers::InitializeAr... | [
"noreply@github.com"
] | Sirokujira.noreply@github.com |
3b796ffe3fd0bf341ed8220e96f4e99da983ed16 | b01ae19d6bce9229b83d0165601719ae53ae2ed0 | /android/vendored/sdk46/@shopify/react-native-skia/android/cpp/jni/JniSkiaDrawView.cpp | 1b8ed5cd08fca6371b6b13618818a464a070a852 | [
"MIT",
"BSD-3-Clause",
"Apache-2.0"
] | permissive | Abhishek12345679/expo | 1655f4f71afbee0e8ef4680e43586168f75e1914 | 8257de135f6d333860a73676509332c9cde04ba5 | refs/heads/main | 2023-02-20T19:46:17.694860 | 2022-11-21T15:48:20 | 2022-11-21T15:48:20 | 568,898,209 | 1 | 0 | MIT | 2022-11-21T16:39:42 | 2022-11-21T16:39:41 | null | UTF-8 | C++ | false | false | 3,437 | cpp | #include "JniSkiaDrawView.h"
#include "RNSkLog.h"
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include <GLES2/gl2.h>
#include <EGL/eglplatform.h>
#include <android/native_window.h>
#include <android/native_window_jni.h>
#include <SkCanvas.h>
#include <SkImageInfo.h>
#include <SkSurface.h... | [
"noreply@github.com"
] | Abhishek12345679.noreply@github.com |
1638fdc50f7ab762e45dcb83c2f565269a614c33 | 0320030f683c4bf2f6e9ce245167d472bc8c8274 | /SampleTest/DetectHMD/HookApp/stdafx.cpp | 32218ae697e75bc332088dfd49afc26c5d47939b | [
"MIT"
] | permissive | dumppool/snowflake | 03488df20e5523dd766486e5228fde07785b330a | 13438de4f0aca9ce75a763e74410059df5f3fc08 | refs/heads/master | 2021-09-12T06:39:28.250376 | 2018-01-24T04:39:22 | 2018-01-24T04:39:22 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 258 | cpp | // stdafx.cpp : 只包括标准包含文件的源文件
// HookApp.pch 将作为预编译头
// stdafx.obj 将包含预编译类型信息
#include "stdafx.h"
// TODO: 在 STDAFX.H 中引用任何所需的附加头文件,
//而不是在此文件中引用
| [
"marriedmad@163.com"
] | marriedmad@163.com |
ea2b89c5e46d5480ce9c8566043bea1a9bdd3ec7 | 6ae4462d7f645674b432fdbcb9794b096b009712 | /Ejercicio3.cpp | 1f85dbfd5b07924b45ddd199a32e04d0672a21b8 | [] | no_license | Rushell-max/Lab_02_GRUPO_A_Zavalaga_Orozco_Rushell_UNSA_EPCC_CC_II | 34f3dbb29e9509deea6d0579eda752a38c64365e | 488ee0b796f31b56266d680b0656f5a29ccf7919 | refs/heads/master | 2023-04-20T23:22:02.786879 | 2021-05-04T22:05:38 | 2021-05-04T22:05:38 | 363,203,042 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,920 | cpp | ////////////////// LABORATORIO 2 /////////////////////////////
/*
// RUSHELL VANESSA ZAVALAGA OROZCO
*/
///////////////// EJERCICIO 3 //////////////////////////////
#include <iostream>
#include <ctime>
#include <fstream>
using namespace std;
// FUNCIONES COMPLEMENTARIAS
// Llena aleatoriamente el arreglo
void ... | [
"rzavalaga@unsa.edu.pe"
] | rzavalaga@unsa.edu.pe |
f248175cc2225a0557723dd4728c5ee4943d8e31 | 0743ab744d46e044900baa74984513c3e723357c | /CModel.cpp | c07ffab5a6872a2c6ab0d64fce3ef74d81356dc4 | [] | no_license | Watergun/DuckLife | 5b94046188c131abbfaa20981788d9eb279662cc | f040c4ccea977becc3b55d50cf14b1955cf1f678 | refs/heads/master | 2022-10-16T17:52:55.636017 | 2014-05-13T22:31:01 | 2014-05-13T22:31:42 | 19,423,893 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,602 | cpp | #include "CModel.h"
//CON- & DESTRUCTOR
CModel::CModel()
{
m_pVertices = NULL;
m_pIndices = NULL;
m_pNormals = NULL;
}
CModel::CModel(const char* cstrFilename)
{
m_pVertices = NULL;
m_pIndices = NULL;
m_pNormals = NULL;
LoadData(cstrFilename);
}
CModel::~CModel()
{
if(m_pVertices != NULL)
delete[] m_pVerti... | [
"leonhardk@localhost.localdomain"
] | leonhardk@localhost.localdomain |
84d97a3145ac002f622c76969f0e332bc672ec76 | 002f184db2adda7cbc262dcdbac123057e6681e2 | /Comet_Library/Comet_Library.cpp | 3488a8bf5145cc61b7a30f9cf47ce5b8bbc6acea | [] | no_license | ryan0813/DeLata | a43ae562ba91bc8e68eada17d9f4f9e48c0b0652 | bf7df40c737464c9dd3cd8047fefc0b674eb826a | refs/heads/master | 2021-09-01T18:14:33.033645 | 2017-12-28T06:49:25 | 2017-12-28T06:49:25 | 115,581,089 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,711 | cpp |
#include "Comet_Library.h"
#define data_read_count_MAX 15
Adafruit_VC0706 cam = Adafruit_VC0706(&Serial1);
//Adafruit_GPS GPS = Adafruit_GPS();
static char *(*get_data)(void) = NULL;
namespace dlt
{
boolean _debug = 0;
boolean _num_data = 0;
File image_file;
char image_name[13];
uint16_t image_len = 0;
uint8_t ... | [
"a@b.c"
] | a@b.c |
380f8222618a2dabb3fefd5df2c1fe35324b4d8c | b28630e51de521151d56a3489c402bde14fd9ffb | /Mx/Vulkan/Device/MxVkDevice.cpp | a06cc76a3492cad913358cba7ee41f9a1e1d13d5 | [] | no_license | hitsz-ldjam/MixEngine | d1f9891ed15621e47f9c4ebdb4a8e371831eba99 | 005f4c9341d55b38f8d0b5955d32951887b08d46 | refs/heads/master | 2020-04-13T19:41:06.377357 | 2019-12-21T13:08:24 | 2019-12-21T13:08:24 | 163,409,978 | 4 | 5 | null | 2019-11-26T11:34:50 | 2018-12-28T12:48:40 | C++ | UTF-8 | C++ | false | false | 4,509 | cpp | #include "MxVkDevice.h"
#include <map>
namespace Mix {
namespace Vulkan {
Device::Device(const std::shared_ptr<PhysicalDevice>& _physicalDevice,
std::optional<vk::SurfaceKHR> _surface,
const vk::PhysicalDeviceFeatures* _enabledFeatures,
const std::vector<const char... | [
"x1239392454@outlook.com"
] | x1239392454@outlook.com |
e98f1920723c3b2f57929209cd75e39a730829d7 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/103/974/CWE457_Use_of_Uninitialized_Variable__struct_array_declare_no_init_62b.cpp | 2f77ade345750968cd9f8cdcc902273020d9ab7c | [] | 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 | 1,439 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE457_Use_of_Uninitialized_Variable__struct_array_declare_no_init_62b.cpp
Label Definition File: CWE457_Use_of_Uninitialized_Variable.c_array.label.xml
Template File: sources-sinks-62b.tmpl.cpp
*/
/*
* @description
* CWE: 457 Use of Uninitialized Variable
* BadSource: n... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
3d0a4ce34c5d3c245a0f1d469d87d5007b85e5bf | aec04375d95550f20dc2d0579b4751396d3a6121 | /support/HDF5/1.13.1/include/H5File.h | daed07369d265fefec671e41fa94a19f792a6fdd | [] | no_license | BackyardBrains/Spike-Recorder | 4447a71e74e91dc8a8b9f6ef9bb3140c6ce8c107 | 37c5c69ce126a9aa13333e8ea7faf67872b9b7a4 | refs/heads/master | 2023-08-23T17:23:07.335492 | 2023-08-17T11:35:05 | 2023-08-17T11:35:05 | 17,379,842 | 26 | 14 | null | 2023-08-19T11:38:29 | 2014-03-03T20:56:19 | C | UTF-8 | C++ | false | false | 5,410 | h | // C++ informative line for the emacs editor: -*- C++ -*-
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. ... | [
"stanislavmircic@gmail.com"
] | stanislavmircic@gmail.com |
8257f7d37a0705b2a00de9762c1beeb072296738 | 86558dc876709f1e5871adfdbd1a26045a420ad3 | /tests/HashTable/t8.cpp | 4cabc124e8f2d81725362c7fcbae0c3a82005a41 | [] | no_license | GeorgeDimos/CE325-HashTable | 1fe04958e4232a2b952caa2ec8f255d1f3e7ae99 | c6d028d2ea14e7235a6f2ca3a194e88971374517 | refs/heads/master | 2022-11-27T13:49:59.259464 | 2020-07-27T11:33:41 | 2020-07-27T11:33:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 982 | cpp | #include <iostream>
#include <fstream>
#include <string>
#include "HashTable.h"
#include "HashTableException.h"
#include <stdlib.h>
using namespace std;
int main(int argc, char *argv[]) {
if(argc<3) {
cout << "Insufficient number of arguments!\n";
cout << "Usage: ./t8 <table_size> <input_txt_file>\n" << en... | [
"dimos@uth.gr"
] | dimos@uth.gr |
2e905a35a37125526d66ff5419b90f88a8967481 | 663f383139bc5aadf47127a0b53ebb5ce9e91f8b | /TheEssenceOfAGoodDay/Core/Src/Stack.h | 253ab1ba7d5983560ad5a9693328d55ef0ea467d | [
"MIT"
] | permissive | ongornbk/TheEssenceOfAGoodDay | 90826b8ed9c461ce648cd63b5823cb27576f3606 | f9a89228d49d52fd0a6c22428f88d687b341330b | refs/heads/master | 2020-04-29T11:42:39.923689 | 2019-03-30T02:00:19 | 2019-03-30T02:00:19 | 176,109,201 | 0 | 0 | MIT | 2019-03-30T02:00:20 | 2019-03-17T14:00:10 | C++ | UTF-8 | C++ | false | false | 1,125 | h | #pragma once
#include "IStruct.h"
template <class T>
class Stack : public IStruct<T>
{
public:
struct StackElement : public IElement<T>
{
StackElement(const T element)
{
data = element;
next = nullptr;
}
~StackElement()
{
safe_delete(next);
}
};
IElement<T>* __top;
uint32 __s... | [
"ongornbk@gmail.com"
] | ongornbk@gmail.com |
63ae92b85589bdc244de681037bead985fe0eb40 | 02095cd4aeaa3a0d724f7362cdb8795fe9a81620 | /oplink/algorithms/team/src/plugins/multiObjectivizations/MultiObjAvgDistThreshold/MultiObjAvgDistThreshold.cpp | 13696fc2adeb34de217291d79e26be46ae586c29 | [] | no_license | PAL-ULL/software-metco | ba5123cb1423fed4a2ac678ab375728ba4bbfbc8 | 59edc4e49bddbd9fc7237bf2f24271bdfc8afd79 | refs/heads/master | 2021-04-15T04:12:56.292543 | 2021-03-08T13:29:14 | 2021-03-08T13:29:14 | 126,484,450 | 10 | 5 | null | 2020-07-21T18:43:10 | 2018-03-23T12:49:10 | C++ | UTF-8 | C++ | false | false | 4,923 | cpp | #include "MultiObjAvgDistThreshold.h"
#include <stdlib.h>
#include <math.h>
void MultiObjAvgDistThreshold::convertToMultiObjective(vector<Individual *> *population, vector<Individual *> *offSpring, vector<Individual *> *reference, int ordObj, int numberGeneration) {
//Looks for best individual (in obj0)
Individ... | [
"edusegre@gmail.com"
] | edusegre@gmail.com |
ce45efa48e17876c6c5a0d005605f6b09dcb2d4e | 5630af23a218b57c7cc421481b795befa5cfb001 | /HW2/0511076_hw2.cpp | 6b542550d0e20d82fe00240a34dcd11513a8a337 | [] | no_license | zonghan0904/Algo_HW | 579115f9d89e50548bcd6cdee406263475f1d54f | 0b54c49d9a32b5671d1de40960c7b171f1e0454d | refs/heads/master | 2020-08-08T16:57:30.824368 | 2020-01-09T14:51:27 | 2020-01-09T14:51:27 | 213,873,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,271 | cpp | # include <iostream>
# include <fstream>
# include <vector>
//# include <chrono>
using namespace std;
//using namespace std::chrono;
// ############################ declaration ############################
vector<int> A(1, 0), V(1, 0);
vector<vector<int> > table;
int field_A, crops_K;
int max_benefit(int mode);
... | [
"steven.me05@nctu.edu.tw"
] | steven.me05@nctu.edu.tw |
800ad5000bc45c5a9f3ef5f5a65cd676c8aec922 | 3aca4aed235e40bc4c599a446dbdde0d810658f6 | /conserva.cpp | 4a9e4312da33249cab335bef29d757e55f171b54 | [] | no_license | VirusAlex/Conserva | d16694fae7784827b31c78d75f4607f9bbca8e68 | 7323f61f5c9544207460e351542ac69e86b2a711 | refs/heads/master | 2021-01-20T15:18:34.586613 | 2017-05-21T22:29:50 | 2017-05-21T22:29:50 | 90,749,656 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,882 | cpp | //+++/+±/
#include <QTime>
#include <QDebug>
#include <QDataStream>
#include "conserva.h"
#include <QtGui/qtextdocument.h>
//Some types of messages by key;
//'i' = message content some file;
//'s' = common text message;
//'a' = message content UserName;
//'z' = server message to the client;
//'x' = server set client... | [
"virusing@mail.ru"
] | virusing@mail.ru |
65570cc666be68d70f8599b5cbdc15f58c240572 | 73ceb342d28e16a7f718cf52aed63e5da23c8dd5 | /DLT/GModel.h | b88439116d464e7075ed83718c7b4d9634ab3a01 | [] | no_license | h005/myViewpoint | 0d82fb06729378ce921084c758b9672121687011 | 22a559fccc58360de7d0ba477c00f67d1249db98 | refs/heads/master | 2021-01-23T02:39:48.538976 | 2016-07-04T06:05:44 | 2016-07-04T06:05:44 | 86,010,992 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 962 | h | #pragma once
#include <map>
#include <gl/glut.h>
#include "assimp/Importer.hpp"
#include "assimp/postprocess.h"
#include "assimp/scene.h"
#include "assimp/DefaultLogger.hpp"
#include "assimp/LogStream.hpp"
typedef std::map<std::string, GLuint *> TextureIdMapType;
#define aisgl_min(x,y) (x<y?x:y)
#define aisgl_max(x,... | [
"zwzmzd@mail.enjoy-what.com"
] | zwzmzd@mail.enjoy-what.com |
08a8720983690f3502a5365498706db1e281f857 | f566d02e4682686a5606f7c79bd736e7d61bf53b | /filter/kalman_filter/include/kalman_filter/extended_kalman_filter.hpp | c4a5230ba6812a7a6be9af960f665bf67736717e | [] | no_license | ChefOtter/ahl_ros_pkg | 8fbedddf4782170256db97ed589e21a985ad3b9c | f7fa1ca6808389ac6cb433cc0f3c8e0593ae8b8b | refs/heads/master | 2020-12-03T05:28:49.109939 | 2015-10-05T00:51:48 | 2015-10-05T00:51:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,640 | hpp | /*********************************************************************
*
* Software License Agreement (BSD License)
*
* Copyright (c) 2015, Daichi Yoshikawa
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following... | [
"daichi.yoshikawa@gmail.com"
] | daichi.yoshikawa@gmail.com |
99f0bb6342e07e2236aba7d5e540f0498739cbe6 | 00d722787953141db780cc4917d91b25a017faf1 | /4_lab_1/4_lab_1/4_lab_1/Cylinder.h | 51b9f06a7cf2d85e635ce80bb983067638cee992 | [] | no_license | kloun1592/oop-labs | e6295c091784ac887b06e235246b4f936b40be7f | 87dacaa898b196ae473cdd928de52645bcde9af4 | refs/heads/master | 2021-01-10T23:13:59.863845 | 2017-02-11T05:12:15 | 2017-02-11T05:12:15 | 69,725,753 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 380 | h | #pragma once
#include "Body.h"
class CCylinder final :
public CBody
{
public:
CCylinder(double density, double baseRadius, double height);
double GetBaseRadius() const;
double GetHeight() const;
double GetVolume() const override;
protected:
void AppendProperties(std::ostream & strm) const override;... | [
"kloun1592@yandex.ru"
] | kloun1592@yandex.ru |
b383cf55ab1de6da6634a00fa0c5d5a7b097a223 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/106/392/CWE590_Free_Memory_Not_on_Heap__delete_array_int64_t_alloca_17.cpp | 5b5a669b6fc77a6f26ccdb2d2fb7d9c499c3d649 | [] | 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 | 2,880 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE590_Free_Memory_Not_on_Heap__delete_array_int64_t_alloca_17.cpp
Label Definition File: CWE590_Free_Memory_Not_on_Heap__delete_array.label.xml
Template File: sources-sink-17.tmpl.cpp
*/
/*
* @description
* CWE: 590 Free Memory Not on Heap
* BadSource: alloca Data buffe... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
26ae4168fbf66833ecefa126f2e2e3d319479593 | a4c8c67ac6a91e76402ae6f7f053668b52629ed8 | /src/game-server/commands/game-commands/SayCommand.cpp | 4d0dd8eea170d93db5574e12683db2bcdd1cb62e | [] | no_license | joshfernandez/cmpt373_combatgame | 229cb9ba8bc06b90631faca4e6aa198f55a0733e | bc3094d20ab963b50c184ad2a036a0908cc82d97 | refs/heads/master | 2021-01-12T02:33:02.982661 | 2017-01-04T23:15:24 | 2017-01-04T23:15:24 | 78,059,742 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 644 | cpp | #include "SayCommand.hpp"
#include "commands/DisplayMessageBuilder.hpp"
#include <boost/algorithm/string.hpp>
#include <GameStrings.hpp>
SayCommand::SayCommand(GameModel& gameModel, Controller& controller) : gameModel{gameModel}, controller{controller} {}
std::unique_ptr<MessageBuilder> SayCommand::execute(const gsl::... | [
"jafernan@sfu.ca"
] | jafernan@sfu.ca |
6a12e1a9ff8280b8b952c4d890037923150827ef | 0336d762fc0529cf3e35ac45074fb108c913118a | /chrome/browser/ui/views/permission_bubble/chooser_bubble_ui.cc | 6c7986a843ced5a6a4c8b228d1ad2af4da16afc7 | [
"BSD-3-Clause"
] | permissive | Nelsontw/chromium | a7d85aac890b024a2defd93dafd705f6a7e8a9ea | a023e57d9754e44e725018cc8413d434a2599c9d | refs/heads/master | 2023-03-13T20:56:49.620590 | 2020-03-15T19:01:50 | 2020-03-15T19:01:50 | 247,532,256 | 0 | 0 | BSD-3-Clause | 2020-03-15T19:01:12 | 2020-03-15T19:01:12 | null | UTF-8 | C++ | false | false | 7,855 | cc | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/permission_bubble/chooser_bubble_ui.h"
#include "base/strings/string16.h"
#include "chrome/browser/chooser_controller/c... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
00318452095edb3eb3b5c116151beb929422470b | d9d055c23457abad989b404840be79a6d485c1a7 | /gphoto_if/gphoto_helper.hpp | 81e750be9e874ca2ec9391bcc2931da5e7099e11 | [
"BSD-3-Clause"
] | permissive | bachmmmar/PTPIPCameraSync | 7cb8180db43ccdf84894503eb908f4bc205f11ca | c800c33e3660b92bb5f8582f1050c9579e14b1fd | refs/heads/master | 2021-10-25T18:17:53.131872 | 2019-04-05T20:00:34 | 2019-04-05T20:00:34 | 104,393,003 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,236 | hpp | #pragma once
extern "C" {
#include <gphoto2/gphoto2-camera.h>
#include <gphoto2/gphoto2-context.h>
}
#include "gphoto_typedef.hpp"
class GPhotoHelper {
public:
static void enableDebugLog();
// configuration and initialization functions
static void createContextWithCallbacksRegistered(GPContext *context);
... | [
"bachmmar@gmail.com"
] | bachmmar@gmail.com |
f23fe74909bb1443c9f0ccacd32015c162097f28 | b5f226c3fce0bf0bccafd04d40fac86bf898825a | /analysis/bin/singletopAnalyser.cc | 2aeecef03781641060814a650763c53c32552a66 | [] | no_license | yebiny/nano | 5e663fd369a56a79ad90b3bffefe820fd829620b | 7c970ed5d10e55ccc1a42612837d09ca350e38ea | refs/heads/master | 2020-06-01T00:00:14.847561 | 2018-11-29T11:44:45 | 2018-11-29T11:44:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41,406 | cc | //#define nanoAnalyser_cxx
#define Events_cxx
#include "DataFormats/HepMCCandidate/interface/GenStatusFlags.h"
//#include "nano/analysis/interface/nanoBase.h"
#include "nano/analysis/interface/topEventSelectionSL.h"
#include <TH2.h>
#include <TStyle.h>
#include <TCanvas.h>
#include <TMatrixDSymfwd.h>
#include <TMatrixD... | [
"quark2930@hotmail.com"
] | quark2930@hotmail.com |
0736ccb86c2233b3ca29f276401474d1af16c6c5 | 695552867e16917ecc07a2bf05035060b43e34f0 | /Math/Set theory/average_sum_of_all_subsets.cpp | 23073f6c0cf68e56c6141b3b0c11bcb54c994f52 | [] | no_license | Nur99/ADS | e4432e1cb84e04ae5fc108ef79ffd007c279380b | 5eda65bc3e7c73d61b4748598df2ac1e34300e83 | refs/heads/master | 2020-03-21T12:09:59.507947 | 2019-07-11T10:59:28 | 2019-07-11T10:59:28 | 138,538,628 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 240 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
int n;
cin>>n;
double a[n];
double sum = 0;
for(int i = 0; i < n; i++)cin>>a[i], sum += a[i];
double ans = ((1<<n)-1)*sum/(n*1.0);
cout<<ans;
}
| [
"noreply@github.com"
] | Nur99.noreply@github.com |
c9f9735fbbe3e52bdbfb40814d885ae9ab05268c | 0ca50389f4b300fa318452128ab5437ecc97da65 | /src/color/luv/akin/xyz.hpp | 42095c9e9cd3e7fdb5b982b80f97c63160e56a77 | [
"Apache-2.0"
] | permissive | dmilos/color | 5981a07d85632d5c959747dac646ac9976f1c238 | 84dc0512cb5fcf6536d79f0bee2530e678c01b03 | refs/heads/master | 2022-09-03T05:13:16.959970 | 2022-08-20T09:22:24 | 2022-08-22T06:03:32 | 47,105,546 | 160 | 25 | Apache-2.0 | 2021-09-29T07:11:04 | 2015-11-30T08:37:43 | C++ | UTF-8 | C++ | false | false | 1,036 | hpp | #ifndef color_luv_akin_xyz
#define color_luv_akin_xyz
#include "../../generic/akin/xyz.hpp"
#include "../category.hpp"
#include "../../xyz/category.hpp"
namespace color
{
namespace akin
{
template< >struct luv< ::color::category::xyz_uint8 >{ typedef ::color::category::luv_uint8 akin_type; ... | [
"dmilos@gmail.com"
] | dmilos@gmail.com |
407664f25e898726358820dad1e9362b556f1059 | 48298469e7d828ab1aa54a419701c23afeeadce1 | /Client/OGRE/OgreMain/include/OgreBlendMode.h | 65c11829dd82b7e2e5aef1e8efd8e35148bbc875 | [] | no_license | brock7/TianLong | c39fccb3fd2aa0ad42c9c4183d67a843ab2ce9c2 | 8142f9ccb118e76a5cd0a8b168bcf25e58e0be8b | refs/heads/master | 2021-01-10T14:19:19.850859 | 2016-02-20T13:58:55 | 2016-02-20T13:58:55 | 52,155,393 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 9,415 | h | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2005 The OGRE Team
Also see acknowledgements in Readme.html
This program is free software... | [
"xiaowave@gmail.com"
] | xiaowave@gmail.com |
bf431291495618daf139b975973cb7d134d2a967 | aa54d7be40f06d93a6fe2bdc7ccbe530a126d8c4 | /cli/src/util/SimpleAudioEngineOpenAL.cpp | adcef79e6e5f973e37d1f8ec12f19b65f6f3019e | [] | no_license | shipduck/cham-cham-cham | 1365a97ef565cc036bd3e2f8321c15799aa84fff | d6ddebea7fd7e385820b97693c1fd9ea643ae2a5 | refs/heads/master | 2016-09-06T03:19:41.333661 | 2013-08-28T13:15:20 | 2013-08-28T13:15:20 | 10,620,263 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,017 | cpp | // Ŭnicode please
/****************************************************************************
Copyright (c) 2010 cocos2d-x.org
http://www.cocos2d-x.org
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 ... | [
"libsora25@gmail.com"
] | libsora25@gmail.com |
0265e77d5a8b3b5188c2f3ce5ec1a5a66c471c8a | c865947bcd2c2a8381eebd73860eefb05f06af84 | /fst/rmepsilon.cpp | 56a7b72098c5c27a3f3d16dc0a24918260cdb58e | [] | no_license | Qoboty/ASR-decoder | d3ba633b99c802906493669c2c5ed8b710c8c2cc | e761319096c4c294f4f0295204142e3e674aa409 | refs/heads/master | 2020-03-06T21:08:09.709792 | 2018-01-25T11:26:49 | 2018-01-25T11:26:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,816 | cpp |
#include <vector>
#include <utility>
#include "fst/rmepsilon.h"
#include "fst/connect-fst.h"
void RmEpsilon(Lattice &ifst, int ilabel)
{
// first delete no use arc and state
Connect(&ifst);
typedef float Weight;
typedef pair<StateId ,Weight> Pair;
// the ifst must be no eps loop, here I don't check.default it's... | [
"hubo@1057277483@qq.com"
] | hubo@1057277483@qq.com |
24e3d95e55d06b361121d51a23e28bd3e3765ea9 | bb71ec29302bbd20aaf3ead1908ccabc27b26833 | /gfg257_hw6_q2.cpp | df9f003603b1587c0cac8eabbf34f3f65584fbf3 | [] | no_license | GG38040/C-Projects | 2c266d68db2eb4c8a4b6db904bfbf5e2207460f9 | 07963ca74d57edf7e3c46f9828a33332e2fafe9f | refs/heads/master | 2020-06-04T09:03:37.156072 | 2019-06-16T21:33:42 | 2019-06-16T21:33:42 | 191,956,613 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,087 | cpp | // ConsoleApplication44.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
#include <string>
using namespace std;
bool isPalindrome(string str);
//This function is given a string str containing a word, and returns true if and only if str
//is a palin... | [
"noreply@github.com"
] | GG38040.noreply@github.com |
df8edf0d6770aace94e1cd499240da6bdd8e356d | 909095842af0bbf2e769aff361b5af344abc7433 | /engine/source/collection/hashTable.cc | e9d7e86906545960fb2b8e483335eb12db1965f5 | [
"MIT"
] | permissive | TorqueGameEngines/Torque2D | 316105e8b91cebf8660ff43871440e1c4d0b1c5e | 2c555d6dd0172a05ddb6a14f014d22f335b4ccad | refs/heads/master | 2023-09-01T02:22:53.663431 | 2023-05-02T20:45:37 | 2023-05-02T20:45:37 | 268,352,960 | 1,001 | 117 | MIT | 2023-05-02T20:19:19 | 2020-05-31T19:51:55 | C | UTF-8 | C++ | false | false | 2,458 | cc | //-----------------------------------------------------------------------------
// Copyright (c) 2013 GarageGames, LLC
//
// 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 restr... | [
"michaelp@garagegames.com"
] | michaelp@garagegames.com |
18f4aad63f36832f1e4a446caf72184a968c2d86 | 696e35ccdf167c3f6b1a7f5458406d3bb81987c9 | /chrome/browser/chromeos/arc/auth/arc_auth_service_browsertest.cc | 85effeefeff05369199469782b9de500fc655c5b | [
"BSD-3-Clause"
] | permissive | mgh3326/iridium-browser | 064e91a5e37f4e8501ea971483bd1c76297261c3 | e7de6a434d2659f02e94917be364a904a442d2d0 | refs/heads/master | 2023-03-30T16:18:27.391772 | 2019-04-24T02:14:32 | 2019-04-24T02:14:32 | 183,128,065 | 0 | 0 | BSD-3-Clause | 2019-11-30T06:06:02 | 2019-04-24T02:04:51 | null | UTF-8 | C++ | false | false | 44,252 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <memory>
#include <string>
#include <vector>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/command_line.h"
#include "base... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
c880fba5bffcf64040bda316300a9608d9c5d4f1 | e69d0d1deac8d6134fcaec3fca78968c97970c51 | /Horas_minutos_segundos/main.cpp | 65e74c7b93b08dfe3e0c5d77209571358be43640 | [] | no_license | KrismyAndrea/Parcial1 | cb0765bc3ac380eac0b7cbea2a839a376028b420 | 57dd7ace353c0d7fadaf25854e9a2a7282a56e45 | refs/heads/master | 2021-04-28T15:45:10.710458 | 2018-02-21T03:28:43 | 2018-02-21T03:28:43 | 121,996,858 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 613 | cpp | #include <iostream>//LIBRERIAS
using namespace std;//PALABRAS RESERVADAS
int main()
{
//DECLARACION DE VARIABLES TIPO REAL
float segundos, minutos, horas;
cout << "Ingresar los segundos a convertir en horas, minutos y segundos:" ;//INGRESO DE DATOS
cin >> segundos;
//PROCESO PARA CONVERTIR SEGUNDO... | [
"krismysanchez@gmail.com"
] | krismysanchez@gmail.com |
9f9da90dc3266e6e1ba83c4e7daff5304a7e9445 | a19fad3361e0766abaf8d7b84a804a3db5e49688 | /practice/myNN/Net.cpp | b0f916ec8a8c41f4f06efb258ec705b2ff44bfb3 | [] | no_license | Barush/Anonymization-NN | 6119f2d08ee1291b03761653b30ae65c2bfefbfb | 16ce57bd938e8d440dd848e2ef1fae2a9827f456 | refs/heads/master | 2021-05-03T16:39:27.513959 | 2016-03-31T14:03:09 | 2016-03-31T14:03:09 | 44,342,341 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 372 | cpp | #include "Net.h"
void Net::forwardPass(){
//initiate input
vector<double> prevout;
prevout = input;
//for all layers
for(int i = 0; i < layercnt; i++){
//load input
if(i > 0){
prevout.clear();
prevout = layers.at(i-1).getOutput();
}
layers.at(i).setInputs(prevout);
//count
layers.at(i).count... | [
"barush@dhcpr137.fit.vutbr.cz"
] | barush@dhcpr137.fit.vutbr.cz |
4b26fa754db74345330633762ce56234137d2c16 | f4e4b8cac978fff0eae0e4c3a415d36725538618 | /include/bh/memory.h | b50336850584a2715f904f2eb4de0d6e685632db | [] | no_license | rocksat/Quad3DR | 6f72b6d070a495a0c885f419fba5ef2443d81026 | a760e2c2cd504b63d85f365bc83363578877d0fc | refs/heads/master | 2021-03-14T06:58:49.821164 | 2020-03-30T17:28:18 | 2020-03-30T17:28:18 | 246,748,083 | 1 | 0 | null | 2020-03-12T05:04:14 | 2020-03-12T05:04:13 | null | UTF-8 | C++ | false | false | 5,329 | h | //==================================================
// memory.h
//
// Copyright (c) 2016 Benjamin Hepp.
// Author: Benjamin Hepp
// Created on: Mar 15, 2017
//==================================================
#pragma once
#include <memory>
#include <functional>
namespace bh {
template <typename KeyT, typename V... | [
"benjamin.hepp@posteo.de"
] | benjamin.hepp@posteo.de |
24fb63c6c29d454a185287538cb2d311c285cc63 | 271dd31f9312818160ac4e2417fcff7e90ef33a5 | /leetcode/*0665.cpp | d79f30908bae8df26a05e8899ee3370ccc03fa2e | [] | no_license | xlnwel/Leetcode | 7a6310417fe2d6a47dec4750339938a0f03716bb | 5c9d52bd97d836c3966d9e1026ccfe47838a6fc3 | refs/heads/main | 2023-04-05T07:37:10.883326 | 2021-04-12T13:58:40 | 2021-04-12T13:58:40 | 343,053,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 519 | cpp | #include <vector>
using namespace std;
class Solution {
public:
bool checkPossibility(vector<int>& nums) {
if (nums.size() < 3)
return true;
int n = nums[0] > nums[1];
for (int i = 2; i != nums.size(); ++i) {
if (nums[i-1] > nums[i]) {
if (nums[i-2] ... | [
"122134545@qq.com"
] | 122134545@qq.com |
b30c3e354126ba5d4073641a245ad059b170ee2a | 501591e4268ad9a5705012cd93d36bac884847b7 | /src/server/game/AI/CoreAI/GuardAI.h | b374a4ed207055cd7861e231dbdd325dfb4ffc52 | [] | no_license | CryNet/MythCore | f550396de5f6e20c79b4aa0eb0a78e5fea9d86ed | ffc5fa1c898d25235cec68c76ac94c3279df6827 | refs/heads/master | 2020-07-11T10:09:31.244662 | 2013-06-29T19:06:43 | 2013-06-29T19:06:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,124 | h | /*
* Copyright (C) 2008 - 2011 Trinity <http://www.trinitycore.org/>
*
* Copyright (C) 2010 - 2012 Myth Project <http://mythprojectnetwork.blogspot.com/>
*
* Myth Project's source is based on the Trinity Project source, you can find the
* link to that easily in Trinity Copyrights. Myth Project is a private commun... | [
"vitasic-pokataev@yandex.ru"
] | vitasic-pokataev@yandex.ru |
9329cb53a7fa4b9120ed5883f44f45ff05deeaad | d1cf34b4d5280e33ebcf1cd788b470372fdd5a26 | /zoj/25/2534.cpp | d24dc18a4a81b6e9ce33cb06c84b6cdbd4caf897 | [] | no_license | watashi/AlgoSolution | 985916ac511892b7e87f38c9b364069f6b51a0ea | bbbebda189c7e74edb104615f9c493d279e4d186 | refs/heads/master | 2023-08-17T17:25:10.748003 | 2023-08-06T04:34:19 | 2023-08-06T04:34:19 | 2,525,282 | 97 | 32 | null | 2020-10-09T18:52:29 | 2011-10-06T10:40:07 | C++ | UTF-8 | C++ | false | false | 2,200 | cpp | #include <cstdio>
const int MonthDay[2][13] = {
{-1, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31},
{-1, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}
};
const int Size = 365243;
int Move[Size];
int dp[Size];
int queue[Size];
inline bool LeapYear(int y)
{
return y % 4 == 0 && (y % 100 != 0 || y % 40... | [
"zejun.wu@gmail.com"
] | zejun.wu@gmail.com |
2cce3dd8caa8f8d80e3d9edf85ea43dd515310ac | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_6404600001200128_1/C++/Weiheng/a.cpp | c788cac4c5dfda0a1f34f4fc71881695e618c1b2 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 825 | cpp | #include <iostream>
using namespace std;
int main() {
int n, t;
int ans1, ans2;
int num[1002];
int cnt = 0;
int i, j;
t = 1;
cin>>n;
int rate;
int maxnum = -1;
while (t<=n) {
cin>>cnt;
for (i=0; i<cnt; i++)
cin>>num[i];
ans1 = 0;
for ... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
a7fff1d82f290caa8db4f33d55e7ce0cb795cbd9 | 2f37b0b5ea900093ec3d06f835824270738c0556 | /Leetcode/060_PermutationSequence.cc | 084c9c97c40a9f815ef358b23035b74fbe3fa70b | [] | no_license | yanglin526000/Wu-Algorithm | d0da3fdc92748c21c2a96b096a260a608f04adab | 5259f8c81fc9a14ec35c5422d0edb9ec36304ae8 | refs/heads/master | 2021-09-11T12:41:48.195238 | 2018-04-07T04:48:17 | 2018-04-07T04:48:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,110 | cc | #include<string>
using namespace std;
//9!在int范围内
//可以用permutation k-1次,但是超时
//使用康托编码
//把阶乘函数独立出来。
class Solution {
public:
string getPermutation(int n, int k) {//获取第k个排列!!!
string result(n,'0');
//生成字符串1到n
for(int i=0;i<n;++i){
result[i]+=i+1;
}
if(k>factorial(n... | [
"jt26wzz@icloud.com"
] | jt26wzz@icloud.com |
00bf75aadb48051b7a7b96682c89fbbd1b93f1b0 | 5e8d200078e64b97e3bbd1e61f83cb5bae99ab6e | /main/source/src/protocols/indexed_structure_store/StructureStore.fwd.hh | 2305f26487aee5a8ca6a49786e24b84fa062a605 | [] | no_license | MedicaicloudLink/Rosetta | 3ee2d79d48b31bd8ca898036ad32fe910c9a7a28 | 01affdf77abb773ed375b83cdbbf58439edd8719 | refs/heads/master | 2020-12-07T17:52:01.350906 | 2020-01-10T08:24:09 | 2020-01-10T08:24:09 | 232,757,729 | 2 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 1,277 | hh | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"36790013+MedicaicloudLink@users.noreply.github.com"
] | 36790013+MedicaicloudLink@users.noreply.github.com |
7d5e58824d40d5357a2e017a7466dffa58e49973 | 90134be6be6e5ab9a7d40d125f22ae6bf05aab8b | /zrbase/install_isolated/include/ist_slam/metrics/register.h | 1becf453609c5ff7f29dfc0928e61b9eeb56f4ce | [] | no_license | program-cn/tic | 509880db93d851f4e44d01c9ad98c3e1afc44a76 | bcf864f0b7ac6549adde15c62a45947aa2905ed4 | refs/heads/master | 2020-07-30T23:18:13.680396 | 2019-07-04T02:48:53 | 2019-07-04T02:48:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 910 | h | /*
* Copyright 2018 The ist_slam Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | [
"106174975@qq.com"
] | 106174975@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.