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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
77774e94cce77f5a218a646f86d9f279d47af9e5 | f92396fa3b01a0ae2450abba856a8e3c586972ff | /project/llvm/llvm/Linker/IRMover.h | 2a187cbc42f5a8bf373c2677604574cffcf9bf27 | [
"MIT"
] | permissive | derrickgreenspan/LLAMA | e3ad9d8f9b595e844b766d79877434447a590367 | c00e0f1fbaa70c9b241bfcf33729e626002dc146 | refs/heads/master | 2023-04-06T10:31:06.708020 | 2023-04-04T00:09:11 | 2023-04-04T00:09:11 | 200,301,975 | 4 | 1 | MIT | 2019-10-03T16:57:52 | 2019-08-02T21:52:01 | C++ | UTF-8 | C++ | false | false | 3,319 | h | //===- IRMover.h ------------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"derrick.greenspan@knights.ucf.edu"
] | derrick.greenspan@knights.ucf.edu |
1ca4517f050cf901a0702c124555757971b1ad4d | 1a77b5eac40055032b72e27e720ac5d43451bbd6 | /VisualC++/Chap2/Dr12/Dr12/stdafx.cpp | 7d531ac66b756c5c9aad6d7b456f883b9806b76f | [] | no_license | motonobu-t/algorithm | 8c8d360ebb982a0262069bb968022fe79f2c84c2 | ca7b29d53860eb06a357eb268f44f47ec9cb63f7 | refs/heads/master | 2021-01-22T21:38:34.195001 | 2017-05-15T12:00:51 | 2017-05-15T12:01:00 | 85,451,237 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 371 | cpp | // stdafx.cpp : 標準インクルード Dr12.pch のみを
// 含むソース ファイルは、プリコンパイル済みヘッダーになります。
// stdafx.obj にはプリコンパイル済み型情報が含まれます。
#include "stdafx.h"
// TODO: このファイルではなく、STDAFX.H で必要な
// 追加ヘッダーを参照してください。
| [
"rx_78_bd@yahoo.co.jp"
] | rx_78_bd@yahoo.co.jp |
f7c065e2d7b651d4c00dda9fdbdd718730fd9aef | 8c054676b8e433092f350961415f69586b9e5724 | /processModel.h | 266e80aaf65cf0abc10cb6782fa95e97416fa99e | [] | no_license | crag-h4k/Round-Robin-Dynamic-Sequence-CPP | 6205518602a630518d4fee31ba43233878549c4e | ea61a5dec56bd17c5f62e0fb97dc1fe9f9af2667 | refs/heads/master | 2021-09-03T04:42:07.132794 | 2018-01-05T16:57:10 | 2018-01-05T16:57:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 664 | h | #include <stdio.h>
#include <stdlib.h>
#include <time.h>
using namespace std;
class proces{
private:
//have to set random number see here
srand (time(NULL));
//
int getPid(int max){
int pid = 0
for (i = 1; i >= max; i++){
... | [
"danemorgan91@gmail.com"
] | danemorgan91@gmail.com |
b65e665535367c308f46c5de1184823509a52218 | 2f963bca8b440d23edfc9a46c31fdeab65aa15a0 | /third_party/SimpleBLE/simpleble/include/simpleble/Descriptor.h | 5fd1cff20d261b4f6aad5feb5081f235958b151f | [
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | OpenBCI/OpenBCI_GUI_Helpers | 1fa52e150fa1a49480b8c08b342a7e7bc797010a | dd608e9635971c96f14f923a940d277ef7a979f7 | refs/heads/master | 2023-08-31T15:01:03.661902 | 2023-03-13T23:20:24 | 2023-03-13T23:20:24 | 238,425,587 | 4 | 6 | MIT | 2023-08-21T21:38:53 | 2020-02-05T10:38:45 | C | UTF-8 | C++ | false | false | 403 | h | #pragma once
#include <memory>
#include <simpleble/export.h>
#include <simpleble/Exceptions.h>
#include <simpleble/Types.h>
namespace SimpleBLE {
class DescriptorBase;
class SIMPLEBLE_EXPORT Descriptor {
public:
Descriptor() = default;
virtual ~Descriptor() = default;
BluetoothUUID uuid();
prote... | [
"noreply@github.com"
] | OpenBCI.noreply@github.com |
adb2e89bb77b65dadedf45112237dfb8d03f5623 | 68a71373ef91377734a54b8b293bf1b58598ad6d | /tugas 5 part 2/REKAM.cpp | 07cf43de4e518509d624e395545ddd10ef6e1e4f | [] | no_license | andiladenshamil/algoritma-dan-pemrograman2 | 55daa232f77fa1498d809150526ac438fdbaa989 | c0fd76e2e01123bb446815849d81aef99a6025ba | refs/heads/master | 2022-11-11T09:53:50.558725 | 2020-06-26T17:07:01 | 2020-06-26T17:07:01 | 275,197,262 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 292 | cpp | #include <iostream>
#include <fstream>
using namespace std;
//Membuat File
int main()
{
ofstream mhsFile;
mhsFile.open("datamhs.txt");
mhsFile << "ANDI LADEN SHAMIL\n\n";
mhsFile << "A3\n\n";
mhsFile << "13020190153\n\n";
mhsFile.close();
}
| [
"noreply@github.com"
] | andiladenshamil.noreply@github.com |
9454087b4695e27ce9beb1d4104eb5eab6493ca9 | dbab306ea48bdd69cb7e8cf48a9197ae99f04a13 | /T3Engine/entity/character/skill/shootlaser.cpp | a927ed24b814f9b988ae2a557ee2f52a3e381432 | [] | no_license | GPUWorks/T3project | 77a6c5c9ec813ba7e662bca63ef9699e40f28984 | afffba77ef7c988a6d2ec62c7ce81e0fa1082988 | refs/heads/master | 2020-12-14T07:28:19.093276 | 2016-04-11T11:13:23 | 2016-04-11T11:13:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,370 | cpp | #include "shootlaser.h"
#include"bulletmanager.h"
#include"scene.h"
#include"character.h"
ShootLaser::ShootLaser(Character* e)
:Skill(e)
{
laserName="laser";
laser=NULL;
}
void ShootLaser::start()
{
Skill::start();
if(!laser)
{
laser=BulletManager::instance()->getBullet(laserName);
... | [
"qwertylevel3@126.com"
] | qwertylevel3@126.com |
afef6a4b05d9ce6c0847b644cf11a6d097fb370e | 3423eae27a6120181b8be2f13ec3964a79862582 | /code/03_graph/搜索/poj 1321 状压dp.cpp | dcbaa29e5e90ead05f1346b70546a00afa92a4cf | [] | no_license | mazicwong/ACM_code | 610b3e8a3b42227dca81bba12c3885080d7dad9e | b4e774e8fb2087c89c607688600318a7ee6d4571 | refs/heads/master | 2023-04-03T11:04:40.590242 | 2021-04-09T10:35:23 | 2021-04-09T10:35:23 | 82,206,980 | 51 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,782 | cpp | /*************************************************************************
> File Name: poj 1321 状压dp.cpp
> Author: mazicwong
> Mail: mazicwong@gmail.com
> Created Time: 2017年07月17日 星期一 11时21分28秒
************************************************************************/
#include <iostream>
#include <cstdio>
#inclu... | [
"mazicwong@gmail.com"
] | mazicwong@gmail.com |
097009ca99f31c1394b66f80da25a49454dfebd6 | 11f15450a21c30b2557ea1ceb8b268988c85f23e | /src/STLRender.cpp | 104792716c37e1918c9f17b9bcde975598dd133e | [
"MIT"
] | permissive | wzx140/Tube_connect | c06a9756be0a924813cfdb0a099b4c95c3bdafea | b5e7d204b076779f7698765d4127747aa2568b52 | refs/heads/master | 2020-04-09T12:37:19.749725 | 2019-07-20T02:33:42 | 2019-07-20T02:34:12 | 160,357,537 | 0 | 0 | MIT | 2019-03-04T06:03:42 | 2018-12-04T12:56:43 | C++ | UTF-8 | C++ | false | false | 4,722 | cpp | //
// Created by wzx on 18-11-21.
//
#include "../include/STLRender.h"
#include <vtkSTLReader.h>
#include <vtkPolyDataMapper.h>
#include <vtkAxesActor.h>
#include <vtkProperty.h>
#include <vtkPolyDataConnectivityFilter.h>
#include <vtkAppendPolyData.h>
#include <vtkSTLWriter.h>
#include <vtkCamera.h>
using std::stri... | [
"masterwangzx@gmail.com"
] | masterwangzx@gmail.com |
bf9b7fc8596d71a9126fecbfbe6c974700909ad9 | c935886a521f76fe936b3323f16be43700b71fe4 | /src/mem/protocol/MaskPredictorType.hh | 0255a1004bd2258e11f27cbbba66f44f91b4a006 | [] | no_license | oliverxyy/gem5-source-code-learning | 4dc9c81d08ff29b557570aeb72654f4d8a8fe47e | 6438cf07bd86942d0ed118035d398de254dac412 | refs/heads/master | 2020-04-06T06:56:18.547114 | 2016-09-06T07:22:49 | 2016-09-06T07:22:49 | 65,285,514 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,001 | hh | /** \file MaskPredictorType.hh
*
* Auto generated C++ code started by /home/oliverxyy/program/gem5-stable/src/mem/slicc/symbols/Type.py:454
*/
#ifndef __MaskPredictorType_HH__
#define __MaskPredictorType_HH__
#include <iostream>
#include <string>
// Class definition
/** \enum MaskPredictorType
* \brief ...
*/... | [
"oliverxyy@gmail.com"
] | oliverxyy@gmail.com |
b1784d13f7d1c24f7fdb30b7747c76fe9d808d92 | df689da61dc21d79fca81254d2e8878278cc5443 | /AxCrypt2Go/stdafx.cpp | f4d5aab61d8bcfc9cd853e2bdbe1efdffda2e0b4 | [] | no_license | mirsys/xecrets-file | f01fc60eda4c55cc3b1eabc319aeb47f94abdb13 | f0496fd2b490ae2817c1e3089f6e5f7036f2a87e | refs/heads/master | 2022-11-11T11:10:42.571622 | 2020-07-08T18:54:38 | 2020-07-08T18:54:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 297 | cpp | // stdafx.cpp : source file that includes just the standard includes
// AxCrypt2Go.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"svante@axantum.com"
] | svante@axantum.com |
b031369afc9cad7f2740a26ea3e7d657a5808d0e | 00fc02f4de64435e6721e5b2582536374006c2a4 | /uva 10507.cpp | 70307aae71ac3d1ec8d76e1f34db208074a17d37 | [] | no_license | sakhawat-sifat/UVA-solutions | a0f2c91b7182a4751ff45640829d05154997d91e | f70c0a987766504155945a8ab449708ed2f5420e | refs/heads/master | 2023-05-04T13:18:03.692475 | 2017-07-22T01:41:38 | 2017-07-22T01:41:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,495 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int n,m,i,j;
while(cin>>n){
cin>>m;
char a,b,c;
cin>>a>>b>>c;
vector<int>adj[131];
set<int>awake;
int ara[131]; for(i=1;i<=130;i++) ara[i]=0;
awake.insert(a); awake.insert(b); awake.insert(c);
ara[a]=ara... | [
"noreply@github.com"
] | sakhawat-sifat.noreply@github.com |
fe09639c1bb04daa10e91205f7caae2601143234 | a38a8de5e5507747949b9d3f63c80f3cef7afdc7 | /renderer/cpu/Shader.h | 6728d7af67dda84d109324624fbd5b5508de9df0 | [
"MIT"
] | permissive | skyostil/kajo | a572818f9c202bb7b57b3b238ec52619aa042a68 | 39586e602a6c8949f7f755dabb6f3edc35108ec6 | refs/heads/master | 2020-05-18T16:41:35.978984 | 2014-05-15T21:37:29 | 2014-05-15T21:37:29 | 19,796,986 | 8 | 2 | null | 2015-02-06T12:06:07 | 2014-05-14T21:33:34 | C++ | UTF-8 | C++ | false | false | 1,209 | h | // Copyright (C) 2012 Sami Kyöstilä
#ifndef CPU_SHADER_H
#define CPU_SHADER_H
#include "Scene.h"
#include "Random.h"
#include "Ray.h"
#include <glm/glm.hpp>
#include <memory>
#include <vector>
namespace cpu
{
class Material;
class Sphere;
class Plane;
class PointLight;
class Scene;
class BSDF;
class Random;
class R... | [
"sami.kyostila@unrealvoodoo.org"
] | sami.kyostila@unrealvoodoo.org |
96eb4443ce29ee7f968b72c0910877889d289d5e | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE427_Uncontrolled_Search_Path_Element/CWE427_Uncontrolled_Search_Path_Element__char_listen_socket_72a.cpp | 73b84a63e83ae120d02947f810f5a9b6c49f04d0 | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 5,778 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE427_Uncontrolled_Search_Path_Element__char_listen_socket_72a.cpp
Label Definition File: CWE427_Uncontrolled_Search_Path_Element.label.xml
Template File: sources-sink-72a.tmpl.cpp
*/
/*
* @description
* CWE: 427 Uncontrolled Search Path Element
* BadSource: lis... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
255b88cafdfe1160a9ceff397fb47c3fd80fcb1e | e274ecc01c1828a796fc727426419809431a8896 | /videoplayer/src/main/cpp/librenderer/rgba_frame.h | d5e31cca12c21d61798547f2789da1f3b6490cac | [] | no_license | LymanYe/FFmpeg | 39cc528d45e08fbf1caf33fc34c43672175236ba | c7a310a35506f89766804c92d9ed8bc8244dd938 | refs/heads/master | 2020-03-22T05:09:00.478217 | 2018-08-10T06:41:21 | 2018-08-10T06:41:21 | 139,545,546 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 258 | h | #ifndef RGBA_FRAME_H
#define RGBA_FRAME_H
#include "./../libcommon/CommonTools.h"
class RGBAImgaeFrame {
public:
float position;
float duration;
uint8_t * pixels;
int width;
int height;
RGBAImgaeFrame();
~RGBAImgaeFrame();
};
#endif //RGBA_FRAME_H
| [
"lymanye@gmail.com"
] | lymanye@gmail.com |
90e1dbe89782819cb763111f65d957baab36be78 | 3ad39bda097a24005c965693625731a85078ad61 | /surfacemesh/surfacemesh/algorithm/FilpNormals.cpp | 8c153fb1652bd60852fabc745c099db01c322025 | [] | no_license | CyberSys/LydiaLab | 96c203e8df9f219f9071b821a16f0acb9f4dc152 | 3e3b85cf55fd8ec1c3fd74a79854e097b8dace37 | refs/heads/master | 2023-02-16T21:44:59.759291 | 2021-01-11T06:36:57 | 2021-01-11T06:36:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,813 | cpp | #include "FilpNormals.h"
using SurfaceMesh::Vertex;
/**
* @brief filpNormals
* 翻转面片
* @param model
*/
void filpNormals(SurfaceMesh::SurfaceMeshModel *model)
{
/// 翻转面法向量
SurfaceMesh::SurfaceMeshModel* tmp = new SurfaceMesh::SurfaceMeshModel();
Surface_mesh::Vertex_property<Surface_mesh::Point> vpoints... | [
"mcoder2014@sina.com"
] | mcoder2014@sina.com |
0de27739cc36b327acfd633adc718fd2bb68d18f | b123ae84991b346dc94477ed8ff0cf4e31149faf | /clients/vmime/libvmime-0.9.1/src/platforms/posix/posixChildProcess.cpp | dfadb094f462263d904dcfb0189f7662242f9d2d | [] | no_license | darknebuli/darknebuli-EMAIL | c92ee49c36476f710f3b1399298a5a6a3b76ba9f | decb35fd069de9430fba7f0a1d28cf4e954521af | refs/heads/master | 2020-05-18T13:25:00.577314 | 2012-04-30T21:05:12 | 2012-04-30T21:05:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,945 | cpp | U2FsdGVkX19VaWJjbk95a7zJHIhb5eI5pUJ1qe4XD+MeqNOa7BzL0b1Lrm5vm28K
LdVJP2ytFsSBx+gBGpcT7jmWyN655qzSwW005vldE+Lz1rjbraYD+fM/wt2A282L
HQHOlwIcG4cN1AJ4UKLiVpSWSCl+LoOP7jG++V6osOREUaoIUf06N60EcBBS7m/H
WtQV8a5Czga6PxYCagUKEoPYMo3T9OlDTqDMj8d0cOog27Ph6svCEFj3pWEZM5J6
T50GUT/Flcu9dPiTydT55OmxGU8Dzt0Xc5VuKPR5xzBDOXyPRi3+Ka68Zqgr... | [
"charles@rhizometric.com"
] | charles@rhizometric.com |
d8947017ef93754cf41d1d43d8f66a461e1ed48f | e830f88237261cc648def0a880172e8155c8d8b1 | /1_basics/casting/casting.cpp | 0dee4e4b753dec5237aef0fe235b9a9ea48862e1 | [] | no_license | leihuagh/cpp_for_programmers | bd1f3227fa8ae9953864a241b6afaff89d95a1d4 | 17611b84b5193a3c26c36429f5e5c022ff54cafb | refs/heads/master | 2020-04-15T04:42:53.645109 | 2018-12-26T06:43:53 | 2018-12-26T06:43:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 612 | cpp | #include <iostream>
using namespace std;
int main()
{
// Declare some variables
double my_double = 5.25;
int my_int = 3;
cout << "my_double = " << my_double << endl;
cout << "size in bytes = " << sizeof(my_double) << endl;
cout << "my_double casted to an int = " <... | [
"tyler.lewis.udacity@gmail.com"
] | tyler.lewis.udacity@gmail.com |
68ff9d8b016734155c8c3c443ace98c08f6d4484 | 160dc51955968e969ffa0e15d4ba52f12b80532c | /objc4-756.2/编译素材/xnu-4903.241.1/libkern/c++/OSData.cpp | e37bb128b00aca9f91d55a7a295866b640878d4f | [
"APSL-2.0",
"MIT"
] | permissive | jayhe/objc4_debug | f7661995cff6278468378da4536c0cf3fc44650d | e6023c9bcaac7888950fa4b36d6260e5b313dc72 | refs/heads/master | 2021-03-18T01:12:44.941356 | 2021-01-30T03:39:15 | 2021-01-30T03:39:15 | 247,033,924 | 1 | 0 | MIT | 2020-03-13T09:29:22 | 2020-03-13T09:29:21 | null | UTF-8 | C++ | false | false | 13,090 | cpp | /*
* Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this fi... | [
"cooci_tz@163.com"
] | cooci_tz@163.com |
744f3bdd5d70b40f68537ae6f31c7df6452b7177 | 1a733351a16a98a6552b47f49c05b520c368309a | /src/asynctcpsocket.cc | 27382bf9ad13d7514613fcbb4d44c45f3922e08e | [
"BSD-3-Clause"
] | permissive | rpavlik/txmpp | c1c890df49e28dbccbfc179d56387d82d58f309d | 7936152352445edbda5dddf3a1b416b9e5eb048a | refs/heads/master | 2021-01-19T21:29:23.846137 | 2010-08-24T15:32:13 | 2010-08-24T15:32:13 | 859,231 | 9 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,384 | cc | /*
* libjingle
* Copyright 2004--2005, Google Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions a... | [
"silas@sewell.ch"
] | silas@sewell.ch |
32cfdb4f88c45521d829a697956eba043ba5ec66 | f4656f4122ee254d97af5964e5d59ed89de864d1 | /src/sync.cpp | e6c076dcef0f25ac0c9655dbbe99b5e1ff35891f | [
"MIT"
] | permissive | joynicoferna/carpinchocoin | fb5c96673e75df48e356306c6cd3262cfa8f2f67 | 987284642d94e26c2b3b884c14846068d124a24a | refs/heads/main | 2023-07-12T09:09:39.159721 | 2021-08-27T00:20:20 | 2021-08-27T00:20:20 | 399,310,019 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,251 | cpp | // Copyright (c) 2011-2020 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/carpincho-config.h>
#endif
#include <sync.h>
#include <logging.h>
#include <tin... | [
"leonelbellier@gmail.com"
] | leonelbellier@gmail.com |
e8c9008a6f28cf3dd77461d64a729d1e91e90b3b | fc63109ef567f0c156db25a4837b76ab74c19432 | /2017现代操作系统/hw12/Classes/Monster.cpp | d495d9fe2992f914fad30e53a70bfd6ff161195c | [] | no_license | freakkid/Mint | 5dad03b5ac66b37556c1e1d155bd30491954117d | 27a9da878d16c538bcb2f7aa4ab19804dfe0db1a | refs/heads/master | 2021-04-06T12:11:22.035551 | 2017-12-23T10:54:18 | 2017-12-23T10:54:18 | 83,274,118 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,594 | cpp | #include"Monster.h"
USING_NS_CC;
Factory* Factory::factory = NULL;
Factory::Factory() {
initSpriteFrame();
}
Factory* Factory::getInstance() {
if (factory == NULL) {
factory = new Factory();
}
return factory;
}
void Factory::initSpriteFrame(){
auto texture = Director::getInstance()->getTextureCache()->addImage(... | [
"904811062@qq.com"
] | 904811062@qq.com |
382537fe51eda8c1d767640f9668505234ecf8f8 | cfcb7e4802bfbc2e94a3b36a24c0de8f459e7d5b | /main.cpp | c37f01ed2c700f56aed1786c5ac478c9a8a353ef | [
"MIT"
] | permissive | crftwr/lredit | a9b20f0f63d8dd36c993e93ce75cd9780a0c26df | 148e77b3c094887a527b4fe4c5b7e9092f32cf68 | refs/heads/master | 2023-02-20T10:19:55.294543 | 2023-02-04T20:45:24 | 2023-02-04T20:45:24 | 12,020,212 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,783 | cpp | #include <string>
#include <vector>
#include <list>
#include <windows.h>
#include <shellapi.h>
#if defined(_DEBUG)
#undef _DEBUG
#include "python.h"
#define _DEBUG
#else
#include "python.h"
#endif
#define PYTHON_INSTALL_PATH L"c:\\Python38-64"
//--------------------------------------
int AppMain()
{
std::wstring ... | [
"craftware@gmail.com"
] | craftware@gmail.com |
ae349c4ee3a3967edc046d547ddafaddae2ea633 | 9b2e5aa0d41f408334ecb3bda8aba59cb4d81f60 | /gamemodel/actions/AAttack.cpp | 7c591dfb444fb2cf48fa499081d09dd3fe41d041 | [] | no_license | msiemens/UH-INF-StrategicGame | f4ccb9ed170d1852e4b30ebd5bc4a50824dc50e1 | 5a504f3d9140010a99aee1da5c7b565ddd0cf6a2 | refs/heads/master | 2023-09-05T04:34:10.467419 | 2013-01-12T14:26:14 | 2013-01-12T14:26:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 121 | cpp | /*
* AAttack.cpp
*
* Created on: 30.11.2012
* Author: Henrik
*/
#include "AAttack.h"
AAttack::~AAttack() {}
| [
"siemens1993@gmail.com"
] | siemens1993@gmail.com |
1e70f36a4ff5a8633baf739f60d06ca1df925caf | 54f4440487c9f3aad4345af7ab1fec316b7b6751 | /C++/Project21_DB/BooleanEvaluator/BEOperatorFactory.cpp | 4be144f4eb87c738c842d35bafeee398e5222fa0 | [] | no_license | costinAndronache/MyProjects | fb35bec3bd5b565e7b63f87fdb5c385061d3d0ac | b1834b66e09d8a4f1ee7ef6e7e5079893e9045ee | refs/heads/master | 2021-01-02T23:13:23.090093 | 2015-05-12T22:18:50 | 2015-05-12T22:18:50 | 32,603,688 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 610 | cpp | #include "BEOperatorFactory.h"
using namespace std;
BEOperatorFactory *BEOperatorFactory::instance = NULL;
BEOperatorFactory *BEOperatorFactory::getInstance()
{
if(instance == NULL)
instance = new BEOperatorFactory();
return instance;
}
BEOperatorFactory::BEOperatorFactory()
{
opMap["AND"] = n... | [
"costin.andronache@gmail.com"
] | costin.andronache@gmail.com |
f22fa3a49076ac3bc77359a4546508c0553054ff | c057e033602e465adfa3d84d80331a3a21cef609 | /C/testcases/CWE415_Double_Free/s01/CWE415_Double_Free__malloc_free_int64_t_84_goodB2G.cpp | 4852dcf7b9c0782d7697d879a1fc3ae2d412c837 | [] | no_license | Anzsley/My_Juliet_Test_Suite_v1.3_for_C_Cpp | 12c2796ae7e580d89e4e7b8274dddf920361c41c | f278f1464588ffb763b7d06e2650fda01702148f | refs/heads/main | 2023-04-11T08:29:22.597042 | 2021-04-09T11:53:16 | 2021-04-09T11:53:16 | 356,251,613 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,371 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE415_Double_Free__malloc_free_int64_t_84_goodB2G.cpp
Label Definition File: CWE415_Double_Free__malloc_free.label.xml
Template File: sources-sinks-84_goodB2G.tmpl.cpp
*/
/*
* @description
* CWE: 415 Double Free
* BadSource: Allocate data using malloc() and Deallocate ... | [
"65642214+Anzsley@users.noreply.github.com"
] | 65642214+Anzsley@users.noreply.github.com |
d31470f7530aa9c138f1f6284d8c8c00f5e520c4 | abf9a0f7d37a470cfdcb35209858a4ea5bd0e74d | /github/Leika/Source/Effect/PlayerCrash.h | c3a8716e4d75b5ba7a78ca0deef43736c30006a0 | [] | no_license | ShinichiArakawa/Leika-STG | 459e286c2bc774e980cf09ca3f0c3e10844713b3 | d7283739a3453ae1f46e2583986cb2d891248089 | refs/heads/master | 2021-06-12T08:19:58.812439 | 2016-12-25T17:50:11 | 2016-12-25T17:50:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 334 | h | #pragma once
#include "../Utility/task.h"
class GameObject;
class PlayerCrashEffect : public Task
{
private:
int count_;
public:
PlayerCrashEffect(DirectX::SimpleMath::Vector2 argPos, float argAngle);
~PlayerCrashEffect(){}
void initialize()override;
bool update()override;
void draw()override;
void finalize... | [
"武井 克己"
] | 武井 克己 |
3fcff6a09acd044ade2cb6c403839bf5f4fdd8fb | 2e19c0e736bc5dcabc7e585bfa0b775465b17f9b | /~ProgChallengesCode/ArrayProblems/FindEqualSumInArray/FindEqualSumInArray.cpp | 29b9f6d70f5c2844c111e0e3f4bed2c18b80fe75 | [] | no_license | mukesh-fis/PracticeRepo | 792703000afa6f7c777073c3cc906398c91f2725 | 52dac511f8901e20ff2bcb2054dca747ab559b0a | refs/heads/main | 2023-04-16T22:26:54.482232 | 2021-05-01T16:10:16 | 2021-05-01T16:10:16 | 349,652,830 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 981 | cpp | /*
WAP to find subsets that contains equal sum in an array:
Example -
{1,2,3,4,2}->{1,2,3}&&{4,2}
{1,1,3,3,2,8}->{1,3,3,2}&&{1,8}
{1,3,4,7}->no subset
*/
// C++ implementation of the approach
#include <iostream>
#include<vector>
#include<map>
using namespace std;
void findEqualSumPairs(int A[], int n) {
map<int, ... | [
"mukesh.kumar3@fisglobal.com"
] | mukesh.kumar3@fisglobal.com |
d3f837b5a1bf9737d796248b15d03cf44e072839 | f408ef32b803c2a5b11544a66df7f35f3b79542b | /library/media.h | 0691dab0b87280d855319aad36d6b3109a8ba656 | [] | no_license | tjwhitaker/csu-oop | bb29167bf9d33d87305c7cee09d53ba0ac669e83 | be2816dcadc3d3f0dad747aa2dc347e8f9bbe4a7 | refs/heads/master | 2021-07-12T03:30:06.292144 | 2017-10-03T18:05:48 | 2017-10-03T18:05:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 460 | h | #ifndef MEDIA_H
#define MEDIA_H
#include <iostream>
using namespace std;
class Media
{
public:
Media(string call_num, string title, string subjects);
virtual ~Media();
virtual void display() const = 0;
bool compare_call_num(const string term);
bool compare_title(const string term);
bool compare_subjects(const s... | [
"camp4climber@gmail.com"
] | camp4climber@gmail.com |
6c340a4e4b241ea566d3d0bfca12693110ea6d6a | 4e800a5c233ca14109fdc374fd8d5230da20480d | /game_final/MainFrm.cpp | f35c0f23ab94dedb2e30ceb871cca7cb677fd30a | [] | no_license | sh-taheri/Graphical-Game-Multithreaded | 5dccb5860990e1203e6d3bfe30883c4c2bf3189f | 67f7837720f8bb05a6d8db5209406cdff050a79d | refs/heads/master | 2020-06-27T22:38:07.199245 | 2017-07-20T03:55:28 | 2017-07-20T03:55:28 | 97,077,417 | 0 | 0 | null | 2017-07-13T04:05:37 | 2017-07-13T03:45:47 | null | UTF-8 | C++ | false | false | 9,105 | cpp |
// MainFrm.cpp : implementation of the CMainFrame class
//
#include "stdafx.h"
#include "game_final.h"
#include "MainFrm.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CMainFrame
IMPLEMENT_DYNCREATE(CMainFrame, CFrameWndEx)
const int iMaxUserToolbars = 10;
const UINT uiFirstUserToolBarId = A... | [
"noreply@github.com"
] | sh-taheri.noreply@github.com |
c04ed6b6d799381238e053f685783164e6ffc8f0 | e5926ce06de449fa0c3d8f110497c61a3b5d730d | /stm32/libraries/BoardExamples/examples/BlackF407VE/ADC_DualModeInterleavedBurst/ADC_DualModeInterleavedBurst.ino | 1ba36ac908a45a0d39e8d31a245cb251cbfe883f | [
"MIT",
"BSD-2-Clause"
] | permissive | Gruenstreifen-eV/BSFrance-stm32 | b4a976d532f25d64b3efdfad04ad8557a3535ed3 | e8d3aa12c1fcc1f2c90fa8a3c9f6c39851d013d6 | refs/heads/master | 2020-04-20T13:19:50.997106 | 2019-02-18T19:26:12 | 2019-02-18T19:26:12 | 168,866,125 | 0 | 1 | MIT | 2019-02-02T18:55:05 | 2019-02-02T18:55:05 | null | UTF-8 | C++ | false | false | 15,870 | ino | /**
* STM32GENERIC - untested
*
* 8 bit samples, ADC1 & 2, DMA
* Interrupt processes can eat all the CPU time, so long sample times and big buffers to reduce the number of interrupts.
* Example uses software trigger for 8 bit sampling in bursts.
* Conversion can be kept running by moving ADC/DMA start to setup(... | [
"alerts@bsfrance.fr"
] | alerts@bsfrance.fr |
81035626e173f562e0f526064dc09ca0973b2fa6 | 617481ca053d866f341622430962c5641f6b15ee | /Tetris/Tetris/main.cpp | d987e881a54e23621d893b1c58dc13ce5fd0e161 | [] | no_license | tehbullda/TetrisByBullda | 7f4fadd28c21b7baf17307e18994e3b63c58c7b3 | 0e6979ff79a0d6e87a53ae4df4e1e088a12cf76e | refs/heads/master | 2016-09-10T08:26:57.565127 | 2014-08-04T20:08:52 | 2014-08-04T20:08:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 260 | cpp | // main.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "Engine.h"
int _tmain(int argc, _TCHAR* argv[])
{
Engine* engine = new Engine;
if (engine->Init()) {
engine->Run();
}
engine->Cleanup();
return 0;
}
| [
"bullda_94@hotmail.com"
] | bullda_94@hotmail.com |
c6ced77250f3e1044facccf1147c8c810c9e33af | 75d303983f1789b3b26b433117d9360001cd37d9 | /BLG 433E - Computer Communications/eski/2012/pj_2/Triple.h | 0b61b52e5823195ee692f0ca9d8702e1c0e55bfe | [] | no_license | tugrulyatagan/itu_comp_eng_lectures | 22452ef2af569bbc89de68809595bac5f992d89a | c6f62e142a7df5aaef68e3345833f2092b2f2364 | refs/heads/master | 2022-12-15T21:18:18.519189 | 2020-09-20T22:21:46 | 2020-09-20T22:21:46 | 297,064,338 | 14 | 2 | null | null | null | null | ISO-8859-9 | C++ | false | false | 635 | h | /************************************************************
* Name Surname : Abdullah AYDEĞER *
* Number : 040090533 *
* University : Istanbul Technical University *
* Lecture : Computer Communications *
* Lecturer : Sema OKTUG *
* Project Number : 2 *
* Created Date : ... | [
"tugrulyatagan@gmail.com"
] | tugrulyatagan@gmail.com |
97ba3acdbad606a1ef02ac8fd610e594cc4dd2ea | e0daf50cfab625f04f3b277b51d47d0b59c281e9 | /src/tools.cpp | 3f0dd48f4a2b680e41cea33c1e1c2f5ae19fb5d9 | [
"MIT"
] | permissive | RodolphePerrin/Unscented_Kalman_Filter | acd9ca10febdad889abc2aa6a421274451b522e0 | 1059d6b376b79b48e09d30c4a137b966a18a0bce | refs/heads/master | 2022-10-13T18:35:09.167402 | 2020-06-07T18:11:42 | 2020-06-07T18:11:42 | 269,240,626 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,009 | cpp | #include "tools.h"
#include <iostream>
using Eigen::VectorXd;
using std::vector;
Tools::Tools() {}
Tools::~Tools() {}
VectorXd Tools::CalculateRMSE(const vector<VectorXd> &estimations,
const vector<VectorXd> &ground_truth) {
VectorXd RMSE(4);
RMSE<< 0,0,0,0;
int n =... | [
"rodolpheperrin@MacBook-Air-de-Rodolphe.local"
] | rodolpheperrin@MacBook-Air-de-Rodolphe.local |
e3c5b2d66a1175c663e4e191aaf569fff473e4f9 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_new_log_4083.cpp | 07b22d1d4fa0a48daaae546f29d3d9ab32be5f96 | [] | 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 | 186 | cpp | ap_log_rerror(APLOG_MARK, APLOG_ERR, APR_ENOPROC, r, APLOGNO(01552)
MODNAME ": could not execute `%s'.",
compr[parm->method].argv[0]); | [
"993273596@qq.com"
] | 993273596@qq.com |
55141e494c589f1b71b6615556878400b19810ea | 6a3f134ed49211dd28037ceef2e7d7365cc98fcb | /src/Analyzer/Utils.cpp | 5f0d682865fbf691545e904559f35bcfc0c63b6d | [
"Apache-2.0"
] | permissive | SaltTan/ClickHouse | c7e34e91187b8c4f5250501778564403db5a6e19 | c8068bdfa260ccf486c2d0417b1eea9cbfb0ad59 | refs/heads/master | 2023-03-16T08:44:46.450602 | 2022-11-01T07:22:06 | 2022-11-01T07:22:06 | 560,353,395 | 0 | 0 | Apache-2.0 | 2022-11-01T09:59:49 | 2022-11-01T09:59:48 | null | UTF-8 | C++ | false | false | 12,385 | cpp | #include <Analyzer/Utils.h>
#include <Parsers/ASTTablesInSelectQuery.h>
#include <Parsers/ASTIdentifier.h>
#include <Parsers/ASTSubquery.h>
#include <Parsers/ASTFunction.h>
#include <Analyzer/IdentifierNode.h>
#include <Analyzer/JoinNode.h>
#include <Analyzer/ArrayJoinNode.h>
#include <Analyzer/ColumnNode.h>
#include... | [
"kitaetoya@gmail.com"
] | kitaetoya@gmail.com |
4e3ac6fb53dffbf1eebba1c907f201b2c97e121d | 10fd796de66b91dc406ba723fb8dd9cdce2fa85d | /DAQ/Programs/short_sleep.ino | 840f855473981750907bcb0884d7ed418452f87a | [] | no_license | fletcheaston/SmartFarm | 96d3b73ee8ea6a8a6f915132126620a8826ff8a9 | 011f6afa11a2fca02c39ae5de59411eeed6e4b76 | refs/heads/master | 2020-03-21T04:01:11.430751 | 2019-05-16T18:50:01 | 2019-05-16T18:50:01 | 138,086,190 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,320 | ino | /* -------------------- Controller Firmware Version 0.2.1 ---------------------
This program is the controller firmware for smartfarm DAQ board V6.1
Please DO NOT change this program, unless you know exactly what happens
Bo Liu
Ag. Mechtronics Lab, BRAE, Cal Poly
09/25/2017
-- For ATMEL Programming
e... | [
"fletcheaston@gmail.com"
] | fletcheaston@gmail.com |
fe36ce0270beaa75f88896b2f0ceaae82f05262f | 095fca56085d5c0a2cea016f9d323e16ad927888 | /level.h | fc20b85fb74d808e8461ada7943877cd77a896fa | [] | no_license | SoapyMan/driver_psx_level | 8e6ee2a971e4b295dd0cd29e538a961b66d9735e | ee4b8171e14ded3ea1e5112b6af240f287f8c876 | refs/heads/master | 2021-06-05T00:38:50.159075 | 2020-12-03T09:05:16 | 2020-12-03T09:05:16 | 22,171,434 | 20 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,898 | h | //////////////////////////////////////////////////////////////////////////////////
// Description: Driver 2 LEVel main structures
//////////////////////////////////////////////////////////////////////////////////
#ifndef LEVEL_H
#define LEVEL_H
#include "math/dktypes.h"
#include "psx_math_types.h"
// known lumps ind... | [
"ishurumov@gmail.com"
] | ishurumov@gmail.com |
a95441844bb2aa47985fa0381008c535d16f29f9 | 5262179d8ad5a3d232d1a90ff3ae257c5480902d | /6_Lab.ITCompany_ClassHierarchy/include/Personal.h | 4a1426b0270b5702a06011048fba29e0c18e1170 | [] | no_license | Dev-will-work/Cpp-course | fc2d45f2a18054cde560576baea44b02f6aff34b | 36e20f1dfbd9f59bcf58f3847adf5887ecb9bb8e | refs/heads/main | 2023-07-15T04:26:32.539749 | 2021-09-03T17:15:29 | 2021-09-03T17:15:29 | 402,776,850 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 913 | h | // Copyright 2021 Dev-will-work
#ifndef INCLUDE_PERSONAL_H_
#define INCLUDE_PERSONAL_H_
#include <iostream>
#include <string>
#include "Employee.h"
#include "Interfaces.h"
class Personal : public Employee, WorkBaseTime {
public:
Personal();
virtual ~Personal();
virtual int calcBase(int salary, int wtime);
virt... | [
"paemshanov@edu.hse.ru"
] | paemshanov@edu.hse.ru |
78becf9e0b589b9b54ae8a36a2a4974c3788b7bb | ae0ebd0d406ea4e83495c115c392b5f46bcf8791 | /gl_traits/src/include/gl_traits/buffer_traits.hpp | f3e06c805ff1fd0c65baade5942b71a3352550d9 | [
"MIT"
] | permissive | sergio-eld/gl_traits | a6eaebd02f906f1f985fb52d72df46e249575e86 | 78cf997d5650a5de5ef9ec84a65fd483240c8f12 | refs/heads/master | 2022-10-13T11:41:20.453672 | 2020-03-13T21:00:01 | 2020-03-13T21:00:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,812 | hpp | #pragma once
#include "Sequence.hpp"
namespace glt
{
template <class attr, bool = is_compound_seq_v<attr>>
struct wrap_attr
{
using type = compound<attr>;
};
template <class ... attr>
struct wrap_attr<compound<attr...>, true>
{
using type = compound<attr...>;
};
... | [
"sergey.kolesnik.ld@gmail.com"
] | sergey.kolesnik.ld@gmail.com |
0a6d8d484198767638fcb34bb4dcdf4c5882d5a2 | 9b882c3dfaa41e62b15fb635599ef6780f2c8379 | /ui/ozone/platform/drm/gpu/vulkan_implementation_gbm.cc | e9608e1375d1262e94f80fed20e753ec9e680a1b | [
"BSD-3-Clause"
] | permissive | cqtangsong/chromium | 1e042e2f49d9cb194790674805afcc1308a08f81 | e73c1f260913f418bf5886b996b02dae372cfffa | refs/heads/master | 2023-01-14T07:34:05.166609 | 2020-03-12T03:07:32 | 2020-03-12T03:07:32 | 246,735,752 | 2 | 0 | BSD-3-Clause | 2020-03-12T03:32:44 | 2020-03-12T03:32:43 | null | UTF-8 | C++ | false | false | 6,373 | cc | // Copyright (c) 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/ozone/platform/drm/gpu/vulkan_implementation_gbm.h"
#include <memory>
#include "base/files/file_path.h"
#include "base/native_library.h... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
ee695da83f04b1f6ecc151a40699c868f2a983ac | 5153c2c2d5c7ccc9fb4dfa05431f078f4e423f2b | /Big Integer/big_integer_testing.cpp | afcc44392b79bb8d993ffd69a400d28f66185536 | [] | no_license | hatulmadan1/optional | e3b78d1b6f8eed32ee10d733174a0468ca95e09a | c28b53b200e2a943f9abdb851af960012b776b80 | refs/heads/master | 2020-04-02T02:41:36.598478 | 2018-10-27T09:27:52 | 2018-10-27T09:27:52 | 153,922,539 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,726 | cpp | #include <algorithm>
#include <cassert>
#include <cstdlib>
#include <vector>
#include <utility>
#include "gtest/gtest.h"
#include "big_integer.h"
TEST(correctness, two_plus_two)
{
EXPECT_EQ(big_integer(2) + big_integer(2), big_integer(4));
EXPECT_EQ(big_integer(2) + 2, 4); // implicit converion from int must work
... | [
"katiq@inbox.ru"
] | katiq@inbox.ru |
928de46787f7fd135c3f31c9ba92fe82d9c96547 | d61f2cac3bd9ed39f95184b89dd40952c6482786 | /testCase/results/46/mFive | cef42844f273bbedd47db629c3279f14bd1c4ddb | [] | no_license | karimimp/PUFoam | 4b3a5b427717aa0865889fa2342112cc3d24ce66 | 9d16e06d63e141607491219924018bea99cbb9e5 | refs/heads/master | 2022-06-24T08:51:18.370701 | 2022-04-28T18:33:03 | 2022-04-28T18:33:03 | 120,094,729 | 6 | 3 | null | 2022-04-27T09:46:38 | 2018-02-03T13:43:52 | C++ | UTF-8 | C++ | false | false | 3,105 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.1 |
... | [
"mohsenk@outlook.com"
] | mohsenk@outlook.com | |
6a25a415731ba92040c3af29e52e0c3854973816 | 3a658e5aaef39bbf38c9b2a1f59fad7f6756460a | /include/openvino_service/inferences/base_inference.h | c3c2038a66d0b5d885fc6d0dafc29fbf51082fee | [
"Apache-2.0"
] | permissive | xuyangch/DynamicVINO | 4280cbfdfbc822e17a157c4ed244604771f67093 | f395490633732432bb278776fcc053230d0264d0 | refs/heads/master | 2022-02-18T18:44:07.509806 | 2019-09-06T20:35:24 | 2019-09-06T20:35:24 | 139,662,965 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,238 | h | /**
* @brief A header file with declaration for BaseInference Class
* @file base_inference.h
*/
#ifndef OPENVINO_PIPELINE_LIB_BASE_INFERENCE_H
#define OPENVINO_PIPELINE_LIB_BASE_INFERENCE_H
#include <memory>
#include "opencv2/opencv.hpp"
#include "inference_engine.hpp"
#include "openvino_service/engines/engine.h"
... | [
"chyacinthz@gmail.com"
] | chyacinthz@gmail.com |
86d383d2b1c3ab61b4cf2c55e3d1b844fdbcda98 | 3ded37602d6d303e61bff401b2682f5c2b52928c | /ml/1069/Classes/Depends/Utils/SaleManager.cpp | a533079fda4528d9533ec0611c1d879f1ed359d5 | [] | no_license | CristinaBaby/Demo_CC | 8ce532dcf016f21b442d8b05173a7d20c03d337e | 6f6a7ff132e93271b8952b8da6884c3634f5cb59 | refs/heads/master | 2021-05-02T14:58:52.900119 | 2018-02-09T11:48:02 | 2018-02-09T11:48:02 | 120,727,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,401 | cpp |
#include "GameDataManager.h"
#include "cocos2d.h"
#include "GameDataAdapter.h"
#include "IAPManager.h"
#include "StringHelp.h"
USING_NS_CC;
#define kCoint "Coint"
#define kBox "Box"
#define kPrice "Price"
#define kShapeLock "ShapeLock"
#define kFlavorLock "FlavorLock"
#define kIceShape "IceShape"
#define kFoodCount ... | [
"wuguiling@smalltreemedia.com"
] | wuguiling@smalltreemedia.com |
a30ad932f9e5c44d489a355fd15bfef275e508a6 | eb29e630e4ecb0025ed7939124f872893d32560b | /source/ext/common/pegasus/src/Pegasus/DynListener/ListenerService.cpp | eae19207c4558c401bbace8aeeb30e8b924266da | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | host1812/scx_plugin_public | 563246c2ca97f6e2c44372a924b7c06f77e1b133 | c9d44d370013ade2c3aa4b5dada51834f08a67d4 | refs/heads/master | 2020-05-17T23:54:16.123319 | 2012-07-27T12:28:57 | 2012-07-27T12:28:57 | 5,189,415 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,973 | cpp | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | [
"host1812@yandex.ru"
] | host1812@yandex.ru |
b2b1dc0a30c595803df6baedda31cc4f04ed8787 | 51e9012435503b693a7811301c6af4332033a1a3 | /MTWALK/MTWALK.cpp | 2741dbba6a9342c48dd22b3333ce190f63336537 | [] | no_license | phutruonnttn/CPP_Code_Giai_Thuat | e7e3312ae70cee9ade33994de0cc3a1f17fbf0f1 | 8081d346aa0348d1a6bef546036e5a498e7b2ee5 | refs/heads/master | 2020-07-02T04:29:51.910768 | 2019-08-09T07:16:37 | 2019-08-09T07:16:37 | 201,412,551 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,440 | cpp | #include <bits/stdc++.h>
using namespace std;
long n,maxx=-1,minn=117,a[107][107],ans,ct,cd;
bool ok,dd[107][107];
void loang(long i, long j)
{
if (i==n && j==n)
{
ok=true;
return;
}
dd[i][j]=false;
if (a[i-1][j]!=-1 && a[i-1][j]<=ct && a[i-1][j]>=cd && dd[i-1][j])... | [
"truongnguyen@MacBook-Pro-cua-TruongNP.local"
] | truongnguyen@MacBook-Pro-cua-TruongNP.local |
0d618b3926292c85e9d6f060bb47af384ecc5f9c | 6f43b5b4a122feb0c8f036f35ce6fc9009906864 | /TrackBall/Builds/iOS/Classes/Native/mscorlib9.cpp | 7a558fb0ada8b5e6274675a212aba7c1b749bd81 | [] | no_license | abhishm20/games-lemonade-labs | 0bfaa1a4e04f790a5c881bd80057c2db273fdd2a | 53080efd015a3f7052884db6a0c6843289063d68 | refs/heads/master | 2022-04-07T19:09:55.408483 | 2020-01-28T09:26:28 | 2020-01-28T09:26:28 | 236,697,265 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,166,401 | 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/System.Runtime.Compil... | [
"abhishek@loansimple.in"
] | abhishek@loansimple.in |
1c6674973c4f41d36fa05e59751060ddef41366f | 1f63dde39fcc5f8be29f2acb947c41f1b6f1683e | /Boss2D/addon/tesseract-3.05.02_for_boss/ccmain/pageiterator.cpp | d43167fed68d1d08e18cc25b9cb20dac5ee56030 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause",
"MIT"
] | permissive | koobonil/Boss2D | 09ca948823e0df5a5a53b64a10033c4f3665483a | e5eb355b57228a701495f2660f137bd05628c202 | refs/heads/master | 2022-10-20T09:02:51.341143 | 2019-07-18T02:13:44 | 2019-07-18T02:13:44 | 105,999,368 | 7 | 2 | MIT | 2022-10-04T23:31:12 | 2017-10-06T11:57:07 | C++ | UTF-8 | C++ | false | false | 23,755 | cpp | ///////////////////////////////////////////////////////////////////////
// File: pageiterator.cpp
// Description: Iterator for tesseract page structure that avoids using
// tesseract internal data structures.
// Author: Ray Smith
// Created: Fri Feb 26 14:32:09 PST 2010
//
// (C) Copyright ... | [
"32564870+koobonil@users.noreply.github.com"
] | 32564870+koobonil@users.noreply.github.com |
d071db5c7b43fa982c4138938ff241a894375e39 | ad273708d98b1f73b3855cc4317bca2e56456d15 | /aws-cpp-sdk-sqs/source/SQSErrorMarshaller.cpp | 579e1ea7d3163f86e2253b914d4803446febac3a | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | novaquark/aws-sdk-cpp | b390f2e29f86f629f9efcf41c4990169b91f4f47 | a0969508545bec9ae2864c9e1e2bb9aff109f90c | refs/heads/master | 2022-08-28T18:28:12.742810 | 2020-05-27T15:46:18 | 2020-05-27T15:46:18 | 267,351,721 | 1 | 0 | Apache-2.0 | 2020-05-27T15:08:16 | 2020-05-27T15:08:15 | null | UTF-8 | C++ | false | false | 1,041 | cpp | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
6e75454d8c9477370d0dcc064061e48dde25e265 | 62ac361ec362496af80b55f144cd35f09e510e40 | /utils.h | 140b52f3d1771cbb8e6df9a9842d5f56fe87c725 | [
"MIT"
] | permissive | cutlas62/sorting-algorithms | 44251ae322b15a440be7699a4be65db7062021d7 | 3ae816b4d286899ffa9fc0918e17dbba47017671 | refs/heads/master | 2022-11-04T01:51:25.417902 | 2020-06-09T04:03:20 | 2020-06-09T04:03:20 | 260,813,922 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 328 | h | #ifndef MAIN_INCLUDE_H
#define MAIN_INCLUDE_H
#include <cstdint>
#include <sys/time.h>
#include <cstddef>
#include <cstdio>
struct statistics_t {
uint64_t time;
uint64_t comparisons;
uint64_t array_accesses;
};
void print_array(int *arr, int n);
void swap (int *f, int *s);
uint64_t microsSinceEpoch(void);... | [
"carlos.santosr@ieee.org"
] | carlos.santosr@ieee.org |
0f1a5872801367838029f71e0b499dfcb0842e0d | 342e051952462d55e98416915e83ef884000c09b | /tree/Minimum Depth of Binary Tree.cpp | c16bc1aec9fca9c4aa02ad5366d04e9f804756bb | [] | no_license | WenjianXiao/Leetcode | 03dcc64528715b8517a417094d1bb5d1413585a4 | 8ff730b8634d36e2edeb9337f98b5d3375c85b90 | refs/heads/master | 2016-09-06T10:57:24.542328 | 2015-08-10T01:41:00 | 2015-08-10T01:41:00 | 38,040,532 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 740 | cpp | #include <iostream>
using namespace std;
/**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNo... | [
"179297429@qq.com"
] | 179297429@qq.com |
30df11450a4384336dedb62b88f59eaf7a4f9f3d | 9f9305238e1c546e82750692001acc38d7613b8e | /computerselection.cpp | 9d5b351d9be8a78f9a8c52b7a8fb50fcc6cb38a7 | [] | no_license | jowoni/OOP_TeamProject | 2b32b8ed8495261eedc05234d859d001f99eab3b | 72b55bbda3868e649f9b66da2e410c6e77ff0b28 | refs/heads/master | 2020-04-07T23:53:48.517186 | 2018-11-23T12:47:56 | 2018-11-23T12:47:56 | 158,828,974 | 0 | 0 | null | 2018-11-23T12:47:11 | 2018-11-23T12:19:21 | C++ | UTF-8 | C++ | false | false | 176 | cpp | #include "computerselection.h"
#include "part.h"
ComputerSelection::ComputerSelection(){
}
list<Part*> *ComputerSelection::getpartSelection() {
return &partSelection;
}
| [
"seong0318@naver.com"
] | seong0318@naver.com |
05341b2c180c615e4f54f5434e8d81c9703e5429 | fa9c2d22189e2830033fc06a634d4f8d1c667436 | /lib/Action/action_gaugetype_factory.cpp | 5a756613f95b797296e587a946f534170320daa3 | [] | no_license | yonggwi-cho/IroIro | b8c8cf4f6642daaaec9ebe8a2a430133b63a02fc | 2c3126b2995e1fd8fcabb925bcf1a7f9f5affc78 | refs/heads/master | 2020-04-17T04:41:17.778864 | 2016-10-11T10:49:48 | 2016-10-11T10:49:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,489 | cpp | /*!
* @file action_gaugetype_factory.cpp
*
* @brief Definition of methods for Gauge-type action factories
*
* Time-stamp: <2013-04-17 15:15:43 neo>
*/
#include "action_gaugetype_factory.hpp"
//////////////////////////////////////////////////////////////////////////////////
WilsonGaugeActionFactory::WilsonGauge... | [
"cossu@post.kek.jp"
] | cossu@post.kek.jp |
e8f0b7881b8ddad01ed1a2d8e376c26745ee19cf | 424d9d65e27cd204cc22e39da3a13710b163f4e7 | /chromeos/services/ime/decoder/decoder_engine.cc | 8b814caf68c23f7f52755bc95931d0a83912e60e | [
"BSD-3-Clause"
] | permissive | bigben0123/chromium | 7c5f4624ef2dacfaf010203b60f307d4b8e8e76d | 83d9cd5e98b65686d06368f18b4835adbab76d89 | refs/heads/master | 2023-01-10T11:02:26.202776 | 2020-10-30T09:47:16 | 2020-10-30T09:47:16 | 275,543,782 | 0 | 0 | BSD-3-Clause | 2020-10-30T09:47:18 | 2020-06-28T08:45:11 | null | UTF-8 | C++ | false | false | 3,917 | cc | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chromeos/services/ime/decoder/decoder_engine.h"
#include "base/bind_helpers.h"
#include "base/files/file_path.h"
#include "base/files/file_util... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
87b4ff3a2aa9a10973aeea6dd70c0d0e0682b505 | 2fdd21fdbcc3484c12a88769ed6baba03db51922 | /greenfox/dekoii/week-02/day-3/7.cpp | 8fabff179952e0e80b167a7b5c56dba4192eea0d | [] | no_license | greenfox-zerda-sparta/dekoii | 2ccdd0a1728a226db462d092b09a86ec5cd940fd | b5f6bb6867c45c4b6b2926146146b4befe9090b0 | refs/heads/master | 2021-01-13T07:30:26.831680 | 2017-02-16T15:03:50 | 2017-02-16T15:03:50 | 71,350,804 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 629 | cpp | #include <iostream>
using namespace std;
void swap(int *a, int *b);
int main() {
int high_number = 6655;
int low_number = 2;
int* hight_number_pointer = &low_number;
int* low_number_pointer = &high_number;
// Please fix the problem and swap where the pointers point,
// without using the "&" operator.
... | [
"daniel.janicsak@gmail.com"
] | daniel.janicsak@gmail.com |
3bd337adda857f1b5d8be8aceafe90559e6afb38 | 687b8cdc4a3dfdbd941489d010a918145030a3cc | /gastpc/g4sim/DefaultRunAction.cxx | e0a98e2d1e1ffe033684179805a5b386d4b2e118 | [
"BSD-3-Clause"
] | permissive | DUNE/wp1-neardetector | d103b623b6459c6b2a3d4e66bb585ff56ed45c46 | 729c30532670679b7c87131ec70b4141d04a3ede | refs/heads/master | 2021-04-19T01:22:24.246465 | 2017-03-01T18:11:05 | 2017-03-01T18:11:05 | 30,244,428 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 586 | cxx | // -------------------------------------------------------------------
/// \file DefaultRunAction.cxx
/// \brief
///
/// \author <justo.martin-albo@physics.ox.ac.uk>
/// \date Creation: 30 July 2016
// -------------------------------------------------------------------
#include "DefaultRunAction.h"
#include <... | [
"jmalbos@users.noreply.github.com"
] | jmalbos@users.noreply.github.com |
e9a1ca9711c48006e64e29c814506e0d4a4456bd | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_DmgType_Carnivorous_Plant_classes.hpp | 3aed9ed18521adc95a8539badaa523166ce9f891 | [
"MIT"
] | permissive | git-Charlie/ARK-SDK | 75337684b11e7b9f668da1f15e8054052a3b600f | c38ca9925309516b2093ad8c3a70ed9489e1d573 | refs/heads/master | 2023-06-20T06:30:33.550123 | 2021-07-11T13:41:45 | 2021-07-11T13:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 755 | hpp | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_DmgType_Carnivorous_Plant_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//-----------------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
098e054684b5700315370fc57cc776e196493d49 | 3754ced2b81546ba648ad4f7b9c82792564a2e86 | /Src/Shared/TextureSamplerAPI.hpp | 98090626c860ce0c295a2c448c165c1ee5d26c9b | [
"MIT"
] | permissive | asdlei99/Piper | f2468e76973c1741299c149da8dd09add43522be | af17b45848d46687ba6c9f214264759275a35a9f | refs/heads/master | 2022-12-15T23:20:48.400304 | 2020-09-17T01:55:26 | 2020-09-17T01:55:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 413 | hpp | #pragma once
#include "PluginShared.hpp"
struct TextureSamplerData final {
Data sbtData;
OptixProgramGroup group;
unsigned dss;
};
class TextureSampler : public Asset {
protected:
explicit TextureSampler(Bus::ModuleInstance& instance) : Asset(instance) {}
public:
static Name getInterface() {
... | [
"dtcxzyw@qq.com"
] | dtcxzyw@qq.com |
6a26767ddddb624a3431f13eeaad494f925f6eaa | a6cabe4236778f411d9a850d2435a2a24e87de85 | /MameBake3DLib/BTSRC/BulletDynamics/ConstraintSolver/btFixedConstraint.cpp | d3c1b1b93ccd86d867e7180616d93931ed1a1129 | [] | no_license | lvjunsetup/MameBake3D | 27e447246467e39dc49ae96109a5706359c39c62 | af5e869e8a204aa356f0b061f31ed03fbccb74f3 | refs/heads/master | 2021-09-29T01:44:08.612094 | 2018-11-22T13:24:05 | 2018-11-22T13:24:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,493 | cpp | #include "stdafx.h"
/*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2013 Erwin Coumans http://bulletphysics.org
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Perm... | [
"info@ochakkolab.moo.jp"
] | info@ochakkolab.moo.jp |
6bddca57d77fffb30b8c303d1213d07139869de2 | 4dad3e137f89638cc1c13903d2f82cfee9e9a611 | /347-TopKFrequentElements.cpp | f1b5cd32b8d13d34f1631c1b8e55e1ee71f768b9 | [] | no_license | AbubakirovRA/leetcode | 5b510c34b89b207319f65d7a925d37f02c6924a5 | 6eb9d5a4f978f9bf31a45b356a09b93322e192fd | refs/heads/master | 2023-03-16T22:40:06.209726 | 2019-07-14T05:12:43 | 2019-07-14T05:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,583 | cpp | /*
Given a non-empty array of integers, return the k most frequent elements.
For example,
Given [1,1,1,2,2,3] and k = 2, return [1,2].
Note:
You may assume k is always valid, 1 ≤ k ≤ number of unique elements.
Your algorithm's time complexity must be better than O(n log n), where n is the array's size.
*/
// min ... | [
"chs360@rediffmail.com"
] | chs360@rediffmail.com |
0fcd5dff39151b20b52ade2a9cad981e55a196b6 | 727616f4e67ea1c24e1e8cbbdcc4d3b4b9f79993 | /chess_board.cpp | fd9b9d6ff693c27172278559aefbf5fe9d6d8570 | [] | no_license | aParsecFromFuture/chess_ai | d6c1bb29e86db3dc298cc12ec9b2344f0293f9a3 | 5759bc9e60b81292a3a3e1881f7d7fc03a762294 | refs/heads/master | 2020-06-01T13:48:53.587584 | 2019-06-07T20:05:15 | 2019-06-07T20:05:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,711 | cpp | #include "chess_board.h"
Chess_Board::Chess_Board(Style s){
for(int i = 0;i < 8;i++){
for(int j = 0;j < 8;j++){
data[i][j] = 0;
}
}
status = 0;
switch(s){
case EMPTY : break;
case CLASSIC :
for(int i = 0;i < 8;i++){
addPiece(new Pawn(i,6,WHITE));
addPiece(new Pawn(i,1,BLACK));
}
addP... | [
"grey@debian.grey"
] | grey@debian.grey |
2d525b7bd877fbf6cb4fda13d3c1cd32b3f727b8 | e94e282dc570226d9083e26414544baa154af950 | /Search/SimulatedAnnealing.cpp | 574f5b6585f5520c17a57dae4416d9405c8750c2 | [] | no_license | Hirose-Yuto/SocialDistance | 5cd5a96e2a61ede6caf263c20281459e57fba33a | 15b7bc7d1a53b85ce308de5e50cf050d3ae5ee51 | refs/heads/master | 2023-07-20T05:35:47.011151 | 2021-07-13T03:43:20 | 2021-07-13T03:43:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,266 | cpp | //
// Created by Amida on 2021/06/29.
//
#include "SimulatedAnnealing.h"
std::string SimulatedAnnealing::class_name = "SimulatedAnnealing";
int SimulatedAnnealing::counter;
int SimulatedAnnealing::debugCounter;
void SimulatedAnnealing::Init() {
counter = 0;
debugCounter = 0;
}
Operation* SimulatedAnnealing... | [
"hirose.y.aj@m.titech.ac.jp"
] | hirose.y.aj@m.titech.ac.jp |
706b74c1279ddcda5a58a0b41a127d829e38ca9a | 36e6f00ee880497e499322cf35a51780cb514eb4 | /src/Foundational/iwmisc/report_progress.h | 61313c750403c69079c720090078bc8299420540 | [
"Apache-2.0"
] | permissive | IanAWatson/LillyMol-3.0-Bazel | 79b53d84dc84ba0b9d311e0c129ddc75117327f1 | 33cb0277a1458e2980528cb91cbef2b308c6f207 | refs/heads/master | 2020-06-19T22:50:21.090344 | 2020-04-09T20:30:13 | 2020-04-09T20:30:13 | 196,903,256 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,342 | h | #ifndef REPORT_PROGRESS_H
#define REPORT_PROGRESS_H
#include <iostream>
#include <sys/types.h>
/*
Many programmes have a need to report their progress.
This provides a compact means of embedding that capability
into a programme
*/
class Command_Line;
template <typename T>
class Report_Progress_Template
{
p... | [
"ianiwatson@gmail.com"
] | ianiwatson@gmail.com |
3b9383d087591caff527fa58afc69fd693388652 | 198ab1db1be319ca3b1438cee13483bdb06e752f | /tags/iris-0.1.17/src/util/SystemVars.cpp | d03e633fa363d2ecf0496fff78d1468c8d2f354b | [] | no_license | CommunicoPublic/iris | b11b366e244707d017ff55d6c952b7247d5ea1dc | b412f5db97ba7305f0b946e628709c1c6f976953 | refs/heads/master | 2020-05-30T10:04:24.953824 | 2015-06-30T10:02:39 | 2015-06-30T10:02:39 | 26,064,979 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,483 | cpp | /*-
* Copyright (c) Iris Dev. team. All rights reserved.
* See http://www.communico.pro/license for details.
*
*/
#include "SystemVars.hpp"
// C Includes
#include <sys/param.h>
#include <sys/time.h>
#include <string.h>
// Linux stupidity
#ifdef linux
#include <time.h>
#endif
#ifdef sun
#include <netdb.h>
#en... | [
"root@ubuntu.communco.pro"
] | root@ubuntu.communco.pro |
0ec1936103d3851dbf76340147fd4920ab90946f | a52f707f81c0f8d45d4ca72ae7b6c735ebc5320f | /D01 Demos/Inheritance/Solution/Main.cpp | ae28f19f9c1546f34c9a65d563d7d96c8ecdcee9 | [
"MIT"
] | permissive | FeniulaPyra/DSA2 | d12fdc1a91b7eb90882c8396422345f449f4d2dc | bedaa6c11c7e248a936bf5c0f07a7cb763178ed7 | refs/heads/master | 2023-04-19T23:11:24.024342 | 2021-04-08T23:14:19 | 2021-04-08T23:14:19 | 341,772,420 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 620 | cpp | #include <iostream>
#include "Main.h"
int main ()
{
//. non pointer or regular structures
//-> pointer
std::cout << "Felix:\n";
Cat* felix = new Cat("Felix");
felix->Move();
delete felix;
felix = nullptr;
std::cout << "Garfield:\n";
NyanCat* garfield = new NyanCat("Garfield");
garfield->Move();
delete ga... | [
"feniuldragon@gmail.com"
] | feniuldragon@gmail.com |
27afc97cc5d7381913b98da4569f7a9ae3734964 | 55222e046b24537c883934cdfecc508b171832ad | /srLib2017/workspace/srLib2015/old_main_3rd/main_check_peginhole.cpp | 2cc086c483ff6e295a701a203da7f292fe3d2c28 | [] | no_license | SNURobotics/Decision-intelligence-2017 | 4516d7d6f9896cd39225ebc6852f9a66041d92ad | 99a3579cdc91d08bf1f5b63924103354dda4db8f | refs/heads/master | 2021-01-21T20:31:21.244684 | 2019-04-17T10:29:05 | 2019-04-17T10:29:05 | 92,239,496 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,159 | cpp | #include <cstdio>
#include "serverRenderer.h"
#include "simulationEnvSetting.h"
#include "robotManager\robotRRTManager.h"
#include "ForceCtrlManager\hybridPFCtrlManager.h"
#include "Math\Spline.h"
#include "common\dataIO.h"
#include <time.h>
#include <direct.h>
// Environment
srLink* busbarlink = new srLink;
srSystem... | [
"jchastro@gmail.com"
] | jchastro@gmail.com |
dd5b3079ce6e0abc12dc116d570057914144f06d | 0034c069d5815c71c4252ff7cb4e755712425eaf | /src/Model/LRModel.cpp | f0a074f0c2fc821a02c7f24c4a877b43365d1c4c | [
"Apache-2.0"
] | permissive | niuchenglei/rankextor | 3f3c912cf0c872509a35a67ebd4c636b080003e1 | 342e39dda8347b0986f6d2be9968ee72a90b16c2 | refs/heads/master | 2020-12-03T11:34:17.113500 | 2020-01-02T03:29:20 | 2020-01-02T03:29:20 | 231,300,419 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,308 | cpp | #include "omp.h"
#include "Model/LRModel.h"
using namespace boost;
namespace rank {
#define SCALE 10000
#define CONST_FEATURE_CONFIG "CONST"
REGISTE_CLASS("lr", LRModel)
LRModel::LRModel() {}
LRModel::~LRModel() {
Service<ResourceManager> resource_manager;
resource_manager->UnRegisterResource(mResourceKey);
}
... | [
"chenglei3@staff.weibo.com"
] | chenglei3@staff.weibo.com |
1a1c9be6955d8c53246c56b9fadc3cc14ed68a10 | f6fd5f8bcda62e2b9c3c2b0267c8245100316a10 | /codeforces/ST-comp.cpp | 9e2028f6e5c86934b8e37c59c27d075639b8b67a | [] | no_license | hymsly/CompetitiveProgramming | 9f292673dd6b1809deb354b9d9b0e85c820201f1 | daf91095fab74e5a4f6441e34263ea3db1290d4a | refs/heads/master | 2021-07-24T09:42:33.589976 | 2020-05-19T14:26:58 | 2020-05-19T14:26:58 | 172,566,245 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,177 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
int n;
ll N=1;
int len=0;
vector<pair<ll,ll> > v;
map<ll,ll> M;
ll G[300010];
ll T[1048576];
ll res[100020];
ll query(int p){
p+=N;
ll ans = 0;
while(p){
ans += T[p];
p>>=1;
}
return ans;
}
void update(int p,int q){//[p,q>
p+=N;
q+=N;
w... | [
"hamaro2511@gmail.com"
] | hamaro2511@gmail.com |
535bf01e4294c2cc32da4153460c9c2bd332a951 | 9617cf59d8e4f06a3d46dd358e1d1cab0c71853a | /15.4/numbered.h | de822b07400debfdddfdf4701c0b5e3576e2d25d | [] | no_license | peterocean/cplusplus-primer | f51ae4741858bebdeea6fd8a879710ba46107c6d | 1c23b9b1c18c2448923d0663c577fe944a790f08 | refs/heads/master | 2021-01-01T19:24:25.518123 | 2015-11-08T08:54:49 | 2015-11-08T08:54:49 | 39,620,528 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 323 | h | #ifndef _NUMBERED_H_
#define _NUMBERED_H_
#include <stdlib.h>
#include <iostream>
class Numbered{
public:
Numbered(int id = rand()):mysn(id){}
Numbered(const Numbered &num)
{
mysn = rand();
std::cout << "msyn:" << mysn << std::endl;
}
private:
int mysn;
friend void f(const Numbered &s);
};
#end... | [
"yyf10601@163.com"
] | yyf10601@163.com |
d7b43e37c30215aecf71969c88484fcdc97592a3 | e468c30453d5f787a4042563820d7601b5e8bbb6 | /RPG init/Source.cpp | bd865a6736774ed35c17b9652c0f27a891456e5d | [] | no_license | BubblesomeOcean/Fishies | c9e9efed51f5cf0a35a41f179617ce77732d575d | b5599b5d3e7f7c88dfd19cdc7acfc166680ecfae | refs/heads/master | 2021-05-15T10:48:25.098894 | 2017-10-25T02:53:40 | 2017-10-25T02:53:40 | 108,205,642 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,164 | cpp | #include <iostream>
#include <ctime>
#include <cstdlib>
#include <string>
int Level = 1, Agi = 5, Att = 5, Def = 5, Hp = 20, Choice = 0, hard = 2, gold = 0;
unsigned int Exp = 0;
int at = (Att * 4), df = (Def * 4), eAt = (Att * hard), eDf = (Def * hard), hp = (Hp * 3), eHp = (Hp * hard), eType, pType;
std::string enem... | [
"32941150+BubblesomeOcean@users.noreply.github.com"
] | 32941150+BubblesomeOcean@users.noreply.github.com |
3ccae3dfe740cfe87915f3f659e6c3e42e9a83bf | 8fab4ece46bf7ba879d177fe7e3720089f5fc349 | /pg1/zpg_pg1/zpg/camera.h | 086dcdfbf64ccf138616f9f64380bc11b3f32613 | [] | no_license | hanys333/pg1 | fdeb51f52f6e3bf05dc02499c3b23231c97050f3 | 929b407be34d5e410281b7a553effc265b6a1e75 | refs/heads/master | 2020-07-23T13:14:21.891326 | 2019-06-09T13:55:16 | 2019-06-09T13:55:16 | 73,808,660 | 0 | 1 | null | 2016-11-16T19:11:00 | 2016-11-15T11:49:56 | C++ | WINDOWS-1250 | C++ | false | false | 1,573 | h | #ifndef CAMERA_H_
#define CAMERA_H_
/*! \class Camera
\brief Základní dírková kamera.
\author Tomáš Fabián
\version 1.0
\date 2014
*/
class Camera
{
public:
Camera( const int width, const int height, const Vector3 & view_from,
const Vector3 & viet_at, const float fov_y );
float aspect_ratio() const;
float fov... | [
"hanys.polach@seznam.cz"
] | hanys.polach@seznam.cz |
31d54b50e514ba3609afdc7a47595764672e8d56 | c27961165bfa9304d344495c11bc2c2fc8017040 | /Queue di Lab.cpp | 9e8071f81b508e311c6b46eeb690b409a4c9c0b6 | [] | no_license | starlabs-id/C | 68b0e9f8b77325a8ad2d3c9604ae59e0213641c1 | 78c6766d7b7802121f974485522674eecaf170b6 | refs/heads/main | 2022-12-27T13:50:32.568636 | 2020-10-15T12:16:17 | 2020-10-15T12:16:17 | 304,044,498 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,171 | cpp | #include <iostream.h>
#include <conio.h>
#define max 7 // Jumlah maksimum data yang dimasukkan
int data[max];
int head=-1, tail=-1;
bool IsEmpty() // kondisi head pada saat kosong
{
if(head == -1 && tail == -1)
return true;
else
return false;
}
bool IsFull() // kondisi head pada saat penuh... | [
"noreply@github.com"
] | starlabs-id.noreply@github.com |
1f9d7b3d8ee1151038d5c6a51736ae48ee1e23fa | b8348819b21797b08aa547a5ce43e0c1c2a92167 | /HW_4/include/Connection.h | b0470864cc1decce5f4a2038b041fdb2593bbe59 | [] | no_license | andrew-kireev/techno_park | 9f8b3e2987d8f447cce57a2a73286805568ac154 | f46c0dc22f26aebb70d3d6ab43c2cb7b90fe3244 | refs/heads/master | 2022-06-18T06:07:11.681789 | 2020-05-15T15:38:46 | 2020-05-15T15:38:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,407 | h | //
// Created by Andrew Kireev on 29.03.2020.
//
#ifndef TCP_CONNECTION_H
#define TCP_CONNECTION_H
#include <cstdio>
#include <sys/types.h>
#include <netinet/in.h>
#include <string>
#include <vector>
#include <Descriptor.h>
namespace epoll_server {
class Connection {
public:
friend class Server;
... | [
"a-kireev1989@mail.ru"
] | a-kireev1989@mail.ru |
27aa43948f9ae38edbc93e0071659cb2bb6613ff | 033faf4c087c2a666f54261ba6919dc352ef79a3 | /src/libtsduck/tstlvConnectionTemplate.h | ff3a4aca9c4071db5e1cca6fa1e7fa9673e3ad89 | [
"Zlib",
"BSD-2-Clause"
] | permissive | ggnull35/tsduck | 5718fa8718bb89a487642fda5b260a47d53aa303 | dd1f3ff50eb04b8a541941af03ef3c31d8f4678b | refs/heads/master | 2021-07-20T03:09:11.722207 | 2017-10-27T13:59:25 | 2017-10-27T13:59:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,797 | h | //----------------------------------------------------------------------------
//
// TSDuck - The MPEG Transport Stream Toolkit
// Copyright (c) 2005-2017, Thierry Lelegard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | [
"thierry@lelegard.fr"
] | thierry@lelegard.fr |
d10fbdd62d9bdfad57c6e25c77b5408fea9c90e5 | 8cffd13e4f649ca846dd065784f44a07eada449f | /src/2QBFSolver.h | 8a57eff214c4ad45cb265735ec1babab88f476f7 | [
"Apache-2.0"
] | permissive | alviano/aspino | 50a44c1f666dc9d921181bafe47a3580d112e8e1 | 4d7483e328bdf9a00ef1eb7f2868e7b0f2a82d56 | refs/heads/master | 2021-06-14T10:24:22.541717 | 2018-03-24T14:05:25 | 2018-03-24T14:05:25 | 27,119,996 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,492 | h | /*
* Copyright (C) 2015 Mario Alviano (mario@alviano.net)
*
* 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 ... | [
"mario@alviano.net"
] | mario@alviano.net |
dbba319755b8761c03f511fcb2115e3ce13330dc | 2faf8437adfd059b475b93331a6d3acc8843674d | /Permissions/Includes/sqlpp11/data_types/text/column_operators.h | 8e1f76504825169a72c1dbf81d4c82a967a92158 | [
"MIT"
] | permissive | lzgdeer/Ark-Server-Plugins | 9ef1ba74959b578982172a003bcc9ae384213123 | bfa13b3a1ec65c4e19e00b238a132ff935b704e4 | refs/heads/master | 2020-03-22T19:01:28.286649 | 2018-06-27T05:22:48 | 2018-06-27T05:22:48 | 140,498,724 | 3 | 0 | MIT | 2018-07-10T23:46:37 | 2018-07-10T23:46:37 | null | UTF-8 | C++ | false | false | 2,294 | h | /*
* Copyright (c) 2013-2015, Roland Bock
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this
* list of cond... | [
"ownproxie@outlook.com"
] | ownproxie@outlook.com |
e97e5e2e3d492ac8e99e7ee419a8fb717000a783 | d2d0127ee0fd871559eed1b5a9e6fef6838b7df3 | /DistributionTestDisplay.h | ff5f0595ae7514b901fc0da5a9336cccce5c9df3 | [] | no_license | sambolias/CheckersAI | cb11f598558190158c743eb21c73681e1ad18a08 | 337dd75a09b250b92b9f7858d0212816f510cb83 | refs/heads/master | 2021-05-03T22:19:24.914637 | 2018-04-08T23:38:35 | 2018-04-08T23:38:35 | 120,391,467 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 546 | h | #pragma once
#include <QtWidgets/QMainWindow>
/*
If getting linker errors, add 'Qt5Chartsd.lib' to additional dependencies in Project -> Checkers Properties -> Linker -> Input -> Additional Dependencies
*/
#include <map>
#include <QSharedPointer>
#include "StatisticalDistribution.h"
class DistributionTestDisplay
{
... | [
"frankmcline@gmail.com"
] | frankmcline@gmail.com |
0f77c62b4ee1a714eec86a44dbbc7bc6cc52e748 | 8ad05839e2e25730ed1e1c403ec00e72521b142a | /CS32/notes 3_9.cpp | 6b019cb73ce9bcfe955621e0769fa0adf3cbde55 | [] | no_license | omarkalinur/CS_classwork | ee21669a6f8f6346801d0aa90a531e0c1e5e8f2b | 5990f20cc2d5ad7a140db4a9f66e2d66de35f5b0 | refs/heads/master | 2020-07-23T21:20:50.241063 | 2013-02-25T21:57:53 | 2013-02-25T21:57:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,993 | cpp | //Notes 3/9
//a heap is like a "magic bag" that automatically sorts the inside items for you. we could utilize this using a form of "heapsort"
//1. make an array a heap
//2. successively remove each item.
//The simplest way to make a binary tree a heap is to start from the bottom and work your way up. You don't have t... | [
"zrnorth@gmail.com"
] | zrnorth@gmail.com |
98a124bc858c8d575d6a8a5db6447d84cc7b77e0 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/collectd/gumtree/collectd_repos_function_2189_collectd-5.7.1.cpp | cd07c2f818d27020492d0fdf4f78c4a5ffb49a61 | [] | 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 | 254 | cpp | static void cr_free_data(cr_data_t *ptr) /* {{{ */
{
if (ptr == NULL)
return;
ros_disconnect(ptr->connection);
ptr->connection = NULL;
sfree(ptr->node);
sfree(ptr->service);
sfree(ptr->username);
sfree(ptr->password);
sfree(ptr);
} | [
"993273596@qq.com"
] | 993273596@qq.com |
e31073439806724348f4fb233806a7539048f9a5 | 729504b2cd94f8d190f459f1f7f367b1a27d3e69 | /src/test/TestInfo.h | bdb334a42efb8fd5926154a51842c0b95b6de04b | [
"MIT"
] | permissive | vallant/reta | 76acc08101a010351df4e208695c246ff7536f0d | f9eb515a956ebdb8163beda0cd927dfc64875b62 | refs/heads/develop | 2023-02-28T16:26:25.998866 | 2021-02-01T16:56:20 | 2021-02-01T16:56:20 | 322,025,016 | 2 | 0 | MIT | 2021-02-01T16:56:21 | 2020-12-16T15:33:44 | C++ | UTF-8 | C++ | false | false | 2,031 | h | #pragma once
#include <nlohmann/json.hpp>
#include <string>
#include <vector>
/* Struct holding information of a single test */
struct TestInfo
{
std::string name;
std::string expected;
std::string actual;
bool passed;
int configIndex = -1;
NLOHMANN_DEFINE_TYPE_INTRUSIVE (TestInfo,... | [
"github@vallant.me"
] | github@vallant.me |
88a5f3fb1ca119e816c2191df7bccd936feb11a6 | 195f090be59fda506e1f138977cf1cdf58a33c3f | /dialog.h | 8fa1e4e07612bc9a308f73b207437aed65276127 | [] | no_license | china-shang/qt-address | e795a79fc6b1b6d72b79f2f0e5be580173786aa5 | 5825137db536abeacfc95e0cc66ce59040d9c80e | refs/heads/master | 2021-01-23T00:35:48.391176 | 2017-05-30T11:20:21 | 2017-05-30T11:20:21 | 92,825,193 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 591 | h | #ifndef DIALOG_H
#define DIALOG_H
#include <QDialog>
#include <QAbstractButton>
namespace Ui {
class Dialog;
}
class Dialog : public QDialog
{
Q_OBJECT
public:
explicit Dialog(QWidget *parent = 0);
~Dialog();
QString getname(){
return name;
}
QString getaddress(){
return addr... | [
"850747813@qq.com"
] | 850747813@qq.com |
b4b849ce0bedde27fa6a197ff5eacc737e425734 | 66b18c43fa9b872c5ae64ff2137469a1bdf7affe | /MinDomQueens/mqds.cpp | 40ce157eb136829bff1656f727bdd4a47c4bf3e0 | [] | no_license | aaroncaic/ParallelBacktrackingAlgorithms | a879879cd82f9642f902aa89a609913b1c7d3237 | a16865b0524f4eeae1ff9474aecf10c13375e29a | refs/heads/master | 2021-01-23T01:55:50.378573 | 2017-05-26T08:46:02 | 2017-05-26T08:46:02 | 85,945,537 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,182 | cpp | #include <iostream>
#include <thread>
#include <mutex>
#include <vector>
#include <cstdlib>
#include <string>
#include <sstream>
#include <fstream>
#include <time.h>
#include <chrono>
#include <limits>
#include <math.h>
int qRecord; // Min number of queens to dominate board
int** sol; // Final solution board
i... | [
"chenga2@rpi.edu"
] | chenga2@rpi.edu |
b809fcca43496de00886f4f22f44276736392b21 | 8817aaa66bcba8563a302830a312e1e5108c90df | /zeus6/smartupload/AccDataArray.h | 0a157201bba9d72f5b13e5ad9b24a58e7c2f6420 | [] | no_license | dennis-tmeinc/dvr | 908428496c16343afcc969bea2f808e9389febe8 | 7064cfc66445df45d0e747e7304e301a25c214f8 | refs/heads/master | 2021-01-12T17:19:44.988144 | 2018-03-27T22:19:53 | 2018-03-27T22:19:53 | 69,481,073 | 3 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 197 | h | #pragma once
#include "AccDataItem.h"
class AccDataArray:public CArray<AccDataItem>
{
public:
AccDataArray(void);
~AccDataArray(void);
void sort();
int fromFiles(CStringArray&);
};
| [
"dennisc@tme-inc.com"
] | dennisc@tme-inc.com |
07e23208b654d31f58a29486b279f6290bc46e53 | 5a2349399fa9d57c6e8cc6e0f7226d683391a362 | /src/qt/qtwebkit/Source/JavaScriptCore/dfg/DFGSlowPathGenerator.h | 6b723ba207b282485319d95477f9df1c57df075f | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-other-copyleft",
"GPL-2.0-only",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"LGPL-2.0-only",
"BSD-3-Clause"
] | permissive | aharthcock/phantomjs | e70f3c379dcada720ec8abde3f7c09a24808154c | 7d7f2c862347fbc7215c849e790290b2e07bab7c | refs/heads/master | 2023-03-18T04:58:32.428562 | 2023-03-14T05:52:52 | 2023-03-14T05:52:52 | 24,828,890 | 0 | 0 | BSD-3-Clause | 2023-03-14T05:52:53 | 2014-10-05T23:38:56 | C++ | UTF-8 | C++ | false | false | 17,631 | h | /*
* Copyright (C) 2012 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | [
"ariya.hidayat@gmail.com"
] | ariya.hidayat@gmail.com |
a9fc94a666e9758aeb8956df1fc0c7b8b20bf3f2 | e260675b7009836522b92e6bfecc0016073708db | /NashDXEngine/GameSystem/Shader/SkyDomeShader/SkyDomeShader.h | 43269dfa32dc741cf5fb9e466833ec5329829a7c | [] | no_license | longshorts/NashEngine | 176abbd12861976cd5be808aac876c9d25163c4c | 5636b5cd638d344b2db064b1f041d917606a3d3a | refs/heads/master | 2021-01-21T13:48:27.143027 | 2017-10-13T10:15:06 | 2017-10-13T10:15:06 | 51,767,247 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,533 | h | ////////////////////////////////////////////////////////////////////////////////
// Filename: SkyDomeShader.h
////////////////////////////////////////////////////////////////////////////////
#ifndef _SkyDomeShader_H_
#define _SkyDomeShader_H_
//////////////
// INCLUDES //
//////////////
#include <d3d11.h>
#include <d... | [
"andrew@andrewoid.co.uk"
] | andrew@andrewoid.co.uk |
6e63c0b3bf916f9f4845bfc982e5b4cd74d7a493 | ca822bf844883f54dff2805860095baba32aea67 | /main.cpp | fc9b25e717a8cc2e6e34c0e7182f01b7e6347dd7 | [] | no_license | JeremyCBrooks/GPU-Fractal | 7dc39aba1ae6d1fa21713e927035e30d24ab7f5a | 6f16301d11a33647c3a53e343469cb08e54cc080 | refs/heads/master | 2021-01-10T16:38:10.606107 | 2015-06-06T15:22:18 | 2015-06-06T15:22:18 | 36,984,487 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 956 | cpp | //Jeremy Brooks - Copyright 2008.
//Please do not copy or use without permission
//interactive Mandelbrot fractal computed on the GPU.
//left mouse button - zoom in
//right mouse button - zoom out
//middle mouse drag - pan
#include <fstream>
#include <ctime>
#include <SDL.h>
#include "Application.h"
//this log fil... | [
"brooksjeremyc@gmail.com"
] | brooksjeremyc@gmail.com |
3c338b9b430589ed2e38370365d8e1c1079771c9 | 98ea884dfa0ccdef32c6a361b848e20f6ea6cbed | /Luni/src-drivers/Silicon/Port.h | ff7dcd07fe0421db4784ddb9f4f266ac226e357d | [] | no_license | dhahaj/Arduino-libraries | c95a4818326c6c59537d9e935f0854b98f13a0d4 | 9a67d0cd1ce80c60b668f6743c3d4ca66c3937b0 | refs/heads/master | 2021-01-01T18:46:32.105068 | 2018-02-16T18:55:13 | 2018-02-16T18:55:13 | 98,433,137 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,880 | h | #ifndef Port_h
#define Port_h
#include <inttypes.h>
#include <Device/ByteOrder.h>
/**
* This abstract class defines some basic methods available for
* reading and writing using various board level interfaces. It
* is intended as a very simple wrapper around the various
* libraries available so that the underlyin... | [
"dhahaj@gmail.com"
] | dhahaj@gmail.com |
8d8ab9bb4524c8433da42aa83590112a637817bd | 025c39fc6adf2685bf1daae65a8cf7bab927e940 | /lis/main.cpp | cbe0c3b9545eb16c4728ef2e6296dd3380b92c1f | [
"MIT"
] | permissive | sarvesh-ranjan/codechef | bc6fb46f748737a1bdd78c1b13120b4aabb7c8e7 | 4a290b45bc462356ff920a6a3434c2a8ebda62d1 | refs/heads/master | 2016-09-02T05:30:02.673435 | 2015-10-10T14:11:15 | 2015-10-10T14:11:15 | 41,971,610 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 531 | cpp | #include<iostream>
#include <vector>
using namespace std;
int main(){
int t;
cin>>t;
while(t--){
int n;
cin>>n;
//cout<<"here";
bool flag=false;
vector<int> arr(1005, 0);
while(n--){
int a;
cin>>a;
//cou<<"a";
... | [
"sarvranjan@gmail.com"
] | sarvranjan@gmail.com |
0ebcdbeb84e196781e00dd01513c226ce308b31f | 773c5c4e367ad5b3d61ae73885176cbe07709dc0 | /src/platform/windows/ServerSocket.hpp | c4e7ffb94076876434ea6583dad86733949746a3 | [] | no_license | levp/NetSocket | ece1645b92b49f8680d5d9fd4bc5496b79b5db01 | 29973ff550452b1aa31bcffe9d7d62448c3e4df4 | refs/heads/master | 2020-11-24T04:04:26.140448 | 2019-12-15T22:06:37 | 2019-12-15T22:11:37 | 227,957,596 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,247 | hpp | #pragma once
#include <winsock2.h>
#include <ws2tcpip.h>
#include "../../FAIL.hpp"
#include "ClientSocket.hpp"
class ServerSocket final {
private:
SOCKET serverSocket;
addrinfo* addressInfo;
public:
ServerSocket()
: addressInfo{nullptr},
serverSocket{INVALID_SOCKET} {
}
~ServerSocket() {
if (addressI... | [
"levi2p@gmail.com"
] | levi2p@gmail.com |
3e6763683f43244cf17eebfa91f20dfcfe833a7c | e51d009c6c6a1633c2c11ea4e89f289ea294ec7e | /xr2-dsgn/sources/WildMagic/LibFoundation/ComputationalGeometry/Wm4HullEdge2.cpp | be01e1049be22c7dec4e509f70bf49d5cc7ffad6 | [] | no_license | avmal0-Cor/xr2-dsgn | a0c726a4d54a2ac8147a36549bc79620fead0090 | 14e9203ee26be7a3cb5ca5da7056ecb53c558c72 | refs/heads/master | 2023-07-03T02:05:00.566892 | 2021-08-06T03:10:53 | 2021-08-06T03:10:53 | 389,939,196 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,208 | cpp | // Wild Magic Source Code
// David Eberly
// http://www.geometrictools.com
// Copyright (c) 1998-2009
//
// This library 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; either version 2.1 of the Licen... | [
"youalexandrov@icloud.com"
] | youalexandrov@icloud.com |
ae37ae7ec7b0b41e5fa7171e291110c950dd92b8 | 4116ca8c30f9796c385a410a3ada87f77509e482 | /src/py/wrapper/wrapper_c6b4bc8f3dd657aabc2a32e6979c1264.cpp | babe921d22e583db87a04a063b9e70ad80dc44f8 | [
"Apache-2.0"
] | permissive | openalea-statiskit/GLM | 420a8befc295629039206cf6014571b87e0ab242 | 10c286492cd5e6a026bd2071e269052ebd906b6e | refs/heads/master | 2020-05-06T13:26:38.088948 | 2019-04-08T12:03:58 | 2019-04-08T12:03:58 | 180,137,053 | 0 | 0 | null | 2019-04-08T11:44:09 | 2019-04-08T11:44:09 | null | UTF-8 | C++ | false | false | 582 | cpp | #include "_glm.h"
namespace autowig {
}
void wrapper_c6b4bc8f3dd657aabc2a32e6979c1264(pybind11::module& module)
{
pybind11::class_<struct ::statiskit::glm::SequentialLink, autowig::HolderType< struct ::statiskit::glm::SequentialLink >::Type, struct ::statiskit::glm::FLink< struct ::statiskit::glm::OrdinalLink >... | [
"pfernique@gmail.com"
] | pfernique@gmail.com |
10e8e31f9c948484278f4258ae58f96766cd3475 | 2eb74862454e791ccaed433d0803d6f17ddb00ab | /Library_iomanip.cpp | 6babe33dee64ff62765f0211885a6c41ae870213 | [] | no_license | pisanu22/c- | 93bedf7cf36dce2c8e52c35b7e0e7fb07e9d65ca | 8e2a0e5fc3604722fa067392772124124850bca5 | refs/heads/main | 2023-08-29T04:42:19.920106 | 2021-10-05T07:27:56 | 2021-10-05T07:27:56 | 413,715,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 740 | cpp | #include <iostream>
#include <iomanip>
#include <math.h>
using namespace std;
int main()
{
float Raduis, Angle;
const int WIDTH = 9;
cout << "+" << setfill('=') << setw(44) << "+" << endl;
cout << ": Angle : Sine : Cosine : Tangent :" << endl;
cout << "+" << setfill('=') << setw(44) << "+" << endl;
cout << setfill(' ')... | [
"6406021420352@fitm.kmutnb.ac.th"
] | 6406021420352@fitm.kmutnb.ac.th |
6f796e74da68487a0d9705eefc66f472ba754d32 | 9a68f8e9d9d7091c8e97554795b8f2ba89d40c32 | /C++ Primer Plus/PE08/4.cpp | 5ec38cd809674db52b780974b2aaba41f3374ca4 | [] | no_license | plzfday/cppcodingexercise | 1681678eabb6ea2e25a50011b3e94587cd7d2820 | 1a3788415823fbab90d150baa099d72e61acad73 | refs/heads/master | 2020-04-23T11:37:37.365552 | 2019-03-03T08:48:57 | 2019-03-03T08:48:57 | 171,142,524 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 970 | cpp | #include <iostream>
#include <cstring>
using namespace std;
struct stringy
{
char* str;
int ct; // '\0'을 제외한 문자열의 길이
};
void set(stringy& src, const char* str);
void show(const stringy& src, unsigned count = 1);
void show(const char* str, unsigned count = 1);
int main()
{
stringy beany;
char tes... | [
"qkrehddus01@gmail.com"
] | qkrehddus01@gmail.com |
9d918d22f2b991acc6443dbc99e1bb850b973ead | 824ed9b7672ab72b759282076f96542b93f70e94 | /Code/hid_spoofer.ino | 35cade2f3593c8945756bb2696bf2b2c84a6233b | [] | no_license | aribornstein/RfidSpoofer-Reader-Project | 37827e146b68191bd3206f4de272743f9e3fa4c4 | 33030c4cdedee2803d0e349ee526c5c81f1bc925 | refs/heads/master | 2021-01-06T20:46:38.565432 | 2015-05-17T03:26:53 | 2015-05-17T03:26:53 | 35,750,174 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,681 | ino | //Pin to connect to the circuit
//Setting the pin LOW will tune the coil
//meaning it will respond as a high signal to the reader
//Setting the pin to HIGH will detune coil
//meaning the reader will see it as a low signal
int coil_pin = 9;
void setup()
{
//Set pin as output
pinMode(coil_pin, OUTPUT);
//Star... | [
"abornst@microsoft.com"
] | abornst@microsoft.com |
fd078f4e430868bc1401c0ff7ee6bf48e7aa0946 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /third_party/WebKit/Source/modules/background_fetch/BackgroundFetchedEvent.cpp | ea9dd28b31b83dc612343384706ff9d28a02f5d0 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 3,708 | cpp | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "modules/background_fetch/BackgroundFetchedEvent.h"
#include "bindings/core/v8/ScriptPromiseResolver.h"
#include "core/dom/DOMException.h"
#incl... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
a2831b22dc4a4a70e7fc70a294228bd465ae0a51 | 4e8537a919d70873b6ab6dbf896769fdf3da29c6 | /bestTimeToBuyAndSellStockIII.cpp | aa19e466862f68a3f43c22b3f62a7ea48a9e8f67 | [] | no_license | lyandut/MyLeetCode | 6e13cbf733b15025042c6fea7250bfe9af414479 | d807b2216690deefd1df3c1e60f2a4f1717c037a | refs/heads/master | 2021-06-10T22:58:08.004851 | 2021-05-31T13:29:09 | 2021-05-31T13:29:09 | 176,780,252 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,448 | cpp | //
// Created by 李研 on 2020/1/15.
//
/*
* 123. Best Time to Buy and Sell Stock III
* https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii/
*【专题】动态规划
*/
#include "MyLeetCode.h"
/*
* 动态规划
* dp[第 i_th 天][最多交易 k_th 次][是否持有股票]
* dp[i][k][0] = max(dp[i-1][k][0], dp[i-1][k][1]+prices[i]) // 保持 或 卖出
*... | [
"lyan_dut@outlook.com"
] | lyan_dut@outlook.com |
cc0a4ee32bf6ac68b48a06c60ee94b71550cb338 | bd0266930d724151dfd1a5b84dd7440b2358eefb | /baekjoon/cpp/problem_1000.cpp | b76e32608d96caf544a9227f488026aa6043fc41 | [] | no_license | dhk1999/coding_problems | 66f6a1bc34339d0e86398e0d65f0a8008166ed29 | f89ac43998aab05b9b0fc81a29a4a42686445751 | refs/heads/main | 2023-08-30T22:16:40.699951 | 2021-10-31T23:24:12 | 2021-10-31T23:24:12 | 420,327,349 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 319 | cpp | #include <iostream>
#include <sstream>
#include <string>
int main()
{
std::cin.tie(NULL);
std::ios::sync_with_stdio(false);
std::string inputStr;
std::getline(std::cin, inputStr);
std::stringstream ss(inputStr);
int32_t a;
int32_t b;
ss >> a;
ss >> b;
int32_t retVal = a + b;
std::cout << retVal;
}
| [
"noreply@github.com"
] | dhk1999.noreply@github.com |
de83d3184dae9ced570b4fda40931d250bdc9ee4 | a963d48092f5a27b0875db68d673065b13398895 | /boost_lib/boost_1_55_0-windows/libs/math/test/test_bessel_i.hpp | f94c395891ab55070b93a7ba5db9a07c78555334 | [] | no_license | james1023/test_boost | 219130db778bff512555bb29e5e59afaf59594b6 | 11100d6a913d5c5411f89ff3a32b7e654e91a104 | refs/heads/master | 2020-05-20T12:19:36.754779 | 2017-03-02T03:30:01 | 2017-03-02T03:30:01 | 35,875,247 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,921 | hpp | // (C) Copyright John Maddock 2007.
// Use, modification and distribution are subject to 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)
#define BOOST_MATH_OVERFLOW_ERROR_POLICY ignore_error
#include <boost/math/concepts/r... | [
"james.huang@avtech.com.tw"
] | james.huang@avtech.com.tw |
4018ecfea633367820bb8d5a1ec6c1e3f4833dd1 | fb9ff8f04aba68f828d8fd6ae24ada2541bbe8e7 | /core/test/test-greeter.cpp | af7dee9ee8d6db47944752d398328950ce722f25 | [
"BSD-2-Clause"
] | permissive | Memphiz/umundo | 9871e4e1b29796ce09f14bf7d68f8eb00701a385 | b9b60255a49421f9593f0a80094b6d0a170faeeb | refs/heads/master | 2021-01-16T18:45:02.798253 | 2013-05-28T11:26:51 | 2013-05-28T11:26:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 818 | cpp | #include "umundo/core.h"
#include <iostream>
using namespace umundo;
int instances = 0;
class TestGreeter : public Greeter {
void welcome(Publisher, const string& nodeId, const string& subId) {
instances++;
}
void farewell(Publisher, const string& nodeId, const string& subId) {
instances--;
}
};
bool test... | [
"radomski@tk.informatik.tu-darmstadt.de"
] | radomski@tk.informatik.tu-darmstadt.de |
aaf425f35d2c63b0f73efede01a37770416f820e | a33aac97878b2cb15677be26e308cbc46e2862d2 | /program_data/PKU_raw/7/1111.c | f600ac01039429ebd9a8181d11cb94f1290136d9 | [] | no_license | GabeOchieng/ggnn.tensorflow | f5d7d0bca52258336fc12c9de6ae38223f28f786 | 7c62c0e8427bea6c8bec2cebf157b6f1ea70a213 | refs/heads/master | 2022-05-30T11:17:42.278048 | 2020-05-02T11:33:31 | 2020-05-02T11:33:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 472 | c |
int main()
{
char str[300], sub[300], re[300];
int lenstr, lensub;
int i, j, k;
scanf("%s", str);
scanf("%s", sub);
scanf("%s", re);
lenstr=strlen(str);
lensub=strlen(sub);
for(i=0; i<lenstr; i++)
{
if(str[i]==sub[0])
{
for(j=i, k=0; k<lensub; j++, k++)
if(str[j]!=sub[k])
... | [
"bdqnghi@gmail.com"
] | bdqnghi@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.