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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
561ef73a0ab3b8859424acac56aa9f42f33a573c | 18864b811348073cbef63d42a7757d513d32fc8f | /opentext.cpp | a793806f6923b8cc38047afb18bf47f219480ce5 | [] | no_license | bodyo/TZI | 85c58193181fa201999e3ea46c368e951bec522c | 1fe892865607902d81dca6f7434ac73caddb2e81 | refs/heads/master | 2020-03-15T22:10:01.652587 | 2018-05-28T15:58:27 | 2018-05-28T15:58:27 | 132,368,249 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,014 | cpp | #include "opentext.h"
#include <QTextEdit>
#include <QPushButton>
#include <QHBoxLayout>
#include <QtCharts/QBarSet>
#include <QtCharts/QBarSeries>
#include <QtCharts/QChart>
#include <QtCharts/QBarCategoryAxis>
#include <QtCharts/QChartView>
#include <QMapIterator>
#include <QTableView>
#include <QHeaderView>
#includ... | [
"bohdano@silego.com"
] | bohdano@silego.com |
133205e2b372d46cd7c2e2398c956bae3a0f51a9 | 44549951f76546c048724511083ae0e4f85eb67f | /DesignPatternCpp/20160401/1_3_예외안정성_스마트포인터.cpp | ef2543e0b9c2a4e287b31d7d4f5adbaa2d5185bd | [] | no_license | goodgodgd/DesignPatternCpp | 74f95179c8ee1a94c80428d994771d841631207f | 73cbb2be8da6b284270fa4099610a4024fad95da | refs/heads/master | 2021-01-17T14:46:09.593625 | 2016-06-25T14:14:17 | 2016-06-25T14:14:17 | 54,876,837 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 2,585 | cpp | // 1. 생성자에서 실패를 알리는 방법은 예외 밖에 없다.
// 2. 생성자에서 예외가 발생하면 소멸자가 호출되지 않는다.
// 스마트 포인터 사용
// 예외 안전성 (Exception safety)
// 1. 완전 보장: 예외가 없다.
// 2. 강력 보장: 예외가 발생해도 잡을 경우(catch), 객체 상태는 예외 발생전으로 복구된다.
// => STL 에서는 모두 이걸 사용
// 3. 기본 보장: 예외가 발생해도 자원 누수는 없다. 단 객체 상태는 알 수 없기 때문에 사용이 불가능하다.
// 허브 셔터 - 예외 안정성
// -Exceptional C+... | [
"goodgodgd@yonsei.ac.kr"
] | goodgodgd@yonsei.ac.kr |
e4e3d4e3ed7070007a03110a5f19434a6cec7e9b | 341685bad7b8cf74dafcc8ff2d60118119907d7e | /04_driveworks/src/sensors/canbus/logger/main.cpp | 6e7877c400e07f3c04de245760f4120adde378fa | [] | no_license | CG0211/Tutorial | f498ac04340cc225eb4944f9515a324b0574e99f | 2ea4c5d2554f30e26bf5ab9c71c40695c610a9f0 | refs/heads/master | 2022-12-28T22:25:26.118174 | 2020-10-10T22:05:00 | 2020-10-10T22:05:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,349 | cpp | /////////////////////////////////////////////////////////////////////////////////////////
// This code contains NVIDIA Confidential Information and is disclosed
// under the Mutual Non-Disclosure Agreement.
//
// Notice
// ALL NVIDIA DESIGN SPECIFICATIONS AND CODE ("MATERIALS") ARE PROVIDED "AS IS" NVIDIA MAKES
// NO R... | [
"wanzew@163.com"
] | wanzew@163.com |
6cb8b0578c963ce31a712262936229d2d90c08fc | 64e553fe45b995841f286ddaf273244958c7328f | /src/proto_utils.cc | 3461e8765f083894ad1c7fb91affeeb4d75cd595 | [] | no_license | JacketWoo/ZeppelinClient | f8d12ba4848fe069866280907577504f3ea27a1e | 051130c5c7a670df22e564cc7203dec8f4d2897c | refs/heads/master | 2021-01-16T22:11:32.272455 | 2016-10-17T07:45:39 | 2016-10-17T07:45:39 | 63,036,454 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 515 | cc | #include <string>
#include "proto_utils.h"
namespace utils {
Message* NewMessage(const std::string& MsgType) {
Message* msg_p = NULL;
const Descriptor* des_p = DescriptorPool::generated_pool()->FindMessageTypeByName(MsgType);
if (des_p) {
const Message* protype_p = MessageFactory::generated_factory()->GetP... | [
"wuxiaofei-xy@360.cn"
] | wuxiaofei-xy@360.cn |
c6b8c9f4a177ed7366f6c803689ecb180735e205 | 58224b0256fb43ca00d96dae78f9e562d1c103a8 | /MelonLoader/IL2CPP.h | be8cfcc3b9d929bf6d40ec945f3b3e7e7be8b660 | [
"Apache-2.0"
] | permissive | morag12/MelonLoader | cd4f51a5c91c906c216e84563a61aae216672dc1 | 3505a31ceb413dfc3101992d32545d64b5b6693e | refs/heads/master | 2022-04-18T17:08:09.053340 | 2020-04-18T06:53:18 | 2020-04-18T06:53:18 | 256,771,799 | 1 | 1 | Apache-2.0 | 2020-04-18T14:19:35 | 2020-04-18T14:19:35 | null | UTF-8 | C++ | false | false | 2,890 | h | #pragma once
#include "PointerUtils.h"
#include "il2cpp-internals.h"
typedef Il2CppDomain* (*il2cpp_init_t) (const char* name);
typedef void (*il2cpp_add_internal_call_t) (const char* name, void* method);
typedef void* (*il2cpp_resolve_icall_t) (const char* name);
typedef Il2CppClass* (*il2cpp_class_from_system_type_t... | [
"herpderpinstine@gmail.com"
] | herpderpinstine@gmail.com |
bf8b9dbb180962bc8d4164564411081a57225c35 | cee57f404a35751595d610215ceba027af1e10c4 | /Tutorials/compressible/BackwardStepHLLC/1.5/rho | b7a1cb9991567f13def9c7a3ef5d18b6dc22a144 | [] | no_license | AAShevelev/HLLCFoam | de1313535496b657b078cb13f6eb10cc666c9cd0 | 022e730047c3f67d0c394894e2300acfa6d44873 | refs/heads/master | 2022-11-26T14:30:35.242410 | 2020-07-27T09:09:55 | 2020-07-27T09:09:55 | 282,840,750 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 171,128 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1812 |
... | [
"alexandershevkin@gmail.com"
] | alexandershevkin@gmail.com | |
e350685b5fe58c977b92a230a83c61570afb5914 | 49a497337f6892d9f2e3a32c07de88bd21734a54 | /labs/lab4/Shapes/Canvas.cpp | e112d0c3ddb8a812c20c1e42f5aa5c07ad53f86b | [] | no_license | AnyaGl/ood | f8b39bce34868d171e0e539338f13098e5c06e5e | ec0e7dff3300362dc091369c0319540ad17d9f3a | refs/heads/master | 2023-02-18T06:45:58.790351 | 2021-01-19T17:39:08 | 2021-01-19T17:39:08 | 293,276,494 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,494 | cpp | #include "Canvas.h"
CCanvas::CCanvas(sf::RenderTarget& renederTarget)
: m_renderTarget(renederTarget)
{
m_width = renederTarget.getSize().x;
m_height = renederTarget.getSize().y;
}
void CCanvas::SetColor(Color color)
{
if (color == Color::Black)
{
m_color = sf::Color::Black;
}
else if (color == Color::Blue)
... | [
"gladysheva_2000@inbox.ru"
] | gladysheva_2000@inbox.ru |
2c303efbd8a304fbe29c92c96b9f1b09a6ee6bfc | 558082ef7fe449353cea4640b2210662c189137c | /planar_robot_simulator-master/planar_robot_simulator-master/test/test_node.cpp | dc4e3430d191dbc2cfa3c325d1d7330367245697 | [] | no_license | stephendsm/myTEK4030 | 6cddd16b13875e2f795bee67672800890d13386f | efd3aceb554d1df6910d4709c33344465ef23ff9 | refs/heads/main | 2023-02-25T12:20:08.369070 | 2021-01-22T11:02:57 | 2021-01-22T11:02:57 | 315,442,433 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,254 | cpp | #include <ros/ros.h>
#include <std_msgs/String.h>
#include <planar_robot_simulator/planar_robot_1dof.h>
#include <sstream>
/**
* This tutorial demonstrates simple sending of messages over the ROS system.
*/
int main(int argc, char **argv)
{
ros::init(argc, argv, "talker");
ros::NodeHandle n;
ros::Publishe... | [
"noreply@github.com"
] | stephendsm.noreply@github.com |
d24f8bf9b5996b8c6e6ef436b4438b7852b89ecc | 802d0a6dcf379505b3008fef83aef3731ffe0d46 | /Estructura_de_datos/PARCIAL_I/Quiz2_2017/NodoA.h | bc80b415d1524723515fc40cec32f35d9999dd70 | [] | no_license | Yeltsin196/Portafolio | 3c3038e9557bc1a9ef57530d0c13169903cb61cd | 1923a25a5f3f2a5400262021bdc9201219bbba9d | refs/heads/master | 2020-04-06T13:01:28.246484 | 2018-11-14T04:21:26 | 2018-11-14T04:21:26 | 157,480,346 | 0 | 0 | null | null | null | null | ISO-8859-2 | C++ | false | false | 5,192 | h | template<class T>
class NodoA
{
private:
// enlace a otro NodoA, interpretado como el NodoA
NodoA<T>* link_hd; // hijo derecho del NodoA actual
// enlace a otro Nodo, interpretado como el NodoA
NodoA<T>* link_hi; // hijo izquierdo del NodoA actual
T* info; // campo de informacon asociada al NodoA
... | [
"noreply@github.com"
] | Yeltsin196.noreply@github.com |
4caadb7f3ecfc6561667697c363b793baa70918d | ab8c23a990f93921975f98c498743d03aaf8df0d | /AtCoder/ABC185/a.cpp | efe64e50b3fa065b14721b0cd8b37bc30068216c | [] | no_license | egret678/CP | c1b0620ffce0edab5a329f29f7d4997214402ab0 | c97b6b83f2a78d5dca1e60e91852b07b4cd47a72 | refs/heads/master | 2023-06-19T23:57:39.162608 | 2021-07-13T09:55:56 | 2021-07-13T09:55:56 | 284,223,382 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 730 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
//x:コンテナ
#define ALL(x) x.begin(),x.end()
#define SIZE(x) ll(x.size())
//定数
#define INF32 2147483647 //2.147483647×10^{9}:32bit整数のinf
#define INF64 9223372036854775807 //9.223372036854775807×10^{18}:64bit整数のinf
#define MOD 1000000007
//出力(空白区切りで昇順に)
... | [
"scarletoblivion7@gmail.com"
] | scarletoblivion7@gmail.com |
6694fab97591a74b084ec3208e2f3f553c8c8e7e | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/106/574/CWE590_Free_Memory_Not_on_Heap__delete_array_int_declare_81_bad.cpp | 271ac75c4de96d2dba19633e72bb15a4376c3d95 | [] | 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 | 991 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE590_Free_Memory_Not_on_Heap__delete_array_int_declare_81_bad.cpp
Label Definition File: CWE590_Free_Memory_Not_on_Heap__delete_array.label.xml
Template File: sources-sink-81_bad.tmpl.cpp
*/
/*
* @description
* CWE: 590 Free Memory Not on Heap
* BadSource: declare Data... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
621b2fcc11bec5f3b3df28dedf1d45d0bccdf7da | 82d69fc3e3054b0ae1774c3f522cd20377c687f4 | /jakenpo/test/test.ino | 65f4d509398c5dfa6a0e787bfdc47e89b271c908 | [] | no_license | ricksonre/rock_paper_scissor_arm | 7cf7343e1a7f7ae1d92180b6f654e1635865ad20 | 1cc8ee94350efeb81f09d596876afe25762b53f2 | refs/heads/master | 2020-08-06T16:04:02.641393 | 2019-10-10T03:39:08 | 2019-10-10T03:39:08 | 213,067,495 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,594 | ino | /*
ax12.h
ax12SetRegister
ax12GetRegister
ax12SetRegister2
ax12GetRegister2
SetPosition(id,pos)
GetPosition(id)
TorqueOn(id)
Relax(id)
GetLeftIRData(id)
GetCenterIRData(id)
GetRightIRData(id)
GetObstacles(id)
PlayTone(id, note)
Servos
d0,d1,d2
Buttons
d3,d4,d5
Max rotatio... | [
"ricksonre@gmail.com"
] | ricksonre@gmail.com |
cc052e4698824788dca8794523123f671e7f5602 | 9406633ca7c274b2dc21e5d093a4a4c7f41da668 | /code/Engine/TaskScheduler/MTScheduler.hxx | 80d653f1436cde2c913abf5a9544dc165ef847cd | [] | no_license | corefan/mayingzhen | 88eb46ed2661fb6354fdace7abc7051e139ca22f | 038cbed223f3daf7493c2437f48762b23f3892d8 | refs/heads/master | 2021-01-21T03:22:03.691067 | 2017-06-17T15:28:37 | 2017-06-17T15:28:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,057 | hxx | // The MIT License (MIT)
//
// Copyright (c) 2015 Sergey Makeev, Vadim Slyusarev
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitat... | [
"436406@163.com"
] | 436406@163.com |
ffb0cb9ef4b2e6993389c908ecbd638ff39ce3ae | 385649614fc0b5179e1c5b0657fac84debacf5ef | /include/bravo/http_message.h | 25e2fadfd3e03b0152fd4393507900f95d173000 | [
"MIT"
] | permissive | gitmark/bravo | 4ad6068e021f96ad71cb145e9c0c0763ee7e445f | 20adcf254be4757df2124bcf0d01a43cc0e615ba | refs/heads/master | 2021-01-13T12:17:04.754266 | 2019-06-29T21:48:52 | 2019-06-29T21:48:52 | 78,316,221 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,388 | h | /*******************************************************************************
MIT License
Copyright (c) 2017 Mark Elrod
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 restricti... | [
"git-mark@helixport.com"
] | git-mark@helixport.com |
2531793626c208472c55036bd7b0085807c244aa | 1cba1d5204e69755211868581c52f5c1cec9147d | /TowerDefence/src/StageConfig.h | 9c36b218f580f2fa85a2d0d9d3f48a8a2403a724 | [] | no_license | MasamichiKaneko/digigameExpo_2016 | 58b3b6df9c8e205125be7541d1a9c96b20aaba9b | 0982e52dbceb5d0f3241df164c55748238bbdaf9 | refs/heads/main | 2023-02-25T05:56:34.925955 | 2021-02-14T08:29:41 | 2021-02-14T08:29:41 | 338,756,527 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 648 | h | #pragma once
#include <map>
#include <vector>
class StageConfig{
public:
~StageConfig();
static void create();
static void destroy();
bool readStageConfig( const char* fileName );
bool readStageConfig( int fileHandle );
/** 実体取得 */
static StageConfig* getInstance(){ return instance; }
typedef struct{
... | [
"kaneko.for.work@gmail.com"
] | kaneko.for.work@gmail.com |
964f5190cb8125f289e002f661f5ed6c4b4fcb28 | 8b8bef103f32c1fafc613b04b8eb4062f9ee4871 | /examples/cal3dx-to-bougexml/cal3dx-to-bougexml.cpp | cde0ce0740d188c21546204f8b66af1a898f29e6 | [
"Zlib",
"MIT",
"BSD-3-Clause"
] | permissive | yazici/bouge | b40bd91e96c12d15b521449e965d6fad67a2f672 | 0ac49789101a6c42c1ef404cc324d1f5ec05d1d8 | refs/heads/master | 2020-04-29T14:51:19.599698 | 2015-09-27T16:30:48 | 2015-09-27T16:30:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,042 | cpp | ////////////////////////////////////////////////////////////
//
// Bouge - Modern and flexible skeletal animation library
// Copyright (C) 2010 Lucas Beyer (pompei2@gmail.com)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages... | [
"pompei2@meteorite.king"
] | pompei2@meteorite.king |
fa8c92e7b0cbb6e0c7772b55f7dc4ff3ce124e55 | dac9502b22160148bdc2750875737d28c2139f9a | /src/timing_sync.cpp | 70215e9e3a4211ffc3f7fa2d186374d5ae98e25c | [] | no_license | r4tn3sh/ncofdm_final | b9656daee01457b15ccc15a50277d15664292b7a | 06e1601380eb69000b31dee7dadd104161ae6b8b | refs/heads/master | 2021-01-12T16:03:16.369628 | 2016-12-23T19:18:27 | 2016-12-23T19:18:27 | 71,927,303 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,514 | cpp | /*! \file timing_sync.cpp
* \brief C++ file for the Timing Sync block.
*
* This block is in charge of using the two LTS symbols to align the received frame in time.
* It also uses the two LTS symbols to perform an initial frequency offset estimation and
* applying the necessary correction.
*/
#include "timi... | [
"ratnesh@winlab.rutgers.edu"
] | ratnesh@winlab.rutgers.edu |
09daac32fbf056e777d34dc9586f782641a6cf55 | 400525398e584e72176e0e37745863296c333628 | /chat_server/chat_database.h | d47c7c5e7e206acdbda7269534dfe632671df448 | [] | no_license | spostman/samsung_cr_project1 | 93a38552b5cb2224e593a704430d4258ce028786 | 516d956d43485ddb9aa6beabda67f947e87dff5d | refs/heads/master | 2022-11-05T17:53:59.802007 | 2020-06-24T13:24:00 | 2020-06-24T13:24:00 | 258,372,691 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,092 | h | // Code review content development project.
// Code style follows Google C++ Style Guide.
// (https://google.github.io/styleguide/cppguide.html)
#ifndef CHATSERVER_CHATDATABASE_H_
#define CHATSERVER_CHATDATABASE_H_
#include <map>
#include <vector>
#include "cpprest/details/basic_types.h"
#include "chat_message.h"
/... | [
"son.sooel@gmail.com"
] | son.sooel@gmail.com |
2d48eef9a05d83e67999fe50e5f54aa96dcb004e | 24d2ce1f6b800c336498e69a5421cbc797e677db | /Day_7/threadsafe.cpp | 797e3eeba520a39231af617bad73a4d1b95e6432 | [] | no_license | tomljr2/68-Day-Challenge | 1404623edc2460f732216d52b66b28669aaa3fdb | bbb74b349bbde34ca3128af0462e4bd5a5f8269b | refs/heads/master | 2021-05-16T18:55:59.396446 | 2020-05-04T01:45:10 | 2020-05-04T01:45:10 | 250,428,644 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,263 | cpp | /*
Day 7: Thread-Safe Vector
This is a class that acts as a normal
array, but works with multithreading.
Compile with:
g++ -std=c++11 -pthread threadsafe.cpp
*/
#include <iostream>
#include <mutex>
#include <vector>
#include <thread>
#include <functional>
using namespace std;
template <class T>
class ... | [
"justintomlinsonn@gmail.com"
] | justintomlinsonn@gmail.com |
f595d4c036ae41bd6b49fbd6b523700d098eb5f0 | b8f7e06c81c4df356cc8f8a08d3ee90d89ded9da | /ColaDinamica/src/ColaDinamica.cpp | 6501a312e9f1c8bc6d51b6d854b7b9ea6aaf2ff3 | [] | no_license | ivan-ramon-moran/personal | e89f8618199941b89f9e48190b60f04c18c405b7 | ac29c7b68be9fa5f0c3c4cb588e997e123577ae5 | refs/heads/master | 2021-01-19T21:28:51.069808 | 2013-06-07T18:13:00 | 2013-06-07T18:13:00 | 9,600,074 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,666 | cpp | #include <iostream>
using namespace std;
template <class TipoValor>
class ColaDinamica
{
struct Nodo
{
TipoValor objeto;
Nodo *sig;
};
public:
ColaDinamica()
{
//Fin e inicio a NULL
num_elementos = 0;
inicio = NULL;
fin = NULL;
}
bool ColaVacia()
{
//En el momento que inicio sea igual a NULL q... | [
"ivan.ramon.moran@gmail.com"
] | ivan.ramon.moran@gmail.com |
5c08de179e9d0e1aeb2056ce44410e3ee7b71cdc | 76529bf3e6af11ff1aadcf6a20c5a7dd98b7d1f1 | /testutil/src/main/cpp/jni/jni.cpp | ab9b6721c60177d06085f0c8b40c95fc2a8b5857 | [
"LicenseRef-scancode-proprietary-license",
"MIT"
] | permissive | Naturalclar/yoga | 1d3989e88c150d39c69eecbd767cb9d400988089 | a1ce49534d0ef7dbe9ade636a4d6bfec46329399 | refs/heads/master | 2022-10-28T12:03:53.809739 | 2022-10-06T12:01:08 | 2022-10-06T12:01:08 | 246,898,238 | 1 | 0 | MIT | 2022-10-09T17:56:42 | 2020-03-12T17:54:22 | C++ | UTF-8 | C++ | false | false | 961 | cpp | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <fbjni/fbjni.h>
#include <yoga/testutil/testutil.h>
using namespace facebook;
namespace {
void startCountingNodes(jni... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
14b7b739e5860bb535df9dc44a770abd1446e335 | 6e362a59e0d850278831822e93f152f494f50297 | /include/FastNoise/Generators/CoherentHelpers.inl | 5b252cf4dddd623c77138e6caf42409be32bf756 | [
"MIT"
] | permissive | tort-dla-psa/FastNoise2 | b90bc9390f62a82400c142719ee1d9ea1b18693a | 4cab17974eea3c1db99451ca6e895374c1eceab5 | refs/heads/master | 2022-11-10T16:48:11.271763 | 2020-06-27T17:43:41 | 2020-06-27T17:43:41 | 275,423,422 | 0 | 0 | MIT | 2020-06-27T17:41:34 | 2020-06-27T17:41:34 | null | UTF-8 | C++ | false | false | 5,401 | inl | #pragma once
#include "FastSIMD/InlInclude.h"
namespace Primes
{
static const int32_t X = 1619;
static const int32_t Y = 31337;
static const int32_t Z = 6971;
static const int32_t W = 1013;
static const int32_t Lookup[] = { X,Y,Z,W };
}
#if 0 // K.jpg new gradients
template<typename FS = FS_SIMD_... | [
"jordan.me2@gmail.com"
] | jordan.me2@gmail.com |
a5c6846dcc9491713c5f3f4a5c0d2e6e7323cd24 | 44e22b9e73e079ed4b7bae6a4ce05ed00d9b8e0c | /jni/SidplayfpPlugin/sidplayfp/c64/CPU/mos6510.cpp | 3048ee7f1b92ed1badcbe8fb34051d21a24d8040 | [] | no_license | kode54/Droidsound | 3e6c18e07ef161a25c0997836a4b6988d75852d1 | 34281d033ecf5afd0d8e86d197ed9e8c42ef972b | refs/heads/master | 2021-01-21T20:01:24.753779 | 2014-02-27T06:27:09 | 2014-02-27T06:27:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 64,155 | cpp | /*
* This file is part of libsidplayfp, a SID player engine.
*
* Copyright 2011-2013 Leandro Nini <drfiemost@users.sourceforge.net>
* Copyright 2007-2010 Antti Lankila
* Copyright 2000 Simon White
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Pu... | [
"droidmjt@gmail.com"
] | droidmjt@gmail.com |
801c06e3d77367afb8179617fe5cdf17c708a1dd | 5312f23b8c3786854d3926b404fb6d89b1d72be1 | /28_exception_handling/exceptions_1.cpp | 822ec17275ff6fbcab2f2c9bdc80965a5dc107f1 | [] | no_license | powerflo-data/C-training-course | 0605d1533f155a2e31c7f258e46c9a29e03f92b6 | dd736967bedd0ca61c690d763d6541fcf87f7ef9 | refs/heads/master | 2021-09-17T16:26:10.949084 | 2018-07-03T23:08:38 | 2018-07-03T23:08:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 873 | cpp | #include <iostream>
#include <string>
using namespace std;
//try catch throw
//standard exception klassen aus der C++-Bibliothek
int divide(int x, int y);
int main(){
int Result;
try{
//kritischer code
Result = Divide(5,0);
} catch (const int &ex) {
cout << "Division durch null ist nich möglich!... | [
"noreply@github.com"
] | powerflo-data.noreply@github.com |
60f0d0650b6f7d8aa46dd27264883d8a7d305991 | b022a54df7492b09e55b71a24eb5dc0ca1e9d7e3 | /src/objects/Shipsystem.h | c608078267c8985a270fb3c60a5248a414c16f05 | [] | no_license | keldu/LostSpace | 625c8085cc4d4ba9befa81ad758337876fbd520d | b761e7374e1fba5ec0531c2cb1b54620f211bc7d | refs/heads/master | 2021-03-24T09:36:10.066951 | 2019-03-26T15:11:20 | 2019-03-26T15:11:20 | 60,357,461 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 449 | h | #pragma once
#include "Box2D/Box2D.h"
#include "Ship.h"
#include "gl/Systemdrawcontainer.h"
class Ship;
class Shipsystem
{
public:
Shipsystem(int ax, int ay, int axsize, int aysize, std::string a_name, b2Body *a_body);
int x, y;
int xsize, ysize;
void draw(const mat4f& proj);
virtual void tick(... | [
"holeksa@yahoo.de"
] | holeksa@yahoo.de |
5a603e0040310272e8ad6918c5ce809b5b0dd8e8 | c946898b5f6ad708728a1e3cbd06894b96f1737b | /past problems/NOI 2/2021/candyComb.cpp | 529a8df7f07e7d3bdc72f0d0ef794a865a1dfa4a | [] | no_license | StoyanMalinin/Algorithms | b29a5aec013fe14d55871d901307614bef7d9085 | 88f6b28769f1b90028934bb40092e51f5a5af0e5 | refs/heads/master | 2023-07-06T10:03:28.193799 | 2023-06-27T16:43:44 | 2023-06-27T16:43:44 | 168,962,196 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,208 | cpp | #include <iostream>
#include <set>
using namespace std;
const int MAXN = 15;
int n, m, k;
int64_t comb[MAXN*MAXN+5][MAXN*MAXN+5];
void init()
{
comb[0][0] = 1;
for(int i = 1;i<=MAXN*MAXN;i++)
{
comb[i][0] = 1;
for(int j = 1;j<=i;j++)
comb[i][j] = comb[i-1][j] + comb[i-1][j-1]... | [
"stoyanmalinin2002@gmail.com"
] | stoyanmalinin2002@gmail.com |
b9cd003150e3d279b3adca415fb454bf831c7a31 | 42eccd5573f2a90bb6fdd7b25d4dd1817fda9fdd | /ds-prog/OO-DLL/DLinkedList.cpp | aab0fbacb71e1e81155c71f97eac83db6d0f7d0e | [] | no_license | MrPrashantBhore/vsDotnet | ceddf58cf63e361e664e9de5faa1ac309e5bdac7 | 0197b70b7ecf546bdc0023d576b1eb9afc83baa0 | refs/heads/master | 2020-06-05T01:07:55.725380 | 2019-06-20T22:19:35 | 2019-06-20T22:19:35 | 192,260,998 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,683 | cpp | #include "DLinkedList.h"
#include <cstdlib>
ostream& operator<<(ostream& out, DLinkedList& x)
{
Node * it = x.head;
while(it != NULL)
{
out<<*it<<"-->";
it=it->getNext();
//system("pause");
}
return out;
}
DLinkedList::DLinkedList()
{
head=tail=NULL;
}
DLinkedList::~DLinkedList()
{
deleteAll();
}
DL... | [
"mr.prashantbhore@yahoo.com"
] | mr.prashantbhore@yahoo.com |
ee67dc6c38f6124e30bf3dc95e604a3b96b1b4ab | fc3c943b8e53704df18238c0a56e2464dc99aa7a | /lesson06/sharedstring/main.cpp | 69813083ec65ec004a3b783165837c2509f68566 | [] | no_license | ramntry/extracourse | 25e17d6ac6c9f8ebb77c410bec8841babda26c0f | 33779985c0db453db4f5ee56dd58fe6d9a564ebf | refs/heads/master | 2021-01-10T19:34:27.955378 | 2012-04-01T17:03:22 | 2012-04-01T17:03:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,516 | cpp | #include <iostream>
#include <string>
#include "SharedString.h"
using namespace std;
void cpy(SharedString *dst, SharedString const* src, int n)
{
for (int i = 0; i < n; ++i)
dst[i] = src[i];
}
void print(SharedString const* a, int n)
{
for (int i = 0; i < n; ++i)
{
for (size_t j = 0; j ... | [
"ramntry@gmail.com"
] | ramntry@gmail.com |
5c758ce2ecd82dd1e34685bf8b570bd50cea3d80 | 02bdb726b13b787037f46e6ceef55fd45b5c8077 | /trinityRobot2017/RobotCode/RobotCode/LaserScanner.h | 879ac0fb3e009c73cef25ce7a7232fbaad6a5027 | [] | no_license | stephenrblake/UMLRoboticsClub | 03657e49653621ec167f81fc713f66ba942ed43d | cde19de2c768186f759c5c5efd5b7efb3edb7658 | refs/heads/master | 2021-04-12T10:48:33.988532 | 2018-03-23T00:20:07 | 2018-03-23T00:20:07 | 126,642,570 | 0 | 0 | null | 2018-03-24T21:42:07 | 2018-03-24T21:42:07 | null | UTF-8 | C++ | false | false | 107 | h | #pragma once
class LaserScanner
{
public:
LaserScanner();
~LaserScanner();
void getScan();
};
| [
"mpelland@mitre.org"
] | mpelland@mitre.org |
d07594bcfd3f7fea24573e7f667d6117a890ae28 | 28da41ec9ec0445a5383ea02fcf9fda917409e1f | /client/Messenger/control/TrayIcon.hpp | 653283c14885ade25ec6ebd54f94b988aefd2da3 | [] | no_license | ZhuBicen/Lightyear | 7a6cebc87fe69cd4ebbffd5163c7064c93382e43 | 529c2ac6ce20371c91f513ba0bd0cd8c31cc337d | refs/heads/master | 2021-07-12T11:00:51.371345 | 2019-09-12T13:50:46 | 2019-09-12T13:50:46 | 206,816,338 | 0 | 0 | null | 2020-10-13T15:53:13 | 2019-09-06T14:54:21 | C++ | UTF-8 | C++ | false | false | 5,255 | hpp | /*
* Copyright (c) Istvan Pasztor
* This source has been published on www.codeproject.com under the CPOL license.
*/
#ifndef __TRAY_ICON_H__
#define __TRAY_ICON_H__
#pragma once
#include <windows.h>
#include <shellapi.h>
#include <map>
#include <string>
#include <assert.h>
// NOTE: include the following headers in your... | [
"ab@chromium.org"
] | ab@chromium.org |
7336bea3ac0feb02ab7d1bf01a0121e1df48fc7e | d6d874fe9e1607a859e9484fdc5bce09b3f76472 | /Pipeline/the_LATEST/latest_MAYA/maya_SCRIPTS_old_duplicate/RfM_ris/CutrSparky.cpp | d9043faab30659962d0ecb33fb49713ab54c1066 | [] | no_license | tws0002/pop2-project | c80095cc333195ebb9ffa2199e2c3a3446d0df0c | 6886f05d54ec77b66d13b4eaafe8a66ac49f2f41 | refs/heads/master | 2021-01-11T20:53:19.982950 | 2016-03-10T10:31:29 | 2016-03-10T10:31:29 | 79,202,989 | 1 | 1 | null | 2017-01-17T07:56:09 | 2017-01-17T07:56:09 | null | UTF-8 | C++ | false | false | 3,834 | cpp | /*
CutrSparky.cpp
Generated by Cutter from:
"/Users/malcolm/Documents/maya/projects/RMS_ris/Args/CutrSparky.args"
at 2.58:15pm 12.1.2014
*/
#include <RixPattern.h>
#include <RixShadingUtils.h>
#include <RixShading.h>
#include <cstring>
class CutrSparky : public RixPattern {
public:
CutrSparky();
vi... | [
"colinvfx@gmail.com"
] | colinvfx@gmail.com |
2512e1e0ace2fd4110148b5bcbfa6d3e8f36dc86 | 6f64e28eda6045dcd95d41d9dbd417457f15dc67 | /telnetPacketSniffer/main.cpp | 5aa7baf9fc8e5a11af72ee83e955dced06cf17a0 | [] | no_license | spinlockirqsave/qt | 6f5c8418c5192eeb0d3e733ee1bbddd972e65f99 | 48cce2639029d024d560e8da0a6afd932fa57ed1 | refs/heads/master | 2021-01-18T15:46:26.630603 | 2015-11-16T23:23:48 | 2015-11-16T23:23:48 | 16,418,875 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 189 | cpp | #include "mainwindow.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}
| [
"peterg@peterg_win7.devserver.sytelco.com"
] | peterg@peterg_win7.devserver.sytelco.com |
f2818f09c7c1d81bb37f401e0d377def3e8287a5 | 260e5dec446d12a7dd3f32e331c1fde8157e5cea | /Indi/SDK/Indi_Perk_T3_ArmorMaster_classes.hpp | 5a456657431128965b87814d0b26f5a66604fc90 | [] | no_license | jfmherokiller/TheOuterWorldsSdkDump | 6e140fde4fcd1cade94ce0d7ea69f8a3f769e1c0 | 18a8c6b1f5d87bb1ad4334be4a9f22c52897f640 | refs/heads/main | 2023-08-30T09:27:17.723265 | 2021-09-17T00:24:52 | 2021-09-17T00:24:52 | 407,437,218 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 680 | hpp | #pragma once
// TheOuterWorlds SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "Indi_Perk_T3_ArmorMaster_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
//... | [
"peterpan0413@live.com"
] | peterpan0413@live.com |
f45a07342241cdb0e1c6b55d29bf4f0e51ae5dc8 | 80ce41145cae41a57ee55ee03c230f110e209c39 | /tests/metron_bad/bowtied_signals.h | d0ac30dc6356b7a51cd289bed86ee2abe868b0df | [
"MIT"
] | permissive | fengjixuchui/Metron | 2d2abcfc1b9191d2950116082fd5b04d5476ee1b | 49093c2fa734a856e1ebb78e240d8b6dbae8cc8a | refs/heads/master | 2023-03-16T16:03:18.688900 | 2023-02-01T06:28:59 | 2023-02-01T06:28:59 | 494,727,930 | 0 | 0 | MIT | 2023-02-01T06:29:00 | 2022-05-21T08:43:57 | C++ | UTF-8 | C++ | false | false | 243 | h | #include "metron_tools.h"
// X Context sig1 had invalid state after trace
class Module {
public:
void tock1() { sig1 = sig2; }
void tock2() { sig2 = sig1; }
void tock3() { sig1 = 0; }
private:
logic<8> sig1;
logic<8> sig2;
};
| [
"aappleby@gmail.com"
] | aappleby@gmail.com |
d3133c013fe72c8fc8afa5cad811fcfb50755654 | 59bc135463b526f2b72064995036a3620ed521e5 | /Projects/mp/mp3/L5_Application/MP3GPIO.hpp | 7a96c80a68f41a8c6d770faa0a2187fcf7fb5167 | [] | no_license | Gardener847/FreeRTOS-Projects | d07a90b3e4eccf6c83182c0df6a85c08eae08153 | 222e08e622cf9dbd29bbbb9ac5224a76f2d1f298 | refs/heads/master | 2020-04-12T21:18:24.067025 | 2018-12-21T22:56:38 | 2018-12-21T22:56:38 | 162,759,732 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,706 | hpp | #ifndef MP3GPIO_HPP__
#define MP3GPIO_HPP__
#include "LPC17xx.h"
#include <stddef.h>
class MP3GPIO
{
private:
/**
* port, pin and any other variables should be placed here.
* NOTE: that the state of the pin should not be recorded here. The true
* source of that information is embedded in the har... | [
"root@Bionia-PC.localdomain"
] | root@Bionia-PC.localdomain |
5f829f26aad823c71f9d09c0e00bf56d4b54688c | 72da305cf5970dbd6a76d4bd5e37fcbcfa5155ab | /src/tcplistener.hpp | 7248b9307be3b27d4f8f9191521d834f798ad4ce | [] | no_license | jam3st/epoller | b5ab7ac0d93a0d028a213063f1a7449bd5d54a17 | 2e7cc08c177e171f121e3d1f574aba6f34c49138 | refs/heads/master | 2021-01-19T17:22:57.594347 | 2015-06-12T22:25:06 | 2015-06-12T22:25:06 | 82,452,195 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 677 | hpp | #pragma once
#include <memory>
#include "socket.hpp"
#include "tcpstream.hpp"
namespace Sb {
class TcpListener final : virtual public Socket {
public:
static void create(uint16_t const port, std::function<std::shared_ptr<TcpStreamIf>()> const& clientFactory);
virtual ~TcpListener()... | [
"yams@yams.yams"
] | yams@yams.yams |
771aac400d18b7f6fa41e99ebc4b604d4f3f84de | c079c287f7bbdc77e824bcd9855df2b45e74da58 | /include/osgearth/osgEarthDrivers/engine_rex/MPTexture | 111b361d445a0f68492f4402143f22b0b964fb7a | [] | no_license | lawiest/GuangGuProject | b0ec76284c284b9e7b584b7cb8c9a503d3e5894d | 77f4db8436456b4bb9d9f1d7d35e5244f28ec99d | refs/heads/master | 2020-11-28T18:35:22.492303 | 2019-12-25T01:40:10 | 2019-12-25T01:40:10 | 229,892,801 | 12 | 10 | null | null | null | null | UTF-8 | C++ | false | false | 3,891 | /* -*-c++-*- */
/* osgEarth - Dynamic map generation toolkit for OpenSceneGraph
* Copyright 2008-2014 Pelican Mapping
* http://osgearth.org
*
* osgEarth is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; e... | [
"lei.xu@demxs.com"
] | lei.xu@demxs.com | |
dc61c2dc48af8a0678279b9b10ca1da5ca4cbb9b | 94271b15615bce44979c3fd47c0e3d1fd95d4c52 | /Ismetles/main.cpp | 00b8dfe2c34024f1eadecab6e40ca9a0450af667 | [] | no_license | HiriczkoDavid/Info | 81283935072da865ddf65fe32f5dab508c25ec52 | 79072c554e282ca3416fe0311967a1759327b9bd | refs/heads/master | 2021-02-17T14:58:45.269372 | 2020-03-05T05:29:40 | 2020-03-05T05:29:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 437 | cpp | #include <iostream>
#include <stdlib.h>
using namespace std;
int main ()
{
int v[100],i,j,n,aux;
cout << "n=";
cin >> n;
for (i=0;i<n;i++) {
v[i]=rand()%100;
}
for (i=0;i<n-1;i++) {
for (j=i+1;j<n;j++) {
if (v[i]>v[j]) {
aux=v[j];
v[j]=v[i];
v[i... | [
"noreply@github.com"
] | HiriczkoDavid.noreply@github.com |
7ccfc1211ef6b2badde91def3026420a0c0f6afa | 8a936d2ac768d3aeb0fa281f36b335cd325a38d7 | /include/scarlet/graphics/GraphicsContext.hpp | a26c6793fcc5d48e2318422893969f75bfd60070 | [] | no_license | FudgeRacoon/ScarletEngine | 8c13babaaf2aa529306c67a94e4de1e478bb5d41 | 0032c6740684719f8d52ef1278608317215595c4 | refs/heads/main | 2023-07-18T06:00:18.938226 | 2021-08-28T17:52:11 | 2021-08-28T17:52:11 | 371,505,470 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,808 | hpp | #ifndef GRAPHICSCONTEXT_HPP
#define GRAPHICSCONTEXT_HPP
#include "GL/glew.h"
#include "scarlet/core/Window.hpp"
#include "scarlet/core/Types.hpp"
#include "scarlet/core/debug/Assert.hpp"
#include "scarlet/core/logger/Logger.hpp"
#include "scarlet/core/math/Color.hpp"
#include "scarlet/core/math/Vector4.hpp"
#include... | [
"fudgeracoon@gmail.com"
] | fudgeracoon@gmail.com |
1fd891b48e09daa03bc24f5c8ed184f7b69e71d0 | 57569c30cedabe3c4d0692aa0fde01f96951627d | /MRTK ASA/App/Il2CppOutputProject/Source/il2cppOutput/System.cpp | e1cbe0dff2c2245b3ca7c11e7ed656a5b094f107 | [] | no_license | Arunkumar70/Microsoft-Android-ioS-ASA-Tutorial | 933d09af4ed790f434d733fe01a7c17da5423af0 | 2a900903af1513529c8a1f8fc596c4f40275cb4d | refs/heads/master | 2022-04-19T03:28:53.598040 | 2020-04-14T16:55:22 | 2020-04-14T16:55:22 | 255,016,758 | 0 | 0 | null | 2020-04-14T04:25:24 | 2020-04-12T05:40:46 | null | UTF-8 | C++ | false | false | 2,079,699 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "codegen/il2cpp-codegen.h"
#include "icalls/mscorlib/Mono.Unity/UnityTls.h... | [
"58801830+Arunkumar70@users.noreply.github.com"
] | 58801830+Arunkumar70@users.noreply.github.com |
fc64dbd003fc2285b7d58dc73ebbaa3270fa449f | d5463b53c0eeee113449efbc16c54777d8a8d732 | /ros_lib/geographic_msgs/GetGeoPath.h | 5355967b00b79e7f6e741b2dc575cfb31af3a9d3 | [
"MIT"
] | permissive | Camixxx/Ros_Windows_Socket | dde195a12e33c64cbe60a53321a710c179aea2be | b6830a0baa90e7d73dd4d3bca4e02e1b6d3aa824 | refs/heads/main | 2023-02-21T01:18:56.785149 | 2021-01-18T03:31:03 | 2021-01-18T03:31:03 | 330,544,278 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,481 | h | #ifndef _ROS_SERVICE_GetGeoPath_h
#define _ROS_SERVICE_GetGeoPath_h
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "ros/msg.h"
#include "uuid_msgs/UniqueID.h"
#include "geographic_msgs/GeoPoint.h"
#include "geographic_msgs/GeoPath.h"
namespace geographic_msgs
{
static const char GETGEOPATH[] = "... | [
"lijilan@jihualab.com"
] | lijilan@jihualab.com |
92b369265aabe1bc47e8a8104a570e9e1c7bb100 | f7254188b241270a9ae7227d5f63a2b48c2cd6c2 | /menuFunctions.cpp | af655d0656a4fdd00c2abcef3cc1f9bc540b89e6 | [] | no_license | anderja8/Langton_Ant_Sim | e938b72d7dd9ece3a31e829b582c136a18a93ae7 | 293c404e78ad4dc28adc30ca82466fc40988e423 | refs/heads/master | 2022-12-22T19:23:01.236643 | 2020-09-27T21:53:17 | 2020-09-27T21:53:17 | 299,125,016 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,372 | cpp | /*********************************************************************
** Program name: menuFunctions.cpp
** Author: Jacob Anderson
** Date: 9/27/18
** Description: CPP file that defines the menu functions.
*********************************************************************/
#include "menuFunctions.hpp"
#inc... | [
"="
] | = |
137e2ecde0082d4ce433220e1fa39d66cb6a93e5 | 6e8beb89f54a811d6a1243ff82d8aed660e07edd | /OpenGL/math/src/vector_simd.cpp | a984f11fbf0113ab2d67eccd6a58593358aac965 | [] | no_license | joeysk1/Yoooo | 4b239bbd6cfb3cdd592d57b9751a8c81d7498bec | a50d7c8e98900a5a0b42cf8a483314529d2b3c5e | refs/heads/master | 2021-01-19T10:49:12.062220 | 2014-12-12T06:26:36 | 2014-12-12T06:26:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 183 | cpp | #include <xmmintrin.h>
#include "../include/vector"
vec2::vec2()
{
x = 0.0f;
y = 0.0f;
}
vec2::vec2(float p1, float p2)
{
x = p1;
y = p2;
}
vec2 vec2::operator+(vec2& b)
{
}
| [
"joeysk@163.com"
] | joeysk@163.com |
6281a5158cabd7e512eb1c3e8f02ccaa221390c8 | c4413672e1257127a26ae66abb368f7cd955c3ce | /starrating.cpp | 4c9cf4b1d62438273085571505abee239141db52 | [] | no_license | GLTron3000/IHM_Photos | bb467b8de924a31d93529130f2de7f4d98b211f7 | da2ed72f84db0eb609d5f51ce5d5619c23fc78e8 | refs/heads/master | 2020-12-11T17:10:11.326845 | 2020-02-14T16:17:09 | 2020-02-14T16:17:09 | 233,907,392 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,603 | cpp | #include "starrating.h"
#include <QtWidgets>
#include <cmath>
constexpr int PaintingScaleFactor = 20;
StarRating::StarRating(int starCount, int maxStarCount)
: myStarCount(starCount),
myMaxStarCount(maxStarCount)
{
starPolygon << QPointF(1.0, 0.5);
for (int i = 1; i < 5; ++i)
starPolygon << ... | [
"theazx05@gmail.com"
] | theazx05@gmail.com |
21dae78bf602a66ee4d18df84d1ef78bc88cce6c | 4d56d59239561ba483670b24aa1bdd8263b5d2a3 | /Longest Palindromic Substring.cpp | 7d88b19d432a66629314e2fcffd8febe4bd63c01 | [] | no_license | warp-charge/InterviewBit- | a89a97befbd8c05e204c5a28412015db122d58f6 | 868c245286c0011a6ca0399770141a1a76aa9f0b | refs/heads/master | 2020-05-26T13:05:16.086336 | 2019-06-18T07:47:12 | 2019-06-18T07:47:12 | 188,241,304 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 940 | cpp | //Below approach is O(n^2)-time and O(1)- space
//More optimized approach
string Solution::longestPalindrome(string A) {
int i,j,n=A.size();
//return lps(A,n);
int maxlen=1,start=0,low,high;
for(i=1;i<n;i++)
{
//even length palindromes
low=i-1;
high=i;
whil... | [
"noreply@github.com"
] | warp-charge.noreply@github.com |
f696058b7767b536f7c4377fb59e1da2ac73c94a | 2177e133956e4c83f1fd2bdec73cd6882ba00f83 | /zoj/1205.cpp | b26b439d1420f5187fbe30589d43dd52fbc11e5c | [] | no_license | HFCherish/algorithm-practice | 2eb253ee5eb21d31fcef5e3398359cad243aac5a | 272761ec26cb12e02c4a12cd52357fd378f2c5d9 | refs/heads/master | 2021-01-17T17:17:15.013390 | 2016-09-24T13:03:39 | 2016-09-24T13:03:39 | 69,102,914 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,142 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
int main()
{
char a[150],b[150];
while(scanf("%s%s",a,b) != EOF)
{
int c[150] = {0};
int len1,len2;
len1 = strlen(a);
len2 = strlen(b);
int i,j,t=0;
for(i=len1-1,j=len2-1; i>=0 && j>=0; i--,j--,t++)
{
if(isalpha(a[i])) c[... | [
"hf_cherish@163.com"
] | hf_cherish@163.com |
5a17754e468f409b66b2559557fa494ef255e98f | 187d4abefda1641f773427c0435b9f8df2bafda4 | /engine/core/coreVector.h | 9c4c949c8ee62fb9768ebad4b3c21b7b9420a291 | [] | no_license | abirdsall/apps | 712bafcc09c4e9280ee1d5541e2bb818986f843b | a00c59a78c9e46dd942e78fd3452c4c4d5ea222f | refs/heads/master | 2021-01-10T21:07:44.705999 | 2015-01-17T12:31:10 | 2015-01-17T12:31:10 | 22,556,478 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,168 | h | #ifndef CORE_VECTOR
#define CORE_VECTOR
#define V3UnitX v3(1.0f, 0.0f, 0.0f)
#define V3UnitY v3(0.0f, 1.0f, 0.0f)
#define V3UnitZ v3(0.0f, 0.0f, 1.0f)
#define V3Zero v3(0.0f, 0.0f, 0.0f)
#define V3One v3(1.0f, 1.0f, 1.0f)
namespace core
{
struct v2
{
union
{
f32 v[2];
s... | [
"andrewbirdsall@Andrews-MacBook-Pro.local"
] | andrewbirdsall@Andrews-MacBook-Pro.local |
4caa0ceef91f453d598e782f27291678c7d98015 | f2b1435d896689d06095266c16c62dd6f610988e | /1880.cpp | 8efb250b606207383dbbb100164dc00f1cd4ecdc | [] | no_license | slonegd/timus | 9b674fd72babcdd49ae3e76cfa38bc0454f68707 | 2fa204a7bd1be9d16da3b84901aa10a4cb936b5e | refs/heads/master | 2021-04-05T23:45:10.585991 | 2018-08-10T03:38:18 | 2018-08-10T03:38:18 | 124,635,721 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 849 | cpp | #include <iostream>
#include <vector>
int main()
{
unsigned long qty;
std::vector<unsigned long> v1, v2, v3;
auto get = [](auto& v){
int n;
unsigned long i;
std::cin >> n;
while (n--) {
std::cin >> i;
v.push_back(i);
}
};
get(v1);
... | [
"slonkdv@mail.ru"
] | slonkdv@mail.ru |
8de6b516f72086f0e54366af9d7e354223ac1850 | c0caed81b5b3e1498cbca4c1627513c456908e38 | /src/numeric/xyzMatrix.hh | ae1f689018224823ec0b2ff8c0596832f59cd324 | [] | no_license | malaifa/source | 5b34ac0a4e7777265b291fc824da8837ecc3ee84 | fc0af245885de0fb82e0a1144422796a6674aeae | refs/heads/master | 2021-01-19T22:10:22.942155 | 2017-04-19T14:13:07 | 2017-04-19T14:13:07 | 88,761,668 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 48,011 | 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... | [
"malaifa@yahoo.com"
] | malaifa@yahoo.com |
bdb3688b33722e2628da518a427f95fc467db07f | 824c4d51a904d7252cc668422dcf70b6f097cc60 | /src/storage.cpp | 6d9b7f13f6d28f0ab5db5b60d9f28103646b836a | [] | no_license | sigalrm/dbuddy | 13bde495d3b6410e183e8c0c92e13255af7abac4 | 71ccaebbed33efd192b18440209ce83606fb33bc | refs/heads/master | 2021-06-04T21:10:57.021040 | 2019-01-14T10:18:17 | 2019-01-14T10:18:17 | 13,606,076 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,714 | cpp | #include "main.h"
#include "storage.h"
#include <unistd.h>
#include <string.h>
#include <fstream>
const std::string &
Storage::get(StorageKey type, StorageKey key) {
return m_storage[type][key];
}
StringMap &
Storage::getMap(StorageKey type)
{
return m_storage[type];
}
void
Storage::put(StorageKey type, Stor... | [
"efw@eamonwalsh.com"
] | efw@eamonwalsh.com |
d005f280e31c1b220ce6137f02a13f66f5f10a09 | 19da963051a8e94dd11eab2fc5720be8f79ed692 | /include/SafeJobQueue.h | d47f7b6c12b5a18c499fff86cf016911c9426444 | [] | no_license | pkyriacou/SIGMOD_2013 | 2e6b55fb885cd64be068737ba884ffffb8ebceab | c742f05d7371cbfc393a19ce58710d01086fb348 | refs/heads/master | 2020-04-10T06:49:40.967126 | 2013-04-13T03:05:13 | 2013-04-13T03:05:13 | 9,249,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 354 | h | #ifndef __SAFEJOBQUEUE__
#define __SAFEJOBQUEUE__
#include <queue>
#include <deque>
#include <pthread.h>
#include "./Job.h"
using namespace std;
class SafeJobQueue : public deque<Job *> {
pthread_mutex_t mutex;
public:
SafeJobQueue();
~SafeJobQueue();
void safePush(Job *);
Job * safePop();
unsigned int safe... | [
"pkyria07@cs.ucy.ac.cy"
] | pkyria07@cs.ucy.ac.cy |
4a06d4eeecf0cd2c871b01558c7c96658f1ccb30 | 5f98de8392df840df71f54b40c9e633695b1c88a | /BaseFramework/Camera.h | 2e8e7b8c918381535f97e4eaddc8b2f87286c42a | [] | no_license | RagnarSupreme/Graphics1 | d552211285e22ef6faa6eeb5bde6ac101ab25755 | e7dc975a1c2635a3f222f0072d483e2c3c3ca6a4 | refs/heads/master | 2022-04-10T18:23:04.734035 | 2020-03-21T00:54:14 | 2020-03-21T00:54:14 | 248,250,371 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 461 | h | #pragma once
#include "Vertex.h"
#include <Cmath>
#include "Matrix.h"
class Camera
{
public:
Camera();
Camera (float xRotation, float yRotation, float zRotation, const Vertex& position);
Vertex GetPosition() const;
void SetPosition(const float xPosition,const float yPosition,const float zPosition);
... | [
"noreply@github.com"
] | RagnarSupreme.noreply@github.com |
2d95aa5651a9930f72a3fb5f7d869cfc2f102822 | 14d476560a2808588f9c9e990e78844b5d4043b5 | /build-SpreadSheet-Desktop_Qt_5_8_0_MSVC2015_32bit-Debug/debug/moc_mainwindow.cpp | 02c4a4b3f68b509abf6c124cae40a194504331f9 | [] | no_license | nilforoosh/Simple-SpreadSheet | fc7c1b62f7eee1c28bccd96b9405e6da0b8c67eb | bdaeb696b074a8935e508075a01c5720656f4f19 | refs/heads/master | 2021-07-14T22:50:08.771416 | 2017-10-19T18:48:17 | 2017-10-19T18:48:17 | 107,585,632 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,702 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'mainwindow.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.8.0)
**
** WARNING! All changes made in this file will be lost!
**********************************************************... | [
"nilforoosh@gmail.com"
] | nilforoosh@gmail.com |
4cc005649f901f9bcf4f68197296da47b818fb6c | 7c08d9511bd031ceedf62f17592cca1f5ceef38c | /examples/code/DumbArray/BigArray.cpp | cd44c4f09ecadaab8ef388ac4381abd113f257d6 | [] | no_license | kunnu120/csce240-f17-002 | f983104561b3193c7ce5c988d718c68d1e632f28 | 4a3ef5fc736f64844d35a133c43cf1a7f72bf37c | refs/heads/master | 2021-01-23T08:44:41.675715 | 2017-04-11T23:41:57 | 2017-04-11T23:41:57 | 102,545,847 | 0 | 0 | null | 2017-09-06T01:06:02 | 2017-09-06T01:06:02 | null | UTF-8 | C++ | false | false | 763 | cpp | #include "BigArray.h"
#include <cstring>
#include <cstdio>
using namespace std;
BigArray::BigArray(int len) {
bigarray.length = len;
bigarray.characters = new char[bigarray.length];
}
BigArray::BigArray(int len, char * array) {
bigarray.length = len;
bigarray.characters = array;
}
BigArray::~BigArray() {
delet... | [
"skeen.c@gmail.com"
] | skeen.c@gmail.com |
6e96a1ccfd9510e580e0ffe6904af3ce2593daf2 | da810b0113f427ebddb0d22ea5321e81ef74baa7 | /Assignment2/Vehicle.cpp | 9f781cdc543275c3a19b1d6177621e7b65b53e3d | [
"MIT"
] | permissive | HEYHO8037/POCU | 8f8a6f50d9e4860de3feec1246ee7eee89df5e23 | 811979ec56ec6401807e6967845c6f4581884d5f | refs/heads/master | 2023-06-28T07:40:44.596847 | 2021-07-29T12:54:40 | 2021-07-29T12:54:40 | 363,791,190 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,093 | cpp | #include "Vehicle.h"
namespace assignment2
{
Vehicle::Vehicle()
: mCount(0), mMaxPassengerCount(0), mPerson(nullptr), mTravelTotalSpeed(0)
{
}
Vehicle::Vehicle(const Vehicle& vehicle)
: mPerson(nullptr), mCount(vehicle.mCount), mMaxPassengerCount(vehicle.mMaxPassengerCount)
, mTravelTotalSpeed(vehicle.mTrav... | [
"haeho8037@gmail.com"
] | haeho8037@gmail.com |
134ea1bf3758ddd62c4f1f13754f635fd0bc26df | c3d8193ff4f8912bc5f728ba0ab0f8e720540693 | /src/codegen/handler-table.h | e1626e2be50d5f4b59268102f9ff720dbaf5c632 | [
"BSD-3-Clause",
"SunPro",
"Apache-2.0"
] | permissive | mhahnenberg/v8 | 6d745fb275c895975522169fc13d55ac6306223f | f9cfb7d3b0bdcc9ae20fb4aecaf0a3f798c00da1 | refs/heads/mhahnenberg-binast | 2023-04-12T06:17:46.209354 | 2021-05-04T18:25:33 | 2021-05-04T18:25:33 | 275,253,785 | 4 | 1 | NOASSERTION | 2021-05-11T20:30:50 | 2020-06-26T21:48:10 | C++ | UTF-8 | C++ | false | false | 6,060 | h | // Copyright 2018 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_CODEGEN_HANDLER_TABLE_H_
#define V8_CODEGEN_HANDLER_TABLE_H_
#include "src/base/bit-field.h"
#include "src/common/assert-scope.h"
#include "... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
95de42ecf3da9e35cbd7b4b759bd007c6b4cecbc | ce69c0d995d3dfdcd57419353c7afe50c1699680 | /src/qt/bitcoin.cpp | 3beb2288c4fbc949fc0216a74be7a826f4d9042a | [
"MIT"
] | permissive | dogetipproject/dogetip | 007abcd7b5ee97b6da2978678ad80b5efa6080bf | 82ac34dbad9083ef8dd826c50159a9af08605468 | refs/heads/master | 2021-04-15T09:13:40.645778 | 2018-04-02T03:02:52 | 2018-04-02T03:02:52 | 126,785,217 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,099 | cpp | // Copyright (c) 2011-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.
#if defined(HAVE_CONFIG_H)
#include "config/bitcoin-config.h"
#endif
#include "bitcoingui.h"
#include "clientmodel.h"
#incl... | [
"dev1@dogetip.org"
] | dev1@dogetip.org |
157a1c40585fc27ad464cebe6f95d853f3beb01d | 5d01a2a16078b78fbb7380a6ee548fc87a80e333 | /MarketDataAdapters/include/$Activ/ActivContentPlatform/ActivFeedCommon/FieldIds.h | 4683cc1786ef529f136a9d9745c9bc98e8b08eab | [] | no_license | WilliamQf-AI/IVRMstandard | 2fd66ae6e81976d39705614cfab3dbfb4e8553c5 | 761bbdd0343012e7367ea111869bb6a9d8f043c0 | refs/heads/master | 2023-04-04T22:06:48.237586 | 2013-04-17T13:56:40 | 2013-04-17T13:56:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 89,169 | h | /**
* @file FieldIds.h
*
* @brief Header file for the field ids.
*
* $Log: $
*/
#if !defined(ACTIV_FEED_FIELD_IDS_H)
#define ACTIV_FEED_FIELD_IDS_H
#include "ActivMiddleware/Activ.h"
#include "ActivMiddleware/ActivBase/ActivBase.h"
#include "ActivMiddleware/ActivFieldTypes/ActivFieldTypes.h"
... | [
"chuchev@egartech.com"
] | chuchev@egartech.com |
2effe91484cc8475c89b2576c0cee5702aa6fbe6 | a60f2d47ad5d4630a60ca275b811f7349818717b | /Spoj_Solutions/xor_sum.cpp | 5d931abaaaa9c11c5b3dfff4f61b16661feac08a | [] | no_license | kevin-212/KEVIN_SPOJ_SOLUTIONS | ef850ba6af140da5cdc76c83ce528b8abd2dd4b3 | e48e5941bb33411f0daef7e3e2758f3f4861135f | refs/heads/master | 2021-01-02T09:01:37.268731 | 2015-07-12T16:02:12 | 2015-07-12T16:02:12 | 37,242,944 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,953 | cpp | /*
Problem Statement
Given a list containing N integers, calculate the XOR_SUM of all the non-empty subsets of the list and print the value of sum % (109 + 7).
XOR operation on a list (or a subset of the list) is defined as the XOR of all the elements present in it.
E.g. XOR of list containing elements {A,B,C} = ((A... | [
"kdpatel621@gmail.com"
] | kdpatel621@gmail.com |
5e5aeb14d8a7fc8241375a573c363c8872702452 | c1c0c41bccabfa59fc73bfb01371ad6a2ee0fc60 | /term1/hw2/3/main.cpp | 142a1da90d3b0f2c8d731cd17d9e885578b56952 | [
"MIT"
] | permissive | Sergey-Pravdyukov/Homeworks | 1e1bf90558fcccbbab33c06a12b78d5d6bde690c | c3652fca26f391ec86b5425be1c1e6471315572d | refs/heads/master | 2021-01-18T21:25:19.676443 | 2017-09-04T12:14:52 | 2017-09-04T12:14:52 | 48,620,546 | 0 | 0 | null | 2017-09-04T12:14:53 | 2015-12-26T18:53:48 | C++ | WINDOWS-1251 | C++ | false | false | 984 | cpp | #include <iostream>
#include <ctime>
#include <cstdio>
using namespace std;
void haveDecompositionTerms(int a[], int step, int n, int currentSum, int lastTerm)
{
if (currentSum == n && step != 1)
{
for (int i = 0; i < step - 1; ++i)
{
cout << a[i] << " + ";
}
... | [
"sergey.pravdyukov@gmail.com"
] | sergey.pravdyukov@gmail.com |
eb1925102cafca94aa041b4aa34335b19a48c35c | 6246aff9b82ec32123319a94128ca8028dd1bfc2 | /debian/tests/srcs/random/demo2.cpp | bf42c36bef84ae7c3651d473c127c812f8e60542 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-mit-old-style",
"Jam",
"LicenseRef-scancode-other-permissive",
"Spencer-86",
"Boehm-GC",
"Python-2.0",
"Zlib",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-boost-original",
"BSL-1.0"
] | permissive | isabella232/ceph-boost | e094718e46ac7d9eb67b6495f876c7d2a2709291 | 47021d225a5c6970089674d39f97328ff8570521 | refs/heads/master | 2023-04-04T05:44:20.881168 | 2021-04-05T05:07:31 | 2021-04-05T05:07:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,192 | cpp | // boost1.67-1.67.0/libs/random/example/random_demo.cpp
/* boost random_demo.cpp profane demo
*
* Copyright Jens Maurer 2000
* 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)
*
* $Id$
*
* A short demo progra... | [
"gladk@debian.org"
] | gladk@debian.org |
ccc36b08acf642ba813f485127b48bd6170519c7 | a75bfdb61d2bfa20f71d2a1548188db18a8e5e6d | /BestCoder/39/c.cpp | 9b41ee4b573a2782b48bfdbbd93f153d0deafa7d | [] | no_license | Ra1nWarden/Online-Judges | 79bbe269fd35bfb1b4a5b3ea68b806fb39b49e15 | 6d8516bb1560f3620bdc2fc429863a1551d60e6a | refs/heads/master | 2022-05-01T17:50:00.253901 | 2022-04-18T06:55:25 | 2022-04-18T06:55:25 | 18,355,773 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,432 | cpp | #include <cstdio>
#define MAXN 10005
using namespace std;
int primes[] = {2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,3... | [
"wzh19921016@gmail.com"
] | wzh19921016@gmail.com |
7bc90d4d70b19f3c997bc2a2396bf371870076da | 63a9f69294268c87a2fbf66173422ddebb7ac73a | /code/src/main.cpp | 328c018aa8178e31618fe4299329e465a0c49652 | [] | no_license | liaoms/DTSoftWare_DataStructure | 51a823d09046ad6b4751e21d59eee1441da67550 | 71aac2e854ca6eb6fdc995d8eace1a75389b82a8 | refs/heads/master | 2022-11-21T05:39:02.989815 | 2020-07-28T01:31:07 | 2020-07-28T01:31:07 | 270,564,562 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,057 | cpp | #include "Exception.h"
#include <iostream>
#include "SmartPointer.h"
#include "SharedPointer.h"
#include "StaticList.h"
#include "DynamicList.h"
#include "StaticArray.h"
#include "DynamicArray.h"
#include "LinkList.h"
#include "StaticLinkList.h"
#include "CircleList.h"
#include "DualLinkList.h"
#include "StaticDualLink... | [
"763905926@qq.com"
] | 763905926@qq.com |
93e9784c0d4eef64518b10da2da9ba639da5d86d | 5cceb90cdb1da3a7535fa908fd9f4d4543dd04c2 | /simplest_ffmpeg_player_2.5/simplest_ffmpeg_decoder_pure/simplest_ffmpeg_decoder_pure.cpp | f2ec47b3e2a1359c5e54d83705bbdaab8a5c632a | [] | no_license | kmcfly/ffmpeg-opengl | 8b9b602ffce1011e4cd9392b4095be423f844390 | 60013aaf540e881d04b71918a51097d64ca320f2 | refs/heads/master | 2021-01-10T08:32:35.031287 | 2015-12-17T09:03:29 | 2015-12-17T09:03:29 | 47,552,372 | 1 | 1 | null | null | null | null | GB18030 | C++ | false | false | 7,475 | cpp | /**
* 最简单的基于FFmpeg的视频解码器(纯净版)
* Simplest FFmpeg Decoder Pure
*
* 雷霄骅 Lei Xiaohua
* leixiaohua1020@126.com
* 中国传媒大学/数字电视技术
* Communication University of China / Digital TV Technology
* http://blog.csdn.net/leixiaohua1020
*
*
* 本程序实现了视频码流(支持HEVC,H.264,MPEG2等)解码为YUV数据。
* 它仅仅使用了libavcodec(而没有使用libav... | [
"kmcfly@126.com"
] | kmcfly@126.com |
dfb8c8d4d6a860a5c8a37f21302be455eeade410 | 0ad1e75df68fb14976c79c8921249dcd6e74f967 | /codechef 2.cpp | 8b46dafa407bebbbddfd6fc247127b5aff87d564 | [] | no_license | variablemayank/competetive-programming-codes | 9010d215832f4937735d6b35b1df35df0f8a59e6 | 71bbc70049089fcc24444471dd4504b1d29c371f | refs/heads/master | 2021-09-06T04:17:29.052221 | 2018-02-02T08:57:56 | 2018-02-02T08:57:56 | 119,955,414 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 765 | cpp | /* Template By Mayank Sharma
fight_till_end */
#include<bits/stdc++.h>
using namespace std;
#define jadu ios_base::sync_with_stdio(false);
#define REP(i,a,b) for (int i = a; i <= b; i++)
#define F first
#define S second
#define PB push_back
#define MP make_pair
#define sz(c) (int)c.size()
typedef l... | [
"mayank202020@rediffmail.com"
] | mayank202020@rediffmail.com |
ecea534bdb5512e55ccea5a0a455e786476a50e1 | 1b90be9561c10508eea59cb36c1f1665d0ef947f | /stan/math/prim/prob/std_normal_ccdf_log.hpp | 70db6c52fc34c61900e32cf40fab9f19ba4b6489 | [
"BSD-3-Clause",
"GPL-2.0-only",
"Apache-2.0"
] | permissive | stan-dev/math | 473e7c1eaf11f84eaf2032c2455e12ba65feef39 | bdf281f4e7f8034f47974d14dea7f09e600ac02a | refs/heads/develop | 2023-08-31T09:02:59.224115 | 2023-08-29T15:17:01 | 2023-08-29T15:17:01 | 38,388,440 | 732 | 240 | BSD-3-Clause | 2023-09-14T19:44:20 | 2015-07-01T18:40:54 | C++ | UTF-8 | C++ | false | false | 478 | hpp | #ifndef STAN_MATH_PRIM_PROB_STD_NORMAL_CCDF_LOG_HPP
#define STAN_MATH_PRIM_PROB_STD_NORMAL_CCDF_LOG_HPP
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/prob/std_normal_lccdf.hpp>
namespace stan {
namespace math {
/** \ingroup prob_dists
* @deprecated use <code>std_normal_lccdf</code>
*/
template <typen... | [
"m.colombo@ed.ac.uk"
] | m.colombo@ed.ac.uk |
0e791a1386b57b8a027f25086db39a7a43fb8b8d | 89cc3c6cf2f986214e0da91b456c8676d8797dda | /Tree Data Structure/Construct Binary Tree From Inorder And Preorder.cpp | 5a8c279d92cb31fc5ca5d5fe89c6412308937b1f | [] | no_license | Hemant-Sadana/Competitive-Programming | c3129f684c42614cdd4a3920edcf23e5824a8ab9 | 7dd9e7fbe60ecbea182ebf1fc1ae9d794644ca5f | refs/heads/master | 2022-11-06T18:10:54.541113 | 2020-06-22T07:45:25 | 2020-06-22T07:45:25 | 260,935,641 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 733 | cpp | /**
* Definition for binary tree
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
TreeNode* build(vector<int> &A,vector<int> &B,int l,int r,int &j)
{
if(l>r)
return NULL;
int index;
for(int i=l;i<=r... | [
"noreply@github.com"
] | Hemant-Sadana.noreply@github.com |
50c32b3a80c76160a4a7c46aea97284a9bef8aed | eb6f8317c6c361e05df91ae16fd66ecf3a3a8b01 | /BC/round18_1002/round18_1002/源.cpp | 52b9e7b448ebbceaf0cfdc0cfdc1864a9c15452f | [] | no_license | Joey-Liu/online-judge-old-version | b00a12ec2da0053c461e914433ccb6760f7e8c50 | c452ecee203c20e2856faa8ef876ad855e6c8957 | refs/heads/master | 2020-03-16T00:53:56.668165 | 2018-10-28T02:54:28 | 2018-10-28T02:54:28 | 132,428,000 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,354 | cpp | /*
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <algorithm>
using namespace std;
double a, b, c, d, L, R, res[13] = { 0.0 };
double func(double x)
{
return a * pow(x, 3) + b * pow(x, 2) + c * x + d;
}
bool in_range(double x)
{
if (x >= L && x <= R)
return true;
return fa... | [
"joey_liucoder@163.com"
] | joey_liucoder@163.com |
637ca12afa19548582267e618c3af1ade0de6473 | 73b0bed36d14a8fe9b668ce53f8f5c69a94e957a | /include/experimental/fundamental/v3/utility/delete_helpers.hpp | 9ef19eaf7b6d138c93bb8d235243dbbaaefb1a56 | [
"BSL-1.0"
] | permissive | fzylx/std-make | b8adbb2a1d1112396d29486eba7d2753c14f1c5b | b498cd1c9468445781afdd3a9eafad9cb2efb96c | refs/heads/master | 2022-04-12T21:19:30.132226 | 2019-05-06T05:50:07 | 2019-05-06T05:50:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,626 | hpp | // 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)
// (C) Copyright 2018 Vicente J. Botet Escriba
//
// The design of this class follows the design of std::optional as implemented in libc++
#ifndef JASEL_EXPERIMENT... | [
"vicente.botet@wanadoo.fr"
] | vicente.botet@wanadoo.fr |
dbb398429bb96ec299cdc6f1613e9daae85dc505 | 9d7b758dd5815cac3e92123941763439d5948141 | /ControllerApp/Classes/Native/System_System_Collections_Generic_Queue_1_Enumerat3727053928.h | 4d0ef4d077ddc5dab1b50ffdb059d4e43cb6bb5b | [] | no_license | kongriley/TronVR | 083758ec925bfca541376f9f6a250d70b6082208 | 4819148343616a1327f3e5eec7d14d2cfeca7abe | refs/heads/master | 2021-01-19T08:46:30.256678 | 2017-04-08T16:42:03 | 2017-04-08T16:42:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,886 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_ValueType3507792607.h"
// System.Collections.Generic.Queue`1<System.Byte[]>
struct Queue_1_t3216990848;
#ifdef __clang__
#pragma clang diagnostic push
#... | [
"wfrankw9@gmail.com"
] | wfrankw9@gmail.com |
3a933248c681d0800c84e553f0bdef9695fe03bb | 9d364070c646239b2efad7abbab58f4ad602ef7b | /platform/external/chromium_org/net/websockets/websocket_deflate_stream.h | 5185a5b57c4626024c423cda53cb6582c834aa20 | [
"BSD-3-Clause"
] | permissive | denix123/a32_ul | 4ffe304b13c1266b6c7409d790979eb8e3b0379c | b2fd25640704f37d5248da9cc147ed267d4771c2 | refs/heads/master | 2021-01-17T20:21:17.196296 | 2016-08-16T04:30:53 | 2016-08-16T04:30:53 | 65,786,970 | 0 | 2 | null | 2020-03-06T22:00:52 | 2016-08-16T04:15:54 | null | UTF-8 | C++ | false | false | 3,027 | h | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NET_WEBSOCKETS_WEBSOCKET_DEFLATE_STREAM_H_
#define NET_WEBSOCKETS_WEBSOCKET_DEFLATE_STREAM_H_
#include <string>
#include "base/basictypes.h"
#in... | [
"allegrant@mail.ru"
] | allegrant@mail.ru |
9e94dc28bbd0acef707c818534f3da49a180f7ba | ff3ce61334d6d1a65ee1076dd92053111f403ce6 | /DP/CB.cpp | 1ca67367518f1ca59f844d9e800eb1d6045338a9 | [] | no_license | JuntaoLiu01/LeetCode | 0c6053cb3eacb02ed6daa91fd11feaff967c8a2c | 28bdee75301d4edd34f8b9edbdb307f925e02a06 | refs/heads/master | 2020-03-23T14:37:21.557481 | 2020-01-16T07:52:21 | 2020-01-16T07:52:21 | 141,688,172 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 199 | cpp | class Solution {
public:
vector<int> countBits(int num) {
vector<int> res(num+1,0);
for(int i = 0;i <= num;i++)
res[i] = res[i&(i-1)] + 1;
return res;
}
}; | [
"0001000000100100km@gmail.com"
] | 0001000000100100km@gmail.com |
1c97bfc0cee314805ff31ea4fd8e7862fd0367ed | 156ef4934a4bc45b3d7db52be980f8e115c94e42 | /Dasar Pemrograman Deni Romansyah/BAB 7 ARRAY/Array 2 Dimensi.cpp | c889ebc3e5bf6a8e21b3e2a690f8bd09e7568d0a | [] | no_license | DeniRomansyah71/UTS-DASAR-PEMEROGRAMAN | 8d8baa862fc69df017200dd82e34e8931e787890 | 84201ae88ad2897661d36fb995f63b8bb91c8dac | refs/heads/master | 2020-08-31T11:13:18.914274 | 2019-10-31T03:47:05 | 2019-10-31T03:47:05 | 218,677,502 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,205 | cpp | #include <iostream>
using namespace std;
int main()
{
typedef int Matriks [3] [2];
Matriks A, B, C;
int j, k;
//Nilai pada elemen A
cout << "Matriks A : " << endl;
for (j=0; j<3; j++)
{
for (k=0; k<2; k++)
{
cout << "A ["<< j << "] [" << k << "] =... | [
"noreply@github.com"
] | DeniRomansyah71.noreply@github.com |
8eb8af93bac8eef9eacf68b75f990aff8df57002 | fd6057c76abfdb493c1e424848789ba69c464254 | /SphereLabs/WebUpdate.ino | af84cd4eae59882c772ecc7a878f85bb525fca40 | [] | no_license | ksaye/IoTDemonstrations | 24e45b6c34d55d9348e540b3c32d6f5f45327fcf | f0e92721ff8369abb864c22d7020aee4e5ee79c5 | refs/heads/master | 2022-12-11T17:59:49.336732 | 2022-08-22T19:57:49 | 2022-08-22T19:57:49 | 77,700,501 | 22 | 32 | null | 2022-12-08T09:47:30 | 2016-12-30T17:27:39 | Jupyter Notebook | UTF-8 | C++ | false | false | 3,081 | ino | /*
To upload through terminal you can use: curl -F "image=@firmware.bin" esp8266-webupdate.local/update
*/
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
#include <ESP8266mDNS.h>
const char* host = "esp8266-webupdate";
const char* ssid = "IOTDEMO";
const char* password ... | [
"noreply@github.com"
] | ksaye.noreply@github.com |
2bed50d2d0af59e03a35290a07988eeebd086526 | 4e23e367016bd2b87f6e5d4319ba5ebf064248fd | /app/src/main/cpp/ImageRender.cpp | 15b9cdd4f840674ce828044be96f280d4e335311 | [] | no_license | siwangqishiq/ShadeDemo | d861c79d8f2c90dbe083c6fbf1bd24680d432a94 | dc484d11648914e1dd068d9ae45fff56f290c57e | refs/heads/master | 2022-12-25T05:57:46.948940 | 2020-10-09T07:54:53 | 2020-10-09T07:54:53 | 297,545,668 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,217 | cpp | //
// Created by panyi on 2020/10/9.
//
#include "ImageRender.h"
void ImageRender::resize(int width, int height) {
this->init();
glViewport(0 , 0 , width , height);
}
void ImageRender::init() {
this->mProgramId = loadShaderFromAssets("image_vert.glsl","image_frag.glsl");
GLuint bufferIds[2];
gl... | [
"panyi@yixin.im"
] | panyi@yixin.im |
ddec06021fb95e98315b0acbca01dcc7c3452958 | db8efda1b58895ede3741ac8de4ba484d5c90012 | /TMVA/src/Reader.cxx | 67bc85dea9f22d0a1380f4a1762b19451df7969e | [] | no_license | Lana-B/TopTreeAnalysisBase | a51165700a595b79e3cebc2036a9f21f289aa3e0 | c4c2c71fb94da00d08a29208a1945bbb26e32bf7 | refs/heads/CMSSW_53X | 2021-01-15T09:46:45.522118 | 2014-08-07T12:18:07 | 2014-08-07T12:18:07 | 44,381,647 | 0 | 0 | null | 2015-10-16T11:49:30 | 2015-10-16T11:49:30 | null | UTF-8 | C++ | false | false | 20,603 | cxx | // @(#)root/tmva $Id: Reader.cxx,v 1.1.2.1 2012/01/04 18:54:06 caebergs Exp $
// Author: Andreas Hoecker, Joerg Stelzer, Helge Voss
/**********************************************************************************
* Project: TMVA - a Root-integrated toolkit for multivariate data analysis *
* Package: TMVA ... | [
""
] | |
8789ecdafdc3ce2abc375b2d34d0e69f8c01d29f | b6b23a10e97dbdf6f6b5532caa5620862f0513ce | /Libraries/Messaging/ITemperatureListener.h | a9c21f7d63ccd311c5a59cc4b869caeb277ff928 | [] | no_license | kwbbpc/arduino-old-2 | fb77ceef395232222549ea33cbc6835733ec54d0 | 3eeb21ecb27511368023113e69203c21506f90d6 | refs/heads/master | 2020-04-23T05:55:52.737285 | 2019-02-16T03:51:12 | 2019-02-16T03:51:12 | 170,956,662 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 387 | h |
#ifndef ITEMPERATURELISTENER
#define ITEMPERATURELISTENER
#include "temperature.pb.h"
namespace messaging {
namespace temperature {
class ITemperatureListener
{
public:
//Called when there is a temperature message for the sensor. The new message
// is provided as a parameter to the listener
virtua... | [
"k4ls4ydog"
] | k4ls4ydog |
e967956f663016a3338781602b211c0ae652299a | e406266499df6f30487f3d69eed7055b29d686c3 | /ImagePickerImpl.cpp | e4bf8a9c132fe133ad8291c8768ba7b8d1757995 | [] | no_license | zj8487/ImagePicker | 7edc9e870086e167b838e8487968db3a8f321aae | d57cf4b083871c3ca3853a824978e16ac3e4794a | refs/heads/master | 2021-01-18T08:21:20.427552 | 2014-04-14T11:10:58 | 2014-04-14T11:10:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,785 | cpp | #include "cocos2d.h"
#include "ImagePicker.h"
#include "ImagePickerImpl.h"
#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
#include <jni.h>
#include "2d/platform/android/jni/JniHelper.h"
using namespace cocos2d;
extern "C" {
void Java_org_cocos2dx_cpp_Cocos2dxActivity_ImagePickerResult(JNIEnv *env, jobject thiz... | [
"qiankanglai@gmail.com"
] | qiankanglai@gmail.com |
78e402c28825434ab82e7e5230e4c1d4eee72836 | 74474277086d7a54bdf9ba684a4c2b6b39635bcb | /cs320/SecuritySimulator/commands/removecommand.h | 7ab71f8c13ba54c739b0a34de3a9d8b7f5fde7dc | [] | no_license | lemon123456/ksc-archive | c10d2bbfa284fb37b31fcd1d82d5359e5852c2f0 | 487fb9028f416c394d3f54f65bee4f9df64fb7fb | refs/heads/master | 2020-04-07T23:38:04.854866 | 2012-05-04T01:54:59 | 2012-05-04T01:54:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 322 | h | #ifndef REMOVECOMMAND_H
#define REMOVECOMMAND_H
#include "command.h"
class RemoveCommand : public Command
{
Q_OBJECT
public:
explicit RemoveCommand(QStringList args = QStringList(), QObject *parent = 0);
virtual bool execute(Environment &env);
static QString commandName();
};
#endif // REMOVECOMMAND_... | [
"jake.petroules@petroules.com"
] | jake.petroules@petroules.com |
943d5ef68c44396f9cc06f478a582cc6d82171db | b327a374de29f80d9b2b3841db73f3a6a30e5f0d | /out/target/product/generic/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/bindings/V8ProgressEvent.cpp | 295b4129fc15fd2ba194790554a1cbb43e90837b | [] | no_license | nikoltu/aosp | 6409c386ed6d94c15d985dd5be2c522fefea6267 | f99d40c9d13bda30231fb1ac03258b6b6267c496 | refs/heads/master | 2021-01-22T09:26:24.152070 | 2011-09-27T15:10:30 | 2011-09-27T15:10:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,210 | cpp | /*
This file is part of the WebKit open source project.
This file has been generated by generate-bindings.pl. DO NOT MODIFY!
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation... | [
"fred.faust@gmail.com"
] | fred.faust@gmail.com |
7330e40cfbe1c50d15d003223efd011825046da3 | 085f59477009f38844b19e5d077307fcc9954d88 | /branches/for_jym/jtflib/mesh/src/io.cpp | 4f84bc8a8c2e0b4a8b53f49bf632be06019da45a | [] | no_license | senjay/zju_geo_sim_sdk | e58916bde012bf747a5e91d9a1fc99b5f717ac71 | 38edc0ad9fcc5ff8f12f9d13b508c9418c989cb8 | refs/heads/master | 2021-06-07T05:33:39.091411 | 2016-08-19T01:33:47 | 2016-08-19T01:33:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,245 | cpp | #include <iostream>
#include <fstream>
#include <string>
#include <sstream>
#include <set>
#include <vector>
#include <boost/algorithm/string.hpp>
#include <boost/algorithm/string/classification.hpp>
#include "../include/io.h"
using namespace std;
using namespace zjucad::matrix;
namespace jtf{
namespace mesh{
... | [
"jtf198711@gmail.com"
] | jtf198711@gmail.com |
1eefcf8d1713ed65b8448f5f9534952b7db4baba | 10ea3df09ea01576aa30a4ec055695e7b9c012fc | /include/game/components/ItemPicker.hpp | c7da3f04898ff1af90e73e5e22e3f0861a247d32 | [] | no_license | Zylann/Grid | 80e83462fd01c0cb37e9c664a670c2cdad5a09d0 | 75309f75f30ddc00600a732d45dad4ecef6922f4 | refs/heads/master | 2016-09-06T21:25:40.427260 | 2012-06-02T21:28:15 | 2012-06-02T21:28:15 | 3,125,692 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,682 | hpp | /*
Grid
ItemPicker.hpp
Copyright (c) 2011 by Marc Gilleron, <marc.gilleron@free.fr>
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 3 of the License, or (at your option)
any later ver... | [
"zylann_sagas_mp3@hotmail.fr"
] | zylann_sagas_mp3@hotmail.fr |
a31feb13e138f2fdcbd759a1a31ae2547f204e2a | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_repos_basic_block_block_9184.cpp | 31b77162fb2155359e191f8b310034c31e6f79e2 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 146 | cpp | {
RangeEnc_Encode(rc, sum, s->Freq, p->MinContext->SummFreq);
p->FoundState = s;
Ppmd7_Update1(p);
return;
} | [
"993273596@qq.com"
] | 993273596@qq.com |
c153ae604aa8a20659a53c37add0f1004d33e920 | fc9b288c96791f298f27b21ca230209ee6f07fa2 | /geant4/src/MilliQMonopolePhysics.cc | c66ebf231c8e47cabc00b5444521805931bc3a49 | [] | no_license | GBeauregard/milliQan | e00d221dd764169e3295a8a9325c81161bd243ac | 3450aee92318f98abcc3bd0801cea08d69117e46 | refs/heads/master | 2020-03-18T23:58:29.917433 | 2018-10-03T03:25:24 | 2018-10-03T03:25:24 | 135,443,898 | 0 | 2 | null | 2019-03-15T19:46:14 | 2018-05-30T13:05:10 | Mathematica | UTF-8 | C++ | false | false | 6,619 | cc | //
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration... | [
"chaffy@Gabriels-MacBook-Pro.local"
] | chaffy@Gabriels-MacBook-Pro.local |
bf5a538724e4fc6ba63c0d799978f05735dad625 | 3dfee64588074ab456ab7e3baa66c9a04e340a2e | /BasicDataStructures/BT_Traversal.cpp | d265d837ae4fe80a45c1ae435a0d4c516c97ddd4 | [] | no_license | JackyTsai70113/Algorithm_and_Data_Structure | c81348ef30162016359cedf23b66d45fd50af328 | efb8fc0a597d5e4884ae84f28ba9ba8ab1187846 | refs/heads/master | 2021-10-24T18:20:30.060242 | 2019-03-27T10:22:45 | 2019-03-27T10:22:45 | 177,744,249 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,345 | cpp | #include <iostream>
#include <string>
#include <queue>
class BinaryTree;
class TreeNode{
public:
TreeNode *leftchild;
TreeNode *rightchild;
TreeNode *parent;
std::string str;
TreeNode():leftchild(0), rightchild(0), parent(0), str(""){};
TreeNode(std::string s):leftchild(0), rightchild(0), pare... | [
"j70113jacky@yahoo.com.tw"
] | j70113jacky@yahoo.com.tw |
1d16eb4329c15eb4c51ca7ff12f42111a96139eb | 69ce50a6b76f831d4b948bcd3308385c075c7888 | /PaperEngineFull/PaperEngine/Scene/SceneNode.h | 83780b7a0dad06a2dcc25f5913802d3006acd53c | [] | no_license | WindyPaper/Paper | 834fca671630300643d613335b24d69ccd238589 | dbe15de8ea44bd700f55f65a0f25e3a186ec7e67 | refs/heads/master | 2021-01-15T09:57:49.594716 | 2016-09-05T00:46:29 | 2016-09-05T00:46:29 | 22,540,627 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 671 | h | #ifndef _SCENE_NODE_H_
#define _SCENE_NODE_H_
#include <map>
#include <string>
#include "Scene/Node.h"
#include "GameObject/MovableObject.h"
class Entity;
class SceneNode : public Node
{
public:
SceneNode(const std::string &name);
~SceneNode();
SceneNode *createChildSceneNode(const std::string &name);
MovableO... | [
"windy_max@163.com"
] | windy_max@163.com |
e471b9c122ad4cfb737b01ccd8c153f146b50f7c | e8b73016e76dd43ae9fbefd0359c9757a0f30551 | /main.cpp | fc5e943726765508cb91317d73f49add06c14b60 | [] | no_license | evgeniidatsiuk/OpenGL | 0062802c6c6926f400ed07a5cdeec80b30aa5ce7 | c3f8517418269a8e62fea9cac052ef659cad2029 | refs/heads/master | 2022-04-06T12:56:09.863943 | 2019-12-14T16:19:07 | 2019-12-14T16:19:07 | 207,520,324 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,351 | cpp | #include <iostream>
#include <stdio.h>
#include <string.h>
#include <cmath>
#include <vector>
#include <GL/glut.h>
#define ILUT_USE_OPENGL
#include <IL/il.h>
#include <IL/ilut.h>
#include <IL/ilu.h>
using namespace std;
GLuint cubicTex, ballText, bumTex, playerTex;
float plane_s[] = {1.0,0.0,0.0,0.0};
float plane_... | [
"evgenii.datsiuk@gmail.com"
] | evgenii.datsiuk@gmail.com |
29aa471587fe1ecf81ddd1da1cae134f8f991eda | 019a93c2b5d6c690fd2e177ec717f921797a5a2d | /Physically Based Shading/Particle.h | 02d3a22007f4866f4771761a82eaa08c097198f7 | [] | no_license | WladWD/OpenGL_Engine | d68275d0ee25af8bcbde1a2eed78d2ae2844b7a5 | 2d584259bfc12914eec14fca22b3fe8386878525 | refs/heads/master | 2022-03-16T14:25:06.321225 | 2022-02-21T14:44:30 | 2022-02-21T14:44:30 | 173,384,808 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 528 | h | #define GLEW_STATIC
#include <glew.h>
#include <Windows.h>
#include <stdint.h>
#include <glm/vec3.hpp> // glm::vec3
#include <glm/vec4.hpp> // glm::vec4
#include <glm/mat4x4.hpp> // glm::mat4
#include <glm/gtc/matrix_transform.hpp> // glm::translate, glm::rotate, glm::scale, glm::perspective
#include <glm/gtc/type_ptr... | [
"vladick.d2014@yandex.ru"
] | vladick.d2014@yandex.ru |
b6f3d31559633861918fbea185346d3ae7c05777 | fe561727a6b4337965c046019a2d412ef178540d | /yathe/doc/the_reference.cxx | 5f5060b11c4571e17e093f461375e60e12c1fe74 | [] | no_license | pkoshevoy/aeyae | 7a22eeac3afe58326b613233eb3df0abd11b1d67 | f7e0d23c85bed7f223c1b7fe9e0a3d52eab88d67 | refs/heads/master | 2023-08-31T00:41:59.258498 | 2023-08-19T18:28:33 | 2023-08-19T18:28:33 | 40,034,857 | 16 | 6 | null | 2018-05-16T03:39:13 | 2015-08-01T04:10:12 | C++ | UTF-8 | C++ | false | false | 1,162 | cxx | // -*- Mode: c++; tab-width: 8; c-basic-offset: 2; indent-tabs-mode: nil -*-
// NOTE: the first line of this file sets up source code indentation rules
// for Emacs; it is also a hint to anyone modifying this file.
// File : the_reference.cxx
// Author : Pavel Aleksandrovich Koshevoy
// Created : Mo... | [
"pkoshevoy@gmail.com"
] | pkoshevoy@gmail.com |
cef60c489223b565672b8d9b5d2e718e0d053e3b | 80b603105a7d31b72a3f6e77f782a4ddd61a964d | /stringmatching/stringmatching.cpp | 8c16e66e95a075d40c484f5432360cf6e418aba5 | [] | no_license | offamitkumar/Kattis | c5db3133525881f95bb32bd89b3638092880c481 | 65abc089fd4c13442dd8b0c2f2d0955533e67fa2 | refs/heads/master | 2022-11-12T11:23:45.275312 | 2020-07-05T11:40:38 | 2020-07-05T11:40:38 | 261,163,675 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,352 | cpp | // Author : Amit Kumar
#include <iostream>
#include <algorithm>
#include <string>
#include <sstream>
#include <fstream>
#include <iomanip>
#include <chrono>
#include <numeric>
#include <utility>
#include <functional>
#include <bitset>
#include <tuple>
#include <queue>
#include <stack>
#include <vector>
#includ... | [
"offamitkumar@gmail.com"
] | offamitkumar@gmail.com |
a7c534c87991dfba131a8ec5d3e2e3b1c6d88d8f | bd498cbbb28e33370298a84b693f93a3058d3138 | /Fujitsu/benchmarks/resnet/implementations/implementation_open/mxnet/3rdparty/mkldnn/src/common/scratchpad.cpp | 9fd4842c8d3d4154f12ddf3fb08182185896c574 | [
"Apache-2.0",
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"Zlib",
"BSD-2-Clause-Views",
"NCSA",
"OFL-1.0",
"Unlicense",
"BSL-1.0",
"BSD-2-Clause",
"MIT",
"Intel"
] | permissive | piyushghai/training_results_v0.7 | afb303446e75e3e9789b0f6c40ce330b6b83a70c | e017c9359f66e2d814c6990d1ffa56654a73f5b0 | refs/heads/master | 2022-12-19T16:50:17.372320 | 2020-09-24T01:02:00 | 2020-09-24T18:01:01 | 298,127,245 | 0 | 1 | Apache-2.0 | 2020-09-24T00:27:21 | 2020-09-24T00:27:21 | null | UTF-8 | C++ | false | false | 2,822 | cpp | /*******************************************************************************
* Copyright 2017-2018 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://www.apa... | [
"vbittorf@google.com"
] | vbittorf@google.com |
add12d6feaba6800b22750f4cc1731fd0ac97840 | bbbdc3c1ae091ae287deacea177c5f8b9243738d | /src/passes/Vacuum.cpp | f9aba70518df5adc4193eb3c4724eb502fb4647f | [
"Apache-2.0"
] | permissive | BSalita/binaryen | 275e545d7cc97ddfeee3bb381efcfbbf3e8760b8 | e681a49e9e8fe4d0b0c639c035e64ef141493a52 | refs/heads/master | 2020-12-06T23:29:43.668963 | 2016-05-23T11:44:59 | 2016-05-23T11:44:59 | 57,452,325 | 0 | 0 | null | 2016-04-30T16:48:12 | 2016-04-30T16:48:12 | null | UTF-8 | C++ | false | false | 2,438 | cpp | /*
* Copyright 2016 WebAssembly Community Group participants
*
* 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... | [
"alonzakai@gmail.com"
] | alonzakai@gmail.com |
3863a46cee2698530aef6abc518687d2b40fdd0e | 501ad28cd73e1a5ac4af8724c45eade2eb2ef90f | /class.h | 64f0a04b7a2cedeb9c3229728375c01ec3c30b7d | [] | no_license | Enjoiable/Final-Csci-Project | 6114488dea5307115ec10ec1cbe6b3b80c145bc4 | 90c1432fe79abfddfa5786b81dc9752e28e24f3c | refs/heads/master | 2021-01-20T12:50:36.000535 | 2017-05-05T20:38:07 | 2017-05-05T20:38:07 | 90,417,448 | 0 | 0 | null | 2017-05-05T21:23:55 | 2017-05-05T21:23:55 | null | UTF-8 | C++ | false | false | 4,203 | h | #include <vector>
#include <deque>
#include <inttypes.h>
using namespace std;
typedef int int32_t;
enum Opcode{PLUS = '+', MINUS = '-', MULTIPLY = '*', DIVIDE = '/', EXPONENT = '^', MODULUS = '%'}; //consts for switch statement
enum Exceptions{VAROVERFLOW, VARTOOLARGE, VARNOTSET, VARALREADYSET, BADINPUT, BADMATH, IN... | [
"zap911@msn.com"
] | zap911@msn.com |
29aadb7aa80816e74c1634ec39b6c8d4857a880b | 3f9a38f655ab9ac80899d704ab9e040a8e510750 | /Source/Drummer.h | 571df1a1880b25c5a714b37072085e648a3fb0ad | [] | no_license | prateek64/MIDI_audio_plugin | b28d44c985f4dcb3729f45062b8979dab26a746e | 0f79682e184e632076068b1435ae82002c675bf5 | refs/heads/master | 2021-01-12T14:45:55.899158 | 2016-10-27T08:02:19 | 2016-10-27T08:02:19 | 72,080,653 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,534 | h | #ifndef STK_DRUMMER_H
#define STK_DRUMMER_H
#include "Instrmnt.h"
#include "FileWvIn.h"
#include "OnePole.h"
namespace stk {
/***************************************************/
/*! \class Drummer
\brief STK drum sample player class.
This class implements a drum sampling
synthesizer using WvIn objects ... | [
"prateekmurgai64@gmail.com"
] | prateekmurgai64@gmail.com |
9e5f9b7a15564bcc2af32634447c0f9486733c56 | 0f017978eed7912d1604439bc0c4a6cca8309513 | /rtype/src/Server/Room/RoomManager.hpp | 582f19a5fc0cceba5614debb006a6a1fc8fdbdf5 | [] | no_license | Forstulen/projects | 25d05b3852b85627e3175a90325aeba46e6b3a70 | 4fff027cb530585c3d92c1cbc91273e77d78af6d | refs/heads/master | 2021-01-02T22:18:53.286988 | 2019-01-09T20:55:13 | 2019-01-09T20:55:13 | 13,424,807 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,303 | hpp | #ifndef ROOMMANAGER_HPP
#define ROOMMANAGER_HPP
#include <string>
#include <map>
#include <list>
#include "Player.hpp"
#include "Packet.hpp"
#include "Room.hpp"
namespace Room
{
class RoomManager
{
private:
typedef std::map<std::string const, Room *> tRoomContainer;
typedef std::list<Game::P... | [
"Forstulen@forstulen.gateway.2wire.net"
] | Forstulen@forstulen.gateway.2wire.net |
65a0b06a91bdb2c4e26a03fca85cdd831e716651 | 4caa5f443e89697ecda42449e1a4865e9f975501 | /hackerrank/challenges/Mathematics/Fundamentals/c++/minimum_draws.cpp | ae1142e7e297b5f51bb9ed63d46e165d8e62a76b | [] | no_license | kdar/challenges | 5ece84df838e1aa4e50df8c078971c5f51ce3f06 | 6c07b20cada9bc7c542a9751ccca6ea87693fec0 | refs/heads/master | 2021-01-21T13:52:55.508948 | 2016-05-06T22:31:20 | 2016-05-06T22:31:20 | 44,148,975 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 255 | cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int main() {
int T;
cin >> T;
while (T-- > 0) {
int N;
cin >> N;
cout << N+1 << endl;
}
return 0;
}
| [
"kevin@outroot.com"
] | kevin@outroot.com |
1ab6dea8fd603346e14b40c71a73086b628660b5 | 19b4aea6c829b272ae29692ccc51f9ab8dcf573f | /src/winrt/impl/Windows.ApplicationModel.Contacts.0.h | e9c8c2b87f346fb7827c16de68d3e9133c34b2d1 | [
"MIT"
] | permissive | liquidboy/X | 9665573b6e30dff8912ab64a8daf08f9f3176628 | bf94a0af4dd06ab6c66027afdcda88eda0b4ae47 | refs/heads/master | 2022-12-10T17:41:15.490231 | 2021-12-07T01:31:38 | 2021-12-07T01:31:38 | 51,222,325 | 29 | 9 | null | 2021-08-04T21:30:44 | 2016-02-06T21:16:04 | C++ | UTF-8 | C++ | false | false | 185,479 | h | // C++/WinRT v1.0.170906.1
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.
#pragma once
WINRT_EXPORT namespace winrt::Windows::Data::Text {
struct TextSegment;
}
WINRT_EXPORT namespace winrt::Windows::Foundation {
struct Deferral;
struct Uri;
}
WINRT_EXPORT namespace winrt::Windows::Foundatio... | [
"fajardo_jf@hotmail.com"
] | fajardo_jf@hotmail.com |
5916da319a5b15173185aa3c8c8770c0236855b5 | 43f7c0a559ce4786464c7c7b1ed6fd5299efbe9b | /main.cpp | 17b48e9c3cdfa46f5ed3b58373e4d3366f240066 | [] | no_license | km93120/knapsack-problem | d049fa43a409a4d91ed495a81f9314642e5cf2fb | a9413244cea7823a2cfe02297a37879f1712fcf3 | refs/heads/master | 2020-04-16T00:41:41.020599 | 2019-01-10T23:52:28 | 2019-01-10T23:52:28 | 165,148,159 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 797 | cpp | #include <QCoreApplication>
#include <iostream>
#include "node.h"
#include "header.h"
#include "algorithm.h"
using namespace std;
int main(int argc, char *argv[])
{
/* QVector<pair<int,int>> valueWeightsPairs;
pair <int,int> p1,p2,p3,p4;
//value-weight pairs
p1 = make_pair(1,1);
p2 = make_pair(4,3... | [
"madadiatman@gmail.com"
] | madadiatman@gmail.com |
a3032fc0975ef86f90cc1b464a12eac8e8bc23f6 | 99466d9132f7cf3ee53f54f1c3fe5a2848f1942e | /016.cpp | ad2c1f87df023608f6c581cd07b762ed2a550899 | [] | no_license | Hyukli/leetcode | e71604126712ad801dd27c387099999085f055d3 | 3444f0a92ee4edc7607ee8afab760c756a89df7f | refs/heads/master | 2021-06-05T14:14:58.792020 | 2020-03-31T13:40:58 | 2020-03-31T13:40:58 | 93,115,710 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,224 | cpp | #include<iostream>
#include<vector>
#include<algorithm>
using namespace std;
class Solution {
public:
int threeSumClosest(vector<int>& nums, int target) {
int n=nums.size();
int sum;
if(n<3)
{
sum=0;
for(auto m:nums) sum+=m;
return sum;
... | [
"1280096748@qq.com"
] | 1280096748@qq.com |
c3691eb74a0712b928024ace01fc9fb08b4ac233 | 32a6ac6cbec63296ba68838ad4699b995810c6cd | /compiled/cpp_stl_11/expr_2.cpp | e63b7bba4088c7c26b33783ed34cd5a7a0eb0c43 | [
"MIT"
] | permissive | smarek/ci_targets | a33696ddaa97daa77c0aecbdfb20c67546c729bc | c5edee7b0901fd8e7f75f85245ea4209b38e0cb3 | refs/heads/master | 2022-12-01T22:54:38.478115 | 2020-08-10T13:36:36 | 2020-08-19T07:12:14 | 286,483,420 | 0 | 0 | MIT | 2020-08-10T13:30:22 | 2020-08-10T13:30:21 | null | UTF-8 | C++ | false | false | 4,287 | cpp | // This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild
#include "expr_2.h"
expr_2_t::expr_2_t(kaitai::kstream* p__io, kaitai::kstruct* p__parent, expr_2_t* p__root) : kaitai::kstruct(p__io) {
m__parent = p__parent;
m__root = this;
m_str1 = nullptr;
m_str2 =... | [
"kaitai-bot@kaitai.io"
] | kaitai-bot@kaitai.io |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.