blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
59e8901da994f0c56ea5b6a41c9f241731cafd3d | 5fd1cf1c3e4501e9e79a26b9b214689ef0154a0d | /src/audio/alsa/base.cpp | 9949df3dcb1729ea5d0fd92c0aad0e01fa14d0c7 | [
"BSD-2-Clause"
] | permissive | mekanix/libmaolan | 67e6d2da8d7ceef66c55ad8d5cefbc624f9e4c0a | f71b890d582919496884586e37d5dd0cf1d942b8 | refs/heads/master | 2021-05-11T12:53:48.929542 | 2021-02-16T17:57:16 | 2021-02-16T17:57:16 | 117,667,721 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,946 | cpp | #include <iostream>
#include "maolan/audio/alsa/base.hpp"
#include "maolan/audio/alsa/config.hpp"
#include "maolan/config.hpp"
#include "maolan/constants.hpp"
static void checkError(int &value, const std::string &message)
{
if (value != 0)
{
throw std::invalid_argument(message);
}
}
using namespace maolan... | [
"meka@tilda.center"
] | meka@tilda.center |
85aa89a58e3833bb06fe9a670104279e838eeca3 | 916f2ce5a1fabd27bf597eb4c03bf39ab7bc16f2 | /include/eigenml/core/model_traits.hpp | 41d8913548721ccebe04f5d577c470ec992529f3 | [
"Apache-2.0"
] | permissive | guillempalou/eigenml | ddefb072baab7a09f250cfd4146336e8488793e9 | 3991ddbfd01032cbbe698f6ec35eecbfe127e9b4 | refs/heads/master | 2021-01-10T10:59:50.456143 | 2016-01-10T17:54:00 | 2016-01-10T17:54:00 | 48,426,824 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 490 | hpp | #include <eigenml/core/types.hpp>
namespace eigenml {
template<ModelType modelType, class FeatureMatrix, class TargetMatrix>
struct model_traits {
// scalar types
typedef typename FeatureMatrix::Scalar FeatureScalarType;
typedef typename TargetMatrix::Scalar TargetScalarType;
... | [
"gpalou@palantir.com"
] | gpalou@palantir.com |
46051c43df1c5e53f221d4d74d8404e716c3474d | 4e9ace268b7a9418b5d04d3da91f1ebddd515dc1 | /C++/http/http.cpp | dcf632f94c85658301228b90d9670655afb22000 | [] | no_license | anyks/aming | 8cc2709ba244a26094d8084987e62136701fa170 | 1f221f65a561c345253f8397de9580e455f78fa4 | refs/heads/master | 2021-08-18T18:48:00.340849 | 2017-11-23T14:50:06 | 2017-11-23T14:50:06 | 108,564,023 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 40,129 | cpp | #include "http.h"
// Устанавливаем пространство имен
using namespace std;
/**
* split Функция разделения строк на составляющие
* @param str строка для поиска
* @param delim разделитель
* @param v результирующий вектор
*/
void Http::split(const string &str, const string delim, vector <string> &v){
string::s... | [
"forman@anyks.com"
] | forman@anyks.com |
dda37aee35f2d92cb208ea345fed052b6cd8824d | 09a4e01d9af958c27dea623ba4269b945b43cc1a | /src/HCSearchLib/InitialStateFunction.cpp | e81049d8411092d1f7cd3a630af421219847c4eb | [
"MIT"
] | permissive | jizhihang/hcsearch_cv | bd84c72481d69bc9bb7eea2181869a81fd4f717a | f25c575a7fe4eb0313d0dcf976482e4b065b8ed8 | refs/heads/master | 2021-01-20T13:21:45.593003 | 2016-06-08T12:53:28 | 2016-06-08T12:53:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,805 | cpp | #include "MyFileSystem.hpp"
#include "InitialStateFunction.hpp"
#include "Globals.hpp"
namespace HCSearch
{
/**************** Initial Prediction Functions ****************/
/**************** Logistic Regression ****************/
const double LogRegInit::DEFAULT_C = 10;
const double LogRegInit::BINARY_CONFIDENCE_... | [
"lamm@eecs.oregonstate.edu"
] | lamm@eecs.oregonstate.edu |
43ad0c93b8ca9937496f2993d9ffdabe47db908f | 2bc46842f7d5ec44473e75e8265beba9a1375ec0 | /src/fs_snapshot.h | 03b21a641c8b75125276d9c3e3ce928321a59721 | [] | no_license | jackstenglein/strata_crash_consistency | 3f5633b545a86959471be934eeee61d6011d60e5 | 704746a7977af6e59918fd368742c4e641f1b18d | refs/heads/master | 2020-09-14T23:06:01.104814 | 2019-12-10T06:09:34 | 2019-12-10T06:09:34 | 223,231,806 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 798 | h | #include <iostream>
#include <fstream>
#include <sys/stat.h>
#include <map>
#include <vector>
// Represents a snapshot of single file.
class FileSnapshot {
int status;
int error;
struct stat snapshot;
public:
FileSnapshot(const std::string);
FileSnapshot(std::ifstream&);
bool operator ==(const FileSnapshot... | [
"jackstenglein@utexas.edu"
] | jackstenglein@utexas.edu |
e9f725795b7e8b1812566658c0d174749b1c7f39 | c91b48a8d9884b4a4ab46f4f937e3583d32250db | /Assignment6/NYUCodebase/SheetSprite.cpp | b0d0cac2b66dba5cfbe9aea9b38f5f5e110d0686 | [] | no_license | at2706/Game-Programming | e611cfbe0c82e8ae26a5ad51f240c8a1a9a1c4ca | 5b48a21e4d529c4705c5b72fa42384264933c80b | refs/heads/master | 2021-01-23T13:55:04.904896 | 2014-11-19T12:55:13 | 2014-11-19T12:55:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,569 | cpp | #include "SheetSprite.h"
SheetSprite::SheetSprite()
{
}
SheetSprite::~SheetSprite()
{
}
SheetSprite::SheetSprite(GLuint texID, GLfloat u, GLfloat v, GLfloat width, GLfloat height)
: textureID(texID), u(u), v(v), width(width), height(height){
}
GLvoid SheetSprite::draw(GLfloat x, GLfloat y, GLfloat facing, GLfloat... | [
"at2706@nyu.edu"
] | at2706@nyu.edu |
0bbb02865015381b8ac1dee3fee197f19ce9cdd4 | 8e28bfe260efb068c45df4429246e4354c5ea6f3 | /counter.cpp | c770aecb50fceaada494076e64b211f1189794ee | [] | no_license | Michal944/adder_binary | 7cde8617a425d03496ff64fc5efdc49ac7d8d2d6 | 41d344f84cc45eace3039d8dff62ef74fd3b2e56 | refs/heads/master | 2020-12-25T22:47:38.602956 | 2016-09-21T10:02:33 | 2016-09-21T10:02:33 | 68,737,027 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,962 | cpp | #include "counter.hpp"
using std::cout;
using std::endl;
using std::cin;
Counter::Counter(){cout<<"READY!"<<endl;}
Counter::~Counter(){cout<<"CLOSE"<<endl;}
void change_to_binary(const int &value,
const US &bitX,
std::vector<US> &vec)
{
int N;
if(value<0)
{
... | [
"michal.kosik.mail@gmail.com"
] | michal.kosik.mail@gmail.com |
d5c5d6ba53fe8215ec1f399c21a48f5826e7262a | aec89a8f9a1aa1ddce297ac5c1189ee3c041ad4f | /SqlStore.cpp | 5219e2049109a00a528bdf062b3887af3ccace80 | [] | no_license | vmlobanov78/SqlModel | 3bffe015676735ff9c5e90655049f6852bfb2622 | 3b78ff1fb8b67157c42d152ed0698fc9de2d1864 | refs/heads/master | 2021-04-12T08:18:36.625914 | 2018-03-20T10:53:01 | 2018-03-20T10:53:01 | 126,003,333 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,197 | cpp | #include <string.h>
#include <stdlib.h>
#include <glib-object.h>
#include <gtk/gtk.h>
#include "Sql.h"
#include "SqlStore.h"
#include "SqlStore-private.h"
static GObjectClass *parent_class = NULL;
static void
g_ptr_array_free_full (gpointer data)
{
g_ptr_array_free ((GPtrArray*)data, TRUE);
}
static gint
g_int_cm... | [
"37369729+vmlobanov78@users.noreply.github.com"
] | 37369729+vmlobanov78@users.noreply.github.com |
0edbabb228fd5093caa2d294edff03cf8108569f | e0f129d30ae2611fe1b78f11573a51df5af0945f | /PA1.RayCasting/student-code/include/camera.hpp | 483e241210b969036be27b2970fbfc0e61e57acc | [] | no_license | TianhuaTao/computer-graphics-assignment | 1b8034fe72cf481bb352053842d3ef9116786176 | 4f1bddac59f0ecb6be2a82bd86b709f57a69195f | refs/heads/master | 2022-11-10T02:03:55.090071 | 2020-06-21T06:39:29 | 2020-06-21T06:39:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,376 | hpp | #ifndef CAMERA_H
#define CAMERA_H
#include "ray.hpp"
#include <vecmath.h>
#include <float.h>
#include <cmath>
class Camera {
public:
Camera(const Vector3f ¢er, const Vector3f &direction, const Vector3f &up, int imgW, int imgH) {
this->center = center;
this->direction = direction.normalized();... | [
"tth135@126.com"
] | tth135@126.com |
9129bcb0c2251ec91e2eee5fd7f3594c1b49ea42 | 53a7a843d06046aa58a408ad907556b8e1d374d9 | /MeasureMotorSpeed/fftpf.h | 49b18a451b4f995fb6feb520967d43273f21d7c2 | [
"Apache-2.0"
] | permissive | luischuang/MeasureMotorSpeed | f0e6e0b3340ec9467d72f2474cb6f818102e4181 | a9b58c289c1de10d8c59e1d6a821ae361d0c5fcc | refs/heads/master | 2020-06-13T07:43:46.736007 | 2019-07-01T02:53:49 | 2019-07-01T02:56:54 | 194,589,315 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,363 | h | /*
* Copyright (c) 2008-2011 Zhang Ming (M. Zhang), zmjerry@163.com
*
* This program 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 2 or any later version.
*
* Redistribution and ... | [
"914765033@qq.com"
] | 914765033@qq.com |
a8c452802275b56b0a7e8e29caebfa4d5c1f211a | 9d0fc723adc2526490abe44f81383375224a4eb5 | /maximum_xor_subarray.cpp | b13a4e353d29c37638dcff340d22db18ea92f967 | [] | no_license | gupta2140/SerpentineDataStructures | 33315e91b6e53db0b4cf6a6b1e64e804668601f4 | 4f1b1c76da9a463119f659cf237f4ad59f507e67 | refs/heads/master | 2020-03-31T02:08:49.191624 | 2018-10-06T08:54:17 | 2018-10-06T08:54:17 | 151,810,230 | 0 | 0 | null | 2018-10-06T06:07:49 | 2018-10-06T06:07:49 | null | UTF-8 | C++ | false | false | 2,396 | cpp | #include <bits/stdc++.h>
// Considering the maximum number which will be entered will have at max 30 bits in binary representation.
#define MAX_BITS 30
using namespace std;
// A trie structure whose left child refers to 0 and right child refers to 1.
struct trie {
trie *bits[2];
};
// Inserts the number into the t... | [
"gupta2140@gmail.com"
] | gupta2140@gmail.com |
95d984fee7d70364276c04e49fff64363bdae4ca | e018d8a71360d3a05cba3742b0f21ada405de898 | /Client/Packet/Gpackets/GCTradeAddItemHandler.cpp | 5012030969d342e773a27be85fd0d179266d6fb2 | [] | no_license | opendarkeden/client | 33f2c7e74628a793087a08307e50161ade6f4a51 | 321b680fad81d52baf65ea7eb3beeb91176c15f4 | refs/heads/master | 2022-11-28T08:41:15.782324 | 2022-11-26T13:21:22 | 2022-11-26T13:21:22 | 42,562,963 | 24 | 18 | null | 2022-11-26T13:21:23 | 2015-09-16T03:43:01 | C++ | UHC | C++ | false | false | 6,411 | cpp | //////////////////////////////////////////////////////////////////////
//
// Filename : GCTradeAddItemHandler.cpp
// Written By : 김성민
// Description :
//
//////////////////////////////////////////////////////////////////////
// include files
#include "Client_PCH.h"
#include "GCTradeAddItem.h"
#include "... | [
"tiancaiamao@gmail.com"
] | tiancaiamao@gmail.com |
bad7c5f106cfcfb22c5782cc8c2d781fccbeb0e7 | c72d419e9ece84353f4c957eea7418177112b591 | /BMLPA OpenMP/source_code/bmlpa_unweighted.h | a25c175db0c10fba627b67632a1cda23279c2cb2 | [] | no_license | ozamarripa/bmlpa | 421d0d19b3b4ce3e09d8aee591c415e4022cbad5 | 694ab52ebbd1f6d1bc18dcca1ad5f7912ecb5f6a | refs/heads/master | 2020-04-06T16:04:10.779203 | 2014-06-21T08:52:29 | 2014-06-21T08:52:29 | 21,064,341 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,791 | h |
#ifndef BMLPA_UNWEIGHTED_H
#define BMLPA_UNWEIGHTED_H
#include "graph_unweighted.h"
using namespace std;
class Algorithm{
public:
Algorithm(Graph *g);
public:
void roughcores(map<unsigned int,set<unsigned int> > &roughcore);
void initbmlpa();
void propagate_bmlpa(unsigned int x);
void prop... | [
"omar@ozamarripa.(none)"
] | omar@ozamarripa.(none) |
f4a1e54cdb4ac7a4a31917d09e3b1b0046999b67 | 6bc3f5955699fcdac540823c51354bc21919fb06 | /CS-Academy/81/81A.cpp | b5455ca56a4bf9a87623625ecbbb56ad2ded225e | [] | no_license | soroush-tabesh/Competitive-Programming | e1a265e2224359962088c74191b7dc87bbf314bf | a677578c2a0e21c0510258933548a251970d330d | refs/heads/master | 2021-09-24T06:36:43.037300 | 2018-10-04T14:12:00 | 2018-10-04T14:12:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,054 | cpp | //In The Name of Allah
//Tue 16/3/97
#include <bits/stdc++.h>
#define Init ios_base::sync_with_stdio(0),cin.tie(0),cout.tie(0)
#define fori(i,a,b) for(ll i = a; i < b;i++)
#define forar(i,n) fori(i,0,n)
#define WFile freopen("test.in","r",stdin),freopen("test.out","w",stdout)
#define Log(x) cout << "Log: " << x << end... | [
"sorooshtabesh@yahoo.com"
] | sorooshtabesh@yahoo.com |
8d9271fee85d4d0d7c9c9c3a5a01f5df357d06d9 | c426c1d5cca7d3e1f716b84f12032bf9ba8b9629 | /src/Математические функции/HML_ExpMSxD2.cpp | f3444a40207cd9b607692a5bb1aa9cda4abae4fe | [
"MIT",
"Apache-2.0"
] | permissive | Harrix/Harrix-MathLibrary | 24ce89a6c567fa456ef166f1a3f33c322f492118 | 19a753874cb5e792ba64b5c2d88a994e0644fccb | refs/heads/main | 2022-07-24T03:28:48.376683 | 2022-07-08T13:45:35 | 2022-07-08T13:45:35 | 10,152,735 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 294 | cpp | double HML_ExpMSxD2(double x)
{
/*
Функция вычисляет выражение exp(-x*x/2).
Входные параметры:
x - входная переменная.
Возвращаемое значение:
Значение функции в точке.
*/
return exp(-x*x/2.);
} | [
"sergienkoanton@mail.ru"
] | sergienkoanton@mail.ru |
9b2bfeaeb103ea76af4d32de912b5bfb4b34dae8 | 25fdd6194d21a54d0fd4a7c12e77b7221b63ad56 | /extras/FLIPCOIN.cpp | 726ee1e1f78a372782c543856e6b2c0e308dcc70 | [] | no_license | achintsetia/CodeChef | e81e66150b488aff8cf4186ee34005e13453dd09 | af1f2b67c19e905acd20ebe4689e13556b20c2f5 | refs/heads/master | 2021-01-20T05:31:39.536650 | 2013-11-15T08:48:18 | 2013-11-15T08:48:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,248 | cpp | #include <iostream>
#include <string.h>
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <vector>
#include <algorithm>
using namespace std;
#define FASTIO 1
#if FASTIO
/////////////////////
////// INPUT ////////
////////////////////
class INPUT {
static const int BUFSIZE = 1<<16;
static char buf... | [
"achint@achint-cvlab"
] | achint@achint-cvlab |
18c3b3bda48e6a2071b1a94082774a5f6e0fcef7 | b2ff8d0ebd3c5286d60cf0add3b618002489fad3 | /Thunk.cpp | 6047af0e58eb79501528348f058d5d369e1bdeff | [] | no_license | vebko/Configuration-61850 | fe87e0be7666b235b51d4e24e1aec39f90c55639 | 67943eecafbf22edf961cd67f1c3298fe334585c | refs/heads/master | 2021-06-15T03:44:13.092882 | 2017-03-13T08:56:50 | 2017-03-13T08:56:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,542 | cpp |
/*
Copyright 2006 - 2008, All Rights Reserved.
thunk - 动态替换CPU指令
利用这个类可以将Windows API的回调函数封装
成C++类成员.这份代码只能在x86的CPU上执行.
作者 - 张鲁夺(zhangluduo)
MSN - zhangluduo@msn.com
QQ群 - 34064264
为所有爱我的人和我爱的人努力!
*/
#include "Thunk.h"
void* Thunk::Thiscall(void* pThis, unsigned long MemberFxnAddr)
{
// Encoded machine ... | [
"xcj19862003@163.com"
] | xcj19862003@163.com |
f353a2ea78bffa005a9d81f7f699bf506e85c6d4 | fda96f7627d603383baddfd252cb8dd0bc0615ea | /Zorkish/CommandList.cpp | 85d9688e31f060241a4b0c74aa2a9f2f2cb732bf | [] | no_license | andreasioan/Zorkish | bde46d9574617c3cd7b592eae58b9e6f8de4ce19 | 5a73c6290d60478b4213f6e15043000204f06d19 | refs/heads/master | 2021-01-13T12:27:23.277203 | 2017-01-03T06:06:57 | 2017-01-03T06:06:57 | 72,583,478 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 513 | cpp | //
// CommandList.cpp
// Zorkish
//
// Created by Andreas Ioannidis on 12/10/16.
// Copyright © 2016 Andreas Ioannidis. All rights reserved.
//
#include "CommandList.h"
CommandList::CommandList() : Command((string[]){"list"})
{
}
CommandList::~CommandList()
{
}
string CommandList::execute(Player &play... | [
"a.j.ioannidis@hotmail.com"
] | a.j.ioannidis@hotmail.com |
24dc1d099e22f280b2fb07b19a8568167d09f47e | c6dbbb08e9547a471187605d87336d7b0fa58845 | /inbound_filters/AGMSBayesianSpamFilter/AGMSBayesianSpamFilter.h | cd725f24ea01b282329bbbebfc6eb408ece0b7b2 | [] | no_license | HaikuArchives/BeMailDaemon | 625faa4a22122a4c3e7b557356a25ef571653565 | 2fd5cd8e114a9e7ae96b3369b25cfea0af66b88b | refs/heads/master | 2016-09-06T04:31:35.558754 | 2008-08-17T19:49:55 | 2008-08-17T19:49:55 | 39,097,297 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,446 | h | #ifndef AGMS_BAYESIAN_SPAM_FILTER_H
#define AGMS_BAYESIAN_SPAM_FILTER_H
/******************************************************************************
* AGMSBayesianSpamFilter - Uses Bayesian statistics to evaluate the spaminess
* of a message. The evaluation is done by a separate server, this add-on just
* gets t... | [
""
] | |
e0db8b1aed8d87fdb4f3a01f4efa19f36632d3b8 | de2a8f634a0e99f463df2ad79853dcf35bf23deb | /src/GeneratedFiles/ui_addnodedialog.h | 0ed7e43c4b21d4cfef9e3c12184115339c07aa51 | [
"MIT"
] | permissive | SelfSellTeam/Wallet | 35a5bc42831fe43005ce055b13ff0623b235deba | 15a047a308fb0145c6d5df4e54c53a58b59fbf07 | refs/heads/master | 2020-03-10T10:43:23.934099 | 2018-04-13T08:50:59 | 2018-04-13T08:50:59 | 129,339,549 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,480 | h | /********************************************************************************
** Form generated from reading UI file 'addnodedialog.ui'
**
** Created by: Qt User Interface Compiler version 5.7.1
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
*******************************... | [
"36432234+david-selfsell@users.noreply.github.com"
] | 36432234+david-selfsell@users.noreply.github.com |
c63790c5141abf3c933bd0b03147f6cf0a47b8a2 | fbf82b2d98003aa7edadbe5b02e9f1205ecbe46d | /weighted_graph/include/MinimumSpanningTree.h | f73eb9b49148c6f01bcec1741dbaaa29a19046fb | [
"BSD-3-Clause"
] | permissive | tide999/graphs-cpp | 73a78416ca24c22f65c803c331d5b94e3cc6cc0d | 64f71c864df89ebfdbf8fa3189e6f5a4d6ca12f4 | refs/heads/master | 2023-03-20T04:43:31.763469 | 2021-02-07T10:09:30 | 2021-02-07T10:09:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,170 | h | #ifndef WEIGHTED_GRAPHS_CPP_MINIMUMSPANNINGTREE_H
#define WEIGHTED_GRAPHS_CPP_MINIMUMSPANNINGTREE_H
#include "EdgeWeightedGraph.h"
#include "DisjointSets.h"
#include <unordered_set>
#include <algorithm>
#include <queue>
template <typename T>
using min_priority_queue = std::priority_queue<T, std::vector<T>, std::great... | [
"nicolai@xeve.de"
] | nicolai@xeve.de |
cd581d261f5b32a13c9b65cee8d67181b61ba56c | 10c3b82c62b81ca2b09522cc3840f8817b938523 | /DNA_Assignment1/FileHandler.cpp | 4d93c307a7c66011225a489eac30433c3fadfee8 | [] | no_license | ewasserman6/fall2019_DNA_Nucleotides | db4b1fc557f260217c8141624aed5f1eb159d1f8 | 21960d6a1dd6bcd33bfdf0e97dccb28faf166b85 | refs/heads/master | 2020-07-26T04:47:47.761182 | 2019-10-02T05:12:07 | 2019-10-02T05:12:07 | 208,538,540 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,457 | cpp | /*Eric Wasserman
2300841
ewasserman@chapman.edu
CPSC 350 Section 3
Assignment 1: DNA
I created this class so I could open the file only when I needed to compared to opening it
every time I called one of my functions in my main.cpp */
#include "FileHandler.h"
#include <iostream>
#include <fstream>
#include <math.h>
u... | [
"ewasserman@chapman.edu"
] | ewasserman@chapman.edu |
16cba099d1ce676d747b13c7b07528a114848bf0 | 12a35046e0bd567b2687bf2cd8dfa06022acd0be | /server/src/common/lib/agutil/main/AGdataStruct.cpp | 372574fe289fdc4caef3f6eb6828fcf314ee4b86 | [
"MIT"
] | permissive | ngphloc/agmagic | 71e4e5a51faa37645136deeaf85f7976f172ed52 | 65d3ad6aeda3431e998e7f23aaa93381dcd10746 | refs/heads/master | 2022-05-18T22:37:33.142198 | 2022-05-03T02:49:48 | 2022-05-03T02:49:48 | 41,147,766 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 13,957 | cpp | #include "AGdataStruct.h"
#if AGMAGIC_SUPPORT_MFC
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
#endif
CAGmagicElementPtrArray::CAGmagicElementPtrArray() : CAGobjPtrArray<CAGmagicElement>()
{
}
CAGmagicElementPtrArray::~CAGmagicElementPtrArray()
{
}
agbool CAGmagicEle... | [
"ngphloc@gmail.com"
] | ngphloc@gmail.com |
ee754d00b71e0871218baf7acc982536b889ee37 | 9eb72d37e42708e570642fca3cb4e3909231a96d | /daemon/src/Notifier.cpp | c204b145a399a55cf743e9d3e78a2a495e009a31 | [
"Apache-2.0"
] | permissive | niojuju/ibrdtn | ed786b4211d994580fdeb18f3308868a8dd4eb79 | 0505267fbd83587e52bd288e2360f90d953d8ffb | refs/heads/master | 2021-01-17T17:43:55.328441 | 2011-12-22T08:01:35 | 2011-12-22T08:01:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,321 | cpp | /*
* Notifier.cpp
*
* Created on: 11.12.2009
* Author: morgenro
*/
#include "Notifier.h"
#include "core/NodeEvent.h"
#include <stdlib.h>
#include <sstream>
namespace dtn
{
namespace daemon
{
using namespace dtn::core;
Notifier::Notifier(std::string cmd) : _cmd(cmd)
{
}
Notifier::~Notifier()
... | [
"morgenro@1cffb75b-d306-6187-5d55-5a277715007a"
] | morgenro@1cffb75b-d306-6187-5d55-5a277715007a |
7f9b0020262ef6adf6d2bd0685802707330c55b8 | cda2815b7c6efb39d6efe7cc42031fcb454a3617 | /hpx-tutorial-examples/fibonacci.cpp | 2de04595a8a4c5311d4eac4e8e37524ae229f60b | [
"BSD-3-Clause-Open-MPI"
] | permissive | hadimontakhabi/VolpexMPI-HPX | 9ebcc99a92317946e28f526f6f4ed57dc23a1944 | 12356d9f657ae2b872d1923fee10d162c2b77851 | refs/heads/master | 2021-01-10T11:06:11.250922 | 2015-10-12T14:38:43 | 2015-10-12T14:38:43 | 44,113,069 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,871 | cpp | ////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2011 Bryce Lelbach
//
// 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)
////////////////////////////////////////////... | [
"hadi.montakhabi@gmail.com"
] | hadi.montakhabi@gmail.com |
c4d2a6426bb951a19517e363debbae5c560df054 | d7b5b64f6806c554eb29c32d0a846bd6c434e683 | /Lab03/Bai 2/main.cpp | 6c0afa8aedf3d50083df00747eb9294affde0d2c | [] | no_license | 18520339/oop-lab | 477325f7d350f21b6cf1b8eaf9bdc56a0d46ae15 | da11c5586c1eca2616229d46029ade21c4721cc2 | refs/heads/master | 2023-01-24T16:21:07.031005 | 2020-12-13T16:39:09 | 2020-12-13T16:39:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 313 | cpp | #include "TamGiac.h"
int main()
{
TamGiac ABC;
ABC.NhapTamGiac();
ABC.XuatTamGiac();
ABC.VeTamGiac();
ABC.TinhTienTamGiac(50, 50);
ABC.XuatTamGiac();
ABC.VeTamGiac();
ABC.ThuPhongTamGiac(2);
ABC.XuatTamGiac();
ABC.QuayTamGiac(180);
ABC.XuatTamGiac();
cout << endl;
system("pause");
return 0;
} | [
"18520339@gm.uit.edu.vn"
] | 18520339@gm.uit.edu.vn |
b1ba1b5f5ca6a40870dd075542180346c905a491 | 8639ff9641d85811674a382d5dfd23ca184a4353 | /src/util/math_util_complex.hpp | fda6030c915785b3982f072028ff1b129625565d | [] | no_license | IBirdSoft/openfpm_data_3.0.0 | f85a8c050ed0a4aab46acd914dd7ffe44d70aa78 | ea9ff5daf0feb8de5c28eae1e8858cbed801ed45 | refs/heads/master | 2022-12-28T22:08:35.867548 | 2020-10-16T00:46:06 | 2020-10-16T00:46:06 | 272,806,231 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,661 | hpp | /*
* math_util_complex.hpp
*
* Created on: Oct 1, 2017
* Author: i-bird
*/
#ifndef OPENFPM_DATA_SRC_UTIL_MATH_UTIL_COMPLEX_DIOCANE_HPP_
#define OPENFPM_DATA_SRC_UTIL_MATH_UTIL_COMPLEX_DIOCANE_HPP_
//! extern vector for getFactorization
extern std::vector<int> sieve_spf;
namespace openfpm
{
namespace math... | [
"incardon@mpi-cbg.de"
] | incardon@mpi-cbg.de |
2825d3c73be7f3d251b2dbc1a9eb6bb5e5293dd3 | a78aa555b175e699c96553e3d714066bcc281ed8 | /model/propertyclassvalue.cpp | 8c7ade049cf7e58d070dbee42afadd558270d191 | [
"Apache-2.0"
] | permissive | rdffg/bcaa_importer | 0cb503c289002e573bcf8996178381cf001da742 | f92e0b39673b5c557540154d4567c53a15adadcd | refs/heads/master | 2021-08-28T16:05:39.936780 | 2021-08-20T20:00:53 | 2021-08-20T20:00:53 | 92,878,678 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,037 | cpp | #include "propertyclassvalue.h"
namespace model {
PropertyClassValue::PropertyClassValue(QObject *parent) : QDjangoModel(parent)
{
}
Valuation *PropertyClassValue::grossValues() const
{
return qobject_cast<Valuation *>(foreignKey("grossValues"));
}
void PropertyClassValue::setGrossValues(Valuation *valuation)
... | [
"dmahoney@rdffg.bc.ca"
] | dmahoney@rdffg.bc.ca |
02f9b0313a5ebdf9df796f76c529ec0f0b7b0b7f | 8199728ed6b05f5800387a2c9c52adbffc7a1859 | /tensorflow/core/tfrt/saved_model/python/saved_model_load_and_run_wrapper.cc | 270d3ab01fd7f3653e92859aa0a22f9efa99ef80 | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | Manas1820/tensorflow | 7d2c578edb06992173d0f646258113ae21dd3d89 | c6dcf8e91a46d60b898dacd2f8e94b6e46a706a4 | refs/heads/master | 2023-09-01T11:50:58.798938 | 2023-07-13T23:45:54 | 2023-07-13T23:50:20 | 233,268,851 | 2 | 0 | Apache-2.0 | 2022-09-08T12:56:41 | 2020-01-11T17:21:09 | C++ | UTF-8 | C++ | false | false | 1,883 | cc | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
5edce87284f4fe0a041d308a54aad1a1e081108c | 0518e53526c214da6142d940c42a428ec7d58122 | /CWE-399/source_files/117122/CWE789_Uncontrolled_Mem_Alloc__malloc_char_fscanf_74b.cpp | 0ec2cb36bde8192d3b3dcb1ae4af20f49f369864 | [
"Apache-2.0"
] | permissive | Adam-01/VulDeePecker | eb03cfa2b94d736b1cba17fb1cdcb36b01e18f5e | 98610f3e116df97a1e819ffc81fbc7f6f138a8f2 | refs/heads/master | 2023-03-21T07:37:26.904949 | 2020-11-17T19:40:13 | 2020-11-17T19:40:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,536 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE789_Uncontrolled_Mem_Alloc__malloc_char_fscanf_74b.cpp
Label Definition File: CWE789_Uncontrolled_Mem_Alloc__malloc.label.xml
Template File: sources-sinks-74b.tmpl.cpp
*/
/*
* @description
* CWE: 789 Uncontrolled Memory Allocation
* BadSource: fscanf Read data from th... | [
"王苏菲"
] | 王苏菲 |
6178be1c82110d9b9bcd9c8819cfaea77cfc43d6 | bf21ca6365e5b99e4bae65d645dc2a97d2eb424f | /Text Decoding Messages.cpp | 87e9f36f8f15f08d29f06fc9737b6669f93b9ec4 | [] | no_license | thinkphp/GeeksforGeeks | 4d0dc4dd4d9aebdd176dadf50524b7c3008bc3bd | 6fa75e6fddae083d2f4ebed70c6fd4e9a2cbe063 | refs/heads/master | 2021-09-08T23:36:58.903085 | 2021-09-03T16:42:47 | 2021-09-03T16:42:47 | 87,708,186 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 691 | cpp | #include<bits/stdc++.h>
using namespace std;
int total_codes(string str,int i,int j)
{
if(i>j )
return 1;
if(str[i]=='0')
return 0;
if(i==j)
return 1;
if(str[i]=='1')
return total_codes(str,i+1,j)+total_codes(str,i+2,j);
else if(str[i]=='2' && str[i+1]>... | [
"mergesortv@gmail.com"
] | mergesortv@gmail.com |
1ee901e370903a029d1026f71fac0e0897b607e3 | 36be9459adb84677e935265c83b6e7b0b73b0a2b | /Unreal/CarlaUE4/Plugins/Carla/Source/Carla/DynamicWeather.cpp | 15c0348d6ff13a702a62a03bc3bfb61702f25dd7 | [
"MIT",
"CC-BY-4.0"
] | permissive | zhao-zh10/carla | 4d746153d38f5cdef092eb1f396476cbb6dba92f | 00652c92de60deb23ebef956eccb3b27c81e5a9a | refs/heads/master | 2020-04-24T19:06:12.907222 | 2019-02-13T20:40:14 | 2019-02-22T10:10:27 | 172,201,356 | 2 | 0 | MIT | 2019-02-23T10:30:07 | 2019-02-23T10:30:07 | null | UTF-8 | C++ | false | false | 6,751 | cpp | // Copyright (c) 2017 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "Carla.h"
#include "DynamicWeather.h"
#include "Util/IniFile.h"
#include "Components... | [
"nsubiron@cvc.uab.es"
] | nsubiron@cvc.uab.es |
3e96f88f03e75b22d5033d685af1f6d1a694a309 | 13d1081bc5d46f979580438a772f47b7dc15550c | /Projects/Engine/MGEngine/Include/TerrainGridsDecorator.h | 16b350795d6b433a7224ba4a60922b63ad52a2b4 | [] | no_license | hackerlank/code-2 | 090035cc470d77a13a589419da7b04d0b97419e8 | c8e72ad7ce7440001293a10619cd01efe5cfd22f | refs/heads/master | 2021-01-13T15:50:39.784391 | 2014-06-16T14:00:06 | 2014-06-16T14:00:06 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,849 | h | /******************************************************************************/
#ifndef _TERRAINGRIDSDECORATOR_H_
#define _TERRAINGRIDSDECORATOR_H_
/******************************************************************************/
#include "EnginePreqs.h"
#include "IWireframeManager.h"
/*******************************... | [
"linhu917@126.com"
] | linhu917@126.com |
ff8538a0966bd0ef29f79615f68a2b88ffdb0b8a | 4b846d8dabdc64e7ea03552bad8f7fa74763fc67 | /src/library/aux_definition.cpp | 6110b545e7f9f26b352fde5ab45eaaaa47cbab62 | [
"Apache-2.0"
] | permissive | pacchiano/lean | 9324b33f3ac3b5c5647285160f9f6ea8d0d767dc | fdadada3a970377a6df8afcd629a6f2eab6e84e8 | refs/heads/master | 2021-01-22T23:16:20.399562 | 2017-03-18T20:48:21 | 2017-03-18T20:48:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,247 | cpp | /*
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#include <algorithm>
#include "kernel/type_checker.h"
#include "kernel/replace_fn.h"
#include "library/locals.h"
#include "library/placeholder.h"
#include "... | [
"leonardo@microsoft.com"
] | leonardo@microsoft.com |
d3203f9b51077c47813a95098fef38582db5985d | 777239c62f7652c2565deab167430118f3fd070c | /src/libary/muduo/base/ThreadLocal.h | e14ed64010945cc71a7e2b3a19f8a1af319b40c9 | [] | no_license | zhuanxuhit/sockets | c7c01e836abb1f47bfa492eda130f35822206c82 | f90249b44edb1ea1706964776170f20e06c85849 | refs/heads/master | 2021-01-18T07:58:53.442708 | 2017-04-11T00:32:32 | 2017-04-11T00:32:32 | 84,299,390 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,938 | h | // Use of this source code is governed by a BSD-style license
// that can be found in the License file.
//
// Author: Shuo Chen (chenshuo at chenshuo dot com)
#ifndef MUDUO_BASE_THREADLOCAL_H
#define MUDUO_BASE_THREADLOCAL_H
#include <muduo/base/Mutex.h> // MCHECK
#include <boost/noncopyable.hpp>
#include <pthread.... | [
"893051481@qq.com"
] | 893051481@qq.com |
5d6359124c4e8e5fe5edc01663e746262222c103 | fb227e3635b5c06e49bad48928f7b6d3254c4dca | /intensive/finodabuscabinaria/nifflhein.cpp | bb312a087e6ac5bb593f0aa4a9b34b343636590c | [] | no_license | BryanValeriano/marathon | 5be2ab354e49187c865f0296f7dfb5ab3c3d6c9b | 8dadfad7d1a6822f61ba5ed4a06e998541515634 | refs/heads/master | 2022-09-11T00:06:14.982588 | 2022-09-03T17:01:30 | 2022-09-03T17:01:30 | 141,581,750 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,154 | cpp | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define mk make_pair
#define fi first
#define sec second
typedef long long ll;
const int INF = 0x3f3f3f3f;
const int TAM = 1e3+2;
vector< pair<int, ll> >graph[TAM];
bool visitados[TAM];
void dfs(int ini, int fim, ll tempo) {
visitados[ini] = true... | [
"bryan_311@hotmail.com"
] | bryan_311@hotmail.com |
818029c2325f04587228e9c5fa1a11fce3b21016 | 792f2ee67210556f224daf88ef0b9785becadc9b | /atcoder/Other/tkppc4_2_b.cpp | b5987cbe0eebfe6b057f3ab4593c384f8d6dc6c3 | [] | no_license | firiexp/contest_log | e5b345286e7d69ebf2a599d4a81bdb19243ca18d | 6474a7127d3a2fed768ebb62031d5ff30eeeef86 | refs/heads/master | 2021-07-20T01:16:47.869936 | 2020-04-30T03:27:51 | 2020-04-30T03:27:51 | 150,196,219 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,323 | cpp | #include <iostream>
#include <algorithm>
#include <iomanip>
#include <map>
#include <set>
#include <queue>
#include <stack>
#include <numeric>
#include <bitset>
#include <cmath>
static const int MOD = 1000000007;
using ll = long long;
using u32 = uint32_t;
using namespace std;
template<class T> conste... | [
"firiexp@PC.localdomain"
] | firiexp@PC.localdomain |
319306659adc07ccddbf6a41210a841bca128efa | 890eb8e28dab8463138d6ae80359c80c4cf03ddd | /PSS/LTESpecific/SRoHC/Code/Src/RohcCompPktDeciderCommon.cpp | b172f4b9fbc426b484bc3245a81b9e2467f34632 | [] | no_license | grant-h/shannon_S5123 | d8c8dd1a2b49a9fe08268487b0af70ec3a19a5b2 | 8f7acbfdcf198779ed2734635990b36974657b7b | refs/heads/master | 2022-06-17T05:43:03.224087 | 2020-05-06T15:39:39 | 2020-05-06T15:39:39 | 261,804,799 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,143 | cpp | Line 96: [ROHC-COMP]Change Hop Limit, decide Extension 3
Line 105: [ROHC-COMP]Change Traffic Class, decide Extension 3
Line 131: [ROHC-COMP][RRnd1PktChooser] (CntId ==> %d) (Sn_k ==> %d, IPID_k ==> %d ,Ts_k ==> %d )
Line 357: [ROHC-COMP][RRnd0PktChooser](CntId ==> %d) (Sn_k ==> %d, IPID_k ==> %d ,Ts_k ==> %d )
Line 676... | [
"grant.h.hernandez@gmail.com"
] | grant.h.hernandez@gmail.com |
a1b2c2f8bdf829e6ec53c91c5f7be16a7691b045 | 69005ab4c8cc5d88d7996d47ac8def0b28730b95 | /msvc-cluster-realistic-1000/src/dir_3/perf193.cpp | bf9862f0363aa6045947807d66b3c504acf7ff14 | [] | no_license | sakerbuild/performance-comparisons | ed603c9ffa0d34983a7da74f7b2b731dc3350d7e | 78cd8d7896c4b0255ec77304762471e6cab95411 | refs/heads/master | 2020-12-02T19:14:57.865537 | 2020-05-11T14:09:40 | 2020-05-11T14:09:40 | 231,092,201 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 373 | cpp | #include <Windows.h>
#include <vector>
#include <inc_7/header_148.h>
static_assert(sizeof(GenClass_148) > 0, "failed");
#include <inc_7/header_142.h>
static_assert(sizeof(GenClass_142) > 0, "failed");
#include <inc_0/header_2.h>
static_assert(sizeof(GenClass_2) > 0, "failed");
std::vector<int> perf_func_193() {... | [
"10866741+Sipkab@users.noreply.github.com"
] | 10866741+Sipkab@users.noreply.github.com |
8302d0e5847d8fed2abe59813720a805749639e4 | ad273708d98b1f73b3855cc4317bca2e56456d15 | /aws-cpp-sdk-appsync/include/aws/appsync/AppSyncErrorMarshaller.h | 1a6b2cb5de7482e89610a2087b78448b13c053f9 | [
"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 | 966 | h | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
869478f0c71563bc75c47f945696778a6aa7ae6f | 43da44edfe35fa80e045b824277e3a5f31e3a10a | /Practical1 Design Patterns/BridgePattern/BridgePattern/Player.h | 69a5f0b0e26fb5b943142bec770e1ce54cb22683 | [] | no_license | Davidnln13/GamesEngineering2 | 882d4d6fe6be601f60d19fc1a62ae6c57cfa5d19 | 60031bf95481ddca82b08fff964395ee19fe4cdb | refs/heads/master | 2020-03-29T20:16:54.896215 | 2019-03-21T11:50:07 | 2019-03-21T11:50:07 | 150,304,094 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 199 | h | #pragma once
#include "Character.h"
#include "DrawAPI.h"
class Player : public Character
{
public:
Player(DrawAPI* api) { this->api = api; }
void Draw() { api->Draw(); }
private:
DrawAPI* api;
};
| [
"davidnln13@yahoo.com"
] | davidnln13@yahoo.com |
78ccbc5271f74f181abbfd83d93d0f9bc0e96102 | 6fe353b1dda615f09235b33b5e051db4876cdba1 | /TriggerBrainArduino/s160_pageDefinitons.ino | 753f0de1d79804a74872b8acfe078b5734e8beea | [] | no_license | zambari/TriggerBrainArduino | 51ed86070ae1a2bedfdb944628eba4485de8305f | 1d6d743eaee078ee55e493005f1c16f21062e957 | refs/heads/master | 2021-01-16T19:25:50.874893 | 2017-08-21T17:17:15 | 2017-08-21T17:17:15 | 100,166,386 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,272 | ino | //#include <LinkedList.h>
class Page_Sys : public PageBase
{
PageSubSys1 a;
PageSubSys1 b;
PageSubSys1 c;
public:
void populateSubPages() override
{
subPages->add(&a);
subPages->add(&b);
subPages->add(&c);
subPageIndex = 0;
subPageCount = sub... | [
"zambarii@gmail.com"
] | zambarii@gmail.com |
7658460f452dd5cb2c7298daa53f573c27377b17 | 01837a379a09f74f7ef43807533093fa716e71ac | /src/utils/xulrunner-sdk/mozilla/dom/AudioContextBinding.h | bc2d14ad712c233324145f3a067ca70e2b5de779 | [] | no_license | lasuax/jorhy-prj | ba2061d3faf4768cf2e12ee2484f8db51003bd3e | d22ded7ece50fb36aa032dad2cc01deac457b37f | refs/heads/master | 2021-05-05T08:06:01.954941 | 2014-01-13T14:03:30 | 2014-01-13T14:03:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,656 | h | /* THIS FILE IS AUTOGENERATED - DO NOT EDIT */
#ifndef mozilla_dom_AudioContextBinding_h__
#define mozilla_dom_AudioContextBinding_h__
#include "mozilla/ErrorResult.h"
#include "mozilla/dom/BindingDeclarations.h"
#include "mozilla/dom/BindingUtils.h"
#include "mozilla/dom/CallbackFunction.h"
#include "mozilla/dom/DOM... | [
"joorhy@gmail.com"
] | joorhy@gmail.com |
842f60ed009ea6dc79da38b91f19ab9dc4e4a8ea | 3defa4fbbacaa92a1695df8570912fb35466bb98 | /flashlight/autograd/backend/cpu/Conv2D.cpp | 30a2bd32b38115c96fb987738e53981163e0f4dd | [
"MIT"
] | permissive | josephmisiti/flashlight | 11dbaceee63be381bd49a077d3ddf47065b5b8a3 | a1349e84c9be19ecbbdc28d2d5a8eeeaaaa06273 | refs/heads/master | 2020-04-12T21:09:45.637210 | 2018-12-21T20:30:46 | 2018-12-21T20:30:46 | 162,756,364 | 3 | 0 | MIT | 2018-12-21T20:44:52 | 2018-12-21T20:44:51 | null | UTF-8 | C++ | false | false | 15,647 | cpp | /**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <array>
#include <memory>
#include <vector>
#include <arrayfire.h>
#include <mkldnn.hpp>
#include <flashlight/autograd/... | [
"vineelkpratap@fb.com"
] | vineelkpratap@fb.com |
37e6dd62978844764f84e06927e4c55e3ea9385f | f4f9796d06385b3e2d78127ac4e5989b35658aa3 | /Ch 12. Searching/Compute the integer square root.cpp | f7ad89244568ee5a28b7e9ea2ce231b6f438a600 | [] | no_license | shashishailaj/epi | 52e9c7dacc8bd7174d42605b9576314d2c40d102 | 98de8aaa89abcae8be6b4747301a248ea03a500b | refs/heads/master | 2020-05-18T01:18:45.021403 | 2017-05-15T05:30:00 | 2017-05-19T19:49:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 617 | cpp | #include <bits/stdc++.h>
using namespace std;
class Solution {
public:
int mySqrt(int x) {
long long num = (long long)x;
long long L = -1LL;
long long R = num + 1;
while (R - L > 1) {
long long M = L + (R - L) / 2;
if (M * M <= num) {
L = M;
... | [
"linouk23@gmail.com"
] | linouk23@gmail.com |
35a033d9c97729ab905f0e8c82d0b86fef5e6dba | 916e7c5c7fc660dfdb58d235051fdfd9d1c53f41 | /ThirdParty/BCGControlBar/BCGControlBar/BCGFileDialog.cpp | 197dcebeb05b711d2ec256dd8df9998436a6ed02 | [
"MIT"
] | permissive | palestar/gamecq | 13a98686273aef446f80099a003f156eba351b86 | 1fe2dfa396769bb8bfbe2a47914a41e5e821a26b | refs/heads/develop | 2020-12-24T18:24:05.416537 | 2020-02-08T20:38:01 | 2020-02-08T20:38:01 | 59,443,046 | 10 | 11 | null | 2016-12-12T15:34:27 | 2016-05-23T01:20:10 | C++ | UTF-8 | C++ | false | false | 17,912 | cpp | //*******************************************************************************
// COPYRIGHT NOTES
// ---------------
// This is a part of the BCGControlBar Library
// Copyright (C) 1998-2006 BCGSoft Ltd.
// All rights reserved.
//
// This source code can be used, distributed or modified
// only under terms and condi... | [
"rlyle@palestar.com"
] | rlyle@palestar.com |
72254aac13e6b71c54d3e284bf6fd45ef04f6e49 | eb1053122539721be26389a23cf0c582f517721f | /src/qt/networkstyle.h | e77c64d504044918bf3c4c5825772e594b4de271 | [
"MIT"
] | permissive | MichaelHDesigns/Hodl | 54429b80fd592bddf88840c9ff7e9aadce29ccb1 | ae07a41aefa71ec96e1ba611bccd1b87a264f43f | refs/heads/main | 2023-04-27T01:59:49.882947 | 2021-05-08T03:44:51 | 2021-05-08T03:44:51 | 364,439,724 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,091 | h | // Copyright (c) 2014 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef HODLCASH_QT_NETWORKSTYLE_H
#define HODLCASH_QT_NETWORKSTYLE_H
#include <QIcon>
#include <QPixmap>
#include <QString>
/* ... | [
"devilking6105@gmail.com"
] | devilking6105@gmail.com |
21da7f5af9a254ec423c0f44edcaf828be03c702 | 73262276244f95135dd02c13b7036d9ba9df7ea4 | /1087 有多少不同的值(20).cpp | a90e81f77ecaadb2300f57ff6d9ed462235799ce | [] | no_license | aptx1231/PAT_BasicLevel | dddd11a21f4df4bb071fa44861fddbe8763b4a27 | 49c03feb00b5ec37214a88296c67058c2ff9c120 | refs/heads/master | 2020-05-27T10:36:12.510971 | 2019-09-23T11:38:41 | 2019-09-23T11:38:41 | 188,585,055 | 1 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 333 | cpp | #include<iostream>
#include<algorithm>
using namespace std;
int a[11000]; //×î´óÖµ10000/2+10000/3+10000/5=10333
int main() {
int n;
cin >> n;
int cnt = 0;
for (int i=1;i<=n;i++) {
int tmp = i/2+i/3+i/5;
//cout << tmp << endl;
if (a[tmp] == 0) {
a[tmp] = 1;
cnt++;
}
}
cout << cnt << endl;
retur... | [
"jwjiang_buaa@163.com"
] | jwjiang_buaa@163.com |
35621c3ff484430d48261ff74f70d60bd571ba75 | db1cd656cd37cdd48a146706253b9b74dda075a7 | /CS388/Project1/Project1/BehaviorTrees/Source/BehaviorTrees/NodeData.h | bf5d81d2e3a10b7e6036b65ffc3f5cf6922b87c8 | [] | no_license | tpugmire/digipen | c5eb9f3ba49b912ff16564e2e3c054919730e834 | 07e9d6db3a378858c85277d8d1411403e8a63d56 | refs/heads/master | 2021-03-24T12:38:46.884780 | 2016-09-22T06:32:49 | 2016-09-22T06:32:49 | 68,891,484 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,272 | h | /******************************************************************************/
/*!
\file NodeData.h
\project CS380/CS580 AI Framework
\author Chi-Hao Kuo
\summary Behavior tree node data.
Copyright (C) 2016 DigiPen Institute of Technology.
Reproduction or disclosure of this file or its contents without the prior
w... | [
"tyler.pugmire@yahoo.com"
] | tyler.pugmire@yahoo.com |
d21f4633093da4167333a0a991e97c71a2a378db | 4b2faf470adabd0f9cffc0b9e0dbf621a3026730 | /winApi/winMain.cpp | 45da6defec0be5849cab271f82ced5f942bb6937 | [] | no_license | dksem12gh/winApi-MapTool | 0027b17577e7955884241e1b82313083ce7c76c4 | 099d0a08d09e648ca45994bad8509737f67e5d39 | refs/heads/master | 2023-04-14T10:32:57.708237 | 2021-04-25T16:05:06 | 2021-04-25T16:05:06 | 361,149,942 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 4,622 | cpp | #include "stdafx.h"
#include "mainGame.h"
//=====================
// ## 전역변수 ##
//=====================
HINSTANCE _hInstance;
HWND _hWnd;
POINT _ptMouse = { 0, 0 };
BOOL _leftButtonDown = false;
mainGame* _mg;
//======================
// ## 함수 전방선언 ##
//======================
LRESULT CALLBACK WndProc(HWND, UINT, WP... | [
"dksem12gh@naver.com"
] | dksem12gh@naver.com |
2b2deba9d5607bece962a30c61537326f975ac69 | 1035758a41da7766146d5a6ab08f83e5cad4ff1a | /SpaceInvaders/menu_state.h | b05e669bfb4896a88d16f3cb509a9af54316cefc | [] | no_license | Curriosityy/SpaceInvaders | b9ab8b827356f457959d6ea8de15d1626a238205 | 41f79f7ed880a69ad1bb6538c7268c0e1fe392bc | refs/heads/master | 2021-01-19T14:49:35.268020 | 2017-03-29T23:30:13 | 2017-03-29T23:30:13 | 86,635,128 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 475 | h | #pragma once
#include "game_state.h"
class menu_state : public tiny_state
{
public:
menu_state();
~menu_state();
// Inherited via tiny_state
void Initialize(sf::RenderWindow * window) override;
void Update(sf::RenderWindow * window) override;
void Render(sf::RenderWindow * window) override;
void Destroy(sf::Re... | [
"patryk9595@gmail.com"
] | patryk9595@gmail.com |
65894d131f6a881b39ec1e93a00116761c6129d8 | ece30e7058d8bd42bc13c54560228bd7add50358 | /DataCollector/mozilla/xulrunner-sdk/include/mozilla/dom/HTMLUnknownElement.h | f04808ddcefc441ba7984be40498ffb7790683c2 | [
"Apache-2.0"
] | permissive | andrasigneczi/TravelOptimizer | b0fe4d53f6494d40ba4e8b98cc293cb5451542ee | b08805f97f0823fd28975a36db67193386aceb22 | refs/heads/master | 2022-07-22T02:07:32.619451 | 2018-12-03T13:58:21 | 2018-12-03T13:58:21 | 53,926,539 | 1 | 0 | Apache-2.0 | 2022-07-06T20:05:38 | 2016-03-15T08:16:59 | C++ | UTF-8 | C++ | false | false | 1,079 | h | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0... | [
"andras.igneczi@doclerholding.com"
] | andras.igneczi@doclerholding.com |
e055376431a7fdfdfd7d056d097f89cc6becd085 | dac70221ae783796868881a66c1b9dc5572ae6ae | /Source of PBO/adx_pack/vehicles/dc3/CfgVehicles.hpp | 86fdb1317eaba8e1b2ad39e991295a5157237f4e | [
"Unlicense"
] | permissive | ADXTeam/DayZADX | 787ed2e71249c7fef2d7996ecf3ff59affc48b99 | 97924bc18ed374df854f2aa5eee0ae960bb47811 | refs/heads/master | 2020-04-06T06:43:27.579217 | 2013-11-08T15:20:20 | 2013-11-08T15:20:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,061 | hpp | class CfgVehicles {
class An2_Base_EP1; // External class reference
class dc3 : An2_Base_EP1 {
scope = public;
faction = "rth_copter_class";
displayName = "Plane";
gearRetracting = true;
model = "\origins_dc3\DC3.p3d";
destrType = "DestructBuilding";
driverAction = "C130_Pilot";
transportSoldier = 1... | [
"keveltv@gmail.com"
] | keveltv@gmail.com |
e5c1cb11505e99b97a54a52fe9c6d513e5bbbcc6 | 41a380f90823525442222e74004242afc75babb3 | /laser_ws/src/laser_package/src/Estimator_node.cpp | 108a7c76f3c9ce10246122a3a4dc4cd47f9f22dc | [] | no_license | ywen27G/estimation_term_project_clancy | 46b1938f3fc1222f830418f72fb19074e588b40d | 89a03a352bfbe410ef86fbf34b4c3fef7a281f60 | refs/heads/master | 2021-12-14T13:26:17.133051 | 2015-05-01T11:42:06 | 2015-05-01T11:42:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,579 | cpp | #include "../include/Estimator.h"
class SubscribeAndPublish
{
public:
SubscribeAndPublish(ros::NodeHandle *some_n)
{
ROS_INFO("Constructing SAP for Estimator");
n_handle = some_n;
target_real_pub = n_handle->advertise<geometry_msgs::PointStamped>("/target_real_topic",1000); //publish targets to new top... | [
"clancy.emanuel@uconn.edu"
] | clancy.emanuel@uconn.edu |
36477e3115e116fe5ffa72f62c699c51f9eb2689 | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/Trigger/TrigEvent/TrigInDetEventTPCnv/src/TrigTauTracksInfoCnv_p1.cxx | febc0e7d02d69f5910b408fba0be65ecdf3a2230 | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,902 | cxx | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#include "TrigInDetEvent/TrigTauTracksInfo.h"
#include "TrigInDetEventTPCnv/TrigTauTracksInfo_p1.h"
#include "TrigInDetEventTPCnv/TrigTauTracksInfoCnv_p1.h"
//-----------------------------------------------------------------------------
... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
66c498056c287d2e5e4be6242c009aea1ed73f2c | 38ed4b54f69adef90da52268b549698ceebac47f | /trollclient.cpp | 3752ad1504e2179823a97702fd8f7fb82f1a7b9f | [
"WTFPL"
] | permissive | IncredibleReticulation/stimpy | 59ff4c8eed8bc326fec22112ad03a1d1b601c049 | d15732c3179b5bf68d8a2930bdaced6f816b7dbd | refs/heads/master | 2020-05-17T05:27:46.722495 | 2013-05-16T12:23:44 | 2013-05-16T12:23:44 | 9,299,253 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,596 | cpp | //Course: 4050-212-02
//Authors: Alex Buie, Luke Matarazzo, Jackson Sadowski, Steven Tucker
//IDE/editor: Sublime Text 2
//Compilers: mingw32-g++
//Final SMTP Project
//Filename: Client.cpp client main
//Purpose:
#include "Status.h"
#include "ClientSocket.h"
//prototypes
string trim(string);
int main(int argc, ch... | [
"ljm3103@rit.edu"
] | ljm3103@rit.edu |
bc7391ec65c47e3d473fb0afe02240f832976f5b | a3f77b31c2c634cc76d40cd4a01fd3c8187a4f3b | /sources/core/jc/util/StringUtil.cpp | 390391d9f5962602de36fb2c4a87a81e81915ae2 | [] | no_license | eaglesakura/jointcoding | bb1b802e7ae173ce3906eb98db1b80e33d58dda5 | 3857e8ea7491855592847a67644b509c21b24fb3 | refs/heads/master | 2020-04-04T13:35:57.973751 | 2013-02-22T03:18:35 | 2013-02-22T03:18:35 | 7,032,369 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,708 | cpp | /*
* StringUtil.cpp
*
* Created on: 2012/06/28
* Author: Takeshi
*/
#include "jointcoding.h"
#include <string>
#include "jc/system/StringUtil.h"
#include "boost/algorithm/string.hpp"
/**
* 可変長配列
* 通常はstd::vector
*/
#define jc_varray ::std::vector
/**
* 可変長リスト
* 通常はstd::list
*/
#define j... | [
"eagle.sakura@gmail.com"
] | eagle.sakura@gmail.com |
86443a6d3f54b72681ef8ab7bc10c509f1cd24dc | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/boost/geometry/multi/core/interior_rings.hpp | edb14edc78f27c5d14b650ff6b7312689628f907 | [
"BSL-1.0"
] | permissive | KqSMea8/sstd_library | 9e4e622e1b01bed5de7322c2682539400d13dd58 | 0fcb815f50d538517e70a788914da7fbbe786ce1 | refs/heads/master | 2020-05-03T21:07:01.650034 | 2019-04-01T00:10:47 | 2019-04-01T00:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 805 | hpp | // Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
// Copyright (c) 2008-2012 Bruno Lalande, Paris, France.
// Copyright (c) 2009-2012 Mateusz Loskot, London, UK.
// Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
// (g... | [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
309e87686ce8dda3f8adfa88bd387409ba266de8 | 60bd79d18cf69c133abcb6b0d8b0a959f61b4d10 | /libraries/TSL260R/examples/TSL260R_plotter/TSL260R_plotter.ino | ede82d70cab020f04edf53ea0b3854ac19f66685 | [
"MIT"
] | permissive | RobTillaart/Arduino | e75ae38fa6f043f1213c4c7adb310e91da59e4ba | 48a7d9ec884e54fcc7323e340407e82fcc08ea3d | refs/heads/master | 2023-09-01T03:32:38.474045 | 2023-08-31T20:07:39 | 2023-08-31T20:07:39 | 2,544,179 | 1,406 | 3,798 | MIT | 2022-10-27T08:28:51 | 2011-10-09T19:53:59 | C++ | UTF-8 | C++ | false | false | 756 | ino | //
// FILE: TSL260R_plotter.ino
// AUTHOR: Rob Tillaart
// PURPOSE: demo
// DATE: 2022-11-27
//
// always check datasheet
//
// PIN 1 - GND
// PIN 2 - VDD - 5V
// PIN 3 - SIGNAL
#include "TSL260R.h"
TSL260R TSL;
uint32_t lastMeasurement = 0;
void setup()
{
Serial.begin(115200);
Serial.println();
//... | [
"rob.tillaart@gmail.com"
] | rob.tillaart@gmail.com |
53551c8a5d6c31f31ad0f0ad5105f9fff8004255 | 8e92af6d348a34173200690dc374a20b690e3e9c | /board/device/device.hpp | 3f76efb9514e392d738657eff67c2b312e16b4f6 | [] | no_license | CrustyAuklet/apollo3-device | d836ed178a31e149200f475c40979dc373c64e93 | 8545c9bdb76cf34e81bd1248e59d45295050145d | refs/heads/master | 2021-02-09T18:21:40.568836 | 2020-03-02T08:05:04 | 2020-03-02T08:05:04 | 244,312,966 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30 | hpp |
#include "apollo3/device.hpp" | [
"crustyauklet@gmail.com"
] | crustyauklet@gmail.com |
eeaaabd85936153daad8da16e5e2ca2e1d0cc473 | 3dd5e05da242a43f3533791e81a1d6cfb14cea65 | /src/Bank.cpp | 65dcbe3e7e6cdce20a2a351934e1027686c4fb97 | [] | no_license | sreejond/MoneyOrderSecurity | 62a9dd4489b3990ee5b19bbe9a03e225176d6dcb | 24948684b2b8385878112f14adb409d764115944 | refs/heads/master | 2022-07-12T11:39:26.256017 | 2020-05-16T20:29:13 | 2020-05-16T20:29:13 | 264,520,469 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,203 | cpp | #include "Bank.h"
#include "Customer.h"
#include "MoneyOrder.h"
#include <openssl/sha.h>
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <ctime>
#include <sstream>
#include <math.h>
#include <boost/archive/binary_oarchive.hpp>
#include <boost/archive/binary_iarchive.hpp>
#define UNIQUE_STRING_LENGTH ... | [
"sreejondy@gmail.com"
] | sreejondy@gmail.com |
2a4c450888b0e931fb7baf605df18925de7775a7 | 3517fbdfe2cfe26c33e03f179dd9abe1edc9a2a7 | /Webots/remote_control/remote.hpp | 03ae24a9eb29efac5f76be25ac4aef56828b4a79 | [] | no_license | Isaac25silva/DRLpenalty | f595fab1dfc5e07791fafab6fcd6f61f48a0bc06 | ce926912115e5e0bc0d03eaae9a3e6b202c36f8c | refs/heads/master | 2020-06-26T18:17:47.083473 | 2019-07-30T19:04:35 | 2019-07-30T19:04:35 | 199,711,028 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,850 | hpp | // Description: Remote serveur for ROBOTIS OP2 remote-control
#ifndef REMOTE_HPP
#define REMOTE_HPP
#define NMOTORS 20
#include <webots/Robot.hpp>
namespace webots {
class Motor;
class PositionSensor;
class LED;
class Camera;
class Accelerometer;
class Gyro;
class Remote : public Robot {
public... | [
"isaac25silva@yahoo.com.br"
] | isaac25silva@yahoo.com.br |
13ab4caa2e98342cabf6c484e8594ae2afe6d628 | ac71111a4a9657fc60b2151ac7ce1933a7374637 | /src/wte/propedit/QPropertyModel.cpp | 478dd7ca1ae8c6af6fe3fd5f7c9b3fb63c0cd8db | [] | no_license | spiricn/Wt | 931a49140761b510a86bea4f1c53f8bd535aa35f | e77589d766d54ff46617b0f117acd2372f99ff66 | refs/heads/master | 2016-09-06T04:06:17.206685 | 2014-04-18T13:57:43 | 2014-04-18T13:57:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,189 | cpp | #include "stdafx.h"
// *************************************************************************************************
//
// QPropertyEditor v 0.3
//
// --------------------------------------
// Copyright (C) 2007 Volker Wiendl
// Acknowledgements to Roman alias banal from qt-apps.org for the Enum enhancement
//
... | [
"nikola.spiric.ns@gmail.com"
] | nikola.spiric.ns@gmail.com |
717836fa4164ebcdf6b39526ff9e01f48eff4008 | 34f22d45812a86a94408fe92dc2aef2a2306d6dd | /cpp/time.cpp | 952e1c744bd0b4b67a9f19e8fae99db41ca2b9e2 | [] | no_license | AlexDenver/lab-box | 334cb2938199dc46d69c47933c528494480f2d51 | a22e9188d06cfdfb742948f2cda65159d9a5dc78 | refs/heads/master | 2021-10-21T17:29:19.315043 | 2019-03-05T07:18:30 | 2019-03-05T07:18:30 | 110,310,391 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 329 | cpp | #include<iostream>
using namespace std;
typedef struct {
int h,m,s;
}mTime;
int main(){
mTime t1;
long totalsec;
cout<<"Enter Time H M S:";
cin>>t1.h>>t1.m>>t1.s;
cout<<"The Time Entered is: "<<t1.h<<":"<<t1.m<<":"<<t1.s<<"\n";
totalsec = 3600*t1.h + 60*t1.m + t1.s;
cout<<"Total Time in Seconds: "<<totalsec<<"... | [
"dnvr.dsz@gmail.com"
] | dnvr.dsz@gmail.com |
ae269e7b7ab39473fbd0baaf5d34d578af20ad18 | 9a49ef7e6bbb638f090a6710d00ba0ece94017b6 | /Rendering/OldSimpleRenderer.h | 44d653f083276b29424b8ada009bee2fdb38d93b | [] | no_license | Gloix/Camaron | 01fe456ec734032847b6133574e77c210bc1497d | 9c5c8200dcfb37be732ddd881fe919bcf6ad42e9 | refs/heads/master | 2021-01-17T06:12:23.777032 | 2020-12-01T06:52:16 | 2020-12-01T06:55:56 | 45,498,247 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 282 | h | #ifndef OLDSIMPLERENDERER_H
#define OLDSIMPLERENDERER_H
#include "Rendering/Renderer.h"
class OldSimpleRenderer: public Renderer{
public:
OldSimpleRenderer();
virtual ~OldSimpleRenderer();
virtual void setUpDrawing();
void draw(RModel*);
};
#endif // OLDSIMPLERENDERER_H
| [
"waldoc@gmail.com"
] | waldoc@gmail.com |
37498d215b9eb9b1b472865513ad643721da7266 | f16ca93a097425dd80012deb14fa5840b87eb650 | /Common/Visualize/Shape/hkDisplayCylinder.h | 4c828017003aa6c3e53d427eef37e8e2193b13ed | [] | no_license | Veryzon/havok-2013 | 868a4873f5254709b77a2ed8393355b89d2398af | 45812e33f4bd92c428866e5e7c1b4d71a4762fb5 | refs/heads/master | 2021-06-25T23:48:11.919356 | 2021-04-17T02:12:06 | 2021-04-17T02:12:06 | 226,624,337 | 4 | 1 | null | 2019-12-08T06:21:56 | 2019-12-08T06:21:56 | null | UTF-8 | C++ | false | false | 2,149 | h | /*
*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Product and Trade Secret source code contains trade secr... | [
"veryzon@outlook.com.br"
] | veryzon@outlook.com.br |
9c20743ba50a527c60a2ebf81217e7941cd19314 | 91a30d86b2de62b54709dfb29045851d53fc9777 | /DX12withSDL/LogUtils.cpp | 0fc0a218429ff05cd93f0c7113898696d3f34c63 | [] | no_license | shufflemaster/dx12withsdl | e6fa3841d81709a0c1994ba61626b7414da26987 | 34176f7bfe9b532e891236c506df58f634b11601 | refs/heads/master | 2020-03-28T11:04:10.920649 | 2018-11-17T14:50:57 | 2018-11-17T14:50:57 | 148,174,069 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 585 | cpp | // Include standard headers
#include "pch.h"
#include "LogUtils.h"
namespace GAL {
void __cdecl odprintf(const char *format, ...)
{
char buf[4096], *p = buf;
va_list args;
int n;
va_start(args, format);
n = _vsnprintf(p, sizeof buf - 3, format, args); // buf-3 ... | [
"shuffle_master@skyerocke.com"
] | shuffle_master@skyerocke.com |
24fa3a0b67cb7432b5aa64f31de4b36d472b48f1 | 3da05f5769547d89fed820fa5ff4cfe5af3c5fa1 | /mpmissions/Liga_Life.Altis/dialog/Liga/LigaVehMenu.hpp | 4df64c48644eb5381a85037f4688dbc4f95bd075 | [] | no_license | DerHirschi/Die-Liga---Altis-Life-2.0 | 9efb61bae9a304c69010bfbfec3fdb915971c74a | 194b394b2d9df82712feb819411c7295568a1e42 | refs/heads/master | 2020-03-14T15:58:03.757610 | 2018-05-02T06:13:38 | 2018-05-02T06:13:38 | 131,688,497 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 8,744 | hpp | /*
Edit , Author: Hirschi - Die Liga
6 verf*** Stunden Arbeit .. + 5 Std .... .:-(
Ich hasse Display´s
*/
class Liga_vInteraction_CIV
{
idd = 37400;
movingEnabled = 1;
enableSimulation = 1;
class controlsBackground
{
class Backdrop : Life_RscPicture
{
idc = -1;
text = "textures\Autoschluessel1e.pa... | [
"hirschi@saw-emusic.de"
] | hirschi@saw-emusic.de |
1fc49075f37c775286351917c220b2c1b1333c34 | 55ad360a2f0111b9dc9fc8d351cda82cdc244401 | /Programming Paradigms/Dynamic Programming/Status[k]Type/SituationStatus/BJ2579_mycode.cpp | d656c60fda95aed4122fa3b59de69a5913560c02 | [] | no_license | SeungoneKim/algorithms | 6afc8823d6a96f91059b97d7f1081571f66d5d90 | 3fdc0a808eb22dc8c92630acb87ef34fe306d9ca | refs/heads/master | 2023-03-15T06:20:58.274880 | 2021-03-20T06:48:25 | 2021-03-20T06:48:25 | 323,091,647 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 687 | cpp | #include <iostream>
using namespace std;
int score[301];
int dp[301][2];
// status number is continuous stair number
int main(){
int stairsize;
cin >> stairsize;
for(int k=1;k<=stairsize;k++){
cin >> score[k];
}
dp[0][0] =0; dp[0][1]=0;
dp[1][0] = score[1];
dp[1][1]... | [
"louisdebroglie@yonsei.ac.kr"
] | louisdebroglie@yonsei.ac.kr |
c730a750a54844cfafe0880c6f8e94b288fa2c53 | b2a8e29894f681a72ecf1d51a82a63bfa920e06f | /TinySTL/Alloc.h | 2424d0ed870e77c97b1ff31df7ba44d9d3da146e | [] | no_license | SinnerA/TinySTL | 3881aefc5349c15fc87eec11d96d9b6197ef8aa3 | 5b368accd62f208dc65df5721a56c4632d5f16b5 | refs/heads/master | 2021-01-10T20:38:31.969512 | 2015-10-12T07:17:30 | 2015-10-12T07:17:30 | 35,008,182 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,738 | h | #ifndef _ALLOC_H_
#define _ALLOC_H_
#include <cstdlib>
namespace TinySTL{
class alloc{
private:
enum EAlign{ALIGN = 8}; //小型区块的上调边界
enum EMaxBytes{MAXBYTES = 128}; //小型区块的上限,超过区块由malloc分配
enum ENFreeLists{NFREELISTS = (alloc::MA... | [
"wu181184@sina.com"
] | wu181184@sina.com |
41e64e166007bf18a3d45424c7313472419a1212 | f1bd4d38d8a279163f472784c1ead12920b70be2 | /Editors/!old/LevelEditor/Engine/Game/ai_alife_templates.h | 879b8c530555abac976c30864f7335d8787cb9c9 | [] | no_license | YURSHAT/stk_2005 | 49613f4e4a9488ae5e3fd99d2b60fd9c6aca2c83 | b68bbf136688d57740fd9779423459ef5cbfbdbb | refs/heads/master | 2023-04-05T16:08:44.658227 | 2021-04-18T09:08:18 | 2021-04-18T18:35:59 | 361,129,668 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,853 | h | ////////////////////////////////////////////////////////////////////////////
// Module : ai_alife_templates.h
// Created : 21.01.2003
// Modified : 21.01.2003
// Author : Dmitriy Iassenev
// Description : A-Life templates
////////////////////////////////////////////////////////////////////////////
#ifndef XRAY_A... | [
"loxotron@bk.ru"
] | loxotron@bk.ru |
44b7a5eef67d377c766e9031bdfa13176c5053ad | 6c690da714c6c8e3857521ee0b1016bdde3246b2 | /Simple-Perceptron-NAND/utility.cpp | 0fabb1eaa2b7dc8480be04a0d17e0e5f93bbcf94 | [] | no_license | fincht96/Simple-Perceptron-NAND | ebe8872d5585cec5b9f9fc727bd3e1609713eb26 | facda8beb9c65932349dfe0a30a7bac2e63c8fb8 | refs/heads/master | 2020-05-17T04:50:15.268583 | 2019-04-30T21:46:59 | 2019-04-30T21:46:59 | 183,518,807 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 573 | cpp |
#include "utility.hpp"
float randValFloat(float minVal, float maxVal)
{
std::random_device dev;
// generates uniformly distibuted values
std::mt19937 rng(dev());
// transforms distributed values into specified range
std::uniform_real_distribution<> dis(minVal, maxVal);
return (float)dis(rng);
}
int randValI... | [
"fincht96@gmail.com"
] | fincht96@gmail.com |
105eccac792abe62567d6620f48919d84a015a81 | 2cab4b4c27768a2e3d732d51e20a15def35c21aa | /code/Rational/rational_throw.cpp | e355e60062cb99632aadc5b30f926d3fa8b662c3 | [] | no_license | tgadeliya/cpp_projects | 20403058d48177a47378dc30c5c2515e6d0da8db | 776c09e2726cd3f9f86be77695be733251ea5ab4 | refs/heads/master | 2020-05-25T06:40:32.656470 | 2019-05-20T16:02:40 | 2019-05-20T16:02:40 | 176,086,157 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,045 | cpp | #include <iostream>
#include <exception>
using namespace std;
int gcd (int a, int b){
while (a != 0 && b != 0)
{
if (a > b) {
a = a%b;
} else {
b = b%a;
}
}
return a+b;
}
class Rational {
public:
Rational() {
... | [
"tgadeliya@gmail.com"
] | tgadeliya@gmail.com |
b3bf4535a19551e98eb4fbf708d08a56d6403933 | e1fe38f9207053ffa1c68c050ed6dc5e63975cd4 | /mediandatastream.cpp | a042db28ce164c293a6199eeee259a30d133990c | [] | no_license | dhruv2600/leet | 3199c568d7296219336ede0da8238ecd094ac402 | 71e73e999fa689285e7a9bc2414e7536c72cdab7 | refs/heads/master | 2023-09-03T06:24:41.885912 | 2021-10-22T17:15:06 | 2021-10-22T17:15:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 612 | cpp | class MedianFinder {
private:
priprity_queue<int>maxh;
priprity_queue<int,greater<int>>minh;
int maxL;
int maxR;
int sizeL;
int sizeR;
public:
/** initialize your data structure here. */
MedianFinder() {
maxL=-1;
maxR=-1;
sizeR=0;
sizeL=0;
}
... | [
"dhruvsharma2600@gmail.com"
] | dhruvsharma2600@gmail.com |
f0f429bcfdf645f343c8140a2a4f18ce3fb6e14e | 2bcfc4aec8dabc736827e9de9e02f5880ca31bcf | /G4_Research_Project_Francis_Carroll_C00226918/include/yaml-cpp-d/yaml-cpp/node/impl.h | 2bace705301ccba19dd01dcb2f4250d29b42b6b6 | [] | no_license | francis-carroll/G4_Research_Project_Francis_Carroll_C00226918 | cf3143d1857e97aaac6e955f331bb01acdbeff66 | 96fa32a91b27728d0bd76f8cc2b65c547a032e87 | refs/heads/master | 2023-04-18T21:35:15.262903 | 2021-05-04T11:08:49 | 2021-05-04T11:08:49 | 309,066,678 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,731 | h | #ifndef NODE_IMPL_H_62B23520_7C8E_11DE_8A39_0800200C9A66
#define NODE_IMPL_H_62B23520_7C8E_11DE_8A39_0800200C9A66
#if defined(_MSC_VER) || \
(defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || \
(__GNUC__ >= 4)) // GCC supports "pragma once" correctly si... | [
"fcarroll29@gmail.com"
] | fcarroll29@gmail.com |
6d83cb129e6b10cfa6dd24a37b0314835aef6c78 | 8760b4035fb7824dbaba10253a5ca8bc4880325a | /src/lang/rd_parser_base_class.hpp | fc42dc46ac69eba243fe45ca5a0b68e6d777eb62 | [
"MIT"
] | permissive | fl4shk/liborangepower | 39c26465300433c83b8ca2ef3dce351b4d7d6f43 | bfc59fa8dc68a3a3c89f6cddedb01a5303936ce8 | refs/heads/master | 2023-03-18T06:28:01.822623 | 2023-03-13T16:03:23 | 2023-03-13T16:03:23 | 80,452,622 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,967 | hpp | #ifndef liborangepower_lang_rd_parser_base_class_hpp
#define liborangepower_lang_rd_parser_base_class_hpp
#include "../misc/misc_includes.hpp"
#include "../misc/misc_output_funcs.hpp"
#include "../misc/misc_input_classes.hpp"
#include "../strings/sconcat_etc.hpp"
#include "file_pos_class.hpp"
#include <variant>
#incl... | [
"fl4shk@users.noreply.github.com"
] | fl4shk@users.noreply.github.com |
c8e353dd36eb59e8e518eb9054fc85d6d41659ab | 76bdea87d5df7add7ff9498e6075577a35832ddf | /Other/2.20.cpp | 4f85d4f6e91c00f637e7d1d637c08f25440e8af9 | [] | no_license | ouxu/CppRecord | fc730747ded98377c364d6edae58241ed3fef45a | 7656c9502d47d71859a6216ba2767860b237ccca | refs/heads/master | 2020-04-16T02:39:28.314941 | 2019-01-11T08:05:49 | 2019-01-11T08:05:49 | 60,455,388 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 202 | cpp | #include <iostream>
#include <stdlib.h>
using namespace std;
int main()
{
int i=100,sum=0;
for(int i=0;i!=10;++i)
sum +=i;
cout<<i<<" "<<sum<<endl;
system("pause");
return 0;
}
| [
"fengcheng.xjj@alibaba-inc.com"
] | fengcheng.xjj@alibaba-inc.com |
4864313a841ee8b68f66097d9e8ca97b17644f63 | 4fce902913aadf47bd7698775abc3bd13865be40 | /datastruct/Stack/ArryStack.cpp | d4daa007e8452860e265bea4ce63ddecd0e5da91 | [] | no_license | wenxueliu/data_structure | 0a89f378d9d846a839a8577c4eb869c7a16c785f | 9cadb4949150a1e8c0278330e6cb8ba6a808b7e2 | refs/heads/master | 2021-01-21T01:03:38.879433 | 2014-09-23T15:51:31 | 2014-09-23T15:51:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 744 | cpp | /*-----------------------------------------
FlieNaem : ArryStack.cpp
Version : 0.10
Date : 9-16-2012
TIME : 00:19
comment : achieve the stack by array
-----------------------------------------*/
#include <iostream>
#include "ArryStack.h"
using namespace std;
int main()
{
Stack<int> ... | [
"wenxueliu73@gmail.com"
] | wenxueliu73@gmail.com |
f213b7bcbb3ddd8f644ca65d3bdc2e6a3d52ed3a | 548140c7051bd42f12b56e8bb826074609c8b72e | /Engine/Code/Engine/Math/Transform2D.cpp | 291a2381f73530a04107ba168001b0a8a8620e96 | [] | no_license | etrizzo/PersonalEngineGames | 3c55323ae730b6499a2d287c535c8830e945b917 | 6ef9db0fd4fd34c9e4e2f24a8b58540c075af280 | refs/heads/master | 2021-06-16T22:01:57.973833 | 2021-01-26T03:54:58 | 2021-01-26T03:54:58 | 135,343,718 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,187 | cpp | #include "Transform2D.hpp"
Matrix44 transform2D_t::GetMatrix() const
{
Matrix44 mat = Matrix44();
mat.SetIdentity();
mat.Translate2D(m_position);
mat.RotateDegrees2D(m_rotation);
mat.Scale2D(m_scale.x, m_scale.y);
return mat;
}
void transform2D_t::SetMatrix(Matrix44 const & mat)
{
m_scale = mat.GetScale().XY()... | [
"emilytrizzo@gmail.com"
] | emilytrizzo@gmail.com |
5779233e6d71e62f5ec6c6af04db90d5872673b4 | 6b4f03decc4ae4d9bd24641e69137d9f4a98eafa | /HavokOpenGL/HavokOpenGL/HvkOGLObj.h | 03d0fa19cf48ce568947c910793d3ec871f93748 | [] | no_license | Desendos/PhysicsGame | fc4211ba211d15a4271728ec7d84acad2fcb682a | 14082152869f1508fe8416e20ef65a4109db81b4 | refs/heads/master | 2020-04-06T07:03:24.373923 | 2014-04-28T17:21:59 | 2014-04-28T17:21:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 616 | h | #pragma once
#include <windows.h>
#include <gl/gl.h>
#include <gl/glu.h>
#include "HavokObj.h"
#include "Vector.h"
/*
Abstract Base Class for rendering a Havok Rigid body object in OpenGL
*/
class HvkOGLObj{
protected:
HavokObj *hObj;
float angle; //rotation angle
float r, g, b;
float radius;
public:
HvkOGLO... | [
"rseymour8@gmail.com"
] | rseymour8@gmail.com |
594b9f10443f93310b48e7ef8cb51dfc083025d5 | d96ccbf8070765bc1cfdb937cf0ac058acaf23c3 | /RedKid3D/RedKid3D Engine/RedKid Engine/BufferUAV.h | ea04b09dd367419dc47553531f229c892b4d2759 | [] | no_license | k119-55524/Old-project | 2609d67347d2f5509f0296ab78500bb0a6cb7536 | 8df33fb262cedb3576fffc2bb1c4a26889684a5d | refs/heads/master | 2020-12-07T16:08:38.490893 | 2020-01-09T07:32:21 | 2020-01-09T07:34:27 | 232,747,175 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 432 | h | #pragma once
#include "header.h"
#include "LogFile.h"
class CBufferUAV
{
public:
CBufferUAV(void);
~CBufferUAV(void);
void Release( void );
HRESULT Create( UINT StructureByteStride, UINT Count );
inline ID3D11Buffer* &GetBuffer( void ) { return g_pBuffer; };
inline ID3D11UnorderedAccessView* GetBufferUAV( void... | [
"k119_55524@mail.ru"
] | k119_55524@mail.ru |
b703e9601898b4c1287b00cd40c71b7578cf164b | 935a397d01fba9e332f63c71d140de1a1bffe277 | /fibonacci-sequence-stack.cpp | 89501e03c3adf4ba16b62c99a3324128d371e699 | [] | no_license | dreamzen/programming | c043b54a0a42a3fbf9cdbc804a4aa08f1dfa3dc1 | a58f4449e4dfc6823ba0a2d3aa7793dec56358d2 | refs/heads/master | 2021-01-25T08:42:58.721002 | 2014-06-21T15:43:48 | 2014-06-21T15:43:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,446 | cpp | #include <iostream>
#include <stack>
using namespace std;
struct Element
{
int n;//parameter
int result;//f(n)'s value
int status;//1 means back from left, 2 means back from right
Element(int n1, int s) : n(n1), result(0), status(s) {}
};
/*
when comes a 'n'
if n >= 0, push it into stack
when reach the... | [
"dreamzen@163.com"
] | dreamzen@163.com |
7d844e464838cad7699b4d8ef406455adac20ce6 | 17216697080c5afdd5549aff14f42c39c420d33a | /src/src/Share/ShareLib/LinuxPublic/ACE_wrappers/examples/Shared_Malloc/test_position_independent_malloc.cpp | 572a83c663d0ce060a11762f25d2c054799c12cd | [
"MIT"
] | permissive | AI549654033/RDHelp | 9c8b0cc196de98bcd81b2ccc4fc352bdc3783159 | 0f5f9c7d098635c7216713d7137c845c0d999226 | refs/heads/master | 2022-07-03T16:04:58.026641 | 2020-05-18T06:04:36 | 2020-05-18T06:04:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,193 | cpp | // $Id: test_position_independent_malloc.cpp 80826 2008-03-04 14:51:23Z wotte $
// Test the capability of the "position-independent" <ACE_Malloc> to
// handle a single malloc that can be rooted at different base
// addresses each time it's used. The actual backing store used by
// <ACE_Malloc> is located in a me... | [
"jim_xie@trendmicro.com"
] | jim_xie@trendmicro.com |
80768a624a1c8ec9c8f97f14b2aa1602b3a8307b | bad44a92fb338260f9c077689d7fa5472526c3fe | /src/nnfusion/core/operators/op_define/select.cpp | 3977b4f5d7d834b5f086e03cdf27f211d842f317 | [
"LicenseRef-scancode-generic-cla",
"MIT"
] | permissive | microsoft/nnfusion | ebc4c06331b8e93dbf5e176e5ecd3382e322ff21 | bd4f6feed217a43c9ee9be16f02fa8529953579a | refs/heads/main | 2023-08-25T17:41:37.517769 | 2022-09-16T05:59:01 | 2022-09-16T05:59:01 | 252,069,995 | 872 | 157 | MIT | 2023-07-19T03:06:21 | 2020-04-01T04:15:38 | C++ | UTF-8 | C++ | false | false | 2,161 | cpp | //*****************************************************************************
// Copyright 2017-2020 Intel Corporation
//
// 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://w... | [
"Wenxiang.Hu@microsoft.com"
] | Wenxiang.Hu@microsoft.com |
95ebdc8c594232bcbd68f374935f920060adb29c | 1810e89df8f69865362e35994c5cd970eb4b76e5 | /BpTree.h | 58bd673acb682f1ba3b5f2bbd69b5b9b88b049dc | [] | no_license | knishibe/bptree | 282ba9514240d90dda97c5362f65977b1ac1e0d3 | 6150c0a6d856ad00af390879d796619510dda5fa | refs/heads/master | 2022-01-04T14:59:16.360765 | 2020-02-26T21:51:15 | 2020-02-26T21:51:15 | 242,602,728 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 543 | h | #ifndef BPTREE_H
#define BPTREE_H
#include <iostream>
#include "Node.h"
using namespace std;
class BpTree {
private:
Node* root;
int height;
public:
// constructors
BpTree(unsigned nodeSize);
BpTree(BpTree* tree);
// destructor
~BpTree();
// overloaded operators
BpTree & operator=(BpTree... | [
"32073936+knishibe@users.noreply.github.com"
] | 32073936+knishibe@users.noreply.github.com |
d60def3d14149491d6efe1940cbe8b175be6c708 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14024/function14024_schedule_33/function14024_schedule_33_wrapper.cpp | 3662e3150002dd4984498bc224f72a4b3bcb39e9 | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,558 | cpp | #include "Halide.h"
#include "function14024_schedule_33_wrapper.h"
#include "tiramisu/utils.h"
#include <cstdlib>
#include <iostream>
#include <time.h>
#include <fstream>
#include <chrono>
#define MAX_RAND 200
int main(int, char **){
Halide::Buffer<int32_t> buf00(64, 64);
Halide::Buffer<int32_t> buf01(6... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
f6b4bf983a1055af3e7e0c792138336af6271fea | 63266a4b1f531bea61dabfcb75618f002f9b86ce | /lib/Dialect/SV/Dialect.cpp | 95765a85b88fcba469774c1d24e3f3c3345749e0 | [
"LLVM-exception",
"Apache-2.0"
] | permissive | shibizhao/circt | 5fa019ad10da67a42a1b1845492cfb57c4bec459 | 74b446f60b1c22d27516de4481b6915823a3c56e | refs/heads/master | 2022-12-05T15:12:46.401350 | 2020-08-27T19:49:47 | 2020-08-27T19:49:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 707 | cpp | //===- Dialect.cpp - Implement the SV dialect -----------------------------===//
//
//===----------------------------------------------------------------------===//
#include "circt/Dialect/SV/Dialect.h"
#include "circt/Dialect/SV/Ops.h"
using namespace circt;
using namespace sv;
//===--------------------------------... | [
"clattner@nondot.org"
] | clattner@nondot.org |
f2933693dc896d660f2d0ab6b13d033d6960b63d | c747cfbe51cc24d15e49a888072d34635833d90a | /846_HandOfStraights.cpp | 3cf7b8a8942d28e780cdc9470a100ebe97199f84 | [] | no_license | bigship/leetcode_solutions | 18921508a8acba25013ae65864168c4c084bef37 | 45edfab5f1696fa9b3b59b63663aa9524de209cd | refs/heads/master | 2022-08-22T05:42:37.462263 | 2022-08-02T20:14:50 | 2022-08-02T20:14:50 | 13,472,667 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,803 | cpp | // 846. Hand of Straights
/*
* Alice has a hand of cards, given as an array of integers.
Now she wants to rearrange the cards into groups so that each group is size W, and consists of W consecutive cards.
Return true if and only if she can.
Note: This question is the same as 1296: https://leetcode.com/problems/divid... | [
"colinchen1984@gmail.com"
] | colinchen1984@gmail.com |
60ff709593a848f6a87fafeb717eace00e60a048 | d92304badb95993099633c5989f6cd8af57f9b1f | /Codeforces/591-CBF.cpp | bddcd086d3e498e5dc5d34fae9d78677aaf11f82 | [] | no_license | tajirhas9/Problem-Solving-and-Programming-Practice | c5e2b77c7ac69982a53d5320cebe874a7adec750 | 00c298233a9cde21a1cdca1f4a2b6146d0107e73 | refs/heads/master | 2020-09-25T22:52:00.716014 | 2019-12-05T13:04:40 | 2019-12-05T13:04:40 | 226,103,342 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,905 | cpp | #include <bits/stdc++.h>
using namespace std;
#define MAX 1000000007
#define rep(i,a,b) for(i=a;i<=b;i++)
#define repR(i,a,b) for(i=a;i>=b;i--)
#define mp(x,y) make_pair(x,y)
#define pb(x) push_back(x)
#define RESET(a,b) memset(a,b,sizeof(a))
#define lcm(a,b) (a*(b/gcd(a,b)))
#define gcd(a,b) __gcd)(a,b)
typedef long... | [
"tajircuet@gmail.com"
] | tajircuet@gmail.com |
42520ffccf8523dfbc7e49c7a7fc503147c373e7 | ad4a3300a1720a0c4ad7b97e2b8cbaf670b69146 | /spoj/LITE.cpp | 8d6147f68164a8a8382a3a863f8346c914300d83 | [] | no_license | arpituppal/competitive-programming-codes | 4cf98279ffefb437b40fd412f4cbda3f519d4f3a | ca543259e6e8fd8b1b963ca5a54fccea4083860c | refs/heads/master | 2022-12-08T11:23:21.927150 | 2020-08-29T21:20:19 | 2020-08-29T21:20:19 | 104,647,687 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,893 | cpp | /*Range update in segment tree
Lazy propogation */
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <queue>
#include <algorithm>
#include <vector>
#include <cstring>
#include <stack>
#include <cctype>
#include <utility>
#include <map>
#include <string>
#include <climits... | [
"arpit.uppal@walmart.com"
] | arpit.uppal@walmart.com |
3a7282e423b3b57292a569a99cff2cc3967ff803 | a49e51fec5ca20ebcf66d717b0af82ea326d1d4c | /src/barrier.cpp | 94b0646f9493c735a89a46d3a68192164eefb97b | [] | no_license | PetarMihalj/cppc_lib | 81de7699f131e098422685c0fae0564ef8517cdf | 992903c3d24eb9f84686837bb212f5fd8d73c728 | refs/heads/master | 2023-07-20T07:42:39.919704 | 2021-09-04T10:39:24 | 2021-09-04T10:39:24 | 399,514,409 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,244 | cpp | #include "cppc.h"
#include "rule_traits.h"
#include <iostream>
#include <memory>
#include <vector>
static_assert(rule_traits::is_no_copy_move<cppc::barrier>::value);
cppc::barrier::barrier(const std::size_t reset_point)
: _reset_point{reset_point},
_current_cnt{reset_point}, _ind{std::make_shared<bool>(fals... | [
"git@pmihalj.com"
] | git@pmihalj.com |
1c771f48ec2a460d440f48023cabbd3a406254c8 | 7ec75f987f54d30276b915d9abcaab3b82f7bdb3 | /src/Locators/GameLogicLocator.cpp | 7dd4aa1847bfd60e42f8eeb5766fb5cfafc5e470 | [] | no_license | RyanSwann1/Snake---Uni-Work | a3f20b33cb435f32590e33234fb8402df7603a90 | a7be655cc8b0339d38ac32566cc9f8a98995669f | refs/heads/master | 2020-03-07T15:44:53.088229 | 2018-04-26T08:56:07 | 2018-04-26T08:56:07 | 127,563,624 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 90 | cpp | #include <Locators\GameLogicLocator.h>
GameLogic* GameLogicLocator::m_gameLogic = nullptr; | [
"RyanSwann1992@gmail.com"
] | RyanSwann1992@gmail.com |
50a1917e29dad9f9785c47e88cb412e87a89ff9e | 487fd495fec491acb04453255c870808d037f889 | /src/qt/gsa/mninfodialog.cpp | 4b9a63b2a5d6bff2747ac2c4b19a364c7bd2da1a | [
"MIT"
] | permissive | TechDude2u/GSAcoin | 58b94eba767f6e17c8a88bcf0ee3b4cea719657a | c0a64da39501a52f25e709368a869d743f77221d | refs/heads/main | 2023-08-08T04:03:42.198250 | 2021-09-21T16:27:42 | 2021-09-21T16:27:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,822 | cpp | // Copyright (c) 2019-2020 The PIVX developers
// Copyright (c) 2021 The GLOBALSMARTASSET Core Developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "qt/gsa/mninfodialog.h"
#include "qt/gsa/forms/ui_mninfodialog.h"... | [
"gsasset24@gmail.com"
] | gsasset24@gmail.com |
75643db7e6502ac9548f75822c9a1e2fbd9ded9a | 10821e85ce5ab62b2000e2cc893dc6ebc946c35a | /plugins/robots/generators/ev3/ev3GeneratorBase/src/simpleGenerators/lineLeader/calibratePIDGenerator.cpp | 0131c16af95bf73c29e08dcabfa2edd56d06a624 | [
"BSD-3-Clause",
"MIT",
"CC-BY-4.0",
"GPL-3.0-only",
"GPL-1.0-or-later",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | trikset/trik-studio | aa65b6cee085ca34c875ac488f7ec45ff47efbfd | 2913f54d43e32f82c86e21dc9d0b22dbd1388086 | refs/heads/master | 2023-08-18T05:09:14.748955 | 2023-07-20T19:26:38 | 2023-07-20T19:26:38 | 143,976,458 | 21 | 22 | Apache-2.0 | 2023-09-12T09:39:43 | 2018-08-08T07:24:14 | C++ | UTF-8 | C++ | false | false | 2,052 | cpp | /* Copyright 2017 CyberTech Labs Ltd.
*
* 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 agree... | [
"lahmatbiy@gmail.com"
] | lahmatbiy@gmail.com |
d87f387cf448c836d98bfe1b96546947eeb56d4f | 3d4f601fee634723f25f739f755bd0aca2b3a489 | /plugins/UFEM/src/UFEM/SSTKOmega.hpp | b57e7af936974f73b923c81c9e77a73bcd6e958f | [] | no_license | barche/coolfluid3 | 69d8701a840377e83bb46b158300da6d4d8f3bc5 | 688173daa1a7cf32929b43fc1a0d9c0655e20660 | refs/heads/master | 2021-07-16T18:09:42.818240 | 2020-08-06T11:55:11 | 2020-08-06T11:55:11 | 2,173,454 | 2 | 7 | null | 2020-09-20T20:57:29 | 2011-08-08T13:37:11 | C++ | UTF-8 | C++ | false | false | 2,287 | hpp | //#ifndef SSTKOmega_H
//#define SSTKOmega_H
//#endif // SSTKOmega_H
// Copyright (C) 2010-2011 von Karman Institute for Fluid Dynamics, Belgium
//
// This software is distributed under the terms of the
// GNU Lesser General Public License version 3 (LGPLv3).
// See doc/lgpl.txt and doc/gpl.txt for the license text.
... | [
"bart@bartjanssens.org"
] | bart@bartjanssens.org |
ec6fb8d8df8b618813973b921262379d8d768752 | 775acebaa6559bb12365c930330a62365afb0d98 | /source/public/interfaces/architecture/IHTTPServerInfo.h | 0d491528319bff17b27811d6f4d4a9f58e0fce7e | [] | no_license | Al-ain-Developers/indesing_plugin | 3d22c32d3d547fa3a4b1fc469498de57643e9ee3 | 36a09796b390e28afea25456b5d61597b20de850 | refs/heads/main | 2023-08-14T13:34:47.867890 | 2021-10-05T07:57:35 | 2021-10-05T07:57:35 | 339,970,603 | 1 | 1 | null | 2021-10-05T07:57:36 | 2021-02-18T07:33:40 | C++ | UTF-8 | C++ | false | false | 2,118 | h | //========================================================================================
//
// $File: //depot/devtech/16.0.x/plugin/source/public/interfaces/architecture/IHTTPServerInfo.h $
//
// Owner: Arvinder Singh
//
// $Author: pmbuilder $
//
// $DateTime: 2020/11/06 13:08:29 $
//
// $Revision: #2... | [
"75730278+Tarekhesham10@users.noreply.github.com"
] | 75730278+Tarekhesham10@users.noreply.github.com |
935b4d5f8368809e3a7516a8a916dc38ba686242 | 0014fb5ce4aa3a6f460128bb646a3c3cfe81eb9e | /testdata/9/18/src/node7.cpp | 008c1623d51b66388eea93e9c5e318e2425fd1b2 | [] | no_license | yps158/randomGraph | c1fa9c531b11bb935d112d1c9e510b5c02921df2 | 68f9e2e5b0bed1f04095642ee6924a68c0768f0c | refs/heads/master | 2021-09-05T05:32:45.210171 | 2018-01-24T11:23:06 | 2018-01-24T11:23:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,587 | cpp |
#include "ros/ros.h"
#include "std_msgs/String.h"
#include "unistd.h"
#include <sstream>
#include <random>
std::random_device rd;
std::mt19937 gen(rd());
std::normal_distribution<> d(0.022465, 0.005);
class Node7{
public:
Node7(){
sub_3_7_flag = 0;
sub_3_7 = n.subscribe("topic_3_7", 1,... | [
"sasaki@thinkingreed.co.jp"
] | sasaki@thinkingreed.co.jp |
52ee105a67e5177765b1e6fb773b43fb53f45273 | 65d7747f70c8a0d31e5e1ba6b0a41479014e19b1 | /gams/docs/bigdocs/gams2002/medium.inc | 34718ac650c299a5124bcc63b7400fda5e82912e | [] | no_license | afbwilliam/Dutties | 8e2995f2376525253d35aad11df19b5177ebd446 | 76aa48a4de4c0f3fcf040ffb04c343a403ee2c5a | refs/heads/master | 2020-03-20T02:40:30.341067 | 2013-08-30T09:00:44 | 2013-08-30T09:00:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8 | inc | *medium
| [
"antwort7@gmail.com"
] | antwort7@gmail.com |
55ef82de85faf6287a6ed59096f17a1c3138f636 | 9dd383f0a7770ab158ca2a91d7f75ac2aa4d4582 | /Rcpp/test.cpp | ce53c0d388bde960bf0b4ba62141a57b9d937e69 | [] | no_license | alenabelium/OJS-analysis | c69a6b162d64855dc8db2dca609abbfb63d63304 | e405e034c6f7a68297a97a9b0cd8347b1a090592 | refs/heads/main | 2023-04-15T16:57:11.218098 | 2021-04-21T09:52:19 | 2021-04-21T09:52:19 | 360,113,791 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 744 | cpp | #include <Rcpp.h>
#include <stdio.h>
using namespace Rcpp;
// This is a simple example of exporting a C++ function to R. You can
// source this function into an R session using the Rcpp::sourceCpp
// function (or via the Source button on the editor toolbar). Learn
// more about Rcpp at:
//
// http://www.rcpp.org/
/... | [
"alen@abelium.eu"
] | alen@abelium.eu |
b29ec14b053f58329352505c084459e2b1dae1a5 | 2dffb470380197df72be0edad83c881914681dff | /wrappers/writing_client.cpp | ca699275af260ce86656af239b55819c4de50c78 | [] | no_license | fenix31415/Serv | 45cc5502b33cea716c259d95e9e577146a3ef43f | 3e6981d518b10dec92d822f5e508f3722408ecb6 | refs/heads/master | 2020-12-01T07:55:46.060804 | 2020-01-14T00:30:12 | 2020-01-14T00:30:12 | 230,587,105 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,544 | cpp | #include "writing_client.h"
#include <cstring>
#include <unistd.h>
writing_client::writing_client(int fd) : file_descriptor(fd), st_buffer(BUFSIZ) {
}
ssize_t writing_client::read_from_client(size_t count) {
ssize_t ret = read_tobuf(count);
markWokedUp();
return ret;
}
char writing_client::at(size_t i) ... | [
"dimkakirov43@mail.ru"
] | dimkakirov43@mail.ru |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.